diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/docstring_parser-0.17.0.dist-info/licenses/LICENSE.md b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/docstring_parser-0.17.0.dist-info/licenses/LICENSE.md new file mode 100644 index 0000000000000000000000000000000000000000..f75411dcf7bbeb12daaf9eebc2b9266f3d190ff6 --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/docstring_parser-0.17.0.dist-info/licenses/LICENSE.md @@ -0,0 +1,21 @@ +The MIT License (MIT) + +Copyright (c) 2018 Marcin Kurczewski + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/docstring_parser/__pycache__/__init__.cpython-311.pyc b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/docstring_parser/__pycache__/__init__.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..cea482b6dc0357b3f15c5acbcad912d7669b69d2 Binary files /dev/null and b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/docstring_parser/__pycache__/__init__.cpython-311.pyc differ diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/docstring_parser/__pycache__/attrdoc.cpython-311.pyc b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/docstring_parser/__pycache__/attrdoc.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..2d4eafd14e3feadb2e9a5d551a0d3ef074cf8bce Binary files /dev/null and b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/docstring_parser/__pycache__/attrdoc.cpython-311.pyc differ diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/docstring_parser/__pycache__/common.cpython-311.pyc b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/docstring_parser/__pycache__/common.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..aafd001240d7a639d59b271ead846c32f629b92f Binary files /dev/null and b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/docstring_parser/__pycache__/common.cpython-311.pyc differ diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/docstring_parser/__pycache__/epydoc.cpython-311.pyc b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/docstring_parser/__pycache__/epydoc.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..17eb5c51734b985e52cd126be7d1848f65854e79 Binary files /dev/null and b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/docstring_parser/__pycache__/epydoc.cpython-311.pyc differ diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/docstring_parser/__pycache__/google.cpython-311.pyc b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/docstring_parser/__pycache__/google.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..9e226ecebdbdc0c9c9580aed1de8d62f5cac3890 Binary files /dev/null and b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/docstring_parser/__pycache__/google.cpython-311.pyc differ diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/docstring_parser/__pycache__/numpydoc.cpython-311.pyc b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/docstring_parser/__pycache__/numpydoc.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..8a7395774e20f92c08af2d2f56009484498f0bd3 Binary files /dev/null and b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/docstring_parser/__pycache__/numpydoc.cpython-311.pyc differ diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/docstring_parser/__pycache__/parser.cpython-311.pyc b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/docstring_parser/__pycache__/parser.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..d62aed46b930cfb471dff2b7995dea39ea98c391 Binary files /dev/null and b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/docstring_parser/__pycache__/parser.cpython-311.pyc differ diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/docstring_parser/__pycache__/rest.cpython-311.pyc b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/docstring_parser/__pycache__/rest.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..cc52f43c83f0d629e56d0c1edf2a00807fd542b7 Binary files /dev/null and b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/docstring_parser/__pycache__/rest.cpython-311.pyc differ diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/docstring_parser/__pycache__/util.cpython-311.pyc b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/docstring_parser/__pycache__/util.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..a0ec45bc9039450a8dd8ce8b4ad2cfb1b631158f Binary files /dev/null and b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/docstring_parser/__pycache__/util.cpython-311.pyc differ diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/docstring_parser/tests/__init__.py b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/docstring_parser/tests/__init__.py new file mode 100644 index 0000000000000000000000000000000000000000..164665e94d8456d16cb55bbf24dd23cb0978b9c2 --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/docstring_parser/tests/__init__.py @@ -0,0 +1 @@ +"""Tests for docstring parser.""" diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/docstring_parser/tests/__pycache__/__init__.cpython-311.pyc b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/docstring_parser/tests/__pycache__/__init__.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..fa445acad6e6cab1c2513b618b705dda17e391d8 Binary files /dev/null and b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/docstring_parser/tests/__pycache__/__init__.cpython-311.pyc differ diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/docstring_parser/tests/__pycache__/_pydoctor.cpython-311.pyc b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/docstring_parser/tests/__pycache__/_pydoctor.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..62506e48c7d03b36a33ef386135547bfbe78aaff Binary files /dev/null and b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/docstring_parser/tests/__pycache__/_pydoctor.cpython-311.pyc differ diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/docstring_parser/tests/__pycache__/test_epydoc.cpython-311.pyc b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/docstring_parser/tests/__pycache__/test_epydoc.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..36a905d143c3dc7a0d21a4cf7bab6efe8f10b457 Binary files /dev/null and b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/docstring_parser/tests/__pycache__/test_epydoc.cpython-311.pyc differ diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/docstring_parser/tests/__pycache__/test_google.cpython-311.pyc b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/docstring_parser/tests/__pycache__/test_google.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..569156fa3543e96898c929b4d9bda160b366d4b4 Binary files /dev/null and b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/docstring_parser/tests/__pycache__/test_google.cpython-311.pyc differ diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/docstring_parser/tests/__pycache__/test_numpydoc.cpython-311.pyc b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/docstring_parser/tests/__pycache__/test_numpydoc.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..657bb3205b1537b7c967ad1a1347fc6b7c26ae37 Binary files /dev/null and b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/docstring_parser/tests/__pycache__/test_numpydoc.cpython-311.pyc differ diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/docstring_parser/tests/__pycache__/test_parse_from_object.cpython-311.pyc b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/docstring_parser/tests/__pycache__/test_parse_from_object.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..4144aa7c23d0af6a68a69133c9f6b089d9280c96 Binary files /dev/null and b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/docstring_parser/tests/__pycache__/test_parse_from_object.cpython-311.pyc differ diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/docstring_parser/tests/__pycache__/test_parser.cpython-311.pyc b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/docstring_parser/tests/__pycache__/test_parser.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..0144ba1ac0770b9e67b077ac141a79e794f07317 Binary files /dev/null and b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/docstring_parser/tests/__pycache__/test_parser.cpython-311.pyc differ diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/docstring_parser/tests/__pycache__/test_rest.cpython-311.pyc b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/docstring_parser/tests/__pycache__/test_rest.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..3405a4be4a630f457c80dc13c52af41df10aa293 Binary files /dev/null and b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/docstring_parser/tests/__pycache__/test_rest.cpython-311.pyc differ diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/docstring_parser/tests/__pycache__/test_util.cpython-311.pyc b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/docstring_parser/tests/__pycache__/test_util.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..365a109557bf64d37bde691225f3ec17cd2171ef Binary files /dev/null and b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/docstring_parser/tests/__pycache__/test_util.cpython-311.pyc differ diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/docstring_parser/tests/_pydoctor.py b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/docstring_parser/tests/_pydoctor.py new file mode 100644 index 0000000000000000000000000000000000000000..5f3532a47526478e8511301871f79fadd779b3b9 --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/docstring_parser/tests/_pydoctor.py @@ -0,0 +1,22 @@ +"""Private pydoctor customization code in order to exclude the package +docstring_parser.tests from the API documentation. Based on Twisted code. +""" + +# pylint: disable=invalid-name + +try: + from pydoctor.model import Documentable, PrivacyClass, System +except ImportError: + pass +else: + + class HidesTestsPydoctorSystem(System): + """A PyDoctor "system" used to generate the docs.""" + + def privacyClass(self, documentable: Documentable) -> PrivacyClass: + """Report the privacy level for an object. Hide the module + 'docstring_parser.tests'. + """ + if documentable.fullName().startswith("docstring_parser.tests"): + return PrivacyClass.HIDDEN + return super().privacyClass(documentable) diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/docstring_parser/tests/test_epydoc.py b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/docstring_parser/tests/test_epydoc.py new file mode 100644 index 0000000000000000000000000000000000000000..965b440bfc0a9b2b46c7c6acff697424d1224376 --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/docstring_parser/tests/test_epydoc.py @@ -0,0 +1,724 @@ +"""Tests for epydoc-style docstring routines.""" + +import typing as T + +import pytest +from docstring_parser.common import ParseError, RenderingStyle +from docstring_parser.epydoc import compose, parse + + +@pytest.mark.parametrize( + "source, expected", + [ + ("", None), + ("\n", None), + ("Short description", "Short description"), + ("\nShort description\n", "Short description"), + ("\n Short description\n", "Short description"), + ], +) +def test_short_description(source: str, expected: str) -> None: + """Test parsing short description.""" + docstring = parse(source) + assert docstring.short_description == expected + assert docstring.long_description is None + assert not docstring.meta + + +@pytest.mark.parametrize( + "source, expected_short_desc, expected_long_desc, expected_blank", + [ + ( + "Short description\n\nLong description", + "Short description", + "Long description", + True, + ), + ( + """ + Short description + + Long description + """, + "Short description", + "Long description", + True, + ), + ( + """ + Short description + + Long description + Second line + """, + "Short description", + "Long description\nSecond line", + True, + ), + ( + "Short description\nLong description", + "Short description", + "Long description", + False, + ), + ( + """ + Short description + Long description + """, + "Short description", + "Long description", + False, + ), + ( + "\nShort description\nLong description\n", + "Short description", + "Long description", + False, + ), + ( + """ + Short description + Long description + Second line + """, + "Short description", + "Long description\nSecond line", + False, + ), + ], +) +def test_long_description( + source: str, + expected_short_desc: str, + expected_long_desc: str, + expected_blank: bool, +) -> None: + """Test parsing long description.""" + docstring = parse(source) + assert docstring.short_description == expected_short_desc + assert docstring.long_description == expected_long_desc + assert docstring.blank_after_short_description == expected_blank + assert not docstring.meta + + +@pytest.mark.parametrize( + "source, expected_short_desc, expected_long_desc, " + "expected_blank_short_desc, expected_blank_long_desc", + [ + ( + """ + Short description + @meta: asd + """, + "Short description", + None, + False, + False, + ), + ( + """ + Short description + Long description + @meta: asd + """, + "Short description", + "Long description", + False, + False, + ), + ( + """ + Short description + First line + Second line + @meta: asd + """, + "Short description", + "First line\n Second line", + False, + False, + ), + ( + """ + Short description + + First line + Second line + @meta: asd + """, + "Short description", + "First line\n Second line", + True, + False, + ), + ( + """ + Short description + + First line + Second line + + @meta: asd + """, + "Short description", + "First line\n Second line", + True, + True, + ), + ( + """ + @meta: asd + """, + None, + None, + False, + False, + ), + ], +) +def test_meta_newlines( + source: str, + expected_short_desc: T.Optional[str], + expected_long_desc: T.Optional[str], + expected_blank_short_desc: bool, + expected_blank_long_desc: bool, +) -> None: + """Test parsing newlines around description sections.""" + docstring = parse(source) + assert docstring.short_description == expected_short_desc + assert docstring.long_description == expected_long_desc + assert docstring.blank_after_short_description == expected_blank_short_desc + assert docstring.blank_after_long_description == expected_blank_long_desc + assert len(docstring.meta) == 1 + + +def test_meta_with_multiline_description() -> None: + """Test parsing multiline meta documentation.""" + docstring = parse( + """ + Short description + + @meta: asd + 1 + 2 + 3 + """ + ) + assert docstring.short_description == "Short description" + assert len(docstring.meta) == 1 + assert docstring.meta[0].args == ["meta"] + assert docstring.meta[0].description == "asd\n1\n 2\n3" + + +def test_multiple_meta() -> None: + """Test parsing multiple meta.""" + docstring = parse( + """ + Short description + + @meta1: asd + 1 + 2 + 3 + @meta2: herp + @meta3: derp + """ + ) + assert docstring.short_description == "Short description" + assert len(docstring.meta) == 3 + assert docstring.meta[0].args == ["meta1"] + assert docstring.meta[0].description == "asd\n1\n 2\n3" + assert docstring.meta[1].args == ["meta2"] + assert docstring.meta[1].description == "herp" + assert docstring.meta[2].args == ["meta3"] + assert docstring.meta[2].description == "derp" + + +def test_meta_with_args() -> None: + """Test parsing meta with additional arguments.""" + docstring = parse( + """ + Short description + + @meta ene due rabe: asd + """ + ) + assert docstring.short_description == "Short description" + assert len(docstring.meta) == 1 + assert docstring.meta[0].args == ["meta", "ene", "due", "rabe"] + assert docstring.meta[0].description == "asd" + + +def test_params() -> None: + """Test parsing params.""" + docstring = parse("Short description") + assert len(docstring.params) == 0 + + docstring = parse( + """ + Short description + + @param name: description 1 + @param priority: description 2 + @type priority: int + @param sender: description 3 + @type sender: str? + @param message: description 4, defaults to 'hello' + @type message: str? + @param multiline: long description 5, + defaults to 'bye' + @type multiline: str? + """ + ) + assert len(docstring.params) == 5 + assert docstring.params[0].arg_name == "name" + assert docstring.params[0].type_name is None + assert docstring.params[0].description == "description 1" + assert docstring.params[0].default is None + assert not docstring.params[0].is_optional + assert docstring.params[1].arg_name == "priority" + assert docstring.params[1].type_name == "int" + assert docstring.params[1].description == "description 2" + assert not docstring.params[1].is_optional + assert docstring.params[1].default is None + assert docstring.params[2].arg_name == "sender" + assert docstring.params[2].type_name == "str" + assert docstring.params[2].description == "description 3" + assert docstring.params[2].is_optional + assert docstring.params[2].default is None + assert docstring.params[3].arg_name == "message" + assert docstring.params[3].type_name == "str" + assert ( + docstring.params[3].description == "description 4, defaults to 'hello'" + ) + assert docstring.params[3].is_optional + assert docstring.params[3].default == "'hello'" + assert docstring.params[4].arg_name == "multiline" + assert docstring.params[4].type_name == "str" + assert ( + docstring.params[4].description + == "long description 5,\ndefaults to 'bye'" + ) + assert docstring.params[4].is_optional + assert docstring.params[4].default == "'bye'" + + +def test_returns() -> None: + """Test parsing returns.""" + docstring = parse( + """ + Short description + """ + ) + assert docstring.returns is None + + docstring = parse( + """ + Short description + @return: description + """ + ) + assert docstring.returns is not None + assert docstring.returns.type_name is None + assert docstring.returns.description == "description" + assert not docstring.returns.is_generator + + docstring = parse( + """ + Short description + @return: description + @rtype: int + """ + ) + assert docstring.returns is not None + assert docstring.returns.type_name == "int" + assert docstring.returns.description == "description" + assert not docstring.returns.is_generator + + +def test_yields() -> None: + """Test parsing yields.""" + docstring = parse( + """ + Short description + """ + ) + assert docstring.returns is None + + docstring = parse( + """ + Short description + @yield: description + """ + ) + assert docstring.returns is not None + assert docstring.returns.type_name is None + assert docstring.returns.description == "description" + assert docstring.returns.is_generator + + docstring = parse( + """ + Short description + @yield: description + @ytype: int + """ + ) + assert docstring.returns is not None + assert docstring.returns.type_name == "int" + assert docstring.returns.description == "description" + assert docstring.returns.is_generator + + +def test_raises() -> None: + """Test parsing raises.""" + docstring = parse( + """ + Short description + """ + ) + assert len(docstring.raises) == 0 + + docstring = parse( + """ + Short description + @raise: description + """ + ) + assert len(docstring.raises) == 1 + assert docstring.raises[0].type_name is None + assert docstring.raises[0].description == "description" + + docstring = parse( + """ + Short description + @raise ValueError: description + """ + ) + assert len(docstring.raises) == 1 + assert docstring.raises[0].type_name == "ValueError" + assert docstring.raises[0].description == "description" + + +def test_broken_meta() -> None: + """Test parsing broken meta.""" + with pytest.raises(ParseError): + parse("@") + + with pytest.raises(ParseError): + parse("@param herp derp") + + with pytest.raises(ParseError): + parse("@param: invalid") + + with pytest.raises(ParseError): + parse("@param with too many args: desc") + + # these should not raise any errors + parse("@sthstrange: desc") + + +@pytest.mark.parametrize( + "source, expected", + [ + ("", ""), + ("\n", ""), + ("Short description", "Short description"), + ("\nShort description\n", "Short description"), + ("\n Short description\n", "Short description"), + ( + "Short description\n\nLong description", + "Short description\n\nLong description", + ), + ( + """ + Short description + + Long description + """, + "Short description\n\nLong description", + ), + ( + """ + Short description + + Long description + Second line + """, + "Short description\n\nLong description\nSecond line", + ), + ( + "Short description\nLong description", + "Short description\nLong description", + ), + ( + """ + Short description + Long description + """, + "Short description\nLong description", + ), + ( + "\nShort description\nLong description\n", + "Short description\nLong description", + ), + ( + """ + Short description + Long description + Second line + """, + "Short description\nLong description\nSecond line", + ), + ( + """ + Short description + @meta: asd + """, + "Short description\n@meta: asd", + ), + ( + """ + Short description + Long description + @meta: asd + """, + "Short description\nLong description\n@meta: asd", + ), + ( + """ + Short description + First line + Second line + @meta: asd + """, + "Short description\nFirst line\n Second line\n@meta: asd", + ), + ( + """ + Short description + + First line + Second line + @meta: asd + """, + "Short description\n" + "\n" + "First line\n" + " Second line\n" + "@meta: asd", + ), + ( + """ + Short description + + First line + Second line + + @meta: asd + """, + "Short description\n" + "\n" + "First line\n" + " Second line\n" + "\n" + "@meta: asd", + ), + ( + """ + @meta: asd + """, + "@meta: asd", + ), + ( + """ + Short description + + @meta: asd + 1 + 2 + 3 + """, + "Short description\n" + "\n" + "@meta: asd\n" + " 1\n" + " 2\n" + " 3", + ), + ( + """ + Short description + + @meta1: asd + 1 + 2 + 3 + @meta2: herp + @meta3: derp + """, + "Short description\n" + "\n@meta1: asd\n" + " 1\n" + " 2\n" + " 3\n@meta2: herp\n" + "@meta3: derp", + ), + ( + """ + Short description + + @meta ene due rabe: asd + """, + "Short description\n\n@meta ene due rabe: asd", + ), + ( + """ + Short description + + @param name: description 1 + @param priority: description 2 + @type priority: int + @param sender: description 3 + @type sender: str? + @type message: str? + @param message: description 4, defaults to 'hello' + @type multiline: str? + @param multiline: long description 5, + defaults to 'bye' + """, + "Short description\n" + "\n" + "@param name: description 1\n" + "@type priority: int\n" + "@param priority: description 2\n" + "@type sender: str?\n" + "@param sender: description 3\n" + "@type message: str?\n" + "@param message: description 4, defaults to 'hello'\n" + "@type multiline: str?\n" + "@param multiline: long description 5,\n" + " defaults to 'bye'", + ), + ( + """ + Short description + @raise: description + """, + "Short description\n@raise: description", + ), + ( + """ + Short description + @raise ValueError: description + """, + "Short description\n@raise ValueError: description", + ), + ], +) +def test_compose(source: str, expected: str) -> None: + """Test compose in default mode.""" + assert compose(parse(source)) == expected + + +@pytest.mark.parametrize( + "source, expected", + [ + ( + """ + Short description + + @param name: description 1 + @param priority: description 2 + @type priority: int + @param sender: description 3 + @type sender: str? + @type message: str? + @param message: description 4, defaults to 'hello' + @type multiline: str? + @param multiline: long description 5, + defaults to 'bye' + """, + "Short description\n" + "\n" + "@param name:\n" + " description 1\n" + "@type priority: int\n" + "@param priority:\n" + " description 2\n" + "@type sender: str?\n" + "@param sender:\n" + " description 3\n" + "@type message: str?\n" + "@param message:\n" + " description 4, defaults to 'hello'\n" + "@type multiline: str?\n" + "@param multiline:\n" + " long description 5,\n" + " defaults to 'bye'", + ), + ], +) +def test_compose_clean(source: str, expected: str) -> None: + """Test compose in clean mode.""" + assert ( + compose(parse(source), rendering_style=RenderingStyle.CLEAN) + == expected + ) + + +@pytest.mark.parametrize( + "source, expected", + [ + ( + """ + Short description + + @param name: description 1 + @param priority: description 2 + @type priority: int + @param sender: description 3 + @type sender: str? + @type message: str? + @param message: description 4, defaults to 'hello' + @type multiline: str? + @param multiline: long description 5, + defaults to 'bye' + """, + "Short description\n" + "\n" + "@param name:\n" + " description 1\n" + "@type priority:\n" + " int\n" + "@param priority:\n" + " description 2\n" + "@type sender:\n" + " str?\n" + "@param sender:\n" + " description 3\n" + "@type message:\n" + " str?\n" + "@param message:\n" + " description 4, defaults to 'hello'\n" + "@type multiline:\n" + " str?\n" + "@param multiline:\n" + " long description 5,\n" + " defaults to 'bye'", + ), + ], +) +def test_compose_expanded(source: str, expected: str) -> None: + """Test compose in expanded mode.""" + assert ( + compose(parse(source), rendering_style=RenderingStyle.EXPANDED) + == expected + ) + + +def test_short_rtype() -> None: + """Test abbreviated docstring with only return type information.""" + string = "Short description.\n\n@rtype: float" + docstring = parse(string) + assert compose(docstring) == string diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/docstring_parser/tests/test_google.py b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/docstring_parser/tests/test_google.py new file mode 100644 index 0000000000000000000000000000000000000000..b32c04e470e04181479ae50cd8b2d10f0457bf5a --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/docstring_parser/tests/test_google.py @@ -0,0 +1,1000 @@ +"""Tests for Google-style docstring routines.""" + +import typing as T + +import pytest +from docstring_parser.common import ParseError, RenderingStyle +from docstring_parser.google import ( + GoogleParser, + Section, + SectionType, + compose, + parse, +) + + +def test_google_parser_unknown_section() -> None: + """Test parsing an unknown section with default GoogleParser + configuration. + """ + parser = GoogleParser() + docstring = parser.parse( + """ + Unknown: + spam: a + """ + ) + assert docstring.short_description == "Unknown:" + assert docstring.long_description == "spam: a" + assert len(docstring.meta) == 0 + + +def test_google_parser_multi_line_parameter_type() -> None: + """Test parsing a multi-line parameter type with default GoogleParser""" + parser = GoogleParser() + docstring = parser.parse( + """Description of the function. + + Args: + output_type (Literal["searchResults", "sourcedAnswer", + "structured"]): The type of output. + This can be one of the following: + - "searchResults": Represents the search results. + - "sourcedAnswer": Represents a sourced answer. + - "structured": Represents a structured output format. + + Returns: + bool: Indicates success or failure. + + """ + ) + assert docstring.params[0].arg_name == "output_type" + + +def test_google_parser_custom_sections() -> None: + """Test parsing an unknown section with custom GoogleParser + configuration. + """ + parser = GoogleParser( + [ + Section("DESCRIPTION", "desc", SectionType.SINGULAR), + Section("ARGUMENTS", "param", SectionType.MULTIPLE), + Section("ATTRIBUTES", "attribute", SectionType.MULTIPLE), + Section("EXAMPLES", "examples", SectionType.SINGULAR), + ], + title_colon=False, + ) + docstring = parser.parse( + """ + DESCRIPTION + This is the description. + + ARGUMENTS + arg1: first arg + arg2: second arg + + ATTRIBUTES + attr1: first attribute + attr2: second attribute + + EXAMPLES + Many examples + More examples + """ + ) + + assert docstring.short_description is None + assert docstring.long_description is None + assert len(docstring.meta) == 6 + assert docstring.meta[0].args == ["desc"] + assert docstring.meta[0].description == "This is the description." + assert docstring.meta[1].args == ["param", "arg1"] + assert docstring.meta[1].description == "first arg" + assert docstring.meta[2].args == ["param", "arg2"] + assert docstring.meta[2].description == "second arg" + assert docstring.meta[3].args == ["attribute", "attr1"] + assert docstring.meta[3].description == "first attribute" + assert docstring.meta[4].args == ["attribute", "attr2"] + assert docstring.meta[4].description == "second attribute" + assert docstring.meta[5].args == ["examples"] + assert docstring.meta[5].description == "Many examples\nMore examples" + + +def test_google_parser_custom_sections_after() -> None: + """Test parsing an unknown section with custom GoogleParser configuration + that was set at a runtime. + """ + parser = GoogleParser(title_colon=False) + parser.add_section(Section("Note", "note", SectionType.SINGULAR)) + docstring = parser.parse( + """ + short description + + Note: + a note + """ + ) + assert docstring.short_description == "short description" + assert docstring.long_description == "Note:\n a note" + + docstring = parser.parse( + """ + short description + + Note a note + """ + ) + assert docstring.short_description == "short description" + assert docstring.long_description == "Note a note" + + docstring = parser.parse( + """ + short description + + Note + a note + """ + ) + assert len(docstring.meta) == 1 + assert docstring.meta[0].args == ["note"] + assert docstring.meta[0].description == "a note" + + +@pytest.mark.parametrize( + "source, expected", + [ + ("", None), + ("\n", None), + ("Short description", "Short description"), + ("\nShort description\n", "Short description"), + ("\n Short description\n", "Short description"), + ], +) +def test_short_description(source: str, expected: str) -> None: + """Test parsing short description.""" + docstring = parse(source) + assert docstring.short_description == expected + assert docstring.long_description is None + assert not docstring.meta + + +@pytest.mark.parametrize( + "source, expected_short_desc, expected_long_desc, expected_blank", + [ + ( + "Short description\n\nLong description", + "Short description", + "Long description", + True, + ), + ( + """ + Short description + + Long description + """, + "Short description", + "Long description", + True, + ), + ( + """ + Short description + + Long description + Second line + """, + "Short description", + "Long description\nSecond line", + True, + ), + ( + "Short description\nLong description", + "Short description", + "Long description", + False, + ), + ( + """ + Short description + Long description + """, + "Short description", + "Long description", + False, + ), + ( + "\nShort description\nLong description\n", + "Short description", + "Long description", + False, + ), + ( + """ + Short description + Long description + Second line + """, + "Short description", + "Long description\nSecond line", + False, + ), + ], +) +def test_long_description( + source: str, + expected_short_desc: str, + expected_long_desc: str, + expected_blank: bool, +) -> None: + """Test parsing long description.""" + docstring = parse(source) + assert docstring.short_description == expected_short_desc + assert docstring.long_description == expected_long_desc + assert docstring.blank_after_short_description == expected_blank + assert not docstring.meta + + +@pytest.mark.parametrize( + "source, expected_short_desc, expected_long_desc, " + "expected_blank_short_desc, expected_blank_long_desc", + [ + ( + """ + Short description + Args: + asd: + """, + "Short description", + None, + False, + False, + ), + ( + """ + Short description + Long description + Args: + asd: + """, + "Short description", + "Long description", + False, + False, + ), + ( + """ + Short description + First line + Second line + Args: + asd: + """, + "Short description", + "First line\n Second line", + False, + False, + ), + ( + """ + Short description + + First line + Second line + Args: + asd: + """, + "Short description", + "First line\n Second line", + True, + False, + ), + ( + """ + Short description + + First line + Second line + + Args: + asd: + """, + "Short description", + "First line\n Second line", + True, + True, + ), + ( + """ + Args: + asd: + """, + None, + None, + False, + False, + ), + ], +) +def test_meta_newlines( + source: str, + expected_short_desc: T.Optional[str], + expected_long_desc: T.Optional[str], + expected_blank_short_desc: bool, + expected_blank_long_desc: bool, +) -> None: + """Test parsing newlines around description sections.""" + docstring = parse(source) + assert docstring.short_description == expected_short_desc + assert docstring.long_description == expected_long_desc + assert docstring.blank_after_short_description == expected_blank_short_desc + assert docstring.blank_after_long_description == expected_blank_long_desc + assert len(docstring.meta) == 1 + + +def test_meta_with_multiline_description() -> None: + """Test parsing multiline meta documentation.""" + docstring = parse( + """ + Short description + + Args: + spam: asd + 1 + 2 + 3 + """ + ) + assert docstring.short_description == "Short description" + assert len(docstring.meta) == 1 + assert docstring.meta[0].args == ["param", "spam"] + assert docstring.meta[0].arg_name == "spam" + assert docstring.meta[0].description == "asd\n1\n 2\n3" + + +def test_default_args() -> None: + """Test parsing default arguments.""" + docstring = parse( + """A sample function + +A function the demonstrates docstrings + +Args: + arg1 (int): The firsty arg + arg2 (str): The second arg + arg3 (float, optional): The third arg. Defaults to 1.0. + arg4 (Optional[Dict[str, Any]], optional): The last arg. Defaults to None. + arg5 (str, optional): The fifth arg. Defaults to DEFAULT_ARG5. + +Returns: + Mapping[str, Any]: The args packed in a mapping +""" + ) + assert docstring is not None + assert len(docstring.params) == 5 + + arg4 = docstring.params[3] + assert arg4.arg_name == "arg4" + assert arg4.is_optional + assert arg4.type_name == "Optional[Dict[str, Any]]" + assert arg4.default == "None" + assert arg4.description == "The last arg. Defaults to None." + + +def test_multiple_meta() -> None: + """Test parsing multiple meta.""" + docstring = parse( + """ + Short description + + Args: + spam: asd + 1 + 2 + 3 + + Raises: + bla: herp + yay: derp + """ + ) + assert docstring.short_description == "Short description" + assert len(docstring.meta) == 3 + assert docstring.meta[0].args == ["param", "spam"] + assert docstring.meta[0].arg_name == "spam" + assert docstring.meta[0].description == "asd\n1\n 2\n3" + assert docstring.meta[1].args == ["raises", "bla"] + assert docstring.meta[1].type_name == "bla" + assert docstring.meta[1].description == "herp" + assert docstring.meta[2].args == ["raises", "yay"] + assert docstring.meta[2].type_name == "yay" + assert docstring.meta[2].description == "derp" + + +def test_params() -> None: + """Test parsing params.""" + docstring = parse("Short description") + assert len(docstring.params) == 0 + + docstring = parse( + """ + Short description + + Args: + name: description 1 + priority (int): description 2 + sender (str?): description 3 + ratio (Optional[float], optional): description 4 + """ + ) + assert len(docstring.params) == 4 + assert docstring.params[0].arg_name == "name" + assert docstring.params[0].type_name is None + assert docstring.params[0].description == "description 1" + assert not docstring.params[0].is_optional + assert docstring.params[1].arg_name == "priority" + assert docstring.params[1].type_name == "int" + assert docstring.params[1].description == "description 2" + assert not docstring.params[1].is_optional + assert docstring.params[2].arg_name == "sender" + assert docstring.params[2].type_name == "str" + assert docstring.params[2].description == "description 3" + assert docstring.params[2].is_optional + assert docstring.params[3].arg_name == "ratio" + assert docstring.params[3].type_name == "Optional[float]" + assert docstring.params[3].description == "description 4" + assert docstring.params[3].is_optional + + docstring = parse( + """ + Short description + + Args: + name: description 1 + with multi-line text + priority (int): description 2 + """ + ) + assert len(docstring.params) == 2 + assert docstring.params[0].arg_name == "name" + assert docstring.params[0].type_name is None + assert docstring.params[0].description == ( + "description 1\nwith multi-line text" + ) + assert docstring.params[1].arg_name == "priority" + assert docstring.params[1].type_name == "int" + assert docstring.params[1].description == "description 2" + + +def test_attributes() -> None: + """Test parsing attributes.""" + docstring = parse("Short description") + assert len(docstring.params) == 0 + + docstring = parse( + """ + Short description + + Attributes: + name: description 1 + priority (int): description 2 + sender (str?): description 3 + ratio (Optional[float], optional): description 4 + """ + ) + assert len(docstring.params) == 4 + assert docstring.params[0].arg_name == "name" + assert docstring.params[0].type_name is None + assert docstring.params[0].description == "description 1" + assert not docstring.params[0].is_optional + assert docstring.params[1].arg_name == "priority" + assert docstring.params[1].type_name == "int" + assert docstring.params[1].description == "description 2" + assert not docstring.params[1].is_optional + assert docstring.params[2].arg_name == "sender" + assert docstring.params[2].type_name == "str" + assert docstring.params[2].description == "description 3" + assert docstring.params[2].is_optional + assert docstring.params[3].arg_name == "ratio" + assert docstring.params[3].type_name == "Optional[float]" + assert docstring.params[3].description == "description 4" + assert docstring.params[3].is_optional + + docstring = parse( + """ + Short description + + Attributes: + name: description 1 + with multi-line text + priority (int): description 2 + """ + ) + assert len(docstring.params) == 2 + assert docstring.params[0].arg_name == "name" + assert docstring.params[0].type_name is None + assert docstring.params[0].description == ( + "description 1\nwith multi-line text" + ) + assert docstring.params[1].arg_name == "priority" + assert docstring.params[1].type_name == "int" + assert docstring.params[1].description == "description 2" + + +def test_returns() -> None: + """Test parsing returns.""" + docstring = parse( + """ + Short description + """ + ) + assert docstring.returns is None + assert docstring.many_returns is not None + assert len(docstring.many_returns) == 0 + + docstring = parse( + """ + Short description + Returns: + description + """ + ) + assert docstring.returns is not None + assert docstring.returns.type_name is None + assert docstring.returns.description == "description" + assert docstring.many_returns is not None + assert len(docstring.many_returns) == 1 + assert docstring.many_returns[0] == docstring.returns + + docstring = parse( + """ + Short description + Returns: + description with: a colon! + """ + ) + assert docstring.returns is not None + assert docstring.returns.type_name is None + assert docstring.returns.description == "description with: a colon!" + assert docstring.many_returns is not None + assert len(docstring.many_returns) == 1 + assert docstring.many_returns[0] == docstring.returns + + docstring = parse( + """ + Short description + Returns: + int: description + """ + ) + assert docstring.returns is not None + assert docstring.returns.type_name == "int" + assert docstring.returns.description == "description" + assert docstring.many_returns is not None + assert len(docstring.many_returns) == 1 + assert docstring.many_returns[0] == docstring.returns + + docstring = parse( + """ + Returns: + Optional[Mapping[str, List[int]]]: A description: with a colon + """ + ) + assert docstring.returns is not None + assert docstring.returns.type_name == "Optional[Mapping[str, List[int]]]" + assert docstring.returns.description == "A description: with a colon" + assert docstring.many_returns is not None + assert len(docstring.many_returns) == 1 + assert docstring.many_returns[0] == docstring.returns + + docstring = parse( + """ + Short description + Yields: + int: description + """ + ) + assert docstring.returns is not None + assert docstring.returns.type_name == "int" + assert docstring.returns.description == "description" + assert docstring.many_returns is not None + assert len(docstring.many_returns) == 1 + assert docstring.many_returns[0] == docstring.returns + + docstring = parse( + """ + Short description + Returns: + int: description + with much text + + even some spacing + """ + ) + assert docstring.returns is not None + assert docstring.returns.type_name == "int" + assert docstring.returns.description == ( + "description\nwith much text\n\neven some spacing" + ) + assert docstring.many_returns is not None + assert len(docstring.many_returns) == 1 + assert docstring.many_returns[0] == docstring.returns + + +def test_raises() -> None: + """Test parsing raises.""" + docstring = parse( + """ + Short description + """ + ) + assert len(docstring.raises) == 0 + + docstring = parse( + """ + Short description + Raises: + ValueError: description + """ + ) + assert len(docstring.raises) == 1 + assert docstring.raises[0].type_name == "ValueError" + assert docstring.raises[0].description == "description" + + +def test_examples() -> None: + """Test parsing examples.""" + docstring = parse( + """ + Short description + Example: + example: 1 + Examples: + long example + + more here + """ + ) + assert len(docstring.examples) == 2 + assert docstring.examples[0].description == "example: 1" + assert docstring.examples[1].description == "long example\n\nmore here" + + +def test_broken_meta() -> None: + """Test parsing broken meta.""" + with pytest.raises(ParseError): + parse("Args:") + + with pytest.raises(ParseError): + parse("Args:\n herp derp") + + +def test_unknown_meta() -> None: + """Test parsing unknown meta.""" + docstring = parse( + """Short desc + + Unknown 0: + title0: content0 + + Args: + arg0: desc0 + arg1: desc1 + + Unknown1: + title1: content1 + + Unknown2: + title2: content2 + """ + ) + + assert docstring.params[0].arg_name == "arg0" + assert docstring.params[0].description == "desc0" + assert docstring.params[1].arg_name == "arg1" + assert docstring.params[1].description == "desc1" + + +def test_broken_arguments() -> None: + """Test parsing broken arguments.""" + with pytest.raises(ParseError): + parse( + """This is a test + + Args: + param - poorly formatted + """ + ) + + +def test_empty_example() -> None: + """Test parsing empty examples section.""" + docstring = parse( + """Short description + + Example: + + Raises: + IOError: some error + """ + ) + + assert len(docstring.examples) == 1 + assert docstring.examples[0].args == ["examples"] + assert docstring.examples[0].description == "" + + +@pytest.mark.parametrize( + "source, expected", + [ + ("", ""), + ("\n", ""), + ("Short description", "Short description"), + ("\nShort description\n", "Short description"), + ("\n Short description\n", "Short description"), + ( + "Short description\n\nLong description", + "Short description\n\nLong description", + ), + ( + """ + Short description + + Long description + """, + "Short description\n\nLong description", + ), + ( + """ + Short description + + Long description + Second line + """, + "Short description\n\nLong description\nSecond line", + ), + ( + "Short description\nLong description", + "Short description\nLong description", + ), + ( + """ + Short description + Long description + """, + "Short description\nLong description", + ), + ( + "\nShort description\nLong description\n", + "Short description\nLong description", + ), + ( + """ + Short description + Long description + Second line + """, + "Short description\nLong description\nSecond line", + ), + ( + """ + Short description + Meta: + asd + """, + "Short description\nMeta:\n asd", + ), + ( + """ + Short description + Long description + Meta: + asd + """, + "Short description\nLong description\nMeta:\n asd", + ), + ( + """ + Short description + First line + Second line + Meta: + asd + """, + "Short description\n" + "First line\n" + " Second line\n" + "Meta:\n" + " asd", + ), + ( + """ + Short description + + First line + Second line + Meta: + asd + """, + "Short description\n" + "\n" + "First line\n" + " Second line\n" + "Meta:\n" + " asd", + ), + ( + """ + Short description + + First line + Second line + + Meta: + asd + """, + "Short description\n" + "\n" + "First line\n" + " Second line\n" + "\n" + "Meta:\n" + " asd", + ), + ( + """ + Short description + + Meta: + asd + 1 + 2 + 3 + """, + "Short description\n" + "\n" + "Meta:\n" + " asd\n" + " 1\n" + " 2\n" + " 3", + ), + ( + """ + Short description + + Meta1: + asd + 1 + 2 + 3 + Meta2: + herp + Meta3: + derp + """, + "Short description\n" + "\n" + "Meta1:\n" + " asd\n" + " 1\n" + " 2\n" + " 3\n" + "Meta2:\n" + " herp\n" + "Meta3:\n" + " derp", + ), + ( + """ + Short description + + Args: + name: description 1 + priority (int): description 2 + sender (str, optional): description 3 + message (str, optional): description 4, defaults to 'hello' + multiline (str?): + long description 5, + defaults to 'bye' + """, + "Short description\n" + "\n" + "Args:\n" + " name: description 1\n" + " priority (int): description 2\n" + " sender (str?): description 3\n" + " message (str?): description 4, defaults to 'hello'\n" + " multiline (str?): long description 5,\n" + " defaults to 'bye'", + ), + ( + """ + Short description + Raises: + ValueError: description + """, + "Short description\nRaises:\n ValueError: description", + ), + ], +) +def test_compose(source: str, expected: str) -> None: + """Test compose in default mode.""" + assert compose(parse(source)) == expected + + +@pytest.mark.parametrize( + "source, expected", + [ + ( + """ + Short description + + Args: + name: description 1 + priority (int): description 2 + sender (str, optional): description 3 + message (str, optional): description 4, defaults to 'hello' + multiline (str?): + long description 5, + defaults to 'bye' + """, + "Short description\n" + "\n" + "Args:\n" + " name: description 1\n" + " priority (int): description 2\n" + " sender (str, optional): description 3\n" + " message (str, optional): description 4, defaults to 'hello'\n" + " multiline (str, optional): long description 5,\n" + " defaults to 'bye'", + ), + ], +) +def test_compose_clean(source: str, expected: str) -> None: + """Test compose in clean mode.""" + assert ( + compose(parse(source), rendering_style=RenderingStyle.CLEAN) + == expected + ) + + +@pytest.mark.parametrize( + "source, expected", + [ + ( + """ + Short description + + Args: + name: description 1 + priority (int): description 2 + sender (str, optional): description 3 + message (str, optional): description 4, defaults to 'hello' + multiline (str?): + long description 5, + defaults to 'bye' + """, + "Short description\n" + "\n" + "Args:\n" + " name:\n" + " description 1\n" + " priority (int):\n" + " description 2\n" + " sender (str, optional):\n" + " description 3\n" + " message (str, optional):\n" + " description 4, defaults to 'hello'\n" + " multiline (str, optional):\n" + " long description 5,\n" + " defaults to 'bye'", + ), + ], +) +def test_compose_expanded(source: str, expected: str) -> None: + """Test compose in expanded mode.""" + assert ( + compose(parse(source), rendering_style=RenderingStyle.EXPANDED) + == expected + ) diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/docstring_parser/tests/test_numpydoc.py b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/docstring_parser/tests/test_numpydoc.py new file mode 100644 index 0000000000000000000000000000000000000000..2394c61aa9a2daee04d1d3a6d56d7f53e3da0c9a --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/docstring_parser/tests/test_numpydoc.py @@ -0,0 +1,1088 @@ +"""Tests for numpydoc-style docstring routines.""" + +import typing as T + +import pytest +from docstring_parser.numpydoc import compose, parse + + +@pytest.mark.parametrize( + "source, expected", + [ + ("", None), + ("\n", None), + ("Short description", "Short description"), + ("\nShort description\n", "Short description"), + ("\n Short description\n", "Short description"), + ], +) +def test_short_description(source: str, expected: str) -> None: + """Test parsing short description.""" + docstring = parse(source) + assert docstring.short_description == expected + assert docstring.long_description is None + assert not docstring.meta + + +@pytest.mark.parametrize( + "source, expected_short_desc, expected_long_desc, expected_blank", + [ + ( + "Short description\n\nLong description", + "Short description", + "Long description", + True, + ), + ( + """ + Short description + + Long description + """, + "Short description", + "Long description", + True, + ), + ( + """ + Short description + + Long description + Second line + """, + "Short description", + "Long description\nSecond line", + True, + ), + ( + "Short description\nLong description", + "Short description", + "Long description", + False, + ), + ( + """ + Short description + Long description + """, + "Short description", + "Long description", + False, + ), + ( + "\nShort description\nLong description\n", + "Short description", + "Long description", + False, + ), + ( + """ + Short description + Long description + Second line + """, + "Short description", + "Long description\nSecond line", + False, + ), + ], +) +def test_long_description( + source: str, + expected_short_desc: str, + expected_long_desc: str, + expected_blank: bool, +) -> None: + """Test parsing long description.""" + docstring = parse(source) + assert docstring.short_description == expected_short_desc + assert docstring.long_description == expected_long_desc + assert docstring.blank_after_short_description == expected_blank + assert not docstring.meta + + +@pytest.mark.parametrize( + "source, expected_short_desc, expected_long_desc, " + "expected_blank_short_desc, expected_blank_long_desc", + [ + ( + """ + Short description + Parameters + ---------- + asd + """, + "Short description", + None, + False, + False, + ), + ( + """ + Short description + Long description + Parameters + ---------- + asd + """, + "Short description", + "Long description", + False, + False, + ), + ( + """ + Short description + First line + Second line + Parameters + ---------- + asd + """, + "Short description", + "First line\n Second line", + False, + False, + ), + ( + """ + Short description + + First line + Second line + Parameters + ---------- + asd + """, + "Short description", + "First line\n Second line", + True, + False, + ), + ( + """ + Short description + + First line + Second line + + Parameters + ---------- + asd + """, + "Short description", + "First line\n Second line", + True, + True, + ), + ( + """ + Parameters + ---------- + asd + """, + None, + None, + False, + False, + ), + ], +) +def test_meta_newlines( + source: str, + expected_short_desc: T.Optional[str], + expected_long_desc: T.Optional[str], + expected_blank_short_desc: bool, + expected_blank_long_desc: bool, +) -> None: + """Test parsing newlines around description sections.""" + docstring = parse(source) + assert docstring.short_description == expected_short_desc + assert docstring.long_description == expected_long_desc + assert docstring.blank_after_short_description == expected_blank_short_desc + assert docstring.blank_after_long_description == expected_blank_long_desc + assert len(docstring.meta) == 1 + + +def test_meta_with_multiline_description() -> None: + """Test parsing multiline meta documentation.""" + docstring = parse( + """ + Short description + + Parameters + ---------- + spam + asd + 1 + 2 + 3 + """ + ) + assert docstring.short_description == "Short description" + assert len(docstring.meta) == 1 + assert docstring.meta[0].args == ["param", "spam"] + assert docstring.meta[0].arg_name == "spam" + assert docstring.meta[0].description == "asd\n1\n 2\n3" + + +@pytest.mark.parametrize( + "source, expected_is_optional, expected_type_name, expected_default", + [ + ( + """ + Parameters + ---------- + arg1 : int + The first arg + """, + False, + "int", + None, + ), + ( + """ + Parameters + ---------- + arg2 : str + The second arg + """, + False, + "str", + None, + ), + ( + """ + Parameters + ---------- + arg3 : float, optional + The third arg. Default is 1.0. + """, + True, + "float", + "1.0", + ), + ( + """ + Parameters + ---------- + arg4 : Optional[Dict[str, Any]], optional + The fourth arg. Defaults to None + """, + True, + "Optional[Dict[str, Any]]", + "None", + ), + ( + """ + Parameters + ---------- + arg5 : str, optional + The fifth arg. Default: DEFAULT_ARGS + """, + True, + "str", + "DEFAULT_ARGS", + ), + ( + """ + Parameters + ---------- + parameter_without_default : int + The parameter_without_default is required. + """, + False, + "int", + None, + ), + ], +) +def test_default_args( + source: str, + expected_is_optional: bool, + expected_type_name: T.Optional[str], + expected_default: T.Optional[str], +) -> None: + """Test parsing default arguments.""" + docstring = parse(source) + assert docstring is not None + assert len(docstring.params) == 1 + + arg1 = docstring.params[0] + assert arg1.is_optional == expected_is_optional + assert arg1.type_name == expected_type_name + assert arg1.default == expected_default + + +def test_multiple_meta() -> None: + """Test parsing multiple meta.""" + docstring = parse( + """ + Short description + + Parameters + ---------- + spam + asd + 1 + 2 + 3 + + Raises + ------ + bla + herp + yay + derp + """ + ) + assert docstring.short_description == "Short description" + assert len(docstring.meta) == 3 + assert docstring.meta[0].args == ["param", "spam"] + assert docstring.meta[0].arg_name == "spam" + assert docstring.meta[0].description == "asd\n1\n 2\n3" + assert docstring.meta[1].args == ["raises", "bla"] + assert docstring.meta[1].type_name == "bla" + assert docstring.meta[1].description == "herp" + assert docstring.meta[2].args == ["raises", "yay"] + assert docstring.meta[2].type_name == "yay" + assert docstring.meta[2].description == "derp" + + +def test_params() -> None: + """Test parsing params.""" + docstring = parse("Short description") + assert len(docstring.params) == 0 + + docstring = parse( + """ + Short description + + Parameters + ---------- + name + description 1 + priority : int + description 2 + sender : str, optional + description 3 + ratio : Optional[float], optional + description 4 + """ + ) + assert len(docstring.params) == 4 + assert docstring.params[0].arg_name == "name" + assert docstring.params[0].type_name is None + assert docstring.params[0].description == "description 1" + assert not docstring.params[0].is_optional + assert docstring.params[1].arg_name == "priority" + assert docstring.params[1].type_name == "int" + assert docstring.params[1].description == "description 2" + assert not docstring.params[1].is_optional + assert docstring.params[2].arg_name == "sender" + assert docstring.params[2].type_name == "str" + assert docstring.params[2].description == "description 3" + assert docstring.params[2].is_optional + assert docstring.params[3].arg_name == "ratio" + assert docstring.params[3].type_name == "Optional[float]" + assert docstring.params[3].description == "description 4" + assert docstring.params[3].is_optional + + docstring = parse( + """ + Short description + + Parameters + ---------- + name + description 1 + with multi-line text + priority : int + description 2 + """ + ) + assert len(docstring.params) == 2 + assert docstring.params[0].arg_name == "name" + assert docstring.params[0].type_name is None + assert docstring.params[0].description == ( + "description 1\nwith multi-line text" + ) + assert docstring.params[1].arg_name == "priority" + assert docstring.params[1].type_name == "int" + assert docstring.params[1].description == "description 2" + + +def test_attributes() -> None: + """Test parsing attributes.""" + docstring = parse("Short description") + assert len(docstring.params) == 0 + + docstring = parse( + """ + Short description + + Attributes + ---------- + name + description 1 + priority : int + description 2 + sender : str, optional + description 3 + ratio : Optional[float], optional + description 4 + """ + ) + assert len(docstring.params) == 4 + assert docstring.params[0].arg_name == "name" + assert docstring.params[0].type_name is None + assert docstring.params[0].description == "description 1" + assert not docstring.params[0].is_optional + assert docstring.params[1].arg_name == "priority" + assert docstring.params[1].type_name == "int" + assert docstring.params[1].description == "description 2" + assert not docstring.params[1].is_optional + assert docstring.params[2].arg_name == "sender" + assert docstring.params[2].type_name == "str" + assert docstring.params[2].description == "description 3" + assert docstring.params[2].is_optional + assert docstring.params[3].arg_name == "ratio" + assert docstring.params[3].type_name == "Optional[float]" + assert docstring.params[3].description == "description 4" + assert docstring.params[3].is_optional + + docstring = parse( + """ + Short description + + Attributes + ---------- + name + description 1 + with multi-line text + priority : int + description 2 + """ + ) + assert len(docstring.params) == 2 + assert docstring.params[0].arg_name == "name" + assert docstring.params[0].type_name is None + assert docstring.params[0].description == ( + "description 1\nwith multi-line text" + ) + assert docstring.params[1].arg_name == "priority" + assert docstring.params[1].type_name == "int" + assert docstring.params[1].description == "description 2" + + +def test_other_params() -> None: + """Test parsing other parameters.""" + docstring = parse( + """ + Short description + Other Parameters + ---------------- + only_seldom_used_keywords : type, optional + Explanation + common_parameters_listed_above : type, optional + Explanation + """ + ) + assert len(docstring.meta) == 2 + assert docstring.meta[0].args == [ + "other_param", + "only_seldom_used_keywords", + ] + assert docstring.meta[0].arg_name == "only_seldom_used_keywords" + assert docstring.meta[0].type_name == "type" + assert docstring.meta[0].is_optional + assert docstring.meta[0].description == "Explanation" + + assert docstring.meta[1].args == [ + "other_param", + "common_parameters_listed_above", + ] + + +def test_yields() -> None: + """Test parsing yields.""" + docstring = parse( + """ + Short description + Yields + ------ + int + description + """ + ) + assert len(docstring.meta) == 1 + assert docstring.meta[0].args == ["yields"] + assert docstring.meta[0].type_name == "int" + assert docstring.meta[0].description == "description" + assert docstring.meta[0].return_name is None + assert docstring.meta[0].is_generator + + +def test_returns() -> None: + """Test parsing returns.""" + docstring = parse( + """ + Short description + """ + ) + assert docstring.returns is None + assert docstring.many_returns is not None + assert len(docstring.many_returns) == 0 + + docstring = parse( + """ + Short description + Returns + ------- + type + """ + ) + assert docstring.returns is not None + assert docstring.returns.type_name == "type" + assert docstring.returns.description is None + assert docstring.many_returns is not None + assert len(docstring.many_returns) == 1 + assert docstring.many_returns[0] == docstring.returns + + docstring = parse( + """ + Short description + Returns + ------- + int + description + """ + ) + assert docstring.returns is not None + assert docstring.returns.type_name == "int" + assert docstring.returns.description == "description" + assert docstring.many_returns is not None + assert len(docstring.many_returns) == 1 + assert docstring.many_returns[0] == docstring.returns + + docstring = parse( + """ + Returns + ------- + Optional[Mapping[str, List[int]]] + A description: with a colon + """ + ) + assert docstring.returns is not None + assert docstring.returns.type_name == "Optional[Mapping[str, List[int]]]" + assert docstring.returns.description == "A description: with a colon" + assert docstring.many_returns is not None + assert len(docstring.many_returns) == 1 + assert docstring.many_returns[0] == docstring.returns + + docstring = parse( + """ + Short description + Returns + ------- + int + description + with much text + + even some spacing + """ + ) + assert docstring.returns is not None + assert docstring.returns.type_name == "int" + assert docstring.returns.description == ( + "description\nwith much text\n\neven some spacing" + ) + assert docstring.many_returns is not None + assert len(docstring.many_returns) == 1 + assert docstring.many_returns[0] == docstring.returns + + docstring = parse( + """ + Short description + Returns + ------- + a : int + description for a + b : str + description for b + """ + ) + assert docstring.returns is not None + assert docstring.returns.type_name == "int" + assert docstring.returns.description == ("description for a") + assert docstring.many_returns is not None + assert len(docstring.many_returns) == 2 + assert docstring.many_returns[0].type_name == "int" + assert docstring.many_returns[0].description == "description for a" + assert docstring.many_returns[0].return_name == "a" + assert docstring.many_returns[1].type_name == "str" + assert docstring.many_returns[1].description == "description for b" + assert docstring.many_returns[1].return_name == "b" + + +def test_raises() -> None: + """Test parsing raises.""" + docstring = parse( + """ + Short description + """ + ) + assert len(docstring.raises) == 0 + + docstring = parse( + """ + Short description + Raises + ------ + ValueError + description + """ + ) + assert len(docstring.raises) == 1 + assert docstring.raises[0].type_name == "ValueError" + assert docstring.raises[0].description == "description" + + +def test_warns() -> None: + """Test parsing warns.""" + docstring = parse( + """ + Short description + Warns + ----- + UserWarning + description + """ + ) + assert len(docstring.meta) == 1 + assert docstring.meta[0].type_name == "UserWarning" + assert docstring.meta[0].description == "description" + + +def test_simple_sections() -> None: + """Test parsing simple sections.""" + docstring = parse( + """ + Short description + + See Also + -------- + something : some thing you can also see + actually, anything can go in this section + + Warnings + -------- + Here be dragons + + Notes + ----- + None of this is real + + References + ---------- + Cite the relevant literature, e.g. [1]_. You may also cite these + references in the notes section above. + + .. [1] O. McNoleg, "The integration of GIS, remote sensing, + expert systems and adaptive co-kriging for environmental habitat + modelling of the Highland Haggis using object-oriented, fuzzy-logic + and neural-network techniques," Computers & Geosciences, vol. 22, + pp. 585-588, 1996. + """ + ) + assert len(docstring.meta) == 4 + assert docstring.meta[0].args == ["see_also"] + assert docstring.meta[0].description == ( + "something : some thing you can also see\n" + "actually, anything can go in this section" + ) + + assert docstring.meta[1].args == ["warnings"] + assert docstring.meta[1].description == "Here be dragons" + + assert docstring.meta[2].args == ["notes"] + assert docstring.meta[2].description == "None of this is real" + + assert docstring.meta[3].args == ["references"] + + +@pytest.mark.parametrize( + "source, expected_results", + [ + ( + "Description\nExamples\n--------\nlong example\n\nmore here", + [ + (None, "long example\n\nmore here"), + ], + ), + ( + "Description\nExamples\n--------\n>>> test", + [ + (">>> test", ""), + ], + ), + ( + "Description\nExamples\n--------\n>>> testa\n>>> testb", + [ + (">>> testa\n>>> testb", ""), + ], + ), + ( + "Description\nExamples\n--------\n>>> test1\ndesc1", + [ + (">>> test1", "desc1"), + ], + ), + ( + "Description\nExamples\n--------\n" + ">>> test1a\n>>> test1b\ndesc1a\ndesc1b", + [ + (">>> test1a\n>>> test1b", "desc1a\ndesc1b"), + ], + ), + ( + "Description\nExamples\n--------\n" + ">>> test1\ndesc1\n>>> test2\ndesc2", + [ + (">>> test1", "desc1"), + (">>> test2", "desc2"), + ], + ), + ( + "Description\nExamples\n--------\n" + ">>> test1a\n>>> test1b\ndesc1a\ndesc1b\n" + ">>> test2a\n>>> test2b\ndesc2a\ndesc2b\n", + [ + (">>> test1a\n>>> test1b", "desc1a\ndesc1b"), + (">>> test2a\n>>> test2b", "desc2a\ndesc2b"), + ], + ), + ( + "Description\nExamples\n--------\n" + " >>> test1a\n >>> test1b\n desc1a\n desc1b\n" + " >>> test2a\n >>> test2b\n desc2a\n desc2b\n", + [ + (">>> test1a\n>>> test1b", "desc1a\ndesc1b"), + (">>> test2a\n>>> test2b", "desc2a\ndesc2b"), + ], + ), + ], +) +def test_examples( + source, expected_results: T.List[T.Tuple[T.Optional[str], str]] +) -> None: + """Test parsing examples.""" + docstring = parse(source) + assert len(docstring.meta) == len(expected_results) + for meta, expected_result in zip(docstring.meta, expected_results): + assert meta.description == expected_result[1] + assert len(docstring.examples) == len(expected_results) + for example, expected_result in zip(docstring.examples, expected_results): + assert example.snippet == expected_result[0] + assert example.description == expected_result[1] + + +@pytest.mark.parametrize( + "source, expected_depr_version, expected_depr_desc", + [ + ( + "Short description\n\n.. deprecated:: 1.6.0\n This is busted!", + "1.6.0", + "This is busted!", + ), + ( + ( + "Short description\n\n" + ".. deprecated:: 1.6.0\n" + " This description has\n" + " multiple lines!" + ), + "1.6.0", + "This description has\nmultiple lines!", + ), + ("Short description\n\n.. deprecated:: 1.6.0", "1.6.0", None), + ( + "Short description\n\n.. deprecated::\n No version!", + None, + "No version!", + ), + ], +) +def test_deprecation( + source: str, + expected_depr_version: T.Optional[str], + expected_depr_desc: T.Optional[str], +) -> None: + """Test parsing deprecation notes.""" + docstring = parse(source) + + assert docstring.deprecation is not None + assert docstring.deprecation.version == expected_depr_version + assert docstring.deprecation.description == expected_depr_desc + + +@pytest.mark.parametrize( + "source, expected", + [ + ("", ""), + ("\n", ""), + ("Short description", "Short description"), + ("\nShort description\n", "Short description"), + ("\n Short description\n", "Short description"), + ( + "Short description\n\nLong description", + "Short description\n\nLong description", + ), + ( + """ + Short description + + Long description + """, + "Short description\n\nLong description", + ), + ( + """ + Short description + + Long description + Second line + """, + "Short description\n\nLong description\nSecond line", + ), + ( + "Short description\nLong description", + "Short description\nLong description", + ), + ( + """ + Short description + Long description + """, + "Short description\nLong description", + ), + ( + "\nShort description\nLong description\n", + "Short description\nLong description", + ), + ( + """ + Short description + Long description + Second line + """, + "Short description\nLong description\nSecond line", + ), + ( + """ + Short description + Meta: + ----- + asd + """, + "Short description\nMeta:\n-----\n asd", + ), + ( + """ + Short description + Long description + Meta: + ----- + asd + """, + "Short description\n" + "Long description\n" + "Meta:\n" + "-----\n" + " asd", + ), + ( + """ + Short description + First line + Second line + Meta: + ----- + asd + """, + "Short description\n" + "First line\n" + " Second line\n" + "Meta:\n" + "-----\n" + " asd", + ), + ( + """ + Short description + + First line + Second line + Meta: + ----- + asd + """, + "Short description\n" + "\n" + "First line\n" + " Second line\n" + "Meta:\n" + "-----\n" + " asd", + ), + ( + """ + Short description + + First line + Second line + + Meta: + ----- + asd + """, + "Short description\n" + "\n" + "First line\n" + " Second line\n" + "\n" + "Meta:\n" + "-----\n" + " asd", + ), + ( + """ + Short description + + Meta: + ----- + asd + 1 + 2 + 3 + """, + "Short description\n" + "\n" + "Meta:\n" + "-----\n" + " asd\n" + " 1\n" + " 2\n" + " 3", + ), + ( + """ + Short description + + Meta1: + ------ + asd + 1 + 2 + 3 + Meta2: + ------ + herp + Meta3: + ------ + derp + """, + "Short description\n" + "\n" + "Meta1:\n" + "------\n" + " asd\n" + " 1\n" + " 2\n" + " 3\n" + "Meta2:\n" + "------\n" + " herp\n" + "Meta3:\n" + "------\n" + " derp", + ), + ( + """ + Short description + + Parameters: + ----------- + name + description 1 + priority: int + description 2 + sender: str, optional + description 3 + message: str, optional + description 4, defaults to 'hello' + multiline: str, optional + long description 5, + defaults to 'bye' + """, + "Short description\n" + "\n" + "Parameters:\n" + "-----------\n" + " name\n" + " description 1\n" + " priority: int\n" + " description 2\n" + " sender: str, optional\n" + " description 3\n" + " message: str, optional\n" + " description 4, defaults to 'hello'\n" + " multiline: str, optional\n" + " long description 5,\n" + " defaults to 'bye'", + ), + ( + """ + Short description + Raises: + ------- + ValueError + description + """, + "Short description\n" + "Raises:\n" + "-------\n" + " ValueError\n" + " description", + ), + ( + """ + Description + Examples: + -------- + >>> test1a + >>> test1b + desc1a + desc1b + >>> test2a + >>> test2b + desc2a + desc2b + """, + "Description\n" + "Examples:\n" + "--------\n" + ">>> test1a\n" + ">>> test1b\n" + "desc1a\n" + "desc1b\n" + ">>> test2a\n" + ">>> test2b\n" + "desc2a\n" + "desc2b", + ), + ], +) +def test_compose(source: str, expected: str) -> None: + """Test compose in default mode.""" + assert compose(parse(source)) == expected diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/docstring_parser/tests/test_parse_from_object.py b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/docstring_parser/tests/test_parse_from_object.py new file mode 100644 index 0000000000000000000000000000000000000000..0dcba3de6dedec2381ed22ef483e4d6c1a9eeab4 --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/docstring_parser/tests/test_parse_from_object.py @@ -0,0 +1,110 @@ +"""Tests for parse_from_object function and attribute docstrings.""" + +from unittest.mock import patch + +from docstring_parser import parse_from_object + +module_attr: int = 1 +"""Description for module_attr""" + + +def test_from_module_attribute_docstrings() -> None: + """Test the parse of attribute docstrings from a module.""" + from . import test_parse_from_object # pylint: disable=C0415,W0406 + + docstring = parse_from_object(test_parse_from_object) + + assert "parse_from_object" in docstring.short_description + assert len(docstring.params) == 1 + assert docstring.params[0].arg_name == "module_attr" + assert docstring.params[0].type_name == "int" + assert docstring.params[0].description == "Description for module_attr" + + +def test_from_class_attribute_docstrings() -> None: + """Test the parse of attribute docstrings from a class.""" + + class StandardCase: + """Short description + Long description + """ + + attr_one: str + """Description for attr_one""" + attr_two: bool = False + """Description for attr_two""" + + docstring = parse_from_object(StandardCase) + + assert docstring.short_description == "Short description" + assert docstring.long_description == "Long description" + assert docstring.description == "Short description\nLong description" + assert len(docstring.params) == 2 + assert docstring.params[0].arg_name == "attr_one" + assert docstring.params[0].type_name == "str" + assert docstring.params[0].description == "Description for attr_one" + assert docstring.params[1].arg_name == "attr_two" + assert docstring.params[1].type_name == "bool" + assert docstring.params[1].description == "Description for attr_two" + + +def test_from_class_attribute_docstrings_without_type() -> None: + """Test the parse of untyped attribute docstrings.""" + + class WithoutType: # pylint: disable=missing-class-docstring + attr_one = "value" + """Description for attr_one""" + + docstring = parse_from_object(WithoutType) + + assert docstring.short_description is None + assert docstring.long_description is None + assert docstring.description is None + assert len(docstring.params) == 1 + assert docstring.params[0].arg_name == "attr_one" + assert docstring.params[0].type_name is None + assert docstring.params[0].description == "Description for attr_one" + + +def test_from_class_without_source() -> None: + """Test the parse of class when source is unavailable.""" + + class WithoutSource: + """Short description""" + + attr_one: str + """Description for attr_one""" + + with patch( + "inspect.getsource", side_effect=OSError("could not get source code") + ): + docstring = parse_from_object(WithoutSource) + + assert docstring.short_description == "Short description" + assert docstring.long_description is None + assert docstring.description == "Short description" + assert len(docstring.params) == 0 + + +def test_from_function() -> None: + """Test the parse of a function docstring.""" + + def a_function(param1: str, param2: int = 2): + """Short description + Args: + param1: Description for param1 + param2: Description for param2 + """ + return f"{param1} {param2}" + + docstring = parse_from_object(a_function) + + assert docstring.short_description == "Short description" + assert docstring.description == "Short description" + assert len(docstring.params) == 2 + assert docstring.params[0].arg_name == "param1" + assert docstring.params[0].type_name is None + assert docstring.params[0].description == "Description for param1" + assert docstring.params[1].arg_name == "param2" + assert docstring.params[1].type_name is None + assert docstring.params[1].description == "Description for param2" diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/docstring_parser/tests/test_parser.py b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/docstring_parser/tests/test_parser.py new file mode 100644 index 0000000000000000000000000000000000000000..73b8c9c602563385888d939a7986574ae21b1901 --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/docstring_parser/tests/test_parser.py @@ -0,0 +1,223 @@ +"""Tests for generic docstring routines.""" + +import pytest +from docstring_parser.common import DocstringStyle, ParseError +from docstring_parser.parser import parse + + +def test_rest() -> None: + """Test ReST-style parser autodetection.""" + docstring = parse( + """ + Short description + + Long description + + Causing people to indent: + + A lot sometimes + + :param spam: spam desc + :param int bla: bla desc + :param str yay: + :raises ValueError: exc desc + :returns tuple: ret desc + """ + ) + + assert docstring.style == DocstringStyle.REST + assert docstring.short_description == "Short description" + assert docstring.long_description == ( + "Long description\n\n" + "Causing people to indent:\n\n" + " A lot sometimes" + ) + assert docstring.description == ( + "Short description\n\n" + "Long description\n\n" + "Causing people to indent:\n\n" + " A lot sometimes" + ) + assert len(docstring.params) == 3 + assert docstring.params[0].arg_name == "spam" + assert docstring.params[0].type_name is None + assert docstring.params[0].description == "spam desc" + assert docstring.params[1].arg_name == "bla" + assert docstring.params[1].type_name == "int" + assert docstring.params[1].description == "bla desc" + assert docstring.params[2].arg_name == "yay" + assert docstring.params[2].type_name == "str" + assert docstring.params[2].description == "" + assert len(docstring.raises) == 1 + assert docstring.raises[0].type_name == "ValueError" + assert docstring.raises[0].description == "exc desc" + assert docstring.returns is not None + assert docstring.returns.type_name == "tuple" + assert docstring.returns.description == "ret desc" + assert docstring.many_returns is not None + assert len(docstring.many_returns) == 1 + assert docstring.many_returns[0] == docstring.returns + + +def test_google() -> None: + """Test Google-style parser autodetection.""" + docstring = parse( + """Short description + + Long description + + Causing people to indent: + + A lot sometimes + + Args: + spam: spam desc + bla (int): bla desc + yay (str): + + Raises: + ValueError: exc desc + + Returns: + tuple: ret desc + """ + ) + + assert docstring.style == DocstringStyle.GOOGLE + assert docstring.short_description == "Short description" + assert docstring.long_description == ( + "Long description\n\n" + "Causing people to indent:\n\n" + " A lot sometimes" + ) + assert docstring.description == ( + "Short description\n\n" + "Long description\n\n" + "Causing people to indent:\n\n" + " A lot sometimes" + ) + assert len(docstring.params) == 3 + assert docstring.params[0].arg_name == "spam" + assert docstring.params[0].type_name is None + assert docstring.params[0].description == "spam desc" + assert docstring.params[1].arg_name == "bla" + assert docstring.params[1].type_name == "int" + assert docstring.params[1].description == "bla desc" + assert docstring.params[2].arg_name == "yay" + assert docstring.params[2].type_name == "str" + assert docstring.params[2].description == "" + assert len(docstring.raises) == 1 + assert docstring.raises[0].type_name == "ValueError" + assert docstring.raises[0].description == "exc desc" + assert docstring.returns is not None + assert docstring.returns.type_name == "tuple" + assert docstring.returns.description == "ret desc" + assert docstring.many_returns is not None + assert len(docstring.many_returns) == 1 + assert docstring.many_returns[0] == docstring.returns + + +def test_numpydoc() -> None: + """Test numpydoc-style parser autodetection.""" + docstring = parse( + """Short description + + Long description + + Causing people to indent: + + A lot sometimes + + Parameters + ---------- + spam + spam desc + bla : int + bla desc + yay : str + + Raises + ------ + ValueError + exc desc + + Other Parameters + ---------------- + this_guy : int, optional + you know him + + Returns + ------- + tuple + ret desc + + See Also + -------- + multiple lines... + something else? + + Warnings + -------- + multiple lines... + none of this is real! + """ + ) + + assert docstring.style == DocstringStyle.NUMPYDOC + assert docstring.short_description == "Short description" + assert docstring.long_description == ( + "Long description\n\n" + "Causing people to indent:\n\n" + " A lot sometimes" + ) + assert docstring.description == ( + "Short description\n\n" + "Long description\n\n" + "Causing people to indent:\n\n" + " A lot sometimes" + ) + assert len(docstring.params) == 4 + assert docstring.params[0].arg_name == "spam" + assert docstring.params[0].type_name is None + assert docstring.params[0].description == "spam desc" + assert docstring.params[1].arg_name == "bla" + assert docstring.params[1].type_name == "int" + assert docstring.params[1].description == "bla desc" + assert docstring.params[2].arg_name == "yay" + assert docstring.params[2].type_name == "str" + assert docstring.params[2].description is None + assert docstring.params[3].arg_name == "this_guy" + assert docstring.params[3].type_name == "int" + assert docstring.params[3].is_optional + assert docstring.params[3].description == "you know him" + + assert len(docstring.raises) == 1 + assert docstring.raises[0].type_name == "ValueError" + assert docstring.raises[0].description == "exc desc" + assert docstring.returns is not None + assert docstring.returns.type_name == "tuple" + assert docstring.returns.description == "ret desc" + assert docstring.many_returns is not None + assert len(docstring.many_returns) == 1 + assert docstring.many_returns[0] == docstring.returns + + +def test_autodetection_error_detection() -> None: + """Test autodection for the case where one of the parsers throws an error + and another one succeeds. + """ + source = """ + Does something useless + + :param 3 + 3 a: a param + """ + + with pytest.raises(ParseError): + # assert that one of the parsers does raise + parse(source, DocstringStyle.REST) + + # assert that autodetection still works + docstring = parse(source) + + assert docstring + assert docstring.style == DocstringStyle.GOOGLE diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/docstring_parser/tests/test_rest.py b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/docstring_parser/tests/test_rest.py new file mode 100644 index 0000000000000000000000000000000000000000..411c27720962765fdad425f3347ad14fd60c8478 --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/docstring_parser/tests/test_rest.py @@ -0,0 +1,542 @@ +"""Tests for ReST-style docstring routines.""" + +import typing as T + +import pytest +from docstring_parser.common import ParseError, RenderingStyle +from docstring_parser.rest import compose, parse + + +@pytest.mark.parametrize( + "source, expected", + [ + ("", None), + ("\n", None), + ("Short description", "Short description"), + ("\nShort description\n", "Short description"), + ("\n Short description\n", "Short description"), + ], +) +def test_short_description(source: str, expected: str) -> None: + """Test parsing short description.""" + docstring = parse(source) + assert docstring.short_description == expected + assert docstring.description == expected + assert docstring.long_description is None + assert not docstring.meta + + +@pytest.mark.parametrize( + "source, expected_short_desc, expected_long_desc, expected_blank", + [ + ( + "Short description\n\nLong description", + "Short description", + "Long description", + True, + ), + ( + """ + Short description + + Long description + """, + "Short description", + "Long description", + True, + ), + ( + """ + Short description + + Long description + Second line + """, + "Short description", + "Long description\nSecond line", + True, + ), + ( + "Short description\nLong description", + "Short description", + "Long description", + False, + ), + ( + """ + Short description + Long description + """, + "Short description", + "Long description", + False, + ), + ( + "\nShort description\nLong description\n", + "Short description", + "Long description", + False, + ), + ( + """ + Short description + Long description + Second line + """, + "Short description", + "Long description\nSecond line", + False, + ), + ], +) +def test_long_description( + source: str, + expected_short_desc: str, + expected_long_desc: str, + expected_blank: bool, +) -> None: + """Test parsing long description.""" + docstring = parse(source) + assert docstring.short_description == expected_short_desc + assert docstring.long_description == expected_long_desc + assert docstring.blank_after_short_description == expected_blank + assert not docstring.meta + + +@pytest.mark.parametrize( + "source, expected_short_desc, expected_long_desc, " + "expected_blank_short_desc, expected_blank_long_desc, " + "expected_full_desc", + [ + ( + """ + Short description + :meta: asd + """, + "Short description", + None, + False, + False, + "Short description", + ), + ( + """ + Short description + Long description + :meta: asd + """, + "Short description", + "Long description", + False, + False, + "Short description\nLong description", + ), + ( + """ + Short description + First line + Second line + :meta: asd + """, + "Short description", + "First line\n Second line", + False, + False, + "Short description\nFirst line\n Second line", + ), + ( + """ + Short description + + First line + Second line + :meta: asd + """, + "Short description", + "First line\n Second line", + True, + False, + "Short description\n\nFirst line\n Second line", + ), + ( + """ + Short description + + First line + Second line + + :meta: asd + """, + "Short description", + "First line\n Second line", + True, + True, + "Short description\n\nFirst line\n Second line", + ), + ( + """ + :meta: asd + """, + None, + None, + False, + False, + None, + ), + ], +) +def test_meta_newlines( + source: str, + expected_short_desc: T.Optional[str], + expected_long_desc: T.Optional[str], + expected_blank_short_desc: bool, + expected_blank_long_desc: bool, + expected_full_desc: T.Optional[str], +) -> None: + """Test parsing newlines around description sections.""" + docstring = parse(source) + assert docstring.short_description == expected_short_desc + assert docstring.long_description == expected_long_desc + assert docstring.blank_after_short_description == expected_blank_short_desc + assert docstring.blank_after_long_description == expected_blank_long_desc + assert docstring.description == expected_full_desc + assert len(docstring.meta) == 1 + + +def test_meta_with_multiline_description() -> None: + """Test parsing multiline meta documentation.""" + docstring = parse( + """ + Short description + + :meta: asd + 1 + 2 + 3 + """ + ) + assert docstring.short_description == "Short description" + assert len(docstring.meta) == 1 + assert docstring.meta[0].args == ["meta"] + assert docstring.meta[0].description == "asd\n1\n 2\n3" + + +def test_multiple_meta() -> None: + """Test parsing multiple meta.""" + docstring = parse( + """ + Short description + + :meta1: asd + 1 + 2 + 3 + :meta2: herp + :meta3: derp + """ + ) + assert docstring.short_description == "Short description" + assert len(docstring.meta) == 3 + assert docstring.meta[0].args == ["meta1"] + assert docstring.meta[0].description == "asd\n1\n 2\n3" + assert docstring.meta[1].args == ["meta2"] + assert docstring.meta[1].description == "herp" + assert docstring.meta[2].args == ["meta3"] + assert docstring.meta[2].description == "derp" + + +def test_meta_with_args() -> None: + """Test parsing meta with additional arguments.""" + docstring = parse( + """ + Short description + + :meta ene due rabe: asd + """ + ) + assert docstring.short_description == "Short description" + assert len(docstring.meta) == 1 + assert docstring.meta[0].args == ["meta", "ene", "due", "rabe"] + assert docstring.meta[0].description == "asd" + + +def test_params() -> None: + """Test parsing params.""" + docstring = parse("Short description") + assert len(docstring.params) == 0 + + docstring = parse( + """ + Short description + + :param name: description 1 + :param int priority: description 2 + :param str? sender: description 3 + :param str? message: description 4, defaults to 'hello' + :param str? multiline: long description 5, + defaults to 'bye' + """ + ) + assert len(docstring.params) == 5 + assert docstring.params[0].arg_name == "name" + assert docstring.params[0].type_name is None + assert docstring.params[0].description == "description 1" + assert docstring.params[0].default is None + assert not docstring.params[0].is_optional + assert docstring.params[1].arg_name == "priority" + assert docstring.params[1].type_name == "int" + assert docstring.params[1].description == "description 2" + assert not docstring.params[1].is_optional + assert docstring.params[1].default is None + assert docstring.params[2].arg_name == "sender" + assert docstring.params[2].type_name == "str" + assert docstring.params[2].description == "description 3" + assert docstring.params[2].is_optional + assert docstring.params[2].default is None + assert docstring.params[3].arg_name == "message" + assert docstring.params[3].type_name == "str" + assert ( + docstring.params[3].description == "description 4, defaults to 'hello'" + ) + assert docstring.params[3].is_optional + assert docstring.params[3].default == "'hello'" + assert docstring.params[4].arg_name == "multiline" + assert docstring.params[4].type_name == "str" + assert ( + docstring.params[4].description + == "long description 5,\ndefaults to 'bye'" + ) + assert docstring.params[4].is_optional + assert docstring.params[4].default == "'bye'" + + docstring = parse( + """ + Short description + + :param a: description a + :type a: int + :param int b: description b + """ + ) + assert len(docstring.params) == 2 + assert docstring.params[0].arg_name == "a" + assert docstring.params[0].type_name == "int" + assert docstring.params[0].description == "description a" + assert docstring.params[0].default is None + assert not docstring.params[0].is_optional + + +def test_returns() -> None: + """Test parsing returns.""" + docstring = parse( + """ + Short description + """ + ) + assert docstring.returns is None + assert docstring.many_returns is not None + assert len(docstring.many_returns) == 0 + + docstring = parse( + """ + Short description + :returns: description + """ + ) + assert docstring.returns is not None + assert docstring.returns.type_name is None + assert docstring.returns.description == "description" + assert not docstring.returns.is_generator + assert docstring.many_returns == [docstring.returns] + + docstring = parse( + """ + Short description + :returns int: description + """ + ) + assert docstring.returns is not None + assert docstring.returns.type_name == "int" + assert docstring.returns.description == "description" + assert not docstring.returns.is_generator + assert docstring.many_returns == [docstring.returns] + + docstring = parse( + """ + Short description + :returns: description + :rtype: int + """ + ) + assert docstring.returns is not None + assert docstring.returns.type_name == "int" + assert docstring.returns.description == "description" + assert not docstring.returns.is_generator + assert docstring.many_returns == [docstring.returns] + + +def test_yields() -> None: + """Test parsing yields.""" + docstring = parse( + """ + Short description + """ + ) + assert docstring.returns is None + assert docstring.many_returns is not None + assert len(docstring.many_returns) == 0 + + docstring = parse( + """ + Short description + :yields: description + """ + ) + assert docstring.returns is not None + assert docstring.returns.type_name is None + assert docstring.returns.description == "description" + assert docstring.returns.is_generator + assert docstring.many_returns is not None + assert len(docstring.many_returns) == 1 + assert docstring.many_returns[0] == docstring.returns + + docstring = parse( + """ + Short description + :yields int: description + """ + ) + assert docstring.returns is not None + assert docstring.returns.type_name == "int" + assert docstring.returns.description == "description" + assert docstring.returns.is_generator + assert docstring.many_returns is not None + assert len(docstring.many_returns) == 1 + assert docstring.many_returns[0] == docstring.returns + + +def test_raises() -> None: + """Test parsing raises.""" + docstring = parse( + """ + Short description + """ + ) + assert len(docstring.raises) == 0 + + docstring = parse( + """ + Short description + :raises: description + """ + ) + assert len(docstring.raises) == 1 + assert docstring.raises[0].type_name is None + assert docstring.raises[0].description == "description" + + docstring = parse( + """ + Short description + :raises ValueError: description + """ + ) + assert len(docstring.raises) == 1 + assert docstring.raises[0].type_name == "ValueError" + assert docstring.raises[0].description == "description" + + +def test_broken_meta() -> None: + """Test parsing broken meta.""" + with pytest.raises(ParseError): + parse(":") + + with pytest.raises(ParseError): + parse(":param herp derp") + + with pytest.raises(ParseError): + parse(":param: invalid") + + with pytest.raises(ParseError): + parse(":param with too many args: desc") + + # these should not raise any errors + parse(":sthstrange: desc") + + +def test_deprecation() -> None: + """Test parsing deprecation notes.""" + docstring = parse(":deprecation: 1.1.0 this function will be removed") + assert docstring.deprecation is not None + assert docstring.deprecation.version == "1.1.0" + assert docstring.deprecation.description == "this function will be removed" + + docstring = parse(":deprecation: this function will be removed") + assert docstring.deprecation is not None + assert docstring.deprecation.version is None + assert docstring.deprecation.description == "this function will be removed" + + +@pytest.mark.parametrize( + "rendering_style, expected", + [ + ( + RenderingStyle.COMPACT, + "Short description.\n" + "\n" + "Long description.\n" + "\n" + ":param int foo: a description\n" + ":param int bar: another description\n" + ":returns float: a return", + ), + ( + RenderingStyle.CLEAN, + "Short description.\n" + "\n" + "Long description.\n" + "\n" + ":param int foo: a description\n" + ":param int bar: another description\n" + ":returns float: a return", + ), + ( + RenderingStyle.EXPANDED, + "Short description.\n" + "\n" + "Long description.\n" + "\n" + ":param foo:\n" + " a description\n" + ":type foo: int\n" + ":param bar:\n" + " another description\n" + ":type bar: int\n" + ":returns:\n" + " a return\n" + ":rtype: float", + ), + ], +) +def test_compose(rendering_style: RenderingStyle, expected: str) -> None: + """Test compose""" + + docstring = parse( + """ + Short description. + + Long description. + + :param int foo: a description + :param int bar: another description + :return float: a return + """ + ) + assert compose(docstring, rendering_style=rendering_style) == expected + + +def test_short_rtype() -> None: + """Test abbreviated docstring with only return type information.""" + string = "Short description.\n\n:rtype: float" + docstring = parse(string) + rendering_style = RenderingStyle.EXPANDED + assert compose(docstring, rendering_style=rendering_style) == string diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/docstring_parser/tests/test_util.py b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/docstring_parser/tests/test_util.py new file mode 100644 index 0000000000000000000000000000000000000000..00bc2f985f35805c3bf10766bb4f80ff0d0a3ee5 --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/docstring_parser/tests/test_util.py @@ -0,0 +1,64 @@ +"""Test for utility functions.""" + +from docstring_parser.common import DocstringReturns +from docstring_parser.util import combine_docstrings + + +def test_combine_docstrings() -> None: + """Test combine_docstrings wrapper.""" + + def fun1(arg_a, arg_b, arg_c, arg_d): + """short_description: fun1 + + :param arg_a: fun1 + :param arg_b: fun1 + :return: fun1 + """ + assert arg_a and arg_b and arg_c and arg_d + + def fun2(arg_b, arg_c, arg_d, arg_e): + """short_description: fun2 + + long_description: fun2 + + :param arg_b: fun2 + :param arg_c: fun2 + :param arg_e: fun2 + """ + assert arg_b and arg_c and arg_d and arg_e + + @combine_docstrings(fun1, fun2) + def decorated1(arg_a, arg_b, arg_c, arg_d, arg_e, arg_f): + """ + :param arg_e: decorated + :param arg_f: decorated + """ + assert arg_a and arg_b and arg_c and arg_d and arg_e and arg_f + + assert decorated1.__doc__ == ( + "short_description: fun2\n" + "\n" + "long_description: fun2\n" + "\n" + ":param arg_a: fun1\n" + ":param arg_b: fun1\n" + ":param arg_c: fun2\n" + ":param arg_e: fun2\n" + ":param arg_f: decorated\n" + ":returns: fun1" + ) + + @combine_docstrings(fun1, fun2, exclude=[DocstringReturns]) + def decorated2(arg_a, arg_b, arg_c, arg_d, arg_e, arg_f): + assert arg_a and arg_b and arg_c and arg_d and arg_e and arg_f + + assert decorated2.__doc__ == ( + "short_description: fun2\n" + "\n" + "long_description: fun2\n" + "\n" + ":param arg_a: fun1\n" + ":param arg_b: fun1\n" + ":param arg_c: fun2\n" + ":param arg_e: fun2" + ) diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/__pycache__/__init__.cpython-311.pyc b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/__pycache__/__init__.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..fcb929bb32d4fdcd4bc0ec9d8020c345509e1ad3 Binary files /dev/null and b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/__pycache__/__init__.cpython-311.pyc differ diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/__pycache__/__main__.cpython-311.pyc b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/__pycache__/__main__.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..9b708cde0717edc4a343afeb68396c863284d0f8 Binary files /dev/null and b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/__pycache__/__main__.cpython-311.pyc differ diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/__pycache__/_options.cpython-311.pyc b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/__pycache__/_options.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..f2ae170706f89764afdaad9c04114fd43c294609 Binary files /dev/null and b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/__pycache__/_options.cpython-311.pyc differ diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/__pycache__/appsettings.cpython-311.pyc b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/__pycache__/appsettings.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..dc6d4e8e693a3be45ce8b807b2423e3420b98443 Binary files /dev/null and b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/__pycache__/appsettings.cpython-311.pyc differ diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/__pycache__/audit.cpython-311.pyc b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/__pycache__/audit.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..fab997b18266cfa57525b743231fd4ba43b9f99f Binary files /dev/null and b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/__pycache__/audit.cpython-311.pyc differ diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/__pycache__/bbox.cpython-311.pyc b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/__pycache__/bbox.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..c93db0fd0e557866f83df87368119597950d4e46 Binary files /dev/null and b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/__pycache__/bbox.cpython-311.pyc differ diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/__pycache__/blkrefs.cpython-311.pyc b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/__pycache__/blkrefs.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..70fb75354fd14e90ce8c49f52b76901432d6e9a1 Binary files /dev/null and b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/__pycache__/blkrefs.cpython-311.pyc differ diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/__pycache__/colors.cpython-311.pyc b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/__pycache__/colors.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..d22d8fc2e6d45271ce7a025f34185c902c9949aa Binary files /dev/null and b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/__pycache__/colors.cpython-311.pyc differ diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/__pycache__/commands.cpython-311.pyc b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/__pycache__/commands.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..2b554c48001c485828a45c7c7b280ba14079ac07 Binary files /dev/null and b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/__pycache__/commands.cpython-311.pyc differ diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/__pycache__/comments.cpython-311.pyc b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/__pycache__/comments.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..c8cd7feb0ba0419c4d2be26ad36e5b5c630932b7 Binary files /dev/null and b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/__pycache__/comments.cpython-311.pyc differ diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/__pycache__/disassemble.cpython-311.pyc b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/__pycache__/disassemble.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..57f717f9339bf54d58c20b3c6a5e0b3d8d4cd626 Binary files /dev/null and b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/__pycache__/disassemble.cpython-311.pyc differ diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/__pycache__/document.cpython-311.pyc b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/__pycache__/document.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..6c7f98ff6db3545cb60565eda58d64a945c623f6 Binary files /dev/null and b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/__pycache__/document.cpython-311.pyc differ diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/__pycache__/dwginfo.cpython-311.pyc b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/__pycache__/dwginfo.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..b881539eb5c641d6b4b96a4d9d3b792c47a490b8 Binary files /dev/null and b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/__pycache__/dwginfo.cpython-311.pyc differ diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/__pycache__/dynblkhelper.cpython-311.pyc b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/__pycache__/dynblkhelper.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..01f33e419f973205425fce292c6b47b3d488f91f Binary files /dev/null and b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/__pycache__/dynblkhelper.cpython-311.pyc differ diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/__pycache__/edgeminer.cpython-311.pyc b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/__pycache__/edgeminer.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..5e4793a326cba9042c1381efb6e20dd712490dd6 Binary files /dev/null and b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/__pycache__/edgeminer.cpython-311.pyc differ diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/__pycache__/edgesmith.cpython-311.pyc b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/__pycache__/edgesmith.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..9548fc1380c68ee4e2503a39ff6e4dfd3db30557 Binary files /dev/null and b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/__pycache__/edgesmith.cpython-311.pyc differ diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/__pycache__/entitydb.cpython-311.pyc b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/__pycache__/entitydb.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..abac3d2ae641f074aec589c5ed800dc4ae6a8f15 Binary files /dev/null and b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/__pycache__/entitydb.cpython-311.pyc differ diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/__pycache__/enums.cpython-311.pyc b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/__pycache__/enums.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..e0af8610ba0e3c30bdd936ac6808aa355491e4b6 Binary files /dev/null and b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/__pycache__/enums.cpython-311.pyc differ diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/__pycache__/explode.cpython-311.pyc b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/__pycache__/explode.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..afb1f1a857cadda2130dab4780a6473ac3c938db Binary files /dev/null and b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/__pycache__/explode.cpython-311.pyc differ diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/__pycache__/eztypes.cpython-311.pyc b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/__pycache__/eztypes.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..8ea52cb6f5ecddd3a5cf8c7eae96929907365fd3 Binary files /dev/null and b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/__pycache__/eztypes.cpython-311.pyc differ diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/__pycache__/filemanagement.cpython-311.pyc b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/__pycache__/filemanagement.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..700882495a95e54e5eb4dddc5a8d2990df141400 Binary files /dev/null and b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/__pycache__/filemanagement.cpython-311.pyc differ diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/__pycache__/gfxattribs.cpython-311.pyc b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/__pycache__/gfxattribs.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..06237baeeae846f1cf9f6deab61223f489b962ce Binary files /dev/null and b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/__pycache__/gfxattribs.cpython-311.pyc differ diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/__pycache__/groupby.cpython-311.pyc b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/__pycache__/groupby.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..2be409efaf4f8d8dff6aa0f3e766166bcf4ec121 Binary files /dev/null and b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/__pycache__/groupby.cpython-311.pyc differ diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/__pycache__/messenger.cpython-311.pyc b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/__pycache__/messenger.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..0c7e35d46ebe52ed57682079dccd7cb2c84abd59 Binary files /dev/null and b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/__pycache__/messenger.cpython-311.pyc differ diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/__pycache__/msgtypes.cpython-311.pyc b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/__pycache__/msgtypes.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..9854a9c9f885cef5d920325832c7f6b7d5a8fae7 Binary files /dev/null and b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/__pycache__/msgtypes.cpython-311.pyc differ diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/__pycache__/npshapes.cpython-311.pyc b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/__pycache__/npshapes.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..ae7b76d94c202a9161bd8eefb27ff127afdaef1e Binary files /dev/null and b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/__pycache__/npshapes.cpython-311.pyc differ diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/__pycache__/protocols.cpython-311.pyc b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/__pycache__/protocols.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..a1c7c7e7b14ab4fb07391c1f19960006e0406b2b Binary files /dev/null and b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/__pycache__/protocols.cpython-311.pyc differ diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/__pycache__/proxygraphic.cpython-311.pyc b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/__pycache__/proxygraphic.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..3008c6e414a772e30df4fabb50d170753ab5d669 Binary files /dev/null and b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/__pycache__/proxygraphic.cpython-311.pyc differ diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/__pycache__/query.cpython-311.pyc b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/__pycache__/query.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..5672d97aa67a9f0776e29c9cc634a22ff2fef8e7 Binary files /dev/null and b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/__pycache__/query.cpython-311.pyc differ diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/__pycache__/queryparser.cpython-311.pyc b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/__pycache__/queryparser.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..4a0c4b0838457c3b4c2f62ab99c6b69f308a9ab3 Binary files /dev/null and b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/__pycache__/queryparser.cpython-311.pyc differ diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/__pycache__/r12strict.cpython-311.pyc b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/__pycache__/r12strict.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..cd338cb9bac6a0778cb09529710e2bcac4206e48 Binary files /dev/null and b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/__pycache__/r12strict.cpython-311.pyc differ diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/__pycache__/recover.cpython-311.pyc b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/__pycache__/recover.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..46206f623eb71e0f60ebb9822687d8649373cd58 Binary files /dev/null and b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/__pycache__/recover.cpython-311.pyc differ diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/__pycache__/reorder.cpython-311.pyc b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/__pycache__/reorder.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..4a38046794ed2433f72252e192134c2c71bef162 Binary files /dev/null and b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/__pycache__/reorder.cpython-311.pyc differ diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/__pycache__/revcloud.cpython-311.pyc b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/__pycache__/revcloud.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..f536898502dc0baf7ace73e66c5052fdc78d436c Binary files /dev/null and b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/__pycache__/revcloud.cpython-311.pyc differ diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/__pycache__/select.cpython-311.pyc b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/__pycache__/select.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..1c85833bc667781bde2037de4fc391e2563eea42 Binary files /dev/null and b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/__pycache__/select.cpython-311.pyc differ diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/__pycache__/transform.cpython-311.pyc b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/__pycache__/transform.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..cf102ca66a853cd81892f559b971f0bb75842f47 Binary files /dev/null and b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/__pycache__/transform.cpython-311.pyc differ diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/__pycache__/units.cpython-311.pyc b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/__pycache__/units.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..66a502f70e651a66e99f26baba149d22f439cc3e Binary files /dev/null and b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/__pycache__/units.cpython-311.pyc differ diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/__pycache__/upright.cpython-311.pyc b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/__pycache__/upright.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..32542d9e584ac1a6a2a7c627f6321d7e76b711d0 Binary files /dev/null and b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/__pycache__/upright.cpython-311.pyc differ diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/__pycache__/urecord.cpython-311.pyc b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/__pycache__/urecord.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..2f913df525c6e003f690be557e04969a1eb27fab Binary files /dev/null and b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/__pycache__/urecord.cpython-311.pyc differ diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/__pycache__/version.cpython-311.pyc b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/__pycache__/version.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..c893fd8daaf13383ce2a3e26edd1103669f22a62 Binary files /dev/null and b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/__pycache__/version.cpython-311.pyc differ diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/__pycache__/xclip.cpython-311.pyc b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/__pycache__/xclip.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..a8bf52530f4c4970b6a36da5a73a25f8acff05b3 Binary files /dev/null and b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/__pycache__/xclip.cpython-311.pyc differ diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/__pycache__/xref.cpython-311.pyc b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/__pycache__/xref.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..92452a43b1f9644addad9a7cdbc8da40c783df9d Binary files /dev/null and b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/__pycache__/xref.cpython-311.pyc differ diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/__pycache__/zoom.cpython-311.pyc b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/__pycache__/zoom.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..5e0fc0e30fae897cca5f89ae5ae0980b823ff1f7 Binary files /dev/null and b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/__pycache__/zoom.cpython-311.pyc differ diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/acis/__init__.py b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/acis/__init__.py new file mode 100644 index 0000000000000000000000000000000000000000..6f356cf441148470e369cae696a710704cf1f096 --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/acis/__init__.py @@ -0,0 +1,3 @@ +# Copyright (c) 2022-2024, Manfred Moitzi +# License: MIT License +# Users should always import from ezdxf.acis.api! diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/acis/abstract.py b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/acis/abstract.py new file mode 100644 index 0000000000000000000000000000000000000000..f825c160063204ffa98e6c81f1308d4340f738a6 --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/acis/abstract.py @@ -0,0 +1,224 @@ +# Copyright (c) 2022-2024, Manfred Moitzi +# License: MIT License +from __future__ import annotations +from typing import TypeVar, Generic, TYPE_CHECKING, Optional +from abc import ABC, abstractmethod +from .const import NULL_PTR_NAME, MIN_EXPORT_VERSION +from .hdr import AcisHeader + +if TYPE_CHECKING: + from .entities import AcisEntity + from ezdxf.math import Vec3 + + +T = TypeVar("T", bound="AbstractEntity") + + +class AbstractEntity(ABC): + """Unified query interface for SAT and SAB data.""" + + name: str + id: int = -1 + + def __str__(self): + return f"{self.name}" + + @property + def is_null_ptr(self) -> bool: + """Returns ``True`` if this entity is the ``NULL_PTR`` entity.""" + return self.name == NULL_PTR_NAME + + +class DataLoader(ABC): + """Data loading interface to create high level AcisEntity data from low + level AbstractEntity representation. + + """ + + version: int = MIN_EXPORT_VERSION + + @abstractmethod + def has_data(self) -> bool: + pass + + @abstractmethod + def read_int(self, skip_sat: Optional[int] = None) -> int: + """There are sometimes additional int values in SAB files which are + not present in SAT files, maybe reference counters e.g. vertex, coedge. + """ + pass + + @abstractmethod + def read_double(self) -> float: + pass + + @abstractmethod + def read_interval(self) -> float: + pass + + @abstractmethod + def read_vec3(self) -> tuple[float, float, float]: + pass + + @abstractmethod + def read_bool(self, true: str, false: str) -> bool: + pass + + @abstractmethod + def read_str(self) -> str: + pass + + @abstractmethod + def read_ptr(self) -> AbstractEntity: + pass + + @abstractmethod + def read_transform(self) -> list[float]: + pass + + +class DataExporter(ABC): + version: int = MIN_EXPORT_VERSION + + @abstractmethod + def write_int(self, value: int, skip_sat=False) -> None: + """There are sometimes additional int values in SAB files which are + not present in SAT files, maybe reference counters e.g. vertex, coedge. + """ + pass + + @abstractmethod + def write_double(self, value: float) -> None: + pass + + @abstractmethod + def write_interval(self, value: float) -> None: + pass + + @abstractmethod + def write_loc_vec3(self, value: Vec3) -> None: + pass + + @abstractmethod + def write_dir_vec3(self, value: Vec3) -> None: + pass + + @abstractmethod + def write_bool(self, value: bool, true: str, false: str) -> None: + pass + + @abstractmethod + def write_str(self, value: str) -> None: + pass + + @abstractmethod + def write_literal_str(self, value: str) -> None: + pass + + @abstractmethod + def write_ptr(self, entity: AcisEntity) -> None: + pass + + @abstractmethod + def write_transform(self, data: list[str]) -> None: + pass + + +class AbstractBuilder(Generic[T]): + header: AcisHeader + bodies: list[T] + entities: list[T] + + def reorder_records(self) -> None: + if len(self.entities) == 0: + return + header: list[T] = [] + entities: list[T] = [] + for e in self.entities: + if e.name == "body": + header.append(e) + elif e.name == "asmheader": + header.insert(0, e) # has to be the first record + else: + entities.append(e) + self.entities = header + entities + + def reset_ids(self, start: int = 0) -> None: + for num, entity in enumerate(self.entities, start=start): + entity.id = num + + def clear_ids(self) -> None: + for entity in self.entities: + entity.id = -1 + + +class EntityExporter(Generic[T]): + def __init__(self, header: AcisHeader): + self.header = header + self.version = header.version + self._exported_entities: dict[int, T] = {} + if self.header.has_asm_header: + self.export(self.header.asm_header()) + + def export_records(self) -> list[T]: + return list(self._exported_entities.values()) + + @abstractmethod + def make_record(self, entity: AcisEntity) -> T: + pass + + @abstractmethod + def make_data_exporter(self, record: T) -> DataExporter: + pass + + def get_record(self, entity: AcisEntity) -> T: + assert not entity.is_none + return self._exported_entities[id(entity)] + + def export(self, entity: AcisEntity): + if entity.is_none: + raise TypeError("invalid NONE_REF entity given") + self._make_all_records(entity) + self._export_data(entity) + + def _has_record(self, entity: AcisEntity) -> bool: + return id(entity) in self._exported_entities + + def _add_record(self, entity: AcisEntity, record: T) -> None: + assert not entity.is_none + self._exported_entities[id(entity)] = record + + def _make_all_records(self, entity: AcisEntity): + def add(e: AcisEntity) -> bool: + if not e.is_none and not self._has_record(e): + self._add_record(e, self.make_record(e)) + return True + return False + + entities = [entity] + while entities: + next_entity = entities.pop(0) + add(next_entity) + for sub_entity in next_entity.entities(): + if add(sub_entity): + entities.append(sub_entity) + + def _export_data(self, entity: AcisEntity): + def _export_record(e: AcisEntity): + if id(e) not in done: + done.add(id(e)) + record = self.get_record(e) + if not e.attributes.is_none: + record.attributes = self.get_record(e.attributes) # type: ignore + e.export(self.make_data_exporter(record)) + return True + return False + + entities = [entity] + done: set[int] = set() + while entities: + next_entity = entities.pop(0) + _export_record(next_entity) + for sub_entity in next_entity.entities(): + if _export_record(sub_entity): + entities.append(sub_entity) diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/acis/entities.py b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/acis/entities.py new file mode 100644 index 0000000000000000000000000000000000000000..aebdfe1c5b1af40531e8528884de3dc345def1f3 --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/acis/entities.py @@ -0,0 +1,802 @@ +# Copyright (c) 2022-2024, Manfred Moitzi +# License: MIT License +from __future__ import annotations +from typing import Callable, Type, Any, Sequence, Iterator +import abc + +from . import sab, sat, const, hdr +from .const import Features +from .abstract import DataLoader, AbstractEntity, DataExporter +from .type_hints import EncodedData +from ezdxf.math import Matrix44, Vec3, NULLVEC + +Factory = Callable[[AbstractEntity], "AcisEntity"] + +ENTITY_TYPES: dict[str, Type[AcisEntity]] = {} +INF = float("inf") + + +def load(data: EncodedData) -> list[Body]: + """Returns a list of :class:`Body` entities from :term:`SAT` or :term:`SAB` + data. Accepts :term:`SAT` data as a single string or a sequence of strings + and :term:`SAB` data as bytes or bytearray. + + """ + if isinstance(data, (bytes, bytearray)): + return SabLoader.load(data) + return SatLoader.load(data) + + +def export_sat( + bodies: Sequence[Body], version: int = const.DEFAULT_SAT_VERSION +) -> list[str]: + """Export one or more :class:`Body` entities as text based :term:`SAT` data. + + ACIS version 700 is sufficient for DXF versions R2000, R2004, R2007 and + R2010, later DXF versions require :term:`SAB` data. + + Raises: + ExportError: ACIS structures contain unsupported entities + InvalidLinkStructure: corrupt link structure + + """ + if version < const.MIN_EXPORT_VERSION: + raise const.ExportError(f"invalid ACIS version: {version}") + exporter = sat.SatExporter(_setup_export_header(version)) + exporter.header.asm_end_marker = False + for body in bodies: + exporter.export(body) + return exporter.dump_sat() + + +def export_sab( + bodies: Sequence[Body], version: int = const.DEFAULT_SAB_VERSION +) -> bytes: + """Export one or more :class:`Body` entities as binary encoded :term:`SAB` + data. + + ACIS version 21800 is sufficient for DXF versions R2013 and R2018, earlier + DXF versions require :term:`SAT` data. + + Raises: + ExportError: ACIS structures contain unsupported entities + InvalidLinkStructure: corrupt link structure + + """ + if version < const.MIN_EXPORT_VERSION: + raise const.ExportError(f"invalid ACIS version: {version}") + exporter = sab.SabExporter(_setup_export_header(version)) + exporter.header.asm_end_marker = True + for body in bodies: + exporter.export(body) + return exporter.dump_sab() + + +def _setup_export_header(version) -> hdr.AcisHeader: + if not const.is_valid_export_version(version): + raise const.ExportError(f"invalid export version: {version}") + header = hdr.AcisHeader() + header.set_version(version) + return header + + +def register(cls): + ENTITY_TYPES[cls.type] = cls + return cls + + +class NoneEntity: + type: str = const.NONE_ENTITY_NAME + + @property + def is_none(self) -> bool: + return self.type == const.NONE_ENTITY_NAME + + +NONE_REF: Any = NoneEntity() + + +class AcisEntity(NoneEntity): + """Base ACIS entity which also represents unsupported entities. + + Unsupported entities are entities whose internal structure are not fully + known or user defined entity types. + + The content of these unsupported entities is not loaded and lost by + exporting such entities, therefore exporting unsupported entities raises + an :class:`ExportError` exception. + + """ + + type: str = "unsupported-entity" + id: int = -1 + attributes: AcisEntity = NONE_REF + + def __str__(self) -> str: + return f"{self.type}({self.id})" + + def load(self, loader: DataLoader, entity_factory: Factory) -> None: + """Load the ACIS entity content from `loader`.""" + self.restore_common(loader, entity_factory) + self.restore_data(loader) + + def restore_common(self, loader: DataLoader, entity_factory: Factory) -> None: + """Load the common part of an ACIS entity.""" + pass + + def restore_data(self, loader: DataLoader) -> None: + """Load the data part of an ACIS entity.""" + pass + + def export(self, exporter: DataExporter) -> None: + """Write the ACIS entity content to `exporter`.""" + self.write_common(exporter) + self.write_data(exporter) + + def write_common(self, exporter: DataExporter) -> None: + """Write the common part of the ACIS entity. + + It is not possible to export :class:`Body` entities including + unsupported entities, doing so would cause data loss or worse data + corruption! + + """ + raise const.ExportError(f"unsupported entity type: {self.type}") + + def write_data(self, exporter: DataExporter) -> None: + """Write the data part of the ACIS entity.""" + pass + + def entities(self) -> Iterator[AcisEntity]: + """Yield all attributes of this entity of type AcisEntity.""" + for e in vars(self).values(): + if isinstance(e, AcisEntity): + yield e + + +def restore_entity( + expected_type: str, loader: DataLoader, entity_factory: Factory +) -> Any: + raw_entity = loader.read_ptr() + if raw_entity.is_null_ptr: + return NONE_REF + if raw_entity.name.endswith(expected_type): + return entity_factory(raw_entity) + else: + raise const.ParsingError( + f"expected entity type '{expected_type}', got '{raw_entity.name}'" + ) + + +@register +class Transform(AcisEntity): + type: str = "transform" + matrix = Matrix44() + + def restore_data(self, loader: DataLoader) -> None: + data = loader.read_transform() + # insert values of the 4th matrix column (0, 0, 0, 1) + data.insert(3, 0.0) + data.insert(7, 0.0) + data.insert(11, 0.0) + data.append(1.0) + self.matrix = Matrix44(data) + + def write_common(self, exporter: DataExporter) -> None: + def write_double(value: float): + data.append(f"{value:g}") + + data: list[str] = [] + for row in self.matrix.rows(): + write_double(row[0]) + write_double(row[1]) + write_double(row[2]) + test_vector = Vec3(1, 0, 0) + result = self.matrix.transform_direction(test_vector) + # A uniform scaling in x- y- and z-axis is assumed: + write_double(round(result.magnitude, 6)) # scale factor + is_rotated = not result.normalize().isclose(test_vector) + data.append("rotate" if is_rotated else "no_rotate") + data.append("no_reflect") + data.append("no_shear") + exporter.write_transform(data) + + +@register +class AsmHeader(AcisEntity): + type: str = "asmheader" + + def __init__(self, version: str = ""): + self.version = version + + def restore_common(self, loader: DataLoader, entity_factory: Factory) -> None: + self.version = loader.read_str() + + def write_common(self, exporter: DataExporter) -> None: + exporter.write_str(self.version) + + +class SupportsPattern(AcisEntity): + pattern: Pattern = NONE_REF + + def restore_common(self, loader: DataLoader, entity_factory: Factory) -> None: + if loader.version >= Features.PATTERN: + self.pattern = restore_entity("pattern", loader, entity_factory) + + def write_common(self, exporter: DataExporter) -> None: + exporter.write_ptr(self.pattern) + + +@register +class Body(SupportsPattern): + type: str = "body" + pattern: Pattern = NONE_REF + lump: Lump = NONE_REF + wire: Wire = NONE_REF + transform: Transform = NONE_REF + + def restore_common(self, loader: DataLoader, entity_factory: Factory) -> None: + super().restore_common(loader, entity_factory) + self.lump = restore_entity("lump", loader, entity_factory) + self.wire = restore_entity("wire", loader, entity_factory) + self.transform = restore_entity("transform", loader, entity_factory) + + def write_common(self, exporter: DataExporter) -> None: + super().write_common(exporter) + exporter.write_ptr(self.lump) + exporter.write_ptr(self.wire) + exporter.write_ptr(self.transform) + + def append_lump(self, lump: Lump) -> None: + """Append a :class:`Lump` entity as last lump.""" + lump.body = self + if self.lump.is_none: + self.lump = lump + else: + current_lump = self.lump + while not current_lump.next_lump.is_none: + current_lump = current_lump.next_lump + current_lump.next_lump = lump + + def lumps(self) -> list[Lump]: + """Returns all linked :class:`Lump` entities as a list.""" + lumps = [] + current_lump = self.lump + while not current_lump.is_none: + lumps.append(current_lump) + current_lump = current_lump.next_lump + return lumps + + +@register +class Wire(SupportsPattern): # not implemented + type: str = "wire" + + +@register +class Pattern(AcisEntity): # not implemented + type: str = "pattern" + + +@register +class Lump(SupportsPattern): + type: str = "lump" + next_lump: Lump = NONE_REF + shell: Shell = NONE_REF + body: Body = NONE_REF + + def restore_common(self, loader: DataLoader, entity_factory: Factory) -> None: + super().restore_common(loader, entity_factory) + self.next_lump = restore_entity("lump", loader, entity_factory) + self.shell = restore_entity("shell", loader, entity_factory) + self.body = restore_entity("body", loader, entity_factory) + + def write_common(self, exporter: DataExporter) -> None: + super().write_common(exporter) + exporter.write_ptr(self.next_lump) + exporter.write_ptr(self.shell) + exporter.write_ptr(self.body) + + def append_shell(self, shell: Shell) -> None: + """Append a :class:`Shell` entity as last shell.""" + shell.lump = self + if self.shell.is_none: + self.shell = shell + else: + current_shell = self.shell + while not current_shell.next_shell.is_none: + current_shell = current_shell.next_shell + current_shell.next_shell = shell + + def shells(self) -> list[Shell]: + """Returns all linked :class:`Shell` entities as a list.""" + shells = [] + current_shell = self.shell + while not current_shell.is_none: + shells.append(current_shell) + current_shell = current_shell.next_shell + return shells + + +@register +class Shell(SupportsPattern): + type: str = "shell" + next_shell: Shell = NONE_REF + subshell: Subshell = NONE_REF + face: Face = NONE_REF + wire: Wire = NONE_REF + lump: Lump = NONE_REF + + def restore_common(self, loader: DataLoader, entity_factory: Factory) -> None: + super().restore_common(loader, entity_factory) + self.next_shell = restore_entity("next_shell", loader, entity_factory) + self.subshell = restore_entity("subshell", loader, entity_factory) + self.face = restore_entity("face", loader, entity_factory) + self.wire = restore_entity("wire", loader, entity_factory) + self.lump = restore_entity("lump", loader, entity_factory) + + def write_common(self, exporter: DataExporter) -> None: + super().write_common(exporter) + exporter.write_ptr(self.next_shell) + exporter.write_ptr(self.subshell) + exporter.write_ptr(self.face) + exporter.write_ptr(self.wire) + exporter.write_ptr(self.lump) + + def append_face(self, face: Face) -> None: + """Append a :class:`Face` entity as last face.""" + face.shell = self + if self.face.is_none: + self.face = face + else: + current_face = self.face + while not current_face.next_face.is_none: + current_face = current_face.next_face + current_face.next_face = face + + def faces(self) -> list[Face]: + """Returns all linked :class:`Face` entities as a list.""" + faces = [] + current_face = self.face + while not current_face.is_none: + faces.append(current_face) + current_face = current_face.next_face + return faces + + +@register +class Subshell(SupportsPattern): # not implemented + type: str = "subshell" + + +@register +class Face(SupportsPattern): + type: str = "face" + next_face: "Face" = NONE_REF + loop: Loop = NONE_REF + shell: Shell = NONE_REF + subshell: Subshell = NONE_REF + surface: Surface = NONE_REF + # sense: face normal with respect to the surface + sense = False # True = reversed; False = forward + double_sided = False # True = double (hollow body); False = single (solid body) + containment = False # if double_sided: True = in, False = out + + def restore_common(self, loader: DataLoader, entity_factory: Factory) -> None: + super().restore_common(loader, entity_factory) + self.next_face = restore_entity("face", loader, entity_factory) + self.loop = restore_entity("loop", loader, entity_factory) + self.shell = restore_entity("shell", loader, entity_factory) + self.subshell = restore_entity("subshell", loader, entity_factory) + self.surface = restore_entity("surface", loader, entity_factory) + self.sense = loader.read_bool("reversed", "forward") + self.double_sided = loader.read_bool("double", "single") + if self.double_sided: + self.containment = loader.read_bool("in", "out") + + def write_common(self, exporter: DataExporter) -> None: + super().write_common(exporter) + exporter.write_ptr(self.next_face) + exporter.write_ptr(self.loop) + exporter.write_ptr(self.shell) + exporter.write_ptr(self.subshell) + exporter.write_ptr(self.surface) + exporter.write_bool(self.sense, "reversed", "forward") + exporter.write_bool(self.double_sided, "double", "single") + if self.double_sided: + exporter.write_bool(self.containment, "in", "out") + + def append_loop(self, loop: Loop) -> None: + """Append a :class:`Loop` entity as last loop.""" + loop.face = self + if self.loop.is_none: + self.loop = loop + else: # order of coedges is important! (right-hand rule) + current_loop = self.loop + while not current_loop.next_loop.is_none: + current_loop = current_loop.next_loop + current_loop.next_loop = loop + + def loops(self) -> list[Loop]: + """Returns all linked :class:`Loop` entities as a list.""" + loops = [] + current_loop = self.loop + while not current_loop.is_none: + loops.append(current_loop) + current_loop = current_loop.next_loop + return loops + + +@register +class Surface(SupportsPattern): + type: str = "surface" + u_bounds = INF, INF + v_bounds = INF, INF + + def restore_data(self, loader: DataLoader) -> None: + self.u_bounds = loader.read_interval(), loader.read_interval() + self.v_bounds = loader.read_interval(), loader.read_interval() + + def write_data(self, exporter: DataExporter): + exporter.write_interval(self.u_bounds[0]) + exporter.write_interval(self.u_bounds[1]) + exporter.write_interval(self.v_bounds[0]) + exporter.write_interval(self.v_bounds[1]) + + @abc.abstractmethod + def evaluate(self, u: float, v: float) -> Vec3: + """Returns the spatial location at the parametric surface for the given + parameters `u` and `v`. + + """ + pass + + +@register +class Plane(Surface): + type: str = "plane-surface" + origin = Vec3(0, 0, 0) + normal = Vec3(0, 0, 1) # pointing outside + u_dir = Vec3(1, 0, 0) # unit vector! + v_dir = Vec3(0, 1, 0) # unit vector! + # reverse_v: + # True: "reverse_v" - the normal vector does not follow the right-hand rule + # False: "forward_v" - the normal vector follows right-hand rule + reverse_v = False + + def restore_common(self, loader: DataLoader, entity_factory: Factory) -> None: + super().restore_common(loader, entity_factory) + self.origin = Vec3(loader.read_vec3()) + self.normal = Vec3(loader.read_vec3()) + self.u_dir = Vec3(loader.read_vec3()) + self.reverse_v = loader.read_bool("reverse_v", "forward_v") + self.update_v_dir() + + def write_common(self, exporter: DataExporter) -> None: + super().write_common(exporter) + exporter.write_loc_vec3(self.origin) + exporter.write_dir_vec3(self.normal) + exporter.write_dir_vec3(self.u_dir) + exporter.write_bool(self.reverse_v, "reverse_v", "forward_v") + # v_dir is not exported + + def update_v_dir(self): + v_dir = self.normal.cross(self.u_dir) + if self.reverse_v: + v_dir = -v_dir + self.v_dir = v_dir + + def evaluate(self, u: float, v: float) -> Vec3: + return self.origin + (self.u_dir * u) + (self.v_dir * v) + + +@register +class Loop(SupportsPattern): + type: str = "loop" + next_loop: Loop = NONE_REF + coedge: Coedge = NONE_REF + face: Face = NONE_REF # parent/owner + + def restore_common(self, loader: DataLoader, entity_factory: Factory) -> None: + super().restore_common(loader, entity_factory) + self.next_loop = restore_entity("loop", loader, entity_factory) + self.coedge = restore_entity("coedge", loader, entity_factory) + self.face = restore_entity("face", loader, entity_factory) + + def write_common(self, exporter: DataExporter) -> None: + super().write_common(exporter) + exporter.write_ptr(self.next_loop) + exporter.write_ptr(self.coedge) + exporter.write_ptr(self.face) + + def set_coedges(self, coedges: list[Coedge], close=True) -> None: + """Set all coedges of a loop at once.""" + assert len(coedges) > 0 + self.coedge = coedges[0] + next_coedges = coedges[1:] + prev_coedges = coedges[:-1] + if close: + next_coedges.append(coedges[0]) + prev_coedges.insert(0, coedges[-1]) + else: + next_coedges.append(NONE_REF) + prev_coedges.insert(0, NONE_REF) + + for coedge, next, prev in zip(coedges, next_coedges, prev_coedges): + coedge.loop = self + coedge.prev_coedge = prev + coedge.next_coedge = next + + def coedges(self) -> list[Coedge]: + """Returns all linked :class:`Coedge` entities as a list.""" + coedges = [] + + current_coedge = self.coedge + while not current_coedge.is_none: # open loop if none + coedges.append(current_coedge) + current_coedge = current_coedge.next_coedge + if current_coedge is self.coedge: # circular linked list! + break # closed loop + return coedges + + +@register +class Coedge(SupportsPattern): + type: str = "coedge" + next_coedge: Coedge = NONE_REF + prev_coedge: Coedge = NONE_REF + # The partner_coedge points to the coedge of an adjacent face, in a + # manifold body each coedge has zero (open) or one (closed) partner edge. + # ACIS supports also non-manifold bodies, so there can be more than one + # partner coedges which are organized in a circular linked list. + partner_coedge: Coedge = NONE_REF + edge: Edge = NONE_REF + # sense: True = reversed; False = forward; + # coedge has the same direction as the underlying edge + sense: bool = True + loop: Loop = NONE_REF # parent/owner + unknown: int = 0 # only in SAB file!? + pcurve: PCurve = NONE_REF + + def restore_common(self, loader: DataLoader, entity_factory: Factory) -> None: + super().restore_common(loader, entity_factory) + self.next_coedge = restore_entity("coedge", loader, entity_factory) + self.prev_coedge = restore_entity("coedge", loader, entity_factory) + self.partner_coedge = restore_entity("coedge", loader, entity_factory) + self.edge = restore_entity("edge", loader, entity_factory) + self.sense = loader.read_bool("reversed", "forward") + self.loop = restore_entity("loop", loader, entity_factory) + self.unknown = loader.read_int(skip_sat=0) + self.pcurve = restore_entity("pcurve", loader, entity_factory) + + def write_common(self, exporter: DataExporter) -> None: + super().write_common(exporter) + exporter.write_ptr(self.next_coedge) + exporter.write_ptr(self.prev_coedge) + exporter.write_ptr(self.partner_coedge) + exporter.write_ptr(self.edge) + exporter.write_bool(self.sense, "reversed", "forward") + exporter.write_ptr(self.loop) + # TODO: write_int() ? + exporter.write_int(0, skip_sat=True) + exporter.write_ptr(self.pcurve) + + def add_partner_coedge(self, coedge: Coedge) -> None: + assert coedge.partner_coedge.is_none + partner_coedge = self.partner_coedge + if partner_coedge.is_none: + partner_coedge = self + # insert new coedge as first partner coedge: + self.partner_coedge = coedge + coedge.partner_coedge = partner_coedge + self.order_partner_coedges() + + def order_partner_coedges(self) -> None: + # todo: the referenced faces of non-manifold coedges have to be ordered + # by the right-hand rule around this edge. + pass + + def partner_coedges(self) -> list[Coedge]: + """Returns all partner coedges of this coedge without `self`.""" + coedges: list[Coedge] = [] + partner_coedge = self.partner_coedge + if partner_coedge.is_none: + return coedges + while True: + coedges.append(partner_coedge) + partner_coedge = partner_coedge.partner_coedge + if partner_coedge.is_none or partner_coedge is self: + break + return coedges + + +@register +class Edge(SupportsPattern): + type: str = "edge" + + # The parent edge of the start_vertex doesn't have to be this edge! + start_vertex: Vertex = NONE_REF + start_param: float = 0.0 + + # The parent edge of the end_vertex doesn't have to be this edge! + end_vertex: Vertex = NONE_REF + end_param: float = 0.0 + coedge: Coedge = NONE_REF + curve: Curve = NONE_REF + # sense: True = reversed; False = forward; + # forward: edge has the same direction as the underlying curve + sense: bool = False + convexity: str = "unknown" + + def restore_common(self, loader: DataLoader, entity_factory: Factory) -> None: + super().restore_common(loader, entity_factory) + self.start_vertex = restore_entity("vertex", loader, entity_factory) + if loader.version >= Features.TOL_MODELING: + self.start_param = loader.read_double() + self.end_vertex = restore_entity("vertex", loader, entity_factory) + if loader.version >= Features.TOL_MODELING: + self.end_param = loader.read_double() + self.coedge = restore_entity("coedge", loader, entity_factory) + self.curve = restore_entity("curve", loader, entity_factory) + self.sense = loader.read_bool("reversed", "forward") + if loader.version >= Features.TOL_MODELING: + self.convexity = loader.read_str() + + def write_common(self, exporter: DataExporter) -> None: + # write support >= version 700 only + super().write_common(exporter) + exporter.write_ptr(self.start_vertex) + exporter.write_double(self.start_param) + exporter.write_ptr(self.end_vertex) + exporter.write_double(self.end_param) + exporter.write_ptr(self.coedge) + exporter.write_ptr(self.curve) + exporter.write_bool(self.sense, "reversed", "forward") + exporter.write_str(self.convexity) + + +@register +class PCurve(SupportsPattern): # not implemented + type: str = "pcurve" + + +@register +class Vertex(SupportsPattern): + type: str = "vertex" + edge: Edge = NONE_REF + ref_count: int = 0 # only in SAB files + point: Point = NONE_REF + + def restore_common(self, loader: DataLoader, entity_factory: Factory) -> None: + super().restore_common(loader, entity_factory) + self.edge = restore_entity("edge", loader, entity_factory) + self.ref_count = loader.read_int(skip_sat=0) + self.point = restore_entity("point", loader, entity_factory) + + def write_common(self, exporter: DataExporter) -> None: + super().write_common(exporter) + exporter.write_ptr(self.edge) + exporter.write_int(self.ref_count, skip_sat=True) + exporter.write_ptr(self.point) + + +@register +class Curve(SupportsPattern): + type: str = "curve" + bounds = INF, INF + + def restore_data(self, loader: DataLoader) -> None: + self.bounds = loader.read_interval(), loader.read_interval() + + def write_data(self, exporter: DataExporter) -> None: + exporter.write_interval(self.bounds[0]) + exporter.write_interval(self.bounds[1]) + + @abc.abstractmethod + def evaluate(self, param: float) -> Vec3: + """Returns the spatial location at the parametric curve for the given + parameter. + + """ + pass + + +@register +class StraightCurve(Curve): + type: str = "straight-curve" + origin = Vec3(0, 0, 0) + direction = Vec3(1, 0, 0) + + def restore_data(self, loader: DataLoader) -> None: + self.origin = Vec3(loader.read_vec3()) + self.direction = Vec3(loader.read_vec3()) + super().restore_data(loader) + + def write_data(self, exporter: DataExporter) -> None: + exporter.write_loc_vec3(self.origin) + exporter.write_dir_vec3(self.direction) + super().write_data(exporter) + + def evaluate(self, param: float) -> Vec3: + return self.origin + (self.direction * param) + + +@register +class Point(SupportsPattern): + type: str = "point" + location: Vec3 = NULLVEC + + def restore_data(self, loader: DataLoader) -> None: + self.location = Vec3(loader.read_vec3()) + + def write_data(self, exporter: DataExporter) -> None: + exporter.write_loc_vec3(self.location) + + +class FileLoader(abc.ABC): + records: Sequence[sat.SatEntity | sab.SabEntity] + + def __init__(self, version: int): + self.entities: dict[int, AcisEntity] = {} + self.version: int = version + + def entity_factory(self, raw_entity: AbstractEntity) -> AcisEntity: + uid = id(raw_entity) + try: + return self.entities[uid] + except KeyError: # create a new entity + entity = ENTITY_TYPES.get(raw_entity.name, AcisEntity)() + self.entities[uid] = entity + return entity + + def bodies(self) -> list[Body]: + # noinspection PyTypeChecker + return [e for e in self.entities.values() if isinstance(e, Body)] + + def load_entities(self): + entity_factory = self.entity_factory + + for raw_entity in self.records: + entity = entity_factory(raw_entity) + entity.id = raw_entity.id + attributes = raw_entity.attributes + if not attributes.is_null_ptr: + entity.attributes = entity_factory(attributes) + data_loader = self.make_data_loader(raw_entity.data) + entity.load(data_loader, entity_factory) + + @abc.abstractmethod + def make_data_loader(self, data: list[Any]) -> DataLoader: + pass + + +class SabLoader(FileLoader): + def __init__(self, data: bytes | bytearray): + builder = sab.parse_sab(data) + super().__init__(builder.header.version) + self.records = builder.entities + + def make_data_loader(self, data: list[Any]) -> DataLoader: + return sab.SabDataLoader(data, self.version) + + @classmethod + def load(cls, data: bytes | bytearray) -> list[Body]: + loader = cls(data) + loader.load_entities() + return loader.bodies() + + +class SatLoader(FileLoader): + def __init__(self, data: str | Sequence[str]): + builder = sat.parse_sat(data) + super().__init__(builder.header.version) + self.records = builder.entities + + def make_data_loader(self, data: list[Any]) -> DataLoader: + return sat.SatDataLoader(data, self.version) + + @classmethod + def load(cls, data: str | Sequence[str]) -> list[Body]: + loader = cls(data) + loader.load_entities() + return loader.bodies() diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/acis/type_hints.py b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/acis/type_hints.py new file mode 100644 index 0000000000000000000000000000000000000000..976d77040fcaf725fa43bcd431087e4307e5f845 --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/acis/type_hints.py @@ -0,0 +1,7 @@ +# Copyright (c) 2024, Manfred Moitzi +# License: MIT License +from __future__ import annotations +from typing import Sequence, Union +from typing_extensions import TypeAlias + +EncodedData: TypeAlias = Union[str, Sequence[str], bytes, bytearray] diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/addons/__init__.py b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/addons/__init__.py new file mode 100644 index 0000000000000000000000000000000000000000..921916372aebde91a31b9a643ed1c79152886996 --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/addons/__init__.py @@ -0,0 +1,10 @@ +# Copyright (C) 2011-2022, Manfred Moitzi +# License: MIT License +from .mtextsurrogate import MTextSurrogate +from .tablepainter import TablePainter, CustomCell +from .menger_sponge import MengerSponge +from .sierpinski_pyramid import SierpinskyPyramid +from .dimlines import LinearDimension, AngularDimension, ArcDimension, RadialDimension, dimstyles +from .importer import Importer +from .r12writer import r12writer +from .mtxpl import MTextExplode diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/addons/acadctb.py b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/addons/acadctb.py new file mode 100644 index 0000000000000000000000000000000000000000..d5eb183e7f02dd66b683ffba04f77dfa22b26675 --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/addons/acadctb.py @@ -0,0 +1,779 @@ +# Purpose: read and write AutoCAD CTB files +# Copyright (c) 2010-2023, Manfred Moitzi +# License: MIT License +# IMPORTANT: use only standard 7-Bit ascii code +from __future__ import annotations +from typing import ( + Union, + Optional, + BinaryIO, + TextIO, + Iterable, + Iterator, + Any, +) +import os +from abc import abstractmethod +from io import StringIO +from array import array +from struct import pack +import zlib + +END_STYLE_BUTT = 0 +END_STYLE_SQUARE = 1 +END_STYLE_ROUND = 2 +END_STYLE_DIAMOND = 3 +END_STYLE_OBJECT = 4 + +JOIN_STYLE_MITER = 0 +JOIN_STYLE_BEVEL = 1 +JOIN_STYLE_ROUND = 2 +JOIN_STYLE_DIAMOND = 3 +JOIN_STYLE_OBJECT = 5 + +FILL_STYLE_SOLID = 64 +FILL_STYLE_CHECKERBOARD = 65 +FILL_STYLE_CROSSHATCH = 66 +FILL_STYLE_DIAMONDS = 67 +FILL_STYLE_HORIZONTAL_BARS = 68 +FILL_STYLE_SLANT_LEFT = 69 +FILL_STYLE_SLANT_RIGHT = 70 +FILL_STYLE_SQUARE_DOTS = 71 +FILL_STYLE_VERICAL_BARS = 72 +FILL_STYLE_OBJECT = 73 + +DITHERING_ON = 1 # bit coded color_policy +GRAYSCALE_ON = 2 # bit coded color_policy +NAMED_COLOR = 4 # bit coded color_policy + +AUTOMATIC = 0 +OBJECT_LINEWEIGHT = 0 +OBJECT_LINETYPE = 31 +OBJECT_COLOR = -1 +OBJECT_COLOR2 = -1006632961 + +STYLE_COUNT = 255 + +DEFAULT_LINE_WEIGHTS = [ + 0.00, # 0 + 0.05, # 1 + 0.09, # 2 + 0.10, # 3 + 0.13, # 4 + 0.15, # 5 + 0.18, # 6 + 0.20, # 7 + 0.25, # 8 + 0.30, # 9 + 0.35, # 10 + 0.40, # 11 + 0.45, # 12 + 0.50, # 13 + 0.53, # 14 + 0.60, # 15 + 0.65, # 16 + 0.70, # 17 + 0.80, # 18 + 0.90, # 19 + 1.00, # 20 + 1.06, # 21 + 1.20, # 22 + 1.40, # 23 + 1.58, # 24 + 2.00, # 25 + 2.11, # 26 +] + +# color_type: (thx to Rammi) + +# Take color from layer, ignore other bytes. +COLOR_BY_LAYER = 0xC0 + +# Take color from insertion, ignore other bytes +COLOR_BY_BLOCK = 0xC1 + +# RGB value, other bytes are R,G,B. +COLOR_RGB = 0xC2 + +# ACI, AutoCAD color index, other bytes are 0,0,index ??? +COLOR_ACI = 0xC3 + + +def color_name(index: int) -> str: + return "Color_%d" % (index + 1) + + +def get_bool(value: Union[str, bool]) -> bool: + if isinstance(value, str): + upperstr = value.upper() + if upperstr == "TRUE": + value = True + elif upperstr == "FALSE": + value = False + else: + raise ValueError("Unknown bool value '%s'." % str(value)) + return value + + +class PlotStyle: + def __init__( + self, + index: int, + data: Optional[dict] = None, + parent: Optional[PlotStyleTable] = None, + ): + data = data or {} + self.parent = parent + self.index = int(index) + self.name = str(data.get("name", color_name(index))) + self.localized_name = str(data.get("localized_name", color_name(index))) + self.description = str(data.get("description", "")) + # do not set _color, _mode_color or _color_policy directly + # use set_color() method, and the properties dithering and grayscale + self._color = int(data.get("color", OBJECT_COLOR)) + self._color_type = COLOR_RGB + if self._color != OBJECT_COLOR: + self._mode_color = int(data.get("mode_color", self._color)) + self._color_policy = int(data.get("color_policy", DITHERING_ON)) + self.physical_pen_number = int(data.get("physical_pen_number", AUTOMATIC)) + self.virtual_pen_number = int(data.get("virtual_pen_number", AUTOMATIC)) + self.screen = int(data.get("screen", 100)) + self.linepattern_size = float(data.get("linepattern_size", 0.5)) + self.linetype = int(data.get("linetype", OBJECT_LINETYPE)) # 0 .. 30 + self.adaptive_linetype = get_bool(data.get("adaptive_linetype", True)) + + # lineweight index + self.lineweight = int(data.get("lineweight", OBJECT_LINEWEIGHT)) + self.end_style = int(data.get("end_style", END_STYLE_OBJECT)) + self.join_style = int(data.get("join_style", JOIN_STYLE_OBJECT)) + self.fill_style = int(data.get("fill_style", FILL_STYLE_OBJECT)) + + @property + def color(self) -> Optional[tuple[int, int, int]]: + """Get style color as ``(r, g, b)`` tuple or ``None``, if style has + object color. + """ + if self.has_object_color(): + return None # object color + else: + return int2color(self._mode_color)[:3] + + @color.setter + def color(self, rgb: tuple[int, int, int]) -> None: + """Set color as RGB values.""" + r, g, b = rgb + # when defining a user-color, `mode_color` represents the real + # true_color as (r, g, b) tuple and color_type = COLOR_RGB (0xC2) as + # highest byte, the `color` value calculated for a user-color is not a + # (r, g, b) tuple and has color_type = COLOR_ACI (0xC3) (sometimes), set + # for `color` the same value as for `mode_color`, because AutoCAD + # corrects the `color` value by itself. + self._mode_color = mode_color2int(r, g, b, color_type=self._color_type) + self._color = self._mode_color + + @property + def color_type(self): + if self.has_object_color(): + return None # object color + else: + return self._color_type + + @color_type.setter + def color_type(self, value: int): + self._color_type = value + + def set_object_color(self) -> None: + """Set color to object color.""" + self._color = OBJECT_COLOR + self._mode_color = OBJECT_COLOR + + def set_lineweight(self, lineweight: float) -> None: + """Set `lineweight` in millimeters. Use ``0.0`` to set lineweight by + object. + """ + assert self.parent is not None + self.lineweight = self.parent.get_lineweight_index(lineweight) + + def get_lineweight(self) -> float: + """Returns the lineweight in millimeters or `0.0` for use entity + lineweight. + """ + assert self.parent is not None + return self.parent.lineweights[self.lineweight] + + def has_object_color(self) -> bool: + """``True`` if style has object color.""" + return self._color in (OBJECT_COLOR, OBJECT_COLOR2) + + @property + def aci(self) -> int: + """:ref:`ACI` in range from ``1`` to ``255``. Has no meaning for named + plot styles. (int) + """ + return self.index + 1 + + @property + def dithering(self) -> bool: + """Depending on the capabilities of your plotter, dithering approximates + the colors with dot patterns. When this option is ``False``, the colors + are mapped to the nearest color, resulting in a smaller range of + colors when plotting. + + Dithering is available only whether you select the object’s color or + assign a plot style color. + + """ + return bool(self._color_policy & DITHERING_ON) + + @dithering.setter + def dithering(self, status: bool) -> None: + if status: + self._color_policy |= DITHERING_ON + else: + self._color_policy &= ~DITHERING_ON + + @property + def grayscale(self) -> bool: + """Plot colors in grayscale. (bool)""" + return bool(self._color_policy & GRAYSCALE_ON) + + @grayscale.setter + def grayscale(self, status: bool) -> None: + if status: + self._color_policy |= GRAYSCALE_ON + else: + self._color_policy &= ~GRAYSCALE_ON + + @property + def named_color(self) -> bool: + return bool(self._color_policy & NAMED_COLOR) + + @named_color.setter + def named_color(self, status: bool) -> None: + if status: + self._color_policy |= NAMED_COLOR + else: + self._color_policy &= ~NAMED_COLOR + + def write(self, stream: TextIO) -> None: + """Write style data to file-like object `stream`.""" + index = self.index + stream.write(" %d{\n" % index) + stream.write(' name="%s\n' % self.name) + stream.write(' localized_name="%s\n' % self.localized_name) + stream.write(' description="%s\n' % self.description) + stream.write(" color=%d\n" % self._color) + if self._color != OBJECT_COLOR: + stream.write(" mode_color=%d\n" % self._mode_color) + stream.write(" color_policy=%d\n" % self._color_policy) + stream.write(" physical_pen_number=%d\n" % self.physical_pen_number) + stream.write(" virtual_pen_number=%d\n" % self.virtual_pen_number) + stream.write(" screen=%d\n" % self.screen) + stream.write(" linepattern_size=%s\n" % str(self.linepattern_size)) + stream.write(" linetype=%d\n" % self.linetype) + stream.write( + " adaptive_linetype=%s\n" % str(bool(self.adaptive_linetype)).upper() + ) + stream.write(" lineweight=%s\n" % str(self.lineweight)) + stream.write(" fill_style=%d\n" % self.fill_style) + stream.write(" end_style=%d\n" % self.end_style) + stream.write(" join_style=%d\n" % self.join_style) + stream.write(" }\n") + + +class PlotStyleTable: + """PlotStyle container""" + + def __init__( + self, + description: str = "", + scale_factor: float = 1.0, + apply_factor: bool = False, + ): + self.description = description + self.scale_factor = scale_factor + self.apply_factor = apply_factor + + # set custom_lineweight_display_units to 1 for showing lineweight in inch in + # AutoCAD CTB editor window, but lineweight is always defined in mm + self.custom_lineweight_display_units = 0 + self.lineweights = array("f", DEFAULT_LINE_WEIGHTS) + + def get_lineweight_index(self, lineweight: float) -> int: + """Get index of `lineweight` in the lineweight table or append + `lineweight` to lineweight table. + """ + try: + return self.lineweights.index(lineweight) + except ValueError: + self.lineweights.append(lineweight) + return len(self.lineweights) - 1 + + def set_table_lineweight(self, index: int, lineweight: float) -> int: + """Argument `index` is the lineweight table index, not the :ref:`ACI`. + + Args: + index: lineweight table index = :attr:`PlotStyle.lineweight` + lineweight: in millimeters + + """ + try: + self.lineweights[index] = lineweight + return index + except IndexError: + self.lineweights.append(lineweight) + return len(self.lineweights) - 1 + + def get_table_lineweight(self, index: int) -> float: + """Returns lineweight in millimeters of lineweight table entry `index`. + + Args: + index: lineweight table index = :attr:`PlotStyle.lineweight` + + Returns: + lineweight in mm or ``0.0`` for use entity lineweight + + """ + return self.lineweights[index] + + def save(self, filename: str | os.PathLike) -> None: + """Save CTB or STB file as `filename` to the file system.""" + with open(filename, "wb") as stream: + self.write(stream) + + def write(self, stream: BinaryIO) -> None: + """Compress and write the CTB or STB file to binary `stream`.""" + memfile = StringIO() + self.write_content(memfile) + memfile.write(chr(0)) # end of file + body = memfile.getvalue() + memfile.close() + _compress(stream, body) + + @abstractmethod + def write_content(self, stream: TextIO) -> None: + pass + + def _write_lineweights(self, stream: TextIO) -> None: + """Write custom lineweight table to text `stream`.""" + stream.write("custom_lineweight_table{\n") + for index, weight in enumerate(self.lineweights): + stream.write(" %d=%.2f\n" % (index, weight)) + stream.write("}\n") + + def parse(self, text: str) -> None: + """Parse plot styles from CTB string `text`.""" + + def set_lineweights(lineweights): + if lineweights is None: + return + self.lineweights = array("f", [0.0] * len(lineweights)) + for key, value in lineweights.items(): + self.lineweights[int(key)] = float(value) + + parser = PlotStyleFileParser(text) + self.description = parser.get("description", "") + self.scale_factor = float(parser.get("scale_factor", 1.0)) + self.apply_factor = get_bool(parser.get("apply_factor", True)) + self.custom_lineweight_display_units = int( + parser.get("custom_lineweight_display_units", 0) + ) + set_lineweights(parser.get("custom_lineweight_table", None)) + self.load_styles(parser.get("plot_style", {})) + + @abstractmethod + def load_styles(self, styles): + pass + + +class ColorDependentPlotStyles(PlotStyleTable): + def __init__( + self, + description: str = "", + scale_factor: float = 1.0, + apply_factor: bool = False, + ): + super().__init__(description, scale_factor, apply_factor) + self._styles: list[PlotStyle] = [ + PlotStyle(index, parent=self) for index in range(STYLE_COUNT) + ] + self._styles.insert( + 0, PlotStyle(256) + ) # 1-based array: insert dummy value for index 0 + + def __getitem__(self, aci: int) -> PlotStyle: + """Returns :class:`PlotStyle` for :ref:`ACI` `aci`.""" + if 0 < aci < 256: + return self._styles[aci] + else: + raise IndexError(aci) + + def __setitem__(self, aci: int, style: PlotStyle): + """Set plot `style` for `aci`.""" + if 0 < aci < 256: + style.parent = self + self._styles[aci] = style + else: + raise IndexError(aci) + + def __iter__(self): + """Iterable of all plot styles.""" + return iter(self._styles[1:]) + + def new_style(self, aci: int, data: Optional[dict] = None) -> PlotStyle: + """Set `aci` to new attributes defined by `data` dict. + + Args: + aci: :ref:`ACI` + data: ``dict`` of :class:`PlotStyle` attributes: description, color, + physical_pen_number, virtual_pen_number, screen, + linepattern_size, linetype, adaptive_linetype, + lineweight, end_style, join_style, fill_style + + """ + # ctb table index = aci - 1 + # ctb table starts with index 0, where aci == 0 means BYBLOCK + style = PlotStyle(index=aci - 1, data=data) + style.color_type = COLOR_RGB + self[aci] = style + return style + + def get_lineweight(self, aci: int): + """Returns the assigned lineweight for :class:`PlotStyle` `aci` in + millimeter. + """ + style = self[aci] + lineweight = style.get_lineweight() + if lineweight == 0.0: + return None + else: + return lineweight + + def write_content(self, stream: TextIO) -> None: + """Write the CTB-file to text `stream`.""" + self._write_header(stream) + self._write_aci_table(stream) + self._write_plot_styles(stream) + self._write_lineweights(stream) + + def _write_header(self, stream: TextIO) -> None: + """Write header values of CTB-file to text `stream`.""" + stream.write('description="%s\n' % self.description) + stream.write("aci_table_available=TRUE\n") + stream.write("scale_factor=%.1f\n" % self.scale_factor) + stream.write("apply_factor=%s\n" % str(self.apply_factor).upper()) + stream.write( + "custom_lineweight_display_units=%s\n" + % str(self.custom_lineweight_display_units) + ) + + def _write_aci_table(self, stream: TextIO) -> None: + """Write AutoCAD Color Index table to text `stream`.""" + stream.write("aci_table{\n") + for style in self: + index = style.index + stream.write(' %d="%s\n' % (index, color_name(index))) + stream.write("}\n") + + def _write_plot_styles(self, stream: TextIO) -> None: + """Write user styles to text `stream`.""" + stream.write("plot_style{\n") + for style in self: + style.write(stream) + stream.write("}\n") + + def load_styles(self, styles): + for index, style in styles.items(): + index = int(index) + style = PlotStyle(index, style) + style.color_type = COLOR_RGB + aci = index + 1 + self[aci] = style + + +class NamedPlotStyles(PlotStyleTable): + def __init__( + self, + description: str = "", + scale_factor: float = 1.0, + apply_factor: bool = False, + ): + super().__init__(description, scale_factor, apply_factor) + normal = PlotStyle( + 0, + data={ + "name": "Normal", + "localized_name": "Normal", + }, + ) + self._styles: dict[str, PlotStyle] = {"Normal": normal} + + def __iter__(self) -> Iterable[str]: + """Iterable of all plot style names.""" + return self.keys() + + def __getitem__(self, name: str) -> PlotStyle: + """Returns :class:`PlotStyle` by `name`.""" + return self._styles[name] + + def __delitem__(self, name: str) -> None: + """Delete plot style `name`. Plot style ``'Normal'`` is not deletable.""" + if name != "Normal": + del self._styles[name] + else: + raise ValueError("Can't delete plot style 'Normal'. ") + + def keys(self) -> Iterable[str]: + """Iterable of all plot style names.""" + keys = set(self._styles.keys()) + keys.discard("Normal") + result = ["Normal"] + result.extend(sorted(keys)) + return iter(result) + + def items(self) -> Iterator[tuple[str, PlotStyle]]: + """Iterable of all plot styles as (``name``, class:`PlotStyle`) tuples.""" + for key in self.keys(): + yield key, self._styles[key] + + def values(self) -> Iterable[PlotStyle]: + """Iterable of all class:`PlotStyle` objects.""" + for key, value in self.items(): + yield value + + def new_style( + self, + name: str, + data: Optional[dict] = None, + localized_name: Optional[str] = None, + ) -> PlotStyle: + """Create new class:`PlotStyle` `name` by attribute dict `data`, replaces + existing class:`PlotStyle` objects. + + Args: + name: plot style name + localized_name: name shown in plot style editor, uses `name` if ``None`` + data: ``dict`` of :class:`PlotStyle` attributes: description, color, + physical_pen_number, virtual_pen_number, screen, + linepattern_size, linetype, adaptive_linetype, lineweight, + end_style, join_style, fill_style + + """ + if name.lower() == "Normal": + raise ValueError("Can't replace or modify plot style 'Normal'. ") + data = data or {} + data["name"] = name + data["localized_name"] = localized_name or name + index = len(self._styles) + style = PlotStyle(index=index, data=data, parent=self) + style.color_type = COLOR_ACI + style.named_color = True + self._styles[name] = style + return style + + def get_lineweight(self, name: str): + """Returns the assigned lineweight for :class:`PlotStyle` `name` in + millimeter. + """ + style = self[name] + lineweight = style.get_lineweight() + if lineweight == 0.0: + return None + else: + return lineweight + + def write_content(self, stream: TextIO) -> None: + """Write the STB-file to text `stream`.""" + self._write_header(stream) + self._write_plot_styles(stream) + self._write_lineweights(stream) + + def _write_header(self, stream: TextIO) -> None: + """Write header values of CTB-file to text `stream`.""" + stream.write('description="%s\n' % self.description) + stream.write("aci_table_available=FALSE\n") + stream.write("scale_factor=%.1f\n" % self.scale_factor) + stream.write("apply_factor=%s\n" % str(self.apply_factor).upper()) + stream.write( + "custom_lineweight_display_units=%s\n" + % str(self.custom_lineweight_display_units) + ) + + def _write_plot_styles(self, stream: TextIO) -> None: + """Write user styles to text `stream`.""" + stream.write("plot_style{\n") + for index, style in enumerate(self.values()): + style.index = index + style.write(stream) + stream.write("}\n") + + def load_styles(self, styles): + for index, style in styles.items(): + index = int(index) + style = PlotStyle(index, style) + style.color_type = COLOR_ACI + self._styles[style.name] = style + + +def _read_ctb(stream: BinaryIO) -> ColorDependentPlotStyles: + """Read a CTB-file from binary `stream`.""" + content: bytes = _decompress(stream) + styles = ColorDependentPlotStyles() + styles.parse(content.decode()) + return styles + + +def _read_stb(stream: BinaryIO) -> NamedPlotStyles: + """Read a STB-file from binary `stream`.""" + content: bytes = _decompress(stream) + styles = NamedPlotStyles() + styles.parse(content.decode()) + return styles + + +def load( + filename: str | os.PathLike, +) -> Union[ColorDependentPlotStyles, NamedPlotStyles]: + """Load the CTB or STB file `filename` from file system.""" + filename = str(filename) + with open(filename, "rb") as stream: + if filename.lower().endswith(".ctb"): + return _read_ctb(stream) + elif filename.lower().endswith(".stb"): + return _read_stb(stream) + else: + raise ValueError('Invalid file type: "{}"'.format(filename)) + + +def new_ctb() -> ColorDependentPlotStyles: + """Create a new CTB file.""" + return ColorDependentPlotStyles() + + +def new_stb() -> NamedPlotStyles: + """Create a new STB file.""" + return NamedPlotStyles() + + +def _decompress(stream: BinaryIO) -> bytes: + """Read and decompress the file content from binray `stream`.""" + content = stream.read() + data = zlib.decompress(content[60:]) # type: bytes + return data[:-1] # truncate trailing \nul + + +def _compress(stream: BinaryIO, content: str): + """Compress `content` and write to binary `stream`.""" + comp_body = zlib.compress(content.encode()) + adler_chksum = zlib.adler32(comp_body) + stream.write(b"PIAFILEVERSION_2.0,CTBVER1,compress\r\npmzlibcodec") + stream.write(pack("LLL", adler_chksum, len(content), len(comp_body))) + stream.write(comp_body) + + +class PlotStyleFileParser: + """A very simple CTB/STB file parser. CTB/STB files are created by + applications, so the file structure should be correct in the most cases. + """ + + def __init__(self, text: str): + self.data = {} + for element, value in PlotStyleFileParser.iteritems(text): + self.data[element] = value + + @staticmethod + def iteritems(text: str): + """Iterate over all first level (start at col 0) elements.""" + line_index = 0 + + def get_name() -> str: + """Get element name of line .""" + line = lines[line_index] + if line.endswith("{"): # start of a list like 'plot_style{' + name = line[:-1] + else: # simple name=value line + name = line.split("=", 1)[0] + return name.strip() + + def get_mapping() -> dict: + """Get mapping of elements enclosed by { }. + + e. g. lineweights, plot_styles, aci_table + + """ + + def end_of_list(): + return lines[line_index].endswith("}") + + nonlocal line_index + data = dict() + while not end_of_list(): + name = get_name() + value = get_value() # get value or sub-list + data[name] = value + line_index += 1 + return data # skip '}' - end of list + + def get_value() -> Union[str, dict]: + """Get value of line or the list that starts in line + . + """ + nonlocal line_index + line = lines[line_index] + if line.endswith("{"): # start of a list + line_index += 1 + return get_mapping() + else: # it's a simple name=value line + value: str = line.split("=", 1)[1] + value = sanitized_value(value) + line_index += 1 + return value + + def skip_empty_lines(): + nonlocal line_index + while line_index < len(lines) and len(lines[line_index]) == 0: + line_index += 1 + + lines = text.split("\n") + while line_index < len(lines): + name = get_name() + value = get_value() + yield name, value + skip_empty_lines() + + def get(self, name: str, default: Any) -> Any: + return self.data.get(name, default) + + +def sanitized_value(value: str) -> str: + value = value.strip() + if value.startswith('"'): # strings: ="string + return value[1:] + + # remove unknown appendix like this: "0.0076200000000 (+7.Z+"8V?S_LC )" + # the pattern is " ()", see issue #1069 + if value.endswith(")"): + return value.split(" ")[0] + return value + + +def int2color(color: int) -> tuple[int, int, int, int]: + """Convert color integer value from CTB-file to ``(r, g, b, color_type) + tuple. + """ + # Take color from layer, ignore other bytes. + color_type = (color & 0xFF000000) >> 24 + red = (color & 0xFF0000) >> 16 + green = (color & 0xFF00) >> 8 + blue = color & 0xFF + return red, green, blue, color_type + + +def mode_color2int(red: int, green: int, blue: int, color_type=COLOR_RGB) -> int: + """Convert mode_color (r, g, b, color_type) tuple to integer.""" + return -color2int(red, green, blue, color_type) + + +def color2int(red: int, green: int, blue: int, color_type: int) -> int: + """Convert color (r, g, b, color_type) to integer.""" + return -((color_type << 24) + (red << 16) + (green << 8) + blue) & 0xFFFFFFFF diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/addons/binpacking.py b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/addons/binpacking.py new file mode 100644 index 0000000000000000000000000000000000000000..438e4c16f24dd4fa9a2c0835897fc4f43acf9f33 --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/addons/binpacking.py @@ -0,0 +1,716 @@ +# Source package: "py3dbp" hosted on PyPI +# (c) Enzo Ruiz Pelaez +# https://github.com/enzoruiz/3dbinpacking +# License: MIT License +# Credits: +# - https://github.com/enzoruiz/3dbinpacking/blob/master/erick_dube_507-034.pdf +# - https://github.com/gedex/bp3d - implementation in Go +# - https://github.com/bom-d-van/binpacking - implementation in Go +# +# ezdxf add-on: +# License: MIT License +# (c) 2022, Manfred Moitzi: +# - refactoring +# - type annotations +# - adaptations: +# - removing Decimal class usage +# - utilizing ezdxf.math.BoundingBox for intersection checks +# - removed non-distributing mode; copy packer and use different bins for each copy +# - additions: +# - Item.get_transformation() +# - shuffle_pack() +# - pack_item_subset() +# - DXF exporter for debugging +from __future__ import annotations +from typing import ( + Iterable, + TYPE_CHECKING, + TypeVar, + Optional, +) +from enum import Enum, auto +import copy +import math +import random + + +from ezdxf.enums import TextEntityAlignment +from ezdxf.math import ( + Vec2, + Vec3, + UVec, + BoundingBox, + BoundingBox2d, + AbstractBoundingBox, + Matrix44, +) +from . import genetic_algorithm as ga + +if TYPE_CHECKING: + from ezdxf.eztypes import GenericLayoutType + +__all__ = [ + "Item", + "FlatItem", + "Box", # contains Item + "Envelope", # contains FlatItem + "AbstractPacker", + "Packer", + "FlatPacker", + "RotationType", + "PickStrategy", + "shuffle_pack", + "pack_item_subset", + "export_dxf", +] + +UNLIMITED_WEIGHT = 1e99 +T = TypeVar("T") +PI_2 = math.pi / 2 + + +class RotationType(Enum): + """Rotation type of an item: + + - W = width + - H = height + - D = depth + + """ + + WHD = auto() + HWD = auto() + HDW = auto() + DHW = auto() + DWH = auto() + WDH = auto() + + +class Axis(Enum): + WIDTH = auto() + HEIGHT = auto() + DEPTH = auto() + + +class PickStrategy(Enum): + """Order of how to pick items for placement.""" + + SMALLER_FIRST = auto() + BIGGER_FIRST = auto() + SHUFFLE = auto() + + +START_POSITION: tuple[float, float, float] = (0, 0, 0) + + +class Item: + """3D container item.""" + + def __init__( + self, + payload, + width: float, + height: float, + depth: float, + weight: float = 0.0, + ): + self.payload = payload # arbitrary associated Python object + self.width = float(width) + self.height = float(height) + self.depth = float(depth) + self.weight = float(weight) + self._rotation_type = RotationType.WHD + self._position = START_POSITION + self._bbox: Optional[AbstractBoundingBox] = None + + def __str__(self): + return ( + f"{str(self.payload)}({self.width}x{self.height}x{self.depth}, " + f"weight: {self.weight}) pos({str(self.position)}) " + f"rt({self.rotation_type}) vol({self.get_volume()})" + ) + + def copy(self): + """Returns a copy, all copies have a reference to the same payload + object. + """ + return copy.copy(self) # shallow copy + + @property + def bbox(self) -> AbstractBoundingBox: + if self._bbox is None: + self._update_bbox() + return self._bbox # type: ignore + + def _update_bbox(self) -> None: + v1 = Vec3(self._position) + self._bbox = BoundingBox([v1, v1 + Vec3(self.get_dimension())]) + + def _taint(self): + self._bbox = None + + @property + def rotation_type(self) -> RotationType: + return self._rotation_type + + @rotation_type.setter + def rotation_type(self, value: RotationType) -> None: + self._rotation_type = value + self._taint() + + @property + def position(self) -> tuple[float, float, float]: + """Returns the position of then lower left corner of the item in the + container, the lower left corner is the origin (0, 0, 0). + """ + return self._position + + @position.setter + def position(self, value: tuple[float, float, float]) -> None: + self._position = value + self._taint() + + def get_volume(self) -> float: + """Returns the volume of the item.""" + return self.width * self.height * self.depth + + def get_dimension(self) -> tuple[float, float, float]: + """Returns the item dimension according the :attr:`rotation_type`.""" + rt = self.rotation_type + if rt == RotationType.WHD: + return self.width, self.height, self.depth + elif rt == RotationType.HWD: + return self.height, self.width, self.depth + elif rt == RotationType.HDW: + return self.height, self.depth, self.width + elif rt == RotationType.DHW: + return self.depth, self.height, self.width + elif rt == RotationType.DWH: + return self.depth, self.width, self.height + elif rt == RotationType.WDH: + return self.width, self.depth, self.height + raise ValueError(rt) + + def get_transformation(self) -> Matrix44: + """Returns the transformation matrix to transform the source entity + located with the minimum extension corner of its bounding box in + (0, 0, 0) to the final location including the required rotation. + """ + x, y, z = self.position + rt = self.rotation_type + if rt == RotationType.WHD: # width, height, depth + return Matrix44.translate(x, y, z) + if rt == RotationType.HWD: # height, width, depth + return Matrix44.z_rotate(PI_2) @ Matrix44.translate( + x + self.height, y, z + ) + if rt == RotationType.HDW: # height, depth, width + return Matrix44.xyz_rotate(PI_2, 0, PI_2) @ Matrix44.translate( + x + self.height, y + self.depth, z + ) + if rt == RotationType.DHW: # depth, height, width + return Matrix44.y_rotate(-PI_2) @ Matrix44.translate( + x + self.depth, y, z + ) + if rt == RotationType.DWH: # depth, width, height + return Matrix44.xyz_rotate(0, PI_2, PI_2) @ Matrix44.translate( + x, y, z + ) + if rt == RotationType.WDH: # width, depth, height + return Matrix44.x_rotate(PI_2) @ Matrix44.translate( + x, y + self.depth, z + ) + raise TypeError(rt) + + +class FlatItem(Item): + """2D container item, inherited from :class:`Item`. Has a default depth of + 1.0. + """ + + def __init__( + self, + payload, + width: float, + height: float, + weight: float = 0.0, + ): + super().__init__(payload, width, height, 1.0, weight) + + def _update_bbox(self) -> None: + v1 = Vec2(self._position) + self._bbox = BoundingBox2d([v1, v1 + Vec2(self.get_dimension())]) + + def __str__(self): + return ( + f"{str(self.payload)}({self.width}x{self.height}, " + f"weight: {self.weight}) pos({str(self.position)}) " + f"rt({self.rotation_type}) area({self.get_volume()})" + ) + + +class Bin: + def __init__( + self, + name, + width: float, + height: float, + depth: float, + max_weight: float = UNLIMITED_WEIGHT, + ): + self.name = name + self.width = float(width) + if self.width <= 0.0: + raise ValueError("invalid width") + self.height = float(height) + if self.height <= 0.0: + raise ValueError("invalid height") + self.depth = float(depth) + if self.depth <= 0.0: + raise ValueError("invalid depth") + self.max_weight = float(max_weight) + self.items: list[Item] = [] + + def __len__(self): + return len(self.items) + + def __iter__(self): + return iter(self.items) + + def copy(self): + """Returns a copy.""" + box = copy.copy(self) # shallow copy + box.items = list(self.items) + return box + + def reset(self): + """Reset the container to empty state.""" + self.items.clear() + + @property + def is_empty(self) -> bool: + return not len(self.items) + + def __str__(self) -> str: + return ( + f"{str(self.name)}({self.width:.3f}x{self.height:.3f}x{self.depth:.3f}, " + f"max_weight:{self.max_weight}) " + f"vol({self.get_capacity():.3f})" + ) + + def put_item(self, item: Item, pivot: tuple[float, float, float]) -> bool: + valid_item_position = item.position + item.position = pivot + x, y, z = pivot + + # Try all possible rotations: + for rotation_type in self.rotations(): + item.rotation_type = rotation_type + w, h, d = item.get_dimension() + if self.width < x + w or self.height < y + h or self.depth < z + d: + continue + # new item fits inside the box at he current location and rotation: + item_bbox = item.bbox + if ( + not any(item_bbox.has_intersection(i.bbox) for i in self.items) + and self.get_total_weight() + item.weight <= self.max_weight + ): + self.items.append(item) + return True + + item.position = valid_item_position + return False + + def get_capacity(self) -> float: + """Returns the maximum fill volume of the bin.""" + return self.width * self.height * self.depth + + def get_total_weight(self) -> float: + """Returns the total weight of all fitted items.""" + return sum(item.weight for item in self.items) + + def get_total_volume(self) -> float: + """Returns the total volume of all fitted items.""" + return sum(item.get_volume() for item in self.items) + + def get_fill_ratio(self) -> float: + """Return the fill ratio.""" + try: + return self.get_total_volume() / self.get_capacity() + except ZeroDivisionError: + return 0.0 + + def rotations(self) -> Iterable[RotationType]: + return RotationType + + +class Box(Bin): + """3D container inherited from :class:`Bin`.""" + + pass + + +class Envelope(Bin): + """2D container inherited from :class:`Bin`.""" + + def __init__( + self, + name, + width: float, + height: float, + max_weight: float = UNLIMITED_WEIGHT, + ): + super().__init__(name, width, height, 1.0, max_weight) + + def __str__(self) -> str: + return ( + f"{str(self.name)}({self.width:.3f}x{self.height:.3f}, " + f"max_weight:{self.max_weight}) " + f"area({self.get_capacity():.3f})" + ) + + def rotations(self) -> Iterable[RotationType]: + return RotationType.WHD, RotationType.HWD + + +def _smaller_first(bins: list, items: list) -> None: + # SMALLER_FIRST is often very bad! Especially for many in small + # amounts increasing sizes. + bins.sort(key=lambda b: b.get_capacity()) + items.sort(key=lambda i: i.get_volume()) + + +def _bigger_first(bins: list, items: list) -> None: + # BIGGER_FIRST is the best strategy + bins.sort(key=lambda b: b.get_capacity(), reverse=True) + items.sort(key=lambda i: i.get_volume(), reverse=True) + + +def _shuffle(bins: list, items: list) -> None: + # Better as SMALLER_FIRST + random.shuffle(bins) + random.shuffle(items) + + +PICK_STRATEGY = { + PickStrategy.SMALLER_FIRST: _smaller_first, + PickStrategy.BIGGER_FIRST: _bigger_first, + PickStrategy.SHUFFLE: _shuffle, +} + + +class AbstractPacker: + def __init__(self) -> None: + self.bins: list[Bin] = [] + self.items: list[Item] = [] + self._init_state = True + + def copy(self): + """Copy packer in init state to apply different pack strategies.""" + if self.is_packed: + raise TypeError("cannot copy packed state") + if not all(box.is_empty for box in self.bins): + raise TypeError("bins contain data in unpacked state") + packer = self.__class__() + packer.bins = [box.copy() for box in self.bins] + packer.items = [item.copy() for item in self.items] + return packer + + @property + def is_packed(self) -> bool: + """Returns ``True`` if packer is packed, each packer can only be used + once. + """ + return not self._init_state + + @property + def unfitted_items(self) -> list[Item]: # just an alias + """Returns the unfitted items.""" + return self.items + + def __str__(self) -> str: + fill = "" + if self.is_packed: + fill = f", fill ratio: {self.get_fill_ratio()}" + return f"{self.__class__.__name__}, {len(self.bins)} bins{fill}" + + def append_bin(self, box: Bin) -> None: + """Append a container.""" + if self.is_packed: + raise TypeError("cannot append bins to packed state") + if not box.is_empty: + raise TypeError("cannot append bins with content") + self.bins.append(box) + + def append_item(self, item: Item) -> None: + """Append a item.""" + if self.is_packed: + raise TypeError("cannot append items to packed state") + self.items.append(item) + + def get_fill_ratio(self) -> float: + """Return the fill ratio of all bins.""" + total_capacity = self.get_capacity() + if total_capacity == 0.0: + return 0.0 + return self.get_total_volume() / total_capacity + + def get_capacity(self) -> float: + """Returns the maximum fill volume of all bins.""" + return sum(box.get_capacity() for box in self.bins) + + def get_total_weight(self) -> float: + """Returns the total weight of all fitted items in all bins.""" + return sum(box.get_total_weight() for box in self.bins) + + def get_total_volume(self) -> float: + """Returns the total volume of all fitted items in all bins.""" + return sum(box.get_total_volume() for box in self.bins) + + def get_unfitted_volume(self) -> float: + """Returns the total volume of all unfitted items.""" + return sum(item.get_volume() for item in self.items) + + def pack(self, pick=PickStrategy.BIGGER_FIRST) -> None: + """Pack items into bins. Distributes all items across all bins.""" + PICK_STRATEGY[pick](self.bins, self.items) + # items are removed from self.items while packing! + self._pack(self.bins, list(self.items)) + # unfitted items remain in self.items + + def _pack(self, bins: Iterable[Bin], items: Iterable[Item]) -> None: + """Pack items into bins, removes packed items from self.items!""" + self._init_state = False + for box in bins: + for item in items: + if self.pack_to_bin(box, item): + self.items.remove(item) + # unfitted items remain in self.items + + def pack_to_bin(self, box: Bin, item: Item) -> bool: + if not box.items: + return box.put_item(item, START_POSITION) + + for axis in self._axis(): + for placed_item in box.items: + w, h, d = placed_item.get_dimension() + x, y, z = placed_item.position + if axis == Axis.WIDTH: + pivot = (x + w, y, z) # new item right of the placed item + elif axis == Axis.HEIGHT: + pivot = (x, y + h, z) # new item above of the placed item + elif axis == Axis.DEPTH: + pivot = (x, y, z + d) # new item on top of the placed item + else: + raise TypeError(axis) + if box.put_item(item, pivot): + return True + return False + + @staticmethod + def _axis() -> Iterable[Axis]: + return Axis + + +def shuffle_pack(packer: AbstractPacker, attempts: int) -> AbstractPacker: + """Random shuffle packing. Returns a new packer with the best packing result, + the input packer is unchanged. + """ + if attempts < 1: + raise ValueError("expected attempts >= 1") + best_ratio = 0.0 + best_packer = packer + for _ in range(attempts): + new_packer = packer.copy() + new_packer.pack(PickStrategy.SHUFFLE) + new_ratio = new_packer.get_fill_ratio() + if new_ratio > best_ratio: + best_ratio = new_ratio + best_packer = new_packer + return best_packer + + +def pack_item_subset( + packer: AbstractPacker, picker: Iterable, strategy=PickStrategy.BIGGER_FIRST +) -> None: + """Pack a subset of `packer.items`, which are chosen by an iterable + yielding a True or False value for each item. + """ + assert packer.is_packed is False + chosen, rejects = get_item_subset(packer.items, picker) + packer.items = chosen + packer.pack(strategy) # unfitted items remain in packer.items + packer.items.extend(rejects) # append rejects as unfitted items + + +def get_item_subset( + items: list[Item], picker: Iterable +) -> tuple[list[Item], list[Item]]: + """Returns a subset of `items`, where items are chosen by an iterable + yielding a True or False value for each item. + """ + chosen: list[Item] = [] + rejects: list[Item] = [] + count = 0 + for item, pick in zip(items, picker): + count += 1 + if pick: + chosen.append(item) + else: + rejects.append(item) + + if count < len(items): # too few pick values given + rejects.extend(items[count:]) + return chosen, rejects + + +class SubSetEvaluator(ga.Evaluator): + def __init__(self, packer: AbstractPacker): + self.packer = packer + + def evaluate(self, dna: ga.DNA) -> float: + packer = self.run_packer(dna) + return packer.get_fill_ratio() + + def run_packer(self, dna: ga.DNA) -> AbstractPacker: + packer = self.packer.copy() + pack_item_subset(packer, dna) + return packer + + +class Packer(AbstractPacker): + """3D Packer inherited from :class:`AbstractPacker`.""" + + def add_bin( + self, + name: str, + width: float, + height: float, + depth: float, + max_weight: float = UNLIMITED_WEIGHT, + ) -> Box: + """Add a 3D :class:`Box` container.""" + box = Box(name, width, height, depth, max_weight) + self.append_bin(box) + return box + + def add_item( + self, + payload, + width: float, + height: float, + depth: float, + weight: float = 0.0, + ) -> Item: + """Add a 3D :class:`Item` to pack.""" + item = Item(payload, width, height, depth, weight) + self.append_item(item) + return item + + +class FlatPacker(AbstractPacker): + """2D Packer inherited from :class:`AbstractPacker`. All containers and + items used by this packer must have a depth of 1.""" + + def add_bin( + self, + name: str, + width: float, + height: float, + max_weight: float = UNLIMITED_WEIGHT, + ) -> Envelope: + """Add a 2D :class:`Envelope` container.""" + envelope = Envelope(name, width, height, max_weight) + self.append_bin(envelope) + return envelope + + def add_item( + self, + payload, + width: float, + height: float, + weight: float = 0.0, + ) -> Item: + """Add a 2D :class:`FlatItem` to pack.""" + item = FlatItem(payload, width, height, weight) + self.append_item(item) + return item + + @staticmethod + def _axis() -> Iterable[Axis]: + return Axis.WIDTH, Axis.HEIGHT + + +def export_dxf( + layout: "GenericLayoutType", bins: list[Bin], offset: UVec = (1, 0, 0) +) -> None: + from ezdxf import colors + + offset_vec = Vec3(offset) + start = Vec3() + index = 0 + rgb = (colors.RED, colors.GREEN, colors.BLUE, colors.MAGENTA, colors.CYAN) + for box in bins: + m = Matrix44.translate(start.x, start.y, start.z) + _add_frame(layout, box, "FRAME", m) + for item in box.items: + _add_mesh(layout, item, "ITEMS", rgb[index], m) + index += 1 + if index >= len(rgb): + index = 0 + start += offset_vec + + +def _add_frame(layout: "GenericLayoutType", box: Bin, layer: str, m: Matrix44): + def add_line(v1, v2): + line = layout.add_line(v1, v2, dxfattribs=attribs) + line.transform(m) + + attribs = {"layer": layer} + x0, y0, z0 = (0.0, 0.0, 0.0) + x1 = float(box.width) + y1 = float(box.height) + z1 = float(box.depth) + corners = [ + (x0, y0), + (x1, y0), + (x1, y1), + (x0, y1), + (x0, y0), + ] + for (sx, sy), (ex, ey) in zip(corners, corners[1:]): + add_line((sx, sy, z0), (ex, ey, z0)) + add_line((sx, sy, z1), (ex, ey, z1)) + for x, y in corners[:-1]: + add_line((x, y, z0), (x, y, z1)) + + text = layout.add_text(box.name, height=0.25, dxfattribs=attribs) + text.set_placement((x0 + 0.25, y1 - 0.5, z1)) + text.transform(m) + + +def _add_mesh( + layout: "GenericLayoutType", item: Item, layer: str, color: int, m: Matrix44 +): + from ezdxf.render.forms import cube + + attribs = { + "layer": layer, + "color": color, + } + mesh = cube(center=False) + sx, sy, sz = item.get_dimension() + mesh.scale(sx, sy, sz) + x, y, z = item.position + mesh.translate(x, y, z) + mesh.render_polyface(layout, attribs, matrix=m) + text = layout.add_text( + str(item.payload), height=0.25, dxfattribs={"layer": "TEXT"} + ) + if sy > sx: + text.dxf.rotation = 90 + align = TextEntityAlignment.TOP_LEFT + else: + align = TextEntityAlignment.BOTTOM_LEFT + text.set_placement((x + 0.25, y + 0.25, z + sz), align=align) + text.transform(m) diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/addons/dimlines.py b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/addons/dimlines.py new file mode 100644 index 0000000000000000000000000000000000000000..cb5a4f3e0180cb3bd114c208ef4107853b8ed8e9 --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/addons/dimlines.py @@ -0,0 +1,766 @@ +# Copyright (c) 2010-2022, Manfred Moitzi +# License: MIT License +"""Dimension lines as composite entities build up by DXF primitives. + +This add-on exist just for an easy transition from `dxfwrite` to `ezdxf`. + +Classes +------- + +- LinearDimension +- AngularDimension +- ArcDimension +- RadiusDimension +- DimStyle + +This code was written long before I had any understanding of the DIMENSION +entity and therefore, the classes have completely different implementations and +styling features than the dimensions based on the DIMENSION entity . + +.. warning:: + + Try to not use these classes beside porting `dxfwrite` code to `ezdxf` + and even for that case the usage of the regular DIMENSION entity is to + prefer because this module will not get much maintenance and may be removed + in the future. + +""" +from __future__ import annotations +from typing import Any, TYPE_CHECKING, Iterable, Optional +from math import radians, degrees, pi +from abc import abstractmethod +from ezdxf.enums import TextEntityAlignment +from ezdxf.math import Vec3, Vec2, distance, lerp, ConstructionRay, UVec + +if TYPE_CHECKING: + from ezdxf.document import Drawing + from ezdxf.eztypes import GenericLayoutType + +DIMENSIONS_MIN_DISTANCE = 0.05 +DIMENSIONS_FLOATINGPOINT = "." + +ANGLE_DEG = 180.0 / pi +ANGLE_GRAD = 200.0 / pi +ANGLE_RAD = 1.0 + + +class DimStyle(dict): + """DimStyle parameter struct, a dumb object just to store values + """ + + default_values = [ + # tick block name, use setup to generate default blocks + ("tick", "DIMTICK_ARCH"), + # scale factor for ticks-block + ("tickfactor", 1.0), + # tick2x means tick is drawn only for one side, insert tick a second + # time rotated about 180 degree, but only one time at the dimension line + # ends, this is useful for arrow-like ticks. hint: set dimlineext to 0. + ("tick2x", False), + # dimension value scale factor, value = drawing-units * scale + ("scale", 100.0), + # round dimension value to roundval fractional digits + ("roundval", 0), + # round dimension value to half units, round 0.4, 0.6 to 0.5 + ("roundhalf", False), + # dimension value text color + ("textcolor", 7), + # dimension value text height + ("height", 0.5), + # dimension text prefix and suffix like 'x=' ... ' cm' + ("prefix", ""), + ("suffix", ""), + # dimension value text style + ("style", "OpenSansCondensed-Light"), + # default layer for whole dimension object + ("layer", "DIMENSIONS"), + # dimension line color index (0 from layer) + ("dimlinecolor", 7), + # dimension line extensions (in dimline direction, left and right) + ("dimlineext", 0.3), + # draw dimension value text `textabove` drawing-units above the + # dimension line + ("textabove", 0.2), + # switch extension line False=off, True=on + ("dimextline", True), + # dimension extension line color index (0 from layer) + ("dimextlinecolor", 5), + # gap between measure target point and end of extension line + ("dimextlinegap", 0.3), + ] + + def __init__(self, name: str, **kwargs): + super().__init__(DimStyle.default_values) + # dimstyle name + self["name"] = name + self.update(kwargs) + + def __getattr__(self, attr: str) -> Any: + return self[attr] + + def __setattr__(self, attr: str, value: Any) -> None: + self[attr] = value + + +class DimStyles: + """ + DimStyle container + + """ + + def __init__(self) -> None: + self._styles: dict[str, DimStyle] = {} + self.default = DimStyle("Default") + + self.new( + "angle.deg", + scale=ANGLE_DEG, + suffix=str("°"), + roundval=0, + tick="DIMTICK_RADIUS", + tick2x=True, + dimlineext=0.0, + dimextline=False, + ) + self.new( + "angle.grad", + scale=ANGLE_GRAD, + suffix="gon", + roundval=0, + tick="DIMTICK_RADIUS", + tick2x=True, + dimlineext=0.0, + dimextline=False, + ) + self.new( + "angle.rad", + scale=ANGLE_RAD, + suffix="rad", + roundval=3, + tick="DIMTICK_RADIUS", + tick2x=True, + dimlineext=0.0, + dimextline=False, + ) + + def get(self, name: str) -> DimStyle: + """ + Get DimStyle() object by name. + """ + return self._styles.get(name, self.default) + + def new(self, name: str, **kwargs) -> DimStyle: + """ + Create a new dimstyle + """ + style = DimStyle(name, **kwargs) + self._styles[name] = style + return style + + @staticmethod + def setup(drawing: "Drawing"): + """ + Insert necessary definitions into drawing: + + ticks: DIMTICK_ARCH, DIMTICK_DOT, DIMTICK_ARROW + """ + # default pen assignment: + # 1 : 1.40mm - red + # 2 : 0.35mm - yellow + # 3 : 0.70mm - green + # 4 : 0.50mm - cyan + # 5 : 0.13mm - blue + # 6 : 1.00mm - magenta + # 7 : 0.25mm - white/black + # 8, 9 : 2.00mm + # >=10 : 1.40mm + + dimcolor = { + "color": dimstyles.default.dimextlinecolor, + "layer": "BYBLOCK", + } + color4 = {"color": 4, "layer": "BYBLOCK"} + color7 = {"color": 7, "layer": "BYBLOCK"} + + block = drawing.blocks.new("DIMTICK_ARCH") + block.add_line(start=(0.0, +0.5), end=(0.0, -0.5), dxfattribs=dimcolor) + block.add_line(start=(-0.2, -0.2), end=(0.2, +0.2), dxfattribs=color4) + + block = drawing.blocks.new("DIMTICK_DOT") + block.add_line(start=(0.0, 0.5), end=(0.0, -0.5), dxfattribs=dimcolor) + block.add_circle(center=(0, 0), radius=0.1, dxfattribs=color4) + + block = drawing.blocks.new("DIMTICK_ARROW") + + block.add_line(start=(0.0, 0.5), end=(0.0, -0.50), dxfattribs=dimcolor) + block.add_solid([(0, 0), (0.3, 0.05), (0.3, -0.05)], dxfattribs=color7) + + block = drawing.blocks.new("DIMTICK_RADIUS") + block.add_solid( + [(0, 0), (0.3, 0.05), (0.25, 0.0), (0.3, -0.05)], dxfattribs=color7 + ) + + +dimstyles = DimStyles() # use this factory to create new dimstyles + + +class _DimensionBase: + """ + Abstract base class for dimension lines. + + """ + + def __init__(self, dimstyle: str, layer: str, roundval: int): + self.dimstyle = dimstyles.get(dimstyle) + self.layer = layer + self.roundval = roundval + + def prop(self, property_name: str) -> Any: + """ + Get dimension line properties by `property_name` with the possibility to override several properties. + """ + if property_name == "layer": + return self.layer if self.layer is not None else self.dimstyle.layer + elif property_name == "roundval": + return ( + self.roundval + if self.roundval is not None + else self.dimstyle.roundval + ) + else: # pass through self.dimstyle object DimStyle() + return self.dimstyle[property_name] + + def format_dimtext(self, dimvalue: float) -> str: + """ + Format the dimension text. + """ + dimtextfmt = "%." + str(self.prop("roundval")) + "f" + dimtext = dimtextfmt % dimvalue + if DIMENSIONS_FLOATINGPOINT in dimtext: + # remove successional zeros + dimtext.rstrip("0") + # remove floating point as last char + dimtext.rstrip(DIMENSIONS_FLOATINGPOINT) + return self.prop("prefix") + dimtext + self.prop("suffix") + + @abstractmethod + def render(self, layout: "GenericLayoutType"): + pass + + +class LinearDimension(_DimensionBase): + """ + Simple straight dimension line with two or more measure points, build with basic DXF entities. This is NOT a dxf + dimension entity. And This is a 2D element, so all z-values will be ignored! + + """ + + def __init__( + self, + pos: UVec, + measure_points: Iterable[UVec], + angle: float = 0.0, + dimstyle: str = "Default", + layer: Optional[str] = None, + roundval: Optional[int] = None, + ): + """ + LinearDimension Constructor. + + Args: + pos: location as (x, y) tuple of dimension line, line goes through this point + measure_points: list of points as (x, y) tuples to dimension (two or more) + angle: angle (in degree) of dimension line + dimstyle: dimstyle name, 'Default' - style is the default value + layer: dimension line layer, override the default value of dimstyle + roundval: count of decimal places + + """ + super().__init__(dimstyle, layer, roundval) # type: ignore + self.angle = angle + self.measure_points = list(measure_points) + self.text_override = [""] * self.section_count + self.dimlinepos = Vec3(pos) + self.layout = None + + def set_text(self, section: int, text: str) -> None: + """ + Set and override the text of the dimension text for the given dimension line section. + """ + self.text_override[section] = text + + def _setup(self) -> None: + """ + Calc setup values and determines the point order of the dimension line points. + """ + self.measure_points = [Vec3(point) for point in self.measure_points] + dimlineray = ConstructionRay(self.dimlinepos, angle=radians(self.angle)) + self.dimline_points = [ + self._get_point_on_dimline(point, dimlineray) + for point in self.measure_points + ] + self.point_order = self._indices_of_sorted_points(self.dimline_points) + self._build_vectors() + + def _get_dimline_point(self, index: int) -> UVec: + """ + Get point on the dimension line, index runs left to right. + """ + return self.dimline_points[self.point_order[index]] + + def _get_section_points(self, section: int) -> tuple[Vec3, Vec3]: + """ + Get start and end point on the dimension line of dimension section. + """ + return self._get_dimline_point(section), self._get_dimline_point( + section + 1 + ) + + def _get_dimline_bounds(self) -> tuple[Vec3, Vec3]: + """ + Get the first and the last point of dimension line. + """ + return self._get_dimline_point(0), self._get_dimline_point(-1) + + @property + def section_count(self) -> int: + """count of dimline sections""" + return len(self.measure_points) - 1 + + @property + def point_count(self) -> int: + """count of dimline points""" + return len(self.measure_points) + + def render(self, layout: "GenericLayoutType") -> None: + """build dimension line object with basic dxf entities""" + self._setup() + self._draw_dimline(layout) + if self.prop("dimextline"): + self._draw_extension_lines(layout) + self._draw_text(layout) + self._draw_ticks(layout) + + @staticmethod + def _indices_of_sorted_points(points: Iterable[UVec]) -> list[int]: + """get indices of points, for points sorted by x, y values""" + indexed_points = [(point, idx) for idx, point in enumerate(points)] + indexed_points.sort() + return [idx for point, idx in indexed_points] + + def _build_vectors(self) -> None: + """build unit vectors, parallel and normal to dimension line""" + point1, point2 = self._get_dimline_bounds() + self.parallel_vector = (Vec3(point2) - Vec3(point1)).normalize() + self.normal_vector = self.parallel_vector.orthogonal() + + @staticmethod + def _get_point_on_dimline(point: UVec, dimray: ConstructionRay) -> Vec3: + """get the measure target point projection on the dimension line""" + return dimray.intersect(dimray.orthogonal(point)) + + def _draw_dimline(self, layout: "GenericLayoutType") -> None: + """build dimension line entity""" + start_point, end_point = self._get_dimline_bounds() + + dimlineext = self.prop("dimlineext") + if dimlineext > 0: + start_point = start_point - (self.parallel_vector * dimlineext) + end_point = end_point + (self.parallel_vector * dimlineext) + + attribs = { + "color": self.prop("dimlinecolor"), + "layer": self.prop("layer"), + } + layout.add_line( + start=start_point, + end=end_point, + dxfattribs=attribs, + ) + + def _draw_extension_lines(self, layout: "GenericLayoutType") -> None: + """build the extension lines entities""" + dimextlinegap = self.prop("dimextlinegap") + attribs = { + "color": self.prop("dimlinecolor"), + "layer": self.prop("layer"), + } + + for dimline_point, target_point in zip( + self.dimline_points, self.measure_points + ): + if distance(dimline_point, target_point) > max( + dimextlinegap, DIMENSIONS_MIN_DISTANCE + ): + direction_vector = (target_point - dimline_point).normalize() + target_point = target_point - (direction_vector * dimextlinegap) + layout.add_line( + start=dimline_point, + end=target_point, + dxfattribs=attribs, + ) + + def _draw_text(self, layout: "GenericLayoutType") -> None: + """build the dimension value text entity""" + attribs = { + "height": self.prop("height"), + "color": self.prop("textcolor"), + "layer": self.prop("layer"), + "rotation": self.angle, + "style": self.prop("style"), + } + for section in range(self.section_count): + dimvalue_text = self._get_dimvalue_text(section) + insert_point = self._get_text_insert_point(section) + layout.add_text( + text=dimvalue_text, + dxfattribs=attribs, + ).set_placement( + insert_point, align=TextEntityAlignment.MIDDLE_CENTER + ) + + def _get_dimvalue_text(self, section: int) -> str: + """get the dimension value as text, distance from point1 to point2""" + override = self.text_override[section] + if len(override): + return override + point1, point2 = self._get_section_points(section) + + dimvalue = distance(point1, point2) * self.prop("scale") + return self.format_dimtext(dimvalue) + + def _get_text_insert_point(self, section: int) -> Vec3: + """get the dimension value text insert point""" + point1, point2 = self._get_section_points(section) + dist = self.prop("height") / 2.0 + self.prop("textabove") + return lerp(point1, point2) + (self.normal_vector * dist) + + def _draw_ticks(self, layout: "GenericLayoutType") -> None: + """insert the dimension line ticks, (markers on the dimension line)""" + attribs = { + "xscale": self.prop("tickfactor"), + "yscale": self.prop("tickfactor"), + "layer": self.prop("layer"), + } + + def add_tick(index: int, rotate: bool = False) -> None: + """build the insert-entity for the tick block""" + attribs["rotation"] = self.angle + (180.0 if rotate else 0.0) + layout.add_blockref( + insert=self._get_dimline_point(index), + name=self.prop("tick"), + dxfattribs=attribs, + ) + + if self.prop("tick2x"): + for index in range(0, self.point_count - 1): + add_tick(index, False) + for index in range(1, self.point_count): + add_tick(index, True) + else: + for index in range(self.point_count): + add_tick(index, False) + + +class AngularDimension(_DimensionBase): + """ + Draw an angle dimensioning line at dimline pos from start to end, dimension text is the angle build of the three + points start-center-end. + + """ + + DEG = ANGLE_DEG + GRAD = ANGLE_GRAD + RAD = ANGLE_RAD + + def __init__( + self, + pos: UVec, + center: UVec, + start: UVec, + end: UVec, + dimstyle: str = "angle.deg", + layer: Optional[str] = None, + roundval: Optional[int] = None, + ): + """ + AngularDimension constructor. + + Args: + pos: location as (x, y) tuple of dimension line, line goes through this point + center: center point as (x, y) tuple of angle + start: line from center to start is the first side of the angle + end: line from center to end is the second side of the angle + dimstyle: dimstyle name, 'Default' - style is the default value + layer: dimension line layer, override the default value of dimstyle + roundval: count of decimal places + + """ + super().__init__(dimstyle, layer, roundval) # type: ignore + self.dimlinepos = Vec3(pos) + self.center = Vec3(center) + self.start = Vec3(start) + self.end = Vec3(end) + + def _setup(self) -> None: + """setup calculation values""" + self.pos_radius = distance(self.center, self.dimlinepos) # type: float + self.radius = distance(self.center, self.start) # type: float + self.start_vector = (self.start - self.center).normalize() # type: Vec3 + self.end_vector = (self.end - self.center).normalize() # type: Vec3 + self.start_angle = self.start_vector.angle # type: float + self.end_angle = self.end_vector.angle # type: float + + def render(self, layout: "GenericLayoutType") -> None: + """build dimension line object with basic dxf entities""" + + self._setup() + self._draw_dimension_line(layout) + if self.prop("dimextline"): + self._draw_extension_lines(layout) + self._draw_dimension_text(layout) + self._draw_ticks(layout) + + def _draw_dimension_line(self, layout: "GenericLayoutType") -> None: + """draw the dimension line from start- to endangle.""" + layout.add_arc( + radius=self.pos_radius, + center=self.center, + start_angle=degrees(self.start_angle), + end_angle=degrees(self.end_angle), + dxfattribs={ + "layer": self.prop("layer"), + "color": self.prop("dimlinecolor"), + }, + ) + + def _draw_extension_lines(self, layout: "GenericLayoutType") -> None: + """build the extension lines entities""" + for vector in [self.start_vector, self.end_vector]: + layout.add_line( + start=self._get_extline_start(vector), + end=self._get_extline_end(vector), + dxfattribs={ + "layer": self.prop("layer"), + "color": self.prop("dimextlinecolor"), + }, + ) + + def _get_extline_start(self, vector: Vec3) -> Vec3: + return self.center + (vector * self.prop("dimextlinegap")) + + def _get_extline_end(self, vector: Vec3) -> Vec3: + return self.center + (vector * self.pos_radius) + + def _draw_dimension_text(self, layout: "GenericLayoutType") -> None: + attribs = { + "height": self.prop("height"), + "rotation": degrees( + (self.start_angle + self.end_angle) / 2 - pi / 2.0 + ), + "layer": self.prop("layer"), + "style": self.prop("style"), + "color": self.prop("textcolor"), + } + layout.add_text( + text=self._get_dimtext(), + dxfattribs=attribs, + ).set_placement( + self._get_text_insert_point(), + align=TextEntityAlignment.MIDDLE_CENTER, + ) + + def _get_text_insert_point(self) -> Vec3: + midvector = ((self.start_vector + self.end_vector) / 2.0).normalize() + length = ( + self.pos_radius + self.prop("textabove") + self.prop("height") / 2.0 + ) + return self.center + (midvector * length) + + def _draw_ticks(self, layout: "GenericLayoutType") -> None: + attribs = { + "xscale": self.prop("tickfactor"), + "yscale": self.prop("tickfactor"), + "layer": self.prop("layer"), + } + for vector, mirror in [ + (self.start_vector, False), + (self.end_vector, self.prop("tick2x")), + ]: + insert_point = self.center + (vector * self.pos_radius) + rotation = vector.angle + pi / 2.0 + attribs["rotation"] = degrees(rotation + (pi if mirror else 0.0)) + layout.add_blockref( + insert=insert_point, + name=self.prop("tick"), + dxfattribs=attribs, + ) + + def _get_dimtext(self) -> str: + # set scale = ANGLE_DEG for degrees (circle = 360 deg) + # set scale = ANGLE_GRAD for grad(circle = 400 grad) + # set scale = ANGLE_RAD for rad(circle = 2*pi) + angle = (self.end_angle - self.start_angle) * self.prop("scale") + return self.format_dimtext(angle) + + +class ArcDimension(AngularDimension): + """ + Arc is defined by start- and endpoint on arc and the center point, or by three points lying on the arc if acr3points + is True. Measured length goes from start- to endpoint. The dimension line goes through the dimlinepos. + + """ + + def __init__( + self, + pos: UVec, + center: UVec, + start: UVec, + end: UVec, + arc3points: bool = False, + dimstyle: str = "Default", + layer: Optional[str] = None, + roundval: Optional[int] = None, + ): + """ + Args: + pos: location as (x, y) tuple of dimension line, line goes through this point + center: center point of arc + start: start point of arc + end: end point of arc + arc3points: if **True** arc is defined by three points on the arc (center, start, end) + dimstyle: dimstyle name, 'Default' - style is the default value + layer: dimension line layer, override the default value of dimstyle + roundval: count of decimal places + + """ + super().__init__(pos, center, start, end, dimstyle, layer, roundval) + self.arc3points = arc3points + + def _setup(self) -> None: + super()._setup() + if self.arc3points: + self.center = center_of_3points_arc( + self.center, self.start, self.end + ) + + def _get_extline_start(self, vector: Vec3) -> Vec3: + return self.center + ( + vector * (self.radius + self.prop("dimextlinegap")) + ) + + def _get_extline_end(self, vector: Vec3) -> Vec3: + return self.center + (vector * self.pos_radius) + + def _get_dimtext(self) -> str: + arc_length = ( + (self.end_angle - self.start_angle) + * self.radius + * self.prop("scale") + ) + return self.format_dimtext(arc_length) + + +class RadialDimension(_DimensionBase): + """ + Draw a radius dimension line from `target` in direction of `center` with length drawing units. RadiusDimension has + a special tick!! + """ + + def __init__( + self, + center: UVec, + target: UVec, + length: float = 1.0, + dimstyle: str = "Default", + layer: Optional[str] = None, + roundval: Optional[int] = None, + ): + """ + Args: + center: center point of radius + target: target point of radius + length: length of radius arrow (drawing length) + dimstyle: dimstyle name, 'Default' - style is the default value + layer: dimension line layer, override the default value of dimstyle + roundval: count of decimal places + + """ + super().__init__(dimstyle, layer, roundval) # type: ignore + self.center = Vec3(center) + self.target = Vec3(target) + self.length = float(length) + + def _setup(self) -> None: + self.target_vector = ( + self.target - self.center + ).normalize() # type: Vec3 + self.radius = distance(self.center, self.target) # type: float + + def render(self, layout: "GenericLayoutType") -> None: + """build dimension line object with basic dxf entities""" + self._setup() + self._draw_dimension_line(layout) + self._draw_dimension_text(layout) + self._draw_ticks(layout) + + def _draw_dimension_line(self, layout: "GenericLayoutType") -> None: + start_point = self.center + ( + self.target_vector * (self.radius - self.length) + ) + layout.add_line( + start=start_point, + end=self.target, + dxfattribs={ + "color": self.prop("dimlinecolor"), + "layer": self.prop("layer"), + }, + ) + + def _draw_dimension_text(self, layout: "GenericLayoutType") -> None: + layout.add_text( + text=self._get_dimtext(), + dxfattribs={ + "height": self.prop("height"), + "rotation": self.target_vector.angle_deg, + "layer": self.prop("layer"), + "style": self.prop("style"), + "color": self.prop("textcolor"), + }, + ).set_placement( + self._get_insert_point(), align=TextEntityAlignment.MIDDLE_RIGHT + ) + + def _get_insert_point(self) -> Vec3: + return self.target - ( + self.target_vector * (self.length + self.prop("textabove")) + ) + + def _get_dimtext(self) -> str: + return self.format_dimtext(self.radius * self.prop("scale")) + + def _draw_ticks(self, layout: "GenericLayoutType") -> None: + layout.add_blockref( + insert=self.target, + name="DIMTICK_RADIUS", + dxfattribs={ + "rotation": self.target_vector.angle_deg + 180, + "xscale": self.prop("tickfactor"), + "yscale": self.prop("tickfactor"), + "layer": self.prop("layer"), + }, + ) + + +def center_of_3points_arc(point1: UVec, point2: UVec, point3: UVec) -> Vec2: + """ + Calc center point of 3 point arc. ConstructionCircle is defined by 3 points + on the circle: point1, point2 and point3. + """ + ray1 = ConstructionRay(point1, point2) + ray2 = ConstructionRay(point1, point3) + midpoint1 = lerp(point1, point2) + midpoint2 = lerp(point1, point3) + center_ray1 = ray1.orthogonal(midpoint1) + center_ray2 = ray2.orthogonal(midpoint2) + return center_ray1.intersect(center_ray2) diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/addons/dxf2code.py b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/addons/dxf2code.py new file mode 100644 index 0000000000000000000000000000000000000000..0188254c238d16582c7e4487817aa315c8d38f50 --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/addons/dxf2code.py @@ -0,0 +1,904 @@ +# Copyright (c) 2019-2024, Manfred Moitzi +# License: MIT License +from __future__ import annotations +from typing import TYPE_CHECKING, Iterable, Mapping, Optional +import json + +from ezdxf.sections.tables import TABLENAMES +from ezdxf.lldxf.tags import Tags +from ezdxf.entities import BoundaryPathType, EdgeType +import numpy as np + +if TYPE_CHECKING: + from ezdxf.lldxf.types import DXFTag + from ezdxf.entities import ( + Insert, + MText, + LWPolyline, + Polyline, + Spline, + Leader, + Dimension, + Image, + Mesh, + Hatch, + MPolygon, + Wipeout, + ) + from ezdxf.entities import DXFEntity, Linetype + from ezdxf.entities.polygon import DXFPolygon + from ezdxf.layouts import BlockLayout + +__all__ = [ + "entities_to_code", + "block_to_code", + "table_entries_to_code", + "black", +] + + +def black(code: str, line_length=88, fast: bool = True) -> str: + """Returns the source `code` as a single string formatted by `Black`_ + + Requires the installed `Black`_ formatter:: + + pip3 install black + + Args: + code: source code + line_length: max. source code line length + fast: ``True`` for fast mode, ``False`` to check that the reformatted + code is valid + + Raises: + ImportError: Black is not available + + .. _black: https://pypi.org/project/black/ + + """ + + import black + + mode = black.FileMode() + mode.line_length = line_length + return black.format_file_contents(code, fast=fast, mode=mode) + + +def entities_to_code( + entities: Iterable[DXFEntity], + layout: str = "layout", + ignore: Optional[Iterable[str]] = None, +) -> Code: + """ + Translates DXF entities into Python source code to recreate this entities + by ezdxf. + + Args: + entities: iterable of DXFEntity + layout: variable name of the layout (model space or block) as string + ignore: iterable of entities types to ignore as strings + like ``['IMAGE', 'DIMENSION']`` + + Returns: + :class:`Code` + + """ + code = _SourceCodeGenerator(layout=layout) + code.translate_entities(entities, ignore=ignore) + return code.code + + +def block_to_code( + block: BlockLayout, + drawing: str = "doc", + ignore: Optional[Iterable[str]] = None, +) -> Code: + """ + Translates a BLOCK into Python source code to recreate the BLOCK by ezdxf. + + Args: + block: block definition layout + drawing: variable name of the drawing as string + ignore: iterable of entities types to ignore as strings + like ['IMAGE', 'DIMENSION'] + + Returns: + :class:`Code` + + """ + assert block.block is not None + dxfattribs = _purge_handles(block.block.dxfattribs()) + block_name = dxfattribs.pop("name") + base_point = dxfattribs.pop("base_point") + code = _SourceCodeGenerator(layout="b") + prolog = f'b = {drawing}.blocks.new("{block_name}", base_point={base_point}, dxfattribs={{' + code.add_source_code_line(prolog) + code.add_source_code_lines(_fmt_mapping(dxfattribs, indent=4)) + code.add_source_code_line(" }") + code.add_source_code_line(")") + code.translate_entities(block, ignore=ignore) + return code.code + + +def table_entries_to_code( + entities: Iterable[DXFEntity], drawing="doc" +) -> Code: + code = _SourceCodeGenerator(doc=drawing) + code.translate_entities(entities) + return code.code + + +class Code: + """Source code container.""" + + def __init__(self) -> None: + self.code: list[str] = [] + # global imports -> indentation level 0: + self.imports: set[str] = set() + # layer names as string: + self.layers: set[str] = set() + # text style name as string, requires a TABLE entry: + self.styles: set[str] = set() + # line type names as string, requires a TABLE entry: + self.linetypes: set[str] = set() + # dimension style names as string, requires a TABLE entry: + self.dimstyles: set[str] = set() + # block names as string, requires a BLOCK definition: + self.blocks: set[str] = set() + + def code_str(self, indent: int = 0) -> str: + """Returns the source code as a single string. + + Args: + indent: source code indentation count by spaces + + """ + lead_str = " " * indent + return "\n".join(lead_str + line for line in self.code) + + def black_code_str(self, line_length=88) -> str: + """Returns the source code as a single string formatted by `Black`_ + + Args: + line_length: max. source code line length + + Raises: + ImportError: Black is not available + + """ + return black(self.code_str(), line_length) + + def __str__(self) -> str: + """Returns the source code as a single string.""" + + return self.code_str() + + def import_str(self, indent: int = 0) -> str: + """Returns required imports as a single string. + + Args: + indent: source code indentation count by spaces + + """ + lead_str = " " * indent + return "\n".join(lead_str + line for line in self.imports) + + def add_import(self, statement: str) -> None: + """Add import statement, identical import statements are merged + together. + """ + self.imports.add(statement) + + def add_line(self, code: str, indent: int = 0) -> None: + """Add a single source code line without line ending ``\\n``.""" + self.code.append(" " * indent + code) + + def add_lines(self, code: Iterable[str], indent: int = 0) -> None: + """Add multiple source code lines without line ending ``\\n``.""" + for line in code: + self.add_line(line, indent=indent) + + def merge(self, code: Code, indent: int = 0) -> None: + """Add another :class:`Code` object.""" + # merge used resources + self.imports.update(code.imports) + self.layers.update(code.layers) + self.linetypes.update(code.linetypes) + self.styles.update(code.styles) + self.dimstyles.update(code.dimstyles) + self.blocks.update(code.blocks) + + # append source code lines + self.add_lines(code.code, indent=indent) + + +_PURGE_DXF_ATTRIBUTES = { + "handle", + "owner", + "paperspace", + "material_handle", + "visualstyle_handle", + "plotstyle_handle", +} + + +def _purge_handles(attribs: dict) -> dict: + """Purge handles from DXF attributes which will be invalid in a new + document, or which will be set automatically by adding an entity to a + layout (paperspace). + + Args: + attribs: entity DXF attributes dictionary + + """ + return {k: v for k, v in attribs.items() if k not in _PURGE_DXF_ATTRIBUTES} + + +def _fmt_mapping(mapping: Mapping, indent: int = 0) -> Iterable[str]: + # key is always a string + fmt = " " * indent + "'{}': {}," + for k, v in mapping.items(): + assert isinstance(k, str) + if isinstance(v, str): + v = json.dumps(v) # for correct escaping of quotes + else: + v = str(v) # format uses repr() for Vec3s + yield fmt.format(k, v) + + +def _fmt_list(l: Iterable, indent: int = 0) -> Iterable[str]: + def cleanup(values: Iterable) -> Iterable: + for value in values: + if isinstance(value, np.float64): + yield float(value) + else: + yield value + + fmt = " " * indent + "{}," + for v in l: + if not isinstance(v, (float, int, str)): + v = tuple(cleanup(v)) + yield fmt.format(str(v)) + + +def _fmt_api_call( + func_call: str, args: Iterable[str], dxfattribs: dict +) -> list[str]: + attributes = dict(dxfattribs) + args = list(args) if args else [] + + def fmt_keywords() -> Iterable[str]: + for arg in args: + if arg not in attributes: + continue + value = attributes.pop(arg) + if isinstance(value, str): + valuestr = json.dumps(value) # quoted string! + else: + valuestr = str(value) + yield " {}={},".format(arg, valuestr) + + s = [func_call] + s.extend(fmt_keywords()) + s.append(" dxfattribs={") + s.extend(_fmt_mapping(attributes, indent=8)) + s.extend( + [ + " },", + ")", + ] + ) + return s + + +def _fmt_dxf_tags(tags: Iterable[DXFTag], indent: int = 0): + fmt = " " * indent + "dxftag({}, {})," + for code, value in tags: + assert isinstance(code, int) + if isinstance(value, str): + value = json.dumps(value) # for correct escaping of quotes + else: + value = str(value) # format uses repr() for Vec3s + yield fmt.format(code, value) + + +class _SourceCodeGenerator: + """ + The :class:`_SourceCodeGenerator` translates DXF entities into Python source + code for creating the same DXF entity in another model space or block + definition. + + :ivar code: list of source code lines without line endings + :ivar required_imports: list of import source code lines, which are required + to create executable Python code. + + """ + + def __init__(self, layout: str = "layout", doc: str = "doc"): + self.doc = doc + self.layout = layout + self.code = Code() + + def translate_entity(self, entity: DXFEntity) -> None: + """Translates one DXF entity into Python source code. The generated + source code is appended to the attribute `source_code`. + + Args: + entity: DXFEntity object + + """ + dxftype = entity.dxftype() + try: + entity_translator = getattr(self, "_" + dxftype.lower()) + except AttributeError: + self.add_source_code_line(f'# unsupported DXF entity "{dxftype}"') + else: + entity_translator(entity) + + def translate_entities( + self, + entities: Iterable[DXFEntity], + ignore: Optional[Iterable[str]] = None, + ) -> None: + """Translates multiple DXF entities into Python source code. The + generated source code is appended to the attribute `source_code`. + + Args: + entities: iterable of DXFEntity + ignore: iterable of entities types to ignore as strings + like ['IMAGE', 'DIMENSION'] + + """ + ignore = set(ignore) if ignore else set() + + for entity in entities: + if entity.dxftype() not in ignore: + self.translate_entity(entity) + + def add_used_resources(self, dxfattribs: Mapping) -> None: + """Register used resources like layers, line types, text styles and + dimension styles. + + Args: + dxfattribs: DXF attributes dictionary + + """ + if "layer" in dxfattribs: + self.code.layers.add(dxfattribs["layer"]) + if "linetype" in dxfattribs: + self.code.linetypes.add(dxfattribs["linetype"]) + if "style" in dxfattribs: + self.code.styles.add(dxfattribs["style"]) + if "dimstyle" in dxfattribs: + self.code.dimstyles.add(dxfattribs["dimstyle"]) + + def add_import_statement(self, statement: str) -> None: + self.code.add_import(statement) + + def add_source_code_line(self, code: str) -> None: + self.code.add_line(code) + + def add_source_code_lines(self, code: Iterable[str]) -> None: + assert not isinstance(code, str) + self.code.add_lines(code) + + def add_list_source_code( + self, + values: Iterable, + prolog: str = "[", + epilog: str = "]", + indent: int = 0, + ) -> None: + fmt_str = " " * indent + "{}" + self.add_source_code_line(fmt_str.format(prolog)) + self.add_source_code_lines(_fmt_list(values, indent=4 + indent)) + self.add_source_code_line(fmt_str.format(epilog)) + + def add_dict_source_code( + self, + mapping: Mapping, + prolog: str = "{", + epilog: str = "}", + indent: int = 0, + ) -> None: + fmt_str = " " * indent + "{}" + self.add_source_code_line(fmt_str.format(prolog)) + self.add_source_code_lines(_fmt_mapping(mapping, indent=4 + indent)) + self.add_source_code_line(fmt_str.format(epilog)) + + def add_tags_source_code( + self, tags: Tags, prolog="tags = Tags(", epilog=")", indent=4 + ): + fmt_str = " " * indent + "{}" + self.add_source_code_line(fmt_str.format(prolog)) + self.add_source_code_lines(_fmt_dxf_tags(tags, indent=4 + indent)) + self.add_source_code_line(fmt_str.format(epilog)) + + def generic_api_call( + self, dxftype: str, dxfattribs: dict, prefix: str = "e = " + ) -> Iterable[str]: + """Returns the source code strings to create a DXF entity by a generic + `new_entity()` call. + + Args: + dxftype: DXF entity type as string, like 'LINE' + dxfattribs: DXF attributes dictionary + prefix: prefix string like variable assignment 'e = ' + + """ + dxfattribs = _purge_handles(dxfattribs) + self.add_used_resources(dxfattribs) + s = [ + f"{prefix}{self.layout}.new_entity(", + f" '{dxftype}',", + " dxfattribs={", + ] + s.extend(_fmt_mapping(dxfattribs, indent=8)) + s.extend( + [ + " },", + ")", + ] + ) + return s + + def api_call( + self, + api_call: str, + args: Iterable[str], + dxfattribs: dict, + prefix: str = "e = ", + ) -> Iterable[str]: + """Returns the source code strings to create a DXF entity by the + specialised API call. + + Args: + api_call: API function call like 'add_line(' + args: DXF attributes to pass as arguments + dxfattribs: DXF attributes dictionary + prefix: prefix string like variable assignment 'e = ' + + """ + dxfattribs = _purge_handles(dxfattribs) + func_call = f"{prefix}{self.layout}.{api_call}" + return _fmt_api_call(func_call, args, dxfattribs) + + def new_table_entry(self, dxftype: str, dxfattribs: dict) -> Iterable[str]: + """Returns the source code strings to create a new table entity by + ezdxf. + + Args: + dxftype: table entry type as string, like 'LAYER' + dxfattribs: DXF attributes dictionary + + """ + table = f"{self.doc}.{TABLENAMES[dxftype]}" + dxfattribs = _purge_handles(dxfattribs) + name = dxfattribs.pop("name") + s = [ + f"if '{name}' not in {table}:", + f" t = {table}.new(", + f" '{name}',", + " dxfattribs={", + ] + s.extend(_fmt_mapping(dxfattribs, indent=12)) + s.extend( + [ + " },", + " )", + ] + ) + return s + + # simple graphical types + + def _line(self, entity: DXFEntity) -> None: + self.add_source_code_lines( + self.api_call("add_line(", ["start", "end"], entity.dxfattribs()) + ) + + def _point(self, entity: DXFEntity) -> None: + self.add_source_code_lines( + self.api_call("add_point(", ["location"], entity.dxfattribs()) + ) + + def _circle(self, entity: DXFEntity) -> None: + self.add_source_code_lines( + self.api_call( + "add_circle(", ["center", "radius"], entity.dxfattribs() + ) + ) + + def _arc(self, entity: DXFEntity) -> None: + self.add_source_code_lines( + self.api_call( + "add_arc(", + ["center", "radius", "start_angle", "end_angle"], + entity.dxfattribs(), + ) + ) + + def _text(self, entity: DXFEntity) -> None: + self.add_source_code_lines( + self.api_call("add_text(", ["text"], entity.dxfattribs()) + ) + + def _solid(self, entity: DXFEntity) -> None: + self.add_source_code_lines( + self.generic_api_call("SOLID", entity.dxfattribs()) + ) + + def _trace(self, entity: DXFEntity) -> None: + self.add_source_code_lines( + self.generic_api_call("TRACE", entity.dxfattribs()) + ) + + def _3dface(self, entity: DXFEntity) -> None: + self.add_source_code_lines( + self.generic_api_call("3DFACE", entity.dxfattribs()) + ) + + def _shape(self, entity: DXFEntity) -> None: + self.add_source_code_lines( + self.api_call( + "add_shape(", ["name", "insert", "size"], entity.dxfattribs() + ) + ) + + def _attrib(self, entity: DXFEntity) -> None: + self.add_source_code_lines( + self.api_call( + "add_attrib(", ["tag", "text", "insert"], entity.dxfattribs() + ) + ) + + def _attdef(self, entity: DXFEntity) -> None: + self.add_source_code_lines( + self.generic_api_call("ATTDEF", entity.dxfattribs()) + ) + + def _ellipse(self, entity: DXFEntity) -> None: + self.add_source_code_lines( + self.api_call( + "add_ellipse(", + ["center", "major_axis", "ratio", "start_param", "end_param"], + entity.dxfattribs(), + ) + ) + + def _viewport(self, entity: DXFEntity) -> None: + self.add_source_code_lines( + self.generic_api_call("VIEWPORT", entity.dxfattribs()) + ) + self.add_source_code_line( + '# Set valid handles or remove attributes ending with "_handle", ' + "otherwise the DXF file is invalid for AutoCAD" + ) + + # complex graphical types + + def _insert(self, entity: Insert) -> None: + self.code.blocks.add(entity.dxf.name) + self.add_source_code_lines( + self.api_call( + "add_blockref(", ["name", "insert"], entity.dxfattribs() + ) + ) + if len(entity.attribs): + for attrib in entity.attribs: + dxfattribs = attrib.dxfattribs() + dxfattribs[ + "layer" + ] = entity.dxf.layer # set ATTRIB layer to same as INSERT + self.add_source_code_lines( + self.generic_api_call( + "ATTRIB", attrib.dxfattribs(), prefix="a = " + ) + ) + self.add_source_code_line("e.attribs.append(a)") + + def _mtext(self, entity: MText) -> None: + self.add_source_code_lines( + self.generic_api_call("MTEXT", entity.dxfattribs()) + ) + # MTEXT content 'text' is not a single DXF tag and therefore not a DXF + # attribute + self.add_source_code_line("e.text = {}".format(json.dumps(entity.text))) + + def _lwpolyline(self, entity: LWPolyline) -> None: + self.add_source_code_lines( + self.generic_api_call("LWPOLYLINE", entity.dxfattribs()) + ) + # lwpolyline points are not DXF attributes + self.add_list_source_code( + entity.get_points(), prolog="e.set_points([", epilog="])" + ) + + def _spline(self, entity: Spline) -> None: + self.add_source_code_lines( + self.api_call("add_spline(", ["degree"], entity.dxfattribs()) + ) + # spline points, knots and weights are not DXF attributes + if len(entity.fit_points): + self.add_list_source_code( + entity.fit_points, prolog="e.fit_points = [", epilog="]" + ) + + if len(entity.control_points): + self.add_list_source_code( + entity.control_points, prolog="e.control_points = [", epilog="]" + ) + + if len(entity.knots): + self.add_list_source_code( + entity.knots, prolog="e.knots = [", epilog="]" + ) + + if len(entity.weights): + self.add_list_source_code( + entity.weights, prolog="e.weights = [", epilog="]" + ) + + def _polyline(self, entity: Polyline) -> None: + self.add_source_code_lines( + self.generic_api_call("POLYLINE", entity.dxfattribs()) + ) + # polyline vertices are separate DXF entities and therefore not DXF attributes + for v in entity.vertices: + attribs = _purge_handles(v.dxfattribs()) + location = attribs.pop("location") + if "layer" in attribs: + del attribs[ + "layer" + ] # layer is automatically set to the POLYLINE layer + + # each VERTEX can have different DXF attributes: bulge, start_width, end_width ... + self.add_source_code_line( + f"e.append_vertex({str(location)}, dxfattribs={attribs})" + ) + + def _leader(self, entity: Leader): + self.add_source_code_line( + "# Dimension style attribute overriding is not supported!" + ) + self.add_source_code_lines( + self.generic_api_call("LEADER", entity.dxfattribs()) + ) + self.add_list_source_code( + entity.vertices, prolog="e.set_vertices([", epilog="])" + ) + + def _dimension(self, entity: Dimension): + self.add_import_statement( + "from ezdxf.dimstyleoverride import DimStyleOverride" + ) + self.add_source_code_line( + "# Dimension style attribute overriding is not supported!" + ) + self.add_source_code_lines( + self.generic_api_call("DIMENSION", entity.dxfattribs()) + ) + self.add_source_code_lines( + [ + "# You have to create the required graphical representation for ", + "# the DIMENSION entity as anonymous block, otherwise the DXF file", + "# is invalid for AutoCAD (but not for BricsCAD):", + "# DimStyleOverride(e).render()", + "", + ] + ) + + def _image(self, entity: Image): + self.add_source_code_line( + "# Image requires IMAGEDEF and IMAGEDEFREACTOR objects in the " + "OBJECTS section!" + ) + self.add_source_code_lines( + self.generic_api_call("IMAGE", entity.dxfattribs()) + ) + if len(entity.boundary_path): + self.add_list_source_code( + (v for v in entity.boundary_path), # just x, y axis + prolog="e.set_boundary_path([", + epilog="])", + ) + self.add_source_code_line( + "# Set valid image_def_handle and image_def_reactor_handle, " + "otherwise the DXF file is invalid for AutoCAD" + ) + + def _wipeout(self, entity: Wipeout): + self.add_source_code_lines( + self.generic_api_call("WIPEOUT", entity.dxfattribs()) + ) + if len(entity.boundary_path): + self.add_list_source_code( + (v for v in entity.boundary_path), # just x, y axis + prolog="e.set_boundary_path([", + epilog="])", + ) + + def _mesh(self, entity: Mesh): + self.add_source_code_lines( + self.api_call("add_mesh(", [], entity.dxfattribs()) + ) + if len(entity.vertices): + self.add_list_source_code( + entity.vertices, prolog="e.vertices = [", epilog="]" + ) + if len(entity.edges): + # array.array -> tuple + self.add_list_source_code( + (tuple(e) for e in entity.edges), + prolog="e.edges = [", + epilog="]", + ) + if len(entity.faces): + # array.array -> tuple + self.add_list_source_code( + (tuple(f) for f in entity.faces), + prolog="e.faces = [", + epilog="]", + ) + if len(entity.creases): + self.add_list_source_code( + entity.creases, prolog="e.creases = [", epilog="]" + ) + + def _hatch(self, entity: Hatch): + dxfattribs = entity.dxfattribs() + dxfattribs["associative"] = 0 # associative hatch not supported + self.add_source_code_lines( + self.api_call("add_hatch(", ["color"], dxfattribs) + ) + self._polygon(entity) + + def _mpolygon(self, entity: MPolygon): + dxfattribs = entity.dxfattribs() + self.add_source_code_lines( + self.api_call("add_mpolygon(", ["color"], dxfattribs) + ) + if entity.dxf.solid_fill: + self.add_source_code_line( + f"e.set_solid_fill(color={entity.dxf.fill_color})\n" + ) + self._polygon(entity) + + def _polygon(self, entity: DXFPolygon): + add_line = self.add_source_code_line + if len(entity.seeds): + add_line(f"e.set_seed_points({entity.seeds})") + if entity.pattern: + self.add_list_source_code( + map(str, entity.pattern.lines), + prolog="e.set_pattern_definition([", + epilog="])", + ) + self.add_source_code_line("e.dxf.solid_fill = 0") + arg = " {}={}," + + if entity.gradient is not None: + g = entity.gradient + add_line("e.set_gradient(") + add_line(arg.format("color1", str(g.color1))) + add_line(arg.format("color2", str(g.color2))) + add_line(arg.format("rotation", g.rotation)) + add_line(arg.format("centered", g.centered)) + add_line(arg.format("one_color", g.one_color)) + add_line(arg.format("name", json.dumps(g.name))) + add_line(")") + for count, path in enumerate(entity.paths, start=1): + if path.type == BoundaryPathType.POLYLINE: + add_line("# {}. polyline path".format(count)) + self.add_list_source_code( + path.vertices, + prolog="e.paths.add_polyline_path([", + epilog=" ],", + ) + add_line(arg.format("is_closed", str(path.is_closed))) + add_line(arg.format("flags", str(path.path_type_flags))) + add_line(")") + else: # EdgePath + add_line( + f"# {count}. edge path: associative hatch not supported" + ) + add_line( + f"ep = e.paths.add_edge_path(flags={path.path_type_flags})" + ) + for edge in path.edges: + if edge.type == EdgeType.LINE: + add_line(f"ep.add_line({edge.start}, {str(edge.end)})") + elif edge.type == EdgeType.ARC: + # Start- and end angles are always stored in ccw + # orientation: + add_line("ep.add_arc(") + add_line(arg.format("center", str(edge.center))) + add_line(arg.format("radius", edge.radius)) + add_line(arg.format("start_angle", edge.start_angle)) + add_line(arg.format("end_angle", edge.end_angle)) + add_line(arg.format("ccw", edge.ccw)) + add_line(")") + elif edge.type == EdgeType.ELLIPSE: + # Start- and end params are always stored in ccw + # orientation: + add_line("ep.add_ellipse(") + add_line(arg.format("center", str(edge.center))) + add_line(arg.format("major_axis", str(edge.major_axis))) + add_line(arg.format("ratio", edge.ratio)) + add_line(arg.format("start_angle", edge.start_angle)) + add_line(arg.format("end_angle", edge.end_angle)) + add_line(arg.format("ccw", edge.ccw)) + add_line(")") + elif edge.type == EdgeType.SPLINE: + add_line("ep.add_spline(") + if edge.fit_points: + add_line( + arg.format( + "fit_points", + str([fp for fp in edge.fit_points]), + ) + ) + if edge.control_points: + add_line( + arg.format( + "control_points", + str([cp for cp in edge.control_points]), + ) + ) + if edge.knot_values: + add_line( + arg.format("knot_values", str(edge.knot_values)) + ) + if edge.weights: + add_line(arg.format("weights", str(edge.weights))) + add_line(arg.format("degree", edge.degree)) + add_line(arg.format("periodic", edge.periodic)) + if edge.start_tangent is not None: + add_line( + arg.format( + "start_tangent", str(edge.start_tangent) + ) + ) + if edge.end_tangent is not None: + add_line( + arg.format("end_tangent", str(edge.end_tangent)) + ) + add_line(")") + + # simple table entries + def _layer(self, layer: DXFEntity): + self.add_source_code_lines( + self.new_table_entry("LAYER", layer.dxfattribs()) + ) + + def _ltype(self, ltype: Linetype): + self.add_import_statement("from ezdxf.lldxf.tags import Tags") + self.add_import_statement("from ezdxf.lldxf.types import dxftag") + self.add_import_statement( + "from ezdxf.entities.ltype import LinetypePattern" + ) + self.add_source_code_lines( + self.new_table_entry("LTYPE", ltype.dxfattribs()) + ) + self.add_tags_source_code( + ltype.pattern_tags.tags, + prolog="tags = Tags([", + epilog="])", + indent=4, + ) + self.add_source_code_line(" t.pattern_tags = LinetypePattern(tags)") + + def _style(self, style: DXFEntity): + self.add_source_code_lines( + self.new_table_entry("STYLE", style.dxfattribs()) + ) + + def _dimstyle(self, dimstyle: DXFEntity): + self.add_source_code_lines( + self.new_table_entry("DIMSTYLE", dimstyle.dxfattribs()) + ) + + def _appid(self, appid: DXFEntity): + self.add_source_code_lines( + self.new_table_entry("APPID", appid.dxfattribs()) + ) diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/addons/genetic_algorithm.py b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/addons/genetic_algorithm.py new file mode 100644 index 0000000000000000000000000000000000000000..aa3279fdb840e8221201700feb210dbc8dde2e4f --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/addons/genetic_algorithm.py @@ -0,0 +1,721 @@ +# Copyright (c) 2022, Manfred Moitzi +# License: MIT License +from __future__ import annotations +from typing import ( + Sequence, + Iterable, + Optional, + Callable, + Union, +) +import abc +import copy +from dataclasses import dataclass +import json +import random +import time + +# example usage: +# examples\addons\optimize\bin_packing_forms.py +# examples\addons\optimize\tsp.py + + +class DNA(abc.ABC): + """Abstract DNA class.""" + + fitness: Optional[float] = None + _data: list + + @abc.abstractmethod + def reset(self, values: Iterable): + ... + + @property + @abc.abstractmethod + def is_valid(self) -> bool: + ... + + def copy(self): + return copy.deepcopy(self) + + def _taint(self): + self.fitness = None + + def __repr__(self): + return f"{self.__class__.__name__}({str(self._data)})" + + def __eq__(self, other): + assert isinstance(other, self.__class__) + return self._data == other._data + + def __len__(self): + return len(self._data) + + def __getitem__(self, item): + return self._data.__getitem__(item) + + def __setitem__(self, key, value): + self._data.__setitem__(key, value) + self._taint() + + def __iter__(self): + return iter(self._data) + + @abc.abstractmethod + def flip_mutate_at(self, index: int) -> None: + ... + + +def dna_fitness(dna: DNA) -> float: + return dna.fitness # type: ignore + + +class Mutate(abc.ABC): + """Abstract mutation.""" + + @abc.abstractmethod + def mutate(self, dna: DNA, rate: float): + ... + + +class FlipMutate(Mutate): + """Flip one bit mutation.""" + + def mutate(self, dna: DNA, rate: float): + for index in range(len(dna)): + if random.random() < rate: + dna.flip_mutate_at(index) + + +class NeighborSwapMutate(Mutate): + """Swap two neighbors mutation.""" + + def mutate(self, dna: DNA, rate: float): + for index in range(len(dna)): + if random.random() < rate: + i2 = index - 1 + tmp = dna[i2] + dna[i2] = dna[index] + dna[index] = tmp + + +class RandomSwapMutate(Mutate): + """Swap two random places mutation.""" + + def mutate(self, dna: DNA, rate: float): + length = len(dna) + for index in range(length): + if random.random() < rate: + i2 = random.randrange(0, length) + if i2 == index: + i2 -= 1 + tmp = dna[i2] + dna[i2] = dna[index] + dna[index] = tmp + + +class ReverseMutate(Mutate): + """Reverse some consecutive bits mutation.""" + + def __init__(self, bits: int = 3): + self._bits = int(max(bits, 1)) + + def mutate(self, dna: DNA, rate: float): + length = len(dna) + if random.random() < rate * ( + length / self._bits + ): # applied to all bits at ones + i1 = random.randrange(length - self._bits) + i2 = i1 + self._bits + bits = dna[i1:i2] + dna[i1:i2] = reversed(bits) + + +class ScrambleMutate(Mutate): + """Scramble some consecutive bits mutation.""" + + def __init__(self, bits: int = 3): + self._bits = int(max(bits, 1)) + + def mutate(self, dna: DNA, rate: float): + length = len(dna) + if random.random() < rate * ( + length / self._bits + ): # applied to all bits at ones + i1 = random.randrange(length - self._bits) + i2 = i1 + self._bits + bits = dna[i1:i2] + random.shuffle(bits) + dna[i1:i2] = bits + + +class Mate(abc.ABC): + """Abstract recombination.""" + + @abc.abstractmethod + def recombine(self, dna1: DNA, dna2: DNA): + pass + + +class Mate1pCX(Mate): + """One point crossover recombination.""" + + def recombine(self, dna1: DNA, dna2: DNA): + length = len(dna1) + index = random.randrange(0, length) + recombine_dna_2pcx(dna1, dna2, index, length) + + +class Mate2pCX(Mate): + """Two point crossover recombination.""" + + def recombine(self, dna1: DNA, dna2: DNA): + length = len(dna1) + i1 = random.randrange(0, length) + i2 = random.randrange(0, length) + if i1 > i2: + i1, i2 = i2, i1 + recombine_dna_2pcx(dna1, dna2, i1, i2) + + +class MateUniformCX(Mate): + """Uniform recombination.""" + + def recombine(self, dna1: DNA, dna2: DNA): + for index in range(len(dna1)): + if random.random() > 0.5: + tmp = dna1[index] + dna1[index] = dna2[index] + dna2[index] = tmp + + +class MateOrderedCX(Mate): + """Recombination class for ordered DNA like UniqueIntDNA().""" + + def recombine(self, dna1: DNA, dna2: DNA): + length = len(dna1) + i1 = random.randrange(0, length) + i2 = random.randrange(0, length) + if i1 > i2: + i1, i2 = i2, i1 + recombine_dna_ocx1(dna1, dna2, i1, i2) + + +def recombine_dna_2pcx(dna1: DNA, dna2: DNA, i1: int, i2: int) -> None: + """Two point crossover.""" + part1 = dna1[i1:i2] + part2 = dna2[i1:i2] + dna1[i1:i2] = part2 + dna2[i1:i2] = part1 + + +def recombine_dna_ocx1(dna1: DNA, dna2: DNA, i1: int, i2: int) -> None: + """Ordered crossover.""" + copy1 = dna1.copy() + replace_dna_ocx1(dna1, dna2, i1, i2) + replace_dna_ocx1(dna2, copy1, i1, i2) + + +def replace_dna_ocx1(dna1: DNA, dna2: DNA, i1: int, i2: int) -> None: + """Replace a part in dna1 by dna2 and preserve order of remaining values in + dna1. + """ + old = dna1.copy() + new = dna2[i1:i2] + dna1[i1:i2] = new + index = 0 + new_set = set(new) + for value in old: + if value in new_set: + continue + if index == i1: + index = i2 + dna1[index] = value + index += 1 + + +class FloatDNA(DNA): + """Arbitrary float numbers in the range [0, 1].""" + + __slots__ = ("_data", "fitness") + + def __init__(self, values: Iterable[float]): + self._data: list[float] = list(values) + self._check_valid_data() + self.fitness: Optional[float] = None + + @classmethod + def random(cls, length: int) -> FloatDNA: + return cls((random.random() for _ in range(length))) + + @classmethod + def n_random(cls, n: int, length: int) -> list[FloatDNA]: + return [cls.random(length) for _ in range(n)] + + @property + def is_valid(self) -> bool: + return all(0.0 <= v <= 1.0 for v in self._data) + + def _check_valid_data(self): + if not self.is_valid: + raise ValueError("data value out of range") + + def __str__(self): + if self.fitness is None: + fitness = ", fitness=None" + else: + fitness = f", fitness={self.fitness:.4f}" + return f"{str([round(v, 4) for v in self._data])}{fitness}" + + def reset(self, values: Iterable[float]): + self._data = list(values) + self._check_valid_data() + self._taint() + + def flip_mutate_at(self, index: int) -> None: + self._data[index] = 1.0 - self._data[index] # flip pick location + + +class BitDNA(DNA): + """One bit DNA.""" + + __slots__ = ("_data", "fitness") + + def __init__(self, values: Iterable): + self._data: list[bool] = list(bool(v) for v in values) + self.fitness: Optional[float] = None + + @property + def is_valid(self) -> bool: + return True # everything can be evaluated to True/False + + @classmethod + def random(cls, length: int) -> BitDNA: + return cls(bool(random.randint(0, 1)) for _ in range(length)) + + @classmethod + def n_random(cls, n: int, length: int) -> list[BitDNA]: + return [cls.random(length) for _ in range(n)] + + def __str__(self): + if self.fitness is None: + fitness = ", fitness=None" + else: + fitness = f", fitness={self.fitness:.4f}" + return f"{str([int(v) for v in self._data])}{fitness}" + + def reset(self, values: Iterable) -> None: + self._data = list(bool(v) for v in values) + self._taint() + + def flip_mutate_at(self, index: int) -> None: + self._data[index] = not self._data[index] + + +class UniqueIntDNA(DNA): + """Unique integer values in the range from 0 to length-1. + E.g. UniqueIntDNA(10) = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9] + + Requires MateOrderedCX() as recombination class to preserve order and + validity after DNA recombination. + + Requires mutation by swapping like SwapRandom(), SwapNeighbors(), + ReversMutate() or ScrambleMutate() + """ + + __slots__ = ("_data", "fitness") + + def __init__(self, values: Union[int, Iterable]): + self._data: list[int] + if isinstance(values, int): + self._data = list(range(values)) + else: + self._data = [int(v) for v in values] + if not self.is_valid: + raise TypeError(self._data) + self.fitness: Optional[float] = None + + @classmethod + def random(cls, length: int) -> UniqueIntDNA: + dna = cls(length) + random.shuffle(dna._data) + return dna + + @classmethod + def n_random(cls, n: int, length: int) -> list[UniqueIntDNA]: + return [cls.random(length) for _ in range(n)] + + @property + def is_valid(self) -> bool: + return len(set(self._data)) == len(self._data) + + def __str__(self): + if self.fitness is None: + fitness = ", fitness=None" + else: + fitness = f", fitness={self.fitness:.4f}" + return f"{str([int(v) for v in self._data])}{fitness}" + + def reset(self, values: Iterable) -> None: + self._data = list(int(v) for v in values) + self._taint() + + def flip_mutate_at(self, index: int) -> None: + raise TypeError("flip mutation not supported") + + +class IntegerDNA(DNA): + """Integer values in the range from 0 to max_ - 1. + E.g. IntegerDNA([0, 1, 2, 3, 4, 0, 1, 2, 3, 4], 5) + """ + + __slots__ = ("_data", "fitness") + + def __init__(self, values: Iterable[int], max_: int): + self._max = int(max_) + self._data: list[int] = list(values) + if not self.is_valid: + raise TypeError(self._data) + self.fitness: Optional[float] = None + + @classmethod + def random(cls, length: int, max_: int) -> IntegerDNA: + imax = int(max_) + return cls((random.randrange(0, imax) for _ in range(length)), imax) + + @classmethod + def n_random(cls, n: int, length: int, max_: int) -> list[IntegerDNA]: + return [cls.random(length, max_) for _ in range(n)] + + @property + def is_valid(self) -> bool: + return all(0 <= v < self._max for v in self._data) + + def __repr__(self): + return f"{self.__class__.__name__}({str(self._data)}, {self._max})" + + def __str__(self): + if self.fitness is None: + fitness = ", fitness=None" + else: + fitness = f", fitness={self.fitness:.4f}" + return f"{str([int(v) for v in self._data])}{fitness}" + + def reset(self, values: Iterable) -> None: + self._data = list(int(v) for v in values) + self._taint() + + def flip_mutate_at(self, index: int) -> None: + self._data[index] = self._max - self._data[index] - 1 + + +class Selection(abc.ABC): + """Abstract selection class.""" + + @abc.abstractmethod + def pick(self, count: int) -> Iterable[DNA]: + ... + + @abc.abstractmethod + def reset(self, candidates: Iterable[DNA]): + ... + + +class Evaluator(abc.ABC): + """Abstract evaluation class.""" + + @abc.abstractmethod + def evaluate(self, dna: DNA) -> float: + ... + + +class Log: + @dataclass + class Entry: + runtime: float + fitness: float + avg_fitness: float + + def __init__(self) -> None: + self.entries: list[Log.Entry] = [] + + def add(self, runtime: float, fitness: float, avg_fitness: float) -> None: + self.entries.append(Log.Entry(runtime, fitness, avg_fitness)) + + def dump(self, filename: str) -> None: + data = [(e.runtime, e.fitness, e.avg_fitness) for e in self.entries] + with open(filename, "wt") as fp: + json.dump(data, fp, indent=4) + + @classmethod + def load(cls, filename: str) -> Log: + with open(filename, "rt") as fp: + data = json.load(fp) + log = Log() + for runtime, fitness, avg_fitness in data: + log.add(runtime, fitness, avg_fitness) + return log + + +class HallOfFame: + def __init__(self, count): + self.count = count + self._unique_entries = dict() + + def __iter__(self): + return ( + self._unique_entries[k] for k in self._sorted_keys()[: self.count] + ) + + def _sorted_keys(self): + return sorted(self._unique_entries.keys(), reverse=True) + + def add(self, dna: DNA): + assert dna.fitness is not None + self._unique_entries[dna.fitness] = dna + + def get(self, count: int) -> list[DNA]: + entries = self._unique_entries + keys = self._sorted_keys() + return [entries[k] for k in keys[: min(count, self.count)]] + + def purge(self): + if len(self._unique_entries) <= self.count: + return + entries = self._unique_entries + keys = self._sorted_keys() + self._unique_entries = {k: entries[k] for k in keys[: self.count]} + + +def threshold_filter( + candidates: Sequence[DNA], best_fitness: float, threshold: float +) -> Iterable[DNA]: + if best_fitness <= 0.0: + minimum = min(candidates, key=dna_fitness) + min_value = (1.0 - threshold) * minimum.fitness # type: ignore + else: + min_value = best_fitness * threshold + return (c for c in candidates if c.fitness > min_value) # type: ignore + + +class GeneticOptimizer: + """A genetic algorithm (GA) is a meta-heuristic inspired by the process of + natural selection. Genetic algorithms are commonly used to generate + high-quality solutions to optimization and search problems by relying on + biologically inspired operators such as mutation, crossover and selection. + + Source: https://en.wikipedia.org/wiki/Genetic_algorithm + + This implementation searches always for the maximum fitness, fitness + comparisons are always done by the "greater than" operator (">"). + The algorithm supports negative values to search for the minimum fitness + (e.g. Travelling Salesmen Problem: -900 > -1000). Reset the start fitness + by the method :meth:`reset_fitness` accordingly:: + + optimizer.reset_fitness(-1e99) + + """ + + def __init__( + self, + evaluator: Evaluator, + max_generations: int, + max_fitness: float = 1.0, + ): + if max_generations < 1: + raise ValueError("requires max_generations > 0") + # data: + self.name = "GeneticOptimizer" + self.log = Log() + self.candidates: list[DNA] = [] + + # core components: + self.evaluator: Evaluator = evaluator + self.selection: Selection = RouletteSelection() + self.mate: Mate = Mate2pCX() + self.mutation = FlipMutate() + + # options: + self.max_generations = int(max_generations) + self.max_fitness: float = float(max_fitness) + self.max_runtime: float = 1e99 + self.max_stagnation = 100 + self.crossover_rate = 0.70 + self.mutation_rate = 0.01 + self.elitism: int = 2 + # percentage (0.1 = 10%) of candidates with least fitness to ignore in + # next generation + self.threshold: float = 0.0 + + # state of last (current) generation: + self.generation: int = 0 + self.start_time = 0.0 + self.runtime: float = 0.0 + self.best_dna: DNA = BitDNA([]) + self.best_fitness: float = 0.0 + self.stagnation: int = 0 # generations without improvement + self.hall_of_fame = HallOfFame(10) + + def reset_fitness(self, value: float) -> None: + self.best_fitness = float(value) + + @property + def is_executed(self) -> bool: + return bool(self.generation) + + @property + def count(self) -> int: + return len(self.candidates) + + def add_candidates(self, dna: Iterable[DNA]): + if not self.is_executed: + self.candidates.extend(dna) + else: + raise TypeError("already executed") + + def execute( + self, + feedback: Optional[Callable[[GeneticOptimizer], bool]] = None, + interval: float = 1.0, + ) -> None: + if self.is_executed: + raise TypeError("can only run once") + if not self.candidates: + print("no DNA defined!") + t0 = time.perf_counter() + self.start_time = t0 + for self.generation in range(1, self.max_generations + 1): + self.measure_fitness() + t1 = time.perf_counter() + self.runtime = t1 - self.start_time + if ( + self.best_fitness >= self.max_fitness + or self.runtime >= self.max_runtime + or self.stagnation >= self.max_stagnation + ): + break + if feedback and t1 - t0 > interval: + if feedback(self): # stop if feedback() returns True + break + t0 = t1 + self.next_generation() + + def measure_fitness(self) -> None: + self.stagnation += 1 + fitness_sum: float = 0.0 + for dna in self.candidates: + if dna.fitness is not None: + fitness_sum += dna.fitness + continue + fitness = self.evaluator.evaluate(dna) + dna.fitness = fitness + fitness_sum += fitness + self.hall_of_fame.add(dna) + if fitness > self.best_fitness: + self.best_fitness = fitness + self.best_dna = dna + self.stagnation = 0 + + self.hall_of_fame.purge() + try: + avg_fitness = fitness_sum / len(self.candidates) + except ZeroDivisionError: + avg_fitness = 0.0 + self.log.add( + time.perf_counter() - self.start_time, + self.best_fitness, + avg_fitness, + ) + + def next_generation(self) -> None: + count = len(self.candidates) + candidates: list[DNA] = [] + selector = self.selection + selector.reset(self.filter_threshold(self.candidates)) + + if self.elitism > 0: + candidates.extend(self.hall_of_fame.get(self.elitism)) + + while len(candidates) < count: + dna1, dna2 = selector.pick(2) + dna1 = dna1.copy() + dna2 = dna2.copy() + self.recombine(dna1, dna2) + self.mutate(dna1, dna2) + candidates.append(dna1) + candidates.append(dna2) + self.candidates = candidates + + def filter_threshold(self, candidates: Sequence[DNA]) -> Iterable[DNA]: + if self.threshold > 0.0: + return threshold_filter( + candidates, self.best_fitness, self.threshold + ) + else: + return candidates + + def recombine(self, dna1: DNA, dna2: DNA): + if random.random() < self.crossover_rate: + self.mate.recombine(dna1, dna2) + + def mutate(self, dna1: DNA, dna2: DNA): + self.mutation.mutate(dna1, self.mutation_rate) + self.mutation.mutate(dna2, self.mutation_rate) + + +def conv_negative_weights(weights: Iterable[float]) -> Iterable[float]: + # random.choices does not accept negative values: -100 -> 1/100, -10 -> 1/10 + return (0.0 if w == 0.0 else 1.0 / abs(w) for w in weights) + + +class RouletteSelection(Selection): + """Selection by fitness values.""" + + def __init__(self, negative_values: bool = False) -> None: + self._candidates: list[DNA] = [] + self._weights: list[float] = [] + self._negative_values = bool(negative_values) + + def reset(self, candidates: Iterable[DNA]): + # dna.fitness is not None here! + self._candidates = list(candidates) + if self._negative_values: + self._weights = list( + conv_negative_weights(dna.fitness for dna in self._candidates) # type: ignore + ) + else: + self._weights = [dna.fitness for dna in self._candidates] # type: ignore + + def pick(self, count: int) -> Iterable[DNA]: + return random.choices(self._candidates, self._weights, k=count) + + +class RankBasedSelection(RouletteSelection): + """Selection by rank of fitness.""" + + def reset(self, candidates: Iterable[DNA]): + # dna.fitness is not None here! + self._candidates = list(candidates) + self._candidates.sort(key=dna_fitness) + # weight of best_fitness == len(strands) + # and decreases until 1 for the least fitness + self._weights = list(range(1, len(self._candidates) + 1)) + + +class TournamentSelection(Selection): + """Selection by choosing the best of a certain count of candidates.""" + + def __init__(self, candidates: int): + self._candidates: list[DNA] = [] + self.candidates = candidates + + def reset(self, candidates: Iterable[DNA]): + self._candidates = list(candidates) + + def pick(self, count: int) -> Iterable[DNA]: + for _ in range(count): + values = [ + random.choice(self._candidates) for _ in range(self.candidates) + ] + values.sort(key=dna_fitness) + yield values[-1] diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/addons/geo.py b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/addons/geo.py new file mode 100644 index 0000000000000000000000000000000000000000..f29633a66e8bbd6ee0062ed6c77b8565051787ca --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/addons/geo.py @@ -0,0 +1,1053 @@ +# Copyright (c) 2020-2024, Manfred Moitzi +# License: MIT License +""" +Implementation of the `__geo_interface__`: https://gist.github.com/sgillies/2217756 + +Which is also supported by Shapely: https://pypi.org/project/Shapely/ + +Type definitions see GeoJson Standard: https://tools.ietf.org/html/rfc7946 +and examples : https://tools.ietf.org/html/rfc7946#appendix-A + +GeoJSON Linter: https://geojsonlint.com/ + +""" +from __future__ import annotations +from typing import ( + Iterable, + Iterator, + Union, + cast, + Callable, + Sequence, + Optional, + Any, + MutableMapping, +) +from typing_extensions import TypeAlias, Self +import numbers +import copy +import math +import enum +from ezdxf.math import ( + Vec3, + has_clockwise_orientation, + Matrix44, + world_mercator_to_gps, + gps_to_world_mercator, +) +from ezdxf.path import make_path, from_hatch_boundary_path, make_polygon_structure +from ezdxf.entities import DXFGraphic, LWPolyline, Point, Polyline, Line +from ezdxf.entities.polygon import DXFPolygon +from ezdxf.lldxf import const +from ezdxf.entities import factory + + +__all__ = ["proxy", "dxf_entities", "gfilter", "GeoProxy", "PolygonConversion"] + +TYPE = "type" +COORDINATES = "coordinates" +POINT = "Point" +MULTI_POINT = "MultiPoint" +LINE_STRING = "LineString" +MULTI_LINE_STRING = "MultiLineString" +POLYGON = "Polygon" +MULTI_POLYGON = "MultiPolygon" +GEOMETRY_COLLECTION = "GeometryCollection" +GEOMETRIES = "geometries" +GEOMETRY = "geometry" +FEATURES = "features" +FEATURE = "Feature" +PROPERTIES = "properties" +FEATURE_COLLECTION = "FeatureCollection" +MAX_FLATTENING_DISTANCE = 0.1 +SUPPORTED_DXF_TYPES = { + "POINT", + "LINE", + "LWPOLYLINE", + "POLYLINE", + "HATCH", + "MPOLYGON", + "SOLID", + "TRACE", + "3DFACE", + "CIRCLE", + "ARC", + "ELLIPSE", + "SPLINE", +} + +GeoMapping: TypeAlias = MutableMapping[str, Any] +PostProcessFunc: TypeAlias = Callable[[DXFGraphic, GeoMapping], None] + + +class PolygonConversion(enum.IntEnum): + """Polygon conversion types as :class:`IntEnum`. + + Attributes: + HATCH: + POLYLINE: + HATCH_AND_POLYLINE: + MPOLYGON: + + """ + + HATCH = 1 + POLYLINE = 2 + HATCH_AND_POLYLINE = 3 + MPOLYGON = 4 + + +def proxy( + entity: Union[DXFGraphic, Iterable[DXFGraphic]], + distance: float = MAX_FLATTENING_DISTANCE, + force_line_string: bool = False, +) -> GeoProxy: + """Returns a :class:`GeoProxy` object. + + Args: + entity: a single DXF entity or iterable of DXF entities + distance: maximum flattening distance for curve approximations + force_line_string: by default this function returns Polygon objects for + closed geometries like CIRCLE, SOLID, closed POLYLINE and so on, + by setting argument `force_line_string` to ``True``, this entities + will be returned as LineString objects. + + """ + return GeoProxy.from_dxf_entities(entity, distance, force_line_string) + + +def dxf_entities( + geo_mapping: GeoMapping, + polygon=PolygonConversion.HATCH, + dxfattribs=None, + *, + post_process: Optional[PostProcessFunc] = None, +) -> Iterator[DXFGraphic]: + """Returns ``__geo_interface__`` mappings as DXF entities. + + The enum `polygon` determines the method to convert polygons, + use :attr:`PolygonConversion.HATCH` for :class:`~ezdxf.entities.Hatch` entity, + :attr:`PolygonConversion.POLYLINE` for :class:`~ezdxf.entities.LWPolyline` or + :attr:`PolygonConversion.HATCH_AND_POLYLINE` for both. + Option :attr:`PolygonConversion.POLYLINE` returns for the exterior path and each hole + a separated :class:`LWPolyline` entity. The :class:`Hatch` entity supports holes, + but has no explicit borderline. + + Yields :class:`Hatch` always before :class:`LWPolyline` entities. + + :attr:`PolygonConversion.MPOLYGON` support was added in v0.16.6, which is + like a :class:`~ezdxf.entities.Hatch` entity with additional borderlines, + but the MPOLYGON entity is not a core DXF entity and DXF viewers, + applications and libraries my not support this entity. The DXF attribute + `color` defines the borderline color and `fill_color` the color of the + solid filling. + + The returned DXF entities can be added to a layout by the + :meth:`Layout.add_entity` method. + + Args: + geo_mapping: ``__geo__interface__`` mapping as :class:`dict` or a Python + object with a :attr:`__geo__interface__` property + polygon: see :class:`PolygonConversion` + dxfattribs: dict with additional DXF attributes + post_process: post process function of type :class:`PostProcessFunc` that get the + created DXF entity and the geo mapping as input, see reference implementation + :func:`assign_layers` + + """ + return GeoProxy.parse(geo_mapping).to_dxf_entities( + polygon, dxfattribs, post_process=post_process + ) + + +def gfilter(entities: Iterable[DXFGraphic]) -> Iterator[DXFGraphic]: + """Filter DXF entities from iterable `entities`, which are incompatible to + the ``__geo_reference__`` interface. + """ + for e in entities: + if isinstance(e, Polyline): + if e.is_2d_polyline or e.is_3d_polyline: + yield e + elif e.dxftype() in SUPPORTED_DXF_TYPES: + yield e + + +TFunc: TypeAlias = Callable[[Vec3], Vec3] + + +class GeoProxy: + """Stores the ``__geo_interface__`` mapping in a parsed and compiled form. + + Stores coordinates as :class:`Vec3` objects and represents "Polygon" + always as tuple (exterior, holes) even without holes. + + The GeoJSON specification recommends 6 decimal places for latitude and + longitude which equates to roughly 10cm of precision. You may need + slightly more for certain applications, 9 decimal places would be + sufficient for professional survey-grade GPS coordinates. + + Args: + geo_mapping: parsed and compiled ``__geo_interface__`` mapping + places: decimal places to round for ``__geo_interface__`` export + + """ + + def __init__(self, geo_mapping: GeoMapping, places: int = 6): + self._root = geo_mapping + self.places = places + + @classmethod + def parse(cls, geo_mapping: GeoMapping) -> Self: + """Parse and compile a ``__geo_interface__`` mapping as :class:`dict` + or a Python object with a ``__geo_interface__`` property, does some + basic syntax checks, converts all coordinates into :class:`Vec3` + objects, represents "Polygon" always as tuple (exterior, holes) even + without holes. + + """ + if hasattr(geo_mapping, "__geo_interface__"): + geo_mapping = geo_mapping.__geo_interface__ + return cls(parse(geo_mapping)) + + @property + def root(self) -> GeoMapping: + return self._root + + @property + def geotype(self): + """Property returns the top level entity type or ``None``.""" + return self._root.get("type") + + def __copy__(self) -> GeoProxy: + """Returns a deep copy.""" + return copy.deepcopy(self) + + copy = __copy__ + + @property + def __geo_interface__(self) -> GeoMapping: + """Returns the ``__geo_interface__`` compatible mapping as + :class:`dict`. + """ + return _rebuild(self._root, self.places) + + def __iter__(self) -> Iterator[GeoMapping]: + """Iterate over all geometry entities. + + Yields only "Point", "LineString", "Polygon", "MultiPoint", + "MultiLineString" and "MultiPolygon" objects, returns the content of + "GeometryCollection", "FeatureCollection" and "Feature" as geometry + objects ("Point", ...). + + """ + + def _iter(node: GeoMapping) -> Iterator[GeoMapping]: + type_ = node[TYPE] + if type_ == FEATURE_COLLECTION: + for feature in node[FEATURES]: + yield from _iter(feature) + elif type_ == GEOMETRY_COLLECTION: + for geometry in node[GEOMETRIES]: + yield from _iter(geometry) + elif type_ == FEATURE: + geometry = node[GEOMETRY] + if geometry[TYPE] == GEOMETRY_COLLECTION: + yield from _iter(geometry) + else: + yield geometry + else: + yield node + + yield from _iter(self._root) + + def filter(self, func: Callable[[GeoProxy], bool]) -> None: + """Removes all mappings for which `func()` returns ``False``. + The function only has to handle Point, LineString and Polygon entities, + other entities like MultiPolygon are divided into separate entities + also any collection. + + """ + + def multi_entity(root, type_) -> bool: + coordinates = [] + for entity in root[COORDINATES]: + if func(GeoProxy({TYPE: type_, COORDINATES: entity})): + coordinates.append(entity) + root[COORDINATES] = coordinates + return bool(len(coordinates)) + + def check(root) -> bool: + type_ = root[TYPE] + if type_ == FEATURE_COLLECTION: + root[FEATURES] = [ + feature for feature in root[FEATURES] if check(feature) + ] + return bool(len(root[FEATURES])) + elif type_ == GEOMETRY_COLLECTION: + root[GEOMETRIES] = [ + geometry for geometry in root[GEOMETRIES] if check(geometry) + ] + return bool(len(root[GEOMETRIES])) + elif type_ == FEATURE: + root[GEOMETRY] = root[GEOMETRY] if check(root[GEOMETRY]) else {} + return bool(root[GEOMETRY]) + elif type_ == MULTI_POINT: + return multi_entity(root, POINT) + elif type_ == MULTI_LINE_STRING: + return multi_entity(root, LINE_STRING) + elif type_ == MULTI_POLYGON: + return multi_entity(root, POLYGON) + else: + return func(GeoProxy(root)) + + if not check(self._root): + self._root = {} + + def globe_to_map(self, func: Optional[TFunc] = None) -> None: + """Transform all coordinates recursive from globe representation + in longitude and latitude in decimal degrees into 2D map representation + in meters. + + Default is WGS84 `EPSG:4326 `_ (GPS) to WGS84 + `EPSG:3395 `_ World Mercator function + :func:`wgs84_4326_to_3395`. + + Use the `pyproj `_ package to write + a custom projection function as needed. + + Args: + func: custom transformation function, which takes one + :class:`Vec3` object as argument and returns the result as + a :class:`Vec3` object. + + """ + if func is None: + func = wgs84_4326_to_3395 + self.apply(func) + + def map_to_globe(self, func: Optional[TFunc] = None) -> None: + """Transform all coordinates recursive from 2D map representation in + meters into globe representation as longitude and latitude in decimal + degrees. + + Default is WGS84 `EPSG:3395 `_ World Mercator + to WGS84 `EPSG:4326 `_ GPS function + :func:`wgs84_3395_to_4326`. + + Use the `pyproj `_ package to write + a custom projection function as needed. + + Args: + func: custom transformation function, which takes one + :class:`Vec3` object as argument and returns the result as + a :class:`Vec3` object. + + """ + if func is None: + func = wgs84_3395_to_4326 + self.apply(func) + + def crs_to_wcs(self, crs: Matrix44) -> None: + """Transform all coordinates recursive from CRS into + :ref:`WCS` coordinates by transformation matrix `crs` inplace, + see also :meth:`GeoProxy.wcs_to_crs`. + + Args: + crs: transformation matrix of type :class:`~ezdxf.math.Matrix44` + + """ + self.apply(crs.ucs_vertex_from_wcs) + + def wcs_to_crs(self, crs: Matrix44) -> None: + """Transform all coordinates recursive from :ref:`WCS` coordinates into + Coordinate Reference System (CRS) by transformation matrix `crs` + inplace. + + The CRS is defined by the :class:`~ezdxf.entities.GeoData` entity, + get the :class:`GeoData` entity from the modelspace by method + :meth:`~ezdxf.layouts.Modelspace.get_geodata`. + The CRS transformation matrix can be acquired form the :class:`GeoData` + object by :meth:`~ezdxf.entities.GeoData.get_crs_transformation` method: + + .. code:: Python + + doc = ezdxf.readfile('file.dxf') + msp = doc.modelspace() + geodata = msp.get_geodata() + if geodata: + matrix, axis_ordering = geodata.get_crs_transformation() + + If `axis_ordering` is ``False`` the CRS is not compatible with the + ``__geo_interface__`` or GeoJSON (see chapter 3.1.1). + + Args: + crs: transformation matrix of type :class:`~ezdxf.math.Matrix44` + + """ + + self.apply(crs.transform) + + def apply(self, func: TFunc) -> None: + """Apply the transformation function `func` recursive to all + coordinates. + + Args: + func: transformation function as Callable[[Vec3], Vec3] + + """ + + def process(entity: GeoMapping): + def transform(coords): + if isinstance(coords, Vec3): + return func(coords) + else: + return [transform(c) for c in coords] + + entity[COORDINATES] = transform(entity[COORDINATES]) + + for entity in self.__iter__(): + process(entity) + + @classmethod + def from_dxf_entities( + cls, + entity: Union[DXFGraphic, Iterable[DXFGraphic]], + distance: float = MAX_FLATTENING_DISTANCE, + force_line_string: bool = False, + ) -> GeoProxy: + """Constructor from a single DXF entity or an iterable of DXF entities. + + Args: + entity: DXF entity or entities + distance: maximum flattening distance for curve approximations + force_line_string: by default this function returns Polygon objects for + closed geometries like CIRCLE, SOLID, closed POLYLINE and so on, + by setting argument `force_line_string` to ``True``, this entities + will be returned as LineString objects. + + """ + if isinstance(entity, DXFGraphic): + m = mapping(entity, distance, force_line_string) + else: + m = collection(entity, distance, force_line_string) + return cls(m) + + def to_dxf_entities( + self, + polygon=PolygonConversion.HATCH, + dxfattribs=None, + *, + post_process: Optional[PostProcessFunc] = None, + ) -> Iterator[DXFGraphic]: + """Returns stored ``__geo_interface__`` mappings as DXF entities. + + The `polygon` argument determines the method to convert polygons, + use 1 for :class:`~ezdxf.entities.Hatch` entity, 2 for + :class:`~ezdxf.entities.LWPolyline` or 3 for both. + Option 2 returns for the exterior path and each hole a separated + :class:`LWPolyline` entity. The :class:`Hatch` entity supports holes, + but has no explicit borderline. + + Yields :class:`Hatch` always before :class:`LWPolyline` entities. + + :class:`~ezdxf.entities.MPolygon` support was added in v0.16.6, which is + like a :class:`~ezdxf.entities.Hatch` entity with additional borderlines, + but the MPOLYGON entity is not a core DXF entity and DXF viewers, + applications and libraries my not support this entity. The DXF attribute + `color` defines the borderline color and `fill_color` the color of the + solid filling. + + The returned DXF entities can be added to a layout by the + :meth:`Layout.add_entity` method. + + Args: + polygon: see :class:`PolygonConversion` + dxfattribs: dict with additional DXF attributes + post_process: post process function of type :class:`PostProcesFunc` that get the + created DXF entity and the geo mapping as input, see reference implementation + :func:`assign_layers` + + """ + + def point(vertex: Sequence) -> Point: + point = cast(Point, factory.new("POINT", dxfattribs=dxfattribs)) + point.dxf.location = vertex + return point + + def lwpolyline(vertices: Sequence) -> LWPolyline: + polyline = cast( + LWPolyline, factory.new("LWPOLYLINE", dxfattribs=dxfattribs) + ) + polyline.append_points(vertices, format="xy") + return polyline + + def polygon_(exterior: list, holes: list) -> Iterator[DXFGraphic]: + if polygon == PolygonConversion.MPOLYGON: + yield mpolygon_(exterior, holes) + # the following DXF entities do not support the + # "fill_color" attribute + return + if polygon & PolygonConversion.HATCH: + yield hatch_(exterior, holes) + if polygon & PolygonConversion.POLYLINE: + for path in [exterior] + holes: + yield lwpolyline(path) + + def dxf_polygon_( + dxftype: str, exterior: Sequence, holes: Sequence + ) -> DXFPolygon: + dxf_polygon = cast(DXFPolygon, factory.new(dxftype, dxfattribs=dxfattribs)) + dxf_polygon.dxf.hatch_style = const.HATCH_STYLE_OUTERMOST + dxf_polygon.paths.add_polyline_path( + exterior, flags=const.BOUNDARY_PATH_EXTERNAL + ) + for hole in holes: + dxf_polygon.paths.add_polyline_path( + hole, flags=const.BOUNDARY_PATH_OUTERMOST + ) + return dxf_polygon + + def hatch_(exterior: Sequence, holes: Sequence) -> DXFPolygon: + return dxf_polygon_("HATCH", exterior, holes) + + def mpolygon_(exterior: Sequence, holes: Sequence) -> DXFPolygon: + return dxf_polygon_("MPOLYGON", exterior, holes) + + def entity(type_, coordinates) -> Iterator[DXFGraphic]: + if type_ == POINT: + yield point(coordinates) + elif type_ == LINE_STRING: + yield lwpolyline(coordinates) + elif type_ == POLYGON: + exterior, holes = coordinates + yield from polygon_(exterior, holes) + elif type_ == MULTI_POINT: + for data in coordinates: + yield point(data) + elif type_ == MULTI_LINE_STRING: + for data in coordinates: + yield lwpolyline(data) + elif type_ == MULTI_POLYGON: + for data in coordinates: + exterior, holes = data + yield from polygon_(exterior, holes) + + if polygon < 1 or polygon > 4: + raise ValueError(f"invalid value for polygon: {polygon}") + + dxfattribs = dict(dxfattribs or {}) + for feature, geometry in iter_features(self._root): + type_ = geometry.get(TYPE) + for e in entity(type_, geometry.get(COORDINATES)): + if post_process: + post_process(e, feature) + yield e + + +def iter_features(geo_mapping: GeoMapping) -> Iterator[tuple[GeoMapping, GeoMapping]]: + """Yields all geometries of a ``__geo_mapping__`` as (`feature`, `geometry`) tuples. + + If no feature is defined the `feature` value is an empty ``dict``. When a `feature` + contains `GeometryCollections`, the function yields for each sub-geometry a separate + (`feature`, `geometry`) tuple. + + """ + current_feature: GeoMapping = {} + + def features(node: GeoMapping) -> Iterator[tuple[GeoMapping, GeoMapping]]: + nonlocal current_feature + + type_ = node[TYPE] + if type_ == FEATURE_COLLECTION: + for feature in node[FEATURES]: + yield from features(feature) + elif type_ == GEOMETRY_COLLECTION: + for geometry in node[GEOMETRIES]: + yield from features(geometry) + elif type_ == FEATURE: + current_feature = node + geometry = node[GEOMETRY] + if geometry[TYPE] == GEOMETRY_COLLECTION: + yield from features(geometry) + else: + yield current_feature, geometry + else: + yield current_feature, node + + yield from features(geo_mapping) + + +def parse(geo_mapping: GeoMapping) -> GeoMapping: + """Parse ``__geo_interface__`` convert all coordinates into + :class:`Vec3` objects, Polygon['coordinates'] is always a + tuple (exterior, holes), holes maybe an empty list. + + """ + geo_mapping = copy.deepcopy(geo_mapping) + type_ = geo_mapping.get(TYPE) + if type_ is None: + raise ValueError(f'Required key "{TYPE}" not found.') + + if type_ == FEATURE_COLLECTION: + # It is possible for this array to be empty. + features = geo_mapping.get(FEATURES) + if features: + geo_mapping[FEATURES] = [parse(f) for f in features] + else: + raise ValueError(f'Missing key "{FEATURES}" in FeatureCollection.') + elif type_ == GEOMETRY_COLLECTION: + # It is possible for this array to be empty. + geometries = geo_mapping.get(GEOMETRIES) + if geometries: + geo_mapping[GEOMETRIES] = [parse(g) for g in geometries] + else: + raise ValueError(f'Missing key "{GEOMETRIES}" in GeometryCollection.') + elif type_ == FEATURE: + # The value of the geometry member SHALL be either a Geometry object + # or, in the case that the Feature is unlocated, a JSON null value. + if GEOMETRY in geo_mapping: + geometry = geo_mapping.get(GEOMETRY) + geo_mapping[GEOMETRY] = parse(geometry) if geometry else None + else: + raise ValueError(f'Missing key "{GEOMETRY}" in Feature.') + elif type_ in { + POINT, + LINE_STRING, + POLYGON, + MULTI_POINT, + MULTI_LINE_STRING, + MULTI_POLYGON, + }: + coordinates = geo_mapping.get(COORDINATES) + if coordinates is None: + raise ValueError(f'Missing key "{COORDINATES}" in {type_}.') + if type_ == POINT: + coordinates = Vec3(coordinates) + elif type_ in (LINE_STRING, MULTI_POINT): + coordinates = Vec3.list(coordinates) + elif type_ == POLYGON: + coordinates = _parse_polygon(coordinates) + elif type_ == MULTI_LINE_STRING: + coordinates = [Vec3.list(v) for v in coordinates] + elif type_ == MULTI_POLYGON: + coordinates = [_parse_polygon(v) for v in coordinates] + geo_mapping[COORDINATES] = coordinates + else: + raise TypeError(f'Invalid type "{type_}".') + return geo_mapping + + +def _is_coordinate_sequence(coordinates: Sequence) -> bool: + """Returns ``True`` for a sequence of coordinates like [(0, 0), (1, 0)] + and ``False`` for a sequence of sequences: + [[(0, 0), (1, 0)], [(2, 0), (3, 0)]] + """ + if not isinstance(coordinates, Sequence): + raise ValueError("Invalid coordinate sequence.") + if len(coordinates) == 0: + raise ValueError("Invalid coordinate sequence.") + first_item = coordinates[0] + if len(first_item) == 0: + raise ValueError("Invalid coordinate sequence.") + return isinstance(first_item[0], numbers.Real) + + +def _parse_polygon(coordinates: Sequence) -> Sequence: + """Returns polygon definition as tuple (exterior, [holes]).""" + if _is_coordinate_sequence(coordinates): + exterior = coordinates + holes: Sequence = [] + else: + exterior = coordinates[0] + holes = coordinates[1:] + return Vec3.list(exterior), [Vec3.list(h) for h in holes] + + +def _rebuild(geo_mapping: GeoMapping, places: int = 6) -> GeoMapping: + """Returns ``__geo_interface__`` compatible mapping as :class:`dict` from + compiled internal representation. + + """ + + def vertex_2d(v: Vec3) -> tuple[float, float]: + return round(v.x, places), round(v.y, places) + + def vertex_3d(v: Vec3) -> tuple[float, float, float]: + return round(v.x, places), round(v.y, places), round(v.z, places) + + def vertices( + coords: Sequence[Vec3], + ) -> list[tuple[float, float] | tuple[float, float, float]]: + if any(v.z for v in coords): + return [vertex_3d(v) for v in coords] + return [vertex_2d(v) for v in coords] + + def _polygon(exterior, holes): + # For type "Polygon", the "coordinates" member MUST be an array of + # linear ring coordinate arrays. + return [vertices(ring) for ring in [exterior] + holes] + + geo_interface = dict(geo_mapping) + type_ = geo_interface[TYPE] + if type_ == FEATURE_COLLECTION: + geo_interface[FEATURES] = [_rebuild(f) for f in geo_interface[FEATURES]] + elif type_ == GEOMETRY_COLLECTION: + geo_interface[GEOMETRIES] = [_rebuild(g) for g in geo_interface[GEOMETRIES]] + elif type_ == FEATURE: + geo_interface[GEOMETRY] = _rebuild(geo_interface[GEOMETRY]) + elif type_ == POINT: + v = geo_interface[COORDINATES] + geo_interface[COORDINATES] = vertex_3d(v) if v.z else vertex_2d(v) + elif type_ in (LINE_STRING, MULTI_POINT): + coordinates = geo_interface[COORDINATES] + geo_interface[COORDINATES] = vertices(coordinates) + elif type_ == MULTI_LINE_STRING: + coordinates = [] + for line in geo_interface[COORDINATES]: + coordinates.append(vertices(line)) + geo_interface[COORDINATES] = coordinates + elif type_ == POLYGON: + geo_interface[COORDINATES] = _polygon(*geo_interface[COORDINATES]) + elif type_ == MULTI_POLYGON: + geo_interface[COORDINATES] = [ + _polygon(exterior, holes) for exterior, holes in geo_interface[COORDINATES] + ] + return geo_interface + + +def mapping( + entity: DXFGraphic, + distance: float = MAX_FLATTENING_DISTANCE, + force_line_string: bool = False, +) -> GeoMapping: + """Create the compiled ``__geo_interface__`` mapping as :class:`dict` + for the given DXF `entity`, all coordinates are :class:`Vec3` objects and + represents "Polygon" always as tuple (exterior, holes) even without holes. + + + Internal API - result is **not** a valid ``_geo_interface__`` mapping! + + Args: + entity: DXF entity + distance: maximum flattening distance for curve approximations + force_line_string: by default this function returns Polygon objects for + closed geometries like CIRCLE, SOLID, closed POLYLINE and so on, + by setting argument `force_line_string` to ``True``, this entities + will be returned as LineString objects. + + """ + + dxftype = entity.dxftype() + if isinstance(entity, Point): + return {TYPE: POINT, COORDINATES: entity.dxf.location} + elif isinstance(entity, Line): + return line_string_mapping([entity.dxf.start, entity.dxf.end]) + elif isinstance(entity, Polyline): + if entity.is_3d_polyline or entity.is_2d_polyline: + # May contain arcs as bulge values: + path = make_path(entity) + points = list(path.flattening(distance)) + return _line_string_or_polygon_mapping(points, force_line_string) + else: + raise TypeError("Polymesh and Polyface not supported.") + elif isinstance(entity, LWPolyline): + # May contain arcs as bulge values: + path = make_path(entity) + points = list(path.flattening(distance)) + return _line_string_or_polygon_mapping(points, force_line_string) + elif dxftype in {"CIRCLE", "ARC", "ELLIPSE", "SPLINE"}: + return _line_string_or_polygon_mapping( + list(entity.flattening(distance)), force_line_string # type: ignore + ) + elif dxftype in {"SOLID", "TRACE", "3DFACE"}: + return _line_string_or_polygon_mapping( + entity.wcs_vertices(close=True), force_line_string # type: ignore + ) + elif isinstance(entity, DXFPolygon): + return _hatch_as_polygon(entity, distance, force_line_string) + else: + raise TypeError(dxftype) + + +def _line_string_or_polygon_mapping(points: list[Vec3], force_line_string: bool): + len_ = len(points) + if len_ < 2: + raise ValueError("Invalid vertex count.") + if len_ == 2 or force_line_string: + return line_string_mapping(points) + else: + if is_linear_ring(points): + return polygon_mapping(points, []) + else: + return line_string_mapping(points) + + +def _hatch_as_polygon( + hatch: DXFPolygon, distance: float, force_line_string: bool +) -> GeoMapping: + def boundary_to_vertices(boundary) -> list[Vec3]: + path = from_hatch_boundary_path(boundary, ocs, elevation) + return path_to_vertices(path) + + def path_to_vertices(path) -> list[Vec3]: + path.close() + return list(path.flattening(distance)) + + # Path vertex winding order can be ignored here, validation and + # correction is done in polygon_mapping(). + + elevation = hatch.dxf.elevation.z + ocs = hatch.ocs() + hatch_style = hatch.dxf.hatch_style + + # Returns boundaries in EXTERNAL, OUTERMOST and DEFAULT order and filters + # unused boundaries according the hatch style: + boundaries = list(hatch.paths.rendering_paths(hatch_style)) + count = len(boundaries) + if count == 0: + raise ValueError(f"{hatch.dxftype()} without any boundary path.") + # Take first path as exterior path, multiple EXTERNAL paths are possible + exterior = boundaries[0] + if count == 1 or hatch_style == const.HATCH_STYLE_IGNORE: + points = boundary_to_vertices(exterior) + return _line_string_or_polygon_mapping(points, force_line_string) + else: + if force_line_string: + # Build a MultiString collection: + points = boundary_to_vertices(exterior) + geometries = [_line_string_or_polygon_mapping(points, force_line_string)] + # All other boundary paths are treated as holes + for hole in boundaries[1:]: + points = boundary_to_vertices(hole) + geometries.append( + _line_string_or_polygon_mapping(points, force_line_string) + ) + return join_multi_single_type_mappings(geometries) + else: + # Multiple separated polygons are possible in one HATCH entity: + polygons = [] + for exterior, holes in _boundaries_to_polygons(boundaries, ocs, elevation): + points = path_to_vertices(exterior) + polygons.append( + polygon_mapping(points, [path_to_vertices(hole) for hole in holes]) + ) + if len(polygons) > 1: + return join_multi_single_type_mappings(polygons) + return polygons[0] + + +def _boundaries_to_polygons(boundaries, ocs, elevation): + paths = ( + from_hatch_boundary_path(boundary, ocs, elevation) for boundary in boundaries + ) + for polygon in make_polygon_structure(paths): + exterior = polygon[0] + # only take exterior path of level 1 holes, nested holes are ignored + yield exterior, [hole[0] for hole in polygon[1:]] + + +def collection( + entities: Iterable[DXFGraphic], + distance: float = MAX_FLATTENING_DISTANCE, + force_line_string: bool = False, +) -> GeoMapping: + """Create the ``__geo_interface__`` mapping as :class:`dict` for the + given DXF `entities`, see https://gist.github.com/sgillies/2217756 + + Returns a "MultiPoint", "MultiLineString" or "MultiPolygon" collection if + all entities return the same GeoJSON type ("Point", "LineString", "Polygon") + else a "GeometryCollection". + + Internal API - result is **not** a valid ``_geo_interface__`` mapping! + + Args: + entities: iterable of DXF entities + distance: maximum flattening distance for curve approximations + force_line_string: by default this function returns "Polygon" objects for + closed geometries like CIRCLE, SOLID, closed POLYLINE and so on, + by setting argument `force_line_string` to ``True``, this entities + will be returned as "LineString" objects. + """ + m = [mapping(e, distance, force_line_string) for e in entities] + types = set(g[TYPE] for g in m) + if len(types) > 1: + return geometry_collection_mapping(m) + else: + return join_multi_single_type_mappings(m) + + +def line_string_mapping(points: list[Vec3]) -> GeoMapping: + """Returns a "LineString" mapping. + + .. code:: + + { + "type": "LineString", + "coordinates": [ + (100.0, 0.0), + (101.0, 1.0) + ] + } + """ + + return {TYPE: LINE_STRING, COORDINATES: points} + + +def is_linear_ring(points: list[Vec3]): + return points[0].isclose(points[-1]) + + +# GeoJSON : A linear ring MUST follow the right-hand rule with respect +# to the area it bounds, i.e., exterior rings are counterclockwise, and +# holes are clockwise. +def linear_ring(points: list[Vec3], ccw=True) -> list[Vec3]: + """Return `points` as linear ring (last vertex == first vertex), + argument `ccw` defines the winding orientation, ``True`` for counter-clock + wise and ``False`` for clock wise. + + """ + if len(points) < 3: + raise ValueError(f"Invalid vertex count: {len(points)}") + if not points[0].isclose(points[-1]): + points.append(points[0]) + + if has_clockwise_orientation(points): + if ccw: + points.reverse() + else: + if not ccw: + points.reverse() + + return points + + +def polygon_mapping(points: list[Vec3], holes: list[list[Vec3]]) -> GeoMapping: + """Returns a "Polygon" mapping. + + .. code:: + + { + "type": "Polygon", + "coordinates": [ + [ + (100.0, 0.0), + (101.0, 0.0), + (101.0, 1.0), + (100.0, 1.0), + (100.0, 0.0) + ], + [ + (100.8, 0.8), + (100.8, 0.2), + (100.2, 0.2), + (100.2, 0.8), + (100.8, 0.8) + ] + ] + } + """ + + exterior = linear_ring(points, ccw=True) + if holes: + holes = [linear_ring(hole, ccw=False) for hole in holes] + rings = exterior, holes + else: + rings = exterior, [] + return { + TYPE: POLYGON, + COORDINATES: rings, + } + + +def join_multi_single_type_mappings(geometries: Iterable[GeoMapping]) -> GeoMapping: + """Returns multiple geometries as a "MultiPoint", "MultiLineString" or + "MultiPolygon" mapping. + """ + types = set() + data = list() + for g in geometries: + types.add(g[TYPE]) + data.append(g[COORDINATES]) + + if len(types) > 1: + raise TypeError(f"Type mismatch: {str(types)}") + elif len(types) == 0: + return dict() + else: + return {TYPE: "Multi" + tuple(types)[0], COORDINATES: data} + + +def geometry_collection_mapping(geometries: Iterable[GeoMapping]) -> GeoMapping: + """Returns multiple geometries as a "GeometryCollection" mapping.""" + return {TYPE: GEOMETRY_COLLECTION, GEOMETRIES: list(geometries)} + + +# Values stored in GeoData RSS tag are not precise enough to match +# control calculation at epsg.io: +# Semi Major Axis: 6.37814e+06 +# Semi Minor Axis: 6.35675e+06 + +WGS84_SEMI_MAJOR_AXIS = 6378137 +WGS84_SEMI_MINOR_AXIS = 6356752.3142 +WGS84_ELLIPSOID_ECCENTRIC = math.sqrt( + 1.0 - WGS84_SEMI_MINOR_AXIS**2 / WGS84_SEMI_MAJOR_AXIS**2 +) +CONST_E2 = math.e / 2.0 +CONST_PI_2 = math.pi / 2.0 +CONST_PI_4 = math.pi / 4.0 + + +def wgs84_4326_to_3395(location: Vec3) -> Vec3: + """Transform WGS84 `EPSG:4326 `_ location given as + latitude and longitude in decimal degrees as used by GPS into World Mercator + cartesian 2D coordinates in meters `EPSG:3395 `_. + + Args: + location: :class:`Vec3` object, x-attribute represents the longitude + value (East-West) in decimal degrees and the y-attribute + represents the latitude value (North-South) in decimal degrees. + """ + return Vec3(gps_to_world_mercator(location.x, location.y)) + + +def wgs84_3395_to_4326(location: Vec3, tol: float = 1e-6) -> Vec3: + """Transform WGS84 World Mercator `EPSG:3395 `_ + location given as cartesian 2D coordinates x, y in meters into WGS84 decimal + degrees as longitude and latitude `EPSG:4326 `_ as + used by GPS. + + Args: + location: :class:`Vec3` object, z-axis is ignored + tol: accuracy for latitude calculation + + """ + return Vec3(world_mercator_to_gps(location.x, location.y, tol)) + + +def dms2dd(d: float, m: float = 0, s: float = 0) -> float: + """Convert degree, minutes, seconds into decimal degrees.""" + dd = d + float(m) / 60 + float(s) / 3600 + return dd + + +def dd2dms(dd: float) -> tuple[float, float, float]: + """Convert decimal degrees into degree, minutes, seconds.""" + m, s = divmod(dd * 3600, 60) + d, m = divmod(m, 60) + return d, m, s + + +def assign_layers(entity: DXFGraphic, mapping: GeoMapping) -> None: + """Reference implementation for a :func:`post_process` function. + + .. seealso:: + + :func:`dxf_entities` + + """ + properties = mapping.get(PROPERTIES) + if properties is None: + return + layer = properties.get("layer") + if layer: + entity.dxf.layer = layer diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/addons/gerber_D6673.py b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/addons/gerber_D6673.py new file mode 100644 index 0000000000000000000000000000000000000000..440c6f9bac4c3163b9b271e5923138965c8349f7 --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/addons/gerber_D6673.py @@ -0,0 +1,69 @@ +# Copyright (c) 2022, Manfred Moitzi +# License: MIT License +# This add-on was created to solve this problem: https://github.com/mozman/ezdxf/discussions/789 +from __future__ import annotations +from typing import TextIO +import os +import io + +import ezdxf +from ezdxf.document import Drawing +from ezdxf.layouts import Modelspace +from ezdxf.lldxf.tagwriter import TagWriter, AbstractTagWriter + +__all__ = ["export_file", "export_stream"] + + +def export_file(doc: Drawing, filename: str | os.PathLike) -> None: + """Exports the specified DXF R12 document, which should contain content conforming + to the ASTM-D6673-10 standard, in a special way so that Gerber Technology applications + can parse it by their low-quality DXF parser. + """ + fp = io.open(filename, mode="wt", encoding="ascii", errors="dxfreplace") + export_stream(doc, fp) + + +def export_stream(doc: Drawing, stream: TextIO) -> None: + """Exports the specified DXF R12 document into a `stream` object.""" + + if doc.dxfversion != ezdxf.const.DXF12: + raise ezdxf.DXFVersionError("only DXF R12 format is supported") + tagwriter = TagWriter(stream, write_handles=False, dxfversion=ezdxf.const.DXF12) + _export_sections(doc, tagwriter) + + +def _export_sections(doc: Drawing, tagwriter: AbstractTagWriter) -> None: + _export_header(tagwriter) + _export_blocks(doc, tagwriter) + _export_entities(doc.modelspace(), tagwriter) + + +def _export_header(tagwriter: AbstractTagWriter) -> None: + # export empty header section + tagwriter.write_str(" 0\nSECTION\n 2\nHEADER\n") + tagwriter.write_tag2(0, "ENDSEC") + + +def _export_blocks(doc: Drawing, tagwriter: AbstractTagWriter) -> None: + # This is the important part: + # + # Gerber Technology applications have a bad DXF parser which do not accept DXF + # files that contain blocks without ASTM-D6673-10 content, such as the standard + # $MODEL_SPACE and $PAPER_SPACE block definitions. + # + # This is annoying but the presence of these blocks is NOT mandatory for + # the DXF R12 standard. + # + tagwriter.write_str(" 0\nSECTION\n 2\nBLOCKS\n") + for block_record in doc.block_records: + # export only BLOCK definitions, ignore LAYOUT definition blocks + if block_record.is_block_layout: + block_record.export_block_definition(tagwriter) + tagwriter.write_tag2(0, "ENDSEC") + + +def _export_entities(msp: Modelspace, tagwriter: AbstractTagWriter) -> None: + tagwriter.write_str(" 0\nSECTION\n 2\nENTITIES\n") + msp.entity_space.export_dxf(tagwriter) + tagwriter.write_tag2(0, "ENDSEC") + tagwriter.write_tag2(0, "EOF") diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/addons/importer.py b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/addons/importer.py new file mode 100644 index 0000000000000000000000000000000000000000..da0e6d576209727f85e9ba0921324a81766c8242 --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/addons/importer.py @@ -0,0 +1,664 @@ +# Purpose: Import data from another DXF document +# Copyright (c) 2013-2022, Manfred Moitzi +# License: MIT License +from __future__ import annotations +from typing import TYPE_CHECKING, Iterable, cast, Union, Optional +import logging +from ezdxf.lldxf import const +from ezdxf.render.arrows import ARROWS +from ezdxf.entities import ( + DXFEntity, + DXFGraphic, + Hatch, + Polyline, + DimStyle, + Dimension, + Viewport, + Linetype, + Insert, +) + +if TYPE_CHECKING: + from ezdxf.document import Drawing + from ezdxf.layouts import BaseLayout, Layout + +logger = logging.getLogger("ezdxf") + +IMPORT_TABLES = ["linetypes", "layers", "styles", "dimstyles"] +IMPORT_ENTITIES = { + "LINE", + "POINT", + "CIRCLE", + "ARC", + "TEXT", + "SOLID", + "TRACE", + "3DFACE", + "SHAPE", + "POLYLINE", + "ATTRIB", + "INSERT", + "ELLIPSE", + "MTEXT", + "LWPOLYLINE", + "SPLINE", + "HATCH", + "MESH", + "XLINE", + "RAY", + "ATTDEF", + "DIMENSION", + "LEADER", # dimension style override not supported! + "VIEWPORT", +} + + +class Importer: + """ + The :class:`Importer` class is central element for importing data from + other DXF documents. + + Args: + source: source :class:`~ezdxf.drawing.Drawing` + target: target :class:`~ezdxf.drawing.Drawing` + + Attributes: + source: source DXF document + target: target DXF document + used_layers: Set of used layer names as string, AutoCAD accepts layer + names without a LAYER table entry. + used_linetypes: Set of used linetype names as string, these linetypes + require a TABLE entry or AutoCAD will crash. + used_styles: Set of used text style names, these text styles require + a TABLE entry or AutoCAD will crash. + used_dimstyles: Set of used dimension style names, these dimension + styles require a TABLE entry or AutoCAD will crash. + + """ + + def __init__(self, source: Drawing, target: Drawing): + self.source: Drawing = source + self.target: Drawing = target + + self.used_layers: set[str] = set() + self.used_linetypes: set[str] = set() + self.used_styles: set[str] = set() + self.used_shape_files: set[str] = set() # style entry without a name! + self.used_dimstyles: set[str] = set() + self.used_arrows: set[str] = set() + self.handle_mapping: dict[str, str] = dict() # old_handle: new_handle + + # collects all imported INSERT entities, for later name resolving. + self.imported_inserts: list[DXFEntity] = list() # imported inserts + + # collects all imported block names and their assigned new name + # imported_block[original_name] = new_name + self.imported_blocks: dict[str, str] = dict() + self._default_plotstyle_handle = target.plotstyles["Normal"].dxf.handle + self._default_material_handle = target.materials["Global"].dxf.handle + + def _add_used_resources(self, entity: DXFEntity) -> None: + """Register used resources.""" + self.used_layers.add(entity.get_dxf_attrib("layer", "0")) + self.used_linetypes.add(entity.get_dxf_attrib("linetype", "BYLAYER")) + if entity.is_supported_dxf_attrib("style"): + self.used_styles.add(entity.get_dxf_attrib("style", "Standard")) + if entity.is_supported_dxf_attrib("dimstyle"): + self.used_dimstyles.add(entity.get_dxf_attrib("dimstyle", "Standard")) + + def _add_dimstyle_resources(self, dimstyle: DimStyle) -> None: + self.used_styles.add(dimstyle.get_dxf_attrib("dimtxsty", "Standard")) + self.used_linetypes.add(dimstyle.get_dxf_attrib("dimltype", "BYLAYER")) + self.used_linetypes.add(dimstyle.get_dxf_attrib("dimltex1", "BYLAYER")) + self.used_linetypes.add(dimstyle.get_dxf_attrib("dimltex2", "BYLAYER")) + self.used_arrows.add(dimstyle.get_dxf_attrib("dimblk", "")) + self.used_arrows.add(dimstyle.get_dxf_attrib("dimblk1", "")) + self.used_arrows.add(dimstyle.get_dxf_attrib("dimblk2", "")) + self.used_arrows.add(dimstyle.get_dxf_attrib("dimldrblk", "")) + + def _add_linetype_resources(self, linetype: Linetype) -> None: + if not linetype.pattern_tags.is_complex_type(): + return + style_handle = linetype.pattern_tags.get_style_handle() + style = self.source.entitydb.get(style_handle) + if style is None: + return + if style.dxf.name == "": + # Shape file entries have no name! + self.used_shape_files.add(style.dxf.font) + else: + self.used_styles.add(style.dxf.name) + + def import_tables( + self, table_names: Union[str, Iterable[str]] = "*", replace=False + ) -> None: + """Import DXF tables from the source document into the target document. + + Args: + table_names: iterable of tables names as strings, or a single table + name as string or "*" for all supported tables + replace: ``True`` to replace already existing table entries else + ignore existing entries + + Raises: + TypeError: unsupported table type + + """ + if isinstance(table_names, str): + if table_names == "*": # import all supported tables + table_names = IMPORT_TABLES + else: # import one specific table + table_names = (table_names,) + for table_name in table_names: + self.import_table(table_name, entries="*", replace=replace) + + def import_table( + self, name: str, entries: Union[str, Iterable[str]] = "*", replace=False + ) -> None: + """ + Import specific table entries from the source document into the + target document. + + Args: + name: valid table names are "layers", "linetypes" and "styles" + entries: Iterable of table names as strings, or a single table name + or "*" for all table entries + replace: ``True`` to replace the already existing table entry else + ignore existing entries + + Raises: + TypeError: unsupported table type + + """ + if name not in IMPORT_TABLES: + raise TypeError(f'Table "{name}" import not supported.') + source_table = getattr(self.source.tables, name) + target_table = getattr(self.target.tables, name) + + if isinstance(entries, str): + if entries == "*": # import all table entries + entries = (entry.dxf.name for entry in source_table) + else: # import just one table entry + entries = (entries,) + for entry_name in entries: + try: + table_entry = source_table.get(entry_name) + except const.DXFTableEntryError: + logger.warning( + f'Required table entry "{entry_name}" in table f{name} ' + f"not found." + ) + continue + entry_name = table_entry.dxf.name + if entry_name in target_table: + if replace: + logger.debug( + f'Replacing already existing entry "{entry_name}" ' + f"of {name} table." + ) + target_table.remove(table_entry.dxf.name) + else: + logger.debug( + f'Discarding already existing entry "{entry_name}" ' + f"of {name} table." + ) + continue + + if name == "layers": + self.used_linetypes.add( + table_entry.get_dxf_attrib("linetype", "Continuous") + ) + elif name == "dimstyles": + self._add_dimstyle_resources(table_entry) + elif name == "linetypes": + self._add_linetype_resources(table_entry) + + # Duplicate table entry: + new_table_entry = self._duplicate_table_entry(table_entry) + target_table.add_entry(new_table_entry) + + # Register resource handles for mapping: + self.handle_mapping[table_entry.dxf.handle] = new_table_entry.dxf.handle + + def import_shape_files(self, fonts: set[str]) -> None: + """Import shape file table entries from the source document into the + target document. + Shape file entries are stored in the styles table but without a name. + + """ + for font in fonts: + table_entry = self.source.styles.find_shx(font) + # copy is not necessary, just create a new entry: + new_table_entry = self.target.styles.get_shx(font) + if table_entry: + # Register resource handles for mapping: + self.handle_mapping[table_entry.dxf.handle] = new_table_entry.dxf.handle + else: + logger.warning(f'Required shape file entry "{font}" not found.') + + def _set_table_entry_dxf_attribs(self, entity: DXFEntity) -> None: + entity.doc = self.target + if entity.dxf.hasattr("plotstyle_handle"): + entity.dxf.plotstyle_handle = self._default_plotstyle_handle + if entity.dxf.hasattr("material_handle"): + entity.dxf.material_handle = self._default_material_handle + + def _duplicate_table_entry(self, entry: DXFEntity) -> DXFEntity: + # duplicate table entry + new_entry = new_clean_entity(entry) + self._set_table_entry_dxf_attribs(entry) + + # create a new handle and add entity to target entity database + self.target.entitydb.add(new_entry) + return new_entry + + def import_entity( + self, entity: DXFEntity, target_layout: Optional[BaseLayout] = None + ) -> None: + """ + Imports a single DXF `entity` into `target_layout` or the modelspace + of the target document, if `target_layout` is ``None``. + + Args: + entity: DXF entity to import + target_layout: any layout (modelspace, paperspace or block) from + the target document + + Raises: + DXFStructureError: `target_layout` is not a layout of target document + + """ + + def set_dxf_attribs(e): + e.doc = self.target + # remove invalid resources + e.dxf.discard("plotstyle_handle") + e.dxf.discard("material_handle") + e.dxf.discard("visualstyle_handle") + + if target_layout is None: + target_layout = self.target.modelspace() + elif target_layout.doc != self.target: + raise const.DXFStructureError( + "Target layout has to be a layout or block from the target " "document." + ) + + dxftype = entity.dxftype() + if dxftype not in IMPORT_ENTITIES: + logger.debug(f"Import of {str(entity)} not supported") + return + self._add_used_resources(entity) + + try: + new_entity = cast(DXFGraphic, new_clean_entity(entity)) + except const.DXFTypeError: + logger.debug(f"Copying for DXF type {dxftype} not supported.") + return + + set_dxf_attribs(new_entity) + self.target.entitydb.add(new_entity) + target_layout.add_entity(new_entity) + + try: # additional processing + getattr(self, "_import_" + dxftype.lower())(new_entity) + except AttributeError: + pass + + def _import_insert(self, insert: Insert): + self.imported_inserts.append(insert) + # remove all possible source document dependencies from sub entities + for attrib in insert.attribs: + remove_dependencies(attrib) + + def _import_polyline(self, polyline: Polyline): + # remove all possible source document dependencies from sub entities + for vertex in polyline.vertices: + remove_dependencies(vertex) + + def _import_hatch(self, hatch: Hatch): + hatch.dxf.discard("associative") + + def _import_viewport(self, viewport: Viewport): + viewport.dxf.discard("sun_handle") + viewport.dxf.discard("clipping_boundary_handle") + viewport.dxf.discard("ucs_handle") + viewport.dxf.discard("ucs_base_handle") + viewport.dxf.discard("background_handle") + viewport.dxf.discard("shade_plot_handle") + viewport.dxf.discard("visual_style_handle") + viewport.dxf.discard("ref_vp_object_1") + viewport.dxf.discard("ref_vp_object_2") + viewport.dxf.discard("ref_vp_object_3") + viewport.dxf.discard("ref_vp_object_4") + + def _import_dimension(self, dimension: Dimension): + if dimension.virtual_block_content: + for entity in dimension.virtual_block_content: + if isinstance(entity, Insert): # import arrow blocks + self.import_block(entity.dxf.name, rename=False) + self._add_used_resources(entity) + else: + logger.error("The required geometry block for DIMENSION is not defined.") + + def import_entities( + self, + entities: Iterable[DXFEntity], + target_layout: Optional[BaseLayout] = None, + ) -> None: + """Import all `entities` into `target_layout` or the modelspace of the + target document, if `target_layout` is ``None``. + + Args: + entities: Iterable of DXF entities + target_layout: any layout (modelspace, paperspace or block) from + the target document + + Raises: + DXFStructureError: `target_layout` is not a layout of target document + + """ + for entity in entities: + self.import_entity(entity, target_layout) + + def import_modelspace(self, target_layout: Optional[BaseLayout] = None) -> None: + """Import all entities from source modelspace into `target_layout` or + the modelspace of the target document, if `target_layout` is ``None``. + + Args: + target_layout: any layout (modelspace, paperspace or block) from + the target document + + Raises: + DXFStructureError: `target_layout` is not a layout of target document + + """ + self.import_entities(self.source.modelspace(), target_layout=target_layout) + + def recreate_source_layout(self, name: str) -> Layout: + """Recreate source paperspace layout `name` in the target document. + The layout will be renamed if `name` already exist in the target + document. Returns target modelspace for layout name "Model". + + Args: + name: layout name as string + + Raises: + KeyError: if source layout `name` not exist + + """ + + def get_target_name(): + tname = name + base_name = name + count = 1 + while tname in self.target.layouts: + tname = base_name + str(count) + count += 1 + + return tname + + def clear(dxfattribs: dict) -> dict: + def discard(name: str): + try: + del dxfattribs[name] + except KeyError: + pass + + discard("handle") + discard("owner") + discard("taborder") + discard("shade_plot_handle") + discard("block_record_handle") + discard("viewport_handle") + discard("ucs_handle") + discard("base_ucs_handle") + return dxfattribs + + if name.lower() == "model": + return self.target.modelspace() + + source_layout = self.source.layouts.get(name) # raises KeyError + target_name = get_target_name() + dxfattribs = clear(source_layout.dxf_layout.dxfattribs()) + target_layout = self.target.layouts.new(target_name, dxfattribs=dxfattribs) + return target_layout + + def import_paperspace_layout(self, name: str) -> Layout: + """Import paperspace layout `name` into the target document. + + Recreates the source paperspace layout in the target document, renames + the target paperspace if a paperspace with same `name` already exist + and imports all entities from the source paperspace into the target + paperspace. + + Args: + name: source paper space name as string + + Returns: new created target paperspace :class:`Layout` + + Raises: + KeyError: source paperspace does not exist + DXFTypeError: invalid modelspace import + + """ + if name.lower() == "model": + raise const.DXFTypeError( + "Can not import modelspace, use method import_modelspace()." + ) + source_layout = self.source.layouts.get(name) + target_layout = self.recreate_source_layout(name) + self.import_entities(source_layout, target_layout) + return target_layout + + def import_paperspace_layouts(self) -> None: + """Import all paperspace layouts and their content into the target + document. + Target layouts will be renamed if a layout with the same name already + exist. Layouts will be imported in original tab order. + + """ + for name in self.source.layouts.names_in_taborder(): + if name.lower() != "model": # do not import modelspace + self.import_paperspace_layout(name) + + def import_blocks(self, block_names: Iterable[str], rename=False) -> None: + """Import all BLOCK definitions from source document. + + If a BLOCK already exist the BLOCK will be renamed if argument + `rename` is ``True``, otherwise the existing BLOCK in the target + document will be used instead of the BLOCK from the source document. + Required name resolving for imported BLOCK references (INSERT), will be + done in the :meth:`Importer.finalize` method. + + Args: + block_names: names of BLOCK definitions to import + rename: rename BLOCK if a BLOCK with the same name already exist in + target document + + Raises: + ValueError: BLOCK in source document not found (defined) + + """ + for block_name in block_names: + self.import_block(block_name, rename=rename) + + def import_block(self, block_name: str, rename=True) -> str: + """Import one BLOCK definition from source document. + + If the BLOCK already exist the BLOCK will be renamed if argument + `rename` is ``True``, otherwise the existing BLOCK in the target + document will be used instead of the BLOCK in the source document. + Required name resolving for imported block references (INSERT), will be + done in the :meth:`Importer.finalize` method. + + To replace an existing BLOCK in the target document, just delete it + before importing data: + :code:`target.blocks.delete_block(block_name, safe=False)` + + Args: + block_name: name of BLOCK to import + rename: rename BLOCK if a BLOCK with the same name already exist in + target document + + Returns: (renamed) BLOCK name + + Raises: + ValueError: BLOCK in source document not found (defined) + + """ + + def get_new_block_name() -> str: + num = 0 + name = block_name + while name in target_blocks: + name = block_name + str(num) + num += 1 + return name + + try: # already imported block? + return self.imported_blocks[block_name] + except KeyError: + pass + + try: + source_block = self.source.blocks[block_name] + except const.DXFKeyError: + raise ValueError(f'Source block "{block_name}" not found.') + + target_blocks = self.target.blocks + if (block_name in target_blocks) and (rename is False): + self.imported_blocks[block_name] = block_name + return block_name + + new_block_name = get_new_block_name() + block = source_block.block + assert block is not None + target_block = target_blocks.new( + new_block_name, + base_point=block.dxf.base_point, + dxfattribs={ + "description": block.dxf.description, + "flags": block.dxf.flags, + "xref_path": block.dxf.xref_path, + }, + ) + self.import_entities(source_block, target_layout=target_block) + self.imported_blocks[block_name] = new_block_name + return new_block_name + + def _create_missing_arrows(self): + """Create or import required arrow blocks, used by the LEADER or the + DIMSTYLE entity, which are not imported automatically because they are + not used in an anonymous DIMENSION geometry BLOCK. + + """ + self.used_arrows.discard( + "" + ) # standard default arrow '' needs no block definition + for arrow_name in self.used_arrows: + if ARROWS.is_acad_arrow(arrow_name): + self.target.acquire_arrow(arrow_name) + else: + self.import_block(arrow_name, rename=False) + + def _resolve_inserts(self) -> None: + """Resolve BLOCK names of imported BLOCK reference entities (INSERT). + + This is required for the case the name of the imported BLOCK collides + with an already existing BLOCK in the target document and the conflict + resolving method is "rename". + + """ + while len(self.imported_inserts): + inserts = list(self.imported_inserts) + # clear imported inserts, block import may append additional inserts + self.imported_inserts = [] + for insert in inserts: + block_name = self.import_block(insert.dxf.name) + insert.dxf.name = block_name + + def _import_required_table_entries(self) -> None: + """Import required table entries collected while importing entities + into the target document. + + """ + # 1. dimstyles import adds additional required linetype and style + # resources and required arrows + if len(self.used_dimstyles): + self.import_table("dimstyles", self.used_dimstyles) + + # 2. layers import adds additional required linetype resources + if len(self.used_layers): + self.import_table("layers", self.used_layers) + + # 3. complex linetypes adds additional required style resources + if len(self.used_linetypes): + self.import_table("linetypes", self.used_linetypes) + + # 4. Text styles do not add additional required resources + if len(self.used_styles): + self.import_table("styles", self.used_styles) + + # 5. Shape files are text style entries without a name + if len(self.used_shape_files): + self.import_shape_files(self.used_shape_files) + + # 6. Update text style handles of imported complex linetypes: + self.update_complex_linetypes() + + def _add_required_complex_linetype_resources(self): + for ltype_name in self.used_linetypes: + try: + ltype = self.source.linetypes.get(ltype_name) + except const.DXFTableEntryError: + continue + self._add_linetype_resources(ltype) + + def update_complex_linetypes(self): + std_handle = self.target.styles.get("STANDARD").dxf.handle + for linetype in self.target.linetypes: + if linetype.pattern_tags.is_complex_type(): + old_handle = linetype.pattern_tags.get_style_handle() + new_handle = self.handle_mapping.get(old_handle, std_handle) + linetype.pattern_tags.set_style_handle(new_handle) + + def finalize(self) -> None: + """Finalize the import by importing required table entries and BLOCK + definitions, without finalization the target document is maybe invalid + for AutoCAD. Call the :meth:`~Importer.finalize()` method as last step + of the import process. + + """ + self._resolve_inserts() + self._add_required_complex_linetype_resources() + self._import_required_table_entries() + self._create_missing_arrows() + + +def new_clean_entity(entity: DXFEntity, keep_xdata: bool = False) -> DXFEntity: + """Copy entity and remove all external dependencies. + + Args: + entity: DXF entity + keep_xdata: keep xdata flag + + """ + new_entity = entity.copy() + new_entity.doc = None + return remove_dependencies(new_entity, keep_xdata=keep_xdata) + + +def remove_dependencies(entity: DXFEntity, keep_xdata: bool = False) -> DXFEntity: + """Remove all external dependencies. + + Args: + entity: DXF entity + keep_xdata: keep xdata flag + + """ + entity.appdata = None + entity.reactors = None + entity.extension_dict = None + if not keep_xdata: + entity.xdata = None + return entity diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/addons/iterdxf.py b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/addons/iterdxf.py new file mode 100644 index 0000000000000000000000000000000000000000..978060ce5c7d0d95e1ffb485d691f310877ab9cb --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/addons/iterdxf.py @@ -0,0 +1,480 @@ +# Copyright (c) 2020-2022, Manfred Moitzi +# License: MIT License +from __future__ import annotations +from typing import ( + Iterable, + Iterator, + cast, + BinaryIO, + Optional, + Union, + Any, +) +from io import StringIO +from pathlib import Path +from ezdxf.lldxf.const import DXFStructureError +from ezdxf.lldxf.extendedtags import ExtendedTags, DXFTag +from ezdxf.lldxf.tagwriter import TagWriter +from ezdxf.lldxf.tagger import tag_compiler, ascii_tags_loader +from ezdxf.filemanagement import dxf_file_info +from ezdxf.lldxf import fileindex + +from ezdxf.entities import DXFGraphic, DXFEntity, Polyline, Insert +from ezdxf.entities import factory +from ezdxf.entities.subentity import entity_linker +from ezdxf.tools.codepage import toencoding + +__all__ = ["opendxf", "single_pass_modelspace", "modelspace"] + +SUPPORTED_TYPES = { + "ARC", + "LINE", + "CIRCLE", + "ELLIPSE", + "POINT", + "LWPOLYLINE", + "SPLINE", + "3DFACE", + "SOLID", + "TRACE", + "SHAPE", + "POLYLINE", + "VERTEX", + "SEQEND", + "MESH", + "TEXT", + "MTEXT", + "HATCH", + "INSERT", + "ATTRIB", + "ATTDEF", + "RAY", + "XLINE", + "DIMENSION", + "LEADER", + "IMAGE", + "WIPEOUT", + "HELIX", + "MLINE", + "MLEADER", +} + +Filename = Union[Path, str] + + +class IterDXF: + """Iterator for DXF entities stored in the modelspace. + + Args: + name: filename, has to be a seekable file. + errors: specify decoding error handler + + - "surrogateescape" to preserve possible binary data (default) + - "ignore" to use the replacement char U+FFFD "\ufffd" for invalid data + - "strict" to raise an :class:`UnicodeDecodeError`exception for invalid data + + Raises: + DXFStructureError: invalid or incomplete DXF file + UnicodeDecodeError: if `errors` is "strict" and a decoding error occurs + + """ + + def __init__(self, name: Filename, errors: str = "surrogateescape"): + self.structure, self.sections = self._load_index(str(name)) + self.errors = errors + self.file: BinaryIO = open(name, mode="rb") + if "ENTITIES" not in self.sections: + raise DXFStructureError("ENTITIES section not found.") + if self.structure.version > "AC1009" and "OBJECTS" not in self.sections: + raise DXFStructureError("OBJECTS section not found.") + + def _load_index( + self, name: str + ) -> tuple[fileindex.FileStructure, dict[str, int]]: + structure = fileindex.load(name) + sections: dict[str, int] = dict() + new_index = [] + for e in structure.index: + if e.code == 0: + new_index.append(e) + elif e.code == 2: + sections[e.value] = len(new_index) - 1 + # remove all other tags like handles (code == 5) + structure.index = new_index + return structure, sections + + @property + def encoding(self): + return self.structure.encoding + + @property + def dxfversion(self): + return self.structure.version + + def export(self, name: Filename) -> IterDXFWriter: + """Returns a companion object to export parts from the source DXF file + into another DXF file, the new file will have the same HEADER, CLASSES, + TABLES, BLOCKS and OBJECTS sections, which guarantees all necessary + dependencies are present in the new file. + + Args: + name: filename, no special requirements + + """ + doc = IterDXFWriter(name, self) + # Copy everything from start of source DXF until the first entity + # of the ENTITIES section to the new DXF. + location = self.structure.index[self.sections["ENTITIES"] + 1].location + self.file.seek(0) + data = self.file.read(location) + doc.write_data(data) + return doc + + def copy_objects_section(self, f: BinaryIO) -> None: + start_index = self.sections["OBJECTS"] + try: + end_index = self.structure.get(0, "ENDSEC", start_index) + except ValueError: + raise DXFStructureError(f"ENDSEC of OBJECTS section not found.") + + start_location = self.structure.index[start_index].location + end_location = self.structure.index[end_index + 1].location + count = end_location - start_location + self.file.seek(start_location) + data = self.file.read(count) + f.write(data) + + def modelspace( + self, types: Optional[Iterable[str]] = None + ) -> Iterable[DXFGraphic]: + """Returns an iterator for all supported DXF entities in the + modelspace. These entities are regular :class:`~ezdxf.entities.DXFGraphic` + objects but without a valid document assigned. It is **not** + possible to add these entities to other `ezdxf` documents. + + It is only possible to recreate the objects by factory functions base + on attributes of the source entity. + For MESH, POLYMESH and POLYFACE it is possible to use the + :class:`~ezdxf.render.MeshTransformer` class to render (recreate) this + objects as new entities in another document. + + Args: + types: DXF types like ``['LINE', '3DFACE']`` which should be + returned, ``None`` returns all supported types. + + """ + linked_entity = entity_linker() + queued = None + requested_types = _requested_types(types) + for entity in self.load_entities( + self.sections["ENTITIES"] + 1, requested_types + ): + if not linked_entity(entity) and entity.dxf.paperspace == 0: + # queue one entity for collecting linked entities: + # VERTEX, ATTRIB + if queued: + yield queued + queued = entity + if queued: + yield queued + + def load_entities( + self, start: int, requested_types: set[str] + ) -> Iterable[DXFGraphic]: + def to_str(data: bytes) -> str: + return data.decode(self.encoding, errors=self.errors).replace( + "\r\n", "\n" + ) + + index = start + entry = self.structure.index[index] + self.file.seek(entry.location) + while entry.value != "ENDSEC": + index += 1 + next_entry = self.structure.index[index] + size = next_entry.location - entry.location + data = self.file.read(size) + if entry.value in requested_types: + xtags = ExtendedTags.from_text(to_str(data)) + yield factory.load(xtags) # type: ignore + entry = next_entry + + def close(self): + """Safe closing source DXF file.""" + self.file.close() + + +class IterDXFWriter: + def __init__(self, name: Filename, loader: IterDXF): + self.name = str(name) + self.file: BinaryIO = open(name, mode="wb") + self.text = StringIO() + self.entity_writer = TagWriter(self.text, loader.dxfversion) + self.loader = loader + + def write_data(self, data: bytes): + self.file.write(data) + + def write(self, entity: DXFGraphic): + """Write a DXF entity from the source DXF file to the export file. + + Don't write entities from different documents than the source DXF file, + dependencies and resources will not match, maybe it will work once, but + not in a reliable way for different DXF documents. + + """ + # Not necessary to remove this dependencies by copying + # them into the same document frame + # --------------------------------- + # remove all possible dependencies + # entity.xdata = None + # entity.appdata = None + # entity.extension_dict = None + # entity.reactors = None + # reset text stream + self.text.seek(0) + self.text.truncate() + + if entity.dxf.handle is None: # DXF R12 without handles + self.entity_writer.write_handles = False + + entity.export_dxf(self.entity_writer) + if entity.dxftype() == "POLYLINE": + polyline = cast(Polyline, entity) + for vertex in polyline.vertices: + vertex.export_dxf(self.entity_writer) + polyline.seqend.export_dxf(self.entity_writer) # type: ignore + elif entity.dxftype() == "INSERT": + insert = cast(Insert, entity) + if insert.attribs_follow: + for attrib in insert.attribs: + attrib.export_dxf(self.entity_writer) + insert.seqend.export_dxf(self.entity_writer) # type: ignore + data = self.text.getvalue().encode(self.loader.encoding) + self.file.write(data) + + def close(self): + """Safe closing of exported DXF file. Copying of OBJECTS section + happens only at closing the file, without closing the new DXF file is + invalid. + """ + self.file.write(b" 0\r\nENDSEC\r\n") # for ENTITIES section + if self.loader.dxfversion > "AC1009": + self.loader.copy_objects_section(self.file) + self.file.write(b" 0\r\nEOF\r\n") + self.file.close() + + +def opendxf(filename: Filename, errors: str = "surrogateescape") -> IterDXF: + """Open DXF file for iterating, be sure to open valid DXF files, no DXF + structure checks will be applied. + + Use this function to split up big DXF files as shown in the example above. + + Args: + filename: DXF filename of a seekable DXF file. + errors: specify decoding error handler + + - "surrogateescape" to preserve possible binary data (default) + - "ignore" to use the replacement char U+FFFD "\ufffd" for invalid data + - "strict" to raise an :class:`UnicodeDecodeError` exception for invalid data + + Raises: + DXFStructureError: invalid or incomplete DXF file + UnicodeDecodeError: if `errors` is "strict" and a decoding error occurs + + """ + return IterDXF(filename, errors=errors) + + +def modelspace( + filename: Filename, + types: Optional[Iterable[str]] = None, + errors: str = "surrogateescape", +) -> Iterable[DXFGraphic]: + """Iterate over all modelspace entities as :class:`DXFGraphic` objects of + a seekable file. + + Use this function to iterate "quick" over modelspace entities of a DXF file, + filtering DXF types may speed up things if many entity types will be skipped. + + Args: + filename: filename of a seekable DXF file + types: DXF types like ``['LINE', '3DFACE']`` which should be returned, + ``None`` returns all supported types. + errors: specify decoding error handler + + - "surrogateescape" to preserve possible binary data (default) + - "ignore" to use the replacement char U+FFFD "\ufffd" for invalid data + - "strict" to raise an :class:`UnicodeDecodeError` exception for invalid data + + Raises: + DXFStructureError: invalid or incomplete DXF file + UnicodeDecodeError: if `errors` is "strict" and a decoding error occurs + + """ + info = dxf_file_info(str(filename)) + prev_code: int = -1 + prev_value: Any = "" + entities = False + requested_types = _requested_types(types) + + with open(filename, mode="rt", encoding=info.encoding, errors=errors) as fp: + tagger = ascii_tags_loader(fp) + queued: Optional[DXFEntity] = None + tags: list[DXFTag] = [] + linked_entity = entity_linker() + + for tag in tag_compiler(tagger): + code = tag.code + value = tag.value + if entities: + if code == 0: + if len(tags) and tags[0].value in requested_types: + entity = factory.load(ExtendedTags(tags)) + if ( + not linked_entity(entity) + and entity.dxf.paperspace == 0 + ): + # queue one entity for collecting linked entities: + # VERTEX, ATTRIB + if queued: + yield queued # type: ignore + queued = entity + tags = [tag] + else: + tags.append(tag) + if code == 0 and value == "ENDSEC": + if queued: + yield queued # type: ignore + return + continue # if entities - nothing else matters + elif code == 2 and prev_code == 0 and prev_value == "SECTION": + entities = value == "ENTITIES" + + prev_code = code + prev_value = value + + +def single_pass_modelspace( + stream: BinaryIO, + types: Optional[Iterable[str]] = None, + errors: str = "surrogateescape", +) -> Iterable[DXFGraphic]: + """Iterate over all modelspace entities as :class:`DXFGraphic` objects in + a single pass. + + Use this function to 'quick' iterate over modelspace entities of a **not** + seekable binary DXF stream, filtering DXF types may speed up things if many + entity types will be skipped. + + Args: + stream: (not seekable) binary DXF stream + types: DXF types like ``['LINE', '3DFACE']`` which should be returned, + ``None`` returns all supported types. + errors: specify decoding error handler + + - "surrogateescape" to preserve possible binary data (default) + - "ignore" to use the replacement char U+FFFD "\ufffd" for invalid data + - "strict" to raise an :class:`UnicodeDecodeError` exception for invalid data + + Raises: + DXFStructureError: Invalid or incomplete DXF file + UnicodeDecodeError: if `errors` is "strict" and a decoding error occurs + + """ + fetch_header_var: Optional[str] = None + encoding = "cp1252" + version = "AC1009" + prev_code: int = -1 + prev_value: str = "" + entities = False + requested_types = _requested_types(types) + + for code, value in binary_tagger(stream): + if code == 0 and value == b"ENDSEC": + break + elif code == 2 and prev_code == 0 and value != b"HEADER": + # (0, SECTION), (2, name) + # First section is not the HEADER section + entities = value == b"ENTITIES" + break + elif code == 9 and value == b"$DWGCODEPAGE": + fetch_header_var = "ENCODING" + elif code == 9 and value == b"$ACADVER": + fetch_header_var = "VERSION" + elif fetch_header_var == "ENCODING": + encoding = toencoding(value.decode()) + fetch_header_var = None + elif fetch_header_var == "VERSION": + version = value.decode() + fetch_header_var = None + prev_code = code + + if version >= "AC1021": + encoding = "utf-8" + + queued: Optional[DXFGraphic] = None + tags: list[DXFTag] = [] + linked_entity = entity_linker() + + for tag in tag_compiler(binary_tagger(stream, encoding, errors)): + code = tag.code + value = tag.value + if entities: + if code == 0 and value == "ENDSEC": + if queued: + yield queued + return + if code == 0: + if len(tags) and tags[0].value in requested_types: + entity = cast(DXFGraphic, factory.load(ExtendedTags(tags))) + if not linked_entity(entity) and entity.dxf.paperspace == 0: + # queue one entity for collecting linked entities: + # VERTEX, ATTRIB + if queued: + yield queued + queued = entity + tags = [tag] + else: + tags.append(tag) + continue # if entities - nothing else matters + elif code == 2 and prev_code == 0 and prev_value == "SECTION": + entities = value == "ENTITIES" + + prev_code = code + prev_value = value + + +def binary_tagger( + file: BinaryIO, + encoding: Optional[str] = None, + errors: str = "surrogateescape", +) -> Iterator[DXFTag]: + while True: + try: + try: + code = int(file.readline()) + except ValueError: + raise DXFStructureError(f"Invalid group code") + value = file.readline().rstrip(b"\r\n") + yield DXFTag( + code, + value.decode(encoding, errors=errors) if encoding else value, + ) + except IOError: + return + + +def _requested_types(types: Optional[Iterable[str]]) -> set[str]: + if types: + requested = SUPPORTED_TYPES.intersection(set(types)) + if "POLYLINE" in requested: + requested.add("SEQEND") + requested.add("VERTEX") + if "INSERT" in requested: + requested.add("SEQEND") + requested.add("ATTRIB") + else: + requested = SUPPORTED_TYPES + return requested diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/addons/menger_sponge.py b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/addons/menger_sponge.py new file mode 100644 index 0000000000000000000000000000000000000000..0a5149822ed0463ece3e70a5ff8728d28d86fe79 --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/addons/menger_sponge.py @@ -0,0 +1,266 @@ +# Purpose: menger sponge addon for ezdxf +# Copyright (c) 2016-2022 Manfred Moitzi +# License: MIT License +from __future__ import annotations +from typing import TYPE_CHECKING, Iterator, Sequence, Optional +from ezdxf.math import Vec3, UVec, Matrix44, UCS +from ezdxf.render.mesh import MeshVertexMerger, MeshTransformer, MeshBuilder + +if TYPE_CHECKING: + from ezdxf.eztypes import GenericLayoutType + +# fmt: off +all_cubes_size_3_template = [ + (0, 0, 0), (1, 0, 0), (2, 0, 0), (0, 1, 0), (1, 1, 0), (2, 1, 0), (0, 2, 0), (1, 2, 0), (2, 2, 0), + (0, 0, 1), (1, 0, 1), (2, 0, 1), (0, 1, 1), (1, 1, 1), (2, 1, 1), (0, 2, 1), (1, 2, 1), (2, 2, 1), + (0, 0, 2), (1, 0, 2), (2, 0, 2), (0, 1, 2), (1, 1, 2), (2, 1, 2), (0, 2, 2), (1, 2, 2), (2, 2, 2), +] + +original_menger_cubes = [ + (0, 0, 0), (1, 0, 0), (2, 0, 0), (0, 1, 0), (2, 1, 0), (0, 2, 0), (1, 2, 0), (2, 2, 0), + (0, 0, 1), (2, 0, 1), (0, 2, 1), (2, 2, 1), + (0, 0, 2), (1, 0, 2), (2, 0, 2), (0, 1, 2), (2, 1, 2), (0, 2, 2), (1, 2, 2), (2, 2, 2), +] + +menger_v1 = [ + (0, 0, 0), (2, 0, 0), (1, 1, 0), (0, 2, 0), (2, 2, 0), + (1, 0, 1), (0, 1, 1), (2, 1, 1), (1, 2, 1), + (0, 0, 2), (2, 0, 2), (1, 1, 2), (0, 2, 2), (2, 2, 2), +] + +menger_v2 = [ + (1, 0, 0), (0, 1, 0), (2, 1, 0), (1, 2, 0), + (0, 0, 1), (2, 0, 1), (1, 1, 1), (0, 2, 1), (2, 2, 1), + (1, 0, 2), (0, 1, 2), (2, 1, 2), (1, 2, 2), +] + +jerusalem_cube = [ + (0, 0, 0), (1, 0, 0), (2, 0, 0), (3, 0, 0), (4, 0, 0), (0, 1, 0), (1, 1, 0), (3, 1, 0), (4, 1, 0), (0, 2, 0), + (4, 2, 0), (0, 3, 0), (1, 3, 0), (3, 3, 0), (4, 3, 0), (0, 4, 0), (1, 4, 0), (2, 4, 0), (3, 4, 0), (4, 4, 0), + (0, 0, 1), (1, 0, 1), (3, 0, 1), (4, 0, 1), (0, 1, 1), (1, 1, 1), (3, 1, 1), (4, 1, 1), (0, 3, 1), (1, 3, 1), + (3, 3, 1), (4, 3, 1), (0, 4, 1), (1, 4, 1), (3, 4, 1), (4, 4, 1), (0, 0, 2), (4, 0, 2), (0, 4, 2), (4, 4, 2), + (0, 0, 3), (1, 0, 3), (3, 0, 3), (4, 0, 3), (0, 1, 3), (1, 1, 3), (3, 1, 3), (4, 1, 3), (0, 3, 3), (1, 3, 3), + (3, 3, 3), (4, 3, 3), (0, 4, 3), (1, 4, 3), (3, 4, 3), (4, 4, 3), (0, 0, 4), (1, 0, 4), (2, 0, 4), (3, 0, 4), + (4, 0, 4), (0, 1, 4), (1, 1, 4), (3, 1, 4), (4, 1, 4), (0, 2, 4), (4, 2, 4), (0, 3, 4), (1, 3, 4), (3, 3, 4), + (4, 3, 4), (0, 4, 4), (1, 4, 4), (2, 4, 4), (3, 4, 4), (4, 4, 4), +] + +building_schemas = [ + original_menger_cubes, + menger_v1, + menger_v2, + jerusalem_cube, +] + +# subdivide level in order of building_schemas +cube_sizes = [3., 3., 3., 5.] + +# 8 corner vertices +_cube_vertices = [ + (0, 0, 0), + (1, 0, 0), + (1, 1, 0), + (0, 1, 0), + (0, 0, 1), + (1, 0, 1), + (1, 1, 1), + (0, 1, 1), +] + +# 6 cube faces +cube_faces = [ + [0, 3, 2, 1], + [4, 5, 6, 7], + [0, 1, 5, 4], + [1, 2, 6, 5], + [3, 7, 6, 2], + [0, 4, 7, 3], +] + +# fmt: on + + +class MengerSponge: + """ + + Args: + location: location of lower left corner as (x, y, z) tuple + length: side length + level: subdivide level + kind: type of menger sponge + + === =========================== + 0 Original Menger Sponge + 1 Variant XOX + 2 Variant OXO + 3 Jerusalem Cube + === =========================== + + """ + + def __init__( + self, + location: UVec = (0.0, 0.0, 0.0), + length: float = 1.0, + level: int = 1, + kind: int = 0, + ): + self.cube_definitions = _menger_sponge( + location=location, length=length, level=level, kind=kind + ) + + def vertices(self) -> Iterator[list[Vec3]]: + """Yields the cube vertices as list of (x, y, z) tuples.""" + for location, length in self.cube_definitions: + x, y, z = location + yield [ + Vec3(x + xf * length, y + yf * length, z + zf * length) + for xf, yf, zf in _cube_vertices + ] + + __iter__ = vertices + + @staticmethod + def faces() -> list[list[int]]: + """Returns list of cube faces. All cube vertices have the same order, so + one faces list fits them all. + + """ + return cube_faces + + def render( + self, + layout: GenericLayoutType, + merge: bool = False, + dxfattribs=None, + matrix: Optional[Matrix44] = None, + ucs: Optional[UCS] = None, + ) -> None: + """Renders the menger sponge into layout, set `merge` to ``True`` for + rendering the whole menger sponge into one MESH entity, set `merge` to + ``False`` for rendering the individual cubes of the menger sponge as + MESH entities. + + Args: + layout: DXF target layout + merge: ``True`` for one MESH entity, ``False`` for individual MESH + entities per cube + dxfattribs: DXF attributes for the MESH entities + matrix: apply transformation matrix at rendering + ucs: apply UCS transformation at rendering + + """ + if merge: + mesh = self.mesh() + mesh.render_mesh( + layout, dxfattribs=dxfattribs, matrix=matrix, ucs=ucs + ) + else: + for cube in self.cubes(): + cube.render_mesh(layout, dxfattribs, matrix=matrix, ucs=ucs) + + def cubes(self) -> Iterator[MeshTransformer]: + """Yields all cubes of the menger sponge as individual + :class:`MeshTransformer` objects. + """ + faces = self.faces() + for vertices in self: + mesh = MeshVertexMerger() + mesh.add_mesh(vertices=vertices, faces=faces) # type: ignore + yield MeshTransformer.from_builder(mesh) + + def mesh(self) -> MeshTransformer: + """Returns geometry as one :class:`MeshTransformer` object.""" + faces = self.faces() + mesh = MeshVertexMerger() + for vertices in self: + mesh.add_mesh(vertices=vertices, faces=faces) # type: ignore + return remove_duplicate_inner_faces(mesh) + + +def remove_duplicate_inner_faces(mesh: MeshBuilder) -> MeshTransformer: + new_mesh = MeshTransformer() + new_mesh.vertices = mesh.vertices + new_mesh.faces = list(manifold_faces(mesh.faces)) + return new_mesh + + +def manifold_faces(faces: list[Sequence[int]]) -> Iterator[Sequence[int]]: + ledger: dict[tuple[int, ...], list[Sequence[int]]] = {} + for face in faces: + key = tuple(sorted(face)) + try: + ledger[key].append(face) + except KeyError: + ledger[key] = [face] + for faces in ledger.values(): + if len(faces) == 1: + yield faces[0] + + +def _subdivide( + location: UVec = (0.0, 0.0, 0.0), length: float = 1.0, kind: int = 0 +) -> list[tuple[Vec3, float]]: + """Divides a cube in sub-cubes and keeps only cubes determined by the + building schema. + + All sides are parallel to x-, y- and z-axis, location is a (x, y, z) tuple + and represents the coordinates of the lower left corner (nearest to the axis + origin) of the cube, length is the side-length of the cube + + Args: + location: (x, y, z) tuple, coordinates of the lower left corner of the cube + length: side length of the cube + kind: int for 0: original menger sponge; 1: Variant XOX; 2: Variant OXO; + 3: Jerusalem Cube; + + Returns: list of sub-cubes (location, length) + + """ + + init_x, init_y, init_z = location + step_size = float(length) / cube_sizes[kind] + remaining_cubes = building_schemas[kind] + + def sub_location(indices) -> Vec3: + x, y, z = indices + return Vec3( + init_x + x * step_size, + init_y + y * step_size, + init_z + z * step_size, + ) + + return [(sub_location(indices), step_size) for indices in remaining_cubes] + + +def _menger_sponge( + location: UVec = (0.0, 0.0, 0.0), + length: float = 1.0, + level: int = 1, + kind: int = 0, +) -> list[tuple[Vec3, float]]: + """Builds a menger sponge for given level. + + Args: + location: (x, y, z) tuple, coordinates of the lower left corner of the cube + length: side length of the cube + level: level of menger sponge, has to be 1 or bigger + kind: int for 0: original menger sponge; 1: Variant XOX; 2: Variant OXO; + 3: Jerusalem Cube; + + Returns: list of sub-cubes (location, length) + + """ + kind = int(kind) + if kind not in (0, 1, 2, 3): + raise ValueError("kind has to be 0, 1, 2 or 3.") + level = int(level) + if level < 1: + raise ValueError("level has to be 1 or bigger.") + cubes = _subdivide(location, length, kind=kind) + for _ in range(level - 1): + next_level_cubes = [] + for location, length in cubes: + next_level_cubes.extend(_subdivide(location, length, kind=kind)) + cubes = next_level_cubes + return cubes diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/addons/meshex.py b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/addons/meshex.py new file mode 100644 index 0000000000000000000000000000000000000000..1c19edc6dc93d619f1b1049831d72923b66a04c3 --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/addons/meshex.py @@ -0,0 +1,675 @@ +# Copyright (c) 2022, Manfred Moitzi +# License: MIT License +from __future__ import annotations +from typing import Union, Sequence +import os +import struct +import uuid +import datetime +import enum +import zipfile + +from ezdxf.math import Vec3, normal_vector_3p, BoundingBox +from ezdxf.render import MeshTransformer, MeshVertexMerger, MeshBuilder +from ezdxf import __version__ + + +class UnsupportedFileFormat(Exception): + pass + + +class ParsingError(Exception): + pass + + +def stl_readfile(filename: Union[str, os.PathLike]) -> MeshTransformer: + """Read ascii or binary `STL`_ file content as :class:`ezdxf.render.MeshTransformer` + instance. + + Raises: + ParsingError: vertex parsing error or invalid/corrupt data + + """ + with open(filename, "rb") as fp: + buffer = fp.read() + if buffer.startswith(b"solid"): + s = buffer.decode("ascii", errors="ignore") + return stl_loads(s) + else: + return stl_loadb(buffer) + + +def stl_loads(content: str) -> MeshTransformer: + """Load a mesh from an ascii `STL`_ content string as :class:`ezdxf.render.MeshTransformer` + instance. + + Raises: + ParsingError: vertex parsing error + + """ + # http://www.fabbers.com/tech/STL_Format#Sct_ASCII + # This implementation is not very picky and grabs only lines which start + # with "vertex" or "endloop" and ignores the rest. + def parse_vertex(line: str) -> Vec3: + data = line.split() + return Vec3(float(data[1]), float(data[2]), float(data[3])) + + mesh = MeshVertexMerger() + face: list[Vec3] = [] + for num, line in enumerate(content.split("\n"), start=1): + line = line.strip(" \r") + if line.startswith("vertex"): + try: + face.append(parse_vertex(line)) + except (IndexError, ValueError): + raise ParsingError(f"STL parsing error in line {num}: {line}") + elif line.startswith("endloop"): + if len(face) == 3: + mesh.add_face(face) + face.clear() + return MeshTransformer.from_builder(mesh) + + +def stl_loadb(buffer: bytes) -> MeshTransformer: + """Load a mesh from a binary `STL`_ data :class:`ezdxf.render.MeshTransformer` + instance. + + Raises: + ParsingError: invalid/corrupt data or not a binary STL file + + """ + # http://www.fabbers.com/tech/STL_Format#Sct_ASCII + index = 80 + n_faces = struct.unpack_from(" MeshTransformer: + """Read `OFF`_ file content as :class:`ezdxf.render.MeshTransformer` + instance. + + Raises: + ParsingError: vertex or face parsing error + + """ + with open(filename, "rt", encoding="ascii", errors="ignore") as fp: + content = fp.read() + return off_loads(content) + + +def off_loads(content: str) -> MeshTransformer: + """Load a mesh from a `OFF`_ content string as :class:`ezdxf.render.MeshTransformer` + instance. + + Raises: + ParsingError: vertex or face parsing error + + """ + # https://en.wikipedia.org/wiki/OFF_(file_format) + mesh = MeshVertexMerger() + lines: list[str] = [] + for line in content.split("\n"): + line = line.strip(" \n\r") + # "OFF" in a single line + if line.startswith("#") or line == "OFF" or line == "": + continue + lines.append(line) + + if len(lines) == 0: + raise ParsingError(f"OFF format parsing error: no data") + + if lines[0].startswith("OFF"): + # OFF v f e + lines[0] = lines[0][4:] + + n = lines[0].split() + try: + n_vertices, n_faces = int(n[0]), int(n[1]) + except ValueError: + raise ParsingError(f"OFF format parsing error: {lines[0]}") + + if len(lines) < n_vertices + n_faces: + raise ParsingError(f"OFF format parsing error: invalid data count") + + for vertex in lines[1 : n_vertices + 1]: + v = vertex.split() + try: + vtx = Vec3(float(v[0]), float(v[1]), float(v[2])) + except (ValueError, IndexError): + raise ParsingError(f"OFF format vertex parsing error: {vertex}") + mesh.vertices.append(vtx) + + index = n_vertices + 1 + face_indices = [] + for face in lines[index : index + n_faces]: + f = face.split() + try: + vertex_count = int(f[0]) + except ValueError: + raise ParsingError(f"OFF format face parsing error: {face}") + for index in range(vertex_count): + try: + face_indices.append(int(f[1 + index])) + except (ValueError, IndexError): + raise ParsingError( + f"OFF format face index parsing error: {face}" + ) + mesh.faces.append(tuple(face_indices)) + face_indices.clear() + return MeshTransformer.from_builder(mesh) + + +def obj_readfile(filename: Union[str, os.PathLike]) -> list[MeshTransformer]: + """Read `OBJ`_ file content as list of :class:`ezdxf.render.MeshTransformer` + instances. + + Raises: + ParsingError: vertex or face parsing error + + """ + with open(filename, "rt", encoding="ascii", errors="ignore") as fp: + content = fp.read() + return obj_loads(content) + + +def obj_loads(content: str) -> list[MeshTransformer]: + """Load one or more meshes from an `OBJ`_ content string as list of + :class:`ezdxf.render.MeshTransformer` instances. + + Raises: + ParsingError: vertex parsing error + + """ + # https://en.wikipedia.org/wiki/Wavefront_.obj_file + # This implementation is not very picky and grabs only lines which start + # with "v", "g" or "f" and ignores the rest. + def parse_vertex(l: str) -> Vec3: + v = l.split() + return Vec3(float(v[0]), float(v[1]), float(v[2])) + + def parse_face(l: str) -> Sequence[int]: + return tuple(int(s.split("/")[0]) for s in l.split()) + + vertices: list[Vec3] = [Vec3()] # 1-indexed + meshes: list[MeshTransformer] = [] + mesh = MeshVertexMerger() + for num, line in enumerate(content.split("\n"), start=1): + line = line.strip(" \r") + if line.startswith("v"): + try: + vtx = parse_vertex(line[2:]) + except (IndexError, ValueError): + raise ParsingError( + f"OBJ vertex parsing error in line {num}: {line}" + ) + vertices.append(vtx) + elif line.startswith("f"): + try: + mesh.add_face(vertices[i] for i in parse_face(line[2:])) + except ValueError: + raise ParsingError( + f"OBJ face parsing error in line {num}: {line}" + ) + except IndexError: + raise ParsingError( + f"OBJ face index error (n={len(vertices)}) in line {num}: {line}" + ) + + elif line.startswith("g") and len(mesh.vertices) > 0: + meshes.append(MeshTransformer.from_builder(mesh)) + mesh = MeshVertexMerger() + + if len(mesh.vertices) > 0: + meshes.append(MeshTransformer.from_builder(mesh)) + return meshes + + +def stl_dumps(mesh: MeshBuilder) -> str: + """Returns the `STL`_ data as string for the given `mesh`. + This function triangulates the meshes automatically because the `STL`_ + format supports only triangles as faces. + + This function does not check if the mesh obey the + `STL`_ format `rules `_: + + - The direction of the face normal is outward. + - The face vertices are listed in counter-clockwise order when looking + at the object from the outside (right-hand rule). + - Each triangle must share two vertices with each of its adjacent triangles. + - The object represented must be located in the all-positive octant + (non-negative and nonzero). + + """ + lines: list[str] = [f"solid STL generated by ezdxf {__version__}"] + for face in mesh.tessellation(max_vertex_count=3): + if len(face) < 3: + continue + try: + n = normal_vector_3p(face[0], face[1], face[2]) + except ZeroDivisionError: + continue + n = n.round(8) + lines.append(f" facet normal {n.x} {n.y} {n.z}") + lines.append(" outer loop") + for v in face: + lines.append(f" vertex {v.x} {v.y} {v.z}") + lines.append(" endloop") + lines.append(" endfacet") + lines.append("endsolid\n") + return "\n".join(lines) + + +STL_SIGNATURE = (b"STL generated ezdxf" + b" " * 80)[:80] + + +def stl_dumpb(mesh: MeshBuilder) -> bytes: + """Returns the `STL`_ binary data as bytes for the given `mesh`. + + For more information see function: :func:`stl_dumps` + """ + data: list[bytes] = [STL_SIGNATURE, b"0000"] + count = 0 + for face in mesh.tessellation(max_vertex_count=3): + try: + n = normal_vector_3p(face[0], face[1], face[2]) + except ZeroDivisionError: + continue + count += 1 + values = list(n.xyz) + for v in face: + values.extend(v.xyz) + values.append(0) + data.append(struct.pack("<12fH", *values)) + data[1] = struct.pack(" str: + """Returns the `OFF`_ data as string for the given `mesh`. + The `OFF`_ format supports ngons as faces. + + """ + lines: list[str] = ["OFF", f"{len(mesh.vertices)} {len(mesh.faces)} 0"] + for v in mesh.vertices: + v = v.round(6) + lines.append(f"{v.x} {v.y} {v.z}") + for face in mesh.open_faces(): + lines.append(f"{len(face)} {' '.join(str(i) for i in face)}") + lines[-1] += "\n" + return "\n".join(lines) + + +def obj_dumps(mesh: MeshBuilder) -> str: + """Returns the `OBJ`_ data as string for the given `mesh`. + The `OBJ`_ format supports ngons as faces. + + """ + lines: list[str] = [f"# OBJ generated by ezdxf {__version__}"] + for v in mesh.vertices: + v = v.round(6) + lines.append(f"v {v.x} {v.y} {v.z}") + for face in mesh.open_faces(): + # OBJ is 1-index + lines.append("f " + " ".join(str(i + 1) for i in face)) + lines[-1] += "\n" + return "\n".join(lines) + + +def scad_dumps(mesh: MeshBuilder) -> str: + """Returns the `OpenSCAD`_ `polyhedron`_ definition as string for the given + `mesh`. `OpenSCAD`_ supports ngons as faces. + + .. Important:: + + `OpenSCAD`_ requires the face normals pointing inwards, the method + :meth:`~ezdxf.render.MeshBuilder.flip_normals` of the + :class:`~ezdxf.render.MeshBuilder` class can flip the normals + inplace. + + """ + # polyhedron( points = [ [X0, Y0, Z0], [X1, Y1, Z1], ... ], faces = [ [P0, P1, P2, P3, ...], ... ], convexity = N); // 2014.03 & later + lines: list[str] = ["polyhedron(points = ["] + for v in mesh.vertices: + v = v.round(6) + lines.append(f" [{v.x}, {v.y}, {v.z}],") + # OpenSCAD accept the last "," + lines.append("], faces = [") + for face in mesh.open_faces(): + lines.append(" [" + ", ".join(str(i) for i in face) + "],") + # OpenSCAD accept the last "," + lines.append("], convexity = 10);\n") + return "\n".join(lines) + + +def ply_dumpb(mesh: MeshBuilder) -> bytes: + """Returns the `PLY`_ binary data as bytes for the given `mesh`. + The `PLY`_ format supports ngons as faces. + + """ + if any(len(f) > 255 for f in mesh.faces): + face_hdr_fmt = b"property list int int vertex_index" + face_fmt = " str: + return _guid_compress(uuid.uuid4().hex) + + +def _guid_compress(g: str) -> str: + # https://github.com/IfcOpenShell/IfcOpenShell/blob/master/src/ifcopenshell-python/ifcopenshell/guid.py#L56 + chars = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz_$" + bs = [int(g[i : i + 2], 16) for i in range(0, len(g), 2)] + + def b64(v: int, size: int = 4): + return "".join( + [chars[(v // (64**i)) % 64] for i in range(size)][::-1] + ) + + return "".join( + [b64(bs[0], 2)] + + [ + b64((bs[i] << 16) + (bs[i + 1] << 8) + bs[i + 2]) + for i in range(1, 16, 3) + ] + ) + + +class IfcEntityType(enum.Enum): + POLYGON_FACE_SET = "POLY_FACE_SET" + CLOSED_SHELL = "CLOSED_SHELL" + OPEN_SHELL = "OPEN_SHELL" + + +class Records: + def __init__(self) -> None: + # Record numbers are 1-based, record index in list is 0-based! + # records[0] is record #1 + self.records: list[str] = [] + + @property + def last_num(self) -> int: # list index + return len(self.records) + + @property + def prev_num(self) -> int: # list index + return self.last_num - 1 + + @property + def next_num(self) -> int: # list index + return self.last_num + 1 + + def add(self, record: str, num: int = 0) -> str: + assert record.endswith(");"), "invalid structure" + self.records.append(record) + if num != 0 and num != len(self.records): + raise ValueError("unexpected record number") + num = len(self.records) + return f"#{num}" + + def add_dummy(self): + self.records.append("") + + def get(self, num: int) -> str: + return self.records[num - 1] + + def update_all(self, tag: str, record_num: str): + for index, record in enumerate(self.records): + if tag in record: + self.update_record(index, tag, record_num) + + def update_record(self, index, tag: str, record_num: str): + self.records[index] = self.records[index].replace(tag, record_num) + + def dumps(self) -> str: + return "\n".join( + f"#{num+1}= {data}" for num, data in enumerate(self.records) if data + ) + + +def ifc4_dumps( + mesh: MeshBuilder, + entity_type=IfcEntityType.POLYGON_FACE_SET, + *, + layer: str = "MeshExport", + color: tuple[float, float, float] = (1.0, 1.0, 1.0), +) -> str: + """Returns the `IFC4`_ string for the given `mesh`. The caller is + responsible for checking if the mesh is a closed or open surface + (e.g. :code:`mesh.diagnose().euler_characteristic == 2`) and using the + appropriate entity type. + + Args: + mesh: :class:`~ezdxf.render.MeshBuilder` + entity_type: :class:`IfcEntityType` + layer: layer name as string + color: entity color as RGB tuple, values in the range [0,1] + + .. warning:: + + `IFC4`_ is a very complex data format and this is a minimal effort + exporter, so the exported data may not be importable by all CAD + applications. + + The exported `IFC4`_ data can be imported by the following applications: + + - BricsCAD + - FreeCAD (IfcOpenShell) + - Allplan + - Tekla BIMsight + + """ + + def make_header(): + date = datetime.datetime.now().isoformat()[:-7] + return f"""ISO-10303-21; +HEADER; +FILE_DESCRIPTION(('ViewDefinition [CoordinationView_V2.0]'),'2;1'); +FILE_NAME('undefined.ifc','{date}',('Undefined'),('Undefined'),'ezdxf {__version__}','ezdxf {__version__}','Undefined'); +FILE_SCHEMA(('IFC4')); +ENDSEC; + +DATA; +""" + + def make_data_records() -> Records: + records = Records() + # fmt: off + if entity_type == IfcEntityType.POLYGON_FACE_SET: + kind = "SurfaceModel" + elif entity_type == IfcEntityType.OPEN_SHELL: + kind = "SurfaceModel" + elif entity_type == IfcEntityType.CLOSED_SHELL: + kind = "Brep" + else: + raise ValueError(f"invalid entity type: {entity_type}") + # for simplicity the first part has absolute record numbering: + records.add(f"IFCPROJECT('{ifc_guid()}',#2,'MeshExport',$,$,$,$,(#7),#13);", 1) + records.add("IFCOWNERHISTORY(#3,#6,$,$,$,$,$,0);", 2) + records.add("IFCPERSONANDORGANIZATION(#4,#5,$);", 3) + records.add("IFCPERSON($,$,'Undefined',$,$,$,$,$);", 4) + records.add("IFCORGANIZATION($,'Undefined',$,$,$);", 5) + records.add(f"IFCAPPLICATION(#5,'{__version__}','ezdxf','ezdxf');", 6) + records.add("IFCGEOMETRICREPRESENTATIONCONTEXT($,'Model',3,1.000000000000000E-05,#8,#12);", 7) + records.add("IFCAXIS2PLACEMENT3D(#9,#10,#11);", 8) + records.add("IFCCARTESIANPOINT((0.,0.,0.));", 9) + records.add("IFCDIRECTION((0.,0.,1.));", 10) + records.add("IFCDIRECTION((1.,0.,0.));", 11) + records.add("IFCDIRECTION((1.,0.));", 12) + records.add("IFCUNITASSIGNMENT((#14,#15,#16,#17,#18,#19));", 13) + records.add("IFCSIUNIT(*,.LENGTHUNIT.,$,.METRE.);", 14) + records.add("IFCSIUNIT(*,.AREAUNIT.,$,.SQUARE_METRE.);", 15) + records.add("IFCSIUNIT(*,.VOLUMEUNIT.,$,.CUBIC_METRE.);", 16) + records.add("IFCSIUNIT(*,.PLANEANGLEUNIT.,$,.RADIAN.);", 17) + records.add("IFCSIUNIT(*,.TIMEUNIT.,$,.SECOND.);", 18) + records.add("IFCSIUNIT(*,.MASSUNIT.,$,.GRAM.);", 19) + records.add("IFCLOCALPLACEMENT($,#8);", 20) + building = records.add(f"IFCBUILDING('{ifc_guid()}',#2,'MeshExport',$,$, #20,$,$,.ELEMENT.,$,$,$);", 21) + records.add_dummy() # I don't wanna redo the absolute record numbering + proxy = records.add(f"IFCBUILDINGELEMENTPROXY('{ifc_guid()}',#2,$,$,$,#24,#29,$,$);", 23) + records.add("IFCLOCALPLACEMENT(#25,#26);", 24) + records.add("IFCLOCALPLACEMENT(#20,#8);", 25) + records.add("IFCAXIS2PLACEMENT3D(#27,#10,#28);", 26) + records.add(f"IFCCARTESIANPOINT(({emin.x},{emin.y},{emin.z}));", 27) + records.add("IFCDIRECTION((1.,0.,0.));", 28) + records.add("IFCPRODUCTDEFINITIONSHAPE($,$,(#30));", 29) + shape = records.add(f"IFCSHAPEREPRESENTATION(#31,'Body','{kind}',($ENTITY$));", 30) + records.add("IFCGEOMETRICREPRESENTATIONSUBCONTEXT('Body','Model',*,*,*,*,#7,$,.MODEL_VIEW.,$);", 31) + + # from here on only relative record numbering: + entity = "#0" + if entity_type == IfcEntityType.POLYGON_FACE_SET: + entity = make_polygon_face_set(records) + elif entity_type == IfcEntityType.CLOSED_SHELL: + entity = make_shell(records) + elif entity_type == IfcEntityType.OPEN_SHELL: + entity = make_shell(records) + color_str = f"IFCCOLOURRGB($,{color[0]:.3f},{color[1]:.3f},{color[2]:.3f});" + records.add(color_str) + records.add(f"IFCSURFACESTYLESHADING(#{records.prev_num+1},0.);") + records.add(f"IFCSURFACESTYLE($,.POSITIVE.,(#{records.prev_num+1}));") + records.add(f"IFCPRESENTATIONSTYLEASSIGNMENT((#{records.prev_num+1}));") + records.add(f"IFCSTYLEDITEM($ENTITY$,(#{records.prev_num+1}),$);") + records.add(f"IFCPRESENTATIONLAYERWITHSTYLE('{layer}',$,({shape}),$,.T.,.F.,.F.,(#{records.next_num+1}));") + records.add(f"IFCSURFACESTYLE($,.POSITIVE.,(#{records.next_num+1}));") + records.add(f"IFCSURFACESTYLESHADING(#{records.next_num+1},0.);") + records.add(color_str) + records.add(f"IFCRELCONTAINEDINSPATIALSTRUCTURE('{ifc_guid()}',#2,$,$,({proxy}),{building});") + records.add(f"IFCRELAGGREGATES('{ifc_guid()}',#2,$,$,#1,({building}));") + # fmt: on + records.update_all("$ENTITY$", entity) + return records + + def make_polygon_face_set(records: Records) -> str: + entity = records.add( + f"IFCPOLYGONALFACESET(#{records.next_num+1},$,($FACES$), $);" + ) + entity_num = records.last_num + vertices = ",".join([str(v.xyz) for v in mesh.vertices]) + records.add(f"IFCCARTESIANPOINTLIST3D(({vertices}));") + face_records: list[str] = [] + for face in mesh.open_faces(): + indices = ",".join(str(i + 1) for i in face) # 1-based indexing + face_records.append( + records.add(f"IFCINDEXEDPOLYGONALFACE(({indices}));") + ) + # list index required + records.update_record(entity_num - 1, "$FACES$", ",".join(face_records)) + return entity + + def make_shell(records: Records) -> str: + if entity_type == IfcEntityType.CLOSED_SHELL: + entity = records.add(f"IFCFACETEDBREP(#{records.next_num+1});") + records.add(f"IFCCLOSEDSHELL(($FACES$));") + elif entity_type == IfcEntityType.OPEN_SHELL: + entity = records.add( + f"IFCSHELLBASEDSURFACEMODEL((#{records.next_num + 1}));" + ) + records.add(f"IFCOPENSHELL(($FACES$));") + else: + raise ValueError(f"invalid entity type: {entity_type}") + shell_num = records.last_num + # add vertices + first_vertex = records.next_num + for v in mesh.vertices: + records.add(f"IFCCARTESIANPOINT({str(v.xyz)});") + # add faces + face_records: list[str] = [] + for face in mesh.open_faces(): + vertices = ",".join("#" + str(first_vertex + i) for i in face) + records.add(f"IFCPOLYLOOP(({vertices}));") + records.add(f"IFCFACEOUTERBOUND(#{records.prev_num+1},.T.);") + face_records.append( + records.add(f"IFCFACE((#{records.prev_num+1}));") + ) + # list index required + records.update_record(shell_num - 1, "$FACES$", ",".join(face_records)) + return entity + + if len(mesh.vertices) == 0: + return "" + bbox = BoundingBox(mesh.vertices) + emin = Vec3() + assert bbox.extmin is not None + if bbox.extmin.x < 0 or bbox.extmin.y < 0 or bbox.extmin.z < 0: + # Allplan (IFC?) requires all mesh vertices in the all-positive octant + # (non-negative). Record #27 does the final placement at the correct + # location. + emin = bbox.extmin + mesh = MeshTransformer.from_builder(mesh) + mesh.translate(-emin.x, -emin.y, -emin.z) + + header = make_header() + data = make_data_records() + return header + data.dumps() + "\nENDSEC;\nEND-ISO-10303-21;\n" + + +def export_ifcZIP( + filename: Union[str, os.PathLike], + mesh: MeshBuilder, + entity_type=IfcEntityType.POLYGON_FACE_SET, + *, + layer: str = "MeshExport", + color: tuple[float, float, float] = (1.0, 1.0, 1.0), +): + """Export the given `mesh` as zip-compressed `IFC4`_ file. The filename + suffix should be ``.ifcZIP``. For more information see function + :func:`ifc4_dumps`. + + Args: + filename: zip filename, the data file has the same name with suffix ``.ifc`` + mesh: :class:`~ezdxf.render.MeshBuilder` + entity_type: :class:`IfcEntityType` + layer: layer name as string + color: entity color as RGB tuple, values in the range [0,1] + + Raises: + IOError: IO error when opening the zip-file for writing + + """ + name = os.path.basename(filename) + ".ifc" + zf = zipfile.ZipFile(filename, mode="w", compression=zipfile.ZIP_DEFLATED) + try: + zf.writestr( + name, ifc4_dumps(mesh, entity_type, layer=layer, color=color) + ) + finally: + zf.close() diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/addons/mixins.py b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/addons/mixins.py new file mode 100644 index 0000000000000000000000000000000000000000..fa3569f974de14b04ba83866060de32577d8007f --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/addons/mixins.py @@ -0,0 +1,19 @@ +# Copyright (c) 2011, Manfred Moitzi +# License: MIT License + + +class SubscriptAttributes: + def __getitem__(self, item): + if hasattr(self, item): + return getattr(self, item) + else: + raise KeyError(item) + + def __setitem__(self, key, value): + if hasattr(self, key): + setattr(self, key, value) + else: + raise KeyError(key) + + def __contains__(self, item): + return hasattr(self, item) diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/addons/mtextsurrogate.py b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/addons/mtextsurrogate.py new file mode 100644 index 0000000000000000000000000000000000000000..c3e69e622d8eda1368910edf55ee4da22ecf0682 --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/addons/mtextsurrogate.py @@ -0,0 +1,174 @@ +# Copyright (c) 2010-2022, Manfred Moitzi +# License: MIT License +from __future__ import annotations +from typing import TYPE_CHECKING, Any +import math +import enum + + +from ezdxf.enums import ( + MTextEntityAlignment, + MAP_MTEXT_ALIGN_TO_FLAGS, +) +from ezdxf.lldxf import const +from ezdxf.math import UVec, Vec3 +from .mixins import SubscriptAttributes + +if TYPE_CHECKING: + from ezdxf.eztypes import GenericLayoutType + +TOP_ALIGN = { + MTextEntityAlignment.TOP_LEFT, + MTextEntityAlignment.TOP_RIGHT, + MTextEntityAlignment.TOP_CENTER, +} +MIDDLE_ALIGN = { + MTextEntityAlignment.MIDDLE_LEFT, + MTextEntityAlignment.MIDDLE_CENTER, + MTextEntityAlignment.MIDDLE_RIGHT, +} + + +class Mirror(enum.IntEnum): + NONE = 0 + MIRROR_X = 2 + MIRROR_Y = 4 + + +class MTextSurrogate(SubscriptAttributes): + """MTEXT surrogate for DXF R12 build up by TEXT Entities. This add-on was + added to simplify the transition from :mod:`dxfwrite` to :mod:`ezdxf`. + + The rich-text formatting capabilities for the regular MTEXT entity are not + supported, if these features are required use the regular MTEXT entity and + the :class:`~ezdxf.addons.MTextExplode` add-on to explode the MTEXT entity + into DXF primitives. + + .. important:: + + The align-point is always the insert-point, there is no need for + a second align-point because the horizontal alignments FIT, ALIGN, + BASELINE_MIDDLE are not supported. + + Args: + text: content as string + insert: insert location in drawing units + line_spacing: line spacing in percent of height, 1.5 = 150% = 1+1/2 lines + align: text alignment as :class:`~ezdxf.enums.MTextEntityAlignment` enum + char_height: text height in drawing units + style: :class:`~ezdxf.entities.Textstyle` name as string + oblique: oblique angle in degrees, where 0 is vertical + rotation: text rotation angle in degrees + width_factor: text width factor as float + mirror: :attr:`MTextSurrogate.MIRROR_X` to mirror the text horizontal + or :attr:`MTextSurrogate.MIRROR_Y` to mirror the text vertical + layer: layer name as string + color: :ref:`ACI` + + """ + + MIRROR_NONE = Mirror.NONE + MIRROR_X = Mirror.MIRROR_X + MIRROR_Y = Mirror.MIRROR_Y + + def __init__( + self, + text: str, + insert: UVec, + line_spacing: float = 1.5, + align=MTextEntityAlignment.TOP_LEFT, + char_height: float = 1.0, + style="STANDARD", + oblique: float = 0.0, + rotation: float = 0.0, + width_factor: float = 1.0, + mirror=Mirror.NONE, + layer="0", + color: int = const.BYLAYER, + ): + self.content: list[str] = text.split("\n") + self.insert = Vec3(insert) + self.line_spacing = float(line_spacing) + assert isinstance(align, MTextEntityAlignment) + self.align = align + + self.char_height = float(char_height) + self.style = str(style) + self.oblique = float(oblique) # in degree + self.rotation = float(rotation) # in degree + self.width_factor = float(width_factor) + self.mirror = int(mirror) # renamed to text_generation_flag in ezdxf + self.layer = str(layer) + self.color = int(color) + + @property + def line_height(self) -> float: + """Absolute line spacing in drawing units.""" + return self.char_height * self.line_spacing + + def render(self, layout: GenericLayoutType) -> None: + """Render the multi-line content as separated TEXT entities into the + given `layout` instance. + """ + text_lines = self.content + if len(text_lines) > 1: + if self.mirror & const.MIRROR_Y: + text_lines.reverse() + for line_number, text in enumerate(text_lines): + align_point = self._get_align_point(line_number) + layout.add_text( + text, + dxfattribs=self._dxfattribs(align_point), + ) + elif len(text_lines) == 1: + layout.add_text( + text_lines[0], + dxfattribs=self._dxfattribs(self.insert), + ) + + def _get_align_point(self, line_number: int) -> Vec3: + """Calculate the align-point depending on the line number.""" + x = self.insert.x + y = self.insert.y + try: + z = self.insert.z + except IndexError: + z = 0.0 + # rotation not respected + + if self.align in TOP_ALIGN: + y -= line_number * self.line_height + elif self.align in MIDDLE_ALIGN: + y0 = line_number * self.line_height + full_height = (len(self.content) - 1) * self.line_height + y += (full_height / 2) - y0 + else: # BOTTOM ALIGN + y += (len(self.content) - 1 - line_number) * self.line_height + return self._rotate(Vec3(x, y, z)) + + def _rotate(self, alignpoint: Vec3) -> Vec3: + """Rotate `alignpoint` around insert-point about rotation degrees.""" + dx = alignpoint.x - self.insert.x + dy = alignpoint.y - self.insert.y + beta = math.radians(self.rotation) + x = self.insert.x + dx * math.cos(beta) - dy * math.sin(beta) + y = self.insert.y + dy * math.cos(beta) + dx * math.sin(beta) + return Vec3(round(x, 6), round(y, 6), alignpoint.z) + + def _dxfattribs(self, align_point: Vec3) -> dict[str, Any]: + """Build keyword arguments for TEXT entity creation.""" + halign, valign = MAP_MTEXT_ALIGN_TO_FLAGS[self.align] + return { + "insert": align_point, + "align_point": align_point, + "layer": self.layer, + "color": self.color, + "style": self.style, + "height": self.char_height, + "width": self.width_factor, + "text_generation_flag": self.mirror, + "rotation": self.rotation, + "oblique": self.oblique, + "halign": halign, + "valign": valign, + } diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/addons/mtxpl.py b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/addons/mtxpl.py new file mode 100644 index 0000000000000000000000000000000000000000..8b6b2b2ab7cb224a57a917ef725907b237edb801 --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/addons/mtxpl.py @@ -0,0 +1,388 @@ +# Copyright (c) 2021-2022, Manfred Moitzi +# License: MIT License +from __future__ import annotations +from typing import cast, Any, Optional, TYPE_CHECKING +import math +import ezdxf +from ezdxf.entities import MText, DXFGraphic, Textstyle +from ezdxf.enums import TextEntityAlignment + +# from ezdxf.layouts import BaseLayout +from ezdxf.document import Drawing +from ezdxf.math import Matrix44 +from ezdxf.fonts import fonts +from ezdxf.tools import text_layout as tl +from ezdxf.tools.text import MTextContext +from ezdxf.render.abstract_mtext_renderer import AbstractMTextRenderer + +if TYPE_CHECKING: + from ezdxf.eztypes import GenericLayoutType + +__all__ = ["MTextExplode"] + + +class FrameRenderer(tl.ContentRenderer): + def __init__(self, attribs: dict, layout: GenericLayoutType): + self.line_attribs = attribs + self.layout = layout + + def render( + self, + left: float, + bottom: float, + right: float, + top: float, + m: Matrix44 = None, + ) -> None: + pline = self.layout.add_lwpolyline( + [(left, top), (right, top), (right, bottom), (left, bottom)], + close=True, + dxfattribs=self.line_attribs, + ) + if m: + pline.transform(m) + + def line( + self, x1: float, y1: float, x2: float, y2: float, m: Matrix44 = None + ) -> None: + line = self.layout.add_line((x1, y1), (x2, y2), dxfattribs=self.line_attribs) + if m: + line.transform(m) + + +class ColumnBackgroundRenderer(FrameRenderer): + def __init__( + self, + attribs: dict, + layout: GenericLayoutType, + bg_aci: Optional[int] = None, + bg_true_color: Optional[int] = None, + offset: float = 0, + text_frame: bool = False, + ): + super().__init__(attribs, layout) + self.solid_attribs = None + if bg_aci is not None: + self.solid_attribs = dict(attribs) + self.solid_attribs["color"] = bg_aci + elif bg_true_color is not None: + self.solid_attribs = dict(attribs) + self.solid_attribs["true_color"] = bg_true_color + self.offset = offset # background border offset + self.has_text_frame = text_frame + + def render( + self, + left: float, + bottom: float, + right: float, + top: float, + m: Optional[Matrix44] = None, + ) -> None: + # Important: this is not a clipping box, it is possible to + # render anything outside of the given borders! + offset = self.offset + left -= offset + right += offset + top += offset + bottom -= offset + if self.solid_attribs is not None: + solid = self.layout.add_solid( + # SOLID! swap last two vertices: + [(left, top), (right, top), (left, bottom), (right, bottom)], + dxfattribs=self.solid_attribs, + ) + if m: + solid.transform(m) + if self.has_text_frame: + super().render(left, bottom, right, top, m) + + +class TextRenderer(FrameRenderer): + """Text content renderer.""" + + def __init__( + self, + text: str, + text_attribs: dict, + line_attribs: dict, + layout: GenericLayoutType, + ): + super().__init__(line_attribs, layout) + self.text = text + self.text_attribs = text_attribs + + def render( + self, + left: float, + bottom: float, + right: float, + top: float, + m: Optional[Matrix44] = None, + ): + """Create/render the text content""" + text = self.layout.add_text(self.text, dxfattribs=self.text_attribs) + text.set_placement((left, bottom), align=TextEntityAlignment.LEFT) + if m: + text.transform(m) + + +# todo: replace by fonts.get_entity_font_face() +def get_font_face(entity: DXFGraphic, doc=None) -> fonts.FontFace: + """Returns the :class:`~ezdxf.tools.fonts.FontFace` defined by the + associated text style. Returns the default font face if the `entity` does + not have or support the DXF attribute "style". + + Pass a DXF document as argument `doc` to resolve text styles for virtual + entities which are not assigned to a DXF document. The argument `doc` + always overrides the DXF document to which the `entity` is assigned to. + + """ + if entity.doc and doc is None: + doc = entity.doc + assert doc is not None, "valid DXF document required" + + style_name = "" + # This works also for entities which do not support "style", + # where style_name = entity.dxf.get("style") would fail. + if entity.dxf.is_supported("style"): + style_name = entity.dxf.style + + font_face = fonts.FontFace() + if style_name and doc is not None: + style = cast(Textstyle, doc.styles.get(style_name)) + family, italic, bold = style.get_extended_font_data() + if family: + text_style = "Italic" if italic else "Regular" + text_weight = 700 if bold else 400 + font_face = fonts.FontFace( + family=family, style=text_style, weight=text_weight + ) + else: + ttf = style.dxf.font + if ttf: + font_face = fonts.get_font_face(ttf) + return font_face + + +def get_color_attribs(ctx: MTextContext) -> dict: + attribs = {"color": ctx.aci} + if ctx.rgb is not None: + attribs["true_color"] = ezdxf.rgb2int(ctx.rgb) + return attribs + + +def make_bg_renderer(mtext: MText, layout: GenericLayoutType): + attribs = get_base_attribs(mtext) + dxf = mtext.dxf + bg_fill = dxf.get("bg_fill", 0) + + bg_aci = None + bg_true_color = None + has_text_frame = False + offset = 0 + if bg_fill: + # The fill scale is a multiple of the initial char height and + # a scale of 1, fits exact the outer border + # of the column -> offset = 0 + offset = dxf.char_height * (dxf.get("box_fill_scale", 1.5) - 1) + if bg_fill & ezdxf.const.MTEXT_BG_COLOR: + if dxf.hasattr("bg_fill_color"): + bg_aci = dxf.bg_fill_color + + if dxf.hasattr("bg_fill_true_color"): + bg_aci = None + bg_true_color = dxf.bg_fill_true_color + + if (bg_fill & 3) == 3: # canvas color = bit 0 and 1 set + # can not detect canvas color from DXF document! + # do not draw any background: + bg_aci = None + bg_true_color = None + + if bg_fill & ezdxf.const.MTEXT_TEXT_FRAME: + has_text_frame = True + + return ColumnBackgroundRenderer( + attribs, + layout, + bg_aci=bg_aci, + bg_true_color=bg_true_color, + offset=offset, + text_frame=has_text_frame, + ) + + +def get_base_attribs(mtext: MText) -> dict: + dxf = mtext.dxf + attribs = { + "layer": dxf.layer, + "color": dxf.color, + } + return attribs + + +class MTextExplode(AbstractMTextRenderer): + """The :class:`MTextExplode` class is a tool to disassemble MTEXT entities + into single line TEXT entities and additional LINE entities if required to + emulate strokes. + + The `layout` argument defines the target layout for "exploded" parts of the + MTEXT entity. Use argument `doc` if the target layout has no DXF document assigned + like virtual layouts. The `spacing_factor` argument is an advanced tuning parameter + to scale the size of space chars. + + """ + + def __init__( + self, + layout: GenericLayoutType, + doc: Optional[Drawing] = None, + spacing_factor: float = 1.0, + ): + super().__init__() + self.layout: GenericLayoutType = layout + self._doc = doc + # scale the width of spaces by this factor: + self._spacing_factor = float(spacing_factor) + self._required_text_styles: dict[str, fonts.FontFace] = {} + self.current_base_attribs: dict[str, Any] = dict() + + # Implementation of required AbstractMTextRenderer methods and overrides: + + def layout_engine(self, mtext: MText) -> tl.Layout: + self.current_base_attribs = get_base_attribs(mtext) + return super().layout_engine(mtext) + + def word(self, text: str, ctx: MTextContext) -> tl.ContentCell: + line_attribs = dict(self.current_base_attribs or {}) + line_attribs.update(get_color_attribs(ctx)) + text_attribs = dict(line_attribs) + text_attribs.update(self.get_text_attribs(ctx)) + return tl.Text( + width=self.get_font(ctx).text_width(text), + height=ctx.cap_height, + valign=tl.CellAlignment(ctx.align), + stroke=self.get_stroke(ctx), + renderer=TextRenderer(text, text_attribs, line_attribs, self.layout), + ) + + def fraction(self, data: tuple, ctx: MTextContext) -> tl.ContentCell: + upr, lwr, type_ = data + if type_: + return tl.Fraction( + top=self.word(upr, ctx), + bottom=self.word(lwr, ctx), + stacking=self.get_stacking(type_), + # renders just the divider line: + renderer=FrameRenderer(self.current_base_attribs, self.layout), + ) + else: + return self.word(upr, ctx) + + def get_font_face(self, mtext: MText) -> fonts.FontFace: + return get_font_face(mtext) + + def make_bg_renderer(self, mtext: MText) -> tl.ContentRenderer: + return make_bg_renderer(mtext, self.layout) + + # Implementation details of MTextExplode: + + def __enter__(self): + return self + + def __exit__(self, exc_type, exc_val, exc_tb): + self.finalize() + + def mtext_exploded_text_style(self, font_face: fonts.FontFace) -> str: + style = 0 + if font_face.is_bold: + style += 1 + if font_face.is_italic: + style += 2 + style_str = str(style) if style > 0 else "" + # BricsCAD naming convention for exploded MTEXT styles: + text_style = f"MtXpl_{font_face.family}" + style_str + self._required_text_styles[text_style] = font_face + return text_style + + def get_font(self, ctx: MTextContext) -> fonts.AbstractFont: + ttf = fonts.find_font_file_name(ctx.font_face) + key = (ttf, ctx.cap_height, ctx.width_factor) + font = self._font_cache.get(key) + if font is None: + font = fonts.make_font(ttf, ctx.cap_height, ctx.width_factor) + self._font_cache[key] = font + return font + + def get_text_attribs(self, ctx: MTextContext) -> dict: + attribs = { + "height": ctx.cap_height, + "style": self.mtext_exploded_text_style(ctx.font_face), + } + if not math.isclose(ctx.width_factor, 1.0): + attribs["width"] = ctx.width_factor + if abs(ctx.oblique) > 1e-6: + attribs["oblique"] = ctx.oblique + return attribs + + def explode(self, mtext: MText, destroy=True): + """Explode `mtext` and destroy the source entity if argument `destroy` + is ``True``. + """ + align = tl.LayoutAlignment(mtext.dxf.attachment_point) + layout_engine = self.layout_engine(mtext) + layout_engine.place(align=align) + layout_engine.render(mtext.ucs().matrix) + if destroy: + mtext.destroy() + + def finalize(self): + """Create required text styles. This method is called automatically if + the class is used as context manager. This method does not work with virtual + layouts if no document was assigned at initialization! + """ + + doc = self._doc + if doc is None: + doc = self.layout.doc + if doc is None: + raise ezdxf.DXFValueError( + "DXF document required, finalize() does not work with virtual layouts " + "if no document was assigned at initialization." + ) + text_styles = doc.styles + for style in self.make_required_style_table_entries(): + try: + text_styles.add_entry(style) + except ezdxf.DXFTableEntryError: + pass + + def make_required_style_table_entries(self) -> list[Textstyle]: + def ttf_path(font_face: fonts.FontFace) -> str: + ttf = font_face.filename + if not ttf: + ttf = fonts.find_font_file_name(font_face) + else: + # remapping SHX replacement fonts to SHX fonts, + # like "txt_____.ttf" to "TXT.SHX": + shx = fonts.map_ttf_to_shx(ttf) + if shx: + ttf = shx + return ttf + + text_styles: list[Textstyle] = [] + for name, font_face in self._required_text_styles.items(): + ttf = ttf_path(font_face) + style = Textstyle.new(dxfattribs={ + "name": name, + "font": ttf, + }) + if not ttf.endswith(".SHX"): + style.set_extended_font_data( + font_face.family, + italic=font_face.is_italic, + bold=font_face.is_bold, + ) + text_styles.append(style) + return text_styles diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/addons/odafc.py b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/addons/odafc.py new file mode 100644 index 0000000000000000000000000000000000000000..32d130622dac7b5d1bf8cb53b5b464fa7a5d8020 --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/addons/odafc.py @@ -0,0 +1,518 @@ +# Copyright (c) 2020-2023, Manfred Moitzi +# License: MIT License +# type: ignore +from __future__ import annotations +from typing import Optional +import logging +import os +import platform +import shutil +import subprocess +import tempfile +import time +from contextlib import contextmanager +from pathlib import Path + +import ezdxf +from ezdxf.document import Drawing +from ezdxf.lldxf.validator import ( + is_dxf_file, + dxf_info, + is_binary_dxf_file, + dwg_version, +) + +logger = logging.getLogger("ezdxf") + + +class ODAFCError(IOError): + pass + + +class UnknownODAFCError(ODAFCError): + pass + + +class ODAFCNotInstalledError(ODAFCError): + pass + + +class UnsupportedFileFormat(ODAFCError): + pass + + +class UnsupportedPlatform(ODAFCError): + pass + + +class UnsupportedVersion(ODAFCError): + pass + + +VERSION_MAP = { + "R12": "ACAD12", + "R13": "ACAD13", + "R14": "ACAD14", + "R2000": "ACAD2000", + "R2004": "ACAD2004", + "R2007": "ACAD2007", + "R2010": "ACAD2010", + "R2013": "ACAD2013", + "R2018": "ACAD2018", + "AC1004": "ACAD9", + "AC1006": "ACAD10", + "AC1009": "ACAD12", + "AC1012": "ACAD13", + "AC1014": "ACAD14", + "AC1015": "ACAD2000", + "AC1018": "ACAD2004", + "AC1021": "ACAD2007", + "AC1024": "ACAD2010", + "AC1027": "ACAD2013", + "AC1032": "ACAD2018", +} + +VALID_VERSIONS = { + "ACAD9", + "ACAD10", + "ACAD12", + "ACAD13", + "ACAD14", + "ACAD2000", + "ACAD2004", + "ACAD2007", + "ACAD2010", + "ACAD2013", + "ACAD2018", +} + +WINDOWS = "Windows" +LINUX = "Linux" +DARWIN = "Darwin" + + +def get_win_exec_path() -> str: + return ezdxf.options.get("odafc-addon", "win_exec_path").strip('"') + + +def get_unix_exec_path() -> str: + return ezdxf.options.get("odafc-addon", "unix_exec_path").strip('"') + + +def is_installed() -> bool: + """Returns ``True`` if the ODAFileConverter is installed.""" + if platform.system() in (LINUX, DARWIN): + unix_exec_path = get_unix_exec_path() + if unix_exec_path and Path(unix_exec_path).is_file(): + return True + return shutil.which("ODAFileConverter") is not None + # Windows: + return os.path.exists(get_win_exec_path()) + + +def map_version(version: str) -> str: + return VERSION_MAP.get(version.upper(), version.upper()) + + +def readfile( + filename: str | os.PathLike, version: Optional[str] = None, *, audit: bool = False +) -> Drawing: + """Uses an installed `ODA File Converter`_ to convert a DWG/DXB/DXF file + into a temporary DXF file and load this file by `ezdxf`. + + Args: + filename: file to load by ODA File Converter + version: load file as specific DXF version, by default the same version + as the source file or if not detectable the latest by `ezdxf` + supported version. + audit: audit source file before loading + + Raises: + FileNotFoundError: source file not found + odafc.UnknownODAFCError: conversion failed for unknown reasons + odafc.UnsupportedVersion: invalid DWG version specified + odafc.UnsupportedFileFormat: unsupported file extension + odafc.ODAFCNotInstalledError: ODA File Converter not installed + + """ + infile = Path(filename).absolute() + if not infile.is_file(): + raise FileNotFoundError(f"No such file: '{infile}'") + if isinstance(version, str): + version = map_version(version) + else: + version = _detect_version(filename) + + with tempfile.TemporaryDirectory(prefix="odafc_") as tmp_dir: + args = _odafc_arguments( + infile.name, + str(infile.parent), + tmp_dir, + output_format="DXF", + version=version, + audit=audit, + ) + _execute_odafc(args) + out_file = Path(tmp_dir) / infile.with_suffix(".dxf").name + if out_file.exists(): + doc = ezdxf.readfile(str(out_file)) + doc.filename = str(infile.with_suffix(".dxf")) + return doc + raise UnknownODAFCError("Failed to convert file: Unknown Error") + + +def export_dwg( + doc: Drawing, + filename: str | os.PathLike, + version: Optional[str] = None, + *, + audit: bool = False, + replace: bool = False, +) -> None: + """Uses an installed `ODA File Converter`_ to export the DXF document `doc` + as a DWG file. + + A temporary DXF file will be created and converted to DWG by the + ODA File Converter. If `version` is not specified the DXF version of the + source document is used. + + Args: + doc: `ezdxf` DXF document as :class:`~ezdxf.drawing.Drawing` object + filename: output DWG filename, the extension will be set to ".dwg" + version: DWG version to export, by default the same version as + the source document. + audit: audit source file by ODA File Converter at exporting + replace: replace existing DWG file if ``True`` + + Raises: + FileExistsError: target file already exists, and argument `replace` is + ``False`` + FileNotFoundError: parent directory of target file does not exist + odafc.UnknownODAFCError: exporting DWG failed for unknown reasons + odafc.ODAFCNotInstalledError: ODA File Converter not installed + + """ + if version is None: + version = doc.dxfversion + export_version = VERSION_MAP[version] + dwg_file = Path(filename).absolute() + out_folder = Path(dwg_file.parent) + if dwg_file.exists(): + if replace: + dwg_file.unlink() + else: + raise FileExistsError(f"File already exists: {dwg_file}") + if out_folder.exists(): + with tempfile.TemporaryDirectory(prefix="odafc_") as tmp_dir: + dxf_file = Path(tmp_dir) / dwg_file.with_suffix(".dxf").name + + # Save DXF document + old_filename = doc.filename + doc.saveas(dxf_file) + doc.filename = old_filename + + arguments = _odafc_arguments( + dxf_file.name, + tmp_dir, + str(out_folder), + output_format="DWG", + version=export_version, + audit=audit, + ) + _execute_odafc(arguments) + else: + raise FileNotFoundError(f"No such file or directory: '{str(out_folder)}'") + + +def convert( + source: str | os.PathLike, + dest: str | os.PathLike = "", + *, + version="R2018", + audit=True, + replace=False, +): + """Convert `source` file to `dest` file. + + The file extension defines the target format + e.g. :code:`convert("test.dxf", "Test.dwg")` converts the source file to a + DWG file. + If `dest` is an empty string the conversion depends on the source file + format and is DXF to DWG or DWG to DXF. + To convert DXF to DXF an explicit destination filename is required: + :code:`convert("r12.dxf", "r2013.dxf", version="R2013")` + + Args: + source: source file + dest: destination file, an empty string uses the source filename with + the extension of the target format e.g. "test.dxf" -> "test.dwg" + version: output DXF/DWG version e.g. "ACAD2018", "R2018", "AC1032" + audit: audit files + replace: replace existing destination file + + Raises: + FileNotFoundError: source file or destination folder does not exist + FileExistsError: destination file already exists and argument `replace` + is ``False`` + odafc.UnsupportedVersion: invalid DXF version specified + odafc.UnsupportedFileFormat: unsupported file extension + odafc.UnknownODAFCError: conversion failed for unknown reasons + odafc.ODAFCNotInstalledError: ODA File Converter not installed + + """ + version = map_version(version) + if version not in VALID_VERSIONS: + raise UnsupportedVersion(f"Invalid version: '{version}'") + src_path = Path(source).expanduser().absolute() + if not src_path.exists(): + raise FileNotFoundError(f"Source file not found: '{source}'") + if dest: + dest_path = Path(dest) + else: + ext = src_path.suffix.lower() + if ext == ".dwg": + dest_path = src_path.with_suffix(".dxf") + elif ext == ".dxf": + dest_path = src_path.with_suffix(".dwg") + else: + raise UnsupportedFileFormat(f"Unsupported file format: '{ext}'") + if dest_path.exists() and not replace: + raise FileExistsError(f"Target file already exists: '{dest_path}'") + parent_dir = dest_path.parent + if not parent_dir.exists() or not parent_dir.is_dir(): + # Cannot copy result to destination folder! + raise FileNotFoundError(f"Destination folder does not exist: '{parent_dir}'") + ext = dest_path.suffix + fmt = ext.upper()[1:] + if fmt not in ("DXF", "DWG"): + raise UnsupportedFileFormat(f"Unsupported file format: '{ext}'") + + with tempfile.TemporaryDirectory(prefix="odafc_") as tmp_dir: + arguments = _odafc_arguments( + src_path.name, + in_folder=str(src_path.parent), + out_folder=str(tmp_dir), + output_format=fmt, + version=version, + audit=audit, + ) + _execute_odafc(arguments) + result = list(Path(tmp_dir).iterdir()) + if result: + try: + shutil.move(result[0], dest_path) + except IOError: + shutil.copy(result[0], dest_path) + else: + UnknownODAFCError(f"Unknown error: no {fmt} file was created") + + +def _detect_version(path: str) -> str: + """Returns the DXF/DWG version of file `path` as ODAFC compatible version + string. + + Raises: + odafc.UnsupportedVersion: unknown or unsupported DWG version + odafc.UnsupportedFileFormat; unsupported file extension + + """ + version = "ACAD2018" + ext = os.path.splitext(path)[1].lower() + if ext == ".dxf": + if is_binary_dxf_file(path): + pass + elif is_dxf_file(path): + with open(path, "rt") as fp: + info = dxf_info(fp) + version = VERSION_MAP[info.version] + elif ext == ".dwg": + version = dwg_version(path) + if version is None: + raise UnsupportedVersion("Unknown or unsupported DWG version.") + else: + raise UnsupportedFileFormat(f"Unsupported file format: '{ext}'") + + return map_version(version) + + +def _odafc_arguments( + filename: str, + in_folder: str, + out_folder: str, + output_format: str = "DXF", + version: str = "ACAD2013", + audit: bool = False, +) -> list[str]: + """ODA File Converter command line format: + + ODAFileConverter "Input Folder" "Output Folder" version type recurse audit [filter] + + - version: output version: "ACAD9" - "ACAD2018" + - type: output file type: "DWG", "DXF", "DXB" + - recurse: recurse Input Folder: "0" or "1" + - audit: audit each file: "0" or "1" + - optional Input files filter: default "*.DWG,*.DXF" + + """ + recurse = "0" + audit_str = "1" if audit else "0" + return [ + in_folder, + out_folder, + version, + output_format, + recurse, + audit_str, + filename, + ] + + +def _get_odafc_path(system: str) -> str: + """Get ODAFC application path. + + Raises: + odafc.ODAFCNotInstalledError: ODA File Converter not installed + + """ + # on Linux and Darwin check if UNIX_EXEC_PATH is set and exist and + # return this path as exec path. + # This may help if the "which" command can not find the "ODAFileConverter" + # command and also adds support for AppImages provided by ODA. + unix_exec_path = get_unix_exec_path() + + if system != WINDOWS and unix_exec_path: + if Path(unix_exec_path).is_file(): + return unix_exec_path + else: + logger.warning( + f"command '{unix_exec_path}' not found, using 'ODAFileConverter'" + ) + + path = shutil.which("ODAFileConverter") + if not path and system == WINDOWS: + path = get_win_exec_path() + if not Path(path).is_file(): + path = None + + if not path: + raise ODAFCNotInstalledError( + f"Could not find ODAFileConverter in the path. " + f"Install application from https://www.opendesign.com/guestfiles/oda_file_converter" + ) + return path + + +@contextmanager +def _linux_dummy_display(): + """See xvbfwrapper library for a more feature complete xvfb interface.""" + if shutil.which("Xvfb"): + display = f":{os.getpid()}" # Each process has its own screen id + proc = subprocess.Popen( + ["Xvfb", display, "-screen", "0", "800x600x24"], + stdout=subprocess.DEVNULL, + stderr=subprocess.DEVNULL, + ) + time.sleep(0.1) + yield display + try: + proc.terminate() + proc.wait() + except OSError: + pass + else: + logger.warning(f"Install xvfb to prevent the ODAFileConverter GUI from opening") + yield os.environ["DISPLAY"] + + +def _run_with_no_gui( + system: str, command: str, arguments: list[str] +) -> subprocess.Popen: + """Execute ODAFC application without launching the GUI. + + Args: + system: "Linux", "Windows" or "Darwin" + command: application to execute + arguments: ODAFC argument list + + Raises: + odafc.UnsupportedPlatform: for unsupported platforms + odafc.ODAFCNotInstalledError: ODA File Converter not installed + + """ + if system == LINUX: + with _linux_dummy_display() as display: + env = os.environ.copy() + env["DISPLAY"] = display + proc = subprocess.run( + [command] + arguments, text=True, capture_output=True, env=env + ) + + elif system == DARWIN: + # TODO: unknown how to prevent the GUI from appearing on macOS + proc = subprocess.run([command] + arguments, text=True, capture_output=True) + + elif system == WINDOWS: + # New code from George-Jiang to solve the GUI pop-up problem + startupinfo = subprocess.STARTUPINFO() + startupinfo.dwFlags = ( + subprocess.CREATE_NEW_CONSOLE | subprocess.STARTF_USESHOWWINDOW + ) + startupinfo.wShowWindow = subprocess.SW_HIDE + proc = subprocess.Popen( + [command] + arguments, + stdout=subprocess.PIPE, + stderr=subprocess.PIPE, + startupinfo=startupinfo, + ) + proc.wait() + else: + # The OpenDesign Alliance only provides executables for Linux, macOS + # and Windows: + raise UnsupportedPlatform(f"Unsupported platform: {system}") + return proc + + +def _odafc_failed(system: str, returncode: int, stderr: str) -> bool: + # changed v0.18.1, see https://github.com/mozman/ezdxf/issues/707 + stderr = stderr.strip() + if system == LINUX: + # ODAFileConverter *always* crashes on Linux even if the output was successful + return stderr != "" and stderr != "Quit (core dumped)" + elif returncode != 0: + return True + else: + return stderr != "" + + +def _execute_odafc(arguments: list[str]) -> Optional[bytes]: + """Execute ODAFC application. + + Args: + arguments: ODAFC argument list + + Raises: + odafc.ODAFCNotInstalledError: ODA File Converter not installed + odafc.UnknownODAFCError: execution failed for unknown reasons + odafc.UnsupportedPlatform: for unsupported platforms + + """ + logger.debug(f"Running ODAFileConverter with arguments: {arguments}") + system = platform.system() + oda_fc = _get_odafc_path(system) + proc = _run_with_no_gui(system, oda_fc, arguments) + returncode = proc.returncode + if system == WINDOWS: + stdout = proc.stdout.read().decode("utf-8") + stderr = proc.stderr.read().decode("utf-8") + else: + stdout = proc.stdout + stderr = proc.stderr + + if _odafc_failed(system, returncode, stderr): + msg = ( + f"ODA File Converter failed: return code = {returncode}.\n" + f"stdout: {stdout}\nstderr: {stderr}" + ) + logger.debug(msg) + raise UnknownODAFCError(msg) + return stdout diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/addons/openscad.py b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/addons/openscad.py new file mode 100644 index 0000000000000000000000000000000000000000..a70324bf64c75bf132db2fa6c5428a01cbfd513c --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/addons/openscad.py @@ -0,0 +1,315 @@ +# Copyright (c) 2022, Manfred Moitzi +# License: MIT License +from __future__ import annotations +from typing import Union, Iterable, Sequence, Optional +from pathlib import Path +import enum +import platform +import shutil +import subprocess +from uuid import uuid4 +import tempfile + +import ezdxf +from ezdxf.math import Matrix44, UVec, Vec3, Vec2 +from ezdxf.render import MeshBuilder, MeshTransformer +from ezdxf.addons import meshex + + +class Operation(enum.Enum): + union = 0 + difference = 1 + intersection = 2 + + +CMD = "openscad" +UNION = Operation.union +DIFFERENCE = Operation.difference +INTERSECTION = Operation.intersection + + +def get_openscad_path() -> str: + if platform.system() in ("Linux", "Darwin"): + return CMD + else: + return ezdxf.options.get("openscad-addon", "win_exec_path").strip('"') + + +def is_installed() -> bool: + """Returns ``True`` if OpenSCAD is installed. + + Searches on Windows the path stored in the options as "win_exec_path" in section + "[openscad-addon]" which is "C:\\Program Files\\OpenSCAD\\openscad.exe" by default. + + Searches the "openscad" command on Linux and macOS. + + """ + if platform.system() in ("Linux", "Darwin"): + return shutil.which(CMD) is not None + return Path(get_openscad_path()).exists() + + +def run(script: str, exec_path: Optional[str] = None) -> MeshTransformer: + """Executes the given `script` by OpenSCAD and returns the result mesh as + :class:`~ezdxf.render.MeshTransformer`. + + Args: + script: the OpenSCAD script as string + exec_path: path to the executable as string or ``None`` to use the + default installation path + + """ + if exec_path is None: + exec_path = get_openscad_path() + + workdir = Path(tempfile.gettempdir()) + uuid = str(uuid4()) + # The OFF format is more compact than the default STL format + off_path = workdir / f"ezdxf_{uuid}.off" + scad_path = workdir / f"ezdxf_{uuid}.scad" + + scad_path.write_text(script) + subprocess.call( + [ + exec_path, + "--quiet", + "-o", + str(off_path), + str(scad_path), + ] + ) + # Remove the OpenSCAD temp file: + scad_path.unlink(missing_ok=True) + + new_mesh = MeshTransformer() + # Import the OpenSCAD result from OFF file: + if off_path.exists(): + new_mesh = meshex.off_loads(off_path.read_text()) + + # Remove the OFF temp file: + off_path.unlink(missing_ok=True) + return new_mesh + + +def str_matrix44(m: Matrix44) -> str: + # OpenSCAD uses column major order! + import numpy as np + + def cleanup(values: Iterable) -> Iterable: + for value in values: + if isinstance(value, np.float64): + yield float(value) + else: + yield value + + s = ", ".join([str(list(cleanup(c))) for c in m.columns()]) + return f"[{s}]" + + +def str_polygon( + path: Iterable[UVec], + holes: Optional[Sequence[Iterable[UVec]]] = None, +) -> str: + """Returns a ``polygon()`` command as string. This is a 2D command, all + z-axis values of the input vertices are ignored and all paths and holes + are closed automatically. + + OpenSCAD docs: https://en.wikibooks.org/wiki/OpenSCAD_User_Manual/Using_the_2D_Subsystem#polygon + + Args: + path: exterior path + holes: a sequences of one or more holes as vertices + + """ + + def add_vertices(vertices): + index = len(points) + indices = [] + vlist = Vec2.list(vertices) + if not vlist[0].isclose(vlist[-1]): + vlist.append(vlist[0]) + + for v in vlist: + indices.append(index) + points.append(f" [{v.x:g}, {v.y:g}],") + index += 1 + return indices + + points: list[str] = [] + paths = [add_vertices(path)] + if holes is not None: + for hole in holes: + paths.append(add_vertices(hole)) + lines = ["polygon(points = ["] + lines.extend(points) + lines.append("],") + if holes is not None: + lines.append("paths = [") + for indices in paths: + lines.append(f" {str(indices)},") + lines.append("],") + lines.append("convexity = 10);") + return "\n".join(lines) + + +class Script: + def __init__(self) -> None: + self.data: list[str] = [] + + def add(self, data: str) -> None: + """Add a string.""" + self.data.append(data) + + def add_polyhedron(self, mesh: MeshBuilder) -> None: + """Add `mesh` as ``polyhedron()`` command. + + OpenSCAD docs: https://en.wikibooks.org/wiki/OpenSCAD_User_Manual/Primitive_Solids#polyhedron + + """ + self.add(meshex.scad_dumps(mesh)) + + def add_polygon( + self, + path: Iterable[UVec], + holes: Optional[Sequence[Iterable[UVec]]] = None, + ) -> None: + """Add a ``polygon()`` command. This is a 2D command, all + z-axis values of the input vertices are ignored and all paths and holes + are closed automatically. + + OpenSCAD docs: https://en.wikibooks.org/wiki/OpenSCAD_User_Manual/Using_the_2D_Subsystem#polygon + + Args: + path: exterior path + holes: a sequence of one or more holes as vertices, or ``None`` for no holes + + """ + self.add(str_polygon(path, holes)) + + def add_multmatrix(self, m: Matrix44) -> None: + """Add a transformation matrix of type :class:`~ezdxf.math.Matrix44` as + ``multmatrix()`` operation. + + OpenSCAD docs: https://en.wikibooks.org/wiki/OpenSCAD_User_Manual/Transformations#multmatrix + + """ + self.add(f"multmatrix(m = {str_matrix44(m)})") # no pending ";" + + def add_translate(self, v: UVec) -> None: + """Add a ``translate()`` operation. + + OpenSCAD docs: https://en.wikibooks.org/wiki/OpenSCAD_User_Manual/Transformations#translate + + Args: + v: translation vector + + """ + vec = Vec3(v) + self.add(f"translate(v = [{vec.x:g}, {vec.y:g}, {vec.z:g}])") + + def add_rotate(self, ax: float, ay: float, az: float) -> None: + """Add a ``rotation()`` operation. + + OpenSCAD docs: https://en.wikibooks.org/wiki/OpenSCAD_User_Manual/Transformations#rotate + + Args: + ax: rotation about the x-axis in degrees + ay: rotation about the y-axis in degrees + az: rotation about the z-axis in degrees + + """ + self.add(f"rotate(a = [{ax:g}, {ay:g}, {az:g}])") + + def add_rotate_about_axis(self, a: float, v: UVec) -> None: + """Add a ``rotation()`` operation about the given axis `v`. + + OpenSCAD docs: https://en.wikibooks.org/wiki/OpenSCAD_User_Manual/Transformations#rotate + + Args: + a: rotation angle about axis `v` in degrees + v: rotation axis as :class:`ezdxf.math.UVec` object + + """ + vec = Vec3(v) + self.add(f"rotate(a = {a:g}, v = [{vec.x:g}, {vec.y:g}, {vec.z:g}])") + + def add_scale(self, sx: float, sy: float, sz: float) -> None: + """Add a ``scale()`` operation. + + OpenSCAD docs: https://en.wikibooks.org/wiki/OpenSCAD_User_Manual/Transformations#scale + + Args: + sx: scaling factor for the x-axis + sy: scaling factor for the y-axis + sz: scaling factor for the z-axis + + """ + self.add(f"scale(v = [{sx:g}, {sy:g}, {sz:g}])") + + def add_resize( + self, + nx: float, + ny: float, + nz: float, + auto: Optional[Union[bool, tuple[bool, bool, bool]]] = None, + ) -> None: + """Add a ``resize()`` operation. + + OpenSCAD docs: https://en.wikibooks.org/wiki/OpenSCAD_User_Manual/Transformations#resize + + Args: + nx: new size in x-axis + ny: new size in y-axis + nz: new size in z-axis + auto: If the `auto` argument is set to ``True``, the operation + auto-scales any 0-dimensions to match. Set the `auto` argument + as a 3-tuple of bool values to auto-scale individual axis. + + """ + main = f"resize(newsize = [{nx:g}, {ny:g}, {nz:g}]" + if auto is None: + self.add(main + ")") + return + elif isinstance(auto, bool): + flags = str(auto).lower() + else: + flags = ", ".join([str(a).lower() for a in auto]) + flags = f"[{flags}]" + self.add(main + f", auto = {flags})") + + def add_mirror(self, v: UVec) -> None: + """Add a ``mirror()`` operation. + + OpenSCAD docs: https://en.wikibooks.org/wiki/OpenSCAD_User_Manual/Transformations#mirror + + Args: + v: the normal vector of a plane intersecting the origin through + which to mirror the object + + """ + n = Vec3(v).normalize() + self.add(f"mirror(v = [{n.x:g}, {n.y:g}, {n.z:g}])") + + def get_string(self) -> str: + """Returns the OpenSCAD build script.""" + return "\n".join(self.data) + + +def boolean_operation(op: Operation, mesh1: MeshBuilder, mesh2: MeshBuilder) -> str: + """Returns an `OpenSCAD`_ script to apply the given boolean operation to the + given meshes. + + The supported operations are: + + - UNION + - DIFFERENCE + - INTERSECTION + + """ + assert isinstance(op, Operation), "enum of type Operation expected" + script = Script() + script.add(f"{op.name}() {{") + script.add_polyhedron(mesh1) + script.add_polyhedron(mesh2) + script.add("}") + return script.get_string() diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/addons/pycsg.py b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/addons/pycsg.py new file mode 100644 index 0000000000000000000000000000000000000000..ac08f6495d1ace2e098096bdb6698d67bc27de5b --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/addons/pycsg.py @@ -0,0 +1,444 @@ +# License +# Copyright (c) 2011 Evan Wallace (http://madebyevan.com/), under the MIT license. +# Python port Copyright (c) 2012 Tim Knip (http://www.floorplanner.com), under the MIT license. +# Additions by Alex Pletzer (Pennsylvania State University) +# Integration as ezdxf add-on, Copyright (c) 2020, Manfred Moitzi, MIT License. +from __future__ import annotations +from typing import Optional +from ezdxf.math import Vec3, best_fit_normal, normal_vector_3p +from ezdxf.render import MeshVertexMerger, MeshBuilder, MeshTransformer + +# Implementation Details +# ---------------------- +# +# All CSG operations are implemented in terms of two functions, clip_to() and +# invert(), which remove parts of a BSP tree inside another BSP tree and swap +# solid and empty space, respectively. To find the union of a and b, we +# want to remove everything in a inside b and everything in b inside a, +# then combine polygons from a and b into one solid: +# +# a.clip_to(b) +# b.clip_to(a) +# a.build(b.all_polygons()) +# +# The only tricky part is handling overlapping coplanar polygons in both trees. +# The code above keeps both copies, but we need to keep them in one tree and +# remove them in the other tree. To remove them from b we can clip the +# inverse of b against a. The code for union now looks like this: +# +# a.clip_to(b) +# b.clip_to(a) +# b.invert() +# b.clip_to(a) +# b.invert() +# a.build(b.all_polygons()) +# +# Subtraction and intersection naturally follow from set operations. If +# union is A | B, subtraction is A - B = ~(~A | B) and intersection is +# A & B = ~(~A | ~B) where '~' is the complement operator. + +__all__ = ["CSG"] + +COPLANAR = 0 # all the vertices are within EPSILON distance from plane +FRONT = 1 # all the vertices are in front of the plane +BACK = 2 # all the vertices are at the back of the plane +SPANNING = 3 # some vertices are in front, some in the back +PLANE_EPSILON = 1e-5 # Tolerance used by split_polygon() to decide if a point is on the plane. + + +class Plane: + """Represents a plane in 3D space.""" + + __slots__ = ("normal", "w") + + def __init__(self, normal: Vec3, w: float): + self.normal = normal + # w is the (perpendicular) distance of the plane from (0, 0, 0) + self.w = w + + @classmethod + def from_points(cls, a: Vec3, b: Vec3, c: Vec3) -> Plane: + n = normal_vector_3p(a, b, c) + return Plane(n, n.dot(a)) + + def clone(self) -> Plane: + return Plane(self.normal, self.w) + + def flip(self) -> None: + self.normal = -self.normal + self.w = -self.w + + def __repr__(self) -> str: + return f"Plane({self.normal}, {self.w})" + + def split_polygon( + self, + polygon: "Polygon", + coplanar_front: list[Polygon], + coplanar_back: list[Polygon], + front: list[Polygon], + back: list[Polygon], + ) -> None: + """ + Split `polygon` by this plane if needed, then put the polygon or polygon + fragments in the appropriate lists. Coplanar polygons go into either + `coplanarFront` or `coplanarBack` depending on their orientation with + respect to this plane. Polygons in front or in back of this plane go into + either `front` or `back` + """ + polygon_type = 0 + vertex_types = [] + vertices = polygon.vertices + meshid = polygon.meshid # mesh ID of the associated mesh + + # Classify each point as well as the entire polygon into one of four classes: + # COPLANAR, FRONT, BACK, SPANNING = FRONT + BACK + for vertex in vertices: + distance = self.normal.dot(vertex) - self.w + if distance < -PLANE_EPSILON: + vertex_type = BACK + elif distance > PLANE_EPSILON: + vertex_type = FRONT + else: + vertex_type = COPLANAR + polygon_type |= vertex_type + vertex_types.append(vertex_type) + + # Put the polygon in the correct list, splitting it when necessary. + if polygon_type == COPLANAR: + if self.normal.dot(polygon.plane.normal) > 0: + coplanar_front.append(polygon) + else: + coplanar_back.append(polygon) + elif polygon_type == FRONT: + front.append(polygon) + elif polygon_type == BACK: + back.append(polygon) + elif polygon_type == SPANNING: + front_vertices = [] + back_vertices = [] + len_vertices = len(vertices) + for index in range(len_vertices): + next_index = (index + 1) % len_vertices + vertex_type = vertex_types[index] + next_vertex_type = vertex_types[next_index] + vertex = vertices[index] + next_vertex = vertices[next_index] + if vertex_type != BACK: # FRONT or COPLANAR + front_vertices.append(vertex) + if vertex_type != FRONT: # BACK or COPLANAR + back_vertices.append(vertex) + if (vertex_type | next_vertex_type) == SPANNING: + interpolation_weight = ( + self.w - self.normal.dot(vertex) + ) / self.normal.dot(next_vertex - vertex) + plane_intersection_point = vertex.lerp( + next_vertex, interpolation_weight + ) + front_vertices.append(plane_intersection_point) + back_vertices.append(plane_intersection_point) + if len(front_vertices) >= 3: + front.append(Polygon(front_vertices, meshid=meshid)) + if len(back_vertices) >= 3: + back.append(Polygon(back_vertices, meshid=meshid)) + + +class Polygon: + """ + Represents a convex polygon. The vertices used to initialize a polygon must + be coplanar and form a convex loop, the `meshid` argument associates a polygon + to a mesh. + + Args: + vertices: polygon vertices as :class:`Vec3` objects + meshid: id associated mesh + + """ + + __slots__ = ("vertices", "plane", "meshid") + + def __init__(self, vertices: list[Vec3], meshid: int = 0): + self.vertices = vertices + try: + normal = normal_vector_3p(vertices[0], vertices[1], vertices[2]) + except ZeroDivisionError: # got three colinear vertices + normal = best_fit_normal(vertices) + self.plane = Plane(normal, normal.dot(vertices[0])) + # number of mesh, this polygon is associated to + self.meshid = meshid + + def clone(self) -> Polygon: + return Polygon(list(self.vertices), meshid=self.meshid) + + def flip(self) -> None: + self.vertices.reverse() + self.plane.flip() + + def __repr__(self) -> str: + v = ", ".join(repr(v) for v in self.vertices) + return f"Polygon([{v}], mesh={self.meshid})" + + +class BSPNode: + """ + Holds a node in a BSP tree. A BSP tree is built from a collection of polygons + by picking a polygon to split along. That polygon (and all other coplanar + polygons) are added directly to that node and the other polygons are added to + the front and/or back subtrees. This is not a leafy BSP tree since there is + no distinction between internal and leaf nodes. + """ + + __slots__ = ("plane", "front", "back", "polygons") + + def __init__(self, polygons: Optional[list[Polygon]] = None): + self.plane: Optional[Plane] = None + self.front: Optional[BSPNode] = None + self.back: Optional[BSPNode] = None + self.polygons: list[Polygon] = [] + if polygons: + self.build(polygons) + + def clone(self) -> BSPNode: + node = BSPNode() + if self.plane: + node.plane = self.plane.clone() + if self.front: + node.front = self.front.clone() + if self.back: + node.back = self.back.clone() + node.polygons = [p.clone() for p in self.polygons] + return node + + def invert(self) -> None: + """Convert solid space to empty space and empty space to solid space.""" + for poly in self.polygons: + poly.flip() + assert self.plane is not None + self.plane.flip() + if self.front: + self.front.invert() + if self.back: + self.back.invert() + self.front, self.back = self.back, self.front + + def clip_polygons(self, polygons: list[Polygon]) -> list[Polygon]: + """Recursively remove all polygons in `polygons` that are inside this + BSP tree. + + """ + if self.plane is None: + return polygons[:] + + front: list[Polygon] = [] + back: list[Polygon] = [] + for polygon in polygons: + self.plane.split_polygon(polygon, front, back, front, back) + + if self.front: + front = self.front.clip_polygons(front) + + if self.back: + back = self.back.clip_polygons(back) + else: + back = [] + + front.extend(back) + return front + + def clip_to(self, bsp: BSPNode) -> None: + """Remove all polygons in this BSP tree that are inside the other BSP + tree `bsp`. + """ + self.polygons = bsp.clip_polygons(self.polygons) + if self.front: + self.front.clip_to(bsp) + if self.back: + self.back.clip_to(bsp) + + def all_polygons(self) -> list[Polygon]: + """Return a list of all polygons in this BSP tree.""" + polygons = self.polygons[:] + if self.front: + polygons.extend(self.front.all_polygons()) + if self.back: + polygons.extend(self.back.all_polygons()) + return polygons + + def build(self, polygons: list[Polygon]) -> None: + """ + Build a BSP tree out of `polygons`. When called on an existing tree, the + new polygons are filtered down to the bottom of the tree and become new + nodes there. Each set of polygons is partitioned using the first polygon + (no heuristic is used to pick a good split). + """ + if len(polygons) == 0: + return + if self.plane is None: + # do a wise choice and pick the first polygon as split-plane ;) + self.plane = polygons[0].plane.clone() + # add first polygon to this node + self.polygons.append(polygons[0]) + front: list[Polygon] = [] + back: list[Polygon] = [] + # split all other polygons at the split plane + for poly in polygons[1:]: + # coplanar front and back polygons go into self.polygons + self.plane.split_polygon( + poly, self.polygons, self.polygons, front, back + ) + # recursively build the BSP tree + if len(front) > 0: + if self.front is None: + self.front = BSPNode() + self.front.build(front) + if len(back) > 0: + if self.back is None: + self.back = BSPNode() + self.back.build(back) + + +class CSG: + """ + Constructive Solid Geometry (CSG) is a modeling technique that uses Boolean + operations like union and intersection to combine 3D solids. This class + implements CSG operations on meshes. + + New 3D solids are created from :class:`~ezdxf.render.MeshBuilder` objects + and results can be exported as :class:`~ezdxf.render.MeshTransformer` objects + to `ezdxf` by method :meth:`mesh`. + + Args: + mesh: :class:`ezdxf.render.MeshBuilder` or inherited object + meshid: individual mesh ID to separate result meshes, ``0`` is default + + """ + + def __init__(self, mesh: Optional[MeshBuilder] = None, meshid: int = 0): + if mesh is None: + self.polygons: list[Polygon] = [] + else: + mesh_copy = mesh.copy() + mesh_copy.normalize_faces() + self.polygons = [ + Polygon(face, meshid) for face in mesh_copy.faces_as_vertices() + ] + + @classmethod + def from_polygons(cls, polygons: list[Polygon]) -> CSG: + csg = CSG() + csg.polygons = polygons + return csg + + def mesh(self, meshid: int = 0) -> MeshTransformer: + """ + Returns a :class:`ezdxf.render.MeshTransformer` object. + + Args: + meshid: individual mesh ID, ``0`` is default + + """ + mesh = MeshVertexMerger() + for face in self.polygons: + if meshid == face.meshid: + mesh.add_face(face.vertices) + return MeshTransformer.from_builder(mesh) + + def clone(self) -> CSG: + return self.from_polygons([p.clone() for p in self.polygons]) + + def union(self, other: CSG) -> CSG: + """ + Return a new CSG solid representing space in either this solid or in the + solid `other`. Neither this solid nor the solid `other` are modified:: + + A.union(B) + + +-------+ +-------+ + | | | | + | A | | | + | +--+----+ = | +----+ + +----+--+ | +----+ | + | B | | | + | | | | + +-------+ +-------+ + """ + a = BSPNode(self.clone().polygons) + b = BSPNode(other.clone().polygons) + a.clip_to(b) + b.clip_to(a) + b.invert() + b.clip_to(a) + b.invert() + a.build(b.all_polygons()) + return CSG.from_polygons(a.all_polygons()) + + __add__ = union + + def subtract(self, other: CSG) -> CSG: + """ + Return a new CSG solid representing space in this solid but not in the + solid `other`. Neither this solid nor the solid `other` are modified:: + + A.subtract(B) + + +-------+ +-------+ + | | | | + | A | | | + | +--+----+ = | +--+ + +----+--+ | +----+ + | B | + | | + +-------+ + """ + a = BSPNode(self.clone().polygons) + b = BSPNode(other.clone().polygons) + a.invert() + a.clip_to(b) + b.clip_to(a) + b.invert() + b.clip_to(a) + b.invert() + a.build(b.all_polygons()) + a.invert() + return CSG.from_polygons(a.all_polygons()) + + __sub__ = subtract + + def intersect(self, other: CSG) -> CSG: + """ + Return a new CSG solid representing space both this solid and in the + solid `other`. Neither this solid nor the solid `other` are modified:: + + A.intersect(B) + + +-------+ + | | + | A | + | +--+----+ = +--+ + +----+--+ | +--+ + | B | + | | + +-------+ + """ + a = BSPNode(self.clone().polygons) + b = BSPNode(other.clone().polygons) + a.invert() + b.clip_to(a) + b.invert() + a.clip_to(b) + b.clip_to(a) + a.build(b.all_polygons()) + a.invert() + return CSG.from_polygons(a.all_polygons()) + + __mul__ = intersect + + def inverse(self) -> CSG: + """ + Return a new CSG solid with solid and empty space switched. This solid is + not modified. + """ + csg = self.clone() + for p in csg.polygons: + p.flip() + return csg diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/addons/r12export.py b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/addons/r12export.py new file mode 100644 index 0000000000000000000000000000000000000000..e9a6b0e9ff98fcf0a82a006979312f1f15604ceb --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/addons/r12export.py @@ -0,0 +1,636 @@ +# Copyright (c) 2023, Manfred Moitzi +# License: MIT License +""" +Module to export any DXF document as DXF version R12 without modifying the source +document. + +.. versionadded:: 1.1 + +To get the best result use the ODA File Converter add-on:: + + from ezdxf.addons import odafc + + odafc.convert("any.dxf", "r12.dxf", version="R12") + +""" + +from __future__ import annotations +from typing import TYPE_CHECKING, TextIO, Callable, Optional +import os +from io import StringIO +import logging + +import ezdxf +from ezdxf import const, proxygraphic, path +from ezdxf.document import Drawing +from ezdxf.entities import ( + BlockRecord, + DXFEntity, + DXFTagStorage, + Ellipse, + Hatch, + Insert, + LWPolyline, + MPolygon, + MText, + Mesh, + Polyface, + Polyline, + Spline, + Textstyle, +) +from ezdxf.entities.polygon import DXFPolygon +from ezdxf.addons import MTextExplode +from ezdxf.entitydb import EntitySpace +from ezdxf.layouts import BlockLayout, VirtualLayout +from ezdxf.lldxf.tagwriter import TagWriter, AbstractTagWriter +from ezdxf.lldxf.types import DXFTag, TAG_STRING_FORMAT +from ezdxf.math import Z_AXIS, Vec3, NULLVEC +from ezdxf.r12strict import R12NameTranslator +from ezdxf.render import MeshBuilder +from ezdxf.sections.table import TextstyleTable + +if TYPE_CHECKING: + from ezdxf.eztypes import GenericLayoutType + +__all__ = ["R12Exporter", "convert", "saveas", "write"] + +MAX_SAGITTA = 0.01 +logger = logging.getLogger("ezdxf") + + +def convert(doc: Drawing, *, max_sagitta: float = MAX_SAGITTA) -> Drawing: + """Export and reload DXF document as DXF version R12. + + Writes the DXF document into a temporary file at the file-system and reloads this + file by the :func:`ezdxf.readfile` function. + """ + stream = StringIO() + exporter = R12Exporter(doc, max_sagitta=max_sagitta) + exporter.write(stream) + stream.seek(0) + return ezdxf.read(stream) + + +def write(doc: Drawing, stream: TextIO, *, max_sagitta: float = MAX_SAGITTA) -> None: + """Write a DXF document as DXF version R12 to a text stream. The `max_sagitta` + argument determines the accuracy of the curve flatting for SPLINE and ELLIPSE + entities. + + Args: + doc: DXF document to export + stream: output stream, use :attr:`doc.encoding` as encoding + max_sagitta: maximum distance from the center of the curve to the + center of the line segment between two approximation points to + determine if a segment should be subdivided. + + """ + exporter = R12Exporter(doc, max_sagitta=max_sagitta) + exporter.write(stream) + + +def saveas( + doc: Drawing, filepath: str | os.PathLike, *, max_sagitta: float = MAX_SAGITTA +) -> None: + """Write a DXF document as DXF version R12 to a file. The `max_sagitta` + argument determines the accuracy of the curve flatting for SPLINE and ELLIPSE + entities. + + Args: + doc: DXF document to export + filepath: output filename + max_sagitta: maximum distance from the center of the curve to the + center of the line segment between two approximation points to + determine if a segment should be subdivided. + + """ + with open(filepath, "wt", encoding=doc.encoding, errors="dxfreplace") as stream: + write( + doc, + stream, + max_sagitta=max_sagitta, + ) + + +def spline_to_polyline( + spline: Spline, max_sagitta: float, min_segments: int +) -> Polyline: + polyline = Polyline.new( + dxfattribs={ + "layer": spline.dxf.layer, + "linetype": spline.dxf.linetype, + "color": spline.dxf.color, + "flags": const.POLYLINE_3D_POLYLINE, + } + ) + + polyline.append_vertices(points=spline.flattening(max_sagitta, min_segments)) + polyline.new_seqend() + return polyline + + +def ellipse_to_polyline( + ellipse: Ellipse, max_sagitta: float, min_segments: int +) -> Polyline: + polyline = Polyline.new( + dxfattribs={ + "layer": ellipse.dxf.layer, + "linetype": ellipse.dxf.linetype, + "color": ellipse.dxf.color, + "flags": const.POLYLINE_3D_POLYLINE, + } + ) + polyline.append_vertices(points=ellipse.flattening(max_sagitta, min_segments)) + polyline.new_seqend() + return polyline + + +def lwpolyline_to_polyline(lwpolyline: LWPolyline) -> Polyline: + polyline = Polyline.new( + dxfattribs={ + "layer": lwpolyline.dxf.layer, + "linetype": lwpolyline.dxf.linetype, + "color": lwpolyline.dxf.color, + } + ) + polyline.new_seqend() + polyline.append_formatted_vertices(lwpolyline.get_points(), format="xyseb") + if lwpolyline.is_closed: + polyline.close() + if lwpolyline.dxf.hasattr("const_width"): + width = lwpolyline.dxf.const_width + polyline.dxf.default_start_width = width + polyline.dxf.default_end_width = width + extrusion = Vec3(lwpolyline.dxf.extrusion) + if not extrusion.isclose(Z_AXIS): + polyline.dxf.extrusion = extrusion + elevation = lwpolyline.dxf.elevation + polyline.dxf.elevation = Vec3(0, 0, elevation) + # Set z-axis of VERTEX.location to elevation? + + return polyline + + +def mesh_to_polyface_mesh(mesh: Mesh) -> Polyface: + builder = MeshBuilder.from_mesh(mesh) + return builder.render_polyface( + VirtualLayout(), + dxfattribs={ + "layer": mesh.dxf.layer, + "linetype": mesh.dxf.linetype, + "color": mesh.dxf.color, + }, + ) + + +def get_xpl_block_name(entity: DXFEntity) -> str: + assert entity.dxf.handle is not None + return f"EZDXF_XPL_{entity.dxftype()}_{entity.dxf.handle}" + + +def export_lwpolyline(exporter: R12Exporter, entity: DXFEntity): + assert isinstance(entity, LWPolyline) + polyline = lwpolyline_to_polyline(entity) + if len(polyline.vertices): + polyline.export_dxf(exporter.tagwriter()) + + +def export_mesh(exporter: R12Exporter, entity: DXFEntity): + assert isinstance(entity, Mesh) + polyface_mesh = mesh_to_polyface_mesh(entity) + if len(polyface_mesh.vertices): + polyface_mesh.export_dxf(exporter.tagwriter()) + + +def export_spline(exporter: R12Exporter, entity: DXFEntity): + assert isinstance(entity, Spline) + polyline = spline_to_polyline( + entity, exporter.max_sagitta, exporter.min_spline_segments + ) + if len(polyline.vertices): + polyline.export_dxf(exporter.tagwriter()) + + +def export_ellipse(exporter: R12Exporter, entity: DXFEntity): + assert isinstance(entity, Ellipse) + polyline = ellipse_to_polyline( + entity, exporter.max_sagitta, exporter.min_ellipse_segments + ) + if len(polyline.vertices): + polyline.export_dxf(exporter.tagwriter()) + + +def make_insert(name: str, entity: DXFEntity, location=NULLVEC) -> Insert: + return Insert.new( + dxfattribs={ + "name": name, + "layer": entity.dxf.layer, + "linetype": entity.dxf.linetype, + "color": entity.dxf.color, + "insert": location, + } + ) + + +def export_proxy_graphic(exporter: R12Exporter, entity: DXFEntity): + assert isinstance(entity.proxy_graphic, bytes) + pg = proxygraphic.ProxyGraphic(entity.proxy_graphic) + try: + entities = EntitySpace(pg.virtual_entities()) + except proxygraphic.ProxyGraphicError: + return + exporter.export_entity_space(entities) + + +def export_mtext(exporter: R12Exporter, entity: DXFEntity): + assert isinstance(entity, MText) + layout = VirtualLayout() + exporter.explode_mtext(entity, layout) + exporter.export_entity_space(layout.entity_space) + + +def export_virtual_entities(exporter: R12Exporter, entity: DXFEntity): + layout = VirtualLayout() + try: + for e in entity.virtual_entities(): # type: ignore + layout.add_entity(e) + except Exception: + return + exporter.export_entity_space(layout.entity_space) + + +def export_pattern_fill(entity: DXFEntity, block: BlockLayout) -> None: + assert isinstance(entity, DXFPolygon) + dxfattribs = { + "layer": entity.dxf.layer, + "color": entity.dxf.color, + } + for start, end in entity.render_pattern_lines(): + block.add_line(start, end, dxfattribs=dxfattribs) + + +def export_solid_fill( + entity: DXFPolygon, + block: BlockLayout, + max_sagitta: float, + min_segments: int, +) -> None: + dxfattribs = { + "layer": entity.dxf.layer, + "color": entity.dxf.color, + } + + extrusion = Vec3(entity.dxf.extrusion) + if not extrusion.is_null and not extrusion.isclose(Z_AXIS): + dxfattribs["extrusion"] = extrusion + + # triangulation in OCS coordinates, including elevation and offset values: + for vertices in entity.triangulate(max_sagitta, min_segments): + block.add_solid(vertices, dxfattribs=dxfattribs) + + +def export_hatch(exporter: R12Exporter, entity: DXFEntity) -> None: + assert isinstance(entity, Hatch) + # export hatch into an anonymous block + block = exporter.new_block(entity) + insert = make_insert(block.name, entity) + insert.export_dxf(exporter.tagwriter()) + + if entity.has_pattern_fill: + export_pattern_fill(entity, block) + else: + export_solid_fill( + entity, block, exporter.max_sagitta, exporter.min_spline_segments + ) + + +def export_mpolygon(exporter: R12Exporter, entity: DXFEntity) -> None: + assert isinstance(entity, MPolygon) + # export mpolygon into an anonymous block + block = exporter.new_block(entity) + insert = make_insert(block.name, entity) + insert.export_dxf(exporter.tagwriter()) + + # elevation is the z-axis of the vertices + path.render_polylines2d( + block, + path.from_hatch_ocs(entity, offset=Vec3(entity.dxf.offset)), + distance=exporter.max_sagitta, + segments=exporter.min_spline_segments, + extrusion=Vec3(entity.dxf.extrusion), + dxfattribs={ + "layer": entity.dxf.layer, + "linetype": entity.dxf.linetype, + "color": entity.dxf.color, + }, + ) + if entity.has_pattern_fill: + export_pattern_fill(entity, block) + else: + export_solid_fill( + entity, block, exporter.max_sagitta, exporter.min_spline_segments + ) + + +def export_acad_table(exporter: R12Exporter, entity: DXFEntity) -> None: + from ezdxf.entities.acad_table import AcadTableBlockContent + + assert isinstance(entity, AcadTableBlockContent) + table: AcadTableBlockContent = entity + location = table.get_insert_location() + block_name = table.get_block_name() + if not block_name.startswith("*T"): + return + try: + acdb_entity = table.xtags.get_subclass("AcDbEntity") + except const.DXFIndexError: + return + layer = acdb_entity.get_first_value(8, "0") + insert = Insert.new( + dxfattribs={"name": block_name, "layer": layer, "insert": location} + ) + insert.export_dxf(exporter.tagwriter()) + + +# Planned features: explode complex newer entity types into DXF primitives. +# currently skipped entity types: +# - ACAD_TABLE: graphic as geometry block is available +# -------------------------------------------------------------------------------------- +# - all ACIS based entities: tessellated meshes could be exported, but very much work +# and beyond my current knowledge +# - IMAGE and UNDERLAY: no support possible +# - XRAY and XLINE: no support possible (infinite lines) + +# Possible name tags to translate: +# 1 The primary text value for an entity - never a name +# 2 A name: Attribute tag, Block name, and so on. Also used to identify a DXF section or +# table name +# 3 Other textual or name values - only in DIMENSION a name +# 4 Other textual values - never a name! +# 5 Entity handle expressed as a hexadecimal string (fixed) +# 6 Line type name (fixed) +# 7 Text style name (fixed) +# 8 Layer name (fixed) +# 1001: AppID +# 1003: layer name in XDATA (fixed) +NAME_TAG_CODES = {2, 3, 6, 7, 8, 1001, 1003} + + +class R12TagWriter(TagWriter): + def __init__(self, stream: TextIO): + super().__init__(stream, dxfversion=const.DXF12, write_handles=False) + self.skip_xdata = False + self.current_entity = "" + self.translator = R12NameTranslator() + + def set_stream(self, stream: TextIO) -> None: + self._stream = stream + + def write_tag(self, tag: DXFTag) -> None: + code, value = tag + if code == 0: + self.current_entity = str(value) + if code > 999 and self.skip_xdata: + return + if code in NAME_TAG_CODES: + self._stream.write( + TAG_STRING_FORMAT % (code, self.sanitize_name(code, value)) + ) + else: + self._stream.write(tag.dxfstr()) + + def write_tag2(self, code: int, value) -> None: + if code > 999 and self.skip_xdata: + return + if code == 0: + self.current_entity = str(value) + if code in NAME_TAG_CODES: + value = self.sanitize_name(code, value) + self._stream.write(TAG_STRING_FORMAT % (code, value)) + + def sanitize_name(self, code: int, name: str) -> str: + # sanitize group code 3 + 4 + # LTYPE - has group code - not a table name + # STYLE - has group code (3) - not a table name + # STYLE - has group code (4) - not a table name + # DIMSTYLE - has group code e.g. "<> mm" (3) - not a table name + # DIMSTYLE - has group code (4) - not a table name + # ATTDEF - has group code (3) - not a table name + # DIMENSION - has group code (3) - is a table name! + if code == 3 and self.current_entity != "DIMENSION": + return name + return self.translator.translate(name) + + +class SpecialStyleTable: + def __init__(self, styles: TextstyleTable, extra_styles: TextstyleTable): + self.styles = styles + self.extra_styles = extra_styles + + def get_text_styles(self) -> list[Textstyle]: + entries = list(self.styles.entries.values()) + for name, extra_style in self.extra_styles.entries.items(): + if not self.styles.has_entry(name): + entries.append(extra_style) + return entries + + def export_dxf(self, tagwriter: AbstractTagWriter) -> None: + text_styles = self.get_text_styles() + tagwriter.write_tag2(0, "TABLE") + tagwriter.write_tag2(2, "STYLE") + tagwriter.write_tag2(70, len(text_styles)) + for style in text_styles: + style.export_dxf(tagwriter) + tagwriter.write_tag2(0, "ENDTAB") + + +EOF_STR = "0\nEOF\n" + + +def detect_max_block_number(names: list[str]) -> int: + max_number = 0 + for name in names: + name = name.upper() + if not name.startswith("*"): + continue + try: # *U10 + number = int(name[2:]) + except ValueError: + continue + max_number = max(max_number, number) + return max_number + 1 + + +class R12Exporter: + def __init__(self, doc: Drawing, max_sagitta: float = 0.01): + assert isinstance(doc, Drawing) + self._doc = doc + self._tagwriter = R12TagWriter(StringIO()) + self.max_sagitta = float(max_sagitta) # flattening SPLINE, ELLIPSE + self.min_spline_segments: int = 4 # flattening SPLINE + self.min_ellipse_segments: int = 8 # flattening ELLIPSE + self._extra_doc = ezdxf.new("R12") + self._next_block_number = detect_max_block_number( + [br.dxf.name for br in doc.block_records] + ) + # Exporters are required to convert newer entity types into DXF R12 types. + # All newer entity types without an exporter will be ignored. + self.exporters: dict[str, Callable[[R12Exporter, DXFEntity], None]] = { + "LWPOLYLINE": export_lwpolyline, + "MESH": export_mesh, + "SPLINE": export_spline, + "ELLIPSE": export_ellipse, + "MTEXT": export_mtext, + "LEADER": export_virtual_entities, + "MLEADER": export_virtual_entities, + "MULTILEADER": export_virtual_entities, + "MLINE": export_virtual_entities, + "HATCH": export_hatch, + "MPOLYGON": export_mpolygon, + "ACAD_TABLE": export_acad_table, + } + + def disable_exporter(self, entity_type: str): + del self.exporters[entity_type] + + @property + def doc(self) -> Drawing: + return self._doc + + def tagwriter(self, stream: Optional[TextIO] = None) -> R12TagWriter: + if stream is not None: + self._tagwriter.set_stream(stream) + return self._tagwriter + + def write(self, stream: TextIO) -> None: + """Write DXF document to text stream.""" + stream.write(self.to_string()) + + def to_string(self) -> str: + """Export DXF document as string.""" + # export layouts before blocks: may create new anonymous blocks + entities = self.export_layouts_to_string() + # export blocks before HEADER and TABLES sections: may create new text styles + blocks = self.export_blocks_to_string() + + return "".join( + ( + self.export_header_to_string(), + self.export_tables_to_string(), + blocks, + entities, + EOF_STR, + ) + ) + + def next_block_name(self, char: str) -> str: + name = f"*{char}{self._next_block_number}" + self._next_block_number += 1 + return name + + def new_block(self, entity: DXFEntity) -> BlockLayout: + name = self.next_block_name("U") + return self._extra_doc.blocks.new( + name, + dxfattribs={ + "layer": entity.dxf.get("layer", "0"), + "flags": const.BLK_ANONYMOUS, + }, + ) + + def export_header_to_string(self) -> str: + in_memory_stream = StringIO() + self.doc.header.export_dxf(self.tagwriter(in_memory_stream)) + return in_memory_stream.getvalue() + + def export_tables_to_string(self) -> str: + # DXF R12 does not support XDATA in tables according Autodesk DWG TrueView + in_memory_stream = StringIO() + tables = self.doc.tables + preserve_table = tables.styles + tables.styles = SpecialStyleTable(self.doc.styles, self._extra_doc.styles) # type: ignore + + tagwriter = self.tagwriter(in_memory_stream) + tagwriter.skip_xdata = True + tables.export_dxf(tagwriter) + tables.styles = preserve_table + tagwriter.skip_xdata = False + return in_memory_stream.getvalue() + + def export_blocks_to_string(self) -> str: + in_memory_stream = StringIO() + self._tagwriter.set_stream(in_memory_stream) + + self._write_section_header("BLOCKS") + for block_record in self.doc.block_records: + if block_record.is_any_paperspace and not block_record.is_active_paperspace: + continue + name = block_record.dxf.name.lower() + if name in ("$model_space", "$paper_space"): + # These block names collide with the translated names of the *Model_Space + # and the *Paper_Space blocks. + continue + self._export_block_record(block_record) + + extra_blocks = self.get_extra_blocks() + while len(extra_blocks): + for block_record in extra_blocks: + self._export_block_record(block_record) + self.discard_extra_block(block_record.dxf.name) + # block record export can create further blocks + extra_blocks = self.get_extra_blocks() + + self._write_endsec() + return in_memory_stream.getvalue() + + def discard_extra_block(self, name: str) -> None: + self._extra_doc.block_records.discard(name) + + def get_extra_blocks(self) -> list[BlockRecord]: + return [ + br for br in self._extra_doc.block_records if br.dxf.name.startswith("*U") + ] + + def explode_mtext(self, mtext: MText, layout: GenericLayoutType): + with MTextExplode(layout, self._extra_doc) as xpl: + xpl.explode(mtext, destroy=False) + + def export_layouts_to_string(self) -> str: + in_memory_stream = StringIO() + self._tagwriter.set_stream(in_memory_stream) + + self._write_section_header("ENTITIES") + self.export_entity_space(self.doc.modelspace().entity_space) + self.export_entity_space(self.doc.paperspace().entity_space) + self._write_endsec() + return in_memory_stream.getvalue() + + def _export_block_record(self, block_record: BlockRecord): + tagwriter = self._tagwriter + assert block_record.block is not None + block_record.block.export_dxf(tagwriter) + if not block_record.is_any_layout: + self.export_entity_space(block_record.entity_space) + assert block_record.endblk is not None + block_record.endblk.export_dxf(tagwriter) + + def export_entity_space(self, space: EntitySpace): + tagwriter = self._tagwriter + for entity in space: + if entity.MIN_DXF_VERSION_FOR_EXPORT > const.DXF12 or isinstance( + entity, DXFTagStorage + ): + exporter = self.exporters.get(entity.dxftype()) + if exporter: + exporter(self, entity) + continue + if entity.proxy_graphic: + export_proxy_graphic(self, entity) + else: + entity.export_dxf(tagwriter) + + def _write_section_header(self, name: str) -> None: + self._tagwriter.write_str(f" 0\nSECTION\n 2\n{name}\n") + + def _write_endsec(self) -> None: + self._tagwriter.write_tag2(0, "ENDSEC") diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/addons/r12writer.py b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/addons/r12writer.py new file mode 100644 index 0000000000000000000000000000000000000000..dc06df00904e2cc8ef6b21d8b2fcfd1b6f91f68d --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/addons/r12writer.py @@ -0,0 +1,1233 @@ +# Copyright (c) 2016-2022, Manfred Moitzi +# License: MIT License +# Purpose: fast & simple but restricted DXF R12 writer, with no in-memory +# drawing, and without dependencies to other ezdxf modules. +# The created DXF file contains no HEADER, TABLES or BLOCKS section only the +# ENTITIES section is present. +from __future__ import annotations +from typing import ( + TextIO, + BinaryIO, + Union, + Sequence, + Iterable, + cast, + Iterator, + Optional, +) +from contextlib import contextmanager +from functools import partial +from io import StringIO +from pathlib import Path +from ezdxf.lldxf.tagwriter import BinaryTagWriter + +Vertex = Sequence[float] +rnd = partial(round, ndigits=6) + +TEXT_ALIGN_FLAGS = { + "LEFT": (0, 0), + "CENTER": (1, 0), + "RIGHT": (2, 0), + "BOTTOM_LEFT": (0, 1), + "BOTTOM_CENTER": (1, 1), + "BOTTOM_RIGHT": (2, 1), + "MIDDLE_LEFT": (0, 2), + "MIDDLE_CENTER": (1, 2), + "MIDDLE_RIGHT": (2, 2), + "TOP_LEFT": (0, 3), + "TOP_CENTER": (1, 3), + "TOP_RIGHT": (2, 3), +} + +VERTEX_GROUP_CODES = {"x": 10, "y": 20, "s": 40, "e": 41, "b": 42} + + +class BinaryDXFWriter: + def __init__(self, stream: BinaryIO): + self._stream = stream + self._tagwriter = BinaryTagWriter( + self._stream, + dxfversion="AC1009", + write_handles=False, + encoding="cp1252", + ) + self._tagwriter.write_signature() + + def write(self, s: str) -> None: + self._tagwriter.write_str(s) + + +@contextmanager +def r12writer( + stream: Union[TextIO, BinaryIO, str, Path], + fixed_tables: bool = False, + fmt: str = "asc", +) -> Iterator[R12FastStreamWriter]: + """Context manager for writing DXF entities to a stream/file. `stream` can + be any file like object with a :func:`write` method or just a string for + writing DXF entities to the file system. If `fixed_tables` is ``True``, a + standard TABLES section is written in front of the ENTITIES + section and some predefined text styles and line types can be used. + + Set argument `fmt` to "asc" to write ASCII DXF file (default) or "bin" to + write Binary DXF files. ASCII DXF require a :class:`TextIO` stream and + Binary DXF require a :class:`BinaryIO` stream. + + """ + _stream: Union[TextIO, BinaryIO, None] = None + + if fmt.startswith("asc"): + if isinstance(stream, (str, Path)): + _stream = open(stream, "wt", encoding="cp1252") + stream = _stream + elif fmt.startswith("bin"): + if isinstance(stream, (str, Path)): + _stream = open(stream, "wb") + stream = cast(TextIO, BinaryDXFWriter(_stream)) + else: + stream = cast(TextIO, BinaryDXFWriter(cast(BinaryIO, stream))) + + else: + raise ValueError(f"Unknown format '{fmt}'.") + writer = R12FastStreamWriter(cast(TextIO, stream), fixed_tables) + try: + yield writer + finally: + writer.close() + if _stream: + _stream.close() + + +class R12FastStreamWriter: + """Fast stream writer to create simple DXF R12 drawings. + + Args: + stream: a file like object with a :func:`write` method. + fixed_tables: if `fixed_tables` is ``True``, a standard TABLES section + is written in front of the ENTITIES section and some predefined text + styles and line types can be used. + + """ + + def __init__(self, stream: TextIO, fixed_tables=False): + self.stream = stream + if fixed_tables: + stream.write(PREFACE) + stream.write("0\nSECTION\n2\nENTITIES\n") # write header + + def close(self) -> None: + """Writes the DXF tail. Call is not necessary when using the context + manager :func:`r12writer`. + """ + self.stream.write("0\nENDSEC\n0\nEOF\n") # write tail + + def add_line( + self, + start: Vertex, + end: Vertex, + layer: str = "0", + color: Optional[int] = None, + linetype: Optional[str] = None, + ) -> None: + """Add a LINE entity from `start` to `end`. + + Args: + start: start vertex as ``(x, y[, z])`` tuple + end: end vertex as as ``(x, y[, z])`` tuple + layer: layer name as string, without a layer definition the assigned + color = ``7`` (black/white) and line type is ``'Continuous'``. + color: color as :ref:`ACI` in the range from ``0`` to ``256``, + ``0`` is `ByBlock` and ``256`` is `ByLayer`, default is `ByLayer` + which is always color = ``7`` (black/white) without a layer + definition. + linetype: line type as string, if FIXED-TABLES are written some + predefined line types are available, else line type is always + `ByLayer`, which is always ``'Continuous'`` without a LAYERS + table. + + """ + dxf = ["0\nLINE\n"] + dxf.append(dxf_attribs(layer, color, linetype)) + dxf.append(dxf_vertex(start, code=10)) + dxf.append(dxf_vertex(end, code=11)) + self.stream.write("".join(dxf)) + + def add_circle( + self, + center: Vertex, + radius: float, + layer: str = "0", + color: Optional[int] = None, + linetype: Optional[str] = None, + ) -> None: + """Add a CIRCLE entity. + + Args: + center: circle center point as ``(x, y)`` tuple + radius: circle radius as float + layer: layer name as string see :meth:`add_line` + color: color as :ref:`ACI` see :meth:`add_line` + linetype: line type as string see :meth:`add_line` + + """ + dxf = ["0\nCIRCLE\n"] + dxf.append(dxf_attribs(layer, color, linetype)) + dxf.append(dxf_vertex(center)) + dxf.append(dxf_tag(40, str(rnd(radius)))) + self.stream.write("".join(dxf)) + + def add_arc( + self, + center: Vertex, + radius: float, + start: float = 0, + end: float = 360, + layer: str = "0", + color: Optional[int] = None, + linetype: Optional[str] = None, + ) -> None: + """Add an ARC entity. The arc goes counter-clockwise from `start` angle + to `end` angle. + + Args: + center: arc center point as ``(x, y)`` tuple + radius: arc radius as float + start: arc start angle in degrees as float + end: arc end angle in degrees as float + layer: layer name as string see :meth:`add_line` + color: color as :ref:`ACI` see :meth:`add_line` + linetype: line type as string see :meth:`add_line` + + """ + dxf = ["0\nARC\n"] + dxf.append(dxf_attribs(layer, color, linetype)) + dxf.append(dxf_vertex(center)) + dxf.append(dxf_tag(40, str(rnd(radius)))) + dxf.append(dxf_tag(50, str(rnd(start)))) + dxf.append(dxf_tag(51, str(rnd(end)))) + self.stream.write("".join(dxf)) + + def add_point( + self, + location: Vertex, + layer: str = "0", + color: Optional[int] = None, + linetype: Optional[str] = None, + ) -> None: + """ + Add a POINT entity. + + Args: + location: point location as ``(x, y [,z])`` tuple + layer: layer name as string see :meth:`add_line` + color: color as :ref:`ACI` see :meth:`add_line` + linetype: line type as string see :meth:`add_line` + + """ + dxf = ["0\nPOINT\n"] + dxf.append(dxf_attribs(layer, color, linetype)) + dxf.append(dxf_vertex(location)) + self.stream.write("".join(dxf)) + + def add_3dface( + self, + vertices: Iterable[Vertex], + invisible: int = 0, + layer: str = "0", + color: Optional[int] = None, + linetype: Optional[str] = None, + ) -> None: + """Add a 3DFACE entity. 3DFACE is a spatial area with 3 or 4 vertices, + all vertices have to be in the same plane. + + Args: + vertices: iterable of 3 or 4 ``(x, y, z)`` vertices. + invisible: bit coded flag to define the invisible edges, + + 1. edge = 1 + 2. edge = 2 + 3. edge = 4 + 4. edge = 8 + + Add edge values to set multiple edges invisible, + 1. edge + 3. edge = 1 + 4 = 5, all edges = 15 + + layer: layer name as string see :meth:`add_line` + color: color as :ref:`ACI` see :meth:`add_line` + linetype: line type as string see :meth:`add_line` + + """ + self._add_quadrilateral( + "3DFACE", vertices, invisible, layer, color, linetype + ) + + def add_solid( + self, + vertices: Iterable[Vertex], + layer: str = "0", + color: Optional[int] = None, + linetype: Optional[str] = None, + ) -> None: + """Add a SOLID entity. SOLID is a solid filled area with 3 or 4 edges + and SOLID is a 2D entity. + + Args: + vertices: iterable of 3 or 4 ``(x, y[, z])`` tuples, z-axis will be + ignored. + layer: layer name as string see :meth:`add_line` + color: color as :ref:`ACI` see :meth:`add_line` + linetype: line type as string see :meth:`add_line` + + """ + self._add_quadrilateral("SOLID", vertices, 0, layer, color, linetype) + + def _add_quadrilateral( + self, + dxftype: str, + vertices: Iterable[Vertex], + flags: int, + layer: str, + color: Optional[int], + linetype: Optional[str], + ) -> None: + dxf = ["0\n%s\n" % dxftype] + dxf.append(dxf_attribs(layer, color, linetype)) + vertices = list(vertices) + if len(vertices) < 3: + raise ValueError("%s needs 3 or 4 vertices." % dxftype) + elif len(vertices) == 3: + vertices.append(vertices[-1]) # double last vertex + dxf.extend( + dxf_vertex(vertex, code) + for code, vertex in enumerate(vertices, start=10) + ) + if flags: + dxf.append(dxf_tag(70, str(flags))) + self.stream.write("".join(dxf)) + + def add_polyline( + self, + vertices: Iterable[Vertex], + closed: bool = False, + layer: str = "0", + color: Optional[int] = None, + linetype: Optional[str] = None, + ) -> None: + """Add a 3D POLYLINE entity. + + Args: + vertices: iterable of ``(x, y[, z])`` tuples, z-axis is ``0`` by + default + closed: ``True`` creates a closed polyline + layer: layer name as string see :meth:`add_line` + color: color as :ref:`ACI` see :meth:`add_line` + linetype: line type as string see :meth:`add_line` + + """ + dxf = ["0\nPOLYLINE\n"] + dxf.append(dxf_attribs(layer, color, linetype)) + dxf.append(dxf_tag(66, 1)) # entities follow + dxf.append(dxf_tag(70, 8 + int(closed))) # bit 1 is the closed state + self.stream.write("".join(dxf)) + + vertex_template = "0\nVERTEX\n" + dxf_attribs(layer) + dxf_tag(70, 32) + for vertex in vertices: + self.stream.write(vertex_template) + vertex = tuple(vertex) + len_vertex = len(vertex) + if len_vertex < 2: + raise ValueError("Vertices require at least a x- and a y-axis.") + elif len_vertex == 2: + vertex = (vertex[0], vertex[1], 0) + self.stream.write(dxf_vertex(vertex[:3])) + self.stream.write("0\nSEQEND\n") + + def add_polyline_2d( + self, + points: Iterable[Sequence], + format: str = "xy", + closed: bool = False, + start_width: float = 0, + end_width: float = 0, + layer: str = "0", + color: Optional[int] = None, + linetype: Optional[str] = None, + ) -> None: + """Add a 2D POLYLINE entity with start width, end width and bulge value + support. + + Format codes: + + === ================================= + x x-coordinate + y y-coordinate + s start width + e end width + b bulge value + v (x, y) tuple (z-axis is ignored) + === ================================= + + Args: + points: iterable of (x, y, [start_width, [end_width, [bulge]]]) + tuple, value order according to the `format` string, unset + values default to ``0`` + format: format: format string, default is ``'xy'`` + closed: ``True`` creates a closed polyline + start_width: default start width, default is ``0`` + end_width: default end width, default is ``0`` + layer: layer name as string see :meth:`add_line` + color: color as :ref:`ACI` see :meth:`add_line` + linetype: line type as string see :meth:`add_line` + + """ + + def vertex_attribs(data: Sequence) -> dict: + attribs = dict() + for code, value in zip(format, data): + if code == "v": + location = tuple(value) + attribs["x"] = location[0] + attribs["y"] = location[1] + else: + attribs[code] = value + return attribs + + dxf = ["0\nPOLYLINE\n"] + dxf.append(dxf_attribs(layer, color, linetype)) + dxf.append(dxf_tag(66, 1)) # entities follow + dxf.append(dxf_tag(70, int(closed))) # bit 1 is the closed state + if start_width: # default start width + dxf.append(dxf_tag(40, start_width)) + if end_width: # default end width + dxf.append(dxf_tag(41, end_width)) + self.stream.write("".join(dxf)) + + vertex_template = "0\nVERTEX\n" + dxf_attribs(layer) + dxf_tag(70, 0) + for point in points: + self.stream.write(vertex_template) + attribs = vertex_attribs(point) + for format_code in format: + value = attribs.get(format_code, 0) + if value == 0 and format_code in "seb": + continue # do not write default values + self.stream.write( + dxf_tag(VERTEX_GROUP_CODES[format_code], value) + ) + self.stream.write("0\nSEQEND\n") + + def add_polyface( + self, + vertices: Iterable[Vertex], + faces: Iterable[Sequence[int]], + layer: str = "0", + color: Optional[int] = None, + linetype: Optional[str] = None, + ) -> None: + """Add a POLYFACE entity. The POLYFACE entity supports only faces of + maximum 4 vertices, more indices will be ignored. A simple square would + be:: + + v0 = (0, 0, 0) + v1 = (1, 0, 0) + v2 = (1, 1, 0) + v3 = (0, 1, 0) + dxf.add_polyface(vertices=[v0, v1, v2, v3], faces=[(0, 1, 2, 3)]) + + All 3D form functions of the :mod:`ezdxf.render.forms` module return + :class:`~ezdxf.render.MeshBuilder` objects, which provide the required + vertex and face lists. + + See sphere example: https://github.com/mozman/ezdxf/blob/master/examples/r12writer.py + + Args: + vertices: iterable of ``(x, y, z)`` tuples + faces: iterable of 3 or 4 vertex indices, indices have to be 0-based + layer: layer name as string see :meth:`add_line` + color: color as :ref:`ACI` see :meth:`add_line` + linetype: line type as string see :meth:`add_line` + + """ + + def write_polyline(flags: int = 64) -> None: + dxf = ["0\nPOLYLINE\n"] + dxf.append(dxf_attribs(layer, color, linetype)) + dxf.append(dxf_tag(66, 1)) # entities follow + dxf.append(dxf_tag(70, flags)) + dxf.append(dxf_tag(71, vertex_count)) + dxf.append(dxf_tag(72, face_count)) + self.stream.write("".join(dxf)) + + def write_vertices(flags: int = 64 + 128): + buf = StringIO() + count = 0 + s = "0\nVERTEX\n" + dxf_attribs(layer) + dxf_tag(70, flags) + for vertex in vertices: + count += 1 + buf.write(s) + buf.write(dxf_vertex(vertex)) + s = buf.getvalue() + buf.close() + return count, s + + def write_faces(flags: int = 128): + buf = StringIO() + count = 0 + s = ( + "0\nVERTEX\n" + + dxf_attribs(layer, color) + + dxf_tag(70, flags) + + dxf_vertex((0, 0, 0)) + ) + for face in faces: + count += 1 + buf.write(s) + for code, index in zip((71, 72, 73, 74), face): + buf.write(dxf_tag(code, index + 1)) + s = buf.getvalue() + buf.close() + return count, s + + vertex_count, vertex_str = write_vertices() + face_count, face_str = write_faces() + write_polyline() + self.stream.write(vertex_str) + self.stream.write(face_str) + self.stream.write("0\nSEQEND\n") + + def add_polymesh( + self, + vertices: Iterable[Vertex], + size: tuple[int, int], + closed=(False, False), + layer: str = "0", + color: Optional[int] = None, + linetype: Optional[str] = None, + ) -> None: + """Add a POLYMESH entity. A POLYMESH is a mesh of m rows and n columns, + each mesh vertex has its own x-, y- and z coordinates. The mesh can be + closed in m- and/or n-direction. The vertices have to be in column + order: (m0, n0), (m0, n1), (m0, n2), (m1, n0), (m1, n1), (m1, n2), ... + + See example: https://github.com/mozman/ezdxf/blob/master/examples/r12writer.py + + Args: + vertices: iterable of ``(x, y, z)`` tuples, in column order + size: mesh dimension as (m, n)-tuple, requirement: + ``len(vertices) == m*n`` + closed: (m_closed, n_closed) tuple, for closed mesh in m and/or n + direction + layer: layer name as string see :meth:`add_line` + color: color as :ref:`ACI` see :meth:`add_line` + linetype: line type as string see :meth:`add_line` + + """ + m, n = size + m_closed, n_closed = closed + + def write_polyline(flags: int = 16) -> None: + if m_closed: + flags += 1 + if n_closed: + flags += 32 + + dxf = ["0\nPOLYLINE\n"] + dxf.append(dxf_attribs(layer, color, linetype)) + dxf.append(dxf_tag(66, 1)) # entities follow + dxf.append(dxf_tag(70, flags)) + dxf.append(dxf_tag(71, m)) + dxf.append(dxf_tag(72, n)) + self.stream.write("".join(dxf)) + + def write_vertices(flags: int = 64) -> int: + count = 0 + s = "0\nVERTEX\n" + dxf_attribs(layer) + dxf_tag(70, flags) + for vertex in vertices: + count += 1 + self.stream.write(s) + self.stream.write(dxf_vertex(vertex)) + return count + + write_polyline() + count = write_vertices() + if m * n != count: + raise ValueError("Invalid mesh dimensions.") + + self.stream.write("0\nSEQEND\n") + + def add_text( + self, + text: str, + insert: Vertex = (0, 0), + height: float = 1.0, + width: float = 1.0, + align: str = "LEFT", + rotation: float = 0.0, + oblique: float = 0.0, + style: str = "STANDARD", + layer: str = "0", + color: Optional[int] = None, + ) -> None: + """Add a one line TEXT entity. + + Args: + text: the text as string + insert: insert location as ``(x, y)`` tuple + height: text height in drawing units + width: text width as factor + align: text alignment, see table below + rotation: text rotation in degrees as float + oblique: oblique in degrees as float, vertical = ``0`` (default) + style: text style name as string, if FIXED-TABLES are written some + predefined text styles are available, else text style is + always ``'STANDARD'``. + layer: layer name as string see :meth:`add_line` + color: color as :ref:`ACI` see :meth:`add_line` + + ============ =============== ================= ===== + Vert/Horiz Left Center Right + ============ =============== ================= ===== + Top ``TOP_LEFT`` ``TOP_CENTER`` ``TOP_RIGHT`` + Middle ``MIDDLE_LEFT`` ``MIDDLE_CENTER`` ``MIDDLE_RIGHT`` + Bottom ``BOTTOM_LEFT`` ``BOTTOM_CENTER`` ``BOTTOM_RIGHT`` + Baseline ``LEFT`` ``CENTER`` ``RIGHT`` + ============ =============== ================= ===== + + The special alignments ``ALIGNED`` and ``FIT`` are not available. + + """ + # text style is always STANDARD without a TABLES section + dxf = ["0\nTEXT\n"] + dxf.append(dxf_attribs(layer, color)) + dxf.append(dxf_vertex(insert, code=10)) + dxf.append(dxf_tag(1, str(text))) + dxf.append(dxf_tag(40, str(rnd(height)))) + if width != 1.0: + dxf.append(dxf_tag(41, str(rnd(width)))) + if rotation != 0.0: + dxf.append(dxf_tag(50, str(rnd(rotation)))) + if oblique != 0.0: + dxf.append(dxf_tag(51, str(rnd(oblique)))) + if style != "STANDARD": + dxf.append(dxf_tag(7, str(style))) + halign, valign = TEXT_ALIGN_FLAGS[align.upper()] + dxf.append(dxf_tag(72, str(halign))) + dxf.append(dxf_tag(73, str(valign))) + dxf.append(dxf_vertex(insert, code=11)) # align point + self.stream.write("".join(dxf)) + + +def dxf_attribs( + layer: str, color: Optional[int] = None, linetype: Optional[str] = None +) -> str: + dxf = ["8\n%s\n" % layer] # layer is required + if linetype is not None: + dxf.append("6\n%s\n" % linetype) + if color is not None: + if 0 <= int(color) < 257: + dxf.append("62\n%d\n" % color) + else: + raise ValueError( + "color has to be an integer in the range from 0 to 256." + ) + return "".join(dxf) + + +def dxf_vertex(vertex: Vertex, code=10) -> str: + dxf = [] + for c in vertex: + dxf.append("%d\n%s\n" % (code, str(rnd(c)))) + code += 10 + return "".join(dxf) + + +def dxf_tag(code: int, value) -> str: + return "%d\n%s\n" % (code, value) + + +FORMAT_CODES = frozenset("xysebv") + +PREFACE = """ 0 +SECTION + 2 +HEADER + 9 +$ACADVER + 1 +AC1009 + 9 +$DWGCODEPAGE + 3 +ANSI_1252 + 0 +ENDSEC + 0 +SECTION + 2 +TABLES + 0 +TABLE + 2 +LTYPE + 5 +431 + 70 +20 + 0 +LTYPE + 5 +40F + 2 +CONTINUOUS + 70 +0 + 3 +Solid line + 72 +65 + 73 +0 + 40 +0.0 + 0 +LTYPE + 5 +410 + 2 +CENTER + 70 +0 + 3 +Center ____ _ ____ _ ____ _ ____ _ ____ _ ____ + 72 +65 + 73 +4 + 40 +2.0 + 49 +1.25 + 49 +-0.25 + 49 +0.25 + 49 +-0.25 + 0 +LTYPE + 5 +411 + 2 +DASHED + 70 +0 + 3 +Dashed __ __ __ __ __ __ __ __ __ __ __ __ __ _ + 72 +65 + 73 +2 + 40 +0.75 + 49 +0.5 + 49 +-0.25 + 0 +LTYPE + 5 +412 + 2 +PHANTOM + 70 +0 + 3 +Phantom ______ __ __ ______ __ __ ______ + 72 +65 + 73 +6 + 40 +2.5 + 49 +1.25 + 49 +-0.25 + 49 +0.25 + 49 +-0.25 + 49 +0.25 + 49 +-0.25 + 0 +LTYPE + 5 +413 + 2 +HIDDEN + 70 +0 + 3 +Hidden __ __ __ __ __ __ __ __ __ __ __ __ __ __ + 72 +65 + 73 +2 + 40 +9.525 + 49 +6.345 + 49 +-3.175 + 0 +LTYPE + 5 +43B + 2 +CENTERX2 + 70 +0 + 3 +Center (2x) ________ __ ________ __ ________ + 72 +65 + 73 +4 + 40 +3.5 + 49 +2.5 + 49 +-0.25 + 49 +0.5 + 49 +-0.25 + 0 +LTYPE + 5 +43C + 2 +CENTER2 + 70 +0 + 3 +Center (.5x) ____ _ ____ _ ____ _ ____ _ ____ + 72 +65 + 73 +4 + 40 +1.0 + 49 +0.625 + 49 +-0.125 + 49 +0.125 + 49 +-0.125 + 0 +LTYPE + 5 +43D + 2 +DASHEDX2 + 70 +0 + 3 +Dashed (2x) ____ ____ ____ ____ ____ ____ + 72 +65 + 73 +2 + 40 +1.2 + 49 +1.0 + 49 +-0.2 + 0 +LTYPE + 5 +43E + 2 +DASHED2 + 70 +0 + 3 +Dashed (.5x) _ _ _ _ _ _ _ _ _ _ _ _ _ _ + 72 +65 + 73 +2 + 40 +0.3 + 49 +0.25 + 49 +-0.05 + 0 +LTYPE + 5 +43F + 2 +PHANTOMX2 + 70 +0 + 3 +Phantom (2x)____________ ____ ____ ____________ + 72 +65 + 73 +6 + 40 +4.25 + 49 +2.5 + 49 +-0.25 + 49 +0.5 + 49 +-0.25 + 49 +0.5 + 49 +-0.25 + 0 +LTYPE + 5 +440 + 2 +PHANTOM2 + 70 +0 + 3 +Phantom (.5x) ___ _ _ ___ _ _ ___ _ _ ___ _ _ ___ + 72 +65 + 73 +6 + 40 +1.25 + 49 +0.625 + 49 +-0.125 + 49 +0.125 + 49 +-0.125 + 49 +0.125 + 49 +-0.125 + 0 +LTYPE + 5 +441 + 2 +DASHDOT + 70 +0 + 3 +Dash dot __ . __ . __ . __ . __ . __ . __ . __ + 72 +65 + 73 +4 + 40 +1.4 + 49 +1.0 + 49 +-0.2 + 49 +0.0 + 49 +-0.2 + 0 +LTYPE + 5 +442 + 2 +DASHDOTX2 + 70 +0 + 3 +Dash dot (2x) ____ . ____ . ____ . ____ + 72 +65 + 73 +4 + 40 +2.4 + 49 +2.0 + 49 +-0.2 + 49 +0.0 + 49 +-0.2 + 0 +LTYPE + 5 +443 + 2 +DASHDOT2 + 70 +0 + 3 +Dash dot (.5x) _ . _ . _ . _ . _ . _ . _ . _ + 72 +65 + 73 +4 + 40 +0.7 + 49 +0.5 + 49 +-0.1 + 49 +0.0 + 49 +-0.1 + 0 +LTYPE + 5 +444 + 2 +DOT + 70 +0 + 3 +Dot . . . . . . . . . . . . . . . . + 72 +65 + 73 +2 + 40 +0.2 + 49 +0.0 + 49 +-0.2 + 0 +LTYPE + 5 +445 + 2 +DOTX2 + 70 +0 + 3 +Dot (2x) . . . . . . . . + 72 +65 + 73 +2 + 40 +0.4 + 49 +0.0 + 49 +-0.4 + 0 +LTYPE + 5 +446 + 2 +DOT2 + 70 +0 + 3 +Dot (.5) . . . . . . . . . . . . . . . . . . . + 72 +65 + 73 +2 + 40 +0.1 + 49 +0.0 + 49 +-0.1 + 0 +LTYPE + 5 +447 + 2 +DIVIDE + 70 +0 + 3 +Divide __ . . __ . . __ . . __ . . __ . . __ + 72 +65 + 73 +6 + 40 +1.6 + 49 +1.0 + 49 +-0.2 + 49 +0.0 + 49 +-0.2 + 49 +0.0 + 49 +-0.2 + 0 +LTYPE + 5 +448 + 2 +DIVIDEX2 + 70 +0 + 3 +Divide (2x) ____ . . ____ . . ____ . . ____ + 72 +65 + 73 +6 + 40 +2.6 + 49 +2.0 + 49 +-0.2 + 49 +0.0 + 49 +-0.2 + 49 +0.0 + 49 +-0.2 + 0 +LTYPE + 5 +449 + 2 +DIVIDE2 + 70 +0 + 3 +Divide(.5x) _ . _ . _ . _ . _ . _ . _ . _ + 72 +65 + 73 +6 + 40 +0.8 + 49 +0.5 + 49 +-0.1 + 49 +0.0 + 49 +-0.1 + 49 +0.0 + 49 +-0.1 + 0 +ENDTAB + 0 +TABLE + 2 +STYLE + 5 +433 + 70 +18 + 0 +STYLE + 5 +417 + 2 +STANDARD + 70 +0 + 40 +0.0 + 41 +1.0 + 50 +0.0 + 71 +0 + 42 +0.2 + 3 +txt + 4 + + 0 +STYLE + 5 +44A + 2 +OpenSans + 70 +0 + 40 +0.0 + 41 +1.0 + 50 +0.0 + 71 +0 + 42 +1.0 + 3 +OpenSans-Regular.ttf + 4 + + 0 +STYLE + 5 +44F + 2 +OpenSansCondensed-Light + 70 +0 + 40 +0.0 + 41 +1.0 + 50 +0.0 + 71 +0 + 42 +1.0 + 3 +OpenSansCondensed-Light.ttf + 4 + + 0 +ENDTAB + 0 +TABLE + 2 +VIEW + 5 +434 + 70 +0 + 0 +ENDTAB + 0 +ENDSEC +""" diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/addons/sierpinski_pyramid.py b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/addons/sierpinski_pyramid.py new file mode 100644 index 0000000000000000000000000000000000000000..f39147b2ac064a9ac09efc628e9742e6722a8b31 --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/addons/sierpinski_pyramid.py @@ -0,0 +1,235 @@ +# Purpose: create sierpinski pyramid geometry +# Copyright (c) 2016-2022 Manfred Moitzi +# License: MIT License +from __future__ import annotations +from typing import TYPE_CHECKING, Iterable, Sequence, Iterator, Optional +import math +from ezdxf.math import Vec3, UVec, Matrix44, UCS +from ezdxf.render.mesh import MeshVertexMerger, MeshTransformer + +if TYPE_CHECKING: + from ezdxf.eztypes import GenericLayoutType + +HEIGHT4 = 1.0 / math.sqrt(2.0) # pyramid4 height (* length) +HEIGHT3 = math.sqrt(6.0) / 3.0 # pyramid3 height (* length) + +DY1_FACTOR = math.tan(math.pi / 6.0) / 2.0 # inner circle radius +DY2_FACTOR = 0.5 / math.cos(math.pi / 6.0) # outer circle radius + + +class SierpinskyPyramid: + """ + Args: + location: location of base center as (x, y, z) tuple + length: side length + level: subdivide level + sides: sides of base geometry + + """ + + def __init__( + self, + location: UVec = (0.0, 0.0, 0.0), + length: float = 1.0, + level: int = 1, + sides: int = 4, + ): + self.sides = sides + self.pyramid_definitions = sierpinsky_pyramid( + location=location, length=length, level=level, sides=sides + ) + + def vertices(self) -> Iterator[list[Vec3]]: + """Yields the pyramid vertices as list of :class:`ezdxf.math.Vec3`.""" + for location, length in self.pyramid_definitions: + yield self._calc_vertices(location, length) + + __iter__ = vertices + + def _calc_vertices( + self, location: UVec, length: float + ) -> list[Vec3]: + """ + Calculates the pyramid vertices. + + Args: + location: location of the pyramid as center point of the base + length: pyramid side length + + Returns: list of :class:`ezdxf.math.Vec3` + + """ + len2 = length / 2.0 + x, y, z = location + if self.sides == 4: + return [ + Vec3(x - len2, y - len2, z), + Vec3(x + len2, y - len2, z), + Vec3(x + len2, y + len2, z), + Vec3(x - len2, y + len2, z), + Vec3(x, y, z + length * HEIGHT4), + ] + elif self.sides == 3: + dy1 = length * DY1_FACTOR + dy2 = length * DY2_FACTOR + return [ + Vec3(x - len2, y - dy1, z), + Vec3(x + len2, y - dy1, z), + Vec3(x, y + dy2, z), + Vec3(x, y, z + length * HEIGHT3), + ] + else: + raise ValueError("sides has to be 3 or 4.") + + def faces(self) -> list[Sequence[int]]: + """Returns list of pyramid faces. All pyramid vertices have the same + order, so one faces list fits them all. + + """ + if self.sides == 4: + return [(3, 2, 1, 0), (0, 1, 4), (1, 2, 4), (2, 3, 4), (3, 0, 4)] + elif self.sides == 3: + return [(2, 1, 0), (0, 1, 3), (1, 2, 3), (2, 0, 3)] + else: + raise ValueError("sides has to be 3 or 4.") + + def render( + self, + layout: GenericLayoutType, + merge: bool = False, + dxfattribs=None, + matrix: Optional[Matrix44] = None, + ucs: Optional[UCS] = None, + ) -> None: + """Renders the sierpinsky pyramid into layout, set `merge` to ``True`` + for rendering the whole sierpinsky pyramid into one MESH entity, set + `merge` to ``False`` for individual pyramids as MESH entities. + + Args: + layout: DXF target layout + merge: ``True`` for one MESH entity, ``False`` for individual MESH + entities per pyramid + dxfattribs: DXF attributes for the MESH entities + matrix: apply transformation matrix at rendering + ucs: apply UCS at rendering + + """ + if merge: + mesh = self.mesh() + mesh.render_mesh( + layout, dxfattribs=dxfattribs, matrix=matrix, ucs=ucs + ) + else: + for pyramid in self.pyramids(): + pyramid.render_mesh(layout, dxfattribs, matrix=matrix, ucs=ucs) + + def pyramids(self) -> Iterable[MeshTransformer]: + """Yields all pyramids of the sierpinsky pyramid as individual + :class:`MeshTransformer` objects. + """ + faces = self.faces() + for vertices in self: + mesh = MeshTransformer() + mesh.add_mesh(vertices=vertices, faces=faces) + yield mesh + + def mesh(self) -> MeshTransformer: + """Returns geometry as one :class:`MeshTransformer` object.""" + faces = self.faces() + mesh = MeshVertexMerger() + for vertices in self: + mesh.add_mesh(vertices=vertices, faces=faces) + return MeshTransformer.from_builder(mesh) + + +def sierpinsky_pyramid( + location=(0.0, 0.0, 0.0), + length: float = 1.0, + level: int = 1, + sides: int = 4, +) -> list[tuple[Vec3, float]]: + """Build a Sierpinski pyramid. + + Args: + location: base center point of the pyramid + length: base length of the pyramid + level: recursive building levels, has to 1 or bigger + sides: 3 or 4 sided pyramids supported + + Returns: list of pyramid vertices + + """ + location = Vec3(location) + level = int(level) + if level < 1: + raise ValueError("level has to be 1 or bigger.") + pyramids = _sierpinsky_pyramid(location, length, sides) + for _ in range(level - 1): + next_level_pyramids = [] + for location, length in pyramids: + next_level_pyramids.extend( + _sierpinsky_pyramid(location, length, sides) + ) + pyramids = next_level_pyramids + return pyramids + + +def _sierpinsky_pyramid( + location: Vec3, length: float = 1.0, sides: int = 4 +) -> list[tuple[Vec3, float]]: + if sides == 3: + return sierpinsky_pyramid_3(location, length) + elif sides == 4: + return sierpinsky_pyramid_4(location, length) + else: + raise ValueError("sides has to be 3 or 4.") + + +def sierpinsky_pyramid_4( + location: Vec3, length: float = 1.0 +) -> list[tuple[Vec3, float]]: + """Build a 4-sided Sierpinski pyramid. Pyramid height = length of the base + square! + + Args: + location: base center point of the pyramid + length: base length of the pyramid + + Returns: list of (location, length) tuples, representing the sierpinski pyramid + + """ + len2 = length / 2 + len4 = length / 4 + x, y, z = location + return [ + (Vec3(x - len4, y - len4, z), len2), + (Vec3(x + len4, y - len4, z), len2), + (Vec3(x - len4, y + len4, z), len2), + (Vec3(x + len4, y + len4, z), len2), + (Vec3(x, y, z + len2 * HEIGHT4), len2), + ] + + +def sierpinsky_pyramid_3( + location: Vec3, length: float = 1.0 +) -> list[tuple[Vec3, float]]: + """Build a 3-sided Sierpinski pyramid (tetraeder). + + Args: + location: base center point of the pyramid + length: base length of the pyramid + + Returns: list of (location, length) tuples, representing the sierpinski pyramid + + """ + dy1 = length * DY1_FACTOR * 0.5 + dy2 = length * DY2_FACTOR * 0.5 + len2 = length / 2 + len4 = length / 4 + x, y, z = location + return [ + (Vec3(x - len4, y - dy1, z), len2), + (Vec3(x + len4, y - dy1, z), len2), + (Vec3(x, y + dy2, z), len2), + (Vec3(x, y, z + len2 * HEIGHT3), len2), + ] diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/addons/tablepainter.py b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/addons/tablepainter.py new file mode 100644 index 0000000000000000000000000000000000000000..11f45fb6fd5f4c072d03cf3abed76c07c58965c5 --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/addons/tablepainter.py @@ -0,0 +1,927 @@ +# Copyright (c) 2010-2022, Manfred Moitzi +# License: MIT License +from __future__ import annotations +from typing import ( + Any, + Callable, + Iterable, + Iterator, + Optional, + Sequence, + TYPE_CHECKING, + TypeVar, +) +from copy import deepcopy + +from ezdxf.lldxf import const +from ezdxf.enums import ( + MTextEntityAlignment, + MAP_MTEXT_ALIGN_TO_FLAGS, +) +from ezdxf.addons import MTextSurrogate +from ezdxf.math import UVec, Vec2 + +if TYPE_CHECKING: + from ezdxf.layouts import BlockLayout + from ezdxf.eztypes import GenericLayoutType + +DEFAULT_TABLE_BG_LAYER = "TABLEBACKGROUND" +DEFAULT_TABLE_FG_LAYER = "TABLECONTENT" +DEFAULT_TABLE_GRID_LAYER = "TABLEGRID" +DEFAULT_TEXT_STYLE = "STANDARD" +DEFAULT_CELL_HEIGHT = 1.0 +DEFAULT_CELL_WIDTH = 2.5 +DEFAULT_CELL_CHAR_HEIGHT = 0.7 +DEFAULT_CELL_LINE_SPACING = 1.5 +DEFAULT_CELL_X_SCALE = 1.0 +DEFAULT_CELL_Y_SCALE = 1.0 +DEFAULT_CELL_TEXTCOLOR = const.BYLAYER +DEFAULT_CELL_BG_COLOR = None +DEFAULT_CELL_X_MARGIN = 0.1 +DEFAULT_CELL_Y_MARGIN = 0.1 +DEFAULT_BORDER_COLOR = 5 +DEFAULT_BORDER_LINETYPE = "BYLAYER" +DEFAULT_BORDER_STATUS = True +DEFAULT_BORDER_PRIORITY = 50 + + +T = TypeVar("T", bound="Cell") + + +class TablePainter: + """The TablePainter class renders tables build from DXF primitives. + + The TablePainter instance contains all the data cells. + + Args: + insert: insert location as or :class:`~ezdxf.math.UVec` + nrows: row count + ncols: column count + cell_width: default cell width in drawing units + cell_height: default cell height in drawing units + default_grid: draw a grid of solid lines if ``True``, otherwise + draw only explicit defined borders, the default grid has a + priority of 50. + + """ + + def __init__( + self, + insert: UVec, + nrows: int, + ncols: int, + cell_width=DEFAULT_CELL_WIDTH, + cell_height=DEFAULT_CELL_HEIGHT, + default_grid=True, + ): + self.insert = Vec2(insert) + self.nrows: int = nrows + self.ncols: int = ncols + self.row_heights: list[float] = [cell_height] * nrows + self.col_widths: list[float] = [cell_width] * ncols + self.bg_layer_name: str = DEFAULT_TABLE_BG_LAYER + self.fg_layer_name: str = DEFAULT_TABLE_FG_LAYER + self.grid_layer_name: str = DEFAULT_TABLE_GRID_LAYER + self.styles: dict[str, CellStyle] = {"default": CellStyle()} + if not default_grid: + default_style = self.get_cell_style("default") + default_style.set_border_status(False, False, False, False) + + self._cells: dict[tuple[int, int], Cell] = {} # data cells + self.frames: list[Frame] = [] # border frame objects + self.empty_cell = Cell(self) # represents all empty cells + + def set_col_width(self, index: int, value: float): + """Set column width in drawing units of the given column index. + + Args: + index: zero based column index + value: new column width in drawing units + + """ + self.col_widths[index] = float(value) + + def set_row_height(self, index: int, value: float): + """Set row height in drawing units of the given row index. + + Args: + index: zero based row index + value: new row height in drawing units + """ + self.row_heights[index] = float(value) + + def text_cell( + self, + row: int, + col: int, + text: str, + span: tuple[int, int] = (1, 1), + style="default", + ) -> TextCell: + """Factory method to create a new text cell at location (row, col), + with `text` as content, the `text` can be a line breaks ``'\\n'``. + The final cell can spread over several cells defined by the argument + `span`. + + """ + cell = TextCell(self, text, style=style, span=span) + return self.set_cell(row, col, cell) + + def block_cell( + self, + row: int, + col: int, + blockdef: BlockLayout, + span: tuple[int, int] = (1, 1), + attribs=None, + style="default", + ) -> BlockCell: + """Factory method to Create a new block cell at position (row, col). + + Content is a block reference inserted by an INSERT entity, + attributes will be added if the block definition contains ATTDEF. + Assignments are defined by attribs-key to attdef-tag association. + + Example: attribs = {'num': 1} if an ATTDEF with tag=='num' in + the block definition exists, an attrib with text=str(1) will be + created and added to the insert entity. + + The cell spans over 'span' cells and has the cell style with the + name 'style'. + """ + if attribs is None: + attribs = {} + cell = BlockCell( + self, blockdef, style=style, attribs=attribs, span=span + ) + return self.set_cell(row, col, cell) + + @property + def table_width(self) -> float: + """Returns the total table width.""" + return sum(self.col_widths) + + @property + def table_height(self) -> float: + """Returns the total table height.""" + return sum(self.row_heights) + + def set_cell(self, row: int, col: int, cell: T) -> T: + """Insert a cell at position (row, col).""" + row, col = self.validate_index(row, col) + self._cells[row, col] = cell + return cell + + def get_cell(self, row: int, col: int) -> Cell: + """Get cell at location (row, col).""" + row, col = self.validate_index(row, col) + try: + return self._cells[row, col] + except KeyError: + return self.empty_cell # empty cell with default style + + def validate_index(self, row: int, col: int) -> tuple[int, int]: + row = int(row) + col = int(col) + if row < 0 or row >= self.nrows or col < 0 or col >= self.ncols: + raise IndexError("cell index out of range") + return row, col + + def frame( + self, + row: int, + col: int, + width: int = 1, + height: int = 1, + style="default", + ) -> Frame: + """Creates a frame around the give cell area, starting at (row, col) and + covering `width` columns and `height` rows. The `style` argument is the + name of a :class:`CellStyle`. + """ + frame = Frame(self, pos=(row, col), span=(height, width), style=style) + self.frames.append(frame) + return frame + + def new_cell_style(self, name: str, **kwargs) -> CellStyle: + """Factory method to create a new :class:`CellStyle` object, overwrites + an already existing cell style. + + Args: + name: style name as string + kwargs: see attributes of class :class:`CellStyle` + + """ + assert ( + isinstance(name, str) and name != "" + ), "name has to be a non-empty string" + style: CellStyle = deepcopy(self.get_cell_style("default")) + style.update(kwargs) + self.styles[name] = style + return style + + @staticmethod + def new_border_style( + color: int = const.BYLAYER, + status=True, + priority: int = 100, + linetype: str = "BYLAYER", + lineweight: int = const.LINEWEIGHT_BYLAYER, + ) -> BorderStyle: + """Factory method to create a new border style. + + Args: + status: ``True`` for visible, ``False`` for invisible + color: :ref:`ACI` + linetype: linetype name, default is "BYLAYER" + lineweight: lineweight as int, default is by layer + priority: drawing priority, higher priorities cover lower priorities + + """ + border_style = BorderStyle() + border_style.color = color + border_style.linetype = linetype + border_style.lineweight = lineweight + border_style.status = status + border_style.priority = priority + return border_style + + def get_cell_style(self, name: str) -> CellStyle: + """Get cell style by name.""" + return self.styles[name] + + def iter_visible_cells( + self, visibility_map: VisibilityMap + ) -> Iterator[tuple[int, int, Cell]]: + """Iterate over all visible cells""" + return ( + (row, col, self.get_cell(row, col)) for row, col in visibility_map + ) + + def render(self, layout: GenericLayoutType, insert: Optional[UVec] = None): + """Render table to layout.""" + insert_backup = self.insert + if insert is not None: + self.insert = Vec2(insert) + visibility_map = VisibilityMap(self) + grid = Grid(self) + for row, col, cell in self.iter_visible_cells(visibility_map): + grid.render_cell_background(layout, row, col, cell) + grid.render_cell_content(layout, row, col, cell) + grid.render_lines(layout, visibility_map) + self.insert = insert_backup + + +class VisibilityMap: + """Stores the visibility of the table cells.""" + + def __init__(self, table: TablePainter): + """Create the visibility map for table.""" + self.table: TablePainter = table + self._hidden_cells: set[tuple[int, int]] = set() + self._create_visibility_map() + + def _create_visibility_map(self): + """Set visibility for all existing cells.""" + for row, col in iter(self): + cell = self.table.get_cell(row, col) + self._set_span_visibility(row, col, cell.span) + + def _set_span_visibility(self, row: int, col: int, span: tuple[int, int]): + """Set the visibility of the given cell. + + The cell itself is visible, all other cells in the span-range + (tuple: width, height) are invisible, they are covered by the + main cell (row, col). + """ + + if span != (1, 1): + nrows, ncols = span + for rowx in range(nrows): + for colx in range(ncols): + # switch all cells in span range to invisible + self.hide(row + rowx, col + colx) + # switch content cell visible + self.show(row, col) + + def show(self, row: int, col: int): + """Show cell (row, col).""" + try: + self._hidden_cells.remove((row, col)) + except KeyError: + pass + + def hide(self, row: int, col: int) -> None: + """Hide cell (row, col).""" + self._hidden_cells.add((row, col)) + + def iter_all_cells(self) -> Iterator[tuple[int, int]]: + """Iterate over all cell indices, yields (row, col) tuples.""" + for row in range(self.table.nrows): + for col in range(self.table.ncols): + yield row, col + + def is_visible_cell(self, row: int, col: int) -> bool: + """True if cell (row, col) is visible, else False.""" + return (row, col) not in self._hidden_cells + + def __iter__(self) -> Iterator[tuple[int, int]]: + """Iterate over all visible cells.""" + return ( + (row, col) + for (row, col) in self.iter_all_cells() + if self.is_visible_cell(row, col) + ) + + +class CellStyle: + """Cell style object. + + .. important:: + + Always instantiate new styles by the factory method: + :meth:`TablePainter.new_cell_style` + + """ + + def __init__(self, data: Optional[dict[str, Any]] = None): + # text style is ignored by block cells + self.text_style = "STANDARD" + # text height in drawing units, ignored by block cells + self.char_height = DEFAULT_CELL_CHAR_HEIGHT + # line spacing in percent = char_height * line_spacing, ignored by block cells + self.line_spacing = DEFAULT_CELL_LINE_SPACING + # text stretching factor (width factor) or block reference x-scaling factor + self.scale_x = DEFAULT_CELL_X_SCALE + # block reference y-axis scaling factor, ignored by text cells + self.scale_y = DEFAULT_CELL_Y_SCALE + # dxf color index, ignored by block cells + self.text_color = DEFAULT_CELL_TEXTCOLOR + # text or block rotation in degrees + self.rotation = 0.0 + # Letters are stacked top-to-bottom, but not rotated + self.stacked = False + # text and block alignment, see ezdxf.enums.MTextEntityAlignment + self.align = MTextEntityAlignment.TOP_CENTER + # left and right cell margin in drawing units + self.margin_x = DEFAULT_CELL_X_MARGIN + # top and bottom cell margin in drawing units + self.margin_y = DEFAULT_CELL_Y_MARGIN + # background color, dxf color index, ignored by block cells + self.bg_color = DEFAULT_CELL_BG_COLOR + # left border style + self.left = BorderStyle() + # top border style + self.top = BorderStyle() + # right border style + self.right = BorderStyle() + # bottom border style + self.bottom = BorderStyle() + if data: + self.update(data) + + def __getitem__(self, k: str) -> Any: + return self.__dict__[k] + + def __setitem__(self, k: str, v: Any): + if k in self.__dict__: + self.__dict__.__setitem__(k, v) + else: + raise KeyError(f"invalid attribute name: {k}") + + def update(self, data: dict[str, Any]): + for k, v in data.items(): + self.__setitem__(k, v) + assert isinstance( + self.align, MTextEntityAlignment + ), "enum ezdxf.enums.MTextEntityAlignment for text alignments required" + + def set_border_status(self, left=True, right=True, top=True, bottom=True): + """Set status of all cell borders at once.""" + self.left.status = left + self.right.status = right + self.top.status = top + self.bottom.status = bottom + + def set_border_style( + self, style: BorderStyle, left=True, right=True, top=True, bottom=True + ): + """Set border styles of all cell borders at once.""" + for border, status in ( + ("left", left), + ("right", right), + ("top", top), + ("bottom", bottom), + ): + if status: + self[border] = style + + @staticmethod + def get_default_border_style() -> BorderStyle: + return BorderStyle() + + def get_text_align_flags(self) -> tuple[int, int]: + return MAP_MTEXT_ALIGN_TO_FLAGS[self.align] + + +class BorderStyle: + """Border style class. + + .. important:: + + Always instantiate new border styles by the factory method: + :meth:`TablePainter.new_border_style` + + """ + + def __init__( + self, + status: bool = DEFAULT_BORDER_STATUS, + color: int = DEFAULT_BORDER_COLOR, + linetype: str = DEFAULT_BORDER_LINETYPE, + lineweight=const.LINEWEIGHT_BYLAYER, + priority: int = DEFAULT_BORDER_PRIORITY, + ): + # border status, True for visible, False for hidden + self.status = status + # ACI + self.color = color + # linetype name, BYLAYER if None + self.linetype = linetype + # lineweight + self.lineweight = lineweight + # drawing priority, higher values cover lower values + self.priority = priority + + +class Grid: + """Grid contains the graphical representation of the table.""" + + def __init__(self, table: TablePainter): + self.table: TablePainter = table + # contains the x-axis coords of the grid lines between the data columns. + self.col_pos: list[float] = self._calc_col_pos() + # contains the y-axis coords of the grid lines between the data rows. + self.row_pos: list[float] = self._calc_row_pos() + + # _x_borders contains the horizontal border elements, list of border styles + # get index with _border_index(row, col), which means the border element + # above row, col, and row-indices are [0 .. nrows+1], nrows+1 for the + # grid line below the last row; list contains only the border style with + # the highest priority. + self._x_borders: list[BorderStyle] = [] # created in _init_borders + + # _y_borders: same as _x_borders but for the vertical borders, + # col-indices are [0 .. ncols+1], ncols+1 for the last grid line right + # of the last column + self._y_borders: list[BorderStyle] = [] # created in _init_borders + # border style to delete borders inside of merged cells + self.no_border = BorderStyle( + status=False, priority=999, linetype="BYLAYER", color=0 + ) + + def _init_borders(self, x_border: BorderStyle, y_border: BorderStyle): + """Init the _hborders with and _vborders with .""" + # has more elements than necessary, but it unifies the + # index calculation for _vborders and _hborders. + # exact values are: + # x_border_count = ncols * (nrows+1), hindex = ncols * + + # y_border_count = nrows * (ncols+1), vindex = (ncols+1) * + + border_count: int = (self.table.nrows + 1) * (self.table.ncols + 1) + self._x_borders = [x_border] * border_count + self._y_borders = [y_border] * border_count + + def _border_index(self, row: int, col: int) -> int: + """Calculate linear index for border arrays _x_borders and _y_borders.""" + return row * (self.table.ncols + 1) + col + + def set_x_border(self, row: int, col: int, border_style: BorderStyle): + """Set for the horizontal border element above + , . + """ + return self._set_border_style(self._x_borders, row, col, border_style) + + def set_y_border(self, row: int, col: int, border_style: BorderStyle): + """Set for the vertical border element left of + , . + """ + return self._set_border_style(self._y_borders, row, col, border_style) + + def _set_border_style( + self, + borders: list[BorderStyle], + row: int, + col: int, + border_style: BorderStyle, + ): + """Set for , in .""" + border_index = self._border_index(row, col) + actual_borderstyle = borders[border_index] + if border_style.priority >= actual_borderstyle.priority: + borders[border_index] = border_style + + def get_x_border(self, row: int, col: int) -> BorderStyle: + """Get the horizontal border element above , . + Last grid line (below ) is the element above of . + """ + return self._get_border(self._x_borders, row, col) + + def get_y_border(self, row: int, col: int) -> BorderStyle: + """Get the vertical border element left of , . + Last grid line (right of ) is the element left of . + """ + return self._get_border(self._y_borders, row, col) + + def _get_border( + self, borders: list[BorderStyle], row: int, col: int + ) -> BorderStyle: + """Get border element at , from .""" + return borders[self._border_index(row, col)] + + def _calc_col_pos(self) -> list[float]: + """Calculate the x-axis coords of the grid lines between the columns.""" + col_pos: list[float] = [] + start_x: float = self.table.insert.x + sum_fields(start_x, self.table.col_widths, col_pos.append) + return col_pos + + def _calc_row_pos(self) -> list[float]: + """Calculate the y-axis coords of the grid lines between the rows.""" + row_pos: list[float] = [] + start_y: float = self.table.insert.y + sum_fields(start_y, self.table.row_heights, row_pos.append, -1.0) + return row_pos + + def cell_coords( + self, row: int, col: int, span: tuple[int, int] + ) -> tuple[float, float, float, float]: + """Get the coordinates of the cell , as absolute drawing units. + + :return: a tuple (left, right, top, bottom) + """ + top = self.row_pos[row] + bottom = self.row_pos[row + span[0]] + left = self.col_pos[col] + right = self.col_pos[col + span[1]] + return left, right, top, bottom + + def render_cell_background( + self, layout: GenericLayoutType, row: int, col: int, cell: Cell + ): + """Render the cell background for (row, col) as SOLID entity.""" + style = cell.style + if style.bg_color is None: + return + # get cell coords in absolute drawing units + left, right, top, bottom = self.cell_coords(row, col, cell.span) + layout.add_solid( + points=((left, top), (left, bottom), (right, top), (right, bottom)), + dxfattribs={ + "color": style.bg_color, + "layer": self.table.bg_layer_name, + }, + ) + + def render_cell_content( + self, layout: GenericLayoutType, row: int, col: int, cell: Cell + ): + """Render the cell content for , into layout object.""" + # get cell coords in absolute drawing units + coords = self.cell_coords(row, col, cell.span) + cell.render(layout, coords, self.table.fg_layer_name) + + def render_lines(self, layout: GenericLayoutType, vm: VisibilityMap): + """Render all grid lines into layout object.""" + # Init borders with default_style top- and left border. + default_style = self.table.get_cell_style("default") + x_border = default_style.top + y_border = default_style.left + self._init_borders(x_border, y_border) + self._set_frames(self.table.frames) + self._set_borders(self.table.iter_visible_cells(vm)) + self._render_borders(layout, self.table) + + def _set_borders(self, visible_cells: Iterable[tuple[int, int, Cell]]): + """Set borders of the visible cells.""" + for row, col, cell in visible_cells: + bottom_row = row + cell.span[0] + right_col = col + cell.span[1] + self._set_rect_borders(row, bottom_row, col, right_col, cell.style) + self._set_inner_borders( + row, bottom_row, col, right_col, self.no_border + ) + + def _set_inner_borders( + self, + top_row: int, + bottom_row: int, + left_col: int, + right_col: int, + border_style: BorderStyle, + ): + """Set `border_style` to the inner borders of the rectangle (top_row, + bottom_row, ...) + """ + if bottom_row - top_row > 1: + for col in range(left_col, right_col): + for row in range(top_row + 1, bottom_row): + self.set_x_border(row, col, border_style) + if right_col - left_col > 1: + for row in range(top_row, bottom_row): + for col in range(left_col + 1, right_col): + self.set_y_border(row, col, border_style) + + def _set_rect_borders( + self, + top_row: int, + bottom_row: int, + left_col: int, + right_col: int, + style: CellStyle, + ): + """Set border `style` to the rectangle (top_row, bottom_row, ...) + + The values describing the grid lines between the cells, see doc-strings + for methods set_x_border() and set_y_border() and see comments for + self._x_borders and self._y_borders. + """ + for col in range(left_col, right_col): + self.set_x_border(top_row, col, style.top) + self.set_x_border(bottom_row, col, style.bottom) + for row in range(top_row, bottom_row): + self.set_y_border(row, left_col, style.left) + self.set_y_border(row, right_col, style.right) + + def _set_frames(self, frames: Iterable[Frame]): + """Set borders for all defined frames.""" + for frame in frames: + top_row = frame.pos[0] + left_col = frame.pos[1] + bottom_row = top_row + frame.span[0] + right_col = left_col + frame.span[1] + self._set_rect_borders( + top_row, bottom_row, left_col, right_col, frame.style + ) + + def _render_borders(self, layout: GenericLayoutType, table: TablePainter): + """Render the grid lines as LINE entities into layout object.""" + + def render_line(start: Vec2, end: Vec2, style: BorderStyle): + """Render the LINE entity into layout object.""" + if style.status: + layout.add_line( + start=start, + end=end, + dxfattribs={ + "layer": layer, + "color": style.color, + "linetype": style.linetype, + "lineweight": style.lineweight, + }, + ) + + def render_x_borders(): + """Draw the horizontal grid lines.""" + for row in range(table.nrows + 1): + y = self.row_pos[row] + for col in range(table.ncols): + left = self.col_pos[col] + right = self.col_pos[col + 1] + style = self.get_x_border(row, col) + render_line(Vec2(left, y), Vec2(right, y), style) + + def render_y_borders(): + """Draw the vertical grid lines.""" + for col in range(table.ncols + 1): + x = self.col_pos[col] + for row in range(table.nrows): + top = self.row_pos[row] + bottom = self.row_pos[row + 1] + style = self.get_y_border(row, col) + render_line(Vec2(x, top), Vec2(x, bottom), style) + + layer = table.grid_layer_name + render_x_borders() + render_y_borders() + + +class Frame: + """Represent a rectangle cell area enclosed by borderlines. + + Args: + table: the assigned data table + pos: tuple (row, col), border goes left and top of pos + span: count of cells that Frame covers, border goes right and below of this cells + style: style name as string + """ + + def __init__( + self, + table: TablePainter, + pos: tuple[int, int] = (0, 0), + span: tuple[int, int] = (1, 1), + style="default", + ): + self.table = table + self.pos = pos + self.span = span + self.stylename = style + + @property + def style(self) -> CellStyle: + return self.table.get_cell_style(self.stylename) + + +class Cell: + """Base class for table cells. + + Args: + table: assigned data table + style: style name as string + span: tuple(spanrows, spancols), count of cells that cell covers + + A cell doesn't know its own position in the data table, because a cell can + be used multiple times in the same or in different tables, therefore the + cell itself can not determine if the cell-range reaches beyond the table + borders. + """ + + def __init__( + self, + table: TablePainter, + style="default", + span: tuple[int, int] = (1, 1), + ): + self.table = table + self.stylename = style + # span values has to be >= 1 + self.span = span + + @property + def span(self) -> tuple[int, int]: + """Get/set table span parameters.""" + return self._span + + @span.setter + def span(self, value: tuple[int, int]): + """Ensures that span values are >= 1 in each direction.""" + self._span = (max(1, value[0]), max(1, value[1])) + + @property + def style(self) -> CellStyle: + """Returns the associated :class:`CellStyle`.""" + return self.table.get_cell_style(self.stylename) + + def render( + self, layout: GenericLayoutType, coords: Sequence[float], layer: str + ): + """Renders the cell content into the given `layout`.""" + pass + + def get_workspace_coords(self, coords: Sequence[float]) -> Sequence[float]: + """Reduces the cell-coords about the margin_x and the margin_y values.""" + margin_x = self.style.margin_x + margin_y = self.style.margin_y + return ( + coords[0] + margin_x, # left + coords[1] - margin_x, # right + coords[2] - margin_y, # top + coords[3] + margin_y, # bottom + ) + + +CustomCell = Cell + + +class TextCell(Cell): + """Implements a cell type containing a multi-line text. Uses the + :class:`~ezdxf.addons.MTextSurrogate` add-on to render the multi-line + text, therefore the content of these cells is compatible to DXF R12. + + Args: + table: assigned data table + text: multi line text, lines separated by the new line character ``"\\n"`` + style: cell style name as string + span: tuple(rows, cols) area of cells to cover + + """ + + def __init__( + self, + table: TablePainter, + text: str, + style="default", + span: tuple[int, int] = (1, 1), + ): + super(TextCell, self).__init__(table, style, span) + self.text = text + + def render( + self, layout: GenericLayoutType, coords: Sequence[float], layer: str + ): + """Text cell. + + Args: + layout: target layout + coords: tuple of border-coordinates: left, right, top, bottom + layer: target layer name as string + + """ + if not len(self.text): + return + + left, right, top, bottom = self.get_workspace_coords(coords) + style = self.style + h_align, v_align = style.get_text_align_flags() + rotated = self.style.rotation + text = self.text + if style.stacked: + rotated = 0.0 + text = "\n".join((char for char in self.text.replace("\n", " "))) + xpos = (left, float(left + right) / 2.0, right)[h_align] + ypos = (bottom, float(bottom + top) / 2.0, top)[v_align - 1] + mtext = MTextSurrogate( + text, + (xpos, ypos), + line_spacing=self.style.line_spacing, + style=self.style.text_style, + char_height=self.style.char_height, + rotation=rotated, + width_factor=self.style.scale_x, + align=style.align, + color=self.style.text_color, + layer=layer, + ) + mtext.render(layout) + + +class BlockCell(Cell): + """Implements a cell type containing a block reference. + + Args: + table: table object + blockdef: :class:`ezdxf.layouts.BlockLayout` instance + attribs: BLOCK attributes as (tag, value) dictionary + style: cell style name as string + span: tuple(rows, cols) area of cells to cover + + """ + + def __init__( + self, + table: TablePainter, + blockdef: BlockLayout, + style="default", + attribs=None, + span: tuple[int, int] = (1, 1), + ): + if attribs is None: + attribs = {} + super(BlockCell, self).__init__(table, style, span) + self.block_name = blockdef.name # dxf block name! + self.attribs = attribs + + def render( + self, layout: GenericLayoutType, coords: Sequence[float], layer: str + ): + """Create the cell content as INSERT-entity with trailing ATTRIB-Entities. + + Args: + layout: target layout + coords: tuple of border-coordinates : left, right, top, bottom + layer: target layer name as string + + """ + left, right, top, bottom = self.get_workspace_coords(coords) + style = self.style + h_align, v_align = style.get_text_align_flags() + xpos = (left, float(left + right) / 2.0, right)[h_align] + ypos = (bottom, float(bottom + top) / 2.0, top)[v_align - 1] + layout.add_auto_blockref( + name=self.block_name, + insert=(xpos, ypos), + values=self.attribs, + dxfattribs={ + "xscale": style.scale_x, + "yscale": style.scale_y, + "rotation": style.rotation, + "layer": layer, + }, + ) + + +def sum_fields( + start_value: float, + fields: list[float], + append: Callable[[float], None], + sign: float = 1.0, +): + """Adds step-by-step the fields-values, starting with , + and appends the resulting values to another object with the + append-method. + """ + position = start_value + append(position) + for element in fields: + position += element * sign + append(position) diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/addons/text2path.py b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/addons/text2path.py new file mode 100644 index 0000000000000000000000000000000000000000..b4a9a67cc5f932b15ee0464bc96223bb4a4dda2a --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/addons/text2path.py @@ -0,0 +1,358 @@ +# Copyright (c) 2021-2023, Manfred Moitzi +# License: MIT License +from __future__ import annotations +from typing import Union +import enum + +from ezdxf.entities import Text, Attrib, Hatch, DXFGraphic +from ezdxf.lldxf import const +from ezdxf.enums import TextEntityAlignment, MAP_TEXT_ENUM_TO_ALIGN_FLAGS +from ezdxf.math import Matrix44, BoundingBox +from ezdxf import path +from ezdxf.path import Path +from ezdxf.fonts import fonts +from ezdxf.query import EntityQuery + +__all__ = [ + "make_path_from_str", + "make_paths_from_str", + "make_hatches_from_str", + "make_path_from_entity", + "make_paths_from_entity", + "make_hatches_from_entity", + "virtual_entities", + "explode", + "Kind", +] + +AnyText = Union[Text, Attrib] +VALID_TYPES = ("TEXT", "ATTRIB") + + +def make_path_from_str( + s: str, + font: fonts.FontFace, + size: float = 1.0, + align=TextEntityAlignment.LEFT, + length: float = 0, + m: Matrix44 = None, +) -> Path: + """Convert a single line string `s` into a :term:`Multi-Path` object. + The text `size` is the height of the uppercase letter "X" (cap height). + The paths are aligned about the insertion point at (0, 0). + BASELINE means the bottom of the letter "X". + + Args: + s: text to convert + font: font face definition as :class:`~ezdxf.tools.fonts.FontFace` object + size: text size (cap height) in drawing units + align: alignment as :class:`ezdxf.enums.TextEntityAlignment`, + default is :attr:`LEFT` + length: target length for the :attr:`ALIGNED` and :attr:`FIT` alignments + m: transformation :class:`~ezdxf.math.Matrix44` + + """ + if len(s) == 0: + return Path() + abstract_font = get_font(font) + # scale font rendering units to drawing units: + p = _str_to_path(s, abstract_font, size) + bbox = path.bbox([p], fast=True) + + # Text is rendered in drawing units, + # therefore do alignment in drawing units: + draw_units_fm = abstract_font.measurements.scale_from_baseline(size) + matrix = alignment_transformation(draw_units_fm, bbox, align, length) + if m is not None: + matrix *= m + return p.transform(matrix) + + +def make_paths_from_str( + s: str, + font: fonts.FontFace, + size: float = 1.0, + align=TextEntityAlignment.LEFT, + length: float = 0, + m: Matrix44 = None, +) -> list[Path]: + """Convert a single line string `s` into a list of + :class:`~ezdxf.path.Path` objects. All paths are returned as a list of + :term:`Single-Path` objects. + The text `size` is the height of the uppercase letter "X" (cap height). + The paths are aligned about the insertion point at (0, 0). + BASELINE means the bottom of the letter "X". + + Args: + s: text to convert + font: font face definition as :class:`~ezdxf.tools.fonts.FontFace` object + size: text size (cap height) in drawing units + align: alignment as :class:`ezdxf.enums.TextEntityAlignment`, + default is :attr:`LEFT` + length: target length for the :attr:`ALIGNED` and :attr:`FIT` alignments + m: transformation :class:`~ezdxf.math.Matrix44` + + """ + if len(s) == 0: + return [] + p = make_path_from_str(s, font, size, align, length, m) + return list(p.sub_paths()) + + +def get_font(font: fonts.FontFace) -> fonts.AbstractFont: + font_name = fonts.font_manager.find_font_name(font) + return fonts.make_font(font_name, cap_height=1.0) + + +def _str_to_path(s: str, render_engine: fonts.AbstractFont, size: float = 1.0) -> Path: + return render_engine.text_path_ex(s, cap_height=size).to_path() + + +def alignment_transformation( + fm: fonts.FontMeasurements, + bbox: BoundingBox, + align: TextEntityAlignment, + length: float, +) -> Matrix44: + """Returns the alignment transformation matrix to transform a basic + text path at location (0, 0) and alignment :attr:`LEFT` into the final text + path of the given alignment. + For the alignments :attr:`FIT` and :attr:`ALIGNED` defines the argument + `length` the total length of the final text path. The given bounding box + defines the rendering borders of the basic text path. + + """ + halign, valign = MAP_TEXT_ENUM_TO_ALIGN_FLAGS[align] + matrix = basic_alignment_transformation(fm, bbox, halign, valign) + + stretch_x = 1.0 + stretch_y = 1.0 + if align == TextEntityAlignment.ALIGNED: + stretch_x = length / bbox.size.x + stretch_y = stretch_x + elif align == TextEntityAlignment.FIT: + stretch_x = length / bbox.size.x + if stretch_x != 1.0: + matrix *= Matrix44.scale(stretch_x, stretch_y, 1.0) + return matrix + + +def basic_alignment_transformation( + fm: fonts.FontMeasurements, bbox: BoundingBox, halign: int, valign: int +) -> Matrix44: + if halign == const.LEFT: + shift_x = 0.0 + elif halign == const.RIGHT: + assert bbox.extmax is not None, "invalid empty bounding box" + shift_x = -bbox.extmax.x + elif halign == const.CENTER or halign > 2: # ALIGNED, MIDDLE, FIT + assert bbox.center is not None, "invalid empty bounding box" + shift_x = -bbox.center.x + else: + raise ValueError(f"invalid halign argument: {halign}") + cap_height = fm.cap_height + descender_height = fm.descender_height + if valign == const.BASELINE: + shift_y = 0.0 + elif valign == const.TOP: + shift_y = -cap_height + elif valign == const.MIDDLE: + shift_y = -cap_height / 2 + elif valign == const.BOTTOM: + shift_y = descender_height + else: + raise ValueError(f"invalid valign argument: {valign}") + if halign == 4: # MIDDLE + shift_y = -cap_height + fm.total_height / 2.0 + return Matrix44.translate(shift_x, shift_y, 0) + + +def make_hatches_from_str( + s: str, + font: fonts.FontFace, + size: float = 1.0, + align=TextEntityAlignment.LEFT, + length: float = 0, + dxfattribs=None, + m: Matrix44 = None, +) -> list[Hatch]: + """Convert a single line string `s` into a list of virtual + :class:`~ezdxf.entities.Hatch` entities. + The text `size` is the height of the uppercase letter "X" (cap height). + The paths are aligned about the insertion point at (0, 0). + The HATCH entities are aligned to this insertion point. BASELINE means the + bottom of the letter "X". + + .. important:: + + Returns an empty list for .shx, .shp and .lff fonts a.k.a. stroke fonts. + + Args: + s: text to convert + font: font face definition as :class:`~ezdxf.tools.fonts.FontFace` object + size: text size (cap height) in drawing units + align: alignment as :class:`ezdxf.enums.TextEntityAlignment`, + default is :attr:`LEFT` + length: target length for the :attr:`ALIGNED` and :attr:`FIT` alignments + dxfattribs: additional DXF attributes + m: transformation :class:`~ezdxf.math.Matrix44` + + """ + font_ = get_font(font) + if font_.font_render_type is fonts.FontRenderType.STROKE: + return [] + + # HATCH is an OCS entity, transforming just the polyline paths + # is not correct! The Hatch has to be created in the xy-plane! + paths = make_paths_from_str(s, font, size, align, length) + dxfattribs = dict(dxfattribs or {}) + dxfattribs.setdefault("solid_fill", 1) + dxfattribs.setdefault("pattern_name", "SOLID") + dxfattribs.setdefault("color", const.BYLAYER) + hatches = path.to_hatches(paths, edge_path=True, dxfattribs=dxfattribs) + if m is not None: + # Transform HATCH entities as a unit: + return [hatch.transform(m) for hatch in hatches] # type: ignore + else: + return list(hatches) + + +def check_entity_type(entity): + if entity is None: + raise TypeError("entity is None") + elif not entity.dxftype() in VALID_TYPES: + raise TypeError(f"unsupported entity type: {entity.dxftype()}") + + +def make_path_from_entity(entity: AnyText) -> Path: + """Convert text content from DXF entities TEXT and ATTRIB into a + :term:`Multi-Path` object. + The paths are located at the location of the source entity. + """ + + check_entity_type(entity) + text = entity.plain_text() + p = make_path_from_str( + text, + fonts.get_font_face(entity.font_name()), + size=entity.dxf.height, # cap height in drawing units + align=entity.get_align_enum(), + length=entity.fit_length(), + ) + m = entity.wcs_transformation_matrix() + return p.transform(m) + + +def make_paths_from_entity(entity: AnyText) -> list[Path]: + """Convert text content from DXF entities TEXT and ATTRIB into a + list of :class:`~ezdxf.path.Path` objects. All paths are returned as a + list of :term:`Single-Path` objects. + The paths are located at the location of the source entity. + + """ + return list(make_path_from_entity(entity).sub_paths()) + + +def make_hatches_from_entity(entity: AnyText) -> list[Hatch]: + """Convert text content from DXF entities TEXT and ATTRIB into a + list of virtual :class:`~ezdxf.entities.Hatch` entities. + The hatches are placed at the same location as the source entity and have + the same DXF attributes as the source entity. + + """ + check_entity_type(entity) + extrusion = entity.dxf.extrusion + attribs = entity.graphic_properties() + paths = make_paths_from_entity(entity) + return list( + path.to_hatches( + paths, + edge_path=True, + extrusion=extrusion, + dxfattribs=attribs, + ) + ) + + +@enum.unique +class Kind(enum.IntEnum): + """The :class:`Kind` enum defines the DXF types to create as bit flags, + e.g. 1+2 to get HATCHES as filling and SPLINES and POLYLINES as outline: + + === =========== ============================== + Int Enum Description + === =========== ============================== + 1 HATCHES :class:`~ezdxf.entities.Hatch` entities as filling + 2 SPLINES :class:`~ezdxf.entities.Spline` and 3D :class:`~ezdxf.entities.Polyline` + entities as outline + 4 LWPOLYLINES :class:`~ezdxf.entities.LWPolyline` entities as approximated + (flattened) outline + === =========== ============================== + + """ + + HATCHES = 1 + SPLINES = 2 + LWPOLYLINES = 4 + + +def virtual_entities(entity: AnyText, kind: int = Kind.HATCHES) -> EntityQuery: + """Convert the text content of DXF entities TEXT and ATTRIB into virtual + SPLINE and 3D POLYLINE entities or approximated LWPOLYLINE entities + as outlines, or as HATCH entities as fillings. + + Returns the virtual DXF entities as an :class:`~ezdxf.query.EntityQuery` + object. + + Args: + entity: TEXT or ATTRIB entity + kind: kind of entities to create as bit flags, see enum :class:`Kind` + + """ + check_entity_type(entity) + extrusion = entity.dxf.extrusion + attribs = entity.graphic_properties() + entities: list[DXFGraphic] = [] + + if kind & Kind.HATCHES: + entities.extend(make_hatches_from_entity(entity)) + if kind & (Kind.SPLINES + Kind.LWPOLYLINES): + paths = make_paths_from_entity(entity) + if kind & Kind.SPLINES: + entities.extend(path.to_splines_and_polylines(paths, dxfattribs=attribs)) + if kind & Kind.LWPOLYLINES: + entities.extend( + path.to_lwpolylines(paths, extrusion=extrusion, dxfattribs=attribs) + ) + + return EntityQuery(entities) + + +def explode(entity: AnyText, kind: int = Kind.HATCHES, target=None) -> EntityQuery: + """Explode the text `entity` into virtual entities, + see :func:`virtual_entities`. The source entity will be destroyed. + + The target layout is given by the `target` argument, if `target` is ``None``, + the target layout is the source layout of the text entity. + + Returns the created DXF entities as an :class:`~ezdxf.query.EntityQuery` + object. + + Args: + entity: TEXT or ATTRIB entity to explode + kind: kind of entities to create as bit flags, see enum :class:`Kind` + target: target layout for new created DXF entities, ``None`` for the + same layout as the source entity. + + """ + entities = virtual_entities(entity, kind) + + # Explicit check for None is required, because empty layouts are also False + if target is None: + target = entity.get_layout() + entity.destroy() + + if target is not None: + for e in entities: + target.add_entity(e) + return EntityQuery(entities) diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/addons/xplayer.py b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/addons/xplayer.py new file mode 100644 index 0000000000000000000000000000000000000000..38fa3ca6a6bb1f8423121685f107ae21f8f9b6ba --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/addons/xplayer.py @@ -0,0 +1,90 @@ +# Copyright (c) 2023, Manfred Moitzi +# License: MIT License +"""xplayer = cross backend player.""" +from __future__ import annotations +from typing import Callable +from ezdxf.math import Vec2 +from ezdxf.colors import RGB + +from ezdxf.addons.drawing.backend import BackendInterface, BkPath2d +from ezdxf.addons.drawing.properties import BackendProperties +from ezdxf.addons.hpgl2 import api as hpgl2 +from ezdxf.addons.hpgl2.backend import ( + Properties as HPGL2Properties, + RecordType as HPGL2RecordType, +) + + +def hpgl2_to_drawing( + player: hpgl2.Player, + backend: BackendInterface, + bg_color: str = "#ffffff", + override: Callable[[BackendProperties], BackendProperties] | None = None, +) -> None: + """Replays the recordings of the HPGL2 Recorder on a backend of the drawing add-on.""" + if bg_color: + backend.set_background(bg_color) + for record_type, properties, record_data in player.recordings(): + backend_properties = _make_drawing_backend_properties(properties) + if override: + backend_properties = override(backend_properties) + if record_type == HPGL2RecordType.POLYLINE: + points: list[Vec2] = record_data.vertices() + size = len(points) + if size == 1: + backend.draw_point(points[0], backend_properties) + elif size == 2: + backend.draw_line(points[0], points[1], backend_properties) + else: + backend.draw_path(BkPath2d.from_vertices(points), backend_properties) + elif record_type == HPGL2RecordType.FILLED_PATHS: + backend.draw_filled_paths(record_data, backend_properties) + elif record_type == HPGL2RecordType.OUTLINE_PATHS: + for p in record_data: + backend.draw_path(p, backend_properties) + backend.finalize() + + +def _make_drawing_backend_properties(properties: HPGL2Properties) -> BackendProperties: + """Make BackendProperties() for the drawing add-on.""" + return BackendProperties( + color=properties.pen_color.to_hex(), + lineweight=properties.pen_width, + layer="0", + pen=properties.pen_index, + handle="", + ) + + +def map_color(color: str) -> Callable[[BackendProperties], BackendProperties]: + def _map_color(properties: BackendProperties) -> BackendProperties: + return BackendProperties( + color=color, + lineweight=properties.lineweight, + layer=properties.layer, + pen=properties.pen, + handle=properties.handle, + ) + + return _map_color + + +def map_monochrome(dark_mode=True) -> Callable[[BackendProperties], BackendProperties]: + def to_gray(color: str) -> str: + gray = round(RGB.from_hex(color).luminance * 255) + if dark_mode: + gray = 255 - gray + return RGB(gray, gray, gray).to_hex() + + def _map_color(properties: BackendProperties) -> BackendProperties: + color = properties.color + alpha = color[7:9] + return BackendProperties( + color=to_gray(color[:7]) + alpha, + lineweight=properties.lineweight, + layer=properties.layer, + pen=properties.pen, + handle=properties.handle, + ) + + return _map_color diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/addons/xqt.py b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/addons/xqt.py new file mode 100644 index 0000000000000000000000000000000000000000..5cf95c0a762a0b55304fbc66f2a68993a93e96f8 --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/addons/xqt.py @@ -0,0 +1,86 @@ +# Copyright (c) 2021, Manfred Moitzi +# License: MIT License +# mypy: ignore_errors=True +from ezdxf._options import DRAWING_ADDON, options + +# Qt compatibility layer: all Qt imports from ezdxf.addons.xqt +PYSIDE6 = False +TRY_PYSIDE6 = options.get_bool(DRAWING_ADDON, "try_pyside6", True) +PYQT5 = False +TRY_PYQT5 = options.get_bool(DRAWING_ADDON, "try_pyqt5", True) + +if TRY_PYSIDE6: + try: + from PySide6 import QtGui, QtCore, QtWidgets + from PySide6.QtWidgets import ( + QFileDialog, + QInputDialog, + QMessageBox, + QTableView, + QTreeView, + QListView, + ) + from PySide6.QtCore import ( + QAbstractTableModel, + QStringListModel, + QFileSystemWatcher, + QModelIndex, + QPointF, + QSettings, + QSize, + Qt, + Signal, + Slot, + ) + from PySide6.QtGui import ( + QAction, + QColor, + QPainterPath, + QStandardItem, + QStandardItemModel, + ) + + PYSIDE6 = True + print("using Qt binding: PySide6") + except ImportError: + pass + +# PyQt5 is just a fallback +if TRY_PYQT5 and not PYSIDE6: + try: + from PyQt5 import QtGui, QtCore, QtWidgets + from PyQt5.QtCore import pyqtSignal as Signal + from PyQt5.QtCore import pyqtSlot as Slot + from PyQt5.QtWidgets import ( + QAction, + QFileDialog, + QInputDialog, + QMessageBox, + QTableView, + QTreeView, + QListView, + ) + from PyQt5.QtCore import ( + QAbstractTableModel, + QStringListModel, + QFileSystemWatcher, + QModelIndex, + QPointF, + QSettings, + QSize, + Qt, + ) + from PyQt5.QtGui import ( + QColor, + QPainterPath, + QStandardItem, + QStandardItemModel, + ) + + PYQT5 = True + print("using Qt binding: PyQt5") + except ImportError: + pass + +if not (PYSIDE6 or PYQT5): + raise ImportError("no Qt binding found, tried PySide6 and PyQt5") diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/entities/__init__.py b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/entities/__init__.py new file mode 100644 index 0000000000000000000000000000000000000000..7e704e0c4a6125de9b5201fe2cf3e3376a1456e7 --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/entities/__init__.py @@ -0,0 +1,115 @@ +# Copyright (c) 2011-2021 Manfred Moitzi +# License: MIT License + +from . import factory + +# basic classes +from .xdict import ExtensionDict +from .xdata import XData +from .appdata import AppData, Reactors +from .dxfentity import DXFEntity, DXFTagStorage +from .dxfgfx import DXFGraphic, SeqEnd, is_graphic_entity, get_font_name +from .dxfobj import DXFObject, is_dxf_object +from .dxfns import DXFNamespace, SubclassProcessor + +# register management structures +from .dxfclass import DXFClass +from .table import TableHead + +# register table entries +from .ltype import Linetype +from .layer import Layer, LayerOverrides +from .textstyle import Textstyle +from .dimstyle import DimStyle +from .view import View +from .vport import VPort +from .ucs import UCSTableEntry +from .appid import AppID +from .blockrecord import BlockRecord + +# register DXF objects R2000 +from .acad_proxy_entity import ACADProxyEntity +from .dxfobj import XRecord, Placeholder, VBAProject, SortEntsTable +from .dictionary import Dictionary, DictionaryVar, DictionaryWithDefault +from .layout import DXFLayout +from .idbuffer import IDBuffer +from .sun import Sun +from .material import Material, MaterialCollection +from .oleframe import OLE2Frame +from .spatial_filter import SpatialFilter + +# register DXF objects R2007 +from .visualstyle import VisualStyle + +# register entities R12 +from .line import Line +from .point import Point +from .circle import Circle +from .arc import Arc +from .shape import Shape +from .solid import Solid, Face3d, Trace +from .text import Text +from .subentity import LinkedEntities, entity_linker +from .insert import Insert +from .block import Block, EndBlk +from .polyline import Polyline, Polyface, Polymesh, MeshVertexCache +from .attrib import Attrib, AttDef, copy_attrib_as_text +from .dimension import * +from .dimstyleoverride import DimStyleOverride +from .viewport import Viewport + +# register graphical entities R2000 +from .lwpolyline import LWPolyline +from .ellipse import Ellipse +from .xline import XLine, Ray +from .mtext import MText +from .mtext_columns import * +from .spline import Spline +from .mesh import Mesh, MeshData +from .boundary_paths import * +from .gradient import * +from .pattern import * +from .hatch import * +from .mpolygon import MPolygon +from .image import Image, ImageDef, Wipeout +from .underlay import ( + Underlay, + UnderlayDefinition, + PdfUnderlay, + DgnUnderlay, + DwfUnderlay, +) +from .leader import Leader +from .tolerance import Tolerance +from .helix import Helix +from .acis import ( + Body, + Solid3d, + Region, + Surface, + ExtrudedSurface, + LoftedSurface, + RevolvedSurface, + SweptSurface, +) +from .mline import MLine, MLineVertex, MLineStyle, MLineStyleCollection +from .mleader import MLeader, MLeaderStyle, MLeaderStyleCollection, MultiLeader + +# register graphical entities R2004 + +# register graphical entities R2007 + +from .light import Light +from .acad_table import ( + AcadTableBlockContent, + acad_table_to_block, + read_acad_table_content, +) + +# register graphical entities R2010 + +from .geodata import GeoData + +# register graphical entities R2013 + +# register graphical entities R2018 diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/entities/acad_proxy_entity.py b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/entities/acad_proxy_entity.py new file mode 100644 index 0000000000000000000000000000000000000000..4a2aaf534663e5740d05eb0fe1a2fbddf523329b --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/entities/acad_proxy_entity.py @@ -0,0 +1,147 @@ +# Copyright (c) 2021-2023, Manfred Moitzi +# License: MIT License +from __future__ import annotations +from typing import TYPE_CHECKING, Optional, Iterator +from ezdxf.lldxf import const +from ezdxf.lldxf.tags import Tags +from ezdxf.query import EntityQuery +from .dxfentity import SubclassProcessor +from .dxfgfx import DXFGraphic +from . import factory +from .copy import default_copy, CopyNotSupported + +if TYPE_CHECKING: + from ezdxf.lldxf.tagwriter import AbstractTagWriter + from ezdxf.entities import DXFNamespace + from ezdxf.layouts import BaseLayout + + +# Group Codes of AcDbProxyEntity +# https://help.autodesk.com/view/OARX/2018/ENU/?guid=GUID-89A690F9-E859-4D57-89EA-750F3FB76C6B +# 100 AcDbProxyEntity +# 90 Proxy entity class ID (always 498) +# 91 Application entity's class ID. Class IDs are based on the order of +# the class in the CLASSES section. The first class is given the ID of +# 500, the next is 501, and so on +# +# 92 Size of graphics data in bytes < R2010; R2010+ = 160 +# 310 Binary graphics data (multiple entries can appear) (optional) +# +# 96 Size of unknown data in bytes < R2010; R2010+ = 162 +# 311 Binary entity data (multiple entries can appear) (optional) +# +# 93 Size of entity data in bits None: + super().__init__() + self.acdb_proxy_entity: Optional[Tags] = None + + def copy(self, copy_strategy=default_copy): + raise CopyNotSupported(f"Copying of {self.dxftype()} not supported.") + + def load_dxf_attribs( + self, processor: Optional[SubclassProcessor] = None + ) -> DXFNamespace: + dxf = super().load_dxf_attribs(processor) + if processor: + self.acdb_proxy_entity = processor.subclass_by_index(2) + self.load_proxy_graphic() + return dxf + + def load_proxy_graphic(self) -> None: + if self.acdb_proxy_entity is None: + return + for length_code in (92, 160): + proxy_graphic = load_proxy_data(self.acdb_proxy_entity, length_code, 310) + if proxy_graphic: + self.proxy_graphic = proxy_graphic + return + + def export_dxf(self, tagwriter: AbstractTagWriter) -> None: + # Proxy graphic is stored in AcDbProxyEntity and not as usual in + # AcDbEntity! + preserve_proxy_graphic = self.proxy_graphic + self.proxy_graphic = None + super().export_dxf(tagwriter) + self.proxy_graphic = preserve_proxy_graphic + + def export_entity(self, tagwriter: AbstractTagWriter) -> None: + """Export entity specific data as DXF tags. (internal API)""" + # Base class and AcDbEntity export is done by parent class + super().export_entity(tagwriter) + if self.acdb_proxy_entity is not None: + tagwriter.write_tags(self.acdb_proxy_entity) + # XDATA export is done by the parent class + + def __virtual_entities__(self) -> Iterator[DXFGraphic]: + """Implements the SupportsVirtualEntities protocol.""" + from ezdxf.proxygraphic import ProxyGraphic + + if self.proxy_graphic: + for e in ProxyGraphic(self.proxy_graphic, doc=self.doc).virtual_entities(): + e.set_source_of_copy(self) + yield e + + def virtual_entities(self) -> Iterator[DXFGraphic]: + """Yields proxy graphic as "virtual" entities.""" + return self.__virtual_entities__() + + def explode(self, target_layout: Optional[BaseLayout] = None) -> EntityQuery: + """Explodes the proxy graphic for the ACAD_PROXY_ENTITY into the target layout, + if target layout is ``None``, the layout of the ACAD_PROXY_ENTITY will be used. + This method destroys the source ACAD_PROXY_ENTITY entity. + + Args: + target_layout: target layout for exploded entities, ``None`` for + same layout as the source ACAD_PROXY_ENTITY. + + Returns: + :class:`~ezdxf.query.EntityQuery` container referencing all exploded + DXF entities. + + """ + if target_layout is None: + target_layout = self.get_layout() + if target_layout is None: + raise const.DXFStructureError( + "ACAD_PROXY_ENTITY without layout assignment, specify target layout" + ) + entities: list[DXFGraphic] = list(self.__virtual_entities__()) + for e in entities: + target_layout.add_entity(e) + self.destroy() + return EntityQuery(entities) + + +def load_proxy_data( + tags: Tags, length_code: int, data_code: int = 310 +) -> Optional[bytes]: + try: + index = tags.tag_index(length_code) + except const.DXFValueError: + return None + binary_data = [] + for code, value in tags[index + 1 :]: + if code == data_code: + binary_data.append(value) + else: + break # at first tag with group code != data_code + return b"".join(binary_data) diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/entities/acad_table.py b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/entities/acad_table.py new file mode 100644 index 0000000000000000000000000000000000000000..b70b241904d7279d091e52217523557e9147dccd --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/entities/acad_table.py @@ -0,0 +1,477 @@ +# Copyright (c) 2019-2024 Manfred Moitzi +# License: MIT License +from __future__ import annotations +from typing import TYPE_CHECKING, Iterable, Optional, Iterator +from typing_extensions import Self +import copy +from ezdxf.math import Vec3, Matrix44 +from ezdxf.lldxf.tags import Tags, group_tags +from ezdxf.lldxf.attributes import ( + DXFAttr, + DXFAttributes, + DefSubclass, + XType, + group_code_mapping, +) +from ezdxf.lldxf import const +from ezdxf.entities import factory +from .dxfentity import base_class, SubclassProcessor, DXFEntity, DXFTagStorage +from .dxfgfx import DXFGraphic, acdb_entity +from .dxfobj import DXFObject +from .objectcollection import ObjectCollection +from .copy import default_copy + +if TYPE_CHECKING: + from ezdxf.entities import DXFNamespace + from ezdxf.lldxf.tagwriter import AbstractTagWriter + from ezdxf.document import Drawing + +__all__ = [ + "AcadTable", + "AcadTableBlockContent", + "acad_table_to_block", + "read_acad_table_content", +] + + +acdb_block_reference = DefSubclass( + "AcDbBlockReference", + { + # Block name: an anonymous block begins with a *T value + "geometry": DXFAttr(2), + # Insertion point: + "insert": DXFAttr(10, xtype=XType.point3d, default=Vec3(0, 0, 0)), + }, +) +acdb_block_reference_group_codes = group_code_mapping(acdb_block_reference) + +acdb_table = DefSubclass( + "AcDbTable", + { + # Table data version number: 0 = 2010 + "version": DXFAttr(280), + # Hard of the TABLESTYLE object: + "table_style_id": DXFAttr(342), + # Handle of the associated anonymous BLOCK containing the graphical + # representation: + "block_record_handle": DXFAttr(343), + # Horizontal direction vector: + "horizontal_direction": DXFAttr(11), + # Flag for table value (unsigned integer): + "table_value": DXFAttr(90), + # Number of rows: + "n_rows": DXFAttr(91), + # Number of columns: + "n_cols": DXFAttr(92), + # Flag for an override: + "override_flag": DXFAttr(93), + # Flag for an override of border color: + "border_color_override_flag": DXFAttr(94), + # Flag for an override of border lineweight: + "border_lineweight_override_flag": DXFAttr(95), + # Flag for an override of border visibility: + "border_visibility_override_flag": DXFAttr(96), + # 141: Row height; this value is repeated, 1 value per row + # 142: Column height; this value is repeated, 1 value per column + # for every cell: + # 171: Cell type; this value is repeated, 1 value per cell: + # 1 = text type + # 2 = block type + # 172: Cell flag value; this value is repeated, 1 value per cell + # 173: Cell merged value; this value is repeated, 1 value per cell + # 174: Boolean flag indicating if the autofit option is set for the + # cell; this value is repeated, 1 value per cell + # 175: Cell border width (applicable only for merged cells); this + # value is repeated, 1 value per cell + # 176: Cell border height (applicable for merged cells); this value + # is repeated, 1 value per cell + # 91: Cell override flag; this value is repeated, 1 value per cell + # (from AutoCAD 2007) + # 178: Flag value for a virtual edge + # 145: Rotation value (real; applicable for a block-type cell and + # a text-type cell) + # 344: Hard pointer ID of the FIELD object. This applies only to a + # text-type cell. If the text in the cell contains one or more + # fields, only the ID of the FIELD object is saved. + # The text string (group codes 1 and 3) is ignored + # 1: Text string in a cell. If the string is shorter than 250 + # characters, all characters appear in code 1. + # If the string is longer than 250 characters, it is divided + # into chunks of 250 characters. + # The chunks are contained in one or more code 2 codes. + # If code 2 codes are used, the last group is a code 1 and is + # shorter than 250 characters. + # This value applies only to text-type cells and is repeated, + # 1 value per cell + # 2: Text string in a cell, in 250-character chunks; optional. + # This value applies only to text-type cells and is repeated, + # 1 value per cell + # 340: Hard-pointer ID of the block table record. + # This value applies only to block-type cells and is repeated, + # 1 value per cell + # 144: Block scale (real). This value applies only to block-type + # cells and is repeated, 1 value per cell + # 176: Number of attribute definitions in the block table record + # (applicable only to a block-type cell) + # for every ATTDEF: + # 331: Soft pointer ID of the attribute definition in the + # block table record, referenced by group code 179 + # (applicable only for a block-type cell). This value is + # repeated once per attribute definition + # 300: Text string value for an attribute definition, repeated + # once per attribute definition and applicable only for + # a block-type cell + # 7: Text style name (string); override applied at the cell level + # 140: Text height value; override applied at the cell level + # 170: Cell alignment value; override applied at the cell level + # 64: Value for the color of cell content; override applied at the + # cell level + # 63: Value for the background (fill) color of cell content; + # override applied at the cell level + # 69: True color value for the top border of the cell; + # override applied at the cell level + # 65: True color value for the right border of the cell; + # override applied at the cell level + # 66: True color value for the bottom border of the cell; + # override applied at the cell level + # 68: True color value for the left border of the cell; + # override applied at the cell level + # 279: Lineweight for the top border of the cell; + # override applied at the cell level + # 275: Lineweight for the right border of the cell; + # override applied at the cell level + # 276: Lineweight for the bottom border of the cell; + # override applied at the cell level + # 278: Lineweight for the left border of the cell; + # override applied at the cell level + # 283: Boolean flag for whether the fill color is on; + # override applied at the cell level + # 289: Boolean flag for the visibility of the top border of the cell; + # override applied at the cell level + # 285: Boolean flag for the visibility of the right border of the cell; + # override applied at the cell level + # 286: Boolean flag for the visibility of the bottom border of the cell; + # override applied at the cell level + # 288: Boolean flag for the visibility of the left border of the cell; + # override applied at the cell level + # 70: Flow direction; + # override applied at the table entity level + # 40: Horizontal cell margin; + # override applied at the table entity level + # 41: Vertical cell margin; + # override applied at the table entity level + # 280: Flag for whether the title is suppressed; + # override applied at the table entity level + # 281: Flag for whether the header row is suppressed; + # override applied at the table entity level + # 7: Text style name (string); + # override applied at the table entity level. + # There may be one entry for each cell type + # 140: Text height (real); + # override applied at the table entity level. + # There may be one entry for each cell type + # 170: Cell alignment (integer); + # override applied at the table entity level. + # There may be one entry for each cell type + # 63: Color value for cell background or for the vertical, left + # border of the table; override applied at the table entity + # level. There may be one entry for each cell type + # 64: Color value for cell content or for the horizontal, top + # border of the table; override applied at the table entity + # level. There may be one entry for each cell type + # 65: Color value for the horizontal, inside border lines; + # override applied at the table entity level + # 66: Color value for the horizontal, bottom border lines; + # override applied at the table entity level + # 68: Color value for the vertical, inside border lines; + # override applied at the table entity level + # 69: Color value for the vertical, right border lines; + # override applied at the table entity level + # 283: Flag for whether background color is enabled (default = 0); + # override applied at the table entity level. + # There may be one entry for each cell type: 0/1 = Disabled/Enabled + # 274-279: Lineweight for each border type of the cell (default = kLnWtByBlock); + # override applied at the table entity level. + # There may be one group for each cell type + # 284-289: Flag for visibility of each border type of the cell (default = 1); + # override applied at the table entity level. + # There may be one group for each cell type: 0/1 = Invisible/Visible + # 97: Standard/title/header row data type + # 98: Standard/title/header row unit type + # 4: Standard/title/header row format string + # + # AutoCAD 2007 and before: + # 177: Cell override flag value (before AutoCAD 2007) + # 92: Extended cell flags (from AutoCAD 2007), COLLISION: group code + # also used by n_cols + # 301: Text string in a cell. If the string is shorter than 250 + # characters, all characters appear in code 302. + # If the string is longer than 250 characters, it is divided into + # chunks of 250 characters. + # The chunks are contained in one or more code 303 codes. + # If code 393 codes are used, the last group is a code 1 and is + # shorter than 250 characters. + # --- WRONG: The text is divided into chunks of group code 2 and the last + # chuck has group code 1. + # This value applies only to text-type cells and is repeated, + # 1 value per cell (from AutoCAD 2007) + # 302: Text string in a cell, in 250-character chunks; optional. + # This value applies only to text-type cells and is repeated, + # 302 value per cell (from AutoCAD 2007) + # --- WRONG: 302 contains all the text as a long string, tested with more + # than 66000 characters + # BricsCAD writes long text in cells with both methods: 302 & (2, 2, 2, ..., 1) + # + # REMARK from Autodesk: + # Group code 178 is a flag value for a virtual edge. A virtual edge is + # used when a grid line is shared by two cells. + # For example, if a table contains one row and two columns and it + # contains cell A and cell B, the central grid line + # contains the right edge of cell A and the left edge of cell B. + # One edge is real, and the other edge is virtual. + # The virtual edge points to the real edge; both edges have the same + # set of properties, including color, lineweight, and visibility. + }, +) +acdb_table_group_codes = group_code_mapping(acdb_table) + + +# todo: implement ACAD_TABLE +class AcadTable(DXFGraphic): + """DXF ACAD_TABLE entity""" + + DXFTYPE = "ACAD_TABLE" + DXFATTRIBS = DXFAttributes( + base_class, acdb_entity, acdb_block_reference, acdb_table + ) + MIN_DXF_VERSION_FOR_EXPORT = const.DXF2007 + + def __init__(self): + super().__init__() + self.data = None + + def copy_data(self, entity: Self, copy_strategy=default_copy) -> None: + """Copy data.""" + assert isinstance(entity, AcadTable) + entity.data = copy.deepcopy(self.data) + + def load_dxf_attribs( + self, processor: Optional[SubclassProcessor] = None + ) -> DXFNamespace: + dxf = super().load_dxf_attribs(processor) + if processor: + processor.fast_load_dxfattribs( + dxf, acdb_block_reference_group_codes, subclass=2 + ) + tags = processor.fast_load_dxfattribs( + dxf, acdb_table_group_codes, subclass=3, log=False + ) + self.load_table(tags) + return dxf + + def load_table(self, tags: Tags): + pass + + def export_entity(self, tagwriter: AbstractTagWriter) -> None: + """Export entity specific data as DXF tags.""" + super().export_entity(tagwriter) + tagwriter.write_tag2(const.SUBCLASS_MARKER, acdb_block_reference.name) + self.dxf.export_dxf_attribs(tagwriter, ["geometry", "insert"]) + tagwriter.write_tag2(const.SUBCLASS_MARKER, acdb_table.name) + self.export_table(tagwriter) + + def export_table(self, tagwriter: AbstractTagWriter): + pass + + def __referenced_blocks__(self) -> Iterable[str]: + """Support for "ReferencedBlocks" protocol.""" + if self.doc: + block_record_handle = self.dxf.get("block_record_handle", None) + if block_record_handle: + return (block_record_handle,) + return tuple() + + +acdb_table_style = DefSubclass( + "AcDbTableStyle", + { + # Table style version: 0 = 2010 + "version": DXFAttr(280), + # Table style description (string; 255 characters maximum): + "name": DXFAttr(3), + # FlowDirection (integer): + # 0 = Down + # 1 = Up + "flow_direction": DXFAttr(7), + # Flags (bit-coded) + "flags": DXFAttr(7), + # Horizontal cell margin (real; default = 0.06) + "horizontal_cell_margin": DXFAttr(40), + # Vertical cell margin (real; default = 0.06) + "vertical_cell_margin": DXFAttr(41), + # Flag for whether the title is suppressed: + # 0/1 = not suppressed/suppressed + "suppress_title": DXFAttr(280), + # Flag for whether the column heading is suppressed: + # 0/1 = not suppressed/suppressed + "suppress_column_header": DXFAttr(281), + # The following group codes are repeated for every cell in the table + # 7: Text style name (string; default = STANDARD) + # 140: Text height (real) + # 170: Cell alignment (integer) + # 62: Text color (integer; default = BYBLOCK) + # 63: Cell fill color (integer; default = 7) + # 283: Flag for whether background color is enabled (default = 0): + # 0/1 = disabled/enabled + # 90: Cell data type + # 91: Cell unit type + # 274-279: Lineweight associated with each border type of the cell + # (default = kLnWtByBlock) + # 284-289: Flag for visibility associated with each border type of the cell + # (default = 1): 0/1 = Invisible/Visible + # 64-69: Color value associated with each border type of the cell + # (default = BYBLOCK) + }, +) + + +# todo: implement TABLESTYLE +class TableStyle(DXFObject): + """DXF TABLESTYLE entity + + Every ACAD_TABLE has its own table style. + + Requires DXF version AC1021/R2007 + """ + + DXFTYPE = "TABLESTYLE" + DXFATTRIBS = DXFAttributes(base_class, acdb_table_style) + MIN_DXF_VERSION_FOR_EXPORT = const.DXF2007 + + +class TableStyleManager(ObjectCollection[TableStyle]): + def __init__(self, doc: Drawing): + super().__init__(doc, dict_name="ACAD_TABLESTYLE", object_type="TABLESTYLE") + + +@factory.register_entity +class AcadTableBlockContent(DXFTagStorage): + DXFTYPE = "ACAD_TABLE" + DXFATTRIBS = DXFAttributes( + base_class, acdb_entity, acdb_block_reference, acdb_table + ) + + def load_dxf_attribs( + self, processor: Optional[SubclassProcessor] = None + ) -> DXFNamespace: + dxf = super().load_dxf_attribs(processor) + if processor: + processor.fast_load_dxfattribs( + dxf, acdb_block_reference_group_codes, subclass=2 + ) + processor.fast_load_dxfattribs( + dxf, acdb_table_group_codes, subclass=3, log=False + ) + return dxf + + def proxy_graphic_content(self) -> Iterable[DXFGraphic]: + return super().__virtual_entities__() + + def _block_content(self) -> Iterator[DXFGraphic]: + block_name: str = self.get_block_name() + return self.doc.blocks.get(block_name, []) # type: ignore + + def get_block_name(self) -> str: + return self.dxf.get("geometry", "") + + def get_insert_location(self) -> Vec3: + return self.dxf.get("insert", Vec3()) + + def __virtual_entities__(self) -> Iterator[DXFGraphic]: + """Implements the SupportsVirtualEntities protocol.""" + insert: Vec3 = Vec3(self.get_insert_location()) + m: Optional[Matrix44] = None + if insert: + # TODO: OCS transformation (extrusion) is ignored yet + m = Matrix44.translate(insert.x, insert.y, insert.z) + + for entity in self._block_content(): + try: + clone = entity.copy() + except const.DXFTypeError: + continue + if m is not None: + try: + clone.transform(m) + except: # skip entity at any transformation issue + continue + yield clone + + +def acad_table_to_block(table: DXFEntity) -> None: + """Converts the given ACAD_TABLE entity to a block references (INSERT entity). + + The original ACAD_TABLE entity will be destroyed. + + .. versionadded:: 1.1 + + """ + if not isinstance(table, AcadTableBlockContent): + return + doc = table.doc + owner = table.dxf.owner + block_name = table.get_block_name() + if doc is None or block_name == "" or owner is None: + return + try: + layout = doc.layouts.get_layout_by_key(owner) + except const.DXFKeyError: + return + # replace ACAD_TABLE entity by INSERT entity + layout.add_blockref( + block_name, + insert=table.get_insert_location(), + dxfattribs={"layer": table.dxf.get("layer", "0")}, + ) + layout.delete_entity(table) # type: ignore + + +def read_acad_table_content(table: DXFTagStorage) -> list[list[str]]: + """Returns the content of an ACAD_TABLE entity as list of table rows. + + If the count of table rows or table columns is missing the complete content is + stored in the first row. + """ + if table.dxftype() != "ACAD_TABLE": + raise const.DXFTypeError(f"Expected ACAD_TABLE entity, got {str(table)}") + acdb_table = table.xtags.get_subclass("AcDbTable") + + nrows = acdb_table.get_first_value(91, 0) + ncols = acdb_table.get_first_value(92, 0) + split_code = 171 # DXF R2004 + if acdb_table.has_tag(302): + split_code = 301 # DXF R2007 and later + values = _load_table_values(acdb_table, split_code) + if nrows * ncols == 0: + return [values] + content: list[list[str]] = [] + for index in range(nrows): + start = index * ncols + content.append(values[start : start + ncols]) + return content + + +def _load_table_values(tags: Tags, split_code: int) -> list[str]: + values: list[str] = [] + for group in group_tags(tags, splitcode=split_code): + g_tags = Tags(group) + if g_tags.has_tag(302): # DXF R2007 and later + # contains all text as one long string, with more than 66000 chars tested + values.append(g_tags.get_first_value(302)) + else: + # DXF R2004 + # Text is divided into chunks (2, 2, 2, ..., 1) or (3, 3, 3, ..., 1) + # DXF reference says group code 2, BricsCAD writes group code 3 + s = "".join(tag.value for tag in g_tags if 1 <= tag.code <= 3) + values.append(s) + return values diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/entities/acad_xrec_roundtrip.py b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/entities/acad_xrec_roundtrip.py new file mode 100644 index 0000000000000000000000000000000000000000..cf9b7d6cb48815e2e6292a7e1875a985981fabf9 --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/entities/acad_xrec_roundtrip.py @@ -0,0 +1,99 @@ +# Copyright (c) 2023, Manfred Moitzi +# License: MIT License +from __future__ import annotations + +from ezdxf.entities import XRecord +from ezdxf.lldxf.tags import Tags +from ezdxf.lldxf.types import DXFTag + +__all__ = ["RoundtripXRecord"] + +SECTION_MARKER_CODE = 102 +NOT_FOUND = -1 + +class RoundtripXRecord: + """Helper class for ACAD Roundtrip Data. + + The data is stored in an XRECORD, in sections separated by tags + (102, "ACAD_SECTION_NAME"). + + Example for inverted clipping path of SPATIAL_FILTER objects: + + ... + 100 + AcDbXrecord + 280 + 1 + 102 + ACAD_INVERTEDCLIP_ROUNDTRIP + 10 + 399.725563048036 + 20 + 233.417786599994 + 30 + 0.0 + ... + 102 + ACAD_INVERTEDCLIP_ROUNDTRIP_COMPARE + 10 + 399.725563048036 + 20 + 233.417786599994 + ... + + """ + + def __init__(self, xrecord: XRecord | None = None) -> None: + if xrecord is None: + xrecord = XRecord() + self.xrecord = xrecord + + def has_section(self, key: str) -> bool: + """Returns True if an entry section for key is present.""" + for code, value in self.xrecord.tags: + if code == SECTION_MARKER_CODE and value == key: + return True + return False + + def set_section(self, key: str, tags: Tags) -> None: + """Set content of section `key` to `tags`. Replaces the content of an existing section.""" + xrecord_tags = self.xrecord.tags + start, end = find_section(xrecord_tags, key) + if start == NOT_FOUND: + xrecord_tags.append(DXFTag(SECTION_MARKER_CODE, key)) + xrecord_tags.extend(tags) + else: + xrecord_tags[start + 1 : end] = tags + + def get_section(self, key: str) -> Tags: + """Returns the content of section `key`.""" + xrecord_tags = self.xrecord.tags + start, end = find_section(xrecord_tags, key) + if start != NOT_FOUND: + return xrecord_tags[start + 1 : end] + return Tags() + + def discard(self, key: str) -> None: + """Removes section `key`, section `key` doesn't have to exist.""" + xrecord_tags = self.xrecord.tags + start, end = find_section(xrecord_tags, key) + if start != NOT_FOUND: + del xrecord_tags[start:end] + + +def find_section(tags: Tags, key: str) -> tuple[int, int]: + """Returns the start- and end index of section `key`. + + Returns (-1, -1) if the section does not exist. + """ + start = NOT_FOUND + for index, tag in enumerate(tags): + if tag.code != 102: + continue + if tag.value == key: + start = index + elif start != NOT_FOUND: + return start, index + if start != NOT_FOUND: + return start, len(tags) + return NOT_FOUND, NOT_FOUND diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/entities/acis.py b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/entities/acis.py new file mode 100644 index 0000000000000000000000000000000000000000..e540dc8882837968b0f56db022600d25e3d31bac --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/entities/acis.py @@ -0,0 +1,837 @@ +# Copyright (c) 2019-2024 Manfred Moitzi +# License: MIT License +from __future__ import annotations +from typing import TYPE_CHECKING, Iterable, Union, Optional, Sequence, Any +from typing_extensions import Self, override +import logging + +from ezdxf.lldxf.attributes import ( + DXFAttr, + DXFAttributes, + DefSubclass, + XType, + group_code_mapping, +) +from ezdxf.lldxf import const +from ezdxf.lldxf.tags import Tags, DXFTag +from ezdxf.math import Matrix44 +from ezdxf.tools import crypt, guid +from ezdxf import msgtypes + +from .dxfentity import base_class, SubclassProcessor +from .dxfgfx import DXFGraphic, acdb_entity +from .factory import register_entity +from .copy import default_copy +from .temporary_transform import TransformByBlockReference + +if TYPE_CHECKING: + from ezdxf.entities import DXFNamespace + from ezdxf.lldxf.tagwriter import AbstractTagWriter + from ezdxf import xref + + +__all__ = [ + "Body", + "Solid3d", + "Region", + "Surface", + "ExtrudedSurface", + "LoftedSurface", + "RevolvedSurface", + "SweptSurface", +] + +logger = logging.getLogger("ezdxf") +acdb_modeler_geometry = DefSubclass( + "AcDbModelerGeometry", + { + "version": DXFAttr(70, default=1), + "flags": DXFAttr(290, dxfversion=const.DXF2013), + "uid": DXFAttr(2, dxfversion=const.DXF2013), + }, +) +acdb_modeler_geometry_group_codes = group_code_mapping(acdb_modeler_geometry) + +# with R2013/AC1027 Modeler Geometry of ACIS data is stored in the ACDSDATA +# section as binary encoded information detection: +# group code 70, 1, 3 is missing +# group code 290, 2 present +# +# 0 +# ACDSRECORD +# 90 +# 1 +# 2 +# AcDbDs::ID +# 280 +# 10 +# 320 +# 19B <<< handle of associated 3DSOLID entity in model space +# 2 +# ASM_Data +# 280 +# 15 +# 94 +# 7197 <<< size in bytes ??? +# 310 +# 414349532042696E61727946696C6... + + +@register_entity +class Body(DXFGraphic): + """DXF BODY entity - container entity for embedded ACIS data.""" + + DXFTYPE = "BODY" + DXFATTRIBS = DXFAttributes(base_class, acdb_entity, acdb_modeler_geometry) + MIN_DXF_VERSION_FOR_EXPORT = const.DXF2000 + + def __init__(self) -> None: + super().__init__() + # Store SAT data as immutable sequence of strings, so the data can be shared + # across multiple copies of an ACIS entity. + self._sat: Sequence[str] = tuple() + self._sab: bytes = b"" + self._update = False + self._temporary_transformation = TransformByBlockReference() + + @property + def acis_data(self) -> Union[bytes, Sequence[str]]: + """Returns :term:`SAT` data for DXF R2000 up to R2010 and :term:`SAB` + data for DXF R2013 and later + """ + if self.has_binary_data: + return self.sab + return self.sat + + @property + def sat(self) -> Sequence[str]: + """Get/Set :term:`SAT` data as sequence of strings.""" + return self._sat + + @sat.setter + def sat(self, data: Sequence[str]) -> None: + """Set :term:`SAT` data as sequence of strings.""" + self._sat = tuple(data) + + @property + def sab(self) -> bytes: + """Get/Set :term:`SAB` data as bytes.""" + if ( # load SAB data on demand + self.doc is not None and self.has_binary_data and len(self._sab) == 0 + ): + self._sab = self.doc.acdsdata.get_acis_data(self.dxf.handle) + return self._sab + + @sab.setter + def sab(self, data: bytes) -> None: + """Set :term:`SAB` data as bytes.""" + self._update = True + self._sab = data + + @property + def has_binary_data(self): + """Returns ``True`` if the entity contains :term:`SAB` data and + ``False`` if the entity contains :term:`SAT` data. + """ + if self.doc: + return self.doc.dxfversion >= const.DXF2013 + else: + return False + + @override + def copy_data(self, entity: Self, copy_strategy=default_copy) -> None: + assert isinstance(entity, Body) + entity.sat = self.sat + entity.sab = self.sab # load SAB on demand + entity.dxf.uid = guid() + entity._temporary_transformation = self._temporary_transformation + + @override + def map_resources(self, clone: Self, mapping: xref.ResourceMapper) -> None: + """Translate resources from self to the copied entity.""" + super().map_resources(clone, mapping) + clone.convert_acis_data() + + def convert_acis_data(self) -> None: + if self.doc is None: + return + msg = "" + dxfversion = self.doc.dxfversion + if dxfversion < const.DXF2013: + if self._sab: + self._sab = b"" + msg = "DXF version mismatch, can't convert ACIS data from SAB to SAT, SAB data removed." + else: + if self._sat: + self._sat = tuple() + msg = "DXF version mismatch, can't convert ACIS data from SAT to SAB, SAT data removed." + if msg: + logger.info(msg) + + @override + def notify(self, message_type: int, data: Any = None) -> None: + if message_type == msgtypes.COMMIT_PENDING_CHANGES: + self._temporary_transformation.apply_transformation(self) + + @override + def preprocess_export(self, tagwriter: AbstractTagWriter) -> bool: + msg = "" + if tagwriter.dxfversion < const.DXF2013: + valid = len(self.sat) > 0 + if not valid: + msg = f"{str(self)} doesn't have SAT data, skipping DXF export" + else: + valid = len(self.sab) > 0 + if not valid: + msg = f"{str(self)} doesn't have SAB data, skipping DXF export" + if not valid: + logger.info(msg) + if valid and self._temporary_transformation.get_matrix() is not None: + logger.warning(f"{str(self)} has unapplied temporary transformations.") + return valid + + @override + def load_dxf_attribs( + self, processor: Optional[SubclassProcessor] = None + ) -> DXFNamespace: + """Loading interface. (internal API)""" + dxf = super().load_dxf_attribs(processor) + if processor: + processor.fast_load_dxfattribs( + dxf, acdb_modeler_geometry_group_codes, 2, log=False + ) + if not self.has_binary_data: + self.load_sat_data(processor.subclasses[2]) + return dxf + + def load_sat_data(self, tags: Tags): + """Loading interface. (internal API)""" + text_lines = tags2textlines(tag for tag in tags if tag.code in (1, 3)) + self._sat = tuple(crypt.decode(text_lines)) + + @override + def export_entity(self, tagwriter: AbstractTagWriter) -> None: + """Export entity specific data as DXF tags. (internal API)""" + super().export_entity(tagwriter) + tagwriter.write_tag2(const.SUBCLASS_MARKER, acdb_modeler_geometry.name) + if tagwriter.dxfversion >= const.DXF2013: + # ACIS data is stored in the ACDSDATA section as SAB + if self.doc and self._update: + # write back changed SAB data into AcDsDataSection or create + # a new ACIS record: + self.doc.acdsdata.set_acis_data(self.dxf.handle, self.sab) + if self.dxf.hasattr("version"): + tagwriter.write_tag2(70, self.dxf.version) + self.dxf.export_dxf_attribs(tagwriter, ["flags", "uid"]) + else: + # DXF R2000 - R2010 stores the ACIS data as SAT in the entity + self.dxf.export_dxf_attribs(tagwriter, "version") + self.export_sat_data(tagwriter) + + def export_sat_data(self, tagwriter: AbstractTagWriter) -> None: + """Export ACIS data as DXF tags. (internal API)""" + + def cleanup(lines): + for line in lines: + yield line.rstrip().replace("\n", "") + + tags = Tags(textlines2tags(crypt.encode(cleanup(self.sat)))) + tagwriter.write_tags(tags) + + def tostring(self) -> str: + """Returns ACIS :term:`SAT` data as a single string if the entity has + SAT data. + """ + if self.has_binary_data: + return "" + else: + return "\n".join(self.sat) + + @override + def destroy(self) -> None: + if self.has_binary_data: + self.doc.acdsdata.del_acis_data(self.dxf.handle) # type: ignore + super().destroy() + + @override + def transform(self, m: Matrix44) -> Self: + self._temporary_transformation.add_matrix(m) + return self + + def temporary_transformation(self) -> TransformByBlockReference: + return self._temporary_transformation + + +def tags2textlines(tags: Iterable) -> Iterable[str]: + """Yields text lines from code 1 and 3 tags, code 1 starts a line following + code 3 tags are appended to the line. + """ + line = None + for code, value in tags: + if code == 1: + if line is not None: + yield line + line = value + elif code == 3: + line += value + if line is not None: + yield line + + +def textlines2tags(lines: Iterable[str]) -> Iterable[DXFTag]: + """Yields text lines as DXFTags, splitting long lines (>255) int code 1 + and code 3 tags. + """ + for line in lines: + text = line[:255] + tail = line[255:] + yield DXFTag(1, text) + while len(tail): + text = tail[:255] + tail = tail[255:] + yield DXFTag(3, text) + + +@register_entity +class Region(Body): + """DXF REGION entity - container entity for embedded ACIS data.""" + + DXFTYPE = "REGION" + + +acdb_3dsolid = DefSubclass( + "AcDb3dSolid", + { + "history_handle": DXFAttr(350, default="0"), + }, +) +acdb_3dsolid_group_codes = group_code_mapping(acdb_3dsolid) + + +@register_entity +class Solid3d(Body): + """DXF 3DSOLID entity - container entity for embedded ACIS data.""" + + DXFTYPE = "3DSOLID" + DXFATTRIBS = DXFAttributes( + base_class, acdb_entity, acdb_modeler_geometry, acdb_3dsolid + ) + + @override + def load_dxf_attribs( + self, processor: Optional[SubclassProcessor] = None + ) -> DXFNamespace: + dxf = super().load_dxf_attribs(processor) + if processor: + processor.fast_load_dxfattribs(dxf, acdb_3dsolid_group_codes, 3) + return dxf + + @override + def export_entity(self, tagwriter: AbstractTagWriter) -> None: + """Export entity specific data as DXF tags.""" + # base class export is done by parent class + super().export_entity(tagwriter) + # AcDbEntity export is done by parent class + # AcDbModelerGeometry export is done by parent class + if tagwriter.dxfversion > const.DXF2004: + tagwriter.write_tag2(const.SUBCLASS_MARKER, acdb_3dsolid.name) + self.dxf.export_dxf_attribs(tagwriter, "history_handle") + + +def load_matrix(subclass: Tags, code: int) -> Matrix44: + values = [tag.value for tag in subclass.find_all(code)] + if len(values) != 16: + raise const.DXFStructureError("Invalid transformation matrix.") + return Matrix44(values) + + +def export_matrix(tagwriter: AbstractTagWriter, code: int, matrix: Matrix44) -> None: + for value in list(matrix): + tagwriter.write_tag2(code, value) + + +acdb_surface = DefSubclass( + "AcDbSurface", + { + "u_count": DXFAttr(71), + "v_count": DXFAttr(72), + }, +) +acdb_surface_group_codes = group_code_mapping(acdb_surface) + + +@register_entity +class Surface(Body): + """DXF SURFACE entity - container entity for embedded ACIS data.""" + + DXFTYPE = "SURFACE" + DXFATTRIBS = DXFAttributes( + base_class, acdb_entity, acdb_modeler_geometry, acdb_surface + ) + + @override + def load_dxf_attribs( + self, processor: Optional[SubclassProcessor] = None + ) -> DXFNamespace: + dxf = super().load_dxf_attribs(processor) + if processor: + processor.fast_load_dxfattribs(dxf, acdb_surface_group_codes, 3) + return dxf + + @override + def export_entity(self, tagwriter: AbstractTagWriter) -> None: + """Export entity specific data as DXF tags.""" + # base class export is done by parent class + super().export_entity(tagwriter) + # AcDbEntity export is done by parent class + # AcDbModelerGeometry export is done by parent class + tagwriter.write_tag2(const.SUBCLASS_MARKER, acdb_surface.name) + self.dxf.export_dxf_attribs(tagwriter, ["u_count", "v_count"]) + + +acdb_extruded_surface = DefSubclass( + "AcDbExtrudedSurface", + { + "class_id": DXFAttr(90), + "sweep_vector": DXFAttr(10, xtype=XType.point3d), + # 16x group code 40: Transform matrix of extruded entity (16 floats; + # row major format; default = identity matrix) + "draft_angle": DXFAttr(42, default=0.0), # in radians + "draft_start_distance": DXFAttr(43, default=0.0), + "draft_end_distance": DXFAttr(44, default=0.0), + "twist_angle": DXFAttr(45, default=0.0), # in radians? + "scale_factor": DXFAttr(48, default=0.0), + "align_angle": DXFAttr(49, default=0.0), # in radians + # 16x group code 46: Transform matrix of sweep entity (16 floats; + # row major format; default = identity matrix) + # 16x group code 47: Transform matrix of path entity (16 floats; + # row major format; default = identity matrix) + "solid": DXFAttr(290, default=0), # bool + # 0=No alignment; 1=Align sweep entity to path: + "sweep_alignment_flags": DXFAttr(70, default=0), + "unknown1": DXFAttr(71, default=0), + # 2=Translate sweep entity to path; 3=Translate path to sweep entity: + "align_start": DXFAttr(292, default=0), # bool + "bank": DXFAttr(293, default=0), # bool + "base_point_set": DXFAttr(294, default=0), # bool + "sweep_entity_transform_computed": DXFAttr(295, default=0), # bool + "path_entity_transform_computed": DXFAttr(296, default=0), # bool + "reference_vector_for_controlling_twist": DXFAttr(11, xtype=XType.point3d), + }, +) +acdb_extruded_surface_group_codes = group_code_mapping(acdb_extruded_surface) + + +@register_entity +class ExtrudedSurface(Surface): + """DXF EXTRUDEDSURFACE entity - container entity for embedded ACIS data.""" + + DXFTYPE = "EXTRUDEDSURFACE" + DXFATTRIBS = DXFAttributes( + base_class, + acdb_entity, + acdb_modeler_geometry, + acdb_surface, + acdb_extruded_surface, + ) + + def __init__(self): + super().__init__() + self.transformation_matrix_extruded_entity = Matrix44() + self.sweep_entity_transformation_matrix = Matrix44() + self.path_entity_transformation_matrix = Matrix44() + + @override + def copy_data(self, entity: Self, copy_strategy=default_copy) -> None: + assert isinstance(entity, ExtrudedSurface) + super().copy_data(entity, copy_strategy) + entity.transformation_matrix_extruded_entity = ( + self.transformation_matrix_extruded_entity.copy() + ) + entity.sweep_entity_transformation_matrix = ( + self.sweep_entity_transformation_matrix.copy() + ) + entity.path_entity_transformation_matrix = ( + self.path_entity_transformation_matrix.copy() + ) + + @override + def load_dxf_attribs( + self, processor: Optional[SubclassProcessor] = None + ) -> DXFNamespace: + dxf = super().load_dxf_attribs(processor) + if processor: + processor.fast_load_dxfattribs( + dxf, acdb_extruded_surface_group_codes, 4, log=False + ) + self.load_matrices(processor.subclasses[4]) + return dxf + + def load_matrices(self, tags: Tags): + self.transformation_matrix_extruded_entity = load_matrix(tags, code=40) + self.sweep_entity_transformation_matrix = load_matrix(tags, code=46) + self.path_entity_transformation_matrix = load_matrix(tags, code=47) + + @override + def export_entity(self, tagwriter: AbstractTagWriter) -> None: + """Export entity specific data as DXF tags.""" + # base class export is done by parent class + super().export_entity(tagwriter) + # AcDbEntity export is done by parent class + # AcDbModelerGeometry export is done by parent class + tagwriter.write_tag2(const.SUBCLASS_MARKER, acdb_extruded_surface.name) + self.dxf.export_dxf_attribs(tagwriter, ["class_id", "sweep_vector"]) + export_matrix( + tagwriter, + code=40, + matrix=self.transformation_matrix_extruded_entity, + ) + self.dxf.export_dxf_attribs( + tagwriter, + [ + "draft_angle", + "draft_start_distance", + "draft_end_distance", + "twist_angle", + "scale_factor", + "align_angle", + ], + ) + export_matrix( + tagwriter, code=46, matrix=self.sweep_entity_transformation_matrix + ) + export_matrix(tagwriter, code=47, matrix=self.path_entity_transformation_matrix) + self.dxf.export_dxf_attribs( + tagwriter, + [ + "solid", + "sweep_alignment_flags", + "unknown1", + "align_start", + "bank", + "base_point_set", + "sweep_entity_transform_computed", + "path_entity_transform_computed", + "reference_vector_for_controlling_twist", + ], + ) + + +acdb_lofted_surface = DefSubclass( + "AcDbLoftedSurface", + { + # 16x group code 40: Transform matrix of loft entity (16 floats; + # row major format; default = identity matrix) + "plane_normal_lofting_type": DXFAttr(70), + "start_draft_angle": DXFAttr(41, default=0.0), # in radians + "end_draft_angle": DXFAttr(42, default=0.0), # in radians + "start_draft_magnitude": DXFAttr(43, default=0.0), + "end_draft_magnitude": DXFAttr(44, default=0.0), + "arc_length_parameterization": DXFAttr(290, default=0), # bool + "no_twist": DXFAttr(291, default=1), # true/false + "align_direction": DXFAttr(292, default=1), # bool + "simple_surfaces": DXFAttr(293, default=1), # bool + "closed_surfaces": DXFAttr(294, default=0), # bool + "solid": DXFAttr(295, default=0), # true/false + "ruled_surface": DXFAttr(296, default=0), # bool + "virtual_guide": DXFAttr(297, default=0), # bool + }, +) +acdb_lofted_surface_group_codes = group_code_mapping(acdb_lofted_surface) + + +@register_entity +class LoftedSurface(Surface): + """DXF LOFTEDSURFACE entity - container entity for embedded ACIS data.""" + + DXFTYPE = "LOFTEDSURFACE" + DXFATTRIBS = DXFAttributes( + base_class, + acdb_entity, + acdb_modeler_geometry, + acdb_surface, + acdb_lofted_surface, + ) + + def __init__(self): + super().__init__() + self.transformation_matrix_lofted_entity = Matrix44() + + @override + def copy_data(self, entity: Self, copy_strategy=default_copy) -> None: + assert isinstance(entity, LoftedSurface) + super().copy_data(entity, copy_strategy) + entity.transformation_matrix_lofted_entity = ( + self.transformation_matrix_lofted_entity.copy() + ) + + @override + def load_dxf_attribs( + self, processor: Optional[SubclassProcessor] = None + ) -> DXFNamespace: + dxf = super().load_dxf_attribs(processor) + if processor: + processor.fast_load_dxfattribs( + dxf, acdb_lofted_surface_group_codes, 4, log=False + ) + self.load_matrices(processor.subclasses[4]) + return dxf + + def load_matrices(self, tags: Tags): + self.transformation_matrix_lofted_entity = load_matrix(tags, code=40) + + @override + def export_entity(self, tagwriter: AbstractTagWriter) -> None: + """Export entity specific data as DXF tags.""" + # base class export is done by parent class + super().export_entity(tagwriter) + # AcDbEntity export is done by parent class + # AcDbModelerGeometry export is done by parent class + tagwriter.write_tag2(const.SUBCLASS_MARKER, acdb_lofted_surface.name) + export_matrix( + tagwriter, code=40, matrix=self.transformation_matrix_lofted_entity + ) + self.dxf.export_dxf_attribs(tagwriter, acdb_lofted_surface.attribs.keys()) + + +acdb_revolved_surface = DefSubclass( + "AcDbRevolvedSurface", + { + "class_id": DXFAttr(90, default=0.0), + "axis_point": DXFAttr(10, xtype=XType.point3d), + "axis_vector": DXFAttr(11, xtype=XType.point3d), + "revolve_angle": DXFAttr(40), # in radians + "start_angle": DXFAttr(41), # in radians + # 16x group code 42: Transform matrix of revolved entity (16 floats; + # row major format; default = identity matrix) + "draft_angle": DXFAttr(43), # in radians + "start_draft_distance": DXFAttr(44, default=0), + "end_draft_distance": DXFAttr(45, default=0), + "twist_angle": DXFAttr(46, default=0), # in radians + "solid": DXFAttr(290, default=0), # bool + "close_to_axis": DXFAttr(291, default=0), # bool + }, +) +acdb_revolved_surface_group_codes = group_code_mapping(acdb_revolved_surface) + + +@register_entity +class RevolvedSurface(Surface): + """DXF REVOLVEDSURFACE entity - container entity for embedded ACIS data.""" + + DXFTYPE = "REVOLVEDSURFACE" + DXFATTRIBS = DXFAttributes( + base_class, + acdb_entity, + acdb_modeler_geometry, + acdb_surface, + acdb_revolved_surface, + ) + + def __init__(self): + super().__init__() + self.transformation_matrix_revolved_entity = Matrix44() + + @override + def copy_data(self, entity: Self, copy_strategy=default_copy) -> None: + assert isinstance(entity, RevolvedSurface) + super().copy_data(entity, copy_strategy) + entity.transformation_matrix_revolved_entity = ( + self.transformation_matrix_revolved_entity.copy() + ) + + @override + def load_dxf_attribs( + self, processor: Optional[SubclassProcessor] = None + ) -> DXFNamespace: + dxf = super().load_dxf_attribs(processor) + if processor: + processor.fast_load_dxfattribs( + dxf, acdb_revolved_surface_group_codes, 4, log=False + ) + self.load_matrices(processor.subclasses[4]) + return dxf + + def load_matrices(self, tags: Tags): + self.transformation_matrix_revolved_entity = load_matrix(tags, code=42) + + @override + def export_entity(self, tagwriter: AbstractTagWriter) -> None: + """Export entity specific data as DXF tags.""" + # base class export is done by parent class + super().export_entity(tagwriter) + # AcDbEntity export is done by parent class + # AcDbModelerGeometry export is done by parent class + tagwriter.write_tag2(const.SUBCLASS_MARKER, acdb_revolved_surface.name) + self.dxf.export_dxf_attribs( + tagwriter, + [ + "class_id", + "axis_point", + "axis_vector", + "revolve_angle", + "start_angle", + ], + ) + export_matrix( + tagwriter, + code=42, + matrix=self.transformation_matrix_revolved_entity, + ) + self.dxf.export_dxf_attribs( + tagwriter, + [ + "draft_angle", + "start_draft_distance", + "end_draft_distance", + "twist_angle", + "solid", + "close_to_axis", + ], + ) + + +acdb_swept_surface = DefSubclass( + "AcDbSweptSurface", + { + "swept_entity_id": DXFAttr(90), + # 90: size of binary data (lost on saving) + # 310: binary data (lost on saving) + "path_entity_id": DXFAttr(91), + # 90: size of binary data (lost on saving) + # 310: binary data (lost on saving) + # 16x group code 40: Transform matrix of sweep entity (16 floats; + # row major format; default = identity matrix) + # 16x group code 41: Transform matrix of path entity (16 floats; + # row major format; default = identity matrix) + "draft_angle": DXFAttr(42), # in radians + "draft_start_distance": DXFAttr(43, default=0), + "draft_end_distance": DXFAttr(44, default=0), + "twist_angle": DXFAttr(45, default=0), # in radians + "scale_factor": DXFAttr(48, default=1), + "align_angle": DXFAttr(49, default=0), # in radians + # don't know the meaning of this matrices + # 16x group code 46: Transform matrix of sweep entity (16 floats; + # row major format; default = identity matrix) + # 16x group code 47: Transform matrix of path entity (16 floats; + # row major format; default = identity matrix) + "solid": DXFAttr(290, default=0), # in radians + # 0=No alignment; 1= align sweep entity to path: + "sweep_alignment": DXFAttr(70, default=0), + "unknown1": DXFAttr(71, default=0), + # 2=Translate sweep entity to path; 3=Translate path to sweep entity: + "align_start": DXFAttr(292, default=0), # bool + "bank": DXFAttr(293, default=0), # bool + "base_point_set": DXFAttr(294, default=0), # bool + "sweep_entity_transform_computed": DXFAttr(295, default=0), # bool + "path_entity_transform_computed": DXFAttr(296, default=0), # bool + "reference_vector_for_controlling_twist": DXFAttr(11, xtype=XType.point3d), + }, +) +acdb_swept_surface_group_codes = group_code_mapping(acdb_swept_surface) + + +@register_entity +class SweptSurface(Surface): + """DXF SWEPTSURFACE entity - container entity for embedded ACIS data.""" + + DXFTYPE = "SWEPTSURFACE" + DXFATTRIBS = DXFAttributes( + base_class, + acdb_entity, + acdb_modeler_geometry, + acdb_surface, + acdb_swept_surface, + ) + + def __init__(self): + super().__init__() + self.transformation_matrix_sweep_entity = Matrix44() + self.transformation_matrix_path_entity = Matrix44() + self.sweep_entity_transformation_matrix = Matrix44() + self.path_entity_transformation_matrix = Matrix44() + + @override + def copy_data(self, entity: Self, copy_strategy=default_copy) -> None: + assert isinstance(entity, SweptSurface) + super().copy_data(entity, copy_strategy) + entity.transformation_matrix_sweep_entity = ( + self.transformation_matrix_sweep_entity.copy() + ) + entity.transformation_matrix_path_entity = ( + self.transformation_matrix_path_entity.copy() + ) + entity.sweep_entity_transformation_matrix = ( + self.sweep_entity_transformation_matrix.copy() + ) + entity.path_entity_transformation_matrix = ( + self.path_entity_transformation_matrix.copy() + ) + + @override + def load_dxf_attribs( + self, processor: Optional[SubclassProcessor] = None + ) -> DXFNamespace: + dxf = super().load_dxf_attribs(processor) + if processor: + processor.fast_load_dxfattribs( + dxf, acdb_swept_surface_group_codes, 4, log=False + ) + self.load_matrices(processor.subclasses[4]) + return dxf + + def load_matrices(self, tags: Tags): + self.transformation_matrix_sweep_entity = load_matrix(tags, code=40) + self.transformation_matrix_path_entity = load_matrix(tags, code=41) + self.sweep_entity_transformation_matrix = load_matrix(tags, code=46) + self.path_entity_transformation_matrix = load_matrix(tags, code=47) + + @override + def export_entity(self, tagwriter: AbstractTagWriter) -> None: + """Export entity specific data as DXF tags.""" + # base class export is done by parent class + super().export_entity(tagwriter) + # AcDbEntity export is done by parent class + # AcDbModelerGeometry export is done by parent class + tagwriter.write_tag2(const.SUBCLASS_MARKER, acdb_swept_surface.name) + self.dxf.export_dxf_attribs( + tagwriter, + [ + "swept_entity_id", + "path_entity_id", + ], + ) + export_matrix( + tagwriter, code=40, matrix=self.transformation_matrix_sweep_entity + ) + export_matrix(tagwriter, code=41, matrix=self.transformation_matrix_path_entity) + self.dxf.export_dxf_attribs( + tagwriter, + [ + "draft_angle", + "draft_start_distance", + "draft_end_distance", + "twist_angle", + "scale_factor", + "align_angle", + ], + ) + + export_matrix( + tagwriter, code=46, matrix=self.sweep_entity_transformation_matrix + ) + export_matrix(tagwriter, code=47, matrix=self.path_entity_transformation_matrix) + self.dxf.export_dxf_attribs( + tagwriter, + [ + "solid", + "sweep_alignment", + "unknown1", + "align_start", + "bank", + "base_point_set", + "sweep_entity_transform_computed", + "path_entity_transform_computed", + "reference_vector_for_controlling_twist", + ], + ) diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/entities/appdata.py b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/entities/appdata.py new file mode 100644 index 0000000000000000000000000000000000000000..eec32abb1cb0ccfe74217feeda16cd7f3eeb52f7 --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/entities/appdata.py @@ -0,0 +1,149 @@ +# Copyright (c) 2019-2023 Manfred Moitzi +# License: MIT License +from __future__ import annotations +from typing import TYPE_CHECKING, Iterable, Sequence, Optional, Iterator +from ezdxf.lldxf.types import dxftag, uniform_appid +from ezdxf.lldxf.tags import Tags +from ezdxf.lldxf.const import DXFKeyError, DXFStructureError +from ezdxf.lldxf.const import ( + ACAD_REACTORS, + REACTOR_HANDLE_CODE, + APP_DATA_MARKER, +) + +if TYPE_CHECKING: + from ezdxf.lldxf.tagwriter import AbstractTagWriter + +__all__ = ["AppData", "Reactors"] + +ERR_INVALID_DXF_ATTRIB = "Invalid DXF attribute for entity {}" +ERR_DXF_ATTRIB_NOT_EXITS = "DXF attribute {} does not exist" + + +class AppData: + def __init__(self) -> None: + self.data: dict[str, Tags] = dict() + + def __contains__(self, appid: str) -> bool: + """Returns ``True`` if application-defined data exist for `appid`.""" + return uniform_appid(appid) in self.data + + def __len__(self) -> int: + """Returns the count of AppData.""" + return len(self.data) + + def tags(self) -> Iterable[Tags]: + return self.data.values() + + def get(self, appid: str) -> Tags: + """Get application-defined data for `appid` as + :class:`~ezdxf.lldxf.tags.Tags` container. + The first tag is always (102, "{APPID"). + The last tag is always (102, "}"). + """ + try: + return self.data[uniform_appid(appid)] + except KeyError: + raise DXFKeyError(appid) + + def set(self, tags: Tags) -> None: + """Store raw application-defined data tags. + The first tag has to be (102, "{APPID"). + The last tag has to be (102, "}"). + """ + if len(tags): + appid = tags[0].value + self.data[appid] = tags + + def add(self, appid: str, data: Iterable[Sequence]) -> None: + """Add application-defined tags for `appid`. + Adds first tag (102, "{APPID") if not exist. + Adds last tag (102, "}" if not exist. + """ + data = Tags(dxftag(code, value) for code, value in data) + appid = uniform_appid(appid) + if data[0] != (APP_DATA_MARKER, appid): + data.insert(0, dxftag(APP_DATA_MARKER, appid)) + if data[-1] != (APP_DATA_MARKER, "}"): + data.append(dxftag(APP_DATA_MARKER, "}")) + self.set(data) + + def discard(self, appid: str): + """Delete application-defined data for `appid` without raising and error + if `appid` doesn't exist. + """ + _appid = uniform_appid(appid) + if _appid in self.data: + del self.data[_appid] + + def export_dxf(self, tagwriter: AbstractTagWriter) -> None: + for data in self.data.values(): + tagwriter.write_tags(data) + + +class Reactors: + """Handle storage for related reactors. + + Reactors are other objects related to the object that contains this + Reactor() instance. + + """ + + def __init__(self, handles: Optional[Iterable[str]] = None): + self.reactors: set[str] = set(handles or []) + + def __len__(self) -> int: + """Returns count of registered handles.""" + return len(self.reactors) + + def __contains__(self, handle: str) -> bool: + """Returns ``True`` if `handle` is registered.""" + return handle in self.reactors + + def __iter__(self) -> Iterator[str]: + """Returns an iterator for all registered handles.""" + return iter(self.get()) + + def copy(self) -> Reactors: + """Returns a copy.""" + return Reactors(self.reactors) + + @classmethod + def from_tags(cls, tags: Optional[Tags] = None) -> Reactors: + """Create Reactors() instance from tags. + + Expected DXF structure: + [(102, '{ACAD_REACTORS'), (330, handle), ..., (102, '}')] + + Args: + tags: list of DXFTags() + + """ + if tags is None: + return cls(None) + + if len(tags) < 2: # no reactors are valid + raise DXFStructureError("ACAD_REACTORS error") + return cls((handle.value for handle in tags[1:-1])) + + def get(self) -> list[str]: + """Returns all registered handles as sorted list.""" + return sorted(self.reactors, key=lambda x: int(x, base=16)) + + def set(self, handles: Optional[Iterable[str]]) -> None: + """Reset all handles.""" + self.reactors = set(handles or []) + + def add(self, handle: str) -> None: + """Add a single `handle`.""" + self.reactors.add(handle) + + def discard(self, handle: str): + """Discard a single `handle`.""" + self.reactors.discard(handle) + + def export_dxf(self, tagwriter: AbstractTagWriter) -> None: + tagwriter.write_tag2(APP_DATA_MARKER, ACAD_REACTORS) + for handle in self.get(): + tagwriter.write_tag2(REACTOR_HANDLE_CODE, handle) + tagwriter.write_tag2(APP_DATA_MARKER, "}") diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/entities/appid.py b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/entities/appid.py new file mode 100644 index 0000000000000000000000000000000000000000..15020efe20a37f98a1c8002f66c2e0e342b523c8 --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/entities/appid.py @@ -0,0 +1,62 @@ +# Copyright (c) 2019-2022, Manfred Moitzi +# License: MIT License +from __future__ import annotations +from typing import TYPE_CHECKING, Optional +import logging + +from ezdxf.lldxf.attributes import ( + DXFAttr, + DXFAttributes, + DefSubclass, + group_code_mapping, +) +from ezdxf.lldxf.const import DXF12, SUBCLASS_MARKER +from ezdxf.entities.dxfentity import base_class, SubclassProcessor, DXFEntity +from ezdxf.entities.layer import acdb_symbol_table_record +from ezdxf.lldxf.validator import is_valid_table_name +from .factory import register_entity + +if TYPE_CHECKING: + from ezdxf.entities import DXFNamespace + from ezdxf.lldxf.tagwriter import AbstractTagWriter + +__all__ = ["AppID"] +logger = logging.getLogger("ezdxf") + +acdb_appid = DefSubclass( + "AcDbRegAppTableRecord", + { + "name": DXFAttr(2, validator=is_valid_table_name), + "flags": DXFAttr(70, default=0), + }, +) + +acdb_appid_group_codes = group_code_mapping(acdb_appid) + + +@register_entity +class AppID(DXFEntity): + """DXF APPID entity""" + + DXFTYPE = "APPID" + DXFATTRIBS = DXFAttributes(base_class, acdb_symbol_table_record, acdb_appid) + + def load_dxf_attribs( + self, processor: Optional[SubclassProcessor] = None + ) -> DXFNamespace: + dxf = super().load_dxf_attribs(processor) + if processor: + processor.fast_load_dxfattribs( + dxf, acdb_appid_group_codes, subclass=2 + ) + return dxf + + def export_entity(self, tagwriter: AbstractTagWriter) -> None: + super().export_entity(tagwriter) + # AcDbEntity export is done by parent class + if tagwriter.dxfversion > DXF12: + tagwriter.write_tag2(SUBCLASS_MARKER, acdb_symbol_table_record.name) + tagwriter.write_tag2(SUBCLASS_MARKER, acdb_appid.name) + + # for all DXF versions + self.dxf.export_dxf_attribs(tagwriter, ["name", "flags"]) diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/entities/arc.py b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/entities/arc.py new file mode 100644 index 0000000000000000000000000000000000000000..3aaaf23fbca5065281eda0d35c23239cadd0e213 --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/entities/arc.py @@ -0,0 +1,148 @@ +# Copyright (c) 2019-2024 Manfred Moitzi +# License: MIT License +from __future__ import annotations +from typing import TYPE_CHECKING, Iterator +import math +import numpy as np + +from ezdxf.math import ( + Vec3, + Matrix44, + ConstructionArc, + arc_angle_span_deg, +) +from ezdxf.math.transformtools import OCSTransform + +from ezdxf.lldxf.attributes import ( + DXFAttr, + DXFAttributes, + DefSubclass, + group_code_mapping, + merge_group_code_mappings, +) +from ezdxf.lldxf.const import DXF12, SUBCLASS_MARKER +from .dxfentity import base_class +from .dxfgfx import acdb_entity +from .circle import acdb_circle, Circle, merged_circle_group_codes +from .factory import register_entity + +if TYPE_CHECKING: + from ezdxf.lldxf.tagwriter import AbstractTagWriter + +__all__ = ["Arc"] + +acdb_arc = DefSubclass( + "AcDbArc", + { + "start_angle": DXFAttr(50, default=0), + "end_angle": DXFAttr(51, default=360), + }, +) + +acdb_arc_group_codes = group_code_mapping(acdb_arc) +merged_arc_group_codes = merge_group_code_mappings( + merged_circle_group_codes, acdb_arc_group_codes +) + + +@register_entity +class Arc(Circle): + """DXF ARC entity""" + + DXFTYPE = "ARC" + DXFATTRIBS = DXFAttributes(base_class, acdb_entity, acdb_circle, acdb_arc) + MERGED_GROUP_CODES = merged_arc_group_codes + + def export_entity(self, tagwriter: AbstractTagWriter) -> None: + """Export entity specific data as DXF tags.""" + super().export_entity(tagwriter) + # AcDbEntity export is done by parent class + # AcDbCircle export is done by parent class + if tagwriter.dxfversion > DXF12: + tagwriter.write_tag2(SUBCLASS_MARKER, acdb_arc.name) + self.dxf.export_dxf_attribs(tagwriter, ["start_angle", "end_angle"]) + + @property + def start_point(self) -> Vec3: + """Returns the start point of the arc in :ref:`WCS`, takes the :ref:`OCS` into + account. + """ + v = list(self.vertices([self.dxf.start_angle])) + return v[0] + + @property + def end_point(self) -> Vec3: + """Returns the end point of the arc in :ref:`WCS`, takes the :ref:`OCS` into + account. + """ + v = list(self.vertices([self.dxf.end_angle])) + return v[0] + + def angles(self, num: int) -> Iterator[float]: + """Yields `num` angles from start- to end angle in degrees in counter-clockwise + orientation. All angles are normalized in the range from [0, 360). + """ + if num < 2: + raise ValueError("num >= 2") + start = self.dxf.start_angle % 360 + stop = self.dxf.end_angle % 360 + if stop <= start: + stop += 360 + for angle in np.linspace(start, stop, num=num, endpoint=True): + yield angle % 360 + + def flattening(self, sagitta: float) -> Iterator[Vec3]: + """Approximate the arc by vertices in :ref:`WCS`, the argument `sagitta`_ + defines the maximum distance from the center of an arc segment to the center of + its chord. + + .. _sagitta: https://en.wikipedia.org/wiki/Sagitta_(geometry) + """ + arc = self.construction_tool() + ocs = self.ocs() + elevation = Vec3(self.dxf.center).z + if ocs.transform: + to_wcs = ocs.points_to_wcs + else: + to_wcs = Vec3.generate + + yield from to_wcs(Vec3(p.x, p.y, elevation) for p in arc.flattening(sagitta)) + + def transform(self, m: Matrix44) -> Arc: + """Transform ARC entity by transformation matrix `m` inplace. + Raises ``NonUniformScalingError()`` for non-uniform scaling. + """ + ocs = OCSTransform(self.dxf.extrusion, m) + super()._transform(ocs) + s: float = self.dxf.start_angle + e: float = self.dxf.end_angle + if not math.isclose(arc_angle_span_deg(s, e), 360.0): + ( + self.dxf.start_angle, + self.dxf.end_angle, + ) = ocs.transform_ccw_arc_angles_deg(s, e) + self.post_transform(m) + return self + + def construction_tool(self) -> ConstructionArc: + """Returns the 2D construction tool :class:`ezdxf.math.ConstructionArc` but the + extrusion vector is ignored. + """ + dxf = self.dxf + return ConstructionArc( + dxf.center, + dxf.radius, + dxf.start_angle, + dxf.end_angle, + ) + + def apply_construction_tool(self, arc: ConstructionArc) -> Arc: + """Set ARC data from the construction tool :class:`ezdxf.math.ConstructionArc` + but the extrusion vector is ignored. + """ + dxf = self.dxf + dxf.center = Vec3(arc.center) + dxf.radius = arc.radius + dxf.start_angle = arc.start_angle + dxf.end_angle = arc.end_angle + return self # floating interface diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/entities/attrib.py b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/entities/attrib.py new file mode 100644 index 0000000000000000000000000000000000000000..b672f6f9681f2ecaea885026bb5686509ba745d8 --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/entities/attrib.py @@ -0,0 +1,737 @@ +# Copyright (c) 2019-2024 Manfred Moitzi +# License: MIT License +from __future__ import annotations +from typing import TYPE_CHECKING, Optional +from typing_extensions import Self +import copy + +from ezdxf.audit import Auditor, AuditError +from ezdxf.lldxf import validator +from ezdxf.math import NULLVEC, Vec3, Z_AXIS, OCS, Matrix44 +from ezdxf.lldxf.attributes import ( + DXFAttr, + DXFAttributes, + DefSubclass, + XType, + RETURN_DEFAULT, + group_code_mapping, +) +from ezdxf.lldxf import const +from ezdxf.lldxf.types import EMBEDDED_OBJ_MARKER, EMBEDDED_OBJ_STR +from ezdxf.enums import MAP_MTEXT_ALIGN_TO_FLAGS, TextHAlign, TextVAlign +from ezdxf.tools import set_flag_state +from ezdxf.tools.text import ( + load_mtext_content, + fast_plain_mtext, + plain_mtext, +) + +from .dxfns import SubclassProcessor, DXFNamespace +from .dxfentity import base_class +from .dxfgfx import acdb_entity, elevation_to_z_axis +from .text import Text, acdb_text, acdb_text_group_codes +from .mtext import ( + acdb_mtext_group_codes, + MText, + export_mtext_content, + acdb_mtext, +) +from .factory import register_entity +from .copy import default_copy + +if TYPE_CHECKING: + from ezdxf.lldxf.tagwriter import AbstractTagWriter + from ezdxf.lldxf.tags import Tags + from ezdxf import xref + + +__all__ = ["AttDef", "Attrib", "copy_attrib_as_text", "BaseAttrib"] + +# Where is it valid to place an ATTRIB entity: +# - YES: attached to an INSERT entity +# - NO: stand-alone entity in model space - ignored by BricsCAD and TrueView +# - NO: stand-alone entity in paper space - ignored by BricsCAD and TrueView +# - NO: stand-alone entity in block layout - ignored by BricsCAD and TrueView +# +# The RECOVER command of BricsCAD removes the stand-alone ATTRIB entities: +# "Invalid subentity type AcDbAttribute()" +# +# IMPORTANT: placing ATTRIB at an invalid layout does NOT create an invalid DXF file! +# +# Where is it valid to place an ATTDEF entity: +# - NO: attached to an INSERT entity +# - YES: stand-alone entity in a BLOCK layout - BricsCAD and TrueView render the +# TAG in the block editor and does not render the ATTDEF as block content +# for the INSERT entity. +# - YES: stand-alone entity in model space - BricsCAD and TrueView render the +# TAG not the default text - the model space is also a block content +# (XREF, see also INSERT entity) +# - YES: stand-alone entity in paper space - same as model space, although a +# paper space can not be used as XREF. + +# DXF Reference for ATTRIB is a total mess and incorrect, the AcDbText subclass +# for the ATTRIB entity is the same as for the TEXT entity, but the valign field +# from the 2nd AcDbText subclass of the TEXT entity is stored in the +# AcDbAttribute subclass: +attrib_fields = { + # "version": DXFAttr(280, default=0, dxfversion=const.DXF2010), + # The "version" tag has the same group code as the lock_position tag!!!!! + # Version number: 0 = 2010 + # This tag is not really used (at least by BricsCAD) but there exists DXF files + # which do use this tag: "dxftest\attrib\attrib_with_mtext_R2018.dxf" + # ezdxf stores the last group code 280 as "lock_position" attribute and does + # not export a version tag for any DXF version. + # Tag string (cannot contain spaces): + # Mandatory by AutoCAD! + "tag": DXFAttr( + 2, + default="", + validator=validator.is_valid_attrib_tag, + fixer=validator.fix_attrib_tag, + ), + # 1 = Attribute is invisible (does not appear) + # 2 = This is a constant attribute + # 4 = Verification is required on input of this attribute + # 8 = Attribute is preset (no prompt during insertion) + "flags": DXFAttr(70, default=0), + # Field length (optional) (not currently used) + "field_length": DXFAttr(73, default=0, optional=True), + # Vertical text justification type (optional); see group code 73 in TEXT + "valign": DXFAttr( + 74, + default=0, + optional=True, + validator=validator.is_in_integer_range(0, 4), + fixer=RETURN_DEFAULT, + ), + # Lock position flag. Locks the position of the attribute within the block + # reference, example of double use of group codes in one sub class + "lock_position": DXFAttr( + 280, + default=0, + dxfversion=const.DXF2007, # tested with BricsCAD 2023/TrueView 2023 + optional=True, + validator=validator.is_integer_bool, + fixer=RETURN_DEFAULT, + ), + # Attribute type: + # 1 = single line + # 2 = multiline ATTRIB + # 4 = multiline ATTDEF + "attribute_type": DXFAttr( + 71, + default=const.ATTRIB_TYPE_SINGLE_LINE, + dxfversion=const.DXF2018, + optional=True, + validator=validator.is_one_of({1, 2, 4}), + fixer=RETURN_DEFAULT, + ), +} + +# ATTDEF has an additional field: 'prompt' +# DXF attribute definitions are immutable, a shallow copy is sufficient: +attdef_fields = dict(attrib_fields) +attdef_fields["prompt"] = DXFAttr( + 3, + default="", + validator=validator.is_valid_one_line_text, + fixer=validator.fix_one_line_text, +) + +acdb_attdef = DefSubclass("AcDbAttributeDefinition", attdef_fields) +acdb_attdef_group_codes = group_code_mapping(acdb_attdef) +acdb_attrib = DefSubclass("AcDbAttribute", attrib_fields) +acdb_attrib_group_codes = group_code_mapping(acdb_attrib) + +# -------------------------------------------------------------------------------------- +# Does subclass AcDbXrecord really exist? Only the documentation in the DXF reference +# exists, no real world examples seen so far - it wouldn't be the first error or misleading +# information in the DXF reference. +# -------------------------------------------------------------------------------------- +# For XRECORD the tag order is important and group codes appear multiple times, +# therefore this attribute definition needs a special treatment! +acdb_attdef_xrecord = DefSubclass( + "AcDbXrecord", + [ # type: ignore + # Duplicate record cloning flag (determines how to merge duplicate entries): + # 1 = Keep existing + ("cloning", DXFAttr(280, default=1)), + # MText flag: + # 2 = multiline attribute + # 4 = constant multiline attribute definition + ("mtext_flag", DXFAttr(70, default=0)), + # isReallyLocked flag: + # 0 = unlocked + # 1 = locked + ( + "really_locked", + DXFAttr( + 70, + default=0, + validator=validator.is_integer_bool, + fixer=RETURN_DEFAULT, + ), + ), + # Number of secondary attributes or attribute definitions: + ("secondary_attribs_count", DXFAttr(70, default=0)), + # Hard-pointer id of secondary attribute(s) or attribute definition(s): + ("secondary_attribs_handle", DXFAttr(340, default="0")), + # Alignment point of attribute or attribute definition: + ("align_point", DXFAttr(10, xtype=XType.point3d, default=NULLVEC)), + ("current_annotation_scale", DXFAttr(40, default=0)), + # attribute or attribute definition tag string + ( + "tag", + DXFAttr( + 2, + default="", + validator=validator.is_valid_attrib_tag, + fixer=validator.fix_attrib_tag, + ), + ), + ], +) + + +# Just for documentation: +# The "attached" MTEXT feature most likely does not exist! +# +# A special MTEXT entity can follow the ATTDEF and ATTRIB entity, which starts +# as a usual DXF entity with (0, 'MTEXT'), so processing can't be done here, +# because for ezdxf is this a separated Entity. +# +# The attached MTEXT entity: owner is None and handle is None +# Linked as attribute `attached_mtext`. +# I don't have seen this combination of entities in real world examples and is +# ignored by ezdxf for now. +# +# No DXF files available which uses this feature - misleading DXF Reference!? + +# Attrib and Attdef can have embedded MTEXT entities located in the +# subclass, see issue #258 + + +class BaseAttrib(Text): + XRECORD_DEF = acdb_attdef_xrecord + + def __init__(self) -> None: + super().__init__() + # Does subclass AcDbXrecord really exist? + self._xrecord: Optional[Tags] = None + self._embedded_mtext: Optional[EmbeddedMText] = None + + def copy_data(self, entity: Self, copy_strategy=default_copy) -> None: + """Copy entity data, xrecord data and embedded MTEXT are not stored + in the entity database. + """ + assert isinstance(entity, BaseAttrib) + entity._xrecord = copy.deepcopy(self._xrecord) + entity._embedded_mtext = copy.deepcopy(self._embedded_mtext) + + def load_embedded_mtext(self, processor: SubclassProcessor) -> None: + if not processor.embedded_objects: + return + embedded_object = processor.embedded_objects[0] + if embedded_object: + mtext = EmbeddedMText() + mtext.load_dxf_tags(processor) + self._embedded_mtext = mtext + + def export_dxf_r2018_features(self, tagwriter: AbstractTagWriter) -> None: + tagwriter.write_tag2(71, self.dxf.attribute_type) + tagwriter.write_tag2(72, 0) # unknown tag + if self.dxf.hasattr("align_point"): + # duplicate align point - why? + tagwriter.write_vertex(11, self.dxf.align_point) + + if self._xrecord: + tagwriter.write_tags(self._xrecord) + if self._embedded_mtext: + self._embedded_mtext.export_dxf_tags(tagwriter) + + @property + def is_const(self) -> bool: + """This is a constant attribute if ``True``.""" + return bool(self.dxf.flags & const.ATTRIB_CONST) + + @is_const.setter + def is_const(self, state: bool) -> None: + self.dxf.flags = set_flag_state(self.dxf.flags, const.ATTRIB_CONST, state) + + @property + def is_invisible(self) -> bool: + """Attribute is invisible if ``True``.""" + return bool(self.dxf.flags & const.ATTRIB_INVISIBLE) + + @is_invisible.setter + def is_invisible(self, state: bool) -> None: + self.dxf.flags = set_flag_state(self.dxf.flags, const.ATTRIB_INVISIBLE, state) + + @property + def is_verify(self) -> bool: + """Verification is required on input of this attribute. (interactive CAD + application feature) + """ + return bool(self.dxf.flags & const.ATTRIB_VERIFY) + + @is_verify.setter + def is_verify(self, state: bool) -> None: + self.dxf.flags = set_flag_state(self.dxf.flags, const.ATTRIB_VERIFY, state) + + @property + def is_preset(self) -> bool: + """No prompt during insertion. (interactive CAD application feature)""" + return bool(self.dxf.flags & const.ATTRIB_IS_PRESET) + + @is_preset.setter + def is_preset(self, state: bool) -> None: + self.dxf.flags = set_flag_state(self.dxf.flags, const.ATTRIB_IS_PRESET, state) + + @property + def has_embedded_mtext_entity(self) -> bool: + """Returns ``True`` if the entity has an embedded MTEXT entity for multi-line + support. + """ + return bool(self._embedded_mtext) + + def virtual_mtext_entity(self) -> MText: + """Returns the embedded MTEXT entity as a regular but virtual + :class:`MText` entity with the same graphical properties as the + host entity. + """ + if not self._embedded_mtext: + raise TypeError("no embedded MTEXT entity exist") + mtext = self._embedded_mtext.virtual_mtext_entity() + mtext.update_dxf_attribs(self.graphic_properties()) + return mtext + + def plain_mtext(self, fast=True) -> str: + """Returns the embedded MTEXT content without formatting codes. + Returns an empty string if no embedded MTEXT entity exist. + + The `fast` mode is accurate if the DXF content was created by + reliable (and newer) CAD applications like AutoCAD or BricsCAD. + The `accurate` mode is for some rare cases where the content was + created by older CAD applications or unreliable DXF libraries and CAD + applications. + + The `accurate` mode is **much** slower than the `fast` mode. + + Args: + fast: uses the `fast` mode to extract the plain MTEXT content if + ``True`` or the `accurate` mode if set to ``False`` + + """ + if self._embedded_mtext: + text = self._embedded_mtext.text + if fast: + return fast_plain_mtext(text, split=False) # type: ignore + else: + return plain_mtext(text, split=False) # type: ignore + return "" + + def set_mtext(self, mtext: MText, graphic_properties=True) -> None: + """Set multi-line properties from a :class:`MText` entity. + + The multi-line ATTRIB/ATTDEF entity requires DXF R2018, otherwise an + ordinary single line ATTRIB/ATTDEF entity will be exported. + + Args: + mtext: source :class:`MText` entity + graphic_properties: copy graphic properties (color, layer, ...) from + source MTEXT if ``True`` + + """ + if self._embedded_mtext is None: + self._embedded_mtext = EmbeddedMText() + self._embedded_mtext.set_mtext(mtext) + _update_content_from_mtext(self, mtext) + _update_location_from_mtext(self, mtext) + + # set attribute type: + if isinstance(self, Attrib): + attribute_type = const.ATTRIB_TYPE_MULTI_LINE + else: + attribute_type = const.ATTDEF_TYPE_MULTI_LINE + self.dxf.attribute_type = attribute_type + + # misc properties + self.dxf.style = mtext.dxf.style + self.dxf.height = mtext.dxf.char_height + self.dxf.discard("width") # controlled in MTEXT by inline codes! + self.dxf.discard("oblique") # controlled in MTEXT by inline codes! + self.dxf.discard("text_generation_flag") + if graphic_properties: + self.update_dxf_attribs(mtext.graphic_properties()) + + def embed_mtext(self, mtext: MText, graphic_properties=True) -> None: + """Set multi-line properties from a :class:`MText` entity and destroy the + source entity afterward. + + The multi-line ATTRIB/ATTDEF entity requires DXF R2018, otherwise an + ordinary single line ATTRIB/ATTDEF entity will be exported. + + Args: + mtext: source :class:`MText` entity + graphic_properties: copy graphic properties (color, layer, ...) from + source MTEXT if ``True`` + + """ + self.set_mtext(mtext, graphic_properties) + mtext.destroy() + + def discard_mtext(self) -> None: + """Discard multi-line feature. + + The embedded MTEXT will be removed and the ATTRIB/ATTDEF will be converted to a + single-line attribute. + """ + self._embedded_mtext = None + self.dxf.attribute_type = const.ATTRIB_TYPE_SINGLE_LINE + + def register_resources(self, registry: xref.Registry) -> None: + """Register required resources to the resource registry.""" + super().register_resources(registry) + if self._embedded_mtext: + self._embedded_mtext.register_resources(registry) + + def map_resources(self, clone: Self, mapping: xref.ResourceMapper) -> None: + """Translate resources from self to the copied entity.""" + assert isinstance(clone, BaseAttrib) + super().map_resources(clone, mapping) + if self._embedded_mtext and clone._embedded_mtext: + self._embedded_mtext.map_resources(clone._embedded_mtext, mapping) + # todo: map handles in embedded XRECORD if a real world example shows up + + def transform(self, m: Matrix44) -> Self: + if self._embedded_mtext is None: + super().transform(m) + else: + mtext = self._embedded_mtext.virtual_mtext_entity() + mtext.transform(m) + self.set_mtext(mtext, graphic_properties=False) + self.post_transform(m) + return self + + def audit(self, auditor: Auditor) -> None: + """Validity check.""" + super().audit(auditor) + if not self.dxf.hasattr("tag"): + auditor.fixed_error( + code=AuditError.TAG_ATTRIBUTE_MISSING, + message=f'Missing mandatory "tag" attribute, entity {str(self)} deleted.', + ) + auditor.trash(self) + + +def _update_content_from_mtext(text: Text, mtext: MText) -> None: + content = mtext.plain_text(split=True, fast=True) + if content: + # In contrast to AutoCAD, just set the first line as single line + # ATTRIB content. AutoCAD concatenates all lines into a single + # "Line1\PLine2\P...", which (imho) is not very useful. + text.dxf.text = content[0] + + +def _update_location_from_mtext(text: Text, mtext: MText) -> None: + # TEXT is an OCS entity, MTEXT is a WCS entity + dxf = text.dxf + insert = Vec3(mtext.dxf.insert) + extrusion = Vec3(mtext.dxf.extrusion) + text_direction = mtext.get_text_direction() + if extrusion.isclose(Z_AXIS): # most common case + dxf.rotation = text_direction.angle_deg + else: + ocs = OCS(extrusion) + insert = ocs.from_wcs(insert) + dxf.extrusion = extrusion.normalize() + dxf.rotation = ocs.from_wcs(text_direction).angle_deg + + dxf.insert = insert + dxf.align_point = insert # the same point for all MTEXT alignments! + dxf.halign, dxf.valign = MAP_MTEXT_ALIGN_TO_FLAGS.get( + mtext.dxf.attachment_point, (TextHAlign.LEFT, TextVAlign.TOP) + ) + + +@register_entity +class AttDef(BaseAttrib): + """DXF ATTDEF entity""" + + DXFTYPE = "ATTDEF" + # Don't add acdb_attdef_xrecord here: + DXFATTRIBS = DXFAttributes(base_class, acdb_entity, acdb_text, acdb_attdef) + + def load_dxf_attribs( + self, processor: Optional[SubclassProcessor] = None + ) -> DXFNamespace: + dxf = super(Text, self).load_dxf_attribs(processor) + # Do not call Text loader. + if processor: + processor.fast_load_dxfattribs(dxf, acdb_text_group_codes, 2, recover=True) + processor.fast_load_dxfattribs( + dxf, acdb_attdef_group_codes, 3, recover=True + ) + self._xrecord = processor.find_subclass(self.XRECORD_DEF.name) # type: ignore + self.load_embedded_mtext(processor) + if processor.r12: + # Transform elevation attribute from R11 to z-axis values: + elevation_to_z_axis(dxf, ("insert", "align_point")) + + return dxf + + def export_entity(self, tagwriter: AbstractTagWriter) -> None: + # Text() writes 2x AcDbText which is not suitable for AttDef() + self.export_acdb_entity(tagwriter) + self.export_acdb_text(tagwriter) + self.export_acdb_attdef(tagwriter) + if tagwriter.dxfversion >= const.DXF2018: + self.export_dxf_r2018_features(tagwriter) + + def export_acdb_attdef(self, tagwriter: AbstractTagWriter) -> None: + if tagwriter.dxfversion > const.DXF12: + tagwriter.write_tag2(const.SUBCLASS_MARKER, acdb_attdef.name) + self.dxf.export_dxf_attribs( + tagwriter, + [ + # write version tag (280, 0) here, if required in the future + "prompt", + "tag", + "flags", + "field_length", + "valign", + "lock_position", + ], + ) + + +@register_entity +class Attrib(BaseAttrib): + """DXF ATTRIB entity""" + + DXFTYPE = "ATTRIB" + # Don't add acdb_attdef_xrecord here: + DXFATTRIBS = DXFAttributes(base_class, acdb_entity, acdb_text, acdb_attrib) + + def load_dxf_attribs( + self, processor: Optional[SubclassProcessor] = None + ) -> DXFNamespace: + dxf = super(Text, self).load_dxf_attribs(processor) + # Do not call Text loader. + if processor: + processor.fast_load_dxfattribs(dxf, acdb_text_group_codes, 2, recover=True) + processor.fast_load_dxfattribs( + dxf, acdb_attrib_group_codes, 3, recover=True + ) + self._xrecord = processor.find_subclass(self.XRECORD_DEF.name) # type: ignore + self.load_embedded_mtext(processor) + if processor.r12: + # Transform elevation attribute from R11 to z-axis values: + elevation_to_z_axis(dxf, ("insert", "align_point")) + return dxf + + def export_entity(self, tagwriter: AbstractTagWriter) -> None: + # Text() writes 2x AcDbText which is not suitable for AttDef() + self.export_acdb_entity(tagwriter) + self.export_acdb_attrib_text(tagwriter) + self.export_acdb_attrib(tagwriter) + if tagwriter.dxfversion >= const.DXF2018: + self.export_dxf_r2018_features(tagwriter) + + def export_acdb_attrib_text(self, tagwriter: AbstractTagWriter) -> None: + # Despite the similarities to TEXT, it is different to + # Text.export_acdb_text(): + if tagwriter.dxfversion > const.DXF12: + tagwriter.write_tag2(const.SUBCLASS_MARKER, acdb_text.name) + self.dxf.export_dxf_attribs( + tagwriter, + [ + "insert", + "height", + "text", + "thickness", + "rotation", + "oblique", + "style", + "width", + "halign", + "align_point", + "text_generation_flag", + "extrusion", + ], + ) + + def export_acdb_attrib(self, tagwriter: AbstractTagWriter) -> None: + if tagwriter.dxfversion > const.DXF12: + tagwriter.write_tag2(const.SUBCLASS_MARKER, acdb_attrib.name) + self.dxf.export_dxf_attribs( + tagwriter, + [ + # write version tag (280, 0) here, if required in the future + "tag", + "flags", + "field_length", + "valign", + "lock_position", + ], + ) + + +IGNORE_FROM_ATTRIB = { + "handle", + "owner", + "version", + "prompt", + "tag", + "flags", + "field_length", + "lock_position", +} + + +def copy_attrib_as_text(attrib: BaseAttrib): + """Returns the content of the ATTRIB/ATTDEF entity as a new virtual TEXT or + MTEXT entity. + + """ + if attrib.has_embedded_mtext_entity: + return attrib.virtual_mtext_entity() + dxfattribs = attrib.dxfattribs(drop=IGNORE_FROM_ATTRIB) + return Text.new(dxfattribs=dxfattribs, doc=attrib.doc) + + +class EmbeddedMTextNS(DXFNamespace): + _DXFATTRIBS = DXFAttributes(acdb_mtext) + + @property + def dxfattribs(self) -> DXFAttributes: + return self._DXFATTRIBS + + @property + def dxftype(self) -> str: + return "Embedded MText" + + +class EmbeddedMText: + """Representation of the embedded MTEXT object in ATTRIB and ATTDEF. + + Introduced in DXF R2018? The DXF reference of the `MTEXT`_ entity + documents only the attached MTEXT entity. The ODA DWG specs includes all + MTEXT attributes of MTEXT starting at group code 10 + + Stores the required parameters to be shown as as MTEXT. + The AcDbText subclass contains the first line of the embedded MTEXT as + plain text content as group code 1, but this tag seems not to be maintained + if the ATTRIB entity is copied. + + Some DXF attributes are duplicated and maintained by the CAD application: + + - textstyle: same group code 7 (AcDbText, EmbeddedObject) + - text (char) height: same group code 40 (AcDbText, EmbeddedObject) + + .. _MTEXT: https://help.autodesk.com/view/OARX/2018/ENU/?guid=GUID-7DD8B495-C3F8-48CD-A766-14F9D7D0DD9B + + """ + + def __init__(self) -> None: + # Attribute "dxf" contains the DXF attributes defined in subclass + # "AcDbMText" + self.dxf = EmbeddedMTextNS() + self.text: str = "" + + def copy(self) -> EmbeddedMText: + copy_ = EmbeddedMText() + copy_.dxf = copy.deepcopy(self.dxf) + return copy_ + + __copy__ = copy + + def load_dxf_tags(self, processor: SubclassProcessor) -> None: + tags = processor.fast_load_dxfattribs( + self.dxf, + group_code_mapping=acdb_mtext_group_codes, + subclass=processor.embedded_objects[0], + recover=False, + ) + self.text = load_mtext_content(tags) + + def virtual_mtext_entity(self) -> MText: + """Returns the embedded MTEXT entity as regular but virtual MTEXT + entity. This entity does not have the graphical attributes of the host + entity (ATTRIB/ATTDEF). + + """ + mtext = MText.new(dxfattribs=self.dxf.all_existing_dxf_attribs()) + mtext.text = self.text + return mtext + + def set_mtext(self, mtext: MText) -> None: + """Set embedded MTEXT attributes from given `mtext` entity.""" + self.text = mtext.text + dxf = self.dxf + for k, v in mtext.dxf.all_existing_dxf_attribs().items(): + if dxf.is_supported(k): + dxf.set(k, v) + + def set_required_dxf_attributes(self): + # These attributes are always present in DXF files created by Autocad: + dxf = self.dxf + for key, default in ( + ("insert", NULLVEC), + ("char_height", 2.5), + ("width", 0.0), + ("defined_height", 0.0), + ("attachment_point", 1), + ("flow_direction", 5), + ("style", "Standard"), + ("line_spacing_style", 1), + ("line_spacing_factor", 1.0), + ): + if not dxf.hasattr(key): + dxf.set(key, default) + + def export_dxf_tags(self, tagwriter: AbstractTagWriter) -> None: + """Export embedded MTEXT as "Embedded Object".""" + tagwriter.write_tag2(EMBEDDED_OBJ_MARKER, EMBEDDED_OBJ_STR) + self.set_required_dxf_attributes() + self.dxf.export_dxf_attribs( + tagwriter, + [ + "insert", + "char_height", + "width", + "defined_height", + "attachment_point", + "flow_direction", + ], + ) + export_mtext_content(self.text, tagwriter) + self.dxf.export_dxf_attribs( + tagwriter, + [ + "style", + "extrusion", + "text_direction", + "rect_width", + "rect_height", + "rotation", + "line_spacing_style", + "line_spacing_factor", + "box_fill_scale", + "bg_fill", + "bg_fill_color", + "bg_fill_true_color", + "bg_fill_color_name", + "bg_fill_transparency", + ], + ) + + def register_resources(self, registry: xref.Registry) -> None: + """Register required resources to the resource registry.""" + if self.dxf.hasattr("style"): + registry.add_text_style(self.dxf.style) + + def map_resources(self, clone: EmbeddedMText, mapping: xref.ResourceMapper) -> None: + """Translate resources from self to the copied entity.""" + if clone.dxf.hasattr("style"): + clone.dxf.style = mapping.get_text_style(clone.dxf.style) diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/entities/block.py b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/entities/block.py new file mode 100644 index 0000000000000000000000000000000000000000..ec94e7decbafb4f082ce14da3c6d0263cc274916 --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/entities/block.py @@ -0,0 +1,242 @@ +# Copyright (c) 2019-2024 Manfred Moitzi +# License: MIT License +from __future__ import annotations +from typing import TYPE_CHECKING, Optional +from typing_extensions import Self +from ezdxf.lldxf import validator +from ezdxf.lldxf.attributes import ( + DXFAttr, + DXFAttributes, + DefSubclass, + XType, + RETURN_DEFAULT, + group_code_mapping, + merge_group_code_mappings, +) +from ezdxf.lldxf.const import ( + SUBCLASS_MARKER, + DXF12, + DXF2000, + MODEL_SPACE_R12, + PAPER_SPACE_R12, + MODEL_SPACE_R2000, + PAPER_SPACE_R2000, +) +from ezdxf.math import NULLVEC +from .dxfentity import base_class, SubclassProcessor, DXFEntity +from .factory import register_entity +from ezdxf.audit import Auditor, AuditError + +if TYPE_CHECKING: + from ezdxf.entities import DXFNamespace + from ezdxf.lldxf.tagwriter import AbstractTagWriter + from ezdxf import xref + +__all__ = ["Block", "EndBlk"] + +acdb_entity = DefSubclass( + "AcDbEntity", + { + # No auto fix for invalid layer names! + "layer": DXFAttr(8, default="0", validator=validator.is_valid_layer_name), + "paperspace": DXFAttr( + 67, + default=0, + optional=True, + validator=validator.is_integer_bool, + fixer=RETURN_DEFAULT, + ), + }, +) +acdb_entity_group_codes = group_code_mapping(acdb_entity) + +acdb_block_begin = DefSubclass( + "AcDbBlockBegin", + { + "name": DXFAttr(2, validator=validator.is_valid_block_name), + # The 2nd name with group code 3 is handled internally, and is not an + # explicit DXF attribute. + "description": DXFAttr(4, default="", dxfversion=DXF2000, optional=True), + # Flags: + # 0 = Indicates none of the following flags apply + # 1 = This is an anonymous block generated by hatching, associative + # dimensioning, other internal operations, or an application + # 2 = This block has non-constant attribute definitions (this bit is not set + # if the block has any attribute definitions that are constant, or has + # no attribute definitions at all) + # 4 = This block is an external reference (xref) + # 8 = This block is an xref overlay + # 16 = This block is externally dependent + # 32 = This is a resolved external reference, or dependent of an external + # reference (ignored on input) + # 64 = This definition is a referenced external reference (ignored on input) + "flags": DXFAttr(70, default=0), + "base_point": DXFAttr(10, xtype=XType.any_point, default=NULLVEC), + "xref_path": DXFAttr(1, default=""), + }, +) +acdb_block_begin_group_codes = group_code_mapping(acdb_block_begin) +merged_block_begin_group_codes = merge_group_code_mappings( + acdb_entity_group_codes, acdb_block_begin_group_codes +) + +MODEL_SPACE_R2000_LOWER = MODEL_SPACE_R2000.lower() +MODEL_SPACE_R12_LOWER = MODEL_SPACE_R12.lower() +PAPER_SPACE_R2000_LOWER = PAPER_SPACE_R2000.lower() +PAPER_SPACE_R12_LOWER = PAPER_SPACE_R12.lower() + + +@register_entity +class Block(DXFEntity): + """DXF BLOCK entity""" + + DXFTYPE = "BLOCK" + DXFATTRIBS = DXFAttributes(base_class, acdb_entity, acdb_block_begin) + + # Block entity flags: + # This is an anonymous block generated by hatching, associative + # dimensioning, other internal operations, or an application: + ANONYMOUS = 1 + + # This block has non-constant attribute definitions (this bit is not set + # if the block has any attribute definitions that are constant, or has no + # attribute definitions at all): + NON_CONSTANT_ATTRIBUTES = 2 + + # This block is an external reference: + XREF = 4 + + # This block is an xref overlay: + XREF_OVERLAY = 8 + + # This block is externally dependent: + EXTERNAL = 16 + + # This is a resolved external reference, or dependent of an external reference: + RESOLVED = 32 + + # This definition is a referenced external reference: + REFERENCED = 64 + + def load_dxf_attribs( + self, processor: Optional[SubclassProcessor] = None + ) -> DXFNamespace: + """Loading interface. (internal API)""" + dxf = super().load_dxf_attribs(processor) + if processor is None: + return dxf + processor.simple_dxfattribs_loader(dxf, merged_block_begin_group_codes) + if processor.r12: + if dxf.name is None: + dxf.name = "" + name = dxf.name.lower() + if name == MODEL_SPACE_R12_LOWER: + dxf.name = MODEL_SPACE_R2000 + elif name == PAPER_SPACE_R12_LOWER: + dxf.name = PAPER_SPACE_R2000 + return dxf + + def export_entity(self, tagwriter: AbstractTagWriter) -> None: + """Export entity specific data as DXF tags.""" + super().export_entity(tagwriter) + + if tagwriter.dxfversion > DXF12: + tagwriter.write_tag2(SUBCLASS_MARKER, acdb_entity.name) + if self.dxf.hasattr("paperspace"): + tagwriter.write_tag2(67, 1) + self.dxf.export_dxf_attribs(tagwriter, "layer") + if tagwriter.dxfversion > DXF12: + tagwriter.write_tag2(SUBCLASS_MARKER, acdb_block_begin.name) + + name = self.dxf.name + if tagwriter.dxfversion == DXF12: + # export modelspace and paperspace with leading '$' instead of '*' + if name.lower() == MODEL_SPACE_R2000_LOWER: + name = MODEL_SPACE_R12 + elif name.lower() == PAPER_SPACE_R2000_LOWER: + name = PAPER_SPACE_R12 + + tagwriter.write_tag2(2, name) + self.dxf.export_dxf_attribs(tagwriter, ["flags", "base_point"]) + tagwriter.write_tag2(3, name) + self.dxf.export_dxf_attribs(tagwriter, ["xref_path", "description"]) + + @property + def is_layout_block(self) -> bool: + """Returns ``True`` if this is a :class:`~ezdxf.layouts.Modelspace` or + :class:`~ezdxf.layouts.Paperspace` block definition. + """ + name = self.dxf.name.lower() + return name.startswith("*model_space") or name.startswith("*paper_space") + + @property + def is_anonymous(self) -> bool: + """Returns ``True`` if this is an anonymous block generated by + hatching, associative dimensioning, other internal operations, or an + application. + + """ + return self.get_flag_state(Block.ANONYMOUS) + + @property + def is_xref(self) -> bool: + """Returns ``True`` if bock is an external referenced file.""" + return self.get_flag_state(Block.XREF) + + @property + def is_xref_overlay(self) -> bool: + """Returns ``True`` if bock is an external referenced overlay file.""" + return self.get_flag_state(Block.XREF_OVERLAY) + + def audit(self, auditor: Auditor): + owner_handle = self.dxf.get("owner") + if owner_handle is None: # invalid owner handle - IGNORE + return + owner = auditor.entitydb.get(owner_handle) + if owner is None: # invalid owner entity - IGNORE + return + owner_name = owner.dxf.get("name", "").upper() + block_name = self.dxf.get("name", "").upper() + if owner_name != block_name: + auditor.add_error( + AuditError.BLOCK_NAME_MISMATCH, + f"{str(self)} name '{block_name}' and {str(owner)} name '{owner_name}' mismatch", + ) + + def map_resources(self, clone: Self, mapping: xref.ResourceMapper) -> None: + """Translate resources from self to the copied entity.""" + assert isinstance(clone, Block) + super().map_resources(clone, mapping) + clone.dxf.name = mapping.get_block_name(self.dxf.name) + + +acdb_block_end = DefSubclass("AcDbBlockEnd", {}) + + +@register_entity +class EndBlk(DXFEntity): + """DXF ENDBLK entity""" + + DXFTYPE = "ENDBLK" + DXFATTRIBS = DXFAttributes(base_class, acdb_entity, acdb_block_end) + + def load_dxf_attribs( + self, processor: Optional[SubclassProcessor] = None + ) -> DXFNamespace: + """Loading interface. (internal API)""" + dxf = super().load_dxf_attribs(processor) + if processor: + processor.simple_dxfattribs_loader(dxf, acdb_entity_group_codes) # type: ignore + return dxf + + def export_entity(self, tagwriter: AbstractTagWriter) -> None: + """Export entity specific data as DXF tags.""" + super().export_entity(tagwriter) + + if tagwriter.dxfversion > DXF12: + tagwriter.write_tag2(SUBCLASS_MARKER, acdb_entity.name) + if self.dxf.hasattr("paperspace"): + tagwriter.write_tag2(67, 1) + self.dxf.export_dxf_attribs(tagwriter, "layer") + if tagwriter.dxfversion > DXF12: + tagwriter.write_tag2(SUBCLASS_MARKER, acdb_block_end.name) diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/entities/blockrecord.py b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/entities/blockrecord.py new file mode 100644 index 0000000000000000000000000000000000000000..4281a1be16ea43189e58e9b8e9535f19d809450d --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/entities/blockrecord.py @@ -0,0 +1,315 @@ +# Copyright (c) 2019-2024, Manfred Moitzi +# License: MIT License +from __future__ import annotations +from typing import TYPE_CHECKING, Optional +from typing_extensions import Self +import logging + +from ezdxf.lldxf import validator +from ezdxf.lldxf.attributes import ( + DXFAttr, + DXFAttributes, + DefSubclass, + RETURN_DEFAULT, + group_code_mapping, +) +from ezdxf.lldxf.const import ( + DXF12, + SUBCLASS_MARKER, + DXF2007, + DXFInternalEzdxfError, +) +from ezdxf.entities.dxfentity import base_class, SubclassProcessor, DXFEntity +from ezdxf.entities.layer import acdb_symbol_table_record +from .factory import register_entity + +if TYPE_CHECKING: + from ezdxf.audit import Auditor + from ezdxf.entities import DXFGraphic, Block, EndBlk + from ezdxf.entities import DXFNamespace + from ezdxf.entitydb import EntitySpace + from ezdxf.layouts import BlockLayout + from ezdxf.lldxf.tagwriter import AbstractTagWriter + from ezdxf import xref + +__all__ = ["BlockRecord"] +logger = logging.getLogger("ezdxf") + +acdb_blockrec = DefSubclass( + "AcDbBlockTableRecord", + { + "name": DXFAttr(2, validator=validator.is_valid_block_name), + # handle to associated DXF LAYOUT object + "layout": DXFAttr(340, default="0"), + # 0 = can not explode; 1 = can explode + "explode": DXFAttr( + 280, + default=1, + dxfversion=DXF2007, + validator=validator.is_integer_bool, + fixer=RETURN_DEFAULT, + ), + # 0 = scale non uniformly; 1 = scale uniformly + "scale": DXFAttr( + 281, + default=0, + dxfversion=DXF2007, + validator=validator.is_integer_bool, + fixer=RETURN_DEFAULT, + ), + # see ezdxf/units.py + "units": DXFAttr( + 70, + default=0, + dxfversion=DXF2007, + validator=validator.is_in_integer_range(0, 25), + fixer=RETURN_DEFAULT, + ), + # 310: Binary data for bitmap preview (optional) - removed (ignored) by ezdxf + }, +) +acdb_blockrec_group_codes = group_code_mapping(acdb_blockrec) + +# optional handles to existing block references in DXF2000+ +# 2: name +# 340: explode +# 102: "{BLKREFS" +# 331: handle to INSERT +# ... +# 102: "}" + + +# optional XDATA for all DXF versions +# 1000: "ACAD" +# 1001: "DesignCenter Data" (optional) +# 1002: "{" +# 1070: Autodesk Design Center version number +# 1070: Insert units: like 'units' +# 1002: "}" + + +@register_entity +class BlockRecord(DXFEntity): + """DXF BLOCK_RECORD table entity + + BLOCK_RECORD is the hard owner of all entities in BLOCK definitions, this + means owner tag of entities is handle of BLOCK_RECORD. + + """ + + DXFTYPE = "BLOCK_RECORD" + DXFATTRIBS = DXFAttributes(base_class, acdb_symbol_table_record, acdb_blockrec) + + def __init__(self) -> None: + from ezdxf.entitydb import EntitySpace + + super().__init__() + # Store entities in the block_record instead of BlockLayout and Layout, + # because BLOCK_RECORD is also the hard owner of all the entities. + self.entity_space = EntitySpace() + self.block: Optional[Block] = None + self.endblk: Optional[EndBlk] = None + # stores also the block layout structure + self.block_layout: Optional[BlockLayout] = None + + def set_block(self, block: Block, endblk: EndBlk): + self.block = block + self.endblk = endblk + self.block.dxf.owner = self.dxf.handle + self.endblk.dxf.owner = self.dxf.handle + + def set_entity_space(self, entity_space: EntitySpace) -> None: + self.entity_space = entity_space + + def rename(self, name: str) -> None: + assert self.block is not None + self.dxf.name = name + self.block.dxf.name = name + + def load_dxf_attribs( + self, processor: Optional[SubclassProcessor] = None + ) -> DXFNamespace: + dxf = super().load_dxf_attribs(processor) + if processor: + processor.simple_dxfattribs_loader(dxf, acdb_blockrec_group_codes) # type: ignore + return dxf + + def export_entity(self, tagwriter: AbstractTagWriter) -> None: + super().export_entity(tagwriter) + if tagwriter.dxfversion == DXF12: + raise DXFInternalEzdxfError("Exporting BLOCK_RECORDS for DXF R12.") + tagwriter.write_tag2(SUBCLASS_MARKER, acdb_symbol_table_record.name) + tagwriter.write_tag2(SUBCLASS_MARKER, acdb_blockrec.name) + + self.dxf.export_dxf_attribs( + tagwriter, + [ + "name", + "layout", + "units", + "explode", + "scale", + ], + ) + + def export_block_definition(self, tagwriter: AbstractTagWriter) -> None: + """Exports the BLOCK entity, followed by all content entities and finally the + ENDBLK entity, except for the *Model_Space and *Paper_Space blocks, their + entities are stored in the ENTITIES section. + + """ + assert self.block is not None + assert self.endblk is not None + if self.block_layout is not None: + self.block_layout.update_block_flags() + self.block.export_dxf(tagwriter) + if not (self.is_modelspace or self.is_active_paperspace): + self.entity_space.export_dxf(tagwriter) + self.endblk.export_dxf(tagwriter) + + def register_resources(self, registry: xref.Registry) -> None: + """Register required resources to the resource registry.""" + assert self.doc is not None, "BLOCK_RECORD entity must be assigned to document" + assert self.doc.entitydb is not None, "entity database required" + super().register_resources(registry) + key = self.dxf.handle + assert key in self.doc.entitydb, "invalid BLOCK_RECORD handle" + + if self.block is not None: + registry.add_entity(self.block, block_key=key) + else: + raise DXFInternalEzdxfError( + f"BLOCK entity in BLOCK_RECORD #{key} is invalid" + ) + if self.endblk is not None: + registry.add_entity(self.endblk, block_key=key) + else: + raise DXFInternalEzdxfError( + f"ENDBLK entity in BLOCK_RECORD #{key} is invalid" + ) + for e in self.entity_space: + registry.add_entity(e, block_key=key) + + def map_resources(self, clone: Self, mapping: xref.ResourceMapper) -> None: + """Translate resources from self to the copied entity.""" + assert isinstance(clone, BlockRecord) + super().map_resources(clone, mapping) + + assert self.block is not None + mapping.map_resources_of_copy(self.block) + + assert self.endblk is not None + mapping.map_resources_of_copy(self.endblk) + + for entity in self.entity_space: + mapping.map_resources_of_copy(entity) + + def destroy(self): + """Destroy associated data: + + - BLOCK + - ENDBLK + - all entities stored in this block definition + + Does not destroy the linked LAYOUT entity, this is the domain of the + :class:`Layouts` object, which also should initiate the destruction of + 'this' BLOCK_RECORD. + + """ + if not self.is_alive: + return + + self.block.destroy() + self.endblk.destroy() + for entity in self.entity_space: + entity.destroy() + + # remove attributes to find invalid access after death + del self.block + del self.endblk + del self.block_layout + super().destroy() + + @property + def is_active_paperspace(self) -> bool: + """``True`` if is "active" paperspace layout.""" + return self.dxf.name.lower() == "*paper_space" + + @property + def is_any_paperspace(self) -> bool: + """``True`` if is any kind of paperspace layout.""" + return self.dxf.name.lower().startswith("*paper_space") + + @property + def is_modelspace(self) -> bool: + """``True`` if is the modelspace layout.""" + return self.dxf.name.lower() == "*model_space" + + @property + def is_any_layout(self) -> bool: + """``True`` if is any kind of modelspace or paperspace layout.""" + return self.is_modelspace or self.is_any_paperspace + + @property + def is_block_layout(self) -> bool: + """``True`` if not any kind of modelspace or paperspace layout, just a + regular block definition. + """ + return not self.is_any_layout + + @property + def is_xref(self) -> bool: + """``True`` if represents an XREF (external reference) or XREF_OVERLAY.""" + if self.block is not None: + return bool(self.block.dxf.flags & 12) + return False + + def add_entity(self, entity: DXFGraphic) -> None: + """Add an existing DXF entity to BLOCK_RECORD. + + Args: + entity: :class:`DXFGraphic` + + """ + # assign layout + try: + entity.set_owner(self.dxf.handle, paperspace=int(self.is_any_paperspace)) + except AttributeError: + logger.debug(f"Unexpected DXF entity {str(entity)} in {str(self.block)}") + # Add unexpected entities also to the entity space - auditor should fix + # errors! + self.entity_space.add(entity) + + def unlink_entity(self, entity: DXFGraphic) -> None: + """Unlink `entity` from BLOCK_RECORD. + + Removes `entity` just from entity space but not from the drawing + database. + + Args: + entity: :class:`DXFGraphic` + + """ + if entity.is_alive: + self.entity_space.remove(entity) + try: + entity.set_owner(None) + except AttributeError: + pass # unsupported entities as DXFTagStorage + + def delete_entity(self, entity: DXFGraphic) -> None: + """Delete `entity` from BLOCK_RECORD entity space and drawing database. + + Args: + entity: :class:`DXFGraphic` + + """ + self.unlink_entity(entity) # 1. unlink from entity space + entity.destroy() + + def audit(self, auditor: Auditor) -> None: + """Validity check. (internal API)""" + if not self.is_alive: + return + super().audit(auditor) + self.entity_space.audit(auditor) diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/entities/boundary_paths.py b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/entities/boundary_paths.py new file mode 100644 index 0000000000000000000000000000000000000000..00ac856552af82fbd2be33c0f87f255f8ec4e783 --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/entities/boundary_paths.py @@ -0,0 +1,1443 @@ +# Copyright (c) 2021-2024, Manfred Moitzi +# License: MIT License +from __future__ import annotations +from typing import Union, Iterable, Sequence, Optional, TYPE_CHECKING +import abc +import enum +import math + +from ezdxf.lldxf import const +from ezdxf.lldxf.tags import Tags, group_tags +from ezdxf.math import ( + Vec2, + Vec3, + UVec, + OCS, + bulge_to_arc, + ConstructionEllipse, + ConstructionArc, + BSpline, + NonUniformScalingError, + open_uniform_knot_vector, + global_bspline_interpolation, + arc_angle_span_deg, + angle_to_param, + param_to_angle, +) +from ezdxf.math.transformtools import OCSTransform + +if TYPE_CHECKING: + from ezdxf.lldxf.tagwriter import AbstractTagWriter + +__all__ = [ + "BoundaryPaths", + "PolylinePath", + "EdgePath", + "LineEdge", + "ArcEdge", + "EllipseEdge", + "SplineEdge", + "EdgeType", + "BoundaryPathType", + "AbstractEdge", + "AbstractBoundaryPath", +] + + +@enum.unique +class BoundaryPathType(enum.IntEnum): + POLYLINE = 1 + EDGE = 2 + + +@enum.unique +class EdgeType(enum.IntEnum): + LINE = 1 + ARC = 2 + ELLIPSE = 3 + SPLINE = 4 + + +class AbstractBoundaryPath(abc.ABC): + type: BoundaryPathType + path_type_flags: int + source_boundary_objects: list[str] + + @abc.abstractmethod + def clear(self) -> None: ... + + @classmethod + @abc.abstractmethod + def load_tags(cls, tags: Tags) -> AbstractBoundaryPath: ... + + @abc.abstractmethod + def export_dxf(self, tagwriter: AbstractTagWriter, dxftype: str) -> None: ... + + @abc.abstractmethod + def transform(self, ocs: OCSTransform, elevation: float) -> None: ... + + @abc.abstractmethod + def is_valid(self) -> bool: ... + + +class AbstractEdge(abc.ABC): + type: EdgeType + + @property + @abc.abstractmethod + def start_point(self) -> Vec2: ... + + @property + @abc.abstractmethod + def end_point(self) -> Vec2: ... + + @abc.abstractmethod + def export_dxf(self, tagwriter: AbstractTagWriter) -> None: ... + + @abc.abstractmethod + def transform(self, ocs: OCSTransform, elevation: float) -> None: ... + + @abc.abstractmethod + def is_valid(self) -> bool: ... + + @property + def real_start_point(self) -> Vec2: + return self.start_point + + @property + def real_end_point(self) -> Vec2: + return self.end_point + + +class BoundaryPaths: + def __init__(self, paths: Optional[list[AbstractBoundaryPath]] = None): + self.paths: list[AbstractBoundaryPath] = paths or [] + + def __len__(self): + return len(self.paths) + + def __getitem__(self, item): + return self.paths[item] + + def __iter__(self): + return iter(self.paths) + + def is_valid(self) -> bool: + return all(p.is_valid() for p in self.paths) + + @classmethod + def load_tags(cls, tags: Tags) -> BoundaryPaths: + paths = [] + assert tags[0].code == 92 + grouped_path_tags = group_tags(tags, splitcode=92) + for path_tags in grouped_path_tags: + path_type_flags = path_tags[0].value + is_polyline_path = bool(path_type_flags & 2) + path: AbstractBoundaryPath = ( + PolylinePath.load_tags(path_tags) + if is_polyline_path + else EdgePath.load_tags(path_tags) + ) + path.path_type_flags = path_type_flags + paths.append(path) + return cls(paths) + + @property + def has_edge_paths(self) -> bool: + return any(p.type == BoundaryPathType.EDGE for p in self.paths) + + def clear(self) -> None: + """Remove all boundary paths.""" + self.paths = [] + + def external_paths(self) -> Iterable[AbstractBoundaryPath]: + """Iterable of external paths, could be empty.""" + for b in self.paths: + if b.path_type_flags & const.BOUNDARY_PATH_EXTERNAL: + yield b + + def outermost_paths(self) -> Iterable[AbstractBoundaryPath]: + """Iterable of outermost paths, could be empty.""" + for b in self.paths: + if b.path_type_flags & const.BOUNDARY_PATH_OUTERMOST: + yield b + + def default_paths(self) -> Iterable[AbstractBoundaryPath]: + """Iterable of default paths, could be empty.""" + not_default = const.BOUNDARY_PATH_OUTERMOST + const.BOUNDARY_PATH_EXTERNAL + for b in self.paths: + if bool(b.path_type_flags & not_default) is False: + yield b + + def rendering_paths( + self, hatch_style: int = const.HATCH_STYLE_NESTED + ) -> Iterable[AbstractBoundaryPath]: + """Iterable of paths to process for rendering, filters unused + boundary paths according to the given hatch style: + + - NESTED: use all boundary paths + - OUTERMOST: use EXTERNAL and OUTERMOST boundary paths + - IGNORE: ignore all paths except EXTERNAL boundary paths + + Yields paths in order of EXTERNAL, OUTERMOST and DEFAULT. + + """ + + def path_type_enum(flags) -> int: + if flags & const.BOUNDARY_PATH_EXTERNAL: + return 0 + elif flags & const.BOUNDARY_PATH_OUTERMOST: + return 1 + return 2 + + paths = sorted( + (path_type_enum(p.path_type_flags), i, p) for i, p in enumerate(self.paths) + ) + ignore = 1 # EXTERNAL only + if hatch_style == const.HATCH_STYLE_NESTED: + ignore = 3 + elif hatch_style == const.HATCH_STYLE_OUTERMOST: + ignore = 2 + return (p for path_type, _, p in paths if path_type < ignore) + + def append(self, path: AbstractBoundaryPath) -> None: + """Append a new boundary path. + + .. versionadded:: 1.4 + """ + if not isinstance(path, AbstractBoundaryPath): + raise TypeError(f"invalid path type: {type(path)}") + self.paths.append(path) + + def add_polyline_path( + self, + path_vertices: Iterable[tuple[float, ...]], + is_closed: bool = True, + flags: int = 1, + ) -> PolylinePath: + """Create and add a new :class:`PolylinePath` object. + + Args: + path_vertices: iterable of polyline vertices as (x, y) or + (x, y, bulge)-tuples. + is_closed: 1 for a closed polyline else 0 + flags: default(0), external(1), derived(4), textbox(8) or outermost(16) + + """ + new_path = PolylinePath.from_vertices(path_vertices, is_closed, flags) + self.append(new_path) + return new_path + + def add_edge_path(self, flags: int = 1) -> EdgePath: + """Create and add a new :class:`EdgePath` object. + + Args: + flags: default(0), external(1), derived(4), textbox(8) or outermost(16) + + """ + new_path = EdgePath() + new_path.path_type_flags = flags + self.append(new_path) + return new_path + + def export_dxf(self, tagwriter: AbstractTagWriter, dxftype: str) -> None: + tagwriter.write_tag2(91, len(self.paths)) + for path in self.paths: + path.export_dxf(tagwriter, dxftype) + + def transform(self, ocs: OCSTransform, elevation: float = 0) -> None: + """Transform HATCH boundary paths. + + These paths are 2d elements, placed in the OCS of the HATCH. + + """ + if not ocs.scale_uniform: + self.polyline_to_edge_paths(just_with_bulge=True) + self.arc_edges_to_ellipse_edges() + + for path in self.paths: + path.transform(ocs, elevation=elevation) + + def polyline_to_edge_paths(self, just_with_bulge=True) -> None: + """Convert polyline paths including bulge values to line- and arc edges. + + Args: + just_with_bulge: convert only polyline paths including bulge + values if ``True`` + + """ + + def _edges(points) -> Iterable[Union[LineEdge, ArcEdge]]: + prev_point: Vec3 | None = None + prev_bulge: float = 0.0 + for x, y, bulge in points: + point = Vec3(x, y) + if prev_point is None: + prev_point = point + prev_bulge = bulge + continue + + if prev_bulge != 0.0: + arc = ArcEdge() + # bulge_to_arc returns always counter-clockwise oriented + # start- and end angles: + ( + arc.center, + start_angle, + end_angle, + arc.radius, + ) = bulge_to_arc(prev_point, point, prev_bulge) + chk_point = arc.center + Vec2.from_angle(start_angle, arc.radius) + arc.ccw = chk_point.isclose(prev_point, abs_tol=1e-9) + arc.start_angle = math.degrees(start_angle) % 360.0 + arc.end_angle = math.degrees(end_angle) % 360.0 + if math.isclose(arc.start_angle, arc.end_angle) and math.isclose( + arc.start_angle, 0 + ): + arc.end_angle = 360.0 + yield arc + else: + line = LineEdge() + line.start = (prev_point.x, prev_point.y) + line.end = (point.x, point.y) + yield line + + prev_point = point + prev_bulge = bulge + + def to_edge_path(polyline_path) -> EdgePath: + edge_path = EdgePath() + vertices: list = list(polyline_path.vertices) + if polyline_path.is_closed: + vertices.append(vertices[0]) + edge_path.edges = list(_edges(vertices)) + return edge_path + + for path_index, path in enumerate(self.paths): + if isinstance(path, PolylinePath): + if just_with_bulge and not path.has_bulge(): + continue + self.paths[path_index] = to_edge_path(path) + + def edge_to_polyline_paths(self, distance: float, segments: int = 16): + """Convert all edge paths to simple polyline paths without bulges. + + Args: + distance: maximum distance from the center of the curve to the + center of the line segment between two approximation points to + determine if a segment should be subdivided. + segments: minimum segment count per curve + + """ + converted = [] + for path in self.paths: + if path.type == BoundaryPathType.EDGE: + path = flatten_to_polyline_path(path, distance, segments) + converted.append(path) + self.paths = converted + + def arc_edges_to_ellipse_edges(self) -> None: + """Convert all arc edges to ellipse edges.""" + + def to_ellipse(arc: ArcEdge) -> EllipseEdge: + ellipse = EllipseEdge() + ellipse.center = arc.center + ellipse.ratio = 1.0 + ellipse.major_axis = (arc.radius, 0.0) + ellipse.start_angle = arc.start_angle + ellipse.end_angle = arc.end_angle + ellipse.ccw = arc.ccw + return ellipse + + for path in self.paths: + if isinstance(path, EdgePath): + edges = path.edges + for edge_index, edge in enumerate(edges): + if isinstance(edge, ArcEdge): + edges[edge_index] = to_ellipse(edge) + + def ellipse_edges_to_spline_edges(self, num: int = 32) -> None: + """ + Convert all ellipse edges to spline edges (approximation). + + Args: + num: count of control points for a **full** ellipse, partial + ellipses have proportional fewer control points but at least 3. + + """ + + def to_spline_edge(e: EllipseEdge) -> SplineEdge: + # No OCS transformation needed, source ellipse and target spline + # reside in the same OCS. + ellipse = ConstructionEllipse( + center=e.center, + major_axis=e.major_axis, + ratio=e.ratio, + start_param=e.start_param, + end_param=e.end_param, + ) + count = max(int(float(num) * ellipse.param_span / math.tau), 3) + tool = BSpline.ellipse_approximation(ellipse, count) + spline = SplineEdge() + spline.degree = tool.degree + if not e.ccw: + tool = tool.reverse() + + spline.control_points = Vec2.list(tool.control_points) + spline.knot_values = tool.knots() # type: ignore + spline.weights = tool.weights() # type: ignore + return spline + + for path_index, path in enumerate(self.paths): + if isinstance(path, EdgePath): + edges = path.edges + for edge_index, edge in enumerate(edges): + if isinstance(edge, EllipseEdge): + edges[edge_index] = to_spline_edge(edge) + + def spline_edges_to_line_edges(self, factor: int = 8) -> None: + """Convert all spline edges to line edges (approximation). + + Args: + factor: count of approximation segments = count of control + points x factor + + """ + + def to_line_edges(spline_edge: SplineEdge): + weights = spline_edge.weights + if len(spline_edge.control_points): + bspline = BSpline( + control_points=spline_edge.control_points, + order=spline_edge.degree + 1, + knots=spline_edge.knot_values, + weights=weights if len(weights) else None, + ) + elif len(spline_edge.fit_points): + bspline = BSpline.from_fit_points( + spline_edge.fit_points, spline_edge.degree + ) + else: + raise const.DXFStructureError( + "SplineEdge() without control points or fit points." + ) + segment_count = (max(len(bspline.control_points), 3) - 1) * factor + vertices = list(bspline.approximate(segment_count)) + for v1, v2 in zip(vertices[:-1], vertices[1:]): + edge = LineEdge() + edge.start = v1.vec2 + edge.end = v2.vec2 + yield edge + + for path in self.paths: + if isinstance(path, EdgePath): + new_edges = [] + for edge in path.edges: + if isinstance(edge, SplineEdge): + new_edges.extend(to_line_edges(edge)) + else: + new_edges.append(edge) + path.edges = new_edges + + def ellipse_edges_to_line_edges(self, num: int = 64) -> None: + """Convert all ellipse edges to line edges (approximation). + + Args: + num: count of control points for a **full** ellipse, partial + ellipses have proportional fewer control points but at least 3. + + """ + + def to_line_edges(edge): + # Start- and end params are always stored in counter clockwise order! + ellipse = ConstructionEllipse( + center=edge.center, + major_axis=edge.major_axis, + ratio=edge.ratio, + start_param=edge.start_param, + end_param=edge.end_param, + ) + segment_count = max(int(float(num) * ellipse.param_span / math.tau), 3) + params = ellipse.params(segment_count + 1) + + # Reverse path if necessary! + if not edge.ccw: + params = reversed(list(params)) + vertices = list(ellipse.vertices(params)) + for v1, v2 in zip(vertices[:-1], vertices[1:]): + line = LineEdge() + line.start = v1.vec2 + line.end = v2.vec2 + yield line + + for path in self.paths: + if isinstance(path, EdgePath): + new_edges = [] + for edge in path.edges: + if isinstance(edge, EllipseEdge): + new_edges.extend(to_line_edges(edge)) + else: + new_edges.append(edge) + path.edges = new_edges + + def all_to_spline_edges(self, num: int = 64) -> None: + """Convert all bulge, arc and ellipse edges to spline edges + (approximation). + + Args: + num: count of control points for a **full** circle/ellipse, partial + circles/ellipses have proportional fewer control points but at + least 3. + + """ + self.polyline_to_edge_paths(just_with_bulge=True) + self.arc_edges_to_ellipse_edges() + self.ellipse_edges_to_spline_edges(num) + + def all_to_line_edges(self, num: int = 64, spline_factor: int = 8) -> None: + """Convert all bulge, arc and ellipse edges to spline edges and + approximate this splines by line edges. + + Args: + num: count of control points for a **full** circle/ellipse, partial + circles/ellipses have proportional fewer control points but at + least 3. + spline_factor: count of spline approximation segments = count of + control points x spline_factor + + """ + self.polyline_to_edge_paths(just_with_bulge=True) + self.arc_edges_to_ellipse_edges() + self.ellipse_edges_to_line_edges(num) + self.spline_edges_to_line_edges(spline_factor) + + def has_critical_elements(self) -> bool: + """Returns ``True`` if any boundary path has bulge values or arc edges + or ellipse edges. + + """ + for path in self.paths: + if isinstance(path, PolylinePath): + return path.has_bulge() + elif isinstance(path, EdgePath): + for edge in path.edges: + if edge.type in {EdgeType.ARC, EdgeType.ELLIPSE}: + return True + else: + raise TypeError(type(path)) + return False + + +def flatten_to_polyline_path( + path: AbstractBoundaryPath, distance: float, segments: int = 16 +) -> PolylinePath: + import ezdxf.path # avoid cyclic imports + + # keep path in original OCS! + ez_path = ezdxf.path.from_hatch_boundary_path(path, ocs=OCS(), elevation=0) + vertices = ((v.x, v.y) for v in ez_path.flattening(distance, segments)) + return PolylinePath.from_vertices( + vertices, + flags=path.path_type_flags, + ) + + +def pop_source_boundary_objects_tags(path_tags: Tags) -> list[str]: + source_boundary_object_tags = [] + while len(path_tags): + if path_tags[-1].code in (97, 330): + last_tag = path_tags.pop() + if last_tag.code == 330: + source_boundary_object_tags.append(last_tag.value) + else: # code == 97 + # result list does not contain the length tag! + source_boundary_object_tags.reverse() + return source_boundary_object_tags + else: + break + # No source boundary objects found - entity is not valid for AutoCAD + return [] + + +def export_source_boundary_objects( + tagwriter: AbstractTagWriter, handles: Sequence[str] +): + tagwriter.write_tag2(97, len(handles)) + for handle in handles: + tagwriter.write_tag2(330, handle) + + +class PolylinePath(AbstractBoundaryPath): + type = BoundaryPathType.POLYLINE + + def __init__(self) -> None: + self.path_type_flags: int = const.BOUNDARY_PATH_POLYLINE + self.is_closed = False + # list of 2D coordinates with bulge values (x, y, bulge); + # bulge default = 0.0 + self.vertices: list[tuple[float, float, float]] = [] + # MPOLYGON does not support source boundary objects, the MPOLYGON is + # the source object! + self.source_boundary_objects: list[str] = [] # (330, handle) tags + + def is_valid(self) -> bool: + return True + + @classmethod + def from_vertices( + cls, + path_vertices: Iterable[tuple[float, ...]], + is_closed: bool = True, + flags: int = 1, + ) -> PolylinePath: + """Create a new :class:`PolylinePath` object from vertices. + + Args: + path_vertices: iterable of polyline vertices as (x, y) or + (x, y, bulge)-tuples. + is_closed: 1 for a closed polyline else 0 + flags: default(0), external(1), derived(4), textbox(8) or outermost(16) + + """ + new_path = PolylinePath() + new_path.set_vertices(path_vertices, is_closed) + new_path.path_type_flags = flags | const.BOUNDARY_PATH_POLYLINE + return new_path + + @classmethod + def load_tags(cls, tags: Tags) -> PolylinePath: + path = PolylinePath() + path.source_boundary_objects = pop_source_boundary_objects_tags(tags) + for tag in tags: + code, value = tag + if code == 10: # vertex coordinates + # (x, y, bulge); bulge default = 0.0 + path.vertices.append((value[0], value[1], 0.0)) + elif code == 42: # bulge value + x, y, bulge = path.vertices.pop() + # Last coordinates with new bulge value + path.vertices.append((x, y, value)) + elif code == 72: + pass # ignore this value + elif code == 73: + path.is_closed = value + elif code == 92: + path.path_type_flags = value + elif code == 93: # number of polyline vertices + pass # ignore this value + return path + + def set_vertices( + self, vertices: Iterable[Sequence[float]], is_closed: bool = True + ) -> None: + """Set new `vertices` as new polyline path, a vertex has to be a + (x, y) or a (x, y, bulge)-tuple. + + """ + new_vertices = [] + for vertex in vertices: + if len(vertex) == 2: + x, y = vertex + bulge = 0.0 + elif len(vertex) == 3: + x, y, bulge = vertex + else: + raise const.DXFValueError( + "Invalid vertex format, expected (x, y) or (x, y, bulge)" + ) + new_vertices.append((x, y, bulge)) + self.vertices = new_vertices + self.is_closed = is_closed + + def clear(self) -> None: + """Removes all vertices and all handles to associated DXF objects + (:attr:`source_boundary_objects`). + """ + self.vertices = [] + self.is_closed = False + self.source_boundary_objects = [] + + def has_bulge(self) -> bool: + return any(bulge for x, y, bulge in self.vertices) + + def export_dxf(self, tagwriter: AbstractTagWriter, dxftype: str) -> None: + has_bulge = self.has_bulge() + write_tag = tagwriter.write_tag2 + + write_tag(92, int(self.path_type_flags)) + if dxftype == "HATCH": # great design :< + write_tag(72, int(has_bulge)) + write_tag(73, int(self.is_closed)) + elif dxftype == "MPOLYGON": + write_tag(73, int(self.is_closed)) + write_tag(72, int(has_bulge)) + else: + raise ValueError(f"unsupported DXF type {dxftype}") + write_tag(93, len(self.vertices)) + for x, y, bulge in self.vertices: + tagwriter.write_vertex(10, (float(x), float(y))) + if has_bulge: + write_tag(42, float(bulge)) + + if dxftype == "HATCH": + export_source_boundary_objects(tagwriter, self.source_boundary_objects) + + def transform(self, ocs: OCSTransform, elevation: float) -> None: + """Transform polyline path.""" + has_non_uniform_scaling = not ocs.scale_uniform + + def _transform(): + for x, y, bulge in self.vertices: + # PolylinePaths() with arcs should be converted to + # EdgePath(in BoundaryPath.transform()). + if bulge and has_non_uniform_scaling: + raise NonUniformScalingError( + "Polyline path with arcs does not support non-uniform " + "scaling" + ) + v = ocs.transform_vertex(Vec3(x, y, elevation)) + yield v.x, v.y, bulge + + if self.vertices: + self.vertices = list(_transform()) + + +class EdgePath(AbstractBoundaryPath): + type = BoundaryPathType.EDGE + + def __init__(self) -> None: + self.path_type_flags = const.BOUNDARY_PATH_DEFAULT + self.edges: list[AbstractEdge] = [] + self.source_boundary_objects = [] + + def __iter__(self): + return iter(self.edges) + + def is_valid(self) -> bool: + return all(e.is_valid() for e in self.edges) + + @classmethod + def load_tags(cls, tags: Tags) -> EdgePath: + edge_path = cls() + edge_path.source_boundary_objects = pop_source_boundary_objects_tags(tags) + for edge_tags in group_tags(tags, splitcode=72): + if len(edge_tags) == 0: + continue + edge_type = edge_tags[0].value + if 0 < edge_type < 5: + edge_path.edges.append(EDGE_CLASSES[edge_type].load_tags(edge_tags[1:])) + return edge_path + + def transform(self, ocs: OCSTransform, elevation: float) -> None: + """Transform edge boundary paths.""" + for edge in self.edges: + edge.transform(ocs, elevation=elevation) + + def add_line(self, start: UVec, end: UVec) -> LineEdge: + """Add a :class:`LineEdge` from `start` to `end`. + + Args: + start: start point of line, (x, y)-tuple + end: end point of line, (x, y)-tuple + + """ + line = LineEdge() + line.start = Vec2(start) + line.end = Vec2(end) + self.edges.append(line) + return line + + def add_arc( + self, + center: UVec, + radius: float = 1.0, + start_angle: float = 0.0, + end_angle: float = 360.0, + ccw: bool = True, + ) -> ArcEdge: + """Add an :class:`ArcEdge`. + + **Adding Clockwise Oriented Arcs:** + + Clockwise oriented :class:`ArcEdge` objects are sometimes necessary to + build closed loops, but the :class:`ArcEdge` objects are always + represented in counter-clockwise orientation. + To add a clockwise oriented :class:`ArcEdge` you have to swap the + start- and end angle and set the `ccw` flag to ``False``, + e.g. to add a clockwise oriented :class:`ArcEdge` from 180 to 90 degree, + add the :class:`ArcEdge` in counter-clockwise orientation with swapped + angles:: + + edge_path.add_arc(center, radius, start_angle=90, end_angle=180, ccw=False) + + Args: + center: center point of arc, (x, y)-tuple + radius: radius of circle + start_angle: start angle of arc in degrees (`end_angle` for a + clockwise oriented arc) + end_angle: end angle of arc in degrees (`start_angle` for a + clockwise oriented arc) + ccw: ``True`` for counter-clockwise ``False`` for + clockwise orientation + + """ + arc = ArcEdge() + arc.center = Vec2(center) + arc.radius = radius + # Start- and end angles always for counter-clockwise oriented arcs! + arc.start_angle = start_angle + arc.end_angle = end_angle + # Flag to export the counter-clockwise oriented arc in + # correct clockwise orientation: + arc.ccw = bool(ccw) + self.edges.append(arc) + return arc + + def add_ellipse( + self, + center: UVec, + major_axis: UVec = (1.0, 0.0), + ratio: float = 1.0, + start_angle: float = 0.0, + end_angle: float = 360.0, + ccw: bool = True, + ) -> EllipseEdge: + """Add an :class:`EllipseEdge`. + + **Adding Clockwise Oriented Ellipses:** + + Clockwise oriented :class:`EllipseEdge` objects are sometimes necessary + to build closed loops, but the :class:`EllipseEdge` objects are always + represented in counter-clockwise orientation. + To add a clockwise oriented :class:`EllipseEdge` you have to swap the + start- and end angle and set the `ccw` flag to ``False``, + e.g. to add a clockwise oriented :class:`EllipseEdge` from 180 to 90 + degree, add the :class:`EllipseEdge` in counter-clockwise orientation + with swapped angles:: + + edge_path.add_ellipse(center, major_axis, ratio, start_angle=90, end_angle=180, ccw=False) + + Args: + center: center point of ellipse, (x, y)-tuple + major_axis: vector of major axis as (x, y)-tuple + ratio: ratio of minor axis to major axis as float + start_angle: start angle of ellipse in degrees (`end_angle` for a + clockwise oriented ellipse) + end_angle: end angle of ellipse in degrees (`start_angle` for a + clockwise oriented ellipse) + ccw: ``True`` for counter-clockwise ``False`` for + clockwise orientation + + """ + + if ratio > 1.0: + raise const.DXFValueError("argument 'ratio' has to be <= 1.0") + ellipse = EllipseEdge() + ellipse.center = Vec2(center) + ellipse.major_axis = Vec2(major_axis) + ellipse.ratio = ratio + # Start- and end angles are always stored in counter-clockwise + # orientation! + ellipse.start_angle = start_angle + ellipse.end_angle = end_angle + # Flag to export the counter-clockwise oriented ellipse in + # correct clockwise orientation: + ellipse.ccw = bool(ccw) + self.edges.append(ellipse) + return ellipse + + def add_spline( + self, + fit_points: Optional[Iterable[UVec]] = None, + control_points: Optional[Iterable[UVec]] = None, + knot_values: Optional[Iterable[float]] = None, + weights: Optional[Iterable[float]] = None, + degree: int = 3, + periodic: int = 0, + start_tangent: Optional[UVec] = None, + end_tangent: Optional[UVec] = None, + ) -> SplineEdge: + """Add a :class:`SplineEdge`. + + Args: + fit_points: points through which the spline must go, at least 3 fit + points are required. list of (x, y)-tuples + control_points: affects the shape of the spline, mandatory and + AutoCAD crashes on invalid data. list of (x, y)-tuples + knot_values: (knot vector) mandatory and AutoCAD crashes on invalid + data. list of floats; `ezdxf` provides two tool functions to + calculate valid knot values: :func:`ezdxf.math.uniform_knot_vector`, + :func:`ezdxf.math.open_uniform_knot_vector` (default if ``None``) + weights: weight of control point, not mandatory, list of floats. + degree: degree of spline (int) + periodic: 1 for periodic spline, 0 for none periodic spline + start_tangent: start_tangent as 2d vector, optional + end_tangent: end_tangent as 2d vector, optional + + .. warning:: + + Unlike for the spline entity AutoCAD does not calculate the + necessary `knot_values` for the spline edge itself. On the contrary, + if the `knot_values` in the spline edge are missing or invalid + AutoCAD **crashes**. + + """ + spline = SplineEdge() + if fit_points is not None: + spline.fit_points = Vec2.list(fit_points) + if control_points is not None: + spline.control_points = Vec2.list(control_points) + if knot_values is not None: + spline.knot_values = list(knot_values) + else: + spline.knot_values = list( + open_uniform_knot_vector(len(spline.control_points), degree + 1) + ) + if weights is not None: + spline.weights = list(weights) + spline.degree = degree + spline.rational = int(bool(len(spline.weights))) + spline.periodic = int(periodic) + if start_tangent is not None: + spline.start_tangent = Vec2(start_tangent) + if end_tangent is not None: + spline.end_tangent = Vec2(end_tangent) + self.edges.append(spline) + return spline + + def add_spline_control_frame( + self, + fit_points: Iterable[tuple[float, float]], + degree: int = 3, + method: str = "distance", + ) -> SplineEdge: + bspline = global_bspline_interpolation( + fit_points=fit_points, degree=degree, method=method + ) + return self.add_spline( + fit_points=fit_points, + control_points=bspline.control_points, + knot_values=bspline.knots(), + ) + + def clear(self) -> None: + """Delete all edges.""" + self.edges = [] + + def export_dxf(self, tagwriter: AbstractTagWriter, dxftype: str) -> None: + tagwriter.write_tag2(92, int(self.path_type_flags)) + tagwriter.write_tag2(93, len(self.edges)) + for edge in self.edges: + edge.export_dxf(tagwriter) + export_source_boundary_objects(tagwriter, self.source_boundary_objects) + + def close_gaps(self, len_tol: float) -> None: + """Insert line-edges between the existing edges if the gap between these edges + are bigger than `len_tol`. + + .. versionadded:: 1.4 + + """ + if len(self.edges) < 2: + return + current_edges = list(self.edges) + first_edge = current_edges.pop(0) + current_edges.append(first_edge) + + new_edges: list[AbstractEdge] = [first_edge] + end_point = first_edge.real_end_point + for edge in current_edges: + start_point = edge.real_start_point + if end_point.distance(start_point) > len_tol: + line_edge = LineEdge() + line_edge.start = end_point + line_edge.end = start_point + new_edges.append(line_edge) + if edge is not first_edge: + new_edges.append(edge) + end_point = edge.real_end_point + self.edges = new_edges + + +class LineEdge(AbstractEdge): + EDGE_TYPE = "LineEdge" # 2021-05-31: deprecated use type + type = EdgeType.LINE + + def __init__(self): + self.start = Vec2(0, 0) # OCS! + self.end = Vec2(0, 0) # OCS! + + def is_valid(self) -> bool: + return True + + @property + def start_point(self) -> Vec2: + return self.start + + @property + def end_point(self) -> Vec2: + return self.end + + @classmethod + def load_tags(cls, tags: Tags) -> LineEdge: + edge = cls() + for tag in tags: + code, value = tag + if code == 10: + edge.start = Vec2(value) + elif code == 11: + edge.end = Vec2(value) + return edge + + def export_dxf(self, tagwriter: AbstractTagWriter) -> None: + tagwriter.write_tag2(72, 1) # edge type + + x, y, *_ = self.start + tagwriter.write_tag2(10, float(x)) + tagwriter.write_tag2(20, float(y)) + + x, y, *_ = self.end + tagwriter.write_tag2(11, float(x)) + tagwriter.write_tag2(21, float(y)) + + def transform(self, ocs: OCSTransform, elevation: float) -> None: + self.start = ocs.transform_2d_vertex(self.start, elevation) + self.end = ocs.transform_2d_vertex(self.end, elevation) + + +class ArcEdge(AbstractEdge): + type = EdgeType.ARC # 2021-05-31: deprecated use type + EDGE_TYPE = "ArcEdge" + + def __init__(self) -> None: + self.center = Vec2(0.0, 0.0) + self.radius: float = 1.0 + # Start- and end angles are always stored in counter-clockwise order! + self.start_angle: float = 0.0 + self.end_angle: float = 360.0 + # Flag to preserve the required orientation for DXF export: + self.ccw: bool = True + + def is_valid(self) -> bool: + return True + + @property + def start_point(self) -> Vec2: + return self.construction_tool().start_point + + @property + def real_start_point(self) -> Vec2: + if self.ccw: + return self.start_point + return self.end_point + + @property + def end_point(self) -> Vec2: + return self.construction_tool().end_point + + @property + def real_end_point(self) -> Vec2: + if self.ccw: + return self.end_point + return self.start_point + + @classmethod + def load_tags(cls, tags: Tags) -> ArcEdge: + edge = cls() + start = 0.0 + end = 0.0 + for tag in tags: + code, value = tag + if code == 10: + edge.center = Vec2(value) + elif code == 40: + edge.radius = value + elif code == 50: + start = value + elif code == 51: + end = value + elif code == 73: + edge.ccw = bool(value) + + # The DXF format stores the clockwise oriented start- and end angles + # for HATCH arc- and ellipse edges as complementary angle (360-angle). + # This is a problem in many ways for processing clockwise oriented + # angles correct, especially rotation transformation won't work. + # Solution: convert clockwise angles into counter-clockwise angles + # and swap start- and end angle at loading and exporting, the ccw flag + # preserves the required orientation of the arc: + if edge.ccw: + edge.start_angle = start + edge.end_angle = end + else: + edge.start_angle = 360.0 - end + edge.end_angle = 360.0 - start + return edge + + def export_dxf(self, tagwriter: AbstractTagWriter) -> None: + tagwriter.write_tag2(72, 2) # edge type + x, y, *_ = self.center + if self.ccw: + start = self.start_angle + end = self.end_angle + else: + # swap and convert to complementary angles: see ArcEdge.load_tags() + # for explanation + start = 360.0 - self.end_angle + end = 360.0 - self.start_angle + tagwriter.write_tag2(10, float(x)) + tagwriter.write_tag2(20, float(y)) + tagwriter.write_tag2(40, self.radius) + tagwriter.write_tag2(50, start) + tagwriter.write_tag2(51, end) + tagwriter.write_tag2(73, int(self.ccw)) + + def transform(self, ocs: OCSTransform, elevation: float) -> None: + self.center = ocs.transform_2d_vertex(self.center, elevation) + self.radius = ocs.transform_length(Vec3(self.radius, 0, 0)) + if not math.isclose( + arc_angle_span_deg(self.start_angle, self.end_angle), 360.0 + ): # open arc + # The transformation of the ccw flag is not necessary for the current + # implementation of OCS transformations. The arc angles have always + # a counter clockwise orientation around the extrusion vector and + # this orientation is preserved even for mirroring, which flips the + # extrusion vector to (0, 0, -1) for entities in the xy-plane. + + self.start_angle = ocs.transform_deg_angle(self.start_angle) + self.end_angle = ocs.transform_deg_angle(self.end_angle) + else: # full circle + # Transform only start point to preserve the connection point to + # adjacent edges: + self.start_angle = ocs.transform_deg_angle(self.start_angle) + # ArcEdge is represented in counter-clockwise orientation: + self.end_angle = self.start_angle + 360.0 + + def construction_tool(self) -> ConstructionArc: + """Returns ConstructionArc() for the OCS representation.""" + return ConstructionArc( + center=self.center, + radius=self.radius, + start_angle=self.start_angle, + end_angle=self.end_angle, + ) + + +class EllipseEdge(AbstractEdge): + EDGE_TYPE = "EllipseEdge" # 2021-05-31: deprecated use type + type = EdgeType.ELLIPSE + + def __init__(self) -> None: + self.center = Vec2((0.0, 0.0)) + # Endpoint of major axis relative to center point (in OCS) + self.major_axis = Vec2((1.0, 0.0)) + self.ratio: float = 1.0 + # Start- and end angles are always stored in counter-clockwise order! + self.start_angle: float = 0.0 # start param, not a real angle + self.end_angle: float = 360.0 # end param, not a real angle + # Flag to preserve the required orientation for DXF export: + self.ccw: bool = True + + def is_valid(self) -> bool: + return True + + @property + def start_point(self) -> Vec2: + return self.construction_tool().start_point.vec2 + + @property + def end_point(self) -> Vec2: + return self.construction_tool().end_point.vec2 + + @property + def real_start_point(self) -> Vec2: + if self.ccw: + return self.start_point + return self.end_point + + @property + def real_end_point(self) -> Vec2: + if self.ccw: + return self.end_point + return self.start_point + + @property + def start_param(self) -> float: + return angle_to_param(self.ratio, math.radians(self.start_angle)) + + @start_param.setter + def start_param(self, param: float) -> None: + self.start_angle = math.degrees(param_to_angle(self.ratio, param)) + + @property + def end_param(self) -> float: + return angle_to_param(self.ratio, math.radians(self.end_angle)) + + @end_param.setter + def end_param(self, param: float) -> None: + self.end_angle = math.degrees(param_to_angle(self.ratio, param)) + + @classmethod + def load_tags(cls, tags: Tags) -> EllipseEdge: + edge = cls() + start = 0.0 + end = 0.0 + for tag in tags: + code, value = tag + if code == 10: + edge.center = Vec2(value) + elif code == 11: + edge.major_axis = Vec2(value) + elif code == 40: + edge.ratio = value + elif code == 50: + start = value + elif code == 51: + end = value + elif code == 73: + edge.ccw = bool(value) + + if edge.ccw: + edge.start_angle = start + edge.end_angle = end + else: + # The DXF format stores the clockwise oriented start- and end angles + # for HATCH arc- and ellipse edges as complementary angle (360-angle). + # This is a problem in many ways for processing clockwise oriented + # angles correct, especially rotation transformation won't work. + # Solution: convert clockwise angles into counter-clockwise angles + # and swap start- and end angle at loading and exporting, the ccw flag + # preserves the required orientation of the ellipse: + edge.start_angle = 360.0 - end + edge.end_angle = 360.0 - start + + return edge + + def export_dxf(self, tagwriter: AbstractTagWriter) -> None: + tagwriter.write_tag2(72, 3) # edge type + x, y, *_ = self.center + tagwriter.write_tag2(10, float(x)) + tagwriter.write_tag2(20, float(y)) + x, y, *_ = self.major_axis + tagwriter.write_tag2(11, float(x)) + tagwriter.write_tag2(21, float(y)) + tagwriter.write_tag2(40, self.ratio) + if self.ccw: + start = self.start_angle + end = self.end_angle + else: + # swap and convert to complementary angles: see EllipseEdge.load_tags() + # for explanation + start = 360.0 - self.end_angle + end = 360.0 - self.start_angle + + tagwriter.write_tag2(50, start) + tagwriter.write_tag2(51, end) + tagwriter.write_tag2(73, int(self.ccw)) + + def construction_tool(self) -> ConstructionEllipse: + """Returns ConstructionEllipse() for the OCS representation.""" + return ConstructionEllipse( + center=Vec3(self.center), + major_axis=Vec3(self.major_axis), + extrusion=Vec3(0, 0, 1), + ratio=self.ratio, + # 1. ConstructionEllipse() is always in ccw orientation + # 2. Start- and end params are always stored in ccw orientation + start_param=self.start_param, + end_param=self.end_param, + ) + + def transform(self, ocs: OCSTransform, elevation: float) -> None: + e = self.construction_tool() + + # Transform old OCS representation to WCS + ocs_to_wcs = ocs.old_ocs.to_wcs + e.center = ocs_to_wcs(e.center.replace(z=elevation)) + e.major_axis = ocs_to_wcs(e.major_axis) + e.extrusion = ocs.old_extrusion + + # Apply matrix transformation + e.transform(ocs.m) + + # Transform WCS representation to new OCS + wcs_to_ocs = ocs.new_ocs.from_wcs + self.center = wcs_to_ocs(e.center).vec2 + self.major_axis = wcs_to_ocs(e.major_axis).vec2 + self.ratio = e.ratio + + # ConstructionEllipse() is always in ccw orientation + # Start- and end params are always stored in ccw orientation + self.start_param = e.start_param + self.end_param = e.end_param + + # The transformation of the ccw flag is not necessary for the current + # implementation of OCS transformations. + # An ellipse as boundary edge is an OCS entity! + # The ellipse angles have always a counter clockwise orientation around + # the extrusion vector and this orientation is preserved even for + # mirroring, which flips the extrusion vector to (0, 0, -1) for + # entities in the xy-plane. + + # normalize angles in range 0 to 360 degrees + self.start_angle = self.start_angle % 360.0 + self.end_angle = self.end_angle % 360.0 + if math.isclose(self.end_angle, 0): + self.end_angle = 360.0 + + +class SplineEdge(AbstractEdge): + EDGE_TYPE = "SplineEdge" # 2021-05-31: deprecated use type + type = EdgeType.SPLINE + + def __init__(self) -> None: + self.degree: int = 3 # code = 94 + self.rational: int = 0 # code = 73 + self.periodic: int = 0 # code = 74 + self.knot_values: list[float] = [] + self.control_points: list[Vec2] = [] + self.fit_points: list[Vec2] = [] + self.weights: list[float] = [] + # do not set tangents by default to (0, 0) + self.start_tangent: Optional[Vec2] = None + self.end_tangent: Optional[Vec2] = None + + def is_valid(self) -> bool: + if len(self.control_points): + order = self.degree + 1 + count = len(self.control_points) + if order > count: + return False + required_knot_count = count + order + if len(self.knot_values) != required_knot_count: + return False + elif len(self.fit_points) < 2: + return False + return True + + @property + def start_point(self) -> Vec2: + return self.control_points[0] + + @property + def end_point(self) -> Vec2: + return self.control_points[-1] + + @classmethod + def load_tags(cls, tags: Tags) -> SplineEdge: + edge = cls() + for tag in tags: + code, value = tag + if code == 94: + edge.degree = value + elif code == 73: + edge.rational = value + elif code == 74: + edge.periodic = value + elif code == 40: + edge.knot_values.append(value) + elif code == 42: + edge.weights.append(value) + elif code == 10: + edge.control_points.append(Vec2(value)) + elif code == 11: + edge.fit_points.append(Vec2(value)) + elif code == 12: + edge.start_tangent = Vec2(value) + elif code == 13: + edge.end_tangent = Vec2(value) + return edge + + def export_dxf(self, tagwriter: AbstractTagWriter) -> None: + def set_required_tangents(points: list[Vec2]): + if len(points) > 1: + if self.start_tangent is None: + self.start_tangent = points[1] - points[0] + if self.end_tangent is None: + self.end_tangent = points[-1] - points[-2] + + if len(self.weights): + if len(self.weights) == len(self.control_points): + self.rational = 1 + else: + raise const.DXFValueError( + "SplineEdge: count of control points and count of weights " + "mismatch" + ) + else: + self.rational = 0 + + write_tag = tagwriter.write_tag2 + write_tag(72, 4) # edge type + write_tag(94, int(self.degree)) + write_tag(73, int(self.rational)) + write_tag(74, int(self.periodic)) + write_tag(95, len(self.knot_values)) # number of knots + write_tag(96, len(self.control_points)) # number of control points + # build knot values list + # knot values have to be present and valid, otherwise AutoCAD crashes + if len(self.knot_values): + for value in self.knot_values: + write_tag(40, float(value)) + else: + raise const.DXFValueError("SplineEdge: missing required knot values") + + # build control points + # control points have to be present and valid, otherwise AutoCAD crashes + cp = Vec2.list(self.control_points) + if self.rational: + for point, weight in zip(cp, self.weights): + write_tag(10, float(point.x)) + write_tag(20, float(point.y)) + write_tag(42, float(weight)) + else: + for x, y in cp: + write_tag(10, float(x)) + write_tag(20, float(y)) + + # build optional fit points + if len(self.fit_points) > 0: + set_required_tangents(cp) + write_tag(97, len(self.fit_points)) + for x, y, *_ in self.fit_points: + write_tag(11, float(x)) + write_tag(21, float(y)) + elif tagwriter.dxfversion >= const.DXF2010: + # (97, 0) len tag required by AutoCAD 2010+ + write_tag(97, 0) + + if self.start_tangent is not None: + x, y, *_ = self.start_tangent + write_tag(12, float(x)) + write_tag(22, float(y)) + + if self.end_tangent is not None: + x, y, *_ = self.end_tangent + write_tag(13, float(x)) + write_tag(23, float(y)) + + def transform(self, ocs: OCSTransform, elevation: float) -> None: + self.control_points = list( + ocs.transform_2d_vertex(v, elevation) for v in self.control_points + ) + self.fit_points = list( + ocs.transform_2d_vertex(v, elevation) for v in self.fit_points + ) + if self.start_tangent is not None: + t = Vec3(self.start_tangent).replace(z=elevation) + self.start_tangent = ocs.transform_direction(t).vec2 + if self.end_tangent is not None: + t = Vec3(self.end_tangent).replace(z=elevation) + self.end_tangent = ocs.transform_direction(t).vec2 + + def construction_tool(self) -> BSpline: + """Returns BSpline() for the OCS representation.""" + return BSpline( + control_points=self.control_points, + knots=self.knot_values, + order=self.degree + 1, + weights=self.weights, + ) + + +EDGE_CLASSES = [None, LineEdge, ArcEdge, EllipseEdge, SplineEdge] diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/entities/circle.py b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/entities/circle.py new file mode 100644 index 0000000000000000000000000000000000000000..1989802e49a62d8cb3792aa06b1a91c014e3fccb --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/entities/circle.py @@ -0,0 +1,214 @@ +# Copyright (c) 2019-2024 Manfred Moitzi +# License: MIT License +from __future__ import annotations +from typing import TYPE_CHECKING, Iterable, Optional, Iterator +import math +import numpy as np + +from ezdxf.lldxf import validator +from ezdxf.math import ( + Vec3, + Matrix44, + NULLVEC, + Z_AXIS, + arc_segment_count, +) +from ezdxf.math.transformtools import OCSTransform, NonUniformScalingError +from ezdxf.lldxf.attributes import ( + DXFAttr, + DXFAttributes, + DefSubclass, + XType, + RETURN_DEFAULT, + group_code_mapping, + merge_group_code_mappings, +) +from ezdxf.lldxf.const import DXF12, SUBCLASS_MARKER, DXFValueError +from .dxfentity import base_class, SubclassProcessor +from .dxfgfx import ( + DXFGraphic, + acdb_entity, + add_entity, + replace_entity, + elevation_to_z_axis, + acdb_entity_group_codes, +) +from .factory import register_entity + +if TYPE_CHECKING: + from ezdxf.entities import DXFNamespace + from ezdxf.lldxf.tagwriter import AbstractTagWriter + from ezdxf.entities import Ellipse, Spline + +__all__ = ["Circle"] + +acdb_circle = DefSubclass( + "AcDbCircle", + { + "center": DXFAttr(10, xtype=XType.point3d, default=NULLVEC), + # AutCAD/BricsCAD: Radius is <= 0 is valid + "radius": DXFAttr(40, default=1), + # Elevation is a legacy feature from R11 and prior, do not use this + # attribute, store the entity elevation in the z-axis of the vertices. + # ezdxf does not export the elevation attribute! + "elevation": DXFAttr(38, default=0, optional=True), + "thickness": DXFAttr(39, default=0, optional=True), + "extrusion": DXFAttr( + 210, + xtype=XType.point3d, + default=Z_AXIS, + optional=True, + validator=validator.is_not_null_vector, + fixer=RETURN_DEFAULT, + ), + }, +) + +acdb_circle_group_codes = group_code_mapping(acdb_circle) +merged_circle_group_codes = merge_group_code_mappings( + acdb_entity_group_codes, acdb_circle_group_codes +) + + +@register_entity +class Circle(DXFGraphic): + """DXF CIRCLE entity""" + + DXFTYPE = "CIRCLE" + DXFATTRIBS = DXFAttributes(base_class, acdb_entity, acdb_circle) + MERGED_GROUP_CODES = merged_circle_group_codes + + def load_dxf_attribs( + self, processor: Optional[SubclassProcessor] = None + ) -> DXFNamespace: + """Loading interface. (internal API)""" + # bypass DXFGraphic, loading proxy graphic is skipped! + dxf = super(DXFGraphic, self).load_dxf_attribs(processor) + if processor: + processor.simple_dxfattribs_loader(dxf, self.MERGED_GROUP_CODES) + if processor.r12: + # Transform elevation attribute from R11 to z-axis values: + elevation_to_z_axis(dxf, ("center",)) + return dxf + + def export_entity(self, tagwriter: AbstractTagWriter) -> None: + """Export entity specific data as DXF tags.""" + super().export_entity(tagwriter) + if tagwriter.dxfversion > DXF12: + tagwriter.write_tag2(SUBCLASS_MARKER, acdb_circle.name) + self.dxf.export_dxf_attribs( + tagwriter, ["center", "radius", "thickness", "extrusion"] + ) + + def vertices(self, angles: Iterable[float]) -> Iterator[Vec3]: + """Yields the vertices of the circle of all given `angles` as + :class:`~ezdxf.math.Vec3` instances in :ref:`WCS`. + + Args: + angles: iterable of angles in :ref:`OCS` as degrees, angle goes + counter-clockwise around the extrusion vector, and the OCS x-axis + defines 0-degree. + + """ + ocs = self.ocs() + radius: float = abs(self.dxf.radius) # AutoCAD ignores the sign too + center = Vec3(self.dxf.center) + for angle in angles: + yield ocs.to_wcs(Vec3.from_deg_angle(angle, radius) + center) + + def flattening(self, sagitta: float) -> Iterator[Vec3]: + """Approximate the circle by vertices in :ref:`WCS` as :class:`~ezdxf.math.Vec3` + instances. The argument `sagitta`_ is the maximum distance from the center of an + arc segment to the center of its chord. Yields a closed polygon where the start + vertex is equal to the end vertex! + + .. _sagitta: https://en.wikipedia.org/wiki/Sagitta_(geometry) + """ + radius = abs(self.dxf.radius) + if radius > 0.0: + count = arc_segment_count(radius, math.tau, sagitta) + yield from self.vertices(np.linspace(0.0, 360.0, count + 1)) + + def transform(self, m: Matrix44) -> Circle: + """Transform the CIRCLE entity by transformation matrix `m` inplace. + Raises ``NonUniformScalingError()`` for non-uniform scaling. + """ + circle = self._transform(OCSTransform(self.dxf.extrusion, m)) + self.post_transform(m) + return circle + + def _transform(self, ocs: OCSTransform) -> Circle: + dxf = self.dxf + if ocs.scale_uniform: + dxf.extrusion = ocs.new_extrusion + dxf.center = ocs.transform_vertex(dxf.center) + # old_ocs has a uniform scaled xy-plane, direction of radius-vector + # in the xy-plane is not important, choose x-axis for no reason: + dxf.radius = ocs.transform_length((dxf.radius, 0, 0)) + if dxf.hasattr("thickness"): + # thickness vector points in the z-direction of the old_ocs, + # thickness can be negative + dxf.thickness = ocs.transform_thickness(dxf.thickness) + else: + # Caller has to catch this Exception and convert this + # CIRCLE/ARC into an ELLIPSE. + raise NonUniformScalingError( + "CIRCLE/ARC does not support non uniform scaling" + ) + + return self + + def translate(self, dx: float, dy: float, dz: float) -> Circle: + """Optimized CIRCLE/ARC translation about `dx` in x-axis, `dy` in + y-axis and `dz` in z-axis, returns `self` (floating interface). + """ + ocs = self.ocs() + self.dxf.center = ocs.from_wcs(Vec3(dx, dy, dz) + ocs.to_wcs(self.dxf.center)) + # Avoid Matrix44 instantiation if not required: + if self.is_post_transform_required: + self.post_transform(Matrix44.translate(dx, dy, dz)) + return self + + def to_ellipse(self, replace=True) -> Ellipse: + """Convert the CIRCLE/ARC entity to an :class:`~ezdxf.entities.Ellipse` entity. + + Adds the new ELLIPSE entity to the entity database and to the same layout as + the source entity. + + Args: + replace: replace (delete) source entity by ELLIPSE entity if ``True`` + + """ + from ezdxf.entities import Ellipse + + layout = self.get_layout() + if layout is None: + raise DXFValueError("valid layout required") + ellipse = Ellipse.from_arc(self) + if replace: + replace_entity(self, ellipse, layout) + else: + add_entity(ellipse, layout) + return ellipse + + def to_spline(self, replace=True) -> Spline: + """Convert the CIRCLE/ARC entity to a :class:`~ezdxf.entities.Spline` entity. + + Adds the new SPLINE entity to the entity database and to the same layout as the + source entity. + + Args: + replace: replace (delete) source entity by SPLINE entity if ``True`` + + """ + from ezdxf.entities import Spline + + layout = self.get_layout() + if layout is None: + raise DXFValueError("valid layout required") + spline = Spline.from_arc(self) + if replace: + replace_entity(self, spline, layout) + else: + add_entity(spline, layout) + return spline diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/entities/copy.py b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/entities/copy.py new file mode 100644 index 0000000000000000000000000000000000000000..ad6fcdc8435c3ab2349186deb718bb2d3e29c50a --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/entities/copy.py @@ -0,0 +1,102 @@ +# Copyright (c) 2023, Manfred Moitzi +# License: MIT License +from __future__ import annotations +from typing import TYPE_CHECKING, TypeVar, NamedTuple, Optional +from copy import deepcopy +import logging +from ezdxf.lldxf.const import DXFError + +if TYPE_CHECKING: + from ezdxf.entities import DXFEntity + + +__all__ = ["CopyStrategy", "CopySettings", "CopyNotSupported", "default_copy"] + + +T = TypeVar("T", bound="DXFEntity") + + +class CopyNotSupported(DXFError): + pass + + +class CopySettings(NamedTuple): + reset_handles: bool = True + copy_extension_dict: bool = True + copy_xdata: bool = True + copy_appdata: bool = True + copy_reactors: bool = False + copy_proxy_graphic: bool = True + set_source_of_copy: bool = True + + # The processing of copy errors of linked entities has to be done in the + # copy_data() method by the entity itself! + ignore_copy_errors_in_linked_entities: bool = True + + +class LogMessage(NamedTuple): + message: str + level: int = logging.WARNING + entity: Optional[DXFEntity] = None + + +class CopyStrategy: + log: list[LogMessage] = [] + + def __init__(self, settings: CopySettings) -> None: + self.settings = settings + + def copy(self, entity: T) -> T: + """Entity copy for usage in the same document or as virtual entity. + + This copy is NOT stored in the entity database and does NOT reside in any + layout, block, table or objects section! + """ + settings = self.settings + clone = entity.__class__() + doc = entity.doc + clone.doc = doc + clone.dxf = entity.dxf.copy(clone) + if settings.reset_handles: + clone.dxf.reset_handles() + + if settings.copy_extension_dict: + xdict = entity.extension_dict + if xdict is not None and doc is not None and xdict.is_alive: + # Error handling of unsupported entities in the extension dictionary is + # done by the underlying DICTIONARY entity. + clone.extension_dict = xdict.copy(self) + + if settings.copy_reactors and entity.reactors is not None: + clone.reactors = entity.reactors.copy() + + if settings.copy_proxy_graphic: + clone.proxy_graphic = entity.proxy_graphic # immutable bytes + + # if appdata contains handles, they are treated as shared resources + if settings.copy_appdata: + clone.appdata = deepcopy(entity.appdata) + + # if xdata contains handles, they are treated as shared resources + if settings.copy_xdata: + clone.xdata = deepcopy(entity.xdata) + + if settings.set_source_of_copy: + clone.set_source_of_copy(entity) + + entity.copy_data(clone, copy_strategy=self) + return clone + + @classmethod + def add_log_message( + cls, msg: str, level: int = logging.WARNING, entity: Optional[DXFEntity] = None + ) -> None: + cls.log.append(LogMessage(msg, level, entity)) + + @classmethod + def clear_log_message(cls) -> None: + cls.log.clear() + + +# same strategy as DXFEntity.copy() of v1.1.3 +default_copy = CopyStrategy(CopySettings()) diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/entities/dictionary.py b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/entities/dictionary.py new file mode 100644 index 0000000000000000000000000000000000000000..fc901ea163cd4dc0bcae0982b66eee1484e3bc51 --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/entities/dictionary.py @@ -0,0 +1,696 @@ +# Copyright (c) 2019-2025, Manfred Moitzi +# License: MIT-License +from __future__ import annotations +from typing import TYPE_CHECKING, Union, Optional +from typing_extensions import Self +import logging +from ezdxf.lldxf import validator +from ezdxf.lldxf.const import ( + SUBCLASS_MARKER, + DXFKeyError, + DXFValueError, + DXFTypeError, + DXFStructureError, +) +from ezdxf.lldxf.attributes import ( + DXFAttr, + DXFAttributes, + DefSubclass, + RETURN_DEFAULT, + group_code_mapping, +) +from ezdxf.lldxf.types import is_valid_handle +from ezdxf.audit import AuditError +from ezdxf.entities import factory, DXFGraphic +from .dxfentity import base_class, SubclassProcessor, DXFEntity +from .dxfobj import DXFObject +from .copy import default_copy, CopyNotSupported + +if TYPE_CHECKING: + from ezdxf.entities import DXFNamespace, XRecord + from ezdxf.lldxf.tagwriter import AbstractTagWriter + from ezdxf.document import Drawing + from ezdxf.audit import Auditor + from ezdxf import xref + +__all__ = ["Dictionary", "DictionaryWithDefault", "DictionaryVar"] +logger = logging.getLogger("ezdxf") + +acdb_dictionary = DefSubclass( + "AcDbDictionary", + { + # DXF Reference: 280 - Hard-owner flag. + # If set to 1, indicates that elements of the dictionary are to be treated as + # hard-owned + # No definition of the default state in the DXF reference! + # + # 2025-04-27: + # AutoCAD creates the root DICTIONARY and the top level DICTIONARY entries + # without group code 280 tags. + # Extension dicts are created with the hard_owned flag set to 1. + # See exploration/dict-analyzer.py + # Conclusion: default state is 0 + "hard_owned": DXFAttr( + 280, + # 2025-04-27: changed to 0 + default=0, + # 2024-11-18: changed to False because of issue #1203 + # 2025-04-09: changed back to True because of issue #1279 + optional=True, + validator=validator.is_integer_bool, + fixer=RETURN_DEFAULT, + ), + # Duplicate record cloning flag (determines how to merge duplicate entries): + # 0 = not applicable + # 1 = keep existing + # 2 = use clone + # 3 = $0$ + # 4 = $0$ + # 5 = Unmangle name + "cloning": DXFAttr( + 281, + default=1, + validator=validator.is_in_integer_range(0, 6), + fixer=RETURN_DEFAULT, + ), + # 3: entry name + # 350: entry handle, some DICTIONARY objects have 360 as handle group code, + # this is accepted by AutoCAD but not documented by the DXF reference! + # ezdxf replaces group code 360 by 350. + # - group code 350 is a soft-owner handle + # - group code 360 is a hard-owner handle + }, +) +acdb_dictionary_group_codes = group_code_mapping(acdb_dictionary) +KEY_CODE = 3 +VALUE_CODE = 350 +# Some DICTIONARY use group code 360: +SEARCH_CODES = (VALUE_CODE, 360) + + +@factory.register_entity +class Dictionary(DXFObject): + """AutoCAD maintains items such as mline styles and group definitions as + objects in dictionaries. Other applications are free to create and use + their own dictionaries as they see fit. The prefix "ACAD_" is reserved + for use by AutoCAD applications. + + Dictionary entries are (key, DXFEntity) pairs. DXFEntity could be a string, + because at loading time not all objects are already stored in the EntityDB, + and have to be acquired later. + + """ + + DXFTYPE = "DICTIONARY" + DXFATTRIBS = DXFAttributes(base_class, acdb_dictionary) + + def __init__(self) -> None: + super().__init__() + self._data: dict[str, Union[str, DXFObject]] = dict() + self._value_code = VALUE_CODE + + def copy_data(self, entity: Self, copy_strategy=default_copy) -> None: + """Copy hard owned entities but do not store the copies in the entity + database, this is a second step (factory.bind), this is just real copying. + """ + assert isinstance(entity, Dictionary) + entity._value_code = self._value_code + if self.dxf.hard_owned: + # Reactors are removed from the cloned DXF objects. + data: dict[str, DXFEntity] = dict() + for key, ent in self.items(): + # ignore strings and None - these entities do not exist + # in the entity database + if isinstance(ent, DXFEntity): + try: # todo: follow CopyStrategy.ignore_copy_errors_in_linked entities + data[key] = ent.copy(copy_strategy=copy_strategy) + except CopyNotSupported: + if copy_strategy.settings.ignore_copy_errors_in_linked_entities: + logger.warning( + f"copy process ignored {str(ent)} - this may cause problems in AutoCAD" + ) + else: + raise + entity._data = data # type: ignore + else: + entity._data = dict(self._data) + + def get_handle_mapping(self, clone: Dictionary) -> dict[str, str]: + """Returns handle mapping for in-object copies.""" + handle_mapping: dict[str, str] = dict() + if not self.is_hard_owner: + return handle_mapping + + for key, entity in self.items(): + if not isinstance(entity, DXFEntity): + continue + copied_entry = clone.get(key) + if copied_entry: + handle_mapping[entity.dxf.handle] = copied_entry.dxf.handle + return handle_mapping + + def map_resources(self, clone: Self, mapping: xref.ResourceMapper) -> None: + """Translate resources from self to the copied entity.""" + assert isinstance(clone, Dictionary) + super().map_resources(clone, mapping) + if self.is_hard_owner: + return + data = dict() + for key, entity in self.items(): + if not isinstance(entity, DXFEntity): + continue + entity_copy = mapping.get_reference_of_copy(entity.dxf.handle) + if entity_copy: + data[key] = entity + clone._data = data # type: ignore + + def del_source_of_copy(self) -> None: + super().del_source_of_copy() + for _, entity in self.items(): + if isinstance(entity, DXFEntity) and entity.is_alive: + entity.del_source_of_copy() + + def post_bind_hook(self) -> None: + """Called by binding a new or copied dictionary to the document, + bind hard owned sub-entities to the same document and add them to the + objects section. + """ + if not self.dxf.hard_owned: + return + + # copied or new dictionary: + doc = self.doc + assert doc is not None + object_section = doc.objects + owner_handle = self.dxf.handle + for _, entity in self.items(): + entity.dxf.owner = owner_handle + factory.bind(entity, doc) + # For a correct DXF export add entities to the objects section: + object_section.add_object(entity) + + def load_dxf_attribs( + self, processor: Optional[SubclassProcessor] = None + ) -> DXFNamespace: + dxf = super().load_dxf_attribs(processor) + if processor: + tags = processor.fast_load_dxfattribs( + dxf, acdb_dictionary_group_codes, 1, log=False + ) + self.load_dict(tags) + return dxf + + def load_dict(self, tags): + entry_handle = None + dict_key = None + value_code = VALUE_CODE + for code, value in tags: + if code in SEARCH_CODES: + # First store handles, because at this point, NOT all objects + # are stored in the EntityDB, at first access convert the handle + # to a DXFEntity object. + value_code = code + entry_handle = value + elif code == KEY_CODE: + dict_key = value + if dict_key and entry_handle: + # Store entity as handle string: + self._data[dict_key] = entry_handle + entry_handle = None + dict_key = None + # Use same value code as loaded: + self._value_code = value_code + + def post_load_hook(self, doc: Drawing) -> None: + super().post_load_hook(doc) + db = doc.entitydb + + def items(): + for key, handle in self.items(): + entity = db.get(handle) + if entity is not None and entity.is_alive: + yield key, entity + + if len(self): + for k, v in list(items()): + self.__setitem__(k, v) + + def export_entity(self, tagwriter: AbstractTagWriter) -> None: + """Export entity specific data as DXF tags.""" + super().export_entity(tagwriter) + tagwriter.write_tag2(SUBCLASS_MARKER, acdb_dictionary.name) + self.dxf.export_dxf_attribs(tagwriter, ["hard_owned", "cloning"]) + self.export_dict(tagwriter) + + def export_dict(self, tagwriter: AbstractTagWriter): + # key: dict key string + # value: DXFEntity or handle as string + # Ignore invalid handles at export, because removing can create an empty + # dictionary, which is more a problem for AutoCAD than invalid handles, + # and removing the whole dictionary is maybe also a problem. + for key, value in self._data.items(): + tagwriter.write_tag2(KEY_CODE, key) + # Value can be a handle string or a DXFEntity object: + if isinstance(value, DXFEntity): + if value.is_alive: + value = value.dxf.handle + else: + logger.debug( + f'Key "{key}" points to a destroyed entity ' + f'in {str(self)}, target replaced by "0" handle.' + ) + value = "0" + # Use same value code as loaded: + tagwriter.write_tag2(self._value_code, value) + + @property + def is_hard_owner(self) -> bool: + """Returns ``True`` if the dictionary is hard owner of entities. + Hard owned entities will be destroyed by deleting the dictionary. + """ + return bool(self.dxf.hard_owned) + + def keys(self): + """Returns a :class:`KeysView` of all dictionary keys.""" + return self._data.keys() + + def items(self): + """Returns an :class:`ItemsView` for all dictionary entries as + (key, entity) pairs. An entity can be a handle string if the entity + does not exist. + """ + for key in self.keys(): + yield key, self.get(key) # maybe handle -> DXFEntity + + def __getitem__(self, key: str) -> DXFEntity: + """Return self[`key`]. + + The returned value can be a handle string if the entity does not exist. + + Raises: + DXFKeyError: `key` does not exist + + """ + if key in self._data: + return self._data[key] # type: ignore + else: + raise DXFKeyError(key) + + def __setitem__(self, key: str, entity: DXFObject) -> None: + """Set self[`key`] = `entity`. + + Only DXF objects stored in the OBJECTS section are allowed as content + of :class:`Dictionary` objects. DXF entities stored in layouts are not + allowed. + + Raises: + DXFTypeError: invalid DXF type + + """ + return self.add(key, entity) + + def __delitem__(self, key: str) -> None: + """Delete self[`key`]. + + Raises: + DXFKeyError: `key` does not exist + + """ + return self.remove(key) + + def __contains__(self, key: str) -> bool: + """Returns `key` ``in`` self.""" + return key in self._data + + def __len__(self) -> int: + """Returns count of dictionary entries.""" + return len(self._data) + + count = __len__ + + def get(self, key: str, default: Optional[DXFObject] = None) -> Optional[DXFObject]: + """Returns the :class:`DXFEntity` for `key`, if `key` exist else + `default`. An entity can be a handle string if the entity + does not exist. + + """ + return self._data.get(key, default) # type: ignore + + def find_key(self, entity: DXFEntity) -> str: + """Returns the DICTIONARY key string for `entity` or an empty string if not + found. + """ + for key, entry in self._data.items(): + if entry is entity: + return key + return "" + + def add(self, key: str, entity: DXFObject) -> None: + """Add entry (key, value). + + If the DICTIONARY is hard owner of its entries, the :meth:`add` does NOT take + ownership of the entity automatically. + + Raises: + DXFValueError: invalid entity handle + DXFTypeError: invalid DXF type + + """ + if isinstance(entity, str): + if not is_valid_handle(entity): + raise DXFValueError(f"Invalid entity handle #{entity} for key {key}") + elif isinstance(entity, DXFGraphic): + if self.doc is not None and self.doc.is_loading: # type: ignore + # AutoCAD add-ons can store graphical entities in DICTIONARIES + # in the OBJECTS section and AutoCAD does not complain - so just + # preserve them! + # Example "ZJMC-288.dxf" in issue #585, add-on: "acdgnlsdraw.crx"? + logger.warning(f"Invalid entity {str(entity)} in {str(self)}") + else: + # Do not allow ezdxf users to add graphical entities to a + # DICTIONARY object! + raise DXFTypeError(f"Graphic entities not allowed: {entity.dxftype()}") + self._data[key] = entity + + def take_ownership(self, key: str, entity: DXFObject): + """Add entry (key, value) and take ownership.""" + self.add(key, entity) + entity.dxf.owner = self.dxf.handle + + def remove(self, key: str) -> None: + """Delete entry `key`. Raises :class:`DXFKeyError`, if `key` does not + exist. Destroys hard owned DXF entities. + + """ + data = self._data + if key not in data: + raise DXFKeyError(key) + + if self.is_hard_owner: + assert self.doc is not None + entity = self.__getitem__(key) + # Presumption: hard owned DXF objects always reside in the OBJECTS + # section. + self.doc.objects.delete_entity(entity) # type: ignore + del data[key] + + def discard(self, key: str) -> None: + """Delete entry `key` if exists. Does not raise an exception if `key` + doesn't exist and does not destroy hard owned DXF entities. + + """ + try: + del self._data[key] + except KeyError: + pass + + def clear(self) -> None: + """Delete all entries from the dictionary and destroys hard owned + DXF entities. + """ + if self.is_hard_owner: + self._delete_hard_owned_entries() + self._data.clear() + + def _delete_hard_owned_entries(self) -> None: + # Presumption: hard owned DXF objects always reside in the OBJECTS section + objects = self.doc.objects # type: ignore + for key, entity in self.items(): + if isinstance(entity, DXFEntity): + objects.delete_entity(entity) # type: ignore + + def add_new_dict(self, key: str, hard_owned: bool = False) -> Dictionary: + """Create a new sub-dictionary of type :class:`Dictionary`. + + Args: + key: name of the sub-dictionary + hard_owned: entries of the new dictionary are hard owned + + """ + dxf_dict = self.doc.objects.add_dictionary( # type: ignore + owner=self.dxf.handle, hard_owned=hard_owned + ) + self.add(key, dxf_dict) + return dxf_dict + + def add_dict_var(self, key: str, value: str) -> DictionaryVar: + """Add a new :class:`DictionaryVar`. + + Args: + key: entry name as string + value: entry value as string + + """ + new_var = self.doc.objects.add_dictionary_var( # type: ignore + owner=self.dxf.handle, value=value + ) + self.add(key, new_var) + return new_var + + def add_xrecord(self, key: str) -> XRecord: + """Add a new :class:`XRecord`. + + Args: + key: entry name as string + + """ + new_xrecord = self.doc.objects.add_xrecord( # type: ignore + owner=self.dxf.handle, + ) + self.add(key, new_xrecord) + return new_xrecord + + def set_or_add_dict_var(self, key: str, value: str) -> DictionaryVar: + """Set or add new :class:`DictionaryVar`. + + Args: + key: entry name as string + value: entry value as string + + """ + if key not in self: + dict_var = self.doc.objects.add_dictionary_var( # type: ignore + owner=self.dxf.handle, value=value + ) + self.add(key, dict_var) + else: + dict_var = self.get(key) + dict_var.dxf.value = str(value) # type: ignore + return dict_var + + def link_dxf_object(self, name: str, obj: DXFObject) -> None: + """Add `obj` and set owner of `obj` to this dictionary. + + Graphical DXF entities have to reside in a layout and therefore can not + be owned by a :class:`Dictionary`. + + Raises: + DXFTypeError: `obj` has invalid DXF type + + """ + if not isinstance(obj, DXFObject): + raise DXFTypeError(f"invalid DXF type: {obj.dxftype()}") + self.add(name, obj) + obj.dxf.owner = self.dxf.handle + + def get_required_dict(self, key: str, hard_owned=False) -> Dictionary: + """Get entry `key` or create a new :class:`Dictionary`, + if `Key` not exist. + """ + dxf_dict = self.get(key) + if dxf_dict is None: + dxf_dict = self.add_new_dict(key, hard_owned=hard_owned) + elif not isinstance(dxf_dict, Dictionary): + raise DXFStructureError( + f"expected a DICTIONARY entity, got {str(dxf_dict)} for key: {key}" + ) + return dxf_dict + + def audit(self, auditor: Auditor) -> None: + if not self.is_alive: + return + super().audit(auditor) + self._remove_keys_to_missing_entities(auditor) + + def _remove_keys_to_missing_entities(self, auditor: Auditor): + trash: list[str] = [] + append = trash.append + db = auditor.entitydb + for key, entry in self._data.items(): + if isinstance(entry, str): + if entry not in db: + append(key) + elif entry.is_alive: + if entry.dxf.handle not in db: + append(key) + continue + else: # entity is destroyed, remove key + append(key) + for key in trash: + del self._data[key] + auditor.fixed_error( + code=AuditError.INVALID_DICTIONARY_ENTRY, + message=f'Removed entry "{key}" with invalid handle in {str(self)}', + dxf_entity=self, + data=key, + ) + + def destroy(self) -> None: + if not self.is_alive: + return + + if self.is_hard_owner: + self._delete_hard_owned_entries() + super().destroy() + + +acdb_dict_with_default = DefSubclass( + "AcDbDictionaryWithDefault", + { + "default": DXFAttr(340), + }, +) +acdb_dict_with_default_group_codes = group_code_mapping(acdb_dict_with_default) + + +@factory.register_entity +class DictionaryWithDefault(Dictionary): + DXFTYPE = "ACDBDICTIONARYWDFLT" + DXFATTRIBS = DXFAttributes(base_class, acdb_dictionary, acdb_dict_with_default) + + def __init__(self) -> None: + super().__init__() + self._default: Optional[DXFObject] = None + + def copy_data(self, entity: Self, copy_strategy=default_copy) -> None: + super().copy_data(entity, copy_strategy=copy_strategy) + assert isinstance(entity, DictionaryWithDefault) + entity._default = self._default + + def post_load_hook(self, doc: Drawing) -> None: + # Set _default to None if default object not exist - audit() replaces + # a not existing default object by a placeholder object. + # AutoCAD ignores not existing default objects! + self._default = doc.entitydb.get(self.dxf.default) # type: ignore + super().post_load_hook(doc) + + def load_dxf_attribs( + self, processor: Optional[SubclassProcessor] = None + ) -> DXFNamespace: + dxf = super().load_dxf_attribs(processor) + if processor: + processor.fast_load_dxfattribs(dxf, acdb_dict_with_default_group_codes, 2) + return dxf + + def export_entity(self, tagwriter: AbstractTagWriter) -> None: + super().export_entity(tagwriter) + tagwriter.write_tag2(SUBCLASS_MARKER, acdb_dict_with_default.name) + self.dxf.export_dxf_attribs(tagwriter, "default") + + def __getitem__(self, key: str): + return self.get(key) + + def get(self, key: str, default: Optional[DXFObject] = None) -> Optional[DXFObject]: + # `default` argument is ignored, exist only for API compatibility, + """Returns :class:`DXFEntity` for `key` or the predefined dictionary + wide :attr:`dxf.default` entity if `key` does not exist or ``None`` + if default value also not exist. + + """ + return super().get(key, default=self._default) + + def set_default(self, default: DXFObject) -> None: + """Set dictionary wide default entry. + + Args: + default: default entry as :class:`DXFEntity` + + """ + self._default = default + self.dxf.default = self._default.dxf.handle + + def audit(self, auditor: Auditor) -> None: + def create_missing_default_object(): + placeholder = self.doc.objects.add_placeholder(owner=self.dxf.handle) + self.set_default(placeholder) + auditor.fixed_error( + code=AuditError.CREATED_MISSING_OBJECT, + message=f"Created missing default object in {str(self)}.", + ) + + if self._default is None or not self._default.is_alive: + if auditor.entitydb.locked: + auditor.add_post_audit_job(create_missing_default_object) + else: + create_missing_default_object() + super().audit(auditor) + + +acdb_dict_var = DefSubclass( + "DictionaryVariables", + { + "schema": DXFAttr(280, default=0), + # Object schema number (currently set to 0) + "value": DXFAttr(1, default=""), + }, +) +acdb_dict_var_group_codes = group_code_mapping(acdb_dict_var) + + +@factory.register_entity +class DictionaryVar(DXFObject): + """ + DICTIONARYVAR objects are used by AutoCAD as a means to store named values + in the database for setvar / getvar purposes without the need to add entries + to the DXF HEADER section. System variables that are stored as + DICTIONARYVAR objects are the following: + + - DEFAULTVIEWCATEGORY + - DIMADEC + - DIMASSOC + - DIMDSEP + - DRAWORDERCTL + - FIELDEVAL + - HALOGAP + - HIDETEXT + - INDEXCTL + - INDEXCTL + - INTERSECTIONCOLOR + - INTERSECTIONDISPLAY + - MSOLESCALE + - OBSCOLOR + - OBSLTYPE + - OLEFRAME + - PROJECTNAME + - SORTENTS + - UPDATETHUMBNAIL + - XCLIPFRAME + - XCLIPFRAME + + """ + + DXFTYPE = "DICTIONARYVAR" + DXFATTRIBS = DXFAttributes(base_class, acdb_dict_var) + + @property + def value(self) -> str: + """Get/set the value of the :class:`DictionaryVar` as string.""" + return self.dxf.get("value", "") + + @value.setter + def value(self, data: str) -> None: + self.dxf.set("value", str(data)) + + def load_dxf_attribs( + self, processor: Optional[SubclassProcessor] = None + ) -> DXFNamespace: + dxf = super().load_dxf_attribs(processor) + if processor: + processor.fast_load_dxfattribs(dxf, acdb_dict_var_group_codes, 1) + return dxf + + def export_entity(self, tagwriter: AbstractTagWriter) -> None: + """Export entity specific data as DXF tags.""" + super().export_entity(tagwriter) + tagwriter.write_tag2(SUBCLASS_MARKER, acdb_dict_var.name) + self.dxf.export_dxf_attribs(tagwriter, ["schema", "value"]) diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/entities/dimension.py b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/entities/dimension.py new file mode 100644 index 0000000000000000000000000000000000000000..fd871f70ad1e3db5684ae855cee5f621626e36e7 --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/entities/dimension.py @@ -0,0 +1,1229 @@ +# Copyright (c) 2019-2024 Manfred Moitzi +# License: MIT License +from __future__ import annotations +from typing import TYPE_CHECKING, Optional, Union, Iterable, Iterator +from typing_extensions import Self + +import math +import logging +from ezdxf.audit import AuditError +from ezdxf.lldxf import validator, const +from ezdxf.lldxf.attributes import ( + DXFAttr, + DXFAttributes, + DefSubclass, + XType, + RETURN_DEFAULT, + group_code_mapping, +) +from ezdxf.lldxf.const import ( + DXF12, + SUBCLASS_MARKER, + DXF2010, + DXF2000, + DXF2007, + DXF2004, + DXFValueError, + DXFTableEntryError, + DXFTypeError, +) +from ezdxf.lldxf.types import get_xcode_for +from ezdxf.math import Vec3, Matrix44, NULLVEC, Z_AXIS +from ezdxf.math.transformtools import OCSTransform, NonUniformScalingError +from ezdxf.tools import take2 +from ezdxf.render.arrows import ARROWS +from ezdxf.explode import explode_entity +from ezdxf.entitydb import EntitySpace +from .dxfentity import base_class, SubclassProcessor +from .dxfgfx import DXFGraphic, acdb_entity +from .factory import register_entity +from .dimstyleoverride import DimStyleOverride +from .copy import default_copy, CopyNotSupported + +if TYPE_CHECKING: + from ezdxf.entities import DXFNamespace, DXFEntity, DimStyle + from ezdxf.lldxf.tagwriter import AbstractTagWriter + from ezdxf.layouts import BaseLayout, BlockLayout + from ezdxf.audit import Auditor + from ezdxf.query import EntityQuery + from ezdxf.math import OCS + from ezdxf import xref + + +logger = logging.getLogger("ezdxf") +ADSK_CONSTRAINTS = "*ADSK_CONSTRAINTS" + +__all__ = [ + "Dimension", + "ArcDimension", + "RadialDimensionLarge", + "OverrideMixin", + "DXF_DIMENSION_TYPES", + "register_override_handles", +] + +DXF_DIMENSION_TYPES = {"DIMENSION", "ARC_DIMENSION", "LARGE_RADIAL_DIMENSION"} + +acdb_dimension = DefSubclass( + "AcDbDimension", + { + # Version number: 0 = 2010 + "version": DXFAttr(280, default=0, dxfversion=DXF2010), + # Name of the block that contains the entities that make up the dimension + # picture. Dimensions in block references share the same geometry block, + # therefore deleting the geometry block is very dangerous! + # Important: DIMENSION constraints do not have this group code 2: + "geometry": DXFAttr(2, validator=validator.is_valid_block_name), + # Dimension style name: + "dimstyle": DXFAttr( + 3, + default="Standard", + validator=validator.is_valid_table_name, + # Do not fix automatically, but audit fixes value as 'Standard' + ), + # definition point for all dimension types in WCS: + "defpoint": DXFAttr(10, xtype=XType.point3d, default=NULLVEC), + # Midpoint of dimension text in OCS: + "text_midpoint": DXFAttr(11, xtype=XType.point3d), + # Insertion point for clones of a dimension (Baseline and Continue?) (in OCS) + # located in AcDbDimension? Another error in the DXF reference? + "insert": DXFAttr(12, xtype=XType.point3d, default=NULLVEC, optional=True), + # Dimension type: + # Important: Dimensional constraints do not have group code 70 + # Values 0–6 are integer values that represent the dimension type. + # Values 32, 64, and 128 are bit values, which are added to the integer + # values (value 32 is always set in R13 and later releases) + # 0 = Rotated, horizontal, or vertical; + # 1 = Aligned + # 2 = Angular; + # 3 = Diameter; + # 4 = Radius + # 5 = Angular 3 point and ARC_DIMENSION < DXF R2018 + # 6 = Ordinate + # 8 = ARC_DIMENSION >= DXF R2018 + # 32 = Indicates that the block reference (group code 2) is referenced by + # this dimension only + # 64 = Ordinate type. This is a bit value (bit 7) used only with integer + # value 6. If set, ordinate is X-type; if not set, ordinate is Y-type + # 128 = This is a bit value (bit 8) added to the other group 70 values if + # the dimension text has been positioned at a user-defined location + # rather than at the default location. + "dimtype": DXFAttr(70, default=0), + # Attachment point: + # 1 = Top left + # 2 = Top center + # 3 = Top right + # 4 = Middle left + # 5 = Middle center + # 6 = Middle right + # 7 = Bottom left + # 8 = Bottom center + # 9 = Bottom right + "attachment_point": DXFAttr( + 71, + default=5, + dxfversion=DXF2000, + validator=validator.is_in_integer_range(0, 10), + fixer=RETURN_DEFAULT, + ), + # Dimension text line-spacing style + # 1 (or missing) = At least (taller characters will override) + # 2 = Exact (taller characters will not override) + "line_spacing_style": DXFAttr( + 72, + default=1, + dxfversion=DXF2000, + optional=True, + validator=validator.is_in_integer_range(1, 3), + fixer=RETURN_DEFAULT, + ), + # Dimension text-line spacing factor: + # Percentage of default (3-on-5) line spacing to be applied. Valid values + # range from 0.25 to 4.00 + "line_spacing_factor": DXFAttr( + 41, + dxfversion=DXF2000, + optional=True, + validator=validator.is_in_float_range(0.25, 4.00), + fixer=validator.fit_into_float_range(0.25, 4.00), + ), + # Actual measurement (optional; read-only value) + "actual_measurement": DXFAttr(42, dxfversion=DXF2000, optional=True), + "unknown1": DXFAttr(73, dxfversion=DXF2000, optional=True), + "flip_arrow_1": DXFAttr( + 74, + dxfversion=DXF2000, + optional=True, + validator=validator.is_integer_bool, + fixer=validator.fix_integer_bool, + ), + "flip_arrow_2": DXFAttr( + 75, + dxfversion=DXF2000, + optional=True, + validator=validator.is_integer_bool, + fixer=validator.fix_integer_bool, + ), + # Dimension text explicitly entered by the user + # default is the measurement. + # If null or "<>", the dimension measurement is drawn as the text, + # if " " (one blank space), the text is suppressed. + # Anything else is drawn as the text. + "text": DXFAttr(1, default="", optional=True), + # Linear dimension types with an oblique angle have an optional group + # code 52. When added to the rotation angle of the linear dimension (group + # code 50), it gives the angle of the extension lines + # DXF reference error: wrong subclass AcDbAlignedDimension + "oblique_angle": DXFAttr(52, default=0, optional=True), + # The optional group code 53 is the rotation angle of the dimension + # text away from its default orientation (the direction of the dimension + # line) + "text_rotation": DXFAttr(53, default=0, optional=True), + # All dimension types have an optional 51 group code, which + # indicates the horizontal direction for the dimension entity. + # The dimension entity determines the orientation of dimension text and + # lines for horizontal, vertical, and rotated linear dimensions. + # This group value is the negative of the angle between the OCS X axis and + # the UCS X axis. It is always in the XY plane of the OCS + "horizontal_direction": DXFAttr(51, default=0, optional=True), + "extrusion": DXFAttr( + 210, + xtype=XType.point3d, + default=Z_AXIS, + optional=True, + validator=validator.is_not_null_vector, + fixer=RETURN_DEFAULT, + ), + }, +) +acdb_dimension_group_codes = group_code_mapping(acdb_dimension) + +acdb_dimension_dummy = DefSubclass( + "AcDbDimensionDummy", + { + # Definition point for linear and angular dimensions (in WCS) + # 'defpoint' (10,20,30) specifies the dimension line location. + # 'text_midpoint' (11,21,31) specifies the midpoint of the dimension text. + # (13,23,33) specifies the start point of the first extension line: + "defpoint2": DXFAttr(13, xtype=XType.point3d, default=NULLVEC), + # (14,24,34) specifies the start point of the second extension line: + "defpoint3": DXFAttr(14, xtype=XType.point3d, default=NULLVEC), + # Angle of rotated, horizontal, or vertical dimensions: + "angle": DXFAttr(50, default=0), + # Definition point for diameter, radius, and angular dimensions (in WCS) + "defpoint4": DXFAttr(15, xtype=XType.point3d, default=NULLVEC), + # Leader length for radius and diameter dimensions + "leader_length": DXFAttr(40), + # Point defining dimension arc for angular dimensions (in OCS) + # 'defpoint2' (13,23,33) and 'defpoint3' (14,24,34) specify the endpoints + # of the line used to determine the first extension line. + # 'defpoint' (10,20,30) and 'defpoint4' (15,25,35) specify the endpoints of + # the line used to determine the second extension line. + # 'defpoint5' (16,26,36) specifies the location of the dimension line arc. + # 'text_midpoint' (11,21,31) specifies the midpoint of the dimension text. + "defpoint5": DXFAttr(16, xtype=XType.point3d, default=NULLVEC), + }, +) +acdb_dimension_dummy_group_codes = group_code_mapping(acdb_dimension_dummy) + + +# noinspection PyUnresolvedReferences +class OverrideMixin: + def get_dim_style(self) -> DimStyle: + """Returns the associated :class:`DimStyle` entity.""" + assert self.doc is not None, "valid DXF document required" # type: ignore + + dim_style_name = self.dxf.dimstyle # type: ignore + # raises ValueError if not exist, but all dim styles in use should + # exist! + return self.doc.dimstyles.get(dim_style_name) # type: ignore + + def dim_style_attributes(self) -> DXFAttributes: + """Returns all valid DXF attributes (internal API).""" + return self.get_dim_style().DXFATTRIBS + + def dim_style_attr_names_to_handles(self, data: dict, dxfversion: str) -> dict: + """`Ezdxf` uses internally only resource names for arrows, linetypes + and text styles, but DXF 2000 and later requires handles for these + resources, this method translates resource names into related handles. + (e.g. 'dimtxsty': 'FancyStyle' -> 'dimtxsty_handle', ) + + Args: + data: dictionary of overridden DimStyle attributes as names (ezdxf) + dxfversion: target DXF version + + Returns: dictionary with resource names replaced by handles + + Raises: + DXFTableEntry: text style or line type does not exist + DXFKeyError: referenced block does not exist + + (internal API) + + """ + data = dict(data) + blocks = self.doc.blocks # type: ignore + + def set_arrow_handle(attrib_name, block_name): + attrib_name += "_handle" + if block_name in ARROWS: + # Create all arrows on demand + block_name = ARROWS.create_block(blocks, block_name) + if block_name == "_CLOSEDFILLED": # special arrow + handle = "0" # set special #0 handle for closed filled arrow + else: + block = blocks[block_name] + handle = block.block_record_handle + data[attrib_name] = handle + + def set_linetype_handle(attrib_name, linetype_name): + try: + ltype = self.doc.linetypes.get(linetype_name) + except DXFTableEntryError: + logger.warning(f'Required line type "{linetype_name}" does not exist.') + else: + data[attrib_name + "_handle"] = ltype.dxf.handle + + if dxfversion > DXF12: + # transform block names into block record handles + for attrib_name in ("dimblk", "dimblk1", "dimblk2", "dimldrblk"): + try: + block_name = data.pop(attrib_name) + except KeyError: + pass + else: + set_arrow_handle(attrib_name, block_name) + + # replace 'dimtxsty' attribute by 'dimtxsty_handle' + try: + dimtxsty = data.pop("dimtxsty") + except KeyError: + pass + else: + txtstyle = self.doc.styles.get(dimtxsty) # type: ignore + data["dimtxsty_handle"] = txtstyle.dxf.handle + + if dxfversion >= DXF2007: + # transform linetype names into LTYPE entry handles + for attrib_name in ("dimltype", "dimltex1", "dimltex2"): + try: + linetype_name = data.pop(attrib_name) + except KeyError: + pass + else: + set_linetype_handle(attrib_name, linetype_name) + return data + + def set_acad_dstyle(self, data: dict) -> None: + """Set XDATA section ACAD:DSTYLE, to override DIMSTYLE attributes for + this DIMENSION entity. + + Args: + data: ``dict`` with DIMSTYLE attribute names as keys. + + (internal API) + + """ + assert self.doc is not None, "valid DXF document required" # type: ignore + # ezdxf uses internally only resource names for arrows, line types and + # text styles, but DXF 2000 and later requires handles for these + # resources: + actual_dxfversion = self.doc.dxfversion # type: ignore + data = self.dim_style_attr_names_to_handles(data, actual_dxfversion) + tags = [] + dim_style_attributes = self.dim_style_attributes() + for key, value in data.items(): + if key not in dim_style_attributes: + logger.debug(f'Ignore unknown DIMSTYLE attribute: "{key}"') + continue + dxf_attr = dim_style_attributes.get(key) + # Skip internal and virtual tags: + if dxf_attr and dxf_attr.code > 0: + if dxf_attr.dxfversion > actual_dxfversion: + logger.debug( + f'Unsupported DIMSTYLE attribute "{key}" for ' + f"DXF version {self.doc.acad_release}" # type: ignore + ) + continue + code = dxf_attr.code + tags.append((1070, code)) + if code == 5: + # DimStyle 'dimblk' has group code 5 but is not a handle, only used + # for DXF R12 + tags.append((1000, value)) + else: + tags.append((get_xcode_for(code), value)) + + if len(tags): + self.set_xdata_list("ACAD", "DSTYLE", tags) # type: ignore + + def dim_style_attr_handles_to_names(self, data: dict) -> dict: + """`Ezdxf` uses internally only resource names for arrows, line types + and text styles, but DXF 2000 and later requires handles for these + resources, this method translates resource handles into related names. + (e.g. 'dimtxsty_handle', -> 'dimtxsty': 'FancyStyle') + + Args: + data: dictionary of overridden DimStyle attributes as handles, + requires DXF R2000+ + + Returns: dictionary with resource as handles replaced by names + + Raises: + DXFTableEntry: text style or line type does not exist + DXFKeyError: referenced block does not exist + + (internal API) + + """ + data = dict(data) + db = self.doc.entitydb # type: ignore + + def set_arrow_name(attrib_name: str, handle: str): + # Special handle for default arrow CLOSEDFILLED: + if handle == "0": + # Special name for default arrow CLOSEDFILLED: + data[attrib_name] = "" + return + try: + block_record = db[handle] + except KeyError: + logger.warning( + f"Required arrow block #{handle} does not exist, " + f"ignoring {attrib_name.upper()} override." + ) + return + name = block_record.dxf.name + # Translate block name into ACAD standard name _OPEN30 -> OPEN30 + if name.startswith("_"): + acad_arrow_name = name[1:] + if ARROWS.is_acad_arrow(acad_arrow_name): + name = acad_arrow_name + data[attrib_name] = name + + def set_ltype_name(attrib_name: str, handle: str): + try: + ltype = db[handle] + except KeyError: + logger.warning( + f"Required line type #{handle} does not exist, " + f"ignoring {attrib_name.upper()} override." + ) + else: + data[attrib_name] = ltype.dxf.name + + # transform block record handles into block names + for attrib_name in ("dimblk", "dimblk1", "dimblk2", "dimldrblk"): + blkrec_handle = data.pop(attrib_name + "_handle", "") + if blkrec_handle: + set_arrow_name(attrib_name, blkrec_handle) + + # replace 'dimtxsty_handle' attribute by 'dimtxsty' + dimtxsty_handle = data.pop("dimtxsty_handle", None) + if dimtxsty_handle: + try: + txtstyle = db[dimtxsty_handle] + except KeyError: + logger.warning( + f"Required text style #{dimtxsty_handle} does not exist, " + f"ignoring DIMTXSTY override." + ) + else: + data["dimtxsty"] = txtstyle.dxf.name + + # transform linetype handles into LTYPE entry names + for attrib_name in ("dimltype", "dimltex1", "dimltex2"): + handle = data.pop(attrib_name + "_handle", "") + if handle: + set_ltype_name(attrib_name, handle) + return data + + def get_acad_dstyle(self, dim_style: DimStyle) -> dict: + """Get XDATA section ACAD:DSTYLE, to override DIMSTYLE attributes for + this DIMENSION entity. Returns a ``dict`` with DIMSTYLE attribute names + as keys. + + (internal API) + """ + try: + data = self.get_xdata_list("ACAD", "DSTYLE") # type: ignore + except DXFValueError: + return {} + attribs = {} + codes = dim_style.CODE_TO_DXF_ATTRIB + for code_tag, value_tag in take2(data): + group_code = code_tag.value + value = value_tag.value + if group_code in codes: + attribs[codes[group_code]] = value + return self.dim_style_attr_handles_to_names(attribs) + + +@register_entity +class Dimension(DXFGraphic, OverrideMixin): + """DXF DIMENSION entity""" + + DXFTYPE = "DIMENSION" + DXFATTRIBS = DXFAttributes( + base_class, acdb_entity, acdb_dimension, acdb_dimension_dummy + ) + LINEAR = 0 + ALIGNED = 1 + ANGULAR = 2 + DIAMETER = 3 + RADIUS = 4 + ANGULAR_3P = 5 + ORDINATE = 6 + ARC = 8 + ORDINATE_TYPE = 64 + USER_LOCATION_OVERRIDE = 128 + + # WARNING for destroy() method: + # Do not destroy associated anonymous block, if DIMENSION is used in a + # block, the same geometry block maybe used by multiple block references. + def __init__(self) -> None: + super().__init__() + # store the content of the geometry block for virtual entities + self.virtual_block_content: Optional[EntitySpace] = None + + def copy(self, copy_strategy=default_copy) -> Dimension: + virtual_copy: Dimension = super().copy(copy_strategy=copy_strategy) # type: ignore + # The new virtual copy can not reference the same geometry block as the + # original dimension entity: + virtual_copy.dxf.discard("geometry") + return virtual_copy + + def copy_data(self, entity: Self, copy_strategy=default_copy) -> None: + assert isinstance(entity, Dimension) + if self.virtual_block_content: + # another copy of a virtual entity: + virtual_content = EntitySpace( + copy_strategy.copy(e) for e in self.virtual_block_content + ) + else: + # entity is a new virtual copy of self and can not share the same + # geometry block to be independently transformable: + virtual_content = EntitySpace(self.virtual_entities()) + # virtual_entities() returns the entities already translated + # to the insert location: + entity.dxf.discard("insert") + entity.virtual_block_content = virtual_content + + def post_bind_hook(self): + """Called after binding a virtual dimension entity to a document. + + This method is not called at the loading stage and virtual dimension + entities do not exist at the loading stage! + + """ + doc = self.doc + if self.virtual_block_content and doc is not None: + # create a new geometry block: + block = doc.blocks.new_anonymous_block(type_char="D") + # move virtual block content to the new geometry block: + for entity in self.virtual_block_content: + block.add_entity(entity) + self.dxf.geometry = block.name + # unlink virtual block content: + self.virtual_block_content = None + + def load_dxf_attribs( + self, processor: Optional[SubclassProcessor] = None + ) -> DXFNamespace: + dxf = super().load_dxf_attribs(processor) + if processor: + processor.fast_load_dxfattribs( + dxf, acdb_dimension_group_codes, 2, recover=True + ) + processor.fast_load_dxfattribs( + dxf, acdb_dimension_dummy_group_codes, 3, log=False + ) + # Ignore possible 5. subclass AcDbRotatedDimension, which has no + # content. + return dxf + + def export_entity(self, tagwriter: AbstractTagWriter) -> None: + """Export entity specific data as DXF tags.""" + super().export_entity(tagwriter) + if tagwriter.dxfversion == DXF12: + self.dxf.export_dxf_attribs( + tagwriter, + [ + "geometry", + "dimstyle", + "defpoint", + "text_midpoint", + "insert", + "dimtype", + "text", + "defpoint2", + "defpoint3", + "defpoint4", + "defpoint5", + "leader_length", + "angle", + "horizontal_direction", + "oblique_angle", + "text_rotation", + ], + ) + return + + # else DXF2000+ + tagwriter.write_tag2(SUBCLASS_MARKER, acdb_dimension.name) + dim_type = self.dimtype + self.dxf.export_dxf_attribs( + tagwriter, + [ + "version", + "geometry", + "dimstyle", + "defpoint", + "text_midpoint", + "insert", + "dimtype", + "attachment_point", + "line_spacing_style", + "line_spacing_factor", + "actual_measurement", + "unknown1", + "flip_arrow_1", + "flip_arrow_2", + "text", + "oblique_angle", + "text_rotation", + "horizontal_direction", + "extrusion", + ], + ) + # Processing by dimtype works only for the original DIMENSION entity. + # Until DXF R2018 dimtype 5 was shared between ARC_DIMENSION and + # angular & angular3p DIMENSION, which have different subclass + # structures! + if self.dxftype() != "DIMENSION": + return + + if dim_type == 0: # linear + tagwriter.write_tag2(SUBCLASS_MARKER, "AcDbAlignedDimension") + self.dxf.export_dxf_attribs(tagwriter, ["defpoint2", "defpoint3", "angle"]) + # empty but required subclass + tagwriter.write_tag2(SUBCLASS_MARKER, "AcDbRotatedDimension") + elif dim_type == 1: # aligned + tagwriter.write_tag2(SUBCLASS_MARKER, "AcDbAlignedDimension") + self.dxf.export_dxf_attribs(tagwriter, ["defpoint2", "defpoint3", "angle"]) + elif dim_type == 2: # angular & angular3p + tagwriter.write_tag2(SUBCLASS_MARKER, "AcDb2LineAngularDimension") + self.dxf.export_dxf_attribs( + tagwriter, ["defpoint2", "defpoint3", "defpoint4", "defpoint5"] + ) + elif dim_type == 3: # diameter + tagwriter.write_tag2(SUBCLASS_MARKER, "AcDbDiametricDimension") + self.dxf.export_dxf_attribs(tagwriter, ["defpoint4", "leader_length"]) + elif dim_type == 4: # radius + tagwriter.write_tag2(SUBCLASS_MARKER, "AcDbRadialDimension") + self.dxf.export_dxf_attribs(tagwriter, ["defpoint4", "leader_length"]) + elif dim_type == 5: # angular & angular3p + tagwriter.write_tag2(SUBCLASS_MARKER, "AcDb3PointAngularDimension") + self.dxf.export_dxf_attribs( + tagwriter, ["defpoint2", "defpoint3", "defpoint4", "defpoint5"] + ) + elif dim_type == 6: # ordinate + tagwriter.write_tag2(SUBCLASS_MARKER, "AcDbOrdinateDimension") + self.dxf.export_dxf_attribs(tagwriter, ["defpoint2", "defpoint3"]) + + def register_resources(self, registry: xref.Registry) -> None: + assert self.doc is not None + super().register_resources(registry) + registry.add_dim_style(self.dxf.dimstyle) + geometry = self.dxf.geometry + if self.doc.block_records.has_entry(geometry): + registry.add_block_name(geometry) + + if not self.has_xdata_list("ACAD", "DSTYLE"): + return + + if self.doc.dxfversion > const.DXF12: + # overridden resources are referenced by handle + register_override_handles(self, registry) + else: + # overridden resources are referenced by name + self.override().register_resources_r12(registry) + + def map_resources(self, clone: Self, mapping: xref.ResourceMapper) -> None: + super().map_resources(clone, mapping) + clone.dxf.dimstyle = mapping.get_dim_style(self.dxf.dimstyle) + clone.dxf.geometry = mapping.get_block_name(self.dxf.geometry) + + # DXF R2000+ references overridden resources by group code 1005 handles in the + # XDATA section, which are automatically mapped by the parent class DXFEntity! + assert self.doc is not None + if self.doc.dxfversion > const.DXF12: + return + self_override = self.override() + if not self_override.dimstyle_attribs: + return # has no overrides + assert isinstance(clone, Dimension) + self_override.map_resources_r12(clone, mapping) + + @property + def dimtype(self) -> int: + """:attr:`dxf.dimtype` without binary flags (32, 62, 128).""" + # undocumented ARC_DIMENSION = 8 (DXF R2018) + return self.dxf.dimtype & 15 + + # Special DIMENSION - Dimensional constraints + # No information in the DXF reference: + # layer name is "*ADSK_CONSTRAINTS" + # missing group code 2 - geometry block name + # has reactor to ACDBASSOCDEPENDENCY object + # Autodesk example: architectural_example-imperial.dxf + @property + def is_dimensional_constraint(self) -> bool: + """Returns ``True`` if the DIMENSION entity is a dimensional + constraint object. + """ + dxf = self.dxf + return dxf.layer == ADSK_CONSTRAINTS and not dxf.hasattr("geometry") + + def get_geometry_block(self) -> Optional[BlockLayout]: + """Returns :class:`~ezdxf.layouts.BlockLayout` of associated anonymous + dimension block, which contains the entities that make up the dimension + picture. Returns ``None`` if block name is not set or the BLOCK itself + does not exist + + """ + block_name = self.dxf.get("geometry", "*") + return self.doc.blocks.get(block_name) # type: ignore + + def get_measurement(self) -> Union[float, Vec3]: + """Returns the actual dimension measurement in :ref:`WCS` units, no + scaling applied for linear dimensions. Returns angle in degrees for + angular dimension from 2 lines and angular dimension from 3 points. + Returns vector from origin to feature location for ordinate dimensions. + + """ + tool = MEASUREMENT_TOOLS.get(self.dimtype) + if tool: + return tool(self) + else: + raise TypeError(f"Unknown DIMENSION type {self.dimtype}.") + + def override(self) -> DimStyleOverride: + """Returns the :class:`~ezdxf.entities.DimStyleOverride` object.""" + return DimStyleOverride(self) + + def render(self) -> None: + """Renders the graphical representation of the DIMENSION entity as DXF + primitives (TEXT, LINE, ARC, ...) into an anonymous content BLOCK. + """ + if self.is_virtual: + raise DXFTypeError("can not render virtual entity") + # Do not delete existing anonymous block, it is maybe referenced + # by a dimension entity in another block reference! Dimensions in block + # references share the same geometry block! + self.override().render() + + def transform(self, m: Matrix44) -> Dimension: + """Transform the DIMENSION entity by transformation matrix `m` inplace. + + Raises ``NonUniformScalingError()`` for non uniform scaling. + + """ + + def transform_if_exist(name: str, func): + if dxf.hasattr(name): + dxf.set(name, func(dxf.get(name))) + + dxf = self.dxf + ocs = OCSTransform(self.dxf.extrusion, m) + + for vertex_name in ("text_midpoint", "defpoint5", "insert"): + transform_if_exist(vertex_name, ocs.transform_vertex) + + for angle_name in ("text_rotation", "horizontal_direction", "angle"): + transform_if_exist(angle_name, ocs.transform_deg_angle) + + for vertex_name in ("defpoint", "defpoint2", "defpoint3", "defpoint4"): + transform_if_exist(vertex_name, m.transform) + + dxf.extrusion = ocs.new_extrusion + + # ignore cloned geometry, this would transform the block content + # multiple times: + if not dxf.hasattr("insert"): + self._transform_block_content(m) + self.post_transform(m) + return self + + def _block_content(self) -> Iterable[DXFGraphic]: + if self.virtual_block_content or self.is_virtual: + content = self.virtual_block_content + else: + content = self.get_geometry_block() # type: ignore + return content or [] # type: ignore + + def _transform_block_content(self, m: Matrix44) -> None: + for entity in self._block_content(): + try: + entity.transform(m) + except (NotImplementedError, NonUniformScalingError): + pass # ignore transformation errors + + def __virtual_entities__(self) -> Iterator[DXFGraphic]: + """Implements the SupportsVirtualEntities protocol.""" + + def ocs_to_wcs(e: DXFGraphic, elevation: float): + # - OCS entities have to get the extrusion vector and the + # elevation of the DIMENSION entity + # - WCS entities have to be transformed to the WCS + dxftype = e.dxftype() + dxf = e.dxf + if dxftype == "LINE": + dxf.start = ocs.to_wcs(dxf.start.replace(z=elevation)) + dxf.end = ocs.to_wcs(dxf.end.replace(z=elevation)) + elif dxftype == "MTEXT": + e.convert_rotation_to_text_direction() # type: ignore + dxf.extrusion = ocs.uz + dxf.text_direction = ocs.to_wcs(dxf.text_direction) + dxf.insert = ocs.to_wcs(dxf.insert.replace(z=elevation)) + elif dxftype == "POINT": + dxf.location = ocs.to_wcs(dxf.location.replace(z=elevation)) + else: # OCS entities + dxf.extrusion = ocs.uz + # set elevation: + if dxf.hasattr("insert"): # INSERT, TEXT + dxf.insert = dxf.insert.replace(z=elevation) + elif dxf.hasattr("center"): # ARC, CIRCLE + dxf.center = dxf.center.replace(z=elevation) + elif dxftype == "SOLID": + # AutoCAD uses the SOLID entity to render the "solid fill" + # arrow directly without using a block reference as usual. >:( + for vtx_name in const.VERTEXNAMES: + point = dxf.get(vtx_name, NULLVEC).replace(z=elevation) + dxf.set(vtx_name, point) + + ocs = self.ocs() + dim_elevation = self.dxf.text_midpoint.z + m: Matrix44 | None = None + insert = self.dxf.get("insert", None) + if insert: + insert = Vec3(ocs.to_wcs(insert)) + m = Matrix44.translate(insert.x, insert.y, insert.z) + + for entity in self._block_content(): + try: + copy = entity.copy(copy_strategy=default_copy) + except CopyNotSupported: + continue + + if ocs.transform: + # All block content entities are located in the OCS defined by + # the DIMENSION entity, even the WCS entities LINE, MTEXT and + # POINT: + ocs_to_wcs(copy, dim_elevation) + + if m is not None: + copy.transform(m) + yield copy + + def virtual_entities(self) -> Iterator[DXFGraphic]: + """Yields the graphical representation of the anonymous content BLOCK as virtual + DXF primitives (LINE, ARC, TEXT, ...). + + These virtual entities are located at the original location of the DIMENSION entity, + but they are not stored in the entity database, have no handle and are not + assigned to any layout. + + """ + return self.__virtual_entities__() + + def explode(self, target_layout: Optional[BaseLayout] = None) -> EntityQuery: + """Explodes the graphical representation of the DIMENSION entity as DXF + primitives (LINE, ARC, TEXT, ...) into the target layout, ``None`` for the same + layout as the source DIMENSION entity. + + Returns an :class:`~ezdxf.query.EntityQuery` container containing all DXF + primitives. + + Args: + target_layout: target layout for the DXF primitives, ``None`` for same + layout as source DIMENSION entity. + + """ + return explode_entity(self, target_layout) + + def destroy(self) -> None: + # Let virtual content just go out of scope: + del self.virtual_block_content + super().destroy() + + def __referenced_blocks__(self) -> Iterable[str]: + """Support for "ReferencedBlocks" protocol.""" + if self.doc: + block_name = self.dxf.get("geometry", None) + if block_name: + block = self.doc.blocks.get(block_name) + if block is not None: + return (block.block_record_handle,) + return tuple() + + def audit(self, auditor: Auditor) -> None: + super().audit(auditor) + doc = auditor.doc + dxf = self.dxf + + if ( + not self.is_dimensional_constraint + and dxf.get("geometry", "*") not in doc.blocks + ): + auditor.fixed_error( + code=AuditError.UNDEFINED_BLOCK, + message=f"Removed {str(self)} without valid geometry block.", + ) + auditor.trash(self) + return + + dimstyle = dxf.get("dimstyle", "Standard") + if not doc.dimstyles.has_entry(dimstyle): + auditor.fixed_error( + code=AuditError.INVALID_DIMSTYLE, + message=f"Replaced invalid DIMSTYLE '{dimstyle}' by 'Standard'.", + ) + dxf.discard("dimstyle") + # AutoCAD ignores invalid data in the XDATA section, no need to + # check or repair. Ezdxf also ignores invalid XDATA overrides. + + +def register_override_handles(entity: DXFEntity, registry: xref.Registry) -> None: + override_tags = entity.get_xdata_list("ACAD", "DSTYLE") + for code, value in override_tags: + if code == 1005: + registry.add_handle(value) + + +acdb_arc_dimension = DefSubclass( + "AcDbArcDimension", + { + # start point of the 1st extension line: + "defpoint2": DXFAttr(13, xtype=XType.point3d, default=NULLVEC), + # start point of the 2ndt extension line: + "defpoint3": DXFAttr(14, xtype=XType.point3d, default=NULLVEC), + # center of arc: + "defpoint4": DXFAttr(15, xtype=XType.point3d, default=NULLVEC), + "start_angle": DXFAttr(40), # radians, unknown meaning + "end_angle": DXFAttr(41), # radians, unknown meaning + "is_partial": DXFAttr(70, validator=validator.is_integer_bool), + "has_leader": DXFAttr(71, validator=validator.is_integer_bool), + "leader_point1": DXFAttr(16, xtype=XType.point3d, default=NULLVEC), + "leader_point2": DXFAttr(17, xtype=XType.point3d, default=NULLVEC), + }, +) +acdb_arc_dimension_group_codes = group_code_mapping(acdb_arc_dimension) + + +@register_entity +class ArcDimension(Dimension): + """DXF ARC_DIMENSION entity""" + + # dimtype is 5 for DXF version <= R2013 + # dimtype is 8 for DXF version >= R2018 + + DXFTYPE = "ARC_DIMENSION" + DXFATTRIBS = DXFAttributes( + base_class, acdb_entity, acdb_dimension, acdb_arc_dimension + ) + MIN_DXF_VERSION_FOR_EXPORT = DXF2000 + + def load_dxf_attribs( + self, processor: Optional[SubclassProcessor] = None + ) -> DXFNamespace: + # Skip Dimension loader: + dxf = super(Dimension, self).load_dxf_attribs(processor) + if processor: + processor.fast_load_dxfattribs( + dxf, acdb_dimension_group_codes, 2, recover=True + ) + processor.fast_load_dxfattribs( + dxf, acdb_arc_dimension_group_codes, 3, recover=True + ) + return dxf + + def versioned_dimtype(self, dxfversion: str) -> int: + if dxfversion > const.DXF2013: + return (self.dxf.dimtype & 0xFFF0) | 8 + else: + return (self.dxf.dimtype & 0xFFF0) | 5 + + def export_entity(self, tagwriter: AbstractTagWriter) -> None: + """Export entity specific data as DXF tags.""" + dimtype = self.dxf.dimtype # preserve original dimtype + self.dxf.dimtype = self.versioned_dimtype(tagwriter.dxfversion) + super().export_entity(tagwriter) + tagwriter.write_tag2(SUBCLASS_MARKER, "AcDbArcDimension") + self.dxf.export_dxf_attribs( + tagwriter, + [ + "defpoint2", + "defpoint3", + "defpoint4", + "start_angle", + "end_angle", + "is_partial", + "has_leader", + "leader_point1", + "leader_point2", + ], + ) + self.dxf.dimtype = dimtype # restore original dimtype + + def transform(self, m: Matrix44) -> Self: + """Transform the ARC_DIMENSION entity by transformation matrix `m` inplace. + + Raises ``NonUniformScalingError()`` for non uniform scaling. + + """ + + def transform_if_exist(name: str, func): + if dxf.hasattr(name): + dxf.set(name, func(dxf.get(name))) + + dxf = self.dxf + super().transform(m) + for vertex_name in ("leader_point1", "leader_point2"): + transform_if_exist(vertex_name, m.transform) + + return self + + +acdb_radial_dimension_large = DefSubclass( + "AcDbRadialDimensionLarge", + { + # center_point = def_point from subclass AcDbDimension + "chord_point": DXFAttr(13, xtype=XType.point3d, default=NULLVEC), + "override_center": DXFAttr(14, xtype=XType.point3d, default=NULLVEC), + "jog_point": DXFAttr(15, xtype=XType.point3d, default=NULLVEC), + "unknown2": DXFAttr(40), + }, +) +acdb_radial_dimension_large_group_codes = group_code_mapping( + acdb_radial_dimension_large +) + + +# Undocumented DXF entity - OpenDesignAlliance DWG Specification: +# chapter 20.4.30 +@register_entity +class RadialDimensionLarge(Dimension): + """DXF LARGE_RADIAL_DIMENSION entity""" + + DXFTYPE = "LARGE_RADIAL_DIMENSION" + DXFATTRIBS = DXFAttributes( + base_class, acdb_entity, acdb_dimension, acdb_radial_dimension_large + ) + MIN_DXF_VERSION_FOR_EXPORT = DXF2004 + + def load_dxf_attribs( + self, processor: Optional[SubclassProcessor] = None + ) -> DXFNamespace: + # Skip Dimension loader: + dxf = super(Dimension, self).load_dxf_attribs(processor) + if processor: + processor.fast_load_dxfattribs( + dxf, acdb_dimension_group_codes, 2, recover=True + ) + processor.fast_load_dxfattribs( + dxf, acdb_radial_dimension_large_group_codes, 3, recover=True + ) + return dxf + + def export_entity(self, tagwriter: AbstractTagWriter) -> None: + """Export entity specific data as DXF tags.""" + super().export_entity(tagwriter) + tagwriter.write_tag2(SUBCLASS_MARKER, "AcDbRadialDimensionLarge") + self.dxf.export_dxf_attribs( + tagwriter, + ["chord_point", "override_center", "jog_point", "unknown2"], + ) + + def transform(self, m: Matrix44) -> Self: + """Transform the LARGE_RADIAL_DIMENSION entity by transformation matrix + `m` inplace. + + Raises ``NonUniformScalingError()`` for non uniform scaling. + + """ + + def transform_if_exist(name: str, func): + if dxf.hasattr(name): + dxf.set(name, func(dxf.get(name))) + + dxf = self.dxf + super().transform(m) + # todo: are these WCS points? + for vertex_name in ("chord_point", "override_center", "Jog_point"): + transform_if_exist(vertex_name, m.transform) + + return self + + +# XDATA extension - meaning unknown +# 1001, ACAD_DSTYLE_DIMRADIAL_EXTENSION +# 1070, 387 +# 1070, 1 +# 1070, 388 +# 1040, 0.0 +# 1070, 390 +# 1040, 0.0 + + +# todo: DIMASSOC +acdb_dim_assoc = DefSubclass( + "AcDbDimAssoc", + { + # Handle of dimension object: + "dimension": DXFAttr(330), + # Associativity flag (bit-coded) + # 1 = First point reference + # 2 = Second point reference + # 4 = Third point reference + # 8 = Fourth point reference + "point_flag": DXFAttr(90), + "trans_space": DXFAttr( + 70, + validator=validator.is_integer_bool, + fixer=validator.fix_integer_bool, + ), + # Rotated Dimension type (parallel, perpendicular) + # Autodesk gone crazy: subclass AcDbOsnapPointRef with group code 1!!!!! + # }), DefSubclass('AcDbOsnapPointRef', { + "rotated_dim_type": DXFAttr(71), + # Object Osnap type: + # 0 = None + # 1 = Endpoint + # 2 = Midpoint + # 3 = Center + # 4 = Node + # 5 = Quadrant + # 6 = Intersection + # 7 = Insertion + # 8 = Perpendicular + # 9 = Tangent + # 10 = Nearest + # 11 = Apparent intersection + # 12 = Parallel + # 13 = Start point + "osnap_type": DXFAttr( + 72, + validator=validator.is_in_integer_range(0, 14), + fixer=validator.fit_into_integer_range(0, 14), + ), + # ID of main object (geometry) + "object_id": DXFAttr(331), + # Subtype of main object (edge, face) + "object_subtype": DXFAttr(73), + # GsMarker of main object (index) + "object_gs_marker": DXFAttr(91), + # Handle (string) of Xref object + "object_xref_id": DXFAttr(301), + # Geometry parameter for Near Osnap + "near_param": DXFAttr(40), + # Osnap point in WCS + "osnap_point": DXFAttr(10, xtype=XType.point3d), + # ID of intersection object (geometry) + "intersect_id": DXFAttr(332), + # Subtype of intersection object (edge/face) + "intersect_subtype": DXFAttr(74), + # GsMarker of intersection object (index) + "intersect_gs_marker": DXFAttr(92), + # Handle (string) of intersection Xref object + "intersect_xref_id": DXFAttr(302), + # hasLastPointRef flag (true/false) + "has_last_point_ref": DXFAttr( + 75, + validator=validator.is_integer_bool, + fixer=validator.fix_integer_bool, + ), + }, +) + + +def measure_linear_distance(dim: Dimension) -> float: + dxf = dim.dxf + return linear_measurement( + dxf.defpoint2, + dxf.defpoint3, + math.radians(dxf.get("angle", 0)), + dim.ocs(), + ) + + +def measure_diameter_or_radius(dim: Dimension) -> float: + p1 = Vec3(dim.dxf.defpoint) + p2 = Vec3(dim.dxf.defpoint4) + return (p2 - p1).magnitude + + +def measure_angle_between_two_lines(dim: Dimension) -> float: + dxf = dim.dxf + p1 = Vec3(dxf.defpoint2) # 1. point of 1. extension line + p2 = Vec3(dxf.defpoint3) # 2. point of 1. extension line + p3 = Vec3(dxf.defpoint4) # 1. point of 2. extension line + p4 = Vec3(dxf.defpoint) # 2. point of 2. extension line + dir1 = p2 - p1 # direction of 1. extension line + dir2 = p4 - p3 # direction of 2. extension line + return angle_between(dir1, dir2) + + +def measure_angle_between_three_points(dim: Dimension) -> float: + dxf = dim.dxf + p1 = Vec3(dxf.defpoint4) # center + p2 = Vec3(dxf.defpoint2) # 1. extension line + p3 = Vec3(dxf.defpoint3) # 2. extension line + dir1 = p2 - p1 # direction of 1. extension line + dir2 = p3 - p1 # direction of 2. extension line + return angle_between(dir1, dir2) + + +def get_feature_location(dim: Dimension) -> Vec3: + origin = Vec3(dim.dxf.defpoint) + feature_location = Vec3(dim.dxf.defpoint2) + return feature_location - origin + + +def angle_between(v1: Vec3, v2: Vec3) -> float: + angle = v2.angle_deg - v1.angle_deg + return angle + 360 if angle < 0 else angle + + +def linear_measurement( + p1: Vec3, p2: Vec3, angle: float = 0, ocs: Optional[OCS] = None +) -> float: + """Returns distance from `p1` to `p2` projected onto ray defined by + `angle`, `angle` in radians in the xy-plane. + + """ + if ocs is not None and ocs.uz != (0, 0, 1): + p1 = ocs.to_wcs(p1) + p2 = ocs.to_wcs(p2) + # angle in OCS xy-plane + ocs_direction = Vec3.from_angle(angle) + measurement_direction = ocs.to_wcs(ocs_direction) + else: + # angle in WCS xy-plane + measurement_direction = Vec3.from_angle(angle) + + t1 = measurement_direction.project(p1) + t2 = measurement_direction.project(p2) + return (t2 - t1).magnitude + + +# TODO: add ARC_DIMENSION dimtype=8 support +MEASUREMENT_TOOLS = { + const.DIM_LINEAR: measure_linear_distance, + const.DIM_ALIGNED: measure_linear_distance, + const.DIM_ANGULAR: measure_angle_between_two_lines, + const.DIM_DIAMETER: measure_diameter_or_radius, + const.DIM_RADIUS: measure_diameter_or_radius, + const.DIM_ANGULAR_3P: measure_angle_between_three_points, + const.DIM_ORDINATE: get_feature_location, +} diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/entities/dimstyle.py b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/entities/dimstyle.py new file mode 100644 index 0000000000000000000000000000000000000000..8f1933abd3e4861c64efaee73335cbfcf375e620 --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/entities/dimstyle.py @@ -0,0 +1,959 @@ +# Copyright (c) 2019-2024, Manfred Moitzi +# License: MIT License +from __future__ import annotations +from typing import TYPE_CHECKING, Iterable, Optional +from typing_extensions import Self +import logging +from ezdxf.enums import MTextLineAlignment +from ezdxf.lldxf.attributes import ( + DXFAttr, + DXFAttributes, + DefSubclass, + VIRTUAL_TAG, + group_code_mapping, + RETURN_DEFAULT, +) +from ezdxf.lldxf import const +from ezdxf.lldxf.const import DXF12, DXF2007, DXF2000 +from ezdxf.lldxf import validator +from ezdxf.render.arrows import ARROWS +from .dxfentity import SubclassProcessor, DXFEntity, base_class +from .layer import acdb_symbol_table_record +from .factory import register_entity + +if TYPE_CHECKING: + from ezdxf.document import Drawing + from ezdxf.entities import DXFNamespace + from ezdxf.lldxf.tagwriter import AbstractTagWriter + from ezdxf import xref + +__all__ = ["DimStyle"] +logger = logging.getLogger("ezdxf") + +acdb_dimstyle = DefSubclass( + "AcDbDimStyleTableRecord", + { + "name": DXFAttr(2, default="Standard", validator=validator.is_valid_table_name), + "flags": DXFAttr(70, default=0), + "dimpost": DXFAttr(3, default=""), + "dimapost": DXFAttr(4, default=""), + # Arrow names are the base data -> handle (DXF2000) is set at export + "dimblk": DXFAttr(5, default=""), + "dimblk1": DXFAttr(6, default=""), + "dimblk2": DXFAttr(7, default=""), + "dimscale": DXFAttr(40, default=1), + # 0 has a special but unknown meaning, handle as 1.0 + "dimasz": DXFAttr(41, default=2.5), + "dimexo": DXFAttr(42, default=0.625), + "dimdli": DXFAttr(43, default=3.75), + "dimexe": DXFAttr(44, default=1.25), + "dimrnd": DXFAttr(45, default=0), + "dimdle": DXFAttr(46, default=0), # dimension line extension + "dimtp": DXFAttr(47, default=0), + "dimtm": DXFAttr(48, default=0), + # undocumented: length of extension line if fixed (dimfxlon = 1) + "dimfxl": DXFAttr(49, dxfversion=DXF2007, default=2.5), + # jog angle, Angle of oblique dimension line segment in jogged radius dimension + "dimjogang": DXFAttr(50, dxfversion=DXF2007, default=90, optional=True), + # measurement text height + "dimtxt": DXFAttr(140, default=2.5), + # center marks and center lines; 0 = off, <0 = center line, >0 = center mark + "dimcen": DXFAttr(141, default=2.5), + "dimtsz": DXFAttr(142, default=0), + "dimaltf": DXFAttr(143, default=0.03937007874), + # measurement length factor + "dimlfac": DXFAttr(144, default=1), + # text vertical position if dimtad=0 + "dimtvp": DXFAttr(145, default=0), + "dimtfac": DXFAttr(146, default=1), + # default gap around the measurement text + "dimgap": DXFAttr(147, default=0.625), + "dimaltrnd": DXFAttr(148, dxfversion=DXF2000, default=0), + # 0=None, 1=canvas color, 2=dimtfillclr + "dimtfill": DXFAttr(69, dxfversion=DXF2007, default=0), + # color index for dimtfill==2 + "dimtfillclr": DXFAttr(70, dxfversion=DXF2007, default=0), + "dimtol": DXFAttr(71, default=0), + "dimlim": DXFAttr(72, default=0), + # text inside horizontal + "dimtih": DXFAttr(73, default=0), + # text outside horizontal + "dimtoh": DXFAttr(74, default=0), + # suppress extension line 1 + "dimse1": DXFAttr(75, default=0), + # suppress extension line 2 + "dimse2": DXFAttr(76, default=0), + # text vertical location: 0=center; 1+2+3=above; 4=below + "dimtad": DXFAttr(77, default=1), + "dimzin": DXFAttr(78, default=8), + # dimazin: + # 0 = Displays all leading and trailing zeros + # 1 = Suppresses leading zeros in decimal dimensions (for example, 0.5000 becomes .5000) + # 2 = Suppresses trailing zeros in decimal dimensions (for example, 12.5000 becomes 12.5) + # 3 = Suppresses leading and trailing zeros (for example, 0.5000 becomes .5) + "dimazin": DXFAttr(79, default=3, dxfversion=DXF2000), + # dimarcsym: show arc symbol + # 0 = preceding text + # 1 = above text + # 2 = disable + "dimarcsym": DXFAttr(90, dxfversion=DXF2000, optional=True), + "dimalt": DXFAttr(170, default=0), + "dimaltd": DXFAttr(171, default=3), + "dimtofl": DXFAttr(172, default=1), + "dimsah": DXFAttr(173, default=0), + # force dimension text inside + "dimtix": DXFAttr(174, default=0), + "dimsoxd": DXFAttr(175, default=0), + # dimension line color + "dimclrd": DXFAttr(176, default=0), + # extension line color + "dimclre": DXFAttr(177, default=0), + # text color + "dimclrt": DXFAttr(178, default=0), + "dimadec": DXFAttr(179, dxfversion=DXF2000, default=2), + "dimunit": DXFAttr(270), # obsolete + "dimdec": DXFAttr(271, dxfversion=DXF2000, default=2), + # can appear multiple times ??? + "dimtdec": DXFAttr(272, dxfversion=DXF2000, default=2), + "dimaltu": DXFAttr(273, dxfversion=DXF2000, default=2), + "dimalttd": DXFAttr(274, dxfversion=DXF2000, default=3), + # 0 = Decimal degrees + # 1 = Degrees/minutes/seconds + # 2 = Grad + # 3 = Radians + "dimaunit": DXFAttr( + 275, + dxfversion=DXF2000, + default=0, + validator=validator.is_in_integer_range(0, 4), + fixer=RETURN_DEFAULT, + ), + "dimfrac": DXFAttr(276, dxfversion=DXF2000, default=0), + "dimlunit": DXFAttr(277, dxfversion=DXF2000, default=2), + "dimdsep": DXFAttr(278, dxfversion=DXF2000, default=44), + # 0 = Moves the dimension line with dimension text + # 1 = Adds a leader when dimension text is moved + # 2 = Allows text to be moved freely without a leader + "dimtmove": DXFAttr(279, dxfversion=DXF2000, default=0), + # 0=center; 1=left; 2=right; 3=above ext1; 4=above ext2 + "dimjust": DXFAttr(280, dxfversion=DXF2000, default=0), + # suppress first part of the dimension line + "dimsd1": DXFAttr(281, dxfversion=DXF2000, default=0), + # suppress second part of the dimension line + "dimsd2": DXFAttr(282, dxfversion=DXF2000, default=0), + "dimtolj": DXFAttr(283, dxfversion=DXF2000, default=0), + "dimtzin": DXFAttr(284, dxfversion=DXF2000, default=8), + "dimaltz": DXFAttr(285, dxfversion=DXF2000, default=0), + "dimalttz": DXFAttr(286, dxfversion=DXF2000, default=0), + "dimfit": DXFAttr(287), # obsolete, now use DIMATFIT and DIMTMOVE + "dimupt": DXFAttr(288, dxfversion=DXF2000, default=0), + # Determines how dimension text and arrows are arranged when space is + # not sufficient to place both within the extension lines. + # 0 = Places both text and arrows outside extension lines + # 1 = Moves arrows first, then text + # 2 = Moves text first, then arrows + # 3 = Moves either text or arrows, whichever fits best + "dimatfit": DXFAttr(289, dxfversion=DXF2000, default=3), + # undocumented: 1 = fixed extension line length + "dimfxlon": DXFAttr(290, dxfversion=DXF2007, default=0), + # Virtual tags are transformed at DXF export - for DIMSTYLE the + # resource names are exported as _handle tags: + # virtual: set/get STYLE by name + "dimtxsty": DXFAttr(VIRTUAL_TAG, dxfversion=DXF2000), + # virtual: set/get leader arrow by block name + "dimldrblk": DXFAttr(VIRTUAL_TAG, dxfversion=DXF2000), + # virtual: set/get LINETYPE by name + "dimltype": DXFAttr(VIRTUAL_TAG, dxfversion=DXF2007), + # virtual: set/get referenced LINETYPE by name + "dimltex2": DXFAttr(VIRTUAL_TAG, dxfversion=DXF2007), + # virtual: set/get referenced LINETYPE by name + "dimltex1": DXFAttr(VIRTUAL_TAG, dxfversion=DXF2007), + # Entity handles are not used internally (see virtual tags above), + # these handles are set at DXF export: + # handle of referenced STYLE entry + "dimtxsty_handle": DXFAttr(340, dxfversion=DXF2000), + # handle of referenced BLOCK_RECORD + "dimblk_handle": DXFAttr(342, dxfversion=DXF2000), + # handle of referenced BLOCK_RECORD + "dimblk1_handle": DXFAttr(343, dxfversion=DXF2000), + # handle of referenced BLOCK_RECORD + "dimblk2_handle": DXFAttr(344, dxfversion=DXF2000), + # handle of referenced BLOCK_RECORD + "dimldrblk_handle": DXFAttr(341, dxfversion=DXF2000), + # handle of linetype for dimension line + "dimltype_handle": DXFAttr(345, dxfversion=DXF2007), + # handle of linetype for extension line 1 + "dimltex1_handle": DXFAttr(346, dxfversion=DXF2007), + # handle of linetype for extension line 2 + "dimltex2_handle": DXFAttr(347, dxfversion=DXF2007), + # dimension line lineweight enum value, default BYBLOCK + "dimlwd": DXFAttr(371, default=const.LINEWEIGHT_BYBLOCK, dxfversion=DXF2000), + # extension line lineweight enum value, default BYBLOCK + "dimlwe": DXFAttr(372, default=const.LINEWEIGHT_BYBLOCK, dxfversion=DXF2000), + }, +) +acdb_dimstyle_group_codes = group_code_mapping(acdb_dimstyle) + +EXPORT_MAP_R2007 = [ + "name", + "flags", + "dimscale", + "dimasz", + "dimexo", + "dimdli", + "dimexe", + "dimrnd", + "dimdle", + "dimtp", + "dimtm", + "dimfxl", + "dimjogang", + "dimtxt", + "dimcen", + "dimtsz", + "dimaltf", + "dimlfac", + "dimtvp", + "dimtfac", + "dimgap", + "dimaltrnd", + "dimtfill", + "dimtfillclr", + "dimtol", + "dimlim", + "dimtih", + "dimtoh", + "dimse1", + "dimse2", + "dimtad", + "dimzin", + "dimazin", + "dimarcsym", + "dimalt", + "dimaltd", + "dimtofl", + "dimsah", + "dimtix", + "dimsoxd", + "dimclrd", + "dimclre", + "dimclrt", + "dimadec", + "dimdec", + "dimtdec", + "dimaltu", + "dimalttd", + "dimaunit", + "dimfrac", + "dimlunit", + "dimdsep", + "dimtmove", + "dimjust", + "dimsd1", + "dimsd2", + "dimtolj", + "dimtzin", + "dimaltz", + "dimalttz", + "dimupt", + "dimatfit", + "dimfxlon", + "dimtxsty_handle", + "dimldrblk_handle", + "dimblk_handle", + "dimblk1_handle", + "dimblk2_handle", + "dimltype_handle", + "dimltex1_handle", + "dimltex2_handle", + "dimlwd", + "dimlwe", +] + +EXPORT_MAP_R2000 = [ + "name", + "flags", + "dimpost", + "dimapost", + "dimscale", + "dimasz", + "dimexo", + "dimdli", + "dimexe", + "dimrnd", + "dimdle", + "dimtp", + "dimtm", + "dimtxt", + "dimcen", + "dimtsz", + "dimaltf", + "dimlfac", + "dimtvp", + "dimtfac", + "dimgap", + "dimaltrnd", + "dimtol", + "dimlim", + "dimtih", + "dimtoh", + "dimse1", + "dimse2", + "dimtad", + "dimzin", + "dimazin", + "dimarcsym", + "dimalt", + "dimaltd", + "dimtofl", + "dimsah", + "dimtix", + "dimsoxd", + "dimclrd", + "dimclre", + "dimclrt", + "dimadec", + "dimdec", + "dimtdec", + "dimaltu", + "dimalttd", + "dimaunit", + "dimfrac", + "dimlunit", + "dimdsep", + "dimtmove", + "dimjust", + "dimsd1", + "dimsd2", + "dimtolj", + "dimtzin", + "dimaltz", + "dimalttz", + "dimupt", + "dimatfit", + "dimtxsty_handle", + "dimldrblk_handle", + "dimblk_handle", + "dimblk1_handle", + "dimblk2_handle", + "dimlwd", + "dimlwe", +] + +EXPORT_MAP_R12 = [ + "name", + "flags", + "dimpost", + "dimapost", + "dimblk", + "dimblk1", + "dimblk2", + "dimscale", + "dimasz", + "dimexo", + "dimdli", + "dimexe", + "dimrnd", + "dimdle", + "dimtp", + "dimtm", + "dimtxt", + "dimcen", + "dimtsz", + "dimaltf", + "dimlfac", + "dimtvp", + "dimtfac", + "dimgap", + "dimtol", + "dimlim", + "dimtih", + "dimtoh", + "dimse1", + "dimse2", + "dimtad", + "dimzin", + "dimalt", + "dimaltd", + "dimtofl", + "dimsah", + "dimtix", + "dimsoxd", + "dimclrd", + "dimclre", + "dimclrt", +] + +DIM_TEXT_STYLE_ATTR = "dimtxsty" +DIM_ARROW_HEAD_ATTRIBS = ("dimblk", "dimblk1", "dimblk2", "dimldrblk") +DIM_LINETYPE_ATTRIBS = ("dimltype", "dimltex1", "dimltex2") + + +def dim_filter(name: str) -> bool: + return name.startswith("dim") + + +@register_entity +class DimStyle(DXFEntity): + """DXF BLOCK_RECORD table entity""" + + DXFTYPE = "DIMSTYLE" + DXFATTRIBS = DXFAttributes(base_class, acdb_symbol_table_record, acdb_dimstyle) + CODE_TO_DXF_ATTRIB = dict(DXFATTRIBS.build_group_code_items(dim_filter)) + + @property + def dxfversion(self): + return self.doc.dxfversion + + def load_dxf_attribs( + self, processor: Optional[SubclassProcessor] = None + ) -> DXFNamespace: + dxf = super().load_dxf_attribs(processor) + if processor: + # group code 70 is used 2x, simple_dxfattribs_loader() can't be used! + processor.fast_load_dxfattribs(dxf, acdb_dimstyle_group_codes, 2) + return dxf + + def post_load_hook(self, doc: Drawing) -> None: + # 2nd Loading stage: resolve handles to names. + # ezdxf uses names for blocks, linetypes and text style as internal + # data, handles are set at export. + super().post_load_hook(doc) + db = doc.entitydb + for attrib_name in DIM_ARROW_HEAD_ATTRIBS: + if self.dxf.hasattr(attrib_name): + continue + block_record_handle = self.dxf.get(attrib_name + "_handle") + if block_record_handle and block_record_handle != "0": + try: + name = db[block_record_handle].dxf.name + except KeyError: + logger.info( + f"Replace undefined block reference " + f"#{block_record_handle} by default arrow." + ) + name = "" # default arrow name + else: + name = "" # default arrow name + self.dxf.set(attrib_name, name) + + style_handle = self.dxf.get("dimtxsty_handle", None) + if style_handle and style_handle != "0": + try: + self.dxf.dimtxsty = db[style_handle].dxf.name + except (KeyError, AttributeError): + logger.info(f"Ignore undefined text style #{style_handle}.") + + for attrib_name in DIM_LINETYPE_ATTRIBS: + lt_handle = self.dxf.get(attrib_name + "_handle", None) + if lt_handle and lt_handle != "0": + try: + name = db[lt_handle].dxf.name + except (KeyError, AttributeError): + logger.info(f"Ignore undefined line type #{lt_handle}.") + else: + self.dxf.set(attrib_name, name) + # Remove all handles, to be sure setting handles for resource names + # at export. + self.discard_handles() + + def export_entity(self, tagwriter: AbstractTagWriter) -> None: + super().export_entity(tagwriter) + if tagwriter.dxfversion > DXF12: + tagwriter.write_tag2(const.SUBCLASS_MARKER, acdb_symbol_table_record.name) + tagwriter.write_tag2(const.SUBCLASS_MARKER, acdb_dimstyle.name) + + if tagwriter.dxfversion > DXF12: + # Set handles from dimblk names: + self.set_handles() + + if tagwriter.dxfversion == DXF12: + attribs = EXPORT_MAP_R12 + elif tagwriter.dxfversion < DXF2007: + attribs = EXPORT_MAP_R2000 + else: + attribs = EXPORT_MAP_R2007 + self.dxf.export_dxf_attribs(tagwriter, attribs) + + def register_resources(self, registry: xref.Registry) -> None: + """Register required resources to the resource registry.""" + assert self.doc is not None, "DIMSTYLE entity must be assigned to a document" + super().register_resources(registry) + # ezdxf uses names for blocks, linetypes and text style as internal data + # register text style + text_style_name = self.dxf.get(DIM_TEXT_STYLE_ATTR) + if text_style_name: + try: + style = self.doc.styles.get(text_style_name) + registry.add_entity(style) + except const.DXFTableEntryError: + pass + + # register linetypes + for attr_name in DIM_LINETYPE_ATTRIBS: + ltype_name = self.dxf.get(attr_name) + if ltype_name is None: + continue + try: + ltype = self.doc.linetypes.get(ltype_name) + registry.add_entity(ltype) + except const.DXFTableEntryError: + pass + + # Note: ACAD arrow head blocks are created automatically at export in set_blk_handle() + for attr_name in DIM_ARROW_HEAD_ATTRIBS: + arrow_name = self.dxf.get(attr_name) + if arrow_name is None: + continue + if not ARROWS.is_acad_arrow(arrow_name): + # user defined arrow head block + registry.add_block_name(arrow_name) + + def map_resources(self, clone: Self, mapping: xref.ResourceMapper) -> None: + """Translate resources from self to the copied entity.""" + assert isinstance(clone, DimStyle) + super().map_resources(clone, mapping) + # ezdxf uses names for blocks, linetypes and text style as internal data + # map text style + text_style = self.dxf.get(DIM_TEXT_STYLE_ATTR) + if text_style: + clone.dxf.dimtxsty = mapping.get_text_style(text_style) + # map linetypes + for attr_name in DIM_LINETYPE_ATTRIBS: + ltype_name = self.dxf.get(attr_name) + if ltype_name: + clone.dxf.set(attr_name, mapping.get_linetype(ltype_name)) + + # Note: ACAD arrow head blocks are created automatically at export in set_blk_handle() + for attr_name in DIM_ARROW_HEAD_ATTRIBS: + arrow_name = self.dxf.get(attr_name) + if arrow_name is None: + continue + if not ARROWS.is_acad_arrow(arrow_name): + # user defined arrow head block + arrow_name = mapping.get_block_name(arrow_name) + clone.dxf.set(attr_name, arrow_name) + + def set_handles(self): + style = self.dxf.get(DIM_TEXT_STYLE_ATTR) + if style: + self.dxf.dimtxsty_handle = self.doc.styles.get(style).dxf.handle + + for attr_name in DIM_ARROW_HEAD_ATTRIBS: + block_name = self.dxf.get(attr_name) + if block_name: + self.set_blk_handle(attr_name + "_handle", block_name) + + for attr_name in DIM_LINETYPE_ATTRIBS: + get_linetype = self.doc.linetypes.get + ltype_name = self.dxf.get(attr_name) + if ltype_name: + handle = get_linetype(ltype_name).dxf.handle + self.dxf.set(attr_name + "_handle", handle) + + def discard_handles(self): + for attr in ( + "dimblk", + "dimblk1", + "dimblk2", + "dimldrblk", + "dimltype", + "dimltex1", + "dimltex2", + "dimtxsty", + ): + self.dxf.discard(attr + "_handle") + + def set_blk_handle(self, attr: str, arrow_name: str) -> None: + if arrow_name == ARROWS.closed_filled: + # special arrow, no handle needed (is '0' if set) + # do not create block by default, this will be done if arrow is used + # and block record handle is not needed here + self.dxf.discard(attr) + return + assert self.doc is not None, "valid DXF document required" + blocks = self.doc.blocks + if ARROWS.is_acad_arrow(arrow_name): + # create block, because the block record handle is needed here + block_name = ARROWS.create_block(blocks, arrow_name) + else: + block_name = arrow_name + + blk = blocks.get(block_name) + if blk is not None: + self.set_dxf_attrib(attr, blk.block_record_handle) + else: + raise const.DXFValueError(f'Block "{arrow_name}" does not exist.') + + def get_arrow_block_name(self, name: str) -> str: + assert self.doc is not None, "valid DXF document required" + handle = self.get_dxf_attrib(name, None) + if handle in (None, "0"): + # unset handle or handle '0' is default closed filled arrow + return ARROWS.closed_filled + else: + block_name = get_block_name_by_handle(handle, self.doc) + # Returns standard arrow name or the user defined block name: + return ARROWS.arrow_name(block_name) + + def set_linetypes(self, dimline=None, ext1=None, ext2=None) -> None: + if self.dxfversion < DXF2007: + logger.debug("Linetype support requires DXF R2007+.") + + if dimline is not None: + self.dxf.dimltype = dimline + if ext1 is not None: + self.dxf.dimltex1 = ext1 + if ext2 is not None: + self.dxf.dimltex2 = ext2 + + def print_dim_attribs(self) -> None: + attdef = self.DXFATTRIBS.get + for name, value in self.dxfattribs().items(): + if name.startswith("dim"): + print(f"{name} ({attdef(name).code}) = {value}") # type: ignore + + def copy_to_header(self, doc: Drawing): + """Copy all dimension style variables to HEADER section of `doc`.""" + attribs = self.dxfattribs() + header = doc.header + header["$DIMSTYLE"] = self.dxf.name + for name, value in attribs.items(): + if name.startswith("dim"): + header_var = "$" + name.upper() + try: + header[header_var] = value + except const.DXFKeyError: + logger.debug(f"Unsupported header variable: {header_var}.") + + def set_arrows( + self, blk: str = "", blk1: str = "", blk2: str = "", ldrblk: str = "" + ) -> None: + """Set arrows by block names or AutoCAD standard arrow names, set + DIMTSZ to ``0`` which disables tick. + + Args: + blk: block/arrow name for both arrows, if DIMSAH is 0 + blk1: block/arrow name for first arrow, if DIMSAH is 1 + blk2: block/arrow name for second arrow, if DIMSAH is 1 + ldrblk: block/arrow name for leader + + """ + self.set_dxf_attrib("dimblk", blk) + self.set_dxf_attrib("dimblk1", blk1) + self.set_dxf_attrib("dimblk2", blk2) + self.set_dxf_attrib("dimldrblk", ldrblk) + self.set_dxf_attrib("dimtsz", 0) # use blocks + + # only existing BLOCK definitions allowed + if self.doc: + blocks = self.doc.blocks + for b in (blk, blk1, blk2, ldrblk): + if ARROWS.is_acad_arrow(b): # not real blocks + ARROWS.create_block(blocks, b) + continue + if b and b not in blocks: + raise const.DXFValueError(f'BLOCK "{blk}" does not exist.') + + def set_tick(self, size: float = 1) -> None: + """Set tick `size`, which also disables arrows, a tick is just an + oblique stroke as marker. + + Args: + size: arrow size in drawing units + + """ + self.set_dxf_attrib("dimtsz", size) + + def set_text_align( + self, + halign: Optional[str] = None, + valign: Optional[str] = None, + vshift: Optional[float] = None, + ) -> None: + """Set measurement text alignment, `halign` defines the horizontal + alignment (requires DXF R2000+), `valign` defines the vertical + alignment, `above1` and `above2` means above extension line 1 or 2 and + aligned with extension line. + + Args: + halign: "left", "right", "center", "above1", "above2", + requires DXF R2000+ + valign: "above", "center", "below" + vshift: vertical text shift, if `valign` is "center"; + >0 shift upward, + <0 shift downwards + + """ + if valign: + valign = valign.lower() + self.set_dxf_attrib("dimtad", const.DIMTAD[valign]) + if valign == "center" and vshift is not None: + self.set_dxf_attrib("dimtvp", vshift) + + if halign: + self.set_dxf_attrib("dimjust", const.DIMJUST[halign.lower()]) + + def set_text_format( + self, + prefix: str = "", + postfix: str = "", + rnd: Optional[float] = None, + dec: Optional[int] = None, + sep: Optional[str] = None, + leading_zeros: bool = True, + trailing_zeros: bool = True, + ): + """Set dimension text format, like prefix and postfix string, rounding + rule and number of decimal places. + + Args: + prefix: Dimension text prefix text as string + postfix: Dimension text postfix text as string + rnd: Rounds all dimensioning distances to the specified value, for + instance, if DIMRND is set to 0.25, all distances round to the + nearest 0.25 unit. If you set DIMRND to 1.0, all distances round + to the nearest integer. + dec: Sets the number of decimal places displayed for the primary + units of a dimension, requires DXF R2000+ + sep: "." or "," as decimal separator, requires DXF R2000+ + leading_zeros: Suppress leading zeros for decimal dimensions + if ``False`` + trailing_zeros: Suppress trailing zeros for decimal dimensions + if ``False`` + + """ + if prefix or postfix: + self.dxf.dimpost = prefix + "<>" + postfix + if rnd is not None: + self.dxf.dimrnd = rnd + + # works only with decimal dimensions not inch and feet, US user set dimzin directly + if leading_zeros is not None or trailing_zeros is not None: + dimzin = 0 + if leading_zeros is False: + dimzin = const.DIMZIN_SUPPRESSES_LEADING_ZEROS + if trailing_zeros is False: + dimzin += const.DIMZIN_SUPPRESSES_TRAILING_ZEROS + self.dxf.dimzin = dimzin + + if dec is not None: + self.dxf.dimdec = dec + if sep is not None: + self.dxf.dimdsep = ord(sep) + + def set_dimline_format( + self, + color: Optional[int] = None, + linetype: Optional[str] = None, + lineweight: Optional[int] = None, + extension: Optional[float] = None, + disable1: Optional[bool] = None, + disable2: Optional[bool] = None, + ): + """Set dimension line properties + + Args: + color: color index + linetype: linetype as string, requires DXF R2007+ + lineweight: line weight as int, 13 = 0.13mm, 200 = 2.00mm, + requires DXF R2000+ + extension: extension length + disable1: ``True`` to suppress first part of dimension line, + requires DXF R2000+ + disable2: ``True`` to suppress second part of dimension line, + requires DXF R2000+ + + """ + if color is not None: + self.dxf.dimclrd = color + if extension is not None: + self.dxf.dimdle = extension + + if lineweight is not None: + self.dxf.dimlwd = lineweight + if disable1 is not None: + self.dxf.dimsd1 = disable1 + if disable2 is not None: + self.dxf.dimsd2 = disable2 + if linetype is not None: + self.dxf.dimltype = linetype + + def set_extline_format( + self, + color: Optional[int] = None, + lineweight: Optional[int] = None, + extension: Optional[float] = None, + offset: Optional[float] = None, + fixed_length: Optional[float] = None, + ): + """Set common extension line attributes. + + Args: + color: color index + lineweight: line weight as int, 13 = 0.13mm, 200 = 2.00mm + extension: extension length above dimension line + offset: offset from measurement point + fixed_length: set fixed length extension line, length below the + dimension line + + """ + if color is not None: + self.dxf.dimclre = color + if extension is not None: + self.dxf.dimexe = extension + if offset is not None: + self.dxf.dimexo = offset + if lineweight is not None: + self.dxf.dimlwe = lineweight + if fixed_length is not None: + self.dxf.dimfxlon = 1 + self.dxf.dimfxl = fixed_length + + def set_extline1(self, linetype: Optional[str] = None, disable=False): + """Set extension line 1 attributes. + + Args: + linetype: linetype for extension line 1, requires DXF R2007+ + disable: disable extension line 1 if ``True`` + + """ + if disable: + self.dxf.dimse1 = 1 + if linetype is not None: + self.dxf.dimltex1 = linetype + + def set_extline2(self, linetype: Optional[str] = None, disable=False): + """Set extension line 2 attributes. + + Args: + linetype: linetype for extension line 2, requires DXF R2007+ + disable: disable extension line 2 if ``True`` + + """ + if disable: + self.dxf.dimse2 = 1 + if linetype is not None: + self.dxf.dimltex2 = linetype + + def set_tolerance( + self, + upper: float, + lower: Optional[float] = None, + hfactor: float = 1.0, + align: Optional[MTextLineAlignment] = None, + dec: Optional[int] = None, + leading_zeros: Optional[bool] = None, + trailing_zeros: Optional[bool] = None, + ) -> None: + """Set tolerance text format, upper and lower value, text height + factor, number of decimal places or leading and trailing zero + suppression. + + Args: + upper: upper tolerance value + lower: lower tolerance value, if ``None`` same as upper + hfactor: tolerance text height factor in relation to the dimension + text height + align: tolerance text alignment enum :class:`ezdxf.enums.MTextLineAlignment` + requires DXF R2000+ + dec: Sets the number of decimal places displayed, + requires DXF R2000+ + leading_zeros: suppress leading zeros for decimal dimensions + if ``False``, requires DXF R2000+ + trailing_zeros: suppress trailing zeros for decimal dimensions + if ``False``, requires DXF R2000+ + + """ + # Exclusive tolerances mode, disable limits + self.dxf.dimtol = 1 + self.dxf.dimlim = 0 + self.dxf.dimtp = float(upper) + if lower is not None: + self.dxf.dimtm = float(lower) + else: + self.dxf.dimtm = float(upper) + if hfactor is not None: + self.dxf.dimtfac = float(hfactor) + + # Works only with decimal dimensions not inch and feet, US user set + # dimzin directly. + if leading_zeros is not None or trailing_zeros is not None: + dimtzin = 0 + if leading_zeros is False: + dimtzin = const.DIMZIN_SUPPRESSES_LEADING_ZEROS + if trailing_zeros is False: + dimtzin += const.DIMZIN_SUPPRESSES_TRAILING_ZEROS + self.dxf.dimtzin = dimtzin + + if align is not None: + self.dxf.dimtolj = int() + if dec is not None: + self.dxf.dimtdec = int(dec) + + def set_limits( + self, + upper: float, + lower: float, + hfactor: float = 1.0, + dec: Optional[int] = None, + leading_zeros: Optional[bool] = None, + trailing_zeros: Optional[bool] = None, + ) -> None: + """Set limits text format, upper and lower limit values, text height + factor, number of decimal places or leading and trailing zero + suppression. + + Args: + upper: upper limit value added to measurement value + lower: lower limit value subtracted from measurement value + hfactor: limit text height factor in relation to the dimension + text height + dec: Sets the number of decimal places displayed, + requires DXF R2000+ + leading_zeros: suppress leading zeros for decimal dimensions + if ``False``, requires DXF R2000+ + trailing_zeros: suppress trailing zeros for decimal dimensions + if ``False``, requires DXF R2000+ + + """ + # Exclusive limits mode, disable tolerances + self.dxf.dimlim = 1 + self.dxf.dimtol = 0 + self.dxf.dimtp = float(upper) + self.dxf.dimtm = float(lower) + self.dxf.dimtfac = float(hfactor) + + # Works only with decimal dimensions not inch and feet, US user set + # dimzin directly. + if leading_zeros is not None or trailing_zeros is not None: + dimtzin = 0 + if leading_zeros is False: + dimtzin = const.DIMZIN_SUPPRESSES_LEADING_ZEROS + if trailing_zeros is False: + dimtzin += const.DIMZIN_SUPPRESSES_TRAILING_ZEROS + self.dxf.dimtzin = dimtzin + self.dxf.dimtolj = 0 # set bottom as default + if dec is not None: + self.dxf.dimtdec = int(dec) + + def __referenced_blocks__(self) -> Iterable[str]: + """Support for "ReferencedBlocks" protocol.""" + if self.doc: + blocks = self.doc.blocks + for attrib_name in ("dimblk", "dimblk1", "dimblk2", "dimldrblk"): + name = self.dxf.get(attrib_name, None) + if name: + block = blocks.get(name, None) + if block is not None: + yield block.block_record.dxf.handle + + +def get_block_name_by_handle(handle, doc: Drawing, default="") -> str: + try: + entry = doc.entitydb[handle] + except const.DXFKeyError: + block_name = default + else: + block_name = entry.dxf.name + return block_name diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/entities/dimstyleoverride.py b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/entities/dimstyleoverride.py new file mode 100644 index 0000000000000000000000000000000000000000..18c18f1f83a150223222e03984992a8d51870332 --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/entities/dimstyleoverride.py @@ -0,0 +1,583 @@ +# Copyright (c) 2019-2023 Manfred Moitzi +# License: MIT License +from __future__ import annotations +from typing import Any, TYPE_CHECKING, Optional +from typing_extensions import Protocol +import logging + +from ezdxf.enums import MTextLineAlignment +from ezdxf.lldxf import const +from ezdxf.lldxf.const import DXFAttributeError, DIMJUST, DIMTAD +from ezdxf.math import Vec3, UVec, UCS +from ezdxf.render.arrows import ARROWS + +if TYPE_CHECKING: + from ezdxf.document import Drawing + from ezdxf.entities import DimStyle, Dimension + from ezdxf.render.dim_base import BaseDimensionRenderer + from ezdxf import xref + +logger = logging.getLogger("ezdxf") + + +class SupportsOverride(Protocol): + def override(self) -> DimStyleOverride: + ... + + +class DimStyleOverride: + def __init__(self, dimension: Dimension, override: Optional[dict] = None): + self.dimension = dimension + dim_style_name: str = dimension.get_dxf_attrib("dimstyle", "STANDARD") + self.dimstyle: DimStyle = self.doc.dimstyles.get(dim_style_name) + self.dimstyle_attribs: dict = self.get_dstyle_dict() + + # Special ezdxf attributes beyond the DXF reference, therefore not + # stored in the DSTYLE data. + # These are only rendering effects or data transfer objects + # user_location: Vec3 - user location override if not None + # relative_user_location: bool - user location override relative to + # dimline center if True + # text_shift_h: float - shift text in text direction, relative to + # standard text location + # text_shift_v: float - shift text perpendicular to text direction, + # relative to standard text location + self.update(override or {}) + + @property + def doc(self) -> Drawing: + """Drawing object (internal API)""" + return self.dimension.doc # type: ignore + + @property + def dxfversion(self) -> str: + """DXF version (internal API)""" + return self.doc.dxfversion + + def get_dstyle_dict(self) -> dict: + """Get XDATA section ACAD:DSTYLE, to override DIMSTYLE attributes for + this DIMENSION entity. + + Returns a ``dict`` with DIMSTYLE attribute names as keys. + + (internal API) + """ + return self.dimension.get_acad_dstyle(self.dimstyle) + + def get(self, attribute: str, default: Any = None) -> Any: + """Returns DIMSTYLE `attribute` from override dict + :attr:`dimstyle_attribs` or base :class:`DimStyle`. + + Returns `default` value for attributes not supported by DXF R12. This + is a hack to use the same algorithm to render DXF R2000 and DXF R12 + DIMENSION entities. But the DXF R2000 attributes are not stored in the + DXF R12 file! This method does not catch invalid attribute names! + Check debug log for ignored DIMSTYLE attributes. + + """ + if attribute in self.dimstyle_attribs: + result = self.dimstyle_attribs[attribute] + else: + try: + result = self.dimstyle.get_dxf_attrib(attribute, default) + except DXFAttributeError: + result = default + return result + + def pop(self, attribute: str, default: Any = None) -> Any: + """Returns DIMSTYLE `attribute` from override dict :attr:`dimstyle_attribs` and + removes this `attribute` from override dict. + """ + value = self.get(attribute, default) + # delete just from override dict + del self[attribute] + return value + + def update(self, attribs: dict) -> None: + """Update override dict :attr:`dimstyle_attribs`. + + Args: + attribs: ``dict`` of DIMSTYLE attributes + + """ + self.dimstyle_attribs.update(attribs) + + def __getitem__(self, key: str) -> Any: + """Returns DIMSTYLE attribute `key`, see also :meth:`get`.""" + return self.get(key) + + def __setitem__(self, key: str, value: Any) -> None: + """Set DIMSTYLE attribute `key` in :attr:`dimstyle_attribs`.""" + self.dimstyle_attribs[key] = value + + def __delitem__(self, key: str) -> None: + """Deletes DIMSTYLE attribute `key` from :attr:`dimstyle_attribs`, + ignores :class:`KeyErrors` silently. + """ + try: + del self.dimstyle_attribs[key] + except KeyError: # silent discard + pass + + def register_resources_r12(self, registry: xref.Registry) -> None: + # DXF R2000+ references overridden resources by group code 1005 handles in the + # XDATA section, which are automatically mapped by the parent class DXFEntity! + assert self.doc.dxfversion == const.DXF12 + # register arrow heads + for attrib_name in ("dimblk", "dimblk1", "dimblk2", "dimldrblk"): + arrow_name = self.get(attrib_name, "") + if arrow_name: + # arrow head names will be renamed like user blocks + # e.g. "_DOT" -> "xref$0$_DOT" + registry.add_block_name(ARROWS.block_name(arrow_name)) + # linetype and text style attributes are not supported by DXF R12! + + def map_resources_r12( + self, copy: SupportsOverride, mapping: xref.ResourceMapper + ) -> None: + # DXF R2000+ references overridden resources by group code 1005 handles in the + # XDATA section, which are automatically mapped by the parent class DXFEntity! + assert self.doc.dxfversion == const.DXF12 + copy_override = copy.override() + # map arrow heads + for attrib_name in ("dimblk", "dimblk1", "dimblk2", "dimldrblk"): + arrow_name = self.get(attrib_name, "") + if arrow_name: + block_name = mapping.get_block_name(ARROWS.block_name(arrow_name)) + copy_override[attrib_name] = ARROWS.arrow_name(block_name) + copy_override.commit() + # The linetype attributes dimltype, dimltex1 and dimltex2 and the text style + # attribute dimtxsty are not supported by DXF R12! + # + # Weired behavior for DXF R12 detected + # ------------------------------------ + # BricsCAD writes the handles of overridden linetype- and text style attributes + # into the ACAD-DSTYLE dictionary like for DXF R2000+, but exports the table + # entries without handles, so remapping of these handles is only possible if the + # application (which loads this DXF file) assigns internally the same handles + # as BricsCAD does and this also works with Autodesk TrueView (oO = wtf!). + # Ezdxf cannot remap these handles! + + def commit(self) -> None: + """Writes overridden DIMSTYLE attributes into ACAD:DSTYLE section of + XDATA of the DIMENSION entity. + + """ + self.dimension.set_acad_dstyle(self.dimstyle_attribs) + + def set_arrows( + self, + blk: Optional[str] = None, + blk1: Optional[str] = None, + blk2: Optional[str] = None, + ldrblk: Optional[str] = None, + size: Optional[float] = None, + ) -> None: + """Set arrows or user defined blocks and disable oblique stroke as tick. + + Args: + blk: defines both arrows at once as name str or user defined block + blk1: defines left arrow as name str or as user defined block + blk2: defines right arrow as name str or as user defined block + ldrblk: defines leader arrow as name str or as user defined block + size: arrow size in drawing units + + """ + + def set_arrow(dimvar: str, name: str) -> None: + self.dimstyle_attribs[dimvar] = name + + if size is not None: + self.dimstyle_attribs["dimasz"] = float(size) + if blk is not None: + set_arrow("dimblk", blk) + self.dimstyle_attribs["dimsah"] = 0 + self.dimstyle_attribs["dimtsz"] = 0.0 # use arrows + if blk1 is not None: + set_arrow("dimblk1", blk1) + self.dimstyle_attribs["dimsah"] = 1 + self.dimstyle_attribs["dimtsz"] = 0.0 # use arrows + if blk2 is not None: + set_arrow("dimblk2", blk2) + self.dimstyle_attribs["dimsah"] = 1 + self.dimstyle_attribs["dimtsz"] = 0.0 # use arrows + if ldrblk is not None: + set_arrow("dimldrblk", ldrblk) + + def get_arrow_names(self) -> tuple[str, str]: + """Get arrow names as strings like 'ARCHTICK' as tuple (dimblk1, dimblk2).""" + dimtsz = self.get("dimtsz", 0) + blk1, blk2 = "", "" + if dimtsz == 0.0: + if bool(self.get("dimsah")): + blk1 = self.get("dimblk1", "") + blk2 = self.get("dimblk2", "") + else: + blk = self.get("dimblk", "") + blk1 = blk + blk2 = blk + return blk1, blk2 + + def get_decimal_separator(self) -> str: + dimdsep: int = self.get("dimdsep", 0) + return "," if dimdsep == 0 else chr(dimdsep) + + def set_tick(self, size: float = 1) -> None: + """Use oblique stroke as tick, disables arrows. + + Args: + size: arrow size in daring units + + """ + self.dimstyle_attribs["dimtsz"] = float(size) + + def set_text_align( + self, + halign: Optional[str] = None, + valign: Optional[str] = None, + vshift: Optional[float] = None, + ) -> None: + """Set measurement text alignment, `halign` defines the horizontal + alignment, `valign` defines the vertical alignment, `above1` and + `above2` means above extension line 1 or 2 and aligned with extension + line. + + Args: + halign: `left`, `right`, `center`, `above1`, `above2`, + requires DXF R2000+ + valign: `above`, `center`, `below` + vshift: vertical text shift, if `valign` is `center`; + >0 shift upward, <0 shift downwards + + """ + if halign: + self.dimstyle_attribs["dimjust"] = DIMJUST[halign.lower()] + + if valign: + valign = valign.lower() + self.dimstyle_attribs["dimtad"] = DIMTAD[valign] + if valign == "center" and vshift is not None: + self.dimstyle_attribs["dimtvp"] = float(vshift) + + def set_tolerance( + self, + upper: float, + lower: Optional[float] = None, + hfactor: Optional[float] = None, + align: Optional[MTextLineAlignment] = None, + dec: Optional[int] = None, + leading_zeros: Optional[bool] = None, + trailing_zeros: Optional[bool] = None, + ) -> None: + """Set tolerance text format, upper and lower value, text height + factor, number of decimal places or leading and trailing zero + suppression. + + Args: + upper: upper tolerance value + lower: lower tolerance value, if None same as upper + hfactor: tolerance text height factor in relation to the dimension + text height + align: tolerance text alignment enum :class:`ezdxf.enums.MTextLineAlignment` + dec: Sets the number of decimal places displayed + leading_zeros: suppress leading zeros for decimal dimensions if ``False`` + trailing_zeros: suppress trailing zeros for decimal dimensions if ``False`` + + """ + self.dimstyle_attribs["dimtol"] = 1 + self.dimstyle_attribs["dimlim"] = 0 + self.dimstyle_attribs["dimtp"] = float(upper) + if lower is not None: + self.dimstyle_attribs["dimtm"] = float(lower) + else: + self.dimstyle_attribs["dimtm"] = float(upper) + if hfactor is not None: + self.dimstyle_attribs["dimtfac"] = float(hfactor) + if align is not None: + self.dimstyle_attribs["dimtolj"] = int(align) + if dec is not None: + self.dimstyle_attribs["dimtdec"] = dec + + # Works only with decimal dimensions not inch and feet, US user set + # dimzin directly + if leading_zeros is not None or trailing_zeros is not None: + dimtzin = 0 + if leading_zeros is False: + dimtzin = const.DIMZIN_SUPPRESSES_LEADING_ZEROS + if trailing_zeros is False: + dimtzin += const.DIMZIN_SUPPRESSES_TRAILING_ZEROS + self.dimstyle_attribs["dimtzin"] = dimtzin + + def set_limits( + self, + upper: float, + lower: float, + hfactor: Optional[float] = None, + dec: Optional[int] = None, + leading_zeros: Optional[bool] = None, + trailing_zeros: Optional[bool] = None, + ) -> None: + """Set limits text format, upper and lower limit values, text + height factor, number of decimal places or leading and trailing zero + suppression. + + Args: + upper: upper limit value added to measurement value + lower: lower limit value subtracted from measurement value + hfactor: limit text height factor in relation to the dimension + text height + dec: Sets the number of decimal places displayed, + requires DXF R2000+ + leading_zeros: suppress leading zeros for decimal dimensions if + ``False``, requires DXF R2000+ + trailing_zeros: suppress trailing zeros for decimal dimensions if + ``False``, requires DXF R2000+ + + """ + # exclusive limits + self.dimstyle_attribs["dimlim"] = 1 + self.dimstyle_attribs["dimtol"] = 0 + self.dimstyle_attribs["dimtp"] = float(upper) + self.dimstyle_attribs["dimtm"] = float(lower) + if hfactor is not None: + self.dimstyle_attribs["dimtfac"] = float(hfactor) + + # Works only with decimal dimensions not inch and feet, US user set + # dimzin directly. + if leading_zeros is not None or trailing_zeros is not None: + dimtzin = 0 + if leading_zeros is False: + dimtzin = const.DIMZIN_SUPPRESSES_LEADING_ZEROS + if trailing_zeros is False: + dimtzin += const.DIMZIN_SUPPRESSES_TRAILING_ZEROS + self.dimstyle_attribs["dimtzin"] = dimtzin + + if dec is not None: + self.dimstyle_attribs["dimtdec"] = int(dec) + + def set_text_format( + self, + prefix: str = "", + postfix: str = "", + rnd: Optional[float] = None, + dec: Optional[int] = None, + sep: Optional[str] = None, + leading_zeros: Optional[bool] = None, + trailing_zeros: Optional[bool] = None, + ) -> None: + """Set dimension text format, like prefix and postfix string, rounding + rule and number of decimal places. + + Args: + prefix: dimension text prefix text as string + postfix: dimension text postfix text as string + rnd: Rounds all dimensioning distances to the specified value, for + instance, if DIMRND is set to 0.25, all distances round to the + nearest 0.25 unit. If you set DIMRND to 1.0, all distances round + to the nearest integer. + dec: Sets the number of decimal places displayed for the primary + units of a dimension. requires DXF R2000+ + sep: "." or "," as decimal separator + leading_zeros: suppress leading zeros for decimal dimensions if ``False`` + trailing_zeros: suppress trailing zeros for decimal dimensions if ``False`` + + """ + if prefix or postfix: + self.dimstyle_attribs["dimpost"] = prefix + "<>" + postfix + if rnd is not None: + self.dimstyle_attribs["dimrnd"] = rnd + if dec is not None: + self.dimstyle_attribs["dimdec"] = dec + if sep is not None: + self.dimstyle_attribs["dimdsep"] = ord(sep) + # Works only with decimal dimensions not inch and feet, US user set + # dimzin directly. + if leading_zeros is not None or trailing_zeros is not None: + dimzin = 0 + if leading_zeros is False: + dimzin = const.DIMZIN_SUPPRESSES_LEADING_ZEROS + if trailing_zeros is False: + dimzin += const.DIMZIN_SUPPRESSES_TRAILING_ZEROS + self.dimstyle_attribs["dimzin"] = dimzin + + def set_dimline_format( + self, + color: Optional[int] = None, + linetype: Optional[str] = None, + lineweight: Optional[int] = None, + extension: Optional[float] = None, + disable1: Optional[bool] = None, + disable2: Optional[bool] = None, + ): + """Set dimension line properties. + + Args: + color: color index + linetype: linetype as string + lineweight: line weight as int, 13 = 0.13mm, 200 = 2.00mm + extension: extension length + disable1: True to suppress first part of dimension line + disable2: True to suppress second part of dimension line + + """ + if color is not None: + self.dimstyle_attribs["dimclrd"] = color + if linetype is not None: + self.dimstyle_attribs["dimltype"] = linetype + if lineweight is not None: + self.dimstyle_attribs["dimlwd"] = lineweight + if extension is not None: + self.dimstyle_attribs["dimdle"] = extension + if disable1 is not None: + self.dimstyle_attribs["dimsd1"] = disable1 + if disable2 is not None: + self.dimstyle_attribs["dimsd2"] = disable2 + + def set_extline_format( + self, + color: Optional[int] = None, + lineweight: Optional[int] = None, + extension: Optional[float] = None, + offset: Optional[float] = None, + fixed_length: Optional[float] = None, + ): + """Set common extension line attributes. + + Args: + color: color index + lineweight: line weight as int, 13 = 0.13mm, 200 = 2.00mm + extension: extension length above dimension line + offset: offset from measurement point + fixed_length: set fixed length extension line, length below the + dimension line + """ + if color is not None: + self.dimstyle_attribs["dimclre"] = color + if lineweight is not None: + self.dimstyle_attribs["dimlwe"] = lineweight + if extension is not None: + self.dimstyle_attribs["dimexe"] = extension + if offset is not None: + self.dimstyle_attribs["dimexo"] = offset + if fixed_length is not None: + self.dimstyle_attribs["dimfxlon"] = 1 + self.dimstyle_attribs["dimfxl"] = fixed_length + + def set_extline1(self, linetype: Optional[str] = None, disable=False): + """Set attributes of the first extension line. + + Args: + linetype: linetype for the first extension line + disable: disable first extension line if ``True`` + + """ + if linetype is not None: + self.dimstyle_attribs["dimltex1"] = linetype + if disable: + self.dimstyle_attribs["dimse1"] = 1 + + def set_extline2(self, linetype: Optional[str] = None, disable=False): + """Set attributes of the second extension line. + + Args: + linetype: linetype for the second extension line + disable: disable the second extension line if ``True`` + + """ + if linetype is not None: + self.dimstyle_attribs["dimltex2"] = linetype + if disable: + self.dimstyle_attribs["dimse2"] = 1 + + def set_text(self, text: str = "<>") -> None: + """Set dimension text. + + - `text` = " " to suppress dimension text + - `text` = "" or "<>" to use measured distance as dimension text + - otherwise display `text` literally + + """ + self.dimension.dxf.text = text + + def shift_text(self, dh: float, dv: float) -> None: + """Set relative text movement, implemented as user location override + without leader. + + Args: + dh: shift text in text direction + dv: shift text perpendicular to text direction + + """ + self.dimstyle_attribs["text_shift_h"] = dh + self.dimstyle_attribs["text_shift_v"] = dv + + def set_location(self, location: UVec, leader=False, relative=False) -> None: + """Set text location by user, special version for linear dimensions, + behaves for other dimension types like :meth:`user_location_override`. + + Args: + location: user defined text location + leader: create leader from text to dimension line + relative: `location` is relative to default location. + + """ + self.user_location_override(location) + linear = self.dimension.dimtype < 2 + curved = self.dimension.dimtype in (2, 5, 8) + if linear or curved: + self.dimstyle_attribs["dimtmove"] = 1 if leader else 2 + self.dimstyle_attribs["relative_user_location"] = relative + + def user_location_override(self, location: UVec) -> None: + """Set text location by user, `location` is relative to the origin of + the UCS defined in the :meth:`render` method or WCS if the `ucs` + argument is ``None``. + + """ + self.dimension.set_flag_state( + self.dimension.USER_LOCATION_OVERRIDE, state=True, name="dimtype" + ) + self.dimstyle_attribs["user_location"] = Vec3(location) + + def get_renderer(self, ucs: Optional[UCS] = None): + """Get designated DIMENSION renderer. (internal API)""" + return self.doc.dimension_renderer.dispatch(self, ucs) + + def render(self, ucs: Optional[UCS] = None, discard=False) -> BaseDimensionRenderer: + """Starts the dimension line rendering process and also writes overridden + dimension style attributes into the DSTYLE XDATA section. The rendering process + "draws" the graphical representation of the DIMENSION entity as DXF primitives + (TEXT, LINE, ARC, ...) into an anonymous content BLOCK. + + You can discard the content BLOCK for a friendly CAD applications like BricsCAD, + because the rendering of the dimension entity is done automatically by BricsCAD + if the content BLOCK is missing, and the result is in most cases better than the + rendering done by `ezdxf`. + + AutoCAD does not render DIMENSION entities automatically, therefore I see + AutoCAD as an unfriendly CAD application. + + Args: + ucs: user coordinate system + discard: discard the content BLOCK created by `ezdxf`, this works for + BricsCAD, AutoCAD refuses to open DXF files containing DIMENSION + entities without a content BLOCK + + Returns: + The rendering object of the DIMENSION entity for analytics + + """ + + renderer = self.get_renderer(ucs) + if discard: + self.doc.add_acad_incompatibility_message( + "DIMENSION entity without geometry BLOCK (discard=True)" + ) + else: + block = self.doc.blocks.new_anonymous_block(type_char="D") + self.dimension.dxf.geometry = block.name + renderer.render(block) + renderer.finalize() + if len(self.dimstyle_attribs): + self.commit() + return renderer diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/entities/dxfclass.py b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/entities/dxfclass.py new file mode 100644 index 0000000000000000000000000000000000000000..89249a368f16689255ef4421168fa8fe40eaf783 --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/entities/dxfclass.py @@ -0,0 +1,123 @@ +# Copyright (c) 2019-2022 Manfred Moitzi +# License: MIT License +from __future__ import annotations +from typing import TYPE_CHECKING, Optional +from .dxfns import SubclassProcessor, DXFNamespace +from .dxfentity import DXFEntity +from ezdxf.lldxf.attributes import ( + DXFAttr, + DXFAttributes, + DefSubclass, + group_code_mapping, +) +from ezdxf.lldxf.const import DXF2004, DXF2000 +from .factory import register_entity + +if TYPE_CHECKING: + from ezdxf.document import Drawing + from ezdxf.lldxf.tagwriter import AbstractTagWriter + from ezdxf.lldxf.extendedtags import ExtendedTags + +__all__ = ["DXFClass"] + +class_def = DefSubclass( + None, + { + # Class DXF record name; always unique + "name": DXFAttr(1), + # C++ class name. Used to bind with software that defines object class + # behavior; always unique + "cpp_class_name": DXFAttr(2), + # Application name. Posted in Alert box when a class definition listed in + # this section is not currently loaded + "app_name": DXFAttr(3), + # Proxy capabilities flag. Bit-coded value that indicates the capabilities + # of this object as a proxy: + # 0 = No operations allowed (0) + # 1 = Erase allowed (0x1) + # 2 = Transform allowed (0x2) + # 4 = Color change allowed (0x4) + # 8 = Layer change allowed (0x8) + # 16 = Linetype change allowed (0x10) + # 32 = Linetype scale change allowed (0x20) + # 64 = Visibility change allowed (0x40) + # 128 = Cloning allowed (0x80) + # 256 = Lineweight change allowed (0x100) + # 512 = Plot Style Name change allowed (0x200) + # 895 = All operations except cloning allowed (0x37F) + # 1023 = All operations allowed (0x3FF) + # 1024 = Disables proxy warning dialog (0x400) + # 32768 = R13 format proxy (0x8000) + "flags": DXFAttr(90, default=0), + # Instance count for a custom class + "instance_count": DXFAttr(91, dxfversion=DXF2004, default=0), + # Was-a-proxy flag. Set to 1 if class was not loaded when this DXF file was + # created, and 0 otherwise + "was_a_proxy": DXFAttr(280, default=0), + # Is-an-entity flag. Set to 1 if class was derived from the AcDbEntity class + # and can reside in the BLOCKS or ENTITIES section. If 0, instances may + # appear only in the OBJECTS section + "is_an_entity": DXFAttr(281, default=0), + }, +) +class_def_group_codes = group_code_mapping(class_def) + + +@register_entity +class DXFClass(DXFEntity): + DXFTYPE = "CLASS" + DXFATTRIBS = DXFAttributes(class_def) + MIN_DXF_VERSION_FOR_EXPORT = DXF2000 + + @classmethod + def new( + cls, + handle: Optional[str] = None, + owner: Optional[str] = None, + dxfattribs=None, + doc: Optional[Drawing] = None, + ) -> DXFClass: + """New CLASS constructor - has no handle, no owner and do not need + document reference . + """ + dxf_class = cls() + dxf_class.doc = doc + dxfattribs = dxfattribs or {} + dxf_class.update_dxf_attribs(dxfattribs) + return dxf_class + + def load_tags( + self, tags: ExtendedTags, dxfversion: Optional[str] = None + ) -> None: + """Called by load constructor. CLASS is special.""" + if tags: + # do not process base class!!! + self.dxf = DXFNamespace(entity=self) + processor = SubclassProcessor(tags) + processor.fast_load_dxfattribs( + self.dxf, class_def_group_codes, 0, log=False + ) + + def export_dxf(self, tagwriter: AbstractTagWriter): + """Do complete export here, because CLASS is special.""" + dxfversion = tagwriter.dxfversion + if dxfversion < DXF2000: + return + attribs = self.dxf + tagwriter.write_tag2(0, self.DXFTYPE) + attribs.export_dxf_attribs( + tagwriter, + [ + "name", + "cpp_class_name", + "app_name", + "flags", + "instance_count", + "was_a_proxy", + "is_an_entity", + ], + ) + + @property + def key(self) -> tuple[str, str]: + return self.dxf.name, self.dxf.cpp_class_name diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/entities/dxfentity.py b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/entities/dxfentity.py new file mode 100644 index 0000000000000000000000000000000000000000..abd83cadc213f7ecc8045b3b3a07fccfb71b1882 --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/entities/dxfentity.py @@ -0,0 +1,1088 @@ +# Copyright (c) 2019-2024 Manfred Moitzi +# License: MIT License +""" :class:`DXFEntity` is the super class of all DXF entities. + +The current entity system uses the features of the latest supported DXF version. + +The stored DXF version of the document is used to warn users if they use +unsupported DXF features of the current DXF version. + +The DXF version of the document can be changed at runtime or overridden by +exporting, but unsupported DXF features are just ignored by exporting. + +Ezdxf does no conversion between different DXF versions, this package is +still not a CAD application. + +""" +from __future__ import annotations +from typing import ( + TYPE_CHECKING, + Any, + Iterable, + Iterator, + Optional, + Type, + TypeVar, + Callable, +) +from typing_extensions import Self + +import logging +import uuid +from ezdxf import options +from ezdxf.lldxf import const +from ezdxf.lldxf.tags import Tags +from ezdxf.lldxf.types import DXFTag +from ezdxf.lldxf.extendedtags import ExtendedTags +from ezdxf.lldxf.attributes import DXFAttr, DXFAttributes, DefSubclass +from ezdxf.tools import set_flag_state +from . import factory +from .appdata import AppData, Reactors +from .dxfns import DXFNamespace, SubclassProcessor +from .xdata import XData +from .xdict import ExtensionDict +from .copy import default_copy, CopyNotSupported + +if TYPE_CHECKING: + from ezdxf.audit import Auditor + from ezdxf.document import Drawing + from ezdxf.entities import DXFGraphic, Insert + from ezdxf.lldxf.attributes import DXFAttr + from ezdxf.lldxf.tagwriter import AbstractTagWriter + from ezdxf.math import Matrix44 + from ezdxf import xref + + +__all__ = ["DXFEntity", "DXFTagStorage", "base_class", "SubclassProcessor"] +logger = logging.getLogger("ezdxf") + +# Dynamic attributes created only at request: +# Source entity of a copy or None if not a copy: +DYN_SOURCE_OF_COPY_ATTRIBUTE = "_source_of_copy" +# UUID created on demand by uuid.uuid4() +DYN_UUID_ATTRIBUTE = "_uuid" +# Source block reference, which created the virtual entity, bound entities can +# not have such an attribute: +DYN_SOURCE_BLOCK_REFERENCE_ATTRIBUTE = "_source_block_reference" + +base_class: DefSubclass = DefSubclass( + None, + { + "handle": DXFAttr(5), + # owner: Soft-pointer ID/handle to owner BLOCK_RECORD object + # This tag is not supported by DXF R12, but is used intern to unify entity + # handling between DXF R12 and DXF R2000+ + # Do not write this tag into DXF R12 files! + "owner": DXFAttr(330), + # Application defined data can only appear here: + # 102, {APPID ... multiple entries possible DXF R12? + # 102, {ACAD_REACTORS ... one entry DXF R2000+, optional + # 102, {ACAD_XDICTIONARY ... one entry DXF R2000+, optional + }, +) + +T = TypeVar("T", bound="DXFEntity") + + +class DXFEntity: + """Common super class for all DXF entities.""" + + DXFTYPE = "DXFENTITY" # storing as class var needs less memory + DXFATTRIBS = DXFAttributes(base_class) # DXF attribute definitions + + # Default DXF attributes are set at instantiating a new object, the + # difference to attribute default values is, that this attributes are + # really set, this means there is an real object in the dxf namespace + # defined, where default attribute values get returned on access without + # an existing object in the dxf namespace. + DEFAULT_ATTRIBS: dict[str, Any] = {} + MIN_DXF_VERSION_FOR_EXPORT = const.DXF12 + + def __init__(self) -> None: + """Default constructor. (internal API)""" + # Public attributes for package users + self.doc: Optional[Drawing] = None + self.dxf: DXFNamespace = DXFNamespace(entity=self) + + # None public attributes for package users + # create extended data only if needed: + self.appdata: Optional[AppData] = None + self.reactors: Optional[Reactors] = None + self.extension_dict: Optional[ExtensionDict] = None + self.xdata: Optional[XData] = None + self.proxy_graphic: Optional[bytes] = None + + # For documentation: + # Dynamic attributes, created only at request: + # DYN_SOURCE_OF_COPY_ATTRIBUTE + # DYN_UUID_ATTRIBUTE + # DYN_SOURCE_BLOCK_REFERENCE_ATTRIBUTE + + @property + def uuid(self) -> uuid.UUID: + """Returns a UUID, which allows to distinguish even + virtual entities without a handle. + + Dynamic attribute: this UUID will be created at the first request. + + """ + uuid_ = getattr(self, DYN_UUID_ATTRIBUTE, None) + if uuid_ is None: + uuid_ = uuid.uuid4() + setattr(self, DYN_UUID_ATTRIBUTE, uuid_) + return uuid_ + + @classmethod + def new( + cls: Type[T], + handle: Optional[str] = None, + owner: Optional[str] = None, + dxfattribs=None, + doc: Optional[Drawing] = None, + ) -> T: + """Constructor for building new entities from scratch by ezdxf. + + NEW process: + + This is a trusted environment where everything is under control of + ezdxf respectively the package-user, it is okay to raise exception + to show implementation errors in ezdxf or usage errors of the + package-user. + + The :attr:`Drawing.is_loading` flag can be checked to distinguish the + NEW and the LOAD process. + + Args: + handle: unique DXF entity handle or None + owner: owner handle if entity has an owner else None or '0' + dxfattribs: DXF attributes + doc: DXF document + + (internal API) + """ + entity = cls() + entity.doc = doc + entity.dxf.handle = handle + entity.dxf.owner = owner + attribs = dict(cls.DEFAULT_ATTRIBS) + attribs.update(dxfattribs or {}) + entity.update_dxf_attribs(attribs) + # Only this method triggers the post_new_hook() + entity.post_new_hook() + return entity + + def post_new_hook(self): + """Post-processing and integrity validation after entity creation. + + Called only if created by ezdxf (see :meth:`DXFEntity.new`), + not if loaded from an external source. + + (internal API) + """ + pass + + def post_bind_hook(self): + """Post-processing and integrity validation after binding entity to a + DXF Document. This method is triggered by the :func:`factory.bind` + function only when the entity was created by ezdxf. + + If the entity was loaded in the 1st loading stage, the + :func:`factory.load` functions also calls the :func:`factory.bind` + to bind entities to the loaded document, but not all entities are + loaded at this time. To avoid problems this method will not be called + when loading content from DXF file, but :meth:`post_load_hook` will be + triggered for loaded entities at a later and safer point in time. + + (internal API) + """ + pass + + @classmethod + def load(cls: Type[T], tags: ExtendedTags, doc: Optional[Drawing] = None) -> T: + """Constructor to generate entities loaded from an external source. + + LOAD process: + + This is an untrusted environment where valid structure are not + guaranteed and errors should be fixed, because the package-user is not + responsible for the problems and also can't fix them, raising + exceptions should only be done for unrecoverable issues. + Log fixes for debugging! + + Be more like BricsCAD and not as mean as AutoCAD! + + The :attr:`Drawing.is_loading` flag can be checked to distinguish the + NEW and the LOAD process. + + Args: + tags: DXF tags as :class:`ExtendedTags` + doc: DXF Document + + (internal API) + """ + # This method does not trigger the post_new_hook() + entity = cls() + entity.doc = doc + dxfversion = doc.dxfversion if doc else None + entity.load_tags(tags, dxfversion=dxfversion) + return entity + + def load_tags(self, tags: ExtendedTags, dxfversion: Optional[str] = None) -> None: + """Generic tag loading interface, called if DXF document is loaded + from external sources. + + 1. Loading stage which set the basic DXF attributes, additional + resources (DXF objects) are not loaded yet. References to these + resources have to be stored as handles and can be resolved in the + 2. Loading stage: :meth:`post_load_hook`. + + (internal API) + """ + if tags: + if len(tags.appdata): + self.setup_app_data(tags.appdata) + if len(tags.xdata): + try: # the common case - fast path + self.xdata = XData(tags.xdata) + except const.DXFValueError: # contains invalid group codes + self.xdata = XData.safe_init(tags.xdata) + logger.debug(f"removed invalid XDATA from {tags.entity_name()}") + + processor = SubclassProcessor(tags, dxfversion=dxfversion) + self.dxf = self.load_dxf_attribs(processor) + + def load_dxf_attribs( + self, processor: Optional[SubclassProcessor] = None + ) -> DXFNamespace: + """Load DXF attributes into DXF namespace.""" + return DXFNamespace(processor, self) + + def post_load_hook(self, doc: Drawing) -> Optional[Callable]: + """The 2nd loading stage when loading DXF documents from an external + source, for the 1st loading stage see :meth:`load_tags`. + + This stage is meant to convert resource handles into :class:`DXFEntity` + objects. This is an untrusted environment where valid structure are not + guaranteed, raise exceptions only for unrecoverable structure errors + and fix everything else. Log fixes for debugging! + + Some fixes can not be applied at this stage, because some structures + like the OBJECTS section are not initialized, in this case return a + callable, which will be executed after the DXF document is fully + initialized, for an example see :class:`Image`. + + Triggered in method: :meth:`Drawing._2nd_loading_stage` + + Examples for two stage loading: + Image, Underlay, DXFGroup, Dictionary, Dimstyle, MText + + """ + if self.extension_dict is not None: + self.extension_dict.load_resources(doc) + return None + + @classmethod + def from_text(cls: Type[T], text: str, doc: Optional[Drawing] = None) -> T: + """Load constructor from text for testing. (internal API)""" + return cls.load(ExtendedTags.from_text(text), doc) + + @classmethod + def shallow_copy(cls: Type[T], other: DXFEntity) -> T: + """Copy constructor for type casting e.g. Polyface and Polymesh. + (internal API) + """ + entity = cls() + entity.doc = other.doc + entity.dxf = other.dxf + entity.extension_dict = other.extension_dict + entity.reactors = other.reactors + entity.appdata = other.appdata + entity.xdata = other.xdata + entity.proxy_graphic = other.proxy_graphic + entity.dxf.rewire(entity) + # Do not set copy state, this is not a real copy! + return entity + + def copy(self, copy_strategy=default_copy) -> Self: + """Internal entity copy for usage in the same document or as virtual entity. + + Returns a copy of `self` but without handle, owner and reactors. + This copy is NOT stored in the entity database and does NOT reside + in any layout, block, table or objects section! + The extension dictionary will be copied for entities bound to a valid + DXF document. The reactors are not copied. + + (internal API) + """ + return copy_strategy.copy(self) + + def copy_data(self, entity: Self, copy_strategy=default_copy) -> None: + """Copy entity data like vertices or attribs to the copy of the entity. + + This is the second stage of the copy process, see copy() method. + + (internal API) + """ + pass + + def set_source_of_copy(self, source: Optional[DXFEntity]): + """Set immediate source entity of a copy. + + Also used from outside to set the source of sub-entities + of disassembled entities (POLYLINE, LWPOLYLINE, ...). + + (Internal API) + """ + if isinstance(source, DXFEntity) and not source.is_alive: + source = None + # dynamic attribute: exist only in copies: + setattr(self, DYN_SOURCE_OF_COPY_ATTRIBUTE, source) + + def del_source_of_copy(self) -> None: + """Delete source of copy reference. + + (Internal API) + """ + if hasattr(self, DYN_SOURCE_OF_COPY_ATTRIBUTE): + delattr(self, DYN_SOURCE_OF_COPY_ATTRIBUTE) + + @property + def is_copy(self) -> bool: + """Is ``True`` if the entity is a copy.""" + return self.source_of_copy is not None + + @property + def source_of_copy(self) -> Optional[DXFEntity]: + """The immediate source entity if this entity is a copy else + ``None``. Never references a destroyed entity. + """ + # attribute only exist in copies: + source = getattr(self, DYN_SOURCE_OF_COPY_ATTRIBUTE, None) + if isinstance(source, DXFEntity) and not source.is_alive: + return None + return source + + @property + def origin_of_copy(self) -> Optional[DXFEntity]: + """The origin source entity if this entity is a copy else + ``None``. References the first non-virtual source entity and never + references a destroyed entity. + """ + source = self.source_of_copy + # follow source entities references until the first non-virtual entity: + while isinstance(source, DXFEntity) and source.is_alive and source.is_virtual: + source = source.source_of_copy + return source + + def update_dxf_attribs(self, dxfattribs: dict) -> None: + """Set DXF attributes by a ``dict`` like :code:`{'layer': 'test', + 'color': 4}`. + """ + setter = self.dxf.set + for key, value in dxfattribs.items(): + setter(key, value) + + def setup_app_data(self, appdata: list[Tags]) -> None: + """Setup data structures from APP data. (internal API)""" + for data in appdata: + code, appid = data[0] + if appid == const.ACAD_REACTORS: + self.reactors = Reactors.from_tags(data) + elif appid == const.ACAD_XDICTIONARY: + self.extension_dict = ExtensionDict.from_tags(data) + else: + self.set_app_data(appid, data) + + def update_handle(self, handle: str) -> None: + """Update entity handle. (internal API)""" + self.dxf.handle = handle + if self.extension_dict: + self.extension_dict.update_owner(handle) + + @property + def is_alive(self) -> bool: + """Is ``False`` if entity has been deleted.""" + return hasattr(self, "dxf") + + @property + def is_virtual(self) -> bool: + """Is ``True`` if entity is a virtual entity.""" + return self.doc is None or self.dxf.handle is None + + @property + def is_bound(self) -> bool: + """Is ``True`` if entity is bound to DXF document.""" + if self.is_alive and not self.is_virtual: + return factory.is_bound(self, self.doc) # type: ignore + return False + + @property + def has_source_block_reference(self) -> bool: + """Is ``True`` if this virtual entity was created by a block reference.""" + return hasattr(self, DYN_SOURCE_BLOCK_REFERENCE_ATTRIBUTE) + + @property + def source_block_reference(self) -> Optional[Insert]: + """The source block reference (INSERT) which created + this virtual entity. The property is ``None`` if this entity was not + created by a block reference. + """ + blockref = getattr(self, DYN_SOURCE_BLOCK_REFERENCE_ATTRIBUTE, None) + if blockref is not None and blockref.is_alive: + return blockref + return None + + def set_source_block_reference(self, blockref: Insert) -> None: + """Set the immediate source block reference which created this virtual + entity. + + The source block reference can only be set once by the immediate INSERT + entity and does not change if the entity is passed through multiple + nested INSERT entities. + + (Internal API) + """ + assert self.is_virtual, "instance has to be a virtual entity" + if self.has_source_block_reference: + return + setattr(self, DYN_SOURCE_BLOCK_REFERENCE_ATTRIBUTE, blockref) + + def del_source_block_reference(self) -> None: + """Delete source block reference. + + (Internal API) + """ + if hasattr(self, DYN_SOURCE_BLOCK_REFERENCE_ATTRIBUTE): + delattr(self, DYN_SOURCE_BLOCK_REFERENCE_ATTRIBUTE) + + def get_dxf_attrib(self, key: str, default: Any = None) -> Any: + """Get DXF attribute `key`, returns `default` if key doesn't exist, or + raise :class:`DXFValueError` if `default` is :class:`DXFValueError` + and no DXF default value is defined:: + + layer = entity.get_dxf_attrib("layer") + # same as + layer = entity.dxf.layer + + Raises :class:`DXFAttributeError` if `key` is not an supported DXF + attribute. + + """ + return self.dxf.get(key, default) + + def set_dxf_attrib(self, key: str, value: Any) -> None: + """Set new `value` for DXF attribute `key`:: + + entity.set_dxf_attrib("layer", "MyLayer") + # same as + entity.dxf.layer = "MyLayer" + + Raises :class:`DXFAttributeError` if `key` is not an supported DXF + attribute. + + """ + self.dxf.set(key, value) + + def del_dxf_attrib(self, key: str) -> None: + """Delete DXF attribute `key`, does not raise an error if attribute is + supported but not present. + + Raises :class:`DXFAttributeError` if `key` is not an supported DXF + attribute. + + """ + self.dxf.discard(key) + + def has_dxf_attrib(self, key: str) -> bool: + """Returns ``True`` if DXF attribute `key` really exist. + + Raises :class:`DXFAttributeError` if `key` is not an supported DXF + attribute. + + """ + return self.dxf.hasattr(key) + + dxf_attrib_exists = has_dxf_attrib + + def is_supported_dxf_attrib(self, key: str) -> bool: + """Returns ``True`` if DXF attrib `key` is supported by this entity. + Does not grant that attribute `key` really exist. + + """ + if key in self.DXFATTRIBS: + if self.doc: + return ( + self.doc.dxfversion + >= self.DXFATTRIBS.get(key).dxfversion # type: ignore + ) + else: + return True + else: + return False + + def dxftype(self) -> str: + """Get DXF type as string, like ``LINE`` for the line entity.""" + return self.DXFTYPE + + def __str__(self) -> str: + """Returns a simple string representation.""" + return "{}(#{})".format(self.dxftype(), self.dxf.handle) + + def __repr__(self) -> str: + """Returns a simple string representation including the class.""" + return str(self.__class__) + " " + str(self) + + def dxfattribs(self, drop: Optional[set[str]] = None) -> dict: + """Returns a ``dict`` with all existing DXF attributes and their + values and exclude all DXF attributes listed in set `drop`. + + """ + all_attribs = self.dxf.all_existing_dxf_attribs() + if drop: + return {k: v for k, v in all_attribs.items() if k not in drop} + else: + return all_attribs + + def set_flag_state( + self, flag: int, state: bool = True, name: str = "flags" + ) -> None: + """Set binary coded `flag` of DXF attribute `name` to 1 (on) + if `state` is ``True``, set `flag` to 0 (off) + if `state` is ``False``. + """ + flags = self.dxf.get(name, 0) + self.dxf.set(name, set_flag_state(flags, flag, state=state)) + + def get_flag_state(self, flag: int, name: str = "flags") -> bool: + """Returns ``True`` if any `flag` of DXF attribute is 1 (on), else + ``False``. Always check only one flag state at the time. + """ + return bool(self.dxf.get(name, 0) & flag) + + def remove_dependencies(self, other: Optional[Drawing] = None): + """Remove all dependencies from current document. + + Intended usage is to remove dependencies from the current document to + move or copy the entity to `other` DXF document. + + An error free call of this method does NOT guarantee that this entity + can be moved/copied to the `other` document, some entities like + DIMENSION have too many dependencies to a document to move or copy + them, but to check this is not the domain of this method! + + (internal API) + """ + if self.is_alive: + self.dxf.owner = None + self.dxf.handle = None + self.reactors = None + self.extension_dict = None + self.appdata = None + self.xdata = None + # remove dynamic attributes if exist: + self.del_source_of_copy() + self.del_source_block_reference() + + def destroy(self) -> None: + """Delete all data and references. Does not delete entity from + structures like layouts or groups. + + (internal API) + """ + if not self.is_alive: + return + + if self.extension_dict is not None: + self.extension_dict.destroy() + del self.extension_dict + del self.appdata + del self.reactors + del self.xdata + del self.doc + del self.dxf # check mark for is_alive + # Remove dynamic attributes, which reference other entities: + self.del_source_of_copy() + self.del_source_block_reference() + + def _silent_kill(self): # final - do not override this method! + """Delete entity but not the referenced content! + + DANGER! DON'T USE THIS METHOD! + + (internal API) + """ + if not self.is_alive: + return + del self.extension_dict + del self.appdata + del self.reactors + del self.xdata + del self.doc + del self.dxf # check mark for is_alive + + def notify(self, message_type: int, data: Any = None) -> None: + """Internal messaging system. (internal API)""" + pass + + def preprocess_export(self, tagwriter: AbstractTagWriter) -> bool: + """Pre requirement check and pre-processing for export. + + Returns ``False`` if entity should not be exported at all. + + (internal API) + """ + return True + + def export_dxf(self, tagwriter: AbstractTagWriter) -> None: + """Export DXF entity by `tagwriter`. + + This is the first key method for exporting DXF entities: + + - has to know the group codes for each attribute + - has to add subclass tags in correct order + - has to integrate extended data: ExtensionDict, Reactors, AppData + - has to maintain the correct tag order (because sometimes order matters) + + (internal API) + + """ + if tagwriter.dxfversion < self.MIN_DXF_VERSION_FOR_EXPORT: + return + if not self.preprocess_export(tagwriter): + return + # write handle, AppData, Reactors, ExtensionDict, owner + self.export_base_class(tagwriter) + + # this is the entity specific part + self.export_entity(tagwriter) + + # write xdata at the end of the entity + self.export_xdata(tagwriter) + + def export_base_class(self, tagwriter: AbstractTagWriter) -> None: + """Export base class DXF attributes and structures. (internal API)""" + dxftype = self.DXFTYPE + _handle_code = 105 if dxftype == "DIMSTYLE" else 5 + # 1. tag: (0, DXFTYPE) + tagwriter.write_tag2(const.STRUCTURE_MARKER, dxftype) + + if tagwriter.dxfversion >= const.DXF2000: + tagwriter.write_tag2(_handle_code, self.dxf.handle) + if self.appdata: + self.appdata.export_dxf(tagwriter) + if self.has_extension_dict: + self.extension_dict.export_dxf(tagwriter) # type: ignore + if self.reactors: + self.reactors.export_dxf(tagwriter) + tagwriter.write_tag2(const.OWNER_CODE, self.dxf.get("owner", "0")) + else: # DXF R12 + if tagwriter.write_handles: + tagwriter.write_tag2(_handle_code, self.dxf.handle) + # do not write owner handle - not supported by DXF R12 + + def export_entity(self, tagwriter: AbstractTagWriter) -> None: + """Export DXF entity specific data by `tagwriter`. + + This is the second key method for exporting DXF entities: + + - has to know the group codes for each attribute + - has to add subclass tags in correct order + - has to maintain the correct tag order (because sometimes order matters) + + (internal API) + """ + # base class (handle, appid, reactors, xdict, owner) export is done by parent class + pass + # xdata and embedded objects export is also done by parent + + def export_xdata(self, tagwriter: AbstractTagWriter) -> None: + """Export DXF XDATA by `tagwriter`. (internal API)""" + if self.xdata: + self.xdata.export_dxf(tagwriter) + + def audit(self, auditor: Auditor) -> None: + """Validity check. (internal API)""" + # Important: do not check owner handle! -> DXFGraphic(), DXFObject() + # check app data + # check reactors + # check extension dict + # check XDATA + + @property + def has_extension_dict(self) -> bool: + """Returns ``True`` if entity has an attached + :class:`~ezdxf.entities.xdict.ExtensionDict` instance. + """ + xdict = self.extension_dict + # Don't use None check: bool(xdict) for an empty extension dict is False + if xdict is not None and xdict.is_alive: + return xdict.dictionary.is_alive + return False + + def get_extension_dict(self) -> ExtensionDict: + """Returns the existing :class:`~ezdxf.entities.xdict.ExtensionDict` + instance. + + Raises: + AttributeError: extension dict does not exist + + """ + if self.has_extension_dict: + return self.extension_dict # type: ignore + else: + raise AttributeError("Entity has no extension dictionary.") + + def new_extension_dict(self) -> ExtensionDict: + """Create a new :class:`~ezdxf.entities.xdict.ExtensionDict` instance.""" + assert self.doc is not None + xdict = ExtensionDict.new(self.dxf.handle, self.doc) + self.extension_dict = xdict + return xdict + + def discard_extension_dict(self) -> None: + """Delete :class:`~ezdxf.entities.xdict.ExtensionDict` instance.""" + if isinstance(self.extension_dict, ExtensionDict): + self.extension_dict.destroy() + self.extension_dict = None + + def discard_empty_extension_dict(self) -> None: + """Delete :class:`~ezdxf.entities.xdict.ExtensionDict` instance when empty.""" + if ( + isinstance(self.extension_dict, ExtensionDict) + and len(self.extension_dict) == 0 + ): + self.discard_extension_dict() + + def has_app_data(self, appid: str) -> bool: + """Returns ``True`` if application defined data for `appid` exist.""" + if self.appdata: + return appid in self.appdata + else: + return False + + def get_app_data(self, appid: str) -> Tags: + """Returns application defined data for `appid`. + + Args: + appid: application name as defined in the APPID table. + + Raises: + DXFValueError: no data for `appid` found + + """ + if self.appdata: + return Tags(self.appdata.get(appid)[1:-1]) + else: + raise const.DXFValueError(appid) + + def set_app_data(self, appid: str, tags: Iterable) -> None: + """Set application defined data for `appid` as iterable of tags. + + Args: + appid: application name as defined in the APPID table. + tags: iterable of (code, value) tuples or :class:`~ezdxf.lldxf.types.DXFTag` + + """ + if self.appdata is None: + self.appdata = AppData() + self.appdata.add(appid, tags) + + def discard_app_data(self, appid: str): + """Discard application defined data for `appid`. Does not raise an + exception if no data for `appid` exist. + """ + if self.appdata: + self.appdata.discard(appid) + + def has_xdata(self, appid: str) -> bool: + """Returns ``True`` if extended data for `appid` exist.""" + if self.xdata: + return appid in self.xdata + else: + return False + + def get_xdata(self, appid: str) -> Tags: + """Returns extended data for `appid`. + + Args: + appid: application name as defined in the APPID table. + + Raises: + DXFValueError: no extended data for `appid` found + + """ + if self.xdata: + return Tags(self.xdata.get(appid)[1:]) + else: + raise const.DXFValueError(appid) + + def set_xdata(self, appid: str, tags: Iterable) -> None: + """Set extended data for `appid` as iterable of tags. + + Args: + appid: application name as defined in the APPID table. + tags: iterable of (code, value) tuples or :class:`~ezdxf.lldxf.types.DXFTag` + + """ + if self.xdata is None: + self.xdata = XData() + self.xdata.add(appid, tags) + + def discard_xdata(self, appid: str) -> None: + """Discard extended data for `appid`. Does not raise an exception if + no extended data for `appid` exist. + """ + if self.xdata: + self.xdata.discard(appid) + + def has_xdata_list(self, appid: str, name: str) -> bool: + """Returns ``True`` if a tag list `name` for extended data `appid` + exist. + """ + if self.has_xdata(appid): + return self.xdata.has_xlist(appid, name) # type: ignore + else: + return False + + def get_xdata_list(self, appid: str, name: str) -> Tags: + """Returns tag list `name` for extended data `appid`. + + Args: + appid: application name as defined in the APPID table. + name: extended data list name + + Raises: + DXFValueError: no extended data for `appid` found or no data list `name` not found + + """ + if self.xdata: + return Tags(self.xdata.get_xlist(appid, name)) + else: + raise const.DXFValueError(appid) + + def set_xdata_list(self, appid: str, name: str, tags: Iterable) -> None: + """Set tag list `name` for extended data `appid` as iterable of tags. + + Args: + appid: application name as defined in the APPID table. + name: extended data list name + tags: iterable of (code, value) tuples or :class:`~ezdxf.lldxf.types.DXFTag` + + """ + if self.xdata is None: + self.xdata = XData() + self.xdata.set_xlist(appid, name, tags) + + def discard_xdata_list(self, appid: str, name: str) -> None: + """Discard tag list `name` for extended data `appid`. Does not raise + an exception if no extended data for `appid` or no tag list `name` + exist. + """ + if self.xdata: + self.xdata.discard_xlist(appid, name) + + def replace_xdata_list(self, appid: str, name: str, tags: Iterable) -> None: + """ + Replaces tag list `name` for existing extended data `appid` by `tags`. + Appends new list if tag list `name` do not exist, but raises + :class:`DXFValueError` if extended data `appid` do not exist. + + Args: + appid: application name as defined in the APPID table. + name: extended data list name + tags: iterable of (code, value) tuples or :class:`~ezdxf.lldxf.types.DXFTag` + + Raises: + DXFValueError: no extended data for `appid` found + + """ + assert self.xdata is not None + self.xdata.replace_xlist(appid, name, tags) + + def has_reactors(self) -> bool: + """Returns ``True`` if entity has reactors.""" + return bool(self.reactors) + + def get_reactors(self) -> list[str]: + """Returns associated reactors as list of handles.""" + return self.reactors.get() if self.reactors else [] + + def set_reactors(self, handles: Iterable[str]) -> None: + """Set reactors as list of handles.""" + if self.reactors is None: + self.reactors = Reactors() + self.reactors.set(handles) + + def append_reactor_handle(self, handle: str) -> None: + """Append `handle` to reactors.""" + if self.reactors is None: + self.reactors = Reactors() + self.reactors.add(handle) + + def discard_reactor_handle(self, handle: str) -> None: + """Discard `handle` from reactors. Does not raise an exception if + `handle` does not exist. + """ + if self.reactors: + self.reactors.discard(handle) + + def register_resources(self, registry: xref.Registry) -> None: + """Register required resources to the resource registry.""" + if self.xdata: + for name in self.xdata.data.keys(): + registry.add_appid(name) + if self.appdata: # add hard owned entities + for tags in self.appdata.tags(): + for tag in tags.get_hard_owner_handles(): + registry.add_handle(tag.value) + + def map_resources(self, clone: Self, mapping: xref.ResourceMapper) -> None: + """Translate resources from self to the copied entity.""" + + def map_xdata_resources(): + for index, (code, value) in enumerate(tags): + if code == 1005: # map soft-pointer handles + tags[index] = DXFTag(code, mapping.get_handle(value)) + elif code == 1003: # map layer name + tags[index] = DXFTag(code, mapping.get_layer(value)) + + if clone.xdata: + for tags in clone.xdata.data.values(): + map_xdata_resources() + + if clone.appdata: + for tags in clone.appdata.tags(): + mapping.map_pointers(tags, new_owner_handle=clone.dxf.handle) + + if clone.extension_dict: + assert self.extension_dict is not None + self.extension_dict.dictionary.map_resources( + clone.extension_dict.dictionary, mapping + ) + # reactors are not copied automatically, clone.reactors is always None: + if self.reactors: + # reactors are soft-pointers (group code 330) + mapped_handles = [mapping.get_handle(h) for h in self.reactors.reactors] + mapped_handles = [h for h in mapped_handles if h != "0"] + if mapped_handles: + clone.set_reactors(mapped_handles) + + +@factory.set_default_class +class DXFTagStorage(DXFEntity): + """Just store all the tags as they are. (internal class)""" + + def __init__(self) -> None: + """Default constructor""" + super().__init__() + self.xtags = ExtendedTags() + self.embedded_objects: Optional[list[Tags]] = None + + def copy(self, copy_strategy=default_copy) -> Self: + raise CopyNotSupported( + f"Copying of tag storage {self.dxftype()} not supported." + ) + + def transform(self, m: Matrix44) -> Self: + raise NotImplementedError("cannot transform DXF tag storage") + + @property + def base_class(self): + return self.xtags.subclasses[0] + + @property + def is_graphic_entity(self) -> bool: + """Returns ``True`` if the entity has a graphical representations and + can reside in the model space, a paper space or a block layout, + otherwise the entity is a table or class entry or a DXF object from the + OBJECTS section. + """ + return self.xtags.has_subclass("AcDbEntity") + + def graphic_properties(self) -> dict[str, Any]: + """Returns the graphical properties like layer, color, linetype, ... as + `dxfattribs` dict if the :class:`TagStorage` object represents a graphical + entity otherwise returns an empty dictionary. + + These are all the DXF attributes which are stored in the ``AcDbEntity`` + subclass. + + """ + from ezdxf.entities.dxfgfx import acdb_entity_group_codes + + attribs: dict[str, Any] = dict() + try: + tags = self.xtags.get_subclass("AcDbEntity") + except const.DXFKeyError: + return attribs + + for code, value in tags: + attrib_name = acdb_entity_group_codes.get(code) + if isinstance(attrib_name, str): + attribs[attrib_name] = value + return attribs + + @classmethod + def load(cls, tags: ExtendedTags, doc: Optional[Drawing] = None) -> DXFTagStorage: + assert isinstance(tags, ExtendedTags) + entity = cls.new(doc=doc) + dxfversion = doc.dxfversion if doc else None + entity.load_tags(tags, dxfversion=dxfversion) + entity.store_tags(tags) + entity.store_embedded_objects(tags) + if options.load_proxy_graphics: + entity.load_proxy_graphic() + return entity + + def load_proxy_graphic(self) -> None: + try: + tags = self.xtags.get_subclass("AcDbEntity") + except const.DXFKeyError: + return + binary_data = [tag.value for tag in tags.find_all(310)] + if len(binary_data): + self.proxy_graphic = b"".join(binary_data) + + def store_tags(self, tags: ExtendedTags) -> None: + # store DXFTYPE, overrides class member + # 1. tag of 1. subclass is the structure tag (0, DXFTYPE) + self.xtags = tags + self.DXFTYPE = self.base_class[0].value + try: + acdb_entity = tags.get_subclass("AcDbEntity") + self.dxf.__dict__["paperspace"] = acdb_entity.get_first_value(67, 0) + except const.DXFKeyError: + # just fake it + self.dxf.__dict__["paperspace"] = 0 + + def store_embedded_objects(self, tags: ExtendedTags) -> None: + self.embedded_objects = tags.embedded_objects + + def export_entity(self, tagwriter: AbstractTagWriter) -> None: + """Write subclass tags as they are.""" + for subclass in self.xtags.subclasses[1:]: + tagwriter.write_tags(subclass) + + if self.embedded_objects: + for tags in self.embedded_objects: + tagwriter.write_tags(tags) + + def destroy(self) -> None: + if not self.is_alive: + return + + del self.xtags + super().destroy() + + def __virtual_entities__(self) -> Iterator[DXFGraphic]: + """Implements the SupportsVirtualEntities protocol.""" + from ezdxf.proxygraphic import ProxyGraphic + + if self.proxy_graphic: + for e in ProxyGraphic(self.proxy_graphic, self.doc).virtual_entities(): + e.set_source_of_copy(self) + yield e + + def virtual_entities(self) -> Iterator[DXFGraphic]: + """Yields proxy graphic as "virtual" entities.""" + return self.__virtual_entities__() diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/entities/dxfgfx.py b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/entities/dxfgfx.py new file mode 100644 index 0000000000000000000000000000000000000000..bba8878b173f6a921c6e60f911bce84f58349763 --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/entities/dxfgfx.py @@ -0,0 +1,728 @@ +# Copyright (c) 2019-2024 Manfred Moitzi +# License: MIT License +from __future__ import annotations +from typing import TYPE_CHECKING, Optional, Iterable, Any +from typing_extensions import Self, TypeGuard + +from ezdxf.entities import factory +from ezdxf import options +from ezdxf.lldxf import validator +from ezdxf.lldxf.attributes import ( + DXFAttr, + DXFAttributes, + DefSubclass, + RETURN_DEFAULT, + group_code_mapping, +) +from ezdxf import colors as clr +from ezdxf.lldxf import const +from ezdxf.lldxf.const import ( + DXF12, + DXF2000, + DXF2004, + DXF2007, + DXF2013, + SUBCLASS_MARKER, + TRANSPARENCY_BYBLOCK, +) +from ezdxf.math import OCS, Matrix44, UVec +from ezdxf.proxygraphic import load_proxy_graphic, export_proxy_graphic +from .dxfentity import DXFEntity, base_class, SubclassProcessor, DXFTagStorage + +if TYPE_CHECKING: + from ezdxf.audit import Auditor + from ezdxf.document import Drawing + from ezdxf.entities import DXFNamespace + from ezdxf.layouts import BaseLayout + from ezdxf.lldxf.tagwriter import AbstractTagWriter + from ezdxf import xref + +__all__ = [ + "DXFGraphic", + "acdb_entity", + "acdb_entity_group_codes", + "SeqEnd", + "add_entity", + "replace_entity", + "elevation_to_z_axis", + "is_graphic_entity", + "get_font_name", +] + +GRAPHIC_PROPERTIES = { + "layer", + "linetype", + "color", + "lineweight", + "ltscale", + "true_color", + "color_name", + "transparency", +} + +acdb_entity: DefSubclass = DefSubclass( + "AcDbEntity", + { + # Layer name as string, no auto fix for invalid names! + "layer": DXFAttr(8, default="0", validator=validator.is_valid_layer_name), + # Linetype name as string, no auto fix for invalid names! + "linetype": DXFAttr( + 6, + default="BYLAYER", + optional=True, + validator=validator.is_valid_table_name, + ), + # ACI color index, BYBLOCK=0, BYLAYER=256, BYOBJECT=257: + "color": DXFAttr( + 62, + default=256, + optional=True, + validator=validator.is_valid_aci_color, + fixer=RETURN_DEFAULT, + ), + # modelspace=0, paperspace=1 + "paperspace": DXFAttr( + 67, + default=0, + optional=True, + validator=validator.is_integer_bool, + fixer=RETURN_DEFAULT, + ), + # Lineweight in mm times 100 (e.g. 0.13mm = 13). Smallest line weight is 13 + # and biggest line weight is 200, values outside this range prevents AutoCAD + # from loading the file. + # Special values: BYLAYER=-1, BYBLOCK=-2, DEFAULT=-3 + "lineweight": DXFAttr( + 370, + default=-1, + dxfversion=DXF2000, + optional=True, + validator=validator.is_valid_lineweight, + fixer=validator.fix_lineweight, + ), + "ltscale": DXFAttr( + 48, + default=1.0, + dxfversion=DXF2000, + optional=True, + validator=validator.is_positive, + fixer=RETURN_DEFAULT, + ), + # visible=0, invisible=1 + "invisible": DXFAttr(60, default=0, dxfversion=DXF2000, optional=True), + # True color as 0x00RRGGBB 24-bit value + # True color always overrides ACI "color"! + "true_color": DXFAttr(420, dxfversion=DXF2004, optional=True), + # Color name as string. Color books are stored in .stb config files? + "color_name": DXFAttr(430, dxfversion=DXF2004, optional=True), + # Transparency value 0x020000TT 0 = fully transparent / 255 = opaque + # Special value 0x01000000 == ByBlock + # unset value means ByLayer + "transparency": DXFAttr( + 440, + dxfversion=DXF2004, + optional=True, + validator=validator.is_transparency, + ), + # Shadow mode: + # 0 = Casts and receives shadows + # 1 = Casts shadows + # 2 = Receives shadows + # 3 = Ignores shadows + "shadow_mode": DXFAttr(284, dxfversion=DXF2007, optional=True), + "material_handle": DXFAttr(347, dxfversion=DXF2007, optional=True), + "visualstyle_handle": DXFAttr(348, dxfversion=DXF2007, optional=True), + # PlotStyleName type enum (AcDb::PlotStyleNameType). Stored and moved around + # as a 16-bit integer. Custom non-entity + "plotstyle_enum": DXFAttr(380, dxfversion=DXF2007, default=1, optional=True), + # Handle value of the PlotStyleName object, basically a hard pointer, but + # has a different range to make backward compatibility easier to deal with. + "plotstyle_handle": DXFAttr(390, dxfversion=DXF2007, optional=True), + # 92 or 160?: Number of bytes in the proxy entity graphics represented in + # the subsequent 310 groups, which are binary chunk records (optional) + # 310: Proxy entity graphics data (multiple lines; 256 characters max. per + # line) (optional), compiled by TagCompiler() to a DXFBinaryTag() objects + }, +) +acdb_entity_group_codes = group_code_mapping(acdb_entity) + + +def elevation_to_z_axis(dxf: DXFNamespace, names: Iterable[str]): + # The elevation group code (38) is only used for DXF R11 and prior and + # ignored for DXF R2000 and later. + # DXF R12 and later store the entity elevation in the z-axis of the + # vertices, but AutoCAD supports elevation for R12 if no z-axis is present. + # DXF types with legacy elevation support: + # SOLID, TRACE, TEXT, CIRCLE, ARC, TEXT, ATTRIB, ATTDEF, INSERT, SHAPE + + # The elevation is only used for DXF R12 if no z-axis is stored in the DXF + # file. This is a problem because ezdxf loads the vertices always as 3D + # vertex including a z-axis even if no z-axis is present in DXF file. + if dxf.hasattr("elevation"): + elevation = dxf.elevation + # ezdxf does not export the elevation attribute for any DXF version + dxf.discard("elevation") + if elevation == 0: + return + + for name in names: + v = dxf.get(name) + # Only use elevation value if z-axis is 0, this will not work for + # situations where an elevation and a z-axis=0 is present, but let's + # assume if the elevation group code is used the z-axis is not + # present if z-axis is 0. + if v is not None and v.z == 0: + dxf.set(name, v.replace(z=elevation)) + + +class DXFGraphic(DXFEntity): + """Common base class for all graphic entities, a subclass of + :class:`~ezdxf.entities.dxfentity.DXFEntity`. These entities resides in + entity spaces like modelspace, paperspace or block. + """ + + DXFTYPE = "DXFGFX" + DEFAULT_ATTRIBS: dict[str, Any] = {"layer": "0"} + DXFATTRIBS = DXFAttributes(base_class, acdb_entity) + + def load_dxf_attribs( + self, processor: Optional[SubclassProcessor] = None + ) -> DXFNamespace: + """Adds subclass processing for 'AcDbEntity', requires previous base + class processing by parent class. + + (internal API) + """ + # subclasses using simple_dxfattribs_loader() bypass this method!!! + dxf = super().load_dxf_attribs(processor) + if processor is None: + return dxf + r12 = processor.r12 + # It is valid to mix up the base class with AcDbEntity class. + processor.append_base_class_to_acdb_entity() + + # Load proxy graphic data if requested + if options.load_proxy_graphics: + # length tag has group code 92 until DXF R2010 + if processor.dxfversion and processor.dxfversion < DXF2013: + code = 92 + else: + code = 160 + self.proxy_graphic = load_proxy_graphic( + processor.subclasses[0 if r12 else 1], + length_code=code, + ) + processor.fast_load_dxfattribs(dxf, acdb_entity_group_codes, 1) + return dxf + + def post_new_hook(self) -> None: + """Post-processing and integrity validation after entity creation. + + (internal API) + """ + if self.doc: + if self.dxf.linetype not in self.doc.linetypes: + raise const.DXFInvalidLineType( + f'Linetype "{self.dxf.linetype}" not defined.' + ) + + @property + def rgb(self) -> tuple[int, int, int] | None: + """Returns RGB true color as (r, g, b) tuple or None if true_color is not set.""" + if self.dxf.hasattr("true_color"): + return clr.int2rgb(self.dxf.get("true_color")) + return None + + @rgb.setter + def rgb(self, rgb: clr.RGB | tuple[int, int, int]) -> None: + """Set RGB true color as (r, g , b) tuple e.g. (12, 34, 56). + + Raises: + TypeError: input value `rgb` has invalid type + """ + self.dxf.set("true_color", clr.rgb2int(rgb)) + + @rgb.deleter + def rgb(self) -> None: + """Delete RGB true color value.""" + self.dxf.discard("true_color") + + @property + def transparency(self) -> float: + """Get transparency as float value between 0 and 1, 0 is opaque and 1 + is 100% transparent (invisible). Transparency by block returns always 0. + """ + if self.dxf.hasattr("transparency"): + value = self.dxf.get("transparency") + if validator.is_transparency(value): + if value & TRANSPARENCY_BYBLOCK: # just check flag state + return 0.0 + return clr.transparency2float(value) + return 0.0 + + @transparency.setter + def transparency(self, transparency: float) -> None: + """Set transparency as float value between 0 and 1, 0 is opaque and 1 + is 100% transparent (invisible). + """ + self.dxf.set("transparency", clr.float2transparency(transparency)) + + @property + def is_transparency_by_layer(self) -> bool: + """Returns ``True`` if entity inherits transparency from layer.""" + return not self.dxf.hasattr("transparency") + + @property + def is_transparency_by_block(self) -> bool: + """Returns ``True`` if entity inherits transparency from block.""" + return self.dxf.get("transparency", 0) == TRANSPARENCY_BYBLOCK + + def graphic_properties(self) -> dict: + """Returns the important common properties layer, color, linetype, + lineweight, ltscale, true_color and color_name as `dxfattribs` dict. + """ + attribs = dict() + for key in GRAPHIC_PROPERTIES: + if self.dxf.hasattr(key): + attribs[key] = self.dxf.get(key) + return attribs + + def ocs(self) -> OCS: + """Returns object coordinate system (:ref:`ocs`) for 2D entities like + :class:`Text` or :class:`Circle`, returns a pass-through OCS for + entities without OCS support. + """ + # extrusion is only defined for 2D entities like Text, Circle, ... + if self.dxf.is_supported("extrusion"): + extrusion = self.dxf.get("extrusion", default=(0, 0, 1)) + return OCS(extrusion) + else: + return OCS() + + def set_owner(self, owner: Optional[str], paperspace: int = 0) -> None: + """Set owner attribute and paperspace flag. (internal API)""" + self.dxf.owner = owner + if paperspace: + self.dxf.paperspace = paperspace + else: + self.dxf.discard("paperspace") + + def link_entity(self, entity: DXFEntity) -> None: + """Store linked or attached entities. Same API for both types of + appended data, because entities with linked entities (POLYLINE, INSERT) + have no attached entities and vice versa. + + (internal API) + """ + pass + + def export_entity(self, tagwriter: AbstractTagWriter) -> None: + """Export entity specific data as DXF tags. (internal API)""" + # Base class export is done by parent class. + self.export_acdb_entity(tagwriter) + # XDATA and embedded objects export is also done by the parent class. + + def export_acdb_entity(self, tagwriter: AbstractTagWriter) -> None: + """Export subclass 'AcDbEntity' as DXF tags. (internal API)""" + # Full control over tag order and YES, sometimes order matters + not_r12 = tagwriter.dxfversion > DXF12 + if not_r12: + tagwriter.write_tag2(SUBCLASS_MARKER, acdb_entity.name) + + self.dxf.export_dxf_attribs( + tagwriter, + [ + "paperspace", + "layer", + "linetype", + "material_handle", + "color", + "lineweight", + "ltscale", + "invisible", + "true_color", + "color_name", + "transparency", + "plotstyle_enum", + "plotstyle_handle", + "shadow_mode", + "visualstyle_handle", + ], + ) + + if self.proxy_graphic and not_r12 and options.store_proxy_graphics: + # length tag has group code 92 until DXF R2010 + export_proxy_graphic( + self.proxy_graphic, + tagwriter=tagwriter, + length_code=(92 if tagwriter.dxfversion < DXF2013 else 160), + ) + + def get_layout(self) -> Optional[BaseLayout]: + """Returns the owner layout or returns ``None`` if entity is not + assigned to any layout. + """ + if self.dxf.owner is None or self.doc is None: # unlinked entity + return None + try: + return self.doc.layouts.get_layout_by_key(self.dxf.owner) + except const.DXFKeyError: + pass + try: + return self.doc.blocks.get_block_layout_by_handle(self.dxf.owner) + except const.DXFTableEntryError: + return None + + def unlink_from_layout(self) -> None: + """ + Unlink entity from associated layout. Does nothing if entity is already + unlinked. + + It is more efficient to call the + :meth:`~ezdxf.layouts.BaseLayout.unlink_entity` method of the associated + layout, especially if you have to unlink more than one entity. + """ + if not self.is_alive: + raise TypeError("Can not unlink destroyed entity.") + + if self.doc is None: + # no doc -> no layout + self.dxf.owner = None + return + + layout = self.get_layout() + if layout: + layout.unlink_entity(self) + + def move_to_layout( + self, layout: BaseLayout, source: Optional[BaseLayout] = None + ) -> None: + """ + Move entity from model space or a paper space layout to another layout. + For block layout as source, the block layout has to be specified. Moving + between different DXF drawings is not supported. + + Args: + layout: any layout (model space, paper space, block) + source: provide source layout, faster for DXF R12, if entity is + in a block layout + + Raises: + DXFStructureError: for moving between different DXF drawings + """ + if source is None: + source = self.get_layout() + if source is None: + raise const.DXFValueError("Source layout for entity not found.") + source.move_to_layout(self, layout) + + def copy_to_layout(self, layout: BaseLayout) -> Self: + """ + Copy entity to another `layout`, returns new created entity as + :class:`DXFEntity` object. Copying between different DXF drawings is + not supported. + + Args: + layout: any layout (model space, paper space, block) + + Raises: + DXFStructureError: for copying between different DXF drawings + """ + if self.doc != layout.doc: + raise const.DXFStructureError( + "Copying between different DXF drawings is not supported." + ) + + new_entity = self.copy() + layout.add_entity(new_entity) + return new_entity + + def audit(self, auditor: Auditor) -> None: + """Audit and repair graphical DXF entities. + + .. important:: + + Do not delete entities while auditing process, because this + would alter the entity database while iterating, instead use:: + + auditor.trash(entity) + + to delete invalid entities after auditing automatically. + """ + assert self.doc is auditor.doc, "Auditor for different DXF document." + if not self.is_alive: + return + + super().audit(auditor) + auditor.check_owner_exist(self) + dxf = self.dxf + if dxf.hasattr("layer"): + auditor.check_for_valid_layer_name(self) + if dxf.hasattr("linetype"): + auditor.check_entity_linetype(self) + if dxf.hasattr("color"): + auditor.check_entity_color_index(self) + if dxf.hasattr("lineweight"): + auditor.check_entity_lineweight(self) + if dxf.hasattr("extrusion"): + auditor.check_extrusion_vector(self) + if dxf.hasattr("transparency"): + auditor.check_transparency(self) + + def transform(self, m: Matrix44) -> Self: + """Inplace transformation interface, returns `self` (floating interface). + + Args: + m: 4x4 transformation matrix (:class:`ezdxf.math.Matrix44`) + """ + raise NotImplementedError() + + def post_transform(self, m: Matrix44) -> None: + """Should be called if the main entity transformation was successful.""" + if self.xdata is not None: + self.xdata.transform(m) + + @property + def is_post_transform_required(self) -> bool: + """Check if post transform call is required.""" + return self.xdata is not None + + def translate(self, dx: float, dy: float, dz: float) -> Self: + """Translate entity inplace about `dx` in x-axis, `dy` in y-axis and + `dz` in z-axis, returns `self` (floating interface). + + Basic implementation uses the :meth:`transform` interface, subclasses + may have faster implementations. + """ + return self.transform(Matrix44.translate(dx, dy, dz)) + + def scale(self, sx: float, sy: float, sz: float) -> Self: + """Scale entity inplace about `dx` in x-axis, `dy` in y-axis and `dz` + in z-axis, returns `self` (floating interface). + """ + return self.transform(Matrix44.scale(sx, sy, sz)) + + def scale_uniform(self, s: float) -> Self: + """Scale entity inplace uniform about `s` in x-axis, y-axis and z-axis, + returns `self` (floating interface). + """ + return self.transform(Matrix44.scale(s)) + + def rotate_axis(self, axis: UVec, angle: float) -> Self: + """Rotate entity inplace about vector `axis`, returns `self` + (floating interface). + + Args: + axis: rotation axis as tuple or :class:`Vec3` + angle: rotation angle in radians + """ + return self.transform(Matrix44.axis_rotate(axis, angle)) + + def rotate_x(self, angle: float) -> Self: + """Rotate entity inplace about x-axis, returns `self` + (floating interface). + + Args: + angle: rotation angle in radians + """ + return self.transform(Matrix44.x_rotate(angle)) + + def rotate_y(self, angle: float) -> Self: + """Rotate entity inplace about y-axis, returns `self` + (floating interface). + + Args: + angle: rotation angle in radians + """ + return self.transform(Matrix44.y_rotate(angle)) + + def rotate_z(self, angle: float) -> Self: + """Rotate entity inplace about z-axis, returns `self` + (floating interface). + + Args: + angle: rotation angle in radians + """ + return self.transform(Matrix44.z_rotate(angle)) + + def has_hyperlink(self) -> bool: + """Returns ``True`` if entity has an attached hyperlink.""" + return bool(self.xdata) and ("PE_URL" in self.xdata) # type: ignore + + def set_hyperlink( + self, + link: str, + description: Optional[str] = None, + location: Optional[str] = None, + ): + """Set hyperlink of an entity.""" + xdata = [(1001, "PE_URL"), (1000, str(link))] + if description: + xdata.append((1002, "{")) + xdata.append((1000, str(description))) + if location: + xdata.append((1000, str(location))) + xdata.append((1002, "}")) + + self.discard_xdata("PE_URL") + self.set_xdata("PE_URL", xdata) + if self.doc and "PE_URL" not in self.doc.appids: + self.doc.appids.new("PE_URL") + return self + + def get_hyperlink(self) -> tuple[str, str, str]: + """Returns hyperlink, description and location.""" + link = "" + description = "" + location = "" + if self.xdata and "PE_URL" in self.xdata: + xdata = [tag.value for tag in self.get_xdata("PE_URL") if tag.code == 1000] + if len(xdata): + link = xdata[0] + if len(xdata) > 1: + description = xdata[1] + if len(xdata) > 2: + location = xdata[2] + return link, description, location + + def remove_dependencies(self, other: Optional[Drawing] = None) -> None: + """Remove all dependencies from current document. + + (internal API) + """ + if not self.is_alive: + return + + super().remove_dependencies(other) + # The layer attribute is preserved because layer doesn't need a layer + # table entry, the layer attributes are reset to default attributes + # like color is 7 and linetype is CONTINUOUS + has_linetype = other is not None and (self.dxf.linetype in other.linetypes) + if not has_linetype: + self.dxf.linetype = "BYLAYER" + self.dxf.discard("material_handle") + self.dxf.discard("visualstyle_handle") + self.dxf.discard("plotstyle_enum") + self.dxf.discard("plotstyle_handle") + + def _new_compound_entity(self, type_: str, dxfattribs) -> Self: + """Create and bind new entity with same layout settings as `self`. + + Used by INSERT & POLYLINE to create appended DXF entities, don't use it + to create new standalone entities. + + (internal API) + """ + dxfattribs = dxfattribs or {} + + # if layer is not deliberately set, set same layer as creator entity, + # at least VERTEX should have the same layer as the POLYGON entity. + # Don't know if that is also important for the ATTRIB & INSERT entity. + if "layer" not in dxfattribs: + dxfattribs["layer"] = self.dxf.layer + if self.doc: + entity = factory.create_db_entry(type_, dxfattribs, self.doc) + else: + entity = factory.new(type_, dxfattribs) + entity.dxf.owner = self.dxf.owner + entity.dxf.paperspace = self.dxf.paperspace + return entity # type: ignore + + def register_resources(self, registry: xref.Registry) -> None: + """Register required resources to the resource registry.""" + super().register_resources(registry) + dxf = self.dxf + registry.add_layer(dxf.layer) + registry.add_linetype(dxf.linetype) + registry.add_handle(dxf.get("material_handle")) + # unsupported resource attributes: + # - visualstyle_handle + # - plotstyle_handle + + def map_resources(self, clone: Self, mapping: xref.ResourceMapper) -> None: + """Translate resources from self to the copied entity.""" + super().map_resources(clone, mapping) + clone.dxf.layer = mapping.get_layer(self.dxf.layer) + attrib_exist = self.dxf.hasattr + if attrib_exist("linetype"): + clone.dxf.linetype = mapping.get_linetype(self.dxf.linetype) + if attrib_exist("material_handle"): + clone.dxf.material_handle = mapping.get_handle(self.dxf.material_handle) + + # unsupported attributes: + clone.dxf.discard("visualstyle_handle") + clone.dxf.discard("plotstyle_handle") + + +@factory.register_entity +class SeqEnd(DXFGraphic): + DXFTYPE = "SEQEND" + + def load_dxf_attribs( + self, processor: Optional[SubclassProcessor] = None + ) -> DXFNamespace: + """Loading interface. (internal API)""" + # bypass DXFGraphic, loading proxy graphic is skipped! + dxf = super(DXFGraphic, self).load_dxf_attribs(processor) + if processor: + processor.simple_dxfattribs_loader(dxf, acdb_entity_group_codes) # type: ignore + return dxf + + +def add_entity(entity: DXFGraphic, layout: BaseLayout) -> None: + """Add `entity` entity to the entity database and to the given `layout`.""" + assert entity.dxf.handle is None + assert layout is not None + if layout.doc: + factory.bind(entity, layout.doc) + layout.add_entity(entity) + + +def replace_entity(source: DXFGraphic, target: DXFGraphic, layout: BaseLayout) -> None: + """Add `target` entity to the entity database and to the given `layout` + and replace the `source` entity by the `target` entity. + """ + assert target.dxf.handle is None + assert layout is not None + target.dxf.handle = source.dxf.handle + if source in layout: + layout.delete_entity(source) + if layout.doc: + factory.bind(target, layout.doc) + layout.add_entity(target) + else: + source.destroy() + + +def is_graphic_entity(entity: DXFEntity) -> TypeGuard[DXFGraphic]: + """Returns ``True`` if the `entity` has a graphical representations and + can reside in the model space, a paper space or a block layout, + otherwise the entity is a table or class entry or a DXF object from the + OBJECTS section. + """ + if isinstance(entity, DXFGraphic): + return True + if isinstance(entity, DXFTagStorage) and entity.is_graphic_entity: + return True + return False + + +def get_font_name(entity: DXFEntity) -> str: + """Returns the font name of any DXF entity. + + This function always returns a font name even if the entity doesn't support text + styles. The default font name is "txt". + """ + font_name = const.DEFAULT_TEXT_FONT + doc = entity.doc + if doc is None: + return font_name + try: + style_name = entity.dxf.get("style", const.DEFAULT_TEXT_STYLE) + except const.DXFAttributeError: + return font_name + try: + style = doc.styles.get(style_name) + return style.dxf.font + except const.DXFTableEntryError: + return font_name diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/entities/dxfgroups.py b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/entities/dxfgroups.py new file mode 100644 index 0000000000000000000000000000000000000000..b8facbbbfd2be4518354a8efab66ec8f88164b58 --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/entities/dxfgroups.py @@ -0,0 +1,455 @@ +# Copyright (c) 2019-2024, Manfred Moitzi +# License: MIT-License +from __future__ import annotations +from typing import ( + TYPE_CHECKING, + Iterable, + Iterator, + cast, + Union, + Optional, +) +from contextlib import contextmanager +import logging +from ezdxf.lldxf import validator, const +from ezdxf.lldxf.attributes import ( + DXFAttr, + DXFAttributes, + DefSubclass, + RETURN_DEFAULT, + group_code_mapping, +) +from ezdxf.audit import AuditError +from .dxfentity import base_class, SubclassProcessor, DXFEntity +from .dxfobj import DXFObject +from .factory import register_entity +from .objectcollection import ObjectCollection +from .copy import default_copy, CopyNotSupported + +if TYPE_CHECKING: + from ezdxf.audit import Auditor + from ezdxf.document import Drawing + from ezdxf.entities import DXFNamespace, Dictionary + from ezdxf.entitydb import EntityDB + from ezdxf.layouts import Layouts + from ezdxf.lldxf.tagwriter import AbstractTagWriter + +__all__ = ["DXFGroup", "GroupCollection"] +logger = logging.getLogger("ezdxf") + +acdb_group = DefSubclass( + "AcDbGroup", + { + # Group description + "description": DXFAttr(300, default=""), + # 1 = Unnamed + # 0 = Named + "unnamed": DXFAttr( + 70, + default=1, + validator=validator.is_integer_bool, + fixer=RETURN_DEFAULT, + ), + # 1 = Selectable + # 0 = Not selectable + "selectable": DXFAttr( + 71, + default=1, + validator=validator.is_integer_bool, + fixer=RETURN_DEFAULT, + ), + # 340: Hard-pointer handle to entity in group (one entry per object) + }, +) +acdb_group_group_codes = group_code_mapping(acdb_group) +GROUP_ITEM_CODE = 340 + + +@register_entity +class DXFGroup(DXFObject): + """Groups are not allowed in block definitions, and each entity can only + reside in one group, so cloning of groups creates also new entities. + + """ + + DXFTYPE = "GROUP" + DXFATTRIBS = DXFAttributes(base_class, acdb_group) + + def __init__(self) -> None: + super().__init__() + self._handles: set[str] = set() # only needed at the loading stage + self._data: list[DXFEntity] = [] + + def copy(self, copy_strategy=default_copy): + raise CopyNotSupported("Copying of GROUP not supported.") + + def load_dxf_attribs( + self, processor: Optional[SubclassProcessor] = None + ) -> DXFNamespace: + dxf = super().load_dxf_attribs(processor) + if processor: + tags = processor.fast_load_dxfattribs( + dxf, acdb_group_group_codes, 1, log=False + ) + self.load_group(tags) + return dxf + + def load_group(self, tags): + for code, value in tags: + if code == GROUP_ITEM_CODE: + # First store handles, because at this point, objects + # are not stored in the EntityDB: + self._handles.add(value) + + def preprocess_export(self, tagwriter: AbstractTagWriter) -> bool: + # remove invalid entities + assert self.doc is not None + self.purge(self.doc) + # export GROUP only if all entities reside on the same layout + if not all_entities_on_same_layout(self._data): + raise const.DXFStructureError( + "All entities have to be in the same layout and are not allowed" + " to be in a block layout." + ) + return True + + def export_entity(self, tagwriter: AbstractTagWriter) -> None: + """Export entity specific data as DXF tags.""" + super().export_entity(tagwriter) + tagwriter.write_tag2(const.SUBCLASS_MARKER, acdb_group.name) + self.dxf.export_dxf_attribs(tagwriter, ["description", "unnamed", "selectable"]) + self.export_group(tagwriter) + + def export_group(self, tagwriter: AbstractTagWriter): + for entity in self._data: + tagwriter.write_tag2(GROUP_ITEM_CODE, entity.dxf.handle) + + def __iter__(self) -> Iterator[DXFEntity]: + """Iterate over all DXF entities in :class:`DXFGroup` as instances of + :class:`DXFGraphic` or inherited (LINE, CIRCLE, ...). + + """ + return (e for e in self._data if e.is_alive) + + def __len__(self) -> int: + """Returns the count of DXF entities in :class:`DXFGroup`.""" + return len(self._data) + + def __getitem__(self, item): + """Returns entities by standard Python indexing and slicing.""" + return self._data[item] + + def __contains__(self, item: Union[str, DXFEntity]) -> bool: + """Returns ``True`` if item is in :class:`DXFGroup`. `item` has to be + a handle string or an object of type :class:`DXFEntity` or inherited. + + """ + handle = item if isinstance(item, str) else item.dxf.handle + return handle in set(self.handles()) + + def handles(self) -> Iterable[str]: + """Iterable of handles of all DXF entities in :class:`DXFGroup`.""" + return (entity.dxf.handle for entity in self) + + def post_load_hook(self, doc: "Drawing"): + super().post_load_hook(doc) + db_get = doc.entitydb.get + + def set_group_entities(): # post init command + name = str(self) + entities = filter_invalid_entities(self._data, self.doc, name) + if not all_entities_on_same_layout(entities): + self.clear() + logger.debug(f"Cleared {name}, had entities from different layouts.") + else: + self._data = entities + + def entities(): + for handle in self._handles: + entity = db_get(handle) + if entity and entity.is_alive: + yield entity + + # Filtering invalid DXF entities is not possible at this stage, just + # store entities as they are: + self._data = list(entities()) + del self._handles # all referenced entities are stored in data + return set_group_entities + + @contextmanager # type: ignore + def edit_data(self) -> list[DXFEntity]: # type: ignore + """Context manager which yields all the group entities as + standard Python list:: + + with group.edit_data() as data: + # add new entities to a group + data.append(modelspace.add_line((0, 0), (3, 0))) + # remove last entity from a group + data.pop() + + """ + data = list(self) + yield data + self.set_data(data) + + def _validate_entities(self, entities: Iterable[DXFEntity]) -> list[DXFEntity]: + assert self.doc is not None + entities = list(entities) + valid_entities = filter_invalid_entities(entities, self.doc, str(self)) + if len(valid_entities) != len(entities): + raise const.DXFStructureError("invalid entities found") + if not all_entities_on_same_layout(valid_entities): + raise const.DXFStructureError( + "All entities have to be in the same layout and are not allowed" + " to be in a block layout." + ) + return valid_entities + + def set_data(self, entities: Iterable[DXFEntity]) -> None: + """Set `entities` as new group content, entities should be an iterable of + :class:`DXFGraphic` (LINE, CIRCLE, ...). + + Raises: + DXFValueError: not all entities are located on the same layout (modelspace + or any paperspace layout but not block) + + """ + valid_entities = self._validate_entities(entities) + self.clear() + self._add_group_reactor(valid_entities) + self._data = valid_entities + + def extend(self, entities: Iterable[DXFEntity]) -> None: + """Add `entities` to :class:`DXFGroup`, entities should be an iterable of + :class:`DXFGraphic` (LINE, CIRCLE, ...). + + Raises: + DXFValueError: not all entities are located on the same layout (modelspace + or any paperspace layout but not block) + + """ + valid_entities = self._validate_entities(entities) + handles = set(self.handles()) + valid_entities = [e for e in valid_entities if e.dxf.handle not in handles] + self._add_group_reactor(valid_entities) + self._data.extend(valid_entities) + + def clear(self) -> None: + """Remove all entities from :class:`DXFGroup`, does not delete any + drawing entities referenced by this group. + + """ + # TODO: remove handle of GROUP entity from reactors of entities #1085 + self._remove_group_reactor(self._data) + self._data = [] + + def _add_group_reactor(self, entities: list[DXFEntity]) -> None: + group_handle = self.dxf.handle + for entity in entities: + entity.append_reactor_handle(group_handle) + + def _remove_group_reactor(self, entities: list[DXFEntity]) -> None: + group_handle = self.dxf.handle + for entity in entities: + entity.discard_reactor_handle(group_handle) + + def audit(self, auditor: Auditor) -> None: + """Remove invalid entities from :class:`DXFGroup`. + + Invalid entities are: + + - deleted entities + - all entities which do not reside in model- or paper space + - all entities if they do not reside in the same layout + + """ + entity_count = len(self) + assert auditor.doc is not None + # Remove destroyed or invalid entities: + self.purge(auditor.doc) + removed_entity_count = entity_count - len(self) + if removed_entity_count > 0: + auditor.fixed_error( + code=AuditError.INVALID_GROUP_ENTITIES, + message=f"Removed {removed_entity_count} invalid entities from {str(self)}", + ) + if not all_entities_on_same_layout(self._data): + auditor.fixed_error( + code=AuditError.GROUP_ENTITIES_IN_DIFFERENT_LAYOUTS, + message=f"Cleared {str(self)}, not all entities are located in " + f"the same layout.", + ) + self.clear() + + group_handle = self.dxf.handle + if not group_handle: + return + for entity in self._data: + if entity.reactors is None or group_handle not in entity.reactors: + auditor.fixed_error( + code=AuditError.MISSING_PERSISTENT_REACTOR, + message=f"Entity {entity} in group #{group_handle} does not have " + f"group as persistent reactor", + ) + entity.append_reactor_handle(group_handle) + + def purge(self, doc: Drawing) -> None: + """Remove invalid group entities.""" + self._data = filter_invalid_entities( + entities=self._data, doc=doc, group_name=str(self) + ) + + +def filter_invalid_entities( + entities: Iterable[DXFEntity], + doc: Drawing, + group_name: str = "", +) -> list[DXFEntity]: + assert doc is not None + db = doc.entitydb + valid_owner_handles = valid_layout_handles(doc.layouts) + valid_entities: list[DXFEntity] = [] + for entity in entities: + if entity.is_alive and _has_valid_owner( + entity.dxf.owner, db, valid_owner_handles + ): + valid_entities.append(entity) + elif group_name: + if entity.is_alive: + logger.debug(f"{str(entity)} in {group_name} has an invalid owner.") + else: + logger.debug(f"Removed deleted entity in {group_name}") + return valid_entities + + +def _has_valid_owner(owner: str, db: EntityDB, valid_owner_handles: set[str]) -> bool: + # no owner -> no layout association + if owner is None: + return False + # The check for owner.dxf.layout != "0" is not sufficient #521 + if valid_owner_handles and owner not in valid_owner_handles: + return False + layout = db.get(owner) + # owner layout does not exist or is destroyed -> no layout association + if layout is None or not layout.is_alive: + return False + # If "valid_owner_handles" is not empty, entities located on BLOCK + # layouts are already removed. + # DXF attribute block_record.layout is "0" if entity is located in a + # block definition, which is invalid: + return layout.dxf.layout != "0" + + +def all_entities_on_same_layout(entities: Iterable[DXFEntity]): + """Check if all entities are on the same layout (model space or any paper + layout but not block). + + """ + owners = set(entity.dxf.owner for entity in entities) + # 0 for no entities; 1 for all entities on the same layout + return len(owners) < 2 + + +def valid_layout_handles(layouts: Layouts) -> set[str]: + """Returns valid layout keys for group entities.""" + return set(layout.layout_key for layout in layouts if layout.is_any_layout) + + +class GroupCollection(ObjectCollection[DXFGroup]): + def __init__(self, doc: Drawing): + super().__init__(doc, dict_name="ACAD_GROUP", object_type="GROUP") + self._next_unnamed_number = 0 + + def groups(self) -> Iterator[DXFGroup]: + """Iterable of all existing groups.""" + for name, group in self: + yield group + + def next_name(self) -> str: + name = self._next_name() + while name in self: + name = self._next_name() + return name + + def _next_name(self) -> str: + self._next_unnamed_number += 1 + return f"*A{self._next_unnamed_number}" + + def new( + self, + name: Optional[str] = None, + description: str = "", + selectable: bool = True, + ) -> DXFGroup: + r"""Creates a new group. If `name` is ``None`` an unnamed group is + created, which has an automatically generated name like "\*Annnn". + Group names are case-insensitive. + + Args: + name: group name as string + description: group description as string + selectable: group is selectable if ``True`` + + """ + if name is not None and name in self: + raise const.DXFValueError(f"GROUP '{name}' already exists.") + + if name is None: + name = self.next_name() + unnamed = 1 + else: + unnamed = 0 + # The group name isn't stored in the group entity itself. + dxfattribs = { + "description": description, + "unnamed": unnamed, + "selectable": int(bool(selectable)), + } + return cast(DXFGroup, self._new(name, dxfattribs)) + + def delete(self, group: Union[DXFGroup, str]) -> None: + """Delete `group`, `group` can be an object of type :class:`DXFGroup` + or a group name as string. + + """ + entitydb = self.doc.entitydb + assert entitydb is not None + # Delete group by name: + if isinstance(group, str): + name = group + elif group.dxftype() == "GROUP": + name = get_group_name(group, entitydb) + else: + raise TypeError(group.dxftype()) + + if name in self: + super().delete(name) + else: + raise const.DXFValueError("GROUP not in group table registered.") + + def audit(self, auditor: Auditor) -> None: + """Removes empty groups and invalid handles from all groups.""" + trash = [] + for name, group in self: + group = cast(DXFGroup, group) + group.audit(auditor) + if not len(group): # remove empty group + # do not delete groups while iterating over groups! + trash.append(name) + + # now delete empty groups + for name in trash: + auditor.fixed_error( + code=AuditError.REMOVE_EMPTY_GROUP, + message=f'Removed empty group "{name}".', + ) + self.delete(name) + + +def get_group_name(group: DXFGroup, db: EntityDB) -> str: + """Get name of `group`.""" + group_table = cast("Dictionary", db[group.dxf.owner]) + for name, entity in group_table.items(): + if entity is group: + return name + return "" diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/entities/dxfns.py b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/entities/dxfns.py new file mode 100644 index 0000000000000000000000000000000000000000..5e749cd53c07ede88329d3b14be6ad4e8f813d7f --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/entities/dxfns.py @@ -0,0 +1,687 @@ +# Copyright (c) 2020-2025, Manfred Moitzi +# License: MIT License +from __future__ import annotations +from typing import Any, Optional, Union, Iterable, TYPE_CHECKING, Set +import logging +import itertools +from ezdxf import options +from ezdxf.lldxf import const +from ezdxf.lldxf.attributes import XType, DXFAttributes, DXFAttr +from ezdxf.lldxf.types import cast_value, dxftag +from ezdxf.lldxf.tags import Tags + +if TYPE_CHECKING: + from ezdxf.lldxf.extendedtags import ExtendedTags + from ezdxf.entities import DXFEntity + from ezdxf.lldxf.tagwriter import AbstractTagWriter + + +__all__ = ["DXFNamespace", "SubclassProcessor"] +logger = logging.getLogger("ezdxf") + +ERR_INVALID_DXF_ATTRIB = 'Invalid DXF attribute "{}" for entity {}' +ERR_DXF_ATTRIB_NOT_EXITS = 'DXF attribute "{}" does not exist' + +# supported event handler called by setting DXF attributes +# for usage, implement a method named like the dict-value, that accepts the new +# value as argument e.g.: +# Polyline.on_layer_change(name) -> changes also layers of all vertices + +SETTER_EVENTS = { + "layer": "on_layer_change", + "linetype": "on_linetype_change", + "style": "on_style_change", + "dimstyle": "on_dimstyle_change", +} +EXCLUDE_FROM_UPDATE = frozenset(["_entity", "handle", "owner"]) + + +class DXFNamespace: + """:class:`DXFNamespace` manages all named DXF attributes of an entity. + + The DXFNamespace.__dict__ is used as DXF attribute storage, therefore only + valid Python names can be used as attrib name. + + The namespace can only contain immutable objects: string, int, float, bool, + Vec3. Because of the immutability, copy and deepcopy are the same. + + (internal class) + """ + + def __init__( + self, + processor: Optional[SubclassProcessor] = None, + entity: Optional[DXFEntity] = None, + ): + if processor: + base_class = processor.base_class + handle_code = 105 if base_class[0].value == "DIMSTYLE" else 5 + # CLASS entities have no handle. + # TABLE entities have no handle if loaded from a DXF R12 file. + # Owner tag is None if loaded from a DXF R12 file + handle = None + owner = None + for tag in base_class: + group_code = tag.code + if group_code == handle_code: + handle = tag.value + if owner: + break + elif group_code == 330: + owner = tag.value + if handle: + break + self.rewire(entity, handle, owner) + else: + self.reset_handles() + self.rewire(entity) + + def copy(self, entity: DXFEntity): + namespace = self.__class__() + for k, v in self.__dict__.items(): + namespace.__dict__[k] = v + namespace.rewire(entity) + return namespace + + def __deepcopy__(self, memodict: Optional[dict] = None): + return self.copy(self._entity) + + def __getstate__(self) -> object: + return self.__dict__ + + def __setstate__(self, state: object) -> None: + if not isinstance(state, dict): + raise TypeError(f"invalid state: {type(state).__name__}") + # bypass __setattr__ + object.__setattr__(self, "__dict__", state) + + def reset_handles(self): + """Reset handle and owner to None.""" + self.__dict__["handle"] = None + self.__dict__["owner"] = None + + def rewire( + self, + entity: Optional[DXFEntity], + handle: Optional[str] = None, + owner: Optional[str] = None, + ) -> None: + """Rewire DXF namespace with parent entity + + Args: + entity: new associated entity + handle: new handle or None + owner: new entity owner handle or None + + """ + # bypass __setattr__() + self.__dict__["_entity"] = entity + if handle is not None: + self.__dict__["handle"] = handle + if owner is not None: + self.__dict__["owner"] = owner + + def __getattr__(self, key: str) -> Any: + """Called if DXF attribute `key` does not exist, returns the DXF + default value or ``None``. + + Raises: + DXFAttributeError: attribute `key` is not supported + + """ + attrib_def: Optional[DXFAttr] = self.dxfattribs.get(key) + if attrib_def: + if attrib_def.xtype == XType.callback: + return attrib_def.get_callback_value(self._entity) + else: + return attrib_def.default + else: + raise const.DXFAttributeError( + ERR_INVALID_DXF_ATTRIB.format(key, self.dxftype) + ) + + def __setattr__(self, key: str, value: Any) -> None: + """Set DXF attribute `key` to `value`. + + Raises: + DXFAttributeError: attribute `key` is not supported + + """ + + def entity() -> str: + # DXFNamespace is maybe not assigned to the entity yet: + handle = self.get("handle") + _entity = self._entity + if _entity: + return _entity.dxftype() + f"(#{handle})" + else: + return f"#{handle}" + + def check(value): + value = cast_value(attrib_def.code, value) + if not attrib_def.is_valid_value(value): + if attrib_def.fixer: + value = attrib_def.fixer(value) + logger.debug( + f'Fixed invalid attribute "{key}" in entity' + f' {entity()} to "{str(value)}".' + ) + else: + raise const.DXFValueError( + f'Invalid value {str(value)} for attribute "{key}" in ' + f"entity {entity()}." + ) + return value + + attrib_def: Optional[DXFAttr] = self.dxfattribs.get(key) + if attrib_def: + if attrib_def.xtype == XType.callback: + attrib_def.set_callback_value(self._entity, value) + else: + self.__dict__[key] = check(value) + else: + raise const.DXFAttributeError( + ERR_INVALID_DXF_ATTRIB.format(key, self.dxftype) + ) + + if key in SETTER_EVENTS: + handler = getattr(self._entity, SETTER_EVENTS[key], None) + if handler: + handler(value) + + def __delattr__(self, key: str) -> None: + """Delete DXF attribute `key`. + + Raises: + DXFAttributeError: attribute `key` does not exist + + """ + if self.hasattr(key): + del self.__dict__[key] + else: + raise const.DXFAttributeError(ERR_DXF_ATTRIB_NOT_EXITS.format(key)) + + def get(self, key: str, default: Any = None) -> Any: + """Returns value of DXF attribute `key` or the given `default` value + not DXF default value for unset attributes. + + Raises: + DXFAttributeError: attribute `key` is not supported + + """ + # callback values should not exist as attribute in __dict__ + if self.hasattr(key): + # do not return the DXF default value + return self.__dict__[key] + attrib_def: Optional["DXFAttr"] = self.dxfattribs.get(key) + if attrib_def: + if attrib_def.xtype == XType.callback: + return attrib_def.get_callback_value(self._entity) + else: + return default # return give default + else: + raise const.DXFAttributeError( + ERR_INVALID_DXF_ATTRIB.format(key, self.dxftype) + ) + + def get_default(self, key: str) -> Any: + """Returns DXF default value for unset DXF attribute `key`.""" + value = self.get(key, None) + return self.dxf_default_value(key) if value is None else value + + def set(self, key: str, value: Any) -> None: + """Set DXF attribute `key` to `value`. + + Raises: + DXFAttributeError: attribute `key` is not supported + + """ + self.__setattr__(key, value) + + def unprotected_set(self, key: str, value: Any) -> None: + """Set DXF attribute `key` to `value` without any validity checks. + + Used for fast attribute setting without validity checks at loading time. + + (internal API) + """ + self.__dict__[key] = value + + def all_existing_dxf_attribs(self) -> dict: + """Returns all existing DXF attributes, except DXFEntity back-link.""" + attribs = dict(self.__dict__) + del attribs["_entity"] + return attribs + + def update( + self, + dxfattribs: dict[str, Any], + *, + exclude: Optional[Set[str]] = None, + ignore_errors=False, + ) -> None: + """Update DXF namespace attributes from a dict.""" + if exclude is None: + exclude = EXCLUDE_FROM_UPDATE # type: ignore + else: # always exclude "_entity" back-link + exclude = {"_entity"} | exclude + + set_attribute = self.__setattr__ + for k, v in dxfattribs.items(): + if k not in exclude: # type: ignore + try: + set_attribute(k, v) + except (AttributeError, ValueError): + if not ignore_errors: + raise + + def discard(self, key: str) -> None: + """Delete DXF attribute `key` silently without any exception.""" + try: + del self.__dict__[key] + except KeyError: + pass + + def is_supported(self, key: str) -> bool: + """Returns True if DXF attribute `key` is supported else False. + Does not grant that attribute `key` really exists and does not + check if the actual DXF version of the document supports this + attribute, unsupported attributes will be ignored at export. + + """ + return key in self.dxfattribs + + def hasattr(self, key: str) -> bool: + """Returns True if attribute `key` really exists else False.""" + return key in self.__dict__ + + @property + def dxftype(self) -> str: + """Returns the DXF entity type.""" + return self._entity.DXFTYPE + + @property + def dxfattribs(self) -> DXFAttributes: + """Returns the DXF attribute definition.""" + return self._entity.DXFATTRIBS + + def dxf_default_value(self, key: str) -> Any: + """Returns the default value as defined in the DXF standard.""" + attrib: Optional[DXFAttr] = self.dxfattribs.get(key) + if attrib: + return attrib.default + else: + return None + + def export_dxf_attribs( + self, tagwriter: AbstractTagWriter, attribs: Union[str, Iterable] + ) -> None: + """Exports DXF attribute `name` by `tagwriter`. Non-optional attributes + are forced and optional tags are only written if different to default + value. DXF version check is always on: does not export DXF attribs + which are not supported by tagwriter.dxfversion. + + Args: + tagwriter: tag writer object + attribs: DXF attribute name as string or an iterable of names + + """ + if isinstance(attribs, str): + self._export_dxf_attribute_optional(tagwriter, attribs) + else: + for name in attribs: + self._export_dxf_attribute_optional(tagwriter, name) + + def _export_dxf_attribute_optional( + self, tagwriter: AbstractTagWriter, name: str + ) -> None: + """Exports DXF attribute `name` by `tagwriter`. + + Optional tags are only written if they differ from the default value. + + """ + attrib: Optional[DXFAttr] = self.dxfattribs.get(name) + if attrib is None: + raise const.DXFAttributeError( + ERR_INVALID_DXF_ATTRIB.format(name, self.dxftype) + ) + + optional = attrib.optional + default = attrib.default + value = self.get(name, None) + + # Force default value e.g. layer + if value is None and not optional: + # default value can be None! + value = default + + if value is None: + logger.debug( + f"DXF attribute '{name}' not written because its a None value." + ) + return + + # Do not write explicit optional attribs if equal to the default value + if ( + optional + and (not tagwriter.force_optional) + and default is not None + and default == value + ): + return + _export_group_codes(tagwriter, attrib, value) + + def export_dxf_attribute_if_exists( + self, tagwriter: AbstractTagWriter, name: str + ) -> None: + """Exports DXF attribute `name` by `tagwriter` if exists. + + If the attribute exists, and it's not None it will be written, the optional-flag + is ignored. + + No default value will be written if the attribute doesn't exist! + This method can not be used for attributes that are required (e.g. layer)! + + """ + if not self.hasattr(name): + return + + attrib: Optional[DXFAttr] = self.dxfattribs.get(name) + assert ( + attrib is not None + ), f"existing DXF attribute '{name}' has no definition class - internal error" + + value = self.get(name) + if value is None: + logger.debug( + f"DXF attribute '{name}' not written because its a None value." + ) + return + _export_group_codes(tagwriter, attrib, value) + + +def _export_group_codes( + tagwriter: AbstractTagWriter, attrib: DXFAttr, value: Any +) -> None: + assert attrib is not None + assert value is not None + + # Do write the attribute if the export DXF version is lower than the minimal + # required DXF version for the attribute. + if tagwriter.dxfversion < attrib.dxfversion: + return + + # For explicit 2D points export only x- and y-coordinates. + if attrib.xtype == XType.point2d and len(value) > 2: + try: # Vec3, Vec2 + value = (value.x, value.y) + except AttributeError: + value = value[:2] + + if isinstance(value, str): + assert "\n" not in value, "line break '\\n' not allowed" + assert "\r" not in value, "line break '\\r' not allowed" + tag = dxftag(attrib.code, value) + tagwriter.write_tag(tag) + + +BASE_CLASS_CODES = {0, 5, 102, 330} + + +class SubclassProcessor: + """Helper class for loading tags into entities. (internal class)""" + + def __init__(self, tags: ExtendedTags, dxfversion: Optional[str] = None): + if len(tags.subclasses) == 0: + raise ValueError("Invalid tags.") + self.subclasses: list[Tags] = list(tags.subclasses) # copy subclasses + self.embedded_objects: list[Tags] = tags.embedded_objects or [] + self.dxfversion: Optional[str] = dxfversion + # DXF R12 and prior have no subclass marker system, all tags of an + # entity in one flat list. + # Later DXF versions have at least 2 subclasses base_class and + # AcDbEntity. + # Exception: CLASS has also only one subclass and no subclass marker, + # handled as DXF R12 entity + self.r12: bool = (dxfversion == const.DXF12) or (len(self.subclasses) == 1) + self.name: str = tags.dxftype() + self.handle: str + try: + self.handle = tags.get_handle() + except const.DXFValueError: + self.handle = "" + + @property + def base_class(self): + return self.subclasses[0] + + def log_unprocessed_tags( + self, + unprocessed_tags: Iterable, + subclass="", + handle: Optional[str] = None, + ) -> None: + if options.log_unprocessed_tags: + for tag in unprocessed_tags: + entity = "" + if handle: + entity = f" in entity #{handle}" + logger.info(f"ignored {repr(tag)} in subclass {subclass}" + entity) + + def find_subclass(self, name: str) -> Optional[Tags]: + for subclass in self.subclasses: + if len(subclass) and subclass[0].value == name: + return subclass + return None + + def subclass_by_index(self, index: int) -> Optional[Tags]: + try: + return self.subclasses[index] + except IndexError: + return None + + def detect_implementation_version( + self, subclass_index: int, group_code: int, default: int + ) -> int: + subclass = self.subclass_by_index(subclass_index) + if subclass and len(subclass) > 1: + # the version tag has to be the 2nd tag after the subclass marker + tag = subclass[1] + if tag.code == group_code: + return tag.value + return default + + # TODO: rename to complex_dxfattribs_loader() + def fast_load_dxfattribs( + self, + dxf: DXFNamespace, + group_code_mapping: dict[int, Union[str, list]], + subclass: Union[int, str, Tags], + *, + recover=False, + log=True, + ) -> Tags: + """Load DXF attributes into the DXF namespace and returns the + unprocessed tags without leading subclass marker(100, AcDb...). + Bypasses the DXF attribute validity checks. + + Args: + dxf: entity DXF namespace + group_code_mapping: group code to DXF attribute name mapping, + callback attributes have to be marked with a leading "*" + subclass: subclass by index, by name or as Tags() + recover: recover graphic attributes + log: enable/disable logging of unprocessed tags + + """ + if self.r12: + tags = self.subclasses[0] + else: + if isinstance(subclass, int): + tags = self.subclass_by_index(subclass) # type: ignore + elif isinstance(subclass, str): + tags = self.find_subclass(subclass) # type: ignore + else: + tags = subclass + + unprocessed_tags = Tags() + if tags is None or len(tags) == 0: + return unprocessed_tags + + processed_names: set[str] = set() + # Localize attributes: + get_attrib_name = group_code_mapping.get + append_unprocessed_tag = unprocessed_tags.append + unprotected_set_attrib = dxf.unprotected_set + mark_attrib_as_processed = processed_names.add + + # Ignore (100, "AcDb...") or (0, "ENTITY") tag in case of DXF R12 + start = 1 if tags[0].code in (0, 100) else 0 + for tag in tags[start:]: + name = get_attrib_name(tag.code) + if isinstance(name, list): # process group code duplicates: + names = name + # If all existing attrib names are used, treat this tag + # like an unprocessed tag. + name = None + # The attribute names are processed in the order of their + # definition: + for name_ in names: + if name_ not in processed_names: + name = name_ + mark_attrib_as_processed(name_) + break + if name: + # Ignore callback attributes and group codes explicit marked + # as "*IGNORE": + if name[0] != "*": + unprotected_set_attrib( + name, cast_value(tag.code, tag.value) # type: ignore + ) + else: + append_unprocessed_tag(tag) + + if self.r12: + # R12 has always unprocessed tags, because there are all tags in one + # subclass and one subclass definition never covers all tags e.g. + # handle is processed in DXFEntity, so it is an unprocessed tag in + # AcDbEntity. + return unprocessed_tags + + # Only DXF R13+ + if recover and len(unprocessed_tags): + # TODO: maybe obsolete if simple_dxfattribs_loader() is used for + # most old DXF R12 entities + unprocessed_tags = recover_graphic_attributes(unprocessed_tags, dxf) + if len(unprocessed_tags) and log: + # First tag is the subclass specifier (100, "AcDb...") + name = tags[0].value + self.log_unprocessed_tags( + unprocessed_tags, subclass=name, handle=dxf.get("handle") + ) + return unprocessed_tags + + def append_base_class_to_acdb_entity(self) -> None: + """It is valid to mix up the base class with AcDbEntity class. + This method appends all none base class group codes to the + AcDbEntity class. + """ + # This is only needed for DXFEntity, so applying this method + # automatically to all entities is waste of runtime + # -> DXFGraphic.load_dxf_attribs() + # TODO: maybe obsolete if simple_dxfattribs_loader() is used for + # most old DXF R12 entities + if self.r12: + return + + acdb_entity_tags = self.subclasses[1] + if acdb_entity_tags[0] == (100, "AcDbEntity"): + acdb_entity_tags.extend( + tag for tag in self.subclasses[0] if tag.code not in BASE_CLASS_CODES + ) + + def simple_dxfattribs_loader( + self, dxf: DXFNamespace, group_code_mapping: dict[int, str] + ) -> None: + # tested in test suite 201 for the POINT entity + """Load DXF attributes from all subclasses into the DXF namespace. + + Can not handle same group codes in different subclasses, does not remove + processed tags or log unprocessed tags and bypasses the DXF attribute + validity checks. + + This method ignores the subclass structure and can load data from + very malformed DXF files, like such in issue #604. + This method works only for very simple DXF entities with unique group + codes in all subclasses, the old DXF R12 entities: + + - POINT + - LINE + - CIRCLE + - ARC + - INSERT + - SHAPE + - SOLID/TRACE/3DFACE + - TEXT (ATTRIB/ATTDEF bypasses TEXT loader) + - BLOCK/ENDBLK + - POLYLINE/VERTEX/SEQEND + - DIMENSION and subclasses + - all table entries: LAYER, LTYPE, ... + + And the newer DXF entities: + + - ELLIPSE + - RAY/XLINE + + The recover mode for graphical attributes is automatically included. + Logging of unprocessed tags is not possible but also not required for + this simple and well known entities. + + Args: + dxf: entity DXF namespace + group_code_mapping: group code name mapping for all DXF attributes + from all subclasses, callback attributes have to be marked with + a leading "*" + + """ + tags = itertools.chain.from_iterable(self.subclasses) + get_attrib_name = group_code_mapping.get + unprotected_set_attrib = dxf.unprotected_set + for tag in tags: + name = get_attrib_name(tag.code) + if isinstance(name, str) and not name.startswith("*"): + unprotected_set_attrib(name, cast_value(tag.code, tag.value)) + + +GRAPHIC_ATTRIBUTES_TO_RECOVER = { + 8: "layer", + 6: "linetype", + 62: "color", + 67: "paperspace", + 370: "lineweight", + 48: "ltscale", + 60: "invisible", + 420: "true_color", + 430: "color_name", + 440: "transparency", + 284: "shadow_mode", + 347: "material_handle", + 348: "visualstyle_handle", + 380: "plotstyle_enum", + 390: "plotstyle_handle", +} + + +# TODO: maybe obsolete if simple_dxfattribs_loader() is used for +# most old DXF R12 entities +def recover_graphic_attributes(tags: Tags, dxf: DXFNamespace) -> Tags: + unprocessed_tags = Tags() + for tag in tags: + attrib_name = GRAPHIC_ATTRIBUTES_TO_RECOVER.get(tag.code) + # Don't know if the unprocessed tag is really a misplaced tag, + # so check if the attribute already exist! + if attrib_name and not dxf.hasattr(attrib_name): + dxf.set(attrib_name, tag.value) + else: + unprocessed_tags.append(tag) + return unprocessed_tags diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/entities/dxfobj.py b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/entities/dxfobj.py new file mode 100644 index 0000000000000000000000000000000000000000..e3a7b70cdade8f7d5412e86ca2cb51a0004bdbc7 --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/entities/dxfobj.py @@ -0,0 +1,400 @@ +# Copyright (c) 2019-2024 Manfred Moitzi +# License: MIT License +from __future__ import annotations +from typing import TYPE_CHECKING, Iterable, Union, Any, Optional +from typing_extensions import Self, TypeGuard +import logging +import array +from ezdxf.lldxf import validator +from ezdxf.lldxf.const import DXF2000, DXFStructureError, SUBCLASS_MARKER +from ezdxf.lldxf.tags import Tags +from ezdxf.lldxf.types import dxftag, DXFTag, DXFBinaryTag +from ezdxf.lldxf.attributes import ( + DXFAttr, + DXFAttributes, + DefSubclass, + RETURN_DEFAULT, + group_code_mapping, +) +from ezdxf.tools import take2 +from .dxfentity import DXFEntity, base_class, SubclassProcessor, DXFTagStorage +from .factory import register_entity +from .copy import default_copy + +if TYPE_CHECKING: + from ezdxf.audit import Auditor + from ezdxf.entities import DXFNamespace + from ezdxf.lldxf.tagwriter import AbstractTagWriter + +__all__ = [ + "DXFObject", + "Placeholder", + "XRecord", + "VBAProject", + "SortEntsTable", + "Field", + "is_dxf_object", +] +logger = logging.getLogger("ezdxf") + + +class DXFObject(DXFEntity): + """Non-graphical entities stored in the OBJECTS section.""" + + MIN_DXF_VERSION_FOR_EXPORT = DXF2000 + + +@register_entity +class Placeholder(DXFObject): + DXFTYPE = "ACDBPLACEHOLDER" + + +acdb_xrecord = DefSubclass( + "AcDbXrecord", + { + # 0 = not applicable + # 1 = keep existing + # 2 = use clone + # 3 = $0$ + # 4 = $0$ + # 5 = Unmangle name + "cloning": DXFAttr( + 280, + default=1, + validator=validator.is_in_integer_range(0, 6), + fixer=RETURN_DEFAULT, + ), + }, +) + + +def totags(tags: Iterable) -> Iterable[DXFTag]: + for tag in tags: + if isinstance(tag, DXFTag): + yield tag + else: + yield dxftag(tag[0], tag[1]) + + +@register_entity +class XRecord(DXFObject): + """DXF XRECORD entity""" + + DXFTYPE = "XRECORD" + DXFATTRIBS = DXFAttributes(base_class, acdb_xrecord) + + def __init__(self): + super().__init__() + self.tags = Tags() + + def copy_data(self, entity: Self, copy_strategy=default_copy) -> None: + assert isinstance(entity, XRecord) + entity.tags = Tags(self.tags) + + def load_dxf_attribs( + self, processor: Optional[SubclassProcessor] = None + ) -> DXFNamespace: + dxf = super().load_dxf_attribs(processor) + if processor: + try: + tags = processor.subclasses[1] + except IndexError: + raise DXFStructureError( + f"Missing subclass AcDbXrecord in XRecord (#{dxf.handle})" + ) + start_index = 1 + if len(tags) > 1: + # First tag is group code 280, but not for DXF R13/R14. + # SUT: doc may be None, but then doc also can not + # be R13/R14 - ezdxf does not create R13/R14 + if self.doc is None or self.doc.dxfversion >= DXF2000: + code, value = tags[1] + if code == 280: + dxf.cloning = value + start_index = 2 + else: # just log recoverable error + logger.info( + f"XRecord (#{dxf.handle}): expected group code 280 " + f"as first tag in AcDbXrecord" + ) + self.tags = Tags(tags[start_index:]) + return dxf + + def export_entity(self, tagwriter: AbstractTagWriter) -> None: + super().export_entity(tagwriter) + tagwriter.write_tag2(SUBCLASS_MARKER, acdb_xrecord.name) + tagwriter.write_tag2(280, self.dxf.cloning) + tagwriter.write_tags(Tags(totags(self.tags))) + + def reset(self, tags: Iterable[Union[DXFTag, tuple[int, Any]]]) -> None: + """Reset DXF tags.""" + self.tags.clear() + self.tags.extend(totags(tags)) + + def extend(self, tags: Iterable[Union[DXFTag, tuple[int, Any]]]) -> None: + """Extend DXF tags.""" + self.tags.extend(totags(tags)) + + def clear(self) -> None: + """Remove all DXF tags.""" + self.tags.clear() + + +acdb_vba_project = DefSubclass( + "AcDbVbaProject", + { + # 90: Number of bytes of binary chunk data (contained in the group code + # 310 records that follow) + # 310: DXF: Binary object data (multiple entries containing VBA project + # data) + }, +) + + +@register_entity +class VBAProject(DXFObject): + """DXF VBA_PROJECT entity""" + + DXFTYPE = "VBA_PROJECT" + DXFATTRIBS = DXFAttributes(base_class, acdb_vba_project) + + def __init__(self): + super().__init__() + self.data = b"" + + def copy_data(self, entity: Self, copy_strategy=default_copy) -> None: + assert isinstance(entity, VBAProject) + entity.data = entity.data + + def load_dxf_attribs( + self, processor: Optional[SubclassProcessor] = None + ) -> DXFNamespace: + dxf = super().load_dxf_attribs(processor) + if processor: + self.load_byte_data(processor.subclasses[1]) + return dxf + + def load_byte_data(self, tags: Tags) -> None: + byte_array = array.array("B") + # Translation from String to binary data happens in tag_compiler(): + for byte_data in (tag.value for tag in tags if tag.code == 310): + byte_array.extend(byte_data) + self.data = byte_array.tobytes() + + def export_entity(self, tagwriter: AbstractTagWriter) -> None: + super().export_entity(tagwriter) + tagwriter.write_tag2(SUBCLASS_MARKER, acdb_vba_project.name) + tagwriter.write_tag2(90, len(self.data)) + self.export_data(tagwriter) + + def export_data(self, tagwriter: AbstractTagWriter): + data = self.data + while data: + tagwriter.write_tag(DXFBinaryTag(310, data[:127])) + data = data[127:] + + def clear(self) -> None: + self.data = b"" + + +acdb_sort_ents_table = DefSubclass( + "AcDbSortentsTable", + { + # Soft-pointer ID/handle to owner (currently only the *MODEL_SPACE or + # *PAPER_SPACE blocks) in ezdxf the block_record handle for a layout is + # also called layout_key: + "block_record_handle": DXFAttr(330), + # 331: Soft-pointer ID/handle to an entity (zero or more entries may exist) + # 5: Sort handle (zero or more entries may exist) + }, +) +acdb_sort_ents_table_group_codes = group_code_mapping(acdb_sort_ents_table) + + +@register_entity +class SortEntsTable(DXFObject): + """DXF SORTENTSTABLE entity - sort entities table""" + + # should work with AC1015/R2000 but causes problems with TrueView/AutoCAD + # LT 2019: "expected was-a-zombie-flag" + # No problems with AC1018/R2004 and later + # + # If the header variable $SORTENTS Regen flag (bit-code value 16) is set, + # AutoCAD regenerates entities in ascending handle order. + # + # When the DRAWORDER command is used, a SORTENTSTABLE object is attached to + # the *Model_Space or *Paper_Space block's extension dictionary under the + # name ACAD_SORTENTS. The SORTENTSTABLE object related to this dictionary + # associates a different handle with each entity, which redefines the order + # in which the entities are regenerated. + # + # $SORTENTS (280): Controls the object sorting methods (bitcode): + # 0 = Disables SORTENTS + # 1 = Sorts for object selection + # 2 = Sorts for object snap + # 4 = Sorts for redraws; obsolete + # 8 = Sorts for MSLIDE command slide creation; obsolete + # 16 = Sorts for REGEN commands + # 32 = Sorts for plotting + # 64 = Sorts for PostScript output; obsolete + + DXFTYPE = "SORTENTSTABLE" + DXFATTRIBS = DXFAttributes(base_class, acdb_sort_ents_table) + + def __init__(self) -> None: + super().__init__() + self.table: dict[str, str] = dict() + + def copy_data(self, entity: Self, copy_strategy=default_copy) -> None: + assert isinstance(entity, SortEntsTable) + entity.table = dict(entity.table) + + def load_dxf_attribs( + self, processor: Optional[SubclassProcessor] = None + ) -> DXFNamespace: + dxf = super().load_dxf_attribs(processor) + if processor: + tags = processor.fast_load_dxfattribs( + dxf, acdb_sort_ents_table_group_codes, 1, log=False + ) + self.load_table(tags) + return dxf + + def load_table(self, tags: Tags) -> None: + for handle, sort_handle in take2(tags): + if handle.code != 331: + raise DXFStructureError( + f"Invalid handle code {handle.code}, expected 331" + ) + if sort_handle.code != 5: + raise DXFStructureError( + f"Invalid sort handle code {handle.code}, expected 5" + ) + self.table[handle.value] = sort_handle.value + + def export_entity(self, tagwriter: AbstractTagWriter) -> None: + super().export_entity(tagwriter) + tagwriter.write_tag2(SUBCLASS_MARKER, acdb_sort_ents_table.name) + tagwriter.write_tag2(330, self.dxf.block_record_handle) + self.export_table(tagwriter) + + def export_table(self, tagwriter: AbstractTagWriter): + for handle, sort_handle in self.table.items(): + tagwriter.write_tag2(331, handle) + tagwriter.write_tag2(5, sort_handle) + + def __len__(self) -> int: + return len(self.table) + + def __iter__(self) -> Iterable: + """Yields all redraw associations as (object_handle, sort_handle) + tuples. + + """ + return iter(self.table.items()) + + def append(self, handle: str, sort_handle: str) -> None: + """Append redraw association (handle, sort_handle). + + Args: + handle: DXF entity handle (uppercase hex value without leading '0x') + sort_handle: sort handle (uppercase hex value without leading '0x') + + """ + self.table[handle] = sort_handle + + def clear(self): + """Remove all handles from redraw order table.""" + self.table = dict() + + def set_handles(self, handles: Iterable[tuple[str, str]]) -> None: + """Set all redraw associations from iterable `handles`, after removing + all existing associations. + + Args: + handles: iterable yielding (object_handle, sort_handle) tuples + + """ + # The sort_handle doesn't have to be unique, same or all handles can + # share the same sort_handle and sort_handles can use existing handles + # too. + # + # The '0' handle can be used, but this sort_handle will be drawn as + # latest (on top of all other entities) and not as first as expected. + # Invalid entity handles will be ignored by AutoCAD. + self.table = dict(handles) + + def remove_invalid_handles(self) -> None: + """Remove all handles which do not exist in the drawing database.""" + if self.doc is None: + return + entitydb = self.doc.entitydb + self.table = { + handle: sort_handle + for handle, sort_handle in self.table.items() + if handle in entitydb + } + + def remove_handle(self, handle: str) -> None: + """Remove handle of DXF entity from redraw order table. + + Args: + handle: DXF entity handle (uppercase hex value without leading '0x') + + """ + try: + del self.table[handle] + except KeyError: + pass + + +acdb_field = DefSubclass( + "AcDbField", + { + "evaluator_id": DXFAttr(1), + "field_code": DXFAttr(2), + # Overflow of field code string + "field_code_overflow": DXFAttr(3), + # Number of child fields + "n_child_fields": DXFAttr(90), + # 360: Child field ID (AcDbHardOwnershipId); repeats for number of children + # 97: Number of object IDs used in the field code + # 331: Object ID used in the field code (AcDbSoftPointerId); repeats for + # the number of object IDs used in the field code + # 93: Number of the data set in the field + # 6: Key string for the field data; a key-field pair is repeated for the + # number of data sets in the field + # 7: Key string for the evaluated cache; this key is hard-coded + # as ACFD_FIELD_VALUE + # 90: Data type of field value + # 91: Long value (if data type of field value is long) + # 140: Double value (if data type of field value is double) + # 330: ID value, AcDbSoftPointerId (if data type of field value is ID) + # 92: Binary data buffer size (if data type of field value is binary) + # 310: Binary data (if data type of field value is binary) + # 301: Format string + # 9: Overflow of Format string + # 98: Length of format string + }, +) + + +# todo: implement FIELD +# register when done +class Field(DXFObject): + """DXF FIELD entity""" + + DXFTYPE = "FIELD" + DXFATTRIBS = DXFAttributes(base_class, acdb_field) + + +def is_dxf_object(entity: DXFEntity) -> TypeGuard[DXFObject]: + """Returns ``True`` if the `entity` is a DXF object from the OBJECTS section, + otherwise the entity is a table or class entry or a graphic entity which can + not reside in the OBJECTS section. + """ + if isinstance(entity, DXFObject): + return True + if isinstance(entity, DXFTagStorage) and not entity.is_graphic_entity: + return True + return False diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/entities/ellipse.py b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/entities/ellipse.py new file mode 100644 index 0000000000000000000000000000000000000000..4a6d73d85b5e6a40b30d138baaaddf68deb15938 --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/entities/ellipse.py @@ -0,0 +1,320 @@ +# Copyright (c) 2019-2022 Manfred Moitzi +# License: MIT License +from __future__ import annotations +from typing import TYPE_CHECKING, Iterable, Optional +import math +from ezdxf.audit import AuditError +from ezdxf.lldxf import validator +from ezdxf.math import ( + Vec3, + Matrix44, + NULLVEC, + X_AXIS, + Z_AXIS, + ellipse, + ConstructionEllipse, + OCS, +) +from ezdxf.lldxf.attributes import ( + DXFAttr, + DXFAttributes, + DefSubclass, + XType, + RETURN_DEFAULT, + group_code_mapping, + merge_group_code_mappings, +) +from ezdxf.lldxf.const import SUBCLASS_MARKER, DXF2000 +from .dxfentity import base_class, SubclassProcessor +from .dxfgfx import ( + DXFGraphic, + acdb_entity, + add_entity, + replace_entity, + acdb_entity_group_codes, +) +from .factory import register_entity + +if TYPE_CHECKING: + from ezdxf.lldxf.tagwriter import AbstractTagWriter + from ezdxf.entities import DXFNamespace, Spline + from ezdxf.audit import Auditor + + +__all__ = ["Ellipse"] + +MIN_RATIO = 1e-10 # tested with DWG TrueView 2022 +MAX_RATIO = 1.0 # tested with DWG TrueView 2022 +TOL = 1e-9 # arbitrary choice + + +def is_valid_ratio(ratio: float) -> bool: + """Check if axis-ratio is in valid range, takes an upper bound tolerance into + account for floating point imprecision. + """ + return MIN_RATIO <= abs(ratio) < (MAX_RATIO + TOL) + + +def clamp_axis_ratio(ratio: float) -> float: + """Clamp axis-ratio into valid range and remove possible floating point imprecision. + """ + sign = -1 if ratio < 0 else +1 + ratio = abs(ratio) + if ratio < MIN_RATIO: + return MIN_RATIO * sign + if ratio > MAX_RATIO: + return MAX_RATIO * sign + return ratio * sign + + +acdb_ellipse = DefSubclass( + "AcDbEllipse", + { + "center": DXFAttr(10, xtype=XType.point3d, default=NULLVEC), + # Major axis vector from 'center': + "major_axis": DXFAttr( + 11, + xtype=XType.point3d, + default=X_AXIS, + validator=validator.is_not_null_vector, + ), + # The extrusion vector does not establish an OCS, it is just the normal + # vector of the ellipse plane: + "extrusion": DXFAttr( + 210, + xtype=XType.point3d, + default=Z_AXIS, + optional=True, + validator=validator.is_not_null_vector, + fixer=RETURN_DEFAULT, + ), + # Ratio has to be in the range: -1.0 ... -1e-10 and +1e-10 ... +1.0: + "ratio": DXFAttr( + 40, default=MAX_RATIO, validator=is_valid_ratio, fixer=clamp_axis_ratio + ), + # Start of ellipse, this value is 0.0 for a full ellipse: + "start_param": DXFAttr(41, default=0), + # End of ellipse, this value is 2π for a full ellipse: + "end_param": DXFAttr(42, default=math.tau), + }, +) +acdb_ellipse_group_code = group_code_mapping(acdb_ellipse) +merged_ellipse_group_codes = merge_group_code_mappings( + acdb_entity_group_codes, acdb_ellipse_group_code # type: ignore +) + +HALF_PI = math.pi / 2.0 + + +@register_entity +class Ellipse(DXFGraphic): + """DXF ELLIPSE entity""" + + DXFTYPE = "ELLIPSE" + DXFATTRIBS = DXFAttributes(base_class, acdb_entity, acdb_ellipse) + MIN_DXF_VERSION_FOR_EXPORT = DXF2000 + + def load_dxf_attribs( + self, processor: Optional[SubclassProcessor] = None + ) -> DXFNamespace: + """Loading interface. (internal API)""" + # bypass DXFGraphic, loading proxy graphic is skipped! + dxf = super(DXFGraphic, self).load_dxf_attribs(processor) + if processor: + processor.simple_dxfattribs_loader(dxf, merged_ellipse_group_codes) + return dxf + + def export_entity(self, tagwriter: AbstractTagWriter) -> None: + """Export entity specific data as DXF tags.""" + super().export_entity(tagwriter) + tagwriter.write_tag2(SUBCLASS_MARKER, acdb_ellipse.name) + # is_valid_ratio() takes floating point imprecision on the upper bound of + # +/- 1.0 into account: + assert is_valid_ratio( + self.dxf.ratio + ), f"axis-ratio out of range [{MIN_RATIO}, {MAX_RATIO}]" + self.dxf.ratio = clamp_axis_ratio(self.dxf.ratio) + self.dxf.export_dxf_attribs( + tagwriter, + [ + "center", + "major_axis", + "extrusion", + "ratio", + "start_param", + "end_param", + ], + ) + + @property + def minor_axis(self) -> Vec3: + dxf = self.dxf + return ellipse.minor_axis(Vec3(dxf.major_axis), Vec3(dxf.extrusion), dxf.ratio) + + @property + def start_point(self) -> Vec3: + return list(self.vertices([self.dxf.start_param]))[0] + + @property + def end_point(self) -> Vec3: + return list(self.vertices([self.dxf.end_param]))[0] + + def construction_tool(self) -> ConstructionEllipse: + """Returns construction tool :class:`ezdxf.math.ConstructionEllipse`.""" + dxf = self.dxf + return ConstructionEllipse( + dxf.center, + dxf.major_axis, + dxf.extrusion, + dxf.ratio, + dxf.start_param, + dxf.end_param, + ) + + def apply_construction_tool(self, e: ConstructionEllipse) -> Ellipse: + """Set ELLIPSE data from construction tool + :class:`ezdxf.math.ConstructionEllipse`. + + """ + self.update_dxf_attribs(e.dxfattribs()) + return self # floating interface + + def params(self, num: int) -> Iterable[float]: + """Returns `num` params from start- to end param in counter-clockwise + order. + + All params are normalized in the range [0, 2π). + + """ + start = self.dxf.start_param % math.tau + end = self.dxf.end_param % math.tau + yield from ellipse.get_params(start, end, num) + + def vertices(self, params: Iterable[float]) -> Iterable[Vec3]: + """Yields vertices on ellipse for iterable `params` in WCS. + + Args: + params: param values in the range from 0 to 2π in radians, + param goes counter-clockwise around the extrusion vector, + major_axis = local x-axis = 0 rad. + + """ + yield from self.construction_tool().vertices(params) + + def flattening(self, distance: float, segments: int = 8) -> Iterable[Vec3]: + """Adaptive recursive flattening. The argument `segments` is the + minimum count of approximation segments, if the distance from the center + of the approximation segment to the curve is bigger than `distance` the + segment will be subdivided. Returns a closed polygon for a full ellipse + where the start vertex has the same value as the end vertex. + + Args: + distance: maximum distance from the projected curve point onto the + segment chord. + segments: minimum segment count + + """ + return self.construction_tool().flattening(distance, segments) + + def swap_axis(self): + """Swap axis and adjust start- and end parameter.""" + e = self.construction_tool() + e.swap_axis() + self.update_dxf_attribs(e.dxfattribs()) + + @classmethod + def from_arc(cls, entity: DXFGraphic) -> Ellipse: + """Create a new virtual ELLIPSE entity from an ARC or a CIRCLE entity. + + The new entity has no owner, no handle, is not stored in the entity database nor + assigned to any layout! + + """ + assert entity.dxftype() in {"ARC", "CIRCLE"}, "ARC or CIRCLE entity required" + attribs = entity.dxfattribs(drop={"owner", "handle", "thickness"}) + e = ellipse.ConstructionEllipse.from_arc( + center=attribs.get("center", NULLVEC), + extrusion=attribs.get("extrusion", Z_AXIS), + # Remove all not ELLIPSE attributes: + radius=attribs.pop("radius", 1.0), + start_angle=attribs.pop("start_angle", 0), + end_angle=attribs.pop("end_angle", 360), + ) + attribs.update(e.dxfattribs()) + return cls.new(dxfattribs=attribs, doc=entity.doc) + + def transform(self, m: Matrix44) -> Ellipse: + """Transform the ELLIPSE entity by transformation matrix `m` inplace.""" + e = self.construction_tool() + e.transform(m) + self.update_dxf_attribs(e.dxfattribs()) + self.post_transform(m) + return self + + def translate(self, dx: float, dy: float, dz: float) -> Ellipse: + """Optimized ELLIPSE translation about `dx` in x-axis, `dy` in y-axis + and `dz` in z-axis, returns `self` (floating interface). + + """ + self.dxf.center = Vec3(dx, dy, dz) + self.dxf.center + # Avoid Matrix44 instantiation if not required: + if self.is_post_transform_required: + self.post_transform(Matrix44.translate(dx, dy, dz)) + return self + + def to_spline(self, replace=True) -> Spline: + """Convert ELLIPSE to a :class:`~ezdxf.entities.Spline` entity. + + Adds the new SPLINE entity to the entity database and to the + same layout as the source entity. + + Args: + replace: replace (delete) source entity by SPLINE entity if ``True`` + + """ + from ezdxf.entities import Spline + + spline = Spline.from_arc(self) + layout = self.get_layout() + assert layout is not None, "valid layout required" + if replace: + replace_entity(self, spline, layout) + else: + add_entity(spline, layout) + return spline + + def ocs(self) -> OCS: + # WCS entity which supports the "extrusion" attribute in a + # different way! + return OCS() + + def audit(self, auditor: Auditor) -> None: + if not self.is_alive: + return + super().audit(auditor) + entity = str(self) + major_axis = Vec3(self.dxf.major_axis) + if major_axis.is_null: + auditor.trash(self) + auditor.fixed_error( + code=AuditError.INVALID_MAJOR_AXIS, + message=f"Removed {entity} with invalid major axis: (0, 0, 0).", + ) + return + axis_ratio = self.dxf.ratio + if is_valid_ratio(axis_ratio): + # remove possible floating point imprecision: + self.dxf.ratio = clamp_axis_ratio(axis_ratio) + return + if abs(axis_ratio) > MAX_RATIO: + self.swap_axis() + auditor.fixed_error( + code=AuditError.INVALID_ELLIPSE_RATIO, + message=f"Fixed invalid axis-ratio in {entity} by swapping axis.", + ) + elif abs(axis_ratio) < MIN_RATIO: + self.dxf.ratio = clamp_axis_ratio(axis_ratio) + auditor.fixed_error( + code=AuditError.INVALID_ELLIPSE_RATIO, + message=f"Fixed invalid axis-ratio in {entity}, set to {MIN_RATIO}.", + ) diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/entities/factory.py b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/entities/factory.py new file mode 100644 index 0000000000000000000000000000000000000000..b9727f16dfb5c2b8b3673592d5cba30f09db078b --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/entities/factory.py @@ -0,0 +1,137 @@ +# Copyright (c) 2019-2022, Manfred Moitzi +# License: MIT License +from __future__ import annotations +from typing import TYPE_CHECKING, Optional + +if TYPE_CHECKING: + from ezdxf.document import Drawing + from ezdxf.entities import DXFEntity + from ezdxf.lldxf.extendedtags import ExtendedTags + + +__all__ = [ + "register_entity", + "ENTITY_CLASSES", + "replace_entity", + "new", + "cls", + "is_bound", + "create_db_entry", + "load", + "bind", +] +# Stores all registered classes: +ENTITY_CLASSES = {} +# use @set_default_class to register the default entity class: +DEFAULT_CLASS = None + + +def set_default_class(cls): + global DEFAULT_CLASS + DEFAULT_CLASS = cls + return cls + + +def replace_entity(cls): + name = cls.DXFTYPE + ENTITY_CLASSES[name] = cls + return cls + + +def register_entity(cls): + name = cls.DXFTYPE + if name in ENTITY_CLASSES: + raise TypeError(f"Double registration for DXF type {name}.") + ENTITY_CLASSES[name] = cls + return cls + + +def new( + dxftype: str, dxfattribs=None, doc: Optional[Drawing] = None +) -> DXFEntity: + """Create a new entity, does not require an instantiated DXF document.""" + entity = cls(dxftype).new( + handle=None, + owner=None, + dxfattribs=dxfattribs, + doc=doc, + ) + return entity.cast() if hasattr(entity, "cast") else entity + + +def create_db_entry(dxftype, dxfattribs, doc: Drawing) -> DXFEntity: + entity = new(dxftype=dxftype, dxfattribs=dxfattribs) + bind(entity, doc) + return entity + + +def load(tags: ExtendedTags, doc: Optional[Drawing] = None) -> DXFEntity: + entity = cls(tags.dxftype()).load(tags, doc) + return entity.cast() if hasattr(entity, "cast") else entity + + +def cls(dxftype: str) -> DXFEntity: + """Returns registered class for `dxftype`.""" + # DEFAULT_CLASS is not None at runtime! + return ENTITY_CLASSES.get(dxftype, DEFAULT_CLASS) # type: ignore + + +def bind(entity: DXFEntity, doc: Drawing) -> None: + """Bind `entity` to the DXF document `doc`. + + The bind process stores the DXF `entity` in the entity database of the DXF + document. + + """ + assert entity.is_alive, "Can not bind destroyed entity." + assert doc.entitydb is not None, "Missing entity database." + entity.doc = doc + doc.entitydb.add(entity) + + # Do not call the post_bind_hook() while loading from external sources, + # not all entities and resources are loaded at this point of time! + if not doc.is_loading: # type: ignore + # bind extension dictionary + if entity.extension_dict is not None: + xdict = entity.extension_dict + if xdict.has_valid_dictionary: + xdict.update_owner(entity.dxf.handle) + dictionary = xdict.dictionary + if not is_bound(dictionary, doc): + bind(dictionary, doc) + doc.objects.add_object(dictionary) + entity.post_bind_hook() + + +def unbind(entity: DXFEntity): + """Unbind `entity` from document and layout, but does not destroy the + entity. + + Turns `entity` into a virtual entity: no handle, no owner, no document. + """ + if entity.is_alive and not entity.is_virtual: + doc = entity.doc + if entity.dxf.owner is not None: + try: + layout = doc.layouts.get_layout_for_entity(entity) # type: ignore + except KeyError: + pass + else: + layout.unlink_entity(entity) # type: ignore + + process_sub_entities = getattr(entity, "process_sub_entities", None) + if process_sub_entities: + process_sub_entities(lambda e: unbind(e)) + + doc.entitydb.discard(entity) # type: ignore + entity.doc = None + + +def is_bound(entity: DXFEntity, doc: Drawing) -> bool: + """Returns ``True`` if `entity`is bound to DXF document `doc`.""" + if not entity.is_alive: + return False + if entity.is_virtual or entity.doc is not doc: + return False + assert doc.entitydb, "Missing entity database." + return entity.dxf.handle in doc.entitydb diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/entities/geodata.py b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/entities/geodata.py new file mode 100644 index 0000000000000000000000000000000000000000..ee24a20b462e150a4c0f9546620bb08347e8ea34 --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/entities/geodata.py @@ -0,0 +1,623 @@ +# Copyright (c) 2019-2023, Manfred Moitzi +# License: MIT-License +from __future__ import annotations +from typing import TYPE_CHECKING, Sequence, Iterable, Optional +from xml.etree import ElementTree +import math +import re +import logging + +from ezdxf.lldxf import validator +from ezdxf.lldxf.attributes import ( + DXFAttributes, + DefSubclass, + DXFAttr, + XType, + RETURN_DEFAULT, + group_code_mapping, +) +from ezdxf.lldxf.const import ( + SUBCLASS_MARKER, + DXFStructureError, + DXF2010, + DXFTypeError, + DXFValueError, + InvalidGeoDataException, +) +from ezdxf.lldxf.packedtags import VertexArray +from ezdxf.lldxf.tags import Tags, DXFTag +from ezdxf.math import NULLVEC, Z_AXIS, Y_AXIS, UVec, Vec3, Vec2, Matrix44 +from ezdxf.tools.text import split_mtext_string +from .dxfentity import base_class, SubclassProcessor +from .dxfobj import DXFObject +from .factory import register_entity +from .copy import default_copy, CopyNotSupported +from .. import units + +if TYPE_CHECKING: + from ezdxf.entities import DXFNamespace + from ezdxf.lldxf.tagwriter import AbstractTagWriter + +__all__ = ["GeoData", "MeshVertices"] +logger = logging.getLogger("ezdxf") +acdb_geo_data = DefSubclass( + "AcDbGeoData", + { + # 1 = R2009, but this release has no DXF version, + # 2 = R2010 + "version": DXFAttr(90, default=2), + # Handle to host block table record + "block_record_handle": DXFAttr(330, default="0"), + # 0 = unknown + # 1 = local grid + # 2 = projected grid + # 3 = geographic (latitude/longitude) + "coordinate_type": DXFAttr( + 70, + default=3, + validator=validator.is_in_integer_range(0, 4), + fixer=RETURN_DEFAULT, + ), + # Design point, reference point in WCS coordinates: + "design_point": DXFAttr(10, xtype=XType.point3d, default=NULLVEC), + # Reference point in coordinate system coordinates, valid only when + # coordinate type is Local Grid: + "reference_point": DXFAttr(11, xtype=XType.point3d, default=NULLVEC), + # Horizontal unit scale, factor which converts horizontal design coordinates + # to meters by multiplication: + "horizontal_unit_scale": DXFAttr( + 40, + default=1, + validator=validator.is_not_zero, + fixer=RETURN_DEFAULT, + ), + # Horizontal units per UnitsValue enumeration. Will be kUnitsUndefined if + # units specified by horizontal unit scale is not supported by AutoCAD + # enumeration: + "horizontal_units": DXFAttr(91, default=1), + # Vertical unit scale, factor which converts vertical design coordinates + # to meters by multiplication: + "vertical_unit_scale": DXFAttr(41, default=1), + # Vertical units per UnitsValue enumeration. Will be kUnitsUndefined if + # units specified by vertical unit scale is not supported by AutoCAD + # enumeration: + "vertical_units": DXFAttr(92, default=1), + "up_direction": DXFAttr( + 210, + xtype=XType.point3d, + default=Z_AXIS, + validator=validator.is_not_null_vector, + fixer=RETURN_DEFAULT, + ), + # North direction vector (2D) + # In DXF R2009 the group code 12 is used for source mesh points! + "north_direction": DXFAttr( + 12, + xtype=XType.point2d, + default=Y_AXIS, + validator=validator.is_not_null_vector, + fixer=RETURN_DEFAULT, + ), + # Scale estimation methods: + # 1 = None + # 2 = User specified scale factor; + # 3 = Grid scale at reference point; + # 4 = Prismoidal + "scale_estimation_method": DXFAttr( + 95, + default=1, + validator=validator.is_in_integer_range(0, 5), + fixer=RETURN_DEFAULT, + ), + "user_scale_factor": DXFAttr( + 141, + default=1, + validator=validator.is_not_zero, + fixer=RETURN_DEFAULT, + ), + # Bool flag specifying whether to do sea level correction: + "sea_level_correction": DXFAttr( + 294, + default=0, + validator=validator.is_integer_bool, + fixer=RETURN_DEFAULT, + ), + "sea_level_elevation": DXFAttr(142, default=0), + "coordinate_projection_radius": DXFAttr(143, default=0), + # 303, 303, ..., 301: Coordinate system definition string + "geo_rss_tag": DXFAttr(302, default="", optional=True), + "observation_from_tag": DXFAttr(305, default="", optional=True), + "observation_to_tag": DXFAttr(306, default="", optional=True), + "observation_coverage_tag": DXFAttr(307, default="", optional=True), + # 93: Number of Geo-Mesh points + # mesh definition: + # source mesh point (12, 22) repeat, mesh_point_count? for version == 1 + # target mesh point (13, 14) repeat, mesh_point_count? for version == 1 + # source mesh point (13, 23) repeat, mesh_point_count? for version > 1 + # target mesh point (14, 24) repeat, mesh_point_count? for version > 1 + # 96: # Number of faces + # face index 97 repeat, faces_count + # face index 98 repeat, faces_count + # face index 99 repeat, faces_count + }, +) +acdb_geo_data_group_codes = group_code_mapping(acdb_geo_data) +EPSG_3395 = """ + + + +WORLD-MERCATOR + + +CSQuadrantSimplified +1 + + + + + + +-180.75 +180.75 +-80.75 +84.75 + + + + +WGS84 + + +1 +Easting +E +East + + +2 +Northing +N +North + + + + +Mercator (variant B) +Longitude of natural origin0 +Standard Parallel0 +Scaling factor for coord differences1 +False easting0 +False northing0 + + + + +WORLD-MERCATOR +EPSG Code + + + +WGS84 +Greenwich +WGS84 + + +WGS84 +EPSG Code + + + +WGS84 +6.37814e+06 + +6.35675e+06 + + + +WGS84 +EPSG Code + + + +""" + + +class MeshVertices(VertexArray): + VERTEX_SIZE = 2 + + +def mesh_group_codes(version: int) -> tuple[int, int]: + return (12, 13) if version < 2 else (13, 14) + + +@register_entity +class GeoData(DXFObject): + """DXF GEODATA entity""" + + DXFTYPE = "GEODATA" + DXFATTRIBS = DXFAttributes(base_class, acdb_geo_data) + MIN_DXF_VERSION_FOR_EXPORT = DXF2010 + + # coordinate_type const + UNKNOWN = 0 + LOCAL_GRID = 1 + PROJECTED_GRID = 2 + GEOGRAPHIC = 3 + + # scale_estimation_method const + NONE = 1 + USER_SCALE = 2 + GRID_SCALE = 3 + PRISMOIDEAL = 4 + + def __init__(self) -> None: + super().__init__() + self.source_vertices = MeshVertices() + self.target_vertices = MeshVertices() + self.faces: list[Sequence[int]] = [] + self.coordinate_system_definition = "" + + def copy(self, copy_strategy=default_copy): + raise CopyNotSupported(f"Copying of {self.DXFTYPE} not supported.") + + def load_dxf_attribs( + self, processor: Optional[SubclassProcessor] = None + ) -> DXFNamespace: + dxf = super().load_dxf_attribs(processor) + if processor: + version = processor.detect_implementation_version( + subclass_index=1, + group_code=90, + default=2, + ) + tags = processor.fast_load_dxfattribs( + dxf, acdb_geo_data_group_codes, 1, log=False + ) + tags = self.load_coordinate_system_definition(tags) # type: ignore + if version > 1: + self.load_mesh_data(tags, version) + else: + # version 1 is not really supported, because the group codes are + # totally messed up! + logger.warning( + "GEODATA version 1 found, perhaps loaded data is incorrect" + ) + dxf.discard("north_direction") # group code issue!!! + return dxf + + def load_coordinate_system_definition(self, tags: Tags) -> Iterable[DXFTag]: + # 303, 303, 301, Coordinate system definition string, always XML? + lines = [] + for tag in tags: + if tag.code in (301, 303): + lines.append(tag.value.replace("^J", "\n")) + else: + yield tag + if len(lines): + self.coordinate_system_definition = "".join(lines) + + def load_mesh_data(self, tags: Iterable[DXFTag], version: int = 2): + # group codes of version 1 and 2 differ, see DXF reference R2009 + src, target = mesh_group_codes(version) + face_indices = {97, 98, 99} + face: list[int] = [] + for code, value in tags: + if code == src: + self.source_vertices.append(value) + elif code == target: + self.target_vertices.append(value) + elif code in face_indices: + if code == 97 and len(face): + if len(face) != 3: + raise DXFStructureError( + f"GEODATA face definition error: invalid index " + f"count {len(face)}." + ) + self.faces.append(tuple(face)) + face.clear() + face.append(value) + if face: # collect last face + self.faces.append(tuple(face)) + if len(self.source_vertices) != len(self.target_vertices): + raise DXFStructureError( + "GEODATA mesh definition error: source and target point count " + "does not match." + ) + + def export_entity(self, tagwriter: AbstractTagWriter) -> None: + """Export entity specific data as DXF tags.""" + super().export_entity(tagwriter) + tagwriter.write_tag2(SUBCLASS_MARKER, acdb_geo_data.name) + if self.dxf.version < 2: + logger.warning( + "exporting unsupported GEODATA version 1, this may corrupt " + "the DXF file!" + ) + self.dxf.export_dxf_attribs( + tagwriter, + [ + "version", + "block_record_handle", + "coordinate_type", + "design_point", + "reference_point", + "horizontal_unit_scale", + "horizontal_units", + "vertical_unit_scale", + "vertical_units", + "up_direction", + "north_direction", + "scale_estimation_method", + "user_scale_factor", + "sea_level_correction", + "sea_level_elevation", + "coordinate_projection_radius", + ], + ) + self.export_coordinate_system_definition(tagwriter) + self.dxf.export_dxf_attribs( + tagwriter, + [ + "geo_rss_tag", + "observation_from_tag", + "observation_to_tag", + "observation_coverage_tag", + ], + ) + self.export_mesh_data(tagwriter) + + def export_mesh_data(self, tagwriter: AbstractTagWriter): + if len(self.source_vertices) != len(self.target_vertices): + raise DXFStructureError( + "GEODATA mesh definition error: source and target point count " + "does not match." + ) + src, target = mesh_group_codes(self.dxf.version) + + tagwriter.write_tag2(93, len(self.source_vertices)) + for s, t in zip(self.source_vertices, self.target_vertices): + tagwriter.write_vertex(src, s) + tagwriter.write_vertex(target, t) + + tagwriter.write_tag2(96, len(self.faces)) + for face in self.faces: + if len(face) != 3: + raise DXFStructureError( + f"GEODATA face definition error: invalid index " + f"count {len(face)}." + ) + f1, f2, f3 = face + tagwriter.write_tag2(97, f1) + tagwriter.write_tag2(98, f2) + tagwriter.write_tag2(99, f3) + + def export_coordinate_system_definition(self, tagwriter: AbstractTagWriter): + text = self.coordinate_system_definition.replace("\n", "^J") + chunks = split_mtext_string(text, size=255) + if len(chunks) == 0: + chunks.append("") + while len(chunks) > 1: + tagwriter.write_tag2(303, chunks.pop(0)) + tagwriter.write_tag2(301, chunks[0]) + + def decoded_units(self) -> tuple[Optional[str], Optional[str]]: + return units.decode(self.dxf.horizontal_units), units.decode( + self.dxf.vertical_units + ) + + def get_crs(self) -> tuple[int, bool]: + """Returns the EPSG index and axis-ordering, axis-ordering is ``True`` + if fist axis is labeled "E" or "W" and ``False`` if first axis is + labeled "N" or "S". + + If axis-ordering is ``False`` the CRS is not compatible with the + ``__geo_interface__`` or GeoJSON (see chapter 3.1.1). + + Raises: + InvalidGeoDataException: for invalid or unknown XML data + + The EPSG number is stored in a tag like: + + .. code:: + + + OSGB1936.NationalGrid + EPSG Code + + + The axis-ordering is stored in a tag like: + + .. code:: + + + + 1 + Easting + E + east + + + 2 + Northing + N + north + + + + """ + definition = self.coordinate_system_definition + try: + # Remove namespaces so that tags can be searched without prefixing + # their namespace: + definition = _remove_xml_namespaces(definition) + root = ElementTree.fromstring(definition) + except ElementTree.ParseError: + raise InvalidGeoDataException( + "failed to parse coordinate_system_definition as xml" + ) + + crs = None + for alias in root.findall("Alias"): + try: + namespace = alias.find("Namespace").text # type: ignore + except AttributeError: + namespace = "" + + if alias.get("type") == "CoordinateSystem" and namespace == "EPSG Code": + try: + crs = int(alias.get("id")) # type: ignore + except ValueError: + raise InvalidGeoDataException( + f'invalid epsg number: {alias.get("id")}' + ) + break + + xy_ordering = None + for axis in root.findall(".//CoordinateSystemAxis"): + try: + axis_order = axis.find("AxisOrder").text # type: ignore + except AttributeError: + axis_order = "" + + if axis_order == "1": + try: + first_axis = axis.find("AxisAbbreviation").text # type: ignore + except AttributeError: + raise InvalidGeoDataException("first axis not defined") + + if first_axis in ("E", "W"): + xy_ordering = True + elif first_axis in ("N", "S"): + xy_ordering = False + else: + raise InvalidGeoDataException(f"unknown first axis: {first_axis}") + break + + if crs is None: + raise InvalidGeoDataException("no EPSG code associated with CRS") + elif xy_ordering is None: + raise InvalidGeoDataException("could not determine axis ordering") + else: + return crs, xy_ordering + + def get_crs_transformation( + self, *, no_checks: bool = False + ) -> tuple[Matrix44, int]: + """Returns the transformation matrix and the EPSG index to transform + WCS coordinates into CRS coordinates. Because of the lack of proper + documentation this method works only for tested configurations, set + argument `no_checks` to ``True`` to use the method for untested geodata + configurations, but the results may be incorrect. + + Supports only "Local Grid" transformation! + + Raises: + InvalidGeoDataException: for untested geodata configurations + + """ + epsg, xy_ordering = self.get_crs() + + if not no_checks: + if ( + self.dxf.coordinate_type != GeoData.LOCAL_GRID + or self.dxf.scale_estimation_method != GeoData.NONE + or not math.isclose(self.dxf.user_scale_factor, 1.0) + or self.dxf.sea_level_correction != 0 + or not math.isclose(self.dxf.sea_level_elevation, 0) + or self.faces + or not self.dxf.up_direction.isclose((0, 0, 1)) + or self.dxf.observation_coverage_tag != "" + or self.dxf.observation_from_tag != "" + or self.dxf.observation_to_tag != "" + or not xy_ordering + ): + raise InvalidGeoDataException( + f"Untested geodata configuration: " + f"{self.dxf.all_existing_dxf_attribs()}.\n" + f"You can try with no_checks=True but the " + f"results may be incorrect." + ) + + source = self.dxf.design_point # in CAD WCS coordinates + target = self.dxf.reference_point # in the CRS of the geodata + north = self.dxf.north_direction + + # -pi/2 because north is at pi/2 so if the given north is at pi/2, no + # rotation is necessary: + theta = -(math.atan2(north.y, north.x) - math.pi / 2) + transformation = ( + Matrix44.translate(-source.x, -source.y, 0) + @ Matrix44.scale( + self.dxf.horizontal_unit_scale, self.dxf.vertical_unit_scale, 1 + ) + @ Matrix44.z_rotate(theta) + @ Matrix44.translate(target.x, target.y, 0) + ) + return transformation, epsg + + def setup_local_grid( + self, + *, + design_point: UVec, + reference_point: UVec, + north_direction: UVec = (0, 1), + crs: str = EPSG_3395, + ) -> None: + """Setup local grid coordinate system. This method is designed to setup + CRS similar to `EPSG:3395 World Mercator`, the basic features of the + CRS should fulfill these assumptions: + + - base unit of reference coordinates is 1 meter + - right-handed coordinate system: +Y=north/+X=east/+Z=up + + The CRS string is not validated nor interpreted! + + .. hint:: + + The reference point must be a 2D cartesian map coordinate and not + a globe (lon/lat) coordinate like stored in GeoJSON or GPS data. + + Args: + design_point: WCS coordinates of the CRS reference point + reference_point: CRS reference point in 2D cartesian coordinates + north_direction: north direction a 2D vertex, default is (0, 1) + crs: Coordinate Reference System definition XML string, default is + the definition string for `EPSG:3395 World Mercator` + + """ + doc = self.doc + if doc is None: + raise DXFValueError("Valid DXF document required.") + wcs_units = doc.units + if units == 0: + raise DXFValueError( + "DXF document requires units to be set, " 'current state is "unitless".' + ) + meter_factor = units.METER_FACTOR[wcs_units] + if meter_factor is None: + raise DXFValueError(f"Unsupported document units: {wcs_units}") + unit_factor = 1.0 / meter_factor + # Default settings: + self.dxf.up_direction = Z_AXIS + self.dxf.observation_coverage_tag = "" + self.dxf.observation_from_tag = "" + self.dxf.observation_to_tag = "" + self.dxf.scale_estimation_method = GeoData.NONE + self.dxf.coordinate_type = GeoData.LOCAL_GRID + self.dxf.sea_level_correction = 0 + self.dxf.horizontal_units = wcs_units + # Factor from WCS -> CRS (m) e.g. 0.01 for horizontal_units==5 (cm), + # 1cm = 0.01m + self.dxf.horizontal_unit_scale = unit_factor + self.dxf.vertical_units = wcs_units + self.dxf.vertical_unit_scale = unit_factor + + # User settings: + self.dxf.design_point = Vec3(design_point) + self.dxf.reference_point = Vec3(reference_point) + self.dxf.north_direction = Vec2(north_direction) + self.coordinate_system_definition = str(crs) + + +def _remove_xml_namespaces(xml_string: str) -> str: + return re.sub('xmlns="[^"]*"', "", xml_string) diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/entities/gradient.py b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/entities/gradient.py new file mode 100644 index 0000000000000000000000000000000000000000..4140fc9423c677735ef34c21e861ee490befafe4 --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/entities/gradient.py @@ -0,0 +1,124 @@ +# Copyright (c) 2019-2022 Manfred Moitzi +# License: MIT License +from __future__ import annotations +from typing import Optional, TYPE_CHECKING +import enum +import math + +from ezdxf.colors import RGB, int2rgb, rgb2int +from ezdxf.lldxf.tags import Tags + +if TYPE_CHECKING: + from ezdxf.lldxf.tagwriter import AbstractTagWriter + +__all__ = ["Gradient", "GradientType"] + +GRADIENT_CODES = {450, 451, 452, 453, 460, 461, 462, 463, 470, 421, 63} + + +class GradientType(enum.IntEnum): + NONE = 0 + LINEAR = 1 + CYLINDER = 2 + INVCYLINDER = 3 + SPHERICAL = 4 + INVSPHERICAL = 5 + HEMISPHERICAL = 6 + INVHEMISPHERICAL = 7 + CURVED = 8 + INVCURVED = 9 + + +gradient_names = [ + "", + "LINEAR", + "CYLINDER", + "INVCYLINDER", + "SPHERICAL", + "INVSPHERICAL", + "HEMISPHERICAL", + "INVHEMISPHERICAL", + "CURVED", + "INVCURVED", +] + + +class Gradient: + def __init__(self, kind: int = 1, num: int = 2, type=GradientType.LINEAR): + # 1 for gradient by default, 0 for Solid + self.kind: int = kind + self.number_of_colors: int = num + self.color1: RGB = RGB(0, 0, 0) + self.aci1: Optional[int] = None + self.color2: RGB = RGB(255, 255, 255) + self.aci2: Optional[int] = None + + # 1 = use a smooth transition between color1 and a specified tint + self.one_color: int = 0 + + # Use degree NOT radians for rotation, because there should be one + # system for all angles: + self.rotation: float = 0.0 + self.centered: float = 0.0 + self.tint: float = 0.0 + self.name: str = gradient_names[type] + + @classmethod + def load_tags(cls, tags: Tags) -> Gradient: + gdata = cls() + assert tags[0].code == 450 + gdata.kind = tags[0].value # 0 = solid; 1 = gradient + first_color_value = True + first_aci_value = True + for code, value in tags: + if code == 460: + gdata.rotation = math.degrees(value) + elif code == 461: + gdata.centered = value + elif code == 452: + gdata.one_color = value + elif code == 462: + gdata.tint = value + elif code == 470: + gdata.name = value + elif code == 453: + gdata.number_of_colors = value + elif code == 63: + if first_aci_value: + gdata.aci1 = value + first_aci_value = False + else: + gdata.aci2 = value + elif code == 421: + if first_color_value: + gdata.color1 = int2rgb(value) + first_color_value = False + else: + gdata.color2 = int2rgb(value) + return gdata + + def export_dxf(self, tagwriter: AbstractTagWriter) -> None: + # Tag order matters! + write_tag = tagwriter.write_tag2 + write_tag(450, self.kind) # gradient or solid + write_tag(451, 0) # reserved for the future + + # rotation angle in radians: + write_tag(460, math.radians(self.rotation)) + write_tag(461, self.centered) + write_tag(452, self.one_color) + write_tag(462, self.tint) + write_tag(453, self.number_of_colors) + if self.number_of_colors > 0: + write_tag(463, 0) # first value, see DXF standard + if self.aci1 is not None: + # code 63 "color as ACI" could be left off + write_tag(63, self.aci1) + write_tag(421, rgb2int(self.color1)) # first color + if self.number_of_colors > 1: + write_tag(463, 1) # second value, see DXF standard + if self.aci2 is not None: + # code 63 "color as ACI" could be left off + write_tag(63, self.aci2) + write_tag(421, rgb2int(self.color2)) # second color + write_tag(470, self.name) diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/entities/hatch.py b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/entities/hatch.py new file mode 100644 index 0000000000000000000000000000000000000000..b2c633954c22b0b8e268d141b804c8bfa2832594 --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/entities/hatch.py @@ -0,0 +1,323 @@ +# Copyright (c) 2019-2022 Manfred Moitzi +# License: MIT License +from __future__ import annotations +from typing import TYPE_CHECKING, Iterable, Optional + +from ezdxf.lldxf import const +from ezdxf.lldxf import validator +from ezdxf.lldxf.attributes import ( + DXFAttr, + DXFAttributes, + DefSubclass, + XType, + RETURN_DEFAULT, + group_code_mapping, +) +from ezdxf.lldxf.tags import Tags +from ezdxf.math import NULLVEC, Z_AXIS +from .boundary_paths import AbstractBoundaryPath +from .dxfentity import base_class +from .dxfgfx import acdb_entity +from .factory import register_entity +from .polygon import DXFPolygon + +if TYPE_CHECKING: + from ezdxf.colors import RGB + from ezdxf.document import Drawing + from ezdxf.entities import DXFEntity + from ezdxf.lldxf.tagwriter import AbstractTagWriter + + +__all__ = ["Hatch"] + + +acdb_hatch = DefSubclass( + "AcDbHatch", + { + # This subclass can also represent a MPolygon, whatever this is, never seen + # such a MPolygon in the wild. + # x- and y-axis always equal 0, z-axis represents the elevation: + "elevation": DXFAttr(10, xtype=XType.point3d, default=NULLVEC), + "extrusion": DXFAttr( + 210, + xtype=XType.point3d, + default=Z_AXIS, + validator=validator.is_not_null_vector, + fixer=RETURN_DEFAULT, + ), + # Hatch pattern name: + "pattern_name": DXFAttr(2, default="SOLID"), + # HATCH: Solid fill flag: + # 0 = pattern fill + # 1 = solid fill + "solid_fill": DXFAttr( + 70, + default=1, + validator=validator.is_integer_bool, + fixer=RETURN_DEFAULT, + ), + # HATCH: associativity flag + # 0 = non-associative + # 1 = associative + "associative": DXFAttr( + 71, + default=0, + validator=validator.is_integer_bool, + fixer=RETURN_DEFAULT, + ), + # 91: Number of boundary paths (loops) + # following: Boundary path data. Repeats number of times specified by + # code 91. See Boundary Path Data + # Hatch style: + # 0 = Hatch “odd parity” area (Normal style) + # 1 = Hatch outermost area only (Outer style) + # 2 = Hatch through entire area (Ignore style) + "hatch_style": DXFAttr( + 75, + default=const.HATCH_STYLE_NESTED, + validator=validator.is_in_integer_range(0, 3), + fixer=RETURN_DEFAULT, + ), + # Hatch pattern type: + # 0 = User-defined + # 1 = Predefined + # 2 = Custom + "pattern_type": DXFAttr( + 76, + default=const.HATCH_TYPE_PREDEFINED, + validator=validator.is_in_integer_range(0, 3), + fixer=RETURN_DEFAULT, + ), + # Hatch pattern angle (pattern fill only) in degrees: + "pattern_angle": DXFAttr(52, default=0), + # Hatch pattern scale or spacing (pattern fill only): + "pattern_scale": DXFAttr( + 41, + default=1, + validator=validator.is_not_zero, + fixer=RETURN_DEFAULT, + ), + # Hatch pattern double flag (pattern fill only): + # 0 = not double + # 1 = double + "pattern_double": DXFAttr( + 77, + default=0, + validator=validator.is_integer_bool, + fixer=RETURN_DEFAULT, + ), + # 78: Number of pattern definition lines + # following: Pattern line data. Repeats number of times specified by + # code 78. See Pattern Data + # Pixel size used to determine the density to perform various intersection + # and ray casting operations in hatch pattern computation for associative + # hatches and hatches created with the Flood method of hatching + "pixel_size": DXFAttr(47, optional=True), + # Number of seed points + "n_seed_points": DXFAttr( + 98, + default=0, + validator=validator.is_greater_or_equal_zero, + fixer=RETURN_DEFAULT, + ), + # 10, 20: Seed point (in OCS) 2D point (multiple entries) + # 450 Indicates solid hatch or gradient; if solid hatch, the values for the + # remaining codes are ignored but must be present. Optional; + # + # if code 450 is in the file, then the following codes must be in the + # file: 451, 452, 453, 460, 461, 462, and 470. + # If code 450 is not in the file, then the following codes must not be + # in the file: 451, 452, 453, 460, 461, 462, and 470 + # + # 0 = Solid hatch + # 1 = Gradient + # + # 451 Zero is reserved for future use + # 452 Records how colors were defined and is used only by dialog code: + # + # 0 = Two-color gradient + # 1 = Single-color gradient + # + # 453 Number of colors: + # + # 0 = Solid hatch + # 2 = Gradient + # + # 460 Rotation angle in radians for gradients (default = 0, 0) + # 461 Gradient definition; corresponds to the Centered option on the + # Gradient Tab of the Boundary Hatch and Fill dialog box. Each gradient + # has two definitions, shifted and non-shifted. A Shift value describes + # the blend of the two definitions that should be used. A value of 0.0 + # means only the non-shifted version should be used, and a value of 1.0 + # means that only the shifted version should be used. + # + # 462 Color tint value used by dialog code (default = 0, 0; range is 0.0 to + # 1.0). The color tint value is a gradient color and controls the degree + # of tint in the dialog when the Hatch group code 452 is set to 1. + # + # 463 Reserved for future use: + # + # 0 = First value + # 1 = Second value + # + # 470 String (default = LINEAR) + }, +) +acdb_hatch_group_code = group_code_mapping(acdb_hatch) + + +@register_entity +class Hatch(DXFPolygon): + """DXF HATCH entity""" + + DXFTYPE = "HATCH" + DXFATTRIBS = DXFAttributes(base_class, acdb_entity, acdb_hatch) + MIN_DXF_VERSION_FOR_EXPORT = const.DXF2000 + LOAD_GROUP_CODES = acdb_hatch_group_code + + def export_entity(self, tagwriter: AbstractTagWriter) -> None: + """Export entity specific data as DXF tags.""" + super().export_entity(tagwriter) + tagwriter.write_tag2(const.SUBCLASS_MARKER, acdb_hatch.name) + self.dxf.export_dxf_attribs( + tagwriter, + [ + "elevation", + "extrusion", + "pattern_name", + "solid_fill", + "associative", + ], + ) + self.paths.export_dxf(tagwriter, self.dxftype()) + self.dxf.export_dxf_attribs(tagwriter, ["hatch_style", "pattern_type"]) + if self.pattern: + self.dxf.export_dxf_attribs( + tagwriter, ["pattern_angle", "pattern_scale", "pattern_double"] + ) + self.pattern.export_dxf(tagwriter) + self.dxf.export_dxf_attribs(tagwriter, ["pixel_size"]) + self.export_seeds(tagwriter) + if self.gradient and tagwriter.dxfversion > const.DXF2000: + self.gradient.export_dxf(tagwriter) + + def load_seeds(self, tags: Tags) -> Tags: + try: + start_index = tags.tag_index(98) + except const.DXFValueError: + return tags + seed_data = tags.collect_consecutive_tags( + {98, 10, 20}, start=start_index + ) + + # Remove seed data from tags: + del tags[start_index : start_index + len(seed_data) + 1] + + # Just process vertices with group code 10 + self.seeds = [value for code, value in seed_data if code == 10] + return tags + + def export_seeds(self, tagwriter: AbstractTagWriter): + tagwriter.write_tag2(98, len(self.seeds)) + for seed in self.seeds: + tagwriter.write_vertex(10, seed[:2]) + + def remove_dependencies(self, other: Optional[Drawing] = None) -> None: + """Remove all dependencies from actual document. (internal API)""" + if not self.is_alive: + return + + super().remove_dependencies() + self.remove_association() + + def remove_association(self): + """Remove associated path elements.""" + if self.dxf.associative: + self.dxf.associative = 0 + for path in self.paths: + path.source_boundary_objects = [] + + def set_solid_fill( + self, color: int = 7, style: int = 1, rgb: Optional[RGB] = None + ): + """Set the solid fill mode and removes all gradient and pattern fill related + data. + + Args: + color: :ref:`ACI`, (0 = BYBLOCK; 256 = BYLAYER) + style: hatch style (0 = normal; 1 = outer; 2 = ignore) + rgb: true color value as (r, g, b)-tuple - has higher priority + than `color`. True color support requires DXF R2000. + + """ + # remove existing gradient and pattern fill + self.gradient = None + self.pattern = None + self.dxf.solid_fill = 1 + + # if true color is present, the color attribute is ignored + self.dxf.color = color + self.dxf.hatch_style = style + self.dxf.pattern_name = "SOLID" + self.dxf.pattern_type = const.HATCH_TYPE_PREDEFINED + if rgb is not None: + self.rgb = rgb + + def associate( + self, path: AbstractBoundaryPath, entities: Iterable[DXFEntity] + ): + """Set association from hatch boundary `path` to DXF geometry `entities`. + + A HATCH entity can be associative to a base geometry, this association + is **not** maintained nor verified by `ezdxf`, so if you modify the base + geometry the geometry of the boundary path is not updated and no + verification is done to check if the associated geometry matches + the boundary path, this opens many possibilities to create + invalid DXF files: USE WITH CARE! + + """ + # I don't see this as a time critical operation, do as much checks as + # needed to avoid invalid DXF files. + if not self.is_alive: + raise const.DXFStructureError("HATCH entity is destroyed") + + doc = self.doc + owner = self.dxf.owner + handle = self.dxf.handle + if doc is None or owner is None or handle is None: + raise const.DXFStructureError( + "virtual entity can not have associated entities" + ) + + for entity in entities: + if not entity.is_alive or entity.is_virtual: + raise const.DXFStructureError( + "associated entity is destroyed or a virtual entity" + ) + if doc is not entity.doc: + raise const.DXFStructureError( + "associated entity is from a different document" + ) + if owner != entity.dxf.owner: + raise const.DXFStructureError( + "associated entity is from a different layout" + ) + + path.source_boundary_objects.append(entity.dxf.handle) + entity.append_reactor_handle(handle) + self.dxf.associative = 1 if len(path.source_boundary_objects) else 0 + + def set_seed_points(self, points: Iterable[tuple[float, float]]) -> None: + """Set seed points, `points` is an iterable of (x, y)-tuples. + I don't know why there can be more than one seed point. + All points in :ref:`OCS` (:attr:`Hatch.dxf.elevation` is the Z value) + + """ + points = list(points) + if len(points) < 1: + raise const.DXFValueError( + "Argument points should be an iterable of 2D points and requires" + " at least one point." + ) + self.seeds = list(points) + self.dxf.n_seed_points = len(self.seeds) diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/entities/helix.py b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/entities/helix.py new file mode 100644 index 0000000000000000000000000000000000000000..642f5ceb806b326ef4e5c865563cf94cc277847f --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/entities/helix.py @@ -0,0 +1,122 @@ +# Copyright (c) 2019-2022 Manfred Moitzi +# License: MIT License +from __future__ import annotations +from typing import TYPE_CHECKING, Optional +from ezdxf.lldxf import validator +from ezdxf.lldxf.attributes import ( + DXFAttr, + DXFAttributes, + DefSubclass, + XType, + RETURN_DEFAULT, + group_code_mapping, +) +from ezdxf.lldxf.const import SUBCLASS_MARKER +from ezdxf.math import NULLVEC, X_AXIS, Z_AXIS +from .spline import Spline, acdb_spline +from .dxfentity import base_class, SubclassProcessor +from .dxfgfx import acdb_entity +from .factory import register_entity + +if TYPE_CHECKING: + from ezdxf.entities import DXFNamespace + from ezdxf.lldxf.tagwriter import AbstractTagWriter + from ezdxf.math import Matrix44 + +__all__ = ["Helix"] + +acdb_helix = DefSubclass( + "AcDbHelix", + { + "major_release_number": DXFAttr(90, default=29), + "maintenance_release_number": DXFAttr(91, default=63), + "axis_base_point": DXFAttr(10, xtype=XType.point3d, default=NULLVEC), + "start_point": DXFAttr( + 11, + xtype=XType.point3d, + default=X_AXIS, + fixer=RETURN_DEFAULT, + ), + "axis_vector": DXFAttr( + 12, + xtype=XType.point3d, + default=Z_AXIS, + validator=validator.is_not_null_vector, + fixer=RETURN_DEFAULT, + ), + # base radius = (start-point - axis_base_point).magnitude + "radius": DXFAttr(40, default=1), # top radius + "turns": DXFAttr(41, default=1), + "turn_height": DXFAttr(42, default=1), + # Handedness: + # 0 = left + # 1 = right + "handedness": DXFAttr( + 290, + default=1, + validator=validator.is_integer_bool, + fixer=RETURN_DEFAULT, + ), + # Constrain type: + # 0 = Constrain turn height + # 1 = Constrain turns + # 2 = Constrain height + "constrain": DXFAttr( + 280, + default=1, + validator=validator.is_in_integer_range(0, 3), + fixer=RETURN_DEFAULT, + ), + }, +) +acdb_helix_group_codes = group_code_mapping(acdb_helix) + + +@register_entity +class Helix(Spline): + """DXF HELIX entity""" + + DXFTYPE = "HELIX" + DXFATTRIBS = DXFAttributes(base_class, acdb_entity, acdb_spline, acdb_helix) + + def load_dxf_attribs( + self, processor: Optional[SubclassProcessor] = None + ) -> DXFNamespace: + dxf = super().load_dxf_attribs(processor) + if processor: + processor.fast_load_dxfattribs( + dxf, acdb_helix_group_codes, 3, recover=True + ) + return dxf + + def export_entity(self, tagwriter: AbstractTagWriter) -> None: + """Export entity specific data as DXF tags.""" + super().export_entity(tagwriter) + tagwriter.write_tag2(SUBCLASS_MARKER, acdb_helix.name) + self.dxf.export_dxf_attribs( + tagwriter, + [ + "major_release_number", + "maintenance_release_number", + "axis_base_point", + "start_point", + "axis_vector", + "radius", + "turns", + "turn_height", + "handedness", + "constrain", + ], + ) + + def transform(self, m: Matrix44) -> Helix: + """Transform the HELIX entity by transformation matrix `m` inplace.""" + super().transform(m) + self.dxf.axis_base_point = m.transform(self.dxf.axis_base_point) + self.dxf.axis_vector = m.transform_direction(self.dxf.axis_vector) + self.dxf.start_point = m.transform(self.dxf.start_point) + self.dxf.radius = m.transform_direction( + (self.dxf.radius, 0, 0) + ).magnitude + self.post_transform(m) + return self diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/entities/idbuffer.py b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/entities/idbuffer.py new file mode 100644 index 0000000000000000000000000000000000000000..b9cf44be5eb66d0c32ae4c33881537c4d1105b42 --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/entities/idbuffer.py @@ -0,0 +1,139 @@ +# Copyright (c) 2019-2023, Manfred Moitzi +# License: MIT-License +from __future__ import annotations +from typing import TYPE_CHECKING, Optional +from typing_extensions import Self +from ezdxf.lldxf.const import SUBCLASS_MARKER, DXFStructureError +from ezdxf.lldxf.attributes import ( + DXFAttributes, + DefSubclass, + DXFAttr, + group_code_mapping, +) +from .dxfentity import base_class, SubclassProcessor +from .dxfobj import DXFObject +from .factory import register_entity +from .copy import default_copy + +if TYPE_CHECKING: + from ezdxf.entities import DXFNamespace, DXFEntity + from ezdxf.lldxf.tagwriter import AbstractTagWriter + from ezdxf.lldxf.tags import Tags + +__all__ = ["IDBuffer", "FieldList", "LayerFilter"] + +acdb_id_buffer = DefSubclass("AcDbIdBuffer", {}) + + +@register_entity +class IDBuffer(DXFObject): + """DXF IDBUFFER entity""" + + DXFTYPE = "IDBUFFER" + DXFATTRIBS = DXFAttributes(base_class, acdb_id_buffer) + + def __init__(self) -> None: + super().__init__() + self.handles: list[str] = [] + + def copy_data(self, entity: Self, copy_strategy=default_copy) -> None: + """Copy handles""" + assert isinstance(entity, IDBuffer) + entity.handles = list(self.handles) + + def load_dxf_attribs( + self, processor: Optional[SubclassProcessor] = None + ) -> DXFNamespace: + dxf = super().load_dxf_attribs(processor) + if processor: + if len(processor.subclasses) < 2: + raise DXFStructureError( + f"Missing required subclass in IDBUFFER(#{dxf.handle})" + ) + self.load_handles(processor.subclasses[1]) + return dxf + + def load_handles(self, tags: Tags): + self.handles = [value for code, value in tags if code == 330] + + def export_entity(self, tagwriter: AbstractTagWriter) -> None: + """Export entity specific data as DXF tags.""" + super().export_entity(tagwriter) + tagwriter.write_tag2(SUBCLASS_MARKER, acdb_id_buffer.name) + self.export_handles(tagwriter) + + def export_handles(self, tagwriter: AbstractTagWriter): + for handle in self.handles: + tagwriter.write_tag2(330, handle) + + +acdb_id_set = DefSubclass( + "AcDbIdSet", + { + "flags": DXFAttr(90, default=0), # not documented by Autodesk + }, +) +acdb_id_set_group_codes = group_code_mapping(acdb_id_set) +acdb_field_list = DefSubclass("AcDbFieldList", {}) + + +@register_entity +class FieldList(IDBuffer): + """DXF FIELDLIST entity""" + + DXFTYPE = "FIELDLIST" + DXFATTRIBS = DXFAttributes(base_class, acdb_id_set, acdb_field_list) + + def load_dxf_attribs( + self, processor: Optional[SubclassProcessor] = None + ) -> DXFNamespace: + dxf = super(DXFObject, self).load_dxf_attribs(processor) + if processor: + if len(processor.subclasses) < 3: + raise DXFStructureError( + f"Missing required subclass in FIELDLIST(#{dxf.handle})" + ) + processor.fast_load_dxfattribs(dxf, acdb_id_set_group_codes, 1) + # Load field list: + self.load_handles(processor.subclasses[1]) + return dxf + + def export_entity(self, tagwriter: AbstractTagWriter) -> None: + """Export entity specific data as DXF tags.""" + super(DXFObject, self).export_entity(tagwriter) + tagwriter.write_tag2(SUBCLASS_MARKER, acdb_id_set.name) + self.dxf.export_dxf_attribs(tagwriter, "flags") + self.export_handles(tagwriter) + tagwriter.write_tag2(SUBCLASS_MARKER, acdb_field_list.name) + + +acdb_filter = DefSubclass("AcDbFilter", {}) +acdb_layer_filter = DefSubclass("AcDbLayerFilter", {}) + + +@register_entity +class LayerFilter(IDBuffer): + """DXF LAYER_FILTER entity""" + + DXFTYPE = "LAYER_FILTER" + DXFATTRIBS = DXFAttributes(base_class, acdb_filter, acdb_layer_filter) + + def load_dxf_attribs( + self, processor: Optional[SubclassProcessor] = None + ) -> DXFNamespace: + dxf = super(DXFObject, self).load_dxf_attribs(processor) + if processor: + if len(processor.subclasses) < 3: + raise DXFStructureError( + f"Missing required subclass in LAYER_FILTER(#{dxf.handle})" + ) + # Load layer filter: + self.load_handles(processor.subclasses[2]) + return dxf + + def export_entity(self, tagwriter: AbstractTagWriter) -> None: + """Export entity specific data as DXF tags.""" + super(DXFObject, self).export_entity(tagwriter) + tagwriter.write_tag2(SUBCLASS_MARKER, acdb_filter.name) + tagwriter.write_tag2(SUBCLASS_MARKER, acdb_layer_filter.name) + self.export_handles(tagwriter) diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/entities/image.py b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/entities/image.py new file mode 100644 index 0000000000000000000000000000000000000000..5abc3fbc2415d63cd68cdca998d45ad5525c08f2 --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/entities/image.py @@ -0,0 +1,760 @@ +# Copyright (c) 2019-2024 Manfred Moitzi +# License: MIT License +from __future__ import annotations + +import os +import pathlib +from typing import ( + TYPE_CHECKING, + Iterable, + cast, + Optional, + Callable, + Union, + Type, +) +from typing_extensions import Self + +import logging +from ezdxf.lldxf import validator +from ezdxf.lldxf.attributes import ( + DXFAttr, + DXFAttributes, + DefSubclass, + XType, + RETURN_DEFAULT, + group_code_mapping, +) +from ezdxf.lldxf.const import SUBCLASS_MARKER, DXF2000, DXF2010 +from ezdxf.math import Vec3, Vec2, BoundingBox2d, UVec, Matrix44 +from .dxfentity import base_class, SubclassProcessor +from .dxfgfx import DXFGraphic, acdb_entity +from .dxfobj import DXFObject +from .factory import register_entity +from .copy import default_copy + +if TYPE_CHECKING: + from ezdxf.audit import Auditor + from ezdxf.entities import DXFNamespace, DXFEntity, Dictionary + from ezdxf.lldxf.tagwriter import AbstractTagWriter + from ezdxf.lldxf.types import DXFTag + from ezdxf.document import Drawing + from ezdxf import xref + +__all__ = ["Image", "ImageDef", "ImageDefReactor", "RasterVariables", "Wipeout"] +logger = logging.getLogger("ezdxf") + + +class ImageBase(DXFGraphic): + """DXF IMAGE entity""" + + DXFTYPE = "IMAGEBASE" + _CLS_GROUP_CODES: dict[int, Union[str, list[str]]] = dict() + _SUBCLASS_NAME = "dummy" + MIN_DXF_VERSION_FOR_EXPORT = DXF2000 + + SHOW_IMAGE = 1 + SHOW_IMAGE_WHEN_NOT_ALIGNED = 2 + USE_CLIPPING_BOUNDARY = 4 + USE_TRANSPARENCY = 8 + + def __init__(self) -> None: + super().__init__() + # Boundary/Clipping path coordinates: + # 0/0 is in the Left/Top corner of the image! + # x-coordinates increases in u_pixel vector direction + # y-coordinates increases against the v_pixel vector! + # see also WCS coordinate calculation + self._boundary_path: list[Vec2] = [] + + def copy_data(self, entity: Self, copy_strategy=default_copy) -> None: + assert isinstance(entity, ImageBase) + entity._boundary_path = list(self._boundary_path) + + def post_new_hook(self) -> None: + super().post_new_hook() + self.reset_boundary_path() + + def load_dxf_attribs( + self, processor: Optional[SubclassProcessor] = None + ) -> DXFNamespace: + dxf = super().load_dxf_attribs(processor) + if processor: + path_tags = processor.subclasses[2].pop_tags(codes=(14,)) + self.load_boundary_path(path_tags) + processor.fast_load_dxfattribs(dxf, self._CLS_GROUP_CODES, 2, recover=True) + if len(self.boundary_path) < 2: # something is wrong + self.dxf = dxf + self.reset_boundary_path() + return dxf + + def load_boundary_path(self, tags: Iterable[DXFTag]): + self._boundary_path = [Vec2(value) for code, value in tags if code == 14] + + def export_entity(self, tagwriter: AbstractTagWriter) -> None: + """Export entity specific data as DXF tags.""" + super().export_entity(tagwriter) + tagwriter.write_tag2(SUBCLASS_MARKER, self._SUBCLASS_NAME) + self.dxf.count_boundary_points = len(self.boundary_path) + self.dxf.export_dxf_attribs( + tagwriter, + [ + "class_version", + "insert", + "u_pixel", + "v_pixel", + "image_size", + "image_def_handle", + "flags", + "clipping", + "brightness", + "contrast", + "fade", + "image_def_reactor_handle", + "clipping_boundary_type", + "count_boundary_points", + ], + ) + self.export_boundary_path(tagwriter) + if tagwriter.dxfversion >= DXF2010: + self.dxf.export_dxf_attribs(tagwriter, "clip_mode") + + def export_boundary_path(self, tagwriter: AbstractTagWriter): + for vertex in self.boundary_path: + tagwriter.write_vertex(14, vertex) + + @property + def boundary_path(self): + """Returns the boundray path in raw form in pixel coordinates. + + A list of vertices as pixel coordinates, Two vertices describe a + rectangle, lower left corner is (-0.5, -0.5) and upper right corner + is (ImageSizeX-0.5, ImageSizeY-0.5), more than two vertices is a + polygon as clipping path. All vertices as pixel coordinates. (read/write) + """ + return self._boundary_path + + @boundary_path.setter + def boundary_path(self, vertices: Iterable[UVec]) -> None: + self.set_boundary_path(vertices) + + def set_boundary_path(self, vertices: Iterable[UVec]) -> None: + """Set boundary path to `vertices`. Two vertices describe a rectangle + (lower left and upper right corner), more than two vertices is a polygon + as clipping path. + """ + _vertices = Vec2.list(vertices) + if len(_vertices): + if len(_vertices) > 2 and not _vertices[-1].isclose(_vertices[0]): + # Close path, otherwise AutoCAD crashes + _vertices.append(_vertices[0]) + self._boundary_path = _vertices + self.set_flag_state(self.USE_CLIPPING_BOUNDARY, state=True) + self.dxf.clipping = 1 + self.dxf.clipping_boundary_type = 1 if len(_vertices) < 3 else 2 + self.dxf.count_boundary_points = len(self._boundary_path) + else: + self.reset_boundary_path() + + def reset_boundary_path(self) -> None: + """Reset boundary path to the default rectangle [(-0.5, -0.5), + (ImageSizeX-0.5, ImageSizeY-0.5)]. + """ + lower_left_corner = Vec2(-0.5, -0.5) + upper_right_corner = Vec2(self.dxf.image_size) + lower_left_corner + self._boundary_path = [lower_left_corner, upper_right_corner] + self.set_flag_state(Image.USE_CLIPPING_BOUNDARY, state=False) + self.dxf.clipping = 0 + self.dxf.clipping_boundary_type = 1 + self.dxf.count_boundary_points = 2 + + def transform(self, m: Matrix44) -> Self: + """Transform IMAGE entity by transformation matrix `m` inplace.""" + self.dxf.insert = m.transform(self.dxf.insert) + self.dxf.u_pixel = m.transform_direction(self.dxf.u_pixel) + self.dxf.v_pixel = m.transform_direction(self.dxf.v_pixel) + self.post_transform(m) + return self + + def get_wcs_transform(self) -> Matrix44: + m = Matrix44() + m.set_row(0, Vec3(self.dxf.u_pixel)) + m.set_row(1, Vec3(self.dxf.v_pixel)) + m.set_row(3, Vec3(self.dxf.insert)) + return m + + def pixel_boundary_path(self) -> list[Vec2]: + """Returns the boundary path as closed loop in pixel coordinates. Resolves the + simple form of two vertices as a rectangle. The image coordinate system has an + inverted y-axis and the top-left corner is (0, 0). + + .. versionchanged:: 1.2.0 + + renamed from :meth:`boundray_path_ocs()` + + """ + boundary_path = self.boundary_path + if len(boundary_path) == 2: # rectangle + p0, p1 = boundary_path + boundary_path = [p0, Vec2(p1.x, p0.y), p1, Vec2(p0.x, p1.y)] + if not boundary_path[0].isclose(boundary_path[-1]): + boundary_path.append(boundary_path[0]) + return boundary_path + + def boundary_path_wcs(self) -> list[Vec3]: + """Returns the boundary/clipping path in WCS coordinates. + + It's recommended to acquire the clipping path as :class:`~ezdxf.path.Path` object + by the :func:`~ezdxf.path.make_path` function:: + + from ezdxf.path import make_path + + image = ... # get image entity + clipping_path = make_path(image) + + """ + + u = Vec3(self.dxf.u_pixel) + v = Vec3(self.dxf.v_pixel) + origin = Vec3(self.dxf.insert) + origin += u * 0.5 - v * 0.5 + height = self.dxf.image_size.y + # Boundary/Clipping path origin 0/0 is in the Left/Top corner of the image! + vertices = [ + origin + (u * p.x) + (v * (height - p.y)) + for p in self.pixel_boundary_path() + ] + return vertices + + def destroy(self) -> None: + if not self.is_alive: + return + + del self._boundary_path + super().destroy() + + +acdb_image = DefSubclass( + "AcDbRasterImage", + { + "class_version": DXFAttr(90, dxfversion=DXF2000, default=0), + "insert": DXFAttr(10, xtype=XType.point3d), + # U-vector of a single pixel (points along the visual bottom of the image, + # starting at the insertion point) + "u_pixel": DXFAttr(11, xtype=XType.point3d), + # V-vector of a single pixel (points along the visual left side of the + # image, starting at the insertion point) + "v_pixel": DXFAttr(12, xtype=XType.point3d), + # Image size in pixels + "image_size": DXFAttr(13, xtype=XType.point2d), + # Hard reference to image def object + "image_def_handle": DXFAttr(340), + # Image display properties: + # 1 = Show image + # 2 = Show image when not aligned with screen + # 4 = Use clipping boundary + # 8 = Transparency is on + "flags": DXFAttr(70, default=3), + # Clipping state: + # 0 = Off + # 1 = On + "clipping": DXFAttr( + 280, + default=0, + validator=validator.is_integer_bool, + fixer=RETURN_DEFAULT, + ), + # Brightness value (0-100; default = 50) + "brightness": DXFAttr( + 281, + default=50, + validator=validator.is_in_integer_range(0, 101), + fixer=validator.fit_into_integer_range(0, 101), + ), + # Contrast value (0-100; default = 50) + "contrast": DXFAttr( + 282, + default=50, + validator=validator.is_in_integer_range(0, 101), + fixer=validator.fit_into_integer_range(0, 101), + ), + # Fade value (0-100; default = 0) + "fade": DXFAttr( + 283, + default=0, + validator=validator.is_in_integer_range(0, 101), + fixer=validator.fit_into_integer_range(0, 101), + ), + # Hard reference to image def reactor object, not required by AutoCAD + "image_def_reactor_handle": DXFAttr(360), + # Clipping boundary type: + # 1 = Rectangular + # 2 = Polygonal + "clipping_boundary_type": DXFAttr( + 71, + default=1, + validator=validator.is_one_of({1, 2}), + fixer=RETURN_DEFAULT, + ), + # Number of clip boundary vertices that follow + "count_boundary_points": DXFAttr(91), + # Clip mode: + # 0 = outside + # 1 = inside mode + "clip_mode": DXFAttr( + 290, + dxfversion=DXF2010, + default=0, + validator=validator.is_integer_bool, + fixer=RETURN_DEFAULT, + ), + # boundary path coordinates are pixel coordinates NOT drawing units + }, +) +acdb_image_group_codes = group_code_mapping(acdb_image) + + +@register_entity +class Image(ImageBase): + """DXF IMAGE entity""" + + DXFTYPE = "IMAGE" + DXFATTRIBS = DXFAttributes(base_class, acdb_entity, acdb_image) + _CLS_GROUP_CODES = acdb_image_group_codes + _SUBCLASS_NAME = acdb_image.name # type: ignore + DEFAULT_ATTRIBS = {"layer": "0", "flags": 3} + + def __init__(self) -> None: + super().__init__() + self._boundary_path: list[Vec2] = [] + self._image_def: Optional[ImageDef] = None + self._image_def_reactor: Optional[ImageDefReactor] = None + + @classmethod + def new( + cls: Type[Image], + handle: Optional[str] = None, + owner: Optional[str] = None, + dxfattribs: Optional[dict] = None, + doc: Optional[Drawing] = None, + ) -> Image: + dxfattribs = dxfattribs or {} + # 'image_def' is not a real DXF attribute (image_def_handle) + image_def = dxfattribs.pop("image_def", None) + image_size = (1, 1) + if image_def and image_def.is_alive: + image_size = image_def.dxf.image_size + dxfattribs.setdefault("image_size", image_size) + + image = cast("Image", super().new(handle, owner, dxfattribs, doc)) + image.image_def = image_def + return image + + def copy_data(self, entity: Self, copy_strategy=default_copy) -> None: + assert isinstance(entity, Image) + super().copy_data(entity, copy_strategy=copy_strategy) + # Each IMAGE has its own ImageDefReactor object, which will be created by + # binding the copy to the document. + entity.dxf.discard("image_def_reactor_handle") + entity._image_def_reactor = None + # shared IMAGE_DEF + entity._image_def = self._image_def + + def post_bind_hook(self) -> None: + # Document in LOAD process -> post_load_hook() + if self.doc.is_loading: # type: ignore + return + if self._image_def_reactor: # ImageDefReactor already exist + return + # The new Image was created by ezdxf and the ImageDefReactor + # object does not exist: + self._create_image_def_reactor() + + def post_load_hook(self, doc: Drawing) -> Optional[Callable]: + super().post_load_hook(doc) + db = doc.entitydb + self._image_def = db.get(self.dxf.get("image_def_handle", None)) # type: ignore + if self._image_def is None: + # unrecoverable structure error + self.destroy() + return None + + self._image_def_reactor = db.get( # type: ignore + self.dxf.get("image_def_reactor_handle", None) + ) + if self._image_def_reactor is None: + # Image and ImageDef exist - this is recoverable by creating + # an ImageDefReactor, but the objects section does not exist yet! + # Return a post init command: + return self._fix_missing_image_def_reactor + return None + + def _fix_missing_image_def_reactor(self): + try: + self._create_image_def_reactor() + except Exception as e: + logger.exception( + f"An exception occurred while executing fixing command for " + f"{str(self)}, destroying entity.", + exc_info=e, + ) + self.destroy() + return + logger.debug(f"Created missing ImageDefReactor for {str(self)}") + + def _create_image_def_reactor(self): + # ImageDef -> ImageDefReactor -> Image + image_def_reactor = self.doc.objects.add_image_def_reactor(self.dxf.handle) + reactor_handle = image_def_reactor.dxf.handle + # Link Image to ImageDefReactor: + self.dxf.image_def_reactor_handle = reactor_handle + self._image_def_reactor = image_def_reactor + # Link ImageDef to ImageDefReactor if in same document (XREF mapping!): + if self.doc is self._image_def.doc: + self._image_def.append_reactor_handle(reactor_handle) + + def register_resources(self, registry: xref.Registry) -> None: + """Register required resources to the resource registry.""" + super().register_resources(registry) + if isinstance(self.image_def, ImageDef): + registry.add_handle(self.image_def.dxf.handle) + + def map_resources(self, clone: Self, mapping: xref.ResourceMapper) -> None: + """Translate resources from self to the copied entity.""" + assert isinstance(clone, Image) + super().map_resources(clone, mapping) + source_image_def = self.image_def + if isinstance(source_image_def, ImageDef): + name = self.get_image_def_name() + name, clone_image_def = mapping.map_acad_dict_entry( + "ACAD_IMAGE_DICT", name, source_image_def + ) + if isinstance(clone_image_def, ImageDef): + clone.image_def = clone_image_def + if isinstance(clone._image_def_reactor, ImageDefReactor): + clone_image_def.append_reactor_handle( + clone._image_def_reactor.dxf.handle + ) + # Note: + # The IMAGEDEF_REACTOR was created automatically at binding the copy to + # a new document, but the handle of the IMAGEDEF_REACTOR was not add to the + # IMAGEDEF reactor handles, because at this point the IMAGE had still a reference + # to the IMAGEDEF of the source document. + + def get_image_def_name(self) -> str: + """Returns the name of the `image_def` entry in the ACAD_IMAGE_DICT.""" + if self.doc is None: + return "" + image_dict = self.doc.rootdict.get_required_dict("ACAD_IMAGE_DICT") + for name, entry in image_dict.items(): + if entry is self._image_def: + return name + return "" + + @property + def image_def(self) -> Optional[ImageDef]: + """Returns the associated IMAGEDEF entity, see :class:`ImageDef`.""" + return self._image_def + + @image_def.setter + def image_def(self, image_def: ImageDef) -> None: + if image_def and image_def.is_alive: + self.dxf.image_def_handle = image_def.dxf.handle + self._image_def = image_def + else: + self.dxf.discard("image_def_handle") + self._image_def = None + + @property + def image_def_reactor(self) -> Optional[ImageDefReactor]: + """Returns the associated IMAGEDEF_REACTOR entity.""" + return self._image_def_reactor + + def destroy(self) -> None: + if not self.is_alive: + return + + reactor = self._image_def_reactor + if reactor and reactor.is_alive: + image_def = self.image_def + if image_def and image_def.is_alive: + image_def.discard_reactor_handle(reactor.dxf.handle) + reactor.destroy() + super().destroy() + + def audit(self, auditor: Auditor) -> None: + super().audit(auditor) + + +# DXF reference error: Subclass marker (AcDbRasterImage) +acdb_wipeout = DefSubclass("AcDbWipeout", dict(acdb_image.attribs)) +acdb_wipeout_group_codes = group_code_mapping(acdb_wipeout) + + +@register_entity +class Wipeout(ImageBase): + """DXF WIPEOUT entity""" + + DXFTYPE = "WIPEOUT" + DXFATTRIBS = DXFAttributes(base_class, acdb_entity, acdb_wipeout) + DEFAULT_ATTRIBS = { + "layer": "0", + "flags": 7, + "clipping": 1, + "brightness": 50, + "contrast": 50, + "fade": 0, + "image_size": (1, 1), + "image_def_handle": "0", # has no ImageDef() + "image_def_reactor_handle": "0", # has no ImageDefReactor() + "clip_mode": 0, + } + _CLS_GROUP_CODES = acdb_wipeout_group_codes + _SUBCLASS_NAME = acdb_wipeout.name # type: ignore + + def set_masking_area(self, vertices: Iterable[UVec]) -> None: + """Set a new masking area, the area is placed in the layout xy-plane.""" + self.update_dxf_attribs(self.DEFAULT_ATTRIBS) + vertices = Vec2.list(vertices) + bounds = BoundingBox2d(vertices) + x_size, y_size = bounds.size + + dxf = self.dxf + dxf.insert = Vec3(bounds.extmin) + dxf.u_pixel = Vec3(x_size, 0, 0) + dxf.v_pixel = Vec3(0, y_size, 0) + + def boundary_path(): + extmin = bounds.extmin + for vertex in vertices: + v = vertex - extmin + yield Vec2(v.x / x_size - 0.5, 0.5 - v.y / y_size) + + self.set_boundary_path(boundary_path()) + + def _reset_handles(self): + self.dxf.image_def_reactor_handle = "0" + self.dxf.image_def_handle = "0" + + def audit(self, auditor: Auditor) -> None: + self._reset_handles() + super().audit(auditor) + + def export_entity(self, tagwriter: AbstractTagWriter) -> None: + """Export entity specific data as DXF tags.""" + self._reset_handles() + super().export_entity(tagwriter) + + +# About Image File Paths: +# See notes in knowledge graph: [[IMAGE File Paths]] +# https://ezdxf.mozman.at/notes/#/page/image%20file%20paths + +acdb_image_def = DefSubclass( + "AcDbRasterImageDef", + { + "class_version": DXFAttr(90, default=0), + # File name of image: + "filename": DXFAttr(1), + # Image size in pixels: + "image_size": DXFAttr(10, xtype=XType.point2d), + # Default size of one pixel in AutoCAD units: + "pixel_size": DXFAttr(11, xtype=XType.point2d, default=Vec2(0.01, 0.01)), + "loaded": DXFAttr(280, default=1), + # Resolution units - this enums differ from the usual drawing units, + # units.py, same as for RasterVariables.dxf.units, but only these 3 values + # are valid - confirmed by ODA Specs 20.4.81 IMAGEDEF: + # 0 = No units + # 2 = Centimeters + # 5 = Inch + "resolution_units": DXFAttr( + 281, + default=0, + validator=validator.is_one_of({0, 2, 5}), + fixer=RETURN_DEFAULT, + ), + }, +) +acdb_image_def_group_codes = group_code_mapping(acdb_image_def) + + +@register_entity +class ImageDef(DXFObject): + """DXF IMAGEDEF entity""" + + DXFTYPE = "IMAGEDEF" + DXFATTRIBS = DXFAttributes(base_class, acdb_image_def) + MIN_DXF_VERSION_FOR_EXPORT = DXF2000 + + def load_dxf_attribs( + self, processor: Optional[SubclassProcessor] = None + ) -> DXFNamespace: + dxf = super().load_dxf_attribs(processor) + if processor: + processor.fast_load_dxfattribs(dxf, acdb_image_def_group_codes, 1) + return dxf + + def export_entity(self, tagwriter: AbstractTagWriter) -> None: + """Export entity specific data as DXF tags.""" + super().export_entity(tagwriter) + tagwriter.write_tag2(SUBCLASS_MARKER, acdb_image_def.name) + self.dxf.export_dxf_attribs( + tagwriter, + [ + "class_version", + "filename", + "image_size", + "pixel_size", + "loaded", + "resolution_units", + ], + ) + + +acdb_image_def_reactor = DefSubclass( + "AcDbRasterImageDefReactor", + { + "class_version": DXFAttr(90, default=2), + # Handle to image: + "image_handle": DXFAttr(330), + }, +) +acdb_image_def_reactor_group_codes = group_code_mapping(acdb_image_def_reactor) + + +@register_entity +class ImageDefReactor(DXFObject): + """DXF IMAGEDEF_REACTOR entity""" + + DXFTYPE = "IMAGEDEF_REACTOR" + DXFATTRIBS = DXFAttributes(base_class, acdb_image_def_reactor) + MIN_DXF_VERSION_FOR_EXPORT = DXF2000 + + def load_dxf_attribs( + self, processor: Optional[SubclassProcessor] = None + ) -> DXFNamespace: + dxf = super().load_dxf_attribs(processor) + if processor: + processor.fast_load_dxfattribs(dxf, acdb_image_def_reactor_group_codes, 1) + return dxf + + def export_entity(self, tagwriter: AbstractTagWriter) -> None: + """Export entity specific data as DXF tags.""" + super().export_entity(tagwriter) + tagwriter.write_tag2(SUBCLASS_MARKER, acdb_image_def_reactor.name) + tagwriter.write_tag2(90, self.dxf.class_version) + tagwriter.write_tag2(330, self.dxf.image_handle) + + +acdb_raster_variables = DefSubclass( + "AcDbRasterVariables", + { + "class_version": DXFAttr(90, default=0), + # Frame: + # 0 = no frame + # 1 = show frame + "frame": DXFAttr( + 70, + default=0, + validator=validator.is_integer_bool, + fixer=RETURN_DEFAULT, + ), + # Quality: + # 0 = draft + # 1 = high + "quality": DXFAttr( + 71, + default=1, + validator=validator.is_integer_bool, + fixer=RETURN_DEFAULT, + ), + # Units: + # 0 = None + # 1 = mm + # 2 = cm + # 3 = m + # 4 = km + # 5 = in + # 6 = ft + # 7 = yd + # 8 = mi + "units": DXFAttr( + 72, + default=3, + validator=validator.is_in_integer_range(0, 9), + fixer=RETURN_DEFAULT, + ), + }, +) +acdb_raster_variables_group_codes = group_code_mapping(acdb_raster_variables) + + +@register_entity +class RasterVariables(DXFObject): + """DXF RASTERVARIABLES entity""" + + DXFTYPE = "RASTERVARIABLES" + DXFATTRIBS = DXFAttributes(base_class, acdb_raster_variables) + MIN_DXF_VERSION_FOR_EXPORT = DXF2000 + + def load_dxf_attribs( + self, processor: Optional[SubclassProcessor] = None + ) -> DXFNamespace: + dxf = super().load_dxf_attribs(processor) + if processor: + processor.fast_load_dxfattribs(dxf, acdb_raster_variables_group_codes, 1) + return dxf + + def export_entity(self, tagwriter: AbstractTagWriter) -> None: + """Export entity specific data as DXF tags.""" + super().export_entity(tagwriter) + tagwriter.write_tag2(SUBCLASS_MARKER, acdb_raster_variables.name) + self.dxf.export_dxf_attribs( + tagwriter, + [ + "class_version", + "frame", + "quality", + "units", + ], + ) + + +acdb_wipeout_variables = DefSubclass( + "AcDbWipeoutVariables", + { + # Display-image-frame flag: + # 0 = No frame + # 1 = Display frame + "frame": DXFAttr( + 70, + default=0, + validator=validator.is_integer_bool, + fixer=RETURN_DEFAULT, + ), + }, +) +acdb_wipeout_variables_group_codes = group_code_mapping(acdb_wipeout_variables) + + +@register_entity +class WipeoutVariables(DXFObject): + """DXF WIPEOUTVARIABLES entity""" + + DXFTYPE = "WIPEOUTVARIABLES" + DXFATTRIBS = DXFAttributes(base_class, acdb_wipeout_variables) + MIN_DXF_VERSION_FOR_EXPORT = DXF2000 + + def load_dxf_attribs( + self, processor: Optional[SubclassProcessor] = None + ) -> DXFNamespace: + dxf = super().load_dxf_attribs(processor) + if processor: + processor.fast_load_dxfattribs(dxf, acdb_wipeout_variables_group_codes, 1) + return dxf + + def export_entity(self, tagwriter: AbstractTagWriter) -> None: + """Export entity specific data as DXF tags.""" + super().export_entity(tagwriter) + tagwriter.write_tag2(SUBCLASS_MARKER, acdb_wipeout_variables.name) + self.dxf.export_dxf_attribs(tagwriter, "frame") diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/entities/insert.py b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/entities/insert.py new file mode 100644 index 0000000000000000000000000000000000000000..a5c3d621793da3dcd7b292ff6438b94d2c14f005 --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/entities/insert.py @@ -0,0 +1,790 @@ +# Copyright (c) 2019-2024 Manfred Moitzi +# License: MIT License +from __future__ import annotations +from typing import ( + TYPE_CHECKING, + Iterable, + Iterator, + cast, + Union, + Optional, + Callable, +) +from typing_extensions import Self +import math +import logging + +from ezdxf.lldxf import validator +from ezdxf.lldxf.attributes import ( + DXFAttr, + DXFAttributes, + DefSubclass, + XType, + RETURN_DEFAULT, + group_code_mapping, + merge_group_code_mappings, +) +from ezdxf.lldxf.const import ( + DXF12, + SUBCLASS_MARKER, + DXFValueError, + DXFKeyError, + DXFStructureError, +) +from ezdxf.math import ( + Vec3, + UVec, + X_AXIS, + Y_AXIS, + Z_AXIS, + Matrix44, + UCS, + NULLVEC, +) +from ezdxf.math.transformtools import ( + InsertTransformationError, + InsertCoordinateSystem, +) +from ezdxf.explode import ( + explode_block_reference, + virtual_block_reference_entities, +) +from ezdxf.entities import factory +from ezdxf.query import EntityQuery +from ezdxf.audit import AuditError +from .dxfentity import base_class, SubclassProcessor +from .dxfgfx import ( + DXFGraphic, + acdb_entity, + elevation_to_z_axis, + acdb_entity_group_codes, +) +from .subentity import LinkedEntities +from .attrib import Attrib + +if TYPE_CHECKING: + from ezdxf.audit import Auditor + from ezdxf.entities import DXFNamespace, AttDef, DXFEntity + from ezdxf.layouts import BaseLayout, BlockLayout + from ezdxf.lldxf.tagwriter import AbstractTagWriter + from ezdxf import xref + +__all__ = ["Insert"] + +logger = logging.getLogger("ezdxf") +ABS_TOL = 1e-9 + +# DXF files as XREF: +# The INSERT entity is used to attach XREFS. +# The model space is the block content, if the whole document is used as +# BLOCK (XREF), but this is only supported for the DWG format. +# AutoCAD does not support DXF files as XREFS, they are ignored, but the DXF +# file is valid! BricsCAD shows DXF files as XREFS, but does not allow to attach +# DXF files as XREFS by the application itself. + +# Multi-INSERT has subclass id AcDbMInsertBlock +acdb_block_reference = DefSubclass( + "AcDbBlockReference", + { + "attribs_follow": DXFAttr(66, default=0, optional=True), + "name": DXFAttr(2, validator=validator.is_valid_block_name), + "insert": DXFAttr(10, xtype=XType.any_point), + # Elevation is a legacy feature from R11 and prior, do not use this + # attribute, store the entity elevation in the z-axis of the vertices. + # ezdxf does not export the elevation attribute! + "elevation": DXFAttr(38, default=0, optional=True), + "xscale": DXFAttr( + 41, + default=1, + optional=True, + validator=validator.is_not_zero, + fixer=RETURN_DEFAULT, + ), + "yscale": DXFAttr( + 42, + default=1, + optional=True, + validator=validator.is_not_zero, + fixer=RETURN_DEFAULT, + ), + "zscale": DXFAttr( + 43, + default=1, + optional=True, + validator=validator.is_not_zero, + fixer=RETURN_DEFAULT, + ), + "rotation": DXFAttr(50, default=0, optional=True), + "column_count": DXFAttr( + 70, + default=1, + optional=True, + validator=validator.is_greater_zero, + fixer=RETURN_DEFAULT, + ), + "row_count": DXFAttr( + 71, + default=1, + optional=True, + validator=validator.is_greater_zero, + fixer=RETURN_DEFAULT, + ), + "column_spacing": DXFAttr(44, default=0, optional=True), + "row_spacing": DXFAttr(45, default=0, optional=True), + "extrusion": DXFAttr( + 210, + xtype=XType.point3d, + default=Z_AXIS, + optional=True, + validator=validator.is_not_null_vector, + fixer=RETURN_DEFAULT, + ), + }, +) +acdb_block_reference_group_codes = group_code_mapping(acdb_block_reference) +merged_insert_group_codes = merge_group_code_mappings( + acdb_entity_group_codes, acdb_block_reference_group_codes # type: ignore +) + + +# Notes to SEQEND: +# +# The INSERT entity requires only a SEQEND if ATTRIB entities are attached. +# So a loaded INSERT could have a missing SEQEND. +# +# A bounded INSERT needs a SEQEND to be valid at export if there are attached +# ATTRIB entities, but the LinkedEntities.post_bind_hook() method creates +# always a new SEQEND after binding the INSERT entity to a document. +# +# Nonetheless, the Insert.add_attrib() method also creates the required SEQEND entity if +# necessary. + + +@factory.register_entity +class Insert(LinkedEntities): + """DXF INSERT entity + + The INSERT entity is hard owner of its ATTRIB entities and the SEQEND entity: + + ATTRIB.dxf.owner == INSERT.dxf.handle + SEQEND.dxf.owner == INSERT.dxf.handle + + Note: + + The ATTDEF entity in block definitions is owned by the BLOCK_RECORD like + all graphical entities. + + """ + + DXFTYPE = "INSERT" + DXFATTRIBS = DXFAttributes(base_class, acdb_entity, acdb_block_reference) + + @property + def attribs(self) -> list[Attrib]: + return self._sub_entities # type: ignore + + @property + def attribs_follow(self) -> bool: + return bool(len(self.attribs)) + + def load_dxf_attribs( + self, processor: Optional[SubclassProcessor] = None + ) -> DXFNamespace: + """Loading interface. (internal API)""" + # bypass DXFGraphic, loading proxy graphic is skipped! + dxf = super(DXFGraphic, self).load_dxf_attribs(processor) + if processor: + processor.simple_dxfattribs_loader(dxf, merged_insert_group_codes) + if processor.r12: + # Transform elevation attribute from R11 to z-axis values: + elevation_to_z_axis(dxf, ("insert",)) + return dxf + + def export_entity(self, tagwriter: AbstractTagWriter) -> None: + """Export entity specific data as DXF tags.""" + super().export_entity(tagwriter) + if tagwriter.dxfversion > DXF12: + if (self.dxf.column_count > 1) or (self.dxf.row_count > 1): + tagwriter.write_tag2(SUBCLASS_MARKER, "AcDbMInsertBlock") + else: + tagwriter.write_tag2(SUBCLASS_MARKER, "AcDbBlockReference") + if self.attribs_follow: + tagwriter.write_tag2(66, 1) + self.dxf.export_dxf_attribs( + tagwriter, + [ + "name", + "insert", + "xscale", + "yscale", + "zscale", + "rotation", + "column_count", + "row_count", + "column_spacing", + "row_spacing", + "extrusion", + ], + ) + + def export_dxf(self, tagwriter: AbstractTagWriter): + super().export_dxf(tagwriter) + # Do no export SEQEND if no ATTRIBS attached: + if self.attribs_follow: + self.process_sub_entities(lambda e: e.export_dxf(tagwriter)) + + def register_resources(self, registry: xref.Registry) -> None: + # The attached ATTRIB entities are registered by the parent class LinkedEntities + super().register_resources(registry) + registry.add_block_name(self.dxf.name) + + def map_resources(self, clone: Self, mapping: xref.ResourceMapper) -> None: + # The attached ATTRIB entities are mapped by the parent class LinkedEntities + super().map_resources(clone, mapping) + clone.dxf.name = mapping.get_block_name(self.dxf.name) + + @property + def has_scaling(self) -> bool: + """Returns ``True`` if scaling is applied to any axis.""" + if self.dxf.hasattr("xscale") and self.dxf.xscale != 1: + return True + if self.dxf.hasattr("yscale") and self.dxf.yscale != 1: + return True + if self.dxf.hasattr("zscale") and self.dxf.zscale != 1: + return True + return False + + @property + def has_uniform_scaling(self) -> bool: + """Returns ``True`` if the scale factor is uniform for x-, y- and z-axis, + ignoring reflections e.g. (1, 1, -1) is uniform scaling. + + """ + return abs(self.dxf.xscale) == abs(self.dxf.yscale) == abs(self.dxf.zscale) + + def set_scale(self, factor: float): + """Set a uniform scale factor.""" + if factor == 0: + raise ValueError("Invalid scale factor.") + self.dxf.xscale = factor + self.dxf.yscale = factor + self.dxf.zscale = factor + return self + + def block(self) -> Optional[BlockLayout]: + """Returns the associated :class:`~ezdxf.layouts.BlockLayout`.""" + if self.doc: + return self.doc.blocks.get(self.dxf.name) + return None + + def is_xref(self) -> bool: + """Return ``True`` if the INSERT entity represents a XREF or XREF_OVERLAY.""" + block = self.block() + if block is not None: + return block.block_record.is_xref + return False + + def place( + self, + insert: Optional[UVec] = None, + scale: Optional[tuple[float, float, float]] = None, + rotation: Optional[float] = None, + ) -> Insert: + """ + Set the location, scaling and rotation attributes. Arguments which are ``None`` + will be ignored. + + Args: + insert: insert location as (x, y [,z]) tuple + scale: (x-scale, y-scale, z-scale) tuple + rotation : rotation angle in degrees + + """ + if insert is not None: + self.dxf.insert = insert + if scale is not None: + if len(scale) != 3: + raise DXFValueError("Argument scale has to be a (x, y[, z]) tuple.") + x, y, z = scale + self.dxf.xscale = x + self.dxf.yscale = y + self.dxf.zscale = z + if rotation is not None: + self.dxf.rotation = rotation + return self + + def grid( + self, size: tuple[int, int] = (1, 1), spacing: tuple[float, float] = (1, 1) + ) -> Insert: + """Place block reference in a grid layout, grid `size` defines the + row- and column count, `spacing` defines the distance between two block + references. + + Args: + size: grid size as (row_count, column_count) tuple + spacing: distance between placing as (row_spacing, column_spacing) tuple + + """ + try: + rows, cols = size + except ValueError: + raise DXFValueError("Size has to be a (row_count, column_count) tuple.") + self.dxf.row_count = rows + self.dxf.column_count = cols + try: + row_spacing, col_spacing = spacing + except ValueError: + raise DXFValueError( + "Spacing has to be a (row_spacing, column_spacing) tuple." + ) + self.dxf.row_spacing = row_spacing + self.dxf.column_spacing = col_spacing + return self + + def get_attrib( + self, tag: str, search_const: bool = False + ) -> Optional[Union[Attrib, AttDef]]: + """Get an attached :class:`Attrib` entity with the given `tag`, + returns ``None`` if not found. Some applications do not attach constant + ATTRIB entities, set `search_const` to ``True``, to get at least the + associated :class:`AttDef` entity. + + Args: + tag: tag name of the ATTRIB entity + search_const: search also const ATTDEF entities + + """ + for attrib in self.attribs: + if tag == attrib.dxf.tag: + return attrib + if search_const and self.doc is not None: + block = self.doc.blocks[self.dxf.name] + for attdef in block.get_const_attdefs(): + if tag == attdef.dxf.tag: + return attdef + return None + + def get_attrib_text( + self, tag: str, default: str = "", search_const: bool = False + ) -> str: + """Get content text of an attached :class:`Attrib` entity with + the given `tag`, returns the `default` value if not found. + Some applications do not attach constant ATTRIB entities, set + `search_const` to ``True``, to get content text of the + associated :class:`AttDef` entity. + + Args: + tag: tag name of the ATTRIB entity + default: default value if ATTRIB `tag` is absent + search_const: search also const ATTDEF entities + + """ + attrib = self.get_attrib(tag, search_const) + if attrib is None: + return default + return attrib.dxf.text + + def has_attrib(self, tag: str, search_const: bool = False) -> bool: + """Returns ``True`` if the INSERT entity has an attached ATTRIB entity with the + given `tag`. Some applications do not attach constant ATTRIB entities, set + `search_const` to ``True``, to check for an associated :class:`AttDef` entity + with constant content. + + + Args: + tag: tag name fo the ATTRIB entity + search_const: search also const ATTDEF entities + + """ + return self.get_attrib(tag, search_const) is not None + + def add_attrib( + self, tag: str, text: str, insert: UVec = (0, 0), dxfattribs=None + ) -> Attrib: + """Attach an :class:`Attrib` entity to the block reference. + + Example for appending an attribute to an INSERT entity:: + + e.add_attrib('EXAMPLETAG', 'example text').set_placement( + (3, 7), align=TextEntityAlignment.MIDDLE_CENTER + ) + + Args: + tag: tag name of the ATTRIB entity + text: content text as string + insert: insert location as (x, y[, z]) tuple in :ref:`OCS` + dxfattribs: additional DXF attributes for the ATTRIB entity + + """ + dxfattribs = dict(dxfattribs or {}) + dxfattribs["tag"] = tag + dxfattribs["text"] = text + dxfattribs["insert"] = insert + attrib = cast("Attrib", self._new_compound_entity("ATTRIB", dxfattribs)) + self.attribs.append(attrib) + + # This case is only possible if the INSERT was read from a file without + # attached ATTRIB entities: + if self.seqend is None: + self.new_seqend() + return attrib + + def delete_attrib(self, tag: str, ignore=False) -> None: + """Delete an attached :class:`Attrib` entity from INSERT. Raises an + :class:`DXFKeyError` exception, if no ATTRIB for the given `tag` exist if + `ignore` is ``False``. + + Args: + tag: tag name of the ATTRIB entity + ignore: ``False`` for raising :class:`DXFKeyError` if ATTRIB `tag` + does not exist. + + Raises: + DXFKeyError: no ATTRIB for the given `tag` exist + + """ + for index, attrib in enumerate(self.attribs): + if attrib.dxf.tag == tag: + del self.attribs[index] + attrib.destroy() + return + if not ignore: + raise DXFKeyError(tag) + + def delete_all_attribs(self) -> None: + """Delete all :class:`Attrib` entities attached to the INSERT entity.""" + if not self.is_alive: + return + + for attrib in self.attribs: + attrib.destroy() + self._sub_entities = [] + + def transform(self, m: Matrix44) -> Insert: + """Transform INSERT entity by transformation matrix `m` inplace. + + Unlike the transformation matrix `m`, the INSERT entity can not + represent a non-orthogonal target coordinate system and an + :class:`InsertTransformationError` will be raised in that case. + + """ + dxf = self.dxf + source_system = InsertCoordinateSystem( + insert=Vec3(dxf.insert), + scale=(dxf.xscale, dxf.yscale, dxf.zscale), + rotation=dxf.rotation, + extrusion=dxf.extrusion, + ) + try: + target_system = source_system.transform(m, ABS_TOL) + except InsertTransformationError: + raise InsertTransformationError( + "INSERT entity can not represent a non-orthogonal target coordinate system." + ) + dxf.insert = target_system.insert + dxf.rotation = target_system.rotation + dxf.extrusion = target_system.extrusion + dxf.xscale = target_system.scale_factor_x + dxf.yscale = target_system.scale_factor_y + dxf.zscale = target_system.scale_factor_z + + for attrib in self.attribs: + attrib.transform(m) + self.post_transform(m) + return self + + def translate(self, dx: float, dy: float, dz: float) -> Insert: + """Optimized INSERT translation about `dx` in x-axis, `dy` in y-axis + and `dz` in z-axis. + + """ + ocs = self.ocs() + self.dxf.insert = ocs.from_wcs(Vec3(dx, dy, dz) + ocs.to_wcs(self.dxf.insert)) + for attrib in self.attribs: + attrib.translate(dx, dy, dz) + return self + + def matrix44(self) -> Matrix44: + """Returns a transformation matrix to transform the block entities from the + block reference coordinate system into the :ref:`WCS`. + """ + dxf = self.dxf + sx = dxf.xscale + sy = dxf.yscale + sz = dxf.zscale + + ocs = self.ocs() + extrusion = ocs.uz + ux = Vec3(ocs.to_wcs(X_AXIS)) + uy = Vec3(ocs.to_wcs(Y_AXIS)) + m = Matrix44.ucs(ux=ux * sx, uy=uy * sy, uz=extrusion * sz) + # same as Matrix44.ucs(ux, uy, extrusion) * Matrix44.scale(sx, sy, sz) + + angle = math.radians(dxf.rotation) + if angle: + m *= Matrix44.axis_rotate(extrusion, angle) + + insert = ocs.to_wcs(dxf.get("insert", NULLVEC)) + + block_layout = self.block() + if block_layout is not None: + # transform block base point into WCS without translation + insert -= m.transform_direction(block_layout.block.dxf.base_point) # type: ignore + + # set translation + m.set_row(3, insert.xyz) + return m + + def ucs(self): + """Returns the block reference coordinate system as :class:`ezdxf.math.UCS` + object. + """ + m = self.matrix44() + ucs = UCS() + ucs.matrix = m + return ucs + + def reset_transformation(self) -> None: + """Reset block reference attributes location, rotation angle and + the extrusion vector but preserves the scale factors. + + """ + self.dxf.insert = NULLVEC + self.dxf.discard("rotation") + self.dxf.discard("extrusion") + + def explode( + self, target_layout: Optional[BaseLayout] = None, *, redraw_order=False + ) -> EntityQuery: + """Explodes the block reference entities into the target layout, if target + layout is ``None``, the layout of the block reference will be used. + This method destroys the source block reference entity. + + Transforms the block entities into the required :ref:`WCS` location by + applying the block reference attributes `insert`, `extrusion`, + `rotation` and the scale factors `xscale`, `yscale` and `zscale`. + + Attached ATTRIB entities are converted to TEXT entities, this is the + behavior of the BURST command of the AutoCAD Express Tools. + + .. warning:: + + **Non-uniform scale factors** may lead to incorrect results some entities + (TEXT, MTEXT, ATTRIB). + + Args: + target_layout: target layout for exploded entities, ``None`` for + same layout as source entity. + redraw_order: create entities in ascending redraw order if ``True`` + + Returns: + :class:`~ezdxf.query.EntityQuery` container referencing all exploded + DXF entities. + + """ + if target_layout is None: + target_layout = self.get_layout() + if target_layout is None: + raise DXFStructureError( + "INSERT without layout assignment, specify target layout" + ) + return explode_block_reference( + self, target_layout=target_layout, redraw_order=redraw_order + ) + + def __virtual_entities__(self) -> Iterator[DXFGraphic]: + """Implements the SupportsVirtualEntities protocol. + + This protocol is for consistent internal usage and does not replace + the method :meth:`virtual_entities`! Ignores the redraw-order! + """ + return self.virtual_entities() + + def virtual_entities( + self, + *, + skipped_entity_callback: Optional[Callable[[DXFGraphic, str], None]] = None, + redraw_order=False, + ) -> Iterator[DXFGraphic]: + """ + Yields the transformed referenced block content as virtual entities. + + This method is meant to examine the block reference entities at the target + location without exploding the block reference. + These entities are not stored in the entity database, have no handle and + are not assigned to any layout. It is possible to convert these entities + into regular drawing entities by adding the entities to the entities + database and a layout of the same DXF document as the block reference:: + + doc.entitydb.add(entity) + msp = doc.modelspace() + msp.add_entity(entity) + + .. warning:: + + **Non-uniform scale factors** may return incorrect results for some entities + (TEXT, MTEXT, ATTRIB). + + This method does not resolve the MINSERT attributes, only the + sub-entities of the first INSERT will be returned. To resolve MINSERT + entities check if multi insert processing is required, that's the case + if the property :attr:`Insert.mcount` > 1, use the :meth:`Insert.multi_insert` + method to resolve the MINSERT entity into multiple INSERT entities. + + This method does not apply the clipping path created by the XCLIP command. + The method returns all entities and ignores the clipping path polygon and no + entity is clipped. + + The `skipped_entity_callback()` will be called for all entities which are not + processed, signature: + :code:`skipped_entity_callback(entity: DXFEntity, reason: str)`, + `entity` is the original (untransformed) DXF entity of the block definition, the + `reason` string is an explanation why the entity was skipped. + + Args: + skipped_entity_callback: called whenever the transformation of an + entity is not supported and so was skipped + redraw_order: yield entities in ascending redraw order if ``True`` + + """ + for e in virtual_block_reference_entities( + self, + skipped_entity_callback=skipped_entity_callback, + redraw_order=redraw_order, + ): + e.set_source_block_reference(self) + yield e + + @property + def mcount(self) -> int: + """Returns the multi-insert count, MINSERT (multi-insert) processing + is required if :attr:`mcount` > 1. + + """ + return (self.dxf.row_count if self.dxf.row_spacing else 1) * ( + self.dxf.column_count if self.dxf.column_spacing else 1 + ) + + def multi_insert(self) -> Iterator[Insert]: + """Yields a virtual INSERT entity for each grid element of a MINSERT + entity (multi-insert). + """ + + def transform_attached_attrib_entities(insert, offset): + for attrib in insert.attribs: + attrib.dxf.insert += offset + + def adjust_dxf_attribs(insert, offset): + dxf = insert.dxf + dxf.insert += offset + dxf.discard("row_count") + dxf.discard("column_count") + dxf.discard("row_spacing") + dxf.discard("column_spacing") + + done = set() + row_spacing = self.dxf.row_spacing + col_spacing = self.dxf.column_spacing + rotation = self.dxf.rotation + for row in range(self.dxf.row_count): + for col in range(self.dxf.column_count): + # All transformations in OCS: + offset = Vec3(col * col_spacing, row * row_spacing) + # If any spacing is 0, yield only unique locations: + if offset not in done: + done.add(offset) + if rotation: # Apply rotation to the grid. + offset = offset.rotate_deg(rotation) + # Do not apply scaling to the grid! + insert = self.copy() + adjust_dxf_attribs(insert, offset) + transform_attached_attrib_entities(insert, offset) + yield insert + + def add_auto_attribs(self, values: dict[str, str]) -> Insert: + """ + Attach for each :class:`~ezdxf.entities.Attdef` entity, defined in the + block definition, automatically an :class:`Attrib` entity to the block + reference and set ``tag/value`` DXF attributes of the ATTRIB entities + by the ``key/value`` pairs (both as strings) of the `values` dict. + The ATTRIB entities are placed relative to the insert location of the + block reference, which is identical to the block base point. + + This method avoids the wrapper block of the + :meth:`~ezdxf.layouts.BaseLayout.add_auto_blockref` method, but the + visual results may not match the results of CAD applications, especially + for non-uniform scaling. If the visual result is very important to you, + use the :meth:`add_auto_blockref` method. + + Args: + values: :class:`~ezdxf.entities.Attrib` tag values as ``tag/value`` + pairs + + """ + def unpack(dxfattribs) -> tuple[str, str, UVec]: + tag = dxfattribs.pop("tag") + text = values.get(tag, None) + if text is None: # get default value from ATTDEF + text = dxfattribs.get("text", "") + location = dxfattribs.pop("insert") + return tag, text, location + + def autofill() -> None: + for attdef in block_layout.attdefs(): # type: ignore + dxfattribs = attdef.dxfattribs(drop={"prompt", "handle"}) + + # Caution! Some mandatory values may not exist! + # These are DXF structure errors, but loaded DXF files may have errors! + if "tag" not in dxfattribs: + # ATTRIB without "tag" makes no sense! + logger.warning( + f"Skipping {str(attdef)}: missing mandatory 'tag' attribute" + ) + continue + if "insert" not in dxfattribs: + # Don't know where to place the ATTRIB entity. + logger.warning( + f"Skipping {str(attdef)}: missing mandatory 'insert' attribute" + ) + continue + + tag, text, location = unpack(dxfattribs) + attrib = self.add_attrib(tag, text, location, dxfattribs) + if attdef.has_embedded_mtext_entity: + mtext = attdef.virtual_mtext_entity() + mtext.text = text + attrib.embed_mtext(mtext) + attrib.transform(m) + + block_layout = self.block() + if block_layout is not None: + m = self.matrix44() + autofill() + return self + + def audit(self, auditor: Auditor) -> None: + """Validity check.""" + super().audit(auditor) + doc = auditor.doc + if doc and doc.blocks: + name = self.dxf.name + if name is None: + auditor.fixed_error( + code=AuditError.UNDEFINED_BLOCK_NAME, + message=f"Deleted entity {str(self)} without a BLOCK name", + ) + auditor.trash(self) + elif name not in doc.blocks: + auditor.fixed_error( + code=AuditError.UNDEFINED_BLOCK, + message=f"Deleted entity {str(self)} without required BLOCK" + f" definition.", + ) + auditor.trash(self) + + def __referenced_blocks__(self) -> Iterable[str]: + """Support for the "ReferencedBlocks" protocol.""" + block = self.block() + if block is not None: + return (block.block_record_handle,) + return tuple() diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/entities/layer.py b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/entities/layer.py new file mode 100644 index 0000000000000000000000000000000000000000..08d450664ba7bfb8a064c039429a99d277c4bc5e --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/entities/layer.py @@ -0,0 +1,794 @@ +# Copyright (c) 2019-2024, Manfred Moitzi +# License: MIT License +from __future__ import annotations +from typing import TYPE_CHECKING, Optional, cast, Any +from typing_extensions import Self +import logging +from dataclasses import dataclass +from ezdxf.lldxf import validator +from ezdxf.lldxf.attributes import ( + DXFAttr, + DXFAttributes, + DefSubclass, + RETURN_DEFAULT, + group_code_mapping, +) +from ezdxf import colors as clr +from ezdxf.lldxf import const +from ezdxf.lldxf.const import ( + DXF12, + SUBCLASS_MARKER, + DXF2000, + DXF2007, + DXF2004, + INVALID_NAME_CHARACTERS, + DXFValueError, + LINEWEIGHT_BYBLOCK, + LINEWEIGHT_BYLAYER, + LINEWEIGHT_DEFAULT, +) +from ezdxf.audit import AuditError +from ezdxf.entities.dxfentity import base_class, SubclassProcessor, DXFEntity +from .factory import register_entity + +if TYPE_CHECKING: + from ezdxf.entities import DXFNamespace, Viewport, XRecord + from ezdxf.lldxf.tagwriter import AbstractTagWriter + from ezdxf.entitydb import EntityDB + from ezdxf import xref + from ezdxf.audit import Auditor + + +__all__ = ["Layer", "acdb_symbol_table_record", "LayerOverrides"] +logger = logging.getLogger("ezdxf") + + +def is_valid_layer_color_index(aci: int) -> bool: + # BYBLOCK or BYLAYER is not valid a layer color! + return (-256 < aci < 256) and aci != 0 + + +def fix_layer_color(aci: int) -> int: + return aci if is_valid_layer_color_index(aci) else 7 + + +def is_valid_layer_lineweight(lw: int) -> bool: + if validator.is_valid_lineweight(lw): + if lw not in (LINEWEIGHT_BYLAYER, LINEWEIGHT_BYBLOCK): + return True + return False + + +def fix_layer_lineweight(lw: int) -> int: + if lw in (LINEWEIGHT_BYLAYER, LINEWEIGHT_BYBLOCK): + return LINEWEIGHT_DEFAULT + else: + return validator.fix_lineweight(lw) + + +acdb_symbol_table_record: DefSubclass = DefSubclass("AcDbSymbolTableRecord", {}) + +acdb_layer_table_record = DefSubclass( + "AcDbLayerTableRecord", + { + # Layer name as string + "name": DXFAttr(2, validator=validator.is_valid_layer_name), + "flags": DXFAttr(70, default=0), + # ACI color index, color < 0 indicates layer status: off + "color": DXFAttr( + 62, + default=7, + validator=is_valid_layer_color_index, + fixer=fix_layer_color, + ), + # True color as 24 bit int value: 0x00RRGGBB + "true_color": DXFAttr(420, dxfversion=DXF2004, optional=True), + # Linetype name as string + "linetype": DXFAttr( + 6, default="Continuous", validator=validator.is_valid_table_name + ), + # 0 = don't plot layer; 1 = plot layer + "plot": DXFAttr( + 290, + default=1, + dxfversion=DXF2000, + optional=True, + validator=validator.is_integer_bool, + fixer=RETURN_DEFAULT, + ), + # Default lineweight 1/100 mm, min 0 = 0.0mm, max 211 = 2.11mm + "lineweight": DXFAttr( + 370, + default=LINEWEIGHT_DEFAULT, + dxfversion=DXF2000, + validator=is_valid_layer_lineweight, + fixer=fix_layer_lineweight, + ), + # Handle to PlotStyleName, group code 390 is required by AutoCAD + "plotstyle_handle": DXFAttr(390, dxfversion=DXF2000), + # Handle to Material object + "material_handle": DXFAttr(347, dxfversion=DXF2007), + # Handle to ??? + "unknown1": DXFAttr(348, dxfversion=DXF2007, optional=True), + }, +) +acdb_layer_table_record_group_codes = group_code_mapping(acdb_layer_table_record) +AcAecLayerStandard = "AcAecLayerStandard" +AcCmTransparency = "AcCmTransparency" + + +@register_entity +class Layer(DXFEntity): + """DXF LAYER entity""" + + DXFTYPE = "LAYER" + DXFATTRIBS = DXFAttributes( + base_class, acdb_symbol_table_record, acdb_layer_table_record + ) + DEFAULT_ATTRIBS = {"name": "0"} + FROZEN = 0b00000001 + THAW = 0b11111110 + LOCK = 0b00000100 + UNLOCK = 0b11111011 + + def load_dxf_attribs( + self, processor: Optional[SubclassProcessor] = None + ) -> DXFNamespace: + dxf = super().load_dxf_attribs(processor) + if processor: + processor.simple_dxfattribs_loader( + dxf, acdb_layer_table_record_group_codes # type: ignore + ) + return dxf + + def export_entity(self, tagwriter: AbstractTagWriter) -> None: + super().export_entity(tagwriter) + if tagwriter.dxfversion > DXF12: + tagwriter.write_tag2(SUBCLASS_MARKER, acdb_symbol_table_record.name) + tagwriter.write_tag2(SUBCLASS_MARKER, acdb_layer_table_record.name) + + self.dxf.export_dxf_attribs( + tagwriter, + [ + "name", + "flags", + "color", + "true_color", + "linetype", + "plot", + "lineweight", + "plotstyle_handle", + "material_handle", + "unknown1", + ], + ) + + def set_required_attributes(self): + assert self.doc is not None, "valid DXF document required" + if not self.dxf.hasattr("material_handle"): + global_ = self.doc.materials["Global"] + if isinstance(global_, DXFEntity): + handle = global_.dxf.handle + else: + handle = global_ + self.dxf.material_handle = handle + if not self.dxf.hasattr("plotstyle_handle"): + normal = self.doc.plotstyles["Normal"] + if isinstance(normal, DXFEntity): + handle = normal.dxf.handle + else: + handle = normal + self.dxf.plotstyle_handle = handle + + def is_frozen(self) -> bool: + """Returns ``True`` if layer is frozen.""" + return self.dxf.flags & Layer.FROZEN > 0 + + def freeze(self) -> None: + """Freeze layer.""" + self.dxf.flags = self.dxf.flags | Layer.FROZEN + + def thaw(self) -> None: + """Thaw layer.""" + self.dxf.flags = self.dxf.flags & Layer.THAW + + def is_locked(self) -> bool: + """Returns ``True`` if layer is locked.""" + return self.dxf.flags & Layer.LOCK > 0 + + def lock(self) -> None: + """Lock layer, entities on this layer are not editable - just important + in CAD applications. + """ + self.dxf.flags = self.dxf.flags | Layer.LOCK + + def unlock(self) -> None: + """Unlock layer, entities on this layer are editable - just important + in CAD applications. + """ + self.dxf.flags = self.dxf.flags & Layer.UNLOCK + + def is_off(self) -> bool: + """Returns ``True`` if layer is off.""" + return self.dxf.color < 0 + + def is_on(self) -> bool: + """Returns ``True`` if layer is on.""" + return not self.is_off() + + def on(self) -> None: + """Switch layer `on` (visible).""" + self.dxf.color = abs(self.dxf.color) + + def off(self) -> None: + """Switch layer `off` (invisible).""" + self.dxf.color = -abs(self.dxf.color) + + def get_color(self) -> int: + """Get layer color, safe method for getting the layer color, because + :attr:`dxf.color` is negative for layer status `off`. + """ + return abs(self.dxf.color) + + def set_color(self, color: int) -> None: + """Set layer color, safe method for setting the layer color, because + :attr:`dxf.color` is negative for layer status `off`. + """ + color = abs(color) if self.is_on() else -abs(color) + self.dxf.color = color + + @property + def rgb(self) -> Optional[tuple[int, int, int]]: + """Returns RGB true color as (r, g, b)-tuple or None if attribute + dxf.true_color is not set. + """ + if self.dxf.hasattr("true_color"): + return clr.int2rgb(self.dxf.get("true_color")) + else: + return None + + @rgb.setter + def rgb(self, rgb: tuple[int, int, int]) -> None: + """Set RGB true color as (r, g, b)-tuple e.g. (12, 34, 56).""" + self.dxf.set("true_color", clr.rgb2int(rgb)) + + @property + def color(self) -> int: + """Get layer color, safe method for getting the layer color, because + :attr:`dxf.color` is negative for layer status `off`. + """ + return self.get_color() + + @color.setter + def color(self, value: int) -> None: + """Set layer color, safe method for setting the layer color, because + :attr:`dxf.color` is negative for layer status `off`. + """ + self.set_color(value) + + @property + def description(self) -> str: + try: + xdata = self.get_xdata(AcAecLayerStandard) + except DXFValueError: + return "" + else: + if len(xdata) > 1: + # this is the usual case in BricsCAD + return xdata[1].value + else: + return "" + + @description.setter + def description(self, value: str) -> None: + # create AppID table entry if not present + if self.doc and AcAecLayerStandard not in self.doc.appids: + self.doc.appids.new(AcAecLayerStandard) + self.discard_xdata(AcAecLayerStandard) + self.set_xdata(AcAecLayerStandard, [(1000, ""), (1000, value)]) + + @property + def transparency(self) -> float: + try: + xdata = self.get_xdata(AcCmTransparency) + except DXFValueError: + return 0.0 + else: + t = xdata[0].value + if t & 0x2000000: # is this a real transparency value? + # Transparency BYBLOCK (0x01000000) make no sense for a layer!? + return clr.transparency2float(t) + return 0.0 + + @transparency.setter + def transparency(self, value: float) -> None: + # create AppID table entry if not present + if self.doc and AcCmTransparency not in self.doc.appids: + self.doc.appids.new(AcCmTransparency) + if 0 <= value <= 1: + self.discard_xdata(AcCmTransparency) + self.set_xdata(AcCmTransparency, [(1071, clr.float2transparency(value))]) + else: + raise ValueError("Value out of range [0, 1].") + + def rename(self, name: str) -> None: + """ + Rename layer and all known (documented) references to this layer. + + .. warning:: + + The DXF format is not consistent in storing layer references, the + layers are mostly referenced by their case-insensitive name, + some later introduced entities do reference layers by handle, which + is the safer way in the context of renaming layers. + + There is no complete overview of where layer references are + stored, third-party entities are black-boxes with unknown content + and layer names could be stored in the extended data section of any + DXF entity or in XRECORD entities. + Which means that in some rare cases references to the old layer name + can persist, at least this does not invalidate the DXF document. + + Args: + name: new layer name + + Raises: + ValueError: `name` contains invalid characters: <>/\\":;?*|=` + ValueError: layer `name` already exist + ValueError: renaming of layers ``'0'`` and ``'DEFPOINTS'`` not + possible + + """ + if not validator.is_valid_layer_name(name): + raise ValueError( + f"Name contains invalid characters: {INVALID_NAME_CHARACTERS}." + ) + assert self.doc is not None, "valid DXF document is required" + layers = self.doc.layers + if self.dxf.name.lower() in ("0", "defpoints"): + raise ValueError(f'Can not rename layer "{self.dxf.name}".') + if layers.has_entry(name): + raise ValueError(f'Layer "{name}" already exist.') + old = self.dxf.name + self.dxf.name = name + layers.replace(old, self) + self._rename_layer_references(old, name) + + def _rename_layer_references(self, old_name: str, new_name: str) -> None: + assert self.doc is not None, "valid DXF document is required" + key = self.doc.layers.key + old_key = key(old_name) + for e in self.doc.entitydb.values(): + if e.dxf.hasattr("layer") and key(e.dxf.layer) == old_key: + e.dxf.layer = new_name + entity_type = e.dxftype() + if entity_type == "VIEWPORT": + e.rename_frozen_layer(old_name, new_name) # type: ignore + elif entity_type == "LAYER_FILTER": + # todo: if LAYER_FILTER implemented, add support for + # renaming layers + logger.debug( + f'renaming layer "{old_name}" - document contains ' f"LAYER_FILTER" + ) + elif entity_type == "LAYER_INDEX": + # todo: if LAYER_INDEX implemented, add support for + # renaming layers + logger.debug( + f'renaming layer "{old_name}" - document contains ' f"LAYER_INDEX" + ) + + def get_vp_overrides(self) -> LayerOverrides: + """Returns the :class:`LayerOverrides` object for this layer.""" + return LayerOverrides(self) + + def register_resources(self, registry: xref.Registry) -> None: + """Register required resources to the resource registry.""" + assert self.doc is not None, "LAYER entity must be assigned to a document" + super().register_resources(registry) + registry.add_linetype(self.dxf.linetype) + registry.add_handle(self.dxf.get("material_handle")) + # current plot style will be replaced by default plot style "Normal" + + def map_resources(self, clone: Self, mapping: xref.ResourceMapper) -> None: + """Translate resources from self to the copied entity.""" + assert isinstance(clone, Layer) + super().map_resources(clone, mapping) + self.dxf.linetype = mapping.get_linetype(self.dxf.linetype) + + mapping.map_existing_handle(self, clone, "material_handle", optional=True) + # remove handles pointing to the source document: + clone.dxf.discard("plotstyle_handle") # replaced by plot style "Normal" + clone.dxf.discard("unknown1") + + # create required handles to resources in the target document + clone.set_required_attributes() + # todo: map layer overrides + # remove layer overrides + clone.discard_extension_dict() + + def audit(self, auditor: Auditor) -> None: + super().audit(auditor) + linetype = self.dxf.linetype + if auditor.doc.linetypes.has_entry(linetype): + return + self.dxf.linetype = "Continuous" + auditor.fixed_error( + code=AuditError.UNDEFINED_LINETYPE, + message=f"Replaced undefined linetype {linetype} in layer '{self.dxf.name}' by CONTINUOUS", + dxf_entity=self, + data=linetype, + ) + + +@dataclass +class OverrideAttributes: + aci: int + rgb: Optional[clr.RGB] + transparency: float + linetype: str + lineweight: int + + +class LayerOverrides: + """This object stores the layer attribute overridden in VIEWPORT entities, + where each VIEWPORT can have individual layer attribute overrides. + + Layer attributes which can be overridden: + + - ACI color + - true color (rgb) + - linetype + - lineweight + - transparency + + """ + + def __init__(self, layer: Layer): + assert layer.doc is not None, "valid DXF document required" + self._layer = layer + self._overrides = load_layer_overrides(layer) + + def has_overrides(self, vp_handle: Optional[str] = None) -> bool: + """Returns ``True`` if attribute overrides exist for the given + :class:`Viewport` handle. + Returns ``True`` if `any` attribute overrides exist if the given + handle is ``None``. + """ + if vp_handle is None: + return bool(self._overrides) + return vp_handle in self._overrides + + def commit(self) -> None: + """Write :class:`Viewport` overrides back into the :class:`Layer` entity. + Without a commit() all changes are lost! + """ + store_layer_overrides(self._layer, self._overrides) + + def _acquire_overrides(self, vp_handle: str) -> OverrideAttributes: + """Returns the OverrideAttributes() instance for `vp_handle`, creates a new + OverrideAttributes() instance if none exist. + """ + return self._overrides.setdefault( + vp_handle, + default_ovr_settings(self._layer), + ) + + def _get_overrides(self, vp_handle: str) -> OverrideAttributes: + """Returns the overrides for `vp_handle`, returns the default layer + settings if no Override() instance exist. + """ + try: + return self._overrides[vp_handle] + except KeyError: + return default_ovr_settings(self._layer) + + def set_color(self, vp_handle: str, value: int) -> None: + """Override the :ref:`ACI`. + + Raises: + ValueError: invalid color value + """ + # BYBLOCK or BYLAYER is not valid a layer color + if not is_valid_layer_color_index(value): + raise ValueError(f"invalid ACI value: {value}") + vp_overrides = self._acquire_overrides(vp_handle) + vp_overrides.aci = value + + def get_color(self, vp_handle: str) -> int: + """Returns the :ref:`ACI` override or the original layer value if no + override exist. + """ + vp_overrides = self._get_overrides(vp_handle) + return vp_overrides.aci + + def set_rgb(self, vp_handle: str, value: Optional[clr.RGB]): + """Set the RGB override as (red, gree, blue) tuple or ``None`` to remove + the true color setting. + + Raises: + ValueError: invalid RGB value + + """ + if value is not None and not validator.is_valid_rgb(value): + raise ValueError(f"invalid RGB value: {value}") + vp_overrides = self._acquire_overrides(vp_handle) + vp_overrides.rgb = value + + def get_rgb(self, vp_handle: str) -> Optional[clr.RGB]: + """Returns the RGB override or the original layer value if no + override exist. Returns ``None`` if no true color value is set. + """ + vp_overrides = self._get_overrides(vp_handle) + return vp_overrides.rgb + + def set_transparency(self, vp_handle: str, value: float) -> None: + """Set the transparency override. A transparency of 0.0 is opaque and + 1.0 is fully transparent. + + Raises: + ValueError: invalid transparency value + + """ + if not (0.0 <= value <= 1.0): + raise ValueError( + f"invalid transparency: {value}, has to be in the range [0, 1]" + ) + vp_overrides = self._acquire_overrides(vp_handle) + vp_overrides.transparency = value + + def get_transparency(self, vp_handle: str) -> float: + """Returns the transparency override or the original layer value if no + override exist. Returns 0.0 for opaque and 1.0 for fully transparent. + """ + vp_overrides = self._get_overrides(vp_handle) + return vp_overrides.transparency + + def set_linetype(self, vp_handle: str, value: str) -> None: + """Set the linetype override. + + Raises: + ValueError: linetype without a LTYPE table entry + """ + if value not in self._layer.doc.linetypes: # type: ignore + raise ValueError( + f"invalid linetype: {value}, a linetype table entry is required" + ) + vp_overrides = self._acquire_overrides(vp_handle) + vp_overrides.linetype = value + + def get_linetype(self, vp_handle: str) -> str: + """Returns the linetype override or the original layer value if no + override exist. + """ + vp_overrides = self._get_overrides(vp_handle) + return vp_overrides.linetype + + def get_lineweight(self, vp_handle: str) -> int: + """Returns the lineweight override or the original layer value if no + override exist. + """ + vp_overrides = self._get_overrides(vp_handle) + return vp_overrides.lineweight + + def set_lineweight(self, vp_handle: str, value: int) -> None: + """Set the lineweight override. + + Raises: + ValueError: invalid lineweight value + """ + if not is_valid_layer_lineweight(value): + raise ValueError( + f"invalid lineweight: {value}, a linetype table entry is required" + ) + vp_overrides = self._acquire_overrides(vp_handle) + vp_overrides.lineweight = value + + def discard(self, vp_handle: Optional[str] = None) -> None: + """Discard all attribute overrides for the given :class:`Viewport` + handle or for all :class:`Viewport` entities if the handle is ``None``. + """ + if vp_handle is None: + self._overrides.clear() + return + try: + del self._overrides[vp_handle] + except KeyError: + pass + + +def default_ovr_settings(layer) -> OverrideAttributes: + """Returns the default settings of the layer.""" + return OverrideAttributes( + aci=layer.color, + rgb=layer.rgb, + transparency=layer.transparency, + linetype=layer.dxf.linetype, + lineweight=layer.dxf.lineweight, + ) + + +def is_layer_frozen_in_vp(layer, vp_handle) -> bool: + """Returns ``True`` if layer is frozen in VIEWPORT defined by the vp_handle.""" + vp = cast("Viewport", layer.doc.entitydb.get(vp_handle)) + if vp is not None: + return layer.dxf.name in vp.frozen_layers + return False + + +def load_layer_overrides(layer: Layer) -> dict[str, OverrideAttributes]: + """Load all VIEWPORT overrides from the layer extension dictionary.""" + + def get_ovr(vp_handle: str): + ovr = overrides.get(vp_handle) + if ovr is None: + ovr = default_ovr_settings(layer) + overrides[vp_handle] = ovr + return ovr + + def set_alpha(vp_handle: str, value: int): + ovr = get_ovr(vp_handle) + ovr.transparency = clr.transparency2float(value) + + def set_color(vp_handle: str, value: int): + ovr = get_ovr(vp_handle) + type_, data = clr.decode_raw_color(value) + if type_ == clr.COLOR_TYPE_ACI: + ovr.aci = data + elif type_ == clr.COLOR_TYPE_RGB: + ovr.rgb = data + + def set_ltype(vp_handle: str, lt_handle: str): + ltype = entitydb.get(lt_handle) + if ltype is not None: + ovr = get_ovr(vp_handle) + ovr.linetype = ltype.dxf.name + + def set_lw(vp_handle: str, value: int): + ovr = get_ovr(vp_handle) + ovr.lineweight = value + + def set_xdict_state(): + xdict = layer.get_extension_dict() + for key, code, setter in [ + (const.OVR_ALPHA_KEY, const.OVR_ALPHA_CODE, set_alpha), + (const.OVR_COLOR_KEY, const.OVR_COLOR_CODE, set_color), + (const.OVR_LTYPE_KEY, const.OVR_LTYPE_CODE, set_ltype), + (const.OVR_LW_KEY, const.OVR_LW_CODE, set_lw), + ]: + xrec = cast("XRecord", xdict.get(key)) + if xrec is not None: + for vp_handle, value in _load_ovr_values(xrec, code): + setter(vp_handle, value) + + assert layer.doc is not None, "valid DXF document required" + entitydb: EntityDB = layer.doc.entitydb + assert entitydb is not None, "valid entity database required" + + overrides: dict[str, OverrideAttributes] = dict() + if not layer.has_extension_dict: + return overrides + + set_xdict_state() + return overrides + + +def _load_ovr_values(xrec: XRecord, group_code): + tags = xrec.tags + handles = [value for code, value in tags.find_all(const.OVR_VP_HANDLE_CODE)] + values = [value for code, value in tags.find_all(group_code)] + return zip(handles, values) + + +def store_layer_overrides( + layer: Layer, overrides: dict[str, OverrideAttributes] +) -> None: + """Store all VIEWPORT overrides in the layer extension dictionary. + Replaces all existing overrides! + """ + from ezdxf.lldxf.types import DXFTag + + def get_xdict(): + if layer.has_extension_dict: + return layer.get_extension_dict() + else: + return layer.new_extension_dict() + + def set_xdict_tags(key: str, tags: list[DXFTag]): + from ezdxf.entities import XRecord + + xdict = get_xdict() + xrec = xdict.get(key) + if not isinstance(xrec, XRecord) and xrec is not None: + logger.debug( + f"Found entity {str(xrec)} as override storage in {str(layer)} " + f"but expected XRECORD" + ) + xrec = None + if xrec is None: + xrec = xdict.add_xrecord(key) + xrec.dxf.cloning = 1 + xrec.reset(tags) + + def del_xdict_tags(key: str): + if not layer.has_extension_dict: + return + xdict = layer.get_extension_dict() + xrec = xdict.get(key) + if xrec is not None: + xrec.destroy() + xdict.discard(key) + + def make_tags(data: list[tuple[Any, str]], name: str, code: int) -> list[DXFTag]: + tags: list[DXFTag] = [] + for value, vp_handle in data: + tags.extend( + [ + DXFTag(102, name), + DXFTag(const.OVR_VP_HANDLE_CODE, vp_handle), + DXFTag(code, value), + DXFTag(102, "}"), + ] + ) + return tags + + def collect_alphas(): + for vp_handle, ovr in vp_exist.items(): + if ovr.transparency != default.transparency: + yield clr.float2transparency(ovr.transparency), vp_handle + + def collect_colors(): + for vp_handle, ovr in vp_exist.items(): + if ovr.aci != default.aci or ovr.rgb != default.rgb: + if ovr.rgb is None: + raw_color = clr.encode_raw_color(ovr.aci) + else: + raw_color = clr.encode_raw_color(ovr.rgb) + yield raw_color, vp_handle + + def collect_linetypes(): + for vp_handle, ovr in vp_exist.items(): + if ovr.linetype != default.linetype: + ltype = layer.doc.linetypes.get(ovr.linetype) + if ltype is not None: + yield ltype.dxf.handle, vp_handle + + def collect_lineweights(): + for vp_handle, ovr in vp_exist.items(): + if ovr.lineweight != default.lineweight: + yield ovr.lineweight, vp_handle + + assert layer.doc is not None, "valid DXF document required" + entitydb = layer.doc.entitydb + vp_exist = { + vp_handle: ovr + for vp_handle, ovr in overrides.items() + if (vp_handle in entitydb) and entitydb[vp_handle].is_alive + } + default = default_ovr_settings(layer) + alphas = list(collect_alphas()) + if alphas: + tags = make_tags(alphas, const.OVR_APP_ALPHA, const.OVR_ALPHA_CODE) + set_xdict_tags(const.OVR_ALPHA_KEY, tags) + else: + del_xdict_tags(const.OVR_ALPHA_KEY) + + colors = list(collect_colors()) + if colors: + tags = make_tags(colors, const.OVR_APP_COLOR, const.OVR_COLOR_CODE) + set_xdict_tags(const.OVR_COLOR_KEY, tags) + else: + del_xdict_tags(const.OVR_COLOR_KEY) + + linetypes = list(collect_linetypes()) + if linetypes: + tags = make_tags(linetypes, const.OVR_APP_LTYPE, const.OVR_LTYPE_CODE) + set_xdict_tags(const.OVR_LTYPE_KEY, tags) + else: + del_xdict_tags(const.OVR_LTYPE_KEY) + + lineweights = list(collect_lineweights()) + if lineweights: + tags = make_tags(lineweights, const.OVR_APP_LW, const.OVR_LW_CODE) + set_xdict_tags(const.OVR_LW_KEY, tags) + else: + del_xdict_tags(const.OVR_LW_KEY) diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/entities/layout.py b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/entities/layout.py new file mode 100644 index 0000000000000000000000000000000000000000..f782178dc4e386cebe83300a765bf76e7ee476a3 --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/entities/layout.py @@ -0,0 +1,394 @@ +# Copyright (c) 2020-2024, Manfred Moitzi +# License: MIT License +from __future__ import annotations +from typing import TYPE_CHECKING, Optional +from typing_extensions import Self +from ezdxf.lldxf import validator +from ezdxf.lldxf.const import SUBCLASS_MARKER +from ezdxf.lldxf.attributes import ( + DXFAttr, + DXFAttributes, + DefSubclass, + XType, + RETURN_DEFAULT, + group_code_mapping, +) +from ezdxf.math import Vec3, Vec2, NULLVEC, X_AXIS, Y_AXIS +from .dxfentity import base_class, SubclassProcessor, DXFEntity +from .dxfobj import DXFObject +from .factory import register_entity + +if TYPE_CHECKING: + from ezdxf.lldxf.tagwriter import AbstractTagWriter + from ezdxf.entities.dxfns import DXFNamespace + from ezdxf import xref + +__all__ = ["PlotSettings", "DXFLayout"] + +acdb_plot_settings = DefSubclass( + "AcDbPlotSettings", + { + # acdb_plot_settings is also part of LAYOUT and LAYOUT has a 'name' attribute + "page_setup_name": DXFAttr(1, default=""), + + # An optional empty string selects the default printer/plotter + "plot_configuration_file": DXFAttr(2, default="", optional=True), + "paper_size": DXFAttr(4, default="A3"), + "plot_view_name": DXFAttr(6, default=""), + "left_margin": DXFAttr(40, default=7.5), # in mm + "bottom_margin": DXFAttr(41, default=20), # in mm + "right_margin": DXFAttr(42, default=7.5), # in mm + "top_margin": DXFAttr(43, default=20), # in mm + "paper_width": DXFAttr(44, default=420), # in mm + "paper_height": DXFAttr(45, default=297), # in mm + "plot_origin_x_offset": DXFAttr(46, default=0.0), # in mm + "plot_origin_y_offset": DXFAttr(47, default=0.0), # in mm + "plot_window_x1": DXFAttr(48, default=0.0), + "plot_window_y1": DXFAttr(49, default=0.0), + "plot_window_x2": DXFAttr(140, default=0.0), + "plot_window_y2": DXFAttr(141, default=0.0), + # Numerator of custom print scale: real world (paper) units: + "scale_numerator": DXFAttr(142, default=1.0), + # Denominator of custom print scale: drawing units: + "scale_denominator": DXFAttr(143, default=1.0), + # Plot layout flags: + # 1 = plot viewport borders + # 2 = show plot-styles + # 4 = plot centered + # 8 = plot hidden == hide paperspace entities? + # 16 = use standard scale + # 32 = plot with plot-styles + # 64 = scale lineweights + # 128 = plot entity lineweights + # 512 = draw viewports first + # 1024 = model type + # 2048 = update paper + # 4096 = zoom to paper on update + # 8192 = initializing + # 16384 = prev plot-init + # the "Plot transparencies" option is stored in the XDATA section + "plot_layout_flags": DXFAttr(70, default=688), + # Plot paper units: + # 0 = Plot in inches + # 1 = Plot in millimeters + # 2 = Plot in pixels + "plot_paper_units": DXFAttr( + 72, + default=1, + validator=validator.is_in_integer_range(0, 3), + fixer=RETURN_DEFAULT, + ), + # Plot rotation: + # 0 = No rotation + # 1 = 90 degrees counterclockwise + # 2 = Upside-down + # 3 = 90 degrees clockwise + "plot_rotation": DXFAttr( + 73, + default=0, + validator=validator.is_in_integer_range(0, 4), + fixer=RETURN_DEFAULT, + ), + # Plot type: + # 0 = Last screen display + # 1 = Drawing extents + # 2 = Drawing limits + # 3 = View specified by code 6 + # 4 = Window specified by codes 48, 49, 140, and 141 + # 5 = Layout information + "plot_type": DXFAttr( + 74, + default=5, + validator=validator.is_in_integer_range(0, 6), + fixer=RETURN_DEFAULT, + ), + # Associated CTB-file + "current_style_sheet": DXFAttr(7, default=""), + # Standard scale type: + # 0 = Scaled to Fit + # 1 = 1/128"=1' + # 2 = 1/64"=1' + # 3 = 1/32"=1' + # 4 = 1/16"=1' + # 5 = 3/32"=1' + # 6 = 1/8"=1' + # 7 = 3/16"=1' + # 8 = 1/4"=1' + # 9 = 3/8"=1' + # 10 = 1/2"=1' + # 11 = 3/4"=1' + # 12 = 1"=1' + # 13 = 3"=1' + # 14 = 6"=1' + # 15 = 1'=1' + # 16 = 1:1 + # 17 = 1:2 + # 18 = 1:4 + # 19 = 1:8 + # 20 = 1:10 + # 21 = 1:16 + # 22 = 1:20 + # 23 = 1:30 + # 24 = 1:40 + # 25 = 1:50 + # 26 = 1:100 + # 27 = 2:1 + # 28 = 4:1 + # 29 = 8:1 + # 30 = 10:1 + # 31 = 100:1 + # 32 = 1000:1 + "standard_scale_type": DXFAttr( + 75, + default=16, + validator=validator.is_in_integer_range(0, 33), + fixer=RETURN_DEFAULT, + ), + # Shade plot mode: + # 0 = As Displayed + # 1 = Wireframe + # 2 = Hidden + # 3 = Rendered + "shade_plot_mode": DXFAttr( + 76, + default=0, + validator=validator.is_in_integer_range(0, 4), + fixer=RETURN_DEFAULT, + ), + # Shade plot resolution level: + # 0 = Draft + # 1 = Preview + # 2 = Normal + # 3 = Presentation + # 4 = Maximum + # 5 = Custom + "shade_plot_resolution_level": DXFAttr( + 77, + default=2, + validator=validator.is_in_integer_range(0, 6), + fixer=RETURN_DEFAULT, + ), + # Valid range: 100 to 32767, Only applied when the shade_plot_resolution + # level is set to 5 (Custom) + "shade_plot_custom_dpi": DXFAttr( + 78, + default=300, + validator=validator.is_in_integer_range(100, 32768), + fixer=validator.fit_into_integer_range(100, 32768), + ), + # Factor for unit conversion (mm -> inches) + # 147: DXF Reference error: 'A floating point scale factor that represents + # the standard scale value specified in code 75' + "unit_factor": DXFAttr( + 147, + default=1.0, + validator=validator.is_greater_zero, + fixer=RETURN_DEFAULT, + ), + "paper_image_origin_x": DXFAttr(148, default=0), + "paper_image_origin_y": DXFAttr(149, default=0), + "shade_plot_handle": DXFAttr(333, optional=True), + }, +) +acdb_plot_settings_group_codes = group_code_mapping(acdb_plot_settings) + +# The "Plot transparencies" option is stored in the XDATA section of the +# LAYOUT entity: +# 1001 +# PLOTTRANSPARENCY +# 1071 +# 1 + + +@register_entity +class PlotSettings(DXFObject): + DXFTYPE = "PLOTSETTINGS" + DXFATTRIBS = DXFAttributes(base_class, acdb_plot_settings) + + def load_dxf_attribs( + self, processor: Optional[SubclassProcessor] = None + ) -> DXFNamespace: + dxf = super().load_dxf_attribs(processor) + if processor: + processor.fast_load_dxfattribs(dxf, acdb_plot_settings_group_codes, 1) + return dxf + + def export_entity(self, tagwriter: AbstractTagWriter) -> None: + """Export entity specific data as DXF tags.""" + super().export_entity(tagwriter) + tagwriter.write_tag2(SUBCLASS_MARKER, acdb_plot_settings.name) + + self.dxf.export_dxf_attribs( + tagwriter, + [ + "page_setup_name", + "plot_configuration_file", + "paper_size", + "plot_view_name", + "left_margin", + "bottom_margin", + "right_margin", + "top_margin", + "paper_width", + "paper_height", + "plot_origin_x_offset", + "plot_origin_y_offset", + "plot_window_x1", + "plot_window_y1", + "plot_window_x2", + "plot_window_y2", + "scale_numerator", + "scale_denominator", + "plot_layout_flags", + "plot_paper_units", + "plot_rotation", + "plot_type", + "current_style_sheet", + "standard_scale_type", + "shade_plot_mode", + "shade_plot_resolution_level", + "shade_plot_custom_dpi", + "unit_factor", + "paper_image_origin_x", + "paper_image_origin_y", + ], + ) + + def register_resources(self, registry: xref.Registry) -> None: + super().register_resources(registry) + registry.add_handle(self.dxf.get("shade_plot_handle")) + + def map_resources(self, clone: Self, mapping: xref.ResourceMapper) -> None: + super().map_resources(clone, mapping) + shade_plot_handle = self.dxf.get("shade_plot_handle") + if shade_plot_handle and shade_plot_handle != "0": + clone.dxf.shade_plot_handle = mapping.get_handle(shade_plot_handle) + else: + clone.dxf.discard("shade_plot_handle") + + +acdb_layout = DefSubclass( + "AcDbLayout", + { + # Layout name: + "name": DXFAttr(1, default="Layoutname"), + # Flag (bit-coded) to control the following: + # 1 = Indicates the PSLTSCALE value for this layout when this layout is current + # 2 = Indicates the LIMCHECK value for this layout when this layout is current + "layout_flags": DXFAttr(70, default=1), + # Tab order: This number is an ordinal indicating this layout's ordering in + # the tab control that is attached to the AutoCAD drawing frame window. + # Note that the "Model" tab always appears as the first tab regardless of + # its tab order. + "taborder": DXFAttr(71, default=1), + # Minimum limits: + "limmin": DXFAttr(10, xtype=XType.point2d, default=Vec2(0, 0)), + # Maximum limits: + "limmax": DXFAttr(11, xtype=XType.point2d, default=Vec2(420, 297)), + # Insertion base point for this layout: + "insert_base": DXFAttr(12, xtype=XType.point3d, default=NULLVEC), + # Minimum extents for this layout: + "extmin": DXFAttr(14, xtype=XType.point3d, default=Vec3(1e20, 1e20, 1e20)), + # Maximum extents for this layout: + "extmax": DXFAttr(15, xtype=XType.point3d, default=Vec3(-1e20, -1e20, -1e20)), + "elevation": DXFAttr(146, default=0.0), + "ucs_origin": DXFAttr(13, xtype=XType.point3d, default=NULLVEC), + "ucs_xaxis": DXFAttr( + 16, + xtype=XType.point3d, + default=X_AXIS, + validator=validator.is_not_null_vector, + fixer=RETURN_DEFAULT, + ), + "ucs_yaxis": DXFAttr( + 17, + xtype=XType.point3d, + default=Y_AXIS, + validator=validator.is_not_null_vector, + fixer=RETURN_DEFAULT, + ), + # Orthographic type of UCS: + # 0 = UCS is not orthographic + # 1 = Top + # 2 = Bottom + # 3 = Front + # 4 = Back + # 5 = Left + # 6 = Right + "ucs_type": DXFAttr( + 76, + default=1, + validator=validator.is_in_integer_range(0, 7), + fixer=RETURN_DEFAULT, + ), + # Handle of parent BLOCK_RECORD + "block_record_handle": DXFAttr(330), + # Handle to the viewport that was last active in this + # layout when the layout was current: + "viewport_handle": DXFAttr(331), + # Handle of AcDbUCSTableRecord if UCS is a named + # UCS. If not present, then UCS is unnamed + "ucs_handle": DXFAttr(345), + # Handle of AcDbUCSTableRecord of base UCS if UCS is + # orthographic (76 code is non-zero). If not present and + # 76 code is non-zero, then base UCS is taken to be WORLD + "base_ucs_handle": DXFAttr(346), + }, +) +acdb_layout_group_codes = group_code_mapping(acdb_layout) + + +@register_entity +class DXFLayout(PlotSettings): + DXFTYPE = "LAYOUT" + DXFATTRIBS = DXFAttributes(base_class, acdb_plot_settings, acdb_layout) + + def load_dxf_attribs( + self, processor: Optional[SubclassProcessor] = None + ) -> DXFNamespace: + dxf = super().load_dxf_attribs(processor) + if processor: + processor.fast_load_dxfattribs(dxf, acdb_layout_group_codes, 2) + return dxf + + def export_entity(self, tagwriter: AbstractTagWriter) -> None: + # Set correct model type flag + self.set_flag_state(1024, self.dxf.name.upper() == "MODEL", "plot_layout_flags") + super().export_entity(tagwriter) + tagwriter.write_tag2(SUBCLASS_MARKER, acdb_layout.name) + self.dxf.export_dxf_attribs( + tagwriter, + [ + "name", + "layout_flags", + "taborder", + "limmin", + "limmax", + "insert_base", + "extmin", + "extmax", + "elevation", + "ucs_origin", + "ucs_xaxis", + "ucs_yaxis", + "ucs_type", + "block_record_handle", + "viewport_handle", + "ucs_handle", + "base_ucs_handle", + ], + ) + + def register_resources(self, registry: xref.Registry) -> None: + super().register_resources(registry) + registry.add_handle(self.dxf.get("ucs_handle")) + registry.add_handle(self.dxf.get("base_ucs_handle")) + + def map_resources(self, clone: Self, mapping: xref.ResourceMapper) -> None: + super().map_resources(clone, mapping) + + # The content of paperspace layouts is not copied automatically and the + # associated BLOCK_RECORD is created and assigned in a special method. + mapping.map_existing_handle(self, clone, "ucs_handle", optional=True) + mapping.map_existing_handle(self, clone, "base_ucs_handle", optional=True) + mapping.map_existing_handle(self, clone, "viewport_handle", optional=True) diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/entities/leader.py b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/entities/leader.py new file mode 100644 index 0000000000000000000000000000000000000000..0e47c9906cc01689dc125077b87acd555ecb9e60 --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/entities/leader.py @@ -0,0 +1,360 @@ +# Copyright (c) 2019-2024 Manfred Moitzi +# License: MIT License +from __future__ import annotations +from typing import TYPE_CHECKING, Iterable, Optional, Iterator +from typing_extensions import Self +import logging +from ezdxf.lldxf import validator +from ezdxf.lldxf.attributes import ( + DXFAttr, + DXFAttributes, + DefSubclass, + XType, + RETURN_DEFAULT, + group_code_mapping, +) +from ezdxf.lldxf.tags import Tags, DXFTag +from ezdxf.lldxf import const + +from ezdxf.math import Vec3, UVec, X_AXIS, Z_AXIS, NULLVEC +from ezdxf.math.transformtools import transform_extrusion +from ezdxf.explode import explode_entity +from ezdxf.audit import AuditError +from .dxfentity import base_class, SubclassProcessor +from .dxfgfx import DXFGraphic, acdb_entity +from .factory import register_entity +from .dimension import OverrideMixin, register_override_handles +from .dimstyleoverride import DimStyleOverride +from .copy import default_copy + +if TYPE_CHECKING: + from ezdxf.audit import Auditor + from ezdxf.entities import DXFNamespace, DXFEntity + from ezdxf.layouts import BaseLayout + from ezdxf.lldxf.tagwriter import AbstractTagWriter + from ezdxf.math import Matrix44 + from ezdxf.query import EntityQuery + from ezdxf import xref + +__all__ = ["Leader"] +logger = logging.getLogger("ezdxf") + +acdb_leader = DefSubclass( + "AcDbLeader", + { + "dimstyle": DXFAttr( + 3, + default="Standard", + validator=validator.is_valid_table_name, + # no fixer! + ), + # Arrowhead flag: 0/1 = no/yes + "has_arrowhead": DXFAttr( + 71, + default=1, + optional=True, + validator=validator.is_integer_bool, + fixer=RETURN_DEFAULT, + ), + # Leader path type: + # 0 = Straight line segments + # 1 = Spline + "path_type": DXFAttr( + 72, + default=0, + optional=True, + validator=validator.is_integer_bool, + fixer=RETURN_DEFAULT, + ), + # Annotation type or leader creation flag: + # 0 = Created with text annotation + # 1 = Created with tolerance annotation; + # 2 = Created with block reference annotation + # 3 = Created without any annotation + "annotation_type": DXFAttr( + 73, + default=3, + validator=validator.is_in_integer_range(0, 4), + fixer=RETURN_DEFAULT, + ), + # Hook line direction flag: + # 1 = Hook line (or end of tangent for a spline leader) is the opposite + # direction from the horizontal vector + # 0 = Hook line (or end of tangent for a spline leader) is the same + # direction as horizontal vector (see code 75) + # DXF reference error: swapped meaning of 1/0 + "hookline_direction": DXFAttr( + 74, + default=1, + optional=True, + validator=validator.is_integer_bool, + fixer=RETURN_DEFAULT, + ), + # Hook line flag: 0/1 = no/yes + "has_hookline": DXFAttr( + 75, + default=1, + optional=True, + validator=validator.is_integer_bool, + fixer=RETURN_DEFAULT, + ), + # Text annotation height: + "text_height": DXFAttr( + 40, + default=1, + optional=True, + validator=validator.is_greater_zero, + fixer=RETURN_DEFAULT, + ), + # Text annotation width: + "text_width": DXFAttr( + 41, + default=1, + optional=True, + validator=validator.is_greater_zero, + fixer=RETURN_DEFAULT, + ), + # 76: Number of vertices in leader (ignored for OPEN) + # 10, 20, 30: Vertex coordinates (one entry for each vertex) + # Color to use if leader's DIMCLRD = BYBLOCK + "block_color": DXFAttr( + 77, + default=7, + optional=True, + validator=validator.is_valid_aci_color, + fixer=RETURN_DEFAULT, + ), + # Hard reference to associated annotation: + # (mtext, tolerance, or insert entity) + "annotation_handle": DXFAttr(340, default="0", optional=True), + "normal_vector": DXFAttr( + 210, + xtype=XType.point3d, + default=Z_AXIS, + optional=True, + validator=validator.is_not_null_vector, + fixer=RETURN_DEFAULT, + ), + # 'horizontal' direction for leader + "horizontal_direction": DXFAttr( + 211, + xtype=XType.point3d, + default=X_AXIS, + optional=True, + validator=validator.is_not_null_vector, + fixer=RETURN_DEFAULT, + ), + # Offset of last leader vertex from block reference insertion point + "leader_offset_block_ref": DXFAttr( + 212, xtype=XType.point3d, default=NULLVEC, optional=True + ), + # Offset of last leader vertex from annotation placement point + "leader_offset_annotation_placement": DXFAttr( + 213, xtype=XType.point3d, default=NULLVEC, optional=True + ), + # Xdata belonging to the application ID "ACAD" follows a leader entity if + # any dimension overrides have been applied to this entity. See Dimension + # Style Overrides. + }, +) +acdb_leader_group_codes = group_code_mapping(acdb_leader) + + +@register_entity +class Leader(DXFGraphic, OverrideMixin): + """DXF LEADER entity""" + + DXFTYPE = "LEADER" + DXFATTRIBS = DXFAttributes(base_class, acdb_entity, acdb_leader) + MIN_DXF_VERSION_FOR_EXPORT = const.DXF2000 + + def __init__(self) -> None: + super().__init__() + self.vertices: list[Vec3] = [] + + def copy_data(self, entity: Self, copy_strategy=default_copy) -> None: + """Copy vertices.""" + assert isinstance(entity, Leader) + entity.vertices = Vec3.list(self.vertices) + + def load_dxf_attribs( + self, processor: Optional[SubclassProcessor] = None + ) -> DXFNamespace: + dxf = super().load_dxf_attribs(processor) + if processor: + tags = processor.subclass_by_index(2) + if tags: + tags = Tags(self.load_vertices(tags)) + processor.fast_load_dxfattribs( + dxf, acdb_leader_group_codes, tags, recover=True + ) + else: + raise const.DXFStructureError( + f"missing 'AcDbLeader' subclass in LEADER(#{dxf.handle})" + ) + + return dxf + + def load_vertices(self, tags: Tags) -> Iterable[DXFTag]: + for tag in tags: + if tag.code == 10: + self.vertices.append(tag.value) + elif tag.code == 76: + # Number of vertices in leader (ignored for OPEN) + pass + else: + yield tag + + def preprocess_export(self, tagwriter: AbstractTagWriter) -> bool: + if len(self.vertices) < 2: + logger.debug(f"Invalid {str(self)}: more than 1 vertex required.") + return False + else: + return True + + def export_entity(self, tagwriter: AbstractTagWriter) -> None: + """Export entity specific data as DXF tags.""" + super().export_entity(tagwriter) + tagwriter.write_tag2(const.SUBCLASS_MARKER, acdb_leader.name) + self.dxf.export_dxf_attribs( + tagwriter, + [ + "dimstyle", + "has_arrowhead", + "path_type", + "annotation_type", + "hookline_direction", + "has_hookline", + "text_height", + "text_width", + ], + ) + self.export_vertices(tagwriter) + self.dxf.export_dxf_attribs( + tagwriter, + [ + "block_color", + "annotation_handle", + "normal_vector", + "horizontal_direction", + "leader_offset_block_ref", + "leader_offset_annotation_placement", + ], + ) + + def export_vertices(self, tagwriter: AbstractTagWriter) -> None: + tagwriter.write_tag2(76, len(self.vertices)) + for vertex in self.vertices: + tagwriter.write_vertex(10, vertex) + + def register_resources(self, registry: xref.Registry) -> None: + """Register required resources to the resource registry.""" + assert self.doc is not None + super().register_resources(registry) + registry.add_dim_style(self.dxf.dimstyle) + + # The leader entity cannot register the annotation entity! + if not self.has_xdata_list("ACAD", "DSTYLE"): + return + + if self.doc.dxfversion > const.DXF12: + # overridden resources are referenced by handle + register_override_handles(self, registry) + else: + # overridden resources are referenced by name + self.override().register_resources_r12(registry) + + def map_resources(self, clone: Self, mapping: xref.ResourceMapper) -> None: + """Translate resources from self to the copied entity.""" + super().map_resources(clone, mapping) + if self.dxf.hasattr("annotation_handle"): + clone.dxf.annotation_handle = mapping.get_handle(self.dxf.annotation_handle) + + # DXF R2000+ references overridden resources by group code 1005 handles in the + # XDATA section, which are automatically mapped by the parent class DXFEntity! + assert self.doc is not None + if self.doc.dxfversion > const.DXF12: + return + self_override = self.override() + if not self_override.dimstyle_attribs: + return # has no overrides + + assert isinstance(clone, Leader) + self_override.map_resources_r12(clone, mapping) + + def override(self) -> DimStyleOverride: + """Returns the :class:`~ezdxf.entities.DimStyleOverride` object. + + .. warning:: + + The LEADER entity shares only the DIMSTYLE override infrastructure with the + DIMENSION entity but does not support any other features of the DIMENSION + entity! + + HANDLE WITH CARE! + + """ + return DimStyleOverride(self) # type: ignore + + def set_vertices(self, vertices: Iterable[UVec]): + """Set vertices of the leader, vertices is an iterable of + (x, y [,z]) tuples or :class:`~ezdxf.math.Vec3`. + + """ + self.vertices = [Vec3(v) for v in vertices] + + def transform(self, m: Matrix44) -> Leader: + """Transform LEADER entity by transformation matrix `m` inplace.""" + self.vertices = list(m.transform_vertices(self.vertices)) + self.dxf.normal_vector, _ = transform_extrusion( + self.dxf.normal_vector, m + ) # ??? + self.dxf.horizontal_direction = m.transform_direction( + self.dxf.horizontal_direction + ) + self.post_transform(m) + return self + + def __virtual_entities__(self) -> Iterator[DXFGraphic]: + """Implements the SupportsVirtualEntities protocol.""" + from ezdxf.render.leader import virtual_entities + + for e in virtual_entities(self): + e.set_source_of_copy(self) + yield e + + def virtual_entities(self) -> Iterator[DXFGraphic]: + """Yields the DXF primitives the LEADER entity is build up as virtual entities. + + These entities are located at the original location, but are not stored + in the entity database, have no handle and are not assigned to any + layout. + """ + return self.__virtual_entities__() + + def explode(self, target_layout: Optional[BaseLayout] = None) -> EntityQuery: + """Explode parts of the LEADER entity as DXF primitives into target layout, + if target layout is ``None``, the target layout is the layout of the LEADER + entity. This method destroys the source entity. + + Returns an :class:`~ezdxf.query.EntityQuery` container referencing all + DXF primitives. + + Args: + target_layout: target layout for the created DXF primitives, ``None`` for + the same layout as the source entity. + + """ + return explode_entity(self, target_layout) + + def audit(self, auditor: Auditor) -> None: + """Validity check.""" + super().audit(auditor) + if len(self.vertices) < 2: + auditor.fixed_error( + code=AuditError.INVALID_VERTEX_COUNT, + message=f"Deleted entity {str(self)} with invalid vertex count " + f"= {len(self.vertices)}.", + dxf_entity=self, + ) + self.destroy() diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/entities/light.py b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/entities/light.py new file mode 100644 index 0000000000000000000000000000000000000000..a42d861976cbf45d7b1ca49d755c42a674f50e4a --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/entities/light.py @@ -0,0 +1,152 @@ +# Copyright (c) 2019-2022, Manfred Moitzi +# License: MIT-License +from __future__ import annotations +from typing import TYPE_CHECKING, Optional +from ezdxf.lldxf import validator +from ezdxf.lldxf.const import SUBCLASS_MARKER, DXF2007 +from ezdxf.lldxf.attributes import ( + DXFAttributes, + DefSubclass, + DXFAttr, + XType, + RETURN_DEFAULT, + group_code_mapping, +) +from .dxfentity import base_class, SubclassProcessor +from .dxfgfx import acdb_entity, DXFGraphic +from .factory import register_entity + +if TYPE_CHECKING: + from ezdxf.entities import DXFNamespace + from ezdxf.lldxf.tagwriter import AbstractTagWriter + from ezdxf.math import Matrix44 + +__all__ = ["Light"] + +acdb_light = DefSubclass( + "AcDbLight", + { + "version": DXFAttr(90, default=0), + # Light name + "name": DXFAttr(1, default=""), + # Light type: + # 1 = distant + # 2 = point + # 3 = spot + "type": DXFAttr( + 70, + default=1, + validator=validator.is_in_integer_range(1, 4), + fixer=RETURN_DEFAULT, + ), + "status": DXFAttr( + 290, + default=1, + validator=validator.is_integer_bool, + fixer=RETURN_DEFAULT, + ), + "plot_glyph": DXFAttr( + 291, + default=0, + validator=validator.is_integer_bool, + fixer=RETURN_DEFAULT, + ), + "intensity": DXFAttr(40, default=1), + # Light position + "location": DXFAttr(10, xtype=XType.point3d), + # Target location + "target": DXFAttr(11, xtype=XType.point3d), + # Attenuation type: + # 0 = None + # 1 = Inverse Linear + # 2 = Inverse Square + "attenuation_type": DXFAttr( + 72, + default=2, + validator=validator.is_in_integer_range(0, 3), + fixer=RETURN_DEFAULT, + ), + "use_attenuation_limits": DXFAttr( + 292, + default=0, + validator=validator.is_integer_bool, + fixer=RETURN_DEFAULT, + ), + "attenuation_start_limits": DXFAttr(41), + "attenuation_end_limits": DXFAttr(42), + "hotspot_angle": DXFAttr(50), # in degrees + "falloff_angle": DXFAttr(51), # in degrees + "cast_shadows": DXFAttr( + 293, + default=1, + validator=validator.is_integer_bool, + fixer=RETURN_DEFAULT, + ), + # Shadow Type: + # 0 = Ray traced shadows + # 1 = Shadow maps + "shadow_type": DXFAttr( + 73, + default=0, + validator=validator.is_integer_bool, + fixer=RETURN_DEFAULT, + ), + "shadow_map_size": DXFAttr(91), + "shadow_map_softness": DXFAttr(280), + }, +) +acdb_light_group_codes = group_code_mapping(acdb_light) + + +@register_entity +class Light(DXFGraphic): + """DXF LIGHT entity""" + + DXFTYPE = "LIGHT" + DXFATTRIBS = DXFAttributes(base_class, acdb_entity, acdb_light) + MIN_DXF_VERSION_FOR_EXPORT = DXF2007 + + def load_dxf_attribs( + self, processor: Optional[SubclassProcessor] = None + ) -> DXFNamespace: + dxf = super().load_dxf_attribs(processor) + if processor: + processor.fast_load_dxfattribs( + dxf, acdb_light_group_codes, 2, recover=True + ) + return dxf + + def export_entity(self, tagwriter: AbstractTagWriter) -> None: + """Export entity specific data as DXF tags.""" + super().export_entity(tagwriter) + tagwriter.write_tag2(SUBCLASS_MARKER, acdb_light.name) + self.dxf.export_dxf_attribs( + tagwriter, + [ + "version", + "name", + "type", + "status", + "plot_glyph", + "intensity", + "location", + "target", + "attenuation_type", + "use_attenuation_limits", + "attenuation_start_limits", + "attenuation_end_limits", + "hotspot_angle", + "falloff_angle", + "cast_shadows", + "shadow_type", + "shadow_map_size", + "shadow_map_softness", + ], + ) + + def transform(self, m: Matrix44) -> Light: + """Transform the LIGHT entity by transformation matrix `m` inplace.""" + self.dxf.location = m.transform(self.dxf.location) + self.dxf.target = m.transform(self.dxf.target) + self.post_transform(m) + return self diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/entities/line.py b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/entities/line.py new file mode 100644 index 0000000000000000000000000000000000000000..b3265647e1eee30fbe2244d8a2e7bdfc89cb9eab --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/entities/line.py @@ -0,0 +1,110 @@ +# Copyright (c) 2019-2022 Manfred Moitzi +# License: MIT License +from __future__ import annotations +from typing import TYPE_CHECKING, Optional +from ezdxf.lldxf import validator +from ezdxf.lldxf.attributes import ( + DXFAttr, + DXFAttributes, + DefSubclass, + XType, + RETURN_DEFAULT, + group_code_mapping, + merge_group_code_mappings, +) +from ezdxf.lldxf.const import DXF12, SUBCLASS_MARKER +from ezdxf.math import Vec3, Matrix44, NULLVEC, Z_AXIS, OCS +from ezdxf.math.transformtools import ( + transform_thickness_and_extrusion_without_ocs, +) +from .dxfentity import base_class, SubclassProcessor +from .dxfgfx import DXFGraphic, acdb_entity, acdb_entity_group_codes +from .factory import register_entity + +if TYPE_CHECKING: + from ezdxf.entities import DXFNamespace + from ezdxf.lldxf.tagwriter import AbstractTagWriter + +__all__ = ["Line"] + +acdb_line = DefSubclass( + "AcDbLine", + { + "start": DXFAttr(10, xtype=XType.point3d, default=NULLVEC), + "end": DXFAttr(11, xtype=XType.point3d, default=NULLVEC), + "thickness": DXFAttr(39, default=0, optional=True), + "extrusion": DXFAttr( + 210, + xtype=XType.point3d, + default=Z_AXIS, + optional=True, + validator=validator.is_not_null_vector, + fixer=RETURN_DEFAULT, + ), + }, +) + +acdb_line_group_codes = group_code_mapping(acdb_line) +merged_line_group_codes = merge_group_code_mappings( + acdb_entity_group_codes, acdb_line_group_codes # type: ignore +) + + +@register_entity +class Line(DXFGraphic): + """The LINE entity represents a 3D line from `start` to `end`""" + + DXFTYPE = "LINE" + DXFATTRIBS = DXFAttributes(base_class, acdb_entity, acdb_line) + + def load_dxf_attribs( + self, processor: Optional[SubclassProcessor] = None + ) -> DXFNamespace: + """Loading interface. (internal API)""" + # bypass DXFGraphic, loading proxy graphic is skipped! + dxf = super(DXFGraphic, self).load_dxf_attribs(processor) + if processor: + processor.simple_dxfattribs_loader(dxf, merged_line_group_codes) + return dxf + + def export_entity(self, tagwriter: AbstractTagWriter) -> None: + """Export entity specific data as DXF tags. (internal API)""" + super().export_entity(tagwriter) + if tagwriter.dxfversion > DXF12: + tagwriter.write_tag2(SUBCLASS_MARKER, acdb_line.name) + self.dxf.export_dxf_attribs( + tagwriter, + [ + "start", + "end", + "thickness", + "extrusion", + ], + ) + + def ocs(self) -> OCS: + # WCS entity which supports the "extrusion" attribute in a + # different way! + return OCS() + + def transform(self, m: Matrix44) -> Line: + """Transform the LINE entity by transformation matrix `m` inplace.""" + start, end = m.transform_vertices([self.dxf.start, self.dxf.end]) + self.dxf.start = start + self.dxf.end = end + transform_thickness_and_extrusion_without_ocs(self, m) + self.post_transform(m) + return self + + def translate(self, dx: float, dy: float, dz: float) -> Line: + """Optimized LINE translation about `dx` in x-axis, `dy` in y-axis and + `dz` in z-axis. + + """ + vec = Vec3(dx, dy, dz) + self.dxf.start = vec + self.dxf.start + self.dxf.end = vec + self.dxf.end + # Avoid Matrix44 instantiation if not required: + if self.is_post_transform_required: + self.post_transform(Matrix44.translate(dx, dy, dz)) + return self diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/entities/ltype.py b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/entities/ltype.py new file mode 100644 index 0000000000000000000000000000000000000000..eed888352347a3ef0aa32cb4ff75cec5328e2a0d --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/entities/ltype.py @@ -0,0 +1,270 @@ +# Copyright (c) 2019-2024, Manfred Moitzi +# License: MIT License +from __future__ import annotations +from typing import ( + TYPE_CHECKING, + Union, + Iterable, + Sequence, + Optional, +) +from typing_extensions import Self +from copy import deepcopy +from ezdxf.lldxf.attributes import ( + DXFAttr, + DXFAttributes, + DefSubclass, + group_code_mapping, +) +from ezdxf.lldxf.const import DXF12, SUBCLASS_MARKER +from ezdxf.lldxf.types import DXFTag +from ezdxf.lldxf.tags import Tags +from ezdxf.entities.dxfentity import base_class, SubclassProcessor, DXFEntity +from ezdxf.entities.layer import acdb_symbol_table_record +from ezdxf.lldxf.validator import is_valid_table_name +from ezdxf.tools.complex_ltype import lin_compiler +from .factory import register_entity +from .copy import default_copy + +if TYPE_CHECKING: + from ezdxf.entities import DXFNamespace + from ezdxf.lldxf.tagwriter import AbstractTagWriter + from ezdxf import xref + +__all__ = ["Linetype", "compile_line_pattern", "CONTINUOUS_PATTERN"] + +acdb_linetype = DefSubclass( + "AcDbLinetypeTableRecord", + { + "name": DXFAttr(2, validator=is_valid_table_name), + "description": DXFAttr(3, default=""), + "flags": DXFAttr(70, default=0), + # 'length': DXFAttr(40), + # 'items': DXFAttr(73), + }, +) +acdb_linetype_group_codes = group_code_mapping(acdb_linetype) +CONTINUOUS_PATTERN: Sequence[float] = tuple() + + +class LinetypePattern: + def __init__(self, tags: Tags): + """For now just store tags""" + self.tags = tags + + def __len__(self): + return len(self.tags) + + def export_dxf(self, tagwriter: AbstractTagWriter): + if tagwriter.dxfversion <= DXF12: + self.export_r12_dxf(tagwriter) + else: + tagwriter.write_tags(self.tags) + + def export_r12_dxf(self, tagwriter: AbstractTagWriter): + tags49 = Tags(tag for tag in self.tags if tag.code == 49) + tagwriter.write_tag2(72, 65) + tagwriter.write_tag2(73, len(tags49)) + tagwriter.write_tag(self.tags.get_first_tag(40)) + if len(tags49): + tagwriter.write_tags(tags49) + + def is_complex_type(self): + return self.tags.has_tag(340) + + def get_style_handle(self): + return self.tags.get_first_value(340, "0") + + def set_style_handle(self, handle): + return self.tags.update(DXFTag(340, handle)) + + def compile(self) -> Sequence[float]: + """Returns the simplified dash-gap-dash... line pattern, + a dash-length of 0 represents a point. + """ + # complex line types with text and shapes are not supported + if self.is_complex_type(): + return CONTINUOUS_PATTERN + + pattern_length = 0.0 + elements = [] + for tag in self.tags: + if tag.code == 40: + pattern_length = tag.value + elif tag.code == 49: + elements.append(tag.value) + + if len(elements) < 2: + return CONTINUOUS_PATTERN + return compile_line_pattern(pattern_length, elements) + + +def _merge_dashes(elements: Sequence[float]) -> Iterable[float]: + """Merge multiple consecutive lines, gaps or points into a single element.""" + + def sign(v): + if v < 0: + return -1 + elif v > 0: + return +1 + return 0 + + buffer = elements[0] + prev_sign = sign(buffer) + for e in elements[1:]: + if sign(e) == prev_sign: + buffer += e + else: + yield buffer + buffer = e + prev_sign = sign(e) + yield buffer + + +def compile_line_pattern( + total_length: Optional[float], elements: Sequence[float] +) -> Sequence[float]: + """Returns the simplified dash-gap-dash... line pattern, + a dash-length of 0 represents a point. + """ + elements = list(_merge_dashes(elements)) + if total_length is None: + pass + elif len(elements) < 2 or total_length <= 0.0: + return CONTINUOUS_PATTERN + + sum_elements = sum(abs(e) for e in elements) + if total_length and total_length > sum_elements: # append a gap + elements.append(sum_elements - total_length) + + if elements[0] < 0: # start with a gap + e = elements.pop(0) + if elements[-1] < 0: # extend last gap + elements[-1] += e + else: # add last gap + elements.append(e) + # returns dash-gap-point + # possible: dash-point or point-dash - ignore this yet + # never: dash-dash or gap-gap or point-point + return tuple(abs(e) for e in elements) + + +@register_entity +class Linetype(DXFEntity): + """DXF LTYPE entity""" + + DXFTYPE = "LTYPE" + DXFATTRIBS = DXFAttributes( + base_class, acdb_symbol_table_record, acdb_linetype + ) + + def __init__(self): + """Default constructor""" + super().__init__() + self.pattern_tags = LinetypePattern(Tags()) + + def copy_data(self, entity: Self, copy_strategy=default_copy) -> None: + """Copy pattern_tags.""" + assert isinstance(entity, Linetype) + entity.pattern_tags = deepcopy(self.pattern_tags) + + def load_dxf_attribs( + self, processor: Optional[SubclassProcessor] = None + ) -> DXFNamespace: + dxf = super().load_dxf_attribs(processor) + if processor: + tags = processor.fast_load_dxfattribs( + dxf, acdb_linetype_group_codes, 2, log=False + ) + self.pattern_tags = LinetypePattern(tags) + return dxf + + def preprocess_export(self, tagwriter: AbstractTagWriter): + if len(self.pattern_tags) == 0: + return False + # Do not export complex linetypes for DXF12 + if tagwriter.dxfversion == DXF12: + return not self.pattern_tags.is_complex_type() + return True + + def export_entity(self, tagwriter: AbstractTagWriter) -> None: + super().export_entity(tagwriter) + # AcDbEntity export is done by parent class + if tagwriter.dxfversion > DXF12: + tagwriter.write_tag2(SUBCLASS_MARKER, acdb_symbol_table_record.name) + tagwriter.write_tag2(SUBCLASS_MARKER, acdb_linetype.name) + self.dxf.export_dxf_attribs(tagwriter, ["name", "flags", "description"]) + if self.pattern_tags: + self.pattern_tags.export_dxf(tagwriter) + + def setup_pattern( + self, pattern: Union[Sequence[float], str], length: float = 0 + ) -> None: + # The new() function gets no doc reference, therefore complex linetype + # setup has to be done later. See also: LinetypeTable.new_entry() + complex_line_type = True if isinstance(pattern, str) else False + if complex_line_type: # a .lin like line type definition string + tags = self._setup_complex_pattern(pattern, length) # type: ignore + else: + # pattern: [2.0, 1.25, -0.25, 0.25, -0.25] - 1. element is total + # pattern length pattern elements: >0 line, <0 gap, =0 point + tags = Tags( + [ + DXFTag(72, 65), # letter 'A' + DXFTag(73, len(pattern) - 1), + DXFTag(40, float(pattern[0])), + ] + ) + for element in pattern[1:]: + tags.append(DXFTag(49, float(element))) + tags.append(DXFTag(74, 0)) + self.pattern_tags = LinetypePattern(tags) + + def _setup_complex_pattern(self, pattern: str, length: float) -> Tags: + tokens = lin_compiler(pattern) + tags = Tags( + [ + DXFTag(72, 65), # letter 'A' + ] + ) + + tags2 = [DXFTag(73, 0), DXFTag(40, length)] # temp length of 0 + count = 0 + for token in tokens: + if isinstance(token, DXFTag): + if tags2[-1].code == 49: # useless 74 only after 49 :)) + tags2.append(DXFTag(74, 0)) + tags2.append(token) + count += 1 + else: # TEXT or SHAPE + tags2.extend(token.complex_ltype_tags(self.doc)) + tags2.append(DXFTag(74, 0)) # useless 74 at the end :)) + tags2[0] = DXFTag(73, count) + tags.extend(tags2) + return tags + + def simplified_line_pattern(self) -> Sequence[float]: + """Returns the simplified dash-gap-dash... line pattern, + a dash-length of 0 represents a point. Complex line types including text + or shapes are not supported and return a continuous line pattern. + """ + return self.pattern_tags.compile() + + def register_resources(self, registry: xref.Registry) -> None: + """Register required resources to the resource registry.""" + assert self.doc is not None, "LTYPE entity must be assigned to a document" + super().register_resources(registry) + # register text styles and shape files for complex linetypes + style_handle = self.pattern_tags.get_style_handle() + style = self.doc.styles.get_entry_by_handle(style_handle) + if style is not None: + registry.add_entity(style) + + def map_resources(self, clone: Self, mapping: xref.ResourceMapper) -> None: + """Translate registered resources from self to the copied entity.""" + assert isinstance(clone, Linetype) + super().map_resources(clone, mapping) + style_handle = self.pattern_tags.get_style_handle() + if style_handle != "0": + # map text style or shape file handle of complex linetype + clone.pattern_tags.set_style_handle(mapping.get_handle(style_handle)) diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/entities/lwpolyline.py b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/entities/lwpolyline.py new file mode 100644 index 0000000000000000000000000000000000000000..cd6c1233e4328549fb4090f77afb181180491e96 --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/entities/lwpolyline.py @@ -0,0 +1,539 @@ +# Copyright (c) 2019-2024 Manfred Moitzi +# License: MIT License +from __future__ import annotations +from typing import ( + TYPE_CHECKING, + Tuple, + Sequence, + Iterable, + Union, + Iterator, + Optional, +) +from typing_extensions import TypeAlias, Self +import array +import copy +from contextlib import contextmanager +from ezdxf.math import Vec3, Matrix44, Z_AXIS +from ezdxf.math.transformtools import OCSTransform, NonUniformScalingError +from ezdxf.lldxf import validator +from ezdxf.lldxf.attributes import ( + DXFAttr, + DXFAttributes, + DefSubclass, + XType, + RETURN_DEFAULT, + group_code_mapping, +) +from ezdxf.lldxf.const import ( + SUBCLASS_MARKER, + DXF2000, + LWPOLYLINE_CLOSED, + DXFStructureError, +) +from ezdxf.lldxf.tags import Tags +from ezdxf.lldxf.types import DXFTag, DXFVertex +from ezdxf.lldxf.packedtags import VertexArray +from ezdxf.render.polyline import virtual_lwpolyline_entities +from ezdxf.explode import explode_entity +from ezdxf.query import EntityQuery +from .dxfentity import base_class, SubclassProcessor +from .dxfgfx import DXFGraphic, acdb_entity +from .factory import register_entity +from .copy import default_copy + +if TYPE_CHECKING: + from ezdxf.entities import DXFNamespace, Line, Arc, DXFEntity + from ezdxf.lldxf.tagwriter import AbstractTagWriter + from ezdxf.layouts import BaseLayout + +__all__ = ["LWPolyline", "FORMAT_CODES"] + +LWPointType: TypeAlias = Tuple[float, float, float, float, float] + +FORMAT_CODES = frozenset("xysebv") +DEFAULT_FORMAT = "xyseb" +LWPOINTCODES = (10, 20, 40, 41, 42) + +# Order does matter: +# If tag 90 is not the first TAG, AutoCAD does not close the polyline, when the +# `close` flag is set. +acdb_lwpolyline = DefSubclass( + "AcDbPolyline", + { + # Count always returns the actual length: + "count": DXFAttr(90, xtype=XType.callback, getter="__len__"), + # Elevation: OCS z-axis value for all vertices: + "elevation": DXFAttr(38, default=0, optional=True), + # Thickness can be negative! + "thickness": DXFAttr(39, default=0, optional=True), + # Flags: + # 1 = Closed + # 128 = Plinegen + "flags": DXFAttr(70, default=0), + # Const width: DXF reference error - AutoCAD uses just const width if not 0, + # for all line segments. + "const_width": DXFAttr(43, default=0, optional=True), + "extrusion": DXFAttr( + 210, + xtype=XType.point3d, + default=Z_AXIS, + optional=True, + validator=validator.is_not_null_vector, + fixer=RETURN_DEFAULT, + ), + # 10, 20 : Vertex x, y + # 91: vertex identifier ??? + # 40, 41, 42: start width, end width, bulge + }, +) + +acdb_lwpolyline_group_codes = group_code_mapping(acdb_lwpolyline) + + +@register_entity +class LWPolyline(DXFGraphic): + """DXF LWPOLYLINE entity""" + + DXFTYPE = "LWPOLYLINE" + DXFATTRIBS = DXFAttributes(base_class, acdb_entity, acdb_lwpolyline) + MIN_DXF_VERSION_FOR_EXPORT = DXF2000 + + def __init__(self): + super().__init__() + self.lwpoints = LWPolylinePoints() + + def copy_data(self, entity: Self, copy_strategy=default_copy) -> None: + """Copy lwpoints.""" + assert isinstance(entity, LWPolyline) + entity.lwpoints = copy.deepcopy(self.lwpoints) + + def load_dxf_attribs( + self, processor: Optional[SubclassProcessor] = None + ) -> DXFNamespace: + """ + Adds subclass processing for AcDbPolyline, requires previous base class + and AcDbEntity processing by parent class. + """ + dxf = super().load_dxf_attribs(processor) + if processor: + tags = processor.subclass_by_index(2) + if tags: + tags = self.load_vertices(tags) + processor.fast_load_dxfattribs( + dxf, + acdb_lwpolyline_group_codes, + subclass=tags, + recover=True, + ) + else: + raise DXFStructureError( + f"missing 'AcDbPolyline' subclass in LWPOLYLINE(#{dxf.handle})" + ) + return dxf + + def load_vertices(self, tags: Tags) -> Tags: + self.lwpoints, unprocessed_tags = LWPolylinePoints.from_tags(tags) + return unprocessed_tags + + def preprocess_export(self, tagwriter: AbstractTagWriter) -> bool: + # Returns True if entity should be exported + # Do not export polylines without vertices + return len(self.lwpoints) > 0 + + def export_entity(self, tagwriter: AbstractTagWriter) -> None: + """Export entity specific data as DXF tags.""" + super().export_entity(tagwriter) + tagwriter.write_tag2(SUBCLASS_MARKER, acdb_lwpolyline.name) + self.dxf.export_dxf_attribs( + tagwriter, + ["count", "flags", "const_width", "elevation", "thickness"], + ) + tagwriter.write_tags(Tags(self.lwpoints.dxftags())) + self.dxf.export_dxf_attribs(tagwriter, "extrusion") + + @property + def closed(self) -> bool: + """Get/set closed state of polyline. A closed polyline has a connection + segment from the last vertex to the first vertex. + """ + return self.get_flag_state(LWPOLYLINE_CLOSED) + + @closed.setter + def closed(self, status: bool) -> None: + self.set_flag_state(LWPOLYLINE_CLOSED, status) + + @property + def is_closed(self) -> bool: + """Get closed state of LWPOLYLINE. + Compatibility interface to :class:`Polyline` + """ + return self.get_flag_state(LWPOLYLINE_CLOSED) + + def close(self, state: bool = True) -> None: + """Set closed state of LWPOLYLINE. + Compatibility interface to :class:`Polyline` + """ + self.closed = state + + @property + def has_arc(self) -> bool: + """Returns ``True`` if LWPOLYLINE has an arc segment.""" + return any(bool(b) for x, y, s, e, b in self.lwpoints) + + @property + def has_width(self) -> bool: + """Returns ``True`` if LWPOLYLINE has any segment with width attributes + or the DXF attribute const_width is not 0. + + """ + if self.dxf.hasattr("const_width"): + # 'const_width' overrides all individual start- or end width settings. + # The DXF reference claims the opposite, but that is simply not true. + return self.dxf.const_width != 0.0 + return any((s or e) for x, y, s, e, b in self.lwpoints) + + def __len__(self) -> int: + """Returns count of polyline points.""" + return len(self.lwpoints) + + def __iter__(self) -> Iterator[LWPointType]: + """Returns iterable of tuples (x, y, start_width, end_width, bulge).""" + return iter(self.lwpoints) + + def __getitem__(self, index: int) -> LWPointType: + """Returns point at position `index` as (x, y, start_width, end_width, + bulge) tuple. start_width, end_width and bulge is 0 if not present, + supports extended slicing. Point format is fixed as "xyseb". + + All coordinates in :ref:`OCS`. + + """ + return self.lwpoints[index] + + def __setitem__(self, index: int, value: Sequence[float]) -> None: + """ + Set point at position `index` as (x, y, [start_width, [end_width, + [bulge]]]) tuple. If start_width or end_width is 0 or left off the + default width value is used. If the bulge value is left off, bulge is 0 + by default (straight line). + Does NOT support extend slicing. Point format is fixed as "xyseb". + + All coordinates in :ref:`OCS`. + + Args: + index: point index + value: point value as (x, y, [start_width, [end_width, [bulge]]]) tuple + + """ + self.lwpoints[index] = compile_array(value) + + def __delitem__(self, index: int) -> None: + """Delete point at position `index`, supports extended slicing.""" + del self.lwpoints[index] + + def vertices(self) -> Iterator[tuple[float, float]]: + """ + Returns iterable of all polyline points as (x, y) tuples in :ref:`OCS` + (:attr:`dxf.elevation` is the z-axis value). + + """ + for point in self: + yield point[0], point[1] + + def vertices_in_wcs(self) -> Iterator[Vec3]: + """Returns iterable of all polyline points as Vec3(x, y, z) in :ref:`WCS`.""" + ocs = self.ocs() + elevation = self.get_dxf_attrib("elevation", default=0.0) + for x, y in self.vertices(): + yield ocs.to_wcs(Vec3(x, y, elevation)) + + def vertices_in_ocs(self) -> Iterator[Vec3]: + """Returns iterable of all polyline points as Vec3(x, y, z) in :ref:`OCS`.""" + elevation = self.get_dxf_attrib("elevation", default=0.0) + for x, y in self.vertices(): + yield Vec3(x, y, elevation) + + def append(self, point: Sequence[float], format: str = DEFAULT_FORMAT) -> None: + """Append `point` to polyline, `format` specifies a user defined + point format. + + All coordinates in :ref:`OCS`. + + Args: + point: (x, y, [start_width, [end_width, [bulge]]]) tuple + format: format string, default is "xyseb", see: `format codes`_ + + """ + self.lwpoints.append(point, format=format) + + def insert( + self, pos: int, point: Sequence[float], format: str = DEFAULT_FORMAT + ) -> None: + """Insert new point in front of positions `pos`, `format` specifies a + user defined point format. + + All coordinates in :ref:`OCS`. + + Args: + pos: insert position + point: point data + format: format string, default is "xyseb", see: `format codes`_ + + """ + data = compile_array(point, format=format) + self.lwpoints.insert(pos, data) + + def append_points( + self, points: Iterable[Sequence[float]], format: str = DEFAULT_FORMAT + ) -> None: + """ + Append new `points` to polyline, `format` specifies a user defined + point format. + + All coordinates in :ref:`OCS`. + + Args: + points: iterable of point, point is (x, y, [start_width, [end_width, + [bulge]]]) tuple + format: format string, default is "xyseb", see: `format codes`_ + + """ + for point in points: + self.lwpoints.append(point, format=format) + + @contextmanager + def points(self, format: str = DEFAULT_FORMAT) -> Iterator[list[Sequence[float]]]: + """Context manager for polyline points. Returns a standard Python list + of points, according to the format string. + + All coordinates in :ref:`OCS`. + + Args: + format: format string, see `format codes`_ + + """ + points = self.get_points(format=format) + yield points + self.set_points(points, format=format) + + def get_points(self, format: str = DEFAULT_FORMAT) -> list[Sequence[float]]: + """Returns all points as list of tuples, format specifies a user + defined point format. + + All points in :ref:`OCS` as (x, y) tuples (:attr:`dxf.elevation` is + the z-axis value). + + Args: + format: format string, default is "xyseb", see `format codes`_ + + """ + return [format_point(p, format=format) for p in self.lwpoints] + + def set_points( + self, points: Iterable[Sequence[float]], format: str = DEFAULT_FORMAT + ) -> None: + """Remove all points and append new `points`. + + All coordinates in :ref:`OCS`. + + Args: + points: iterable of point, point is (x, y, [start_width, [end_width, + [bulge]]]) tuple + format: format string, default is "xyseb", see `format codes`_ + + """ + self.lwpoints.clear() + self.append_points(points, format=format) + + def clear(self) -> None: + """Remove all points.""" + self.lwpoints.clear() + + def transform(self, m: Matrix44) -> LWPolyline: + """Transform the LWPOLYLINE entity by transformation matrix `m` inplace. + + A non-uniform scaling is not supported if the entity contains circular + arc segments (bulges). + + Args: + m: transformation :class:`~ezdxf.math.Matrix44` + + Raises: + NonUniformScalingError: for non-uniform scaling of entity containing + circular arc segments (bulges) + + """ + dxf = self.dxf + ocs = OCSTransform(self.dxf.extrusion, m) + if not ocs.scale_uniform and self.has_arc: + raise NonUniformScalingError( + "LWPOLYLINE containing arcs (bulges) does not support non uniform scaling" + ) + # The caller function has to catch this exception and explode the + # LWPOLYLINE into LINE and ELLIPSE entities. + vertices = list(ocs.transform_vertex(v) for v in self.vertices_in_ocs()) + lwpoints = [] + for v, p in zip(vertices, self.lwpoints): + _, _, start_width, end_width, bulge = p + # assume a uniform scaling! + start_width = ocs.transform_width(start_width) + end_width = ocs.transform_width(end_width) + lwpoints.append((v.x, v.y, start_width, end_width, bulge)) + self.set_points(lwpoints) + + # All new OCS vertices must have the same z-axis, which is the elevation + # of the polyline: + if vertices: + dxf.elevation = vertices[0].z + + if dxf.hasattr("const_width"): # assume a uniform scaling! + dxf.const_width = ocs.transform_width(dxf.const_width) + + if dxf.hasattr("thickness"): + dxf.thickness = ocs.transform_thickness(dxf.thickness) + dxf.extrusion = ocs.new_extrusion + self.post_transform(m) + return self + + def virtual_entities(self) -> Iterator[Union[Line, Arc]]: + """Yields the graphical representation of LWPOLYLINE as virtual DXF + primitives (LINE or ARC). + + These virtual entities are located at the original location, but are not + stored in the entity database, have no handle and are not assigned to + any layout. + + """ + for e in virtual_lwpolyline_entities(self): + e.set_source_of_copy(self) + yield e + + def explode(self, target_layout: Optional[BaseLayout] = None) -> EntityQuery: + """Explode the LWPOLYLINE entity as DXF primitives (LINE or ARC) into + the target layout, if the target layout is ``None``, the target layout + is the layout of the source entity. This method destroys the source entity. + + Returns an :class:`~ezdxf.query.EntityQuery` container referencing all DXF + primitives. + + Args: + target_layout: target layout for the DXF primitives, ``None`` for + same layout as the source entity. + + """ + return explode_entity(self, target_layout) + + +class LWPolylinePoints(VertexArray): + __slots__ = ("values",) + VERTEX_CODE = 10 + START_WIDTH_CODE = 40 + END_WIDTH_CODE = 41 + BULGE_CODE = 42 + VERTEX_SIZE = 5 + + @classmethod + def from_tags(cls, tags: Iterable[DXFTag]) -> tuple[Self, Tags]: # type: ignore + """Setup point array from tags.""" + + def build_vertex(point: list[float]) -> list[float]: + point.append(attribs.get(cls.START_WIDTH_CODE, 0)) + point.append(attribs.get(cls.END_WIDTH_CODE, 0)) + point.append(attribs.get(cls.BULGE_CODE, 0)) + return point + + unprocessed_tags = Tags() + vertices: list[Sequence[float]]= [] + point: list[float] | None = None + attribs: dict[int, float]= {} + for tag in tags: + if tag.code in LWPOINTCODES: + if tag.code == 10: + if point is not None: + vertices.append(build_vertex(point)) + # just use x- and y-axis + point = list(tag.value[0:2]) + attribs = {} + else: + attribs[tag.code] = tag.value + else: + unprocessed_tags.append(tag) + if point is not None: + vertices.append(build_vertex(point)) + return cls(data=vertices), unprocessed_tags + + def append(self, point: Sequence[float], format: str = DEFAULT_FORMAT) -> None: + super().append(compile_array(point, format=format)) + + def dxftags(self) -> Iterator[DXFTag]: + for point in self: + x, y, start_width, end_width, bulge = point + yield DXFVertex(self.VERTEX_CODE, (x, y)) + if start_width or end_width: + # Export always start- and end width together, + # required for BricsCAD but not AutoCAD! + yield DXFTag(self.START_WIDTH_CODE, start_width) + yield DXFTag(self.END_WIDTH_CODE, end_width) + if bulge: + yield DXFTag(self.BULGE_CODE, bulge) + + +def format_point(point: Sequence[float], format: str = "xyseb") -> Sequence[float]: + """Reformat point components. + + Format codes: + + - ``x`` = x-coordinate + - ``y`` = y-coordinate + - ``s`` = start width + - ``e`` = end width + - ``b`` = bulge value + - ``v`` = (x, y) as tuple + + Args: + point: list or tuple of (x, y, start_width, end_width, bulge) + format: format string, default is "xyseb" + + Returns: + Sequence[float]: tuple of selected components + + """ + x, y, s, e, b = point + v = (x, y) + vars = locals() + return tuple(vars[code] for code in format.lower() if code in FORMAT_CODES) + + +def compile_array(data: Sequence[float], format="xyseb") -> array.array: + """Gather point components from input data. + + Format codes: + + - ``x`` = x-coordinate + - ``y`` = y-coordinate + - ``s`` = start width + - ``e`` = end width + - ``b`` = bulge value + - ``v`` = (x, y [,z]) tuple (z-axis is ignored) + + Args: + data: list or tuple of point components + format: format string, default is "xyseb" + + Returns: + array.array: array.array('d', (x, y, start_width, end_width, bulge)) + + """ + a = array.array("d", (0.0, 0.0, 0.0, 0.0, 0.0)) + format = [code for code in format.lower() if code in FORMAT_CODES] + for code, value in zip(format, data): + if code not in FORMAT_CODES: + continue + if code == "v": + vertex = Vec3(value) + a[0] = vertex.x + a[1] = vertex.y + else: + a["xyseb".index(code)] = value + return a diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/entities/material.py b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/entities/material.py new file mode 100644 index 0000000000000000000000000000000000000000..0ac107359d6d8a1789c74fe42c4b08e14ce08a6e --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/entities/material.py @@ -0,0 +1,432 @@ +# Copyright (c) 2018-2023, Manfred Moitzi +# License: MIT License +from __future__ import annotations +from typing import TYPE_CHECKING, Optional +from typing_extensions import Self +from ezdxf.lldxf.const import SUBCLASS_MARKER +from ezdxf.lldxf.attributes import ( + DXFAttr, + DXFAttributes, + DefSubclass, + group_code_mapping, +) +from ezdxf.lldxf.tags import Tags +from .dxfentity import base_class, SubclassProcessor +from .dxfobj import DXFObject +from .factory import register_entity +from .objectcollection import ObjectCollection +from ezdxf.math import Matrix44 +from .copy import default_copy + +if TYPE_CHECKING: + from ezdxf.entities import DXFNamespace, DXFEntity + from ezdxf.lldxf.tagwriter import AbstractTagWriter + from ezdxf.document import Drawing + +__all__ = ["Material", "MaterialCollection"] + + +def fetch_matrix(tags: Tags, code: int) -> tuple[Tags, Optional[Matrix44]]: + values = [] + remaining = Tags() + for tag in tags: + if tag.code == code: + values.append(tag.value) + if len(values) == 16: + # enough values collected, code 43 is maybe used for two matrices + code = -1 + else: + remaining.append(tag) + if len(values) == 16: + # only if valid matrix + return remaining, Matrix44(values) + else: + return tags, None + + +def export_matrix(tagwriter: AbstractTagWriter, code: int, matrix: Matrix44) -> None: + if matrix is not None: + for value in matrix: + tagwriter.write_tag2(code, value) + + +acdb_material = DefSubclass( + "AcDbMaterial", + { + "name": DXFAttr(1), + "description": DXFAttr(2, default=""), + "ambient_color_method": DXFAttr( + 70, default=0 + ), # 0=use current color; 1=override current color + "ambient_color_factor": DXFAttr(40, default=1.0), # valid range is 0.0 to 1.0 + "ambient_color_value": DXFAttr(90), # integer representing an AcCmEntityColor + "diffuse_color_method": DXFAttr( + 71, default=0 + ), # 0=use current color; 1=override current color + "diffuse_color_factor": DXFAttr(41, default=1.0), # valid range is 0.0 to 1.0 + "diffuse_color_value": DXFAttr( + 91, default=-1023410177 + ), # integer representing an AcCmEntityColor + "diffuse_map_blend_factor": DXFAttr( + 42, default=1.0 + ), # valid range is 0.0 to 1.0 + "diffuse_map_source": DXFAttr(72, default=1), + # 0=use current scene; 1=use image file (specified by file name; null file name specifies no map) + "diffuse_map_file_name": DXFAttr(3, default=""), + "diffuse_map_projection_method": DXFAttr( + 73, default=1 + ), # 1=Planar; 2=Box; 3=Cylinder; 4=Sphere + "diffuse_map_tiling_method": DXFAttr(74, default=1), # 1=Tile; 2=Crop; 3=Clamp + "diffuse_map_auto_transform_method": DXFAttr(75, default=1), # bitset; + # 1 = No auto transform + # 2 = Scale mapper to current entity extents; translate mapper to entity origin + # 4 = Include current block transform in mapper transform + # 16x group code 43: Transform matrix of diffuse map mapper (16 reals; row major format; default = identity matrix) + "specular_gloss_factor": DXFAttr(44, default=0.5), # valid range is 0.0 to 1.0 + "specular_color_method": DXFAttr( + 73, default=0 + ), # 0=use current color; 1=override current color + "specular_color_factor": DXFAttr(45, default=1.0), # valid range is 0.0 to 1.0 + "specular_color_value": DXFAttr(92), # integer representing an AcCmEntityColor + "specular_map_blend_factor": DXFAttr( + 46, default=1.0 + ), # valid range is 0.0 to 1.0 + "specular_map_source": DXFAttr(77, default=1), + # 0=use current scene; 1=use image file (specified by file name; null file name specifies no map) + "specular_map_file_name": DXFAttr(4, default=""), + "specular_map_projection_method": DXFAttr( + 78, default=1 + ), # 1=Planar; 2=Box; 3=Cylinder; 4=Sphere + "specular_map_tiling_method": DXFAttr(79, default=1), # 1=Tile; 2=Crop; 3=Clamp + "specular_map_auto_transform_method": DXFAttr(170, default=1), # bitset; + # 1 = No auto transform + # 2 = Scale mapper to current entity extents; translate mapper to entity origin + # 4 = Include current block transform in mapper transform + # 16x group code 47: Transform matrix of specular map mapper (16 reals; row major format; default = identity matrix) + "reflection_map_blend_factor": DXFAttr( + 48, default=1.0 + ), # valid range is 0.0 to 1.0 + "reflection_map_source": DXFAttr(171, default=1), + # 0=use current scene; 1=use image file (specified by file name; null file name specifies no map) + "reflection_map_file_name": DXFAttr(6, default=""), + "reflection_map_projection_method": DXFAttr( + 172, default=1 + ), # 1=Planar; 2=Box; 3=Cylinder; 4=Sphere + "reflection_map_tiling_method": DXFAttr( + 173, default=1 + ), # 1=Tile; 2=Crop; 3=Clamp + "reflection_map_auto_transform_method": DXFAttr(174, default=1), # bitset; + # 1 = No auto transform + # 2 = Scale mapper to current entity extents; translate mapper to entity origin + # 4 = Include current block transform in mapper transform + # 16x group code 49: Transform matrix of reflection map mapper (16 reals; row major format; default = identity matrix) + "opacity": DXFAttr(140, default=1.0), # valid range is 0.0 to 1.0 + "opacity_map_blend_factor": DXFAttr( + 141, default=1.0 + ), # valid range is 0.0 to 1.0 + "opacity_map_source": DXFAttr(175, default=1), + # 0=use current scene; 1=use image file (specified by file name; null file name specifies no map) + "opacity_map_file_name": DXFAttr(7, default=""), + "opacity_map_projection_method": DXFAttr( + 176, default=1 + ), # 1=Planar; 2=Box; 3=Cylinder; 4=Sphere + "opacity_map_tiling_method": DXFAttr(177, default=1), # 1=Tile; 2=Crop; 3=Clamp + "opacity_map_auto_transform_method": DXFAttr(178, default=1), # bitset; + # 1 = No auto transform + # 2 = Scale mapper to current entity extents; translate mapper to entity origin + # 4 = Include current block transform in mapper transform + # 16x group code 142: Transform matrix of reflection map mapper (16 reals; row major format; default = identity matrix) + "bump_map_blend_factor": DXFAttr(143, default=1.0), # valid range is 0.0 to 1.0 + "bump_map_source": DXFAttr(179, default=1), + # 0=use current scene; 1=use image file (specified by file name; null file name specifies no map) + "bump_map_file_name": DXFAttr(8, default=""), + "bump_map_projection_method": DXFAttr( + 270, default=1 + ), # 1=Planar; 2=Box; 3=Cylinder; 4=Sphere + "bump_map_tiling_method": DXFAttr(271, default=1), # 1=Tile; 2=Crop; 3=Clamp + "bump_map_auto_transform_method": DXFAttr(272, default=1), # bitset; + # 1 = No auto transform + # 2 = Scale mapper to current entity extents; translate mapper to entity origin + # 4 = Include current block transform in mapper transform + # 16x group code 144: Transform matrix of bump map mapper (16 reals; row major format; default = identity matrix) + "refraction_index": DXFAttr(145, default=1.0), # valid range is 0.0 to 1.0 + "refraction_map_blend_factor": DXFAttr( + 146, default=1.0 + ), # valid range is 0.0 to 1.0 + "refraction_map_source": DXFAttr(273, default=1), + # 0=use current scene; 1=use image file (specified by file name; null file name specifies no map) + "refraction_map_file_name": DXFAttr(9, default=""), + "refraction_map_projection_method": DXFAttr( + 274, default=1 + ), # 1=Planar; 2=Box; 3=Cylinder; 4=Sphere + "refraction_map_tiling_method": DXFAttr( + 275, default=1 + ), # 1=Tile; 2=Crop; 3=Clamp + "refraction_map_auto_transform_method": DXFAttr(276, default=1), # bitset; + # 1 = No auto transform + # 2 = Scale mapper to current entity extents; translate mapper to entity origin + # 4 = Include current block transform in mapper transform + # 16x group code 147: Transform matrix of reflection map mapper (16 reals; row major format; default = identity matrix) + # normal map shares group codes with diffuse map + "normal_map_method": DXFAttr(271), + "normal_map_strength": DXFAttr(465), + "normal_map_blend_factor": DXFAttr( + 42, default=1.0 + ), # valid range is 0.0 to 1.0 + "normal_map_source": DXFAttr(72, default=1), + # 0=use current scene; 1=use image file (specified by file name; null file name specifies no map) + "normal_map_file_name": DXFAttr(3, default=""), + "normal_map_projection_method": DXFAttr( + 73, default=1 + ), # 1=Planar; 2=Box; 3=Cylinder; 4=Sphere + "normal_map_tiling_method": DXFAttr(74, default=1), # 1=Tile; 2=Crop; 3=Clamp + "normal_map_auto_transform_method": DXFAttr(75, default=1), # bitset; + # 1 = No auto transform + # 2 = Scale mapper to current entity extents; translate mapper to entity origin + # 4 = Include current block transform in mapper transform + # 16x group code 43: Transform matrix of reflection map mapper (16 reals; row major format; default = identity matrix) + "color_bleed_scale": DXFAttr(460), + "indirect_dump_scale": DXFAttr(461), + "reflectance_scale": DXFAttr(462), + "transmittance_scale": DXFAttr(463), + "two_sided_material": DXFAttr(290), + "luminance": DXFAttr(464), + "luminance_mode": DXFAttr(270), # multiple usage of group code 270 + "materials_anonymous": DXFAttr(293), + "global_illumination_mode": DXFAttr(272), + "final_gather_mode": DXFAttr(273), + "gen_proc_name": DXFAttr(300), + "gen_proc_val_bool": DXFAttr(291), + "gen_proc_val_int": DXFAttr(271), + "gen_proc_val_real": DXFAttr(469), + "gen_proc_val_text": DXFAttr(301), + "gen_proc_table_end": DXFAttr(292), + "gen_proc_val_color_index": DXFAttr(62), + "gen_proc_val_color_rgb": DXFAttr(420), + "gen_proc_val_color_name": DXFAttr(430), + "map_utile": DXFAttr(270), # multiple usage of group code 270 + "translucence": DXFAttr(148), + "self_illumination": DXFAttr(90), + "reflectivity": DXFAttr(468), + "illumination_model": DXFAttr(93), + "channel_flags": DXFAttr(94, default=63), + }, +) +acdb_material_group_codes = group_code_mapping(acdb_material) + + +@register_entity +class Material(DXFObject): + DXFTYPE = "MATERIAL" + DEFAULT_ATTRIBS = { + "diffuse_color_method": 1, + "diffuse_color_value": -1023410177, + } + DXFATTRIBS = DXFAttributes(base_class, acdb_material) + + def __init__(self) -> None: + super().__init__() + self.diffuse_mapper_matrix: Optional[Matrix44] = None # code 43 + self.specular_mapper_matrix: Optional[Matrix44] = None # code 47 + self.reflexion_mapper_matrix: Optional[Matrix44] = None # code 49 + self.opacity_mapper_matrix: Optional[Matrix44] = None # group 142 + self.bump_mapper_matrix: Optional[Matrix44] = None # group 144 + self.refraction_mapper_matrix: Optional[Matrix44] = None # code 147 + self.normal_mapper_matrix: Optional[Matrix44] = None # code 43 ??? + + def copy_data(self, entity: Self, copy_strategy=default_copy) -> None: + """Copy material mapper matrices""" + + def copy(matrix): + return None if matrix is None else matrix.copy() + + assert isinstance(entity, Material) + entity.diffuse_mapper_matrix = copy(self.diffuse_mapper_matrix) + entity.specular_mapper_matrix = copy(self.specular_mapper_matrix) + entity.reflexion_mapper_matrix = copy(self.reflexion_mapper_matrix) + entity.opacity_mapper_matrix = copy(self.opacity_mapper_matrix) + entity.bump_mapper_matrix = copy(self.bump_mapper_matrix) + entity.refraction_mapper_matrix = copy(self.refraction_mapper_matrix) + entity.normal_mapper_matrix = copy(self.normal_mapper_matrix) + + def load_dxf_attribs( + self, processor: Optional[SubclassProcessor] = None + ) -> DXFNamespace: + dxf = super().load_dxf_attribs(processor) + if processor: + tags = processor.fast_load_dxfattribs( + dxf, acdb_material_group_codes, 1, log=False + ) + self.load_matrices(tags) + return dxf + + def load_matrices(self, tags): + tags, matrix = fetch_matrix(tags, 43) + if matrix: + self.diffuse_mapper_matrix = matrix + tags, matrix = fetch_matrix(tags, 47) + if matrix: + self.specular_mapper_matrix = matrix + tags, matrix = fetch_matrix(tags, 49) + if matrix: + self.reflexion_mapper_matrix = matrix + tags, matrix = fetch_matrix(tags, 142) + if matrix: + self.opacity_mapper_matrix = matrix + tags, matrix = fetch_matrix(tags, 144) + if matrix: + self.bump_mapper_matrix = matrix + tags, matrix = fetch_matrix(tags, 147) + if matrix: + self.refraction_mapper_matrix = matrix + tags, matrix = fetch_matrix(tags, 43) + if matrix: + self.normal_mapper_matrix = matrix + + def export_entity(self, tagwriter: AbstractTagWriter) -> None: + """Export entity specific data as DXF tags.""" + super().export_entity(tagwriter) + + tagwriter.write_tag2(SUBCLASS_MARKER, acdb_material.name) + + self.dxf.export_dxf_attribs( + tagwriter, + [ + "name", + "description", + "ambient_color_method", + "ambient_color_factor", + "ambient_color_value", + "diffuse_color_method", + "diffuse_color_factor", + "diffuse_color_value", + "diffuse_map_blend_factor", + "diffuse_map_source", + "diffuse_map_file_name", + "diffuse_map_projection_method", + "diffuse_map_tiling_method", + "diffuse_map_auto_transform_method", + ], + ) + export_matrix(tagwriter, 43, self.diffuse_mapper_matrix) + self.dxf.export_dxf_attribs( + tagwriter, + [ + "specular_gloss_factor", + "specular_color_method", + "specular_color_factor", + "specular_color_value", + "specular_map_blend_factor", + "specular_map_source", + "specular_map_file_name", + "specular_map_projection_method", + "specular_map_tiling_method", + "specular_map_auto_transform_method", + ], + ) + export_matrix(tagwriter, 47, self.specular_mapper_matrix) + self.dxf.export_dxf_attribs( + tagwriter, + [ + "reflection_map_blend_factor", + "reflection_map_source", + "reflection_map_file_name", + "reflection_map_projection_method", + "reflection_map_tiling_method", + "reflection_map_auto_transform_method", + ], + ) + export_matrix(tagwriter, 49, self.reflexion_mapper_matrix) + self.dxf.export_dxf_attribs( + tagwriter, + [ + "opacity", + "opacity_map_blend_factor", + "opacity_map_source", + "opacity_map_file_name", + "opacity_map_projection_method", + "opacity_map_tiling_method", + "opacity_map_auto_transform_method", + ], + ) + export_matrix(tagwriter, 142, self.opacity_mapper_matrix) + self.dxf.export_dxf_attribs( + tagwriter, + [ + "bump_map_blend_factor", + "bump_map_source", + "bump_map_file_name", + "bump_map_projection_method", + "bump_map_tiling_method", + "bump_map_auto_transform_method", + ], + ) + export_matrix(tagwriter, 144, self.bump_mapper_matrix) + self.dxf.export_dxf_attribs( + tagwriter, + [ + "refraction_index", + "refraction_map_blend_factor", + "refraction_map_source", + "refraction_map_file_name", + "refraction_map_projection_method", + "refraction_map_tiling_method", + "refraction_map_auto_transform_method", + ], + ) + export_matrix(tagwriter, 147, self.refraction_mapper_matrix) + self.dxf.export_dxf_attribs( + tagwriter, + [ + "normal_map_method", + "normal_map_strength", + "normal_map_blend_factor", + "normal_map_source", + "normal_map_file_name", + "normal_map_projection_method", + "normal_map_tiling_method", + "normal_map_auto_transform_method", + ], + ) + export_matrix(tagwriter, 43, self.normal_mapper_matrix) + self.dxf.export_dxf_attribs( + tagwriter, + [ + "color_bleed_scale", + "indirect_dump_scale", + "reflectance_scale", + "transmittance_scale", + "two_sided_material", + "luminance", + "luminance_mode", + "materials_anonymous", + "global_illumination_mode", + "final_gather_mode", + "gen_proc_name", + "gen_proc_val_bool", + "gen_proc_val_int", + "gen_proc_val_real", + "gen_proc_val_text", + "gen_proc_table_end", + "gen_proc_val_color_index", + "gen_proc_val_color_rgb", + "gen_proc_val_color_name", + "map_utile", + "translucence", + "self_illumination", + "reflectivity", + "illumination_model", + "channel_flags", + ], + ) + + +class MaterialCollection(ObjectCollection[Material]): + def __init__(self, doc: Drawing): + super().__init__(doc, dict_name="ACAD_MATERIAL", object_type="MATERIAL") + self.create_required_entries() + + def create_required_entries(self) -> None: + for name in ("ByBlock", "ByLayer", "Global"): + if name not in self: + self.new(name) diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/entities/mesh.py b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/entities/mesh.py new file mode 100644 index 0000000000000000000000000000000000000000..b01ceee1ff8aeaa5e1985d825b6ab0a000fc681b --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/entities/mesh.py @@ -0,0 +1,509 @@ +# Copyright (c) 2019-2024 Manfred Moitzi +# License: MIT License +from __future__ import annotations +from typing import ( + TYPE_CHECKING, + Iterable, + Sequence, + Union, + Iterator, + Optional, +) +from typing_extensions import Self +import array +import copy +from itertools import chain +from contextlib import contextmanager + +from ezdxf.audit import AuditError +from ezdxf.lldxf import validator +from ezdxf.lldxf.attributes import ( + DXFAttr, + DXFAttributes, + DefSubclass, + RETURN_DEFAULT, + group_code_mapping, +) +from ezdxf.lldxf.const import ( + SUBCLASS_MARKER, + DXF2000, + DXFValueError, + DXFStructureError, + DXFIndexError, +) +from ezdxf.lldxf.packedtags import VertexArray, TagArray, TagList +from ezdxf.math import Matrix44, UVec, Vec3 +from ezdxf.tools import take2 +from .dxfentity import base_class, SubclassProcessor +from .dxfgfx import DXFGraphic, acdb_entity +from .factory import register_entity +from .copy import default_copy + +if TYPE_CHECKING: + from ezdxf.entities import DXFNamespace, DXFEntity + from ezdxf.lldxf.tagwriter import AbstractTagWriter + from ezdxf.lldxf.tags import Tags + from ezdxf.audit import Auditor + +__all__ = ["Mesh", "MeshData"] + +acdb_mesh = DefSubclass( + "AcDbSubDMesh", + { + "version": DXFAttr(71, default=2), + "blend_crease": DXFAttr( + 72, + default=0, + validator=validator.is_integer_bool, + fixer=RETURN_DEFAULT, + ), + # 0 is no smoothing + "subdivision_levels": DXFAttr( + 91, + default=0, + validator=validator.is_greater_or_equal_zero, + fixer=RETURN_DEFAULT, + ), + # 92: Vertex count of level 0 + # 10: Vertex position, multiple entries + # 93: Size of face list of level 0 + # 90: Face list item, >=3 possible + # 90: length of face list + # 90: 1st vertex index + # 90: 2nd vertex index ... + # 94: Edge count of level 0 + # 90: Vertex index of 1st edge + # 90: Vertex index of 2nd edge + # 95: Edge crease count of level 0 + # 95 same as 94, or how is the 'edge create value' associated to edge index + # 140: Edge crease value + # + # Overriding properties: how does this work? + # 90: Count of sub-entity which property has been overridden + # 91: Sub-entity marker + # 92: Count of property was overridden + # 90: Property type + # 0 = Color + # 1 = Material + # 2 = Transparency + # 3 = Material mapper + }, +) +acdb_mesh_group_codes = group_code_mapping(acdb_mesh) + + +class EdgeArray(TagArray): + DTYPE = "L" + + def __len__(self) -> int: + return len(self.values) // 2 + + def __iter__(self) -> Iterator[tuple[int, int]]: + for edge in take2(self.values): + yield edge + + def set_data(self, edges: Iterable[tuple[int, int]]) -> None: + self.values = array.array(self.DTYPE, chain.from_iterable(edges)) + + def export_dxf(self, tagwriter: AbstractTagWriter): + # count = count of edges not tags! + tagwriter.write_tag2(94, len(self.values) // 2) + for index in self.values: + tagwriter.write_tag2(90, index) + + +class FaceList(TagList): + def __len__(self) -> int: + return len(self.values) + + def __iter__(self) -> Iterable[array.array]: + return iter(self.values) + + def export_dxf(self, tagwriter: AbstractTagWriter): + # count = count of tags not faces! + tagwriter.write_tag2(93, self.tag_count()) + for face in self.values: + tagwriter.write_tag2(90, len(face)) + for index in face: + tagwriter.write_tag2(90, index) + + def tag_count(self) -> int: + return len(self.values) + sum(len(f) for f in self.values) + + def set_data(self, faces: Iterable[Sequence[int]]) -> None: + _faces = [] + for face in faces: + _faces.append(face_to_array(face)) + self.values = _faces + + +def face_to_array(face: Sequence[int]) -> array.array: + max_index = max(face) + if max_index < 256: + dtype = "B" + elif max_index < 65536: + dtype = "I" + else: + dtype = "L" + return array.array(dtype, face) + + +def create_vertex_array(tags: Tags, start_index: int) -> VertexArray: + vertex_tags = tags.collect_consecutive_tags(codes=(10,), start=start_index) + return VertexArray(data=[t.value for t in vertex_tags]) + + +def create_face_list(tags: Tags, start_index: int) -> FaceList: + faces = FaceList() + faces_list = faces.values + face: list[int] = [] + counter = 0 + for tag in tags.collect_consecutive_tags(codes=(90,), start=start_index): + if not counter: + # leading counter tag + counter = tag.value + if face: + # group code 90 = 32 bit integer + faces_list.append(face_to_array(face)) + face = [] + else: + # followed by count face tags + counter -= 1 + face.append(tag.value) + + # add last face + if face: + # group code 90 = 32 bit integer + faces_list.append(face_to_array(face)) + + return faces + + +def create_edge_array(tags: Tags, start_index: int) -> EdgeArray: + return EdgeArray(data=collect_values(tags, start_index, code=90)) # int values + + +def collect_values( + tags: Tags, start_index: int, code: int +) -> Iterable[Union[float, int]]: + values = tags.collect_consecutive_tags(codes=(code,), start=start_index) + return (t.value for t in values) + + +def create_crease_array(tags: Tags, start_index: int) -> array.array: + return array.array("f", collect_values(tags, start_index, code=140)) # float values + + +COUNT_ERROR_MSG = "'MESH (#{}) without {} count.'" + + +@register_entity +class Mesh(DXFGraphic): + """DXF MESH entity""" + + DXFTYPE = "MESH" + DXFATTRIBS = DXFAttributes(base_class, acdb_entity, acdb_mesh) + MIN_DXF_VERSION_FOR_EXPORT = DXF2000 + + def __init__(self): + super().__init__() + self._vertices = VertexArray() # vertices stored as array.array('d') + self._faces = FaceList() # face lists data + self._edges = EdgeArray() # edge indices stored as array.array('L') + self._creases = array.array("f") # creases stored as array.array('f') + + def copy_data(self, entity: Self, copy_strategy=default_copy) -> None: + """Copy data: vertices, faces, edges, creases.""" + assert isinstance(entity, Mesh) + entity._vertices = copy.deepcopy(self._vertices) + entity._faces = copy.deepcopy(self._faces) + entity._edges = copy.deepcopy(self._edges) + entity._creases = copy.deepcopy(self._creases) + + def load_dxf_attribs( + self, processor: Optional[SubclassProcessor] = None + ) -> DXFNamespace: + dxf = super().load_dxf_attribs(processor) + if processor: + tags = processor.subclass_by_index(2) + if tags: + # Load mesh data and remove their tags from subclass + self.load_mesh_data(tags, dxf.handle) + # Load remaining data into name space + processor.fast_load_dxfattribs( + dxf, acdb_mesh_group_codes, 2, recover=True + ) + else: + raise DXFStructureError( + f"missing 'AcDbSubMesh' subclass in MESH(#{dxf.handle})" + ) + return dxf + + def load_mesh_data(self, mesh_tags: Tags, handle: str) -> None: + def process_vertices(): + try: + vertex_count_index = mesh_tags.tag_index(92) + except DXFValueError: + raise DXFStructureError(COUNT_ERROR_MSG.format(handle, "vertex")) + vertices = create_vertex_array(mesh_tags, vertex_count_index + 1) + # Remove vertex count tag and all vertex tags + end_index = vertex_count_index + 1 + len(vertices) + del mesh_tags[vertex_count_index:end_index] + return vertices + + def process_faces(): + try: + face_count_index = mesh_tags.tag_index(93) + except DXFValueError: + raise DXFStructureError(COUNT_ERROR_MSG.format(handle, "face")) + else: + # Remove face count tag and all face tags + faces = create_face_list(mesh_tags, face_count_index + 1) + end_index = face_count_index + 1 + faces.tag_count() + del mesh_tags[face_count_index:end_index] + return faces + + def process_edges(): + try: + edge_count_index = mesh_tags.tag_index(94) + except DXFValueError: + raise DXFStructureError(COUNT_ERROR_MSG.format(handle, "edge")) + else: + edges = create_edge_array(mesh_tags, edge_count_index + 1) + # Remove edge count tag and all edge tags + end_index = edge_count_index + 1 + len(edges.values) + del mesh_tags[edge_count_index:end_index] + return edges + + def process_creases(): + try: + crease_count_index = mesh_tags.tag_index(95) + except DXFValueError: + raise DXFStructureError(COUNT_ERROR_MSG.format(handle, "crease")) + else: + creases = create_crease_array(mesh_tags, crease_count_index + 1) + # Remove crease count tag and all crease tags + end_index = crease_count_index + 1 + len(creases) + del mesh_tags[crease_count_index:end_index] + return creases + + self._vertices = process_vertices() + self._faces = process_faces() + self._edges = process_edges() + self._creases = process_creases() + + def preprocess_export(self, tagwriter: AbstractTagWriter) -> bool: + """Pre requirement check and pre-processing for export. + + Returns ``False`` if entity should not be exported at all. + + - MESH without vertices creates an invalid DXF file for AutoCAD and BricsCAD. + - MESH without faces creates an invalid DXF file for AutoCAD and BricsCAD. + + (internal API) + """ + if len(self.vertices) == 0 or len(self.faces) == 0: + return False + return True + + def export_entity(self, tagwriter: AbstractTagWriter) -> None: + """Export entity specific data as DXF tags.""" + super().export_entity(tagwriter) + tagwriter.write_tag2(SUBCLASS_MARKER, acdb_mesh.name) + self.dxf.export_dxf_attribs( + tagwriter, ["version", "blend_crease", "subdivision_levels"] + ) + self.export_mesh_data(tagwriter) + self.export_override_data(tagwriter) + + def export_mesh_data(self, tagwriter: AbstractTagWriter): + tagwriter.write_tag2(92, len(self.vertices)) + self._vertices.export_dxf(tagwriter, code=10) + self._faces.export_dxf(tagwriter) + self._edges.export_dxf(tagwriter) + + creases = self._fixed_crease_values() + tagwriter.write_tag2(95, len(self.creases)) + for crease_value in creases: + tagwriter.write_tag2(140, crease_value) + + def _fixed_crease_values(self) -> list[float]: + # The edge count has to match the crease count, otherwise its an invalid + # DXF file to AutoCAD! + edge_count = len(self._edges) + creases = list(self.creases) + crease_count = len(creases) + if edge_count < crease_count: + creases = creases[:edge_count] + while edge_count > len(creases): + creases.append(0.0) + return creases + + def export_override_data(self, tagwriter: AbstractTagWriter): + tagwriter.write_tag2(90, 0) + + @property + def creases(self) -> array.array: + """Creases as :class:`array.array`. (read/write)""" + return self._creases + + @creases.setter + def creases(self, values: Iterable[float]) -> None: + self._creases = array.array("f", values) + + @property + def vertices(self): + """Vertices as list like :class:`~ezdxf.lldxf.packedtags.VertexArray`. + (read/write) + """ + return self._vertices + + @vertices.setter + def vertices(self, points: Iterable[UVec]) -> None: + self._vertices = VertexArray(points) + + @property + def edges(self): + """Edges as list like :class:`~ezdxf.lldxf.packedtags.TagArray`. + (read/write) + """ + return self._edges + + @edges.setter + def edges(self, edges: Iterable[tuple[int, int]]) -> None: + self._edges.set_data(edges) + + @property + def faces(self): + """Faces as list like :class:`~ezdxf.lldxf.packedtags.TagList`. + (read/write) + """ + return self._faces + + @faces.setter + def faces(self, faces: Iterable[Sequence[int]]) -> None: + self._faces.set_data(faces) + + def get_data(self) -> MeshData: + return MeshData(self) + + def set_data(self, data: MeshData) -> None: + self.vertices = data.vertices + self._faces.set_data(data.faces) + self._edges.set_data(data.edges) + self.creases = array.array("f", data.edge_crease_values) + if len(self.edges) != len(self.creases): + raise DXFValueError("count of edges must match count of creases") + + @contextmanager + def edit_data(self) -> Iterator[MeshData]: + """Context manager for various mesh data, returns a :class:`MeshData` instance. + + Despite that vertices, edge and faces are accessible as packed data types, the + usage of :class:`MeshData` by context manager :meth:`edit_data` is still + recommended. + """ + data = self.get_data() + yield data + self.set_data(data) + + def transform(self, m: Matrix44) -> Mesh: + """Transform the MESH entity by transformation matrix `m` inplace.""" + self._vertices.transform(m) + self.post_transform(m) + return self + + def audit(self, auditor: Auditor) -> None: + if not self.is_alive: + return + super().audit(auditor) + if len(self.edges) != len(self.creases): + self.creases = self._fixed_crease_values() # type: ignore + auditor.fixed_error( + code=AuditError.INVALID_CREASE_VALUE_COUNT, + message=f"fixed invalid count of crease values in {str(self)}", + dxf_entity=self, + ) + if len(self.vertices) == 0 or len(self.faces) == 0: + # A MESH without vertices or vertices creates an invalid DXF file for + # AutoCAD and BricsCAD + auditor.fixed_error( + code=AuditError.INVALID_VERTEX_COUNT, + message=f"removed {str(self)} without vertices or faces", + ) + auditor.trash(self) + + +class MeshData: + def __init__(self, mesh: Mesh) -> None: + self.vertices: list[Vec3] = Vec3.list(mesh.vertices) + self.faces: list[Sequence[int]] = list(mesh.faces) + self.edges: list[tuple[int, int]] = list(mesh.edges) + self.edge_crease_values: list[float] = list(mesh.creases) + + def add_face(self, vertices: Iterable[UVec]) -> Sequence[int]: + """Add a face by a list of vertices.""" + indices = tuple(self.add_vertex(vertex) for vertex in vertices) + self.faces.append(indices) + return indices + + def add_edge_crease(self, v1: int, v2: int, crease: float): + """Add an edge crease value, the edge is defined by the vertex indices + `v1` and `v2`. + + The crease value defines the amount of subdivision that will be applied + to this edge. A crease value of the subdivision level prevents the edge from + deformation and a value of 0.0 means no protection from subdividing. + + """ + if v1 < 0 or v1 > len(self.vertices): + raise DXFIndexError("vertex index `v1` out of range") + if v2 < 0 or v2 > len(self.vertices): + raise DXFIndexError("vertex index `v2` out of range") + self.edges.append((v1, v2)) + self.edge_crease_values.append(crease) + + def add_vertex(self, vertex: UVec) -> int: + if len(vertex) != 3: + raise DXFValueError("Parameter vertex has to be a 3-tuple (x, y, z).") + index = len(self.vertices) + self.vertices.append(Vec3(vertex)) + return index + + def optimize(self): + """Reduce vertex count by merging coincident vertices.""" + + def merge_coincident_vertices() -> dict[int, int]: + original_vertices = [ + (v.xyz, index, v) for index, v in enumerate(self.vertices) + ] + original_vertices.sort() + self.vertices = [] + index_map: dict[int, int] = {} + prev_vertex = sentinel = Vec3() + index = 0 + for _, original_index, vertex in original_vertices: + if prev_vertex is sentinel or not vertex.isclose(prev_vertex): + index = len(self.vertices) + self.vertices.append(vertex) + index_map[original_index] = index + prev_vertex = vertex + else: # this is a coincident vertex + index_map[original_index] = index + return index_map + + def remap_faces() -> None: + self.faces = remap_indices(self.faces) + + def remap_edges() -> None: + self.edges = remap_indices(self.edges) # type: ignore + + def remap_indices(indices: Sequence[Sequence[int]]) -> list[Sequence[int]]: + mapped_indices: list[Sequence[int]] = [] + for entry in indices: + mapped_indices.append(tuple(index_map[index] for index in entry)) + return mapped_indices + + index_map = merge_coincident_vertices() + remap_faces() + remap_edges() diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/entities/mleader.py b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/entities/mleader.py new file mode 100644 index 0000000000000000000000000000000000000000..ee47f8954df968ac11b5c48aac5e0159f727ab11 --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/entities/mleader.py @@ -0,0 +1,1460 @@ +# Copyright (c) 2018-2024, Manfred Moitzi +# License: MIT License +from __future__ import annotations +from typing import TYPE_CHECKING, Union, Optional, Iterable, Any, Iterator +from typing_extensions import Self +import copy +import logging +import math +from collections import namedtuple + +from ezdxf.lldxf import const +from ezdxf.lldxf.types import cast_value +from ezdxf.lldxf.attributes import ( + DXFAttr, + DXFAttributes, + DefSubclass, + XType, + group_code_mapping, +) +from ezdxf.lldxf.tags import Tags +from ezdxf.lldxf.const import EXT_MAX_STR_LEN +from ezdxf.math import ( + Vec3, + NULLVEC, + X_AXIS, + Y_AXIS, + Z_AXIS, + Matrix44, + WCSTransform, + OCSTransform, + NonUniformScalingError, +) +from ezdxf import colors +from ezdxf.proxygraphic import ProxyGraphicError +from ezdxf.tools.text import safe_string, scale_mtext_inline_commands +from ezdxf.tools.handle import safe_handle + +from .dxfentity import base_class, SubclassProcessor +from .dxfobj import DXFObject +from .dxfgfx import DXFGraphic, acdb_entity + +from .factory import register_entity +from .objectcollection import ObjectCollection +from .copy import default_copy + +if TYPE_CHECKING: + from ezdxf.audit import Auditor + from ezdxf.document import Drawing + from ezdxf.entities import DXFNamespace, DXFEntity + from ezdxf.layouts import BaseLayout + from ezdxf.lldxf.tagwriter import AbstractTagWriter + from ezdxf.lldxf.types import DXFTag + from ezdxf.query import EntityQuery + from ezdxf import xref + +__all__ = [ + "MultiLeader", + "MLeader", + "MLeaderStyle", + "MLeaderStyleCollection", + "MLeaderContext", + "MTextData", + "BlockData", + "LeaderData", + "LeaderLine", + "ArrowHeadData", + "AttribData", +] +logger = logging.getLogger("ezdxf") + + +# DXF Examples: +# "D:\source\dxftest\CADKitSamples\house design for two family with common staircasedwg.dxf" +# "D:\source\dxftest\CADKitSamples\house design.dxf" + +# How to render MLEADER: https://atlight.github.io/formats/dxf-leader.html +# DXF reference: +# http://help.autodesk.com/view/OARX/2018/ENU/?guid=GUID-72D20B8C-0F5E-4993-BEB7-0FCF94F32BE0 + +acdb_mleader = DefSubclass( + "AcDbMLeader", + { + "version": DXFAttr(270, default=2), + "style_handle": DXFAttr(340), + # Theory: Take properties from MLEADERSTYLE, + # except explicit overridden here: + "property_override_flags": DXFAttr(90), + # Bit coded flags from ODA DWG specs pg.158: + # 1 << 0 = leader_type + # 1 << 1 = leader_line_color + # 1 << 2 = leader_linetype_handle + # 1 << 3 = leader_lineweight + # 1 << 4 = has_landing + # 1 << 5 = landing_gap_size ??? + # 1 << 6 = has_dogleg + # 1 << 7 = dogleg_length + # 1 << 8 = arrow_head_handle + # 1 << 9 = arrow_head_size + # 1 << 10 = content_type + # 1 << 11 = text_style_handle + # 1 << 12 = text_left_attachment_type (of MTEXT) + # 1 << 13 = text_angle_type (of MTEXT) + # 1 << 14 = text_alignment_type (of MTEXT) + # 1 << 15 = text_color (of MTEXT) + # 1 << 16 = ??? Text height (of MTEXT) ??? + # 1 << 17 = has_text_frame + # 1 << 18 = ??? Enable use of default MTEXT (from MLEADERSTYLE) + # 1 << 19 = block_record_handle + # 1 << 20 = block_color + # 1 << 21 = block_scale_vector + # 1 << 22 = block_rotation + # 1 << 23 = block_connection_type + # 1 << 24 = ??? Scale ??? + # 1 << 25 = text_right_attachment_type (of MTEXT) + # 1 << 26 = ??? Text switch alignment type (of MTEXT) ??? + # 1 << 27 = text_attachment_direction (of MTEXT) + # 1 << 28 = text_top_attachment_type (of MTEXT) + # 1 << 29 = Text_bottom_attachment_type (of MTEXT) + # leader_type: + # 0 = invisible + # 1 = straight line leader + # 2 = spline leader + "leader_type": DXFAttr(170, default=1), + "leader_line_color": DXFAttr(91, default=colors.BY_BLOCK_RAW_VALUE), + "leader_linetype_handle": DXFAttr(341), + "leader_lineweight": DXFAttr(171, default=const.LINEWEIGHT_BYBLOCK), + "has_landing": DXFAttr(290, default=1), + "has_dogleg": DXFAttr(291, default=1), + "dogleg_length": DXFAttr(41, default=8), # depend on $MEASUREMENT? + # no handle is default arrow 'closed filled': + "arrow_head_handle": DXFAttr(342), + # unscaled arrow head size: + "arrow_head_size": DXFAttr(42, default=4), # depend on $MEASUREMENT? + "content_type": DXFAttr(172, default=2), + # 0 = None + # 1 = Block content + # 2 = MTEXT content + # 3 = TOLERANCE content + # Text Content: + "text_style_handle": DXFAttr(343), + "text_left_attachment_type": DXFAttr(173, default=1), + # Values 0-8 are used for the left/right attachment + # point (attachment direction is horizontal) + # Attachment point is: + # 0 = top of top text line + # 1 = middle of top text line + # 2 = middle of whole text + # 3 = middle of bottom text line + # 4 = bottom of bottom text line + # 5 = bottom of bottom text line & underline bottom text line + # 6 = bottom of top text line & underline top text line + # 7 = bottom of top text line + # 8 = bottom of top text line & underline all text lines + "text_right_attachment_type": DXFAttr(95, default=1), # like 173 + "text_angle_type": DXFAttr(174, default=1), + # 0 = text angle is equal to last leader line segment angle + # 1 = text is horizontal + # 2 = text angle is equal to last leader line segment angle, but potentially + # rotated by 180 degrees so the right side is up for readability. + "text_alignment_type": DXFAttr(175, default=2), + "text_color": DXFAttr(92, default=colors.BY_BLOCK_RAW_VALUE), + "has_text_frame": DXFAttr(292, default=0), + # Block Content: + "block_record_handle": DXFAttr(344), + "block_color": DXFAttr(93, default=colors.BY_BLOCK_RAW_VALUE), # raw color + "block_scale_vector": DXFAttr(10, xtype=XType.point3d, default=Vec3(1, 1, 1)), + "block_rotation": DXFAttr(43, default=0), # in radians!!! + "block_connection_type": DXFAttr(176, default=0), + # 0 = center extents + # 1 = insertion point + "is_annotative": DXFAttr(293, default=0), + # REPEAT "arrow_heads": DXF R2007+ + # arrow_head_index: 94, ??? + # arrow_head_handle: 345 + # END "arrow heads" + # REPEAT "block attribs" (ATTDEF): DXF R2007+ + # attrib_handle: 330 + # attrib_index: 177, sequential index of the label in the collection + # attrib_width: 44 + # attrib_text: 302, collision with group code (302, "LEADER{") in context data + # END "block attribs" + # Text Content: + "is_text_direction_negative": DXFAttr(294, default=0, dxfversion=const.DXF2007), + "text_IPE_align": DXFAttr(178, default=0, dxfversion=const.DXF2007), + "text_attachment_point": DXFAttr(179, default=1, dxfversion=const.DXF2007), + # 1 = left + # 2 = center + # 3 = right + "scale": DXFAttr(45, default=1, dxfversion=const.DXF2007), + # This defines whether the leaders attach to the left/right of the content + # block/text, or attach to the top/bottom: + # 0 = horizontal + # 1 = vertical + "text_attachment_direction": DXFAttr(271, default=0, dxfversion=const.DXF2010), + # like 173, but + # 9 = center + # 10= underline and center + "text_bottom_attachment_type": DXFAttr( + 272, default=9, dxfversion=const.DXF2010 + ), + # like 173, but + # 9 = center + # 10= overline and center + "text_top_attachment_type": DXFAttr(273, default=9, dxfversion=const.DXF2010), + "leader_extend_to_text": DXFAttr(295, default=0, dxfversion=const.DXF2013), + }, +) +# The text frame shape is stored in XDATA except for the default rectangle: +# 1001 ACAD +# 1070 +# 2 = rounded rectangle +# 3 = parallelogram +# 4 = triangle +# 5 = square +# 6 = pentagon +# 7 = hexagon +# 8 = octagon +# 9 = circle +# 10= ellipse + +acdb_mleader_group_codes = group_code_mapping(acdb_mleader) +CONTEXT_STR = "CONTEXT_DATA{" +LEADER_STR = "LEADER{" +LEADER_LINE_STR = "LEADER_LINE{" +START_CONTEXT_DATA = 300 +END_CONTEXT_DATA = 301 +START_LEADER = 302 +END_LEADER = 303 +START_LEADER_LINE = 304 +END_LEADER_LINE = 305 + + +def compile_context_tags( + data: list[DXFTag], stop_code: int +) -> list[Union[DXFTag, list]]: + def build_structure(tag: DXFTag, stop: int) -> list[Union[DXFTag, list]]: + collector = [tag] + tag = next(tags) + while tag.code != stop: + if tag.code == START_LEADER: + collector.append(build_structure(tag, END_LEADER)) # type: ignore + # Group code 304 is used also for MTEXT content, therefore always + # test for group code and value string: + elif tag.code == START_LEADER_LINE and tag.value == LEADER_LINE_STR: + collector.append(build_structure(tag, END_LEADER_LINE)) # type: ignore + else: + collector.append(tag) + tag = next(tags) + return collector # type: ignore + + tags = iter(data) + return build_structure(next(tags), stop_code) + + +ArrowHeadData = namedtuple("ArrowHeadData", "index, handle") +AttribData = namedtuple("AttribData", "handle, index, width, text") + + +@register_entity +class MultiLeader(DXFGraphic): + DXFTYPE = "MULTILEADER" + DXFATTRIBS = DXFAttributes(base_class, acdb_entity, acdb_mleader) + MIN_DXF_VERSION_FOR_EXPORT = const.DXF2000 + + def __init__(self) -> None: + super().__init__() + self.context = MLeaderContext() + self.arrow_heads: list[ArrowHeadData] = [] + self.block_attribs: list[AttribData] = [] + + @property + def has_mtext_content(self) -> bool: + """``True`` if MULTILEADER has MTEXT content.""" + return self.context.mtext is not None + + def get_mtext_content(self) -> str: + """Get MTEXT content as string, return "" if MULTILEADER has + BLOCK content. + """ + mtext = self.context.mtext + if mtext is not None: + return mtext.default_content + return "" + + def set_mtext_content(self, text: str): + """Set MTEXT content as string, does nothing if MULTILEADER has + BLOCK content. + """ + mtext = self.context.mtext + if mtext is not None: + mtext.default_content = safe_string(text, EXT_MAX_STR_LEN) + + @property + def has_block_content(self) -> bool: + """``True`` if MULTILEADER has BLOCK content.""" + return self.context.block is not None + + def get_block_content(self) -> dict[str, str]: + """Get BLOCK attributes as dictionary of (tag, value) pairs. + Returns an empty dictionary if MULTILEADER has MTEXT content. + """ + assert self.doc is not None, "valid DXF document required" + entitydb = self.doc.entitydb + tags: dict[str, str] = dict() + for attr in self.block_attribs: + attdef = entitydb.get(attr.handle) + if attdef is not None: + tags[attdef.dxf.tag] = attr.text + return tags + + def set_block_content(self, content: dict[str, str]): + """Set BLOCK attributes by a dictionary of (tag, value) pairs. + Does nothing if MULTILEADER has MTEXT content. + """ + assert self.doc is not None, "valid DXF document required" + entitydb = self.doc.entitydb + tags: dict[str, str] = dict() + block_attribs = self.block_attribs + for index, attr in enumerate(block_attribs): + attdef = entitydb.get(attr.handle) + if attdef is not None: + tag = attdef.dxf.tag + new_text = safe_string(content.get(tag), EXT_MAX_STR_LEN) + if new_text is not None: + block_attribs[index] = attr._replace(text=new_text) + return tags + + def copy_data(self, entity: DXFEntity, copy_strategy=default_copy) -> None: + """Copy leaders""" + assert isinstance(entity, MultiLeader) + entity.context = copy.deepcopy(self.context) + entity.arrow_heads = copy.deepcopy(self.arrow_heads) + entity.block_attribs = copy.deepcopy(self.block_attribs) + + def load_dxf_attribs( + self, processor: Optional[SubclassProcessor] = None + ) -> DXFNamespace: + dxf = super().load_dxf_attribs(processor) + if processor is None: + return dxf + tags = processor.subclass_by_index(2) + if tags: + context = self.extract_context_data(tags) + if context: + try: + self.context = self.load_context(context) + except const.DXFStructureError: + logger.info( + f"Context structure error in entity MULTILEADER(#{dxf.handle})" + ) + else: + raise const.DXFStructureError( + f"missing 'AcDbMLeader' subclass in MULTILEADER(#{dxf.handle})" + ) + + self.arrow_heads = self.extract_arrow_heads(tags) + self.block_attribs = self.extract_block_attribs(tags) + + processor.fast_load_dxfattribs( + dxf, acdb_mleader_group_codes, subclass=tags, recover=True + ) + return dxf + + @staticmethod + def extract_context_data(tags: Tags) -> list[DXFTag]: + start, end = None, None + context_data = [] + for index, tag in enumerate(tags): + if tag.code == START_CONTEXT_DATA: + start = index + elif tag.code == END_CONTEXT_DATA: + end = index + 1 + + if start and end: + context_data = tags[start:end] + # Remove context data! + del tags[start:end] + return context_data + + @staticmethod + def load_context(data: list[DXFTag]) -> MLeaderContext: + try: + context = compile_context_tags(data, END_CONTEXT_DATA) + except StopIteration: + raise const.DXFStructureError + else: + return MLeaderContext.load(context) + + @staticmethod + def extract_arrow_heads(data: Tags) -> list[ArrowHeadData]: + def store_head(): + heads.append( + ArrowHeadData( + collector.get(94, 0), # arrow head index + collector.get(345, "0"), # arrow head handle + ) + ) + collector.clear() + + heads: list[ArrowHeadData] = [] + try: + start = data.tag_index(94) + except const.DXFValueError: + return heads + + end = start + collector = dict() + for code, value in data.collect_consecutive_tags({94, 345}, start): + end += 1 + collector[code] = value + if code == 345: + store_head() + + # Remove processed tags: + del data[start:end] + return heads + + @staticmethod + def extract_block_attribs(data: Tags) -> list[AttribData]: + def store_attrib(): + attribs.append( + AttribData( + collector.get(330, "0"), # ATTDEF handle + collector.get(177, 0), # ATTDEF index + collector.get(44, 1.0), # ATTDEF width + collector.get(302, ""), # ATTDEF text (content) + ) + ) + collector.clear() + + attribs: list[AttribData] = [] + try: + start = data.tag_index(330) + except const.DXFValueError: + return attribs + + end = start + collector: dict[int, Any] = dict() + for code, value in data.collect_consecutive_tags({330, 177, 44, 302}, start): + end += 1 + if code == 330 and len(collector): + store_attrib() + collector[code] = value + if len(collector): + store_attrib() + + # Remove processed tags: + del data[start:end] + return attribs + + def preprocess_export(self, tagwriter: AbstractTagWriter) -> bool: + if self.context.is_valid: + return True + else: + logger.debug(f"Ignore {str(self)} at DXF export, invalid context data.") + return False + + def export_entity(self, tagwriter: AbstractTagWriter) -> None: + def write_handle_if_exist(code: int, name: str): + handle = dxf.get(name) + if handle is not None: + write_tag2(code, handle) + + super().export_entity(tagwriter) + dxf = self.dxf + version = tagwriter.dxfversion + write_tag2 = tagwriter.write_tag2 + + write_tag2(100, acdb_mleader.name) + write_tag2(270, dxf.version) + self.context.export_dxf(tagwriter) + + # Export common MLEADER tags: + # Don't use dxf.export_dxf_attribs() - all attributes should be written + # even if equal to the default value: + write_tag2(340, dxf.style_handle) + write_tag2(90, dxf.property_override_flags) + write_tag2(170, dxf.leader_type) + write_tag2(91, dxf.leader_line_color) + write_tag2(341, dxf.leader_linetype_handle) + write_tag2(171, dxf.leader_lineweight) + write_tag2(290, dxf.has_landing) + write_tag2(291, dxf.has_dogleg) + write_tag2(41, dxf.dogleg_length) + # arrow_head_handle is None for default arrow 'closed filled': + write_handle_if_exist(342, "arrow_head_handle") + write_tag2(42, dxf.arrow_head_size) + write_tag2(172, dxf.content_type) + write_tag2(343, dxf.text_style_handle) # mandatory! + write_tag2(173, dxf.text_left_attachment_type) + write_tag2(95, dxf.text_right_attachment_type) + write_tag2(174, dxf.text_angle_type) + write_tag2(175, dxf.text_alignment_type) + write_tag2(92, dxf.text_color) + write_tag2(292, dxf.has_text_frame) + + write_handle_if_exist(344, "block_record_handle") + write_tag2(93, dxf.block_color) + tagwriter.write_vertex(10, dxf.block_scale_vector) + write_tag2(43, dxf.block_rotation) + write_tag2(176, dxf.block_connection_type) + write_tag2(293, dxf.is_annotative) + if version >= const.DXF2007: + self.export_arrow_heads(tagwriter) + self.export_block_attribs(tagwriter) + write_tag2(294, dxf.is_text_direction_negative) + write_tag2(178, dxf.text_IPE_align) + write_tag2(179, dxf.text_attachment_point) + write_tag2(45, dxf.scale) + + if version >= const.DXF2010: + write_tag2(271, dxf.text_attachment_direction) + write_tag2(272, dxf.text_bottom_attachment_type) + write_tag2(273, dxf.text_top_attachment_type) + + if version >= const.DXF2013: + write_tag2(295, dxf.leader_extend_to_text) + + def export_arrow_heads(self, tagwriter: AbstractTagWriter) -> None: + for index, handle in self.arrow_heads: + tagwriter.write_tag2(94, index) + tagwriter.write_tag2(345, handle) + + def export_block_attribs(self, tagwriter: AbstractTagWriter) -> None: + for attrib in self.block_attribs: + tagwriter.write_tag2(330, attrib.handle) + tagwriter.write_tag2(177, attrib.index) + tagwriter.write_tag2(44, attrib.width) + tagwriter.write_tag2(302, safe_string(attrib.text, EXT_MAX_STR_LEN)) + + def register_resources(self, registry: xref.Registry) -> None: + """Register required resources to the resource registry.""" + super().register_resources(registry) + dxf = self.dxf + registry.add_handle(dxf.style_handle) + registry.add_handle(dxf.leader_linetype_handle) + registry.add_handle(dxf.arrow_head_handle) + registry.add_handle(dxf.text_style_handle) + registry.add_handle(dxf.block_record_handle) + for arrow_head in self.arrow_heads: + registry.add_handle(arrow_head.handle) + # block attdef entities are included in the block definition! + self.context.register_resources(registry) + + def map_resources(self, clone: Self, mapping: xref.ResourceMapper) -> None: + """Translate resources from self to the copied entity.""" + assert isinstance(clone, MultiLeader) + super().map_resources(clone, mapping) + dxf = self.dxf + clone_dxf = clone.dxf + clone_dxf.style_handle = mapping.get_handle(dxf.style_handle) + clone_dxf.leader_linetype_handle = mapping.get_handle( + dxf.leader_linetype_handle + ) + clone_dxf.arrow_head_handle = mapping.get_handle(dxf.arrow_head_handle) + clone_dxf.text_style_handle = mapping.get_handle(dxf.text_style_handle) + clone_dxf.block_record_handle = mapping.get_handle(dxf.block_record_handle) + clone.map_arrow_head_handles(mapping) + clone.map_block_attrib_handles(mapping) + clone.context.map_resources(mapping) + + def map_arrow_head_handles(self, mapping: xref.ResourceMapper): + self.arrow_heads = [ + arrow._replace(handle=mapping.get_handle(arrow.handle)) + for arrow in self.arrow_heads + ] + + def map_block_attrib_handles(self, mapping: xref.ResourceMapper): + self.block_attribs = [ + attrib._replace(handle=mapping.get_handle(attrib.handle)) + for attrib in self.block_attribs + ] + + def virtual_entities(self) -> Iterator[DXFGraphic]: + """Yields the graphical representation of MULTILEADER as virtual DXF + primitives. + + These entities are located at the original location, but are not stored + in the entity database, have no handle and are not assigned to any + layout. + + """ + return self.__virtual_entities__() + + def explode(self, target_layout: Optional[BaseLayout] = None) -> EntityQuery: + """Explode MULTILEADER as DXF primitives into target layout, + if target layout is ``None``, the target layout is the layout of the + source entity. + + Returns an :class:`~ezdxf.query.EntityQuery` container with all DXF + primitives. + + Args: + target_layout: target layout for the DXF primitives, ``None`` for + same layout as the source entity. + + """ + from ezdxf.explode import explode_entity + + return explode_entity(self, target_layout) + + def __virtual_entities__(self) -> Iterator[DXFGraphic]: + """Support for "VirtualEntities" protocol.""" + from ezdxf.render import mleader + + try: + return mleader.virtual_entities(self, proxy_graphic=True) + except ProxyGraphicError: + return mleader.virtual_entities(self, proxy_graphic=False) + + def __referenced_blocks__(self) -> Iterable[str]: + """Support for "ReferencedBlocks" protocol.""" + # 1. overridden MLEADERSTYLE attributes + for name in ("block_record_handle", "arrow_head_handle"): + handle = self.dxf.get(name, None) + if handle is not None: + yield handle + + # 2. arrows heads + for arrow_head in self.arrow_heads: + yield arrow_head.handle + + # 3. MLeader context + if self.context.block is not None: + handle = self.context.block.block_record_handle + if handle is not None: + yield handle + + def transform(self, m: Matrix44) -> MultiLeader: + """Transform the MULTILEADER entity by transformation matrix `m` inplace. + + Non-uniform scaling is not supported. + + Args: + m: transformation :class:`~ezdxf.math.Matrix44` + + Raises: + NonUniformScalingError: for non-uniform scaling + + """ + dxf = self.dxf + context = self.context + + wcs = WCSTransform(m) + if not wcs.has_uniform_xy_scaling: + # caller has to catch this exception and explode the MULTILEADER + raise NonUniformScalingError( + "MULTILEADER does not support non-uniform scaling" + ) + if abs(context.plane_x_axis.z) > 1e-12 or abs(context.plane_y_axis.z) > 1e-12: + # check only if not parallel to xy-plane + if not wcs.has_uniform_xyz_scaling: + # caller has to catch this exception and explode the MULTILEADER + raise NonUniformScalingError( + "MULTILEADER does not support non-uniform scaling" + ) + context.transform(wcs) + # copy redundant attributes from sub-structures: + dxf.arrow_head_size = context.arrow_head_size + dxf.scale = context.scale + dxf.dogleg_length *= wcs.uniform_scale + if context.block: + dxf.block_rotation = context.block.rotation + dxf.block_scale_vector = context.block.scale + + # ArrowHeadData: no transformation needed + # AttribData: no transformation needed + self.post_transform(m) + + # The proxy graphic is stored in absolute WCS coordinates and does not + # represent the new transformed geometry. + self.update_proxy_graphic() + return self + + def update_proxy_graphic(self): + # Maybe this is supported in the future - its very unlikeLy! + self.proxy_graphic = None + + +@register_entity +class MLeader(MultiLeader): # same entity different name + DXFTYPE = "MLEADER" + + +class MLeaderContext: + ATTRIBS = { + 40: "scale", + 10: "base_point", + 41: "char_height", + 140: "arrow_head_size", + 145: "landing_gap_size", + 174: "left_attachment", + 175: "right_attachment", + 176: "text_align_type", + 177: "attachment_type", + 110: "plane_origin", + 111: "plane_x_axis", + 112: "plane_y_axis", + 297: "plane_normal_reversed", + 272: "top_attachment", + 273: "bottom_attachment", + } + + def __init__(self) -> None: + self.leaders: list[LeaderData] = [] + self.scale: float = 1.0 # overall scale + + # MTEXT base point: is not the MTEXT insertion point! + # HORIZONTAL leader attachment: + # the "base_point" is always the start point of the leader on the LEFT side + # of the MTEXT, regardless of alignment and which side leaders are attached. + # VERTICAL leader attachment: + # the "base_point" is always the start point of the leader on the BOTTOM + # side of the MTEXT, regardless of alignment and which side leaders are + # attached. + + # BLOCK base point: is not the BLOCK insertion point! + # HORIZONTAL leader attachment: + # Strange results, setting the "base_point" to the left center of the BLOCK, + # regardless which side leaders are attached, seems to be reasonable. + # VERTICAL leader attachment: not supported by BricsCAD + self.base_point: Vec3 = NULLVEC + self.char_height = 4.0 # scaled char height! + self.arrow_head_size = 4.0 + self.landing_gap_size = 2.0 + self.left_attachment = 1 + self.right_attachment = 1 + self.text_align_type = 0 # 0=left, 1=center, 2=right + self.attachment_type = 0 # 0=content extents, 1=insertion point + self.mtext: Optional[MTextData] = None + self.block: Optional[BlockData] = None + self.plane_origin: Vec3 = NULLVEC + self.plane_x_axis: Vec3 = X_AXIS + self.plane_y_axis: Vec3 = Y_AXIS + self.plane_normal_reversed: int = 0 + self.top_attachment = 9 + self.bottom_attachment = 9 + + @classmethod + def load(cls, context: list[Union[DXFTag, list]]) -> MLeaderContext: + assert context[0] == (START_CONTEXT_DATA, CONTEXT_STR) + ctx = cls() + content: None | MTextData | BlockData = None + for tag in context: + if isinstance(tag, list): # Leader() + ctx.leaders.append(LeaderData.load(tag)) + continue + # parse context tags + code, value = tag + if content: + if content.parse(code, value): + continue + else: + content = None + + if code == 290 and value == 1: + content = MTextData() + ctx.mtext = content + elif code == 296 and value == 1: + content = BlockData() + ctx.block = content + else: + name = MLeaderContext.ATTRIBS.get(code) + if name: + ctx.__setattr__(name, cast_value(code, value)) + return ctx + + def register_resources(self, registry: xref.Registry) -> None: + """Register required resources to the resource registry.""" + if self.mtext is not None: + self.mtext.register_resources(registry) + if self.block is not None: + self.block.register_resources(registry) + + def map_resources(self, mapping: xref.ResourceMapper) -> None: + """Translate resources from self to the copied entity.""" + if self.mtext is not None: + self.mtext.map_resources(mapping) + if self.block is not None: + self.block.map_resources(mapping) + + @property + def is_valid(self) -> bool: + return True + + @property + def plane_z_axis(self) -> Vec3: + z_axis = self.plane_x_axis.cross(self.plane_y_axis).normalize() + if self.plane_normal_reversed: + z_axis = -z_axis + return z_axis + + def export_dxf(self, tagwriter: AbstractTagWriter) -> None: + write_tag2 = tagwriter.write_tag2 + write_vertex = tagwriter.write_vertex + write_tag2(START_CONTEXT_DATA, CONTEXT_STR) + # All MLeaderContext tags: + write_tag2(40, self.scale) + write_vertex(10, self.base_point) + write_tag2(41, self.char_height) + write_tag2(140, self.arrow_head_size) + write_tag2(145, self.landing_gap_size) + write_tag2(174, self.left_attachment) + write_tag2(175, self.right_attachment) + write_tag2(176, self.text_align_type) + write_tag2(177, self.attachment_type) + + if self.mtext: + write_tag2(290, 1) # has mtext content + self.mtext.export_dxf(tagwriter) + else: + write_tag2(290, 0) + + if self.block: + write_tag2(296, 1) # has block content + self.block.export_dxf(tagwriter) + else: + write_tag2(296, 0) + + write_vertex(110, self.plane_origin) + write_vertex(111, self.plane_x_axis) + write_vertex(112, self.plane_y_axis) + write_tag2(297, self.plane_normal_reversed) + + # Export Leader and LiederLine objects: + for leader in self.leaders: + leader.export_dxf(tagwriter) + + # Additional MLeaderContext tags: + if tagwriter.dxfversion >= const.DXF2010: + write_tag2(272, self.top_attachment) + write_tag2(273, self.bottom_attachment) + write_tag2(END_CONTEXT_DATA, "}") + + def transform(self, wcs: WCSTransform) -> None: + m = wcs.m + scale = wcs.uniform_scale + self.scale *= scale + self.base_point = m.transform(self.base_point) + self.char_height *= scale + self.arrow_head_size *= scale + self.landing_gap_size *= scale + self.plane_origin = m.transform(self.plane_origin) # confirmed by BricsCAD + self.plane_x_axis = m.transform_direction(self.plane_x_axis, normalize=True) + self.plane_y_axis = m.transform_direction(self.plane_y_axis, normalize=True) + self.plane_normal_reversed = 0 + z_axis = m.transform_direction(Z_AXIS, normalize=True) + if z_axis.isclose(-self.plane_z_axis): # reversed z-axis? + self.plane_normal_reversed = 1 + + for leader in self.leaders: + leader.transform(wcs) + if self.mtext is not None: + self.mtext.transform(wcs) + if self.block is not None: + self.block.transform(wcs) + + def set_scale(self, value: float): + try: + conversion_factor = value / self.scale + except ZeroDivisionError: + return + self.scale = value + self.char_height *= conversion_factor + self.arrow_head_size *= conversion_factor + self.landing_gap_size *= conversion_factor + + +class MTextData: + ATTRIBS = { + 304: "default_content", + 11: "extrusion", + 340: "style_handle", + 12: "insert", + 13: "text_direction", + 42: "rotation", + 43: "width", + 44: "defined_height", + 45: "line_spacing_factor", + 170: "line_spacing_style", + 90: "color", + 171: "alignment", + 172: "flow_direction", + 91: "bg_color", + 141: "bg_scale_factor", + 92: "bg_transparency", + 291: "use_window_bg_color", + 292: "has_bg_fill", + 173: "column_type", + 293: "use_auto_height", + 142: "column_width", + 143: "column_gutter_width", + 294: "column_flow_reversed", + 144: "column_sizes", # multiple values + 295: "use_word_break", + } + + def __init__(self) -> None: + self.default_content: str = "" + self.extrusion: Vec3 = Z_AXIS + self.style_handle: str = "0" # handle of TextStyle() table entry + self.insert: Vec3 = NULLVEC + self.text_direction: Vec3 = X_AXIS # text direction + self.rotation: float = 0.0 # in radians! + self.width: float = 0.0 # MTEXT width, not scaled + self.defined_height: float = 0.0 # defined column height, not scaled + self.line_spacing_factor: float = 1.0 + self.line_spacing_style: int = 1 # 1=at least, 2=exactly + self.color: int = colors.BY_BLOCK_RAW_VALUE + self.alignment: int = 1 # 1=left, 2=center, 3=right + self.flow_direction: int = 1 # 1=horiz, 3=vert, 6=by style + self.bg_color: int = colors.WINDOW_BG_RAW_VALUE + self.bg_scale_factor: float = 1.5 + self.bg_transparency: int = 0 + self.use_window_bg_color: int = 0 + self.has_bg_fill: int = 0 + self.column_type: int = 0 # unknown values + self.use_auto_height: int = 0 + self.column_width: float = 0.0 # not scaled + self.column_gutter_width: float = 0.0 # not scaled + self.column_flow_reversed: int = 0 + self.column_sizes: list[float] = [] # heights?, not scaled + self.use_word_break: int = 1 + + def register_resources(self, registry: xref.Registry) -> None: + """Register required resources to the resource registry.""" + registry.add_handle(self.style_handle) + + def map_resources(self, mapping: xref.ResourceMapper) -> None: + """Translate resources from self to the copied entity.""" + self.style_handle = mapping.get_handle(self.style_handle) + + def parse(self, code: int, value) -> bool: + # return True if data belongs to mtext else False (end of mtext section) + if code == 144: + self.column_sizes.append(float(value)) + return True + attrib = MTextData.ATTRIBS.get(code) + if attrib: + self.__setattr__(attrib, cast_value(code, value)) + return bool(attrib) + + def export_dxf(self, tagwriter: AbstractTagWriter) -> None: + write_tag2 = tagwriter.write_tag2 + write_vertex = tagwriter.write_vertex + write_tag2(304, safe_string(self.default_content, EXT_MAX_STR_LEN)) + write_vertex(11, self.extrusion) + write_tag2(340, safe_handle(self.style_handle)) + write_vertex(12, self.insert) + write_vertex(13, self.text_direction) + write_tag2(42, self.rotation) + write_tag2(43, self.width) + write_tag2(44, self.defined_height) + write_tag2(45, self.line_spacing_factor) + write_tag2(170, self.line_spacing_style) + write_tag2(90, self.color) + write_tag2(171, self.alignment) + write_tag2(172, self.flow_direction) + write_tag2(91, self.bg_color) + write_tag2(141, self.bg_scale_factor) + write_tag2(92, self.bg_transparency) + write_tag2(291, self.use_window_bg_color) + write_tag2(292, self.has_bg_fill) + write_tag2(173, self.column_type) + write_tag2(293, self.use_auto_height) + write_tag2(142, self.column_width) + write_tag2(143, self.column_gutter_width) + write_tag2(294, self.column_flow_reversed) + for size in self.column_sizes: + write_tag2(144, size) + write_tag2(295, self.use_word_break) + + def transform(self, wcs: WCSTransform) -> None: + # MTEXT is not really an OCS entity! + m = wcs.m + ocs = OCSTransform(self.extrusion, m) # source extrusion! + self.extrusion = ocs.new_extrusion # process like an OCS entity! + self.insert = m.transform(self.insert) # WCS + self.text_direction = wcs.m.transform_direction( # WCS + self.text_direction, normalize=True + ) + # don't use rotation ;) + self.rotation = ocs.transform_angle(self.rotation) + scale = wcs.uniform_scale + if math.isclose(scale, 1.0) or abs(scale) <= 1e-12: + return + self.width *= scale + self.defined_height *= scale + self.column_width *= scale + self.column_gutter_width *= scale + self.column_sizes = [size * scale for size in self.column_sizes] + self.default_content = scale_mtext_inline_commands(self.default_content, scale) + + def apply_conversion_factor(self, conversion_factor: float): + # conversion_factor: convert from an old scaling to a new scaling + if math.isclose(conversion_factor, 1.0) or abs(conversion_factor) <= 1e-12: + return + self.width *= conversion_factor + self.defined_height *= conversion_factor + self.column_width *= conversion_factor + self.column_gutter_width *= conversion_factor + self.column_sizes = [h * conversion_factor for h in self.column_sizes] + self.default_content = scale_mtext_inline_commands( + self.default_content, conversion_factor + ) + + +class BlockData: + ATTRIBS = { + 341: "block_record_handle", + 14: "extrusion", + 15: "insert", + 16: "scale", + 46: "rotation", + 93: "color", + } + + def __init__(self) -> None: + self.block_record_handle: Optional[str] = None + self.extrusion: Vec3 = Z_AXIS + self.insert: Vec3 = NULLVEC + self.scale: Vec3 = Vec3(1, 1, 1) + self.rotation: float = 0 # in radians! + self.color: int = colors.BY_BLOCK_RAW_VALUE + # The transformation matrix is stored in transposed order + # of ezdxf.math.Matrix44()! + self._matrix: list[float] = [] # group code 47 x 16 + + def register_resources(self, registry: xref.Registry) -> None: + """Register required resources to the resource registry.""" + registry.add_handle(self.block_record_handle) + + def map_resources(self, mapping: xref.ResourceMapper) -> None: + """Translate resources from self to the copied entity.""" + assert self.block_record_handle is not None + self.block_record_handle = mapping.get_handle(self.block_record_handle) + + @property + def matrix44(self) -> Matrix44: + if len(self._matrix) == 16: + m = Matrix44(self._matrix) + else: + m = Matrix44() + m.transpose() + return m + + @matrix44.setter + def matrix44(self, m: Matrix44) -> None: + m = m.copy() + m.transpose() + self._matrix = list(m) + + def parse(self, code: int, value) -> bool: + attrib = BlockData.ATTRIBS.get(code) + if attrib: + self.__setattr__(attrib, cast_value(code, value)) + elif code == 47: + self._matrix.append(float(value)) + else: + return False + # return True if data belongs to block else False (end of block section) + return True + + def export_dxf(self, tagwriter: AbstractTagWriter) -> None: + write_tag2 = tagwriter.write_tag2 + write_vertex = tagwriter.write_vertex + if self.block_record_handle: + write_tag2(341, self.block_record_handle) + else: + # Do not write None, but "0" is also not valid! + # DXF structure error should be detected before export. + write_tag2(341, "0") + write_vertex(14, self.extrusion) + write_vertex(15, self.insert) + write_vertex(16, self.scale) + write_tag2(46, self.rotation) + write_tag2(93, self.color) + m = self._matrix + if len(m) != 16: + # The content of this matrix is not used for block transformation, + # not by AutoCAD nor by BricsCAD, but BricsCAD gets irritated + # if this matrix is missing. AutoCAD is fine without the presence + # of this matrix. + m = list(Matrix44()) # identity matrix + for value in m: + write_tag2(47, value) + + def transform(self, wcs: WCSTransform) -> None: + # INSERT is an OCS entity, but the insert point is WCS!!! + m = wcs.m + ocs = OCSTransform(self.extrusion, m) # source extrusion! + self.extrusion = ocs.new_extrusion + self.insert = m.transform(self.insert) # WCS coordinates!!! + self.scale = ocs.transform_scale_vector(self.scale) + self.rotation = ocs.transform_angle(self.rotation) + self.matrix44 = self.matrix44 * m + + def apply_conversion_factor(self, conversion_factor: float): + # conversion_factor: convert from an old scaling to a new scaling + self.scale *= conversion_factor + + +class LeaderData: + def __init__(self) -> None: + self.lines: list[LeaderLine] = [] + # has_last_leader_line: + # in AutoCAD the leader is invisible if set to 0 + # BricsCAD ignores this flag + self.has_last_leader_line: int = 0 # group code 290, + self.has_dogleg_vector: int = 0 # group code 291 + self.last_leader_point: Vec3 = NULLVEC # group code (10, 20, 30) in WCS + self.dogleg_vector: Vec3 = X_AXIS # group code (11, 21, 31) in WCS + self.dogleg_length: float = 1.0 # group code 40 + self.index: int = 0 # group code 90 + + # 0=horizontal; 1=vertical + self.attachment_direction: int = 0 # group code 271, R2010+ + self.breaks: list[Vec3] = [] # group code 12, 13 - multiple breaks possible! + + @property + def has_horizontal_attachment(self) -> bool: + return not bool(self.attachment_direction) + + @classmethod + def load(cls, context: list[Union[DXFTag, list]]): + assert context[0] == (START_LEADER, LEADER_STR) + leader = cls() + for tag in context: + if isinstance(tag, list): # LeaderLine() + leader.lines.append(LeaderLine.load(tag)) + continue + + code, value = tag + if code == 290: + leader.has_last_leader_line = value + elif code == 291: + leader.has_dogleg_vector = value + elif code == 10: + leader.last_leader_point = Vec3(value) + elif code == 11: + leader.dogleg_vector = Vec3(value) + elif code == 40: + leader.dogleg_length = value + elif code == 90: + leader.index = value + elif code == 271: + leader.attachment_direction = value + elif code in (12, 13): + leader.breaks.append(Vec3(value)) + + return leader + + def export_dxf(self, tagwriter: AbstractTagWriter) -> None: + write_tag2 = tagwriter.write_tag2 + write_vertex = tagwriter.write_vertex + + write_tag2(START_LEADER, LEADER_STR) + write_tag2(290, self.has_last_leader_line) + write_tag2(291, self.has_dogleg_vector) + write_vertex(10, self.last_leader_point) + write_vertex(11, self.dogleg_vector) + + code = 0 + for vertex in self.breaks: + # write alternate group code 12 and 13 + write_vertex(12 + code, vertex) + code = 1 - code + write_tag2(90, self.index) + write_tag2(40, self.dogleg_length) + + # Export leader lines: + for line in self.lines: + line.export_dxf(tagwriter) + + if tagwriter.dxfversion >= const.DXF2010: + write_tag2(271, self.attachment_direction) + write_tag2(END_LEADER, "}") + + def transform(self, wcs: WCSTransform) -> None: + m = wcs.m + self.last_leader_point = m.transform(self.last_leader_point) + try: + dog_leg = m.transform_direction( + self.dogleg_vector.normalize(self.dogleg_length) + ) + except ZeroDivisionError: # dogleg_vector is NULL + dog_leg = m.transform_direction(Vec3(self.dogleg_length, 0, 0)) + self.dogleg_vector = dog_leg.normalize() + self.dogleg_length = dog_leg.magnitude + self.breaks = list(m.transform_vertices(self.breaks)) + for leader_line in self.lines: + leader_line.transform(wcs) + + +class LeaderLine: + def __init__(self) -> None: + self.vertices: list[Vec3] = [] # WCS coordinates + self.breaks: list[Union[int, Vec3]] = [] + # Breaks: 90, 11, 12, [11, 12, ...] [, 90, 11, 12 [11, 12, ...]] + # group code 90 = break index + # group code 11 = start vertex of break + # group code 12 = end vertex of break + # multiple breaks per index possible + self.index: int = 0 # group code 91 + self.color: int = colors.BY_BLOCK_RAW_VALUE # group code 92 + # R2010+: override properties see ODA DWG pg. 214-215 + + @classmethod + def load(cls, tags: list[DXFTag]): + assert tags[0] == (START_LEADER_LINE, LEADER_LINE_STR) + line = LeaderLine() + vertices = line.vertices + breaks = [] + for code, value in tags: + if code == 10: + vertices.append(Vec3(value)) + elif code in (90, 11, 12): + breaks.append(cast_value(code, value)) + elif code == 91: + line.index = value + elif code == 92: + line.color = value + if breaks: + line.breaks = breaks + return line + + def export_dxf(self, tagwriter: AbstractTagWriter) -> None: + write_tag2 = tagwriter.write_tag2 + write_vertex = tagwriter.write_vertex + + write_tag2(START_LEADER_LINE, LEADER_LINE_STR) + for vertex in self.vertices: + write_vertex(10, vertex) + if self.breaks: + code = 0 + for value in self.breaks: + if isinstance(value, int): + # break index + write_tag2(90, value) + else: + # 11 .. start vertex of break + # 12 .. end vertex of break + write_vertex(11 + code, value) + code = 1 - code + write_tag2(91, self.index) + write_tag2(92, self.color) + write_tag2(END_LEADER_LINE, "}") + + def transform(self, wcs: WCSTransform) -> None: + m = wcs.m + self.vertices = list(m.transform_vertices(self.vertices)) + if self.breaks: + breaks: list[Union[int, Vec3]] = [] + for value in self.breaks: + if isinstance(value, Vec3): + breaks.append(m.transform(value)) + else: # break index + breaks.append(value) + self.breaks = breaks + + +acdb_mleader_style = DefSubclass( + "AcDbMLeaderStyle", + { + "unknown1": DXFAttr(179, default=2), + "content_type": DXFAttr(170, default=2), + "draw_mleader_order_type": DXFAttr(171, default=1), + "draw_leader_order_type": DXFAttr(172, default=0), + "max_leader_segments_points": DXFAttr(90, default=2), + "first_segment_angle_constraint": DXFAttr(40, default=0.0), + "second_segment_angle_constraint": DXFAttr(41, default=0.0), + # leader_type: + # 0 = invisible + # 1 = straight line leader + # 2 = spline leader + "leader_type": DXFAttr(173, default=1), + "leader_line_color": DXFAttr(91, default=colors.BY_BLOCK_RAW_VALUE), + "leader_linetype_handle": DXFAttr(340), + "leader_lineweight": DXFAttr(92, default=-2), + "has_landing": DXFAttr(290, default=1), + "landing_gap_size": DXFAttr(42, default=2.0), + "has_dogleg": DXFAttr(291, default=1), + "dogleg_length": DXFAttr(43, default=8), + "name": DXFAttr(3, default="Standard"), # description text + # no handle is default arrow 'closed filled': + "arrow_head_handle": DXFAttr(341), + "arrow_head_size": DXFAttr(44, default=4), + "default_text_content": DXFAttr(300, default=""), + "text_style_handle": DXFAttr(342), + "text_left_attachment_type": DXFAttr(174, default=1), + "text_angle_type": DXFAttr(175, default=1), + "text_alignment_type": DXFAttr(176, default=0), + "text_right_attachment_type": DXFAttr(178, default=1), + "text_color": DXFAttr(93, default=colors.BY_BLOCK_RAW_VALUE), + "char_height": DXFAttr(45, default=4), + "has_text_frame": DXFAttr(292, default=0), + "text_align_always_left": DXFAttr(297, default=0), + "align_space": DXFAttr(46, default=4), + "has_block_scaling": DXFAttr(293), + "block_record_handle": DXFAttr(343), + "block_color": DXFAttr(94, default=colors.BY_BLOCK_RAW_VALUE), + "block_scale_x": DXFAttr(47, default=1), + "block_scale_y": DXFAttr(49, default=1), + "block_scale_z": DXFAttr(140, default=1), + "has_block_rotation": DXFAttr(294, default=1), + "block_rotation": DXFAttr(141, default=0), + "block_connection_type": DXFAttr(177, default=0), + "scale": DXFAttr(142, default=1), + "overwrite_property_value": DXFAttr(295, default=0), + "is_annotative": DXFAttr(296, default=0), + "break_gap_size": DXFAttr(143, default=3.75), + # 0 = Horizontal; 1 = Vertical: + "text_attachment_direction": DXFAttr(271, default=0), + # 9 = Center; 10 = Underline and Center: + "text_bottom_attachment_type": DXFAttr(272, default=9), + # 9 = Center; 10 = Overline and Center: + "text_top_attachment_type": DXFAttr(273, default=9), + "unknown2": DXFAttr(298, optional=True), # boolean flag ? + }, +) +acdb_mleader_style_group_codes = group_code_mapping(acdb_mleader_style) + +MLEADER_STYLE_HANDLE_ATTRIBS = ( + "leader_linetype_handle", + "arrow_head_handle", + "text_style_handle", + "block_record_handle", +) + + +@register_entity +class MLeaderStyle(DXFObject): + DXFTYPE = "MLEADERSTYLE" + DXFATTRIBS = DXFAttributes(base_class, acdb_mleader_style) + MIN_DXF_VERSION_FOR_EXPORT = const.DXF2000 + + def load_dxf_attribs( + self, processor: Optional[SubclassProcessor] = None + ) -> DXFNamespace: + dxf = super().load_dxf_attribs(processor) + if processor: + processor.fast_load_dxfattribs( + dxf, acdb_mleader_style_group_codes, subclass=1 + ) + return dxf + + def register_resources(self, registry: xref.Registry) -> None: + super().register_resources(registry) + dxf = self.dxf + for attrib_name in MLEADER_STYLE_HANDLE_ATTRIBS: + registry.add_handle(dxf.get(attrib_name, "0")) + + def map_resources(self, clone: Self, mapping: xref.ResourceMapper) -> None: + super().map_resources(clone, mapping) + dxf = self.dxf + for attrib_name in MLEADER_STYLE_HANDLE_ATTRIBS: + if dxf.hasattr(attrib_name): + clone.dxf.set(attrib_name, mapping.get_handle(dxf.get(attrib_name))) + else: + clone.dxf.discard(attrib_name) + + def set_mtext_style(self, name: str) -> None: + assert self.doc is not None, "valid DXF document required" + style = self.doc.styles.get(name) + if style is not None: + self.dxf.text_style_handle = style.dxf.handle + else: + raise ValueError(f"text style '{name}' does not exist") + + def set_leader_properties( + self, + color: Union[int, colors.RGB] = colors.BYBLOCK, + linetype: str = "BYBLOCK", + lineweight: int = const.LINEWEIGHT_BYBLOCK, + leader_type: int = 1, + ): + assert self.doc is not None, "valid DXF document required" + self.dxf.leader_line_color = colors.encode_raw_color(color) + linetype_ = self.doc.linetypes.get(linetype) + if linetype_ is None: + raise ValueError(f"invalid linetype name '{linetype}'") + self.dxf.leader_linetype_handle = linetype_.dxf.handle + self.dxf.leader_lineweight = int(lineweight) + self.dxf.leader_type = int(leader_type) + + def set_arrow_head(self, name: str = ""): + from ezdxf.render.arrows import ARROWS + + assert self.doc is not None, "valid DXF document required" + if name: + self.dxf.arrow_head_handle = ARROWS.arrow_handle(self.doc.blocks, name) + else: + # empty string is the default "closed filled" arrow, + # no handle needed + del self.dxf.arrow_head_handle + + def export_entity(self, tagwriter: AbstractTagWriter) -> None: + super().export_entity(tagwriter) + tagwriter.write_tag2(const.SUBCLASS_MARKER, acdb_mleader_style.name) + self.dxf.export_dxf_attribs(tagwriter, acdb_mleader_style.attribs.keys()) + + def __referenced_blocks__(self) -> Iterable[str]: + """Support for "ReferencedBlocks" protocol.""" + for name in ("block_record_handle", "arrow_head_handle"): + handle = self.dxf.get(name, None) + if handle is not None: + yield handle + + def audit(self, auditor: Auditor) -> None: + from ezdxf.audit import AuditError + + if not self.is_alive: + return + super().audit(auditor) + entitydb = auditor.entitydb + dxf = self.dxf + name = str(self) + handle = dxf.get("text_style_handle", None) + if handle is not None and handle not in entitydb: + standard = auditor.doc.styles.get("Standard") + if standard is not None: + self.dxf.text_style_handle = standard.dxf.handle + auditor.fixed_error( + AuditError.UNDEFINED_TEXT_STYLE, + f"{name}: text_style_handle={handle} is not valid, replaced by " + f"'Standard' text style", + self, + ) + else: + logger.warning("required text style 'Standard' does not exist") + self.dxf.discard("text_style_handle") + auditor.fixed_error( + AuditError.UNDEFINED_TEXT_STYLE, + f"{name}: removed invalid text_style_handle={handle}", + self, + ) + for attrib in ("arrow_head_handle", "block_record_handle"): + handle = dxf.get(attrib) + if handle is None or handle == "0": # legit "undefined values" + continue + if handle not in entitydb: + dxf.discard(attrib) + auditor.fixed_error( + AuditError.UNDEFINED_BLOCK, + f"{name}: removed invalid {attrib}={handle}", + self, + ) + + +class MLeaderStyleCollection(ObjectCollection[MLeaderStyle]): + def __init__(self, doc: Drawing): + super().__init__(doc, dict_name="ACAD_MLEADERSTYLE", object_type="MLEADERSTYLE") + self.create_required_entries() + + def create_required_entries(self) -> None: + if "Standard" not in self: + mleader_style = self.new("Standard") + # set standard text style + text_style = self.doc.styles.get("Standard") + mleader_style.dxf.text_style_handle = text_style.dxf.handle diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/entities/mline.py b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/entities/mline.py new file mode 100644 index 0000000000000000000000000000000000000000..80350f162e8344489b681fc2dd04c042a1614a30 --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/entities/mline.py @@ -0,0 +1,967 @@ +# Copyright (c) 2018-2024, Manfred Moitzi +# License: MIT License +from __future__ import annotations +from typing import ( + TYPE_CHECKING, + Iterable, + Optional, + Sequence, + Iterator, +) +from typing_extensions import Self + +from collections import OrderedDict, namedtuple +import math + +from ezdxf.audit import AuditError +from ezdxf.entities.factory import register_entity +from ezdxf.lldxf import const, validator +from ezdxf.lldxf.attributes import ( + DXFAttr, + DXFAttributes, + DefSubclass, + XType, + RETURN_DEFAULT, + group_code_mapping, +) +from ezdxf.lldxf.tags import Tags, group_tags +from ezdxf.math import NULLVEC, X_AXIS, Y_AXIS, Z_AXIS, UVec, Vec3, UCS, OCS + +from .dxfentity import base_class, SubclassProcessor +from .dxfobj import DXFObject +from .dxfgfx import DXFGraphic, acdb_entity +from .objectcollection import ObjectCollection +from .copy import default_copy +import logging + +if TYPE_CHECKING: + from ezdxf.audit import Auditor + from ezdxf.document import Drawing + from ezdxf.entities import DXFNamespace, DXFEntity + from ezdxf.layouts import BaseLayout + from ezdxf.lldxf.tagwriter import AbstractTagWriter + from ezdxf.math import Matrix44 + from ezdxf.query import EntityQuery + from ezdxf import xref + +__all__ = ["MLine", "MLineVertex", "MLineStyle", "MLineStyleCollection"] +logger = logging.getLogger("ezdxf") + +# Usage example: CADKitSamples\Lock-Off.dxf + + +def filter_close_vertices( + vertices: Iterable[Vec3], abs_tol: float = 1e-12 +) -> Iterable[Vec3]: + prev = None + for vertex in vertices: + if prev is None: + yield vertex + prev = vertex + else: + if not vertex.isclose(prev, abs_tol=abs_tol): + yield vertex + prev = vertex + + +acdb_mline = DefSubclass( + "AcDbMline", + OrderedDict( + { + "style_name": DXFAttr(2, default="Standard"), + "style_handle": DXFAttr(340), + "scale_factor": DXFAttr( + 40, + default=1, + validator=validator.is_not_zero, + fixer=RETURN_DEFAULT, + ), + # Justification + # 0 = Top (Right) + # 1 = Zero (Center) + # 2 = Bottom (Left) + "justification": DXFAttr( + 70, + default=0, + validator=validator.is_in_integer_range(0, 3), + fixer=RETURN_DEFAULT, + ), + # Flags (bit-coded values): + # 1 = Has at least one vertex (code 72 is greater than 0) + # 2 = Closed + # 4 = Suppress start caps + # 8 = Suppress end caps + "flags": DXFAttr(71, default=1), + # Number of MLINE vertices + "count": DXFAttr(72, xtype=XType.callback, getter="__len__"), + # Number of elements in MLINESTYLE definition + "style_element_count": DXFAttr(73, default=2), + # start location in WCS! + "start_location": DXFAttr( + 10, xtype=XType.callback, getter="start_location" + ), + # Normal vector of the entity plane, but all vertices in WCS! + "extrusion": DXFAttr( + 210, + xtype=XType.point3d, + default=Z_AXIS, + validator=validator.is_not_null_vector, + fixer=RETURN_DEFAULT, + ), + # MLine data: + # 11: vertex coordinates + # Multiple entries; one entry for each vertex. + # 12: Direction vector of segment starting at this vertex + # Multiple entries; one for each vertex. + # 13: Direction vector of miter at this vertex + # Multiple entries: one for each vertex. + # 74: Number of parameters for this element, + # repeats for each element in segment + # 41: Element parameters, + # repeats based on previous code 74 + # 75: Number of area fill parameters for this element, + # repeats for each element in segment + # 42: Area fill parameters, + # repeats based on previous code 75 + } + ), +) +acdb_mline_group_codes = group_code_mapping(acdb_mline) + + +# For information about line- and fill parametrization see comments in class +# MLineVertex(). +# +# The 2 group codes in mline entities and mlinestyle objects are redundant +# fields. These groups should not be modified under any circumstances, although +# it is safe to read them and use their values. The correct fields to modify +# are as follows: +# +# Mline +# The 340 group in the same object, which indicates the proper MLINESTYLE +# object. +# +# Mlinestyle +# The 3 group value in the MLINESTYLE dictionary, which precedes the 350 group +# that has the handle or entity name of +# the current mlinestyle. + +# Facts and assumptions not clearly defined by the DXF reference: +# - the reference line is defined by the group code 11 points (fact) +# - all line segments are parallel to the reference line (assumption) +# - all line vertices are located in the same plane, the orientation of the plane +# is defined by the extrusion vector (assumption) +# - the scale factor is applied to to all geometries +# - the start- and end angle (MLineStyle) is also applied to the first and last +# miter direction vector +# - the last two points mean: all geometries and direction vectors can be used +# as stored in the DXF file no additional scaling or rotation is necessary +# for the MLINE rendering. Disadvantage: minor changes of DXF attributes +# require a refresh of the MLineVertices. + +# Ezdxf does not support the creation of line-break (gap) features, but will be +# preserving this data if the MLINE stays unchanged. +# Editing the MLINE entity by ezdxf removes the line-break features (gaps). + + +class MLineVertex: + def __init__(self) -> None: + self.location: Vec3 = NULLVEC + self.line_direction: Vec3 = X_AXIS + self.miter_direction: Vec3 = Y_AXIS + + # Line parametrization (74/41) + # ---------------------------- + # The line parameterization is a list of float values. + # The list may contain zero or more items. + # + # The first value (miter-offset) is the distance from the vertex + # location along the miter direction vector to the point where the + # line element's path intersects the miter vector. + # + # The next value (line-start-offset) is the distance along the line + # direction from the miter/line path intersection point to the actual + # start of the line element. + # + # The next value (dash-length) is the distance from the start of the + # line element (dash) to the first break (or gap) in the line element. + # The successive values continue to list the start and stop points of + # the line element in this segment of the mline. + # Linetypes do not affect the line parametrization. + # + # + # 1. line element: [miter-offset, line-start-offset, dash, gap, dash, ...] + # 2. line element: [...] + # ... + self.line_params: list[Sequence[float]] = [] + """ The line parameterization is a list of float values. + The list may contain zero or more items. + """ + + # Fill parametrization (75/42) + # ---------------------------- + # + # The fill parameterization is also a list of float values. + # Similar to the line parametrization, it describes the + # parametrization of the fill area for this mline segment. + # The values are interpreted identically to the line parameters and when + # taken as a whole for all line elements in the mline segment, they + # define the boundary of the fill area for the mline segment. + # + # A common example of the use of the fill mechanism is when an + # unfilled mline crosses over a filled mline and "mledit" is used to + # cause the filled mline to appear unfilled in the crossing area. + # This would result in two fill parameters for each line element in the + # affected mline segment; one for the fill stop and one for the fill + # start. + # + # [dash-length, gap-length, ...]? + self.fill_params: list[Sequence[float]] = [] + + def __copy__(self) -> MLineVertex: + vtx = self.__class__() + vtx.location = self.location + vtx.line_direction = self.line_direction + vtx.miter_direction = self.miter_direction + vtx.line_params = list(self.line_params) + vtx.fill_params = list(self.fill_params) + return vtx + + copy = __copy__ + + @classmethod + def load(cls, tags: Tags) -> MLineVertex: + vtx = MLineVertex() + line_params: list[float] = [] + line_params_count = 0 + fill_params: list[float] = [] + fill_params_count = 0 + for code, value in tags: + if code == 11: + vtx.location = Vec3(value) + elif code == 12: + vtx.line_direction = Vec3(value) + elif code == 13: + vtx.miter_direction = Vec3(value) + elif code == 74: + line_params_count = value + if line_params_count == 0: + vtx.line_params.append(tuple()) + else: + line_params = [] + elif code == 41: + line_params.append(value) + line_params_count -= 1 + if line_params_count == 0: + vtx.line_params.append(tuple(line_params)) + line_params = [] + elif code == 75: + fill_params_count = value + if fill_params_count == 0: + vtx.fill_params.append(tuple()) + else: + fill_params = [] + elif code == 42: + fill_params.append(value) + fill_params_count -= 1 + if fill_params_count == 0: + vtx.fill_params.append(tuple(fill_params)) + return vtx + + def export_dxf(self, tagwriter: AbstractTagWriter): + tagwriter.write_vertex(11, self.location) + tagwriter.write_vertex(12, self.line_direction) + tagwriter.write_vertex(13, self.miter_direction) + for line_params, fill_params in zip(self.line_params, self.fill_params): + tagwriter.write_tag2(74, len(line_params)) + for param in line_params: + tagwriter.write_tag2(41, param) + tagwriter.write_tag2(75, len(fill_params)) + for param in fill_params: + tagwriter.write_tag2(42, param) + + @classmethod + def new( + cls, + start: UVec, + line_direction: UVec, + miter_direction: UVec, + line_params: Optional[Iterable[Sequence[float]]] = None, + fill_params: Optional[Iterable[Sequence[float]]] = None, + ) -> MLineVertex: + vtx = MLineVertex() + vtx.location = Vec3(start) + vtx.line_direction = Vec3(line_direction) + vtx.miter_direction = Vec3(miter_direction) + vtx.line_params = list(line_params or []) + vtx.fill_params = list(fill_params or []) + if len(vtx.line_params) != len(vtx.fill_params): + raise const.DXFValueError("Count mismatch of line- and fill parameters") + return vtx + + def transform(self, m: Matrix44) -> MLineVertex: + """Transform MLineVertex by transformation matrix `m` inplace.""" + self.location = m.transform(self.location) + self.line_direction = m.transform_direction(self.line_direction) + self.miter_direction = m.transform_direction(self.miter_direction) + return self + + +@register_entity +class MLine(DXFGraphic): + DXFTYPE = "MLINE" + DXFATTRIBS = DXFAttributes(base_class, acdb_entity, acdb_mline) + MIN_DXF_VERSION_FOR_EXPORT = const.DXF2000 + TOP = const.MLINE_TOP + ZERO = const.MLINE_ZERO + BOTTOM = const.MLINE_BOTTOM + HAS_VERTICES = const.MLINE_HAS_VERTICES + CLOSED = const.MLINE_CLOSED + SUPPRESS_START_CAPS = const.MLINE_SUPPRESS_START_CAPS + SUPPRESS_END_CAPS = const.MLINE_SUPPRESS_END_CAPS + + def __init__(self) -> None: + super().__init__() + # The MLINE geometry stored in vertices, is the final geometry, + # scaling factor, justification and MLineStyle settings are already + # applied. This is why the geometry has to be updated every time a + # change is applied. + self.vertices: list[MLineVertex] = [] + + def __len__(self): + """Count of MLINE vertices.""" + return len(self.vertices) + + def copy_data(self, entity: Self, copy_strategy=default_copy) -> None: + assert isinstance(entity, MLine) + entity.vertices = [v.copy() for v in self.vertices] + + def load_dxf_attribs( + self, processor: Optional[SubclassProcessor] = None + ) -> DXFNamespace: + dxf = super().load_dxf_attribs(processor) + if processor: + tags = processor.fast_load_dxfattribs( + dxf, acdb_mline_group_codes, 2, log=False + ) + self.load_vertices(tags) + return dxf + + def load_vertices(self, tags: Tags) -> None: + self.vertices.extend( + MLineVertex.load(tags) for tags in group_tags(tags, splitcode=11) + ) + + def preprocess_export(self, tagwriter: AbstractTagWriter) -> bool: + # Do not export MLines without vertices + return len(self.vertices) > 1 + # todo: check if line- and fill parametrization is compatible with + # MLINE style, requires same count of elements! + + def export_entity(self, tagwriter: AbstractTagWriter) -> None: + # ezdxf does not export MLINE entities without vertices, + # see method preprocess_export() + self.set_flag_state(self.HAS_VERTICES, True) + super().export_entity(tagwriter) + tagwriter.write_tag2(const.SUBCLASS_MARKER, acdb_mline.name) + self.dxf.export_dxf_attribs(tagwriter, acdb_mline.attribs.keys()) + self.export_vertices(tagwriter) + + def export_vertices(self, tagwriter: AbstractTagWriter) -> None: + for vertex in self.vertices: + vertex.export_dxf(tagwriter) + + def register_resources(self, registry: xref.Registry) -> None: + """Register required resources to the resource registry.""" + super().register_resources(registry) + registry.add_handle(self.dxf.style_handle) + + def map_resources(self, clone: Self, mapping: xref.ResourceMapper) -> None: + """Translate resources from self to the copied entity.""" + super().map_resources(clone, mapping) + style = mapping.get_reference_of_copy(self.dxf.style_handle) + if not isinstance(style, MLineStyle): + assert clone.doc is not None + style = clone.doc.mline_styles.get("Standard") + if isinstance(style, MLineStyle): + clone.dxf.style_handle = style.dxf.handle + clone.dxf.style_name = style.dxf.name + else: + clone.dxf.style_handle = "0" + clone.dxf.style_name = "Standard" + + @property + def is_closed(self) -> bool: + """Returns ``True`` if MLINE is closed. + Compatibility interface to :class:`Polyline` + """ + return self.get_flag_state(self.CLOSED) + + def close(self, state: bool = True) -> None: + """Get/set closed state of MLINE and update geometry accordingly. + Compatibility interface to :class:`Polyline` + """ + state = bool(state) + if state != self.is_closed: + self.set_flag_state(self.CLOSED, state) + self.update_geometry() + + @property + def start_caps(self) -> bool: + """Get/Set start caps state. ``True`` to enable start caps and + ``False`` tu suppress start caps.""" + return not self.get_flag_state(self.SUPPRESS_START_CAPS) + + @start_caps.setter + def start_caps(self, value: bool) -> None: + """Set start caps state.""" + self.set_flag_state(self.SUPPRESS_START_CAPS, not bool(value)) + + @property + def end_caps(self) -> bool: + """Get/Set end caps state. ``True`` to enable end caps and + ``False`` tu suppress start caps.""" + return not self.get_flag_state(self.SUPPRESS_END_CAPS) + + @end_caps.setter + def end_caps(self, value: bool) -> None: + """Set start caps state.""" + self.set_flag_state(self.SUPPRESS_END_CAPS, not bool(value)) + + def set_scale_factor(self, value: float) -> None: + """Set the scale factor and update geometry accordingly.""" + value = float(value) + if not math.isclose(self.dxf.scale_factor, value): + self.dxf.scale_factor = value + self.update_geometry() + + def set_justification(self, value: int) -> None: + """Set MLINE justification and update geometry accordingly. + See :attr:`dxf.justification` for valid settings. + """ + value = int(value) + if self.dxf.justification != value: + self.dxf.justification = value + self.update_geometry() + + @property + def style(self) -> Optional[MLineStyle]: + """Get associated MLINESTYLE.""" + if self.doc is None: + return None + _style = self.doc.entitydb.get(self.dxf.style_handle) + if _style is None: + _style = self.doc.mline_styles.get(self.dxf.style_name) + return _style # type: ignore + + def set_style(self, name: str) -> None: + """Set MLINESTYLE by name and update geometry accordingly. + The MLINESTYLE definition must exist. + """ + if self.doc is None: + logger.debug("Can't change style of unbounded MLINE entity.") + return + try: + style = self.doc.mline_styles[name] + except const.DXFKeyError: + raise const.DXFValueError(f"Undefined MLINE style: {name}") + assert isinstance(style, MLineStyle) + # Line- and fill parametrization depends on the count of + # elements, a change in the number of elements triggers a + # reset of the parametrization: + old_style = self.style + new_element_count = len(style.elements) + reset = False + if old_style is not None: + # Do not trust the stored "style_element_count" value + reset = len(old_style.elements) != new_element_count + + self.dxf.style_name = name + self.dxf.style_handle = style.dxf.handle + self.dxf.style_element_count = new_element_count + if reset: + self.update_geometry() + + def start_location(self) -> Vec3: + """Returns the start location of the reference line. Callback function + for :attr:`dxf.start_location`. + """ + if len(self.vertices): + return self.vertices[0].location + else: + return NULLVEC + + def get_locations(self) -> list[Vec3]: + """Returns the vertices of the reference line.""" + return [v.location for v in self.vertices] + + def extend(self, vertices: Iterable[UVec]) -> None: + """Append multiple vertices to the reference line. + + It is possible to work with 3D vertices, but all vertices have to be in + the same plane and the normal vector of this plan is stored as + extrusion vector in the MLINE entity. + + """ + vertices = Vec3.list(vertices) + if not vertices: + return + all_vertices = [] + if len(self): + all_vertices.extend(self.get_locations()) + all_vertices.extend(vertices) + self.generate_geometry(all_vertices) + + def update_geometry(self) -> None: + """Regenerate the MLINE geometry based on current settings.""" + self.generate_geometry(self.get_locations()) + + def generate_geometry(self, vertices: list[Vec3]) -> None: + """Regenerate the MLINE geometry for new reference line defined by + `vertices`. + """ + vertices = list(filter_close_vertices(vertices, abs_tol=1e-6)) + if len(vertices) == 0: + self.clear() + return + elif len(vertices) == 1: + self.vertices = [MLineVertex.new(vertices[0], X_AXIS, Y_AXIS)] + return + + style = self.style + assert style is not None, "valid MLINE style required" + if len(style.elements) == 0: + raise const.DXFStructureError(f"No line elements defined in {str(style)}.") + + def miter(dir1: Vec3, dir2: Vec3): + return ((dir1 + dir2) * 0.5).normalize().orthogonal() + + ucs = UCS.from_z_axis_and_point_in_xz( + origin=vertices[0], + point=vertices[1], + axis=self.dxf.extrusion, + ) + # Transform given vertices into UCS and project them into the + # UCS-xy-plane by setting the z-axis to 0: + vertices = [v.replace(z=0.0) for v in ucs.points_from_wcs(vertices)] + start_angle = style.dxf.start_angle + end_angle = style.dxf.end_angle + + line_directions = [ + (v2 - v1).normalize() for v1, v2 in zip(vertices, vertices[1:]) + ] + + if self.is_closed: + line_directions.append((vertices[0] - vertices[-1]).normalize()) + closing_miter = miter(line_directions[0], line_directions[-1]) + miter_directions = [closing_miter] + else: + closing_miter = None + line_directions.append(line_directions[-1]) + miter_directions = [line_directions[0].rotate_deg(start_angle)] + + for d1, d2 in zip(line_directions, line_directions[1:]): + miter_directions.append(miter(d1, d2)) + + if closing_miter is None: + miter_directions.pop() + miter_directions.append(line_directions[-1].rotate_deg(end_angle)) + else: + miter_directions.append(closing_miter) + + self.vertices = [ + MLineVertex.new(v, d, m) + for v, d, m in zip(vertices, line_directions, miter_directions) + ] + self._update_parametrization() + + # reverse transformation into WCS + for v in self.vertices: + v.transform(ucs.matrix) + + def _update_parametrization(self): + scale = self.dxf.scale_factor + style = self.style + + justification = self.dxf.justification + offsets = [e.offset for e in style.elements] + min_offset = min(offsets) + max_offset = max(offsets) + shift = 0 + if justification == self.TOP: + shift = -max_offset + elif justification == self.BOTTOM: + shift = -min_offset + + for vertex in self.vertices: + angle = vertex.line_direction.angle_between(vertex.miter_direction) + try: + stretch = scale / math.sin(angle) + except ZeroDivisionError: + stretch = 1.0 + vertex.line_params = [ + ((element.offset + shift) * stretch, 0.0) for element in style.elements + ] + vertex.fill_params = [tuple() for _ in style.elements] + + def clear(self) -> None: + """Remove all MLINE vertices.""" + self.vertices.clear() + + def remove_dependencies(self, other: Optional[Drawing] = None) -> None: + """Remove all dependencies from current document. + + (internal API) + """ + if not self.is_alive: + return + + super().remove_dependencies(other) + self.dxf.style_handle = "0" + if other: + style = other.mline_styles.get(self.dxf.style_name) + if style: + self.dxf.style_handle = style.dxf.handle + return + self.dxf.style_name = "Standard" + + def transform(self, m: Matrix44) -> Self: + """Transform MLINE entity by transformation matrix `m` inplace.""" + for vertex in self.vertices: + vertex.transform(m) + self.dxf.extrusion = m.transform_direction(self.dxf.extrusion) + scale = self.dxf.scale_factor + scale_vec = m.transform_direction(Vec3(scale, scale, scale)) + if math.isclose(scale_vec.x, scale_vec.y, abs_tol=1e-6) and math.isclose( + scale_vec.y, scale_vec.z, abs_tol=1e-6 + ): + self.dxf.scale_factor = sum(scale_vec) / 3 # average error + # None uniform scaling will not be applied to the scale_factor! + self.update_geometry() + self.post_transform(m) + return self + + def __virtual_entities__(self) -> Iterator[DXFGraphic]: + """Implements the SupportsVirtualEntities protocol. + + This protocol is for consistent internal usage and does not replace + the method :meth:`virtual_entities`! + """ + from ezdxf.render.mline import virtual_entities + + for e in virtual_entities(self): + e.set_source_of_copy(self) + yield e + + def virtual_entities(self) -> Iterator[DXFGraphic]: + """Yields virtual DXF primitives of the MLINE entity as LINE, ARC and HATCH + entities. + + These entities are located at the original positions, but are not stored + in the entity database, have no handle and are not assigned to any + layout. + + """ + return self.__virtual_entities__() + + def explode(self, target_layout: Optional[BaseLayout] = None) -> EntityQuery: + """Explode the MLINE entity as LINE, ARC and HATCH entities into target + layout, if target layout is ``None``, the target layout is the layout + of the MLINE. This method destroys the source entity. + + Returns an :class:`~ezdxf.query.EntityQuery` container referencing all DXF + primitives. + + Args: + target_layout: target layout for DXF primitives, ``None`` for same layout + as source entity. + """ + from ezdxf.explode import explode_entity + + return explode_entity(self, target_layout) + + def audit(self, auditor: Auditor) -> None: + """Validity check.""" + + def reset_mline_style(name="Standard"): + auditor.fixed_error( + code=AuditError.RESET_MLINE_STYLE, + message=f'Reset MLINESTYLE to "{name}" in {str(self)}.', + dxf_entity=self, + ) + self.dxf.style_name = name + style = doc.mline_styles.get(name) + self.dxf.style_handle = style.dxf.handle + + super().audit(auditor) + doc = auditor.doc + if doc is None: + return + + # Audit associated MLINESTYLE name and handle: + style = doc.entitydb.get(self.dxf.style_handle) + if not isinstance(style, MLineStyle): # handle is invalid, get style by name + style = doc.mline_styles.get(self.dxf.style_name, None) + if style is None: + reset_mline_style() + else: # fix MLINESTYLE handle: + auditor.fixed_error( + code=AuditError.INVALID_MLINESTYLE_HANDLE, + message=f"Fixed invalid style handle in {str(self)}.", + dxf_entity=self, + ) + self.dxf.style_handle = style.dxf.handle + else: # update MLINESTYLE name silently + self.dxf.style_name = style.dxf.name + + # Get current (maybe fixed) MLINESTYLE: + style = self.style + assert style is not None, "valid MLINE style required" + + # Update style element count silently: + element_count = len(style.elements) + self.dxf.style_element_count = element_count + + # Audit vertices: + for vertex in self.vertices: + if NULLVEC.isclose(vertex.line_direction): + break + if NULLVEC.isclose(vertex.miter_direction): + break + if len(vertex.line_params) != element_count: + break + # Ignore fill parameters. + else: # no break + return + + # Invalid vertices found: + auditor.fixed_error( + code=AuditError.INVALID_MLINE_VERTEX, + message=f"Execute geometry update for {str(self)}.", + dxf_entity=self, + ) + self.update_geometry() + + def ocs(self) -> OCS: + # WCS entity which supports the "extrusion" attribute in a + # different way! + return OCS() + + +acdb_mline_style = DefSubclass( + "AcDbMlineStyle", + { + "name": DXFAttr(2, default="Standard"), + # Flags (bit-coded): + # 1 =Fill on + # 2 = Display miters + # 16 = Start square end (line) cap + # 32 = Start inner arcs cap + # 64 = Start round (outer arcs) cap + # 256 = End square (line) cap + # 512 = End inner arcs cap + # 1024 = End round (outer arcs) cap + "flags": DXFAttr(70, default=0), + # Style description (string, 255 characters maximum): + "description": DXFAttr(3, default=""), + # Fill color (integer, default = 256): + "fill_color": DXFAttr( + 62, + default=256, + validator=validator.is_valid_aci_color, + fixer=RETURN_DEFAULT, + ), + # Start angle (real, default is 90 degrees): + "start_angle": DXFAttr(51, default=90), + # End angle (real, default is 90 degrees): + "end_angle": DXFAttr(52, default=90), + # 71: Number of elements + # 49: Element offset (real, no default). + # Multiple entries can exist; one entry for each element + # 62: Element color (integer, default = 0). + # Multiple entries can exist; one entry for each element + # 6: Element linetype (string, default = BYLAYER). + # Multiple entries can exist; one entry for each element + }, +) +acdb_mline_style_group_codes = group_code_mapping(acdb_mline_style) +MLineStyleElement = namedtuple("MLineStyleElement", "offset color linetype") + + +class MLineStyleElements: + def __init__(self, tags: Optional[Tags] = None): + self.elements: list[MLineStyleElement] = [] + if tags: + for e in self.parse_tags(tags): + data = MLineStyleElement( + e.get("offset", 1.0), + e.get("color", 0), + e.get("linetype", "BYLAYER"), + ) + self.elements.append(data) + + def copy(self) -> MLineStyleElements: + elements = MLineStyleElements() + # new list of immutable data + elements.elements = list(self.elements) + return elements + + def __len__(self): + return len(self.elements) + + def __getitem__(self, item): + return self.elements[item] + + def __iter__(self): + return iter(self.elements) + + def export_dxf(self, tagwriter: AbstractTagWriter): + write_tag = tagwriter.write_tag2 + write_tag(71, len(self.elements)) + for offset, color, linetype in self.elements: + write_tag(49, offset) + write_tag(62, color) + write_tag(6, linetype) + + def append(self, offset: float, color: int = 0, linetype: str = "BYLAYER") -> None: + """Append a new line element. + + Args: + offset: normal offset from the reference line: if justification is + ``MLINE_ZERO``, positive values are above and negative values + are below the reference line. + color: :ref:`ACI` value + linetype: linetype name + + """ + self.elements.append( + MLineStyleElement(float(offset), int(color), str(linetype)) + ) + + @staticmethod + def parse_tags(tags: Tags) -> Iterator[dict]: + collector = None + for code, value in tags: + if code == 49: + if collector is not None: + yield collector + collector = {"offset": value} + elif code == 62: + collector["color"] = value # type: ignore + elif code == 6: + collector["linetype"] = value # type: ignore + if collector is not None: + yield collector + + def ordered_indices(self) -> list[int]: + offsets = [e.offset for e in self.elements] + return [offsets.index(value) for value in sorted(offsets)] + + +@register_entity +class MLineStyle(DXFObject): + DXFTYPE = "MLINESTYLE" + DXFATTRIBS = DXFAttributes(base_class, acdb_mline_style) + FILL = const.MLINESTYLE_FILL + MITER = const.MLINESTYLE_MITER + START_SQUARE = const.MLINESTYLE_START_SQUARE + START_INNER_ARC = const.MLINESTYLE_START_INNER_ARC + START_ROUND = const.MLINESTYLE_START_ROUND + END_SQUARE = const.MLINESTYLE_END_SQUARE + END_INNER_ARC = const.MLINESTYLE_END_INNER_ARC + END_ROUND = const.MLINESTYLE_END_ROUND + + def __init__(self): + super().__init__() + self.elements = MLineStyleElements() + + def copy_data(self, entity: Self, copy_strategy=default_copy) -> None: + assert isinstance(entity, MLineStyle) + entity.elements = self.elements.copy() + + def load_dxf_attribs( + self, processor: Optional[SubclassProcessor] = None + ) -> DXFNamespace: + dxf = super().load_dxf_attribs(processor) + if processor: + tags = processor.subclass_by_index(1) + if tags is None: + raise const.DXFStructureError( + f"missing 'AcDbMLine' subclass in MLINE(#{dxf.handle})" + ) + + try: + # Find index of the count tag: + index71 = tags.tag_index(71) + except const.DXFValueError: + # The count tag does not exist: DXF structure error? + pass + else: + self.elements = MLineStyleElements(tags[index71 + 1 :]) # type: ignore + # Remove processed tags: + del tags[index71:] + processor.fast_load_dxfattribs(dxf, acdb_mline_style_group_codes, tags) + return dxf + + def export_entity(self, tagwriter: AbstractTagWriter) -> None: + super().export_entity(tagwriter) + tagwriter.write_tag2(const.SUBCLASS_MARKER, acdb_mline_style.name) + self.dxf.export_dxf_attribs(tagwriter, acdb_mline_style.attribs.keys()) + self.elements.export_dxf(tagwriter) + + def update_all(self): + """Update all MLINE entities using this MLINESTYLE. + + The update is required if elements were added or removed or the offset + of any element was changed. + + """ + if self.doc: + handle = self.dxf.handle + mlines = (e for e in self.doc.entitydb.values() if e.dxftype() == "MLINE") + for mline in mlines: + if mline.dxf.style_handle == handle: + mline.update_geometry() + + def ordered_indices(self) -> list[int]: + return self.elements.ordered_indices() + + def audit(self, auditor: Auditor) -> None: + super().audit(auditor) + if len(self.elements) == 0: + auditor.add_error( + code=AuditError.INVALID_MLINESTYLE_ELEMENT_COUNT, + message=f"No line elements defined in {str(self)}.", + dxf_entity=self, + ) + + def register_resources(self, registry: xref.Registry) -> None: + """Register required resources to the resource registry.""" + super().register_resources(registry) + for element in self.elements: + registry.add_linetype(element.linetype) + + def map_resources(self, clone: Self, mapping: xref.ResourceMapper) -> None: + """Translate resources from self to the copied entity.""" + assert isinstance(clone, MLineStyle) + super().map_resources(clone, mapping) + self.elements.elements = [ + MLineStyleElement( + element.offset, + element.color, + mapping.get_linetype(element.linetype), + ) + for element in self.elements + ] + + +class MLineStyleCollection(ObjectCollection[MLineStyle]): + def __init__(self, doc: Drawing): + super().__init__(doc, dict_name="ACAD_MLINESTYLE", object_type="MLINESTYLE") + self.create_required_entries() + + def create_required_entries(self) -> None: + if "Standard" not in self: + entity: MLineStyle = self.new("Standard") + entity.elements.append(0.5, 256) + entity.elements.append(-0.5, 256) diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/entities/mpolygon.py b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/entities/mpolygon.py new file mode 100644 index 0000000000000000000000000000000000000000..aa3155f568c61d82dd1eee00e3372ccce7f2d017 --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/entities/mpolygon.py @@ -0,0 +1,241 @@ +# Copyright (c) 2021-2022, Manfred Moitzi +# License: MIT License +from __future__ import annotations +from typing import TYPE_CHECKING, Optional +import logging +from ezdxf.lldxf import validator, const +from ezdxf.lldxf.attributes import ( + DXFAttributes, + DefSubclass, + DXFAttr, + RETURN_DEFAULT, + XType, + group_code_mapping, +) +from ezdxf.math import NULLVEC, Z_AXIS +from .dxfentity import base_class +from .dxfgfx import acdb_entity +from .factory import register_entity +from .polygon import DXFPolygon +from .gradient import Gradient, GradientType + +if TYPE_CHECKING: + from ezdxf.lldxf.tagwriter import AbstractTagWriter + from ezdxf.colors import RGB + +__all__ = ["MPolygon"] +logger = logging.getLogger("ezdxf") + +acdb_mpolygon = DefSubclass( + "AcDbMPolygon", + { + # MPolygon: version + "version": DXFAttr( + 70, + default=1, + validator=validator.is_integer_bool, + fixer=RETURN_DEFAULT, + ), + # x- and y-axis always equal 0, z-axis represents the elevation: + "elevation": DXFAttr(10, xtype=XType.point3d, default=NULLVEC), + "extrusion": DXFAttr( + 210, + xtype=XType.point3d, + default=Z_AXIS, + validator=validator.is_not_null_vector, + fixer=RETURN_DEFAULT, + ), + # Hatch pattern name: + "pattern_name": DXFAttr(2, default=""), + # Solid fill color as ACI + "fill_color": DXFAttr( + 63, + default=const.BYLAYER, + optional=True, + validator=validator.is_valid_aci_color, + fixer=RETURN_DEFAULT, + ), + # MPolygon: Solid-fill flag: + # 0 = lacks solid fill + # 1 = has solid fill + "solid_fill": DXFAttr( + 71, + default=0, + validator=validator.is_integer_bool, + fixer=RETURN_DEFAULT, + ), + # Hatch style tag is not supported for MPOLYGON!? + # I don't know in which order this tag has to be exported. + # TrueView does not accept this tag in any place! + # BricsCAD supports this tag! + "hatch_style": DXFAttr( + 75, + default=const.HATCH_STYLE_NESTED, + validator=validator.is_in_integer_range(0, 3), + fixer=RETURN_DEFAULT, + optional=True, + ), + # Hatch pattern type ... see HATCH + "pattern_type": DXFAttr( + 76, + default=const.HATCH_TYPE_PREDEFINED, + validator=validator.is_in_integer_range(0, 3), + fixer=RETURN_DEFAULT, + ), + # Hatch pattern angle (pattern fill only) in degrees: + "pattern_angle": DXFAttr(52, default=0), + # Hatch pattern scale or spacing (pattern fill only): + "pattern_scale": DXFAttr( + 41, + default=1, + validator=validator.is_not_zero, + fixer=RETURN_DEFAULT, + ), + # MPolygon: Boundary annotation flag: + # 0 = boundary is not an annotated boundary + # 1 = boundary is an annotated boundary + "annotated_boundary": DXFAttr( + 73, + default=0, + optional=True, + validator=validator.is_integer_bool, + fixer=RETURN_DEFAULT, + ), + # Hatch pattern double flag (pattern fill only) .. see HATCH + "pattern_double": DXFAttr( + 77, + default=0, + validator=validator.is_integer_bool, + fixer=RETURN_DEFAULT, + ), + # see ... HATCH + "pixel_size": DXFAttr(47, optional=True), + "n_seed_points": DXFAttr( + 98, + default=0, + validator=validator.is_greater_or_equal_zero, + fixer=RETURN_DEFAULT, + ), + # MPolygon: offset vector in OCS ??? + "offset_vector": DXFAttr(11, xtype=XType.point2d, default=(0, 0)), + # MPolygon: number of degenerate boundary paths (loops), where a + # degenerate boundary path is a border that is ignored by the hatch: + "degenerated_loops": DXFAttr(99, default=0), + }, +) +acdb_mpolygon_group_code = group_code_mapping(acdb_mpolygon) + + +@register_entity +class MPolygon(DXFPolygon): + """DXF MPOLYGON entity + + The MPOLYGON is not a core DXF entity, and requires a CLASS definition. + + """ + + DXFTYPE = "MPOLYGON" + DXFATTRIBS = DXFAttributes(base_class, acdb_entity, acdb_mpolygon) + MIN_DXF_VERSION_FOR_EXPORT = const.DXF2000 + LOAD_GROUP_CODES = acdb_mpolygon_group_code + + def preprocess_export(self, tagwriter: AbstractTagWriter) -> bool: + if self.paths.has_edge_paths: + logger.warning( + "MPOLYGON including edge paths are not exported by ezdxf!" + ) + return False + return True + + def export_entity(self, tagwriter: AbstractTagWriter) -> None: + """Export entity specific data as DXF tags.""" + super().export_entity(tagwriter) + tagwriter.write_tag2(const.SUBCLASS_MARKER, acdb_mpolygon.name) + dxf = self.dxf + dxf.export_dxf_attribs( + tagwriter, + [ # tag order is important! + "version", + "elevation", + "extrusion", + "pattern_name", + "solid_fill", + ], + ) + self.paths.export_dxf(tagwriter, self.dxftype()) + # hatch_style not supported? + dxf.export_dxf_attribs( + tagwriter, + [ + # "hatch_style", # not supported by MPolygon ??? + "pattern_type", + ], + ) + if dxf.solid_fill == 0: # export pattern + dxf.export_dxf_attribs( + tagwriter, ["pattern_angle", "pattern_scale", "pattern_double"] + ) + + dxf.export_dxf_attribs( + tagwriter, + [ + "annotated_boundary", + "pixel_size", + ], + ) + if dxf.solid_fill == 0: # export pattern + if self.pattern: + self.pattern.export_dxf(tagwriter, force=True) + else: # required pattern length tag! + tagwriter.write_tag2(78, 0) + if tagwriter.dxfversion > const.DXF2000: + dxf.export_dxf_attribs(tagwriter, "fill_color") + dxf.export_dxf_attribs(tagwriter, "offset_vector") + self.export_degenerated_loops(tagwriter) + self.export_gradient(tagwriter) + + def export_degenerated_loops(self, tagwriter: AbstractTagWriter): + self.dxf.export_dxf_attribs(tagwriter, "degenerated_loops") + + def export_gradient(self, tagwriter: AbstractTagWriter): + if tagwriter.dxfversion < const.DXF2004: + return + if self.gradient is None: + self.gradient = Gradient(kind=0, num=0, type=0) + self.gradient.export_dxf(tagwriter) + + def set_solid_fill( + self, color: int = 7, style: int = 1, rgb: Optional[RGB] = None + ): + """Set :class:`MPolygon` to solid fill mode and removes all gradient and + pattern fill related data. + + Args: + color: :ref:`ACI`, (0 = BYBLOCK; 256 = BYLAYER) + style: hatch style is not supported by MPOLYGON, just for symmetry + to HATCH + rgb: true color value as (r, g, b)-tuple - has higher priority + than `color`. True color support requires DXF R2004+ + + """ + # remove existing gradient and pattern fill + self.gradient = None + self.pattern = None + self.dxf.solid_fill = 1 + + # if a gradient is present, the solid fill_color is ignored + self.dxf.fill_color = color + self.dxf.pattern_name = "SOLID" + self.dxf.pattern_type = const.HATCH_TYPE_PREDEFINED + if rgb is not None: + self.set_solid_rgb_gradient(rgb) + + def set_solid_rgb_gradient(self, rgb: RGB): + """Set solid fill color as gradient of a single RGB color. + This disables pattern fill! + + (internal API) + """ + self.gradient = Gradient(kind=1, num=2, type=GradientType.LINEAR) + self.gradient.color1 = rgb + self.gradient.color2 = rgb diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/entities/mtext.py b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/entities/mtext.py new file mode 100644 index 0000000000000000000000000000000000000000..5c74e962a16dd261cbbb207d9df30586f092c28e --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/entities/mtext.py @@ -0,0 +1,1261 @@ +# Copyright (c) 2019-2024 Manfred Moitzi +# License: MIT License +from __future__ import annotations +from typing import ( + TYPE_CHECKING, + Union, + Iterable, + Iterator, + Optional, + Callable, + cast, +) +from typing_extensions import Self +import enum +import math +import logging + +from ezdxf.lldxf import const, validator +from ezdxf.lldxf.attributes import ( + DXFAttr, + DXFAttributes, + DefSubclass, + XType, + RETURN_DEFAULT, + group_code_mapping, + VIRTUAL_TAG, +) +from ezdxf.lldxf.const import SUBCLASS_MARKER, DXF2000, DXF2018 +from ezdxf.lldxf.types import DXFTag, dxftag +from ezdxf.lldxf.tags import ( + Tags, + find_begin_and_end_of_encoded_xdata_tags, + NotFoundException, +) + +from ezdxf.math import Vec3, Matrix44, OCS, UCS, NULLVEC, Z_AXIS, X_AXIS, UVec +from ezdxf.math.transformtools import transform_extrusion +from ezdxf.colors import rgb2int, RGB +from ezdxf.tools.text import ( + split_mtext_string, + escape_dxf_line_endings, + fast_plain_mtext, + plain_mtext, + scale_mtext_inline_commands, +) +from . import factory +from .dxfentity import base_class, SubclassProcessor +from .dxfgfx import DXFGraphic, acdb_entity +from .xdata import XData +from .copy import default_copy + +if TYPE_CHECKING: + from ezdxf.audit import Auditor + from ezdxf.document import Drawing + from ezdxf.entities import DXFNamespace, DXFEntity + from ezdxf.lldxf.tagwriter import AbstractTagWriter + from ezdxf.entitydb import EntityDB + from ezdxf import xref + +__all__ = [ + "MText", + "MTextColumns", + "ColumnType", + "acdb_mtext", + "acdb_mtext_group_codes", + "export_mtext_content", +] +logger = logging.getLogger("ezdxf") + +BG_FILL_MASK = 1 + 2 + 16 + +acdb_mtext = DefSubclass( + "AcDbMText", + { + # virtual text attribute, the actual content is stored in + # multiple tags (1, 3, 3, ...) + "text": DXFAttr( + VIRTUAL_TAG, + xtype=XType.callback, + getter="_get_text", + setter="_set_text", + ), + "insert": DXFAttr(10, xtype=XType.point3d, default=NULLVEC), + # Nominal (initial) text height + "char_height": DXFAttr( + 40, + default=2.5, + validator=validator.is_greater_zero, + fixer=RETURN_DEFAULT, + ), + # Reference column width + "width": DXFAttr(41, optional=True), + # Found in BricsCAD export: + "defined_height": DXFAttr(46, dxfversion="AC1021"), + # Attachment point: enum const.MTextEntityAlignment + # 1 = Top left + # 2 = Top center + # 3 = Top right + # 4 = Middle left + # 5 = Middle center + # 6 = Middle right + # 7 = Bottom left + # 8 = Bottom center + # 9 = Bottom right + "attachment_point": DXFAttr( + 71, + default=1, + validator=validator.is_in_integer_range(1, 10), + fixer=RETURN_DEFAULT, + ), + # Flow direction: enum MTextFlowDirection + # 1 = Left to right + # 3 = Top to bottom + # 5 = By style (the flow direction is inherited from the associated + # text style) + "flow_direction": DXFAttr( + 72, + default=1, + optional=True, + validator=validator.is_one_of({1, 3, 5}), + fixer=RETURN_DEFAULT, + ), + # Content text: + # group code 1: text + # group code 3: additional text (optional) + # Text style name: + "style": DXFAttr( + 7, + default="Standard", + optional=True, + validator=validator.is_valid_table_name, # do not fix! + ), + "extrusion": DXFAttr( + 210, + xtype=XType.point3d, + default=Z_AXIS, + optional=True, + validator=validator.is_not_null_vector, + fixer=RETURN_DEFAULT, + ), + # x-axis direction vector (in WCS) + # If rotation and text_direction are present, text_direction wins + "text_direction": DXFAttr( + 11, + xtype=XType.point3d, + default=X_AXIS, + optional=True, + validator=validator.is_not_null_vector, + fixer=RETURN_DEFAULT, + ), + # Horizontal width of the characters that make up the mtext entity. + # This value will always be equal to or less than the value of *width*, + # (read-only, ignored if supplied) + "rect_width": DXFAttr(42, optional=True), + # Vertical height of the mtext entity (read-only, ignored if supplied) + "rect_height": DXFAttr(43, optional=True), + # Text rotation in degrees - Error in DXF reference, which claims radians + "rotation": DXFAttr(50, default=0, optional=True), + # Line spacing style (optional): enum const.MTextLineSpacing + # 1 = At least (taller characters will override) + # 2 = Exact (taller characters will not override) + "line_spacing_style": DXFAttr( + 73, + default=1, + optional=True, + validator=validator.is_one_of({1, 2}), + fixer=RETURN_DEFAULT, + ), + # Line spacing factor (optional): Percentage of default (3-on-5) line + # spacing to be applied. Valid values range from 0.25 to 4.00 + "line_spacing_factor": DXFAttr( + 44, + default=1, + optional=True, + validator=validator.is_in_float_range(0.25, 4.00), + fixer=validator.fit_into_float_range(0.25, 4.00), + ), + # Determines how much border there is around the text. + # (45) + (90) + (63) all three required, if one of them is used + "box_fill_scale": DXFAttr(45, dxfversion="AC1021"), + # background fill type flags: enum const.MTextBackgroundColor + # 0 = off + # 1 = color -> (63) < (421) or (431) + # 2 = drawing window color + # 3 = use background color (1 & 2) + # 16 = text frame ODA specification 20.4.46 + # 2021-05-14: text frame only is supported bg_fill = 16, + # but scaling is always 1.5 and tags 45 + 63 are not present + "bg_fill": DXFAttr( + 90, + dxfversion="AC1021", + validator=validator.is_valid_bitmask(BG_FILL_MASK), + fixer=validator.fix_bitmask(BG_FILL_MASK), + ), + # background fill color as ACI, required even true color is used + "bg_fill_color": DXFAttr( + 63, + dxfversion="AC1021", + validator=validator.is_valid_aci_color, + ), + # 420-429? : background fill color as true color value, (63) also required + # but ignored + "bg_fill_true_color": DXFAttr(421, dxfversion="AC1021"), + # 430-439? : background fill color as color name ???, (63) also required + # but ignored + "bg_fill_color_name": DXFAttr(431, dxfversion="AC1021"), + # background fill color transparency - not used by AutoCAD/BricsCAD + "bg_fill_transparency": DXFAttr(441, dxfversion="AC1021"), + }, +) +acdb_mtext_group_codes = group_code_mapping(acdb_mtext) + + +# ----------------------------------------------------------------------- +# For more information go to docs/source/dxfinternals/entities/mtext.rst +# ----------------------------------------------------------------------- + +# MTEXT column support: +# MTEXT columns have the same appearance and handling for all DXF versions +# as a single MTEXT entity like in DXF R2018. + + +class ColumnType(enum.IntEnum): + NONE = 0 + STATIC = 1 + DYNAMIC = 2 + + +class MTextColumns: + """The column count is not stored explicit in the columns definition for + DXF versions R2018+. + + If column_type is DYNAMIC and auto_height is True the column + count is defined by the content. The exact calculation of the column count + requires an accurate rendering of the MTEXT content like AutoCAD does! + + If the column count is not defined, ezdxf tries to calculate the column + count from total_width, width and gutter_width, if these attributes are set + properly. + + """ + + def __init__(self) -> None: + self.column_type: ColumnType = ColumnType.STATIC + # The embedded object in R2018 does not store the column count for + # column type DYNAMIC and auto_height is True! + # For DXF < R2018 the column count, may not match the count of linked + # MTEXT entities! + self.count: int = 1 + self.auto_height: bool = False + self.reversed_column_flow: bool = False + self.defined_height: float = 0.0 + self.width: float = 0.0 + self.gutter_width: float = 0.0 + self.total_width: float = 0.0 + self.total_height: float = 0.0 + # Storage for handles of linked MTEXT entities at loading stage: + self.linked_handles: Optional[list[str]] = None + # Storage for linked MTEXT entities for DXF versions < R2018: + self.linked_columns: list[MText] = [] + # R2018+: heights of all columns if auto_height is False + self.heights: list[float] = [] + + def deep_copy(self) -> MTextColumns: + columns = self.shallow_copy() + columns.linked_columns = [mtext.copy() for mtext in self.linked_columns] + return columns + + def shallow_copy(self) -> MTextColumns: + columns = MTextColumns() + columns.count = self.count + columns.column_type = self.column_type + columns.auto_height = self.auto_height + columns.reversed_column_flow = self.reversed_column_flow + columns.defined_height = self.defined_height + columns.width = self.width + columns.gutter_width = self.gutter_width + columns.total_width = self.total_width + columns.total_height = self.total_height + columns.linked_columns = list(self.linked_columns) + columns.heights = list(self.heights) + return columns + + @classmethod + def new_static_columns( + cls, count: int, width: float, gutter_width: float, height: float + ) -> MTextColumns: + columns = cls() + columns.column_type = ColumnType.STATIC + columns.count = int(count) + columns.width = float(width) + columns.gutter_width = float(gutter_width) + columns.defined_height = float(height) + columns.update_total_width() + columns.update_total_height() + return columns + + @classmethod + def new_dynamic_auto_height_columns( + cls, count: int, width: float, gutter_width: float, height: float + ) -> MTextColumns: + columns = cls() + columns.column_type = ColumnType.DYNAMIC + columns.auto_height = True + columns.count = int(count) + columns.width = float(width) + columns.gutter_width = float(gutter_width) + columns.defined_height = float(height) + columns.update_total_width() + columns.update_total_height() + return columns + + @classmethod + def new_dynamic_manual_height_columns( + cls, width: float, gutter_width: float, heights: Iterable[float] + ) -> MTextColumns: + columns = cls() + columns.column_type = ColumnType.DYNAMIC + columns.auto_height = False + columns.width = float(width) + columns.gutter_width = float(gutter_width) + columns.defined_height = 0.0 + columns.heights = list(heights) + columns.count = len(columns.heights) + columns.update_total_width() + columns.update_total_height() + return columns + + def update_total_width(self): + count = self.count + if count > 0: + self.total_width = count * self.width + (count - 1) * self.gutter_width + else: + self.total_width = 0.0 + + def update_total_height(self): + if self.has_dynamic_manual_height: + self.total_height = max(self.heights) + else: + self.total_height = self.defined_height + + @property + def has_dynamic_auto_height(self) -> bool: + return self.column_type == ColumnType.DYNAMIC and self.auto_height + + @property + def has_dynamic_manual_height(self) -> bool: + return self.column_type == ColumnType.DYNAMIC and not self.auto_height + + def link_columns(self, doc: Drawing): + # DXF R2018+ has no linked MTEXT entities. + if doc.dxfversion >= DXF2018 or not self.linked_handles: + return + db = doc.entitydb + assert db is not None, "entity database not initialized" + linked_columns = [] + for handle in self.linked_handles: + mtext = cast("MText", db.get(handle)) + if mtext: + linked_columns.append(mtext) + else: + logger.debug(f"Linked MTEXT column #{handle} does not exist.") + self.linked_handles = None + self.linked_columns = linked_columns + + def transform(self, m: Matrix44, hscale: float = 1, vscale: float = 1): + self.width *= hscale + self.gutter_width *= hscale + self.total_width *= hscale + self.total_height *= vscale + self.defined_height *= vscale + self.heights = [h * vscale for h in self.heights] + for mtext in self.linked_columns: + mtext.transform(m) + + def acad_mtext_column_info_xdata(self) -> Tags: + tags = Tags( + [ + DXFTag(1000, "ACAD_MTEXT_COLUMN_INFO_BEGIN"), + DXFTag(1070, 75), + DXFTag(1070, int(self.column_type)), + DXFTag(1070, 79), + DXFTag(1070, int(self.auto_height)), + DXFTag(1070, 76), + DXFTag(1070, self.count), + DXFTag(1070, 78), + DXFTag(1070, int(self.reversed_column_flow)), + DXFTag(1070, 48), + DXFTag(1040, self.width), + DXFTag(1070, 49), + DXFTag(1040, self.gutter_width), + ] + ) + if self.has_dynamic_manual_height: + tags.extend([DXFTag(1070, 50), DXFTag(1070, len(self.heights))]) + tags.extend(DXFTag(1040, height) for height in self.heights) + tags.append(DXFTag(1000, "ACAD_MTEXT_COLUMN_INFO_END")) + return tags + + def acad_mtext_columns_xdata(self) -> Tags: + tags = Tags( + [ + DXFTag(1000, "ACAD_MTEXT_COLUMNS_BEGIN"), + DXFTag(1070, 47), + DXFTag(1070, self.count), # incl. main MTEXT + ] + ) + tags.extend( # writes only (count - 1) handles! + DXFTag(1005, handle) for handle in self.mtext_handles() + ) + tags.append(DXFTag(1000, "ACAD_MTEXT_COLUMNS_END")) + return tags + + def mtext_handles(self) -> list[str]: + """Returns a list of all linked MTEXT handles.""" + if self.linked_handles: + return self.linked_handles + handles = [] + for column in self.linked_columns: + if column.is_alive: + handle = column.dxf.handle + if handle is None: + raise const.DXFStructureError("Linked MTEXT column has no handle.") + handles.append(handle) + else: + raise const.DXFStructureError("Linked MTEXT column deleted!") + return handles + + def acad_mtext_defined_height_xdata(self) -> Tags: + return Tags( + [ + DXFTag(1000, "ACAD_MTEXT_DEFINED_HEIGHT_BEGIN"), + DXFTag(1070, 46), + DXFTag(1040, self.defined_height), + DXFTag(1000, "ACAD_MTEXT_DEFINED_HEIGHT_END"), + ] + ) + + +def load_columns_from_embedded_object( + dxf: DXFNamespace, embedded_obj: Tags +) -> MTextColumns: + columns = MTextColumns() + insert = dxf.get("insert") # mandatory attribute, but what if ... + text_direction = dxf.get("text_direction") # optional attribute + reference_column_width = dxf.get("width") # optional attribute + for code, value in embedded_obj: + # Update duplicated attributes if MTEXT attributes are not set: + if code == 10 and text_direction is None: + dxf.text_direction = Vec3(value) + # rotation is not needed anymore: + dxf.discard("rotation") + elif code == 11 and insert is None: + dxf.insert = Vec3(value) + elif code == 40 and reference_column_width is None: + dxf.width = value + elif code == 41: + # Column height if auto height is True. + columns.defined_height = value + # Keep in sync with DXF attribute: + dxf.defined_height = value + elif code == 42: + columns.total_width = value + elif code == 43: + columns.total_height = value + elif code == 44: + # All columns have the same width. + columns.width = value + elif code == 45: + # All columns have the same gutter width = space between columns. + columns.gutter_width = value + elif code == 71: + columns.column_type = ColumnType(value) + elif code == 72: # column height count + # The column height count can be 0 in some cases (dynamic & auto + # height) in DXF version R2018+. + columns.count = value + elif code == 73: + columns.auto_height = bool(value) + elif code == 74: + columns.reversed_column_flow = bool(value) + elif code == 46: # column heights + # The last column height is 0; takes the rest? + columns.heights.append(value) + + # The column count is not defined explicit: + if columns.count == 0: + if columns.heights: # very unlikely + columns.count = len(columns.heights) + elif columns.total_width > 0: + # calculate column count from total_width + g = columns.gutter_width + wg = abs(columns.width + g) + if wg > 1e-6: + columns.count = int(round((columns.total_width + g) / wg)) + return columns + + +def load_mtext_column_info(tags: Tags) -> Optional[MTextColumns]: + try: # has column info? + start, end = find_begin_and_end_of_encoded_xdata_tags( + "ACAD_MTEXT_COLUMN_INFO", tags + ) + except NotFoundException: + return None + columns = MTextColumns() + height_count = 0 + group_code = None + for code, value in tags[start + 1 : end]: + if height_count: + if code == 1040: + columns.heights.append(value) + height_count -= 1 + continue + else: # error + logger.error("missing column heights in MTEXT entity") + height_count = 0 + + if group_code is None: + group_code = value + continue + + if group_code == 75: + columns.column_type = ColumnType(value) + elif group_code == 79: + columns.auto_height = bool(value) + elif group_code == 76: + # column count, may not match the count of linked MTEXT entities! + columns.count = int(value) + elif group_code == 78: + columns.reversed_column_flow = bool(value) + elif group_code == 48: + columns.width = value + elif group_code == 49: + columns.gutter_width = value + elif group_code == 50: + height_count = int(value) + group_code = None + return columns + + +def load_mtext_linked_column_handles(tags: Tags) -> list[str]: + handles: list[str] = [] + try: + start, end = find_begin_and_end_of_encoded_xdata_tags( + "ACAD_MTEXT_COLUMNS", tags + ) + except NotFoundException: + return handles + for code, value in tags[start:end]: + if code == 1005: + handles.append(value) + return handles + + +def load_mtext_defined_height(tags: Tags) -> float: + # The defined height stored in the linked MTEXT entities, is not required: + # + # If all columns have the same height (static & dynamic auto height), the + # "defined_height" is stored in the main MTEXT, but the linked MTEXT entities + # also have a "ACAD_MTEXT_DEFINED_HEIGHT" group in the ACAD section of XDATA. + # + # If the columns have different heights (dynamic manual height), these + # height values are only stored in the main MTEXT. The linked MTEXT + # entities do not have an ACAD section at all. + + height = 0.0 + try: + start, end = find_begin_and_end_of_encoded_xdata_tags( + "ACAD_MTEXT_DEFINED_HEIGHT", tags + ) + except NotFoundException: + return height + + for code, value in tags[start:end]: + if code == 1040: + height = value + return height + + +def load_columns_from_xdata(dxf: DXFNamespace, xdata: XData) -> Optional[MTextColumns]: + # The ACAD section in XDATA of the main MTEXT entity stores all column + # related information: + if "ACAD" in xdata: + acad = xdata.get("ACAD") + else: + return None + + name = f"MTEXT(#{dxf.get('handle')})" + try: + columns = load_mtext_column_info(acad) + except const.DXFStructureError: + logger.error(f"Invalid ACAD_MTEXT_COLUMN_INFO in {name}") + return None + + if columns is None: # no columns defined + return None + + try: + columns.linked_handles = load_mtext_linked_column_handles(acad) + except const.DXFStructureError: + logger.error(f"Invalid ACAD_MTEXT_COLUMNS in {name}") + + columns.update_total_width() + if columns.heights: # dynamic columns, manual heights + # This is correct even if the last column is the tallest, which height + # is not known. The height of last column is always stored as 0. + columns.total_height = max(columns.heights) + else: # all columns have the same "defined" height + try: + columns.defined_height = load_mtext_defined_height(acad) + except const.DXFStructureError: + logger.error(f"Invalid ACAD_MTEXT_DEFINED_HEIGHT in {name}") + columns.total_height = columns.defined_height + + return columns + + +def extract_mtext_text_frame_handles(xdata: XData) -> list[str]: + # Stores information about the text frame until DXF R2018. + # Newer CAD applications do not need that information nor the separated + # LWPOLYLINE as text frame entity. + handles: list[str] = [] + if "ACAD" in xdata: + acad = xdata.get("ACAD") + else: + return handles + + try: + start, end = find_begin_and_end_of_encoded_xdata_tags( + "ACAD_MTEXT_TEXT_BORDERS", acad + ) + except NotFoundException: + return handles + + for code, value in acad[start:end]: + # multiple handles to a LWPOLYLINE entity could be present: + if code == 1005: + handles.append(value) + + # remove MTEXT_TEXT_BORDERS data + del acad[start:end] + if len(acad) < 2: + xdata.discard("ACAD") + return handles + + +@factory.register_entity +class MText(DXFGraphic): + """DXF MTEXT entity""" + + DXFTYPE = "MTEXT" + DXFATTRIBS = DXFAttributes(base_class, acdb_entity, acdb_mtext) + MIN_DXF_VERSION_FOR_EXPORT = DXF2000 + + def __init__(self) -> None: + super().__init__() + self.text: str = "" + # Linked MText columns do not have a MTextColumns() object! + self._columns: Optional[MTextColumns] = None + + def _get_text(self): + """Getter for virtual Mtext.dxf.text attribute. + + The MText content is stored in multiple tags (1, 3, 3, ...) and cannot + be supported as a simple DXF tag. The virtual MText.dxf.text attribute + adds compatibility to other text based entities: TEXT, ATTRIB, ATTDEF + + """ + return self.text + + def _set_text(self, value): + """Setter for virtual Mtext.dxf.text attribute.""" + self.text = str(value) + + @property + def columns(self) -> Optional[MTextColumns]: + """Returns a copy of the column configuration.""" + # The column configuration is deliberately not editable. + # Can't prevent access to _columns, but you are on your own if do this! + return self._columns.shallow_copy() if self._columns else None + + @property + def has_columns(self) -> bool: + return self._columns is not None + + def copy_data(self, entity: Self, copy_strategy=default_copy) -> None: + assert isinstance(entity, MText) + entity.text = self.text + if self.has_columns: + # copies also the linked MTEXT column entities! + entity._columns = self._columns.deep_copy() # type: ignore + + def load_dxf_attribs( + self, processor: Optional[SubclassProcessor] = None + ) -> DXFNamespace: + dxf = super().load_dxf_attribs(processor) + if processor: + tags = processor.subclass_by_index(2) + if tags: + tags = Tags(self.load_mtext_content(tags)) + processor.fast_load_dxfattribs( + dxf, acdb_mtext_group_codes, subclass=tags, recover=True + ) + if processor.embedded_objects: + obj = processor.embedded_objects[0] + self._columns = load_columns_from_embedded_object(dxf, obj) + elif self.xdata: + self._columns = load_columns_from_xdata(dxf, self.xdata) + else: + raise const.DXFStructureError( + f"missing 'AcDbMText' subclass in MTEXT(#{dxf.handle})" + ) + return dxf + + def post_load_hook(self, doc: Drawing) -> Optional[Callable]: + def destroy_text_frame_entity(): + entitydb = doc.entitydb + if entitydb: + for handle in extract_mtext_text_frame_handles(self.xdata): + text_frame = entitydb.get(handle) + if text_frame: + text_frame.destroy() + + def unlink_mtext_columns_from_layout(): + """Unlinked MTEXT entities from layout entity space.""" + layout = self.get_layout() + if layout is not None: + for mtext in self._columns.linked_columns: + layout.unlink_entity(mtext) + else: + for mtext in self._columns.linked_columns: + mtext.dxf.owner = None + + super().post_load_hook(doc) + if self.xdata: + destroy_text_frame_entity() + + if self.has_columns: + # Link columns, one MTEXT entity for each column, to the main MTEXT + # entity (DXF version bool: + """Pre requirement check and pre-processing for export. + + Returns False if MTEXT should not be exported at all. + + (internal API) + """ + columns = self._columns + if columns and tagwriter.dxfversion < const.DXF2018: + if columns.count != len(columns.linked_columns) + 1: + logger.debug(f"{str(self)}: column count does not match linked columns") + # just log for debugging, because AutoCAD accept this! + if not all(column.is_alive for column in columns.linked_columns): + logger.debug(f"{str(self)}: contains destroyed linked columns") + return False + self.sync_common_attribs_of_linked_columns() + return True + + def export_dxf(self, tagwriter: AbstractTagWriter) -> None: + super().export_dxf(tagwriter) + # Linked MTEXT entities are not stored in the layout entity space! + if self.has_columns and tagwriter.dxfversion < const.DXF2018: + self.export_linked_entities(tagwriter) + + def export_entity(self, tagwriter: AbstractTagWriter) -> None: + """Export entity specific data as DXF tags.""" + super().export_entity(tagwriter) + tagwriter.write_tag2(SUBCLASS_MARKER, acdb_mtext.name) + self.dxf.export_dxf_attribs( + tagwriter, + [ + "insert", + "char_height", + "width", + "defined_height", + "attachment_point", + "flow_direction", + ], + ) + export_mtext_content(self.text, tagwriter) + self.dxf.export_dxf_attribs( + tagwriter, + [ + "style", + "extrusion", + "text_direction", + "rect_width", + "rect_height", + "rotation", + "line_spacing_style", + "line_spacing_factor", + "box_fill_scale", + "bg_fill", + "bg_fill_color", + "bg_fill_true_color", + "bg_fill_color_name", + "bg_fill_transparency", + ], + ) + columns = self._columns + if columns is None or columns.column_type == ColumnType.NONE: + return + + if tagwriter.dxfversion >= DXF2018: + self.export_embedded_object(tagwriter) + else: + self.set_column_xdata() + self.set_linked_columns_xdata() + + def load_mtext_content(self, tags: Tags) -> Iterator[DXFTag]: + tail = "" + parts = [] + for tag in tags: + if tag.code == 1: + tail = tag.value + elif tag.code == 3: + parts.append(tag.value) + else: + yield tag + parts.append(tail) + self.text = escape_dxf_line_endings("".join(parts)) + + def export_embedded_object(self, tagwriter: AbstractTagWriter): + dxf = self.dxf + cols = self._columns + assert cols is not None + + tagwriter.write_tag2(101, "Embedded Object") + tagwriter.write_tag2(70, 1) # unknown meaning + tagwriter.write_tag(dxftag(10, dxf.text_direction)) + tagwriter.write_tag(dxftag(11, dxf.insert)) + tagwriter.write_tag2(40, dxf.width) # repeated reference column width + tagwriter.write_tag2(41, cols.defined_height) + tagwriter.write_tag2(42, cols.total_width) + tagwriter.write_tag2(43, cols.total_height) + tagwriter.write_tag2(71, int(cols.column_type)) + + if cols.has_dynamic_auto_height: + count = 0 + else: + count = cols.count + tagwriter.write_tag2(72, count) + + tagwriter.write_tag2(44, cols.width) + tagwriter.write_tag2(45, cols.gutter_width) + tagwriter.write_tag2(73, int(cols.auto_height)) + tagwriter.write_tag2(74, int(cols.reversed_column_flow)) + for height in cols.heights: + tagwriter.write_tag2(46, height) + + def export_linked_entities(self, tagwriter: AbstractTagWriter): + for mtext in self._columns.linked_columns: # type: ignore + if mtext.dxf.handle is None: + raise const.DXFStructureError("Linked MTEXT column has no handle.") + # Export linked columns as separated DXF entities: + mtext.export_dxf(tagwriter) + + def sync_common_attribs_of_linked_columns(self): + common_attribs = self.dxfattribs( + drop={"handle", "insert", "rect_width", "rect_height"} + ) + for mtext in self._columns.linked_columns: + mtext.update_dxf_attribs(common_attribs) + + def set_column_xdata(self): + if self.xdata is None: + self.xdata = XData() + cols = self._columns + acad = cols.acad_mtext_column_info_xdata() + acad.extend(cols.acad_mtext_columns_xdata()) + if not cols.has_dynamic_manual_height: + acad.extend(cols.acad_mtext_defined_height_xdata()) + + xdata = self.xdata + # Replace existing column data and therefore also removes + # ACAD_MTEXT_TEXT_BORDERS information! + xdata.discard("ACAD") + xdata.add("ACAD", acad) + + def set_linked_columns_xdata(self): + cols = self._columns + for column in cols.linked_columns: + column.discard_xdata("ACAD") + if not cols.has_dynamic_manual_height: + tags = cols.acad_mtext_defined_height_xdata() + for column in cols.linked_columns: + column.set_xdata("ACAD", tags) + + def get_rotation(self) -> float: + """Returns the text rotation in degrees.""" + if self.dxf.hasattr("text_direction"): + vector = self.dxf.text_direction + radians = math.atan2(vector[1], vector[0]) # ignores z-axis + rotation = math.degrees(radians) + else: + rotation = self.dxf.get("rotation", 0) + return rotation + + def set_rotation(self, angle: float) -> MText: + """Sets the attribute :attr:`rotation` to `angle` (in degrees) and deletes + :attr:`dxf.text_direction` if present. + """ + # text_direction has higher priority than rotation, therefore delete it + self.dxf.discard("text_direction") + self.dxf.rotation = angle + return self # fluent interface + + def set_location( + self, + insert: UVec, + rotation: Optional[float] = None, + attachment_point: Optional[int] = None, + ) -> MText: + """Sets the attributes :attr:`dxf.insert`, :attr:`dxf.rotation` and + :attr:`dxf.attachment_point`, ``None`` for :attr:`dxf.rotation` or + :attr:`dxf.attachment_point` preserves the existing value. + + """ + self.dxf.insert = Vec3(insert) + if rotation is not None: + self.set_rotation(rotation) + if attachment_point is not None: + self.dxf.attachment_point = attachment_point + return self # fluent interface + + def set_bg_color( + self, + color: Union[int, str, RGB, None], + scale: float = 1.5, + text_frame=False, + ): + """Sets the background color as :ref:`ACI` value, as name string or as + (r, g, b) tuple. + + Use the special color name ``canvas``, to set the background color to the canvas + background color. Remove the background filling by setting argument `color` to + ``None``. + + Args: + color: color as :ref:`ACI`, string, (r, g, b) tuple or ``None`` + scale: determines how much border there is around the text, the + value is based on the text height, and should be in the range + of [1, 5], where 1 fits exact the MText entity. + text_frame: draw a text frame in text color if ``True`` + + """ + if 1 <= scale <= 5: + self.dxf.box_fill_scale = scale + else: + raise ValueError("argument scale has to be in range from 1 to 5.") + + text_frame = const.MTEXT_TEXT_FRAME if text_frame else 0 + if color is None: + self.dxf.discard("bg_fill") + self.dxf.discard("box_fill_scale") + self.dxf.discard("bg_fill_color") + self.dxf.discard("bg_fill_true_color") + self.dxf.discard("bg_fill_color_name") + if text_frame: + # special case, text frame only with scaling factor = 1.5 + self.dxf.bg_fill = 16 + elif color == "canvas": # special case for use background color + self.dxf.bg_fill = const.MTEXT_BG_CANVAS_COLOR | text_frame + self.dxf.bg_fill_color = 0 # required but ignored + else: + self.dxf.bg_fill = const.MTEXT_BG_COLOR | text_frame + if isinstance(color, int): + self.dxf.bg_fill_color = color + elif isinstance(color, str): + self.dxf.bg_fill_color = 0 # required but ignored + self.dxf.bg_fill_color_name = color + elif isinstance(color, tuple): + self.dxf.bg_fill_color = 0 # required but ignored + self.dxf.bg_fill_true_color = rgb2int(color) + return self # fluent interface + + def __iadd__(self, text: str) -> MText: + """Append `text` to existing content (:attr:`text` attribute).""" + self.text += text + return self + + append = __iadd__ + + def get_text_direction(self) -> Vec3: + """Returns the horizontal text direction as :class:`~ezdxf.math.Vec3` + object, even if only the text rotation is defined. + + """ + dxf = self.dxf + # "text_direction" has higher priority than "rotation" + if dxf.hasattr("text_direction"): + return dxf.text_direction + if dxf.hasattr("rotation"): + # MTEXT is not an OCS entity, but I don't know how else to convert + # a rotation angle for an entity just defined by an extrusion vector. + # It's correct for the most common case: extrusion=(0, 0, 1) + return OCS(dxf.extrusion).to_wcs(Vec3.from_deg_angle(dxf.rotation)) + return X_AXIS + + def convert_rotation_to_text_direction(self): + """Convert text rotation into text direction and discard text rotation.""" + dxf = self.dxf + if dxf.hasattr("rotation"): + if not dxf.hasattr("text_direction"): + dxf.text_direction = self.get_text_direction() + dxf.discard("rotation") + + def ucs(self) -> UCS: + """Returns the :class:`~ezdxf.math.UCS` of the :class:`MText` entity, + defined by the insert location (origin), the text direction or rotation + (x-axis) and the extrusion vector (z-axis). + + """ + dxf = self.dxf + return UCS( + origin=dxf.insert, + ux=self.get_text_direction(), + uz=dxf.extrusion, + ) + + def transform(self, m: Matrix44) -> MText: + """Transform the MTEXT entity by transformation matrix `m` inplace.""" + dxf = self.dxf + old_extrusion = Vec3(dxf.extrusion) + new_extrusion, _ = transform_extrusion(old_extrusion, m) + self.convert_rotation_to_text_direction() + + old_text_direction = Vec3(dxf.text_direction) + new_text_direction = m.transform_direction(old_text_direction) + + old_vertical_direction = old_extrusion.cross(old_text_direction) + old_char_height = float(dxf.char_height) + old_char_height_vec = old_vertical_direction.normalize(old_char_height) + new_char_height_vec = m.transform_direction(old_char_height_vec) + oblique = new_text_direction.angle_between(new_char_height_vec) + new_char_height = new_char_height_vec.magnitude * math.sin(oblique) + dxf.char_height = new_char_height + if ( + not math.isclose(old_char_height, new_char_height) + and abs(old_char_height) > 1e-12 + ): + factor = new_char_height / old_char_height + # Column content is transformed by the sub-entities itself! + self.text = scale_mtext_inline_commands(self.text, factor) + + if dxf.hasattr("width"): + width_vec = old_text_direction.normalize(dxf.width) + dxf.width = m.transform_direction(width_vec).magnitude + + dxf.insert = m.transform(dxf.insert) + dxf.text_direction = new_text_direction + dxf.extrusion = new_extrusion + if self.has_columns: + hscale = m.transform_direction(old_text_direction.normalize()).magnitude + vscale = m.transform_direction(old_vertical_direction.normalize()).magnitude + self._columns.transform(m, hscale, vscale) # type: ignore + self.post_transform(m) + return self + + def plain_text(self, split=False, fast=True) -> Union[list[str], str]: + """Returns the text content without inline formatting codes. + + The "fast" mode is accurate if the DXF content was created by + reliable (and newer) CAD applications like AutoCAD or BricsCAD. + The "accurate" mode is for some rare cases where the content was + created by older CAD applications or unreliable DXF libraries and CAD + applications. + + Args: + split: split content text at line breaks if ``True`` and + returns a list of strings without line endings + fast: uses the "fast" mode to extract the plain MTEXT content if + ``True`` or the "accurate" mode if set to ``False`` + + """ + if fast: + return fast_plain_mtext(self.text, split=split) + else: + return plain_mtext(self.text, split=split) + + def all_columns_plain_text(self, split=False) -> Union[list[str], str]: + """Returns the text content of all columns without inline formatting + codes. + + Args: + split: split content text at line breaks if ``True`` and + returns a list of strings without line endings + + """ + + def merged_content(): + content = [fast_plain_mtext(self.text, split=False)] + if self.has_columns: + for c in self._columns.linked_columns: + content.append(c.plain_text(split=False)) + return "".join(content) + + def split_content(): + content = fast_plain_mtext(self.text, split=True) + if self.has_columns: + if content and content[-1] == "": + content.pop() + for c in self._columns.linked_columns: + content.extend(c.plain_text(split=True)) + if content and content[-1] == "": + content.pop() + return content + + if split: + return split_content() + else: + return merged_content() + + def all_columns_raw_content(self) -> str: + """Returns the text content of all columns as a single string + including the inline formatting codes. + + """ + content = [self.text] + if self.has_columns: + for column in self._columns.linked_columns: # type: ignore + content.append(column.text) + return "".join(content) + + def audit(self, auditor: Auditor): + """Validity check.""" + if not self.is_alive: + return + if self.dxf.owner is not None: + # Kills linked columns, because owner (None) does not exist! + super().audit(auditor) + else: # linked columns: owner is None + # TODO: special audit for linked columns + pass + auditor.check_text_style(self) + # TODO: audit column structure + + def destroy(self) -> None: + if not self.is_alive: + return + + if self.has_columns: + for column in self._columns.linked_columns: # type: ignore + column.destroy() + + del self._columns + super().destroy() + + # Linked MTEXT columns are not the same structure as + # POLYLINE & INSERT with sub-entities and SEQEND :( + def add_sub_entities_to_entitydb(self, db: EntityDB) -> None: + """Add linked columns (MTEXT) entities to entity database `db`, + called from EntityDB. (internal API) + + """ + if self.is_alive and self._columns: + doc = self.doc + for column in self._columns.linked_columns: + if column.is_alive and column.is_virtual: + column.doc = doc + db.add(column) + + def process_sub_entities(self, func: Callable[[DXFEntity], None]): + """Call `func` for linked columns. (internal API)""" + if self.is_alive and self._columns: + for entity in self._columns.linked_columns: + if entity.is_alive: + func(entity) + + def setup_columns(self, columns: MTextColumns, linked: bool = False) -> None: + assert columns.column_type != ColumnType.NONE + assert columns.count > 0, "one or more columns required" + assert columns.width > 0, "column width has to be > 0" + assert columns.gutter_width >= 0, "gutter width has to be >= 0" + + if self.has_columns: + raise const.DXFStructureError("Column setup already exist.") + self._columns = columns + self.dxf.width = columns.width + self.dxf.defined_height = columns.defined_height + if columns.total_height < 1e-6: + columns.total_height = columns.defined_height + if columns.total_width < 1e-6: + columns.update_total_width() + if linked: + self._create_linked_columns() + + def _create_linked_columns(self) -> None: + """Create linked MTEXT columns for DXF versions before R2018.""" + # creates virtual MTEXT entities + dxf = self.dxf + attribs = self.dxfattribs(drop={"handle", "owner"}) + doc = self.doc + cols = self._columns + assert cols is not None + + insert = dxf.get("insert", Vec3()) + default_direction = Vec3.from_deg_angle(dxf.get("rotation", 0)) + text_direction = Vec3(dxf.get("text_direction", default_direction)) + offset = text_direction.normalize(cols.width + cols.gutter_width) + linked_columns = cols.linked_columns + for _ in range(cols.count - 1): + insert += offset + column = MText.new(dxfattribs=attribs, doc=doc) + column.dxf.insert = insert + linked_columns.append(column) + + def remove_dependencies(self, other: Optional[Drawing] = None) -> None: + if not self.is_alive: + return + + super().remove_dependencies() + style_exist = bool(other) and self.dxf.style in other.styles # type: ignore + if not style_exist: + self.dxf.style = "Standard" + + if self.has_columns: + for column in self._columns.linked_columns: # type: ignore + column.remove_dependencies(other) + + def ocs(self) -> OCS: + # WCS entity which supports the "extrusion" attribute in a + # different way! + return OCS() + + def register_resources(self, registry: xref.Registry) -> None: + """Register required resources to the resource registry.""" + super().register_resources(registry) + if self.dxf.hasattr("style"): + registry.add_text_style(self.dxf.style) + if self._columns: + for mtext in self._columns.linked_columns: + mtext.register_resources(registry) + + def map_resources(self, clone: Self, mapping: xref.ResourceMapper) -> None: + """Translate resources from self to the copied entity.""" + assert isinstance(clone, MText) + super().map_resources(clone, mapping) + + if clone.dxf.hasattr("style"): + clone.dxf.style = mapping.get_text_style(clone.dxf.style) + if self._columns and clone._columns: + for col_self, col_clone in zip( + self._columns.linked_columns, clone._columns.linked_columns + ): + col_self.map_resources(col_clone, mapping) + + +def export_mtext_content(text, tagwriter: AbstractTagWriter) -> None: + txt = escape_dxf_line_endings(text) + str_chunks = split_mtext_string(txt, size=250) + if len(str_chunks) == 0: + str_chunks.append("") + while len(str_chunks) > 1: + tagwriter.write_tag2(3, str_chunks.pop(0)) + tagwriter.write_tag2(1, str_chunks[0]) diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/entities/mtext_columns.py b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/entities/mtext_columns.py new file mode 100644 index 0000000000000000000000000000000000000000..200f68bcf3a2e2e589c8c2fe35de71bc0c9315c9 --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/entities/mtext_columns.py @@ -0,0 +1,154 @@ +# Copyright (c) 2021-2022, Manfred Moitzi +# License: MIT License +from __future__ import annotations +from typing import Iterable, Iterator, Sequence +from .mtext import MText, MTextColumns + +__all__ = [ + "make_static_columns_r2000", + "make_dynamic_auto_height_columns_r2000", + "make_dynamic_manual_height_columns_r2000", + "make_static_columns_r2018", + "make_dynamic_auto_height_columns_r2018", + "make_dynamic_manual_height_columns_r2018", +] + +COLUMN_BREAK = "\\N" + + +def add_column_breaks(content: Iterable[str]) -> Iterator[str]: + content = list(content) + for c in content[:-1]: + if not c.endswith(COLUMN_BREAK): + c += COLUMN_BREAK + yield c + yield content[-1] # last column without a column break + + +def make_static_columns_r2000( + content: Sequence[str], + width: float, + gutter_width: float, + height: float, + dxfattribs=None, +) -> MText: + if len(content) < 1: + raise ValueError("no content") + columns = MTextColumns.new_static_columns( + len(content), width, gutter_width, height + ) + mtext = MText.new(dxfattribs=dxfattribs) + mtext.setup_columns(columns, linked=True) + content = list(add_column_breaks(content)) + mtext.text = content[0] + for mt, c in zip(columns.linked_columns, content[1:]): + mt.text = c + return mtext + + +def make_dynamic_auto_height_columns_r2000( + content: str, + width: float, + gutter_width: float, + height: float, + count: int = 1, + dxfattribs=None, +) -> MText: + if not content: + raise ValueError("no content") + mtext = MText.new(dxfattribs=dxfattribs) + mtext.dxf.width = width + columns = MTextColumns.new_dynamic_auto_height_columns( + count, width, gutter_width, height + ) + set_dynamic_columns_content(content, mtext, columns) + return mtext + + +def make_dynamic_manual_height_columns_r2000( + content: str, + width: float, + gutter_width: float, + heights: Sequence[float], + dxfattribs=None, +) -> MText: + if not content: + raise ValueError("no content") + mtext = MText.new(dxfattribs=dxfattribs) + mtext.dxf.width = width + columns = MTextColumns.new_dynamic_manual_height_columns( + width, gutter_width, heights + ) + set_dynamic_columns_content(content, mtext, columns) + return mtext + + +def set_dynamic_columns_content( + content: str, mtext: MText, columns: MTextColumns +): + mtext.setup_columns(columns, linked=True) + # temp. hack: assign whole content to the main column + mtext.text = content + # for mt, c in zip(mtext.columns.linked_columns, content[1:]): + # mt.text = c + return mtext + + +# DXF version R2018 + + +def make_static_columns_r2018( + content: Sequence[str], + width: float, + gutter_width: float, + height: float, + dxfattribs=None, +) -> MText: + if len(content) < 1: + raise ValueError("no content") + columns = MTextColumns.new_static_columns( + len(content), width, gutter_width, height + ) + mtext = MText.new(dxfattribs=dxfattribs) + mtext.setup_columns(columns, linked=False) + mtext.text = "".join(add_column_breaks(content)) + return mtext + + +def make_dynamic_auto_height_columns_r2018( + content: str, + width: float, + gutter_width: float, + height: float, + count: int, + dxfattribs=None, +) -> MText: + columns = MTextColumns.new_dynamic_auto_height_columns( + count, width, gutter_width, height + ) + return _make_dynamic_columns_r2018(content, columns, dxfattribs or {}) + + +def make_dynamic_manual_height_columns_r2018( + content: str, + width: float, + gutter_width: float, + heights: Sequence[float], + dxfattribs=None, +) -> MText: + columns = MTextColumns.new_dynamic_manual_height_columns( + width, gutter_width, heights + ) + return _make_dynamic_columns_r2018(content, columns, dxfattribs or {}) + + +def _make_dynamic_columns_r2018( + content: str, columns: MTextColumns, dxfattribs +) -> MText: + if not content: + raise ValueError("no content") + # column count is not required for DXF R2018 + mtext = MText.new(dxfattribs=dxfattribs) + mtext.setup_columns(columns, linked=False) + mtext.text = content + return mtext diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/entities/objectcollection.py b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/entities/objectcollection.py new file mode 100644 index 0000000000000000000000000000000000000000..c56c46e9e546e62195f66ed5476f762c7037e7c1 --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/entities/objectcollection.py @@ -0,0 +1,193 @@ +# Copyright (c) 2018-2023 Manfred Moitzi +# License: MIT License +from __future__ import annotations +from typing import ( + TYPE_CHECKING, + Iterator, + cast, + Optional, + TypeVar, + Generic, +) +from ezdxf.lldxf.const import ( + DXFValueError, + DXFKeyError, + INVALID_NAME_CHARACTERS, +) +from ezdxf.lldxf.validator import make_table_key, is_valid_table_name + +if TYPE_CHECKING: + from ezdxf.document import Drawing + from ezdxf.entities import DXFObject, Dictionary + + +def validate_name(name: str) -> str: + name = name[:255] + if not is_valid_table_name(name): + raise DXFValueError( + f"table name '{name}' contains invalid characters: {INVALID_NAME_CHARACTERS}" + ) + return name + + +T = TypeVar("T", bound="DXFObject") + + +class ObjectCollection(Generic[T]): + """ + Note: + ObjectCollections may contain entries where the name stored in the entity as + "name" attribute diverges from the key in the DICTIONARY object e.g. MLEADERSTYLE + collection may have entries for "Standard" and "Annotative" but both MLEADERSTYLE + objects have the name "Standard". + + """ + + def __init__( + self, + doc: Drawing, + dict_name: str = "ACAD_MATERIAL", + object_type: str = "MATERIAL", + ): + self.doc: Drawing = doc + self.object_dict_name = dict_name + self.object_type: str = object_type + self.object_dict: Dictionary = doc.rootdict.get_required_dict(dict_name) + + def update_object_dict(self) -> None: + self.object_dict = self.doc.rootdict.get_required_dict(self.object_dict_name) + + def create_required_entries(self) -> None: + pass + + def __iter__(self) -> Iterator[tuple[str, T]]: + return self.object_dict.items() + + def __len__(self) -> int: + return len(self.object_dict) + + def __contains__(self, name: str) -> bool: + return self.has_entry(name) + + def __getitem__(self, name: str) -> T: + entry = self.get(name) + if entry is None: + raise DXFKeyError(name) + return entry + + @property + def handle(self) -> str: + """Returns the DXF handle of the DICTIONARY object.""" + return self.object_dict.dxf.handle + + @property + def is_hard_owner(self) -> bool: + """Returns ``True`` if the collection is hard owner of entities. + Hard owned entities will be destroyed by deleting the dictionary. + """ + return self.object_dict.is_hard_owner + + def has_entry(self, name: str) -> bool: + return self.get(name) is not None + + def is_unique_name(self, name: str) -> bool: + name = make_table_key(name) + for entry_name in self.object_dict.keys(): + if make_table_key(entry_name) == name: + return False + return True + + def get(self, name: str, default: Optional[T] = None) -> Optional[T]: + """Get object by name. Object collection entries are case-insensitive. + + Args: + name: object name as string + default: default value + + """ + name = make_table_key(name) + for entry_name, obj in self.object_dict.items(): + if make_table_key(entry_name) == name: + return obj + return default + + def new(self, name: str) -> T: + """Create a new object of type `self.object_type` and store its handle + in the object manager dictionary. Object collection entry names are + case-insensitive and limited to 255 characters. + + Args: + name: name of new object as string + + Returns: + new object of type `self.object_type` + + Raises: + DXFValueError: if object name already exist or is invalid + + (internal API) + + """ + name = validate_name(name) + if not self.is_unique_name(name): + raise DXFValueError(f"{self.object_type} entry {name} already exists.") + return self._new(name, dxfattribs={"name": name}) + + def duplicate_entry(self, name: str, new_name: str) -> T: + """Returns a new table entry `new_name` as copy of `name`, + replaces entry `new_name` if already exist. + + Raises: + DXFValueError: `name` does not exist + + """ + entry = self.get(name) + if entry is None: + raise DXFValueError(f"entry '{name}' does not exist") + new_name = validate_name(new_name) + # remove existing entry + existing_entry = self.get(new_name) + if existing_entry is not None: + self.delete(new_name) + + entitydb = self.doc.entitydb + if entitydb: + new_entry = entitydb.duplicate_entity(entry) + else: # only for testing! + new_entry = entry.copy() + if new_entry.dxf.is_supported("name"): + new_entry.dxf.name = new_name + self.object_dict.add(new_name, new_entry) # type: ignore + owner_handle = self.object_dict.dxf.handle + new_entry.dxf.owner = owner_handle + new_entry.set_reactors([owner_handle]) + return new_entry # type: ignore + + def _new(self, name: str, dxfattribs: dict) -> T: + objects = self.doc.objects + assert objects is not None + + owner = self.object_dict.dxf.handle + dxfattribs["owner"] = owner + obj = objects.add_dxf_object_with_reactor( + self.object_type, dxfattribs=dxfattribs + ) + self.object_dict.add(name, obj) + return cast(T, obj) + + def delete(self, name: str) -> None: + objects = self.doc.objects + assert objects is not None + + obj = self.get(name) # case insensitive + if obj is not None: + # The underlying DICTIONARY is not case-insensitive implemented, + # get real object name if available + if obj.dxf.is_supported("name"): + name = obj.dxf.get("name", name) + self.object_dict.discard(name) + objects.delete_entity(obj) + + def clear(self) -> None: + """Delete all entries.""" + self.object_dict.clear() diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/entities/oleframe.py b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/entities/oleframe.py new file mode 100644 index 0000000000000000000000000000000000000000..e83086b819a94d624353b85ffff101eabed974f5 --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/entities/oleframe.py @@ -0,0 +1,57 @@ +# Copyright (c) 2021-2023, Manfred Moitzi +# License: MIT License +from __future__ import annotations +from typing import TYPE_CHECKING, Optional +from ezdxf.lldxf import const +from . import factory +from .dxfgfx import DXFGraphic +from .dxfentity import SubclassProcessor +from .copy import default_copy, CopyNotSupported +from ezdxf.math import BoundingBox, Vec3 + +if TYPE_CHECKING: + from ezdxf.entities import DXFNamespace + from ezdxf.lldxf.tagwriter import AbstractTagWriter + from ezdxf.lldxf.tags import Tags + + +@factory.register_entity +class OLE2Frame(DXFGraphic): + DXFTYPE = "OLE2FRAME" + MIN_DXF_VERSION_FOR_EXPORT = const.DXF2000 + + def __init__(self) -> None: + super().__init__() + self.acdb_ole2frame: Optional[Tags] = None + + def copy(self, copy_strategy=default_copy) -> OLE2Frame: + raise CopyNotSupported(f"Copying of {self.dxftype()} not supported.") + + def load_dxf_attribs( + self, processor: Optional[SubclassProcessor] = None + ) -> DXFNamespace: + dxf = super().load_dxf_attribs(processor) + if processor: + self.acdb_ole2frame = processor.subclass_by_index(2) + return dxf + + def export_entity(self, tagwriter: AbstractTagWriter) -> None: + """Export entity specific data as DXF tags. (internal API)""" + # Base class and AcDbEntity export is done by parent class + super().export_entity(tagwriter) + if self.acdb_ole2frame is not None: + tagwriter.write_tags(self.acdb_ole2frame) + # XDATA export is done by the parent class + + def bbox(self) -> BoundingBox: + if self.acdb_ole2frame is not None: + v10 = self.acdb_ole2frame.get_first_value(10, None) + v11 = self.acdb_ole2frame.get_first_value(11, None) + if v10 is not None and v11 is not None: + return BoundingBox([Vec3(v10), Vec3(v11)]) + return BoundingBox() + + def binary_data(self) -> bytes: + if self.acdb_ole2frame is not None: + return b"".join(value for code, value in self.acdb_ole2frame if code == 310) + return b"" diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/entities/pattern.py b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/entities/pattern.py new file mode 100644 index 0000000000000000000000000000000000000000..927f84802cc043f7a6a65f192e5664b20e6d84bf --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/entities/pattern.py @@ -0,0 +1,134 @@ +# Copyright (c) 2019-2021 Manfred Moitzi +# License: MIT License +from __future__ import annotations +from typing import Iterable, TYPE_CHECKING, Optional + +from ezdxf.lldxf.tags import Tags, group_tags +from ezdxf.math import Vec2, UVec +from ezdxf.tools import pattern + +if TYPE_CHECKING: + from ezdxf.lldxf.tagwriter import AbstractTagWriter + +__all__ = ["Pattern", "PatternLine"] + + +class Pattern: + def __init__(self, lines: Optional[Iterable[PatternLine]] = None): + self.lines: list[PatternLine] = list(lines) if lines else [] + + @classmethod + def load_tags(cls, tags: Tags) -> Pattern: + grouped_line_tags = group_tags(tags, splitcode=53) + return cls( + PatternLine.load_tags(line_tags) for line_tags in grouped_line_tags + ) + + def clear(self) -> None: + """Delete all pattern definition lines.""" + self.lines = [] + + def add_line( + self, + angle: float = 0, + base_point: UVec = (0, 0), + offset: UVec = (0, 0), + dash_length_items: Optional[Iterable[float]] = None, + ) -> None: + """Create a new pattern definition line and add the line to the + :attr:`Pattern.lines` attribute. + + """ + assert ( + dash_length_items is not None + ), "argument 'dash_length_items' is None" + self.lines.append( + PatternLine(angle, base_point, offset, dash_length_items) + ) + + def export_dxf(self, tagwriter: AbstractTagWriter, force=False) -> None: + if len(self.lines) or force: + tagwriter.write_tag2(78, len(self.lines)) + for line in self.lines: + line.export_dxf(tagwriter) + + def __str__(self) -> str: + return "[" + ",".join(str(line) for line in self.lines) + "]" + + def as_list(self) -> list: + return [line.as_list() for line in self.lines] + + def scale(self, factor: float = 1, angle: float = 0) -> None: + """Scale and rotate pattern. + + Be careful, this changes the base pattern definition, maybe better use + :meth:`Hatch.set_pattern_scale` or :meth:`Hatch.set_pattern_angle`. + + Args: + factor: scaling factor + angle: rotation angle in degrees + + """ + scaled_pattern = pattern.scale_pattern( + self.as_list(), factor=factor, angle=angle + ) + self.clear() + for line in scaled_pattern: + self.add_line(*line) + + +class PatternLine: + def __init__( + self, + angle: float = 0, + base_point: UVec = (0, 0), + offset: UVec = (0, 0), + dash_length_items: Optional[Iterable[float]] = None, + ): + self.angle: float = float(angle) # in degrees + self.base_point: Vec2 = Vec2(base_point) + self.offset: Vec2 = Vec2(offset) + self.dash_length_items: list[float] = ( + [] if dash_length_items is None else list(dash_length_items) + ) + # dash_length_items = [item0, item1, ...] + # item > 0 is line, < 0 is gap, 0.0 = dot; + + @staticmethod + def load_tags(tags: Tags) -> PatternLine: + p = {53: 0, 43: 0, 44: 0, 45: 0, 46: 0} + dash_length_items = [] + for tag in tags: + code, value = tag + if code == 49: + dash_length_items.append(value) + else: + p[code] = value + return PatternLine( + p[53], (p[43], p[44]), (p[45], p[46]), dash_length_items + ) + + def export_dxf(self, tagwriter: AbstractTagWriter) -> None: + write_tag = tagwriter.write_tag2 + write_tag(53, self.angle) + write_tag(43, self.base_point.x) + write_tag(44, self.base_point.y) + write_tag(45, self.offset.x) + write_tag(46, self.offset.y) + write_tag(79, len(self.dash_length_items)) + for item in self.dash_length_items: + write_tag(49, item) + + def __str__(self): + return ( + f"[{self.angle}, {self.base_point}, {self.offset}, " + f"{self.dash_length_items}]" + ) + + def as_list(self) -> list: + return [ + self.angle, + self.base_point, + self.offset, + self.dash_length_items, + ] diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/entities/point.py b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/entities/point.py new file mode 100644 index 0000000000000000000000000000000000000000..febf833cc7eaef328ee062cd7fda3699deff5177 --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/entities/point.py @@ -0,0 +1,145 @@ +# Copyright (c) 2019-2022 Manfred Moitzi +# License: MIT License +from __future__ import annotations +from typing import TYPE_CHECKING, Iterator, Optional +from ezdxf.lldxf import validator +from ezdxf.lldxf.attributes import ( + DXFAttr, + DXFAttributes, + DefSubclass, + XType, + RETURN_DEFAULT, + group_code_mapping, + merge_group_code_mappings, +) +from ezdxf.lldxf.const import DXF12, SUBCLASS_MARKER +from ezdxf.math import Vec3, Matrix44, NULLVEC, Z_AXIS, OCS +from ezdxf.math.transformtools import ( + transform_thickness_and_extrusion_without_ocs, +) +from .dxfentity import base_class, SubclassProcessor +from .dxfgfx import DXFGraphic, acdb_entity, acdb_entity_group_codes +from .factory import register_entity + +if TYPE_CHECKING: + from ezdxf.entities import DXFNamespace + from ezdxf.lldxf.tagwriter import AbstractTagWriter + +__all__ = ["Point"] + +# Point styling is a global setting, stored in the HEADER section as: +# $PDMODE: https://knowledge.autodesk.com/support/autocad/learn-explore/caas/CloudHelp/cloudhelp/2019/ENU/AutoCAD-Core/files/GUID-82F9BB52-D026-4D6A-ABA6-BF29641F459B-htm.html +# One of these values +# 0 = center dot (.) +# 1 = none ( ) +# 2 = cross (+) +# 3 = x-cross (x) +# 4 = tick (') +# Combined with these bit values +# 32 = circle +# 64 = Square +# +# e.g. circle + square+center dot = 32 + 64 + 0 = 96 +# +# $PDSIZE: https://knowledge.autodesk.com/support/autocad/learn-explore/caas/CloudHelp/cloudhelp/2021/ENU/AutoCAD-Core/files/GUID-826CA91D-704B-400B-B784-7FCC9619AFB9-htm.html?st=$PDSIZE +# 0 = 5% of draw area height +# <0 = Specifies a percentage of the viewport size +# >0 = Specifies an absolute size + +acdb_point = DefSubclass( + "AcDbPoint", + { + # Point location: + "location": DXFAttr(10, xtype=XType.point3d, default=NULLVEC), + # Thickness could be negative: + "thickness": DXFAttr(39, default=0, optional=True), + "extrusion": DXFAttr( + 210, + xtype=XType.point3d, + default=Z_AXIS, + optional=True, + validator=validator.is_not_null_vector, + fixer=RETURN_DEFAULT, + ), + # angle of the x-axis for the UCS in effect when the point was drawn; + # used when PDMODE is nonzero: + "angle": DXFAttr(50, default=0, optional=True), + }, +) +acdb_point_group_codes = group_code_mapping(acdb_point) +merged_point_group_codes = merge_group_code_mappings( + acdb_entity_group_codes, acdb_point_group_codes # type: ignore +) + + +@register_entity +class Point(DXFGraphic): + """DXF POINT entity""" + + DXFTYPE = "POINT" + DXFATTRIBS = DXFAttributes(base_class, acdb_entity, acdb_point) + + def load_dxf_attribs( + self, processor: Optional[SubclassProcessor] = None + ) -> DXFNamespace: + """Loading interface. (internal API)""" + # bypass DXFGraphic, loading proxy graphic is skipped! + dxf = super(DXFGraphic, self).load_dxf_attribs(processor) + if processor: + processor.simple_dxfattribs_loader(dxf, merged_point_group_codes) + return dxf + + def export_entity(self, tagwriter: AbstractTagWriter) -> None: + """Export entity specific data as DXF tags. (internal API)""" + super().export_entity(tagwriter) + if tagwriter.dxfversion > DXF12: + tagwriter.write_tag2(SUBCLASS_MARKER, acdb_point.name) + self.dxf.export_dxf_attribs( + tagwriter, ["location", "thickness", "extrusion", "angle"] + ) + + def transform(self, m: Matrix44) -> Point: + """Transform the POINT entity by transformation matrix `m` inplace.""" + self.dxf.location = m.transform(self.dxf.location) + transform_thickness_and_extrusion_without_ocs(self, m) + # ignore dxf.angle! + self.post_transform(m) + return self + + def translate(self, dx: float, dy: float, dz: float) -> Point: + """Optimized POINT translation about `dx` in x-axis, `dy` in y-axis and + `dz` in z-axis. + """ + self.dxf.location = Vec3(dx, dy, dz) + self.dxf.location + # Avoid Matrix44 instantiation if not required: + if self.is_post_transform_required: + self.post_transform(Matrix44.translate(dx, dy, dz)) + return self + + def virtual_entities( + self, pdsize: float = 1, pdmode: int = 0 + ) -> Iterator[DXFGraphic]: + """Yields the graphical representation of POINT as virtual DXF + primitives (LINE and CIRCLE). + The dimensionless point is rendered as zero-length line! + + Check for this condition:: + + e.dxftype() == 'LINE' and e.dxf.start.isclose(e.dxf.end) + + if the rendering engine can't handle zero-length lines. + + Args: + pdsize: point size in drawing units + pdmode: point styling mode + + """ + from ezdxf.render import point + for e in point.virtual_entities(self, pdsize, pdmode): + e.set_source_of_copy(self) + yield e + + def ocs(self) -> OCS: + # WCS entity which supports the "extrusion" attribute in a + # different way! + return OCS() diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/entities/polygon.py b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/entities/polygon.py new file mode 100644 index 0000000000000000000000000000000000000000..157410b942602f89fb44c350a7d94d930753da58 --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/entities/polygon.py @@ -0,0 +1,463 @@ +# Copyright (c) 2019-2024 Manfred Moitzi +# License: MIT License +from __future__ import annotations +from typing import Sequence, Optional, Union, TYPE_CHECKING, Iterator +from typing_extensions import Self +import abc +import copy + +from ezdxf.audit import Auditor, AuditError +from ezdxf.lldxf import const +from ezdxf.lldxf.tags import Tags +from ezdxf import colors +from ezdxf.tools import pattern +from ezdxf.math import Vec3, Matrix44 +from ezdxf.math.transformtools import OCSTransform +from .boundary_paths import BoundaryPaths +from .dxfns import SubclassProcessor, DXFNamespace +from .dxfgfx import DXFGraphic +from .gradient import Gradient +from .pattern import Pattern, PatternLine +from .dxfentity import DXFEntity +from .copy import default_copy + +if TYPE_CHECKING: + from ezdxf import xref + +RGB = colors.RGB + +__all__ = ["DXFPolygon"] + +PATH_CODES = { + 10, + 11, + 12, + 13, + 40, + 42, + 50, + 51, + 42, + 72, + 73, + 74, + 92, + 93, + 94, + 95, + 96, + 97, + 330, +} +PATTERN_DEFINITION_LINE_CODES = {53, 43, 44, 45, 46, 79, 49} + + +class DXFPolygon(DXFGraphic): + """Base class for the HATCH and the MPOLYGON entity.""" + + LOAD_GROUP_CODES: dict[int, Union[str, list[str]]] = {} + + def __init__(self) -> None: + super().__init__() + self.paths = BoundaryPaths() + self.pattern: Optional[Pattern] = None + self.gradient: Optional[Gradient] = None + self.seeds: list[tuple[float, float]] = [] # not supported/exported by MPOLYGON + + def copy_data(self, entity: Self, copy_strategy=default_copy) -> None: + """Copy paths, pattern, gradient, seeds.""" + assert isinstance(entity, DXFPolygon) + entity.paths = copy.deepcopy(self.paths) + entity.pattern = copy.deepcopy(self.pattern) + entity.gradient = copy.deepcopy(self.gradient) + entity.seeds = copy.deepcopy(self.seeds) + + def load_dxf_attribs( + self, processor: Optional[SubclassProcessor] = None + ) -> DXFNamespace: + dxf = super().load_dxf_attribs(processor) + if processor: + # Copy without subclass marker: + tags = Tags(processor.subclasses[2][1:]) + # Removes boundary path data from tags: + tags = self.load_paths(tags) + # Removes gradient data from tags: + tags = self.load_gradient(tags) + # Removes pattern from tags: + tags = self.load_pattern(tags) + # Removes seeds from tags: + tags = self.load_seeds(tags) + + # Load HATCH DXF attributes from remaining tags: + processor.fast_load_dxfattribs( + dxf, self.LOAD_GROUP_CODES, subclass=tags, recover=True + ) + return dxf + + def load_paths(self, tags: Tags) -> Tags: + # Find first group code 91 = count of loops, Spline data also contains + # group code 91! + try: + start_index = tags.tag_index(91) + except const.DXFValueError: + raise const.DXFStructureError( + f"{self.dxftype()}: Missing required DXF tag 'Number of " + f"boundary paths (loops)' (code=91)." + ) + + path_tags = tags.collect_consecutive_tags(PATH_CODES, start=start_index + 1) + if len(path_tags): + self.paths = BoundaryPaths.load_tags(path_tags) + end_index = start_index + len(path_tags) + 1 + del tags[start_index:end_index] + return tags + + def load_pattern(self, tags: Tags) -> Tags: + try: + # Group code 78 = Number of pattern definition lines + index = tags.tag_index(78) + except const.DXFValueError: + # No pattern definition lines found. + return tags + + pattern_tags = tags.collect_consecutive_tags( + PATTERN_DEFINITION_LINE_CODES, start=index + 1 + ) + self.pattern = Pattern.load_tags(pattern_tags) + + # Delete pattern data including length tag 78 + del tags[index : index + len(pattern_tags) + 1] + return tags + + def load_gradient(self, tags: Tags) -> Tags: + try: + index = tags.tag_index(450) + except const.DXFValueError: + # No gradient data present + return tags + + # Gradient data is always at the end of the AcDbHatch subclass. + self.gradient = Gradient.load_tags(tags[index:]) # type: ignore + # Remove gradient data from tags + del tags[index:] + return tags + + def map_resources(self, clone: Self, mapping: xref.ResourceMapper) -> None: + """Translate resources from self to the copied entity.""" + assert isinstance(clone, DXFPolygon) + assert clone.doc is not None + + super().map_resources(clone, mapping) + db = clone.doc.entitydb + for path in clone.paths: + handles = [mapping.get_handle(h) for h in path.source_boundary_objects] + path.source_boundary_objects = [h for h in handles if h in db] + + def load_seeds(self, tags: Tags) -> Tags: + return tags + + @property + def has_solid_fill(self) -> bool: + """``True`` if entity has a solid fill. (read only)""" + return bool(self.dxf.solid_fill) + + @property + def has_pattern_fill(self) -> bool: + """``True`` if entity has a pattern fill. (read only)""" + return not bool(self.dxf.solid_fill) + + @property + def has_gradient_data(self) -> bool: + """``True`` if entity has a gradient fill. A hatch with gradient fill + has also a solid fill. (read only) + """ + return bool(self.gradient) + + @property + def bgcolor(self) -> Optional[RGB]: + """ + Set pattern fill background color as (r, g, b)-tuple, rgb values + in the range [0, 255] (read/write/del) + + usage:: + + r, g, b = entity.bgcolor # get pattern fill background color + entity.bgcolor = (10, 20, 30) # set pattern fill background color + del entity.bgcolor # delete pattern fill background color + + """ + try: + xdata_bgcolor = self.get_xdata("HATCHBACKGROUNDCOLOR") + except const.DXFValueError: + return None + color = xdata_bgcolor.get_first_value(1071, 0) + try: + return colors.int2rgb(int(color)) + except ValueError: # invalid data type + return RGB(0, 0, 0) + + @bgcolor.setter + def bgcolor(self, rgb: RGB) -> None: + color_value = ( + colors.rgb2int(rgb) | -0b111110000000000000000000000000 + ) # it's magic + + self.discard_xdata("HATCHBACKGROUNDCOLOR") + self.set_xdata("HATCHBACKGROUNDCOLOR", [(1071, color_value)]) + + @bgcolor.deleter + def bgcolor(self) -> None: + self.discard_xdata("HATCHBACKGROUNDCOLOR") + + def set_gradient( + self, + color1: RGB = RGB(0, 0, 0), + color2: RGB = RGB(255, 255, 255), + rotation: float = 0.0, + centered: float = 0.0, + one_color: int = 0, + tint: float = 0.0, + name: str = "LINEAR", + ) -> None: + """Sets the gradient fill mode and removes all pattern fill related data, requires + DXF R2004 or newer. A gradient filled hatch is also a solid filled hatch. + + Valid gradient type names are: + + - "LINEAR" + - "CYLINDER" + - "INVCYLINDER" + - "SPHERICAL" + - "INVSPHERICAL" + - "HEMISPHERICAL" + - "INVHEMISPHERICAL" + - "CURVED" + - "INVCURVED" + + Args: + color1: (r, g, b)-tuple for first color, rgb values as int in + the range [0, 255] + color2: (r, g, b)-tuple for second color, rgb values as int in + the range [0, 255] + rotation: rotation angle in degrees + centered: determines whether the gradient is centered or not + one_color: 1 for gradient from `color1` to tinted `color1` + tint: determines the tinted target `color1` for a one color + gradient. (valid range 0.0 to 1.0) + name: name of gradient type, default "LINEAR" + + """ + if self.doc is not None and self.doc.dxfversion < const.DXF2004: + raise const.DXFVersionError("Gradient support requires DXF R2004") + if name and name not in const.GRADIENT_TYPES: + raise const.DXFValueError(f"Invalid gradient type name: {name}") + + self.pattern = None + self.dxf.solid_fill = 1 + self.dxf.pattern_name = "SOLID" + self.dxf.pattern_type = const.HATCH_TYPE_PREDEFINED + + gradient = Gradient() + gradient.color1 = color1 + gradient.color2 = color2 + gradient.one_color = one_color + gradient.rotation = rotation + gradient.centered = centered + gradient.tint = tint + gradient.name = name + self.gradient = gradient + + def set_pattern_fill( + self, + name: str, + color: int = 7, + angle: float = 0.0, + scale: float = 1.0, + double: int = 0, + style: int = 1, + pattern_type: int = 1, + definition=None, + ) -> None: + """Sets the pattern fill mode and removes all gradient related data. + + The pattern definition should be designed for a scale factor 1 and a rotation + angle of 0 degrees. The predefined hatch pattern like "ANSI33" are scaled + according to the HEADER variable $MEASUREMENT for ISO measurement (m, cm, ... ), + or imperial units (in, ft, ...), this replicates the behavior of BricsCAD. + + Args: + name: pattern name as string + color: pattern color as :ref:`ACI` + angle: pattern rotation angle in degrees + scale: pattern scale factor + double: double size flag + style: hatch style (0 = normal; 1 = outer; 2 = ignore) + pattern_type: pattern type (0 = user-defined; + 1 = predefined; 2 = custom) + definition: list of definition lines and a definition line is a + 4-tuple [angle, base_point, offset, dash_length_items], + see :meth:`set_pattern_definition` + + """ + self.gradient = None + self.dxf.solid_fill = 0 + self.dxf.pattern_name = name + self.dxf.color = color + self.dxf.pattern_scale = float(scale) + self.dxf.pattern_angle = float(angle) + self.dxf.pattern_double = int(double) + self.dxf.hatch_style = style + self.dxf.pattern_type = pattern_type + + if definition is None: + measurement = 1 + if self.doc: + measurement = self.doc.header.get("$MEASUREMENT", measurement) + predefined_pattern = ( + pattern.ISO_PATTERN if measurement else pattern.IMPERIAL_PATTERN + ) + definition = predefined_pattern.get(name, predefined_pattern["ANSI31"]) + self.set_pattern_definition( + definition, + factor=self.dxf.pattern_scale, + angle=self.dxf.pattern_angle, + ) + + def set_pattern_definition( + self, lines: Sequence, factor: float = 1, angle: float = 0 + ) -> None: + """Setup pattern definition by a list of definition lines and the + definition line is a 4-tuple (angle, base_point, offset, dash_length_items). + The pattern definition should be designed for a pattern scale factor of 1 and + a pattern rotation angle of 0. + + - angle: line angle in degrees + - base-point: (x, y) tuple + - offset: (dx, dy) tuple + - dash_length_items: list of dash items (item > 0 is a line, + item < 0 is a gap and item == 0.0 is a point) + + Args: + lines: list of definition lines + factor: pattern scale factor + angle: rotation angle in degrees + + """ + if factor != 1 or angle: + lines = pattern.scale_pattern(lines, factor=factor, angle=angle) + self.pattern = Pattern( + [PatternLine(line[0], line[1], line[2], line[3]) for line in lines] + ) + + def set_pattern_scale(self, scale: float) -> None: + """Sets the pattern scale factor and scales the pattern definition. + + The method always starts from the original base scale, the + :code:`set_pattern_scale(1)` call resets the pattern scale to the original + appearance as defined by the pattern designer, but only if the pattern attribute + :attr:`dxf.pattern_scale` represents the actual scale, it cannot + restore the original pattern scale from the pattern definition itself. + + Args: + scale: pattern scale factor + + """ + if not self.has_pattern_fill: + return + dxf = self.dxf + self.pattern.scale(factor=1.0 / dxf.pattern_scale * scale) # type: ignore + dxf.pattern_scale = scale + + def set_pattern_angle(self, angle: float) -> None: + """Sets the pattern rotation angle and rotates the pattern definition. + + The method always starts from the original base rotation of 0, the + :code:`set_pattern_angle(0)` call resets the pattern rotation angle to the + original appearance as defined by the pattern designer, but only if the + pattern attribute :attr:`dxf.pattern_angle` represents the actual pattern + rotation, it cannot restore the original rotation angle from the + pattern definition itself. + + Args: + angle: pattern rotation angle in degrees + + """ + if not self.has_pattern_fill: + return + dxf = self.dxf + self.pattern.scale(angle=angle - dxf.pattern_angle) # type: ignore + dxf.pattern_angle = angle % 360.0 + + def transform(self, m: Matrix44) -> DXFPolygon: + """Transform entity by transformation matrix `m` inplace.""" + dxf = self.dxf + ocs = OCSTransform(dxf.extrusion, m) + + elevation = Vec3(dxf.elevation).z + self.paths.transform(ocs, elevation=elevation) + dxf.elevation = ocs.transform_vertex(Vec3(0, 0, elevation)).replace( + x=0.0, y=0.0 + ) + dxf.extrusion = ocs.new_extrusion + if self.pattern: + # todo: non-uniform scaling + # take the scaling factor of the x-axis + factor = ocs.transform_length((self.dxf.pattern_scale, 0, 0)) + angle = ocs.transform_deg_angle(self.dxf.pattern_angle) + # todo: non-uniform pattern scaling is not supported + self.pattern.scale(factor, angle) + self.dxf.pattern_scale = factor + self.dxf.pattern_angle = angle + self.post_transform(m) + return self + + def triangulate(self, max_sagitta, min_segments=16) -> Iterator[Sequence[Vec3]]: + """Triangulate the HATCH/MPOLYGON in OCS coordinates, Elevation and offset is + applied to all vertices. + + Args: + max_sagitta: maximum distance from the center of the curve to the + center of the line segment between two approximation points to determine + if a segment should be subdivided. + min_segments: minimum segment count per Bézier curve + + .. versionadded:: 1.1 + + """ + from ezdxf import path + + elevation = Vec3(self.dxf.elevation) + if self.dxf.hasattr("offset"): # MPOLYGON + elevation += Vec3(self.dxf.offset) # offset in OCS? + boundary_paths = [path.from_hatch_boundary_path(p) for p in self.paths] + for vertices in path.triangulate(boundary_paths, max_sagitta, min_segments): + yield tuple(elevation + v for v in vertices) + + def render_pattern_lines(self) -> Iterator[tuple[Vec3, Vec3]]: + """Yields the pattern lines in WCS coordinates. + + .. versionadded:: 1.1 + + """ + from ezdxf.render import hatching + + if self.has_pattern_fill: + try: + yield from hatching.hatch_entity(self) + except hatching.HatchingError: + return + + @abc.abstractmethod + def set_solid_fill(self, color: int = 7, style: int = 1, rgb: Optional[RGB] = None): + ... + + def audit(self, auditor: Auditor) -> None: + super().audit(auditor) + if not self.is_alive: + return + if not self.paths.is_valid(): + auditor.fixed_error( + code=AuditError.INVALID_HATCH_BOUNDARY_PATH, + message=f"Deleted entity {str(self)} containing invalid boundary paths." + ) + auditor.trash(self) \ No newline at end of file diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/entities/polyline.py b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/entities/polyline.py new file mode 100644 index 0000000000000000000000000000000000000000..cb4fe971cf71b118655dc29afad9895f62c7ad91 --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/entities/polyline.py @@ -0,0 +1,1164 @@ +# Copyright (c) 2019-2024 Manfred Moitzi +# License: MIT License +from __future__ import annotations +from typing import ( + TYPE_CHECKING, + Iterable, + Iterator, + Union, + cast, + Sequence, + Optional, +) +from itertools import chain +from ezdxf.lldxf import validator +from ezdxf.lldxf.attributes import ( + DXFAttr, + DXFAttributes, + DefSubclass, + XType, + RETURN_DEFAULT, + group_code_mapping, + merge_group_code_mappings, +) +from ezdxf.lldxf.const import DXF12, SUBCLASS_MARKER, VERTEXNAMES +from ezdxf.lldxf import const +from ezdxf.math import Vec3, Matrix44, NULLVEC, Z_AXIS, UVec +from ezdxf.math.transformtools import OCSTransform, NonUniformScalingError +from ezdxf.render.polyline import virtual_polyline_entities +from ezdxf.explode import explode_entity +from ezdxf.query import EntityQuery +from ezdxf.entities import factory +from ezdxf.audit import AuditError +from .dxfentity import base_class, SubclassProcessor +from .dxfgfx import DXFGraphic, acdb_entity, acdb_entity_group_codes +from .lwpolyline import FORMAT_CODES +from .subentity import LinkedEntities + +if TYPE_CHECKING: + from ezdxf.audit import Auditor + from ezdxf.entities import DXFNamespace, Line, Arc, Face3d + from ezdxf.layouts import BaseLayout + from ezdxf.lldxf.tagwriter import AbstractTagWriter + from ezdxf.eztypes import FaceType + +__all__ = ["Polyline", "Polyface", "Polymesh"] + +acdb_polyline = DefSubclass( + "AcDbPolylineDummy", + { + # AcDbPolylineDummy is a temporary solution while loading + # Group code 66 is obsolete - Vertices follow flag + # Elevation is a "dummy" point. The x and y values are always 0, + # and the Z value is the polyline elevation: + "elevation": DXFAttr(10, xtype=XType.point3d, default=NULLVEC), + # Polyline flags (bit-coded): + # 1 = closed POLYLINE or a POLYMESH closed in the M direction + # 2 = Curve-fit vertices have been added + # 4 = Spline-fit vertices have been added + # 8 = 3D POLYLINE + # 16 = POLYMESH + # 32 = POLYMESH is closed in the N direction + # 64 = POLYFACE + # 128 = linetype pattern is generated continuously around the vertices + "flags": DXFAttr(70, default=0), + "default_start_width": DXFAttr(40, default=0, optional=True), + "default_end_width": DXFAttr(41, default=0, optional=True), + "m_count": DXFAttr( + 71, + default=0, + optional=True, + validator=validator.is_greater_or_equal_zero, + fixer=RETURN_DEFAULT, + ), + "n_count": DXFAttr( + 72, + default=0, + optional=True, + validator=validator.is_greater_or_equal_zero, + fixer=RETURN_DEFAULT, + ), + "m_smooth_density": DXFAttr(73, default=0, optional=True), + "n_smooth_density": DXFAttr(74, default=0, optional=True), + # Curves and smooth surface type: + # 0 = No smooth surface fitted + # 5 = Quadratic B-spline surface + # 6 = Cubic B-spline surface + # 8 = Bezier surface + "smooth_type": DXFAttr( + 75, + default=0, + optional=True, + validator=validator.is_one_of({0, 5, 6, 8}), + fixer=RETURN_DEFAULT, + ), + "thickness": DXFAttr(39, default=0, optional=True), + "extrusion": DXFAttr( + 210, + xtype=XType.point3d, + default=Z_AXIS, + optional=True, + validator=validator.is_not_null_vector, + fixer=RETURN_DEFAULT, + ), + }, +) +acdb_polyline_group_codes = group_code_mapping(acdb_polyline, ignore=(66,)) +merged_polyline_group_codes = merge_group_code_mappings( + acdb_entity_group_codes, acdb_polyline_group_codes # type: ignore +) + + +# Notes to SEQEND: +# todo: A loaded entity should have a valid SEQEND, a POLYLINE without vertices +# makes no sense - has to be tested +# +# A virtual POLYLINE does not need a SEQEND, because it can not be exported, +# therefore the SEQEND entity should not be created in the +# DXFEntity.post_new_hook() method. +# +# A bounded POLYLINE needs a SEQEND to valid at export, therefore the +# LinkedEntities.post_bind_hook() method creates a new SEQEND after binding +# the entity to a document if needed. + + +@factory.register_entity +class Polyline(LinkedEntities): + """DXF POLYLINE entity + + The POLYLINE entity is hard owner of its VERTEX entities and the SEQEND entity: + + VERTEX.dxf.owner == POLYLINE.dxf.handle + SEQEND.dxf.owner == POLYLINE.dxf.handle + + """ + + DXFTYPE = "POLYLINE" + DXFATTRIBS = DXFAttributes(base_class, acdb_entity, acdb_polyline) + # polyline flags (70) + CLOSED = 1 + MESH_CLOSED_M_DIRECTION = CLOSED + CURVE_FIT_VERTICES_ADDED = 2 + SPLINE_FIT_VERTICES_ADDED = 4 + POLYLINE_3D = 8 + POLYMESH = 16 + MESH_CLOSED_N_DIRECTION = 32 + POLYFACE = 64 + GENERATE_LINETYPE_PATTERN = 128 + # polymesh smooth type (75) + NO_SMOOTH = 0 + QUADRATIC_BSPLINE = 5 + CUBIC_BSPLINE = 6 + BEZIER_SURFACE = 8 + ANY3D = POLYLINE_3D | POLYMESH | POLYFACE + + @property + def vertices(self) -> list[DXFVertex]: + return self._sub_entities # type: ignore + + def load_dxf_attribs( + self, processor: Optional[SubclassProcessor] = None + ) -> DXFNamespace: + """Loading interface. (internal API)""" + # bypass DXFGraphic, loading proxy graphic is skipped! + dxf = super(DXFGraphic, self).load_dxf_attribs(processor) + if processor: + processor.simple_dxfattribs_loader(dxf, merged_polyline_group_codes) + return dxf + + def export_dxf(self, tagwriter: AbstractTagWriter): + """Export POLYLINE entity and all linked entities: VERTEX, SEQEND.""" + super().export_dxf(tagwriter) + # export sub-entities + self.process_sub_entities(lambda e: e.export_dxf(tagwriter)) + + def export_entity(self, tagwriter: AbstractTagWriter) -> None: + """Export POLYLINE specific data as DXF tags.""" + super().export_entity(tagwriter) + if tagwriter.dxfversion > DXF12: + tagwriter.write_tag2(SUBCLASS_MARKER, self.get_mode()) + + tagwriter.write_tag2(66, 1) # Vertices follow + self.dxf.export_dxf_attribs( + tagwriter, + [ + "elevation", + "flags", + "default_start_width", + "default_end_width", + "m_count", + "n_count", + "m_smooth_density", + "n_smooth_density", + "smooth_type", + "thickness", + "extrusion", + ], + ) + + def on_layer_change(self, layer: str): + """Event handler for layer change. Changes also the layer of all vertices. + + Args: + layer: new layer as string + + """ + for v in self.vertices: + v.dxf.layer = layer + + def on_linetype_change(self, linetype: str): + """Event handler for linetype change. Changes also the linetype of all + vertices. + + Args: + linetype: new linetype as string + + """ + for v in self.vertices: + v.dxf.linetype = linetype + + def get_vertex_flags(self) -> int: + return const.VERTEX_FLAGS[self.get_mode()] + + def get_mode(self) -> str: + """Returns POLYLINE type as string: + + - "AcDb2dPolyline" + - "AcDb3dPolyline" + - "AcDbPolygonMesh" + - "AcDbPolyFaceMesh" + + """ + if self.is_3d_polyline: + return "AcDb3dPolyline" + elif self.is_polygon_mesh: + return "AcDbPolygonMesh" + elif self.is_poly_face_mesh: + return "AcDbPolyFaceMesh" + else: + return "AcDb2dPolyline" + + @property + def is_2d_polyline(self) -> bool: + """``True`` if POLYLINE is a 2D polyline.""" + return self.dxf.flags & self.ANY3D == 0 + + @property + def is_3d_polyline(self) -> bool: + """``True`` if POLYLINE is a 3D polyline.""" + return bool(self.dxf.flags & self.POLYLINE_3D) + + @property + def is_polygon_mesh(self) -> bool: + """``True`` if POLYLINE is a polygon mesh, see :class:`Polymesh`""" + return bool(self.dxf.flags & self.POLYMESH) + + @property + def is_poly_face_mesh(self) -> bool: + """``True`` if POLYLINE is a poly face mesh, see :class:`Polyface`""" + return bool(self.dxf.flags & self.POLYFACE) + + @property + def is_closed(self) -> bool: + """``True`` if POLYLINE is closed.""" + return bool(self.dxf.flags & self.CLOSED) + + @property + def is_m_closed(self) -> bool: + """``True`` if POLYLINE (as :class:`Polymesh`) is closed in m + direction. + """ + return bool(self.dxf.flags & self.MESH_CLOSED_M_DIRECTION) + + @property + def is_n_closed(self) -> bool: + """``True`` if POLYLINE (as :class:`Polymesh`) is closed in n + direction. + """ + return bool(self.dxf.flags & self.MESH_CLOSED_N_DIRECTION) + + @property + def has_arc(self) -> bool: + """Returns ``True`` if 2D POLYLINE has an arc segment.""" + if self.is_2d_polyline: + return any( + v.dxf.hasattr("bulge") and bool(v.dxf.bulge) for v in self.vertices + ) + else: + return False + + @property + def has_width(self) -> bool: + """Returns ``True`` if 2D POLYLINE has default width values or any + segment with width attributes. + """ + if self.is_2d_polyline: + if self.dxf.hasattr("default_start_width") and bool( + self.dxf.default_start_width + ): + return True + if self.dxf.hasattr("default_end_width") and bool( + self.dxf.default_end_width + ): + return True + for v in self.vertices: + if v.dxf.hasattr("start_width") and bool(v.dxf.start_width): + return True + if v.dxf.hasattr("end_width") and bool(v.dxf.end_width): + return True + return False + + def m_close(self, status=True) -> None: + """Close POLYMESH in m direction if `status` is ``True`` (also closes + POLYLINE), clears closed state if `status` is ``False``. + """ + self.set_flag_state(self.MESH_CLOSED_M_DIRECTION, status, name="flags") + + def n_close(self, status=True) -> None: + """Close POLYMESH in n direction if `status` is ``True``, clears closed + state if `status` is ``False``. + """ + self.set_flag_state(self.MESH_CLOSED_N_DIRECTION, status, name="flags") + + def close(self, m_close=True, n_close=False) -> None: + """Set closed state of POLYMESH and POLYLINE in m direction and n + direction. ``True`` set closed flag, ``False`` clears closed flag. + """ + self.m_close(m_close) + self.n_close(n_close) + + def __len__(self) -> int: + """Returns count of :class:`Vertex` entities.""" + return len(self.vertices) + + def __getitem__(self, pos) -> DXFVertex: + """Get :class:`Vertex` entity at position `pos`, supports list-like slicing.""" + return self.vertices[pos] + + def points(self) -> Iterator[Vec3]: + """Returns all polyline points in :ref:`OCS` or :ref:`WCS` coordinates as + :class:`~ezdxf.math.Vec3`. + + These are the raw location coordinates stored in the :class:`Vertex` entities. + A separately stored elevation value will not be applied. The points of + 2D polylines are :ref:`OCS` coordinates other polyline types return :ref:`WCS` + coordinates. + """ + return (vertex.dxf.location for vertex in self.vertices) + + def points_in_wcs(self) -> Iterator[Vec3]: + """Returns all polyline points in :ref:`WCS` coordinates as + :class:`~ezdxf.math.Vec3`. + + .. versionadded:: 1.4 + + """ + points = self.points() + if not self.is_2d_polyline: + return points + + elevation: float = self.dxf.elevation.z + if elevation: + points = (p.replace(z=elevation) for p in points) + + if Z_AXIS.isclose(self.dxf.extrusion): # OCS == WCS + return points + + ocs = self.ocs() + return ocs.points_to_wcs(points) + + def _append_vertex(self, vertex: DXFVertex) -> None: + self.vertices.append(vertex) + + def append_vertices(self, points: Iterable[UVec], dxfattribs=None) -> None: + """Append multiple :class:`Vertex` entities at location `points`. + + Args: + points: iterable of (x, y[, z]) tuples + dxfattribs: dict of DXF attributes for the VERTEX objects + + """ + dxfattribs = dict(dxfattribs or {}) + for vertex in self._build_dxf_vertices(points, dxfattribs): + self._append_vertex(vertex) + + def append_formatted_vertices( + self, + points: Iterable[Sequence], + format: str = "xy", + dxfattribs=None, + ) -> None: + """Append multiple :class:`Vertex` entities at location `points`. + + Args: + points: iterable of (x, y, [start_width, [end_width, [bulge]]]) + tuple + format: format string, default is "xy", see: :ref:`format codes` + dxfattribs: dict of DXF attributes for the VERTEX objects + + """ + dxfattribs = dict(dxfattribs or {}) + dxfattribs["flags"] = dxfattribs.get("flags", 0) | self.get_vertex_flags() + + # same DXF attributes for VERTEX entities as for POLYLINE + dxfattribs["owner"] = self.dxf.owner + dxfattribs["layer"] = self.dxf.layer + if self.dxf.hasattr("linetype"): + dxfattribs["linetype"] = self.dxf.linetype + + for point in points: + attribs = vertex_attribs(point, format) + attribs.update(dxfattribs) + vertex = cast(DXFVertex, self._new_compound_entity("VERTEX", attribs)) + self._append_vertex(vertex) + + def append_vertex(self, point: UVec, dxfattribs=None) -> None: + """Append a single :class:`Vertex` entity at location `point`. + + Args: + point: as (x, y[, z]) tuple + dxfattribs: dict of DXF attributes for :class:`Vertex` class + + """ + dxfattribs = dict(dxfattribs or {}) + for vertex in self._build_dxf_vertices([point], dxfattribs): + self._append_vertex(vertex) + + def insert_vertices( + self, pos: int, points: Iterable[UVec], dxfattribs=None + ) -> None: + """Insert vertices `points` into :attr:`Polyline.vertices` list + at insertion location `pos` . + + Args: + pos: insertion position of list :attr:`Polyline.vertices` + points: list of (x, y[, z]) tuples + dxfattribs: dict of DXF attributes for :class:`Vertex` class + + """ + dxfattribs = dict(dxfattribs or {}) + self.vertices[pos:pos] = list(self._build_dxf_vertices(points, dxfattribs)) + + def _build_dxf_vertices( + self, points: Iterable[UVec], dxfattribs: dict + ) -> Iterator[DXFVertex]: + """Converts point (x, y, z) tuples into DXFVertex objects. + + Args: + points: list of (x, y, z)-tuples + dxfattribs: dict of DXF attributes + """ + dxfattribs["flags"] = dxfattribs.get("flags", 0) | self.get_vertex_flags() + + # same DXF attributes for VERTEX entities as for POLYLINE + dxfattribs["owner"] = self.dxf.handle + dxfattribs["layer"] = self.dxf.layer + if self.dxf.hasattr("linetype"): + dxfattribs["linetype"] = self.dxf.linetype + for point in points: + dxfattribs["location"] = Vec3(point) + yield cast(DXFVertex, self._new_compound_entity("VERTEX", dxfattribs)) + + def cast(self) -> Union[Polyline, Polymesh, Polyface]: + mode = self.get_mode() + if mode == "AcDbPolyFaceMesh": + return Polyface.from_polyline(self) + elif mode == "AcDbPolygonMesh": + return Polymesh.from_polyline(self) + else: + return self + + def transform(self, m: Matrix44) -> Polyline: + """Transform the POLYLINE entity by transformation matrix `m` inplace. + + A non-uniform scaling is not supported if a 2D POLYLINE contains + circular arc segments (bulges). + + Args: + m: transformation :class:`~ezdxf.math.Matrix44` + + Raises: + NonUniformScalingError: for non-uniform scaling of 2D POLYLINE + containing circular arc segments (bulges) + + """ + + def _ocs_locations(elevation): + for vertex in self.vertices: + location = vertex.dxf.location + if elevation is not None: + # Older DXF versions may not have written the z-axis, so + # replace existing z-axis by the elevation value. + location = location.replace(z=elevation) + yield location + + if self.is_2d_polyline: + dxf = self.dxf + ocs = OCSTransform(self.dxf.extrusion, m) + if not ocs.scale_uniform and self.has_arc: + raise NonUniformScalingError( + "2D POLYLINE containing arcs (bulges) does not support non uniform scaling" + ) + # The caller function has to catch this exception and explode the + # 2D POLYLINE into LINE and ELLIPSE entities. + if dxf.hasattr("elevation"): + z_axis = dxf.elevation.z + else: + z_axis = None + vertices = [ + ocs.transform_vertex(vertex) for vertex in _ocs_locations(z_axis) + ] + + # All vertices of a 2D polyline must have the same z-axis, which is + # the elevation of the polyline: + if vertices: + dxf.elevation = vertices[0].replace(x=0.0, y=0.0) + + for vertex, location in zip(self.vertices, vertices): + vdxf = vertex.dxf + vdxf.location = location + if vdxf.hasattr("start_width"): + vdxf.start_width = ocs.transform_width(vdxf.start_width) + if vdxf.hasattr("end_width"): + vdxf.end_width = ocs.transform_width(vdxf.end_width) + + if dxf.hasattr("default_start_width"): + dxf.default_start_width = ocs.transform_width(dxf.default_start_width) + if dxf.hasattr("default_end_width"): + dxf.default_end_width = ocs.transform_width(dxf.default_end_width) + if dxf.hasattr("thickness"): + dxf.thickness = ocs.transform_thickness(dxf.thickness) + + dxf.extrusion = ocs.new_extrusion + else: + for vertex in self.vertices: + vertex.transform(m) + self.post_transform(m) + return self + + def explode(self, target_layout: Optional[BaseLayout] = None) -> EntityQuery: + """Explode the POLYLINE entity as DXF primitives (LINE, ARC or 3DFACE) + into the target layout, if the target layout is ``None``, the target + layout is the layout of the POLYLINE entity. + + Returns an :class:`~ezdxf.query.EntityQuery` container referencing all + DXF primitives. + + Args: + target_layout: target layout for DXF primitives, ``None`` for same + layout as source entity. + + """ + return explode_entity(self, target_layout) + + def virtual_entities(self) -> Iterator[Union[Line, Arc, Face3d]]: + """Yields the graphical representation of POLYLINE as virtual DXF + primitives (LINE, ARC or 3DFACE). + + These virtual entities are located at the original location, but are not + stored in the entity database, have no handle and are not assigned to + any layout. + + """ + for e in virtual_polyline_entities(self): + e.set_source_of_copy(self) + yield e + + def audit(self, auditor: Auditor) -> None: + """Audit and repair the POLYLINE entity.""" + + def audit_sub_entity(entity): + entity.doc = doc # grant same document + dxf = entity.dxf + if dxf.owner != owner: + dxf.owner = owner + if dxf.layer != layer: + dxf.layer = layer + + doc = self.doc + owner = self.dxf.handle + layer = self.dxf.layer + for vertex in self.vertices: + audit_sub_entity(vertex) + + seqend = self.seqend + if seqend: + audit_sub_entity(seqend) + elif doc: + self.new_seqend() + auditor.fixed_error( + code=AuditError.MISSING_REQUIRED_SEQEND, + message=f"Created required SEQEND entity for {str(self)}.", + dxf_entity=self, + ) + + +class Polyface(Polyline): + """ + PolyFace structure: + + POLYLINE + AcDbEntity + AcDbPolyFaceMesh + VERTEX - Vertex + AcDbEntity + AcDbVertex + AcDbPolyFaceMeshVertex + VERTEX - Face + AcDbEntity + AcDbFaceRecord + SEQEND + + Order of mesh_vertices and face_records is important (DXF R2010): + + 1. mesh_vertices: the polyface mesh vertex locations + 2. face_records: indices of the face forming vertices + + """ + + @classmethod + def from_polyline(cls, polyline: Polyline) -> Polyface: + polyface = cls.shallow_copy(polyline) + polyface._sub_entities = polyline._sub_entities + polyface.seqend = polyline.seqend + # do not destroy polyline - all data would be lost + return polyface + + def append_face(self, face: FaceType, dxfattribs=None) -> None: + """Append a single face. A `face` is a sequence of (x, y, z) tuples. + + Args: + face: sequence of (x, y, z) tuples + dxfattribs: dict of DXF attributes for the VERTEX objects + + """ + self.append_faces([face], dxfattribs) + + def _points_to_dxf_vertices( + self, points: Iterable[UVec], dxfattribs + ) -> list[DXFVertex]: + """Convert (x, y, z) tuples into DXFVertex objects. + + Args: + points: sequence of (x, y, z) tuples + dxfattribs: dict of DXF attributes for the VERTEX entity + + """ + dxfattribs["flags"] = dxfattribs.get("flags", 0) | self.get_vertex_flags() + + # All vertices have to be on the same layer as the POLYLINE entity: + dxfattribs["layer"] = self.get_dxf_attrib("layer", "0") + vertices: list[DXFVertex] = [] + for point in points: + dxfattribs["location"] = point + vertices.append( + cast("DXFVertex", self._new_compound_entity("VERTEX", dxfattribs)) + ) + return vertices + + def append_faces(self, faces: Iterable[FaceType], dxfattribs=None) -> None: + """Append multiple `faces`. `faces` is a list of single faces and a + single face is a sequence of (x, y, z) tuples. + + Args: + faces: iterable of sequences of (x, y, z) tuples + dxfattribs: dict of DXF attributes for the VERTEX entity + + """ + + def new_face_record(): + dxfattribs["flags"] = const.VTX_3D_POLYFACE_MESH_VERTEX + # location of face record vertex is always (0, 0, 0) + dxfattribs["location"] = Vec3() + return cast(DXFVertex, self._new_compound_entity("VERTEX", dxfattribs)) + + dxfattribs = dict(dxfattribs or {}) + + existing_vertices, existing_faces = self.indexed_faces() + new_faces: list[FaceProxy] = [] + for face in faces: + face_mesh_vertices = self._points_to_dxf_vertices(face, {}) + # Index of first new vertex + index = len(existing_vertices) + existing_vertices.extend(face_mesh_vertices) + face_record = FaceProxy(new_face_record(), existing_vertices) + + # Set VERTEX indices: + face_record.indices = tuple(range(index, index + len(face_mesh_vertices))) + new_faces.append(face_record) + self._rebuild(chain(existing_faces, new_faces)) + + def _rebuild(self, faces: Iterable[FaceProxy], precision: int = 6) -> None: + """Build a valid POLYFACE structure from `faces`. + + Args: + faces: iterable of FaceProxy objects. + + """ + polyface_builder = PolyfaceBuilder(faces, precision=precision) + # Why is list[DXFGraphic] incompatible to list[DXFVertex] when DXFVertex + # is a subclass of DXFGraphic? + self._sub_entities = polyface_builder.get_vertices() # type: ignore + self.update_count(polyface_builder.nvertices, polyface_builder.nfaces) + + def update_count(self, nvertices: int, nfaces: int) -> None: + self.dxf.m_count = nvertices + self.dxf.n_count = nfaces + + def optimize(self, precision: int = 6) -> None: + """Rebuilds the :class:`Polyface` by merging vertices with nearly same vertex + locations. + + Args: + precision: floating point precision for determining identical + vertex locations + + """ + vertices, faces = self.indexed_faces() + self._rebuild(faces, precision) + + def faces(self) -> Iterator[list[DXFVertex]]: + """Iterable of all faces, a face is a tuple of vertices. + + Returns: + list of [vertex, vertex, vertex, [vertex,] face_record] + + """ + _, faces = self.indexed_faces() + for face in faces: + face_vertices = list(face) + face_vertices.append(face.face_record) + yield face_vertices + + def indexed_faces(self) -> tuple[list[DXFVertex], Iterator[FaceProxy]]: + """Returns a list of all vertices and a generator of FaceProxy() + objects. + + (internal API) + """ + vertices: list[DXFVertex] = [] + face_records: list[DXFVertex] = [] + for vertex in self.vertices: + (vertices if vertex.is_poly_face_mesh_vertex else face_records).append( + vertex + ) + + faces = (FaceProxy(face_record, vertices) for face_record in face_records) + return vertices, faces + + +class FaceProxy: + """Represents a single face of a polyface structure. (internal class) + + vertices: + + List of all polyface vertices. + + face_record: + + The face forming vertex of type ``AcDbFaceRecord``, contains the indices + to the face building vertices. Indices of the DXF structure are 1-based + and a negative index indicates the beginning of an invisible edge. + Face.face_record.dxf.color determines the color of the face. + + indices: + + Indices to the face building vertices as tuple. This indices are 0-base + and are used to get vertices from the list `Face.vertices`. + + """ + + __slots__ = ("vertices", "face_record", "indices") + + def __init__(self, face_record: DXFVertex, vertices: Sequence[DXFVertex]): + """Returns iterable of all face vertices as :class:`Vertex` entities.""" + self.vertices: Sequence[DXFVertex] = vertices + self.face_record: DXFVertex = face_record + self.indices: Sequence[int] = self._indices() + + def __len__(self) -> int: + """Returns count of face vertices (without face_record).""" + return len(self.indices) + + def __getitem__(self, pos: int) -> DXFVertex: + """Returns :class:`Vertex` at position `pos`. + + Args: + pos: vertex position 0-based + + """ + return self.vertices[self.indices[pos]] + + def __iter__(self) -> Iterator["DXFVertex"]: + return (self.vertices[index] for index in self.indices) + + def points(self) -> Iterator[UVec]: + """Returns iterable of all face vertex locations as (x, y, z)-tuples.""" + return (vertex.dxf.location for vertex in self) + + def _raw_indices(self) -> Iterable[int]: + return (self.face_record.get_dxf_attrib(name, 0) for name in const.VERTEXNAMES) + + def _indices(self) -> Sequence[int]: + return tuple(abs(index) - 1 for index in self._raw_indices() if index != 0) + + def is_edge_visible(self, pos: int) -> bool: + """Returns ``True`` if edge starting at vertex `pos` is visible. + + Args: + pos: vertex position 0-based + + """ + name = const.VERTEXNAMES[pos] + return self.face_record.get_dxf_attrib(name) > 0 + + +class PolyfaceBuilder: + """Optimized POLYFACE builder. (internal class)""" + + def __init__(self, faces: Iterable[FaceProxy], precision: int = 6): + self.precision: int = precision + self.faces: list[DXFVertex] = [] + self.vertices: list[DXFVertex] = [] + self.index_mapping: dict[tuple[float, ...], int] = {} + self.build(faces) + + @property + def nvertices(self) -> int: + return len(self.vertices) + + @property + def nfaces(self) -> int: + return len(self.faces) + + def get_vertices(self) -> list[DXFVertex]: + vertices = self.vertices[:] + vertices.extend(self.faces) + return vertices + + def build(self, faces: Iterable[FaceProxy]) -> None: + for face in faces: + face_record = face.face_record + for vertex, name in zip(face, VERTEXNAMES): + index = self.add(vertex) + # preserve sign of old index value + sign = -1 if face_record.dxf.get(name, 0) < 0 else +1 + face_record.dxf.set(name, (index + 1) * sign) + self.faces.append(face_record) + + def add(self, vertex: DXFVertex) -> int: + def key(point): + return tuple((round(coord, self.precision) for coord in point)) + + location = key(vertex.dxf.location) + try: + return self.index_mapping[location] + except KeyError: + index = len(self.vertices) + self.index_mapping[location] = index + self.vertices.append(vertex) + return index + + +class Polymesh(Polyline): + """ + PolyMesh structure: + + POLYLINE + AcDbEntity + AcDbPolygonMesh + VERTEX + AcDbEntity + AcDbVertex + AcDbPolygonMeshVertex + """ + + @classmethod + def from_polyline(cls, polyline: Polyline) -> Polymesh: + polymesh = cls.shallow_copy(polyline) + polymesh._sub_entities = polyline._sub_entities + polymesh.seqend = polyline.seqend + return polymesh + + def set_mesh_vertex(self, pos: tuple[int, int], point: UVec, dxfattribs=None): + """Set location and DXF attributes of a single mesh vertex. + + Args: + pos: 0-based (row, col) tuple, position of mesh vertex + point: (x, y, z) tuple, new 3D coordinates of the mesh vertex + dxfattribs: dict of DXF attributes + + """ + dxfattribs = dict(dxfattribs or {}) + dxfattribs["location"] = point + vertex = self.get_mesh_vertex(pos) + vertex.update_dxf_attribs(dxfattribs) + + def get_mesh_vertex(self, pos: tuple[int, int]) -> DXFVertex: + """Get location of a single mesh vertex. + + Args: + pos: 0-based (row, col) tuple, position of mesh vertex + + """ + m_count = self.dxf.m_count + n_count = self.dxf.n_count + m, n = pos + if 0 <= m < m_count and 0 <= n < n_count: + return self.vertices[m * n_count + n] + else: + raise const.DXFIndexError(repr(pos)) + + def get_mesh_vertex_cache(self) -> MeshVertexCache: + """Get a :class:`MeshVertexCache` object for this POLYMESH. + The caching object provides fast access to the :attr:`location` + attribute of mesh vertices. + + """ + return MeshVertexCache(self) + + +class MeshVertexCache: + """Cache mesh vertices in a dict, keys are 0-based (row, col)-tuples. + + vertices: + Dict of mesh vertices, keys are 0-based (row, col)-tuples. Writing to + this dict doesn't change the DXF entity. + + """ + + __slots__ = ("vertices",) + + def __init__(self, mesh: Polyline): + self.vertices: dict[tuple[int, int], DXFVertex] = self._setup( + mesh, mesh.dxf.m_count, mesh.dxf.n_count + ) + + def _setup(self, mesh: Polyline, m_count: int, n_count: int) -> dict: + cache: dict[tuple[int, int], DXFVertex] = {} + vertices = iter(mesh.vertices) + for m in range(m_count): + for n in range(n_count): + cache[(m, n)] = next(vertices) + return cache + + def __getitem__(self, pos: tuple[int, int]) -> UVec: + """Get mesh vertex location as (x, y, z)-tuple. + + Args: + pos: 0-based (row, col)-tuple. + + """ + try: + return self.vertices[pos].dxf.location + except KeyError: + raise const.DXFIndexError(repr(pos)) + + def __setitem__(self, pos: tuple[int, int], location: UVec) -> None: + """Get mesh vertex location as (x, y, z)-tuple. + + Args: + pos: 0-based (row, col)-tuple. + location: (x, y, z)-tuple + + """ + try: + self.vertices[pos].dxf.location = location + except KeyError: + raise const.DXFIndexError(repr(pos)) + + +acdb_vertex = DefSubclass( + "AcDbVertex", + { # last subclass index -1 + # Location point in OCS if 2D, and WCS if 3D + "location": DXFAttr(10, xtype=XType.point3d), + "start_width": DXFAttr(40, default=0, optional=True), + "end_width": DXFAttr(41, default=0, optional=True), + # Bulge (optional; default is 0). The bulge is the tangent of one fourth + # the included angle for an arc segment, made negative if the arc goes + # clockwise from the start point to the endpoint. A bulge of 0 indicates + # a straight segment, and a bulge of 1 is a semicircle. + "bulge": DXFAttr(42, default=0, optional=True), + "flags": DXFAttr(70, default=0), + # Curve fit tangent direction (in degrees) + "tangent": DXFAttr(50, optional=True), + "vtx0": DXFAttr(71, optional=True), + "vtx1": DXFAttr(72, optional=True), + "vtx2": DXFAttr(73, optional=True), + "vtx3": DXFAttr(74, optional=True), + "vertex_identifier": DXFAttr(91, optional=True), + }, +) +acdb_vertex_group_codes = group_code_mapping(acdb_vertex) +merged_vertex_group_codes = merge_group_code_mappings( + acdb_entity_group_codes, acdb_vertex_group_codes # type: ignore +) + + +@factory.register_entity +class DXFVertex(DXFGraphic): + """DXF VERTEX entity""" + + DXFTYPE = "VERTEX" + + DXFATTRIBS = DXFAttributes(base_class, acdb_entity, acdb_vertex) + # Extra vertex created by curve-fitting: + EXTRA_VERTEX_CREATED = 1 + + # Curve-fit tangent defined for this vertex. A curve-fit tangent direction + # of 0 may be omitted from the DXF output, but is significant if this bit + # is set: + CURVE_FIT_TANGENT = 2 + + # 4 = unused, never set in dxf files + # Spline vertex created by spline-fitting + SPLINE_VERTEX_CREATED = 8 + SPLINE_FRAME_CONTROL_POINT = 16 + POLYLINE_3D_VERTEX = 32 + POLYGON_MESH_VERTEX = 64 + POLYFACE_MESH_VERTEX = 128 + FACE_FLAGS = POLYGON_MESH_VERTEX + POLYFACE_MESH_VERTEX + VTX3D = POLYLINE_3D_VERTEX + POLYGON_MESH_VERTEX + POLYFACE_MESH_VERTEX + + def load_dxf_attribs( + self, processor: Optional[SubclassProcessor] = None + ) -> DXFNamespace: + """Loading interface. (internal API)""" + # bypass DXFGraphic, loading proxy graphic is skipped! + dxf = super(DXFGraphic, self).load_dxf_attribs(processor) + if processor: + processor.simple_dxfattribs_loader(dxf, merged_vertex_group_codes) + return dxf + + def export_entity(self, tagwriter: AbstractTagWriter) -> None: + """Export entity specific data as DXF tags.""" + # VERTEX can have 3 subclasses if representing a `face record` or + # 4 subclasses if representing a vertex location, just the last + # subclass contains data + super().export_entity(tagwriter) + if tagwriter.dxfversion > DXF12: + if self.is_face_record: + tagwriter.write_tag2(SUBCLASS_MARKER, "AcDbFaceRecord") + else: + tagwriter.write_tag2(SUBCLASS_MARKER, "AcDbVertex") + if self.is_3d_polyline_vertex: + tagwriter.write_tag2(SUBCLASS_MARKER, "AcDb3dPolylineVertex") + elif self.is_poly_face_mesh_vertex: + tagwriter.write_tag2(SUBCLASS_MARKER, "AcDbPolyFaceMeshVertex") + elif self.is_polygon_mesh_vertex: + tagwriter.write_tag2(SUBCLASS_MARKER, "AcDbPolygonMeshVertex") + else: + tagwriter.write_tag2(SUBCLASS_MARKER, "AcDb2dVertex") + + self.dxf.export_dxf_attribs( + tagwriter, + [ + "location", + "start_width", + "end_width", + "bulge", + "flags", + "tangent", + "vtx0", + "vtx1", + "vtx2", + "vtx3", + "vertex_identifier", + ], + ) + + @property + def is_2d_polyline_vertex(self) -> bool: + return self.dxf.flags & self.VTX3D == 0 + + @property + def is_3d_polyline_vertex(self) -> bool: + return self.dxf.flags & self.POLYLINE_3D_VERTEX + + @property + def is_polygon_mesh_vertex(self) -> bool: + return self.dxf.flags & self.POLYGON_MESH_VERTEX + + @property + def is_poly_face_mesh_vertex(self) -> bool: + return self.dxf.flags & self.FACE_FLAGS == self.FACE_FLAGS + + @property + def is_face_record(self) -> bool: + return (self.dxf.flags & self.FACE_FLAGS) == self.POLYFACE_MESH_VERTEX + + def transform(self, m: Matrix44) -> DXFVertex: + """Transform the VERTEX entity by transformation matrix `m` inplace.""" + if self.is_face_record: + return self + self.dxf.location = m.transform(self.dxf.location) + return self + + def format(self, format="xyz") -> Sequence: + """Return formatted vertex components as tuple. + + Format codes: + + - ``x`` = x-coordinate + - ``y`` = y-coordinate + - ``z`` = z-coordinate + - ``s`` = start width + - ``e`` = end width + - ``b`` = bulge value + - ``v`` = (x, y, z) as tuple + + Args: + format: format string, default is "xyz" + + """ + dxf = self.dxf + v = Vec3(dxf.location) + x, y, z = v.xyz + b = dxf.bulge + s = dxf.start_width + e = dxf.end_width + vars = locals() + return tuple(vars[code] for code in format.lower()) + + +def vertex_attribs(data: Sequence, format="xyseb") -> dict: + """Create VERTEX attributes from input data. + + Format codes: + + - ``x`` = x-coordinate + - ``y`` = y-coordinate + - ``s`` = start width + - ``e`` = end width + - ``b`` = bulge value + - ``v`` = (x, y [,z]) tuple (z-axis is ignored) + + Args: + data: list or tuple of point components + format: format string, default is 'xyseb' + + Returns: + dict with keys: 'location', 'bulge', 'start_width', 'end_width' + + """ + attribs = dict() + format = [code for code in format.lower() if code in FORMAT_CODES] + location = Vec3() + for code, value in zip(format, data): + if code not in FORMAT_CODES: + continue + if code == "v": + location = Vec3(value) + elif code == "b": + attribs["bulge"] = float(value) + elif code == "s": + attribs["start_width"] = float(value) + elif code == "e": + attribs["end_width"] = float(value) + elif code == "x": + location = location.replace(x=float(value)) + elif code == "y": + location = location.replace(y=float(value)) + attribs["location"] = location + return attribs diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/entities/shape.py b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/entities/shape.py new file mode 100644 index 0000000000000000000000000000000000000000..8b2fd601045eb2ae0b1b9cbf322736b2b38ac50a --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/entities/shape.py @@ -0,0 +1,138 @@ +# Copyright (c) 2019-2022 Manfred Moitzi +# License: MIT License +from __future__ import annotations +from typing import TYPE_CHECKING, Optional +from ezdxf.lldxf import validator +from ezdxf.lldxf.attributes import ( + DXFAttr, + DXFAttributes, + DefSubclass, + XType, + RETURN_DEFAULT, + group_code_mapping, + merge_group_code_mappings, +) +from ezdxf.lldxf.const import DXF12, SUBCLASS_MARKER +from ezdxf.math import NULLVEC, Z_AXIS +from ezdxf.math.transformtools import OCSTransform +from .dxfentity import base_class, SubclassProcessor +from .dxfgfx import ( + DXFGraphic, + acdb_entity, + elevation_to_z_axis, + acdb_entity_group_codes, +) +from .factory import register_entity + +if TYPE_CHECKING: + from ezdxf.entities import DXFNamespace + from ezdxf.lldxf.tagwriter import AbstractTagWriter + from ezdxf.math import Matrix44 + + +__all__ = ["Shape"] + +# Description of the "name" attribute from the DWG documentation: 20.4.37 SHAPE (33) +# In DXF the shape name is stored. When reading from DXF, the shape is found by +# iterating over all the text styles and when the text style contains a shape file, +# iterating over all the shapes until the one with the matching name is found. + +acdb_shape = DefSubclass( + "AcDbShape", + { + # Elevation is a legacy feature from R11 and prior, do not use this + # attribute, store the entity elevation in the z-axis of the vertices. + # ezdxf does not export the elevation attribute! + "elevation": DXFAttr(38, default=0, optional=True), + # Thickness could be negative: + "thickness": DXFAttr(39, default=0, optional=True), + # Insertion point (in WCS) + "insert": DXFAttr(10, xtype=XType.point3d, default=NULLVEC), + # Shape size: + "size": DXFAttr(40, default=1), + # Shape name: + "name": DXFAttr(2, default=""), + # Rotation angle in degrees: + "rotation": DXFAttr(50, default=0, optional=True), + # Relative X scale factor + "xscale": DXFAttr( + 41, + default=1, + optional=True, + validator=validator.is_not_zero, + fixer=RETURN_DEFAULT, + ), + # Oblique angle in degrees: + "oblique": DXFAttr(51, default=0, optional=True), + "extrusion": DXFAttr( + 210, + xtype=XType.point3d, + default=Z_AXIS, + optional=True, + validator=validator.is_not_null_vector, + fixer=RETURN_DEFAULT, + ), + }, +) +acdb_shape_group_codes = group_code_mapping(acdb_shape) +merged_shape_group_codes = merge_group_code_mappings( + acdb_entity_group_codes, acdb_shape_group_codes # type: ignore +) + + +@register_entity +class Shape(DXFGraphic): + """DXF SHAPE entity""" + + DXFTYPE = "SHAPE" + DXFATTRIBS = DXFAttributes(base_class, acdb_entity, acdb_shape) + + def load_dxf_attribs( + self, processor: Optional[SubclassProcessor] = None + ) -> DXFNamespace: + """Loading interface. (internal API)""" + # bypass DXFGraphic, loading proxy graphic is skipped! + dxf = super(DXFGraphic, self).load_dxf_attribs(processor) + if processor: + processor.simple_dxfattribs_loader(dxf, merged_shape_group_codes) + if processor.r12: + # Transform elevation attribute from R11 to z-axis values: + elevation_to_z_axis(dxf, ("center",)) + return dxf + + def export_entity(self, tagwriter: AbstractTagWriter) -> None: + """Export entity specific data as DXF tags.""" + super().export_entity(tagwriter) + if tagwriter.dxfversion > DXF12: + tagwriter.write_tag2(SUBCLASS_MARKER, acdb_shape.name) + self.dxf.export_dxf_attribs( + tagwriter, + [ + "insert", + "size", + "name", + "thickness", + "rotation", + "xscale", + "oblique", + "extrusion", + ], + ) + + def transform(self, m: Matrix44) -> Shape: + """Transform the SHAPE entity by transformation matrix `m` inplace.""" + dxf = self.dxf + dxf.insert = m.transform(dxf.insert) # DXF Reference: WCS? + ocs = OCSTransform(self.dxf.extrusion, m) + + dxf.rotation = ocs.transform_deg_angle(dxf.rotation) + dxf.size = ocs.transform_length((0, dxf.size, 0)) + dxf.x_scale = ocs.transform_length( + (dxf.x_scale, 0, 0), reflection=dxf.x_scale + ) + if dxf.hasattr("thickness"): + dxf.thickness = ocs.transform_thickness(dxf.thickness) + + dxf.extrusion = ocs.new_extrusion + self.post_transform(m) + return self diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/entities/solid.py b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/entities/solid.py new file mode 100644 index 0000000000000000000000000000000000000000..969e4ecdb3f6cad10f543603932cdc758c0828e2 --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/entities/solid.py @@ -0,0 +1,279 @@ +# Copyright (c) 2019-2022 Manfred Moitzi +# License: MIT License +from __future__ import annotations +from typing import TYPE_CHECKING, Optional +from ezdxf.lldxf import validator +from ezdxf.lldxf.attributes import ( + DXFAttr, + DXFAttributes, + DefSubclass, + XType, + RETURN_DEFAULT, + group_code_mapping, + merge_group_code_mappings, +) +from ezdxf.lldxf.const import DXF12, SUBCLASS_MARKER, VERTEXNAMES +from ezdxf.math import Matrix44, Z_AXIS, NULLVEC, Vec3 +from ezdxf.math.transformtools import OCSTransform +from .dxfentity import base_class, SubclassProcessor +from .dxfgfx import ( + DXFGraphic, + acdb_entity, + elevation_to_z_axis, + acdb_entity_group_codes, +) +from .factory import register_entity + +if TYPE_CHECKING: + from ezdxf.lldxf.tagwriter import AbstractTagWriter + from ezdxf.entities import DXFNamespace + +__all__ = ["Solid", "Trace", "Face3d"] + +acdb_trace = DefSubclass( + "AcDbTrace", + { + # IMPORTANT: all 4 vertices have to be present in the DXF file, + # otherwise AutoCAD shows a DXF structure error and does not load the + # file! (SOLID, TRACE and 3DFACE) + # 1. corner Solid WCS; Trace OCS + "vtx0": DXFAttr(10, xtype=XType.point3d, default=NULLVEC), + # 2. corner Solid WCS; Trace OCS + "vtx1": DXFAttr(11, xtype=XType.point3d, default=NULLVEC), + # 3. corner Solid WCS; Trace OCS + "vtx2": DXFAttr(12, xtype=XType.point3d, default=NULLVEC), + # 4. corner Solid WCS; Trace OCS: + # If only three corners are entered to define the SOLID, then the fourth + # corner coordinate is the same as the third. + "vtx3": DXFAttr(13, xtype=XType.point3d, default=NULLVEC), + # IMPORTANT: for TRACE and SOLID the last two vertices are in reversed + # order: a square has the vertex order 0-1-3-2 + # Elevation is a legacy feature from R11 and prior, do not use this + # attribute, store the entity elevation in the z-axis of the vertices. + # ezdxf does not export the elevation attribute! + "elevation": DXFAttr(38, default=0, optional=True), + # Thickness could be negative: + "thickness": DXFAttr(39, default=0, optional=True), + "extrusion": DXFAttr( + 210, + xtype=XType.point3d, + default=Z_AXIS, + optional=True, + validator=validator.is_not_null_vector, + fixer=RETURN_DEFAULT, + ), + }, +) +acdb_trace_group_codes = group_code_mapping(acdb_trace) +merged_trace_group_codes = merge_group_code_mappings( + acdb_entity_group_codes, acdb_trace_group_codes # type: ignore +) + + +class _Base(DXFGraphic): + def __getitem__(self, num): + return self.dxf.get(VERTEXNAMES[num]) + + def __setitem__(self, num, value): + return self.dxf.set(VERTEXNAMES[num], value) + + +@register_entity +class Solid(_Base): + """DXF SHAPE entity""" + + DXFTYPE = "SOLID" + DXFATTRIBS = DXFAttributes(base_class, acdb_entity, acdb_trace) + + def load_dxf_attribs( + self, processor: Optional[SubclassProcessor] = None + ) -> DXFNamespace: + """Loading interface. (internal API)""" + # bypass DXFGraphic, loading proxy graphic is skipped! + dxf = super(DXFGraphic, self).load_dxf_attribs(processor) + if processor: + processor.simple_dxfattribs_loader(dxf, merged_trace_group_codes) + if processor.r12: + # Transform elevation attribute from R11 to z-axis values: + elevation_to_z_axis(dxf, VERTEXNAMES) + return dxf + + def export_entity(self, tagwriter: AbstractTagWriter) -> None: + """Export entity specific data as DXF tags. (internal API)""" + super().export_entity(tagwriter) + if tagwriter.dxfversion > DXF12: + tagwriter.write_tag2(SUBCLASS_MARKER, acdb_trace.name) + if not self.dxf.hasattr("vtx3"): + self.dxf.vtx3 = self.dxf.vtx2 + self.dxf.export_dxf_attribs( + tagwriter, + [ + "vtx0", + "vtx1", + "vtx2", + "vtx3", + "thickness", + "extrusion", + ], + ) + + def transform(self, m: Matrix44) -> Solid: + """Transform the SOLID/TRACE entity by transformation matrix `m` inplace.""" + # SOLID and TRACE are OCS entities. + dxf = self.dxf + ocs = OCSTransform(self.dxf.extrusion, m) + for name in VERTEXNAMES: + if dxf.hasattr(name): + dxf.set(name, ocs.transform_vertex(dxf.get(name))) + if dxf.hasattr("thickness"): + dxf.thickness = ocs.transform_thickness(dxf.thickness) + dxf.extrusion = ocs.new_extrusion + self.post_transform(m) + return self + + def wcs_vertices(self, close: bool = False) -> list[Vec3]: + """Returns WCS vertices in correct order, + if argument `close` is ``True``, last vertex == first vertex. + Does **not** return the duplicated last vertex if the entity represents + a triangle. + + """ + ocs = self.ocs() + return list(ocs.points_to_wcs(self.vertices(close))) + + def vertices(self, close: bool = False) -> list[Vec3]: + """Returns OCS vertices in correct order, + if argument `close` is ``True``, last vertex == first vertex. + Does **not** return the duplicated last vertex if the entity represents + a triangle. + + """ + dxf = self.dxf + vertices: list[Vec3] = [dxf.vtx0, dxf.vtx1, dxf.vtx2] + if dxf.vtx3 != dxf.vtx2: # face is not a triangle + vertices.append(dxf.vtx3) + + # adjust weird vertex order of SOLID and TRACE: + # 0, 1, 2, 3 -> 0, 1, 3, 2 + if len(vertices) > 3: + vertices[2], vertices[3] = vertices[3], vertices[2] + + if close and not vertices[0].isclose(vertices[-1]): + vertices.append(vertices[0]) + return vertices + + +@register_entity +class Trace(Solid): + """DXF TRACE entity""" + + DXFTYPE = "TRACE" + + +acdb_face = DefSubclass( + "AcDbFace", + { + # 1. corner WCS: + "vtx0": DXFAttr(10, xtype=XType.point3d, default=NULLVEC), + # 2. corner WCS: + "vtx1": DXFAttr(11, xtype=XType.point3d, default=NULLVEC), + # 3. corner WCS: + "vtx2": DXFAttr(12, xtype=XType.point3d, default=NULLVEC), + # 4. corner WCS: + # If only three corners are entered to define the SOLID, then the fourth + # corner coordinate is the same as the third. + "vtx3": DXFAttr(13, xtype=XType.point3d, default=NULLVEC), + # invisible: + # 1 = First edge is invisible + # 2 = Second edge is invisible + # 4 = Third edge is invisible + # 8 = Fourth edge is invisible + "invisible_edges": DXFAttr(70, default=0, optional=True), + }, +) +acdb_face_group_codes = group_code_mapping(acdb_face) +merged_face_group_codes = merge_group_code_mappings( + acdb_entity_group_codes, acdb_face_group_codes # type: ignore +) + + +@register_entity +class Face3d(_Base): + """DXF 3DFACE entity""" + + # IMPORTANT: for 3DFACE the last two vertices are in regular order: + # a square has the vertex order 0-1-2-3 + + DXFTYPE = "3DFACE" + DXFATTRIBS = DXFAttributes(base_class, acdb_entity, acdb_face) + + def is_invisible_edge(self, num: int) -> bool: + """Returns True if edge `num` is an invisible edge.""" + if num < 0 or num > 4: + raise ValueError(f"invalid edge: {num}") + return bool(self.dxf.invisible_edges & (1 << num)) + + def set_edge_visibility(self, num: int, visible: bool = False) -> None: + """Set visibility of edge `num`, status `True` for visible, status + `False` for invisible. + """ + if num < 0 or num >= 4: + raise ValueError(f"invalid edge: {num}") + if not visible: + self.dxf.invisible_edges = self.dxf.invisible_edges | (1 << num) + else: + self.dxf.invisible_edges = self.dxf.invisible_edges & ~(1 << num) + + def get_edges_visibility(self) -> list[bool]: + # if the face is a triangle, a fourth visibility flag + # may be present but is ignored + return [not self.is_invisible_edge(i) for i in range(4)] + + def load_dxf_attribs( + self, processor: Optional[SubclassProcessor] = None + ) -> DXFNamespace: + """Loading interface. (internal API)""" + # bypass DXFGraphic, loading proxy graphic is skipped! + dxf = super(DXFGraphic, self).load_dxf_attribs(processor) + if processor: + processor.simple_dxfattribs_loader(dxf, merged_face_group_codes) + return dxf + + def export_entity(self, tagwriter: AbstractTagWriter) -> None: + super().export_entity(tagwriter) + if tagwriter.dxfversion > DXF12: + tagwriter.write_tag2(SUBCLASS_MARKER, acdb_face.name) + if not self.dxf.hasattr("vtx3"): + self.dxf.vtx3 = self.dxf.vtx2 + self.dxf.export_dxf_attribs( + tagwriter, ["vtx0", "vtx1", "vtx2", "vtx3", "invisible_edges"] + ) + + def transform(self, m: Matrix44) -> Face3d: + """Transform the 3DFACE entity by transformation matrix `m` inplace.""" + dxf = self.dxf + # 3DFACE is a real 3d entity + dxf.vtx0, dxf.vtx1, dxf.vtx2, dxf.vtx3 = m.transform_vertices( + (dxf.vtx0, dxf.vtx1, dxf.vtx2, dxf.vtx3) + ) + self.post_transform(m) + return self + + def wcs_vertices(self, close: bool = False) -> list[Vec3]: + """Returns WCS vertices, if argument `close` is ``True``, + the first vertex is also returned as closing last vertex. + + Returns 4 vertices when `close` is ``False`` and 5 vertices when `close` is + ``True``. Some edges may have zero-length. This is a compatibility interface + to SOLID and TRACE. The 3DFACE entity is already defined by WCS vertices. + """ + dxf = self.dxf + vertices: list[Vec3] = [dxf.vtx0, dxf.vtx1, dxf.vtx2] + vtx3 = dxf.get("vtx3") + if ( + isinstance(vtx3, Vec3) and vtx3 != dxf.vtx2 + ): # face is not a triangle + vertices.append(vtx3) + if close: + vertices.append(vertices[0]) + return vertices diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/entities/spatial_filter.py b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/entities/spatial_filter.py new file mode 100644 index 0000000000000000000000000000000000000000..0fd3f63ca5be2658ecd0075d9f6075d31d6273e8 --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/entities/spatial_filter.py @@ -0,0 +1,201 @@ +# Copyright (c) 2023, Manfred Moitzi +# License: MIT License +from __future__ import annotations +from typing import TYPE_CHECKING, Optional, Iterable +from typing_extensions import Self +import logging + +from ezdxf.lldxf import const, validator +from ezdxf.lldxf.attributes import ( + DXFAttributes, + DefSubclass, + DXFAttr, + XType, + RETURN_DEFAULT, + group_code_mapping, +) +from ezdxf.math import UVec, Vec2, Matrix44, Z_AXIS, NULLVEC +from ezdxf.entities import factory +from .dxfentity import SubclassProcessor, base_class +from .dxfobj import DXFObject +from .copy import default_copy + +if TYPE_CHECKING: + from ezdxf.lldxf.tags import Tags + from ezdxf.entities import DXFNamespace + from ezdxf.lldxf.tagwriter import AbstractTagWriter + +__all__ = ["SpatialFilter"] + +# The HEADER variable $XCLIPFRAME determines if the clipping path polygon is displayed +# and plotted: +# 0 - not displayed, not plotted +# 1 - displayed, not plotted +# 2 - displayed and plotted + +logger = logging.getLogger("ezdxf") +AcDbFilter = "AcDbFilter" +AcDbSpatialFilter = "AcDbSpatialFilter" + +acdb_filter = DefSubclass(AcDbFilter, {}) +acdb_spatial_filter = DefSubclass( + AcDbSpatialFilter, + { + "extrusion": DXFAttr( + 210, + xtype=XType.point3d, + default=Z_AXIS, + validator=validator.is_not_null_vector, + fixer=RETURN_DEFAULT, + ), + "origin": DXFAttr(11, xtype=XType.point3d, default=NULLVEC), + "is_clipping_enabled": DXFAttr( + 71, default=1, validator=validator.is_integer_bool, fixer=RETURN_DEFAULT + ), + "has_front_clipping_plane": DXFAttr( + 72, default=0, validator=validator.is_integer_bool, fixer=RETURN_DEFAULT + ), + "front_clipping_plane_distance": DXFAttr(40, default=0.0), + "has_back_clipping_plane": DXFAttr( + 73, default=0, validator=validator.is_integer_bool, fixer=RETURN_DEFAULT + ), + "back_clipping_plane_distance": DXFAttr(41, default=0.0), + }, +) +acdb_spatial_filter_group_codes = group_code_mapping(acdb_spatial_filter) + + +@factory.register_entity +class SpatialFilter(DXFObject): + DXFTYPE = "SPATIAL_FILTER" + DXFATTRIBS = DXFAttributes(base_class, acdb_filter, acdb_spatial_filter) + MIN_DXF_VERSION_FOR_EXPORT = const.DXF2000 + + def __init__(self) -> None: + super().__init__() + # clipping path vertices in OCS coordinates + self._boundary_vertices: tuple[Vec2, ...] = tuple() + + # This matrix is the inverse of the original block reference (insert entity) + # transformation. The original block reference transformation is the one that + # is applied to all entities in the block when the block reference is regenerated. + self._inverse_insert_matrix = Matrix44() + + # This matrix transforms points into the coordinate system of the clip boundary. + self._transform_matrix = Matrix44() + + def copy_data(self, entity: Self, copy_strategy=default_copy) -> None: + assert isinstance(entity, SpatialFilter) + # immutable data + entity._boundary_vertices = self._boundary_vertices + entity._inverse_insert_matrix = self._inverse_insert_matrix + entity._transform_matrix = self._transform_matrix + + @property + def boundary_vertices(self) -> tuple[Vec2, ...]: + """Returns the clipping path vertices in OCS coordinates.""" + return self._boundary_vertices + + def set_boundary_vertices(self, vertices: Iterable[UVec]) -> None: + """Set the clipping path vertices in OCS coordinates.""" + self._boundary_vertices = tuple(Vec2(v) for v in vertices) + if len(self._boundary_vertices) < 2: + raise const.DXFValueError("2 or more vertices required") + + @property + def inverse_insert_matrix(self) -> Matrix44: + """Returns the inverse insert matrix. + + This matrix is the inverse of the original block reference (insert entity) + transformation. The original block reference transformation is the one that + is applied to all entities in the block when the block reference is regenerated. + """ + return self._inverse_insert_matrix.copy() + + def set_inverse_insert_matrix(self, m: Matrix44) -> None: + self._inverse_insert_matrix = m.copy() + + @property + def transform_matrix(self) -> Matrix44: + """Returns the transform matrix. + + This matrix transforms points into the coordinate system of the clip boundary. + """ + return self._transform_matrix.copy() + + def set_transform_matrix(self, m: Matrix44) -> None: + self._transform_matrix = m.copy() + + def load_dxf_attribs( + self, processor: Optional[SubclassProcessor] = None + ) -> DXFNamespace: + dxf = super().load_dxf_attribs(processor) + if processor: + tags = processor.find_subclass(AcDbSpatialFilter) + if tags: + try: + self._load_boundary_data(tags) + except IndexError: + logger.warning( + f"Not enough matrix values in SPATIAL_FILTER(#{processor.handle})" + ) + processor.fast_load_dxfattribs( + dxf, acdb_spatial_filter_group_codes, subclass=tags + ) + else: + logger.warning( + f"Required subclass 'AcDbSpatialFilter' in object " + f"SPATIAL_FILTER(#{processor.handle}) not present" + ) + return dxf + + def _load_boundary_data(self, tags: Tags) -> None: + def to_matrix(v: list[float]) -> Matrix44: + # raises IndexError if not enough matrix values exist + return Matrix44( + # fmt: off + [ + v[0], v[4], v[8], 0.0, + v[1], v[5], v[9], 0.0, + v[2], v[6], v[10], 0.0, + v[3], v[7], v[11], 1.0, + ] + # fmt: on + ) + + self._boundary_vertices = tuple(Vec2(tag.value) for tag in tags.find_all(10)) + matrix_values = [float(tag.value) for tag in tags.find_all(40)] + # use only last 24 values + self._inverse_insert_matrix = to_matrix(matrix_values[-24:-12]) + self._transform_matrix = to_matrix(matrix_values[-12:]) + + def export_entity(self, tagwriter: AbstractTagWriter) -> None: + """Export entity specific data as DXF tags.""" + + def write_matrix(m: Matrix44) -> None: + for index in range(3): + for value in m.get_col(index): + tagwriter.write_tag2(40, value) + + super().export_entity(tagwriter) + tagwriter.write_tag2(const.SUBCLASS_MARKER, AcDbFilter) + tagwriter.write_tag2(const.SUBCLASS_MARKER, AcDbSpatialFilter) + tagwriter.write_tag2(70, len(self._boundary_vertices)) + for vertex in self._boundary_vertices: + tagwriter.write_vertex(10, vertex) + self.dxf.export_dxf_attribs( + tagwriter, ["extrusion", "origin", "is_clipping_enabled"] + ) + has_front_clipping = self.dxf.has_front_clipping_plane + tagwriter.write_tag2(72, has_front_clipping) + if has_front_clipping: + # AutoCAD does no accept tag 40, if front clipping is disabled + tagwriter.write_tag2(40, self.dxf.front_clipping_plane_distance) + has_back_clipping = self.dxf.has_back_clipping_plane + tagwriter.write_tag2(73, has_back_clipping) + if has_back_clipping: + # AutoCAD does no accept tag 41, if back clipping is disabled + tagwriter.write_tag2(41, self.dxf.back_clipping_plane_distance) + + write_matrix(self._inverse_insert_matrix) + write_matrix(self._transform_matrix) diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/entities/spline.py b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/entities/spline.py new file mode 100644 index 0000000000000000000000000000000000000000..5cbd646ed6bd245564d10c6e910ab9ac521a1814 --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/entities/spline.py @@ -0,0 +1,629 @@ +# Copyright (c) 2019-2025 Manfred Moitzi +# License: MIT License +from __future__ import annotations +from typing import ( + TYPE_CHECKING, + List, + Iterable, + Sequence, + cast, + Iterator, + Optional, +) +from typing_extensions import TypeAlias, Self +import array +import copy +from ezdxf.audit import AuditError +from ezdxf.lldxf import validator +from ezdxf.lldxf.attributes import ( + DXFAttr, + DXFAttributes, + DefSubclass, + XType, + RETURN_DEFAULT, + group_code_mapping, +) +from ezdxf.lldxf.const import ( + SUBCLASS_MARKER, + DXF2000, + DXFValueError, + DXFStructureError, +) +from ezdxf.lldxf.packedtags import VertexArray, Tags +from ezdxf.math import ( + Vec3, + UVec, + Matrix44, + ConstructionEllipse, + Z_AXIS, + NULLVEC, + OCS, + uniform_knot_vector, + open_uniform_knot_vector, + BSpline, + required_knot_values, + required_fit_points, + required_control_points, + fit_points_to_cad_cv, + round_knots, +) +from .dxfentity import base_class, SubclassProcessor +from .dxfgfx import DXFGraphic, acdb_entity +from .factory import register_entity +from .copy import default_copy + +if TYPE_CHECKING: + from ezdxf.entities import DXFNamespace, Ellipse + from ezdxf.lldxf.tagwriter import AbstractTagWriter + from ezdxf.audit import Auditor + +__all__ = ["Spline"] + +# From the Autodesk ObjectARX reference: +# Objects of the AcDbSpline class use an embedded gelib object to maintain the +# actual spline information. +# +# Book recommendations: +# +# - "Curves and Surfaces for CAGD" by Gerald Farin +# - "Mathematical Elements for Computer Graphics" +# by David Rogers and Alan Adams +# - "An Introduction To Splines For Use In Computer Graphics & Geometric Modeling" +# by Richard H. Bartels, John C. Beatty, and Brian A Barsky +# +# http://help.autodesk.com/view/OARX/2018/ENU/?guid=OREF-AcDbSpline__setFitData_AcGePoint3dArray__AcGeVector3d__AcGeVector3d__AcGe__KnotParameterization_int_double +# Construction of a AcDbSpline entity from fit points: +# degree has no effect. A spline with degree=3 is always constructed when +# interpolating a series of fit points. + +acdb_spline = DefSubclass( + "AcDbSpline", + { + # Spline flags: + # 1 = Closed spline + # 2 = Periodic spline + # 4 = Rational spline + # 8 = Planar + # 16 = Linear (planar bit is also set) + "flags": DXFAttr(70, default=0), + # degree: The degree can't be higher than 11 according to the Autodesk + # ObjectARX reference. + "degree": DXFAttr(71, default=3, validator=validator.is_positive), + "n_knots": DXFAttr(72, xtype=XType.callback, getter="knot_count"), + "n_control_points": DXFAttr( + 73, xtype=XType.callback, getter="control_point_count" + ), + "n_fit_points": DXFAttr(74, xtype=XType.callback, getter="fit_point_count"), + "knot_tolerance": DXFAttr(42, default=1e-10, optional=True), + "control_point_tolerance": DXFAttr(43, default=1e-10, optional=True), + "fit_tolerance": DXFAttr(44, default=1e-10, optional=True), + # Start- and end tangents should be normalized, but CAD applications do not + # crash if they are not normalized. + "start_tangent": DXFAttr( + 12, + xtype=XType.point3d, + optional=True, + validator=validator.is_not_null_vector, + ), + "end_tangent": DXFAttr( + 13, + xtype=XType.point3d, + optional=True, + validator=validator.is_not_null_vector, + ), + # Extrusion is the normal vector (omitted if the spline is non-planar) + "extrusion": DXFAttr( + 210, + xtype=XType.point3d, + default=Z_AXIS, + optional=True, + validator=validator.is_not_null_vector, + fixer=RETURN_DEFAULT, + ), + # 10: Control points (in WCS); one entry per control point + # 11: Fit points (in WCS); one entry per fit point + # 40: Knot value (one entry per knot) + # 41: Weight (if not 1); with multiple group pairs, they are present if all + # are not 1 + }, +) +acdb_spline_group_codes = group_code_mapping(acdb_spline) + + +class SplineData: + def __init__(self, spline: Spline): + self.fit_points = spline.fit_points + self.control_points = spline.control_points + self.knots = spline.knots + self.weights = spline.weights + + +REMOVE_CODES = {10, 11, 40, 41, 72, 73, 74} + +Vertices: TypeAlias = List[Sequence[float]] + + +@register_entity +class Spline(DXFGraphic): + """DXF SPLINE entity""" + + DXFTYPE = "SPLINE" + DXFATTRIBS = DXFAttributes(base_class, acdb_entity, acdb_spline) + MIN_DXF_VERSION_FOR_EXPORT = DXF2000 + CLOSED = 1 # closed b-spline + PERIODIC = 2 # uniform b-spline + RATIONAL = 4 # rational b-spline + PLANAR = 8 # all spline points in a plane, don't read or set this bit, just ignore like AutoCAD + LINEAR = 16 # always set with PLANAR, don't read or set this bit, just ignore like AutoCAD + + def __init__(self): + super().__init__() + self.fit_points = VertexArray() + self.control_points = VertexArray() + self.knots = [] + self.weights = [] + + def copy_data(self, entity: Self, copy_strategy=default_copy) -> None: + """Copy data: control_points, fit_points, weights, knot_values.""" + assert isinstance(entity, Spline) + entity._control_points = copy.deepcopy(self._control_points) + entity._fit_points = copy.deepcopy(self._fit_points) + entity._knots = copy.deepcopy(self._knots) + entity._weights = copy.deepcopy(self._weights) + + def load_dxf_attribs( + self, processor: Optional[SubclassProcessor] = None + ) -> DXFNamespace: + dxf = super().load_dxf_attribs(processor) + if processor: + tags = processor.subclass_by_index(2) + if tags: + tags = Tags(self.load_spline_data(tags)) + processor.fast_load_dxfattribs( + dxf, acdb_spline_group_codes, subclass=tags, recover=True + ) + else: + raise DXFStructureError( + f"missing 'AcDbSpline' subclass in SPLINE(#{dxf.handle})" + ) + return dxf + + def load_spline_data(self, tags) -> Iterator: + """Load and set spline data (fit points, control points, weights, + knots) and remove invalid start- and end tangents. + Yields the remaining unprocessed tags. + """ + control_points = [] + fit_points = [] + knots = [] + weights = [] + for tag in tags: + code, value = tag + if code == 10: + control_points.append(value) + elif code == 11: + fit_points.append(value) + elif code == 40: + knots.append(value) + elif code == 41: + weights.append(value) + elif code in (12, 13) and NULLVEC.isclose(value): + # Tangent values equal to (0, 0, 0) are invalid and ignored at + # the loading stage! + pass + else: + yield tag + self.control_points = control_points + self.fit_points = fit_points + self.knots = knots + self.weights = weights + + def export_entity(self, tagwriter: AbstractTagWriter) -> None: + """Export entity specific data as DXF tags.""" + super().export_entity(tagwriter) + tagwriter.write_tag2(SUBCLASS_MARKER, acdb_spline.name) + self.dxf.export_dxf_attribs(tagwriter, ["extrusion", "flags", "degree"]) + tagwriter.write_tag2(72, self.knot_count()) + tagwriter.write_tag2(73, self.control_point_count()) + tagwriter.write_tag2(74, self.fit_point_count()) + self.dxf.export_dxf_attribs( + tagwriter, + [ + "knot_tolerance", + "control_point_tolerance", + "fit_tolerance", + "start_tangent", + "end_tangent", + ], + ) + + self.export_spline_data(tagwriter) + + def export_spline_data(self, tagwriter: AbstractTagWriter): + for value in self._knots: + tagwriter.write_tag2(40, value) + + if len(self._weights): + for value in self._weights: + tagwriter.write_tag2(41, value) + + self._control_points.export_dxf(tagwriter, code=10) # type: ignore + self._fit_points.export_dxf(tagwriter, code=11) # type: ignore + + @property + def closed(self) -> bool: + """``True`` if spline is closed. A closed spline has a connection from + the last control point to the first control point. (read/write) + """ + return self.get_flag_state(self.CLOSED, name="flags") + + @closed.setter + def closed(self, status: bool) -> None: + self.set_flag_state(self.CLOSED, state=status, name="flags") + + @property + def knots(self) -> list[float]: + """Knot values as :code:`array.array('d')`.""" + return self._knots + + @knots.setter + def knots(self, values: Iterable[float]) -> None: + self._knots: list[float] = cast(List[float], array.array("d", values)) + + # DXF callback attribute Spline.dxf.n_knots + def knot_count(self) -> int: + """Count of knot values.""" + return len(self._knots) + + @property + def weights(self) -> list[float]: + """Control point weights as :code:`array.array('d')`.""" + return self._weights + + @weights.setter + def weights(self, values: Iterable[float]) -> None: + self._weights: list[float] = cast(List[float], array.array("d", values)) + + @property + def control_points(self) -> Vertices: + """:class:`~ezdxf.lldxf.packedtags.VertexArray` of control points in + :ref:`WCS`. + """ + return self._control_points + + @control_points.setter + def control_points(self, points: Iterable[UVec]) -> None: + self._control_points: Vertices = cast(Vertices, VertexArray(Vec3.list(points))) + + # DXF callback attribute Spline.dxf.n_control_points + def control_point_count(self) -> int: + """Count of control points.""" + return len(self.control_points) + + @property + def fit_points(self) -> Vertices: + """:class:`~ezdxf.lldxf.packedtags.VertexArray` of fit points in + :ref:`WCS`. + """ + return self._fit_points + + @fit_points.setter + def fit_points(self, points: Iterable[UVec]) -> None: + self._fit_points: Vertices = cast( + Vertices, + VertexArray(Vec3.list(points)), + ) + + # DXF callback attribute Spline.dxf.n_fit_points + def fit_point_count(self) -> int: + """Count of fit points.""" + return len(self.fit_points) + + def construction_tool(self) -> BSpline: + """Returns the construction tool :class:`ezdxf.math.BSpline`.""" + if self.control_point_count(): + weights = self.weights if len(self.weights) else None + + if len(self.knots): + knots = round_knots(self.knots, self.dxf.knot_tolerance) + else: + knots = None + return BSpline( + control_points=self.control_points, + order=self.dxf.degree + 1, + knots=knots, + weights=weights, + ) + elif self.fit_point_count(): + tangents = None + if self.dxf.hasattr("start_tangent") and self.dxf.hasattr("end_tangent"): + tangents = [self.dxf.start_tangent, self.dxf.end_tangent] + # SPLINE from fit points has always a degree of 3! + return fit_points_to_cad_cv( + self.fit_points, + tangents=tangents, + ) + else: + raise ValueError("Construction tool requires control- or fit points.") + + def apply_construction_tool(self, s) -> Spline: + """Apply SPLINE data from a :class:`~ezdxf.math.BSpline` construction + tool or from a :class:`geomdl.BSpline.Curve` object. + + """ + try: + self.control_points = s.control_points + except AttributeError: # maybe a geomdl.BSpline.Curve class + s = BSpline.from_nurbs_python_curve(s) + self.control_points = s.control_points + + self.dxf.degree = s.degree + self.fit_points = [] # remove fit points + self.knots = s.knots() + self.weights = s.weights() + self.set_flag_state(Spline.RATIONAL, state=bool(len(self.weights))) + return self # floating interface + + def flattening(self, distance: float, segments: int = 4) -> Iterator[Vec3]: + """Adaptive recursive flattening. The argument `segments` is the + minimum count of approximation segments between two knots, if the + distance from the center of the approximation segment to the curve is + bigger than `distance` the segment will be subdivided. + + Args: + distance: maximum distance from the projected curve point onto the + segment chord. + segments: minimum segment count between two knots + + """ + return self.construction_tool().flattening(distance, segments) + + @classmethod + def from_arc(cls, entity: DXFGraphic) -> Spline: + """Create a new SPLINE entity from a CIRCLE, ARC or ELLIPSE entity. + + The new SPLINE entity has no owner, no handle, is not stored in + the entity database nor assigned to any layout! + + """ + dxftype = entity.dxftype() + if dxftype == "ELLIPSE": + ellipse = cast("Ellipse", entity).construction_tool() + elif dxftype == "CIRCLE": + ellipse = ConstructionEllipse.from_arc( + center=entity.dxf.get("center", NULLVEC), + radius=abs(entity.dxf.get("radius", 1.0)), + extrusion=entity.dxf.get("extrusion", Z_AXIS), + ) + elif dxftype == "ARC": + ellipse = ConstructionEllipse.from_arc( + center=entity.dxf.get("center", NULLVEC), + radius=abs(entity.dxf.get("radius", 1.0)), + extrusion=entity.dxf.get("extrusion", Z_AXIS), + start_angle=entity.dxf.get("start_angle", 0), + end_angle=entity.dxf.get("end_angle", 360), + ) + else: + raise TypeError("CIRCLE, ARC or ELLIPSE entity required.") + + spline = Spline.new(dxfattribs=entity.graphic_properties(), doc=entity.doc) + s = BSpline.from_ellipse(ellipse) + spline.dxf.degree = s.degree + spline.dxf.flags = Spline.RATIONAL + spline.control_points = s.control_points # type: ignore + spline.knots = s.knots() # type: ignore + spline.weights = s.weights() # type: ignore + return spline + + def set_open_uniform(self, control_points: Sequence[UVec], degree: int = 3) -> None: + """Open B-spline with a uniform knot vector, start and end at your first + and last control points. + + """ + self.dxf.flags = 0 + self.dxf.degree = degree + self.control_points = control_points # type: ignore + self.knots = open_uniform_knot_vector(len(control_points), degree + 1) + + def set_uniform(self, control_points: Sequence[UVec], degree: int = 3) -> None: + """B-spline with a uniform knot vector, does NOT start and end at your + first and last control points. + + """ + self.dxf.flags = 0 + self.dxf.degree = degree + self.control_points = control_points # type: ignore + self.knots = uniform_knot_vector(len(control_points), degree + 1) + + def set_closed(self, control_points: Sequence[UVec], degree=3) -> None: + """Closed B-spline with a uniform knot vector, start and end at your + first control point. + + """ + self.dxf.flags = self.PERIODIC | self.CLOSED + self.dxf.degree = degree + self.control_points = control_points # type: ignore + self.control_points.extend(control_points[:degree]) + # AutoDesk Developer Docs: + # If the spline is periodic, the length of knot vector will be greater + # than length of the control array by 1, but this does not work with + # BricsCAD. + self.knots = uniform_knot_vector(len(self.control_points), degree + 1) + + def set_open_rational( + self, + control_points: Sequence[UVec], + weights: Sequence[float], + degree: int = 3, + ) -> None: + """Open rational B-spline with a uniform knot vector, start and end at + your first and last control points, and has additional control + possibilities by weighting each control point. + + """ + self.set_open_uniform(control_points, degree=degree) + self.dxf.flags = self.dxf.flags | self.RATIONAL + if len(weights) != len(self.control_points): + raise DXFValueError("Control point count must be equal to weights count.") + self.weights = weights # type: ignore + + def set_uniform_rational( + self, + control_points: Sequence[UVec], + weights: Sequence[float], + degree: int = 3, + ) -> None: + """Rational B-spline with a uniform knot vector, does NOT start and end + at your first and last control points, and has additional control + possibilities by weighting each control point. + + """ + self.set_uniform(control_points, degree=degree) + self.dxf.flags = self.dxf.flags | self.RATIONAL + if len(weights) != len(self.control_points): + raise DXFValueError("Control point count must be equal to weights count.") + self.weights = weights # type: ignore + + def set_closed_rational( + self, + control_points: Sequence[UVec], + weights: Sequence[float], + degree: int = 3, + ) -> None: + """Closed rational B-spline with a uniform knot vector, start and end at + your first control point, and has additional control possibilities by + weighting each control point. + + """ + self.set_closed(control_points, degree=degree) + self.dxf.flags = self.dxf.flags | self.RATIONAL + weights = list(weights) + weights.extend(weights[:degree]) + if len(weights) != len(self.control_points): + raise DXFValueError("Control point count must be equal to weights count.") + self.weights = weights + + def transform(self, m: Matrix44) -> Spline: + """Transform the SPLINE entity by transformation matrix `m` inplace.""" + self._control_points.transform(m) # type: ignore + self._fit_points.transform(m) # type: ignore + # Transform optional attributes if they exist + dxf = self.dxf + for name in ("start_tangent", "end_tangent", "extrusion"): + if dxf.hasattr(name): + dxf.set(name, m.transform_direction(dxf.get(name))) + self.post_transform(m) + return self + + def audit(self, auditor: Auditor) -> None: + """Audit the SPLINE entity.""" + super().audit(auditor) + degree = self.dxf.degree + name = str(self) + + if degree < 1: + auditor.fixed_error( + code=AuditError.INVALID_SPLINE_DEFINITION, + message=f"Removed {name} with invalid degree: {degree} < 1.", + ) + auditor.trash(self) + return + + n_control_points = len(self.control_points) + n_fit_points = len(self.fit_points) + + if n_control_points == 0 and n_fit_points == 0: + auditor.fixed_error( + code=AuditError.INVALID_SPLINE_DEFINITION, + message=f"Removed {name} without any points (no geometry).", + ) + auditor.trash(self) + return + + if n_control_points > 0: + self._audit_control_points(auditor) + # Ignore fit points if defined by control points + elif n_fit_points > 0: + self._audit_fit_points(auditor) + + def _audit_control_points(self, auditor: Auditor): + name = str(self) + order = self.dxf.degree + 1 + n_control_points = len(self.control_points) + + # Splines with to few control points can't be processed: + n_control_points_required = required_control_points(order) + if n_control_points < n_control_points_required: + auditor.fixed_error( + code=AuditError.INVALID_SPLINE_CONTROL_POINT_COUNT, + message=f"Removed {name} with invalid control point count: " + f"{n_control_points} < {n_control_points_required}", + ) + auditor.trash(self) + return + + n_weights = len(self.weights) + n_knots = len(self.knots) + n_knots_required = required_knot_values(n_control_points, order) + + if n_knots < n_knots_required: + # Can not fix entity: because the knot values are basic + # values which define the geometry of SPLINE. + auditor.fixed_error( + code=AuditError.INVALID_SPLINE_KNOT_VALUE_COUNT, + message=f"Removed {name} with invalid knot value count: " + f"{n_knots} < {n_knots_required}", + ) + auditor.trash(self) + return + + if n_weights and n_weights != n_control_points: + # Can not fix entity: because the weights are basic + # values which define the geometry of SPLINE. + auditor.fixed_error( + code=AuditError.INVALID_SPLINE_WEIGHT_COUNT, + message=f"Removed {name} with invalid weight count: " + f"{n_weights} != {n_control_points}", + ) + auditor.trash(self) + return + + def _audit_fit_points(self, auditor: Auditor): + name = str(self) + order = self.dxf.degree + 1 + # Assuming end tangents will be estimated if not present, + # like by ezdxf: + n_fit_points_required = required_fit_points(order, tangents=True) + + # Splines with to few fit points can't be processed: + n_fit_points = len(self.fit_points) + if n_fit_points < n_fit_points_required: + auditor.fixed_error( + code=AuditError.INVALID_SPLINE_FIT_POINT_COUNT, + message=f"Removed {name} with invalid fit point count: " + f"{n_fit_points} < {n_fit_points_required}", + ) + auditor.trash(self) + return + + # Knot values have no meaning for splines defined by fit points: + if len(self.knots): + auditor.fixed_error( + code=AuditError.INVALID_SPLINE_KNOT_VALUE_COUNT, + message=f"Removed unused knot values for {name} " + f"defined by fit points.", + ) + self.knots = [] + + # Weights have no meaning for splines defined by fit points: + if len(self.weights): + auditor.fixed_error( + code=AuditError.INVALID_SPLINE_WEIGHT_COUNT, + message=f"Removed unused weights for {name} " f"defined by fit points.", + ) + self.weights = [] + + def ocs(self) -> OCS: + # WCS entity which supports the "extrusion" attribute in a + # different way! + return OCS() diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/entities/subentity.py b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/entities/subentity.py new file mode 100644 index 0000000000000000000000000000000000000000..4e13edb2e862c54c9e9d350d2238059250a2212f --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/entities/subentity.py @@ -0,0 +1,217 @@ +# Copyright (c) 2020-2024, Manfred Moitzi +# License: MIT License +from __future__ import annotations +from typing import TYPE_CHECKING, Iterable, Callable, Optional +from typing_extensions import Self + +from ezdxf.entities import factory, DXFGraphic, SeqEnd, DXFEntity +from ezdxf.lldxf import const +from .copy import default_copy +import logging + +if TYPE_CHECKING: + from ezdxf.document import Drawing + from ezdxf.entities import DXFEntity + from ezdxf.entitydb import EntityDB + from ezdxf import xref + + +__all__ = ["entity_linker", "LinkedEntities"] +logger = logging.getLogger("ezdxf") + + +class LinkedEntities(DXFGraphic): + """Super class for common features of the INSERT and the POLYLINE entity. + Both have linked entities like the VERTEX or ATTRIB entity and a + SEQEND entity. + + """ + + def __init__(self) -> None: + super().__init__() + self._sub_entities: list[DXFGraphic] = [] + self.seqend: Optional[SeqEnd] = None + + def copy_data(self, entity: Self, copy_strategy=default_copy) -> None: + """Copy all sub-entities ands SEQEND. (internal API)""" + assert isinstance(entity, LinkedEntities) + entity._sub_entities = [ + copy_strategy.copy(e) for e in self._sub_entities + ] + if self.seqend: + entity.seqend = copy_strategy.copy(self.seqend) + + def link_entity(self, entity: DXFEntity) -> None: + """Link VERTEX to ATTRIB entities.""" + assert isinstance(entity, DXFGraphic) + entity.set_owner(self.dxf.handle, self.dxf.paperspace) + self._sub_entities.append(entity) + + def link_seqend(self, seqend: DXFEntity) -> None: + """Link SEQEND entity. (internal API)""" + seqend.dxf.owner = self.dxf.owner + if self.seqend is not None: # destroy existing seqend + self.seqend.destroy() + self.seqend = seqend # type: ignore + + def post_bind_hook(self): + """Create always a SEQEND entity.""" + if self.seqend is None: + self.new_seqend() + + def all_sub_entities(self) -> Iterable[DXFEntity]: + """Yields all sub-entities and SEQEND. (internal API)""" + yield from self._sub_entities + if self.seqend: + yield self.seqend + + def process_sub_entities(self, func: Callable[[DXFEntity], None]): + """Call `func` for all sub-entities and SEQEND. (internal API)""" + for entity in self.all_sub_entities(): + if entity.is_alive: + func(entity) + + def add_sub_entities_to_entitydb(self, db: EntityDB) -> None: + """Add sub-entities (VERTEX, ATTRIB, SEQEND) to entity database `db`, + called from EntityDB. (internal API) + """ + + def add(entity: DXFEntity): + entity.doc = self.doc # grant same document + db.add(entity) + + if not self.seqend or not self.seqend.is_alive: + self.new_seqend() + self.process_sub_entities(add) + + def new_seqend(self): + """Create and bind new SEQEND. (internal API)""" + attribs = {"layer": self.dxf.layer} + if self.doc: + seqend = factory.create_db_entry("SEQEND", attribs, self.doc) + else: + seqend = factory.new("SEQEND", attribs) + self.link_seqend(seqend) + + def set_owner(self, owner: Optional[str], paperspace: int = 0): + """Set owner of all sub-entities and SEQEND. (internal API)""" + # Loading from file: POLYLINE/INSERT will be added to layout before + # vertices/attrib entities are linked, so set_owner() of POLYLINE does + # not set owner of vertices at loading time. + super().set_owner(owner, paperspace) + self.take_ownership() + + def take_ownership(self): + """Take ownership of all sub-entities and SEQEND. (internal API)""" + handle = self.dxf.handle + paperspace = self.dxf.paperspace + for entity in self.all_sub_entities(): + if entity.is_alive: + entity.dxf.owner = handle + entity.dxf.paperspace = paperspace + + def remove_dependencies(self, other: Optional[Drawing] = None): + """Remove all dependencies from current document to bind entity to + `other` document. (internal API) + """ + self.process_sub_entities(lambda e: e.remove_dependencies(other)) + super().remove_dependencies(other) + + def destroy(self) -> None: + """Destroy all data and references.""" + if not self.is_alive: + return + + self.process_sub_entities(func=lambda e: e.destroy()) + del self._sub_entities + del self.seqend + super().destroy() + + def register_resources(self, registry: xref.Registry) -> None: + """Register required resources to the resource registry.""" + super().register_resources(registry) + self.process_sub_entities(lambda e: e.register_resources(registry)) + + def map_resources(self, clone: Self, mapping: xref.ResourceMapper) -> None: + """Translate resources from self to the copied entity.""" + assert isinstance(clone, LinkedEntities) + super().map_resources(clone, mapping) + for source, _clone in zip(self.all_sub_entities(), clone.all_sub_entities()): + source.map_resources(_clone, mapping) + + +LINKED_ENTITIES = {"INSERT": "ATTRIB", "POLYLINE": "VERTEX"} + + +def entity_linker() -> Callable[[DXFEntity], bool]: + """Create an DXF entities linker.""" + main_entity: Optional[DXFEntity] = None + expected_dxftype = "" + + def entity_linker_(entity: DXFEntity) -> bool: + """Collect and link entities which are linked to a parent entity: + + - VERTEX -> POLYLINE + - ATTRIB -> INSERT + + Args: + entity: examined DXF entity + + Returns: + True if `entity` is linked to a parent entity + + """ + nonlocal main_entity, expected_dxftype + dxftype: str = entity.dxftype() + # INSERT & POLYLINE are not linked entities, they are stored in the + # entity space. + are_linked_entities = False + if main_entity is not None: + # VERTEX, ATTRIB & SEQEND are linked tags, they are NOT stored in + # the entity space. + are_linked_entities = True + if dxftype == "SEQEND": + main_entity.link_seqend(entity) # type: ignore + # Marks also the end of the main entity + main_entity = None + # Check for valid DXF structure: + # VERTEX follows POLYLINE + # ATTRIB follows INSERT + elif dxftype == expected_dxftype: + main_entity.link_entity(entity) # type: ignore + else: + raise const.DXFStructureError( + f"Expected DXF entity {dxftype} or SEQEND" + ) + + elif dxftype in LINKED_ENTITIES: + # Only INSERT and POLYLINE have a linked entities structure: + if dxftype == "INSERT" and not entity.dxf.get("attribs_follow", 0): + # INSERT must not have following ATTRIBS: + # + # INSERT with no ATTRIBS, attribs_follow == 0 + # ATTRIB as a stand alone entity, which is a DXF structure + # error, but this error should be handled in the audit + # process. + # .... + # INSERT with ATTRIBS, attribs_follow == 1 + # ATTRIB as connected entity + # SEQEND + # + # Therefore a ATTRIB following an INSERT doesn't mean that + # these entities are linked. + pass + else: + main_entity = entity + expected_dxftype = LINKED_ENTITIES[dxftype] + + # Attached MTEXT entity - this feature most likely does not exist! + elif (dxftype == "MTEXT") and (entity.dxf.handle is None): + logger.error( + "Found attached MTEXT entity. Please open an issue at github: " + "https://github.com/mozman/ezdxf/issues and provide a DXF " + "example file." + ) + return are_linked_entities + + return entity_linker_ diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/entities/sun.py b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/entities/sun.py new file mode 100644 index 0000000000000000000000000000000000000000..434c51004d499066d275bfb685f605c3b6172377 --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/entities/sun.py @@ -0,0 +1,154 @@ +# Copyright (c) 2019-2022, Manfred Moitzi +# License: MIT-License +from __future__ import annotations +from typing import TYPE_CHECKING, Optional +from ezdxf.lldxf import validator +from ezdxf.lldxf.const import SUBCLASS_MARKER, DXF2007 +from ezdxf.lldxf.attributes import ( + DXFAttributes, + DefSubclass, + DXFAttr, + RETURN_DEFAULT, + group_code_mapping, +) +from .dxfentity import base_class, SubclassProcessor +from .dxfobj import DXFObject +from .factory import register_entity + +if TYPE_CHECKING: + from ezdxf.entities import DXFNamespace + from ezdxf.lldxf.tagwriter import AbstractTagWriter + +__all__ = ["Sun"] + +acdb_sun = DefSubclass( + "AcDbSun", + { + "version": DXFAttr(90, default=1), + "status": DXFAttr( + 290, + default=1, + validator=validator.is_integer_bool, + fixer=RETURN_DEFAULT, + ), + "color": DXFAttr( + 63, + default=7, + validator=validator.is_valid_aci_color, + fixer=RETURN_DEFAULT, + ), + "true_color": DXFAttr(421, default=16777215), + "intensity": DXFAttr(40, default=1), + "shadows": DXFAttr( + 291, + default=1, + validator=validator.is_integer_bool, + fixer=RETURN_DEFAULT, + ), + "julian_day": DXFAttr(91, default=2456922), + # Time in seconds past midnight: + "time": DXFAttr(92, default=43200), + "daylight_savings_time": DXFAttr( + 292, + default=0, + validator=validator.is_integer_bool, + fixer=RETURN_DEFAULT, + ), + # Shadow type: + # 0 = Ray traced shadows + # 1 = Shadow maps + "shadow_type": DXFAttr( + 70, + default=0, + validator=validator.is_integer_bool, + fixer=RETURN_DEFAULT, + ), + "shadow_map_size": DXFAttr(71, default=256), + "shadow_softness": DXFAttr(280, default=1), + }, +) +acdb_sun_group_codes = group_code_mapping(acdb_sun) + + +@register_entity +class Sun(DXFObject): + """DXF SUN entity""" + + DXFTYPE = "SUN" + DXFATTRIBS = DXFAttributes(base_class, acdb_sun) + MIN_DXF_VERSION_FOR_EXPORT = DXF2007 + + def load_dxf_attribs( + self, processor: Optional[SubclassProcessor] = None + ) -> DXFNamespace: + dxf = super().load_dxf_attribs(processor) + if processor: + processor.fast_load_dxfattribs(dxf, acdb_sun_group_codes, 1) + return dxf + + def export_entity(self, tagwriter: AbstractTagWriter) -> None: + """Export entity specific data as DXF tags.""" + super().export_entity(tagwriter) + tagwriter.write_tag2(SUBCLASS_MARKER, acdb_sun.name) + self.dxf.export_dxf_attribs( + tagwriter, + [ + "version", + "status", + "color", + "true_color", + "intensity", + "shadows", + "julian_day", + "time", + "daylight_savings_time", + "shadow_type", + "shadow_map_size", + "shadow_softness", + ], + ) + + +# todo: implement SUNSTUDY? +acdb_sunstudy = DefSubclass( + "AcDbSun", + { + "version": DXFAttr(90), + "name": DXFAttr(1), + "description": DXFAttr(2), + "output_type": DXFAttr(70), + "sheet_set_name": DXFAttr( + 3 + ), # Included only if Output type is Sheet Set. + "use_subset": DXFAttr( + 290 + ), # Included only if Output type is Sheet Set. + "sheet_subset_name": DXFAttr(4), + # Included only if Output type is Sheet Set. + "dates_from_calender": DXFAttr(291), + "date_input_array_size": DXFAttr(91), + # represents the number of dates picked + # 90 Julian day; represents the date. One entry for each date picked. + # 90 Seconds past midnight; represents the time of day. One entry for each date picked. + "range_of_dates": DXFAttr(292), + # 93 Start time. If range of dates flag is true. + # 94 End time. If range of dates flag is true. + # 95 Interval in seconds. If range of dates flag is true. + "hours_count": DXFAttr(73), + # 290 Hour. One entry for every hour as specified by the number of hours entry above. + "page_setup_wizard_handle": DXFAttr( + 340 + ), # Page setup wizard hard pointer ID + "view_handle": DXFAttr(341), # View hard pointer ID + "visual_style_handle": DXFAttr(342), # Visual Style ID + "shade_plot_type": DXFAttr(74), + "viewports_per_page": DXFAttr(75), + "row_count": DXFAttr(76), # Number of rows for viewport distribution + "column_count": DXFAttr(77), # Number of columns for viewport distribution + "spacing": DXFAttr(40), + "lock_viewports": DXFAttr(293), + "label_viewports": DXFAttr(294), + "text_style_handle": DXFAttr(343), + }, +) +acdb_sunstudy_group_codes = group_code_mapping(acdb_sunstudy) diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/entities/table.py b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/entities/table.py new file mode 100644 index 0000000000000000000000000000000000000000..f46784c47ac7a02e1e3b62073ffee24ee718985f --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/entities/table.py @@ -0,0 +1,71 @@ +# Copyright (c) 2019-2022 Manfred Moitzi +# License: MIT License +from __future__ import annotations +from typing import TYPE_CHECKING, Optional +from ezdxf.lldxf.attributes import DXFAttr, DXFAttributes, DefSubclass +from ezdxf.lldxf import const +from .dxfentity import SubclassProcessor, DXFEntity +from .factory import register_entity + +if TYPE_CHECKING: + from ezdxf.entities import DXFNamespace + from ezdxf.lldxf.tagwriter import AbstractTagWriter + +__all__ = ["TableHead"] + +base_class = DefSubclass( + None, + { + "name": DXFAttr(2), + "handle": DXFAttr(5), + "owner": DXFAttr(330), + }, +) + +acdb_symbol_table = DefSubclass( + "AcDbSymbolTable", + { + "count": DXFAttr(70, default=0), + }, +) + + +@register_entity +class TableHead(DXFEntity): + """The table head structure is only maintained for export and not for + internal usage, ezdxf ignores an inconsistent table head at runtime. + + """ + + DXFTYPE = "TABLE" + DXFATTRIBS = DXFAttributes(base_class, acdb_symbol_table) + + def load_dxf_attribs( + self, processor: Optional[SubclassProcessor] = None + ) -> DXFNamespace: + dxf = super().load_dxf_attribs(processor) + if processor: + dxf.name = processor.base_class.get_first_value(2) + # Stored max table count is not required: + dxf.count = 0 + return dxf + + def export_dxf(self, tagwriter: AbstractTagWriter) -> None: + assert self.dxf.handle, ( + "TABLE needs a handle, maybe loaded from DXF R12 without handle!" + ) + tagwriter.write_tag2(const.STRUCTURE_MARKER, self.DXFTYPE) + tagwriter.write_tag2(2, self.dxf.name) + if tagwriter.dxfversion >= const.DXF2000: + tagwriter.write_tag2(5, self.dxf.handle) + if self.has_extension_dict: + self.extension_dict.export_dxf(tagwriter) # type: ignore + tagwriter.write_tag2(const.OWNER_CODE, self.dxf.owner) + tagwriter.write_tag2(const.SUBCLASS_MARKER, acdb_symbol_table.name) + tagwriter.write_tag2(70, self.dxf.count) + # There is always one exception: + if self.dxf.name == "DIMSTYLE": + tagwriter.write_tag2(const.SUBCLASS_MARKER, "AcDbDimStyleTable") + else: # DXF R12 + # TABLE does not need a handle at all + tagwriter.write_tag2(70, self.dxf.count) diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/entities/temporary_transform.py b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/entities/temporary_transform.py new file mode 100644 index 0000000000000000000000000000000000000000..6c4392516061ce9686445e6dd7b6350069ead3e2 --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/entities/temporary_transform.py @@ -0,0 +1,49 @@ +# Copyright (c) 2024, Manfred Moitzi +# License: MIT License +from __future__ import annotations +from typing import TYPE_CHECKING +import abc + +if TYPE_CHECKING: + from ezdxf.math import Matrix44 + from ezdxf.entities.dxfgfx import DXFEntity + +__all__ = ["TemporaryTransformation", "TransformByBlockReference"] + + +class TemporaryTransformation: + __slots__ = ("_matrix",) + + def __init__(self) -> None: + self._matrix: Matrix44 | None = None + + def get_matrix(self) -> Matrix44 | None: + return self._matrix + + def set_matrix(self, m: Matrix44 | None) -> None: + self._matrix = m + + def add_matrix(self, m: Matrix44) -> None: + matrix = self.get_matrix() + if matrix is not None: + m = matrix @ m + self.set_matrix(m) + + @abc.abstractmethod + def apply_transformation(self, entity: DXFEntity) -> bool: ... + + +class TransformByBlockReference(TemporaryTransformation): + __slots__ = ("_matrix",) + + def apply_transformation(self, entity: DXFEntity) -> bool: + from ezdxf.transform import transform_entity_by_blockref + + m = self.get_matrix() + if m is None: + return False + + if transform_entity_by_blockref(entity, m): + self.set_matrix(None) + return True + return False diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/entities/text.py b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/entities/text.py new file mode 100644 index 0000000000000000000000000000000000000000..0431e60618c36598f75b57abc6835f53b9db7d56 --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/entities/text.py @@ -0,0 +1,483 @@ +# Copyright (c) 2019-2024 Manfred Moitzi +# License: MIT License +from __future__ import annotations +from typing import TYPE_CHECKING, Optional +from typing_extensions import Self +import math + +from ezdxf.lldxf import validator +from ezdxf.lldxf import const +from ezdxf.lldxf.attributes import ( + DXFAttr, + DXFAttributes, + DefSubclass, + XType, + RETURN_DEFAULT, + group_code_mapping, + merge_group_code_mappings, +) +from ezdxf.enums import ( + TextEntityAlignment, + MAP_TEXT_ENUM_TO_ALIGN_FLAGS, + MAP_TEXT_ALIGN_FLAGS_TO_ENUM, +) +from ezdxf.math import Vec3, UVec, Matrix44, NULLVEC, Z_AXIS +from ezdxf.math.transformtools import OCSTransform +from ezdxf.audit import Auditor +from ezdxf.tools.text import plain_text + +from .dxfentity import base_class, SubclassProcessor +from .dxfgfx import ( + DXFGraphic, + acdb_entity, + elevation_to_z_axis, + acdb_entity_group_codes, +) +from .factory import register_entity + +if TYPE_CHECKING: + from ezdxf.document import Drawing + from ezdxf.entities import DXFNamespace, DXFEntity + from ezdxf.lldxf.tagwriter import AbstractTagWriter + from ezdxf import xref + +__all__ = ["Text", "acdb_text", "acdb_text_group_codes"] + +acdb_text = DefSubclass( + "AcDbText", + { + # First alignment point (in OCS): + "insert": DXFAttr(10, xtype=XType.point3d, default=NULLVEC), + # Text height + "height": DXFAttr( + 40, + default=2.5, + validator=validator.is_greater_zero, + fixer=RETURN_DEFAULT, + ), + # Text content as string: + "text": DXFAttr( + 1, + default="", + validator=validator.is_valid_one_line_text, + fixer=validator.fix_one_line_text, + ), + # Text rotation in degrees (optional) + "rotation": DXFAttr(50, default=0, optional=True), + # Oblique angle in degrees, vertical = 0 deg (optional) + "oblique": DXFAttr(51, default=0, optional=True), + # Text style name (optional), given text style must have an entry in the + # text-styles tables. + "style": DXFAttr(7, default="Standard", optional=True), + # Relative X scale factor—width (optional) + # This value is also adjusted when fit-type text is used + "width": DXFAttr( + 41, + default=1, + optional=True, + validator=validator.is_greater_zero, + fixer=RETURN_DEFAULT, + ), + # Text generation flags (optional) + # 2 = backward (mirror-x), + # 4 = upside down (mirror-y) + "text_generation_flag": DXFAttr( + 71, + default=0, + optional=True, + validator=validator.is_one_of({0, 2, 4, 6}), + fixer=RETURN_DEFAULT, + ), + # Horizontal text justification type (optional) horizontal justification + # 0 = Left + # 1 = Center + # 2 = Right + # 3 = Aligned (if vertical alignment = 0) + # 4 = Middle (if vertical alignment = 0) + # 5 = Fit (if vertical alignment = 0) + # This value is meaningful only if the value of a 72 or 73 group is nonzero + # (if the justification is anything other than baseline/left) + "halign": DXFAttr( + 72, + default=0, + optional=True, + validator=validator.is_in_integer_range(0, 6), + fixer=RETURN_DEFAULT, + ), + # Second alignment point (in OCS) (optional) + "align_point": DXFAttr(11, xtype=XType.point3d, optional=True), + # Elevation is a legacy feature from R11 and prior, do not use this + # attribute, store the entity elevation in the z-axis of the vertices. + # ezdxf does not export the elevation attribute! + "elevation": DXFAttr(38, default=0, optional=True), + # Thickness in extrusion direction, only supported for SHX font in + # AutoCAD/BricsCAD (optional), can be negative + "thickness": DXFAttr(39, default=0, optional=True), + # Extrusion direction (optional) + "extrusion": DXFAttr( + 210, + xtype=XType.point3d, + default=Z_AXIS, + optional=True, + validator=validator.is_not_null_vector, + fixer=RETURN_DEFAULT, + ), + }, +) +acdb_text_group_codes = group_code_mapping(acdb_text) +acdb_text2 = DefSubclass( + "AcDbText", + { + # Vertical text justification type (optional) + # 0 = Baseline + # 1 = Bottom + # 2 = Middle + # 3 = Top + "valign": DXFAttr( + 73, + default=0, + optional=True, + validator=validator.is_in_integer_range(0, 4), + fixer=RETURN_DEFAULT, + ) + }, +) +acdb_text2_group_codes = group_code_mapping(acdb_text2) +merged_text_group_codes = merge_group_code_mappings( + acdb_entity_group_codes, # type: ignore + acdb_text_group_codes, + acdb_text2_group_codes, +) + + +# Formatting codes: +# %%d: '°' +# %%u in TEXT start underline formatting until next %%u or until end of line + + +@register_entity +class Text(DXFGraphic): + """DXF TEXT entity""" + + DXFTYPE = "TEXT" + DXFATTRIBS = DXFAttributes(base_class, acdb_entity, acdb_text, acdb_text2) + # horizontal align values + LEFT = 0 + CENTER = 1 + RIGHT = 2 + # vertical align values + BASELINE = 0 + BOTTOM = 1 + MIDDLE = 2 + TOP = 3 + # text generation flags + MIRROR_X = 2 + MIRROR_Y = 4 + BACKWARD = MIRROR_X + UPSIDE_DOWN = MIRROR_Y + + def load_dxf_attribs( + self, processor: Optional[SubclassProcessor] = None + ) -> DXFNamespace: + """Loading interface. (internal API)""" + dxf = super(DXFGraphic, self).load_dxf_attribs(processor) + if processor: + processor.simple_dxfattribs_loader(dxf, merged_text_group_codes) + if processor.r12: + # Transform elevation attribute from R11 to z-axis values: + elevation_to_z_axis(dxf, ("insert", "align_point")) + return dxf + + def export_entity(self, tagwriter: AbstractTagWriter) -> None: + """Export entity specific data as DXF tags. (internal API)""" + super().export_entity(tagwriter) + self.export_acdb_text(tagwriter) + self.export_acdb_text2(tagwriter) + + def export_acdb_text(self, tagwriter: AbstractTagWriter) -> None: + """Export TEXT data as DXF tags. (internal API)""" + if tagwriter.dxfversion > const.DXF12: + tagwriter.write_tag2(const.SUBCLASS_MARKER, acdb_text.name) + self.dxf.export_dxf_attribs( + tagwriter, + [ + "insert", + "height", + "text", + "thickness", + "rotation", + "oblique", + "style", + "width", + "text_generation_flag", + "halign", + "align_point", + "extrusion", + ], + ) + + def export_acdb_text2(self, tagwriter: AbstractTagWriter) -> None: + """Export TEXT data as DXF tags. (internal API)""" + if tagwriter.dxfversion > const.DXF12: + tagwriter.write_tag2(const.SUBCLASS_MARKER, acdb_text2.name) + self.dxf.export_dxf_attribs(tagwriter, "valign") + + def set_placement( + self, + p1: UVec, + p2: Optional[UVec] = None, + align: Optional[TextEntityAlignment] = None, + ) -> Text: + """Set text alignment and location. + + The alignments :attr:`ALIGNED` and :attr:`FIT` + are special, they require a second alignment point, the text is aligned + on the virtual line between these two points and sits vertically at the + baseline. + + - :attr:`ALIGNED`: Text is stretched or compressed + to fit exactly between `p1` and `p2` and the text height is also + adjusted to preserve height/width ratio. + - :attr:`FIT`: Text is stretched or compressed to fit + exactly between `p1` and `p2` but only the text width is adjusted, + the text height is fixed by the :attr:`dxf.height` attribute. + - :attr:`MIDDLE`: also a special adjustment, centered + text like :attr:`MIDDLE_CENTER`, but vertically + centred at the total height of the text. + + Args: + p1: first alignment point as (x, y[, z]) + p2: second alignment point as (x, y[, z]), required for :attr:`ALIGNED` + and :attr:`FIT` else ignored + align: new alignment as enum :class:`~ezdxf.enums.TextEntityAlignment`, + ``None`` to preserve the existing alignment. + + """ + if align is None: + align = self.get_align_enum() + else: + assert isinstance(align, TextEntityAlignment) + self.set_align_enum(align) + self.dxf.insert = p1 + if align in (TextEntityAlignment.ALIGNED, TextEntityAlignment.FIT): + if p2 is None: + raise const.DXFValueError( + f"Alignment '{str(align)}' requires a second alignment point." + ) + else: + p2 = p1 + self.dxf.align_point = p2 + return self + + def get_placement(self) -> tuple[TextEntityAlignment, Vec3, Optional[Vec3]]: + """Returns a tuple (`align`, `p1`, `p2`), `align` is the alignment + enum :class:`~ezdxf.enum.TextEntityAlignment`, `p1` is the + alignment point, `p2` is only relevant if `align` is :attr:`ALIGNED` or + :attr:`FIT`, otherwise it is ``None``. + + """ + p1 = Vec3(self.dxf.insert) + # Except for "LEFT" is the "align point" the real insert point: + # If the required "align point" is not present use "insert"! + p2 = Vec3(self.dxf.get("align_point", p1)) + align = self.get_align_enum() + if align is TextEntityAlignment.LEFT: + return align, p1, None + if align in (TextEntityAlignment.FIT, TextEntityAlignment.ALIGNED): + return align, p1, p2 + return align, p2, None + + def set_align_enum(self, align=TextEntityAlignment.LEFT) -> Text: + """Just for experts: Sets the text alignment without setting the + alignment points, set adjustment points attr:`dxf.insert` and + :attr:`dxf.align_point` manually. + + Args: + align: :class:`~ezdxf.enums.TextEntityAlignment` + + """ + halign, valign = MAP_TEXT_ENUM_TO_ALIGN_FLAGS[align] + self.dxf.halign = halign + self.dxf.valign = valign + return self + + def get_align_enum(self) -> TextEntityAlignment: + """Returns the current text alignment as :class:`~ezdxf.enums.TextEntityAlignment`, + see also :meth:`set_placement`. + """ + halign = self.dxf.get("halign", 0) + valign = self.dxf.get("valign", 0) + if halign > 2: + valign = 0 + return MAP_TEXT_ALIGN_FLAGS_TO_ENUM.get( + (halign, valign), TextEntityAlignment.LEFT + ) + + def transform(self, m: Matrix44) -> Text: + """Transform the TEXT entity by transformation matrix `m` inplace.""" + dxf = self.dxf + if not dxf.hasattr("align_point"): + dxf.align_point = dxf.insert + ocs = OCSTransform(self.dxf.extrusion, m) + dxf.insert = ocs.transform_vertex(dxf.insert) + dxf.align_point = ocs.transform_vertex(dxf.align_point) + old_rotation = dxf.rotation + new_rotation = ocs.transform_deg_angle(old_rotation) + x_scale = ocs.transform_length(Vec3.from_deg_angle(old_rotation)) + y_scale = ocs.transform_length(Vec3.from_deg_angle(old_rotation + 90.0)) + + if not ocs.scale_uniform: + oblique_vec = Vec3.from_deg_angle(old_rotation + 90.0 - dxf.oblique) + new_oblique_deg = ( + new_rotation + + 90.0 + - ocs.transform_direction(oblique_vec).angle_deg + ) + dxf.oblique = new_oblique_deg + y_scale *= math.cos(math.radians(new_oblique_deg)) + + dxf.width *= x_scale / y_scale + dxf.height *= y_scale + dxf.rotation = new_rotation + + if dxf.hasattr("thickness"): # can be negative + dxf.thickness = ocs.transform_thickness(dxf.thickness) + dxf.extrusion = ocs.new_extrusion + self.post_transform(m) + return self + + def translate(self, dx: float, dy: float, dz: float) -> Text: + """Optimized TEXT/ATTRIB/ATTDEF translation about `dx` in x-axis, `dy` + in y-axis and `dz` in z-axis, returns `self`. + + """ + ocs = self.ocs() + dxf = self.dxf + vec = Vec3(dx, dy, dz) + + dxf.insert = ocs.from_wcs(vec + ocs.to_wcs(dxf.insert)) + if dxf.hasattr("align_point"): + dxf.align_point = ocs.from_wcs(vec + ocs.to_wcs(dxf.align_point)) + # Avoid Matrix44 instantiation if not required: + if self.is_post_transform_required: + self.post_transform(Matrix44.translate(dx, dy, dz)) + return self + + def remove_dependencies(self, other: Optional[Drawing] = None) -> None: + """Remove all dependencies from actual document. + + (internal API) + """ + if not self.is_alive: + return + + super().remove_dependencies() + has_style = other is not None and (self.dxf.style in other.styles) + if not has_style: + self.dxf.style = "Standard" + + def register_resources(self, registry: xref.Registry) -> None: + """Register required resources to the resource registry.""" + super().register_resources(registry) + if self.dxf.hasattr("style"): + registry.add_text_style(self.dxf.style) + + def map_resources(self, clone: Self, mapping: xref.ResourceMapper) -> None: + """Translate resources from self to the copied entity.""" + super().map_resources(clone, mapping) + if clone.dxf.hasattr("style"): + clone.dxf.style = mapping.get_text_style(clone.dxf.style) + + def plain_text(self) -> str: + """Returns text content without formatting codes.""" + return plain_text(self.dxf.text) + + def audit(self, auditor: Auditor): + """Validity check.""" + super().audit(auditor) + auditor.check_text_style(self) + + @property + def is_backward(self) -> bool: + """Get/set text generation flag BACKWARDS, for mirrored text along the + x-axis. + """ + return bool(self.dxf.text_generation_flag & const.BACKWARD) + + @is_backward.setter + def is_backward(self, state) -> None: + self.set_flag_state(const.BACKWARD, state, "text_generation_flag") + + @property + def is_upside_down(self) -> bool: + """Get/set text generation flag UPSIDE_DOWN, for mirrored text along + the y-axis. + + """ + return bool(self.dxf.text_generation_flag & const.UPSIDE_DOWN) + + @is_upside_down.setter + def is_upside_down(self, state) -> None: + self.set_flag_state(const.UPSIDE_DOWN, state, "text_generation_flag") + + def wcs_transformation_matrix(self) -> Matrix44: + return text_transformation_matrix(self) + + def font_name(self) -> str: + """Returns the font name of the associated :class:`Textstyle`.""" + font_name = "arial.ttf" + style_name = self.dxf.style + if self.doc: + try: + style = self.doc.styles.get(style_name) + font_name = style.dxf.font + except ValueError: + pass + return font_name + + def fit_length(self) -> float: + """Returns the text length for alignments :attr:`TextEntityAlignment.FIT` + and :attr:`TextEntityAlignment.ALIGNED`, defined by the distance from + the insertion point to the align point or 0 for all other alignments. + + """ + length = 0.0 + align, p1, p2 = self.get_placement() + if align in (TextEntityAlignment.FIT, TextEntityAlignment.ALIGNED): + # text is stretch between p1 and p2 + length = p1.distance(p2) + return length + + +def text_transformation_matrix(entity: Text) -> Matrix44: + """Apply rotation, width factor, translation to the insertion point + and if necessary transformation from OCS to WCS. + """ + angle = math.radians(entity.dxf.rotation) + width_factor = entity.dxf.width + align, p1, p2 = entity.get_placement() + mirror_x = -1 if entity.is_backward else 1 + mirror_y = -1 if entity.is_upside_down else 1 + oblique = math.radians(entity.dxf.oblique) + location = p1 + if align in (TextEntityAlignment.ALIGNED, TextEntityAlignment.FIT): + width_factor = 1.0 # text goes from p1 to p2, no stretching applied + location = p1.lerp(p2, factor=0.5) + angle = (p2 - p1).angle # override stored angle + + m = Matrix44() + if oblique: + m *= Matrix44.shear_xy(angle_x=oblique) + sx = width_factor * mirror_x + sy = mirror_y + if sx != 1 or sy != 1: + m *= Matrix44.scale(sx, sy, 1) + if angle: + m *= Matrix44.z_rotate(angle) + if location: + m *= Matrix44.translate(location.x, location.y, location.z) + + ocs = entity.ocs() + if ocs.transform: # to WCS + m *= ocs.matrix + return m diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/entities/textstyle.py b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/entities/textstyle.py new file mode 100644 index 0000000000000000000000000000000000000000..050c7c9962a98f532e9c671bcc15a2c3bb426dd9 --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/entities/textstyle.py @@ -0,0 +1,248 @@ +# Copyright (c) 2019-2022, Manfred Moitzi +# License: MIT License +from __future__ import annotations +from typing import TYPE_CHECKING, Optional +import logging +from ezdxf.lldxf import validator, const +from ezdxf.lldxf.attributes import ( + DXFAttr, + DXFAttributes, + DefSubclass, + RETURN_DEFAULT, + group_code_mapping, +) +from ezdxf.lldxf.const import DXF12, SUBCLASS_MARKER +from ezdxf.entities.dxfentity import base_class, SubclassProcessor, DXFEntity +from ezdxf.entities.layer import acdb_symbol_table_record +from .factory import register_entity + +if TYPE_CHECKING: + from ezdxf.entities import DXFNamespace + from ezdxf.lldxf.tagwriter import AbstractTagWriter + from ezdxf.fonts import fonts + +__all__ = ["Textstyle"] +logger = logging.getLogger("ezdxf") + +acdb_style = DefSubclass( + "AcDbTextStyleTableRecord", + { + "name": DXFAttr( + 2, + default="Standard", + validator=validator.is_valid_table_name, + ), + # Flags: Standard flag values (bit-coded values): + # 1 = If set, this entry describes a shape + # 4 = Vertical text + # 16 = If set, table entry is externally dependent on a xref + # 32 = If both this bit and bit 16 are set, the externally dependent xref ... + # 64 = If set, the table entry was referenced by at least one entity in ... + # Vertical text works only for SHX fonts in AutoCAD and BricsCAD + "flags": DXFAttr(70, default=0), + # Fixed height, 0 if not fixed + "height": DXFAttr( + 40, + default=0, + validator=validator.is_greater_or_equal_zero, + fixer=RETURN_DEFAULT, + ), + # Width factor: a.k.a. "Stretch" + "width": DXFAttr( + 41, + default=1, + validator=validator.is_greater_zero, + fixer=RETURN_DEFAULT, + ), + # Oblique angle in degree, 0 = vertical + "oblique": DXFAttr(50, default=0), + # Generation flags: + # 2 = backward + # 4 = mirrored in Y + "generation_flags": DXFAttr(71, default=0), + # Last height used: + "last_height": DXFAttr(42, default=2.5), + # Primary font file name: + # ATTENTION: The font file name can be an empty string and the font family + # may be stored in XDATA! See also posts at the (unrelated) issue #380. + "font": DXFAttr(3, default=const.DEFAULT_TEXT_FONT), + # Big font name, blank if none + "bigfont": DXFAttr(4, default=""), + }, +) +acdb_style_group_codes = group_code_mapping(acdb_style) + + +# XDATA: This is not a reliable source for font data! +# 1001 ACAD +# 1000 Arial ; font-family sometimes an empty string! +# 1071 34 ; flags +# ---- +# "Arial" "normal" flags = 34 = 0b00:00000000:00000000:00100010 +# "Arial" "italic" flags = 16777250 = 0b01:00000000:00000000:00100010 +# "Arial" "bold" flags = 33554466 = 0b10:00000000:00000000:00100010 +# "Arial" "bold+italic" flags = 50331682 = 0b11:00000000:00000000:00100010 + + +@register_entity +class Textstyle(DXFEntity): + """DXF STYLE entity""" + + DXFTYPE = "STYLE" + DXFATTRIBS = DXFAttributes(base_class, acdb_symbol_table_record, acdb_style) + ITALIC = 0b01000000000000000000000000 + BOLD = 0b10000000000000000000000000 + + def load_dxf_attribs( + self, processor: Optional[SubclassProcessor] = None + ) -> DXFNamespace: + dxf = super().load_dxf_attribs(processor) + if processor: + processor.simple_dxfattribs_loader(dxf, acdb_style_group_codes) # type: ignore + return dxf + + def export_entity(self, tagwriter: AbstractTagWriter) -> None: + super().export_entity(tagwriter) + if tagwriter.dxfversion > DXF12: + tagwriter.write_tag2(SUBCLASS_MARKER, acdb_symbol_table_record.name) + tagwriter.write_tag2(SUBCLASS_MARKER, acdb_style.name) + + self.dxf.export_dxf_attribs( + tagwriter, + [ + "name", + "flags", + "height", + "width", + "oblique", + "generation_flags", + "last_height", + "font", + "bigfont", + ], + ) + + @property + def has_extended_font_data(self) -> bool: + """Returns ``True`` if extended font data is present.""" + return self.has_xdata("ACAD") + + def get_extended_font_data(self) -> tuple[str, bool, bool]: + """Returns extended font data as tuple (font-family, italic-flag, + bold-flag). + + The extended font data is optional and not reliable! Returns + ("", ``False``, ``False``) if extended font data is not present. + + """ + family = "" + italic = False + bold = False + try: + xdata = self.get_xdata("ACAD") + except const.DXFValueError: + pass + else: + if len(xdata) > 1: + group_code, value = xdata[0] + if group_code == 1000: + family = value + group_code, value = xdata[1] + if group_code == 1071: + italic = bool(self.ITALIC & value) + bold = bool(self.BOLD & value) + return family, italic, bold + + def set_extended_font_data( + self, family: str = "", *, italic=False, bold=False + ) -> None: + """Set extended font data, the font-family name `family` is not + validated by `ezdxf`. Overwrites existing data. + """ + if self.has_xdata("ACAD"): + self.discard_xdata("ACAD") + + flags = 34 # unknown default flags + if italic: + flags += self.ITALIC + if bold: + flags += self.BOLD + self.set_xdata("ACAD", [(1000, family), (1071, flags)]) + + def discard_extended_font_data(self): + """Discard extended font data.""" + self.discard_xdata("ACAD") + + @property + def is_backward(self) -> bool: + """Get/set text generation flag BACKWARDS, for mirrored text along the + x-axis. + """ + return self.get_flag_state(const.BACKWARD, "generation_flags") + + @is_backward.setter + def is_backward(self, state) -> None: + self.set_flag_state(const.BACKWARD, state, "generation_flags") + + @property + def is_upside_down(self) -> bool: + """Get/set text generation flag UPSIDE_DOWN, for mirrored text along + the y-axis. + + """ + return self.get_flag_state(const.UPSIDE_DOWN, "generation_flags") + + @is_upside_down.setter + def is_upside_down(self, state) -> None: + self.set_flag_state(const.UPSIDE_DOWN, state, "generation_flags") + + @property + def is_vertical_stacked(self) -> bool: + """Get/set style flag VERTICAL_STACKED, for vertical stacked text.""" + return self.get_flag_state(const.VERTICAL_STACKED, "flags") + + @is_vertical_stacked.setter + def is_vertical_stacked(self, state) -> None: + self.set_flag_state(const.VERTICAL_STACKED, state, "flags") + + @property + def is_shape_file(self) -> bool: + """``True`` if entry describes a shape.""" + return self.dxf.name == "" and bool(self.dxf.flags & 1) + + def make_font( + self, + cap_height: Optional[float] = None, + width_factor: Optional[float] = None, + ) -> fonts.AbstractFont: + """Returns a font abstraction :class:`~ezdxf.tools.fonts.AbstractFont` + for this text style. Returns a font for a cap height of 1, if the + text style has auto height (:attr:`Textstyle.dxf.height` is 0) and + the given `cap_height` is ``None`` or 0. + Uses the :attr:`Textstyle.dxf.width` attribute if the given `width_factor` + is ``None`` or 0, the default value is 1. + The attribute :attr:`Textstyle.dxf.big_font` is ignored. + """ + from ezdxf.fonts import fonts + + ttf = "" + if self.has_extended_font_data: + family, italic, bold = self.get_extended_font_data() + if family: + text_style = "Italic" if italic else "Regular" + text_weight = 700 if bold else 400 + font_face = fonts.FontFace( + family=family, style=text_style, weight=text_weight + ) + ttf = fonts.find_font_file_name(font_face) + else: + ttf = self.dxf.get("font", const.DEFAULT_TTF) + if ttf == "": + ttf = const.DEFAULT_TTF + if cap_height is None or cap_height == 0.0: + cap_height = self.dxf.height + if cap_height == 0.0: + cap_height = 1.0 + if width_factor is None or width_factor == 0.0: + width_factor = self.dxf.width + return fonts.make_font(ttf, cap_height, width_factor) # type: ignore diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/entities/tolerance.py b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/entities/tolerance.py new file mode 100644 index 0000000000000000000000000000000000000000..979e69eafefdbb2281c0e96962cee0fcc1674f0a --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/entities/tolerance.py @@ -0,0 +1,105 @@ +# Copyright (c) 2019-2024 Manfred Moitzi +# License: MIT License +from __future__ import annotations +from typing import TYPE_CHECKING, Optional +from typing_extensions import Self +from ezdxf.lldxf import validator +from ezdxf.lldxf.attributes import ( + DXFAttr, + DXFAttributes, + DefSubclass, + XType, + RETURN_DEFAULT, + group_code_mapping, +) +from ezdxf.lldxf.const import SUBCLASS_MARKER, DXF2000 +from ezdxf.math import NULLVEC, Z_AXIS, X_AXIS +from ezdxf.math.transformtools import transform_extrusion +from .dxfentity import base_class, SubclassProcessor +from .dxfgfx import DXFGraphic, acdb_entity +from .factory import register_entity + +if TYPE_CHECKING: + from ezdxf.entities import DXFNamespace + from ezdxf.lldxf.tagwriter import AbstractTagWriter + from ezdxf.math import Matrix44 + from ezdxf import xref + + +__all__ = ["Tolerance"] + +acdb_tolerance = DefSubclass( + "AcDbFcf", + { + "dimstyle": DXFAttr( + 3, + default="Standard", + validator=validator.is_valid_table_name, + ), + # Insertion point (in WCS): + "insert": DXFAttr(10, xtype=XType.point3d, default=NULLVEC), + # String representing the visual representation of the tolerance: + "content": DXFAttr(1, default=""), + "extrusion": DXFAttr( + 210, + xtype=XType.point3d, + default=Z_AXIS, + optional=True, + validator=validator.is_not_null_vector, + fixer=RETURN_DEFAULT, + ), + # X-axis direction vector (in WCS): + "x_axis_vector": DXFAttr( + 11, + xtype=XType.point3d, + default=X_AXIS, + validator=validator.is_not_null_vector, + fixer=RETURN_DEFAULT, + ), + }, +) +acdb_tolerance_group_codes = group_code_mapping(acdb_tolerance) + + +@register_entity +class Tolerance(DXFGraphic): + """DXF TOLERANCE entity""" + + DXFTYPE = "TOLERANCE" + DXFATTRIBS = DXFAttributes(base_class, acdb_entity, acdb_tolerance) + MIN_DXF_VERSION_FOR_EXPORT = DXF2000 + + def load_dxf_attribs( + self, processor: Optional[SubclassProcessor] = None + ) -> DXFNamespace: + dxf = super().load_dxf_attribs(processor) + if processor: + processor.fast_load_dxfattribs( + dxf, acdb_tolerance_group_codes, subclass=2, recover=True + ) + return dxf + + def export_entity(self, tagwriter: AbstractTagWriter) -> None: + """Export entity specific data as DXF tags.""" + super().export_entity(tagwriter) + tagwriter.write_tag2(SUBCLASS_MARKER, acdb_tolerance.name) + self.dxf.export_dxf_attribs( + tagwriter, + ["dimstyle", "insert", "content", "extrusion", "x_axis_vector"], + ) + + def register_resources(self, registry: xref.Registry) -> None: + super().register_resources(registry) + registry.add_dim_style(self.dxf.dimstyle) + + def map_resources(self, clone: Self, mapping: xref.ResourceMapper) -> None: + super().map_resources(clone, mapping) + clone.dxf.dimstyle = mapping.get_dim_style(self.dxf.dimstyle) + + def transform(self, m: Matrix44) -> Tolerance: + """Transform the TOLERANCE entity by transformation matrix `m` inplace.""" + self.dxf.insert = m.transform(self.dxf.insert) + self.dxf.x_axis_vector = m.transform_direction(self.dxf.x_axis_vector) + self.dxf.extrusion, _ = transform_extrusion(self.dxf.extrusion, m) + self.post_transform(m) + return self diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/entities/ucs.py b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/entities/ucs.py new file mode 100644 index 0000000000000000000000000000000000000000..d83b93ce7d9f888f3e3d17616032e6bc72f922ff --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/entities/ucs.py @@ -0,0 +1,85 @@ +# Copyright (c) 2019-2022, Manfred Moitzi +# License: MIT License +from __future__ import annotations +from typing import TYPE_CHECKING, Optional +import logging +from ezdxf.lldxf.attributes import ( + DXFAttr, + DXFAttributes, + DefSubclass, + XType, + RETURN_DEFAULT, + group_code_mapping, +) +from ezdxf.lldxf.const import DXF12, SUBCLASS_MARKER +from ezdxf.lldxf import validator +from ezdxf.math import UCS, NULLVEC, X_AXIS, Y_AXIS +from ezdxf.entities.dxfentity import base_class, SubclassProcessor, DXFEntity +from ezdxf.entities.layer import acdb_symbol_table_record +from .factory import register_entity + +if TYPE_CHECKING: + from ezdxf.entities import DXFNamespace + from ezdxf.lldxf.tagwriter import AbstractTagWriter + + +__all__ = ["UCSTableEntry"] +logger = logging.getLogger("ezdxf") + +acdb_ucs = DefSubclass( + "AcDbUCSTableRecord", + { + "name": DXFAttr(2, validator=validator.is_valid_table_name), + "flags": DXFAttr(70, default=0), + "origin": DXFAttr(10, xtype=XType.point3d, default=NULLVEC), + "xaxis": DXFAttr( + 11, + xtype=XType.point3d, + default=X_AXIS, + validator=validator.is_not_null_vector, + fixer=RETURN_DEFAULT, + ), + "yaxis": DXFAttr( + 12, + xtype=XType.point3d, + default=Y_AXIS, + validator=validator.is_not_null_vector, + fixer=RETURN_DEFAULT, + ), + }, +) +acdb_ucs_group_codes = group_code_mapping(acdb_ucs) + + +@register_entity +class UCSTableEntry(DXFEntity): + """DXF UCS table entity""" + + DXFTYPE = "UCS" + DXFATTRIBS = DXFAttributes(base_class, acdb_symbol_table_record, acdb_ucs) + + def load_dxf_attribs( + self, processor: Optional[SubclassProcessor] = None + ) -> DXFNamespace: + dxf = super().load_dxf_attribs(processor) + if processor: + processor.simple_dxfattribs_loader(dxf, acdb_ucs_group_codes) # type: ignore + return dxf + + def export_entity(self, tagwriter: AbstractTagWriter) -> None: + super().export_entity(tagwriter) + if tagwriter.dxfversion > DXF12: + tagwriter.write_tag2(SUBCLASS_MARKER, acdb_symbol_table_record.name) + tagwriter.write_tag2(SUBCLASS_MARKER, acdb_ucs.name) + + self.dxf.export_dxf_attribs( + tagwriter, ["name", "flags", "origin", "xaxis", "yaxis"] + ) + + def ucs(self) -> UCS: + """Returns an :class:`ezdxf.math.UCS` object for this UCS table entry.""" + return UCS( + origin=self.dxf.origin, + ux=self.dxf.xaxis, + uy=self.dxf.yaxis, + ) diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/entities/underlay.py b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/entities/underlay.py new file mode 100644 index 0000000000000000000000000000000000000000..e7457deb782362b716a6316bb7bc27e5bfd36c1f --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/entities/underlay.py @@ -0,0 +1,446 @@ +# Copyright (c) 2019-2024 Manfred Moitzi +# License: MIT License +from __future__ import annotations +from typing import TYPE_CHECKING, Union, Iterable, Optional +from typing_extensions import Self +from ezdxf.lldxf import validator +from ezdxf.lldxf.attributes import ( + DXFAttr, + DXFAttributes, + DefSubclass, + XType, + RETURN_DEFAULT, + group_code_mapping, +) +from ezdxf.lldxf.const import SUBCLASS_MARKER, DXF2000, DXFTypeError +from ezdxf.lldxf import const +from ezdxf.lldxf.tags import Tags +from ezdxf.math import NULLVEC, Z_AXIS, UVec, Matrix44, Vec3 +from .dxfentity import base_class, SubclassProcessor, DXFEntity +from .dxfgfx import DXFGraphic, acdb_entity +from .dxfobj import DXFObject +from .factory import register_entity +from .copy import default_copy +from ezdxf.math.transformtools import ( + InsertTransformationError, + InsertCoordinateSystem, +) + +if TYPE_CHECKING: + from ezdxf.document import Drawing + from ezdxf.entities import DXFNamespace + from ezdxf.lldxf.tagwriter import AbstractTagWriter + from ezdxf import xref + + +__all__ = [ + "PdfUnderlay", + "DwfUnderlay", + "DgnUnderlay", + "PdfDefinition", + "DgnDefinition", + "DwfDefinition", + "Underlay", + "UnderlayDefinition", +] + +acdb_underlay = DefSubclass( + "AcDbUnderlayReference", + { + # Hard reference to underlay definition object + "underlay_def_handle": DXFAttr(340), + "insert": DXFAttr(10, xtype=XType.point3d, default=NULLVEC), + # Scale x factor: + "scale_x": DXFAttr( + 41, + default=1, + validator=validator.is_not_zero, + fixer=RETURN_DEFAULT, + ), + # Scale y factor: + "scale_y": DXFAttr( + 42, + default=1, + validator=validator.is_not_zero, + fixer=RETURN_DEFAULT, + ), + # Scale z factor: + "scale_z": DXFAttr( + 43, + default=1, + validator=validator.is_not_zero, + fixer=RETURN_DEFAULT, + ), + # Rotation angle in degrees: + "rotation": DXFAttr(50, default=0), + "extrusion": DXFAttr( + 210, + xtype=XType.point3d, + default=Z_AXIS, + optional=True, + validator=validator.is_not_null_vector, + fixer=RETURN_DEFAULT, + ), + # Underlay display properties: + # 1 = Clipping is on + # 2 = Underlay is on + # 4 = Monochrome + # 8 = Adjust for background + "flags": DXFAttr(280, default=10), + # Contrast value (20-100; default = 100) + "contrast": DXFAttr( + 281, + default=100, + validator=validator.is_in_integer_range(20, 101), + fixer=validator.fit_into_integer_range(20, 101), + ), + # Fade value (0-80; default = 0) + "fade": DXFAttr( + 282, + default=0, + validator=validator.is_in_integer_range(0, 81), + fixer=validator.fit_into_integer_range(0, 81), + ), + }, +) +acdb_underlay_group_codes = group_code_mapping(acdb_underlay) + + +class Underlay(DXFGraphic): + """Virtual UNDERLAY entity.""" + + # DXFTYPE = 'UNDERLAY' + DXFATTRIBS = DXFAttributes(base_class, acdb_entity, acdb_underlay) + MIN_DXF_VERSION_FOR_EXPORT = DXF2000 + + def __init__(self) -> None: + super().__init__() + self._boundary_path: list[UVec] = [] + self._underlay_def: Optional[UnderlayDefinition] = None + + def copy_data(self, entity: Self, copy_strategy=default_copy) -> None: + assert isinstance(entity, Underlay) + entity._boundary_path = list(self._boundary_path) + entity._underlay_def = self._underlay_def + + def load_dxf_attribs( + self, processor: Optional[SubclassProcessor] = None + ) -> DXFNamespace: + dxf = super().load_dxf_attribs(processor) + if processor: + tags = processor.subclass_by_index(2) + + if tags: + tags = Tags(self.load_boundary_path(tags)) + processor.fast_load_dxfattribs( + dxf, acdb_underlay_group_codes, subclass=tags + ) + if len(self.boundary_path) < 2: + self.dxf = dxf + self.reset_boundary_path() + else: + raise const.DXFStructureError( + f"missing 'AcDbUnderlayReference' subclass in " + f"{self.DXFTYPE}(#{dxf.handle})" + ) + return dxf + + def load_boundary_path(self, tags: Tags) -> Iterable: + path = [] + for tag in tags: + if tag.code == 11: + path.append(tag.value) + else: + yield tag + self._boundary_path = path + + def post_load_hook(self, doc: Drawing) -> None: + super().post_load_hook(doc) + db = doc.entitydb + self._underlay_def = db.get(self.dxf.get("underlay_def_handle", None)) # type: ignore + + def post_bind_hook(self): + assert isinstance(self.dxf.handle, str) + underlay_def = self._underlay_def + if ( + isinstance(underlay_def, UnderlayDefinition) + and self.doc is underlay_def.doc # it's not a xref copy! + ): + underlay_def.append_reactor_handle(self.dxf.handle) + + def export_entity(self, tagwriter: AbstractTagWriter) -> None: + """Export entity specific data as DXF tags.""" + super().export_entity(tagwriter) + tagwriter.write_tag2(SUBCLASS_MARKER, acdb_underlay.name) + self.dxf.export_dxf_attribs( + tagwriter, + [ + "underlay_def_handle", + "insert", + "scale_x", + "scale_y", + "scale_z", + "rotation", + "extrusion", + "flags", + "contrast", + "fade", + ], + ) + self.export_boundary_path(tagwriter) + + def export_boundary_path(self, tagwriter: AbstractTagWriter): + for vertex in self.boundary_path: + tagwriter.write_vertex(11, vertex[:2]) + + def register_resources(self, registry: xref.Registry) -> None: + super().register_resources(registry) + if isinstance(self._underlay_def, UnderlayDefinition): + registry.add_handle(self._underlay_def.dxf.handle) + + def map_resources(self, clone: Self, mapping: xref.ResourceMapper) -> None: + assert isinstance(clone, Underlay) + super().map_resources(clone, mapping) + underlay_def_copy = self.map_underlay_def(clone, mapping) + clone._underlay_def = underlay_def_copy + clone.dxf.underlay_def_handle = underlay_def_copy.dxf.handle + underlay_def_copy.append_reactor_handle(clone.dxf.handle) + + def map_underlay_def( + self, clone: Underlay, mapping: xref.ResourceMapper + ) -> UnderlayDefinition: + underlay_def = self._underlay_def + assert isinstance(underlay_def, UnderlayDefinition) + + underlay_def_copy = mapping.get_reference_of_copy(underlay_def.dxf.handle) + assert isinstance(underlay_def_copy, UnderlayDefinition) + + doc = clone.doc + assert doc is not None + + underlay_dict = doc.rootdict.get_required_dict(underlay_def.acad_dict_name) + if underlay_dict.find_key(underlay_def_copy): # entry already exist + return underlay_def_copy + + # create required dictionary entry + key = doc.objects.next_underlay_key(lambda k: k not in underlay_dict) + underlay_dict.take_ownership(key, underlay_def_copy) + return underlay_def_copy + + def set_underlay_def(self, underlay_def: UnderlayDefinition) -> None: + self._underlay_def = underlay_def + self.dxf.underlay_def_handle = underlay_def.dxf.handle + underlay_def.append_reactor_handle(self.dxf.handle) + + def get_underlay_def(self) -> Optional[UnderlayDefinition]: + return self._underlay_def + + @property + def boundary_path(self): + return self._boundary_path + + @boundary_path.setter + def boundary_path(self, vertices: Iterable[UVec]) -> None: + self.set_boundary_path(vertices) + + @property + def clipping(self) -> bool: + return bool(self.dxf.flags & const.UNDERLAY_CLIPPING) + + @clipping.setter + def clipping(self, state: bool) -> None: + self.set_flag_state(const.UNDERLAY_CLIPPING, state) + + @property + def on(self) -> bool: + return bool(self.dxf.flags & const.UNDERLAY_ON) + + @on.setter + def on(self, state: bool) -> None: + self.set_flag_state(const.UNDERLAY_ON, state) + + @property + def monochrome(self) -> bool: + return bool(self.dxf.flags & const.UNDERLAY_MONOCHROME) + + @monochrome.setter + def monochrome(self, state: bool) -> None: + self.set_flag_state(const.UNDERLAY_MONOCHROME, state) + + @property + def adjust_for_background(self) -> bool: + return bool(self.dxf.flags & const.UNDERLAY_ADJUST_FOR_BG) + + @adjust_for_background.setter + def adjust_for_background(self, state: bool): + self.set_flag_state(const.UNDERLAY_ADJUST_FOR_BG, state) + + @property + def scaling(self) -> tuple[float, float, float]: + return self.dxf.scale_x, self.dxf.scale_y, self.dxf.scale_z + + @scaling.setter + def scaling(self, scale: Union[float, tuple]): + if isinstance(scale, (float, int)): + x, y, z = scale, scale, scale + else: + x, y, z = scale + self.dxf.scale_x = x + self.dxf.scale_y = y + self.dxf.scale_z = z + + def set_boundary_path(self, vertices: Iterable[UVec]) -> None: + # path coordinates as drawing coordinates but unscaled + vertices = list(vertices) + if len(vertices): + self._boundary_path = vertices + self.clipping = True + else: + self.reset_boundary_path() + + def reset_boundary_path(self) -> None: + """Removes the clipping path.""" + self._boundary_path = [] + self.clipping = False + + def destroy(self) -> None: + if not self.is_alive: + return + + if self._underlay_def: + self._underlay_def.discard_reactor_handle(self.dxf.handle) + del self._boundary_path + super().destroy() + + def transform(self, m: Matrix44) -> Underlay: + """Transform UNDERLAY entity by transformation matrix `m` inplace. + + Unlike the transformation matrix `m`, the UNDERLAY entity can not + represent a non-orthogonal target coordinate system and an + :class:`InsertTransformationError` will be raised in that case. + + """ + dxf = self.dxf + source_system = InsertCoordinateSystem( + insert=Vec3(dxf.insert), + scale=(dxf.scale_x, dxf.scale_y, dxf.scale_z), + rotation=dxf.rotation, + extrusion=dxf.extrusion, + ) + try: + target_system = source_system.transform(m) + except InsertTransformationError: + raise InsertTransformationError( + "UNDERLAY entity can not represent a non-orthogonal target coordinate system." + ) + dxf.insert = target_system.insert + dxf.rotation = target_system.rotation + dxf.extrusion = target_system.extrusion + dxf.scale_x = target_system.scale_factor_x + dxf.scale_y = target_system.scale_factor_y + dxf.scale_z = target_system.scale_factor_z + self.post_transform(m) + return self + + +@register_entity +class PdfUnderlay(Underlay): + """DXF PDFUNDERLAY entity""" + + DXFTYPE = "PDFUNDERLAY" + + +@register_entity +class PdfReference(Underlay): + """PDFREFERENCE ia a synonym for PDFUNDERLAY, ezdxf creates always PDFUNDERLAY + entities. + """ + + DXFTYPE = "PDFREFERENCE" + + +@register_entity +class DwfUnderlay(Underlay): + """DXF DWFUNDERLAY entity""" + + DXFTYPE = "DWFUNDERLAY" + + +@register_entity +class DgnUnderlay(Underlay): + """DXF DGNUNDERLAY entity""" + + DXFTYPE = "DGNUNDERLAY" + + +acdb_underlay_def = DefSubclass( + "AcDbUnderlayDefinition", + { + "filename": DXFAttr(1), # File name of underlay + "name": DXFAttr(2), + # underlay name - pdf=page number to display; dgn=default; dwf=???? + }, +) +acdb_underlay_def_group_codes = group_code_mapping(acdb_underlay_def) + + +# (PDF|DWF|DGN)DEFINITION - requires entry in objects table ACAD_(PDF|DWF|DGN)DEFINITIONS, +# ACAD_(PDF|DWF|DGN)DEFINITIONS do not exist by default +class UnderlayDefinition(DXFObject): + """Virtual UNDERLAY DEFINITION entity.""" + + DXFTYPE = "UNDERLAYDEFINITION" + DXFATTRIBS = DXFAttributes(base_class, acdb_underlay_def) + MIN_DXF_VERSION_FOR_EXPORT = DXF2000 + + def load_dxf_attribs( + self, processor: Optional[SubclassProcessor] = None + ) -> DXFNamespace: + dxf = super().load_dxf_attribs(processor) + if processor: + processor.fast_load_dxfattribs( + dxf, acdb_underlay_def_group_codes, subclass=1 + ) + return dxf + + def export_entity(self, tagwriter: AbstractTagWriter) -> None: + """Export entity specific data as DXF tags.""" + super().export_entity(tagwriter) + tagwriter.write_tag2(SUBCLASS_MARKER, acdb_underlay_def.name) + self.dxf.export_dxf_attribs(tagwriter, ["filename", "name"]) + + @property + def file_format(self) -> str: + return self.DXFTYPE[:3] + + @property + def entity_name(self) -> str: + return self.file_format + "UNDERLAY" + + @property + def acad_dict_name(self) -> str: + return f"ACAD_{self.file_format}DEFINITIONS" + + def post_new_hook(self): + self.set_reactors([self.dxf.owner]) + + +@register_entity +class PdfDefinition(UnderlayDefinition): + """DXF PDFDEFINITION entity""" + + DXFTYPE = "PDFDEFINITION" + + +@register_entity +class DwfDefinition(UnderlayDefinition): + """DXF DWFDEFINITION entity""" + + DXFTYPE = "DWFDEFINITION" + + +@register_entity +class DgnDefinition(UnderlayDefinition): + """DXF DGNDEFINITION entity""" + + DXFTYPE = "DGNDEFINITION" diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/entities/view.py b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/entities/view.py new file mode 100644 index 0000000000000000000000000000000000000000..e834f2a0377e61fc40639e6d8e0479d367409145 --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/entities/view.py @@ -0,0 +1,176 @@ +# Copyright (c) 2019-2022, Manfred Moitzi +# License: MIT License +from __future__ import annotations +from typing import TYPE_CHECKING, Optional +import logging + +from ezdxf.lldxf import validator +from ezdxf.lldxf.attributes import ( + DXFAttr, + DXFAttributes, + DefSubclass, + XType, + RETURN_DEFAULT, + group_code_mapping, +) +from ezdxf.lldxf.const import DXF12, SUBCLASS_MARKER, DXF2000, DXF2007, DXF2010 +from ezdxf.math import Vec3, NULLVEC +from ezdxf.entities.dxfentity import base_class, SubclassProcessor, DXFEntity +from ezdxf.entities.layer import acdb_symbol_table_record +from .factory import register_entity + +if TYPE_CHECKING: + from ezdxf.entities import DXFNamespace + from ezdxf.lldxf.tagwriter import AbstractTagWriter + +__all__ = ["View"] +logger = logging.getLogger("ezdxf") + +acdb_view = DefSubclass( + "AcDbViewTableRecord", + { + "name": DXFAttr(2, validator=validator.is_valid_table_name), + "flags": DXFAttr(70, default=0), + "height": DXFAttr(40, default=1), + "width": DXFAttr(41, default=1), + "center": DXFAttr(10, xtype=XType.point2d, default=NULLVEC), + "direction": DXFAttr( + 11, + xtype=XType.point3d, + default=Vec3(1, 1, 1), + validator=validator.is_not_null_vector, + ), + "target": DXFAttr(12, xtype=XType.point3d, default=NULLVEC), + "focal_length": DXFAttr(42, default=50), + "front_clipping": DXFAttr(43, default=0), + "back_clipping": DXFAttr(44, default=0), + "view_twist": DXFAttr(50, default=0), + "view_mode": DXFAttr(71, default=0), + # Render mode: + # 0 = 2D Optimized (classic 2D) + # 1 = Wireframe + # 2 = Hidden line + # 3 = Flat shaded + # 4 = Gouraud shaded + # 5 = Flat shaded with wireframe + # 6 = Gouraud shaded with wireframe + "render_mode": DXFAttr( + 281, + default=0, + dxfversion=DXF2000, + validator=validator.is_in_integer_range(0, 7), + fixer=RETURN_DEFAULT, + ), + # 1 if there is an UCS associated to this view, 0 otherwise. + "ucs": DXFAttr( + 72, + default=0, + dxfversion=DXF2000, + validator=validator.is_integer_bool, + fixer=RETURN_DEFAULT, + ), + "ucs_origin": DXFAttr(110, xtype=XType.point3d, dxfversion=DXF2000), + "ucs_xaxis": DXFAttr( + 111, + xtype=XType.point3d, + dxfversion=DXF2000, + validator=validator.is_not_null_vector, + ), + "ucs_yaxis": DXFAttr( + 112, + xtype=XType.point3d, + dxfversion=DXF2000, + validator=validator.is_not_null_vector, + ), + # 0 = UCS is not orthographic + # 1 = Top + # 2 = Bottom + # 3 = Front + # 4 = Back + # 5 = Left + # 6 = Right + "ucs_ortho_type": DXFAttr( + 79, + dxfversion=DXF2000, + validator=validator.is_in_integer_range(0, 7), + fixer=lambda x: 0, + ), + "elevation": DXFAttr(146, dxfversion=DXF2000, default=0), + # handle of AcDbUCSTableRecord if UCS is a named UCS. If not present, + # then UCS is unnamed: + "ucs_handle": DXFAttr(345, dxfversion=DXF2000), + # handle of AcDbUCSTableRecord of base UCS if UCS is orthographic (79 code + # is non-zero). If not present and 79 code is non-zero, then base UCS is + # taken to be WORLD + "base_ucs_handle": DXFAttr(346, dxfversion=DXF2000), + # 1 if the camera is plottable + "camera_plottable": DXFAttr( + 73, + default=0, + dxfversion=DXF2007, + validator=validator.is_integer_bool, + fixer=RETURN_DEFAULT, + ), + "background_handle": DXFAttr(332, optional=True, dxfversion=DXF2007), + "live_selection_handle": DXFAttr( + 334, optional=True, dxfversion=DXF2007 + ), + "visual_style_handle": DXFAttr(348, optional=True, dxfversion=DXF2007), + "sun_handle": DXFAttr(361, optional=True, dxfversion=DXF2010), + }, +) +acdb_view_group_codes = group_code_mapping(acdb_view) + + +@register_entity +class View(DXFEntity): + """DXF VIEW entity""" + + DXFTYPE = "VIEW" + DXFATTRIBS = DXFAttributes(base_class, acdb_symbol_table_record, acdb_view) + + def load_dxf_attribs( + self, processor: Optional[SubclassProcessor] = None + ) -> DXFNamespace: + dxf = super().load_dxf_attribs(processor) + if processor: + processor.simple_dxfattribs_loader(dxf, acdb_view_group_codes) # type: ignore + return dxf + + def export_entity(self, tagwriter: AbstractTagWriter) -> None: + super().export_entity(tagwriter) + if tagwriter.dxfversion > DXF12: + tagwriter.write_tag2(SUBCLASS_MARKER, acdb_symbol_table_record.name) + tagwriter.write_tag2(SUBCLASS_MARKER, acdb_view.name) + + self.dxf.export_dxf_attribs( + tagwriter, + [ + "name", + "flags", + "height", + "width", + "center", + "direction", + "target", + "focal_length", + "front_clipping", + "back_clipping", + "view_twist", + "view_mode", + "render_mode", + "ucs", + "ucs_origin", + "ucs_xaxis", + "ucs_yaxis", + "ucs_ortho_type", + "elevation", + "ucs_handle", + "base_ucs_handle", + "camera_plottable", + "background_handle", + "live_selection_handle", + "visual_style_handle", + "sun_handle", + ], + ) diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/entities/viewport.py b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/entities/viewport.py new file mode 100644 index 0000000000000000000000000000000000000000..db4a5b8f50db30cda5f6c43a20805361995337aa --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/entities/viewport.py @@ -0,0 +1,711 @@ +# Copyright (c) 2019-2024 Manfred Moitzi +# License: MIT License +from __future__ import annotations +from typing import TYPE_CHECKING, Iterable, Optional +from typing_extensions import Self +import math +from ezdxf.lldxf import validator +from ezdxf.lldxf import const +from ezdxf.lldxf.attributes import ( + DXFAttr, + DXFAttributes, + DefSubclass, + XType, + RETURN_DEFAULT, + group_code_mapping, +) +from ezdxf.lldxf.types import DXFTag, DXFVertex +from ezdxf.lldxf.tags import Tags +from ezdxf.lldxf.const import ( + DXF12, + SUBCLASS_MARKER, + DXFStructureError, + DXFValueError, + DXFTableEntryError, +) +from ezdxf.math import ( + Vec3, + Vec2, + NULLVEC, + X_AXIS, + Y_AXIS, + Z_AXIS, + Matrix44, + BoundingBox2d, +) +from ezdxf.tools import set_flag_state +from .dxfentity import base_class, SubclassProcessor +from .dxfgfx import DXFGraphic, acdb_entity +from .factory import register_entity +from .copy import default_copy + +if TYPE_CHECKING: + from ezdxf.document import Drawing + from ezdxf.entities import DXFNamespace, DXFEntity + from ezdxf.lldxf.tagwriter import AbstractTagWriter + from ezdxf import xref + +__all__ = ["Viewport"] + +acdb_viewport = DefSubclass( + "AcDbViewport", + { + # DXF reference: Center point (in WCS) + # Correction to the DXF reference: + # This point represents the center of the viewport in paper space units + # (DCS), but is stored as 3D point inclusive z-axis! + "center": DXFAttr(10, xtype=XType.point3d, default=NULLVEC), + # Width in paper space units: + "width": DXFAttr(40, default=1), + # Height in paper space units: + "height": DXFAttr(41, default=1), + # Viewport status field: (according to the DXF Reference) + # -1 = On, but is fully off-screen, or is one of the viewports that is not + # active because the $MAXACTVP count is currently being exceeded. + # 0 = Off + # = On and active. The value indicates the order of + # stacking for the viewports, where 1 is the "active" viewport, 2 is the + # next, and so on. The "active" viewport determines how the paperspace layout + # is presented as a whole (location & zoom state) + "status": DXFAttr(68, default=0), + # Viewport id: (according to the DXF Reference) + # Special VIEWPORT id == 1, this viewport defines the area of the layout + # which is currently shown in the layout tab by the CAD application. + # I guess this is meant by "active viewport" and therefore it is most likely + # that this id is always 1. + # This "active viewport" is mandatory for a valid DXF file. + # BricsCAD set this id to -1 if the viewport is off and 'status' (group code 68) + # is not present. + "id": DXFAttr(69, default=2), + # DXF reference: View center point (in WCS): + # Correction to the DXF reference: + # This point represents the center point in model space (WCS) stored as + # 2D point! + "view_center_point": DXFAttr(12, xtype=XType.point2d, default=NULLVEC), + "snap_base_point": DXFAttr(13, xtype=XType.point2d, default=NULLVEC), + "snap_spacing": DXFAttr(14, xtype=XType.point2d, default=Vec2(10, 10)), + "grid_spacing": DXFAttr(15, xtype=XType.point2d, default=Vec2(10, 10)), + # View direction vector (WCS): + "view_direction_vector": DXFAttr(16, xtype=XType.point3d, default=Z_AXIS), + # View target point (in WCS): + "view_target_point": DXFAttr(17, xtype=XType.point3d, default=NULLVEC), + "perspective_lens_length": DXFAttr(42, default=50), + "front_clip_plane_z_value": DXFAttr(43, default=0), + "back_clip_plane_z_value": DXFAttr(44, default=0), + # View height (in model space units): + "view_height": DXFAttr(45, default=1), + "snap_angle": DXFAttr(50, default=0), + "view_twist_angle": DXFAttr(51, default=0), + "circle_zoom": DXFAttr(72, default=100), + # 331: Frozen layer object ID/handle (multiple entries may exist) (optional) + # Viewport status bit-coded flags: + # 1 (0x1) = Enables perspective mode + # 2 (0x2) = Enables front clipping + # 4 (0x4) = Enables back clipping + # 8 (0x8) = Enables UCS follow + # 16 (0x10) = Enables front clip not at eye + # 32 (0x20) = Enables UCS icon visibility + # 64 (0x40) = Enables UCS icon at origin + # 128 (0x80) = Enables fast zoom + # 256 (0x100) = Enables snap mode + # 512 (0x200) = Enables grid mode + # 1024 (0x400) = Enables isometric snap style + # 2048 (0x800) = Enables hide plot mode + # 4096 (0x1000) = kIsoPairTop. If set and kIsoPairRight is not set, then + # isopair top is enabled. If both kIsoPairTop and kIsoPairRight are set, + # then isopair left is enabled + # 8192 (0x2000) = kIsoPairRight. If set and kIsoPairTop is not set, then + # isopair right is enabled + # 16384 (0x4000) = Enables viewport zoom locking + # 32768 (0x8000) = Currently always enabled + # 65536 (0x10000) = Enables non-rectangular clipping + # 131072 (0x20000) = Turns the viewport off + # 262144 (0x40000) = Enables the display of the grid beyond the drawing + # limits + # 524288 (0x80000) = Enable adaptive grid display + # 1048576 (0x100000) = Enables subdivision of the grid below the set grid + # spacing when the grid display is adaptive + # 2097152 (0x200000) = Enables grid follows workplane switching + "flags": DXFAttr(90, default=0), + # Clipping viewports: the following handle point to a graphical entity + # located in the paperspace. Known supported entities: + # LWPOLYLINE (2D POLYLINE), CIRCLE, ELLIPSE, closed SPLINE + # Extract bounding- or clipping path: ezdxf.render.make_path() + "clipping_boundary_handle": DXFAttr(340, default="0", optional=True), + # Plot style sheet name assigned to this viewport + "plot_style_name": DXFAttr(1, default=""), + # Render mode: + # 0 = 2D Optimized (classic 2D) + # 1 = Wireframe + # 2 = Hidden line + # 3 = Flat shaded + # 4 = Gouraud shaded + # 5 = Flat shaded with wireframe + # 6 = Gouraud shaded with wireframe + "render_mode": DXFAttr( + 281, + default=0, + validator=validator.is_in_integer_range(0, 7), + fixer=RETURN_DEFAULT, + ), + "ucs_per_viewport": DXFAttr( + 71, + default=0, + validator=validator.is_integer_bool, + fixer=RETURN_DEFAULT, + ), + "ucs_icon": DXFAttr(74, default=0), + "ucs_origin": DXFAttr(110, xtype=XType.point3d, default=NULLVEC), + "ucs_x_axis": DXFAttr( + 111, + xtype=XType.point3d, + default=X_AXIS, + validator=validator.is_not_null_vector, + fixer=RETURN_DEFAULT, + ), + "ucs_y_axis": DXFAttr( + 112, + xtype=XType.point3d, + default=Y_AXIS, + validator=validator.is_not_null_vector, + fixer=RETURN_DEFAULT, + ), + # Handle of AcDbUCSTableRecord if UCS is a named UCS. + # If not present, then UCS is unnamed: + "ucs_handle": DXFAttr(345), + # Handle of AcDbUCSTableRecord of base UCS if UCS is orthographic (79 code + # is non-zero). If not present and 79 code is non-zero, then base UCS is + # taken to be WORLD: + "base_ucs_handle": DXFAttr(346, optional=True), + # UCS ortho type: + # 0 = not orthographic + # 1 = Top + # 2 = Bottom + # 3 = Front + # 4 = Back + # 5 = Left + # 6 = Right + "ucs_ortho_type": DXFAttr( + 79, + default=0, + validator=validator.is_in_integer_range(0, 7), + fixer=RETURN_DEFAULT, + ), + "elevation": DXFAttr(146, default=0), + # Shade plot mode: + # 0 = As Displayed + # 1 = Wireframe + # 2 = Hidden + # 3 = Rendered + "shade_plot_mode": DXFAttr( + 170, + dxfversion="AC1018", + validator=validator.is_in_integer_range(0, 4), + fixer=RETURN_DEFAULT, + ), + # Frequency of major grid lines compared to minor grid lines + "grid_frequency": DXFAttr(61, dxfversion="AC1021"), + "background_handle": DXFAttr(332, dxfversion="AC1021", optional=True), + "shade_plot_handle": DXFAttr(333, dxfversion="AC1021", optional=True), + "visual_style_handle": DXFAttr(348, dxfversion="AC1021", optional=True), + "default_lighting_flag": DXFAttr( + 292, dxfversion="AC1021", default=1, optional=True + ), + # Default lighting type: + # 0 = One distant light + # 1 = Two distant lights + "default_lighting_type": DXFAttr( + 282, + default=0, + dxfversion="AC1021", + validator=validator.is_integer_bool, + fixer=RETURN_DEFAULT, + ), + "view_brightness": DXFAttr(141, dxfversion="AC1021"), + "view_contrast": DXFAttr(142, dxfversion="AC1021"), + # as AutoCAD Color Index + "ambient_light_color_1": DXFAttr( + 63, + dxfversion="AC1021", + validator=validator.is_valid_aci_color, + ), + # as True Color: + "ambient_light_color_2": DXFAttr(421, dxfversion="AC1021"), + # as True Color: + "ambient_light_color_3": DXFAttr(431, dxfversion="AC1021"), + "sun_handle": DXFAttr(361, dxfversion="AC1021", optional=True), + # The following attributes are mentioned in the DXF reference but may not really exist: + # "Soft pointer reference to viewport object (for layer VP property override)" + "ref_vp_object_1": DXFAttr(335, dxfversion="AC1021"), # soft-pointer + "ref_vp_object_2": DXFAttr(343, dxfversion="AC1021"), # hard-pointer + "ref_vp_object_3": DXFAttr(344, dxfversion="AC1021"), # hard-pointer + "ref_vp_object_4": DXFAttr(91, dxfversion="AC1021"), # this is not a pointer! + }, +) +acdb_viewport_group_codes = group_code_mapping(acdb_viewport) +# Note: +# The ZOOM XP factor is calculated with the following formula: +# group_41 / group_45 (or pspace_height / mspace_height). + +FROZEN_LAYER_GROUP_CODE = 331 + + +@register_entity +class Viewport(DXFGraphic): + """DXF VIEWPORT entity""" + + DXFTYPE = "VIEWPORT" + DXFATTRIBS = DXFAttributes(base_class, acdb_entity, acdb_viewport) + + # Notes to viewport_id: + # The id of the first viewport has to be 1, which is the definition of + # paper space. For the following viewports it seems only important, that + # the id is greater than 1. + + def __init__(self) -> None: + super().__init__() + self._frozen_layers: list[str] = [] + + def copy_data(self, entity: Self, copy_strategy=default_copy) -> None: + assert isinstance(entity, Viewport) + entity._frozen_layers = list(self._frozen_layers) + + @property + def frozen_layers(self) -> list[str]: + """Set/get frozen layers as list of layer names.""" + return self._frozen_layers + + @frozen_layers.setter + def frozen_layers(self, names: Iterable[str]): + self._frozen_layers = list(names) + + def _layer_index(self, layer_name: str) -> int: + name_key = validator.make_table_key(layer_name) + for index, name in enumerate(self._frozen_layers): + if name_key == validator.make_table_key(name): + return index + return -1 + + def freeze(self, layer_name: str) -> None: + """Freeze `layer_name` in this viewport.""" + index = self._layer_index(layer_name) + if index == -1: + self._frozen_layers.append(layer_name) + + def is_frozen(self, layer_name: str) -> bool: + """Returns ``True`` if `layer_name` id frozen in this viewport.""" + return self._layer_index(layer_name) != -1 + + def thaw(self, layer_name: str) -> None: + """Thaw `layer_name` in this viewport.""" + index = self._layer_index(layer_name) + if index != -1: + del self._frozen_layers[index] + + @property + def is_visible(self) -> bool: + # VIEWPORT id == 1 or status == 1, this viewport defines the "active viewport" + # which is the area currently shown in the layout tab by the CAD + # application. + # BricsCAD set id to -1 if the viewport is off and 'status' (group + # code 68) is not present. + # status: -1= off-screen, 0= off, 1= "active viewport" + if self.dxf.hasattr("status"): + return self.dxf.status > 0 + return self.dxf.id > 1 + + def load_dxf_attribs( + self, processor: Optional[SubclassProcessor] = None + ) -> DXFNamespace: + dxf = super().load_dxf_attribs(processor) + if processor: + tags = processor.fast_load_dxfattribs( + dxf, acdb_viewport_group_codes, subclass=2, log=False + ) + if processor.r12: + self.load_xdata_into_dxf_namespace() + else: + if len(tags): + tags = self.load_frozen_layer_handles(tags) + if len(tags): + processor.log_unprocessed_tags(tags, subclass=acdb_viewport.name) + return dxf + + def post_load_hook(self, doc: Drawing): + super().post_load_hook(doc) + bag: list[str] = [] + db = doc.entitydb + for handle in self._frozen_layers: + try: + bag.append(db[handle].dxf.name) + except KeyError: # ignore non-existing layers + pass + self._frozen_layers = bag + + def load_frozen_layer_handles(self, tags: Tags) -> Tags: + unprocessed_tags = Tags() + for tag in tags: + if tag.code == FROZEN_LAYER_GROUP_CODE: + self._frozen_layers.append(tag.value) + else: + unprocessed_tags.append(tag) + return unprocessed_tags + + def load_xdata_into_dxf_namespace(self) -> None: + try: + tags = [v for c, v in self.xdata.get_xlist("ACAD", "MVIEW")] # type: ignore + except DXFValueError: + return + tags = tags[3:-2] + dxf = self.dxf + flags = 0 + flags = set_flag_state(flags, const.VSF_FAST_ZOOM, bool(tags[11])) + flags = set_flag_state(flags, const.VSF_SNAP_MODE, bool(tags[13])) + flags = set_flag_state(flags, const.VSF_GRID_MODE, bool(tags[14])) + flags = set_flag_state(flags, const.VSF_ISOMETRIC_SNAP_STYLE, bool(tags[15])) + flags = set_flag_state(flags, const.VSF_HIDE_PLOT_MODE, bool(tags[24])) + try: + dxf.view_target_point = tags[0] + dxf.view_direction_vector = tags[1] + dxf.view_twist_angle = tags[2] + dxf.view_height = tags[3] + dxf.view_center_point = tags[4], tags[5] + dxf.perspective_lens_length = tags[6] + dxf.front_clip_plane_z_value = tags[7] + dxf.back_clip_plane_z_value = tags[8] + dxf.render_mode = tags[9] # view_mode == render_mode ? + dxf.circle_zoom = tags[10] + # fast zoom flag : tag[11] + dxf.ucs_icon = tags[12] + # snap mode flag = tags[13] + # grid mode flag = tags[14] + # isometric snap style = tags[15] + # dxf.snap_isopair = tags[16] ??? + dxf.snap_angle = tags[17] + dxf.snap_base_point = tags[18], tags[19] + dxf.snap_spacing = tags[20], tags[21] + dxf.grid_spacing = tags[22], tags[23] + # hide plot flag = tags[24] + except IndexError: # internal exception + raise DXFStructureError("Invalid viewport entity - missing data") + dxf.flags = flags + self._frozen_layers = tags[26:] + self.xdata.discard("ACAD") # type: ignore + + def export_entity(self, tagwriter: AbstractTagWriter) -> None: + """Export entity specific data as DXF tags.""" + super().export_entity(tagwriter) + if tagwriter.dxfversion == DXF12: + self.export_acdb_viewport_r12(tagwriter) + else: + tagwriter.write_tag2(SUBCLASS_MARKER, acdb_viewport.name) + self.dxf.export_dxf_attribs( + tagwriter, + [ + "center", + "width", + "height", + "status", + "id", + "view_center_point", + "snap_base_point", + "snap_spacing", + "grid_spacing", + "view_direction_vector", + "view_target_point", + "perspective_lens_length", + "front_clip_plane_z_value", + "back_clip_plane_z_value", + "view_height", + "snap_angle", + "view_twist_angle", + "circle_zoom", + ], + ) + if len(self.frozen_layers): + assert self.doc is not None, "valid DXF document required" + layers = self.doc.layers + for layer_name in self.frozen_layers: + try: + layer = layers.get(layer_name) + except DXFTableEntryError: + pass + else: + tagwriter.write_tag2(FROZEN_LAYER_GROUP_CODE, layer.dxf.handle) + + self.dxf.export_dxf_attribs( + tagwriter, + [ + "flags", + "clipping_boundary_handle", + "plot_style_name", + "render_mode", + "ucs_per_viewport", + "ucs_icon", + "ucs_origin", + "ucs_x_axis", + "ucs_y_axis", + "ucs_handle", + "base_ucs_handle", + "ucs_ortho_type", + "elevation", + "shade_plot_mode", + "grid_frequency", + "background_handle", + "shade_plot_handle", + "visual_style_handle", + "default_lighting_flag", + "default_lighting_type", + "view_brightness", + "view_contrast", + "ambient_light_color_1", + "ambient_light_color_2", + "ambient_light_color_3", + "sun_handle", + "ref_vp_object_1", + "ref_vp_object_2", + "ref_vp_object_3", + "ref_vp_object_4", + ], + ) + + def export_acdb_viewport_r12(self, tagwriter: AbstractTagWriter): + self.dxf.export_dxf_attribs( + tagwriter, + [ + "center", + "width", + "height", + "status", + "id", + ], + ) + tagwriter.write_tags(self.dxftags()) + + def dxftags(self) -> Tags: + def flag(flag): + return 1 if self.dxf.flags & flag else 0 + + dxf = self.dxf + tags = [ + DXFTag(1001, "ACAD"), + DXFTag(1000, "MVIEW"), + DXFTag(1002, "{"), + DXFTag(1070, 16), # extended data version, always 16 for R11/12 + DXFVertex(1010, dxf.view_target_point), + DXFVertex(1010, dxf.view_direction_vector), + DXFTag(1040, dxf.view_twist_angle), + DXFTag(1040, dxf.view_height), + DXFTag(1040, dxf.view_center_point[0]), + DXFTag( + 1040, + dxf.view_center_point[1], + ), + DXFTag(1040, dxf.perspective_lens_length), + DXFTag(1040, dxf.front_clip_plane_z_value), + DXFTag(1040, dxf.back_clip_plane_z_value), + DXFTag(1070, dxf.render_mode), + DXFTag(1070, dxf.circle_zoom), + DXFTag(1070, flag(const.VSF_FAST_ZOOM)), + DXFTag(1070, dxf.ucs_icon), + DXFTag(1070, flag(const.VSF_SNAP_MODE)), + DXFTag(1070, flag(const.VSF_GRID_MODE)), + DXFTag(1070, flag(const.VSF_ISOMETRIC_SNAP_STYLE)), + DXFTag(1070, 0), # snap isopair ??? + DXFTag(1040, dxf.snap_angle), + DXFTag(1040, dxf.snap_base_point[0]), + DXFTag(1040, dxf.snap_base_point[1]), + DXFTag(1040, dxf.snap_spacing[0]), + DXFTag(1040, dxf.snap_spacing[1]), + DXFTag(1040, dxf.grid_spacing[0]), + DXFTag(1040, dxf.grid_spacing[1]), + DXFTag(1070, flag(const.VSF_HIDE_PLOT_MODE)), + DXFTag(1002, "{"), # start frozen layer list + ] + tags.extend(DXFTag(1003, layer_name) for layer_name in self.frozen_layers) + tags.extend( + [ + DXFTag(1002, "}"), # end of frozen layer list + DXFTag(1002, "}"), # MVIEW + ] + ) + return Tags(tags) + + def register_resources(self, registry: xref.Registry) -> None: + assert self.doc is not None + super().register_resources(registry) + # The clipping path entity should not be added here! + registry.add_handle(self.dxf.get("ucs_handle")) + registry.add_handle(self.dxf.get("base_ucs_handle")) + registry.add_handle(self.dxf.get("visual_style_handle")) + registry.add_handle(self.dxf.get("background_handle")) + registry.add_handle(self.dxf.get("shade_plot_handle")) + registry.add_handle(self.dxf.get("sun_handle")) + + def map_resources(self, clone: Self, mapping: xref.ResourceMapper) -> None: + assert isinstance(clone, Viewport) + super().map_resources(clone, mapping) + + mapping.map_existing_handle( + self, clone, "clipping_boundary_handle", optional=True + ) + mapping.map_existing_handle(self, clone, "ucs_handle", optional=True) + mapping.map_existing_handle(self, clone, "base_ucs_handle", optional=True) + mapping.map_existing_handle(self, clone, "visual_style_handle", optional=True) + mapping.map_existing_handle(self, clone, "sun_handle", optional=True) + # VIEWPORT entity is hard owner of the SUN object + clone.take_sun_ownership() + clone.frozen_layers = [mapping.get_layer(name) for name in self.frozen_layers] + + # I have no information to what entities the background- and the shade_plot + # handles are pointing to and I don't have any examples for that! + mapping.map_existing_handle(self, clone, "background_handle", optional=True) + mapping.map_existing_handle(self, clone, "shade_plot_handle", optional=True) + + # No information if these attributes really exist or any examples where these + # attributes are used. BricsCAD does not create these attributes when using + # viewport layer overrides: + for num in range(1, 5): + clone.dxf.discard(f"ref_vp_object_{num}") + + def take_sun_ownership(self) -> None: + assert self.doc is not None + sun = self.doc.entitydb.get(self.dxf.get("sun_handle")) + if sun: + sun.dxf.owner = self.dxf.handle + + def rename_frozen_layer(self, old_name: str, new_name: str) -> None: + assert self.doc is not None, "valid DXF document required" + key = self.doc.layers.key + old_key = key(old_name) + self.frozen_layers = [ + (name if key(name) != old_key else new_name) for name in self.frozen_layers + ] + + def clipping_rect_corners(self) -> list[Vec2]: + """Returns the default rectangular clipping path as list of + vertices. Use function :func:`ezdxf.path.make_path` to get also + non-rectangular shaped clipping paths if defined. + """ + center = self.dxf.center + cx = center.x + cy = center.y + width2 = self.dxf.width / 2 + height2 = self.dxf.height / 2 + return [ + Vec2(cx - width2, cy - height2), + Vec2(cx + width2, cy - height2), + Vec2(cx + width2, cy + height2), + Vec2(cx - width2, cy + height2), + ] + + def clipping_rect(self) -> tuple[Vec2, Vec2]: + """Returns the lower left and the upper right corner of the clipping + rectangle in paperspace coordinates. + """ + corners = self.clipping_rect_corners() + return corners[0], corners[2] + + @property + def has_extended_clipping_path(self) -> bool: + """Returns ``True`` if a non-rectangular clipping path is defined.""" + _flag = self.dxf.flags & const.VSF_NON_RECTANGULAR_CLIPPING + if _flag: + handle = self.dxf.clipping_boundary_handle + return handle != "0" + return False + + def get_scale(self) -> float: + """Returns the scaling factor from modelspace to viewport.""" + msp_height = self.dxf.view_height + if abs(msp_height) < 1e-12: + return 0.0 + vp_height = self.dxf.height + return vp_height / msp_height + + def get_view_direction(self) -> Vec3: + """Returns the normalized view direction vector.""" + try: + return Vec3(self.dxf.view_direction_vector).normalize() + except ZeroDivisionError: + return Z_AXIS + + @property + def is_top_view(self) -> bool: + """Returns ``True`` if the viewport is a top view.""" + return self.get_view_direction().isclose(Z_AXIS) + + def get_view_center_point(self) -> Vec3: + """Returns the center of the VIEWPORT in modelspace.""" + return Vec3(self.dxf.view_center_point) + + def get_transformation_matrix(self) -> Matrix44: + """Returns the transformation matrix from modelspace to paperspace coordinates.""" + # supports only top-view viewports! + scale = self.get_scale() + rotation_angle: float = self.dxf.view_twist_angle + msp_center_point: Vec3 = Vec3(self.dxf.view_center_point) + offset: Vec3 = self.dxf.center - (msp_center_point * scale) + base_point = Vec3(self.dxf.view_target_point) + + # Take base point into account before applying the view twist-angle: + m = Matrix44.translate(-base_point.x, -base_point.y, -base_point.z) + m @= Matrix44.scale(scale) + + if rotation_angle: + m @= Matrix44.z_rotate(math.radians(rotation_angle)) + + return m @ Matrix44.translate(offset.x, offset.y, 0) + + def get_aspect_ratio(self) -> float: + """Returns the aspect ratio of the viewport, return 0.0 if width or + height is zero. + """ + try: + return self.dxf.width / self.dxf.height + except ZeroDivisionError: + return 0.0 + + def get_modelspace_limits(self) -> tuple[float, float, float, float]: + """Returns the limits of the modelspace to view in drawing units + as tuple (min_x, min_y, max_x, max_y). + """ + + rotation_angle: float = self.dxf.view_twist_angle + if rotation_angle: + return self._get_modelspace_slow() + else: + msp_center_point: Vec3 = Vec3(self.dxf.view_center_point) + Vec3(self.dxf.view_target_point) + msp_height: float = self.dxf.view_height + ratio = self.get_aspect_ratio() + if ratio == 0.0: + raise ValueError("invalid viewport parameters width or height") + w2 = msp_height * ratio * 0.5 + h2 = msp_height * 0.5 + + mx, my, _ = msp_center_point + return mx - w2, my - h2, mx + w2, my + h2 + + def _get_modelspace_slow(self) -> tuple[float, float, float, float]: + """Returns the limits of the modelspace to view in drawing units + as tuple (min_x, min_y, max_x, max_y) and take account rotaiton. + """ + + """Viewport clip is complex because viewport can have no-centered tilt + for that we compute matrix of pcs->wcs and apply it on frame corners + """ + matrix = self.get_transformation_matrix() + matrix.inverse() + c = self.dxf.center + w2 = self.dxf.width / 2 + h2 = self.dxf.height / 2 + + frame = Vec2.list(( + (-w2 + c.x, -h2 + c.y), + (w2 + c.x, -h2 + c.y), + (w2 + c.x, h2 + c.y), + (-w2 + c.x, h2 + c.y)) + ) + + bbox = BoundingBox2d( matrix.fast_2d_transform(frame) ) + return bbox.extmin.x, bbox.extmin.y, bbox.extmax.x, bbox.extmax.y diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/entities/visualstyle.py b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/entities/visualstyle.py new file mode 100644 index 0000000000000000000000000000000000000000..07bf9df410853b969b326d532e2aafbb509a6123 --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/entities/visualstyle.py @@ -0,0 +1,235 @@ +# Copyright (c) 2019-2023, Manfred Moitzi +# License: MIT-License +from __future__ import annotations +from typing import TYPE_CHECKING, Optional +from typing_extensions import Self +import copy +from ezdxf.lldxf import validator +from ezdxf.lldxf.const import SUBCLASS_MARKER, DXF2000, DXFStructureError +from ezdxf.lldxf.attributes import ( + DXFAttributes, + DefSubclass, + DXFAttr, + group_code_mapping, +) +from ezdxf.lldxf.tags import Tags +from .dxfentity import base_class, SubclassProcessor +from .dxfobj import DXFObject +from .factory import register_entity +from .copy import default_copy + +if TYPE_CHECKING: + from ezdxf.entities import DXFNamespace, DXFEntity + from ezdxf.lldxf.tagwriter import AbstractTagWriter + +__all__ = ["VisualStyle"] + +acdb_visualstyle = DefSubclass( + "AcDbVisualStyle", + { + "description": DXFAttr(2), + # Style type: + # 0 = Flat + # 1 = FlatWithEdges + # 2 = Gouraud + # 3 = GouraudWithEdges + # 4 = 2dWireframe + # 5 = Wireframe + # 6 = Hidden + # 7 = Basic + # 8 = Realistic + # 9 = Conceptual + # 10 = Modeling + # 11 = Dim + # 12 = Brighten + # 13 = Thicken + # 14 = Linepattern + # 15 = Facepattern + # 16 = ColorChange + # 20 = JitterOff + # 21 = OverhangOff + # 22 = EdgeColorOff + # 23 = Shades of Gray + # 24 = Sketchy + # 25 = X-Ray + # 26 = Shaded with edges + # 27 = Shaded + "style_type": DXFAttr( + 70, validator=validator.is_in_integer_range(0, 28) + ), + # Face lighting type: + # 0 = Invisible + # 1 = Visible + # 2 = Phong + # 3 = Gooch + "face_lighting_model": DXFAttr( + 71, validator=validator.is_in_integer_range(0, 4) + ), + # Face lighting quality: + # 0 = No lighting + # 1 = Per face lighting + # 2 = Per vertex lighting + # 3 = Unknown + "face_lighting_quality": DXFAttr( + 72, validator=validator.is_in_integer_range(0, 4) + ), + # Face color mode: + # 0 = No color + # 1 = Object color + # 2 = Background color + # 3 = Custom color + # 4 = Mono color + # 5 = Tinted + # 6 = Desaturated + "face_color_mode": DXFAttr( + 73, validator=validator.is_in_integer_range(0, 6) + ), + # Face modifiers: + # 0 = No modifiers + # 1 = Opacity + # 2 = Specular + # 3 = Unknown + "face_modifiers": DXFAttr( + 90, validator=validator.is_in_integer_range(0, 4) + ), + "face_opacity_level": DXFAttr(40), + "face_specular_level": DXFAttr(41), + "color1": DXFAttr(62), + "color2": DXFAttr(63), + "face_style_mono_color": DXFAttr(421), + # Edge style model: + # 0 = No edges + # 1 = Isolines + # 2 = Facet edges + "edge_style_model": DXFAttr( + 74, validator=validator.is_in_integer_range(0, 3) + ), + "edge_style": DXFAttr(91), + "edge_intersection_color": DXFAttr(64), + "edge_obscured_color": DXFAttr(65), + "edge_obscured_linetype": DXFAttr(75), + "edge_intersection_linetype": DXFAttr(175), + "edge_crease_angle": DXFAttr(42), + "edge_modifiers": DXFAttr(92), + "edge_color": DXFAttr(66), + "edge_opacity_level": DXFAttr(43), + "edge_width": DXFAttr(76), + "edge_overhang": DXFAttr(77), + "edge_jitter": DXFAttr(78), + "edge_silhouette_color": DXFAttr(67), + "edge_silhouette_width": DXFAttr(79), + "edge_halo_gap": DXFAttr(170), + "edge_isoline_count": DXFAttr(171), + "edge_hide_precision": DXFAttr(290), # flag + "edge_style_apply": DXFAttr(174), # flag + "style_display_settings": DXFAttr(93), + "brightness": DXFAttr(44), + "shadow_type": DXFAttr(173), + "unknown1": DXFAttr(177), # required if xdata is present? + "internal_use_only_flag": DXFAttr( + 291 + ), # visual style only use internal + # Xdata must follow tag 291 (AutoCAD -> 'Xdata wasn't read' error) + # 70: Xdata count (count of tag groups) + # any code, value: multiple tags build a tag group + # 176, 1: end of group marker + # e.g. (291, 0) (70, 2) (62, 7) (420, 16777215) (176, 1) (90, 1) (176, 1) + }, +) +acdb_visualstyle_group_codes = group_code_mapping(acdb_visualstyle) + + +# undocumented Xdata in DXF R2018 +@register_entity +class VisualStyle(DXFObject): + """DXF VISUALSTYLE entity""" + + DXFTYPE = "VISUALSTYLE" + DXFATTRIBS = DXFAttributes(base_class, acdb_visualstyle) + MIN_DXF_VERSION_FOR_EXPORT = DXF2000 # official supported in R2007 + + def __init__(self): + super().__init__() + self.acad_xdata = None # to preserve AutoCAD xdata + + def copy_data(self, entity: Self, copy_strategy=default_copy) -> None: + """Copy acad internal data.""" + assert isinstance(entity, VisualStyle) + entity.acad_xdata = copy.deepcopy(self.acad_xdata) + + def load_dxf_attribs( + self, processor: Optional[SubclassProcessor] = None + ) -> DXFNamespace: + dxf = super().load_dxf_attribs(processor) + if processor: + tags = processor.subclass_by_index(1) + if tags: + self.acad_xdata = self.store_acad_xdata(tags) + processor.fast_load_dxfattribs( + dxf, acdb_visualstyle_group_codes, subclass=tags + ) + else: + raise DXFStructureError( + f"missing 'AcDbVisualStyle' subclass in VISUALSTYLE(#{dxf.handle})" + ) + + return dxf + + @staticmethod + def store_acad_xdata(tags: Tags): + try: + index = tags.tag_index(291) + except IndexError: + return None + else: # store tags after 291 + index += 1 + xdata = tags[index:] + del tags[index:] # remove xdata from subclass + return xdata + + def export_entity(self, tagwriter: AbstractTagWriter) -> None: + """Export entity specific data as DXF tags.""" + super().export_entity(tagwriter) + tagwriter.write_tag2(SUBCLASS_MARKER, acdb_visualstyle.name) + self.dxf.export_dxf_attribs( + tagwriter, + [ + "description", + "style_type", + "face_lighting_model", + "face_lighting_quality", + "face_color_mode", + "face_modifiers", + "face_opacity_level", + "face_specular_level", + "color1", + "color2", + "face_style_mono_color", + "edge_style_model", + "edge_style", + "edge_intersection_color", + "edge_obscured_color", + "edge_obscured_linetype", + "edge_intersection_linetype", + "edge_crease_angle", + "edge_modifiers", + "edge_color", + "edge_opacity_level", + "edge_width", + "edge_overhang", + "edge_jitter", + "edge_silhouette_color", + "edge_silhouette_width", + "edge_halo_gap", + "edge_isoline_count", + "edge_hide_precision", + "edge_style_apply", + "style_display_settings", + "brightness", + "shadow_type", + "unknown1", + "internal_use_only_flag", + ], + ) + if self.acad_xdata: + tagwriter.write_tags(self.acad_xdata) diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/entities/vport.py b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/entities/vport.py new file mode 100644 index 0000000000000000000000000000000000000000..a7998e556345ecf79d9d5adf6bf097b8ffcea581 --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/entities/vport.py @@ -0,0 +1,259 @@ +# Copyright (c) 2019-2022, Manfred Moitzi +# License: MIT License +from __future__ import annotations +from typing import TYPE_CHECKING, Optional +import logging +from ezdxf.lldxf import validator +from ezdxf.lldxf.attributes import ( + DXFAttr, + DXFAttributes, + DefSubclass, + XType, + RETURN_DEFAULT, + group_code_mapping, +) +from ezdxf.lldxf.const import DXF12, SUBCLASS_MARKER, DXF2000, DXF2007 +from ezdxf.lldxf.validator import is_valid_vport_name +from ezdxf.math import Vec2, NULLVEC, Z_AXIS +from ezdxf.entities.dxfentity import base_class, SubclassProcessor, DXFEntity +from ezdxf.entities.layer import acdb_symbol_table_record +from .factory import register_entity + +if TYPE_CHECKING: + from ezdxf.entities import DXFNamespace + from ezdxf.lldxf.tagwriter import AbstractTagWriter + +__all__ = ["VPort"] +logger = logging.getLogger("ezdxf") + +acdb_vport = DefSubclass( + "AcDbViewportTableRecord", + { + "name": DXFAttr(2, validator=is_valid_vport_name), + "flags": DXFAttr(70, default=0), + "lower_left": DXFAttr(10, xtype=XType.point2d, default=Vec2(0, 0)), + "upper_right": DXFAttr(11, xtype=XType.point2d, default=Vec2(1, 1)), + "center": DXFAttr(12, xtype=XType.point2d, default=Vec2(0, 0)), + "snap_base": DXFAttr(13, xtype=XType.point2d, default=Vec2(0, 0)), + "snap_spacing": DXFAttr( + 14, xtype=XType.point2d, default=Vec2(0.5, 0.5) + ), + "grid_spacing": DXFAttr( + 15, xtype=XType.point2d, default=Vec2(0.5, 0.5) + ), + "direction": DXFAttr( + 16, + xtype=XType.point3d, + default=Z_AXIS, + validator=validator.is_not_null_vector, + fixer=RETURN_DEFAULT, + ), + "target": DXFAttr(17, xtype=XType.point3d, default=NULLVEC), + # height: DXF reference error: listed as group code 45 + "height": DXFAttr(40, default=1000), + "aspect_ratio": DXFAttr(41, default=1.34), + "focal_length": DXFAttr(42, default=50), + "front_clipping": DXFAttr(43, default=0), + "back_clipping": DXFAttr(44, default=0), + "snap_rotation": DXFAttr(50, default=0), + "view_twist": DXFAttr(51, default=0), + "view_mode": DXFAttr(71, default=0), + "circle_sides": DXFAttr(72, default=1000), + "fast_zoom": DXFAttr(73, default=1), # removed in R2007 + # ucs_icon: + # bit 0: 0=hide, 1=show + # bit 1: 0=display in lower left corner, 1=display at origin + "ucs_icon": DXFAttr(74, default=3), # show at origin + "snap_on": DXFAttr(75, default=0), # removed in R2007 + "grid_on": DXFAttr(76, default=0), # removed in R2007 + "snap_style": DXFAttr(77, default=0), # removed in R2007 + "snap_isopair": DXFAttr(78, default=0), # removed in R2007 + # R2000: 331 or 441 (optional) - ignored by ezdxf + # Soft or hard-pointer ID/handle to frozen layer objects; + # repeats for each frozen layers + # 70: Bit flags and perspective mode + # CTB-File? + "plot_style_sheet": DXFAttr(1, dxfversion=DXF2007), + # Render mode: + # 0 = 2D Optimized (classic 2D) + # 1 = Wireframe + # 2 = Hidden line + # 3 = Flat shaded + # 4 = Gouraud shaded + # 5 = Flat shaded with wireframe + # 6 = Gouraud shaded with wireframe + # All rendering modes other than 2D Optimized engage the new 3D graphics + # pipeline. These values directly correspond to the SHADEMODE command and + # the AcDbAbstractViewTableRecord::RenderMode enum + "render_mode": DXFAttr( + 281, + default=0, + dxfversion=DXF2000, + validator=validator.is_in_integer_range(0, 7), + fixer=RETURN_DEFAULT, + ), + # Value of UCSVP for this viewport. If set to 1, then viewport stores its + # own UCS which will become the current UCS whenever the viewport is + # activated. If set to 0, UCS will not change when this viewport is + # activated + "ucs_vp": DXFAttr( + 65, + dxfversion=DXF2000, + default=0, + validator=validator.is_integer_bool, + fixer=RETURN_DEFAULT, + ), + "ucs_origin": DXFAttr(110, xtype=XType.point3d, dxfversion=DXF2000), + "ucs_xaxis": DXFAttr( + 111, + xtype=XType.point3d, + dxfversion=DXF2000, + validator=validator.is_not_null_vector, + ), + "ucs_yaxis": DXFAttr( + 112, + xtype=XType.point3d, + dxfversion=DXF2000, + validator=validator.is_not_null_vector, + ), + # Handle of AcDbUCSTableRecord if UCS is a named UCS. If not present, + # then UCS is unnamed: + "ucs_handle": DXFAttr(345, dxfversion=DXF2000), + # Handle of AcDbUCSTableRecord of base UCS if UCS is orthographic (79 code + # is non-zero). If not present and 79 code is non-zero, then base UCS is + # taken to be WORLD: + "base_ucs_handle": DXFAttr(346, dxfversion=DXF2000), + # UCS ortho type: + # 0 = UCS is not orthographic + # 1 = Top + # 2 = Bottom + # 3 = Front + # 4 = Back + # 5 = Left + # 6 = Right + "ucs_ortho_type": DXFAttr( + 79, + dxfversion=DXF2000, + validator=validator.is_in_integer_range(0, 7), + ), + "elevation": DXFAttr(146, dxfversion=DXF2000, default=0), + "unknown1": DXFAttr(60, dxfversion=DXF2000), + "shade_plot_setting": DXFAttr(170, dxfversion=DXF2007), + "major_grid_lines": DXFAttr(61, dxfversion=DXF2007), + # Handle to background object + "background_handle": DXFAttr(332, dxfversion=DXF2007, optional=True), + # Handle to shade plot object + "shade_plot_handle": DXFAttr(333, dxfversion=DXF2007, optional=True), + # Handle to visual style object + "visual_style_handle": DXFAttr(348, dxfversion=DXF2007, optional=True), + "default_lighting_on": DXFAttr( + 292, + dxfversion=DXF2007, + validator=validator.is_integer_bool, + ), + # Default lighting type: + # 0 = One distant light + # 1 = Two distant lights + "default_lighting_type": DXFAttr( + 282, + dxfversion=DXF2007, + validator=validator.is_integer_bool, + ), + "brightness": DXFAttr(141, dxfversion=DXF2000), + "contrast": DXFAttr(142, dxfversion=DXF2000), + "ambient_color_aci": DXFAttr(63, dxfversion=DXF2000, optional=True), + "ambient_true_color": DXFAttr(421, dxfversion=DXF2000, optional=True), + "ambient_color_name": DXFAttr(431, dxfversion=DXF2000, optional=True), + # Hard-pointer handle to sun object: + "sun_handle": DXFAttr(361, dxfversion=DXF2007, optional=True), + }, +) +acdb_vport_group_codes = group_code_mapping(acdb_vport) + + +@register_entity +class VPort(DXFEntity): + """DXF VIEW entity""" + + DXFTYPE = "VPORT" + DXFATTRIBS = DXFAttributes(base_class, acdb_symbol_table_record, acdb_vport) + + def load_dxf_attribs( + self, processor: Optional[SubclassProcessor] = None + ) -> DXFNamespace: + dxf = super().load_dxf_attribs(processor) + if processor: + processor.fast_load_dxfattribs( + dxf, acdb_vport_group_codes, subclass=2 + ) + return dxf + + def export_entity(self, tagwriter: AbstractTagWriter) -> None: + super().export_entity(tagwriter) + dxfversion = tagwriter.dxfversion + if dxfversion > DXF12: + tagwriter.write_tag2(SUBCLASS_MARKER, acdb_symbol_table_record.name) + tagwriter.write_tag2(SUBCLASS_MARKER, acdb_vport.name) + self.dxf.export_dxf_attribs( + tagwriter, + [ + "name", + "flags", + "lower_left", + "upper_right", + "center", + "snap_base", + "snap_spacing", + "grid_spacing", + "direction", + "target", + "height", + "aspect_ratio", + "focal_length", + "front_clipping", + "back_clipping", + "snap_rotation", + "view_twist", + "view_mode", + "circle_sides", + "fast_zoom", + "ucs_icon", + "snap_on", + "grid_on", + "snap_style", + "snap_isopair", + "plot_style_sheet", + "render_mode", + "ucs_vp", + "ucs_origin", + "ucs_xaxis", + "ucs_yaxis", + "ucs_handle", + "base_ucs_handle", + "ucs_ortho_type", + "elevation", + "unknown1", + "shade_plot_setting", + "major_grid_lines", + "background_handle", + "shade_plot_handle", + "visual_style_handle", + "default_lighting_on", + "default_lighting_type", + "brightness", + "contrast", + "ambient_color_aci", + "ambient_true_color", + "ambient_color_name", + ], + ) + + def reset_wcs(self) -> None: + """Reset coordinate system to the :ref:`WCS`.""" + self.dxf.ucs_vp = 1 + self.dxf.ucs_origin = (0, 0, 0) + self.dxf.ucs_xaxis = (1, 0, 0) + self.dxf.ucs_yaxis = (0, 1, 0) + self.dxf.ucs_ortho_type = 0 + self.dxf.discard("ucs_handle") + self.dxf.discard("base_ucs_handle") diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/entities/xdata.py b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/entities/xdata.py new file mode 100644 index 0000000000000000000000000000000000000000..d2fe7d42a69c743bfae57d3c6d6d7b8a90eea51a --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/entities/xdata.py @@ -0,0 +1,531 @@ +# Copyright (c) 2019-2022 Manfred Moitzi +# License: MIT License +from __future__ import annotations +from typing import ( + TYPE_CHECKING, + Iterable, + Any, + MutableSequence, + MutableMapping, + Iterator, + Union, + Optional, +) +from contextlib import contextmanager +import logging + +from ezdxf.math import Vec3, Matrix44 +from ezdxf.lldxf.types import dxftag, VALID_XDATA_GROUP_CODES, DXFTag +from ezdxf.lldxf.tags import Tags +from ezdxf.lldxf.const import XDATA_MARKER, DXFValueError, DXFTypeError +from ezdxf.lldxf.tags import ( + xdata_list, + remove_named_list_from_xdata, + get_named_list_from_xdata, + NotFoundException, +) +from ezdxf.tools import take2 +from ezdxf import options +from ezdxf.lldxf.repair import filter_invalid_xdata_group_codes + +if TYPE_CHECKING: + from ezdxf.entities import DXFEntity + from ezdxf.lldxf.tagwriter import AbstractTagWriter + +__all__ = ["XData", "XDataUserList", "XDataUserDict"] +logger = logging.getLogger("ezdxf") + + +def has_valid_xdata_group_codes(tags: Tags) -> bool: + return all(tag.code in VALID_XDATA_GROUP_CODES for tag in tags) + + +class XData: + def __init__(self, xdata: Optional[Iterable[Tags]] = None): + self.data: dict[str, Tags] = dict() + if xdata is not None: + for data in xdata: + self._add(data) + + @classmethod + def safe_init(cls, xdata: Iterable[Tags]): + return cls( + [Tags(filter_invalid_xdata_group_codes(tags)) for tags in xdata] + ) + + def __len__(self): + return len(self.data) + + def __contains__(self, appid: str) -> bool: + """Returns ``True`` if DXF tags for `appid` exist.""" + return appid in self.data + + def update_keys(self): + """Update APPID keys. (internal API)""" + self.data = {tags[0].value: tags for tags in self.data.values()} + + def _add(self, tags: Tags) -> None: + tags = Tags(tags) + if len(tags): + appid = tags[0].value + if appid in self.data: + logger.info(f"Duplicate XDATA appid {appid} in one entity") + if has_valid_xdata_group_codes(tags): + self.data[appid] = tags + else: + raise DXFValueError(f"found invalid XDATA group code in {tags}") + + def add( + self, appid: str, tags: Iterable[Union[tuple[int, Any], DXFTag]] + ) -> None: + """Add a list of DXF tags for `appid`. The `tags` argument is an + iterable of (group code, value) tuples, where the group code has to be + an integer value. The mandatory XDATA marker (1001, appid) is added + automatically if front of the tags if missing. + + Each entity can contain only one list of tags for each `appid`. + Adding a second list of tags for the same `appid` replaces the + existing list of tags. + + The valid XDATA group codes are restricted to some specific values in + the range from 1000 to 1071, for more information see also the + internals about :ref:`xdata_internals`. + + """ + data = Tags(dxftag(code, value) for code, value in tags) + if len(data) == 0 or data[0] != (XDATA_MARKER, appid): + data.insert(0, dxftag(XDATA_MARKER, appid)) + self._add(data) + + def get(self, appid: str) -> Tags: + """Returns the DXF tags as :class:`~ezdxf.lldxf.tags.Tags` list + stored by `appid`. + + Raises: + DXFValueError: no data for `appid` exist + + """ + if appid in self.data: + return self.data[appid] + else: + raise DXFValueError(appid) + + def discard(self, appid): + """Delete DXF tags for `appid`. None existing appids are silently + ignored. + """ + if appid in self.data: + del self.data[appid] + + def export_dxf(self, tagwriter: AbstractTagWriter) -> None: + for appid, tags in self.data.items(): + if options.filter_invalid_xdata_group_codes: + tags = Tags(filter_invalid_xdata_group_codes(tags)) + tagwriter.write_tags(tags) + + def has_xlist(self, appid: str, name: str) -> bool: + """Returns ``True`` if list `name` from XDATA `appid` exists. + + Args: + appid: APPID + name: list name + + """ + try: + self.get_xlist(appid, name) + except DXFValueError: + return False + else: + return True + + def get_xlist(self, appid: str, name: str) -> list[tuple]: + """Get list `name` from XDATA `appid`. + + Args: + appid: APPID + name: list name + + Returns: list of DXFTags including list name and curly braces '{' '}' tags + + Raises: + DXFKeyError: XDATA `appid` does not exist + DXFValueError: list `name` does not exist + + """ + xdata = self.get(appid) + try: + return get_named_list_from_xdata(name, xdata) + except NotFoundException: + raise DXFValueError( + f'No data list "{name}" not found for APPID "{appid}"' + ) + + def set_xlist(self, appid: str, name: str, tags: Iterable) -> None: + """Create new list `name` of XDATA `appid` with `xdata_tags` and + replaces list `name` if already exists. + + Args: + appid: APPID + name: list name + tags: list content as DXFTags or (code, value) tuples, list name and + curly braces '{' '}' tags will be added + """ + if appid not in self.data: + data = [(XDATA_MARKER, appid)] + data.extend(xdata_list(name, tags)) + self.add(appid, data) + else: + self.replace_xlist(appid, name, tags) + + def discard_xlist(self, appid: str, name: str) -> None: + """Deletes list `name` from XDATA `appid`. Ignores silently if XDATA + `appid` or list `name` not exist. + + Args: + appid: APPID + name: list name + + """ + try: + xdata = self.get(appid) + except DXFValueError: + pass + else: + try: + tags = remove_named_list_from_xdata(name, xdata) + except NotFoundException: + pass + else: + self.add(appid, tags) + + def replace_xlist(self, appid: str, name: str, tags: Iterable) -> None: + """Replaces list `name` of existing XDATA `appid` by `tags`. Appends + new list if list `name` do not exist, but raises `DXFValueError` if + XDATA `appid` do not exist. + + Low level interface, if not sure use `set_xdata_list()` instead. + + Args: + appid: APPID + name: list name + tags: list content as DXFTags or (code, value) tuples, list name and + curly braces '{' '}' tags will be added + Raises: + DXFValueError: XDATA `appid` do not exist + + """ + xdata = self.get(appid) + try: + data = remove_named_list_from_xdata(name, xdata) + except NotFoundException: + data = xdata + xlist = xdata_list(name, tags) + data.extend(xlist) + self.add(appid, data) + + def transform(self, m: Matrix44) -> None: + """Transform XDATA tags with group codes 1011, 1012, 1013, 1041 and + 1042 inplace. For more information see :ref:`xdata_internals` Internals. + + """ + transformed_data = dict() + for key, tags in self.data.items(): + transformed_data[key] = Tags(transform_xdata_tags(tags, m)) + self.data = transformed_data + + +def transform_xdata_tags(tags: Tags, m: Matrix44) -> Iterator[DXFTag]: + for tag in tags: + code, value = tag + if code == 1011: + # move, scale, rotate and mirror + yield dxftag(code, m.transform(Vec3(value))) + elif code == 1012: + # scale, rotate and mirror + yield dxftag(code, m.transform_direction(Vec3(value))) + elif code == 1013: + # rotate and mirror + vec = Vec3(value) + length = vec.magnitude + if length > 1e-12: + vec = m.transform_direction(vec).normalize(length) + yield dxftag(code, vec) + else: + yield tag + elif code == 1041 or code == 1042: + # scale distance and factor, works only for uniform scaling + vec = m.transform_direction(Vec3(value, 0, 0)) + yield dxftag(code, vec.magnitude) + else: + yield tag + + +class XDataUserList(MutableSequence): + """Manage named XDATA lists as a list-like object. + + Stores just a few data types with fixed group codes: + + 1000 str + 1010 Vec3 + 1040 float + 1071 32bit int + + """ + + converter = { + 1000: str, + 1010: Vec3, + 1040: float, + 1071: int, + } + group_codes = { + str: 1000, + Vec3: 1010, + float: 1040, + int: 1071, + } + + def __init__( + self, xdata: Optional[XData] = None, name="DefaultList", appid="EZDXF" + ): + """Setup a XDATA user list `name` for the given `appid`. + + The data is stored in the given `xdata` object, or in a new created + :class:`XData` instance if ``None``. + Changes of the content has to be committed at the end to be stored in + the underlying `xdata` object. + + Args: + xdata (XData): underlying :class:`XData` instance, if ``None`` a + new one will be created + name (str): name of the user list + appid (str): application specific AppID + + """ + if xdata is None: + xdata = XData() + self.xdata = xdata + self._appid = str(appid) + self._name = str(name) + try: + data = xdata.get_xlist(self._appid, self._name) + except DXFValueError: + data = [] + self._data: list = self._parse_list(data) + + @classmethod + @contextmanager + def entity( + cls, entity: DXFEntity, name="DefaultList", appid="EZDXF" + ) -> Iterator[XDataUserList]: + """Context manager to manage a XDATA list `name` for a given DXF + `entity`. Appends the user list to the existing :class:`XData` instance + or creates new :class:`XData` instance. + + Args: + entity (DXFEntity): target DXF entity for the XDATA + name (str): name of the user list + appid (str): application specific AppID + + """ + xdata = entity.xdata + if xdata is None: + xdata = XData() + entity.xdata = xdata + xlist = cls(xdata, name, appid) + yield xlist + xlist.commit() + + def __enter__(self): + return self + + def __exit__(self, exc_type, exc_val, exc_tb): + self.commit() + + def __str__(self): + """Return str(self).""" + return str(self._data) + + def insert(self, index: int, value) -> None: + self._data.insert(index, value) + + def __getitem__(self, item): + """Get self[item].""" + return self._data[item] + + def __setitem__(self, item, value): + """Set self[item] to value.""" + self._data.__setitem__(item, value) + + def __delitem__(self, item): + """Delete self[item].""" + self._data.__delitem__(item) + + def _parse_list(self, tags: Iterable[tuple]) -> list: + data = list(tags) + content = [] + for code, value in data[2:-1]: + factory = self.converter.get(code) + if factory: + content.append(factory(value)) + else: + raise DXFValueError(f"unsupported group code: {code}") + return content + + def __len__(self) -> int: + """Returns len(self).""" + return len(self._data) + + def commit(self) -> None: + """Store all changes to the underlying :class:`XData` instance. + This call is not required if using the :meth:`entity` context manager. + + Raises: + DXFValueError: invalid chars ``"\\n"`` or ``"\\r"`` in a string + DXFTypeError: invalid data type + + """ + data = [] + for value in self._data: + if isinstance(value, str): + if len(value) > 255: # XDATA limit for group code 1000 + raise DXFValueError("string too long, max. 255 characters") + if "\n" in value or "\r" in value: + raise DXFValueError( + "found invalid line break '\\n' or '\\r'" + ) + code = self.group_codes.get(type(value)) + if code: + data.append(dxftag(code, value)) + else: + raise DXFTypeError(f"invalid type: {type(value)}") + self.xdata.set_xlist(self._appid, self._name, data) + + +class XDataUserDict(MutableMapping): + """Manage named XDATA lists as a dict-like object. + + Uses XDataUserList to store key, value pairs in XDATA. + + This class does not create the required AppID table entry, only the + default AppID "EZDXF" exist by default. + + Implements the :class:`MutableMapping` interface. + + """ + + def __init__( + self, xdata: Optional[XData] = None, name="DefaultDict", appid="EZDXF" + ): + """Setup a XDATA user dict `name` for the given `appid`. + + The data is stored in the given `xdata` object, or in a new created + :class:`XData` instance if ``None``. + Changes of the content has to be committed at the end to be stored in + the underlying `xdata` object. + + Args: + xdata (XData): underlying :class:`XData` instance, if ``None`` a + new one will be created + name (str): name of the user list + appid (str): application specific AppID + + """ + self._xlist = XDataUserList(xdata, name, appid) + self._user_dict: dict[str, Any] = self._parse_xlist() + + def _parse_xlist(self) -> dict: + if self._xlist: + return dict(take2(self._xlist)) + else: + return dict() + + def __enter__(self): + return self + + def __exit__(self, exc_type, exc_val, exc_tb): + self.commit() + + def __str__(self): + """Return str(self).""" + return str(self._user_dict) + + @classmethod + @contextmanager + def entity( + cls, entity: DXFEntity, name="DefaultDict", appid="EZDXF" + ) -> Iterator[XDataUserDict]: + """Context manager to manage a XDATA dict `name` for a given DXF + `entity`. Appends the user dict to the existing :class:`XData` instance + or creates new :class:`XData` instance. + + Args: + entity (DXFEntity): target DXF entity for the XDATA + name (str): name of the user list + appid (str): application specific AppID + + """ + xdata = entity.xdata + if xdata is None: + xdata = XData() + entity.xdata = xdata + xdict = cls(xdata, name, appid) + yield xdict + xdict.commit() + + @property + def xdata(self): + return self._xlist.xdata + + def __len__(self): + """Returns len(self).""" + return len(self._user_dict) + + def __getitem__(self, key): + """Get self[key].""" + return self._user_dict[key] + + def __setitem__(self, key, item): + """Set self[key] to value, key has to be a string. + + Raises: + DXFTypeError: key is not a string + + """ + if not isinstance(key, str): + raise DXFTypeError("key is not a string") + self._user_dict[key] = item + + def __delitem__(self, key): + """Delete self[key].""" + del self._user_dict[key] + + def __iter__(self): + """Implement iter(self).""" + return iter(self._user_dict) + + def discard(self, key): + """Delete self[key], without raising a :class:`KeyError` if `key` does + not exist. + + """ + try: + del self._user_dict[key] + except KeyError: + pass + + def commit(self) -> None: + """Store all changes to the underlying :class:`XData` instance. + This call is not required if using the :meth:`entity` context manager. + + Raises: + DXFValueError: invalid chars ``"\\n"`` or ``"\\r"`` in a string + DXFTypeError: invalid data type + + """ + xlist = self._xlist + xlist.clear() + for key, value in self._user_dict.items(): + xlist.append(key) + xlist.append(value) + xlist.commit() diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/entities/xdict.py b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/entities/xdict.py new file mode 100644 index 0000000000000000000000000000000000000000..a7b8daedbd8912103957b386ca996b15e5bf3ad6 --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/entities/xdict.py @@ -0,0 +1,241 @@ +# Copyright (c) 2019-2023 Manfred Moitzi +# License: MIT License +from __future__ import annotations +from typing import TYPE_CHECKING, Union, Optional +from ezdxf.lldxf.tags import Tags +from ezdxf.lldxf.const import DXFStructureError +from ezdxf.lldxf.const import ( + ACAD_XDICTIONARY, + XDICT_HANDLE_CODE, + APP_DATA_MARKER, +) +from .copy import default_copy + +if TYPE_CHECKING: + from ezdxf.document import Drawing + from ezdxf.lldxf.tagwriter import AbstractTagWriter + from ezdxf.entities import ( + Dictionary, + DXFEntity, + DXFObject, + Placeholder, + DictionaryVar, + XRecord, + ) + +__all__ = ["ExtensionDict"] + + +# Example for table head and -entries with extension dicts: +# AutodeskSamples\lineweights.dxf + + +class ExtensionDict: + """Stores extended data of entities in app data 'ACAD_XDICTIONARY', app + data contains just one entry to a hard-owned DICTIONARY objects, which is + not shared with other entities, each entity copy has its own extension + dictionary and the extension dictionary is destroyed when the owner entity + is deleted from database. + + """ + + __slots__ = ("_xdict",) + + def __init__(self, xdict: Union[str, Dictionary]): + # 1st loading stage: xdict as string -> handle to dict + # 2nd loading stage: xdict as DXF Dictionary + self._xdict = xdict + + @property + def dictionary(self) -> Dictionary: + """Returns the underlying :class:`~ezdxf.entities.Dictionary` object.""" + xdict = self._xdict + assert xdict is not None, "destroyed extension dictionary" + assert not isinstance(xdict, str), f"dictionary handle #{xdict} not resolved" + return xdict + + @property + def handle(self) -> str: + """Returns the handle of the underlying :class:`~ezdxf.entities.Dictionary` + object. + """ + return self.dictionary.dxf.handle + + def __getitem__(self, key: str): + """Get self[key].""" + return self.dictionary[key] + + def __setitem__(self, key: str, value): + """Set self[key] to value. + + Only DXF objects stored in the OBJECTS section are allowed as content + of the extension dictionary. DXF entities stored in layouts are not + allowed. + + Raises: + DXFTypeError: invalid DXF type + + """ + self.dictionary[key] = value + + def __delitem__(self, key: str): + """Delete self[key], destroys referenced entity.""" + del self.dictionary[key] + + def __contains__(self, key: str): + """Return `key` in self.""" + return key in self.dictionary + + def __len__(self): + """Returns count of extension dictionary entries.""" + return len(self.dictionary) + + def keys(self): + """Returns a :class:`KeysView` of all extension dictionary keys.""" + return self.dictionary.keys() + + def items(self): + """Returns an :class:`ItemsView` for all extension dictionary entries as + (key, entity) pairs. An entity can be a handle string if the entity + does not exist. + """ + return self.dictionary.items() + + def get(self, key: str, default=None) -> Optional[DXFEntity]: + """Return extension dictionary entry `key`.""" + return self.dictionary.get(key, default) + + def discard(self, key: str) -> None: + """Discard extension dictionary entry `key`.""" + return self.dictionary.discard(key) + + @classmethod + def new(cls, owner_handle: str, doc: Drawing): + xdict = doc.objects.add_dictionary( + owner=owner_handle, + # All data in the extension dictionary belongs only to the owner + hard_owned=True, + ) + return cls(xdict) + + def copy(self, copy_strategy=default_copy) -> ExtensionDict: + """Deep copy of the extension dictionary all entries are virtual + entities. + """ + new_xdict = copy_strategy.copy(self.dictionary) + return ExtensionDict(new_xdict) + + @property + def is_alive(self): + """Returns ``True`` if the underlying :class:`~ezdxf.entities.Dictionary` + object is not deleted. + """ + # Can not check if _xdict (as handle or Dictionary) really exist: + return self._xdict is not None + + @property + def has_valid_dictionary(self): + """Returns ``True`` if the underlying :class:`~ezdxf.entities.Dictionary` + really exist and is valid. + """ + xdict = self._xdict + if xdict is None or isinstance(xdict, str): + return False + return xdict.is_alive + + def update_owner(self, handle: str) -> None: + """Update owner tag of underlying :class:`~ezdxf.entities.Dictionary` + object. + + Internal API. + """ + assert self.is_alive, "destroyed extension dictionary" + self.dictionary.dxf.owner = handle + + @classmethod + def from_tags(cls, tags: Tags): + assert tags is not None + # Expected DXF structure: + # [(102, '{ACAD_XDICTIONARY', (360, handle), (102, '}')] + if len(tags) != 3 or tags[1].code != XDICT_HANDLE_CODE: + raise DXFStructureError("ACAD_XDICTIONARY error.") + return cls(tags[1].value) + + def load_resources(self, doc: Drawing) -> None: + handle = self._xdict + assert isinstance(handle, str) + self._xdict = doc.entitydb.get(handle) # type: ignore + + def export_dxf(self, tagwriter: AbstractTagWriter) -> None: + assert self._xdict is not None + xdict = self._xdict + handle = xdict if isinstance(xdict, str) else xdict.dxf.handle + tagwriter.write_tag2(APP_DATA_MARKER, ACAD_XDICTIONARY) + tagwriter.write_tag2(XDICT_HANDLE_CODE, handle) + tagwriter.write_tag2(APP_DATA_MARKER, "}") + + def destroy(self): + """Destroy the underlying :class:`~ezdxf.entities.Dictionary` object.""" + if self.has_valid_dictionary: + self._xdict.destroy() + self._xdict = None + + def add_dictionary(self, name: str, hard_owned: bool = True) -> Dictionary: + """Create a new :class:`~ezdxf.entities.Dictionary` object as + extension dictionary entry `name`. + """ + dictionary = self.dictionary + doc = dictionary.doc + assert doc is not None, "valid DXF document required" + new_dict = doc.objects.add_dictionary( + owner=dictionary.dxf.handle, + hard_owned=hard_owned, + ) + dictionary[name] = new_dict + return new_dict + + def add_xrecord(self, name: str) -> XRecord: + """Create a new :class:`~ezdxf.entities.XRecord` object as + extension dictionary entry `name`. + """ + dictionary = self.dictionary + doc = dictionary.doc + assert doc is not None, "valid DXF document required" + xrecord = doc.objects.add_xrecord(dictionary.dxf.handle) + dictionary[name] = xrecord + return xrecord + + def add_dictionary_var(self, name: str, value: str) -> DictionaryVar: + """Create a new :class:`~ezdxf.entities.DictionaryVar` object as + extension dictionary entry `name`. + """ + dictionary = self.dictionary + doc = dictionary.doc + assert doc is not None, "valid DXF document required" + dict_var = doc.objects.add_dictionary_var(dictionary.dxf.handle, value) + dictionary[name] = dict_var + return dict_var + + def add_placeholder(self, name: str) -> Placeholder: + """Create a new :class:`~ezdxf.entities.Placeholder` object as + extension dictionary entry `name`. + """ + dictionary = self.dictionary + doc = dictionary.doc + assert doc is not None, "valid DXF document required" + placeholder = doc.objects.add_placeholder(dictionary.dxf.handle) + dictionary[name] = placeholder + return placeholder + + def link_dxf_object(self, name: str, obj: DXFObject) -> None: + """Link `obj` to the extension dictionary as entry `name`. + + Linked objects are owned by the extensions dictionary and therefore + cannot be a graphical entity, which have to be owned by a + :class:`~ezdxf.layouts.BaseLayout`. + + Raises: + DXFTypeError: `obj` has invalid DXF type + + """ + self.dictionary.link_dxf_object(name, obj) diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/entities/xline.py b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/entities/xline.py new file mode 100644 index 0000000000000000000000000000000000000000..ef808034dbf6e544c58bf2c3104cad01097c9b58 --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/entities/xline.py @@ -0,0 +1,95 @@ +# Copyright (c) 2019-2022 Manfred Moitzi +# License: MIT License +from __future__ import annotations +from typing import TYPE_CHECKING, Optional +from ezdxf.lldxf import validator +from ezdxf.lldxf.attributes import ( + DXFAttr, + DXFAttributes, + DefSubclass, + XType, + RETURN_DEFAULT, + group_code_mapping, +) +from ezdxf.lldxf.const import SUBCLASS_MARKER, DXF2000 +from ezdxf.math import Vec3, Matrix44, NULLVEC, Z_AXIS +from .dxfentity import base_class, SubclassProcessor +from .dxfgfx import DXFGraphic, acdb_entity +from .factory import register_entity + +if TYPE_CHECKING: + from ezdxf.entities import DXFNamespace + from ezdxf.lldxf.tagwriter import AbstractTagWriter + +__all__ = ["Ray", "XLine"] + +acdb_xline = DefSubclass( + "AcDbXline", + { + "start": DXFAttr(10, xtype=XType.point3d, default=NULLVEC), + "unit_vector": DXFAttr( + 11, + xtype=XType.point3d, + default=Z_AXIS, + validator=validator.is_not_null_vector, + fixer=RETURN_DEFAULT, + ), + }, +) +acdb_xline_group_codes = group_code_mapping(acdb_xline) + + +@register_entity +class XLine(DXFGraphic): + """DXF XLINE entity""" + + DXFTYPE = "XLINE" + DXFATTRIBS = DXFAttributes(base_class, acdb_entity, acdb_xline) + MIN_DXF_VERSION_FOR_EXPORT = DXF2000 + XLINE_SUBCLASS = "AcDbXline" + + def load_dxf_attribs( + self, processor: Optional[SubclassProcessor] = None + ) -> DXFNamespace: + dxf = super().load_dxf_attribs(processor) + if processor: + processor.fast_load_dxfattribs( + dxf, acdb_xline_group_codes, subclass=2, recover=True + ) + return dxf + + def export_entity(self, tagwriter: AbstractTagWriter) -> None: + """Export entity specific data as DXF tags.""" + super().export_entity(tagwriter) + tagwriter.write_tag2(SUBCLASS_MARKER, self.XLINE_SUBCLASS) + self.dxf.export_dxf_attribs(tagwriter, ["start", "unit_vector"]) + + def transform(self, m: Matrix44) -> XLine: + """Transform the XLINE/RAY entity by transformation matrix `m` inplace.""" + self.dxf.start = m.transform(self.dxf.start) + self.dxf.unit_vector = m.transform_direction( + self.dxf.unit_vector + ).normalize() + self.post_transform(m) + return self + + def translate(self, dx: float, dy: float, dz: float) -> XLine: + """Optimized XLINE/RAY translation about `dx` in x-axis, `dy` in + y-axis and `dz` in z-axis. + + """ + self.dxf.start = Vec3(dx, dy, dz) + self.dxf.start + # Avoid Matrix44 instantiation if not required: + if self.is_post_transform_required: + self.post_transform(Matrix44.translate(dx, dy, dz)) + return self + + +@register_entity +class Ray(XLine): + """DXF Ray entity""" + + DXFTYPE = "RAY" + DXFATTRIBS = DXFAttributes(base_class, acdb_entity, acdb_xline) + MIN_DXF_VERSION_FOR_EXPORT = DXF2000 + XLINE_SUBCLASS = "AcDbRay" diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/layouts/__init__.py b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/layouts/__init__.py new file mode 100644 index 0000000000000000000000000000000000000000..821145b7bc2e7ae1ab2cd5fb4967a04112a63842 --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/layouts/__init__.py @@ -0,0 +1,6 @@ +# Copyright (c) 2011-2022, Manfred Moitzi +# License: MIT License +from .base import BaseLayout, VirtualLayout +from .layout import Layout, Modelspace, Paperspace +from .blocklayout import BlockLayout +from .layouts import Layouts diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/layouts/base.py b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/layouts/base.py new file mode 100644 index 0000000000000000000000000000000000000000..0beb12df9a405077e2124194be942e14c29a4c69 --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/layouts/base.py @@ -0,0 +1,467 @@ +# Copyright (c) 2019-2023, Manfred Moitzi +# License: MIT License +from __future__ import annotations +from typing import TYPE_CHECKING, Iterator, Union, Iterable, Optional + +from ezdxf.entities import factory, is_graphic_entity, SortEntsTable +from ezdxf.enums import InsertUnits +from ezdxf.lldxf.const import ( + DXFKeyError, + DXFValueError, + DXFStructureError, + LATEST_DXF_VERSION, + DXFTypeError, +) +from ezdxf.query import EntityQuery +from ezdxf.groupby import groupby +from ezdxf.entitydb import EntityDB, EntitySpace +from ezdxf.graphicsfactory import CreatorInterface + +if TYPE_CHECKING: + from ezdxf.entities import DXFGraphic, BlockRecord, ExtensionDict + from ezdxf.eztypes import KeyFunc + +SUPPORTED_FOREIGN_ENTITY_TYPES = { + "ARC", + "LINE", + "CIRCLE", + "ELLIPSE", + "POINT", + "LWPOLYLINE", + "SPLINE", + "3DFACE", + "SOLID", + "TRACE", + "SHAPE", + "POLYLINE", + "MESH", + "TEXT", + "MTEXT", + "HATCH", + "ATTRIB", + "ATTDEF", +} + + +class _AbstractLayout(CreatorInterface): + entity_space = EntitySpace() + + @property + def entitydb(self) -> EntityDB: + """Returns drawing entity database. (internal API)""" + return self.doc.entitydb + + def __len__(self) -> int: + """Returns count of entities owned by the layout.""" + return len(self.entity_space) + + def __iter__(self) -> Iterator[DXFGraphic]: + """Returns iterable of all drawing entities in this layout.""" + return iter(self.entity_space) # type: ignore + + def __getitem__(self, index): + """Get entity at `index`. + + The underlying data structure for storing entities is organized like a + standard Python list, therefore `index` can be any valid list indexing + or slicing term, like a single index ``layout[-1]`` to get the last + entity, or an index slice ``layout[:10]`` to get the first 10 or less + entities as ``list[DXFGraphic]``. + + """ + return self.entity_space[index] + + def query(self, query: str = "*") -> EntityQuery: + """Get all DXF entities matching the :ref:`entity query string`.""" + return EntityQuery(iter(self), query) + + def groupby(self, dxfattrib: str = "", key: Optional[KeyFunc] = None) -> dict: + """ + Returns a ``dict`` of entity lists, where entities are grouped by a + `dxfattrib` or a `key` function. + + Args: + dxfattrib: grouping by DXF attribute like ``'layer'`` + key: key function, which accepts a :class:`DXFGraphic` entity as + argument and returns the grouping key of an entity or ``None`` + to ignore the entity. Reason for ignoring: a queried DXF + attribute is not supported by entity. + + """ + return groupby(iter(self), dxfattrib, key) + + def destroy(self): + pass + + def purge(self): + """Remove all destroyed entities from the layout entity space.""" + self.entity_space.purge() + + +class BaseLayout(_AbstractLayout): + def __init__(self, block_record: BlockRecord): + doc = block_record.doc + assert doc is not None + super().__init__(doc) + self.entity_space = block_record.entity_space + # This is the real central layout management structure: + self.block_record: BlockRecord = block_record + + @property + def block_record_handle(self): + """Returns block record handle. (internal API)""" + return self.block_record.dxf.handle + + @property + def layout_key(self) -> str: + """Returns the layout key as hex string. + + The layout key is the handle of the associated BLOCK_RECORD entry in the + BLOCK_RECORDS table. + + (internal API) + """ + return self.block_record.dxf.handle + + @property + def is_alive(self): + """``False`` if layout is deleted.""" + return self.block_record.is_alive + + @property + def is_active_paperspace(self) -> bool: + """``True`` if is active layout.""" + if self.block_record.is_alive: + return self.block_record.is_active_paperspace + return False + + @property + def is_any_paperspace(self) -> bool: + """``True`` if is any kind of paperspace layout.""" + return self.block_record.is_any_paperspace + + @property + def is_modelspace(self) -> bool: + """``True`` if is modelspace layout.""" + return self.block_record.is_modelspace + + @property + def is_any_layout(self) -> bool: + """``True`` if is any kind of modelspace or paperspace layout.""" + return self.block_record.is_any_layout + + @property + def is_block_layout(self) -> bool: + """``True`` if not any kind of modelspace or paperspace layout, just a + regular block definition. + """ + return self.block_record.is_block_layout + + @property + def units(self) -> InsertUnits: + """Get/Set layout/block drawing units as enum, see also :ref:`set + drawing units`. + """ + # todo: doesn't care about units stored in XDATA, see ezdxf/units.py + # Don't know what this units are used for, but header var $INSUNITS + # are the real units of the model space. + return self.block_record.dxf.units + + @units.setter + def units(self, value: InsertUnits) -> None: + """Set layout/block drawing units as enum.""" + self.block_record.dxf.units = value # has a DXF validator + + def get_extension_dict(self) -> ExtensionDict: + """Returns the associated extension dictionary, creates a new one if + necessary. + """ + block_record = self.block_record + if block_record.has_extension_dict: + return block_record.get_extension_dict() + else: + return block_record.new_extension_dict() + + def add_entity(self, entity: DXFGraphic) -> None: + """Add an existing :class:`DXFGraphic` entity to a layout, but be sure + to unlink (:meth:`~BaseLayout.unlink_entity`) `entity` from the previous + owner layout. Adding entities from a different DXF drawing is not + supported. + + .. warning:: + + This is a low-level tool - use it with caution and make sure you understand + what you are doing! If used improperly, the DXF document may be damaged. + + """ + # bind virtual entities to the DXF document: + doc = self.doc + if entity.dxf.handle is None and doc: + factory.bind(entity, doc) + handle = entity.dxf.handle + if handle is None or handle not in self.doc.entitydb: + raise DXFStructureError( + "Adding entities from a different DXF drawing is not supported." + ) + + if not is_graphic_entity(entity): + raise DXFTypeError(f"invalid entity {str(entity)}") + self.block_record.add_entity(entity) + + def add_foreign_entity(self, entity: DXFGraphic, copy=True) -> None: + """Add a foreign DXF entity to a layout, this foreign entity could be + from another DXF document or an entity without an assigned DXF document. + The intention of this method is to add **simple** entities from another + DXF document or from a DXF iterator, for more complex operations use the + :mod:`~ezdxf.addons.importer` add-on. Especially objects with BLOCK + section (INSERT, DIMENSION, MLEADER) or OBJECTS section dependencies + (IMAGE, UNDERLAY) can not be supported by this simple method. + + Not all DXF types are supported and every dependency or resource + reference from another DXF document will be removed except attribute + layer will be preserved but only with default attributes like + color ``7`` and linetype ``CONTINUOUS`` because the layer attribute + doesn't need a layer table entry. + + If the entity is part of another DXF document, it will be unlinked from + this document and its entity database if argument `copy` is ``False``, + else the entity will be copied. Unassigned entities like from DXF + iterators will just be added. + + Supported DXF types: + + - POINT + - LINE + - CIRCLE + - ARC + - ELLIPSE + - LWPOLYLINE + - SPLINE + - POLYLINE + - 3DFACE + - SOLID + - TRACE + - SHAPE + - MESH + - ATTRIB + - ATTDEF + - TEXT + - MTEXT + - HATCH + + Args: + entity: DXF entity to copy or move + copy: if ``True`` copy entity from other document else unlink from + other document + + Raises: + CopyNotSupported: copying of `entity` i not supported + """ + foreign_doc = entity.doc + dxftype = entity.dxftype() + if dxftype not in SUPPORTED_FOREIGN_ENTITY_TYPES: + raise DXFTypeError(f"unsupported DXF type: {dxftype}") + if foreign_doc is self.doc: + raise DXFValueError("entity from same DXF document") + + if foreign_doc is not None: + if copy: + entity = entity.copy() + else: + # Unbind entity from other document without destruction. + factory.unbind(entity) + + entity.remove_dependencies(self.doc) + # add to this layout & bind to document + self.add_entity(entity) + + def unlink_entity(self, entity: DXFGraphic) -> None: + """Unlink `entity` from layout but does not delete entity from the + entity database, this removes `entity` just from the layout entity space. + """ + self.block_record.unlink_entity(entity) + + def delete_entity(self, entity: DXFGraphic) -> None: + """Delete `entity` from layout entity space and the entity database, + this destroys the `entity`. + """ + self.block_record.delete_entity(entity) + + def delete_all_entities(self) -> None: + """Delete all entities from this layout and from entity database, + this destroys all entities in this layout. + """ + # Create list, because delete modifies the base data structure of + # the iterator: + for entity in list(self): + self.delete_entity(entity) + + def move_to_layout(self, entity: DXFGraphic, layout: BaseLayout) -> None: + """Move entity to another layout. + + Args: + entity: DXF entity to move + layout: any layout (modelspace, paperspace, block) from + **same** drawing + + """ + if entity.doc != layout.doc: + raise DXFStructureError( + "Moving between different DXF drawings is not supported." + ) + try: + self.unlink_entity(entity) + except ValueError: + raise DXFValueError("Layout does not contain entity.") + else: + layout.add_entity(entity) + + def destroy(self) -> None: + """Delete all linked resources. (internal API)""" + # block_records table is owner of block_record has to delete it + # the block_record is the owner of the entities and deletes them all + self.doc.block_records.remove(self.block_record.dxf.name) + + def get_sortents_table(self, create: bool = True) -> SortEntsTable: + """Get/Create the SORTENTSTABLE object associated to the layout. + + Args: + create: new table if table do not exist and `create` is ``True`` + + Raises: + DXFValueError: if table not exist and `create` is ``False`` + + (internal API) + """ + xdict = self.get_extension_dict() + try: + sortents_table = xdict["ACAD_SORTENTS"] + except DXFKeyError: + if create: + sortents_table = self.doc.objects.new_entity( + "SORTENTSTABLE", + dxfattribs={ + "owner": xdict.handle, + "block_record_handle": self.layout_key, + }, + ) + xdict["ACAD_SORTENTS"] = sortents_table + else: + raise DXFValueError( + "Extension dictionary entry ACAD_SORTENTS does not exist." + ) + return sortents_table + + def set_redraw_order(self, handles: Union[dict, Iterable[tuple[str, str]]]) -> None: + """If the header variable $SORTENTS `Regen` flag (bit-code value 16) + is set, AutoCAD regenerates entities in ascending handles order. + + To change redraw order associate a different sort-handle to entities, + this redefines the order in which the entities are regenerated. + The `handles` argument can be a dict of entity_handle and sort_handle + as (k, v) pairs, or an iterable of (entity_handle, sort_handle) tuples. + + The sort-handle doesn't have to be unique, some or all entities can + share the same sort-handle and a sort-handle can be an existing handle. + + The "0" handle can be used, but this sort-handle will be drawn as + latest (on top of all other entities) and not as first as expected. + + Args: + handles: iterable or dict of handle associations; an iterable + of 2-tuples (entity_handle, sort_handle) or a dict (k, v) + association as (entity_handle, sort_handle) + + """ + sortents = self.get_sortents_table() + if isinstance(handles, dict): + handles = handles.items() + sortents.set_handles(handles) + + def get_redraw_order(self) -> Iterable[tuple[str, str]]: + """Returns iterable for all existing table entries as (entity_handle, + sort_handle) pairs, see also :meth:`~BaseLayout.set_redraw_order`. + + """ + if self.block_record.has_extension_dict: + xdict = self.get_extension_dict() + else: + return tuple() + + try: + sortents_table = xdict["ACAD_SORTENTS"] + except DXFKeyError: + return tuple() + return iter(sortents_table) + + def entities_in_redraw_order(self, reverse=False) -> Iterable[DXFGraphic]: + """Yields all entities from layout in ascending redraw order or + descending redraw order if `reverse` is ``True``. + """ + from ezdxf import reorder + + redraw_order = self.get_redraw_order() + if reverse: + return reorder.descending(self.entity_space, redraw_order) # type: ignore + return reorder.ascending(self.entity_space, redraw_order) # type: ignore + + +class VirtualLayout(_AbstractLayout): + """Helper class to disassemble complex entities into basic DXF + entities by rendering into a virtual layout. + + All entities do not have an assigned DXF document and therefore + are not stored in any entity database and can not be added to another + layout by :meth:`add_entity`. + + Deleting entities from this layout does not destroy the entity! + + """ + + def __init__(self): + super().__init__(None) + self.entity_space = EntitySpace() + + @property + def dxfversion(self) -> str: + return LATEST_DXF_VERSION + + def add_entity(self, entity: DXFGraphic) -> None: + self.entity_space.add(entity) + + def new_entity(self, type_: str, dxfattribs: dict) -> DXFGraphic: + entity = factory.new(type_, dxfattribs=dxfattribs) + self.entity_space.add(entity) + return entity # type: ignore + + def unlink_entity(self, entity: DXFGraphic) -> None: + self.entity_space.remove(entity) + + def delete_entity(self, entity: DXFGraphic) -> None: + self.entity_space.remove(entity) + + def delete_all_entities(self) -> None: + self.entity_space.clear() + + def copy_all_to_layout(self, layout: BaseLayout) -> None: + """Copy all entities to a real document layout.""" + doc = layout.doc + entitydb = doc.entitydb + for entity in self.entity_space: + try: + clone = entity.copy() + except DXFTypeError: + continue + clone.doc = doc + entitydb.add(clone) + layout.add_entity(clone) # type: ignore + + def move_all_to_layout(self, layout: BaseLayout) -> None: + """Move all entities to a real document layout.""" + doc = layout.doc + entitydb = doc.entitydb + for entity in self.entity_space: + entity.doc = doc + entitydb.add(entity) + layout.add_entity(entity) # type: ignore + self.delete_all_entities() diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/layouts/blocklayout.py b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/layouts/blocklayout.py new file mode 100644 index 0000000000000000000000000000000000000000..d8e443fc92c8ff8e935cae5ee80f05e2f2a8f7b6 --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/layouts/blocklayout.py @@ -0,0 +1,132 @@ +# Copyright (c) 2019-2021, Manfred Moitzi +# License: MIT License +from typing import Iterable, Optional +from ezdxf.math import Vec3, UVec +from ezdxf.lldxf import const +from .base import BaseLayout +from ezdxf.entities import DXFGraphic, AttDef, Block, EndBlk + + +class BlockLayout(BaseLayout): + """BlockLayout has the same factory-functions as Layout, but is managed + in the :class:`BlocksSection` class. It represents a DXF Block. + + """ + + def __contains__(self, entity) -> bool: + """Returns ``True`` if block contains `entity`. + + Args: + entity: :class:`DXFGraphic` object or handle as hex string + + """ + if isinstance(entity, str): + entity = self.entitydb[entity] + return entity in self.entity_space + + @property + def block(self) -> Optional[Block]: + """the associated :class:`~ezdxf.entities.Block` entity.""" + return self.block_record.block + + @property + def endblk(self) -> Optional[EndBlk]: + """the associated :class:`~ezdxf.entities.EndBlk` entity.""" + return self.block_record.endblk + + @property + def name(self) -> str: + """Get/set the BLOCK name""" + return self.block_record.dxf.name + + @name.setter + def name(self, new_name) -> None: + self.block_record.rename(new_name) + + @property + def dxf(self): + """DXF name space of associated :class:`~ezdxf.entities.BlockRecord` + table entry. + """ + return self.block_record.dxf + + @property + def can_explode(self) -> bool: + """Set property to ``True`` to allow exploding block references of + this block. + """ + return bool(self.block_record.dxf.explode) + + @can_explode.setter + def can_explode(self, value: bool): + self.block_record.dxf.explode = int(value) + + @property + def scale_uniformly(self) -> bool: + """Set property to ``True`` to allow block references of this block + only scale uniformly. + """ + return bool(self.block_record.dxf.scale) + + @scale_uniformly.setter + def scale_uniformly(self, value: bool): + self.block_record.dxf.scale = int(value) + + @property + def base_point(self) -> Vec3: + """Get/Set the base point of the block.""" + return Vec3(self.block.dxf.base_point) # type: ignore + + @base_point.setter + def base_point(self, value: UVec) -> None: + self.block.dxf.base_point = Vec3(value) # type: ignore + + def attdefs(self) -> Iterable[AttDef]: + """Returns iterable of all :class:`~ezdxf.entities.attrib.Attdef` + entities. + """ + return (e for e in self if isinstance(e, AttDef)) + + def has_attdef(self, tag: str) -> bool: + """Returns ``True`` if an :class:`~ezdxf.entities.attrib.Attdef` for + `tag` exist. + """ + return self.get_attdef(tag) is not None + + def get_attdef(self, tag: str) -> Optional[AttDef]: + """Returns attached :class:`~ezdxf.entities.attrib.Attdef` entity by + `tag` name. + """ + for attdef in self.attdefs(): + if tag == attdef.dxf.tag: + return attdef + return None + + def get_attdef_text(self, tag: str, default: str = "") -> str: + """Returns text content for :class:`~ezdxf.entities.attrib.Attdef` + `tag` as string or returns `default` if no :class:`Attdef` for `tag` + exist. + + Args: + tag: name of tag + default: default value if `tag` not exist + + """ + attdef = self.get_attdef(tag) + if attdef is None: + return default + return attdef.dxf.text + + def get_const_attdefs(self) -> Iterable[AttDef]: + """Returns iterable for all constant ATTDEF entities. (internal API)""" + return (attdef for attdef in self.attdefs() if attdef.is_const) + + def has_non_const_attdef(self) -> bool: + """Returns ``True`` if the block has a non constant attribute + definition. + """ + return any(not attdef.is_const for attdef in self.attdefs()) + + def update_block_flags(self): + state = self.has_non_const_attdef() + self.block.set_flag_state(const.BLK_NON_CONSTANT_ATTRIBUTES, state) diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/layouts/layout.py b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/layouts/layout.py new file mode 100644 index 0000000000000000000000000000000000000000..f7a1787fdd61ffe4ebfb1e183530c73fb65306aa --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/layouts/layout.py @@ -0,0 +1,862 @@ +# Copyright (c) 2019-2022, Manfred Moitzi +# License: MIT License +from __future__ import annotations +from typing import ( + TYPE_CHECKING, + Any, + Union, + cast, + Optional, +) +import logging + +from ezdxf.math import Vec2, UVec +from ezdxf.entitydb import EntitySpace +from ezdxf.lldxf import const +from ezdxf.lldxf.validator import make_table_key +from .base import BaseLayout + +if TYPE_CHECKING: + from ezdxf.document import Drawing + from ezdxf.layouts import BlockLayout + from ezdxf.entities import GeoData, Viewport, DXFLayout, DXFGraphic, BlockRecord + +logger = logging.getLogger("ezdxf") + + +def get_block_entity_space(doc: Drawing, block_record_handle: str) -> EntitySpace: + block_record = doc.entitydb[block_record_handle] + return block_record.entity_space # type: ignore + + +class Layout(BaseLayout): + """ + Layout representation - base class for :class:`Modelspace` and + :class:`Paperspace` + + Every layout consist of a LAYOUT entity in the OBJECTS section, an + associated BLOCK in the BLOCKS section and a BLOCK_RECORD_TABLE entry. + + layout_key: handle of the BLOCK_RECORD, every layout entity has this + handle as owner attribute (entity.dxf.owner) + + There are 3 different layout types: + + 1. :class:`Modelspace` + 2. active :class:`Paperspace` layout + 3. inactive :class:`Paperspace` layout + + Internal Structure + + For every layout exist a :class:`BlockLayout` object in + :class:`BlocksSection` and a :class:`Layout` object + (as :class:`Modelspace` or :class:`Paperspace`) in :class:`Layouts`. + + The entity space of the :class:`BlockLayout` object and the entity space + of the :class:`Layout` object are the same object. + + """ + + # plot_layout_flags of LAYOUT entity + PLOT_VIEWPORT_BORDERS = 1 + SHOW_PLOT_STYLES = 2 + PLOT_CENTERED = 4 + PLOT_HIDDEN = 8 + USE_STANDARD_SCALE = 16 + PLOT_PLOTSTYLES = 32 + SCALE_LINEWEIGHTS = 64 + PRINT_LINEWEIGHTS = 128 + DRAW_VIEWPORTS_FIRST = 512 + MODEL_TYPE = 1024 + UPDATE_PAPER = 2048 + ZOOM_TO_PAPER_ON_UPDATE = 4096 + INITIALIZING = 8192 + PREV_PLOT_INIT = 16384 + + def __init__(self, layout: DXFLayout, doc: Drawing): + self.dxf_layout = layout + handle = layout.dxf.get("block_record_handle", "0") + try: + block_record = doc.entitydb[handle] + except KeyError: + block_record = _find_layout_block_record(layout) # type: ignore + if block_record is None: + raise const.DXFStructureError( + f"required BLOCK_RECORD #{handle} for layout '{layout.dxf.name}' " + f"does not exist" + ) + if block_record.dxftype() != "BLOCK_RECORD": + raise const.DXFStructureError( + f"expected BLOCK_RECORD(#{handle}) for layout '{layout.dxf.name}' " + f"has invalid entity type: {block_record.dxftype()}" + ) + # link is maybe broken + block_record.dxf.layout = layout.dxf.handle + super().__init__(block_record) # type: ignore + + @classmethod + def new(cls, name: str, block_name: str, doc: Drawing, dxfattribs=None) -> Layout: + """Returns the required structures for a new layout: + + - a :class:`BlockLayout` with BLOCK_RECORD, BLOCK and ENDBLK entities + - LAYOUT entity in the objects section + + Args: + name: layout name as shown in tabs of CAD applications e.g. 'Layout2' + block_name: layout block name e.g. '*Paper_Space2' + doc: drawing document + dxfattribs: additional DXF attributes for LAYOUT entity + + (internal API) + + """ + block_layout: BlockLayout = doc.blocks.new(block_name) + dxfattribs = dxfattribs or {} + dxfattribs.update( + { + "name": name, + "block_record_handle": block_layout.block_record_handle, + } + ) + dxf_layout = doc.objects.new_entity("LAYOUT", dxfattribs=dxfattribs) + return cls(dxf_layout, doc) # type: ignore + + @classmethod + def load(cls, layout: DXFLayout, doc: Drawing): + """Loading interface. (internal API)""" + _layout = cls(layout, doc) + _layout._repair_owner_tags() + return _layout + + @property + def name(self) -> str: + """Layout name as shown in tabs of :term:`CAD` applications.""" + return self.dxf_layout.dxf.name + + @property # dynamic DXF attribute dispatching, e.g. DXFLayout.dxf.layout_flags + def dxf(self) -> Any: + """Returns the DXF name space attribute of the associated + :class:`~ezdxf.entities.DXFLayout` object. + + This enables direct access to the underlying LAYOUT entity, + e.g. ``Layout.dxf.layout_flags`` + + """ + return self.dxf_layout.dxf + + @property + def block_record_name(self) -> str: + """Returns the name of the associated BLOCK_RECORD as string.""" + return self.block_record.dxf.name + + def _repair_owner_tags(self) -> None: + """Set `owner` and `paperspace` attributes of entities hosted by this + layout to correct values. + """ + layout_key = self.layout_key + paperspace = 0 if self.is_modelspace else 1 + for entity in self: + if entity.dxf.owner != layout_key: + entity.dxf.owner = layout_key + if entity.dxf.paperspace != paperspace: + entity.dxf.paperspace = paperspace + + def __contains__(self, entity: Union[DXFGraphic, str]) -> bool: + """Returns ``True`` if `entity` is stored in this layout. + + Args: + entity: :class:`DXFGraphic` object or handle as hex string + + """ + if isinstance(entity, str): # entity is a handle string + entity = self.entitydb[entity] # type: ignore + return entity.dxf.owner == self.layout_key # type: ignore + + def destroy(self) -> None: + """Delete all entities and the layout itself from entity database and + all linked structures. + + (internal API) + """ + + self.doc.objects.delete_entity(self.dxf_layout) + # super() deletes block_record and associated entity space + super().destroy() + + @property + def plot_layout_flags(self) -> int: + return self.dxf_layout.dxf.plot_layout_flags + + def reset_extents( + self, extmin=(+1e20, +1e20, +1e20), extmax=(-1e20, -1e20, -1e20) + ) -> None: + """Reset `extents`_ to given values or the AutoCAD default values. + + "Drawing extents are the bounds of the area occupied by objects." + (Quote Autodesk Knowledge Network) + + Args: + extmin: minimum extents or (+1e20, +1e20, +1e20) as default value + extmax: maximum extents or (-1e20, -1e20, -1e20) as default value + + """ + dxf = self.dxf_layout.dxf + dxf.extmin = extmin + dxf.extmax = extmax + + def reset_limits(self, limmin=None, limmax=None) -> None: + """Reset `limits`_ to given values or the AutoCAD default values. + + "Sets an invisible rectangular boundary in the drawing area that can + limit the grid display and limit clicking or entering point locations." + (Quote Autodesk Knowledge Network) + + The :class:`Paperspace` class has an additional method + :meth:`~Paperspace.reset_paper_limits` to deduce the default limits from + the paper size settings. + + Args: + limmin: minimum limits or (0, 0) as default + limmax: maximum limits or (paper width, paper height) as default value + + """ + dxf = self.dxf_layout.dxf + if limmin is None: + limmin = (0, 0) + if limmax is None: + limmax = (dxf.paper_width, dxf.paper_height) + + dxf.limmin = limmin + dxf.limmax = limmax + + def set_plot_type(self, value: int = 5) -> None: + """ + === ============================================================ + 0 last screen display + 1 drawing extents + 2 drawing limits + 3 view specific (defined by :attr:`Layout.dxf.plot_view_name`) + 4 window specific (defined by :meth:`Layout.set_plot_window_limits`) + 5 layout information (default) + === ============================================================ + + Args: + value: plot type + + Raises: + DXFValueError: for `value` out of range + + """ + if 0 <= int(value) <= 5: + self.dxf.plot_type = value + else: + raise const.DXFValueError("Plot type value out of range (0-5).") + + def set_plot_style(self, name: str = "ezdxf.ctb", show: bool = False) -> None: + """Set plot style file of type `.ctb`. + + Args: + name: plot style filename + show: show plot style effect in preview? (AutoCAD specific attribute) + + """ + self.dxf_layout.dxf.current_style_sheet = name + self.use_plot_styles(True) + self.show_plot_styles(show) + + def get_plot_style_filename(self) -> str: + return self.dxf_layout.dxf.current_style_sheet + + def set_plot_window( + self, + lower_left: tuple[float, float] = (0, 0), + upper_right: tuple[float, float] = (0, 0), + ) -> None: + """Set plot window size in (scaled) paper space units. + + Args: + lower_left: lower left corner as 2D point + upper_right: upper right corner as 2D point + + """ + x1, y1 = lower_left + x2, y2 = upper_right + dxf = self.dxf_layout.dxf + dxf.plot_window_x1 = x1 + dxf.plot_window_y1 = y1 + dxf.plot_window_x2 = x2 + dxf.plot_window_y2 = y2 + self.set_plot_type(4) + + def get_plot_unit_scale_factor(self) -> float: + denom = self.dxf.scale_denominator + numerator = self.dxf.scale_numerator + scale = 1.0 + if denom: + scale = numerator / denom + if self.dxf.plot_paper_units == 1: + return scale # mm + else: + return scale * 25.4 # inch + + # plot layout flags setter + def plot_viewport_borders(self, state: bool = True) -> None: + self.set_plot_flags(self.PLOT_VIEWPORT_BORDERS, state) + + def show_plot_styles(self, state: bool = True) -> None: + self.set_plot_flags(self.SHOW_PLOT_STYLES, state) + + def plot_centered(self, state: bool = True) -> None: + self.set_plot_flags(self.PLOT_CENTERED, state) + + def plot_hidden(self, state: bool = True) -> None: + self.set_plot_flags(self.PLOT_HIDDEN, state) + + def use_standard_scale(self, state: bool = True) -> None: + self.set_plot_flags(self.USE_STANDARD_SCALE, state) + + def use_plot_styles(self, state: bool = True) -> None: + self.set_plot_flags(self.PLOT_PLOTSTYLES, state) + + def scale_lineweights(self, state: bool = True) -> None: + self.set_plot_flags(self.SCALE_LINEWEIGHTS, state) + + def print_lineweights(self, state: bool = True) -> None: + self.set_plot_flags(self.PRINT_LINEWEIGHTS, state) + + def draw_viewports_first(self, state: bool = True) -> None: + self.set_plot_flags(self.DRAW_VIEWPORTS_FIRST, state) + + def model_type(self, state: bool = True) -> None: + self.set_plot_flags(self.MODEL_TYPE, state) + + def update_paper(self, state: bool = True) -> None: + self.set_plot_flags(self.UPDATE_PAPER, state) + + def zoom_to_paper_on_update(self, state: bool = True) -> None: + self.set_plot_flags(self.ZOOM_TO_PAPER_ON_UPDATE, state) + + def plot_flags_initializing(self, state: bool = True) -> None: + self.set_plot_flags(self.INITIALIZING, state) + + def prev_plot_init(self, state: bool = True) -> None: + self.set_plot_flags(self.PREV_PLOT_INIT, state) + + def set_plot_flags(self, flag, state: bool = True) -> None: + self.dxf_layout.set_flag_state(flag, state=state, name="plot_layout_flags") + + +class Modelspace(Layout): + """:class:`Modelspace` - not deletable, all entities of this layout are + stored in the ENTITIES section of the DXF file, the associated + "*Model_Space" block is empty, block name is fixed as "*Model_Space", + the name is fixed as "Model". + + """ + + @property + def name(self) -> str: + """Name of modelspace is fixed as "Model".""" + return "Model" + + def new_geodata(self, dxfattribs=None) -> GeoData: + """Creates a new :class:`GeoData` entity and replaces existing ones. + The GEODATA entity resides in the OBJECTS section and not in the + modelspace, it is linked to the modelspace by an + :class:`~ezdxf.entities.ExtensionDict` located in BLOCK_RECORD of the + modelspace. + + The GEODATA entity requires DXF R2010. The DXF reference does not + document if other layouts than the modelspace supports geo referencing, + so I assume getting/setting geo data may only make sense for the + modelspace. + + Args: + dxfattribs: DXF attributes for :class:`~ezdxf.entities.GeoData` entity + + """ + if self.doc.dxfversion < const.DXF2010: + raise const.DXFValueError("GEODATA entity requires DXF R2010 or later.") + + if dxfattribs is None: + dxfattribs = {} + xdict = self.get_extension_dict() + geodata = self.doc.objects.add_geodata( + owner=xdict.dictionary.dxf.handle, + dxfattribs=dxfattribs, + ) + xdict["ACAD_GEOGRAPHICDATA"] = geodata + return geodata + + def get_geodata(self) -> Optional[GeoData]: + """Returns the :class:`~ezdxf.entities.GeoData` entity associated to + the modelspace or ``None``. + """ + try: + xdict = self.block_record.get_extension_dict() + except AttributeError: + return None + try: + return xdict["ACAD_GEOGRAPHICDATA"] + except const.DXFKeyError: + return None + + +class Paperspace(Layout): + """There are two kind of paperspace layouts: + + 1. Active Layout - all entities of this layout are stored in the ENTITIES + section, the associated "*Paper_Space" block is empty, block name + "*Paper_Space" is mandatory and also marks the active layout, the layout + name can be an arbitrary string. + + 2. Inactive Layout - all entities of this layouts are stored in the + associated BLOCK called "*Paper_SpaceN", where "N" is an arbitrary + number, I don't know if the block name schema "*Paper_SpaceN" is + mandatory, the layout name can be an arbitrary string. + + There is no different handling for active layouts and inactive layouts in + `ezdxf`, this differentiation is just for AutoCAD important and it is not + documented in the DXF reference. + + """ + + def rename(self, name: str) -> None: + """Rename layout to `name`, changes the name displayed in tabs by + CAD applications, not the internal BLOCK name. (internal API) + + Use method :meth:`~ezdxf.layouts.Layouts.rename` of the + :meth:`~ezdxf.layouts.Layouts` class to rename paper space + layouts. + + """ + self.dxf_layout.dxf.name = name + + def viewports(self) -> list[Viewport]: + """Get all VIEWPORT entities defined in this paperspace layout.""" + return [e for e in self if e.is_alive and e.dxftype() == "VIEWPORT"] # type: ignore + + def main_viewport(self) -> Optional[Viewport]: + """Returns the main viewport of this paper space layout, or ``None`` + if no main viewport exist. + + """ + # Theory: the first VP found is the main VP of the layout, the attributes status + # and id are ignored by BricsCAD and AutoCAD!? + for viewport in self.viewports(): + dxf = viewport.dxf + if dxf.hasattr("status") and dxf.status == 1: + return viewport + if dxf.id == 1: + return viewport + return None + + def add_viewport( + self, + center: UVec, + size: tuple[float, float], + view_center_point: UVec, + view_height: float, + status: int = 2, + dxfattribs=None, + ) -> Viewport: + """Add a new :class:`~ezdxf.entities.Viewport` entity. + + Viewport :attr:`status`: + + - -1 is on, but is fully off-screen, or is one of the viewports that is not + active because the $MAXACTVP count is currently being exceeded. + - 0 is off + - any value>0 is on and active. The value indicates the order of + stacking for the viewports, where 1 is the "active viewport", 2 is the + next, ... + + """ + dxfattribs = dxfattribs or {} + width, height = size + attribs = { + "center": center, # center in paperspace + "width": width, # width in paperspace + "height": height, # height in paperspace + "status": status, + "layer": "VIEWPORTS", + # use separated layer to turn off for plotting + "view_center_point": view_center_point, # in modelspace + "view_height": view_height, # in modelspace + } + attribs.update(dxfattribs) + viewport = cast("Viewport", self.new_entity("VIEWPORT", attribs)) + viewport.dxf.id = self.get_next_viewport_id() + return viewport + + def get_next_viewport_id(self): + viewports = self.viewports() + if viewports: + return max(vp.dxf.id for vp in viewports) + 1 + return 2 + + def reset_viewports(self) -> None: + """Delete all existing viewports, and create a new main viewport.""" + # remove existing viewports + for viewport in self.viewports(): + self.delete_entity(viewport) + self.add_new_main_viewport() + + def reset_main_viewport(self, center: UVec = None, size: UVec = None) -> Viewport: + """Reset the main viewport of this paper space layout to the given + values, or reset them to the default values, deduced from the paper + settings. Creates a new main viewport if none exist. + + Ezdxf does not create a main viewport by default, because CAD + applications don't require one. + + Args: + center: center of the viewport in paper space units + size: viewport size as (width, height) tuple in paper space units + + """ + viewport = self.main_viewport() + if viewport is None: + viewport = self.add_new_main_viewport() + default_center, default_size = self.default_viewport_config() + if center is None: + center = default_center + if size is None: + size = default_size + + viewport.dxf.center = center + width, height = size + viewport.dxf.width = width + viewport.dxf.height = height + return viewport + + def default_viewport_config( + self, + ) -> tuple[tuple[float, float], tuple[float, float]]: + dxf = self.dxf_layout.dxf + if dxf.plot_paper_units == 0: # inches + unit_factor = 25.4 + else: # mm + unit_factor = 1.0 + + # all paper parameters in mm! + # all viewport parameters in paper space units inch/mm + scale factor! + scale_factor = dxf.scale_denominator / dxf.scale_numerator + + def paper_units(value): + return value / unit_factor * scale_factor + + paper_width = paper_units(dxf.paper_width) + paper_height = paper_units(dxf.paper_height) + # plot origin offset + x_offset = paper_units(dxf.plot_origin_x_offset) + y_offset = paper_units(dxf.plot_origin_y_offset) + + # printing area + printable_width = ( + paper_width - paper_units(dxf.left_margin) - paper_units(dxf.right_margin) + ) + printable_height = ( + paper_height - paper_units(dxf.bottom_margin) - paper_units(dxf.top_margin) + ) + + # AutoCAD viewport (window) size + vp_width = paper_width * 1.1 + vp_height = paper_height * 1.1 + + # center of printing area + center = ( + printable_width / 2 - x_offset, + printable_height / 2 - y_offset, + ) + return center, (vp_width, vp_height) + + def add_new_main_viewport(self) -> Viewport: + """Add a new main viewport.""" + center, size = self.default_viewport_config() + vp_height = size[1] + # create 'main' viewport + main_viewport = self.add_viewport( + center=center, # no influence to 'main' viewport? + size=size, # I don't get it, just use paper size! + view_center_point=center, # same as center + view_height=vp_height, # view height in paper space units + status=1, # main viewport + ) + if len(self.entity_space) > 1: + # move main viewport to index 0 of entity space + _vp = self.entity_space.pop() + assert _vp is main_viewport + self.entity_space.insert(0, main_viewport) + + main_viewport.dxf.id = 1 # set as main viewport + main_viewport.dxf.flags = 557088 # AutoCAD default value + self.set_current_viewport_handle(main_viewport.dxf.handle) + return main_viewport + + def set_current_viewport_handle(self, handle: str) -> None: + self.dxf_layout.dxf.viewport_handle = handle + + def page_setup( + self, + size: tuple[float, float] = (297, 210), + margins: tuple[float, float, float, float] = (0, 0, 0, 0), + units: str = "mm", + offset: tuple[float, float] = (0, 0), + rotation: int = 0, + scale: Union[int, tuple[float, float]] = 16, + name: str = "ezdxf", + device: str = "DWG to PDF.pc3", + ) -> None: + """Setup plot settings and paper size and reset viewports. + All parameters in given `units` (mm or inch). + + Reset paper limits, extents and viewports. + + Args: + size: paper size as (width, height) tuple + margins: (top, right, bottom, left) hint: clockwise + units: "mm" or "inch" + offset: plot origin offset is 2D point + rotation: see table Rotation + scale: integer in range [0, 32] defines a standard scale type or + as tuple(numerator, denominator) e.g. (1, 50) for scale 1:50 + name: paper name prefix "{name}_({width}_x_{height}_{unit})" + device: device .pc3 configuration file or system printer name + + === ============ + int Rotation + === ============ + 0 no rotation + 1 90 degrees counter-clockwise + 2 upside-down + 3 90 degrees clockwise + === ============ + + """ + if int(rotation) not in (0, 1, 2, 3): + raise const.DXFValueError("valid rotation values: 0-3") + + if isinstance(scale, tuple): + standard_scale = 16 + scale_num, scale_denom = scale + elif isinstance(scale, int): + standard_scale = scale + scale_num, scale_denom = const.STD_SCALES.get(standard_scale, (1.0, 1.0)) + else: + raise const.DXFTypeError( + "Scale has to be an int or a tuple(numerator, denominator)" + ) + if scale_num == 0: + raise const.DXFValueError("Scale numerator can't be 0.") + if scale_denom == 0: + raise const.DXFValueError("Scale denominator can't be 0.") + paper_width, paper_height = size + margin_top, margin_right, margin_bottom, margin_left = margins + units = units.lower() + if units.startswith("inch"): + units = "Inches" + plot_paper_units = 0 + unit_factor = 25.4 # inch to mm + elif units == "mm": + units = "MM" + plot_paper_units = 1 + unit_factor = 1.0 + else: + raise const.DXFValueError('Supported units: "mm" and "inch"') + + # Setup PLOTSETTINGS + # all paper sizes in mm + dxf = self.dxf_layout.dxf + if not dxf.hasattr("plot_layout_flags"): + dxf.plot_layout_flags = dxf.get_default("plot_layout_flags") + self.use_standard_scale(False) # works best, don't know why + dxf.page_setup_name = "" + dxf.plot_configuration_file = device + dxf.paper_size = f"{name}_({paper_width:.2f}_x_{paper_height:.2f}_{units})" + dxf.left_margin = margin_left * unit_factor + dxf.bottom_margin = margin_bottom * unit_factor + dxf.right_margin = margin_right * unit_factor + dxf.top_margin = margin_top * unit_factor + dxf.paper_width = paper_width * unit_factor + dxf.paper_height = paper_height * unit_factor + dxf.scale_numerator = scale_num + dxf.scale_denominator = scale_denom + dxf.plot_paper_units = plot_paper_units + dxf.plot_rotation = rotation + + x_offset, y_offset = offset + dxf.plot_origin_x_offset = x_offset * unit_factor # conversion to mm + dxf.plot_origin_y_offset = y_offset * unit_factor # conversion to mm + dxf.standard_scale_type = standard_scale + dxf.unit_factor = 1.0 / unit_factor # 1/1 for mm; 1/25.4 ... for inch + + # Setup Layout + self.reset_paper_limits() + self.reset_extents() + self.reset_viewports() + + def reset_paper_limits(self) -> None: + """Set paper limits to default values, all values in paperspace units + but without plot scale (?). + + """ + dxf = self.dxf_layout.dxf + if dxf.plot_paper_units == 0: # inch + unit_factor = 25.4 + else: # mm + unit_factor = 1.0 + + # all paper sizes are stored in mm + paper_width = dxf.paper_width / unit_factor # in plot paper units + paper_height = dxf.paper_height / unit_factor # in plot paper units + left_margin = dxf.left_margin / unit_factor + bottom_margin = dxf.bottom_margin / unit_factor + x_offset = dxf.plot_origin_x_offset / unit_factor + y_offset = dxf.plot_origin_y_offset / unit_factor + # plot origin is the lower left corner of the printable paper area + # limits are the paper borders relative to the plot origin + shift_x = left_margin + x_offset + shift_y = bottom_margin + y_offset + dxf.limmin = (-shift_x, -shift_y) # paper space units + dxf.limmax = (paper_width - shift_x, paper_height - shift_y) + + def get_paper_limits(self) -> tuple[Vec2, Vec2]: + """Returns paper limits in plot paper units, relative to the plot origin. + + plot origin = lower left corner of printable area + plot origin offset + + Returns: + tuple (Vec2(x1, y1), Vec2(x2, y2)), lower left corner is (x1, y1), + upper right corner is (x2, y2). + + """ + return Vec2(self.dxf.limmin), Vec2(self.dxf.limmax) + + def page_setup_r12( + self, + size: tuple[float, float] = (297, 210), + margins: tuple[float, float, float, float] = (0, 0, 0, 0), + units: str = "mm", + offset: tuple[float, float] = (0, 0), + rotation: float = 0, + scale: Union[int, tuple[float, float]] = 16, + ) -> None: + # remove existing viewports + for viewport in self.viewports(): + self.delete_entity(viewport) + + if int(rotation) not in (0, 1, 2, 3): + raise const.DXFValueError("Valid rotation values: 0-3") + + if isinstance(scale, int): + scale_num, scale_denom = const.STD_SCALES.get(scale, (1, 1)) + else: + scale_num, scale_denom = scale + + if scale_num == 0: + raise const.DXFValueError("Scale numerator can't be 0.") + if scale_denom == 0: + raise const.DXFValueError("Scale denominator can't be 0.") + + scale_factor = scale_denom / scale_num + + # TODO: don't know how to set inch or mm mode in R12 + units = units.lower() + if units.startswith("inch"): + units = "Inches" + plot_paper_units = 0 + unit_factor = 25.4 # inch to mm + elif units == "mm": + units = "MM" + plot_paper_units = 1 + unit_factor = 1.0 + else: + raise const.DXFValueError('Supported units: "mm" and "inch"') + + # all viewport parameters are scaled paper space units + def paper_units(value): + return value * scale_factor + + margin_top = paper_units(margins[0]) + margin_right = paper_units(margins[1]) + margin_bottom = paper_units(margins[2]) + margin_left = paper_units(margins[3]) + paper_width = paper_units(size[0]) + paper_height = paper_units(size[1]) + self.doc.header["$PLIMMIN"] = (0, 0) + self.doc.header["$PLIMMAX"] = (paper_width, paper_height) + self.doc.header["$PEXTMIN"] = (0, 0, 0) + self.doc.header["$PEXTMAX"] = (paper_width, paper_height, 0) + + # printing area + printable_width = paper_width - margin_left - margin_right + printable_height = paper_height - margin_bottom - margin_top + + # AutoCAD viewport (window) size + vp_width = paper_width * 1.1 + vp_height = paper_height * 1.1 + + # center of printing area + center = (printable_width / 2, printable_height / 2) + + # create 'main' viewport + main_viewport = self.add_viewport( + center=center, # no influence to 'main' viewport? + size=(vp_width, vp_height), # I don't get it, just use paper size! + view_center_point=center, # same as center + view_height=vp_height, # view height in paper space units + status=1, # main viewport + ) + main_viewport.dxf.id = 1 # set as main viewport + main_viewport.dxf.render_mode = 1000 # AutoDesk default (view mode?) + + def get_paper_limits_r12(self) -> tuple[Vec2, Vec2]: + """Returns paper limits in plot paper units.""" + limmin = self.doc.header.get("$PLIMMIN", (0, 0)) + limmax = self.doc.header.get("$PLIMMAX", (0, 0)) + return Vec2(limmin), Vec2(limmax) + + +def _find_layout_block_record(layout: DXFLayout) -> BlockRecord | None: + """Find and link the lost BLOCK_RECORD for the given LAYOUT entity.""" + + def link_layout(block_record: BlockRecord) -> None: + logger.info( + f"fixing broken links for '{layout.dxf.name}' between {str(layout)} and {str(block_record)}" + ) + layout.dxf.block_record_handle = block_record.dxf.handle + block_record.dxf.layout = layout.dxf.handle + + doc = layout.doc + assert doc is not None + if layout.dxf.name == "Model": # modelspace layout + key = make_table_key("*Model_Space") + for block_record in doc.tables.block_records: + if make_table_key(block_record.dxf.name) == key: + link_layout(block_record) + return block_record + return None + + # paperspace layout + search_key = make_table_key("*Paper_Space") + paper_space_records = [ + block_record + for block_record in doc.tables.block_records + if make_table_key(block_record.dxf.name).startswith(search_key) + ] + + def search(key): + for block_record in paper_space_records: + layout_handle = block_record.dxf.get("layout", "0") + if doc.entitydb.get(layout_handle) is key: + link_layout(block_record) + return block_record + return None + + # first search all records for the lost record + block_record = search(layout) + if block_record is None: + # link layout to the next orphaned record + block_record = search(None) + return block_record diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/layouts/layouts.py b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/layouts/layouts.py new file mode 100644 index 0000000000000000000000000000000000000000..d86cd76bb9d6cfe78824f4ec6cf83ef96c28d878 --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/layouts/layouts.py @@ -0,0 +1,381 @@ +# Copyright (c) 2011-2024, Manfred Moitzi +# License: MIT License +from __future__ import annotations +from typing import TYPE_CHECKING, Iterator, cast, Optional +import logging +from ezdxf.lldxf.const import DXFKeyError, DXFValueError, DXFStructureError +from ezdxf.lldxf.const import ( + MODEL_SPACE_R2000, + PAPER_SPACE_R2000, + TMP_PAPER_SPACE_NAME, +) +from ezdxf.lldxf.validator import is_valid_table_name +from .layout import Layout, Modelspace, Paperspace +from ezdxf.entities import DXFEntity, BlockRecord + +if TYPE_CHECKING: + from ezdxf.audit import Auditor + from ezdxf.document import Drawing + from ezdxf.entities import Dictionary, DXFLayout + +logger = logging.getLogger("ezdxf") + + +def key(name: str) -> str: + """AutoCAD uses case-insensitive layout names, but stores the name case-sensitive.""" + return name.upper() + + +MODEL = key("Model") + + +class Layouts: + def __init__(self, doc: Drawing): + """Default constructor. (internal API)""" + self.doc = doc + # Store layout names in normalized form: key(name) + self._layouts: dict[str, Layout] = {} + # key: layout name as original case-sensitive string; value: DXFLayout() + self._dxf_layouts: Dictionary = cast( + "Dictionary", self.doc.rootdict["ACAD_LAYOUT"] + ) + + @classmethod + def setup(cls, doc: Drawing): + """Constructor from scratch. (internal API)""" + layouts = Layouts(doc) + layouts.setup_modelspace() + layouts.setup_paperspace() + return layouts + + def __len__(self) -> int: + """Returns count of existing layouts, including the modelspace + layout.""" + return len(self._layouts) + + def __contains__(self, name: str) -> bool: + """Returns ``True`` if layout `name` exist.""" + assert isinstance(name, str), type(str) + return key(name) in self._layouts + + def __iter__(self) -> Iterator[Layout]: + """Returns iterable of all layouts as :class:`~ezdxf.layouts.Layout` + objects, including the modelspace layout. + """ + return iter(self._layouts.values()) + + def _add_layout(self, name: str, layout: Layout): + dxf_layout = layout.dxf_layout + dxf_layout.dxf.name = name + dxf_layout.dxf.owner = self._dxf_layouts.dxf.handle + self._layouts[key(name)] = layout + self._dxf_layouts[name] = dxf_layout + + def _discard(self, layout: Layout): + name = layout.name + self._dxf_layouts.discard(name) + del self._layouts[key(name)] + + def append_layout(self, layout: Layout) -> None: + """Append an existing (copied) paperspace layout as last layout tab.""" + index = 1 + base_layout_name = layout.dxf.name + layout_name = base_layout_name + while layout_name in self: + index += 1 + layout_name = base_layout_name + f" ({index})" + layout.dxf.taborder = len(self._layouts) + 1 + self._add_layout(layout_name, layout) + + def setup_modelspace(self): + """Modelspace setup. (internal API)""" + self._new_special( + Modelspace, "Model", MODEL_SPACE_R2000, dxfattribs={"taborder": 0} + ) + + def setup_paperspace(self): + """First layout setup. (internal API)""" + self._new_special( + Paperspace, "Layout1", PAPER_SPACE_R2000, dxfattribs={"taborder": 1} + ) + + def _new_special(self, cls, name: str, block_name: str, dxfattribs: dict) -> Layout: + if name in self._layouts: + raise DXFValueError(f'Layout "{name}" already exists') + dxfattribs["owner"] = self._dxf_layouts.dxf.handle + layout = cls.new(name, block_name, self.doc, dxfattribs=dxfattribs) + self._add_layout(name, layout) + return layout + + def unique_paperspace_name(self) -> str: + """Returns a unique paperspace name. (internal API)""" + blocks = self.doc.blocks + count = 0 + while "*Paper_Space%d" % count in blocks: + count += 1 + return "*Paper_Space%d" % count + + def new(self, name: str, dxfattribs=None) -> Paperspace: + """Returns a new :class:`~ezdxf.layouts.Paperspace` layout. + + Args: + name: layout name as shown in tabs in :term:`CAD` applications + dxfattribs: additional DXF attributes for the + :class:`~ezdxf.entities.layout.DXFLayout` entity + + Raises: + DXFValueError: Invalid characters in layout name. + DXFValueError: Layout `name` already exist. + + """ + assert isinstance(name, str), type(str) + if not is_valid_table_name(name): + raise DXFValueError("Layout name contains invalid characters.") + + if name in self: + raise DXFValueError(f'Layout "{name}" already exist.') + + dxfattribs = dict(dxfattribs or {}) # copy attribs + dxfattribs["owner"] = self._dxf_layouts.dxf.handle + dxfattribs.setdefault("taborder", len(self._layouts) + 1) + block_name = self.unique_paperspace_name() + layout = Paperspace.new(name, block_name, self.doc, dxfattribs=dxfattribs) + # Default extents are ok! + # Reset limits to (0, 0) and (paper width, paper height) + layout.reset_limits() + self._add_layout(name, layout) + return layout # type: ignore + + @classmethod + def load(cls, doc: "Drawing") -> "Layouts": + """Constructor if loading from file. (internal API)""" + layouts = cls(doc) + layouts.setup_from_rootdict() + + # DXF R12: block/block_record for *Model_Space and *Paper_Space + # already exist: + if len(layouts) < 2: # restore missing DXF Layouts + layouts.restore("Model", MODEL_SPACE_R2000, taborder=0) + layouts.restore("Layout1", PAPER_SPACE_R2000, taborder=1) + return layouts + + def restore(self, name: str, block_record_name: str, taborder: int) -> None: + """Restore layout from block if DXFLayout does not exist. + (internal API)""" + if name in self: + return + block_layout = self.doc.blocks.get(block_record_name) + self._new_from_block_layout(name, block_layout, taborder) + + def _new_from_block_layout(self, name, block_layout, taborder: int) -> "Layout": + dxfattribs = { + "owner": self._dxf_layouts.dxf.handle, + "name": name, + "block_record_handle": block_layout.block_record_handle, + "taborder": taborder, + } + dxf_layout = cast( + "DXFLayout", + self.doc.objects.new_entity("LAYOUT", dxfattribs=dxfattribs), + ) + if key(name) == MODEL: + layout = Modelspace.load(dxf_layout, self.doc) + else: + layout = Paperspace.load(dxf_layout, self.doc) + self._add_layout(name, layout) + return layout + + def setup_from_rootdict(self) -> None: + """Setup layout manager from root dictionary. (internal API)""" + layout: Layout + for name, dxf_layout in self._dxf_layouts.items(): + if isinstance(dxf_layout, str): + logger.debug(f"ignore missing LAYOUT(#{dxf_layout}) entity '{name}'") + continue + if key(name) == MODEL: + layout = Modelspace(dxf_layout, self.doc) + else: + layout = Paperspace(dxf_layout, self.doc) + # assert name == layout.dxf.name + self._layouts[key(name)] = layout + + def modelspace(self) -> Modelspace: + """Returns the :class:`~ezdxf.layouts.Modelspace` layout.""" + return cast(Modelspace, self.get("Model")) + + def names(self) -> list[str]: + """Returns a list of all layout names, all names in original case-sensitive form.""" + return [layout.name for layout in self._layouts.values()] + + def get(self, name: Optional[str]) -> Layout: + """Returns :class:`~ezdxf.layouts.Layout` by `name`, case-insensitive + "Model" == "MODEL". + + Args: + name: layout name as shown in tab, e.g. ``'Model'`` for modelspace + + """ + name = name or self.names_in_taborder()[1] # first paperspace layout + return self._layouts[key(name)] + + def rename(self, old_name: str, new_name: str) -> None: + """Rename a layout from `old_name` to `new_name`. + Can not rename layout ``'Model'`` and the new name of a layout must + not exist. + + Args: + old_name: actual layout name, case-insensitive + new_name: new layout name, case-insensitive + + Raises: + DXFValueError: try to rename ``'Model'`` + DXFValueError: Layout `new_name` already exist. + + """ + assert isinstance(old_name, str), type(old_name) + assert isinstance(new_name, str), type(new_name) + if key(old_name) == MODEL: + raise DXFValueError("Can not rename model space.") + if new_name in self: + raise DXFValueError(f'Layout "{new_name}" already exist.') + if old_name not in self: + raise DXFValueError(f'Layout "{old_name}" does not exist.') + + layout = self.get(old_name) + self._discard(layout) + self._add_layout(new_name, layout) + + def names_in_taborder(self) -> list[str]: + """Returns all layout names in tab order as shown in :term:`CAD` + applications.""" + names = [ + (layout.dxf.taborder, layout.name) for layout in self._layouts.values() + ] + return [name for order, name in sorted(names)] + + def get_layout_for_entity(self, entity: DXFEntity) -> Layout: + """Returns the owner layout for a DXF `entity`.""" + owner = entity.dxf.owner + if owner is None: + raise DXFKeyError("No associated layout, owner is None.") + return self.get_layout_by_key(entity.dxf.owner) + + def get_layout_by_key(self, layout_key: str) -> Layout: + """Returns a layout by its `layout_key`. (internal API)""" + assert isinstance(layout_key, str), type(layout_key) + error_msg = f'Layout with key "{layout_key}" does not exist.' + try: + block_record = self.doc.entitydb[layout_key] + except KeyError: + raise DXFKeyError(error_msg) + if not isinstance(block_record, BlockRecord): + # VERTEX, ATTRIB, SEQEND are owned by the parent entity + raise DXFKeyError(error_msg) + try: + dxf_layout = self.doc.entitydb[block_record.dxf.layout] + except KeyError: + raise DXFKeyError(error_msg) + return self.get(dxf_layout.dxf.name) + + def get_active_layout_key(self): + """Returns layout kay for the active paperspace layout. + (internal API)""" + active_layout_block_record = self.doc.block_records.get(PAPER_SPACE_R2000) + return active_layout_block_record.dxf.handle + + def set_active_layout(self, name: str) -> None: + """Set layout `name` as active paperspace layout.""" + assert isinstance(name, str), type(name) + if key(name) == MODEL: # reserved layout name + raise DXFValueError("Can not set model space as active layout") + # raises KeyError if layout 'name' does not exist + new_active_layout = self.get(name) + old_active_layout_key = self.get_active_layout_key() + if old_active_layout_key == new_active_layout.layout_key: + return # layout 'name' is already the active layout + + blocks = self.doc.blocks + new_active_paper_space_name = new_active_layout.block_record_name + + blocks.rename_block(PAPER_SPACE_R2000, TMP_PAPER_SPACE_NAME) + blocks.rename_block(new_active_paper_space_name, PAPER_SPACE_R2000) + blocks.rename_block(TMP_PAPER_SPACE_NAME, new_active_paper_space_name) + + def delete(self, name: str) -> None: + """Delete layout `name` and destroy all entities in that layout. + + Args: + name (str): layout name as shown in tabs + + Raises: + DXFKeyError: if layout `name` do not exist + DXFValueError: deleting modelspace layout is not possible + DXFValueError: deleting last paperspace layout is not possible + + """ + assert isinstance(name, str), type(name) + if key(name) == MODEL: + raise DXFValueError("Can not delete modelspace layout.") + + layout = self.get(name) + if len(self) < 3: + raise DXFValueError("Can not delete last paperspace layout.") + if layout.layout_key == self.get_active_layout_key(): + # Layout `name` is the active layout: + for layout_name in self._layouts: + # Set any other paperspace layout as active layout + if layout_name not in (key(name), MODEL): + self.set_active_layout(layout_name) + break + self._discard(layout) + layout.destroy() + + def active_layout(self) -> Paperspace: + """Returns the active paperspace layout.""" + for layout in self: + if layout.is_active_paperspace: + return cast(Paperspace, layout) + raise DXFStructureError("No active paperspace layout found.") + + def audit(self, auditor: Auditor): + from ezdxf.audit import AuditError + + doc = auditor.doc + + # Find/remove orphaned LAYOUT objects: + layouts = (o for o in doc.objects if o.dxftype() == "LAYOUT") + for layout in layouts: + name = layout.dxf.get("name") + if name not in self: + auditor.fixed_error( + code=AuditError.ORPHANED_LAYOUT_ENTITY, + message=f'Removed orphaned {str(layout)} "{name}"', + ) + doc.objects.delete_entity(layout) + + # Find/remove orphaned paperspace BLOCK_RECORDS named: *Paper_Space... + psp_br_handles = { + br.dxf.handle + for br in doc.block_records + if br.dxf.name.lower().startswith("*paper_space") + } + psp_layout_br_handles = { + layout.dxf.block_record_handle + for layout in self._layouts.values() + if key(layout.name) != MODEL + } + mismatch = psp_br_handles.difference(psp_layout_br_handles) + if len(mismatch): + for handle in mismatch: + br = doc.entitydb.get(handle) + name = br.dxf.get("name") # type: ignore + auditor.fixed_error( + code=AuditError.ORPHANED_PAPER_SPACE_BLOCK_RECORD_ENTITY, + message=f'Removed orphaned layout {str(br)} "{name}"', + ) + if name in doc.blocks: + doc.blocks.delete_block(name, safe=False) + else: + doc.block_records.remove(name) + # Does not check the LAYOUT content this is done in the BlockSection, + # because the content of layouts is stored as blocks. diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/lldxf/__init__.py b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/lldxf/__init__.py new file mode 100644 index 0000000000000000000000000000000000000000..52171b209fd07a42b1805a30adb89f5572e6b42d --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/lldxf/__init__.py @@ -0,0 +1,3 @@ +# Low Level DXF modules +# Copyright (c) 2011-2022, Manfred Moitzi +# License: MIT License diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/lldxf/attributes.py b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/lldxf/attributes.py new file mode 100644 index 0000000000000000000000000000000000000000..d0edabbbb27286dae0704bf0c2f22dd31ff38eac --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/lldxf/attributes.py @@ -0,0 +1,255 @@ +# Copyright (c) 2011-2023, Manfred Moitzi +# License: MIT License +from __future__ import annotations +from typing import ( + Optional, + TYPE_CHECKING, + Iterable, + Iterator, + Callable, + Any, + Union, + NewType, + cast, + NamedTuple, + Mapping, +) +from enum import Enum +from .const import DXFAttributeError, DXF12 +import copy + +if TYPE_CHECKING: + from ezdxf.entities import DXFEntity + + +class DefSubclass(NamedTuple): + name: Optional[str] + attribs: dict[str, DXFAttr] + + +VIRTUAL_TAG = -666 + + +class XType(Enum): + """Extended Attribute Types""" + + point2d = 1 # 2D points only + point3d = 2 # 3D points only + any_point = 3 # 2D or 3D points + callback = 4 # callback attribute + + +def group_code_mapping( + subclass: DefSubclass, *, ignore: Optional[Iterable[int]] = None +) -> dict[int, Union[str, list[str]]]: + # Unique group codes are stored as group_code : name + # Duplicate group codes are stored as group_code : [name1, name2, ...] + # The order of appearance is important, therefore also callback attributes + # have to be included, but they should not be loaded into the DXF namespace. + mapping: dict[int, Union[str, list[str]]] = dict() + for name, dxfattrib in subclass.attribs.items(): + if dxfattrib.xtype == XType.callback: + # Mark callback attributes for special treatment as invalid + # Python name: + name = "*" + name + code = dxfattrib.code + existing_data: Union[None, str, list[str]] = mapping.get(code) + if existing_data is None: + mapping[code] = name + else: + if isinstance(existing_data, str): + existing_data = [existing_data] + mapping[code] = existing_data + assert isinstance(existing_data, list) + existing_data.append(name) + + if ignore: + # Mark these tags as "*IGNORE" to be ignored, + # but they are not real callbacks! See POLYLINE for example! + for code in ignore: + mapping[code] = "*IGNORE" + return mapping + + +def merge_group_code_mappings(*mappings: Mapping) -> dict[int, str]: + merge_group_code_mapping: dict[int, str] = {} + for index, mapping in enumerate(mappings): + msg = f"{index}. mapping contains none unique group codes" + if not all(isinstance(e, str) for e in mapping.values()): + raise TypeError(msg) + if any(k in merge_group_code_mapping for k in mapping.keys()): + raise TypeError(msg) + merge_group_code_mapping.update(mapping) + return merge_group_code_mapping + + +# Unique object as marker +ReturnDefault = NewType("ReturnDefault", object) +RETURN_DEFAULT = cast(ReturnDefault, object()) + + +class DXFAttr: + """Represents a DXF attribute for an DXF entity, accessible by the + DXF namespace :attr:`DXFEntity.dxf` like ``entity.dxf.color = 7``. + This definitions are immutable by design not by implementation. + + Extended Attribute Types + ------------------------ + + - XType.point2d: 2D points only + - XType.point3d: 3D point only + - XType.any_point: mixed 2D/3D point + - XType.callback: Calls get_value(entity) to get the value of DXF + attribute 'name', and calls set_value(entity, value) to set value + of DXF attribute 'name'. + + See example definition: ezdxf.entities.dxfgfx.acdb_entity. + + """ + + def __init__( + self, + code: int, + xtype: Optional[XType] = None, + default=None, + optional: bool = False, + dxfversion: str = DXF12, + getter: str = "", + setter: str = "", + alias: str = "", + validator: Optional[Callable[[Any], bool]] = None, + fixer: Optional[Union[Callable[[Any], Any], None, ReturnDefault]] = None, + ): + + # Attribute name set by DXFAttributes.__init__() + self.name: str = "" + + # DXF group code + self.code: int = code + + # Extended attribute type: + self.xtype: Optional[XType] = xtype + + # DXF default value + self.default: Any = default + + # If optional is True, this attribute will be exported to DXF files + # only if the given value differs from default value. + self.optional: bool = optional + + # This attribute is valid for all DXF versions starting from the + # specified DXF version, default is DXF12 = 'AC1009' + self.dxfversion: str = dxfversion + + # DXF entity getter method name for callback attributes + self.getter: str = getter + + # DXF entity setter method name for callback attributes + self.setter: str = setter + + # Alternative name for this attribute + self.alias: str = alias + + # Returns True if given value is valid - the validator should be as + # fast as possible! + self.validator: Optional[Callable[[Any], bool]] = validator + + # Returns a fixed value for invalid attributes, the fixer is called + # only if the validator returns False. + if fixer is RETURN_DEFAULT: + fixer = self._return_default + # excluding ReturnDefault type + self.fixer = cast(Optional[Callable[[Any], Any]], fixer) + + def _return_default(self, x: Any) -> Any: + return self.default + + def __str__(self) -> str: + return f"({self.name}, {self.code})" + + def __repr__(self) -> str: + return "DXFAttr" + self.__str__() + + def get_callback_value(self, entity: DXFEntity) -> Any: + """ + Executes a callback function in 'entity' to get a DXF value. + + Callback function is defined by self.getter as string. + + Args: + entity: DXF entity + + Raises: + AttributeError: getter method does not exist + TypeError: getter is None + + Returns: + DXF attribute value + + """ + try: + return getattr(entity, self.getter)() + except AttributeError: + raise DXFAttributeError( + f"DXF attribute {self.name}: invalid getter {self.getter}." + ) + except TypeError: + raise DXFAttributeError(f"DXF attribute {self.name} has no getter.") + + def set_callback_value(self, entity: DXFEntity, value: Any) -> None: + """Executes a callback function in 'entity' to set a DXF value. + + Callback function is defined by self.setter as string. + + Args: + entity: DXF entity + value: DXF attribute value + + Raises: + AttributeError: setter method does not exist + TypeError: setter is None + + """ + try: + getattr(entity, self.setter)(value) + except AttributeError: + raise DXFAttributeError( + f"DXF attribute {self.name}: invalid setter {self.setter}." + ) + except TypeError: + raise DXFAttributeError(f"DXF attribute {self.name} has no setter.") + + def is_valid_value(self, value: Any) -> bool: + if self.validator: + return self.validator(value) + else: + return True + + +class DXFAttributes: + __slots__ = ("_attribs",) + + def __init__(self, *subclassdefs: DefSubclass): + self._attribs: dict[str, DXFAttr] = dict() + for subclass in subclassdefs: + for name, dxfattrib in subclass.attribs.items(): + dxfattrib.name = name + self._attribs[name] = dxfattrib + if dxfattrib.alias: + alias = copy.copy(dxfattrib) + alias.name = dxfattrib.alias + alias.alias = dxfattrib.name + self._attribs[dxfattrib.alias] = alias + + def __contains__(self, name: str) -> bool: + return name in self._attribs + + def get(self, key: str) -> Optional[DXFAttr]: + return self._attribs.get(key) + + def build_group_code_items(self, func=lambda x: True) -> Iterator[tuple[int, str]]: + return ( + (attrib.code, name) + for name, attrib in self._attribs.items() + if attrib.code > 0 and func(name) + ) diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/lldxf/const.py b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/lldxf/const.py new file mode 100644 index 0000000000000000000000000000000000000000..bd7ba1e731bd921ed3d59173c7955e6057af9505 --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/lldxf/const.py @@ -0,0 +1,706 @@ +# Copyright (c) 2011-2022, Manfred Moitzi +# License: MIT License +from __future__ import annotations +from dataclasses import dataclass + +DXF9 = "AC1004" +DXF10 = "AC1006" +DXF12 = "AC1009" +DXF13 = "AC1012" +DXF14 = "AC1014" +DXF2000 = "AC1015" +DXF2004 = "AC1018" +DXF2007 = "AC1021" +DXF2010 = "AC1024" +DXF2013 = "AC1027" +DXF2018 = "AC1032" + +acad_release = { + DXF9: "R9", + DXF10: "R10", + DXF12: "R12", + DXF13: "R13", + DXF14: "R14", + DXF2000: "R2000", + DXF2004: "R2004", + DXF2007: "R2007", + DXF2010: "R2010", + DXF2013: "R2013", + DXF2018: "R2018", +} + +acad_maint_ver = { + DXF12: 0, + DXF2000: 6, + DXF2004: 0, + DXF2007: 25, + DXF2010: 6, + DXF2013: 105, + DXF2018: 4, +} + +versions_supported_by_new = [ + DXF12, + DXF2000, + DXF2004, + DXF2007, + DXF2010, + DXF2013, + DXF2018, +] +versions_supported_by_save = versions_supported_by_new +LATEST_DXF_VERSION = versions_supported_by_new[-1] + +acad_release_to_dxf_version = {acad: dxf for dxf, acad in acad_release.items()} + + +class DXFError(Exception): + """Base exception for all `ezdxf` exceptions. """ + pass + + +class InvalidGeoDataException(DXFError): + pass + + +class DXFStructureError(DXFError): + pass + + +class DXFLoadError(DXFError): + pass + + +class DXFAppDataError(DXFStructureError): + pass + + +class DXFXDataError(DXFStructureError): + pass + + +class DXFVersionError(DXFError): + """Errors related to features not supported by the chosen DXF Version""" + pass + + +class DXFInternalEzdxfError(DXFError): + """Indicates internal errors - should be fixed by mozman""" + pass + + +class DXFUnsupportedFeature(DXFError): + """Indicates unsupported features for DXFEntities e.g. translation for + ACIS data + """ + pass + + +class DXFValueError(DXFError, ValueError): + pass + + +class DXFKeyError(DXFError, KeyError): + pass + + +class DXFAttributeError(DXFError, AttributeError): + pass + + +class DXFIndexError(DXFError, IndexError): + pass + + +class DXFTypeError(DXFError, TypeError): + pass + + +class DXFTableEntryError(DXFValueError): + pass + + +class DXFEncodingError(DXFError): + pass + + +class DXFDecodingError(DXFError): + pass + + +class DXFInvalidLineType(DXFValueError): + pass + + +class DXFBlockInUseError(DXFValueError): + pass + + +class DXFUndefinedBlockError(DXFKeyError): + pass + + +class DXFRenderError(DXFError): + """Errors related to DXF "rendering" tasks. + + In this context "rendering" means creating the graphical representation of + complex DXF entities by DXF primitives (LINE, TEXT, ...) + e.g. for DIMENSION or LEADER entities. + """ + pass + + +class DXFMissingDefinitionPoint(DXFRenderError): + """Missing required definition points in the DIMENSION entity.""" + + +def normalize_dxfversion(dxfversion: str, check_save=True) -> str: + """Normalizes the DXF version string to "AC10xx".""" + dxfversion = dxfversion.upper() + dxfversion = acad_release_to_dxf_version.get(dxfversion, dxfversion) + if check_save and dxfversion not in versions_supported_by_save: + raise DXFVersionError(f"Invalid DXF version: {dxfversion}") + return dxfversion + + +MANAGED_SECTIONS = { + "HEADER", + "CLASSES", + "TABLES", + "BLOCKS", + "ENTITIES", + "OBJECTS", + "ACDSDATA", +} + +TABLE_NAMES_ACAD_ORDER = [ + "VPORT", + "LTYPE", + "LAYER", + "STYLE", + "VIEW", + "UCS", + "APPID", + "DIMSTYLE", + "BLOCK_RECORD", +] + +DEFAULT_TEXT_STYLE = "Standard" +DEFAULT_TEXT_FONT = "txt" +APP_DATA_MARKER = 102 +SUBCLASS_MARKER = 100 +XDATA_MARKER = 1001 +COMMENT_MARKER = 999 +STRUCTURE_MARKER = 0 +HEADER_VAR_MARKER = 9 +ACAD_REACTORS = "{ACAD_REACTORS" +ACAD_XDICTIONARY = "{ACAD_XDICTIONARY" +XDICT_HANDLE_CODE = 360 +REACTOR_HANDLE_CODE = 330 +OWNER_CODE = 330 + +# https://help.autodesk.com/view/OARX/2018/ENU/?guid=GUID-2553CF98-44F6-4828-82DD-FE3BC7448113 +MAX_STR_LEN = 255 # DXF R12 without line endings +EXT_MAX_STR_LEN = 2049 # DXF R2000+ without line endings + +# Special tag codes for internal purpose: +# -1 to -5 id reserved by AutoCAD for internal use, but this tags will never be +# saved to file. +# Same approach here, the following tags have to be converted/transformed into +# normal tags before saved to file. +COMPRESSED_TAGS = -10 + +# All color related constants are located in colors.py +BYBLOCK = 0 +BYLAYER = 256 +BYOBJECT = 257 +RED = 1 +YELLOW = 2 +GREEN = 3 +CYAN = 4 +BLUE = 5 +MAGENTA = 6 +BLACK = 7 +WHITE = 7 + +# All transparency related constants are located in colors.py +TRANSPARENCY_BYBLOCK = 0x01000000 + + +LINEWEIGHT_BYLAYER = -1 +LINEWEIGHT_BYBLOCK = -2 +LINEWEIGHT_DEFAULT = -3 + +VALID_DXF_LINEWEIGHTS = ( + 0, + 5, + 9, + 13, + 15, + 18, + 20, + 25, + 30, + 35, + 40, + 50, + 53, + 60, + 70, + 80, + 90, + 100, + 106, + 120, + 140, + 158, + 200, + 211, +) +MAX_VALID_LINEWEIGHT = VALID_DXF_LINEWEIGHTS[-1] +VALID_DXF_LINEWEIGHT_VALUES = set(VALID_DXF_LINEWEIGHTS) | { + LINEWEIGHT_DEFAULT, + LINEWEIGHT_BYLAYER, + LINEWEIGHT_BYBLOCK, +} + +# Entity: Polyline, Polymesh +# 70 flags +POLYLINE_CLOSED = 1 +POLYLINE_MESH_CLOSED_M_DIRECTION = POLYLINE_CLOSED +POLYLINE_CURVE_FIT_VERTICES_ADDED = 2 +POLYLINE_SPLINE_FIT_VERTICES_ADDED = 4 +POLYLINE_3D_POLYLINE = 8 +POLYLINE_3D_POLYMESH = 16 +POLYLINE_MESH_CLOSED_N_DIRECTION = 32 +POLYLINE_POLYFACE = 64 +POLYLINE_GENERATE_LINETYPE_PATTERN = 128 + +# Entity: Polymesh +# 75 surface smooth type +POLYMESH_NO_SMOOTH = 0 +POLYMESH_QUADRATIC_BSPLINE = 5 +POLYMESH_CUBIC_BSPLINE = 6 +POLYMESH_BEZIER_SURFACE = 8 + +# Entity: Vertex +# 70 flags +VERTEXNAMES = ("vtx0", "vtx1", "vtx2", "vtx3") +VTX_EXTRA_VERTEX_CREATED = 1 # Extra vertex created by curve-fitting +VTX_CURVE_FIT_TANGENT = 2 # Curve-fit tangent defined for this vertex. +# A curve-fit tangent direction of 0 may be omitted from the DXF output, but is +# significant if this bit is set. +# 4 = unused, never set in dxf files +VTX_SPLINE_VERTEX_CREATED = 8 # Spline vertex created by spline-fitting +VTX_SPLINE_FRAME_CONTROL_POINT = 16 +VTX_3D_POLYLINE_VERTEX = 32 +VTX_3D_POLYGON_MESH_VERTEX = 64 +VTX_3D_POLYFACE_MESH_VERTEX = 128 + +VERTEX_FLAGS = { + "AcDb2dPolyline": 0, + "AcDb3dPolyline": VTX_3D_POLYLINE_VERTEX, + "AcDbPolygonMesh": VTX_3D_POLYGON_MESH_VERTEX, + "AcDbPolyFaceMesh": VTX_3D_POLYGON_MESH_VERTEX + | VTX_3D_POLYFACE_MESH_VERTEX, +} +POLYLINE_FLAGS = { + "AcDb2dPolyline": 0, + "AcDb3dPolyline": POLYLINE_3D_POLYLINE, + "AcDbPolygonMesh": POLYLINE_3D_POLYMESH, + "AcDbPolyFaceMesh": POLYLINE_POLYFACE, +} + +# block-type flags (bit coded values, may be combined): +# Entity: BLOCK +# 70 flags + +# This is an anonymous block generated by hatching, associative dimensioning, +# other internal operations, or an application: +BLK_ANONYMOUS = 1 + +# This block has non-constant attribute definitions (this bit is not set if the +# block has any attribute definitions that are constant, or has no attribute +# definitions at all) +BLK_NON_CONSTANT_ATTRIBUTES = 2 + +# This block is an external reference (xref): +BLK_XREF = 4 + +# This block is an xref overlay: +BLK_XREF_OVERLAY = 8 + +# This block is externally dependent: +BLK_EXTERNAL = 16 + +# This is a resolved external reference, or dependent of an external reference +# (ignored on input): +BLK_RESOLVED = 32 + +# This definition is a referenced external reference (ignored on input): +BLK_REFERENCED = 64 + +LWPOLYLINE_CLOSED = 1 +LWPOLYLINE_PLINEGEN = 128 + +DEFAULT_TTF = "DejaVuSans.ttf" + +# TextHAlign enum +LEFT = 0 +CENTER = 1 +RIGHT = 2 +ALIGNED = 3 +FIT = 5 + +BASELINE = 0 +BOTTOM = 1 +MIDDLE = 2 +TOP = 3 +MIRROR_X = 2 +BACKWARD = MIRROR_X +MIRROR_Y = 4 +UPSIDE_DOWN = MIRROR_Y + +VERTICAL_STACKED = 4 # only stored in TextStyle.dxf.flags! + +# Special char and encodings used in TEXT, ATTRIB and ATTDEF: +# "%%d" -> "°" +SPECIAL_CHAR_ENCODING = { + "c": "Ø", # alt-0216 + "d": "°", # alt-0176 + "p": "±", # alt-0177 +} +# Inline codes for strokes in TEXT, ATTRIB and ATTDEF +# %%u underline +# %%o overline +# %%k strike through +# Formatting will be applied until the same code appears again or the end +# of line. +# Special codes and formatting is case insensitive: d=D, u=U + +# MTextEntityAlignment enum +MTEXT_TOP_LEFT = 1 +MTEXT_TOP_CENTER = 2 +MTEXT_TOP_RIGHT = 3 +MTEXT_MIDDLE_LEFT = 4 +MTEXT_MIDDLE_CENTER = 5 +MTEXT_MIDDLE_RIGHT = 6 +MTEXT_BOTTOM_LEFT = 7 +MTEXT_BOTTOM_CENTER = 8 +MTEXT_BOTTOM_RIGHT = 9 + +# MTextFlowDirection enum +MTEXT_LEFT_TO_RIGHT = 1 +MTEXT_TOP_TO_BOTTOM = 3 +MTEXT_BY_STYLE = 5 + +# MTextLineSpacing enum +MTEXT_AT_LEAST = 1 +MTEXT_EXACT = 2 + +MTEXT_COLOR_INDEX = { + "red": RED, + "yellow": YELLOW, + "green": GREEN, + "cyan": CYAN, + "blue": BLUE, + "magenta": MAGENTA, + "white": WHITE, +} + +# MTextBackgroundColor enum +MTEXT_BG_OFF = 0 +MTEXT_BG_COLOR = 1 +MTEXT_BG_WINDOW_COLOR = 2 +MTEXT_BG_CANVAS_COLOR = 3 +MTEXT_TEXT_FRAME = 16 + + +CLOSED_SPLINE = 1 +PERIODIC_SPLINE = 2 +RATIONAL_SPLINE = 4 +PLANAR_SPLINE = 8 +LINEAR_SPLINE = 16 + +# Hatch constants +HATCH_TYPE_USER_DEFINED = 0 +HATCH_TYPE_PREDEFINED = 1 +HATCH_TYPE_CUSTOM = 2 +HATCH_PATTERN_TYPE = ["user-defined", "predefined", "custom"] + +ISLAND_DETECTION = ["nested", "outermost", "ignore"] +HATCH_STYLE_NORMAL = 0 +HATCH_STYLE_NESTED = 0 +HATCH_STYLE_OUTERMOST = 1 +HATCH_STYLE_IGNORE = 2 + +BOUNDARY_PATH_DEFAULT = 0 +BOUNDARY_PATH_EXTERNAL = 1 +BOUNDARY_PATH_POLYLINE = 2 +BOUNDARY_PATH_DERIVED = 4 +BOUNDARY_PATH_TEXTBOX = 8 +BOUNDARY_PATH_OUTERMOST = 16 + + +def boundary_path_flag_names(flags: int) -> list[str]: + if flags == 0: + return ["default"] + types: list[str] = [] + if flags & BOUNDARY_PATH_EXTERNAL: + types.append("external") + if flags & BOUNDARY_PATH_POLYLINE: + types.append("polyline") + if flags & BOUNDARY_PATH_DERIVED: + types.append("derived") + if flags & BOUNDARY_PATH_TEXTBOX: + types.append("textbox") + if flags & BOUNDARY_PATH_OUTERMOST: + types.append("outermost") + return types + + +@dataclass(frozen=True) +class BoundaryPathState: + external: bool = False + derived: bool = False + textbox: bool = False + outermost: bool = False + + @staticmethod + def from_flags(flag: int) -> "BoundaryPathState": + return BoundaryPathState( + external=bool(flag & BOUNDARY_PATH_EXTERNAL), + derived=bool(flag & BOUNDARY_PATH_DERIVED), + textbox=bool(flag & BOUNDARY_PATH_TEXTBOX), + outermost=bool(flag & BOUNDARY_PATH_OUTERMOST), + ) + + @property + def default(self) -> bool: + return not ( + self.external or self.derived or self.outermost or self.textbox + ) + + +GRADIENT_TYPES = frozenset( + [ + "LINEAR", + "CYLINDER", + "INVCYLINDER", + "SPHERICAL", + "INVSPHERICAL", + "HEMISPHERICAL", + "INVHEMISPHERICAL", + "CURVED", + "INVCURVED", + ] +) + +# Viewport Status Flags (VSF) group code=90 +VSF_PERSPECTIVE_MODE = 0x1 # enabled if set +VSF_FRONT_CLIPPING = 0x2 # enabled if set +VSF_BACK_CLIPPING = 0x4 # enabled if set +VSF_USC_FOLLOW = 0x8 # enabled if set +VSF_FRONT_CLIPPING_NOT_AT_EYE = 0x10 # enabled if set +VSF_UCS_ICON_VISIBILITY = 0x20 # enabled if set +VSF_UCS_ICON_AT_ORIGIN = 0x40 # enabled if set +VSF_FAST_ZOOM = 0x80 # enabled if set +VSF_SNAP_MODE = 0x100 # enabled if set +VSF_GRID_MODE = 0x200 # enabled if set +VSF_ISOMETRIC_SNAP_STYLE = 0x400 # enabled if set +VSF_HIDE_PLOT_MODE = 0x800 # enabled if set + +# If set and kIsoPairRight is not set, then isopair top is enabled. +# If both kIsoPairTop and kIsoPairRight are set, then isopair left is enabled: +VSF_KISOPAIR_TOP = 0x1000 + +# If set and kIsoPairTop is not set, then isopair right is enabled: +VSF_KISOPAIR_RIGHT = 0x2000 +VSF_VIEWPORT_ZOOM_LOCKING = 0x4000 # enabled if set +VSF_LOCK_ZOOM = 0x4000 # enabled if set +VSF_CURRENTLY_ALWAYS_ENABLED = 0x8000 # always set without a meaning :) +VSF_NON_RECTANGULAR_CLIPPING = 0x10000 # enabled if set +VSF_TURN_VIEWPORT_OFF = 0x20000 +VSF_NO_GRID_LIMITS = 0x40000 +VSF_ADAPTIVE_GRID_DISPLAY = 0x80000 +VSF_SUBDIVIDE_GRID = 0x100000 +VSF_GRID_FOLLOW_WORKPLANE = 0x200000 + +# Viewport Render Mode (VRM) group code=281 +VRM_2D_OPTIMIZED = 0 +VRM_WIREFRAME = 1 +VRM_HIDDEN_LINE = 2 +VRM_FLAT_SHADED = 3 +VRM_GOURAUD_SHADED = 4 +VRM_FLAT_SHADED_WITH_WIREFRAME = 5 +VRM_GOURAUD_SHADED_WITH_WIREFRAME = 6 + +IMAGE_SHOW = 1 +IMAGE_SHOW_WHEN_NOT_ALIGNED = 2 +IMAGE_USE_CLIPPING_BOUNDARY = 4 +IMAGE_TRANSPARENCY_IS_ON = 8 + +UNDERLAY_CLIPPING = 1 +UNDERLAY_ON = 2 +UNDERLAY_MONOCHROME = 4 +UNDERLAY_ADJUST_FOR_BG = 8 + +DIM_LINEAR = 0 +DIM_ALIGNED = 1 +DIM_ANGULAR = 2 +DIM_DIAMETER = 3 +DIM_RADIUS = 4 +DIM_ANGULAR_3P = 5 +DIM_ORDINATE = 6 +DIM_ARC = 8 +DIM_BLOCK_EXCLUSIVE = 32 +DIM_ORDINATE_TYPE = 64 # unset for x-type, set for y-type +DIM_USER_LOCATION_OVERRIDE = 128 + +DIMZIN_SUPPRESS_ZERO_FEET_AND_PRECISELY_ZERO_INCHES = 0 +DIMZIN_INCLUDES_ZERO_FEET_AND_PRECISELY_ZERO_INCHES = 1 +DIMZIN_INCLUDES_ZERO_FEET_AND_SUPPRESSES_ZERO_INCHES = 2 +DIMZIN_INCLUDES_ZERO_INCHES_AND_SUPPRESSES_ZERO_FEET = 3 +DIMZIN_SUPPRESSES_LEADING_ZEROS = 4 # only decimal dimensions +DIMZIN_SUPPRESSES_TRAILING_ZEROS = 8 # only decimal dimensions + +# ATTRIB & ATTDEF flags +ATTRIB_INVISIBLE = 1 # Attribute is invisible (does not appear) +ATTRIB_CONST = 2 # This is a constant attribute +ATTRIB_VERIFY = 4 # Verification is required on input of this attribute +ATTRIB_IS_PRESET = 8 # no prompt during insertion + +ATTRIB_TYPE_SINGLE_LINE = 1 +ATTRIB_TYPE_MULTI_LINE = 2 +ATTDEF_TYPE_MULTI_LINE = 4 + +# '|' is allowed in layer name, as ltype name ... +INVALID_NAME_CHARACTERS = '<>/\\":;?*=`' +INVALID_LAYER_NAME_CHARACTERS = set(INVALID_NAME_CHARACTERS) + +STD_SCALES = { + 1: (1.0 / 128.0, 12.0), + 2: (1.0 / 64.0, 12.0), + 3: (1.0 / 32.0, 12.0), + 4: (1.0 / 16.0, 12.0), + 5: (3.0 / 32.0, 12.0), + 6: (1.0 / 8.0, 12.0), + 7: (3.0 / 16.0, 12.0), + 8: (1.0 / 4.0, 12.0), + 9: (3.0 / 8.0, 12.0), + 10: (1.0 / 2.0, 12.0), + 11: (3.0 / 4.0, 12.0), + 12: (1.0, 12.0), + 13: (3.0, 12.0), + 14: (6.0, 12.0), + 15: (12.0, 12.0), + 16: (1.0, 1.0), + 17: (1.0, 2.0), + 18: (1.0, 4.0), + 19: (1.0, 8.0), + 20: (1.0, 10.0), + 21: (1.0, 16.0), + 22: (1.0, 20.0), + 23: (1.0, 30.0), + 24: (1.0, 40.0), + 25: (1.0, 50.0), + 26: (1.0, 100.0), + 27: (2.0, 1.0), + 28: (4.0, 1.0), + 29: (8.0, 1.0), + 30: (10.0, 1.0), + 31: (100.0, 1.0), + 32: (1000.0, 1.0), +} + +RASTER_UNITS = { + "none": 0, + "mm": 1, + "cm": 2, + "m": 3, + "km": 4, + "in": 5, + "ft": 6, + "yd": 7, + "mi": 8, +} +REVERSE_RASTER_UNITS = {value: name for name, value in RASTER_UNITS.items()} + +MODEL_SPACE_R2000 = "*Model_Space" +MODEL_SPACE_R12 = "$Model_Space" +PAPER_SPACE_R2000 = "*Paper_Space" +PAPER_SPACE_R12 = "$Paper_Space" +TMP_PAPER_SPACE_NAME = "*Paper_Space999999" + +MODEL_SPACE = { + MODEL_SPACE_R2000.lower(), + MODEL_SPACE_R12.lower(), +} + +PAPER_SPACE = { + PAPER_SPACE_R2000.lower(), + PAPER_SPACE_R12.lower(), +} + +LAYOUT_NAMES = { + PAPER_SPACE_R2000.lower(), + PAPER_SPACE_R12.lower(), + MODEL_SPACE_R2000.lower(), + MODEL_SPACE_R12.lower(), +} + + +# TODO: make enum +DIMJUST = { + "center": 0, + "left": 1, + "right": 2, + "above1": 3, + "above2": 4, +} + + +# TODO: make enum +DIMTAD = { + "above": 1, + "center": 0, + "below": 4, +} + + +DEFAULT_ENCODING = "cp1252" + +MLINE_TOP = 0 +MLINE_ZERO = 1 +MLINE_BOTTOM = 2 +MLINE_HAS_VERTICES = 1 +MLINE_CLOSED = 2 +MLINE_SUPPRESS_START_CAPS = 4 +MLINE_SUPPRESS_END_CAPS = 8 + +MLINESTYLE_FILL = 1 +MLINESTYLE_MITER = 2 +MLINESTYLE_START_SQUARE = 16 +MLINESTYLE_START_INNER_ARC = 32 +MLINESTYLE_START_ROUND = 64 +MLINESTYLE_END_SQUARE = 256 +MLINESTYLE_END_INNER_ARC = 512 +MLINESTYLE_END_ROUND = 1024 + +# VP Layer Overrides + +OVR_ALPHA_KEY = "ADSK_XREC_LAYER_ALPHA_OVR" +OVR_COLOR_KEY = "ADSK_XREC_LAYER_COLOR_OVR" +OVR_LTYPE_KEY = "ADSK_XREC_LAYER_LINETYPE_OVR" +OVR_LW_KEY = "ADSK_XREC_LAYER_LINEWT_OVR" + +OVR_ALPHA_CODE = 440 +OVR_COLOR_CODE = 420 +OVR_LTYPE_CODE = 343 +OVR_LW_CODE = 91 +OVR_VP_HANDLE_CODE = 335 + +OVR_APP_ALPHA = "{ADSK_LYR_ALPHA_OVERRIDE" +OVR_APP_COLOR = "{ADSK_LYR_COLOR_OVERRIDE" +OVR_APP_LTYPE = "{ADSK_LYR_LINETYPE_OVERRIDE" +OVR_APP_LW = "{ADSK_LYR_LINEWT_OVERRIDE" diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/lldxf/encoding.py b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/lldxf/encoding.py new file mode 100644 index 0000000000000000000000000000000000000000..5e72d43fc9d08acecca0b6ac7889d1bd90258244 --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/lldxf/encoding.py @@ -0,0 +1,85 @@ +# Copyright (c) 2016-2023, Manfred Moitzi +# License: MIT License +import re +import codecs +import binascii + +surrogate_escape = codecs.lookup_error("surrogateescape") +BACKSLASH_UNICODE = re.compile(r"(\\U\+[A-F0-9]{4})") +MIF_ENCODED = re.compile(r"(\\M\+[1-5][A-F0-9]{4})") + + +def dxf_backslash_replace(exc: Exception): + if isinstance(exc, (UnicodeEncodeError, UnicodeTranslateError)): + s = "" + # mypy does not recognize properties: exc.start, exc.end, exc.object + for c in exc.object[exc.start : exc.end]: + x = ord(c) + if x <= 0xFF: + s += "\\x%02x" % x + elif 0xDC80 <= x <= 0xDCFF: + # Delegate surrogate handling: + return surrogate_escape(exc) + elif x <= 0xFFFF: + s += "\\U+%04x" % x + else: + s += "\\U+%08x" % x + return s, exc.end + else: + raise TypeError(f"Can't handle {exc.__class__.__name__}") + + +def encode(s: str, encoding="utf8") -> bytes: + """Shortcut to use the correct error handler""" + return s.encode(encoding, errors="dxfreplace") + + +def _decode(s: str) -> str: + if s.startswith(r"\U+"): + return chr(int(s[3:], 16)) + else: + return s + + +def has_dxf_unicode(s: str) -> bool: + """Returns ``True`` if string `s` contains ``\\U+xxxx`` encoded characters.""" + return bool(re.search(BACKSLASH_UNICODE, s)) + + +def decode_dxf_unicode(s: str) -> str: + """Decode ``\\U+xxxx`` encoded characters.""" + + return "".join(_decode(part) for part in re.split(BACKSLASH_UNICODE, s)) + + +def has_mif_encoding(s: str) -> bool: + """Returns ``True`` if string `s` contains MIF encoded (``\\M+cxxxx``) characters. + """ + return bool(re.search(MIF_ENCODED, s)) + + +def decode_mif_to_unicode(s: str) -> str: + """Decode MIF encoded characters ``\\M+cxxxx``.""" + return "".join(_decode_mif(part) for part in re.split(MIF_ENCODED, s)) + + +MIF_CODE_PAGE = { + # See https://docs.intellicad.org/files/oda/2021_11/oda_drawings_docs/frames.html?frmname=topic&frmfile=FontHandling.html + "1": "cp932", # Japanese (Shift-JIS) + "2": "cp950", # Traditional Chinese (Big 5) + "3": "cp949", # Wansung (KS C-5601-1987) + "4": "cp1391", # Johab (KS C-5601-1992) + "5": "cp936", # Simplified Chinese (GB 2312-80) +} + + +def _decode_mif(s: str) -> str: + if s.startswith(r"\M+"): + try: + code_page = MIF_CODE_PAGE[s[3]] + codec = codecs.lookup(code_page) + byte_data = binascii.unhexlify(s[4:]) + return codec.decode(byte_data)[0] + except Exception: + pass + return s diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/lldxf/extendedtags.py b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/lldxf/extendedtags.py new file mode 100644 index 0000000000000000000000000000000000000000..462544fc79320a348774bca5ca3dad433a419a29 --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/lldxf/extendedtags.py @@ -0,0 +1,463 @@ +# Copyright (c) 2011-2022, Manfred Moitzi +# License: MIT License +from __future__ import annotations +from typing import TYPE_CHECKING, Iterable, Optional, Iterator +from itertools import chain +import logging +from .types import tuples_to_tags, NONE_TAG +from .tags import Tags, DXFTag +from .const import DXFStructureError, DXFValueError, DXFKeyError +from .types import ( + APP_DATA_MARKER, + SUBCLASS_MARKER, + XDATA_MARKER, + EMBEDDED_OBJ_MARKER, + EMBEDDED_OBJ_STR, +) +from .types import is_app_data_marker, is_embedded_object_marker +from .tagger import internal_tag_compiler + +if TYPE_CHECKING: + from ezdxf.eztypes import IterableTags + +logger = logging.getLogger("ezdxf") + + +class ExtendedTags: + """Manages DXF tags located in sub structures: + + - Subclasses + - AppData + - Extended Data (XDATA) + - Embedded objects + + Args: + tags: iterable of type DXFTag() + legacy: flag for DXF R12 tags + + """ + + __slots__ = ("subclasses", "appdata", "xdata", "embedded_objects") + + def __init__(self, tags: Optional[Iterable[DXFTag]] = None, legacy=False): + if isinstance(tags, str): + raise DXFValueError( + "use ExtendedTags.from_text() to create tags from a string." + ) + + # code == 102, keys are "{", values are Tags() + self.appdata: list[Tags] = list() + + # code == 100, keys are "subclass-name", values are Tags() + self.subclasses: list[Tags] = list() + + # code >= 1000, keys are "APPID", values are Tags() + self.xdata: list[Tags] = list() + + # Store embedded objects as list, but embedded objects are rare, so + # storing an empty list for every DXF entity is waste of memory. + # Support for multiple embedded objects is maybe future proof, but + # for now only one embedded object per entity is used. + self.embedded_objects: Optional[list[Tags]] = None + + if tags is not None: + self._setup(iter(tags)) + if legacy: + self.legacy_repair() + + def legacy_repair(self): + """Legacy (DXF R12) tags handling and repair.""" + self.flatten_subclasses() + # ... and we can do some checks: + # DXF R12 does not support (102, '{APPID') ... structures + if len(self.appdata): + # Just a debug message, do not delete appdata, this would corrupt + # the data structure. + self.debug("Found application defined entity data in DXF R12.") + + # That is really unlikely, but... + if self.embedded_objects is not None: + # Removing embedded objects from DXF R12 does not corrupt the + # data structure: + self.embedded_objects = None + self.debug("Found embedded object in DXF R12.") + + def flatten_subclasses(self): + """Flatten subclasses in legacy mode (DXF R12). + + There exists DXF R12 with subclass markers, technical incorrect but + works if the reader ignore subclass marker tags, unfortunately ezdxf + tries to use this subclass markers and therefore R12 parsing by ezdxf + does not work without removing these subclass markers. + + This method removes all subclass markers and flattens all subclasses + into ExtendedTags.noclass. + + """ + if len(self.subclasses) < 2: + return + noclass = self.noclass + for subclass in self.subclasses[1:]: + # Exclude first tag (100, subclass marker): + noclass.extend(subclass[1:]) + self.subclasses = [noclass] + self.debug("Removed subclass marker from entity for DXF R12.") + + def debug(self, msg: str) -> None: + msg += f" <{self.entity_name()}>" + logger.debug(msg) + + def entity_name(self) -> str: + try: + handle = f"(#{self.get_handle()})" + except DXFValueError: + handle = "" + return self.dxftype() + handle + + def __copy__(self) -> ExtendedTags: + """Shallow copy.""" + + def copy(tag_lists): + return [tags.clone() for tags in tag_lists] + + clone = self.__class__() + clone.appdata = copy(self.appdata) + clone.subclasses = copy(self.subclasses) + clone.xdata = copy(self.xdata) + if self.embedded_objects is not None: + clone.embedded_objects = copy(self.embedded_objects) + return clone + + clone = __copy__ + + def __getitem__(self, index) -> Tags: + return self.noclass[index] + + @property + def noclass(self) -> Tags: + """Short cut to access first subclass.""" + return self.subclasses[0] + + def get_handle(self) -> str: + """Returns handle as hex string.""" + return self.noclass.get_handle() + + def dxftype(self) -> str: + """Returns DXF type as string like "LINE".""" + return self.noclass[0].value + + def replace_handle(self, handle: str) -> None: + """Replace the existing entity handle by a new value.""" + self.noclass.replace_handle(handle) + + def _setup(self, tags: Iterator[DXFTag]) -> None: + def is_end_of_class(tag): + # fast path + if tag.code not in { + SUBCLASS_MARKER, + EMBEDDED_OBJ_MARKER, + XDATA_MARKER, + }: + return False + else: + # really an embedded object + if ( + tag.code == EMBEDDED_OBJ_MARKER + and tag.value != EMBEDDED_OBJ_STR + ): + return False + else: + return True + + def collect_base_class() -> DXFTag: + """The base class contains AppData, but not XDATA and ends with + SUBCLASS_MARKER, XDATA_MARKER or EMBEDDED_OBJ_MARKER. + """ + # All subclasses begin with (100, subclass name) EXCEPT DIMASSOC + # has a subclass starting with: (1, AcDbOsnapPointRef) + # This special subclass is ignored by ezdxf, content is included in + # the preceding subclass: (100, AcDbDimAssoc) + # TEXT contains 2x the (100, AcDbText). + # + # Therefore it is not possible to use an (ordered) dict with + # the subclass name as key, but usual use case is access by + # numerical index. + + data = Tags() + try: + while True: + tag = next(tags) + if is_app_data_marker(tag): + app_data_pos = len(self.appdata) + data.append(DXFTag(tag.code, app_data_pos)) + collect_app_data(tag) + elif is_end_of_class(tag): + self.subclasses.append(data) + return tag + else: + data.append(tag) + except StopIteration: + pass + self.subclasses.append(data) + return NONE_TAG + + def collect_subclass(starttag: DXFTag) -> DXFTag: + """A subclass does NOT contain AppData or XDATA, and ends with + SUBCLASS_MARKER, XDATA_MARKER or EMBEDDED_OBJ_MARKER. + """ + # All subclasses begin with (100, subclass name) + # for exceptions and rant see: collect_base_class() + + data = Tags([starttag]) + try: + while True: + tag = next(tags) + # removed app data collection in subclasses + if is_end_of_class(tag): + self.subclasses.append(data) + return tag + else: + data.append(tag) + except StopIteration: + pass + self.subclasses.append(data) + return NONE_TAG + + def collect_app_data(starttag: DXFTag) -> None: + """AppData can't contain XDATA or subclasses. + + AppData can only appear in the first unnamed subclass + """ + data = Tags([starttag]) + # Alternative closing tag 'APPID}': + closing_strings = ("}", starttag.value[1:] + "}") + while True: + try: + tag = next(tags) + except StopIteration: + raise DXFStructureError( + "Missing closing (102, '}') tag in appdata structure." + ) + data.append(tag) + if (tag.code == APP_DATA_MARKER) and ( + tag.value in closing_strings + ): + break + # Other (102, ) tags are treated as usual DXF tags. + self.appdata.append(data) + + def collect_xdata(starttag: DXFTag) -> DXFTag: + """XDATA is always at the end of the entity even if an embedded + object is present and can not contain AppData or subclasses. + + """ + data = Tags([starttag]) + try: + while True: + tag = next(tags) + if tag.code == XDATA_MARKER: + self.xdata.append(data) + return tag + else: + data.append(tag) + except StopIteration: + pass + self.xdata.append(data) + return NONE_TAG + + def collect_embedded_object(starttag: DXFTag) -> DXFTag: + """Since AutoCAD 2018, DXF entities can contain embedded objects + starting with a (101, 'Embedded Object') tag. + + All embedded object data is collected in a simple Tags() object, + no subclass app data or XDATA processing is done. + ezdxf does not use or modify the embedded object data, the data is + just stored and written out as it is. + + self.embedded_objects = [ + 1. embedded object as Tags(), + 2. embedded object as Tags(), + ... + ] + + Support for multiple embedded objects is maybe future proof, but + for now only one embedded object per entity is used. + + """ + if self.embedded_objects is None: + self.embedded_objects = list() + data = Tags([starttag]) + try: + while True: + tag = next(tags) + if ( + is_embedded_object_marker(tag) + or tag.code == XDATA_MARKER + ): + # Another embedded object found: maybe in the future + # DXF entities can contain more than one embedded + # object. + self.embedded_objects.append(data) + return tag + else: + data.append(tag) + except StopIteration: + pass + self.embedded_objects.append(data) + return NONE_TAG + + # Preceding tags without a subclass + tag = collect_base_class() + while tag.code == SUBCLASS_MARKER: + tag = collect_subclass(tag) + + while is_embedded_object_marker(tag): + tag = collect_embedded_object(tag) + + # XDATA appear after an embedded object + while tag.code == XDATA_MARKER: + tag = collect_xdata(tag) + + if tag is not NONE_TAG: + raise DXFStructureError( + "Unexpected tag '%r' at end of entity." % tag + ) + + def __iter__(self) -> Iterator[DXFTag]: + for subclass in self.subclasses: + for tag in subclass: + if tag.code == APP_DATA_MARKER and isinstance(tag.value, int): + yield from self.appdata[tag.value] + else: + yield tag + yield from chain.from_iterable(self.xdata) + if self.embedded_objects is not None: + yield from chain.from_iterable(self.embedded_objects) + + def get_subclass(self, name: str, pos: int = 0) -> Tags: + """Get subclass `name`. + + Args: + name: subclass name as string like "AcDbEntity" + pos: start searching at subclass `pos`. + + """ + for index, subclass in enumerate(self.subclasses): + try: + if (index >= pos) and (subclass[0].value == name): + return subclass + except IndexError: + pass # subclass[0]: ignore empty subclasses + + raise DXFKeyError(f'Subclass "{name}" does not exist.') + + def has_subclass(self, name: str) -> bool: + for subclass in self.subclasses: + try: + if subclass[0].value == name: + return True + except IndexError: + pass # ignore empty subclasses + return False + + def has_xdata(self, appid: str) -> bool: + """``True`` if has XDATA for `appid`.""" + return any(xdata[0].value == appid for xdata in self.xdata) + + def get_xdata(self, appid: str) -> Tags: + """Returns XDATA for `appid` as :class:`Tags`.""" + for xdata in self.xdata: + if xdata[0].value == appid: + return xdata + raise DXFValueError(f'No extended data for APPID "{appid}".') + + def set_xdata(self, appid: str, tags: IterableTags) -> None: + """Set `tags` as XDATA for `appid`.""" + xdata = self.get_xdata(appid) + xdata[1:] = tuples_to_tags(tags) + + def new_xdata( + self, appid: str, tags: Optional[IterableTags] = None + ) -> Tags: + """Append a new XDATA block. + + Assumes that no XDATA block with the same `appid` already exist:: + + try: + xdata = tags.get_xdata('EZDXF') + except ValueError: + xdata = tags.new_xdata('EZDXF') + """ + xtags = Tags([DXFTag(XDATA_MARKER, appid)]) + if tags is not None: + xtags.extend(tuples_to_tags(tags)) + self.xdata.append(xtags) + return xtags + + def has_app_data(self, appid: str) -> bool: + """``True`` if has application defined data for `appid`.""" + return any(appdata[0].value == appid for appdata in self.appdata) + + def get_app_data(self, appid: str) -> Tags: + """Returns application defined data for `appid` as :class:`Tags` + including marker tags.""" + for appdata in self.appdata: + if appdata[0].value == appid: + return appdata + raise DXFValueError( + f'Application defined group "{appid}" does not exist.' + ) + + def get_app_data_content(self, appid: str) -> Tags: + """Returns application defined data for `appid` as :class:`Tags` + without first and last marker tag. + """ + return Tags(self.get_app_data(appid)[1:-1]) + + def set_app_data_content(self, appid: str, tags: IterableTags) -> None: + """Set application defined data for `appid` for already exiting data.""" + app_data = self.get_app_data(appid) + app_data[1:-1] = tuples_to_tags(tags) + + def new_app_data( + self, + appid: str, + tags: Optional[IterableTags] = None, + subclass_name: Optional[str] = None, + ) -> Tags: + """Append a new application defined data to subclass `subclass_name`. + + Assumes that no app data block with the same `appid` already exist:: + + try: + app_data = tags.get_app_data('{ACAD_REACTORS', tags) + except ValueError: + app_data = tags.new_app_data('{ACAD_REACTORS', tags) + + """ + if not appid.startswith("{"): + raise DXFValueError("Appid has to start with '{'.") + + app_tags = Tags( + [ + DXFTag(APP_DATA_MARKER, appid), + DXFTag(APP_DATA_MARKER, "}"), + ] + ) + if tags is not None: + app_tags[1:1] = tuples_to_tags(tags) + + if subclass_name is None: + subclass = self.noclass + else: + # raises KeyError, if not exist + subclass = self.get_subclass(subclass_name, 1) + app_data_pos = len(self.appdata) + subclass.append(DXFTag(APP_DATA_MARKER, app_data_pos)) + self.appdata.append(app_tags) + return app_tags + + @classmethod + def from_text(cls, text: str, legacy=False) -> ExtendedTags: + """Create :class:`ExtendedTags` from DXF text.""" + return cls(internal_tag_compiler(text), legacy=legacy) diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/lldxf/fileindex.py b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/lldxf/fileindex.py new file mode 100644 index 0000000000000000000000000000000000000000..d60abd4f95e6f76cd20c6d53ae778d54be7216cb --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/lldxf/fileindex.py @@ -0,0 +1,158 @@ +# Copyright (c) 2020-2022, Manfred Moitzi +# License: MIT License +from __future__ import annotations +from typing import Iterable, NamedTuple, BinaryIO + +from .const import DXFStructureError +from ezdxf.tools.codepage import toencoding + + +class IndexEntry(NamedTuple): + code: int + value: str + location: int + line: int + + +class FileStructure: + """DXF file structure representation stored as file locations. + + Store all DXF structure tags and some other tags as :class:`IndexEntry` + tuples: + + - code: group code + - value: tag value as string + - location: file location as int + - line: line number as int + + Indexed tags: + + - structure tags, every tag with group code 0 + - section names, (2, name) tag following a (0, SECTION) tag + - entity handle tags with group code 5, the DIMSTYLE handle group code + 105 is also stored as group code 5 + + """ + + def __init__(self, filename: str): + # stores the file system name of the DXF document. + self.filename: str = filename + # DXF version if header variable $ACADVER is present, default is DXFR12 + self.version: str = "AC1009" + # Python encoding required to read the DXF document as text file. + self.encoding: str = "cp1252" + self.index: list[IndexEntry] = [] + + def print(self) -> None: + print(f"Filename: {self.filename}") + print(f"DXF Version: {self.version}") + print(f"encoding: {self.encoding}") + for entry in self.index: + print(f"Line: {entry.line} - ({entry.code}, {entry.value})") + + def get(self, code: int, value: str, start: int = 0) -> int: + """Returns index of first entry matching `code` and `value`.""" + self_index = self.index + index: int = start + count: int = len(self_index) + while index < count: + entry = self_index[index] + if entry.code == code and entry.value == value: + return index + index += 1 + raise ValueError(f"No entry for tag ({code}, {value}) found.") + + def fetchall( + self, code: int, value: str, start: int = 0 + ) -> Iterable[IndexEntry]: + """Iterate over all specified entities. + + e.g. fetchall(0, 'LINE') returns an iterator for all LINE entities. + + """ + for entry in self.index[start:]: + if entry.code == code and entry.value == value: + yield entry + + +def load(filename: str) -> FileStructure: + """Load DXF file structure for file `filename`, the file has to be seekable. + + Args: + filename: file system file name + + Raises: + DXFStructureError: Invalid or incomplete DXF file. + + """ + file_structure = FileStructure(filename) + file: BinaryIO = open(filename, mode="rb") + line: int = 1 + eof: bool = False + header: bool = False + index: list[IndexEntry] = [] + prev_code: int = -1 + prev_value: bytes = b"" + structure = None # the current structure tag: 'SECTION', 'LINE', ... + + def load_tag() -> tuple[int, bytes]: + nonlocal line + try: + code = int(file.readline()) + except ValueError: + raise DXFStructureError(f"Invalid group code in line {line}") + + if code < 0 or code > 1071: + raise DXFStructureError(f"Invalid group code {code} in line {line}") + value = file.readline().rstrip(b"\r\n") + line += 2 + return code, value + + def load_header_var() -> str: + _, value = load_tag() + return value.decode() + + while not eof: + location = file.tell() + tag_line = line + try: + code, value = load_tag() + if header and code == 9: + if value == b"$ACADVER": + file_structure.version = load_header_var() + elif value == b"$DWGCODEPAGE": + file_structure.encoding = toencoding(load_header_var()) + continue + except IOError: + break + + if code == 0: + # All structure tags have group code == 0, store file location + structure = value + index.append(IndexEntry(0, value.decode(), location, tag_line)) + eof = value == b"EOF" + + elif code == 2 and prev_code == 0 and prev_value == b"SECTION": + # Section name is the tag (2, name) following the (0, SECTION) tag. + header = value == b"HEADER" + index.append(IndexEntry(2, value.decode(), location, tag_line)) + + elif code == 5 and structure != b"DIMSTYLE": + # Entity handles have always group code 5. + index.append(IndexEntry(5, value.decode(), location, tag_line)) + + elif code == 105 and structure == b"DIMSTYLE": + # Except the DIMSTYLE table entry has group code 105. + index.append(IndexEntry(5, value.decode(), location, tag_line)) + + prev_code = code + prev_value = value + + file.close() + if not eof: + raise DXFStructureError(f"Unexpected end of file.") + + if file_structure.version >= "AC1021": # R2007 and later + file_structure.encoding = "utf-8" + file_structure.index = index + return file_structure diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/lldxf/hdrvars.py b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/lldxf/hdrvars.py new file mode 100644 index 0000000000000000000000000000000000000000..b0a9d4928c88f48bc415cb44db3f0982e0229bc7 --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/lldxf/hdrvars.py @@ -0,0 +1,26 @@ +# Copyright (c) 2010-2022, Manfred Moitzi +# License: MIT License +from typing import Sequence, Union, Callable, Any, NamedTuple, Optional +from .types import DXFVertex, DXFTag, cast_tag_value + + +def SingleValue(value: Union[str, float], code: int = 1) -> DXFTag: + return DXFTag(code, cast_tag_value(code, value)) + + +def Point2D(value: Sequence[float]) -> DXFVertex: + return DXFVertex(10, (value[0], value[1])) + + +def Point3D(value: Sequence[float]) -> DXFVertex: + return DXFVertex(10, (value[0], value[1], value[2])) + + +class HeaderVarDef(NamedTuple): + name: str + code: int + factory: Callable[[Any], Any] + mindxf: str + maxdxf: str + priority: int + default: Optional[Any] = None diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/lldxf/loader.py b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/lldxf/loader.py new file mode 100644 index 0000000000000000000000000000000000000000..3b878226010f276cdacae8c02029381c0a5b6cd7 --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/lldxf/loader.py @@ -0,0 +1,156 @@ +# Copyright (c) 2018-2022, Manfred Moitzi +# License: MIT License +from __future__ import annotations +import logging +from typing import Iterable, TYPE_CHECKING, Optional +from collections import OrderedDict + +from .const import DXFStructureError +from .tags import group_tags, DXFTag, Tags +from .extendedtags import ExtendedTags +from ezdxf.entities import factory + +if TYPE_CHECKING: + from ezdxf.document import Drawing + from ezdxf.entities import DXFEntity + from ezdxf.eztypes import SectionDict + +logger = logging.getLogger("ezdxf") + + +def load_dxf_structure( + tagger: Iterable[DXFTag], ignore_missing_eof: bool = False +) -> SectionDict: + """Divide input tag stream from tagger into DXF structure entities. + Each DXF structure entity starts with a DXF structure (0, ...) tag, + and ends before the next DXF structure tag. + + Generated structure: + + each entity is a Tags() object + + { + # 1. section, HEADER section consist only of one entity + 'HEADER': [entity], + 'CLASSES': [entity, entity, ...], # 2. section + 'TABLES': [entity, entity, ...], # 3. section + ... + 'OBJECTS': [entity, entity, ...], + } + + { + # HEADER section consist only of one entity + 'HEADER': [(0, 'SECTION'), (2, 'HEADER'), .... ], + 'CLASSES': [ + [(0, 'SECTION'), (2, 'CLASSES')], + [(0, 'CLASS'), ...], + [(0, 'CLASS'), ...] + ], + 'TABLES': [ + [(0, 'SECTION'), (2, 'TABLES')], + [(0, 'TABLE'), (2, 'VPORT')], + [(0, 'VPORT'), ...], + ... , + [(0, 'ENDTAB')] + ], + ... + 'OBJECTS': [ + [(0, 'SECTION'), (2, 'OBJECTS')], + ... , + ] + } + + Args: + tagger: generates DXFTag() entities from input data + ignore_missing_eof: raises DXFStructureError() if False and EOF tag is + not present, set to True only in tests + + Returns: + dict of sections, each section is a list of DXF structure entities + as Tags() objects + + """ + + def inside_section() -> bool: + if len(section): + return section[0][0] == (0, "SECTION") # first entity, first tag + return False + + def outside_section() -> bool: + if len(section): + return section[0][0] != (0, "SECTION") # first entity, first tag + return True + + sections: SectionDict = OrderedDict() + section: list[Tags] = [] + eof = False + # The structure checking here should not be changed, ezdxf expect a valid + # DXF file, to load messy DXF files exist an (future) add-on + # called 'recover'. + + for entity in group_tags(tagger): + tag = entity[0] + if tag == (0, "SECTION"): + if inside_section(): + raise DXFStructureError("DXFStructureError: missing ENDSEC tag.") + if len(section): + logger.warning( + "DXF Structure Warning: found tags outside a SECTION, " + "ignored by ezdxf." + ) + section = [entity] + elif tag == (0, "ENDSEC"): + # ENDSEC tag is not collected. + if outside_section(): + raise DXFStructureError( + "DXFStructureError: found ENDSEC tag without previous " + "SECTION tag." + ) + section_header = section[0] + + if len(section_header) < 2 or section_header[1].code != 2: + raise DXFStructureError( + "DXFStructureError: missing required section NAME tag " + "(2, name) at start of section." + ) + name_tag = section_header[1] + sections[name_tag.value] = section # type: ignore + # Collect tags outside of sections, but ignore it. + section = [] + elif tag == (0, "EOF"): + # EOF tag is not collected. + if eof: + logger.warning("DXF Structure Warning: found more than one EOF tags.") + eof = True + else: + section.append(entity) + if inside_section(): + raise DXFStructureError("DXFStructureError: missing ENDSEC tag.") + if not eof and not ignore_missing_eof: + raise DXFStructureError("DXFStructureError: missing EOF tag.") + return sections + + +def load_dxf_entities( + entities: Iterable[Tags], doc: Optional[Drawing] = None +) -> Iterable[DXFEntity]: + for entity in entities: + yield factory.load(ExtendedTags(entity), doc) + + +def load_and_bind_dxf_content(sections: dict, doc: Drawing) -> None: + # HEADER has no database entries. + db = doc.entitydb + for name in ["TABLES", "CLASSES", "ENTITIES", "BLOCKS", "OBJECTS"]: + if name in sections: + section = sections[name] + for index, entity in enumerate(load_dxf_entities(section, doc)): + handle = entity.dxf.get("handle") + if handle and handle in db: + logger.warning( + f"Found non-unique entity handle #{handle}, data validation is required." + ) + # Replace Tags() by DXFEntity() objects + section[index] = entity + # Bind entities to the DXF document: + factory.bind(entity, doc) diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/lldxf/packedtags.py b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/lldxf/packedtags.py new file mode 100644 index 0000000000000000000000000000000000000000..8e7c1d708a0efbc8c7da00447f93fa90aa9f533c --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/lldxf/packedtags.py @@ -0,0 +1,208 @@ +# Copyright (c) 2018-2024 Manfred Moitzi +# License: MIT License +from __future__ import annotations +from typing import Iterable, MutableSequence, Sequence, Iterator, Optional +from typing_extensions import overload +from array import array +import numpy as np + +from ezdxf.lldxf.tagwriter import AbstractTagWriter +from ezdxf.math import Matrix44 +from ezdxf.tools.indexing import Index + +from .tags import Tags +from .types import DXFTag + + +class TagList: + """Store data in a standard Python ``list``.""" + + __slots__ = ("values",) + + def __init__(self, data: Optional[Iterable] = None): + self.values: MutableSequence = list(data or []) + + def clone(self) -> TagList: + """Returns a deep copy.""" + return self.__class__(data=self.values) + + @classmethod + def from_tags(cls, tags: Tags, code: int) -> TagList: + """ + Setup list from iterable tags. + + Args: + tags: tag collection as :class:`~ezdxf.lldxf.tags.Tags` + code: group code to collect + + """ + return cls(data=(tag.value for tag in tags if tag.code == code)) + + def clear(self) -> None: + """Delete all data values.""" + del self.values[:] + + +class TagArray(TagList): + """Store data in an :class:`array.array`. Array type is defined by class + variable ``DTYPE``. + """ + + __slots__ = ("values",) + # Defines the data type of array.array() + DTYPE = "i" + + def __init__(self, data: Optional[Iterable] = None): + self.values: array = array(self.DTYPE, data or []) + + def set_values(self, values: Iterable) -> None: + """Replace data by `values`.""" + self.values[:] = array(self.DTYPE, values) + + +class VertexArray: + """Store vertices in a ``numpy.ndarray``. Vertex size is defined by class variable + ``VERTEX_SIZE``. + """ + + VERTEX_SIZE = 3 + __slots__ = ("values",) + + def __init__(self, data: Iterable[Sequence[float]] | None = None): + size = self.VERTEX_SIZE + if data: + values = np.array(data, dtype=np.float64) + if values.shape[1] != size: + raise TypeError( + f"invalid data shape, expected (n, {size}), got {values.shape}" + ) + else: + values = np.ndarray((0, size), dtype=np.float64) + self.values = values + + def __len__(self) -> int: + """Count of vertices.""" + return len(self.values) + + @overload + def __getitem__(self, index: int) -> Sequence[float]: ... + + @overload + def __getitem__(self, index: slice) -> Sequence[Sequence[float]]: ... + + def __getitem__(self, index: int | slice): + """Get vertex at `index`, extended slicing supported.""" + return self.values[index] + + def __setitem__(self, index: int, point: Sequence[float]) -> None: + """Set vertex `point` at `index`, extended slicing not supported.""" + if isinstance(index, slice): + raise TypeError("slicing not supported") + self._set_point(self._index(index), point) + + def __delitem__(self, index: int | slice) -> None: + """Delete vertex at `index`, extended slicing supported.""" + if isinstance(index, slice): + self._del_points(self._slicing(index)) + else: + self._del_points((index,)) + + def __str__(self) -> str: + """String representation.""" + return str(self.values) + + def __iter__(self) -> Iterator[Sequence[float]]: + """Returns iterable of vertices.""" + return iter(self.values) + + def insert(self, pos: int, point: Sequence[float]): + """Insert `point` in front of vertex at index `pos`. + + Args: + pos: insert position + point: point as tuple + + """ + size = self.VERTEX_SIZE + if len(point) != size: + raise ValueError(f"point requires exact {size} components.") + + values = self.values + if len(values) == 0: + self.extend((point,)) + ins_point = np.array((point,), dtype=np.float64) + self.values = np.concatenate((values[0:pos], ins_point, values[pos:])) + + def clone(self) -> VertexArray: + """Returns a deep copy.""" + return self.__class__(data=self.values) + + @classmethod + def from_tags(cls, tags: Iterable[DXFTag], code: int = 10) -> VertexArray: + """Setup point array from iterable tags. + + Args: + tags: iterable of :class:`~ezdxf.lldxf.types.DXFVertex` + code: group code to collect + + """ + vertices = [tag.value for tag in tags if tag.code == code] + return cls(data=vertices) + + def _index(self, item) -> int: + return Index(self).index(item, error=IndexError) + + def _slicing(self, index) -> Iterable[int]: + return Index(self).slicing(index) + + def _set_point(self, index: int, point: Sequence[float]): + size = self.VERTEX_SIZE + if len(point) != size: + raise ValueError(f"point requires exact {size} components.") + self.values[index] = point # type: ignore + + def _del_points(self, indices: Iterable[int]) -> None: + del_flags = set(indices) + survivors = np.array( + [v for i, v in enumerate(self.values) if i not in del_flags], np.float64 + ) + self.values = survivors + + def export_dxf(self, tagwriter: AbstractTagWriter, code=10): + for vertex in self.values: + tagwriter.write_tag2(code, vertex[0]) + tagwriter.write_tag2(code + 10, vertex[1]) + if len(vertex) > 2: + tagwriter.write_tag2(code + 20, vertex[2]) + + def append(self, point: Sequence[float]) -> None: + """Append `point`.""" + if len(point) != self.VERTEX_SIZE: + raise ValueError(f"point requires exact {self.VERTEX_SIZE} components.") + self.extend((point,)) + + def extend(self, points: Iterable[Sequence[float]]) -> None: + """Extend array by `points`.""" + vertices = np.array(points, np.float64) + if vertices.shape[1] != self.VERTEX_SIZE: + raise ValueError(f"points require exact {self.VERTEX_SIZE} components.") + if len(self.values) == 0: + self.values = vertices + else: + self.values = np.concatenate((self.values, vertices)) + + def clear(self) -> None: + """Delete all vertices.""" + self.values = np.ndarray((0, self.VERTEX_SIZE), dtype=np.float64) + + def set(self, points: Iterable[Sequence[float]]) -> None: + """Replace all vertices by `points`.""" + vertices = np.array(points, np.float64) + if vertices.shape[1] != self.VERTEX_SIZE: + raise ValueError(f"points require exact {self.VERTEX_SIZE} components.") + self.values = vertices + + def transform(self, m: Matrix44) -> None: + """Transform vertices inplace by transformation matrix `m`.""" + if self.VERTEX_SIZE in (2, 3): + m.transform_array_inplace(self.values, self.VERTEX_SIZE) diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/lldxf/repair.py b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/lldxf/repair.py new file mode 100644 index 0000000000000000000000000000000000000000..4f00cc0af5facaaa63239dfc905e77c1f2108e4a --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/lldxf/repair.py @@ -0,0 +1,212 @@ +# Copyright (c) 2016-2022, Manfred Moitzi +# License: MIT License +from __future__ import annotations +from typing import ( + Iterable, + Optional, + TYPE_CHECKING, + Sequence, + Any, + Iterator, +) +from functools import partial +import logging +from .tags import DXFTag +from .types import POINT_CODES, NONE_TAG, VALID_XDATA_GROUP_CODES + +if TYPE_CHECKING: + from ezdxf.eztypes import Tags + +logger = logging.getLogger("ezdxf") + + +def tag_reorder_layer(tagger: Iterable[DXFTag]) -> Iterator[DXFTag]: + """Reorder coordinates of legacy DXF Entities, for now only LINE. + + Input Raw tag filter. + + Args: + tagger: low level tagger + + """ + + collector: Optional[list] = None + for tag in tagger: + if tag.code == 0: + if collector is not None: + # stop collecting if inside a supported entity + entity = _s(collector[0].value) + yield from COORDINATE_FIXING_TOOLBOX[entity](collector) # type: ignore + collector = None + + if _s(tag.value) in COORDINATE_FIXING_TOOLBOX: + collector = [tag] + # do not yield collected tag yet + tag = NONE_TAG + else: # tag.code != 0 + if collector is not None: + collector.append(tag) + # do not yield collected tag yet + tag = NONE_TAG + if tag is not NONE_TAG: + yield tag + + +# invalid point codes if not part of a point started with 1010, 1011, 1012, 1013 +INVALID_Y_CODES = {code + 10 for code in POINT_CODES} +INVALID_Z_CODES = {code + 20 for code in POINT_CODES} +# A single group code 38 is an elevation tag (e.g. LWPOLYLINE) +# Is (18, 28, 38?) is a valid point code? +INVALID_Z_CODES.remove(38) +INVALID_CODES = INVALID_Y_CODES | INVALID_Z_CODES +X_CODES = POINT_CODES + + +def filter_invalid_point_codes(tagger: Iterable[DXFTag]) -> Iterable[DXFTag]: + """Filter invalid and misplaced point group codes. + + - removes x-axis without following y-axis + - removes y- and z-axis without leading x-axis + + Args: + tagger: low level tagger + + """ + + def entity() -> str: + if handle_tag: + return f"in entity #{_s(handle_tag[1])}" + else: + return "" + + expected_code = -1 + z_code = 0 + point: list[Any] = [] + handle_tag = None + for tag in tagger: + code = tag[0] + if code == 5: # ignore DIMSTYLE entity + handle_tag = tag + if point and code != expected_code: + # at least x, y axis is required else ignore point + if len(point) > 1: + yield from point + else: + logger.info( + f"remove misplaced x-axis tag: {str(point[0])}" + entity() + ) + point.clear() + + if code in X_CODES: + expected_code = code + 10 + z_code = code + 20 + point.append(tag) + elif code == expected_code: + point.append(tag) + expected_code += 10 + if expected_code > z_code: + expected_code = -1 + else: + # ignore point group codes without leading x-axis + if code not in INVALID_CODES: + yield tag + else: + axis = "y-axis" if code in INVALID_Y_CODES else "z-axis" + logger.info( + f"remove misplaced {axis} tag: {str(tag)}" + entity() + ) + + if len(point) == 1: + logger.info(f"remove misplaced x-axis tag: {str(point[0])}" + entity()) + elif len(point) > 1: + yield from point + + +def fix_coordinate_order(tags: Tags, codes: Sequence[int] = (10, 11)): + def extend_codes(): + for code in codes: + yield code # x tag + yield code + 10 # y tag + yield code + 20 # z tag + + def get_coords(code: int): + # if x or y coordinate is missing, it is a DXFStructureError + # but here is not the location to validate the DXF structure + try: + yield coordinates[code] + except KeyError: + pass + try: + yield coordinates[code + 10] + except KeyError: + pass + try: + yield coordinates[code + 20] + except KeyError: + pass + + coordinate_codes = frozenset(extend_codes()) + coordinates = {} + remaining_tags = [] + insert_pos = None + for tag in tags: + # separate tags + if tag.code in coordinate_codes: + coordinates[tag.code] = tag + if insert_pos is None: + insert_pos = tags.index(tag) + else: + remaining_tags.append(tag) + + if len(coordinates) == 0: + # no coordinates found, this is probably a DXFStructureError, + # but here is not the location to validate the DXF structure, + # just do nothing. + return tags + + ordered_coords = [] + for code in codes: + ordered_coords.extend(get_coords(code)) + remaining_tags[insert_pos:insert_pos] = ordered_coords + return remaining_tags + + +COORDINATE_FIXING_TOOLBOX = { + "LINE": partial(fix_coordinate_order, codes=(10, 11)), +} + + +def filter_invalid_xdata_group_codes( + tags: Iterable[DXFTag], +) -> Iterator[DXFTag]: + return (tag for tag in tags if tag.code in VALID_XDATA_GROUP_CODES) + + +def filter_invalid_handles(tags: Iterable[DXFTag]) -> Iterator[DXFTag]: + line = -1 + handle_code = 5 + structure_tag = "" + for tag in tags: + line += 2 + if tag.code == 0: + structure_tag = tag.value + if _s(tag.value) == "DIMSTYLE": + handle_code = 105 + else: + handle_code = 5 + elif tag.code == handle_code: + try: + int(tag.value, 16) + except ValueError: + logger.warning( + f'skipped invalid handle "{_s(tag.value)}" in ' + f'DXF entity "{_s(structure_tag)}" near line {line}' + ) + continue + yield tag + + +def _s(b) -> str: + if isinstance(b, bytes): + return b.decode(encoding="ascii", errors="ignore") + return b diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/lldxf/tagger.py b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/lldxf/tagger.py new file mode 100644 index 0000000000000000000000000000000000000000..3138a8d3b70b684a1d67b070c5e26c28684c962c --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/lldxf/tagger.py @@ -0,0 +1,384 @@ +# Copyright (c) 2016-2022, Manfred Moitzi +# License: MIT License +from __future__ import annotations +from typing import Iterable, TextIO, Iterator, Any, Optional, Sequence +import struct +from .types import ( + DXFTag, + DXFVertex, + DXFBinaryTag, + BYTES, + INT16, + INT32, + INT64, + DOUBLE, + POINT_CODES, + TYPE_TABLE, + BINARY_DATA, + is_point_code, +) +from .const import DXFStructureError +from ezdxf.tools.codepage import toencoding + + +def internal_tag_compiler(s: str) -> Iterable[DXFTag]: + """Yields DXFTag() from trusted (internal) source - relies on + well-formed and error free DXF format. Does not skip comment + tags (group code == 999). + + Args: + s: DXF unicode string, lines separated by universal line endings '\n' + + """ + assert isinstance(s, str) + lines: list[str] = s.split("\n") + # split() creates an extra item, if s ends with '\n', + # but lines[-1] can be an empty string!!! + if s.endswith("\n"): + lines.pop() + pos: int = 0 + count: int = len(lines) + point: tuple[float, ...] + while pos < count: + code = int(lines[pos]) + value = lines[pos + 1] + pos += 2 + if code in POINT_CODES: + # next tag; y-axis is mandatory - internal_tag_compiler relies on + # well formed DXF strings: + y = lines[pos + 1] + pos += 2 + if pos < count: + # next tag; z coordinate just for 3d points + z_code = int(lines[pos]) + z = lines[pos + 1] + else: # if string s ends with a 2d point + z_code, z = -1, "" + if z_code == code + 20: # 3d point + pos += 2 + point = (float(value), float(y), float(z)) + else: # 2d point + point = (float(value), float(y)) + yield DXFVertex(code, point) # 2d/3d point + elif code in BINARY_DATA: + yield DXFBinaryTag.from_string(code, value) + else: # single value tag: int, float or string + yield DXFTag(code, TYPE_TABLE.get(code, str)(value)) + + +# No performance advantage by processing binary data! +# +# Profiling result for just reading DXF data (profiling/raw_data_reading.py): +# Loading the example file "torso_uniform.dxf" (50MB) by readline() from a +# text stream with decoding takes ~0.65 seconds longer than loading the same +# file as binary data. +# +# Text :1.30s vs Binary data: 0.65s) +# This is twice the time, but without any processing, ascii_tags_loader() takes +# ~5.3 seconds to process this file. +# +# And this performance advantage is more than lost by the necessary decoding +# of the binary data afterwards, even much fewer strings have to be decoded, +# because numeric data like group codes and vertices doesn't need to be +# decoded. +# +# I assume the runtime overhead for calling Python functions is the reason. + + +def ascii_tags_loader(stream: TextIO, skip_comments: bool = True) -> Iterator[DXFTag]: + """Yields :class:``DXFTag`` objects from a text `stream` (untrusted + external source) and does not optimize coordinates. Comment tags (group + code == 999) will be skipped if argument `skip_comments` is `True`. + ``DXFTag.code`` is always an ``int`` and ``DXFTag.value`` is always an + unicode string without a trailing '\n'. + Works with file system streams and :class:`StringIO` streams, only required + feature is the :meth:`readline` method. + + Args: + stream: text stream + skip_comments: skip comment tags (group code == 999) if `True` + + Raises: + DXFStructureError: Found invalid group code. + + """ + line: int = 1 + eof = False + yield_comments = not skip_comments + # localize attributes + readline = stream.readline + _DXFTag = DXFTag + # readline() returns an empty string at EOF, not exception will be raised! + while not eof: + code: str = readline() + if code: # empty string indicates EOF + try: + group_code = int(code) + except ValueError: + raise DXFStructureError(f'Invalid group code "{code}" at line {line}.') + else: + return + + value: str = readline() + if value: # empty string indicates EOF + value = value.rstrip("\n") + if group_code == 0 and value == "EOF": + eof = True # yield EOF tag but ignore any data beyond EOF + if group_code != 999 or yield_comments: + yield _DXFTag(group_code, value) + line += 2 + else: + return + + +def binary_tags_loader( + data: bytes, errors: str = "surrogateescape" +) -> Iterator[DXFTag]: + """Yields :class:`DXFTag` or :class:`DXFBinaryTag` objects from binary DXF + `data` (untrusted external source) and does not optimize coordinates. + ``DXFTag.code`` is always an ``int`` and ``DXFTag.value`` is either an + unicode string,``float``, ``int`` or ``bytes`` for binary chunks. + + Args: + data: binary DXF data + errors: specify decoding error handler + + - "surrogateescape" to preserve possible binary data (default) + - "ignore" to use the replacement char U+FFFD: "\ufffd" + - "strict" to raise an :class:`UnicodeDecodeError` + + Raises: + DXFStructureError: Not a binary DXF file + DXFVersionError: Unsupported DXF version + UnicodeDecodeError: if `errors` is "strict" and a decoding error occurs + + """ + if data[:22] != b"AutoCAD Binary DXF\r\n\x1a\x00": + raise DXFStructureError("Not a binary DXF data structure.") + + def scan_params(): + dxfversion = "AC1009" + encoding = "cp1252" + try: + # Limit search to first 1024 bytes - an arbitrary number + # start index for 1-byte group code + start = data.index(b"$ACADVER", 22, 1024) + 10 + except ValueError: + pass # HEADER var $ACADVER not present + else: + if data[start] != 65: # not 'A' = 2-byte group code + start += 1 + dxfversion = data[start : start + 6].decode() + + if dxfversion >= "AC1021": + encoding = "utf8" + else: + try: + # Limit search to first 1024 bytes - an arbitrary number + # start index for 1-byte group code + start = data.index(b"$DWGCODEPAGE", 22, 1024) + 14 + except ValueError: + pass # HEADER var $DWGCODEPAGE not present + else: # name schema is 'ANSI_xxxx' + if data[start] != 65: # not 'A' = 2-byte group code + start += 1 + end = start + 5 + while data[end] != 0: + end += 1 + codepage = data[start:end].decode() + encoding = toencoding(codepage) + + return encoding, dxfversion + + encoding, dxfversion = scan_params() + r12 = dxfversion <= "AC1009" + index: int = 22 + data_length: int = len(data) + unpack = struct.unpack_from + value: Any + + while index < data_length: + # decode next group code + code = data[index] + if r12: + if code == 255: # extended data + code = (data[index + 2] << 8) | data[index + 1] + index += 3 + else: + index += 1 + else: # 2-byte group code + code = (data[index + 1] << 8) | code + index += 2 + + # decode next value + if code in BINARY_DATA: + length = data[index] + index += 1 + value = data[index : index + length] + index += length + yield DXFBinaryTag(code, value) + else: + if code in INT16: + value = unpack(" Iterator[DXFTag]: + """Compiles DXF tag values imported by ascii_tags_loader() into Python + types. + + Raises DXFStructureError() for invalid float values and invalid coordinate + values. + + Expects DXF coordinates written in x, y[, z] order, this is not required by + the DXF standard, but nearly all CAD applications write DXF coordinates that + (sane) way, there are older CAD applications (namely an older QCAD version) + that write LINE coordinates in x1, x2, y1, y2 order, which does not work + with tag_compiler(). For this cases use tag_reorder_layer() from the repair + module to reorder the LINE coordinates:: + + tag_compiler(tag_reorder_layer(ascii_tags_loader(stream))) + + Args: + tags: DXF tag generator e.g. ascii_tags_loader() + + Raises: + DXFStructureError: Found invalid DXF tag or unexpected coordinate order. + + """ + + def error_msg(tag): + return ( + f'Invalid tag (code={tag.code}, value="{tag.value}") ' f"near line: {line}." + ) + + undo_tag: Optional[DXFTag] = None + line: int = 0 + point: tuple[float, ...] + # Silencing mypy by "type: ignore", because this is a work horse function + # and should not be slowed down by isinstance(...) checks or unnecessary + # cast() calls + while True: + try: + if undo_tag is not None: + x = undo_tag + undo_tag = None + else: + x = next(tags) + line += 2 + code: int = x.code + if code in POINT_CODES: + # y-axis is mandatory + y = next(tags) + line += 2 + if y.code != code + 10: # like 20 for base x-code 10 + raise DXFStructureError( + f"Missing required y coordinate near line: {line}." + ) + # z-axis just for 3d points + z = next(tags) + line += 2 + try: + # z-axis like (30, 0.0) for base x-code 10 + if z.code == code + 20: + point = (float(x.value), float(y.value), float(z.value)) + else: + point = (float(x.value), float(y.value)) + undo_tag = z + except ValueError: + raise DXFStructureError( + f"Invalid floating point values near line: {line}." + ) + yield DXFVertex(code, point) + elif code in BINARY_DATA: + # Maybe pre compiled in low level tagger (binary DXF): + if isinstance(x, DXFBinaryTag): + tag = x + else: + try: + tag = DXFBinaryTag.from_string(code, x.value) + except ValueError: + raise DXFStructureError( + f"Invalid binary data near line: {line}." + ) + yield tag + else: # Just a single tag + try: + # Fast path! + if code == 0: + value = x.value.strip() + else: + value = x.value + yield DXFTag(code, TYPE_TABLE.get(code, str)(value)) + except ValueError: + # ProE stores int values as floats :(( + if TYPE_TABLE.get(code, str) is int: + try: + yield DXFTag(code, int(float(x.value))) + except ValueError: + raise DXFStructureError(error_msg(x)) + else: + raise DXFStructureError(error_msg(x)) + except StopIteration: + return + + +def json_tag_loader( + data: Sequence[Any], skip_comments: bool = True +) -> Iterator[DXFTag]: + """Yields :class:``DXFTag`` objects from a JSON data structure (untrusted + external source) and does not optimize coordinates. Comment tags (group + code == 999) will be skipped if argument `skip_comments` is `True`. + ``DXFTag.code`` is always an ``int`` and ``DXFTag.value`` is always an + unicode string without a trailing ``\n``. + + The expected JSON format is a list of [group-code, value] pairs where each pair is + a DXF tag. The `compact` and the `verbose` format is supported. + + Args: + data: JSON data structure as a sequence of [group-code, value] pairs + skip_comments: skip comment tags (group code == 999) if `True` + + Raises: + DXFStructureError: Found invalid group code or value type. + + """ + yield_comments = not skip_comments + _DXFTag = DXFTag + for tag_number, (code, value) in enumerate(data): + if not isinstance(code, int): + raise DXFStructureError( + f'Invalid group code "{code}" in tag number {tag_number}.' + ) + if is_point_code(code) and isinstance(value, (list, tuple)): + # yield coordinates as single tags + for index, coordinate in enumerate(value): + yield _DXFTag(code + index * 10, coordinate) + continue + if code != 999 or yield_comments: + yield _DXFTag(code, value) + if code == 0 and value == "EOF": + return diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/lldxf/tags.py b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/lldxf/tags.py new file mode 100644 index 0000000000000000000000000000000000000000..65b95f01460aebf74f5864ebc7d68d52d7e40938 --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/lldxf/tags.py @@ -0,0 +1,458 @@ +# Copyright (c) 2011-2022, Manfred Moitzi +# License: MIT License +""" +Tags +---- + +A list of :class:`~ezdxf.lldxf.types.DXFTag`, inherits from Python standard list. +Unlike the statement in the DXF Reference "Do not write programs that rely on +the order given here", tag order is sometimes essential and some group codes +may appear multiples times in one entity. At the worst case +(:class:`~ezdxf.entities.material.Material`: normal map shares group codes with +diffuse map) using same group codes with different meanings. + +""" +from __future__ import annotations +from typing import Iterable, Iterator, Any, Optional + +from .const import DXFStructureError, DXFValueError, STRUCTURE_MARKER +from .types import DXFTag, EMBEDDED_OBJ_MARKER, EMBEDDED_OBJ_STR, dxftag +from .tagger import internal_tag_compiler +from . import types + +COMMENT_CODE = 999 + + +class Tags(list): + """Collection of :class:`~ezdxf.lldxf.types.DXFTag` as flat list. + Low level tag container, only required for advanced stuff. + + """ + + @classmethod + def from_text(cls, text: str) -> Tags: + """Constructor from DXF string.""" + return cls(internal_tag_compiler(text)) + + @classmethod + def from_tuples(cls, tags: Iterable[tuple[int, Any]]) -> Tags: + return cls(DXFTag(code, value) for code, value in tags) + + def __copy__(self) -> Tags: + return self.__class__(tag.clone() for tag in self) + + clone = __copy__ + + def get_handle(self) -> str: + """Get DXF handle. Raises :class:`DXFValueError` if handle not exist. + + Returns: + handle as plain hex string like ``'FF00'`` + + Raises: + DXFValueError: no handle found + + """ + try: + code, handle = self[1] # fast path for most common cases + except IndexError: + raise DXFValueError("No handle found.") + + if code == 5 or code == 105: + return handle + + for code, handle in self: + if code == 5 or code == 105: + return handle + raise DXFValueError("No handle found.") + + def replace_handle(self, new_handle: str) -> None: + """Replace existing handle. + + Args: + new_handle: new handle as plain hex string e.g. ``'FF00'`` + + """ + for index, tag in enumerate(self): + if tag.code in (5, 105): + self[index] = DXFTag(tag.code, new_handle) + return + + def dxftype(self) -> str: + """Returns DXF type of entity, e.g. ``'LINE'``.""" + return self[0].value + + def has_tag(self, code: int) -> bool: + """Returns ``True`` if a :class:`~ezdxf.lldxf.types.DXFTag` with given + group `code` is present. + + Args: + code: group code as int + + """ + return any(tag.code == code for tag in self) + + def get_first_value(self, code: int, default: Any=DXFValueError) -> Any: + """Returns value of first :class:`~ezdxf.lldxf.types.DXFTag` with given + group code or default if `default` != :class:`DXFValueError`, else + raises :class:`DXFValueError`. + + Args: + code: group code as int + default: return value for default case or raises :class:`DXFValueError` + + """ + for tag in self: + if tag.code == code: + return tag.value + if default is DXFValueError: + raise DXFValueError(code) + else: + return default + + def get_first_tag(self, code: int, default=DXFValueError) -> DXFTag: + """Returns first :class:`~ezdxf.lldxf.types.DXFTag` with given group + code or `default`, if `default` != :class:`DXFValueError`, else raises + :class:`DXFValueError`. + + Args: + code: group code as int + default: return value for default case or raises :class:`DXFValueError` + + """ + for tag in self: + if tag.code == code: + return tag + if default is DXFValueError: + raise DXFValueError(code) + else: + return default + + def find_all(self, code: int) -> Tags: + """Returns a list of :class:`~ezdxf.lldxf.types.DXFTag` with given + group code. + + Args: + code: group code as int + + """ + return self.__class__(tag for tag in self if tag.code == code) + + def tag_index(self, code: int, start: int = 0, end: Optional[int] = None) -> int: + """Return index of first :class:`~ezdxf.lldxf.types.DXFTag` with given + group code. + + Args: + code: group code as int + start: start index as int + end: end index as int, ``None`` for end index = ``len(self)`` + + """ + if end is None: + end = len(self) + index = start + while index < end: + if self[index].code == code: + return index + index += 1 + raise DXFValueError(code) + + def update(self, tag: DXFTag) -> None: + """Update first existing tag with same group code as `tag`, raises + :class:`DXFValueError` if tag not exist. + + """ + index = self.tag_index(tag.code) + self[index] = tag + + def set_first(self, tag: DXFTag) -> None: + """Update first existing tag with group code ``tag.code`` or append tag.""" + try: + self.update(tag) + except DXFValueError: + self.append(tag) + + def remove_tags(self, codes: Iterable[int]) -> None: + """Remove all tags inplace with group codes specified in `codes`. + + Args: + codes: iterable of group codes as int + + """ + self[:] = [tag for tag in self if tag.code not in set(codes)] + + def pop_tags(self, codes: Iterable[int]) -> Iterator[DXFTag]: + """Pop tags with group codes specified in `codes`. + + Args: + codes: iterable of group codes + + """ + remaining = [] + codes = set(codes) + for tag in self: + if tag.code in codes: + yield tag + else: + remaining.append(tag) + self[:] = remaining + + def remove_tags_except(self, codes: Iterable[int]) -> None: + """Remove all tags inplace except those with group codes specified in + `codes`. + + Args: + codes: iterable of group codes + + """ + self[:] = [tag for tag in self if tag.code in set(codes)] + + def filter(self, codes: Iterable[int]) -> Iterator[DXFTag]: + """Iterate and filter tags by group `codes`. + + Args: + codes: group codes to filter + + """ + return (tag for tag in self if tag.code not in set(codes)) + + def collect_consecutive_tags( + self, codes: Iterable[int], start: int = 0, end: Optional[int] = None + ) -> Tags: + """Collect all consecutive tags with group code in `codes`, `start` and + `end` delimits the search range. A tag code not in codes ends the + process. + + Args: + codes: iterable of group codes + start: start index as int + end: end index as int, ``None`` for end index = ``len(self)`` + + Returns: + collected tags as :class:`Tags` + + """ + codes = frozenset(codes) + index = int(start) + if end is None: + end = len(self) + bag = self.__class__() + + while index < end: + tag = self[index] + if tag.code in codes: + bag.append(tag) + index += 1 + else: + break + return bag + + def has_embedded_objects(self) -> bool: + for tag in self: + if tag.code == EMBEDDED_OBJ_MARKER and tag.value == EMBEDDED_OBJ_STR: + return True + return False + + @classmethod + def strip(cls, tags: Tags, codes: Iterable[int]) -> Tags: + """Constructor from `tags`, strips all tags with group codes in `codes` + from tags. + + Args: + tags: iterable of :class:`~ezdxf.lldxf.types.DXFTag` + codes: iterable of group codes as int + + """ + return cls((tag for tag in tags if tag.code not in frozenset(codes))) + + def get_soft_pointers(self) -> Tags: + """Returns all soft-pointer handles in group code range 330-339.""" + return Tags(tag for tag in self if types.is_soft_pointer(tag)) + + def get_hard_pointers(self) -> Tags: + """Returns all hard-pointer handles in group code range 340-349, 390-399 and + 480-481. Hard pointers protect an object from being purged. + """ + return Tags(tag for tag in self if types.is_hard_pointer(tag)) + + def get_soft_owner_handles(self) -> Tags: + """Returns all soft-owner handles in group code range 350-359.""" + return Tags(tag for tag in self if types.is_soft_owner(tag)) + + def get_hard_owner_handles(self) -> Tags: + """Returns all hard-owner handles in group code range 360-369.""" + return Tags(tag for tag in self if types.is_hard_owner(tag)) + + def has_translatable_pointers(self) -> bool: + """Returns ``True`` if any pointer handle has to be translated during INSERT + and XREF operations. + """ + return any(types.is_translatable_pointer(tag) for tag in self) + + def get_translatable_pointers(self) -> Tags: + """Returns all pointer handles which should be translated during INSERT and XREF + operations. + """ + return Tags(tag for tag in self if types.is_translatable_pointer(tag)) + + +def text2tags(text: str) -> Tags: + return Tags.from_text(text) + + +def group_tags( + tags: Iterable[DXFTag], splitcode: int = STRUCTURE_MARKER +) -> Iterable[Tags]: + """Group of tags starts with a SplitTag and ends before the next SplitTag. + A SplitTag is a tag with code == splitcode, like (0, 'SECTION') for + splitcode == 0. + + Args: + tags: iterable of :class:`DXFTag` + splitcode: group code of split tag + + """ + + # first do nothing, skip tags in front of the first split tag + def append(tag): + pass + + group = None + for tag in tags: + if tag.code == splitcode: + if group is not None: + yield group + group = Tags([tag]) + append = group.append # redefine append: add tags to this group + else: + append(tag) + if group is not None: + yield group + + +def text_to_multi_tags( + text: str, code: int = 303, size: int = 255, line_ending: str = "^J" +) -> Tags: + text = "".join(text).replace("\n", line_ending) + + def chop(): + start = 0 + end = size + while start < len(text): + yield text[start:end] + start = end + end += size + + return Tags(DXFTag(code, part) for part in chop()) + + +def multi_tags_to_text(tags: Tags, line_ending: str = "^J") -> str: + return "".join(tag.value for tag in tags).replace(line_ending, "\n") + + +OPEN_LIST = (1002, "{") +CLOSE_LIST = (1002, "}") + + +def xdata_list(name: str, xdata_tags: Iterable) -> Tags: + tags = Tags() + if name: + tags.append((1000, name)) + tags.append(OPEN_LIST) + tags.extend(xdata_tags) + tags.append(CLOSE_LIST) + return tags + + +def remove_named_list_from_xdata(name: str, tags: Tags) -> Tags: + start, end = get_start_and_end_of_named_list_in_xdata(name, tags) + del tags[start:end] + return tags + + +def get_named_list_from_xdata(name: str, tags: Tags) -> Tags: + start, end = get_start_and_end_of_named_list_in_xdata(name, tags) + return Tags(tags[start:end]) + + +class NotFoundException(Exception): + pass + + +def get_start_and_end_of_named_list_in_xdata(name: str, tags: Tags) -> tuple[int, int]: + start = None + end = None + level = 0 + for index in range(len(tags)): + tag = tags[index] + + if start is None and tag == (1000, name): + next_tag = tags[index + 1] + if next_tag == OPEN_LIST: + start = index + continue + if start is not None: + if tag == OPEN_LIST: + level += 1 + elif tag == CLOSE_LIST: + level -= 1 + if level == 0: + end = index + break + + if start is None: + raise NotFoundException + if end is None: + raise DXFStructureError('Invalid XDATA structure: missing (1002, "}").') + return start, end + 1 + + +def find_begin_and_end_of_encoded_xdata_tags(name: str, tags: Tags) -> tuple[int, int]: + """Find encoded XDATA tags, surrounded by group code 1000 tags + name_BEGIN and name_END (e.g. MTEXT column specification). + + Raises: + NotFoundError: tag group not found + DXFStructureError: missing begin- or end tag + + """ + begin_name = name + "_BEGIN" + end_name = name + "_END" + start = None + end = None + for index, (code, value) in enumerate(tags): + if code == 1000: + if value == begin_name: + start = index + elif value == end_name: + end = index + 1 + break + if start is None: + if end is not None: # end tag without begin tag! + raise DXFStructureError( + f"Invalid XDATA structure: missing begin tag (1000, {begin_name})." + ) + raise NotFoundException + if end is None: + raise DXFStructureError( + f"Invalid XDATA structure: missing end tag (1000, {end_name})." + ) + return start, end + + +def binary_data_to_dxf_tags( + data: bytes, + length_group_code: int = 160, + value_group_code: int = 310, + value_size=127, +) -> Tags: + """Convert binary data to DXF tags.""" + tags = Tags() + length = len(data) + tags.append(dxftag(length_group_code, length)) + index = 0 + while index < length: + chunk = data[index : index + value_size] + tags.append(dxftag(value_group_code, chunk)) + index += value_size + return tags diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/lldxf/tagwriter.py b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/lldxf/tagwriter.py new file mode 100644 index 0000000000000000000000000000000000000000..5dbd24cf17b9a45e34d760b76172b63b107a3e08 --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/lldxf/tagwriter.py @@ -0,0 +1,316 @@ +# Copyright (c) 2018-2024, Manfred Moitzi +# License: MIT License +from __future__ import annotations +from typing import Any, TextIO, TYPE_CHECKING, Union, Iterable, BinaryIO +import abc + +from .types import TAG_STRING_FORMAT, cast_tag_value, DXFVertex +from .types import BYTES, INT16, INT32, INT64, DOUBLE, BINARY_DATA +from .tags import DXFTag, Tags +from .const import LATEST_DXF_VERSION +from ezdxf.tools import take2 +import struct + +if TYPE_CHECKING: + from ezdxf.lldxf.extendedtags import ExtendedTags + from ezdxf.entities import DXFEntity + +__all__ = [ + "TagWriter", + "BinaryTagWriter", + "TagCollector", + "basic_tags_from_text", + "AbstractTagWriter", +] +CRLF = b"\r\n" + + +class AbstractTagWriter: + # Options for functions using an inherited class for DXF export: + dxfversion = LATEST_DXF_VERSION + write_handles = True + # Force writing optional values if equal to default value when True. + # True is only used for testing scenarios! + force_optional = False + + # Start of low level interface: + @abc.abstractmethod + def write_tag(self, tag: DXFTag) -> None: ... + + @abc.abstractmethod + def write_tag2(self, code: int, value: Any) -> None: ... + + @abc.abstractmethod + def write_str(self, s: str) -> None: ... + + # End of low level interface + + # Tag export based on low level tag export: + def write_tags(self, tags: Union[Tags, ExtendedTags]) -> None: + for tag in tags: + self.write_tag(tag) + + def write_vertex(self, code: int, vertex: Iterable[float]) -> None: + for index, value in enumerate(vertex): + self.write_tag2(code + index * 10, value) + + +class TagWriter(AbstractTagWriter): + """Writes DXF tags into a text stream.""" + + def __init__( + self, + stream: TextIO, + dxfversion: str = LATEST_DXF_VERSION, + write_handles: bool = True, + ): + self._stream: TextIO = stream + self.dxfversion: str = dxfversion + self.write_handles: bool = write_handles + self.force_optional: bool = False + + # Start of low level interface: + def write_tag(self, tag: DXFTag) -> None: + self._stream.write(tag.dxfstr()) + + def write_tag2(self, code: int, value: Any) -> None: + self._stream.write(TAG_STRING_FORMAT % (code, value)) + + def write_str(self, s: str) -> None: + self._stream.write(s) + + # End of low level interface + + def write_vertex(self, code: int, vertex: Iterable[float]) -> None: + """Optimized vertex export.""" + write = self._stream.write + for index, value in enumerate(vertex): + write(TAG_STRING_FORMAT % (code + index * 10, value)) + + +class BinaryTagWriter(AbstractTagWriter): + """Write binary encoded DXF tags into a binary stream. + + .. warning:: + + DXF files containing ``ACSH_SWEEP_CLASS`` entities and saved as Binary + DXF by `ezdxf` can not be opened with AutoCAD, this is maybe also true + for other 3rd party entities. BricsCAD opens this binary DXF files + without complaining, but saves the ``ACSH_SWEEP_CLASS`` entities as + ``ACAD_PROXY_OBJECT`` when writing back, so error analyzing is not + possible without the full version of AutoCAD. + + I have no clue why, because converting this DXF files from binary + format back to ASCII format by `ezdxf` produces a valid DXF for + AutoCAD - so all required information is preserved. + + Two examples available: + + - AutodeskSamples\visualization_-_condominium_with_skylight.dxf + - AutodeskSamples\visualization_-_conference_room.dxf + + """ + + def __init__( + self, + stream: BinaryIO, + dxfversion=LATEST_DXF_VERSION, + write_handles: bool = True, + encoding="utf8", + ): + self._stream = stream + self.dxfversion = dxfversion + self.write_handles = write_handles + self._encoding = encoding # output encoding + self._r12 = self.dxfversion <= "AC1009" + + def write_signature(self) -> None: + self._stream.write(b"AutoCAD Binary DXF\r\n\x1a\x00") + + # Start of low level interface: + def write_tag(self, tag: DXFTag) -> None: + if isinstance(tag, DXFVertex): + for code, value in tag.dxftags(): + self.write_tag2(code, value) + else: + self.write_tag2(tag.code, tag.value) + + def write_str(self, s: str) -> None: + data = s.split("\n") + for code, value in take2(data): + self.write_tag2(int(code), value) + + def write_tag2(self, code: int, value: Any) -> None: + # Binary DXF files do not support comments! + assert code != 999 + if code in BINARY_DATA: + self._write_binary_chunks(code, value) + return + stream = self._stream + + # write group code + if self._r12: + # Special group code handling if DXF R12 and older + if code >= 1000: # extended data + stream.write(b"\xff") + # always 2-byte group code for extended data + stream.write(code.to_bytes(2, "little")) + else: + stream.write(code.to_bytes(1, "little")) + else: # for R2000+ do not need a leading 0xff in front of extended data + stream.write(code.to_bytes(2, "little")) + # write tag content + if code in BYTES: + stream.write(int(value).to_bytes(1, "little")) + elif code in INT16: + stream.write(int(value).to_bytes(2, "little", signed=True)) + elif code in INT32: + stream.write(int(value).to_bytes(4, "little", signed=True)) + elif code in INT64: + stream.write(int(value).to_bytes(8, "little", signed=True)) + elif code in DOUBLE: + stream.write(struct.pack(" None: + # Split binary data into small chunks, 127 bytes is the + # regular size of binary data in ASCII DXF files. + CHUNK_SIZE = 127 + index = 0 + size = len(data) + stream = self._stream + + while index < size: + # write group code + if self._r12 and code >= 1000: # extended data, just 1004? + stream.write(b"\xff") # extended data marker + # binary data does not exist in regular R12 entities, + # only 2-byte group codes required + stream.write(code.to_bytes(2, "little")) + + # write max CHUNK_SIZE bytes of binary data in one tag + chunk = data[index : index + CHUNK_SIZE] + # write actual chunk size + stream.write(len(chunk).to_bytes(1, "little")) + stream.write(chunk) + index += CHUNK_SIZE + + +class TagCollector(AbstractTagWriter): + """Collect DXF tags as DXFTag() entities for testing.""" + + def __init__( + self, + dxfversion: str = LATEST_DXF_VERSION, + write_handles: bool = True, + optional: bool = True, + ): + self.tags: list[DXFTag] = [] + self.dxfversion: str = dxfversion + self.write_handles: bool = write_handles + self.force_optional: bool = optional + + # Start of low level interface: + def write_tag(self, tag: DXFTag) -> None: + if hasattr(tag, "dxftags"): + self.tags.extend(tag.dxftags()) + else: + self.tags.append(tag) + + def write_tag2(self, code: int, value: Any) -> None: + self.tags.append(DXFTag(code, cast_tag_value(int(code), value))) + + def write_str(self, s: str) -> None: + self.write_tags(Tags.from_text(s)) + + # End of low level interface + + def has_all_tags(self, other: TagCollector): + return all(tag in self.tags for tag in other.tags) + + def reset(self): + self.tags = [] + + @classmethod + def dxftags(cls, entity: DXFEntity, dxfversion=LATEST_DXF_VERSION): + collector = cls(dxfversion=dxfversion) + entity.export_dxf(collector) + return Tags(collector.tags) + + +def basic_tags_from_text(text: str) -> list[DXFTag]: + """Returns all tags from `text` as basic DXFTags(). All complex tags are + resolved into basic (code, value) tags (e.g. DXFVertex(10, (1, 2, 3)) -> + DXFTag(10, 1), DXFTag(20, 2), DXFTag(30, 3). + + Args: + text: DXF data as string + + Returns: List of basic DXF tags (code, value) + + """ + collector = TagCollector() + collector.write_tags(Tags.from_text(text)) + return collector.tags + + +class JSONTagWriter(AbstractTagWriter): + """Writes DXF tags in JSON format into a text stream. + + The `compact` format is a list of ``[group-code, value]`` pairs where each pair is + a DXF tag. The group-code has to be an integer and the value has to be a string, + integer, float or list of floats for vertices. + + The `verbose` format (`compact` is ``False``) is a list of ``[group-code, value]`` + pairs where each pair is a 1:1 representation of a DXF tag. The group-code has to be + an integer and the value has to be a string. + + """ + + JSON_HEADER = "[\n" + JSON_STRING = '[{0}, "{1}"],\n' + JSON_NUMBER = '[{0}, {1}],\n' + VERTEX_TAG_FORMAT = "[{0}, {1}],\n" + + def __init__( + self, + stream: TextIO, + dxfversion: str = LATEST_DXF_VERSION, + write_handles=True, + compact=True, + ): + self._stream = stream + self.dxfversion = str(dxfversion) + self.write_handles = bool(write_handles) + self.force_optional = False + self.compact = bool(compact) + self._stream.write(self.JSON_HEADER) + + def write_tag(self, tag: DXFTag) -> None: + if isinstance(tag, DXFVertex): + if self.compact: + vertex = ",".join(str(value) for _, value in tag.dxftags()) + self._stream.write( + self.VERTEX_TAG_FORMAT.format(tag.code, f"[{vertex}]") + ) + else: + for code, value in tag.dxftags(): + self.write_tag2(code, value) + else: + self.write_tag2(tag.code, tag.value) + + def write_tag2(self, code: int, value: Any) -> None: + if code == 0 and value == "EOF": + self._stream.write('[0, "EOF"]\n]\n') # no trailing comma! + return + if self.compact and isinstance(value, (float, int)): + self._stream.write(self.JSON_NUMBER.format(code, value)) + return + self._stream.write(self.JSON_STRING.format(code, value)) + + def write_str(self, s: str) -> None: + self.write_tags(Tags.from_text(s)) diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/lldxf/types.py b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/lldxf/types.py new file mode 100644 index 0000000000000000000000000000000000000000..b19efe0f77df57607fd3bedd954a9a19eeadf409 --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/lldxf/types.py @@ -0,0 +1,472 @@ +# Copyright (c) 2014-2022, Manfred Moitzi +# License: MIT License +""" +DXF Types +========= + +Required DXF tag interface: + + - property :attr:`code`: group code as int + - property :attr:`value`: tag value of unspecific type + - :meth:`dxfstr`: returns the DXF string + - :meth:`clone`: returns a deep copy of tag + +""" +from __future__ import annotations +from typing import ( + Union, + Iterable, + Sequence, + Type, + Any, +) +from array import array +from itertools import chain +from binascii import unhexlify, hexlify +import reprlib +from ezdxf.math import Vec3 + + +TAG_STRING_FORMAT = "%3d\n%s\n" +POINT_CODES = { + 10, + 11, + 12, + 13, + 14, + 15, + 16, + 17, + 18, + 110, + 111, + 112, + 210, + 211, + 212, + 213, + 1010, + 1011, + 1012, + 1013, +} + +MAX_GROUP_CODE = 1071 +GENERAL_MARKER = 0 +SUBCLASS_MARKER = 100 +XDATA_MARKER = 1001 +EMBEDDED_OBJ_MARKER = 101 +APP_DATA_MARKER = 102 +EXT_DATA_MARKER = 1001 +GROUP_MARKERS = { + GENERAL_MARKER, + SUBCLASS_MARKER, + EMBEDDED_OBJ_MARKER, + APP_DATA_MARKER, + EXT_DATA_MARKER, +} +BINARY_FLAGS = {70, 90} +HANDLE_CODES = {5, 105} +POINTER_CODES = set(chain(range(320, 370), range(390, 400), (480, 481, 1005))) + +# pointer group codes 320-329 are not translated during INSERT and XREF operations +TRANSLATABLE_POINTER_CODES = set( + chain(range(330, 370), range(390, 400), (480, 481, 1005)) +) +HEX_HANDLE_CODES = set(chain(HANDLE_CODES, POINTER_CODES)) +BINARY_DATA = {310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 1004} +EMBEDDED_OBJ_STR = "Embedded Object" + +BYTES = set(range(290, 300)) # bool + +INT16 = set( + chain( + range(60, 80), + range(170, 180), + range(270, 290), + range(370, 390), + range(400, 410), + range(1060, 1071), + ) +) + +INT32 = set( + chain( + range(90, 100), + range(420, 430), + range(440, 450), + range(450, 460), # Long in DXF reference, ->signed<- or unsigned? + [1071], + ) +) + +INT64 = set(range(160, 170)) + +DOUBLE = set( + chain( + range(10, 60), + range(110, 150), + range(210, 240), + range(460, 470), + range(1010, 1060), + ) +) + +VALID_XDATA_GROUP_CODES = { + 1000, + 1001, + 1002, + 1003, + 1004, + 1005, + 1010, + 1011, + 1012, + 1013, + 1040, + 1041, + 1042, + 1070, + 1071, +} + + +def _build_type_table(types): + table = {} + for caster, codes in types: + for code in codes: + table[code] = caster + return table + + +TYPE_TABLE = _build_type_table( + [ + # all group code < 0 are spacial tags for internal use + (float, DOUBLE), + (int, BYTES), + (int, INT16), + (int, INT32), + (int, INT64), + ] +) + + +class DXFTag: + """Immutable DXFTag class. + + Args: + code: group code as int + value: tag value, type depends on group code + + """ + + __slots__ = ("_code", "_value") + + def __init__(self, code: int, value: Any): + self._code: int = int(code) + # Do not use _value, always use property value - overwritten in subclasses + self._value = value + + def __str__(self) -> str: + """Returns content string ``'(code, value)'``.""" + return str((self._code, self.value)) + + def __repr__(self) -> str: + """Returns representation string ``'DXFTag(code, value)'``.""" + return f"DXFTag{str(self)}" + + @property + def code(self) -> int: + return self._code + + @property + def value(self) -> Any: + return self._value + + def __getitem__(self, index: int): + """Returns :attr:`code` for index 0 and :attr:`value` for index 1, + emulates a tuple. + """ + return (self._code, self.value)[index] + + def __iter__(self): + """Returns (code, value) tuples.""" + yield self._code + yield self.value + + def __eq__(self, other) -> bool: + """``True`` if `other` and `self` has same content for :attr:`code` + and :attr:`value`. + """ + return (self._code, self.value) == other + + def __hash__(self): + """Hash support, :class:`DXFTag` can be used in sets and as dict key.""" + return hash((self._code, self._value)) + + def dxfstr(self) -> str: + """Returns the DXF string e.g. ``' 0\\nLINE\\n'``""" + return TAG_STRING_FORMAT % (self.code, self._value) + + def clone(self) -> "DXFTag": + """Returns a clone of itself, this method is necessary for the more + complex (and not immutable) DXF tag types. + """ + return self # immutable tags + + +# Special marker tag +NONE_TAG = DXFTag(0, 0) + + +def uniform_appid(appid: str) -> str: + if appid[0] == "{": + return appid + else: + return "{" + appid + + +def is_app_data_marker(tag: DXFTag) -> bool: + return tag.code == APP_DATA_MARKER and tag.value.startswith("{") + + +def is_embedded_object_marker(tag: DXFTag) -> bool: + return tag.code == EMBEDDED_OBJ_MARKER and tag.value == EMBEDDED_OBJ_STR + + +def is_arbitrary_pointer(tag: DXFTag) -> bool: + """Arbitrary object handles; handle values that are taken "as is". + They are not translated during INSERT and XREF operations. + """ + return 319 < tag.code < 330 + + +def is_soft_pointer(tag: DXFTag) -> bool: + """Soft-pointer handle; arbitrary soft pointers to other objects within same DXF + file or drawing. Translated during INSERT and XREF operations. + """ + return 329 < tag.code < 340 or tag.code == 1005 + + +def is_hard_pointer(tag: DXFTag) -> bool: + """Hard-pointer handle; arbitrary hard pointers to other objects within same DXF + file or drawing. Translated during INSERT and XREF operations. Hard pointers + protect an object from being purged. + """ + code = tag.code + return 339 < code < 350 or 389 < code < 400 or 479 < code < 482 + + +def is_soft_owner(tag: DXFTag) -> bool: + """Soft-owner handle; arbitrary soft ownership links to other objects within same + DXF file or drawing. Translated during INSERT and XREF operations. + """ + return 349 < tag.code < 360 + + +def is_hard_owner(tag: DXFTag) -> bool: + """Hard-owner handle; arbitrary hard ownership links to other objects within same + DXF file or drawing. Translated during INSERT and XREF operations. Hard owner handle + protect an object from being purged. + """ + return 359 < tag.code < 370 + + +def is_translatable_pointer(tag: DXFTag) -> bool: + # pointer group codes 320-329 are not translated during INSERT and XREF operations + return tag.code in TRANSLATABLE_POINTER_CODES + + +class DXFVertex(DXFTag): + """Represents a 2D or 3D vertex, stores only the group code of the + x-component of the vertex, because the y-group-code is x-group-code + 10 + and z-group-code id x-group-code+20, this is a rule that ALWAYS applies. + This tag is `immutable` by design, not by implementation. + + Args: + code: group code of x-component + value: sequence of x, y and optional z values + + """ + + __slots__ = () + + def __init__(self, code: int, value: Iterable[float]): + super(DXFVertex, self).__init__(code, array("d", value)) + + def __str__(self) -> str: + return str(self.value) + + def __repr__(self) -> str: + return f"DXFVertex({self.code}, {str(self)})" + + def __hash__(self): + x, y, *z = self._value + z = 0.0 if len(z) == 0 else z[0] + return hash((self.code, x, y, z)) + + @property + def value(self) -> tuple[float, ...]: + return tuple(self._value) + + def dxftags(self) -> Iterable[DXFTag]: + """Returns all vertex components as single :class:`DXFTag` objects.""" + c = self.code + return ( + DXFTag(code, value) for code, value in zip((c, c + 10, c + 20), self.value) + ) + + def dxfstr(self) -> str: + """Returns the DXF string for all vertex components.""" + return "".join(tag.dxfstr() for tag in self.dxftags()) + + +class DXFBinaryTag(DXFTag): + """Immutable BinaryTags class - immutable by design, not by implementation.""" + + __slots__ = () + + def __str__(self) -> str: + return f"({self.code}, {self.tostring()})" + + def __repr__(self) -> str: + return f"DXFBinaryTag({self.code}, {reprlib.repr(self.tostring())})" + + def tostring(self) -> str: + """Returns binary value as single hex-string.""" + assert isinstance(self.value, bytes) + return hexlify(self.value).upper().decode() + + def dxfstr(self) -> str: + """Returns the DXF string for all vertex components.""" + return TAG_STRING_FORMAT % (self.code, self.tostring()) + + @classmethod + def from_string(cls, code: int, value: Union[str, bytes]): + return cls(code, unhexlify(value)) + + +def dxftag(code: int, value: Any) -> DXFTag: + """DXF tag factory function. + + Args: + code: group code + value: tag value + + Returns: :class:`DXFTag` or inherited + + """ + if code in BINARY_DATA: + return DXFBinaryTag(code, value) + elif code in POINT_CODES: + return DXFVertex(code, value) + else: + return DXFTag(code, cast_tag_value(code, value)) + + +def tuples_to_tags(iterable: Iterable[tuple[int, Any]]) -> Iterable[DXFTag]: + """Returns an iterable if :class:`DXFTag` or inherited, accepts an + iterable of (code, value) tuples as input. + """ + for code, value in iterable: + if code in POINT_CODES: + yield DXFVertex(code, value) + elif code in BINARY_DATA: + assert isinstance(value, (str, bytes)) + yield DXFBinaryTag.from_string(code, value) + else: + yield DXFTag(code, value) + + +def is_valid_handle(handle) -> bool: + if isinstance(handle, str): + try: + int(handle, 16) + return True + except (ValueError, TypeError): + pass + return False + + +def is_binary_data(code: int) -> bool: + return code in BINARY_DATA + + +def is_pointer_code(code: int) -> bool: + return code in POINTER_CODES + + +def is_point_code(code: int) -> bool: + return code in POINT_CODES + + +def is_point_tag(tag: Sequence) -> bool: + return tag[0] in POINT_CODES + + +def cast_tag_value(code: int, value: Any) -> Any: + return TYPE_TABLE.get(code, str)(value) + + +def tag_type(code: int) -> Type: + return TYPE_TABLE.get(code, str) + + +def strtag(tag: Union[DXFTag, tuple[int, Any]]) -> str: + return TAG_STRING_FORMAT % tuple(tag) + + +def get_xcode_for(code) -> int: + if code in HEX_HANDLE_CODES: + return 1005 + if code in BINARY_DATA: + return 1004 + type_ = TYPE_TABLE.get(code, str) + if type_ is int: + return 1070 + if type_ is float: + return 1040 + return 1000 + + +def cast_value(code: int, value): + if value is not None: + if code in POINT_CODES: + return Vec3(value) + return TYPE_TABLE.get(code, str)(value) + else: + return None + + +TAG_TYPES = { + int: "", + float: "", + str: "", +} + + +def tag_type_str(code: int) -> str: + if code in GROUP_MARKERS: + return "" + elif code in HANDLE_CODES: + return "" + elif code in POINTER_CODES: + return "" + elif is_point_code(code): + return "" + elif is_binary_data(code): + return "" + else: + return TAG_TYPES[tag_type(code)] + + +def render_tag(tag: DXFTag, col: int) -> Any: + code, value = tag + if col == 0: + return str(code) + elif col == 1: + return tag_type_str(code) + elif col == 2: + return str(value) + else: + raise IndexError(col) diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/lldxf/validator.py b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/lldxf/validator.py new file mode 100644 index 0000000000000000000000000000000000000000..a133a586cd3793b7d37ca64664e914f9f438468b --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/lldxf/validator.py @@ -0,0 +1,560 @@ +# Copyright (C) 2018-2023, Manfred Moitzi +# License: MIT License +from __future__ import annotations +from typing import TextIO, Iterable, Optional, cast, Sequence, Iterator +import logging +import io +import bisect +import math + +from .const import ( + DXFStructureError, + DXFError, + DXFValueError, + DXFTypeError, + DXFAppDataError, + DXFXDataError, + APP_DATA_MARKER, + HEADER_VAR_MARKER, + XDATA_MARKER, + INVALID_LAYER_NAME_CHARACTERS, + acad_release, + VALID_DXF_LINEWEIGHT_VALUES, + VALID_DXF_LINEWEIGHTS, + LINEWEIGHT_BYLAYER, + TRANSPARENCY_BYBLOCK, +) + +from .tagger import ascii_tags_loader, binary_tags_loader +from .types import is_embedded_object_marker, DXFTag, NONE_TAG +from ezdxf.tools.codepage import toencoding +from ezdxf.math import NULLVEC, Vec3 + +logger = logging.getLogger("ezdxf") + + +class DXFInfo: + """DXF Info Record + + .. attribute:: release + + .. attribute:: version + + .. attribute:: encoding + + .. attribute:: handseed + + .. attribute:: insert_units + + .. attribute:: insert_base + + """ + + EXPECTED_COUNT = 5 + + def __init__(self) -> None: + self.release: str = "R12" + self.version: str = "AC1009" + self.encoding: str = "cp1252" + self.handseed: str = "0" + self.insert_units: int = 0 # unitless + self.insert_base: Vec3 = NULLVEC + + def __str__(self) -> str: + return "\n".join(self.data_strings()) + + def data_strings(self) -> list[str]: + from ezdxf import units + + return [ + f"release: {self.release}", + f"version: {self.version}", + f"encoding: {self.encoding}", + f"next handle: 0x{self.handseed}", + f"insert units: {self.insert_units} <{units.decode(self.insert_units)}>", + f"insert base point: {self.insert_base}", + ] + + def set_header_var(self, name: str, value) -> int: + if name == "$ACADVER": + self.version = str(value) + self.release = acad_release.get(value, "R12") + elif name == "$DWGCODEPAGE": + self.encoding = toencoding(value) + elif name == "$HANDSEED": + self.handseed = str(value) + elif name == "$INSUNITS": + try: + self.insert_units = int(value) + except ValueError: + pass + elif name == "$INSBASE": + try: + self.insert_base = Vec3(value) + except (ValueError, TypeError): + pass + else: + return 0 + return 1 + + +def dxf_info(stream: TextIO) -> DXFInfo: + """Scans the HEADER section of an ASCII DXF document and returns a :class:`DXFInfo` + object, which contains information about the DXF version, text encoding, drawing + units and insertion base point. + """ + return _detect_dxf_info(ascii_tags_loader(stream)) + + +def binary_dxf_info(data: bytes) -> DXFInfo: + """Scans the HEADER section of a binary DXF document and returns a :class:`DXFInfo` + object, which contains information about the DXF version, text encoding, drawing + units and insertion base point. + """ + return _detect_dxf_info(binary_tags_loader(data)) + + +def _detect_dxf_info(tagger: Iterator[DXFTag]) -> DXFInfo: + info = DXFInfo() + # comments will be skipped + if next(tagger) != (0, "SECTION"): + # unexpected or invalid DXF structure + return info + if next(tagger) != (2, "HEADER"): + # Without a leading HEADER section the document is processed as DXF R12 file + # with only an ENTITIES section. + return info + tag = NONE_TAG + undo_tag = NONE_TAG + found: int = 0 + while tag != (0, "ENDSEC"): + if undo_tag is NONE_TAG: + tag = next(tagger) + else: + tag = undo_tag + undo_tag = NONE_TAG + if tag.code != HEADER_VAR_MARKER: + continue + var_name = str(tag.value) + code, value = next(tagger) + if code == 10: + x = float(value) + y = float(next(tagger).value) + z = 0.0 + tag = next(tagger) + if tag.code == 30: + z = float(tag.value) + else: + undo_tag = tag + value = Vec3(x, y, z) + found += info.set_header_var(var_name, value) + if found >= DXFInfo.EXPECTED_COUNT: + break + return info + + +def header_validator(tagger: Iterable[DXFTag]) -> Iterable[DXFTag]: + """Checks the tag structure of the content of the header section. + + Do not feed (0, 'SECTION') (2, 'HEADER') and (0, 'ENDSEC') tags! + + Args: + tagger: generator/iterator of low level tags or compiled tags + + Raises: + DXFStructureError() -> invalid group codes + DXFValueError() -> invalid header variable name + + """ + variable_name_tag = True + for tag in tagger: + code, value = tag + if variable_name_tag: + if code != HEADER_VAR_MARKER: + raise DXFStructureError( + f"Invalid header variable tag {code}, {value})." + ) + if not value.startswith("$"): + raise DXFValueError( + f'Invalid header variable name "{value}", missing leading "$".' + ) + variable_name_tag = False + else: + variable_name_tag = True + yield tag + + +def entity_structure_validator(tags: list[DXFTag]) -> Iterable[DXFTag]: + """Checks for valid DXF entity tag structure. + + - APP DATA can not be nested and every opening tag (102, '{...') needs a + closing tag (102, '}') + - extended group codes (>=1000) allowed before XDATA section + - XDATA section starts with (1001, APPID) and is always at the end of an + entity + - XDATA section: only group code >= 1000 is allowed + - XDATA control strings (1002, '{') and (1002, '}') have to be balanced + - embedded objects may follow XDATA + + XRECORD entities will not be checked. + + Args: + tags: list of DXFTag() + + Raises: + DXFAppDataError: for invalid APP DATA + DXFXDataError: for invalid XDATA + + """ + assert isinstance(tags, list) + dxftype = cast(str, tags[0].value) + is_xrecord = dxftype == "XRECORD" + handle: str = "???" + app_data: bool = False + xdata: bool = False + xdata_list_level: int = 0 + app_data_closing_tag: str = "}" + embedded_object: bool = False + for tag in tags: + if tag.code == 5 and handle == "???": + handle = cast(str, tag.value) + + if is_embedded_object_marker(tag): + embedded_object = True + + if embedded_object: # no further validation + yield tag + continue # with next tag + + if xdata and not embedded_object: + if tag.code < 1000: + dxftype = cast(str, tags[0].value) + raise DXFXDataError( + f"Invalid XDATA structure in entity {dxftype}(#{handle}), " + f"only group code >=1000 allowed in XDATA section" + ) + if tag.code == 1002: + value = cast(str, tag.value) + if value == "{": + xdata_list_level += 1 + elif value == "}": + xdata_list_level -= 1 + else: + raise DXFXDataError( + f'Invalid XDATA control string (1002, "{value}") entity' + f" {dxftype}(#{handle})." + ) + if xdata_list_level < 0: # more closing than opening tags + raise DXFXDataError( + f"Invalid XDATA structure in entity {dxftype}(#{handle}), " + f'unbalanced list markers, missing (1002, "{{").' + ) + + if tag.code == APP_DATA_MARKER and not is_xrecord: + # Ignore control tags (102, ...) tags in XRECORD + value = cast(str, tag.value) + if value.startswith("{"): + if app_data: # already in app data mode + raise DXFAppDataError( + f"Invalid APP DATA structure in entity {dxftype}" + f"(#{handle}), APP DATA can not be nested." + ) + app_data = True + # 'APPID}' is also a valid closing tag + app_data_closing_tag = value[1:] + "}" + elif value == "}" or value == app_data_closing_tag: + if not app_data: + raise DXFAppDataError( + f"Invalid APP DATA structure in entity {dxftype}" + f'(#{handle}), found (102, "}}") tag without opening tag.' + ) + app_data = False + app_data_closing_tag = "}" + else: + raise DXFAppDataError( + f'Invalid APP DATA structure tag (102, "{value}") in ' + f"entity {dxftype}(#{handle})." + ) + + # XDATA section starts with (1001, APPID) and is always at the end of + # an entity. + if tag.code == XDATA_MARKER and xdata is False: + xdata = True + if app_data: + raise DXFAppDataError( + f"Invalid APP DATA structure in entity {dxftype}" + f'(#{handle}), missing closing tag (102, "}}").' + ) + yield tag + + if app_data: + raise DXFAppDataError( + f"Invalid APP DATA structure in entity {dxftype}(#{handle}), " + f'missing closing tag (102, "}}").' + ) + if xdata: + if xdata_list_level < 0: + raise DXFXDataError( + f"Invalid XDATA structure in entity {dxftype}(#{handle}), " + f'unbalanced list markers, missing (1002, "{{").' + ) + elif xdata_list_level > 0: + raise DXFXDataError( + f"Invalid XDATA structure in entity {dxftype}(#{handle}), " + f'unbalanced list markers, missing (1002, "}}").' + ) + + +def is_dxf_file(filename: str) -> bool: + """Returns ``True`` if `filename` is an ASCII DXF file.""" + with io.open(filename, errors="ignore") as fp: + return is_dxf_stream(fp) + + +def is_binary_dxf_file(filename: str) -> bool: + """Returns ``True`` if `filename` is a binary DXF file.""" + with open(filename, "rb") as fp: + sentinel = fp.read(22) + return sentinel == b"AutoCAD Binary DXF\r\n\x1a\x00" + + +def is_dwg_file(filename: str) -> bool: + """Returns ``True`` if `filename` is a DWG file.""" + return dwg_version(filename) is not None + + +def dwg_version(filename: str) -> Optional[str]: + """Returns DWG version of `filename` as string or ``None``.""" + with open(str(filename), "rb") as fp: + try: + version = fp.read(6).decode(errors="ignore") + except IOError: + return None + if version not in acad_release: + return None + return version + + +def is_dxf_stream(stream: TextIO) -> bool: + try: + reader = ascii_tags_loader(stream) + except DXFError: + return False + try: + for tag in reader: + # The common case for well formed DXF files + if tag == (0, "SECTION"): + return True + # Accept/Ignore tags in front of first SECTION - like AutoCAD and + # BricsCAD, but group code should be < 1000, until reality proofs + # otherwise. + if tag.code > 999: + return False + except DXFStructureError: + pass + return False + + +# Names used in symbol table records and in dictionaries must follow these rules: +# +# - Names can be any length in ObjectARX, but symbol names entered by users in +# AutoCAD are limited to 255 characters. +# - AutoCAD preserves the case of names but does not use the case in +# comparisons. For example, AutoCAD considers "Floor" to be the same symbol +# as "FLOOR." +# - Names can be composed of all characters allowed by Windows or Mac OS for +# filenames, except comma (,), backquote (‘), semi-colon (;), and equal +# sign (=). +# http://help.autodesk.com/view/OARX/2018/ENU/?guid=GUID-83ABF20A-57D4-4AB3-8A49-D91E0F70DBFF + + +def is_valid_table_name(name: str) -> bool: + # remove backslash of special DXF string encodings + if "\\" in name: + # remove prefix of special DXF unicode encoding + name = name.replace(r"\U+", "") + # remove prefix of special DXF encoding M+xxxxx + # I don't know the real name of this encoding, so I call it "mplus" encoding + name = name.replace(r"\M+", "") + chars = set(name) + return not bool(INVALID_LAYER_NAME_CHARACTERS.intersection(chars)) + + +def make_table_key(name: str) -> str: + """Make unified table entry key.""" + if not isinstance(name, str): + raise DXFTypeError(f"name has to be a string, got {type(name)}") + return name.lower() + + +def is_valid_layer_name(name: str) -> bool: + if is_adsk_special_layer(name): + return True + return is_valid_table_name(name) + + +def is_adsk_special_layer(name: str) -> bool: + if name.startswith("*") and len(name) > 1: + # Special Autodesk layers starts with the otherwise invalid character * + # These layers do not show up in the layer panel. + # Only the first letter can be an asterisk. + return is_valid_table_name(name[1:]) + return False + + +def is_valid_block_name(name: str) -> bool: + if name.startswith("*"): + return is_valid_table_name(name[1:]) + else: + return is_valid_table_name(name) + + +def is_valid_vport_name(name: str) -> bool: + if name.startswith("*"): + return name.upper() == "*ACTIVE" + else: + return is_valid_table_name(name) + + +def is_valid_lineweight(lineweight: int) -> bool: + return lineweight in VALID_DXF_LINEWEIGHT_VALUES + + +def fix_lineweight(lineweight: int) -> int: + if lineweight in VALID_DXF_LINEWEIGHT_VALUES: + return lineweight + if lineweight < -3: + return LINEWEIGHT_BYLAYER + if lineweight > 211: + return 211 + index = bisect.bisect(VALID_DXF_LINEWEIGHTS, lineweight) + return VALID_DXF_LINEWEIGHTS[index] + + +def is_valid_aci_color(aci: int) -> bool: + return 0 <= aci <= 257 + + +def is_valid_rgb(rgb) -> bool: + if not isinstance(rgb, Sequence): + return False + if len(rgb) != 3: + return False + for value in rgb: + if not isinstance(value, int) or value < 0 or value > 255: + return False + return True + + +def is_in_integer_range(start: int, end: int): + """Range of integer values, excluding the `end` value.""" + + def _validator(value: int) -> bool: + return start <= value < end + + return _validator + + +def fit_into_integer_range(start: int, end: int): + def _fixer(value: int) -> int: + return min(max(value, start), end - 1) + + return _fixer + + +def fit_into_float_range(start: float, end: float): + def _fixer(value: float) -> float: + return min(max(value, start), end) + + return _fixer + + +def is_in_float_range(start: float, end: float): + """Range of float values, including the `end` value.""" + + def _validator(value: float) -> bool: + return start <= value <= end + + return _validator + + +def is_not_null_vector(v) -> bool: + return not NULLVEC.isclose(v) + + +def is_not_zero(v: float) -> bool: + return not math.isclose(v, 0.0, abs_tol=1e-12) + + +def is_not_negative(v) -> bool: + return v >= 0 + + +is_greater_or_equal_zero = is_not_negative + + +def is_positive(v) -> bool: + return v > 0 + + +is_greater_zero = is_positive + + +def is_valid_bitmask(mask: int): + def _validator(value: int) -> bool: + return not bool(~mask & value) + + return _validator + + +def fix_bitmask(mask: int): + def _fixer(value: int) -> int: + return mask & value + + return _fixer + + +def is_integer_bool(v) -> bool: + return v in (0, 1) + + +def fix_integer_bool(v) -> int: + return 1 if v else 0 + + +def is_one_of(values: set): + def _validator(v) -> bool: + return v in values + + return _validator + + +def is_valid_one_line_text(text: str) -> bool: + has_line_breaks = bool(set(text).intersection({"\n", "\r"})) + return not has_line_breaks and not text.endswith("^") + + +def fix_one_line_text(text: str) -> str: + return text.replace("\n", "").replace("\r", "").rstrip("^") + + +def is_valid_attrib_tag(tag: str) -> bool: + return is_valid_one_line_text(tag) + + +def fix_attrib_tag(tag: str) -> str: + return fix_one_line_text(tag) + + +def is_handle(handle) -> bool: + try: + int(handle, 16) + except (ValueError, TypeError): + return False + return True + + +def is_transparency(value) -> bool: + if isinstance(value, int): + return value == TRANSPARENCY_BYBLOCK or bool(value & 0x02000000) + return False diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/math/__init__.py b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/math/__init__.py new file mode 100644 index 0000000000000000000000000000000000000000..062fed988bf9af2b1ae89a9aec7e84c046cb2cd9 --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/math/__init__.py @@ -0,0 +1,65 @@ +# Copyright (c) 2011-2024, Manfred Moitzi +# License: MIT License +from typing import Iterable +# Using * imports to simplify namespace imports, therefore every module +# has to have an export declaration: __all__ = [...] + +# Import base types as C-extensions if available: +from ._ctypes import * +# Everything else are pure Python imports: +from .construct2d import * +from .construct3d import * +from .parametrize import * +from .bspline import * +from .bezier import * +from .bezier_interpolation import * +from .eulerspiral import * +from .ucs import * +from .bulge import * +from .arc import * +from .line import * +from .circle import * +from .ellipse import * +from .box import * +from .shape import * +from .bbox import * +from .offset2d import * +from .transformtools import * +from .curvetools import * +from .polyline import * + +ABS_TOL = 1e-12 +REL_TOL = 1e-9 + + +def close_vectors(a: Iterable[AnyVec], b: Iterable[UVec], *, + rel_tol=REL_TOL, abs_tol=ABS_TOL) -> bool: + return all(v1.isclose(v2, rel_tol=rel_tol, abs_tol=abs_tol) + for v1, v2 in zip(a, b)) + + +def xround(value: float, rounding: float = 0.) -> float: + """Extended rounding function. + + The argument `rounding` defines the rounding limit: + + ======= ====================================== + 0 remove fraction + 0.1 round next to x.1, x.2, ... x.0 + 0.25 round next to x.25, x.50, x.75 or x.00 + 0.5 round next to x.5 or x.0 + 1.0 round to a multiple of 1: remove fraction + 2.0 round to a multiple of 2: xxx2, xxx4, xxx6 ... + 5.0 round to a multiple of 5: xxx5 or xxx0 + 10.0 round to a multiple of 10: xx10, xx20, ... + ======= ====================================== + + Args: + value: float value to round + rounding: rounding limit + + """ + if rounding == 0: + return round(value) + factor = 1. / rounding + return round(value * factor) / factor diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/math/_bezier3p.py b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/math/_bezier3p.py new file mode 100644 index 0000000000000000000000000000000000000000..26589fffb7995fca76ef59fa4cb3578304de5f64 --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/math/_bezier3p.py @@ -0,0 +1,200 @@ +# Copyright (c) 2021-2024 Manfred Moitzi +# License: MIT License +# pylint: disable=unused-variable +from __future__ import annotations +from typing import ( + Iterator, + Sequence, + Optional, + Generic, + TypeVar, +) +import math + +# The pure Python implementation can't import from ._ctypes or ezdxf.math! +from ._vector import Vec3, Vec2 +from ._matrix44 import Matrix44 + + +__all__ = ["Bezier3P"] + + +def check_if_in_valid_range(t: float) -> None: + if not 0.0 <= t <= 1.0: + raise ValueError("t not in range [0 to 1]") + + +T = TypeVar("T", Vec2, Vec3) + + +class Bezier3P(Generic[T]): + """Implements an optimized quadratic `Bézier curve`_ for exact 3 control + points. + + The class supports points of type :class:`Vec2` and :class:`Vec3` as input, the + class instances are immutable. + + Args: + defpoints: sequence of definition points as :class:`Vec2` or + :class:`Vec3` compatible objects. + + """ + + __slots__ = ("_control_points", "_offset") + + def __init__(self, defpoints: Sequence[T]): + if len(defpoints) != 3: + raise ValueError("Three control points required.") + point_type = defpoints[0].__class__ + if not point_type.__name__ in ("Vec2", "Vec3"): # Cython types!!! + raise TypeError(f"invalid point type: {point_type.__name__}") + + # The start point is the curve offset + offset: T = defpoints[0] + self._offset: T = offset + # moving the curve to the origin reduces floating point errors: + self._control_points: tuple[T, ...] = tuple(p - offset for p in defpoints) + + @property + def control_points(self) -> Sequence[T]: + """Control points as tuple of :class:`Vec3` or :class:`Vec2` objects.""" + # ezdxf optimization: p0 is always (0, 0, 0) + _, p1, p2 = self._control_points + offset = self._offset + return offset, p1 + offset, p2 + offset + + def tangent(self, t: float) -> T: + """Returns direction vector of tangent for location `t` at the + Bèzier-curve. + + Args: + t: curve position in the range ``[0, 1]`` + + """ + check_if_in_valid_range(t) + return self._get_curve_tangent(t) + + def point(self, t: float) -> T: + """Returns point for location `t` at the Bèzier-curve. + + Args: + t: curve position in the range ``[0, 1]`` + + """ + check_if_in_valid_range(t) + return self._get_curve_point(t) + + def approximate(self, segments: int) -> Iterator[T]: + """Approximate `Bézier curve`_ by vertices, yields `segments` + 1 + vertices as ``(x, y[, z])`` tuples. + + Args: + segments: count of segments for approximation + + """ + if segments < 1: + raise ValueError(segments) + delta_t: float = 1.0 / segments + cp = self.control_points + yield cp[0] + for segment in range(1, segments): + yield self._get_curve_point(delta_t * segment) + yield cp[2] + + def approximated_length(self, segments: int = 128) -> float: + """Returns estimated length of Bèzier-curve as approximation by line + `segments`. + """ + length: float = 0.0 + prev_point: Optional[T] = None + for point in self.approximate(segments): + if prev_point is not None: + length += prev_point.distance(point) + prev_point = point + return length + + def flattening(self, distance: float, segments: int = 4) -> Iterator[T]: + """Adaptive recursive flattening. The argument `segments` is the + minimum count of approximation segments, if the distance from the center + of the approximation segment to the curve is bigger than `distance` the + segment will be subdivided. + + Args: + distance: maximum distance from the center of the quadratic (C2) + curve to the center of the linear (C1) curve between two + approximation points to determine if a segment should be + subdivided. + segments: minimum segment count + + """ + stack: list[tuple[float, T]] = [] + dt: float = 1.0 / segments + t0: float = 0.0 + t1: float + cp = self.control_points + start_point: T = cp[0] + end_point: T + + yield start_point + while t0 < 1.0: + t1 = t0 + dt + if math.isclose(t1, 1.0): + end_point = cp[2] + t1 = 1.0 + else: + end_point = self._get_curve_point(t1) + + while True: + mid_t: float = (t0 + t1) * 0.5 + mid_point: T = self._get_curve_point(mid_t) + chk_point: T = start_point.lerp(end_point) + + d = chk_point.distance(mid_point) + if d < distance: + yield end_point + t0 = t1 + start_point = end_point + if stack: + t1, end_point = stack.pop() + else: + break + else: + stack.append((t1, end_point)) + t1 = mid_t + end_point = mid_point + + def _get_curve_point(self, t: float) -> T: + # 1st control point (p0) is always (0, 0, 0) + # => p0 * a is always (0, 0, 0) + _, p1, p2 = self._control_points + _1_minus_t = 1.0 - t + # a = (1 - t) ** 2 + b = 2.0 * t * _1_minus_t + c = t * t + # add offset at last - it is maybe very large + return p1 * b + p2 * c + self._offset + + def _get_curve_tangent(self, t: float) -> T: + # tangent vector is independent from offset location! + # 1st control point (p0) is always (0, 0, 0) + # => p0 * a is always (0, 0, 0) + _, p1, p2 = self._control_points + # a = -2 * (1 - t) + b = 2.0 - 4.0 * t + c = 2.0 * t + return p1 * b + p2 * c + + def reverse(self) -> Bezier3P[T]: + """Returns a new Bèzier-curve with reversed control point order.""" + return Bezier3P(list(reversed(self.control_points))) + + def transform(self, m: Matrix44) -> Bezier3P[Vec3]: + """General transformation interface, returns a new :class:`Bezier3P` + curve and it is always a 3D curve. + + Args: + m: 4x4 transformation :class:`Matrix44` + + """ + defpoints = Vec3.generate(self.control_points) + return Bezier3P(tuple(m.transform_vertices(defpoints))) diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/math/_bezier4p.py b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/math/_bezier4p.py new file mode 100644 index 0000000000000000000000000000000000000000..dfe675eaabbd14fa0b48bf66adad63f668d6291b --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/math/_bezier4p.py @@ -0,0 +1,336 @@ +# Copyright (c) 2010-2024 Manfred Moitzi +# License: MIT License +from __future__ import annotations +from typing import ( + TYPE_CHECKING, + Iterable, + Iterator, + Sequence, + TypeVar, + Generic, +) +import math + +# The pure Python implementation can't import from ._ctypes or ezdxf.math! +from ._vector import Vec3, Vec2 +from ._matrix44 import Matrix44 +from ._construct import arc_angle_span_deg + +if TYPE_CHECKING: + from ezdxf.math import UVec + from ezdxf.math.ellipse import ConstructionEllipse + +__all__ = [ + "Bezier4P", + "cubic_bezier_arc_parameters", + "cubic_bezier_from_arc", + "cubic_bezier_from_ellipse", +] + +T = TypeVar("T", Vec2, Vec3) + + +class Bezier4P(Generic[T]): + """Implements an optimized cubic `Bézier curve`_ for exact 4 control points. + + A `Bézier curve`_ is a parametric curve, parameter `t` goes from 0 to 1, + where 0 is the first control point and 1 is the fourth control point. + + The class supports points of type :class:`Vec2` and :class:`Vec3` as input, the + class instances are immutable. + + Args: + defpoints: sequence of definition points as :class:`Vec2` or + :class:`Vec3` compatible objects. + + """ + + __slots__ = ("_control_points", "_offset") + + def __init__(self, defpoints: Sequence[T]): + if len(defpoints) != 4: + raise ValueError("Four control points required.") + point_type = defpoints[0].__class__ + if not point_type.__name__ in ("Vec2", "Vec3"): # Cython types!!! + raise TypeError(f"invalid point type: {point_type.__name__}") + + # The start point is the curve offset + offset: T = defpoints[0] + self._offset: T = offset + # moving the curve to the origin reduces floating point errors: + self._control_points: tuple[T, ...] = tuple(p - offset for p in defpoints) + + @property + def control_points(self) -> Sequence[T]: + """Control points as tuple of :class:`Vec3` or :class:`Vec2` objects.""" + # ezdxf optimization: p0 is always (0, 0, 0) + p0, p1, p2, p3 = self._control_points + offset = self._offset + return offset, p1 + offset, p2 + offset, p3 + offset + + def tangent(self, t: float) -> T: + """Returns direction vector of tangent for location `t` at the + Bèzier-curve. + + Args: + t: curve position in the range ``[0, 1]`` + + """ + if not (0 <= t <= 1.0): + raise ValueError("t not in range [0 to 1]") + return self._get_curve_tangent(t) + + def point(self, t: float) -> T: + """Returns point for location `t` at the Bèzier-curve. + + Args: + t: curve position in the range ``[0, 1]`` + + """ + if not (0 <= t <= 1.0): + raise ValueError("t not in range [0 to 1]") + return self._get_curve_point(t) + + def approximate(self, segments: int) -> Iterator[T]: + """Approximate `Bézier curve`_ by vertices, yields `segments` + 1 + vertices as ``(x, y[, z])`` tuples. + + Args: + segments: count of segments for approximation + + """ + if segments < 1: + raise ValueError(segments) + delta_t = 1.0 / segments + cp = self.control_points + yield cp[0] + for segment in range(1, segments): + yield self._get_curve_point(delta_t * segment) + yield cp[3] + + def flattening(self, distance: float, segments: int = 4) -> Iterator[T]: + """Adaptive recursive flattening. The argument `segments` is the + minimum count of approximation segments, if the distance from the center + of the approximation segment to the curve is bigger than `distance` the + segment will be subdivided. + + Args: + distance: maximum distance from the center of the cubic (C3) + curve to the center of the linear (C1) curve between two + approximation points to determine if a segment should be + subdivided. + segments: minimum segment count + + """ + stack: list[tuple[float, T]] = [] + dt: float = 1.0 / segments + t0: float = 0.0 + t1: float + cp = self.control_points + start_point: T = cp[0] + end_point: T + + yield start_point + while t0 < 1.0: + t1 = t0 + dt + if math.isclose(t1, 1.0): + end_point = cp[3] + t1 = 1.0 + else: + end_point = self._get_curve_point(t1) + + while True: + mid_t: float = (t0 + t1) * 0.5 + mid_point: T = self._get_curve_point(mid_t) + chk_point: T = start_point.lerp(end_point) + + d = chk_point.distance(mid_point) + if d < distance: + yield end_point + t0 = t1 + start_point = end_point + if stack: + t1, end_point = stack.pop() + else: + break + else: + stack.append((t1, end_point)) + t1 = mid_t + end_point = mid_point + + def _get_curve_point(self, t: float) -> T: + # 1st control point (p0) is always (0, 0, 0) + # => p0 * a is always (0, 0, 0) + # add offset at last - it is maybe very large + _, p1, p2, p3 = self._control_points + t2 = t * t + _1_minus_t = 1.0 - t + # a = _1_minus_t_square * _1_minus_t + b = 3.0 * _1_minus_t * _1_minus_t * t + c = 3.0 * _1_minus_t * t2 + d = t2 * t + return p1 * b + p2 * c + p3 * d + self._offset + + def _get_curve_tangent(self, t: float) -> T: + # tangent vector is independent from offset location! + # 1st control point (p0) is always (0, 0, 0) + # => p0 * a is always (0, 0, 0) + _, p1, p2, p3 = self._control_points + t2 = t * t + # a = -3.0 * (1.0 - t) ** 2 + b = 3.0 * (1.0 - 4.0 * t + 3.0 * t2) + c = 3.0 * t * (2.0 - 3.0 * t) + d = 3.0 * t2 + return p1 * b + p2 * c + p3 * d + + def approximated_length(self, segments: int = 128) -> float: + """Returns estimated length of Bèzier-curve as approximation by line + `segments`. + """ + length = 0.0 + prev_point = None + for point in self.approximate(segments): + if prev_point is not None: + length += prev_point.distance(point) + prev_point = point + return length + + def reverse(self) -> Bezier4P[T]: + """Returns a new Bèzier-curve with reversed control point order.""" + return Bezier4P(list(reversed(self.control_points))) + + def transform(self, m: Matrix44) -> Bezier4P[Vec3]: + """General transformation interface, returns a new :class:`Bezier4p` + curve as a 3D curve. + + Args: + m: 4x4 transformation :class:`Matrix44` + + """ + defpoints = Vec3.generate(self.control_points) + return Bezier4P(tuple(m.transform_vertices(defpoints))) + + +def cubic_bezier_from_arc( + center: UVec = (0, 0, 0), + radius: float = 1, + start_angle: float = 0, + end_angle: float = 360, + segments: int = 1, +) -> Iterator[Bezier4P[Vec3]]: + """Returns an approximation for a circular 2D arc by multiple cubic + Bézier-curves. + + Args: + center: circle center as :class:`Vec3` compatible object + radius: circle radius + start_angle: start angle in degrees + end_angle: end angle in degrees + segments: count of Bèzier-curve segments, at least one segment for each + quarter (90 deg), 1 for as few as possible. + + """ + center_: Vec3 = Vec3(center) + radius = float(radius) + angle_span: float = arc_angle_span_deg(start_angle, end_angle) + if abs(angle_span) < 1e-9: + return + + s: float = start_angle + start_angle = math.radians(s) % math.tau + end_angle = math.radians(s + angle_span) + while start_angle > end_angle: + end_angle += math.tau + + for control_points in cubic_bezier_arc_parameters(start_angle, end_angle, segments): + defpoints = [center_ + (p * radius) for p in control_points] + yield Bezier4P(defpoints) + + +PI_2: float = math.pi / 2.0 + + +def cubic_bezier_from_ellipse( + ellipse: "ConstructionEllipse", segments: int = 1 +) -> Iterator[Bezier4P[Vec3]]: + """Returns an approximation for an elliptic arc by multiple cubic + Bézier-curves. + + Args: + ellipse: ellipse parameters as :class:`~ezdxf.math.ConstructionEllipse` + object + segments: count of Bèzier-curve segments, at least one segment for each + quarter (π/2), 1 for as few as possible. + + """ + param_span: float = ellipse.param_span + if abs(param_span) < 1e-9: + return + start_angle: float = ellipse.start_param % math.tau + end_angle: float = start_angle + param_span + while start_angle > end_angle: + end_angle += math.tau + + def transform(points: Iterable[Vec3]) -> Iterator[Vec3]: + center = Vec3(ellipse.center) + x_axis: Vec3 = ellipse.major_axis + y_axis: Vec3 = ellipse.minor_axis + for p in points: + yield center + x_axis * p.x + y_axis * p.y + + for defpoints in cubic_bezier_arc_parameters(start_angle, end_angle, segments): + yield Bezier4P(tuple(transform(defpoints))) + + +# Circular arc to Bezier curve: +# Source: https://stackoverflow.com/questions/1734745/how-to-create-circle-with-b%C3%A9zier-curves +# Optimization: https://spencermortensen.com/articles/bezier-circle/ +# actual c = 0.5522847498307935 = 4.0/3.0*(sqrt(2)-1.0) and max. deviation of ~0.03% +DEFAULT_TANGENT_FACTOR = 4.0 / 3.0 # 1.333333333333333333 +# optimal c = 0.551915024494 and max. deviation of ~0.02% +OPTIMIZED_TANGENT_FACTOR = 1.3324407374108935 +# Not sure if this is the correct way to apply this optimization, +# so i stick to the original version for now: +TANGENT_FACTOR = DEFAULT_TANGENT_FACTOR + + +def cubic_bezier_arc_parameters( + start_angle: float, end_angle: float, segments: int = 1 +) -> Iterator[tuple[Vec3, Vec3, Vec3, Vec3]]: + """Yields cubic Bézier-curve parameters for a circular 2D arc with center + at (0, 0) and a radius of 1 in the form of [start point, 1. control point, + 2. control point, end point]. + + Args: + start_angle: start angle in radians + end_angle: end angle in radians (end_angle > start_angle!) + segments: count of Bèzier-curve segments, at least one segment for each + quarter (π/2) + + """ + if segments < 1: + raise ValueError("Invalid argument segments (>= 1).") + delta_angle: float = end_angle - start_angle + if delta_angle > 0: + arc_count = max(math.ceil(delta_angle / math.pi * 2.0), segments) + else: + raise ValueError("Delta angle from start- to end angle has to be > 0.") + + segment_angle: float = delta_angle / arc_count + tangent_length: float = TANGENT_FACTOR * math.tan(segment_angle / 4.0) + + angle: float = start_angle + end_point: Vec3 = Vec3.from_angle(angle) + for _ in range(arc_count): + start_point = end_point + angle += segment_angle + end_point = Vec3.from_angle(angle) + control_point_1 = start_point + ( + -start_point.y * tangent_length, + start_point.x * tangent_length, + ) + control_point_2 = end_point + ( + end_point.y * tangent_length, + -end_point.x * tangent_length, + ) + yield start_point, control_point_1, control_point_2, end_point diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/math/_bspline.py b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/math/_bspline.py new file mode 100644 index 0000000000000000000000000000000000000000..96c36dd32ba5c9cd724256a8afd60d9a117ef3f2 --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/math/_bspline.py @@ -0,0 +1,278 @@ +# Copyright (c) 2021-2022, Manfred Moitzi +# License: MIT License +# Pure Python implementation of the B-spline basis function. +from __future__ import annotations +from typing import Iterable, Sequence, Optional +import math +import bisect + +# The pure Python implementation can't import from ._ctypes or ezdxf.math! +from ._vector import Vec3, NULLVEC +from .linalg import binomial_coefficient + +__all__ = ["Basis", "Evaluator"] + + +class Basis: + """Immutable Basis function class.""" + + __slots__ = ("_knots", "_weights", "_order", "_count") + + def __init__( + self, + knots: Iterable[float], + order: int, + count: int, + weights: Optional[Sequence[float]] = None, + ): + self._knots = tuple(knots) + self._weights = tuple(weights or []) + self._order: int = int(order) + self._count: int = int(count) + + # validation checks: + len_weights = len(self._weights) + if len_weights != 0 and len_weights != self._count: + raise ValueError("invalid weight count") + if len(self._knots) != self._order + self._count: + raise ValueError("invalid knot count") + + @property + def max_t(self) -> float: + return self._knots[-1] + + @property + def order(self) -> int: + return self._order + + @property + def degree(self) -> int: + return self._order - 1 + + @property + def knots(self) -> tuple[float, ...]: + return self._knots + + @property + def weights(self) -> tuple[float, ...]: + return self._weights + + @property + def is_rational(self) -> bool: + """Returns ``True`` if curve is a rational B-spline. (has weights)""" + return bool(self._weights) + + def basis_vector(self, t: float) -> list[float]: + """Returns the expanded basis vector.""" + span = self.find_span(t) + p = self._order - 1 + front = span - p + back = self._count - span - 1 + basis = self.basis_funcs(span, t) + return ([0.0] * front) + basis + ([0.0] * back) + + def find_span(self, u: float) -> int: + """Determine the knot span index.""" + # Linear search is more reliable than binary search of the Algorithm A2.1 + # from The NURBS Book by Piegl & Tiller. + knots = self._knots + count = self._count # text book: n+1 + if u >= knots[count]: # special case + return count - 1 # n + p = self._order - 1 + # common clamped spline: + if knots[p] == 0.0: # use binary search + # This is fast and works most of the time, + # but Test 621 : test_weired_closed_spline() + # goes into an infinity loop, because of + # a weird knot configuration. + return bisect.bisect_right(knots, u, p, count) - 1 + else: # use linear search + span = 0 + while knots[span] <= u and span < count: + span += 1 + return span - 1 + + def basis_funcs(self, span: int, u: float) -> list[float]: + # Source: The NURBS Book: Algorithm A2.2 + order = self._order + knots = self._knots + N = [0.0] * order + left = list(N) + right = list(N) + N[0] = 1.0 + for j in range(1, order): + left[j] = u - knots[max(0, span + 1 - j)] + right[j] = knots[span + j] - u + saved = 0.0 + for r in range(j): + temp = N[r] / (right[r + 1] + left[j - r]) + N[r] = saved + right[r + 1] * temp + saved = left[j - r] * temp + N[j] = saved + if self.is_rational: + return self.span_weighting(N, span) + else: + return N + + def span_weighting(self, nbasis: list[float], span: int) -> list[float]: + size = len(nbasis) + weights = self._weights[span - self._order + 1 : span + 1] + if len(weights) != size: + return nbasis + + products = [nb * w for nb, w in zip(nbasis, weights)] + s = sum(products) + return nbasis if s == 0.0 else [p / s for p in products] + + def basis_funcs_derivatives(self, span: int, u: float, n: int = 1): + # Source: The NURBS Book: Algorithm A2.3 + order = self._order + p = order - 1 + n = min(n, p) + + knots = self._knots + left = [1.0] * order + right = [1.0] * order + ndu = [[1.0] * order for _ in range(order)] + + for j in range(1, order): + left[j] = u - knots[max(0, span + 1 - j)] + right[j] = knots[span + j] - u + saved = 0.0 + for r in range(j): + # lower triangle + ndu[j][r] = right[r + 1] + left[j - r] + temp = ndu[r][j - 1] / ndu[j][r] + # upper triangle + ndu[r][j] = saved + (right[r + 1] * temp) + saved = left[j - r] * temp + ndu[j][j] = saved + + # load the basis_vector functions + derivatives = [[0.0] * order for _ in range(order)] + for j in range(order): + derivatives[0][j] = ndu[j][p] + + # loop over function index + a = [[1.0] * order, [1.0] * order] + for r in range(order): + s1 = 0 + s2 = 1 + # alternate rows in array a + a[0][0] = 1.0 + + # loop to compute kth derivative + for k in range(1, n + 1): + d = 0.0 + rk = r - k + pk = p - k + if r >= k: + a[s2][0] = a[s1][0] / ndu[pk + 1][rk] + d = a[s2][0] * ndu[rk][pk] + if rk >= -1: + j1 = 1 + else: + j1 = -rk + if (r - 1) <= pk: + j2 = k - 1 + else: + j2 = p - r + for j in range(j1, j2 + 1): + a[s2][j] = (a[s1][j] - a[s1][j - 1]) / ndu[pk + 1][rk + j] + d += a[s2][j] * ndu[rk + j][pk] + if r <= pk: + a[s2][k] = -a[s1][k - 1] / ndu[pk + 1][r] + d += a[s2][k] * ndu[r][pk] + derivatives[k][r] = d + + # Switch rows + s1, s2 = s2, s1 + + # Multiply through by the correct factors + r = float(p) # type: ignore + for k in range(1, n + 1): + for j in range(order): + derivatives[k][j] *= r + r *= p - k + return derivatives[: n + 1] + + +class Evaluator: + """B-spline curve point and curve derivative evaluator.""" + + __slots__ = ["_basis", "_control_points"] + + def __init__(self, basis: Basis, control_points: Sequence[Vec3]): + self._basis = basis + self._control_points = control_points + + def point(self, u: float) -> Vec3: + # Source: The NURBS Book: Algorithm A3.1 + basis = self._basis + control_points = self._control_points + if math.isclose(u, basis.max_t): + u = basis.max_t + + p = basis.degree + span = basis.find_span(u) + N = basis.basis_funcs(span, u) + return Vec3.sum( + N[i] * control_points[span - p + i] for i in range(p + 1) + ) + + def points(self, t: Iterable[float]) -> Iterable[Vec3]: + for u in t: + yield self.point(u) + + def derivative(self, u: float, n: int = 1) -> list[Vec3]: + """Return point and derivatives up to n <= degree for parameter u.""" + # Source: The NURBS Book: Algorithm A3.2 + basis = self._basis + control_points = self._control_points + if math.isclose(u, basis.max_t): + u = basis.max_t + + p = basis.degree + span = basis.find_span(u) + basis_funcs_ders = basis.basis_funcs_derivatives(span, u, n) + if basis.is_rational: + # Homogeneous point representation required: + # (x*w, y*w, z*w, w) + CKw: list[Vec3] = [] + wders: list[float] = [] + weights = basis.weights + for k in range(n + 1): + v = NULLVEC + wder = 0.0 + for j in range(p + 1): + index = span - p + j + bas_func_weight = basis_funcs_ders[k][j] * weights[index] + # control_point * weight * bas_func_der = (x*w, y*w, z*w) * bas_func_der + v += control_points[index] * bas_func_weight + wder += bas_func_weight + CKw.append(v) + wders.append(wder) + + # Source: The NURBS Book: Algorithm A4.2 + CK: list[Vec3] = [] + for k in range(n + 1): + v = CKw[k] + for i in range(1, k + 1): + v -= binomial_coefficient(k, i) * wders[i] * CK[k - i] + CK.append(v / wders[0]) + else: + CK = [ + Vec3.sum( + basis_funcs_ders[k][j] * control_points[span - p + j] + for j in range(p + 1) + ) + for k in range(n + 1) + ] + return CK + + def derivatives( + self, t: Iterable[float], n: int = 1 + ) -> Iterable[list[Vec3]]: + for u in t: + yield self.derivative(u, n) diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/math/_construct.py b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/math/_construct.py new file mode 100644 index 0000000000000000000000000000000000000000..10d4ff03dbee8fbfbab9dd7f7299d3040f849111 --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/math/_construct.py @@ -0,0 +1,362 @@ +# Copyright (c) 2011-2024, Manfred Moitzi +# License: MIT License +# These are the pure Python implementations of the Cython accelerated +# construction tools: ezdxf/acc/construct.pyx +from __future__ import annotations +from typing import Iterable, Sequence, Optional, TYPE_CHECKING +import math + +# The pure Python implementation can't import from ._ctypes or ezdxf.math! +from ._vector import Vec2, Vec3 + +if TYPE_CHECKING: + from ezdxf.math import UVec + +TOLERANCE = 1e-10 +RAD_ABS_TOL = 1e-15 +DEG_ABS_TOL = 1e-13 + + +def has_clockwise_orientation(vertices: Iterable[UVec]) -> bool: + """Returns ``True`` if the given 2D `vertices` have clockwise orientation. + Ignores the z-axis of all vertices. + + Args: + vertices: iterable of :class:`Vec2` compatible objects + + Raises: + ValueError: less than 3 vertices + + """ + vertices = Vec2.list(vertices) + if len(vertices) < 3: + raise ValueError("At least 3 vertices required.") + + # close polygon: + if not vertices[0].isclose(vertices[-1]): + vertices.append(vertices[0]) + + return ( + sum( + (p2.x - p1.x) * (p2.y + p1.y) + for p1, p2 in zip(vertices, vertices[1:]) + ) + > 0.0 + ) + + +def intersection_line_line_2d( + line1: Sequence[Vec2], + line2: Sequence[Vec2], + virtual=True, + abs_tol=TOLERANCE, +) -> Optional[Vec2]: + """ + Compute the intersection of two lines in the xy-plane. + + Args: + line1: start- and end point of first line to test + e.g. ((x1, y1), (x2, y2)). + line2: start- and end point of second line to test + e.g. ((x3, y3), (x4, y4)). + virtual: ``True`` returns any intersection point, ``False`` returns + only real intersection points. + abs_tol: tolerance for intersection test. + + Returns: + ``None`` if there is no intersection point (parallel lines) or + intersection point as :class:`Vec2` + + """ + # Algorithm based on: http://paulbourke.net/geometry/pointlineplane/ + # chapter: Intersection point of two line segments in 2 dimensions + s1, s2 = line1 # the subject line + c1, c2 = line2 # the clipping line + s1x = s1.x + s1y = s1.y + s2x = s2.x + s2y = s2.y + c1x = c1.x + c1y = c1.y + c2x = c2.x + c2y = c2.y + + den = (c2y - c1y) * (s2x - s1x) - (c2x - c1x) * (s2y - s1y) + if math.fabs(den) <= abs_tol: + return None + + us = ((c2x - c1x) * (s1y - c1y) - (c2y - c1y) * (s1x - c1x)) / den + intersection_point = Vec2(s1x + us * (s2x - s1x), s1y + us * (s2y - s1y)) + if virtual: + return intersection_point + + # 0 = intersection point is the start point of the line + # 1 = intersection point is the end point of the line + # otherwise: linear interpolation + lwr = 0.0 # tolerances required? + upr = 1.0 # tolerances required? + if lwr <= us <= upr: # intersection point is on the subject line + uc = ((s2x - s1x) * (s1y - c1y) - (s2y - s1y) * (s1x - c1x)) / den + if lwr <= uc <= upr: # intersection point is on the clipping line + return intersection_point + return None + + +def _determinant(v1, v2, v3) -> float: + """Returns determinant.""" + e11, e12, e13 = v1 + e21, e22, e23 = v2 + e31, e32, e33 = v3 + + return ( + e11 * e22 * e33 + + e12 * e23 * e31 + + e13 * e21 * e32 + - e13 * e22 * e31 + - e11 * e23 * e32 + - e12 * e21 * e33 + ) + + +def intersection_ray_ray_3d( + ray1: Sequence[Vec3], ray2: Sequence[Vec3], abs_tol=TOLERANCE +) -> Sequence[Vec3]: + """ + Calculate intersection of two 3D rays, returns a 0-tuple for parallel rays, + a 1-tuple for intersecting rays and a 2-tuple for not intersecting and not + parallel rays with points of the closest approach on each ray. + + Args: + ray1: first ray as tuple of two points as :class:`Vec3` objects + ray2: second ray as tuple of two points as :class:`Vec3` objects + abs_tol: absolute tolerance for comparisons + + """ + # source: http://www.realtimerendering.com/intersections.html#I304 + o1, p1 = ray1 + d1 = (p1 - o1).normalize() + o2, p2 = ray2 + d2 = (p2 - o2).normalize() + d1xd2 = d1.cross(d2) + denominator = d1xd2.magnitude_square + if denominator <= abs_tol: + # ray1 is parallel to ray2 + return tuple() + else: + o2_o1 = o2 - o1 + det1 = _determinant(o2_o1, d2, d1xd2) + det2 = _determinant(o2_o1, d1, d1xd2) + p1 = o1 + d1 * (det1 / denominator) + p2 = o2 + d2 * (det2 / denominator) + if p1.isclose(p2, abs_tol=abs_tol): + # ray1 and ray2 have an intersection point + return (p1,) + else: + # ray1 and ray2 do not have an intersection point, + # p1 and p2 are the points of closest approach on each ray + return p1, p2 + + +def arc_angle_span_deg(start: float, end: float) -> float: + """Returns the counter-clockwise angle span from `start` to `end` in degrees. + + Returns the angle span in the range of [0, 360], 360 is a full circle. + Full circle handling is a special case, because normalization of angles + which describe a full circle would return 0 if treated as regular angles. + e.g. (0, 360) → 360, (0, -360) → 360, (180, -180) → 360. + Input angles with the same value always return 0 by definition: (0, 0) → 0, + (-180, -180) → 0, (360, 360) → 0. + + """ + # Input values are equal, returns 0 by definition: + if math.isclose(start, end, abs_tol=DEG_ABS_TOL): + return 0.0 + + # Normalized start- and end angles are equal, but input values are + # different, returns 360 by definition: + start %= 360.0 + if math.isclose(start, end % 360.0, abs_tol=DEG_ABS_TOL): + return 360.0 + + # Special treatment for end angle == 360 deg: + if not math.isclose(end, 360.0, abs_tol=DEG_ABS_TOL): + end %= 360.0 + + if end < start: + end += 360.0 + return end - start + + +def arc_angle_span_rad(start: float, end: float) -> float: + """Returns the counter-clockwise angle span from `start` to `end` in radians. + + Returns the angle span in the range of [0, 2π], 2π is a full circle. + Full circle handling is a special case, because normalization of angles + which describe a full circle would return 0 if treated as regular angles. + e.g. (0, 2π) → 2π, (0, -2π) → 2π, (π, -π) → 2π. + Input angles with the same value always return 0 by definition: (0, 0) → 0, + (-π, -π) → 0, (2π, 2π) → 0. + + """ + tau = math.tau + # Input values are equal, returns 0 by definition: + if math.isclose(start, end, abs_tol=RAD_ABS_TOL): + return 0.0 + + # Normalized start- and end angles are equal, but input values are + # different, returns 360 by definition: + start %= tau + if math.isclose(start, end % tau, abs_tol=RAD_ABS_TOL): + return tau + + # Special treatment for end angle == 2π: + if not math.isclose(end, tau, abs_tol=RAD_ABS_TOL): + end %= tau + + if end < start: + end += tau + return end - start + + +def is_point_in_polygon_2d( + point: Vec2, polygon: list[Vec2], abs_tol=TOLERANCE +) -> int: + """ + Test if `point` is inside `polygon`. Returns +1 for inside, 0 for on the + boundary and -1 for outside. + + Supports convex and concave polygons with clockwise or counter-clockwise oriented + polygon vertices. Does not raise an exception for degenerated polygons. + + + Args: + point: 2D point to test as :class:`Vec2` + polygon: list of 2D points as :class:`Vec2` + abs_tol: tolerance for distance check + + Returns: + +1 for inside, 0 for on the boundary, -1 for outside + + """ + # Source: http://www.faqs.org/faqs/graphics/algorithms-faq/ + # Subject 2.03: How do I find if a point lies within a polygon? + # polygon: the Cython implementation needs a list as input to be fast! + assert isinstance(polygon, list) + if len(polygon) < 3: # empty polygon + return -1 + + if polygon[0].isclose(polygon[-1]): # open polygon is required + polygon = polygon[:-1] + if len(polygon) < 3: + return -1 + x = point.x + y = point.y + inside = False + x1, y1 = polygon[-1] + for x2, y2 in polygon: + # is point on polygon boundary line: + # is point in x-range of line + a, b = (x2, x1) if x2 < x1 else (x1, x2) + if a <= x <= b: + # is point in y-range of line + c, d = (y2, y1) if y2 < y1 else (y1, y2) + if (c <= y <= d) and abs( + (y2 - y1) * x - (x2 - x1) * y + (x2 * y1 - y2 * x1) + ) <= abs_tol: + return 0 # on boundary line + if ((y1 <= y < y2) or (y2 <= y < y1)) and ( + x < (x2 - x1) * (y - y1) / (y2 - y1) + x1 + ): + inside = not inside + x1 = x2 + y1 = y2 + if inside: + return 1 # inside polygon + else: + return -1 # outside polygon + + +# Values stored in GeoData RSS tag are not precise enough to match +# control calculation at epsg.io: +# Semi Major Axis: 6.37814e+06 +# Semi Minor Axis: 6.35675e+06 +WGS84_SEMI_MAJOR_AXIS = 6378137 +WGS84_SEMI_MINOR_AXIS = 6356752.3142 +WGS84_ELLIPSOID_ECCENTRIC = 0.08181919092890624 +# WGS84_ELLIPSOID_ECCENTRIC = math.sqrt( +# 1.0 - WGS84_SEMI_MINOR_AXIS**2 / WGS84_SEMI_MAJOR_AXIS**2 +# ) +CONST_E2 = 1.3591409142295225 # math.e / 2.0 +CONST_PI_2 = 1.5707963267948966 # math.pi / 2.0 +CONST_PI_4 = 0.7853981633974483 # math.pi / 4.0 + + +def gps_to_world_mercator(longitude: float, latitude: float) -> tuple[float, float]: + """Transform GPS (long/lat) to World Mercator. + + Transform WGS84 `EPSG:4326 `_ location given as + latitude and longitude in decimal degrees as used by GPS into World Mercator + cartesian 2D coordinates in meters `EPSG:3395 `_. + + Args: + longitude: represents the longitude value (East-West) in decimal degrees + latitude: represents the latitude value (North-South) in decimal degrees. + + .. versionadded:: 1.3.0 + + """ + # From: https://epsg.io/4326 + # EPSG:4326 WGS84 - World Geodetic System 1984, used in GPS + # To: https://epsg.io/3395 + # EPSG:3395 - World Mercator + # Source: https://gis.stackexchange.com/questions/259121/transformation-functions-for-epsg3395-projection-vs-epsg3857 + longitude = math.radians(longitude) # east + latitude = math.radians(latitude) # north + a = WGS84_SEMI_MAJOR_AXIS + e = WGS84_ELLIPSOID_ECCENTRIC + e_sin_lat = math.sin(latitude) * e + c = math.pow((1.0 - e_sin_lat) / (1.0 + e_sin_lat), e / 2.0) # 7-7 p.44 + y = a * math.log(math.tan(CONST_PI_4 + latitude / 2.0) * c) # 7-7 p.44 + x = a * longitude + return x, y + + +def world_mercator_to_gps(x: float, y: float, tol: float = 1e-6) -> tuple[float, float]: + """Transform World Mercator to GPS. + + Transform WGS84 World Mercator `EPSG:3395 `_ + location given as cartesian 2D coordinates x, y in meters into WGS84 decimal + degrees as longitude and latitude `EPSG:4326 `_ as + used by GPS. + + Args: + x: coordinate WGS84 World Mercator + y: coordinate WGS84 World Mercator + tol: accuracy for latitude calculation + + .. versionadded:: 1.3.0 + + """ + # From: https://epsg.io/3395 + # EPSG:3395 - World Mercator + # To: https://epsg.io/4326 + # EPSG:4326 WGS84 - World Geodetic System 1984, used in GPS + # Source: Map Projections - A Working Manual + # https://pubs.usgs.gov/pp/1395/report.pdf + a = WGS84_SEMI_MAJOR_AXIS + e = WGS84_ELLIPSOID_ECCENTRIC + e2 = e / 2.0 + pi2 = CONST_PI_2 + t = math.e ** (-y / a) # 7-10 p.44 + latitude_ = pi2 - 2.0 * math.atan(t) # 7-11 p.45 + while True: + e_sin_lat = math.sin(latitude_) * e + latitude = pi2 - 2.0 * math.atan( + t * ((1.0 - e_sin_lat) / (1.0 + e_sin_lat)) ** e2 + ) # 7-9 p.44 + if abs(latitude - latitude_) < tol: + break + latitude_ = latitude + + longitude = x / a # 7-12 p.45 + return math.degrees(longitude), math.degrees(latitude) diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/math/_ctypes.py b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/math/_ctypes.py new file mode 100644 index 0000000000000000000000000000000000000000..7e404fdcd658f484de35c7e5b0b657eb007c9e6f --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/math/_ctypes.py @@ -0,0 +1,101 @@ +# Copyright (c) 2020-2022, Manfred Moitzi +# License: MIT License +from typing import Union, Sequence +from typing_extensions import TypeAlias +# noinspection PyUnresolvedReferences +from ezdxf.acc import USE_C_EXT + +__all__ = [ + "Vec3", + "Vec2", + "AnyVec", + "UVec", + "X_AXIS", + "Y_AXIS", + "Z_AXIS", + "NULLVEC", + "distance", + "lerp", + "Matrix44", + "Bezier4P", + "Bezier3P", + "Basis", + "Evaluator", + "cubic_bezier_arc_parameters", + "cubic_bezier_from_arc", + "cubic_bezier_from_ellipse", + "has_clockwise_orientation", + "intersection_line_line_2d", + "intersection_ray_ray_3d", + "arc_angle_span_deg", + "arc_angle_span_rad", + "is_point_in_polygon_2d", + "world_mercator_to_gps", + "gps_to_world_mercator", +] +# Import of Python or Cython implementations: +if USE_C_EXT: + from ezdxf.acc.vector import ( + Vec3, + Vec2, + X_AXIS, + Y_AXIS, + Z_AXIS, + NULLVEC, + distance, + lerp, + ) + from ezdxf.acc.matrix44 import Matrix44 + from ezdxf.acc.bezier4p import ( + Bezier4P, + cubic_bezier_arc_parameters, + cubic_bezier_from_arc, + cubic_bezier_from_ellipse, + ) + from ezdxf.acc.bezier3p import Bezier3P + from ezdxf.acc.bspline import Basis, Evaluator + from ezdxf.acc.construct import ( + has_clockwise_orientation, + intersection_line_line_2d, + intersection_ray_ray_3d, + arc_angle_span_deg, + arc_angle_span_rad, + is_point_in_polygon_2d, + world_mercator_to_gps, + gps_to_world_mercator, + + ) +else: + from ._vector import ( + Vec3, + Vec2, + X_AXIS, + Y_AXIS, + Z_AXIS, + NULLVEC, + distance, + lerp, + ) + from ._matrix44 import Matrix44 + from ._bezier4p import ( + Bezier4P, + cubic_bezier_arc_parameters, + cubic_bezier_from_arc, + cubic_bezier_from_ellipse, + ) + from ._bezier3p import Bezier3P + from ._bspline import Basis, Evaluator + from ._construct import ( + has_clockwise_orientation, + intersection_line_line_2d, + intersection_ray_ray_3d, + arc_angle_span_deg, + arc_angle_span_rad, + is_point_in_polygon_2d, + world_mercator_to_gps, + gps_to_world_mercator, + ) + +# Early required type aliases +AnyVec: TypeAlias = Union[Vec2, Vec3] +UVec: TypeAlias = Union[Sequence[float], Vec2, Vec3] diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/math/_mapbox_earcut.py b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/math/_mapbox_earcut.py new file mode 100644 index 0000000000000000000000000000000000000000..adf9ee99bbaacc1e62952e9af28316a683d9129a --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/math/_mapbox_earcut.py @@ -0,0 +1,831 @@ +# Source: https://github.com/mapbox/earcut +# License: ISC License (MIT compatible) +# +# Copyright (c) 2016, Mapbox +# +# Permission to use, copy, modify, and/or distribute this software for any purpose +# with or without fee is hereby granted, provided that the above copyright notice +# and this permission notice appear in all copies. +# +# THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH +# REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND +# FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, +# INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS +# OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER +# TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF +# THIS SOFTWARE. +# +# The Algorithm +# ------------- +# The library implements a modified ear slicing algorithm, optimized by z-order +# curve hashing and extended to handle holes, twisted polygons, degeneracies and +# self-intersections in a way that doesn't guarantee correctness of triangulation, +# but attempts to always produce acceptable results for practical data. +# +# Translation to Python: +# Copyright (c) 2022, Manfred Moitzi +# License: MIT License +# +# Notes +# ----- +# Exterior path (outer path) vertices are stored in counter-clockwise order +# Hole vertices are stored in clockwise order +# Vertex order will be maintained by the algorithm automatically. +# Boundary behavior for holes: +# - holes outside the exterior path are ignored +# - invalid result for holes partially extending beyond the exterior path +# - invalid result for overlapping holes +# - invalid result for holes in holes +# Very stable in all circumstances - DOES NOT CRASH! +# +# Steiner Point +# ------------- +# https://en.wikipedia.org/wiki/Steiner_point_(computational_geometry) +# A Steiner point is a point that is not part of the input to a geometric +# optimization problem but is added during the solution of the problem, to +# create a better solution than would be possible from the original points +# alone. +# A Steiner point is defined as a hole with a single point! +# +from __future__ import annotations +from typing import Sequence, Optional, Protocol, TypeVar + +import math + + +class Point(Protocol): + x: float + y: float + + +class Node: + def __init__(self, i: int, point: Point) -> None: + self.i: int = i + + # store source point for output + self.point = point + + # vertex coordinates + self.x: float = point.x + self.y: float = point.y + + # previous and next vertex nodes in a polygon ring + self.prev: Node = None # type: ignore + self.next: Node = None # type: ignore + + # z-order curve value + self.z: int = 0 + + # previous and next nodes in z-order + self.prev_z: Node = None # type: ignore + self.next_z: Node = None # type: ignore + + # indicates whether this is a steiner point + self.steiner: bool = False + + def __eq__(self, other): + return self.x == other.x and self.y == other.y + + +T = TypeVar("T", bound=Point) + + +def earcut(exterior: list[T], holes: list[list[T]]) -> list[Sequence[T]]: + """Implements a modified ear slicing algorithm, optimized by z-order + curve hashing and extended to handle holes, twisted polygons, degeneracies + and self-intersections in a way that doesn't guarantee correctness of + triangulation, but attempts to always produce acceptable results for + practical data. + + Source: https://github.com/mapbox/earcut + + Args: + exterior: outer path as list of points as objects which provide a + `x`- and a `y`-attribute + holes: list of holes, each hole is list of points, a hole with + a single points is a Steiner point + + Returns: + Returns a list of triangles, each triangle is a tuple of three points, + the output points are the same objects as the input points. + + """ + # exterior points in counter-clockwise order + outer_node: Node = linked_list(exterior, 0, ccw=True) + triangles: list[Sequence[T]] = [] + + if outer_node is None or outer_node.next is outer_node.prev: + return triangles + + if len(holes) > 0: + outer_node = eliminate_holes(holes, len(exterior), outer_node) + + min_x: float = 0.0 + min_y: float = 0.0 + inv_size: float = 0.0 + + # if the shape is not too simple, we'll use z-order curve hash later + # calculate polygon bbox + if len(exterior) > 80: + min_x = max_x = exterior[0].x + min_y = max_y = exterior[0].y + for point in exterior: + x = point.x + y = point.y + min_x = min(min_x, x) + min_y = min(min_y, y) + max_x = max(max_x, x) + max_y = max(max_y, y) + + # min_x, min_y and inv_size are later used to transform coords into + # integers for z-order calculation + inv_size = max(max_x - min_x, max_y - min_y) + inv_size = 32767 / inv_size if inv_size != 0 else 0 + + earcut_linked(outer_node, triangles, min_x, min_y, inv_size, 0) # type: ignore + return triangles + + +def linked_list(points: Sequence[Point], start: int, ccw: bool) -> Node: + """Create a circular doubly linked list from polygon points in the specified + winding order + """ + last: Node = None # type: ignore + if ccw is (signed_area(points) < 0): + for point in points: + last = insert_node(start, point, last) + start += 1 + else: + end = start + len(points) + for point in reversed(points): + last = insert_node(end, point, last) + end -= 1 + + # open polygon: where the 1st vertex is not coincident with the last vertex + if last and last == last.next: # true equals + remove_node(last) + last = last.next + return last + + +def signed_area(points: Sequence[Point]) -> float: + s: float = 0.0 + if not len(points): + return s + prev = points[-1] + for point in points: + s += (point.x - prev.x) * (point.y + prev.y) + prev = point + # s < 0 is counter-clockwise + # s > 0 is clockwise + return s + + +def area(p: Node, q: Node, r: Node) -> float: + """Returns signed area of a triangle""" + return (q.y - p.y) * (r.x - q.x) - (q.x - p.x) * (r.y - q.y) + + +def is_valid_diagonal(a: Node, b: Node): + """Check if a diagonal between two polygon nodes is valid (lies in polygon + interior) + """ + return ( + a.next.i != b.i + and a.prev.i != b.i + and not intersects_polygon(a, b) # doesn't intersect other edges + and ( + locally_inside(a, b) + and locally_inside(b, a) + and middle_inside(a, b) + and ( + area(a.prev, a, b.prev) or area(a, b.prev, b) + ) # does not create opposite-facing sectors + or a == b # true equals + and area(a.prev, a, a.next) > 0 + and area(b.prev, b, b.next) > 0 + ) # special zero-length case + ) + + +def intersects_polygon(a: Node, b: Node) -> bool: + """Check if a polygon diagonal intersects any polygon segments""" + p = a + while True: + if ( + p.i != a.i + and p.next.i != a.i + and p.i != b.i + and p.next.i != b.i + and intersects(p, p.next, a, b) + ): + return True + p = p.next + if p is a: + break + return False + + +def sign(num: float) -> int: + if num < 0.0: + return -1 + if num > 0.0: + return 1 + return 0 + + +def on_segment(p: Node, q: Node, r: Node) -> bool: + return max(p.x, r.x) >= q.x >= min(p.x, r.x) and max(p.y, r.y) >= q.y >= min( + p.y, r.y + ) + + +def intersects(p1: Node, q1: Node, p2: Node, q2: Node) -> bool: + """check if two segments intersect""" + o1 = sign(area(p1, q1, p2)) + o2 = sign(area(p1, q1, q2)) + o3 = sign(area(p2, q2, p1)) + o4 = sign(area(p2, q2, q1)) + + if o1 != o2 and o3 != o4: + return True # general case + + if o1 == 0 and on_segment(p1, p2, q1): + return True # p1, q1 and p2 are collinear and p2 lies on p1q1 + if o2 == 0 and on_segment(p1, q2, q1): + return True # p1, q1 and q2 are collinear and q2 lies on p1q1 + if o3 == 0 and on_segment(p2, p1, q2): + return True # p2, q2 and p1 are collinear and p1 lies on p2q2 + if o4 == 0 and on_segment(p2, q1, q2): + return True # p2, q2 and q1 are collinear and q1 lies on p2q2 + return False + + +def insert_node(i: int, point: Point, last: Node) -> Node: + """create a node and optionally link it with previous one (in a circular + doubly linked list) + """ + p = Node(i, point) + + if last is None: + p.prev = p + p.next = p + else: + p.next = last.next + p.prev = last + last.next.prev = p + last.next = p + return p + + +def remove_node(p: Node) -> None: + p.next.prev = p.prev + p.prev.next = p.next + + if p.prev_z: + p.prev_z.next_z = p.next_z + if p.next_z: + p.next_z.prev_z = p.prev_z + + +def eliminate_holes( + holes: Sequence[Sequence[Point]], start: int, outer_node: Node +) -> Node: + """link every hole into the outer loop, producing a single-ring polygon + without holes + """ + queue: list[Node] = [] + for hole in holes: + if len(hole) < 1: # skip empty holes + continue + # hole vertices in clockwise order + _list = linked_list(hole, start, ccw=False) + if _list is _list.next: + _list.steiner = True + start += len(hole) + queue.append(get_leftmost(_list)) + queue.sort(key=lambda node: (node.x, node.y)) + + # process holes from left to right + for hole_ in queue: + outer_node = eliminate_hole(hole_, outer_node) + return outer_node + + +def eliminate_hole(hole: Node, outer_node: Node) -> Node: + """Find a bridge between vertices that connects hole with an outer ring and + link it + """ + bridge = find_hole_bridge(hole, outer_node) + if bridge is None: + return outer_node + + bridge_reverse = split_polygon(bridge, hole) + + # filter collinear points around the cuts + filter_points(bridge_reverse, bridge_reverse.next) + return filter_points(bridge, bridge.next) + + +def filter_points(start: Node, end: Optional[Node] = None) -> Node: + """eliminate colinear or duplicate points""" + if start is None: + return start + if end is None: + end = start + + p = start + + while True: + again = False + if not p.steiner and ( + p == p.next or area(p.prev, p, p.next) == 0 # true equals + ): + remove_node(p) + p = end = p.prev + if p is p.next: + break + again = True + else: + p = p.next + if not (again or p is not end): + break + return end + + +# main ear slicing loop which triangulates a polygon (given as a linked list) +def earcut_linked( + ear: Node, + triangles: list[Sequence[Point]], + min_x: float, + min_y: float, + inv_size: float, + pass_: int, +) -> None: + if ear is None: + return + + # interlink polygon nodes in z-order + if not pass_ and inv_size: + index_curve(ear, min_x, min_y, inv_size) + + stop = ear + + # iterate through ears, slicing them one by one + while ear.prev is not ear.next: + prev = ear.prev + next = ear.next + + _is_ear = ( + is_ear_hashed(ear, min_x, min_y, inv_size) if inv_size else is_ear(ear) + ) + if _is_ear: + # cut off the triangle + triangles.append((prev.point, ear.point, next.point)) + remove_node(ear) + + # skipping the next vertex leads to less sliver triangles + ear = next.next + stop = next.next + continue + + ear = next + + # if we looped through the whole remaining polygon and can't find any more ears + if ear is stop: + # try filtering points and slicing again + if not pass_: + earcut_linked( + filter_points(ear), + triangles, + min_x, + min_y, + inv_size, + 1, + ) + + # if this didn't work, try curing all small self-intersections locally + elif pass_ == 1: + ear = cure_local_intersections(filter_points(ear), triangles) + earcut_linked(ear, triangles, min_x, min_y, inv_size, 2) + + # as a last resort, try splitting the remaining polygon into two + elif pass_ == 2: + split_ear_cut(ear, triangles, min_x, min_y, inv_size) + break + + +def is_ear(ear: Node) -> bool: + """check whether a polygon node forms a valid ear with adjacent nodes""" + a: Node = ear.prev + b: Node = ear + c: Node = ear.next + + if area(a, b, c) >= 0: + return False # reflex, can't be an ear + + # now make sure we don't have other points inside the potential ear + ax = a.x + bx = b.x + cx = c.x + ay = a.y + by = b.y + cy = c.y + + # triangle bbox; min & max are calculated like this for speed + x0 = min(ax, bx, cx) + x1 = max(ax, bx, cx) + y0 = min(ay, by, cy) + y1 = max(ay, by, cy) + p: Node = c.next + + while p is not a: + if ( + x0 <= p.x <= x1 + and y0 <= p.y <= y1 + and point_in_triangle(ax, ay, bx, by, cx, cy, p.x, p.y) + and area(p.prev, p, p.next) >= 0 + ): + return False + p = p.next + + return True + + +def is_ear_hashed(ear: Node, min_x: float, min_y: float, inv_size: float): + a: Node = ear.prev + b: Node = ear + c: Node = ear.next + + if area(a, b, c) >= 0: + return False # reflex, can't be an ear + + ax = a.x + bx = b.x + cx = c.x + ay = a.y + by = b.y + cy = c.y + + # triangle bbox; min & max are calculated like this for speed + x0 = min(ax, bx, cx) + x1 = max(ax, bx, cx) + y0 = min(ay, by, cy) + y1 = max(ay, by, cy) + + # z-order range for the current triangle bbox; + min_z = z_order(x0, y0, min_x, min_y, inv_size) + max_z = z_order(x1, y1, min_x, min_y, inv_size) + + p: Node = ear.prev_z + n: Node = ear.next_z + + # look for points inside the triangle in both directions + while p and p.z >= min_z and n and n.z <= max_z: + if ( + x0 <= p.x <= x1 + and y0 <= p.y <= y1 + and p is not a + and p is not c + and point_in_triangle(ax, ay, bx, by, cx, cy, p.x, p.y) + and area(p.prev, p, p.next) >= 0 + ): + return False + p = p.prev_z + + if ( + x0 <= n.x <= x1 + and y0 <= n.y <= y1 + and n is not a + and n is not c + and point_in_triangle(ax, ay, bx, by, cx, cy, n.x, n.y) + and area(n.prev, n, n.next) >= 0 + ): + return False + n = n.next_z + + # look for remaining points in decreasing z-order + while p and p.z >= min_z: + if ( + x0 <= p.x <= x1 + and y0 <= p.y <= y1 + and p is not a + and p is not c + and point_in_triangle(ax, ay, bx, by, cx, cy, p.x, p.y) + and area(p.prev, p, p.next) >= 0 + ): + return False + p = p.prev_z + + # look for remaining points in increasing z-order + while n and n.z <= max_z: + if ( + x0 <= n.x <= x1 + and y0 <= n.y <= y1 + and n is not a + and n is not c + and point_in_triangle(ax, ay, bx, by, cx, cy, n.x, n.y) + and area(n.prev, n, n.next) >= 0 + ): + return False + n = n.next_z + return True + + +def get_leftmost(start: Node) -> Node: + """Find the leftmost node of a polygon ring""" + p = start + leftmost = start + while True: + if p.x < leftmost.x or (p.x == leftmost.x and p.y < leftmost.y): + leftmost = p + p = p.next + if p is start: + break + return leftmost + + +def point_in_triangle( + ax: float, + ay: float, + bx: float, + by: float, + cx: float, + cy: float, + px: float, + py: float, +) -> bool: + """Check if a point lies within a convex triangle""" + return ( + (cx - px) * (ay - py) >= (ax - px) * (cy - py) + and (ax - px) * (by - py) >= (bx - px) * (ay - py) + and (bx - px) * (cy - py) >= (cx - px) * (by - py) + ) + + +def sector_contains_sector(m: Node, p: Node): + """Whether sector in vertex m contains sector in vertex p in the same + coordinates. + """ + return area(m.prev, m, p.prev) < 0 and area(p.next, m, m.next) < 0 + + +def index_curve(start: Node, min_x: float, min_y: float, inv_size: float): + """Interlink polygon nodes in z-order""" + p = start + while True: + if p.z == 0: + p.z = z_order(p.x, p.y, min_x, min_y, inv_size) + p.prev_z = p.prev + p.next_z = p.next + p = p.next + if p is start: + break + + p.prev_z.next_z = None # type: ignore + p.prev_z = None # type: ignore + + sort_linked(p) + + +def z_order(x0: float, y0: float, min_x: float, min_y: float, inv_size: float) -> int: + """Z-order of a point given coords and inverse of the longer side of data + bbox. + """ + # coords are transformed into non-negative 15-bit integer range + x = int((x0 - min_x) * inv_size) + y = int((y0 - min_y) * inv_size) + + x = (x | (x << 8)) & 0x00FF00FF + x = (x | (x << 4)) & 0x0F0F0F0F + x = (x | (x << 2)) & 0x33333333 + x = (x | (x << 1)) & 0x55555555 + + y = (y | (y << 8)) & 0x00FF00FF + y = (y | (y << 4)) & 0x0F0F0F0F + y = (y | (y << 2)) & 0x33333333 + y = (y | (y << 1)) & 0x55555555 + + return x | (y << 1) + + +# Simon Tatham's linked list merge sort algorithm +# http://www.chiark.greenend.org.uk/~sgtatham/algorithms/listsort.html +def sort_linked(head: Node) -> Node: + in_size = 1 + tail: Node + while True: + p = head + head = None # type: ignore + tail = None # type: ignore + num_merges = 0 + while p: + num_merges += 1 + q = p + p_size = 0 + for i in range(in_size): + p_size += 1 + q = q.next_z + if not q: + break + q_size = in_size + while p_size > 0 or (q_size > 0 and q): + if p_size != 0 and (q_size == 0 or not q or p.z <= q.z): + e = p + p = p.next_z + p_size -= 1 + else: + e = q + q = q.next_z + q_size -= 1 + + if tail: + tail.next_z = e + else: + head = e + e.prev_z = tail + tail = e + p = q + tail.next_z = None # type: ignore + in_size *= 2 + if num_merges <= 1: + break + return head + + +def split_polygon(a: Node, b: Node) -> Node: + """Link two polygon vertices with a bridge. + + If the vertices belong to the same ring, it splits polygon into two. + If one belongs to the outer ring and another to a hole, it merges it into a + single ring. + """ + a2 = Node(a.i, a.point) + b2 = Node(b.i, b.point) + an = a.next + bp = b.prev + + a.next = b + b.prev = a + + a2.next = an + an.prev = a2 + + b2.next = a2 + a2.prev = b2 + + bp.next = b2 + b2.prev = bp + + return b2 + + +# go through all polygon nodes and cure small local self-intersections +def cure_local_intersections(start: Node, triangles: list[Sequence[Point]]) -> Node: + p = start + while True: + a = p.prev + b = p.next.next + + if ( + not a == b # true equals + and intersects(a, p, p.next, b) + and locally_inside(a, b) + and locally_inside(b, a) + ): + triangles.append((a.point, p.point, b.point)) + # remove two nodes involved + remove_node(p) + remove_node(p.next) + p = start = b + + p = p.next + if p is start: + break + return filter_points(p) + + +def split_ear_cut( + start: Node, + triangles: list[Sequence[Point]], + min_x: float, + min_y: float, + inv_size: float, +) -> None: + """Try splitting polygon into two and triangulate them independently""" + # look for a valid diagonal that divides the polygon into two + a = start + while True: + b = a.next.next + while b is not a.prev: + if a.i != b.i and is_valid_diagonal(a, b): + # split the polygon in two by the diagonal + c = split_polygon(a, b) + + # filter colinear points around the cuts + a = filter_points(a, a.next) + c = filter_points(c, c.next) + + # run earcut on each half + earcut_linked(a, triangles, min_x, min_y, inv_size, 0) + earcut_linked(c, triangles, min_x, min_y, inv_size, 0) + return + b = b.next + a = a.next + if a is start: + break + + +# David Eberly's algorithm for finding a bridge between hole and outer polygon +def find_hole_bridge(hole: Node, outer_node: Node) -> Node: + p = outer_node + hx = hole.x + hy = hole.y + qx = -math.inf + m: Node = None # type: ignore + # find a segment intersected by a ray from the hole's leftmost point to the left; + # segment's endpoint with lesser x will be potential connection point + while True: + if p.y >= hy >= p.next.y != p.y: + x = p.x + (hy - p.y) * (p.next.x - p.x) / (p.next.y - p.y) + if hx >= x > qx: + qx = x + m = p if p.x < p.next.x else p.next + if x == hx: # ??? use math.isclose + # hole touches outer segment; pick leftmost endpoint + return m + p = p.next + if p is outer_node: + break + + if m is None: + return None + + # look for points inside the triangle of hole point, segment intersection and endpoint; + # if there are no points found, we have a valid connection; + # otherwise choose the point of the minimum angle with the ray as connection point + stop = m + mx = m.x + my = m.y + tan_min = math.inf + p = m + + while True: + if ( + hx >= p.x >= mx + and hx != p.x + and point_in_triangle( + hx if hy < my else qx, + hy, + mx, + my, + qx if hy < my else hx, + hy, + p.x, + p.y, + ) + ): + tan = abs(hy - p.y) / (hx - p.x) # tangential + + if locally_inside(p, hole) and ( + tan < tan_min + or ( + tan == tan_min + and (p.x > m.x or (p.x == m.x and sector_contains_sector(m, p))) + ) + ): + m = p + tan_min = tan + + p = p.next + if p is stop: + break + return m + + +def locally_inside(a: Node, b: Node) -> bool: + """Check if a polygon diagonal is locally inside the polygon""" + return ( + area(a, b, a.next) >= 0 and area(a, a.prev, b) >= 0 + if area(a.prev, a, a.next) < 0 + else area(a, b, a.prev) < 0 or area(a, a.next, b) < 0 + ) + + +def middle_inside(a: Node, b: Node) -> bool: + """Check if the middle point of a polygon diagonal is inside the polygon""" + p = a + inside = False + px = (a.x + b.x) / 2 + py = (a.y + b.y) / 2 + while True: + if ( + ((p.y > py) != (p.next.y > py)) + and p.next.y != p.y + and (px < (p.next.x - p.x) * (py - p.y) / (p.next.y - p.y) + p.x) + ): + inside = not inside + p = p.next + if p is a: + break + return inside diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/math/_matrix44.py b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/math/_matrix44.py new file mode 100644 index 0000000000000000000000000000000000000000..4ea124ba96f5d7964511a2c246ceca7f608fadf1 --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/math/_matrix44.py @@ -0,0 +1,718 @@ +# original code from package: gameobjects +# Home-page: http://code.google.com/p/gameobjects/ +# Author: Will McGugan +# Download-URL: http://code.google.com/p/gameobjects/downloads/list +# Copyright (c) 2011-2024 Manfred Moitzi +# License: MIT License +from __future__ import annotations +from typing import Sequence, Iterable, Iterator, TYPE_CHECKING, Optional +import math +import numpy as np +import numpy.typing as npt + +from math import sin, cos, tan +from itertools import chain + +# The pure Python implementation can't import from ._ctypes or ezdxf.math! +from ._vector import Vec3, X_AXIS, Y_AXIS, Z_AXIS, NULLVEC, Vec2 + +if TYPE_CHECKING: + from ezdxf.math import UVec + +__all__ = ["Matrix44"] + + +# removed array.array because array is optimized for space not speed, and space +# optimization is not needed + + +def floats(items: Iterable) -> list[float]: + return [float(v) for v in items] + + +class Matrix44: + """An optimized 4x4 `transformation matrix`_. + + The utility functions for constructing transformations and transforming + vectors and points assumes that vectors are stored as row vectors, meaning + when multiplied, transformations are applied left to right (e.g. vAB + transforms v by A then by B). + + Matrix44 initialization: + + - ``Matrix44()`` returns the identity matrix. + - ``Matrix44(values)`` values is an iterable with the 16 components of + the matrix. + - ``Matrix44(row1, row2, row3, row4)`` four rows, each row with four + values. + + .. _transformation matrix: https://en.wikipedia.org/wiki/Transformation_matrix + + """ + + __slots__ = ("_matrix",) + _matrix: npt.NDArray[np.float64] + + # fmt: off + _identity = np.array([ + 1.0, 0.0, 0.0, 0.0, + 0.0, 1.0, 0.0, 0.0, + 0.0, 0.0, 1.0, 0.0, + 0.0, 0.0, 0.0, 1.0 + ], dtype=np.float64 + ) + # fmt: on + + def __init__(self, *args): + """ + Matrix44() is the identity matrix. + + Matrix44(values) values is an iterable with the 16 components of the matrix. + + Matrix44(row1, row2, row3, row4) four rows, each row with four values. + + """ + nargs = len(args) + if nargs == 0: + self._matrix = Matrix44._identity.copy() + elif nargs == 1: + self._matrix = np.array(args[0], dtype=np.float64) + elif nargs == 4: + self._matrix = np.array(list(chain(*args)), dtype=np.float64) + else: + raise ValueError( + "Invalid count of arguments (4 row vectors or one " + "list with 16 values)." + ) + if self._matrix.shape != (16,): + raise ValueError("Invalid matrix count") + + def __repr__(self) -> str: + """Returns the representation string of the matrix in row-major order: + ``Matrix44((col0, col1, col2, col3), (...), (...), (...))`` + """ + + def format_row(row): + return "(%s)" % ", ".join(str(value) for value in row) + + return "Matrix44(%s)" % ", ".join(format_row(row) for row in self.rows()) + + def get_2d_transformation(self) -> tuple[float, ...]: + """Returns a 2D transformation as a row-major matrix in a linear + array (tuple). + + A more correct transformation could be implemented like so: + https://stackoverflow.com/questions/10629737/convert-3d-4x4-rotation-matrix-into-2d + """ + m = self._matrix + return m[0], m[1], 0.0, m[4], m[5], 0.0, m[12], m[13], 1.0 + + @staticmethod + def from_2d_transformation(components: Sequence[float]) -> Matrix44: + """Returns the :class:`Matrix44` class for an affine 2D (3x3) transformation + matrix defined by 6 float values: m11, m12, m21, m22, m31, m32. + """ + if len(components) != 6: + raise ValueError( + "First 2 columns of a 3x3 matrix required: m11, m12, m21, m22, m31, m32" + ) + + m44 = Matrix44() + m = m44._matrix + m[0] = components[0] + m[1] = components[1] + m[4] = components[2] + m[5] = components[3] + m[12] = components[4] + m[13] = components[5] + return m44 + + def get_row(self, row: int) -> tuple[float, ...]: + """Get row as list of four float values. + + Args: + row: row index [0 .. 3] + + """ + if 0 <= row < 4: + index = row * 4 + return tuple(self._matrix[index : index + 4]) + else: + raise IndexError(f"invalid row index: {row}") + + def set_row(self, row: int, values: Sequence[float]) -> None: + """Sets the values in a row. + + Args: + row: row index [0 .. 3] + values: iterable of four row values + + """ + if 0 <= row < 4: + index = row * 4 + self._matrix[index : index + len(values)] = floats(values) + else: + raise IndexError(f"invalid row index: {row}") + + def get_col(self, col: int) -> tuple[float, ...]: + """Returns a column as a tuple of four floats. + + Args: + col: column index [0 .. 3] + """ + if 0 <= col < 4: + m = self._matrix + return m[col], m[col + 4], m[col + 8], m[col + 12] + else: + raise IndexError(f"invalid row index: {col}") + + def set_col(self, col: int, values: Sequence[float]): + """Sets the values in a column. + + Args: + col: column index [0 .. 3] + values: iterable of four column values + + """ + if 0 <= col < 4: + m = self._matrix + a, b, c, d = values + m[col] = float(a) + m[col + 4] = float(b) + m[col + 8] = float(c) + m[col + 12] = float(d) + else: + raise IndexError(f"invalid row index: {col}") + + def copy(self) -> Matrix44: + """Returns a copy of same type.""" + return self.__class__(self._matrix) + + __copy__ = copy + + @property + def origin(self) -> Vec3: + m = self._matrix + return Vec3(m[12], m[13], m[14]) + + @origin.setter + def origin(self, v: UVec) -> None: + m = self._matrix + m[12], m[13], m[14] = Vec3(v) + + @property + def ux(self) -> Vec3: + return Vec3(self._matrix[0:3]) + + @property + def uy(self) -> Vec3: + return Vec3(self._matrix[4:7]) + + @property + def uz(self) -> Vec3: + return Vec3(self._matrix[8:11]) + + @property + def is_cartesian(self) -> bool: + """Returns ``True`` if target coordinate system is a right handed + orthogonal coordinate system. + """ + return self.uy.cross(self.uz).normalize().isclose(self.ux.normalize()) + + @property + def is_orthogonal(self) -> bool: + """Returns ``True`` if target coordinate system has orthogonal axis. + + Does not check for left- or right handed orientation, any orientation + of the axis valid. + + """ + ux = self.ux.normalize() + uy = self.uy.normalize() + uz = self.uz.normalize() + return ( + abs(ux.dot(uy)) <= 1e-9 + and abs(ux.dot(uz)) <= 1e-9 + and abs(uy.dot(uz)) <= 1e-9 + ) + + @classmethod + def scale( + cls, sx: float, sy: Optional[float] = None, sz: Optional[float] = None + ) -> Matrix44: + """Returns a scaling transformation matrix. If `sy` is ``None``, + `sy` = `sx`, and if `sz` is ``None`` `sz` = `sx`. + + """ + if sy is None: + sy = sx + if sz is None: + sz = sx + # fmt: off + m = cls([ + float(sx), 0., 0., 0., + 0., float(sy), 0., 0., + 0., 0., float(sz), 0., + 0., 0., 0., 1. + ]) + # fmt: on + return m + + @classmethod + def translate(cls, dx: float, dy: float, dz: float) -> Matrix44: + """Returns a translation matrix for translation vector (dx, dy, dz).""" + # fmt: off + return cls([ + 1., 0., 0., 0., + 0., 1., 0., 0., + 0., 0., 1., 0., + float(dx), float(dy), float(dz), 1. + ]) + # fmt: on + + @classmethod + def x_rotate(cls, angle: float) -> Matrix44: + """Returns a rotation matrix about the x-axis. + + Args: + angle: rotation angle in radians + + """ + cos_a = cos(angle) + sin_a = sin(angle) + # fmt: off + return cls([ + 1., 0., 0., 0., + 0., cos_a, sin_a, 0., + 0., -sin_a, cos_a, 0., + 0., 0., 0., 1. + ]) + # fmt: on + + @classmethod + def y_rotate(cls, angle: float) -> Matrix44: + """Returns a rotation matrix about the y-axis. + + Args: + angle: rotation angle in radians + + """ + cos_a = cos(angle) + sin_a = sin(angle) + # fmt: off + return cls([ + cos_a, 0., -sin_a, 0., + 0., 1., 0., 0., + sin_a, 0., cos_a, 0., + 0., 0., 0., 1. + ]) + # fmt: on + + @classmethod + def z_rotate(cls, angle: float) -> Matrix44: + """Returns a rotation matrix about the z-axis. + + Args: + angle: rotation angle in radians + + """ + cos_a = cos(angle) + sin_a = sin(angle) + # fmt: off + return cls([ + cos_a, sin_a, 0., 0., + -sin_a, cos_a, 0., 0., + 0., 0., 1., 0., + 0., 0., 0., 1. + ]) + # fmt: on + + @classmethod + def axis_rotate(cls, axis: UVec, angle: float) -> Matrix44: + """Returns a rotation matrix about an arbitrary `axis`. + + Args: + axis: rotation axis as ``(x, y, z)`` tuple or :class:`Vec3` object + angle: rotation angle in radians + + """ + c = cos(angle) + s = sin(angle) + omc = 1.0 - c + x, y, z = Vec3(axis).normalize() + # fmt: off + return cls([ + x * x * omc + c, y * x * omc + z * s, x * z * omc - y * s, 0., + x * y * omc - z * s, y * y * omc + c, y * z * omc + x * s, 0., + x * z * omc + y * s, y * z * omc - x * s, z * z * omc + c, 0., + 0., 0., 0., 1. + ]) + # fmt: on + + @classmethod + def xyz_rotate(cls, angle_x: float, angle_y: float, angle_z: float) -> Matrix44: + """Returns a rotation matrix for rotation about each axis. + + Args: + angle_x: rotation angle about x-axis in radians + angle_y: rotation angle about y-axis in radians + angle_z: rotation angle about z-axis in radians + + """ + cx = cos(angle_x) + sx = sin(angle_x) + cy = cos(angle_y) + sy = sin(angle_y) + cz = cos(angle_z) + sz = sin(angle_z) + + sxsy = sx * sy + cxsy = cx * sy + # fmt: off + return cls([ + cy * cz, sxsy * cz + cx * sz, -cxsy * cz + sx * sz, 0., + -cy * sz, -sxsy * sz + cx * cz, cxsy * sz + sx * cz, 0., + sy, -sx * cy, cx * cy, 0., + 0., 0., 0., 1. + ]) + # fmt: on + + @classmethod + def shear_xy(cls, angle_x: float = 0, angle_y: float = 0) -> Matrix44: + """Returns a translation matrix for shear mapping (visually similar + to slanting) in the xy-plane. + + Args: + angle_x: slanting angle in x direction in radians + angle_y: slanting angle in y direction in radians + + """ + tx = math.tan(angle_x) + ty = math.tan(angle_y) + # fmt: off + return cls([ + 1., ty, 0., 0., + tx, 1., 0., 0., + 0., 0., 1., 0., + 0., 0., 0., 1. + ]) + # fmt: on + + @classmethod + def perspective_projection( + cls, + left: float, + right: float, + top: float, + bottom: float, + near: float, + far: float, + ) -> Matrix44: + """Returns a matrix for a 2D projection. + + Args: + left: Coordinate of left of screen + right: Coordinate of right of screen + top: Coordinate of the top of the screen + bottom: Coordinate of the bottom of the screen + near: Coordinate of the near clipping plane + far: Coordinate of the far clipping plane + + """ + # fmt: off + return cls([ + (2. * near) / (right - left), 0., 0., 0., + 0., (2. * near) / (top - bottom), 0., 0., + (right + left) / (right - left), (top + bottom) / (top - bottom), + -((far + near) / (far - near)), -1., + 0., 0., -((2. * far * near) / (far - near)), 0. + ]) + # fmt: on + + @classmethod + def perspective_projection_fov( + cls, fov: float, aspect: float, near: float, far: float + ) -> Matrix44: + """Returns a matrix for a 2D projection. + + Args: + fov: The field of view (in radians) + aspect: The aspect ratio of the screen (width / height) + near: Coordinate of the near clipping plane + far: Coordinate of the far clipping plane + + """ + vrange = near * tan(fov / 2.0) + left = -vrange * aspect + right = vrange * aspect + bottom = -vrange + top = vrange + return cls.perspective_projection(left, right, bottom, top, near, far) + + @staticmethod + def chain(*matrices: Matrix44) -> Matrix44: + """Compose a transformation matrix from one or more `matrices`.""" + transformation = Matrix44() + for matrix in matrices: + transformation *= matrix + return transformation + + @staticmethod + def ucs( + ux: Vec3 = X_AXIS, + uy: Vec3 = Y_AXIS, + uz: Vec3 = Z_AXIS, + origin: Vec3 = NULLVEC, + ) -> Matrix44: + """Returns a matrix for coordinate transformation from WCS to UCS. + For transformation from UCS to WCS, transpose the returned matrix. + + Args: + ux: x-axis for UCS as unit vector + uy: y-axis for UCS as unit vector + uz: z-axis for UCS as unit vector + origin: UCS origin as location vector + + """ + ux_x, ux_y, ux_z = ux + uy_x, uy_y, uy_z = uy + uz_x, uz_y, uz_z = uz + or_x, or_y, or_z = origin + # fmt: off + return Matrix44(( + ux_x, ux_y, ux_z, 0, + uy_x, uy_y, uy_z, 0, + uz_x, uz_y, uz_z, 0, + or_x, or_y, or_z, 1, + )) + # fmt: on + + def __setitem__(self, index: tuple[int, int], value: float): + """Set (row, column) element.""" + row, col = index + if 0 <= row < 4 and 0 <= col < 4: + self._matrix[row * 4 + col] = float(value) + else: + raise IndexError(f"index out of range: {index}") + + def __getitem__(self, index: tuple[int, int]): + """Get (row, column) element.""" + row, col = index + if 0 <= row < 4 and 0 <= col < 4: + return self._matrix[row * 4 + col] + else: + raise IndexError(f"index out of range: {index}") + + def __iter__(self) -> Iterator[float]: + """Iterates over all matrix values.""" + return iter(self._matrix) + + def __mul__(self, other: Matrix44) -> Matrix44: + """Returns a new matrix as result of the matrix multiplication with + another matrix. + """ + m1 = self._matrix.reshape(4, 4) + m2 = other._matrix.reshape(4, 4) + result = np.matmul(m1, m2) + return self.__class__(np.ravel(result)) + + # __matmul__ = __mul__ does not work! + + def __matmul__(self, other: Matrix44) -> Matrix44: + """Returns a new matrix as result of the matrix multiplication with + another matrix. + """ + m1 = self._matrix.reshape(4, 4) + m2 = other._matrix.reshape(4, 4) + result = np.matmul(m1, m2) + return self.__class__(np.ravel(result)) + + def __imul__(self, other: Matrix44) -> Matrix44: + """Inplace multiplication with another matrix.""" + m1 = self._matrix.reshape(4, 4) + m2 = other._matrix.reshape(4, 4) + result = np.matmul(m1, m2) + self._matrix = np.ravel(result) + return self + + def rows(self) -> Iterator[tuple[float, ...]]: + """Iterate over rows as 4-tuples.""" + return (self.get_row(index) for index in (0, 1, 2, 3)) + + def columns(self) -> Iterator[tuple[float, ...]]: + """Iterate over columns as 4-tuples.""" + return (self.get_col(index) for index in (0, 1, 2, 3)) + + def transform(self, vector: UVec) -> Vec3: + """Returns a transformed vertex.""" + m = self._matrix + x, y, z = Vec3(vector) + # fmt: off + return Vec3( + x * m[0] + y * m[4] + z * m[8] + m[12], + x * m[1] + y * m[5] + z * m[9] + m[13], + x * m[2] + y * m[6] + z * m[10] + m[14] + ) + # fmt: on + + def transform_direction(self, vector: UVec, normalize=False) -> Vec3: + """Returns a transformed direction vector without translation.""" + m = self._matrix + x, y, z = Vec3(vector) + # fmt: off + v = Vec3( + x * m[0] + y * m[4] + z * m[8], + x * m[1] + y * m[5] + z * m[9], + x * m[2] + y * m[6] + z * m[10] + ) + # fmt: on + return v.normalize() if normalize else v + + ocs_to_wcs = transform_direction + + def transform_vertices(self, vectors: Iterable[UVec]) -> Iterator[Vec3]: + """Returns an iterable of transformed vertices.""" + # fmt: off + ( + m0, m1, m2, m3, + m4, m5, m6, m7, + m8, m9, m10, m11, + m12, m13, m14, m15, + ) = self._matrix + # fmt: on + for vector in vectors: + x, y, z = Vec3(vector) + # fmt: off + yield Vec3( + x * m0 + y * m4 + z * m8 + m12, + x * m1 + y * m5 + z * m9 + m13, + x * m2 + y * m6 + z * m10 + m14 + ) + # fmt: on + + def fast_2d_transform(self, points: Iterable[UVec]) -> Iterator[Vec2]: + """Fast transformation of 2D points. For 3D input points the z-axis will be + ignored. This only works reliable if only 2D transformations have been applied + to the 4x4 matrix! + + Profiling results - speed gains over :meth:`transform_vertices`: + + - pure Python code: ~1.6x + - Python with C-extensions: less than 1.1x + - PyPy 3.8: ~4.3x + + But speed isn't everything, returning the processed input points as :class:`Vec2` + instances is another advantage. + + .. versionadded:: 1.1 + + """ + m = self._matrix + m0 = m[0] + m1 = m[1] + m4 = m[4] + m5 = m[5] + m12 = m[12] + m13 = m[13] + for pnt in points: + v = Vec2(pnt) + x = v.x + y = v.y + yield Vec2(x * m0 + y * m4 + m12, x * m1 + y * m5 + m13) + + def transform_array_inplace(self, array: np.ndarray, ndim: int) -> None: + """Transforms a numpy array inplace, the argument `ndim` defines the dimensions + to transform, this allows 2D/3D transformation on arrays with more columns + e.g. a polyline array which stores points as (x, y, start_width, end_width, + bulge) values. + + .. versionadded:: 1.1 + + """ + # This implementation exist only for compatibility to the Cython implementation! + # This version is 3.4x faster than the Cython version of Matrix44.fast_2d_transform() + # for larger point arrays but 10.5x slower than the Cython version of this method. + if ndim == 2: + m = np.array(self.get_2d_transformation(), dtype=np.float64) + m.shape = (3, 3) + elif ndim == 3: + m = np.array(self._matrix, dtype=np.float64) + m.shape = (4, 4) + else: + raise ValueError("ndim has to be 2 or 3") + + v = np.matmul( + np.concatenate((array[:, :ndim], np.ones((array.shape[0], 1))), axis=1), m + ) + array[:, :ndim] = v[:, :ndim].copy() + + def transform_directions( + self, vectors: Iterable[UVec], normalize=False + ) -> Iterator[Vec3]: + """Returns an iterable of transformed direction vectors without + translation. + + """ + m0, m1, m2, m3, m4, m5, m6, m7, m8, m9, m10, *_ = self._matrix + for vector in vectors: + x, y, z = Vec3(vector) + # fmt: off + v = Vec3( + x * m0 + y * m4 + z * m8, + x * m1 + y * m5 + z * m9, + x * m2 + y * m6 + z * m10 + ) + # fmt: on + yield v.normalize() if normalize else v + + def ucs_vertex_from_wcs(self, wcs: Vec3) -> Vec3: + """Returns an UCS vector from WCS vertex. + + Works only if matrix is used as cartesian UCS without scaling. + + (internal API) + + """ + return self.ucs_direction_from_wcs(wcs - self.origin) + + def ucs_direction_from_wcs(self, wcs: Vec3) -> Vec3: + """Returns UCS direction vector from WCS direction. + + Works only if matrix is used as cartesian UCS without scaling. + + (internal API) + + """ + m0, m1, m2, m3, m4, m5, m6, m7, m8, m9, m10, *_ = self._matrix + x, y, z = wcs + # fmt: off + return Vec3( + x * m0 + y * m1 + z * m2, + x * m4 + y * m5 + z * m6, + x * m8 + y * m9 + z * m10, + ) + # fmt: on + + ocs_from_wcs = ucs_direction_from_wcs + + def transpose(self) -> None: + """Swaps the rows for columns inplace.""" + m = self._matrix.reshape(4, 4) + self._matrix = np.ravel(m.T) + + def determinant(self) -> float: + """Returns determinant.""" + return np.linalg.det(self._matrix.reshape(4, 4)) + + def inverse(self) -> None: + """Calculates the inverse of the matrix. + + Raises: + ZeroDivisionError: if matrix has no inverse. + + """ + try: + inverse = np.linalg.inv(self._matrix.reshape(4, 4)) + except np.linalg.LinAlgError: + raise ZeroDivisionError + self._matrix = np.ravel(inverse) diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/math/_vector.py b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/math/_vector.py new file mode 100644 index 0000000000000000000000000000000000000000..0e6fb27ed92e9e5be89df0630df5d0fa8b89364a --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/math/_vector.py @@ -0,0 +1,825 @@ +# Copyright (c) 2018-2024, Manfred Moitzi +# License: MIT License +from __future__ import annotations +from typing import ( + Tuple, + Iterable, + Sequence, + TYPE_CHECKING, + Iterator, + Optional, +) +from functools import partial +import math +import random + +if TYPE_CHECKING: + from ezdxf.math import UVec, AnyVec + +ABS_TOL = 1e-12 +isclose = partial(math.isclose, abs_tol=ABS_TOL) + +__all__ = ["Vec3", "Vec2"] + + +class Vec3: + """Immutable 3D vector class. + + This class is optimized for universality not for speed. + Immutable means you can't change (x, y, z) components after initialization:: + + v1 = Vec3(1, 2, 3) + v2 = v1 + v2.z = 7 # this is not possible, raises AttributeError + v2 = Vec3(v2.x, v2.y, 7) # this creates a new Vec3() object + assert v1.z == 3 # and v1 remains unchanged + + + :class:`Vec3` initialization: + + - ``Vec3()``, returns ``Vec3(0, 0, 0)`` + - ``Vec3((x, y))``, returns ``Vec3(x, y, 0)`` + - ``Vec3((x, y, z))``, returns ``Vec3(x, y, z)`` + - ``Vec3(x, y)``, returns ``Vec3(x, y, 0)`` + - ``Vec3(x, y, z)``, returns ``Vec3(x, y, z)`` + + Addition, subtraction, scalar multiplication and scalar division left and + right-handed are supported:: + + v = Vec3(1, 2, 3) + v + (1, 2, 3) == Vec3(2, 4, 6) + (1, 2, 3) + v == Vec3(2, 4, 6) + v - (1, 2, 3) == Vec3(0, 0, 0) + (1, 2, 3) - v == Vec3(0, 0, 0) + v * 3 == Vec3(3, 6, 9) + 3 * v == Vec3(3, 6, 9) + Vec3(3, 6, 9) / 3 == Vec3(1, 2, 3) + -Vec3(1, 2, 3) == (-1, -2, -3) + + Comparison between vectors and vectors or tuples is supported:: + + Vec3(1, 2, 3) < Vec3 (2, 2, 2) + (1, 2, 3) < tuple(Vec3(2, 2, 2)) # conversion necessary + Vec3(1, 2, 3) == (1, 2, 3) + + bool(Vec3(1, 2, 3)) is True + bool(Vec3(0, 0, 0)) is False + + """ + + __slots__ = ["_x", "_y", "_z"] + + def __init__(self, *args): + self._x, self._y, self._z = self.decompose(*args) + + @property + def x(self) -> float: + """x-axis value""" + return self._x + + @property + def y(self) -> float: + """y-axis value""" + return self._y + + @property + def z(self) -> float: + """z-axis value""" + return self._z + + @property + def xy(self) -> Vec3: + """Vec3 as ``(x, y, 0)``, projected on the xy-plane.""" + return self.__class__(self._x, self._y) + + @property + def xyz(self) -> tuple[float, float, float]: + """Vec3 as ``(x, y, z)`` tuple.""" + return self._x, self._y, self._z + + @property + def vec2(self) -> Vec2: + """Real 2D vector as :class:`Vec2` object.""" + return Vec2((self._x, self._y)) + + def replace( + self, + x: Optional[float] = None, + y: Optional[float] = None, + z: Optional[float] = None, + ) -> Vec3: + """Returns a copy of vector with replaced x-, y- and/or z-axis.""" + if x is None: + x = self._x + if y is None: + y = self._y + if z is None: + z = self._z + return self.__class__(x, y, z) + + def round(self, ndigits=None) -> Vec3: + """Returns a new vector where all components are rounded to `ndigits`. + + Uses standard Python :func:`round` function for rounding. + """ + return self.__class__( + round(self._x, ndigits), + round(self._y, ndigits), + round(self._z, ndigits), + ) + + @classmethod + def list(cls, items: Iterable[UVec]) -> list[Vec3]: + """Returns a list of :class:`Vec3` objects.""" + return list(cls.generate(items)) + + @classmethod + def tuple(cls, items: Iterable[UVec]) -> Sequence[Vec3]: + """Returns a tuple of :class:`Vec3` objects.""" + return tuple(cls.generate(items)) + + @classmethod + def generate(cls, items: Iterable[UVec]) -> Iterator[Vec3]: + """Returns an iterable of :class:`Vec3` objects.""" + return (cls(item) for item in items) + + @classmethod + def from_angle(cls, angle: float, length: float = 1.0) -> Vec3: + """Returns a :class:`Vec3` object from `angle` in radians in the + xy-plane, z-axis = ``0``. + """ + return cls(math.cos(angle) * length, math.sin(angle) * length, 0.0) + + @classmethod + def from_deg_angle(cls, angle: float, length: float = 1.0) -> Vec3: + """Returns a :class:`Vec3` object from `angle` in degrees in the + xy-plane, z-axis = ``0``. + """ + return cls.from_angle(math.radians(angle), length) + + @staticmethod + def decompose(*args) -> Tuple[float, float, float]: # cannot use "tuple" here! + """Converts input into a (x, y, z) tuple. + + Valid arguments are: + + - no args: ``decompose()`` returns (0, 0, 0) + - 1 arg: ``decompose(arg)``, `arg` is tuple or list, tuple has to be + (x, y[, z]): ``decompose((x, y))`` returns (x, y, 0.) + - 2 args: ``decompose(x, y)`` returns (x, y, 0) + - 3 args: ``decompose(x, y, z)`` returns (x, y, z) + + Returns: + (x, y, z) tuple + + (internal API) + + """ + length = len(args) + if length == 0: + return 0.0, 0.0, 0.0 + elif length == 1: + data = args[0] + if isinstance(data, Vec3): + return data._x, data._y, data._z + else: + length = len(data) + if length == 2: + x, y = data + z = 0.0 + elif length == 3: + x, y, z = data + else: + raise TypeError + return float(x), float(y), float(z) + elif length == 2: + x, y = args + return float(x), float(y), 0.0 + elif length == 3: + x, y, z = args + return float(x), float(y), float(z) + raise TypeError + + @classmethod + def random(cls, length: float = 1) -> Vec3: + """Returns a random vector.""" + x = random.uniform(-1, 1) + y = random.uniform(-1, 1) + z = random.uniform(-1, 1) + return Vec3(x, y, z).normalize(length) + + def __str__(self) -> str: + """Return ``'(x, y, z)'`` as string.""" + return "({0.x}, {0.y}, {0.z})".format(self) + + def __repr__(self) -> str: + """Return ``'Vec3(x, y, z)'`` as string.""" + return "Vec3" + self.__str__() + + def __len__(self) -> int: + """Returns always ``3``.""" + return 3 + + def __hash__(self) -> int: + """Returns hash value of vector, enables the usage of vector as key in + ``set`` and ``dict``. + """ + return hash(self.xyz) + + def copy(self) -> Vec3: + """Returns a copy of vector as :class:`Vec3` object.""" + return self # immutable! + + __copy__ = copy + + def __deepcopy__(self, memodict: dict) -> Vec3: + """:func:`copy.deepcopy` support.""" + return self # immutable! + + def __getitem__(self, index: int) -> float: + """Support for indexing: + + - v[0] is v.x + - v[1] is v.y + - v[2] is v.z + + """ + if isinstance(index, slice): + raise TypeError("slicing not supported") + if index == 0: + return self._x + elif index == 1: + return self._y + elif index == 2: + return self._z + else: + raise IndexError(f"invalid index {index}") + + def __iter__(self) -> Iterator[float]: + """Returns iterable of x-, y- and z-axis.""" + yield self._x + yield self._y + yield self._z + + def __abs__(self) -> float: + """Returns length (magnitude) of vector.""" + return self.magnitude + + @property + def magnitude(self) -> float: + """Length of vector.""" + return self.magnitude_square**0.5 + + @property + def magnitude_xy(self) -> float: + """Length of vector in the xy-plane.""" + return math.hypot(self._x, self._y) + + @property + def magnitude_square(self) -> float: + """Square length of vector.""" + x, y, z = self._x, self._y, self._z + return x * x + y * y + z * z + + @property + def is_null(self) -> bool: + """``True`` if all components are close to zero: ``Vec3(0, 0, 0)``. + Has a fixed absolute testing tolerance of 1e-12! + """ + return ( + abs(self._x) <= ABS_TOL + and abs(self._y) <= ABS_TOL + and abs(self._z) <= ABS_TOL + ) + + def is_parallel( + self, other: Vec3, *, rel_tol: float = 1e-9, abs_tol: float = 1e-12 + ) -> bool: + """Returns ``True`` if `self` and `other` are parallel to vectors.""" + v1 = self.normalize() + v2 = other.normalize() + return v1.isclose(v2, rel_tol=rel_tol, abs_tol=abs_tol) or v1.isclose( + -v2, rel_tol=rel_tol, abs_tol=abs_tol + ) + + @property + def spatial_angle(self) -> float: + """Spatial angle between vector and x-axis in radians.""" + return math.acos(X_AXIS.dot(self.normalize())) + + @property + def spatial_angle_deg(self) -> float: + """Spatial angle between vector and x-axis in degrees.""" + return math.degrees(self.spatial_angle) + + @property + def angle(self) -> float: + """Angle between vector and x-axis in the xy-plane in radians.""" + return math.atan2(self._y, self._x) + + @property + def angle_deg(self) -> float: + """Returns angle of vector and x-axis in the xy-plane in degrees.""" + return math.degrees(self.angle) + + def orthogonal(self, ccw: bool = True) -> Vec3: + """Returns orthogonal 2D vector, z-axis is unchanged. + + Args: + ccw: counter-clockwise if ``True`` else clockwise + + """ + return ( + self.__class__(-self._y, self._x, self._z) + if ccw + else self.__class__(self._y, -self._x, self._z) + ) + + def lerp(self, other: UVec, factor=0.5) -> Vec3: + """Returns linear interpolation between `self` and `other`. + + Args: + other: end point as :class:`Vec3` compatible object + factor: interpolation factor (0 = self, 1 = other, + 0.5 = mid point) + + """ + d = (self.__class__(other) - self) * float(factor) + return self.__add__(d) + + def project(self, other: UVec) -> Vec3: + """Returns projected vector of `other` onto `self`.""" + uv = self.normalize() + return uv * uv.dot(other) + + def normalize(self, length: float = 1.0) -> Vec3: + """Returns normalized vector, optional scaled by `length`.""" + return self.__mul__(length / self.magnitude) + + def reversed(self) -> Vec3: + """Returns negated vector (-`self`).""" + return self.__class__(-self._x, -self._y, -self._z) + + __neg__ = reversed + + def __bool__(self) -> bool: + """Returns ``True`` if vector is not (0, 0, 0).""" + return not self.is_null + + def isclose( + self, other: UVec, *, rel_tol: float = 1e-9, abs_tol: float = 1e-12 + ) -> bool: + """Returns ``True`` if `self` is close to `other`. + Uses :func:`math.isclose` to compare all axis. + + Learn more about the :func:`math.isclose` function in + `PEP 485 `_. + + """ + x, y, z = self.decompose(other) + return ( + math.isclose(self._x, x, rel_tol=rel_tol, abs_tol=abs_tol) + and math.isclose(self._y, y, rel_tol=rel_tol, abs_tol=abs_tol) + and math.isclose(self._z, z, rel_tol=rel_tol, abs_tol=abs_tol) + ) + + def __eq__(self, other: UVec) -> bool: + """Equal operator. + + Args: + other: :class:`Vec3` compatible object + """ + if not isinstance(other, Vec3): + other = Vec3(other) + return self.x == other.x and self.y == other.y and self.z == other.z + + def __lt__(self, other: UVec) -> bool: + """Lower than operator. + + Args: + other: :class:`Vec3` compatible object + + """ + x, y, z = self.decompose(other) + if self._x == x: + if self._y == y: + return self._z < z + else: + return self._y < y + else: + return self._x < x + + def __add__(self, other: UVec) -> Vec3: + """Add :class:`Vec3` operator: `self` + `other`.""" + x, y, z = self.decompose(other) + return self.__class__(self._x + x, self._y + y, self._z + z) + + def __radd__(self, other: UVec) -> Vec3: + """RAdd :class:`Vec3` operator: `other` + `self`.""" + return self.__add__(other) + + def __sub__(self, other: UVec) -> Vec3: + """Sub :class:`Vec3` operator: `self` - `other`.""" + + x, y, z = self.decompose(other) + return self.__class__(self._x - x, self._y - y, self._z - z) + + def __rsub__(self, other: UVec) -> Vec3: + """RSub :class:`Vec3` operator: `other` - `self`.""" + x, y, z = self.decompose(other) + return self.__class__(x - self._x, y - self._y, z - self._z) + + def __mul__(self, other: float) -> Vec3: + """Scalar Mul operator: `self` * `other`.""" + scalar = float(other) + return self.__class__(self._x * scalar, self._y * scalar, self._z * scalar) + + def __rmul__(self, other: float) -> Vec3: + """Scalar RMul operator: `other` * `self`.""" + return self.__mul__(other) + + def __truediv__(self, other: float) -> Vec3: + """Scalar Div operator: `self` / `other`.""" + scalar = float(other) + return self.__class__(self._x / scalar, self._y / scalar, self._z / scalar) + + @staticmethod + def sum(items: Iterable[UVec]) -> Vec3: + """Add all vectors in `items`.""" + s = NULLVEC + for v in items: + s += v + return s + + def dot(self, other: UVec) -> float: + """Dot operator: `self` . `other` + + Args: + other: :class:`Vec3` compatible object + """ + x, y, z = self.decompose(other) + return self._x * x + self._y * y + self._z * z + + def cross(self, other: UVec) -> Vec3: + """Cross operator: `self` x `other` + + Args: + other: :class:`Vec3` compatible object + """ + x, y, z = self.decompose(other) + return self.__class__( + self._y * z - self._z * y, + self._z * x - self._x * z, + self._x * y - self._y * x, + ) + + def distance(self, other: UVec) -> float: + """Returns distance between `self` and `other` vector.""" + v = self.__class__(other) + return v.__sub__(self).magnitude + + def angle_between(self, other: UVec) -> float: + """Returns angle between `self` and `other` in radians. +angle is + counter clockwise orientation. + + Args: + other: :class:`Vec3` compatible object + + """ + cos_theta = self.normalize().dot(self.__class__(other).normalize()) + # avoid domain errors caused by floating point imprecision: + if cos_theta < -1.0: + cos_theta = -1.0 + elif cos_theta > 1.0: + cos_theta = 1.0 + return math.acos(cos_theta) + + def angle_about(self, base: UVec, target: UVec) -> float: + # (c) 2020 by Matt Broadway, MIT License + """Returns counter-clockwise angle in radians about `self` from `base` to + `target` when projected onto the plane defined by `self` as the normal + vector. + + Args: + base: base vector, defines angle 0 + target: target vector + """ + x_axis = (base - self.project(base)).normalize() + y_axis = self.cross(x_axis).normalize() + target_projected_x = x_axis.dot(target) + target_projected_y = y_axis.dot(target) + return math.atan2(target_projected_y, target_projected_x) % math.tau + + def rotate(self, angle: float) -> Vec3: + """Returns vector rotated about `angle` around the z-axis. + + Args: + angle: angle in radians + + """ + v = self.__class__(self.x, self.y, 0.0) + v = Vec3.from_angle(v.angle + angle, v.magnitude) + return self.__class__(v.x, v.y, self.z) + + def rotate_deg(self, angle: float) -> Vec3: + """Returns vector rotated about `angle` around the z-axis. + + Args: + angle: angle in degrees + + """ + return self.rotate(math.radians(angle)) + + +X_AXIS = Vec3(1, 0, 0) +Y_AXIS = Vec3(0, 1, 0) +Z_AXIS = Vec3(0, 0, 1) +NULLVEC = Vec3(0, 0, 0) + + +def distance(p1: UVec, p2: UVec) -> float: + """Returns distance between points `p1` and `p2`. + + Args: + p1: first point as :class:`Vec3` compatible object + p2: second point as :class:`Vec3` compatible object + + """ + return Vec3(p1).distance(p2) + + +def lerp(p1: UVec, p2: UVec, factor: float = 0.5) -> Vec3: + """Returns linear interpolation between points `p1` and `p2` as :class:`Vec3`. + + Args: + p1: first point as :class:`Vec3` compatible object + p2: second point as :class:`Vec3` compatible object + factor: interpolation factor (``0`` = `p1`, ``1`` = `p2`, ``0.5`` = mid point) + + """ + return Vec3(p1).lerp(p2, factor) + + +class Vec2: + """Immutable 2D vector class. + + Args: + v: vector object with :attr:`x` and :attr:`y` attributes/properties or a + sequence of float ``[x, y, ...]`` or x-axis as float if argument `y` + is not ``None`` + y: second float for :code:`Vec2(x, y)` + + :class:`Vec2` implements a subset of :class:`Vec3`. + + """ + + __slots__ = ["x", "y"] + + def __init__(self, v=(0.0, 0.0), y=None) -> None: + try: # fast path for Vec2() and Vec3() or any object providing x and y attributes + self.x = v.x + self.y = v.y + except AttributeError: + if y is None: # given one tuple + self.x = float(v[0]) + self.y = float(v[1]) + else: # two floats given + self.x = float(v) + self.y = float(y) + + @property + def vec3(self) -> Vec3: + """Returns a 3D vector.""" + return Vec3(self.x, self.y, 0) + + def round(self, ndigits=None) -> Vec2: + """Returns a new vector where all components are rounded to `ndigits`. + + Uses standard Python :func:`round` function for rounding. + """ + return self.__class__(round(self.x, ndigits), round(self.y, ndigits)) + + @classmethod + def list(cls, items: Iterable[UVec]) -> list[Vec2]: + return list(cls.generate(items)) + + @classmethod + def tuple(cls, items: Iterable[UVec]) -> Sequence[Vec2]: + """Returns a tuple of :class:`Vec3` objects.""" + return tuple(cls.generate(items)) + + @classmethod + def generate(cls, items: Iterable[UVec]) -> Iterator[Vec2]: + return (cls(item) for item in items) + + @classmethod + def from_angle(cls, angle: float, length: float = 1.0) -> Vec2: + return cls(math.cos(angle) * length, math.sin(angle) * length) + + @classmethod + def from_deg_angle(cls, angle: float, length: float = 1.0) -> Vec2: + return cls.from_angle(math.radians(angle), length) + + def __str__(self) -> str: + return "({0.x}, {0.y})".format(self) + + def __repr__(self) -> str: + return "Vec2" + self.__str__() + + def __len__(self) -> int: + return 2 + + def __hash__(self) -> int: + return hash((self.x, self.y)) + + def copy(self) -> Vec2: + return self.__class__((self.x, self.y)) + + __copy__ = copy + + def __deepcopy__(self, memodict: dict) -> Vec2: + try: + return memodict[id(self)] + except KeyError: + v = self.copy() + memodict[id(self)] = v + return v + + def __getitem__(self, index: int) -> float: + if isinstance(index, slice): + raise TypeError("slicing not supported") + if index == 0: + return self.x + elif index == 1: + return self.y + else: + raise IndexError(f"invalid index {index}") + + def __iter__(self) -> Iterator[float]: + yield self.x + yield self.y + + def __abs__(self) -> float: + return self.magnitude + + @property + def magnitude(self) -> float: + """Returns length of vector.""" + return math.hypot(self.x, self.y) + + @property + def is_null(self) -> bool: + return abs(self.x) <= ABS_TOL and abs(self.y) <= ABS_TOL + + @property + def angle(self) -> float: + """Angle of vector in radians.""" + return math.atan2(self.y, self.x) + + @property + def angle_deg(self) -> float: + """Angle of vector in degrees.""" + return math.degrees(self.angle) + + def orthogonal(self, ccw: bool = True) -> Vec2: + """Orthogonal vector + + Args: + ccw: counter-clockwise if ``True`` else clockwise + + """ + if ccw: + return self.__class__(-self.y, self.x) + else: + return self.__class__(self.y, -self.x) + + def lerp(self, other: AnyVec, factor: float = 0.5) -> Vec2: + """Linear interpolation between `self` and `other`. + + Args: + other: target vector/point + factor: interpolation factor (0=self, 1=other, 0.5=mid point) + + Returns: interpolated vector + + """ + x = self.x + (other.x - self.x) * factor + y = self.y + (other.y - self.y) * factor + return self.__class__(x, y) + + def project(self, other: AnyVec) -> Vec2: + """Project vector `other` onto `self`.""" + uv = self.normalize() + return uv * uv.dot(other) + + def normalize(self, length: float = 1.0) -> Vec2: + return self.__mul__(length / self.magnitude) + + def reversed(self) -> Vec2: + return self.__class__(-self.x, -self.y) + + __neg__ = reversed + + def __bool__(self) -> bool: + return not self.is_null + + def isclose( + self, other: AnyVec, *, rel_tol: float = 1e-9, abs_tol: float = 1e-12 + ) -> bool: + if not isinstance(other, Vec2): + other = Vec2(other) + return math.isclose( + self.x, other.x, rel_tol=rel_tol, abs_tol=abs_tol + ) and math.isclose(self.y, other.y, rel_tol=rel_tol, abs_tol=abs_tol) + + def __eq__(self, other: UVec) -> bool: + if not isinstance(other, Vec2): + other = Vec2(other) + return self.x == other.x and self.y == other.y + + def __lt__(self, other: UVec) -> bool: + # accepts also tuples, for more convenience at testing + x, y, *_ = other + if self.x == x: + return self.y < y + else: + return self.x < x + + def __add__(self, other: AnyVec) -> Vec2: + try: + return self.__class__(self.x + other.x, self.y + other.y) + except AttributeError: + raise TypeError("invalid argument") + + def __sub__(self, other: AnyVec) -> Vec2: + try: + return self.__class__(self.x - other.x, self.y - other.y) + except AttributeError: + raise TypeError("invalid argument") + + def __rsub__(self, other: AnyVec) -> Vec2: + try: + return self.__class__(other.x - self.x, other.y - self.y) + except AttributeError: + raise TypeError("invalid argument") + + def __mul__(self, other: float) -> Vec2: + return self.__class__(self.x * other, self.y * other) + + def __rmul__(self, other: float) -> Vec2: + return self.__class__(self.x * other, self.y * other) + + def __truediv__(self, other: float) -> Vec2: + return self.__class__(self.x / other, self.y / other) + + def dot(self, other: AnyVec) -> float: + return self.x * other.x + self.y * other.y + + def det(self, other: AnyVec) -> float: + return self.x * other.y - self.y * other.x + + def distance(self, other: AnyVec) -> float: + return math.hypot(self.x - other.x, self.y - other.y) + + def angle_between(self, other: AnyVec) -> float: + """Calculate angle between `self` and `other` in radians. +angle is + counter-clockwise orientation. + + """ + cos_theta = self.normalize().dot(other.normalize()) + # avoid domain errors caused by floating point imprecision: + if cos_theta < -1.0: + cos_theta = -1.0 + elif cos_theta > 1.0: + cos_theta = 1.0 + return math.acos(cos_theta) + + def rotate(self, angle: float) -> Vec2: + """Rotate vector around origin. + + Args: + angle: angle in radians + + """ + return self.__class__.from_angle(self.angle + angle, self.magnitude) + + def rotate_deg(self, angle: float) -> Vec2: + """Rotate vector around origin. + + Args: + angle: angle in degrees + + Returns: rotated vector + + """ + return self.__class__.from_angle( + self.angle + math.radians(angle), self.magnitude + ) + + @staticmethod + def sum(items: Iterable[Vec2]) -> Vec2: + """Add all vectors in `items`.""" + s = Vec2(0, 0) + for v in items: + s += v + return s diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/math/arc.py b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/math/arc.py new file mode 100644 index 0000000000000000000000000000000000000000..407b60866c71514ec5bc024714c5c1c6ea2da62d --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/math/arc.py @@ -0,0 +1,539 @@ +# Copyright (c) 2018-2024 Manfred Moitzi +# License: MIT License +from __future__ import annotations +from typing import TYPE_CHECKING, Iterable, Sequence, Iterator, Optional +import math +import numpy as np + +from ezdxf.math import Vec2, UVec +from .bbox import BoundingBox2d +from .construct2d import enclosing_angles +from .circle import ConstructionCircle +from .line import ConstructionRay, ConstructionLine +from .ucs import UCS + +if TYPE_CHECKING: + from ezdxf.entities import Arc + from ezdxf.layouts import BaseLayout + +__all__ = ["ConstructionArc", "arc_chord_length", "arc_segment_count"] + +QUARTER_ANGLES = [0, math.pi * 0.5, math.pi, math.pi * 1.5] + + +class ConstructionArc: + """Construction tool for 2D arcs. + + :class:`ConstructionArc` represents a 2D arc in the xy-plane, use an + :class:`UCS` to place a DXF :class:`~ezdxf.entities.Arc` entity in 3D space, + see method :meth:`add_to_layout`. + + Implements the 2D transformation tools: :meth:`translate`, + :meth:`scale_uniform` and :meth:`rotate_z` + + Args: + center: center point as :class:`Vec2` compatible object + radius: radius + start_angle: start angle in degrees + end_angle: end angle in degrees + is_counter_clockwise: swaps start- and end angle if ``False`` + + """ + + def __init__( + self, + center: UVec = (0, 0), + radius: float = 1.0, + start_angle: float = 0.0, + end_angle: float = 360.0, + is_counter_clockwise: Optional[bool] = True, + ): + + self.center = Vec2(center) + self.radius = radius + if is_counter_clockwise: + self.start_angle = start_angle + self.end_angle = end_angle + else: + self.start_angle = end_angle + self.end_angle = start_angle + + @property + def start_point(self) -> Vec2: + """start point of arc as :class:`Vec2`.""" + return self.center + Vec2.from_deg_angle(self.start_angle, self.radius) + + @property + def end_point(self) -> Vec2: + """end point of arc as :class:`Vec2`.""" + return self.center + Vec2.from_deg_angle(self.end_angle, self.radius) + + @property + def is_passing_zero(self) -> bool: + """Returns ``True`` if the arc passes the x-axis (== 0 degree).""" + return self.start_angle > self.end_angle + + @property + def circle(self) -> ConstructionCircle: + return ConstructionCircle(self.center, self.radius) + + @property + def bounding_box(self) -> BoundingBox2d: + """bounding box of arc as :class:`BoundingBox2d`.""" + bbox = BoundingBox2d((self.start_point, self.end_point)) + bbox.extend(self.main_axis_points()) + return bbox + + def angles(self, num: int) -> Iterable[float]: + """Returns `num` angles from start- to end angle in degrees in + counter-clockwise order. + + All angles are normalized in the range from [0, 360). + + """ + if num < 2: + raise ValueError("num >= 2") + start: float = self.start_angle % 360 + stop: float = self.end_angle % 360 + if stop <= start: + stop += 360 + for angle in np.linspace(start, stop, num=num, endpoint=True): + yield angle % 360 + + @property + def angle_span(self) -> float: + """Returns angle span of arc from start- to end param.""" + end: float = self.end_angle + if end < self.start_angle: + end += 360.0 + return end - self.start_angle + + def vertices(self, a: Iterable[float]) -> Iterable[Vec2]: + """Yields vertices on arc for angles in iterable `a` in WCS as location + vectors. + + Args: + a: angles in the range from 0 to 360 in degrees, arc goes + counter clockwise around the z-axis, WCS x-axis = 0 deg. + + """ + center = self.center + radius = self.radius + + for angle in a: + yield center + Vec2.from_deg_angle(angle, radius) + + def flattening(self, sagitta: float) -> Iterable[Vec2]: + """Approximate the arc by vertices in WCS, argument `sagitta` is the + max. distance from the center of an arc segment to the center of its + chord. + + """ + radius: float = abs(self.radius) + if radius > 0: + start: float = self.start_angle + stop: float = self.end_angle + if math.isclose(start, stop): + return + start %= 360 + stop %= 360 + if stop <= start: + stop += 360 + angle_span: float = math.radians(stop - start) + count = arc_segment_count(radius, angle_span, sagitta) + yield from self.vertices(np.linspace(start, stop, count + 1)) + + def tangents(self, a: Iterable[float]) -> Iterable[Vec2]: + """Yields tangents on arc for angles in iterable `a` in WCS as + direction vectors. + + Args: + a: angles in the range from 0 to 360 in degrees, arc goes + counter-clockwise around the z-axis, WCS x-axis = 0 deg. + + """ + for angle in a: + r: float = math.radians(angle) + yield Vec2((-math.sin(r), math.cos(r))) + + def main_axis_points(self) -> Iterator[Vec2]: + center: Vec2 = self.center + radius: float = self.radius + start: float = math.radians(self.start_angle) + end: float = math.radians(self.end_angle) + for angle in QUARTER_ANGLES: + if enclosing_angles(angle, start, end): + yield center + Vec2.from_angle(angle, radius) + + def translate(self, dx: float, dy: float) -> ConstructionArc: + """Move arc about `dx` in x-axis and about `dy` in y-axis, returns + `self` (floating interface). + + Args: + dx: translation in x-axis + dy: translation in y-axis + + """ + self.center += Vec2(dx, dy) + return self + + def scale_uniform(self, s: float) -> ConstructionArc: + """Scale arc inplace uniform about `s` in x- and y-axis, returns + `self` (floating interface). + """ + self.radius *= float(s) + return self + + def rotate_z(self, angle: float) -> ConstructionArc: + """Rotate arc inplace about z-axis, returns `self` + (floating interface). + + Args: + angle: rotation angle in degrees + + """ + self.start_angle += angle + self.end_angle += angle + return self + + @property + def start_angle_rad(self) -> float: + """Returns the start angle in radians.""" + return math.radians(self.start_angle) + + @property + def end_angle_rad(self) -> float: + """Returns the end angle in radians.""" + return math.radians(self.end_angle) + + @staticmethod + def validate_start_and_end_point( + start_point: UVec, end_point: UVec + ) -> tuple[Vec2, Vec2]: + start_point = Vec2(start_point) + end_point = Vec2(end_point) + if start_point == end_point: + raise ValueError("Start- and end point have to be different points.") + return start_point, end_point + + @classmethod + def from_2p_angle( + cls, + start_point: UVec, + end_point: UVec, + angle: float, + ccw: bool = True, + ) -> ConstructionArc: + """Create arc from two points and enclosing angle. Additional + precondition: arc goes by default in counter-clockwise orientation from + `start_point` to `end_point`, can be changed by `ccw` = ``False``. + + Args: + start_point: start point as :class:`Vec2` compatible object + end_point: end point as :class:`Vec2` compatible object + angle: enclosing angle in degrees + ccw: counter-clockwise direction if ``True`` + + """ + _start_point, _end_point = cls.validate_start_and_end_point( + start_point, end_point + ) + angle = math.radians(angle) + if angle == 0: + raise ValueError("Angle can not be 0.") + if ccw is False: + _start_point, _end_point = _end_point, _start_point + alpha2: float = angle / 2.0 + distance: float = _end_point.distance(_start_point) + distance2: float = distance / 2.0 + radius: float = distance2 / math.sin(alpha2) + height: float = distance2 / math.tan(alpha2) + mid_point: Vec2 = _end_point.lerp(_start_point, factor=0.5) + + distance_vector: Vec2 = _end_point - _start_point + height_vector: Vec2 = distance_vector.orthogonal().normalize(height) + center: Vec2 = mid_point + height_vector + + return ConstructionArc( + center=center, + radius=radius, + start_angle=(_start_point - center).angle_deg, + end_angle=(_end_point - center).angle_deg, + is_counter_clockwise=True, + ) + + @classmethod + def from_2p_radius( + cls, + start_point: UVec, + end_point: UVec, + radius: float, + ccw: bool = True, + center_is_left: bool = True, + ) -> ConstructionArc: + """Create arc from two points and arc radius. + Additional precondition: arc goes by default in counter-clockwise + orientation from `start_point` to `end_point` can be changed + by `ccw` = ``False``. + + The parameter `center_is_left` defines if the center of the arc is + left or right of the line from `start_point` to `end_point`. + Parameter `ccw` = ``False`` swaps start- and end point, which also + inverts the meaning of ``center_is_left``. + + Args: + start_point: start point as :class:`Vec2` compatible object + end_point: end point as :class:`Vec2` compatible object + radius: arc radius + ccw: counter-clockwise direction if ``True`` + center_is_left: center point of arc is left of line from start- to + end point if ``True`` + + """ + _start_point, _end_point = cls.validate_start_and_end_point( + start_point, end_point + ) + radius = float(radius) + if radius <= 0: + raise ValueError("Radius has to be > 0.") + if ccw is False: + _start_point, _end_point = _end_point, _start_point + + mid_point: Vec2 = _end_point.lerp(_start_point, factor=0.5) + distance: float = _end_point.distance(_start_point) + distance2: float = distance / 2.0 + height: float = math.sqrt(radius**2 - distance2**2) + center: Vec2 = mid_point + (_end_point - _start_point).orthogonal( + ccw=center_is_left + ).normalize(height) + + return ConstructionArc( + center=center, + radius=radius, + start_angle=(_start_point - center).angle_deg, + end_angle=(_end_point - center).angle_deg, + is_counter_clockwise=True, + ) + + @classmethod + def from_3p( + cls, + start_point: UVec, + end_point: UVec, + def_point: UVec, + ccw: bool = True, + ) -> ConstructionArc: + """Create arc from three points. + Additional precondition: arc goes in counter-clockwise + orientation from `start_point` to `end_point`. + + Args: + start_point: start point as :class:`Vec2` compatible object + end_point: end point as :class:`Vec2` compatible object + def_point: additional definition point as :class:`Vec2` compatible + object + ccw: counter-clockwise direction if ``True`` + + """ + start_point, end_point = cls.validate_start_and_end_point( + start_point, end_point + ) + def_point = Vec2(def_point) + if def_point == start_point or def_point == end_point: + raise ValueError("def_point has to be different to start- and end point") + + circle = ConstructionCircle.from_3p(start_point, end_point, def_point) + center = Vec2(circle.center) + return ConstructionArc( + center=center, + radius=circle.radius, + start_angle=(start_point - center).angle_deg, + end_angle=(end_point - center).angle_deg, + is_counter_clockwise=ccw, + ) + + def add_to_layout( + self, layout: BaseLayout, ucs: Optional[UCS] = None, dxfattribs=None + ) -> Arc: + """Add arc as DXF :class:`~ezdxf.entities.Arc` entity to a layout. + + Supports 3D arcs by using an :ref:`UCS`. An :class:`ConstructionArc` is + always defined in the xy-plane, but by using an arbitrary UCS, the arc + can be placed in 3D space, automatically OCS transformation included. + + Args: + layout: destination layout as :class:`~ezdxf.layouts.BaseLayout` + object + ucs: place arc in 3D space by :class:`~ezdxf.math.UCS` object + dxfattribs: additional DXF attributes for the ARC entity + + """ + arc = layout.add_arc( + center=self.center, + radius=self.radius, + start_angle=self.start_angle, + end_angle=self.end_angle, + dxfattribs=dxfattribs, + ) + return arc if ucs is None else arc.transform(ucs.matrix) + + def intersect_ray( + self, ray: ConstructionRay, abs_tol: float = 1e-10 + ) -> Sequence[Vec2]: + """Returns intersection points of arc and `ray` as sequence of + :class:`Vec2` objects. + + Args: + ray: intersection ray + abs_tol: absolute tolerance for tests (e.g. test for tangents) + + Returns: + tuple of :class:`Vec2` objects + + =========== ================================== + tuple size Description + =========== ================================== + 0 no intersection + 1 line intersects or touches the arc at one point + 2 line intersects the arc at two points + =========== ================================== + + """ + assert isinstance(ray, ConstructionRay) + return [ + point + for point in self.circle.intersect_ray(ray, abs_tol) + if self._is_point_in_arc_range(point) + ] + + def intersect_line( + self, line: ConstructionLine, abs_tol: float = 1e-10 + ) -> Sequence[Vec2]: + """Returns intersection points of arc and `line` as sequence of + :class:`Vec2` objects. + + Args: + line: intersection line + abs_tol: absolute tolerance for tests (e.g. test for tangents) + + Returns: + tuple of :class:`Vec2` objects + + =========== ================================== + tuple size Description + =========== ================================== + 0 no intersection + 1 line intersects or touches the arc at one point + 2 line intersects the arc at two points + =========== ================================== + + """ + assert isinstance(line, ConstructionLine) + return [ + point + for point in self.circle.intersect_line(line, abs_tol) + if self._is_point_in_arc_range(point) + ] + + def intersect_circle( + self, circle: ConstructionCircle, abs_tol: float = 1e-10 + ) -> Sequence[Vec2]: + """Returns intersection points of arc and `circle` as sequence of + :class:`Vec2` objects. + + Args: + circle: intersection circle + abs_tol: absolute tolerance for tests + + Returns: + tuple of :class:`Vec2` objects + + =========== ================================== + tuple size Description + =========== ================================== + 0 no intersection + 1 circle intersects or touches the arc at one point + 2 circle intersects the arc at two points + =========== ================================== + + """ + assert isinstance(circle, ConstructionCircle) + return [ + point + for point in self.circle.intersect_circle(circle, abs_tol) + if self._is_point_in_arc_range(point) + ] + + def intersect_arc( + self, other: ConstructionArc, abs_tol: float = 1e-10 + ) -> Sequence[Vec2]: + """Returns intersection points of two arcs as sequence of + :class:`Vec2` objects. + + Args: + other: other intersection arc + abs_tol: absolute tolerance for tests + + Returns: + tuple of :class:`Vec2` objects + + =========== ================================== + tuple size Description + =========== ================================== + 0 no intersection + 1 other arc intersects or touches the arc at one point + 2 other arc intersects the arc at two points + =========== ================================== + + """ + assert isinstance(other, ConstructionArc) + return [ + point + for point in self.circle.intersect_circle(other.circle, abs_tol) + if self._is_point_in_arc_range(point) + and other._is_point_in_arc_range(point) + ] + + def _is_point_in_arc_range(self, point: Vec2) -> bool: + # The point has to be on the circle defined by the arc, this is not + # tested here! Helper tools to check intersections. + start: float = self.start_angle % 360.0 + end: float = self.end_angle % 360.0 + angle: float = (point - self.center).angle_deg % 360.0 + if start > end: # arc passes 0 degree + return angle >= start or angle <= end + return start <= angle <= end + + +def arc_chord_length(radius: float, sagitta: float) -> float: + """Returns the chord length for an arc defined by `radius` and + the `sagitta`_. + + Args: + radius: arc radius + sagitta: distance from the center of the arc to the center of its base + + """ + try: + return 2.0 * math.sqrt(2.0 * radius * sagitta - sagitta * sagitta) + except ValueError: + return 0.0 + + +def arc_segment_count(radius: float, angle: float, sagitta: float) -> int: + """Returns the count of required segments for the approximation + of an arc for a given maximum `sagitta`_. + + Args: + radius: arc radius + angle: angle span of the arc in radians + sagitta: max. distance from the center of an arc segment to the + center of its chord + + """ + try: + chord_length: float = arc_chord_length(radius, sagitta) + alpha: float = math.asin(chord_length / 2.0 / radius) * 2.0 + return math.ceil(angle / alpha) + except (ValueError, ZeroDivisionError): + return 1 diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/math/bbox.py b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/math/bbox.py new file mode 100644 index 0000000000000000000000000000000000000000..f600131d3dd80e365c8092fa7d4088d2485be9a8 --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/math/bbox.py @@ -0,0 +1,457 @@ +# Copyright (c) 2019-2024, Manfred Moitzi +# License: MIT License +from __future__ import annotations +from typing import Iterable, Optional, Iterator, Sequence, TypeVar, Generic +import abc +import math +import numpy as np + +from ezdxf.math import Vec3, Vec2, UVec + +T = TypeVar("T", Vec2, Vec3) + +__all__ = ["BoundingBox2d", "BoundingBox", "AbstractBoundingBox"] + + +class AbstractBoundingBox(Generic[T], abc.ABC): + extmin: T + extmax: T + + @abc.abstractmethod + def __init__(self, vertices: Optional[Iterable[UVec]] = None): + ... + + def copy(self): + box = self.__class__() + box.extmin = self.extmin + box.extmax = self.extmax + return box + + def __str__(self) -> str: + return f"[{self.extmin}, {self.extmax}]" + + def __repr__(self) -> str: + name = self.__class__.__name__ + if self.has_data: + return f"{name}({self.__str__()})" + else: + return f"{name}()" + + def __iter__(self) -> Iterator[T]: + if self.has_data: + yield self.extmin + yield self.extmax + + @abc.abstractmethod + def extend(self, vertices: Iterable[UVec]) -> None: + ... + + @property + @abc.abstractmethod + def is_empty(self) -> bool: + ... + + @abc.abstractmethod + def inside(self, vertex: UVec) -> bool: + ... + + @abc.abstractmethod + def has_intersection(self, other: AbstractBoundingBox[T]) -> bool: + ... + + @abc.abstractmethod + def has_overlap(self, other: AbstractBoundingBox[T]) -> bool: + ... + + @abc.abstractmethod + def intersection(self, other: AbstractBoundingBox[T]) -> AbstractBoundingBox[T]: + ... + + def contains(self, other: AbstractBoundingBox[T]) -> bool: + """Returns ``True`` if the `other` bounding box is completely inside + this bounding box. + + """ + return self.inside(other.extmin) and self.inside(other.extmax) + + def any_inside(self, vertices: Iterable[UVec]) -> bool: + """Returns ``True`` if any vertex is inside this bounding box. + + Vertices at the box border are inside! + """ + if self.has_data: + return any(self.inside(v) for v in vertices) + return False + + def all_inside(self, vertices: Iterable[UVec]) -> bool: + """Returns ``True`` if all vertices are inside this bounding box. + + Vertices at the box border are inside! + """ + if self.has_data: + # all() returns True for an empty set of vertices + has_any = False + for v in vertices: + has_any = True + if not self.inside(v): + return False + return has_any + return False + + @property + def has_data(self) -> bool: + """Returns ``True`` if the bonding box has known limits.""" + return math.isfinite(self.extmin.x) + + @property + def size(self) -> T: + """Returns size of bounding box.""" + return self.extmax - self.extmin + + @property + def center(self) -> T: + """Returns center of bounding box.""" + return self.extmin.lerp(self.extmax) + + def union(self, other: AbstractBoundingBox[T]) -> AbstractBoundingBox[T]: + """Returns a new bounding box as union of this and `other` bounding + box. + """ + vertices: list[T] = [] + if self.has_data: + vertices.extend(self) + if other.has_data: + vertices.extend(other) + return self.__class__(vertices) + + def rect_vertices(self) -> Sequence[Vec2]: + """Returns the corners of the bounding box in the xy-plane as + :class:`Vec2` objects. + """ + if self.has_data: + x0, y0, *_ = self.extmin + x1, y1, *_ = self.extmax + return Vec2(x0, y0), Vec2(x1, y0), Vec2(x1, y1), Vec2(x0, y1) + else: + raise ValueError("empty bounding box") + + def grow(self, value: float) -> None: + """Grow or shrink the bounding box by an uniform value in x, y and + z-axis. A negative value shrinks the bounding box. + Raises :class:`ValueError` for shrinking the size of the bounding box to + zero or below in any dimension. + """ + if self.has_data: + if value < 0.0: + min_ext = min(self.size) + if -value >= min_ext / 2.0: + raise ValueError("shrinking one or more dimensions <= 0") + self.extmax += Vec3(value, value, value) + self.extmin += Vec3(-value, -value, -value) + + +class BoundingBox(AbstractBoundingBox[Vec3]): + """3D bounding box. + + Args: + vertices: iterable of ``(x, y, z)`` tuples or :class:`Vec3` objects + + """ + + __slots__ = ("extmin", "extmax") + + def __init__(self, vertices: Optional[Iterable[UVec]] = None): + self.extmin = Vec3(math.inf, math.inf, math.inf) + self.extmax = self.extmin + if vertices is not None: + try: + self.extmin, self.extmax = extents3d(vertices) + except ValueError: + # No or invalid data creates an empty BoundingBox + pass + + @property + def is_empty(self) -> bool: + """Returns ``True`` if the bounding box is empty or the bounding box + has a size of 0 in any or all dimensions or is undefined. + + """ + if self.has_data: + sx, sy, sz = self.size + return sx * sy * sz == 0.0 + return True + + def extend(self, vertices: Iterable[UVec]) -> None: + """Extend bounds by `vertices`. + + Args: + vertices: iterable of vertices + + """ + v = list(vertices) + if not v: + return + if self.has_data: + v.extend([self.extmin, self.extmax]) + self.extmin, self.extmax = extents3d(v) + + def inside(self, vertex: UVec) -> bool: + """Returns ``True`` if `vertex` is inside this bounding box. + + Vertices at the box border are inside! + """ + if not self.has_data: + return False + x, y, z = Vec3(vertex).xyz + xmin, ymin, zmin = self.extmin.xyz + xmax, ymax, zmax = self.extmax.xyz + return (xmin <= x <= xmax) and (ymin <= y <= ymax) and (zmin <= z <= zmax) + + def has_intersection(self, other: AbstractBoundingBox[T]) -> bool: + """Returns ``True`` if this bounding box intersects with `other` but does + not include touching bounding boxes, see also :meth:`has_overlap`:: + + bbox1 = BoundingBox([(0, 0, 0), (1, 1, 1)]) + bbox2 = BoundingBox([(1, 1, 1), (2, 2, 2)]) + assert bbox1.has_intersection(bbox2) is False + + """ + # Source: https://gamemath.com/book/geomtests.html#intersection_two_aabbs + # Check for a separating axis: + if not self.has_data or not other.has_data: + return False + o_min = Vec3(other.extmin) # could be a 2D bounding box + o_max = Vec3(other.extmax) # could be a 2D bounding box + + # Check for a separating axis: + if self.extmin.x >= o_max.x: + return False + if self.extmax.x <= o_min.x: + return False + if self.extmin.y >= o_max.y: + return False + if self.extmax.y <= o_min.y: + return False + if self.extmin.z >= o_max.z: + return False + if self.extmax.z <= o_min.z: + return False + return True + + def has_overlap(self, other: AbstractBoundingBox[T]) -> bool: + """Returns ``True`` if this bounding box intersects with `other` but + in contrast to :meth:`has_intersection` includes touching bounding boxes too:: + + bbox1 = BoundingBox([(0, 0, 0), (1, 1, 1)]) + bbox2 = BoundingBox([(1, 1, 1), (2, 2, 2)]) + assert bbox1.has_overlap(bbox2) is True + + """ + # Source: https://gamemath.com/book/geomtests.html#intersection_two_aabbs + # Check for a separating axis: + if not self.has_data or not other.has_data: + return False + o_min = Vec3(other.extmin) # could be a 2D bounding box + o_max = Vec3(other.extmax) # could be a 2D bounding box + # Check for a separating axis: + if self.extmin.x > o_max.x: + return False + if self.extmax.x < o_min.x: + return False + if self.extmin.y > o_max.y: + return False + if self.extmax.y < o_min.y: + return False + if self.extmin.z > o_max.z: + return False + if self.extmax.z < o_min.z: + return False + return True + + def cube_vertices(self) -> Sequence[Vec3]: + """Returns the 3D corners of the bounding box as :class:`Vec3` objects.""" + if self.has_data: + x0, y0, z0 = self.extmin + x1, y1, z1 = self.extmax + return ( + Vec3(x0, y0, z0), + Vec3(x1, y0, z0), + Vec3(x1, y1, z0), + Vec3(x0, y1, z0), + Vec3(x0, y0, z1), + Vec3(x1, y0, z1), + Vec3(x1, y1, z1), + Vec3(x0, y1, z1), + ) + else: + raise ValueError("empty bounding box") + + def intersection(self, other: AbstractBoundingBox[T]) -> BoundingBox: + """Returns the bounding box of the intersection cube of both + 3D bounding boxes. Returns an empty bounding box if the intersection + volume is 0. + + """ + new_bbox = self.__class__() + if not self.has_intersection(other): + return new_bbox + s_min_x, s_min_y, s_min_z = Vec3(self.extmin) + o_min_x, o_min_y, o_min_z = Vec3(other.extmin) + s_max_x, s_max_y, s_max_z = Vec3(self.extmax) + o_max_x, o_max_y, o_max_z = Vec3(other.extmax) + new_bbox.extend( + [ + ( + max(s_min_x, o_min_x), + max(s_min_y, o_min_y), + max(s_min_z, o_min_z), + ), + ( + min(s_max_x, o_max_x), + min(s_max_y, o_max_y), + min(s_max_z, o_max_z), + ), + ] + ) + return new_bbox + + +class BoundingBox2d(AbstractBoundingBox[Vec2]): + """2D bounding box. + + Args: + vertices: iterable of ``(x, y[, z])`` tuples or :class:`Vec3` objects + + """ + + __slots__ = ("extmin", "extmax") + + def __init__(self, vertices: Optional[Iterable[UVec]] = None): + self.extmin = Vec2(math.inf, math.inf) + self.extmax = self.extmin + if vertices is not None: + try: + self.extmin, self.extmax = extents2d(vertices) + except ValueError: + # No or invalid data creates an empty BoundingBox + pass + + @property + def is_empty(self) -> bool: + """Returns ``True`` if the bounding box is empty. The bounding box has a + size of 0 in any or all dimensions or is undefined. + """ + if self.has_data: + sx, sy = self.size + return sx * sy == 0.0 + return True + + def extend(self, vertices: Iterable[UVec]) -> None: + """Extend bounds by `vertices`. + + Args: + vertices: iterable of vertices + + """ + v = list(vertices) + if not v: + return + if self.has_data: + v.extend([self.extmin, self.extmax]) + self.extmin, self.extmax = extents2d(v) + + def inside(self, vertex: UVec) -> bool: + """Returns ``True`` if `vertex` is inside this bounding box. + + Vertices at the box border are inside! + """ + if not self.has_data: + return False + v = Vec2(vertex) + min_ = self.extmin + max_ = self.extmax + return (min_.x <= v.x <= max_.x) and (min_.y <= v.y <= max_.y) + + def has_intersection(self, other: AbstractBoundingBox[T]) -> bool: + """Returns ``True`` if this bounding box intersects with `other` but does + not include touching bounding boxes, see also :meth:`has_overlap`:: + + bbox1 = BoundingBox2d([(0, 0), (1, 1)]) + bbox2 = BoundingBox2d([(1, 1), (2, 2)]) + assert bbox1.has_intersection(bbox2) is False + + """ + # Source: https://gamemath.com/book/geomtests.html#intersection_two_aabbs + if not self.has_data or not other.has_data: + return False + # Check for a separating axis: + if self.extmin.x >= other.extmax.x: + return False + if self.extmax.x <= other.extmin.x: + return False + if self.extmin.y >= other.extmax.y: + return False + if self.extmax.y <= other.extmin.y: + return False + return True + + def intersection(self, other: AbstractBoundingBox[T]) -> BoundingBox2d: + """Returns the bounding box of the intersection rectangle of both + 2D bounding boxes. Returns an empty bounding box if the intersection + area is 0. + """ + new_bbox = self.__class__() + if not self.has_intersection(other): + return new_bbox + s_min_x, s_min_y = Vec2(self.extmin) + o_min_x, o_min_y = Vec2(other.extmin) + s_max_x, s_max_y = Vec2(self.extmax) + o_max_x, o_max_y = Vec2(other.extmax) + new_bbox.extend( + [ + (max(s_min_x, o_min_x), max(s_min_y, o_min_y)), + (min(s_max_x, o_max_x), min(s_max_y, o_max_y)), + ] + ) + return new_bbox + + def has_overlap(self, other: AbstractBoundingBox[T]) -> bool: + """Returns ``True`` if this bounding box intersects with `other` but + in contrast to :meth:`has_intersection` includes touching bounding boxes too:: + + bbox1 = BoundingBox2d([(0, 0), (1, 1)]) + bbox2 = BoundingBox2d([(1, 1), (2, 2)]) + assert bbox1.has_overlap(bbox2) is True + + """ + # Source: https://gamemath.com/book/geomtests.html#intersection_two_aabbs + if not self.has_data or not other.has_data: + return False + # Check for a separating axis: + if self.extmin.x > other.extmax.x: + return False + if self.extmax.x < other.extmin.x: + return False + if self.extmin.y > other.extmax.y: + return False + if self.extmax.y < other.extmin.y: + return False + return True + + +def extents3d(vertices: Iterable[UVec]) -> tuple[Vec3, Vec3]: + """Returns the extents of the bounding box as tuple (extmin, extmax).""" + vertices = np.array([Vec3(v).xyz for v in vertices], dtype=np.float64) + if len(vertices): + return Vec3(vertices.min(0)), Vec3(vertices.max(0)) + else: + raise ValueError("no vertices given") + + +def extents2d(vertices: Iterable[UVec]) -> tuple[Vec2, Vec2]: + """Returns the extents of the bounding box as tuple (extmin, extmax).""" + vertices = np.array([(x, y) for x, y, *_ in vertices], dtype=np.float64) + if len(vertices): + return Vec2(vertices.min(0)), Vec2(vertices.max(0)) + else: + raise ValueError("no vertices given") diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/math/bezier.py b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/math/bezier.py new file mode 100644 index 0000000000000000000000000000000000000000..cbafc6de574b3c4b214e4e81d68635c3ca8dec8f --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/math/bezier.py @@ -0,0 +1,260 @@ +# Copyright (c) 2010-2024 Manfred Moitzi +# License: MIT License +from __future__ import annotations +from typing import Iterable, Sequence +from functools import lru_cache +import math +import numpy as np + +from ezdxf.math import Vec3, NULLVEC, Matrix44, UVec + + +__all__ = ["Bezier"] + + +""" + +Bezier curves +============= + +https://www.cl.cam.ac.uk/teaching/2000/AGraphHCI/SMEG/node3.html + +A Bezier curve is a weighted sum of n+1 control points, P0, P1, ..., Pn, where +the weights are the Bernstein polynomials. + +The Bezier curve of order n+1 (degree n) has n+1 control points. These are the +first three orders of Bezier curve definitions. + +(75) linear P(t) = (1-t)*P0 + t*P1 +(76) quadratic P(t) = (1-t)^2*P0 + 2*(t-1)*t*P1 + t^2*P2 +(77) cubic P(t) = (1-t)^3*P0 + 3*(1-t)^2*t*P1 + 3*(1-t)*t^2*P2 + t^3*P3 + +Ways of thinking about Bezier curves +------------------------------------ + +There are several useful ways in which you can think about Bezier curves. +Here are the ones that I use. + +Linear interpolation +~~~~~~~~~~~~~~~~~~~~ + +Equation (75) is obviously a linear interpolation between two points. Equation +(76) can be rewritten as a linear interpolation between linear interpolations +between points. + +Weighted average +~~~~~~~~~~~~~~~~ + +A Bezier curve can be seen as a weighted average of all of its control points. +Because all of the weights are positive, and because the weights sum to one, the +Bezier curve is guaranteed to lie within the convex hull of its control points. + +Refinement of the control polygon +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + +A Bezier curve can be seen as some sort of refinement of the polygon made by +connecting its control points in order. The Bezier curve starts and ends at the +two end points and its shape is determined by the relative positions of the n-1 +other control points, although it will generally not pass through these other +control points. The tangent vectors at the start and end of the curve pass +through the end point and the immediately adjacent point. + +Continuity +---------- + +You should note that each Bezier curve is independent of any other Bezier curve. +If we wish two Bezier curves to join with any type of continuity, then we must +explicitly position the control points of the second curve so that they bear +the appropriate relationship with the control points in the first curve. + +Any Bezier curve is infinitely differentiable within itself, and is therefore +continuous to any degree. + +""" + + +class Bezier: + """Generic `Bézier curve`_ of any degree. + + A `Bézier curve`_ is a parametric curve used in computer graphics and + related fields. Bézier curves are used to model smooth curves that can be + scaled indefinitely. "Paths", as they are commonly referred to in image + manipulation programs, are combinations of linked Bézier curves. + Paths are not bound by the limits of rasterized images and are intuitive to + modify. (Source: Wikipedia) + + This is a generic implementation which works with any count of definition + points greater than 2, but it is a simple and slow implementation. For more + performance look at the specialized :class:`Bezier4P` and :class:`Bezier3P` + classes. + + Objects are immutable. + + Args: + defpoints: iterable of definition points as :class:`Vec3` compatible objects. + + """ + + def __init__(self, defpoints: Iterable[UVec]): + self._defpoints: Sequence[Vec3] = Vec3.tuple(defpoints) + + @property + def control_points(self) -> Sequence[Vec3]: + """Control points as tuple of :class:`Vec3` objects.""" + return self._defpoints + + def approximate(self, segments: int = 20) -> Iterable[Vec3]: + """Approximates curve by vertices as :class:`Vec3` objects, vertices + count = segments + 1. + """ + return self.points(self.params(segments)) + + def flattening(self, distance: float, segments: int = 4) -> Iterable[Vec3]: + """Adaptive recursive flattening. The argument `segments` is the + minimum count of approximation segments, if the distance from the center + of the approximation segment to the curve is bigger than `distance` the + segment will be subdivided. + + Args: + distance: maximum distance from the center of the curve (Cn) + to the center of the linear (C1) curve between two + approximation points to determine if a segment should be + subdivided. + segments: minimum segment count + + """ + + def subdiv(start_point, end_point, start_t: float, end_t: float): + mid_t = (start_t + end_t) * 0.5 + mid_point = self.point(mid_t) + chk_point = start_point.lerp(end_point) + # center point point is faster than projecting mid point onto + # vector start -> end: + if chk_point.distance(mid_point) < distance: + yield end_point + else: + yield from subdiv(start_point, mid_point, start_t, mid_t) + yield from subdiv(mid_point, end_point, mid_t, end_t) + + dt = 1.0 / segments + t0 = 0.0 + start_point = self._defpoints[0] + yield start_point + while t0 < 1.0: + t1 = t0 + dt + if math.isclose(t1, 1.0): + end_point = self._defpoints[-1] + t1 = 1.0 + else: + end_point = self.point(t1) + yield from subdiv(start_point, end_point, t0, t1) + t0 = t1 + start_point = end_point + + def params(self, segments: int) -> Iterable[float]: + """Yield evenly spaced parameters from 0 to 1 for given segment count.""" + yield from np.linspace(0.0, 1.0, segments + 1) + + def point(self, t: float) -> Vec3: + """Returns a point for parameter `t` in range [0, 1] as :class:`Vec3` + object. + """ + if t < 0.0 or t > 1.0: + raise ValueError("Parameter t not in range [0, 1]") + if (1.0 - t) < 5e-6: + t = 1.0 + point = NULLVEC + pts = self._defpoints + n = len(pts) + + for i in range(n): + point += bernstein_basis(n - 1, i, t) * pts[i] + return point + + def points(self, t: Iterable[float]) -> Iterable[Vec3]: + """Yields multiple points for parameters in vector `t` as :class:`Vec3` + objects. Parameters have to be in range [0, 1]. + """ + for u in t: + yield self.point(u) + + def derivative(self, t: float) -> tuple[Vec3, Vec3, Vec3]: + """Returns (point, 1st derivative, 2nd derivative) tuple for parameter `t` + in range [0, 1] as :class:`Vec3` objects. + """ + if t < 0.0 or t > 1.0: + raise ValueError("Parameter t not in range [0, 1]") + + if (1.0 - t) < 5e-6: + t = 1.0 + pts = self._defpoints + n = len(pts) + n0 = n - 1 + point = NULLVEC + d1 = NULLVEC + d2 = NULLVEC + t2 = t * t + n0_1 = n0 - 1 + if t == 0.0: + d1 = n0 * (pts[1] - pts[0]) + d2 = n0 * n0_1 * (pts[0] - 2.0 * pts[1] + pts[2]) + for i in range(n): + tmp_bas = bernstein_basis(n0, i, t) + point += tmp_bas * pts[i] + if 0.0 < t < 1.0: + _1_t = 1.0 - t + i_n0_t = i - n0 * t + d1 += i_n0_t / (t * _1_t) * tmp_bas * pts[i] + d2 += ( + (i_n0_t * i_n0_t - n0 * t2 - i * (1.0 - 2.0 * t)) + / (t2 * _1_t * _1_t) + * tmp_bas + * pts[i] + ) + if t == 1.0: + d1 = n0 * (pts[n0] - pts[n0_1]) + d2 = n0 * n0_1 * (pts[n0] - 2 * pts[n0_1] + pts[n0 - 2]) + return point, d1, d2 + + def derivatives( + self, t: Iterable[float] + ) -> Iterable[tuple[Vec3, Vec3, Vec3]]: + """Returns multiple (point, 1st derivative, 2nd derivative) tuples for + parameter vector `t` as :class:`Vec3` objects. + Parameters in range [0, 1] + """ + for u in t: + yield self.derivative(u) + + def reverse(self) -> Bezier: + """Returns a new Bèzier-curve with reversed control point order.""" + return Bezier(list(reversed(self.control_points))) + + def transform(self, m: Matrix44) -> Bezier: + """General transformation interface, returns a new :class:`Bezier` curve. + + Args: + m: 4x4 transformation matrix (:class:`ezdxf.math.Matrix44`) + + """ + defpoints = tuple(m.transform_vertices(self.control_points)) + return Bezier(defpoints) + + +def bernstein_basis(n: int, i: int, t: float) -> float: + # handle the special cases to avoid domain problem with pow + if t == 0.0 and i == 0: + ti = 1.0 + else: + ti = pow(t, i) + if n == i and t == 1.0: + tni = 1.0 + else: + tni = pow((1.0 - t), (n - i)) + Ni = factorial(n) / (factorial(i) * factorial(n - i)) + return Ni * ti * tni + + +@lru_cache(maxsize=None) +def factorial(n: int): + return math.factorial(n) diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/math/bezier_interpolation.py b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/math/bezier_interpolation.py new file mode 100644 index 0000000000000000000000000000000000000000..f3c1ebab0c5dcba3b953c434591123e075a080fa --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/math/bezier_interpolation.py @@ -0,0 +1,76 @@ +# Copyright (c) 2010-2023 Manfred Moitzi +# License: MIT License +from __future__ import annotations +from typing import Iterable, Sequence +from ezdxf.math import Vec3, Bezier4P, UVec + +# These are low-level interpolation tools for B-splines, which can not be +# integrated into other curve related modules! +__all__ = ["cubic_bezier_interpolation", "tangents_cubic_bezier_interpolation"] + + +def cubic_bezier_interpolation( + points: Iterable[UVec], +) -> Iterable[Bezier4P[Vec3]]: + """Returns an interpolation curve for given data `points` as multiple cubic + Bézier-curves. Returns n-1 cubic Bézier-curves for n given data points, + curve i goes from point[i] to point[i+1]. + + Args: + points: data points + + """ + from ezdxf.math.linalg import tridiagonal_matrix_solver + + # Source: https://towardsdatascience.com/b%C3%A9zier-interpolation-8033e9a262c2 + pnts = Vec3.tuple(points) + if len(pnts) < 3: + return + + num = len(pnts) - 1 + + # setup tri-diagonal matrix (a, b, c) + b = [4.0] * num + a = [1.0] * num + c = [1.0] * num + b[0] = 2.0 + b[num - 1] = 7.0 + a[num - 1] = 2.0 + + # setup right-hand side quantities + points_vector = [pnts[0] + 2.0 * pnts[1]] + points_vector.extend( + 2.0 * (2.0 * pnts[i] + pnts[i + 1]) for i in range(1, num - 1) + ) + points_vector.append(8.0 * pnts[num - 1] + pnts[num]) + + # solve tri-diagonal linear equation system + solution = tridiagonal_matrix_solver([a, b, c], points_vector) + control_points_1 = Vec3.list(solution.rows()) + control_points_2 = [ + p * 2.0 - cp for p, cp in zip(pnts[1:], control_points_1[1:]) + ] + control_points_2.append((control_points_1[num - 1] + pnts[num]) / 2.0) + + for defpoints in zip( + pnts, control_points_1, control_points_2, pnts[1:] + ): + yield Bezier4P(defpoints) + + +def tangents_cubic_bezier_interpolation( + fit_points: Sequence[Vec3], normalize=True +) -> list[Vec3]: + if len(fit_points) < 3: + raise ValueError("At least 3 points required") + + curves = list(cubic_bezier_interpolation(fit_points)) + tangents = [ + (curve.control_points[1] - curve.control_points[0]) for curve in curves + ] + + last_points = curves[-1].control_points + tangents.append(last_points[3] - last_points[2]) + if normalize: + tangents = [t.normalize() for t in tangents] + return tangents diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/math/box.py b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/math/box.py new file mode 100644 index 0000000000000000000000000000000000000000..69e9f9ecd59441c739ddb910d553ad34cf6e03ff --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/math/box.py @@ -0,0 +1,268 @@ +# Copyright (c) 2019-2022, Manfred Moitzi +# License: MIT License +from __future__ import annotations +from typing import Sequence, Iterable +import math +from ezdxf.math import Vec2, UVec +from .bbox import BoundingBox2d +from .line import ConstructionLine +from .construct2d import point_to_line_relation + + +ABS_TOL = 1e-12 + +__all__ = ["ConstructionBox"] + + +class ConstructionBox: + """Construction tool for 2D rectangles. + + Args: + center: center of rectangle + width: width of rectangle + height: height of rectangle + angle: angle of rectangle in degrees + + """ + + def __init__( + self, + center: UVec = (0, 0), + width: float = 1, + height: float = 1, + angle: float = 0, + ): + self._center = Vec2(center) + self._width: float = abs(width) + self._height: float = abs(height) + self._angle: float = angle # in degrees + # corners: lower left, lower right, upper right, upper left: + self._corners: Sequence[Vec2] = tuple() + self._tainted: bool = True + + @classmethod + def from_points(cls, p1: UVec, p2: UVec) -> ConstructionBox: + """Creates a box from two opposite corners, box sides are parallel to x- + and y-axis. + + Args: + p1: first corner as :class:`Vec2` compatible object + p2: second corner as :class:`Vec2` compatible object + + """ + _p1 = Vec2(p1) + _p2 = Vec2(p2) + width: float = abs(_p2.x - _p1.x) + height: float = abs(_p2.y - _p1.y) + center: Vec2 = _p1.lerp(_p2) + return cls(center=center, width=width, height=height) + + def update(self) -> None: + if not self._tainted: + return + center = self.center + w2 = Vec2.from_deg_angle(self._angle, self._width / 2.0) + h2 = Vec2.from_deg_angle(self._angle + 90, self._height / 2.0) + self._corners = ( + center - w2 - h2, # lower left + center + w2 - h2, # lower right + center + w2 + h2, # upper right + center - w2 + h2, # upper left + ) + self._tainted = False + + @property + def bounding_box(self) -> BoundingBox2d: + """:class:`BoundingBox2d`""" + return BoundingBox2d(self.corners) + + @property + def center(self) -> Vec2: + """box center""" + return self._center + + @center.setter + def center(self, c: UVec) -> None: + self._center = Vec2(c) + self._tainted = True + + @property + def width(self) -> float: + """box width""" + return self._width + + @width.setter + def width(self, w: float) -> None: + self._width = abs(w) + self._tainted = True + + @property + def height(self) -> float: + """box height""" + return self._height + + @height.setter + def height(self, h: float) -> None: + self._height = abs(h) + self._tainted = True + + @property + def incircle_radius(self) -> float: + """incircle radius""" + return min(self._width, self._height) * 0.5 + + @property + def circumcircle_radius(self) -> float: + """circum circle radius""" + return math.hypot(self._width, self._height) * 0.5 + + @property + def angle(self) -> float: + """rotation angle in degrees""" + return self._angle + + @angle.setter + def angle(self, a: float) -> None: + self._angle = a + self._tainted = True + + @property + def corners(self) -> Sequence[Vec2]: + """box corners as sequence of :class:`Vec2` objects.""" + self.update() + return self._corners + + def __iter__(self) -> Iterable[Vec2]: + """Iterable of box corners as :class:`Vec2` objects.""" + return iter(self.corners) + + def __getitem__(self, corner) -> Vec2: + """Get corner by index `corner`, ``list`` like slicing is supported.""" + return self.corners[corner] + + def __repr__(self) -> str: + """Returns string representation of box as + ``ConstructionBox(center, width, height, angle)``""" + return f"ConstructionBox({self.center}, {self.width}, {self.height}, {self.angle})" + + def translate(self, dx: float, dy: float) -> None: + """Move box about `dx` in x-axis and about `dy` in y-axis. + + Args: + dx: translation in x-axis + dy: translation in y-axis + + """ + self.center += Vec2((dx, dy)) + + def expand(self, dw: float, dh: float) -> None: + """Expand box: `dw` expand width, `dh` expand height.""" + self.width += dw + self.height += dh + + def scale(self, sw: float, sh: float) -> None: + """Scale box: `sw` scales width, `sh` scales height.""" + self.width *= sw + self.height *= sh + + def rotate(self, angle: float) -> None: + """Rotate box by `angle` in degrees.""" + self.angle += angle + + def is_inside(self, point: UVec) -> bool: + """Returns ``True`` if `point` is inside of box.""" + point = Vec2(point) + delta = self.center - point + if abs(self.angle) < ABS_TOL: # fast path for horizontal rectangles + return abs(delta.x) <= (self._width / 2.0) and abs(delta.y) <= ( + self._height / 2.0 + ) + else: + distance = delta.magnitude + if distance > self.circumcircle_radius: + return False + elif distance <= self.incircle_radius: + return True + else: + # inside if point is "left of line" of all borderlines. + p1, p2, p3, p4 = self.corners + return all( + ( + point_to_line_relation(point, a, b) < 1 + for a, b in [(p1, p2), (p2, p3), (p3, p4), (p4, p1)] + ) + ) + + def is_any_corner_inside(self, other: ConstructionBox) -> bool: + """Returns ``True`` if any corner of `other` box is inside this box.""" + return any(self.is_inside(p) for p in other.corners) + + def is_overlapping(self, other: ConstructionBox) -> bool: + """Returns ``True`` if this box and `other` box do overlap.""" + distance = (self.center - other.center).magnitude + max_distance = self.circumcircle_radius + other.circumcircle_radius + if distance > max_distance: + return False + min_distance = self.incircle_radius + other.incircle_radius + if distance <= min_distance: + return True + + if self.is_any_corner_inside(other): + return True + if other.is_any_corner_inside(self): + return True + # no corner is inside of any box, maybe crossing boxes? + # check intersection of diagonals + c1, c2, c3, c4 = self.corners + diag1 = ConstructionLine(c1, c3) + diag2 = ConstructionLine(c2, c4) + + t1, t2, t3, t4 = other.corners + test_diag = ConstructionLine(t1, t3) + if test_diag.has_intersection(diag1) or test_diag.has_intersection( + diag2 + ): + return True + test_diag = ConstructionLine(t2, t4) + if test_diag.has_intersection(diag1) or test_diag.has_intersection( + diag2 + ): + return True + + return False + + def border_lines(self) -> Sequence[ConstructionLine]: + """Returns borderlines of box as sequence of :class:`ConstructionLine`.""" + p1, p2, p3, p4 = self.corners + return ( + ConstructionLine(p1, p2), + ConstructionLine(p2, p3), + ConstructionLine(p3, p4), + ConstructionLine(p4, p1), + ) + + def intersect(self, line: ConstructionLine) -> list[Vec2]: + """Returns 0, 1 or 2 intersection points between `line` and box + borderlines. + + Args: + line: line to intersect with borderlines + + Returns: + list of intersection points + + =========== ================================== + list size Description + =========== ================================== + 0 no intersection + 1 line touches box at one corner + 2 line intersects with box + =========== ================================== + + """ + result = set() + for border_line in self.border_lines(): + p = line.intersect(border_line) + if p is not None: + result.add(p) + return sorted(result) diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/math/bspline.py b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/math/bspline.py new file mode 100644 index 0000000000000000000000000000000000000000..e42f7a1ca88b45c441d4b0626a6daede670688a7 --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/math/bspline.py @@ -0,0 +1,2086 @@ +# Copyright (c) 2012-2025, Manfred Moitzi +# License: MIT License +""" +B-Splines +========= + +https://www.cl.cam.ac.uk/teaching/2000/AGraphHCI/SMEG/node4.html + +Rational B-splines +================== + +https://www.cl.cam.ac.uk/teaching/2000/AGraphHCI/SMEG/node5.html: + +"The NURBS Book" by Les Piegl and Wayne Tiller + +https://books.google.at/books/about/The_NURBS_Book.html?id=7dqY5dyAwWkC&redir_esc=y + +""" +from __future__ import annotations +from typing import ( + Iterable, + Iterator, + Sequence, + TYPE_CHECKING, + Optional, + Any, + no_type_check, +) +import math +import numpy as np + +from ezdxf.math import ( + Vec3, + UVec, + NULLVEC, + Basis, + Evaluator, + create_t_vector, + estimate_end_tangent_magnitude, + distance_point_line_3d, + arc_angle_span_deg, +) +from .bbox import BoundingBox +from ezdxf.math import linalg +from ezdxf.lldxf.const import DXFValueError + +if TYPE_CHECKING: + from ezdxf.math import ( + ConstructionArc, + ConstructionEllipse, + Matrix44, + Bezier4P, + ) + + +__all__ = [ + # High level functions: + "fit_points_to_cad_cv", + "global_bspline_interpolation", + "local_cubic_bspline_interpolation", + "rational_bspline_from_arc", + "rational_bspline_from_ellipse", + "fit_points_to_cubic_bezier", + "open_uniform_bspline", + "closed_uniform_bspline", + # B-spline representation with derivatives support: + "BSpline", + # Low level interpolation function: + "unconstrained_global_bspline_interpolation", + "global_bspline_interpolation_end_tangents", + "cad_fit_point_interpolation", + "global_bspline_interpolation_first_derivatives", + "local_cubic_bspline_interpolation_from_tangents", + # Low level knot parametrization functions: + "knots_from_parametrization", + "averaged_knots_unconstrained", + "averaged_knots_constrained", + "natural_knots_unconstrained", + "natural_knots_constrained", + "double_knots", + # Low level knot function: + "required_knot_values", + "uniform_knot_vector", + "open_uniform_knot_vector", + "required_fit_points", + "required_control_points", + "round_knots", +] + + +def fit_points_to_cad_cv( + fit_points: Iterable[UVec], + tangents: Optional[Iterable[UVec]] = None, +) -> BSpline: + """Returns a cubic :class:`BSpline` from fit points as close as possible + to common CAD applications like BricsCAD. + + There exist infinite numerical correct solution for this setup, but some + facts are known: + + - CAD applications use the global curve interpolation with start- and end + derivatives if the end tangents are defined otherwise the equation system will + be completed by setting the second derivatives of the start and end point to 0, + for more information read this answer on stackoverflow: https://stackoverflow.com/a/74863330/6162864 + - The degree of the B-spline is always 3 regardless which degree is stored in the + SPLINE entity, this is only valid for B-splines defined by fit points + - Knot parametrization method is "chord" + - Knot distribution is "natural" + + Args: + fit_points: points the spline is passing through + tangents: start- and end tangent, default is autodetect + + """ + # See also Spline class in ezdxf/entities/spline.py: + points = Vec3.list(fit_points) + if len(points) < 2: + raise ValueError("two or more points required ") + + if tangents is None: + control_points, knots = cad_fit_point_interpolation(points) + return BSpline(control_points, order=4, knots=knots) + t = Vec3.list(tangents) + m1, m2 = estimate_end_tangent_magnitude(points, method="chord") + start_tangent = t[0].normalize(m1) + end_tangent = t[-1].normalize(m2) + + return global_bspline_interpolation( + points, + degree=3, + tangents=(start_tangent, end_tangent), + method="chord", + ) + + +def fit_points_to_cubic_bezier(fit_points: Iterable[UVec]) -> BSpline: + """Returns a cubic :class:`BSpline` from fit points **without** end + tangents. + + This function uses the cubic Bèzier interpolation to create multiple Bèzier + curves and combine them into a single B-spline, this works for short simple + splines better than the :func:`fit_points_to_cad_cv`, but is worse + for longer and more complex splines. + + Args: + fit_points: points the spline is passing through + + """ + points = Vec3.list(fit_points) + if len(points) < 2: + raise ValueError("two or more points required ") + + from ezdxf.math import cubic_bezier_interpolation, bezier_to_bspline + + bezier_curves = cubic_bezier_interpolation(points) + return bezier_to_bspline(bezier_curves) + + +def global_bspline_interpolation( + fit_points: Iterable[UVec], + degree: int = 3, + tangents: Optional[Iterable[UVec]] = None, + method: str = "chord", +) -> BSpline: + """`B-spline`_ interpolation by the `Global Curve Interpolation`_. + Given are the fit points and the degree of the B-spline. + The function provides 3 methods for generating the parameter vector t: + + - "uniform": creates a uniform t vector, from 0 to 1 evenly spaced, see + `uniform`_ method + - "chord", "distance": creates a t vector with values proportional to the + fit point distances, see `chord length`_ method + - "centripetal", "sqrt_chord": creates a t vector with values proportional + to the fit point sqrt(distances), see `centripetal`_ method + - "arc": creates a t vector with values proportional to the arc length + between fit points. + + It is possible to constraint the curve by tangents, by start- and end + tangent if only two tangents are given or by one tangent for each fit point. + + If tangents are given, they represent 1st derivatives and should be + scaled if they are unit vectors, if only start- and end tangents given the + function :func:`~ezdxf.math.estimate_end_tangent_magnitude` helps with an + educated guess, if all tangents are given, scaling by chord length is a + reasonable choice (Piegl & Tiller). + + Args: + fit_points: fit points of B-spline, as list of :class:`Vec3` compatible + objects + tangents: if only two vectors are given, take the first and the last + vector as start- and end tangent constraints or if for all fit + points a tangent is given use all tangents as interpolation + constraints (optional) + degree: degree of B-spline + method: calculation method for parameter vector t + + Returns: + :class:`BSpline` + + """ + _fit_points = Vec3.list(fit_points) + count = len(_fit_points) + order: int = degree + 1 + + if tangents: + # two control points for tangents will be added + count += 2 + if order > count and tangents is None: + raise ValueError(f"More fit points required for degree {degree}") + + t_vector = list(create_t_vector(_fit_points, method)) + # natural knot generation for uneven degrees else averaged + knot_generation_method = "natural" if degree % 2 else "average" + if tangents is not None: + _tangents = Vec3.list(tangents) + if len(_tangents) == 2: + control_points, knots = global_bspline_interpolation_end_tangents( + _fit_points, + _tangents[0], + _tangents[1], + degree, + t_vector, + knot_generation_method, + ) + elif len(_tangents) == len(_fit_points): + ( + control_points, + knots, + ) = global_bspline_interpolation_first_derivatives( + _fit_points, _tangents, degree, t_vector + ) + else: + raise ValueError( + "Invalid count of tangents, two tangents as start- and end " + "tangent constrains or one tangent for each fit point." + ) + else: + control_points, knots = unconstrained_global_bspline_interpolation( + _fit_points, degree, t_vector, knot_generation_method + ) + bspline = BSpline(control_points, order=order, knots=knots) + return bspline + + +def local_cubic_bspline_interpolation( + fit_points: Iterable[UVec], + method: str = "5-points", + tangents: Optional[Iterable[UVec]] = None, +) -> BSpline: + """`B-spline`_ interpolation by 'Local Cubic Curve Interpolation', which + creates B-spline from fit points and estimated tangent direction at start-, + end- and passing points. + + Source: Piegl & Tiller: "The NURBS Book" - chapter 9.3.4 + + Available tangent estimation methods: + + - "3-points": 3 point interpolation + - "5-points": 5 point interpolation + - "bezier": cubic bezier curve interpolation + - "diff": finite difference + + or pass pre-calculated tangents, which overrides tangent estimation. + + Args: + fit_points: all B-spline fit points as :class:`Vec3` compatible objects + method: tangent estimation method + tangents: tangents as :class:`Vec3` compatible objects (optional) + + Returns: + :class:`BSpline` + + """ + from .parametrize import estimate_tangents + + _fit_points = Vec3.list(fit_points) + if tangents: + _tangents = Vec3.list(tangents) + else: + _tangents = estimate_tangents(_fit_points, method) + control_points, knots = local_cubic_bspline_interpolation_from_tangents( + _fit_points, _tangents + ) + return BSpline(control_points, order=4, knots=knots) + + +def required_knot_values(count: int, order: int) -> int: + """Returns the count of required knot-values for a B-spline of `order` and + `count` control points. + + Args: + count: count of control points, in text-books referred as "n + 1" + order: order of B-Spline, in text-books referred as "k" + + Relationship: + + "p" is the degree of the B-spline, text-book notation. + + - k = p + 1 + - 2 ≤ k ≤ n + 1 + + """ + k = int(order) + n = int(count) - 1 + p = k - 1 + if not (2 <= k <= (n + 1)): + raise DXFValueError("Invalid count/order combination") + # n + p + 2 = count + order + return n + p + 2 + + +def required_fit_points(order: int, tangents=True) -> int: + """Returns the count of required fit points to calculate the spline + control points. + + Args: + order: spline order (degree + 1) + tangents: start- and end tangent are given or estimated + + """ + if tangents: + # If tangents are given or estimated two points for start- and end + # tangent will be added automatically for the global bspline + # interpolation. see function fit_points_to_cad_cv() + order -= 2 + # required condition: order > count, see global_bspline_interpolation() + return max(order, 2) + + +def required_control_points(order: int) -> int: + """Returns the required count of control points for a valid B-spline. + + Args: + order: spline order (degree + 1) + + Required condition: 2 <= order <= count, therefore: count >= order + + """ + return max(order, 2) + + +def normalize_knots(knots: Sequence[float]) -> list[float]: + """Normalize knot vector into range [0, 1].""" + min_val = knots[0] + max_val = knots[-1] - min_val + return [(v - min_val) / max_val for v in knots] + + +def uniform_knot_vector(count: int, order: int, normalize=False) -> list[float]: + """Returns an uniform knot vector for a B-spline of `order` and `count` + control points. + + `order` = degree + 1 + + Args: + count: count of control points + order: spline order + normalize: normalize values in range [0, 1] if ``True`` + + """ + if normalize: + max_value = float(count + order - 1) + else: + max_value = 1.0 + return [knot_value / max_value for knot_value in range(count + order)] + + +def open_uniform_knot_vector(count: int, order: int, normalize=False) -> list[float]: + """Returns an open (clamped) uniform knot vector for a B-spline of `order` + and `count` control points. + + `order` = degree + 1 + + Args: + count: count of control points + order: spline order + normalize: normalize values in range [0, 1] if ``True`` + + """ + k = count - order + if normalize: + max_value = float(count - order + 1) + tail = [1.0] * order + else: + max_value = 1.0 + tail = [1.0 + k] * order + + knots = [0.0] * order + knots.extend((1.0 + v) / max_value for v in range(k)) + knots.extend(tail) + return knots + + +def knots_from_parametrization( + n: int, p: int, t: Iterable[float], method="average", constrained=False +) -> list[float]: + """Returns a 'clamped' knot vector for B-splines. All knot values are + normalized in the range [0, 1]. + + Args: + n: count fit points - 1 + p: degree of spline + t: parametrization vector, length(t_vector) == n, normalized [0, 1] + method: "average", "natural" + constrained: ``True`` for B-spline constrained by end derivatives + + Returns: + List of n+p+2 knot values as floats + + """ + order = int(p + 1) + if order > (n + 1): + raise DXFValueError("Invalid n/p combination, more fit points required.") + + t = [float(v) for v in t] + if t[0] != 0.0 or not math.isclose(t[-1], 1.0): + raise ValueError("Parametrization vector t has to be normalized.") + + if method == "average": + return ( + averaged_knots_constrained(n, p, t) + if constrained + else averaged_knots_unconstrained(n, p, t) + ) + elif method == "natural": + return ( + natural_knots_constrained(n, p, t) + if constrained + else natural_knots_unconstrained(n, p, t) + ) + else: + raise ValueError(f"Unknown knot generation method: {method}") + + +def averaged_knots_unconstrained(n: int, p: int, t: Sequence[float]) -> list[float]: + """Returns an averaged knot vector from parametrization vector `t` for an + unconstrained B-spline. + + Args: + n: count of control points - 1 + p: degree + t: parametrization vector, normalized [0, 1] + + """ + assert t[0] == 0.0 + assert math.isclose(t[-1], 1.0) + + knots = [0.0] * (p + 1) + knots.extend(sum(t[j : j + p]) / p for j in range(1, n - p + 1)) + if knots[-1] > 1.0: + raise ValueError("Normalized [0, 1] values required") + knots.extend([1.0] * (p + 1)) + return knots + + +def averaged_knots_constrained(n: int, p: int, t: Sequence[float]) -> list[float]: + """Returns an averaged knot vector from parametrization vector `t` for a + constrained B-spline. + + Args: + n: count of control points - 1 + p: degree + t: parametrization vector, normalized [0, 1] + + """ + assert t[0] == 0.0 + assert math.isclose(t[-1], 1.0) + + knots = [0.0] * (p + 1) + knots.extend(sum(t[j : j + p - 1]) / p for j in range(n - p)) + knots.extend([1.0] * (p + 1)) + return knots + + +def natural_knots_unconstrained(n: int, p: int, t: Sequence[float]) -> list[float]: + """Returns a 'natural' knot vector from parametrization vector `t` for an + unconstrained B-spline. + + Args: + n: count of control points - 1 + p: degree + t: parametrization vector, normalized [0, 1] + + """ + assert t[0] == 0.0 + assert math.isclose(t[-1], 1.0) + + knots = [0.0] * (p + 1) + knots.extend(t[2 : n - p + 2]) + knots.extend([1.0] * (p + 1)) + return knots + + +def natural_knots_constrained(n: int, p: int, t: Sequence[float]) -> list[float]: + """Returns a 'natural' knot vector from parametrization vector `t` for a + constrained B-spline. + + Args: + n: count of control points - 1 + p: degree + t: parametrization vector, normalized [0, 1] + + """ + assert t[0] == 0.0 + assert math.isclose(t[-1], 1.0) + + knots = [0.0] * (p + 1) + knots.extend(t[1 : n - p + 1]) + knots.extend([1.0] * (p + 1)) + return knots + + +def double_knots(n: int, p: int, t: Sequence[float]) -> list[float]: + """Returns a knot vector from parametrization vector `t` for B-spline + constrained by first derivatives at all fit points. + + Args: + n: count of fit points - 1 + p: degree of spline + t: parametrization vector, first value has to be 0.0 and last value has + to be 1.0 + + """ + assert t[0] == 0.0 + assert math.isclose(t[-1], 1.0) + + u = [0.0] * (p + 1) + prev_t = 0.0 + + u1 = [] + for t1 in t[1:-1]: + if p == 2: + # add one knot between prev_t and t + u1.append((prev_t + t1) / 2.0) + u1.append(t1) + else: + if prev_t == 0.0: # first knot + u1.append(t1 / 2) + else: + # add one knot at the 1st third and one knot + # at the 2nd third between prev_t and t. + u1.append((2 * prev_t + t1) / 3.0) + u1.append((prev_t + 2 * t1) / 3.0) + prev_t = t1 + u.extend(u1[: n * 2 - p]) + u.append((t[-2] + 1.0) / 2.0) # last knot + u.extend([1.0] * (p + 1)) + return u + + +def _get_best_solver(matrix: list | linalg.Matrix, degree: int) -> linalg.Solver: + """Returns best suited linear equation solver depending on matrix configuration and + python interpreter. + """ + # v1.2: added NumpySolver + # Acceleration of banded diagonal matrix solver is still a thing but only for + # really big matrices N > 30 in pure Python and N > 20 for C-extension np_support + # PyPy has no advantages when using the NumpySolver + if not isinstance(matrix, linalg.Matrix): + matrix = linalg.Matrix(matrix) + + if matrix.nrows < 20: # use default equation solver + return linalg.NumpySolver(matrix.matrix) + else: + # Theory: band parameters m1, m2 are at maximum degree-1, for + # B-spline interpolation and approximation: + # m1 = m2 = degree-1 + # But the speed gain is not that big and just to be sure: + m1, m2 = linalg.detect_banded_matrix(matrix, check_all=False) + A = linalg.compact_banded_matrix(matrix, m1, m2) + return linalg.BandedMatrixLU(A, m1, m2) + + +def unconstrained_global_bspline_interpolation( + fit_points: Sequence[UVec], + degree: int, + t_vector: Sequence[float], + knot_generation_method: str = "average", +) -> tuple[list[Vec3], list[float]]: + """Interpolates the control points for a B-spline by global interpolation + from fit points without any constraints. + + Source: Piegl & Tiller: "The NURBS Book" - chapter 9.2.1 + + Args: + fit_points: points the B-spline has to pass + degree: degree of spline >= 2 + t_vector: parametrization vector, first value has to be 0 and last + value has to be 1 + knot_generation_method: knot generation method from parametrization + vector, "average" or "natural" + + Returns: + 2-tuple of control points as list of Vec3 objects and the knot vector + as list of floats + + """ + # Source: http://pages.mtu.edu/~shene/COURSES/cs3621/NOTES/INT-APP/CURVE-INT-global.html + knots = knots_from_parametrization( + len(fit_points) - 1, + degree, + t_vector, + knot_generation_method, + constrained=False, + ) + N = Basis(knots=knots, order=degree + 1, count=len(fit_points)) + solver = _get_best_solver([N.basis_vector(t) for t in t_vector], degree) + mat_B = np.array(fit_points, dtype=np.float64) + control_points = solver.solve_matrix(mat_B) + return Vec3.list(control_points.rows()), knots + + +def global_bspline_interpolation_end_tangents( + fit_points: list[Vec3], + start_tangent: Vec3, + end_tangent: Vec3, + degree: int, + t_vector: Sequence[float], + knot_generation_method: str = "average", +) -> tuple[list[Vec3], list[float]]: + """Calculates the control points for a B-spline by global interpolation + from fit points and the 1st derivative of the start- and end point as constraints. + These 'tangents' are 1st derivatives and not unit vectors, if an estimation + of the magnitudes is required use the :func:`estimate_end_tangent_magnitude` + function. + + Source: Piegl & Tiller: "The NURBS Book" - chapter 9.2.2 + + Args: + fit_points: points the B-spline has to pass + start_tangent: 1st derivative as start constraint + end_tangent: 1st derivative as end constrain + degree: degree of spline >= 2 + t_vector: parametrization vector, first value has to be 0 and last + value has to be 1 + knot_generation_method: knot generation method from parametrization + vector, "average" or "natural" + + Returns: + 2-tuple of control points as list of Vec3 objects and the knot vector + as list of floats + + """ + n = len(fit_points) - 1 + p = degree + if degree > 3: + # todo: 'average' produces weird results for degree > 3, 'natural' is + # better but also not good + knot_generation_method = "natural" + knots = knots_from_parametrization( + n + 2, p, t_vector, knot_generation_method, constrained=True + ) + + N = Basis(knots=knots, order=p + 1, count=n + 3) + rows = [N.basis_vector(u) for u in t_vector] + spacing = [0.0] * (n + 1) + rows.insert(1, [-1.0, +1.0] + spacing) + rows.insert(-1, spacing + [-1.0, +1.0]) + fit_points.insert(1, start_tangent * (knots[p + 1] / p)) + fit_points.insert(-1, end_tangent * ((1.0 - knots[-(p + 2)]) / p)) + + solver = _get_best_solver(rows, degree) + control_points = solver.solve_matrix(fit_points) + return Vec3.list(control_points.rows()), knots + + +def cad_fit_point_interpolation( + fit_points: list[Vec3], +) -> tuple[list[Vec3], list[float]]: + """Calculates the control points for a B-spline by global interpolation + from fit points without any constraints in the same way as AutoCAD and BricsCAD. + + Source: https://stackoverflow.com/a/74863330/6162864 + + Args: + fit_points: points the B-spline has to pass + + Returns: + 2-tuple of control points as list of Vec3 objects and the knot vector + as list of floats + + """ + + def coefficients1() -> list[float]: + """Returns the coefficients for equation [1].""" + # Piegl & Tiller: "The NURBS Book" formula (3.9) + up1 = knots[p + 1] + up2 = knots[p + 2] + f = p * (p - 1) / up1 + return [ + f / up1, # P0 + -f * (up1 + up2) / (up1 * up2), # P1 + f / up2, # P2 + ] + + def coefficients2() -> list[float]: + """Returns the coefficients for equation [n-1].""" + # Piegl & Tiller: "The NURBS Book" formula (3.10) + m = len(knots) - 1 + ump1 = knots[m - p - 1] + ump2 = knots[m - p - 2] + f = p * (p - 1) / (1.0 - ump1) + return [ + f / (1.0 - ump2), # Pn-2 + -f * (2.0 - ump1 - ump2) / (1.0 - ump1) / (1.0 - ump2), # Pn-1 + f / (1.0 - ump1), # Pn + ] + + t_vector = list(create_t_vector(fit_points, "chord")) + n = len(fit_points) - 1 + p = 3 + knots = knots_from_parametrization( + n + 2, p, t_vector, method="natural", constrained=True + ) + + N = Basis(knots=knots, order=p + 1, count=n + 3) + rows = [N.basis_vector(u) for u in t_vector] + spacing = [0.0] * n + rows.insert(1, coefficients1() + spacing) + rows.insert(-1, spacing + coefficients2()) + + # C"(0) == 0 + fit_points.insert(1, Vec3(0, 0, 0)) + # C"(1) == 0 + fit_points.insert(-1, Vec3(0, 0, 0)) + + solver = _get_best_solver(rows, p) + control_points = solver.solve_matrix(fit_points) + return Vec3.list(control_points.rows()), knots + + +def global_bspline_interpolation_first_derivatives( + fit_points: list[Vec3], + derivatives: list[Vec3], + degree: int, + t_vector: Sequence[float], +) -> tuple[list[Vec3], list[float]]: + """Interpolates the control points for a B-spline by a global + interpolation from fit points and 1st derivatives as constraints. + + Source: Piegl & Tiller: "The NURBS Book" - chapter 9.2.4 + + Args: + fit_points: points the B-spline has to pass + derivatives: 1st derivatives as constrains, not unit vectors! + Scaling by chord length is a reasonable choice (Piegl & Tiller). + degree: degree of spline >= 2 + t_vector: parametrization vector, first value has to be 0 and last + value has to be 1 + + Returns: + 2-tuple of control points as list of Vec3 objects and the knot vector + as list of floats + + """ + + def nbasis(t: float): + span = N.find_span(t) + front = span - p + back = count + p + 1 - span + for basis in N.basis_funcs_derivatives(span, t, n=1): + yield [0.0] * front + basis + [0.0] * back + + p = degree + n = len(fit_points) - 1 + knots = double_knots(n, p, t_vector) + count = len(fit_points) * 2 + N = Basis(knots=knots, order=p + 1, count=count) + A = [ + [1.0] + [0.0] * (count - 1), # Q0 + [-1.0, +1.0] + [0.0] * (count - 2), # D0 + ] + ncols = len(A[0]) + for f in (nbasis(t) for t in t_vector[1:-1]): + A.extend([row[:ncols] for row in f]) # Qi, Di + # swapped equations! + A.append([0.0] * (count - 2) + [-1.0, +1.0]) # Dn + A.append([0.0] * (count - 1) + [+1.0]) # Qn + assert len(set(len(row) for row in A)) == 1, "inhomogeneous matrix detected" + + # Build right handed matrix B + B: list[Vec3] = [] + for rows in zip(fit_points, derivatives): + B.extend(rows) # Qi, Di + + # also swap last rows! + B[-1], B[-2] = B[-2], B[-1] # Dn, Qn + + # modify equation for derivatives D0 and Dn + B[1] *= knots[p + 1] / p + B[-2] *= (1.0 - knots[-(p + 2)]) / p + solver = _get_best_solver(A, degree) + control_points = solver.solve_matrix(B) + return Vec3.list(control_points.rows()), knots + + +def local_cubic_bspline_interpolation_from_tangents( + fit_points: list[Vec3], tangents: list[Vec3] +) -> tuple[list[Vec3], list[float]]: + """Interpolates the control points for a cubic B-spline by local + interpolation from fit points and tangents as unit vectors for each fit + point. Use the :func:`estimate_tangents` function to estimate end tangents. + + Source: Piegl & Tiller: "The NURBS Book" - chapter 9.3.4 + + Args: + fit_points: curve definition points - curve has to pass all given fit + points + tangents: one tangent vector for each fit point as unit vectors + + Returns: + 2-tuple of control points as list of Vec3 objects and the knot vector + as list of floats + + """ + assert len(fit_points) == len(tangents) + assert len(fit_points) > 2 + + degree = 3 + order = degree + 1 + control_points = [fit_points[0]] + u = 0.0 + params = [] + for i in range(len(fit_points) - 1): + p0 = fit_points[i] + p3 = fit_points[i + 1] + t0 = tangents[i] + t3 = tangents[i + 1] + a = 16.0 - (t0 + t3).magnitude_square # always > 0! + b = 12.0 * (p3 - p0).dot(t0 + t3) + c = -36.0 * (p3 - p0).magnitude_square + try: + alpha_plus, alpha_minus = linalg.quadratic_equation(a, b, c) + except ValueError: # complex solution + continue + p1 = p0 + alpha_plus * t0 / 3.0 + p2 = p3 - alpha_plus * t3 / 3.0 + control_points.extend((p1, p2)) + u += 3.0 * (p1 - p0).magnitude + params.append(u) + control_points.append(fit_points[-1]) + + knots = [0.0] * order + max_u = params[-1] + for v in params[:-1]: + knot = v / max_u + knots.extend((knot, knot)) + knots.extend([1.0] * 4) + + assert len(knots) == required_knot_values(len(control_points), order) + return control_points, knots + + +class BSpline: + """B-spline construction tool. + + Internal representation of a `B-spline`_ curve. The default configuration + of the knot vector is a uniform open `knot`_ vector ("clamped"). + + Factory functions: + + - :func:`fit_points_to_cad_cv` + - :func:`fit_points_to_cubic_bezier` + - :func:`open_uniform_bspline` + - :func:`closed_uniform_bspline` + - :func:`rational_bspline_from_arc` + - :func:`rational_bspline_from_ellipse` + - :func:`global_bspline_interpolation` + - :func:`local_cubic_bspline_interpolation` + + Args: + control_points: iterable of control points as :class:`Vec3` compatible + objects + order: spline order (degree + 1) + knots: iterable of knot values + weights: iterable of weight values + + """ + + __slots__ = ("_control_points", "_basis", "_clamped") + + def __init__( + self, + control_points: Iterable[UVec], + order: int = 4, + knots: Optional[Iterable[float]] = None, + weights: Optional[Iterable[float]] = None, + ): + self._control_points = Vec3.tuple(control_points) + count = len(self._control_points) + order = int(order) + if order > count: + raise DXFValueError( + f"got {count} control points, need {order} or more for order of {order}" + ) + + if knots is None: + knots = open_uniform_knot_vector(count, order, normalize=True) + else: + knots = tuple(knots) + required_knot_count = count + order + if len(knots) != required_knot_count: + raise ValueError( + f"{required_knot_count} knot values required, got {len(knots)}." + ) + if knots[0] != 0.0: + knots = normalize_knots(knots) + self._basis = Basis(knots, order, count, weights=weights) + self._clamped = len(set(knots[:order])) == 1 and len(set(knots[-order:])) == 1 + + def __str__(self): + return ( + f"BSpline degree={self.degree}, {self.count} " + f"control points, {len(self.knots())} knot values, " + f"{len(self.weights())} weights" + ) + + @property + def control_points(self) -> Sequence[Vec3]: + """Control points as tuple of :class:`~ezdxf.math.Vec3`""" + return self._control_points + + @property + def count(self) -> int: + """Count of control points, (n + 1 in text book notation).""" + return len(self._control_points) + + @property + def max_t(self) -> float: + """Biggest `knot`_ value.""" + return self._basis.max_t + + @property + def order(self) -> int: + """Order (k) of B-spline = p + 1""" + return self._basis.order + + @property + def degree(self) -> int: + """Degree (p) of B-spline = order - 1""" + return self._basis.degree + + @property + def evaluator(self) -> Evaluator: + return Evaluator(self._basis, self._control_points) + + @property + def is_rational(self): + """Returns ``True`` if curve is a rational B-spline. (has weights)""" + return self._basis.is_rational + + @property + def is_clamped(self): + """Returns ``True`` if curve is a clamped (open) B-spline.""" + return self._clamped + + @staticmethod + def from_fit_points(points: Iterable[UVec], degree=3, method="chord") -> BSpline: + """Returns :class:`BSpline` defined by fit points.""" + return global_bspline_interpolation(points, degree, method=method) + + @staticmethod + def ellipse_approximation(ellipse: ConstructionEllipse, num: int = 16) -> BSpline: + """Returns an ellipse approximation as :class:`BSpline` with `num` + control points. + + """ + return global_bspline_interpolation( + ellipse.vertices(ellipse.params(num)), degree=2 + ) + + @staticmethod + def arc_approximation(arc: ConstructionArc, num: int = 16) -> BSpline: + """Returns an arc approximation as :class:`BSpline` with `num` + control points. + + """ + return global_bspline_interpolation(arc.vertices(arc.angles(num)), degree=2) + + @staticmethod + def from_ellipse(ellipse: ConstructionEllipse) -> BSpline: + """Returns the ellipse as :class:`BSpline` of 2nd degree with as few + control points as possible. + + """ + return rational_bspline_from_ellipse(ellipse, segments=1) + + @staticmethod + def from_arc(arc: ConstructionArc) -> BSpline: + """Returns the arc as :class:`BSpline` of 2nd degree with as few control + points as possible. + + """ + return rational_bspline_from_arc( + arc.center, arc.radius, arc.start_angle, arc.end_angle, segments=1 + ) + + @staticmethod + def from_nurbs_python_curve(curve) -> BSpline: + """Interface to the `NURBS-Python `_ + package. + + Returns a :class:`BSpline` object from a :class:`geomdl.BSpline.Curve` + object. + + """ + return BSpline( + control_points=curve.ctrlpts, + order=curve.order, + knots=curve.knotvector, + weights=curve.weights, + ) + + def reverse(self) -> BSpline: + """Returns a new :class:`BSpline` object with reversed control point + order. + + """ + + def reverse_knots(): + for k in reversed(normalize_knots(self.knots())): + yield 1.0 - k + + return self.__class__( + control_points=reversed(self.control_points), + order=self.order, + knots=reverse_knots(), + weights=reversed(self.weights()) if self.is_rational else None, + ) + + def knots(self) -> Sequence[float]: + """Returns a tuple of `knot`_ values as floats, the knot vector + **always** has order + count values (n + p + 2 in text book notation). + + """ + return self._basis.knots + + def weights(self) -> Sequence[float]: + """Returns a tuple of weights values as floats, one for each control + point or an empty tuple. + + """ + return self._basis.weights + + def approximate(self, segments: int = 20) -> Iterable[Vec3]: + """Approximates curve by vertices as :class:`Vec3` objects, vertices + count = segments + 1. + + """ + return self.evaluator.points(self.params(segments)) + + def params(self, segments: int) -> Iterable[float]: + """Yield evenly spaced parameters for given segment count.""" + # works for clamped and unclamped curves + knots = self.knots() + lower_bound = knots[self.order - 1] + upper_bound = knots[self.count] + return np.linspace(lower_bound, upper_bound, segments + 1) + + def flattening(self, distance: float, segments: int = 4) -> Iterator[Vec3]: + """Adaptive recursive flattening. The argument `segments` is the + minimum count of approximation segments between two knots, if the + distance from the center of the approximation segment to the curve is + bigger than `distance` the segment will be subdivided. + + Args: + distance: maximum distance from the projected curve point onto the + segment chord. + segments: minimum segment count between two knots + + """ + + def subdiv(s: Vec3, e: Vec3, start_t: float, end_t: float): + mid_t = (start_t + end_t) * 0.5 + m = evaluator.point(mid_t) + try: + _dist = distance_point_line_3d(m, s, e) + except ZeroDivisionError: # s == e + _dist = 0 + if _dist < distance: + yield e + else: + yield from subdiv(s, m, start_t, mid_t) + yield from subdiv(m, e, mid_t, end_t) + + evaluator = self.evaluator + knots = np.unique(np.array(self.knots())) + seg_f64 = np.float64(segments) + t = knots[0] + start_point = evaluator.point(t) + yield start_point + for t1 in knots[1:]: + delta = (t1 - t) / seg_f64 + while t < t1: + next_t = t + delta + if np.isclose(next_t, t1): + next_t = t1 + end_point = evaluator.point(next_t) + yield from subdiv(start_point, end_point, t, next_t) + t = next_t + start_point = end_point + + def point(self, t: float) -> Vec3: + """Returns point for parameter `t`. + + Args: + t: parameter in range [0, max_t] + + """ + return self.evaluator.point(t) + + def points(self, t: Iterable[float]) -> Iterable[Vec3]: + """Yields points for parameter vector `t`. + + Args: + t: parameters in range [0, max_t] + + """ + return self.evaluator.points(t) + + def derivative(self, t: float, n: int = 2) -> list[Vec3]: + """Return point and derivatives up to `n` <= degree for parameter `t`. + + e.g. n=1 returns point and 1st derivative. + + Args: + t: parameter in range [0, max_t] + n: compute all derivatives up to n <= degree + + Returns: + n+1 values as :class:`Vec3` objects + + """ + return self.evaluator.derivative(t, n) + + def derivatives(self, t: Iterable[float], n: int = 2) -> Iterable[list[Vec3]]: + """Yields points and derivatives up to `n` <= degree for parameter + vector `t`. + + e.g. n=1 returns point and 1st derivative. + + Args: + t: parameters in range [0, max_t] + n: compute all derivatives up to n <= degree + + Returns: + List of n+1 values as :class:`Vec3` objects + + """ + return self.evaluator.derivatives(t, n) + + def insert_knot(self, t: float) -> BSpline: + """Insert an additional knot, without altering the shape of the curve. + Returns a new :class:`BSpline` object. + + Args: + t: position of new knot 0 < t < max_t + + """ + if self._basis.is_rational: + return self._insert_knot_rational(t) + + knots = list(self._basis.knots) + cpoints = list(self._control_points) + p = self.degree + + def new_point(index: int) -> Vec3: + a = (t - knots[index]) / (knots[index + p] - knots[index]) + return cpoints[index - 1] * (1 - a) + cpoints[index] * a + + if t <= 0.0 or t >= self.max_t: + raise DXFValueError("Invalid position t") + + k = self._basis.find_span(t) + if k < p: + raise DXFValueError("Invalid position t") + + cpoints[k - p + 1 : k] = [new_point(i) for i in range(k - p + 1, k + 1)] + knots.insert(k + 1, t) # knot[k] <= t < knot[k+1] + return BSpline(cpoints, self.order, knots) + + def _insert_knot_rational(self, t: float) -> BSpline: + """Knot insertion for rational B-splines.""" + if not self._basis.is_rational: + raise TypeError("Requires a rational B-splines.") + + knots: list[float] = list(self._basis.knots) + # homogeneous point representation: (x*w, y*w, z*w, w) + hg_points: np.typing.NDArray = to_homogeneous_points(self) + p: int = self.degree + + def new_point(index: int) -> np.typing.NDArray: + a: float = (t - knots[index]) / (knots[index + p] - knots[index]) + return hg_points[index - 1] * (1 - a) + hg_points[index] * a + + if t <= 0.0 or t >= self.max_t: + raise DXFValueError("Invalid position t") + + k: int = self._basis.find_span(t) + if k < p: + raise DXFValueError("Invalid position t") + new_points: Any = hg_points.tolist() + new_points[k - p + 1 : k] = [new_point(i) for i in range(k - p + 1, k + 1)] + + points, weights = from_homogeneous_points(new_points) + knots.insert(k + 1, t) # knot[k] <= t < knot[k+1] + return BSpline(points, self.order, knots=knots, weights=weights) + + def knot_refinement(self, u: Iterable[float]) -> BSpline: + """Insert multiple knots, without altering the shape of the curve. + Returns a new :class:`BSpline` object. + + Args: + u: vector of new knots t and for each t: 0 < t < max_t + + """ + spline = self + for t in u: + spline = spline.insert_knot(t) + return spline + + def transform(self, m: Matrix44) -> BSpline: + """Returns a new :class:`BSpline` object transformed by a + :class:`Matrix44` transformation matrix. + + """ + cpoints = m.transform_vertices(self.control_points) + return BSpline(cpoints, self.order, self.knots(), self.weights()) + + def bezier_decomposition(self) -> Iterable[list[Vec3]]: + """Decompose a non-rational B-spline into multiple Bézier curves. + + This is the preferred method to represent the most common non-rational + B-splines of 3rd degree by cubic Bézier curves, which are often supported + by render backends. + + Returns: + Yields control points of Bézier curves, each Bézier segment + has degree+1 control points e.g. B-spline of 3rd degree yields + cubic Bézier curves of 4 control points. + + """ + # Source: "The NURBS Book": Algorithm A5.6 + if self._basis.is_rational: + raise TypeError("Rational B-splines not supported.") + if not self.is_clamped: + raise TypeError("Clamped B-Spline required.") + + n = self.count - 1 + p = self.degree + knots = self._basis.knots # U + control_points = self._control_points # Pw + alphas = [0.0] * len(knots) + + m = n + p + 1 + a = p + b = p + 1 + bezier_points = list(control_points[0 : p + 1]) # Qw + + while b < m: + next_bezier_points = [NULLVEC] * (p + 1) + i = b + while b < m and math.isclose(knots[b + 1], knots[b]): + b += 1 + mult = b - i + 1 + if mult < p: + numer = knots[b] - knots[a] + for j in range(p, mult, -1): + alphas[j - mult - 1] = numer / (knots[a + j] - knots[a]) + r = p - mult + for j in range(1, r + 1): + save = r - j + s = mult + j + for k in range(p, s - 1, -1): + alpha = alphas[k - s] + bezier_points[k] = bezier_points[k] * alpha + bezier_points[ + k - 1 + ] * (1.0 - alpha) + if b < m: + next_bezier_points[save] = bezier_points[p] + yield bezier_points + + if b < m: + for i in range(p - mult, p + 1): + next_bezier_points[i] = control_points[b - p + i] + a = b + b += 1 + bezier_points = next_bezier_points + + def cubic_bezier_approximation( + self, level: int = 3, segments: Optional[int] = None + ) -> Iterable[Bezier4P]: + """Approximate arbitrary B-splines (degree != 3 and/or rational) by + multiple segments of cubic Bézier curves. The choice of cubic Bézier + curves is based on the widely support of this curves by many render + backends. For cubic non-rational B-splines, which is maybe the most + common used B-spline, is :meth:`bezier_decomposition` the better choice. + + 1. approximation by `level`: an educated guess, the first level of + approximation segments is based on the count of control points + and their distribution along the B-spline, every additional level + is a subdivision of the previous level. + + E.g. a B-Spline of 8 control points has 7 segments at the first level, + 14 at the 2nd level and 28 at the 3rd level, a level >= 3 is recommended. + + 2. approximation by a given count of evenly distributed approximation + segments. + + Args: + level: subdivision level of approximation segments (ignored if + argument `segments` is not ``None``) + segments: absolute count of approximation segments + + Returns: + Yields control points of cubic Bézier curves as :class:`Bezier4P` + objects + + """ + if segments is None: + points = list(self.points(self.approximation_params(level))) + else: + points = list(self.approximate(segments)) + from .bezier_interpolation import cubic_bezier_interpolation + + return cubic_bezier_interpolation(points) + + def approximation_params(self, level: int = 3) -> Sequence[float]: + """Returns an educated guess, the first level of approximation + segments is based on the count of control points and their distribution + along the B-spline, every additional level is a subdivision of the + previous level. + + E.g. a B-Spline of 8 control points has 7 segments at the first level, + 14 at the 2nd level and 28 at the 3rd level. + + """ + params = list(create_t_vector(self._control_points, "chord")) + if len(params) == 0: + return params + if self.max_t != 1.0: + max_t = self.max_t + params = [p * max_t for p in params] + for _ in range(level - 1): + params = list(subdivide_params(params)) + return params + + def degree_elevation(self, t: int) -> BSpline: + """Returns a new :class:`BSpline` with a t-times elevated degree. + + Degree elevation increases the degree of a curve without changing the shape of the + curve. This method implements the algorithm A5.9 of the "The NURBS Book" by + Piegl & Tiller. + + .. versionadded:: 1.4 + + """ + return degree_elevation(self, t) + + def point_inversion( + self, point: UVec, *, epsilon=1e-8, max_iterations=100, init=8 + ) -> float: + """Returns the parameter t for a point on the curve that is closest to the input + point. + + This is an iterative search using Newton's method, so there is no guarantee + of success, especially for splines with many turns. + + Args: + point(UVec): point on the curve or near the curve + epsilon(float): desired precision (distance input point to point on curve) + max_iterations(int): max iterations for Newton's method + init(int): number of points to calculate in the initialization phase + + .. versionadded:: 1.4 + + """ + return point_inversion( + self, Vec3(point), epsilon=epsilon, max_iterations=max_iterations, init=init + ) + + def measure(self, segments: int = 100) -> Measurement: + """Returns a B-spline measurement tool. + + All measurements are based on the approximated curve. + + Args: + segments: count of segments for B-spline approximation. + + .. versionadded:: 1.4 + + """ + return Measurement(self, segments) + + def split(self, t: float) -> tuple[BSpline, BSpline]: + """Splits the B-spline at parameter `t` and returns two new B-splines. + + Raises: + ValuerError: t out of range 0 < t < max_t + + .. versionadded:: 1.4 + + """ + + return split_bspline(self, t) + + +def subdivide_params(p: list[float]) -> Iterable[float]: + for i in range(len(p) - 1): + yield p[i] + yield (p[i] + p[i + 1]) / 2.0 + yield p[-1] + + +def open_uniform_bspline( + control_points: Iterable[UVec], + order: int = 4, + weights: Optional[Iterable[float]] = None, +) -> BSpline: + """Creates an open uniform (periodic) `B-spline`_ curve (`open curve`_). + + This is an unclamped curve, which means the curve passes none of the + control points. + + Args: + control_points: iterable of control points as :class:`Vec3` compatible + objects + order: spline order (degree + 1) + weights: iterable of weight values + + """ + _control_points = Vec3.tuple(control_points) + knots = uniform_knot_vector(len(_control_points), order, normalize=False) + return BSpline(control_points, order=order, knots=knots, weights=weights) + + +def closed_uniform_bspline( + control_points: Iterable[UVec], + order: int = 4, + weights: Optional[Iterable[float]] = None, +) -> BSpline: + """Creates a closed uniform (periodic) `B-spline`_ curve (`open curve`_). + + This B-spline does not pass any of the control points. + + Args: + control_points: iterable of control points as :class:`Vec3` compatible + objects + order: spline order (degree + 1) + weights: iterable of weight values + + """ + _control_points = Vec3.list(control_points) + _control_points.extend(_control_points[: order - 1]) + if weights is not None: + weights = list(weights) + weights.extend(weights[: order - 1]) + return open_uniform_bspline(_control_points, order, weights) + + +def rational_bspline_from_arc( + center: Vec3 = (0, 0), + radius: float = 1, + start_angle: float = 0, + end_angle: float = 360, + segments: int = 1, +) -> BSpline: + """Returns a rational B-splines for a circular 2D arc. + + Args: + center: circle center as :class:`Vec3` compatible object + radius: circle radius + start_angle: start angle in degrees + end_angle: end angle in degrees + segments: count of spline segments, at least one segment for each + quarter (90 deg), default is 1, for as few as needed. + + """ + center = Vec3(center) + radius = float(radius) + + start_rad = math.radians(start_angle % 360) + end_rad = start_rad + math.radians(arc_angle_span_deg(start_angle, end_angle)) + control_points, weights, knots = nurbs_arc_parameters(start_rad, end_rad, segments) + return BSpline( + control_points=(center + (p * radius) for p in control_points), + weights=weights, + knots=knots, + order=3, + ) + + +PI_2 = math.pi / 2.0 + + +def rational_bspline_from_ellipse( + ellipse: ConstructionEllipse, segments: int = 1 +) -> BSpline: + """Returns a rational B-splines for an elliptic arc. + + Args: + ellipse: ellipse parameters as :class:`~ezdxf.math.ConstructionEllipse` + object + segments: count of spline segments, at least one segment for each + quarter (π/2), default is 1, for as few as needed. + + """ + start_angle = ellipse.start_param % math.tau + end_angle = start_angle + ellipse.param_span + + def transform_control_points() -> Iterable[Vec3]: + center = Vec3(ellipse.center) + x_axis = ellipse.major_axis + y_axis = ellipse.minor_axis + for p in control_points: + yield center + x_axis * p.x + y_axis * p.y + + control_points, weights, knots = nurbs_arc_parameters( + start_angle, end_angle, segments + ) + return BSpline( + control_points=transform_control_points(), + weights=weights, + knots=knots, + order=3, + ) + + +def nurbs_arc_parameters(start_angle: float, end_angle: float, segments: int = 1): + """Returns a rational B-spline parameters for a circular 2D arc with center + at (0, 0) and a radius of 1. + + Args: + start_angle: start angle in radians + end_angle: end angle in radians + segments: count of segments, at least one segment for each quarter (π/2) + + Returns: + control_points, weights, knots + + """ + # Source: https://www.researchgate.net/publication/283497458_ONE_METHOD_FOR_REPRESENTING_AN_ARC_OF_ELLIPSE_BY_A_NURBS_CURVE/citation/download + if segments < 1: + raise ValueError("Invalid argument segments (>= 1).") + delta_angle = end_angle - start_angle + arc_count = max(math.ceil(delta_angle / PI_2), segments) + + segment_angle = delta_angle / arc_count + segment_angle_2 = segment_angle / 2 + arc_weight = math.cos(segment_angle_2) + + # First control point + control_points = [Vec3(math.cos(start_angle), math.sin(start_angle))] + weights = [1.0] + + angle = start_angle + d = 1.0 / math.cos(segment_angle / 2.0) + for _ in range(arc_count): + # next control point between points on arc + angle += segment_angle_2 + control_points.append(Vec3(math.cos(angle) * d, math.sin(angle) * d)) + weights.append(arc_weight) + + # next control point on arc + angle += segment_angle_2 + control_points.append(Vec3(math.cos(angle), math.sin(angle))) + weights.append(1.0) + + # Knot vector calculation for B-spline of order=3 + # Clamped B-Spline starts with `order` 0.0 knots and + # ends with `order` 1.0 knots + knots = [0.0, 0.0, 0.0] + step = 1.0 / ((max(len(control_points) + 1, 4) - 4) / 2.0 + 1.0) + g = step + while g < 1.0: + knots.extend((g, g)) + g += step + knots.extend([1.0] * (required_knot_values(len(control_points), 3) - len(knots))) + + return control_points, weights, knots + + +def bspline_basis(u: float, index: int, degree: int, knots: Sequence[float]) -> float: + """B-spline basis_vector function. + + Simple recursive implementation for testing and comparison. + + Args: + u: curve parameter in range [0, max(knots)] + index: index of control point + degree: degree of B-spline + knots: knots vector + + Returns: + float: basis_vector value N_i,p(u) + + """ + cache: dict[tuple[int, int], float] = {} + u = float(u) + + def N(i: int, p: int) -> float: + try: + return cache[(i, p)] + except KeyError: + if p == 0: + retval = 1 if knots[i] <= u < knots[i + 1] else 0.0 + else: + dominator = knots[i + p] - knots[i] + f1 = (u - knots[i]) / dominator * N(i, p - 1) if dominator else 0.0 + + dominator = knots[i + p + 1] - knots[i + 1] + f2 = ( + (knots[i + p + 1] - u) / dominator * N(i + 1, p - 1) + if dominator + else 0.0 + ) + + retval = f1 + f2 + cache[(i, p)] = retval + return retval + + return N(int(index), int(degree)) + + +def bspline_basis_vector( + u: float, count: int, degree: int, knots: Sequence[float] +) -> list[float]: + """Create basis_vector vector at parameter u. + + Used with the bspline_basis() for testing and comparison. + + Args: + u: curve parameter in range [0, max(knots)] + count: control point count (n + 1) + degree: degree of B-spline (order = degree + 1) + knots: knot vector + + Returns: + list[float]: basis_vector vector, len(basis_vector) == count + + """ + assert len(knots) == (count + degree + 1) + basis: list[float] = [ + bspline_basis(u, index, degree, knots) for index in range(count) + ] + # pick up last point ??? why is this necessary ??? + if math.isclose(u, knots[-1]): + basis[-1] = 1.0 + return basis + + +@no_type_check +def degree_elevation(spline: BSpline, t: int) -> BSpline: + """Returns a new :class:`BSpline` with a t-times elevated degree. + + Degree elevation increases the degree of a curve without changing the shape of the + curve. This function implements the algorithm A5.9 of the "The NURBS Book" by + Piegl & Tiller. + + .. versionadded:: 1.4 + + """ + # Naming and structure have been retained to facilitate comparison with the original + # algorithm during debugging. + t = int(t) + if t < 1: + return spline + p = spline.degree # degree of spline + # Pw: control points + if spline.is_rational: + # homogeneous point representation (x*w, y*w, z*w, w) + dim = 4 + Pw = to_homogeneous_points(spline) + else: + # non-rational splines: (x, y, z) + dim = 3 + Pw = np.array(spline.control_points) + + # knot vector: + U = np.array(spline.knots()) + + # n + 1: count of control points (text book definition) + n = len(Pw) - 1 + m = n + p + 1 + ph = p + t + ph2 = ph // 2 + + # control points of the elevated B-spline + Qw = np.zeros(shape=(len(Pw) * (2 + t), dim)) # size not known yet??? + + # knot vector of the elevated B-spline + Uh = np.zeros(m * (2 + t)) # size not known yet??? + + # coefficients for degree elevating the Bezier segments + bezalfs = np.zeros(shape=(p + t + 1, p + 1)) + + # Bezier control points of the current segment + bpts = np.zeros(shape=(p + 1, dim)) + + # (p+t)th-degree Bezier control points of the current segment + ebpts = np.zeros(shape=(p + t + 1, dim)) + + # leftmost control points of the next Bezier segment + Nextbpts = np.zeros(shape=(p - 1, dim)) + + # knot insertion alphas + alfs = np.zeros(p - 1) + bezalfs[0, 0] = 1.0 + bezalfs[ph, p] = 1.0 + binom = linalg.binomial_coefficient + for i in range(1, ph2 + 1): + inv = 1.0 / binom(ph, i) + mpi = min(p, i) + for j in range(max(0, i - t), mpi + 1): + bezalfs[i, j] = inv * binom(p, j) * binom(t, i - j) + for i in range(ph2 + 1, ph): + mpi = min(p, i) + for j in range(max(0, i - t), mpi + 1): + bezalfs[i, j] = bezalfs[ph - i, p - j] + mh = ph + kind = ph + 1 + r = -1 + a = p + b = p + 1 + cind = 1 + ua = U[0] + Qw[0] = Pw[0] + + # for i in range(0, ph + 1): + # Uh[i] = ua + Uh[: ph + 1] = ua + + # for i in range(0, p + 1): + # bpts[i] = Pw[i] + # initialize first Bezier segment + bpts[: p + 1] = Pw[: p + 1] + + while b < m: # big loop thru knot vector + i = b + while (b < m) and (math.isclose(U[b], U[b + 1])): + b += 1 + mul = b - i + 1 + mh = mh + mul + t + ub = U[b] + oldr = r + r = p - mul + # insert knot u(b) r-times + if oldr > 0: + lbz = (oldr + 2) // 2 + else: + lbz = 1 + if r > 0: + rbz = ph - (r + 1) // 2 + else: + rbz = ph + if r > 0: + # insert knot to get Bezier segment + numer = ub - ua + for k in range(p, mul, -1): + alfs[k - mul - 1] = numer / (U[a + k] - ua) + for j in range(1, r + 1): + save = r - j + s = mul + j + for k in range(p, s - 1, -1): + bpts[k] = alfs[k - s] * bpts[k] + (1.0 - alfs[k - s]) * bpts[k - 1] + Nextbpts[save] = bpts[p] + # end of insert knot + for i in range(lbz, ph + 1): + # degree elevate bezier + # only points lbz, .. ,ph are used below + ebpts[i] = 0.0 + mpi = min(p, i) + for j in range(max(0, i - t), mpi + 1): + ebpts[i] = ebpts[i] + bezalfs[i, j] * bpts[j] + # end degree elevate bezier + if oldr > 1: + # must remove knot u=U[a] oldr times + first = kind - 2 + last = kind + den = ub - ua + bet = (ub - Uh[kind - 1]) / den + for tr in range(1, oldr): + # knot removal loop + i = first + j = last + kj = j - kind + 1 + while j - i > tr: + # loop and compute new control points for one removal step + if i < cind: + alf = (ub - Uh[i]) / (ua - Uh[i]) + Qw[i] = alf * Qw[i] + (1.0 - alf) * Qw[i - 1] + if j >= lbz: + if j - tr <= kind - ph + oldr: + gam = (ub - Uh[j - tr]) / den + ebpts[kj] = gam * ebpts[kj] + (1.0 - gam) * ebpts[kj + 1] + else: + ebpts[kj] = bet * ebpts[kj] + (1.0 - bet) * ebpts[kj + 1] + i += 1 + j -= 1 + kj -= 1 + first -= 1 + last += 1 + # end of removing knot, u=U[a] + if a != p: + # load the knot ua + # for i in range(0, ph - oldr): + # Uh[kind] = ua + i = ph - oldr + Uh[kind : kind + i] = ua + kind += i + for j in range(lbz, rbz + 1): + # load control points into Qw + Qw[cind] = ebpts[j] + cind += 1 + if b < m: + # set up for next pass thru loop + # for j in range(0, r): + # bpts[j] = Nextbpts[j] + bpts[:r] = Nextbpts[:r] + # for j in range(r, p + 1): + # bpts[j] = Pw[b - p + j] + bpts[r : p + 1] = Pw[b - p + r : b + 1] + a = b + b += 1 + ua = ub + else: # end knot + # for i in range(0, ph + 1): + # Uh[kind + i] = ub + Uh[kind : kind + ph + 1] = ub + + nh = mh - ph - 1 + count_cpts = nh + 1 # text book n+1 == count of control points + order = ph + 1 + + weights = None + cpoints = Qw[:count_cpts, :3] + if dim == 4: + # homogeneous point representation (x*w, y*w, z*w, w) + weights = Qw[:count_cpts, 3] + cpoints = [p / w for p, w in zip(cpoints, weights)] + # if weights: ... not supported for numpy arrays + weights = weights.tolist() + return BSpline( + cpoints, order=order, weights=weights, knots=Uh[: count_cpts + order] + ) + + +def to_homogeneous_points(spline: BSpline) -> np.typing.NDArray: + weights = np.array(spline.weights(), dtype=np.float64) + if not len(weights): + weights = np.ones(spline.count) + + return np.array( + [(v.x * w, v.y * w, v.z * w, w) for v, w in zip(spline.control_points, weights)] + ) + + +def from_homogeneous_points( + hg_points: Iterable[Sequence[float]], +) -> tuple[list[Vec3], list[float]]: + points: list[Vec3] = [] + weights: list[float] = [] + for point in hg_points: + w = float(point[3]) + points.append(Vec3(point[:3]) / w) + weights.append(w) + return points, weights + + +def point_inversion( + spline: BSpline, point: Vec3, *, epsilon=1e-8, max_iterations=100, init=8 +) -> float: + """Returns the parameter t for a point on the curve that is closest to the input + point. + + This is an iterative search using Newton's method, so there is no guarantee + of success, especially for splines with many turns. + + Args: + spline(BSpline): curve + point(Vec3): point on the curve or near the curve + epsilon(float): desired precision (distance input point to point on curve) + max_iterations(int): max iterations for Newton's method + init(int): number of points to calculate in the initialization phase + + .. versionadded:: 1.4 + + """ + max_t = spline.max_t + prev_distance = float("inf") + u = max_t / 2 + + # Initialization phase + t = np.linspace(0, max_t, init, endpoint=True) + chk_points = list(spline.points(t)) + for u1, p in zip(t, chk_points): + distance = point.distance(p) + if distance < prev_distance: + u = float(u1) + prev_distance = distance + + no_progress_counter: int = 0 + for iteration in range(max_iterations): + # Evaluate the B-spline curve at the current parameter value + p, dpdu = spline.derivative(u, n=1) + + # Calculate the difference between the current point and the target point + diff = p - point + + # Check if the difference is within the desired epsilon + distance = diff.magnitude + if distance < epsilon: + break # goal reached + if math.isclose(prev_distance, distance): + no_progress_counter += 1 + if no_progress_counter > 2: + break + else: + no_progress_counter = 0 + prev_distance = distance + + # Update the parameter value using Newton's method + u -= diff.dot(dpdu) / dpdu.dot(dpdu) + + # Clamp the parameter value within the valid range + if u < 0.0: + u = 0.0 + elif u > max_t: + u = max_t + return u + + +class Measurement: + """B-spline measurement tool. + + All measurements are based on the approximated curve. + + .. versionadded:: 1.4 + + """ + + def __init__(self, spline: BSpline, segments: int) -> None: + if not isinstance(spline, BSpline): + raise TypeError(f"BSpline instance expected, got {type(spline)}") + segments = int(segments) + if segments < 1: + raise ValueError(f"invalid segment count: {segments}") + self._spline = spline + self._parameters = np.linspace(0.0, spline.max_t, segments + 1, endpoint=True) + points = list(self._spline.points(self._parameters)) + bbox = BoundingBox(points) + self.extmin = bbox.extmin + self.extmax = bbox.extmax + self._distances = self._measure(points) # distance between points + self._offsets = np.cumsum(self._distances) # distance along curve from start + + @staticmethod + def _measure(points: list[Vec3]) -> np.typing.NDArray: + prev = points[0] + distances = np.zeros(len(points), dtype=np.float64) + for index, point in enumerate(points): + distances[index] = prev.distance(point) + prev = point + return distances + + @property + def length(self) -> float: + """Returns the approximated length of the B-spline.""" + return float(self._offsets[-1]) + + def distance(self, t: float) -> float: + """Returns the distance along the curve from the start point for then given + parameter t. + """ + if t <= 0.0: + return 0.0 + if t >= self._spline.max_t: + return self.length + params = self._parameters + index = np.searchsorted(params, t, side="right") + t1 = params[index] + t2 = params[index + 1] + distance = self._distances[index + 1] * (t - t1) / (t2 - t1) + return float(self._offsets[index] + distance) + + def param_at(self, distance: float) -> float: + """Returns the parameter t for a given distance along the curve from the + start point. + """ + index = np.searchsorted(self._offsets, distance, side="right") + if index <= 0: + return 0.0 + params = self._parameters + if index >= len(params): + return self._spline.max_t + prev = index - 1 + prev_distance = distance - self._offsets[prev] + t1 = params[prev] + t2 = params[index] + return float(t1 + (t2 - t1) * (prev_distance / self._distances[index])) + + def divide(self, count: int) -> list[float]: + """Returns the interpolated B-spline parameters for dividing the curve into + `count` segments of equal length. + + The method yields only the dividing parameters, the first (0.0) and last parameter + (max_t) are not included e.g. dividing a B-spline by 3 yields two parameters + [t1, t2] that divides the B-spline into 3 parts of equal length. + + """ + if count < 1: + raise ValueError(f"invalid count: {count}") + total_length: float = self.length + seg_length = total_length / count + distance = seg_length + max_t = self._spline.max_t + result: list[float] = [] + while distance < total_length: + t = self.param_at(distance) + if not math.isclose(max_t, t): + result.append(t) + distance += seg_length + return result + + +def split_bspline(spline: BSpline, t: float) -> tuple[BSpline, BSpline]: + """Splits a B-spline at a parameter t. + + Raises: + ValuerError: t out of range 0 < t < max_t + + .. versionadded:: 1.4 + + """ + tol = 1e-12 + if t < tol: + raise ValueError("t must be greater than 0") + if t > spline.max_t - tol: + raise ValueError("t must be smaller than max_t") + order = spline.order + + # Clamp spline at parameter t + u = np.full(order, t) + spline = spline.knot_refinement(u) + + knots = np.array(spline.knots(), dtype=np.float64) + # Determine the knot span + span = np.searchsorted(knots, t, side="right") + + # Calculate the new knot vector + knots1 = knots[:span] + knots2 = knots[span:] + + # Append the desired parameter value to the knot vector + knots2 = np.concatenate((u, knots2)) + + # Split control points + points = spline.control_points + split_index = len(knots1) - order + points1 = points[:split_index] + points2 = points[split_index:] + weights1: Sequence[float] = [] + weights2: Sequence[float] = [] + weights = spline.weights() + if len(weights): + weights1 = weights[:split_index] + weights2 = weights[split_index:] + return ( + BSpline(points1, order, knots=knots1, weights=weights1), + BSpline(points2, order, knots=knots2, weights=weights2), + ) + + +def round_knots(knots: list[float], tolerance: float) -> list[float]: + """Returns rounded knot-values. + + The `tolerance` defines the minimal difference between two knot values like 1e-9. + + """ + try: + ndigits = -int(math.log10(tolerance)) # e.g. log10(0.0001) = -4.0 + except ValueError: + return knots + if ndigits <= 0: + return knots + return [round(k, ndigits=ndigits) for k in knots] diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/math/bulge.py b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/math/bulge.py new file mode 100644 index 0000000000000000000000000000000000000000..81258ded4e7852662e90c2e79d20f645bff4b289 --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/math/bulge.py @@ -0,0 +1,191 @@ +# Copyright (c) 2018-2022 Manfred Moitzi +# License: MIT License +# source: http://www.lee-mac.com/bulgeconversion.html +# source: http://www.afralisp.net/archive/lisp/Bulges1.htm +from __future__ import annotations +from typing import Any +import math +from ezdxf.math import Vec2, UVec + + +__all__ = [ + "bulge_to_arc", + "bulge_3_points", + "bulge_center", + "bulge_radius", + "arc_to_bulge", + "bulge_from_radius_and_chord", + "bulge_from_arc_angle", +] + + +def polar(p: Any, angle: float, distance: float) -> Vec2: + """Returns the point at a specified `angle` and `distance` from point `p`. + + Args: + p: point as :class:`Vec2` compatible object + angle: angle in radians + distance: distance + + """ + return Vec2(p) + Vec2.from_angle(angle, distance) + + +def angle(p1: Any, p2: Any) -> float: + """Returns angle a line defined by two endpoints and x-axis in radians. + + Args: + p1: start point as :class:`Vec2` compatible object + p2: end point as :class:`Vec2` compatible object + + """ + return (Vec2(p2) - Vec2(p1)).angle + + +def arc_to_bulge( + center: UVec, start_angle: float, end_angle: float, radius: float +) -> tuple[Vec2, Vec2, float]: + """Returns bulge parameters from arc parameters. + + Args: + center: circle center point as :class:`Vec2` compatible object + start_angle: start angle in radians + end_angle: end angle in radians + radius: circle radius + + Returns: + tuple: (start_point, end_point, bulge) + + """ + start_point = polar(center, start_angle, radius) + end_point = polar(center, end_angle, radius) + pi2 = math.pi * 2 + a = math.fmod((pi2 + (end_angle - start_angle)), pi2) / 4.0 + bulge = math.sin(a) / math.cos(a) + return start_point, end_point, bulge + + +def bulge_3_points(start_point: UVec, end_point: UVec, point: UVec) -> float: + """Returns bulge value defined by three points. + + Based on 3-Points to Bulge by `Lee Mac`_. + + Args: + start_point: start point as :class:`Vec2` compatible object + end_point: end point as :class:`Vec2` compatible object + point: arbitrary point as :class:`Vec2` compatible object + + """ + a = (math.pi - angle(point, start_point) + angle(point, end_point)) / 2 + return math.sin(a) / math.cos(a) + + +def bulge_to_arc( + start_point: UVec, end_point: UVec, bulge: float +) -> tuple[Vec2, float, float, float]: + """Returns arc parameters from bulge parameters. + + The arcs defined by bulge values of :class:`~ezdxf.entities.LWPolyline` + and 2D :class:`~ezdxf.entities.Polyline` entities start at the vertex which + includes the bulge value and ends at the following vertex. + + .. important:: + + The return values always describe a counter-clockwise oriented arc, so for + clockwise arcs (negative bulge values) the start and end angles are swapped and + the arc starts at the `end_point` and ends at the `start_point`. + + Based on Bulge to Arc by `Lee Mac`_. + + Args: + start_point: start vertex as :class:`Vec2` compatible object + end_point: end vertex as :class:`Vec2` compatible object + bulge: bulge value + + Returns: + Tuple: (center, start_angle, end_angle, radius) + + """ + r = signed_bulge_radius(start_point, end_point, bulge) + a = angle(start_point, end_point) + (math.pi / 2 - math.atan(bulge) * 2) + c = polar(start_point, a, r) + if bulge < 0: + return c, angle(c, end_point), angle(c, start_point), abs(r) + else: + return c, angle(c, start_point), angle(c, end_point), abs(r) + + +def bulge_center(start_point: UVec, end_point: UVec, bulge: float) -> Vec2: + """Returns center of arc described by the given bulge parameters. + + Based on Bulge Center by `Lee Mac`_. + + Args: + start_point: start point as :class:`Vec2` compatible object + end_point: end point as :class:`Vec2` compatible object + bulge: bulge value as float + + + """ + start_point = Vec2(start_point) + a = angle(start_point, end_point) + (math.pi / 2.0 - math.atan(bulge) * 2.0) + return start_point + Vec2.from_angle( + a, signed_bulge_radius(start_point, end_point, bulge) + ) + + +def signed_bulge_radius( + start_point: UVec, end_point: UVec, bulge: float +) -> float: + return ( + Vec2(start_point).distance(Vec2(end_point)) + * (1.0 + (bulge * bulge)) + / 4.0 + / bulge + ) + + +def bulge_radius(start_point: UVec, end_point: UVec, bulge: float) -> float: + """Returns radius of arc defined by the given bulge parameters. + + Based on Bulge Radius by `Lee Mac`_ + + Args: + start_point: start point as :class:`Vec2` compatible object + end_point: end point as :class:`Vec2` compatible object + bulge: bulge value + + """ + return abs(signed_bulge_radius(start_point, end_point, bulge)) + + +def bulge_from_radius_and_chord(radius: float, chord: float) -> float: + """Returns the bulge value for the given arc radius and chord length. + Returns 0 if the radius is zero or the radius is too small for the given + chord length to create an arc. + + Args: + radius: arc radius + chord: chord length + + """ + # https://github.com/mozman/ezdxf/discussions/758 + try: + x = chord / (2.0 * radius) + except ZeroDivisionError: + return 0.0 + try: + return x / (1.0 + math.sqrt(1.0 - x * x)) + except ValueError: # domain error + return 0.0 + + +def bulge_from_arc_angle(angle: float) -> float: + """Returns the bulge value for the given arc angle. + + Args: + angle: arc angle in radians + + """ + # https://github.com/mozman/ezdxf/discussions/758 + return math.tan(angle / 4.0) diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/math/circle.py b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/math/circle.py new file mode 100644 index 0000000000000000000000000000000000000000..1f25a51ebc77b63ebe8bef1e4b2866fa10d22152 --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/math/circle.py @@ -0,0 +1,249 @@ +# Copyright (c) 2010-2024 Manfred Moitzi +# License: MIT License +from __future__ import annotations +from typing import Sequence, Iterator, Iterable +import math +import numpy as np + +from ezdxf.math import Vec2, UVec +from .line import ConstructionRay, ConstructionLine +from .bbox import BoundingBox2d + + +HALF_PI = math.pi / 2.0 + +__all__ = ["ConstructionCircle"] + + +class ConstructionCircle: + """Construction tool for 2D circles. + + Args: + center: center point as :class:`Vec2` compatible object + radius: circle radius > `0` + + """ + + def __init__(self, center: UVec, radius: float = 1.0): + self.center = Vec2(center) + self.radius = float(radius) + if self.radius <= 0.0: + raise ValueError("Radius has to be > 0.") + + def __str__(self) -> str: + """Returns string representation of circle + "ConstructionCircle(center, radius)". + """ + return f"ConstructionCircle({self.center}, {self.radius})" + + @staticmethod + def from_3p(p1: UVec, p2: UVec, p3: UVec) -> ConstructionCircle: + """Creates a circle from three points, all points have to be compatible + to :class:`Vec2` class. + """ + _p1 = Vec2(p1) + _p2 = Vec2(p2) + _p3 = Vec2(p3) + ray1 = ConstructionRay(_p1, _p2) + ray2 = ConstructionRay(_p1, _p3) + center_ray1 = ray1.orthogonal(_p1.lerp(_p2)) + center_ray2 = ray2.orthogonal(_p1.lerp(_p3)) + center = center_ray1.intersect(center_ray2) + return ConstructionCircle(center, center.distance(_p1)) + + @property + def bounding_box(self) -> BoundingBox2d: + """2D bounding box of circle as :class:`BoundingBox2d` object.""" + rvec = Vec2((self.radius, self.radius)) + return BoundingBox2d((self.center - rvec, self.center + rvec)) + + def translate(self, dx: float, dy: float) -> None: + """Move circle about `dx` in x-axis and about `dy` in y-axis. + + Args: + dx: translation in x-axis + dy: translation in y-axis + + """ + self.center += Vec2((dx, dy)) + + def point_at(self, angle: float) -> Vec2: + """Returns point on circle at `angle` as :class:`Vec2` object. + + Args: + angle: angle in radians, angle goes counter + clockwise around the z-axis, x-axis = 0 deg. + + """ + return self.center + Vec2.from_angle(angle, self.radius) + + def vertices(self, angles: Iterable[float]) -> Iterable[Vec2]: + """Yields vertices of the circle for iterable `angles`. + + Args: + angles: iterable of angles as radians, angle goes counter-clockwise + around the z-axis, x-axis = 0 deg. + + """ + center = self.center + radius = self.radius + for angle in angles: + yield center + Vec2.from_angle(angle, radius) + + def flattening(self, sagitta: float) -> Iterator[Vec2]: + """Approximate the circle by vertices, argument `sagitta` is the + max. distance from the center of an arc segment to the center of its + chord. Returns a closed polygon where the start vertex is coincident + with the end vertex! + """ + from .arc import arc_segment_count + + count = arc_segment_count(self.radius, math.tau, sagitta) + yield from self.vertices(np.linspace(0.0, math.tau, count + 1)) + + def inside(self, point: UVec) -> bool: + """Returns ``True`` if `point` is inside circle.""" + return self.radius >= self.center.distance(Vec2(point)) + + def tangent(self, angle: float) -> ConstructionRay: + """Returns tangent to circle at `angle` as :class:`ConstructionRay` + object. + + Args: + angle: angle in radians + + """ + point_on_circle = self.point_at(angle) + ray = ConstructionRay(self.center, point_on_circle) + return ray.orthogonal(point_on_circle) + + def intersect_ray( + self, ray: ConstructionRay, abs_tol: float = 1e-10 + ) -> Sequence[Vec2]: + """Returns intersection points of circle and `ray` as sequence of + :class:`Vec2` objects. + + Args: + ray: intersection ray + abs_tol: absolute tolerance for tests (e.g. test for tangents) + + Returns: + tuple of :class:`Vec2` objects + + =========== ================================== + tuple size Description + =========== ================================== + 0 no intersection + 1 ray is a tangent to circle + 2 ray intersects with the circle + =========== ================================== + + """ + assert isinstance(ray, ConstructionRay) + ortho_ray = ray.orthogonal(self.center) + intersection_point = ray.intersect(ortho_ray) + dist = self.center.distance(intersection_point) + result = [] + # Intersect in two points: + if dist < self.radius: + # Ray goes through center point: + if math.isclose(dist, 0.0, abs_tol=abs_tol): + angle = ortho_ray.angle + alpha = HALF_PI + else: + # The exact direction of angle (all 4 quadrants Q1-Q4) is + # important: ortho_ray.angle is only correct at the center point + angle = (intersection_point - self.center).angle + alpha = math.acos( + intersection_point.distance(self.center) / self.radius + ) + result.append(self.point_at(angle + alpha)) + result.append(self.point_at(angle - alpha)) + # Ray is a tangent of the circle: + elif math.isclose(dist, self.radius, abs_tol=abs_tol): + result.append(intersection_point) + # else: No intersection + return tuple(result) + + def intersect_line( + self, line: ConstructionLine, abs_tol: float = 1e-10 + ) -> Sequence[Vec2]: + """Returns intersection points of circle and `line` as sequence of + :class:`Vec2` objects. + + Args: + line: intersection line + abs_tol: absolute tolerance for tests (e.g. test for tangents) + + Returns: + tuple of :class:`Vec2` objects + + =========== ================================== + tuple size Description + =========== ================================== + 0 no intersection + 1 line intersects or touches the circle at one point + 2 line intersects the circle at two points + =========== ================================== + + """ + assert isinstance(line, ConstructionLine) + return [ + point + for point in self.intersect_ray(line.ray, abs_tol=abs_tol) + if is_point_in_line_range(line.start, line.end, point) + ] + + def intersect_circle( + self, other: "ConstructionCircle", abs_tol: float = 1e-10 + ) -> Sequence[Vec2]: + """Returns intersection points of two circles as sequence of + :class:`Vec2` objects. + + Args: + other: intersection circle + abs_tol: absolute tolerance for tests + + Returns: + tuple of :class:`Vec2` objects + + =========== ================================== + tuple size Description + =========== ================================== + 0 no intersection + 1 circle touches the `other` circle at one point + 2 circle intersects with the `other` circle + =========== ================================== + + """ + assert isinstance(other, ConstructionCircle) + r1 = self.radius + r2 = other.radius + d = self.center.distance(other.center) + if d < abs_tol: + # concentric circles do not intersect by definition + return tuple() + + d_max = r1 + r2 + d_min = math.fabs(r1 - r2) + if d_min <= d <= d_max: + angle = (other.center - self.center).angle + # Circles touches at one point: + if math.isclose(d, d_max, abs_tol=abs_tol): + return (self.point_at(angle),) + if math.isclose(d, d_min, abs_tol=abs_tol): + if r1 >= r2: + return (self.point_at(angle),) + return (self.point_at(angle + math.pi),) + else: # Circles intersect in two points: + # Law of Cosines: + alpha = math.acos((r2 * r2 - r1 * r1 - d * d) / (-2.0 * r1 * d)) + return tuple(self.vertices((angle + alpha, angle - alpha))) + return tuple() + + +def is_point_in_line_range(start: Vec2, end: Vec2, point: Vec2) -> bool: + length = (end - start).magnitude + if (point - start).magnitude > length: + return False + return (point - end).magnitude <= length diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/math/clipping.py b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/math/clipping.py new file mode 100644 index 0000000000000000000000000000000000000000..c219188568bb522a9279ae18bbc9325f4290f343 --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/math/clipping.py @@ -0,0 +1,938 @@ +# Copyright (c) 2021-2024, Manfred Moitzi +# License: MIT License +from __future__ import annotations +from typing import Iterable, Sequence, Optional, Iterator, Callable +from typing_extensions import Protocol +import math +import enum + +from ezdxf.math import ( + Vec2, + UVec, + intersection_line_line_2d, + is_point_in_polygon_2d, + has_clockwise_orientation, + point_to_line_relation, + TOLERANCE, + BoundingBox2d, +) +from ezdxf.tools import take2, pairwise + + +__all__ = [ + "greiner_hormann_union", + "greiner_hormann_difference", + "greiner_hormann_intersection", + "Clipping", + "ConvexClippingPolygon2d", + "ConcaveClippingPolygon2d", + "ClippingRect2d", + "InvertedClippingPolygon2d", + "CohenSutherlandLineClipping2d", +] + + +class Clipping(Protocol): + def clip_polygon(self, polygon: Sequence[Vec2]) -> Sequence[Sequence[Vec2]]: + """Returns the parts of the clipped polygon.""" + + def clip_polyline(self, polyline: Sequence[Vec2]) -> Sequence[Sequence[Vec2]]: + """Returns the parts of the clipped polyline.""" + + def clip_line(self, start: Vec2, end: Vec2) -> Sequence[tuple[Vec2, Vec2]]: + """Returns the parts of the clipped line.""" + + def is_inside(self, point: Vec2) -> bool: + """Returns ``True`` if `point` is inside the clipping path.""" + + +def _clip_polyline( + polyline: Sequence[Vec2], + line_clipper: Callable[[Vec2, Vec2], Sequence[tuple[Vec2, Vec2]]], + abs_tol: float, +) -> Sequence[Sequence[Vec2]]: + """Returns the parts of the clipped polyline.""" + if len(polyline) < 2: + return [] + result: list[Vec2] = [] + parts: list[list[Vec2]] = [] + next_start = polyline[0] + for end in polyline[1:]: + start = next_start + next_start = end + for clipped_line in line_clipper(start, end): + if len(clipped_line) != 2: + continue + if result: + clip_start, clip_end = clipped_line + if result[-1].isclose(clip_start, abs_tol=abs_tol): + result.append(clip_end) + continue + parts.append(result) + result = list(clipped_line) + if result: + parts.append(result) + return parts + + +class ConvexClippingPolygon2d: + """The clipping path is an arbitrary convex 2D polygon.""" + + def __init__(self, vertices: Iterable[Vec2], ccw_check=True, abs_tol=TOLERANCE): + self.abs_tol = abs_tol + clip = list(vertices) + if len(clip) > 1: + if clip[0].isclose(clip[-1], abs_tol=self.abs_tol): + clip.pop() + if len(clip) < 3: + raise ValueError("more than 3 vertices as clipping polygon required") + if ccw_check and has_clockwise_orientation(clip): + clip.reverse() + self._clipping_polygon: list[Vec2] = clip + + def clip_polyline(self, polyline: Sequence[Vec2]) -> Sequence[Sequence[Vec2]]: + """Returns the parts of the clipped polyline.""" + return _clip_polyline(polyline, self.clip_line, abs_tol=self.abs_tol) + + def clip_line(self, start: Vec2, end: Vec2) -> Sequence[tuple[Vec2, Vec2]]: + """Returns the parts of the clipped line.""" + + def is_inside(point: Vec2) -> bool: + # is point left of line: + return (clip_end.x - clip_start.x) * (point.y - clip_start.y) - ( + clip_end.y - clip_start.y + ) * (point.x - clip_start.x) >= 0.0 + + def edge_intersection(default: Vec2) -> Vec2: + ip = intersection_line_line_2d( + (edge_start, edge_end), (clip_start, clip_end), abs_tol=self.abs_tol + ) + if ip is None: + return default + return ip + + # The clipping polygon is always treated as a closed polyline! + clip_start = self._clipping_polygon[-1] + edge_start = start + edge_end = end + for clip_end in self._clipping_polygon: + if is_inside(edge_start): + if not is_inside(edge_end): + edge_end = edge_intersection(edge_end) + elif is_inside(edge_end): + if not is_inside(edge_start): + edge_start = edge_intersection(edge_start) + else: + return tuple() + clip_start = clip_end + return ((edge_start, edge_end),) + + def clip_polygon(self, polygon: Sequence[Vec2]) -> Sequence[Sequence[Vec2]]: + """Returns the parts of the clipped polygon. A polygon is a closed polyline.""" + + def is_inside(point: Vec2) -> bool: + # is point left of line: + return (clip_end.x - clip_start.x) * (point.y - clip_start.y) - ( + clip_end.y - clip_start.y + ) * (point.x - clip_start.x) > 0.0 + + def edge_intersection() -> None: + ip = intersection_line_line_2d( + (edge_start, edge_end), (clip_start, clip_end), abs_tol=self.abs_tol + ) + if ip is not None: + clipped.append(ip) + + # The clipping polygon is always treated as a closed polyline! + clip_start = self._clipping_polygon[-1] + clipped = list(polygon) + for clip_end in self._clipping_polygon: + # next clipping edge to test: clip_start -> clip_end + if not clipped: # no subject vertices left to test + break + + vertices = clipped.copy() + if len(vertices) > 1 and vertices[0].isclose( + vertices[-1], abs_tol=self.abs_tol + ): + vertices.pop() + + clipped.clear() + edge_start = vertices[-1] + for edge_end in vertices: + # next polygon edge to test: edge_start -> edge_end + if is_inside(edge_end): + if not is_inside(edge_start): + edge_intersection() + clipped.append(edge_end) + elif is_inside(edge_start): + edge_intersection() + edge_start = edge_end + clip_start = clip_end + return (clipped,) + + def is_inside(self, point: Vec2) -> bool: + """Returns ``True`` if `point` is inside the clipping polygon.""" + return is_point_in_polygon_2d(point, self._clipping_polygon) >= 0 + + +class ClippingRect2d: + """The clipping path is an axis-aligned rectangle, where all sides are parallel to + the x- and y-axis. + """ + + def __init__(self, bottom_left: Vec2, top_right: Vec2, abs_tol=TOLERANCE): + self.abs_tol = abs_tol + self._bbox = BoundingBox2d((bottom_left, top_right)) + bottom_left = self._bbox.extmin + top_right = self._bbox.extmax + self._clipping_polygon = ConvexClippingPolygon2d( + [ + bottom_left, + Vec2(top_right.x, bottom_left.y), + top_right, + Vec2(bottom_left.x, top_right.y), + ], + ccw_check=False, + abs_tol=self.abs_tol, + ) + self._line_clipper = CohenSutherlandLineClipping2d( + self._bbox.extmin, self._bbox.extmax + ) + + def clip_polygon(self, polygon: Sequence[Vec2]) -> Sequence[Sequence[Vec2]]: + """Returns the parts of the clipped polygon. A polygon is a closed polyline.""" + return self._clipping_polygon.clip_polygon(polygon) + + def clip_polyline(self, polyline: Sequence[Vec2]) -> Sequence[Sequence[Vec2]]: + """Returns the parts of the clipped polyline.""" + return _clip_polyline(polyline, self.clip_line, self.abs_tol) + + def clip_line(self, start: Vec2, end: Vec2) -> Sequence[tuple[Vec2, Vec2]]: + """Returns the clipped line.""" + result = self._line_clipper.clip_line(start, end) + if len(result) == 2: + return (result,) # type: ignore + return tuple() + + def is_inside(self, point: Vec2) -> bool: + """Returns ``True`` if `point` is inside the clipping rectangle.""" + return self._bbox.inside(point) + + def has_intersection(self, other: BoundingBox2d) -> bool: + """Returns ``True`` if `other` bounding box intersects the clipping rectangle.""" + return self._bbox.has_intersection(other) + + +class ConcaveClippingPolygon2d: + """The clipping path is an arbitrary concave 2D polygon.""" + + def __init__(self, vertices: Iterable[Vec2], abs_tol=TOLERANCE): + self.abs_tol = abs_tol + clip = list(vertices) + if len(clip) > 1: + if clip[0].isclose(clip[-1], abs_tol=self.abs_tol): + clip.pop() + if len(clip) < 3: + raise ValueError("more than 3 vertices as clipping polygon required") + # open polygon; clockwise or counter-clockwise oriented vertices + self._clipping_polygon = clip + self._bbox = BoundingBox2d(clip) + + def is_inside(self, point: Vec2) -> bool: + """Returns ``True`` if `point` is inside the clipping polygon.""" + if not self._bbox.inside(point): + return False + return ( + is_point_in_polygon_2d(point, self._clipping_polygon, abs_tol=self.abs_tol) + >= 0 + ) + + def clip_line(self, start: Vec2, end: Vec2) -> Sequence[tuple[Vec2, Vec2]]: + """Returns the clipped line.""" + abs_tol = self.abs_tol + line = (start, end) + if not self._bbox.has_overlap(BoundingBox2d(line)): + return tuple() + + intersections = polygon_line_intersections_2d(self._clipping_polygon, line) + start_is_inside = is_point_in_polygon_2d(start, self._clipping_polygon) >= 0 + if len(intersections) == 0: + if start_is_inside: + return (line,) + return tuple() + end_is_inside = ( + is_point_in_polygon_2d(end, self._clipping_polygon, abs_tol=abs_tol) >= 0 + ) + if end_is_inside and not intersections[-1].isclose(end, abs_tol=abs_tol): + # last inside-segment ends at end + intersections.append(end) + if start_is_inside and not intersections[0].isclose(start, abs_tol=abs_tol): + # first inside-segment begins at start + intersections.insert(0, start) + + # REMOVE duplicate intersection points at the beginning and the end - + # these are caused by clipping at the connection point of two edges. + # KEEP duplicate intersection points in between - these are caused by the + # coincident edges of inverted clipping polygons. These intersections points + # are required for the inside/outside rule to work properly! + if len(intersections) > 1 and intersections[0].isclose( + intersections[1], abs_tol=abs_tol + ): + intersections.pop(0) + if len(intersections) > 1 and intersections[-1].isclose( + intersections[-2], abs_tol=abs_tol + ): + intersections.pop() + + if has_collinear_edge(self._clipping_polygon, start, end): + # slow detection: doesn't work with inside/outside rule! + # test if mid-point of intersection-segment is inside the polygon. + # intersection-segment collinear with a polygon edge is inside! + segments: list[tuple[Vec2, Vec2]] = [] + for a, b in pairwise(intersections): + if a.isclose(b, abs_tol=abs_tol): # ignore zero-length segments + continue + if ( + is_point_in_polygon_2d( + a.lerp(b), self._clipping_polygon, abs_tol=abs_tol + ) + >= 0 + ): + segments.append((a, b)) + return segments + + # inside/outside rule + # intersection segments: + # (0, 1) outside (2, 3) outside (4, 5) ... + return list(take2(intersections)) + + def clip_polyline(self, polyline: Sequence[Vec2]) -> Sequence[Sequence[Vec2]]: + """Returns the parts of the clipped polyline.""" + abs_tol = self.abs_tol + segments: list[list[Vec2]] = [] + for start, end in pairwise(polyline): + for a, b in self.clip_line(start, end): + if segments: + last_seg = segments[-1] + if last_seg[-1].isclose(a, abs_tol=abs_tol): + last_seg.append(b) + continue + segments.append([a, b]) + return segments + + def clip_polygon(self, polygon: Sequence[Vec2]) -> Sequence[Sequence[Vec2]]: + """Returns the parts of the clipped polygon. A polygon is a closed polyline.""" + vertices = list(polygon) + abs_tol = self.abs_tol + if len(vertices) > 1: + if vertices[0].isclose(vertices[-1], abs_tol=abs_tol): + vertices.pop() + if len(vertices) < 3: + return tuple() + polygon_box = BoundingBox2d(vertices) + if not self._bbox.has_intersection(polygon_box): + return tuple() # polygons do not overlap + result = clip_arbitrary_polygons(self._clipping_polygon, vertices) + if len(result) == 0: + is_outside = any( + is_point_in_polygon_2d(v, self._clipping_polygon, abs_tol=abs_tol) < 0 + for v in vertices + ) + if is_outside: + return tuple() + return (vertices,) + # return (self._clipping_polygon.copy(),) + return result + + +def clip_arbitrary_polygons( + clipper: list[Vec2], subject: list[Vec2] +) -> Sequence[Sequence[Vec2]]: + """Returns the parts of the clipped subject. Both polygons can be concave + + Args: + clipper: clipping window closed polygon + subject: closed polygon to clip + + """ + # Caching of gh_clipper is not possible, because both GHPolygons get modified! + gh_clipper = GHPolygon.from_vec2(clipper) + gh_subject = GHPolygon.from_vec2(subject) + return gh_clipper.intersection(gh_subject) + + +def has_collinear_edge(polygon: list[Vec2], start: Vec2, end: Vec2) -> bool: + """Returns ``True`` if `polygon` has any collinear edge to line `start->end`.""" + a = polygon[-1] + rel_a = point_to_line_relation(a, start, end) + for b in polygon: + rel_b = point_to_line_relation(b, start, end) + if rel_a == 0 and rel_b == 0: + return True + a = b + rel_a = rel_b + return False + + +def polygon_line_intersections_2d( + polygon: list[Vec2], line: tuple[Vec2, Vec2], abs_tol: float = TOLERANCE +) -> list[Vec2]: + """Returns all intersections of polygon with line. + All intersections points are ordered from start to end of line. + Start and end points are not included if not explicit intersection points. + + .. Note:: + + Returns duplicate intersections points when the line intersects at + the connection point of two polygon edges! + + """ + intersection_points: list[Vec2] = [] + start, end = line + size = len(polygon) + for index in range(size): + a = polygon[index - 1] + b = polygon[index] + ip = intersection_line_line_2d((a, b), line, virtual=False, abs_tol=abs_tol) + if ip is None: + continue + # Note: do not remove duplicate vertices, because inverted clipping polygons + # have coincident clipping edges inside the clipping polygon! #1101 + if ip.isclose(a, abs_tol=abs_tol): + a_prev = polygon[index - 2] + rel_prev = point_to_line_relation(a_prev, start, end, abs_tol=abs_tol) + rel_next = point_to_line_relation(b, start, end, abs_tol=abs_tol) + if rel_prev == rel_next: + continue + # edge case: line intersects "exact" in point b + elif ip.isclose(b, abs_tol=abs_tol): + b_next = polygon[(index + 1) % size] + rel_prev = point_to_line_relation(a, start, end, abs_tol=abs_tol) + rel_next = point_to_line_relation(b_next, start, end, abs_tol=abs_tol) + if rel_prev == rel_next: + continue + intersection_points.append(ip) + + intersection_points.sort(key=lambda ip: ip.distance(start)) + return intersection_points + + +class InvertedClippingPolygon2d(ConcaveClippingPolygon2d): + """This class represents an inverted clipping path. Everything between the inner + polygon and the outer extents is considered as inside. The inner clipping path is + an arbitrary 2D polygon. + + .. Important:: + + The `outer_bounds` must be larger than the content to clip to work correctly. + + """ + + def __init__( + self, + inner_polygon: Iterable[Vec2], + outer_bounds: BoundingBox2d, + abs_tol=TOLERANCE, + ): + self.abs_tol = abs_tol + clip = list(inner_polygon) + if len(clip) > 1: + if not clip[0].isclose(clip[-1], abs_tol=abs_tol): # close inner_polygon + clip.append(clip[0]) + if len(clip) < 4: + raise ValueError("more than 3 vertices as clipping polygon required") + # requirements for inner_polygon: + # arbitrary polygon (convex or concave) + # closed polygon (first vertex == last vertex) + # clockwise or counter-clockwise oriented vertices + self._clipping_polygon = make_inverted_clipping_polygon( + clip, outer_bounds, abs_tol + ) + self._bbox = outer_bounds + + +def make_inverted_clipping_polygon( + inner_polygon: list[Vec2], outer_bounds: BoundingBox2d, abs_tol=TOLERANCE +) -> list[Vec2]: + """Creates a closed inverted clipping polygon by connecting the inner polygon with + the surrounding rectangle at their closest vertices. + """ + assert outer_bounds.has_data is True + inner_polygon = inner_polygon.copy() + if inner_polygon[0].isclose(inner_polygon[-1], abs_tol=abs_tol): + inner_polygon.pop() + assert len(inner_polygon) > 2 + outer_rect = list(outer_bounds.rect_vertices()) # counter-clockwise + outer_rect.reverse() # clockwise + ci, co = find_closest_vertices(inner_polygon, outer_rect) + result = inner_polygon[ci:] + result.extend(inner_polygon[: ci + 1]) + result.extend(outer_rect[co:]) + result.extend(outer_rect[: co + 1]) + result.append(result[0]) + return result + + +def find_closest_vertices( + vertices0: list[Vec2], vertices1: list[Vec2] +) -> tuple[int, int]: + """Returns the indices of the closest vertices of both lists.""" + min_dist = math.inf + result: tuple[int, int] = 0, 0 + for i0, v0 in enumerate(vertices0): + for i1, v1 in enumerate(vertices1): + distance = v0.distance(v1) + if distance < min_dist: + min_dist = distance + result = i0, i1 + return result + + +# Based on the paper "Efficient Clipping of Arbitrary Polygons" by +# Günther Greiner and Kai Hormann, +# ACM Transactions on Graphics 1998;17(2):71-83 +# Available at: http://www.inf.usi.ch/hormann/papers/Greiner.1998.ECO.pdf + + +class _Node: + def __init__( + self, + vtx: Vec2, + alpha: float = 0.0, + intersect=False, + entry=True, + checked=False, + ): + self.vtx = vtx + + # Reference to the next vertex of the polygon + self.next: _Node = None # type: ignore + + # Reference to the previous vertex of the polygon + self.prev: _Node = None # type: ignore + + # Reference to the corresponding intersection vertex in the other polygon + self.neighbor: _Node = None # type: ignore + + # True if intersection is an entry point, False if exit + self.entry: bool = entry + + # Intersection point's relative distance from previous vertex + self.alpha: float = alpha + + # True if vertex is an intersection + self.intersect: bool = intersect + + # True if the vertex has been checked (last phase) + self.checked: bool = checked + + def set_checked(self): + self.checked = True + if self.neighbor and not self.neighbor.checked: + self.neighbor.set_checked() + + +class IntersectionError(Exception): + pass + + +class GHPolygon: + first: _Node = None # type: ignore + max_x: float = 1e6 + + def add(self, node: _Node): + """Add a polygon vertex node.""" + + self.max_x = max(self.max_x, node.vtx.x) + if self.first is None: + self.first = node + self.first.next = node + self.first.prev = node + else: # insert as last node + first = self.first + last = first.prev + first.prev = node + node.next = first + node.prev = last + last.next = node + + @staticmethod + def build(vertices: Iterable[UVec]) -> GHPolygon: + """Build a new GHPolygon from an iterable of vertices.""" + return GHPolygon.from_vec2(Vec2.list(vertices)) + + @staticmethod + def from_vec2(vertices: Sequence[Vec2]) -> GHPolygon: + """Build a new GHPolygon from an iterable of vertices.""" + polygon = GHPolygon() + for v in vertices: + polygon.add(_Node(v)) + return polygon + + @staticmethod + def insert(vertex: _Node, start: _Node, end: _Node): + """Insert and sort an intersection node. + + This function inserts an intersection node between two other + start- and end node of an edge. The start and end node cannot be + an intersection node (that is, they must be actual vertex nodes of + the original polygon). If there are multiple intersection nodes + between the start- and end node, then the new node is inserted + based on its alpha value. + """ + curr = start + while curr != end and curr.alpha < vertex.alpha: + curr = curr.next + + vertex.next = curr + prev = curr.prev + vertex.prev = prev + prev.next = vertex + curr.prev = vertex + + def __iter__(self) -> Iterator[_Node]: + assert self.first is not None + s = self.first + while True: + yield s + s = s.next + if s is self.first: + return + + @property + def first_intersect(self) -> Optional[_Node]: + for v in self: + if v.intersect and not v.checked: + return v + return None + + @property + def points(self) -> list[Vec2]: + points = [v.vtx for v in self] + if not points[0].isclose(points[-1]): + points.append(points[0]) + return points + + def unprocessed(self): + for v in self: + if v.intersect and not v.checked: + return True + return False + + def union(self, clip: GHPolygon) -> list[list[Vec2]]: + return self.clip(clip, False, False) + + def intersection(self, clip: GHPolygon) -> list[list[Vec2]]: + return self.clip(clip, True, True) + + def difference(self, clip: GHPolygon) -> list[list[Vec2]]: + return self.clip(clip, False, True) + + # pylint: disable=too-many-branches + def clip(self, clip: GHPolygon, s_entry, c_entry) -> list[list[Vec2]]: + """Clip this polygon using another one as a clipper. + + This is where the algorithm is executed. It allows you to make + a UNION, INTERSECT or DIFFERENCE operation between two polygons. + + Given two polygons A, B the following operations may be performed: + + A|B ... A OR B (Union of A and B) + A&B ... A AND B (Intersection of A and B) + A\\B ... A - B + B\\A ... B - A + + The entry records store the direction the algorithm should take when + it arrives at that entry point in an intersection. Depending on the + operation requested, the direction is set as follows for entry points + (f=forward, b=backward; exit points are always set to the opposite): + + Entry + A B + ----- + A|B b b + A&B f f + A\\B b f + B\\A f b + + f = True, b = False when stored in the entry record + """ + # Phase 1: Find intersections + for subject_vertex in self: + if not subject_vertex.intersect: + for clipper_vertex in clip: + if not clipper_vertex.intersect: + ip, us, uc = line_intersection( + subject_vertex.vtx, + next_vertex_node(subject_vertex.next).vtx, + clipper_vertex.vtx, + next_vertex_node(clipper_vertex.next).vtx, + ) + if ip is None: + continue + subject_node = _Node(ip, us, intersect=True, entry=False) + clipper_node = _Node(ip, uc, intersect=True, entry=False) + subject_node.neighbor = clipper_node + clipper_node.neighbor = subject_node + + self.insert( + subject_node, + subject_vertex, + next_vertex_node(subject_vertex.next), + ) + clip.insert( + clipper_node, + clipper_vertex, + next_vertex_node(clipper_vertex.next), + ) + + # Phase 2: Identify entry/exit points + s_entry ^= is_inside_polygon(self.first.vtx, clip) + for subject_vertex in self: + if subject_vertex.intersect: + subject_vertex.entry = s_entry + s_entry = not s_entry + + c_entry ^= is_inside_polygon(clip.first.vtx, self) + for clipper_vertex in clip: + if clipper_vertex.intersect: + clipper_vertex.entry = c_entry + c_entry = not c_entry + + # Phase 3: Construct clipped polygons + clipped_polygons: list[list[Vec2]] = [] + while self.unprocessed(): + current: _Node = self.first_intersect # type: ignore + clipped: list[Vec2] = [current.vtx] + while True: + current.set_checked() + if current.entry: + while True: + current = current.next + clipped.append(current.vtx) + if current.intersect: + break + else: + while True: + current = current.prev + clipped.append(current.vtx) + if current.intersect: + break + + current = current.neighbor + if current.checked: + break + clipped_polygons.append(clipped) + return clipped_polygons + + +def next_vertex_node(v: _Node) -> _Node: + """Return the next non-intersecting vertex after the one specified.""" + c = v + while c.intersect: + c = c.next + return c + + +def is_inside_polygon(vertex: Vec2, polygon: GHPolygon) -> bool: + """Returns ``True`` if `vertex` is inside `polygon`.""" + # Possible issue: are points on the boundary inside or outside the polygon? + # this version: inside + return is_point_in_polygon_2d(vertex, polygon.points, abs_tol=TOLERANCE) >= 0 + + +_ERROR = None, 0, 0 + + +def line_intersection( + s1: Vec2, s2: Vec2, c1: Vec2, c2: Vec2, tol: float = TOLERANCE +) -> tuple[Optional[Vec2], float, float]: + """Returns the intersection point between two lines. + + This special implementation excludes the line end points as intersection + points! + + Algorithm based on: http://paulbourke.net/geometry/lineline2d/ + """ + den = (c2.y - c1.y) * (s2.x - s1.x) - (c2.x - c1.x) * (s2.y - s1.y) + if abs(den) < tol: + return _ERROR + us = ((c2.x - c1.x) * (s1.y - c1.y) - (c2.y - c1.y) * (s1.x - c1.x)) / den + lwr = 0.0 + tol + upr = 1.0 - tol + # Line end points are excluded as intersection points: + # us =~ 0.0; us =~ 1.0 + if not (lwr < us < upr): + return _ERROR + # uc =~ 0.0; uc =~ 1.0 + uc = ((s2.x - s1.x) * (s1.y - c1.y) - (s2.y - s1.y) * (s1.x - c1.x)) / den + if lwr < uc < upr: + return ( + Vec2(s1.x + us * (s2.x - s1.x), s1.y + us * (s2.y - s1.y)), + us, + uc, + ) + return _ERROR + + +class BooleanOperation(enum.Enum): + UNION = "union" + DIFFERENCE = "difference" + INTERSECTION = "intersection" + + +def greiner_hormann_intersection( + p1: Iterable[UVec], p2: Iterable[UVec] +) -> list[list[Vec2]]: + """Returns the INTERSECTION of polygon `p1` & polygon `p2`. + This algorithm works only for polygons with real intersection points + and line end points on face edges are not considered as such intersection + points! + + """ + return greiner_hormann(p1, p2, BooleanOperation.INTERSECTION) + + +def greiner_hormann_difference( + p1: Iterable[UVec], p2: Iterable[UVec] +) -> list[list[Vec2]]: + """Returns the DIFFERENCE of polygon `p1` - polygon `p2`. + This algorithm works only for polygons with real intersection points + and line end points on face edges are not considered as such intersection + points! + + """ + return greiner_hormann(p1, p2, BooleanOperation.DIFFERENCE) + + +def greiner_hormann_union(p1: Iterable[UVec], p2: Iterable[UVec]) -> list[list[Vec2]]: + """Returns the UNION of polygon `p1` | polygon `p2`. + This algorithm works only for polygons with real intersection points + and line end points on face edges are not considered as such intersection + points! + + """ + return greiner_hormann(p1, p2, BooleanOperation.UNION) + + +def greiner_hormann( + p1: Iterable[UVec], p2: Iterable[UVec], op: BooleanOperation +) -> list[list[Vec2]]: + """Implements a 2d clipping function to perform 3 boolean operations: + + - UNION: p1 | p2 ... p1 OR p2 + - INTERSECTION: p1 & p2 ... p1 AND p2 + - DIFFERENCE: p1 \\ p2 ... p1 - p2 + + Based on the paper "Efficient Clipping of Arbitrary Polygons" by + Günther Greiner and Kai Hormann. + This algorithm works only for polygons with real intersection points + and line end points on face edges are not considered as such intersection + points! + + """ + polygon1 = GHPolygon.build(p1) + polygon2 = GHPolygon.build(p2) + + if op == BooleanOperation.UNION: + return polygon1.union(polygon2) + elif op == BooleanOperation.DIFFERENCE: + return polygon1.difference(polygon2) + elif op == BooleanOperation.INTERSECTION: + return polygon1.intersection(polygon2) + raise ValueError(f"unknown or unsupported boolean operation: {op}") + + +LEFT = 0x1 +RIGHT = 0x2 +BOTTOM = 0x4 +TOP = 0x8 + + +class CohenSutherlandLineClipping2d: + """Cohen-Sutherland 2D line clipping algorithm, source: + https://en.wikipedia.org/wiki/Cohen%E2%80%93Sutherland_algorithm + + Args: + w_min: bottom-left corner of the clipping rectangle + w_max: top-right corner of the clipping rectangle + + """ + + __slots__ = ("x_min", "x_max", "y_min", "y_max") + + def __init__(self, w_min: Vec2, w_max: Vec2) -> None: + self.x_min, self.y_min = w_min + self.x_max, self.y_max = w_max + + def encode(self, x: float, y: float) -> int: + code: int = 0 + if x < self.x_min: + code |= LEFT + elif x > self.x_max: + code |= RIGHT + if y < self.y_min: + code |= BOTTOM + elif y > self.y_max: + code |= TOP + return code + + def clip_line(self, p0: Vec2, p1: Vec2) -> Sequence[Vec2]: + """Returns the clipped line part as tuple[Vec2, Vec2] or an empty tuple. + + Args: + p0: start-point of the line to clip + p1: end-point of the line to clip + + """ + x0, y0 = p0 + x1, y1 = p1 + code0 = self.encode(x0, y0) + code1 = self.encode(x1, y1) + x = x0 + y = y0 + while True: + if not code0 | code1: # ACCEPT + # bitwise OR is 0: both points inside window; trivially accept and + # exit loop: + return Vec2(x0, y0), Vec2(x1, y1) + if code0 & code1: # REJECT + # bitwise AND is not 0: both points share an outside zone (LEFT, + # RIGHT, TOP, or BOTTOM), so both must be outside window; + # exit loop + return tuple() + + # failed both tests, so calculate the line segment to clip + # from an outside point to an intersection with clip edge + # At least one endpoint is outside the clip rectangle; pick it + code = code1 if code1 > code0 else code0 + + # Now find the intersection point; + # use formulas: + # slope = (y1 - y0) / (x1 - x0) + # x = x0 + (1 / slope) * (ym - y0), where ym is y_min or y_max + # y = y0 + slope * (xm - x0), where xm is x_min or x_max + # No need to worry about divide-by-zero because, in each case, the + # code bit being tested guarantees the denominator is non-zero + if code & TOP: # point is above the clip window + x = x0 + (x1 - x0) * (self.y_max - y0) / (y1 - y0) + y = self.y_max + elif code & BOTTOM: # point is below the clip window + x = x0 + (x1 - x0) * (self.y_min - y0) / (y1 - y0) + y = self.y_min + elif code & RIGHT: # point is to the right of clip window + y = y0 + (y1 - y0) * (self.x_max - x0) / (x1 - x0) + x = self.x_max + elif code & LEFT: # point is to the left of clip window + y = y0 + (y1 - y0) * (self.x_min - x0) / (x1 - x0) + x = self.x_min + + if code == code0: + x0 = x + y0 = y + code0 = self.encode(x0, y0) + else: + x1 = x + y1 = y + code1 = self.encode(x1, y1) diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/math/clustering.py b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/math/clustering.py new file mode 100644 index 0000000000000000000000000000000000000000..1dbda327ceb1c7a9f5851f2241e6207b980af68d --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/math/clustering.py @@ -0,0 +1,141 @@ +# Copyright (c) 2022, Manfred Moitzi +# License: MIT License +from __future__ import annotations +from typing import Iterator, Iterable, Optional +import random +import statistics +import itertools +import operator +from collections import defaultdict +from functools import reduce + +from ezdxf.math import AnyVec, Vec3, spherical_envelope +from ezdxf.math.rtree import RTree + +__all__ = [ + "dbscan", + "k_means", + "average_cluster_radius", + "average_intra_cluster_distance", +] + + +def dbscan( + points: list[AnyVec], + *, + radius: float, + min_points: int = 4, + rtree: Optional[RTree] = None, + max_node_size: int = 5, +) -> list[list[AnyVec]]: + """DBSCAN clustering. + + https://en.wikipedia.org/wiki/DBSCAN + + Args: + points: list of points to cluster + radius: radius of the dense regions + min_points: minimum number of points that needs to be within the + `radius` for a point to be a core point (must be >= 2) + rtree: optional :class:`~ezdxf.math.rtree.RTree` + max_node_size: max node size for internally created RTree + + Returns: + list of clusters, each cluster is a list of points + + """ + if min_points < 2: + raise ValueError("min_points must be >= 2") + if rtree is None: + rtree = RTree(points, max_node_size) + + clusters: list[set[AnyVec]] = [] + point_set = set(points) + while len(point_set): + point = point_set.pop() + todo = {point} + cluster = {point} # the cluster has only a single entry if noise + clusters.append(cluster) + while len(todo): + chk_point = todo.pop() + neighbors = set(rtree.points_in_sphere(chk_point, radius)) + if len(neighbors) < min_points: + continue + cluster.add(chk_point) + point_set.discard(chk_point) + todo |= neighbors.intersection(point_set) + + return [list(cluster) for cluster in clusters] + + +def k_means( + points: list[AnyVec], k: int, max_iter: int = 10 +) -> list[list[AnyVec]]: + """K-means clustering. + + https://en.wikipedia.org/wiki/K-means_clustering + + Args: + points: list of points to cluster + k: number of clusters + max_iter: max iterations + + Returns: + list of clusters, each cluster is a list of points + + """ + + def classify(centroids: Iterable[AnyVec]): + new_clusters: dict[AnyVec, list[AnyVec]] = defaultdict(list) + tree = RTree(centroids) + for point in points: + nn, _ = tree.nearest_neighbor(point) + new_clusters[nn].append(point) + return new_clusters + + def recenter() -> Iterator[AnyVec]: + for cluster_points in clusters.values(): + yield Vec3.sum(cluster_points) / len(cluster_points) + if len(clusters) < k: # refill centroids if required + yield from random.sample(points, k - len(clusters)) + + def is_equal_clustering(old_clusters, new_clusters): + def hash_list(lst): + lst.sort() + return reduce(operator.xor, map(hash, lst)) + + h1 = sorted(map(hash_list, old_clusters.values())) + h2 = sorted(map(hash_list, new_clusters.values())) + return h1 == h2 + + if not (1 < k < len(points)): + raise ValueError( + "invalid argument k: must be in range [2, len(points)-1]" + ) + clusters: dict[AnyVec, list[AnyVec]] = classify(random.sample(points, k)) + for _ in range(max_iter): + new_clusters = classify(recenter()) + if is_equal_clustering(clusters, new_clusters): + break + clusters = new_clusters + return list(clusters.values()) + + +def average_intra_cluster_distance(clusters: list[list[AnyVec]]) -> float: + """Returns the average point-to-point intra cluster distance.""" + + return statistics.mean( + [ + p.distance(q) + for cluster in clusters + for (p, q) in itertools.combinations(cluster, 2) + ] + ) + + +def average_cluster_radius(clusters: list[list[AnyVec]]) -> float: + """Returns the average cluster radius.""" + + return statistics.mean( + [spherical_envelope(cluster)[1] for cluster in clusters] + ) diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/math/construct2d.py b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/math/construct2d.py new file mode 100644 index 0000000000000000000000000000000000000000..48e30d7ddc14339389bda34bcb409955a6483abd --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/math/construct2d.py @@ -0,0 +1,380 @@ +# Copyright (c) 2011-2024, Manfred Moitzi +# License: MIT License +from __future__ import annotations +from typing import Iterable, Sequence + +from functools import partial +import math +import numpy as np +import numpy.typing as npt + +from ezdxf.math import ( + Vec3, + Vec2, + UVec, + Matrix44, + X_AXIS, + Y_AXIS, + arc_angle_span_rad, +) + +TOLERANCE = 1e-10 +RADIANS_90 = math.pi / 2.0 +RADIANS_180 = math.pi +RADIANS_270 = RADIANS_90 * 3.0 +RADIANS_360 = 2.0 * math.pi + +__all__ = [ + "closest_point", + "convex_hull_2d", + "distance_point_line_2d", + "is_convex_polygon_2d", + "is_axes_aligned_rectangle_2d", + "is_point_on_line_2d", + "is_point_left_of_line", + "point_to_line_relation", + "enclosing_angles", + "sign", + "area", + "np_area", + "circle_radius_3p", + "TOLERANCE", + "has_matrix_2d_stretching", + "decdeg2dms", + "ellipse_param_span", +] + + +def sign(f: float) -> float: + """Return sign of float `f` as -1 or +1, 0 returns +1""" + return -1.0 if f < 0.0 else +1.0 + + +def decdeg2dms(value: float) -> tuple[float, float, float]: + """Return decimal degrees as tuple (Degrees, Minutes, Seconds).""" + mnt, sec = divmod(value * 3600.0, 60.0) + deg, mnt = divmod(mnt, 60.0) + return deg, mnt, sec + + +def ellipse_param_span(start_param: float, end_param: float) -> float: + """Returns the counter-clockwise params span of an elliptic arc from start- + to end param. + + Returns the param span in the range [0, 2π], 2π is a full ellipse. + Full ellipse handling is a special case, because normalization of params + which describe a full ellipse would return 0 if treated as regular params. + e.g. (0, 2π) → 2π, (0, -2π) → 2π, (π, -π) → 2π. + Input params with the same value always return 0 by definition: + (0, 0) → 0, (-π, -π) → 0, (2π, 2π) → 0. + + Alias to function: :func:`ezdxf.math.arc_angle_span_rad` + + """ + return arc_angle_span_rad(float(start_param), float(end_param)) + + +def closest_point(base: UVec, points: Iterable[UVec]) -> Vec3 | None: + """Returns the closest point to a give `base` point. + + Args: + base: base point as :class:`Vec3` compatible object + points: iterable of points as :class:`Vec3` compatible object + + """ + base = Vec3(base) + min_dist: float | None = None + found: Vec3 | None = None + for point in points: + p = Vec3(point) + dist = base.distance(p) + if (min_dist is None) or (dist < min_dist): + min_dist = dist + found = p + return found + + +def convex_hull_2d(points: Iterable[UVec]) -> list[Vec2]: + """Returns the 2D convex hull of given `points`. + + Returns a closed polyline, first vertex is equal to the last vertex. + + Args: + points: iterable of points, z-axis is ignored + + """ + + # Source: https://massivealgorithms.blogspot.com/2019/01/convex-hull-sweep-line.html?m=1 + def cross(o: Vec2, a: Vec2, b: Vec2) -> float: + return (a - o).det(b - o) + + vertices = Vec2.list(set(points)) + vertices.sort() + if len(vertices) < 3: + raise ValueError("Convex hull calculation requires 3 or more unique points.") + + n: int = len(vertices) + hull: list[Vec2] = [Vec2()] * (2 * n) + k: int = 0 + i: int + for i in range(n): + while k >= 2 and cross(hull[k - 2], hull[k - 1], vertices[i]) <= 0.0: + k -= 1 + hull[k] = vertices[i] + k += 1 + t: int = k + 1 + for i in range(n - 2, -1, -1): + while k >= t and cross(hull[k - 2], hull[k - 1], vertices[i]) <= 0.0: + k -= 1 + hull[k] = vertices[i] + k += 1 + return hull[:k] + + +def enclosing_angles(angle, start_angle, end_angle, ccw=True, abs_tol=TOLERANCE): + isclose = partial(math.isclose, abs_tol=abs_tol) + + s = start_angle % math.tau + e = end_angle % math.tau + a = angle % math.tau + if isclose(s, e): + return isclose(s, a) + + if s < e: + r = s < a < e + else: + r = not (e < a < s) + return r if ccw else not r + + +def is_point_on_line_2d( + point: Vec2, start: Vec2, end: Vec2, ray=True, abs_tol=TOLERANCE +) -> bool: + """Returns ``True`` if `point` is on `line`. + + Args: + point: 2D point to test as :class:`Vec2` + start: line definition point as :class:`Vec2` + end: line definition point as :class:`Vec2` + ray: if ``True`` point has to be on the infinite ray, if ``False`` + point has to be on the line segment + abs_tol: tolerance for on the line test + + """ + point_x, point_y = point + start_x, start_y = start + end_x, end_y = end + on_line = ( + math.fabs( + (end_y - start_y) * point_x + - (end_x - start_x) * point_y + + (end_x * start_y - end_y * start_x) + ) + <= abs_tol + ) + if not on_line or ray: + return on_line + else: + if start_x > end_x: + start_x, end_x = end_x, start_x + if not (start_x - abs_tol <= point_x <= end_x + abs_tol): + return False + if start_y > end_y: + start_y, end_y = end_y, start_y + if not (start_y - abs_tol <= point_y <= end_y + abs_tol): + return False + return True + + +def point_to_line_relation( + point: Vec2, start: Vec2, end: Vec2, abs_tol=TOLERANCE +) -> int: + """Returns ``-1`` if `point` is left `line`, ``+1`` if `point` is right of + `line` and ``0`` if `point` is on the `line`. The `line` is defined by two + vertices given as arguments `start` and `end`. + + Args: + point: 2D point to test as :class:`Vec2` + start: line definition point as :class:`Vec2` + end: line definition point as :class:`Vec2` + abs_tol: tolerance for minimum distance to line + + """ + rel = (end.x - start.x) * (point.y - start.y) - (end.y - start.y) * ( + point.x - start.x + ) + if abs(rel) <= abs_tol: + return 0 + elif rel < 0: + return +1 + else: + return -1 + + +def is_point_left_of_line(point: Vec2, start: Vec2, end: Vec2, colinear=False) -> bool: + """Returns ``True`` if `point` is "left of line" defined by `start-` and + `end` point, a colinear point is also "left of line" if argument `colinear` + is ``True``. + + Args: + point: 2D point to test as :class:`Vec2` + start: line definition point as :class:`Vec2` + end: line definition point as :class:`Vec2` + colinear: a colinear point is also "left of line" if ``True`` + + """ + rel = point_to_line_relation(point, start, end) + if colinear: + return rel < 1 + else: + return rel < 0 + + +def distance_point_line_2d(point: Vec2, start: Vec2, end: Vec2) -> float: + """Returns the normal distance from `point` to 2D line defined by `start-` + and `end` point. + """ + # wikipedia: https://en.wikipedia.org/wiki/Distance_from_a_point_to_a_line. + if start.isclose(end): + raise ZeroDivisionError("Not a line.") + return math.fabs((start - point).det(end - point)) / (end - start).magnitude + + +def circle_radius_3p(a: Vec3, b: Vec3, c: Vec3) -> float: + ba = b - a + ca = c - a + cb = c - b + upper = ba.magnitude * ca.magnitude * cb.magnitude + lower = ba.cross(ca).magnitude * 2.0 + return upper / lower + + +def area(vertices: Iterable[UVec]) -> float: + """Returns the area of a polygon. + + Returns the projected area in the xy-plane for any vertices (z-axis will be ignored). + + """ + # TODO: how to do all this in numpy efficiently? + + vec2s = Vec2.list(vertices) + if len(vec2s) < 3: + return 0.0 + + # close polygon: + if not vec2s[0].isclose(vec2s[-1]): + vec2s.append(vec2s[0]) + return np_area(np.array([(v.x, v.y) for v in vec2s], dtype=np.float64)) + + +def np_area(vertices: npt.NDArray) -> float: + """Returns the area of a polygon. + + Returns the projected area in the xy-plane, the z-axis will be ignored. + The polygon has to be closed (first vertex == last vertex) and should have 3 or more + corner vertices to return a valid result. + + Args: + vertices: numpy array [:, n], n > 1 + + """ + p1x = vertices[:-1, 0] + p2x = vertices[1:, 0] + p1y = vertices[:-1, 1] + p2y = vertices[1:, 1] + return np.abs(np.sum(p1x * p2y - p1y * p2x)) * 0.5 + + +def has_matrix_2d_stretching(m: Matrix44) -> bool: + """Returns ``True`` if matrix `m` performs a non-uniform xy-scaling. + Uniform scaling is not stretching in this context. + + Does not check if the target system is a cartesian coordinate system, use the + :class:`~ezdxf.math.Matrix44` property :attr:`~ezdxf.math.Matrix44.is_cartesian` + for that. + """ + ux = m.transform_direction(X_AXIS) + uy = m.transform_direction(Y_AXIS) + return not math.isclose(ux.magnitude_square, uy.magnitude_square) + + +def is_convex_polygon_2d(polygon: list[Vec2], *, strict=False, epsilon=1e-6) -> bool: + """Returns ``True`` if the 2D `polygon` is convex. + + This function supports open and closed polygons with clockwise or counter-clockwise + vertex orientation. + + Coincident vertices will always be skipped and if argument `strict` is ``True``, + polygons with collinear vertices are not considered as convex. + + This solution works only for simple non-self-intersecting polygons! + + """ + # TODO: Cython implementation + if len(polygon) < 3: + return False + + global_sign: int = 0 + current_sign: int = 0 + prev = polygon[-1] + prev_prev = polygon[-2] + for vertex in polygon: + if vertex.isclose(prev): # skip coincident vertices + continue + + det = (prev - vertex).det(prev_prev - prev) + if abs(det) >= epsilon: + current_sign = -1 if det < 0.0 else +1 + if not global_sign: + global_sign = current_sign + # do all determinants have the same sign? + if global_sign != current_sign: + return False + elif strict: # collinear vertices + return False + + prev_prev = prev + prev = vertex + return bool(global_sign) + + +def is_axes_aligned_rectangle_2d(points: list[Vec2]) -> bool: + """Returns ``True`` if the given points represent a rectangle aligned with the + coordinate system axes. + + The sides of the rectangle must be parallel to the x- and y-axes of the coordinate + system. The rectangle can be open or closed (first point == last point) and + oriented clockwise or counter-clockwise. Only works with 4 or 5 vertices, rectangles + that have sides with collinear edges are not considered rectangles. + + .. versionadded:: 1.2.0 + + """ + + def is_horizontal(a: Vec2, b: Vec2) -> bool: + return math.isclose(a.y, b.y) + + def is_vertical(a: Vec2, b: Vec2): + return math.isclose(a.x, b.x) + + count = len(points) + if points[0].isclose(points[-1]): + count -= 1 + if count != 4: + return False + p0, p1, p2, p3, *_ = points + if ( + is_horizontal(p0, p1) + and is_vertical(p1, p2) + and is_horizontal(p2, p3) + and is_vertical(p3, p0) + ): + return True + if ( + is_horizontal(p1, p2) + and is_vertical(p2, p3) + and is_horizontal(p3, p0) + and is_vertical(p0, p1) + ): + return True + return False diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/math/construct3d.py b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/math/construct3d.py new file mode 100644 index 0000000000000000000000000000000000000000..644dfebeabfd89b14b5b4c61b8f9598b3d18b218 --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/math/construct3d.py @@ -0,0 +1,804 @@ +# Copyright (c) 2020-2025, Manfred Moitzi +# License: MIT License +from __future__ import annotations +from typing import Sequence, Iterable, Optional, Iterator +from enum import IntEnum +import math +import numpy as np + +from ezdxf.math import ( + Vec3, + Vec2, + Matrix44, + X_AXIS, + Y_AXIS, + Z_AXIS, + UVec, +) + + +__all__ = [ + "is_planar_face", + "subdivide_face", + "subdivide_ngons", + "Plane", + "PlaneLocationState", + "normal_vector_3p", + "safe_normal_vector", + "distance_point_line_3d", + "intersection_line_line_3d", + "intersection_ray_polygon_3d", + "intersection_line_polygon_3d", + "basic_transformation", + "best_fit_normal", + "BarycentricCoordinates", + "linear_vertex_spacing", + "has_matrix_3d_stretching", + "spherical_envelope", + "inscribe_circle_tangent_length", + "bending_angle", + "split_polygon_by_plane", + "is_face_normal_pointing_outwards", + "is_vertex_order_ccw_3d", +] +PI2 = math.pi / 2.0 + + +def is_planar_face(face: Sequence[Vec3], abs_tol=1e-9) -> bool: + """Returns ``True`` if sequence of vectors is a planar face. + + Args: + face: sequence of :class:`~ezdxf.math.Vec3` objects + abs_tol: tolerance for normals check + + """ + if len(face) < 3: + return False + if len(face) == 3: + return True + first_normal = None + for index in range(len(face) - 2): + a, b, c = face[index : index + 3] + try: + normal = (b - a).cross(c - b).normalize() + except ZeroDivisionError: # colinear edge + continue + if first_normal is None: + first_normal = normal + elif not first_normal.isclose(normal, abs_tol=abs_tol): + return False + if first_normal is not None: + return True + return False + + +def subdivide_face( + face: Sequence[Vec3], quads: bool = True +) -> Iterator[Sequence[Vec3]]: + """Subdivides faces by subdividing edges and adding a center vertex. + + Args: + face: a sequence of :class:`Vec3` + quads: create quad faces if ``True`` else create triangles + + """ + if len(face) < 3: + raise ValueError("3 or more vertices required.") + + len_face: int = len(face) + mid_pos = Vec3.sum(face) / len_face + subdiv_location: list[Vec3] = [ + face[i].lerp(face[(i + 1) % len_face]) for i in range(len_face) + ] + + for index, vertex in enumerate(face): + if quads: + yield vertex, subdiv_location[index], mid_pos, subdiv_location[index - 1] + else: + yield subdiv_location[index - 1], vertex, mid_pos + yield vertex, subdiv_location[index], mid_pos + + +def subdivide_ngons( + faces: Iterable[Sequence[Vec3]], + max_vertex_count=4, +) -> Iterator[Sequence[Vec3]]: + """Subdivides faces into triangles by adding a center vertex. + + Args: + faces: iterable of faces as sequence of :class:`Vec3` + max_vertex_count: subdivide only ngons with more vertices + + """ + for face in faces: + if len(face) <= max_vertex_count: + yield Vec3.tuple(face) + else: + mid_pos = Vec3.sum(face) / len(face) + for index, vertex in enumerate(face): + yield face[index - 1], vertex, mid_pos + + +def normal_vector_3p(a: Vec3, b: Vec3, c: Vec3) -> Vec3: + """Returns normal vector for 3 points, which is the normalized cross + product for: :code:`a->b x a->c`. + """ + return (b - a).cross(c - a).normalize() + + +def safe_normal_vector(vertices: Sequence[Vec3]) -> Vec3: + """Safe function to detect the normal vector for a face or polygon defined + by 3 or more `vertices`. + + """ + if len(vertices) < 3: + raise ValueError("3 or more vertices required") + a, b, c, *_ = vertices + try: # fast path + return (b - a).cross(c - a).normalize() + except ZeroDivisionError: # safe path, can still raise ZeroDivisionError + return best_fit_normal(vertices) + + +def best_fit_normal(vertices: Iterable[UVec]) -> Vec3: + """Returns the "best fit" normal for a plane defined by three or more + vertices. This function tolerates imperfect plane vertices. Safe function + to detect the extrusion vector of flat arbitrary polygons. + + """ + # Source: https://gamemath.com/book/geomprims.html#plane_best_fit (9.5.3) + _vertices = Vec3.list(vertices) + if len(_vertices) < 3: + raise ValueError("3 or more vertices required") + first = _vertices[0] + if not first.isclose(_vertices[-1]): + _vertices.append(first) # close polygon + prev_x, prev_y, prev_z = first.xyz + nx = 0.0 + ny = 0.0 + nz = 0.0 + for v in _vertices[1:]: + x, y, z = v.xyz + nx += (prev_z + z) * (prev_y - y) + ny += (prev_x + x) * (prev_z - z) + nz += (prev_y + y) * (prev_x - x) + prev_x = x + prev_y = y + prev_z = z + return Vec3(nx, ny, nz).normalize() + + +def distance_point_line_3d(point: Vec3, start: Vec3, end: Vec3) -> float: + """Returns the normal distance from a `point` to a 3D line. + + Args: + point: point to test + start: start point of the 3D line + end: end point of the 3D line + + """ + if start.isclose(end): + raise ZeroDivisionError("Not a line.") + v1 = point - start + # point projected onto line start to end: + v2 = (end - start).project(v1) + # Pythagoras: + diff = v1.magnitude_square - v2.magnitude_square + if diff <= 0.0: + # This should not happen (abs(v1) > abs(v2)), but floating point + # imprecision at very small values makes it possible! + return 0.0 + else: + return math.sqrt(diff) + + +def intersection_line_line_3d( + line1: Sequence[Vec3], + line2: Sequence[Vec3], + virtual: bool = True, + abs_tol: float = 1e-10, +) -> Optional[Vec3]: + """ + Returns the intersection point of two 3D lines, returns ``None`` if lines + do not intersect. + + Args: + line1: first line as tuple of two points as :class:`Vec3` objects + line2: second line as tuple of two points as :class:`Vec3` objects + virtual: ``True`` returns any intersection point, ``False`` returns only + real intersection points + abs_tol: absolute tolerance for comparisons + + """ + from ezdxf.math import intersection_ray_ray_3d, BoundingBox + + res = intersection_ray_ray_3d(line1, line2, abs_tol) + if len(res) != 1: + return None + + point = res[0] + if virtual: + return point + if BoundingBox(line1).inside(point) and BoundingBox(line2).inside(point): + return point + return None + + +def basic_transformation( + move: UVec = (0, 0, 0), + scale: UVec = (1, 1, 1), + z_rotation: float = 0, +) -> Matrix44: + """Returns a combined transformation matrix for translation, scaling and + rotation about the z-axis. + + Args: + move: translation vector + scale: x-, y- and z-axis scaling as float triplet, e.g. (2, 2, 1) + z_rotation: rotation angle about the z-axis in radians + + """ + sx, sy, sz = Vec3(scale) + m = Matrix44.scale(sx, sy, sz) + if z_rotation: + m *= Matrix44.z_rotate(z_rotation) + translate = Vec3(move) + if not translate.is_null: + m *= Matrix44.translate(translate.x, translate.y, translate.z) + return m + + +PLANE_EPSILON = 1e-9 + + +class PlaneLocationState(IntEnum): + COPLANAR = 0 # all the vertices are within the plane + FRONT = 1 # all the vertices are in front of the plane + BACK = 2 # all the vertices are at the back of the plane + SPANNING = 3 # some vertices are in front, some in the back + + +class Plane: + """Construction tool for 3D planes. + + Represents a plane in 3D space as a normal vector and the perpendicular + distance from the origin. + """ + + __slots__ = ("_normal", "_distance_from_origin") + + def __init__(self, normal: Vec3, distance: float): + assert normal.is_null is False, "invalid plane normal" + self._normal = normal + # the (perpendicular) distance of the plane from (0, 0, 0) + self._distance_from_origin = distance + + @property + def normal(self) -> Vec3: + """Normal vector of the plane.""" + return self._normal + + @property + def distance_from_origin(self) -> float: + """The (perpendicular) distance of the plane from origin (0, 0, 0).""" + return self._distance_from_origin + + @property + def vector(self) -> Vec3: + """Returns the location vector.""" + return self._normal * self._distance_from_origin + + @classmethod + def from_3p(cls, a: Vec3, b: Vec3, c: Vec3) -> "Plane": + """Returns a new plane from 3 points in space.""" + try: + n = (b - a).cross(c - a).normalize() + except ZeroDivisionError: + raise ValueError("undefined plane: colinear vertices") + return Plane(n, n.dot(a)) + + @classmethod + def from_vector(cls, vector: UVec) -> "Plane": + """Returns a new plane from the given location vector.""" + v = Vec3(vector) + try: + return Plane(v.normalize(), v.magnitude) + except ZeroDivisionError: + raise ValueError("invalid NULL vector") + + def __copy__(self) -> "Plane": + """Returns a copy of the plane.""" + return self.__class__(self._normal, self._distance_from_origin) + + copy = __copy__ + + def __repr__(self): + return f"Plane({repr(self._normal)}, {self._distance_from_origin})" + + def __eq__(self, other: object) -> bool: + if not isinstance(other, Plane): + return NotImplemented + return self.vector == other.vector + + def signed_distance_to(self, v: Vec3) -> float: + """Returns signed distance of vertex `v` to plane, if distance is > 0, + `v` is in 'front' of plane, in direction of the normal vector, if + distance is < 0, `v` is at the 'back' of the plane, in the opposite + direction of the normal vector. + + """ + return self._normal.dot(v) - self._distance_from_origin + + def distance_to(self, v: Vec3) -> float: + """Returns absolute (unsigned) distance of vertex `v` to plane.""" + return math.fabs(self.signed_distance_to(v)) + + def is_coplanar_vertex(self, v: Vec3, abs_tol=1e-9) -> bool: + """Returns ``True`` if vertex `v` is coplanar, distance from plane to + vertex `v` is 0. + """ + return self.distance_to(v) < abs_tol + + def is_coplanar_plane(self, p: "Plane", abs_tol=1e-9) -> bool: + """Returns ``True`` if plane `p` is coplanar, normal vectors in same or + opposite direction. + """ + n_is_close = self._normal.isclose + return n_is_close(p._normal, abs_tol=abs_tol) or n_is_close( + -p._normal, abs_tol=abs_tol + ) + + def intersect_line( + self, start: Vec3, end: Vec3, *, coplanar=True, abs_tol=PLANE_EPSILON + ) -> Optional[Vec3]: + """Returns the intersection point of the 3D line from `start` to `end` + and this plane or ``None`` if there is no intersection. If the argument + `coplanar` is ``False`` the start- or end point of the line are ignored + as intersection points. + + """ + state0 = self.vertex_location_state(start, abs_tol) + state1 = self.vertex_location_state(end, abs_tol) + if state0 is state1: + return None + if not coplanar and ( + state0 is PlaneLocationState.COPLANAR + or state1 is PlaneLocationState.COPLANAR + ): + return None + n = self.normal + weight = (self.distance_from_origin - n.dot(start)) / n.dot(end - start) + return start.lerp(end, weight) + + def intersect_ray(self, origin: Vec3, direction: Vec3) -> Optional[Vec3]: + """Returns the intersection point of the infinite 3D ray defined by + `origin` and the `direction` vector and this plane or ``None`` if there + is no intersection. A coplanar ray does not intersect the plane! + + """ + n = self.normal + try: + weight = (self.distance_from_origin - n.dot(origin)) / n.dot(direction) + except ZeroDivisionError: + return None + return origin + (direction * weight) + + def vertex_location_state( + self, vertex: Vec3, abs_tol=PLANE_EPSILON + ) -> PlaneLocationState: + """Returns the :class:`PlaneLocationState` of the given `vertex` in + relative to this plane. + + """ + distance = self._normal.dot(vertex) - self._distance_from_origin + if distance < -abs_tol: + return PlaneLocationState.BACK + elif distance > abs_tol: + return PlaneLocationState.FRONT + else: + return PlaneLocationState.COPLANAR + + +def split_polygon_by_plane( + polygon: Iterable[Vec3], + plane: Plane, + *, + coplanar=True, + abs_tol=PLANE_EPSILON, +) -> tuple[Sequence[Vec3], Sequence[Vec3]]: + """Split a convex `polygon` by the given `plane`. + + Returns a tuple of front- and back vertices (front, back). + Returns also coplanar polygons if the + argument `coplanar` is ``True``, the coplanar vertices goes into either + front or back depending on their orientation with respect to this plane. + + """ + polygon_type = PlaneLocationState.COPLANAR + vertex_types: list[PlaneLocationState] = [] + front_vertices: list[Vec3] = [] + back_vertices: list[Vec3] = [] + vertices = list(polygon) + w = plane.distance_from_origin + normal = plane.normal + + # Classify each point as well as the entire polygon into one of four classes: + # COPLANAR, FRONT, BACK, SPANNING = FRONT + BACK + for vertex in vertices: + vertex_type = plane.vertex_location_state(vertex, abs_tol) + polygon_type |= vertex_type # type: ignore + vertex_types.append(vertex_type) + + # Put the polygon in the correct list, splitting it when necessary. + if polygon_type == PlaneLocationState.COPLANAR: + if coplanar: + polygon_normal = best_fit_normal(vertices) + if normal.dot(polygon_normal) > 0: + front_vertices = vertices + else: + back_vertices = vertices + elif polygon_type == PlaneLocationState.FRONT: + front_vertices = vertices + elif polygon_type == PlaneLocationState.BACK: + back_vertices = vertices + elif polygon_type == PlaneLocationState.SPANNING: + len_vertices = len(vertices) + for index in range(len_vertices): + next_index = (index + 1) % len_vertices + vertex_type = vertex_types[index] + next_vertex_type = vertex_types[next_index] + vertex = vertices[index] + next_vertex = vertices[next_index] + if vertex_type != PlaneLocationState.BACK: # FRONT or COPLANAR + front_vertices.append(vertex) + if vertex_type != PlaneLocationState.FRONT: # BACK or COPLANAR + back_vertices.append(vertex) + if (vertex_type | next_vertex_type) == PlaneLocationState.SPANNING: + interpolation_weight = (w - normal.dot(vertex)) / normal.dot( + next_vertex - vertex + ) + plane_intersection_point = vertex.lerp( + next_vertex, interpolation_weight + ) + front_vertices.append(plane_intersection_point) + back_vertices.append(plane_intersection_point) + if len(front_vertices) < 3: + front_vertices = [] + if len(back_vertices) < 3: + back_vertices = [] + return tuple(front_vertices), tuple(back_vertices) + + +def intersection_line_polygon_3d( + start: Vec3, + end: Vec3, + polygon: Iterable[Vec3], + *, + coplanar=True, + boundary=True, + abs_tol=PLANE_EPSILON, +) -> Optional[Vec3]: + """Returns the intersection point of the 3D line form `start` to `end` and + the given `polygon`. + + Args: + start: start point of 3D line as :class:`Vec3` + end: end point of 3D line as :class:`Vec3` + polygon: 3D polygon as iterable of :class:`Vec3` + coplanar: if ``True`` a coplanar start- or end point as intersection + point is valid + boundary: if ``True`` an intersection point at the polygon boundary line + is valid + abs_tol: absolute tolerance for comparisons + + """ + vertices = list(polygon) + if len(vertices) < 3: + raise ValueError("3 or more vertices required") + try: + normal = safe_normal_vector(vertices) + except ZeroDivisionError: + return None + plane = Plane(normal, normal.dot(vertices[0])) + ip = plane.intersect_line(start, end, coplanar=coplanar, abs_tol=abs_tol) + if ip is None: + return None + return _is_intersection_point_inside_3d_polygon( + ip, vertices, normal, boundary, abs_tol + ) + + +def intersection_ray_polygon_3d( + origin: Vec3, + direction: Vec3, + polygon: Iterable[Vec3], + *, + boundary=True, + abs_tol=PLANE_EPSILON, +) -> Optional[Vec3]: + """Returns the intersection point of the infinite 3D ray defined by `origin` + and the `direction` vector and the given `polygon`. + + Args: + origin: origin point of the 3D ray as :class:`Vec3` + direction: direction vector of the 3D ray as :class:`Vec3` + polygon: 3D polygon as iterable of :class:`Vec3` + boundary: if ``True`` intersection points at the polygon boundary line + are valid + abs_tol: absolute tolerance for comparisons + + """ + + vertices = list(polygon) + if len(vertices) < 3: + raise ValueError("3 or more vertices required") + try: + normal = safe_normal_vector(vertices) + except ZeroDivisionError: + return None + plane = Plane(normal, normal.dot(vertices[0])) + ip = plane.intersect_ray(origin, direction) + if ip is None: + return None + return _is_intersection_point_inside_3d_polygon( + ip, vertices, normal, boundary, abs_tol + ) + + +def _is_intersection_point_inside_3d_polygon( + ip: Vec3, vertices: list[Vec3], normal: Vec3, boundary: bool, abs_tol: float +): + from ezdxf.math import is_point_in_polygon_2d, OCS + + ocs = OCS(normal) + ocs_vertices = Vec2.list(ocs.points_from_wcs(vertices)) + state = is_point_in_polygon_2d( + Vec2(ocs.from_wcs(ip)), ocs_vertices, abs_tol=abs_tol + ) + if state > 0 or (boundary and state == 0): + return ip + return None + + +class BarycentricCoordinates: + """Barycentric coordinate calculation. + + The arguments `a`, `b` and `c` are the cartesian coordinates of an arbitrary + triangle in 3D space. The barycentric coordinates (b1, b2, b3) define the + linear combination of `a`, `b` and `c` to represent the point `p`:: + + p = a * b1 + b * b2 + c * b3 + + This implementation returns the barycentric coordinates of the normal + projection of `p` onto the plane defined by (a, b, c). + + These barycentric coordinates have some useful properties: + + - if all barycentric coordinates (b1, b2, b3) are in the range [0, 1], then + the point `p` is inside the triangle (a, b, c) + - if one of the coordinates is negative, the point `p` is outside the + triangle + - the sum of b1, b2 and b3 is always 1 + - the center of "mass" has the barycentric coordinates (1/3, 1/3, 1/3) = + (a + b + c)/3 + + """ + + # Source: https://gamemath.com/book/geomprims.html#triangle_barycentric_space + + def __init__(self, a: UVec, b: UVec, c: UVec): + self.a = Vec3(a) + self.b = Vec3(b) + self.c = Vec3(c) + self._e1 = self.c - self.b + self._e2 = self.a - self.c + self._e3 = self.b - self.a + e1xe2 = self._e1.cross(self._e2) + self._n = e1xe2.normalize() + self._denom = e1xe2.dot(self._n) + if abs(self._denom) < 1e-9: + raise ValueError("invalid triangle") + + def from_cartesian(self, p: UVec) -> Vec3: + p = Vec3(p) + n = self._n + denom = self._denom + d1 = p - self.a + d2 = p - self.b + d3 = p - self.c + b1 = self._e1.cross(d3).dot(n) / denom + b2 = self._e2.cross(d1).dot(n) / denom + b3 = self._e3.cross(d2).dot(n) / denom + return Vec3(b1, b2, b3) + + def to_cartesian(self, b: UVec) -> Vec3: + b1, b2, b3 = Vec3(b).xyz + return self.a * b1 + self.b * b2 + self.c * b3 + + +def linear_vertex_spacing(start: Vec3, end: Vec3, count: int) -> list[Vec3]: + """Returns `count` evenly spaced vertices from `start` to `end`.""" + if count <= 2: + return [start, end] + distance = end - start + if distance.is_null: + return [start] * count + + vertices = [start] + step = distance.normalize(distance.magnitude / (count - 1)) + for _ in range(1, count - 1): + start += step + vertices.append(start) + vertices.append(end) + return vertices + + +def has_matrix_3d_stretching(m: Matrix44) -> bool: + """Returns ``True`` if matrix `m` performs a non-uniform xyz-scaling. + Uniform scaling is not stretching in this context. + + Does not check if the target system is a cartesian coordinate system, use the + :class:`~ezdxf.math.Matrix44` property :attr:`~ezdxf.math.Matrix44.is_cartesian` + for that. + """ + ux_mag_sqr = m.transform_direction(X_AXIS).magnitude_square + uy = m.transform_direction(Y_AXIS) + uz = m.transform_direction(Z_AXIS) + return not math.isclose(ux_mag_sqr, uy.magnitude_square) or not math.isclose( + ux_mag_sqr, uz.magnitude_square + ) + + +def spherical_envelope(points: Sequence[UVec]) -> tuple[Vec3, float]: + """Calculate the spherical envelope for the given points. Returns the + centroid (a.k.a. geometric center) and the radius of the enclosing sphere. + + .. note:: + + The result does not represent the minimal bounding sphere! + + """ + centroid = Vec3.sum(points) / len(points) + radius = max(centroid.distance(p) for p in points) + return centroid, radius + + +def inscribe_circle_tangent_length(dir1: Vec3, dir2: Vec3, radius: float) -> float: + """Returns the tangent length of an inscribe-circle of the given `radius`. + The direction `dir1` and `dir2` define two intersection tangents, + The tangent length is the distance from the intersection point of the + tangents to the touching point on the inscribe-circle. + + """ + alpha = dir1.angle_between(dir2) + beta = PI2 - (alpha / 2.0) + if math.isclose(abs(beta), PI2): + return 0.0 + return abs(math.tan(beta) * radius) + + +def bending_angle(dir1: Vec3, dir2: Vec3, normal=Z_AXIS) -> float: + """Returns the bending angle from `dir1` to `dir2` in radians. + + The normal vector is required to detect the bending orientation, + an angle > 0 bends to the "left" an angle < 0 bends to the "right". + + """ + angle = dir1.angle_between(dir2) + nn = dir1.cross(dir2) + if nn.isclose(normal) or nn.is_null: + return angle + elif nn.isclose(-normal): + return -angle + raise ValueError("invalid normal vector") + + +def any_vertex_inside_face(vertices: Sequence[Vec3]) -> Vec3: + """Returns a vertex from the "inside" of the given face.""" + # Triangulation is for concave shapes important! + from ezdxf.math.triangulation import mapbox_earcut_3d + + it = mapbox_earcut_3d(vertices) + return Vec3.sum(next(it)) / 3.0 + + +def front_faces_intersect_face_normal( + faces: Sequence[Sequence[Vec3]], + face: Sequence[Vec3], + *, + abs_tol=PLANE_EPSILON, +) -> int: + """Returns the count of intersections of the normal-vector of the given + `face` with the `faces` in front of this `face`. + + A counter-clockwise vertex order is assumed! + + """ + + def is_face_in_front_of_detector(vertices: Sequence[Vec3]) -> bool: + if len(vertices) < 3: + return False + return any(detector_plane.signed_distance_to(v) > abs_tol for v in vertices) + + # face-normal for counter-clockwise vertex order + face_normal = safe_normal_vector(face) + origin = any_vertex_inside_face(face) + detector_plane = Plane(face_normal, face_normal.dot(origin)) + + # collect all faces with at least one vertex in front of the detection plane + front_faces = (f for f in faces if is_face_in_front_of_detector(f)) + + # The detector face is excluded by the + # is_face_in_front_of_detector() function! + + intersection_points: set[Vec3] = set() + for face in front_faces: + ip = intersection_ray_polygon_3d( + origin, face_normal, face, boundary=True, abs_tol=abs_tol + ) + if ip is None: + continue + if detector_plane.signed_distance_to(ip) > abs_tol: + # Only count unique intersections points, the ip could lie on an + # edge (2 ips) or even a corner vertex (3 or more ips). + intersection_points.add(ip.round(6)) + return len(intersection_points) + + +def is_face_normal_pointing_outwards( + faces: Sequence[Sequence[Vec3]], + face: Sequence[Vec3], + *, + abs_tol=PLANE_EPSILON, +) -> bool: + """Returns ``True`` if the face-normal for the given `face` of a + closed surface is pointing outwards. A counter-clockwise vertex order is + assumed, for faces with clockwise vertex order the result is inverted, + therefore ``False`` is pointing outwards. + + This function does not check if the `faces` are a closed surface. + + """ + return front_faces_intersect_face_normal(faces, face, abs_tol=abs_tol) % 2 == 0 + + +def is_vertex_order_ccw_3d(vertices: list[Vec3], normal: Vec3) -> bool: + """Returns ``True`` when the given 3D vertices have a counter-clockwise order around + the given normal vector. + + Works for convex and concave shapes. Does not check or care if all vertices are + located in a flat plane or if the normal vector is really perpendicular to the + shape, but the result may be incorrect in that cases. + + Args: + vertices (list): corner vertices of a flat shape (polygon) + normal (Vec3): normal vector of the shape + + Raises: + ValueError: input has less than 3 vertices + + """ + if len(vertices) < 3: + raise ValueError("3 or more vertices required") + + def signed_area() -> float: + # using the shoelace formula. + polygon = np.array(vertices) + if dom == 0: # dominant X, use YZ plane + x, y = polygon[:, 1], polygon[:, 2] + elif dom == 1: # dominant Y, use XZ plane + x, y = polygon[:, 0], polygon[:, 2] + else: # dominant Z, use XY plane + x, y = polygon[:, 0], polygon[:, 1] + # returns twice the area, but only the sign is relevant for this use case + return np.dot(x, np.roll(y, -1)) - np.dot(y, np.roll(x, -1)) + + # The polygon is maybe concave, direct cross-product checks between + # adjacent edges are unreliable. Instead, use a projected signed area method. + # Find dominant axis: + abs_axis = abs(normal.x), abs(normal.y), abs(normal.z) + dom = abs_axis.index(max(abs_axis)) + + ccw = signed_area() > 0 + dom_axis = normal[dom] + return dom_axis > 0 if ccw else dom_axis < 0 diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/math/cspline.py b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/math/cspline.py new file mode 100644 index 0000000000000000000000000000000000000000..f4cfcefa18dd872e997f211d616f0931701197b3 --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/math/cspline.py @@ -0,0 +1,40 @@ +# Copyright (c) 2020-2024, Manfred Moitzi +# License: MIT License +from __future__ import annotations +from typing import Iterable +import numpy as np + +from ezdxf.math import Vec3 + + +class CSpline: + """ + In numerical analysis, a cubic Hermite spline or cubic Hermite interpolator + is a spline where each piece is a third-degree polynomial specified in + Hermite form, that is, by its values and first derivatives at the end points + of the corresponding domain interval. + + Source: https://en.wikipedia.org/wiki/Cubic_Hermite_spline + """ + + # https://de.wikipedia.org/wiki/Kubisch_Hermitescher_Spline + def __init__(self, p0: Vec3, p1: Vec3, m0: Vec3, m1: Vec3): + self.p0 = p0 + self.p1 = p1 + self.m0 = m0 + self.m1 = m1 + + def point(self, t: float) -> Vec3: + t2 = t * t + t3 = t2 * t + h00 = t3 * 2.0 - t2 * 3.0 + 1.0 + h10 = -t3 * 2.0 + t2 * 3.0 + h01 = t3 - t2 * 2.0 + t + h11 = t3 - t2 + return self.p0 * h00 + self.p1 * h10 + self.m0 * h01 + self.m1 * h11 + + +def approximate(csplines: Iterable[CSpline], count) -> Iterable[Vec3]: + for cspline in csplines: + for t in np.linspace(0.0, 1.0, count): + yield cspline.point(t) diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/math/curvetools.py b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/math/curvetools.py new file mode 100644 index 0000000000000000000000000000000000000000..8081914dfef48ff01bc945fe5e007c13cd925bc1 --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/math/curvetools.py @@ -0,0 +1,286 @@ +# Copyright (c) 2021-2022, Manfred Moitzi +# License: MIT License +from __future__ import annotations +from typing import Iterable, Union, Sequence, TypeVar +import math +from ezdxf.math import ( + BSpline, + Bezier4P, + Bezier3P, + UVec, + Vec3, + Vec2, + AnyVec, + BoundingBox, +) +from ezdxf.math.linalg import cubic_equation + +__all__ = [ + "bezier_to_bspline", + "quadratic_to_cubic_bezier", + "have_bezier_curves_g1_continuity", + "AnyBezier", + "reverse_bezier_curves", + "split_bezier", + "quadratic_bezier_from_3p", + "cubic_bezier_from_3p", + "cubic_bezier_bbox", + "quadratic_bezier_bbox", + "intersection_ray_cubic_bezier_2d", +] + + +T = TypeVar("T", bound=AnyVec) + +AnyBezier = Union[Bezier3P, Bezier4P] + + +def quadratic_to_cubic_bezier(curve: Bezier3P) -> Bezier4P: + """Convert quadratic Bèzier curves (:class:`ezdxf.math.Bezier3P`) into + cubic Bèzier curves (:class:`ezdxf.math.Bezier4P`). + + """ + start, control, end = curve.control_points + control_1 = start + 2 * (control - start) / 3 + control_2 = end + 2 * (control - end) / 3 + return Bezier4P((start, control_1, control_2, end)) + + +def bezier_to_bspline(curves: Iterable[AnyBezier]) -> BSpline: + """Convert multiple quadratic or cubic Bèzier curves into a single cubic + B-spline. + + For good results the curves must be lined up seamlessly, i.e. the starting + point of the following curve must be the same as the end point of the + previous curve. G1 continuity or better at the connection points of the + Bézier curves is required to get best results. + + """ + + # Source: https://math.stackexchange.com/questions/2960974/convert-continuous-bezier-curve-to-b-spline + def get_points(bezier: AnyBezier): + points = bezier.control_points + if len(points) < 4: + return quadratic_to_cubic_bezier(bezier).control_points + else: + return points + + bezier_curve_points = [get_points(c) for c in curves] + if len(bezier_curve_points) == 0: + raise ValueError("one or more Bézier curves required") + # Control points of the B-spline are the same as of the Bézier curves. + # Remove duplicate control points at start and end of the curves. + control_points = list(bezier_curve_points[0]) + for c in bezier_curve_points[1:]: + control_points.extend(c[1:]) + knots = [0, 0, 0, 0] # multiplicity of the 1st and last control point is 4 + n = len(bezier_curve_points) + for k in range(1, n): + knots.extend((k, k, k)) # multiplicity of the inner control points is 3 + knots.extend((n, n, n, n)) + return BSpline(control_points, order=4, knots=knots) + + +def have_bezier_curves_g1_continuity( + b1: AnyBezier, b2: AnyBezier, g1_tol: float = 1e-4 +) -> bool: + """Return ``True`` if the given adjacent Bézier curves have G1 continuity. + """ + b1_pnts = tuple(b1.control_points) + b2_pnts = tuple(b2.control_points) + + if not b1_pnts[-1].isclose(b2_pnts[0]): + return False # start- and end point are not close enough + + try: + te = (b1_pnts[-1] - b1_pnts[-2]).normalize() + except ZeroDivisionError: + return False # tangent calculation not possible + + try: + ts = (b2_pnts[1] - b2_pnts[0]).normalize() + except ZeroDivisionError: + return False # tangent calculation not possible + + # 0 = normal; 1 = same direction; -1 = opposite direction + return math.isclose(te.dot(ts), 1.0, abs_tol=g1_tol) + + +def reverse_bezier_curves(curves: list[AnyBezier]) -> list[AnyBezier]: + curves = list(c.reverse() for c in curves) + curves.reverse() + return curves + + +def split_bezier( + control_points: Sequence[T], t: float +) -> tuple[list[T], list[T]]: + """Split a Bèzier curve at parameter `t`. + + Returns the control points for two new Bèzier curves of the same degree + and type as the input curve. (source: `pomax-1`_) + + Args: + control_points: of the Bèzier curve as :class:`Vec2` or :class:`Vec3` + objects. Requires 3 points for a quadratic curve, 4 points for a + cubic curve , ... + t: parameter where to split the curve in the range [0, 1] + + .. _pomax-1: https://pomax.github.io/bezierinfo/#splitting + + """ + if len(control_points) < 2: + raise ValueError("2 or more control points required") + if t < 0.0 or t > 1.0: + raise ValueError("parameter `t` must be in range [0, 1]") + left: list[T] = [] + right: list[T] = [] + + def split(points: Sequence[T]): + n: int = len(points) - 1 + left.append(points[0]) + right.append(points[n]) + if n == 0: + return + split( + tuple(points[i] * (1.0 - t) + points[i + 1] * t for i in range(n)) + ) + + split(control_points) + return left, right + + +def quadratic_bezier_from_3p(p1: UVec, p2: UVec, p3: UVec) -> Bezier3P: + """Returns a quadratic Bèzier curve :class:`Bezier3P` from three points. + The curve starts at `p1`, goes through `p2` and ends at `p3`. + (source: `pomax-2`_) + + .. _pomax-2: https://pomax.github.io/bezierinfo/#pointcurves + + """ + + def u_func(t: float) -> float: + mt = 1.0 - t + mt2 = mt * mt + return mt2 / (t * t + mt2) + + def ratio(t: float) -> float: + t2 = t * t + mt = 1.0 - t + mt2 = mt * mt + return abs((t2 + mt2 - 1.0) / (t2 + mt2)) + + s = Vec3(p1) + b = Vec3(p2) + e = Vec3(p3) + d1 = (s - b).magnitude + d2 = (e - b).magnitude + t = d1 / (d1 + d2) + u = u_func(t) + c = s * u + e * (1.0 - u) + a = b + (b - c) / ratio(t) + return Bezier3P([s, a, e]) + + +def cubic_bezier_from_3p(p1: UVec, p2: UVec, p3: UVec) -> Bezier4P: + """Returns a cubic Bèzier curve :class:`Bezier4P` from three points. + The curve starts at `p1`, goes through `p2` and ends at `p3`. + (source: `pomax-2`_) + """ + qbez = quadratic_bezier_from_3p(p1, p2, p3) + return quadratic_to_cubic_bezier(qbez) + + +def cubic_bezier_bbox(curve: Bezier4P, *, abs_tol=1e-12) -> BoundingBox: + """Returns the :class:`~ezdxf.math.BoundingBox` of a cubic Bézier curve + of type :class:`~ezdxf.math.Bezier4P`. + """ + cp = curve.control_points + points: list[Vec3] = [cp[0], cp[3]] + for p1, p2, p3, p4 in zip(*cp): + a = 3.0 * (-p1 + 3.0 * p2 - 3.0 * p3 + p4) + b = 6.0 * (p1 - 2.0 * p2 + p3) + c = 3.0 * (p2 - p1) + if abs(a) < abs_tol: + if abs(b) < abs_tol: + t = -c # or skip this case? + else: + t = -c / b + if 0.0 < t < 1.0: + points.append((curve.point(t))) + continue + + try: + sqrt_bb4ac = math.sqrt(b * b - 4.0 * a * c) + except ValueError: # domain error + continue + aa = 2.0 * a + t = (-b + sqrt_bb4ac) / aa + if 0.0 < t < 1.0: + points.append(curve.point(t)) + t = (-b - sqrt_bb4ac) / aa + if 0.0 < t < 1.0: + points.append(curve.point(t)) + return BoundingBox(points) + + +def quadratic_bezier_bbox(curve: Bezier3P, *, abs_tol=1e-12) -> BoundingBox: + """Returns the :class:`~ezdxf.math.BoundingBox` of a quadratic Bézier curve + of type :class:`~ezdxf.math.Bezier3P`. + """ + return cubic_bezier_bbox(quadratic_to_cubic_bezier(curve), abs_tol=abs_tol) + + +def _bezier4poly(a: float, b: float, c: float, d: float): + a3 = a * 3.0 + b3 = b * 3.0 + c3 = c * 3.0 + return -a + b3 - c3 + d, a3 - b * 6.0 + c3, -a3 + b3, a + + +# noinspection PyPep8Naming +def intersection_params_ray_cubic_bezier( + p0: AnyVec, p1: AnyVec, cp: Sequence[AnyVec] +) -> list[float]: + """Returns the parameters of the intersection points between the ray defined + by two points `p0` and `p1` and the cubic Bézier curve defined by four + control points `cp`. + """ + A = p1.y - p0.y + B = p0.x - p1.x + C = p0.x * (p0.y - p1.y) + p0.y * (p1.x - p0.x) + + c0, c1, c2, c3 = cp + bx = _bezier4poly(c0.x, c1.x, c2.x, c3.x) + by = _bezier4poly(c0.y, c1.y, c2.y, c3.y) + return sorted( + v + for v in cubic_equation( + A * bx[0] + B * by[0], + A * bx[1] + B * by[1], + A * bx[2] + B * by[2], + A * bx[3] + B * by[3] + C, + ) + if 0.0 <= v <= 1.0 + ) + + +def intersection_ray_cubic_bezier_2d( + p0: UVec, + p1: UVec, + curve: Bezier4P, +) -> Sequence[Vec2]: + """Returns the intersection points between the `ray` defined by two points + `p0` and `p1` and the given cubic Bézier `curve`. Ignores the z-axis of 3D + curves. + + Returns 0-3 intersection points as :class:`Vec2` objects in the + order start- to end point of the curve. + + """ + return Vec2.tuple( + curve.point(t) + for t in intersection_params_ray_cubic_bezier( + Vec2(p0), Vec2(p1), curve.control_points + ) + ) diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/math/ellipse.py b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/math/ellipse.py new file mode 100644 index 0000000000000000000000000000000000000000..996c9e45d438db2c687cd13a95e539bc9f1270f7 --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/math/ellipse.py @@ -0,0 +1,599 @@ +# Copyright (c) 2020-2022, Manfred Moitzi +# License: MIT License +from __future__ import annotations +from typing import TYPE_CHECKING, Iterable, Any +import numpy as np + +import math +from ezdxf.math import ( + Vec3, + UVec, + NULLVEC, + X_AXIS, + Z_AXIS, + OCS, + Matrix44, + arc_angle_span_rad, + distance_point_line_3d, + enclosing_angles, +) + +if TYPE_CHECKING: + from ezdxf.layouts import BaseLayout + from ezdxf.entities import Ellipse + +__all__ = [ + "ConstructionEllipse", + "angle_to_param", + "param_to_angle", + "rytz_axis_construction", +] +QUARTER_PARAMS = [0, math.pi * 0.5, math.pi, math.pi * 1.5] +HALF_PI = math.pi / 2.0 + + +class ConstructionEllipse: + """Construction tool for 3D ellipsis. + + Args: + center: 3D center point + major_axis: major axis as 3D vector + extrusion: normal vector of ellipse plane + ratio: ratio of minor axis to major axis + start_param: start param in radians + end_param: end param in radians + ccw: is counter-clockwise flag - swaps start- and end param if ``False`` + + """ + + def __init__( + self, + center: UVec = NULLVEC, + major_axis: UVec = X_AXIS, + extrusion: UVec = Z_AXIS, + ratio: float = 1, + start_param: float = 0, + end_param: float = math.tau, + ccw: bool = True, + ): + self.center = Vec3(center) + self.major_axis = Vec3(major_axis) + if self.major_axis.isclose(NULLVEC): + raise ValueError(f"Invalid major axis (null vector).") + self.extrusion = Vec3(extrusion) + if self.major_axis.isclose(NULLVEC): + raise ValueError(f"Invalid extrusion vector (null vector).") + self.ratio = float(ratio) + self.start_param = float(start_param) + self.end_param = float(end_param) + if not ccw: + self.start_param, self.end_param = self.end_param, self.start_param + self.minor_axis = minor_axis(self.major_axis, self.extrusion, self.ratio) + + @classmethod + def from_arc( + cls, + center: UVec = NULLVEC, + radius: float = 1, + extrusion: UVec = Z_AXIS, + start_angle: float = 0, + end_angle: float = 360, + ccw: bool = True, + ) -> ConstructionEllipse: + """Returns :class:`ConstructionEllipse` from arc or circle. + + Arc and Circle parameters defined in OCS. + + Args: + center: center in OCS + radius: arc or circle radius + extrusion: OCS extrusion vector + start_angle: start angle in degrees + end_angle: end angle in degrees + ccw: arc curve goes counter clockwise from start to end if ``True`` + """ + radius = abs(radius) + if NULLVEC.isclose(extrusion): + raise ValueError(f"Invalid extrusion: {str(extrusion)}") + ratio = 1.0 + ocs = OCS(extrusion) + center = ocs.to_wcs(center) + # Major axis along the OCS x-axis. + major_axis = ocs.to_wcs(Vec3(radius, 0, 0)) + # No further adjustment of start- and end angle required. + start_param = math.radians(start_angle) + end_param = math.radians(end_angle) + return cls( + center, + major_axis, + extrusion, + ratio, + start_param, + end_param, + bool(ccw), + ) + + def __copy__(self): + return self.__class__( + self.center, + self.major_axis, + self.extrusion, + self.ratio, + self.start_param, + self.end_param, + ) + + @property + def start_point(self) -> Vec3: + """Returns start point of ellipse as Vec3.""" + return vertex( + self.start_param, + self.major_axis, + self.minor_axis, + self.center, + self.ratio, + ) + + @property + def end_point(self) -> Vec3: + """Returns end point of ellipse as Vec3.""" + return vertex( + self.end_param, + self.major_axis, + self.minor_axis, + self.center, + self.ratio, + ) + + def dxfattribs(self) -> dict[str, Any]: + """Returns required DXF attributes to build an ELLIPSE entity. + + Entity ELLIPSE has always a ratio in range from 1e-6 to 1. + + """ + if self.ratio > 1: + e = self.__copy__() + e.swap_axis() + else: + e = self + return { + "center": e.center, + "major_axis": e.major_axis, + "extrusion": e.extrusion, + "ratio": max(e.ratio, 1e-6), + "start_param": e.start_param, + "end_param": e.end_param, + } + + def main_axis_points(self) -> Iterable[Vec3]: + """Yields main axis points of ellipse in the range from start- to end + param. + """ + start = self.start_param + end = self.end_param + for param in QUARTER_PARAMS: + if enclosing_angles(param, start, end): + yield vertex( + param, + self.major_axis, + self.minor_axis, + self.center, + self.ratio, + ) + + def transform(self, m: Matrix44) -> None: + """Transform ellipse in place by transformation matrix `m`.""" + new_center = m.transform(self.center) + # 2021-01-28 removed % math.tau + old_start_param = start_param = self.start_param + old_end_param = end_param = self.end_param + old_minor_axis = minor_axis(self.major_axis, self.extrusion, self.ratio) + new_major_axis, new_minor_axis = m.transform_directions( + (self.major_axis, old_minor_axis) + ) + # Original ellipse parameters stay untouched until end of transformation + dot_product = new_major_axis.normalize().dot(new_minor_axis.normalize()) + if abs(dot_product) > 1e-6: + new_major_axis, new_minor_axis, new_ratio = rytz_axis_construction( + new_major_axis, new_minor_axis + ) + new_extrusion = new_major_axis.cross(new_minor_axis).normalize() + adjust_params = True + else: + # New axis are nearly orthogonal: + new_ratio = new_minor_axis.magnitude / new_major_axis.magnitude + # New normal vector: + new_extrusion = new_major_axis.cross(new_minor_axis).normalize() + # Calculate exact minor axis: + new_minor_axis = minor_axis(new_major_axis, new_extrusion, new_ratio) + adjust_params = False + + if adjust_params and not math.isclose(start_param, end_param, abs_tol=1e-9): + # open ellipse, adjusting start- and end parameter + x_axis = new_major_axis.normalize() + y_axis = new_minor_axis.normalize() + # TODO: use ellipse_param_span()? + # 2021-01-28 this is possibly the source of errors! + old_param_span = (end_param - start_param) % math.tau + + def param(vec: "Vec3") -> float: + dy = y_axis.dot(vec) / new_ratio # adjust to circle + dx = x_axis.dot(vec) + return math.atan2(dy, dx) % math.tau + + # transformed start- and end point of old ellipse + start_point = m.transform( + vertex( + start_param, + self.major_axis, + old_minor_axis, + self.center, + self.ratio, + ) + ) + end_point = m.transform( + vertex( + end_param, + self.major_axis, + old_minor_axis, + self.center, + self.ratio, + ) + ) + + start_param = param(start_point - new_center) + end_param = param(end_point - new_center) + + # Test if drawing the correct side of the curve + if not math.isclose(old_param_span, math.pi, abs_tol=1e-9): + # Equal param span check works well, except for a span of exact + # pi (180 deg). + # TODO: use ellipse_param_span()? + # 2021-01-28 this is possibly the source of errors! + new_param_span = (end_param - start_param) % math.tau + if not math.isclose(old_param_span, new_param_span, abs_tol=1e-9): + start_param, end_param = end_param, start_param + else: # param span is exact pi (180 deg) + # expensive but it seem to work: + old_chk_point = m.transform( + vertex( + mid_param(old_start_param, old_end_param), + self.major_axis, + old_minor_axis, + self.center, + self.ratio, + ) + ) + new_chk_point = vertex( + mid_param(start_param, end_param), + new_major_axis, + new_minor_axis, + new_center, + new_ratio, + ) + if not old_chk_point.isclose(new_chk_point, abs_tol=1e-9): + start_param, end_param = end_param, start_param + + if new_ratio > 1: + new_major_axis = minor_axis(new_major_axis, new_extrusion, new_ratio) + new_ratio = 1.0 / new_ratio + new_minor_axis = minor_axis(new_major_axis, new_extrusion, new_ratio) + if not (math.isclose(start_param, 0) and math.isclose(end_param, math.tau)): + start_param -= HALF_PI + end_param -= HALF_PI + + # TODO: remove normalize start- and end params? + # 2021-01-28 this is possibly the source of errors! + start_param = start_param % math.tau + end_param = end_param % math.tau + if math.isclose(start_param, end_param): + start_param = 0.0 + end_param = math.tau + + self.center = new_center + self.major_axis = new_major_axis + self.minor_axis = new_minor_axis + self.extrusion = new_extrusion + self.ratio = new_ratio + self.start_param = start_param + self.end_param = end_param + + @property + def param_span(self) -> float: + """Returns the counter-clockwise params span from start- to end param, + see also :func:`ezdxf.math.ellipse_param_span` for more information. + + """ + return arc_angle_span_rad(self.start_param, self.end_param) + + def params(self, num: int) -> Iterable[float]: + """Returns `num` params from start- to end param in counter-clockwise + order. + + All params are normalized in the range from [0, 2π). + + """ + yield from get_params(self.start_param, self.end_param, num) + + def vertices(self, params: Iterable[float]) -> Iterable[Vec3]: + """Yields vertices on ellipse for iterable `params` in WCS. + + Args: + params: param values in the range from [0, 2π) in radians, + param goes counter-clockwise around the extrusion vector, + major_axis = local x-axis = 0 rad. + + """ + center = self.center + ratio = self.ratio + x_axis = self.major_axis.normalize() + y_axis = self.minor_axis.normalize() + radius_x = self.major_axis.magnitude + radius_y = radius_x * ratio + + for param in params: + x = math.cos(param) * radius_x * x_axis + y = math.sin(param) * radius_y * y_axis + yield center + x + y + + def flattening(self, distance: float, segments: int = 4) -> Iterable[Vec3]: + """Adaptive recursive flattening. The argument `segments` is the + minimum count of approximation segments, if the distance from the center + of the approximation segment to the curve is bigger than `distance` the + segment will be subdivided. Returns a closed polygon for a full ellipse: + start vertex == end vertex. + + Args: + distance: maximum distance from the projected curve point onto the + segment chord. + segments: minimum segment count + + """ + + def vertex_(p: float) -> Vec3: + x = math.cos(p) * radius_x * x_axis + y = math.sin(p) * radius_y * y_axis + return self.center + x + y + + def subdiv(s: Vec3, e: Vec3, s_param: float, e_param: float): + m_param = (s_param + e_param) * 0.5 + m = vertex_(m_param) + d = distance_point_line_3d(m, s, e) + if d < distance: + yield e + else: + yield from subdiv(s, m, s_param, m_param) + yield from subdiv(m, e, m_param, e_param) + + x_axis = self.major_axis.normalize() + y_axis = self.minor_axis.normalize() + radius_x = self.major_axis.magnitude + radius_y = radius_x * self.ratio + + delta = self.param_span / segments + if delta == 0.0: + return + + param = self.start_param % math.tau + if math.isclose(self.end_param, math.tau): + end_param = math.tau + else: + end_param = self.end_param % math.tau + + if math.isclose(param, end_param): + return + elif param > end_param: + end_param += math.tau + + start_point = vertex_(param) + yield start_point + while param < end_param: + next_end_param = param + delta + if math.isclose(next_end_param, end_param): + next_end_param = end_param + end_point = vertex_(next_end_param) + yield from subdiv(start_point, end_point, param, next_end_param) + param = next_end_param + start_point = end_point + + def params_from_vertices(self, vertices: Iterable[UVec]) -> Iterable[float]: + """Yields ellipse params for all given `vertices`. + + The vertex don't have to be exact on the ellipse curve or in the range + from start- to end param or even in the ellipse plane. Param is + calculated from the intersection point of the ray projected on the + ellipse plane from the center of the ellipse through the vertex. + + .. warning:: + + An input for start- and end vertex at param 0 and 2π return + unpredictable results because of floating point inaccuracy, + sometimes 0 and sometimes 2π. + + """ + x_axis = self.major_axis.normalize() + y_axis = self.minor_axis.normalize() + ratio = self.ratio + center = self.center + for v in Vec3.generate(vertices): + v -= center + yield math.atan2(y_axis.dot(v) / ratio, x_axis.dot(v)) % math.tau + + def tangents(self, params: Iterable[float]) -> Iterable[Vec3]: + """Yields tangents on ellipse for iterable `params` in WCS as direction + vectors. + + Args: + params: param values in the range from [0, 2π] in radians, param + goes counter-clockwise around the extrusion vector, + major_axis = local x-axis = 0 rad. + + """ + ratio = self.ratio + x_axis = self.major_axis.normalize() + y_axis = self.minor_axis.normalize() + + for param in params: + x = -math.sin(param) * x_axis + y = math.cos(param) * ratio * y_axis + yield (x + y).normalize() + + def swap_axis(self) -> None: + """Swap axis and adjust start- and end parameter.""" + self.major_axis = self.minor_axis + ratio = 1.0 / self.ratio + self.ratio = max(ratio, 1e-6) + self.minor_axis = minor_axis(self.major_axis, self.extrusion, self.ratio) + + start_param = self.start_param + end_param = self.end_param + if math.isclose(start_param, 0) and math.isclose(end_param, math.tau): + return + self.start_param = (start_param - HALF_PI) % math.tau + self.end_param = (end_param - HALF_PI) % math.tau + + def add_to_layout(self, layout: BaseLayout, dxfattribs=None) -> Ellipse: + """Add ellipse as DXF :class:`~ezdxf.entities.Ellipse` entity to a + layout. + + Args: + layout: destination layout as :class:`~ezdxf.layouts.BaseLayout` + object + dxfattribs: additional DXF attributes for the ELLIPSE entity + + """ + from ezdxf.entities import Ellipse + + dxfattribs = dict(dxfattribs or {}) + dxfattribs.update(self.dxfattribs()) + e = Ellipse.new(dxfattribs=dxfattribs, doc=layout.doc) + layout.add_entity(e) + return e + + def to_ocs(self) -> ConstructionEllipse: + """Returns ellipse parameters as OCS representation. + + OCS elevation is stored in :attr:`center.z`. + + """ + ocs = OCS(self.extrusion) + return self.__class__( + center=ocs.from_wcs(self.center), + major_axis=ocs.from_wcs(self.major_axis).replace(z=0.0), + ratio=self.ratio, + start_param=self.start_param, + end_param=self.end_param, + ) + + +def mid_param(start: float, end: float) -> float: + if end < start: + end += math.tau + return (start + end) / 2.0 + + +def minor_axis(major_axis: Vec3, extrusion: Vec3, ratio: float) -> Vec3: + return extrusion.cross(major_axis).normalize(major_axis.magnitude * ratio) + + +def vertex( + param: float, major_axis: Vec3, minor_axis: Vec3, center: Vec3, ratio: float +) -> Vec3: + x_axis = major_axis.normalize() + y_axis = minor_axis.normalize() + radius_x = major_axis.magnitude + radius_y = radius_x * ratio + x = math.cos(param) * radius_x * x_axis + y = math.sin(param) * radius_y * y_axis + return center + x + y + + +def get_params(start: float, end: float, num: int) -> Iterable[float]: + """Returns `num` params from start- to end param in counter-clockwise order. + + All params are normalized in the range from [0, 2π). + + """ + if num < 2: + raise ValueError("num >= 2") + if end <= start: + end += math.tau + + for param in np.linspace(start, end, num): + yield param % math.tau + + +def angle_to_param(ratio: float, angle: float) -> float: + """Returns ellipse parameter for argument `angle`. + + Args: + ratio: minor axis to major axis ratio as stored in the ELLIPSE entity + (always <= 1). + angle: angle between major axis and line from center to point on the + ellipse + + Returns: + the ellipse parameter in the range [0, 2π) + """ + return math.atan2(math.sin(angle) / ratio, math.cos(angle)) % math.tau + + +def param_to_angle(ratio: float, param: float) -> float: + """Returns circle angle from ellipse parameter for argument `angle`. + + Args: + ratio: minor axis to major axis ratio as stored in the ELLIPSE entity + (always <= 1). + param: ellipse parameter between major axis and point on the ellipse + curve + + Returns: + the circle angle in the range [0, 2π) + """ + return math.atan2(math.sin(param) * ratio, math.cos(param)) + + +def rytz_axis_construction(d1: Vec3, d2: Vec3) -> tuple[Vec3, Vec3, float]: + """The Rytz’s axis construction is a basic method of descriptive Geometry + to find the axes, the semi-major axis and semi-minor axis, starting from two + conjugated half-diameters. + + Source: `Wikipedia `_ + + Given conjugated diameter `d1` is the vector from center C to point P and + the given conjugated diameter `d2` is the vector from center C to point Q. + Center of ellipse is always ``(0, 0, 0)``. This algorithm works for + 2D/3D vectors. + + Args: + d1: conjugated semi-major axis as :class:`Vec3` + d2: conjugated semi-minor axis as :class:`Vec3` + + Returns: + Tuple of (major axis, minor axis, ratio) + + """ + Q = Vec3(d1) # vector CQ + # calculate vector CP', location P' + if math.isclose(d1.z, 0, abs_tol=1e-9) and math.isclose(d2.z, 0, abs_tol=1e-9): + # Vec3.orthogonal() works only for vectors in the xy-plane! + P1 = Vec3(d2).orthogonal(ccw=False) + else: + extrusion = d1.cross(d2) + P1 = extrusion.cross(d2).normalize(d2.magnitude) + + D = P1.lerp(Q) # vector CD, location D, midpoint of P'Q + radius = D.magnitude + radius_vector = (Q - P1).normalize(radius) # direction vector P'Q + A = D - radius_vector # vector CA, location A + B = D + radius_vector # vector CB, location B + if A.isclose(NULLVEC) or B.isclose(NULLVEC): + raise ArithmeticError("Conjugated axis required, invalid source data.") + major_axis_length = (A - Q).magnitude + minor_axis_length = (B - Q).magnitude + if math.isclose(major_axis_length, 0.0) or math.isclose(minor_axis_length, 0.0): + raise ArithmeticError("Conjugated axis required, invalid source data.") + ratio = minor_axis_length / major_axis_length + major_axis = B.normalize(major_axis_length) + minor_axis = A.normalize(minor_axis_length) + return major_axis, minor_axis, ratio diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/math/eulerspiral.py b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/math/eulerspiral.py new file mode 100644 index 0000000000000000000000000000000000000000..acc4671a97fd2f2acf6c71995c2163a276d211d4 --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/math/eulerspiral.py @@ -0,0 +1,136 @@ +# Copyright (c) 2010-2022, Manfred Moitzi +# License: MIT License +from __future__ import annotations +from typing import Iterable +from ezdxf.math import Vec3 +from ezdxf.math.bspline import global_bspline_interpolation, BSpline + +__all__ = ["EulerSpiral"] + + +def powers(base: float, count: int) -> list[float]: + assert count > 2, "requires count > 2" + values = [1.0, base] + next_value = base + for _ in range(count - 2): + next_value *= base + values.append(next_value) + return values + + +def _params(length: float, segments: int) -> Iterable[float]: + delta_l = float(length) / float(segments) + for index in range(0, segments + 1): + yield delta_l * index + + +class EulerSpiral: + """ + This class represents an euler spiral (clothoid) for `curvature` (Radius of + curvature). + + This is a parametric curve, which always starts at the origin = ``(0, 0)``. + + Args: + curvature: radius of curvature + + """ + + def __init__(self, curvature: float = 1.0): + curvature = float(curvature) + self.curvature = curvature # Radius of curvature + self.curvature_powers: list[float] = powers(curvature, 19) + self._cache: dict[float, Vec3] = {} # coordinates cache + + def radius(self, t: float) -> float: + """Get radius of circle at distance `t`.""" + if t > 0.0: + return self.curvature_powers[2] / t + else: + return 0.0 # radius = infinite + + def tangent(self, t: float) -> Vec3: + """Get tangent at distance `t` as :class:`Vec3` object.""" + angle = t ** 2 / (2.0 * self.curvature_powers[2]) + return Vec3.from_angle(angle) + + def distance(self, radius: float) -> float: + """Get distance L from origin for `radius`.""" + return self.curvature_powers[2] / float(radius) + + def point(self, t: float) -> Vec3: + """Get point at distance `t` as :class:`Vec3`.""" + + def term(length_power, curvature_power, const): + return t ** length_power / ( + const * self.curvature_powers[curvature_power] + ) + + if t not in self._cache: + y = ( + term(3, 2, 6.0) + - term(7, 6, 336.0) + + term(11, 10, 42240.0) + - term(15, 14, 9676800.0) + + term(19, 18, 3530096640.0) + ) + x = ( + t + - term(5, 4, 40.0) + + term(9, 8, 3456.0) + - term(13, 12, 599040.0) + + term(17, 16, 175472640.0) + ) + self._cache[t] = Vec3(x, y) + return self._cache[t] + + def approximate(self, length: float, segments: int) -> Iterable[Vec3]: + """Approximate curve of length with line segments. + Generates segments+1 vertices as :class:`Vec3` objects. + + """ + for t in _params(length, segments): + yield self.point(t) + + def circle_center(self, t: float) -> Vec3: + """Get circle center at distance `t`.""" + p = self.point(t) + r = self.radius(t) + return p + self.tangent(t).normalize(r).orthogonal() + + def bspline( + self, + length: float, + segments: int = 10, + degree: int = 3, + method: str = "uniform", + ) -> BSpline: + """Approximate euler spiral as B-spline. + + Args: + length: length of euler spiral + segments: count of fit points for B-spline calculation + degree: degree of BSpline + method: calculation method for parameter vector t + + Returns: + :class:`BSpline` + + """ + length = float(length) + fit_points = list(self.approximate(length, segments=segments)) + derivatives = [ + # Scaling derivatives by chord length (< real length) is suggested + # by Piegl & Tiller. + self.tangent(t).normalize(length) + for t in _params(length, segments) + ] + spline = global_bspline_interpolation( + fit_points, degree, method=method, tangents=derivatives + ) + return BSpline( + spline.control_points, + spline.order, + # Scale knot values to length: + [v * length for v in spline.knots()], + ) diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/math/legacy.py b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/math/legacy.py new file mode 100644 index 0000000000000000000000000000000000000000..61b23e38ccbd8c36918df477549120ede3716ebe --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/math/legacy.py @@ -0,0 +1,417 @@ +# Copyright (c) 2018-2024, Manfred Moitzi +# License: MIT License +# legacy.py code is replaced by numpy - exists just for benchmarking, testing and nostalgia +from __future__ import annotations +from typing import Iterable, cast +from itertools import repeat +import reprlib + +from .linalg import Matrix, MatrixData, NDArray, Solver + +__all__ = [ + "gauss_vector_solver", + "gauss_matrix_solver", + "gauss_jordan_solver", + "gauss_jordan_inverse", + "LUDecomposition", +] + + +def copy_float_matrix(A) -> MatrixData: + if isinstance(A, Matrix): + A = A.matrix + return [[float(v) for v in row] for row in A] + + +def gauss_vector_solver(A: MatrixData | NDArray, B: Iterable[float]) -> list[float]: + """Solves the linear equation system given by a nxn Matrix A . x = B, + right-hand side quantities as vector B with n elements by the + `Gauss-Elimination`_ algorithm, which is faster than the `Gauss-Jordan`_ + algorithm. The speed improvement is more significant for solving multiple + right-hand side quantities as matrix at once. + + Reference implementation for error checking. + + Args: + A: matrix [[a11, a12, ..., a1n], [a21, a22, ..., a2n], [a21, a22, ..., a2n], + ... [an1, an2, ..., ann]] + B: vector [b1, b2, ..., bn] + + Returns: + vector as list of floats + + Raises: + ZeroDivisionError: singular matrix + + """ + # copy input data + A = copy_float_matrix(A) + B = list(B) + num = len(A) + if len(A[0]) != num: + raise ValueError("A square nxn matrix A is required.") + if len(B) != num: + raise ValueError( + "Item count of vector B has to be equal to matrix A row count." + ) + + # inplace modification of A & B + _build_upper_triangle(A, B) + return _backsubstitution(A, B) + + +def gauss_matrix_solver(A: MatrixData | NDArray, B: MatrixData | NDArray) -> Matrix: + """Solves the linear equation system given by a nxn Matrix A . x = B, + right-hand side quantities as nxm Matrix B by the `Gauss-Elimination`_ + algorithm, which is faster than the `Gauss-Jordan`_ algorithm. + + Reference implementation for error checking. + + Args: + A: matrix [[a11, a12, ..., a1n], [a21, a22, ..., a2n], [a21, a22, ..., a2n], + ... [an1, an2, ..., ann]] + B: matrix [[b11, b12, ..., b1m], [b21, b22, ..., b2m], ... [bn1, bn2, ..., bnm]] + + Returns: + matrix as :class:`Matrix` object + + Raises: + ZeroDivisionError: singular matrix + + """ + # copy input data + matrix_a = copy_float_matrix(A) + matrix_b = copy_float_matrix(B) + num = len(matrix_a) + if len(matrix_a[0]) != num: + raise ValueError("A square nxn matrix A is required.") + if len(matrix_b) != num: + raise ValueError("Row count of matrices A and B has to match.") + + # inplace modification of A & B + _build_upper_triangle(matrix_a, matrix_b) + + columns = Matrix(matrix=matrix_b).cols() + result = Matrix() + for col in columns: + result.append_col(_backsubstitution(matrix_a, col)) + + return result + + +def _build_upper_triangle(A: MatrixData, B: list) -> None: + """Build upper triangle for backsubstitution. Modifies A and B inplace! + + Args: + A: row major matrix + B: vector of floats or row major matrix + + """ + num = len(A) + try: + b_col_count = len(B[0]) + except TypeError: + b_col_count = 1 + + for i in range(0, num): + # Search for maximum in this column + max_element = abs(A[i][i]) + max_row = i + for row in range(i + 1, num): + value = abs(A[row][i]) + if value > max_element: + max_element = value + max_row = row + + # Swap maximum row with current row + A[max_row], A[i] = A[i], A[max_row] + B[max_row], B[i] = B[i], B[max_row] + + # Make all rows below this one 0 in current column + for row in range(i + 1, num): + c = -A[row][i] / A[i][i] + for col in range(i, num): + if i == col: + A[row][col] = 0 + else: + A[row][col] += c * A[i][col] + if b_col_count == 1: + B[row] += c * B[i] + else: + for col in range(b_col_count): + B[row][col] += c * B[i][col] + + +def _backsubstitution(A: MatrixData, B: list[float]) -> list[float]: + """Solve equation A . x = B for an upper triangular matrix A by + backsubstitution. + + Args: + A: row major matrix + B: vector of floats + + """ + num = len(A) + x = [0.0] * num + for i in range(num - 1, -1, -1): + x[i] = B[i] / A[i][i] + for row in range(i - 1, -1, -1): + B[row] -= A[row][i] * x[i] + return x + + +def gauss_jordan_solver( + A: MatrixData | NDArray, B: MatrixData | NDArray +) -> tuple[Matrix, Matrix]: + """Solves the linear equation system given by a nxn Matrix A . x = B, + right-hand side quantities as nxm Matrix B by the `Gauss-Jordan`_ algorithm, + which is the slowest of all, but it is very reliable. Returns a copy of the + modified input matrix `A` and the result matrix `x`. + + Internally used for matrix inverse calculation. + + Args: + A: matrix [[a11, a12, ..., a1n], [a21, a22, ..., a2n], [a21, a22, ..., a2n], + ... [an1, an2, ..., ann]] + B: matrix [[b11, b12, ..., b1m], [b21, b22, ..., b2m], ... [bn1, bn2, ..., bnm]] + + Returns: + 2-tuple of :class:`Matrix` objects + + Raises: + ZeroDivisionError: singular matrix + + """ + # copy input data + matrix_a = copy_float_matrix(A) + matrix_b = copy_float_matrix(B) + + n = len(matrix_a) + m = len(matrix_b[0]) + + if len(matrix_a[0]) != n: + raise ValueError("A square nxn matrix A is required.") + if len(matrix_b) != n: + raise ValueError("Row count of matrices A and B has to match.") + + icol = 0 + irow = 0 + col_indices = [0] * n + row_indices = [0] * n + ipiv = [0] * n + + for i in range(n): + big = 0.0 + for j in range(n): + if ipiv[j] != 1: + for k in range(n): + if ipiv[k] == 0: + if abs(matrix_a[j][k]) >= big: + big = abs(matrix_a[j][k]) + irow = j + icol = k + + ipiv[icol] += 1 + if irow != icol: + matrix_a[irow], matrix_a[icol] = matrix_a[icol], matrix_a[irow] + matrix_b[irow], matrix_b[icol] = matrix_b[icol], matrix_b[irow] + + row_indices[i] = irow + col_indices[i] = icol + + pivinv = 1.0 / matrix_a[icol][icol] + matrix_a[icol][icol] = 1.0 + matrix_a[icol] = [v * pivinv for v in matrix_a[icol]] + matrix_b[icol] = [v * pivinv for v in matrix_b[icol]] + for row in range(n): + if row == icol: + continue + dum = matrix_a[row][icol] + matrix_a[row][icol] = 0.0 + for col in range(n): + matrix_a[row][col] -= matrix_a[icol][col] * dum + for col in range(m): + matrix_b[row][col] -= matrix_b[icol][col] * dum + + for i in range(n - 1, -1, -1): + irow = row_indices[i] + icol = col_indices[i] + if irow != icol: + for _row in matrix_a: + _row[irow], _row[icol] = _row[icol], _row[irow] + return Matrix(matrix=matrix_a), Matrix(matrix=matrix_b) + + +def gauss_jordan_inverse(A: MatrixData) -> Matrix: + """Returns the inverse of matrix `A` as :class:`Matrix` object. + + .. hint:: + + For small matrices (n<10) is this function faster than + LUDecomposition(m).inverse() and as fast even if the decomposition is + already done. + + Raises: + ZeroDivisionError: singular matrix + + """ + if isinstance(A, Matrix): + matrix_a = A.matrix + else: + matrix_a = list(A) + nrows = len(matrix_a) + return gauss_jordan_solver(matrix_a, list(repeat([0.0], nrows)))[0] + + +class LUDecomposition(Solver): + """Represents a `LU decomposition`_ matrix of A, raise :class:`ZeroDivisionError` + for a singular matrix. + + This algorithm is a little bit faster than the `Gauss-Elimination`_ + algorithm using CPython and much faster when using pypy. + + The :attr:`LUDecomposition.matrix` attribute gives access to the matrix data + as list of rows like in the :class:`Matrix` class, and the :attr:`LUDecomposition.index` + attribute gives access to the swapped row indices. + + Args: + A: matrix [[a11, a12, ..., a1n], [a21, a22, ..., a2n], [a21, a22, ..., a2n], + ... [an1, an2, ..., ann]] + + raises: + ZeroDivisionError: singular matrix + + """ + + __slots__ = ("matrix", "index", "_det") + + def __init__(self, A: MatrixData | NDArray): + lu: MatrixData = copy_float_matrix(A) + n: int = len(lu) + det: float = 1.0 + index: list[int] = [] + + # find max value for each row, raises ZeroDivisionError for singular matrix! + scaling: list[float] = [1.0 / max(abs(v) for v in row) for row in lu] + + for k in range(n): + big: float = 0.0 + imax: int = k + for i in range(k, n): + temp: float = scaling[i] * abs(lu[i][k]) + if temp > big: + big = temp + imax = i + + if k != imax: + for col in range(n): + temp = lu[imax][col] + lu[imax][col] = lu[k][col] + lu[k][col] = temp + + det = -det + scaling[imax] = scaling[k] + + index.append(imax) + for i in range(k + 1, n): + temp = lu[i][k] / lu[k][k] + lu[i][k] = temp + for j in range(k + 1, n): + lu[i][j] -= temp * lu[k][j] + + self.index: list[int] = index + self.matrix: MatrixData = lu + self._det: float = det + + def __str__(self) -> str: + return str(self.matrix) + + def __repr__(self) -> str: + return f"{self.__class__} {reprlib.repr(self.matrix)}" + + @property + def nrows(self) -> int: + """Count of matrix rows (and cols).""" + return len(self.matrix) + + def solve_vector(self, B: Iterable[float]) -> list[float]: + """Solves the linear equation system given by the nxn Matrix A . x = B, + right-hand side quantities as vector B with n elements. + + Args: + B: vector [b1, b2, ..., bn] + + Returns: + vector as list of floats + + """ + X: list[float] = [float(v) for v in B] + lu: MatrixData = self.matrix + index: list[int] = self.index + n: int = self.nrows + ii: int = 0 + + if len(X) != n: + raise ValueError( + "Item count of vector B has to be equal to matrix row count." + ) + + for i in range(n): + ip: int = index[i] + sum_: float = X[ip] + X[ip] = X[i] + if ii != 0: + for j in range(ii - 1, i): + sum_ -= lu[i][j] * X[j] + elif sum_ != 0.0: + ii = i + 1 + X[i] = sum_ + + for row in range(n - 1, -1, -1): + sum_ = X[row] + for col in range(row + 1, n): + sum_ -= lu[row][col] * X[col] + X[row] = sum_ / lu[row][row] + return X + + def solve_matrix(self, B: MatrixData | NDArray) -> Matrix: + """Solves the linear equation system given by the nxn Matrix A . x = B, + right-hand side quantities as nxm Matrix B. + + Args: + B: matrix [[b11, b12, ..., b1m], [b21, b22, ..., b2m], + ... [bn1, bn2, ..., bnm]] + + Returns: + matrix as :class:`Matrix` object + + """ + if not isinstance(B, Matrix): + matrix_b = Matrix(matrix=[list(row) for row in B]) + else: + matrix_b = cast(Matrix, B) + + if matrix_b.nrows != self.nrows: + raise ValueError("Row count of self and matrix B has to match.") + + return Matrix( + matrix=[self.solve_vector(col) for col in matrix_b.cols()] + ).transpose() + + def inverse(self) -> Matrix: + """Returns the inverse of matrix as :class:`Matrix` object, + raise :class:`ZeroDivisionError` for a singular matrix. + + """ + return self.solve_matrix(Matrix.identity(shape=(self.nrows, self.nrows)).matrix) + + def determinant(self) -> float: + """Returns the determinant of matrix, raises :class:`ZeroDivisionError` + if matrix is singular. + + """ + det: float = self._det + lu: MatrixData = self.matrix + for i in range(self.nrows): + det *= lu[i][i] + return det diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/math/linalg.py b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/math/linalg.py new file mode 100644 index 0000000000000000000000000000000000000000..5d431241378e0c6e7c8068808dd548e112b9f2b7 --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/math/linalg.py @@ -0,0 +1,854 @@ +# Copyright (c) 2018-2024 Manfred Moitzi +# License: MIT License +from __future__ import annotations +from typing import ( + Iterable, + Tuple, + List, + Sequence, + Any, + cast, + Optional, +) +from typing_extensions import TypeAlias +import abc + +from functools import lru_cache +from itertools import repeat +import math +import reprlib + +import numpy as np +import numpy.typing as npt +from ezdxf.acc import USE_C_EXT + + +__all__ = [ + "Matrix", + "Solver", + "numpy_vector_solver", + "numpy_matrix_solver", + "NumpySolver", + "tridiagonal_vector_solver", + "tridiagonal_matrix_solver", + "detect_banded_matrix", + "compact_banded_matrix", + "BandedMatrixLU", + "banded_matrix", + "quadratic_equation", + "cubic_equation", + "binomial_coefficient", +] + + +def zip_to_list(*args) -> Iterable[list]: + for e in zip(*args): # returns immutable tuples + yield list(e) # need mutable list + + +MatrixData: TypeAlias = List[List[float]] +FrozenMatrixData: TypeAlias = Tuple[Tuple[float, ...]] +Shape: TypeAlias = Tuple[int, int] +NDArray: TypeAlias = npt.NDArray[np.float64] + + +def copy_float_matrix(A) -> MatrixData: + if isinstance(A, Matrix): + A = A.matrix + return [[float(v) for v in row] for row in A] + + +@lru_cache(maxsize=128) +def binomial_coefficient(k: int, i: int) -> float: + # (c) Onur Rauf Bingol , NURBS-Python, MIT-License + """Computes the binomial coefficient (denoted by `k choose i`). + + Please see the following website for details: + http://mathworld.wolfram.com/BinomialCoefficient.html + + Args: + k: size of the set of distinct elements + i: size of the subsets + + """ + # Special case + if i > k: + return float(0) + # Compute binomial coefficient + k_fact: int = math.factorial(k) + i_fact: int = math.factorial(i) + k_i_fact: int = math.factorial(k - i) + return float(k_fact / (k_i_fact * i_fact)) + + +class Matrix: + """Basic matrix implementation based :class:`numpy.ndarray`. Matrix data is stored in + row major order, this means in a list of rows, where each row is a list of floats. + + Initialization: + + - Matrix(shape=(rows, cols)) ... new matrix filled with zeros + - Matrix(matrix[, shape=(rows, cols)]) ... from copy of matrix and optional reshape + - Matrix([[row_0], [row_1], ..., [row_n]]) ... from Iterable[Iterable[float]] + - Matrix([a1, a2, ..., an], shape=(rows, cols)) ... from Iterable[float] and shape + + .. versionchanged:: 1.2 + Implementation based on :class:`numpy.ndarray`. + + Attributes: + matrix: matrix data as :class:`numpy.ndarray` + + """ + + __slots__ = ("matrix", "abs_tol") + + def __init__( + self, + items: Any = None, + shape: Optional[Shape] = None, + matrix: Optional[MatrixData | NDArray] = None, + ): + self.abs_tol: float = 1e-12 + self.matrix: NDArray = np.array((), dtype=np.float64) + if matrix is not None: + self.matrix = np.array(matrix, dtype=np.float64) + return + + if items is None: + if shape is not None: + self.matrix = np.zeros(shape) + else: # items is None, shape is None + return + elif isinstance(items, Matrix): + if shape is None: + shape = items.shape + self.matrix = items.matrix.reshape(shape).copy() + else: + items = list(items) + try: + self.matrix = np.array([list(row) for row in items], dtype=np.float64) + except TypeError: + if shape is not None: + self.matrix = np.array(list(items), dtype=np.float64).reshape(shape) + + def __iter__(self) -> NDArray: + return np.ravel(self.matrix) + + def __copy__(self) -> "Matrix": + m = Matrix(matrix=self.matrix.copy()) + m.abs_tol = self.abs_tol + return m + + def __str__(self) -> str: + return str(self.matrix) + + def __repr__(self) -> str: + return f"Matrix({reprlib.repr(self.matrix)})" + + @staticmethod + def reshape(items: Iterable[float], shape: Shape) -> Matrix: + """Returns a new matrix for iterable `items` in the configuration of + `shape`. + """ + return Matrix(matrix=np.array(list(items), dtype=np.float64).reshape(shape)) + + @property + def nrows(self) -> int: + """Count of matrix rows.""" + return self.matrix.shape[0] + + @property + def ncols(self) -> int: + """Count of matrix columns.""" + return self.matrix.shape[1] + + @property + def shape(self) -> Shape: + """Shape of matrix as (n, m) tuple for n rows and m columns.""" + return self.matrix.shape # type: ignore + + def row(self, index: int) -> list[float]: + """Returns row `index` as list of floats.""" + return list(self.matrix[index]) + + def col(self, index: int) -> list[float]: + """Return column `index` as list of floats.""" + return list(self.matrix[:, index]) + + def diag(self, index: int) -> list[float]: + """Returns diagonal `index` as list of floats. + + An `index` of 0 specifies the main diagonal, negative values + specifies diagonals below the main diagonal and positive values + specifies diagonals above the main diagonal. + + e.g. given a 4x4 matrix: + + - index 0 is [00, 11, 22, 33], + - index -1 is [10, 21, 32] and + - index +1 is [01, 12, 23] + + """ + return list(self.matrix.diagonal(index)) + + def rows(self) -> list[list[float]]: + """Return a list of all rows.""" + return list(list(r) for r in self.matrix) + + def cols(self) -> list[list[float]]: + """Return a list of all columns.""" + return [list(self.col(i)) for i in range(self.ncols)] + + def set_row(self, index: int, items: float | Iterable[float] = 1.0) -> None: + """Set row values to a fixed value or from an iterable of floats.""" + if isinstance(items, (float, int)): + items = [float(items)] * self.ncols + items = list(items) + if len(items) != self.ncols: + raise ValueError("Invalid item count") + self.matrix[index] = items + + def set_col(self, index: int, items: float | Iterable[float] = 1.0) -> None: + """Set column values to a fixed value or from an iterable of floats.""" + if isinstance(items, (float, int)): + items = [float(items)] * self.nrows + self.matrix[:, index] = list(items) + + def set_diag(self, index: int = 0, items: float | Iterable[float] = 1.0) -> None: + """Set diagonal values to a fixed value or from an iterable of floats. + + An `index` of ``0`` specifies the main diagonal, negative values + specifies diagonals below the main diagonal and positive values + specifies diagonals above the main diagonal. + + e.g. given a 4x4 matrix: + index ``0`` is [00, 11, 22, 33], + index ``-1`` is [10, 21, 32] and + index ``+1`` is [01, 12, 23] + + """ + if isinstance(items, (float, int)): + items = repeat(float(items)) + + col_offset: int = max(index, 0) + row_offset: int = abs(min(index, 0)) + + for index, value in zip(range(max(self.nrows, self.ncols)), items): + try: + self.matrix[index + row_offset, index + col_offset] = value + except IndexError: + return + + @classmethod + def identity(cls, shape: Shape) -> Matrix: + """Returns the identity matrix for configuration `shape`.""" + m = Matrix(shape=shape) + m.set_diag(0, 1.0) + return m + + def append_row(self, items: Sequence[float]) -> None: + """Append a row to the matrix.""" + if self.matrix.size == 0: + self.matrix = np.array([items], dtype=np.float64) + elif len(items) == self.ncols: + self.matrix = np.r_[self.matrix, items] + else: + raise ValueError("Invalid item count.") + + def append_col(self, items: Sequence[float]) -> None: + """Append a column to the matrix.""" + if self.matrix.size == 0: + self.matrix = np.array([[item] for item in items], dtype=np.float64) + elif len(items) == self.nrows: + self.matrix = np.c_[self.matrix, items] + else: + raise ValueError("Invalid item count.") + + def freeze(self) -> Matrix: + """Returns a frozen matrix, all data is stored in immutable tuples.""" + m = self.__copy__() + m.matrix.flags.writeable = False + return m + + def __getitem__(self, item: tuple[int, int]) -> float: + """Get value by (row, col) index tuple, fancy slicing as known from + numpy is not supported. + + """ + return float(self.matrix[item]) + + def __setitem__(self, item: tuple[int, int], value: float): + """Set value by (row, col) index tuple, fancy slicing as known from + numpy is not supported. + + """ + self.matrix[item] = value + + def __eq__(self, other: object) -> bool: + """Returns ``True`` if matrices are equal.""" + if not isinstance(other, Matrix): + raise TypeError("Matrix class required.") + if self.shape != other.shape: + raise TypeError("Matrices have different shapes.") + return bool(np.all(self.matrix == other.matrix)) + + def isclose(self, other: object) -> bool: + """Returns ``True`` if matrices are close to equal, tolerance value for + comparison is adjustable by the attribute :attr:`Matrix.abs_tol`. + + """ + if not isinstance(other, Matrix): + raise TypeError("Matrix class required.") + if self.shape != other.shape: + raise TypeError("Matrices have different shapes.") + return bool(np.all(np.isclose(self.matrix, other.matrix, atol=self.abs_tol))) + + def __mul__(self, other: Matrix | float) -> Matrix: + """Matrix multiplication by another matrix or a float, returns a new + matrix. + + """ + if isinstance(other, Matrix): + return Matrix(matrix=np.matmul(self.matrix, other.matrix)) + else: + matrix = Matrix(matrix=self.matrix * float(other)) # type: ignore + return matrix + + __imul__ = __mul__ + + def __add__(self, other: Matrix | float) -> Matrix: + """Matrix addition by another matrix or a float, returns a new matrix.""" + if isinstance(other, Matrix): + return Matrix(matrix=self.matrix + other.matrix) # type: ignore + else: + return Matrix(matrix=self.matrix + float(other)) # type: ignore + + __iadd__ = __add__ + + def __sub__(self, other: Matrix | float) -> Matrix: + """Matrix subtraction by another matrix or a float, returns a new + matrix. + + """ + if isinstance(other, Matrix): + return Matrix(matrix=self.matrix - other.matrix) # type: ignore + else: + return Matrix(matrix=self.matrix - float(other)) # type: ignore + + __isub__ = __sub__ + + def transpose(self) -> Matrix: + """Returns a new transposed matrix.""" + return Matrix(matrix=self.matrix.T) + + def inverse(self) -> Matrix: + """Returns inverse of matrix as new object.""" + if self.nrows != self.ncols: + raise TypeError("Inverse of non-square matrix not supported.") + try: + return Matrix(matrix=np.linalg.inv(self.matrix)) # type: ignore + except np.linalg.LinAlgError: + raise ZeroDivisionError + + def determinant(self) -> float: + """Returns determinant of matrix, raises :class:`ZeroDivisionError` + if matrix is singular. + + """ + return float(np.linalg.det(self.matrix)) + + +class Solver(abc.ABC): + @abc.abstractmethod + def solve_matrix(self, B: MatrixData | NDArray) -> Matrix: + ... + + @abc.abstractmethod + def solve_vector(self, B: Iterable[float]) -> list[float]: + ... + + +def quadratic_equation(a: float, b: float, c: float, abs_tol=1e-12) -> Sequence[float]: + """Returns the solution for the quadratic equation ``a*x^2 + b*x + c = 0``. + + Returns 0-2 solutions as a tuple of floats. + """ + if abs(a) < abs_tol: + if abs(b) < abs_tol: + return (-c,) + return (-c / b,) + try: + discriminant = math.sqrt(b**2 - 4 * a * c) + except ValueError: # domain error, sqrt of a negative number + return tuple() + return ((-b + discriminant) / (2.0 * a)), ((-b - discriminant) / (2.0 * a)) + + +# noinspection PyPep8Naming +def cubic_equation(a: float, b: float, c: float, d: float) -> Sequence[float]: + """Returns the solution for the cubic equation ``a*x^3 + b*x^2 + c*x + d = 0``. + + Returns 0-3 solutions as a tuple of floats. + """ + if abs(a) < 1e-12: + try: + return quadratic_equation(b, c, d) + except ArithmeticError: # complex solution + return tuple() + A = b / a + B = c / a + C = d / a + AA = A * A + A3 = A / 3.0 + + Q = (3.0 * B - AA) / 9.0 + R = (9.0 * A * B - 27.0 * C - 2.0 * (AA * A)) / 54.0 + QQQ = Q * Q * Q + D = QQQ + (R * R) # polynomial discriminant + + if D >= 0.0: # complex or duplicate roots + sqrtD = math.sqrt(D) + exp = 1.0 / 3.0 + S = math.copysign(1.0, R + sqrtD) * math.pow(abs(R + sqrtD), exp) + T = math.copysign(1.0, R - sqrtD) * math.pow(abs(R - sqrtD), exp) + ST = S + T + if S - T: # is complex + return (-A3 + ST,) # real root + else: + ST_2 = ST / 2.0 + return ( + -A3 + ST, # real root + -A3 - ST_2, # real part of complex root + -A3 - ST_2, # real part of complex root + ) + + th = math.acos(R / math.sqrt(-QQQ)) + sqrtQ2 = math.sqrt(-Q) * 2.0 + return ( + sqrtQ2 * math.cos(th / 3.0) - A3, + sqrtQ2 * math.cos((th + 2.0 * math.pi) / 3.0) - A3, + sqrtQ2 * math.cos((th + 4.0 * math.pi) / 3.0) - A3, + ) + + +def numpy_matrix_solver(A: MatrixData | NDArray, B: MatrixData | NDArray) -> Matrix: + """Solves the linear equation system given by a nxn Matrix A . x = B by the + numpy.linalg.solve() function. + + Args: + A: matrix [[a11, a12, ..., a1n], [a21, a22, ..., a2n], ... [an1, an2, ..., ann]] + B: matrix [[b11, b12, ..., b1m], [b21, b22, ..., b2m], ... [bn1, bn2, ..., bnm]] + + Raises: + numpy.linalg.LinAlgError: singular matrix + + """ + mat_A = np.array(A, dtype=np.float64) + mat_B = np.array(B, dtype=np.float64) + return Matrix(matrix=np.linalg.solve(mat_A, mat_B)) # type: ignore + + +def numpy_vector_solver(A: MatrixData | NDArray, B: Iterable[float]) -> list[float]: + """Solves the linear equation system given by a nxn Matrix A . x = B, + right-hand side quantities as vector B with n elements by the numpy.linalg.solve() + function. + + Args: + A: matrix [[a11, a12, ..., a1n], [a21, a22, ..., a2n], ... [an1, an2, ..., ann]] + B: vector [b1, b2, ..., bn] + + Raises: + numpy.linalg.LinAlgError: singular matrix + + """ + mat_A = np.array(A, dtype=np.float64) + mat_B = np.array([[float(v)] for v in B], dtype=np.float64) + return list(np.ravel(np.linalg.solve(mat_A, mat_B))) + + +class NumpySolver(Solver): + """Replaces in v1.2 the :class:`LUDecomposition` solver.""" + + def __init__(self, A: MatrixData | NDArray) -> None: + self.mat_A = np.array(A, dtype=np.float64) + + def solve_matrix(self, B: MatrixData | NDArray) -> Matrix: + """ + Solves the linear equation system given by the nxn Matrix + A . x = B, right-hand side quantities as nxm Matrix B. + + Args: + B: matrix [[b11, b12, ..., b1m], [b21, b22, ..., b2m], + ... [bn1, bn2, ..., bnm]] + + Raises: + numpy.linalg.LinAlgError: singular matrix + + """ + mat_B = np.array(B, dtype=np.float64) + return Matrix(matrix=np.linalg.solve(self.mat_A, mat_B)) # type: ignore + + def solve_vector(self, B: Iterable[float]) -> list[float]: + """Solves the linear equation system given by the nxn Matrix + A . x = B, right-hand side quantities as vector B with n elements. + + Args: + B: vector [b1, b2, ..., bn] + + Raises: + numpy.linalg.LinAlgError: singular matrix + + """ + mat_B = np.array([[float(v)] for v in B], dtype=np.float64) + return list(np.ravel(np.linalg.solve(self.mat_A, mat_B))) + + +def tridiagonal_vector_solver(A: MatrixData, B: Iterable[float]) -> list[float]: + """Solves the linear equation system given by a tri-diagonal nxn Matrix + A . x = B, right-hand side quantities as vector B. Matrix A is diagonal + matrix defined by 3 diagonals [-1 (a), 0 (b), +1 (c)]. + + Note: a0 is not used but has to be present, cn-1 is also not used and must + not be present. + + If an :class:`ZeroDivisionError` exception occurs, the equation system can + possibly be solved by :code:`BandedMatrixLU(A, 1, 1).solve_vector(B)` + + Args: + A: diagonal matrix [[a0..an-1], [b0..bn-1], [c0..cn-1]] :: + + [[b0, c0, 0, 0, ...], + [a1, b1, c1, 0, ...], + [0, a2, b2, c2, ...], + ... ] + + B: iterable of floats [[b1, b1, ..., bn] + + Returns: + list of floats + + Raises: + ZeroDivisionError: singular matrix + + """ + a, b, c = [list(v) for v in A] + return _solve_tridiagonal_matrix(a, b, c, list(B)) + + +def tridiagonal_matrix_solver( + A: MatrixData | NDArray, B: MatrixData | NDArray +) -> Matrix: + """Solves the linear equation system given by a tri-diagonal nxn Matrix + A . x = B, right-hand side quantities as nxm Matrix B. Matrix A is diagonal + matrix defined by 3 diagonals [-1 (a), 0 (b), +1 (c)]. + + Note: a0 is not used but has to be present, cn-1 is also not used and must + not be present. + + If an :class:`ZeroDivisionError` exception occurs, the equation system + can possibly be solved by :code:`BandedMatrixLU(A, 1, 1).solve_vector(B)` + + Args: + A: diagonal matrix [[a0..an-1], [b0..bn-1], [c0..cn-1]] :: + + [[b0, c0, 0, 0, ...], + [a1, b1, c1, 0, ...], + [0, a2, b2, c2, ...], + ... ] + + B: matrix [[b11, b12, ..., b1m], + [b21, b22, ..., b2m], + ... + [bn1, bn2, ..., bnm]] + + Returns: + matrix as :class:`Matrix` object + + Raises: + ZeroDivisionError: singular matrix + + """ + a, b, c = [list(v) for v in A] + if not isinstance(B, Matrix): + matrix_b = Matrix(matrix=[list(row) for row in B]) + else: + matrix_b = cast(Matrix, B) + if matrix_b.nrows != len(b): + raise ValueError("Row count of matrices A and B has to match.") + + return Matrix( + matrix=[_solve_tridiagonal_matrix(a, b, c, col) for col in matrix_b.cols()] + ).transpose() + + +def _solve_tridiagonal_matrix( + a: list[float], b: list[float], c: list[float], r: list[float] +) -> list[float]: + """Solves the linear equation system given by a tri-diagonal + Matrix(a, b, c) . x = r. + + Matrix configuration:: + + [[b0, c0, 0, 0, ...], + [a1, b1, c1, 0, ...], + [0, a2, b2, c2, ...], + ... ] + + Args: + a: lower diagonal [a0 .. an-1], a0 is not used but has to be present + b: central diagonal [b0 .. bn-1] + c: upper diagonal [c0 .. cn-1], cn-1 is not used and must not be present + r: right-hand side quantities + + Returns: + vector x as list of floats + + Raises: + ZeroDivisionError: singular matrix + + """ + n: int = len(a) + u: list[float] = [0.0] * n + gam: list[float] = [0.0] * n + bet: float = b[0] + u[0] = r[0] / bet + for j in range(1, n): + gam[j] = c[j - 1] / bet + bet = b[j] - a[j] * gam[j] + u[j] = (r[j] - a[j] * u[j - 1]) / bet + + for j in range((n - 2), -1, -1): + u[j] -= gam[j + 1] * u[j + 1] + return u + + +def banded_matrix(A: Matrix, check_all=True) -> tuple[Matrix, int, int]: + """Transform matrix A into a compact banded matrix representation. + Returns compact representation as :class:`Matrix` object and + lower- and upper band count m1 and m2. + + Args: + A: input :class:`Matrix` + check_all: check all diagonals if ``True`` or abort testing + after first all zero diagonal if ``False``. + + """ + m1, m2 = detect_banded_matrix(A, check_all) + m = compact_banded_matrix(A, m1, m2) + return m, m1, m2 + + +def detect_banded_matrix(A: Matrix, check_all=True) -> tuple[int, int]: + """Returns lower- and upper band count m1 and m2. + + Args: + A: input :class:`Matrix` + check_all: check all diagonals if ``True`` or abort testing + after first all zero diagonal if ``False``. + + """ + + def detect_m2() -> int: + m2: int = 0 + for d in range(1, A.ncols): + if any(A.diag(d)): + m2 = d + elif not check_all: + break + return m2 + + def detect_m1() -> int: + m1: int = 0 + for d in range(1, A.nrows): + if any(A.diag(-d)): + m1 = d + elif not check_all: + break + return m1 + + return detect_m1(), detect_m2() + + +def compact_banded_matrix(A: Matrix, m1: int, m2: int) -> Matrix: + """Returns compact banded matrix representation as :class:`Matrix` object. + + Args: + A: matrix to transform + m1: lower band count, excluding main matrix diagonal + m2: upper band count, excluding main matrix diagonal + + """ + if A.nrows != A.ncols: + raise TypeError("Square matrix required.") + + m = Matrix() + + for d in range(m1, 0, -1): + col = [0.0] * d + col.extend(A.diag(-d)) + m.append_col(col) + + m.append_col(A.diag(0)) + + for d in range(1, m2 + 1): + col = A.diag(d) + col.extend([0.0] * d) + m.append_col(col) + return m + + +class BandedMatrixLU(Solver): + """Represents a LU decomposition of a compact banded matrix.""" + + def __init__(self, A: Matrix, m1: int, m2: int): + lu_decompose = _lu_decompose + if USE_C_EXT: + # import error shows an installation issue + from ezdxf.acc.np_support import lu_decompose # type: ignore + + self.m1: int = int(m1) + self.m2: int = int(m2) + self.upper, self.lower, self.index = lu_decompose(A.matrix, self.m1, self.m2) + + @property + def nrows(self) -> int: + """Count of matrix rows.""" + return self.upper.shape[0] + + def solve_vector(self, B: Iterable[float]) -> list[float]: + """Solves the linear equation system given by the banded nxn Matrix + A . x = B, right-hand side quantities as vector B with n elements. + + Args: + B: vector [b1, b2, ..., bn] + + Returns: + vector as list of floats + + """ + + solve_vector_banded_matrix = _solve_vector_banded_matrix + if USE_C_EXT: + # import error shows an installation issue + from ezdxf.acc.np_support import solve_vector_banded_matrix # type: ignore + + x: NDArray = np.array(B, dtype=np.float64) + if len(x) != self.nrows: + raise ValueError( + "Item count of vector B has to be equal to matrix row count." + ) + return list( + solve_vector_banded_matrix( + x, self.upper, self.lower, self.index, self.m1, self.m2 + ) + ) + + def solve_matrix(self, B: MatrixData | NDArray) -> Matrix: + """ + Solves the linear equation system given by the banded nxn Matrix + A . x = B, right-hand side quantities as nxm Matrix B. + + Args: + B: matrix [[b11, b12, ..., b1m], [b21, b22, ..., b2m], + ... [bn1, bn2, ..., bnm]] + + Returns: + matrix as :class:`Matrix` object + + """ + matrix_b = Matrix(matrix=B) + if matrix_b.nrows != self.nrows: + raise ValueError("Row count of self and matrix B has to match.") + + return Matrix( + matrix=[self.solve_vector(col) for col in matrix_b.cols()] + ).transpose() + + +def _lu_decompose(A: NDArray, m1: int, m2: int) -> tuple[NDArray, NDArray, NDArray]: + # upper triangle of LU decomposition + upper: NDArray = np.array(A, dtype=np.float64) + + # lower triangle of LU decomposition + n: int = upper.shape[0] + lower: NDArray = np.zeros((n, m1), dtype=np.float64) + index: NDArray = np.zeros((n,), dtype=np.int64) + + mm: int = m1 + m2 + 1 + l: int = m1 + for i in range(m1): + for j in range(m1 - i, mm): + upper[i][j - l] = upper[i][j] + l -= 1 + for j in range(mm - l - 1, mm): + upper[i][j] = 0.0 + + l = m1 + for k in range(n): + dum = upper[k][0] + i = k + if l < n: + l += 1 + for j in range(k + 1, l): + if abs(upper[j][0]) > abs(dum): + dum = upper[j][0] + i = j + index[k] = i + 1 + if i != k: + for j in range(mm): + upper[k][j], upper[i][j] = upper[i][j], upper[k][j] + + for i in range(k + 1, l): + dum = upper[i][0] / upper[k][0] + lower[k][i - k - 1] = dum + for j in range(1, mm): + upper[i][j - 1] = upper[i][j] - dum * upper[k][j] + upper[i][mm - 1] = 0.0 + return upper, lower, index + + +def _solve_vector_banded_matrix( + x: NDArray, + upper: NDArray, + lower: NDArray, + index: NDArray, + m1: int, + m2: int, +) -> NDArray: + """Solves the linear equation system given by the banded nxn Matrix + A . x = B, right-hand side quantities as vector B with n elements. + + Args: + B: vector [b1, b2, ..., bn] + + Returns: + vector as list of floats + + """ + n: int = upper.shape[0] + if x.shape[0] != n: + raise ValueError("Item count of vector B has to be equal to matrix row count.") + + al: NDArray = lower + au: NDArray = upper + mm: int = m1 + m2 + 1 + l: int = m1 + for k in range(n): + j = index[k] - 1 + if j != k: + x[k], x[j] = x[j], x[k] + if l < n: + l += 1 + for j in range(k + 1, l): + x[j] -= al[k][j - k - 1] * x[k] + + l = 1 + for i in range(n - 1, -1, -1): + dum = x[i] + for k in range(1, l): + dum -= au[i][k] * x[k + i] + x[i] = dum / au[i][0] + if l < mm: + l += 1 + + return x diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/math/line.py b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/math/line.py new file mode 100644 index 0000000000000000000000000000000000000000..fb6e75620a35d921b0c341ae91868e0783632778 --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/math/line.py @@ -0,0 +1,314 @@ +# Copyright (c) 2010-2024, Manfred Moitzi +# License: MIT License +from __future__ import annotations +from typing import Optional +import math +from ezdxf.math import Vec2, intersection_line_line_2d, UVec +from .construct2d import is_point_left_of_line, TOLERANCE +from .bbox import BoundingBox2d + + +__all__ = ["ConstructionRay", "ConstructionLine", "ParallelRaysError"] + + +class ParallelRaysError(ArithmeticError): + pass + + +HALF_PI = math.pi / 2.0 +THREE_PI_HALF = 1.5 * math.pi +DOUBLE_PI = math.pi * 2.0 +ABS_TOL = 1e-12 + + +class ConstructionRay: + """Construction tool for infinite 2D rays. + + Args: + p1: definition point 1 + p2: ray direction as 2nd point or ``None`` + angle: ray direction as angle in radians or ``None`` + + """ + + def __init__( + self, p1: UVec, p2: Optional[UVec] = None, angle: Optional[float] = None + ): + self._location = Vec2(p1) + self._angle: Optional[float] + self._slope: Optional[float] + self._yof0: Optional[float] + self._direction: Vec2 + self._is_vertical: bool + self._is_horizontal: bool + + if p2 is not None: + p2_ = Vec2(p2) + if self._location.x < p2_.x: + self._direction = (p2_ - self._location).normalize() + else: + self._direction = (self._location - p2_).normalize() + self._angle = self._direction.angle + elif angle is not None: + self._angle = angle + self._direction = Vec2.from_angle(angle) + else: + raise ValueError("p2 or angle required.") + + if abs(self._direction.x) <= ABS_TOL: + self._slope = None + self._yof0 = None + else: + self._slope = self._direction.y / self._direction.x + self._yof0 = self._location.y - self._slope * self._location.x + self._is_vertical = self._slope is None + self._is_horizontal = abs(self._direction.y) <= ABS_TOL + + @property + def location(self) -> Vec2: + """Location vector as :class:`Vec2`.""" + return self._location + + @property + def direction(self) -> Vec2: + """Direction vector as :class:`Vec2`.""" + return self._direction + + @property + def slope(self) -> Optional[float]: + """Slope of ray or ``None`` if vertical.""" + return self._slope + + @property + def angle(self) -> float: + """Angle between x-axis and ray in radians.""" + if self._angle is None: + return self._direction.angle + else: + return self._angle + + @property + def angle_deg(self) -> float: + """Angle between x-axis and ray in degrees.""" + return math.degrees(self.angle) + + @property + def is_vertical(self) -> bool: + """``True`` if ray is vertical (parallel to y-axis).""" + return self._is_vertical + + @property + def is_horizontal(self) -> bool: + """``True`` if ray is horizontal (parallel to x-axis).""" + return self._is_horizontal + + def __repr__(self) -> str: + return ( + "ConstructionRay(p1=({0.location.x:.3f}, {0.location.y:.3f}), " + "angle={0.angle:.5f})".format(self) + ) + + def is_parallel(self, other: ConstructionRay) -> bool: + """Returns ``True`` if rays are parallel.""" + if self._is_vertical: + return other._is_vertical + if other._is_vertical: + return False + if self._is_horizontal: + return other._is_horizontal + # guards above guarantee that no slope is None + return math.isclose(self._slope, other._slope, abs_tol=ABS_TOL) # type: ignore + + def intersect(self, other: ConstructionRay) -> Vec2: + """Returns the intersection point as ``(x, y)`` tuple of `self` and + `other`. + + Raises: + ParallelRaysError: if rays are parallel + + """ + ray1 = self + ray2 = other + if ray1.is_parallel(ray2): + raise ParallelRaysError("Rays are parallel") + + if ray1._is_vertical: + x = ray1._location.x + if ray2.is_horizontal: + y = ray2._location.y + else: + y = ray2.yof(x) + elif ray2._is_vertical: + x = ray2._location.x + if ray1.is_horizontal: + y = ray1._location.y + else: + y = ray1.yof(x) + elif ray1._is_horizontal: + y = ray1._location.y + x = ray2.xof(y) + elif ray2._is_horizontal: + y = ray2._location.y + x = ray1.xof(y) + else: + # calc intersection with the 'straight-line-equation' + # based on y(x) = y0 + x*slope + # guards above guarantee that no slope is None + x = (ray1._yof0 - ray2._yof0) / (ray2._slope - ray1._slope) # type: ignore + y = ray1.yof(x) + return Vec2((x, y)) + + def orthogonal(self, location: UVec) -> ConstructionRay: + """Returns orthogonal ray at `location`.""" + return ConstructionRay(location, angle=self.angle + HALF_PI) + + def yof(self, x: float) -> float: + """Returns y-value of ray for `x` location. + + Raises: + ArithmeticError: for vertical rays + + """ + if self._is_vertical: + raise ArithmeticError + # guard above guarantee that slope is not None + return self._yof0 + float(x) * self._slope # type: ignore + + def xof(self, y: float) -> float: + """Returns x-value of ray for `y` location. + + Raises: + ArithmeticError: for horizontal rays + + """ + if self._is_vertical: # slope == None + return self._location.x + elif not self._is_horizontal: # slope != None & slope != 0 + return (float(y) - self._yof0) / self._slope # type: ignore + else: + raise ArithmeticError + + def bisectrix(self, other: ConstructionRay) -> ConstructionRay: + """Bisectrix between `self` and `other`.""" + intersection = self.intersect(other) + alpha = (self.angle + other.angle) / 2.0 + return ConstructionRay(intersection, angle=alpha) + + +class ConstructionLine: + """Construction tool for 2D lines. + + The :class:`ConstructionLine` class is similar to :class:`ConstructionRay`, + but has a start- and endpoint. The direction of line goes from start- to + endpoint, "left of line" is always in relation to this line direction. + + Args: + start: start point of line as :class:`Vec2` compatible object + end: end point of line as :class:`Vec2` compatible object + + """ + + def __init__(self, start: UVec, end: UVec): + self.start = Vec2(start) + self.end = Vec2(end) + + def __repr__(self) -> str: + return "ConstructionLine({0.start}, {0.end})".format(self) + + @property + def bounding_box(self) -> BoundingBox2d: + """bounding box of line as :class:`BoundingBox2d` object.""" + return BoundingBox2d((self.start, self.end)) + + def translate(self, dx: float, dy: float) -> None: + """ + Move line about `dx` in x-axis and about `dy` in y-axis. + + Args: + dx: translation in x-axis + dy: translation in y-axis + + """ + v = Vec2(dx, dy) + self.start += v + self.end += v + + @property + def sorted_points(self): + return ( + (self.end, self.start) + if self.start > self.end + else (self.start, self.end) + ) + + @property + def ray(self): + """collinear :class:`ConstructionRay`.""" + return ConstructionRay(self.start, self.end) + + def __eq__(self, other: object) -> bool: + if not isinstance(other, ConstructionLine): + raise TypeError(type(other)) + return self.sorted_points == other.sorted_points + + def __lt__(self, other: object) -> bool: + if not isinstance(other, ConstructionLine): + raise TypeError(type(other)) + return self.sorted_points < other.sorted_points + + def length(self) -> float: + """Returns length of line.""" + return (self.end - self.start).magnitude + + def midpoint(self) -> Vec2: + """Returns mid point of line.""" + return self.start.lerp(self.end) + + @property + def is_vertical(self) -> bool: + """``True`` if line is vertical.""" + return math.isclose(self.start.x, self.end.x) + + @property + def is_horizontal(self) -> bool: + """``True`` if line is horizontal.""" + return math.isclose(self.start.y, self.end.y) + + def inside_bounding_box(self, point: UVec) -> bool: + """Returns ``True`` if `point` is inside of line bounding box.""" + return self.bounding_box.inside(point) + + def intersect( + self, other: ConstructionLine, abs_tol: float = TOLERANCE + ) -> Optional[Vec2]: + """Returns the intersection point of to lines or ``None`` if they have + no intersection point. + + Args: + other: other :class:`ConstructionLine` + abs_tol: tolerance for distance check + + """ + return intersection_line_line_2d( + (self.start, self.end), + (other.start, other.end), + virtual=False, + abs_tol=abs_tol, + ) + + def has_intersection( + self, other: ConstructionLine, abs_tol: float = TOLERANCE + ) -> bool: + """Returns ``True`` if has intersection with `other` line.""" + return self.intersect(other, abs_tol=abs_tol) is not None + + def is_point_left_of_line(self, point: UVec, colinear=False) -> bool: + """Returns ``True`` if `point` is left of construction line in relation + to the line direction from start to end. + + If `colinear` is ``True``, a colinear point is also left of the line. + + """ + return is_point_left_of_line( + point, self.start, self.end, colinear=colinear + ) diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/math/offset2d.py b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/math/offset2d.py new file mode 100644 index 0000000000000000000000000000000000000000..306e4b4ed9dbd917c3920d8195ba330e50d51a42 --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/math/offset2d.py @@ -0,0 +1,75 @@ +# Copyright (c) 2019-2022, Manfred Moitzi +# License: MIT License +from __future__ import annotations +from typing import Iterable +from ezdxf.math import Vec2, UVec +from ezdxf.math.line import ConstructionRay, ParallelRaysError + + +__all__ = ["offset_vertices_2d"] + + +def offset_vertices_2d( + vertices: Iterable[UVec], offset: float, closed: bool = False +) -> Iterable[Vec2]: + """Yields vertices of the offset line to the shape defined by `vertices`. + The source shape consist of straight segments and is located in the xy-plane, + the z-axis of input vertices is ignored. Takes closed shapes into account if + argument `closed` is ``True``, which yields intersection of first and last + offset segment as first vertex for a closed shape. For closed shapes the + first and last vertex can be equal, else an implicit closing segment from + last to first vertex is added. A shape with equal first and last vertex is + not handled automatically as closed shape. + + .. warning:: + + Adjacent collinear segments in `opposite` directions, same as a turn by + 180 degree (U-turn), leads to unexpected results. + + Args: + vertices: source shape defined by vertices + offset: line offset perpendicular to direction of shape segments defined + by vertices order, offset > ``0`` is 'left' of line segment, + offset < ``0`` is 'right' of line segment + closed: ``True`` to handle as closed shape + + """ + _vertices = Vec2.list(vertices) + if len(_vertices) < 2: + raise ValueError("2 or more vertices required.") + + if closed and not _vertices[0].isclose(_vertices[-1]): + # append first vertex as last vertex to close shape + _vertices.append(_vertices[0]) + + # create offset segments + offset_segments = list() + for start, end in zip(_vertices[:-1], _vertices[1:]): + offset_vec = (end - start).orthogonal().normalize(offset) + offset_segments.append((start + offset_vec, end + offset_vec)) + + if closed: # insert last segment also as first segment + offset_segments.insert(0, offset_segments[-1]) + + # first offset vertex = start point of first segment for open shapes + if not closed: + yield offset_segments[0][0] + + # yield intersection points of offset_segments + if len(offset_segments) > 1: + for (start1, end1), (start2, end2) in zip( + offset_segments[:-1], offset_segments[1:] + ): + try: # the usual case + yield ConstructionRay(start1, end1).intersect( + ConstructionRay(start2, end2) + ) + except ParallelRaysError: # collinear segments + yield end1 + if not end1.isclose(start2): # it's an U-turn (180 deg) + # creates an additional vertex! + yield start2 + + # last offset vertex = end point of last segment for open shapes + if not closed: + yield offset_segments[-1][1] diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/math/parametrize.py b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/math/parametrize.py new file mode 100644 index 0000000000000000000000000000000000000000..81d08ba3ee7c2ddf8bac8c081bdf693b5f7d8637 --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/math/parametrize.py @@ -0,0 +1,255 @@ +# Copyright (c) 2020-2023, Manfred Moitzi +# License: MIT License +from __future__ import annotations +from typing import Iterable, Sequence +import math +from ezdxf.math import Vec3 +from .bezier_interpolation import ( + tangents_cubic_bezier_interpolation, + cubic_bezier_interpolation, +) +from .construct2d import circle_radius_3p + +__all__ = [ + "estimate_tangents", + "estimate_end_tangent_magnitude", + "create_t_vector", + "chord_length", +] + + +def create_t_vector(fit_points: list[Vec3], method: str) -> list[float]: + if method == "uniform": + return uniform_t_vector(len(fit_points)) + elif method in ("distance", "chord"): + return distance_t_vector(fit_points) + elif method in ("centripetal", "sqrt_chord"): + return centripetal_t_vector(fit_points) + elif method == "arc": + return arc_t_vector(fit_points) + else: + raise ValueError("Unknown method: {}".format(method)) + + +def uniform_t_vector(length: int) -> list[float]: + n = float(length - 1) + return [t / n for t in range(length)] + + +def distance_t_vector(fit_points: list[Vec3]) -> list[float]: + return _normalize_distances(list(linear_distances(fit_points))) + + +def centripetal_t_vector(fit_points: list[Vec3]) -> list[float]: + distances = [ + math.sqrt(p1.distance(p2)) for p1, p2 in zip(fit_points, fit_points[1:]) + ] + return _normalize_distances(distances) + + +def _normalize_distances(distances: Sequence[float]) -> list[float]: + total_length = sum(distances) + if abs(total_length) <= 1e-12: + return [] + params: list[float] = [0.0] + s = 0.0 + for d in distances[:-1]: + s += d + params.append(s / total_length) + params.append(1.0) + return params + + +def linear_distances(points: Iterable[Vec3]) -> Iterable[float]: + prev = None + for p in points: + if prev is None: + prev = p + continue + yield prev.distance(p) + prev = p + + +def chord_length(points: Iterable[Vec3]) -> float: + return sum(linear_distances(points)) + + +def arc_t_vector(fit_points: list[Vec3]) -> list[float]: + distances = list(arc_distances(fit_points)) + return _normalize_distances(distances) + + +def arc_distances(fit_points: list[Vec3]) -> Iterable[float]: + p = fit_points + + def _radii() -> Iterable[float]: + for i in range(len(p) - 2): + try: + radius = circle_radius_3p(p[i], p[i + 1], p[i + 2]) + except ZeroDivisionError: + radius = 0.0 + yield radius + + r: list[float] = list(_radii()) + if len(r) == 0: + return + r.append(r[-1]) # 2x last radius + for k in range(0, len(p) - 1): + distance = (p[k + 1] - p[k]).magnitude + rk = r[k] + if math.isclose(rk, 0): + yield distance + else: + yield math.asin(distance / 2.0 / rk) * 2.0 * rk + + +def estimate_tangents( + points: list[Vec3], method: str = "5-points", normalize=True +) -> list[Vec3]: + """Estimate tangents for curve defined by given fit points. + Calculated tangents are normalized (unit-vectors). + + Available tangent estimation methods: + + - "3-points": 3 point interpolation + - "5-points": 5 point interpolation + - "bezier": tangents from an interpolated cubic bezier curve + - "diff": finite difference + + Args: + points: start-, end- and passing points of curve + method: tangent estimation method + normalize: normalize tangents if ``True`` + + Returns: + tangents as list of :class:`Vec3` objects + + """ + method = method.lower() + if method.startswith("bez"): + return tangents_cubic_bezier_interpolation(points, normalize=normalize) + elif method.startswith("3-p"): + return tangents_3_point_interpolation(points, normalize=normalize) + elif method.startswith("5-p"): + return tangents_5_point_interpolation(points, normalize=normalize) + elif method.startswith("dif"): + return finite_difference_interpolation(points, normalize=normalize) + else: + raise ValueError(f"Unknown method: {method}") + + +def estimate_end_tangent_magnitude( + points: list[Vec3], method: str = "chord" +) -> tuple[float, float]: + """Estimate tangent magnitude of start- and end tangents. + + Available estimation methods: + + - "chord": total chord length, curve approximation by straight segments + - "arc": total arc length, curve approximation by arcs + - "bezier-n": total length from cubic bezier curve approximation, n + segments per section + + Args: + points: start-, end- and passing points of curve + method: tangent magnitude estimation method + + """ + if method == "chord": + total_length = sum(p0.distance(p1) for p0, p1 in zip(points, points[1:])) + return total_length, total_length + elif method == "arc": + total_length = sum(arc_distances(points)) + return total_length, total_length + elif method.startswith("bezier-"): + count = int(method[7:]) + s = 0.0 + for curve in cubic_bezier_interpolation(points): + s += sum(linear_distances(curve.approximate(count))) + return s, s + else: + raise ValueError(f"Unknown tangent magnitude calculation method: {method}") + + +def tangents_3_point_interpolation( + fit_points: list[Vec3], method: str = "chord", normalize=True +) -> list[Vec3]: + """Returns from 3 points interpolated and optional normalized tangent + vectors. + """ + q = [Q1 - Q0 for Q0, Q1 in zip(fit_points, fit_points[1:])] + t = list(create_t_vector(fit_points, method)) + delta_t = [t1 - t0 for t0, t1 in zip(t, t[1:])] + d = [qk / dtk for qk, dtk in zip(q, delta_t)] + alpha = [dt0 / (dt0 + dt1) for dt0, dt1 in zip(delta_t, delta_t[1:])] + tangents: list[Vec3] = [Vec3()] # placeholder + tangents.extend( + [(1.0 - alpha[k]) * d[k] + alpha[k] * d[k + 1] for k in range(len(d) - 1)] + ) + tangents[0] = 2.0 * d[0] - tangents[1] + tangents.append(2.0 * d[-1] - tangents[-1]) + if normalize: + tangents = [v.normalize() for v in tangents] + return tangents + + +def tangents_5_point_interpolation( + fit_points: list[Vec3], normalize=True +) -> list[Vec3]: + """Returns from 5 points interpolated and optional normalized tangent + vectors. + """ + n = len(fit_points) + q = _delta_q(fit_points) + + alpha = list() + for k in range(n): + v1 = (q[k - 1].cross(q[k])).magnitude + v2 = (q[k + 1].cross(q[k + 2])).magnitude + alpha.append(v1 / (v1 + v2)) + + tangents = [] + for k in range(n): + vk = (1.0 - alpha[k]) * q[k] + alpha[k] * q[k + 1] + tangents.append(vk) + if normalize: + tangents = [v.normalize() for v in tangents] + return tangents + + +def _delta_q(points: list[Vec3]) -> list[Vec3]: + n = len(points) + q = [Vec3()] # placeholder + q.extend([points[k + 1] - points[k] for k in range(n - 1)]) + q[0] = 2.0 * q[1] - q[2] + q.append(2.0 * q[n - 1] - q[n - 2]) # q[n] + q.append(2.0 * q[n] - q[n - 1]) # q[n+1] + q.append(2.0 * q[0] - q[1]) # q[-1] + return q + + +def finite_difference_interpolation( + fit_points: list[Vec3], normalize=True +) -> list[Vec3]: + f = 2.0 + p = fit_points + + t = [(p[1] - p[0]) / f] + for k in range(1, len(fit_points) - 1): + t.append((p[k] - p[k - 1]) / f + (p[k + 1] - p[k]) / f) + t.append((p[-1] - p[-2]) / f) + if normalize: + t = [v.normalize() for v in t] + return t + + +def cardinal_interpolation(fit_points: list[Vec3], tension: float) -> list[Vec3]: + # https://en.wikipedia.org/wiki/Cubic_Hermite_spline + def tangent(p0, p1): + return (p0 - p1).normalize(1.0 - tension) + + t = [tangent(fit_points[0], fit_points[1])] + for k in range(1, len(fit_points) - 1): + t.append(tangent(fit_points[k + 1], fit_points[k - 1])) + t.append(tangent(fit_points[-1], fit_points[-2])) + return t diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/math/perlin.py b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/math/perlin.py new file mode 100644 index 0000000000000000000000000000000000000000..c3a2fe822f5ea8894b5da5679da208c67eb5d144 --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/math/perlin.py @@ -0,0 +1,426 @@ +# Copyright (c) 2008, Casey Duncan (casey dot duncan at gmail dot com) +# see LICENSE.txt for details +"""Noise functions for procedural generation of content + +Contains native code implementations of Perlin improved noise (with +fBm capabilities) and Perlin simplex noise. Also contains a fast +"fake noise" implementation in GLSL for execution in shaders. + +Copyright (c) 2008, Casey Duncan (casey dot duncan at gmail dot com) +""" +__version__ = "1.2.1" + +from math import floor, fmod, sqrt +from random import randint + +# 3D Gradient vectors +# fmt: off +_GRAD3 = ( + (1, 1, 0), (-1, 1, 0), (1, -1, 0), (-1, -1, 0), + (1, 0, 1), (-1, 0, 1), (1, 0, -1), (-1, 0, -1), + (0, 1, 1), (0, -1, 1), (0, 1, -1), (0, -1, -1), + (1, 1, 0), (0, -1, 1), (-1, 1, 0), (0, -1, -1), +) +# fmt: on + +# 4D Gradient vectors +# fmt: off +_GRAD4 = ( + (0, 1, 1, 1), (0, 1, 1, -1), (0, 1, -1, 1), (0, 1, -1, -1), + (0, -1, 1, 1), (0, -1, 1, -1), (0, -1, -1, 1), (0, -1, -1, -1), + (1, 0, 1, 1), (1, 0, 1, -1), (1, 0, -1, 1), (1, 0, -1, -1), + (-1, 0, 1, 1), (-1, 0, 1, -1), (-1, 0, -1, 1), (-1, 0, -1, -1), + (1, 1, 0, 1), (1, 1, 0, -1), (1, -1, 0, 1), (1, -1, 0, -1), + (-1, 1, 0, 1), (-1, 1, 0, -1), (-1, -1, 0, 1), (-1, -1, 0, -1), + (1, 1, 1, 0), (1, 1, -1, 0), (1, -1, 1, 0), (1, -1, -1, 0), + (-1, 1, 1, 0), (-1, 1, -1, 0), (-1, -1, 1, 0), (-1, -1, -1, 0) +) +# fmt: on + +# A lookup table to traverse the simplex around a given point in 4D. +# Details can be found where this table is used, in the 4D noise method. +# fmt: off +_SIMPLEX = ( + (0, 1, 2, 3), (0, 1, 3, 2), (0, 0, 0, 0), (0, 2, 3, 1), (0, 0, 0, 0), + (0, 0, 0, 0), (0, 0, 0, 0), (1, 2, 3, 0), (0, 2, 1, 3), (0, 0, 0, 0), + (0, 3, 1, 2), (0, 3, 2, 1), (0, 0, 0, 0), (0, 0, 0, 0), (0, 0, 0, 0), + (1, 3, 2, 0), (0, 0, 0, 0), (0, 0, 0, 0), (0, 0, 0, 0), (0, 0, 0, 0), + (0, 0, 0, 0), (0, 0, 0, 0), (0, 0, 0, 0), (0, 0, 0, 0), (1, 2, 0, 3), + (0, 0, 0, 0), (1, 3, 0, 2), (0, 0, 0, 0), (0, 0, 0, 0), (0, 0, 0, 0), + (2, 3, 0, 1), (2, 3, 1, 0), (1, 0, 2, 3), (1, 0, 3, 2), (0, 0, 0, 0), + (0, 0, 0, 0), (0, 0, 0, 0), (2, 0, 3, 1), (0, 0, 0, 0), (2, 1, 3, 0), + (0, 0, 0, 0), (0, 0, 0, 0), (0, 0, 0, 0), (0, 0, 0, 0), (0, 0, 0, 0), + (0, 0, 0, 0), (0, 0, 0, 0), (0, 0, 0, 0), (2, 0, 1, 3), (0, 0, 0, 0), + (0, 0, 0, 0), (0, 0, 0, 0), (3, 0, 1, 2), (3, 0, 2, 1), (0, 0, 0, 0), + (3, 1, 2, 0), (2, 1, 0, 3), (0, 0, 0, 0), (0, 0, 0, 0), (0, 0, 0, 0), + (3, 1, 0, 2), (0, 0, 0, 0), (3, 2, 0, 1), (3, 2, 1, 0) +) +# fmt: on +# Simplex skew constants +_F2 = 0.5 * (sqrt(3.0) - 1.0) +_G2 = (3.0 - sqrt(3.0)) / 6.0 +_F3 = 1.0 / 3.0 +_G3 = 1.0 / 6.0 + +# fmt: off +_permutation = ( + 151, 160, 137, 91, 90, 15, 131, 13, 201, 95, 96, 53, 194, 233, 7, 225, + 140, 36, 103, 30, 69, 142, 8, 99, 37, 240, 21, 10, 23, 190, 6, 148, 247, + 120, 234, 75, 0, 26, 197, 62, 94, 252, 219, 203, 117, 35, 11, 32, 57, + 177, 33, 88, 237, 149, 56, 87, 174, 20, 125, 136, 171, 168, 68, 175, 74, + 165, 71, 134, 139, 48, 27, 166, 77, 146, 158, 231, 83, 111, 229, 122, + 60, 211, 133, 230, 220, 105, 92, 41, 55, 46, 245, 40, 244, 102, 143, 54, + 65, 25, 63, 161, 1, 216, 80, 73, 209, 76, 132, 187, 208, 89, 18, 169, + 200, 196, 135, 130, 116, 188, 159, 86, 164, 100, 109, 198, 173, 186, 3, + 64, 52, 217, 226, 250, 124, 123, 5, 202, 38, 147, 118, 126, 255, 82, 85, + 212, 207, 206, 59, 227, 47, 16, 58, 17, 182, 189, 28, 42, 223, 183, 170, + 213, 119, 248, 152, 2, 44, 154, 163, 70, 221, 153, 101, 155, 167, 43, + 172, 9, 129, 22, 39, 253, 9, 98, 108, 110, 79, 113, 224, 232, 178, 185, + 112, 104, 218, 246, 97, 228, 251, 34, 242, 193, 238, 210, 144, 12, 191, + 179, 162, 241, 81, 51, 145, 235, 249, 14, 239, 107, 49, 192, 214, 31, + 181, 199, 106, 157, 184, 84, 204, 176, 115, 121, 50, 45, 127, 4, 150, + 254, 138, 236, 205, 93, 222, 114, 67, 29, 24, 72, 243, 141, 128, 195, + 78, 66, 215, 61, 156, 180 +) +# fmt: on + + +class BaseNoise: + """Noise abstract base class""" + period = len(_permutation) + # Double permutation array so we don't need to wrap + permutation = _permutation * 2 + + def __init__(self, period=None, permutation_table=None): + """Initialize the noise generator. With no arguments, the default + period and permutation table are used (256). The default permutation + table generates the exact same noise pattern each time. + + An integer period can be specified, to generate a random permutation + table with period elements. The period determines the (integer) + interval that the noise repeats, which is useful for creating tiled + textures. period should be a power-of-two, though this is not + enforced. Note that the speed of the noise algorithm is independent of + the period size, though larger periods mean a larger table, which + consume more memory. + + A permutation table consisting of an iterable sequence of whole + numbers can be specified directly. This should have a power-of-two + length. Typical permutation tables are a sequence of unique integers in + the range [0,period) in random order, though other arrangements could + prove useful, they will not be "pure" simplex noise. The largest + element in the sequence must be no larger than period-1. + + period and permutation_table may not be specified together. + """ + if period is not None and permutation_table is not None: + raise ValueError( + "Can specify either period or permutation_table, not both" + ) + if period is not None: + self.randomize(period) + elif permutation_table is not None: + self.permutation = tuple(permutation_table) * 2 + self.period = len(permutation_table) + + def randomize(self, period=None): + """Randomize the permutation table used by the noise functions. This + makes them generate a different noise pattern for the same inputs. + """ + if period is not None: + self.period = period + perm = list(range(self.period)) + perm_right = self.period - 1 + for i in list(perm): + j = randint(0, perm_right) + perm[i], perm[j] = perm[j], perm[i] + self.permutation = tuple(perm) * 2 + + +class SimplexNoise(BaseNoise): + """Perlin simplex noise generator + + Adapted from Stefan Gustavson's Java implementation described here: + + http://staffwww.itn.liu.se/~stegu/simplexnoise/simplexnoise.pdf + + To summarize: + + "In 2001, Ken Perlin presented 'simplex noise', a replacement for his classic + noise algorithm. Classic 'Perlin noise' won him an academy award and has + become an ubiquitous procedural primitive for computer graphics over the + years, but in hindsight it has quite a few limitations. Ken Perlin himself + designed simplex noise specifically to overcome those limitations, and he + spent a lot of good thinking on it. Therefore, it is a better idea than his + original algorithm. A few of the more prominent advantages are: + + * Simplex noise has a lower computational complexity and requires fewer + multiplications. + * Simplex noise scales to higher dimensions (4D, 5D and up) with much less + computational cost, the complexity is O(N) for N dimensions instead of + the O(2^N) of classic Noise. + * Simplex noise has no noticeable directional artifacts. Simplex noise has + a well-defined and continuous gradient everywhere that can be computed + quite cheaply. + * Simplex noise is easy to implement in hardware." + """ + + def noise2(self, x, y): + """2D Perlin simplex noise. + + Return a floating point value from -1 to 1 for the given x, y coordinate. + The same value is always returned for a given x, y pair unless the + permutation table changes (see randomize above). + """ + # Skew input space to determine which simplex (triangle) we are in + s = (x + y) * _F2 + i = floor(x + s) + j = floor(y + s) + t = (i + j) * _G2 + x0 = x - (i - t) # "Unskewed" distances from cell origin + y0 = y - (j - t) + + if x0 > y0: + i1 = 1 + j1 = 0 # Lower triangle, XY order: (0,0)->(1,0)->(1,1) + else: + i1 = 0 + j1 = 1 # Upper triangle, YX order: (0,0)->(0,1)->(1,1) + + x1 = x0 - i1 + _G2 # Offsets for middle corner in (x,y) unskewed coords + y1 = y0 - j1 + _G2 + x2 = ( + x0 + _G2 * 2.0 - 1.0 + ) # Offsets for last corner in (x,y) unskewed coords + y2 = y0 + _G2 * 2.0 - 1.0 + + # Determine hashed gradient indices of the three simplex corners + perm = self.permutation + ii = int(i) % self.period + jj = int(j) % self.period + gi0 = perm[ii + perm[jj]] % 12 + gi1 = perm[ii + i1 + perm[jj + j1]] % 12 + gi2 = perm[ii + 1 + perm[jj + 1]] % 12 + + # Calculate the contribution from the three corners + tt = 0.5 - x0 ** 2 - y0 ** 2 + if tt > 0: + g = _GRAD3[gi0] + noise = tt ** 4 * (g[0] * x0 + g[1] * y0) + else: + noise = 0.0 + + tt = 0.5 - x1 ** 2 - y1 ** 2 + if tt > 0: + g = _GRAD3[gi1] + noise += tt ** 4 * (g[0] * x1 + g[1] * y1) + + tt = 0.5 - x2 ** 2 - y2 ** 2 + if tt > 0: + g = _GRAD3[gi2] + noise += tt ** 4 * (g[0] * x2 + g[1] * y2) + + return noise * 70.0 # scale noise to [-1, 1] + + def noise3(self, x, y, z): + """3D Perlin simplex noise. + + Return a floating point value from -1 to 1 for the given x, y, z coordinate. + The same value is always returned for a given x, y, z pair unless the + permutation table changes (see randomize above). + """ + # Skew the input space to determine which simplex cell we're in + s = (x + y + z) * _F3 + i = floor(x + s) + j = floor(y + s) + k = floor(z + s) + t = (i + j + k) * _G3 + x0 = x - (i - t) # "Unskewed" distances from cell origin + y0 = y - (j - t) + z0 = z - (k - t) + + # For the 3D case, the simplex shape is a slightly irregular tetrahedron. + # Determine which simplex we are in. + if x0 >= y0: + if y0 >= z0: + i1 = 1 + j1 = 0 + k1 = 0 + i2 = 1 + j2 = 1 + k2 = 0 + elif x0 >= z0: + i1 = 1 + j1 = 0 + k1 = 0 + i2 = 1 + j2 = 0 + k2 = 1 + else: + i1 = 0 + j1 = 0 + k1 = 1 + i2 = 1 + j2 = 0 + k2 = 1 + else: # x0 < y0 + if y0 < z0: + i1 = 0 + j1 = 0 + k1 = 1 + i2 = 0 + j2 = 1 + k2 = 1 + elif x0 < z0: + i1 = 0 + j1 = 1 + k1 = 0 + i2 = 0 + j2 = 1 + k2 = 1 + else: + i1 = 0 + j1 = 1 + k1 = 0 + i2 = 1 + j2 = 1 + k2 = 0 + + # Offsets for remaining corners + x1 = x0 - i1 + _G3 + y1 = y0 - j1 + _G3 + z1 = z0 - k1 + _G3 + x2 = x0 - i2 + 2.0 * _G3 + y2 = y0 - j2 + 2.0 * _G3 + z2 = z0 - k2 + 2.0 * _G3 + x3 = x0 - 1.0 + 3.0 * _G3 + y3 = y0 - 1.0 + 3.0 * _G3 + z3 = z0 - 1.0 + 3.0 * _G3 + + # Calculate the hashed gradient indices of the four simplex corners + perm = self.permutation + ii = int(i) % self.period + jj = int(j) % self.period + kk = int(k) % self.period + gi0 = perm[ii + perm[jj + perm[kk]]] % 12 + gi1 = perm[ii + i1 + perm[jj + j1 + perm[kk + k1]]] % 12 + gi2 = perm[ii + i2 + perm[jj + j2 + perm[kk + k2]]] % 12 + gi3 = perm[ii + 1 + perm[jj + 1 + perm[kk + 1]]] % 12 + + # Calculate the contribution from the four corners + noise = 0.0 + tt = 0.6 - x0 ** 2 - y0 ** 2 - z0 ** 2 + if tt > 0: + g = _GRAD3[gi0] + noise = tt ** 4 * (g[0] * x0 + g[1] * y0 + g[2] * z0) + else: + noise = 0.0 + + tt = 0.6 - x1 ** 2 - y1 ** 2 - z1 ** 2 + if tt > 0: + g = _GRAD3[gi1] + noise += tt ** 4 * (g[0] * x1 + g[1] * y1 + g[2] * z1) + + tt = 0.6 - x2 ** 2 - y2 ** 2 - z2 ** 2 + if tt > 0: + g = _GRAD3[gi2] + noise += tt ** 4 * (g[0] * x2 + g[1] * y2 + g[2] * z2) + + tt = 0.6 - x3 ** 2 - y3 ** 2 - z3 ** 2 + if tt > 0: + g = _GRAD3[gi3] + noise += tt ** 4 * (g[0] * x3 + g[1] * y3 + g[2] * z3) + + return noise * 32.0 + + +def lerp(t, a, b): + return a + t * (b - a) + + +def grad3(hash, x, y, z): + g = _GRAD3[hash % 16] + return x * g[0] + y * g[1] + z * g[2] + + +class TileableNoise(BaseNoise): + """Tileable implementation of Perlin "improved" noise. This + is based on the reference implementation published here: + + http://mrl.nyu.edu/~perlin/noise/ + """ + + def noise3(self, x, y, z, repeat, base=0.0): + """Tileable 3D noise. + + repeat specifies the integer interval in each dimension + when the noise pattern repeats. + + base allows a different texture to be generated for + the same repeat interval. + """ + i = int(fmod(floor(x), repeat)) + j = int(fmod(floor(y), repeat)) + k = int(fmod(floor(z), repeat)) + ii = (i + 1) % repeat + jj = (j + 1) % repeat + kk = (k + 1) % repeat + if base: + i += base + j += base + k += base + ii += base + jj += base + kk += base + + x -= floor(x) + y -= floor(y) + z -= floor(z) + fx = x ** 3 * (x * (x * 6 - 15) + 10) + fy = y ** 3 * (y * (y * 6 - 15) + 10) + fz = z ** 3 * (z * (z * 6 - 15) + 10) + + perm = self.permutation + A = perm[i] + AA = perm[A + j] + AB = perm[A + jj] + B = perm[ii] + BA = perm[B + j] + BB = perm[B + jj] + + return lerp( + fz, + lerp( + fy, + lerp( + fx, + grad3(perm[AA + k], x, y, z), + grad3(perm[BA + k], x - 1, y, z), + ), + lerp( + fx, + grad3(perm[AB + k], x, y - 1, z), + grad3(perm[BB + k], x - 1, y - 1, z), + ), + ), + lerp( + fy, + lerp( + fx, + grad3(perm[AA + kk], x, y, z - 1), + grad3(perm[BA + kk], x - 1, y, z - 1), + ), + lerp( + fx, + grad3(perm[AB + kk], x, y - 1, z - 1), + grad3(perm[BB + kk], x - 1, y - 1, z - 1), + ), + ), + ) + + +_simplex = SimplexNoise() +snoise2 = _simplex.noise2 +snoise3 = _simplex.noise3 +_tileable = TileableNoise() +tnoise3 = _tileable.noise3 diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/math/polyline.py b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/math/polyline.py new file mode 100644 index 0000000000000000000000000000000000000000..c1b60e22dd61ded0af70278738573c8c30cbda46 --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/math/polyline.py @@ -0,0 +1,474 @@ +# Copyright (c) 2021-2022, Manfred Moitzi +# License: MIT License +from __future__ import annotations +from typing import ( + Iterable, + Tuple, + Iterator, + Sequence, + Dict, +) +import abc +from typing_extensions import Protocol, TypeAlias +import numpy as np + +from ezdxf.math import ( + Vec2, + Vec3, + UVec, + NULLVEC, + intersection_line_line_2d, + BoundingBox2d, + intersection_line_line_3d, + BoundingBox, + AbstractBoundingBox, +) + + +import bisect + + +__all__ = [ + "ConstructionPolyline", + "ApproxParamT", + "intersect_polylines_2d", + "intersect_polylines_3d", +] + +REL_TOL = 1e-9 + + +class ConstructionPolyline(Sequence): + """Construction tool for 3D polylines. + + A polyline construction tool to measure, interpolate and divide anything + that can be approximated or flattened into vertices. + This is an immutable data structure which supports the :class:`Sequence` + interface. + + Args: + vertices: iterable of polyline vertices + close: ``True`` to close the polyline (first vertex == last vertex) + rel_tol: relative tolerance for floating point comparisons + + Example to measure or divide a SPLINE entity:: + + import ezdxf + from ezdxf.math import ConstructionPolyline + + doc = ezdxf.readfile("your.dxf") + msp = doc.modelspace() + spline = msp.query("SPLINE").first + if spline is not None: + polyline = ConstructionPolyline(spline.flattening(0.01)) + print(f"Entity {spline} has an approximated length of {polyline.length}") + # get dividing points with a distance of 1.0 drawing unit to each other + points = list(polyline.divide_by_length(1.0)) + + """ + + def __init__( + self, + vertices: Iterable[UVec], + close: bool = False, + rel_tol: float = REL_TOL, + ): + self._rel_tol = float(rel_tol) + v3list: list[Vec3] = Vec3.list(vertices) + self._vertices: list[Vec3] = v3list + if close and len(v3list) > 2: + if not v3list[0].isclose(v3list[-1], rel_tol=self._rel_tol): + v3list.append(v3list[0]) + + self._distances: list[float] = _distances(v3list) + + def __len__(self) -> int: + """len(self)""" + return len(self._vertices) + + def __iter__(self) -> Iterator[Vec3]: + """iter(self)""" + return iter(self._vertices) + + def __getitem__(self, item): + """vertex = self[item]""" + if isinstance(item, int): + return self._vertices[item] + else: # slice + return self.__class__(self._vertices[item], rel_tol=self._rel_tol) + + @property + def length(self) -> float: + """Returns the overall length of the polyline.""" + if self._distances: + return self._distances[-1] + return 0.0 + + @property + def is_closed(self) -> bool: + """Returns ``True`` if the polyline is closed + (first vertex == last vertex). + """ + if len(self._vertices) > 2: + return self._vertices[0].isclose( + self._vertices[-1], rel_tol=self._rel_tol + ) + return False + + def data(self, index: int) -> tuple[float, float, Vec3]: + """Returns the tuple (distance from start, distance from previous vertex, + vertex). All distances measured along the polyline. + """ + vertices = self._vertices + if not vertices: + raise ValueError("empty polyline") + distances = self._distances + + if index == 0: + return 0.0, 0.0, vertices[0] + prev_distance = distances[index - 1] + current_distance = distances[index] + vertex = vertices[index] + return current_distance, current_distance - prev_distance, vertex + + def index_at(self, distance: float) -> int: + """Returns the data index of the exact or next data entry for the given + `distance`. Returns the index of last entry if `distance` > :attr:`length`. + + """ + if distance <= 0.0: + return 0 + if distance >= self.length: + return max(0, len(self) - 1) + return self._index_at(distance) + + def _index_at(self, distance: float) -> int: + # fast method without any checks + return bisect.bisect_left(self._distances, distance) + + def vertex_at(self, distance: float) -> Vec3: + """Returns the interpolated vertex at the given `distance` from the + start of the polyline. + """ + if distance < 0.0 or distance > self.length: + raise ValueError("distance out of range") + if len(self._vertices) < 2: + raise ValueError("not enough vertices for interpolation") + return self._vertex_at(distance) + + def _vertex_at(self, distance: float) -> Vec3: + # fast method without any checks + vertices = self._vertices + distances = self._distances + index1 = self._index_at(distance) + if index1 == 0: + return vertices[0] + index0 = index1 - 1 + distance1 = distances[index1] + distance0 = distances[index0] + # skip coincident vertices: + while index0 > 0 and distance0 == distance1: + index0 -= 1 + distance0 = distances[index0] + if distance0 == distance1: + raise ArithmeticError("internal interpolation error") + + factor = (distance - distance0) / (distance1 - distance0) + return vertices[index0].lerp(vertices[index1], factor=factor) + + def divide(self, count: int) -> Iterator[Vec3]: + """Returns `count` interpolated vertices along the polyline. + Argument `count` has to be greater than 2 and the start- and end + vertices are always included. + + """ + if count < 2: + raise ValueError(f"invalid count: {count}") + vertex_at = self._vertex_at + for distance in np.linspace(0.0, self.length, count): + yield vertex_at(distance) + + def divide_by_length( + self, length: float, force_last: bool = False + ) -> Iterator[Vec3]: + """Returns interpolated vertices along the polyline. Each vertex has a + fix distance `length` from its predecessor. Yields the last vertex if + argument `force_last` is ``True`` even if the last distance is not equal + to `length`. + + """ + if length <= 0.0: + raise ValueError(f"invalid length: {length}") + if len(self._vertices) < 2: + raise ValueError("not enough vertices for interpolation") + + total_length: float = self.length + vertex_at = self._vertex_at + distance: float = 0.0 + + vertex: Vec3 = NULLVEC + while distance <= total_length: + vertex = vertex_at(distance) + yield vertex + distance += length + + if force_last and not vertex.isclose(self._vertices[-1]): + yield self._vertices[-1] + + +def _distances(vertices: Iterable[Vec3]) -> list[float]: + # distance from start vertex of the polyline to the vertex + current_station: float = 0.0 + distances: list[float] = [] + prev_vertex = Vec3() + for vertex in vertices: + if distances: + distant_vec = vertex - prev_vertex + current_station += distant_vec.magnitude + distances.append(current_station) + else: + distances.append(current_station) + prev_vertex = vertex + return distances + + +class SupportsPointMethod(Protocol): + def point(self, t: float) -> UVec: + ... + + +class ApproxParamT: + """Approximation tool for parametrized curves. + + - approximate parameter `t` for a given distance from the start of the curve + - approximate the distance for a given parameter `t` from the start of the curve + + These approximations can be applied to all parametrized curves which provide + a :meth:`point` method, like :class:`Bezier4P`, :class:`Bezier3P` and + :class:`BSpline`. + + The approximation is based on equally spaced parameters from 0 to `max_t` + for a given segment count. + The :meth:`flattening` method can not be used for the curve approximation, + because the required parameter `t` is not logged by the flattening process. + + Args: + curve: curve object, requires a method :meth:`point` + max_t: the max. parameter value + segments: count of approximation segments + + """ + + def __init__( + self, + curve: SupportsPointMethod, + *, + max_t: float = 1.0, + segments: int = 100, + ): + assert hasattr(curve, "point") + assert segments > 0 + self._polyline = ConstructionPolyline( + curve.point(t) for t in np.linspace(0.0, max_t, segments + 1) + ) + self._max_t = max_t + self._step = max_t / segments + + @property + def max_t(self) -> float: + return self._max_t + + @property + def polyline(self) -> ConstructionPolyline: + return self._polyline + + def param_t(self, distance: float): + """Approximate parameter t for the given `distance` from the start of + the curve. + """ + poly = self._polyline + if distance >= poly.length: + return self._max_t + + t_step = self._step + i = poly.index_at(distance) + station, d0, _ = poly.data(i) + t = t_step * i # t for station + if d0 > 1e-12: + t -= t_step * (station - distance) / d0 + return min(self._max_t, t) + + def distance(self, t: float) -> float: + """Approximate the distance from the start of the curve to the point + `t` on the curve. + """ + if t <= 0.0: + return 0.0 + poly = self._polyline + if t >= self._max_t: + return poly.length + + step = self._step + index = int(t / step) + 1 + station, d0, _ = poly.data(index) + return station - d0 * (step * index - t) / step + + +def intersect_polylines_2d( + p1: Sequence[Vec2], p2: Sequence[Vec2], abs_tol=1e-10 +) -> list[Vec2]: + """Returns the intersection points for two polylines as list of :class:`Vec2` + objects, the list is empty if no intersection points exist. + Does not return self intersection points of `p1` or `p2`. + Duplicate intersection points are removed from the result list, but the list + does not have a particular order! You can sort the result list by + :code:`result.sort()` to introduce an order. + + Args: + p1: first polyline as sequence of :class:`Vec2` objects + p2: second polyline as sequence of :class:`Vec2` objects + abs_tol: absolute tolerance for comparisons + + """ + intersect = _PolylineIntersection2d(p1, p2, abs_tol) + intersect.execute() + return intersect.intersections + + +def intersect_polylines_3d( + p1: Sequence[Vec3], p2: Sequence[Vec3], abs_tol=1e-10 +) -> list[Vec3]: + """Returns the intersection points for two polylines as list of :class:`Vec3` + objects, the list is empty if no intersection points exist. + Does not return self intersection points of `p1` or `p2`. + Duplicate intersection points are removed from the result list, but the list + does not have a particular order! You can sort the result list by + :code:`result.sort()` to introduce an order. + + Args: + p1: first polyline as sequence of :class:`Vec3` objects + p2: second polyline as sequence of :class:`Vec3` objects + abs_tol: absolute tolerance for comparisons + + """ + intersect = _PolylineIntersection3d(p1, p2, abs_tol) + intersect.execute() + return intersect.intersections + + +def divide(a: int, b: int) -> tuple[int, int, int, int]: + m = (a + b) // 2 + return a, m, m, b + + +TCache: TypeAlias = Dict[Tuple[int, int, int], AbstractBoundingBox] + + +class _PolylineIntersection: + p1: Sequence + p2: Sequence + + def __init__(self) -> None: + # At each recursion level the bounding box for each half of the + # polyline will be created two times, using a cache is an advantage: + self.bbox_cache: TCache = {} + + @abc.abstractmethod + def bbox(self, points: Sequence) -> AbstractBoundingBox: + ... + + @abc.abstractmethod + def line_intersection(self, s1: int, e1: int, s2: int, e2: int) -> None: + ... + + def execute(self) -> None: + l1: int = len(self.p1) + l2: int = len(self.p2) + if l1 < 2 or l2 < 2: # polylines with only one vertex + return + self.intersect(0, l1 - 1, 0, l2 - 1) + + def overlap(self, s1: int, e1: int, s2: int, e2: int) -> bool: + e1 += 1 + e2 += 1 + # If one part of the polylines has less than 2 vertices no intersection + # calculation is required: + if e1 - s1 < 2 or e2 - s2 < 2: + return False + + cache = self.bbox_cache + key1 = (1, s1, e1) + bbox1 = cache.get(key1) + if bbox1 is None: + bbox1 = self.bbox(self.p1[s1:e1]) + cache[key1] = bbox1 + + key2 = (2, s2, e2) + bbox2 = cache.get(key2) + if bbox2 is None: + bbox2 = self.bbox(self.p2[s2:e2]) + cache[key2] = bbox2 + return bbox1.has_overlap(bbox2) + + def intersect(self, s1: int, e1: int, s2: int, e2: int) -> None: + assert e1 > s1 and e2 > s2 + if e1 - s1 == 1 and e2 - s2 == 1: + self.line_intersection(s1, e1, s2, e2) + return + s1_a, e1_b, s1_c, e1_d = divide(s1, e1) + s2_a, e2_b, s2_c, e2_d = divide(s2, e2) + + if self.overlap(s1_a, e1_b, s2_a, e2_b): + self.intersect(s1_a, e1_b, s2_a, e2_b) + if self.overlap(s1_a, e1_b, s2_c, e2_d): + self.intersect(s1_a, e1_b, s2_c, e2_d) + if self.overlap(s1_c, e1_d, s2_a, e2_b): + self.intersect(s1_c, e1_d, s2_a, e2_b) + if self.overlap(s1_c, e1_d, s2_c, e2_d): + self.intersect(s1_c, e1_d, s2_c, e2_d) + + +class _PolylineIntersection2d(_PolylineIntersection): + def __init__(self, p1: Sequence[Vec2], p2: Sequence[Vec2], abs_tol=1e-10): + super().__init__() + self.p1 = p1 + self.p2 = p2 + self.intersections: list[Vec2] = [] + self.abs_tol = abs_tol + + def bbox(self, points: Sequence) -> AbstractBoundingBox: + return BoundingBox2d(points) + + def line_intersection(self, s1: int, e1: int, s2: int, e2: int) -> None: + line1 = self.p1[s1], self.p1[e1] + line2 = self.p2[s2], self.p2[e2] + p = intersection_line_line_2d( + line1, line2, virtual=False, abs_tol=self.abs_tol + ) + if p is not None and not any( + p.isclose(ip, abs_tol=self.abs_tol) for ip in self.intersections + ): + self.intersections.append(p) + + +class _PolylineIntersection3d(_PolylineIntersection): + def __init__(self, p1: Sequence[Vec3], p2: Sequence[Vec3], abs_tol=1e-10): + super().__init__() + self.p1 = p1 + self.p2 = p2 + self.intersections: list[Vec3] = [] + self.abs_tol = abs_tol + + def bbox(self, points: Sequence) -> AbstractBoundingBox: + return BoundingBox(points) + + def line_intersection(self, s1: int, e1: int, s2: int, e2: int) -> None: + line1 = self.p1[s1], self.p1[e1] + line2 = self.p2[s2], self.p2[e2] + p = intersection_line_line_3d( + line1, line2, virtual=False, abs_tol=self.abs_tol + ) + if p is not None and not any( + p.isclose(ip, abs_tol=self.abs_tol) for ip in self.intersections + ): + self.intersections.append(p) diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/math/rtree.py b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/math/rtree.py new file mode 100644 index 0000000000000000000000000000000000000000..b011f66f40502f865734ee37c9b13065c0b16c5b --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/math/rtree.py @@ -0,0 +1,328 @@ +# Copyright (c) 2022, Manfred Moitzi +# License: MIT License +# Immutable spatial search tree based on the SsTree implementation of the book +# "Advanced Algorithms and Data Structures" +# - SsTree JavaScript source code: +# (c) 2019, Marcello La Rocca, released under the GNU Affero General Public License v3.0 +# https://github.com/mlarocca/AlgorithmsAndDataStructuresInAction/tree/master/JavaScript/src/ss_tree +# - Research paper of Antonin Guttman: +# http://www-db.deis.unibo.it/courses/SI-LS/papers/Gut84.pdf +from __future__ import annotations +from operator import itemgetter +import statistics +from typing import Iterator, Callable, Sequence, Iterable, TypeVar, Generic +import abc +import math + +from ezdxf.math import BoundingBox, Vec2, Vec3, spherical_envelope + +__all__ = ["RTree"] + +INF = float("inf") + +T = TypeVar("T", Vec2, Vec3) + + +class Node(abc.ABC, Generic[T]): + __slots__ = ("bbox",) + + def __init__(self, bbox: BoundingBox): + self.bbox: BoundingBox = bbox + + @abc.abstractmethod + def __len__(self) -> int: ... + + @abc.abstractmethod + def __iter__(self) -> Iterator[T]: ... + + @abc.abstractmethod + def contains(self, point: T) -> bool: ... + + @abc.abstractmethod + def _nearest_neighbor( + self, target: T, nn: T = None, nn_dist: float = INF + ) -> tuple[T, float]: ... + + @abc.abstractmethod + def points_in_sphere(self, center: T, radius: float) -> Iterator[T]: ... + + @abc.abstractmethod + def points_in_bbox(self, bbox: BoundingBox) -> Iterator[T]: ... + + def nearest_neighbor(self, target: T) -> tuple[T, float]: + return self._nearest_neighbor(target) + + +class LeafNode(Node[T]): + __slots__ = ("points", "bbox") + + def __init__(self, points: list[T]): + self.points = tuple(points) + super().__init__(BoundingBox(self.points)) + + def __len__(self): + return len(self.points) + + def __iter__(self) -> Iterator[T]: + return iter(self.points) + + def contains(self, point: T) -> bool: + return any(point.isclose(p) for p in self.points) + + def _nearest_neighbor( + self, target: T, nn: T = None, nn_dist: float = INF + ) -> tuple[T, float]: + distance, point = min((target.distance(p), p) for p in self.points) + if distance < nn_dist: + nn, nn_dist = point, distance + return nn, nn_dist + + def points_in_sphere(self, center: T, radius: float) -> Iterator[T]: + return (p for p in self.points if center.distance(p) <= radius) + + def points_in_bbox(self, bbox: BoundingBox) -> Iterator[T]: + return (p for p in self.points if bbox.inside(p)) + + +class InnerNode(Node[T]): + __slots__ = ("children", "bbox") + + def __init__(self, children: Sequence[Node[T]]): + super().__init__(BoundingBox()) + self.children = tuple(children) + for child in self.children: + # build union of all child bounding boxes + self.bbox.extend([child.bbox.extmin, child.bbox.extmax]) + + def __len__(self) -> int: + return sum(len(c) for c in self.children) + + def __iter__(self) -> Iterator[T]: + for child in self.children: + yield from iter(child) + + def contains(self, point: T) -> bool: + for child in self.children: + if child.bbox.inside(point) and child.contains(point): + return True + return False + + def _nearest_neighbor( + self, target: T, nn: T = None, nn_dist: float = INF + ) -> tuple[T, float]: + closest_child = find_closest_child(self.children, target) + nn, nn_dist = closest_child._nearest_neighbor(target, nn, nn_dist) + for child in self.children: + if child is closest_child: + continue + # is target inside the child bounding box + nn_dist in all directions + if grow_box(child.bbox, nn_dist).inside(target): + point, distance = child._nearest_neighbor(target, nn, nn_dist) + if distance < nn_dist: + nn = point + nn_dist = distance + return nn, nn_dist + + def points_in_sphere(self, center: T, radius: float) -> Iterator[T]: + for child in self.children: + if is_sphere_intersecting_bbox( + Vec3(center), radius, child.bbox.center, child.bbox.size + ): + yield from child.points_in_sphere(center, radius) + + def points_in_bbox(self, bbox: BoundingBox) -> Iterator[T]: + for child in self.children: + if bbox.has_overlap(child.bbox): + yield from child.points_in_bbox(bbox) + + +class RTree(Generic[T]): + """Immutable spatial search tree loosely based on `R-trees`_. + + The search tree is buildup once at initialization and immutable afterwards, + because rebuilding the tree after inserting or deleting nodes is very costly + and makes the implementation very complex. + + Without the ability to alter the content the restrictions which forces the tree + balance at growing and shrinking of the original `R-trees`_, are ignored, like the + fixed minimum and maximum node size. + + This class uses internally only 3D bounding boxes, but also supports + :class:`Vec2` as well as :class:`Vec3` objects as input data, but point + types should not be mixed in a search tree. + + The point objects keep their type and identity and the returned points of + queries can be compared by the ``is`` operator for identity to the input + points. + + The implementation requires a maximum node size of at least 2 and + does not support empty trees! + + Raises: + ValueError: max. node size too small or no data given + + .. _R-trees: https://en.wikipedia.org/wiki/R-tree + + """ + + __slots__ = ("_root",) + + def __init__(self, points: Iterable[T], max_node_size: int = 5): + if max_node_size < 2: + raise ValueError("max node size must be > 1") + _points = list(points) + if len(_points) == 0: + raise ValueError("no points given") + self._root = make_node(_points, max_node_size, box_split) + + def __len__(self): + """Returns the count of points in the search tree.""" + return len(self._root) + + def __iter__(self) -> Iterator[T]: + """Yields all points in the search tree.""" + yield from iter(self._root) + + def contains(self, point: T) -> bool: + """Returns ``True`` if `point` exists, the comparison is done by the + :meth:`isclose` method and not by the identity operator ``is``. + """ + return self._root.contains(point) + + def nearest_neighbor(self, target: T) -> tuple[T, float]: + """Returns the closest point to the `target` point and the distance + between these points. + """ + return self._root.nearest_neighbor(target) + + def points_in_sphere(self, center: T, radius: float) -> Iterator[T]: + """Returns all points in the range of the given sphere including the + points at the boundary. + """ + return self._root.points_in_sphere(center, radius) + + def points_in_bbox(self, bbox: BoundingBox) -> Iterator[T]: + """Returns all points in the range of the given bounding box including + the points at the boundary. + """ + return self._root.points_in_bbox(bbox) + + def avg_leaf_size(self, spread: float = 1.0) -> float: + """Returns the average size of the leaf bounding boxes. + The size of a leaf bounding box is the maximum size in all dimensions. + Excludes outliers of sizes beyond mean + standard deviation * spread. + Returns 0.0 if less than two points in tree. + """ + sizes: list[float] = [ + max(leaf.bbox.size.xyz) for leaf in collect_leafs(self._root) + ] + return average_exclusive_outliers(sizes, spread) + + def avg_spherical_envelope_radius(self, spread: float = 1.0) -> float: + """Returns the average radius of spherical envelopes of the leaf nodes. + Excludes outliers with radius beyond mean + standard deviation * spread. + Returns 0.0 if less than two points in tree. + """ + radii: list[float] = [ + spherical_envelope(leaf.points)[1] for leaf in collect_leafs(self._root) + ] + return average_exclusive_outliers(radii, spread) + + def avg_nn_distance(self, spread: float = 1.0) -> float: + """Returns the average of the nearest neighbor distances inside (!) + leaf nodes. Excludes outliers with a distance beyond the overall + mean + standard deviation * spread. Returns 0.0 if less than two points + in tree. + + .. warning:: + + This is a brute force check with O(n!) for each leaf node, where n + is the point count of the leaf node. + + """ + distances: list[float] = [] + for leaf in collect_leafs(self._root): + distances.extend(nearest_neighbor_distances(leaf.points)) + return average_exclusive_outliers(distances, spread) + + +def make_node( + points: list[T], + max_size: int, + split_strategy: Callable[[list[T], int], Sequence[Node]], +) -> Node[T]: + if len(points) > max_size: + return InnerNode(split_strategy(points, max_size)) + else: + return LeafNode(points) + + +def box_split(points: list[T], max_size: int) -> Sequence[Node[T]]: + n = len(points) + size: tuple[float, float, float] = BoundingBox(points).size.xyz + dim = size.index(max(size)) + points.sort(key=itemgetter(dim)) + k = math.ceil(n / max_size) + return tuple( + make_node(points[i : i + k], max_size, box_split) for i in range(0, n, k) + ) + + +def is_sphere_intersecting_bbox( + centroid: Vec3, radius: float, center: Vec3, size: Vec3 +) -> bool: + distance = centroid - center + intersection_distance = size * 0.5 + Vec3(radius, radius, radius) + # non-intersection is more often likely: + if abs(distance.x) > intersection_distance.x: + return False + if abs(distance.y) > intersection_distance.y: + return False + if abs(distance.z) > intersection_distance.z: + return False + return True + + +def find_closest_child(children: Sequence[Node[T]], point: T) -> Node[T]: + def distance(child: Node) -> float: + return point.distance(child.bbox.center) + + assert len(children) > 0 + return min(children, key=distance) + + +def grow_box(box: BoundingBox, dist: float) -> BoundingBox: + bbox = box.copy() + bbox.grow(dist) + return bbox + + +def average_exclusive_outliers(values: list[float], spread: float) -> float: + if len(values) < 2: + return 0.0 + stdev = statistics.stdev(values) + mean = sum(values) / len(values) + max_value = mean + stdev * spread + values = [value for value in values if value <= max_value] + if len(values): + return sum(values) / len(values) + return 0.0 + + +def collect_leafs(node: Node[T]) -> Iterable[LeafNode[T]]: + """Yields all leaf nodes below the given node.""" + if isinstance(node, LeafNode): + yield node + elif isinstance(node, InnerNode): + for child in node.children: + yield from collect_leafs(child) + + +def nearest_neighbor_distances(points: Sequence[T]) -> list[float]: + """Brute force calculation of nearest neighbor distances with a + complexity of O(n!). + """ + return [ + min(point.distance(p) for p in points[index + 1 :]) + for index, point in enumerate(points[:-1]) + ] diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/math/shape.py b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/math/shape.py new file mode 100644 index 0000000000000000000000000000000000000000..5966d267d87189215f047a3179ebe7e3e197eaf3 --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/math/shape.py @@ -0,0 +1,140 @@ +# Copyright (c) 2019-2024 Manfred Moitzi +# License: MIT License +from __future__ import annotations +from typing import Iterable, Optional, Iterator, TYPE_CHECKING, overload +import math +from ezdxf.math import Vec2, UVec, Matrix44 + + +__all__ = ["Shape2d"] + +if TYPE_CHECKING: + from ezdxf.math import BoundingBox2d + + +class Shape2d: + """Construction tools for 2D shapes. + + A 2D geometry object as list of :class:`Vec2` objects, vertices can be + moved, rotated and scaled. + + Args: + vertices: iterable of :class:`Vec2` compatible objects. + + """ + + def __init__(self, vertices: Optional[Iterable[UVec]] = None): + from ezdxf.npshapes import NumpyPoints2d + + _vec2: Iterator[Vec2] | None = None + if vertices is not None: + _vec2 = Vec2.generate(vertices) + self.np_vertices = NumpyPoints2d(_vec2) + + @property + def vertices(self) -> list[Vec2]: + return self.np_vertices.vertices() + + @property + def bounding_box(self) -> BoundingBox2d: + """Returns the bounding box of the shape.""" + return self.np_vertices.bbox() + + def copy(self) -> Shape2d: + clone = self.__class__() + clone.np_vertices = self.np_vertices.clone() + return clone + + __copy__ = copy + + def translate(self, vector: UVec) -> None: + """Translate shape about `vector`.""" + offset = Vec2(vector) + self.np_vertices.transform_inplace(Matrix44.translate(offset.x, offset.y, 0)) + + def scale(self, sx: float = 1.0, sy: float = 1.0) -> None: + """Scale shape about `sx` in x-axis and `sy` in y-axis.""" + self.np_vertices.transform_inplace(Matrix44.scale(sx, sy, 1)) + + def scale_uniform(self, scale: float) -> None: + """Scale shape uniform about `scale` in x- and y-axis.""" + self.np_vertices.transform_inplace(Matrix44.scale(scale, scale, 1)) + + def rotate(self, angle: float, center: Optional[UVec] = None) -> None: + """Rotate shape around rotation `center` about `angle` in degrees.""" + self.rotate_rad(math.radians(angle), center) + + def rotate_rad(self, angle: float, center: Optional[UVec] = None) -> None: + """Rotate shape around rotation `center` about `angle` in radians.""" + m = Matrix44.z_rotate(angle) + if center is not None: + p = Vec2(center) + m = ( + Matrix44.translate(-p.x, -p.y, 0) + @ m + @ Matrix44.translate(p.x, p.y, 0) + ) + self.np_vertices.transform_inplace(m) + + def offset(self, offset: float, closed: bool = False) -> Shape2d: + """Returns a new offset shape, for more information see also + :func:`ezdxf.math.offset_vertices_2d` function. + + Args: + offset: line offset perpendicular to direction of shape segments + defined by vertices order, offset > ``0`` is 'left' of line + segment, offset < ``0`` is 'right' of line segment + closed: ``True`` to handle as closed shape + + """ + from ezdxf.math.offset2d import offset_vertices_2d + + return self.__class__( + offset_vertices_2d( + self.np_vertices.vertices(), offset=offset, closed=closed + ) + ) + + def convex_hull(self) -> Shape2d: + """Returns convex hull as new shape.""" + from ezdxf.math.construct2d import convex_hull_2d + + return self.__class__(convex_hull_2d(self.np_vertices.vertices())) + + # Sequence interface + def __len__(self) -> int: + """Returns `count` of vertices.""" + return len(self.np_vertices) + + @overload + def __getitem__(self, item: int) -> Vec2: ... + @overload + def __getitem__(self, item: slice) -> list[Vec2]: ... + def __getitem__(self, item: int | slice) -> Vec2|list[Vec2]: + """Get vertex by index `item`, supports ``list`` like slicing.""" + np_vertices = self.np_vertices.np_vertices() + if isinstance(item, int): + return Vec2(np_vertices[item]) + else: + return Vec2.list(np_vertices[item]) + + def append(self, vertex: UVec) -> None: + """Append single `vertex`. + + Args: + vertex: vertex as :class:`Vec2` compatible object + + """ + self.extend((vertex,)) + + def extend(self, vertices: Iterable[UVec]) -> None: + """Append multiple `vertices`. + + Args: + vertices: iterable of vertices as :class:`Vec2` compatible objects + + """ + from ezdxf.npshapes import NumpyPoints2d + + new_vertices = self.np_vertices.vertices() + Vec2.list(vertices) + self.np_vertices = NumpyPoints2d(new_vertices) diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/math/transformtools.py b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/math/transformtools.py new file mode 100644 index 0000000000000000000000000000000000000000..164c6730ba185caa989c4b435392ebec4be29dc4 --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/math/transformtools.py @@ -0,0 +1,327 @@ +# Copyright (c) 2020-2024, Manfred Moitzi +# License: MIT License +from __future__ import annotations +from typing import TYPE_CHECKING +import math +from ezdxf.math import ( + Vec3, + Vec2, + UVec, + X_AXIS, + Y_AXIS, + Z_AXIS, + Matrix44, + sign, + OCS, + arc_angle_span_rad, +) + +if TYPE_CHECKING: + from ezdxf.entities import DXFGraphic + +__all__ = [ + "TransformError", + "NonUniformScalingError", + "InsertTransformationError", + "transform_extrusion", + "transform_thickness_and_extrusion_without_ocs", + "OCSTransform", + "WCSTransform", + "InsertCoordinateSystem", +] + +_PLACEHOLDER_OCS = OCS() +DEG = 180.0 / math.pi # radians to degrees +RADIANS = math.pi / 180.0 # degrees to radians + + +class TransformError(Exception): + pass + + +class NonUniformScalingError(TransformError): + pass + + +class InsertTransformationError(TransformError): + pass + + +def transform_thickness_and_extrusion_without_ocs( + entity: DXFGraphic, m: Matrix44 +) -> None: + if entity.dxf.hasattr("thickness"): + thickness = entity.dxf.thickness + reflection = sign(thickness) + thickness = m.transform_direction(entity.dxf.extrusion * thickness) + entity.dxf.thickness = thickness.magnitude * reflection + entity.dxf.extrusion = thickness.normalize() + elif entity.dxf.hasattr("extrusion"): # without thickness? + extrusion = m.transform_direction(entity.dxf.extrusion) + entity.dxf.extrusion = extrusion.normalize() + + +def transform_extrusion(extrusion: UVec, m: Matrix44) -> tuple[Vec3, bool]: + """Transforms the old `extrusion` vector into a new extrusion vector. + Returns the new extrusion vector and a boolean value: ``True`` if the new + OCS established by the new extrusion vector has a uniform scaled xy-plane, + else ``False``. + + The new extrusion vector is perpendicular to plane defined by the + transformed x- and y-axis. + + Args: + extrusion: extrusion vector of the old OCS + m: transformation matrix + + Returns: + + """ + ocs = OCS(extrusion) + ocs_x_axis_in_wcs = ocs.to_wcs(X_AXIS) + ocs_y_axis_in_wcs = ocs.to_wcs(Y_AXIS) + x_axis, y_axis = m.transform_directions((ocs_x_axis_in_wcs, ocs_y_axis_in_wcs)) + + # Check for uniform scaled xy-plane: + is_uniform = math.isclose( + x_axis.magnitude_square, y_axis.magnitude_square, abs_tol=1e-9 + ) + new_extrusion = x_axis.cross(y_axis).normalize() + return new_extrusion, is_uniform + + +class OCSTransform: + def __init__(self, extrusion: Vec3 | None = None, m: Matrix44 | None = None): + if m is None: + self.m = Matrix44() + else: + self.m = m + self.scale_uniform: bool = True + if extrusion is None: # fill in dummy values + self._reset_ocs(_PLACEHOLDER_OCS, _PLACEHOLDER_OCS, True) + else: + new_extrusion, scale_uniform = transform_extrusion(extrusion, m) + self._reset_ocs(OCS(extrusion), OCS(new_extrusion), scale_uniform) + + def _reset_ocs(self, old_ocs: OCS, new_ocs: OCS, scale_uniform: bool) -> None: + self.old_ocs = old_ocs + self.new_ocs = new_ocs + self.scale_uniform = scale_uniform + + @property + def old_extrusion(self) -> Vec3: + return self.old_ocs.uz + + @property + def new_extrusion(self) -> Vec3: + return self.new_ocs.uz + + @classmethod + def from_ocs( + cls, old: OCS, new: OCS, m: Matrix44, scale_uniform=True + ) -> OCSTransform: + ocs = cls(m=m) + ocs._reset_ocs(old, new, scale_uniform) + return ocs + + def transform_length(self, length: UVec, reflection=1.0) -> float: + """Returns magnitude of `length` direction vector transformed from + old OCS into new OCS including `reflection` correction applied. + """ + return self.m.transform_direction(self.old_ocs.to_wcs(length)).magnitude * sign( + reflection + ) + + def transform_width(self, width: float) -> float: + """Transform the width of a linear OCS entity from the old OCS + into the new OCS. (LWPOLYLINE!) + """ + abs_width = abs(width) + if abs_width > 1e-12: # assume a uniform scaling! + return max( + self.transform_length((abs_width, 0, 0)), + self.transform_length((0, abs_width, 0)), + ) + return 0.0 + + transform_scale_factor = transform_length + + def transform_ocs_direction(self, direction: Vec3) -> Vec3: + """Transform an OCS direction from the old OCS into the new OCS.""" + # OCS origin is ALWAYS the WCS origin! + old_wcs_direction = self.old_ocs.to_wcs(direction) + new_wcs_direction = self.m.transform_direction(old_wcs_direction) + return self.new_ocs.from_wcs(new_wcs_direction) + + def transform_thickness(self, thickness: float) -> float: + """Transform the thickness attribute of an OCS entity from the old OCS + into the new OCS. + + Thickness is always applied in the z-axis direction of the OCS + a.k.a. extrusion vector. + + """ + # Only the z-component of the thickness vector transformed into the + # new OCS is relevant for the extrusion in the direction of the new + # OCS z-axis. + # Input and output thickness can be negative! + new_ocs_thickness = self.transform_ocs_direction(Vec3(0, 0, thickness)) + return new_ocs_thickness.z + + def transform_vertex(self, vertex: UVec) -> Vec3: + """Returns vertex transformed from old OCS into new OCS.""" + return self.new_ocs.from_wcs(self.m.transform(self.old_ocs.to_wcs(vertex))) + + def transform_2d_vertex(self, vertex: UVec, elevation: float) -> Vec2: + """Returns 2D vertex transformed from old OCS into new OCS.""" + v = Vec3(vertex).replace(z=elevation) + return Vec2(self.new_ocs.from_wcs(self.m.transform(self.old_ocs.to_wcs(v)))) + + def transform_direction(self, direction: UVec) -> Vec3: + """Returns direction transformed from old OCS into new OCS.""" + return self.new_ocs.from_wcs( + self.m.transform_direction(self.old_ocs.to_wcs(direction)) + ) + + def transform_angle(self, angle: float) -> float: + """Returns angle (in radians) from old OCS transformed into new OCS.""" + return self.transform_direction(Vec3.from_angle(angle)).angle + + def transform_deg_angle(self, angle: float) -> float: + """Returns angle (in degrees) from old OCS transformed into new OCS.""" + return self.transform_angle(angle * RADIANS) * DEG + + def transform_ccw_arc_angles(self, start: float, end: float) -> tuple[float, float]: + """Returns arc start- and end angle (in radians) from old OCS + transformed into new OCS in counter-clockwise orientation. + """ + old_angle_span = arc_angle_span_rad(start, end) # always >= 0 + new_start = self.transform_angle(start) + new_end = self.transform_angle(end) + if math.isclose(old_angle_span, math.pi): # semicircle + old_angle_span = 1.0 # arbitrary angle span + check = self.transform_angle(start + old_angle_span) + new_angle_span = arc_angle_span_rad(new_start, check) + elif math.isclose(old_angle_span, math.tau): + # preserve full circle span + return new_start, new_start + math.tau + else: + new_angle_span = arc_angle_span_rad(new_start, new_end) + + # 2022-07-07: relative tolerance reduced from 1e-9 to 1e-8 for issue #702 + if math.isclose(old_angle_span, new_angle_span, rel_tol=1e-8): + return new_start, new_end + else: # reversed angle orientation + return new_end, new_start + + def transform_ccw_arc_angles_deg( + self, start: float, end: float + ) -> tuple[float, float]: + """Returns start- and end angle (in degrees) from old OCS transformed + into new OCS in counter-clockwise orientation. + """ + start, end = self.transform_ccw_arc_angles(start * RADIANS, end * RADIANS) + return start * DEG, end * DEG + + def transform_scale_vector(self, vec: Vec3) -> Vec3: + ocs = self.old_ocs + ux, uy, uz = self.m.transform_directions((ocs.ux, ocs.uy, ocs.uz)) + x_scale = ux.magnitude * vec.x + y_scale = uy.magnitude * vec.y + z_scale = uz.magnitude * vec.z + expected_uy = uz.cross(ux).normalize() + if not expected_uy.isclose(uy.normalize(), abs_tol=1e-12): + # new y-axis points into opposite direction: + y_scale = -y_scale + return Vec3(x_scale, y_scale, z_scale) + + +class WCSTransform: + def __init__(self, m: Matrix44): + self.m = m + new_x = m.transform_direction(X_AXIS) + new_y = m.transform_direction(Y_AXIS) + new_z = m.transform_direction(Z_AXIS) + new_x_mag_squ = new_x.magnitude_square + self.has_uniform_xy_scaling = math.isclose( + new_x_mag_squ, new_y.magnitude_square + ) + self.has_uniform_xyz_scaling = self.has_uniform_xy_scaling and math.isclose( + new_x_mag_squ, new_z.magnitude_square + ) + self.uniform_scale = self.transform_length(1.0) + + def transform_length(self, value: float, axis: str = "x") -> float: + if axis == "x": + v = Vec3(value, 0, 0) + elif axis == "y": + v = Vec3(0, value, 0) + elif axis == "z": + v = Vec3(0, 0, value) + else: + raise ValueError(f"invalid axis '{axis}'") + return self.m.transform_direction(v).magnitude + + +class InsertCoordinateSystem: + def __init__( + self, + insert: UVec, + scale: tuple[float, float, float], + rotation: float, + extrusion: UVec, + ): + """Defines an INSERT coordinate system. + + Args: + insert: insertion location + scale: scaling factors for x-, y- and z-axis + rotation: rotation angle around the extrusion vector in degrees + extrusion: extrusion vector which defines the :ref:`OCS` + + """ + self.insert = Vec3(insert) + self.scale_factor_x = float(scale[0]) + self.scale_factor_y = float(scale[1]) + self.scale_factor_z = float(scale[2]) + self.rotation = float(rotation) + self.extrusion = Vec3(extrusion) + + def transform(self, m: Matrix44, tol=1e-9) -> InsertCoordinateSystem: + """Returns the transformed INSERT coordinate system. + + Args: + m: transformation matrix + tol: tolerance value + + """ + ocs = OCS(self.extrusion) + + # Transform source OCS axis into the target coordinate system: + ux, uy, uz = m.transform_directions((ocs.ux, ocs.uy, ocs.uz)) + + # Calculate new axis scaling factors: + x_scale = ux.magnitude * self.scale_factor_x + y_scale = uy.magnitude * self.scale_factor_y + z_scale = uz.magnitude * self.scale_factor_z + + ux = ux.normalize() + uy = uy.normalize() + uz = uz.normalize() + # check for orthogonal x-, y- and z-axis + if abs(ux.dot(uz)) > tol or abs(ux.dot(uy)) > tol or abs(uz.dot(uy)) > tol: + raise InsertTransformationError("Non-orthogonal target system.") + + # expected y-axis for an orthogonal right-handed coordinate system: + expected_uy = uz.cross(ux) + if not expected_uy.isclose(uy, abs_tol=tol): + # new y-axis points into opposite direction: + y_scale = -y_scale + + ocs_transform = OCSTransform.from_ocs(OCS(self.extrusion), OCS(uz), m) + return InsertCoordinateSystem( + insert=ocs_transform.transform_vertex(self.insert), + scale=(x_scale, y_scale, z_scale), + rotation=ocs_transform.transform_deg_angle(self.rotation), + extrusion=uz, + ) diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/math/triangulation.py b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/math/triangulation.py new file mode 100644 index 0000000000000000000000000000000000000000..6030b38e9f31ffc2a78f77f58636599c0007a657 --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/math/triangulation.py @@ -0,0 +1,106 @@ +# Copyright (c) 2022-2024, Manfred Moitzi +# License: MIT License +from __future__ import annotations +from typing import Iterable, Iterator, Sequence +import ezdxf +from ezdxf.math import Vec2, UVec, Vec3, safe_normal_vector, OCS + +from ._mapbox_earcut import earcut + +if ezdxf.options.use_c_ext: + try: + from ezdxf.acc.mapbox_earcut import earcut # type: ignore + except ImportError: + pass + +__all__ = [ + "mapbox_earcut_2d", + "mapbox_earcut_3d", +] + + +def mapbox_earcut_2d( + exterior: Iterable[UVec], holes: Iterable[Iterable[UVec]] | None = None +) -> list[Sequence[Vec2]]: + """Mapbox triangulation algorithm with hole support for 2D polygons. + + Implements a modified ear slicing algorithm, optimized by z-order + curve hashing and extended to handle holes, twisted polygons, degeneracies + and self-intersections in a way that doesn't guarantee correctness of + triangulation, but attempts to always produce acceptable results for + practical data. + + Source: https://github.com/mapbox/earcut + + Args: + exterior: exterior polygon as iterable of :class:`Vec2` objects + holes: iterable of holes as iterable of :class:`Vec2` objects, a hole + with single point represents a `Steiner point`_. + + Returns: + yields the result as 3-tuples of :class:`Vec2` objects + + .. _Steiner point: https://en.wikipedia.org/wiki/Steiner_point_(computational_geometry) + + """ + points = Vec2.list(exterior) + if len(points) == 0: + return [] + holes_: list[list[Vec2]] = [] + if holes: + holes_ = [Vec2.list(hole) for hole in holes] + return earcut(points, holes_) + + +def mapbox_earcut_3d( + exterior: Iterable[UVec], holes: Iterable[Iterable[UVec]] | None = None +) -> Iterator[Sequence[Vec3]]: + """Mapbox triangulation algorithm with hole support for flat 3D polygons. + + Implements a modified ear slicing algorithm, optimized by z-order + curve hashing and extended to handle holes, twisted polygons, degeneracies + and self-intersections in a way that doesn't guarantee correctness of + triangulation, but attempts to always produce acceptable results for + practical data. + + Source: https://github.com/mapbox/earcut + + Args: + exterior: exterior polygon as iterable of :class:`Vec3` objects + holes: iterable of holes as iterable of :class:`Vec3` objects, a hole + with single point represents a `Steiner point`_. + + Returns: + yields the result as 3-tuples of :class:`Vec3` objects + + Raise: + TypeError: invalid input data type + ZeroDivisionError: normal vector calculation failed + + """ + polygon = Vec3.list(exterior) + if len(polygon) == 0: + return + + if polygon[0].isclose(polygon[-1]): + polygon.pop() + count = len(polygon) + if count < 3: + return + if count == 3: + yield polygon[0], polygon[1], polygon[2] + return + + ocs = OCS(safe_normal_vector(polygon)) + elevation = ocs.from_wcs(polygon[0]).z + exterior_ocs = list(ocs.points_from_wcs(polygon)) + holes_ocs: list[list[Vec3]] = [] + if holes: + holes_ocs = [list(ocs.points_from_wcs(hole)) for hole in holes] + + # Vec3 supports the _Point protocol in _mapbox_earcut.py + # required attributes: x, y + for triangle in earcut(exterior_ocs, holes_ocs): + yield tuple( + ocs.points_to_wcs(Vec3(v.x, v.y, elevation) for v in triangle) + ) diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/math/ucs.py b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/math/ucs.py new file mode 100644 index 0000000000000000000000000000000000000000..4d51aaa3321ff4dee85a35f5762ae26aa5f7e632 --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/math/ucs.py @@ -0,0 +1,517 @@ +# Copyright (c) 2018-2024 Manfred Moitzi +# License: MIT License +from __future__ import annotations +from typing import TYPE_CHECKING, Sequence, Iterable, Optional, Iterator +from ezdxf.math import Vec3, UVec, X_AXIS, Y_AXIS, Z_AXIS, Matrix44 +from ezdxf.colors import RGB + +if TYPE_CHECKING: + from ezdxf.layouts import BaseLayout + +__all__ = ["OCS", "UCS", "PassTroughUCS"] + + +def render_axis( + layout: BaseLayout, + start: UVec, + points: Sequence[UVec], + colors: RGB = RGB(1, 3, 5), +) -> None: + for point, color in zip(points, colors): + layout.add_line(start, point, dxfattribs={"color": color}) + + +_1_OVER_64 = 1.0 / 64.0 + + +class OCS: + """Establish an :ref:`OCS` for a given extrusion vector. + + Args: + extrusion: extrusion vector. + + """ + + def __init__(self, extrusion: UVec = Z_AXIS): + Az = Vec3(extrusion).normalize() + self.transform = not Az.isclose(Z_AXIS) + if self.transform: + if (abs(Az.x) < _1_OVER_64) and (abs(Az.y) < _1_OVER_64): + Ax = Y_AXIS.cross(Az) + else: + Ax = Z_AXIS.cross(Az) + Ax = Ax.normalize() + Ay = Az.cross(Ax).normalize() + self.matrix = Matrix44.ucs(Ax, Ay, Az) + + @property + def ux(self) -> Vec3: + """x-axis unit vector""" + return self.matrix.ux if self.transform else X_AXIS + + @property + def uy(self) -> Vec3: + """y-axis unit vector""" + return self.matrix.uy if self.transform else Y_AXIS + + @property + def uz(self) -> Vec3: + """z-axis unit vector""" + return self.matrix.uz if self.transform else Z_AXIS + + def from_wcs(self, point: UVec) -> Vec3: + """Returns OCS vector for WCS `point`.""" + p3 = Vec3(point) + if self.transform: + return self.matrix.ocs_from_wcs(p3) + else: + return p3 + + def points_from_wcs(self, points: Iterable[UVec]) -> Iterator[Vec3]: + """Returns iterable of OCS vectors from WCS `points`.""" + _points = Vec3.generate(points) + if self.transform: + from_wcs = self.matrix.ocs_from_wcs + for point in _points: + yield from_wcs(point) + else: + yield from _points + + def to_wcs(self, point: UVec) -> Vec3: + """Returns WCS vector for OCS `point`.""" + if self.transform: + return self.matrix.ocs_to_wcs(point) + else: + return Vec3(point) + + def points_to_wcs(self, points: Iterable[UVec]) -> Iterator[Vec3]: + """Returns iterable of WCS vectors for OCS `points`.""" + _points = Vec3.generate(points) + if self.transform: + to_wcs = self.matrix.ocs_to_wcs + for point in _points: + yield to_wcs(point) + else: + yield from _points + + def render_axis( + self, + layout: BaseLayout, + length: float = 1, + colors: RGB = RGB(1, 3, 5), + ) -> None: + """Render axis as 3D lines into a `layout`.""" + render_axis( + layout, + start=(0, 0, 0), + points=( + self.to_wcs(X_AXIS * length), + self.to_wcs(Y_AXIS * length), + self.to_wcs(Z_AXIS * length), + ), + colors=colors, + ) + + +class UCS: + """Establish a user coordinate system (:ref:`UCS`). The UCS is defined by + the origin and two unit vectors for the x-, y- or z-axis, all axis in + :ref:`WCS`. The missing axis is the cross product of the given axis. + + If x- and y-axis are ``None``: ux = ``(1, 0, 0)``, uy = ``(0, 1, 0)``, + uz = ``(0, 0, 1)``. + + Unit vectors don't have to be normalized, normalization is done at + initialization, this is also the reason why scaling gets lost by copying or + rotating. + + Args: + origin: defines the UCS origin in world coordinates + ux: defines the UCS x-axis as vector in :ref:`WCS` + uy: defines the UCS y-axis as vector in :ref:`WCS` + uz: defines the UCS z-axis as vector in :ref:`WCS` + + """ + + def __init__( + self, + origin: UVec = (0, 0, 0), + ux: Optional[UVec] = None, + uy: Optional[UVec] = None, + uz: Optional[UVec] = None, + ): + if ux is None and uy is None: + _ux: Vec3 = X_AXIS + _uy: Vec3 = Y_AXIS + _uz: Vec3 = Z_AXIS + elif ux is None: + _uy = Vec3(uy).normalize() + _uz = Vec3(uz).normalize() + _ux = Vec3(uy).cross(uz).normalize() + elif uy is None: + _ux = Vec3(ux).normalize() + _uz = Vec3(uz).normalize() + _uy = Vec3(uz).cross(ux).normalize() + elif uz is None: + _ux = Vec3(ux).normalize() + _uy = Vec3(uy).normalize() + _uz = Vec3(ux).cross(uy).normalize() + else: # all axis are given + _ux = Vec3(ux).normalize() + _uy = Vec3(uy).normalize() + _uz = Vec3(uz).normalize() + + self.matrix: Matrix44 = Matrix44.ucs(_ux, _uy, _uz, Vec3(origin)) + + @property + def ux(self) -> Vec3: + """x-axis unit vector""" + return self.matrix.ux + + @property + def uy(self) -> Vec3: + """y-axis unit vector""" + return self.matrix.uy + + @property + def uz(self) -> Vec3: + """z-axis unit vector""" + return self.matrix.uz + + @property + def origin(self) -> Vec3: + """Returns the origin""" + return self.matrix.origin + + @origin.setter + def origin(self, v: UVec) -> None: + """Set origin.""" + self.matrix.origin = v + + def copy(self) -> UCS: + """Returns a copy of this UCS.""" + return UCS(self.origin, self.ux, self.uy, self.uz) + + def to_wcs(self, point: Vec3) -> Vec3: + """Returns WCS point for UCS `point`.""" + return self.matrix.transform(point) + + def points_to_wcs(self, points: Iterable[Vec3]) -> Iterator[Vec3]: + """Returns iterable of WCS vectors for UCS `points`.""" + return self.matrix.transform_vertices(points) + + def direction_to_wcs(self, vector: Vec3) -> Vec3: + """Returns WCS direction for UCS `vector` without origin adjustment.""" + return self.matrix.transform_direction(vector) + + def from_wcs(self, point: Vec3) -> Vec3: + """Returns UCS point for WCS `point`.""" + return self.matrix.ucs_vertex_from_wcs(point) + + def points_from_wcs(self, points: Iterable[Vec3]) -> Iterator[Vec3]: + """Returns iterable of UCS vectors from WCS `points`.""" + from_wcs = self.from_wcs + for point in points: + yield from_wcs(point) + + def direction_from_wcs(self, vector: Vec3) -> Vec3: + """Returns UCS vector for WCS `vector` without origin adjustment.""" + return self.matrix.ucs_direction_from_wcs(vector) + + def to_ocs(self, point: Vec3) -> Vec3: + """Returns OCS vector for UCS `point`. + + The :class:`OCS` is defined by the z-axis of the :class:`UCS`. + + """ + wpoint = self.to_wcs(point) + return OCS(self.uz).from_wcs(wpoint) + + def points_to_ocs(self, points: Iterable[Vec3]) -> Iterator[Vec3]: + """Returns iterable of OCS vectors for UCS `points`. + + The :class:`OCS` is defined by the z-axis of the :class:`UCS`. + + Args: + points: iterable of UCS vertices + + """ + wcs = self.to_wcs + ocs = OCS(self.uz) + for point in points: + yield ocs.from_wcs(wcs(point)) + + def to_ocs_angle_deg(self, angle: float) -> float: + """Transforms `angle` from current UCS to the parent coordinate system + (most likely the WCS) including the transformation to the OCS + established by the extrusion vector :attr:`UCS.uz`. + + Args: + angle: in UCS in degrees + + """ + return self.ucs_direction_to_ocs_direction( + Vec3.from_deg_angle(angle) + ).angle_deg + + def to_ocs_angle_rad(self, angle: float) -> float: + """Transforms `angle` from current UCS to the parent coordinate system + (most likely the WCS) including the transformation to the OCS + established by the extrusion vector :attr:`UCS.uz`. + + Args: + angle: in UCS in radians + + """ + return self.ucs_direction_to_ocs_direction(Vec3.from_angle(angle)).angle + + def ucs_direction_to_ocs_direction(self, direction: Vec3) -> Vec3: + """Transforms UCS `direction` vector into OCS direction vector of the + parent coordinate system (most likely the WCS), target OCS is defined by + the UCS z-axis. + """ + return OCS(self.uz).from_wcs(self.direction_to_wcs(direction)) + + def rotate(self, axis: UVec, angle: float) -> UCS: + """Returns a new rotated UCS, with the same origin as the source UCS. + The rotation vector is located in the origin and has :ref:`WCS` + coordinates e.g. (0, 0, 1) is the WCS z-axis as rotation vector. + + Args: + axis: arbitrary rotation axis as vector in :ref:`WCS` + angle: rotation angle in radians + + """ + t = Matrix44.axis_rotate(Vec3(axis), angle) + ux, uy, uz = t.transform_vertices([self.ux, self.uy, self.uz]) + return UCS(origin=self.origin, ux=ux, uy=uy, uz=uz) + + def rotate_local_x(self, angle: float) -> UCS: + """Returns a new rotated UCS, rotation axis is the local x-axis. + + Args: + angle: rotation angle in radians + + """ + t = Matrix44.axis_rotate(self.ux, angle) + uy, uz = t.transform_vertices([self.uy, self.uz]) + return UCS(origin=self.origin, ux=self.ux, uy=uy, uz=uz) + + def rotate_local_y(self, angle: float) -> UCS: + """Returns a new rotated UCS, rotation axis is the local y-axis. + + Args: + angle: rotation angle in radians + + """ + t = Matrix44.axis_rotate(self.uy, angle) + ux, uz = t.transform_vertices([self.ux, self.uz]) + return UCS(origin=self.origin, ux=ux, uy=self.uy, uz=uz) + + def rotate_local_z(self, angle: float) -> UCS: + """Returns a new rotated UCS, rotation axis is the local z-axis. + + Args: + angle: rotation angle in radians + + """ + t = Matrix44.axis_rotate(self.uz, angle) + ux, uy = t.transform_vertices([self.ux, self.uy]) + return UCS(origin=self.origin, ux=ux, uy=uy, uz=self.uz) + + def shift(self, delta: UVec) -> UCS: + """Shifts current UCS by `delta` vector and returns `self`. + + Args: + delta: shifting vector + + """ + self.origin += Vec3(delta) + return self + + def moveto(self, location: UVec) -> UCS: + """Place current UCS at new origin `location` and returns `self`. + + Args: + location: new origin in WCS + + """ + self.origin = Vec3(location) + return self + + def transform(self, m: Matrix44) -> UCS: + """General inplace transformation interface, returns `self` (floating + interface). + + Args: + m: 4x4 transformation matrix (:class:`ezdxf.math.Matrix44`) + + """ + self.matrix *= m + return self + + @property + def is_cartesian(self) -> bool: + """Returns ``True`` if cartesian coordinate system.""" + return self.matrix.is_cartesian + + @staticmethod + def from_x_axis_and_point_in_xy( + origin: UVec, axis: UVec, point: UVec + ) -> UCS: + """Returns a new :class:`UCS` defined by the origin, the x-axis vector + and an arbitrary point in the xy-plane. + + Args: + origin: UCS origin as (x, y, z) tuple in :ref:`WCS` + axis: x-axis vector as (x, y, z) tuple in :ref:`WCS` + point: arbitrary point unlike the origin in the xy-plane as + (x, y, z) tuple in :ref:`WCS` + + """ + x_axis = Vec3(axis) + z_axis = x_axis.cross(Vec3(point) - origin) + return UCS(origin=origin, ux=x_axis, uz=z_axis) + + @staticmethod + def from_x_axis_and_point_in_xz( + origin: UVec, axis: UVec, point: UVec + ) -> UCS: + """Returns a new :class:`UCS` defined by the origin, the x-axis vector + and an arbitrary point in the xz-plane. + + Args: + origin: UCS origin as (x, y, z) tuple in :ref:`WCS` + axis: x-axis vector as (x, y, z) tuple in :ref:`WCS` + point: arbitrary point unlike the origin in the xz-plane as + (x, y, z) tuple in :ref:`WCS` + + """ + x_axis = Vec3(axis) + xz_vector = Vec3(point) - origin + y_axis = xz_vector.cross(x_axis) + return UCS(origin=origin, ux=x_axis, uy=y_axis) + + @staticmethod + def from_y_axis_and_point_in_xy( + origin: UVec, axis: UVec, point: UVec + ) -> UCS: + """Returns a new :class:`UCS` defined by the origin, the y-axis vector + and an arbitrary point in the xy-plane. + + Args: + origin: UCS origin as (x, y, z) tuple in :ref:`WCS` + axis: y-axis vector as (x, y, z) tuple in :ref:`WCS` + point: arbitrary point unlike the origin in the xy-plane as + (x, y, z) tuple in :ref:`WCS` + + """ + y_axis = Vec3(axis) + xy_vector = Vec3(point) - origin + z_axis = xy_vector.cross(y_axis) + return UCS(origin=origin, uy=y_axis, uz=z_axis) + + @staticmethod + def from_y_axis_and_point_in_yz( + origin: UVec, axis: UVec, point: UVec + ) -> UCS: + """Returns a new :class:`UCS` defined by the origin, the y-axis vector + and an arbitrary point in the yz-plane. + + Args: + origin: UCS origin as (x, y, z) tuple in :ref:`WCS` + axis: y-axis vector as (x, y, z) tuple in :ref:`WCS` + point: arbitrary point unlike the origin in the yz-plane as + (x, y, z) tuple in :ref:`WCS` + + """ + y_axis = Vec3(axis) + yz_vector = Vec3(point) - origin + x_axis = yz_vector.cross(y_axis) + return UCS(origin=origin, ux=x_axis, uy=y_axis) + + @staticmethod + def from_z_axis_and_point_in_xz( + origin: UVec, axis: UVec, point: UVec + ) -> UCS: + """Returns a new :class:`UCS` defined by the origin, the z-axis vector + and an arbitrary point in the xz-plane. + + Args: + origin: UCS origin as (x, y, z) tuple in :ref:`WCS` + axis: z-axis vector as (x, y, z) tuple in :ref:`WCS` + point: arbitrary point unlike the origin in the xz-plane as + (x, y, z) tuple in :ref:`WCS` + + """ + z_axis = Vec3(axis) + y_axis = z_axis.cross(Vec3(point) - origin) + return UCS(origin=origin, uy=y_axis, uz=z_axis) + + @staticmethod + def from_z_axis_and_point_in_yz( + origin: UVec, axis: UVec, point: UVec + ) -> UCS: + """Returns a new :class:`UCS` defined by the origin, the z-axis vector + and an arbitrary point in the yz-plane. + + Args: + origin: UCS origin as (x, y, z) tuple in :ref:`WCS` + axis: z-axis vector as (x, y, z) tuple in :ref:`WCS` + point: arbitrary point unlike the origin in the yz-plane as + (x, y, z) tuple in :ref:`WCS` + + """ + z_axis = Vec3(axis) + yz_vector = Vec3(point) - origin + x_axis = yz_vector.cross(z_axis) + return UCS(origin=origin, ux=x_axis, uz=z_axis) + + def render_axis( + self, + layout: BaseLayout, + length: float = 1, + colors: RGB = RGB(1, 3, 5), + ): + """Render axis as 3D lines into a `layout`.""" + render_axis( + layout, + start=self.origin, + points=( + self.to_wcs(X_AXIS * length), + self.to_wcs(Y_AXIS * length), + self.to_wcs(Z_AXIS * length), + ), + colors=colors, + ) + + +class PassTroughUCS(UCS): + """UCS is equal to the WCS and OCS (extrusion = 0, 0, 1)""" + + def __init__(self): + super().__init__() + + def to_wcs(self, point: Vec3) -> Vec3: + return point + + def points_to_wcs(self, points: Iterable[Vec3]) -> Iterator[Vec3]: + return iter(points) + + def to_ocs(self, point: Vec3) -> Vec3: + return point + + def points_to_ocs(self, points: Iterable[Vec3]) -> Iterator[Vec3]: + return iter(points) + + def to_ocs_angle_deg(self, angle: float) -> float: + return angle + + def to_ocs_angle_rad(self, angle: float) -> float: + return angle + + def from_wcs(self, point: Vec3) -> Vec3: + return point + + def points_from_wcs(self, points: Iterable[Vec3]) -> Iterator[Vec3]: + return iter(points) diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/render/__init__.py b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/render/__init__.py new file mode 100644 index 0000000000000000000000000000000000000000..ada19c1ae4cbf602fcc0ffd03f47b8c6f515c9aa --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/render/__init__.py @@ -0,0 +1,30 @@ +# Copyright (c) 2018-2022, Manfred Moitzi +# License: MIT License +from .arrows import ARROWS +from .r12spline import R12Spline +from .curves import Bezier, EulerSpiral, Spline, random_2d_path, random_3d_path +from .mesh import ( + MeshBuilder, + MeshVertexMerger, + MeshTransformer, + MeshAverageVertexMerger, + MeshDiagnose, + FaceOrientationDetector, + MeshBuilderError, + NonManifoldMeshError, + MultipleMeshesError, + NodeMergingError, + DegeneratedPathError, +) +from .trace import TraceBuilder +from .mleader import ( + MultiLeaderBuilder, + MultiLeaderMTextBuilder, + MultiLeaderBlockBuilder, + ConnectionSide, + HorizontalConnection, + VerticalConnection, + LeaderType, + TextAlignment, + BlockAlignment, +) diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/render/_linetypes.py b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/render/_linetypes.py new file mode 100644 index 0000000000000000000000000000000000000000..ac8a019d24a561e949e43010a866343eb760f55b --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/render/_linetypes.py @@ -0,0 +1,76 @@ +# Copyright (c) 2020-2022, Manfred Moitzi +# License: MIT License +from __future__ import annotations +from typing import Tuple, Iterable, Sequence +from typing_extensions import TypeAlias +import math +from ezdxf.math import Vec3, UVec + +LineSegment: TypeAlias = Tuple[Vec3, Vec3] + + +class _LineTypeRenderer: + """Renders a line segment as multiple short segments according to the given + line pattern. + + In contrast to the DXF line pattern is this pattern simplified and follow + the rule line-gap-line-gap-... a line of length 0 is a point. + The pattern should end with a gap (even count) and the dash length is in + drawing units. + + Args: + dashes: sequence of floats, line-gap-line-gap-... + + """ + # Get the simplified line pattern by LineType.simplified_line_pattern() + def __init__(self, dashes: Sequence[float]): + self._dashes = dashes + self._dash_count: int = len(dashes) + self.is_solid: bool = True + self._current_dash: int = 0 + self._current_dash_length: float = 0.0 + if self._dash_count > 1: + self.is_solid = False + self._current_dash_length = self._dashes[0] + self._is_dash = True + + def line_segment(self, start: UVec, end: UVec) -> Iterable[LineSegment]: + """Yields the line from `start` to `end` according to stored line + pattern as short segments. Yields only the lines and points not the + gaps. + + """ + _start = Vec3(start) + _end = Vec3(end) + if self.is_solid or _start.isclose(_end): + yield _start, _end + return + + segment_vec = _end - _start + segment_length = segment_vec.magnitude + segment_dir = segment_vec / segment_length # normalize + + for is_dash, dash_length in self._render_dashes(segment_length): + _end = _start + segment_dir * dash_length + if is_dash: + yield _start, _end + _start = _end + + def _render_dashes(self, length: float) -> Iterable[tuple[bool, float]]: + if length <= self._current_dash_length: + self._current_dash_length -= length + yield self._is_dash, length + if math.isclose(self._current_dash_length, 0.0): + self._cycle_dashes() + else: + # Avoid deep recursions! + while length > self._current_dash_length: + length -= self._current_dash_length + yield from self._render_dashes(self._current_dash_length) + if length > 0.0: + yield from self._render_dashes(length) + + def _cycle_dashes(self): + self._current_dash = (self._current_dash + 1) % self._dash_count + self._current_dash_length = self._dashes[self._current_dash] + self._is_dash = not self._is_dash diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/render/abstract_mtext_renderer.py b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/render/abstract_mtext_renderer.py new file mode 100644 index 0000000000000000000000000000000000000000..8802423d8ef20c834fe39048c6cf20bbacaaf426 --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/render/abstract_mtext_renderer.py @@ -0,0 +1,296 @@ +# Copyright (c) 2021-2023, Manfred Moitzi +# License: MIT License + +# This is the abstract link between the text layout engine implemented in +# ezdxf.tools.text_layout and a concrete MTEXT renderer implementation like +# MTextExplode or ComplexMTextRenderer. +from __future__ import annotations +from typing import Sequence, Optional +import abc +from ezdxf.lldxf import const +from ezdxf import colors +from ezdxf.entities.mtext import MText, MTextColumns +from ezdxf.enums import ( + MTextParagraphAlignment, +) +from ezdxf.fonts import fonts +from ezdxf.tools import text_layout as tl +from ezdxf.tools.text import ( + MTextParser, + MTextContext, + TokenType, + ParagraphProperties, + estimate_mtext_extents, +) + +__all__ = ["AbstractMTextRenderer"] + +ALIGN = { + MTextParagraphAlignment.LEFT: tl.ParagraphAlignment.LEFT, + MTextParagraphAlignment.RIGHT: tl.ParagraphAlignment.RIGHT, + MTextParagraphAlignment.CENTER: tl.ParagraphAlignment.CENTER, + MTextParagraphAlignment.JUSTIFIED: tl.ParagraphAlignment.JUSTIFIED, + MTextParagraphAlignment.DISTRIBUTED: tl.ParagraphAlignment.JUSTIFIED, + MTextParagraphAlignment.DEFAULT: tl.ParagraphAlignment.LEFT, +} + +ATTACHMENT_POINT_TO_ALIGN = { + const.MTEXT_TOP_LEFT: tl.ParagraphAlignment.LEFT, + const.MTEXT_MIDDLE_LEFT: tl.ParagraphAlignment.LEFT, + const.MTEXT_BOTTOM_LEFT: tl.ParagraphAlignment.LEFT, + const.MTEXT_TOP_CENTER: tl.ParagraphAlignment.CENTER, + const.MTEXT_MIDDLE_CENTER: tl.ParagraphAlignment.CENTER, + const.MTEXT_BOTTOM_CENTER: tl.ParagraphAlignment.CENTER, + const.MTEXT_TOP_RIGHT: tl.ParagraphAlignment.RIGHT, + const.MTEXT_MIDDLE_RIGHT: tl.ParagraphAlignment.RIGHT, + const.MTEXT_BOTTOM_RIGHT: tl.ParagraphAlignment.RIGHT, +} + +STACKING = { + "^": tl.Stacking.OVER, + "/": tl.Stacking.LINE, + "#": tl.Stacking.SLANTED, +} + + +def make_default_tab_stops(cap_height: float, width: float) -> list[tl.TabStop]: + tab_stops = [] + step = 4.0 * cap_height + pos = step + while pos < width: + tab_stops.append(tl.TabStop(pos, tl.TabStopType.LEFT)) + pos += step + return tab_stops + + +def append_default_tab_stops( + tab_stops: list[tl.TabStop], default_stops: Sequence[tl.TabStop] +) -> None: + last_pos = 0.0 + if tab_stops: + last_pos = tab_stops[-1].pos + tab_stops.extend(stop for stop in default_stops if stop.pos > last_pos) + + +def make_tab_stops( + cap_height: float, + width: float, + tab_stops: Sequence, + default_stops: Sequence[tl.TabStop], +) -> list[tl.TabStop]: + _tab_stops = [] + for stop in tab_stops: + if isinstance(stop, str): + value = float(stop[1:]) + if stop[0] == "c": + kind = tl.TabStopType.CENTER + else: + kind = tl.TabStopType.RIGHT + else: + kind = tl.TabStopType.LEFT + value = float(stop) + pos = value * cap_height + if pos < width: + _tab_stops.append(tl.TabStop(pos, kind)) + + append_default_tab_stops(_tab_stops, default_stops) + return _tab_stops + + +def get_stroke(ctx: MTextContext) -> int: + stroke = 0 + if ctx.underline: + stroke += tl.Stroke.UNDERLINE + if ctx.strike_through: + stroke += tl.Stroke.STRIKE_THROUGH + if ctx.overline: + stroke += tl.Stroke.OVERLINE + if ctx.continue_stroke: + stroke += tl.Stroke.CONTINUE + return stroke + + +def new_paragraph( + cells: list, + ctx: MTextContext, + cap_height: float, + line_spacing: float = 1, + width: float = 0, + default_stops: Optional[Sequence[tl.TabStop]] = None, +): + if cells: + p = ctx.paragraph + align = ALIGN.get(p.align, tl.ParagraphAlignment.LEFT) + left = p.left * cap_height + right = p.right * cap_height + first = left + p.indent * cap_height # relative to left + _default_stops: Sequence[tl.TabStop] = default_stops or [] + tab_stops = _default_stops + if p.tab_stops: + tab_stops = make_tab_stops(cap_height, width, p.tab_stops, _default_stops) + paragraph = tl.Paragraph( + align=align, + indent=(first, left, right), + line_spacing=line_spacing, + tab_stops=tab_stops, + ) + paragraph.append_content(cells) + else: + paragraph = tl.EmptyParagraph( # type: ignore + cap_height=ctx.cap_height, line_spacing=line_spacing + ) + return paragraph + + +def super_glue(): + return tl.NonBreakingSpace(width=0, min_width=0, max_width=0) + + +def defined_width(mtext: MText) -> float: + width = mtext.dxf.get("width", 0.0) + if width < 1e-6: + width, height = estimate_mtext_extents(mtext) + return width + + +def column_heights(columns: MTextColumns) -> list[Optional[float]]: + heights: list[Optional[float]] + if columns.heights: # dynamic manual + heights = list(columns.heights) + # last height has to be auto height = None + heights[-1] = None + return heights + # static, dynamic auto + defined_height = abs(columns.defined_height) + if defined_height < 1e-6: + return [None] + return [defined_height] * columns.count + + +class AbstractMTextRenderer(abc.ABC): + def __init__(self) -> None: + self._font_cache: dict[tuple[str, float, float], fonts.AbstractFont] = {} + + @abc.abstractmethod + def word(self, test: str, ctx: MTextContext) -> tl.ContentCell: + ... + + @abc.abstractmethod + def fraction(self, data: tuple[str, str, str], ctx: MTextContext) -> tl.ContentCell: + ... + + @abc.abstractmethod + def get_font_face(self, mtext: MText) -> fonts.FontFace: + ... + + @abc.abstractmethod + def make_bg_renderer(self, mtext: MText) -> tl.ContentRenderer: + ... + + def make_mtext_context(self, mtext: MText) -> MTextContext: + ctx = MTextContext() + ctx.paragraph = ParagraphProperties( + align=ATTACHMENT_POINT_TO_ALIGN.get( # type: ignore + mtext.dxf.attachment_point, tl.ParagraphAlignment.LEFT + ) + ) + ctx.font_face = self.get_font_face(mtext) + ctx.cap_height = mtext.dxf.char_height + ctx.aci = mtext.dxf.color + rgb = mtext.rgb + if rgb is not None: + ctx.rgb = colors.RGB(*rgb) + return ctx + + def get_font(self, ctx: MTextContext) -> fonts.AbstractFont: + ttf = fonts.find_font_file_name(ctx.font_face) # 1st call is very slow + key = (ttf, ctx.cap_height, ctx.width_factor) + font = self._font_cache.get(key) + if font is None: + font = fonts.make_font(ttf, ctx.cap_height, ctx.width_factor) + self._font_cache[key] = font + return font + + def get_stroke(self, ctx: MTextContext) -> int: + return get_stroke(ctx) + + def get_stacking(self, type_: str) -> tl.Stacking: + return STACKING.get(type_, tl.Stacking.LINE) + + def space_width(self, ctx: MTextContext) -> float: + return self.get_font(ctx).space_width() + + def space(self, ctx: MTextContext): + return tl.Space(width=self.space_width(ctx)) + + def tabulator(self, ctx: MTextContext): + return tl.Tabulator(width=self.space_width(ctx)) + + def non_breaking_space(self, ctx: MTextContext): + return tl.NonBreakingSpace(width=self.space_width(ctx)) + + def layout_engine(self, mtext: MText) -> tl.Layout: + initial_cap_height = mtext.dxf.char_height + line_spacing = mtext.dxf.line_spacing_factor + + def append_paragraph(): + paragraph = new_paragraph( + cells, + ctx, + initial_cap_height, + line_spacing, + width, + default_stops, + ) + layout.append_paragraphs([paragraph]) + cells.clear() + + bg_renderer = self.make_bg_renderer(mtext) + width = defined_width(mtext) + default_stops = make_default_tab_stops(initial_cap_height, width) + layout = tl.Layout(width=width) + if mtext.has_columns: + columns = mtext.columns + assert columns is not None + for height in column_heights(columns): + layout.append_column( + width=columns.width, + height=height, + gutter=columns.gutter_width, + renderer=bg_renderer, + ) + else: + # column with auto height and default width + layout.append_column(renderer=bg_renderer) + + content = mtext.all_columns_raw_content() + ctx = self.make_mtext_context(mtext) + cells: list[tl.Cell] = [] + for token in MTextParser(content, ctx): + ctx = token.ctx + if token.type == TokenType.NEW_PARAGRAPH: + append_paragraph() + elif token.type == TokenType.NEW_COLUMN: + append_paragraph() + layout.next_column() + elif token.type == TokenType.SPACE: + cells.append(self.space(ctx)) + elif token.type == TokenType.NBSP: + cells.append(self.non_breaking_space(ctx)) + elif token.type == TokenType.TABULATOR: + cells.append(self.tabulator(ctx)) + elif token.type == TokenType.WORD: + if cells and isinstance(cells[-1], (tl.Text, tl.Fraction)): + # Create an unbreakable connection between those two parts. + cells.append(super_glue()) + cells.append(self.word(token.data, ctx)) + elif token.type == TokenType.STACK: + if cells and isinstance(cells[-1], (tl.Text, tl.Fraction)): + # Create an unbreakable connection between those two parts. + cells.append(super_glue()) + cells.append(self.fraction(token.data, ctx)) + + if cells: + append_paragraph() + + return layout diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/render/arrows.py b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/render/arrows.py new file mode 100644 index 0000000000000000000000000000000000000000..1f7b68ea968c4ed3cc3abf43d1552438beace701 --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/render/arrows.py @@ -0,0 +1,626 @@ +# Copyright (c) 2019-2022 Manfred Moitzi +# License: MIT License +from __future__ import annotations +from typing import TYPE_CHECKING, Iterable, Iterator +from ezdxf.math import Vec2, Shape2d, NULLVEC, UVec +from .forms import open_arrow, arrow2 + +if TYPE_CHECKING: + from ezdxf.entities import DXFGraphic + from ezdxf.sections.blocks import BlocksSection + from ezdxf.eztypes import GenericLayoutType + +DEFAULT_ARROW_ANGLE = 18.924644 +DEFAULT_BETA = 45.0 + + +# The base arrow is oriented for the right hand side ->| of the dimension line, +# reverse is the left hand side |<-. +class BaseArrow: + def __init__(self, vertices: Iterable[UVec]): + self.shape = Shape2d(vertices) + + def render(self, layout: GenericLayoutType, dxfattribs=None): + pass + + def place(self, insert: UVec, angle: float): + self.shape.rotate(angle) + self.shape.translate(insert) + + +class NoneStroke(BaseArrow): + def __init__(self, insert: UVec, size: float = 1.0, angle: float = 0): + super().__init__([Vec2(insert)]) + + +class ObliqueStroke(BaseArrow): + def __init__(self, insert: UVec, size: float = 1.0, angle: float = 0): + self.size = size + s2 = size / 2 + # shape = [center, lower left, upper right] + super().__init__([Vec2((-s2, -s2)), Vec2((s2, s2))]) + self.place(insert, angle) + + def render(self, layout: GenericLayoutType, dxfattribs=None): + layout.add_line( + start=self.shape[0], end=self.shape[1], dxfattribs=dxfattribs + ) + + +class ArchTick(ObliqueStroke): + def render(self, layout: GenericLayoutType, dxfattribs=None): + width = self.size * 0.15 + dxfattribs = dxfattribs or {} + if layout.dxfversion > "AC1009": + dxfattribs["const_width"] = width + layout.add_lwpolyline( + self.shape, format="xy", dxfattribs=dxfattribs # type: ignore + ) + else: + dxfattribs["default_start_width"] = width + dxfattribs["default_end_width"] = width + layout.add_polyline2d(self.shape, dxfattribs=dxfattribs) # type: ignore + + +class ClosedArrowBlank(BaseArrow): + def __init__(self, insert: UVec, size: float = 1.0, angle: float = 0): + super().__init__(open_arrow(size, angle=DEFAULT_ARROW_ANGLE)) + self.place(insert, angle) + + def render(self, layout: GenericLayoutType, dxfattribs=None): + if layout.dxfversion > "AC1009": + polyline = layout.add_lwpolyline( + points=self.shape, dxfattribs=dxfattribs # type: ignore + ) + else: + polyline = layout.add_polyline2d( # type: ignore + points=self.shape, dxfattribs=dxfattribs # type: ignore + ) + polyline.close(True) + + +class ClosedArrow(ClosedArrowBlank): + def render(self, layout: GenericLayoutType, dxfattribs=None): + super().render(layout, dxfattribs) + end_point = self.shape[0].lerp(self.shape[2]) + + layout.add_line( + start=self.shape[1], end=end_point, dxfattribs=dxfattribs + ) + + +class ClosedArrowFilled(ClosedArrow): + def render(self, layout: GenericLayoutType, dxfattribs=None): + layout.add_solid( + points=self.shape, # type: ignore + dxfattribs=dxfattribs, + ) + + +class _OpenArrow(BaseArrow): + def __init__( + self, + arrow_angle: float, + insert: UVec, + size: float = 1.0, + angle: float = 0, + ): + points = list(open_arrow(size, angle=arrow_angle)) + points.append((-1, 0)) + super().__init__(points) + self.place(insert, angle) + + def render(self, layout: GenericLayoutType, dxfattribs=None): + if layout.dxfversion > "AC1009": + layout.add_lwpolyline(points=self.shape[:-1], dxfattribs=dxfattribs) + else: + layout.add_polyline2d(points=self.shape[:-1], dxfattribs=dxfattribs) + layout.add_line( + start=self.shape[1], end=self.shape[-1], dxfattribs=dxfattribs + ) + + +class OpenArrow(_OpenArrow): + def __init__(self, insert: UVec, size: float = 1.0, angle: float = 0): + super().__init__(DEFAULT_ARROW_ANGLE, insert, size, angle) + + +class OpenArrow30(_OpenArrow): + def __init__(self, insert: UVec, size: float = 1.0, angle: float = 0): + super().__init__(30, insert, size, angle) + + +class OpenArrow90(_OpenArrow): + def __init__(self, insert: UVec, size: float = 1.0, angle: float = 0): + super().__init__(90, insert, size, angle) + + +class Circle(BaseArrow): + def __init__(self, insert: UVec, size: float = 1.0, angle: float = 0): + self.radius = size / 2 + # shape = [center point, connection point] + super().__init__( + [ + Vec2((0, 0)), + Vec2((-self.radius, 0)), + Vec2((-size, 0)), + ] + ) + self.place(insert, angle) + + def render(self, layout: GenericLayoutType, dxfattribs=None): + layout.add_circle( + center=self.shape[0], radius=self.radius, dxfattribs=dxfattribs + ) + + +class Origin(Circle): + def render(self, layout: GenericLayoutType, dxfattribs=None): + super().render(layout, dxfattribs) + layout.add_line( + start=self.shape[0], end=self.shape[2], dxfattribs=dxfattribs + ) + + +class CircleBlank(Circle): + def render(self, layout: GenericLayoutType, dxfattribs=None): + super().render(layout, dxfattribs) + layout.add_line( + start=self.shape[1], end=self.shape[2], dxfattribs=dxfattribs + ) + + +class Origin2(Circle): + def render(self, layout: GenericLayoutType, dxfattribs=None): + layout.add_circle( + center=self.shape[0], radius=self.radius, dxfattribs=dxfattribs + ) + layout.add_circle( + center=self.shape[0], radius=self.radius / 2, dxfattribs=dxfattribs + ) + layout.add_line( + start=self.shape[1], end=self.shape[2], dxfattribs=dxfattribs + ) + + +class DotSmall(Circle): + def render(self, layout: GenericLayoutType, dxfattribs=None): + center = self.shape[0] + d = Vec2((self.radius / 2, 0)) + p1 = center - d + p2 = center + d + dxfattribs = dxfattribs or {} + if layout.dxfversion > "AC1009": + dxfattribs["const_width"] = self.radius + layout.add_lwpolyline( + [(p1, 1), (p2, 1)], + format="vb", + close=True, + dxfattribs=dxfattribs, + ) + else: + dxfattribs["default_start_width"] = self.radius + dxfattribs["default_end_width"] = self.radius + polyline = layout.add_polyline2d( + points=[p1, p2], close=True, dxfattribs=dxfattribs + ) + polyline[0].dxf.bulge = 1 + polyline[1].dxf.bulge = 1 + + +class Dot(DotSmall): + def render(self, layout: GenericLayoutType, dxfattribs=None): + layout.add_line( + start=self.shape[1], end=self.shape[2], dxfattribs=dxfattribs + ) + super().render(layout, dxfattribs) + + +class Box(BaseArrow): + def __init__(self, insert: UVec, size: float = 1.0, angle: float = 0): + # shape = [lower_left, lower_right, upper_right, upper_left, connection point] + s2 = size / 2 + super().__init__( + [ + Vec2((-s2, -s2)), + Vec2((+s2, -s2)), + Vec2((+s2, +s2)), + Vec2((-s2, +s2)), + Vec2((-s2, 0)), + Vec2((-size, 0)), + ] + ) + self.place(insert, angle) + + def render(self, layout: GenericLayoutType, dxfattribs=None): + if layout.dxfversion > "AC1009": + polyline = layout.add_lwpolyline( + points=self.shape[0:4], dxfattribs=dxfattribs + ) + else: + polyline = layout.add_polyline2d( # type: ignore + points=self.shape[0:4], dxfattribs=dxfattribs + ) + polyline.close(True) + layout.add_line( + start=self.shape[4], end=self.shape[5], dxfattribs=dxfattribs + ) + + +class BoxFilled(Box): + def render(self, layout: GenericLayoutType, dxfattribs=None): + def solid_order(): + v = self.shape.vertices + return [v[0], v[1], v[3], v[2]] + + layout.add_solid(points=solid_order(), dxfattribs=dxfattribs) + layout.add_line( + start=self.shape[4], end=self.shape[5], dxfattribs=dxfattribs + ) + + +class Integral(BaseArrow): + def __init__(self, insert: UVec, size: float = 1.0, angle: float = 0): + self.radius = size * 0.3535534 + self.angle = angle + # shape = [center, left_center, right_center] + super().__init__( + [ + Vec2((0, 0)), + Vec2((-self.radius, 0)), + Vec2((self.radius, 0)), + ] + ) + self.place(insert, angle) + + def render(self, layout: GenericLayoutType, dxfattribs=None): + angle = self.angle + layout.add_arc( + center=self.shape[1], + radius=self.radius, + start_angle=-90 + angle, + end_angle=angle, + dxfattribs=dxfattribs, + ) + layout.add_arc( + center=self.shape[2], + radius=self.radius, + start_angle=90 + angle, + end_angle=180 + angle, + dxfattribs=dxfattribs, + ) + + +class DatumTriangle(BaseArrow): + REVERSE_ANGLE = 180 + + def __init__(self, insert: UVec, size: float = 1.0, angle: float = 0): + d = 0.577350269 * size # tan(30) + # shape = [upper_corner, lower_corner, connection_point] + super().__init__( + [ + Vec2((0, d)), + Vec2((0, -d)), + Vec2((-size, 0)), + ] + ) + self.place(insert, angle) + + def render(self, layout: GenericLayoutType, dxfattribs=None): + if layout.dxfversion > "AC1009": + polyline = layout.add_lwpolyline( + points=self.shape, dxfattribs=dxfattribs # type: ignore + ) + else: + polyline = layout.add_polyline2d( # type: ignore + points=self.shape, dxfattribs=dxfattribs # type: ignore + ) + polyline.close(True) + + +class DatumTriangleFilled(DatumTriangle): + def render(self, layout: GenericLayoutType, dxfattribs=None): + layout.add_solid(points=self.shape, dxfattribs=dxfattribs) # type: ignore + + +class _EzArrow(BaseArrow): + def __init__(self, insert: UVec, size: float = 1.0, angle: float = 0): + points = list(arrow2(size, angle=DEFAULT_ARROW_ANGLE)) + points.append((-1, 0)) + super().__init__(points) + self.place(insert, angle) + + def render(self, layout: GenericLayoutType, dxfattribs=None): + if layout.dxfversion > "AC1009": + polyline = layout.add_lwpolyline( + self.shape[:-1], dxfattribs=dxfattribs + ) + else: + polyline = layout.add_polyline2d( # type: ignore + self.shape[:-1], dxfattribs=dxfattribs + ) + polyline.close(True) + + +class EzArrowBlank(_EzArrow): + def render(self, layout: GenericLayoutType, dxfattribs=None): + super().render(layout, dxfattribs) + layout.add_line( + start=self.shape[-2], end=self.shape[-1], dxfattribs=dxfattribs + ) + + +class EzArrow(_EzArrow): + def render(self, layout: GenericLayoutType, dxfattribs=None): + super().render(layout, dxfattribs) + layout.add_line( + start=self.shape[1], end=self.shape[-1], dxfattribs=dxfattribs + ) + + +class EzArrowFilled(_EzArrow): + def render(self, layout: GenericLayoutType, dxfattribs=None): + points = self.shape.vertices + layout.add_solid( + [points[0], points[1], points[3], points[2]], dxfattribs=dxfattribs + ) + layout.add_line( + start=self.shape[-2], end=self.shape[-1], dxfattribs=dxfattribs + ) + + +class _Arrows: + closed_filled = "" + dot = "DOT" + dot_small = "DOTSMALL" + dot_blank = "DOTBLANK" + origin_indicator = "ORIGIN" + origin_indicator_2 = "ORIGIN2" + open = "OPEN" + right_angle = "OPEN90" + open_30 = "OPEN30" + closed = "CLOSED" + dot_smallblank = "SMALL" + none = "NONE" + oblique = "OBLIQUE" + box_filled = "BOXFILLED" + box = "BOXBLANK" + closed_blank = "CLOSEDBLANK" + datum_triangle_filled = "DATUMFILLED" + datum_triangle = "DATUMBLANK" + integral = "INTEGRAL" + architectural_tick = "ARCHTICK" + # ezdxf special arrows + ez_arrow = "EZ_ARROW" + ez_arrow_blank = "EZ_ARROW_BLANK" + ez_arrow_filled = "EZ_ARROW_FILLED" + + CLASSES = { + closed_filled: ClosedArrowFilled, + dot: Dot, + dot_small: DotSmall, + dot_blank: CircleBlank, + origin_indicator: Origin, + origin_indicator_2: Origin2, + open: OpenArrow, + right_angle: OpenArrow90, + open_30: OpenArrow30, + closed: ClosedArrow, + dot_smallblank: Circle, + none: NoneStroke, + oblique: ObliqueStroke, + box_filled: BoxFilled, + box: Box, + closed_blank: ClosedArrowBlank, + datum_triangle: DatumTriangle, + datum_triangle_filled: DatumTriangleFilled, + integral: Integral, + architectural_tick: ArchTick, + ez_arrow: EzArrow, + ez_arrow_blank: EzArrowBlank, + ez_arrow_filled: EzArrowFilled, + } + # arrows with origin at dimension line start/end + ORIGIN_ZERO = { + architectural_tick, + oblique, + dot_small, + dot_smallblank, + integral, + none, + } + + __acad__ = { + closed_filled, + dot, + dot_small, + dot_blank, + origin_indicator, + origin_indicator_2, + open, + right_angle, + open_30, + closed, + dot_smallblank, + none, + oblique, + box_filled, + box, + closed_blank, + datum_triangle, + datum_triangle_filled, + integral, + architectural_tick, + } + __ezdxf__ = { + ez_arrow, + ez_arrow_blank, + ez_arrow_filled, + } + __all_arrows__ = __acad__ | __ezdxf__ + + EXTENSIONS_ALLOWED = { + architectural_tick, + oblique, + none, + dot_smallblank, + integral, + dot_small, + } + + def is_acad_arrow(self, item: str) -> bool: + """Returns ``True`` if `item` is a standard AutoCAD arrow.""" + return item.upper() in self.__acad__ + + def is_ezdxf_arrow(self, item: str) -> bool: + """Returns ``True`` if `item` is a special `ezdxf` arrow.""" + return item.upper() in self.__ezdxf__ + + def has_extension_line(self, name): + """Returns ``True`` if the arrow `name` supports extension lines.""" + return name in self.EXTENSIONS_ALLOWED + + def __contains__(self, item: str) -> bool: + """Returns `True` if `item` is an arrow managed by this class.""" + if item is None: + return False + return item.upper() in self.__all_arrows__ + + def create_block(self, blocks: BlocksSection, name: str) -> str: + """Creates the BLOCK definition for arrow `name`.""" + block_name = self.block_name(name) + if block_name not in blocks: + block = blocks.new(block_name) + arrow = self.arrow_shape(name, insert=(0, 0), size=1, rotation=0) + arrow.render(block, dxfattribs={"color": 0, "linetype": "BYBLOCK"}) + return block_name + + def arrow_handle(self, blocks: BlocksSection, name: str) -> str: + """Returns the BLOCK_RECORD handle for arrow `name`.""" + arrow_name = self.arrow_name(name) + block_name = self.create_block(blocks, arrow_name) + block = blocks.get(block_name) + return block.block_record_handle + + def block_name(self, name: str) -> str: + """Returns the block name.""" + if not self.is_acad_arrow(name): # common BLOCK definition + # e.g. Dimension.dxf.bkl = 'EZ_ARROW' == Insert.dxf.name + return name.upper() + elif name == "": + # special AutoCAD arrow symbol 'CLOSED_FILLED' has no name + # ezdxf uses blocks for ALL arrows, but '_' (closed filled) as block name? + return "_CLOSEDFILLED" # Dimension.dxf.bkl = '' != Insert.dxf.name = '_CLOSED_FILLED' + else: + # add preceding '_' to AutoCAD arrow symbol names + # Dimension.dxf.bkl = 'DOT' != Insert.dxf.name = '_DOT' + return "_" + name.upper() + + def arrow_name(self, block_name: str) -> str: + """Returns the arrow name.""" + if block_name.startswith("_"): + name = block_name[1:].upper() + if name == "CLOSEDFILLED": + return "" + elif self.is_acad_arrow(name): + return name + return block_name + + def insert_arrow( + self, + layout: GenericLayoutType, + name: str, + insert: UVec = NULLVEC, + size: float = 1.0, + rotation: float = 0, + *, + dxfattribs=None, + ) -> Vec2: + """Insert arrow as block reference into `layout`.""" + block_name = self.create_block(layout.doc.blocks, name) + + dxfattribs = dict(dxfattribs or {}) + dxfattribs["rotation"] = rotation + dxfattribs["xscale"] = size + dxfattribs["yscale"] = size + layout.add_blockref(block_name, insert=insert, dxfattribs=dxfattribs) + return connection_point( + name, insert=insert, scale=size, rotation=rotation + ) + + def render_arrow( + self, + layout: GenericLayoutType, + name: str, + insert: UVec = NULLVEC, + size: float = 1.0, + rotation: float = 0, + *, + dxfattribs=None, + ) -> Vec2: + """Render arrow as basic DXF entities into `layout`.""" + dxfattribs = dict(dxfattribs or {}) + arrow = self.arrow_shape(name, insert, size, rotation) + arrow.render(layout, dxfattribs) + return connection_point( + name, insert=insert, scale=size, rotation=rotation + ) + + def virtual_entities( + self, + name: str, + insert: UVec = NULLVEC, + size: float = 0.625, + rotation: float = 0, + *, + dxfattribs=None, + ) -> Iterator[DXFGraphic]: + """Returns all arrow components as virtual DXF entities.""" + from ezdxf.layouts import VirtualLayout + + if name in self: + layout = VirtualLayout() + ARROWS.render_arrow( + layout, + name, + insert=insert, + size=size, + rotation=rotation, + dxfattribs=dxfattribs, + ) + yield from iter(layout) + + def arrow_shape( + self, name: str, insert: UVec, size: float, rotation: float + ) -> BaseArrow: + """Returns an instance of the shape management class for arrow `name`.""" + # size depending shapes + name = name.upper() + if name == self.dot_small: + size *= 0.25 + elif name == self.dot_smallblank: + size *= 0.5 + cls = self.CLASSES[name] + return cls(insert, size, rotation) + + +def connection_point( + arrow_name: str, insert: UVec, scale: float = 1.0, rotation: float = 0.0 +) -> Vec2: + """Returns the connection point for `arrow_name`.""" + insert = Vec2(insert) + if ARROWS.arrow_name(arrow_name) in _Arrows.ORIGIN_ZERO: + return insert + else: + return insert - Vec2.from_deg_angle(rotation, scale) + + +def arrow_length(arrow_name: str, scale: float = 1.0) -> float: + """Returns the scaled arrow length of `arrow_name`.""" + if ARROWS.arrow_name(arrow_name) in _Arrows.ORIGIN_ZERO: + return 0.0 + else: + return scale + + +ARROWS: _Arrows = _Arrows() diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/render/curves.py b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/render/curves.py new file mode 100644 index 0000000000000000000000000000000000000000..9edd7e61ad0214f0ed6a797e0a93a1a32dac5496 --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/render/curves.py @@ -0,0 +1,504 @@ +# Copyright (c) 2010-2022, Manfred Moitzi +# License: MIT License +from __future__ import annotations +from typing import TYPE_CHECKING, Iterable, Optional +import random +import math +from ezdxf.math import ( + Vec3, + Vec2, + UVec, + Matrix44, + perlin, + Bezier4P, + global_bspline_interpolation, + BSpline, + open_uniform_bspline, + closed_uniform_bspline, + EulerSpiral as _EulerSpiral, +) + +if TYPE_CHECKING: + from ezdxf.layouts import BaseLayout + + +def rnd(max_value): + return max_value / 2.0 - random.random() * max_value + + +def rnd_perlin(max_value, walker): + r = perlin.snoise2(walker.x, walker.y) + return max_value / 2.0 - r * max_value + + +def random_2d_path( + steps: int = 100, + max_step_size: float = 1.0, + max_heading: float = math.pi / 2, + retarget: int = 20, +) -> Iterable[Vec2]: + """Returns a random 2D path as iterable of :class:`~ezdxf.math.Vec2` + objects. + + Args: + steps: count of vertices to generate + max_step_size: max step size + max_heading: limit heading angle change per step to ± max_heading/2 in + radians + retarget: specifies steps before changing global walking target + + """ + max_ = max_step_size * steps + + def next_global_target(): + return Vec2((rnd(max_), rnd(max_))) + + walker = Vec2(0, 0) + target = next_global_target() + for i in range(steps): + if i % retarget == 0: + target = target + next_global_target() + angle = (target - walker).angle + heading = angle + rnd_perlin(max_heading, walker) + length = max_step_size * random.random() + walker = walker + Vec2.from_angle(heading, length) + yield walker + + +def random_3d_path( + steps: int = 100, + max_step_size: float = 1.0, + max_heading: float = math.pi / 2.0, + max_pitch: float = math.pi / 8.0, + retarget: int = 20, +) -> Iterable[Vec3]: + """Returns a random 3D path as iterable of :class:`~ezdxf.math.Vec3` + objects. + + Args: + steps: count of vertices to generate + max_step_size: max step size + max_heading: limit heading angle change per step to ± max_heading/2, + rotation about the z-axis in radians + max_pitch: limit pitch angle change per step to ± max_pitch/2, rotation + about the x-axis in radians + retarget: specifies steps before changing global walking target + + """ + max_ = max_step_size * steps + + def next_global_target(): + return Vec3((rnd(max_), rnd(max_), rnd(max_))) + + walker = Vec3() + target = next_global_target() + for i in range(steps): + if i % retarget == 0: + target = target + next_global_target() + angle = (target - walker).angle + length = max_step_size * random.random() + heading_angle = angle + rnd_perlin(max_heading, walker) + next_step = Vec3.from_angle(heading_angle, length) + pitch_angle = rnd_perlin(max_pitch, walker) + walker += Matrix44.x_rotate(pitch_angle).transform(next_step) + yield walker + + +class Bezier: + """Render a bezier curve as 2D/3D :class:`~ezdxf.entities.Polyline`. + + The :class:`Bezier` class is implemented with multiple segments, each + segment is an optimized 4 point bezier curve, the 4 control points of the + curve are: the start point (1) and the end point (4), point (2) is start + point + start vector and point (3) is end point + end vector. Each segment + has its own approximation count. + + .. seealso:: + + The new :mod:`ezdxf.path` package provides many advanced construction tools + based on the :class:`~ezdxf.path.Path` class. + + """ + + class Segment: + def __init__( + self, + start: UVec, + end: UVec, + start_tangent: UVec, + end_tangent: UVec, + segments: int, + ): + self.start = Vec3(start) + self.end = Vec3(end) + self.start_tangent = Vec3( + start_tangent + ) # as vector, from start point + self.end_tangent = Vec3(end_tangent) # as vector, from end point + self.segments = segments + + def approximate(self) -> Iterable[Vec3]: + control_points = [ + self.start, + self.start + self.start_tangent, + self.end + self.end_tangent, + self.end, + ] + bezier = Bezier4P(control_points) + return bezier.approximate(self.segments) + + def __init__(self) -> None: + # fit point, first control vector, second control vector, segment count + self.points: list[ + tuple[Vec3, Optional[Vec3], Optional[Vec3], Optional[int]] + ] = [] + + def start(self, point: UVec, tangent: UVec) -> None: + """Set start point and start tangent. + + Args: + point: start point + tangent: start tangent as vector, example: (5, 0, 0) means a + horizontal tangent with a length of 5 drawing units + """ + self.points.append((Vec3(point), None, tangent, None)) + + def append( + self, + point: UVec, + tangent1: UVec, + tangent2: Optional[UVec] = None, + segments: int = 20, + ): + """Append a control point with two control tangents. + + Args: + point: control point + tangent1: first tangent as vector "left" of the control point + tangent2: second tangent as vector "right" of the control point, + if omitted `tangent2` = `-tangent1` + segments: count of line segments for the polyline approximation, + count of line segments from the previous control point to the + appended control point. + + """ + tangent1 = Vec3(tangent1) + if tangent2 is None: + tangent2 = -tangent1 + else: + tangent2 = Vec3(tangent2) + self.points.append((Vec3(point), tangent1, tangent2, int(segments))) + + def _build_bezier_segments(self) -> Iterable[Segment]: + if len(self.points) > 1: + for from_point, to_point in zip(self.points[:-1], self.points[1:]): + start_point = from_point[0] + start_tangent = from_point[2] # tangent2 + end_point = to_point[0] + end_tangent = to_point[1] # tangent1 + count = to_point[3] + yield Bezier.Segment( + start_point, end_point, start_tangent, end_tangent, count # type: ignore + ) + else: + raise ValueError("Two or more points needed!") + + def render( + self, + layout: BaseLayout, + force3d: bool = False, + dxfattribs=None, + ) -> None: + """Render Bezier curve as 2D/3D :class:`~ezdxf.entities.Polyline`. + + Args: + layout: :class:`~ezdxf.layouts.BaseLayout` object + force3d: force 3D polyline rendering + dxfattribs: DXF attributes for :class:`~ezdxf.entities.Polyline` + + """ + points: list[Vec3] = [] + for segment in self._build_bezier_segments(): + points.extend(segment.approximate()) + if force3d or any(p[2] for p in points): + layout.add_polyline3d(points, dxfattribs=dxfattribs) + else: + layout.add_polyline2d(points, dxfattribs=dxfattribs) + + +class Spline: + """This class can be used to render B-splines into DXF R12 files as + approximated :class:`~ezdxf.entities.Polyline` entities. + The advantage of this class over the :class:`R12Spline` class is, + that this is a real 3D curve, which means that the B-spline vertices do + have to be located in a flat plane, and no :ref:`UCS` class is needed to + place the curve in 3D space. + + .. seealso:: + + The newer :class:`~ezdxf.math.BSpline` class provides the + advanced vertex interpolation method :meth:`~ezdxf.math.BSpline.flattening`. + + """ + + def __init__( + self, points: Optional[Iterable[UVec]] = None, segments: int = 100 + ): + """ + Args: + points: spline definition points + segments: count of line segments for approximation, vertex count is + `segments` + 1 + + """ + if points is None: + points = [] + self.points: list[Vec3] = Vec3.list(points) + self.segments = int(segments) + + def subdivide(self, segments: int = 4) -> None: + """Calculate overall segment count, where segments is the sub-segment + count, `segments` = 4, means 4 line segments between two definition + points e.g. 4 definition points and 4 segments = 12 overall segments, + useful for fit point rendering. + + Args: + segments: sub-segments count between two definition points + + """ + self.segments = (len(self.points) - 1) * segments + + def render_as_fit_points( + self, + layout: BaseLayout, + degree: int = 3, + method: str = "chord", + dxfattribs: Optional[dict] = None, + ) -> None: + """Render a B-spline as 2D/3D :class:`~ezdxf.entities.Polyline`, where + the definition points are fit points. + + - 2D spline vertices uses: :meth:`~ezdxf.layouts.BaseLayout.add_polyline2d` + - 3D spline vertices uses: :meth:`~ezdxf.layouts.BaseLayout.add_polyline3d` + + Args: + layout: :class:`~ezdxf.layouts.BaseLayout` object + degree: degree of B-spline (order = `degree` + 1) + method: "uniform", "distance"/"chord", "centripetal"/"sqrt_chord" or + "arc" calculation method for parameter t + dxfattribs: DXF attributes for :class:`~ezdxf.entities.Polyline` + + """ + spline = global_bspline_interpolation( + self.points, degree=degree, method=method + ) + vertices = list(spline.approximate(self.segments)) + if any(vertex.z != 0.0 for vertex in vertices): + layout.add_polyline3d(vertices, dxfattribs=dxfattribs) + else: + layout.add_polyline2d(vertices, dxfattribs=dxfattribs) + + render = render_as_fit_points + + def render_open_bspline( + self, layout: BaseLayout, degree: int = 3, dxfattribs=None + ) -> None: + """Render an open uniform B-spline as 3D :class:`~ezdxf.entities.Polyline`. + Definition points are control points. + + Args: + layout: :class:`~ezdxf.layouts.BaseLayout` object + degree: degree of B-spline (order = `degree` + 1) + dxfattribs: DXF attributes for :class:`~ezdxf.entities.Polyline` + + """ + spline = BSpline(self.points, order=degree + 1) + layout.add_polyline3d( + list(spline.approximate(self.segments)), dxfattribs=dxfattribs + ) + + def render_uniform_bspline( + self, layout: BaseLayout, degree: int = 3, dxfattribs=None + ) -> None: + """Render a uniform B-spline as 3D :class:`~ezdxf.entities.Polyline`. + Definition points are control points. + + Args: + layout: :class:`~ezdxf.layouts.BaseLayout` object + degree: degree of B-spline (order = `degree` + 1) + dxfattribs: DXF attributes for :class:`~ezdxf.entities.Polyline` + + """ + spline = open_uniform_bspline(self.points, order=degree + 1) + layout.add_polyline3d( + list(spline.approximate(self.segments)), dxfattribs=dxfattribs + ) + + def render_closed_bspline( + self, layout: BaseLayout, degree: int = 3, dxfattribs=None + ) -> None: + """Render a closed uniform B-spline as 3D :class:`~ezdxf.entities.Polyline`. + Definition points are control points. + + Args: + layout: :class:`~ezdxf.layouts.BaseLayout` object + degree: degree of B-spline (order = `degree` + 1) + dxfattribs: DXF attributes for :class:`~ezdxf.entities.Polyline` + + """ + spline = closed_uniform_bspline(self.points, order=degree + 1) + layout.add_polyline3d( + list(spline.approximate(self.segments)), dxfattribs=dxfattribs + ) + + def render_open_rbspline( + self, + layout: BaseLayout, + weights: Iterable[float], + degree: int = 3, + dxfattribs=None, + ) -> None: + """Render a rational open uniform BSpline as 3D :class:`~ezdxf.entities.Polyline`. + Definition points are control points. + + Args: + layout: :class:`~ezdxf.layouts.BaseLayout` object + weights: list of weights, requires a weight value (float) for each + definition point. + degree: degree of B-spline (order = `degree` + 1) + dxfattribs: DXF attributes for :class:`~ezdxf.entities.Polyline` + + """ + spline = BSpline(self.points, order=degree + 1, weights=weights) + layout.add_polyline3d( + list(spline.approximate(self.segments)), dxfattribs=dxfattribs + ) + + def render_uniform_rbspline( + self, + layout: BaseLayout, + weights: Iterable[float], + degree: int = 3, + dxfattribs=None, + ) -> None: + """Render a rational uniform B-spline as 3D :class:`~ezdxf.entities.Polyline`. + Definition points are control points. + + Args: + layout: :class:`~ezdxf.layouts.BaseLayout` object + weights: list of weights, requires a weight value (float) for each + definition point. + degree: degree of B-spline (order = `degree` + 1) + dxfattribs: DXF attributes for :class:`~ezdxf.entities.Polyline` + + """ + spline = closed_uniform_bspline( + self.points, order=degree + 1, weights=weights + ) + layout.add_polyline3d( + list(spline.approximate(self.segments)), dxfattribs=dxfattribs + ) + + def render_closed_rbspline( + self, + layout: BaseLayout, + weights: Iterable[float], + degree: int = 3, + dxfattribs=None, + ) -> None: + """Render a rational B-spline as 3D :class:`~ezdxf.entities.Polyline`. + Definition points are control points. + + Args: + layout: :class:`~ezdxf.layouts.BaseLayout` object + weights: list of weights, requires a weight value (float) for each + definition point. + degree: degree of B-spline (order = `degree` + 1) + dxfattribs: DXF attributes for :class:`~ezdxf.entities.Polyline` + + """ + spline = closed_uniform_bspline( + self.points, order=degree + 1, weights=weights + ) + layout.add_polyline3d( + list(spline.approximate(self.segments)), dxfattribs=dxfattribs + ) + + +class EulerSpiral: + """Render an `euler spiral `_ + as a 3D :class:`~ezdxf.entities.Polyline` or a + :class:`~ezdxf.entities.Spline` entity. + + This is a parametric curve, which always starts at the origin (0, 0). + + """ + + def __init__(self, curvature: float = 1): + """ + Args: + curvature: Radius of curvature + + """ + self.spiral = _EulerSpiral(float(curvature)) + + def render_polyline( + self, + layout: BaseLayout, + length: float = 1, + segments: int = 100, + matrix: Optional[Matrix44] = None, + dxfattribs=None, + ): + """Render curve as :class:`~ezdxf.entities.Polyline`. + + Args: + layout: :class:`~ezdxf.layouts.BaseLayout` object + length: length measured along the spiral curve from its initial position + segments: count of line segments to use, vertex count is `segments` + 1 + matrix: transformation matrix as :class:`~ezdxf.math.Matrix44` + dxfattribs: DXF attributes for :class:`~ezdxf.entities.Polyline` + + Returns: + :class:`~ezdxf.entities.Polyline` + + """ + points = self.spiral.approximate(length, segments) + if matrix is not None: + points = matrix.transform_vertices(points) + return layout.add_polyline3d(list(points), dxfattribs=dxfattribs) + + def render_spline( + self, + layout: BaseLayout, + length: float = 1, + fit_points: int = 10, + degree: int = 3, + matrix: Optional[Matrix44] = None, + dxfattribs=None, + ): + """ + Render curve as :class:`~ezdxf.entities.Spline`. + + Args: + layout: :class:`~ezdxf.layouts.BaseLayout` object + length: length measured along the spiral curve from its initial position + fit_points: count of spline fit points to use + degree: degree of B-spline + matrix: transformation matrix as :class:`~ezdxf.math.Matrix44` + dxfattribs: DXF attributes for :class:`~ezdxf.entities.Spline` + + Returns: + :class:`~ezdxf.entities.Spline` + + """ + spline = self.spiral.bspline(length, fit_points, degree=degree) + points = spline.control_points + if matrix is not None: + points = matrix.transform_vertices(points) + return layout.add_open_spline( + control_points=points, + degree=spline.degree, + knots=spline.knots(), + dxfattribs=dxfattribs, + ) diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/render/dim_base.py b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/render/dim_base.py new file mode 100644 index 0000000000000000000000000000000000000000..18387e1898e7de11508a7592dca283a100de9a38 --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/render/dim_base.py @@ -0,0 +1,1351 @@ +# Copyright (c) 2018-2022, Manfred Moitzi +# License: MIT License +from __future__ import annotations +from typing import ( + TYPE_CHECKING, + Iterable, + Optional, + Any, + cast, +) +import math +import abc +from ezdxf.math import ( + Vec3, + Vec2, + UVec, + ConstructionLine, + ConstructionBox, + ConstructionArc, +) +from ezdxf.math import UCS, PassTroughUCS, xround, Z_AXIS +from ezdxf.lldxf import const +from ezdxf.enums import TextEntityAlignment +from ezdxf._options import options +from ezdxf.lldxf.const import DXFValueError, DXFUndefinedBlockError +from ezdxf.tools import suppress_zeros +from ezdxf.render.arrows import ARROWS +from ezdxf.entities import DimStyleOverride, Dimension + +if TYPE_CHECKING: + from ezdxf.document import Drawing + from ezdxf.entities import Textstyle + from ezdxf.eztypes import GenericLayoutType + + +class TextBox(ConstructionBox): + """Text boundaries representation.""" + + def __init__( + self, + center: Vec2 = Vec2(0, 0), + width: float = 0.0, + height: float = 0.0, + angle: float = 0.0, + hgap: float = 0.0, # horizontal gap - width + vgap: float = 0.0, # vertical gap - height + ): + super().__init__(center, width + 2.0 * hgap, height + 2.0 * vgap, angle) + + +PLUS_MINUS = "±" +_TOLERANCE_COMMON = r"\A{align};{txt}{{\H{fac:.2f}x;" +TOLERANCE_TEMPLATE1 = _TOLERANCE_COMMON + r"{tol}}}" +TOLERANCE_TEMPLATE2 = _TOLERANCE_COMMON + r"\S{upr}^ {lwr};}}" +LIMITS_TEMPLATE = r"{{\H{fac:.2f}x;\S{upr}^ {lwr};}}" + + +def OptionalVec2(v) -> Optional[Vec2]: + if v is not None: + return Vec2(v) + else: + return None + + +def sign_char(value: float) -> str: + if value < 0.0: + return "-" + elif value > 0: + return "+" + else: + return " " + + +def format_text( + value: float, + dimrnd: Optional[float] = None, + dimdec: int = 2, + dimzin: int = 0, + dimdsep: str = ".", +) -> str: + if dimrnd is not None: + value = xround(value, dimrnd) + + if dimdec is None: + fmt = "{:f}" + # Remove pending zeros for undefined decimal places: + # '{:f}'.format(0) -> '0.000000' + dimzin = dimzin | 8 + else: + fmt = "{:." + str(dimdec) + "f}" + text = fmt.format(value) + + leading = bool(dimzin & 4) + pending = bool(dimzin & 8) + text = suppress_zeros(text, leading, pending) + if dimdsep != ".": + text = text.replace(".", dimdsep) + return text + + +def apply_dimpost(text: str, dimpost: str) -> str: + if "<>" in dimpost: + fmt = dimpost.replace("<>", "{}", 1) + return fmt.format(text) + else: + raise DXFValueError(f'Invalid dimpost string: "{dimpost}"') + + +class Tolerance: # and Limits + def __init__( + self, + dim_style: DimStyleOverride, + cap_height: float = 1.0, + width_factor: float = 1.0, + dim_scale: float = 1.0, + ): + self.text_width_factor = width_factor + self.dim_scale = dim_scale + get = dim_style.get + # Appends tolerances to dimension text. + # enabling DIMTOL disables DIMLIM. + self.has_tolerance = bool(get("dimtol", 0)) + self.has_limits = False + if not self.has_tolerance: + # Limits generates dimension limits as the default text. + self.has_limits = bool(get("dimlim", 0)) + + # Scale factor for the text height of fractions and tolerance values + # relative to the dimension text height + self.text_scale_factor: float = get("dimtfac", 0.5) + + self.text_decimal_separator = dim_style.get_decimal_separator() + + # Default MTEXT line spacing for tolerances (BricsCAD) + self.line_spacing: float = 1.35 + + # Sets the minimum (or lower) tolerance limit for dimension text when + # DIMTOL or DIMLIM is on. + # DIMTM accepts signed values. + # If DIMTOL is on and DIMTP and DIMTM are set to the same value, a + # tolerance value is drawn. + # If DIMTM and DIMTP values differ, the upper tolerance is drawn above + # the lower, and a plus sign is added to the DIMTP value if it is + # positive. + # For DIMTM, the program uses the negative of the value you enter + # (adding a minus sign if you specify a positive number and a plus sign + # if you specify a negative number). + self.minimum: float = get("dimtm", 0.0) + + # Sets the maximum (or upper) tolerance limit for dimension text when + # DIMTOL or DIMLIM is on. + # DIMTP accepts signed values. + # If DIMTOL is on and DIMTP and DIMTM are set to the same value, a + # tolerance value is drawn. + # If DIMTM and DIMTP values differ, the upper tolerance is drawn above + # the lower and a plus sign is added to the DIMTP value if it is + # positive. + self.maximum: float = get("dimtp", 0.0) + + # Number of decimal places to display in tolerance values + # Same value for linear and angular measurements! + self.decimal_places: int = get("dimtdec", 2) + + # Vertical justification for tolerance values relative to the nominal dimension text + # 0 = Bottom + # 1 = Middle + # 2 = Top + self.valign: int = get("dimtolj", 0) + + # Same as DIMZIN for tolerances (self.text_suppress_zeros) + # Same value for linear and angular measurements! + self.suppress_zeros: int = get("dimtzin", 0) + self.text: str = "" + self.text_height: float = 0.0 + self.text_width: float = 0.0 + self.text_upper: str = "" + self.text_lower: str = "" + self.char_height: float = cap_height * self.text_scale_factor * self.dim_scale + if self.has_tolerance: + self.init_tolerance() + elif self.has_limits: + self.init_limits() + + @property + def enabled(self) -> bool: + return self.has_tolerance or self.has_limits + + def disable(self): + self.has_tolerance = False + self.has_limits = False + + def init_tolerance(self): + # The tolerance values are stored in the dimension style, they are + # independent from the actual measurement: + # Single tolerance value +/- value + if self.minimum == self.maximum: + self.text_height = self.char_height + self.text_width = self.get_text_width(self.text, self.text) + else: # 2 stacked values: +upper tolerance -lower tolerance + # requires 2 text lines + self.text_height = self.char_height + (self.text_height * self.line_spacing) + self.text_width = self.get_text_width(self.text_upper, self.text_lower) + self.update_tolerance_text(self.maximum, self.minimum) + + def update_tolerance_text(self, tol_upper: float, tol_lower: float): + if tol_upper == tol_lower: + self.text = PLUS_MINUS + self.format_text(abs(tol_upper)) + else: + self.text_upper = sign_char(tol_upper) + self.format_text(abs(tol_upper)) + self.text_lower = sign_char(tol_lower * -1) + self.format_text( + abs(tol_lower) + ) + + def init_limits(self): + # self.text is always an empty string (default value) + # Limit text are always 2 stacked numbers and requires the actual + # measurement! + self.text_height = self.char_height + (self.text_height * self.line_spacing) + + def format_text(self, value: float) -> str: + """Rounding and text formatting of tolerance `value`, removes leading + and trailing zeros if necessary. + + """ + # dimpost is not applied to limits or tolerances! + return format_text( + value=value, + dimrnd=None, + dimdec=self.decimal_places, + dimzin=self.suppress_zeros, + dimdsep=self.text_decimal_separator, + ) + + def get_text_width(self, upr: str, lwr: str) -> float: + """Returns the text width of the tolerance (upr/lwr) in drawing units.""" + # todo: use matplotlib support + count = max(len(upr), len(lwr)) + return self.text_height * self.text_width_factor * count + + def compile_mtext(self, text: str) -> str: + if self.has_tolerance: + align = max(int(self.valign), 0) + align = min(align, 2) + if not self.text: + text = TOLERANCE_TEMPLATE2.format( + align=align, + txt=text, + fac=self.text_scale_factor, + upr=self.text_upper, + lwr=self.text_lower, + ) + else: + text = TOLERANCE_TEMPLATE1.format( + align=align, + txt=text, + fac=self.text_scale_factor, + tol=self.text, + ) + elif self.has_limits: + text = LIMITS_TEMPLATE.format( + upr=self.text_upper, + lwr=self.text_lower, + fac=self.text_scale_factor, + ) + return text + + def update_limits(self, measurement: float) -> None: + upper_limit = measurement + self.maximum + lower_limit = measurement - self.minimum + self.text_upper = self.format_text(upper_limit) + self.text_lower = self.format_text(lower_limit) + self.text_width = self.get_text_width(self.text_upper, self.text_lower) + + +class ExtensionLines: + default_lineweight: int = const.LINEWEIGHT_BYBLOCK + + def __init__(self, dim_style: DimStyleOverride, default_color: int, scale: float): + get = dim_style.get + self.color: int = get("dimclre", default_color) # ACI + self.linetype1: str = get("dimltex1", "") + self.linetype2: str = get("dimltex2", "") + self.lineweight: int = get("dimlwe", self.default_lineweight) + self.suppress1: bool = bool(get("dimse1", 0)) + self.suppress2: bool = bool(get("dimse2", 0)) + + # Extension of extension line above the dimension line, in extension + # line direction in most cases perpendicular to dimension line + # (oblique!) + self.extension_above: float = get("dimexe", 0.0) * scale + + # Distance of extension line from the measurement point in extension + # line direction + self.offset: float = get("dimexo", 0.0) * scale + + # Fixed length extension line, length above dimension line is still + # self.ext_line_extension + self.has_fixed_length: bool = bool(get("dimfxlon", 0)) + + # Length below the dimension line: + self.length_below: float = get("dimfxl", self.extension_above) * scale + + def dxfattribs(self, num: int = 1) -> Any: + """Returns default dimension line DXF attributes as dict.""" + attribs: dict[str, Any] = {"color": self.color} + if num == 1: + linetype = self.linetype1 + elif num == 2: + linetype = self.linetype2 + else: + raise ValueError(f"invalid argument num:{num}") + + if linetype: + attribs["linetype"] = linetype + if self.lineweight != self.default_lineweight: + attribs["lineweight"] = self.lineweight + return attribs + + +class DimensionLine: + default_lineweight: int = const.LINEWEIGHT_BYBLOCK + + def __init__(self, dim_style: DimStyleOverride, default_color: int, scale: float): + get = dim_style.get + self.color: int = get("dimclrd", default_color) # ACI + + # Dimension line extension, along the dimension line direction ('left' + # and 'right') + self.extension: float = get("dimdle", 0.0) * scale + self.linetype: str = get("dimltype", "") + self.lineweight: int = get("dimlwd", self.default_lineweight) + + # Suppress first part of the dimension line + self.suppress1: bool = bool(get("dimsd1", 0)) + + # Suppress second part of the dimension line + self.suppress2: bool = bool(get("dimsd2", 0)) + + # Controls whether a dimension line is drawn between the extension lines + # even when the text is placed outside. + # For radius and diameter dimensions (when DIMTIX is off), draws a + # dimension line inside the circle or arc and places the text, + # arrowheads, and leader outside. + # 0 = no dimension line + # 1 = draw dimension line + # not supported yet - ezdxf behaves like option 1 + self.has_dim_line_if_text_outside: bool = bool(get("dimtofl", 1)) + + def dxfattribs(self) -> Any: + """Returns default dimension line DXF attributes as dict.""" + attribs: dict[str, Any] = {"color": self.color} + if self.linetype: + attribs["linetype"] = self.linetype + if self.lineweight != self.default_lineweight: + attribs["lineweight"] = self.lineweight + return attribs + + +class Arrows: + def __init__(self, dim_style: DimStyleOverride, color: int, scale: float): + get = dim_style.get + self.color: int = get("dimclrd", color) + self.tick_size: float = get("dimtsz", 0.0) * scale + self.arrow1_name: str = "" # empty string is a closed filled arrow + self.arrow2_name: str = "" # empty string is a closed filled arrow + self.arrow_size: float = get("dimasz", 0.25) * scale + self.suppress1 = False # ezdxf only + self.suppress2 = False # ezdxf only + + if self.tick_size > 0.0: + # Use oblique strokes as 'arrows', disables usual 'arrows' and user + # defined blocks tick size is per definition double the size of + # arrow size adjust arrow size to reuse the 'oblique' arrow block + self.arrow_size = self.tick_size * 2.0 + else: + # Arrow name or block name if user defined arrow + ( + self.arrow1_name, + self.arrow2_name, + ) = dim_style.get_arrow_names() + + @property + def has_ticks(self) -> bool: + return self.tick_size > 0.0 + + def dxfattribs(self) -> Any: + return {"color": self.color} + + +class Measurement: + def __init__( + self, + dim_style: DimStyleOverride, + color: int, + scale: float, + ): + # update this values in method Measurement.update() + # raw measured value + self.raw_value: float = 0.0 + # scaled measured value + self.value: float = 0.0 + # Final formatted dimension text + self.text: str = "" + + dimension = dim_style.dimension + doc = dimension.doc + assert doc is not None, "valid DXF document required" + + # ezdxf specific attributes beyond DXF reference, therefore not stored + # in the DXF file (DSTYLE). + # Some of these are just an rendering effect, which will be ignored by + # CAD applications if they modify the DIMENSION entity + + # User location override as UCS coordinates, stored as text_midpoint in + # the DIMENSION entity + self.user_location: Optional[Vec2] = OptionalVec2( + dim_style.pop("user_location", None) + ) + + # User location override relative to dimline center if True + self.relative_user_location: bool = dim_style.pop( + "relative_user_location", False + ) + + # Shift text away from default text location - implemented as user + # location override without leader + # Shift text along in text direction: + self.text_shift_h: float = dim_style.pop("text_shift_h", 0.0) + # Shift text perpendicular to text direction: + self.text_shift_v: float = dim_style.pop("text_shift_v", 0.0) + # End of ezdxf specific attributes + + get = dim_style.get + # ezdxf locates attachment points always in the text center. + # Fixed predefined value for ezdxf rendering: + self.text_attachment_point: int = 5 + + # Ignored by ezdxf: + self.horizontal_direction: Optional[float] = dimension.get_dxf_attrib( + "horizontal_direction", None + ) + + # Dimension measurement factor: + self.measurement_factor: float = get("dimlfac", 1.0) + + # Text style + style_name: str = get("dimtxsty", options.default_dimension_text_style) + if style_name not in doc.tables.styles: + style_name = "Standard" + self.text_style_name: str = style_name + text_style = get_text_style(doc, style_name) + self.text_height: float = get_char_height(dim_style, text_style) * scale + self.text_width_factor: float = text_style.get_dxf_attrib("width", 1.0) + self.stored_dim_text: str = dimension.dxf.text + + # text_gap: gap between dimension line an dimension text + self.text_gap: float = get("dimgap", 0.625) * scale + + # User defined text rotation - overrides everything: + self.user_text_rotation: float = dimension.get_dxf_attrib("text_rotation", None) + # calculated text rotation + self.text_rotation: float = self.user_text_rotation + self.text_color: int = get("dimclrt", color) # ACI + self.text_round: Optional[float] = get("dimrnd", None) + self.decimal_places: int = get("dimdec", 2) + self.angular_decimal_places: int = get("dimadec", 2) + + # Controls the suppression of zeros in the primary unit value. + # Values 0-3 affect feet-and-inch dimensions only and are not supported + # 4 (Bit 3) = Suppresses leading zeros in decimal dimensions, + # e.g. 0.5000 becomes .5000 + # 8 (Bit 4) = Suppresses trailing zeros in decimal dimensions, + # e.g. 12.5000 becomes 12.5 + # 12 (Bit 3+4) = Suppresses both leading and trailing zeros, + # e.g. 0.5000 becomes .5) + self.suppress_zeros: int = get("dimzin", 8) + + # special setting for angular dimensions (dimzin << 2) & 3 + # 0 = Displays all leading and trailing zeros + # 1 = Suppresses leading zeros (for example, 0.5000 becomes .5000) + # 2 = Suppresses trailing zeros (for example, 12.5000 becomes 12.5) + # 3 = Suppresses leading and trailing zeros (for example, 0.5000 becomes .5) + self.angular_suppress_zeros: int = get("dimazin", 2) + + # decimal separator char, default is ",": + self.decimal_separator: str = dim_style.get_decimal_separator() + + self.text_post_process_format: str = get("dimpost", "") + # text_fill: + # 0 = None + # 1 = Background + # 2 = DIMTFILLCLR + self.text_fill: int = get("dimtfill", 0) + self.text_fill_color: int = get("dimtfillclr", 1) # ACI + self.text_box_fill_scale: float = 1.1 + + # text_halign: + # 0 = center + # 1 = left + # 2 = right + # 3 = above ext1 + # 4 = above ext2 + self.text_halign: int = get("dimjust", 0) + + # text_valign: + # 0 = center + # 1 = above + # 2 = farthest away? + # 3 = JIS; + # 4 = below + # Options 2, 3 are ignored by ezdxf + self.text_valign: int = get("dimtad", 0) + + # Controls the vertical position of dimension text above or below the + # dimension line, when DIMTAD = 0. + # The magnitude of the vertical offset of text is the product of the + # text height (+gap?) and DIMTVP. + # Setting DIMTVP to 1.0 is equivalent to setting DIMTAD = 1. + self.text_vertical_position: float = get("dimtvp", 0.0) + + # Move text freely: + # 0 = Moves the dimension line with dimension text + # 1 = Adds a leader when dimension text is moved + # 2 = Allows text to be moved freely without a leader + self.text_movement_rule: int = get("dimtmove", 2) + + self.has_leader: bool = ( + self.user_location is not None and self.text_movement_rule == 1 + ) + + # text_rotation is 0 if dimension text is 'inside', ezdxf defines + # 'inside' as at the default text location: + self.text_inside_horizontal: bool = get("dimtih", 0) + + # text_rotation is 0 if dimension text is 'outside', ezdxf defines + # 'outside' as NOT at the default text location: + self.text_outside_horizontal: bool = get("dimtoh", 0) + + # Force text location 'inside', even if the text should be moved + # 'outside': + self.force_text_inside: bool = bool(get("dimtix", 0)) + + # How dimension text and arrows are arranged when space is not + # sufficient to place both 'inside': + # 0 = Places both text and arrows outside extension lines + # 1 = Moves arrows first, then text + # 2 = Moves text first, then arrows + # 3 = Moves either text or arrows, whichever fits best + # not supported - ezdxf behaves like 2 + self.text_fitting_rule: int = get("dimatfit", 2) + + # Units for all dimension types except Angular. + # 1 = Scientific + # 2 = Decimal + # 3 = Engineering + # 4 = Architectural (always displayed stacked) + # 5 = Fractional (always displayed stacked) + # not supported - ezdxf behaves like 2 + self.length_unit: int = get("dimlunit", 2) + + # Fraction format when DIMLUNIT is set to 4 (Architectural) or + # 5 (Fractional). + # 0 = Horizontal stacking + # 1 = Diagonal stacking + # 2 = Not stacked (for example, 1/2) + self.fraction_format: int = get("dimfrac", 0) # not supported + + # Units format for angular dimensions + # 0 = Decimal degrees + # 1 = Degrees/minutes/seconds + # 2 = Grad + # 3 = Radians + self.angle_units: int = get("dimaunit", 0) + + self.has_arc_length_prefix: bool = False + if get("dimarcsym", 2) == 0: + self.has_arc_length_prefix = True + + # Text_outside is only True if really placed outside of default text + # location + # remark: user defined text location is always outside per definition + # (not by real location) + self.text_is_outside: bool = False + + # Final calculated or overridden dimension text location + self.text_location: Vec2 = Vec2(0, 0) + + # True if dimension text doesn't fit between extension lines + self.is_wide_text: bool = False + + # Text rotation was corrected to make upside down text better readable + self.has_upside_down_correction: bool = False + + @property + def text_is_inside(self): + return not self.text_is_outside + + @property + def has_relative_text_movement(self): + return bool(self.text_shift_h or self.text_shift_v) + + def apply_text_shift(self, location: Vec2, text_rotation: float) -> Vec2: + """Add `self.text_shift_h` and `sel.text_shift_v` to point `location`, + shifting along and perpendicular to text orientation defined by + `text_rotation`. + + Args: + location: location point + text_rotation: text rotation in degrees + + Returns: new location + + """ + shift_vec = Vec2((self.text_shift_h, self.text_shift_v)) + location += shift_vec.rotate_deg(text_rotation) + return location + + @property + def vertical_placement(self) -> float: + """Returns vertical placement of dimension text as 1 for above, 0 for + center and -1 for below dimension line. + + """ + if self.text_valign == 0: + return 0 + elif self.text_valign == 4: + return -1 + else: + return 1 + + def text_vertical_distance(self) -> float: + """Returns the vertical distance for dimension line to text midpoint. + Positive values are above the line, negative values are below the line. + + """ + if self.text_valign == 0: + return self.text_height * self.text_vertical_position + else: + return (self.text_height / 2.0 + self.text_gap) * self.vertical_placement + + def text_width(self, text: str) -> float: + """ + Return width of `text` in drawing units. + + """ + # todo: use matplotlib support + char_width = self.text_height * self.text_width_factor + return len(text) * char_width + + def text_override(self, measurement: float) -> str: + """Create dimension text for `measurement` in drawing units and applies + text overriding properties. + + """ + text = self.stored_dim_text + if text == " ": # suppresses text + return "" + formatted_measurement = self.format_text(measurement) + if text: + # only replace the first "<>", like BricsCAD + return text.replace("<>", formatted_measurement, 1) + return formatted_measurement + + def location_override(self, location: UVec, leader=False, relative=False) -> None: + """Set user defined dimension text location. ezdxf defines a user + defined location per definition as 'outside'. + + Args: + location: text midpoint + leader: use leader or not (movement rules) + relative: is location absolute (in UCS) or relative to dimension + line center. + + """ + self.user_location = Vec2(location) + self.text_movement_rule = 1 if leader else 2 + self.relative_user_location = relative + self.text_is_outside = True + + def dxfattribs(self) -> Any: + return {"color": self.text_color} + + @abc.abstractmethod + def update(self, raw_measurement_value: float) -> None: + """Update raw measurement value, scaled measurement value and + dimension text. + + """ + + @abc.abstractmethod + def format_text(self, value: float) -> str: + """Rounding and text formatting of `value`, removes leading and + trailing zeros if necessary. + + """ + + +class LengthMeasurement(Measurement): + def update(self, raw_measurement_value: float) -> None: + """Update raw measurement value, scaled measurement value and + dimension text. + """ + self.raw_value = raw_measurement_value + self.value = raw_measurement_value * self.measurement_factor + self.text = self.text_override(self.value) + + def format_text(self, value: float) -> str: + """Rounding and text formatting of `value`, removes leading and + trailing zeros if necessary. + + """ + text = format_text( + value, + self.text_round, + self.decimal_places, + self.suppress_zeros, + self.decimal_separator, + ) + if self.text_post_process_format: + text = apply_dimpost(text, self.text_post_process_format) + return text + + +class Geometry: + """ + Geometry layout entities are located in the OCS defined by the extrusion + vector of the DIMENSION entity and the z-axis of the OCS + point 'text_midpoint' (group code 11). + + """ + + def __init__( + self, + dimension: Dimension, + ucs: UCS, + layout: "GenericLayoutType", + ): + assert dimension.doc is not None, "valid DXF document required" + self.dimension: Dimension = dimension + self.doc: Drawing = dimension.doc + self.dxfversion: str = self.doc.dxfversion + self.supports_dxf_r2000: bool = self.dxfversion >= "AC1015" + self.supports_dxf_r2007: bool = self.dxfversion >= "AC1021" + self.ucs: UCS = ucs + self.extrusion: Vec3 = ucs.uz + self.requires_extrusion: bool = not self.extrusion.isclose(Z_AXIS) + self.layout: GenericLayoutType = layout + self._text_box: TextBox = TextBox() + + @property + def has_text_box(self) -> bool: + return self._text_box.width > 0.0 and self._text_box.height > 0.0 + + def set_layout(self, layout: GenericLayoutType) -> None: + self.layout = layout + + def set_text_box(self, text_box: TextBox) -> None: + self._text_box = text_box + + def has_block(self, name: str) -> bool: + return name in self.doc.blocks + + def add_arrow_blockref( + self, + name: str, + insert: Vec2, + size: float, + rotation: float, + dxfattribs, + ) -> None: + # OCS of the arrow blocks is defined by the DIMENSION entity! + # Therefore remove OCS elevation, the elevation is defined by the + # DIMENSION 'text_midpoint' (group code 11) and do not set 'extrusion' + # either! + insert = self.ucs.to_ocs(Vec3(insert)).vec2 + rotation = self.ucs.to_ocs_angle_deg(rotation) + self.layout.add_arrow_blockref(name, insert, size, rotation, dxfattribs) + + def add_blockref( + self, + name: str, + insert: Vec2, + rotation: float, + dxfattribs, + ) -> None: + # OCS of the arrow blocks is defined by the DIMENSION entity! + # Therefore remove OCS elevation, the elevation is defined by the + # DIMENSION 'text_midpoint' (group code 11) and do not set 'extrusion' + # either! + insert = self.ucs.to_ocs(Vec3(insert)).vec2 + dxfattribs["rotation"] = self.ucs.to_ocs_angle_deg(rotation) + self.layout.add_blockref(name, insert, dxfattribs) + + def add_text(self, text: str, pos: Vec2, rotation: float, dxfattribs) -> None: + dxfattribs["rotation"] = self.ucs.to_ocs_angle_deg(rotation) + entity = self.layout.add_text(text, dxfattribs=dxfattribs) + # OCS of the measurement text is defined by the DIMENSION entity! + # Therefore remove OCS elevation, the elevation is defined by the + # DIMENSION 'text_midpoint' (group code 11) and do not set 'extrusion' + # either! + entity.set_placement( + self.ucs.to_ocs(Vec3(pos)).vec2, + align=TextEntityAlignment.MIDDLE_CENTER, + ) + + def add_mtext(self, text: str, pos: Vec2, rotation: float, dxfattribs) -> None: + # OCS of the measurement text is defined by the DIMENSION entity! + # Therefore remove OCS elevation, the elevation is defined by the + # DIMENSION 'text_midpoint' (group code 11) and do not set 'extrusion' + # either! + dxfattribs["rotation"] = self.ucs.to_ocs_angle_deg(rotation) + dxfattribs["insert"] = self.ucs.to_ocs(Vec3(pos)).vec2 + self.layout.add_mtext(text, dxfattribs) + + def add_defpoints(self, points: Iterable[Vec2]) -> None: + attribs = { + "layer": "Defpoints", + } + for point in points: + # Despite the fact that the POINT entity has WCS coordinates, + # the coordinates of defpoints in DIMENSION entities have OCS + # coordinates. + location = self.ucs.to_ocs(Vec3(point)).replace(z=0.0) + self.layout.add_point(location, dxfattribs=attribs) + + def add_line( + self, + start: Vec2, + end: Vec2, + dxfattribs, + remove_hidden_lines=False, + ) -> None: + """Add a LINE entity to the geometry layout. Removes parts of the line + hidden by dimension text if `remove_hidden_lines` is True. + + Args: + start: start point of line + end: end point of line + dxfattribs: additional or overridden DXF attributes + remove_hidden_lines: removes parts of the line hidden by dimension + text if ``True`` + + """ + + def add_line_to_block(start, end): + # LINE is handled like an OCS entity !? + self.layout.add_line( + to_ocs(Vec3(start)).vec2, + to_ocs(Vec3(end)).vec2, + dxfattribs=dxfattribs, + ) + + def order(a: Vec2, b: Vec2) -> tuple[Vec2, Vec2]: + if (start - a).magnitude < (start - b).magnitude: + return a, b + else: + return b, a + + to_ocs = self.ucs.to_ocs + if remove_hidden_lines and self.has_text_box: + text_box = self._text_box + start_inside = int(text_box.is_inside(start)) + end_inside = int(text_box.is_inside(end)) + inside = start_inside + end_inside + if inside == 2: # start and end inside text_box + return # do not draw line + elif inside == 1: # one point inside text_box or on a border line + intersection_points = text_box.intersect(ConstructionLine(start, end)) + if len(intersection_points) == 1: + # one point inside one point outside -> one intersection point + p1 = intersection_points[0] + else: + # second point on a text box border line + p1, _ = order(*intersection_points) + p2 = start if end_inside else end + add_line_to_block(p1, p2) + return + else: + intersection_points = text_box.intersect(ConstructionLine(start, end)) + if len(intersection_points) == 2: + # sort intersection points by distance to start point + p1, p2 = order(intersection_points[0], intersection_points[1]) + # line[start-p1] - gap - line[p2-end] + add_line_to_block(start, p1) + add_line_to_block(p2, end) + return + # else: fall through + add_line_to_block(start, end) + + def add_arc( + self, + center: Vec2, + radius: float, + start_angle: float, + end_angle: float, + dxfattribs=None, + remove_hidden_lines=False, + ) -> None: + """Add a ARC entity to the geometry layout. Removes parts of the arc + hidden by dimension text if `remove_hidden_lines` is True. + + Args: + center: center of arc + radius: radius of arc + start_angle: start angle in radians + end_angle: end angle in radians + dxfattribs: additional or overridden DXF attributes + remove_hidden_lines: removes parts of the arc hidden by dimension + text if ``True`` + + """ + + def add_arc(s: float, e: float) -> None: + """Add ARC entity to geometry block.""" + self.layout.add_arc( + center=ocs_center, + radius=radius, + start_angle=math.degrees(ocs_angle(s)), + end_angle=math.degrees(ocs_angle(e)), + dxfattribs=dxfattribs, + ) + + # OCS of the ARC is defined by the DIMENSION entity! + # Therefore remove OCS elevation, the elevation is defined by the + # DIMENSION 'text_midpoint' (group code 11) and do not set 'extrusion' + # either! + ocs_center = self.ucs.to_ocs(Vec3(center)).vec2 + ocs_angle = self.ucs.to_ocs_angle_rad + if remove_hidden_lines and self.has_text_box: + for start, end in visible_arcs( + center, + radius, + start_angle, + end_angle, + self._text_box, + ): + add_arc(start, end) + else: + add_arc(start_angle, end_angle) + + +class BaseDimensionRenderer: + """Base rendering class for DIMENSION entities.""" + + def __init__( + self, + dimension: Dimension, + ucs: Optional[UCS] = None, + override: Optional[DimStyleOverride] = None, + ): + self.dimension: Dimension = dimension + self.geometry = self.init_geometry(dimension, ucs) + + # DimStyleOverride object, manages dimension style overriding + self.dim_style: DimStyleOverride + if override: + self.dim_style = override + else: + self.dim_style = DimStyleOverride(dimension) + + # --------------------------------------------- + # GENERAL PROPERTIES + # --------------------------------------------- + self.default_color: int = self.dimension.dxf.color # ACI + self.default_layer: str = self.dimension.dxf.layer + + get = self.dim_style.get + # Overall scaling of DIMENSION entity: + self.dim_scale: float = get("dimscale", 1.0) + if abs(self.dim_scale) < 1e-9: + self.dim_scale = 1.0 + + # Controls drawing of circle or arc center marks and center lines, for + # DIMDIAMETER and DIMRADIUS, the center mark is drawn only if you place + # the dimension line outside the circle or arc. + # 0 = No center marks or lines are drawn + # <0 = Center lines are drawn + # >0 = Center marks are drawn + self.dim_center_marks: int = get("dimcen", 0) + + self.measurement = self.init_measurement(self.default_color, self.dim_scale) + self.dimension_line: DimensionLine = self.init_dimension_line( + self.default_color, self.dim_scale + ) + self.arrows: Arrows = self.init_arrows(self.default_color, self.dim_scale) + # Suppress arrow rendering - only rendering is suppressed (rendering + # effect). + # All placing related calculations are done without this settings. + # Used for multi point linear dimensions to avoid double rendering of + # non arrow ticks. These are ezdxf specific attributes! + self.arrows.suppress1 = self.dim_style.pop("suppress_arrow1", False) + self.arrows.suppress2 = self.dim_style.pop("suppress_arrow2", False) + + self.extension_lines: ExtensionLines = self.init_extension_lines( + self.default_color, self.dim_scale + ) + # tolerances have to be initialized after measurement: + self.tol: Tolerance = self.init_tolerance(self.dim_scale, self.measurement) + + # Update text height + self.measurement.text_height = max( + self.measurement.text_height, self.tol.text_height + ) + + def init_geometry(self, dimension: Dimension, ucs: Optional[UCS] = None): + from ezdxf.layouts import VirtualLayout + + return Geometry(dimension, ucs or PassTroughUCS(), VirtualLayout()) + + def init_tolerance(self, scale: float, measurement: Measurement) -> Tolerance: + return Tolerance( + self.dim_style, + cap_height=measurement.text_height, + width_factor=measurement.text_width_factor, + dim_scale=scale, + ) + + def init_extension_lines(self, color: int, scale: float) -> ExtensionLines: + return ExtensionLines(self.dim_style, color, scale) + + def init_dimension_line(self, color: int, scale: float) -> DimensionLine: + return DimensionLine(self.dim_style, color, scale) + + def init_arrows(self, color: int, scale: float) -> Arrows: + return Arrows(self.dim_style, color, scale) + + def init_measurement(self, color: int, scale: float) -> Measurement: + return LengthMeasurement(self.dim_style, color, scale) + + def init_text_box(self) -> TextBox: + measurement = self.measurement + return TextBox( + center=measurement.text_location, + width=self.total_text_width(), + height=measurement.text_height, + angle=measurement.text_rotation or 0.0, + # The currently used monospaced abstract font, returns a too large + # text width. + # Therefore, the horizontal text gap is ignored at all - yet! + hgap=0.0, + # Arbitrary choice to reduce the too large vertical gap! + vgap=measurement.text_gap * 0.75, + ) + + def get_required_defpoint(self, name: str) -> Vec2: + return get_required_defpoint(self.dimension, name) + + def render(self, block: GenericLayoutType): + # Block entities are located in the OCS defined by the extrusion vector + # of the DIMENSION entity and the z-axis of the OCS point + # 'text_midpoint' (group code 11). + self.geometry.set_layout(block) + # Tolerance requires MTEXT support, switch off rendering of tolerances + # and limits + if not self.geometry.supports_dxf_r2000: + self.tol.disable() + + def total_text_width(self) -> float: + width = 0.0 + text = self.measurement.text + if text: + if self.tol.has_limits: # only limits are displayed + width = self.tol.text_width + else: + width = self.measurement.text_width(text) + if self.tol.has_tolerance: + width += self.tol.text_width + return width + + def default_attributes(self) -> dict[str, Any]: + """Returns default DXF attributes as dict.""" + return { + "layer": self.default_layer, + "color": self.default_color, + } + + def location_override(self, location: UVec, leader=False, relative=False) -> None: + """Set user defined dimension text location. ezdxf defines a user + defined location per definition as 'outside'. + + Args: + location: text midpoint + leader: use leader or not (movement rules) + relative: is location absolute (in UCS) or relative to dimension + line center. + + """ + self.dim_style.set_location(location, leader, relative) + self.measurement.location_override(location, leader, relative) + + def add_line( + self, + start: Vec2, + end: Vec2, + dxfattribs, + remove_hidden_lines=False, + ) -> None: + """Add a LINE entity to the dimension BLOCK. Remove parts of the line + hidden by dimension text if `remove_hidden_lines` is True. + + Args: + start: start point of line + end: end point of line + dxfattribs: additional or overridden DXF attributes + remove_hidden_lines: removes parts of the line hidden by dimension + text if ``True`` + + """ + + attribs = self.default_attributes() + if dxfattribs: + attribs.update(dxfattribs) + self.geometry.add_line(start, end, dxfattribs, remove_hidden_lines) + + def add_arc( + self, + center: Vec2, + radius: float, + start_angle: float, + end_angle: float, + dxfattribs=None, + remove_hidden_lines=False, + ) -> None: + """Add a ARC entity to the geometry layout. Remove parts of the arc + hidden by dimension text if `remove_hidden_lines` is True. + + Args: + center: center of arc + radius: radius of arc + start_angle: start angle in radians + end_angle: end angle in radians + dxfattribs: additional or overridden DXF attributes + remove_hidden_lines: removes parts of the arc hidden by dimension + text if ``True`` + + """ + attribs = self.default_attributes() + if dxfattribs: + attribs.update(dxfattribs) + self.geometry.add_arc( + center, radius, start_angle, end_angle, attribs, remove_hidden_lines + ) + + def add_blockref( + self, + name: str, + insert: Vec2, + rotation: float, + scale: float, + dxfattribs, + ) -> None: + """ + Add block references and standard arrows to the dimension BLOCK. + + Args: + name: block or arrow name + insert: insertion point in UCS + rotation: rotation angle in degrees in UCS (x-axis is 0 degrees) + scale: scaling factor for x- and y-direction + dxfattribs: additional or overridden DXF attributes + + """ + attribs = self.default_attributes() + if dxfattribs: + attribs.update(dxfattribs) + + if name in ARROWS: + # generates automatically BLOCK definitions for arrows if needed + self.geometry.add_arrow_blockref(name, insert, scale, rotation, attribs) + else: + if name is None or not self.geometry.has_block(name): + raise DXFUndefinedBlockError(f'Undefined block: "{name}"') + if scale != 1.0: + attribs["xscale"] = scale + attribs["yscale"] = scale + self.geometry.add_blockref(name, insert, rotation, attribs) + + def add_text(self, text: str, pos: Vec2, rotation: float, dxfattribs) -> None: + """ + Add TEXT (DXF R12) or MTEXT (DXF R2000+) entity to the dimension BLOCK. + + Args: + text: text as string + pos: insertion location in UCS + rotation: rotation angle in degrees in UCS (x-axis is 0 degrees) + dxfattribs: additional or overridden DXF attributes + + """ + geometry = self.geometry + measurement = self.measurement + attribs = self.default_attributes() + attribs["style"] = measurement.text_style_name + attribs["color"] = measurement.text_color + + if geometry.supports_dxf_r2000: # use MTEXT entity + attribs["char_height"] = measurement.text_height + attribs["attachment_point"] = measurement.text_attachment_point + if measurement.text_fill: + attribs["box_fill_scale"] = measurement.text_box_fill_scale + attribs["bg_fill_color"] = measurement.text_fill_color + attribs["bg_fill"] = 3 if measurement.text_fill == 1 else 1 + + if dxfattribs: + attribs.update(dxfattribs) + geometry.add_mtext(text, pos, rotation, dxfattribs=attribs) + else: # use TEXT entity + attribs["height"] = measurement.text_height + if dxfattribs: + attribs.update(dxfattribs) + geometry.add_text(text, pos, rotation, dxfattribs=attribs) + + def add_leader(self, p1: Vec2, p2: Vec2, p3: Vec2): + """ + Add simple leader line from p1 to p2 to p3. + + Args: + p1: target point + p2: first text point + p3: second text point + + """ + # use only color and ignore linetype! + dxfattribs = {"color": self.dimension_line.color} + self.add_line(p1, p2, dxfattribs) + self.add_line(p2, p3, dxfattribs) + + def transform_ucs_to_wcs(self) -> None: + """Transforms dimension definition points into WCS or if required into + OCS. + + Can not be called in __init__(), because inherited classes may be need + unmodified values. + + """ + pass + + def finalize(self) -> None: + self.transform_ucs_to_wcs() + if self.geometry.requires_extrusion: + self.dimension.dxf.extrusion = self.geometry.extrusion + + +def order_leader_points(p1: Vec2, p2: Vec2, p3: Vec2) -> tuple[Vec2, Vec2]: + if (p1 - p2).magnitude > (p1 - p3).magnitude: + return p3, p2 + else: + return p2, p3 + + +def get_center_leader_points( + target_point: Vec2, text_box: TextBox, leg_length: float +) -> tuple[Vec2, Vec2]: + """Returns the leader points of the "leg" for a vertical centered leader.""" + c0, c1, c2, c3 = text_box.corners + # c3-------c2 + # left leg /---x text x---\ right leg + # / c0-------c1 \ + left_center = c0.lerp(c3) + right_center = c1.lerp(c2) + connection_point = left_center + leg_vector = (c0 - c1).normalize(leg_length) + if target_point.distance(left_center) > target_point.distance(right_center): + connection_point = right_center + leg_vector = -leg_vector + # leader line: target_point -> leg_point -> connection_point + # The text gap between the text and the connection point is already included + # in the text_box corners! + # Do not order leader points! + return connection_point + leg_vector, connection_point + + +def get_required_defpoint(dim: Dimension, name: str) -> Vec2: + dxf = dim.dxf + if dxf.hasattr(name): # has to exist, ignore default value! + return Vec2(dxf.get(name)) + raise const.DXFMissingDefinitionPoint(name) + + +def visible_arcs( + center: Vec2, + radius: float, + start_angle: float, + end_angle: float, + box: ConstructionBox, +) -> list[tuple[float, float]]: + """Returns the visible parts of an arc intersecting with a construction box + as (start angle, end angle) tuples. + + Args: + center: center of the arc + radius: radius of the arc + start_angle: start angle of arc in radians + end_angle: end angle of arc in radians + box: construction box which may intersect the arc + + """ + + intersection_angles: list[float] = [] # angles are in the range 0 to 2pi + start_angle %= math.tau + end_angle %= math.tau + arc = ConstructionArc( + center, radius, math.degrees(start_angle), math.degrees(end_angle) + ) + for line in box.border_lines(): + for intersection_point in arc.intersect_line(line): + angle = (intersection_point - center).angle % math.tau + if not intersection_angles: + intersection_angles.append(angle) + # new angle should be different than the last added angle: + elif not math.isclose(intersection_angles[-1], angle): + intersection_angles.append(angle) + # Arc has to intersect the box in exact two locations! + if len(intersection_angles) == 2: + if start_angle > end_angle: # arc passes 0 degrees + intersection_angles = [ + (a if a >= start_angle else a + math.tau) for a in intersection_angles + ] + intersection_angles.sort() + return [ + (start_angle, intersection_angles[0]), + (intersection_angles[1], end_angle), + ] + else: + # Ignore cases where the start- or the end point is inside the box. + # Ignore cases where the box touches the arc in one point. + return [(start_angle, end_angle)] + + +def get_text_style(doc: "Drawing", name: str) -> Textstyle: + assert doc is not None, "valid DXF document required" + get_style = doc.tables.styles.get + try: + style = get_style(name) + except const.DXFTableEntryError: + style = get_style("Standard") + return cast("Textstyle", style) + + +def get_char_height(dim_style: DimStyleOverride, text_style: Textstyle) -> float: + """Unscaled character height defined by text style or DIMTXT.""" + height: float = text_style.dxf.get("height", 0.0) + if height == 0.0: # variable text height (not fixed) + height = dim_style.get("dimtxt", 1.0) + return height + + +def compile_mtext(measurement: Measurement, tol: Tolerance) -> str: + text = measurement.text + if tol.enabled: + text = tol.compile_mtext(text) + return text diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/render/dim_curved.py b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/render/dim_curved.py new file mode 100644 index 0000000000000000000000000000000000000000..a40f5ba816d1975ae81fd4b39bcd6fe6d86ea84e --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/render/dim_curved.py @@ -0,0 +1,977 @@ +# Copyright (c) 2021-2022, Manfred Moitzi +# License: MIT License +from __future__ import annotations +from typing import TYPE_CHECKING, Optional +from abc import abstractmethod +import logging +import math + +from ezdxf.math import ( + Vec2, + Vec3, + NULLVEC, + UCS, + decdeg2dms, + arc_angle_span_rad, + xround, +) +from ezdxf.entities import DimStyleOverride, Dimension, DXFEntity +from .dim_base import ( + BaseDimensionRenderer, + get_required_defpoint, + format_text, + apply_dimpost, + Tolerance, + Measurement, + LengthMeasurement, + compile_mtext, + order_leader_points, + get_center_leader_points, +) +from ezdxf.render.arrows import ARROWS, arrow_length +from ezdxf.tools.text import is_upside_down_text_angle +from ezdxf.math import intersection_line_line_2d + +if TYPE_CHECKING: + from ezdxf.eztypes import GenericLayoutType + +__all__ = ["AngularDimension", "Angular3PDimension", "ArcLengthDimension"] +logger = logging.getLogger("ezdxf") + +ARC_PREFIX = "( " + + +def has_required_attributes(entity: DXFEntity, attrib_names: list[str]): + has = entity.dxf.hasattr + return all(has(attrib_name) for attrib_name in attrib_names) + + +GRAD = 200.0 / math.pi +DEG = 180.0 / math.pi + + +def format_angular_text( + value: float, + angle_units: int, + dimrnd: Optional[float], + dimdec: int, + dimzin: int, + dimdsep: str, +) -> str: + def decimal_format(_value: float) -> str: + return format_text( + _value, + dimrnd=dimrnd, + dimdec=dimdec, + dimzin=dimzin, + dimdsep=dimdsep, + ) + + def dms_format(_value: float) -> str: + if dimrnd is not None: + _value = xround(_value, dimrnd) + d, m, s = decdeg2dms(_value) + if dimdec > 4: + places = dimdec - 5 + s = round(s, places) + return f"{d:.0f}°{m:.0f}'{decimal_format(s)}\"" + if dimdec > 2: + return f"{d:.0f}°{m:.0f}'{s:.0f}\"" + if dimdec > 0: + return f"{d:.0f}°{m:.0f}'" + return f"{d:.0f}°" + + # angular_unit: + # 0 = Decimal degrees + # 1 = Degrees/minutes/seconds + # 2 = Grad + # 3 = Radians + text = "" + if angle_units == 0: + text = decimal_format(value * DEG) + "°" + elif angle_units == 1: + text = dms_format(value * DEG) + elif angle_units == 2: + text = decimal_format(value * GRAD) + "g" + elif angle_units == 3: + text = decimal_format(value) + "r" + return text + + +_ANGLE_UNITS = [ + DEG, + DEG, + GRAD, + 1.0, +] + + +def to_radians(value: float, dimaunit: int) -> float: + try: + return value / _ANGLE_UNITS[dimaunit] + except IndexError: + return value / DEG + + +class AngularTolerance(Tolerance): + def __init__( + self, + dim_style: DimStyleOverride, + cap_height: float = 1.0, + width_factor: float = 1.0, + dim_scale: float = 1.0, + angle_units: int = 0, + ): + self.angular_units = angle_units + super().__init__(dim_style, cap_height, width_factor, dim_scale) + # Tolerance values are interpreted in dimaunit: + # dimtp 1 means 1 degree for dimaunit = 0 or 1, but 1 radians for + # dimaunit = 3 + # format_text() requires radians as input: + self.update_tolerance_text( + to_radians(self.maximum, angle_units), + to_radians(self.minimum, angle_units), + ) + + def format_text(self, value: float) -> str: + """Rounding and text formatting of tolerance `value`, removes leading + and trailing zeros if necessary. + + """ + return format_angular_text( + value=value, + angle_units=self.angular_units, + dimrnd=None, + dimdec=self.decimal_places, + dimzin=self.suppress_zeros, + dimdsep=self.text_decimal_separator, + ) + + def update_limits(self, measurement: float) -> None: + # measurement is in radians, tolerance values are interpreted in + # dimaunit: dimtp 1 means 1 degree for dimaunit = 0 or 1, + # but 1 radians for dimaunit = 3 + # format_text() requires radians as input: + upper_limit = measurement + to_radians(self.maximum, self.angular_units) + lower_limit = measurement - to_radians(self.minimum, self.angular_units) + self.text_upper = self.format_text(upper_limit) + self.text_lower = self.format_text(lower_limit) + self.text_width = self.get_text_width(self.text_upper, self.text_lower) + + +class AngleMeasurement(Measurement): + def update(self, raw_measurement_value: float) -> None: + self.raw_value = raw_measurement_value + self.value = raw_measurement_value + self.text = self.text_override(raw_measurement_value) + + def format_text(self, value: float) -> str: + text = format_angular_text( + value=value, + angle_units=self.angle_units, + dimrnd=None, + dimdec=self.angular_decimal_places, + dimzin=self.angular_suppress_zeros << 2, # convert to dimzin value + dimdsep=self.decimal_separator, + ) + if self.text_post_process_format: + text = apply_dimpost(text, self.text_post_process_format) + return text + + +def fits_into_arc_span(length: float, radius: float, arc_span: float) -> bool: + required_arc_span: float = length / radius + return arc_span > required_arc_span + + +class _CurvedDimensionLine(BaseDimensionRenderer): + def __init__( + self, + dimension: Dimension, + ucs: Optional[UCS] = None, + override: Optional[DimStyleOverride] = None, + ): + super().__init__(dimension, ucs, override) + # Common parameters for all sub-classes: + # Use hidden line detection for dimension line: + # Disable expensive hidden line calculation if possible! + self.remove_hidden_lines_of_dimline = True + self.center_of_arc: Vec2 = self.get_center_of_arc() + self.dim_line_radius: float = self.get_dim_line_radius() + self.ext1_dir: Vec2 = self.get_ext1_dir() + self.start_angle_rad: float = self.ext1_dir.angle + self.ext2_dir: Vec2 = self.get_ext2_dir() + self.end_angle_rad: float = self.ext2_dir.angle + + # Angle between extension lines for all curved dimensions: + # equal to the angle measurement of angular dimensions + self.arc_angle_span_rad: float = arc_angle_span_rad( + self.start_angle_rad, self.end_angle_rad + ) + self.center_angle_rad = ( + self.start_angle_rad + self.arc_angle_span_rad / 2.0 + ) + + # Additional required parameters but calculated later by sub-classes: + self.ext1_start = Vec2() # start of 1st extension line + self.ext2_start = Vec2() # start of 2nd extension line + + # Class specific setup: + self.update_measurement() + if self.tol.has_limits: + self.tol.update_limits(self.measurement.value) + + # Text width and -height is required first, text location and -rotation + # are not valid yet: + self.text_box = self.init_text_box() + + # Place arrows outside? + self.arrows_outside = False + + self.setup_text_and_arrow_fitting() + self.setup_text_location() + + # update text box location and -rotation: + self.text_box.center = self.measurement.text_location + self.text_box.angle = self.measurement.text_rotation + self.geometry.set_text_box(self.text_box) + + # Update final text location in the DIMENSION entity: + self.dimension.dxf.text_midpoint = self.measurement.text_location + + @property + def ocs_center_of_arc(self) -> Vec3: + return self.geometry.ucs.to_ocs(Vec3(self.center_of_arc)) + + @property + def dim_midpoint(self) -> Vec2: + """Return the midpoint of the dimension line.""" + return self.center_of_arc + Vec2.from_angle( + self.center_angle_rad, self.dim_line_radius + ) + + @abstractmethod + def update_measurement(self) -> None: + """Setup measurement text.""" + ... + + @abstractmethod + def get_ext1_dir(self) -> Vec2: + """Return the direction of the 1st extension line == start angle.""" + ... + + @abstractmethod + def get_ext2_dir(self) -> Vec2: + """Return the direction of the 2nd extension line == end angle.""" + ... + + @abstractmethod + def get_center_of_arc(self) -> Vec2: + """Return the center of the arc.""" + ... + + @abstractmethod + def get_dim_line_radius(self) -> float: + """Return the distance from the center of the arc to the dimension line + location + """ + ... + + @abstractmethod + def get_defpoints(self) -> list[Vec2]: + ... + + def transform_ucs_to_wcs(self) -> None: + """Transforms dimension definition points into WCS or if required into + OCS. + """ + + def from_ucs(attr, func): + if dxf.is_supported(attr): + point = dxf.get(attr, NULLVEC) + dxf.set(attr, func(point)) + + dxf = self.dimension.dxf + ucs = self.geometry.ucs + from_ucs("defpoint", ucs.to_wcs) + from_ucs("defpoint2", ucs.to_wcs) + from_ucs("defpoint3", ucs.to_wcs) + from_ucs("defpoint4", ucs.to_wcs) + from_ucs("defpoint5", ucs.to_wcs) + from_ucs("text_midpoint", ucs.to_ocs) + + def default_location(self, shift: float = 0.0) -> Vec2: + radius = ( + self.dim_line_radius + + self.measurement.text_vertical_distance() + + shift + ) + text_radial_dir = Vec2.from_angle(self.center_angle_rad) + return self.center_of_arc + text_radial_dir * radius + + def setup_text_and_arrow_fitting(self) -> None: + # self.text_box.width includes the gaps between text and dimension line + # Is the measurement text without the arrows too wide to fit between the + # extension lines? + self.measurement.is_wide_text = not fits_into_arc_span( + self.text_box.width, self.dim_line_radius, self.arc_angle_span_rad + ) + + required_text_and_arrows_space: float = ( + # The suppression of the arrows is not taken into account: + self.text_box.width + + 2.0 * self.arrows.arrow_size + ) + + # dimatfit: measurement text fitting rule is ignored! + # Place arrows outside? + self.arrows_outside = not fits_into_arc_span( + required_text_and_arrows_space, + self.dim_line_radius, + self.arc_angle_span_rad, + ) + # Place measurement text outside? + self.measurement.text_is_outside = not fits_into_arc_span( + required_text_and_arrows_space * 1.1, # add some extra space + self.dim_line_radius, + self.arc_angle_span_rad, + ) + + if ( + self.measurement.text_is_outside + and self.measurement.user_text_rotation is None + ): + # Intersection of the measurement text with the dimension line is + # not possible: + self.remove_hidden_lines_of_dimline = False + + def setup_text_location(self) -> None: + """Setup geometric text properties (location, rotation) and the TextBox + object. + """ + # dimtix: measurement.force_text_inside is ignored + # dimtih: measurement.text_inside_horizontal is ignored + # dimtoh: measurement.text_outside_horizontal is ignored + + # text radial direction = center -> text + text_radial_dir: Vec2 # text "vertical" direction + measurement = self.measurement + + # determine text location: + at_default_location: bool = measurement.user_location is None + has_text_shifting: bool = bool( + measurement.text_shift_h or measurement.text_shift_v + ) + if at_default_location: + # place text in the "horizontal" center of the dimension line at the + # default location defined by measurement.text_valign (dimtad): + text_radial_dir = Vec2.from_angle(self.center_angle_rad) + shift_text_upwards: float = 0.0 + if measurement.text_is_outside: + # reset vertical alignment to "above" + measurement.text_valign = 1 + if measurement.is_wide_text: + # move measurement text "above" the extension line endings: + shift_text_upwards = self.extension_lines.extension_above + measurement.text_location = self.default_location( + shift=shift_text_upwards + ) + if ( + measurement.text_valign > 0 and not has_text_shifting + ): # not in the center and no text shifting is applied + # disable expensive hidden line calculation + self.remove_hidden_lines_of_dimline = False + else: + # apply dimtmove: measurement.text_movement_rule + user_location = measurement.user_location + assert isinstance(user_location, Vec2) + if measurement.relative_user_location: + user_location += self.dim_midpoint + measurement.text_location = user_location + if measurement.text_movement_rule == 0: + # Moves the dimension line with dimension text and + # aligns the text direction perpendicular to the connection + # line from the arc center to the text center: + self.dim_line_radius = ( + self.center_of_arc - user_location + ).magnitude + # Attributes about the text and arrow fitting have to be + # updated now: + self.setup_text_and_arrow_fitting() + elif measurement.text_movement_rule == 1: + # Adds a leader when dimension text, text direction is + # "horizontal" or user text rotation if given. + # Leader location is defined by dimtad (text_valign): + # "center" - connects to the left or right center of the text + # "below" - add a line below the text + if measurement.user_text_rotation is None: + # override text rotation + measurement.user_text_rotation = 0.0 + measurement.text_is_outside = True # by definition + elif measurement.text_movement_rule == 2: + # Allows text to be moved freely without a leader and + # aligns the text direction perpendicular to the connection + # line from the arc center to the text center: + measurement.text_is_outside = True # by definition + text_radial_dir = ( + measurement.text_location - self.center_of_arc + ).normalize() + + # set text "horizontal": + text_tangential_dir = text_radial_dir.orthogonal(ccw=False) + + if at_default_location and has_text_shifting: + # Apply text relative shift (ezdxf only feature) + if measurement.text_shift_h: + measurement.text_location += ( + text_tangential_dir * measurement.text_shift_h + ) + if measurement.text_shift_v: + measurement.text_location += ( + text_radial_dir * measurement.text_shift_v + ) + + # apply user text rotation; rotation in degrees: + if measurement.user_text_rotation is None: + rotation = text_tangential_dir.angle_deg + else: + rotation = measurement.user_text_rotation + + if not self.geometry.requires_extrusion: + # todo: extrusion vector (0, 0, -1)? + # Practically all DIMENSION entities are 2D entities, + # where OCS == WCS, check WCS text orientation: + wcs_angle = self.geometry.ucs.to_ocs_angle_deg(rotation) + if is_upside_down_text_angle(wcs_angle): + measurement.has_upside_down_correction = True + rotation += 180.0 # apply to UCS rotation! + measurement.text_rotation = rotation + + def get_leader_points(self) -> tuple[Vec2, Vec2]: + # Leader location is defined by dimtad (text_valign): + # "center": + # - connects to the left or right vertical center of the text + # - distance between text and leader line is measurement.text_gap (dimgap) + # and is already included in the text_box corner points + # - length of "leg": arrows.arrow_size + # "below" - add a line below the text + if self.measurement.text_valign == 0: # "center" + return get_center_leader_points( + self.dim_midpoint, self.text_box, self.arrows.arrow_size + ) + else: # "below" + c0, c1, c2, c3 = self.text_box.corners + if self.measurement.has_upside_down_correction: + p1, p2 = c2, c3 + else: + p1, p2 = c0, c1 + return order_leader_points(self.dim_midpoint, p1, p2) + + def render(self, block: GenericLayoutType) -> None: + """Main method to create dimension geometry of basic DXF entities in the + associated BLOCK layout. + + Args: + block: target BLOCK for rendering + + """ + super().render(block) + self.add_extension_lines() + adjust_start_angle, adjust_end_angle = self.add_arrows() + + measurement = self.measurement + if measurement.text: + if self.geometry.supports_dxf_r2000: + text = compile_mtext(measurement, self.tol) + else: + text = measurement.text + self.add_measurement_text( + text, measurement.text_location, measurement.text_rotation + ) + if measurement.has_leader: + p1, p2 = self.get_leader_points() + self.add_leader(self.dim_midpoint, p1, p2) + self.add_dimension_line(adjust_start_angle, adjust_end_angle) + self.geometry.add_defpoints(self.get_defpoints()) + + def add_extension_lines(self) -> None: + ext_lines = self.extension_lines + if not ext_lines.suppress1: + self._add_ext_line( + self.ext1_start, self.ext1_dir, ext_lines.dxfattribs(1) + ) + if not ext_lines.suppress2: + self._add_ext_line( + self.ext2_start, self.ext2_dir, ext_lines.dxfattribs(2) + ) + + def _add_ext_line(self, start: Vec2, direction: Vec2, dxfattribs) -> None: + ext_lines = self.extension_lines + center = self.center_of_arc + radius = self.dim_line_radius + ext_above = ext_lines.extension_above + is_inside = (start - center).magnitude > radius + + if ext_lines.has_fixed_length: + ext_below = ext_lines.length_below + if is_inside: + ext_below, ext_above = ext_above, ext_below + start = center + direction * (radius - ext_below) + else: + offset = ext_lines.offset + if is_inside: + ext_above = -ext_above + offset = -offset + start += direction * offset + end = center + direction * (radius + ext_above) + self.add_line(start, end, dxfattribs=dxfattribs) + + def add_arrows(self) -> tuple[float, float]: + """Add arrows or ticks to dimension. + + Returns: dimension start- and end angle offsets to adjust the + dimension line + + """ + arrows = self.arrows + attribs = arrows.dxfattribs() + radius = self.dim_line_radius + if abs(radius) < 1e-12: + return 0.0, 0.0 + + start = self.center_of_arc + self.ext1_dir * radius + end = self.center_of_arc + self.ext2_dir * radius + angle1 = self.ext1_dir.orthogonal().angle_deg + angle2 = self.ext2_dir.orthogonal().angle_deg + outside = self.arrows_outside + arrow1 = not arrows.suppress1 + arrow2 = not arrows.suppress2 + start_angle_offset = 0.0 + end_angle_offset = 0.0 + if arrows.tick_size > 0.0: # oblique stroke, but double the size + if arrow1: + self.add_blockref( + ARROWS.oblique, + insert=start, + rotation=angle1, + scale=arrows.tick_size * 2.0, + dxfattribs=attribs, + ) + if arrow2: + self.add_blockref( + ARROWS.oblique, + insert=end, + rotation=angle2, + scale=arrows.tick_size * 2.0, + dxfattribs=attribs, + ) + else: + arrow_size = arrows.arrow_size + # Note: The arrow blocks are correct as they are! + # The arrow head is tilted to match the connection point of the + # dimension line (even for datum arrows). + # tilting angle = 1/2 of the arc angle defined by the arrow length + arrow_tilt: float = arrow_size / radius * 0.5 * DEG + start_angle = angle1 + 180.0 + end_angle = angle2 + if outside: + start_angle += 180.0 + end_angle += 180.0 + arrow_tilt = -arrow_tilt + scale = arrow_size + if arrow1: + self.add_blockref( + arrows.arrow1_name, + insert=start, + scale=scale, + rotation=start_angle + arrow_tilt, + dxfattribs=attribs, + ) # reverse + if arrow2: + self.add_blockref( + arrows.arrow2_name, + insert=end, + scale=scale, + rotation=end_angle - arrow_tilt, + dxfattribs=attribs, + ) + if not outside: + # arrows inside extension lines: + # adjust angles for the remaining dimension line + if arrow1: + start_angle_offset = ( + arrow_length(arrows.arrow1_name, arrow_size) / radius + ) + if arrow2: + end_angle_offset = ( + arrow_length(arrows.arrow2_name, arrow_size) / radius + ) + return start_angle_offset, end_angle_offset + + def add_dimension_line( + self, + start_offset: float, + end_offset: float, + ) -> None: + # Start- and end angle adjustments have to be limited between the + # extension lines. + # Negative offset extends the dimension line outside! + start_angle: float = self.start_angle_rad + end_angle: float = self.end_angle_rad + arrows = self.arrows + size = arrows.arrow_size + radius = self.dim_line_radius + max_adjustment: float = abs(self.arc_angle_span_rad) / 2.0 + + if start_offset > max_adjustment: + start_offset = 0.0 + if end_offset > max_adjustment: + end_offset = 0.0 + + self.add_arc( + self.center_of_arc, + radius, + start_angle + start_offset, + end_angle - end_offset, + dxfattribs=self.dimension_line.dxfattribs(), + # hidden line detection if text is not placed outside: + remove_hidden_lines=self.remove_hidden_lines_of_dimline, + ) + if self.arrows_outside and not arrows.has_ticks: + # add arrow extension lines + start_offset, end_offset = arrow_offset_angles( + arrows.arrow1_name, size, radius + ) + self.add_arrow_extension_line( + start_angle - end_offset, + start_angle - start_offset, + ) + start_offset, end_offset = arrow_offset_angles( + arrows.arrow1_name, size, radius + ) + self.add_arrow_extension_line( + end_angle + start_offset, + end_angle + end_offset, + ) + + def add_arrow_extension_line(self, start_angle: float, end_angle: float): + self.add_arc( + self.center_of_arc, + self.dim_line_radius, + start_angle=start_angle, + end_angle=end_angle, + dxfattribs=self.dimension_line.dxfattribs(), + ) + + def add_measurement_text( + self, dim_text: str, pos: Vec2, rotation: float + ) -> None: + """Add measurement text to dimension BLOCK. + + Args: + dim_text: dimension text + pos: text location + rotation: text rotation in degrees + + """ + attribs = self.measurement.dxfattribs() + self.add_text(dim_text, pos=pos, rotation=rotation, dxfattribs=attribs) + + +class _AngularCommonBase(_CurvedDimensionLine): + def init_tolerance( + self, scale: float, measurement: Measurement + ) -> Tolerance: + return AngularTolerance( + self.dim_style, + cap_height=measurement.text_height, + width_factor=measurement.text_width_factor, + dim_scale=scale, + angle_units=measurement.angle_units, + ) + + def init_measurement(self, color: int, scale: float) -> Measurement: + return AngleMeasurement( + self.dim_style, self.default_color, self.dim_scale + ) + + def update_measurement(self) -> None: + self.measurement.update(self.arc_angle_span_rad) + + +class AngularDimension(_AngularCommonBase): + """ + Angular dimension line renderer. The dimension line is defined by two lines. + + Supported render types: + + - default location above + - default location center + - user defined location, text aligned with dimension line + - user defined location horizontal text + + Args: + dimension: DIMENSION entity + ucs: user defined coordinate system + override: dimension style override management object + + """ + + # Required defpoints: + # defpoint = start point of 1st leg (group code 10) + # defpoint4 = end point of 1st leg (group code 15) + # defpoint3 = start point of 2nd leg (group code 14) + # defpoint2 = end point of 2nd leg (group code 13) + # defpoint5 = location of dimension line (group code 16) + + # unsupported or ignored features (at least by BricsCAD): + # dimtih: text inside horizontal + # dimtoh: text outside horizontal + # dimjust: text position horizontal + # dimdle: dimline extension + + def __init__( + self, + dimension: Dimension, + ucs: Optional[UCS] = None, + override: Optional[DimStyleOverride] = None, + ): + self.leg1_start = get_required_defpoint(dimension, "defpoint") + self.leg1_end = get_required_defpoint(dimension, "defpoint4") + self.leg2_start = get_required_defpoint(dimension, "defpoint3") + self.leg2_end = get_required_defpoint(dimension, "defpoint2") + self.dim_line_location = get_required_defpoint(dimension, "defpoint5") + super().__init__(dimension, ucs, override) + # The extension line parameters depending on the location of the + # dimension line related to the definition point. + # Detect the extension start point. + # Which definition point is closer to the dimension line: + self.ext1_start = detect_closer_defpoint( + direction=self.ext1_dir, + base=self.dim_line_location, + p1=self.leg1_start, + p2=self.leg1_end, + ) + self.ext2_start = detect_closer_defpoint( + direction=self.ext2_dir, + base=self.dim_line_location, + p1=self.leg2_start, + p2=self.leg2_end, + ) + + def get_defpoints(self) -> list[Vec2]: + return [ + self.leg1_start, + self.leg1_end, + self.leg2_start, + self.leg2_end, + self.dim_line_location, + ] + + def get_center_of_arc(self) -> Vec2: + center = intersection_line_line_2d( + (self.leg1_start, self.leg1_end), + (self.leg2_start, self.leg2_end), + ) + if center is None: + logger.warning( + f"Invalid colinear or parallel angle legs found in {self.dimension})" + ) + # This case can not be created by the GUI in BricsCAD, but DXF + # files can contain any shit! + # The interpolation of the end-points is an arbitrary choice and + # maybe not the best choice! + center = self.leg1_end.lerp(self.leg2_end) + return center + + def get_dim_line_radius(self) -> float: + return (self.dim_line_location - self.center_of_arc).magnitude + + def get_ext1_dir(self) -> Vec2: + center = self.center_of_arc + start = ( + self.leg1_end + if self.leg1_start.isclose(center) + else self.leg1_start + ) + return (start - center).normalize() + + def get_ext2_dir(self) -> Vec2: + center = self.center_of_arc + start = ( + self.leg2_end + if self.leg2_start.isclose(center) + else self.leg2_start + ) + return (start - center).normalize() + + +class Angular3PDimension(_AngularCommonBase): + """ + Angular dimension line renderer. The dimension line is defined by three + points. + + Supported render types: + + - default location above + - default location center + - user defined location, text aligned with dimension line + - user defined location horizontal text + + Args: + dimension: DIMENSION entity + ucs: user defined coordinate system + override: dimension style override management object + + """ + + # Required defpoints: + # defpoint = location of dimension line (group code 10) + # defpoint2 = 1st leg (group code 13) + # defpoint3 = 2nd leg (group code 14) + # defpoint4 = center of angle (group code 15) + + def __init__( + self, + dimension: Dimension, + ucs: Optional[UCS] = None, + override: Optional[DimStyleOverride] = None, + ): + self.dim_line_location = get_required_defpoint(dimension, "defpoint") + self.leg1_start = get_required_defpoint(dimension, "defpoint2") + self.leg2_start = get_required_defpoint(dimension, "defpoint3") + self.center_of_arc = get_required_defpoint(dimension, "defpoint4") + super().__init__(dimension, ucs, override) + self.ext1_start = self.leg1_start + self.ext2_start = self.leg2_start + + def get_defpoints(self) -> list[Vec2]: + return [ + self.dim_line_location, + self.leg1_start, + self.leg2_start, + self.center_of_arc, + ] + + def get_center_of_arc(self) -> Vec2: + return self.center_of_arc + + def get_dim_line_radius(self) -> float: + return (self.dim_line_location - self.center_of_arc).magnitude + + def get_ext1_dir(self) -> Vec2: + return (self.leg1_start - self.center_of_arc).normalize() + + def get_ext2_dir(self) -> Vec2: + return (self.leg2_start - self.center_of_arc).normalize() + + +class ArcLengthMeasurement(LengthMeasurement): + def format_text(self, value: float) -> str: + text = format_text( + value=value, + dimrnd=self.text_round, + dimdec=self.decimal_places, + dimzin=self.suppress_zeros, + dimdsep=self.decimal_separator, + ) + if self.has_arc_length_prefix: + text = ARC_PREFIX + text + if self.text_post_process_format: + text = apply_dimpost(text, self.text_post_process_format) + return text + + +class ArcLengthDimension(_CurvedDimensionLine): + """Arc length dimension line renderer. + Requires DXF R2004. + + Supported render types: + + - default location above + - default location center + - user defined location, text aligned with dimension line + - user defined location horizontal text + + Args: + dimension: DXF entity DIMENSION + ucs: user defined coordinate system + override: dimension style override management object + + """ + + # Required defpoints: + # defpoint = location of dimension line (group code 10) + # defpoint2 = 1st arc point (group code 13) + # defpoint3 = 2nd arc point (group code 14) + # defpoint4 = center of arc (group code 15) + + def __init__( + self, + dimension: Dimension, + ucs: Optional[UCS] = None, + override: Optional[DimStyleOverride] = None, + ): + self.dim_line_location = get_required_defpoint(dimension, "defpoint") + self.leg1_start = get_required_defpoint(dimension, "defpoint2") + self.leg2_start = get_required_defpoint(dimension, "defpoint3") + self.center_of_arc = get_required_defpoint(dimension, "defpoint4") + self.arc_radius = (self.leg1_start - self.center_of_arc).magnitude + super().__init__(dimension, ucs, override) + self.ext1_start = self.leg1_start + self.ext2_start = self.leg2_start + + def get_defpoints(self) -> list[Vec2]: + return [ + self.dim_line_location, + self.leg1_start, + self.leg2_start, + self.center_of_arc, + ] + + def init_measurement(self, color: int, scale: float) -> Measurement: + return ArcLengthMeasurement( + self.dim_style, self.default_color, self.dim_scale + ) + + def get_center_of_arc(self) -> Vec2: + return self.center_of_arc + + def get_dim_line_radius(self) -> float: + return (self.dim_line_location - self.center_of_arc).magnitude + + def get_ext1_dir(self) -> Vec2: + return (self.leg1_start - self.center_of_arc).normalize() + + def get_ext2_dir(self) -> Vec2: + return (self.leg2_start - self.center_of_arc).normalize() + + def update_measurement(self) -> None: + angle = arc_angle_span_rad(self.start_angle_rad, self.end_angle_rad) + arc_length = angle * self.arc_radius + self.measurement.update(arc_length) + + +def detect_closer_defpoint( + direction: Vec2, base: Vec2, p1: Vec2, p2: Vec2 +) -> Vec2: + # Calculate the projected distance onto the (normalized) direction vector: + d0 = direction.dot(base) + d1 = direction.dot(p1) + d2 = direction.dot(p2) + # Which defpoint is closer to the base point (d0)? + if abs(d1 - d0) <= abs(d2 - d0): + return p1 + return p2 + + +def arrow_offset_angles( + arrow_name: str, size: float, radius: float +) -> tuple[float, float]: + start_offset: float = 0.0 + end_offset: float = size / radius + length = arrow_length(arrow_name, size) + if length > 0.0: + start_offset = length / radius + end_offset *= 2.0 + return start_offset, end_offset diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/render/dim_diameter.py b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/render/dim_diameter.py new file mode 100644 index 0000000000000000000000000000000000000000..0a53c870f1b03a52696bba6b579b0d91dc265dc6 --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/render/dim_diameter.py @@ -0,0 +1,175 @@ +# Copyright (c) 2018-2022, Manfred Moitzi +# License: MIT License +from __future__ import annotations +from typing import TYPE_CHECKING, Optional +from ezdxf.math import Vec2, UCS +from ezdxf.entities.dimstyleoverride import DimStyleOverride + +from .dim_radius import ( + RadiusDimension, + add_center_mark, + Measurement, + RadiusMeasurement, +) + +if TYPE_CHECKING: + from ezdxf.entities import Dimension + +PREFIX = "Ø" + + +class DiameterDimension(RadiusDimension): + """ + Diameter dimension line renderer. + + Supported render types: + - default location inside, text aligned with diameter dimension line + - default location inside horizontal text + - default location outside, text aligned with diameter dimension line + - default location outside horizontal text + - user defined location, text aligned with diameter dimension line + - user defined location horizontal text + + Args: + dimension: DXF entity DIMENSION + ucs: user defined coordinate system + override: dimension style override management object + + """ + + def init_measurement(self, color: int, scale: float) -> Measurement: + return RadiusMeasurement(self.dim_style, color, scale, PREFIX) + + def _center(self): + return Vec2(self.dimension.dxf.defpoint).lerp( + self.dimension.dxf.defpoint4 + ) + + def __init__( + self, + dimension: Dimension, + ucs: Optional[UCS] = None, + override: Optional[DimStyleOverride] = None, + ): + # Diameter dimension has the same styles for inside text as radius dimension, except for the + # measurement text + super().__init__(dimension, ucs, override) + self.point_on_circle2 = Vec2(self.dimension.dxf.defpoint) + + def add_text( + self, text: str, pos: Vec2, rotation: float, dxfattribs + ) -> None: + # escape diameter sign + super().add_text(text.replace(PREFIX, "%%c"), pos, rotation, dxfattribs) + + def get_default_text_location(self) -> Vec2: + """Returns default text midpoint based on `text_valign` and + `text_outside`. + """ + measurement = self.measurement + if measurement.text_is_outside and measurement.text_outside_horizontal: + return super().get_default_text_location() + + text_direction = Vec2.from_deg_angle(measurement.text_rotation) + vertical_direction = text_direction.orthogonal(ccw=True) + vertical_distance = measurement.text_vertical_distance() + if measurement.text_is_inside: + text_midpoint = self.center + else: + hdist = ( + self._total_text_width / 2.0 + + self.arrows.arrow_size + + measurement.text_gap + ) + text_midpoint = self.point_on_circle + (self.dim_line_vec * hdist) + return text_midpoint + (vertical_direction * vertical_distance) + + def _add_arrow_1(self, rotate=False): + if not self.arrows.suppress1: + return self.add_arrow(self.point_on_circle, rotate=rotate) + else: + return self.point_on_circle + + def _add_arrow_2(self, rotate=True): + if not self.arrows.suppress2: + return self.add_arrow(self.point_on_circle2, rotate=rotate) + else: + return self.point_on_circle2 + + def render_default_location(self) -> None: + """Create dimension geometry at the default dimension line locations.""" + measurement = self.measurement + if measurement.text_is_outside: + connection_point1 = self._add_arrow_1(rotate=True) + if self.outside_text_force_dimline: + self.add_diameter_dim_line( + connection_point1, self._add_arrow_2() + ) + else: + add_center_mark(self) + if measurement.text_outside_horizontal: + self.add_horiz_ext_line_default(connection_point1) + else: + self.add_radial_ext_line_default(connection_point1) + else: + connection_point1 = self._add_arrow_1(rotate=False) + if measurement.text_movement_rule == 1: + # move text, add leader -> dimline from text to point on circle + self.add_radial_dim_line_from_text( + self.center, connection_point1 + ) + add_center_mark(self) + else: + # dimline from center to point on circle + self.add_diameter_dim_line( + connection_point1, self._add_arrow_2() + ) + + def render_user_location(self) -> None: + """Create dimension geometry at user defined dimension locations.""" + measurement = self.measurement + preserve_outside = measurement.text_is_outside + leader = measurement.text_movement_rule != 2 + if not leader: + # render dimension line like text inside + measurement.text_is_outside = False + # add arrow symbol (block references) + connection_point1 = self._add_arrow_1( + rotate=measurement.text_is_outside + ) + + if measurement.text_is_outside: + if self.outside_text_force_dimline: + self.add_radial_dim_line(self.point_on_circle) + else: + add_center_mark(self) + if measurement.text_outside_horizontal: + self.add_horiz_ext_line_user(connection_point1) + else: + self.add_radial_ext_line_user(connection_point1) + else: + if measurement.text_inside_horizontal: + self.add_horiz_ext_line_user(connection_point1) + else: + if measurement.text_movement_rule == 2: # move text, no leader! + # dimline across the circle + connection_point2 = self._add_arrow_2(rotate=True) + self.add_line( + connection_point1, + connection_point2, + dxfattribs=self.dimension_line.dxfattribs(), + remove_hidden_lines=True, + ) + else: + # move text, add leader -> dimline from text to point on circle + self.add_radial_dim_line_from_text( + measurement.user_location, connection_point1 + ) + add_center_mark(self) + + measurement.text_is_outside = preserve_outside + + def add_diameter_dim_line(self, start: Vec2, end: Vec2) -> None: + """Add diameter dimension line.""" + attribs = self.dimension_line.dxfattribs() + self.add_line(start, end, dxfattribs=attribs, remove_hidden_lines=True) diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/render/dim_linear.py b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/render/dim_linear.py new file mode 100644 index 0000000000000000000000000000000000000000..d52b671b34b87c1a71b6af1b1e7429906032b771 --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/render/dim_linear.py @@ -0,0 +1,649 @@ +# Copyright (c) 2018-2022, Manfred Moitzi +# License: MIT License +from __future__ import annotations +from typing import TYPE_CHECKING, Iterable, cast, Optional +import math +from ezdxf.math import Vec3, Vec2, UVec, ConstructionRay, UCS +from ezdxf.render.arrows import ARROWS, connection_point +from ezdxf.entities.dimstyleoverride import DimStyleOverride + +from .dim_base import ( + BaseDimensionRenderer, + LengthMeasurement, + Measurement, + compile_mtext, + order_leader_points, +) + +if TYPE_CHECKING: + from ezdxf.entities import Dimension + from ezdxf.eztypes import GenericLayoutType + + +class LinearDimension(BaseDimensionRenderer): + """Linear dimension line renderer, used for horizontal, vertical, rotated + and aligned DIMENSION entities. + + Args: + dimension: DXF entity DIMENSION + ucs: user defined coordinate system + override: dimension style override management object + + """ + + def __init__( + self, + dimension: Dimension, + ucs: Optional[UCS] = None, + override: Optional[DimStyleOverride] = None, + ): + super().__init__(dimension, ucs, override) + measurement = self.measurement + if measurement.text_movement_rule == 0: + # moves the dimension line with dimension text, this makes no sense + # for ezdxf (just set `base` argument) + measurement.text_movement_rule = 2 + + self.oblique_angle: float = self.dimension.get_dxf_attrib( + "oblique_angle", 90 + ) + self.dim_line_angle: float = self.dimension.get_dxf_attrib("angle", 0) + self.dim_line_angle_rad: float = math.radians(self.dim_line_angle) + self.ext_line_angle: float = self.dim_line_angle + self.oblique_angle + self.ext_line_angle_rad: float = math.radians(self.ext_line_angle) + + # text is aligned to dimension line + measurement.text_rotation = self.dim_line_angle + # text above extension line, is always aligned with extension lines + if measurement.text_halign in (3, 4): + measurement.text_rotation = self.ext_line_angle + + self.ext1_line_start = Vec2(self.dimension.dxf.defpoint2) + self.ext2_line_start = Vec2(self.dimension.dxf.defpoint3) + + ext1_ray = ConstructionRay( + self.ext1_line_start, angle=self.ext_line_angle_rad + ) + ext2_ray = ConstructionRay( + self.ext2_line_start, angle=self.ext_line_angle_rad + ) + dim_line_ray = ConstructionRay( + self.dimension.dxf.defpoint, angle=self.dim_line_angle_rad + ) + + self.dim_line_start: Vec2 = dim_line_ray.intersect(ext1_ray) + self.dim_line_end: Vec2 = dim_line_ray.intersect(ext2_ray) + self.dim_line_center: Vec2 = self.dim_line_start.lerp(self.dim_line_end) + + if self.dim_line_start == self.dim_line_end: + self.dim_line_vec = Vec2.from_angle(self.dim_line_angle_rad) + else: + self.dim_line_vec = ( + self.dim_line_end - self.dim_line_start + ).normalize() + + # set dimension defpoint to expected location - 3D vertex required! + self.dimension.dxf.defpoint = Vec3(self.dim_line_start) + + raw_measurement = (self.dim_line_end - self.dim_line_start).magnitude + measurement.update(raw_measurement) + + # only for linear dimension in multi point mode + self.multi_point_mode = self.dim_style.pop("multi_point_mode", False) + + # 1 .. move wide text up + # 2 .. move wide text down + # None .. ignore + self.move_wide_text: Optional[bool] = self.dim_style.pop( + "move_wide_text", None + ) + + # actual text width in drawing units + self._total_text_width: float = 0 + + # arrows + self.required_arrows_space: float = ( + 2 * self.arrows.arrow_size + measurement.text_gap + ) + self.arrows_outside: bool = self.required_arrows_space > raw_measurement + + # text location and rotation + if measurement.text: + # text width and required space + self._total_text_width = self.total_text_width() + if self.tol.has_limits: + # limits show the upper and lower limit of the measurement as + # stacked values and with the size of tolerances + self.tol.update_limits(self.measurement.value) + + if self.multi_point_mode: + # ezdxf has total control about vertical text position in multi + # point mode + measurement.text_vertical_position = 0.0 + + if ( + measurement.text_valign == 0 + and abs(measurement.text_vertical_position) < 0.7 + ): + # vertical centered text needs also space for arrows + required_space = ( + self._total_text_width + 2 * self.arrows.arrow_size + ) + else: + required_space = self._total_text_width + measurement.is_wide_text = required_space > raw_measurement + + if not measurement.force_text_inside: + # place text outside if wide text and not forced inside + measurement.text_is_outside = measurement.is_wide_text + elif measurement.is_wide_text and measurement.text_halign < 3: + # center wide text horizontal + measurement.text_halign = 0 + + # use relative text shift to move wide text up or down in multi + # point mode + if ( + self.multi_point_mode + and measurement.is_wide_text + and self.move_wide_text + ): + shift_value = measurement.text_height + measurement.text_gap + if self.move_wide_text == 1: # move text up + measurement.text_shift_v = shift_value + if ( + measurement.vertical_placement == -1 + ): # text below dimension line + # shift again + measurement.text_shift_v += shift_value + elif self.move_wide_text == 2: # move text down + measurement.text_shift_v = -shift_value + if ( + measurement.vertical_placement == 1 + ): # text above dimension line + # shift again + measurement.text_shift_v -= shift_value + + # get final text location - no altering after this line + measurement.text_location = self.get_text_location() + + # text rotation override + rotation: float = measurement.text_rotation + if measurement.user_text_rotation is not None: + rotation = measurement.user_text_rotation + elif ( + measurement.text_is_outside + and measurement.text_outside_horizontal + ): + rotation = 0.0 + elif ( + measurement.text_is_inside + and measurement.text_inside_horizontal + ): + rotation = 0.0 + measurement.text_rotation = rotation + + text_box = self.init_text_box() + self.geometry.set_text_box(text_box) + if measurement.has_leader: + p1, p2, *_ = text_box.corners + self.leader1, self.leader2 = order_leader_points( + self.dim_line_center, p1, p2 + ) + # not exact what BricsCAD (AutoCAD) expect, but close enough + self.dimension.dxf.text_midpoint = self.leader1 + else: + # write final text location into DIMENSION entity + self.dimension.dxf.text_midpoint = measurement.text_location + + def init_measurement(self, color: int, scale: float) -> Measurement: + return LengthMeasurement( + self.dim_style, self.default_color, self.dim_scale + ) + + def render(self, block: GenericLayoutType) -> None: + """Main method to create dimension geometry of basic DXF entities in the + associated BLOCK layout. + + Args: + block: target BLOCK for rendering + + """ + # call required to setup some requirements + super().render(block) + + # add extension line 1 + ext_lines = self.extension_lines + measurement = self.measurement + if not ext_lines.suppress1: + above_ext_line1 = measurement.text_halign == 3 + start, end = self.extension_line_points( + self.ext1_line_start, self.dim_line_start, above_ext_line1 + ) + self.add_line(start, end, dxfattribs=ext_lines.dxfattribs(1)) + + # add extension line 2 + if not ext_lines.suppress2: + above_ext_line2 = measurement.text_halign == 4 + start, end = self.extension_line_points( + self.ext2_line_start, self.dim_line_end, above_ext_line2 + ) + self.add_line(start, end, dxfattribs=ext_lines.dxfattribs(2)) + + # add arrow symbols (block references), also adjust dimension line start + # and end point + dim_line_start, dim_line_end = self.add_arrows() + + # add dimension line + self.add_dimension_line(dim_line_start, dim_line_end) + + # add measurement text as last entity to see text fill properly + if measurement.text: + if self.geometry.supports_dxf_r2000: + text = compile_mtext(measurement, self.tol) + else: + text = measurement.text + self.add_measurement_text( + text, measurement.text_location, measurement.text_rotation + ) + if measurement.has_leader: + self.add_leader( + self.dim_line_center, self.leader1, self.leader2 + ) + + # add POINT entities at definition points + self.geometry.add_defpoints( + [self.dim_line_start, self.ext1_line_start, self.ext2_line_start] + ) + + def get_text_location(self) -> Vec2: + """Get text midpoint in UCS from user defined location or default text + location. + + """ + # apply relative text shift as user location override without leader + measurement = self.measurement + if measurement.has_relative_text_movement: + location = self.default_text_location() + location = measurement.apply_text_shift( + location, measurement.text_rotation + ) + self.location_override(location) + + if measurement.user_location is not None: + location = measurement.user_location + if measurement.relative_user_location: + location = self.dim_line_center + location + # define overridden text location as outside + measurement.text_is_outside = True + else: + location = self.default_text_location() + + return location + + def default_text_location(self) -> Vec2: + """Calculate default text location in UCS based on `self.text_halign`, + `self.text_valign` and `self.text_outside` + + """ + start = self.dim_line_start + end = self.dim_line_end + measurement = self.measurement + halign = measurement.text_halign + # positions the text above and aligned with the first/second extension line + ext_lines = self.extension_lines + if halign in (3, 4): + # horizontal location + hdist = measurement.text_gap + measurement.text_height / 2.0 + hvec = self.dim_line_vec * hdist + location = (start if halign == 3 else end) - hvec + # vertical location + vdist = ext_lines.extension_above + self._total_text_width / 2.0 + location += Vec2.from_deg_angle(self.ext_line_angle).normalize( + vdist + ) + else: + # relocate outside text to center location + if measurement.text_is_outside: + halign = 0 + + if halign == 0: + location = self.dim_line_center # center of dimension line + else: + hdist = ( + self._total_text_width / 2.0 + + self.arrows.arrow_size + + measurement.text_gap + ) + if ( + halign == 1 + ): # positions the text next to the first extension line + location = start + (self.dim_line_vec * hdist) + else: # positions the text next to the second extension line + location = end - (self.dim_line_vec * hdist) + + if measurement.text_is_outside: # move text up + vdist = ( + ext_lines.extension_above + + measurement.text_gap + + measurement.text_height / 2.0 + ) + else: + # distance from extension line to text midpoint + vdist = measurement.text_vertical_distance() + location += self.dim_line_vec.orthogonal().normalize(vdist) + + return location + + def add_arrows(self) -> tuple[Vec2, Vec2]: + """ + Add arrows or ticks to dimension. + + Returns: dimension line connection points + + """ + arrows = self.arrows + attribs = arrows.dxfattribs() + start = self.dim_line_start + end = self.dim_line_end + outside = self.arrows_outside + arrow1 = not arrows.suppress1 + arrow2 = not arrows.suppress2 + + if arrows.tick_size > 0.0: # oblique stroke, but double the size + if arrow1: + self.add_blockref( + ARROWS.oblique, + insert=start, + rotation=self.dim_line_angle, + scale=arrows.tick_size * 2.0, + dxfattribs=attribs, + ) + if arrow2: + self.add_blockref( + ARROWS.oblique, + insert=end, + rotation=self.dim_line_angle, + scale=arrows.tick_size * 2.0, + dxfattribs=attribs, + ) + else: + scale = arrows.arrow_size + start_angle = self.dim_line_angle + 180.0 + end_angle = self.dim_line_angle + if outside: + start_angle, end_angle = end_angle, start_angle + + if arrow1: + self.add_blockref( + arrows.arrow1_name, + insert=start, + scale=scale, + rotation=start_angle, + dxfattribs=attribs, + ) # reverse + if arrow2: + self.add_blockref( + arrows.arrow2_name, + insert=end, + scale=scale, + rotation=end_angle, + dxfattribs=attribs, + ) + + if not outside: + # arrows inside extension lines: adjust connection points for + # the remaining dimension line + if arrow1: + start = connection_point( + arrows.arrow1_name, start, scale, start_angle + ) + if arrow2: + end = connection_point( + arrows.arrow2_name, end, scale, end_angle + ) + else: + # add additional extension lines to arrows placed outside of + # dimension extension lines + self.add_arrow_extension_lines() + return start, end + + def add_arrow_extension_lines(self): + """Add extension lines to arrows placed outside of dimension extension + lines. Called by `self.add_arrows()`. + + """ + + def has_arrow_extension(name: str) -> bool: + return ( + (name is not None) + and (name in ARROWS) + and (name not in ARROWS.ORIGIN_ZERO) + ) + + attribs = self.dimension_line.dxfattribs() + arrows = self.arrows + start = self.dim_line_start + end = self.dim_line_end + arrow_size = arrows.arrow_size + + if not arrows.suppress1 and has_arrow_extension(arrows.arrow1_name): + self.add_line( + start - self.dim_line_vec * arrow_size, + start - self.dim_line_vec * (2 * arrow_size), + dxfattribs=attribs, + ) + + if not arrows.suppress2 and has_arrow_extension(arrows.arrow2_name): + self.add_line( + end + self.dim_line_vec * arrow_size, + end + self.dim_line_vec * (2 * arrow_size), + dxfattribs=attribs, + ) + + def add_measurement_text( + self, dim_text: str, pos: Vec2, rotation: float + ) -> None: + """Add measurement text to dimension BLOCK. + + Args: + dim_text: dimension text + pos: text location + rotation: text rotation in degrees + + """ + self.add_text(dim_text, pos, rotation, dict()) + + def add_dimension_line(self, start: Vec2, end: Vec2) -> None: + """Add dimension line to dimension BLOCK, adds extension DIMDLE if + required, and uses DIMSD1 or DIMSD2 to suppress first or second part of + dimension line. Removes line parts hidden by dimension text. + + Args: + start: dimension line start + end: dimension line end + + """ + dim_line = self.dimension_line + arrows = self.arrows + extension = self.dim_line_vec * dim_line.extension + ticks = arrows.has_ticks + if ticks or ARROWS.has_extension_line(arrows.arrow1_name): + start = start - extension + if ticks or ARROWS.has_extension_line(arrows.arrow2_name): + end = end + extension + + attribs = dim_line.dxfattribs() + + if dim_line.suppress1 or dim_line.suppress2: + # TODO: results not as expected, but good enough + # center should take into account text location + center = start.lerp(end) + if not dim_line.suppress1: + self.add_line( + start, center, dxfattribs=attribs, remove_hidden_lines=True + ) + if not dim_line.suppress2: + self.add_line( + center, end, dxfattribs=attribs, remove_hidden_lines=True + ) + else: + self.add_line( + start, end, dxfattribs=attribs, remove_hidden_lines=True + ) + + def extension_line_points( + self, start: Vec2, end: Vec2, text_above_extline=False + ) -> tuple[Vec2, Vec2]: + """Adjust start and end point of extension line by dimension variables + DIMEXE, DIMEXO, DIMEXFIX, DIMEXLEN. + + Args: + start: start point of extension line (measurement point) + end: end point at dimension line + text_above_extline: True if text is above and aligned with extension line + + Returns: adjusted start and end point + + """ + if start == end: + direction = Vec2.from_deg_angle(self.ext_line_angle) + else: + direction = (end - start).normalize() + if self.extension_lines.has_fixed_length: + start = end - (direction * self.extension_lines.length_below) + else: + start = start + direction * self.extension_lines.offset + extension = self.extension_lines.extension_above + if text_above_extline: + extension += self._total_text_width + end = end + direction * extension + return start, end + + def transform_ucs_to_wcs(self) -> None: + """Transforms dimension definition points into WCS or if required into + OCS. + + Can not be called in __init__(), because inherited classes may be need + unmodified values. + + """ + + def from_ucs(attr, func): + point = self.dimension.get_dxf_attrib(attr) + self.dimension.set_dxf_attrib(attr, func(point)) + + ucs = self.geometry.ucs + from_ucs("defpoint", ucs.to_wcs) + from_ucs("defpoint2", ucs.to_wcs) + from_ucs("defpoint3", ucs.to_wcs) + from_ucs("text_midpoint", ucs.to_ocs) + self.dimension.dxf.angle = ucs.to_ocs_angle_deg( + self.dimension.dxf.angle + ) + + +CAN_SUPPRESS_ARROW1 = { + ARROWS.dot, + ARROWS.dot_small, + ARROWS.dot_blank, + ARROWS.origin_indicator, + ARROWS.origin_indicator_2, + ARROWS.dot_smallblank, + ARROWS.none, + ARROWS.oblique, + ARROWS.box_filled, + ARROWS.box, + ARROWS.integral, + ARROWS.architectural_tick, +} + + +def sort_projected_points( + points: Iterable[UVec], angle: float = 0 +) -> list[Vec2]: + direction = Vec2.from_deg_angle(angle) + projected_vectors = [(direction.project(Vec2(p)), p) for p in points] + return [p for projection, p in sorted(projected_vectors)] + + +def multi_point_linear_dimension( + layout: GenericLayoutType, + base: UVec, + points: Iterable[UVec], + angle: float = 0, + ucs: Optional[UCS] = None, + avoid_double_rendering: bool = True, + dimstyle: str = "EZDXF", + override: Optional[dict] = None, + dxfattribs=None, + discard=False, +) -> None: + """Creates multiple DIMENSION entities for each point pair in `points`. + Measurement points will be sorted by appearance on the dimension line + vector. + + Args: + layout: target layout (model space, paper space or block) + base: base point, any point on the dimension line vector will do + points: iterable of measurement points + angle: dimension line rotation in degrees (0=horizontal, 90=vertical) + ucs: user defined coordinate system + avoid_double_rendering: removes first extension line and arrow of + following DIMENSION entity + dimstyle: dimension style name + override: dictionary of overridden dimension style attributes + dxfattribs: DXF attributes for DIMENSION entities + discard: discard rendering result for friendly CAD applications like + BricsCAD to get a native and likely better rendering result. + (does not work with AutoCAD) + + """ + + def suppress_arrow1(dimstyle_override) -> bool: + arrow_name1, arrow_name2 = dimstyle_override.get_arrow_names() + if (arrow_name1 is None) or (arrow_name1 in CAN_SUPPRESS_ARROW1): + return True + else: + return False + + points = sort_projected_points(points, angle) + base = Vec2(base) + override = override or {} + override["dimtix"] = 1 # do not place measurement text outside + override["dimtvp"] = 0 # do not place measurement text outside + override["multi_point_mode"] = True + # 1 .. move wide text up; 2 .. move wide text down; None .. ignore + # moving text down, looks best combined with text fill bg: DIMTFILL = 1 + move_wide_text = 1 + _suppress_arrow1 = False + first_run = True + + for p1, p2 in zip(points[:-1], points[1:]): + _override = dict(override) + _override["move_wide_text"] = move_wide_text + if avoid_double_rendering and not first_run: + _override["dimse1"] = 1 + _override["suppress_arrow1"] = _suppress_arrow1 + + style = layout.add_linear_dim( + Vec3(base), + Vec3(p1), + Vec3(p2), + angle=angle, + dimstyle=dimstyle, + override=_override, + dxfattribs=dxfattribs, + ) + if first_run: + _suppress_arrow1 = suppress_arrow1(style) + + renderer = cast(LinearDimension, style.render(ucs, discard=discard)) + if renderer.measurement.is_wide_text: + # after wide text switch moving direction + if move_wide_text == 1: + move_wide_text = 2 + else: + move_wide_text = 1 + else: # reset to move text up + move_wide_text = 1 + first_run = False diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/render/dim_ordinate.py b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/render/dim_ordinate.py new file mode 100644 index 0000000000000000000000000000000000000000..e534d69d196b18b4c26ef6fb440e5a03dd24af76 --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/render/dim_ordinate.py @@ -0,0 +1,209 @@ +# Copyright (c) 2021-2022, Manfred Moitzi +# License: MIT License +from __future__ import annotations +from typing import TYPE_CHECKING, Optional +import logging +import math + +from ezdxf.math import Vec2, UCS, NULLVEC +from ezdxf.lldxf import const +from ezdxf.entities import DimStyleOverride, Dimension +from .dim_base import ( + BaseDimensionRenderer, + get_required_defpoint, + compile_mtext, +) + +if TYPE_CHECKING: + from ezdxf.eztypes import GenericLayoutType + +__all__ = ["OrdinateDimension"] +logger = logging.getLogger("ezdxf") + + +class OrdinateDimension(BaseDimensionRenderer): + # Required defpoints: + # defpoint = origin (group code 10) + # defpoint2 = feature location (group code 13) + # defpoint3 = end of leader (group code 14) + # user text location is ignored (group code 11) and replaced by default + # location calculated by the ezdxf renderer: + + def __init__( + self, + dimension: Dimension, + ucs: Optional[UCS] = None, + override: Optional[DimStyleOverride] = None, + ): + # The local coordinate system is defined by origin and the + # horizontal_direction in OCS: + self.origin_ocs: Vec2 = get_required_defpoint(dimension, "defpoint") + self.feature_location_ocs: Vec2 = get_required_defpoint( + dimension, "defpoint2" + ) + self.end_of_leader_ocs: Vec2 = get_required_defpoint( + dimension, "defpoint3" + ) + # Horizontal direction in clockwise orientation, see DXF reference + # for group code 51: + self.horizontal_dir = -dimension.dxf.get("horizontal_direction", 0.0) + self.rotation = math.radians(self.horizontal_dir) + self.local_x_axis = Vec2.from_angle(self.rotation) + self.local_y_axis = self.local_x_axis.orthogonal() + self.x_type = bool( # x-type is set! + dimension.dxf.get("dimtype", 0) & const.DIM_ORDINATE_TYPE + ) + super().__init__(dimension, ucs, override) + + # Measurement directions can be opposite to local x- or y-axis + self.leader_vec_ocs = self.end_of_leader_ocs - self.feature_location_ocs + leader_x_vec = self.local_x_axis.project(self.leader_vec_ocs) + leader_y_vec = self.local_y_axis.project(self.leader_vec_ocs) + try: + self.measurement_direction: Vec2 = leader_x_vec.normalize() + except ZeroDivisionError: + self.measurement_direction = Vec2(1, 0) + try: + self.measurement_orthogonal: Vec2 = leader_y_vec.normalize() + except ZeroDivisionError: + self.measurement_orthogonal = Vec2(0, 1) + + if not self.x_type: + self.measurement_direction, self.measurement_orthogonal = ( + self.measurement_orthogonal, + self.measurement_direction, + ) + + self.update_measurement() + if self.tol.has_limits: + self.tol.update_limits(self.measurement.value) + + # Text width and -height is required first, text location and -rotation + # are not valid yet: + self.text_box = self.init_text_box() + + # Set text location and rotation: + self.measurement.text_location = self.get_default_text_location() + self.measurement.text_rotation = self.get_default_text_rotation() + + # Update text box location and -rotation: + self.text_box.center = self.measurement.text_location + self.text_box.angle = self.measurement.text_rotation + self.geometry.set_text_box(self.text_box) + + # Update final text location in the DIMENSION entity: + self.dimension.dxf.text_midpoint = self.measurement.text_location + + def get_default_text_location(self) -> Vec2: + if self.x_type: + text_vertical_shifting_dir = -self.local_x_axis + else: + text_vertical_shifting_dir = self.local_y_axis + + # user text location is not supported and ignored: + return ( + self.end_of_leader_ocs + + self.measurement_orthogonal * (self.text_box.width * 0.5) + + text_vertical_shifting_dir + * self.measurement.text_vertical_distance() + ) + + def get_default_text_rotation(self) -> float: + # user text rotation is not supported and ignored: + return (90.0 if self.x_type else 0.0) + self.horizontal_dir + + def update_measurement(self) -> None: + feature_location_vec: Vec2 = self.feature_location_ocs - self.origin_ocs + # ordinate measurement is always absolute: + self.measurement.update( + self.local_x_axis.project(feature_location_vec).magnitude + if self.x_type + else self.local_y_axis.project(feature_location_vec).magnitude + ) + + def get_defpoints(self) -> list[Vec2]: + return [ + self.origin_ocs, + self.feature_location_ocs, + self.end_of_leader_ocs, + ] + + def transform_ucs_to_wcs(self) -> None: + """Transforms dimension definition points into WCS or if required into + OCS. + """ + + def from_ucs(attr, func): + point = dxf.get(attr, NULLVEC) + dxf.set(attr, func(point)) + + dxf = self.dimension.dxf + ucs = self.geometry.ucs + from_ucs("defpoint", ucs.to_wcs) + from_ucs("defpoint2", ucs.to_wcs) + from_ucs("defpoint3", ucs.to_wcs) + from_ucs("text_midpoint", ucs.to_ocs) + + # Horizontal direction in clockwise orientation, see DXF reference + # for group code 51: + dxf.horizontal_direction = -ucs.to_ocs_angle_deg(self.horizontal_dir) + + def render(self, block: GenericLayoutType) -> None: + """Main method to create dimension geometry of basic DXF entities in the + associated BLOCK layout. + + Args: + block: target BLOCK for rendering + + """ + super().render(block) + self.add_ordinate_leader() + measurement = self.measurement + if measurement.text: + if self.geometry.supports_dxf_r2000: + text = compile_mtext(measurement, self.tol) + else: + text = measurement.text + self.add_measurement_text( + text, measurement.text_location, measurement.text_rotation + ) + self.geometry.add_defpoints(self.get_defpoints()) + + def add_ordinate_leader(self) -> None: + # DXF attributes from first extension line not from dimension line! + attribs = self.extension_lines.dxfattribs(1) + # The ordinate leader is normal to the measurement direction. + # leader direction and text direction: + direction = self.measurement_orthogonal + leg_size = self.arrows.arrow_size * 2.0 + # /---1---TEXT + # x----0----/ + # d0 = distance from feature location (x) to 1st upward junction + d0 = direction.project(self.leader_vec_ocs).magnitude - 2.0 * leg_size + + start0 = ( + self.feature_location_ocs + direction * self.extension_lines.offset + ) + end0 = self.feature_location_ocs + direction * max(leg_size, d0) + start1 = self.end_of_leader_ocs - direction * leg_size + end1 = self.end_of_leader_ocs + if self.measurement.vertical_placement != 0: + end1 += direction * self.text_box.width + + self.add_line(start0, end0, dxfattribs=attribs) + self.add_line(end0, start1, dxfattribs=attribs) + self.add_line(start1, end1, dxfattribs=attribs) + + def add_measurement_text( + self, dim_text: str, pos: Vec2, rotation: float + ) -> None: + """Add measurement text to dimension BLOCK. + + Args: + dim_text: dimension text + pos: text location + rotation: text rotation in degrees + + """ + attribs = self.measurement.dxfattribs() + self.add_text(dim_text, pos=pos, rotation=rotation, dxfattribs=attribs) diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/render/dim_radius.py b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/render/dim_radius.py new file mode 100644 index 0000000000000000000000000000000000000000..2895c2777f24c54745f638de475aa04dcd4905ed --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/render/dim_radius.py @@ -0,0 +1,488 @@ +# Copyright (c) 2018-2022, Manfred Moitzi +# License: MIT License +from __future__ import annotations +from typing import TYPE_CHECKING, Optional + +from ezdxf.math import Vec2, UCS, UVec +from ezdxf.tools import normalize_text_angle +from ezdxf.render.arrows import ARROWS, connection_point +from ezdxf.entities.dimstyleoverride import DimStyleOverride +from ezdxf.lldxf.const import DXFInternalEzdxfError +from ezdxf.render.dim_base import ( + BaseDimensionRenderer, + Measurement, + LengthMeasurement, + compile_mtext, +) + +if TYPE_CHECKING: + from ezdxf.entities import Dimension + from ezdxf.eztypes import GenericLayoutType + + +class RadiusMeasurement(LengthMeasurement): + def __init__( + self, dim_style: DimStyleOverride, color: int, scale: float, prefix: str + ): + super().__init__(dim_style, color, scale) + self.text_prefix = prefix + + def format_text(self, value: float) -> str: + text = super().format_text(value) + if text and text[0] != self.text_prefix: + text = self.text_prefix + text + return text + + +class RadiusDimension(BaseDimensionRenderer): + """ + Radial dimension line renderer. + + Supported render types: + - default location inside, text aligned with radial dimension line + - default location inside horizontal text + - default location outside, text aligned with radial dimension line + - default location outside horizontal text + - user defined location, text aligned with radial dimension line + - user defined location horizontal text + + Args: + dimension: DXF entity DIMENSION + ucs: user defined coordinate system + override: dimension style override management object + + """ + + # Super class of DiameterDimension + def _center(self): + return Vec2(self.dimension.dxf.defpoint) + + def __init__( + self, + dimension: Dimension, + ucs: Optional[UCS] = None, + override: Optional[DimStyleOverride] = None, + ): + super().__init__(dimension, ucs, override) + dimtype = self.dimension.dimtype + measurement = self.measurement + if dimtype == 3: + self.is_diameter_dim = True + elif dimtype == 4: + self.is_radius_dim = True + else: + raise DXFInternalEzdxfError(f"Invalid dimension type {dimtype}") + + self.center: Vec2 = self._center() # override in diameter dimension + self.point_on_circle: Vec2 = Vec2(self.dimension.dxf.defpoint4) + # modify parameters for special scenarios + if measurement.user_location is None: + if ( + measurement.text_is_inside + and measurement.text_inside_horizontal + and measurement.text_movement_rule == 1 + ): # move text, add leader + # use algorithm for user define dimension line location + measurement.user_location = self.center.lerp( + self.point_on_circle + ) + measurement.text_valign = 0 # text vertical centered + + direction = self.point_on_circle - self.center + self.dim_line_vec = direction.normalize() + self.dim_line_angle = self.dim_line_vec.angle_deg + self.radius = direction.magnitude + # get_measurement() works for radius and diameter dimension + measurement.update(self.dimension.get_measurement()) + self.outside_default_distance = self.radius + 2 * self.arrows.arrow_size + self.outside_default_defpoint = self.center + ( + self.dim_line_vec * self.outside_default_distance + ) + self.outside_text_force_dimline = bool(self.dim_style.get("dimtofl", 1)) + # final dimension text (without limits or tolerance) + + # default location is outside, if not forced to be inside + measurement.text_is_outside = not measurement.force_text_inside + # text_outside: user defined location, overrides default location + if measurement.user_location is not None: + measurement.text_is_outside = self.is_location_outside( + measurement.user_location + ) + + self._total_text_width: float = 0.0 + if measurement.text: + # text width and required space + self._total_text_width = self.total_text_width() + if self.tol.has_limits: + # limits show the upper and lower limit of the measurement as + # stacked values and with the size of tolerances + self.tol.update_limits(measurement.value) + + # default rotation is angle of dimension line, from center to point on circle. + rotation = self.dim_line_angle + if measurement.text_is_outside and measurement.text_outside_horizontal: + rotation = 0.0 + elif measurement.text_is_inside and measurement.text_inside_horizontal: + rotation = 0.0 + + # final absolute text rotation (x-axis=0) + measurement.text_rotation = normalize_text_angle( + rotation, fix_upside_down=True + ) + + # final text location + measurement.text_location = self.get_text_location() + self.geometry.set_text_box(self.init_text_box()) + # write final text location into DIMENSION entity + if measurement.user_location: + self.dimension.dxf.text_midpoint = measurement.user_location + # default locations + elif ( + measurement.text_is_outside and measurement.text_outside_horizontal + ): + self.dimension.dxf.text_midpoint = self.outside_default_defpoint + else: + self.dimension.dxf.text_midpoint = measurement.text_location + + def init_measurement(self, color: int, scale: float) -> Measurement: + return RadiusMeasurement(self.dim_style, color, scale, "R") + + def get_text_location(self) -> Vec2: + """Returns text midpoint from user defined location or default text + location. + """ + if self.measurement.user_location is not None: + return self.get_user_defined_text_location() + else: + return self.get_default_text_location() + + def get_default_text_location(self) -> Vec2: + """Returns default text midpoint based on `text_valign` and + `text_outside` + """ + measurement = self.measurement + if measurement.text_is_outside and measurement.text_outside_horizontal: + hdist = self._total_text_width / 2.0 + if ( + measurement.vertical_placement == 0 + ): # shift text horizontal if vertical centered + hdist += self.arrows.arrow_size + angle = self.dim_line_angle % 360.0 # normalize 0 .. 360 + if 90.0 < angle <= 270.0: + hdist = -hdist + return self.outside_default_defpoint + Vec2( + (hdist, measurement.text_vertical_distance()) + ) + + text_direction = Vec2.from_deg_angle(measurement.text_rotation) + vertical_direction = text_direction.orthogonal(ccw=True) + vertical_distance = measurement.text_vertical_distance() + if measurement.text_is_inside: + hdist = (self.radius - self.arrows.arrow_size) / 2.0 + text_midpoint = self.center + (self.dim_line_vec * hdist) + else: + hdist = ( + self._total_text_width / 2.0 + + self.arrows.arrow_size + + measurement.text_gap + ) + text_midpoint = self.point_on_circle + (self.dim_line_vec * hdist) + return text_midpoint + (vertical_direction * vertical_distance) + + def get_user_defined_text_location(self) -> Vec2: + """Returns text midpoint for user defined dimension location.""" + measurement = self.measurement + assert isinstance(measurement.user_location, Vec2) + text_outside_horiz = ( + measurement.text_is_outside and measurement.text_outside_horizontal + ) + text_inside_horiz = ( + measurement.text_is_inside and measurement.text_inside_horizontal + ) + if text_outside_horiz or text_inside_horiz: + hdist = self._total_text_width / 2.0 + if ( + measurement.vertical_placement == 0 + ): # shift text horizontal if vertical centered + hdist += self.arrows.arrow_size + if measurement.user_location.x <= self.point_on_circle.x: + hdist = -hdist + vdist = measurement.text_vertical_distance() + return measurement.user_location + Vec2((hdist, vdist)) + else: + text_normal_vec = Vec2.from_deg_angle( + measurement.text_rotation + ).orthogonal() + return ( + measurement.user_location + + text_normal_vec * measurement.text_vertical_distance() + ) + + def is_location_outside(self, location: Vec2) -> bool: + radius = (location - self.center).magnitude + return radius > self.radius + + def render(self, block: GenericLayoutType) -> None: + """Create dimension geometry of basic DXF entities in the associated + BLOCK layout. + """ + # call required to setup some requirements + super().render(block) + measurement = self.measurement + if not self.dimension_line.suppress1: + if measurement.user_location is not None: + self.render_user_location() + else: + self.render_default_location() + + # add measurement text as last entity to see text fill properly + if measurement.text: + if self.geometry.supports_dxf_r2000: + text = compile_mtext(self.measurement, self.tol) + else: + text = measurement.text + self.add_measurement_text( + text, measurement.text_location, measurement.text_rotation + ) + + # add POINT entities at definition points + self.geometry.add_defpoints([self.center, self.point_on_circle]) + + def render_default_location(self) -> None: + """Create dimension geometry at the default dimension line locations.""" + measurement = self.measurement + if not self.arrows.suppress1: + arrow_connection_point = self.add_arrow( + self.point_on_circle, rotate=measurement.text_is_outside + ) + else: + arrow_connection_point = self.point_on_circle + + if measurement.text_is_outside: + if self.outside_text_force_dimline: + self.add_radial_dim_line(self.point_on_circle) + else: + add_center_mark(self) + if measurement.text_outside_horizontal: + self.add_horiz_ext_line_default(arrow_connection_point) + else: + self.add_radial_ext_line_default(arrow_connection_point) + else: + if measurement.text_movement_rule == 1: + # move text, add leader -> dimline from text to point on circle + self.add_radial_dim_line_from_text( + self.center.lerp(self.point_on_circle), + arrow_connection_point, + ) + add_center_mark(self) + else: + # dimline from center to point on circle + self.add_radial_dim_line(arrow_connection_point) + + def render_user_location(self) -> None: + """Create dimension geometry at user defined dimension locations.""" + measurement = self.measurement + preserve_outside = measurement.text_is_outside + leader = measurement.text_movement_rule != 2 + if not leader: + measurement.text_is_outside = ( + False # render dimension line like text inside + ) + # add arrow symbol (block references) + if not self.arrows.suppress1: + arrow_connection_point = self.add_arrow( + self.point_on_circle, rotate=measurement.text_is_outside + ) + else: + arrow_connection_point = self.point_on_circle + if measurement.text_is_outside: + if self.outside_text_force_dimline: + self.add_radial_dim_line(self.point_on_circle) + else: + add_center_mark(self) + if measurement.text_outside_horizontal: + self.add_horiz_ext_line_user(arrow_connection_point) + else: + self.add_radial_ext_line_user(arrow_connection_point) + else: + if measurement.text_inside_horizontal: + self.add_horiz_ext_line_user(arrow_connection_point) + else: + if measurement.text_movement_rule == 2: # move text, no leader! + # dimline from center to point on circle + self.add_radial_dim_line(arrow_connection_point) + else: + # move text, add leader -> dimline from text to point on circle + self.add_radial_dim_line_from_text( + measurement.user_location, arrow_connection_point + ) + add_center_mark(self) + + measurement.text_is_outside = preserve_outside + + def add_arrow(self, location, rotate: bool) -> Vec2: + """Add arrow or tick to dimension line, returns dimension line connection point.""" + arrows = self.arrows + attribs = arrows.dxfattribs() + + arrow_name = arrows.arrow1_name + if arrows.tick_size > 0.0: # oblique stroke, but double the size + self.add_blockref( + ARROWS.oblique, + insert=location, + rotation=self.dim_line_angle, + scale=arrows.tick_size * 2.0, + dxfattribs=attribs, + ) + else: + scale = arrows.arrow_size + angle = self.dim_line_angle + if rotate: + angle += 180.0 + + self.add_blockref( + arrow_name, + insert=location, + scale=scale, + rotation=angle, + dxfattribs=attribs, + ) + location = connection_point(arrow_name, location, scale, angle) + return location + + def add_radial_dim_line(self, end: UVec) -> None: + """Add radial dimension line.""" + attribs = self.dimension_line.dxfattribs() + self.add_line( + self.center, end, dxfattribs=attribs, remove_hidden_lines=True + ) + + def add_radial_dim_line_from_text(self, start, end: UVec) -> None: + """Add radial dimension line, starting point at the measurement text.""" + attribs = self.dimension_line.dxfattribs() + hshift = self._total_text_width / 2 + if self.measurement.vertical_placement != 0: # not center + hshift = -hshift + self.add_line( + start + self.dim_line_vec * hshift, + end, + dxfattribs=attribs, + remove_hidden_lines=False, + ) + + def add_horiz_ext_line_default(self, start: UVec) -> None: + """Add horizontal outside extension line from start for default + locations. + """ + attribs = self.dimension_line.dxfattribs() + self.add_line(start, self.outside_default_defpoint, dxfattribs=attribs) + if self.measurement.vertical_placement == 0: + hdist = self.arrows.arrow_size + else: + hdist = self._total_text_width + angle = self.dim_line_angle % 360.0 # normalize 0 .. 360 + if 90 < angle <= 270: + hdist = -hdist + end = self.outside_default_defpoint + Vec2((hdist, 0)) + self.add_line(self.outside_default_defpoint, end, dxfattribs=attribs) + + def add_horiz_ext_line_user(self, start: UVec) -> None: + """Add horizontal extension line from start for user defined locations.""" + measurement = self.measurement + assert isinstance(measurement.user_location, Vec2) + attribs = self.dimension_line.dxfattribs() + self.add_line(start, measurement.user_location, dxfattribs=attribs) + if measurement.vertical_placement == 0: + hdist = self.arrows.arrow_size + else: + hdist = self._total_text_width + if measurement.user_location.x <= self.point_on_circle.x: + hdist = -hdist + end = measurement.user_location + Vec2((hdist, 0)) + self.add_line(measurement.user_location, end, dxfattribs=attribs) + + def add_radial_ext_line_default(self, start: UVec) -> None: + """Add radial outside extension line from start for default locations.""" + attribs = self.dimension_line.dxfattribs() + length = self.measurement.text_gap + self._total_text_width + end = start + self.dim_line_vec * length + self.add_line(start, end, dxfattribs=attribs, remove_hidden_lines=True) + + def add_radial_ext_line_user(self, start: UVec) -> None: + """Add radial outside extension line from start for user defined location.""" + attribs = self.dimension_line.dxfattribs() + length = self._total_text_width / 2.0 + if self.measurement.vertical_placement == 0: + length = -length + end = self.measurement.user_location + self.dim_line_vec * length + self.add_line(start, end, dxfattribs=attribs) + + def add_measurement_text( + self, dim_text: str, pos: Vec2, rotation: float + ) -> None: + """Add measurement text to dimension BLOCK.""" + attribs = self.measurement.dxfattribs() + self.add_text(dim_text, pos=pos, rotation=rotation, dxfattribs=attribs) + + def transform_ucs_to_wcs(self) -> None: + """ + Transforms dimension definition points into WCS or if required into OCS. + + Can not be called in __init__(), because inherited classes may be need unmodified values. + + """ + + def from_ucs(attr, func): + point = self.dimension.get_dxf_attrib(attr) + self.dimension.set_dxf_attrib(attr, func(point)) + + ucs = self.geometry.ucs + from_ucs("defpoint", ucs.to_wcs) + from_ucs("defpoint4", ucs.to_wcs) + from_ucs("text_midpoint", ucs.to_ocs) + + +def add_center_mark(dim: RadiusDimension) -> None: + """Add center mark/lines to radius and diameter dimensions. + + Args: + dim: RadiusDimension or DiameterDimension renderer + """ + dim_type = dim.dimension.dimtype + if dim_type == 4: # Radius Dimension + radius = dim.measurement.raw_value + elif dim_type == 3: # Diameter Dimension + radius = dim.measurement.raw_value / 2.0 + else: + raise TypeError(f"Invalid dimension type: {dim_type}") + + mark_size = dim.dim_style.get("dimcen", 0) + if mark_size == 0: + return + + center_lines = False + if mark_size < 0: + mark_size = abs(mark_size) + center_lines = True + center = Vec2(dim.center) + + # draw center mark + mark_x_vec = Vec2((mark_size, 0)) + mark_y_vec = Vec2((0, mark_size)) + # use only color and ignore linetype! + dxfattribs = {"color": dim.dimension_line.color} + dim.add_line(center - mark_x_vec, center + mark_x_vec, dxfattribs) + dim.add_line(center - mark_y_vec, center + mark_y_vec, dxfattribs) + + if center_lines: + size = mark_size + radius + if size < 2 * mark_size: + return # not enough space for center lines + start_x_vec = mark_x_vec * 2 + start_y_vec = mark_y_vec * 2 + end_x_vec = Vec2((size, 0)) + end_y_vec = Vec2((0, size)) + dim.add_line(center + start_x_vec, center + end_x_vec, dxfattribs) + dim.add_line(center - start_x_vec, center - end_x_vec, dxfattribs) + dim.add_line(center + start_y_vec, center + end_y_vec, dxfattribs) + dim.add_line(center - start_y_vec, center - end_y_vec, dxfattribs) diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/render/dimension.py b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/render/dimension.py new file mode 100644 index 0000000000000000000000000000000000000000..d9b3c6fecf051ffc77512a4eae0cf2b4a9fd7ef1 --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/render/dimension.py @@ -0,0 +1,118 @@ +# Copyright (c) 2018-2022, Manfred Moitzi +# License: MIT License +from __future__ import annotations +from typing import TYPE_CHECKING, Optional + +from ezdxf.math import UCS +from ezdxf.lldxf.const import DXFValueError +from ezdxf.entities.dimstyleoverride import DimStyleOverride + +from .dim_base import BaseDimensionRenderer +from .dim_curved import AngularDimension, Angular3PDimension, ArcLengthDimension +from .dim_diameter import DiameterDimension +from .dim_linear import LinearDimension +from .dim_ordinate import OrdinateDimension +from .dim_radius import RadiusDimension + + +if TYPE_CHECKING: + from ezdxf.entities import Dimension + + +class DimensionRenderer: + def dispatch( + self, override: DimStyleOverride, ucs: Optional[UCS] = None + ) -> BaseDimensionRenderer: + dimension = override.dimension + dim_type = dimension.dimtype + dxf_type = dimension.dxftype() + if dxf_type == "ARC_DIMENSION": + return self.arc_length(dimension, ucs, override) + elif dxf_type == "LARGE_RADIAL_DIMENSION": + return self.large_radial(dimension, ucs, override) + elif dim_type in (0, 1): + return self.linear(dimension, ucs, override) + elif dim_type == 2: + return self.angular(dimension, ucs, override) + elif dim_type == 3: + return self.diameter(dimension, ucs, override) + elif dim_type == 4: + return self.radius(dimension, ucs, override) + elif dim_type == 5: + return self.angular3p(dimension, ucs, override) + elif dim_type == 6: + return self.ordinate(dimension, ucs, override) + else: + raise DXFValueError(f"Unknown DIMENSION type: {dim_type}") + + def linear( + self, + dimension: Dimension, + ucs: Optional[UCS] = None, + override: Optional[DimStyleOverride] = None, + ): + """Call renderer for linear dimension lines: horizontal, vertical and rotated""" + return LinearDimension(dimension, ucs, override) + + def angular( + self, + dimension: Dimension, + ucs: Optional[UCS] = None, + override: Optional[DimStyleOverride] = None, + ): + """Call renderer for angular dimension defined by two lines.""" + return AngularDimension(dimension, ucs, override) + + def diameter( + self, + dimension: Dimension, + ucs: Optional[UCS] = None, + override: Optional[DimStyleOverride] = None, + ): + """Call renderer for diameter dimension""" + return DiameterDimension(dimension, ucs, override) + + def radius( + self, + dimension: Dimension, + ucs: Optional[UCS] = None, + override: Optional[DimStyleOverride] = None, + ): + """Call renderer for radius dimension""" + return RadiusDimension(dimension, ucs, override) + + def large_radial( + self, + dimension: Dimension, + ucs: Optional[UCS] = None, + override: Optional[DimStyleOverride] = None, + ): + """Call renderer for large radial dimension""" + raise NotImplementedError() + + def angular3p( + self, + dimension: Dimension, + ucs: Optional[UCS] = None, + override: Optional[DimStyleOverride] = None, + ): + """Call renderer for angular dimension defined by three points.""" + return Angular3PDimension(dimension, ucs, override) + + def ordinate( + self, + dimension: Dimension, + ucs: Optional[UCS] = None, + override: Optional[DimStyleOverride] = None, + ): + """Call renderer for ordinate dimension.""" + return OrdinateDimension(dimension, ucs, override) + + def arc_length( + self, + dimension: Dimension, + ucs: Optional[UCS] = None, + override: Optional[DimStyleOverride] = None, + ): + """Call renderer for arc length dimension.""" + return ArcLengthDimension(dimension, ucs, override) diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/render/forms.py b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/render/forms.py new file mode 100644 index 0000000000000000000000000000000000000000..2ec4a2ba3acabce94526da7041bff20a73089c1b --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/render/forms.py @@ -0,0 +1,1434 @@ +# Copyright (c) 2018-2022 Manfred Moitzi +# License: MIT License +from __future__ import annotations +from typing import Iterable, Sequence, Iterator, Callable, Optional +import math +from enum import IntEnum +from ezdxf.math import ( + Vec2, + Vec3, + UVec, + Matrix44, + global_bspline_interpolation, + EulerSpiral, + arc_angle_span_rad, + NULLVEC, + Z_AXIS, + X_AXIS, + UCS, + intersection_ray_ray_3d, +) +from ezdxf.render.mesh import MeshVertexMerger, MeshTransformer + + +__all__ = [ + "circle", + "ellipse", + "euler_spiral", + "square", + "box", + "open_arrow", + "arrow2", + "ngon", + "star", + "gear", + "turtle", + "translate", + "rotate", + "scale", + "close_polygon", + "helix", + "cube", + "extrude", + "extrude_twist_scale", + "sweep", + "cylinder", + "cylinder_2p", + "from_profiles_linear", + "from_profiles_spline", + "spline_interpolation", + "spline_interpolated_profiles", + "cone", + "cone_2p", + "rotation_form", + "sphere", + "torus", + "reference_frame_z", + "reference_frame_ext", + "make_next_reference_frame", +] + + +def circle( + count: int, radius: float = 1, elevation: float = 0, close: bool = False +) -> Iterable[Vec3]: + """Create polygon vertices for a `circle `_ + with the given `radius` and approximated by `count` vertices, `elevation` + is the z-axis for all vertices. + + Args: + count: count of polygon vertices + radius: circle radius + elevation: z-axis for all vertices + close: yields first vertex also as last vertex if ``True``. + + Returns: + vertices in counter-clockwise orientation as :class:`~ezdxf.math.Vec3` + objects + + """ + radius = float(radius) + delta = math.tau / count + alpha = 0.0 + for index in range(count): + x = math.cos(alpha) * radius + y = math.sin(alpha) * radius + yield Vec3(x, y, elevation) + alpha += delta + + if close: + yield Vec3(radius, 0, elevation) + + +def ellipse( + count: int, + rx: float = 1, + ry: float = 1, + start_param: float = 0, + end_param: float = math.tau, + elevation: float = 0, +) -> Iterable[Vec3]: + """Create polygon vertices for an `ellipse `_ + with given `rx` as x-axis radius and `ry` as y-axis radius approximated by + `count` vertices, `elevation` is the z-axis for all vertices. + The ellipse goes from `start_param` to `end_param` in counter clockwise + orientation. + + Args: + count: count of polygon vertices + rx: ellipse x-axis radius + ry: ellipse y-axis radius + start_param: start of ellipse in range [0, 2π] + end_param: end of ellipse in range [0, 2π] + elevation: z-axis for all vertices + + Returns: + vertices in counter clockwise orientation as :class:`~ezdxf.math.Vec3` + objects + + """ + rx = float(rx) + ry = float(ry) + start_param = float(start_param) + end_param = float(end_param) + count = int(count) + delta = (end_param - start_param) / (count - 1) + cos = math.cos + sin = math.sin + for param in range(count): + alpha = start_param + param * delta + yield Vec3(cos(alpha) * rx, sin(alpha) * ry, elevation) + + +def euler_spiral( + count: int, length: float = 1, curvature: float = 1, elevation: float = 0 +) -> Iterable[Vec3]: + """Create polygon vertices for an `euler spiral `_ + of a given `length` and radius of curvature. This is a parametric curve, + which always starts at the origin (0, 0). + + Args: + count: count of polygon vertices + length: length of curve in drawing units + curvature: radius of curvature + elevation: z-axis for all vertices + + Returns: + vertices as :class:`~ezdxf.math.Vec3` objects + + """ + spiral = EulerSpiral(curvature=curvature) + for vertex in spiral.approximate(length, count - 1): + yield vertex.replace(z=elevation) + + +def square(size: float = 1.0, center=False) -> tuple[Vec3, Vec3, Vec3, Vec3]: + """Returns 4 vertices for a square with a side length of the given `size`. + The center of the square in (0, 0) if `center` is ``True`` otherwise + the lower left corner is (0, 0), upper right corner is (`size`, `size`). + """ + if center: + a = size / 2.0 + return Vec3(-a, -a), Vec3(a, -a), Vec3(a, a), Vec3(-a, a) + else: + return Vec3(0, 0), Vec3(size, 0), Vec3(size, size), Vec3(0, size) + + +def box( + sx: float = 1.0, sy: float = 1.0, center=False +) -> tuple[Vec3, Vec3, Vec3, Vec3]: + """Returns 4 vertices for a box with a width of `sx` by and a height of + `sy`. The center of the box in (0, 0) if `center` is ``True`` otherwise + the lower left corner is (0, 0), upper right corner is (`sx`, `sy`). + """ + if center: + a = sx / 2.0 + b = sy / 2.0 + return Vec3(-a, -b), Vec3(a, -b), Vec3(a, b), Vec3(-a, b) + else: + return Vec3(0, 0), Vec3(sx, 0), Vec3(sx, sy), Vec3(0, sy) + + +def open_arrow(size: float = 1.0, angle: float = 30.0) -> tuple[Vec3, Vec3, Vec3]: + """Returns 3 vertices for an open arrow `<` with a length of the given + `size`, argument `angle` defines the enclosing angle in degrees. + Vertex order: upward end vertex, tip (0, 0) , downward end vertex (counter- + clockwise order) + + Args: + size: length of arrow + angle: enclosing angle in degrees + + """ + h = math.sin(math.radians(angle / 2.0)) * size + return Vec3(-size, h), Vec3(0, 0), Vec3(-size, -h) + + +def arrow2( + size: float = 1.0, angle: float = 30.0, beta: float = 45.0 +) -> tuple[Vec3, Vec3, Vec3, Vec3]: + """Returns 4 vertices for an arrow with a length of the given `size`, and + an enclosing `angle` in degrees and a slanted back side defined by angle + `beta`:: + + **** + **** * + **** * + **** angle X******************** + **** * +beta + **** * + **** + + **** + **** * + **** * + **** angle X*************** + **** * -beta + **** * + **** + + Vertex order: upward end vertex, tip (0, 0), downward end vertex, bottom + vertex `X` (anti clockwise order). + + Bottom vertex `X` is also the connection point to a continuation line. + + Args: + size: length of arrow + angle: enclosing angle in degrees + beta: angle if back side in degrees + + """ + h = math.sin(math.radians(angle / 2.0)) * size + back_step = math.tan(math.radians(beta)) * h + return ( + Vec3(-size, h), + Vec3(0, 0), + Vec3(-size, -h), + Vec3(-size + back_step, 0), + ) + + +def ngon( + count: int, + length: Optional[float] = None, + radius: Optional[float] = None, + rotation: float = 0.0, + elevation: float = 0.0, + close: bool = False, +) -> Iterable[Vec3]: + """Returns the corner vertices of a `regular polygon `_. + The polygon size is determined by the edge `length` or the circum `radius` + argument. If both are given `length` has the higher priority. + + Args: + count: count of polygon corners >= 3 + length: length of polygon side + radius: circum radius + rotation: rotation angle in radians + elevation: z-axis for all vertices + close: yields first vertex also as last vertex if ``True``. + + Returns: + vertices as :class:`~ezdxf.math.Vec3` objects + + """ + if count < 3: + raise ValueError("Argument `count` has to be greater than 2.") + if length is not None: + if length <= 0.0: + raise ValueError("Argument `length` has to be greater than 0.") + radius = length / 2.0 / math.sin(math.pi / count) + elif radius is not None: + if radius <= 0.0: + raise ValueError("Argument `radius` has to be greater than 0.") + else: + raise ValueError("Argument `length` or `radius` required.") + + delta = math.tau / count + angle = rotation + first = None + cos = math.cos + sin = math.sin + for _ in range(count): + v = Vec3(radius * cos(angle), radius * sin(angle), elevation) + if first is None: + first = v + yield v + angle += delta + + if close: + yield first + + +def star( + count: int, + r1: float, + r2: float, + rotation: float = 0.0, + elevation: float = 0.0, + close: bool = False, +) -> Iterable[Vec3]: + """Returns the corner vertices for a `star shape `_. + + The shape has `count` spikes, `r1` defines the radius of the "outer" + vertices and `r2` defines the radius of the "inner" vertices, + but this does not mean that `r1` has to be greater than `r2`. + + Args: + count: spike count >= 3 + r1: radius 1 + r2: radius 2 + rotation: rotation angle in radians + elevation: z-axis for all vertices + close: yields first vertex also as last vertex if ``True``. + + Returns: + vertices as :class:`~ezdxf.math.Vec3` objects + + """ + if count < 3: + raise ValueError("Argument `count` has to be greater than 2.") + if r1 <= 0.0: + raise ValueError("Argument `r1` has to be greater than 0.") + if r2 <= 0.0: + raise ValueError("Argument `r2` has to be greater than 0.") + + corners1 = ngon( + count, radius=r1, rotation=rotation, elevation=elevation, close=False + ) + corners2 = ngon( + count, + radius=r2, + rotation=math.pi / count + rotation, + elevation=elevation, + close=False, + ) + first = None + for s1, s2 in zip(corners1, corners2): + if first is None: + first = s1 + yield s1 + yield s2 + + if close: + yield first + + +class _Gear(IntEnum): + TOP_START = 0 + TOP_END = 1 + BOTTOM_START = 2 + BOTTOM_END = 3 + + +def gear( + count: int, + top_width: float, + bottom_width: float, + height: float, + outside_radius: float, + elevation: float = 0, + close: bool = False, +) -> Iterable[Vec3]: + """Returns the corner vertices of a `gear shape `_ + (cogwheel). + + .. warning:: + + This function does not create correct gears for mechanical engineering! + + Args: + count: teeth count >= 3 + top_width: teeth width at outside radius + bottom_width: teeth width at base radius + height: teeth height; base radius = outside radius - height + outside_radius: outside radius + elevation: z-axis for all vertices + close: yields first vertex also as last vertex if True. + + Returns: + vertices in counter clockwise orientation as :class:`~ezdxf.math.Vec3` + objects + + """ + if count < 3: + raise ValueError("Argument `count` has to be greater than 2.") + if outside_radius <= 0.0: + raise ValueError("Argument `radius` has to be greater than 0.") + if top_width <= 0.0: + raise ValueError("Argument `width` has to be greater than 0.") + if bottom_width <= 0.0: + raise ValueError("Argument `width` has to be greater than 0.") + if height <= 0.0: + raise ValueError("Argument `height` has to be greater than 0.") + if height >= outside_radius: + raise ValueError("Argument `height` has to be smaller than `radius`") + + base_radius = outside_radius - height + alpha_top = math.asin(top_width / 2.0 / outside_radius) # angle at tooth top + alpha_bottom = math.asin(bottom_width / 2.0 / base_radius) # angle at tooth bottom + alpha_difference = ( + alpha_bottom - alpha_top + ) / 2.0 # alpha difference at start and end of tooth + beta = (math.tau - count * alpha_bottom) / count + angle = -alpha_top / 2.0 # center of first tooth is in x-axis direction + state = _Gear.TOP_START + first = None + cos = math.cos + sin = math.sin + for _ in range(4 * count): + if state == _Gear.TOP_START or state == _Gear.TOP_END: + radius = outside_radius + else: + radius = base_radius + v = Vec3(radius * cos(angle), radius * sin(angle), elevation) + + if state == _Gear.TOP_START: + angle += alpha_top + elif state == _Gear.TOP_END: + angle += alpha_difference + elif state == _Gear.BOTTOM_START: + angle += beta + elif state == _Gear.BOTTOM_END: + angle += alpha_difference + + if first is None: + first = v + yield v + + state += 1 # type: ignore + if state > _Gear.BOTTOM_END: + state = _Gear.TOP_START + + if close: + yield first + + +def turtle(commands: str, start=Vec2(0, 0), angle: float = 0) -> Iterator[Vec2]: + """Returns the 2D vertices of a polyline created by turtle-graphic like + commands: + + - ```` - go units forward in current direction and yield vertex + - ``r`` - turn right in degrees, a missing angle is 90 deg + - ``l`` - turn left in degrees, a missing angle is 90 deg + - ``@,`` - go relative , and yield vertex + + The command string ``"10 l 10 l 10"`` returns the 4 corner vertices of a + square with a side length of 10 drawing units. + + Args: + commands: command string, commands are separated by spaces + start: starting point, default is (0, 0) + angle: starting direction, default is 0 deg + + """ + + cursor = start + yield cursor + for cmd in commands.split(" "): + cmd = cmd.strip() + if cmd[0] == "l": + if len(cmd) == 1: + angle += 90 + else: + angle += float(cmd[1:]) + elif cmd[0] == "r": + if len(cmd) == 1: + angle -= 90 + else: + angle -= float(cmd[1:]) + elif cmd[0] == "@": + x, y = cmd[1:].split(",") + cursor += Vec2(float(x), float(y)) + yield cursor + else: + cursor += Vec2.from_deg_angle(angle, float(cmd)) + yield cursor + + +def translate(vertices: Iterable[UVec], vec: UVec = (0, 0, 0)) -> Iterable[Vec3]: + """Translate `vertices` along `vec`, faster than a Matrix44 transformation. + + Args: + vertices: iterable of vertices + vec: translation vector + + Returns: yields transformed vertices + + """ + _vec = Vec3(vec) + for p in vertices: + yield _vec + p + + +def rotate( + vertices: Iterable[UVec], angle: float = 0.0, deg: bool = True +) -> Iterable[Vec3]: + """Rotate `vertices` about to z-axis at to origin (0, 0), faster than a + Matrix44 transformation. + + Args: + vertices: iterable of vertices + angle: rotation angle + deg: True if angle in degrees, False if angle in radians + + Returns: yields transformed vertices + + """ + if deg: + return (Vec3(v).rotate_deg(angle) for v in vertices) + else: + return (Vec3(v).rotate(angle) for v in vertices) + + +def scale(vertices: Iterable[UVec], scaling=(1.0, 1.0, 1.0)) -> Iterable[Vec3]: + """Scale `vertices` around the origin (0, 0), faster than a Matrix44 + transformation. + + Args: + vertices: iterable of vertices + scaling: scale factors as tuple of floats for x-, y- and z-axis + + Returns: yields scaled vertices + + """ + sx, sy, sz = scaling + for v in Vec3.generate(vertices): + yield Vec3(v.x * sx, v.y * sy, v.z * sz) + + +def close_polygon( + vertices: Iterable[Vec3], rel_tol: float = 1e-9, abs_tol: float = 1e-12 +) -> list[Vec3]: + """Returns list of :class:`~ezdxf.math.Vec3`, where the first vertex is + equal to the last vertex. + """ + polygon: list[Vec3] = list(vertices) + if not polygon[0].isclose(polygon[-1], rel_tol=rel_tol, abs_tol=abs_tol): + polygon.append(polygon[0]) + return polygon + + +def helix( + radius: float, + pitch: float, + turns: float, + resolution: int = 16, + ccw=True, +) -> Iterator[Vec3]: + """Yields the vertices of a `helix `_. + The center of the helix is always (0, 0), a positive `pitch` value + creates a helix along the +z-axis, a negative value along the -z-axis. + + Args: + radius: helix radius + pitch: the height of one complete helix turn + turns: count of turns + resolution: vertices per turn + ccw: creates a counter-clockwise turning (right-handed) helix if ``True`` + + """ + step: float = 1.0 / max(resolution, 1) + if not ccw: + step = -step + total_step_count = int(turns / abs(step)) + for index in range(total_step_count + 1): + t = step * index + angle = t * math.tau + x = math.cos(angle) * radius + y = math.sin(angle) * radius + yield Vec3(x, y, abs(t) * pitch) + + +# 8 corner vertices +_cube_vertices = [ + Vec3(0, 0, 0), + Vec3(1, 0, 0), + Vec3(1, 1, 0), + Vec3(0, 1, 0), + Vec3(0, 0, 1), + Vec3(1, 0, 1), + Vec3(1, 1, 1), + Vec3(0, 1, 1), +] + +# 8 corner vertices, 'mass' center in (0, 0, 0) +_cube0_vertices = [ + Vec3(-0.5, -0.5, -0.5), + Vec3(+0.5, -0.5, -0.5), + Vec3(+0.5, +0.5, -0.5), + Vec3(-0.5, +0.5, -0.5), + Vec3(-0.5, -0.5, +0.5), + Vec3(+0.5, -0.5, +0.5), + Vec3(+0.5, +0.5, +0.5), + Vec3(-0.5, +0.5, +0.5), +] + +# 6 cube faces +cube_faces = [ + [0, 3, 2, 1], # bottom, normal = -Z + [1, 2, 6, 5], # right, normal = +X + [3, 7, 6, 2], # back, normal = +Y + [0, 4, 7, 3], # left, normal = -X + [0, 1, 5, 4], # front, normal = -Y + [4, 5, 6, 7], # top, normal = +Z +] + + +def cube(center: bool = True) -> MeshTransformer: + """Create a `cube `_ as + :class:`~ezdxf.render.MeshTransformer` object. + + Args: + center: 'mass' center of cube, ``(0, 0, 0)`` if ``True``, else first + corner at ``(0, 0, 0)`` + + Returns: :class:`~ezdxf.render.MeshTransformer` + + """ + mesh = MeshTransformer() + vertices = _cube0_vertices if center else _cube_vertices + mesh.add_mesh(vertices=vertices, faces=cube_faces) # type: ignore + return mesh + + +def extrude( + profile: Iterable[UVec], path: Iterable[UVec], close=True, caps=False +) -> MeshTransformer: + """Extrude a `profile` polygon along a `path` polyline, the vertices of + `profile` should be in counter-clockwise order. + The sweeping profile will not be rotated at extrusion! + + Args: + profile: sweeping profile as list of (x, y, z) tuples in + counter-clockwise order + path: extrusion path as list of (x, y, z) tuples + close: close profile polygon if ``True`` + caps: close hull with top- and bottom faces (ngons) + + Returns: :class:`~ezdxf.render.MeshTransformer` + + """ + mesh = MeshVertexMerger() + sweeping_profile = Vec3.list(profile) + if close: + sweeping_profile = close_polygon(sweeping_profile) + + extrusion_path = Vec3.list(path) + if caps: + mesh.add_face(reversed(sweeping_profile[:-1])) + start_point = extrusion_path[0] + for target_point in extrusion_path[1:]: + translation_vector = target_point - start_point + target_profile = [vec + translation_vector for vec in sweeping_profile] + for face in _quad_connection_faces(sweeping_profile, target_profile): + mesh.add_face(face) + sweeping_profile = target_profile + start_point = target_point + if caps: + mesh.add_face(sweeping_profile[:-1]) + return MeshTransformer.from_builder(mesh) + + +def _partial_path_factors(path: list[Vec3]) -> list[float]: + partial_lengths = [v1.distance(v2) for v1, v2 in zip(path, path[1:])] + total_length = sum(partial_lengths) + factors = [0.0] + partial_sum = 0.0 + for pl in partial_lengths: + partial_sum += pl + factors.append(partial_sum / total_length) + return factors + + +def _divide_path_into_steps(path: Sequence[Vec3], max_step_size: float) -> list[Vec3]: + new_path: list[Vec3] = [path[0]] + for v0, v1 in zip(path, path[1:]): + segment_vec = v1 - v0 + length = segment_vec.magnitude + if length > max_step_size: + parts = int(math.ceil(length / max_step_size)) + step = segment_vec * (1.0 / parts) + for _ in range(parts - 1): + v0 += step + new_path.append(v0) + new_path.append(v1) + return new_path + + +def extrude_twist_scale( + profile: Iterable[UVec], + path: Iterable[UVec], + *, + twist: float = 0.0, + scale: float = 1.0, + step_size: float = 1.0, + close=True, + caps=False, + quads=True, +) -> MeshTransformer: + """Extrude a `profile` polygon along a `path` polyline, the vertices of + `profile` should be in counter-clockwise order. + This implementation can scale and twist the sweeping profile along the + extrusion path. The `path` segment points are fix points, the + `max_step_size` is used to create intermediate profiles between this + fix points. The `max_step_size` is adapted for each + segment to create equally spaced distances. + The twist angle is the rotation angle in radians and the scale `argument` + defines the scale factor of the final profile. + The twist angle and scaling factor of the intermediate profiles will be + linear interpolated between the start and end values. + + Args: + profile: sweeping profile as list of (x, y, z) tuples in + counter-clockwise order + path: extrusion path as list of (x, y, z) tuples + twist: rotate sweeping profile up to the given end rotation angle in + radians + scale: scale sweeping profile gradually from 1.0 to given value + step_size: rough distance between automatically created intermediate + profiles, the step size is adapted to the distances between the + path segment points, a value od 0.0 disables creating intermediate + profiles + close: close profile polygon if ``True`` + caps: close hull with top- and bottom faces (ngons) + quads: use quads for "sweeping" faces if ``True`` else triangles, + the top and bottom faces are always ngons + + Returns: :class:`~ezdxf.render.MeshTransformer` + + """ + + def matrix(fac: float) -> Matrix44: + current_scale = 1.0 + (scale - 1.0) * fac + current_rotation = twist * fac + translation = target_point - start_point + scale_cos_a = current_scale * math.cos(current_rotation) + scale_sin_a = current_scale * math.sin(current_rotation) + # fmt: off + return Matrix44([ + scale_cos_a, scale_sin_a, 0.0, 0.0, + -scale_sin_a, scale_cos_a, 0.0, 0.0, + 0.0, 0.0, current_scale, 0.0, + translation.x, translation.y, translation.z, 1.0 + ]) + # fmt: on + + mesh = MeshVertexMerger() + sweeping_profile = Vec3.list(profile) + if close: + sweeping_profile = close_polygon(sweeping_profile) + if caps: + mesh.add_face(reversed(sweeping_profile[:-1])) + # create extrusion path with intermediate points + extrusion_path = Vec3.list(path) + if step_size != 0.0: + extrusion_path = _divide_path_into_steps(extrusion_path, step_size) + # create progress factors for each step along the extrusion path + factors = _partial_path_factors(extrusion_path) + start_point = extrusion_path[0] + prev_profile = sweeping_profile + face_generator = _quad_connection_faces if quads else _tri_connection_faces + for target_point, factor in zip(extrusion_path[1:], factors[1:]): + target_profile = list(matrix(factor).transform_vertices(sweeping_profile)) + for face in face_generator(prev_profile, target_profile): + mesh.add_face(face) + prev_profile = target_profile + if caps: + mesh.add_face(prev_profile[:-1]) + return MeshTransformer.from_builder(mesh) + + +def cylinder( + count: int = 16, + radius: float = 1.0, + top_radius: Optional[float] = None, + top_center: UVec = (0, 0, 1), + *, + caps=True, +) -> MeshTransformer: + """Create a `cylinder `_ as + :class:`~ezdxf.render.MeshTransformer` object, the base center is fixed in + the origin (0, 0, 0). + + Args: + count: profiles edge count + radius: radius for bottom profile + top_radius: radius for top profile, if ``None`` top_radius == radius + top_center: location vector for the center of the top profile + caps: close hull with top- and bottom faces (ngons) + + """ + if top_radius is None: + top_radius = radius + + if math.isclose(top_radius, 0.0): # pyramid/cone + return cone(count=count, radius=radius, apex=top_center) + + base_profile = list(circle(count, radius, close=True)) + top_profile = list(translate(circle(count, top_radius, close=True), top_center)) + return from_profiles_linear( + [base_profile, top_profile], + close=False, + quads=True, + caps=caps, + ) + + +def cylinder_2p( + count: int = 16, + radius: float = 1, + base_center: UVec = (0, 0, 0), + top_center: UVec = (0, 0, 1), + *, + caps=True, +) -> MeshTransformer: + """Creates a `cylinder `_ as + :class:`~ezdxf.render.MeshTransformer` object from two points, + `base_center` is the center of the base circle and, `top_center` the center + of the top circle. + + Args: + count: cylinder profile edge count + radius: radius for bottom profile + base_center: center of base circle + top_center: center of top circle + caps: close hull with top- and bottom faces (ngons) + + Raises: + ValueError: the cylinder orientation cannot be detected (base center == top center) + + """ + origin = Vec3(base_center) + heading = Vec3(top_center) - origin + if heading.is_null: + raise ValueError( + "cylinder orientation cannot be detected (base center == top center)" + ) + mesh = cylinder(count, radius, top_center=(0, 0, heading.magnitude), caps=caps) + try: + ucs = UCS(origin=origin, uy=Z_AXIS.cross(heading), uz=heading) + except ZeroDivisionError: + # heading vector is parallel to the z-axis + ucs = UCS(origin=origin, ux=X_AXIS, uz=heading) + mesh.transform(ucs.matrix) + return mesh + + +def from_profiles_linear( + profiles: Sequence[Sequence[Vec3]], + *, + close=True, + quads=True, + caps=False, +) -> MeshTransformer: + """Returns a :class:`~ezdxf.render.MeshTransformer` instance from linear + connected `profiles`. + + Args: + profiles: list of profiles + close: close profile polygon if ``True`` + quads: use quadrilaterals as connection faces if ``True`` else triangles + caps: close hull with top- and bottom faces (ngons) + + """ + mesh = MeshVertexMerger() + if close: + profiles = [close_polygon(p) for p in profiles] + if caps: + mesh.add_face(reversed(profiles[0])) # for correct outside pointing normals + face_generator = _quad_connection_faces if quads else _tri_connection_faces + for p0, p1 in zip(profiles, profiles[1:]): + for face in face_generator(p0, p1): + mesh.add_face(face) + if caps: + mesh.add_face(profiles[-1]) + return MeshTransformer.from_builder(mesh) + + +def spline_interpolation( + vertices: Iterable[UVec], + degree: int = 3, + method: str = "chord", + subdivide: int = 4, +) -> list[Vec3]: + """B-spline interpolation, vertices are fit points for the spline + definition. + + Only method 'uniform', yields vertices at fit points. + + Args: + vertices: fit points + degree: degree of B-spline + method: "uniform", "chord"/"distance", "centripetal"/"sqrt_chord" or + "arc" calculation method for parameter t + subdivide: count of sub vertices + 1, e.g. 4 creates 3 sub-vertices + + Returns: list of vertices + + """ + vertices = list(vertices) + spline = global_bspline_interpolation(vertices, degree=degree, method=method) + return list(spline.approximate(segments=(len(vertices) - 1) * subdivide)) + + +def spline_interpolated_profiles( + profiles: Sequence[Sequence[Vec3]], subdivide: int = 4 +) -> Iterable[list[Vec3]]: + """Profile interpolation by cubic B-spline interpolation. + + Args: + profiles: list of profiles + subdivide: count of interpolated profiles + 1, e.g. 4 creates 3 + sub-profiles between two main profiles (4 face loops) + + Returns: yields profiles as list of vertices + + """ + + if len(set(len(p) for p in profiles)) != 1: + raise ValueError("All profiles have to have the same vertex count") + + vertex_count = len(profiles[0]) + edges = [] # interpolated spline vertices, where profile vertices are fit points + for index in range(vertex_count): + edge_vertices = [p[index] for p in profiles] + edges.append(spline_interpolation(edge_vertices, subdivide=subdivide)) + + profile_count = len(edges[0]) + for profile_index in range(profile_count): + yield [edge[profile_index] for edge in edges] + + +def from_profiles_spline( + profiles: Sequence[Sequence[Vec3]], + subdivide: int = 4, + *, + close=True, + quads=True, + caps=False, +) -> MeshTransformer: + """Returns a :class:`~ezdxf.render.MeshTransformer` instance by spline + interpolation between given `profiles`. + Requires at least 4 profiles. A `subdivide` value of 4, means, create 4 face + loops between two profiles, without interpolation two profiles create one + face loop. + + Args: + profiles: list of profiles + subdivide: count of face loops + close: close profile polygon if ``True`` + quads: use quadrilaterals as connection faces if ``True`` else triangles + caps: close hull with top- and bottom faces (ngons) + + """ + if len(profiles) > 3: + profiles = list(spline_interpolated_profiles(profiles, subdivide)) + else: + raise ValueError("Spline interpolation requires at least 4 profiles") + return from_profiles_linear( + profiles, + close=close, + quads=quads, + caps=caps, + ) + + +def cone( + count: int = 16, + radius: float = 1.0, + apex: UVec = (0, 0, 1), + *, + caps=True, +) -> MeshTransformer: + """Create a `cone `_ as + :class:`~ezdxf.render.MeshTransformer` object, the base center is fixed in + the origin (0, 0, 0). + + Args: + count: edge count of basis_vector + radius: radius of basis_vector + apex: tip of the cone + caps: add a bottom face as ngon if ``True`` + + """ + mesh = MeshVertexMerger() + base_circle = list(circle(count, radius, close=True)) + for p1, p2 in zip(base_circle, base_circle[1:]): + mesh.add_face([p1, p2, apex]) + if caps: + # reversed for correct outside pointing normals + mesh.add_face(reversed(base_circle)) + return MeshTransformer.from_builder(mesh) + + +def cone_2p( + count: int = 16, + radius: float = 1.0, + base_center: UVec = (0, 0, 0), + apex: UVec = (0, 0, 1), + *, + caps=True, +) -> MeshTransformer: + """Create a `cone `_ as + :class:`~ezdxf.render.MeshTransformer` object from two points, `base_center` + is the center of the base circle and `apex` as the tip of the cone. + + Args: + count: edge count of basis_vector + radius: radius of basis_vector + base_center: center point of base circle + apex: tip of the cone + caps: add a bottom face as ngon if ``True`` + + Raises: + ValueError: the cone orientation cannot be detected (base center == apex) + + """ + origin = Vec3(base_center) + heading = Vec3(apex) - origin + if heading.is_null: + raise ValueError( + "the cone orientation cannot be detected (base center == apex)" + ) + + mesh = cone(count, radius, apex=(0, 0, heading.magnitude), caps=caps) + try: + ucs = UCS(origin=origin, uy=Z_AXIS.cross(heading), uz=heading) + except ZeroDivisionError: + # heading vector is parallel to the z-axis + ucs = UCS(origin=origin, ux=X_AXIS, uz=heading) + mesh.transform(ucs.matrix) + return mesh + + +def rotation_form( + count: int, + profile: Iterable[UVec], + angle: float = math.tau, + axis: UVec = (1, 0, 0), + *, + caps=False, +) -> MeshTransformer: + """Returns a :class:`~ezdxf.render.MeshTransformer` instance created by + rotating a `profile` around an `axis`. + + Args: + count: count of rotated profiles + profile: profile to rotate as list of vertices + angle: rotation angle in radians + axis: rotation axis + caps: close hull with start- and end faces (ngons) + + """ + if count < 3: + raise ValueError("count >= 2") + delta = float(angle) / count + m = Matrix44.axis_rotate(Vec3(axis), delta) + profile = [Vec3(p) for p in profile] + profiles = [profile] + for _ in range(int(count)): + profile = list(m.transform_vertices(profile)) + profiles.append(profile) + mesh = from_profiles_linear( + profiles, + close=False, + quads=True, + caps=caps, + ) + return mesh + + +def sphere( + count: int = 16, stacks: int = 8, radius: float = 1, *, quads=True +) -> MeshTransformer: + """Create a `sphere `_ as + :class:`~ezdxf.render.MeshTransformer` object, the center of the sphere is + always at (0, 0, 0). + + Args: + count: longitudinal slices + stacks: latitude slices + radius: radius of sphere + quads: use quadrilaterals as faces if ``True`` else triangles + + """ + radius = float(radius) + slices = int(count) + stacks_2 = int(stacks) // 2 # stacks from -stack/2 to +stack/2 + delta_theta = math.tau / float(slices) + delta_phi = math.pi / float(stacks) + mesh = MeshVertexMerger() + + def radius_of_stack(stack: float) -> float: + return radius * math.cos(delta_phi * stack) + + def vertex(slice_: float, r: float, z: float) -> Vec3: + actual_theta = delta_theta * slice_ + return Vec3(math.cos(actual_theta) * r, math.sin(actual_theta) * r, z) + + def cap_triangles(stack, top=False): + z = math.sin(stack * delta_phi) * radius + cap_vertex = Vec3(0, 0, radius) if top else Vec3(0, 0, -radius) + r1 = radius_of_stack(stack) + for slice_ in range(slices): + v1 = vertex(slice_, r1, z) + v2 = vertex(slice_ + 1, r1, z) + if top: + mesh.add_face((v1, v2, cap_vertex)) + else: + mesh.add_face((cap_vertex, v2, v1)) + + # bottom triangle faces + cap_triangles(-stacks_2 + 1, top=False) + + # add body faces + for actual_stack in range(-stacks_2 + 1, stacks_2 - 1): + next_stack = actual_stack + 1 + r1 = radius_of_stack(actual_stack) + r2 = radius_of_stack(next_stack) + z1 = math.sin(delta_phi * actual_stack) * radius + z2 = math.sin(delta_phi * next_stack) * radius + for i in range(slices): + v1 = vertex(i, r1, z1) + v2 = vertex(i + 1, r1, z1) + v3 = vertex(i + 1, r2, z2) + v4 = vertex(i, r2, z2) + if quads: + mesh.add_face([v1, v2, v3, v4]) + else: + center = vertex( + i + 0.5, + radius_of_stack(actual_stack + 0.5), + math.sin(delta_phi * (actual_stack + 0.5)) * radius, + ) + mesh.add_face([v1, v2, center]) + mesh.add_face([v2, v3, center]) + mesh.add_face([v3, v4, center]) + mesh.add_face([v4, v1, center]) + + # top triangle faces + cap_triangles(stacks_2 - 1, top=True) + + return MeshTransformer.from_builder(mesh) + + +def torus( + major_count: int = 16, + minor_count: int = 8, + major_radius=1.0, + minor_radius=0.1, + start_angle: float = 0.0, + end_angle: float = math.tau, + *, + caps=True, +) -> MeshTransformer: + """Create a `torus `_ as + :class:`~ezdxf.render.MeshTransformer` object, the center of the torus is + always at (0, 0, 0). The `major_radius` has to be bigger than the + `minor_radius`. + + Args: + major_count: count of circles + minor_count: count of circle vertices + major_radius: radius of the circle center + minor_radius: radius of circle + start_angle: start angle of torus in radians + end_angle: end angle of torus in radians + caps: close hull with start- and end faces (ngons) if the torus is open + + """ + if major_count < 1: + raise ValueError(f"major_count < 1") + if minor_count < 3: + raise ValueError(f"minor_count < 3") + major_radius = math.fabs(float(major_radius)) + minor_radius = math.fabs(float(minor_radius)) + if major_radius < 1e-9: + raise ValueError("major_radius is 0") + if minor_radius < 1e-9: + raise ValueError("minor_radius is 0") + if minor_radius >= major_radius: + raise ValueError("minor_radius >= major_radius") + start_angle = float(start_angle) % math.tau + if end_angle != math.tau: + end_angle = float(end_angle) % math.tau + angle_span = arc_angle_span_rad(start_angle, end_angle) + closed_torus = math.isclose(angle_span, math.tau) + step_angle = angle_span / major_count + circle_profile = [ + Vec3(v.x, 0, v.y) + for v in translate( + circle(minor_count, minor_radius, close=True), + Vec3(major_radius, 0, 0), + ) + ] + # required for outwards pointing normals: + circle_profile.reverse() + if start_angle > 1e-9: + circle_profile = [v.rotate(start_angle) for v in circle_profile] + mesh = MeshVertexMerger() + start_profile = circle_profile + end_profile = [v.rotate(step_angle) for v in circle_profile] + + if not closed_torus and caps: # add start cap + mesh.add_face(reversed(start_profile)) + + for _ in range(major_count): + for face in _quad_connection_faces(start_profile, end_profile): + mesh.add_face(face) + start_profile = end_profile + end_profile = [v.rotate(step_angle) for v in end_profile] + + if not closed_torus and caps: # add end cap + # end_profile is rotated to the next profile! + mesh.add_face(start_profile) + + return MeshTransformer.from_builder(mesh) + + +def connection_faces( + start_profile: list[Vec3], end_profile: list[Vec3], quad: bool +) -> Iterator[Sequence[Vec3]]: + assert len(start_profile) == len(end_profile), "profiles differ in vertex count" + if quad: + yield from _quad_connection_faces(start_profile, end_profile) + else: + yield from _tri_connection_faces(start_profile, end_profile) + + +def _quad_connection_faces( + start_profile: Sequence[Vec3], end_profile: Sequence[Vec3] +) -> Iterator[Sequence[Vec3]]: + v0_prev = start_profile[0] + v1_prev = end_profile[0] + for v0, v1 in zip(start_profile[1:], end_profile[1:]): + yield v0_prev, v0, v1, v1_prev + v0_prev = v0 + v1_prev = v1 + + +def _tri_connection_faces( + start_profile: Sequence[Vec3], end_profile: Sequence[Vec3] +) -> Iterator[Sequence[Vec3]]: + v0_prev = start_profile[0] + v1_prev = end_profile[0] + for v0, v1 in zip(start_profile[1:], end_profile[1:]): + yield v1, v1_prev, v0_prev, + yield v0_prev, v0, v1 + v0_prev = v0 + v1_prev = v1 + + +def reference_frame_z(heading: Vec3, origin: Vec3 = NULLVEC) -> UCS: + """Returns a reference frame as UCS from the given heading and the + WCS z-axis as reference "up" direction. + The z-axis of the reference frame is pointing in heading direction, the + x-axis is pointing right and the y-axis is pointing upwards. + + The reference frame is used to project vertices in xy-plane + (construction plane) onto the normal plane of the given heading. + + Use the :func:`reference_frame_ext` if heading is parallel to the WCS + Z_AXIS. + + Args: + heading: WCS direction of the reference frame z-axis + origin: new UCS origin + + Raises: + ZeroDivisionError: heading is parallel to WCS Z_AXIS + + """ + return UCS(uy=Z_AXIS.cross(heading), uz=heading, origin=origin) + + +def reference_frame_ext(frame: UCS, origin: Vec3 = NULLVEC) -> UCS: + """Reference frame calculation if heading vector is parallel to the WCS + Z_AXIS. + + Args: + frame: previous reference frame + origin: new UCS origin + + """ + try: # preserve x-axis + return UCS(uy=Z_AXIS.cross(frame.ux), uz=Z_AXIS, origin=origin) + except ZeroDivisionError: # preserve y-axis + return UCS(ux=frame.uy.cross(Z_AXIS), uz=Z_AXIS, origin=origin) + + +def _intersect_rays( + prev_rays: Sequence[Sequence[Vec3]], next_rays: Sequence[Sequence[Vec3]] +) -> Iterator[Vec3]: + for ray1, ray2 in zip(prev_rays, next_rays): + ip = intersection_ray_ray_3d(ray1, ray2) + count = len(ip) + if count == 1: # exact intersection + yield ip[0] + elif count == 2: # imprecise intersection + yield ip[0].lerp(ip[1]) + else: # parallel rays + yield ray1[-1].lerp(ray2[0]) + + +def _intersection_profiles( + start_profiles: Sequence[Sequence[Vec3]], + end_profiles: Sequence[Sequence[Vec3]], +) -> list[Sequence[Vec3]]: + profiles: list[Sequence[Vec3]] = [start_profiles[0]] + rays = [ + [(v0, v1) for v0, v1 in zip(p0, p1)] + for p0, p1 in zip(start_profiles, end_profiles) + ] + for prev_rays, next_rays in zip(rays, rays[1:]): + profiles.append(list(_intersect_rays(prev_rays, next_rays))) + profiles.append(end_profiles[-1]) + return profiles + + +def make_next_reference_frame(frame: UCS, heading: Vec3, origin: Vec3) -> UCS: + """Returns the following reference frame next to the current reference + `frame`. + + Args: + frame: the current reference frame + heading: z-axis direction of the following frame in WCS + origin: origin of the following reference frame + + """ + try: + next_frame = reference_frame_z(heading, origin) + # reverse y-axis if the next frame y-axis has opposite orientation to + # the previous frame y-axis: + if next_frame.uy.dot(frame.uy) < 0: + next_frame = UCS(origin=origin, uz=next_frame.uz, uy=-next_frame.uy) + return next_frame + except ZeroDivisionError: + # heading vector is parallel to the Z_AXIS + return reference_frame_ext(frame, origin) + + +def _make_sweep_start_and_end_profiles( + profile: Iterable[UVec], + sweeping_path: Iterable[UVec], + next_ref_frame: Callable[[UCS, Vec3, Vec3], UCS], +) -> tuple[list[list[Vec3]], list[list[Vec3]]]: + spath = Vec3.list(sweeping_path) + reference_profile = Vec3.list(profile) + start_profiles = [] + end_profiles = [] + ref_frame = UCS() + for origin, target in zip(spath, spath[1:]): + heading = target - origin + ref_frame = next_ref_frame(ref_frame, heading, origin) + start_profile = list(ref_frame.points_to_wcs(reference_profile)) + start_profiles.append(start_profile) + end_profiles.append([v + heading for v in start_profile]) + return start_profiles, end_profiles + + +def sweep_profile( + profile: Iterable[UVec], + sweeping_path: Iterable[UVec], +) -> list[Sequence[Vec3]]: + """Returns the intermediate profiles of sweeping a profile along a 3D path + where the sweeping path defines the final location in the `WCS`. + + The profile is defined in a reference system. The origin of this reference + system will be moved along the sweeping path where the z-axis of the + reference system is pointing into the moving direction. + + Returns the start-, end- and all intermediate profiles along the sweeping + path. + + """ + return _intersection_profiles( + *_make_sweep_start_and_end_profiles( + profile, sweeping_path, make_next_reference_frame + ) + ) + + +def debug_sweep_profiles( + profile: Iterable[UVec], + sweeping_path: Iterable[UVec], + close=True, +) -> list[Sequence[Vec3]]: + if close: + profile = close_polygon(profile) + profiles: list[Sequence[Vec3]] = [] + for sp, ep in zip( + *_make_sweep_start_and_end_profiles( + profile, sweeping_path, make_next_reference_frame + ) + ): + profiles.append(sp) + profiles.append(ep) + return profiles + + +def sweep( + profile: Iterable[UVec], + sweeping_path: Iterable[UVec], + *, + close=True, + quads=True, + caps=True, +) -> MeshTransformer: + """Returns the mesh from sweeping a profile along a 3D path, where the + sweeping path defines the final location in the `WCS`. + + The profile is defined in a reference system. The origin of this reference + system will be moved along the sweeping path where the z-axis of the + reference system is pointing into the moving direction. + + Returns the mesh as :class:`ezdxf.render.MeshTransformer` object. + + Args: + profile: sweeping profile defined in the reference system as + iterable of (x, y, z) coordinates in counter-clockwise order + sweeping_path: the sweeping path defined in the WCS as iterable of + (x, y, z) coordinates + close: close sweeping profile if ``True`` + quads: use quadrilaterals as connection faces if ``True`` else triangles + caps: close hull with top- and bottom faces (ngons) + + """ + profiles = sweep_profile(profile, sweeping_path) + return from_profiles_linear( + profiles, + close=close, + quads=quads, + caps=caps, + ) diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/render/hatching.py b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/render/hatching.py new file mode 100644 index 0000000000000000000000000000000000000000..733c96f10a17323f58685c3738c8ae4c5ab473db --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/render/hatching.py @@ -0,0 +1,700 @@ +# Copyright (c) 2022-2023, Manfred Moitzi +# License: MIT License +from __future__ import annotations +from typing import ( + Iterator, + Sequence, + TYPE_CHECKING, + Callable, + Any, + Union, + Optional, + Tuple, +) +from typing_extensions import TypeAlias +from collections import defaultdict +import enum +import math +import dataclasses +import random +from ezdxf.math import ( + Vec2, + Vec3, + Bezier3P, + Bezier4P, + intersection_ray_cubic_bezier_2d, + quadratic_to_cubic_bezier, +) +from ezdxf import const +from ezdxf.path import Path, LineTo, MoveTo, Curve3To, Curve4To + +if TYPE_CHECKING: + from ezdxf.entities.polygon import DXFPolygon + +MIN_HATCH_LINE_DISTANCE = 1e-4 # ??? what's a good choice +NONE_VEC2 = Vec2(math.nan, math.nan) +KEY_NDIGITS = 4 +SORT_NDIGITS = 10 + + +class IntersectionType(enum.IntEnum): + NONE = 0 + REGULAR = 1 + START = 2 + END = 3 + COLLINEAR = 4 + + +class HatchingError(Exception): + """Base exception class of the :mod:`hatching` module.""" + + pass + + +class HatchLineDirectionError(HatchingError): + """Hatching direction is undefined or a (0, 0) vector.""" + + pass + + +class DenseHatchingLinesError(HatchingError): + """Very small hatching distance which creates too many hatching lines.""" + + pass + + +@dataclasses.dataclass(frozen=True) +class Line: + start: Vec2 + end: Vec2 + distance: float # normal distance to the hatch baseline + + +@dataclasses.dataclass(frozen=True) +class Intersection: + """Represents an intersection.""" + + type: IntersectionType = IntersectionType.NONE + p0: Vec2 = NONE_VEC2 + p1: Vec2 = NONE_VEC2 + + +def side_of_line(distance: float, abs_tol=1e-12) -> int: + if abs(distance) < abs_tol: + return 0 + if distance > 0.0: + return +1 + return -1 + + +@dataclasses.dataclass(frozen=True) +class HatchLine: + """Represents a single hatch line. + + Args: + origin: the origin of the hatch line as :class:`~ezdxf.math.Vec2` instance + direction: the hatch line direction as :class:`~ezdxf.math.Vec2` instance, must not (0, 0) + distance: the normal distance to the base hatch line as float + + """ + + origin: Vec2 + direction: Vec2 + distance: float + + def intersect_line( + self, + a: Vec2, + b: Vec2, + dist_a: float, + dist_b: float, + ) -> Intersection: + """Returns the :class:`Intersection` of this hatch line and the line + defined by the points `a` and `b`. + The arguments `dist_a` and `dist_b` are the signed normal distances of + the points `a` and `b` from the hatch baseline. + The normal distances from the baseline are easy to calculate by the + :meth:`HatchBaseLine.signed_distance` method and allow a fast + intersection calculation by a simple point interpolation. + + Args: + a: start point of the line as :class:`~ezdxf.math.Vec2` instance + b: end point of the line as :class:`~ezdxf.math.Vec2` instance + dist_a: normal distance of point `a` to the hatch baseline as float + dist_b: normal distance of point `b` to the hatch baseline as float + + """ + # all distances are normal distances to the hatch baseline + line_distance = self.distance + side_a = side_of_line(dist_a - line_distance) + side_b = side_of_line(dist_b - line_distance) + if side_a == 0: + if side_b == 0: + return Intersection(IntersectionType.COLLINEAR, a, b) + else: + return Intersection(IntersectionType.START, a) + elif side_b == 0: + return Intersection(IntersectionType.END, b) + elif side_a != side_b: + factor = abs((dist_a - line_distance) / (dist_a - dist_b)) + return Intersection(IntersectionType.REGULAR, a.lerp(b, factor)) + return Intersection() # no intersection + + def intersect_cubic_bezier_curve(self, curve: Bezier4P) -> Sequence[Intersection]: + """Returns 0 to 3 :class:`Intersection` points of this hatch line with + a cubic Bèzier curve. + + Args: + curve: the cubic Bèzier curve as :class:`ezdxf.math.Bezier4P` instance + + """ + return [ + Intersection(IntersectionType.REGULAR, p, NONE_VEC2) + for p in intersection_ray_cubic_bezier_2d( + self.origin, self.origin + self.direction, curve + ) + ] + + +class PatternRenderer: + """ + The hatch pattern of a DXF entity has one or more :class:`HatchBaseLine` + instances with an origin, direction, offset and line pattern. + The :class:`PatternRenderer` for a certain distance from the + baseline has to be acquired from the :class:`HatchBaseLine` by the + :meth:`~HatchBaseLine.pattern_renderer` method. + + The origin of the hatch line is the starting point of the line + pattern. The offset defines the origin of the adjacent + hatch line and doesn't have to be orthogonal to the hatch line direction. + + **Line Pattern** + + The line pattern is a sequence of floats, where a value > 0.0 is a dash, a + value < 0.0 is a gap and value of 0.0 is a point. + + Args: + hatch_line: :class:`HatchLine` + pattern: the line pattern as sequence of float values + + """ + + def __init__(self, hatch_line: HatchLine, pattern: Sequence[float]): + self.origin = hatch_line.origin + self.direction = hatch_line.direction + self.pattern = pattern + self.pattern_length = math.fsum([abs(e) for e in pattern]) + + def sequence_origin(self, index: float) -> Vec2: + return self.origin + self.direction * (self.pattern_length * index) + + def render(self, start: Vec2, end: Vec2) -> Iterator[tuple[Vec2, Vec2]]: + """Yields the pattern lines as pairs of :class:`~ezdxf.math.Vec2` + instances from the start- to the end point on the hatch line. + For points the start- and end point are the same :class:`~ezdxf.math.Vec2` + instance and can be tested by the ``is`` operator. + + The start- and end points should be located collinear at the hatch line + of this instance, otherwise the points a projected onto this hatch line. + + """ + if start.isclose(end): + return + length = self.pattern_length + if length < 1e-9: + yield start, end + return + + direction = self.direction + if direction.dot(end - start) < 0.0: + # Line direction is reversed to the pattern line direction! + start, end = end, start + origin = self.origin + s_dist = direction.dot(start - origin) + e_dist = direction.dot(end - origin) + s_index, s_offset = divmod(s_dist, length) + e_index, e_offset = divmod(e_dist, length) + + if s_index == e_index: + yield from self.render_offset_to_offset(s_index, s_offset, e_offset) + return + # line crosses pattern border + if s_offset > 0.0: + yield from self.render_offset_to_offset( + s_index, + s_offset, + length, + ) + s_index += 1 + + while s_index < e_index: + yield from self.render_full_pattern(s_index) + s_index += 1 + + if e_offset > 0.0: + yield from self.render_offset_to_offset( + s_index, + 0.0, + e_offset, + ) + + def render_full_pattern(self, index: float) -> Iterator[tuple[Vec2, Vec2]]: + # fast pattern rendering + direction = self.direction + start_point = self.sequence_origin(index) + for dash in self.pattern: + if dash == 0.0: + yield start_point, start_point + else: + end_point = start_point + direction * abs(dash) + if dash > 0.0: + yield start_point, end_point + start_point = end_point + + def render_offset_to_offset( + self, index: float, s_offset: float, e_offset: float + ) -> Iterator[tuple[Vec2, Vec2]]: + direction = self.direction + origin = self.sequence_origin(index) + start_point = origin + direction * s_offset + distance = 0.0 + for dash in self.pattern: + distance += abs(dash) + if distance < s_offset: + continue + if dash == 0.0: + yield start_point, start_point + else: + end_point = origin + direction * min(distance, e_offset) + if dash > 0.0: + yield start_point, end_point + if distance >= e_offset: + return + start_point = end_point + + +class HatchBaseLine: + """A hatch baseline defines the source line for hatching a geometry. + A complete hatch pattern of a DXF entity can consist of one or more hatch + baselines. + + Args: + origin: the origin of the hatch line as :class:`~ezdxf.math.Vec2` instance + direction: the hatch line direction as :class:`~ezdxf.math.Vec2` instance, must not (0, 0) + offset: the offset of the hatch line origin to the next or to the previous hatch line + line_pattern: line pattern as sequence of floats, see also :class:`PatternRenderer` + min_hatch_line_distance: minimum hatch line distance to render, raises an + :class:`DenseHatchingLinesError` exception if the distance between hatch + lines is smaller than this value + + Raises: + HatchLineDirectionError: hatch baseline has no direction, (0, 0) vector + DenseHatchingLinesError: hatching lines are too narrow + + """ + + def __init__( + self, + origin: Vec2, + direction: Vec2, + offset: Vec2, + line_pattern: Optional[list[float]] = None, + min_hatch_line_distance=MIN_HATCH_LINE_DISTANCE, + ): + self.origin = origin + try: + self.direction = direction.normalize() + except ZeroDivisionError: + raise HatchLineDirectionError("hatch baseline has no direction") + self.offset = offset + self.normal_distance: float = (-offset).det(self.direction - offset) + if abs(self.normal_distance) < min_hatch_line_distance: + raise DenseHatchingLinesError("hatching lines are too narrow") + self._end = self.origin + self.direction + self.line_pattern: list[float] = line_pattern if line_pattern else [] + + def __repr__(self): + return ( + f"{self.__class__.__name__}(origin={self.origin!r}, " + f"direction={self.direction!r}, offset={self.offset!r})" + ) + + def hatch_line(self, distance: float) -> HatchLine: + """Returns the :class:`HatchLine` at the given signed `distance`.""" + factor = distance / self.normal_distance + return HatchLine(self.origin + self.offset * factor, self.direction, distance) + + def signed_distance(self, point: Vec2) -> float: + """Returns the signed normal distance of the given `point` from this + hatch baseline. + """ + # denominator (_end - origin).magnitude is 1.0 !!! + return (self.origin - point).det(self._end - point) + + def pattern_renderer(self, distance: float) -> PatternRenderer: + """Returns the :class:`PatternRenderer` for the given signed `distance`.""" + return PatternRenderer(self.hatch_line(distance), self.line_pattern) + + +def hatch_line_distances( + point_distances: Sequence[float], normal_distance: float +) -> list[float]: + """Returns all hatch line distances in the range of the given point + distances. + """ + assert normal_distance != 0.0 + normal_factors = [d / normal_distance for d in point_distances] + max_line_number = int(math.ceil(max(normal_factors))) + min_line_number = int(math.ceil(min(normal_factors))) + return [normal_distance * num for num in range(min_line_number, max_line_number)] + + +def intersect_polygon( + baseline: HatchBaseLine, polygon: Sequence[Vec2] +) -> Iterator[tuple[Intersection, float]]: + """Yields all intersection points of the hatch defined by the `baseline` and + the given `polygon`. + + Returns the intersection point and the normal-distance from the baseline, + intersection points with the same normal-distance lay on the same hatch + line. + + """ + count = len(polygon) + if count < 3: + return + if polygon[0].isclose(polygon[-1]): + count -= 1 + if count < 3: + return + + prev_point = polygon[count - 1] # last point + dist_prev = baseline.signed_distance(prev_point) + for index in range(count): + point = polygon[index] + dist_point = baseline.signed_distance(point) + for hatch_line_distance in hatch_line_distances( + (dist_prev, dist_point), baseline.normal_distance + ): + hatch_line = baseline.hatch_line(hatch_line_distance) + ip = hatch_line.intersect_line( + prev_point, + point, + dist_prev, + dist_point, + ) + if ( + ip.type != IntersectionType.NONE + and ip.type != IntersectionType.COLLINEAR + ): + yield ip, hatch_line_distance + + prev_point = point + dist_prev = dist_point + + +def hatch_polygons( + baseline: HatchBaseLine, + polygons: Sequence[Sequence[Vec2]], + terminate: Optional[Callable[[], bool]] = None, +) -> Iterator[Line]: + """Yields all pattern lines for all hatch lines generated by the given + :class:`HatchBaseLine`, intersecting the given 2D polygons as :class:`Line` + instances. + The `polygons` should represent a single entity with or without holes, the + order of the polygons and their winding orientation (cw or ccw) is not + important. Entities which do not intersect or overlap should be handled + separately! + + Each polygon is a sequence of :class:`~ezdxf.math.Vec2` instances, they are + treated as closed polygons even if the last vertex is not equal to the + first vertex. + + The hole detection is done by a simple inside/outside counting algorithm and + far from perfect, but is able to handle ordinary polygons well. + + The terminate function WILL BE CALLED PERIODICALLY AND should return + ``True`` to terminate execution. This can be used to implement a timeout, + which can be required if using a very small hatching distance, especially + if you get the data from untrusted sources. + + Args: + baseline: :class:`HatchBaseLine` + polygons: multiple sequences of :class:`~ezdxf.path.Vec2` instances of + a single entity, the order of exterior- and hole paths and the + winding orientation (cw or ccw) of paths is not important + terminate: callback function which is called periodically and should + return ``True`` to terminate the hatching function + + """ + yield from _hatch_geometry(baseline, polygons, intersect_polygon, terminate) + + +def intersect_path( + baseline: HatchBaseLine, path: Path +) -> Iterator[tuple[Intersection, float]]: + """Yields all intersection points of the hatch defined by the `baseline` and + the given single `path`. + + Returns the intersection point and the normal-distance from the baseline, + intersection points with the same normal-distance lay on the same hatch + line. + + """ + for path_element in _path_elements(path): + if isinstance(path_element, Bezier4P): + distances = [ + baseline.signed_distance(p) for p in path_element.control_points + ] + for hatch_line_distance in hatch_line_distances( + distances, baseline.normal_distance + ): + hatch_line = baseline.hatch_line(hatch_line_distance) + for ip in hatch_line.intersect_cubic_bezier_curve(path_element): + yield ip, hatch_line_distance + else: # line + a, b = Vec2.generate(path_element) + dist_a = baseline.signed_distance(a) + dist_b = baseline.signed_distance(b) + for hatch_line_distance in hatch_line_distances( + (dist_a, dist_b), baseline.normal_distance + ): + hatch_line = baseline.hatch_line(hatch_line_distance) + ip = hatch_line.intersect_line(a, b, dist_a, dist_b) + if ( + ip.type != IntersectionType.NONE + and ip.type != IntersectionType.COLLINEAR + ): + yield ip, hatch_line_distance + + +def _path_elements(path: Path) -> Union[Bezier4P, tuple[Vec2, Vec2]]: + if len(path) == 0: + return + start = path.start + path_start = start + for command in path.commands(): + end = command.end + if isinstance(command, MoveTo): + if not path_start.isclose(start): + yield start, path_start # close sub-path + path_start = end + elif isinstance(command, LineTo) and not start.isclose(end): + yield start, end + elif isinstance(command, Curve4To): + yield Bezier4P((start, command.ctrl1, command.ctrl2, end)) + elif isinstance(command, Curve3To): + curve3 = Bezier3P((start, command.ctrl, end)) + yield quadratic_to_cubic_bezier(curve3) + start = end + + if not path_start.isclose(start): # close path + yield start, path_start + + +def hatch_paths( + baseline: HatchBaseLine, + paths: Sequence[Path], + terminate: Optional[Callable[[], bool]] = None, +) -> Iterator[Line]: + """Yields all pattern lines for all hatch lines generated by the given + :class:`HatchBaseLine`, intersecting the given 2D :class:`~ezdxf.path.Path` + instances as :class:`Line` instances. The paths are handled as projected + into the xy-plane the z-axis of path vertices will be ignored if present. + + Same as the :func:`hatch_polygons` function, but for :class:`~ezdxf.path.Path` + instances instead of polygons build of vertices. This function **does not + flatten** the paths into vertices, instead the real intersections of the + Bézier curves and the hatch lines are calculated. + + For more information see the docs of the :func:`hatch_polygons` function. + + Args: + baseline: :class:`HatchBaseLine` + paths: sequence of :class:`~ezdxf.path.Path` instances of a single + entity, the order of exterior- and hole paths and the winding + orientation (cw or ccw) of the paths is not important + terminate: callback function which is called periodically and should + return ``True`` to terminate the hatching function + + """ + yield from _hatch_geometry(baseline, paths, intersect_path, terminate) + + +IFuncType: TypeAlias = Callable[ + [HatchBaseLine, Any], Iterator[Tuple[Intersection, float]] +] + + +def _hatch_geometry( + baseline: HatchBaseLine, + geometries: Sequence[Any], + intersection_func: IFuncType, + terminate: Optional[Callable[[], bool]] = None, +) -> Iterator[Line]: + """Returns all pattern lines intersecting the given geometries. + + The intersection_func() should yield all intersection points between a + HatchBaseLine() and as given geometry. + + The terminate function should return ``True`` to terminate execution + otherwise ``False``. Can be used to implement a timeout. + + """ + points: dict[float, list[Intersection]] = defaultdict(list) + for geometry in geometries: + if terminate and terminate(): + return + for ip, distance in intersection_func(baseline, geometry): + assert ip.type != IntersectionType.NONE + points[round(distance, KEY_NDIGITS)].append(ip) + + for distance, vertices in points.items(): + if terminate and terminate(): + return + start = NONE_VEC2 + end = NONE_VEC2 + for line in _line_segments(vertices, distance): + if start is NONE_VEC2: + start = line.start + end = line.end + continue + if line.start.isclose(end): + end = line.end + else: + yield Line(start, end, distance) + start = line.start + end = line.end + + if start is not NONE_VEC2: + yield Line(start, end, distance) + + +def _line_segments(vertices: list[Intersection], distance: float) -> Iterator[Line]: + if len(vertices) < 2: + return + vertices.sort(key=lambda p: p.p0.round(SORT_NDIGITS)) + inside = False + prev_point = NONE_VEC2 + for ip in vertices: + if ip.type == IntersectionType.NONE or ip.type == IntersectionType.COLLINEAR: + continue + # REGULAR, START, END + point = ip.p0 + if prev_point is NONE_VEC2: + inside = True + prev_point = point + continue + if inside: + yield Line(prev_point, point, distance) + + inside = not inside + prev_point = point + + +def hatch_entity( + polygon: DXFPolygon, + filter_text_boxes=True, + jiggle_origin: bool = True, +) -> Iterator[tuple[Vec3, Vec3]]: + """Yields the hatch pattern of the given HATCH or MPOLYGON entity as 3D lines. + Each line is a pair of :class:`~ezdxf.math.Vec3` instances as start- and end + vertex, points are represented as lines of zero length, which means the + start vertex is equal to the end vertex. + + The function yields nothing if `polygon` has a solid- or gradient filling + or does not have a usable pattern assigned. + + Args: + polygon: :class:`~ezdxf.entities.Hatch` or :class:`~ezdxf.entities.MPolygon` + entity + filter_text_boxes: ignore text boxes if ``True`` + jiggle_origin: move pattern line origins a small amount to avoid intersections + in corner points which causes errors in patterns + + """ + if polygon.pattern is None or polygon.dxf.solid_fill: + return + if len(polygon.pattern.lines) == 0: + return + ocs = polygon.ocs() + elevation = polygon.dxf.elevation.z + paths = hatch_boundary_paths(polygon, filter_text_boxes) + # todo: MPOLYGON offset + # All paths in OCS! + for baseline in pattern_baselines(polygon, jiggle_origin=jiggle_origin): + for line in hatch_paths(baseline, paths): + line_pattern = baseline.pattern_renderer(line.distance) + for s, e in line_pattern.render(line.start, line.end): + if ocs.transform: + yield ocs.to_wcs((s.x, s.y, elevation)), ocs.to_wcs( + (e.x, e.y, elevation) + ) + yield Vec3(s), Vec3(e) + + +def hatch_boundary_paths(polygon: DXFPolygon, filter_text_boxes=True) -> list[Path]: + """Returns the hatch boundary paths as :class:`ezdxf.path.Path` instances + of HATCH and MPOLYGON entities. Ignores text boxes if argument + `filter_text_boxes` is ``True``. + """ + from ezdxf.path import from_hatch_boundary_path + + loops = [] + for boundary in polygon.paths.rendering_paths(polygon.dxf.hatch_style): + if filter_text_boxes and boundary.path_type_flags & const.BOUNDARY_PATH_TEXTBOX: + continue + path = from_hatch_boundary_path(boundary) + for sub_path in path.sub_paths(): + if len(sub_path): + sub_path.close() + loops.append(sub_path) + return loops + + +def _jiggle_factor(): + # range 0.0003 .. 0.0010 + return random.random() * 0.0007 + 0.0003 + + +def pattern_baselines( + polygon: DXFPolygon, + min_hatch_line_distance: float = MIN_HATCH_LINE_DISTANCE, + *, + jiggle_origin: bool = False, +) -> Iterator[HatchBaseLine]: + """Yields the hatch pattern baselines of HATCH and MPOLYGON entities as + :class:`HatchBaseLine` instances. Set `jiggle_origin` to ``True`` to move pattern + line origins a small amount to avoid intersections in corner points which causes + errors in patterns. + + """ + pattern = polygon.pattern + if not pattern: + return + # The hatch pattern parameters are already scaled and rotated for direct + # usage! + # The stored scale and angle is just for reconstructing the base pattern + # when applying a new scaling or rotation. + + jiggle_offset = Vec2() + if jiggle_origin: + # move origin of base pattern lines a small amount to avoid intersections with + # boundary corner points + offsets: list[float] = [line.offset.magnitude for line in pattern.lines] + if len(offsets): + # calculate the same random jiggle offset for all pattern base lines + mean = sum(offsets) / len(offsets) + x = _jiggle_factor() * mean + y = _jiggle_factor() * mean + jiggle_offset = Vec2(x, y) + + for line in pattern.lines: + direction = Vec2.from_deg_angle(line.angle) + yield HatchBaseLine( + origin=line.base_point + jiggle_offset, + direction=direction, + offset=line.offset, + line_pattern=line.dash_length_items, + min_hatch_line_distance=min_hatch_line_distance, + ) diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/render/leader.py b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/render/leader.py new file mode 100644 index 0000000000000000000000000000000000000000..0bc9a9a8e756319de1dae5a63882e5e9dcff0404 --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/render/leader.py @@ -0,0 +1,126 @@ +# Copyright (c) 2020-2023, Manfred Moitzi +# License: MIT License +from __future__ import annotations +from typing import TYPE_CHECKING, Iterator, cast + +from ezdxf import ARROWS +from ezdxf.entities import factory +from ezdxf.lldxf.const import BYBLOCK +from ezdxf.math import Vec3, fit_points_to_cad_cv + +if TYPE_CHECKING: + from ezdxf.entities import DXFGraphic, Leader, Insert, Spline, Dimension, Line + + +def virtual_entities(leader: Leader) -> Iterator[DXFGraphic]: + # Source: https://atlight.github.io/formats/dxf-leader.html + # GDAL: DXF LEADER implementation: + # https://github.com/OSGeo/gdal/blob/master/gdal/ogr/ogrsf_frmts/dxf/ogrdxf_leader.cpp + # LEADER DXF Reference: + # http://help.autodesk.com/view/OARX/2018/ENU/?guid=GUID-396B2369-F89F-47D7-8223-8B7FB794F9F3 + assert leader.dxftype() == "LEADER" + + vertices = Vec3.list(leader.vertices) # WCS + if len(vertices) < 2: + # This LEADER entities should be removed by the auditor if loaded or + # ignored at exporting, if created by an ezdxf-user (log). + raise ValueError("More than 1 vertex required.") + dxf = leader.dxf + doc = leader.doc + + # Some default values depend on the measurement system + # 0/1 = imperial/metric + if doc: + measurement = doc.header.get("$MEASUREMENT", 0) + else: + measurement = 0 + + # Set default styling attributes values: + dimtad = 1 + dimgap = 0.625 if measurement else 0.0625 + dimscale = 1.0 + dimclrd = dxf.color + dimltype = dxf.linetype + dimlwd = dxf.lineweight + override = None + + if doc: + # get styling attributes from associated DIMSTYLE and/or XDATA override + override = leader.override() + dimtad = override.get("dimtad", dimtad) + dimgap = override.get("dimgap", dimgap) + dimscale = override.get("dimscale", dimscale) + if dimscale == 0.0: # special but unknown meaning + dimscale = 1.0 + dimclrd = override.get("dimclrd", dimclrd) + dimltype = override.get("dimltype", dimltype) + dimlwd = override.get("dimlwd", dimlwd) + + text_width = dxf.text_width + hook_line_vector = Vec3(dxf.horizontal_direction) + has_text_annotation = dxf.annotation_type == 0 + + if has_text_annotation and dxf.has_hookline: + if dxf.hookline_direction == 1: + hook_line_vector = -hook_line_vector + if dimtad != 0 and text_width > 0: + hook_line = hook_line_vector * (dimgap * dimscale + text_width) + vertices.append(vertices[-1] + hook_line) + + dxfattribs = leader.graphic_properties() + dxfattribs["color"] = dimclrd + dxfattribs["linetype"] = dimltype + dxfattribs["lineweight"] = dimlwd + + if dxfattribs.get("color") == BYBLOCK: + dxfattribs["color"] = dxf.block_color + + if dxf.path_type == 1: # Spline + start_tangent = vertices[1] - vertices[0] + end_tangent = vertices[-1] - vertices[-2] + bspline = fit_points_to_cad_cv(vertices, tangents=[start_tangent, end_tangent]) + spline = cast("Spline", factory.new("SPLINE", doc=doc)) + spline.apply_construction_tool(bspline) + yield spline + else: + attribs = dict(dxfattribs) + prev = vertices[0] + for vertex in vertices[1:]: + attribs["start"] = prev + attribs["end"] = vertex + yield cast( + "Line", + factory.new(dxftype="LINE", dxfattribs=attribs, doc=doc), + ) + prev = vertex + + if dxf.has_arrowhead and override: + arrow_name = override.get("dimldrblk", "") + if arrow_name is None: + return + size = override.get("dimasz", 2.5 if measurement else 0.1875) * dimscale + rotation = (vertices[0] - vertices[1]).angle_deg + if doc and arrow_name in doc.blocks: + dxfattribs.update( + { + "name": arrow_name, + "insert": vertices[0], + "rotation": rotation, + "xscale": size, + "yscale": size, + "zscale": size, + } + ) + # create a virtual block reference + insert = cast( + "Insert", factory.new("INSERT", dxfattribs=dxfattribs, doc=doc) + ) + yield from insert.virtual_entities() + else: # render standard arrows + yield from ARROWS.virtual_entities( + name=arrow_name, + insert=vertices[0], + size=size, + rotation=rotation, + dxfattribs=dxfattribs, + ) diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/render/linetypes.py b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/render/linetypes.py new file mode 100644 index 0000000000000000000000000000000000000000..de6a80a9abd29264bad4339d747027b9eafd0587 --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/render/linetypes.py @@ -0,0 +1,21 @@ +# Copyright (c) 2020-2022, Manfred Moitzi +# License: MIT License +from typing import Iterable, Iterator +import ezdxf +from ezdxf.math import UVec +from ._linetypes import _LineTypeRenderer, LineSegment + +if ezdxf.options.use_c_ext: + try: + from ezdxf.acc.linetypes import _LineTypeRenderer # type: ignore + except ImportError: + pass + + +class LineTypeRenderer(_LineTypeRenderer): + def line_segments(self, vertices: Iterable[UVec]) -> Iterator[LineSegment]: + last = None + for vertex in vertices: + if last is not None: + yield from self.line_segment(last, vertex) + last = vertex diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/render/mesh.py b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/render/mesh.py new file mode 100644 index 0000000000000000000000000000000000000000..282eea295984440ecbe72d53b4bd8d887da09f09 --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/render/mesh.py @@ -0,0 +1,1803 @@ +# Copyright (c) 2018-2022 Manfred Moitzi +# License: MIT License +from __future__ import annotations +from typing import ( + Dict, + Iterable, + Iterator, + NamedTuple, + Optional, + Sequence, + TYPE_CHECKING, + Tuple, + Type, + TypeVar, + Union, +) +from typing_extensions import TypeAlias +from ezdxf.math import ( + BoundingBox, + Matrix44, + NULLVEC, + OCS, + UCS, + UVec, + Vec3, + area, + is_planar_face, + normal_vector_3p, + safe_normal_vector, + subdivide_face, + subdivide_ngons, +) + +if TYPE_CHECKING: + from ezdxf.entities import Polyface, Polymesh, Mesh, Solid3d + from ezdxf.eztypes import GenericLayoutType + +T = TypeVar("T") + + +class EdgeStat(NamedTuple): + """Named tuple of edge statistics.""" + + count: int # type: ignore + balance: int + + +Face: TypeAlias = Sequence[int] +Edge: TypeAlias = Tuple[int, int] +EdgeStats: TypeAlias = Dict[Edge, EdgeStat] + + +class MeshBuilderError(Exception): + pass + + +class NodeMergingError(MeshBuilderError): + pass + + +class MultipleMeshesError(MeshBuilderError): + pass + + +class DegeneratedPathError(MeshBuilderError): + pass + + +class NonManifoldMeshError(MeshBuilderError): + pass + + +def open_faces(faces: Iterable[Face]) -> Iterator[Face]: + """Yields all faces with more than two vertices as open faces + (first vertex index != last vertex index). + """ + for face in faces: + if len(face) < 3: + continue + if face[0] == face[-1]: + yield face[:-1] + else: + yield face + + +def normalize_faces( + faces: list[Sequence[int]], + *, + close=False, +) -> Iterator[Sequence[int]]: + """Removes duplicated vertices and returns closed or open faces according + the `close` argument. Returns only faces with at least 3 edges. + """ + for face in open_faces(faces): + new_face = [face[0]] + for index in face[1:]: + if new_face[-1] != index: + new_face.append(index) + if len(new_face) < 3: + continue + if close: + new_face.append(new_face[0]) + yield tuple(new_face) + + +def all_edges(faces: Iterable[Face]) -> Iterator[Edge]: + """Yields all face edges as int tuples.""" + for face in open_faces(faces): + yield from face_edges(face) + + +def face_edges(face: Face) -> Iterable[Edge]: + """Yields all edges of a single open face as int tuples.""" + size = len(face) + for index in range(size): + yield face[index], face[(index + 1) % size] + + +def get_edge_stats(faces: Iterable[Face]) -> EdgeStats: + """Returns the edge statistics. + + The Edge statistic contains for each edge `(a, b)` the :class:`EdgeStat` as + tuple `(count, balance)` where the vertex index `a` is always smaller than + the vertex index `b`. + + The edge count is how often this edge is used in faces as `(a, b)` or + `(b, a)` and the balance is the count of edge `(a, b)` minus the count of + edge `(b, a)` and should be 0 in "healthy" closed surfaces. + A balance not 0 indicates an error which may be double coincident faces or + mixed face vertex orders. + + """ + new_edge = EdgeStat(0, 0) + stats: EdgeStats = {} + for a, b in all_edges(faces): + edge = a, b + orientation = +1 + if a > b: + edge = b, a + orientation = -1 + # for all edges: count should be 2 and balance should be 0 + count, balance = stats.get(edge, new_edge) + stats[edge] = EdgeStat(count + 1, balance + orientation) + return stats + + +def estimate_face_normals_direction( + vertices: Sequence[Vec3], faces: Sequence[Face] +) -> float: + """Returns the estimated face-normals direction as ``float`` value + in the range [-1.0, 1.0] for a closed surface. + + This heuristic works well for simple convex hulls but struggles with + more complex structures like a torus (doughnut). + + A counter-clockwise (ccw) vertex arrangement is assumed but a + clockwise (cw) arrangement works too but the values are reversed. + + The closer the value to 1.0 (-1.0 for cw) the more likely all normals + pointing outwards from the surface. + + The closer the value to -1.0 (1.0 for cw) the more likely all normals + pointing inwards from the surface. + + """ + n_vertices = len(vertices) + if n_vertices == 0: + return 0.0 + + mesh_centroid = Vec3.sum(vertices) / n_vertices + count = 0 + direction_sum = 0.0 + for face in faces: + if len(face) < 3: + continue + try: + face_vertices = tuple(vertices[i] for i in face) + except IndexError: + continue + face_centroid = Vec3.sum(face_vertices) / len(face) + try: + face_normal = normal_vector_3p( + face_vertices[0], face_vertices[1], face_vertices[2] + ) + except ZeroDivisionError: + continue + try: + outward_vec = (face_centroid - mesh_centroid).normalize() + except ZeroDivisionError: + continue + direction_sum += face_normal.dot(outward_vec) + count += 1 + if count > 0: + return direction_sum / count + return 0.0 + + +def flip_face_normals( + faces: Sequence[Sequence[int]], +) -> Iterator[Sequence[int]]: + for face in faces: + yield tuple(reversed(face)) + + +def volume6(a: Vec3, b: Vec3, c: Vec3) -> float: + """ + Returns six times the volume of the tetrahedron determined by abc + and the origin (0, 0, 0). + The volume is positive if the origin is on the negative side of abc, + where the positive side is determined by the right-hand--rule. + So the volume is positive if the ccw normal to abc points outside the + tetrahedron. + + This code is taken from chull.c; see "Computational Geometry in C." + """ + return ( + a.z * (b.x * c.y - b.y * c.x) + + a.y * (b.z * c.x - b.x * c.z) + + a.x * (b.y * c.z - b.z * c.y) + ) + + +def area_3d(polygon: Sequence[Vec3]) -> float: + try: + ocs = OCS(safe_normal_vector(polygon)) + except ZeroDivisionError: + return 0.0 + return area(ocs.points_from_wcs(polygon)) + + +# Mesh Topology Analysis using the Euler Characteristic +# https://max-limper.de/publications/Euler/index.html + + +class MeshDiagnose: + def __init__(self, mesh: MeshBuilder): + self._mesh = mesh + self._edge_stats: EdgeStats = {} + self._bbox = BoundingBox() + self._face_normals: list[Vec3] = [] + + @property + def vertices(self) -> Sequence[Vec3]: + """Sequence of mesh vertices as :class:`~ezdxf.math.Vec3` instances""" + return self._mesh.vertices + + @property + def faces(self) -> Sequence[Face]: + """Sequence of faces as ``Sequence[int]``""" + return self._mesh.faces + + @property + def face_normals(self) -> Sequence[Vec3]: + """Returns all face normal vectors as sequence. The ``NULLVEC`` + instance is used as normal vector for degenerated faces. (cached data) + + """ + if len(self._face_normals) == 0: + self._face_normals = list(self._mesh.face_normals()) + return self._face_normals + + @property + def bbox(self) -> BoundingBox: + """Returns the :class:`~ezdxf.math.BoundingBox` of the mesh. (cached data)""" + if not self._bbox.has_data: + self._bbox = self._mesh.bbox() + return self._bbox + + @property + def n_vertices(self) -> int: + """Returns the vertex count.""" + return len(self.vertices) + + @property + def n_faces(self) -> int: + """Returns the face count.""" + return len(self.faces) + + @property + def n_edges(self) -> int: + """Returns the unique edge count. (cached data)""" + return len(self.edge_stats) + + @property + def edge_stats(self) -> EdgeStats: + """Returns the edge statistics as a ``dict``. The dict-key is the edge + as tuple of two vertex indices `(a, b)` where `a` is always smaller than + `b`. The dict-value is an :class:`EdgeStat` tuple of edge count and edge + balance, see :class:`EdgeStat` for the definition of edge count and + edge balance. (cached data) + """ + if len(self._edge_stats) == 0: + self._edge_stats = get_edge_stats(self.faces) + return self._edge_stats + + @property + def euler_characteristic(self) -> int: + """Returns the Euler characteristic: + https://en.wikipedia.org/wiki/Euler_characteristic + + This number is always 2 for convex polyhedra. + """ + return self.n_vertices - self.n_edges + self.n_faces + + @property + def is_edge_balance_broken(self) -> bool: + """Returns ``True`` if the edge balance is broken, this indicates a + topology error for closed surfaces. A non-broken edge balance reflects + that each edge connects two faces, where the edge is clockwise oriented + in the first face and counter-clockwise oriented in the second face. + A broken edge balance indicates possible topology errors like mixed + face vertex orientations or a non-manifold mesh where an edge connects + more than two faces. (cached data) + + """ + return any(e.balance != 0 for e in self.edge_stats.values()) + + @property + def is_manifold(self) -> bool: + """Returns ``True`` if all edges have an edge count < 3. (cached data) + + A non-manifold mesh has edges with 3 or more connected faces. + + """ + return all(edge.count < 3 for edge in self.edge_stats.values()) + + @property + def is_closed_surface(self) -> bool: + """Returns ``True`` if the mesh has a closed surface. + This method does not require a unified face orientation. + If multiple separated meshes are present the state is only ``True`` if + **all** meshes have a closed surface. (cached data) + + Returns ``False`` for non-manifold meshes. + + """ + return all(edge.count == 2 for edge in self.edge_stats.values()) + + def total_edge_count(self) -> int: + """Returns the total edge count of all faces, shared edges are counted + separately for each face. In closed surfaces this count should be 2x + the unique edge count :attr:`n_edges`. (cached data) + """ + return sum(e.count for e in self.edge_stats.values()) + + def unique_edges(self) -> Iterable[Edge]: + """Yields the unique edges of the mesh as int 2-tuples. (cached data)""" + return self.edge_stats.keys() + + def estimate_face_normals_direction(self) -> float: + """Returns the estimated face-normals direction as ``float`` value + in the range [-1.0, 1.0] for a closed surface. + + This heuristic works well for simple convex hulls but struggles with + more complex structures like a torus (doughnut). + + A counter-clockwise (ccw) vertex arrangement for outward pointing faces + is assumed but a clockwise (cw) arrangement works too but the return + values are reversed. + + The closer the value to 1.0 (-1.0 for cw) the more likely all normals + pointing outwards from the surface. + + The closer the value to -1.0 (1.0 for cw) the more likely all normals + pointing inwards from the surface. + + There are no exact confidence values if all faces pointing outwards, + here some examples for surfaces created by :mod:`ezdxf.render.forms` + functions: + + - :func:`~ezdxf.render.forms.cube` returns 1.0 + - :func:`~ezdxf.render.forms.cylinder` returns 0.9992 + - :func:`~ezdxf.render.forms.sphere` returns 0.9994 + - :func:`~ezdxf.render.forms.cone` returns 0.9162 + - :func:`~ezdxf.render.forms.cylinder` with all hull faces pointing + outwards but caps pointing inwards returns 0.7785 but the + property :attr:`is_edge_balance_broken` returns ``True`` which + indicates the mixed vertex orientation + - and the estimation of 0.0469 for a :func:`~ezdxf.render.forms.torus` + is barely usable + + """ + return estimate_face_normals_direction(self.vertices, self.faces) + + def has_non_planar_faces(self) -> bool: + """Returns ``True`` if any face is non-planar.""" + return not all(is_planar_face(face) for face in self._mesh.faces_as_vertices()) + + def volume(self) -> float: + """Returns the volume of a closed surface or 0 otherwise. + + .. warning:: + + The face vertices have to be in counter-clockwise order, this + requirement is not checked by this method. + + The result is not correct for multiple separated meshes in a single + MeshBuilder object!!! + + """ + if self.is_closed_surface: + volume = 0.0 + for face in self._mesh.tessellation(3): + volume += volume6(face[0], face[1], face[2]) + return volume / 6.0 + return 0.0 + + def surface_area(self) -> float: + """Returns the surface area.""" + v = self.vertices + surface_area = 0.0 + for face in self._mesh.open_faces(): + polygon = [v[i] for i in face] + surface_area += area_3d(polygon) + return surface_area + + def centroid(self) -> Vec3: + """Returns the centroid of all vertices. (center of mass)""" + if self.n_vertices > 0: + return Vec3.sum(self.vertices) / self.n_vertices + return NULLVEC + + +class MeshBuilder: + """A simple Mesh builder. Stores a list of vertices and a faces list where + each face is a list of indices into the vertices list. + + The :meth:`render_mesh` method, renders the mesh into a DXF MESH entity. + The MESH entity supports ngons in AutoCAD, ngons are polygons with more + than 4 vertices. + + Can only create new meshes. + + """ + + def __init__(self) -> None: + self.vertices: list[Vec3] = [] + # face storage, each face is a tuple of vertex indices (v0, v1, v2, v3, ....) + self.faces: list[Sequence[int]] = [] + + def bbox(self) -> BoundingBox: + """Returns the :class:`~ezdxf.math.BoundingBox` of the mesh.""" + return BoundingBox(self.vertices) + + def copy(self): + """Returns a copy of mesh.""" + return self.from_builder(self) + + def diagnose(self) -> MeshDiagnose: + """Returns the :class:`MeshDiagnose` object for this mesh.""" + return MeshDiagnose(self) + + def get_face_vertices(self, index: int) -> Sequence[Vec3]: + """Returns the face `index` as sequence of :class:`~ezdxf.math.Vec3` + objects. + """ + vertices = self.vertices + return tuple(vertices[vi] for vi in self.faces[index]) + + def get_face_normal(self, index: int) -> Vec3: + """Returns the normal vector of the face `index` as :class:`~ezdxf.math.Vec3`, + returns the ``NULLVEC`` instance for degenerated faces. + """ + face = self.get_face_vertices(index) + try: + return safe_normal_vector(face) + except (ValueError, ZeroDivisionError): + return NULLVEC + + def face_normals(self) -> Iterator[Vec3]: + """Yields all face normals, yields the ``NULLVEC`` instance for degenerated + faces. + """ + for face in self.faces_as_vertices(): + try: + yield safe_normal_vector(face) + except (ValueError, ZeroDivisionError): + yield NULLVEC + + def faces_as_vertices(self) -> Iterator[list[Vec3]]: + """Yields all faces as list of vertices.""" + v = self.vertices + for face in self.faces: + yield [v[index] for index in face] + + def open_faces(self) -> Iterator[Face]: + """Yields all faces as sequence of integers where the first vertex + is not coincident with the last vertex. + """ + yield from open_faces(self.faces) + + def add_face(self, vertices: Iterable[UVec]) -> None: + """Add a face as vertices list to the mesh. A face requires at least 3 + vertices, each vertex is a ``(x, y, z)`` tuple or + :class:`~ezdxf.math.Vec3` object. The new vertex indices are stored as + face in the :attr:`faces` list. + + Args: + vertices: list of at least 3 vertices ``[(x1, y1, z1), (x2, y2, z2), + (x3, y3, y3), ...]`` + + """ + self.faces.append(self.add_vertices(vertices)) + + def add_vertices(self, vertices: Iterable[UVec]) -> Face: + """Add new vertices to the mesh, each vertex is a ``(x, y, z)`` tuple + or a :class:`~ezdxf.math.Vec3` object, returns the indices of the + `vertices` added to the :attr:`vertices` list. + + e.g. adding 4 vertices to an empty mesh, returns the indices + ``(0, 1, 2, 3)``, adding additional 4 vertices returns the indices + ``(4, 5, 6, 7)``. + + Args: + vertices: list of vertices, vertex as ``(x, y, z)`` tuple or + :class:`~ezdxf.math.Vec3` objects + + Returns: + tuple: indices of the `vertices` added to the :attr:`vertices` list + + """ + start_index = len(self.vertices) + self.vertices.extend(Vec3.generate(vertices)) + return tuple(range(start_index, len(self.vertices))) + + def add_mesh( + self, + vertices: Optional[list[Vec3]] = None, + faces: Optional[list[Face]] = None, + mesh=None, + ) -> None: + """Add another mesh to this mesh. + + A `mesh` can be a :class:`MeshBuilder`, :class:`MeshVertexMerger` or + :class:`~ezdxf.entities.Mesh` object or requires the attributes + :attr:`vertices` and :attr:`faces`. + + Args: + vertices: list of vertices, a vertex is a ``(x, y, z)`` tuple or + :class:`~ezdxf.math.Vec3` object + faces: list of faces, a face is a list of vertex indices + mesh: another mesh entity + + """ + if mesh is not None: + vertices = Vec3.list(mesh.vertices) + faces = mesh.faces + + if vertices is None: + raise ValueError("Requires vertices or another mesh.") + faces = faces or [] + indices = self.add_vertices(vertices) + + for face_vertices in open_faces(faces): + self.faces.append(tuple(indices[vi] for vi in face_vertices)) + + def render_mesh( + self, + layout: GenericLayoutType, + dxfattribs=None, + matrix: Optional[Matrix44] = None, + ucs: Optional[UCS] = None, + ): + """Render mesh as :class:`~ezdxf.entities.Mesh` entity into `layout`. + + Args: + layout: :class:`~ezdxf.layouts.BaseLayout` object + dxfattribs: dict of DXF attributes e.g. ``{'layer': 'mesh', 'color': 7}`` + matrix: transformation matrix of type :class:`~ezdxf.math.Matrix44` + ucs: transform vertices by :class:`~ezdxf.math.UCS` to :ref:`WCS` + + """ + dxfattribs = dict(dxfattribs) if dxfattribs else {} + vertices = self.vertices + if matrix is not None: + vertices = matrix.transform_vertices(vertices) + if ucs is not None: + vertices = ucs.points_to_wcs(vertices) # type: ignore + mesh = layout.add_mesh(dxfattribs=dxfattribs) + with mesh.edit_data() as data: + # data will be copied at setting in edit_data() + # ignore edges and creases! + data.vertices = list(vertices) + data.faces = list(self.faces) + return mesh + + def render_normals( + self, + layout: GenericLayoutType, + length: float = 1, + relative=True, + dxfattribs=None, + ): + """Render face normals as :class:`~ezdxf.entities.Line` entities into + `layout`, useful to check orientation of mesh faces. + + Args: + layout: :class:`~ezdxf.layouts.BaseLayout` object + length: visual length of normal, use length < 0 to point normals in + opposite direction + relative: scale length relative to face size if ``True`` + dxfattribs: dict of DXF attributes e.g. ``{'layer': 'normals', 'color': 6}`` + + """ + dxfattribs = dict(dxfattribs) if dxfattribs else {} + for face in self.faces_as_vertices(): + count = len(face) + if count < 3: + continue + center = Vec3.sum(face) / count + try: + n = safe_normal_vector(face) + except ZeroDivisionError: + continue + if relative: + _length = (face[0] - center).magnitude * length + else: + _length = length + layout.add_line(center, center + n * _length, dxfattribs=dxfattribs) + + @classmethod + def from_mesh(cls: Type[T], other: Union[MeshBuilder, Mesh]) -> T: + """Create new mesh from other mesh as class method. + + Args: + other: `mesh` of type :class:`MeshBuilder` and inherited or DXF + :class:`~ezdxf.entities.Mesh` entity or any object providing + attributes :attr:`vertices`, :attr:`edges` and :attr:`faces`. + + """ + # just copy properties + mesh = cls() + assert isinstance(mesh, MeshBuilder) + mesh.add_mesh(mesh=other) + return mesh # type: ignore + + @classmethod + def from_polyface(cls: Type[T], other: Union[Polymesh, Polyface]) -> T: + """Create new mesh from a :class:`~ezdxf.entities.Polyface` or + :class:`~ezdxf.entities.Polymesh` object. + + """ + if other.dxftype() != "POLYLINE": + raise TypeError(f"Unsupported DXF type: {other.dxftype()}") + + mesh = cls() + assert isinstance(mesh, MeshBuilder) + if other.is_poly_face_mesh: + _, faces = other.indexed_faces() # type: ignore + for face in faces: + mesh.add_face(face.points()) + elif other.is_polygon_mesh: + vertices = other.get_mesh_vertex_cache() # type: ignore + for m in range(other.dxf.m_count - 1): + for n in range(other.dxf.n_count - 1): + mesh.add_face( + ( + vertices[m, n], + vertices[m, n + 1], + vertices[m + 1, n + 1], + vertices[m + 1, n], + ) + ) + else: + raise TypeError("Not a polymesh or polyface.") + return mesh # type: ignore + + def render_polyface( + self, + layout: GenericLayoutType, + dxfattribs=None, + matrix: Optional[Matrix44] = None, + ucs: Optional[UCS] = None, + ): + """Render mesh as :class:`~ezdxf.entities.Polyface` entity into + `layout`. + + Args: + layout: :class:`~ezdxf.layouts.BaseLayout` object + dxfattribs: dict of DXF attributes e.g. ``{'layer': 'mesh', 'color': 7}`` + matrix: transformation matrix of type :class:`~ezdxf.math.Matrix44` + ucs: transform vertices by :class:`~ezdxf.math.UCS` to :ref:`WCS` + + """ + dxfattribs = dict(dxfattribs) if dxfattribs else {} + polyface = layout.add_polyface(dxfattribs=dxfattribs) + t = MeshTransformer.from_builder(self) + if matrix is not None: + t.transform(matrix) + if ucs is not None: + t.transform(ucs.matrix) + polyface.append_faces( + t.tessellation(max_vertex_count=4), + dxfattribs=dxfattribs, + ) + return polyface + + def render_3dsolid(self, layout: GenericLayoutType, dxfattribs=None) -> Solid3d: + """Render mesh as :class:`~ezdxf.entities.Solid3d` entity into `layout`. + + This is an **experimental** feature to create simple 3DSOLID entities from + polyhedrons. + + The method supports closed and open shells. A 3DSOLID entity can contain + multiple shells. Separate the meshes beforehand by the method + :meth:`separate_meshes` if required. The normals vectors of all faces should + point outwards. Faces can have more than 3 vertices (ngons) but non-planar + faces and concave faces will cause problems in some CAD applications. The + method :meth:`mesh_tesselation` can help to break down the faces into triangles. + + Requires a valid DXF document for `layout` and DXF version R2000 or newer. + + Args: + layout: :class:`~ezdxf.layouts.BaseLayout` object + dxfattribs: dict of DXF attributes e.g. ``{'layer': 'mesh', 'color': 7}`` + + Raises: + DXFValueError: valid DXF document required, if :attr:`layout.doc` is ``None`` + DXFVersionError: invalid DXF version + + .. versionadded:: 1.2.0 + + """ + from ezdxf.acis import api as acis + + dxfattribs = dict(dxfattribs) if dxfattribs else {} + solid3d = layout.add_3dsolid(dxfattribs=dxfattribs) + body = acis.body_from_mesh(self) + acis.export_dxf(solid3d, [body]) + return solid3d + + def render_3dfaces( + self, + layout: GenericLayoutType, + dxfattribs=None, + matrix: Optional[Matrix44] = None, + ucs: Optional[UCS] = None, + ): + """Render mesh as :class:`~ezdxf.entities.Face3d` entities into + `layout`. + + Args: + layout: :class:`~ezdxf.layouts.BaseLayout` object + dxfattribs: dict of DXF attributes e.g. ``{'layer': 'mesh', 'color': 7}`` + matrix: transformation matrix of type :class:`~ezdxf.math.Matrix44` + ucs: transform vertices by :class:`~ezdxf.math.UCS` to :ref:`WCS` + + """ + dxfattribs = dict(dxfattribs) if dxfattribs else {} + t = MeshTransformer.from_builder(self) + if matrix is not None: + t.transform(matrix) + if ucs is not None: + t.transform(ucs.matrix) + for face in t.tessellation(max_vertex_count=4): + layout.add_3dface(face, dxfattribs=dxfattribs) + + @classmethod + def from_builder(cls: Type[T], other: MeshBuilder) -> T: + """Create new mesh from other mesh builder, faster than + :meth:`from_mesh` but supports only :class:`MeshBuilder` and inherited + classes. + + """ + # just copy properties + mesh = cls() + assert isinstance(mesh, MeshBuilder) + + # DO NOT COPY CACHES! + mesh.vertices = list(other.vertices) + mesh.faces = list(other.faces) + return mesh # type: ignore + + def merge_coplanar_faces(self, passes: int = 1) -> MeshTransformer: + """Returns a new :class:`MeshBuilder` object with merged adjacent + coplanar faces. + + The faces have to share at least two vertices and have to have the + same clockwise or counter-clockwise vertex order. + + The current implementation is not very capable! + + """ + mesh = self + for _ in range(passes): + mesh = _merge_adjacent_coplanar_faces(mesh.vertices, mesh.faces) + return MeshTransformer.from_builder(mesh) + + def subdivide(self, level: int = 1, quads=True) -> MeshTransformer: + """Returns a new :class:`MeshTransformer` object with all faces subdivided. + + Args: + level: subdivide levels from 1 to max of 5 + quads: create quad faces if ``True`` else create triangles + """ + mesh = self + level = min(int(level), 5) + while level > 0: + mesh = _subdivide(mesh, quads) + level -= 1 + return MeshTransformer.from_builder(mesh) + + def optimize_vertices(self, precision: int = 6) -> MeshTransformer: + """Returns a new mesh with optimized vertices. Coincident vertices are + merged together and all faces are open faces (first vertex != last + vertex). Uses internally the :class:`MeshVertexMerger` class to merge + vertices. + """ + mesh = MeshVertexMerger(precision=precision) + mesh.add_mesh(mesh=self) + return MeshTransformer.from_builder(mesh) + + def subdivide_ngons(self, max_vertex_count=4) -> Iterator[Sequence[Vec3]]: + """Yields all faces as sequence of :class:`~ezdxf.math.Vec3` instances, + where all ngons which have more than `max_vertex_count` vertices gets + subdivided. + In contrast to the :meth:`tessellation` method, creates this method a + new vertex in the centroid of the face. This can create a more regular + tessellation but only works reliable for convex faces! + """ + yield from subdivide_ngons(self.faces_as_vertices(), max_vertex_count) + + def tessellation(self, max_vertex_count: int = 4) -> Iterator[Sequence[Vec3]]: + """Yields all faces as sequence of :class:`~ezdxf.math.Vec3` instances, + each face has no more vertices than the given `max_vertex_count`. This + method uses the "ear clipping" algorithm which works with concave faces + too and does not create any additional vertices. + """ + from ezdxf.math.triangulation import mapbox_earcut_3d + + for face in self.faces_as_vertices(): + if len(face) <= max_vertex_count: + yield face + else: + yield from mapbox_earcut_3d(face) + + def mesh_tessellation(self, max_vertex_count: int = 4) -> MeshTransformer: + """Returns a new :class:`MeshTransformer` instance, where each face has + no more vertices than the given `max_vertex_count`. + + The `fast` mode uses a shortcut for faces with less than 6 vertices + which may not work for concave faces! + """ + mesh = MeshVertexMerger() + for face in self.tessellation(max_vertex_count=max_vertex_count): + mesh.add_face(face) + return MeshTransformer.from_builder(mesh) + + def flip_normals(self) -> None: + """Flips the normals of all faces by reversing the vertex order inplace.""" + self.faces = list(flip_face_normals(self.faces)) + + def separate_meshes(self) -> list[MeshTransformer]: + """A single :class:`MeshBuilder` instance can store multiple separated + meshes. This function returns this separated meshes as multiple + :class:`MeshTransformer` instances. + """ + return list(separate_meshes(self)) + + def normalize_faces(self) -> None: + """Removes duplicated vertex indices from faces and stores all faces as + open faces, where the last vertex is not coincident with the first + vertex. + """ + self.faces = list(normalize_faces(self.faces, close=False)) + + def face_orientation_detector(self, reference: int = 0) -> FaceOrientationDetector: + """Returns a :class:`FaceOrientationDetector` or short `fod` instance. + The forward orientation is defined by the `reference` face which is + 0 by default. + + The `fod` can check if all faces are reachable from the reference face + and if all faces have the same orientation. The `fod` can be reused to + unify the face orientation of the mesh. + + """ + return FaceOrientationDetector(self, reference=reference) + + def unify_face_normals( + self, *, fod: Optional[FaceOrientationDetector] = None + ) -> MeshTransformer: + """Returns a new :class:`MeshTransformer` object with unified + face normal vectors of all faces. + The forward direction (not necessarily outwards) is defined by the + face-normals of the majority of the faces. + This function can not process non-manifold meshes (more than two faces + are connected by a single edge) or multiple disconnected meshes in a + single :class:`MeshBuilder` object. + + It is possible to pass in an existing :class:`FaceOrientationDetector` + instance as argument `fod`. + + Raises: + NonManifoldError: non-manifold mesh + MultipleMeshesError: the :class:`MeshBuilder` object contains multiple disconnected meshes + + """ + return unify_face_normals_by_majority(self, fod=fod) + + def unify_face_normals_by_reference( + self, + reference: int = 0, + *, + force_outwards=False, + fod: Optional[FaceOrientationDetector] = None, + ) -> MeshTransformer: + """Returns a new :class:`MeshTransformer` object with unified + face normal vectors of all faces. + The forward direction (not necessarily outwards) is defined by the + reference face, which is the first face of the `mesh` by default. + This function can not process non-manifold + meshes (more than two faces are connected by a single edge) or multiple + disconnected meshes in a single :class:`MeshBuilder` object. + + The outward direction of all face normals can be forced by stetting + the argument `force_outwards` to ``True`` but this works only for closed + surfaces, and it's time-consuming! + + It is not possible to check for a closed surface as long the face normal + vectors are not unified. But it can be done afterward by the attribute + :meth:`MeshDiagnose.is_closed_surface` to see if the result is + trustworthy. + + It is possible to pass in an existing :class:`FaceOrientationDetector` + instance as argument `fod`. + + Args: + reference: index of the reference face + force_outwards: forces face-normals to point outwards, this works + only for closed surfaces, and it's time-consuming! + fod: :class:`FaceOrientationDetector` instance + + Raises: + ValueError: non-manifold mesh or the :class:`MeshBuilder` object + contains multiple disconnected meshes + + """ + mesh = unify_face_normals_by_reference(self, reference=reference, fod=fod) + if force_outwards: + _force_face_normals_pointing_outwards(mesh, reference) + return mesh + + +class MeshTransformer(MeshBuilder): + """A mesh builder with inplace transformation support.""" + + def transform(self, matrix: Matrix44): + """Transform mesh inplace by applying the transformation `matrix`. + + Args: + matrix: 4x4 transformation matrix as :class:`~ezdxf.math.Matrix44` + object + + """ + self.vertices = list(matrix.transform_vertices(self.vertices)) + return self + + def translate(self, dx: Union[float, UVec] = 0, dy: float = 0, dz: float = 0): + """Translate mesh inplace. + + Args: + dx: translation in x-axis or translation vector + dy: translation in y-axis + dz: translation in z-axis + + """ + if isinstance(dx, (float, int)): + t = Vec3(dx, dy, dz) + else: + t = Vec3(dx) + self.vertices = [t + v for v in self.vertices] + return self + + def scale(self, sx: float = 1, sy: float = 1, sz: float = 1): + """Scale mesh inplace. + + Args: + sx: scale factor for x-axis + sy: scale factor for y-axis + sz: scale factor for z-axis + + """ + self.vertices = [Vec3(x * sx, y * sy, z * sz) for x, y, z in self.vertices] + return self + + def scale_uniform(self, s: float): + """Scale mesh uniform inplace. + + Args: + s: scale factor for x-, y- and z-axis + + """ + self.vertices = [v * s for v in self.vertices] + return self + + def rotate_x(self, angle: float): + """Rotate mesh around x-axis about `angle` inplace. + + Args: + angle: rotation angle in radians + + """ + self.vertices = list(Matrix44.x_rotate(angle).transform_vertices(self.vertices)) + return self + + def rotate_y(self, angle: float): + """Rotate mesh around y-axis about `angle` inplace. + + Args: + angle: rotation angle in radians + + """ + self.vertices = list(Matrix44.y_rotate(angle).transform_vertices(self.vertices)) + return self + + def rotate_z(self, angle: float): + """Rotate mesh around z-axis about `angle` inplace. + + Args: + angle: rotation angle in radians + + """ + self.vertices = list(Matrix44.z_rotate(angle).transform_vertices(self.vertices)) + return self + + def rotate_axis(self, axis: UVec, angle: float): + """Rotate mesh around an arbitrary axis located in the origin (0, 0, 0) + about `angle`. + + Args: + axis: rotation axis as Vec3 + angle: rotation angle in radians + + """ + self.vertices = list( + Matrix44.axis_rotate(axis, angle).transform_vertices(self.vertices) + ) + return self + + +def _subdivide(mesh, quads=True) -> MeshVertexMerger: + """Returns a new :class:`MeshVertexMerger` object with subdivided faces + and edges. + + Args: + quads: create quad faces if ``True`` else create triangles + + """ + new_mesh = MeshVertexMerger() + for vertices in mesh.faces_as_vertices(): + if len(vertices) < 3: + continue + for face in subdivide_face(vertices, quads): + new_mesh.add_face(face) + return new_mesh + + +class MeshVertexMerger(MeshBuilder): + """Subclass of :class:`MeshBuilder` + + Mesh with unique vertices and no doublets, but needs extra memory for + bookkeeping. + + :class:`MeshVertexMerger` creates a key for every vertex by rounding its + components by the Python :func:`round` function and a given `precision` + value. Each vertex with the same key gets the same vertex index, which is + the index of first vertex with this key, so all vertices with the same key + will be located at the location of this first vertex. If you want an average + location of all vertices with the same key use the + :class:`MeshAverageVertexMerger` class. + + Args: + precision: floating point precision for vertex rounding + + """ + + # can not support vertex transformation + def __init__(self, precision: int = 6): + """ + Args: + precision: floating point precision for vertex rounding + + """ + super().__init__() + self.ledger: dict[Vec3, int] = {} + self.precision: int = precision + + def add_vertices(self, vertices: Iterable[UVec]) -> Face: + """Add new `vertices` only, if no vertex with identical (x, y, z) + coordinates already exist, else the index of the existing vertex is + returned as index of the added vertices. + + Args: + vertices: list of vertices, vertex as (x, y, z) tuple or + :class:`~ezdxf.math.Vec3` objects + + Returns: + indices of the added `vertices` + + """ + indices = [] + precision = self.precision + for vertex in Vec3.generate(vertices): + key = vertex.round(precision) + try: + indices.append(self.ledger[key]) + except KeyError: + index = len(self.vertices) + self.vertices.append(vertex) + self.ledger[key] = index + indices.append(index) + return tuple(indices) + + def index(self, vertex: UVec) -> int: + """Get index of `vertex`, raises :class:`IndexError` if not found. + + Args: + vertex: ``(x, y, z)`` tuple or :class:`~ezdxf.math.Vec3` object + + (internal API) + """ + try: + return self.ledger[Vec3(vertex).round(self.precision)] + except KeyError: + raise IndexError(f"Vertex {str(vertex)} not found.") + + @classmethod + def from_builder(cls, other: MeshBuilder) -> MeshVertexMerger: + """Create new mesh from other mesh builder.""" + # rebuild from scratch to create a valid ledger + return cls.from_mesh(other) + + +class MeshAverageVertexMerger(MeshBuilder): + """Subclass of :class:`MeshBuilder` + + Mesh with unique vertices and no doublets, but needs extra memory for + bookkeeping and runtime for calculation of average vertex location. + + :class:`MeshAverageVertexMerger` creates a key for every vertex by rounding + its components by the Python :func:`round` function and a given `precision` + value. Each vertex with the same key gets the same vertex index, which is the + index of first vertex with this key, the difference to the + :class:`MeshVertexMerger` class is the calculation of the average location + for all vertices with the same key, this needs extra memory to keep track of + the count of vertices for each key and extra runtime for updating the vertex + location each time a vertex with an existing key is added. + + Args: + precision: floating point precision for vertex rounding + + """ + + # can not support vertex transformation + def __init__(self, precision: int = 6): + super().__init__() + self.ledger: dict[ + Vec3, tuple[int, int] + ] = {} # each key points to a tuple (vertex index, vertex count) + self.precision: int = precision + + def add_vertices(self, vertices: Iterable[UVec]) -> Face: + """Add new `vertices` only, if no vertex with identical ``(x, y, z)`` + coordinates already exist, else the index of the existing vertex is + returned as index of the added vertices. + + Args: + vertices: list of vertices, vertex as ``(x, y, z)`` tuple or + :class:`~ezdxf.math.Vec3` objects + + Returns: + tuple: indices of the `vertices` added to the + :attr:`~MeshBuilder.vertices` list + + """ + indices = [] + precision = self.precision + for vertex in Vec3.generate(vertices): + key = vertex.round(precision) + try: + index, count = self.ledger[key] + except KeyError: # new key + index = len(self.vertices) + self.vertices.append(vertex) + self.ledger[key] = (index, 1) + else: # update key entry + # calculate new average location + average = (self.vertices[index] * count) + vertex + count += 1 + # update vertex location + self.vertices[index] = average / count + # update ledger + self.ledger[key] = (index, count) + indices.append(index) + return tuple(indices) + + def index(self, vertex: UVec) -> int: + """Get index of `vertex`, raises :class:`IndexError` if not found. + + Args: + vertex: ``(x, y, z)`` tuple or :class:`~ezdxf.math.Vec3` object + + (internal API) + """ + try: + return self.ledger[Vec3(vertex).round(self.precision)][0] + except KeyError: + raise IndexError(f"Vertex {str(vertex)} not found.") + + @classmethod + def from_builder(cls, other: MeshBuilder) -> MeshAverageVertexMerger: + """Create new mesh from other mesh builder.""" + # rebuild from scratch to create a valid ledger + return cls.from_mesh(other) + + +class _XFace: + __slots__ = ("fingerprint", "indices", "_orientation") + + def __init__(self, indices: Face): + self.fingerprint: int = hash(indices) + self.indices: Face = indices + self._orientation: Vec3 = VEC3_SENTINEL + + def orientation(self, vertices: Sequence[Vec3], precision: int = 4) -> Vec3: + if self._orientation is VEC3_SENTINEL: + orientation = NULLVEC + v0, v1, *v = [vertices[i] for i in self.indices] + for v2 in v: + try: + orientation = normal_vector_3p(v0, v1, v2).round(precision) + break + except ZeroDivisionError: + continue + self._orientation = orientation + return self._orientation + + +def _merge_adjacent_coplanar_faces( + vertices: list[Vec3], faces: list[Face], precision: int = 4 +) -> MeshVertexMerger: + oriented_faces: dict[Vec3, list[_XFace]] = {} + extended_faces: list[_XFace] = [] + for face in faces: + if len(face) < 3: + raise ValueError("found invalid face count < 3") + xface = _XFace(face) + extended_faces.append(xface) + oriented_faces.setdefault(xface.orientation(vertices, precision), []).append( + xface + ) + + mesh = MeshVertexMerger() + done = set() + for xface in extended_faces: + if xface.fingerprint in done: + continue + done.add(xface.fingerprint) + face = xface.indices + orientation = xface.orientation(vertices, precision) + parallel_faces = oriented_faces[orientation] + face_set = set(face) + for parallel_face in parallel_faces: + if parallel_face.fingerprint in done: + continue + common_vertices = face_set.intersection(set(parallel_face.indices)) + # connection by at least 2 vertices required: + if len(common_vertices) > 1: + if len(common_vertices) == len(parallel_face.indices): + face = merge_full_patch(face, parallel_face.indices) + else: + try: + face = merge_connected_paths(face, parallel_face.indices) + except (NodeMergingError, DegeneratedPathError): + continue + done.add(parallel_face.fingerprint) + face_set = set(face) + v0 = list(remove_colinear_face_vertices([vertices[i] for i in face])) + mesh.add_face(v0) + return mesh + + +VEC3_SENTINEL = Vec3(0, 0, 0) + + +def remove_colinear_face_vertices(vertices: Sequence[Vec3]) -> Iterator[Vec3]: + def get_direction(v1: Vec3, v2: Vec3): + return (v2 - v1).normalize() + + if len(vertices) < 3: + yield from vertices + return + + # remove duplicated vertices + _vertices: list[Vec3] = [vertices[0]] + for v in vertices[1:]: + if not v.isclose(_vertices[-1]): + _vertices.append(v) + + if len(_vertices) < 3: + if len(_vertices) == 1: + _vertices.append(_vertices[0]) + yield from _vertices + return + + start = _vertices[0] + prev_vertex = VEC3_SENTINEL + current_direction = VEC3_SENTINEL + start_index = 0 + + # find start direction + yield start + while current_direction is VEC3_SENTINEL: + start_index += 1 + try: + prev_vertex = vertices[start_index] + except IndexError: + yield prev_vertex + return + current_direction = get_direction(start, prev_vertex) + + yielded_anything = False + _vertices.append(start) + for vertex in _vertices[start_index:]: + try: + if get_direction(start, vertex).isclose(current_direction): + prev_vertex = vertex + continue + except ZeroDivisionError: + continue + yield prev_vertex + yielded_anything = True + start = prev_vertex + current_direction = get_direction(start, vertex) + prev_vertex = vertex + + if not yielded_anything: + yield _vertices[-2] # last vertex + + +def merge_connected_paths(p1: Sequence[int], p2: Sequence[int]) -> Sequence[int]: + def build_nodes(p: Sequence[int]): + nodes = {e1: e2 for e1, e2 in zip(p, p[1:])} + nodes[p[-1]] = p[0] + return nodes + + current_path = build_nodes(p1) + other_path = build_nodes(p2) + current_node = p1[0] + finish = p1[0] + connected_path = [current_node] + while True: + try: + next_node = current_path[current_node] + except KeyError: + raise NodeMergingError + if next_node in other_path: + current_path, other_path = other_path, current_path + if next_node == finish: + break + current_node = next_node + if current_node in connected_path: + # node duplication is an error, e.g. two path are only connected + # by one node: + raise NodeMergingError + connected_path.append(current_node) + + if len(connected_path) < 3: + raise DegeneratedPathError + return connected_path + + +def merge_full_patch(path: Sequence[int], patch: Sequence[int]): + count = len(path) + new_path = [] + for pos, node in enumerate(path): + prev = path[pos - 1] + succ = path[(pos + 1) % count] + if prev in patch and succ in patch: + continue + new_path.append(node) + return new_path + + +class Lump: + def __init__(self, face: Face): + self.edges: set[Edge] = set() + self.faces: list[Face] = [face] + for a, b in face_edges(face): + # sort vertex indices to guarantee: edge a,b == edge b,a + self.edges.add((a, b) if a <= b else (b, a)) + + def is_connected(self, other: Lump) -> bool: + return not self.edges.isdisjoint(other.edges) + + def merge(self, other: Lump): + self.faces.extend(other.faces) + self.edges.update(other.edges) + + +def merge_lumps(lumps: Iterable[Lump]) -> list[Lump]: + merged_lumps = _merge_lumps(lumps) + prior_len = 0 + while 1 < len(merged_lumps) != prior_len: + prior_len = len(merged_lumps) + merged_lumps = _merge_lumps(merged_lumps) + return merged_lumps + + +def _merge_lumps(lumps: Iterable[Lump]) -> list[Lump]: + merged_lumps: list[Lump] = [] + for lump in lumps: + for base in merged_lumps: + if lump.is_connected(base): + base.merge(lump) + break + else: + merged_lumps.append(lump) + return merged_lumps + + +def separate_meshes(m: MeshBuilder) -> Iterator[MeshTransformer]: + """Returns the separated meshes in a single :class:`MeshBuilder` instance + as multiple :class:`MeshTransformer` instances. + """ + # At the beginning each face is a separated lump and all connected faces + # should be merged: + disconnected_lumps = list(merge_lumps(Lump(face) for face in open_faces(m.faces))) + if len(disconnected_lumps) > 1: + vertices = m.vertices + # create new separated meshes: + for lump in disconnected_lumps: + mesh = MeshVertexMerger() + for face in lump.faces: + mesh.add_face(vertices[i] for i in face) + yield MeshTransformer.from_builder(mesh) + else: + yield MeshTransformer.from_builder(m) + + +def have_away_pointing_normals(f0: Sequence[Vec3], f1: Sequence[Vec3]) -> bool: + """Returns ``True`` if the normals of the two faces are pointing + away from the center of the two faces. + + .. warning:: + + This does not work for any arbitrary face pair! + + """ + c0 = Vec3.sum(f0) / len(f0) + c1 = Vec3.sum(f1) / len(f1) + n0 = normal_vector_3p(f0[0], f0[1], f0[2]) * 0.5 + n1 = normal_vector_3p(f1[0], f1[1], f1[2]) * 0.5 + e0 = c0 + n0 + e1 = c1 + n1 + # distance of centroids + d0 = c0.distance(c1) + # distance of normal end points + d1 = e0.distance(e1) + return d1 > d0 + + +def face_normals_after_transformation(m: Matrix44) -> bool: + """Returns the state of face-normals of the unit-cube after the + transformation `m` was applied. + + - ``True``: face-normals pointing outwards + - ``False``: face-normals pointing inwards + + The state before the transformation is outward-pointing face-normals. + + """ + from .forms import cube + + unit_cube = cube(True).transform(m) + bottom, _, _, _, _, top = unit_cube.faces_as_vertices() + # it is not necessary to check all 3 axis! + return have_away_pointing_normals(bottom, top) + + +def _make_edge_mapping(faces: Iterable[Face]) -> dict[Edge, list[Face]]: + mapping: dict[Edge, list[Face]] = {} + for face in faces: + for edge in face_edges(face): + mapping.setdefault(edge, []).append(face) + return mapping + + +class FaceOrientationDetector: + """ + Helper class for face orientation and face normal vector detection. Use the + method :meth:`MeshBuilder.face_orientation_detector` to create an instance. + + The face orientation detector classifies the faces of a mesh by their + forward or backward orientation. + The forward orientation is defined by a reference face, which is the first + face of the mesh by default and this orientation is not necessarily outwards. + + This class has some overlapping features with :class:`MeshDiagnose` but it + has a longer setup time and needs more memory than :class:`MeshDiagnose`. + + Args: + mesh: source mesh as :class:`MeshBuilder` object + reference: index of the reference face + + """ + + def __init__(self, mesh: MeshBuilder, reference: int = 0): + self._mesh = mesh + self.edge_mapping: dict[Edge, list[Face]] = _make_edge_mapping(mesh.faces) + self.reference = reference + self.is_manifold = True # 2-manifold is meant + self.forward: dict[int, Face] = dict() + self.backward: dict[int, Face] = dict() + self.classify_faces(reference) + + @property + def has_uniform_face_normals(self) -> bool: + """Returns ``True`` if all reachable faces are forward oriented + according to the reference face. + """ + return len(self.backward) == 0 + + @property + def all_reachable(self) -> bool: + """Returns ``True`` if all faces are reachable from the reference face + same as property :attr:`is_single_mesh`. + """ + return len(self._mesh.faces) == sum(self.count) + + @property + def is_single_mesh(self) -> bool: + """Returns ``True`` if only a single mesh is present same as property + :attr:`all_reachable`. + """ + return self.all_reachable + + @property + def count(self) -> tuple[int, int]: + """Returns the count of forward and backward oriented faces.""" + return len(self.forward), len(self.backward) + + @property + def forward_faces(self) -> Iterator[Face]: + """Yields all forward oriented faces.""" + return iter(self.forward.values()) + + @property + def backward_faces(self) -> Iterator[Face]: + """Yields all backward oriented faces.""" + return iter(self.backward.values()) + + def classify_faces(self, reference: int = 0) -> None: + """Detect the forward and backward oriented faces. + + The forward and backward orientation has to be defined by a `reference` + face. + """ + + def add_forward(f: Face): + forward[id(f)] = f + + def add_backward(f: Face): + backward[id(f)] = f + + def add_face_to_process(f: Face, orientation: bool): + key = id(f) + if key not in forward and key not in backward: # unprocessed face! + process_faces.append((f, orientation)) + + def add_adjacent_faces_to_process_queue(f: Face, orientation: bool): + for edge in face_edges(f): + # find adjacent faces at this edge with same edge orientation: + linked_faces = edge_mapping[edge] + if len(linked_faces) > 1: + # these faces are backward oriented faces: + for linked_face in linked_faces: + if linked_face is f: # skip legit current face + continue + add_face_to_process(linked_face, not orientation) + + # find all adjacent faces at this edge with reversed edges: + try: + linked_faces = edge_mapping[edge[1], edge[0]] + except KeyError: + # open surface or backward oriented faces present + continue + if len(linked_faces) == 1: + add_face_to_process(linked_faces[0], orientation) + else: # non-manifold mesh + # none of the linked face is processed! + self.is_manifold = False + + self.reference = int(reference) + self.is_manifold = True + edge_mapping = self.edge_mapping + forward: dict[int, Face] = dict() + backward: dict[int, Face] = dict() + # the reference face defines the forward orientation + process_faces: list[tuple[Face, bool]] = [(self._mesh.faces[reference], True)] + while len(process_faces): + # current face and orientation, True = forward, False = backward + face, face_orientation = process_faces.pop(0) + if face_orientation: + add_forward(face) + else: + add_backward(face) + add_adjacent_faces_to_process_queue(face, face_orientation) + + self.forward = forward + self.backward = backward + + @property + def is_closed_surface(self) -> bool: + """Returns ``True`` if the mesh has a closed surface. + This method does not require a unified face orientation. + If multiple separated meshes are present the state is only ``True`` if + **all** meshes have a closed surface. + + Returns ``False`` for non-manifold meshes. + + """ + if not self.is_manifold: + return False + empty: list[Face] = [] + edge_mapping = self.edge_mapping + # For a closed surface all edges have to connect exact 2 faces. + for edge in edge_mapping.keys(): + forward_connected_faces = edge_mapping.get(edge, empty) + reversed_edge = edge[1], edge[0] + backward_connected_faces = edge_mapping.get(reversed_edge, empty) + if len(forward_connected_faces) + len(backward_connected_faces) != 2: + return False + return True + + def is_reference_face_pointing_outwards(self) -> bool: + """Returns ``True`` if the normal vector of the reference face is + pointing outwards. This works only for meshes with unified faces which + represent a closed surfaces, and it's a time-consuming calculation! + + """ + from ezdxf.math import is_face_normal_pointing_outwards + + faces = list(self._mesh.faces_as_vertices()) + reference_face = faces[self.reference] + return is_face_normal_pointing_outwards(faces, reference_face) + + +def unify_face_normals_by_reference( + mesh: MeshBuilder, + *, + fod: Optional[FaceOrientationDetector] = None, + reference: int = 0, +) -> MeshTransformer: + """Unifies the orientation of all faces of a :class:`MeshBuilder` object. + The forward orientation is defined by a reference face, which is the first + face of the `mesh` by default. This function can not process non-manifold + meshes (more than two faces are connected by a single edge) or multiple + disconnected meshes in a single :class:`MeshBuilder` object. + Returns always a copy of the source `mesh` as :class:`MeshTransformer` + object. + + Args: + mesh: source :class:`MeshBuilder` object + fod: an already created :class:`FaceOrientationDetector` + instance or ``None`` to create one internally. + reference: index of the reference face for the internally created + :class:`FaceOrientationDetector` instance + + Raises: + NonManifoldError: non-manifold mesh + MultipleMeshesError: :class:`MeshBuilder` object contains multiple + disconnected meshes + + """ + if fod is None: + fod = FaceOrientationDetector(mesh, reference) + + def backward_selector(detector: FaceOrientationDetector): + return detector.backward + + return _unify_face_normals(mesh, fod, backward_selector) + + +def unify_face_normals_by_majority( + mesh: MeshBuilder, + *, + fod: Optional[FaceOrientationDetector] = None, +) -> MeshTransformer: + """Unifies the orientation of all faces of a :class:`MeshBuilder` object. + The forward orientation is defined by the orientation of the majority of + the faces. + This function can not process non-manifold meshes (more than two faces are + connected by a single edge) or multiple disconnected meshes in a single + :class:`MeshBuilder` object. + Returns always a copy of the source `mesh` as :class:`MeshTransformer` + object. + + Args: + mesh: source :class:`MeshBuilder` object + fod: an already created :class:`FaceOrientationDetector` + instance or ``None`` to create one internally. + + Raises: + NonManifoldError: non-manifold mesh + MultipleMeshesError: :class:`MeshBuilder` object contains multiple + disconnected meshes + + """ + if fod is None: + fod = FaceOrientationDetector(mesh) + + def backward_selector(detector: FaceOrientationDetector): + count0, count1 = detector.count + return detector.backward if count0 >= count1 else detector.forward + + return _unify_face_normals(mesh, fod, backward_selector) + + +def _unify_face_normals( + mesh: MeshBuilder, + fod: FaceOrientationDetector, + backward_selector, +) -> MeshTransformer: + """Unifies all faces of a MeshBuilder. The backward_selector() function + returns the face ledger which represents the backward oriented faces. + """ + if not fod.is_manifold: + raise NonManifoldMeshError("non-manifold mesh") + if not fod.all_reachable: + raise MultipleMeshesError( + f"not all faces are reachable from reference face #{fod.reference}" + ) + + new_mesh = MeshTransformer() + new_mesh.vertices = list(mesh.vertices) + if not fod.has_uniform_face_normals: + backward = backward_selector(fod) + faces = [] + for face in mesh.faces: + if id(face) in backward: + faces.append(tuple(reversed(face))) + else: + faces.append(tuple(face)) + new_mesh.faces = faces # type: ignore + else: + new_mesh.faces = list(mesh.faces) + return new_mesh + + +def _force_face_normals_pointing_outwards( + mesh: MeshBuilder, reference: int = 0 +) -> None: + """Detect the orientation of the reference face and flip all face normals + if required. + + Requirements: all face normals have to be unified and the mesh has a closed + surface + + """ + from ezdxf.math import is_face_normal_pointing_outwards + + faces = list(mesh.faces_as_vertices()) + reference_face = faces[reference] + if not is_face_normal_pointing_outwards(faces, reference_face): + mesh.flip_normals() + + +def normalize_mesh(mesh: MeshBuilder) -> MeshTransformer: + """Returns a new mesh with these properties: + + - one mesh: removes all meshes except the first mesh starting at the + first face + - optimized vertices: merges shared vertices + - normalized faces: removes duplicated face vertices and faces with less + than 3 vertices + - open faces: all faces are open faces where first vertex != last vertex + - unified face-orientation: all faces have the same orientation (ccw or cw) + - ccw face-orientation: all face-normals are pointing outwards if the + mesh has a closed surface + + Raises: + NonManifoldMeshError: non-manifold mesh + + """ + new_mesh = mesh.optimize_vertices() + new_mesh.normalize_faces() + fod = new_mesh.face_orientation_detector(reference=0) + + if not fod.is_manifold: + raise NonManifoldMeshError("non-manifold mesh") + + if not fod.all_reachable: # extract first mesh + new_mesh = list(separate_meshes(new_mesh))[0] + fod = new_mesh.face_orientation_detector(reference=0) + + if not fod.has_uniform_face_normals: + new_mesh = unify_face_normals_by_reference(new_mesh, fod=fod) + fod = new_mesh.face_orientation_detector() + + if fod.is_closed_surface and not fod.is_reference_face_pointing_outwards(): + new_mesh.flip_normals() + return new_mesh diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/render/mleader.py b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/render/mleader.py new file mode 100644 index 0000000000000000000000000000000000000000..05c0e0c160a2d492328c5d63b5d8966d436d3cbb --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/render/mleader.py @@ -0,0 +1,1637 @@ +# Copyright (c) 2021-2022, Manfred Moitzi +# License: MIT License +from __future__ import annotations +from typing import ( + Any, + Iterable, + Iterator, + Optional, + TYPE_CHECKING, + Union, + cast, +) +import abc +import math +import logging +import enum +from collections import defaultdict +from dataclasses import dataclass + +from ezdxf import colors +from ezdxf.math import ( + BoundingBox, + Matrix44, + NULLVEC, + OCS, + UCS, + UVec, + Vec2, + Vec3, + X_AXIS, + Z_AXIS, + fit_points_to_cad_cv, + is_point_left_of_line, +) +from ezdxf.entities import factory +from ezdxf.lldxf import const +from ezdxf.proxygraphic import ProxyGraphic +from ezdxf.render.arrows import ARROWS, arrow_length +from ezdxf.tools import text_size, text as text_tools +from ezdxf.entities.mleader import ( + AttribData, + BlockData, + LeaderData, + LeaderLine, + MLeaderContext, + MLeaderStyle, + MTextData, + MultiLeader, + acdb_mleader_style, +) + +if TYPE_CHECKING: + from ezdxf.document import Drawing + from ezdxf.layouts import BlockLayout + from ezdxf.entities import ( + DXFGraphic, + Insert, + MText, + Spline, + Textstyle, + ) + +__all__ = [ + "virtual_entities", + "MultiLeaderBuilder", + "MultiLeaderMTextBuilder", + "MultiLeaderBlockBuilder", + "ConnectionSide", + "HorizontalConnection", + "VerticalConnection", + "LeaderType", + "TextAlignment", + "BlockAlignment", +] + +logger = logging.getLogger("ezdxf") + +# How to render MLEADER: https://atlight.github.io/formats/dxf-leader.html +# DXF reference: +# http://help.autodesk.com/view/OARX/2018/ENU/?guid=GUID-72D20B8C-0F5E-4993-BEB7-0FCF94F32BE0 + +# AutoCAD and BricsCAD always (?) use values stored in the MULTILEADER +# entity, even if the override flag isn't set! +IGNORE_OVERRIDE_FLAGS = True + +# Distance between baseline and underline as factor of cap-height +# Just guessing but the descender height is too much! +UNDERLINE_DISTANCE_FACTOR = 0.20 + + +class ConnectionTypeError(const.DXFError): + pass + + +OVERRIDE_FLAG = { + "leader_type": 1 << 0, + "leader_line_color": 1 << 1, + "leader_linetype_handle": 1 << 2, + "leader_lineweight": 1 << 3, + "has_landing": 1 << 4, + "landing_gap": 1 << 5, # ??? not in MultiLeader + "has_dogleg": 1 << 6, + "dogleg_length": 1 << 7, + "arrow_head_handle": 1 << 8, + "arrow_head_size": 1 << 9, + "content_type": 1 << 10, + "text_style_handle": 1 << 11, + "text_left_attachment_type": 1 << 12, + "text_angle_type": 1 << 13, + "text_alignment_type": 1 << 14, + "text_color": 1 << 15, + "char_height": 1 << 16, # stored in MultiLeader.context.char_height + "has_text_frame": 1 << 17, + # 1 << 18 # use default content stored in MultiLeader.mtext.default_content + "block_record_handle": 1 << 19, + "block_color": 1 << 20, + "block_scale_vector": 1 << 21, # 3 values in MLeaderStyle + "block_rotation": 1 << 22, + "block_connection_type": 1 << 23, + "scale": 1 << 24, + "text_right_attachment_type": 1 << 25, + "text_switch_alignment": 1 << 26, # ??? not in MultiLeader/MLeaderStyle + "text_attachment_direction": 1 << 27, # this flag is not set by BricsCAD + "text_top_attachment_type": 1 << 28, + "text_bottom_attachment_type": 1 << 29, +} + + +class MLeaderStyleOverride: + def __init__(self, style: MLeaderStyle, mleader: MultiLeader): + self._style_dxf = style.dxf + self._mleader_dxf = mleader.dxf + self._context = mleader.context + self._property_override_flags = mleader.dxf.get( + "property_override_flags", 0 + ) + self._block_scale_vector = Vec3( + ( + style.dxf.get("block_scale_x", 1.0), + style.dxf.get("block_scale_y", 1.0), + style.dxf.get("block_scale_z", 1.0), + ) + ) + self.use_mtext_default_content = bool( + self._property_override_flags & (1 << 18) + ) # if False, what MTEXT content is used? + + def get(self, attrib_name: str) -> Any: + # Set MLEADERSTYLE value as default value: + if attrib_name == "block_scale_vector": + value = self._block_scale_vector + else: + value = self._style_dxf.get_default(attrib_name) + if IGNORE_OVERRIDE_FLAGS or self.is_overridden(attrib_name): + # Get overridden value from MULTILEADER: + if attrib_name == "char_height": + value = self._context.char_height + else: + value = self._mleader_dxf.get(attrib_name, value) + return value + + def is_overridden(self, attrib_name: str) -> bool: + flag = OVERRIDE_FLAG.get(attrib_name, 0) + return bool(flag & self._property_override_flags) + + +def virtual_entities( + mleader: MultiLeader, proxy_graphic=False +) -> Iterator[DXFGraphic]: + doc = mleader.doc + assert doc is not None, "valid DXF document required" + if proxy_graphic and mleader.proxy_graphic is not None: + return ProxyGraphic(mleader.proxy_graphic, doc).virtual_entities() + else: + return iter(RenderEngine(mleader, doc).run()) + + +def get_style(mleader: MultiLeader, doc: Drawing) -> MLeaderStyleOverride: + handle = mleader.dxf.style_handle + style = doc.entitydb.get(handle) + if style is None: + logger.warning( + f"referenced MLEADERSTYLE(#{handle}) does not exist, " + f"replaced by 'Standard'" + ) + style = doc.mleader_styles.get("Standard") + assert style is not None, "mandatory MLEADERSTYLE 'Standard' does not exist" + return MLeaderStyleOverride(cast(MLeaderStyle, style), mleader) + + +def get_text_style(handle: str, doc: Drawing) -> Textstyle: + text_style = doc.entitydb.get(handle) + if text_style is None: + logger.warning( + f"referenced STYLE(#{handle}) does not exist, " + f"replaced by 'Standard'" + ) + text_style = doc.styles.get("Standard") + assert text_style is not None, "mandatory STYLE 'Standard' does not exist" + return text_style # type: ignore + + +def get_arrow_direction(vertices: list[Vec3]) -> Vec3: + if len(vertices) < 2: + return X_AXIS + direction = vertices[1] - vertices[0] + return direction.normalize() + + +ACI_COLOR_TYPES = { + colors.COLOR_TYPE_BY_BLOCK, + colors.COLOR_TYPE_BY_LAYER, + colors.COLOR_TYPE_ACI, +} + + +def decode_raw_color(raw_color: int) -> tuple[int, Optional[int]]: + aci_color = colors.BYBLOCK + true_color: Optional[int] = None + color_type, color = colors.decode_raw_color_int(raw_color) + if color_type in ACI_COLOR_TYPES: + aci_color = color + elif color_type == colors.COLOR_TYPE_RGB: + true_color = color + # COLOR_TYPE_WINDOW_BG: not supported as entity color + return aci_color, true_color + + +def copy_mtext_data(mtext: MText, mtext_data: MTextData, scale: float) -> None: + # MLEADERSTYLE has a flag "use_mtext_default_content", what else should be + # used as content if this flag is false? + mtext.text = mtext_data.default_content + dxf = mtext.dxf + aci_color, true_color = decode_raw_color(mtext_data.color) + dxf.color = aci_color + if true_color is not None: + dxf.true_color = true_color + dxf.insert = mtext_data.insert + assert mtext.doc is not None + mtext.dxf.style = get_text_style( + mtext_data.style_handle, mtext.doc + ).dxf.name + if not mtext_data.extrusion.isclose(Z_AXIS): + dxf.extrusion = mtext_data.extrusion + dxf.text_direction = mtext_data.text_direction + # ignore rotation! + dxf.width = mtext_data.width * scale + dxf.line_spacing_factor = mtext_data.line_spacing_factor + dxf.line_spacing_style = mtext_data.line_spacing_style + dxf.flow_direction = mtext_data.flow_direction + # alignment=attachment_point: 1=top left, 2=top center, 3=top right + dxf.attachment_point = mtext_data.alignment + + +def make_mtext(mleader: MultiLeader) -> MText: + mtext = cast("MText", factory.new("MTEXT", doc=mleader.doc)) + mtext.dxf.layer = mleader.dxf.layer + context = mleader.context + mtext_data = context.mtext + if mtext_data is None: + raise TypeError(f"MULTILEADER has no MTEXT content") + scale = context.scale + # !char_height is the final already scaled value! + mtext.dxf.char_height = context.char_height + if mtext_data is not None: + copy_mtext_data(mtext, mtext_data, scale) + if mtext_data.has_bg_fill: + set_mtext_bg_fill(mtext, mtext_data) + set_mtext_columns(mtext, mtext_data, scale) + return mtext + + +def set_mtext_bg_fill(mtext: MText, mtext_data: MTextData) -> None: + # Note: the "text frame" flag (16) in "bg_fill" is never set by BricsCAD! + # Set required DXF attributes: + mtext.dxf.box_fill_scale = mtext_data.bg_scale_factor + mtext.dxf.bg_fill = 1 + mtext.dxf.bg_fill_color = colors.BYBLOCK + mtext.dxf.bg_fill_transparency = mtext_data.bg_transparency + color_type, color = colors.decode_raw_color_int(mtext_data.bg_color) + if color_type in ACI_COLOR_TYPES: + mtext.dxf.bg_fill_color = color + elif color_type == colors.COLOR_TYPE_RGB: + mtext.dxf.bg_fill_true_color = color + + if ( + mtext_data.use_window_bg_color + or color_type == colors.COLOR_TYPE_WINDOW_BG + ): + # override fill mode, but keep stored colors + mtext.dxf.bg_fill = 3 + + +def set_mtext_columns( + mtext: MText, mtext_data: MTextData, scale: float +) -> None: + # BricsCAD does not support columns for MTEXT content, so exploring + # MLEADER with columns was not possible! + pass + + +def _get_insert(entity: MultiLeader) -> Vec3: + context = entity.context + if context.mtext is not None: + return context.mtext.insert + elif context.block is not None: + return context.block.insert + return context.plane_origin + + +def _get_extrusion(entity: MultiLeader) -> Vec3: + context = entity.context + if context.mtext is not None: + return context.mtext.extrusion + elif context.block is not None: + return context.block.extrusion + return context.plane_z_axis + + +def _get_dogleg_vector(leader: LeaderData, default: Vec3 = X_AXIS) -> Vec3: + # All leader vertices and directions in WCS! + try: + if leader.has_dogleg_vector: # what else? + return leader.dogleg_vector.normalize(leader.dogleg_length) + except ZeroDivisionError: # dogleg_vector is NULL + pass + return default.normalize(leader.dogleg_length) + + +def _get_block_name(handle: str, doc: Drawing) -> Optional[str]: + block_record = doc.entitydb.get(handle) + if block_record is None: + logger.error(f"required BLOCK_RECORD entity #{handle} does not exist") + return None + return block_record.dxf.get("name") # has no default value + + +class RenderEngine: + def __init__(self, mleader: MultiLeader, doc: Drawing): + self.entities: list[DXFGraphic] = [] # result container + self.mleader = mleader + self.doc = doc + self.style: MLeaderStyleOverride = get_style(mleader, doc) + self.context = mleader.context + self.insert = _get_insert(mleader) + self.extrusion: Vec3 = _get_extrusion(mleader) + self.ocs: Optional[OCS] = None + if not self.extrusion.isclose(Z_AXIS): + self.ocs = OCS(self.extrusion) + self.elevation: float = self.insert.z + + # Gather final parameters from various places: + # This is the actual entity scaling, ignore scale in MLEADERSTYLE! + self.scale: float = self.context.scale + self.layer = mleader.dxf.layer + self.linetype = self.linetype_name() + self.lineweight = self.style.get("leader_lineweight") + aci_color, true_color = decode_raw_color( + self.style.get("leader_line_color") + ) + self.leader_aci_color: int = aci_color + self.leader_true_color: Optional[int] = true_color + self.leader_type: int = self.style.get("leader_type") + self.has_text_frame = False + self.has_dogleg: bool = bool(self.style.get("has_dogleg")) + self.arrow_heads: dict[int, str] = { + head.index: head.handle for head in mleader.arrow_heads + } + self.arrow_head_handle = self.style.get("arrow_head_handle") + self.dxf_mtext_entity: Optional["MText"] = None + self._dxf_mtext_extents: Optional[tuple[float, float]] = None + self.has_horizontal_attachment = bool( + self.style.get("text_attachment_direction") + ) + self.left_attachment_type = self.style.get("text_left_attachment_type") + self.right_attachment_type = self.style.get( + "text_right_attachment_type" + ) + self.top_attachment_type = self.style.get("text_top_attachment_type") + self.bottom_attachment_type = self.style.get( + "text_bottom_attachment_type" + ) + + @property + def has_extrusion(self) -> bool: + return self.ocs is not None + + @property + def has_text_content(self) -> bool: + return self.context.mtext is not None + + @property + def has_block_content(self) -> bool: + return self.context.block is not None + + @property + def mtext_extents(self) -> tuple[float, float]: + """Calculate MTEXT width on demand.""" + + if self._dxf_mtext_extents is not None: + return self._dxf_mtext_extents + if self.dxf_mtext_entity is not None: + # TODO: this is very inaccurate if using inline codes, better + # solution is required like a text layout engine with column width + # calculation from the MTEXT content. + width, height = text_size.estimate_mtext_extents( + self.dxf_mtext_entity + ) + else: + width, height = 0.0, 0.0 + self._dxf_mtext_extents = (width, height) + return self._dxf_mtext_extents + + def run(self) -> list[DXFGraphic]: + """Entry point to render MLEADER entities.""" + self.entities.clear() + if abs(self.scale) > 1e-9: + self.add_content() + self.add_leaders() + # otherwise it vanishes by scaling down to almost "nothing" + return self.entities + + def linetype_name(self) -> str: + handle = self.style.get("leader_linetype_handle") + ltype = self.doc.entitydb.get(handle) + if ltype is not None: + return ltype.dxf.name + logger.warning(f"invalid linetype handle #{handle} in {self.mleader}") + return "Continuous" + + def arrow_block_name(self, index: int) -> str: + closed_filled = "_CLOSED_FILLED" + handle = self.arrow_heads.get(index, self.arrow_head_handle) + if handle is None or handle == "0": + return closed_filled + block_record = self.doc.entitydb.get(handle) + if block_record is None: + logger.warning( + f"arrow block #{handle} in {self.mleader} does not exist, " + f"replaced by closed filled arrow" + ) + return closed_filled + return block_record.dxf.name + + def leader_line_attribs(self, raw_color: Optional[int] = None) -> dict: + aci_color = self.leader_aci_color + true_color = self.leader_true_color + + # Ignore color override value BYBLOCK! + if raw_color and raw_color is not colors.BY_BLOCK_RAW_VALUE: + aci_color, true_color = decode_raw_color(raw_color) + + attribs = { + "layer": self.layer, + "color": aci_color, + "linetype": self.linetype, + "lineweight": self.lineweight, + } + if true_color is not None: + attribs["true_color"] = true_color + return attribs + + def add_content(self) -> None: + # also check self.style.get("content_type") ? + if self.has_text_content: + self.add_mtext_content() + elif self.has_block_content: + self.add_block_content() + + def add_mtext_content(self) -> None: + mtext = make_mtext(self.mleader) + self.entities.append(mtext) + self.dxf_mtext_entity = mtext + if self.has_text_frame: + self.add_text_frame() + + def add_text_frame(self) -> None: + # not supported - yet? + # 1. This requires a full MTEXT height calculation. + # 2. Only the default rectangle and the rounded rectangle are + # acceptable every other text frame is just ugly, especially + # when the MTEXT gets more complex. + pass + + def add_block_content(self) -> None: + block = self.context.block + assert block is not None + block_name = _get_block_name(block.block_record_handle, self.doc) # type: ignore + if block_name is None: + return + location = block.insert # in WCS, really funny for an OCS entity! + rotation = math.degrees(block.rotation) + if self.ocs is not None: + location = self.ocs.from_wcs(location) + aci_color, true_color = decode_raw_color(block.color) + scale = block.scale + + attribs = { + "name": block_name, + "insert": location, + "rotation": rotation, + "color": aci_color, + "extrusion": block.extrusion, + "xscale": scale.x, + "yscale": scale.y, + "zscale": scale.z, + } + if true_color is not None: + attribs["true_color"] = true_color + insert = cast( + "Insert", factory.new("INSERT", dxfattribs=attribs, doc=self.doc) + ) + self.entities.append(insert) + if self.mleader.block_attribs: + self.add_block_attributes(insert) + + def add_block_attributes(self, insert: Insert): + entitydb = self.doc.entitydb + values: dict[str, str] = dict() + for attrib in self.mleader.block_attribs: + attdef = entitydb.get(attrib.handle) + if attdef is None: + logger.error( + f"required ATTDEF entity #{attrib.handle} does not exist" + ) + continue + tag = attdef.dxf.tag + values[tag] = attrib.text + if values: + insert.add_auto_attribs(values) + + def add_leaders(self) -> None: + if self.leader_type == 0: + return + + for leader in self.context.leaders: + for line in leader.lines: + self.add_leader_line(leader, line) + + if self.has_text_content: + if leader.has_horizontal_attachment: + # add text underlines for these horizontal attachment styles: + # 5 = bottom of bottom text line & underline bottom text line + # 6 = bottom of top text line & underline top text line + self.add_text_underline(leader) + else: + # text with vertical attachment may have an extra "overline" + # across the text + self.add_overline(leader) + + def add_text_underline(self, leader: LeaderData): + mtext = self.context.mtext + if mtext is None: + return + has_left_underline = self.left_attachment_type in (5, 6, 8) + has_right_underline = self.right_attachment_type in (5, 6, 8) + if not (has_left_underline or has_right_underline): + return + connection_point = leader.last_leader_point + _get_dogleg_vector(leader) + width, height = self.mtext_extents + length = width + self.context.landing_gap_size + if length < 1e-9: + return + # The connection point is on the "left" or "right" side of the + # detection line, which is a "vertical" line through the text + # insertion point. + start = mtext.insert + if self.ocs is None: # text plane is parallel to the xy-plane + start2d = start.vec2 + up2d = mtext.text_direction.vec2.orthogonal() + cp2d = connection_point.vec2 + else: # project points into the text plane + from_wcs = self.ocs.from_wcs + start2d = Vec2(from_wcs(start)) + up2d = Vec2(from_wcs(mtext.text_direction)).orthogonal() + cp2d = Vec2(from_wcs(connection_point)) + is_left = is_point_left_of_line(cp2d, start2d, start2d + up2d) + is_right = not is_left + line = mtext.text_direction.normalize(length if is_left else -length) + if (is_left and has_left_underline) or ( + is_right and has_right_underline + ): + self.add_dxf_line(connection_point, connection_point + line) + + def add_overline(self, leader: LeaderData): + mtext = self.context.mtext + if mtext is None: + return + has_bottom_line = self.bottom_attachment_type == 10 + has_top_line = self.top_attachment_type == 10 + if not (has_bottom_line or has_top_line): + return + length, height = self.mtext_extents + if length < 1e-9: + return + + # The end of the leader is the center of the "overline". + # The leader is on the bottom of the text if the insertion + # point of the text is left of "overline" (start -> end). + center = leader.last_leader_point + insert = mtext.insert + line2 = mtext.text_direction.normalize(length / 2) + start = center - line2 + end = center + line2 + + if self.ocs is None: # z-axis is ignored + bottom = is_point_left_of_line(insert, start, end) + else: # project points into the text plane, z-axis is ignored + from_wcs = self.ocs.from_wcs + bottom = is_point_left_of_line( + from_wcs(insert), from_wcs(start), from_wcs(end) + ) + top = not bottom + if (bottom and has_bottom_line) or (top and has_top_line): + self.add_dxf_line(start, end) + + def leader_vertices( + self, leader: LeaderData, line_vertices: list[Vec3], has_dogleg=False + ) -> list[Vec3]: + # All leader vertices and directions in WCS! + vertices = list(line_vertices) + end_point = leader.last_leader_point + if leader.has_horizontal_attachment: + if has_dogleg: + vertices.append(end_point) + vertices.append(end_point + _get_dogleg_vector(leader)) + else: + vertices.append(end_point) + return vertices + + def add_leader_line(self, leader: LeaderData, line: LeaderLine): + # All leader vertices and directions in WCS! + leader_type: int = self.leader_type + if leader_type == 0: # invisible leader lines + return + has_dogleg: bool = self.has_dogleg + if leader_type == 2: # splines do not have a dogleg! + has_dogleg = False + vertices: list[Vec3] = self.leader_vertices( + leader, line.vertices, has_dogleg + ) + if len(vertices) < 2: # at least 2 vertices required + return + + arrow_direction: Vec3 = get_arrow_direction(vertices) + raw_color: int = line.color + index: int = line.index + block_name: str = self.create_arrow_block(self.arrow_block_name(index)) + arrow_size: float = self.context.arrow_head_size + self.add_arrow( + name=block_name, + location=vertices[0], + direction=arrow_direction, + scale=arrow_size, + color=raw_color, + ) + arrow_offset: Vec3 = arrow_direction * arrow_length( + block_name, arrow_size + ) + vertices[0] += arrow_offset + if leader_type == 1: # add straight lines + for s, e in zip(vertices, vertices[1:]): + self.add_dxf_line(s, e, raw_color) + elif leader_type == 2: # add spline + if leader.has_horizontal_attachment: + end_tangent = _get_dogleg_vector(leader) + else: + end_tangent = vertices[-1] - vertices[-2] + self.add_dxf_spline( + vertices, + # tangent normalization is not required + tangents=[arrow_direction, end_tangent], + color=raw_color, + ) + + def create_arrow_block(self, name: str) -> str: + if name not in self.doc.blocks: + # create predefined arrows + arrow_name = ARROWS.arrow_name(name) + if arrow_name not in ARROWS: + arrow_name = ARROWS.closed_filled + name = ARROWS.create_block(self.doc.blocks, arrow_name) + return name + + def add_dxf_spline( + self, + fit_points: list[Vec3], + tangents: Optional[Iterable[UVec]] = None, + color: Optional[int] = None, + ): + attribs = self.leader_line_attribs(color) + spline = cast( + "Spline", + factory.new("SPLINE", dxfattribs=attribs, doc=self.doc), + ) + spline.apply_construction_tool( + fit_points_to_cad_cv(fit_points, tangents=tangents) + ) + self.entities.append(spline) + + def add_dxf_line(self, start: Vec3, end: Vec3, color: Optional[int] = None): + attribs = self.leader_line_attribs(color) + attribs["start"] = start + attribs["end"] = end + self.entities.append( + factory.new("LINE", dxfattribs=attribs, doc=self.doc) # type: ignore + ) + + def add_arrow( + self, + name: str, + location: Vec3, + direction: Vec3, + scale: float, + color: int, + ): + attribs = self.leader_line_attribs(color) + attribs["name"] = name + if self.ocs is not None: + location = self.ocs.from_wcs(location) + direction = self.ocs.from_wcs(direction) + attribs["extrusion"] = self.extrusion + + attribs["insert"] = location + attribs["rotation"] = direction.angle_deg + 180.0 + attribs["xscale"] = scale + attribs["yscale"] = scale + attribs["zscale"] = scale + self.entities.append( + factory.new("INSERT", dxfattribs=attribs, doc=self.doc) # type: ignore + ) + + +class LeaderType(enum.IntEnum): + """The leader type.""" + + none = 0 + straight_lines = 1 + splines = 2 + + +# noinspection PyArgumentList +class ConnectionSide(enum.Enum): + """ + The leader connection side. + + Vertical (top, bottom) and horizontal attachment sides (left, right) + can not be mixed in a single entity - this is a limitation of the + MULTILEADER entity. + """ + + left = enum.auto() + right = enum.auto() + top = enum.auto() + bottom = enum.auto() + + +DOGLEG_DIRECTIONS = { + ConnectionSide.left: X_AXIS, + ConnectionSide.right: -X_AXIS, + ConnectionSide.top: -X_AXIS, # ??? + ConnectionSide.bottom: X_AXIS, # ??? +} + + +class HorizontalConnection(enum.IntEnum): + """The horizontal leader connection type.""" + + by_style = -1 + top_of_top_line = 0 + middle_of_top_line = 1 + middle_of_text = 2 + middle_of_bottom_line = 3 + bottom_of_bottom_line = 4 + bottom_of_bottom_line_underline = 5 + bottom_of_top_line_underline = 6 + bottom_of_top_line = 7 + bottom_of_top_line_underline_all = 8 + + +class VerticalConnection(enum.IntEnum): + """The vertical leader connection type.""" + + by_style = 0 + center = 9 + center_overline = 10 + + +class TextAlignment(enum.IntEnum): + """The :class:`MText` alignment type.""" + + left = 1 + center = 2 + right = 3 + + +class BlockAlignment(enum.IntEnum): + """The :class:`Block` alignment type.""" + + center_extents = 0 + insertion_point = 1 + + +@dataclass +class ConnectionBox: + """Contains the connection points for all 4 sides of the content, the + landing gap is included. + """ + + left: Vec2 + right: Vec2 + top: Vec2 + bottom: Vec2 + + def get(self, side: ConnectionSide) -> Vec2: + if side == ConnectionSide.left: + return self.left + elif side == ConnectionSide.right: + return self.right + elif side == ConnectionSide.top: + return self.top + return self.bottom + + +def ocs_rotation(ucs: UCS) -> float: + """Returns the ocs rotation angle of the UCS""" + if not Z_AXIS.isclose(ucs.uz): + ocs = OCS(ucs.uz) + x_axis_in_ocs = Vec2(ocs.from_wcs(ucs.ux)) + return x_axis_in_ocs.angle # in radians! + return 0.0 + + +class MultiLeaderBuilder(abc.ABC): + def __init__(self, multileader: MultiLeader): + doc = multileader.doc + assert doc is not None, "valid DXF document required" + handle = multileader.dxf.style_handle + style: MLeaderStyle = doc.entitydb.get(handle) # type: ignore + if style is None: + raise ValueError(f"invalid MLEADERSTYLE handle #{handle}") + self._doc: "Drawing" = doc + self._mleader_style: MLeaderStyle = style + self._multileader = multileader + self._leaders: dict[ConnectionSide, list[list[Vec2]]] = defaultdict( + list + ) + self.set_mleader_style(style) + self._multileader.context.landing_gap_size = ( + self._mleader_style.dxf.landing_gap_size + ) + + @abc.abstractmethod + def _init_content(self): + ... + + def _reset_cache(self): + pass + + @abc.abstractmethod + def _build_connection_box(self) -> ConnectionBox: + """Returns the connection box with the connection points on all 4 sides + in build UCS coordinates. The origin of the build ucs is the insertion + or attachment point of the content. + """ + ... + + @abc.abstractmethod + def _transform_content_to_render_ucs( + self, insert: Vec2, rotation: float + ) -> None: + ... + + @abc.abstractmethod + def _apply_conversion_factor(self, conversion_factor: float) -> None: + ... + + @abc.abstractmethod + def _set_base_point(self, left: Vec3, bottom: Vec3): + ... + + @property + def multileader(self) -> MultiLeader: + """Returns the :class:`~ezdxf.entities.MultiLeader` entity.""" + return self._multileader + + @property + def context(self) -> MLeaderContext: + """Returns the context entity :class:`~ezdxf.entities.MLeaderContext`.""" + return self._multileader.context + + @property + def _landing_gap_size(self) -> float: + return self._multileader.context.landing_gap_size + + def set_mleader_style(self, style: MLeaderStyle): + """Reset base properties by :class:`~ezdxf.entities.MLeaderStyle` + properties. This also resets the content! + """ + + def copy_style_to_context(): + self.context.char_height = style_dxf.char_height + self.context.landing_gap_size = style_dxf.landing_gap_size + + self._mleader_style = style + multileader_dxf = self._multileader.dxf + style_dxf = style.dxf + keys = list(acdb_mleader_style.attribs.keys()) + for key in keys: + if multileader_dxf.is_supported(key): + multileader_dxf.set(key, style_dxf.get_default(key)) + copy_style_to_context() + multileader_dxf.block_scale_vector = Vec3( + style_dxf.block_scale_x, + style_dxf.block_scale_y, + style_dxf.block_scale_z, + ) + # MLEADERSTYLE contains unscaled values + self.context.set_scale(multileader_dxf.scale) + self._init_content() + + def set_connection_properties( + self, + landing_gap: float = 0.0, # unscaled value! + dogleg_length: float = 0.0, # unscaled value! + ): + """Set the properties how to connect the leader line to the content. + + The landing gap is the space between the content and the start of the + leader line. The "dogleg" is the first line segment of the leader + in the "horizontal" direction of the content. + + """ + multileader = self.multileader + scale = multileader.dxf.scale + if dogleg_length: + multileader.dxf.has_dogleg = 1 + multileader.dxf.dogleg_length = dogleg_length * scale + else: + multileader.dxf.has_dogleg = 0 + multileader.context.landing_gap_size = landing_gap * scale + + def set_connection_types( + self, + left=HorizontalConnection.by_style, + right=HorizontalConnection.by_style, + top=VerticalConnection.by_style, + bottom=VerticalConnection.by_style, + ): + """Set the connection type for each connection side.""" + context = self.context + style = self._mleader_style + if left == HorizontalConnection.by_style: + context.left_attachment = style.dxf.text_left_attachment_type + else: + context.left_attachment = int(left) + + if right == HorizontalConnection.by_style: + context.right_attachment = style.dxf.text_right_attachment_type + else: + context.right_attachment = int(right) + + if top == VerticalConnection.by_style: + context.top_attachment = style.dxf.text_top_attachment_type + else: + context.top_attachment = int(top) + + if bottom == VerticalConnection.by_style: + context.bottom_attachment = style.dxf.text_bottom_attachment_type + else: + context.bottom_attachment = int(bottom) + + dxf = self._multileader.dxf + dxf.text_left_attachment_type = context.left_attachment + dxf.text_right_attachment_type = context.right_attachment + dxf.text_top_attachment_type = context.top_attachment + dxf.text_bottom_attachment_type = context.bottom_attachment + + def set_overall_scaling(self, scale: float): + """Set the overall scaling factor for the whole entity, + except for the leader line vertices! + + Args: + scale: scaling factor > 0.0 + + """ + new_scale = float(scale) + if new_scale <= 0.0: + raise ValueError(f"invalid scaling factor: {scale}") + context = self.context + multileader = self.multileader + old_scale = multileader.dxf.scale + try: + # convert from existing scaling to new scale factor + conversion_factor = new_scale / old_scale + except ZeroDivisionError: + conversion_factor = new_scale + + multileader.dxf.scale = new_scale + multileader.dxf.dogleg_length *= conversion_factor + context.set_scale(new_scale) + self._apply_conversion_factor(conversion_factor) + + def set_leader_properties( + self, + color: Union[int, colors.RGB] = colors.BYBLOCK, + linetype: str = "BYBLOCK", + lineweight: int = const.LINEWEIGHT_BYBLOCK, + leader_type=LeaderType.straight_lines, + ): + """Set leader line properties. + + Args: + color: line color as :ref:`ACI` or RGB tuple + linetype: as name string, e.g. "BYLAYER" + lineweight: as integer value, see: :ref:`lineweights` + leader_type: straight lines of spline type + + """ + mleader = self._multileader + mleader.dxf.leader_line_color = colors.encode_raw_color(color) + linetype_ = self._doc.linetypes.get(linetype) + if linetype_ is None: + raise ValueError(f"invalid linetype name '{linetype}'") + mleader.dxf.leader_linetype_handle = linetype_.dxf.handle + mleader.dxf.leader_lineweight = lineweight + mleader.dxf.leader_type = int(leader_type) + + def set_arrow_properties( + self, + name: str = "", + size: float = 0.0, # 0=by style + ): + """Set leader arrow properties all leader lines have the same arrow + type. + + The MULTILEADER entity is able to support multiple arrows, but this + seems to be unsupported by CAD applications and is therefore also not + supported by the builder classes. + + """ + if size == 0.0: + size = self._mleader_style.dxf.arrow_head_size + self._multileader.dxf.arrow_head_size = size + self.context.arrow_head_size = size + if name: + self._multileader.dxf.arrow_head_handle = ARROWS.arrow_handle( + self._doc.blocks, name + ) + else: + # empty string is the default "closed filled" arrow, + # no handle needed + del self._multileader.dxf.arrow_head_handle + + def add_leader_line( + self, side: ConnectionSide, vertices: Iterable[Vec2] + ) -> None: + """Add leader as iterable of vertices in render UCS coordinates + (:ref:`WCS` by default). + + .. note:: + + Vertical (top, bottom) and horizontal attachment sides (left, right) + can not be mixed in a single entity - this is a limitation of the + MULTILEADER entity. + + Args: + side: connection side where to attach the leader line + vertices: leader vertices + + """ + self._leaders[side].append(list(vertices)) + + def build( + self, insert: Vec2, rotation: float = 0.0, ucs: Optional[UCS] = None + ) -> None: + """Compute the required geometry data. The construction plane is + the xy-plane of the given render :class:`~ezdxf.math.UCS`. + + Args: + insert: insert location for the content in render UCS coordinates + rotation: content rotation angle around the render UCS z-axis in degrees + ucs: the render :class:`~ezdxf.math.UCS`, default is the :ref:`WCS` + + """ + assert isinstance(insert, Vec2), "insert has to be a Vec2() object" + rotation = math.radians(rotation) + # transformation matrix from build ucs to render ucs + m = Matrix44.z_rotate(rotation) + connection_box = self._build_connection_box() + m.set_row(3, (insert.x, insert.y)) # fast translation + + self._set_required_multileader_attributes() + self._transform_content_to_render_ucs(insert, rotation) + self._set_attachment_direction() + self._set_base_point( # MTEXT requires "text_attachment_direction" + left=m.transform(connection_box.left.vec3), + bottom=m.transform(connection_box.bottom.vec3), + ) + self.context.leaders.clear() + + for side, leader_lines in self._leaders.items(): + self._build_leader(leader_lines, side, connection_box.get(side), m) + if ucs is not None: + self._transform_to_wcs(ucs) + self.multileader.update_proxy_graphic() + + def _set_attachment_direction(self): + leaders = self._leaders + if leaders: + horizontal = (ConnectionSide.left in leaders) or ( + ConnectionSide.right in leaders + ) + vertical = (ConnectionSide.top in leaders) or ( + ConnectionSide.bottom in leaders + ) + if horizontal and vertical: + raise ConnectionTypeError( + "invalid mix of horizontal and vertical connection types" + ) + self._multileader.dxf.text_attachment_direction = ( + 0 if horizontal else 1 + ) + if vertical: + self._multileader.dxf.has_dogleg = False + # else MULTILEADER without any leader lines! + + def _transform_to_wcs(self, ucs: UCS) -> None: + # transformation from render UCS into WCS + self.multileader.transform(ucs.matrix) + + def _set_required_multileader_attributes(self): + dxf = self.multileader.dxf + doc = self._doc + handle = dxf.get("leader_linetype_handle") + if handle is None or handle not in doc.entitydb: + linetype = doc.linetypes.get("BYLAYER") + if linetype is None: + raise ValueError(f"required linetype 'BYLAYER' does not exist") + dxf.leader_linetype_handle = linetype.dxf.handle + dxf.property_override_flags = 0x7FFFFFFF + + def _build_leader( + self, + leader_lines: list[list[Vec2]], + side: ConnectionSide, + connection_point: Vec2, + m: Matrix44, + ): + # The content is always aligned to the x- and y-axis of the build UCS! + + # The dogleg vector points to the content: + dogleg_direction = DOGLEG_DIRECTIONS[side] + leader = LeaderData() + leader.index = len(self.context.leaders) + + # dogleg_length is the already scaled length! + leader.dogleg_length = float(self._multileader.dxf.dogleg_length) + leader.has_dogleg_vector = 1 # ignored by AutoCAD/BricsCAD + leader.has_last_leader_line = ( + 1 # leader is invisible in AutoCAD if 0 ... + ) + # flag is ignored by BricsCAD + leader.dogleg_vector = dogleg_direction + if side == ConnectionSide.left or side == ConnectionSide.right: + leader.attachment_direction = 0 + else: + leader.attachment_direction = 1 + + # setting last leader point: + # landing gap is already included in connection box + if self.multileader.dxf.has_dogleg: + leader.last_leader_point = connection_point.vec3 + ( + dogleg_direction * -leader.dogleg_length + ) + else: + leader.last_leader_point = connection_point.vec3 + + # transform leader from build ucs to user UCS + leader.last_leader_point = m.transform(leader.last_leader_point) + leader.dogleg_vector = m.transform_direction(leader.dogleg_vector) + + # leader line vertices in user UCS coordinates! + self._append_leader_lines(leader, leader_lines) + self.context.leaders.append(leader) + + @staticmethod + def _append_leader_lines( + leader: LeaderData, leader_lines: list[list[Vec2]] + ) -> None: + for index, vertices in enumerate(leader_lines): + line = LeaderLine() + line.index = index + line.vertices = Vec3.list(vertices) + leader.lines.append(line) + + +# TODO: MultiLeaderBuilder & MText horizontal connection type 6 issue in BricsCAD +# 6 = "underline the bottom of the top line" +# This connection is not rendered correct in BricsCAD, the rendering in AutoCAD +# is OK, also the rendering by the ezdxf multileader RenderEngine. +# Maybe an error in BricsCAD. +# BricsCAD can create correct MULTILEADER entities with this connection type but +# I couldn't find the difference in the DXF tags which causes this issue. + + +class MultiLeaderMTextBuilder(MultiLeaderBuilder): + def _init_content(self): + self._reset_cache() + context = self.context + style = self._mleader_style + mleader = self._multileader + + # reset content type + mleader.dxf.content_type = 2 + context.block = None + + # create default mtext content + mtext = MTextData() + context.mtext = mtext + + mtext.default_content = style.dxf.default_text_content + mtext.style_handle = mleader.dxf.text_style_handle + mtext.color = mleader.dxf.text_color + mtext.alignment = mleader.dxf.text_attachment_point + + # The char height is stored in MLeader Context()! + # The content dimensions (width, height) are not calculated yet, + # therefore scaling is not necessary! + + def set_content( + self, + content: str, + color: Optional[ + Union[int, colors.RGB] + ] = None, # None = uses MLEADERSTYLE value + char_height: float = 0.0, # unscaled char height, 0.0 is by style + alignment: TextAlignment = TextAlignment.left, + style: str = "", + ): + """Set MTEXT content. + + Args: + content: MTEXT content as string + color: block color as :ref:`ACI` or RGB tuple + char_height: initial char height in drawing units + alignment: :class:`TextAlignment` - left, center, right + style: name of :class:`~ezdxf.entities.Textstyle` as string + + """ + mleader = self._multileader + context = self.context + # update MULTILEADER DXF namespace + if color is not None: + mleader.dxf.text_color = colors.encode_raw_color(color) + mleader.dxf.text_attachment_point = int(alignment) + self._init_content() + # following attributes are not stored in the MULTILEADER DXF namespace + assert context.mtext is not None + context.mtext.default_content = text_tools.escape_dxf_line_endings( + content + ) + if char_height: + context.char_height = char_height * self.multileader.dxf.scale + if style: + self._set_mtext_style(style) + + def _set_mtext_style(self, name: str): + style = self._doc.styles.get(name) + if style is not None: + self._multileader.dxf.text_style_handle = style.dxf.handle + assert self.context.mtext is not None + self.context.mtext.style_handle = style.dxf.handle + else: + raise ValueError(f"text style '{name}' does not exist") + + def _build_connection_box(self) -> ConnectionBox: + """Returns the connection box with the connection points on all 4 sides + in build UCS coordinates. The origin of the build ucs is the attachment + point of the MTEXT content. + """ + + def get_left_x() -> float: + assert mtext is not None # shut-up mypy!!!! + # relative to the attachment point + x = -gap # left + if mtext.alignment == 2: # center + x = -width * 0.5 - gap + elif mtext.alignment == 3: # right + x = -width - gap + return x + + def vertical_connection_height( + connection: HorizontalConnection, + ) -> float: + underline_distance = char_height * UNDERLINE_DISTANCE_FACTOR + if connection == HorizontalConnection.middle_of_top_line: + return -char_height * 0.5 + elif connection == HorizontalConnection.middle_of_text: + return -height * 0.5 + elif connection == HorizontalConnection.middle_of_bottom_line: + return -height + char_height * 0.5 + elif connection in ( + HorizontalConnection.bottom_of_bottom_line, + HorizontalConnection.bottom_of_bottom_line_underline, + ): + return -height - underline_distance + elif connection in ( + HorizontalConnection.bottom_of_top_line, + HorizontalConnection.bottom_of_top_line_underline, + HorizontalConnection.bottom_of_top_line_underline_all, + ): + return -char_height - underline_distance + return 0.0 + + context = self.context + mtext = context.mtext + assert isinstance(mtext, MTextData), "undefined MTEXT content" + left_attachment = HorizontalConnection(context.left_attachment) + right_attachment = HorizontalConnection(context.right_attachment) + char_height = context.char_height # scaled value! + gap = context.landing_gap_size # scaled value! + + width: float + height: float + # required data: context.scale, context.char_height + entity = make_mtext(self._multileader) + if text_tools.has_inline_formatting_codes(entity.text): + size = text_size.mtext_size(entity) + width = size.total_width + height = size.total_height + else: + width, height = text_size.estimate_mtext_extents(entity) + + left_x = get_left_x() + right_x = left_x + width + 2.0 * gap + center_x = (left_x + right_x) * 0.5 + + # Connection box in build UCS coordinates: + return ConnectionBox( + left=Vec2(left_x, vertical_connection_height(left_attachment)), + right=Vec2(right_x, vertical_connection_height(right_attachment)), + top=Vec2(center_x, gap), + bottom=Vec2(center_x, -height - gap), + ) + + def _transform_content_to_render_ucs( + self, insert: Vec2, rotation: float + ) -> None: + mtext = self.context.mtext + assert mtext is not None + mtext.extrusion = Z_AXIS + mtext.insert = Vec3(insert) + mtext.text_direction = X_AXIS.rotate(rotation) + # todo: text_angle_type? + mtext.rotation = rotation + + def _apply_conversion_factor(self, conversion_factor: float) -> None: + mtext = self.context.mtext + assert mtext is not None + mtext.apply_conversion_factor(conversion_factor) + + def quick_leader( + self, + content: str, + target: Vec2, + segment1: Vec2, + segment2: Optional[Vec2] = None, + connection_type: Union[ + HorizontalConnection, VerticalConnection + ] = HorizontalConnection.middle_of_top_line, + ucs: Optional[UCS] = None, + ) -> None: + """Creates a quick MTEXT leader. The `target` point defines where the + leader points to. + The `segment1` is the first segment of the leader line relative to the + `target` point, `segment2` is an optional second line segment relative + to the first line segment. + The `connection_type` defines the type of connection (horizontal or + vertical) and the MTEXT alignment (left, center or right). + Horizontal connections are always left or right aligned, vertical + connections are always center aligned. + + Args: + content: MTEXT content string + target: leader target point as :class:`Vec2` + segment1: first leader line segment as relative distance to `insert` + segment2: optional second leader line segment as relative distance to + first line segment + connection_type: one of :class:`HorizontalConnection` or + :class:`VerticalConnection` + ucs: the rendering :class:`~ezdxf.math.UCS`, default is the :ref:`WCS` + + """ + offset = segment1 + if segment2 is not None: + offset += segment2 + if isinstance(connection_type, VerticalConnection): + alignment = TextAlignment.center + else: + alignment = ( + TextAlignment.right if offset.x <= 0.0 else TextAlignment.left + ) + # Use text color and char height defined by the associated MLEADERSTYLE. + self.set_content(content, alignment=alignment) + + # Build a connection box to compute the required MTEXT movement. + move_text_x: float # relative x-movement of MTEXT from insert location + move_text_y: float # relative y-movement of MTEXT from insert location + side: ConnectionSide # left, right, top, bottom + has_dogleg = bool(self.multileader.dxf.has_dogleg) + connection_box = self._build_connection_box() + if isinstance(connection_type, HorizontalConnection): + move_text_x = 0.0 # MTEXT is aligned to the insert location + if offset.x <= 0.0: + side = ConnectionSide.right + move_text_y = -connection_box.right.y # opposite direction + else: + side = ConnectionSide.left + move_text_y = -connection_box.left.y # opposite direction + self.set_connection_types( + left=connection_type, + right=connection_type, + ) + elif isinstance(connection_type, VerticalConnection): + # vertical connection never have doglegs! + has_dogleg = False + move_text_x = 0.0 # MTEXT is centered to the insert location + if offset.y >= 0.0: + side = ConnectionSide.bottom + move_text_y = -connection_box.bottom.y # opposite direction + else: + side = ConnectionSide.top + move_text_y = -connection_box.top.y # opposite direction + self.set_connection_types( + top=connection_type, + bottom=connection_type, + ) + else: + raise ValueError("invalid connection type") + + # Build the leader lines. + points = [target] + if segment2 is not None: + points.append(target + segment1) + self.add_leader_line(side, points) + + # The dogleg_length and gap are already scaled! + dogleg_length = float(self._multileader.dxf.dogleg_length) + gap = self._landing_gap_size + last_leader_point = target + offset + dogleg_direction = DOGLEG_DIRECTIONS[side] + if has_dogleg: + last_segment = dogleg_direction * (dogleg_length + gap) + else: + last_segment = Vec2() + insert = ( + last_leader_point + last_segment + Vec2(move_text_x, move_text_y) + ) + self.build(insert, ucs=ucs) + + def _set_base_point(self, left: Vec3, bottom: Vec3): + if self._multileader.dxf.text_attachment_direction == 0: # horizontal + self.context.base_point = left + else: # vertical + self.context.base_point = bottom + + +class MultiLeaderBlockBuilder(MultiLeaderBuilder): + def __init__(self, multileader: MultiLeader): + super().__init__(multileader) + self._block_layout: Optional["BlockLayout"] = None # cache + self._extents = BoundingBox() # cache + + def _init_content(self): + self._reset_cache() + + context = self.context + multileader = self._multileader + + # set content type + multileader.dxf.content_type = 1 + context.mtext = None + + # create default block content + block = BlockData() + context.block = block + + block.block_record_handle = multileader.dxf.block_record_handle + # final scaling factors for the INSERT entity: + block.scale = multileader.dxf.block_scale_vector * context.scale + block.rotation = multileader.dxf.block_rotation + block.color = multileader.dxf.block_color + + def _reset_cache(self): + super()._reset_cache() + self._block_layout = None + self._extents = BoundingBox() + + @property + def block_layout(self) -> "BlockLayout": + """Returns the block layout.""" + if self._block_layout is not None: + return self._block_layout + + block = self.context.block + assert isinstance(block, BlockData), "undefined BLOCK content" + + handle = block.block_record_handle + block_record = self._doc.entitydb.get(handle) # type: ignore + if block_record is None: + raise ValueError(f"invalid BLOCK_RECORD handle #{handle}") + name = block_record.dxf.name + block_layout = self._doc.blocks.get(name) + if block_layout is None: + raise ValueError( + f"BLOCK '{name}' defined by {str(block_record)} not found" + ) + self._block_layout = block_layout + return block_layout + + @property + def extents(self) -> BoundingBox: + """Returns the bounding box of the block.""" + if not self._extents.has_data: + from ezdxf import bbox + + block_layout = self.block_layout + extents = bbox.extents( + e for e in block_layout if e.dxftype() != "ATTDEF" + ) + if not extents.has_data: + extents.extend([NULLVEC]) + self._extents = extents + return self._extents + + def _build_connection_box(self) -> ConnectionBox: + """Returns the connection box with the connection points on all 4 sides + in build UCS coordinates. The origin of the build ucs is the insertion + point of the BLOCK content. + """ + # ignore the landing gap for BLOCK content + block = self.context.block + assert isinstance(block, BlockData), "undefined BLOCK content" + + block_connection_type = self._multileader.dxf.block_connection_type + block_layout = self.block_layout + extents = self.extents + sx = block.scale.x + sy = block.scale.y + width2 = extents.size.x * 0.5 * sx + height2 = extents.size.y * 0.5 * sx + base_x = block_layout.base_point.x * sx + base_y = block_layout.base_point.y * sy + center_x = extents.center.x * sx - base_x + center_y = extents.center.y * sy - base_y + + if block_connection_type == BlockAlignment.center_extents: + # adjustment of the insert point is required! + block.insert = Vec3(-center_x, -center_y, 0) + center_x = 0.0 + center_y = 0.0 + return ConnectionBox( + left=Vec2(center_x - width2, center_y), + right=Vec2(center_x + width2, center_y), + top=Vec2(center_x, center_y + height2), + bottom=Vec2(center_x, center_y - height2), + ) + + def _transform_content_to_render_ucs(self, insert: Vec2, rotation: float): + block = self.context.block + assert isinstance(block, BlockData), "undefined BLOCK content" + block.extrusion = Z_AXIS + block.insert = block.insert.rotate(rotation) + Vec3(insert) + block.rotation = rotation + + def _apply_conversion_factor(self, conversion_factor: float) -> None: + block = self.context.block + assert isinstance(block, BlockData), "undefined BLOCK content" + block.apply_conversion_factor(conversion_factor) + + def set_content( + self, + name: str, # block name + color: Union[int, colors.RGB] = colors.BYBLOCK, + scale: float = 1.0, + alignment=BlockAlignment.center_extents, + ): + """Set BLOCK content. + + Args: + name: the block name as string + color: block color as :ref:`ACI` or RGB tuple + scale: the block scaling, not to be confused with overall scaling + alignment: the block insertion point or the center of extents + + """ + mleader = self._multileader + # update MULTILEADER DXF namespace + block = self._doc.blocks.get(name) + if block is None: + raise ValueError(f"undefined BLOCK '{name}'") + # All angles in MultiLeader are radians! + mleader.dxf.block_record_handle = block.block_record_handle + mleader.dxf.block_color = colors.encode_raw_color(color) + mleader.dxf.block_scale_vector = Vec3(scale, scale, scale) + mleader.dxf.block_connection_type = int(alignment) + self._init_content() + + def set_attribute(self, tag: str, text: str, width: float = 1.0): + """Add BLOCK attributes based on an ATTDEF entity in the block + definition. All properties of the new created ATTRIB entity are + defined by the template ATTDEF entity including the location. + + Args: + tag: attribute tag name + text: attribute content string + width: width factor + + """ + block_layout = self.block_layout + block_attribs = self._multileader.block_attribs + for index, attdef in enumerate(block_layout.attdefs()): + if tag == attdef.dxf.tag: + block_attribs.append( + AttribData( + handle=attdef.dxf.handle, + index=index, + width=float(width), # width factor, do not scale! + text=str(text), + ) + ) + break + + def _set_base_point(self, left: Vec3, bottom: Vec3): + # BricsCAD does not support vertical attached leaders + self.context.base_point = left diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/render/mline.py b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/render/mline.py new file mode 100644 index 0000000000000000000000000000000000000000..01f9123d57a6427af729db008f6df7636d07339f --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/render/mline.py @@ -0,0 +1,233 @@ +# Copyright (c) 2020-2022, Manfred Moitzi +# License: MIT License +from __future__ import annotations +from typing import TYPE_CHECKING, cast, Sequence, Any +from itertools import chain +from ezdxf.entities import factory, MLineStyle +from ezdxf.math import Vec3, OCS +import logging + +if TYPE_CHECKING: + from ezdxf.entities import MLine, DXFGraphic, Hatch, Line, Arc + +__all__ = ["virtual_entities"] +logger = logging.getLogger("ezdxf") + + +# The MLINE geometry stored in vertices, is the final geometry, +# scaling factor, justification and MLineStyle settings are already +# applied. + + +def _dxfattribs(mline) -> dict[str, Any]: + attribs = mline.graphic_properties() + # True color value of MLINE is ignored by CAD applications: + if "true_color" in attribs: + del attribs["true_color"] + return attribs + + +def virtual_entities(mline: MLine) -> list[DXFGraphic]: + """Yields 'virtual' parts of MLINE as LINE, ARC and HATCH entities. + + These entities are located at the original positions, but are not stored + in the entity database, have no handle and are not assigned to any + layout. + """ + + def filling() -> Hatch: + attribs = _dxfattribs(mline) + attribs["color"] = style.dxf.fill_color + attribs["elevation"] = Vec3(ocs.from_wcs(bottom_border[0])).replace( + x=0.0, y=0.0 + ) + attribs["extrusion"] = mline.dxf.extrusion + hatch = cast("Hatch", factory.new("HATCH", dxfattribs=attribs, doc=doc)) + bulges: list[float] = [0.0] * (len(bottom_border) * 2) + points = chain( + Vec3.generate(ocs.points_from_wcs(bottom_border)), + Vec3.generate(ocs.points_from_wcs(reversed(top_border))), + ) + if not closed: + if style.get_flag_state(style.END_ROUND): + bulges[len(bottom_border) - 1] = 1.0 + if style.get_flag_state(style.START_ROUND): + bulges[-1] = 1.0 + lwpoints = ((v.x, v.y, bulge) for v, bulge in zip(points, bulges)) + hatch.paths.add_polyline_path(lwpoints, is_closed=True) + return hatch + + def start_cap() -> list[DXFGraphic]: + entities: list[DXFGraphic] = [] + if style.get_flag_state(style.START_SQUARE): + entities.extend(create_miter(miter_points[0])) + if style.get_flag_state(style.START_ROUND): + entities.extend(round_caps(0, top_index, bottom_index)) + if ( + style.get_flag_state(style.START_INNER_ARC) + and len(style.elements) > 3 + ): + start_index = ordered_indices[-2] + end_index = ordered_indices[1] + entities.extend(round_caps(0, start_index, end_index)) + return entities + + def end_cap() -> list[DXFGraphic]: + entities: list[DXFGraphic] = [] + if style.get_flag_state(style.END_SQUARE): + entities.extend(create_miter(miter_points[-1])) + if style.get_flag_state(style.END_ROUND): + entities.extend(round_caps(-1, bottom_index, top_index)) + if ( + style.get_flag_state(style.END_INNER_ARC) + and len(style.elements) > 3 + ): + start_index = ordered_indices[1] + end_index = ordered_indices[-2] + entities.extend(round_caps(-1, start_index, end_index)) + return entities + + def round_caps(miter_index: int, start_index: int, end_index: int): + color1 = style.elements[start_index].color + color2 = style.elements[end_index].color + start = ocs.from_wcs(miter_points[miter_index][start_index]) + end = ocs.from_wcs(miter_points[miter_index][end_index]) + return _arc_caps(start, end, color1, color2) + + def _arc_caps( + start: Vec3, end: Vec3, color1: int, color2: int + ) -> Sequence[Arc]: + attribs = _dxfattribs(mline) + center = start.lerp(end) + radius = (end - start).magnitude / 2.0 + angle = (start - center).angle_deg + attribs["center"] = center + attribs["radius"] = radius + attribs["color"] = color1 + attribs["start_angle"] = angle + attribs["end_angle"] = angle + (180 if color1 == color2 else 90) + arc1 = cast("Arc", factory.new("ARC", dxfattribs=attribs, doc=doc)) + if color1 == color2: + return (arc1,) + attribs["start_angle"] = angle + 90 + attribs["end_angle"] = angle + 180 + attribs["color"] = color2 + arc2 = cast("Arc", factory.new("ARC", dxfattribs=attribs, doc=doc)) + return arc1, arc2 + + def lines() -> list[Line]: + prev = None + _lines: list[Line] = [] + attribs = _dxfattribs(mline) + + for miter in miter_points: + if prev is not None: + for index, element in enumerate(style.elements): + attribs["start"] = prev[index] + attribs["end"] = miter[index] + attribs["color"] = element.color + attribs["linetype"] = element.linetype + _lines.append( + cast( + "Line", + factory.new("LINE", dxfattribs=attribs, doc=doc), + ) + ) + prev = miter + return _lines + + def display_miter(): + _lines = [] + skip = set() + skip.add(len(miter_points) - 1) + if not closed: + skip.add(0) + for index, miter in enumerate(miter_points): + if index not in skip: + _lines.extend(create_miter(miter)) + return _lines + + def create_miter(miter) -> list[Line]: + _lines: list[Line] = [] + attribs = _dxfattribs(mline) + top = miter[top_index] + bottom = miter[bottom_index] + zero = bottom.lerp(top) + element = style.elements[top_index] + attribs["start"] = top + attribs["end"] = zero + attribs["color"] = element.color + attribs["linetype"] = element.linetype + _lines.append( + cast("Line", factory.new("LINE", dxfattribs=attribs, doc=doc)) + ) + element = style.elements[bottom_index] + attribs["start"] = bottom + attribs["end"] = zero + attribs["color"] = element.color + attribs["linetype"] = element.linetype + _lines.append( + cast("Line", factory.new("LINE", dxfattribs=attribs, doc=doc)) + ) + return _lines + + entities: list[DXFGraphic] = [] + if not mline.is_alive or mline.doc is None or len(mline.vertices) < 2: + return entities + + style: MLineStyle = mline.style # type: ignore + if style is None: + return entities + + doc = mline.doc + ocs = OCS(mline.dxf.extrusion) + element_count = len(style.elements) + closed = mline.is_closed + ordered_indices = style.ordered_indices() + bottom_index = ordered_indices[0] + top_index = ordered_indices[-1] + bottom_border: list[Vec3] = [] + top_border: list[Vec3] = [] + miter_points: list[list[Vec3]] = [] + + for vertex in mline.vertices: + offsets = vertex.line_params + if len(offsets) != element_count: + logger.debug( + f"Invalid line parametrization for vertex {len(miter_points)} " + f"in {str(mline)}." + ) + return entities + location = vertex.location + miter_direction = vertex.miter_direction + miter = [] + for offset in offsets: + try: + length = offset[0] + except IndexError: # DXFStructureError? + length = 0 + miter.append(location + miter_direction * length) + miter_points.append(miter) + top_border.append(miter[top_index]) + bottom_border.append(miter[bottom_index]) + + if closed: + miter_points.append(miter_points[0]) + top_border.append(top_border[0]) + bottom_border.append(bottom_border[0]) + + if not closed: + entities.extend(start_cap()) + + entities.extend(lines()) + + if style.get_flag_state(style.MITER): + entities.extend(display_miter()) + + if not closed: + entities.extend(end_cap()) + + if style.get_flag_state(style.FILL): + entities.insert(0, filling()) + + return entities diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/render/point.py b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/render/point.py new file mode 100644 index 0000000000000000000000000000000000000000..7895bc90105ffd41bebbafc6da6e662933ac1459 --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/render/point.py @@ -0,0 +1,88 @@ +# Copyright (c) 2020-2022, Manfred Moitzi +# License: MIT License +from __future__ import annotations +from typing import cast +import math +from ezdxf.entities import factory, Point, DXFGraphic +from ezdxf.math import Vec3, UCS, NULLVEC + + +def virtual_entities( + point: Point, pdsize: float = 1, pdmode: int = 0 +) -> list[DXFGraphic]: + """Yields point graphic as DXF primitives LINE and CIRCLE entities. + The dimensionless point is rendered as zero-length line! + + Check for this condition:: + + e.dxftype() == 'LINE' and e.dxf.start.isclose(e.dxf.end) + + if the rendering engine can't handle zero-length lines. + + + Args: + point: DXF POINT entity + pdsize: point size in drawing units + pdmode: point styling mode, see :class:`~ezdxf.entities.Point` class + + """ + + def add_line_symmetrical(offset: Vec3): + dxfattribs["start"] = ucs.to_wcs(-offset) + dxfattribs["end"] = ucs.to_wcs(offset) + entities.append(cast(DXFGraphic, factory.new("LINE", dxfattribs))) + + def add_line(s: Vec3, e: Vec3): + dxfattribs["start"] = ucs.to_wcs(s) + dxfattribs["end"] = ucs.to_wcs(e) + entities.append(cast(DXFGraphic, factory.new("LINE", dxfattribs))) + + center = point.dxf.location + # This is not a real OCS! Defines just the point orientation, + # location is in WCS! + ocs = point.ocs() + ucs = UCS(origin=center, ux=ocs.ux, uz=ocs.uz) + + # The point angle is clockwise oriented: + ucs = ucs.rotate_local_z(math.radians(-point.dxf.angle)) + + entities: list[DXFGraphic] = [] + gfx = point.graphic_properties() + + radius = pdsize * 0.5 + has_circle = bool(pdmode & 32) + has_square = bool(pdmode & 64) + style = pdmode & 7 + + dxfattribs = dict(gfx) + if style == 0: # . dimensionless point as zero-length line + add_line_symmetrical(NULLVEC) + # style == 1: no point symbol + elif style == 2: # + cross + add_line_symmetrical(Vec3(pdsize, 0)) + add_line_symmetrical(Vec3(0, pdsize)) + elif style == 3: # x cross + add_line_symmetrical(Vec3(pdsize, pdsize)) + add_line_symmetrical(Vec3(pdsize, -pdsize)) + elif style == 4: # ' tick + add_line(NULLVEC, Vec3(0, radius)) + if has_square: + x1 = -radius + x2 = radius + y1 = -radius + y2 = radius + add_line(Vec3(x1, y1), Vec3(x2, y1)) + add_line(Vec3(x2, y1), Vec3(x2, y2)) + add_line(Vec3(x2, y2), Vec3(x1, y2)) + add_line(Vec3(x1, y2), Vec3(x1, y1)) + if has_circle: + dxfattribs = dict(gfx) + if point.dxf.hasattr("extrusion"): + dxfattribs["extrusion"] = ocs.uz + dxfattribs["center"] = ocs.from_wcs(center) + else: + dxfattribs["center"] = center + dxfattribs["radius"] = radius + entities.append(cast(DXFGraphic, factory.new("CIRCLE", dxfattribs))) + + return entities diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/render/polyline.py b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/render/polyline.py new file mode 100644 index 0000000000000000000000000000000000000000..0122ba637c4de110e61ce857a3d49346fe31a89b --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/render/polyline.py @@ -0,0 +1,245 @@ +# Copyright (c) 2020-2025, Manfred Moitzi +# License: MIT License +from __future__ import annotations +from typing import TYPE_CHECKING, Iterable, Union +import logging +import math + +from ezdxf.entities import factory +from ezdxf.lldxf.const import VERTEXNAMES +from ezdxf.math import Vec3, bulge_to_arc, OCS + +if TYPE_CHECKING: + from ezdxf.entities import LWPolyline, Polyline, Line, Arc, Face3d, Polymesh + +logger = logging.getLogger("ezdxf") + + +def virtual_lwpolyline_entities( + lwpolyline: LWPolyline, +) -> Iterable[Union[Line, Arc]]: + """Yields 'virtual' entities of LWPOLYLINE as LINE or ARC objects. + + These entities are located at the original positions, but are not stored in + the entity database, have no handle and are not assigned to any layout. + + (internal API) + + """ + assert lwpolyline.dxftype() == "LWPOLYLINE" + + points = lwpolyline.get_points("xyb") + if len(points) < 2: + return + + if lwpolyline.closed: + points.append(points[0]) + + yield from _virtual_polyline_entities( + points=points, + elevation=lwpolyline.dxf.elevation, + extrusion=lwpolyline.dxf.get("extrusion", None), + dxfattribs=lwpolyline.graphic_properties(), + doc=lwpolyline.doc, + ) + + +def virtual_polyline_entities( + polyline: Polyline, +) -> Iterable[Union[Line, Arc, Face3d]]: + """Yields 'virtual' entities of POLYLINE as LINE, ARC or 3DFACE objects. + + These entities are located at the original positions, but are not stored in + the entity database, have no handle and are not assigned to any layout. + + (internal API) + + """ + assert polyline.dxftype() == "POLYLINE" + if polyline.is_2d_polyline: + return virtual_polyline2d_entities(polyline) + elif polyline.is_3d_polyline: + return virtual_polyline3d_entities(polyline) + elif polyline.is_polygon_mesh: + return virtual_polymesh_entities(polyline) + elif polyline.is_poly_face_mesh: + return virtual_polyface_entities(polyline) + return [] + + +def virtual_polyline2d_entities( + polyline: Polyline, +) -> Iterable[Union[Line, Arc]]: + """Yields 'virtual' entities of 2D POLYLINE as LINE or ARC objects. + + These entities are located at the original positions, but are not stored in + the entity database, have no handle and are not assigned to any layout. + + (internal API) + + """ + assert polyline.dxftype() == "POLYLINE" + assert polyline.is_2d_polyline + if len(polyline.vertices) < 2: + return + + points = [ + (v.dxf.location.x, v.dxf.location.y, v.dxf.bulge) for v in polyline.vertices + ] + if polyline.is_closed: + points.append(points[0]) + + yield from _virtual_polyline_entities( + points=points, + elevation=Vec3(polyline.dxf.get("elevation", (0, 0, 0))).z, + extrusion=polyline.dxf.get("extrusion", None), + dxfattribs=polyline.graphic_properties(), + doc=polyline.doc, + ) + + +def _virtual_polyline_entities( + points, elevation: float, extrusion: Vec3, dxfattribs: dict, doc +) -> Iterable[Union[Line, Arc]]: + ocs = OCS(extrusion) if extrusion else OCS() + prev_point: Vec3 | None = None + prev_bulge: float = 0.0 + + for x, y, bulge in points: + point = Vec3(x, y, elevation) + if prev_point is None: + prev_point = point + prev_bulge = bulge + continue + + attribs = dict(dxfattribs) + if prev_bulge != 0.0: + center, start_angle, end_angle, radius = bulge_to_arc( + prev_point, point, prev_bulge + ) + if radius > 0: + attribs["center"] = Vec3(center.x, center.y, elevation) + attribs["radius"] = radius + attribs["start_angle"] = math.degrees(start_angle) + attribs["end_angle"] = math.degrees(end_angle) + if extrusion: + attribs["extrusion"] = extrusion + yield factory.new(dxftype="ARC", dxfattribs=attribs, doc=doc) # type: ignore + else: + attribs["start"] = ocs.to_wcs(prev_point) + attribs["end"] = ocs.to_wcs(point) + yield factory.new(dxftype="LINE", dxfattribs=attribs, doc=doc) # type: ignore + prev_point = point + prev_bulge = bulge + + +def virtual_polyline3d_entities(polyline: Polyline) -> Iterable[Line]: + """Yields 'virtual' entities of 3D POLYLINE as LINE objects. + + This entities are located at the original positions, but are not stored in + the entity database, have no handle and are not assigned to any layout. + + (internal API) + + """ + assert polyline.dxftype() == "POLYLINE" + assert polyline.is_3d_polyline + if len(polyline.vertices) < 2: + return + doc = polyline.doc + vertices = polyline.vertices + dxfattribs = polyline.graphic_properties() + start = -1 if polyline.is_closed else 0 + for index in range(start, len(vertices) - 1): + dxfattribs["start"] = vertices[index].dxf.location + dxfattribs["end"] = vertices[index + 1].dxf.location + yield factory.new(dxftype="LINE", dxfattribs=dxfattribs, doc=doc) # type: ignore + + +def virtual_polymesh_entities(polyline: Polyline) -> Iterable[Face3d]: + """Yields 'virtual' entities of POLYMESH as 3DFACE objects. + + This entities are located at the original positions, but are not stored in + the entity database, have no handle and are not assigned to any layout. + + (internal API) + + """ + polymesh: "Polymesh" = polyline # type: ignore + assert polymesh.dxftype() == "POLYLINE" + assert polymesh.is_polygon_mesh + + doc = polymesh.doc + mesh = polymesh.get_mesh_vertex_cache() + dxfattribs = polymesh.graphic_properties() + m_count = polymesh.dxf.m_count + n_count = polymesh.dxf.n_count + m_range = m_count - int(not polymesh.is_m_closed) + n_range = n_count - int(not polymesh.is_n_closed) + + for m in range(m_range): + for n in range(n_range): + next_m = (m + 1) % m_count + next_n = (n + 1) % n_count + + dxfattribs["vtx0"] = mesh[m, n] + dxfattribs["vtx1"] = mesh[next_m, n] + dxfattribs["vtx2"] = mesh[next_m, next_n] + dxfattribs["vtx3"] = mesh[m, next_n] + yield factory.new(dxftype="3DFACE", dxfattribs=dxfattribs, doc=doc) # type: ignore + + +def virtual_polyface_entities(polyline: Polyline) -> Iterable[Face3d]: + """Yields 'virtual' entities of POLYFACE as 3DFACE objects. + + This entities are located at the original positions, but are not stored in + the entity database, have no handle and are not assigned to any layout. + + (internal API) + + """ + assert polyline.dxftype() == "POLYLINE" + assert polyline.is_poly_face_mesh + + doc = polyline.doc + vertices = polyline.vertices + base_attribs = polyline.graphic_properties() + + face_records = (v for v in vertices if v.is_face_record) + for face in face_records: + # check if vtx0, vtx1 and vtx2 exist + for name in VERTEXNAMES[:-1]: + if not face.dxf.hasattr(name): + logger.info( + f"skipped face {str(face)} with less than 3 vertices" + f"in PolyFaceMesh(#{str(polyline.dxf.handle)})" + ) + continue + # Alternate solutions: return a face with less than 3 vertices + # as LINE (breaks the method signature) or as degenerated 3DFACE + # (vtx0, vtx1, vtx1, vtx1) + + face3d_attribs = dict(base_attribs) + face3d_attribs.update(face.graphic_properties()) + invisible = 0 + pos = 1 + indices = ( + (face.dxf.get(name), name) for name in VERTEXNAMES if face.dxf.hasattr(name) + ) + for index, name in indices: + # vertex indices are 1-based, negative indices indicate invisible edges + if index < 0: + index = abs(index) + invisible += pos + # python list `vertices` is 0-based + face3d_attribs[name] = vertices[index - 1].dxf.location + # vertex index bit encoded: 1=0b0001, 2=0b0010, 3=0b0100, 4=0b1000 + pos <<= 1 + + if "vtx3" not in face3d_attribs: + # A triangle face ends with two identical vertices vtx2 and vtx3. + # This is a requirement defined by AutoCAD. + face3d_attribs["vtx3"] = face3d_attribs["vtx2"] + + face3d_attribs["invisible"] = invisible + yield factory.new(dxftype="3DFACE", dxfattribs=face3d_attribs, doc=doc) # type: ignore diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/render/r12spline.py b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/render/r12spline.py new file mode 100644 index 0000000000000000000000000000000000000000..2ba6ca1e1c3e92f3476397a2e955d0f5192dd4f4 --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/render/r12spline.py @@ -0,0 +1,236 @@ +# Copyright (c) 2018-2022 Manfred Moitzi +# License: MIT License +""" +DXF R12 Splines +=============== + +DXF R12 supports 2d B-splines, but Autodesk do not document the usage in the +DXF Reference. The base entity for splines in DXF R12 is the POLYLINE entity. + +Transformed Into 3D Space +------------------------- + +The spline itself is always in a plane, but as any 2D entity, the spline can be +transformed into the 3D object by elevation, extrusion and thickness/width. + +Open Quadratic Spline with Fit Vertices +------------------------------------- + +Example: 2D_SPLINE_QUADRATIC.dxf +expected knot vector: open uniform +degree: 2 +order: 3 + +POLYLINE: +flags (70): 4 = SPLINE_FIT_VERTICES_ADDED +smooth type (75): 5 = QUADRATIC_BSPLINE + +Sequence of VERTEX +flags (70): SPLINE_VERTEX_CREATED = 8 # Spline vertex created by spline-fitting + +This vertices are the curve vertices of the spline (fitted). + +Frame control vertices appear after the curve vertices. + +Sequence of VERTEX +flags (70): SPLINE_FRAME_CONTROL_POINT = 16 + +No control point at the starting point, but a control point at the end point, +last control point == last fit vertex + +Closed Quadratic Spline with Fit Vertices +----------------------------------------- + +Example: 2D_SPLINE_QUADRATIC_CLOSED.dxf +expected knot vector: closed uniform +degree: 2 +order: 3 + +POLYLINE: +flags (70): 5 = CLOSED | SPLINE_FIT_VERTICES_ADDED +smooth type (75): 5 = QUADRATIC_BSPLINE + +Sequence of VERTEX +flags (70): SPLINE_VERTEX_CREATED = 8 # Spline vertex created by spline-fitting + +Frame control vertices appear after the curve vertices. + +Sequence of VERTEX +flags (70): SPLINE_FRAME_CONTROL_POINT = 16 + + +Open Cubic Spline with Fit Vertices +----------------------------------- + +Example: 2D_SPLINE_CUBIC.dxf +expected knot vector: open uniform +degree: 3 +order: 4 + +POLYLINE: +flags (70): 4 = SPLINE_FIT_VERTICES_ADDED +smooth type (75): 6 = CUBIC_BSPLINE + +Sequence of VERTEX +flags (70): SPLINE_VERTEX_CREATED = 8 # Spline vertex created by spline-fitting + +This vertices are the curve vertices of the spline (fitted). + +Frame control vertices appear after the curve vertices. + +Sequence of VERTEX +flags (70): SPLINE_FRAME_CONTROL_POINT = 16 + +No control point at the starting point, but a control point at the end point, +last control point == last fit vertex + +Closed Curve With Extra Vertices Created +---------------------------------------- + +Example: 2D_FIT_CURVE_CLOSED.dxf + +POLYLINE: +flags (70): 3 = CLOSED | CURVE_FIT_VERTICES_ADDED + +Vertices with bulge values: + +flags (70): 1 = EXTRA_VERTEX_CREATED +Vertex 70=0, Vertex 70=1, Vertex 70=0, Vertex 70=1 + +""" +from __future__ import annotations +from typing import TYPE_CHECKING, Iterable, Optional +from ezdxf.lldxf import const +from ezdxf.math import BSpline, closed_uniform_bspline, Vec3, UCS, UVec + +if TYPE_CHECKING: + from ezdxf.layouts import BaseLayout + from ezdxf.entities import Polyline + + +class R12Spline: + """DXF R12 supports 2D B-splines, but Autodesk do not document the usage + in the DXF Reference. The base entity for splines in DXF R12 is the POLYLINE + entity. The spline itself is always in a plane, but as any 2D entity, the + spline can be transformed into the 3D object by elevation and extrusion + (:ref:`OCS`, :ref:`UCS`). + + This way it was possible to store the spline parameters in the DXF R12 file, + to allow CAD applications to modify the spline parameters and rerender the + B-spline afterward again as polyline approximation. Therefore, the result is + not better than an approximation by the :class:`Spline` class, it is also + just a POLYLINE entity, but maybe someone need exact this tool in the + future. + + """ + + def __init__( + self, + control_points: Iterable[UVec], + degree: int = 2, + closed: bool = True, + ): + """ + Args: + control_points: B-spline control frame vertices + degree: degree of B-spline, only 2 and 3 is supported + closed: ``True`` for closed curve + + """ + self.control_points = Vec3.list(control_points) + self.degree = degree + self.closed = closed + + def approximate( + self, segments: int = 40, ucs: Optional[UCS] = None + ) -> list[UVec]: + """Approximate the B-spline by a polyline with `segments` line segments. + If `ucs` is not ``None``, ucs defines an :class:`~ezdxf.math.UCS`, to + transform the curve into :ref:`OCS`. The control points are placed + xy-plane of the UCS, don't use z-axis coordinates, if so make sure all + control points are in a plane parallel to the OCS base plane + (UCS xy-plane), else the result is unpredictable and depends on the CAD + application used to open the DXF file - it may crash. + + Args: + segments: count of line segments for approximation, vertex count is + `segments` + 1 + ucs: :class:`~ezdxf.math.UCS` definition, control points in ucs + coordinates + + Returns: + list of vertices in :class:`~ezdxf.math.OCS` as + :class:`~ezdxf.math.Vec3` objects + + """ + if self.closed: + spline = closed_uniform_bspline( + self.control_points, order=self.degree + 1 + ) + else: + spline = BSpline(self.control_points, order=self.degree + 1) + vertices = spline.approximate(segments) + if ucs is not None: + vertices = (ucs.to_ocs(vertex) for vertex in vertices) + return list(vertices) + + def render( + self, + layout: BaseLayout, + segments: int = 40, + ucs: Optional[UCS] = None, + dxfattribs=None, + ) -> Polyline: + """Renders the B-spline into `layout` as 2D :class:`~ezdxf.entities.Polyline` + entity. Use an :class:`~ezdxf.math.UCS` to place the 2D spline in the + 3D space, see :meth:`approximate` for more information. + + Args: + layout: :class:`~ezdxf.layouts.BaseLayout` object + segments: count of line segments for approximation, vertex count is + `segments` + 1 + ucs: :class:`~ezdxf.math.UCS` definition, control points in ucs + coordinates. + dxfattribs: DXF attributes for :class:`~ezdxf.entities.Polyline` + + """ + polyline = layout.add_polyline2d(points=[], dxfattribs=dxfattribs) + flags = polyline.SPLINE_FIT_VERTICES_ADDED + if self.closed: + flags |= polyline.CLOSED + polyline.dxf.flags = flags + + if self.degree == 2: + smooth_type = polyline.QUADRATIC_BSPLINE + elif self.degree == 3: + smooth_type = polyline.CUBIC_BSPLINE + else: + raise ValueError("invalid degree of spline") + polyline.dxf.smooth_type = smooth_type + + # set OCS extrusion vector + if ucs is not None: + polyline.dxf.extrusion = ucs.uz + + # add fit points in OCS + polyline.append_vertices( + self.approximate(segments, ucs), + dxfattribs={ + "layer": polyline.dxf.layer, + "flags": const.VTX_SPLINE_VERTEX_CREATED, + }, + ) + + # add control frame points in OCS + control_points = self.control_points + if ucs is not None: + control_points = list(ucs.points_to_ocs(control_points)) + polyline.dxf.elevation = (0, 0, control_points[0].z) + polyline.append_vertices( + control_points, + dxfattribs={ + "layer": polyline.dxf.layer, + "flags": const.VTX_SPLINE_FRAME_CONTROL_POINT, + }, + ) + return polyline diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/render/trace.py b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/render/trace.py new file mode 100644 index 0000000000000000000000000000000000000000..e7e8e1b741711eea9ff0d7e4c0f17b3104af365b --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/render/trace.py @@ -0,0 +1,646 @@ +# Copyright (c) 2020-2022, Manfred Moitzi +# License: MIT License +from __future__ import annotations +from typing import ( + TYPE_CHECKING, + Iterable, + Tuple, + Union, + cast, + Sequence, + Optional, +) +from typing_extensions import TypeAlias +from abc import abstractmethod +from collections import namedtuple +import math +import numpy as np + +from ezdxf.lldxf.const import VTX_EXTRA_VERTEX_CREATED, VTX_SPLINE_FRAME_CONTROL_POINT +from ezdxf.math import ( + Vec2, + Vec3, + UVec, + BSpline, + ConstructionRay, + OCS, + ParallelRaysError, + bulge_to_arc, + ConstructionArc, +) + +if TYPE_CHECKING: + from ezdxf.document import Drawing + from ezdxf.entities import DXFGraphic, Solid, Trace, Face3d, LWPolyline, Polyline + +__all__ = ["TraceBuilder", "LinearTrace", "CurvedTrace"] + +LinearStation = namedtuple("LinearStation", ("vertex", "start_width", "end_width")) +# start_width of the next (following) segment +# end_width of the next (following) segment + +CurveStation = namedtuple("CurveStation", ("vertex0", "vertex1")) + +Face: TypeAlias = Tuple[Vec2, Vec2, Vec2, Vec2] +Polygon: TypeAlias = Sequence[Vec2] +Quadrilateral: TypeAlias = Union["Solid", "Trace", "Face3d"] + + +class AbstractTrace: + @abstractmethod + def faces(self) -> Iterable[Face]: + # vertex order: up1, down1, down2, up2 + # faces connections: + # up2 -> next up1 + # down2 -> next down1 + pass + + def polygon(self) -> Polygon: + def merge(vertices: Polygon) -> Iterable[UVec]: + if not len(vertices): + return + + _vertices = iter(vertices) + prev = next(_vertices) + yield prev + for vertex in _vertices: + if not prev.isclose(vertex): + yield vertex + prev = vertex + + forward_contour: list[Vec2] = [] + backward_contour: list[Vec2] = [] + for up1, down1, down2, up2 in self.faces(): + forward_contour.extend((down1, down2)) + backward_contour.extend((up1, up2)) + + contour = list(merge(forward_contour)) + contour.extend(reversed(list(merge(backward_contour)))) + return contour + + def virtual_entities( + self, dxftype="TRACE", dxfattribs=None, doc: Optional[Drawing] = None + ) -> Iterable[Quadrilateral]: + """ + Yields faces as SOLID, TRACE or 3DFACE entities with DXF attributes + given in `dxfattribs`. + + If a document is given, the doc attribute of the new entities will be + set and the new entities will be automatically added to the entity + database of that document. + + Args: + dxftype: DXF type as string, "SOLID", "TRACE" or "3DFACE" + dxfattribs: DXF attributes for SOLID, TRACE or 3DFACE entities + doc: associated document + + """ + from ezdxf.entities.factory import new + + if dxftype not in {"SOLID", "TRACE", "3DFACE"}: + raise TypeError(f"Invalid dxftype {dxftype}.") + dxfattribs = dict(dxfattribs or {}) + for face in self.faces(): + for i in range(4): + dxfattribs[f"vtx{i}"] = face[i] + + if dxftype != "3DFACE": + # weird vertex order for SOLID and TRACE + dxfattribs["vtx2"] = face[3] + dxfattribs["vtx3"] = face[2] + entity = new(dxftype, dxfattribs, doc) + if doc: + doc.entitydb.add(entity) + yield entity # type: ignore + + +class LinearTrace(AbstractTrace): + """Linear 2D banded lines like polylines with start- and end width. + + Accepts 3D input, but z-axis is ignored. + + """ + + def __init__(self) -> None: + self._stations: list[LinearStation] = [] + self.abs_tol = 1e-12 + + def __len__(self): + return len(self._stations) + + def __getitem__(self, item): + return self._stations[item] + + @property + def is_started(self) -> bool: + """`True` if at least one station exist.""" + return bool(self._stations) + + def add_station( + self, point: UVec, start_width: float, end_width: Optional[float] = None + ) -> None: + """Add a trace station (like a vertex) at location `point`, + `start_width` is the width of the next segment starting at this station, + `end_width` is the end width of the next segment. + + Adding the last location again, replaces the actual last location e.g. + adding lines (a, b), (b, c), creates only 3 stations (a, b, c), this is + very important to connect to/from splines. + + Args: + point: 2D location (vertex), z-axis of 3D vertices is ignored. + start_width: start width of next segment + end_width: end width of next segment + + """ + if end_width is None: + end_width = start_width + point = Vec2(point) + stations = self._stations + + if bool(stations) and stations[-1].vertex.isclose(point, abs_tol=self.abs_tol): + # replace last station + stations.pop() + stations.append(LinearStation(point, float(start_width), float(end_width))) + + def faces(self) -> Iterable[Face]: + """Yields all faces as 4-tuples of :class:`~ezdxf.math.Vec2` objects. + + First and last miter is 90 degrees if the path is not closed, otherwise + the intersection of first and last segment is taken into account, + a closed path has to have explicit the same last and first vertex. + + """ + stations = self._stations + count = len(stations) + if count < 2: # Two or more stations required to create faces + return + + def offset_rays( + segment: int, + ) -> tuple[ConstructionRay, ConstructionRay]: + """Create offset rays from segment offset vertices.""" + + def ray(v1, v2): + if v1.isclose(v2): + # vertices too close to define a ray, offset ray is parallel to segment: + angle = ( + stations[segment].vertex - stations[segment + 1].vertex + ).angle + return ConstructionRay(v1, angle) + else: + return ConstructionRay(v1, v2) + + left1, left2, right1, right2 = segments[segment] + return ray(left1, left2), ray(right1, right2) + + def intersect( + ray1: ConstructionRay, ray2: ConstructionRay, default: Vec2 + ) -> Vec2: + """Intersect two rays but take parallel rays into account.""" + # check for nearly parallel rays pi/100 ~1.8 degrees + angle = abs(ray1.direction.angle_between(ray2.direction)) + if angle < 0.031415 or abs(math.pi - angle) < 0.031415: + return default + try: + return ray1.intersect(ray2) + except ParallelRaysError: + return default + + # Path has to be explicit closed by vertices: + is_closed = stations[0].vertex.isclose(stations[-1].vertex) + + segments = [] + # Each segment has 4 offset vertices normal to the line from start- to + # end vertex + # 1st vertex left of line at the start, distance = start_width/2 + # 2nd vertex left of line at the end, distance = end_width/2 + # 3rd vertex right of line at the start, distance = start_width/2 + # 4th vertex right of line at the end, distance = end_width/2 + for station in range(count - 1): + start_vertex, start_width, end_width = stations[station] + end_vertex = stations[station + 1].vertex + # Start- and end vertex are never to close together, close stations + # will be merged in method LinearTrace.add_station(). + segments.append( + _normal_offset_points(start_vertex, end_vertex, start_width, end_width) + ) + + # offset rays: + # 1 is the upper or left of line + # 2 is the lower or right of line + offset_ray1, offset_ray2 = offset_rays(0) + prev_offset_ray1 = None + prev_offset_ray2 = None + + # Store last vertices explicit, they get modified for closed paths. + last_up1, last_up2, last_down1, last_down2 = segments[-1] + + for i in range(len(segments)): + up1, up2, down1, down2 = segments[i] + if i == 0: + # Set first vertices of the first face. + if is_closed: + # Compute first two vertices as intersection of first and + # last segment + last_offset_ray1, last_offset_ray2 = offset_rays(len(segments) - 1) + vtx0 = intersect(last_offset_ray1, offset_ray1, up1) + vtx1 = intersect(last_offset_ray2, offset_ray2, down1) + + # Store last vertices for the closing face. + last_up2 = vtx0 + last_down2 = vtx1 + else: + # Set first two vertices of the first face for an open path. + vtx0 = up1 + vtx1 = down1 + prev_offset_ray1 = offset_ray1 + prev_offset_ray2 = offset_ray2 + else: + # Compute first two vertices for the actual face. + vtx0 = intersect(prev_offset_ray1, offset_ray1, up1) # type: ignore + vtx1 = intersect(prev_offset_ray2, offset_ray2, down1) # type: ignore + + if i < len(segments) - 1: + # Compute last two vertices for the actual face. + next_offset_ray1, next_offset_ray2 = offset_rays(i + 1) + vtx2 = intersect(next_offset_ray2, offset_ray2, down2) + vtx3 = intersect(next_offset_ray1, offset_ray1, up2) + prev_offset_ray1 = offset_ray1 + prev_offset_ray2 = offset_ray2 + offset_ray1 = next_offset_ray1 + offset_ray2 = next_offset_ray2 + else: + # Pickup last two vertices for the last face. + vtx2 = last_down2 + vtx3 = last_up2 + yield vtx0, vtx1, vtx2, vtx3 + + +def _normal_offset_points( + start: Vec2, end: Vec2, start_width: float, end_width: float +) -> Face: + dir_vector = (end - start).normalize() + ortho = dir_vector.orthogonal(True) + offset_start = ortho.normalize(start_width / 2) + offset_end = ortho.normalize(end_width / 2) + return ( + start + offset_start, + end + offset_end, + start - offset_start, + end - offset_end, + ) + + +_NULLVEC2 = Vec2((0, 0)) + + +class CurvedTrace(AbstractTrace): + """2D banded curves like arcs or splines with start- and end width. + + Represents always only one curved entity and all miter of curve segments + are perpendicular to curve tangents. + + Accepts 3D input, but z-axis is ignored. + + """ + + def __init__(self) -> None: + self._stations: list[CurveStation] = [] + + def __len__(self): + return len(self._stations) + + def __getitem__(self, item): + return self._stations[item] + + @classmethod + def from_spline( + cls, + spline: BSpline, + start_width: float, + end_width: float, + segments: int, + ) -> CurvedTrace: + """ + Create curved trace from a B-spline. + + Args: + spline: :class:`~ezdxf.math.BSpline` object + start_width: start width + end_width: end width + segments: count of segments for approximation + + """ + curve_trace = cls() + count = segments + 1 + t = np.linspace(0, spline.max_t, count) + for (point, derivative), width in zip( + spline.derivatives(t, n=1), np.linspace(start_width, end_width, count) + ): + normal = Vec2(derivative).orthogonal(True) + curve_trace._append(Vec2(point), normal, width) # type: ignore + return curve_trace + + @classmethod + def from_arc( + cls, + arc: ConstructionArc, + start_width: float, + end_width: float, + segments: int = 64, + ) -> CurvedTrace: + """ + Create curved trace from an arc. + + Args: + arc: :class:`~ezdxf.math.ConstructionArc` object + start_width: start width + end_width: end width + segments: count of segments for full circle (360 degree) + approximation, partial arcs have proportional less segments, + but at least 3 + + Raises: + ValueError: if arc.radius <= 0 + + """ + if arc.radius <= 0: + raise ValueError(f"Invalid radius: {arc.radius}.") + curve_trace = cls() + count = max(math.ceil(arc.angle_span / 360.0 * segments), 3) + 1 + center = Vec2(arc.center) + for point, width in zip( + arc.vertices(arc.angles(count)), + np.linspace(start_width, end_width, count), + ): + curve_trace._append(point, point - center, width) # type: ignore + return curve_trace + + def _append(self, point: Vec2, normal: Vec2, width: float) -> None: + """ + Add a curve trace station (like a vertex) at location `point`. + + Args: + point: 2D curve location (vertex), z-axis of 3D vertices is ignored. + normal: curve normal + width: width of station + + """ + if _NULLVEC2.isclose(normal): + normal = _NULLVEC2 + else: + normal = normal.normalize(width / 2) + self._stations.append(CurveStation(point + normal, point - normal)) + + def faces(self) -> Iterable[Face]: + """Yields all faces as 4-tuples of :class:`~ezdxf.math.Vec2` objects.""" + count = len(self._stations) + if count < 2: # Two or more stations required to create faces + return + + vtx0 = None + vtx1 = None + for vtx2, vtx3 in self._stations: + if vtx0 is None: + vtx0 = vtx3 + vtx1 = vtx2 + continue + yield vtx0, vtx1, vtx2, vtx3 + vtx0 = vtx3 + vtx1 = vtx2 + + +def should_include_vertex_for_rendering(vertex_flags: int) -> bool: + """Determine if a vertex should be included in rendering based on its flags. + + According to the DXF specification: + - Flag 0: Straight-segment vertex (include) + - Flag 1: Extra curve-fit vertex (exclude - auto-generated) + - Flag 2: Curve-fit tangent vertex (include - carries tangent info) + - Flag 8: Spline-vertex (fit-point) for 2D spline (include) + - Flag 16: Spline-frame control point (exclude - internal calculation only) + + Args: + vertex_flags: The vertex flags value (group code 70) + + Returns: + True if the vertex should be included in rendering, False otherwise + """ + # Exclude extra vertices created by curve-fitting (flag 1) + if vertex_flags & VTX_EXTRA_VERTEX_CREATED: + return False + + # Exclude spline frame control points (flag 16) + if vertex_flags & VTX_SPLINE_FRAME_CONTROL_POINT: + return False + + # Include all other vertex types: + # - Flag 0: Regular straight-segment vertices + # - Flag 2: Curve-fit tangent vertices (carry tangent direction) + # - Flag 8: Spline fit-points + return True + + +class TraceBuilder(Sequence): + """Sequence of 2D banded lines like polylines with start- and end width or + curves with start- and end width. + + + .. note:: + + Accepts 3D input, but z-axis is ignored. The :class:`TraceBuilder` is a + 2D only object and uses only the :ref:`OCS` coordinates! + + """ + + def __init__(self) -> None: + self._traces: list[AbstractTrace] = [] + self.abs_tol = 1e-12 + + def __len__(self): + return len(self._traces) + + def __getitem__(self, item): + return self._traces[item] + + def append(self, trace: AbstractTrace) -> None: + """Append a new trace.""" + self._traces.append(trace) + + def faces(self) -> Iterable[Face]: + """Yields all faces as 4-tuples of :class:`~ezdxf.math.Vec2` objects + in :ref:`OCS`. + """ + for trace in self._traces: + yield from trace.faces() + + def faces_wcs(self, ocs: OCS, elevation: float) -> Iterable[Sequence[Vec3]]: + """Yields all faces as 4-tuples of :class:`~ezdxf.math.Vec3` objects + in :ref:`WCS`. + """ + for face in self.faces(): + yield tuple(ocs.points_to_wcs(Vec3(v.x, v.y, elevation) for v in face)) + + def polygons(self) -> Iterable[Polygon]: + """Yields for each sub-trace a single polygon as sequence of + :class:`~ezdxf.math.Vec2` objects in :ref:`OCS`. + """ + for trace in self._traces: + yield trace.polygon() + + def polygons_wcs(self, ocs: OCS, elevation: float) -> Iterable[Sequence[Vec3]]: + """Yields for each sub-trace a single polygon as sequence of + :class:`~ezdxf.math.Vec3` objects in :ref:`WCS`. + """ + for trace in self._traces: + yield tuple( + ocs.points_to_wcs(Vec3(v.x, v.y, elevation) for v in trace.polygon()) + ) + + def virtual_entities( + self, dxftype="TRACE", dxfattribs=None, doc: Optional[Drawing] = None + ) -> Iterable[Quadrilateral]: + """Yields faces as SOLID, TRACE or 3DFACE entities with DXF attributes + given in `dxfattribs`. + + If a document is given, the doc attribute of the new entities will be + set and the new entities will be automatically added to the entity + database of that document. + + .. note:: + + The :class:`TraceBuilder` is a 2D only object and uses only the + :ref:`OCS` coordinates! + + Args: + dxftype: DXF type as string, "SOLID", "TRACE" or "3DFACE" + dxfattribs: DXF attributes for SOLID, TRACE or 3DFACE entities + doc: associated document + + """ + for trace in self._traces: + yield from trace.virtual_entities(dxftype, dxfattribs, doc) + + def close(self): + """Close multi traces by merging first and last trace, if linear traces.""" + traces = self._traces + if len(traces) < 2: + return + if isinstance(traces[0], LinearTrace) and isinstance(traces[-1], LinearTrace): + first = cast(LinearTrace, traces.pop(0)) + last = cast(LinearTrace, traces[-1]) + for point, start_width, end_width in first: + last.add_station(point, start_width, end_width) + + @classmethod + def from_polyline(cls, polyline: DXFGraphic, segments: int = 64) -> TraceBuilder: + """ + Create a complete trace from a LWPOLYLINE or a 2D POLYLINE entity, the + trace consist of multiple sub-traces if :term:`bulge` values are + present. Uses only the :ref:`OCS` coordinates! + + Args: + polyline: :class:`~ezdxf.entities.LWPolyline` or 2D + :class:`~ezdxf.entities.Polyline` + segments: count of segments for bulge approximation, given count is + for a full circle, partial arcs have proportional less segments, + but at least 3 + + """ + dxftype = polyline.dxftype() + if dxftype == "LWPOLYLINE": + polyline = cast("LWPolyline", polyline) + const_width = polyline.dxf.const_width + points = [] + for x, y, start_width, end_width, bulge in polyline.lwpoints: + location = Vec2(x, y) + if const_width: + # This is AutoCAD behavior, BricsCAD uses const width + # only for missing width values. + start_width = const_width + end_width = const_width + points.append((location, start_width, end_width, bulge)) + closed = polyline.closed + elif dxftype == "POLYLINE": + polyline = cast("Polyline", polyline) + if not polyline.is_2d_polyline: + raise TypeError("2D POLYLINE required") + closed = polyline.is_closed + default_start_width = polyline.dxf.default_start_width + default_end_width = polyline.dxf.default_end_width + + filtered_vertices = [ + vertex for vertex in polyline.vertices + if should_include_vertex_for_rendering(vertex.dxf.get("flags", 0)) + ] + + points = [] + for vertex in filtered_vertices: + location = Vec2(vertex.dxf.location) + if vertex.dxf.hasattr("start_width"): + start_width = vertex.dxf.start_width + else: + start_width = default_start_width + if vertex.dxf.hasattr("end_width"): + end_width = vertex.dxf.end_width + else: + end_width = default_end_width + bulge = vertex.dxf.bulge + points.append((location, start_width, end_width, bulge)) + else: + raise TypeError(f"Invalid DXF type {dxftype}") + + if closed and not points[0][0].isclose(points[-1][0]): + # close polyline explicit + points.append(points[0]) + + trace = cls() + store_bulge = 0.0 + store_start_width = 0.0 + store_end_width = 0.0 + store_point: UVec | None = None + + linear_trace = LinearTrace() + for point, start_width, end_width, bulge in points: + if store_bulge != 0.0: + center, start_angle, end_angle, radius = bulge_to_arc( + store_point, point, store_bulge + ) + if radius > 0: + arc = ConstructionArc( + center, + radius, + math.degrees(start_angle), + math.degrees(end_angle), + is_counter_clockwise=True, + ) + if arc.start_point.isclose(point): + sw = store_end_width + ew = store_start_width + else: + ew = store_end_width + sw = store_start_width + trace.append(CurvedTrace.from_arc(arc, sw, ew, segments)) + store_bulge = 0.0 + + if bulge != 0.0: # arc from prev_point to point + if linear_trace.is_started: + linear_trace.add_station(point, start_width, end_width) + trace.append(linear_trace) + linear_trace = LinearTrace() + store_bulge = bulge + store_start_width = start_width + store_end_width = end_width + store_point = point + continue + + linear_trace.add_station(point, start_width, end_width) + if linear_trace.is_started: + trace.append(linear_trace) + + if closed and len(trace) > 1: + # This is required for traces with multiple paths to create the correct + # miter at the closing point. (only linear to linear trace). + trace.close() + return trace diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/sections/__init__.py b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/sections/__init__.py new file mode 100644 index 0000000000000000000000000000000000000000..53e5aee63b7d5cee9b3f2f09f462931863922d04 --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/sections/__init__.py @@ -0,0 +1,2 @@ +# Copyright (c) 2011-2022, Manfred Moitzi +# License: MIT License diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/sections/acdsdata.py b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/sections/acdsdata.py new file mode 100644 index 0000000000000000000000000000000000000000..6a654390e0fbc51c00e518539650ee0577d4893d --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/sections/acdsdata.py @@ -0,0 +1,518 @@ +# Purpose: acdsdata section manager +# Copyright (c) 2014-2022, Manfred Moitzi +# License: MIT License +""" +ACDSDATA entities have NO handles, therefore they can not be stored in the +drawing entity database. + +section structure (work in progress): +0 SECTION +2 ACDSDATA +70 2 # flag? +71 6 # count of following ACDSSCHEMA entities ??? no, just another flag + +0 ACDSSCHEMA # dxftype: schema definition +90 0 # schema number 0, 1, 2, 3 ... +1 AcDb3DSolid_ASM_Data # schema name + +2 AcDbDs::ID # subsection name +280 10 # subsection type 10 = ??? +91 8 # data ??? + +2 ASM_Data # subsection name +280 15 # subsection type +91 0 # data ??? +101 ACDSRECORD # data +95 0 +90 2 +... + +0 ACDSSCHEMA +90 1 +1 AcDb_Thumbnail_Schema +... + +0 ACDSSCHEMA +90 2 +1 AcDbDs::TreatedAsObjectDataSchema +... + +0 ACDSSCHEMA +90 3 +1 AcDbDs::LegacySchema +2 AcDbDs::Legacy +280 1 +91 0 + +0 ACDSSCHEMA +90 4 +1 AcDbDs::IndexedPropertySchema +2 AcDs:Indexable +280 1 +91 0 + +0 ACDSSCHEMA +90 5 +1 AcDbDs::HandleAttributeSchema +2 AcDbDs::HandleAttribute +280 7 +91 1 +284 1 + +0 ACDSRECORD # dxftype: data record +90 0 # ??? flag +2 AcDbDs::ID # subsection name +280 10 # subsection type 10 = handle to owner entity, 3DSOLID/REGION +320 339 # handle +2 ASM_Data # subsection name +280 15 # subsection type 15 = binary data +94 1088 # size of data +310 # data +310 # data +... + +0 ENDSEC +""" +from __future__ import annotations +from typing import TYPE_CHECKING, Iterator, Iterable, Any, Optional +import abc +from itertools import islice + +from ezdxf.lldxf.tags import group_tags, Tags +from ezdxf.lldxf.types import dxftag +from ezdxf.lldxf.const import DXFKeyError, DXFStructureError + +if TYPE_CHECKING: + from ezdxf.document import Drawing + from ezdxf.lldxf.tagwriter import AbstractTagWriter + + +class AcDsEntity(abc.ABC): + @abc.abstractmethod + def export_dxf(self, tagwriter: AbstractTagWriter): + ... + + @abc.abstractmethod + def dxftype(self) -> str: + ... + + +class AcDsDataSection: + name = "ACDSDATA" + + def __init__(self, doc: Drawing, entities: Optional[Iterable[Tags]] = None): + self.doc = doc + self.entities: list[AcDsEntity] = [] + self.section_info = Tags() + if entities is not None: + self.load_tags(iter(entities)) + + @property + def is_valid(self) -> bool: + return len(self.section_info) > 0 + + @property + def has_records(self) -> bool: + return any( + isinstance(entity, AcDsRecord) for entity in self.entities + ) + + def load_tags(self, entities: Iterator[Tags]) -> None: + section_head = next(entities) + if section_head[0] != (0, "SECTION") or section_head[1] != ( + 2, + "ACDSDATA", + ): + raise DXFStructureError( + "Critical structure error in ACDSDATA section." + ) + + self.section_info = section_head + for entity in entities: + self.append(AcDsData(entity)) # tags have no subclasses + + def append(self, entity: AcDsData) -> None: + cls = ACDSDATA_TYPES.get(entity.dxftype(), AcDsData) + data = cls(entity.tags) + self.entities.append(data) + + def export_dxf(self, tagwriter: AbstractTagWriter) -> None: + if not self.is_valid or not self.has_records: + # Empty ACDSDATA section is not required! + return + tagwriter.write_tags(self.section_info) + for entity in self.entities: + entity.export_dxf(tagwriter) + tagwriter.write_tag2(0, "ENDSEC") + + @property + def acdsrecords(self) -> Iterator[AcDsRecord]: + return ( + entity for entity in self.entities if isinstance(entity, AcDsRecord) + ) + + def get_acis_data(self, handle: str) -> bytes: + asm_record = self.find_acis_record(handle) + if asm_record is not None: + return b"".join(get_acis_data(asm_record)) + return b"" + + def set_acis_data(self, handle: str, sab_data: bytes) -> None: + asm_record = self.find_acis_record(handle) + if asm_record is not None: + set_acis_data(asm_record, sab_data) + else: + self.new_acis_data(handle, sab_data) + + def new_acis_data(self, handle: str, sab_data: bytes) -> None: + self.entities.append(new_acis_record(handle, sab_data)) + + def del_acis_data(self, handle) -> None: + asm_record = self.find_acis_record(handle) + if asm_record is not None: + self.entities.remove(asm_record) + + def find_acis_record(self, handle: str) -> Optional[AcDsRecord]: + for record in self.acdsrecords: + if is_acis_data(record) and acis_entity_handle(record) == handle: + return record + return None + + +class AcDsData(AcDsEntity): + def __init__(self, tags: Tags): + self.tags = tags + + def export_dxf(self, tagwriter: AbstractTagWriter): + tagwriter.write_tags(self.tags) + + def dxftype(self) -> str: + return self.tags[0].value + + +class Section(Tags): + @property + def name(self) -> str: + return self[0].value + + @property + def type(self) -> str: + return self[1].value + + @property + def data(self) -> Tags: + return Tags(self[2:]) + + +class AcDsRecord(AcDsEntity): + def __init__(self, tags: Tags): + self._dxftype = tags[0] + self.flags = tags[1] + self.sections = [ + Section(group) + for group in group_tags(islice(tags, 2, None), splitcode=2) + ] + + def dxftype(self) -> str: + return "ACDSRECORD" + + def has_section(self, name: str) -> bool: + return self.get_section(name, default=None) is not None + + def get_section(self, name: str, default: Any = DXFKeyError) -> Section: + for section in self.sections: + if section.name == name: + return section + if default is DXFKeyError: + raise DXFKeyError(name) + else: + return default + + def index(self, name: str) -> int: + for i, section in enumerate(self.sections): + if section.name == name: + return i + return -1 + + def replace(self, section: Section) -> None: + index = self.index(section.name) + if index == -1: + self.sections.append(section) + else: + self.sections[index] = section + + def append(self, section: Section): + self.sections.append(section) + + def __len__(self): + return len(self.sections) + + def __getitem__(self, item) -> Section: + return self.sections[item] + + def _write_header(self, tagwriter: AbstractTagWriter) -> None: + tagwriter.write_tags(Tags([self._dxftype, self.flags])) + + def export_dxf(self, tagwriter: AbstractTagWriter) -> None: + self._write_header(tagwriter) + for section in self.sections: + tagwriter.write_tags(section) + + +def get_acis_data(record: AcDsRecord) -> list[bytes]: + try: + asm_data = record.get_section("ASM_Data") + except DXFKeyError: # no data stored + return [] + else: + return [tag.value for tag in asm_data if tag.code == 310] + + +def is_acis_data(record: AcDsRecord) -> bool: + return record.has_section("ASM_Data") + + +def acis_entity_handle(record: AcDsRecord) -> str: + try: + section = record.get_section("AcDbDs::ID") + except DXFKeyError: # not present + return "" + return section.get_first_value(320, "") + + +def set_acis_data(record: AcDsRecord, data: bytes) -> None: + chunk_size = 127 + size = len(data) + tags = Tags( + [ + dxftag(2, "ASM_Data"), + dxftag(280, 15), + dxftag(94, size), + ] + ) + index = 0 + while index < size: + tags.append(dxftag(310, data[index : index + chunk_size])) + index += chunk_size + record.replace(Section(tags)) + + +def new_acis_record(handle: str, sab_data: bytes) -> AcDsRecord: + tags = Tags( + [ + dxftag(0, "ACDSRECORD"), + dxftag(90, 1), + dxftag(2, "AcDbDs::ID"), + dxftag(280, 10), + dxftag(320, handle), + ] + ) + record = AcDsRecord(tags) + set_acis_data(record, sab_data) + return record + + +ACDSDATA_TYPES = { + "ACDSRECORD": AcDsRecord, +} + + +DEFAULT_SETUP = """0 +SECTION +2 +ACDSDATA +70 +2 +71 +2 +0 +ACDSSCHEMA +90 +0 +1 +AcDb_Thumbnail_Schema +2 +AcDbDs::ID +280 +10 +91 +8 +2 +Thumbnail_Data +280 +15 +91 +0 +101 +ACDSRECORD +95 +0 +90 +2 +2 +AcDbDs::TreatedAsObjectData +280 +1 +291 +1 +101 +ACDSRECORD +95 +0 +90 +3 +2 +AcDbDs::Legacy +280 +1 +291 +1 +101 +ACDSRECORD +1 +AcDbDs::ID +90 +4 +2 +AcDs:Indexable +280 +1 +291 +1 +101 +ACDSRECORD +1 +AcDbDs::ID +90 +5 +2 +AcDbDs::HandleAttribute +280 +7 +282 +1 +0 +ACDSSCHEMA +90 +1 +1 +AcDb3DSolid_ASM_Data +2 +AcDbDs::ID +280 +10 +91 +8 +2 +ASM_Data +280 +15 +91 +0 +101 +ACDSRECORD +95 +1 +90 +2 +2 +AcDbDs::TreatedAsObjectData +280 +1 +291 +1 +101 +ACDSRECORD +95 +1 +90 +3 +2 +AcDbDs::Legacy +280 +1 +291 +1 +101 +ACDSRECORD +1 +AcDbDs::ID +90 +4 +2 +AcDs:Indexable +280 +1 +291 +1 +101 +ACDSRECORD +1 +AcDbDs::ID +90 +5 +2 +AcDbDs::HandleAttribute +280 +7 +282 +1 +0 +ACDSSCHEMA +90 +2 +1 +AcDbDs::TreatedAsObjectDataSchema +2 +AcDbDs::TreatedAsObjectData +280 +1 +91 +0 +0 +ACDSSCHEMA +90 +3 +1 +AcDbDs::LegacySchema +2 +AcDbDs::Legacy +280 +1 +91 +0 +0 +ACDSSCHEMA +90 +4 +1 +AcDbDs::IndexedPropertySchema +2 +AcDs:Indexable +280 +1 +91 +0 +0 +ACDSSCHEMA +90 +5 +1 +AcDbDs::HandleAttributeSchema +2 +AcDbDs::HandleAttribute +280 +7 +91 +1 +284 +1 +""" +# (0, ENDSEC) must be omitted! + + +def new_acds_data_section(doc: Drawing) -> AcDsDataSection: + if doc.dxfversion >= "AC1027": + return AcDsDataSection(doc, group_tags(Tags.from_text(DEFAULT_SETUP))) + else: + return AcDsDataSection(doc) diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/sections/blocks.py b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/sections/blocks.py new file mode 100644 index 0000000000000000000000000000000000000000..23f6ff877bbf94f0e753d9ec2bec3b4b4e93a423 --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/sections/blocks.py @@ -0,0 +1,518 @@ +# Copyright (c) 2011-2022, Manfred Moitzi +# License: MIT License +from __future__ import annotations +from typing import ( + TYPE_CHECKING, + Iterable, + Iterator, + Union, + cast, + Optional, +) +import logging +from pyparsing import ParseException +from ezdxf.audit import Auditor, AuditError +from ezdxf.layouts.blocklayout import BlockLayout +from ezdxf.lldxf import const, validator +from ezdxf.lldxf.const import ( + DXFBlockInUseError, + DXFKeyError, + DXFStructureError, + DXFTableEntryError, + DXFTypeError, +) +from ezdxf.entities import ( + Attrib, + Block, + BlockRecord, + EndBlk, + entity_linker, + factory, + is_graphic_entity, +) +from ezdxf.math import UVec, NULLVEC, Vec3 +from ezdxf.render.arrows import ARROWS + +if TYPE_CHECKING: + from ezdxf.document import Drawing + from ezdxf.entities import DXFEntity, DXFTagStorage + from ezdxf.entitydb import EntityDB + from ezdxf.lldxf.tagwriter import AbstractTagWriter + from ezdxf.sections.table import Table + +logger = logging.getLogger("ezdxf") + + +def is_special_block(name: str) -> bool: + name = name.upper() + # Anonymous dimension, groups and table blocks do not have explicit + # references by an INSERT entity: + if is_anonymous_block(name): + return True + + # Arrow blocks maybe used in DIMENSION or LEADER override without an + # INSERT reference: + if ARROWS.is_ezdxf_arrow(name): + return True + if name.startswith("_"): + if ARROWS.is_acad_arrow(ARROWS.arrow_name(name)): + return True + + return False + + +def is_anonymous_block(name: str) -> bool: + # *U### = anonymous BLOCK, require an explicit INSERT to be in use + # *E### = anonymous non-uniformly scaled BLOCK, requires INSERT? + # *X### = anonymous HATCH graphic, requires INSERT? + # *D### = anonymous DIMENSION graphic, has no explicit INSERT + # *A### = anonymous GROUP, requires INSERT? + # *T### = anonymous block for ACAD_TABLE, has no explicit INSERT + return len(name) > 1 and name[0] == "*" and name[1] in "UEXDAT" + + +def recover_block_name(block: Block) -> str: + name = block.dxf.get("name", "") + if name: + return name + owner = block.dxf.get("owner", "") + if not owner: + return "" + doc = block.doc + # The owner of BLOCK is BLOCK_RECORD which also stores the block name + # as group code 2; DXF attribute name is "name" + if doc is not None and doc.entitydb is not None: + block_record = doc.entitydb.get(owner) + if isinstance(block_record, BlockRecord): + return block_record.dxf.get("name", "") + return "" + + +_MISSING_BLOCK_ = Block() + + +class BlocksSection: + """ + Manages BLOCK definitions in a dict(), block names are case insensitive + e.g. 'Test' == 'TEST'. + + """ + + def __init__( + self, + doc: Optional[Drawing] = None, + entities: Optional[list[DXFEntity]] = None, + ): + self.doc = doc + if entities is not None: + self.load(entities) + self._reconstruct_orphaned_block_records() + self._anonymous_block_counter = 0 + + def __len__(self): + return len(self.block_records) + + @staticmethod + def key(entity: Union[str, BlockLayout]) -> str: + if not isinstance(entity, str): + entity = entity.name + return entity.lower() # block key is lower case + + @property + def block_records(self) -> Table: + return self.doc.block_records # type: ignore + + @property + def entitydb(self) -> EntityDB: + return self.doc.entitydb # type: ignore + + def load(self, entities: list[DXFEntity]) -> None: + """ + Load DXF entities into BlockLayouts. `entities` is a list of + entity tags, separated by BLOCK and ENDBLK entities. + + """ + + def load_block_record( + block: Block, + endblk: EndBlk, + block_entities: list[DXFEntity], + ) -> BlockRecord | None: + try: + block_record = cast("BlockRecord", block_records.get(block.dxf.name)) + # Special case DXF R12 - has no BLOCK_RECORD table + except DXFTableEntryError: + block_record = cast( + "BlockRecord", + block_records.new(block.dxf.name, dxfattribs={"scale": 0}), + ) + except DXFTypeError: + raise DXFStructureError( + f"Invalid or missing name of BLOCK #{block.dxf.handle}" + ) + # The BLOCK_RECORD is the central object which stores all the + # information about a BLOCK and also owns all the entities of + # this block definition. + block_record.set_block(block, endblk) + for entity in block_entities: + block_record.add_entity(entity) # type: ignore + return block_record + + def link_entities() -> Iterable["DXFEntity"]: + linked = entity_linker() + for entity in entities: + # Do not store linked entities (VERTEX, ATTRIB, SEQEND) in + # the block layout, linked entities ares stored in their + # parent entity e.g. VERTEX -> POLYLINE: + if not linked(entity): + yield entity + + block_records = self.block_records + section_head = cast("DXFTagStorage", entities[0]) + if section_head.dxftype() != "SECTION" or section_head.base_class[1] != ( + 2, + "BLOCKS", + ): + raise DXFStructureError("Critical structure error in BLOCKS section.") + # Remove SECTION entity + del entities[0] + content: list[DXFEntity] = [] + block: Block = _MISSING_BLOCK_ + for entity in link_entities(): + if isinstance(entity, Block): + if block is not _MISSING_BLOCK_: + logger.warning("Missing required ENDBLK, ignoring content.") + block = entity + content.clear() + elif isinstance(entity, EndBlk): + if block is _MISSING_BLOCK_: + logger.warning( + "Found ENDBLK without a preceding BLOCK, ignoring content." + ) + else: + block_name = block.dxf.get("name", "") + handle = block.dxf.get("handle", "") + if not block_name: + block_name = recover_block_name(block) + if block_name: + logger.info( + f'Recovered block name "{block_name}" for block #{handle}.' + ) + block.dxf.name = block_name + if block_name: + block_record = load_block_record(block, entity, content) + if isinstance(block_record, BlockRecord): + self.add(block_record) + else: + logger.warning( + f"Ignoring invalid BLOCK definition #{handle}." + ) + else: + logger.warning(f"Ignoring BLOCK without name #{handle}.") + block = _MISSING_BLOCK_ + content.clear() + else: + # No check for valid entities here: + # Use the audit or the recover module to fix invalid DXF files! + content.append(entity) + + def _reconstruct_orphaned_block_records(self): + """Find BLOCK_RECORD entries without block definition in the blocks + section and create block definitions for this orphaned block records. + + """ + for block_record in self.block_records: + if block_record.block is None: + block = factory.create_db_entry( + "BLOCK", + dxfattribs={ + "name": block_record.dxf.name, + "base_point": (0, 0, 0), + }, + doc=self.doc, + ) + endblk = factory.create_db_entry( + "ENDBLK", + dxfattribs={}, + doc=self.doc, + ) + block_record.set_block(block, endblk) + self.add(block_record) + + def export_dxf(self, tagwriter: AbstractTagWriter) -> None: + tagwriter.write_str(" 0\nSECTION\n 2\nBLOCKS\n") + for block_record in self.block_records: + assert isinstance(block_record, BlockRecord) + block_record.export_block_definition(tagwriter) + tagwriter.write_tag2(0, "ENDSEC") + + def add(self, block_record: BlockRecord) -> BlockLayout: + """Add or replace a block layout object defined by its block record. + (internal API) + """ + block_layout = BlockLayout(block_record) + block_record.block_layout = block_layout + assert self.block_records.has_entry(block_record.dxf.name) + return block_layout + + def __iter__(self) -> Iterator[BlockLayout]: + """Iterable of all :class:`~ezdxf.layouts.BlockLayout` objects.""" + return (block_record.block_layout for block_record in self.block_records) + + def __contains__(self, name: str) -> bool: + """Returns ``True`` if :class:`~ezdxf.layouts.BlockLayout` `name` + exist. + """ + return self.block_records.has_entry(name) + + def __getitem__(self, name: str) -> BlockLayout: + """Returns :class:`~ezdxf.layouts.BlockLayout` `name`, + raises :class:`DXFKeyError` if `name` not exist. + """ + try: + block_record = cast("BlockRecord", self.block_records.get(name)) + return block_record.block_layout # type: ignore + except DXFTableEntryError: + raise DXFKeyError(name) + + def __delitem__(self, name: str) -> None: + """Deletes :class:`~ezdxf.layouts.BlockLayout` `name` and all of + its content, raises :class:`DXFKeyError` if `name` not exist. + """ + if name in self: + self.block_records.remove(name) + else: + raise DXFKeyError(f'Block "{name}" does not exist.') + + def block_names(self) -> list[str]: + """Returns a list of all block names.""" + return list(self.doc.block_records.entries.keys()) # type: ignore + + def get(self, name: str, default=None) -> BlockLayout: + """Returns :class:`~ezdxf.layouts.BlockLayout` `name`, returns + `default` if `name` not exist. + """ + try: + return self.__getitem__(name) + except DXFKeyError: + return default + + def get_block_layout_by_handle(self, block_record_handle: str) -> BlockLayout: + """Returns a block layout by block record handle. (internal API)""" + return self.doc.entitydb[block_record_handle].block_layout # type: ignore + + def new( + self, + name: str, + base_point: UVec = NULLVEC, + dxfattribs=None, + ) -> BlockLayout: + """Create and add a new :class:`~ezdxf.layouts.BlockLayout`, `name` + is the BLOCK name, `base_point` is the insertion point of the BLOCK. + """ + assert self.doc is not None + block_record = cast(BlockRecord, self.doc.block_records.new(name)) + + dxfattribs = dxfattribs or {} + dxfattribs["owner"] = block_record.dxf.handle + dxfattribs["name"] = name + dxfattribs["base_point"] = Vec3(base_point) + head = factory.create_db_entry("BLOCK", dxfattribs, self.doc) + tail = factory.create_db_entry( + "ENDBLK", {"owner": block_record.dxf.handle}, doc=self.doc + ) + block_record.set_block(head, tail) # type: ignore + return self.add(block_record) + + def new_anonymous_block( + self, type_char: str = "U", base_point: UVec = NULLVEC + ) -> BlockLayout: + """Create and add a new anonymous :class:`~ezdxf.layouts.BlockLayout`, + `type_char` is the BLOCK type, `base_point` is the insertion point of + the BLOCK. + + ========= ========== + type_char Anonymous Block Type + ========= ========== + ``'U'`` ``'*U###'`` anonymous BLOCK + ``'E'`` ``'*E###'`` anonymous non-uniformly scaled BLOCK + ``'X'`` ``'*X###'`` anonymous HATCH graphic + ``'D'`` ``'*D###'`` anonymous DIMENSION graphic + ``'A'`` ``'*A###'`` anonymous GROUP + ``'T'`` ``'*T###'`` anonymous block for ACAD_TABLE content + ========= ========== + + """ + block_name = self.anonymous_block_name(type_char) + block = self.new(block_name, base_point, {"flags": const.BLK_ANONYMOUS}) + return block + + def anonymous_block_name(self, type_char: str) -> str: + """Create name for an anonymous block. (internal API) + + Args: + type_char: letter + + U = *U### anonymous blocks + E = *E### anonymous non-uniformly scaled blocks + X = *X### anonymous hatches + D = *D### anonymous dimensions + A = *A### anonymous groups + T = *T### anonymous ACAD_TABLE content + + """ + while True: + self._anonymous_block_counter += 1 + block_name = f"*{type_char}{self._anonymous_block_counter}" + if not self.block_records.has_entry(block_name): + return block_name + + def rename_block(self, old_name: str, new_name: str) -> None: + """Rename :class:`~ezdxf.layouts.BlockLayout` `old_name` to `new_name` + + .. warning:: + + This is a low-level tool and does not rename the block references, + so all block references to `old_name` are pointing to a non-existing + block definition! + + """ + block_record = cast(BlockRecord, self.block_records.get(old_name)) + block_record.rename(new_name) + self.block_records.replace(old_name, block_record) + self.add(block_record) + + def delete_block(self, name: str, safe: bool = True) -> None: + """Delete block. + + Applies some safety checks when `safe` is ``True``. + A :class:`DXFBlockInUseError` will be raised for: + + - blocks with active references + - blocks representing existing layouts + - special blocks used internally + + Args: + name: block name (case-insensitive) + safe: apply safety checks + + Raises: + DXFKeyError: if block not exists + DXFBlockInUseError: when safe is ``True`` and block is in use + """ + if safe: + assert self.doc is not None, "valid DXF document required" + block = self.doc.blocks.get(name) + if block is None: + raise DXFKeyError(f'Block "{name}" does not exist.') + if not block.is_alive: + return # block is already destroyed + if block.is_any_layout: + raise DXFBlockInUseError( + f'Block "{name}" represents an existing layout.' + ) + if is_special_block(name): + raise DXFBlockInUseError( + f'Special block "{name}" maybe used without explicit INSERT entity.' + ) + query_string = f'INSERT[name=="{name}"]i' + try: + block_refs = self.doc.query(query_string) # ignore case + except ParseException: + logger.error(f'Parsing error in query string: "{query_string}"') + return + + if len(block_refs): + raise DXFBlockInUseError(f'Block "{name}" is still in use.') + self.__delitem__(name) + + def delete_all_blocks(self) -> None: + """Delete all blocks without references except modelspace- or + paperspace layout blocks, special arrow- and anonymous blocks + (DIMENSION, ACAD_TABLE). + + .. warning:: + + There could exist references to blocks which are not documented in the DXF + reference, hidden in extended data sections or application defined data, + which could invalidate a DXF document if these blocks will be deleted. + + """ + assert self.doc is not None + active_references = set( + validator.make_table_key(entity.dxf.name) + for entity in self.doc.query("INSERT") + ) + + def is_safe(name: str) -> bool: + if is_special_block(name): + return False + return name not in active_references + + trash = set() + for block in self: + name = validator.make_table_key(block.name) + if not block.is_any_layout and is_safe(name): + trash.add(name) + + for name in trash: + self.__delitem__(name) + + def audit(self, auditor: Auditor) -> None: + """Audit and repair BLOCKS section. + + .. important:: + + Do not delete entities during the auditing process as this will alter + the entity database while iterating it, instead use:: + + auditor.trash(entity) + + to delete invalid entities after auditing automatically. + + """ + assert self.doc is auditor.doc, "Auditor for different DXF document." + + for block_record in self.block_records: + assert isinstance(block_record, BlockRecord) + + block_record_handle: str = block_record.dxf.handle + unlink_entities: list[DXFEntity] = [] + es = block_record.entity_space + for entity in es: + if not is_graphic_entity(entity): + auditor.fixed_error( + code=AuditError.REMOVED_INVALID_GRAPHIC_ENTITY, + message=f"Removed invalid DXF entity {str(entity)} from" + f" BLOCK '{block_record.dxf.name}'.", + ) + auditor.trash(entity) + elif isinstance(entity, Attrib): + # ATTRIB can only exist as an attached entity of the INSERT + # entity! + auditor.fixed_error( + code=AuditError.REMOVED_STANDALONE_ATTRIB_ENTITY, + message=f"Removed standalone {str(entity)} entity from" + f" BLOCK '{block_record.dxf.name}'.", + ) + auditor.trash(entity) + + if not entity.is_alive: + continue + + if entity.dxf.owner != block_record_handle: + auditor.fixed_error( + code=AuditError.REMOVED_ENTITY_WITH_INVALID_OWNER_HANDLE, + message=f"Removed DXF entity {str(entity)} with invalid owner " + f"handle (#{entity.dxf.owner} != #{block_record_handle}) " + f"from BLOCK '{block_record.dxf.name}'.", + ) + # do not destroy the entity, it's maybe owned to another block + unlink_entities.append(entity) + + for entity in unlink_entities: + if entity.is_alive: + try: + es.remove(entity) + except ValueError: + pass diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/sections/classes.py b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/sections/classes.py new file mode 100644 index 0000000000000000000000000000000000000000..8169c520854c3d28632fa2d2c6206fd7348c5e71 --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/sections/classes.py @@ -0,0 +1,324 @@ +# Copyright (c) 2011-2022, Manfred Moitzi +# License: MIT License +from __future__ import annotations +from typing import TYPE_CHECKING, Iterator, Iterable, Union, cast, Optional +from collections import Counter, OrderedDict +import logging + +from ezdxf.lldxf.const import DXFStructureError, DXF2004, DXF2000, DXFKeyError +from ezdxf.entities.dxfclass import DXFClass +from ezdxf.entities.dxfentity import DXFEntity, DXFTagStorage + +if TYPE_CHECKING: + from ezdxf.document import Drawing + from ezdxf.lldxf.tagwriter import AbstractTagWriter + +logger = logging.getLogger("ezdxf") + +# name: cpp_class_name (2), app_name (3), flags(90), was_a_proxy (280), +# is_an_entity (281) +# Multiple entries for 'name' are possible and supported, ClassSection stores +# entries with key: (name, cpp_class_name). +# 0 CLASS +# 1 MPOLYGON +# 2 AcDbMPolygon +# 3 "AcMPolygonObj15|Version(1.0.0.0) Product Desc: Object enabler for the AcDbMPolyg ... odesk.com" +# 90 3071, b101111111111 +# 280 0 +# 281 1 +CLASS_DEFINITIONS = { + "ACDBDICTIONARYWDFLT": [ + "AcDbDictionaryWithDefault", + "ObjectDBX Classes", + 0, + 0, + 0, + ], + "SUN": ["AcDbSun", "SCENEOE", 1153, 0, 0], + "DICTIONARYVAR": ["AcDbDictionaryVar", "ObjectDBX Classes", 0, 0, 0], + "TABLESTYLE": ["AcDbTableStyle", "ObjectDBX Classes", 4095, 0, 0], + "MATERIAL": ["AcDbMaterial", "ObjectDBX Classes", 1153, 0, 0], + "VISUALSTYLE": ["AcDbVisualStyle", "ObjectDBX Classes", 4095, 0, 0], + "SCALE": ["AcDbScale", "ObjectDBX Classes", 1153, 0, 0], + "MLEADERSTYLE": ["AcDbMLeaderStyle", "ACDB_MLEADERSTYLE_CLASS", 4095, 0, 0], + "MLEADER": ["AcDbMLeader", "ACDB_MLEADER_CLASS", 3071, 0, 1], + "MPOLYGON": ["AcDbMPolygon", "AcMPolygonObj15", 1025, 0, 1], + "CELLSTYLEMAP": ["AcDbCellStyleMap", "ObjectDBX Classes", 1152, 0, 0], + "EXACXREFPANELOBJECT": ["ExAcXREFPanelObject", "EXAC_ESW", 1025, 0, 0], + "NPOCOLLECTION": [ + "AcDbImpNonPersistentObjectsCollection", + "ObjectDBX Classes", + 1153, + 0, + 0, + ], + "LAYER_INDEX": ["AcDbLayerIndex", "ObjectDBX Classes", 0, 0, 0], + "SPATIAL_INDEX": ["AcDbSpatialIndex", "ObjectDBX Classes", 0, 0, 0], + "IDBUFFER": ["AcDbIdBuffer", "ObjectDBX Classes", 0, 0, 0], + "DIMASSOC": ["AcDbDimAssoc", "AcDbDimAssoc", 0, 0, 0], + "ACDBSECTIONVIEWSTYLE": [ + "AcDbSectionViewStyle", + "ObjectDBX Classes", + 1025, + 0, + 0, + ], + "ACDBDETAILVIEWSTYLE": [ + "AcDbDetailViewStyle", + "ObjectDBX Classes", + 1025, + 0, + 0, + ], + "IMAGEDEF": ["AcDbRasterImageDef", "ISM", 0, 0, 0], + "RASTERVARIABLES": ["AcDbRasterVariables", "ISM", 0, 0, 0], + "IMAGEDEF_REACTOR": ["AcDbRasterImageDefReactor", "ISM", 1, 0, 0], + "IMAGE": ["AcDbRasterImage", "ISM", 2175, 0, 1], + "PDFDEFINITION": ["AcDbPdfDefinition", "ObjectDBX Classes", 1153, 0, 0], + "PDFUNDERLAY": ["AcDbPdfReference", "ObjectDBX Classes", 4095, 0, 1], + "DWFDEFINITION": ["AcDbDwfDefinition", "ObjectDBX Classes", 1153, 0, 0], + "DWFUNDERLAY": ["AcDbDwfReference", "ObjectDBX Classes", 1153, 0, 1], + "DGNDEFINITION": ["AcDbDgnDefinition", "ObjectDBX Classes", 1153, 0, 0], + "DGNUNDERLAY": ["AcDbDgnReference", "ObjectDBX Classes", 1153, 0, 1], + "MENTALRAYRENDERSETTINGS": [ + "AcDbMentalRayRenderSettings", + "SCENEOE", + 1024, + 0, + 0, + ], + "ACDBPLACEHOLDER": ["AcDbPlaceHolder", "ObjectDBX Classes", 0, 0, 0], + "LAYOUT": ["AcDbLayout", "ObjectDBX Classes", 0, 0, 0], + "SURFACE": ["AcDbSurface", "ObjectDBX Classes", 4095, 0, 1], + "EXTRUDEDSURFACE": ["AcDbExtrudedSurface", "ObjectDBX Classes", 4095, 0, 1], + "LOFTEDSURFACE": ["AcDbLoftedSurface", "ObjectDBX Classes", 0, 0, 1], + "REVOLVEDSURFACE": ["AcDbRevolvedSurface", "ObjectDBX Classes", 0, 0, 1], + "SWEPTSURFACE": ["AcDbSweptSurface", "ObjectDBX Classes", 0, 0, 1], + "PLANESURFACE": ["AcDbPlaneSurface", "ObjectDBX Classes", 4095, 0, 1], + "NURBSSURFACE": ["AcDbNurbSurface", "ObjectDBX Classes", 4095, 0, 1], + "ACDBASSOCEXTRUDEDSURFACEACTIONBODY": [ + "AcDbAssocExtrudedSurfaceActionBody", + "ObjectDBX Classes", + 1025, + 0, + 0, + ], + "ACDBASSOCLOFTEDSURFACEACTIONBODY": [ + "AcDbAssocLoftedSurfaceActionBody", + "ObjectDBX Classes", + 1025, + 0, + 0, + ], + "ACDBASSOCREVOLVEDSURFACEACTIONBODY": [ + "AcDbAssocRevolvedSurfaceActionBody", + "ObjectDBX Classes", + 1025, + 0, + 0, + ], + "ACDBASSOCSWEPTSURFACEACTIONBODY": [ + "AcDbAssocSweptSurfaceActionBody", + "ObjectDBX Classes", + 1025, + 0, + 0, + ], + "HELIX": ["AcDbHelix", "ObjectDBX Classes", 4095, 0, 1], + "WIPEOUT": ["AcDbWipeout", "WipeOut", 127, 0, 1], + "WIPEOUTVARIABLES": ["AcDbWipeoutVariables", "WipeOut", 0, 0, 0], + "FIELDLIST": ["AcDbFieldList", "ObjectDBX Classes", 1152, 0, 0], + "GEODATA": ["AcDbGeoData", "ObjectDBX Classes", 4095, 0, 0], + "SORTENTSTABLE": ["AcDbSortentsTable", "ObjectDBX Classes", 0, 0, 0], + "ACAD_TABLE": ["AcDbTable", "ObjectDBX Classes", 1025, 0, 1], + "ARC_DIMENSION": ["AcDbArcDimension", "ObjectDBX Classes", 1025, 0, 1], + "LARGE_RADIAL_DIMENSION": [ + "AcDbRadialDimensionLarge", + "ObjectDBX Classes", + 1025, + 0, + 1, + ], +} + +REQ_R2000 = [ + "ACDBDICTIONARYWDFLT", + "SUN", + "VISUALSTYLE", + "MATERIAL", + "SCALE", + "TABLESTYLE", + "MLEADERSTYLE", + "DICTIONARYVAR", + "CELLSTYLEMAP", + "MENTALRAYRENDERSETTINGS", + "ACDBDETAILVIEWSTYLE", + "ACDBSECTIONVIEWSTYLE", + "RASTERVARIABLES", + "ACDBPLACEHOLDER", + "LAYOUT", +] + +REQ_R2004 = [ + "ACDBDICTIONARYWDFLT", + "SUN", + "VISUALSTYLE", + "MATERIAL", + "SCALE", + "TABLESTYLE", + "MLEADERSTYLE", + "DICTIONARYVAR", + "CELLSTYLEMAP", + "MENTALRAYRENDERSETTINGS", + "ACDBDETAILVIEWSTYLE", + "ACDBSECTIONVIEWSTYLE", + "RASTERVARIABLES", +] + +REQUIRED_CLASSES = { + DXF2000: REQ_R2000, + DXF2004: REQ_R2004, +} + + +class ClassesSection: + def __init__( + self, + doc: Optional[Drawing] = None, + entities: Optional[Iterable[DXFEntity]] = None, + ): + # Multiple entries for 'name' possible -> key is (name, cpp_class_name) + # DXFClasses are not stored in the entities database, because CLASS has + # no handle. + self.classes: dict[tuple[str, str], DXFClass] = OrderedDict() + self.doc = doc + if entities is not None: + self.load(iter(entities)) + + def __iter__(self) -> Iterator[DXFClass]: + return (cls for cls in self.classes.values()) + + def load(self, entities: Iterator[DXFEntity]) -> None: + section_head = cast(DXFTagStorage, next(entities)) + + if section_head.dxftype() != "SECTION" or section_head.base_class[1] != ( + 2, + "CLASSES", + ): + raise DXFStructureError("Critical structure error in CLASSES section.") + + for cls_entity in entities: + if isinstance(cls_entity, DXFClass): + self.register(cls_entity) + else: + logger.warning( + f"Ignored invalid DXF entity type '{cls_entity.dxftype()}'" + f" in section CLASSES." + ) + + def register( + self, classes: Optional[Union[DXFClass, Iterable[DXFClass]]] = None + ) -> None: + if classes is None: + return + + if isinstance(classes, DXFClass): + classes = (classes,) + + for dxfclass in classes: + key = dxfclass.key + if key not in self.classes: + self.classes[key] = dxfclass + + def add_class(self, name: str): + """Register a known class by `name`.""" + if name not in CLASS_DEFINITIONS: + return + cls_data = CLASS_DEFINITIONS[name] + cls = DXFClass.new(doc=self.doc) + cpp, app, flags, proxy, entity = cls_data + cls.update_dxf_attribs( + { + "name": name, + "cpp_class_name": cpp, + "app_name": app, + "flags": flags, + "was_a_proxy": proxy, + "is_an_entity": entity, + } + ) + self.register(cls) + + def get(self, name: str) -> DXFClass: + """Returns the first class matching `name`. + + Storage key is the ``(name, cpp_class_name)`` tuple, because there are + some classes with the same :attr:`name` but different + :attr:`cpp_class_names`. + + """ + for cls in self.classes.values(): + if cls.dxf.name == name: + return cls + raise DXFKeyError(name) + + def add_required_classes(self, dxfversion: str) -> None: + """Add all required CLASS definitions for the specified DXF version.""" + names = REQUIRED_CLASSES.get(dxfversion, REQ_R2004) + for name in names: + self.add_class(name) + + if self.doc is None: # testing environment SUT + return + + dxf_types_in_use = self.doc.entitydb.dxf_types_in_use() + if "IMAGE" in dxf_types_in_use: + self.add_class("IMAGE") + self.add_class("IMAGEDEF") + self.add_class("IMAGEDEF_REACTOR") + if "PDFUNDERLAY" in dxf_types_in_use: + self.add_class("PDFDEFINITION") + self.add_class("PDFUNDERLAY") + if "DWFUNDERLAY" in dxf_types_in_use: + self.add_class("DWFDEFINITION") + self.add_class("DWFUNDERLAY") + if "DGNUNDERLAY" in dxf_types_in_use: + self.add_class("DGNDEFINITION") + self.add_class("DGNUNDERLAY") + if "EXTRUDEDSURFACE" in dxf_types_in_use: + self.add_class("EXTRUDEDSURFACE") + self.add_class("ACDBASSOCEXTRUDEDSURFACEACTIONBODY") + if "LOFTEDSURFACE" in dxf_types_in_use: + self.add_class("LOFTEDSURFACE") + self.add_class("ACDBASSOCLOFTEDSURFACEACTIONBODY") + if "REVOLVEDSURFACE" in dxf_types_in_use: + self.add_class("REVOLVEDSURFACE") + self.add_class("ACDBASSOCREVOLVEDSURFACEACTIONBODY") + if "SWEPTSURFACE" in dxf_types_in_use: + self.add_class("SWEPTSURFACE") + self.add_class("ACDBASSOCSWEPTSURFACEACTIONBODY") + + for dxftype in dxf_types_in_use: + self.add_class(dxftype) + + def export_dxf(self, tagwriter: AbstractTagWriter) -> None: + """Export DXF tags. (internal API)""" + tagwriter.write_str(" 0\nSECTION\n 2\nCLASSES\n") + for dxfclass in self.classes.values(): + dxfclass.export_dxf(tagwriter) + tagwriter.write_str(" 0\nENDSEC\n") + + def update_instance_counters(self) -> None: + """Update CLASS instance counter for all registered classes, requires + DXF R2004+. + """ + assert self.doc is not None + if self.doc.dxfversion < DXF2004: + return # instance counter not supported + counter: dict[str, int] = Counter() + # count all entities in the entity database + for entity in self.doc.entitydb.values(): + counter[entity.dxftype()] += 1 + + for dxfclass in self.classes.values(): + dxfclass.dxf.instance_count = counter[dxfclass.dxf.name] diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/sections/entities.py b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/sections/entities.py new file mode 100644 index 0000000000000000000000000000000000000000..ea3a41720f1bc277c02d87e363f1e04100348b22 --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/sections/entities.py @@ -0,0 +1,113 @@ +# Copyright (c) 2011-2022, Manfred Moitzi +# License: MIT License +from __future__ import annotations +from typing import TYPE_CHECKING, Iterable, Iterator, cast, Optional +from itertools import chain +import logging + +from ezdxf.lldxf import const +from ezdxf.entities import entity_linker + +if TYPE_CHECKING: + from ezdxf.document import Drawing + from ezdxf.entities import DXFEntity, DXFTagStorage, BlockRecord, DXFGraphic + from ezdxf.lldxf.tagwriter import AbstractTagWriter + from ezdxf.lldxf.tags import Tags + + +logger = logging.getLogger("ezdxf") + + +class StoredSection: + def __init__(self, entities: list[Tags]): + self.entities = entities + + def export_dxf(self, tagwriter: AbstractTagWriter): + # (0, SECTION) (2, NAME) is stored in entities + for entity in self.entities: + tagwriter.write_tags(entity) + # ENDSEC not stored in entities !!! + tagwriter.write_str(" 0\nENDSEC\n") + + +class EntitySection: + """:class:`EntitiesSection` is just a proxy for :class:`Modelspace` and + active :class:`Paperspace` linked together. + """ + + def __init__( + self, + doc: Optional[Drawing] = None, + entities: Optional[Iterable[DXFEntity]] = None, + ): + self.doc = doc + if entities is not None: + self._build(iter(entities)) + + def __iter__(self) -> Iterator[DXFEntity]: + """Returns an iterator for all entities of the modelspace and the active + paperspace. + """ + assert self.doc is not None + layouts = self.doc.layouts + for entity in chain(layouts.modelspace(), layouts.active_layout()): + yield entity + + def __len__(self) -> int: + """Returns the count of all entities in the modelspace and the active paperspace. + """ + assert self.doc is not None + layouts = self.doc.layouts + return len(layouts.modelspace()) + len(layouts.active_layout()) + + # none public interface + + def _build(self, entities: Iterator[DXFEntity]) -> None: + assert self.doc is not None + section_head = cast("DXFTagStorage", next(entities)) + if section_head.dxftype() != "SECTION" or section_head.base_class[ + 1 + ] != (2, "ENTITIES"): + raise const.DXFStructureError( + "Critical structure error in ENTITIES section." + ) + + def add(entity: DXFGraphic): + handle = entity.dxf.owner + # higher priority for owner handle + paperspace = 0 + if handle == msp_layout_key: + paperspace = 0 + elif handle == psp_layout_key: + paperspace = 1 + elif entity.dxf.hasattr( + "paperspace" + ): # paperspace flag as fallback + paperspace = entity.dxf.paperspace + + if paperspace: + psp.add_entity(entity) + else: + msp.add_entity(entity) + + msp = cast("BlockRecord", self.doc.block_records.get("*Model_Space")) + psp = cast("BlockRecord", self.doc.block_records.get("*Paper_Space")) + msp_layout_key: str = msp.dxf.handle + psp_layout_key: str = psp.dxf.handle + linked_entities = entity_linker() + # Don't store linked entities (VERTEX, ATTRIB, SEQEND) in entity space + for entity in entities: + # No check for valid entities here: + # Use the audit- or the recover module to fix invalid DXF files! + if not linked_entities(entity): + add(entity) # type: ignore + + def export_dxf(self, tagwriter: AbstractTagWriter) -> None: + assert self.doc is not None + layouts = self.doc.layouts + tagwriter.write_str(" 0\nSECTION\n 2\nENTITIES\n") + # Just write *Model_Space and the active *Paper_Space into the + # ENTITIES section. + layouts.modelspace().entity_space.export_dxf(tagwriter) + layouts.active_layout().entity_space.export_dxf(tagwriter) + tagwriter.write_tag2(0, "ENDSEC") diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/sections/header.py b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/sections/header.py new file mode 100644 index 0000000000000000000000000000000000000000..98809154f2d055cc31110c34a4c9b22415398471 --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/sections/header.py @@ -0,0 +1,371 @@ +# Copyright (c) 2011-2022, Manfred Moitzi +# License: MIT License +from __future__ import annotations +from typing import ( + Any, + Iterable, + Iterator, + KeysView, + Optional, + Sequence, + TYPE_CHECKING, + Union, +) +import logging +from collections import OrderedDict + +from ezdxf.lldxf import const +from ezdxf.lldxf.tags import group_tags, Tags, DXFTag +from ezdxf.lldxf.types import strtag +from ezdxf.lldxf.validator import header_validator +from ezdxf.sections.headervars import ( + HEADER_VAR_MAP, + version_specific_group_code, +) + +if TYPE_CHECKING: + from ezdxf.lldxf.tagwriter import AbstractTagWriter + +logger = logging.getLogger("ezdxf") + +MIN_HEADER_TEXT = """ 0 +SECTION + 2 +HEADER + 9 +$ACADVER + 1 +AC1009 + 9 +$DWGCODEPAGE + 3 +ANSI_1252 + 9 +$HANDSEED + 5 +FF +""" + +# Additional variables may be stored as DICTIONARYVAR in the OBJECTS +# section in the DICTIONARY "AcDbVariableDictionary" of the root dict. +# - CANNOSCALE +# - CENTEREXE +# - CENTERLTYPEFILE +# - CETRANSPARENCY +# - CMLEADERSTYLE +# - CTABLESTYLE +# - CVIEWDETAILSTYLE +# - CVIEWSECTIONSTYLE +# - LAYEREVAL +# - LAYERNOTIFY +# - LIGHTINGUNITS +# - MSLTSCALE + + +class CustomVars: + """The :class:`CustomVars` class stores custom properties in the DXF header as + $CUSTOMPROPERTYTAG and $CUSTOMPROPERTY values. Custom properties require DXF R2004 + or later, `ezdxf` can create custom properties for older DXF versions as well, but + AutoCAD will not show that properties. + + """ + + def __init__(self) -> None: + self.properties: list[tuple[str, str]] = list() + + def __len__(self) -> int: + """Count of custom properties.""" + return len(self.properties) + + def __iter__(self) -> Iterator[tuple[str, str]]: + """Iterate over all custom properties as ``(tag, value)`` tuples.""" + return iter(self.properties) + + def clear(self) -> None: + """Remove all custom properties.""" + self.properties.clear() + + def append(self, tag: str, value: str) -> None: + """Add custom property as ``(tag, value)`` tuple.""" + # custom properties always stored as strings + self.properties.append((tag, str(value))) + + def get(self, tag: str, default: Optional[str] = None): + """Returns the value of the first custom property `tag`.""" + for key, value in self.properties: + if key == tag: + return value + else: + return default + + def has_tag(self, tag: str) -> bool: + """Returns ``True`` if custom property `tag` exist.""" + return self.get(tag) is not None + + def remove(self, tag: str, all: bool = False) -> None: + """Removes the first occurrence of custom property `tag`, removes all + occurrences if `all` is ``True``. + + Raises `:class:`DXFValueError` if `tag` does not exist. + + """ + found_tag = False + for item in self.properties: + if item[0] == tag: + self.properties.remove(item) + found_tag = True + if not all: + return + if not found_tag: + raise const.DXFValueError(f"Tag '{tag}' does not exist") + + def replace(self, tag: str, value: str) -> None: + """Replaces the value of the first custom property `tag` by a new + `value`. + + Raises :class:`DXFValueError` if `tag` does not exist. + + """ + properties = self.properties + for index in range(len(properties)): + name = properties[index][0] + if name == tag: + properties[index] = (name, value) + return + + raise const.DXFValueError(f"Tag '{tag}' does not exist") + + def write(self, tagwriter: AbstractTagWriter) -> None: + """Export custom properties as DXF tags. (internal API)""" + for tag, value in self.properties: + s = f" 9\n$CUSTOMPROPERTYTAG\n 1\n{tag}\n 9\n$CUSTOMPROPERTY\n 1\n{value}\n" + tagwriter.write_str(s) + + +def default_vars() -> OrderedDict: + vars = OrderedDict() + for vardef in HEADER_VAR_MAP.values(): + vars[vardef.name] = HeaderVar(DXFTag(vardef.code, vardef.default)) + return vars + + +class HeaderSection: + MIN_HEADER_TAGS = Tags.from_text(MIN_HEADER_TEXT) + name = "HEADER" + + def __init__(self) -> None: + self.hdrvars: dict[str, HeaderVar] = OrderedDict() + self.custom_vars = CustomVars() + + @classmethod + def load(cls, tags: Optional[Iterable[DXFTag]] = None) -> HeaderSection: + """Constructor to generate header variables loaded from DXF files + (untrusted environment). + + Args: + tags: DXF tags as Tags() or ExtendedTags() + + (internal API) + """ + if tags is None: # create default header + # files without a header have the default version: R12 + return cls.new(dxfversion=const.DXF12) + section = cls() + section.load_tags(iter(tags)) + return section + + @classmethod + def new(cls, dxfversion=const.LATEST_DXF_VERSION) -> HeaderSection: + section = HeaderSection() + section.hdrvars = default_vars() + section["$ACADVER"] = dxfversion + return section + + def load_tags(self, tags: Iterable[DXFTag]) -> None: + """Constructor to generate header variables loaded from DXF files + (untrusted environment). + + Args: + tags: DXF tags as Tags() or ExtendedTags() + + """ + _tags = iter(tags) or iter(self.MIN_HEADER_TAGS) + section_tag = next(_tags) + name_tag = next(_tags) + + if section_tag != (0, "SECTION") or name_tag != (2, "HEADER"): + raise const.DXFStructureError("Critical structure error in HEADER section.") + + groups = group_tags(header_validator(_tags), splitcode=9) + custom_property_stack = [] # collect $CUSTOMPROPERTY/TAG + for group in groups: + name = group[0].value + value = group[1] + if name in ("$CUSTOMPROPERTYTAG", "$CUSTOMPROPERTY"): + custom_property_stack.append(value.value) + else: + self.hdrvars[name] = HeaderVar(value) + + custom_property_stack.reverse() + while len(custom_property_stack): + try: + self.custom_vars.append( + tag=custom_property_stack.pop(), + value=custom_property_stack.pop(), + ) + except IndexError: # internal exception + break + + @classmethod + def from_text(cls, text: str) -> HeaderSection: + """Load constructor from text for testing""" + return cls.load(Tags.from_text(text)) + + def _headervar_factory(self, key: str, value: Any) -> DXFTag: + if key in HEADER_VAR_MAP: + factory = HEADER_VAR_MAP[key].factory + return factory(value) + else: + raise const.DXFKeyError(f"Invalid header variable {key}.") + + def __len__(self) -> int: + """Returns count of header variables.""" + return len(self.hdrvars) + + def __contains__(self, key) -> bool: + """Returns ``True`` if header variable `key` exist.""" + return key in self.hdrvars + + def varnames(self) -> KeysView: + """Returns an iterable of all header variable names.""" + return self.hdrvars.keys() + + def export_dxf(self, tagwriter: AbstractTagWriter) -> None: + """Exports header section as DXF tags. (internal API)""" + + def _write(name: str, value: Any) -> None: + if value.value is None: + logger.info(f"did not write header var {name}, value is None.") + return + tagwriter.write_tag2(9, name) + group_code = version_specific_group_code(name, dxfversion) + # fix invalid group codes + if group_code != value.code: + value = HeaderVar((group_code, value.value)) + tagwriter.write_str(str(value)) + + dxfversion: str = tagwriter.dxfversion + write_handles = tagwriter.write_handles + + tagwriter.write_str(" 0\nSECTION\n 2\nHEADER\n") + save = self["$ACADVER"] + self["$ACADVER"] = dxfversion + for name, value in header_vars_by_priority(self.hdrvars, dxfversion): + if not write_handles and name == "$HANDSEED": + continue # skip $HANDSEED + _write(name, value) + if name == "$LASTSAVEDBY": # ugly hack, but necessary for AutoCAD + self.custom_vars.write(tagwriter) + self["$ACADVER"] = save + tagwriter.write_str(" 0\nENDSEC\n") + + def get(self, key: str, default: Any = None) -> Any: + """Returns value of header variable `key` if exist, else the `default` + value. + + """ + if key in self.hdrvars: + return self.__getitem__(key) + else: + return default + + def __getitem__(self, key: str) -> Any: + """Get header variable `key` by index operator like: + :code:`drawing.header['$ACADVER']` + + """ + try: + return self.hdrvars[key].value + except KeyError: # map exception + raise const.DXFKeyError(str(key)) + + def __setitem__(self, key: str, value: Any) -> None: + """Set header variable `key` to `value` by index operator like: + :code:`drawing.header['$ANGDIR'] = 1` + + """ + try: + tags = self._headervar_factory(key, value) + except (IndexError, ValueError): + raise const.DXFValueError(str(value)) + self.hdrvars[key] = HeaderVar(tags) + + def __delitem__(self, key: str) -> None: + """Delete header variable `key` by index operator like: + :code:`del drawing.header['$ANGDIR']` + + """ + try: + del self.hdrvars[key] + except KeyError: # map exception + raise const.DXFKeyError(str(key)) + + def reset_wcs(self): + """Reset the current UCS settings to the :ref:`WCS`.""" + self["$UCSBASE"] = "" + self["$UCSNAME"] = "" + self["$UCSORG"] = (0, 0, 0) + self["$UCSXDIR"] = (1, 0, 0) + self["$UCSYDIR"] = (0, 1, 0) + self["$UCSORTHOREF"] = "" + self["$UCSORTHOVIEW"] = 0 + self["$UCSORGTOP"] = (0, 0, 0) + self["$UCSORGBOTTOM"] = (0, 0, 0) + self["$UCSORGLEFT"] = (0, 0, 0) + self["$UCSORGRIGHT"] = (0, 0, 0) + self["$UCSORGFRONT"] = (0, 0, 0) + self["$UCSORGBACK"] = (0, 0, 0) + + +def header_vars_by_priority( + header_vars: dict[str, HeaderVar], dxfversion: str +) -> Iterable[tuple]: + order = [] + for name, value in header_vars.items(): + vardef = HEADER_VAR_MAP.get(name, None) + if vardef is None: + logger.info(f"Header variable {name} ignored, dxfversion={dxfversion}.") + continue + if vardef.mindxf <= dxfversion <= vardef.maxdxf: + order.append((vardef.priority, (name, value))) + order.sort() + for priority, tag in order: + yield tag + + +class HeaderVar: + def __init__(self, tag: Union[DXFTag, Sequence]): + self.tag = tag + + @property + def code(self) -> int: + return self.tag[0] + + @property + def value(self) -> Any: + return self.tag[1] + + @property + def ispoint(self) -> bool: + return self.code == 10 + + def __str__(self) -> str: + if self.ispoint: + code, value = self.tag + s = [] + for coord in value: + s.append(strtag((code, coord))) + code += 10 + return "".join(s) + else: + return strtag(self.tag) # type: ignore diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/sections/headervars.py b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/sections/headervars.py new file mode 100644 index 0000000000000000000000000000000000000000..0cdfc44d1541fc2eeeb194cca1a21a19e33991a7 --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/sections/headervars.py @@ -0,0 +1,2390 @@ +# Copyright (c) 2019-2021, Manfred Moitzi +# License: MIT License +from functools import partial +from ezdxf.lldxf.hdrvars import SingleValue, Point2D, Point3D, HeaderVarDef +from ezdxf.lldxf.const import ( + DXF12, + DXF2000, + DXF2004, + DXF2007, + DXF2010, + DXF2013, + DXF2018, +) + +CONST_GUID = "{00000000-0000-0000-0000-000000000000}" + +HEADER_VAR_MAP = { + "$ACADVER": HeaderVarDef( + name="$ACADVER", + code=1, + factory=partial(SingleValue, code=1), + mindxf=DXF12, + maxdxf=DXF2018, + priority=0, + default="AC1032", + ), + "$ACADMAINTVER": HeaderVarDef( + name="$ACADMAINTVER", + # group code changed to 90 in DXF R2018+, this fact is handled in: + # ezdxf.sections.header.HeaderSection.export_dxf() + code=70, + factory=partial(SingleValue, code=70), + mindxf=DXF2000, + maxdxf=DXF2018, + priority=100, + default=4, + ), + "$DWGCODEPAGE": HeaderVarDef( + name="$DWGCODEPAGE", + code=3, + factory=partial(SingleValue, code=3), + mindxf=DXF12, + maxdxf=DXF2018, + priority=200, + default="ANSI_1252", + ), + "$LASTSAVEDBY": HeaderVarDef( + name="$LASTSAVEDBY", + code=1, + factory=partial(SingleValue, code=1), + mindxf=DXF2004, + maxdxf=DXF2018, + priority=300, + default="ezdxf", + ), + "$REQUIREDVERSIONS": HeaderVarDef( + name="$REQUIREDVERSIONS", + code=160, + factory=partial(SingleValue, code=160), + mindxf=DXF2013, + maxdxf=DXF2018, + priority=400, + default=0, + ), + "$INSBASE": HeaderVarDef( + name="$INSBASE", + code=10, + factory=Point3D, + mindxf=DXF12, + maxdxf=DXF2018, + priority=500, + default=(0.0, 0.0, 0.0), + ), + "$EXTMIN": HeaderVarDef( + name="$EXTMIN", + code=10, + factory=Point3D, + mindxf=DXF12, + maxdxf=DXF2018, + priority=600, + default=(1e20, 1e20, 1e20), + ), + "$EXTMAX": HeaderVarDef( + name="$EXTMAX", + code=10, + factory=Point3D, + mindxf=DXF12, + maxdxf=DXF2018, + priority=700, + default=(-1e20, -1e20, -1e20), + ), + "$LIMMIN": HeaderVarDef( + name="$LIMMIN", + code=10, + factory=Point2D, + mindxf=DXF12, + maxdxf=DXF2018, + priority=800, + default=(0.0, 0.0), + ), + "$LIMMAX": HeaderVarDef( + name="$LIMMAX", + code=10, + factory=Point2D, + mindxf=DXF12, + maxdxf=DXF2018, + priority=900, + default=(420.0, 297.0), + ), + "$ORTHOMODE": HeaderVarDef( + name="$ORTHOMODE", + code=70, + factory=partial(SingleValue, code=70), + mindxf=DXF12, + maxdxf=DXF2018, + priority=1000, + default=0, + ), + "$REGENMODE": HeaderVarDef( + name="$REGENMODE", + code=70, + factory=partial(SingleValue, code=70), + mindxf=DXF12, + maxdxf=DXF2018, + priority=1100, + default=1, + ), + "$FILLMODE": HeaderVarDef( + name="$FILLMODE", + code=70, + factory=partial(SingleValue, code=70), + mindxf=DXF12, + maxdxf=DXF2018, + priority=1200, + default=1, + ), + "$DRAGMODE": HeaderVarDef( + name="$DRAGMODE", + code=70, + factory=partial(SingleValue, code=70), + mindxf=DXF12, + maxdxf=DXF12, + priority=1250, + default=2, + ), + "$QTEXTMODE": HeaderVarDef( + name="$QTEXTMODE", + code=70, + factory=partial(SingleValue, code=70), + mindxf=DXF12, + maxdxf=DXF2018, + priority=1300, + default=0, + ), + "$MIRRTEXT": HeaderVarDef( + name="$MIRRTEXT", + code=70, + factory=partial(SingleValue, code=70), + mindxf=DXF12, + maxdxf=DXF2018, + priority=1400, + default=1, + ), + "$OSMODE": HeaderVarDef( + name="$OSMODE", + code=70, + factory=partial(SingleValue, code=70), + mindxf=DXF12, + maxdxf=DXF12, + priority=1400, + default=20583, + ), + "$LTSCALE": HeaderVarDef( + name="$LTSCALE", + code=40, + factory=partial(SingleValue, code=40), + mindxf=DXF12, + maxdxf=DXF2018, + priority=1500, + default=1.0, + ), + "$ATTMODE": HeaderVarDef( + name="$ATTMODE", + code=70, + factory=partial(SingleValue, code=70), + mindxf=DXF12, + maxdxf=DXF2018, + priority=1600, + default=1, + ), + "$TEXTSIZE": HeaderVarDef( + name="$TEXTSIZE", + code=40, + factory=partial(SingleValue, code=40), + mindxf=DXF12, + maxdxf=DXF2018, + priority=1700, + default=2.5, + ), + "$TRACEWID": HeaderVarDef( + name="$TRACEWID", + code=40, + factory=partial(SingleValue, code=40), + mindxf=DXF12, + maxdxf=DXF2018, + priority=1800, + default=1.0, + ), + "$TEXTSTYLE": HeaderVarDef( + name="$TEXTSTYLE", + code=7, + factory=partial(SingleValue, code=7), + mindxf=DXF12, + maxdxf=DXF2018, + priority=1900, + default="Standard", + ), + "$CLAYER": HeaderVarDef( + name="$CLAYER", + code=8, + factory=partial(SingleValue, code=8), + mindxf=DXF12, + maxdxf=DXF2018, + priority=2000, + default="0", + ), + "$CELTYPE": HeaderVarDef( + name="$CELTYPE", + code=6, + factory=partial(SingleValue, code=6), + mindxf=DXF12, + maxdxf=DXF2018, + priority=2100, + default="ByLayer", + ), + "$CECOLOR": HeaderVarDef( + name="$CECOLOR", + code=62, + factory=partial(SingleValue, code=62), + mindxf=DXF12, + maxdxf=DXF2018, + priority=2200, + default=256, + ), + "$CELTSCALE": HeaderVarDef( + name="$CELTSCALE", + code=40, + factory=partial(SingleValue, code=40), + mindxf=DXF2000, + maxdxf=DXF2018, + priority=2300, + default=1.0, + ), + "$DISPSILH": HeaderVarDef( + name="$DISPSILH", + code=70, + factory=partial(SingleValue, code=70), + mindxf=DXF2000, + maxdxf=DXF2018, + priority=2400, + default=0, + ), + "$DIMSCALE": HeaderVarDef( + name="$DIMSCALE", + code=40, + factory=partial(SingleValue, code=40), + mindxf=DXF12, + maxdxf=DXF2018, + priority=2500, + default=1.0, + ), + "$DIMASZ": HeaderVarDef( + name="$DIMASZ", + code=40, + factory=partial(SingleValue, code=40), + mindxf=DXF12, + maxdxf=DXF2018, + priority=2600, + default=2.5, + ), + "$DIMEXO": HeaderVarDef( + name="$DIMEXO", + code=40, + factory=partial(SingleValue, code=40), + mindxf=DXF12, + maxdxf=DXF2018, + priority=2700, + default=0.625, + ), + "$DIMDLI": HeaderVarDef( + name="$DIMDLI", + code=40, + factory=partial(SingleValue, code=40), + mindxf=DXF12, + maxdxf=DXF2018, + priority=2800, + default=3.75, + ), + "$DIMRND": HeaderVarDef( + name="$DIMRND", + code=40, + factory=partial(SingleValue, code=40), + mindxf=DXF12, + maxdxf=DXF2018, + priority=2900, + default=0.0, + ), + "$DIMDLE": HeaderVarDef( + name="$DIMDLE", + code=40, + factory=partial(SingleValue, code=40), + mindxf=DXF12, + maxdxf=DXF2018, + priority=3000, + default=0.0, + ), + "$DIMEXE": HeaderVarDef( + name="$DIMEXE", + code=40, + factory=partial(SingleValue, code=40), + mindxf=DXF12, + maxdxf=DXF2018, + priority=3100, + default=1.25, + ), + "$DIMTP": HeaderVarDef( + name="$DIMTP", + code=40, + factory=partial(SingleValue, code=40), + mindxf=DXF12, + maxdxf=DXF2018, + priority=3200, + default=0.0, + ), + "$DIMTM": HeaderVarDef( + name="$DIMTM", + code=40, + factory=partial(SingleValue, code=40), + mindxf=DXF12, + maxdxf=DXF2018, + priority=3300, + default=0.0, + ), + "$DIMTXT": HeaderVarDef( + name="$DIMTXT", + code=40, + factory=partial(SingleValue, code=40), + mindxf=DXF12, + maxdxf=DXF2018, + priority=3400, + default=2.5, + ), + "$DIMCEN": HeaderVarDef( + name="$DIMCEN", + code=40, + factory=partial(SingleValue, code=40), + mindxf=DXF12, + maxdxf=DXF2018, + priority=3500, + default=2.5, + ), + "$DIMTSZ": HeaderVarDef( + name="$DIMTSZ", + code=40, + factory=partial(SingleValue, code=40), + mindxf=DXF12, + maxdxf=DXF2018, + priority=3600, + default=0.0, + ), + "$DIMTOL": HeaderVarDef( + name="$DIMTOL", + code=70, + factory=partial(SingleValue, code=70), + mindxf=DXF12, + maxdxf=DXF2018, + priority=3700, + default=0, + ), + "$DIMLIM": HeaderVarDef( + name="$DIMLIM", + code=70, + factory=partial(SingleValue, code=70), + mindxf=DXF12, + maxdxf=DXF2018, + priority=3800, + default=0, + ), + "$DIMTIH": HeaderVarDef( + name="$DIMTIH", + code=70, + factory=partial(SingleValue, code=70), + mindxf=DXF12, + maxdxf=DXF2018, + priority=3900, + default=0, + ), + "$DIMTOH": HeaderVarDef( + name="$DIMTOH", + code=70, + factory=partial(SingleValue, code=70), + mindxf=DXF12, + maxdxf=DXF2018, + priority=4000, + default=0, + ), + "$DIMSE1": HeaderVarDef( + name="$DIMSE1", + code=70, + factory=partial(SingleValue, code=70), + mindxf=DXF12, + maxdxf=DXF2018, + priority=4100, + default=0, + ), + "$DIMSE2": HeaderVarDef( + name="$DIMSE2", + code=70, + factory=partial(SingleValue, code=70), + mindxf=DXF12, + maxdxf=DXF2018, + priority=4200, + default=0, + ), + "$DIMTAD": HeaderVarDef( + name="$DIMTAD", + code=70, + factory=partial(SingleValue, code=70), + mindxf=DXF12, + maxdxf=DXF2018, + priority=4300, + default=1, + ), + "$DIMZIN": HeaderVarDef( + name="$DIMZIN", + code=70, + factory=partial(SingleValue, code=70), + mindxf=DXF12, + maxdxf=DXF2018, + priority=4400, + default=8, + ), + "$DIMBLK": HeaderVarDef( + name="$DIMBLK", + code=1, + factory=partial(SingleValue, code=1), + mindxf=DXF12, + maxdxf=DXF2018, + priority=4500, + default="", + ), + "$DIMASO": HeaderVarDef( + name="$DIMASO", + code=70, + factory=partial(SingleValue, code=70), + mindxf=DXF12, + maxdxf=DXF2018, + priority=4600, + default=1, + ), + "$DIMSHO": HeaderVarDef( + name="$DIMSHO", + code=70, + factory=partial(SingleValue, code=70), + mindxf=DXF12, + maxdxf=DXF2018, + priority=4700, + default=1, + ), + "$DIMPOST": HeaderVarDef( + name="$DIMPOST", + code=1, + factory=partial(SingleValue, code=1), + mindxf=DXF12, + maxdxf=DXF2018, + priority=4800, + default="", + ), + "$DIMAPOST": HeaderVarDef( + name="$DIMAPOST", + code=1, + factory=partial(SingleValue, code=1), + mindxf=DXF12, + maxdxf=DXF2018, + priority=4900, + default="", + ), + "$DIMALT": HeaderVarDef( + name="$DIMALT", + code=70, + factory=partial(SingleValue, code=70), + mindxf=DXF12, + maxdxf=DXF2018, + priority=5000, + default=0, + ), + "$DIMALTD": HeaderVarDef( + name="$DIMALTD", + code=70, + factory=partial(SingleValue, code=70), + mindxf=DXF12, + maxdxf=DXF2018, + priority=5100, + default=3, + ), + "$DIMALTF": HeaderVarDef( + name="$DIMALTF", + code=40, + factory=partial(SingleValue, code=40), + mindxf=DXF12, + maxdxf=DXF2018, + priority=5200, + default=0.03937007874, + ), + "$DIMLFAC": HeaderVarDef( + name="$DIMLFAC", + code=40, + factory=partial(SingleValue, code=40), + mindxf=DXF12, + maxdxf=DXF2018, + priority=5300, + default=1.0, + ), + "$DIMTOFL": HeaderVarDef( + name="$DIMTOFL", + code=70, + factory=partial(SingleValue, code=70), + mindxf=DXF12, + maxdxf=DXF2018, + priority=5400, + default=1, + ), + "$DIMTVP": HeaderVarDef( + name="$DIMTVP", + code=40, + factory=partial(SingleValue, code=40), + mindxf=DXF12, + maxdxf=DXF2018, + priority=5500, + default=0.0, + ), + "$DIMTIX": HeaderVarDef( + name="$DIMTIX", + code=70, + factory=partial(SingleValue, code=70), + mindxf=DXF12, + maxdxf=DXF2018, + priority=5600, + default=0, + ), + "$DIMSOXD": HeaderVarDef( + name="$DIMSOXD", + code=70, + factory=partial(SingleValue, code=70), + mindxf=DXF12, + maxdxf=DXF2018, + priority=5700, + default=0, + ), + "$DIMSAH": HeaderVarDef( + name="$DIMSAH", + code=70, + factory=partial(SingleValue, code=70), + mindxf=DXF12, + maxdxf=DXF2018, + priority=5800, + default=0, + ), + "$DIMBLK1": HeaderVarDef( + name="$DIMBLK1", + code=1, + factory=partial(SingleValue, code=1), + mindxf=DXF12, + maxdxf=DXF2018, + priority=5900, + default="", + ), + "$DIMBLK2": HeaderVarDef( + name="$DIMBLK2", + code=1, + factory=partial(SingleValue, code=1), + mindxf=DXF12, + maxdxf=DXF2018, + priority=6000, + default="", + ), + "$DIMSTYLE": HeaderVarDef( + name="$DIMSTYLE", + code=2, + factory=partial(SingleValue, code=2), + mindxf=DXF12, + maxdxf=DXF2018, + priority=6100, + default="ISO-25", + ), + "$DIMCLRD": HeaderVarDef( + name="$DIMCLRD", + code=70, + factory=partial(SingleValue, code=70), + mindxf=DXF12, + maxdxf=DXF2018, + priority=6200, + default=0, + ), + "$DIMCLRE": HeaderVarDef( + name="$DIMCLRE", + code=70, + factory=partial(SingleValue, code=70), + mindxf=DXF12, + maxdxf=DXF2018, + priority=6300, + default=0, + ), + "$DIMCLRT": HeaderVarDef( + name="$DIMCLRT", + code=70, + factory=partial(SingleValue, code=70), + mindxf=DXF12, + maxdxf=DXF2018, + priority=6400, + default=0, + ), + "$DIMTFAC": HeaderVarDef( + name="$DIMTFAC", + code=40, + factory=partial(SingleValue, code=40), + mindxf=DXF12, + maxdxf=DXF2018, + priority=6500, + default=1.0, + ), + "$DIMGAP": HeaderVarDef( + name="$DIMGAP", + code=40, + factory=partial(SingleValue, code=40), + mindxf=DXF12, + maxdxf=DXF2018, + priority=6600, + default=0.625, + ), + "$DIMJUST": HeaderVarDef( + name="$DIMJUST", + code=70, + factory=partial(SingleValue, code=70), + mindxf=DXF2000, + maxdxf=DXF2018, + priority=6700, + default=0, + ), + "$DIMSD1": HeaderVarDef( + name="$DIMSD1", + code=70, + factory=partial(SingleValue, code=70), + mindxf=DXF2000, + maxdxf=DXF2018, + priority=6800, + default=0, + ), + "$DIMSD2": HeaderVarDef( + name="$DIMSD2", + code=70, + factory=partial(SingleValue, code=70), + mindxf=DXF2000, + maxdxf=DXF2018, + priority=6900, + default=0, + ), + "$DIMTOLJ": HeaderVarDef( + name="$DIMTOLJ", + code=70, + factory=partial(SingleValue, code=70), + mindxf=DXF2000, + maxdxf=DXF2018, + priority=7000, + default=0, + ), + "$DIMTZIN": HeaderVarDef( + name="$DIMTZIN", + code=70, + factory=partial(SingleValue, code=70), + mindxf=DXF2000, + maxdxf=DXF2018, + priority=7100, + default=8, + ), + "$DIMALTZ": HeaderVarDef( + name="$DIMALTZ", + code=70, + factory=partial(SingleValue, code=70), + mindxf=DXF2000, + maxdxf=DXF2018, + priority=7200, + default=0, + ), + "$DIMALTTZ": HeaderVarDef( + name="$DIMALTTZ", + code=70, + factory=partial(SingleValue, code=70), + mindxf=DXF2000, + maxdxf=DXF2018, + priority=7300, + default=0, + ), + "$DIMUPT": HeaderVarDef( + name="$DIMUPT", + code=70, + factory=partial(SingleValue, code=70), + mindxf=DXF2000, + maxdxf=DXF2018, + priority=7400, + default=0, + ), + "$DIMDEC": HeaderVarDef( + name="$DIMDEC", + code=70, + factory=partial(SingleValue, code=70), + mindxf=DXF2000, + maxdxf=DXF2018, + priority=7500, + default=2, + ), + "$DIMTDEC": HeaderVarDef( + name="$DIMTDEC", + code=70, + factory=partial(SingleValue, code=70), + mindxf=DXF2000, + maxdxf=DXF2018, + priority=7600, + default=2, + ), + "$DIMALTU": HeaderVarDef( + name="$DIMALTU", + code=70, + factory=partial(SingleValue, code=70), + mindxf=DXF2000, + maxdxf=DXF2018, + priority=7700, + default=2, + ), + "$DIMALTTD": HeaderVarDef( + name="$DIMALTTD", + code=70, + factory=partial(SingleValue, code=70), + mindxf=DXF2000, + maxdxf=DXF2018, + priority=7800, + default=3, + ), + "$DIMTXSTY": HeaderVarDef( + name="$DIMTXSTY", + code=7, + factory=partial(SingleValue, code=7), + mindxf=DXF2000, + maxdxf=DXF2018, + priority=7900, + default="Standard", + ), + "$DIMAUNIT": HeaderVarDef( + name="$DIMAUNIT", + code=70, + factory=partial(SingleValue, code=70), + mindxf=DXF2000, + maxdxf=DXF2018, + priority=8000, + default=0, + ), + "$DIMADEC": HeaderVarDef( + name="$DIMADEC", + code=70, + factory=partial(SingleValue, code=70), + mindxf=DXF2000, + maxdxf=DXF2018, + priority=8100, + default=0, + ), + "$DIMALTRND": HeaderVarDef( + name="$DIMALTRND", + code=40, + factory=partial(SingleValue, code=40), + mindxf=DXF2000, + maxdxf=DXF2018, + priority=8200, + default=0.0, + ), + "$DIMAZIN": HeaderVarDef( + name="$DIMAZIN", + code=70, + factory=partial(SingleValue, code=70), + mindxf=DXF2000, + maxdxf=DXF2018, + priority=8300, + default=0, + ), + "$DIMDSEP": HeaderVarDef( + name="$DIMDSEP", + code=70, + factory=partial(SingleValue, code=70), + mindxf=DXF2000, + maxdxf=DXF2018, + priority=8400, + default=44, + ), + "$DIMATFIT": HeaderVarDef( + name="$DIMATFIT", + code=70, + factory=partial(SingleValue, code=70), + mindxf=DXF2000, + maxdxf=DXF2018, + priority=8500, + default=3, + ), + "$DIMFRAC": HeaderVarDef( + name="$DIMFRAC", + code=70, + factory=partial(SingleValue, code=70), + mindxf=DXF2000, + maxdxf=DXF2018, + priority=8600, + default=0, + ), + "$DIMLDRBLK": HeaderVarDef( + name="$DIMLDRBLK", + code=1, + factory=partial(SingleValue, code=1), + mindxf=DXF2000, + maxdxf=DXF2018, + priority=8700, + default="", + ), + "$DIMLUNIT": HeaderVarDef( + name="$DIMLUNIT", + code=70, + factory=partial(SingleValue, code=70), + mindxf=DXF2000, + maxdxf=DXF2018, + priority=8800, + default=2, + ), + "$COORDS": HeaderVarDef( + name="$COORDS", + code=70, + factory=partial(SingleValue, code=70), + mindxf=DXF12, + maxdxf=DXF12, + priority=8800, + default=1, + ), + "$DIMLWD": HeaderVarDef( + name="$DIMLWD", + code=70, + factory=partial(SingleValue, code=70), + mindxf=DXF2000, + maxdxf=DXF2018, + priority=8900, + default=-2, + ), + "$DIMLWE": HeaderVarDef( + name="$DIMLWE", + code=70, + factory=partial(SingleValue, code=70), + mindxf=DXF2000, + maxdxf=DXF2018, + priority=9000, + default=-2, + ), + "$DIMTMOVE": HeaderVarDef( + name="$DIMTMOVE", + code=70, + factory=partial(SingleValue, code=70), + mindxf=DXF2000, + maxdxf=DXF2018, + priority=9100, + default=0, + ), + "$DIMFXL": HeaderVarDef( + name="$DIMFXL", + code=40, + factory=partial(SingleValue, code=40), + mindxf=DXF2007, + maxdxf=DXF2018, + priority=9200, + default=1.0, + ), + "$ATTDIA": HeaderVarDef( + name="$ATTDIA", + code=70, + factory=partial(SingleValue, code=70), + mindxf=DXF12, + maxdxf=DXF12, + priority=9200, + default=0, + ), + "$DIMFXLON": HeaderVarDef( + name="$DIMFXLON", + code=70, + factory=partial(SingleValue, code=70), + mindxf=DXF2007, + maxdxf=DXF2018, + priority=9300, + default=0, + ), + "$ATTREQ": HeaderVarDef( + name="$ATTREQ", + code=70, + factory=partial(SingleValue, code=70), + mindxf=DXF12, + maxdxf=DXF12, + priority=9300, + default=1, + ), + "$DIMJOGANG": HeaderVarDef( + name="$DIMJOGANG", + code=40, + factory=partial(SingleValue, code=40), + mindxf=DXF2007, + maxdxf=DXF2018, + priority=9400, + default=0.785398163397, + ), + "$DIMTFILL": HeaderVarDef( + name="$DIMTFILL", + code=70, + factory=partial(SingleValue, code=70), + mindxf=DXF2007, + maxdxf=DXF2018, + priority=9500, + default=0, + ), + "$DIMTFILLCLR": HeaderVarDef( + name="$DIMTFILLCLR", + code=70, + factory=partial(SingleValue, code=70), + mindxf=DXF2007, + maxdxf=DXF2018, + priority=9600, + default=0, + ), + "$DIMARCSYM": HeaderVarDef( + name="$DIMARCSYM", + code=70, + factory=partial(SingleValue, code=70), + mindxf=DXF2007, + maxdxf=DXF2018, + priority=9700, + default=0, + ), + "$DIMLTYPE": HeaderVarDef( + name="$DIMLTYPE", + code=6, + factory=partial(SingleValue, code=6), + mindxf=DXF2007, + maxdxf=DXF2018, + priority=9800, + default="", + ), + "$DIMLTEX1": HeaderVarDef( + name="$DIMLTEX1", + code=6, + factory=partial(SingleValue, code=6), + mindxf=DXF2007, + maxdxf=DXF2018, + priority=9900, + default="", + ), + "$DIMLTEX2": HeaderVarDef( + name="$DIMLTEX2", + code=6, + factory=partial(SingleValue, code=6), + mindxf=DXF2007, + maxdxf=DXF2018, + priority=10000, + default="", + ), + "$DIMTXTDIRECTION": HeaderVarDef( + name="$DIMTXTDIRECTION", + code=70, + factory=partial(SingleValue, code=70), + mindxf=DXF2010, + maxdxf=DXF2018, + priority=10100, + default=0, + ), + "$LUNITS": HeaderVarDef( + name="$LUNITS", + code=70, + factory=partial(SingleValue, code=70), + mindxf=DXF12, + maxdxf=DXF2018, + priority=10200, + default=2, + ), + "$LUPREC": HeaderVarDef( + name="$LUPREC", + code=70, + factory=partial(SingleValue, code=70), + mindxf=DXF12, + maxdxf=DXF2018, + priority=10300, + default=4, + ), + "$SKETCHINC": HeaderVarDef( + name="$SKETCHINC", + code=40, + factory=partial(SingleValue, code=40), + mindxf=DXF12, + maxdxf=DXF2018, + priority=10400, + default=1.0, + ), + "$FILLETRAD": HeaderVarDef( + name="$FILLETRAD", + code=40, + factory=partial(SingleValue, code=40), + mindxf=DXF12, + maxdxf=DXF2018, + priority=10500, + default=10.0, + ), + "$AUNITS": HeaderVarDef( + name="$AUNITS", + code=70, + factory=partial(SingleValue, code=70), + mindxf=DXF12, + maxdxf=DXF2018, + priority=10600, + default=0, + ), + "$AUPREC": HeaderVarDef( + name="$AUPREC", + code=70, + factory=partial(SingleValue, code=70), + mindxf=DXF12, + maxdxf=DXF2018, + priority=10700, + default=2, + ), + "$MENU": HeaderVarDef( + name="$MENU", + code=1, + factory=partial(SingleValue, code=1), + mindxf=DXF12, + maxdxf=DXF2018, + priority=10800, + default=".", + ), + "$ELEVATION": HeaderVarDef( + name="$ELEVATION", + code=40, + factory=partial(SingleValue, code=40), + mindxf=DXF12, + maxdxf=DXF2018, + priority=10900, + default=0.0, + ), + "$PELEVATION": HeaderVarDef( + name="$PELEVATION", + code=40, + factory=partial(SingleValue, code=40), + mindxf=DXF12, + maxdxf=DXF2018, + priority=11000, + default=0.0, + ), + "$THICKNESS": HeaderVarDef( + name="$THICKNESS", + code=40, + factory=partial(SingleValue, code=40), + mindxf=DXF12, + maxdxf=DXF2018, + priority=11100, + default=0.0, + ), + "$LIMCHECK": HeaderVarDef( + name="$LIMCHECK", + code=70, + factory=partial(SingleValue, code=70), + mindxf=DXF12, + maxdxf=DXF2018, + priority=11200, + default=0, + ), + "$CHAMFERA": HeaderVarDef( + name="$CHAMFERA", + code=40, + factory=partial(SingleValue, code=40), + mindxf=DXF12, + maxdxf=DXF2018, + priority=11300, + default=0.0, + ), + "$CHAMFERB": HeaderVarDef( + name="$CHAMFERB", + code=40, + factory=partial(SingleValue, code=40), + mindxf=DXF12, + maxdxf=DXF2018, + priority=11400, + default=0.0, + ), + "$CHAMFERC": HeaderVarDef( + name="$CHAMFERC", + code=40, + factory=partial(SingleValue, code=40), + mindxf=DXF2000, + maxdxf=DXF2018, + priority=11500, + default=0.0, + ), + "$CHAMFERD": HeaderVarDef( + name="$CHAMFERD", + code=40, + factory=partial(SingleValue, code=40), + mindxf=DXF2000, + maxdxf=DXF2018, + priority=11600, + default=0.0, + ), + "$SKPOLY": HeaderVarDef( + name="$SKPOLY", + code=70, + factory=partial(SingleValue, code=70), + mindxf=DXF12, + maxdxf=DXF2018, + priority=11700, + default=0, + ), + "$TDCREATE": HeaderVarDef( + name="$TDCREATE", + code=40, + factory=partial(SingleValue, code=40), + mindxf=DXF12, + maxdxf=DXF2018, + priority=11800, + default=2458532.195663565, + ), + "$TDUCREATE": HeaderVarDef( + name="$TDUCREATE", + code=40, + factory=partial(SingleValue, code=40), + mindxf=DXF2000, + maxdxf=DXF2018, + priority=11900, + default=2458532.153996898, + ), + "$TDUPDATE": HeaderVarDef( + name="$TDUPDATE", + code=40, + factory=partial(SingleValue, code=40), + mindxf=DXF12, + maxdxf=DXF2018, + priority=12000, + default=2458532.196097766, + ), + "$TDUUPDATE": HeaderVarDef( + name="$TDUUPDATE", + code=40, + factory=partial(SingleValue, code=40), + mindxf=DXF2000, + maxdxf=DXF2018, + priority=12100, + default=2458532.1544311, + ), + "$TDINDWG": HeaderVarDef( + name="$TDINDWG", + code=40, + factory=partial(SingleValue, code=40), + mindxf=DXF12, + maxdxf=DXF2018, + priority=12200, + default=0.0, + ), + "$TDUSRTIMER": HeaderVarDef( + name="$TDUSRTIMER", + code=40, + factory=partial(SingleValue, code=40), + mindxf=DXF12, + maxdxf=DXF2018, + priority=12300, + default=0.0, + ), + "$USRTIMER": HeaderVarDef( + name="$USRTIMER", + code=70, + factory=partial(SingleValue, code=70), + mindxf=DXF12, + maxdxf=DXF2018, + priority=12400, + default=1, + ), + "$ANGBASE": HeaderVarDef( + name="$ANGBASE", + code=50, + factory=partial(SingleValue, code=50), + mindxf=DXF12, + maxdxf=DXF2018, + priority=12500, + default=0.0, + ), + "$ANGDIR": HeaderVarDef( + name="$ANGDIR", + code=70, + factory=partial(SingleValue, code=70), + mindxf=DXF12, + maxdxf=DXF2018, + priority=12600, + default=0, + ), + "$PDMODE": HeaderVarDef( + name="$PDMODE", + code=70, + factory=partial(SingleValue, code=70), + mindxf=DXF12, + maxdxf=DXF2018, + priority=12700, + default=0, + ), + "$PDSIZE": HeaderVarDef( + name="$PDSIZE", + code=40, + factory=partial(SingleValue, code=40), + mindxf=DXF12, + maxdxf=DXF2018, + priority=12800, + default=0.0, + ), + "$PLINEWID": HeaderVarDef( + name="$PLINEWID", + code=40, + factory=partial(SingleValue, code=40), + mindxf=DXF12, + maxdxf=DXF2018, + priority=12900, + default=0.0, + ), + "$SPLFRAME": HeaderVarDef( + name="$SPLFRAME", + code=70, + factory=partial(SingleValue, code=70), + mindxf=DXF12, + maxdxf=DXF2018, + priority=13000, + default=0, + ), + "$SPLINETYPE": HeaderVarDef( + name="$SPLINETYPE", + code=70, + factory=partial(SingleValue, code=70), + mindxf=DXF12, + maxdxf=DXF2018, + priority=13100, + default=6, + ), + "$SPLINESEGS": HeaderVarDef( + name="$SPLINESEGS", + code=70, + factory=partial(SingleValue, code=70), + mindxf=DXF12, + maxdxf=DXF2018, + priority=13200, + default=8, + ), + "$HANDLING": HeaderVarDef( + name="$HANDLING", + code=70, + factory=partial(SingleValue, code=70), + mindxf=DXF12, + maxdxf=DXF12, + priority=9400, + default=1, + ), + "$HANDSEED": HeaderVarDef( + name="$HANDSEED", + code=5, + factory=partial(SingleValue, code=5), + mindxf=DXF12, + maxdxf=DXF2018, + priority=13300, + default="100", + ), + "$SURFTAB1": HeaderVarDef( + name="$SURFTAB1", + code=70, + factory=partial(SingleValue, code=70), + mindxf=DXF12, + maxdxf=DXF2018, + priority=13400, + default=6, + ), + "$SURFTAB2": HeaderVarDef( + name="$SURFTAB2", + code=70, + factory=partial(SingleValue, code=70), + mindxf=DXF12, + maxdxf=DXF2018, + priority=13500, + default=6, + ), + "$SURFTYPE": HeaderVarDef( + name="$SURFTYPE", + code=70, + factory=partial(SingleValue, code=70), + mindxf=DXF12, + maxdxf=DXF2018, + priority=13600, + default=6, + ), + "$SURFU": HeaderVarDef( + name="$SURFU", + code=70, + factory=partial(SingleValue, code=70), + mindxf=DXF12, + maxdxf=DXF2018, + priority=13700, + default=6, + ), + "$SURFV": HeaderVarDef( + name="$SURFV", + code=70, + factory=partial(SingleValue, code=70), + mindxf=DXF12, + maxdxf=DXF2018, + priority=13800, + default=6, + ), + "$UCSBASE": HeaderVarDef( + name="$UCSBASE", + code=2, + factory=partial(SingleValue, code=2), + mindxf=DXF2000, + maxdxf=DXF2018, + priority=13900, + default="", + ), + "$UCSNAME": HeaderVarDef( + name="$UCSNAME", + code=2, + factory=partial(SingleValue, code=2), + mindxf=DXF12, + maxdxf=DXF2018, + priority=14000, + default="", + ), + "$UCSORG": HeaderVarDef( + name="$UCSORG", + code=10, + factory=Point3D, + mindxf=DXF12, + maxdxf=DXF2018, + priority=14100, + default=(0.0, 0.0, 0.0), + ), + "$UCSXDIR": HeaderVarDef( + name="$UCSXDIR", + code=10, + factory=Point3D, + mindxf=DXF12, + maxdxf=DXF2018, + priority=14200, + default=(1.0, 0.0, 0.0), + ), + "$UCSYDIR": HeaderVarDef( + name="$UCSYDIR", + code=10, + factory=Point3D, + mindxf=DXF12, + maxdxf=DXF2018, + priority=14300, + default=(0.0, 1.0, 0.0), + ), + "$UCSORTHOREF": HeaderVarDef( + name="$UCSORTHOREF", + code=2, + factory=partial(SingleValue, code=2), + mindxf=DXF2000, + maxdxf=DXF2018, + priority=14400, + default="", + ), + "$UCSORTHOVIEW": HeaderVarDef( + name="$UCSORTHOVIEW", + code=70, + factory=partial(SingleValue, code=70), + mindxf=DXF2000, + maxdxf=DXF2018, + priority=14500, + default=0, + ), + "$UCSORGTOP": HeaderVarDef( + name="$UCSORGTOP", + code=10, + factory=Point3D, + mindxf=DXF2000, + maxdxf=DXF2018, + priority=14600, + default=(0.0, 0.0, 0.0), + ), + "$UCSORGBOTTOM": HeaderVarDef( + name="$UCSORGBOTTOM", + code=10, + factory=Point3D, + mindxf=DXF2000, + maxdxf=DXF2018, + priority=14700, + default=(0.0, 0.0, 0.0), + ), + "$UCSORGLEFT": HeaderVarDef( + name="$UCSORGLEFT", + code=10, + factory=Point3D, + mindxf=DXF2000, + maxdxf=DXF2018, + priority=14800, + default=(0.0, 0.0, 0.0), + ), + "$UCSORGRIGHT": HeaderVarDef( + name="$UCSORGRIGHT", + code=10, + factory=Point3D, + mindxf=DXF2000, + maxdxf=DXF2018, + priority=14900, + default=(0.0, 0.0, 0.0), + ), + "$UCSORGFRONT": HeaderVarDef( + name="$UCSORGFRONT", + code=10, + factory=Point3D, + mindxf=DXF2000, + maxdxf=DXF2018, + priority=15000, + default=(0.0, 0.0, 0.0), + ), + "$UCSORGBACK": HeaderVarDef( + name="$UCSORGBACK", + code=10, + factory=Point3D, + mindxf=DXF2000, + maxdxf=DXF2018, + priority=15100, + default=(0.0, 0.0, 0.0), + ), + "$PUCSBASE": HeaderVarDef( + name="$PUCSBASE", + code=2, + factory=partial(SingleValue, code=2), + mindxf=DXF2000, + maxdxf=DXF2018, + priority=15200, + default="", + ), + "$PUCSNAME": HeaderVarDef( + name="$PUCSNAME", + code=2, + factory=partial(SingleValue, code=2), + mindxf=DXF12, + maxdxf=DXF2018, + priority=15300, + default="", + ), + "$PUCSORG": HeaderVarDef( + name="$PUCSORG", + code=10, + factory=Point3D, + mindxf=DXF12, + maxdxf=DXF2018, + priority=15400, + default=(0.0, 0.0, 0.0), + ), + "$PUCSXDIR": HeaderVarDef( + name="$PUCSXDIR", + code=10, + factory=Point3D, + mindxf=DXF12, + maxdxf=DXF2018, + priority=15500, + default=(1.0, 0.0, 0.0), + ), + "$PUCSYDIR": HeaderVarDef( + name="$PUCSYDIR", + code=10, + factory=Point3D, + mindxf=DXF12, + maxdxf=DXF2018, + priority=15600, + default=(0.0, 1.0, 0.0), + ), + "$PUCSORTHOREF": HeaderVarDef( + name="$PUCSORTHOREF", + code=2, + factory=partial(SingleValue, code=2), + mindxf=DXF2000, + maxdxf=DXF2018, + priority=15700, + default="", + ), + "$PUCSORTHOVIEW": HeaderVarDef( + name="$PUCSORTHOVIEW", + code=70, + factory=partial(SingleValue, code=70), + mindxf=DXF2000, + maxdxf=DXF2018, + priority=15800, + default=0, + ), + "$PUCSORGTOP": HeaderVarDef( + name="$PUCSORGTOP", + code=10, + factory=Point3D, + mindxf=DXF2000, + maxdxf=DXF2018, + priority=15900, + default=(0.0, 0.0, 0.0), + ), + "$PUCSORGBOTTOM": HeaderVarDef( + name="$PUCSORGBOTTOM", + code=10, + factory=Point3D, + mindxf=DXF2000, + maxdxf=DXF2018, + priority=16000, + default=(0.0, 0.0, 0.0), + ), + "$PUCSORGLEFT": HeaderVarDef( + name="$PUCSORGLEFT", + code=10, + factory=Point3D, + mindxf=DXF2000, + maxdxf=DXF2018, + priority=16100, + default=(0.0, 0.0, 0.0), + ), + "$PUCSORGRIGHT": HeaderVarDef( + name="$PUCSORGRIGHT", + code=10, + factory=Point3D, + mindxf=DXF2000, + maxdxf=DXF2018, + priority=16200, + default=(0.0, 0.0, 0.0), + ), + "$PUCSORGFRONT": HeaderVarDef( + name="$PUCSORGFRONT", + code=10, + factory=Point3D, + mindxf=DXF2000, + maxdxf=DXF2018, + priority=16300, + default=(0.0, 0.0, 0.0), + ), + "$PUCSORGBACK": HeaderVarDef( + name="$PUCSORGBACK", + code=10, + factory=Point3D, + mindxf=DXF2000, + maxdxf=DXF2018, + priority=16400, + default=(0.0, 0.0, 0.0), + ), + "$USERI1": HeaderVarDef( + name="$USERI1", + code=70, + factory=partial(SingleValue, code=70), + mindxf=DXF12, + maxdxf=DXF2018, + priority=16500, + default=0, + ), + "$USERI2": HeaderVarDef( + name="$USERI2", + code=70, + factory=partial(SingleValue, code=70), + mindxf=DXF12, + maxdxf=DXF2018, + priority=16600, + default=0, + ), + "$USERI3": HeaderVarDef( + name="$USERI3", + code=70, + factory=partial(SingleValue, code=70), + mindxf=DXF12, + maxdxf=DXF2018, + priority=16700, + default=0, + ), + "$USERI4": HeaderVarDef( + name="$USERI4", + code=70, + factory=partial(SingleValue, code=70), + mindxf=DXF12, + maxdxf=DXF2018, + priority=16800, + default=0, + ), + "$USERI5": HeaderVarDef( + name="$USERI5", + code=70, + factory=partial(SingleValue, code=70), + mindxf=DXF12, + maxdxf=DXF2018, + priority=16900, + default=0, + ), + "$USERR1": HeaderVarDef( + name="$USERR1", + code=40, + factory=partial(SingleValue, code=40), + mindxf=DXF12, + maxdxf=DXF2018, + priority=17000, + default=0.0, + ), + "$USERR2": HeaderVarDef( + name="$USERR2", + code=40, + factory=partial(SingleValue, code=40), + mindxf=DXF12, + maxdxf=DXF2018, + priority=17100, + default=0.0, + ), + "$USERR3": HeaderVarDef( + name="$USERR3", + code=40, + factory=partial(SingleValue, code=40), + mindxf=DXF12, + maxdxf=DXF2018, + priority=17200, + default=0.0, + ), + "$USERR4": HeaderVarDef( + name="$USERR4", + code=40, + factory=partial(SingleValue, code=40), + mindxf=DXF12, + maxdxf=DXF2018, + priority=17300, + default=0.0, + ), + "$USERR5": HeaderVarDef( + name="$USERR5", + code=40, + factory=partial(SingleValue, code=40), + mindxf=DXF12, + maxdxf=DXF2018, + priority=17400, + default=0.0, + ), + "$WORLDVIEW": HeaderVarDef( + name="$WORLDVIEW", + code=70, + factory=partial(SingleValue, code=70), + mindxf=DXF12, + maxdxf=DXF2018, + priority=17500, + default=1, + ), + "$SHADEDGE": HeaderVarDef( + name="$SHADEDGE", + code=70, + factory=partial(SingleValue, code=70), + mindxf=DXF12, + maxdxf=DXF2018, + priority=17600, + default=3, + ), + "$SHADEDIF": HeaderVarDef( + name="$SHADEDIF", + code=70, + factory=partial(SingleValue, code=70), + mindxf=DXF12, + maxdxf=DXF2018, + priority=17700, + default=70, + ), + "$TILEMODE": HeaderVarDef( + name="$TILEMODE", + code=70, + factory=partial(SingleValue, code=70), + mindxf=DXF12, + maxdxf=DXF2018, + priority=17800, + default=1, + ), + "$MAXACTVP": HeaderVarDef( + name="$MAXACTVP", + code=70, + factory=partial(SingleValue, code=70), + mindxf=DXF12, + maxdxf=DXF2018, + priority=17900, + default=64, + ), + "$PINSBASE": HeaderVarDef( + name="$PINSBASE", + code=10, + factory=Point3D, + mindxf=DXF2000, + maxdxf=DXF2018, + priority=18000, + default=(0.0, 0.0, 0.0), + ), + "$PLIMCHECK": HeaderVarDef( + name="$PLIMCHECK", + code=70, + factory=partial(SingleValue, code=70), + mindxf=DXF12, + maxdxf=DXF2018, + priority=18100, + default=0, + ), + "$PEXTMIN": HeaderVarDef( + name="$PEXTMIN", + code=10, + factory=Point3D, + mindxf=DXF12, + maxdxf=DXF2018, + priority=18200, + default=(1e20, 1e20, 1e20), + ), + "$PEXTMAX": HeaderVarDef( + name="$PEXTMAX", + code=10, + factory=Point3D, + mindxf=DXF12, + maxdxf=DXF2018, + priority=18300, + default=(-1e20, -1e20, -1e20), + ), + "$PLIMMIN": HeaderVarDef( + name="$PLIMMIN", + code=10, + factory=Point2D, + mindxf=DXF12, + maxdxf=DXF2018, + priority=18400, + default=(0.0, 0.0), + ), + "$PLIMMAX": HeaderVarDef( + name="$PLIMMAX", + code=10, + factory=Point2D, + mindxf=DXF12, + maxdxf=DXF2018, + priority=18500, + default=(420.0, 297.0), + ), + "$UNITMODE": HeaderVarDef( + name="$UNITMODE", + code=70, + factory=partial(SingleValue, code=70), + mindxf=DXF12, + maxdxf=DXF2018, + priority=18600, + default=0, + ), + "$VISRETAIN": HeaderVarDef( + name="$VISRETAIN", + code=70, + factory=partial(SingleValue, code=70), + mindxf=DXF12, + maxdxf=DXF2018, + priority=18700, + default=1, + ), + "$PLINEGEN": HeaderVarDef( + name="$PLINEGEN", + code=70, + factory=partial(SingleValue, code=70), + mindxf=DXF12, + maxdxf=DXF2018, + priority=18800, + default=0, + ), + "$PSLTSCALE": HeaderVarDef( + name="$PSLTSCALE", + code=70, + factory=partial(SingleValue, code=70), + mindxf=DXF12, + maxdxf=DXF2018, + priority=18900, + default=1, + ), + "$TREEDEPTH": HeaderVarDef( + name="$TREEDEPTH", + code=70, + factory=partial(SingleValue, code=70), + mindxf=DXF2000, + maxdxf=DXF2018, + priority=19000, + default=3020, + ), + "$CMLSTYLE": HeaderVarDef( + name="$CMLSTYLE", + code=2, + factory=partial(SingleValue, code=2), + mindxf=DXF2000, + maxdxf=DXF2018, + priority=19100, + default="Standard", + ), + "$CMLJUST": HeaderVarDef( + name="$CMLJUST", + code=70, + factory=partial(SingleValue, code=70), + mindxf=DXF2000, + maxdxf=DXF2018, + priority=19200, + default=0, + ), + "$CMLSCALE": HeaderVarDef( + name="$CMLSCALE", + code=40, + factory=partial(SingleValue, code=40), + mindxf=DXF2000, + maxdxf=DXF2018, + priority=19300, + default=20.0, + ), + "$PROXYGRAPHICS": HeaderVarDef( + name="$PROXYGRAPHICS", + code=70, + factory=partial(SingleValue, code=70), + mindxf=DXF2000, + maxdxf=DXF2018, + priority=19400, + default=1, + ), + "$MEASUREMENT": HeaderVarDef( + name="$MEASUREMENT", + code=70, + factory=partial(SingleValue, code=70), + mindxf=DXF2000, + maxdxf=DXF2018, + priority=19500, + default=1, + ), + "$CELWEIGHT": HeaderVarDef( + name="$CELWEIGHT", + code=370, + factory=partial(SingleValue, code=370), + mindxf=DXF2000, + maxdxf=DXF2018, + priority=19600, + default=-1, + ), + "$ENDCAPS": HeaderVarDef( + name="$ENDCAPS", + code=280, + factory=partial(SingleValue, code=280), + mindxf=DXF2000, + maxdxf=DXF2018, + priority=19700, + default=0, + ), + "$JOINSTYLE": HeaderVarDef( + name="$JOINSTYLE", + code=280, + factory=partial(SingleValue, code=280), + mindxf=DXF2000, + maxdxf=DXF2018, + priority=19800, + default=0, + ), + "$LWDISPLAY": HeaderVarDef( + name="$LWDISPLAY", + code=290, + factory=partial(SingleValue, code=290), + mindxf=DXF2000, + maxdxf=DXF2018, + priority=19900, + default=0, + ), + "$INSUNITS": HeaderVarDef( + name="$INSUNITS", + code=70, + factory=partial(SingleValue, code=70), + mindxf=DXF2000, + maxdxf=DXF2018, + priority=20000, + default=6, + ), + "$HYPERLINKBASE": HeaderVarDef( + name="$HYPERLINKBASE", + code=1, + factory=partial(SingleValue, code=1), + mindxf=DXF2000, + maxdxf=DXF2018, + priority=20100, + default="", + ), + "$STYLESHEET": HeaderVarDef( + name="$STYLESHEET", + code=1, + factory=partial(SingleValue, code=1), + mindxf=DXF2000, + maxdxf=DXF2018, + priority=20200, + default="", + ), + "$XEDIT": HeaderVarDef( + name="$XEDIT", + code=290, + factory=partial(SingleValue, code=290), + mindxf=DXF2000, + maxdxf=DXF2018, + priority=20300, + default=1, + ), + "$CEPSNTYPE": HeaderVarDef( + name="$CEPSNTYPE", + code=380, + factory=partial(SingleValue, code=380), + mindxf=DXF2000, + maxdxf=DXF2018, + priority=20400, + default=0, + ), + "$PSTYLEMODE": HeaderVarDef( + name="$PSTYLEMODE", + code=290, + factory=partial(SingleValue, code=290), + mindxf=DXF2000, + maxdxf=DXF2018, + priority=20500, + default=1, + ), + "$FINGERPRINTGUID": HeaderVarDef( + name="$FINGERPRINTGUID", + code=2, + factory=partial(SingleValue, code=2), + mindxf=DXF2000, + maxdxf=DXF2018, + priority=20600, + default=CONST_GUID, + ), + "$VERSIONGUID": HeaderVarDef( + name="$VERSIONGUID", + code=2, + factory=partial(SingleValue, code=2), + mindxf=DXF2000, + maxdxf=DXF2018, + priority=20700, + default=CONST_GUID, + ), + "$EXTNAMES": HeaderVarDef( + name="$EXTNAMES", + code=290, + factory=partial(SingleValue, code=290), + mindxf=DXF2000, + maxdxf=DXF2018, + priority=20800, + default=1, + ), + "$PSVPSCALE": HeaderVarDef( + name="$PSVPSCALE", + code=40, + factory=partial(SingleValue, code=40), + mindxf=DXF2000, + maxdxf=DXF2018, + priority=20900, + default=0.0, + ), + "$OLESTARTUP": HeaderVarDef( + name="$OLESTARTUP", + code=290, + factory=partial(SingleValue, code=290), + mindxf=DXF2000, + maxdxf=DXF2018, + priority=21000, + default=0, + ), + # 0 = Disables SORTENTS + # 1 = Sorts for object selection + # 2 = Sorts for object snap + # 4 = Sorts for redraws; obsolete + # 8 = Sorts for MSLIDE command slide creation; obsolete + # 16 = Sorts for REGEN commands + # 32 = Sorts for plotting + # 64 = Sorts for PostScript output; obsolete + "$SORTENTS": HeaderVarDef( + name="$SORTENTS", + code=280, + factory=partial(SingleValue, code=280), + mindxf=DXF2004, + maxdxf=DXF2018, + priority=21100, + default=127, + ), + "$INDEXCTL": HeaderVarDef( + name="$INDEXCTL", + code=280, + factory=partial(SingleValue, code=280), + mindxf=DXF2004, + maxdxf=DXF2018, + priority=21200, + default=0, + ), + "$HIDETEXT": HeaderVarDef( + name="$HIDETEXT", + code=280, + factory=partial(SingleValue, code=280), + mindxf=DXF2004, + maxdxf=DXF2018, + priority=21300, + default=1, + ), + "$XCLIPFRAME": HeaderVarDef( + name="$XCLIPFRAME", + code=280, # 2004 & 2007 = 290 + factory=partial(SingleValue, code=280), # 2004 & 2007 = 290 + mindxf=DXF2004, + maxdxf=DXF2018, + priority=21400, + # 0 = Clipping boundary is not visible + # 1 = Clipping boundary is visible + # default for 2004 & 2007 is 0; R2010+ is 2? + default=1, # changed 2014-03-16 issue #1049 - from 2 to 1 + ), + "$HALOGAP": HeaderVarDef( + name="$HALOGAP", + code=280, + factory=partial(SingleValue, code=280), + mindxf=DXF2004, + maxdxf=DXF2018, + priority=21500, + default=0, + ), + "$OBSCOLOR": HeaderVarDef( + name="$OBSCOLOR", + code=70, + factory=partial(SingleValue, code=70), + mindxf=DXF2004, + maxdxf=DXF2018, + priority=21600, + default=257, + ), + "$OBSLTYPE": HeaderVarDef( + name="$OBSLTYPE", + code=280, + factory=partial(SingleValue, code=280), + mindxf=DXF2004, + maxdxf=DXF2018, + priority=21700, + default=0, + ), + "$INTERSECTIONDISPLAY": HeaderVarDef( + name="$INTERSECTIONDISPLAY", + code=280, + factory=partial(SingleValue, code=280), + mindxf=DXF2004, + maxdxf=DXF2018, + priority=21800, + default=0, + ), + "$INTERSECTIONCOLOR": HeaderVarDef( + name="$INTERSECTIONCOLOR", + code=70, + factory=partial(SingleValue, code=70), + mindxf=DXF2004, + maxdxf=DXF2018, + priority=21900, + default=257, + ), + "$DIMASSOC": HeaderVarDef( + name="$DIMASSOC", + code=280, + factory=partial(SingleValue, code=280), + mindxf=DXF2004, + maxdxf=DXF2018, + priority=22000, + default=2, + ), + "$PROJECTNAME": HeaderVarDef( + name="$PROJECTNAME", + code=1, + factory=partial(SingleValue, code=1), + mindxf=DXF2004, + maxdxf=DXF2018, + priority=22100, + default="", + ), + "$CAMERADISPLAY": HeaderVarDef( + name="$CAMERADISPLAY", + code=290, + factory=partial(SingleValue, code=290), + mindxf=DXF2007, + maxdxf=DXF2018, + priority=22200, + default=0, + ), + "$LENSLENGTH": HeaderVarDef( + name="$LENSLENGTH", + code=40, + factory=partial(SingleValue, code=40), + mindxf=DXF2007, + maxdxf=DXF2018, + priority=22300, + default=50.0, + ), + "$CAMERAHEIGHT": HeaderVarDef( + name="$CAMERAHEIGHT", + code=40, + factory=partial(SingleValue, code=40), + mindxf=DXF2007, + maxdxf=DXF2018, + priority=22400, + default=0.0, + ), + "$STEPSPERSEC": HeaderVarDef( + name="$STEPSPERSEC", + code=40, + factory=partial(SingleValue, code=40), + mindxf=DXF2007, + maxdxf=DXF2018, + priority=22500, + default=24.0, + ), + "$STEPSIZE": HeaderVarDef( + name="$STEPSIZE", + code=40, + factory=partial(SingleValue, code=40), + mindxf=DXF2007, + maxdxf=DXF2018, + priority=22600, + default=100.0, + ), + "$3DDWFPREC": HeaderVarDef( + name="$3DDWFPREC", + code=40, + factory=partial(SingleValue, code=40), + mindxf=DXF2007, + maxdxf=DXF2018, + priority=22700, + default=2.0, + ), + "$PSOLWIDTH": HeaderVarDef( + name="$PSOLWIDTH", + code=40, + factory=partial(SingleValue, code=40), + mindxf=DXF2007, + maxdxf=DXF2018, + priority=22800, + default=0.005, + ), + "$PSOLHEIGHT": HeaderVarDef( + name="$PSOLHEIGHT", + code=40, + factory=partial(SingleValue, code=40), + mindxf=DXF2007, + maxdxf=DXF2018, + priority=22900, + default=0.08, + ), + "$LOFTANG1": HeaderVarDef( + name="$LOFTANG1", + code=40, + factory=partial(SingleValue, code=40), + mindxf=DXF2007, + maxdxf=DXF2018, + priority=23000, + default=1.570796326795, + ), + "$LOFTANG2": HeaderVarDef( + name="$LOFTANG2", + code=40, + factory=partial(SingleValue, code=40), + mindxf=DXF2007, + maxdxf=DXF2018, + priority=23100, + default=1.570796326795, + ), + "$LOFTMAG1": HeaderVarDef( + name="$LOFTMAG1", + code=40, + factory=partial(SingleValue, code=40), + mindxf=DXF2007, + maxdxf=DXF2018, + priority=23200, + default=0.0, + ), + "$LOFTMAG2": HeaderVarDef( + name="$LOFTMAG2", + code=40, + factory=partial(SingleValue, code=40), + mindxf=DXF2007, + maxdxf=DXF2018, + priority=23300, + default=0.0, + ), + "$LOFTPARAM": HeaderVarDef( + name="$LOFTPARAM", + code=70, + factory=partial(SingleValue, code=70), + mindxf=DXF2007, + maxdxf=DXF2018, + priority=23400, + default=7, + ), + "$LOFTNORMALS": HeaderVarDef( + name="$LOFTNORMALS", + code=280, + factory=partial(SingleValue, code=280), + mindxf=DXF2007, + maxdxf=DXF2018, + priority=23500, + default=1, + ), + "$LATITUDE": HeaderVarDef( + name="$LATITUDE", + code=40, + factory=partial(SingleValue, code=40), + mindxf=DXF2007, + maxdxf=DXF2018, + priority=23600, + default=37.795, + ), + "$LONGITUDE": HeaderVarDef( + name="$LONGITUDE", + code=40, + factory=partial(SingleValue, code=40), + mindxf=DXF2007, + maxdxf=DXF2018, + priority=23700, + default=-122.394, + ), + "$NORTHDIRECTION": HeaderVarDef( + name="$NORTHDIRECTION", + code=40, + factory=partial(SingleValue, code=40), + mindxf=DXF2007, + maxdxf=DXF2018, + priority=23800, + default=0.0, + ), + "$TIMEZONE": HeaderVarDef( + name="$TIMEZONE", + code=70, + factory=partial(SingleValue, code=70), + mindxf=DXF2007, + maxdxf=DXF2018, + priority=23900, + default=-8000, + ), + "$LIGHTGLYPHDISPLAY": HeaderVarDef( + name="$LIGHTGLYPHDISPLAY", + code=280, + factory=partial(SingleValue, code=280), + mindxf=DXF2007, + maxdxf=DXF2018, + priority=24000, + default=1, + ), + "$TILEMODELIGHTSYNCH": HeaderVarDef( + name="$TILEMODELIGHTSYNCH", + code=280, + factory=partial(SingleValue, code=280), + mindxf=DXF2007, + maxdxf=DXF2018, + priority=24100, + default=1, + ), + "$CMATERIAL": HeaderVarDef( + name="$CMATERIAL", + code=347, + factory=partial(SingleValue, code=347), + mindxf=DXF2007, + maxdxf=DXF2018, + priority=24200, + default="45", + ), # default value '0' crashes BricsCAD + "$SOLIDHIST": HeaderVarDef( + name="$SOLIDHIST", + code=280, + factory=partial(SingleValue, code=280), + mindxf=DXF2007, + maxdxf=DXF2018, + priority=24300, + default=0, + ), + "$SHOWHIST": HeaderVarDef( + name="$SHOWHIST", + code=280, + factory=partial(SingleValue, code=280), + mindxf=DXF2007, + maxdxf=DXF2018, + priority=24400, + default=1, + ), + "$DWFFRAME": HeaderVarDef( + name="$DWFFRAME", + code=280, + factory=partial(SingleValue, code=280), + mindxf=DXF2007, + maxdxf=DXF2018, + priority=24500, + default=2, + ), + "$DGNFRAME": HeaderVarDef( + name="$DGNFRAME", + code=280, + factory=partial(SingleValue, code=280), + mindxf=DXF2007, + maxdxf=DXF2018, + priority=24600, + default=2, + ), + "$REALWORLDSCALE": HeaderVarDef( + name="$REALWORLDSCALE", + code=290, + factory=partial(SingleValue, code=290), + mindxf=DXF2007, + maxdxf=DXF2018, + priority=24700, + default=1, + ), + "$INTERFERECOLOR": HeaderVarDef( + name="$INTERFERECOLOR", + code=62, + factory=partial(SingleValue, code=62), + mindxf=DXF2007, + maxdxf=DXF2018, + priority=24800, + default=256, + ), + "$INTERFEREOBJVS": HeaderVarDef( + # Handle to a VisualStyle, if pointing to an invalid or non-existing VS, + # copy to clipboard in AutoCAD can fail. + name="$INTERFEREOBJVS", + code=345, + factory=partial(SingleValue, code=345), + mindxf=DXF2007, + maxdxf=DXF2018, + priority=24810, + default=None, + ), # will not be written, if not set + "$INTERFEREVPVS": HeaderVarDef( + # Handle to a VisualStyle, if pointing to an invalid or non-existing VS, + # copy to clipboard in AutoCAD can fail. + name="$INTERFEREVPVS", + code=346, + factory=partial(SingleValue, code=346), + mindxf=DXF2007, + maxdxf=DXF2018, + priority=24820, + default=None, + ), # will not be written, if not set + "$CSHADOW": HeaderVarDef( + name="$CSHADOW", + code=280, + factory=partial(SingleValue, code=280), + mindxf=DXF2007, + maxdxf=DXF2018, + priority=24900, + default=0, + ), + "$SHADOWPLANELOCATION": HeaderVarDef( + name="$SHADOWPLANELOCATION", + code=40, + factory=partial(SingleValue, code=40), + mindxf=DXF2007, + maxdxf=DXF2018, + priority=25000, + default=0.0, + ), +} + + +def version_specific_group_code(name: str, dxfversion: str) -> int: + group_code = HEADER_VAR_MAP[name].code + # The HEADER_VAR_MAP contains the group codes for the latest DXF version. + # This section adjust changed group codes for older DXF versions: + if name == "$ACADMAINTVER": + group_code = 70 if dxfversion < DXF2018 else 90 + elif name == "$XCLIPFRAME": + group_code = 290 if dxfversion < DXF2010 else 280 + return group_code + + +VERSION_SPECIFIC_HEADER_VARS = """ +DXF Version R2004 +Name | BC GCode | BC Value | EZ GCode | EZ Value +---------------------------------------------------------------- +$XCLIPFRAME | 290 | 0 | 280 | 1 + +DXF Version R2007 +Name | BC GCode | BC Value | EZ GCode | EZ Value +---------------------------------------------------------------- +$XCLIPFRAME | 290 | 0 | 280 | 1 +""" diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/sections/objects.py b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/sections/objects.py new file mode 100644 index 0000000000000000000000000000000000000000..be06b3c5aa51d06839fa1206547c1f49cb0b88b3 --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/sections/objects.py @@ -0,0 +1,725 @@ +# Copyright (c) 2011-2023, Manfred Moitzi +# License: MIT License +from __future__ import annotations +from typing import ( + Iterable, + Iterator, + Optional, + TYPE_CHECKING, + Union, + cast, +) +import logging + +from ezdxf.entities.dictionary import Dictionary +from ezdxf.entities import factory, is_dxf_object +from ezdxf.lldxf import const, validator +from ezdxf.entitydb import EntitySpace, EntityDB +from ezdxf.query import EntityQuery +from ezdxf.tools.handle import UnderlayKeyGenerator +from ezdxf.audit import Auditor, AuditError + +if TYPE_CHECKING: + from ezdxf.document import Drawing + from ezdxf.lldxf.tagwriter import AbstractTagWriter + from ezdxf.entities import ( + GeoData, + DictionaryVar, + DXFTagStorage, + DXFObject, + ImageDef, + UnderlayDefinition, + DictionaryWithDefault, + XRecord, + Placeholder, + ) + from ezdxf.entities.image import ImageDefReactor + +logger = logging.getLogger("ezdxf") + + +class ObjectsSection: + def __init__(self, doc: Drawing, entities: Optional[Iterable[DXFObject]] = None): + self.doc = doc + self.underlay_key_generator = UnderlayKeyGenerator() + self._entity_space = EntitySpace() + if entities is not None: + self._build(iter(entities)) + + @property + def entitydb(self) -> EntityDB: + """Returns drawing entity database. (internal API)""" + return self.doc.entitydb + + def get_entity_space(self) -> EntitySpace: + """Returns entity space. (internal API)""" + return self._entity_space + + def next_underlay_key(self, checkfunc=lambda k: True) -> str: + while True: + key = self.underlay_key_generator.next() + if checkfunc(key): + return key + + def _build(self, entities: Iterator[DXFObject]) -> None: + section_head = cast("DXFTagStorage", next(entities)) + + if section_head.dxftype() != "SECTION" or section_head.base_class[1] != ( + 2, + "OBJECTS", + ): + raise const.DXFStructureError( + "Critical structure error in the OBJECTS section." + ) + + for entity in entities: + # No check for valid entities here: + # Use the audit or the recover module to fix invalid DXF files! + self._entity_space.add(entity) + + def export_dxf(self, tagwriter: AbstractTagWriter) -> None: + """Export DXF entity by `tagwriter`. (internal API)""" + tagwriter.write_str(" 0\nSECTION\n 2\nOBJECTS\n") + self._entity_space.export_dxf(tagwriter) + tagwriter.write_tag2(0, "ENDSEC") + + def new_entity(self, _type: str, dxfattribs: dict) -> DXFObject: + """Create new DXF object, add it to the entity database and to the + entity space. + + Args: + _type: DXF type like `DICTIONARY` + dxfattribs: DXF attributes as dict + + (internal API) + """ + dxf_entity = factory.create_db_entry(_type, dxfattribs, self.doc) + self._entity_space.add(dxf_entity) + return dxf_entity # type: ignore + + def delete_entity(self, entity: DXFObject) -> None: + """Remove `entity` from entity space and destroy object. (internal API)""" + self._entity_space.remove(entity) + self.entitydb.delete_entity(entity) + + def delete_all_entities(self) -> None: + """Delete all DXF objects. (internal API)""" + db = self.entitydb + for entity in self._entity_space: + db.delete_entity(entity) + self._entity_space.clear() + + def setup_rootdict(self) -> Dictionary: + """Create a root dictionary. Has to be the first object in the objects + section. (internal API)""" + if len(self): + raise const.DXFStructureError( + "Can not create root dictionary in none empty objects section." + ) + logger.debug("Creating ROOT dictionary.") + # root directory has no owner + return self.add_dictionary(owner="0", hard_owned=False) + + def setup_object_management_tables(self, rootdict: Dictionary) -> None: + """Setup required management tables. (internal API)""" + + def setup_plot_style_name_table(): + plot_style_name_dict = self.add_dictionary_with_default( + owner=rootdict.dxf.handle, + hard_owned=False, + ) + placeholder = self.add_placeholder(owner=plot_style_name_dict.dxf.handle) + plot_style_name_dict.set_default(placeholder) + plot_style_name_dict["Normal"] = placeholder + rootdict["ACAD_PLOTSTYLENAME"] = plot_style_name_dict + + def restore_table_handle(table_name: str, handle: str) -> None: + # The original object table does not exist, but the handle is maybe + # used by some DXF entities. Try to restore the original table + # handle. + new_table = rootdict.get(table_name) + if isinstance(new_table, Dictionary) and self.doc.entitydb.reset_handle( + new_table, handle + ): + logger.debug(f"reset handle of table {table_name} to #{handle}") + + # check required object tables: + for name in _OBJECT_TABLE_NAMES: + table: Union[Dictionary, str, None] = rootdict.get(name) # type: ignore + # Dictionary: existing table object + # str: handle of not existing table object + # None: no entry in the rootdict for "name" + if isinstance(table, Dictionary): + continue # skip existing tables + + logger.info(f"creating {name} dictionary") + if name == "ACAD_PLOTSTYLENAME": + setup_plot_style_name_table() + else: + rootdict.add_new_dict(name, hard_owned=False) + + if isinstance(table, str) and validator.is_handle(table): + restore_table_handle(name, handle=table) + + def add_object(self, entity: DXFObject) -> None: + """Add `entity` to OBJECTS section. (internal API)""" + if is_dxf_object(entity): + self._entity_space.add(entity) + else: + raise const.DXFTypeError( + f"invalid DXF type {entity.dxftype()} for OBJECTS section" + ) + + def add_dxf_object_with_reactor(self, dxftype: str, dxfattribs) -> DXFObject: + """Add DXF object with reactor. (internal API)""" + dxfobject = self.new_entity(dxftype, dxfattribs) + dxfobject.set_reactors([dxfattribs["owner"]]) + return dxfobject + + def purge(self): + self._entity_space.purge() + + # start of public interface + + @property + def rootdict(self) -> Dictionary: + """Returns the root DICTIONARY, or as AutoCAD calls it: + the named DICTIONARY. + """ + if len(self): + return self._entity_space[0] # type: ignore + else: + return self.setup_rootdict() + + def __len__(self) -> int: + """Returns the count of all DXF objects in the OBJECTS section.""" + return len(self._entity_space) + + def __iter__(self) -> Iterator[DXFObject]: + """Returns an iterator of all DXF objects in the OBJECTS section.""" + return iter(self._entity_space) # type: ignore + + def __getitem__(self, index) -> DXFObject: + """Get entity at `index`. + + The underlying data structure for storing DXF objects is organized like + a standard Python list, therefore `index` can be any valid list indexing + or slicing term, like a single index ``objects[-1]`` to get the last + entity, or an index slice ``objects[:10]`` to get the first 10 or fewer + objects as ``list[DXFObject]``. + + """ + return self._entity_space[index] # type: ignore + + def __contains__(self, entity): + """Returns ``True`` if `entity` stored in OBJECTS section. + + Args: + entity: :class:`DXFObject` or handle as hex string + + """ + if isinstance(entity, str): + try: + entity = self.entitydb[entity] + except KeyError: + return False + return entity in self._entity_space + + def query(self, query: str = "*") -> EntityQuery: + """Get all DXF objects matching the :ref:`entity query string`.""" + return EntityQuery(iter(self), query) + + def audit(self, auditor: Auditor) -> None: + """Audit and repair OBJECTS section. + + .. important:: + + Do not delete entities while auditing process, because this + would alter the entity database while iterating, instead use:: + + auditor.trash(entity) + + to delete invalid entities after auditing automatically. + + """ + assert self.doc is auditor.doc, "Auditor for different DXF document." + for entity in self._entity_space: + if not is_dxf_object(entity): + auditor.fixed_error( + code=AuditError.REMOVED_INVALID_DXF_OBJECT, + message=f"Removed invalid DXF entity {str(entity)} " + f"from OBJECTS section.", + ) + auditor.trash(entity) + self.reorg(auditor) + self._entity_space.audit(auditor) + + def add_dictionary(self, owner: str = "0", hard_owned: bool = True) -> Dictionary: + """Add new :class:`~ezdxf.entities.Dictionary` object. + + Args: + owner: handle to owner as hex string. + hard_owned: ``True`` to treat entries as hard owned. + + """ + entity = self.new_entity( + "DICTIONARY", + dxfattribs={ + "owner": owner, + "hard_owned": hard_owned, + }, + ) + return cast(Dictionary, entity) + + def add_dictionary_with_default( + self, owner="0", default="0", hard_owned: bool = True + ) -> DictionaryWithDefault: + """Add new :class:`~ezdxf.entities.DictionaryWithDefault` object. + + Args: + owner: handle to owner as hex string. + default: handle to default entry. + hard_owned: ``True`` to treat entries as hard owned. + + """ + entity = self.new_entity( + "ACDBDICTIONARYWDFLT", + dxfattribs={ + "owner": owner, + "default": default, + "hard_owned": hard_owned, + }, + ) + return cast("DictionaryWithDefault", entity) + + def add_dictionary_var(self, owner: str = "0", value: str = "") -> DictionaryVar: + """Add a new :class:`~ezdxf.entities.DictionaryVar` object. + + Args: + owner: handle to owner as hex string. + value: value as string + + """ + return self.new_entity( # type: ignore + "DICTIONARYVAR", dxfattribs={"owner": owner, "value": value} + ) + + def add_xrecord(self, owner: str = "0") -> XRecord: + """Add a new :class:`~ezdxf.entities.XRecord` object. + + Args: + owner: handle to owner as hex string. + + """ + return self.new_entity("XRECORD", dxfattribs={"owner": owner}) # type: ignore + + def add_placeholder(self, owner: str = "0") -> Placeholder: + """Add a new :class:`~ezdxf.entities.Placeholder` object. + + Args: + owner: handle to owner as hex string. + + """ + return self.new_entity( # type: ignore + "ACDBPLACEHOLDER", dxfattribs={"owner": owner} + ) + + # end of public interface + + def set_raster_variables( + self, frame: int = 0, quality: int = 1, units: str = "m" + ) -> None: + """Set raster variables. + + Args: + frame: ``0`` = do not show image frame; ``1`` = show image frame + quality: ``0`` = draft; ``1`` = high + units: units for inserting images. This defines the real world unit for one + drawing unit for the purpose of inserting and scaling images with an + associated resolution. + + ===== =========================== + mm Millimeter + cm Centimeter + m Meter (ezdxf default) + km Kilometer + in Inch + ft Foot + yd Yard + mi Mile + none None + ===== =========================== + + (internal API), public interface :meth:`~ezdxf.drawing.Drawing.set_raster_variables` + + """ + units_: int = const.RASTER_UNITS.get(units, 0) + try: + raster_vars = self.rootdict["ACAD_IMAGE_VARS"] + except const.DXFKeyError: + raster_vars = self.add_dxf_object_with_reactor( + "RASTERVARIABLES", + dxfattribs={ + "owner": self.rootdict.dxf.handle, + "frame": frame, + "quality": quality, + "units": units_, + }, + ) + self.rootdict["ACAD_IMAGE_VARS"] = raster_vars + else: + raster_vars.dxf.frame = frame + raster_vars.dxf.quality = quality + raster_vars.dxf.units = units_ + + def get_raster_variables(self) -> tuple[int, int, str]: + try: + raster_vars = self.rootdict["ACAD_IMAGE_VARS"] + except const.DXFKeyError: + return 0, 1, "none" + return ( + raster_vars.dxf.frame, + raster_vars.dxf.quality, + const.REVERSE_RASTER_UNITS.get(raster_vars.dxf.units, "none"), + ) + + def set_wipeout_variables(self, frame: int = 0) -> None: + """Set wipeout variables. + + Args: + frame: ``0`` = do not show image frame; ``1`` = show image frame + + (internal API) + """ + try: + wipeout_vars = self.rootdict["ACAD_WIPEOUT_VARS"] + except const.DXFKeyError: + wipeout_vars = self.add_dxf_object_with_reactor( + "WIPEOUTVARIABLES", + dxfattribs={ + "owner": self.rootdict.dxf.handle, + "frame": int(frame), + }, + ) + self.rootdict["ACAD_WIPEOUT_VARS"] = wipeout_vars + else: + wipeout_vars.dxf.frame = int(frame) + + def get_wipeout_frame_setting(self) -> int: + try: + wipeout_vars = self.rootdict["ACAD_WIPEOUT_VARS"] + except const.DXFKeyError: + return 0 + return wipeout_vars.dxf.frame + + def add_image_def( + self, + filename: str, + size_in_pixel: tuple[int, int], + name: Optional[str] = None, + ) -> ImageDef: + """Add an image definition to the objects section. + + Add an :class:`~ezdxf.entities.image.ImageDef` entity to the drawing + (objects section). `filename` is the image file name as relative or + absolute path and `size_in_pixel` is the image size in pixel as (x, y) + tuple. To avoid dependencies to external packages, `ezdxf` can not + determine the image size by itself. Returns a :class:`~ezdxf.entities.image.ImageDef` + entity which is needed to create an image reference. `name` is the + internal image name, if set to ``None``, name is auto-generated. + + Absolute image paths works best for AutoCAD but not really good, you + have to update external references manually in AutoCAD, which is not + possible in TrueView. If the drawing units differ from 1 meter, you also + have to use: :meth:`set_raster_variables`. + + Args: + filename: image file name (absolute path works best for AutoCAD) + size_in_pixel: image size in pixel as (x, y) tuple + name: image name for internal use, None for using filename as name + (best for AutoCAD) + + """ + if name is None: + name = filename + image_dict = self.rootdict.get_required_dict("ACAD_IMAGE_DICT") + image_def = self.add_dxf_object_with_reactor( + "IMAGEDEF", + dxfattribs={ + "owner": image_dict.dxf.handle, + "filename": filename, + "image_size": size_in_pixel, + }, + ) + image_dict[name] = image_def + return cast("ImageDef", image_def) + + def add_image_def_reactor(self, image_handle: str) -> ImageDefReactor: + """Add required IMAGEDEF_REACTOR object for IMAGEDEF object. + + (internal API) + """ + image_def_reactor = self.new_entity( + "IMAGEDEF_REACTOR", + dxfattribs={ + "owner": image_handle, + "image_handle": image_handle, + }, + ) + return cast("ImageDefReactor", image_def_reactor) + + def add_underlay_def( + self, filename: str, fmt: str = "pdf", name: Optional[str] = None + ) -> UnderlayDefinition: + """Add an :class:`~ezdxf.entities.underlay.UnderlayDefinition` entity + to the drawing (OBJECTS section). `filename` is the underlay file name + as relative or absolute path and `fmt` as string (pdf, dwf, dgn). + The underlay definition is required to create an underlay reference. + + Args: + filename: underlay file name + fmt: file format as string ``'pdf'|'dwf'|'dgn'`` + name: pdf format = page number to display; dgn format = ``'default'``; dwf: ???? + + """ + fmt = fmt.upper() + if fmt in ("PDF", "DWF", "DGN"): + underlay_dict_name = f"ACAD_{fmt}DEFINITIONS" + underlay_def_entity = f"{fmt}DEFINITION" + else: + raise const.DXFValueError(f"Unsupported file format: '{fmt}'") + + if name is None: + if fmt == "PDF": + name = "1" # Display first page by default + elif fmt == "DGN": + name = "default" + else: + name = "Model" # Display model space for DWF ??? + + underlay_dict = self.rootdict.get_required_dict(underlay_dict_name) + underlay_def = self.new_entity( + underlay_def_entity, + dxfattribs={ + "owner": underlay_dict.dxf.handle, + "filename": filename, + "name": name, + }, + ) + + # auto-generated underlay key + key = self.next_underlay_key(lambda k: k not in underlay_dict) + underlay_dict[key] = underlay_def + return cast("UnderlayDefinition", underlay_def) + + def add_geodata(self, owner: str = "0", dxfattribs=None) -> GeoData: + """Creates a new :class:`GeoData` entity and replaces existing ones. + The GEODATA entity resides in the OBJECTS section and NOT in the layout + entity space, and it is linked to the layout by an extension dictionary + located in BLOCK_RECORD of the layout. + + The GEODATA entity requires DXF version R2010+. The DXF Reference does + not document if other layouts than model space supports geo referencing, + so getting/setting geo data may only make sense for the model space + layout, but it is also available in paper space layouts. + + Args: + owner: handle to owner as hex string + dxfattribs: DXF attributes for :class:`~ezdxf.entities.GeoData` entity + + """ + if dxfattribs is None: + dxfattribs = {} + dxfattribs["owner"] = owner + return cast("GeoData", self.add_dxf_object_with_reactor("GEODATA", dxfattribs)) + + def reorg(self, auditor: Optional[Auditor] = None) -> Auditor: + """Validate and recreate the integrity of the OBJECTS section.""" + if auditor is None: + assert self.doc is not None, "valid document required" + auditor = Auditor(self.doc) + sanitizer = _Sanitizer(auditor, self) + sanitizer.execute() + return auditor + + +_OBJECT_TABLE_NAMES = [ + "ACAD_COLOR", + "ACAD_GROUP", + "ACAD_LAYOUT", + "ACAD_MATERIAL", + "ACAD_MLEADERSTYLE", + "ACAD_MLINESTYLE", + "ACAD_PLOTSETTINGS", + "ACAD_PLOTSTYLENAME", + "ACAD_SCALELIST", + "ACAD_TABLESTYLE", + "ACAD_VISUALSTYLE", +] + +KNOWN_DICT_CONTENT: dict[str, str] = { + "ACAD_COLOR": "DBCOLOR", + "ACAD_GROUP": "GROUP", + "ACAD_IMAGE_DICT": "IMAGEDEF", + "ACAD_DETAILVIEWSTYLE": "ACDBDETAILVIEWSTYLE", + "ACAD_LAYOUT": "LAYOUT", + "ACAD_MATERIAL": "MATERIAL", + "ACAD_MLEADERSTYLE": "MLEADERSTYLE", + "ACAD_MLINESTYLE": "MLINESTYLE", + "ACAD_PLOTSETTINGS": "PLOTSETTINGS", + "ACAD_RENDER_ACTIVE_SETTINGS": "MENTALRAYRENDERSETTINGS", + "ACAD_SCALELIST": "SCALE", + "ACAD_SECTIONVIEWSTYLE": "ACDBSECTIONVIEWSTYLE", + "ACAD_TABLESTYLE": "TABLESTYLE", + "ACAD_PDFDEFINITIONS": "PDFDEFINITION", + "ACAD_DWFDEFINITIONS": "DWFDEFINITION", + "ACAD_DGNDEFINITIONS": "DGNDEFINITION", + "ACAD_VISUALSTYLE": "VISUALSTYLE", + "AcDbVariableDictionary": "DICTIONARYVAR", +} + + +class _Sanitizer: + def __init__(self, auditor: Auditor, objects: ObjectsSection) -> None: + self.objects = objects + self.auditor = auditor + self.rootdict = objects.rootdict + self.removed_entity = True + + def dictionaries(self) -> Iterator[Dictionary]: + for d in self.objects: + if isinstance(d, Dictionary): + yield d + + def execute(self, max_loops=100) -> None: + self.restore_owner_handles_of_dictionary_entries() + self.validate_known_dictionaries() + loops = 0 + self.removed_entity = True + while self.removed_entity and loops < max_loops: + loops += 1 + self.removed_entity = False + self.remove_orphaned_dictionaries() + # Run audit on all entities of the OBJECTS section to take the removed + # dictionaries into account. + self.audit_objects() + self.create_required_structures() + + def restore_owner_handles_of_dictionary_entries(self) -> None: + def reclaim_entity() -> None: + entity.dxf.owner = dict_handle + self.auditor.fixed_error( + AuditError.INVALID_OWNER_HANDLE, + f"Fixed invalid owner handle of {entity}.", + ) + + def purge_key(): + purge.append(key) + self.auditor.fixed_error( + AuditError.INVALID_OWNER_HANDLE, + f"Removed invalid key {key} in {str(dictionary)}.", + ) + + entitydb = self.auditor.entitydb + for dictionary in self.dictionaries(): + purge: list[str] = [] # list of keys to discard + dict_handle = dictionary.dxf.handle + for key, entity in dictionary.items(): + if isinstance(entity, str): + # handle is not resolved -> entity does not exist + purge_key() + continue + owner_handle = entity.dxf.get("owner") + if owner_handle == dict_handle: + continue + parent_dict = entitydb.get(owner_handle) + if isinstance(parent_dict, Dictionary) and parent_dict.find_key(entity): + # entity belongs to parent_dict, discard key + purge_key() + else: + reclaim_entity() + for key in purge: + dictionary.discard(key) + + def remove_orphaned_dictionaries(self) -> None: + def kill_dictionary(): + entitydb.discard(dictionary) + dictionary._silent_kill() + + entitydb = self.auditor.entitydb + rootdict = self.rootdict + for dictionary in self.dictionaries(): + if dictionary is rootdict: + continue + owner = entitydb.get(dictionary.dxf.get("owner")) + if owner is None: + # owner does not exist: + # A DICTIONARY without an owner has no purpose and the owner can not be + # determined, except for searching all dictionaries for an entry that + # references this DICTIONARY, this is done in the method + # restore_owner_handles_of_dictionary_entries(). + kill_dictionary() + continue + if not isinstance(owner, Dictionary): + continue + key = owner.find_key(dictionary) + if not key: # owner dictionary has no entry for this dict + kill_dictionary() + + def validate_known_dictionaries(self) -> None: + from ezdxf.entities import DXFEntity + + auditor = self.auditor + for dict_name, expected_type in KNOWN_DICT_CONTENT.items(): + object_dict = self.rootdict.get(dict_name) + if not isinstance(object_dict, Dictionary): + continue + purge_keys: list[str] = [] + for key, entry in object_dict.items(): + if isinstance(entry, DXFEntity) and entry.dxftype() != expected_type: + auditor.fixed_error( + AuditError.REMOVED_INVALID_DXF_OBJECT, + f"Removed invalid type {entry} from {object_dict}<{dict_name}>, " + f"expected type {expected_type}", + ) + purge_keys.append(key) + auditor.trash(entry) + for key in purge_keys: + object_dict.discard(key) + + def create_required_structures(self): + self.objects.setup_object_management_tables(self.rootdict) + doc = self.objects.doc + # update ObjectCollections: + doc.materials.update_object_dict() + doc.materials.create_required_entries() + doc.mline_styles.update_object_dict() + doc.mline_styles.create_required_entries() + doc.mleader_styles.update_object_dict() + doc.mleader_styles.create_required_entries() + doc.groups.update_object_dict() + + def cleanup_entitydb(self): + self.auditor.empty_trashcan() + self.auditor.entitydb.purge() + + def audit_objects(self): + self.cleanup_entitydb() + auditor = self.auditor + current_db_size = len(auditor.entitydb) + + for entity in self.objects: + if not entity.dxf.hasattr("owner"): + # check_owner_exist() ignores entities without owner handle + auditor.fixed_error( + code=AuditError.INVALID_OWNER_HANDLE, + message=f"Deleted {str(entity)} entity without owner handle.", + ) + auditor.trash(entity) + continue + auditor.check_owner_exist(entity) + entity.audit(auditor) + + auditor.empty_trashcan() + if current_db_size != len(auditor.entitydb): + self.removed_entity = True diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/sections/table.py b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/sections/table.py new file mode 100644 index 0000000000000000000000000000000000000000..b7669aaa9ce7ec516ed685b5da360ba42de3249d --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/sections/table.py @@ -0,0 +1,780 @@ +# Copyright (c) 2011-2022, Manfred Moitzi +# License: MIT License +from __future__ import annotations +from typing import ( + Generic, + Iterator, + List, + Optional, + TYPE_CHECKING, + TypeVar, + Union, + cast, + Sequence, +) +from collections import OrderedDict +import logging + +from ezdxf.audit import Auditor, AuditError +from ezdxf.lldxf import const, validator +from ezdxf.entities.table import TableHead +from ezdxf.entities import ( + factory, + DXFEntity, + Layer, + Linetype, + Textstyle, + VPort, + View, + AppID, + UCSTableEntry, + BlockRecord, + DimStyle, + is_graphic_entity, +) + +if TYPE_CHECKING: + from ezdxf.document import Drawing + from ezdxf.lldxf.tagwriter import AbstractTagWriter + from ezdxf.entitydb import EntityDB + + +logger = logging.getLogger("ezdxf") + +T = TypeVar("T", bound="DXFEntity") + + +class Table(Generic[T]): + TABLE_TYPE = "UNKNOWN" + + def __init__(self) -> None: + self.doc: Optional[Drawing] = None + self.entries: dict[str, T] = OrderedDict() + self._head = TableHead() + + def load(self, doc: Drawing, entities: Iterator[DXFEntity]) -> None: + """Loading interface. (internal API)""" + self.doc = doc + table_head = next(entities) + if isinstance(table_head, TableHead): + self._head = table_head + else: + raise const.DXFStructureError("Critical structure error in TABLES section.") + expected_entry_dxftype = self.TABLE_TYPE + for table_entry in entities: + if table_entry.dxftype() == expected_entry_dxftype: + self._append(cast(T, table_entry)) + else: + logger.warning( + f"Ignored invalid DXF entity type '{table_entry.dxftype()}'" + f" in {self.TABLE_TYPE} table." + ) + + def reset(self, doc: Drawing, handle: str) -> None: + """Reset table. (internal API)""" + self.doc = doc + self._set_head(self.TABLE_TYPE, handle) + self.entries.clear() + + def _set_head(self, name: str, handle: Optional[str] = None) -> None: + self._head = TableHead.new( + handle, owner="0", dxfattribs={"name": name}, doc=self.doc + ) + + @property + def head(self): + """Returns table head entry.""" + return self._head + + @property + def name(self) -> str: + return self.TABLE_TYPE + + @staticmethod + def key(name: str) -> str: + """Unified table entry key.""" + return validator.make_table_key(name) + + def has_entry(self, name: str) -> bool: + """Returns ``True`` if a table entry `name` exist.""" + return self.key(name) in self.entries + + __contains__ = has_entry + + def __len__(self) -> int: + """Count of table entries.""" + return len(self.entries) + + def __iter__(self) -> Iterator[T]: + """Iterable of all table entries.""" + for e in self.entries.values(): + if e.is_alive: + yield e + + def new(self, name: str, dxfattribs=None) -> T: + """Create a new table entry `name`. + + Args: + name: name of table entry + dxfattribs: additional DXF attributes for table entry + + """ + if self.has_entry(name): + raise const.DXFTableEntryError( + f"{self.TABLE_TYPE} '{name}' already exists!" + ) + dxfattribs = dxfattribs or {} + dxfattribs["name"] = name + dxfattribs["owner"] = self._head.dxf.handle + return self.new_entry(dxfattribs) + + def get(self, name: str) -> T: + """Returns table entry `name`. + + Args: + name: name of table entry, case-insensitive + + Raises: + DXFTableEntryError: table entry does not exist + + """ + entry = self.entries.get(self.key(name)) + if entry: + return entry + else: + raise const.DXFTableEntryError(name) + + def get_entry_by_handle(self, handle: str) -> Optional[T]: + """Returns table entry by handle or ``None`` if entry does not exist. + + (internal API) + """ + entry = self.doc.entitydb.get(handle) # type: ignore + if entry and entry.dxftype() == self.TABLE_TYPE: + return entry # type: ignore + return None + + def get_handle_of_entry(self, name: str) -> str: + """Returns the handle of table entry by `name`, returns an empty string if no + entry for the given name exist. + + Args: + name: name of table entry, case-insensitive + + (internal API) + """ + entry = self.entries.get(self.key(name)) + if entry is not None: + return entry.dxf.handle + return "" + + def remove(self, name: str) -> None: + """Removes table entry `name`. + + Args: + name: name of table entry, case-insensitive + + Raises: + DXFTableEntryError: table entry does not exist + + """ + key = self.key(name) + entry = self.get(name) + self.entitydb.delete_entity(entry) + self.discard(key) + + def duplicate_entry(self, name: str, new_name: str) -> T: + """Returns a new table entry `new_name` as copy of `name`, + replaces entry `new_name` if already exist. + + Args: + name: name of table entry, case-insensitive + new_name: name of duplicated table entry + + Raises: + DXFTableEntryError: table entry does not exist + + """ + entry = self.get(name) + entitydb = self.entitydb + if entitydb: + new_entry = entitydb.duplicate_entity(entry) + else: # only for testing! + new_entry = entry.copy() + new_entry.dxf.name = new_name + entry = cast(T, new_entry) + self._append(entry) + return entry + + def discard(self, name: str) -> None: + """Remove table entry without destroying object. + + Args: + name: name of table entry, case-insensitive + + (internal API) + """ + del self.entries[self.key(name)] + + def replace(self, name: str, entry: T) -> None: + """Replace table entry `name` by new `entry`. (internal API)""" + self.discard(name) + self._append(entry) + + @property + def entitydb(self) -> EntityDB: + return self.doc.entitydb # type: ignore + + def new_entry(self, dxfattribs) -> T: + """Create and add new table-entry of type 'self.entry_dxftype'. + + Does not check if an entry dxfattribs['name'] already exists! + Duplicate entries are possible for Viewports. + """ + assert self.doc is not None, "valid DXF document required" + entry = cast(T, factory.create_db_entry(self.TABLE_TYPE, dxfattribs, self.doc)) + + self._append(entry) + return entry + + def _append(self, entry: T) -> None: + """Add a table entry, replaces existing entries with same name. + (internal API). + """ + assert entry.dxftype() == self.TABLE_TYPE + self.entries[self.key(entry.dxf.name)] = entry + + def add_entry(self, entry: T) -> None: + """Add a table `entry`, created by other object than this table. + (internal API) + """ + if entry.dxftype() != self.TABLE_TYPE: + raise const.DXFTypeError( + f"Invalid table entry type {entry.dxftype()} " + f"for table {self.TABLE_TYPE}" + ) + name = entry.dxf.name + if self.has_entry(name): + raise const.DXFTableEntryError( + f"{self._head.dxf.name} {name} already exists!" + ) + if self.doc: + factory.bind(entry, self.doc) + entry.dxf.owner = self._head.dxf.handle + self._append(entry) + + def export_dxf(self, tagwriter: AbstractTagWriter) -> None: + """Export DXF representation. (internal API)""" + + self.update_owner_handles() + # The table head itself has no owner and is therefore always '0': + self._head.dxf.owner = "0" + self._head.dxf.count = len(self) + self._head.export_dxf(tagwriter) + self.export_table_entries(tagwriter) + tagwriter.write_tag2(0, "ENDTAB") + + def export_table_entries(self, tagwriter: AbstractTagWriter) -> None: + for entry in self.entries.values(): + entry.export_dxf(tagwriter) + + def update_owner_handles(self) -> None: + owner_handle = self._head.dxf.handle + for entry in self.entries.values(): + if entry.is_alive: + entry.dxf.owner = owner_handle + + def set_handle(self, handle: str): + """Set new `handle` for table, updates also :attr:`owner` tag of table + entries. (internal API) + """ + if self._head.dxf.handle is None: + self._head.dxf.handle = handle + self.update_owner_handles() + + def audit(self, auditor: Auditor): + # The table entries are stored in the entity database and are already + # audited! + self._fix_table_head(auditor) + self._fix_entry_handles(auditor) + + def _fix_entry_handles(self, auditor: Auditor): + # Why: see duplicate handle issue #604 + entitydb = self.entitydb + for entry in self: + entity = entitydb.get(entry.dxf.handle) + if entity is not entry: # duplicate handle usage + # This can break entities referring to this entity, but at + # least the DXF readable + entry.dxf.handle = entitydb.next_handle() + self.entitydb.add(entry) + auditor.fixed_error( + code=AuditError.INVALID_TABLE_HANDLE, + message=f"Fixed invalid table entry handle in {entry}", + ) + + def _fix_table_head(self, auditor: Auditor): + def fix_head(): + head.dxf.handle = entitydb.next_handle() + entitydb.add(head) + if log: + auditor.fixed_error( + code=AuditError.INVALID_TABLE_HANDLE, + message=f"Fixed invalid table head handle in table {self.name}", + ) + + # fix silently for older DXF versions + log = auditor.doc.dxfversion > const.DXF12 + + head = self.head + # Another exception for an invalid owner tag, but this usage is + # covered in Auditor.check_owner_exist(): + head.dxf.owner = "0" + handle = head.dxf.handle + entitydb = self.entitydb + if handle is None or handle == "0": + # Entity database does not assign new handle: + fix_head() + else: + # Why: see duplicate handle issue #604 + entry = self.entitydb.get(handle) + if entry is not head: # another entity has the same handle! + fix_head() + # Just to be sure owner handle is valid in every circumstance: + self.update_owner_handles() + + +class LayerTable(Table[Layer]): + TABLE_TYPE = "LAYER" + + def new_entry(self, dxfattribs) -> Layer: + layer = cast(Layer, super().new_entry(dxfattribs)) + if self.doc: + layer.set_required_attributes() + return layer + + def add( + self, + name: str, + *, + color: int = const.BYLAYER, + true_color: Optional[int] = None, + linetype: str = "Continuous", + lineweight: int = const.LINEWEIGHT_BYLAYER, + plot: bool = True, + transparency: Optional[float] = None, + dxfattribs=None, + ) -> Layer: + """Add a new :class:`~ezdxf.entities.Layer`. + + Args: + name (str): layer name + color (int): :ref:`ACI` value, default is BYLAYER + true_color (int): true color value, use :func:`ezdxf.rgb2int` to + create ``int`` values from RGB values + linetype (str): line type name, default is "Continuous" + lineweight (int): line weight, default is BYLAYER + plot (bool): plot layer as bool, default is ``True`` + transparency: transparency value in the range [0, 1], where 1 is + 100% transparent and 0 is opaque + dxfattribs (dict): additional DXF attributes + + """ + dxfattribs = dict(dxfattribs or {}) + if validator.is_valid_aci_color(color): + dxfattribs["color"] = color + else: + raise const.DXFValueError(f"invalid color: {color}") + dxfattribs["linetype"] = linetype + if validator.is_valid_lineweight(lineweight): + dxfattribs["lineweight"] = lineweight + else: + raise const.DXFValueError(f"invalid lineweight: {lineweight}") + if true_color is not None: + dxfattribs["true_color"] = int(true_color) + dxfattribs["plot"] = int(plot) + layer = cast("Layer", self.new(name, dxfattribs)) + if transparency is not None: + layer.transparency = transparency + return layer + + def create_referenced_layers(self) -> None: + """Create for all referenced layers table entries if not exist.""" + if self.doc is None: + return + for e in self.doc.entitydb.values(): + if not is_graphic_entity(e): + continue + layer_name = e.dxf.get("layer", "") + if layer_name and not self.has_entry(layer_name): + # create layer table entry with default settings + self.add(layer_name) + + +class LinetypeTable(Table[Linetype]): + TABLE_TYPE = "LTYPE" + + def new_entry(self, dxfattribs) -> Linetype: + pattern = dxfattribs.pop("pattern", [0.0]) + length = dxfattribs.pop("length", 0) # required for complex types + ltype = cast(Linetype, super().new_entry(dxfattribs)) + ltype.setup_pattern(pattern, length) + return ltype + + def add( + self, + name: str, + pattern: Union[Sequence[float], str], + *, + description: str = "", + length: float = 0.0, + dxfattribs=None, + ) -> Linetype: + """Add a new line type entry. The simple line type pattern is a list of + floats :code:`[total_pattern_length, elem1, elem2, ...]` + where an element > 0 is a line, an element < 0 is a gap and an + element == 0.0 is a dot. The definition for complex line types are + strings, like: ``'A,.5,-.2,["GAS",STANDARD,S=.1,U=0.0,X=-0.1,Y=-.05],-.25'`` + similar to the line type definitions stored in the line definition + `.lin` files, for more information see the tutorial about complex line + types. Be aware that not many CAD applications and DXF viewers support + complex linetypes. + + .. seealso:: + + - `Tutorial for simple line types `_ + - `Tutorial for complex line types `_ + + Args: + name (str): line type name + pattern: line type pattern as list of floats or as a string + description (str): line type description, optional + length (float): total pattern length, only for complex line types required + dxfattribs (dict): additional DXF attributes + + """ + dxfattribs = dict(dxfattribs or {}) + dxfattribs.update( + { + "name": name, + "description": str(description), + "pattern": pattern, + "length": float(length), + } + ) + return self.new_entry(dxfattribs) + + +class TextstyleTable(Table[Textstyle]): + TABLE_TYPE = "STYLE" + + def __init__(self) -> None: + super().__init__() + self.shx_files: dict[str, Textstyle] = dict() + + def export_table_entries(self, tagwriter: AbstractTagWriter) -> None: + super().export_table_entries(tagwriter) + for shx_file in self.shx_files.values(): + shx_file.export_dxf(tagwriter) + + def _append(self, entry: Textstyle) -> None: + """Add a table entry, replaces existing entries with same name. + (internal API). + """ + if entry.dxf.name == "" and (entry.dxf.flags & 1): # shx shape file + self.shx_files[self.key(entry.dxf.font)] = entry + else: + self.entries[self.key(entry.dxf.name)] = entry + + def update_owner_handles(self) -> None: + super().update_owner_handles() + owner_handle = self._head.dxf.handle + for entry in self.shx_files.values(): + entry.dxf.owner = owner_handle + + def add(self, name: str, *, font: str, dxfattribs=None) -> Textstyle: + """Add a new text style entry for TTF fonts. The entry must not yet + exist, otherwise an :class:`DXFTableEntryError` exception will be + raised. + + Finding the TTF font files is the task of the DXF viewer and each + viewer is different (hint: support files). + + Args: + name (str): text style name + font (str): TTF font file name like "Arial.ttf", the real font file + name from the file system is required and only the Windows filesystem + is case-insensitive. + dxfattribs (dict): additional DXF attributes + + """ + dxfattribs = dict(dxfattribs or {}) + dxfattribs.update( + { + "name": name, + "font": str(font), + "last_height": 2.5, # maybe required by AutoCAD + } + ) + return self.new_entry(dxfattribs) + + def add_shx(self, shx_file_name: str, *, dxfattribs=None) -> Textstyle: + """Add a new shape font (SHX file) entry. These are special text style + entries and have no name. The entry must not yet exist, otherwise an + :class:`DXFTableEntryError` exception will be raised. + + Locating the SHX files in the filesystem is the task of the DXF viewer and each + viewer is different (hint: support files). + + Args: + shx_file_name (str): shape file name like "gdt.shx" + dxfattribs (dict): additional DXF attributes + + """ + if self.find_shx(shx_file_name) is not None: + raise const.DXFTableEntryError( + f"{self._head.dxf.name} shape file entry for " + f"'{shx_file_name}' already exists!" + ) + + dxfattribs = dict(dxfattribs or {}) + dxfattribs.update( + { + "name": "", # shape file entry has no name + "flags": 1, # shape file flag + "font": shx_file_name, + "last_height": 2.5, # maybe required by AutoCAD + } + ) + return self.new_entry(dxfattribs) + + def get_shx(self, shx_file_name: str) -> Textstyle: + """Get existing entry for a shape file (SHX file), or create a new + entry. + + Locating the SHX files in the filesystem is the task of the DXF viewer and each + viewer is different (hint: support files). + + Args: + shx_file_name (str): shape file name like "gdt.shx" + + """ + shape_file = self.find_shx(shx_file_name) + if shape_file is None: + return self.add_shx(shx_file_name) + return shape_file + + def find_shx(self, shx_file_name: str) -> Optional[Textstyle]: + """Find the shape file (SHX file) text style table entry, by a + case-insensitive search. + + A shape file table entry has no name, so you have to search by the + font attribute. + + Args: + shx_file_name (str): shape file name like "gdt.shx" + + """ + return self.shx_files.get(self.key(shx_file_name)) + + def discard_shx(self, shx_file_name: str) -> None: + """Discard the shape file (SHX file) text style table entry. Does not raise an + exception if the entry does not exist. + + Args: + shx_file_name (str): shape file name like "gdt.shx" + + """ + try: + del self.shx_files[self.key(shx_file_name)] + except KeyError: + pass + + +class ViewportTable(Table[VPort]): + TABLE_TYPE = "VPORT" + # Viewport-Table can have multiple entries with same name + # each table entry is a list of VPORT entries + + def export_table_entries(self, tagwriter: AbstractTagWriter) -> None: + for entry in self.entries.values(): + assert isinstance(entry, list) + for e in entry: + e.export_dxf(tagwriter) + + def new(self, name: str, dxfattribs=None) -> VPort: + """Create a new table entry.""" + dxfattribs = dxfattribs or {} + dxfattribs["name"] = name + return self.new_entry(dxfattribs) + + def add(self, name: str, *, dxfattribs=None) -> VPort: + """Add a new modelspace viewport entry. A modelspace viewport + configuration can consist of multiple viewport entries with the same + name. + + Args: + name (str): viewport name, multiple entries possible + dxfattribs (dict): additional DXF attributes + + """ + dxfattribs = dict(dxfattribs or {}) + dxfattribs["name"] = name + return self.new_entry(dxfattribs) + + def remove(self, name: str) -> None: + """Remove table-entry from table and entitydb by name.""" + key = self.key(name) + entries = cast(List[DXFEntity], self.get(name)) + for entry in entries: + self.entitydb.delete_entity(entry) + del self.entries[key] + + def __iter__(self) -> Iterator[VPort]: + for entries in self.entries.values(): + yield from iter(entries) # type: ignore + + def _flatten(self) -> Iterator[VPort]: + for entries in self.entries.values(): + yield from iter(entries) # type: ignore + + def __len__(self) -> int: + # calling __iter__() invokes recursion! + return len(list(self._flatten())) + + def new_entry(self, dxfattribs) -> VPort: + """Create and add new table-entry of type 'self.entry_dxftype'. + + Does not check if an entry dxfattribs['name'] already exists! + Duplicate entries are possible for Viewports. + """ + assert self.doc is not None, "valid DXF document expected" + entry = cast( + VPort, + factory.create_db_entry(self.TABLE_TYPE, dxfattribs, self.doc), + ) + self._append(entry) + return entry + + def duplicate_entry(self, name: str, new_name: str) -> VPort: + raise NotImplementedError() + + def _append(self, entry: T) -> None: + key = self.key(entry.dxf.name) + if key in self.entries: + self.entries[key].append(entry) # type: ignore + else: + self.entries[key] = [entry] # type: ignore # store list of VPORT + + def replace(self, name: str, entry: T) -> None: + self.discard(name) + config: list[T] + if isinstance(entry, list): + config = entry + else: + config = [entry] + if not config: + return + key = self.key(config[0].dxf.name) + self.entries[key] = config # type: ignore + + def update_owner_handles(self) -> None: + owner_handle = self._head.dxf.handle + for entries in self.entries.values(): + for entry in entries: # type: ignore + entry.dxf.owner = owner_handle + + def get_config(self, name: str) -> list[VPort]: + """Returns a list of :class:`~ezdxf.entities.VPort` objects, for + the multi-viewport configuration `name`. + """ + try: + return self.entries[self.key(name)] # type: ignore + except KeyError: + raise const.DXFTableEntryError(name) + + def delete_config(self, name: str) -> None: + """Delete all :class:`~ezdxf.entities.VPort` objects of the + multi-viewport configuration `name`. + """ + self.remove(name) + + +class AppIDTable(Table[AppID]): + TABLE_TYPE = "APPID" + + def add(self, name: str, *, dxfattribs=None) -> AppID: + """Add a new appid table entry. + + Args: + name (str): appid name + dxfattribs (dict): DXF attributes + + """ + dxfattribs = dict(dxfattribs or {}) + dxfattribs["name"] = name + return self.new_entry(dxfattribs) + + +class ViewTable(Table[View]): + TABLE_TYPE = "VIEW" + + def add(self, name: str, *, dxfattribs=None) -> View: + """Add a new view table entry. + + Args: + name (str): view name + dxfattribs (dict): DXF attributes + + """ + dxfattribs = dict(dxfattribs or {}) + dxfattribs["name"] = name + return self.new_entry(dxfattribs) + + +class BlockRecordTable(Table[BlockRecord]): + TABLE_TYPE = "BLOCK_RECORD" + + def add(self, name: str, *, dxfattribs=None) -> BlockRecord: + """Add a new block record table entry. + + Args: + name (str): block record name + dxfattribs (dict): DXF attributes + + """ + dxfattribs = dict(dxfattribs or {}) + dxfattribs["name"] = name + return self.new_entry(dxfattribs) + + +class DimStyleTable(Table[DimStyle]): + TABLE_TYPE = "DIMSTYLE" + + def add(self, name: str, *, dxfattribs=None) -> DimStyle: + """Add a new dimension style table entry. + + Args: + name (str): dimension style name + dxfattribs (dict): DXF attributes + + """ + dxfattribs = dict(dxfattribs or {}) + dxfattribs["name"] = name + return self.new_entry(dxfattribs) + + +class UCSTable(Table[UCSTableEntry]): + TABLE_TYPE = "UCS" + + def add(self, name: str, *, dxfattribs=None) -> UCSTableEntry: + """Add a new UCS table entry. + + Args: + name (str): UCS name + dxfattribs (dict): DXF attributes + + """ + dxfattribs = dict(dxfattribs or {}) + dxfattribs["name"] = name + return self.new_entry(dxfattribs) diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/sections/tables.py b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/sections/tables.py new file mode 100644 index 0000000000000000000000000000000000000000..6b1e96be6521cefa0ded4da8e180fb97d634ce5d --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/ezdxf/sections/tables.py @@ -0,0 +1,152 @@ +# Copyright (c) 2011-2022, Manfred Moitzi +# License: MIT License +from __future__ import annotations +from typing import TYPE_CHECKING, Iterable, Sequence, Optional +import logging +from ezdxf.lldxf.const import DXFStructureError, DXF12 +from .table import ( + Table, + ViewportTable, + TextstyleTable, + LayerTable, + LinetypeTable, + AppIDTable, + ViewTable, + BlockRecordTable, + DimStyleTable, + UCSTable, +) + +if TYPE_CHECKING: + from ezdxf.document import Drawing + from ezdxf.entities import DXFEntity, DXFTagStorage + from ezdxf.lldxf.tagwriter import AbstractTagWriter + +logger = logging.getLogger("ezdxf") + +TABLENAMES = { + "LAYER": "layers", + "LTYPE": "linetypes", + "APPID": "appids", + "DIMSTYLE": "dimstyles", + "STYLE": "styles", + "UCS": "ucs", + "VIEW": "views", + "VPORT": "viewports", + "BLOCK_RECORD": "block_records", +} + + +class TablesSection: + def __init__(self, doc: Drawing, entities: Optional[list[DXFEntity]] = None): + assert doc is not None + self.doc = doc + # not loaded tables: table.doc is None + self.layers = LayerTable() + self.linetypes = LinetypeTable() + self.appids = AppIDTable() + self.dimstyles = DimStyleTable() + self.styles = TextstyleTable() + self.ucs = UCSTable() + self.views = ViewTable() + self.viewports = ViewportTable() + self.block_records = BlockRecordTable() + + if entities is not None: + self._load(entities) + self._reset_not_loaded_tables() + + def tables(self) -> Sequence[Table]: + return ( + self.layers, + self.linetypes, + self.appids, + self.dimstyles, + self.styles, + self.ucs, + self.views, + self.viewports, + self.block_records, + ) + + def _load(self, entities: list[DXFEntity]) -> None: + section_head: "DXFTagStorage" = entities[0] # type: ignore + if section_head.dxftype() != "SECTION" or section_head.base_class[ + 1 + ] != (2, "TABLES"): + raise DXFStructureError( + "Critical structure error in TABLES section." + ) + del entities[0] # delete first entity (0, SECTION) + + table_records: list[DXFEntity] = [] + table_name = None + for entity in entities: + if entity.dxftype() == "TABLE": + if len(table_records): + # TABLE entity without preceding ENDTAB entity, should we care? + logger.debug( + f'Ignore missing ENDTAB entity in table "{table_name}".' + ) + self._load_table(table_name, table_records) # type: ignore + table_name = entity.dxf.name + table_records = [entity] # collect table head + elif entity.dxftype() == "ENDTAB": # do not collect (0, 'ENDTAB') + self._load_table(table_name, table_records) # type: ignore + table_records = ( + [] + ) # collect entities outside of tables, but ignore it + else: # collect table entries + table_records.append(entity) + + if len(table_records): + # last ENDTAB entity is missing, should we care? + logger.debug( + 'Ignore missing ENDTAB entity in table "{}".'.format(table_name) + ) + self._load_table(table_name, table_records) # type: ignore + + def _load_table( + self, name: str, table_entities: Iterable[DXFEntity] + ) -> None: + """ + Load table from tags. + + Args: + name: table name e.g. VPORT + table_entities: iterable of table records + + """ + table = getattr(self, TABLENAMES[name]) + if isinstance(table, Table): + table.load(self.doc, iter(table_entities)) + + def _reset_not_loaded_tables(self) -> None: + entitydb = self.doc.entitydb + for table in self.tables(): + if table.doc is None: + handle = entitydb.next_handle() + table.reset(self.doc, handle) + entitydb.add(table.head) + + def export_dxf(self, tagwriter: AbstractTagWriter) -> None: + tagwriter.write_str(" 0\nSECTION\n 2\nTABLES\n") + version = tagwriter.dxfversion + self.viewports.export_dxf(tagwriter) + self.linetypes.export_dxf(tagwriter) + self.layers.export_dxf(tagwriter) + self.styles.export_dxf(tagwriter) + self.views.export_dxf(tagwriter) + self.ucs.export_dxf(tagwriter) + self.appids.export_dxf(tagwriter) + self.dimstyles.export_dxf(tagwriter) + if version > DXF12: + self.block_records.export_dxf(tagwriter) + tagwriter.write_tag2(0, "ENDSEC") + + def create_table_handles(self): + # DXF R12: TABLE does not require a handle and owner tag + # DXF R2000+: TABLE requires a handle and an owner tag + for table in self.tables(): + handle = self.doc.entitydb.next_handle() + table.set_handle(handle) diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/__pycache__/__init__.cpython-311.pyc b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/__pycache__/__init__.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..2d3b9250c51537d61754ece41fdb8c7c865e6385 Binary files /dev/null and b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/__pycache__/__init__.cpython-311.pyc differ diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/__pycache__/appengine_memcache.cpython-311.pyc b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/__pycache__/appengine_memcache.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..173210344e71c9174ca2b417b5aa6e3968d63d79 Binary files /dev/null and b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/__pycache__/appengine_memcache.cpython-311.pyc differ diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/__pycache__/base.cpython-311.pyc b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/__pycache__/base.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..7374e9a46b21b96586330a51dc29cf57db8c92e7 Binary files /dev/null and b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/__pycache__/base.cpython-311.pyc differ diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/__pycache__/file_cache.cpython-311.pyc b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/__pycache__/file_cache.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..15906c3d7d85aac2b114b2537f176932b967aa8b Binary files /dev/null and b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/__pycache__/file_cache.cpython-311.pyc differ diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/accesscontextmanager.v1beta.json b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/accesscontextmanager.v1beta.json new file mode 100644 index 0000000000000000000000000000000000000000..89cd862f8f875fce748ea03fdd919c688695278d --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/accesscontextmanager.v1beta.json @@ -0,0 +1,1084 @@ +{ + "auth": { + "oauth2": { + "scopes": { + "https://www.googleapis.com/auth/cloud-platform": { + "description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." + } + } + } + }, + "basePath": "", + "baseUrl": "https://accesscontextmanager.googleapis.com/", + "batchPath": "batch", + "canonicalName": "Access Context Manager", + "description": "An API for setting attribute based access control to requests to Google Cloud services.", + "discoveryVersion": "v1", + "documentationLink": "https://cloud.google.com/access-context-manager/docs/reference/rest/", + "fullyEncodeReservedExpansion": true, + "icons": { + "x16": "http://www.google.com/images/icons/product/search-16.gif", + "x32": "http://www.google.com/images/icons/product/search-32.gif" + }, + "id": "accesscontextmanager:v1beta", + "kind": "discovery#restDescription", + "mtlsRootUrl": "https://accesscontextmanager.mtls.googleapis.com/", + "name": "accesscontextmanager", + "ownerDomain": "google.com", + "ownerName": "Google", + "parameters": { + "$.xgafv": { + "description": "V1 error format.", + "enum": [ + "1", + "2" + ], + "enumDescriptions": [ + "v1 error format", + "v2 error format" + ], + "location": "query", + "type": "string" + }, + "access_token": { + "description": "OAuth access token.", + "location": "query", + "type": "string" + }, + "alt": { + "default": "json", + "description": "Data format for response.", + "enum": [ + "json", + "media", + "proto" + ], + "enumDescriptions": [ + "Responses with Content-Type of application/json", + "Media download with context-dependent Content-Type", + "Responses with Content-Type of application/x-protobuf" + ], + "location": "query", + "type": "string" + }, + "callback": { + "description": "JSONP", + "location": "query", + "type": "string" + }, + "fields": { + "description": "Selector specifying which fields to include in a partial response.", + "location": "query", + "type": "string" + }, + "key": { + "description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", + "location": "query", + "type": "string" + }, + "oauth_token": { + "description": "OAuth 2.0 token for the current user.", + "location": "query", + "type": "string" + }, + "prettyPrint": { + "default": "true", + "description": "Returns response with indentations and line breaks.", + "location": "query", + "type": "boolean" + }, + "quotaUser": { + "description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.", + "location": "query", + "type": "string" + }, + "uploadType": { + "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", + "location": "query", + "type": "string" + }, + "upload_protocol": { + "description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", + "location": "query", + "type": "string" + } + }, + "protocol": "rest", + "resources": { + "accessPolicies": { + "methods": { + "create": { + "description": "Create an `AccessPolicy`. Fails if this organization already has a `AccessPolicy`. The longrunning Operation will have a successful status once the `AccessPolicy` has propagated to long-lasting storage. Syntactic and basic semantic errors will be returned in `metadata` as a BadRequest proto.", + "flatPath": "v1beta/accessPolicies", + "httpMethod": "POST", + "id": "accesscontextmanager.accessPolicies.create", + "parameterOrder": [], + "parameters": {}, + "path": "v1beta/accessPolicies", + "request": { + "$ref": "AccessPolicy" + }, + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "delete": { + "description": "Delete an AccessPolicy by resource name. The longrunning Operation will have a successful status once the AccessPolicy has been removed from long-lasting storage.", + "flatPath": "v1beta/accessPolicies/{accessPoliciesId}", + "httpMethod": "DELETE", + "id": "accesscontextmanager.accessPolicies.delete", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. Resource name for the access policy to delete. Format `accessPolicies/{policy_id}`", + "location": "path", + "pattern": "^accessPolicies/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1beta/{+name}", + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "get": { + "description": "Get an AccessPolicy by name.", + "flatPath": "v1beta/accessPolicies/{accessPoliciesId}", + "httpMethod": "GET", + "id": "accesscontextmanager.accessPolicies.get", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. Resource name for the access policy to get. Format `accessPolicies/{policy_id}`", + "location": "path", + "pattern": "^accessPolicies/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1beta/{+name}", + "response": { + "$ref": "AccessPolicy" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "list": { + "description": "List all AccessPolicies under a container.", + "flatPath": "v1beta/accessPolicies", + "httpMethod": "GET", + "id": "accesscontextmanager.accessPolicies.list", + "parameterOrder": [], + "parameters": { + "pageSize": { + "description": "Number of AccessPolicy instances to include in the list. Default 100.", + "format": "int32", + "location": "query", + "type": "integer" + }, + "pageToken": { + "description": "Next page token for the next batch of AccessPolicy instances. Defaults to the first page of results.", + "location": "query", + "type": "string" + }, + "parent": { + "description": "Required. Resource name for the container to list AccessPolicy instances from. Format: `organizations/{org_id}`", + "location": "query", + "type": "string" + } + }, + "path": "v1beta/accessPolicies", + "response": { + "$ref": "ListAccessPoliciesResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "patch": { + "description": "Update an AccessPolicy. The longrunning Operation from this RPC will have a successful status once the changes to the AccessPolicy have propagated to long-lasting storage. Syntactic and basic semantic errors will be returned in `metadata` as a BadRequest proto.", + "flatPath": "v1beta/accessPolicies/{accessPoliciesId}", + "httpMethod": "PATCH", + "id": "accesscontextmanager.accessPolicies.patch", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Output only. Resource name of the `AccessPolicy`. Format: `accessPolicies/{policy_id}`", + "location": "path", + "pattern": "^accessPolicies/[^/]+$", + "required": true, + "type": "string" + }, + "updateMask": { + "description": "Required. Mask to control which fields get updated. Must be non-empty.", + "format": "google-fieldmask", + "location": "query", + "type": "string" + } + }, + "path": "v1beta/{+name}", + "request": { + "$ref": "AccessPolicy" + }, + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + } + }, + "resources": { + "accessLevels": { + "methods": { + "create": { + "description": "Create an Access Level. The longrunning operation from this RPC will have a successful status once the Access Level has propagated to long-lasting storage. Access Levels containing errors will result in an error response for the first error encountered.", + "flatPath": "v1beta/accessPolicies/{accessPoliciesId}/accessLevels", + "httpMethod": "POST", + "id": "accesscontextmanager.accessPolicies.accessLevels.create", + "parameterOrder": [ + "parent" + ], + "parameters": { + "parent": { + "description": "Required. Resource name for the access policy which owns this Access Level. Format: `accessPolicies/{policy_id}`", + "location": "path", + "pattern": "^accessPolicies/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1beta/{+parent}/accessLevels", + "request": { + "$ref": "AccessLevel" + }, + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "delete": { + "description": "Delete an Access Level by resource name. The longrunning operation from this RPC will have a successful status once the Access Level has been removed from long-lasting storage.", + "flatPath": "v1beta/accessPolicies/{accessPoliciesId}/accessLevels/{accessLevelsId}", + "httpMethod": "DELETE", + "id": "accesscontextmanager.accessPolicies.accessLevels.delete", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. Resource name for the Access Level. Format: `accessPolicies/{policy_id}/accessLevels/{access_level_id}`", + "location": "path", + "pattern": "^accessPolicies/[^/]+/accessLevels/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1beta/{+name}", + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "get": { + "description": "Get an Access Level by resource name.", + "flatPath": "v1beta/accessPolicies/{accessPoliciesId}/accessLevels/{accessLevelsId}", + "httpMethod": "GET", + "id": "accesscontextmanager.accessPolicies.accessLevels.get", + "parameterOrder": [ + "name" + ], + "parameters": { + "accessLevelFormat": { + "description": "Whether to return `BasicLevels` in the Cloud Common Expression Language rather than as `BasicLevels`. Defaults to AS_DEFINED, where Access Levels are returned as `BasicLevels` or `CustomLevels` based on how they were created. If set to CEL, all Access Levels are returned as `CustomLevels`. In the CEL case, `BasicLevels` are translated to equivalent `CustomLevels`.", + "enum": [ + "LEVEL_FORMAT_UNSPECIFIED", + "AS_DEFINED", + "CEL" + ], + "enumDescriptions": [ + "The format was not specified.", + "Uses the format the resource was defined in. BasicLevels are returned as BasicLevels, CustomLevels are returned as CustomLevels.", + "Use Cloud Common Expression Language when returning the resource. Both BasicLevels and CustomLevels are returned as CustomLevels." + ], + "location": "query", + "type": "string" + }, + "name": { + "description": "Required. Resource name for the Access Level. Format: `accessPolicies/{policy_id}/accessLevels/{access_level_id}`", + "location": "path", + "pattern": "^accessPolicies/[^/]+/accessLevels/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1beta/{+name}", + "response": { + "$ref": "AccessLevel" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "list": { + "description": "List all Access Levels for an access policy.", + "flatPath": "v1beta/accessPolicies/{accessPoliciesId}/accessLevels", + "httpMethod": "GET", + "id": "accesscontextmanager.accessPolicies.accessLevels.list", + "parameterOrder": [ + "parent" + ], + "parameters": { + "accessLevelFormat": { + "description": "Whether to return `BasicLevels` in the Cloud Common Expression language, as `CustomLevels`, rather than as `BasicLevels`. Defaults to returning `AccessLevels` in the format they were defined.", + "enum": [ + "LEVEL_FORMAT_UNSPECIFIED", + "AS_DEFINED", + "CEL" + ], + "enumDescriptions": [ + "The format was not specified.", + "Uses the format the resource was defined in. BasicLevels are returned as BasicLevels, CustomLevels are returned as CustomLevels.", + "Use Cloud Common Expression Language when returning the resource. Both BasicLevels and CustomLevels are returned as CustomLevels." + ], + "location": "query", + "type": "string" + }, + "pageSize": { + "description": "Number of Access Levels to include in the list. Default 100.", + "format": "int32", + "location": "query", + "type": "integer" + }, + "pageToken": { + "description": "Next page token for the next batch of Access Level instances. Defaults to the first page of results.", + "location": "query", + "type": "string" + }, + "parent": { + "description": "Required. Resource name for the access policy to list Access Levels from. Format: `accessPolicies/{policy_id}`", + "location": "path", + "pattern": "^accessPolicies/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1beta/{+parent}/accessLevels", + "response": { + "$ref": "ListAccessLevelsResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "patch": { + "description": "Update an Access Level. The longrunning operation from this RPC will have a successful status once the changes to the Access Level have propagated to long-lasting storage. Access Levels containing errors will result in an error response for the first error encountered.", + "flatPath": "v1beta/accessPolicies/{accessPoliciesId}/accessLevels/{accessLevelsId}", + "httpMethod": "PATCH", + "id": "accesscontextmanager.accessPolicies.accessLevels.patch", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Resource name for the `AccessLevel`. Format: `accessPolicies/{access_policy}/accessLevels/{access_level}`. The `access_level` component must begin with a letter, followed by alphanumeric characters or `_`. Its maximum length is 50 characters. After you create an `AccessLevel`, you cannot change its `name`.", + "location": "path", + "pattern": "^accessPolicies/[^/]+/accessLevels/[^/]+$", + "required": true, + "type": "string" + }, + "updateMask": { + "description": "Required. Mask to control which fields get updated. Must be non-empty.", + "format": "google-fieldmask", + "location": "query", + "type": "string" + } + }, + "path": "v1beta/{+name}", + "request": { + "$ref": "AccessLevel" + }, + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + } + } + }, + "servicePerimeters": { + "methods": { + "create": { + "description": "Create a Service Perimeter. The longrunning operation from this RPC will have a successful status once the Service Perimeter has propagated to long-lasting storage. Service Perimeters containing errors will result in an error response for the first error encountered.", + "flatPath": "v1beta/accessPolicies/{accessPoliciesId}/servicePerimeters", + "httpMethod": "POST", + "id": "accesscontextmanager.accessPolicies.servicePerimeters.create", + "parameterOrder": [ + "parent" + ], + "parameters": { + "parent": { + "description": "Required. Resource name for the access policy which owns this Service Perimeter. Format: `accessPolicies/{policy_id}`", + "location": "path", + "pattern": "^accessPolicies/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1beta/{+parent}/servicePerimeters", + "request": { + "$ref": "ServicePerimeter" + }, + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "delete": { + "description": "Delete a Service Perimeter by resource name. The longrunning operation from this RPC will have a successful status once the Service Perimeter has been removed from long-lasting storage.", + "flatPath": "v1beta/accessPolicies/{accessPoliciesId}/servicePerimeters/{servicePerimetersId}", + "httpMethod": "DELETE", + "id": "accesscontextmanager.accessPolicies.servicePerimeters.delete", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. Resource name for the Service Perimeter. Format: `accessPolicies/{policy_id}/servicePerimeters/{service_perimeter_id}`", + "location": "path", + "pattern": "^accessPolicies/[^/]+/servicePerimeters/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1beta/{+name}", + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "get": { + "description": "Get a Service Perimeter by resource name.", + "flatPath": "v1beta/accessPolicies/{accessPoliciesId}/servicePerimeters/{servicePerimetersId}", + "httpMethod": "GET", + "id": "accesscontextmanager.accessPolicies.servicePerimeters.get", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. Resource name for the Service Perimeter. Format: `accessPolicies/{policy_id}/servicePerimeters/{service_perimeters_id}`", + "location": "path", + "pattern": "^accessPolicies/[^/]+/servicePerimeters/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1beta/{+name}", + "response": { + "$ref": "ServicePerimeter" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "list": { + "description": "List all Service Perimeters for an access policy.", + "flatPath": "v1beta/accessPolicies/{accessPoliciesId}/servicePerimeters", + "httpMethod": "GET", + "id": "accesscontextmanager.accessPolicies.servicePerimeters.list", + "parameterOrder": [ + "parent" + ], + "parameters": { + "pageSize": { + "description": "Number of Service Perimeters to include in the list. Default 100.", + "format": "int32", + "location": "query", + "type": "integer" + }, + "pageToken": { + "description": "Next page token for the next batch of Service Perimeter instances. Defaults to the first page of results.", + "location": "query", + "type": "string" + }, + "parent": { + "description": "Required. Resource name for the access policy to list Service Perimeters from. Format: `accessPolicies/{policy_id}`", + "location": "path", + "pattern": "^accessPolicies/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1beta/{+parent}/servicePerimeters", + "response": { + "$ref": "ListServicePerimetersResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "patch": { + "description": "Update a Service Perimeter. The longrunning operation from this RPC will have a successful status once the changes to the Service Perimeter have propagated to long-lasting storage. Service Perimeter containing errors will result in an error response for the first error encountered.", + "flatPath": "v1beta/accessPolicies/{accessPoliciesId}/servicePerimeters/{servicePerimetersId}", + "httpMethod": "PATCH", + "id": "accesscontextmanager.accessPolicies.servicePerimeters.patch", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Resource name for the `ServicePerimeter`. Format: `accessPolicies/{access_policy}/servicePerimeters/{service_perimeter}`. The `service_perimeter` component must begin with a letter, followed by alphanumeric characters or `_`. After you create a `ServicePerimeter`, you cannot change its `name`.", + "location": "path", + "pattern": "^accessPolicies/[^/]+/servicePerimeters/[^/]+$", + "required": true, + "type": "string" + }, + "updateMask": { + "description": "Required. Mask to control which fields get updated. Must be non-empty.", + "format": "google-fieldmask", + "location": "query", + "type": "string" + } + }, + "path": "v1beta/{+name}", + "request": { + "$ref": "ServicePerimeter" + }, + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + } + } + } + } + }, + "operations": { + "methods": { + "get": { + "description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", + "flatPath": "v1beta/operations/{operationsId}", + "httpMethod": "GET", + "id": "accesscontextmanager.operations.get", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "The name of the operation resource.", + "location": "path", + "pattern": "^operations/.*$", + "required": true, + "type": "string" + } + }, + "path": "v1beta/{+name}", + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + } + } + } + }, + "revision": "20231113", + "rootUrl": "https://accesscontextmanager.googleapis.com/", + "schemas": { + "AccessContextManagerOperationMetadata": { + "description": "Metadata of Access Context Manager's Long Running Operations.", + "id": "AccessContextManagerOperationMetadata", + "properties": {}, + "type": "object" + }, + "AccessLevel": { + "description": "An `AccessLevel` is a label that can be applied to requests to Google Cloud services, along with a list of requirements necessary for the label to be applied.", + "id": "AccessLevel", + "properties": { + "basic": { + "$ref": "BasicLevel", + "description": "A `BasicLevel` composed of `Conditions`." + }, + "custom": { + "$ref": "CustomLevel", + "description": "A `CustomLevel` written in the Common Expression Language." + }, + "description": { + "description": "Description of the `AccessLevel` and its use. Does not affect behavior.", + "type": "string" + }, + "name": { + "description": "Resource name for the `AccessLevel`. Format: `accessPolicies/{access_policy}/accessLevels/{access_level}`. The `access_level` component must begin with a letter, followed by alphanumeric characters or `_`. Its maximum length is 50 characters. After you create an `AccessLevel`, you cannot change its `name`.", + "type": "string" + }, + "title": { + "description": "Human readable title. Must be unique within the Policy.", + "type": "string" + } + }, + "type": "object" + }, + "AccessPolicy": { + "description": "`AccessPolicy` is a container for `AccessLevels` (which define the necessary attributes to use Google Cloud services) and `ServicePerimeters` (which define regions of services able to freely pass data within a perimeter). An access policy is globally visible within an organization, and the restrictions it specifies apply to all projects within an organization.", + "id": "AccessPolicy", + "properties": { + "name": { + "description": "Output only. Resource name of the `AccessPolicy`. Format: `accessPolicies/{policy_id}`", + "type": "string" + }, + "parent": { + "description": "Required. The parent of this `AccessPolicy` in the Cloud Resource Hierarchy. Currently immutable once created. Format: `organizations/{organization_id}`", + "type": "string" + }, + "title": { + "description": "Required. Human readable title. Does not affect behavior.", + "type": "string" + } + }, + "type": "object" + }, + "BasicLevel": { + "description": "`BasicLevel` is an `AccessLevel` using a set of recommended features.", + "id": "BasicLevel", + "properties": { + "combiningFunction": { + "description": "How the `conditions` list should be combined to determine if a request is granted this `AccessLevel`. If AND is used, each `Condition` in `conditions` must be satisfied for the `AccessLevel` to be applied. If OR is used, at least one `Condition` in `conditions` must be satisfied for the `AccessLevel` to be applied. Default behavior is AND.", + "enum": [ + "AND", + "OR" + ], + "enumDescriptions": [ + "All `Conditions` must be true for the `BasicLevel` to be true.", + "If at least one `Condition` is true, then the `BasicLevel` is true." + ], + "type": "string" + }, + "conditions": { + "description": "Required. A list of requirements for the `AccessLevel` to be granted.", + "items": { + "$ref": "Condition" + }, + "type": "array" + } + }, + "type": "object" + }, + "Condition": { + "description": "A condition necessary for an `AccessLevel` to be granted. The Condition is an AND over its fields. So a Condition is true if: 1) the request IP is from one of the listed subnetworks AND 2) the originating device complies with the listed device policy AND 3) all listed access levels are granted AND 4) the request was sent at a time allowed by the DateTimeRestriction.", + "id": "Condition", + "properties": { + "devicePolicy": { + "$ref": "DevicePolicy", + "description": "Device specific restrictions, all restrictions must hold for the Condition to be true. If not specified, all devices are allowed." + }, + "ipSubnetworks": { + "description": "CIDR block IP subnetwork specification. May be IPv4 or IPv6. Note that for a CIDR IP address block, the specified IP address portion must be properly truncated (i.e. all the host bits must be zero) or the input is considered malformed. For example, \"192.0.2.0/24\" is accepted but \"192.0.2.1/24\" is not. Similarly, for IPv6, \"2001:db8::/32\" is accepted whereas \"2001:db8::1/32\" is not. The originating IP of a request must be in one of the listed subnets in order for this Condition to be true. If empty, all IP addresses are allowed.", + "items": { + "type": "string" + }, + "type": "array" + }, + "members": { + "description": "The request must be made by one of the provided user or service accounts. Groups are not supported. Syntax: `user:{emailid}` `serviceAccount:{emailid}` If not specified, a request may come from any user.", + "items": { + "type": "string" + }, + "type": "array" + }, + "negate": { + "description": "Whether to negate the Condition. If true, the Condition becomes a NAND over its non-empty fields. Any non-empty field criteria evaluating to false will result in the Condition to be satisfied. Defaults to false.", + "type": "boolean" + }, + "regions": { + "description": "The request must originate from one of the provided countries/regions. Must be valid ISO 3166-1 alpha-2 codes.", + "items": { + "type": "string" + }, + "type": "array" + }, + "requiredAccessLevels": { + "description": "A list of other access levels defined in the same `Policy`, referenced by resource name. Referencing an `AccessLevel` which does not exist is an error. All access levels listed must be granted for the Condition to be true. Example: \"`accessPolicies/MY_POLICY/accessLevels/LEVEL_NAME\"`", + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "CustomLevel": { + "description": "`CustomLevel` is an `AccessLevel` using the Cloud Common Expression Language to represent the necessary conditions for the level to apply to a request. See CEL spec at: https://github.com/google/cel-spec", + "id": "CustomLevel", + "properties": { + "expr": { + "$ref": "Expr", + "description": "Required. A Cloud CEL expression evaluating to a boolean." + } + }, + "type": "object" + }, + "DevicePolicy": { + "description": "`DevicePolicy` specifies device specific restrictions necessary to acquire a given access level. A `DevicePolicy` specifies requirements for requests from devices to be granted access levels, it does not do any enforcement on the device. `DevicePolicy` acts as an AND over all specified fields, and each repeated field is an OR over its elements. Any unset fields are ignored. For example, if the proto is { os_type : DESKTOP_WINDOWS, os_type : DESKTOP_LINUX, encryption_status: ENCRYPTED}, then the DevicePolicy will be true for requests originating from encrypted Linux desktops and encrypted Windows desktops.", + "id": "DevicePolicy", + "properties": { + "allowedDeviceManagementLevels": { + "description": "Allowed device management levels, an empty list allows all management levels.", + "items": { + "enum": [ + "MANAGEMENT_UNSPECIFIED", + "NONE", + "BASIC", + "COMPLETE" + ], + "enumDescriptions": [ + "The device's management level is not specified or not known.", + "The device is not managed.", + "Basic management is enabled, which is generally limited to monitoring and wiping the corporate account.", + "Complete device management. This includes more thorough monitoring and the ability to directly manage the device (such as remote wiping). This can be enabled through the Android Enterprise Platform." + ], + "type": "string" + }, + "type": "array" + }, + "allowedEncryptionStatuses": { + "description": "Allowed encryptions statuses, an empty list allows all statuses.", + "items": { + "enum": [ + "ENCRYPTION_UNSPECIFIED", + "ENCRYPTION_UNSUPPORTED", + "UNENCRYPTED", + "ENCRYPTED" + ], + "enumDescriptions": [ + "The encryption status of the device is not specified or not known.", + "The device does not support encryption.", + "The device supports encryption, but is currently unencrypted.", + "The device is encrypted." + ], + "type": "string" + }, + "type": "array" + }, + "osConstraints": { + "description": "Allowed OS versions, an empty list allows all types and all versions.", + "items": { + "$ref": "OsConstraint" + }, + "type": "array" + }, + "requireAdminApproval": { + "description": "Whether the device needs to be approved by the customer admin.", + "type": "boolean" + }, + "requireCorpOwned": { + "description": "Whether the device needs to be corp owned.", + "type": "boolean" + }, + "requireScreenlock": { + "description": "Whether or not screenlock is required for the DevicePolicy to be true. Defaults to `false`.", + "type": "boolean" + } + }, + "type": "object" + }, + "Expr": { + "description": "Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: \"Summary size limit\" description: \"Determines if a summary is less than 100 chars\" expression: \"document.summary.size() < 100\" Example (Equality): title: \"Requestor is owner\" description: \"Determines if requestor is the document owner\" expression: \"document.owner == request.auth.claims.email\" Example (Logic): title: \"Public documents\" description: \"Determine whether the document should be publicly visible\" expression: \"document.type != 'private' && document.type != 'internal'\" Example (Data Manipulation): title: \"Notification string\" description: \"Create a notification string with a timestamp.\" expression: \"'New message received at ' + string(document.create_time)\" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information.", + "id": "Expr", + "properties": { + "description": { + "description": "Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI.", + "type": "string" + }, + "expression": { + "description": "Textual representation of an expression in Common Expression Language syntax.", + "type": "string" + }, + "location": { + "description": "Optional. String indicating the location of the expression for error reporting, e.g. a file name and a position in the file.", + "type": "string" + }, + "title": { + "description": "Optional. Title for the expression, i.e. a short string describing its purpose. This can be used e.g. in UIs which allow to enter the expression.", + "type": "string" + } + }, + "type": "object" + }, + "ListAccessLevelsResponse": { + "description": "A response to `ListAccessLevelsRequest`.", + "id": "ListAccessLevelsResponse", + "properties": { + "accessLevels": { + "description": "List of the Access Level instances.", + "items": { + "$ref": "AccessLevel" + }, + "type": "array" + }, + "nextPageToken": { + "description": "The pagination token to retrieve the next page of results. If the value is empty, no further results remain.", + "type": "string" + } + }, + "type": "object" + }, + "ListAccessPoliciesResponse": { + "description": "A response to `ListAccessPoliciesRequest`.", + "id": "ListAccessPoliciesResponse", + "properties": { + "accessPolicies": { + "description": "List of the AccessPolicy instances.", + "items": { + "$ref": "AccessPolicy" + }, + "type": "array" + }, + "nextPageToken": { + "description": "The pagination token to retrieve the next page of results. If the value is empty, no further results remain.", + "type": "string" + } + }, + "type": "object" + }, + "ListServicePerimetersResponse": { + "description": "A response to `ListServicePerimetersRequest`.", + "id": "ListServicePerimetersResponse", + "properties": { + "nextPageToken": { + "description": "The pagination token to retrieve the next page of results. If the value is empty, no further results remain.", + "type": "string" + }, + "servicePerimeters": { + "description": "List of the Service Perimeter instances.", + "items": { + "$ref": "ServicePerimeter" + }, + "type": "array" + } + }, + "type": "object" + }, + "Operation": { + "description": "This resource represents a long-running operation that is the result of a network API call.", + "id": "Operation", + "properties": { + "done": { + "description": "If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.", + "type": "boolean" + }, + "error": { + "$ref": "Status", + "description": "The error result of the operation in case of failure or cancellation." + }, + "metadata": { + "additionalProperties": { + "description": "Properties of the object. Contains field @type with type URL.", + "type": "any" + }, + "description": "Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.", + "type": "object" + }, + "name": { + "description": "The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.", + "type": "string" + }, + "response": { + "additionalProperties": { + "description": "Properties of the object. Contains field @type with type URL.", + "type": "any" + }, + "description": "The normal, successful response of the operation. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.", + "type": "object" + } + }, + "type": "object" + }, + "OsConstraint": { + "description": "A restriction on the OS type and version of devices making requests.", + "id": "OsConstraint", + "properties": { + "minimumVersion": { + "description": "The minimum allowed OS version. If not set, any version of this OS satisfies the constraint. Format: `\"major.minor.patch\"`. Examples: `\"10.5.301\"`, `\"9.2.1\"`.", + "type": "string" + }, + "osType": { + "description": "Required. The allowed OS type.", + "enum": [ + "OS_UNSPECIFIED", + "DESKTOP_MAC", + "DESKTOP_WINDOWS", + "DESKTOP_LINUX", + "DESKTOP_CHROME_OS", + "ANDROID", + "IOS" + ], + "enumDescriptions": [ + "The operating system of the device is not specified or not known.", + "A desktop Mac operating system.", + "A desktop Windows operating system.", + "A desktop Linux operating system.", + "A desktop ChromeOS operating system.", + "An Android operating system.", + "An iOS operating system." + ], + "type": "string" + }, + "requireVerifiedChromeOs": { + "description": "Only allows requests from devices with a verified Chrome OS. Verifications includes requirements that the device is enterprise-managed, conformant to domain policies, and the caller has permission to call the API targeted by the request.", + "type": "boolean" + } + }, + "type": "object" + }, + "ServicePerimeter": { + "description": "`ServicePerimeter` describes a set of Google Cloud resources which can freely import and export data amongst themselves, but not export outside of the `ServicePerimeter`. If a request with a source within this `ServicePerimeter` has a target outside of the `ServicePerimeter`, the request will be blocked. Otherwise the request is allowed. There are two types of Service Perimeter - Regular and Bridge. Regular Service Perimeters cannot overlap, a single Google Cloud project can only belong to a single regular Service Perimeter. Service Perimeter Bridges can contain only Google Cloud projects as members, a single Google Cloud project may belong to multiple Service Perimeter Bridges.", + "id": "ServicePerimeter", + "properties": { + "description": { + "description": "Description of the `ServicePerimeter` and its use. Does not affect behavior.", + "type": "string" + }, + "name": { + "description": "Resource name for the `ServicePerimeter`. Format: `accessPolicies/{access_policy}/servicePerimeters/{service_perimeter}`. The `service_perimeter` component must begin with a letter, followed by alphanumeric characters or `_`. After you create a `ServicePerimeter`, you cannot change its `name`.", + "type": "string" + }, + "perimeterType": { + "description": "Perimeter type indicator. A single project is allowed to be a member of single regular perimeter, but multiple service perimeter bridges. A project cannot be a included in a perimeter bridge without being included in regular perimeter. For perimeter bridges, restricted/unrestricted service lists as well as access lists must be empty.", + "enum": [ + "PERIMETER_TYPE_REGULAR", + "PERIMETER_TYPE_BRIDGE" + ], + "enumDescriptions": [ + "Regular Perimeter. When no value is specified, the perimeter uses this type.", + "Perimeter Bridge." + ], + "type": "string" + }, + "status": { + "$ref": "ServicePerimeterConfig", + "description": "Current ServicePerimeter configuration. Specifies sets of resources, restricted/unrestricted services and access levels that determine perimeter content and boundaries." + }, + "title": { + "description": "Human readable title. Must be unique within the Policy.", + "type": "string" + } + }, + "type": "object" + }, + "ServicePerimeterConfig": { + "description": "`ServicePerimeterConfig` specifies a set of Google Cloud resources that describe specific Service Perimeter configuration.", + "id": "ServicePerimeterConfig", + "properties": { + "accessLevels": { + "description": "A list of `AccessLevel` resource names that allow resources within the `ServicePerimeter` to be accessed from the internet. `AccessLevels` listed must be in the same policy as this `ServicePerimeter`. Referencing a nonexistent `AccessLevel` is a syntax error. If no `AccessLevel` names are listed, resources within the perimeter can only be accessed via Google Cloud calls with request origins within the perimeter. Example: `\"accessPolicies/MY_POLICY/accessLevels/MY_LEVEL\"`. For Service Perimeter Bridge, must be empty.", + "items": { + "type": "string" + }, + "type": "array" + }, + "resources": { + "description": "A list of Google Cloud resources that are inside of the service perimeter. Currently only projects are allowed. Format: `projects/{project_number}`", + "items": { + "type": "string" + }, + "type": "array" + }, + "restrictedServices": { + "description": "Google Cloud services that are subject to the Service Perimeter restrictions. Must contain a list of services. For example, if `storage.googleapis.com` is specified, access to the storage buckets inside the perimeter must meet the perimeter's access restrictions.", + "items": { + "type": "string" + }, + "type": "array" + }, + "unrestrictedServices": { + "description": "Google Cloud services that are not subject to the Service Perimeter restrictions. Deprecated. Must be set to a single wildcard \"*\". The wildcard means that unless explicitly specified by \"restricted_services\" list, any service is treated as unrestricted.", + "items": { + "type": "string" + }, + "type": "array" + }, + "vpcAccessibleServices": { + "$ref": "VpcAccessibleServices", + "description": "Beta. Configuration for APIs allowed within Perimeter." + } + }, + "type": "object" + }, + "Status": { + "description": "The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors).", + "id": "Status", + "properties": { + "code": { + "description": "The status code, which should be an enum value of google.rpc.Code.", + "format": "int32", + "type": "integer" + }, + "details": { + "description": "A list of messages that carry the error details. There is a common set of message types for APIs to use.", + "items": { + "additionalProperties": { + "description": "Properties of the object. Contains field @type with type URL.", + "type": "any" + }, + "type": "object" + }, + "type": "array" + }, + "message": { + "description": "A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.", + "type": "string" + } + }, + "type": "object" + }, + "VpcAccessibleServices": { + "description": "Specifies how APIs are allowed to communicate within the Service Perimeter.", + "id": "VpcAccessibleServices", + "properties": { + "allowedServices": { + "description": "The list of APIs usable within the Service Perimeter. Must be empty unless 'enable_restriction' is True. You can specify a list of individual services, as well as include the 'RESTRICTED-SERVICES' value, which automatically includes all of the services protected by the perimeter.", + "items": { + "type": "string" + }, + "type": "array" + }, + "enableRestriction": { + "description": "Whether to restrict API calls within the Service Perimeter to the list of APIs specified in 'allowed_services'.", + "type": "boolean" + } + }, + "type": "object" + } + }, + "servicePath": "", + "title": "Access Context Manager API", + "version": "v1beta", + "version_module": true +} \ No newline at end of file diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/acmedns.v1.json b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/acmedns.v1.json new file mode 100644 index 0000000000000000000000000000000000000000..4fa5bf8f829009994e83d09cdaa1d0d7cb5d1ddd --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/acmedns.v1.json @@ -0,0 +1,222 @@ +{ +"basePath": "", +"baseUrl": "https://acmedns.googleapis.com/", +"batchPath": "batch", +"canonicalName": "ACME DNS", +"description": "Google Domains ACME DNS API that allows users to complete ACME DNS-01 challenges for a domain.", +"discoveryVersion": "v1", +"documentationLink": "https://developers.google.com/domains/acme-dns/", +"fullyEncodeReservedExpansion": true, +"icons": { +"x16": "http://www.google.com/images/icons/product/search-16.gif", +"x32": "http://www.google.com/images/icons/product/search-32.gif" +}, +"id": "acmedns:v1", +"kind": "discovery#restDescription", +"mtlsRootUrl": "https://acmedns.mtls.googleapis.com/", +"name": "acmedns", +"ownerDomain": "google.com", +"ownerName": "Google", +"parameters": { +"$.xgafv": { +"description": "V1 error format.", +"enum": [ +"1", +"2" +], +"enumDescriptions": [ +"v1 error format", +"v2 error format" +], +"location": "query", +"type": "string" +}, +"access_token": { +"description": "OAuth access token.", +"location": "query", +"type": "string" +}, +"alt": { +"default": "json", +"description": "Data format for response.", +"enum": [ +"json", +"media", +"proto" +], +"enumDescriptions": [ +"Responses with Content-Type of application/json", +"Media download with context-dependent Content-Type", +"Responses with Content-Type of application/x-protobuf" +], +"location": "query", +"type": "string" +}, +"callback": { +"description": "JSONP", +"location": "query", +"type": "string" +}, +"fields": { +"description": "Selector specifying which fields to include in a partial response.", +"location": "query", +"type": "string" +}, +"key": { +"description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", +"location": "query", +"type": "string" +}, +"oauth_token": { +"description": "OAuth 2.0 token for the current user.", +"location": "query", +"type": "string" +}, +"prettyPrint": { +"default": "true", +"description": "Returns response with indentations and line breaks.", +"location": "query", +"type": "boolean" +}, +"quotaUser": { +"description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.", +"location": "query", +"type": "string" +}, +"uploadType": { +"description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", +"location": "query", +"type": "string" +}, +"upload_protocol": { +"description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", +"location": "query", +"type": "string" +} +}, +"protocol": "rest", +"resources": { +"acmeChallengeSets": { +"methods": { +"get": { +"description": "Gets the ACME challenge set for a given domain name. Domain names must be provided in Punycode.", +"flatPath": "v1/acmeChallengeSets/{rootDomain}", +"httpMethod": "GET", +"id": "acmedns.acmeChallengeSets.get", +"parameterOrder": [ +"rootDomain" +], +"parameters": { +"rootDomain": { +"description": "Required. SLD + TLD domain name to list challenges. For example, this would be \"google.com\" for any FQDN under \"google.com\". That includes challenges for \"subdomain.google.com\". This MAY be Unicode or Punycode.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v1/acmeChallengeSets/{rootDomain}", +"response": { +"$ref": "AcmeChallengeSet" +} +}, +"rotateChallenges": { +"description": "Rotate the ACME challenges for a given domain name. By default, removes any challenges that are older than 30 days. Domain names must be provided in Punycode.", +"flatPath": "v1/acmeChallengeSets/{rootDomain}:rotateChallenges", +"httpMethod": "POST", +"id": "acmedns.acmeChallengeSets.rotateChallenges", +"parameterOrder": [ +"rootDomain" +], +"parameters": { +"rootDomain": { +"description": "Required. SLD + TLD domain name to update records for. For example, this would be \"google.com\" for any FQDN under \"google.com\". That includes challenges for \"subdomain.google.com\". This MAY be Unicode or Punycode.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v1/acmeChallengeSets/{rootDomain}:rotateChallenges", +"request": { +"$ref": "RotateChallengesRequest" +}, +"response": { +"$ref": "AcmeChallengeSet" +} +} +} +} +}, +"revision": "20240707", +"rootUrl": "https://acmedns.googleapis.com/", +"schemas": { +"AcmeChallengeSet": { +"description": "The up-to-date ACME challenge set on a domain for an RPC. This contains all of the ACME TXT records that exist on the domain.", +"id": "AcmeChallengeSet", +"properties": { +"record": { +"description": "The ACME challenges on the requested domain represented as individual TXT records.", +"items": { +"$ref": "AcmeTxtRecord" +}, +"type": "array" +} +}, +"type": "object" +}, +"AcmeTxtRecord": { +"description": "The TXT record message that represents an ACME DNS-01 challenge.", +"id": "AcmeTxtRecord", +"properties": { +"digest": { +"description": "Holds the ACME challenge data put in the TXT record. This will be checked to be a valid TXT record data entry.", +"type": "string" +}, +"fqdn": { +"description": "The domain/subdomain for the record. In a request, this MAY be Unicode or Punycode. In a response, this will be in Unicode. The fqdn MUST contain the root_domain field on the request.", +"type": "string" +}, +"updateTime": { +"description": "Output only. The time when this record was last updated. This will be in UTC time.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"RotateChallengesRequest": { +"description": "The request message for the RotateChallenges RPC. Requires an access token, a root domain, and either records_to_add or records_to_remove to be populated. Records may be set for multiple subdomains at once to support SAN requests for multiple subdomains in a single domain. By default, ACME TXT record challenges that are older than 30 days will be removed. Set `keep_expired_records` to false if this behavior is undesired. There is a record maximum of 100 records per domain including expired records. Any request sent that would exceed this maximum will result in a FAILED_PRECONDITION error. NEXT ID: 6", +"id": "RotateChallengesRequest", +"properties": { +"accessToken": { +"description": "Required. ACME DNS access token. This is a base64 token secret that is procured from the Google Domains website. It authorizes ACME TXT record updates for a domain.", +"format": "byte", +"type": "string" +}, +"keepExpiredRecords": { +"description": "Keep records older than 30 days that were used for previous requests.", +"type": "boolean" +}, +"recordsToAdd": { +"description": "ACME TXT record challenges to add. Supports multiple challenges on the same FQDN.", +"items": { +"$ref": "AcmeTxtRecord" +}, +"type": "array" +}, +"recordsToRemove": { +"description": "ACME TXT record challenges to remove.", +"items": { +"$ref": "AcmeTxtRecord" +}, +"type": "array" +} +}, +"type": "object" +} +}, +"servicePath": "", +"title": "ACME DNS API", +"version": "v1", +"version_module": true +} \ No newline at end of file diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/addressvalidation.v1.json b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/addressvalidation.v1.json new file mode 100644 index 0000000000000000000000000000000000000000..49dac9a4ce60fe98ceb0c5ffca16a6cc06dd33d2 --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/addressvalidation.v1.json @@ -0,0 +1,856 @@ +{ +"auth": { +"oauth2": { +"scopes": { +"https://www.googleapis.com/auth/cloud-platform": { +"description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." +}, +"https://www.googleapis.com/auth/maps-platform.addressvalidation": { +"description": "Private Service: https://www.googleapis.com/auth/maps-platform.addressvalidation" +} +} +} +}, +"basePath": "", +"baseUrl": "https://addressvalidation.googleapis.com/", +"batchPath": "batch", +"canonicalName": "Address Validation", +"description": "The Address Validation API allows developers to verify the accuracy of addresses. Given an address, it returns information about the correctness of the components of the parsed address, a geocode, and a verdict on the deliverability of the parsed address.", +"discoveryVersion": "v1", +"documentationLink": "https://developers.google.com/maps/documentation/addressvalidation", +"fullyEncodeReservedExpansion": true, +"icons": { +"x16": "http://www.google.com/images/icons/product/search-16.gif", +"x32": "http://www.google.com/images/icons/product/search-32.gif" +}, +"id": "addressvalidation:v1", +"kind": "discovery#restDescription", +"mtlsRootUrl": "https://addressvalidation.mtls.googleapis.com/", +"name": "addressvalidation", +"ownerDomain": "google.com", +"ownerName": "Google", +"parameters": { +"$.xgafv": { +"description": "V1 error format.", +"enum": [ +"1", +"2" +], +"enumDescriptions": [ +"v1 error format", +"v2 error format" +], +"location": "query", +"type": "string" +}, +"access_token": { +"description": "OAuth access token.", +"location": "query", +"type": "string" +}, +"alt": { +"default": "json", +"description": "Data format for response.", +"enum": [ +"json", +"media", +"proto" +], +"enumDescriptions": [ +"Responses with Content-Type of application/json", +"Media download with context-dependent Content-Type", +"Responses with Content-Type of application/x-protobuf" +], +"location": "query", +"type": "string" +}, +"callback": { +"description": "JSONP", +"location": "query", +"type": "string" +}, +"fields": { +"description": "Selector specifying which fields to include in a partial response.", +"location": "query", +"type": "string" +}, +"key": { +"description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", +"location": "query", +"type": "string" +}, +"oauth_token": { +"description": "OAuth 2.0 token for the current user.", +"location": "query", +"type": "string" +}, +"prettyPrint": { +"default": "true", +"description": "Returns response with indentations and line breaks.", +"location": "query", +"type": "boolean" +}, +"quotaUser": { +"description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.", +"location": "query", +"type": "string" +}, +"uploadType": { +"description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", +"location": "query", +"type": "string" +}, +"upload_protocol": { +"description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", +"location": "query", +"type": "string" +} +}, +"protocol": "rest", +"resources": { +"v1": { +"methods": { +"provideValidationFeedback": { +"description": "Feedback about the outcome of the sequence of validation attempts. This should be the last call made after a sequence of validation calls for the same address, and should be called once the transaction is concluded. This should only be sent once for the sequence of `ValidateAddress` requests needed to validate an address fully.", +"flatPath": "v1:provideValidationFeedback", +"httpMethod": "POST", +"id": "addressvalidation.provideValidationFeedback", +"parameterOrder": [], +"parameters": {}, +"path": "v1:provideValidationFeedback", +"request": { +"$ref": "GoogleMapsAddressvalidationV1ProvideValidationFeedbackRequest" +}, +"response": { +"$ref": "GoogleMapsAddressvalidationV1ProvideValidationFeedbackResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/maps-platform.addressvalidation" +] +}, +"validateAddress": { +"description": "Validates an address.", +"flatPath": "v1:validateAddress", +"httpMethod": "POST", +"id": "addressvalidation.validateAddress", +"parameterOrder": [], +"parameters": {}, +"path": "v1:validateAddress", +"request": { +"$ref": "GoogleMapsAddressvalidationV1ValidateAddressRequest" +}, +"response": { +"$ref": "GoogleMapsAddressvalidationV1ValidateAddressResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/maps-platform.addressvalidation" +] +} +} +} +}, +"revision": "20250618", +"rootUrl": "https://addressvalidation.googleapis.com/", +"schemas": { +"GoogleGeoTypeViewport": { +"description": "A latitude-longitude viewport, represented as two diagonally opposite `low` and `high` points. A viewport is considered a closed region, i.e. it includes its boundary. The latitude bounds must range between -90 to 90 degrees inclusive, and the longitude bounds must range between -180 to 180 degrees inclusive. Various cases include: - If `low` = `high`, the viewport consists of that single point. - If `low.longitude` > `high.longitude`, the longitude range is inverted (the viewport crosses the 180 degree longitude line). - If `low.longitude` = -180 degrees and `high.longitude` = 180 degrees, the viewport includes all longitudes. - If `low.longitude` = 180 degrees and `high.longitude` = -180 degrees, the longitude range is empty. - If `low.latitude` > `high.latitude`, the latitude range is empty. Both `low` and `high` must be populated, and the represented box cannot be empty (as specified by the definitions above). An empty viewport will result in an error. For example, this viewport fully encloses New York City: { \"low\": { \"latitude\": 40.477398, \"longitude\": -74.259087 }, \"high\": { \"latitude\": 40.91618, \"longitude\": -73.70018 } }", +"id": "GoogleGeoTypeViewport", +"properties": { +"high": { +"$ref": "GoogleTypeLatLng", +"description": "Required. The high point of the viewport." +}, +"low": { +"$ref": "GoogleTypeLatLng", +"description": "Required. The low point of the viewport." +} +}, +"type": "object" +}, +"GoogleMapsAddressvalidationV1Address": { +"description": "Details of the post-processed address. Post-processing includes correcting misspelled parts of the address, replacing incorrect parts, and inferring missing parts.", +"id": "GoogleMapsAddressvalidationV1Address", +"properties": { +"addressComponents": { +"description": "Unordered list. The individual address components of the formatted and corrected address, along with validation information. This provides information on the validation status of the individual components. Address components are not ordered in a particular way. Do not make any assumptions on the ordering of the address components in the list.", +"items": { +"$ref": "GoogleMapsAddressvalidationV1AddressComponent" +}, +"type": "array" +}, +"formattedAddress": { +"description": "The post-processed address, formatted as a single-line address following the address formatting rules of the region where the address is located. Note: the format of this address may not match the format of the address in the `postal_address` field. For example, the `postal_address` always represents the country as a 2 letter `region_code`, such as \"US\" or \"NZ\". By contrast, this field uses a longer form of the country name, such as \"USA\" or \"New Zealand\".", +"type": "string" +}, +"missingComponentTypes": { +"description": "The types of components that were expected to be present in a correctly formatted mailing address but were not found in the input AND could not be inferred. An example might be `['street_number', 'route']` for an input like \"Boulder, Colorado, 80301, USA\". The list of possible types can be found [here](https://developers.google.com/maps/documentation/geocoding/requests-geocoding#Types). **Note: you might see a missing component type when you think you've already supplied the missing component.** For example, this can happen when the input address contains the building name, but not the premise number. In the address \"\u6e0b\u8c37\u533a\u6e0b\u8c37\uff13\u4e01\u76ee\u3000Shibuya Stream\", the building name \"Shibuya Stream\" has the component type `premise`, but the premise number is missing, so `missing_component_types` will contain `premise`.", +"items": { +"type": "string" +}, +"type": "array" +}, +"postalAddress": { +"$ref": "GoogleTypePostalAddress", +"description": "The post-processed address represented as a postal address." +}, +"unconfirmedComponentTypes": { +"description": "The types of the components that are present in the `address_components` but could not be confirmed to be correct. This field is provided for the sake of convenience: its contents are equivalent to iterating through the `address_components` to find the types of all the components where the confirmation_level is not CONFIRMED or the inferred flag is not set to `true`. The list of possible types can be found [here](https://developers.google.com/maps/documentation/geocoding/requests-geocoding#Types).", +"items": { +"type": "string" +}, +"type": "array" +}, +"unresolvedTokens": { +"description": "Any tokens in the input that could not be resolved. This might be an input that was not recognized as a valid part of an address. For example, for an input such as \"Parcel 0000123123 & 0000456456 Str # Guthrie Center IA 50115 US\", the unresolved tokens might look like `[\"Parcel\", \"0000123123\", \"&\", \"0000456456\"]`.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleMapsAddressvalidationV1AddressComponent": { +"description": "Represents an address component, such as a street, city, or state.", +"id": "GoogleMapsAddressvalidationV1AddressComponent", +"properties": { +"componentName": { +"$ref": "GoogleMapsAddressvalidationV1ComponentName", +"description": "The name for this component." +}, +"componentType": { +"description": "The type of the address component. See [Table 2: Additional types returned by the Places service](https://developers.google.com/places/web-service/supported_types#table2) for a list of possible types.", +"type": "string" +}, +"confirmationLevel": { +"description": "Indicates the level of certainty that we have that the component is correct.", +"enum": [ +"CONFIRMATION_LEVEL_UNSPECIFIED", +"CONFIRMED", +"UNCONFIRMED_BUT_PLAUSIBLE", +"UNCONFIRMED_AND_SUSPICIOUS" +], +"enumDescriptions": [ +"Default value. This value is unused.", +"We were able to verify that this component exists and makes sense in the context of the rest of the address.", +"This component could not be confirmed, but it is plausible that it exists. For example, a street number within a known valid range of numbers on a street where specific house numbers are not known.", +"This component was not confirmed and is likely to be wrong. For example, a neighborhood that does not fit the rest of the address." +], +"type": "string" +}, +"inferred": { +"description": "Indicates that the component was not part of the input, but we inferred it for the address location and believe it should be provided for a complete address.", +"type": "boolean" +}, +"replaced": { +"description": "Indicates the name of the component was replaced with a completely different one, for example a wrong postal code being replaced with one that is correct for the address. This is not a cosmetic change, the input component has been changed to a different one.", +"type": "boolean" +}, +"spellCorrected": { +"description": "Indicates a correction to a misspelling in the component name. The API does not always flag changes from one spelling variant to another, such as when changing \"centre\" to \"center\". It also does not always flag common misspellings, such as when changing \"Amphitheater Pkwy\" to \"Amphitheatre Pkwy\".", +"type": "boolean" +}, +"unexpected": { +"description": "Indicates an address component that is not expected to be present in a postal address for the given region. We have retained it only because it was part of the input.", +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleMapsAddressvalidationV1AddressMetadata": { +"description": "The metadata for the post-processed address. `metadata` is not guaranteed to be fully populated for every address sent to the Address Validation API.", +"id": "GoogleMapsAddressvalidationV1AddressMetadata", +"properties": { +"business": { +"description": "Indicates that this is the address of a business. If unset, indicates that the value is unknown.", +"type": "boolean" +}, +"poBox": { +"description": "Indicates that the address of a PO box. If unset, indicates that the value is unknown.", +"type": "boolean" +}, +"residential": { +"description": "Indicates that this is the address of a residence. If unset, indicates that the value is unknown.", +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleMapsAddressvalidationV1ComponentName": { +"description": "A wrapper for the name of the component.", +"id": "GoogleMapsAddressvalidationV1ComponentName", +"properties": { +"languageCode": { +"description": "The BCP-47 language code. This will not be present if the component name is not associated with a language, such as a street number.", +"type": "string" +}, +"text": { +"description": "The name text. For example, \"5th Avenue\" for a street name or \"1253\" for a street number.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleMapsAddressvalidationV1Geocode": { +"description": "Contains information about the place the input was geocoded to.", +"id": "GoogleMapsAddressvalidationV1Geocode", +"properties": { +"bounds": { +"$ref": "GoogleGeoTypeViewport", +"description": "The bounds of the geocoded place." +}, +"featureSizeMeters": { +"description": "The size of the geocoded place, in meters. This is another measure of the coarseness of the geocoded location, but in physical size rather than in semantic meaning.", +"format": "float", +"type": "number" +}, +"location": { +"$ref": "GoogleTypeLatLng", +"description": "The geocoded location of the input. Using place IDs is preferred over using addresses, latitude/longitude coordinates, or plus codes. Using coordinates when routing or calculating driving directions will always result in the point being snapped to the road nearest to those coordinates. This may not be a road that will quickly or safely lead to the destination and may not be near an access point to the property. Additionally, when a location is reverse geocoded, there is no guarantee that the returned address will match the original." +}, +"placeId": { +"description": "The PlaceID of the place this input geocodes to. For more information about Place IDs see [here](https://developers.google.com/maps/documentation/places/web-service/place-id).", +"type": "string" +}, +"placeTypes": { +"description": "The type(s) of place that the input geocoded to. For example, `['locality', 'political']`. The full list of types can be found [here](https://developers.google.com/maps/documentation/geocoding/requests-geocoding#Types).", +"items": { +"type": "string" +}, +"type": "array" +}, +"plusCode": { +"$ref": "GoogleMapsAddressvalidationV1PlusCode", +"description": "The plus code corresponding to the `location`." +} +}, +"type": "object" +}, +"GoogleMapsAddressvalidationV1LanguageOptions": { +"description": "Preview: This feature is in Preview (pre-GA). Pre-GA products and features might have limited support, and changes to pre-GA products and features might not be compatible with other pre-GA versions. Pre-GA Offerings are covered by the [Google Maps Platform Service Specific Terms](https://cloud.google.com/maps-platform/terms/maps-service-terms). For more information, see the [launch stage descriptions](https://developers.google.com/maps/launch-stages). Enables the Address Validation API to include additional information in the response.", +"id": "GoogleMapsAddressvalidationV1LanguageOptions", +"properties": { +"returnEnglishLatinAddress": { +"description": "Preview: Return a [google.maps.addressvalidation.v1.Address] in English. See [google.maps.addressvalidation.v1.ValidationResult.english_latin_address] for details.", +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleMapsAddressvalidationV1PlusCode": { +"description": "Plus code (http://plus.codes) is a location reference with two formats: global code defining a 14mx14m (1/8000th of a degree) or smaller rectangle, and compound code, replacing the prefix with a reference location.", +"id": "GoogleMapsAddressvalidationV1PlusCode", +"properties": { +"compoundCode": { +"description": "Place's compound code, such as \"33GV+HQ, Ramberg, Norway\", containing the suffix of the global code and replacing the prefix with a formatted name of a reference entity.", +"type": "string" +}, +"globalCode": { +"description": "Place's global (full) code, such as \"9FWM33GV+HQ\", representing an 1/8000 by 1/8000 degree area (~14 by 14 meters).", +"type": "string" +} +}, +"type": "object" +}, +"GoogleMapsAddressvalidationV1ProvideValidationFeedbackRequest": { +"description": "The request for sending validation feedback.", +"id": "GoogleMapsAddressvalidationV1ProvideValidationFeedbackRequest", +"properties": { +"conclusion": { +"description": "Required. The outcome of the sequence of validation attempts. If this field is set to `VALIDATION_CONCLUSION_UNSPECIFIED`, an `INVALID_ARGUMENT` error will be returned.", +"enum": [ +"VALIDATION_CONCLUSION_UNSPECIFIED", +"VALIDATED_VERSION_USED", +"USER_VERSION_USED", +"UNVALIDATED_VERSION_USED", +"UNUSED" +], +"enumDescriptions": [ +"This value is unused. If the `ProvideValidationFeedbackRequest.conclusion` field is set to `VALIDATION_CONCLUSION_UNSPECIFIED`, an `INVALID_ARGUMENT` error will be returned.", +"The version of the address returned by the Address Validation API was used for the transaction.", +"The version of the address provided by the user was used for the transaction", +"A version of the address that was entered after the last validation attempt but that was not re-validated was used for the transaction.", +"The transaction was abandoned and the address was not used." +], +"type": "string" +}, +"responseId": { +"description": "Required. The ID of the response that this feedback is for. This should be the response_id from the first response in a series of address validation attempts.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleMapsAddressvalidationV1ProvideValidationFeedbackResponse": { +"description": "The response for validation feedback. The response is empty if the feedback is sent successfully.", +"id": "GoogleMapsAddressvalidationV1ProvideValidationFeedbackResponse", +"properties": {}, +"type": "object" +}, +"GoogleMapsAddressvalidationV1UspsAddress": { +"description": "USPS representation of a US address.", +"id": "GoogleMapsAddressvalidationV1UspsAddress", +"properties": { +"city": { +"description": "City name.", +"type": "string" +}, +"cityStateZipAddressLine": { +"description": "City + state + postal code.", +"type": "string" +}, +"firm": { +"description": "Firm name.", +"type": "string" +}, +"firstAddressLine": { +"description": "First address line.", +"type": "string" +}, +"secondAddressLine": { +"description": "Second address line.", +"type": "string" +}, +"state": { +"description": "2 letter state code.", +"type": "string" +}, +"urbanization": { +"description": "Puerto Rican urbanization name.", +"type": "string" +}, +"zipCode": { +"description": "Postal code e.g. 10009.", +"type": "string" +}, +"zipCodeExtension": { +"description": "4-digit postal code extension e.g. 5023.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleMapsAddressvalidationV1UspsData": { +"description": "The USPS data for the address. `uspsData` is not guaranteed to be fully populated for every US or PR address sent to the Address Validation API. It's recommended to integrate the backup address fields in the response if you utilize uspsData as the primary part of the response.", +"id": "GoogleMapsAddressvalidationV1UspsData", +"properties": { +"abbreviatedCity": { +"description": "Abbreviated city.", +"type": "string" +}, +"addressRecordType": { +"description": "Type of the address record that matches the input address. * `F`: FIRM. This is a match to a Firm Record, which is the finest level of match available for an address. * `G`: GENERAL DELIVERY. This is a match to a General Delivery record. * `H`: BUILDING / APARTMENT. This is a match to a Building or Apartment record. * `P`: POST OFFICE BOX. This is a match to a Post Office Box. * `R`: RURAL ROUTE or HIGHWAY CONTRACT: This is a match to either a Rural Route or a Highway Contract record, both of which may have associated Box Number ranges. * `S`: STREET RECORD: This is a match to a Street record containing a valid primary number range.", +"type": "string" +}, +"carrierRoute": { +"description": "The carrier route code. A four character code consisting of a one letter prefix and a three digit route designator. Prefixes: * `C`: Carrier route (or city route) * `R`: Rural route * `H`: Highway Contract Route * `B`: Post Office Box Section * `G`: General delivery unit", +"type": "string" +}, +"carrierRouteIndicator": { +"description": "Carrier route rate sort indicator.", +"type": "string" +}, +"cassProcessed": { +"description": "Indicator that the request has been CASS processed.", +"type": "boolean" +}, +"county": { +"description": "County name.", +"type": "string" +}, +"defaultAddress": { +"description": "Indicator that a default address was found, but more specific addresses exists.", +"type": "boolean" +}, +"deliveryPointCheckDigit": { +"description": "The delivery point check digit. This number is added to the end of the delivery_point_barcode for mechanically scanned mail. Adding all the digits of the delivery_point_barcode, delivery_point_check_digit, postal code, and ZIP+4 together should yield a number divisible by 10.", +"type": "string" +}, +"deliveryPointCode": { +"description": "2 digit delivery point code", +"type": "string" +}, +"dpvCmra": { +"description": "Indicates if the address is a CMRA (Commercial Mail Receiving Agency)--a private business receiving mail for clients. Returns a single character. * `Y`: The address is a CMRA * `N`: The address is not a CMRA", +"type": "string" +}, +"dpvConfirmation": { +"description": "The possible values for DPV confirmation. Returns a single character or returns no value. * `N`: Primary and any secondary number information failed to DPV confirm. * `D`: Address was DPV confirmed for the primary number only, and the secondary number information was missing. * `S`: Address was DPV confirmed for the primary number only, and the secondary number information was present but not confirmed. * `Y`: Address was DPV confirmed for primary and any secondary numbers. * Empty: If the response does not contain a `dpv_confirmation` value, the address was not submitted for DPV confirmation.", +"type": "string" +}, +"dpvDoorNotAccessible": { +"description": "Flag indicates addresses where USPS cannot knock on a door to deliver mail. Returns a single character. * `Y`: The door is not accessible. * `N`: No indication the door is not accessible.", +"type": "string" +}, +"dpvDrop": { +"description": "Flag indicates mail is delivered to a single receptable at a site. Returns a single character. * `Y`: The mail is delivered to a single receptable at a site. * `N`: The mail is not delivered to a single receptable at a site.", +"type": "string" +}, +"dpvEnhancedDeliveryCode": { +"description": "Indicates that more than one DPV return code is valid for the address. Returns a single character. * `Y`: Address was DPV confirmed for primary and any secondary numbers. * `N`: Primary and any secondary number information failed to DPV confirm. * `S`: Address was DPV confirmed for the primary number only, and the secondary number information was present but not confirmed, or a single trailing alpha on a primary number was dropped to make a DPV match and secondary information required. * `D`: Address was DPV confirmed for the primary number only, and the secondary number information was missing. * `R`: Address confirmed but assigned to phantom route R777 and R779 and USPS delivery is not provided.", +"type": "string" +}, +"dpvFootnote": { +"description": "The footnotes from delivery point validation. Multiple footnotes may be strung together in the same string. * `AA`: Input address matched to the ZIP+4 file * `A1`: Input address was not matched to the ZIP+4 file * `BB`: Matched to DPV (all components) * `CC`: Secondary number not matched and not required * `C1`: Secondary number not matched but required * `N1`: High-rise address missing secondary number * `M1`: Primary number missing * `M3`: Primary number invalid * `P1`: Input address PO, RR or HC box number missing * `P3`: Input address PO, RR, or HC Box number invalid * `F1`: Input address matched to a military address * `G1`: Input address matched to a general delivery address * `U1`: Input address matched to a unique ZIP code * `PB`: Input address matched to PBSA record * `RR`: DPV confirmed address with PMB information * `R1`: DPV confirmed address without PMB information * `R7`: Carrier Route R777 or R779 record * `IA`: Informed Address identified * `TA`: Primary number matched by dropping a trailing alpha", +"type": "string" +}, +"dpvNoSecureLocation": { +"description": "Flag indicates door is accessible, but package will not be left due to security concerns. Returns a single character. * `Y`: The package will not be left due to security concerns. * `N`: No indication the package will not be left due to security concerns.", +"type": "string" +}, +"dpvNoStat": { +"description": "Is this a no stat address or an active address? No stat addresses are ones which are not continuously occupied or addresses that the USPS does not service. Returns a single character. * `Y`: The address is not active * `N`: The address is active", +"type": "string" +}, +"dpvNoStatReasonCode": { +"description": "Indicates the NoStat type. Returns a reason code as int. * `1`: IDA (Internal Drop Address) \u2013 Addresses that do not receive mail directly from the USPS but are delivered to a drop address that services them. * `2`: CDS - Addresses that have not yet become deliverable. For example, a new subdivision where lots and primary numbers have been determined, but no structure exists yet for occupancy. * `3`: Collision - Addresses that do not actually DPV confirm. * `4`: CMZ (College, Military and Other Types) - ZIP + 4 records USPS has incorporated into the data. * `5`: Regular - Indicates addresses not receiving delivery and the addresses are not counted as possible deliveries. * `6`: Secondary Required - The address requires secondary information.", +"format": "int32", +"type": "integer" +}, +"dpvNonDeliveryDays": { +"description": "Flag indicates mail delivery is not performed every day of the week. Returns a single character. * `Y`: The mail delivery is not performed every day of the week. * `N`: No indication the mail delivery is not performed every day of the week.", +"type": "string" +}, +"dpvNonDeliveryDaysValues": { +"description": "Integer identifying non-delivery days. It can be interrogated using bit flags: 0x40 \u2013 Sunday is a non-delivery day 0x20 \u2013 Monday is a non-delivery day 0x10 \u2013 Tuesday is a non-delivery day 0x08 \u2013 Wednesday is a non-delivery day 0x04 \u2013 Thursday is a non-delivery day 0x02 \u2013 Friday is a non-delivery day 0x01 \u2013 Saturday is a non-delivery day", +"format": "int32", +"type": "integer" +}, +"dpvPbsa": { +"description": "Indicates the address was matched to PBSA record. Returns a single character. * `Y`: The address was matched to PBSA record. * `N`: The address was not matched to PBSA record.", +"type": "string" +}, +"dpvThrowback": { +"description": "Indicates that mail is not delivered to the street address. Returns a single character. * `Y`: The mail is not delivered to the street address. * `N`: The mail is delivered to the street address.", +"type": "string" +}, +"dpvVacant": { +"description": "Is this place vacant? Returns a single character. * `Y`: The address is vacant * `N`: The address is not vacant", +"type": "string" +}, +"elotFlag": { +"description": "eLOT Ascending/Descending Flag (A/D).", +"type": "string" +}, +"elotNumber": { +"description": "Enhanced Line of Travel (eLOT) number.", +"type": "string" +}, +"errorMessage": { +"description": "Error message for USPS data retrieval. This is populated when USPS processing is suspended because of the detection of artificially created addresses. The USPS data fields might not be populated when this error is present.", +"type": "string" +}, +"ewsNoMatch": { +"description": "The delivery address is matchable, but the EWS file indicates that an exact match will be available soon.", +"type": "boolean" +}, +"fipsCountyCode": { +"description": "FIPS county code.", +"type": "string" +}, +"lacsLinkIndicator": { +"description": "LACSLink indicator.", +"type": "string" +}, +"lacsLinkReturnCode": { +"description": "LACSLink return code.", +"type": "string" +}, +"pmbDesignator": { +"description": "PMB (Private Mail Box) unit designator.", +"type": "string" +}, +"pmbNumber": { +"description": "PMB (Private Mail Box) number;", +"type": "string" +}, +"poBoxOnlyPostalCode": { +"description": "PO Box only postal code.", +"type": "boolean" +}, +"postOfficeCity": { +"description": "Main post office city.", +"type": "string" +}, +"postOfficeState": { +"description": "Main post office state.", +"type": "string" +}, +"standardizedAddress": { +"$ref": "GoogleMapsAddressvalidationV1UspsAddress", +"description": "USPS standardized address." +}, +"suitelinkFootnote": { +"description": "Footnotes from matching a street or highrise record to suite information. If business name match is found, the secondary number is returned. * `A`: SuiteLink record match, business address improved. * `00`: No match, business address is not improved.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleMapsAddressvalidationV1ValidateAddressRequest": { +"description": "The request for validating an address.", +"id": "GoogleMapsAddressvalidationV1ValidateAddressRequest", +"properties": { +"address": { +"$ref": "GoogleTypePostalAddress", +"description": "Required. The address being validated. Unformatted addresses should be submitted via `address_lines`. The total length of the fields in this input must not exceed 280 characters. Supported regions can be found [here](https://developers.google.com/maps/documentation/address-validation/coverage). The language_code value in the input address is reserved for future uses and is ignored today. The validated address result will be populated based on the preferred language for the given address, as identified by the system. The Address Validation API ignores the values in recipients and organization. Any values in those fields will be discarded and not returned. Please do not set them." +}, +"enableUspsCass": { +"description": "Enables USPS CASS compatible mode. This affects _only_ the [google.maps.addressvalidation.v1.ValidationResult.usps_data] field of [google.maps.addressvalidation.v1.ValidationResult]. Note: for USPS CASS enabled requests for addresses in Puerto Rico, a [google.type.PostalAddress.region_code] of the `address` must be provided as \"PR\", or an [google.type.PostalAddress.administrative_area] of the `address` must be provided as \"Puerto Rico\" (case-insensitive) or \"PR\". It's recommended to use a componentized `address`, or alternatively specify at least two [google.type.PostalAddress.address_lines] where the first line contains the street number and name and the second line contains the city, state, and zip code.", +"type": "boolean" +}, +"languageOptions": { +"$ref": "GoogleMapsAddressvalidationV1LanguageOptions", +"description": "Optional. Preview: This feature is in Preview (pre-GA). Pre-GA products and features might have limited support, and changes to pre-GA products and features might not be compatible with other pre-GA versions. Pre-GA Offerings are covered by the [Google Maps Platform Service Specific Terms](https://cloud.google.com/maps-platform/terms/maps-service-terms). For more information, see the [launch stage descriptions](https://developers.google.com/maps/launch-stages). Enables the Address Validation API to include additional information in the response." +}, +"previousResponseId": { +"description": "This field must be empty for the first address validation request. If more requests are necessary to fully validate a single address (for example if the changes the user makes after the initial validation need to be re-validated), then each followup request must populate this field with the response_id from the very first response in the validation sequence.", +"type": "string" +}, +"sessionToken": { +"description": "Optional. A string which identifies an Autocomplete session for billing purposes. Must be a URL and filename safe base64 string with at most 36 ASCII characters in length. Otherwise an INVALID_ARGUMENT error is returned. The session begins when the user makes an Autocomplete query, and concludes when they select a place and a call to Place Details or Address Validation is made. Each session can have multiple Autocomplete queries, followed by one Place Details or Address Validation request. The credentials used for each request within a session must belong to the same Google Cloud Console project. Once a session has concluded, the token is no longer valid; your app must generate a fresh token for each session. If the `sessionToken` parameter is omitted, or if you reuse a session token, the session is charged as if no session token was provided (each request is billed separately). Note: Address Validation can only be used in sessions with the Autocomplete (New) API, not the Autocomplete API. See https://developers.google.com/maps/documentation/places/web-service/session-pricing for more details.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleMapsAddressvalidationV1ValidateAddressResponse": { +"description": "The response to an address validation request.", +"id": "GoogleMapsAddressvalidationV1ValidateAddressResponse", +"properties": { +"responseId": { +"description": "The UUID that identifies this response. If the address needs to be re-validated, this UUID *must* accompany the new request.", +"type": "string" +}, +"result": { +"$ref": "GoogleMapsAddressvalidationV1ValidationResult", +"description": "The result of the address validation." +} +}, +"type": "object" +}, +"GoogleMapsAddressvalidationV1ValidationResult": { +"description": "The result of validating an address.", +"id": "GoogleMapsAddressvalidationV1ValidationResult", +"properties": { +"address": { +"$ref": "GoogleMapsAddressvalidationV1Address", +"description": "Information about the address itself as opposed to the geocode." +}, +"englishLatinAddress": { +"$ref": "GoogleMapsAddressvalidationV1Address", +"description": "Preview: This feature is in Preview (pre-GA). Pre-GA products and features might have limited support, and changes to pre-GA products and features might not be compatible with other pre-GA versions. Pre-GA Offerings are covered by the [Google Maps Platform Service Specific Terms](https://cloud.google.com/maps-platform/terms/maps-service-terms). For more information, see the [launch stage descriptions](https://developers.google.com/maps/launch-stages). The address translated to English. Translated addresses are not reusable as API input. The service provides them so that the user can use their native language to confirm or deny the validation of the originally-provided address. If part of the address doesn't have an English translation, the service returns that part in an alternate language that uses a Latin script. See [here](https://developers.google.com/maps/documentation/address-validation/convert-addresses-english) for an explanation of how the alternate language is selected. If part of the address doesn't have any translations or transliterations in a language that uses a Latin script, the service returns that part in the local language associated with the address. Enable this output by using the [google.maps.addressvalidation.v1.LanguageOptions.return_english_latin_address] flag. Note: the [google.maps.addressvalidation.v1.Address.unconfirmed_component_types] field in the `english_latin_address` and the [google.maps.addressvalidation.v1.AddressComponent.confirmation_level] fields in `english_latin_address.address_components` are not populated." +}, +"geocode": { +"$ref": "GoogleMapsAddressvalidationV1Geocode", +"description": "Information about the location and place that the address geocoded to." +}, +"metadata": { +"$ref": "GoogleMapsAddressvalidationV1AddressMetadata", +"description": "Other information relevant to deliverability. `metadata` is not guaranteed to be fully populated for every address sent to the Address Validation API." +}, +"uspsData": { +"$ref": "GoogleMapsAddressvalidationV1UspsData", +"description": "Extra deliverability flags provided by USPS. Only provided in region `US` and `PR`." +}, +"verdict": { +"$ref": "GoogleMapsAddressvalidationV1Verdict", +"description": "Overall verdict flags" +} +}, +"type": "object" +}, +"GoogleMapsAddressvalidationV1Verdict": { +"description": "High level overview of the address validation result and geocode.", +"id": "GoogleMapsAddressvalidationV1Verdict", +"properties": { +"addressComplete": { +"description": "The post-processed address is considered complete if there are no unresolved tokens, no unexpected or missing address components. If unset, indicates that the value is `false`. See `missing_component_types`, `unresolved_tokens` or `unexpected` fields for more details.", +"type": "boolean" +}, +"geocodeGranularity": { +"description": "Information about the granularity of the `geocode`. This can be understood as the semantic meaning of how coarse or fine the geocoded location is. This can differ from the `validation_granularity` above occasionally. For example, our database might record the existence of an apartment number but do not have a precise location for the apartment within a big apartment complex. In that case, the `validation_granularity` will be `SUB_PREMISE` but the `geocode_granularity` will be `PREMISE`.", +"enum": [ +"GRANULARITY_UNSPECIFIED", +"SUB_PREMISE", +"PREMISE", +"PREMISE_PROXIMITY", +"BLOCK", +"ROUTE", +"OTHER" +], +"enumDescriptions": [ +"Default value. This value is unused.", +"Below-building level result, such as an apartment.", +"Building-level result.", +"A geocode that approximates the building-level location of the address.", +"The address or geocode indicates a block. Only used in regions which have block-level addressing, such as Japan.", +"The geocode or address is granular to route, such as a street, road, or highway.", +"All other granularities, which are bucketed together since they are not deliverable." +], +"type": "string" +}, +"hasInferredComponents": { +"description": "At least one address component was inferred (added) that wasn't in the input, see [google.maps.addressvalidation.v1.Address.address_components] for details.", +"type": "boolean" +}, +"hasReplacedComponents": { +"description": "At least one address component was replaced, see [google.maps.addressvalidation.v1.Address.address_components] for details.", +"type": "boolean" +}, +"hasSpellCorrectedComponents": { +"description": "At least one address component was spell-corrected, see [google.maps.addressvalidation.v1.Address.address_components] for details.", +"type": "boolean" +}, +"hasUnconfirmedComponents": { +"description": "At least one address component cannot be categorized or validated, see [google.maps.addressvalidation.v1.Address.address_components] for details.", +"type": "boolean" +}, +"inputGranularity": { +"description": "The granularity of the **input** address. This is the result of parsing the input address and does not give any validation signals. For validation signals, refer to `validation_granularity` below. For example, if the input address includes a specific apartment number, then the `input_granularity` here will be `SUB_PREMISE`. If the address validation service cannot match the apartment number in the databases or the apartment number is invalid, the `validation_granularity` will likely be `PREMISE` or more coarse.", +"enum": [ +"GRANULARITY_UNSPECIFIED", +"SUB_PREMISE", +"PREMISE", +"PREMISE_PROXIMITY", +"BLOCK", +"ROUTE", +"OTHER" +], +"enumDescriptions": [ +"Default value. This value is unused.", +"Below-building level result, such as an apartment.", +"Building-level result.", +"A geocode that approximates the building-level location of the address.", +"The address or geocode indicates a block. Only used in regions which have block-level addressing, such as Japan.", +"The geocode or address is granular to route, such as a street, road, or highway.", +"All other granularities, which are bucketed together since they are not deliverable." +], +"type": "string" +}, +"possibleNextAction": { +"description": "Preview: This feature is in Preview (pre-GA). Pre-GA products and features might have limited support, and changes to pre-GA products and features might not be compatible with other pre-GA versions. Pre-GA Offerings are covered by the [Google Maps Platform Service Specific Terms](https://cloud.google.com/maps-platform/terms/maps-service-terms). For more information, see the [launch stage descriptions](https://developers.google.com/maps/launch-stages). Offers an interpretive summary of the API response, intended to assist in determining a potential subsequent action to take. This field is derived from other fields in the API response and should not be considered as a guarantee of address accuracy or deliverability. See [Build your validation logic](https://developers.google.com/maps/documentation/address-validation/build-validation-logic) for more details.", +"enum": [ +"POSSIBLE_NEXT_ACTION_UNSPECIFIED", +"FIX", +"CONFIRM_ADD_SUBPREMISES", +"CONFIRM", +"ACCEPT" +], +"enumDescriptions": [ +"Default value. This value is unused.", +"One or more fields of the API response indicate a potential issue with the post-processed address, for example the `verdict.validation_granularity` is `OTHER`. Prompting your customer to edit the address could help improve the quality of the address.", +"The API response indicates the post-processed address might be missing a subpremises. Prompting your customer to review the address and consider adding a unit number could help improve the quality of the address. The post-processed address might also have other minor issues. Note: this enum value can only be returned for US addresses.", +"One or more fields of the API response indicate potential minor issues with the post-processed address, for example the `postal_code` address component was `replaced`. Prompting your customer to review the address could help improve the quality of the address.", +"The API response does not contain signals that warrant one of the other PossibleNextAction values. You might consider using the post-processed address without further prompting your customer, though this does not guarantee the address is valid, and the address might still contain corrections. It is your responsibility to determine if and how to prompt your customer, depending on your own risk assessment." +], +"type": "string" +}, +"validationGranularity": { +"description": "The level of granularity for the post-processed address that the API can fully validate. For example, a `validation_granularity` of `PREMISE` indicates all address components at the level of `PREMISE` or more coarse can be validated. Per address component validation result can be found in [google.maps.addressvalidation.v1.Address.address_components].", +"enum": [ +"GRANULARITY_UNSPECIFIED", +"SUB_PREMISE", +"PREMISE", +"PREMISE_PROXIMITY", +"BLOCK", +"ROUTE", +"OTHER" +], +"enumDescriptions": [ +"Default value. This value is unused.", +"Below-building level result, such as an apartment.", +"Building-level result.", +"A geocode that approximates the building-level location of the address.", +"The address or geocode indicates a block. Only used in regions which have block-level addressing, such as Japan.", +"The geocode or address is granular to route, such as a street, road, or highway.", +"All other granularities, which are bucketed together since they are not deliverable." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleTypeLatLng": { +"description": "An object that represents a latitude/longitude pair. This is expressed as a pair of doubles to represent degrees latitude and degrees longitude. Unless specified otherwise, this object must conform to the WGS84 standard. Values must be within normalized ranges.", +"id": "GoogleTypeLatLng", +"properties": { +"latitude": { +"description": "The latitude in degrees. It must be in the range [-90.0, +90.0].", +"format": "double", +"type": "number" +}, +"longitude": { +"description": "The longitude in degrees. It must be in the range [-180.0, +180.0].", +"format": "double", +"type": "number" +} +}, +"type": "object" +}, +"GoogleTypePostalAddress": { +"description": "Represents a postal address, such as for postal delivery or payments addresses. With a postal address, a postal service can deliver items to a premise, P.O. box, or similar. A postal address is not intended to model geographical locations like roads, towns, or mountains. In typical usage, an address would be created by user input or from importing existing data, depending on the type of process. Advice on address input or editing: - Use an internationalization-ready address widget such as https://github.com/google/libaddressinput. - Users should not be presented with UI elements for input or editing of fields outside countries where that field is used. For more guidance on how to use this schema, see: https://support.google.com/business/answer/6397478.", +"id": "GoogleTypePostalAddress", +"properties": { +"addressLines": { +"description": "Unstructured address lines describing the lower levels of an address. Because values in `address_lines` do not have type information and may sometimes contain multiple values in a single field (for example, \"Austin, TX\"), it is important that the line order is clear. The order of address lines should be \"envelope order\" for the country or region of the address. In places where this can vary (for example, Japan), `address_language` is used to make it explicit (for example, \"ja\" for large-to-small ordering and \"ja-Latn\" or \"en\" for small-to-large). In this way, the most specific line of an address can be selected based on the language. The minimum permitted structural representation of an address consists of a `region_code` with all remaining information placed in the `address_lines`. It would be possible to format such an address very approximately without geocoding, but no semantic reasoning could be made about any of the address components until it was at least partially resolved. Creating an address only containing a `region_code` and `address_lines` and then geocoding is the recommended way to handle completely unstructured addresses (as opposed to guessing which parts of the address should be localities or administrative areas).", +"items": { +"type": "string" +}, +"type": "array" +}, +"administrativeArea": { +"description": "Optional. Highest administrative subdivision which is used for postal addresses of a country or region. For example, this can be a state, a province, an oblast, or a prefecture. For Spain, this is the province and not the autonomous community (for example, \"Barcelona\" and not \"Catalonia\"). Many countries don't use an administrative area in postal addresses. For example, in Switzerland, this should be left unpopulated.", +"type": "string" +}, +"languageCode": { +"description": "Optional. BCP-47 language code of the contents of this address (if known). This is often the UI language of the input form or is expected to match one of the languages used in the address' country/region, or their transliterated equivalents. This can affect formatting in certain countries, but is not critical to the correctness of the data and will never affect any validation or other non-formatting related operations. If this value is not known, it should be omitted (rather than specifying a possibly incorrect default). Examples: \"zh-Hant\", \"ja\", \"ja-Latn\", \"en\".", +"type": "string" +}, +"locality": { +"description": "Optional. Generally refers to the city or town portion of the address. Examples: US city, IT comune, UK post town. In regions of the world where localities are not well defined or do not fit into this structure well, leave `locality` empty and use `address_lines`.", +"type": "string" +}, +"organization": { +"description": "Optional. The name of the organization at the address.", +"type": "string" +}, +"postalCode": { +"description": "Optional. Postal code of the address. Not all countries use or require postal codes to be present, but where they are used, they may trigger additional validation with other parts of the address (for example, state or zip code validation in the United States).", +"type": "string" +}, +"recipients": { +"description": "Optional. The recipient at the address. This field may, under certain circumstances, contain multiline information. For example, it might contain \"care of\" information.", +"items": { +"type": "string" +}, +"type": "array" +}, +"regionCode": { +"description": "Required. CLDR region code of the country/region of the address. This is never inferred and it is up to the user to ensure the value is correct. See https://cldr.unicode.org/ and https://www.unicode.org/cldr/charts/30/supplemental/territory_information.html for details. Example: \"CH\" for Switzerland.", +"type": "string" +}, +"revision": { +"description": "The schema revision of the `PostalAddress`. This must be set to 0, which is the latest revision. All new revisions **must** be backward compatible with old revisions.", +"format": "int32", +"type": "integer" +}, +"sortingCode": { +"description": "Optional. Additional, country-specific, sorting code. This is not used in most regions. Where it is used, the value is either a string like \"CEDEX\", optionally followed by a number (for example, \"CEDEX 7\"), or just a number alone, representing the \"sector code\" (Jamaica), \"delivery area indicator\" (Malawi) or \"post office indicator\" (C\u00f4te d'Ivoire).", +"type": "string" +}, +"sublocality": { +"description": "Optional. Sublocality of the address. For example, this can be a neighborhood, borough, or district.", +"type": "string" +} +}, +"type": "object" +} +}, +"servicePath": "", +"title": "Address Validation API", +"version": "v1", +"version_module": true +} \ No newline at end of file diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/adexchangebuyer.v1.4.json b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/adexchangebuyer.v1.4.json new file mode 100644 index 0000000000000000000000000000000000000000..90eddb8aa61d708dfd2d74e494c257157a56f1dc --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/adexchangebuyer.v1.4.json @@ -0,0 +1,3752 @@ +{ + "auth": { + "oauth2": { + "scopes": { + "https://www.googleapis.com/auth/adexchange.buyer": { + "description": "Manage your Ad Exchange buyer account configuration" + } + } + } + }, + "basePath": "/adexchangebuyer/v1.4/", + "baseUrl": "https://www.googleapis.com/adexchangebuyer/v1.4/", + "batchPath": "batch/adexchangebuyer/v1.4", + "canonicalName": "Ad Exchange Buyer", + "description": "Accesses your bidding-account information, submits creatives for validation, finds available direct deals, and retrieves performance reports.", + "discoveryVersion": "v1", + "documentationLink": "https://developers.google.com/ad-exchange/buyer-rest", + "etag": "\"uWj2hSb4GVjzdDlAnRd2gbM1ZQ8/28H_ClrLhezfMe9hzMrqdyiMlfE\"", + "icons": { + "x16": "https://www.google.com/images/icons/product/doubleclick-16.gif", + "x32": "https://www.google.com/images/icons/product/doubleclick-32.gif" + }, + "id": "adexchangebuyer:v1.4", + "kind": "discovery#restDescription", + "name": "adexchangebuyer", + "ownerDomain": "google.com", + "ownerName": "Google", + "parameters": { + "alt": { + "default": "json", + "description": "Data format for the response.", + "enum": [ + "json" + ], + "enumDescriptions": [ + "Responses with Content-Type of application/json" + ], + "location": "query", + "type": "string" + }, + "fields": { + "description": "Selector specifying which fields to include in a partial response.", + "location": "query", + "type": "string" + }, + "key": { + "description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", + "location": "query", + "type": "string" + }, + "oauth_token": { + "description": "OAuth 2.0 token for the current user.", + "location": "query", + "type": "string" + }, + "prettyPrint": { + "default": "true", + "description": "Returns response with indentations and line breaks.", + "location": "query", + "type": "boolean" + }, + "quotaUser": { + "description": "An opaque string that represents a user for quota purposes. Must not exceed 40 characters.", + "location": "query", + "type": "string" + }, + "userIp": { + "description": "Deprecated. Please use quotaUser instead.", + "location": "query", + "type": "string" + } + }, + "protocol": "rest", + "resources": { + "accounts": { + "methods": { + "get": { + "description": "Gets one account by ID.", + "httpMethod": "GET", + "id": "adexchangebuyer.accounts.get", + "parameterOrder": [ + "id" + ], + "parameters": { + "id": { + "description": "The account id", + "format": "int32", + "location": "path", + "required": true, + "type": "integer" + } + }, + "path": "accounts/{id}", + "response": { + "$ref": "Account" + }, + "scopes": [ + "https://www.googleapis.com/auth/adexchange.buyer" + ] + }, + "list": { + "description": "Retrieves the authenticated user's list of accounts.", + "httpMethod": "GET", + "id": "adexchangebuyer.accounts.list", + "path": "accounts", + "response": { + "$ref": "AccountsList" + }, + "scopes": [ + "https://www.googleapis.com/auth/adexchange.buyer" + ] + }, + "patch": { + "description": "Updates an existing account. This method supports patch semantics.", + "httpMethod": "PATCH", + "id": "adexchangebuyer.accounts.patch", + "parameterOrder": [ + "id" + ], + "parameters": { + "confirmUnsafeAccountChange": { + "description": "Confirmation for erasing bidder and cookie matching urls.", + "location": "query", + "type": "boolean" + }, + "id": { + "description": "The account id", + "format": "int32", + "location": "path", + "required": true, + "type": "integer" + } + }, + "path": "accounts/{id}", + "request": { + "$ref": "Account" + }, + "response": { + "$ref": "Account" + }, + "scopes": [ + "https://www.googleapis.com/auth/adexchange.buyer" + ] + }, + "update": { + "description": "Updates an existing account.", + "httpMethod": "PUT", + "id": "adexchangebuyer.accounts.update", + "parameterOrder": [ + "id" + ], + "parameters": { + "confirmUnsafeAccountChange": { + "description": "Confirmation for erasing bidder and cookie matching urls.", + "location": "query", + "type": "boolean" + }, + "id": { + "description": "The account id", + "format": "int32", + "location": "path", + "required": true, + "type": "integer" + } + }, + "path": "accounts/{id}", + "request": { + "$ref": "Account" + }, + "response": { + "$ref": "Account" + }, + "scopes": [ + "https://www.googleapis.com/auth/adexchange.buyer" + ] + } + } + }, + "billingInfo": { + "methods": { + "get": { + "description": "Returns the billing information for one account specified by account ID.", + "httpMethod": "GET", + "id": "adexchangebuyer.billingInfo.get", + "parameterOrder": [ + "accountId" + ], + "parameters": { + "accountId": { + "description": "The account id.", + "format": "int32", + "location": "path", + "required": true, + "type": "integer" + } + }, + "path": "billinginfo/{accountId}", + "response": { + "$ref": "BillingInfo" + }, + "scopes": [ + "https://www.googleapis.com/auth/adexchange.buyer" + ] + }, + "list": { + "description": "Retrieves a list of billing information for all accounts of the authenticated user.", + "httpMethod": "GET", + "id": "adexchangebuyer.billingInfo.list", + "path": "billinginfo", + "response": { + "$ref": "BillingInfoList" + }, + "scopes": [ + "https://www.googleapis.com/auth/adexchange.buyer" + ] + } + } + }, + "budget": { + "methods": { + "get": { + "description": "Returns the budget information for the adgroup specified by the accountId and billingId.", + "httpMethod": "GET", + "id": "adexchangebuyer.budget.get", + "parameterOrder": [ + "accountId", + "billingId" + ], + "parameters": { + "accountId": { + "description": "The account id to get the budget information for.", + "format": "int64", + "location": "path", + "required": true, + "type": "string" + }, + "billingId": { + "description": "The billing id to get the budget information for.", + "format": "int64", + "location": "path", + "required": true, + "type": "string" + } + }, + "path": "billinginfo/{accountId}/{billingId}", + "response": { + "$ref": "Budget" + }, + "scopes": [ + "https://www.googleapis.com/auth/adexchange.buyer" + ] + }, + "patch": { + "description": "Updates the budget amount for the budget of the adgroup specified by the accountId and billingId, with the budget amount in the request. This method supports patch semantics.", + "httpMethod": "PATCH", + "id": "adexchangebuyer.budget.patch", + "parameterOrder": [ + "accountId", + "billingId" + ], + "parameters": { + "accountId": { + "description": "The account id associated with the budget being updated.", + "format": "int64", + "location": "path", + "required": true, + "type": "string" + }, + "billingId": { + "description": "The billing id associated with the budget being updated.", + "format": "int64", + "location": "path", + "required": true, + "type": "string" + } + }, + "path": "billinginfo/{accountId}/{billingId}", + "request": { + "$ref": "Budget" + }, + "response": { + "$ref": "Budget" + }, + "scopes": [ + "https://www.googleapis.com/auth/adexchange.buyer" + ] + }, + "update": { + "description": "Updates the budget amount for the budget of the adgroup specified by the accountId and billingId, with the budget amount in the request.", + "httpMethod": "PUT", + "id": "adexchangebuyer.budget.update", + "parameterOrder": [ + "accountId", + "billingId" + ], + "parameters": { + "accountId": { + "description": "The account id associated with the budget being updated.", + "format": "int64", + "location": "path", + "required": true, + "type": "string" + }, + "billingId": { + "description": "The billing id associated with the budget being updated.", + "format": "int64", + "location": "path", + "required": true, + "type": "string" + } + }, + "path": "billinginfo/{accountId}/{billingId}", + "request": { + "$ref": "Budget" + }, + "response": { + "$ref": "Budget" + }, + "scopes": [ + "https://www.googleapis.com/auth/adexchange.buyer" + ] + } + } + }, + "creatives": { + "methods": { + "addDeal": { + "description": "Add a deal id association for the creative.", + "httpMethod": "POST", + "id": "adexchangebuyer.creatives.addDeal", + "parameterOrder": [ + "accountId", + "buyerCreativeId", + "dealId" + ], + "parameters": { + "accountId": { + "description": "The id for the account that will serve this creative.", + "format": "int32", + "location": "path", + "required": true, + "type": "integer" + }, + "buyerCreativeId": { + "description": "The buyer-specific id for this creative.", + "location": "path", + "required": true, + "type": "string" + }, + "dealId": { + "description": "The id of the deal id to associate with this creative.", + "format": "int64", + "location": "path", + "required": true, + "type": "string" + } + }, + "path": "creatives/{accountId}/{buyerCreativeId}/addDeal/{dealId}", + "scopes": [ + "https://www.googleapis.com/auth/adexchange.buyer" + ] + }, + "get": { + "description": "Gets the status for a single creative. A creative will be available 30-40 minutes after submission.", + "httpMethod": "GET", + "id": "adexchangebuyer.creatives.get", + "parameterOrder": [ + "accountId", + "buyerCreativeId" + ], + "parameters": { + "accountId": { + "description": "The id for the account that will serve this creative.", + "format": "int32", + "location": "path", + "required": true, + "type": "integer" + }, + "buyerCreativeId": { + "description": "The buyer-specific id for this creative.", + "location": "path", + "required": true, + "type": "string" + } + }, + "path": "creatives/{accountId}/{buyerCreativeId}", + "response": { + "$ref": "Creative" + }, + "scopes": [ + "https://www.googleapis.com/auth/adexchange.buyer" + ] + }, + "insert": { + "description": "Submit a new creative.", + "httpMethod": "POST", + "id": "adexchangebuyer.creatives.insert", + "path": "creatives", + "request": { + "$ref": "Creative" + }, + "response": { + "$ref": "Creative" + }, + "scopes": [ + "https://www.googleapis.com/auth/adexchange.buyer" + ] + }, + "list": { + "description": "Retrieves a list of the authenticated user's active creatives. A creative will be available 30-40 minutes after submission.", + "httpMethod": "GET", + "id": "adexchangebuyer.creatives.list", + "parameters": { + "accountId": { + "description": "When specified, only creatives for the given account ids are returned.", + "format": "int32", + "location": "query", + "repeated": true, + "type": "integer" + }, + "buyerCreativeId": { + "description": "When specified, only creatives for the given buyer creative ids are returned.", + "location": "query", + "repeated": true, + "type": "string" + }, + "dealsStatusFilter": { + "description": "When specified, only creatives having the given deals status are returned.", + "enum": [ + "approved", + "conditionally_approved", + "disapproved", + "not_checked" + ], + "enumDescriptions": [ + "Creatives which have been approved for serving on deals.", + "Creatives which have been conditionally approved for serving on deals.", + "Creatives which have been disapproved for serving on deals.", + "Creatives whose deals status is not yet checked." + ], + "location": "query", + "type": "string" + }, + "maxResults": { + "description": "Maximum number of entries returned on one result page. If not set, the default is 100. Optional.", + "format": "uint32", + "location": "query", + "maximum": "1000", + "minimum": "1", + "type": "integer" + }, + "openAuctionStatusFilter": { + "description": "When specified, only creatives having the given open auction status are returned.", + "enum": [ + "approved", + "conditionally_approved", + "disapproved", + "not_checked" + ], + "enumDescriptions": [ + "Creatives which have been approved for serving on the open auction.", + "Creatives which have been conditionally approved for serving on the open auction.", + "Creatives which have been disapproved for serving on the open auction.", + "Creatives whose open auction status is not yet checked." + ], + "location": "query", + "type": "string" + }, + "pageToken": { + "description": "A continuation token, used to page through ad clients. To retrieve the next page, set this parameter to the value of \"nextPageToken\" from the previous response. Optional.", + "location": "query", + "type": "string" + } + }, + "path": "creatives", + "response": { + "$ref": "CreativesList" + }, + "scopes": [ + "https://www.googleapis.com/auth/adexchange.buyer" + ] + }, + "listDeals": { + "description": "Lists the external deal ids associated with the creative.", + "httpMethod": "GET", + "id": "adexchangebuyer.creatives.listDeals", + "parameterOrder": [ + "accountId", + "buyerCreativeId" + ], + "parameters": { + "accountId": { + "description": "The id for the account that will serve this creative.", + "format": "int32", + "location": "path", + "required": true, + "type": "integer" + }, + "buyerCreativeId": { + "description": "The buyer-specific id for this creative.", + "location": "path", + "required": true, + "type": "string" + } + }, + "path": "creatives/{accountId}/{buyerCreativeId}/listDeals", + "response": { + "$ref": "CreativeDealIds" + }, + "scopes": [ + "https://www.googleapis.com/auth/adexchange.buyer" + ] + }, + "removeDeal": { + "description": "Remove a deal id associated with the creative.", + "httpMethod": "POST", + "id": "adexchangebuyer.creatives.removeDeal", + "parameterOrder": [ + "accountId", + "buyerCreativeId", + "dealId" + ], + "parameters": { + "accountId": { + "description": "The id for the account that will serve this creative.", + "format": "int32", + "location": "path", + "required": true, + "type": "integer" + }, + "buyerCreativeId": { + "description": "The buyer-specific id for this creative.", + "location": "path", + "required": true, + "type": "string" + }, + "dealId": { + "description": "The id of the deal id to disassociate with this creative.", + "format": "int64", + "location": "path", + "required": true, + "type": "string" + } + }, + "path": "creatives/{accountId}/{buyerCreativeId}/removeDeal/{dealId}", + "scopes": [ + "https://www.googleapis.com/auth/adexchange.buyer" + ] + } + } + }, + "marketplacedeals": { + "methods": { + "delete": { + "description": "Delete the specified deals from the proposal", + "httpMethod": "POST", + "id": "adexchangebuyer.marketplacedeals.delete", + "parameterOrder": [ + "proposalId" + ], + "parameters": { + "proposalId": { + "description": "The proposalId to delete deals from.", + "location": "path", + "required": true, + "type": "string" + } + }, + "path": "proposals/{proposalId}/deals/delete", + "request": { + "$ref": "DeleteOrderDealsRequest" + }, + "response": { + "$ref": "DeleteOrderDealsResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/adexchange.buyer" + ] + }, + "insert": { + "description": "Add new deals for the specified proposal", + "httpMethod": "POST", + "id": "adexchangebuyer.marketplacedeals.insert", + "parameterOrder": [ + "proposalId" + ], + "parameters": { + "proposalId": { + "description": "proposalId for which deals need to be added.", + "location": "path", + "required": true, + "type": "string" + } + }, + "path": "proposals/{proposalId}/deals/insert", + "request": { + "$ref": "AddOrderDealsRequest" + }, + "response": { + "$ref": "AddOrderDealsResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/adexchange.buyer" + ] + }, + "list": { + "description": "List all the deals for a given proposal", + "httpMethod": "GET", + "id": "adexchangebuyer.marketplacedeals.list", + "parameterOrder": [ + "proposalId" + ], + "parameters": { + "pqlQuery": { + "description": "Query string to retrieve specific deals.", + "location": "query", + "type": "string" + }, + "proposalId": { + "description": "The proposalId to get deals for. To search across all proposals specify order_id = '-' as part of the URL.", + "location": "path", + "required": true, + "type": "string" + } + }, + "path": "proposals/{proposalId}/deals", + "response": { + "$ref": "GetOrderDealsResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/adexchange.buyer" + ] + }, + "update": { + "description": "Replaces all the deals in the proposal with the passed in deals", + "httpMethod": "POST", + "id": "adexchangebuyer.marketplacedeals.update", + "parameterOrder": [ + "proposalId" + ], + "parameters": { + "proposalId": { + "description": "The proposalId to edit deals on.", + "location": "path", + "required": true, + "type": "string" + } + }, + "path": "proposals/{proposalId}/deals/update", + "request": { + "$ref": "EditAllOrderDealsRequest" + }, + "response": { + "$ref": "EditAllOrderDealsResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/adexchange.buyer" + ] + } + } + }, + "marketplacenotes": { + "methods": { + "insert": { + "description": "Add notes to the proposal", + "httpMethod": "POST", + "id": "adexchangebuyer.marketplacenotes.insert", + "parameterOrder": [ + "proposalId" + ], + "parameters": { + "proposalId": { + "description": "The proposalId to add notes for.", + "location": "path", + "required": true, + "type": "string" + } + }, + "path": "proposals/{proposalId}/notes/insert", + "request": { + "$ref": "AddOrderNotesRequest" + }, + "response": { + "$ref": "AddOrderNotesResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/adexchange.buyer" + ] + }, + "list": { + "description": "Get all the notes associated with a proposal", + "httpMethod": "GET", + "id": "adexchangebuyer.marketplacenotes.list", + "parameterOrder": [ + "proposalId" + ], + "parameters": { + "pqlQuery": { + "description": "Query string to retrieve specific notes. To search the text contents of notes, please use syntax like \"WHERE note.note = \"foo\" or \"WHERE note.note LIKE \"%bar%\"", + "location": "query", + "type": "string" + }, + "proposalId": { + "description": "The proposalId to get notes for. To search across all proposals specify order_id = '-' as part of the URL.", + "location": "path", + "required": true, + "type": "string" + } + }, + "path": "proposals/{proposalId}/notes", + "response": { + "$ref": "GetOrderNotesResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/adexchange.buyer" + ] + } + } + }, + "marketplaceprivateauction": { + "methods": { + "updateproposal": { + "description": "Update a given private auction proposal", + "httpMethod": "POST", + "id": "adexchangebuyer.marketplaceprivateauction.updateproposal", + "parameterOrder": [ + "privateAuctionId" + ], + "parameters": { + "privateAuctionId": { + "description": "The private auction id to be updated.", + "location": "path", + "required": true, + "type": "string" + } + }, + "path": "privateauction/{privateAuctionId}/updateproposal", + "request": { + "$ref": "UpdatePrivateAuctionProposalRequest" + }, + "scopes": [ + "https://www.googleapis.com/auth/adexchange.buyer" + ] + } + } + }, + "performanceReport": { + "methods": { + "list": { + "description": "Retrieves the authenticated user's list of performance metrics.", + "httpMethod": "GET", + "id": "adexchangebuyer.performanceReport.list", + "parameterOrder": [ + "accountId", + "endDateTime", + "startDateTime" + ], + "parameters": { + "accountId": { + "description": "The account id to get the reports.", + "format": "int64", + "location": "query", + "required": true, + "type": "string" + }, + "endDateTime": { + "description": "The end time of the report in ISO 8601 timestamp format using UTC.", + "location": "query", + "required": true, + "type": "string" + }, + "maxResults": { + "description": "Maximum number of entries returned on one result page. If not set, the default is 100. Optional.", + "format": "uint32", + "location": "query", + "maximum": "1000", + "minimum": "1", + "type": "integer" + }, + "pageToken": { + "description": "A continuation token, used to page through performance reports. To retrieve the next page, set this parameter to the value of \"nextPageToken\" from the previous response. Optional.", + "location": "query", + "type": "string" + }, + "startDateTime": { + "description": "The start time of the report in ISO 8601 timestamp format using UTC.", + "location": "query", + "required": true, + "type": "string" + } + }, + "path": "performancereport", + "response": { + "$ref": "PerformanceReportList" + }, + "scopes": [ + "https://www.googleapis.com/auth/adexchange.buyer" + ] + } + } + }, + "pretargetingConfig": { + "methods": { + "delete": { + "description": "Deletes an existing pretargeting config.", + "httpMethod": "DELETE", + "id": "adexchangebuyer.pretargetingConfig.delete", + "parameterOrder": [ + "accountId", + "configId" + ], + "parameters": { + "accountId": { + "description": "The account id to delete the pretargeting config for.", + "format": "int64", + "location": "path", + "required": true, + "type": "string" + }, + "configId": { + "description": "The specific id of the configuration to delete.", + "format": "int64", + "location": "path", + "required": true, + "type": "string" + } + }, + "path": "pretargetingconfigs/{accountId}/{configId}", + "scopes": [ + "https://www.googleapis.com/auth/adexchange.buyer" + ] + }, + "get": { + "description": "Gets a specific pretargeting configuration", + "httpMethod": "GET", + "id": "adexchangebuyer.pretargetingConfig.get", + "parameterOrder": [ + "accountId", + "configId" + ], + "parameters": { + "accountId": { + "description": "The account id to get the pretargeting config for.", + "format": "int64", + "location": "path", + "required": true, + "type": "string" + }, + "configId": { + "description": "The specific id of the configuration to retrieve.", + "format": "int64", + "location": "path", + "required": true, + "type": "string" + } + }, + "path": "pretargetingconfigs/{accountId}/{configId}", + "response": { + "$ref": "PretargetingConfig" + }, + "scopes": [ + "https://www.googleapis.com/auth/adexchange.buyer" + ] + }, + "insert": { + "description": "Inserts a new pretargeting configuration.", + "httpMethod": "POST", + "id": "adexchangebuyer.pretargetingConfig.insert", + "parameterOrder": [ + "accountId" + ], + "parameters": { + "accountId": { + "description": "The account id to insert the pretargeting config for.", + "format": "int64", + "location": "path", + "required": true, + "type": "string" + } + }, + "path": "pretargetingconfigs/{accountId}", + "request": { + "$ref": "PretargetingConfig" + }, + "response": { + "$ref": "PretargetingConfig" + }, + "scopes": [ + "https://www.googleapis.com/auth/adexchange.buyer" + ] + }, + "list": { + "description": "Retrieves a list of the authenticated user's pretargeting configurations.", + "httpMethod": "GET", + "id": "adexchangebuyer.pretargetingConfig.list", + "parameterOrder": [ + "accountId" + ], + "parameters": { + "accountId": { + "description": "The account id to get the pretargeting configs for.", + "format": "int64", + "location": "path", + "required": true, + "type": "string" + } + }, + "path": "pretargetingconfigs/{accountId}", + "response": { + "$ref": "PretargetingConfigList" + }, + "scopes": [ + "https://www.googleapis.com/auth/adexchange.buyer" + ] + }, + "patch": { + "description": "Updates an existing pretargeting config. This method supports patch semantics.", + "httpMethod": "PATCH", + "id": "adexchangebuyer.pretargetingConfig.patch", + "parameterOrder": [ + "accountId", + "configId" + ], + "parameters": { + "accountId": { + "description": "The account id to update the pretargeting config for.", + "format": "int64", + "location": "path", + "required": true, + "type": "string" + }, + "configId": { + "description": "The specific id of the configuration to update.", + "format": "int64", + "location": "path", + "required": true, + "type": "string" + } + }, + "path": "pretargetingconfigs/{accountId}/{configId}", + "request": { + "$ref": "PretargetingConfig" + }, + "response": { + "$ref": "PretargetingConfig" + }, + "scopes": [ + "https://www.googleapis.com/auth/adexchange.buyer" + ] + }, + "update": { + "description": "Updates an existing pretargeting config.", + "httpMethod": "PUT", + "id": "adexchangebuyer.pretargetingConfig.update", + "parameterOrder": [ + "accountId", + "configId" + ], + "parameters": { + "accountId": { + "description": "The account id to update the pretargeting config for.", + "format": "int64", + "location": "path", + "required": true, + "type": "string" + }, + "configId": { + "description": "The specific id of the configuration to update.", + "format": "int64", + "location": "path", + "required": true, + "type": "string" + } + }, + "path": "pretargetingconfigs/{accountId}/{configId}", + "request": { + "$ref": "PretargetingConfig" + }, + "response": { + "$ref": "PretargetingConfig" + }, + "scopes": [ + "https://www.googleapis.com/auth/adexchange.buyer" + ] + } + } + }, + "products": { + "methods": { + "get": { + "description": "Gets the requested product by id.", + "httpMethod": "GET", + "id": "adexchangebuyer.products.get", + "parameterOrder": [ + "productId" + ], + "parameters": { + "productId": { + "description": "The id for the product to get the head revision for.", + "location": "path", + "required": true, + "type": "string" + } + }, + "path": "products/{productId}", + "response": { + "$ref": "Product" + }, + "scopes": [ + "https://www.googleapis.com/auth/adexchange.buyer" + ] + }, + "search": { + "description": "Gets the requested product.", + "httpMethod": "GET", + "id": "adexchangebuyer.products.search", + "parameters": { + "pqlQuery": { + "description": "The pql query used to query for products.", + "location": "query", + "type": "string" + } + }, + "path": "products/search", + "response": { + "$ref": "GetOffersResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/adexchange.buyer" + ] + } + } + }, + "proposals": { + "methods": { + "get": { + "description": "Get a proposal given its id", + "httpMethod": "GET", + "id": "adexchangebuyer.proposals.get", + "parameterOrder": [ + "proposalId" + ], + "parameters": { + "proposalId": { + "description": "Id of the proposal to retrieve.", + "location": "path", + "required": true, + "type": "string" + } + }, + "path": "proposals/{proposalId}", + "response": { + "$ref": "Proposal" + }, + "scopes": [ + "https://www.googleapis.com/auth/adexchange.buyer" + ] + }, + "insert": { + "description": "Create the given list of proposals", + "httpMethod": "POST", + "id": "adexchangebuyer.proposals.insert", + "path": "proposals/insert", + "request": { + "$ref": "CreateOrdersRequest" + }, + "response": { + "$ref": "CreateOrdersResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/adexchange.buyer" + ] + }, + "patch": { + "description": "Update the given proposal. This method supports patch semantics.", + "httpMethod": "PATCH", + "id": "adexchangebuyer.proposals.patch", + "parameterOrder": [ + "proposalId", + "revisionNumber", + "updateAction" + ], + "parameters": { + "proposalId": { + "description": "The proposal id to update.", + "location": "path", + "required": true, + "type": "string" + }, + "revisionNumber": { + "description": "The last known revision number to update. If the head revision in the marketplace database has since changed, an error will be thrown. The caller should then fetch the latest proposal at head revision and retry the update at that revision.", + "format": "int64", + "location": "path", + "required": true, + "type": "string" + }, + "updateAction": { + "description": "The proposed action to take on the proposal. This field is required and it must be set when updating a proposal.", + "enum": [ + "accept", + "cancel", + "propose", + "proposeAndAccept", + "unknownAction", + "updateNonTerms" + ], + "enumDescriptions": [ + "", + "", + "", + "", + "", + "" + ], + "location": "path", + "required": true, + "type": "string" + } + }, + "path": "proposals/{proposalId}/{revisionNumber}/{updateAction}", + "request": { + "$ref": "Proposal" + }, + "response": { + "$ref": "Proposal" + }, + "scopes": [ + "https://www.googleapis.com/auth/adexchange.buyer" + ] + }, + "search": { + "description": "Search for proposals using pql query", + "httpMethod": "GET", + "id": "adexchangebuyer.proposals.search", + "parameters": { + "pqlQuery": { + "description": "Query string to retrieve specific proposals.", + "location": "query", + "type": "string" + } + }, + "path": "proposals/search", + "response": { + "$ref": "GetOrdersResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/adexchange.buyer" + ] + }, + "setupcomplete": { + "description": "Update the given proposal to indicate that setup has been completed.", + "httpMethod": "POST", + "id": "adexchangebuyer.proposals.setupcomplete", + "parameterOrder": [ + "proposalId" + ], + "parameters": { + "proposalId": { + "description": "The proposal id for which the setup is complete", + "location": "path", + "required": true, + "type": "string" + } + }, + "path": "proposals/{proposalId}/setupcomplete", + "scopes": [ + "https://www.googleapis.com/auth/adexchange.buyer" + ] + }, + "update": { + "description": "Update the given proposal", + "httpMethod": "PUT", + "id": "adexchangebuyer.proposals.update", + "parameterOrder": [ + "proposalId", + "revisionNumber", + "updateAction" + ], + "parameters": { + "proposalId": { + "description": "The proposal id to update.", + "location": "path", + "required": true, + "type": "string" + }, + "revisionNumber": { + "description": "The last known revision number to update. If the head revision in the marketplace database has since changed, an error will be thrown. The caller should then fetch the latest proposal at head revision and retry the update at that revision.", + "format": "int64", + "location": "path", + "required": true, + "type": "string" + }, + "updateAction": { + "description": "The proposed action to take on the proposal. This field is required and it must be set when updating a proposal.", + "enum": [ + "accept", + "cancel", + "propose", + "proposeAndAccept", + "unknownAction", + "updateNonTerms" + ], + "enumDescriptions": [ + "", + "", + "", + "", + "", + "" + ], + "location": "path", + "required": true, + "type": "string" + } + }, + "path": "proposals/{proposalId}/{revisionNumber}/{updateAction}", + "request": { + "$ref": "Proposal" + }, + "response": { + "$ref": "Proposal" + }, + "scopes": [ + "https://www.googleapis.com/auth/adexchange.buyer" + ] + } + } + }, + "pubprofiles": { + "methods": { + "list": { + "description": "Gets the requested publisher profile(s) by publisher accountId.", + "httpMethod": "GET", + "id": "adexchangebuyer.pubprofiles.list", + "parameterOrder": [ + "accountId" + ], + "parameters": { + "accountId": { + "description": "The accountId of the publisher to get profiles for.", + "format": "int32", + "location": "path", + "required": true, + "type": "integer" + } + }, + "path": "publisher/{accountId}/profiles", + "response": { + "$ref": "GetPublisherProfilesByAccountIdResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/adexchange.buyer" + ] + } + } + } + }, + "revision": "20210815", + "rootUrl": "https://www.googleapis.com/", + "schemas": { + "Account": { + "description": "Configuration data for an Ad Exchange buyer account.", + "id": "Account", + "properties": { + "applyPretargetingToNonGuaranteedDeals": { + "description": "When this is false, bid requests that include a deal ID for a private auction or preferred deal are always sent to your bidder. When true, all active pretargeting configs will be applied to private auctions and preferred deals. Programmatic Guaranteed deals (when enabled) are always sent to your bidder.", + "type": "boolean" + }, + "bidderLocation": { + "description": "Your bidder locations that have distinct URLs.", + "items": { + "properties": { + "bidProtocol": { + "description": "The protocol that the bidder endpoint is using. OpenRTB protocols with prefix PROTOCOL_OPENRTB_PROTOBUF use proto buffer, otherwise use JSON. Allowed values: \n- PROTOCOL_ADX \n- PROTOCOL_OPENRTB_2_2 \n- PROTOCOL_OPENRTB_2_3 \n- PROTOCOL_OPENRTB_2_4 \n- PROTOCOL_OPENRTB_2_5 \n- PROTOCOL_OPENRTB_PROTOBUF_2_3 \n- PROTOCOL_OPENRTB_PROTOBUF_2_4 \n- PROTOCOL_OPENRTB_PROTOBUF_2_5", + "type": "string" + }, + "maximumQps": { + "description": "The maximum queries per second the Ad Exchange will send.", + "format": "int32", + "type": "integer" + }, + "region": { + "description": "The geographical region the Ad Exchange should send requests from. Only used by some quota systems, but always setting the value is recommended. Allowed values: \n- ASIA \n- EUROPE \n- US_EAST \n- US_WEST", + "type": "string" + }, + "url": { + "description": "The URL to which the Ad Exchange will send bid requests.", + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + }, + "cookieMatchingNid": { + "description": "The nid parameter value used in cookie match requests. Please contact your technical account manager if you need to change this.", + "type": "string" + }, + "cookieMatchingUrl": { + "description": "The base URL used in cookie match requests.", + "type": "string" + }, + "id": { + "description": "Account id.", + "format": "int32", + "type": "integer" + }, + "kind": { + "default": "adexchangebuyer#account", + "description": "Resource type.", + "type": "string" + }, + "maximumActiveCreatives": { + "description": "The maximum number of active creatives that an account can have, where a creative is active if it was inserted or bid with in the last 30 days. Please contact your technical account manager if you need to change this.", + "format": "int32", + "type": "integer" + }, + "maximumTotalQps": { + "description": "The sum of all bidderLocation.maximumQps values cannot exceed this. Please contact your technical account manager if you need to change this.", + "format": "int32", + "type": "integer" + }, + "numberActiveCreatives": { + "description": "The number of creatives that this account inserted or bid with in the last 30 days.", + "format": "int32", + "type": "integer" + } + }, + "type": "object" + }, + "AccountsList": { + "description": "An account feed lists Ad Exchange buyer accounts that the user has access to. Each entry in the feed corresponds to a single buyer account.", + "id": "AccountsList", + "properties": { + "items": { + "description": "A list of accounts.", + "items": { + "$ref": "Account" + }, + "type": "array" + }, + "kind": { + "default": "adexchangebuyer#accountsList", + "description": "Resource type.", + "type": "string" + } + }, + "type": "object" + }, + "AddOrderDealsRequest": { + "id": "AddOrderDealsRequest", + "properties": { + "deals": { + "description": "The list of deals to add", + "items": { + "$ref": "MarketplaceDeal" + }, + "type": "array" + }, + "proposalRevisionNumber": { + "description": "The last known proposal revision number.", + "format": "int64", + "type": "string" + }, + "updateAction": { + "description": "Indicates an optional action to take on the proposal", + "type": "string" + } + }, + "type": "object" + }, + "AddOrderDealsResponse": { + "id": "AddOrderDealsResponse", + "properties": { + "deals": { + "description": "List of deals added (in the same proposal as passed in the request)", + "items": { + "$ref": "MarketplaceDeal" + }, + "type": "array" + }, + "proposalRevisionNumber": { + "description": "The updated revision number for the proposal.", + "format": "int64", + "type": "string" + } + }, + "type": "object" + }, + "AddOrderNotesRequest": { + "id": "AddOrderNotesRequest", + "properties": { + "notes": { + "description": "The list of notes to add.", + "items": { + "$ref": "MarketplaceNote" + }, + "type": "array" + } + }, + "type": "object" + }, + "AddOrderNotesResponse": { + "id": "AddOrderNotesResponse", + "properties": { + "notes": { + "items": { + "$ref": "MarketplaceNote" + }, + "type": "array" + } + }, + "type": "object" + }, + "BillingInfo": { + "description": "The configuration data for an Ad Exchange billing info.", + "id": "BillingInfo", + "properties": { + "accountId": { + "description": "Account id.", + "format": "int32", + "type": "integer" + }, + "accountName": { + "description": "Account name.", + "type": "string" + }, + "billingId": { + "description": "A list of adgroup IDs associated with this particular account. These IDs may show up as part of a realtime bidding BidRequest, which indicates a bid request for this account.", + "items": { + "type": "string" + }, + "type": "array" + }, + "kind": { + "default": "adexchangebuyer#billingInfo", + "description": "Resource type.", + "type": "string" + } + }, + "type": "object" + }, + "BillingInfoList": { + "description": "A billing info feed lists Billing Info the Ad Exchange buyer account has access to. Each entry in the feed corresponds to a single billing info.", + "id": "BillingInfoList", + "properties": { + "items": { + "description": "A list of billing info relevant for your account.", + "items": { + "$ref": "BillingInfo" + }, + "type": "array" + }, + "kind": { + "default": "adexchangebuyer#billingInfoList", + "description": "Resource type.", + "type": "string" + } + }, + "type": "object" + }, + "Budget": { + "description": "The configuration data for Ad Exchange RTB - Budget API.", + "id": "Budget", + "properties": { + "accountId": { + "description": "The id of the account. This is required for get and update requests.", + "format": "int64", + "type": "string" + }, + "billingId": { + "description": "The billing id to determine which adgroup to provide budget information for. This is required for get and update requests.", + "format": "int64", + "type": "string" + }, + "budgetAmount": { + "description": "The daily budget amount in unit amount of the account currency to apply for the billingId provided. This is required for update requests.", + "format": "int64", + "type": "string" + }, + "currencyCode": { + "description": "The currency code for the buyer. This cannot be altered here.", + "type": "string" + }, + "id": { + "description": "The unique id that describes this item.", + "type": "string" + }, + "kind": { + "default": "adexchangebuyer#budget", + "description": "The kind of the resource, i.e. \"adexchangebuyer#budget\".", + "type": "string" + } + }, + "type": "object" + }, + "Buyer": { + "id": "Buyer", + "properties": { + "accountId": { + "description": "Adx account id of the buyer.", + "type": "string" + } + }, + "type": "object" + }, + "ContactInformation": { + "id": "ContactInformation", + "properties": { + "email": { + "description": "Email address of the contact.", + "type": "string" + }, + "name": { + "description": "The name of the contact.", + "type": "string" + } + }, + "type": "object" + }, + "CreateOrdersRequest": { + "id": "CreateOrdersRequest", + "properties": { + "proposals": { + "description": "The list of proposals to create.", + "items": { + "$ref": "Proposal" + }, + "type": "array" + }, + "webPropertyCode": { + "description": "Web property id of the seller creating these orders", + "type": "string" + } + }, + "type": "object" + }, + "CreateOrdersResponse": { + "id": "CreateOrdersResponse", + "properties": { + "proposals": { + "description": "The list of proposals successfully created.", + "items": { + "$ref": "Proposal" + }, + "type": "array" + } + }, + "type": "object" + }, + "Creative": { + "description": "A creative and its classification data.", + "id": "Creative", + "properties": { + "HTMLSnippet": { + "description": "The HTML snippet that displays the ad when inserted in the web page. If set, videoURL, videoVastXML, and nativeAd should not be set.", + "type": "string" + }, + "accountId": { + "annotations": { + "required": [ + "adexchangebuyer.creatives.insert" + ] + }, + "description": "Account id.", + "format": "int32", + "type": "integer" + }, + "adChoicesDestinationUrl": { + "description": "The link to the Ad Preferences page. This is only supported for native ads.", + "type": "string" + }, + "adTechnologyProviders": { + "properties": { + "detectedProviderIds": { + "description": "The detected ad technology provider IDs for this creative. See https://storage.googleapis.com/adx-rtb-dictionaries/providers.csv for mapping of provider ID to provided name, a privacy policy URL, and a list of domains which can be attributed to the provider. If this creative contains provider IDs that are outside of those listed in the `BidRequest.adslot.consented_providers_settings.consented_providers` field on the Authorized Buyers Real-Time Bidding protocol or the `BidRequest.user.ext.consented_providers_settings.consented_providers` field on the OpenRTB protocol, a bid submitted for a European Economic Area (EEA) user with this creative is not compliant with the GDPR policies as mentioned in the \"Third-party Ad Technology Vendors\" section of Authorized Buyers Program Guidelines.", + "items": { + "format": "int64", + "type": "string" + }, + "type": "array" + }, + "hasUnidentifiedProvider": { + "description": "Whether the creative contains an unidentified ad technology provider. If true, a bid submitted for a European Economic Area (EEA) user with this creative is not compliant with the GDPR policies as mentioned in the \"Third-party Ad Technology Vendors\" section of Authorized Buyers Program Guidelines.", + "type": "boolean" + } + }, + "type": "object" + }, + "advertiserId": { + "description": "Detected advertiser id, if any. Read-only. This field should not be set in requests.", + "items": { + "format": "int64", + "type": "string" + }, + "type": "array" + }, + "advertiserName": { + "annotations": { + "required": [ + "adexchangebuyer.creatives.insert" + ] + }, + "description": "The name of the company being advertised in the creative. A list of advertisers is provided in the advertisers.txt file.", + "type": "string" + }, + "agencyId": { + "description": "The agency id for this creative.", + "format": "int64", + "type": "string" + }, + "apiUploadTimestamp": { + "description": "The last upload timestamp of this creative if it was uploaded via API. Read-only. The value of this field is generated, and will be ignored for uploads. (formatted RFC 3339 timestamp).", + "format": "date-time", + "type": "string" + }, + "attribute": { + "description": "List of buyer selectable attributes for the ads that may be shown from this snippet. Each attribute is represented by an integer as defined in buyer-declarable-creative-attributes.txt.", + "items": { + "format": "int32", + "type": "integer" + }, + "type": "array" + }, + "buyerCreativeId": { + "annotations": { + "required": [ + "adexchangebuyer.creatives.insert" + ] + }, + "description": "A buyer-specific id identifying the creative in this ad.", + "type": "string" + }, + "clickThroughUrl": { + "annotations": { + "required": [ + "adexchangebuyer.creatives.insert" + ] + }, + "description": "The set of destination urls for the snippet.", + "items": { + "type": "string" + }, + "type": "array" + }, + "corrections": { + "description": "Shows any corrections that were applied to this creative. Read-only. This field should not be set in requests.", + "items": { + "properties": { + "contexts": { + "description": "All known serving contexts containing serving status information.", + "items": { + "properties": { + "auctionType": { + "description": "Only set when contextType=AUCTION_TYPE. Represents the auction types this correction applies to.", + "items": { + "type": "string" + }, + "type": "array" + }, + "contextType": { + "description": "The type of context (e.g., location, platform, auction type, SSL-ness).", + "type": "string" + }, + "geoCriteriaId": { + "description": "Only set when contextType=LOCATION. Represents the geo criterias this correction applies to.", + "items": { + "format": "int32", + "type": "integer" + }, + "type": "array" + }, + "platform": { + "description": "Only set when contextType=PLATFORM. Represents the platforms this correction applies to.", + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "type": "array" + }, + "details": { + "description": "Additional details about the correction.", + "items": { + "type": "string" + }, + "type": "array" + }, + "reason": { + "description": "The type of correction that was applied to the creative.", + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + }, + "creativeStatusIdentityType": { + "description": "Creative status identity type that the creative item applies to. Ad Exchange real-time bidding is migrating to the sizeless creative verification. Originally, Ad Exchange assigned creative verification status to a unique combination of a buyer creative ID and creative dimensions. Post-migration, a single verification status will be assigned at the buyer creative ID level. This field allows to distinguish whether a given creative status applies to a unique combination of a buyer creative ID and creative dimensions, or to a buyer creative ID as a whole.", + "type": "string" + }, + "dealsStatus": { + "description": "Top-level deals status. Read-only. This field should not be set in requests. If disapproved, an entry for auctionType=DIRECT_DEALS (or ALL) in servingRestrictions will also exist. Note that this may be nuanced with other contextual restrictions, in which case it may be preferable to read from servingRestrictions directly.", + "type": "string" + }, + "detectedDomains": { + "description": "Detected domains for this creative. Read-only. This field should not be set in requests.", + "items": { + "type": "string" + }, + "type": "array" + }, + "filteringReasons": { + "description": "The filtering reasons for the creative. Read-only. This field should not be set in requests.", + "properties": { + "date": { + "description": "The date in ISO 8601 format for the data. The data is collected from 00:00:00 to 23:59:59 in PST.", + "type": "string" + }, + "reasons": { + "description": "The filtering reasons.", + "items": { + "properties": { + "filteringCount": { + "description": "The number of times the creative was filtered for the status. The count is aggregated across all publishers on the exchange.", + "format": "int64", + "type": "string" + }, + "filteringStatus": { + "description": "The filtering status code as defined in creative-status-codes.txt.", + "format": "int32", + "type": "integer" + } + }, + "type": "object" + }, + "type": "array" + } + }, + "type": "object" + }, + "height": { + "annotations": { + "required": [ + "adexchangebuyer.creatives.insert" + ] + }, + "description": "Ad height.", + "format": "int32", + "type": "integer" + }, + "impressionTrackingUrl": { + "description": "The set of urls to be called to record an impression.", + "items": { + "type": "string" + }, + "type": "array" + }, + "kind": { + "default": "adexchangebuyer#creative", + "description": "Resource type.", + "type": "string" + }, + "languages": { + "description": "Detected languages for this creative. Read-only. This field should not be set in requests.", + "items": { + "type": "string" + }, + "type": "array" + }, + "nativeAd": { + "description": "If nativeAd is set, HTMLSnippet, videoVastXML, and the videoURL outside of nativeAd should not be set. (The videoURL inside nativeAd can be set.)", + "properties": { + "advertiser": { + "type": "string" + }, + "appIcon": { + "description": "The app icon, for app download ads.", + "properties": { + "height": { + "format": "int32", + "type": "integer" + }, + "url": { + "type": "string" + }, + "width": { + "format": "int32", + "type": "integer" + } + }, + "type": "object" + }, + "body": { + "description": "A long description of the ad.", + "type": "string" + }, + "callToAction": { + "description": "A label for the button that the user is supposed to click.", + "type": "string" + }, + "clickLinkUrl": { + "description": "The URL that the browser/SDK will load when the user clicks the ad.", + "type": "string" + }, + "clickTrackingUrl": { + "description": "The URL to use for click tracking.", + "type": "string" + }, + "headline": { + "description": "A short title for the ad.", + "type": "string" + }, + "image": { + "description": "A large image.", + "properties": { + "height": { + "format": "int32", + "type": "integer" + }, + "url": { + "type": "string" + }, + "width": { + "format": "int32", + "type": "integer" + } + }, + "type": "object" + }, + "impressionTrackingUrl": { + "description": "The URLs are called when the impression is rendered.", + "items": { + "type": "string" + }, + "type": "array" + }, + "logo": { + "description": "A smaller image, for the advertiser logo.", + "properties": { + "height": { + "format": "int32", + "type": "integer" + }, + "url": { + "type": "string" + }, + "width": { + "format": "int32", + "type": "integer" + } + }, + "type": "object" + }, + "price": { + "description": "The price of the promoted app including the currency info.", + "type": "string" + }, + "starRating": { + "description": "The app rating in the app store. Must be in the range [0-5].", + "format": "double", + "type": "number" + }, + "videoURL": { + "description": "The URL of the XML VAST for a native ad. Note this is a separate field from resource.video_url.", + "type": "string" + } + }, + "type": "object" + }, + "openAuctionStatus": { + "description": "Top-level open auction status. Read-only. This field should not be set in requests. If disapproved, an entry for auctionType=OPEN_AUCTION (or ALL) in servingRestrictions will also exist. Note that this may be nuanced with other contextual restrictions, in which case it may be preferable to read from ServingRestrictions directly.", + "type": "string" + }, + "productCategories": { + "description": "Detected product categories, if any. Each category is represented by an integer as defined in ad-product-categories.txt. Read-only. This field should not be set in requests.", + "items": { + "format": "int32", + "type": "integer" + }, + "type": "array" + }, + "restrictedCategories": { + "description": "All restricted categories for the ads that may be shown from this snippet. Each category is represented by an integer as defined in the ad-restricted-categories.txt.", + "items": { + "format": "int32", + "type": "integer" + }, + "type": "array" + }, + "sensitiveCategories": { + "description": "Detected sensitive categories, if any. Each category is represented by an integer as defined in ad-sensitive-categories.txt. Read-only. This field should not be set in requests.", + "items": { + "format": "int32", + "type": "integer" + }, + "type": "array" + }, + "servingRestrictions": { + "description": "The granular status of this ad in specific contexts. A context here relates to where something ultimately serves (for example, a physical location, a platform, an HTTPS vs HTTP request, or the type of auction). Read-only. This field should not be set in requests. See the examples in the Creatives guide for more details.", + "items": { + "properties": { + "contexts": { + "description": "All known contexts/restrictions.", + "items": { + "properties": { + "auctionType": { + "description": "Only set when contextType=AUCTION_TYPE. Represents the auction types this restriction applies to.", + "items": { + "type": "string" + }, + "type": "array" + }, + "contextType": { + "description": "The type of context (e.g., location, platform, auction type, SSL-ness).", + "type": "string" + }, + "geoCriteriaId": { + "description": "Only set when contextType=LOCATION. Represents the geo criterias this restriction applies to. Impressions are considered to match a context if either the user location or publisher location matches a given geoCriteriaId.", + "items": { + "format": "int32", + "type": "integer" + }, + "type": "array" + }, + "platform": { + "description": "Only set when contextType=PLATFORM. Represents the platforms this restriction applies to.", + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "type": "array" + }, + "disapprovalReasons": { + "description": "The reasons for disapproval within this restriction, if any. Note that not all disapproval reasons may be categorized, so it is possible for the creative to have a status of DISAPPROVED or CONDITIONALLY_APPROVED with an empty list for disapproval_reasons. In this case, please reach out to your TAM to help debug the issue.", + "items": { + "properties": { + "details": { + "description": "Additional details about the reason for disapproval.", + "items": { + "type": "string" + }, + "type": "array" + }, + "reason": { + "description": "The categorized reason for disapproval.", + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + }, + "reason": { + "description": "Why the creative is ineligible to serve in this context (e.g., it has been explicitly disapproved or is pending review).", + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + }, + "vendorType": { + "description": "List of vendor types for the ads that may be shown from this snippet. Each vendor type is represented by an integer as defined in vendors.txt.", + "items": { + "format": "int32", + "type": "integer" + }, + "type": "array" + }, + "version": { + "description": "The version for this creative. Read-only. This field should not be set in requests.", + "format": "int32", + "type": "integer" + }, + "videoURL": { + "description": "The URL to fetch a video ad. If set, HTMLSnippet, videoVastXML, and nativeAd should not be set. Note, this is different from resource.native_ad.video_url above.", + "type": "string" + }, + "videoVastXML": { + "description": "The contents of a VAST document for a video ad. This document should conform to the VAST 2.0 or 3.0 standard. If set, HTMLSnippet, videoURL, and nativeAd and should not be set.", + "type": "string" + }, + "width": { + "annotations": { + "required": [ + "adexchangebuyer.creatives.insert" + ] + }, + "description": "Ad width.", + "format": "int32", + "type": "integer" + } + }, + "type": "object" + }, + "CreativeDealIds": { + "description": "The external deal ids associated with a creative.", + "id": "CreativeDealIds", + "properties": { + "dealStatuses": { + "description": "A list of external deal ids and ARC approval status.", + "items": { + "properties": { + "arcStatus": { + "description": "ARC approval status.", + "type": "string" + }, + "dealId": { + "description": "External deal ID.", + "format": "int64", + "type": "string" + }, + "webPropertyId": { + "description": "Publisher ID.", + "format": "int32", + "type": "integer" + } + }, + "type": "object" + }, + "type": "array" + }, + "kind": { + "default": "adexchangebuyer#creativeDealIds", + "description": "Resource type.", + "type": "string" + } + }, + "type": "object" + }, + "CreativesList": { + "description": "The creatives feed lists the active creatives for the Ad Exchange buyer accounts that the user has access to. Each entry in the feed corresponds to a single creative.", + "id": "CreativesList", + "properties": { + "items": { + "description": "A list of creatives.", + "items": { + "$ref": "Creative" + }, + "type": "array" + }, + "kind": { + "default": "adexchangebuyer#creativesList", + "description": "Resource type.", + "type": "string" + }, + "nextPageToken": { + "description": "Continuation token used to page through creatives. To retrieve the next page of results, set the next request's \"pageToken\" value to this.", + "type": "string" + } + }, + "type": "object" + }, + "DealServingMetadata": { + "id": "DealServingMetadata", + "properties": { + "alcoholAdsAllowed": { + "description": "True if alcohol ads are allowed for this deal (read-only). This field is only populated when querying for finalized orders using the method GetFinalizedOrderDeals", + "type": "boolean" + }, + "dealPauseStatus": { + "$ref": "DealServingMetadataDealPauseStatus", + "description": "Tracks which parties (if any) have paused a deal. (readonly, except via PauseResumeOrderDeals action)" + } + }, + "type": "object" + }, + "DealServingMetadataDealPauseStatus": { + "description": "Tracks which parties (if any) have paused a deal. The deal is considered paused if has_buyer_paused || has_seller_paused. Each of the has_buyer_paused or the has_seller_paused bits can be set independently.", + "id": "DealServingMetadataDealPauseStatus", + "properties": { + "buyerPauseReason": { + "type": "string" + }, + "firstPausedBy": { + "description": "If the deal is paused, records which party paused the deal first.", + "type": "string" + }, + "hasBuyerPaused": { + "type": "boolean" + }, + "hasSellerPaused": { + "type": "boolean" + }, + "sellerPauseReason": { + "type": "string" + } + }, + "type": "object" + }, + "DealTerms": { + "id": "DealTerms", + "properties": { + "brandingType": { + "description": "Visibility of the URL in bid requests.", + "type": "string" + }, + "crossListedExternalDealIdType": { + "description": "Indicates that this ExternalDealId exists under at least two different AdxInventoryDeals. Currently, the only case that the same ExternalDealId will exist is programmatic cross sell case.", + "type": "string" + }, + "description": { + "description": "Description for the proposed terms of the deal.", + "type": "string" + }, + "estimatedGrossSpend": { + "$ref": "Price", + "description": "Non-binding estimate of the estimated gross spend for this deal Can be set by buyer or seller." + }, + "estimatedImpressionsPerDay": { + "description": "Non-binding estimate of the impressions served per day Can be set by buyer or seller.", + "format": "int64", + "type": "string" + }, + "guaranteedFixedPriceTerms": { + "$ref": "DealTermsGuaranteedFixedPriceTerms", + "description": "The terms for guaranteed fixed price deals." + }, + "nonGuaranteedAuctionTerms": { + "$ref": "DealTermsNonGuaranteedAuctionTerms", + "description": "The terms for non-guaranteed auction deals." + }, + "nonGuaranteedFixedPriceTerms": { + "$ref": "DealTermsNonGuaranteedFixedPriceTerms", + "description": "The terms for non-guaranteed fixed price deals." + }, + "rubiconNonGuaranteedTerms": { + "$ref": "DealTermsRubiconNonGuaranteedTerms", + "description": "The terms for rubicon non-guaranteed deals." + }, + "sellerTimeZone": { + "description": "For deals with Cost Per Day billing, defines the timezone used to mark the boundaries of a day (buyer-readonly)", + "type": "string" + } + }, + "type": "object" + }, + "DealTermsGuaranteedFixedPriceTerms": { + "id": "DealTermsGuaranteedFixedPriceTerms", + "properties": { + "billingInfo": { + "$ref": "DealTermsGuaranteedFixedPriceTermsBillingInfo", + "description": "External billing info for this Deal. This field is relevant when external billing info such as price has a different currency code than DFP/AdX." + }, + "fixedPrices": { + "description": "Fixed price for the specified buyer.", + "items": { + "$ref": "PricePerBuyer" + }, + "type": "array" + }, + "guaranteedImpressions": { + "description": "Guaranteed impressions as a percentage. This is the percentage of guaranteed looks that the buyer is guaranteeing to buy.", + "format": "int64", + "type": "string" + }, + "guaranteedLooks": { + "description": "Count of guaranteed looks. Required for deal, optional for product. For CPD deals, buyer changes to guaranteed_looks will be ignored.", + "format": "int64", + "type": "string" + }, + "minimumDailyLooks": { + "description": "Count of minimum daily looks for a CPD deal. For CPD deals, buyer should negotiate on this field instead of guaranteed_looks.", + "format": "int64", + "type": "string" + } + }, + "type": "object" + }, + "DealTermsGuaranteedFixedPriceTermsBillingInfo": { + "id": "DealTermsGuaranteedFixedPriceTermsBillingInfo", + "properties": { + "currencyConversionTimeMs": { + "description": "The timestamp (in ms since epoch) when the original reservation price for the deal was first converted to DFP currency. This is used to convert the contracted price into buyer's currency without discrepancy.", + "format": "int64", + "type": "string" + }, + "dfpLineItemId": { + "description": "The DFP line item id associated with this deal. For features like CPD, buyers can retrieve the DFP line item for billing reconciliation.", + "format": "int64", + "type": "string" + }, + "originalContractedQuantity": { + "description": "The original contracted quantity (# impressions) for this deal. To ensure delivery, sometimes the publisher will book the deal with a impression buffer, such that guaranteed_looks is greater than the contracted quantity. However clients are billed using the original contracted quantity.", + "format": "int64", + "type": "string" + }, + "price": { + "$ref": "Price", + "description": "The original reservation price for the deal, if the currency code is different from the one used in negotiation." + } + }, + "type": "object" + }, + "DealTermsNonGuaranteedAuctionTerms": { + "id": "DealTermsNonGuaranteedAuctionTerms", + "properties": { + "autoOptimizePrivateAuction": { + "description": "True if open auction buyers are allowed to compete with invited buyers in this private auction (buyer-readonly).", + "type": "boolean" + }, + "reservePricePerBuyers": { + "description": "Reserve price for the specified buyer.", + "items": { + "$ref": "PricePerBuyer" + }, + "type": "array" + } + }, + "type": "object" + }, + "DealTermsNonGuaranteedFixedPriceTerms": { + "id": "DealTermsNonGuaranteedFixedPriceTerms", + "properties": { + "fixedPrices": { + "description": "Fixed price for the specified buyer.", + "items": { + "$ref": "PricePerBuyer" + }, + "type": "array" + } + }, + "type": "object" + }, + "DealTermsRubiconNonGuaranteedTerms": { + "id": "DealTermsRubiconNonGuaranteedTerms", + "properties": { + "priorityPrice": { + "$ref": "Price", + "description": "Optional price for Rubicon priority access in the auction." + }, + "standardPrice": { + "$ref": "Price", + "description": "Optional price for Rubicon standard access in the auction." + } + }, + "type": "object" + }, + "DeleteOrderDealsRequest": { + "id": "DeleteOrderDealsRequest", + "properties": { + "dealIds": { + "description": "List of deals to delete for a given proposal", + "items": { + "type": "string" + }, + "type": "array" + }, + "proposalRevisionNumber": { + "description": "The last known proposal revision number.", + "format": "int64", + "type": "string" + }, + "updateAction": { + "description": "Indicates an optional action to take on the proposal", + "type": "string" + } + }, + "type": "object" + }, + "DeleteOrderDealsResponse": { + "id": "DeleteOrderDealsResponse", + "properties": { + "deals": { + "description": "List of deals deleted (in the same proposal as passed in the request)", + "items": { + "$ref": "MarketplaceDeal" + }, + "type": "array" + }, + "proposalRevisionNumber": { + "description": "The updated revision number for the proposal.", + "format": "int64", + "type": "string" + } + }, + "type": "object" + }, + "DeliveryControl": { + "id": "DeliveryControl", + "properties": { + "creativeBlockingLevel": { + "type": "string" + }, + "deliveryRateType": { + "type": "string" + }, + "frequencyCaps": { + "items": { + "$ref": "DeliveryControlFrequencyCap" + }, + "type": "array" + } + }, + "type": "object" + }, + "DeliveryControlFrequencyCap": { + "id": "DeliveryControlFrequencyCap", + "properties": { + "maxImpressions": { + "format": "int32", + "type": "integer" + }, + "numTimeUnits": { + "format": "int32", + "type": "integer" + }, + "timeUnitType": { + "type": "string" + } + }, + "type": "object" + }, + "Dimension": { + "description": "This message carries publisher provided breakdown. E.g. {dimension_type: 'COUNTRY', [{dimension_value: {id: 1, name: 'US'}}, {dimension_value: {id: 2, name: 'UK'}}]}", + "id": "Dimension", + "properties": { + "dimensionType": { + "type": "string" + }, + "dimensionValues": { + "items": { + "$ref": "DimensionDimensionValue" + }, + "type": "array" + } + }, + "type": "object" + }, + "DimensionDimensionValue": { + "description": "Value of the dimension.", + "id": "DimensionDimensionValue", + "properties": { + "id": { + "description": "Id of the dimension.", + "format": "int32", + "type": "integer" + }, + "name": { + "description": "Name of the dimension mainly for debugging purposes, except for the case of CREATIVE_SIZE. For CREATIVE_SIZE, strings are used instead of ids.", + "type": "string" + }, + "percentage": { + "description": "Percent of total impressions for a dimension type. e.g. {dimension_type: 'GENDER', [{dimension_value: {id: 1, name: 'MALE', percentage: 60}}]} Gender MALE is 60% of all impressions which have gender.", + "format": "int32", + "type": "integer" + } + }, + "type": "object" + }, + "EditAllOrderDealsRequest": { + "id": "EditAllOrderDealsRequest", + "properties": { + "deals": { + "description": "List of deals to edit. Service may perform 3 different operations based on comparison of deals in this list vs deals already persisted in database: 1. Add new deal to proposal If a deal in this list does not exist in the proposal, the service will create a new deal and add it to the proposal. Validation will follow AddOrderDealsRequest. 2. Update existing deal in the proposal If a deal in this list already exist in the proposal, the service will update that existing deal to this new deal in the request. Validation will follow UpdateOrderDealsRequest. 3. Delete deals from the proposal (just need the id) If a existing deal in the proposal is not present in this list, the service will delete that deal from the proposal. Validation will follow DeleteOrderDealsRequest.", + "items": { + "$ref": "MarketplaceDeal" + }, + "type": "array" + }, + "proposal": { + "$ref": "Proposal", + "description": "If specified, also updates the proposal in the batch transaction. This is useful when the proposal and the deals need to be updated in one transaction." + }, + "proposalRevisionNumber": { + "description": "The last known revision number for the proposal.", + "format": "int64", + "type": "string" + }, + "updateAction": { + "description": "Indicates an optional action to take on the proposal", + "type": "string" + } + }, + "type": "object" + }, + "EditAllOrderDealsResponse": { + "id": "EditAllOrderDealsResponse", + "properties": { + "deals": { + "description": "List of all deals in the proposal after edit.", + "items": { + "$ref": "MarketplaceDeal" + }, + "type": "array" + }, + "orderRevisionNumber": { + "description": "The latest revision number after the update has been applied.", + "format": "int64", + "type": "string" + } + }, + "type": "object" + }, + "GetOffersResponse": { + "id": "GetOffersResponse", + "properties": { + "products": { + "description": "The returned list of products.", + "items": { + "$ref": "Product" + }, + "type": "array" + } + }, + "type": "object" + }, + "GetOrderDealsResponse": { + "id": "GetOrderDealsResponse", + "properties": { + "deals": { + "description": "List of deals for the proposal", + "items": { + "$ref": "MarketplaceDeal" + }, + "type": "array" + } + }, + "type": "object" + }, + "GetOrderNotesResponse": { + "id": "GetOrderNotesResponse", + "properties": { + "notes": { + "description": "The list of matching notes. The notes for a proposal are ordered from oldest to newest. If the notes span multiple proposals, they will be grouped by proposal, with the notes for the most recently modified proposal appearing first.", + "items": { + "$ref": "MarketplaceNote" + }, + "type": "array" + } + }, + "type": "object" + }, + "GetOrdersResponse": { + "id": "GetOrdersResponse", + "properties": { + "proposals": { + "description": "The list of matching proposals.", + "items": { + "$ref": "Proposal" + }, + "type": "array" + } + }, + "type": "object" + }, + "GetPublisherProfilesByAccountIdResponse": { + "id": "GetPublisherProfilesByAccountIdResponse", + "properties": { + "profiles": { + "description": "Profiles for the requested publisher", + "items": { + "$ref": "PublisherProfileApiProto" + }, + "type": "array" + } + }, + "type": "object" + }, + "MarketplaceDeal": { + "description": "A proposal can contain multiple deals. A deal contains the terms and targeting information that is used for serving.", + "id": "MarketplaceDeal", + "properties": { + "buyerPrivateData": { + "$ref": "PrivateData", + "description": "Buyer private data (hidden from seller)." + }, + "creationTimeMs": { + "description": "The time (ms since epoch) of the deal creation. (readonly)", + "format": "int64", + "type": "string" + }, + "creativePreApprovalPolicy": { + "description": "Specifies the creative pre-approval policy (buyer-readonly)", + "type": "string" + }, + "creativeSafeFrameCompatibility": { + "description": "Specifies whether the creative is safeFrame compatible (buyer-readonly)", + "type": "string" + }, + "dealId": { + "description": "A unique deal-id for the deal (readonly).", + "type": "string" + }, + "dealServingMetadata": { + "$ref": "DealServingMetadata", + "description": "Metadata about the serving status of this deal (readonly, writes via custom actions)" + }, + "deliveryControl": { + "$ref": "DeliveryControl", + "description": "The set of fields around delivery control that are interesting for a buyer to see but are non-negotiable. These are set by the publisher. This message is assigned an id of 100 since some day we would want to model this as a protobuf extension." + }, + "externalDealId": { + "description": "The external deal id assigned to this deal once the deal is finalized. This is the deal-id that shows up in serving/reporting etc. (readonly)", + "type": "string" + }, + "flightEndTimeMs": { + "description": "Proposed flight end time of the deal (ms since epoch) This will generally be stored in a granularity of a second. (updatable)", + "format": "int64", + "type": "string" + }, + "flightStartTimeMs": { + "description": "Proposed flight start time of the deal (ms since epoch) This will generally be stored in a granularity of a second. (updatable)", + "format": "int64", + "type": "string" + }, + "inventoryDescription": { + "description": "Description for the deal terms. (buyer-readonly)", + "type": "string" + }, + "isRfpTemplate": { + "description": "Indicates whether the current deal is a RFP template. RFP template is created by buyer and not based on seller created products.", + "type": "boolean" + }, + "isSetupComplete": { + "description": "True, if the buyside inventory setup is complete for this deal. (readonly, except via OrderSetupCompleted action)", + "type": "boolean" + }, + "kind": { + "default": "adexchangebuyer#marketplaceDeal", + "description": "Identifies what kind of resource this is. Value: the fixed string \"adexchangebuyer#marketplaceDeal\".", + "type": "string" + }, + "lastUpdateTimeMs": { + "description": "The time (ms since epoch) when the deal was last updated. (readonly)", + "format": "int64", + "type": "string" + }, + "makegoodRequestedReason": { + "type": "string" + }, + "name": { + "description": "The name of the deal. (updatable)", + "type": "string" + }, + "productId": { + "description": "The product-id from which this deal was created. (readonly, except on create)", + "type": "string" + }, + "productRevisionNumber": { + "description": "The revision number of the product that the deal was created from (readonly, except on create)", + "format": "int64", + "type": "string" + }, + "programmaticCreativeSource": { + "description": "Specifies the creative source for programmatic deals, PUBLISHER means creative is provided by seller and ADVERTISR means creative is provided by buyer. (buyer-readonly)", + "type": "string" + }, + "proposalId": { + "type": "string" + }, + "sellerContacts": { + "description": "Optional Seller contact information for the deal (buyer-readonly)", + "items": { + "$ref": "ContactInformation" + }, + "type": "array" + }, + "sharedTargetings": { + "description": "The shared targeting visible to buyers and sellers. Each shared targeting entity is AND'd together. (updatable)", + "items": { + "$ref": "SharedTargeting" + }, + "type": "array" + }, + "syndicationProduct": { + "description": "The syndication product associated with the deal. (readonly, except on create)", + "type": "string" + }, + "terms": { + "$ref": "DealTerms", + "description": "The negotiable terms of the deal. (updatable)" + }, + "webPropertyCode": { + "type": "string" + } + }, + "type": "object" + }, + "MarketplaceDealParty": { + "id": "MarketplaceDealParty", + "properties": { + "buyer": { + "$ref": "Buyer", + "description": "The buyer/seller associated with the deal. One of buyer/seller is specified for a deal-party." + }, + "seller": { + "$ref": "Seller", + "description": "The buyer/seller associated with the deal. One of buyer/seller is specified for a deal party." + } + }, + "type": "object" + }, + "MarketplaceLabel": { + "id": "MarketplaceLabel", + "properties": { + "accountId": { + "description": "The accountId of the party that created the label.", + "type": "string" + }, + "createTimeMs": { + "description": "The creation time (in ms since epoch) for the label.", + "format": "int64", + "type": "string" + }, + "deprecatedMarketplaceDealParty": { + "$ref": "MarketplaceDealParty", + "description": "Information about the party that created the label." + }, + "label": { + "description": "The label to use.", + "type": "string" + } + }, + "type": "object" + }, + "MarketplaceNote": { + "description": "A proposal is associated with a bunch of notes which may optionally be associated with a deal and/or revision number.", + "id": "MarketplaceNote", + "properties": { + "creatorRole": { + "description": "The role of the person (buyer/seller) creating the note. (readonly)", + "type": "string" + }, + "dealId": { + "description": "Notes can optionally be associated with a deal. (readonly, except on create)", + "type": "string" + }, + "kind": { + "default": "adexchangebuyer#marketplaceNote", + "description": "Identifies what kind of resource this is. Value: the fixed string \"adexchangebuyer#marketplaceNote\".", + "type": "string" + }, + "note": { + "description": "The actual note to attach. (readonly, except on create)", + "type": "string" + }, + "noteId": { + "description": "The unique id for the note. (readonly)", + "type": "string" + }, + "proposalId": { + "description": "The proposalId that a note is attached to. (readonly)", + "type": "string" + }, + "proposalRevisionNumber": { + "description": "If the note is associated with a proposal revision number, then store that here. (readonly, except on create)", + "format": "int64", + "type": "string" + }, + "timestampMs": { + "description": "The timestamp (ms since epoch) that this note was created. (readonly)", + "format": "int64", + "type": "string" + } + }, + "type": "object" + }, + "MobileApplication": { + "id": "MobileApplication", + "properties": { + "appStore": { + "type": "string" + }, + "externalAppId": { + "type": "string" + } + }, + "type": "object" + }, + "PerformanceReport": { + "description": "The configuration data for an Ad Exchange performance report list.", + "id": "PerformanceReport", + "properties": { + "bidRate": { + "description": "The number of bid responses with an ad.", + "format": "double", + "type": "number" + }, + "bidRequestRate": { + "description": "The number of bid requests sent to your bidder.", + "format": "double", + "type": "number" + }, + "calloutStatusRate": { + "description": "Rate of various prefiltering statuses per match. Please refer to the callout-status-codes.txt file for different statuses.", + "items": { + "type": "any" + }, + "type": "array" + }, + "cookieMatcherStatusRate": { + "description": "Average QPS for cookie matcher operations.", + "items": { + "type": "any" + }, + "type": "array" + }, + "creativeStatusRate": { + "description": "Rate of ads with a given status. Please refer to the creative-status-codes.txt file for different statuses.", + "items": { + "type": "any" + }, + "type": "array" + }, + "filteredBidRate": { + "description": "The number of bid responses that were filtered due to a policy violation or other errors.", + "format": "double", + "type": "number" + }, + "hostedMatchStatusRate": { + "description": "Average QPS for hosted match operations.", + "items": { + "type": "any" + }, + "type": "array" + }, + "inventoryMatchRate": { + "description": "The number of potential queries based on your pretargeting settings.", + "format": "double", + "type": "number" + }, + "kind": { + "default": "adexchangebuyer#performanceReport", + "description": "Resource type.", + "type": "string" + }, + "latency50thPercentile": { + "description": "The 50th percentile round trip latency(ms) as perceived from Google servers for the duration period covered by the report.", + "format": "double", + "type": "number" + }, + "latency85thPercentile": { + "description": "The 85th percentile round trip latency(ms) as perceived from Google servers for the duration period covered by the report.", + "format": "double", + "type": "number" + }, + "latency95thPercentile": { + "description": "The 95th percentile round trip latency(ms) as perceived from Google servers for the duration period covered by the report.", + "format": "double", + "type": "number" + }, + "noQuotaInRegion": { + "description": "Rate of various quota account statuses per quota check.", + "format": "double", + "type": "number" + }, + "outOfQuota": { + "description": "Rate of various quota account statuses per quota check.", + "format": "double", + "type": "number" + }, + "pixelMatchRequests": { + "description": "Average QPS for pixel match requests from clients.", + "format": "double", + "type": "number" + }, + "pixelMatchResponses": { + "description": "Average QPS for pixel match responses from clients.", + "format": "double", + "type": "number" + }, + "quotaConfiguredLimit": { + "description": "The configured quota limits for this account.", + "format": "double", + "type": "number" + }, + "quotaThrottledLimit": { + "description": "The throttled quota limits for this account.", + "format": "double", + "type": "number" + }, + "region": { + "description": "The trading location of this data.", + "type": "string" + }, + "successfulRequestRate": { + "description": "The number of properly formed bid responses received by our servers within the deadline.", + "format": "double", + "type": "number" + }, + "timestamp": { + "description": "The unix timestamp of the starting time of this performance data.", + "format": "int64", + "type": "string" + }, + "unsuccessfulRequestRate": { + "description": "The number of bid responses that were unsuccessful due to timeouts, incorrect formatting, etc.", + "format": "double", + "type": "number" + } + }, + "type": "object" + }, + "PerformanceReportList": { + "description": "The configuration data for an Ad Exchange performance report list.", + "id": "PerformanceReportList", + "properties": { + "kind": { + "default": "adexchangebuyer#performanceReportList", + "description": "Resource type.", + "type": "string" + }, + "performanceReport": { + "description": "A list of performance reports relevant for the account.", + "items": { + "$ref": "PerformanceReport" + }, + "type": "array" + } + }, + "type": "object" + }, + "PretargetingConfig": { + "id": "PretargetingConfig", + "properties": { + "billingId": { + "description": "The id for billing purposes, provided for reference. Leave this field blank for insert requests; the id will be generated automatically.", + "format": "int64", + "type": "string" + }, + "configId": { + "description": "The config id; generated automatically. Leave this field blank for insert requests.", + "format": "int64", + "type": "string" + }, + "configName": { + "description": "The name of the config. Must be unique. Required for all requests.", + "type": "string" + }, + "creativeType": { + "description": "List must contain exactly one of PRETARGETING_CREATIVE_TYPE_HTML or PRETARGETING_CREATIVE_TYPE_VIDEO.", + "items": { + "type": "string" + }, + "type": "array" + }, + "dimensions": { + "description": "Requests which allow one of these (width, height) pairs will match. All pairs must be supported ad dimensions.", + "items": { + "properties": { + "height": { + "description": "Height in pixels.", + "format": "int64", + "type": "string" + }, + "width": { + "description": "Width in pixels.", + "format": "int64", + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + }, + "excludedContentLabels": { + "description": "Requests with any of these content labels will not match. Values are from content-labels.txt in the downloadable files section.", + "items": { + "format": "int64", + "type": "string" + }, + "type": "array" + }, + "excludedGeoCriteriaIds": { + "description": "Requests containing any of these geo criteria ids will not match.", + "items": { + "format": "int64", + "type": "string" + }, + "type": "array" + }, + "excludedPlacements": { + "description": "Requests containing any of these placements will not match.", + "items": { + "properties": { + "token": { + "description": "The value of the placement. Interpretation depends on the placement type, e.g. URL for a site placement, channel name for a channel placement, app id for a mobile app placement.", + "type": "string" + }, + "type": { + "description": "The type of the placement.", + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + }, + "excludedUserLists": { + "description": "Requests containing any of these users list ids will not match.", + "items": { + "format": "int64", + "type": "string" + }, + "type": "array" + }, + "excludedVerticals": { + "description": "Requests containing any of these vertical ids will not match. Values are from the publisher-verticals.txt file in the downloadable files section.", + "items": { + "format": "int64", + "type": "string" + }, + "type": "array" + }, + "geoCriteriaIds": { + "description": "Requests containing any of these geo criteria ids will match.", + "items": { + "format": "int64", + "type": "string" + }, + "type": "array" + }, + "isActive": { + "description": "Whether this config is active. Required for all requests.", + "type": "boolean" + }, + "kind": { + "default": "adexchangebuyer#pretargetingConfig", + "description": "The kind of the resource, i.e. \"adexchangebuyer#pretargetingConfig\".", + "type": "string" + }, + "languages": { + "description": "Request containing any of these language codes will match.", + "items": { + "type": "string" + }, + "type": "array" + }, + "maximumQps": { + "description": "The maximum QPS allocated to this pretargeting configuration, used for pretargeting-level QPS limits. By default, this is not set, which indicates that there is no QPS limit at the configuration level (a global or account-level limit may still be imposed).", + "format": "int64", + "type": "string" + }, + "minimumViewabilityDecile": { + "description": "Requests where the predicted viewability is below the specified decile will not match. E.g. if the buyer sets this value to 5, requests from slots where the predicted viewability is below 50% will not match. If the predicted viewability is unknown this field will be ignored.", + "format": "int32", + "type": "integer" + }, + "mobileCarriers": { + "description": "Requests containing any of these mobile carrier ids will match. Values are from mobile-carriers.csv in the downloadable files section.", + "items": { + "format": "int64", + "type": "string" + }, + "type": "array" + }, + "mobileDevices": { + "description": "Requests containing any of these mobile device ids will match. Values are from mobile-devices.csv in the downloadable files section.", + "items": { + "format": "int64", + "type": "string" + }, + "type": "array" + }, + "mobileOperatingSystemVersions": { + "description": "Requests containing any of these mobile operating system version ids will match. Values are from mobile-os.csv in the downloadable files section.", + "items": { + "format": "int64", + "type": "string" + }, + "type": "array" + }, + "placements": { + "description": "Requests containing any of these placements will match.", + "items": { + "properties": { + "token": { + "description": "The value of the placement. Interpretation depends on the placement type, e.g. URL for a site placement, channel name for a channel placement, app id for a mobile app placement.", + "type": "string" + }, + "type": { + "description": "The type of the placement.", + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + }, + "platforms": { + "description": "Requests matching any of these platforms will match. Possible values are PRETARGETING_PLATFORM_MOBILE, PRETARGETING_PLATFORM_DESKTOP, and PRETARGETING_PLATFORM_TABLET.", + "items": { + "type": "string" + }, + "type": "array" + }, + "supportedCreativeAttributes": { + "description": "Creative attributes should be declared here if all creatives corresponding to this pretargeting configuration have that creative attribute. Values are from pretargetable-creative-attributes.txt in the downloadable files section.", + "items": { + "format": "int64", + "type": "string" + }, + "type": "array" + }, + "userIdentifierDataRequired": { + "description": "Requests containing the specified type of user data will match. Possible values are HOSTED_MATCH_DATA, which means the request is cookie-targetable and has a match in the buyer's hosted match table, and COOKIE_OR_IDFA, which means the request has either a targetable cookie or an iOS IDFA.", + "items": { + "type": "string" + }, + "type": "array" + }, + "userLists": { + "description": "Requests containing any of these user list ids will match.", + "items": { + "format": "int64", + "type": "string" + }, + "type": "array" + }, + "vendorTypes": { + "description": "Requests that allow any of these vendor ids will match. Values are from vendors.txt in the downloadable files section.", + "items": { + "format": "int64", + "type": "string" + }, + "type": "array" + }, + "verticals": { + "description": "Requests containing any of these vertical ids will match.", + "items": { + "format": "int64", + "type": "string" + }, + "type": "array" + }, + "videoPlayerSizes": { + "description": "Video requests satisfying any of these player size constraints will match.", + "items": { + "properties": { + "aspectRatio": { + "description": "The type of aspect ratio. Leave this field blank to match all aspect ratios.", + "type": "string" + }, + "minHeight": { + "description": "The minimum player height in pixels. Leave this field blank to match any player height.", + "format": "int64", + "type": "string" + }, + "minWidth": { + "description": "The minimum player width in pixels. Leave this field blank to match any player width.", + "format": "int64", + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + } + }, + "type": "object" + }, + "PretargetingConfigList": { + "id": "PretargetingConfigList", + "properties": { + "items": { + "description": "A list of pretargeting configs", + "items": { + "$ref": "PretargetingConfig" + }, + "type": "array" + }, + "kind": { + "default": "adexchangebuyer#pretargetingConfigList", + "description": "Resource type.", + "type": "string" + } + }, + "type": "object" + }, + "Price": { + "id": "Price", + "properties": { + "amountMicros": { + "description": "The price value in micros.", + "format": "double", + "type": "number" + }, + "currencyCode": { + "description": "The currency code for the price.", + "type": "string" + }, + "expectedCpmMicros": { + "description": "In case of CPD deals, the expected CPM in micros.", + "format": "double", + "type": "number" + }, + "pricingType": { + "description": "The pricing type for the deal/product.", + "type": "string" + } + }, + "type": "object" + }, + "PricePerBuyer": { + "description": "Used to specify pricing rules for buyers. Each PricePerBuyer in a product can become [0,1] deals. To check if there is a PricePerBuyer for a particular buyer we look for the most specific matching rule - we first look for a rule matching the buyer and otherwise look for a matching rule where no buyer is set.", + "id": "PricePerBuyer", + "properties": { + "auctionTier": { + "description": "Optional access type for this buyer.", + "type": "string" + }, + "billedBuyer": { + "$ref": "Buyer", + "description": "Reference to the buyer that will get billed." + }, + "buyer": { + "$ref": "Buyer", + "description": "The buyer who will pay this price. If unset, all buyers can pay this price (if the advertisers match, and there's no more specific rule matching the buyer)." + }, + "price": { + "$ref": "Price", + "description": "The specified price" + } + }, + "type": "object" + }, + "PrivateData": { + "id": "PrivateData", + "properties": { + "referenceId": { + "type": "string" + }, + "referencePayload": { + "format": "byte", + "type": "string" + } + }, + "type": "object" + }, + "Product": { + "description": "A product is segment of inventory that a seller wishes to sell. It is associated with certain terms and targeting information which helps buyer know more about the inventory. Each field in a product can have one of the following setting:\n\n(readonly) - It is an error to try and set this field. (buyer-readonly) - Only the seller can set this field. (seller-readonly) - Only the buyer can set this field. (updatable) - The field is updatable at all times by either buyer or the seller.", + "id": "Product", + "properties": { + "billedBuyer": { + "$ref": "Buyer", + "description": "The billed buyer corresponding to the buyer that created the offer. (readonly, except on create)" + }, + "buyer": { + "$ref": "Buyer", + "description": "The buyer that created the offer if this is a buyer initiated offer (readonly, except on create)" + }, + "creationTimeMs": { + "description": "Creation time in ms. since epoch (readonly)", + "format": "int64", + "type": "string" + }, + "creatorContacts": { + "description": "Optional contact information for the creator of this product. (buyer-readonly)", + "items": { + "$ref": "ContactInformation" + }, + "type": "array" + }, + "creatorRole": { + "description": "The role that created the offer. Set to BUYER for buyer initiated offers.", + "type": "string" + }, + "deliveryControl": { + "$ref": "DeliveryControl", + "description": "The set of fields around delivery control that are interesting for a buyer to see but are non-negotiable. These are set by the publisher. This message is assigned an id of 100 since some day we would want to model this as a protobuf extension." + }, + "flightEndTimeMs": { + "description": "The proposed end time for the deal (ms since epoch) (buyer-readonly)", + "format": "int64", + "type": "string" + }, + "flightStartTimeMs": { + "description": "Inventory availability dates. (times are in ms since epoch) The granularity is generally in the order of seconds. (buyer-readonly)", + "format": "int64", + "type": "string" + }, + "hasCreatorSignedOff": { + "description": "If the creator has already signed off on the product, then the buyer can finalize the deal by accepting the product as is. When copying to a proposal, if any of the terms are changed, then auto_finalize is automatically set to false.", + "type": "boolean" + }, + "inventorySource": { + "description": "What exchange will provide this inventory (readonly, except on create).", + "type": "string" + }, + "kind": { + "default": "adexchangebuyer#product", + "description": "Identifies what kind of resource this is. Value: the fixed string \"adexchangebuyer#product\".", + "type": "string" + }, + "labels": { + "description": "Optional List of labels for the product (optional, buyer-readonly).", + "items": { + "$ref": "MarketplaceLabel" + }, + "type": "array" + }, + "lastUpdateTimeMs": { + "description": "Time of last update in ms. since epoch (readonly)", + "format": "int64", + "type": "string" + }, + "legacyOfferId": { + "description": "Optional legacy offer id if this offer is a preferred deal offer.", + "type": "string" + }, + "marketplacePublisherProfileId": { + "description": "Marketplace publisher profile Id. This Id differs from the regular publisher_profile_id in that 1. This is a new id, the old Id will be deprecated in 2017. 2. This id uniquely identifies a publisher profile by itself.", + "type": "string" + }, + "name": { + "description": "The name for this product as set by the seller. (buyer-readonly)", + "type": "string" + }, + "privateAuctionId": { + "description": "Optional private auction id if this offer is a private auction offer.", + "type": "string" + }, + "productId": { + "description": "The unique id for the product (readonly)", + "type": "string" + }, + "publisherProfileId": { + "description": "Id of the publisher profile for a given seller. A (seller.account_id, publisher_profile_id) pair uniquely identifies a publisher profile. Buyers can call the PublisherProfiles::List endpoint to get a list of publisher profiles for a given seller.", + "type": "string" + }, + "publisherProvidedForecast": { + "$ref": "PublisherProvidedForecast", + "description": "Publisher self-provided forecast information." + }, + "revisionNumber": { + "description": "The revision number of the product. (readonly)", + "format": "int64", + "type": "string" + }, + "seller": { + "$ref": "Seller", + "description": "Information about the seller that created this product (readonly, except on create)" + }, + "sharedTargetings": { + "description": "Targeting that is shared between the buyer and the seller. Each targeting criteria has a specified key and for each key there is a list of inclusion value or exclusion values. (buyer-readonly)", + "items": { + "$ref": "SharedTargeting" + }, + "type": "array" + }, + "state": { + "description": "The state of the product. (buyer-readonly)", + "type": "string" + }, + "syndicationProduct": { + "description": "The syndication product associated with the deal. (readonly, except on create)", + "type": "string" + }, + "terms": { + "$ref": "DealTerms", + "description": "The negotiable terms of the deal (buyer-readonly)" + }, + "webPropertyCode": { + "description": "The web property code for the seller. This field is meant to be copied over as is when creating deals.", + "type": "string" + } + }, + "type": "object" + }, + "Proposal": { + "description": "Represents a proposal in the marketplace. A proposal is the unit of negotiation between a seller and a buyer and contains deals which are served. Each field in a proposal can have one of the following setting:\n\n(readonly) - It is an error to try and set this field. (buyer-readonly) - Only the seller can set this field. (seller-readonly) - Only the buyer can set this field. (updatable) - The field is updatable at all times by either buyer or the seller.", + "id": "Proposal", + "properties": { + "billedBuyer": { + "$ref": "Buyer", + "description": "Reference to the buyer that will get billed for this proposal. (readonly)" + }, + "buyer": { + "$ref": "Buyer", + "description": "Reference to the buyer on the proposal. (readonly, except on create)" + }, + "buyerContacts": { + "description": "Optional contact information of the buyer. (seller-readonly)", + "items": { + "$ref": "ContactInformation" + }, + "type": "array" + }, + "buyerPrivateData": { + "$ref": "PrivateData", + "description": "Private data for buyer. (hidden from seller)." + }, + "dbmAdvertiserIds": { + "description": "IDs of DBM advertisers permission to this proposal.", + "items": { + "type": "string" + }, + "type": "array" + }, + "hasBuyerSignedOff": { + "description": "When an proposal is in an accepted state, indicates whether the buyer has signed off. Once both sides have signed off on a deal, the proposal can be finalized by the seller. (seller-readonly)", + "type": "boolean" + }, + "hasSellerSignedOff": { + "description": "When an proposal is in an accepted state, indicates whether the buyer has signed off Once both sides have signed off on a deal, the proposal can be finalized by the seller. (buyer-readonly)", + "type": "boolean" + }, + "inventorySource": { + "description": "What exchange will provide this inventory (readonly, except on create).", + "type": "string" + }, + "isRenegotiating": { + "description": "True if the proposal is being renegotiated (readonly).", + "type": "boolean" + }, + "isSetupComplete": { + "description": "True, if the buyside inventory setup is complete for this proposal. (readonly, except via OrderSetupCompleted action) Deprecated in favor of deal level setup complete flag.", + "type": "boolean" + }, + "kind": { + "default": "adexchangebuyer#proposal", + "description": "Identifies what kind of resource this is. Value: the fixed string \"adexchangebuyer#proposal\".", + "type": "string" + }, + "labels": { + "description": "List of labels associated with the proposal. (readonly)", + "items": { + "$ref": "MarketplaceLabel" + }, + "type": "array" + }, + "lastUpdaterOrCommentorRole": { + "description": "The role of the last user that either updated the proposal or left a comment. (readonly)", + "type": "string" + }, + "name": { + "description": "The name for the proposal (updatable)", + "type": "string" + }, + "negotiationId": { + "description": "Optional negotiation id if this proposal is a preferred deal proposal.", + "type": "string" + }, + "originatorRole": { + "description": "Indicates whether the buyer/seller created the proposal.(readonly)", + "type": "string" + }, + "privateAuctionId": { + "description": "Optional private auction id if this proposal is a private auction proposal.", + "type": "string" + }, + "proposalId": { + "description": "The unique id of the proposal. (readonly).", + "type": "string" + }, + "proposalState": { + "description": "The current state of the proposal. (readonly)", + "type": "string" + }, + "revisionNumber": { + "description": "The revision number for the proposal (readonly).", + "format": "int64", + "type": "string" + }, + "revisionTimeMs": { + "description": "The time (ms since epoch) when the proposal was last revised (readonly).", + "format": "int64", + "type": "string" + }, + "seller": { + "$ref": "Seller", + "description": "Reference to the seller on the proposal. (readonly, except on create)" + }, + "sellerContacts": { + "description": "Optional contact information of the seller (buyer-readonly).", + "items": { + "$ref": "ContactInformation" + }, + "type": "array" + } + }, + "type": "object" + }, + "PublisherProfileApiProto": { + "id": "PublisherProfileApiProto", + "properties": { + "audience": { + "description": "Publisher provided info on its audience.", + "type": "string" + }, + "buyerPitchStatement": { + "description": "A pitch statement for the buyer", + "type": "string" + }, + "directContact": { + "description": "Direct contact for the publisher profile.", + "type": "string" + }, + "exchange": { + "description": "Exchange where this publisher profile is from. E.g. AdX, Rubicon etc...", + "type": "string" + }, + "forecastInventory": { + "type": "string" + }, + "googlePlusLink": { + "description": "Link to publisher's Google+ page.", + "type": "string" + }, + "isParent": { + "description": "True, if this is the parent profile, which represents all domains owned by the publisher.", + "type": "boolean" + }, + "isPublished": { + "description": "True, if this profile is published. Deprecated for state.", + "type": "boolean" + }, + "kind": { + "default": "adexchangebuyer#publisherProfileApiProto", + "description": "Identifies what kind of resource this is. Value: the fixed string \"adexchangebuyer#publisherProfileApiProto\".", + "type": "string" + }, + "logoUrl": { + "description": "The url to the logo for the publisher.", + "type": "string" + }, + "mediaKitLink": { + "description": "The url for additional marketing and sales materials.", + "type": "string" + }, + "name": { + "type": "string" + }, + "overview": { + "description": "Publisher provided overview.", + "type": "string" + }, + "profileId": { + "description": "The pair of (seller.account_id, profile_id) uniquely identifies a publisher profile for a given publisher.", + "format": "int32", + "type": "integer" + }, + "programmaticContact": { + "description": "Programmatic contact for the publisher profile.", + "type": "string" + }, + "publisherAppIds": { + "description": "The list of app IDs represented in this publisher profile. Empty if this is a parent profile. Deprecated in favor of publisher_app.", + "items": { + "format": "int64", + "type": "string" + }, + "type": "array" + }, + "publisherApps": { + "description": "The list of apps represented in this publisher profile. Empty if this is a parent profile.", + "items": { + "$ref": "MobileApplication" + }, + "type": "array" + }, + "publisherDomains": { + "description": "The list of domains represented in this publisher profile. Empty if this is a parent profile.", + "items": { + "type": "string" + }, + "type": "array" + }, + "publisherProfileId": { + "description": "Unique Id for publisher profile.", + "type": "string" + }, + "publisherProvidedForecast": { + "$ref": "PublisherProvidedForecast", + "description": "Publisher provided forecasting information." + }, + "rateCardInfoLink": { + "description": "Link to publisher rate card", + "type": "string" + }, + "samplePageLink": { + "description": "Link for a sample content page.", + "type": "string" + }, + "seller": { + "$ref": "Seller", + "description": "Seller of the publisher profile." + }, + "state": { + "description": "State of the publisher profile.", + "type": "string" + }, + "topHeadlines": { + "description": "Publisher provided key metrics and rankings.", + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "PublisherProvidedForecast": { + "description": "This message carries publisher provided forecasting information.", + "id": "PublisherProvidedForecast", + "properties": { + "dimensions": { + "description": "Publisher provided dimensions. E.g. geo, sizes etc...", + "items": { + "$ref": "Dimension" + }, + "type": "array" + }, + "weeklyImpressions": { + "description": "Publisher provided weekly impressions.", + "format": "int64", + "type": "string" + }, + "weeklyUniques": { + "description": "Publisher provided weekly uniques.", + "format": "int64", + "type": "string" + } + }, + "type": "object" + }, + "Seller": { + "id": "Seller", + "properties": { + "accountId": { + "description": "The unique id for the seller. The seller fills in this field. The seller account id is then available to buyer in the product.", + "type": "string" + }, + "subAccountId": { + "description": "Optional sub-account id for the seller.", + "type": "string" + } + }, + "type": "object" + }, + "SharedTargeting": { + "id": "SharedTargeting", + "properties": { + "exclusions": { + "description": "The list of values to exclude from targeting. Each value is AND'd together.", + "items": { + "$ref": "TargetingValue" + }, + "type": "array" + }, + "inclusions": { + "description": "The list of value to include as part of the targeting. Each value is OR'd together.", + "items": { + "$ref": "TargetingValue" + }, + "type": "array" + }, + "key": { + "description": "The key representing the shared targeting criterion.", + "type": "string" + } + }, + "type": "object" + }, + "TargetingValue": { + "id": "TargetingValue", + "properties": { + "creativeSizeValue": { + "$ref": "TargetingValueCreativeSize", + "description": "The creative size value to exclude/include." + }, + "dayPartTargetingValue": { + "$ref": "TargetingValueDayPartTargeting", + "description": "The daypart targeting to include / exclude. Filled in when the key is GOOG_DAYPART_TARGETING." + }, + "demogAgeCriteriaValue": { + "$ref": "TargetingValueDemogAgeCriteria" + }, + "demogGenderCriteriaValue": { + "$ref": "TargetingValueDemogGenderCriteria" + }, + "longValue": { + "description": "The long value to exclude/include.", + "format": "int64", + "type": "string" + }, + "requestPlatformTargetingValue": { + "$ref": "TargetingValueRequestPlatformTargeting" + }, + "stringValue": { + "description": "The string value to exclude/include.", + "type": "string" + } + }, + "type": "object" + }, + "TargetingValueCreativeSize": { + "description": "Next Id: 7", + "id": "TargetingValueCreativeSize", + "properties": { + "allowedFormats": { + "description": "The formats allowed by the publisher.", + "items": { + "type": "string" + }, + "type": "array" + }, + "companionSizes": { + "description": "For video size type, the list of companion sizes.", + "items": { + "$ref": "TargetingValueSize" + }, + "type": "array" + }, + "creativeSizeType": { + "description": "The Creative size type.", + "type": "string" + }, + "nativeTemplate": { + "description": "The native template for native ad.", + "type": "string" + }, + "size": { + "$ref": "TargetingValueSize", + "description": "For regular or video creative size type, specifies the size of the creative." + }, + "skippableAdType": { + "description": "The skippable ad type for video size.", + "type": "string" + } + }, + "type": "object" + }, + "TargetingValueDayPartTargeting": { + "id": "TargetingValueDayPartTargeting", + "properties": { + "dayParts": { + "items": { + "$ref": "TargetingValueDayPartTargetingDayPart" + }, + "type": "array" + }, + "timeZoneType": { + "type": "string" + } + }, + "type": "object" + }, + "TargetingValueDayPartTargetingDayPart": { + "id": "TargetingValueDayPartTargetingDayPart", + "properties": { + "dayOfWeek": { + "type": "string" + }, + "endHour": { + "format": "int32", + "type": "integer" + }, + "endMinute": { + "format": "int32", + "type": "integer" + }, + "startHour": { + "format": "int32", + "type": "integer" + }, + "startMinute": { + "format": "int32", + "type": "integer" + } + }, + "type": "object" + }, + "TargetingValueDemogAgeCriteria": { + "id": "TargetingValueDemogAgeCriteria", + "properties": { + "demogAgeCriteriaIds": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "TargetingValueDemogGenderCriteria": { + "id": "TargetingValueDemogGenderCriteria", + "properties": { + "demogGenderCriteriaIds": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "TargetingValueRequestPlatformTargeting": { + "id": "TargetingValueRequestPlatformTargeting", + "properties": { + "requestPlatforms": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "TargetingValueSize": { + "id": "TargetingValueSize", + "properties": { + "height": { + "description": "The height of the creative.", + "format": "int32", + "type": "integer" + }, + "width": { + "description": "The width of the creative.", + "format": "int32", + "type": "integer" + } + }, + "type": "object" + }, + "UpdatePrivateAuctionProposalRequest": { + "id": "UpdatePrivateAuctionProposalRequest", + "properties": { + "externalDealId": { + "description": "The externalDealId of the deal to be updated.", + "type": "string" + }, + "note": { + "$ref": "MarketplaceNote", + "description": "Optional note to be added." + }, + "proposalRevisionNumber": { + "description": "The current revision number of the proposal to be updated.", + "format": "int64", + "type": "string" + }, + "updateAction": { + "description": "The proposed action on the private auction proposal.", + "type": "string" + } + }, + "type": "object" + } + }, + "servicePath": "adexchangebuyer/v1.4/", + "title": "Ad Exchange Buyer API", + "version": "v1.4" +} \ No newline at end of file diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/admin.directory_v1.json b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/admin.directory_v1.json new file mode 100644 index 0000000000000000000000000000000000000000..aaa72064bd5b5de5896b2a67952cc0bcf9aaaca6 --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/admin.directory_v1.json @@ -0,0 +1,8900 @@ +{ +"auth": { +"oauth2": { +"scopes": { +"https://www.googleapis.com/auth/admin.chrome.printers": { +"description": "See, add, edit, and permanently delete the printers that your organization can use with Chrome" +}, +"https://www.googleapis.com/auth/admin.chrome.printers.readonly": { +"description": "See the printers that your organization can use with Chrome" +}, +"https://www.googleapis.com/auth/admin.directory.customer": { +"description": "View and manage customer related information" +}, +"https://www.googleapis.com/auth/admin.directory.customer.readonly": { +"description": "View customer related information" +}, +"https://www.googleapis.com/auth/admin.directory.device.chromeos": { +"description": "View and manage your ChromeOS devices' metadata" +}, +"https://www.googleapis.com/auth/admin.directory.device.chromeos.readonly": { +"description": "View your ChromeOS devices' metadata" +}, +"https://www.googleapis.com/auth/admin.directory.device.mobile": { +"description": "View and manage your mobile devices' metadata" +}, +"https://www.googleapis.com/auth/admin.directory.device.mobile.action": { +"description": "Manage your mobile devices by performing administrative tasks" +}, +"https://www.googleapis.com/auth/admin.directory.device.mobile.readonly": { +"description": "View your mobile devices' metadata" +}, +"https://www.googleapis.com/auth/admin.directory.domain": { +"description": "View and manage the provisioning of domains for your customers" +}, +"https://www.googleapis.com/auth/admin.directory.domain.readonly": { +"description": "View domains related to your customers" +}, +"https://www.googleapis.com/auth/admin.directory.group": { +"description": "View and manage the provisioning of groups on your domain" +}, +"https://www.googleapis.com/auth/admin.directory.group.member": { +"description": "View and manage group subscriptions on your domain" +}, +"https://www.googleapis.com/auth/admin.directory.group.member.readonly": { +"description": "View group subscriptions on your domain" +}, +"https://www.googleapis.com/auth/admin.directory.group.readonly": { +"description": "View groups on your domain" +}, +"https://www.googleapis.com/auth/admin.directory.orgunit": { +"description": "View and manage organization units on your domain" +}, +"https://www.googleapis.com/auth/admin.directory.orgunit.readonly": { +"description": "View organization units on your domain" +}, +"https://www.googleapis.com/auth/admin.directory.resource.calendar": { +"description": "View and manage the provisioning of calendar resources on your domain" +}, +"https://www.googleapis.com/auth/admin.directory.resource.calendar.readonly": { +"description": "View calendar resources on your domain" +}, +"https://www.googleapis.com/auth/admin.directory.rolemanagement": { +"description": "Manage delegated admin roles for your domain" +}, +"https://www.googleapis.com/auth/admin.directory.rolemanagement.readonly": { +"description": "View delegated admin roles for your domain" +}, +"https://www.googleapis.com/auth/admin.directory.user": { +"description": "View and manage the provisioning of users on your domain" +}, +"https://www.googleapis.com/auth/admin.directory.user.alias": { +"description": "View and manage user aliases on your domain" +}, +"https://www.googleapis.com/auth/admin.directory.user.alias.readonly": { +"description": "View user aliases on your domain" +}, +"https://www.googleapis.com/auth/admin.directory.user.readonly": { +"description": "See info about users on your domain" +}, +"https://www.googleapis.com/auth/admin.directory.user.security": { +"description": "Manage data access permissions for users on your domain" +}, +"https://www.googleapis.com/auth/admin.directory.userschema": { +"description": "View and manage the provisioning of user schemas on your domain" +}, +"https://www.googleapis.com/auth/admin.directory.userschema.readonly": { +"description": "View user schemas on your domain" +}, +"https://www.googleapis.com/auth/cloud-platform": { +"description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." +} +} +} +}, +"basePath": "", +"baseUrl": "https://admin.googleapis.com/", +"batchPath": "batch", +"canonicalName": "directory", +"description": "Admin SDK lets administrators of enterprise domains to view and manage resources like user, groups etc. It also provides audit and usage reports of domain.", +"discoveryVersion": "v1", +"documentationLink": "https://developers.google.com/workspace/admin/", +"fullyEncodeReservedExpansion": true, +"icons": { +"x16": "http://www.google.com/images/icons/product/search-16.gif", +"x32": "http://www.google.com/images/icons/product/search-32.gif" +}, +"id": "admin:directory_v1", +"kind": "discovery#restDescription", +"mtlsRootUrl": "https://admin.mtls.googleapis.com/", +"name": "admin", +"ownerDomain": "google.com", +"ownerName": "Google", +"packagePath": "admin", +"parameters": { +"$.xgafv": { +"description": "V1 error format.", +"enum": [ +"1", +"2" +], +"enumDescriptions": [ +"v1 error format", +"v2 error format" +], +"location": "query", +"type": "string" +}, +"access_token": { +"description": "OAuth access token.", +"location": "query", +"type": "string" +}, +"alt": { +"default": "json", +"description": "Data format for response.", +"enum": [ +"json", +"media", +"proto" +], +"enumDescriptions": [ +"Responses with Content-Type of application/json", +"Media download with context-dependent Content-Type", +"Responses with Content-Type of application/x-protobuf" +], +"location": "query", +"type": "string" +}, +"callback": { +"description": "JSONP", +"location": "query", +"type": "string" +}, +"fields": { +"description": "Selector specifying which fields to include in a partial response.", +"location": "query", +"type": "string" +}, +"key": { +"description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", +"location": "query", +"type": "string" +}, +"oauth_token": { +"description": "OAuth 2.0 token for the current user.", +"location": "query", +"type": "string" +}, +"prettyPrint": { +"default": "true", +"description": "Returns response with indentations and line breaks.", +"location": "query", +"type": "boolean" +}, +"quotaUser": { +"description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.", +"location": "query", +"type": "string" +}, +"uploadType": { +"description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", +"location": "query", +"type": "string" +}, +"upload_protocol": { +"description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", +"location": "query", +"type": "string" +} +}, +"protocol": "rest", +"resources": { +"asps": { +"methods": { +"delete": { +"description": "Deletes an ASP issued by a user.", +"flatPath": "admin/directory/v1/users/{userKey}/asps/{codeId}", +"httpMethod": "DELETE", +"id": "directory.asps.delete", +"parameterOrder": [ +"userKey", +"codeId" +], +"parameters": { +"codeId": { +"description": "The unique ID of the ASP to be deleted.", +"format": "int32", +"location": "path", +"required": true, +"type": "integer" +}, +"userKey": { +"description": "Identifies the user in the API request. The value can be the user's primary email address, alias email address, or unique user ID.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "admin/directory/v1/users/{userKey}/asps/{codeId}", +"scopes": [ +"https://www.googleapis.com/auth/admin.directory.user.security" +] +}, +"get": { +"description": "Gets information about an ASP issued by a user.", +"flatPath": "admin/directory/v1/users/{userKey}/asps/{codeId}", +"httpMethod": "GET", +"id": "directory.asps.get", +"parameterOrder": [ +"userKey", +"codeId" +], +"parameters": { +"codeId": { +"description": "The unique ID of the ASP.", +"format": "int32", +"location": "path", +"required": true, +"type": "integer" +}, +"userKey": { +"description": "Identifies the user in the API request. The value can be the user's primary email address, alias email address, or unique user ID.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "admin/directory/v1/users/{userKey}/asps/{codeId}", +"response": { +"$ref": "Asp" +}, +"scopes": [ +"https://www.googleapis.com/auth/admin.directory.user.security" +] +}, +"list": { +"description": "Lists the ASPs issued by a user.", +"flatPath": "admin/directory/v1/users/{userKey}/asps", +"httpMethod": "GET", +"id": "directory.asps.list", +"parameterOrder": [ +"userKey" +], +"parameters": { +"userKey": { +"description": "Identifies the user in the API request. The value can be the user's primary email address, alias email address, or unique user ID.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "admin/directory/v1/users/{userKey}/asps", +"response": { +"$ref": "Asps" +}, +"scopes": [ +"https://www.googleapis.com/auth/admin.directory.user.security" +] +} +} +}, +"channels": { +"methods": { +"stop": { +"description": "Stops watching resources through this channel.", +"flatPath": "admin/directory_v1/channels/stop", +"httpMethod": "POST", +"id": "admin.channels.stop", +"parameterOrder": [], +"parameters": {}, +"path": "admin/directory_v1/channels/stop", +"request": { +"$ref": "Channel" +}, +"scopes": [ +"https://www.googleapis.com/auth/admin.directory.user", +"https://www.googleapis.com/auth/admin.directory.user.alias", +"https://www.googleapis.com/auth/admin.directory.user.alias.readonly", +"https://www.googleapis.com/auth/admin.directory.user.readonly", +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"chromeosdevices": { +"methods": { +"action": { +"deprecated": true, +"description": "Use [BatchChangeChromeOsDeviceStatus](https://developers.google.com/workspace/admin/directory/reference/rest/v1/customer.devices.chromeos/batchChangeStatus) instead. Takes an action that affects a Chrome OS Device. This includes deprovisioning, disabling, and re-enabling devices. *Warning:* * Deprovisioning a device will stop device policy syncing and remove device-level printers. After a device is deprovisioned, it must be wiped before it can be re-enrolled. * Lost or stolen devices should use the disable action. * Re-enabling a disabled device will consume a device license. If you do not have sufficient licenses available when completing the re-enable action, you will receive an error. For more information about deprovisioning and disabling devices, visit the [help center](https://support.google.com/chrome/a/answer/3523633).", +"flatPath": "admin/directory/v1/customer/{customerId}/devices/chromeos/{resourceId}/action", +"httpMethod": "POST", +"id": "directory.chromeosdevices.action", +"parameterOrder": [ +"customerId", +"resourceId" +], +"parameters": { +"customerId": { +"description": "The unique ID for the customer's Google Workspace account. As an account administrator, you can also use the `my_customer` alias to represent your account's `customerId`. The `customerId` is also returned as part of the [Users resource](https://developers.google.com/workspace/admin/directory/v1/reference/users).", +"location": "path", +"required": true, +"type": "string" +}, +"resourceId": { +"description": "The unique ID of the device. The `resourceId`s are returned in the response from the [chromeosdevices.list](https://developers.google.com/workspace/admin/directory/v1/reference/chromeosdevices/list) method.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "admin/directory/v1/customer/{customerId}/devices/chromeos/{resourceId}/action", +"request": { +"$ref": "ChromeOsDeviceAction" +}, +"scopes": [ +"https://www.googleapis.com/auth/admin.directory.device.chromeos" +] +}, +"get": { +"description": "Retrieves a Chrome OS device's properties.", +"flatPath": "admin/directory/v1/customer/{customerId}/devices/chromeos/{deviceId}", +"httpMethod": "GET", +"id": "directory.chromeosdevices.get", +"parameterOrder": [ +"customerId", +"deviceId" +], +"parameters": { +"customerId": { +"description": "The unique ID for the customer's Google Workspace account. As an account administrator, you can also use the `my_customer` alias to represent your account's `customerId`. The `customerId` is also returned as part of the [Users resource](https://developers.google.com/workspace/admin/directory/v1/reference/users).", +"location": "path", +"required": true, +"type": "string" +}, +"deviceId": { +"description": "The unique ID of the device. The `deviceId`s are returned in the response from the [chromeosdevices.list](https://developers.google.com/workspace/admin/directory/v1/reference/chromeosdevices/list) method.", +"location": "path", +"required": true, +"type": "string" +}, +"projection": { +"description": "Determines whether the response contains the full list of properties or only a subset.", +"enum": [ +"BASIC", +"FULL" +], +"enumDescriptions": [ +"Includes only the basic metadata fields (e.g., deviceId, serialNumber, status, and user)", +"Includes all metadata fields" +], +"location": "query", +"type": "string" +} +}, +"path": "admin/directory/v1/customer/{customerId}/devices/chromeos/{deviceId}", +"response": { +"$ref": "ChromeOsDevice" +}, +"scopes": [ +"https://www.googleapis.com/auth/admin.directory.device.chromeos", +"https://www.googleapis.com/auth/admin.directory.device.chromeos.readonly" +] +}, +"list": { +"description": "Retrieves a paginated list of Chrome OS devices within an account.", +"flatPath": "admin/directory/v1/customer/{customerId}/devices/chromeos", +"httpMethod": "GET", +"id": "directory.chromeosdevices.list", +"parameterOrder": [ +"customerId" +], +"parameters": { +"customerId": { +"description": "The unique ID for the customer's Google Workspace account. As an account administrator, you can also use the `my_customer` alias to represent your account's `customerId`. The `customerId` is also returned as part of the [Users resource](https://developers.google.com/workspace/admin/directory/v1/reference/users).", +"location": "path", +"required": true, +"type": "string" +}, +"includeChildOrgunits": { +"description": "Return devices from all child orgunits, as well as the specified org unit. If this is set to true, 'orgUnitPath' must be provided.", +"location": "query", +"type": "boolean" +}, +"maxResults": { +"default": "100", +"description": "Maximum number of results to return. Value should not exceed 300.", +"format": "int32", +"location": "query", +"minimum": "1", +"type": "integer" +}, +"orderBy": { +"description": "Device property to use for sorting results.", +"enum": [ +"annotatedLocation", +"annotatedUser", +"lastSync", +"notes", +"serialNumber", +"status" +], +"enumDescriptions": [ +"Chrome device location as annotated by the administrator.", +"Chromebook user as annotated by administrator.", +"The date and time the Chrome device was last synchronized with the policy settings in the Admin console.", +"Chrome device notes as annotated by the administrator.", +"The Chrome device serial number entered when the device was enabled.", +"Chrome device status. For more information, see the 312e3200 TPM 2.0: \"2.0\" -> 322e3000", +"type": "string" +}, +"firmwareVersion": { +"description": "TPM firmware version.", +"type": "string" +}, +"manufacturer": { +"description": "TPM manufacturer code.", +"type": "string" +}, +"specLevel": { +"description": "TPM specification level. See Library Specification for TPM 2.0 and Main Specification for TPM 1.2.", +"type": "string" +}, +"tpmModel": { +"description": "TPM model number.", +"type": "string" +}, +"vendorSpecific": { +"description": "Vendor-specific information such as Vendor ID.", +"type": "string" +} +}, +"type": "object" +}, +"willAutoRenew": { +"description": "Determines if the device will auto renew its support after the support end date. This is a read-only property.", +"type": "boolean" +} +}, +"type": "object" +}, +"ChromeOsDeviceAction": { +"description": "Data about an update to the status of a Chrome OS device.", +"id": "ChromeOsDeviceAction", +"properties": { +"action": { +"annotations": { +"required": [ +"directory.chromeosdevices.action" +] +}, +"description": "Action to be taken on the Chrome OS device.", +"type": "string" +}, +"deprovisionReason": { +"description": "Only used when the action is `deprovision`. With the `deprovision` action, this field is required. *Note*: The deprovision reason is audited because it might have implications on licenses for perpetual subscription customers.", +"type": "string" +} +}, +"type": "object" +}, +"ChromeOsDevices": { +"id": "ChromeOsDevices", +"properties": { +"chromeosdevices": { +"description": "A list of Chrome OS Device objects.", +"items": { +"$ref": "ChromeOsDevice" +}, +"type": "array" +}, +"etag": { +"description": "ETag of the resource.", +"type": "string" +}, +"kind": { +"default": "admin#directory#chromeosdevices", +"description": "Kind of resource this is.", +"type": "string" +}, +"nextPageToken": { +"description": "Token used to access the next page of this result. To access the next page, use this token's value in the `pageToken` query string of this request.", +"type": "string" +} +}, +"type": "object" +}, +"ChromeOsMoveDevicesToOu": { +"id": "ChromeOsMoveDevicesToOu", +"properties": { +"deviceIds": { +"annotations": { +"required": [ +"directory.chromeosdevices.moveDevicesToOu" +] +}, +"description": "Chrome OS devices to be moved to OU", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"CountChromeOsDevicesResponse": { +"description": "A response for counting ChromeOS devices.", +"id": "CountChromeOsDevicesResponse", +"properties": { +"count": { +"description": "The total number of devices matching the request.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"CreatePrintServerRequest": { +"description": "Request for adding a new print server.", +"id": "CreatePrintServerRequest", +"properties": { +"parent": { +"description": "Required. The [unique ID](https://developers.google.com/workspace/admin/directory/reference/rest/v1/customers) of the customer's Google Workspace account. Format: `customers/{id}`", +"type": "string" +}, +"printServer": { +"$ref": "PrintServer", +"description": "Required. A print server to create. If you want to place the print server under a specific organizational unit (OU), then populate the `org_unit_id`. Otherwise the print server is created under the root OU. The `org_unit_id` can be retrieved using the [Directory API](https://developers.google.com/workspace/admin/directory/v1/guides/manage-org-units)." +} +}, +"type": "object" +}, +"CreatePrinterRequest": { +"description": "Request for adding a new printer.", +"id": "CreatePrinterRequest", +"properties": { +"parent": { +"description": "Required. The name of the customer. Format: customers/{customer_id}", +"type": "string" +}, +"printer": { +"$ref": "Printer", +"description": "Required. A printer to create. If you want to place the printer under particular OU then populate printer.org_unit_id filed. Otherwise the printer will be placed under root OU." +} +}, +"type": "object" +}, +"Customer": { +"id": "Customer", +"properties": { +"alternateEmail": { +"description": "The customer's secondary contact email address. This email address cannot be on the same domain as the `customerDomain`", +"type": "string" +}, +"customerCreationTime": { +"description": "The customer's creation time (Readonly)", +"format": "date-time", +"type": "string" +}, +"customerDomain": { +"description": "The customer's primary domain name string. Do not include the `www` prefix when creating a new customer.", +"type": "string" +}, +"etag": { +"description": "ETag of the resource.", +"type": "string" +}, +"id": { +"description": "The unique ID for the customer's Google Workspace account. (Readonly)", +"type": "string" +}, +"kind": { +"default": "admin#directory#customer", +"description": "Identifies the resource as a customer. Value: `admin#directory#customer`", +"type": "string" +}, +"language": { +"description": "The customer's ISO 639-2 language code. See the [Language Codes](https://developers.google.com/workspace/admin/directory/v1/languages) page for the list of supported codes. Valid language codes outside the supported set will be accepted by the API but may lead to unexpected behavior. The default value is `en`.", +"type": "string" +}, +"phoneNumber": { +"description": "The customer's contact phone number in [E.164](https://en.wikipedia.org/wiki/E.164) format.", +"type": "string" +}, +"postalAddress": { +"$ref": "CustomerPostalAddress", +"description": "The customer's postal address information." +} +}, +"type": "object" +}, +"CustomerPostalAddress": { +"id": "CustomerPostalAddress", +"properties": { +"addressLine1": { +"description": "A customer's physical address. The address can be composed of one to three lines.", +"type": "string" +}, +"addressLine2": { +"description": "Address line 2 of the address.", +"type": "string" +}, +"addressLine3": { +"description": "Address line 3 of the address.", +"type": "string" +}, +"contactName": { +"description": "The customer contact's name.", +"type": "string" +}, +"countryCode": { +"description": "This is a required property. For `countryCode` information see the [ISO 3166 country code elements](https://www.iso.org/iso/country_codes.htm).", +"type": "string" +}, +"locality": { +"description": "Name of the locality. An example of a locality value is the city of `San Francisco`.", +"type": "string" +}, +"organizationName": { +"description": "The company or company division name.", +"type": "string" +}, +"postalCode": { +"description": "The postal code. A postalCode example is a postal zip code such as `10009`. This is in accordance with - http: //portablecontacts.net/draft-spec.html#address_element.", +"type": "string" +}, +"region": { +"description": "Name of the region. An example of a region value is `NY` for the state of New York.", +"type": "string" +} +}, +"type": "object" +}, +"DirectoryChromeosdevicesCommand": { +"description": "Information regarding a command that was issued to a device.", +"id": "DirectoryChromeosdevicesCommand", +"properties": { +"commandExpireTime": { +"description": "The time at which the command will expire. If the device doesn't execute the command within this time the command will become expired.", +"format": "google-datetime", +"type": "string" +}, +"commandId": { +"description": "Unique ID of a device command.", +"format": "int64", +"type": "string" +}, +"commandResult": { +"$ref": "DirectoryChromeosdevicesCommandResult", +"description": "The result of the command execution." +}, +"issueTime": { +"description": "The timestamp when the command was issued by the admin.", +"format": "google-datetime", +"type": "string" +}, +"payload": { +"description": "The payload that the command specified, if any.", +"type": "string" +}, +"state": { +"description": "Indicates the command state.", +"enum": [ +"STATE_UNSPECIFIED", +"PENDING", +"EXPIRED", +"CANCELLED", +"SENT_TO_CLIENT", +"ACKED_BY_CLIENT", +"EXECUTED_BY_CLIENT" +], +"enumDescriptions": [ +"The command status was unspecified.", +"An unexpired command not yet sent to the client.", +"The command didn't get executed by the client within the expected time.", +"The command is cancelled by admin while in PENDING.", +"The command has been sent to the client.", +"The client has responded that it received the command.", +"The client has (un)successfully executed the command." +], +"type": "string" +}, +"type": { +"description": "The type of the command.", +"enum": [ +"COMMAND_TYPE_UNSPECIFIED", +"REBOOT", +"TAKE_A_SCREENSHOT", +"SET_VOLUME", +"WIPE_USERS", +"REMOTE_POWERWASH", +"DEVICE_START_CRD_SESSION", +"CAPTURE_LOGS", +"FETCH_CRD_AVAILABILITY_INFO", +"FETCH_SUPPORT_PACKET" +], +"enumDescriptions": [ +"The command type was unspecified.", +"Reboot the device. Can be issued to Kiosk and managed guest session devices, and regular devices running ChromeOS version 113 or later.", +"Take a screenshot of the device. Only available if the device is in Kiosk Mode.", +"Set the volume of the device. Can only be issued to Kiosk and managed guest session devices.", +"Wipe all the users off of the device. Executing this command in the device will remove all user profile data, but it will keep device policy and enrollment.", +"Wipes the device by performing a power wash. Executing this command in the device will remove all data including user policies, device policies and enrollment policies. Warning: This will revert the device back to a factory state with no enrollment unless the device is subject to forced or auto enrollment. Use with caution, as this is an irreversible action!", +"Starts a Chrome Remote Desktop session.", +"Capture the system logs of a kiosk device. The logs can be downloaded from the downloadUrl link present in `deviceFiles` field of [chromeosdevices](https://developers.google.com/workspace/admin/directory/reference/rest/v1/chromeosdevices)", +"Fetches available type(s) of Chrome Remote Desktop sessions (private or shared) that can be used to remotely connect to the device.", +"Fetch support packet from a device remotely. Support packet is a zip archive that contains various system logs and debug data from a ChromeOS device. The support packet can be downloaded from the downloadURL link present in the `deviceFiles` field of [`chromeosdevices`](https://developers.google.com/workspace/admin/directory/reference/rest/v1/chromeosdevices)" +], +"type": "string" +} +}, +"type": "object" +}, +"DirectoryChromeosdevicesCommandResult": { +"description": "The result of executing a command.", +"id": "DirectoryChromeosdevicesCommandResult", +"properties": { +"commandResultPayload": { +"description": "The payload for the command result. The following commands respond with a payload: * `DEVICE_START_CRD_SESSION`: Payload is a stringified JSON object in the form: { \"url\": url }. The provided URL links to the Chrome Remote Desktop session and requires authentication using only the `email` associated with the command's issuance. * `FETCH_CRD_AVAILABILITY_INFO`: Payload is a stringified JSON object in the form: { \"deviceIdleTimeInSeconds\": number, \"userSessionType\": string, \"remoteSupportAvailability\": string, \"remoteAccessAvailability\": string }. The \"remoteSupportAvailability\" field is set to \"AVAILABLE\" if `shared` CRD session to the device is available. The \"remoteAccessAvailability\" field is set to \"AVAILABLE\" if `private` CRD session to the device is available.", +"type": "string" +}, +"errorMessage": { +"description": "The error message with a short explanation as to why the command failed. Only present if the command failed.", +"type": "string" +}, +"executeTime": { +"description": "The time at which the command was executed or failed to execute.", +"format": "google-datetime", +"type": "string" +}, +"result": { +"description": "The result of the command.", +"enum": [ +"COMMAND_RESULT_TYPE_UNSPECIFIED", +"IGNORED", +"FAILURE", +"SUCCESS" +], +"enumDescriptions": [ +"The command result was unspecified.", +"The command was ignored as obsolete.", +"The command could not be executed successfully.", +"The command was successfully executed." +], +"type": "string" +} +}, +"type": "object" +}, +"DirectoryChromeosdevicesIssueCommandRequest": { +"description": "A request for issuing a command.", +"id": "DirectoryChromeosdevicesIssueCommandRequest", +"properties": { +"commandType": { +"description": "The type of command.", +"enum": [ +"COMMAND_TYPE_UNSPECIFIED", +"REBOOT", +"TAKE_A_SCREENSHOT", +"SET_VOLUME", +"WIPE_USERS", +"REMOTE_POWERWASH", +"DEVICE_START_CRD_SESSION", +"CAPTURE_LOGS", +"FETCH_CRD_AVAILABILITY_INFO", +"FETCH_SUPPORT_PACKET" +], +"enumDescriptions": [ +"The command type was unspecified.", +"Reboot the device. Can be issued to Kiosk and managed guest session devices, and regular devices running ChromeOS version 113 or later.", +"Take a screenshot of the device. Only available if the device is in Kiosk Mode.", +"Set the volume of the device. Can only be issued to Kiosk and managed guest session devices.", +"Wipe all the users off of the device. Executing this command in the device will remove all user profile data, but it will keep device policy and enrollment.", +"Wipes the device by performing a power wash. Executing this command in the device will remove all data including user policies, device policies and enrollment policies. Warning: This will revert the device back to a factory state with no enrollment unless the device is subject to forced or auto enrollment. Use with caution, as this is an irreversible action!", +"Starts a Chrome Remote Desktop session.", +"Capture the system logs of a kiosk device. The logs can be downloaded from the downloadUrl link present in `deviceFiles` field of [chromeosdevices](https://developers.google.com/workspace/admin/directory/reference/rest/v1/chromeosdevices)", +"Fetches available type(s) of Chrome Remote Desktop sessions (private or shared) that can be used to remotely connect to the device.", +"Fetch support packet from a device remotely. Support packet is a zip archive that contains various system logs and debug data from a ChromeOS device. The support packet can be downloaded from the downloadURL link present in the `deviceFiles` field of [`chromeosdevices`](https://developers.google.com/workspace/admin/directory/reference/rest/v1/chromeosdevices)" +], +"type": "string" +}, +"payload": { +"description": "The payload for the command, provide it only if command supports it. The following commands support adding payload: * `SET_VOLUME`: Payload is a stringified JSON object in the form: { \"volume\": 50 }. The volume has to be an integer in the range [0,100]. * `DEVICE_START_CRD_SESSION`: Payload is optionally a stringified JSON object in the form: { \"ackedUserPresence\": true, \"crdSessionType\": string }. `ackedUserPresence` is a boolean. By default, `ackedUserPresence` is set to `false`. To start a Chrome Remote Desktop session for an active device, set `ackedUserPresence` to `true`. `crdSessionType` can only select from values `private` (which grants the remote admin exclusive control of the ChromeOS device) or `shared` (which allows the admin and the local user to share control of the ChromeOS device). If not set, `crdSessionType` defaults to `shared`. The `FETCH_CRD_AVAILABILITY_INFO` command can be used to determine available session types on the device. * `REBOOT`: Payload is a stringified JSON object in the form: { \"user_session_delay_seconds\": 300 }. The `user_session_delay_seconds` is the amount of seconds to wait before rebooting the device if a user is logged in. It has to be an integer in the range [0,300]. When payload is not present for reboot, 0 delay is the default. Note: This only applies if an actual user is logged in, including a Guest. If the device is in the login screen or in Kiosk mode the value is not respected and the device immediately reboots. * `FETCH_SUPPORT_PACKET`: Payload is optionally a stringified JSON object in the form: {\"supportPacketDetails\":{ \"issueCaseId\": optional_support_case_id_string, \"issueDescription\": optional_issue_description_string, \"requestedDataCollectors\": []}} The list of available `data_collector_enums` are as following: Chrome System Information (1), Crash IDs (2), Memory Details (3), UI Hierarchy (4), Additional ChromeOS Platform Logs (5), Device Event (6), Intel WiFi NICs Debug Dump (7), Touch Events (8), Lacros (9), Lacros System Information (10), ChromeOS Flex Logs (11), DBus Details (12), ChromeOS Network Routes (13), ChromeOS Shill (Connection Manager) Logs (14), Policies (15), ChromeOS System State and Logs (16), ChromeOS System Logs (17), ChromeOS Chrome User Logs (18), ChromeOS Bluetooth (19), ChromeOS Connected Input Devices (20), ChromeOS Traffic Counters (21), ChromeOS Virtual Keyboard (22), ChromeOS Network Health (23). See more details in [help article](https://support.google.com/chrome/a?p=remote-log).", +"type": "string" +} +}, +"type": "object" +}, +"DirectoryChromeosdevicesIssueCommandResponse": { +"description": "A response for issuing a command.", +"id": "DirectoryChromeosdevicesIssueCommandResponse", +"properties": { +"commandId": { +"description": "The unique ID of the issued command, used to retrieve the command status.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"DirectoryUsersCreateGuestRequest": { +"description": "Directory users guest creation request message.", +"id": "DirectoryUsersCreateGuestRequest", +"properties": { +"customer": { +"description": "Optional. Immutable ID of the Google Workspace account.", +"type": "string" +}, +"primaryGuestEmail": { +"description": "Immutable. External email of the guest user being created.", +"type": "string" +} +}, +"type": "object" +}, +"DomainAlias": { +"id": "DomainAlias", +"properties": { +"creationTime": { +"description": "The creation time of the domain alias. (Read-only).", +"format": "int64", +"type": "string" +}, +"domainAliasName": { +"description": "The domain alias name.", +"type": "string" +}, +"etag": { +"description": "ETag of the resource.", +"type": "string" +}, +"kind": { +"default": "admin#directory#domainAlias", +"description": "Kind of resource this is.", +"type": "string" +}, +"parentDomainName": { +"annotations": { +"required": [ +"directory.domains.insert" +] +}, +"description": "The parent domain name that the domain alias is associated with. This can either be a primary or secondary domain name within a customer.", +"type": "string" +}, +"verified": { +"description": "Indicates the verification state of a domain alias. (Read-only)", +"type": "boolean" +} +}, +"type": "object" +}, +"DomainAliases": { +"id": "DomainAliases", +"properties": { +"domainAliases": { +"description": "A list of domain alias objects.", +"items": { +"$ref": "DomainAlias" +}, +"type": "array" +}, +"etag": { +"description": "ETag of the resource.", +"type": "string" +}, +"kind": { +"default": "admin#directory#domainAliases", +"description": "Kind of resource this is.", +"type": "string" +} +}, +"type": "object" +}, +"Domains": { +"id": "Domains", +"properties": { +"creationTime": { +"description": "Creation time of the domain. Expressed in [Unix time](https://en.wikipedia.org/wiki/Epoch_time) format. (Read-only).", +"format": "int64", +"type": "string" +}, +"domainAliases": { +"description": "A list of domain alias objects. (Read-only)", +"items": { +"$ref": "DomainAlias" +}, +"type": "array" +}, +"domainName": { +"annotations": { +"required": [ +"directory.domains.insert" +] +}, +"description": "The domain name of the customer.", +"type": "string" +}, +"etag": { +"description": "ETag of the resource.", +"type": "string" +}, +"isPrimary": { +"description": "Indicates if the domain is a primary domain (Read-only).", +"type": "boolean" +}, +"kind": { +"default": "admin#directory#domain", +"description": "Kind of resource this is.", +"type": "string" +}, +"verified": { +"description": "Indicates the verification state of a domain. (Read-only).", +"type": "boolean" +} +}, +"type": "object" +}, +"Domains2": { +"id": "Domains2", +"properties": { +"domains": { +"description": "A list of domain objects.", +"items": { +"$ref": "Domains" +}, +"type": "array" +}, +"etag": { +"description": "ETag of the resource.", +"type": "string" +}, +"kind": { +"default": "admin#directory#domains", +"description": "Kind of resource this is.", +"type": "string" +} +}, +"type": "object" +}, +"Empty": { +"description": "A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }", +"id": "Empty", +"properties": {}, +"type": "object" +}, +"FailureInfo": { +"description": "Info about failures", +"id": "FailureInfo", +"properties": { +"errorCode": { +"description": "Canonical code for why the update failed to apply.", +"enum": [ +"OK", +"CANCELLED", +"UNKNOWN", +"INVALID_ARGUMENT", +"DEADLINE_EXCEEDED", +"NOT_FOUND", +"ALREADY_EXISTS", +"PERMISSION_DENIED", +"UNAUTHENTICATED", +"RESOURCE_EXHAUSTED", +"FAILED_PRECONDITION", +"ABORTED", +"OUT_OF_RANGE", +"UNIMPLEMENTED", +"INTERNAL", +"UNAVAILABLE", +"DATA_LOSS" +], +"enumDescriptions": [ +"Not an error; returned on success. HTTP Mapping: 200 OK", +"The operation was cancelled, typically by the caller. HTTP Mapping: 499 Client Closed Request", +"Unknown error. For example, this error may be returned when a `Status` value received from another address space belongs to an error space that is not known in this address space. Also errors raised by APIs that do not return enough error information may be converted to this error. HTTP Mapping: 500 Internal Server Error", +"The client specified an invalid argument. Note that this differs from `FAILED_PRECONDITION`. `INVALID_ARGUMENT` indicates arguments that are problematic regardless of the state of the system (e.g., a malformed file name). HTTP Mapping: 400 Bad Request", +"The deadline expired before the operation could complete. For operations that change the state of the system, this error may be returned even if the operation has completed successfully. For example, a successful response from a server could have been delayed long enough for the deadline to expire. HTTP Mapping: 504 Gateway Timeout", +"Some requested entity (e.g., file or directory) was not found. Note to server developers: if a request is denied for an entire class of users, such as gradual feature rollout or undocumented allowlist, `NOT_FOUND` may be used. If a request is denied for some users within a class of users, such as user-based access control, `PERMISSION_DENIED` must be used. HTTP Mapping: 404 Not Found", +"The entity that a client attempted to create (e.g., file or directory) already exists. HTTP Mapping: 409 Conflict", +"The caller does not have permission to execute the specified operation. `PERMISSION_DENIED` must not be used for rejections caused by exhausting some resource (use `RESOURCE_EXHAUSTED` instead for those errors). `PERMISSION_DENIED` must not be used if the caller can not be identified (use `UNAUTHENTICATED` instead for those errors). This error code does not imply the request is valid or the requested entity exists or satisfies other pre-conditions. HTTP Mapping: 403 Forbidden", +"The request does not have valid authentication credentials for the operation. HTTP Mapping: 401 Unauthorized", +"Some resource has been exhausted, perhaps a per-user quota, or perhaps the entire file system is out of space. HTTP Mapping: 429 Too Many Requests", +"The operation was rejected because the system is not in a state required for the operation's execution. For example, the directory to be deleted is non-empty, an rmdir operation is applied to a non-directory, etc. Service implementors can use the following guidelines to decide between `FAILED_PRECONDITION`, `ABORTED`, and `UNAVAILABLE`: (a) Use `UNAVAILABLE` if the client can retry just the failing call. (b) Use `ABORTED` if the client should retry at a higher level. For example, when a client-specified test-and-set fails, indicating the client should restart a read-modify-write sequence. (c) Use `FAILED_PRECONDITION` if the client should not retry until the system state has been explicitly fixed. For example, if an \"rmdir\" fails because the directory is non-empty, `FAILED_PRECONDITION` should be returned since the client should not retry unless the files are deleted from the directory. HTTP Mapping: 400 Bad Request", +"The operation was aborted, typically due to a concurrency issue such as a sequencer check failure or transaction abort. See the guidelines above for deciding between `FAILED_PRECONDITION`, `ABORTED`, and `UNAVAILABLE`. HTTP Mapping: 409 Conflict", +"The operation was attempted past the valid range. E.g., seeking or reading past end-of-file. Unlike `INVALID_ARGUMENT`, this error indicates a problem that may be fixed if the system state changes. For example, a 32-bit file system will generate `INVALID_ARGUMENT` if asked to read at an offset that is not in the range [0,2^32-1], but it will generate `OUT_OF_RANGE` if asked to read from an offset past the current file size. There is a fair bit of overlap between `FAILED_PRECONDITION` and `OUT_OF_RANGE`. We recommend using `OUT_OF_RANGE` (the more specific error) when it applies so that callers who are iterating through a space can easily look for an `OUT_OF_RANGE` error to detect when they are done. HTTP Mapping: 400 Bad Request", +"The operation is not implemented or is not supported/enabled in this service. HTTP Mapping: 501 Not Implemented", +"Internal errors. This means that some invariants expected by the underlying system have been broken. This error code is reserved for serious errors. HTTP Mapping: 500 Internal Server Error", +"The service is currently unavailable. This is most likely a transient condition, which can be corrected by retrying with a backoff. Note that it is not always safe to retry non-idempotent operations. See the guidelines above for deciding between `FAILED_PRECONDITION`, `ABORTED`, and `UNAVAILABLE`. HTTP Mapping: 503 Service Unavailable", +"Unrecoverable data loss or corruption. HTTP Mapping: 500 Internal Server Error" +], +"type": "string" +}, +"errorMessage": { +"description": "Failure reason message.", +"type": "string" +}, +"printer": { +"$ref": "Printer", +"description": "Failed printer." +}, +"printerId": { +"description": "Id of a failed printer.", +"type": "string" +} +}, +"type": "object" +}, +"FanInfo": { +"description": "Information about the device's fan.", +"id": "FanInfo", +"properties": { +"speedRpm": { +"description": "Output only. Fan speed in RPM.", +"format": "int32", +"readOnly": true, +"type": "integer" +} +}, +"type": "object" +}, +"Feature": { +"description": "JSON template for Feature object in Directory API.", +"id": "Feature", +"properties": { +"etags": { +"description": "ETag of the resource.", +"type": "string" +}, +"kind": { +"default": "admin#directory#resources#features#Feature", +"description": "Kind of resource this is.", +"type": "string" +}, +"name": { +"annotations": { +"required": [ +"directory.resources.features.insert" +] +}, +"description": "The name of the feature.", +"type": "string" +} +}, +"type": "object" +}, +"FeatureInstance": { +"description": "JSON template for a feature instance.", +"id": "FeatureInstance", +"properties": { +"feature": { +"$ref": "Feature", +"description": "The feature that this is an instance of. A calendar resource may have multiple instances of a feature." +} +}, +"type": "object" +}, +"FeatureRename": { +"id": "FeatureRename", +"properties": { +"newName": { +"annotations": { +"required": [ +"directory.resources.features.rename" +] +}, +"description": "New name of the feature.", +"type": "string" +} +}, +"type": "object" +}, +"Features": { +"description": "Public API: Resources.features", +"id": "Features", +"properties": { +"etag": { +"description": "ETag of the resource.", +"type": "string" +}, +"features": { +"description": "The Features in this page of results.", +"items": { +"$ref": "Feature" +}, +"type": "array" +}, +"kind": { +"default": "admin#directory#resources#features#featuresList", +"description": "Kind of resource this is.", +"type": "string" +}, +"nextPageToken": { +"description": "The continuation token, used to page through large result sets. Provide this value in a subsequent request to return the next page of results.", +"type": "string" +} +}, +"type": "object" +}, +"Group": { +"description": "Google Groups provide your users the ability to send messages to groups of people using the group's email address. For more information about common tasks, see the [Developer's Guide](https://developers.google.com/workspace/admin/directory/v1/guides/manage-groups). For information about other types of groups, see the [Cloud Identity Groups API documentation](https://cloud.google.com/identity/docs/groups). Note: The user calling the API (or being impersonated by a service account) must have an assigned [role](https://developers.google.com/workspace/admin/directory/v1/guides/manage-roles) that includes Admin API Groups permissions, such as Super Admin or Groups Admin.", +"id": "Group", +"properties": { +"adminCreated": { +"description": "Read-only. Value is `true` if this group was created by an administrator rather than a user.", +"type": "boolean" +}, +"aliases": { +"description": "Read-only. The list of a group's alias email addresses. To add, update, or remove a group's aliases, use the `groups.aliases` methods. If edited in a group's POST or PUT request, the edit is ignored.", +"items": { +"type": "string" +}, +"type": "array" +}, +"description": { +"description": "An extended description to help users determine the purpose of a group. For example, you can include information about who should join the group, the types of messages to send to the group, links to FAQs about the group, or related groups. Maximum length is `4,096` characters.", +"type": "string" +}, +"directMembersCount": { +"description": "The number of users that are direct members of the group. If a group is a member (child) of this group (the parent), members of the child group are not counted in the `directMembersCount` property of the parent group.", +"format": "int64", +"type": "string" +}, +"email": { +"annotations": { +"required": [ +"directory.groups.insert" +] +}, +"description": "The group's email address. If your account has multiple domains, select the appropriate domain for the email address. The `email` must be unique. This property is required when creating a group. Group email addresses are subject to the same character usage rules as usernames, see the [help center](https://support.google.com/a/answer/9193374) for details.", +"type": "string" +}, +"etag": { +"description": "ETag of the resource.", +"type": "string" +}, +"id": { +"description": "Read-only. The unique ID of a group. A group `id` can be used as a group request URI's `groupKey`.", +"type": "string" +}, +"kind": { +"default": "admin#directory#group", +"description": "The type of the API resource. For Groups resources, the value is `admin#directory#group`.", +"type": "string" +}, +"name": { +"description": "The group's display name.", +"type": "string" +}, +"nonEditableAliases": { +"description": "Read-only. The list of the group's non-editable alias email addresses that are outside of the account's primary domain or subdomains. These are functioning email addresses used by the group. This is a read-only property returned in the API's response for a group. If edited in a group's POST or PUT request, the edit is ignored.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GroupAlias": { +"description": "The Directory API manages aliases, which are alternative email addresses.", +"id": "GroupAlias", +"properties": { +"alias": { +"description": "The alias email address.", +"type": "string" +}, +"etag": { +"description": "ETag of the resource.", +"type": "string" +}, +"id": { +"description": "The unique ID of the group.", +"type": "string" +}, +"kind": { +"description": "The type of the API resource. For Alias resources, the value is `admin#directory#alias`.", +"type": "string" +}, +"primaryEmail": { +"description": "The primary email address of the group.", +"type": "string" +} +}, +"type": "object" +}, +"Groups": { +"id": "Groups", +"properties": { +"etag": { +"description": "ETag of the resource.", +"type": "string" +}, +"groups": { +"description": "A list of group objects.", +"items": { +"$ref": "Group" +}, +"type": "array" +}, +"kind": { +"default": "admin#directory#groups", +"description": "Kind of resource this is.", +"type": "string" +}, +"nextPageToken": { +"description": "Token used to access next page of this result.", +"type": "string" +} +}, +"type": "object" +}, +"GuestAccountInfo": { +"description": "Account info specific to Guest users.", +"id": "GuestAccountInfo", +"properties": { +"primaryGuestEmail": { +"description": "Immutable. The guest's external email.", +"type": "string" +} +}, +"type": "object" +}, +"ListPrintServersResponse": { +"id": "ListPrintServersResponse", +"properties": { +"nextPageToken": { +"description": "A token that can be sent as `page_token` in a request to retrieve the next page. If this field is omitted, there are no subsequent pages.", +"type": "string" +}, +"printServers": { +"description": "List of print servers.", +"items": { +"$ref": "PrintServer" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListPrinterModelsResponse": { +"description": "Response for listing allowed printer models.", +"id": "ListPrinterModelsResponse", +"properties": { +"nextPageToken": { +"description": "A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.", +"type": "string" +}, +"printerModels": { +"description": "Printer models that are currently allowed to be configured for ChromeOs. Some printers may be added or removed over time.", +"items": { +"$ref": "PrinterModel" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListPrintersResponse": { +"description": "Response for listing printers.", +"id": "ListPrintersResponse", +"properties": { +"nextPageToken": { +"description": "A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.", +"type": "string" +}, +"printers": { +"description": "List of printers. If `org_unit_id` was given in the request, then only printers visible for this OU will be returned. If `org_unit_id` was not given in the request, then all printers will be returned.", +"items": { +"$ref": "Printer" +}, +"type": "array" +} +}, +"type": "object" +}, +"Member": { +"description": "A Google Groups member can be a user or another group. This member can be inside or outside of your account's domains. For more information about common group member tasks, see the [Developer's Guide](https://developers.google.com/workspace/admin/directory/v1/guides/manage-group-members).", +"id": "Member", +"properties": { +"delivery_settings": { +"description": "Defines mail delivery preferences of member. This field is only supported by `insert`, `update`, and `get` methods.", +"type": "string" +}, +"email": { +"description": "The member's email address. A member can be a user or another group. This property is required when adding a member to a group. The `email` must be unique and cannot be an alias of another group. If the email address is changed, the API automatically reflects the email address changes.", +"type": "string" +}, +"etag": { +"description": "ETag of the resource.", +"type": "string" +}, +"id": { +"description": "The unique ID of the group member. A member `id` can be used as a member request URI's `memberKey`.", +"type": "string" +}, +"kind": { +"default": "admin#directory#member", +"description": "The type of the API resource. For Members resources, the value is `admin#directory#member`.", +"type": "string" +}, +"role": { +"description": "The member's role in a group. The API returns an error for cycles in group memberships. For example, if `group1` is a member of `group2`, `group2` cannot be a member of `group1`. For more information about a member's role, see the [administration help center](https://support.google.com/a/answer/167094).", +"type": "string" +}, +"status": { +"description": "Status of member (Immutable)", +"type": "string" +}, +"type": { +"description": "The type of group member.", +"type": "string" +} +}, +"type": "object" +}, +"Members": { +"id": "Members", +"properties": { +"etag": { +"description": "ETag of the resource.", +"type": "string" +}, +"kind": { +"default": "admin#directory#members", +"description": "Kind of resource this is.", +"type": "string" +}, +"members": { +"description": "A list of member objects.", +"items": { +"$ref": "Member" +}, +"type": "array" +}, +"nextPageToken": { +"description": "Token used to access next page of this result.", +"type": "string" +} +}, +"type": "object" +}, +"MembersHasMember": { +"description": "JSON template for Has Member response in Directory API.", +"id": "MembersHasMember", +"properties": { +"isMember": { +"description": "Output only. Identifies whether the given user is a member of the group. Membership can be direct or nested.", +"readOnly": true, +"type": "boolean" +} +}, +"type": "object" +}, +"MobileDevice": { +"description": "Google Workspace Mobile Management includes Android, [Google Sync](https://support.google.com/a/answer/135937), and iOS devices. For more information about common group mobile device API tasks, see the [Developer's Guide](https://developers.google.com/workspace/admin/directory/v1/guides/manage-mobile-devices.html).", +"id": "MobileDevice", +"properties": { +"adbStatus": { +"description": "Adb (USB debugging) enabled or disabled on device (Read-only)", +"type": "boolean" +}, +"applications": { +"description": "The list of applications installed on an Android mobile device. It is not applicable to Google Sync and iOS devices. The list includes any Android applications that access Google Workspace data. When updating an applications list, it is important to note that updates replace the existing list. If the Android device has two existing applications and the API updates the list with five applications, the is now the updated list of five applications.", +"items": { +"properties": { +"displayName": { +"description": "The application's display name. An example is `Browser`.", +"type": "string" +}, +"packageName": { +"description": "The application's package name. An example is `com.android.browser`.", +"type": "string" +}, +"permission": { +"description": "The list of permissions of this application. These can be either a standard Android permission or one defined by the application, and are found in an application's [Android manifest](https://developer.android.com/guide/topics/manifest/uses-permission-element.html). Examples of a Calendar application's permissions are `READ_CALENDAR`, or `MANAGE_ACCOUNTS`.", +"items": { +"type": "string" +}, +"type": "array" +}, +"versionCode": { +"description": "The application's version code. An example is `13`.", +"format": "int32", +"type": "integer" +}, +"versionName": { +"description": "The application's version name. An example is `3.2-140714`.", +"type": "string" +} +}, +"type": "object" +}, +"type": "array" +}, +"basebandVersion": { +"description": "The device's baseband version.", +"type": "string" +}, +"bootloaderVersion": { +"description": "Mobile Device Bootloader version (Read-only)", +"type": "string" +}, +"brand": { +"description": "Mobile Device Brand (Read-only)", +"type": "string" +}, +"buildNumber": { +"description": "The device's operating system build number.", +"type": "string" +}, +"defaultLanguage": { +"description": "The default locale used on the device.", +"type": "string" +}, +"developerOptionsStatus": { +"description": "Developer options enabled or disabled on device (Read-only)", +"type": "boolean" +}, +"deviceCompromisedStatus": { +"description": "The compromised device status.", +"type": "string" +}, +"deviceId": { +"description": "The serial number for a Google Sync mobile device. For Android and iOS devices, this is a software generated unique identifier.", +"type": "string" +}, +"devicePasswordStatus": { +"description": "DevicePasswordStatus (Read-only)", +"type": "string" +}, +"email": { +"description": "The list of the owner's email addresses. If your application needs the current list of user emails, use the [get](https://developers.google.com/workspace/admin/directory/v1/reference/mobiledevices/get.html) method. For additional information, see the [retrieve a user](https://developers.google.com/workspace/admin/directory/v1/guides/manage-users#get_user) method.", +"items": { +"type": "string" +}, +"type": "array" +}, +"encryptionStatus": { +"description": "Mobile Device Encryption Status (Read-only)", +"type": "string" +}, +"etag": { +"description": "ETag of the resource.", +"type": "string" +}, +"firstSync": { +"description": "Date and time the device was first synchronized with the policy settings in the G Suite administrator control panel (Read-only)", +"format": "date-time", +"type": "string" +}, +"hardware": { +"description": "Mobile Device Hardware (Read-only)", +"type": "string" +}, +"hardwareId": { +"description": "The IMEI/MEID unique identifier for Android hardware. It is not applicable to Google Sync devices. When adding an Android mobile device, this is an optional property. When updating one of these devices, this is a read-only property.", +"type": "string" +}, +"imei": { +"description": "The device's IMEI number.", +"type": "string" +}, +"kernelVersion": { +"description": "The device's kernel version.", +"type": "string" +}, +"kind": { +"default": "admin#directory#mobiledevice", +"description": "The type of the API resource. For Mobiledevices resources, the value is `admin#directory#mobiledevice`.", +"type": "string" +}, +"lastSync": { +"description": "Date and time the device was last synchronized with the policy settings in the G Suite administrator control panel (Read-only)", +"format": "date-time", +"type": "string" +}, +"managedAccountIsOnOwnerProfile": { +"description": "Boolean indicating if this account is on owner/primary profile or not.", +"type": "boolean" +}, +"manufacturer": { +"description": "Mobile Device manufacturer (Read-only)", +"type": "string" +}, +"meid": { +"description": "The device's MEID number.", +"type": "string" +}, +"model": { +"description": "The mobile device's model name, for example Nexus S. This property can be [updated](https://developers.google.com/workspace/admin/directory/v1/reference/mobiledevices/update.html). For more information, see the [Developer's Guide](https://developers.google.com/workspace/admin/directory/v1/guides/manage-mobile=devices#update_mobile_device).", +"type": "string" +}, +"name": { +"description": "The list of the owner's user names. If your application needs the current list of device owner names, use the [get](https://developers.google.com/workspace/admin/directory/v1/reference/mobiledevices/get.html) method. For more information about retrieving mobile device user information, see the [Developer's Guide](https://developers.google.com/workspace/admin/directory/v1/guides/manage-users#get_user).", +"items": { +"type": "string" +}, +"type": "array" +}, +"networkOperator": { +"description": "Mobile Device mobile or network operator (if available) (Read-only)", +"type": "string" +}, +"os": { +"description": "The mobile device's operating system, for example IOS 4.3 or Android 2.3.5. This property can be [updated](https://developers.google.com/workspace/admin/directory/v1/reference/mobiledevices/update.html). For more information, see the [Developer's Guide](https://developers.google.com/workspace/admin/directory/v1/guides/manage-mobile-devices#update_mobile_device).", +"type": "string" +}, +"otherAccountsInfo": { +"description": "The list of accounts added on device (Read-only)", +"items": { +"type": "string" +}, +"type": "array" +}, +"privilege": { +"description": "DMAgentPermission (Read-only)", +"type": "string" +}, +"releaseVersion": { +"description": "Mobile Device release version version (Read-only)", +"type": "string" +}, +"resourceId": { +"description": "The unique ID the API service uses to identify the mobile device.", +"type": "string" +}, +"securityPatchLevel": { +"description": "Mobile Device Security patch level (Read-only)", +"format": "int64", +"type": "string" +}, +"serialNumber": { +"description": "The device's serial number.", +"type": "string" +}, +"status": { +"description": "The device's status.", +"type": "string" +}, +"supportsWorkProfile": { +"description": "Work profile supported on device (Read-only)", +"type": "boolean" +}, +"type": { +"description": "The type of mobile device.", +"type": "string" +}, +"unknownSourcesStatus": { +"description": "Unknown sources enabled or disabled on device (Read-only)", +"type": "boolean" +}, +"userAgent": { +"description": "Gives information about the device such as `os` version. This property can be [updated](https://developers.google.com/workspace/admin/directory/v1/reference/mobiledevices/update.html). For more information, see the [Developer's Guide](https://developers.google.com/workspace/admin/directory/v1/guides/manage-mobile-devices#update_mobile_device).", +"type": "string" +}, +"wifiMacAddress": { +"description": "The device's MAC address on Wi-Fi networks.", +"type": "string" +} +}, +"type": "object" +}, +"MobileDeviceAction": { +"id": "MobileDeviceAction", +"properties": { +"action": { +"annotations": { +"required": [ +"directory.mobiledevices.action" +] +}, +"description": "The action to be performed on the device.", +"type": "string" +} +}, +"type": "object" +}, +"MobileDevices": { +"id": "MobileDevices", +"properties": { +"etag": { +"description": "ETag of the resource.", +"type": "string" +}, +"kind": { +"default": "admin#directory#mobiledevices", +"description": "Kind of resource this is.", +"type": "string" +}, +"mobiledevices": { +"description": "A list of Mobile Device objects.", +"items": { +"$ref": "MobileDevice" +}, +"type": "array" +}, +"nextPageToken": { +"description": "Token used to access next page of this result.", +"type": "string" +} +}, +"type": "object" +}, +"OrgUnit": { +"description": "Managing your account's organizational units allows you to configure your users' access to services and custom settings. For more information about common organizational unit tasks, see the [Developer's Guide](https://developers.google.com/workspace/admin/directory/v1/guides/manage-org-units.html). The customer's organizational unit hierarchy is limited to 35 levels of depth.", +"id": "OrgUnit", +"properties": { +"blockInheritance": { +"deprecated": true, +"description": "This field is deprecated and setting its value has no effect.", +"type": "boolean" +}, +"description": { +"description": "Description of the organizational unit.", +"type": "string" +}, +"etag": { +"description": "ETag of the resource.", +"type": "string" +}, +"kind": { +"default": "admin#directory#orgUnit", +"description": "The type of the API resource. For Orgunits resources, the value is `admin#directory#orgUnit`.", +"type": "string" +}, +"name": { +"annotations": { +"required": [ +"directory.orgunits.insert" +] +}, +"description": "The organizational unit's path name. For example, an organizational unit's name within the /corp/support/sales_support parent path is sales_support. Required.", +"type": "string" +}, +"orgUnitId": { +"description": "The unique ID of the organizational unit.", +"type": "string" +}, +"orgUnitPath": { +"description": "The full path to the organizational unit. The `orgUnitPath` is a derived property. When listed, it is derived from `parentOrgunitPath` and organizational unit's `name`. For example, for an organizational unit named 'apps' under parent organization '/engineering', the orgUnitPath is '/engineering/apps'. In order to edit an `orgUnitPath`, either update the name of the organization or the `parentOrgunitPath`. A user's organizational unit determines which Google Workspace services the user has access to. If the user is moved to a new organization, the user's access changes. For more information about organization structures, see the [administration help center](https://support.google.com/a/answer/4352075). For more information about moving a user to a different organization, see [Update a user](https://developers.google.com/workspace/admin/directory/v1/guides/manage-users.html#update_user).", +"type": "string" +}, +"parentOrgUnitId": { +"description": "The unique ID of the parent organizational unit. Required, unless `parentOrgUnitPath` is set.", +"type": "string" +}, +"parentOrgUnitPath": { +"description": "The organizational unit's parent path. For example, /corp/sales is the parent path for /corp/sales/sales_support organizational unit. Required, unless `parentOrgUnitId` is set.", +"type": "string" +} +}, +"type": "object" +}, +"OrgUnits": { +"id": "OrgUnits", +"properties": { +"etag": { +"description": "ETag of the resource.", +"type": "string" +}, +"kind": { +"default": "admin#directory#orgUnits", +"description": "The type of the API resource. For Org Unit resources, the type is `admin#directory#orgUnits`.", +"type": "string" +}, +"organizationUnits": { +"description": "A list of organizational unit objects.", +"items": { +"$ref": "OrgUnit" +}, +"type": "array" +} +}, +"type": "object" +}, +"OsUpdateStatus": { +"description": "Contains information regarding the current OS update status.", +"id": "OsUpdateStatus", +"properties": { +"rebootTime": { +"description": "Date and time of the last reboot.", +"type": "string" +}, +"state": { +"description": "The update state of an OS update.", +"enum": [ +"updateStateUnspecified", +"updateStateNotStarted", +"updateStateDownloadInProgress", +"updateStateNeedReboot" +], +"enumDescriptions": [ +"The update state is unspecified.", +"There is an update pending but it hasn't started.", +"The pending update is being downloaded.", +"The device is ready to install the update, but must reboot." +], +"type": "string" +}, +"targetKioskAppVersion": { +"description": "New required platform version from the pending updated kiosk app.", +"type": "string" +}, +"targetOsVersion": { +"description": "New platform version of the OS image being downloaded and applied. It is only set when update status is UPDATE_STATUS_DOWNLOAD_IN_PROGRESS or UPDATE_STATUS_NEED_REBOOT. Note this could be a dummy \"0.0.0.0\" for UPDATE_STATUS_NEED_REBOOT for some edge cases, e.g. update engine is restarted without a reboot.", +"type": "string" +}, +"updateCheckTime": { +"description": "Date and time of the last update check.", +"type": "string" +}, +"updateTime": { +"description": "Date and time of the last successful OS update.", +"type": "string" +} +}, +"type": "object" +}, +"PrintServer": { +"description": "Configuration for a print server.", +"id": "PrintServer", +"properties": { +"createTime": { +"description": "Output only. Time when the print server was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"description": { +"description": "Editable. Description of the print server (as shown in the Admin console).", +"type": "string" +}, +"displayName": { +"description": "Editable. Display name of the print server (as shown in the Admin console).", +"type": "string" +}, +"id": { +"description": "Immutable. ID of the print server. Leave empty when creating.", +"type": "string" +}, +"name": { +"description": "Identifier. Resource name of the print server. Leave empty when creating. Format: `customers/{customer.id}/printServers/{print_server.id}`", +"type": "string" +}, +"orgUnitId": { +"description": "ID of the organization unit (OU) that owns this print server. This value can only be set when the print server is initially created. If it's not populated, the print server is placed under the root OU. The `org_unit_id` can be retrieved using the [Directory API](https://developers.google.com/workspace/admin/directory/reference/rest/v1/orgunits).", +"type": "string" +}, +"uri": { +"description": "Editable. Print server URI.", +"type": "string" +} +}, +"type": "object" +}, +"PrintServerFailureInfo": { +"description": "Info about failures", +"id": "PrintServerFailureInfo", +"properties": { +"errorCode": { +"description": "Canonical code for why the update failed to apply.", +"enum": [ +"OK", +"CANCELLED", +"UNKNOWN", +"INVALID_ARGUMENT", +"DEADLINE_EXCEEDED", +"NOT_FOUND", +"ALREADY_EXISTS", +"PERMISSION_DENIED", +"UNAUTHENTICATED", +"RESOURCE_EXHAUSTED", +"FAILED_PRECONDITION", +"ABORTED", +"OUT_OF_RANGE", +"UNIMPLEMENTED", +"INTERNAL", +"UNAVAILABLE", +"DATA_LOSS" +], +"enumDescriptions": [ +"Not an error; returned on success. HTTP Mapping: 200 OK", +"The operation was cancelled, typically by the caller. HTTP Mapping: 499 Client Closed Request", +"Unknown error. For example, this error may be returned when a `Status` value received from another address space belongs to an error space that is not known in this address space. Also errors raised by APIs that do not return enough error information may be converted to this error. HTTP Mapping: 500 Internal Server Error", +"The client specified an invalid argument. Note that this differs from `FAILED_PRECONDITION`. `INVALID_ARGUMENT` indicates arguments that are problematic regardless of the state of the system (e.g., a malformed file name). HTTP Mapping: 400 Bad Request", +"The deadline expired before the operation could complete. For operations that change the state of the system, this error may be returned even if the operation has completed successfully. For example, a successful response from a server could have been delayed long enough for the deadline to expire. HTTP Mapping: 504 Gateway Timeout", +"Some requested entity (e.g., file or directory) was not found. Note to server developers: if a request is denied for an entire class of users, such as gradual feature rollout or undocumented allowlist, `NOT_FOUND` may be used. If a request is denied for some users within a class of users, such as user-based access control, `PERMISSION_DENIED` must be used. HTTP Mapping: 404 Not Found", +"The entity that a client attempted to create (e.g., file or directory) already exists. HTTP Mapping: 409 Conflict", +"The caller does not have permission to execute the specified operation. `PERMISSION_DENIED` must not be used for rejections caused by exhausting some resource (use `RESOURCE_EXHAUSTED` instead for those errors). `PERMISSION_DENIED` must not be used if the caller can not be identified (use `UNAUTHENTICATED` instead for those errors). This error code does not imply the request is valid or the requested entity exists or satisfies other pre-conditions. HTTP Mapping: 403 Forbidden", +"The request does not have valid authentication credentials for the operation. HTTP Mapping: 401 Unauthorized", +"Some resource has been exhausted, perhaps a per-user quota, or perhaps the entire file system is out of space. HTTP Mapping: 429 Too Many Requests", +"The operation was rejected because the system is not in a state required for the operation's execution. For example, the directory to be deleted is non-empty, an rmdir operation is applied to a non-directory, etc. Service implementors can use the following guidelines to decide between `FAILED_PRECONDITION`, `ABORTED`, and `UNAVAILABLE`: (a) Use `UNAVAILABLE` if the client can retry just the failing call. (b) Use `ABORTED` if the client should retry at a higher level. For example, when a client-specified test-and-set fails, indicating the client should restart a read-modify-write sequence. (c) Use `FAILED_PRECONDITION` if the client should not retry until the system state has been explicitly fixed. For example, if an \"rmdir\" fails because the directory is non-empty, `FAILED_PRECONDITION` should be returned since the client should not retry unless the files are deleted from the directory. HTTP Mapping: 400 Bad Request", +"The operation was aborted, typically due to a concurrency issue such as a sequencer check failure or transaction abort. See the guidelines above for deciding between `FAILED_PRECONDITION`, `ABORTED`, and `UNAVAILABLE`. HTTP Mapping: 409 Conflict", +"The operation was attempted past the valid range. E.g., seeking or reading past end-of-file. Unlike `INVALID_ARGUMENT`, this error indicates a problem that may be fixed if the system state changes. For example, a 32-bit file system will generate `INVALID_ARGUMENT` if asked to read at an offset that is not in the range [0,2^32-1], but it will generate `OUT_OF_RANGE` if asked to read from an offset past the current file size. There is a fair bit of overlap between `FAILED_PRECONDITION` and `OUT_OF_RANGE`. We recommend using `OUT_OF_RANGE` (the more specific error) when it applies so that callers who are iterating through a space can easily look for an `OUT_OF_RANGE` error to detect when they are done. HTTP Mapping: 400 Bad Request", +"The operation is not implemented or is not supported/enabled in this service. HTTP Mapping: 501 Not Implemented", +"Internal errors. This means that some invariants expected by the underlying system have been broken. This error code is reserved for serious errors. HTTP Mapping: 500 Internal Server Error", +"The service is currently unavailable. This is most likely a transient condition, which can be corrected by retrying with a backoff. Note that it is not always safe to retry non-idempotent operations. See the guidelines above for deciding between `FAILED_PRECONDITION`, `ABORTED`, and `UNAVAILABLE`. HTTP Mapping: 503 Service Unavailable", +"Unrecoverable data loss or corruption. HTTP Mapping: 500 Internal Server Error" +], +"type": "string" +}, +"errorMessage": { +"description": "Failure reason message.", +"type": "string" +}, +"printServer": { +"$ref": "PrintServer", +"description": "Failed print server." +}, +"printServerId": { +"description": "ID of a failed print server.", +"type": "string" +} +}, +"type": "object" +}, +"Printer": { +"description": "Printer configuration.", +"id": "Printer", +"properties": { +"auxiliaryMessages": { +"description": "Output only. Auxiliary messages about issues with the printer configuration if any.", +"items": { +"$ref": "AuxiliaryMessage" +}, +"readOnly": true, +"type": "array" +}, +"createTime": { +"description": "Output only. Time when printer was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"description": { +"description": "Editable. Description of printer.", +"type": "string" +}, +"displayName": { +"description": "Editable. Name of printer.", +"type": "string" +}, +"id": { +"description": "Id of the printer. (During printer creation leave empty)", +"type": "string" +}, +"makeAndModel": { +"description": "Editable. Make and model of printer. e.g. Lexmark MS610de Value must be in format as seen in ListPrinterModels response.", +"type": "string" +}, +"name": { +"description": "Identifier. The resource name of the Printer object, in the format customers/{customer-id}/printers/{printer-id} (During printer creation leave empty)", +"type": "string" +}, +"orgUnitId": { +"description": "Organization Unit that owns this printer (Only can be set during Printer creation)", +"type": "string" +}, +"uri": { +"description": "Editable. Printer URI.", +"type": "string" +}, +"useDriverlessConfig": { +"description": "Editable. flag to use driverless configuration or not. If it's set to be true, make_and_model can be ignored", +"type": "boolean" +} +}, +"type": "object" +}, +"PrinterModel": { +"description": "Printer manufacturer and model", +"id": "PrinterModel", +"properties": { +"displayName": { +"description": "Display name. eq. \"Brother MFC-8840D\"", +"type": "string" +}, +"makeAndModel": { +"description": "Make and model as represented in \"make_and_model\" field in Printer object. eq. \"brother mfc-8840d\"", +"type": "string" +}, +"manufacturer": { +"description": "Manufacturer. eq. \"Brother\"", +"type": "string" +} +}, +"type": "object" +}, +"Privilege": { +"id": "Privilege", +"properties": { +"childPrivileges": { +"description": "A list of child privileges. Privileges for a service form a tree. Each privilege can have a list of child privileges; this list is empty for a leaf privilege.", +"items": { +"$ref": "Privilege" +}, +"type": "array" +}, +"etag": { +"description": "ETag of the resource.", +"type": "string" +}, +"isOuScopable": { +"description": "If the privilege can be restricted to an organization unit.", +"type": "boolean" +}, +"kind": { +"default": "admin#directory#privilege", +"description": "The type of the API resource. This is always `admin#directory#privilege`.", +"type": "string" +}, +"privilegeName": { +"description": "The name of the privilege.", +"type": "string" +}, +"serviceId": { +"description": "The obfuscated ID of the service this privilege is for. This value is returned with [`Privileges.list()`](https://developers.google.com/workspace/admin/directory/v1/reference/privileges/list).", +"type": "string" +}, +"serviceName": { +"description": "The name of the service this privilege is for.", +"type": "string" +} +}, +"type": "object" +}, +"Privileges": { +"id": "Privileges", +"properties": { +"etag": { +"description": "ETag of the resource.", +"type": "string" +}, +"items": { +"description": "A list of Privilege resources.", +"items": { +"$ref": "Privilege" +}, +"type": "array" +}, +"kind": { +"default": "admin#directory#privileges", +"description": "The type of the API resource. This is always `admin#directory#privileges`.", +"type": "string" +} +}, +"type": "object" +}, +"Role": { +"id": "Role", +"properties": { +"etag": { +"description": "ETag of the resource.", +"type": "string" +}, +"isSuperAdminRole": { +"description": "Returns `true` if the role is a super admin role.", +"type": "boolean" +}, +"isSystemRole": { +"description": "Returns `true` if this is a pre-defined system role.", +"type": "boolean" +}, +"kind": { +"default": "admin#directory#role", +"description": "The type of the API resource. This is always `admin#directory#role`.", +"type": "string" +}, +"roleDescription": { +"description": "A short description of the role.", +"type": "string" +}, +"roleId": { +"description": "ID of the role.", +"format": "int64", +"type": "string" +}, +"roleName": { +"annotations": { +"required": [ +"directory.roles.insert" +] +}, +"description": "Name of the role.", +"type": "string" +}, +"rolePrivileges": { +"annotations": { +"required": [ +"directory.roles.insert" +] +}, +"description": "The set of privileges that are granted to this role.", +"items": { +"properties": { +"privilegeName": { +"description": "The name of the privilege.", +"type": "string" +}, +"serviceId": { +"description": "The obfuscated ID of the service this privilege is for. This value is returned with [`Privileges.list()`](https://developers.google.com/workspace/admin/directory/v1/reference/privileges/list).", +"type": "string" +} +}, +"type": "object" +}, +"type": "array" +} +}, +"type": "object" +}, +"RoleAssignment": { +"description": "Defines an assignment of a role.", +"id": "RoleAssignment", +"properties": { +"assignedTo": { +"description": "The unique ID of the entity this role is assigned to\u2014either the `user_id` of a user, the `group_id` of a group, or the `uniqueId` of a service account as defined in [Identity and Access Management (IAM)](https://cloud.google.com/iam/docs/reference/rest/v1/projects.serviceAccounts).", +"type": "string" +}, +"assigneeType": { +"description": "Output only. The type of the assignee (`USER` or `GROUP`).", +"enum": [ +"user", +"group" +], +"enumDescriptions": [ +"An individual user within the domain.", +"A group within the domain." +], +"readOnly": true, +"type": "string" +}, +"condition": { +"description": "Optional. The condition associated with this role assignment. Note: Feature is available to Enterprise Standard, Enterprise Plus, Google Workspace for Education Plus and Cloud Identity Premium customers. A `RoleAssignment` with the `condition` field set will only take effect when the resource being accessed meets the condition. If `condition` is empty, the role (`role_id`) is applied to the actor (`assigned_to`) at the scope (`scope_type`) unconditionally. Currently, the following conditions are supported: - To make the `RoleAssignment` only applicable to [Security Groups](https://cloud.google.com/identity/docs/groups#group_types): `api.getAttribute('cloudidentity.googleapis.com/groups.labels', []).hasAny(['groups.security']) && resource.type == 'cloudidentity.googleapis.com/Group'` - To make the `RoleAssignment` not applicable to [Security Groups](https://cloud.google.com/identity/docs/groups#group_types): `!api.getAttribute('cloudidentity.googleapis.com/groups.labels', []).hasAny(['groups.security']) && resource.type == 'cloudidentity.googleapis.com/Group'` Currently, the condition strings have to be verbatim and they only work with the following [pre-built administrator roles](https://support.google.com/a/answer/2405986): - Groups Editor - Groups Reader The condition follows [Cloud IAM condition syntax](https://cloud.google.com/iam/docs/conditions-overview). - To make the `RoleAssignment` not applicable to [Locked Groups](https://cloud.google.com/identity/docs/groups#group_types): `!api.getAttribute('cloudidentity.googleapis.com/groups.labels', []).hasAny(['groups.locked']) && resource.type == 'cloudidentity.googleapis.com/Group'` This condition can also be used in conjunction with a Security-related condition.", +"type": "string" +}, +"etag": { +"description": "ETag of the resource.", +"type": "string" +}, +"kind": { +"default": "admin#directory#roleAssignment", +"description": "The type of the API resource. This is always `admin#directory#roleAssignment`.", +"type": "string" +}, +"orgUnitId": { +"description": "If the role is restricted to an organization unit, this contains the ID for the organization unit the exercise of this role is restricted to.", +"type": "string" +}, +"roleAssignmentId": { +"description": "ID of this roleAssignment.", +"format": "int64", +"type": "string" +}, +"roleId": { +"description": "The ID of the role that is assigned.", +"format": "int64", +"type": "string" +}, +"scopeType": { +"description": "The scope in which this role is assigned.", +"type": "string" +} +}, +"type": "object" +}, +"RoleAssignments": { +"id": "RoleAssignments", +"properties": { +"etag": { +"description": "ETag of the resource.", +"type": "string" +}, +"items": { +"description": "A list of RoleAssignment resources.", +"items": { +"$ref": "RoleAssignment" +}, +"type": "array" +}, +"kind": { +"default": "admin#directory#roleAssignments", +"description": "The type of the API resource. This is always `admin#directory#roleAssignments`.", +"type": "string" +}, +"nextPageToken": { +"type": "string" +} +}, +"type": "object" +}, +"Roles": { +"id": "Roles", +"properties": { +"etag": { +"description": "ETag of the resource.", +"type": "string" +}, +"items": { +"description": "A list of Role resources.", +"items": { +"$ref": "Role" +}, +"type": "array" +}, +"kind": { +"default": "admin#directory#roles", +"description": "The type of the API resource. This is always `admin#directory#roles`.", +"type": "string" +}, +"nextPageToken": { +"type": "string" +} +}, +"type": "object" +}, +"Schema": { +"description": "The type of API resource. For Schema resources, this is always `admin#directory#schema`.", +"id": "Schema", +"properties": { +"displayName": { +"annotations": { +"required": [ +"directory.schemas.insert" +] +}, +"description": "Display name for the schema.", +"type": "string" +}, +"etag": { +"description": "The ETag of the resource.", +"type": "string" +}, +"fields": { +"annotations": { +"required": [ +"directory.schemas.insert", +"directory.schemas.update" +] +}, +"description": "A list of fields in the schema.", +"items": { +"$ref": "SchemaFieldSpec" +}, +"type": "array" +}, +"kind": { +"default": "admin#directory#schema", +"description": "Kind of resource this is.", +"type": "string" +}, +"schemaId": { +"description": "The unique identifier of the schema (Read-only)", +"type": "string" +}, +"schemaName": { +"annotations": { +"required": [ +"directory.schemas.insert" +] +}, +"description": "The schema's name. Each `schema_name` must be unique within a customer. Reusing a name results in a `409: Entity already exists` error.", +"type": "string" +} +}, +"type": "object" +}, +"SchemaFieldSpec": { +"description": "You can use schemas to add custom fields to user profiles. You can use these fields to store information such as the projects your users work on, their physical locations, their hire dates, or whatever else fits your business needs. For more information, see [Custom User Fields](https://developers.google.com/workspace/admin/directory/v1/guides/manage-schemas).", +"id": "SchemaFieldSpec", +"properties": { +"displayName": { +"annotations": { +"required": [ +"directory.schemas.insert", +"directory.schemas.update" +] +}, +"description": "Display Name of the field.", +"type": "string" +}, +"etag": { +"description": "The ETag of the field.", +"type": "string" +}, +"fieldId": { +"description": "The unique identifier of the field (Read-only)", +"type": "string" +}, +"fieldName": { +"annotations": { +"required": [ +"directory.schemas.insert", +"directory.schemas.update" +] +}, +"description": "The name of the field.", +"type": "string" +}, +"fieldType": { +"annotations": { +"required": [ +"directory.schemas.insert", +"directory.schemas.update" +] +}, +"description": "The type of the field.", +"type": "string" +}, +"indexed": { +"default": "true", +"description": "Boolean specifying whether the field is indexed or not. Default: `true`.", +"type": "boolean" +}, +"kind": { +"default": "admin#directory#schema#fieldspec", +"description": "The kind of resource this is. For schema fields this is always `admin#directory#schema#fieldspec`.", +"type": "string" +}, +"multiValued": { +"description": "A boolean specifying whether this is a multi-valued field or not. Default: `false`.", +"type": "boolean" +}, +"numericIndexingSpec": { +"description": "Indexing spec for a numeric field. By default, only exact match queries will be supported for numeric fields. Setting the `numericIndexingSpec` allows range queries to be supported.", +"properties": { +"maxValue": { +"description": "Maximum value of this field. This is meant to be indicative rather than enforced. Values outside this range will still be indexed, but search may not be as performant.", +"format": "double", +"type": "number" +}, +"minValue": { +"description": "Minimum value of this field. This is meant to be indicative rather than enforced. Values outside this range will still be indexed, but search may not be as performant.", +"format": "double", +"type": "number" +} +}, +"type": "object" +}, +"readAccessType": { +"default": "ALL_DOMAIN_USERS", +"description": "Specifies who can view values of this field. See [Retrieve users as a non-administrator](https://developers.google.com/workspace/admin/directory/v1/guides/manage-users#retrieve_users_non_admin) for more information. Note: It may take up to 24 hours for changes to this field to be reflected.", +"type": "string" +} +}, +"type": "object" +}, +"Schemas": { +"description": "JSON response template for List Schema operation in Directory API.", +"id": "Schemas", +"properties": { +"etag": { +"description": "ETag of the resource.", +"type": "string" +}, +"kind": { +"default": "admin#directory#schemas", +"description": "Kind of resource this is.", +"type": "string" +}, +"schemas": { +"description": "A list of UserSchema objects.", +"items": { +"$ref": "Schema" +}, +"type": "array" +} +}, +"type": "object" +}, +"Status": { +"description": "The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors).", +"id": "Status", +"properties": { +"code": { +"description": "The status code, which should be an enum value of google.rpc.Code.", +"format": "int32", +"type": "integer" +}, +"details": { +"description": "A list of messages that carry the error details. There is a common set of message types for APIs to use.", +"items": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.", +"type": "string" +} +}, +"type": "object" +}, +"Token": { +"description": "JSON template for token resource in Directory API.", +"id": "Token", +"properties": { +"anonymous": { +"description": "Whether the application is registered with Google. The value is `true` if the application has an anonymous Client ID.", +"type": "boolean" +}, +"clientId": { +"description": "The Client ID of the application the token is issued to.", +"type": "string" +}, +"displayText": { +"description": "The displayable name of the application the token is issued to.", +"type": "string" +}, +"etag": { +"description": "ETag of the resource.", +"type": "string" +}, +"kind": { +"default": "admin#directory#token", +"description": "The type of the API resource. This is always `admin#directory#token`.", +"type": "string" +}, +"nativeApp": { +"description": "Whether the token is issued to an installed application. The value is `true` if the application is installed to a desktop or mobile device.", +"type": "boolean" +}, +"scopes": { +"description": "A list of authorization scopes the application is granted.", +"items": { +"type": "string" +}, +"type": "array" +}, +"userKey": { +"description": "The unique ID of the user that issued the token.", +"type": "string" +} +}, +"type": "object" +}, +"Tokens": { +"description": "JSON response template for List tokens operation in Directory API.", +"id": "Tokens", +"properties": { +"etag": { +"description": "ETag of the resource.", +"type": "string" +}, +"items": { +"description": "A list of Token resources.", +"items": { +"$ref": "Token" +}, +"type": "array" +}, +"kind": { +"default": "admin#directory#tokenList", +"description": "The type of the API resource. This is always `admin#directory#tokenList`.", +"type": "string" +} +}, +"type": "object" +}, +"User": { +"description": "The Directory API allows you to create and manage your account's users, user aliases, and user Google profile photos. For more information about common tasks, see the [User Accounts Developer's Guide](https://developers.google.com/workspace/admin/directory/v1/guides/manage-users.html) and the [User Aliases Developer's Guide](https://developers.google.com/workspace/admin/directory/v1/guides/manage-user-aliases.html).", +"id": "User", +"properties": { +"addresses": { +"description": "The list of the user's addresses. The maximum allowed data size for this field is 10KB.", +"type": "any" +}, +"agreedToTerms": { +"description": "Output only. This property is `true` if the user has completed an initial login and accepted the Terms of Service agreement.", +"readOnly": true, +"type": "boolean" +}, +"aliases": { +"description": "Output only. The list of the user's alias email addresses.", +"items": { +"type": "string" +}, +"readOnly": true, +"type": "array" +}, +"archived": { +"description": "Indicates if user is archived.", +"type": "boolean" +}, +"changePasswordAtNextLogin": { +"description": "Indicates if the user is forced to change their password at next login. This setting doesn't apply when [the user signs in via a third-party identity provider](https://support.google.com/a/answer/60224).", +"type": "boolean" +}, +"creationTime": { +"description": "User's G Suite account creation time. (Read-only)", +"format": "date-time", +"readOnly": true, +"type": "string" +}, +"customSchemas": { +"additionalProperties": { +"$ref": "UserCustomProperties" +}, +"description": "Custom fields of the user. The key is a `schema_name` and its values are `'field_name': 'field_value'`.", +"type": "object" +}, +"customerId": { +"description": "Output only. The customer ID to [retrieve all account users](https://developers.google.com/workspace/admin/directory/v1/guides/manage-users.html#get_all_users). You can use the alias `my_customer` to represent your account's `customerId`. As a reseller administrator, you can use the resold customer account's `customerId`. To get a `customerId`, use the account's primary domain in the `domain` parameter of a [users.list](https://developers.google.com/workspace/admin/directory/v1/reference/users/list) request.", +"readOnly": true, +"type": "string" +}, +"deletionTime": { +"format": "date-time", +"readOnly": true, +"type": "string" +}, +"emails": { +"description": "The list of the user's email addresses. The maximum allowed data size for this field is 10KB. This excludes `publicKeyEncryptionCertificates`.", +"type": "any" +}, +"etag": { +"description": "Output only. ETag of the resource.", +"readOnly": true, +"type": "string" +}, +"externalIds": { +"description": "The list of external IDs for the user, such as an employee or network ID. The maximum allowed data size for this field is 2KB.", +"type": "any" +}, +"gender": { +"description": "The user's gender. The maximum allowed data size for this field is 1KB.", +"type": "any" +}, +"guestAccountInfo": { +"$ref": "GuestAccountInfo", +"description": "Immutable. Additional guest-related metadata fields" +}, +"hashFunction": { +"description": "Stores the hash format of the `password` property. The following `hashFunction` values are allowed: * `MD5` - Accepts simple hex-encoded values. * `SHA-1` - Accepts simple hex-encoded values. * `crypt` - Compliant with the [C crypt library](https://en.wikipedia.org/wiki/Crypt_%28C%29). Supports the DES, MD5 (hash prefix `$1$`), SHA-256 (hash prefix `$5$`), and SHA-512 (hash prefix `$6$`) hash algorithms. If rounds are specified as part of the prefix, they must be 10,000 or fewer.", +"type": "string" +}, +"id": { +"description": "The unique ID for the user. A user `id` can be used as a user request URI's `userKey`.", +"type": "string" +}, +"ims": { +"description": "The list of the user's Instant Messenger (IM) accounts. A user account can have multiple ims properties. But, only one of these ims properties can be the primary IM contact. The maximum allowed data size for this field is 2KB.", +"type": "any" +}, +"includeInGlobalAddressList": { +"description": "Indicates if the user's profile is visible in the Google Workspace global address list when the contact sharing feature is enabled for the domain. For more information about excluding user profiles, see the [administration help center](https://support.google.com/a/answer/1285988).", +"type": "boolean" +}, +"ipWhitelisted": { +"description": "If `true`, the user's IP address is subject to a deprecated IP address [`allowlist`](https://support.google.com/a/answer/60752) configuration.", +"type": "boolean" +}, +"isAdmin": { +"description": "Output only. Indicates a user with super administrator privileges. The `isAdmin` property can only be edited in the [Make a user an administrator](https://developers.google.com/workspace/admin/directory/v1/guides/manage-users.html#make_admin) operation ( [makeAdmin](https://developers.google.com/workspace/admin/directory/v1/reference/users/makeAdmin.html) method). If edited in the user [insert](https://developers.google.com/workspace/admin/directory/v1/reference/users/insert.html) or [update](https://developers.google.com/workspace/admin/directory/v1/reference/users/update.html) methods, the edit is ignored by the API service.", +"readOnly": true, +"type": "boolean" +}, +"isDelegatedAdmin": { +"description": "Output only. Indicates if the user is a delegated administrator. Delegated administrators are supported by the API but cannot create or undelete users, or make users administrators. These requests are ignored by the API service. Roles and privileges for administrators are assigned using the [Admin console](https://support.google.com/a/answer/33325).", +"readOnly": true, +"type": "boolean" +}, +"isEnforcedIn2Sv": { +"description": "Output only. Is 2-step verification enforced (Read-only)", +"readOnly": true, +"type": "boolean" +}, +"isEnrolledIn2Sv": { +"description": "Output only. Is enrolled in 2-step verification (Read-only)", +"readOnly": true, +"type": "boolean" +}, +"isGuestUser": { +"description": "Immutable. Indicates if the inserted user is a guest.", +"type": "boolean" +}, +"isMailboxSetup": { +"description": "Output only. Indicates if the user's Google mailbox is created. This property is only applicable if the user has been assigned a Gmail license.", +"readOnly": true, +"type": "boolean" +}, +"keywords": { +"description": "The list of the user's keywords. The maximum allowed data size for this field is 1KB.", +"type": "any" +}, +"kind": { +"default": "admin#directory#user", +"description": "Output only. The type of the API resource. For Users resources, the value is `admin#directory#user`.", +"readOnly": true, +"type": "string" +}, +"languages": { +"description": "The user's languages. The maximum allowed data size for this field is 1KB.", +"type": "any" +}, +"lastLoginTime": { +"description": "User's last login time. (Read-only)", +"format": "date-time", +"readOnly": true, +"type": "string" +}, +"locations": { +"description": "The user's locations. The maximum allowed data size for this field is 10KB.", +"type": "any" +}, +"name": { +"$ref": "UserName", +"annotations": { +"required": [ +"directory.users.insert" +] +}, +"description": "Holds the given and family names of the user, and the read-only `fullName` value. The maximum number of characters in the `givenName` and in the `familyName` values is 60. In addition, name values support unicode/UTF-8 characters, and can contain spaces, letters (a-z), numbers (0-9), dashes (-), forward slashes (/), and periods (.). For more information about character usage rules, see the [administration help center](https://support.google.com/a/answer/9193374). Maximum allowed data size for this field is 1KB." +}, +"nonEditableAliases": { +"description": "Output only. The list of the user's non-editable alias email addresses. These are typically outside the account's primary domain or sub-domain.", +"items": { +"type": "string" +}, +"readOnly": true, +"type": "array" +}, +"notes": { +"description": "Notes for the user.", +"type": "any" +}, +"orgUnitPath": { +"description": "The full path of the parent organization associated with the user. If the parent organization is the top-level, it is represented as a forward slash (`/`).", +"type": "string" +}, +"organizations": { +"description": "The list of organizations the user belongs to. The maximum allowed data size for this field is 10KB.", +"type": "any" +}, +"password": { +"annotations": { +"required": [ +"directory.users.insert" +] +}, +"description": "User's password", +"type": "string" +}, +"phones": { +"description": "The list of the user's phone numbers. The maximum allowed data size for this field is 1KB.", +"type": "any" +}, +"posixAccounts": { +"description": "The list of [POSIX](https://www.opengroup.org/austin/papers/posix_faq.html) account information for the user.", +"type": "any" +}, +"primaryEmail": { +"annotations": { +"required": [ +"directory.users.insert" +] +}, +"description": "The user's primary email address. This property is required in a request to create a user account. The `primaryEmail` must be unique and cannot be an alias of another user.", +"type": "string" +}, +"recoveryEmail": { +"description": "Recovery email of the user.", +"type": "string" +}, +"recoveryPhone": { +"description": "Recovery phone of the user. The phone number must be in the E.164 format, starting with the plus sign (+). Example: *+16506661212*.", +"type": "string" +}, +"relations": { +"description": "The list of the user's relationships to other users. The maximum allowed data size for this field is 2KB.", +"type": "any" +}, +"sshPublicKeys": { +"description": "A list of SSH public keys.", +"type": "any" +}, +"suspended": { +"description": "Indicates if user is suspended.", +"type": "boolean" +}, +"suspensionReason": { +"description": "Output only. Has the reason a user account is suspended either by the administrator or by Google at the time of suspension. The property is returned only if the `suspended` property is `true`.", +"readOnly": true, +"type": "string" +}, +"thumbnailPhotoEtag": { +"description": "Output only. ETag of the user's photo (Read-only)", +"readOnly": true, +"type": "string" +}, +"thumbnailPhotoUrl": { +"description": "Output only. The URL of the user's profile photo. The URL might be temporary or private.", +"readOnly": true, +"type": "string" +}, +"websites": { +"description": "The user's websites. The maximum allowed data size for this field is 2KB.", +"type": "any" +} +}, +"type": "object" +}, +"UserAbout": { +"description": "JSON template for About (notes) of a user in Directory API.", +"id": "UserAbout", +"properties": { +"contentType": { +"description": "About entry can have a type which indicates the content type. It can either be plain or html. By default, notes contents are assumed to contain plain text.", +"type": "string" +}, +"value": { +"description": "Actual value of notes.", +"type": "string" +} +}, +"type": "object" +}, +"UserAddress": { +"description": "JSON template for address.", +"id": "UserAddress", +"properties": { +"country": { +"description": "Country.", +"type": "string" +}, +"countryCode": { +"description": "Country code.", +"type": "string" +}, +"customType": { +"description": "Custom type.", +"type": "string" +}, +"extendedAddress": { +"description": "Extended Address.", +"type": "string" +}, +"formatted": { +"description": "Formatted address.", +"type": "string" +}, +"locality": { +"description": "Locality.", +"type": "string" +}, +"poBox": { +"description": "Other parts of address.", +"type": "string" +}, +"postalCode": { +"description": "Postal code.", +"type": "string" +}, +"primary": { +"description": "If this is user's primary address. Only one entry could be marked as primary.", +"type": "boolean" +}, +"region": { +"description": "Region.", +"type": "string" +}, +"sourceIsStructured": { +"description": "User supplied address was structured. Structured addresses are NOT supported at this time. You might be able to write structured addresses but any values will eventually be clobbered.", +"type": "boolean" +}, +"streetAddress": { +"description": "Street.", +"type": "string" +}, +"type": { +"description": "Each entry can have a type which indicates standard values of that entry. For example address could be of home work etc. In addition to the standard type an entry can have a custom type and can take any value. Such type should have the CUSTOM value as type and also have a customType value.", +"type": "string" +} +}, +"type": "object" +}, +"UserAlias": { +"description": "The Directory API manages aliases, which are alternative email addresses.", +"id": "UserAlias", +"properties": { +"alias": { +"description": "The alias email address.", +"type": "string" +}, +"etag": { +"description": "ETag of the resource.", +"type": "string" +}, +"id": { +"description": "The unique ID for the user.", +"type": "string" +}, +"kind": { +"description": "The type of the API resource. For Alias resources, the value is `admin#directory#alias`.", +"type": "string" +}, +"primaryEmail": { +"description": "The user's primary email address.", +"type": "string" +} +}, +"type": "object" +}, +"UserCustomProperties": { +"additionalProperties": { +"type": "any" +}, +"description": "JSON template for a set of custom properties (i.e. all fields in a particular schema)", +"id": "UserCustomProperties", +"type": "object" +}, +"UserEmail": { +"description": "JSON template for an email.", +"id": "UserEmail", +"properties": { +"address": { +"description": "Email id of the user.", +"type": "string" +}, +"customType": { +"description": "Custom Type.", +"type": "string" +}, +"primary": { +"description": "If this is user's primary email. Only one entry could be marked as primary.", +"type": "boolean" +}, +"public_key_encryption_certificates": { +"description": "Public Key Encryption Certificates. Current limit: 1 per email address, and 5 per user.", +"properties": { +"certificate": { +"description": "X.509 encryption certificate in `PEM` format. Must only be an end-entity (leaf) certificate.", +"type": "string" +}, +"is_default": { +"description": "Whether this is the default certificate for the given email address.", +"type": "boolean" +}, +"state": { +"description": "Denotes the certificate's state in its lifecycle. Possible values are `not_yet_validated`, `valid`, `invalid`, `expired`, and `revoked`.", +"type": "string" +} +}, +"type": "object" +}, +"type": { +"description": "Each entry can have a type which indicates standard types of that entry. For example email could be of home, work etc. In addition to the standard type, an entry can have a custom type and can take any value Such types should have the CUSTOM value as type and also have a customType value.", +"type": "string" +} +}, +"type": "object" +}, +"UserExternalId": { +"description": "JSON template for an externalId entry.", +"id": "UserExternalId", +"properties": { +"customType": { +"description": "Custom type.", +"type": "string" +}, +"type": { +"description": "The type of the Id.", +"type": "string" +}, +"value": { +"description": "The value of the id.", +"type": "string" +} +}, +"type": "object" +}, +"UserGender": { +"id": "UserGender", +"properties": { +"addressMeAs": { +"description": "AddressMeAs. A human-readable string containing the proper way to refer to the profile owner by humans for example he/him/his or they/them/their.", +"type": "string" +}, +"customGender": { +"description": "Custom gender.", +"type": "string" +}, +"type": { +"description": "Gender.", +"type": "string" +} +}, +"type": "object" +}, +"UserIm": { +"description": "JSON template for instant messenger of an user.", +"id": "UserIm", +"properties": { +"customProtocol": { +"description": "Custom protocol.", +"type": "string" +}, +"customType": { +"description": "Custom type.", +"type": "string" +}, +"im": { +"description": "Instant messenger id.", +"type": "string" +}, +"primary": { +"description": "If this is user's primary im. Only one entry could be marked as primary.", +"type": "boolean" +}, +"protocol": { +"description": "Protocol used in the instant messenger. It should be one of the values from ImProtocolTypes map. Similar to type it can take a CUSTOM value and specify the custom name in customProtocol field.", +"type": "string" +}, +"type": { +"description": "Each entry can have a type which indicates standard types of that entry. For example instant messengers could be of home work etc. In addition to the standard type an entry can have a custom type and can take any value. Such types should have the CUSTOM value as type and also have a customType value.", +"type": "string" +} +}, +"type": "object" +}, +"UserKeyword": { +"description": "JSON template for a keyword entry.", +"id": "UserKeyword", +"properties": { +"customType": { +"description": "Custom Type.", +"type": "string" +}, +"type": { +"description": "Each entry can have a type which indicates standard type of that entry. For example keyword could be of type occupation or outlook. In addition to the standard type an entry can have a custom type and can give it any name. Such types should have the CUSTOM value as type and also have a customType value.", +"type": "string" +}, +"value": { +"description": "Keyword.", +"type": "string" +} +}, +"type": "object" +}, +"UserLanguage": { +"description": "JSON template for a language entry.", +"id": "UserLanguage", +"properties": { +"customLanguage": { +"description": "Other language. User can provide their own language name if there is no corresponding ISO 639 language code. If this is set, `languageCode` can't be set.", +"type": "string" +}, +"languageCode": { +"description": "ISO 639 string representation of a language. See [Language Codes](/admin-sdk/directory/v1/languages) for the list of supported codes. Valid language codes outside the supported set will be accepted by the API but may lead to unexpected behavior. Illegal values cause `SchemaException`. If this is set, `customLanguage` can't be set.", +"type": "string" +}, +"preference": { +"description": "Optional. If present, controls whether the specified `languageCode` is the user's preferred language. If `customLanguage` is set, this can't be set. Allowed values are `preferred` and `not_preferred`.", +"type": "string" +} +}, +"type": "object" +}, +"UserLocation": { +"description": "JSON template for a location entry.", +"id": "UserLocation", +"properties": { +"area": { +"description": "Textual location. This is most useful for display purposes to concisely describe the location. For example 'Mountain View, CA', 'Near Seattle', 'US-NYC-9TH 9A209A.''", +"type": "string" +}, +"buildingId": { +"description": "Building Identifier.", +"type": "string" +}, +"customType": { +"description": "Custom Type.", +"type": "string" +}, +"deskCode": { +"description": "Most specific textual code of individual desk location.", +"type": "string" +}, +"floorName": { +"description": "Floor name/number.", +"type": "string" +}, +"floorSection": { +"description": "Floor section. More specific location within the floor. For example if a floor is divided into sections 'A', 'B' and 'C' this field would identify one of those values.", +"type": "string" +}, +"type": { +"description": "Each entry can have a type which indicates standard types of that entry. For example location could be of types default and desk. In addition to standard type an entry can have a custom type and can give it any name. Such types should have 'custom' as type and also have a customType value.", +"type": "string" +} +}, +"type": "object" +}, +"UserMakeAdmin": { +"id": "UserMakeAdmin", +"properties": { +"status": { +"annotations": { +"required": [ +"directory.users.makeAdmin" +] +}, +"description": "Indicates the administrator status of the user.", +"type": "boolean" +} +}, +"type": "object" +}, +"UserName": { +"id": "UserName", +"properties": { +"displayName": { +"description": "The user's display name. Limit: 256 characters.", +"type": "string" +}, +"familyName": { +"annotations": { +"required": [ +"directory.users.insert" +] +}, +"description": "The user's last name. Required when creating a user account.", +"type": "string" +}, +"fullName": { +"description": "The user's full name formed by concatenating the first and last name values.", +"type": "string" +}, +"givenName": { +"annotations": { +"required": [ +"directory.users.insert" +] +}, +"description": "The user's first name. Required when creating a user account.", +"type": "string" +} +}, +"type": "object" +}, +"UserOrganization": { +"description": "JSON template for an organization entry.", +"id": "UserOrganization", +"properties": { +"costCenter": { +"description": "The cost center of the users department.", +"type": "string" +}, +"customType": { +"description": "Custom type.", +"type": "string" +}, +"department": { +"description": "Department within the organization.", +"type": "string" +}, +"description": { +"description": "Description of the organization.", +"type": "string" +}, +"domain": { +"description": "The domain to which the organization belongs to.", +"type": "string" +}, +"fullTimeEquivalent": { +"description": "The full-time equivalent millipercent within the organization (100000 = 100%).", +"format": "int32", +"type": "integer" +}, +"location": { +"description": "Location of the organization. This need not be fully qualified address.", +"type": "string" +}, +"name": { +"description": "Name of the organization", +"type": "string" +}, +"primary": { +"description": "If it user's primary organization.", +"type": "boolean" +}, +"symbol": { +"description": "Symbol of the organization.", +"type": "string" +}, +"title": { +"description": "Title (designation) of the user in the organization.", +"type": "string" +}, +"type": { +"description": "Each entry can have a type which indicates standard types of that entry. For example organization could be of school work etc. In addition to the standard type an entry can have a custom type and can give it any name. Such types should have the CUSTOM value as type and also have a CustomType value.", +"type": "string" +} +}, +"type": "object" +}, +"UserPhone": { +"description": "JSON template for a phone entry.", +"id": "UserPhone", +"properties": { +"customType": { +"description": "Custom Type.", +"type": "string" +}, +"primary": { +"description": "If this is user's primary phone or not.", +"type": "boolean" +}, +"type": { +"description": "Each entry can have a type which indicates standard types of that entry. For example phone could be of home_fax work mobile etc. In addition to the standard type an entry can have a custom type and can give it any name. Such types should have the CUSTOM value as type and also have a customType value.", +"type": "string" +}, +"value": { +"description": "Phone number.", +"type": "string" +} +}, +"type": "object" +}, +"UserPhoto": { +"id": "UserPhoto", +"properties": { +"etag": { +"description": "ETag of the resource.", +"type": "string" +}, +"height": { +"description": "Height of the photo in pixels.", +"format": "int32", +"type": "integer" +}, +"id": { +"description": "The ID the API uses to uniquely identify the user.", +"type": "string" +}, +"kind": { +"default": "admin#directory#user#photo", +"description": "The type of the API resource. For Photo resources, this is `admin#directory#user#photo`.", +"type": "string" +}, +"mimeType": { +"description": "The MIME type of the photo. Allowed values are `JPEG`, `PNG`, `GIF`, `BMP`, `TIFF`, and web-safe base64 encoding.", +"type": "string" +}, +"photoData": { +"annotations": { +"required": [ +"directory.users.photos.update" +] +}, +"description": "The user photo's upload data in [web-safe Base64](https://en.wikipedia.org/wiki/Base64#URL_applications) format in bytes. This means: * The slash (/) character is replaced with the underscore (_) character. * The plus sign (+) character is replaced with the hyphen (-) character. * The equals sign (=) character is replaced with the asterisk (*). * For padding, the period (.) character is used instead of the RFC-4648 baseURL definition which uses the equals sign (=) for padding. This is done to simplify URL-parsing. * Whatever the size of the photo being uploaded, the API downsizes it to 96x96 pixels.", +"format": "byte", +"type": "string" +}, +"primaryEmail": { +"description": "The user's primary email address.", +"type": "string" +}, +"width": { +"description": "Width of the photo in pixels.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"UserPosixAccount": { +"description": "JSON template for a POSIX account entry.", +"id": "UserPosixAccount", +"properties": { +"accountId": { +"description": "A POSIX account field identifier.", +"type": "string" +}, +"gecos": { +"description": "The GECOS (user information) for this account.", +"type": "string" +}, +"gid": { +"description": "The default group ID.", +"format": "uint64", +"type": "string" +}, +"homeDirectory": { +"description": "The path to the home directory for this account.", +"type": "string" +}, +"operatingSystemType": { +"description": "The operating system type for this account.", +"type": "string" +}, +"primary": { +"description": "If this is user's primary account within the SystemId.", +"type": "boolean" +}, +"shell": { +"description": "The path to the login shell for this account.", +"type": "string" +}, +"systemId": { +"description": "System identifier for which account Username or Uid apply to.", +"type": "string" +}, +"uid": { +"description": "The POSIX compliant user ID.", +"format": "uint64", +"type": "string" +}, +"username": { +"description": "The username of the account.", +"type": "string" +} +}, +"type": "object" +}, +"UserRelation": { +"description": "JSON template for a relation entry.", +"id": "UserRelation", +"properties": { +"customType": { +"description": "Custom Type.", +"type": "string" +}, +"type": { +"description": "The relation of the user. Some of the possible values are mother father sister brother manager assistant partner.", +"type": "string" +}, +"value": { +"description": "The name of the relation.", +"type": "string" +} +}, +"type": "object" +}, +"UserSshPublicKey": { +"description": "JSON template for a POSIX account entry.", +"id": "UserSshPublicKey", +"properties": { +"expirationTimeUsec": { +"description": "An expiration time in microseconds since epoch.", +"format": "int64", +"type": "string" +}, +"fingerprint": { +"description": "A SHA-256 fingerprint of the SSH public key. (Read-only)", +"readOnly": true, +"type": "string" +}, +"key": { +"description": "An SSH public key.", +"type": "string" +} +}, +"type": "object" +}, +"UserUndelete": { +"id": "UserUndelete", +"properties": { +"orgUnitPath": { +"description": "OrgUnit of User", +"type": "string" +} +}, +"type": "object" +}, +"UserWebsite": { +"description": "JSON template for a website entry.", +"id": "UserWebsite", +"properties": { +"customType": { +"description": "Custom Type.", +"type": "string" +}, +"primary": { +"description": "If this is user's primary website or not.", +"type": "boolean" +}, +"type": { +"description": "Each entry can have a type which indicates standard types of that entry. For example website could be of home work blog etc. In addition to the standard type an entry can have a custom type and can give it any name. Such types should have the CUSTOM value as type and also have a customType value.", +"type": "string" +}, +"value": { +"description": "Website.", +"type": "string" +} +}, +"type": "object" +}, +"Users": { +"id": "Users", +"properties": { +"etag": { +"description": "ETag of the resource.", +"type": "string" +}, +"kind": { +"default": "admin#directory#users", +"description": "Kind of resource this is.", +"type": "string" +}, +"nextPageToken": { +"description": "Token used to access next page of this result. The page token is only valid for three days.", +"type": "string" +}, +"trigger_event": { +"description": "Event that triggered this response (only used in case of Push Response)", +"type": "string" +}, +"users": { +"description": "A list of user objects.", +"items": { +"$ref": "User" +}, +"type": "array" +} +}, +"type": "object" +}, +"VerificationCode": { +"description": "The Directory API allows you to view, generate, and invalidate backup verification codes for a user.", +"id": "VerificationCode", +"properties": { +"etag": { +"description": "ETag of the resource.", +"type": "string" +}, +"kind": { +"default": "admin#directory#verificationCode", +"description": "The type of the resource. This is always `admin#directory#verificationCode`.", +"type": "string" +}, +"userId": { +"description": "The obfuscated unique ID of the user.", +"type": "string" +}, +"verificationCode": { +"description": "A current verification code for the user. Invalidated or used verification codes are not returned as part of the result.", +"type": "string" +} +}, +"type": "object" +}, +"VerificationCodes": { +"description": "JSON response template for list verification codes operation in Directory API.", +"id": "VerificationCodes", +"properties": { +"etag": { +"description": "ETag of the resource.", +"type": "string" +}, +"items": { +"description": "A list of verification code resources.", +"items": { +"$ref": "VerificationCode" +}, +"type": "array" +}, +"kind": { +"default": "admin#directory#verificationCodesList", +"description": "The type of the resource. This is always `admin#directory#verificationCodesList`.", +"type": "string" +} +}, +"type": "object" +} +}, +"servicePath": "", +"title": "Admin SDK API", +"version": "directory_v1" +} \ No newline at end of file diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/admin.reportsv1.json b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/admin.reportsv1.json new file mode 100644 index 0000000000000000000000000000000000000000..01922b5aa00d38329a09aa439a8f08c4f3933f9e --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/admin.reportsv1.json @@ -0,0 +1,1446 @@ +{ +"auth": { +"oauth2": { +"scopes": { +"https://www.googleapis.com/auth/admin.reports.audit.readonly": { +"description": "View audit reports for your Google Workspace domain" +}, +"https://www.googleapis.com/auth/admin.reports.usage.readonly": { +"description": "View usage reports for your Google Workspace domain" +} +} +} +}, +"basePath": "", +"baseUrl": "https://admin.googleapis.com/", +"batchPath": "batch", +"canonicalName": "reports", +"description": "Admin SDK lets administrators of enterprise domains to view and manage resources like user, groups etc. It also provides audit and usage reports of domain.", +"discoveryVersion": "v1", +"documentationLink": "https://developers.google.com/workspace/admin/", +"fullyEncodeReservedExpansion": true, +"icons": { +"x16": "http://www.google.com/images/icons/product/search-16.gif", +"x32": "http://www.google.com/images/icons/product/search-32.gif" +}, +"id": "admin:reports_v1", +"kind": "discovery#restDescription", +"mtlsRootUrl": "https://admin.mtls.googleapis.com/", +"name": "admin", +"ownerDomain": "google.com", +"ownerName": "Google", +"packagePath": "admin", +"parameters": { +"$.xgafv": { +"description": "V1 error format.", +"enum": [ +"1", +"2" +], +"enumDescriptions": [ +"v1 error format", +"v2 error format" +], +"location": "query", +"type": "string" +}, +"access_token": { +"description": "OAuth access token.", +"location": "query", +"type": "string" +}, +"alt": { +"default": "json", +"description": "Data format for response.", +"enum": [ +"json", +"media", +"proto" +], +"enumDescriptions": [ +"Responses with Content-Type of application/json", +"Media download with context-dependent Content-Type", +"Responses with Content-Type of application/x-protobuf" +], +"location": "query", +"type": "string" +}, +"callback": { +"description": "JSONP", +"location": "query", +"type": "string" +}, +"fields": { +"description": "Selector specifying which fields to include in a partial response.", +"location": "query", +"type": "string" +}, +"key": { +"description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", +"location": "query", +"type": "string" +}, +"oauth_token": { +"description": "OAuth 2.0 token for the current user.", +"location": "query", +"type": "string" +}, +"prettyPrint": { +"default": "true", +"description": "Returns response with indentations and line breaks.", +"location": "query", +"type": "boolean" +}, +"quotaUser": { +"description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.", +"location": "query", +"type": "string" +}, +"uploadType": { +"description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", +"location": "query", +"type": "string" +}, +"upload_protocol": { +"description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", +"location": "query", +"type": "string" +} +}, +"protocol": "rest", +"resources": { +"activities": { +"methods": { +"list": { +"description": "Retrieves a list of activities for a specific customer's account and application such as the Admin console application or the Google Drive application. For more information, see the guides for administrator and Google Drive activity reports. For more information about the activity report's parameters, see the activity parameters reference guides. ", +"flatPath": "admin/reports/v1/activity/users/{userKey}/applications/{applicationName}", +"httpMethod": "GET", +"id": "reports.activities.list", +"parameterOrder": [ +"userKey", +"applicationName" +], +"parameters": { +"actorIpAddress": { +"description": "The Internet Protocol (IP) Address of host where the event was performed. This is an additional way to filter a report's summary using the IP address of the user whose activity is being reported. This IP address may or may not reflect the user's physical location. For example, the IP address can be the user's proxy server's address or a virtual private network (VPN) address. This parameter supports both IPv4 and IPv6 address versions.", +"location": "query", +"type": "string" +}, +"applicationInfoFilter": { +"description": "Optional. Used to filter on the `oAuthClientId` field present in [`ApplicationInfo`](#applicationinfo) message. **Usage** ``` GET...&applicationInfoFilter=oAuthClientId=\"clientId\" GET...&applicationInfoFilter=oAuthClientId=%22clientId%22 ```", +"location": "query", +"type": "string" +}, +"applicationName": { +"description": "Application name for which the events are to be retrieved.", +"enum": [ +"access_transparency", +"admin", +"calendar", +"chat", +"drive", +"gcp", +"gmail", +"gplus", +"groups", +"groups_enterprise", +"jamboard", +"login", +"meet", +"mobile", +"rules", +"saml", +"token", +"user_accounts", +"context_aware_access", +"chrome", +"data_studio", +"keep", +"vault", +"gemini_in_workspace_apps", +"classroom", +"assignments", +"cloud_search", +"tasks", +"data_migration", +"meet_hardware", +"directory_sync", +"ldap", +"profile", +"access_evaluation", +"admin_data_action", +"contacts", +"takeout", +"graduation" +], +"enumDescriptions": [ +"The Google Workspace Access Transparency activity reports return information about different types of Access Transparency activity events.", +"The Admin console application's activity reports return account information about different types of administrator activity events.", +"The Google Calendar application's activity reports return information about various Calendar activity events.", +"The Chat activity reports return information about various Chat activity events.", +"The Google Drive application's activity reports return information about various Google Drive activity events. The Drive activity report is only available for Google Workspace Business and Enterprise customers.", +"The Google Cloud Platform application's activity reports return information about various GCP activity events.", +"The Gmail application's activity reports return information about various [Gmail activity events](/admin-sdk/reports/v1/appendix/activity/gmail).", +"The Google+ application's activity reports return information about various Google+ activity events.", +"The Google Groups application's activity reports return information about various Groups activity events.", +"The Enterprise Groups activity reports return information about various Enterprise group activity events.", +"The Jamboard activity reports return information about various Jamboard activity events.", +"The Login application's activity reports return account information about different types of Login activity events.", +"The Meet Audit activity report returns information about different types of Meet Audit activity events.", +"The Device Audit activity report returns information about different types of Device Audit activity events.", +"The Rules activity report returns information about different types of Rules activity events.", +"The SAML activity report returns information about different types of SAML activity events.", +"The Token application's activity reports return account information about different types of Token activity events.", +"The User Accounts application's activity reports return account information about different types of User Accounts activity events.", +"The Context-aware access activity reports return information about users' access denied events due to Context-aware access rules.", +"The Chrome activity reports return information about Chrome browser and Chrome OS events.", +"The Data Studio activity reports return information about various types of Data Studio activity events.", +"The Keep application's activity reports return information about various Google Keep activity events. The Keep activity report is only available for Google Workspace Business and Enterprise customers.", +"The Vault activity reports return information about various types of Vault activity events.", +"The Gemini for Workspace activity reports return information about various types of Gemini activity events performed by users within a Workspace application.", +"The Classroom activity reports return information about different types of [Classroom activity events](https://developers.google.com/workspace/admin/reports/v1/appendix/activity/classroom).", +"The assignments application's activity reports return information about various types of assignments activity events.", +"The Cloud Search application's activity reports return information about various types of cloud_search activity events.", +"The Tasks application's activity reports return information about various types of Tasks activity events.", +"The Data Migration application's activity reports return information about various types of data migration activity events.", +"The Meet Hardware application's activity reports return information about various types of Meet Hardware activity events.", +"The Directory Sync application's activity reports return information about various types of Directory Sync activity events.", +"The ldap application's activity reports return information about various types of ldap activity events.", +"The Profile application's activity reports return information about various types of Profile activity events.", +"The Access Evaluation activity reports return information about various types of Access Evaluation activity events.", +"The Admin Data Action application's activity reports return information about various types of Admin Data Action activity events.", +"The Contacts application's activity reports return information about various types of Contacts activity events.", +"The Takeout application's activity reports return information about various types of Takeout activity events.", +"The Graduation application's activity reports return information about various types of Graduation activity events." +], +"location": "path", +"pattern": "(access_evaluation)|(access_transparency)|(admin)|(admin_data_action)|(assignments)|(calendar)|(chat)|(chrome)|(classroom)|(cloud_search)|(contacts)|(context_aware_access)|(data_studio)|(data_migration)|(directory_sync)|(drive)|(gcp)|(gmail)|(gplus)|(graduation)|(groups)|(groups_enterprise)|(jamboard)|(keep)|(ldap)|(login)|(meet)|(meet_hardware)|(mobile)|(profile)|(rules)|(saml)|(token)|(user_accounts)|(vault)|(gemini_in_workspace_apps)|(tasks)|(takeout)", +"required": true, +"type": "string" +}, +"customerId": { +"description": "The unique ID of the customer to retrieve data for.", +"location": "query", +"pattern": "C.+|my_customer", +"type": "string" +}, +"endTime": { +"description": "Sets the end of the range of time shown in the report. The date is in the RFC 3339 format, for example 2010-10-28T10:26:35.000Z. The default value is the approximate time of the API request. An API report has three basic time concepts: - *Date of the API's request for a report*: When the API created and retrieved the report. - *Report's start time*: The beginning of the timespan shown in the report. The `startTime` must be before the `endTime` (if specified) and the current time when the request is made, or the API returns an error. - *Report's end time*: The end of the timespan shown in the report. For example, the timespan of events summarized in a report can start in April and end in May. The report itself can be requested in August. If the `endTime` is not specified, the report returns all activities from the `startTime` until the current time or the most recent 180 days if the `startTime` is more than 180 days in the past. For Gmail requests, `startTime` and `endTime` must be provided and the difference must not be greater than 30 days.", +"location": "query", +"pattern": "(\\d\\d\\d\\d)-(\\d\\d)-(\\d\\d)T(\\d\\d):(\\d\\d):(\\d\\d)(?:\\.(\\d+))?(?:(Z)|([-+])(\\d\\d):(\\d\\d))", +"type": "string" +}, +"eventName": { +"description": "The name of the event being queried by the API. Each `eventName` is related to a specific Google Workspace service or feature which the API organizes into types of events. An example is the Google Calendar events in the Admin console application's reports. The Calendar Settings `type` structure has all of the Calendar `eventName` activities reported by the API. When an administrator changes a Calendar setting, the API reports this activity in the Calendar Settings `type` and `eventName` parameters. For more information about `eventName` query strings and parameters, see the list of event names for various applications above in `applicationName`.", +"location": "query", +"type": "string" +}, +"filters": { +"description": "The `filters` query string is a comma-separated list composed of event parameters manipulated by relational operators. Event parameters are in the form `{parameter1 name}{relational operator}{parameter1 value},{parameter2 name}{relational operator}{parameter2 value},...` These event parameters are associated with a specific `eventName`. An empty report is returned if the request's parameter doesn't belong to the `eventName`. For more information about the available `eventName` fields for each application and their associated parameters, go to the [ApplicationName](#applicationname) table, then click through to the Activity Events page in the Appendix for the application you want. In the following Drive activity examples, the returned list consists of all `edit` events where the `doc_id` parameter value matches the conditions defined by the relational operator. In the first example, the request returns all edited documents with a `doc_id` value equal to `12345`. In the second example, the report returns any edited documents where the `doc_id` value is not equal to `98765`. The `<>` operator is URL-encoded in the request's query string (`%3C%3E`): ``` GET...&eventName=edit&filters=doc_id==12345 GET...&eventName=edit&filters=doc_id%3C%3E98765 ``` A `filters` query supports these relational operators: * `==`\u2014'equal to'. * `<>`\u2014'not equal to'. Must be URL-encoded (%3C%3E). * `<`\u2014'less than'. Must be URL-encoded (%3C). * `<=`\u2014'less than or equal to'. Must be URL-encoded (%3C=). * `>`\u2014'greater than'. Must be URL-encoded (%3E). * `>=`\u2014'greater than or equal to'. Must be URL-encoded (%3E=). **Note:** The API doesn't accept multiple values of the same parameter. If a parameter is supplied more than once in the API request, the API only accepts the last value of that parameter. In addition, if an invalid parameter is supplied in the API request, the API ignores that parameter and returns the response corresponding to the remaining valid parameters. If no parameters are requested, all parameters are returned.", +"location": "query", +"pattern": "(.+[<,<=,==,>=,>,<>].+,)*(.+[<,<=,==,>=,>,<>].+)", +"type": "string" +}, +"groupIdFilter": { +"description": "Comma separated group ids (obfuscated) on which user activities are filtered, i.e. the response will contain activities for only those users that are a part of at least one of the group ids mentioned here. Format: \"id:abc123,id:xyz456\" *Important:* To filter by groups, you must explicitly add the groups to your filtering groups allowlist. For more information about adding groups to filtering groups allowlist, see [Filter results by Google Group](https://support.google.com/a/answer/11482175)", +"location": "query", +"pattern": "(id:[a-z0-9]+(,id:[a-z0-9]+)*)", +"type": "string" +}, +"maxResults": { +"default": "1000", +"description": "Determines how many activity records are shown on each response page. For example, if the request sets `maxResults=1` and the report has two activities, the report has two pages. The response's `nextPageToken` property has the token to the second page. The `maxResults` query string is optional in the request. The default value is 1000.", +"format": "int32", +"location": "query", +"maximum": "1000", +"minimum": "1", +"type": "integer" +}, +"networkInfoFilter": { +"description": "Optional. Used to filter on the `regionCode` field present in [`NetworkInfo`](#networkinfo) message. **Usage** ``` GET...&networkInfoFilter=regionCode=\"IN\" GET...&networkInfoFilter=regionCode=%22IN%22 ```", +"location": "query", +"type": "string" +}, +"orgUnitID": { +"default": "", +"description": "ID of the organizational unit to report on. Activity records will be shown only for users who belong to the specified organizational unit. Data before Dec 17, 2018 doesn't appear in the filtered results.", +"location": "query", +"pattern": "(id:[a-z0-9]+)", +"type": "string" +}, +"pageToken": { +"description": "The token to specify next page. A report with multiple pages has a `nextPageToken` property in the response. In your follow-on request getting the next page of the report, enter the `nextPageToken` value in the `pageToken` query string.", +"location": "query", +"type": "string" +}, +"resourceDetailsFilter": { +"description": "Optional. The `resourceDetailsFilter` query string is an AND separated list composed of [Resource Details](#resourcedetails) fields manipulated by relational operators. Resource Details Filters are in the form `{resourceDetails.field1}{relational operator}{field1 value} AND {resourceDetails.field2}{relational operator}{field2 value}...` All the inner fields are traversed using the `.` operator, as shown in the following example: ``` resourceDetails.id = \"resourceId\" AND resourceDetails.appliedLabels.id = \"appliedLabelId\" AND resourceDetails.appliedLabels.fieldValue.id = \"fieldValueId\" ``` `resourceDetailsFilter` query supports these relational operators: * `=`\u2014'equal to'. * `!=`\u2014'not equal to'. * `:`\u2014'exists'. This is used for filtering on repeated fields. [`FieldValue`](#fieldvalue) types that are repeated in nature uses `exists` operator for filtering. The following [`FieldValue`](#fieldvalue) types are repeated: * [`TextListValue`](#textlistvalue) * [`SelectionListValue`](#selectionlistvalue) * [`UserListValue`](#userlistvalue) For example, in the following filter, [`SelectionListValue`](#selectionlistvalue), is a repeated field. The filter checks whether [`SelectionListValue`](#selectionlistvalue) contains `selection_id`: ``` resourceDetails.id = \"resourceId\" AND resourceDetails.appliedLabels.id = \"appliedLabelId\" AND resourceDetails.appliedLabels.fieldValue.id = \"fieldValueId\" AND resourceDetails.appliedLabels.fieldValue.type = \"SELECTION_LIST_VALUE\" AND resourceDetails.appliedLabels.fieldValue.selectionListValue.id: \"id\" ``` **Usage** ``` GET...&resourceDetailsFilter=resourceDetails.id = \"resourceId\" AND resourceDetails.appliedLabels.id = \"appliedLabelId\" GET...&resourceDetailsFilter=resourceDetails.id=%22resourceId%22%20AND%20resourceDetails.appliedLabels.id=%22appliedLabelId%22 ``` **Note the following**: * You must URL encode the query string before sending the request. * The API supports a maximum of 5 fields separated by the AND operator. - When filtering on deeper levels (e.g., [`AppliedLabel`](#appliedlabel), [`FieldValue`](#fieldvalue)), the IDs of all preceding levels in the hierarchy must be included in the filter. For example: Filtering on [`FieldValue`](#fieldvalue) requires [`AppliedLabel`](#appliedlabel) ID and resourceDetails ID to be present. *Sample Query*: ``` resourceDetails.id = \"resourceId\" AND resourceDetails.appliedLabels.id = \"appliedLabelId\" AND resourceDetails.appliedLabels.fieldValue.id = \"fieldValueId\" ``` * Filtering on inner [`FieldValue`](#fieldvalue) types like `longTextValue` and `textValue` requires `resourceDetails.appliedLabels.fieldValue.type` to be present. * Only Filtering on a single [`AppliedLabel`](#appliedlabel) id and [`FieldValue`](#fieldvalue) id is supported.", +"location": "query", +"type": "string" +}, +"startTime": { +"description": "Sets the beginning of the range of time shown in the report. The date is in the RFC 3339 format, for example 2010-10-28T10:26:35.000Z. The report returns all activities from `startTime` until `endTime`. The `startTime` must be before the `endTime` (if specified) and the current time when the request is made, or the API returns an error. For Gmail requests, `startTime` and `endTime` must be provided and the difference must not be greater than 30 days.", +"location": "query", +"pattern": "(\\d\\d\\d\\d)-(\\d\\d)-(\\d\\d)T(\\d\\d):(\\d\\d):(\\d\\d)(?:\\.(\\d+))?(?:(Z)|([-+])(\\d\\d):(\\d\\d))", +"type": "string" +}, +"statusFilter": { +"description": "Optional. Used to filter on the `statusCode` field present in [`Status`](#status) message. **Usage** ``` GET...&statusFilter=statusCode=\"200\" GET...&statusFilter=statusCode=%22200%22 ```", +"location": "query", +"type": "string" +}, +"userKey": { +"description": "Represents the profile ID or the user email for which the data should be filtered. Can be `all` for all information, or `userKey` for a user's unique Google Workspace profile ID or their primary email address. Must not be a deleted user. For a deleted user, call `users.list` in Directory API with `showDeleted=true`, then use the returned `ID` as the `userKey`.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "admin/reports/v1/activity/users/{userKey}/applications/{applicationName}", +"response": { +"$ref": "Activities" +}, +"scopes": [ +"https://www.googleapis.com/auth/admin.reports.audit.readonly" +] +}, +"watch": { +"description": "Start receiving notifications for account activities. For more information, see Receiving Push Notifications.", +"flatPath": "admin/reports/v1/activity/users/{userKey}/applications/{applicationName}/watch", +"httpMethod": "POST", +"id": "reports.activities.watch", +"parameterOrder": [ +"userKey", +"applicationName" +], +"parameters": { +"actorIpAddress": { +"description": "The Internet Protocol (IP) Address of host where the event was performed. This is an additional way to filter a report's summary using the IP address of the user whose activity is being reported. This IP address may or may not reflect the user's physical location. For example, the IP address can be the user's proxy server's address or a virtual private network (VPN) address. This parameter supports both IPv4 and IPv6 address versions.", +"location": "query", +"type": "string" +}, +"applicationName": { +"description": "Application name for which the events are to be retrieved.", +"enum": [ +"access_transparency", +"admin", +"calendar", +"chat", +"drive", +"gcp", +"gplus", +"groups", +"groups_enterprise", +"jamboard", +"login", +"meet", +"mobile", +"rules", +"saml", +"token", +"user_accounts", +"context_aware_access", +"chrome", +"data_studio", +"keep", +"classroom" +], +"enumDescriptions": [ +"The Google Workspace Access Transparency activity reports return information about different types of Access Transparency activity events.", +"The Admin console application's activity reports return account information about different types of administrator activity events.", +"The Google Calendar application's activity reports return information about various Calendar activity events.", +"The Chat activity reports return information about various Chat activity events.", +"The Google Drive application's activity reports return information about various Google Drive activity events. The Drive activity report is only available for Google Workspace Business and Google Workspace Enterprise customers.", +"The Google Cloud Platform application's activity reports return information about various GCP activity events.", +"The Google+ application's activity reports return information about various Google+ activity events.", +"The Google Groups application's activity reports return information about various Groups activity events.", +"The Enterprise Groups activity reports return information about various Enterprise group activity events.", +"The Jamboard activity reports return information about various Jamboard activity events.", +"The Login application's activity reports return account information about different types of Login activity events.", +"The Meet Audit activity report returns information about different types of Meet Audit activity events.", +"The Device Audit activity report returns information about different types of Device Audit activity events.", +"The Rules activity report returns information about different types of Rules activity events.", +"The SAML activity report returns information about different types of SAML activity events.", +"The Token application's activity reports return account information about different types of Token activity events.", +"The User Accounts application's activity reports return account information about different types of User Accounts activity events.", +"The Context-aware access activity reports return information about users' access denied events due to Context-aware access rules.", +"The Chrome activity reports return information about Chrome browser and Chrome OS events.", +"The Data Studio activity reports return information about various types of Data Studio activity events.", +"The Keep application's activity reports return information about various Google Keep activity events. The Keep activity report is only available for Google Workspace Business and Enterprise customers.", +"The Classroom activity reports return information about different types of [Classroom activity events](https://developers.google.com/workspace/admin/reports/v1/appendix/activity/classroom)." +], +"location": "path", +"pattern": "(access_transparency)|(admin)|(calendar)|(chat)|(chrome)|(classroom)|(context_aware_access)|(data_studio)|(drive)|(gcp)|(gplus)|(groups)|(groups_enterprise)|(jamboard)|(keep)|(login)|(meet)|(mobile)|(rules)|(saml)|(token)|(user_accounts)", +"required": true, +"type": "string" +}, +"customerId": { +"description": "The unique ID of the customer to retrieve data for.", +"location": "query", +"pattern": "C.+|my_customer", +"type": "string" +}, +"endTime": { +"description": "Sets the end of the range of time shown in the report. The date is in the RFC 3339 format, for example 2010-10-28T10:26:35.000Z. The default value is the approximate time of the API request. An API report has three basic time concepts: - *Date of the API's request for a report*: When the API created and retrieved the report. - *Report's start time*: The beginning of the timespan shown in the report. The `startTime` must be before the `endTime` (if specified) and the current time when the request is made, or the API returns an error. - *Report's end time*: The end of the timespan shown in the report. For example, the timespan of events summarized in a report can start in April and end in May. The report itself can be requested in August. If the `endTime` is not specified, the report returns all activities from the `startTime` until the current time or the most recent 180 days if the `startTime` is more than 180 days in the past.", +"location": "query", +"pattern": "(\\d\\d\\d\\d)-(\\d\\d)-(\\d\\d)T(\\d\\d):(\\d\\d):(\\d\\d)(?:\\.(\\d+))?(?:(Z)|([-+])(\\d\\d):(\\d\\d))", +"type": "string" +}, +"eventName": { +"description": "The name of the event being queried by the API. Each `eventName` is related to a specific Google Workspace service or feature which the API organizes into types of events. An example is the Google Calendar events in the Admin console application's reports. The Calendar Settings `type` structure has all of the Calendar `eventName` activities reported by the API. When an administrator changes a Calendar setting, the API reports this activity in the Calendar Settings `type` and `eventName` parameters. For more information about `eventName` query strings and parameters, see the list of event names for various applications above in `applicationName`.", +"location": "query", +"type": "string" +}, +"filters": { +"description": "The `filters` query string is a comma-separated list composed of event parameters manipulated by relational operators. Event parameters are in the form `{parameter1 name}{relational operator}{parameter1 value},{parameter2 name}{relational operator}{parameter2 value},...` These event parameters are associated with a specific `eventName`. An empty report is returned if the request's parameter doesn't belong to the `eventName`. For more information about the available `eventName` fields for each application and their associated parameters, go to the [ApplicationName](#applicationname) table, then click through to the Activity Events page in the Appendix for the application you want. In the following Drive activity examples, the returned list consists of all `edit` events where the `doc_id` parameter value matches the conditions defined by the relational operator. In the first example, the request returns all edited documents with a `doc_id` value equal to `12345`. In the second example, the report returns any edited documents where the `doc_id` value is not equal to `98765`. The `<>` operator is URL-encoded in the request's query string (`%3C%3E`): ``` GET...&eventName=edit&filters=doc_id==12345 GET...&eventName=edit&filters=doc_id%3C%3E98765 ``` A `filters` query supports these relational operators: * `==`\u2014'equal to'. * `<>`\u2014'not equal to'. Must be URL-encoded (%3C%3E). * `<`\u2014'less than'. Must be URL-encoded (%3C). * `<=`\u2014'less than or equal to'. Must be URL-encoded (%3C=). * `>`\u2014'greater than'. Must be URL-encoded (%3E). * `>=`\u2014'greater than or equal to'. Must be URL-encoded (%3E=). **Note:** The API doesn't accept multiple values of the same parameter. If a parameter is supplied more than once in the API request, the API only accepts the last value of that parameter. In addition, if an invalid parameter is supplied in the API request, the API ignores that parameter and returns the response corresponding to the remaining valid parameters. If no parameters are requested, all parameters are returned.", +"location": "query", +"pattern": "(.+[<,<=,==,>=,>,<>].+,)*(.+[<,<=,==,>=,>,<>].+)", +"type": "string" +}, +"groupIdFilter": { +"deprecated": true, +"description": "`Deprecated`. This field is deprecated and is no longer supported. Comma separated group ids (obfuscated) on which user activities are filtered, i.e. the response will contain activities for only those users that are a part of at least one of the group ids mentioned here. Format: \"id:abc123,id:xyz456\" *Important:* To filter by groups, you must explicitly add the groups to your filtering groups allowlist. For more information about adding groups to filtering groups allowlist, see [Filter results by Google Group](https://support.google.com/a/answer/11482175)", +"location": "query", +"pattern": "(id:[a-z0-9]+(,id:[a-z0-9]+)*)", +"type": "string" +}, +"maxResults": { +"default": "1000", +"description": "Determines how many activity records are shown on each response page. For example, if the request sets `maxResults=1` and the report has two activities, the report has two pages. The response's `nextPageToken` property has the token to the second page. The `maxResults` query string is optional in the request. The default value is 1000.", +"format": "int32", +"location": "query", +"maximum": "1000", +"minimum": "1", +"type": "integer" +}, +"orgUnitID": { +"default": "", +"deprecated": true, +"description": "`Deprecated`. This field is deprecated and is no longer supported. ID of the organizational unit to report on. Activity records will be shown only for users who belong to the specified organizational unit. Data before Dec 17, 2018 doesn't appear in the filtered results.", +"location": "query", +"pattern": "(id:[a-z0-9]+)", +"type": "string" +}, +"pageToken": { +"description": "The token to specify next page. A report with multiple pages has a `nextPageToken` property in the response. In your follow-on request getting the next page of the report, enter the `nextPageToken` value in the `pageToken` query string.", +"location": "query", +"type": "string" +}, +"startTime": { +"description": "Sets the beginning of the range of time shown in the report. The date is in the RFC 3339 format, for example 2010-10-28T10:26:35.000Z. The report returns all activities from `startTime` until `endTime`. The `startTime` must be before the `endTime` (if specified) and the current time when the request is made, or the API returns an error.", +"location": "query", +"pattern": "(\\d\\d\\d\\d)-(\\d\\d)-(\\d\\d)T(\\d\\d):(\\d\\d):(\\d\\d)(?:\\.(\\d+))?(?:(Z)|([-+])(\\d\\d):(\\d\\d))", +"type": "string" +}, +"userKey": { +"description": "Represents the profile ID or the user email for which the data should be filtered. Can be `all` for all information, or `userKey` for a user's unique Google Workspace profile ID or their primary email address. Must not be a deleted user. For a deleted user, call `users.list` in Directory API with `showDeleted=true`, then use the returned `ID` as the `userKey`.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "admin/reports/v1/activity/users/{userKey}/applications/{applicationName}/watch", +"request": { +"$ref": "Channel" +}, +"response": { +"$ref": "Channel" +}, +"scopes": [ +"https://www.googleapis.com/auth/admin.reports.audit.readonly" +] +} +} +}, +"channels": { +"methods": { +"stop": { +"description": "Stop watching resources through this channel.", +"flatPath": "admin/reports_v1/channels/stop", +"httpMethod": "POST", +"id": "admin.channels.stop", +"parameterOrder": [], +"parameters": {}, +"path": "admin/reports_v1/channels/stop", +"request": { +"$ref": "Channel" +}, +"scopes": [ +"https://www.googleapis.com/auth/admin.reports.audit.readonly" +] +} +} +}, +"customerUsageReports": { +"methods": { +"get": { +"description": "Retrieves a report which is a collection of properties and statistics for a specific customer's account. For more information, see the Customers Usage Report guide. For more information about the customer report's parameters, see the Customers Usage parameters reference guides. ", +"flatPath": "admin/reports/v1/usage/dates/{date}", +"httpMethod": "GET", +"id": "reports.customerUsageReports.get", +"parameterOrder": [ +"date" +], +"parameters": { +"customerId": { +"description": "The unique ID of the customer to retrieve data for.", +"location": "query", +"pattern": "C.+|my_customer", +"type": "string" +}, +"date": { +"description": "Represents the date the usage occurred, based on UTC-8:00 (Pacific Standard Time). The timestamp is in the [ISO 8601 format](https://en.wikipedia.org/wiki/ISO_8601), `yyyy-mm-dd`.", +"location": "path", +"pattern": "(\\d){4}-(\\d){2}-(\\d){2}", +"required": true, +"type": "string" +}, +"pageToken": { +"description": "Token to specify next page. A report with multiple pages has a `nextPageToken` property in the response. For your follow-on requests getting all of the report's pages, enter the `nextPageToken` value in the `pageToken` query string.", +"location": "query", +"type": "string" +}, +"parameters": { +"description": "The `parameters` query string is a comma-separated list of event parameters that refine a report's results. The parameter is associated with a specific application. The application values for the Customers usage report include `accounts`, `app_maker`, `apps_scripts`, `calendar`, `chat`, `classroom`, `cros`, `docs`, `gmail`, `gplus`, `device_management`, `meet`, and `sites`. A `parameters` query string is in the CSV form of `app_name1:param_name1, app_name2:param_name2`. *Note:* The API doesn't accept multiple values of a parameter. If a particular parameter is supplied more than once in the API request, the API only accepts the last value of that request parameter. In addition, if an invalid request parameter is supplied in the API request, the API ignores that request parameter and returns the response corresponding to the remaining valid request parameters. An example of an invalid request parameter is one that does not belong to the application. If no parameters are requested, all parameters are returned. ", +"location": "query", +"pattern": "(((accounts)|(app_maker)|(apps_scripts)|(chat)|(classroom)|(cros)|(gmail)|(calendar)|(docs)|(gplus)|(sites)|(device_management)|(drive)|(meet)):[^,]+,)*(((accounts)|(app_maker)|(apps_scripts)|(chat)|(classroom)|(cros)|(gmail)|(calendar)|(docs)|(gplus)|(sites)|(device_management)|(drive)|(meet)):[^,]+)", +"type": "string" +} +}, +"path": "admin/reports/v1/usage/dates/{date}", +"response": { +"$ref": "UsageReports" +}, +"scopes": [ +"https://www.googleapis.com/auth/admin.reports.usage.readonly" +] +} +} +}, +"entityUsageReports": { +"methods": { +"get": { +"description": "Retrieves a report which is a collection of properties and statistics for entities used by users within the account. For more information, see the Entities Usage Report guide. For more information about the entities report's parameters, see the Entities Usage parameters reference guides.", +"flatPath": "admin/reports/v1/usage/{entityType}/{entityKey}/dates/{date}", +"httpMethod": "GET", +"id": "reports.entityUsageReports.get", +"parameterOrder": [ +"entityType", +"entityKey", +"date" +], +"parameters": { +"customerId": { +"description": "The unique ID of the customer to retrieve data for.", +"location": "query", +"pattern": "C.+|my_customer", +"type": "string" +}, +"date": { +"description": "Represents the date the usage occurred, based on UTC-8:00 (Pacific Standard Time). The timestamp is in the [ISO 8601 format](https://en.wikipedia.org/wiki/ISO_8601), `yyyy-mm-dd`.", +"location": "path", +"pattern": "(\\d){4}-(\\d){2}-(\\d){2}", +"required": true, +"type": "string" +}, +"entityKey": { +"description": "Represents the key of the object to filter the data with. It is a string which can take the value `all` to get activity events for all users, or any other value for an app-specific entity. For details on how to obtain the `entityKey` for a particular `entityType`, see the Entities Usage parameters reference guides.", +"location": "path", +"required": true, +"type": "string" +}, +"entityType": { +"description": "Represents the type of entity for the report.", +"enum": [ +"gplus_communities" +], +"enumDescriptions": [ +"Returns a report on Google+ communities." +], +"location": "path", +"pattern": "(gplus_communities)", +"required": true, +"type": "string" +}, +"filters": { +"description": "The `filters` query string is a comma-separated list of an application's event parameters where the parameter's value is manipulated by a relational operator. The `filters` query string includes the name of the application whose usage is returned in the report. The application values for the Entities usage report include `accounts`, `docs`, and `gmail`. Filters are in the form `[application name]:parameter name[parameter value],...`. In this example, the `<>` 'not equal to' operator is URL-encoded in the request's query string (%3C%3E): GET https://www.googleapis.com/admin/reports/v1/usage/gplus_communities/all/dates/2017-12-01 ?parameters=gplus:community_name,gplus:num_total_members &filters=gplus:num_total_members%3C%3E0 The relational operators include: - `==` - 'equal to'. - `<>` - 'not equal to'. It is URL-encoded (%3C%3E). - `<` - 'less than'. It is URL-encoded (%3C). - `<=` - 'less than or equal to'. It is URL-encoded (%3C=). - `>` - 'greater than'. It is URL-encoded (%3E). - `>=` - 'greater than or equal to'. It is URL-encoded (%3E=). Filters can only be applied to numeric parameters.", +"location": "query", +"pattern": "(((gplus)):[a-z0-9_]+[<,<=,==,>=,>,!=][^,]+,)*(((gplus)):[a-z0-9_]+[<,<=,==,>=,>,!=][^,]+)", +"type": "string" +}, +"maxResults": { +"default": "1000", +"description": "Determines how many activity records are shown on each response page. For example, if the request sets `maxResults=1` and the report has two activities, the report has two pages. The response's `nextPageToken` property has the token to the second page.", +"format": "uint32", +"location": "query", +"maximum": "1000", +"minimum": "1", +"type": "integer" +}, +"pageToken": { +"description": "Token to specify next page. A report with multiple pages has a `nextPageToken` property in the response. In your follow-on request getting the next page of the report, enter the `nextPageToken` value in the `pageToken` query string.", +"location": "query", +"type": "string" +}, +"parameters": { +"description": "The `parameters` query string is a comma-separated list of event parameters that refine a report's results. The parameter is associated with a specific application. The application values for the Entities usage report are only `gplus`. A `parameter` query string is in the CSV form of `[app_name1:param_name1], [app_name2:param_name2]...`. *Note:* The API doesn't accept multiple values of a parameter. If a particular parameter is supplied more than once in the API request, the API only accepts the last value of that request parameter. In addition, if an invalid request parameter is supplied in the API request, the API ignores that request parameter and returns the response corresponding to the remaining valid request parameters. An example of an invalid request parameter is one that does not belong to the application. If no parameters are requested, all parameters are returned. ", +"location": "query", +"pattern": "(((gplus)):[^,]+,)*(((gplus)):[^,]+)", +"type": "string" +} +}, +"path": "admin/reports/v1/usage/{entityType}/{entityKey}/dates/{date}", +"response": { +"$ref": "UsageReports" +}, +"scopes": [ +"https://www.googleapis.com/auth/admin.reports.usage.readonly" +] +} +} +}, +"userUsageReport": { +"methods": { +"get": { +"description": "Retrieves a report which is a collection of properties and statistics for a set of users with the account. For more information, see the User Usage Report guide. For more information about the user report's parameters, see the Users Usage parameters reference guides.", +"flatPath": "admin/reports/v1/usage/users/{userKey}/dates/{date}", +"httpMethod": "GET", +"id": "reports.userUsageReport.get", +"parameterOrder": [ +"userKey", +"date" +], +"parameters": { +"customerId": { +"description": "The unique ID of the customer to retrieve data for.", +"location": "query", +"pattern": "C.+|my_customer", +"type": "string" +}, +"date": { +"description": "Represents the date the usage occurred, based on UTC-8:00 (Pacific Standard Time). The timestamp is in the [ISO 8601 format](https://en.wikipedia.org/wiki/ISO_8601), `yyyy-mm-dd`.", +"location": "path", +"pattern": "(\\d){4}-(\\d){2}-(\\d){2}", +"required": true, +"type": "string" +}, +"filters": { +"description": "The `filters` query string is a comma-separated list of an application's event parameters where the parameter's value is manipulated by a relational operator. The `filters` query string includes the name of the application whose usage is returned in the report. The application values for the Users Usage Report include `accounts`, `chat`, `docs`, and `gmail`. Filters are in the form `[application name]:parameter name[parameter value],...`. In this example, the `<>` 'not equal to' operator is URL-encoded in the request's query string (%3C%3E): GET https://www.googleapis.com/admin/reports/v1/usage/users/all/dates/2013-03-03 ?parameters=accounts:last_login_time &filters=accounts:last_login_time%3C%3E2010-10-28T10:26:35.000Z The relational operators include: - `==` - 'equal to'. - `<>` - 'not equal to'. It is URL-encoded (%3C%3E). - `<` - 'less than'. It is URL-encoded (%3C). - `<=` - 'less than or equal to'. It is URL-encoded (%3C=). - `>` - 'greater than'. It is URL-encoded (%3E). - `>=` - 'greater than or equal to'. It is URL-encoded (%3E=). ", +"location": "query", +"pattern": "(((accounts)|(chat)|(classroom)|(cros)|(gmail)|(calendar)|(docs)|(gplus)|(sites)|(device_management)|(drive)):[a-z0-9_]+[<,<=,==,>=,>,!=][^,]+,)*(((accounts)|(chat)|(classroom)|(cros)|(gmail)|(calendar)|(docs)|(gplus)|(sites)|(device_management)|(drive)):[a-z0-9_]+[<,<=,==,>=,>,!=][^,]+)", +"type": "string" +}, +"groupIdFilter": { +"description": "Comma separated group ids (obfuscated) on which user activities are filtered, i.e. the response will contain activities for only those users that are a part of at least one of the group ids mentioned here. Format: \"id:abc123,id:xyz456\"", +"location": "query", +"pattern": "(id:[a-z0-9]+(,id:[a-z0-9]+)*)", +"type": "string" +}, +"maxResults": { +"default": "1000", +"description": "Determines how many activity records are shown on each response page. For example, if the request sets `maxResults=1` and the report has two activities, the report has two pages. The response's `nextPageToken` property has the token to the second page. The `maxResults` query string is optional.", +"format": "uint32", +"location": "query", +"maximum": "1000", +"minimum": "1", +"type": "integer" +}, +"orgUnitID": { +"default": "", +"description": "ID of the organizational unit to report on. User activity will be shown only for users who belong to the specified organizational unit. Data before Dec 17, 2018 doesn't appear in the filtered results.", +"location": "query", +"pattern": "(id:[a-z0-9]+)", +"type": "string" +}, +"pageToken": { +"description": "Token to specify next page. A report with multiple pages has a `nextPageToken` property in the response. In your follow-on request getting the next page of the report, enter the `nextPageToken` value in the `pageToken` query string.", +"location": "query", +"type": "string" +}, +"parameters": { +"description": "The `parameters` query string is a comma-separated list of event parameters that refine a report's results. The parameter is associated with a specific application. The application values for the Customers Usage report include `accounts`, `app_maker`, `apps_scripts`, `calendar`, `chat`, `classroom`, `cros`, `docs`, `gmail`, `gplus`, `device_management`, `meet`, and `sites`. A `parameters` query string is in the CSV form of `app_name1:param_name1, app_name2:param_name2`. *Note:* The API doesn't accept multiple values of a parameter. If a particular parameter is supplied more than once in the API request, the API only accepts the last value of that request parameter. In addition, if an invalid request parameter is supplied in the API request, the API ignores that request parameter and returns the response corresponding to the remaining valid request parameters. An example of an invalid request parameter is one that does not belong to the application. If no parameters are requested, all parameters are returned. ", +"location": "query", +"pattern": "(((accounts)|(chat)|(classroom)|(cros)|(gmail)|(calendar)|(docs)|(gplus)|(sites)|(device_management)|(drive)):[^,]+,)*(((accounts)|(chat)|(classroom)|(cros)|(gmail)|(calendar)|(docs)|(gplus)|(sites)|(device_management)|(drive)):[^,]+)", +"type": "string" +}, +"userKey": { +"description": "Represents the profile ID or the user email for which the data should be filtered. Can be `all` for all information, or `userKey` for a user's unique Google Workspace profile ID or their primary email address. Must not be a deleted user. For a deleted user, call `users.list` in Directory API with `showDeleted=true`, then use the returned `ID` as the `userKey`.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "admin/reports/v1/usage/users/{userKey}/dates/{date}", +"response": { +"$ref": "UsageReports" +}, +"scopes": [ +"https://www.googleapis.com/auth/admin.reports.usage.readonly" +] +} +} +} +}, +"revision": "20260223", +"rootUrl": "https://admin.googleapis.com/", +"schemas": { +"Activities": { +"description": "JSON template for a collection of activities.", +"id": "Activities", +"properties": { +"etag": { +"description": "ETag of the resource.", +"type": "string" +}, +"items": { +"description": "Each activity record in the response.", +"items": { +"$ref": "Activity" +}, +"type": "array" +}, +"kind": { +"default": "admin#reports#activities", +"description": "The type of API resource. For an activity report, the value is `reports#activities`.", +"type": "string" +}, +"nextPageToken": { +"description": "Token for retrieving the follow-on next page of the report. The `nextPageToken` value is used in the request's `pageToken` query string.", +"type": "string" +} +}, +"type": "object" +}, +"Activity": { +"description": "JSON template for the activity resource.", +"id": "Activity", +"properties": { +"actor": { +"description": "User doing the action.", +"properties": { +"applicationInfo": { +"description": "Details of the application that was the actor for the activity.", +"properties": { +"applicationName": { +"description": "Name of the application used to perform the action.", +"type": "string" +}, +"impersonation": { +"description": "Whether the application was impersonating a user.", +"type": "boolean" +}, +"oauthClientId": { +"description": "OAuth client id of the third party application used to perform the action.", +"type": "string" +} +}, +"type": "object" +}, +"callerType": { +"description": "The type of actor.", +"type": "string" +}, +"email": { +"description": "The primary email address of the actor. May be absent if there is no email address associated with the actor.", +"type": "string" +}, +"key": { +"description": "Only present when `callerType` is `KEY`. Can be the `consumer_key` of the requestor for OAuth 2LO API requests or an identifier for robot accounts.", +"type": "string" +}, +"profileId": { +"description": "The unique Google Workspace profile ID of the actor. This value might be absent if the actor is not a Google Workspace user, or may be the number 105250506097979753968 which acts as a placeholder ID.", +"type": "string" +} +}, +"type": "object" +}, +"etag": { +"description": "ETag of the entry.", +"type": "string" +}, +"events": { +"description": "Activity events in the report.", +"items": { +"properties": { +"name": { +"description": "Name of the event. This is the specific name of the activity reported by the API. And each `eventName` is related to a specific Google Workspace service or feature which the API organizes into types of events. For `eventName` request parameters in general: - If no `eventName` is given, the report returns all possible instances of an `eventName`. - When you request an `eventName`, the API's response returns all activities which contain that `eventName`. For more information about `eventName` properties, see the list of event names for various applications above in `applicationName`.", +"type": "string" +}, +"parameters": { +"description": "Parameter value pairs for various applications. For more information about `eventName` parameters, see the list of event names for various applications above in `applicationName`.", +"items": { +"properties": { +"boolValue": { +"description": "Boolean value of the parameter.", +"type": "boolean" +}, +"intValue": { +"description": "Integer value of the parameter.", +"format": "int64", +"type": "string" +}, +"messageValue": { +"description": "Nested parameter value pairs associated with this parameter. Complex value type for a parameter are returned as a list of parameter values. For example, the address parameter may have a value as `[{parameter: [{name: city, value: abc}]}]`", +"properties": { +"parameter": { +"description": "Parameter values", +"items": { +"$ref": "NestedParameter" +}, +"type": "array" +} +}, +"type": "object" +}, +"multiIntValue": { +"description": "Integer values of the parameter.", +"items": { +"format": "int64", +"type": "string" +}, +"type": "array" +}, +"multiMessageValue": { +"description": "List of `messageValue` objects.", +"items": { +"properties": { +"parameter": { +"description": "Parameter values", +"items": { +"$ref": "NestedParameter" +}, +"type": "array" +} +}, +"type": "object" +}, +"type": "array" +}, +"multiValue": { +"description": "String values of the parameter.", +"items": { +"type": "string" +}, +"type": "array" +}, +"name": { +"description": "The name of the parameter.", +"type": "string" +}, +"value": { +"description": "String value of the parameter.", +"type": "string" +} +}, +"type": "object" +}, +"type": "array" +}, +"resourceIds": { +"description": "Resource ids associated with the event.", +"items": { +"type": "string" +}, +"type": "array" +}, +"status": { +"$ref": "ActivityEventsStatus", +"description": "Status of the event. Note: Not all events have status." +}, +"type": { +"description": "Type of event. The Google Workspace service or feature that an administrator changes is identified in the `type` property which identifies an event using the `eventName` property. For a full list of the API's `type` categories, see the list of event names for various applications above in `applicationName`.", +"type": "string" +} +}, +"type": "object" +}, +"type": "array" +}, +"id": { +"description": "Unique identifier for each activity record.", +"properties": { +"applicationName": { +"description": "Application name to which the event belongs. For possible values see the list of applications above in `applicationName`.", +"type": "string" +}, +"customerId": { +"description": "The unique identifier for a Google Workspace account.", +"type": "string" +}, +"time": { +"description": "Time of occurrence of the activity. This is in UNIX epoch time in seconds.", +"format": "date-time", +"type": "string" +}, +"uniqueQualifier": { +"description": "Unique qualifier if multiple events have the same time.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"ipAddress": { +"description": "IP address of the user doing the action. This is the Internet Protocol (IP) address of the user when logging into Google Workspace, which may or may not reflect the user's physical location. For example, the IP address can be the user's proxy server's address or a virtual private network (VPN) address. The API supports IPv4 and IPv6.", +"type": "string" +}, +"kind": { +"default": "admin#reports#activity", +"description": "The type of API resource. For an activity report, the value is `audit#activity`.", +"type": "string" +}, +"networkInfo": { +"$ref": "ActivityNetworkInfo", +"description": "Network information of the user doing the action." +}, +"ownerDomain": { +"description": "This is the domain that is affected by the report's event. For example domain of Admin console or the Drive application's document owner.", +"type": "string" +}, +"resourceDetails": { +"description": "Details of the resource on which the action was performed.", +"items": { +"$ref": "ResourceDetails" +}, +"type": "array" +} +}, +"type": "object" +}, +"ActivityEventsStatus": { +"description": "Status of the event. Note: Not all events have status.", +"id": "ActivityEventsStatus", +"properties": { +"errorCode": { +"description": "Error code of the event. Note: Field can be empty.", +"type": "string" +}, +"errorMessage": { +"description": "Error message of the event. Note: Field can be empty.", +"type": "string" +}, +"eventStatus": { +"description": "Status of the event. Possible values if not empty: - UNKNOWN_EVENT_STATUS - SUCCEEDED - SUCCEEDED_WITH_WARNINGS - FAILED - SKIPPED ", +"type": "string" +}, +"httpStatusCode": { +"description": "Status code of the event. Note: Field can be empty.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"ActivityNetworkInfo": { +"description": "Network information of the user doing the action.", +"id": "ActivityNetworkInfo", +"properties": { +"ipAsn": { +"description": "IP Address of the user doing the action.", +"items": { +"format": "int32", +"type": "integer" +}, +"type": "array" +}, +"regionCode": { +"description": "ISO 3166-1 alpha-2 region code of the user doing the action.", +"type": "string" +}, +"subdivisionCode": { +"description": "ISO 3166-2 region code (states and provinces) for countries of the user doing the action.", +"type": "string" +} +}, +"type": "object" +}, +"AppliedLabel": { +"description": "Details of the label applied on the resource.", +"id": "AppliedLabel", +"properties": { +"fieldValues": { +"description": "List of fields which are part of the label and have been set by the user. If label has a field which was not set by the user, it would not be present in this list.", +"items": { +"$ref": "FieldValue" +}, +"type": "array" +}, +"id": { +"description": "Identifier of the label - Only the label id, not the full OnePlatform resource name.", +"type": "string" +}, +"reason": { +"$ref": "Reason", +"description": "The reason why the label was applied on the resource." +}, +"title": { +"description": "Title of the label", +"type": "string" +} +}, +"type": "object" +}, +"Channel": { +"description": "A notification channel used to watch for resource changes.", +"id": "Channel", +"properties": { +"address": { +"description": "The address where notifications are delivered for this channel.", +"type": "string" +}, +"expiration": { +"description": "Date and time of notification channel expiration, expressed as a Unix timestamp, in milliseconds. Optional.", +"format": "int64", +"type": "string" +}, +"id": { +"description": "A UUID or similar unique string that identifies this channel.", +"type": "string" +}, +"kind": { +"default": "api#channel", +"description": "Identifies this as a notification channel used to watch for changes to a resource, which is \"`api#channel`\".", +"type": "string" +}, +"params": { +"additionalProperties": { +"type": "string" +}, +"description": "Additional parameters controlling delivery channel behavior. Optional.", +"type": "object" +}, +"payload": { +"description": "A Boolean value to indicate whether payload is wanted. A payload is data that is sent in the body of an HTTP POST, PUT, or PATCH message and contains important information about the request. Optional.", +"type": "boolean" +}, +"resourceId": { +"description": "An opaque ID that identifies the resource being watched on this channel. Stable across different API versions.", +"type": "string" +}, +"resourceUri": { +"description": "A version-specific identifier for the watched resource.", +"type": "string" +}, +"token": { +"description": "An arbitrary string delivered to the target address with each notification delivered over this channel. Optional.", +"type": "string" +}, +"type": { +"description": "The type of delivery mechanism used for this channel. The value should be set to `\"web_hook\"`.", +"type": "string" +} +}, +"type": "object" +}, +"Date": { +"description": "Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following: * A full date, with non-zero year, month, and day values. * A month and day, with a zero year (for example, an anniversary). * A year on its own, with a zero month and a zero day. * A year and month, with a zero day (for example, a credit card expiration date). Related types: * google.type.TimeOfDay * google.type.DateTime * google.protobuf.Timestamp", +"id": "Date", +"properties": { +"day": { +"description": "Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn't significant.", +"format": "int32", +"type": "integer" +}, +"month": { +"description": "Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.", +"format": "int32", +"type": "integer" +}, +"year": { +"description": "Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"FieldValue": { +"description": "Details of the field value set by the user for the particular label.", +"id": "FieldValue", +"properties": { +"dateValue": { +"$ref": "Date", +"description": "Setting a date value." +}, +"displayName": { +"description": "Display name of the field", +"type": "string" +}, +"id": { +"description": "Identifier of the field", +"type": "string" +}, +"integerValue": { +"description": "Setting an integer value.", +"format": "int64", +"type": "string" +}, +"longTextValue": { +"description": "Setting a long text value.", +"type": "string" +}, +"reason": { +"$ref": "Reason", +"description": "The reason why the field was applied to the label." +}, +"selectionListValue": { +"$ref": "FieldValueSelectionListValue", +"description": "Setting a selection list value by selecting multiple values from a dropdown." +}, +"selectionValue": { +"$ref": "FieldValueSelectionValue", +"description": "Setting a selection value by selecting a single value from a dropdown." +}, +"textListValue": { +"$ref": "FieldValueTextListValue", +"description": "Setting a text list value." +}, +"textValue": { +"description": "Setting a text value.", +"type": "string" +}, +"type": { +"description": "Type of the field", +"type": "string" +}, +"unsetValue": { +"description": "If the field is unset, this will be true.", +"type": "boolean" +}, +"userListValue": { +"$ref": "FieldValueUserListValue", +"description": "Setting a user list value by selecting multiple users." +}, +"userValue": { +"$ref": "FieldValueUserValue", +"description": "Setting a user value by selecting a single user." +} +}, +"type": "object" +}, +"FieldValueSelectionListValue": { +"description": "Setting a selection list value by selecting multiple values from a dropdown.", +"id": "FieldValueSelectionListValue", +"properties": { +"values": { +"description": "List of selections.", +"items": { +"$ref": "FieldValueSelectionValue" +}, +"type": "array" +} +}, +"type": "object" +}, +"FieldValueSelectionValue": { +"description": "Setting a selection value by selecting a single value from a dropdown.", +"id": "FieldValueSelectionValue", +"properties": { +"badged": { +"description": "Whether the selection is badged.", +"type": "boolean" +}, +"displayName": { +"description": "Display name of the selection.", +"type": "string" +}, +"id": { +"description": "Identifier of the selection.", +"type": "string" +} +}, +"type": "object" +}, +"FieldValueTextListValue": { +"description": "Setting a text list value.", +"id": "FieldValueTextListValue", +"properties": { +"values": { +"description": "List of text values.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"FieldValueUserListValue": { +"description": "Setting a user list value by selecting multiple users.", +"id": "FieldValueUserListValue", +"properties": { +"values": { +"description": "List of users.", +"items": { +"$ref": "FieldValueUserValue" +}, +"type": "array" +} +}, +"type": "object" +}, +"FieldValueUserValue": { +"description": "Setting a user value by selecting a single user.", +"id": "FieldValueUserValue", +"properties": { +"email": { +"description": "Email of the user.", +"type": "string" +} +}, +"type": "object" +}, +"NestedParameter": { +"description": "JSON template for a parameter used in various reports.", +"id": "NestedParameter", +"properties": { +"boolValue": { +"description": "Boolean value of the parameter.", +"type": "boolean" +}, +"intValue": { +"description": "Integer value of the parameter.", +"format": "int64", +"type": "string" +}, +"multiBoolValue": { +"description": "Multiple boolean values of the parameter.", +"items": { +"type": "boolean" +}, +"type": "array" +}, +"multiIntValue": { +"description": "Multiple integer values of the parameter.", +"items": { +"format": "int64", +"type": "string" +}, +"type": "array" +}, +"multiValue": { +"description": "Multiple string values of the parameter.", +"items": { +"type": "string" +}, +"type": "array" +}, +"name": { +"description": "The name of the parameter.", +"type": "string" +}, +"value": { +"description": "String value of the parameter.", +"type": "string" +} +}, +"type": "object" +}, +"Reason": { +"description": "The reason why the label/field was applied.", +"id": "Reason", +"properties": { +"reasonType": { +"description": "The type of the reason.", +"type": "string" +} +}, +"type": "object" +}, +"ResourceDetails": { +"description": "Details of the resource on which the action was performed.", +"id": "ResourceDetails", +"properties": { +"appliedLabels": { +"description": "List of labels applied on the resource", +"items": { +"$ref": "AppliedLabel" +}, +"type": "array" +}, +"id": { +"description": "Identifier of the resource.", +"type": "string" +}, +"relation": { +"description": "Defines relationship of the resource to the events", +"type": "string" +}, +"title": { +"description": "Title of the resource. For instance, in case of a drive document, this would be the title of the document. In case of an email, this would be the subject.", +"type": "string" +}, +"type": { +"description": "Type of the resource - document, email, chat message", +"type": "string" +} +}, +"type": "object" +}, +"UsageReport": { +"description": "JSON template for a usage report.", +"id": "UsageReport", +"properties": { +"date": { +"description": "Output only. The date of the report request.", +"readOnly": true, +"type": "string" +}, +"entity": { +"description": "Output only. Information about the type of the item.", +"properties": { +"customerId": { +"description": "Output only. The unique identifier of the customer's account.", +"readOnly": true, +"type": "string" +}, +"entityId": { +"description": "Output only. Object key. Only relevant if entity.type = \"OBJECT\" Note: external-facing name of report is \"Entities\" rather than \"Objects\".", +"readOnly": true, +"type": "string" +}, +"profileId": { +"description": "Output only. The user's immutable Google Workspace profile identifier.", +"readOnly": true, +"type": "string" +}, +"type": { +"description": "Output only. The type of item. The value is `user`.", +"readOnly": true, +"type": "string" +}, +"userEmail": { +"description": "Output only. The user's email address. Only relevant if entity.type = \"USER\"", +"readOnly": true, +"type": "string" +} +}, +"readOnly": true, +"type": "object" +}, +"etag": { +"description": "ETag of the resource.", +"type": "string" +}, +"kind": { +"default": "admin#reports#usageReport", +"description": "The type of API resource. For a usage report, the value is `admin#reports#usageReport`.", +"type": "string" +}, +"parameters": { +"description": "Output only. Parameter value pairs for various applications. For the Entity Usage Report parameters and values, see [the Entity Usage parameters reference](https://developers.google.com/workspace/admin/reports/v1/reference/usage-ref-appendix-a/entities).", +"items": { +"properties": { +"boolValue": { +"description": "Output only. Boolean value of the parameter.", +"readOnly": true, +"type": "boolean" +}, +"datetimeValue": { +"description": "The RFC 3339 formatted value of the parameter, for example 2010-10-28T10:26:35.000Z.", +"format": "date-time", +"readOnly": true, +"type": "string" +}, +"intValue": { +"description": "Output only. Integer value of the parameter.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"msgValue": { +"description": "Output only. Nested message value of the parameter.", +"items": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"type": "object" +}, +"readOnly": true, +"type": "array" +}, +"name": { +"description": "The name of the parameter. For the User Usage Report parameter names, see the User Usage parameters reference.", +"type": "string" +}, +"stringValue": { +"description": "Output only. String value of the parameter.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"readOnly": true, +"type": "array" +} +}, +"type": "object" +}, +"UsageReports": { +"id": "UsageReports", +"properties": { +"etag": { +"description": "ETag of the resource.", +"type": "string" +}, +"kind": { +"default": "admin#reports#usageReports", +"description": "The type of API resource. For a usage report, the value is `admin#reports#usageReports`.", +"type": "string" +}, +"nextPageToken": { +"description": "Token to specify next page. A report with multiple pages has a `nextPageToken` property in the response. For your follow-on requests getting all of the report's pages, enter the `nextPageToken` value in the `pageToken` query string.", +"type": "string" +}, +"usageReports": { +"description": "Various application parameter records.", +"items": { +"$ref": "UsageReport" +}, +"type": "array" +}, +"warnings": { +"description": "Warnings, if any.", +"items": { +"properties": { +"code": { +"description": "Machine readable code or warning type. The warning code value is `200`.", +"type": "string" +}, +"data": { +"description": "Key-value pairs to give detailed information on the warning.", +"items": { +"properties": { +"key": { +"description": "Key associated with a key-value pair to give detailed information on the warning.", +"type": "string" +}, +"value": { +"description": "Value associated with a key-value pair to give detailed information on the warning.", +"type": "string" +} +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "The human readable messages for a warning are: - Data is not available warning - Sorry, data for date yyyy-mm-dd for application \"`application name`\" is not available. - Partial data is available warning - Data for date yyyy-mm-dd for application \"`application name`\" is not available right now, please try again after a few hours. ", +"type": "string" +} +}, +"type": "object" +}, +"type": "array" +} +}, +"type": "object" +} +}, +"servicePath": "", +"title": "Admin SDK API", +"version": "reports_v1" +} \ No newline at end of file diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/admob.v1.json b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/admob.v1.json new file mode 100644 index 0000000000000000000000000000000000000000..1c72a76f4468dba8a99b548c29efd3f3d5eed992 --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/admob.v1.json @@ -0,0 +1,1253 @@ +{ +"auth": { +"oauth2": { +"scopes": { +"https://www.googleapis.com/auth/admob.readonly": { +"description": "See your AdMob data" +}, +"https://www.googleapis.com/auth/admob.report": { +"description": "See your AdMob data" +} +} +} +}, +"basePath": "", +"baseUrl": "https://admob.googleapis.com/", +"batchPath": "batch", +"canonicalName": "AdMob", +"description": "The AdMob API allows publishers to programmatically get information about their AdMob account. ", +"discoveryVersion": "v1", +"documentationLink": "https://developers.google.com/admob/api/", +"fullyEncodeReservedExpansion": true, +"icons": { +"x16": "http://www.google.com/images/icons/product/search-16.gif", +"x32": "http://www.google.com/images/icons/product/search-32.gif" +}, +"id": "admob:v1", +"kind": "discovery#restDescription", +"mtlsRootUrl": "https://admob.mtls.googleapis.com/", +"name": "admob", +"ownerDomain": "google.com", +"ownerName": "Google", +"parameters": { +"$.xgafv": { +"description": "V1 error format.", +"enum": [ +"1", +"2" +], +"enumDescriptions": [ +"v1 error format", +"v2 error format" +], +"location": "query", +"type": "string" +}, +"access_token": { +"description": "OAuth access token.", +"location": "query", +"type": "string" +}, +"alt": { +"default": "json", +"description": "Data format for response.", +"enum": [ +"json", +"media", +"proto" +], +"enumDescriptions": [ +"Responses with Content-Type of application/json", +"Media download with context-dependent Content-Type", +"Responses with Content-Type of application/x-protobuf" +], +"location": "query", +"type": "string" +}, +"callback": { +"description": "JSONP", +"location": "query", +"type": "string" +}, +"fields": { +"description": "Selector specifying which fields to include in a partial response.", +"location": "query", +"type": "string" +}, +"key": { +"description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", +"location": "query", +"type": "string" +}, +"oauth_token": { +"description": "OAuth 2.0 token for the current user.", +"location": "query", +"type": "string" +}, +"prettyPrint": { +"default": "true", +"description": "Returns response with indentations and line breaks.", +"location": "query", +"type": "boolean" +}, +"quotaUser": { +"description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.", +"location": "query", +"type": "string" +}, +"uploadType": { +"description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", +"location": "query", +"type": "string" +}, +"upload_protocol": { +"description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", +"location": "query", +"type": "string" +} +}, +"protocol": "rest", +"resources": { +"accounts": { +"methods": { +"get": { +"description": "Gets information about the specified AdMob publisher account.", +"flatPath": "v1/accounts/{accountsId}", +"httpMethod": "GET", +"id": "admob.accounts.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Resource name of the publisher account to retrieve. Example: accounts/pub-9876543210987654", +"location": "path", +"pattern": "^accounts/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "PublisherAccount" +}, +"scopes": [ +"https://www.googleapis.com/auth/admob.readonly", +"https://www.googleapis.com/auth/admob.report" +], +"streamingType": "NONE" +}, +"list": { +"description": "Lists the AdMob publisher account that was most recently signed in to from the AdMob UI. For more information, see https://support.google.com/admob/answer/10243672.", +"flatPath": "v1/accounts", +"httpMethod": "GET", +"id": "admob.accounts.list", +"parameterOrder": [], +"parameters": { +"pageSize": { +"description": "Maximum number of accounts to return.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The value returned by the last `ListPublisherAccountsResponse`; indicates that this is a continuation of a prior `ListPublisherAccounts` call, and that the system should return the next page of data.", +"location": "query", +"type": "string" +} +}, +"path": "v1/accounts", +"response": { +"$ref": "ListPublisherAccountsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/admob.readonly", +"https://www.googleapis.com/auth/admob.report" +], +"streamingType": "NONE" +} +}, +"resources": { +"adUnits": { +"methods": { +"list": { +"description": "List the ad units under the specified AdMob account.", +"flatPath": "v1/accounts/{accountsId}/adUnits", +"httpMethod": "GET", +"id": "admob.accounts.adUnits.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "The maximum number of ad units to return. If unspecified or 0, at most 10,000 ad units will be returned. The maximum value is 20,000; values above 20,000 will be coerced to 20,000.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The value returned by the last `ListAdUnitsResponse`; indicates that this is a continuation of a prior `ListAdUnits` call, and that the system should return the next page of data.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. Resource name of the account to list ad units for. Example: accounts/pub-9876543210987654", +"location": "path", +"pattern": "^accounts/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/adUnits", +"response": { +"$ref": "ListAdUnitsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/admob.readonly" +], +"streamingType": "NONE" +} +} +}, +"apps": { +"methods": { +"list": { +"description": "List the apps under the specified AdMob account.", +"flatPath": "v1/accounts/{accountsId}/apps", +"httpMethod": "GET", +"id": "admob.accounts.apps.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "The maximum number of apps to return. If unspecified or 0, at most 10,000 apps will be returned. The maximum value is 20,000; values above 20,000 will be coerced to 20,000.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The value returned by the last `ListAppsResponse`; indicates that this is a continuation of a prior `ListApps` call, and that the system should return the next page of data.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. Resource name of the account to list apps for. Example: accounts/pub-9876543210987654", +"location": "path", +"pattern": "^accounts/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/apps", +"response": { +"$ref": "ListAppsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/admob.readonly" +], +"streamingType": "NONE" +} +} +}, +"mediationReport": { +"methods": { +"generate": { +"description": "Generates an AdMob Mediation report based on the provided report specification. Returns result of a server-side streaming RPC. The result is returned in a sequence of responses.", +"flatPath": "v1/accounts/{accountsId}/mediationReport:generate", +"httpMethod": "POST", +"id": "admob.accounts.mediationReport.generate", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Resource name of the account to generate the report for. Example: accounts/pub-9876543210987654", +"location": "path", +"pattern": "^accounts/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/mediationReport:generate", +"request": { +"$ref": "GenerateMediationReportRequest" +}, +"response": { +"$ref": "GenerateMediationReportResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/admob.readonly", +"https://www.googleapis.com/auth/admob.report" +], +"streamingType": "SERVER_SIDE" +} +} +}, +"networkReport": { +"methods": { +"generate": { +"description": "Generates an AdMob Network report based on the provided report specification. Returns result of a server-side streaming RPC. The result is returned in a sequence of responses.", +"flatPath": "v1/accounts/{accountsId}/networkReport:generate", +"httpMethod": "POST", +"id": "admob.accounts.networkReport.generate", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Resource name of the account to generate the report for. Example: accounts/pub-9876543210987654", +"location": "path", +"pattern": "^accounts/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/networkReport:generate", +"request": { +"$ref": "GenerateNetworkReportRequest" +}, +"response": { +"$ref": "GenerateNetworkReportResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/admob.readonly", +"https://www.googleapis.com/auth/admob.report" +], +"streamingType": "SERVER_SIDE" +} +} +} +} +} +}, +"revision": "20240708", +"rootUrl": "https://admob.googleapis.com/", +"schemas": { +"AdUnit": { +"description": "Describes an AdMob ad unit.", +"id": "AdUnit", +"properties": { +"adFormat": { +"description": "AdFormat of the ad unit. Possible values are as follows: \"APP_OPEN\" - App Open ad format. \"BANNER\" - Banner ad format. \"BANNER_INTERSTITIAL\" - Legacy format that can be used as either banner or interstitial. This format can no longer be created but can be targeted by mediation groups. \"INTERSTITIAL\" - A full screen ad. Supported ad types are \"RICH_MEDIA\" and \"VIDEO\". \"NATIVE\" - Native ad format. \"REWARDED\" - An ad that, once viewed, gets a callback verifying the view so that a reward can be given to the user. Supported ad types are \"RICH_MEDIA\" (interactive) and video where video can not be excluded. \"REWARDED_INTERSTITIAL\" - Rewarded Interstitial ad format. Only supports video ad type. See https://support.google.com/admob/answer/9884467.", +"type": "string" +}, +"adTypes": { +"description": "Ad media type supported by this ad unit. Possible values as follows: \"RICH_MEDIA\" - Text, image, and other non-video media. \"VIDEO\" - Video media.", +"items": { +"type": "string" +}, +"type": "array" +}, +"adUnitId": { +"description": "The externally visible ID of the ad unit which can be used to integrate with the AdMob SDK. This is a read only property. Example: ca-app-pub-9876543210987654/0123456789", +"type": "string" +}, +"appId": { +"description": "The externally visible ID of the app this ad unit is associated with. Example: ca-app-pub-9876543210987654~0123456789", +"type": "string" +}, +"displayName": { +"description": "The display name of the ad unit as shown in the AdMob UI, which is provided by the user. The maximum length allowed is 80 characters.", +"type": "string" +}, +"name": { +"description": "Resource name for this ad unit. Format is accounts/{publisher_id}/adUnits/{ad_unit_id_fragment} Example: accounts/pub-9876543210987654/adUnits/0123456789", +"type": "string" +} +}, +"type": "object" +}, +"App": { +"description": "Describes an AdMob app for a specific platform (For example: Android or iOS).", +"id": "App", +"properties": { +"appApprovalState": { +"description": "Output only. The approval state for the app. The field is read-only.", +"enum": [ +"APP_APPROVAL_STATE_UNSPECIFIED", +"ACTION_REQUIRED", +"IN_REVIEW", +"APPROVED" +], +"enumDescriptions": [ +"Default value for an unset field. Do not use.", +"The app requires additional user action to be approved. Please refer to https://support.google.com/admob/answer/10564477 for details and next steps.", +"The app is pending review.", +"The app is approved and can serve ads." +], +"readOnly": true, +"type": "string" +}, +"appId": { +"description": "The externally visible ID of the app which can be used to integrate with the AdMob SDK. This is a read only property. Example: ca-app-pub-9876543210987654~0123456789", +"type": "string" +}, +"linkedAppInfo": { +"$ref": "AppLinkedAppInfo", +"description": "Immutable. The information for an app that is linked to an app store. This field is present if and only if the app is linked to an app store." +}, +"manualAppInfo": { +"$ref": "AppManualAppInfo", +"description": "The information for an app that is not linked to any app store. After an app is linked, this information is still retrivable. If no name is provided for the app upon creation, a placeholder name will be used." +}, +"name": { +"description": "Resource name for this app. Format is accounts/{publisher_id}/apps/{app_id_fragment} Example: accounts/pub-9876543210987654/apps/0123456789", +"type": "string" +}, +"platform": { +"description": "Describes the platform of the app. Limited to \"IOS\" and \"ANDROID\".", +"type": "string" +} +}, +"type": "object" +}, +"AppLinkedAppInfo": { +"description": "Information from the app store if the app is linked to an app store.", +"id": "AppLinkedAppInfo", +"properties": { +"appStoreId": { +"description": "The app store ID of the app; present if and only if the app is linked to an app store. If the app is added to the Google Play store, it will be the application ID of the app. For example: \"com.example.myapp\". See https://developer.android.com/studio/build/application-id. If the app is added to the Apple App Store, it will be app store ID. For example \"105169111\". Note that setting the app store id is considered an irreversible action. Once an app is linked, it cannot be unlinked.", +"type": "string" +}, +"displayName": { +"description": "Output only. Display name of the app as it appears in the app store. This is an output-only field, and may be empty if the app cannot be found in the store.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"AppManualAppInfo": { +"description": "Information provided for manual apps which are not linked to an application store (Example: Google Play, App Store).", +"id": "AppManualAppInfo", +"properties": { +"displayName": { +"description": "The display name of the app as shown in the AdMob UI, which is provided by the user. The maximum length allowed is 80 characters.", +"type": "string" +} +}, +"type": "object" +}, +"Date": { +"description": "Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following: * A full date, with non-zero year, month, and day values. * A month and day, with a zero year (for example, an anniversary). * A year on its own, with a zero month and a zero day. * A year and month, with a zero day (for example, a credit card expiration date). Related types: * google.type.TimeOfDay * google.type.DateTime * google.protobuf.Timestamp", +"id": "Date", +"properties": { +"day": { +"description": "Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn't significant.", +"format": "int32", +"type": "integer" +}, +"month": { +"description": "Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.", +"format": "int32", +"type": "integer" +}, +"year": { +"description": "Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"DateRange": { +"description": "Specification of a single date range. Both dates are inclusive.", +"id": "DateRange", +"properties": { +"endDate": { +"$ref": "Date", +"description": "End date of the date range, inclusive. Must be greater than or equal to the start date." +}, +"startDate": { +"$ref": "Date", +"description": "Start date of the date range, inclusive. Must be less than or equal to the end date." +} +}, +"type": "object" +}, +"GenerateMediationReportRequest": { +"description": "Request to generate an AdMob Mediation report.", +"id": "GenerateMediationReportRequest", +"properties": { +"reportSpec": { +"$ref": "MediationReportSpec", +"description": "Network report specification." +} +}, +"type": "object" +}, +"GenerateMediationReportResponse": { +"description": "The streaming response for the AdMob Mediation report where the first response contains the report header, then a stream of row responses, and finally a footer as the last response message. For example: [{ \"header\": { \"date_range\": { \"start_date\": {\"year\": 2018, \"month\": 9, \"day\": 1}, \"end_date\": {\"year\": 2018, \"month\": 9, \"day\": 1} }, \"localization_settings\": { \"currency_code\": \"USD\", \"language_code\": \"en-US\" } } }, { \"row\": { \"dimension_values\": { \"DATE\": {\"value\": \"20180918\"}, \"APP\": { \"value\": \"ca-app-pub-8123415297019784~1001342552\", \"display_label\": \"My app name!\" } }, \"metric_values\": { \"ESTIMATED_EARNINGS\": {\"decimal_value\": \"1324746\"} } } }, { \"footer\": {\"matching_row_count\": 1} }]", +"id": "GenerateMediationReportResponse", +"properties": { +"footer": { +"$ref": "ReportFooter", +"description": "Additional information about the generated report, such as warnings about the data." +}, +"header": { +"$ref": "ReportHeader", +"description": "Report generation settings that describes the report contents, such as the report date range and localization settings." +}, +"row": { +"$ref": "ReportRow", +"description": "Actual report data." +} +}, +"type": "object" +}, +"GenerateNetworkReportRequest": { +"description": "Request to generate an AdMob Network report.", +"id": "GenerateNetworkReportRequest", +"properties": { +"reportSpec": { +"$ref": "NetworkReportSpec", +"description": "Network report specification." +} +}, +"type": "object" +}, +"GenerateNetworkReportResponse": { +"description": "The streaming response for the AdMob Network report where the first response contains the report header, then a stream of row responses, and finally a footer as the last response message. For example: [{ \"header\": { \"dateRange\": { \"startDate\": {\"year\": 2018, \"month\": 9, \"day\": 1}, \"endDate\": {\"year\": 2018, \"month\": 9, \"day\": 1} }, \"localizationSettings\": { \"currencyCode\": \"USD\", \"languageCode\": \"en-US\" } } }, { \"row\": { \"dimensionValues\": { \"DATE\": {\"value\": \"20180918\"}, \"APP\": { \"value\": \"ca-app-pub-8123415297019784~1001342552\", displayLabel: \"My app name!\" } }, \"metricValues\": { \"ESTIMATED_EARNINGS\": {\"microsValue\": 6500000} } } }, { \"footer\": {\"matchingRowCount\": 1} }]", +"id": "GenerateNetworkReportResponse", +"properties": { +"footer": { +"$ref": "ReportFooter", +"description": "Additional information about the generated report, such as warnings about the data." +}, +"header": { +"$ref": "ReportHeader", +"description": "Report generation settings that describes the report contents, such as the report date range and localization settings." +}, +"row": { +"$ref": "ReportRow", +"description": "Actual report data." +} +}, +"type": "object" +}, +"ListAdUnitsResponse": { +"description": "Response for the ad units list request.", +"id": "ListAdUnitsResponse", +"properties": { +"adUnits": { +"description": "The resulting ad units for the requested account.", +"items": { +"$ref": "AdUnit" +}, +"type": "array" +}, +"nextPageToken": { +"description": "If not empty, indicates that there may be more ad units for the request; this value should be passed in a new `ListAdUnitsRequest`.", +"type": "string" +} +}, +"type": "object" +}, +"ListAppsResponse": { +"description": "Response for the apps list request.", +"id": "ListAppsResponse", +"properties": { +"apps": { +"description": "The resulting apps for the requested account.", +"items": { +"$ref": "App" +}, +"type": "array" +}, +"nextPageToken": { +"description": "If not empty, indicates that there may be more apps for the request; this value should be passed in a new `ListAppsRequest`.", +"type": "string" +} +}, +"type": "object" +}, +"ListPublisherAccountsResponse": { +"description": "Response for the publisher account list request.", +"id": "ListPublisherAccountsResponse", +"properties": { +"account": { +"description": "Publisher that the client credentials can access.", +"items": { +"$ref": "PublisherAccount" +}, +"type": "array" +}, +"nextPageToken": { +"description": "If not empty, indicates that there might be more accounts for the request; you must pass this value in a new `ListPublisherAccountsRequest`.", +"type": "string" +} +}, +"type": "object" +}, +"LocalizationSettings": { +"description": "Localization settings for reports, such as currency and language. It affects how metrics are calculated.", +"id": "LocalizationSettings", +"properties": { +"currencyCode": { +"description": "Currency code of the earning related metrics, which is the 3-letter code defined in ISO 4217. The daily average rate is used for the currency conversion. Defaults to the account currency code if unspecified.", +"type": "string" +}, +"languageCode": { +"description": "Language used for any localized text, such as some dimension value display labels. The language tag defined in the IETF BCP47. Defaults to 'en-US' if unspecified.", +"type": "string" +} +}, +"type": "object" +}, +"MediationReportSpec": { +"description": "The specification for generating an AdMob Mediation report. For example, the specification to get observed ECPM sliced by ad source and app for the 'US' and 'CN' countries can look like the following example: { \"date_range\": { \"start_date\": {\"year\": 2021, \"month\": 9, \"day\": 1}, \"end_date\": {\"year\": 2021, \"month\": 9, \"day\": 30} }, \"dimensions\": [\"AD_SOURCE\", \"APP\", \"COUNTRY\"], \"metrics\": [\"OBSERVED_ECPM\"], \"dimension_filters\": [ { \"dimension\": \"COUNTRY\", \"matches_any\": {\"values\": [{\"value\": \"US\", \"value\": \"CN\"}]} } ], \"sort_conditions\": [ {\"dimension\":\"APP\", order: \"ASCENDING\"} ], \"localization_settings\": { \"currency_code\": \"USD\", \"language_code\": \"en-US\" } } For a better understanding, you can treat the preceding specification like the following pseudo SQL: SELECT AD_SOURCE, APP, COUNTRY, OBSERVED_ECPM FROM MEDIATION_REPORT WHERE DATE >= '2021-09-01' AND DATE <= '2021-09-30' AND COUNTRY IN ('US', 'CN') GROUP BY AD_SOURCE, APP, COUNTRY ORDER BY APP ASC;", +"id": "MediationReportSpec", +"properties": { +"dateRange": { +"$ref": "DateRange", +"description": "The date range for which the report is generated." +}, +"dimensionFilters": { +"description": "Describes which report rows to match based on their dimension values.", +"items": { +"$ref": "MediationReportSpecDimensionFilter" +}, +"type": "array" +}, +"dimensions": { +"description": "List of dimensions of the report. The value combination of these dimensions determines the row of the report. If no dimensions are specified, the report returns a single row of requested metrics for the entire account.", +"items": { +"enum": [ +"DIMENSION_UNSPECIFIED", +"DATE", +"MONTH", +"WEEK", +"AD_SOURCE", +"AD_SOURCE_INSTANCE", +"AD_UNIT", +"APP", +"MEDIATION_GROUP", +"COUNTRY", +"FORMAT", +"PLATFORM", +"MOBILE_OS_VERSION", +"GMA_SDK_VERSION", +"APP_VERSION_NAME", +"SERVING_RESTRICTION" +], +"enumDescriptions": [ +"Default value for an unset field. Do not use.", +"A date in the YYYYMMDD format (for example, \"20210701\"). Requests can specify at most one time dimension.", +"A month in the YYYYMM format (for example, \"202107\"). Requests can specify at most one time dimension.", +"The date of the first day of a week in the YYYYMMDD format (for example, \"20210701\"). Requests can specify at most one time dimension.", +"The [unique ID of the ad source](/admob/api/v1/ad_sources) (for example, \"5450213213286189855\" and \"AdMob Network\" as label value).", +"The unique ID of the ad source instance (for example, \"ca-app-pub-1234:asi:5678\" and \"AdMob (default)\" as label value).", +"The unique ID of the ad unit (for example, \"ca-app-pub-1234/8790\"). If AD_UNIT dimension is specified, then APP is included automatically.", +"The unique ID of the mobile application (for example, \"ca-app-pub-1234~1234\").", +"The unique ID of the mediation group (for example, \"ca-app-pub-1234:mg:1234\" and \"AdMob (default)\" as label value).", +"CLDR country code of the place where the ad views/clicks occur (for example, \"US\" or \"FR\"). This is a geography dimension.", +"Format of the ad unit (for example, \"banner\", \"native\"), an ad delivery dimension.", +"Mobile OS platform of the app (for example, \"Android\" or \"iOS\").", +"Mobile operating system version, e.g. \"iOS 13.5.1\".", +"GMA SDK version, e.g. \"iOS 7.62.0\".", +"For Android, the app version name can be found in versionName in PackageInfo. For iOS, the app version name can be found in CFBundleShortVersionString.", +"Restriction mode for ads serving (e.g. \"Non-personalized ads\")." +], +"type": "string" +}, +"type": "array" +}, +"localizationSettings": { +"$ref": "LocalizationSettings", +"description": "Localization settings of the report." +}, +"maxReportRows": { +"description": "Maximum number of report data rows to return. If the value is not set, the API returns as many rows as possible, up to 100000. Acceptable values are 1-100000, inclusive. Values larger than 100000 return an error.", +"format": "int32", +"type": "integer" +}, +"metrics": { +"description": "List of metrics of the report. A report must specify at least one metric.", +"items": { +"enum": [ +"METRIC_UNSPECIFIED", +"AD_REQUESTS", +"CLICKS", +"ESTIMATED_EARNINGS", +"IMPRESSIONS", +"IMPRESSION_CTR", +"MATCHED_REQUESTS", +"MATCH_RATE", +"OBSERVED_ECPM" +], +"enumDescriptions": [ +"Default value for an unset field. Do not use.", +"The number of requests. The value is an integer.", +"The number of times a user clicks an ad. The value is an integer.", +"The estimated earnings of the AdMob publisher. The currency unit (USD, EUR, or other) of the earning metrics are determined by the localization setting for currency. The amount is in micros. For example, $6.50 would be represented as 6500000. Estimated earnings per mediation group and per ad source instance level is supported dating back to October 20, 2019. Third-party estimated earnings will show 0 for dates prior to October 20, 2019.", +"The total number of ads shown to users. The value is an integer.", +"The ratio of clicks over impressions. The value is a double precision (approximate) decimal value.", +"The number of times ads are returned in response to a request. The value is an integer.", +"The ratio of matched ad requests over the total ad requests. The value is a double precision (approximate) decimal value.", +"The third-party ad network's estimated average eCPM. The currency unit (USD, EUR, or other) of the earning metrics are determined by the localization setting for currency. The amount is in micros. For example, $2.30 would be represented as 2300000. The estimated average eCPM per mediation group and per ad source instance level is supported dating back to October 20, 2019. Third-party estimated average eCPM will show 0 for dates prior to October 20, 2019." +], +"type": "string" +}, +"type": "array" +}, +"sortConditions": { +"description": "Describes the sorting of report rows. The order of the condition in the list defines its precedence; the earlier the condition, the higher its precedence. If no sort conditions are specified, the row ordering is undefined.", +"items": { +"$ref": "MediationReportSpecSortCondition" +}, +"type": "array" +}, +"timeZone": { +"description": "A report time zone. Accepts an IANA TZ name values, such as \"America/Los_Angeles.\" If no time zone is defined, the account default takes effect. Check default value by the get account action. **Warning:** The \"America/Los_Angeles\" is the only supported value at the moment.", +"type": "string" +} +}, +"type": "object" +}, +"MediationReportSpecDimensionFilter": { +"description": "Describes which report rows to match based on their dimension values.", +"id": "MediationReportSpecDimensionFilter", +"properties": { +"dimension": { +"description": "Applies the filter criterion to the specified dimension.", +"enum": [ +"DIMENSION_UNSPECIFIED", +"DATE", +"MONTH", +"WEEK", +"AD_SOURCE", +"AD_SOURCE_INSTANCE", +"AD_UNIT", +"APP", +"MEDIATION_GROUP", +"COUNTRY", +"FORMAT", +"PLATFORM", +"MOBILE_OS_VERSION", +"GMA_SDK_VERSION", +"APP_VERSION_NAME", +"SERVING_RESTRICTION" +], +"enumDescriptions": [ +"Default value for an unset field. Do not use.", +"A date in the YYYYMMDD format (for example, \"20210701\"). Requests can specify at most one time dimension.", +"A month in the YYYYMM format (for example, \"202107\"). Requests can specify at most one time dimension.", +"The date of the first day of a week in the YYYYMMDD format (for example, \"20210701\"). Requests can specify at most one time dimension.", +"The [unique ID of the ad source](/admob/api/v1/ad_sources) (for example, \"5450213213286189855\" and \"AdMob Network\" as label value).", +"The unique ID of the ad source instance (for example, \"ca-app-pub-1234:asi:5678\" and \"AdMob (default)\" as label value).", +"The unique ID of the ad unit (for example, \"ca-app-pub-1234/8790\"). If AD_UNIT dimension is specified, then APP is included automatically.", +"The unique ID of the mobile application (for example, \"ca-app-pub-1234~1234\").", +"The unique ID of the mediation group (for example, \"ca-app-pub-1234:mg:1234\" and \"AdMob (default)\" as label value).", +"CLDR country code of the place where the ad views/clicks occur (for example, \"US\" or \"FR\"). This is a geography dimension.", +"Format of the ad unit (for example, \"banner\", \"native\"), an ad delivery dimension.", +"Mobile OS platform of the app (for example, \"Android\" or \"iOS\").", +"Mobile operating system version, e.g. \"iOS 13.5.1\".", +"GMA SDK version, e.g. \"iOS 7.62.0\".", +"For Android, the app version name can be found in versionName in PackageInfo. For iOS, the app version name can be found in CFBundleShortVersionString.", +"Restriction mode for ads serving (e.g. \"Non-personalized ads\")." +], +"type": "string" +}, +"matchesAny": { +"$ref": "StringList", +"description": "Matches a row if its value for the specified dimension is in one of the values specified in this condition." +} +}, +"type": "object" +}, +"MediationReportSpecSortCondition": { +"description": "Sorting direction to be applied on a dimension or a metric.", +"id": "MediationReportSpecSortCondition", +"properties": { +"dimension": { +"description": "Sort by the specified dimension.", +"enum": [ +"DIMENSION_UNSPECIFIED", +"DATE", +"MONTH", +"WEEK", +"AD_SOURCE", +"AD_SOURCE_INSTANCE", +"AD_UNIT", +"APP", +"MEDIATION_GROUP", +"COUNTRY", +"FORMAT", +"PLATFORM", +"MOBILE_OS_VERSION", +"GMA_SDK_VERSION", +"APP_VERSION_NAME", +"SERVING_RESTRICTION" +], +"enumDescriptions": [ +"Default value for an unset field. Do not use.", +"A date in the YYYYMMDD format (for example, \"20210701\"). Requests can specify at most one time dimension.", +"A month in the YYYYMM format (for example, \"202107\"). Requests can specify at most one time dimension.", +"The date of the first day of a week in the YYYYMMDD format (for example, \"20210701\"). Requests can specify at most one time dimension.", +"The [unique ID of the ad source](/admob/api/v1/ad_sources) (for example, \"5450213213286189855\" and \"AdMob Network\" as label value).", +"The unique ID of the ad source instance (for example, \"ca-app-pub-1234:asi:5678\" and \"AdMob (default)\" as label value).", +"The unique ID of the ad unit (for example, \"ca-app-pub-1234/8790\"). If AD_UNIT dimension is specified, then APP is included automatically.", +"The unique ID of the mobile application (for example, \"ca-app-pub-1234~1234\").", +"The unique ID of the mediation group (for example, \"ca-app-pub-1234:mg:1234\" and \"AdMob (default)\" as label value).", +"CLDR country code of the place where the ad views/clicks occur (for example, \"US\" or \"FR\"). This is a geography dimension.", +"Format of the ad unit (for example, \"banner\", \"native\"), an ad delivery dimension.", +"Mobile OS platform of the app (for example, \"Android\" or \"iOS\").", +"Mobile operating system version, e.g. \"iOS 13.5.1\".", +"GMA SDK version, e.g. \"iOS 7.62.0\".", +"For Android, the app version name can be found in versionName in PackageInfo. For iOS, the app version name can be found in CFBundleShortVersionString.", +"Restriction mode for ads serving (e.g. \"Non-personalized ads\")." +], +"type": "string" +}, +"metric": { +"description": "Sort by the specified metric.", +"enum": [ +"METRIC_UNSPECIFIED", +"AD_REQUESTS", +"CLICKS", +"ESTIMATED_EARNINGS", +"IMPRESSIONS", +"IMPRESSION_CTR", +"MATCHED_REQUESTS", +"MATCH_RATE", +"OBSERVED_ECPM" +], +"enumDescriptions": [ +"Default value for an unset field. Do not use.", +"The number of requests. The value is an integer.", +"The number of times a user clicks an ad. The value is an integer.", +"The estimated earnings of the AdMob publisher. The currency unit (USD, EUR, or other) of the earning metrics are determined by the localization setting for currency. The amount is in micros. For example, $6.50 would be represented as 6500000. Estimated earnings per mediation group and per ad source instance level is supported dating back to October 20, 2019. Third-party estimated earnings will show 0 for dates prior to October 20, 2019.", +"The total number of ads shown to users. The value is an integer.", +"The ratio of clicks over impressions. The value is a double precision (approximate) decimal value.", +"The number of times ads are returned in response to a request. The value is an integer.", +"The ratio of matched ad requests over the total ad requests. The value is a double precision (approximate) decimal value.", +"The third-party ad network's estimated average eCPM. The currency unit (USD, EUR, or other) of the earning metrics are determined by the localization setting for currency. The amount is in micros. For example, $2.30 would be represented as 2300000. The estimated average eCPM per mediation group and per ad source instance level is supported dating back to October 20, 2019. Third-party estimated average eCPM will show 0 for dates prior to October 20, 2019." +], +"type": "string" +}, +"order": { +"description": "Sorting order of the dimension or metric.", +"enum": [ +"SORT_ORDER_UNSPECIFIED", +"ASCENDING", +"DESCENDING" +], +"enumDescriptions": [ +"Default value for an unset field. Do not use.", +"Sort dimension value or metric value in ascending order.", +"Sort dimension value or metric value in descending order." +], +"type": "string" +} +}, +"type": "object" +}, +"NetworkReportSpec": { +"description": "The specification for generating an AdMob Network report. For example, the specification to get clicks and estimated earnings for only the 'US' and 'CN' countries can look like the following example: { 'date_range': { 'start_date': {'year': 2021, 'month': 9, 'day': 1}, 'end_date': {'year': 2021, 'month': 9, 'day': 30} }, 'dimensions': ['DATE', 'APP', 'COUNTRY'], 'metrics': ['CLICKS', 'ESTIMATED_EARNINGS'], 'dimension_filters': [ { 'dimension': 'COUNTRY', 'matches_any': {'values': [{'value': 'US', 'value': 'CN'}]} } ], 'sort_conditions': [ {'dimension':'APP', order: 'ASCENDING'}, {'metric':'CLICKS', order: 'DESCENDING'} ], 'localization_settings': { 'currency_code': 'USD', 'language_code': 'en-US' } } For a better understanding, you can treat the preceding specification like the following pseudo SQL: SELECT DATE, APP, COUNTRY, CLICKS, ESTIMATED_EARNINGS FROM NETWORK_REPORT WHERE DATE >= '2021-09-01' AND DATE <= '2021-09-30' AND COUNTRY IN ('US', 'CN') GROUP BY DATE, APP, COUNTRY ORDER BY APP ASC, CLICKS DESC;", +"id": "NetworkReportSpec", +"properties": { +"dateRange": { +"$ref": "DateRange", +"description": "The date range for which the report is generated." +}, +"dimensionFilters": { +"description": "Describes which report rows to match based on their dimension values.", +"items": { +"$ref": "NetworkReportSpecDimensionFilter" +}, +"type": "array" +}, +"dimensions": { +"description": "List of dimensions of the report. The value combination of these dimensions determines the row of the report. If no dimensions are specified, the report returns a single row of requested metrics for the entire account.", +"items": { +"enum": [ +"DIMENSION_UNSPECIFIED", +"DATE", +"MONTH", +"WEEK", +"AD_UNIT", +"APP", +"AD_TYPE", +"COUNTRY", +"FORMAT", +"PLATFORM", +"MOBILE_OS_VERSION", +"GMA_SDK_VERSION", +"APP_VERSION_NAME", +"SERVING_RESTRICTION" +], +"enumDescriptions": [ +"Default value for an unset field. Do not use.", +"A date in the YYYYMMDD format (for example, \"20210701\"). Requests can specify at most one time dimension.", +"A month in the YYYYMM format (for example, \"202107\"). Requests can specify at most one time dimension.", +"The date of the first day of a week in the YYYYMMDD format (for example, \"20210701\"). Requests can specify at most one time dimension.", +"The unique ID of the ad unit (for example, \"ca-app-pub-1234/1234\"). If AD_UNIT dimension is specified, then APP is included automatically.", +"The unique ID of the mobile application (for example, \"ca-app-pub-1234~1234\").", +"Type of the ad (for example, \"text\" or \"image\"), an ad delivery dimension. **Warning:** The dimension is incompatible with [AD_REQUESTS](#Metric.ENUM_VALUES.AD_REQUESTS), [MATCH_RATE](#Metric.ENUM_VALUES.MATCH_RATE) and [IMPRESSION_RPM](#Metric.ENUM_VALUES.IMPRESSION_RPM) metrics.", +"CLDR country code of the place where the ad views/clicks occur (for example, \"US\" or \"FR\"). This is a geography dimension.", +"Format of the ad unit (for example, \"banner\", \"native\"), an ad delivery dimension.", +"Mobile OS platform of the app (for example, \"Android\" or \"iOS\").", +"Mobile operating system version, e.g. \"iOS 13.5.1\".", +"GMA SDK version, e.g. \"iOS 7.62.0\".", +"For Android, the app version name can be found in versionName in PackageInfo. For iOS, the app version name can be found in CFBundleShortVersionString.", +"Restriction mode for ads serving (e.g. \"Non-personalized ads\")." +], +"type": "string" +}, +"type": "array" +}, +"localizationSettings": { +"$ref": "LocalizationSettings", +"description": "Localization settings of the report." +}, +"maxReportRows": { +"description": "Maximum number of report data rows to return. If the value is not set, the API returns as many rows as possible, up to 100000. Acceptable values are 1-100000, inclusive. Values larger than 100000 return an error.", +"format": "int32", +"type": "integer" +}, +"metrics": { +"description": "List of metrics of the report. A report must specify at least one metric.", +"items": { +"enum": [ +"METRIC_UNSPECIFIED", +"AD_REQUESTS", +"CLICKS", +"ESTIMATED_EARNINGS", +"IMPRESSIONS", +"IMPRESSION_CTR", +"IMPRESSION_RPM", +"MATCHED_REQUESTS", +"MATCH_RATE", +"SHOW_RATE" +], +"enumDescriptions": [ +"Default value for an unset field. Do not use.", +"The number of ad requests. The value is an integer. **Warning:** The metric is incompatible with [AD_TYPE](#Dimension.ENUM_VALUES.AD_TYPE) dimension.", +"The number of times a user clicks an ad. The value is an integer.", +"The estimated earnings of the AdMob publisher. The currency unit (USD, EUR, or other) of the earning metrics are determined by the localization setting for currency. The amount is in micros. For example, $6.50 would be represented as 6500000.", +"The total number of ads shown to users. The value is an integer.", +"The ratio of clicks over impressions. The value is a double precision (approximate) decimal value.", +"The estimated earnings per thousand ad impressions. The value is in micros. For example, $1.03 would be represented as 1030000. Equivalent to eCPM in the AdMob UI. **Warning:** The metric is incompatible with [AD_TYPE](#Dimension.ENUM_VALUES.AD_TYPE) dimension.", +"The number of times ads are returned in response to a request. The value is an integer.", +"The ratio of matched ad requests over the total ad requests. The value is a double precision (approximate) decimal value. **Warning:** The metric is incompatible with [AD_TYPE](#Dimension.ENUM_VALUES.AD_TYPE) dimension.", +"The ratio of ads that are displayed over ads that are returned, defined as impressions / matched requests. The value is a double precision (approximate) decimal value." +], +"type": "string" +}, +"type": "array" +}, +"sortConditions": { +"description": "Describes the sorting of report rows. The order of the condition in the list defines its precedence; the earlier the condition, the higher its precedence. If no sort conditions are specified, the row ordering is undefined.", +"items": { +"$ref": "NetworkReportSpecSortCondition" +}, +"type": "array" +}, +"timeZone": { +"description": "A report time zone. Accepts an IANA TZ name values, such as \"America/Los_Angeles.\" If no time zone is defined, the account default takes effect. Check default value by the get account action. **Warning:** The \"America/Los_Angeles\" is the only supported value at the moment.", +"type": "string" +} +}, +"type": "object" +}, +"NetworkReportSpecDimensionFilter": { +"description": "Describes which report rows to match based on their dimension values.", +"id": "NetworkReportSpecDimensionFilter", +"properties": { +"dimension": { +"description": "Applies the filter criterion to the specified dimension.", +"enum": [ +"DIMENSION_UNSPECIFIED", +"DATE", +"MONTH", +"WEEK", +"AD_UNIT", +"APP", +"AD_TYPE", +"COUNTRY", +"FORMAT", +"PLATFORM", +"MOBILE_OS_VERSION", +"GMA_SDK_VERSION", +"APP_VERSION_NAME", +"SERVING_RESTRICTION" +], +"enumDescriptions": [ +"Default value for an unset field. Do not use.", +"A date in the YYYYMMDD format (for example, \"20210701\"). Requests can specify at most one time dimension.", +"A month in the YYYYMM format (for example, \"202107\"). Requests can specify at most one time dimension.", +"The date of the first day of a week in the YYYYMMDD format (for example, \"20210701\"). Requests can specify at most one time dimension.", +"The unique ID of the ad unit (for example, \"ca-app-pub-1234/1234\"). If AD_UNIT dimension is specified, then APP is included automatically.", +"The unique ID of the mobile application (for example, \"ca-app-pub-1234~1234\").", +"Type of the ad (for example, \"text\" or \"image\"), an ad delivery dimension. **Warning:** The dimension is incompatible with [AD_REQUESTS](#Metric.ENUM_VALUES.AD_REQUESTS), [MATCH_RATE](#Metric.ENUM_VALUES.MATCH_RATE) and [IMPRESSION_RPM](#Metric.ENUM_VALUES.IMPRESSION_RPM) metrics.", +"CLDR country code of the place where the ad views/clicks occur (for example, \"US\" or \"FR\"). This is a geography dimension.", +"Format of the ad unit (for example, \"banner\", \"native\"), an ad delivery dimension.", +"Mobile OS platform of the app (for example, \"Android\" or \"iOS\").", +"Mobile operating system version, e.g. \"iOS 13.5.1\".", +"GMA SDK version, e.g. \"iOS 7.62.0\".", +"For Android, the app version name can be found in versionName in PackageInfo. For iOS, the app version name can be found in CFBundleShortVersionString.", +"Restriction mode for ads serving (e.g. \"Non-personalized ads\")." +], +"type": "string" +}, +"matchesAny": { +"$ref": "StringList", +"description": "Matches a row if its value for the specified dimension is in one of the values specified in this condition." +} +}, +"type": "object" +}, +"NetworkReportSpecSortCondition": { +"description": "Sorting direction to be applied on a dimension or a metric.", +"id": "NetworkReportSpecSortCondition", +"properties": { +"dimension": { +"description": "Sort by the specified dimension.", +"enum": [ +"DIMENSION_UNSPECIFIED", +"DATE", +"MONTH", +"WEEK", +"AD_UNIT", +"APP", +"AD_TYPE", +"COUNTRY", +"FORMAT", +"PLATFORM", +"MOBILE_OS_VERSION", +"GMA_SDK_VERSION", +"APP_VERSION_NAME", +"SERVING_RESTRICTION" +], +"enumDescriptions": [ +"Default value for an unset field. Do not use.", +"A date in the YYYYMMDD format (for example, \"20210701\"). Requests can specify at most one time dimension.", +"A month in the YYYYMM format (for example, \"202107\"). Requests can specify at most one time dimension.", +"The date of the first day of a week in the YYYYMMDD format (for example, \"20210701\"). Requests can specify at most one time dimension.", +"The unique ID of the ad unit (for example, \"ca-app-pub-1234/1234\"). If AD_UNIT dimension is specified, then APP is included automatically.", +"The unique ID of the mobile application (for example, \"ca-app-pub-1234~1234\").", +"Type of the ad (for example, \"text\" or \"image\"), an ad delivery dimension. **Warning:** The dimension is incompatible with [AD_REQUESTS](#Metric.ENUM_VALUES.AD_REQUESTS), [MATCH_RATE](#Metric.ENUM_VALUES.MATCH_RATE) and [IMPRESSION_RPM](#Metric.ENUM_VALUES.IMPRESSION_RPM) metrics.", +"CLDR country code of the place where the ad views/clicks occur (for example, \"US\" or \"FR\"). This is a geography dimension.", +"Format of the ad unit (for example, \"banner\", \"native\"), an ad delivery dimension.", +"Mobile OS platform of the app (for example, \"Android\" or \"iOS\").", +"Mobile operating system version, e.g. \"iOS 13.5.1\".", +"GMA SDK version, e.g. \"iOS 7.62.0\".", +"For Android, the app version name can be found in versionName in PackageInfo. For iOS, the app version name can be found in CFBundleShortVersionString.", +"Restriction mode for ads serving (e.g. \"Non-personalized ads\")." +], +"type": "string" +}, +"metric": { +"description": "Sort by the specified metric.", +"enum": [ +"METRIC_UNSPECIFIED", +"AD_REQUESTS", +"CLICKS", +"ESTIMATED_EARNINGS", +"IMPRESSIONS", +"IMPRESSION_CTR", +"IMPRESSION_RPM", +"MATCHED_REQUESTS", +"MATCH_RATE", +"SHOW_RATE" +], +"enumDescriptions": [ +"Default value for an unset field. Do not use.", +"The number of ad requests. The value is an integer. **Warning:** The metric is incompatible with [AD_TYPE](#Dimension.ENUM_VALUES.AD_TYPE) dimension.", +"The number of times a user clicks an ad. The value is an integer.", +"The estimated earnings of the AdMob publisher. The currency unit (USD, EUR, or other) of the earning metrics are determined by the localization setting for currency. The amount is in micros. For example, $6.50 would be represented as 6500000.", +"The total number of ads shown to users. The value is an integer.", +"The ratio of clicks over impressions. The value is a double precision (approximate) decimal value.", +"The estimated earnings per thousand ad impressions. The value is in micros. For example, $1.03 would be represented as 1030000. Equivalent to eCPM in the AdMob UI. **Warning:** The metric is incompatible with [AD_TYPE](#Dimension.ENUM_VALUES.AD_TYPE) dimension.", +"The number of times ads are returned in response to a request. The value is an integer.", +"The ratio of matched ad requests over the total ad requests. The value is a double precision (approximate) decimal value. **Warning:** The metric is incompatible with [AD_TYPE](#Dimension.ENUM_VALUES.AD_TYPE) dimension.", +"The ratio of ads that are displayed over ads that are returned, defined as impressions / matched requests. The value is a double precision (approximate) decimal value." +], +"type": "string" +}, +"order": { +"description": "Sorting order of the dimension or metric.", +"enum": [ +"SORT_ORDER_UNSPECIFIED", +"ASCENDING", +"DESCENDING" +], +"enumDescriptions": [ +"Default value for an unset field. Do not use.", +"Sort dimension value or metric value in ascending order.", +"Sort dimension value or metric value in descending order." +], +"type": "string" +} +}, +"type": "object" +}, +"PublisherAccount": { +"description": "A publisher account contains information relevant to the use of this API, such as the time zone used for the reports.", +"id": "PublisherAccount", +"properties": { +"currencyCode": { +"description": "Currency code of the earning-related metrics, which is the 3-letter code defined in ISO 4217. The daily average rate is used for the currency conversion.", +"type": "string" +}, +"name": { +"description": "Resource name of this account. Format is accounts/{publisher_id}.", +"type": "string" +}, +"publisherId": { +"description": "The unique ID by which this publisher account can be identified in the API requests (for example, pub-1234567890).", +"type": "string" +}, +"reportingTimeZone": { +"description": "The time zone that is used in reports that are generated for this account. The value is a time-zone ID as specified by the CLDR project, for example, \"America/Los_Angeles\".", +"type": "string" +} +}, +"type": "object" +}, +"ReportFooter": { +"description": "Groups data available after report generation, for example, warnings and row counts. Always sent as the last message in the stream response.", +"id": "ReportFooter", +"properties": { +"matchingRowCount": { +"description": "Total number of rows that matched the request. Warning: This count does NOT always match the number of rows in the response. Do not make that assumption when processing the response.", +"format": "int64", +"type": "string" +}, +"warnings": { +"description": "Warnings associated with generation of the report.", +"items": { +"$ref": "ReportWarning" +}, +"type": "array" +} +}, +"type": "object" +}, +"ReportHeader": { +"description": "Groups data helps to treat the generated report. Always sent as a first message in the stream response.", +"id": "ReportHeader", +"properties": { +"dateRange": { +"$ref": "DateRange", +"description": "The date range for which the report is generated. This is identical to the range specified in the report request." +}, +"localizationSettings": { +"$ref": "LocalizationSettings", +"description": "Localization settings of the report. This is identical to the settings in the report request." +}, +"reportingTimeZone": { +"description": "The report time zone. The value is a time-zone ID as specified by the CLDR project, for example, \"America/Los_Angeles\".", +"type": "string" +} +}, +"type": "object" +}, +"ReportRow": { +"description": "A row of the returning report.", +"id": "ReportRow", +"properties": { +"dimensionValues": { +"additionalProperties": { +"$ref": "ReportRowDimensionValue" +}, +"description": "Map of dimension values in a row, with keys as enum name of the dimensions.", +"type": "object" +}, +"metricValues": { +"additionalProperties": { +"$ref": "ReportRowMetricValue" +}, +"description": "Map of metric values in a row, with keys as enum name of the metrics. If a metric being requested has no value returned, the map will not include it.", +"type": "object" +} +}, +"type": "object" +}, +"ReportRowDimensionValue": { +"description": "Representation of a dimension value.", +"id": "ReportRowDimensionValue", +"properties": { +"displayLabel": { +"description": "The localized string representation of the value. If unspecified, the display label should be derived from the value.", +"type": "string" +}, +"value": { +"description": "Dimension value in the format specified in the report's spec Dimension enum.", +"type": "string" +} +}, +"type": "object" +}, +"ReportRowMetricValue": { +"description": "Representation of a metric value.", +"id": "ReportRowMetricValue", +"properties": { +"doubleValue": { +"description": "Double precision (approximate) decimal values. Rates are from 0 to 1.", +"format": "double", +"type": "number" +}, +"integerValue": { +"description": "Metric integer value.", +"format": "int64", +"type": "string" +}, +"microsValue": { +"description": "Amount in micros. One million is equivalent to one unit. Currency value is in the unit (USD, EUR or other) specified by the request. For example, $6.50 whould be represented as 6500000 micros.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"ReportWarning": { +"description": "Warnings associated with generation of the report.", +"id": "ReportWarning", +"properties": { +"description": { +"description": "Describes the details of the warning message, in English.", +"type": "string" +}, +"type": { +"description": "Type of the warning.", +"enum": [ +"TYPE_UNSPECIFIED", +"DATA_BEFORE_ACCOUNT_TIMEZONE_CHANGE", +"DATA_DELAYED", +"OTHER", +"REPORT_CURRENCY_NOT_ACCOUNT_CURRENCY" +], +"enumDescriptions": [ +"Default value for an unset field. Do not use.", +"Some data in this report is aggregated based on a time zone different from the requested time zone. This could happen if a local time-zone report has the start time before the last time this time zone changed. The description field will contain the date of the last time zone change.", +"There is an unusual delay in processing the source data for the requested date range. The report results might be less up to date than usual. AdMob is aware of the issue and is actively working to resolve it.", +"Warnings that are exposed without a specific type. Useful when new warning types are added but the API is not changed yet.", +"The currency being requested is not the account currency. The earning metrics will be based on the requested currency, and thus not a good estimation of the final payment anymore, due to the currency rate fluctuation." +], +"type": "string" +} +}, +"type": "object" +}, +"StringList": { +"description": "List of string values.", +"id": "StringList", +"properties": { +"values": { +"description": "The string values.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +} +}, +"servicePath": "", +"title": "AdMob API", +"version": "v1", +"version_module": true +} \ No newline at end of file diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/adsensehost.v4.1.json b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/adsensehost.v4.1.json new file mode 100644 index 0000000000000000000000000000000000000000..0dda4de4db62af68bf959a591a3bddc26ed00113 --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/adsensehost.v4.1.json @@ -0,0 +1,1573 @@ +{ +"auth": { +"oauth2": { +"scopes": { +"https://www.googleapis.com/auth/adsensehost": { +"description": "View and manage your AdSense host data and associated accounts" +} +} +} +}, +"basePath": "/adsensehost/v4.1/", +"baseUrl": "https://www.googleapis.com/adsensehost/v4.1/", +"batchPath": "batch/adsensehost/v4.1", +"canonicalName": "AdSense Host", +"description": "Generates performance reports, generates ad codes, and provides publisher management capabilities for AdSense Hosts.", +"discoveryVersion": "v1", +"documentationLink": "https://developers.google.com/adsense/host/", +"icons": { +"x16": "https://www.google.com/images/icons/product/adsense-16.png", +"x32": "https://www.google.com/images/icons/product/adsense-32.png" +}, +"id": "adsensehost:v4.1", +"kind": "discovery#restDescription", +"labels": [ +"limited_availability" +], +"name": "adsensehost", +"ownerDomain": "google.com", +"ownerName": "Google", +"parameters": { +"alt": { +"default": "json", +"description": "Data format for the response.", +"enum": [ +"csv", +"json" +], +"enumDescriptions": [ +"Responses with Content-Type of text/csv", +"Responses with Content-Type of application/json" +], +"location": "query", +"type": "string" +}, +"fields": { +"description": "Selector specifying which fields to include in a partial response.", +"location": "query", +"type": "string" +}, +"key": { +"description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", +"location": "query", +"type": "string" +}, +"oauth_token": { +"description": "OAuth 2.0 token for the current user.", +"location": "query", +"type": "string" +}, +"prettyPrint": { +"default": "true", +"description": "Returns response with indentations and line breaks.", +"location": "query", +"type": "boolean" +}, +"quotaUser": { +"description": "An opaque string that represents a user for quota purposes. Must not exceed 40 characters.", +"location": "query", +"type": "string" +}, +"userIp": { +"description": "Deprecated. Please use quotaUser instead.", +"location": "query", +"type": "string" +} +}, +"protocol": "rest", +"resources": { +"accounts": { +"methods": { +"get": { +"description": "Get information about the selected associated AdSense account.", +"httpMethod": "GET", +"id": "adsensehost.accounts.get", +"parameterOrder": [ +"accountId" +], +"parameters": { +"accountId": { +"description": "Account to get information about.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "accounts/{accountId}", +"response": { +"$ref": "Account" +}, +"scopes": [ +"https://www.googleapis.com/auth/adsensehost" +] +}, +"list": { +"description": "List hosted accounts associated with this AdSense account by ad client id.", +"httpMethod": "GET", +"id": "adsensehost.accounts.list", +"parameterOrder": [ +"filterAdClientId" +], +"parameters": { +"filterAdClientId": { +"description": "Ad clients to list accounts for.", +"location": "query", +"repeated": true, +"required": true, +"type": "string" +} +}, +"path": "accounts", +"response": { +"$ref": "Accounts" +}, +"scopes": [ +"https://www.googleapis.com/auth/adsensehost" +] +} +}, +"resources": { +"adclients": { +"methods": { +"get": { +"description": "Get information about one of the ad clients in the specified publisher's AdSense account.", +"httpMethod": "GET", +"id": "adsensehost.accounts.adclients.get", +"parameterOrder": [ +"accountId", +"adClientId" +], +"parameters": { +"accountId": { +"description": "Account which contains the ad client.", +"location": "path", +"required": true, +"type": "string" +}, +"adClientId": { +"description": "Ad client to get.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "accounts/{accountId}/adclients/{adClientId}", +"response": { +"$ref": "AdClient" +}, +"scopes": [ +"https://www.googleapis.com/auth/adsensehost" +] +}, +"list": { +"description": "List all hosted ad clients in the specified hosted account.", +"httpMethod": "GET", +"id": "adsensehost.accounts.adclients.list", +"parameterOrder": [ +"accountId" +], +"parameters": { +"accountId": { +"description": "Account for which to list ad clients.", +"location": "path", +"required": true, +"type": "string" +}, +"maxResults": { +"description": "The maximum number of ad clients to include in the response, used for paging.", +"format": "uint32", +"location": "query", +"maximum": "10000", +"minimum": "0", +"type": "integer" +}, +"pageToken": { +"description": "A continuation token, used to page through ad clients. To retrieve the next page, set this parameter to the value of \"nextPageToken\" from the previous response.", +"location": "query", +"type": "string" +} +}, +"path": "accounts/{accountId}/adclients", +"response": { +"$ref": "AdClients" +}, +"scopes": [ +"https://www.googleapis.com/auth/adsensehost" +] +} +} +}, +"adunits": { +"methods": { +"delete": { +"description": "Delete the specified ad unit from the specified publisher AdSense account.", +"httpMethod": "DELETE", +"id": "adsensehost.accounts.adunits.delete", +"parameterOrder": [ +"accountId", +"adClientId", +"adUnitId" +], +"parameters": { +"accountId": { +"description": "Account which contains the ad unit.", +"location": "path", +"required": true, +"type": "string" +}, +"adClientId": { +"description": "Ad client for which to get ad unit.", +"location": "path", +"required": true, +"type": "string" +}, +"adUnitId": { +"description": "Ad unit to delete.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "accounts/{accountId}/adclients/{adClientId}/adunits/{adUnitId}", +"response": { +"$ref": "AdUnit" +}, +"scopes": [ +"https://www.googleapis.com/auth/adsensehost" +] +}, +"get": { +"description": "Get the specified host ad unit in this AdSense account.", +"httpMethod": "GET", +"id": "adsensehost.accounts.adunits.get", +"parameterOrder": [ +"accountId", +"adClientId", +"adUnitId" +], +"parameters": { +"accountId": { +"description": "Account which contains the ad unit.", +"location": "path", +"required": true, +"type": "string" +}, +"adClientId": { +"description": "Ad client for which to get ad unit.", +"location": "path", +"required": true, +"type": "string" +}, +"adUnitId": { +"description": "Ad unit to get.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "accounts/{accountId}/adclients/{adClientId}/adunits/{adUnitId}", +"response": { +"$ref": "AdUnit" +}, +"scopes": [ +"https://www.googleapis.com/auth/adsensehost" +] +}, +"getAdCode": { +"description": "Get ad code for the specified ad unit, attaching the specified host custom channels.", +"httpMethod": "GET", +"id": "adsensehost.accounts.adunits.getAdCode", +"parameterOrder": [ +"accountId", +"adClientId", +"adUnitId" +], +"parameters": { +"accountId": { +"description": "Account which contains the ad client.", +"location": "path", +"required": true, +"type": "string" +}, +"adClientId": { +"description": "Ad client with contains the ad unit.", +"location": "path", +"required": true, +"type": "string" +}, +"adUnitId": { +"description": "Ad unit to get the code for.", +"location": "path", +"required": true, +"type": "string" +}, +"hostCustomChannelId": { +"description": "Host custom channel to attach to the ad code.", +"location": "query", +"repeated": true, +"type": "string" +} +}, +"path": "accounts/{accountId}/adclients/{adClientId}/adunits/{adUnitId}/adcode", +"response": { +"$ref": "AdCode" +}, +"scopes": [ +"https://www.googleapis.com/auth/adsensehost" +] +}, +"insert": { +"description": "Insert the supplied ad unit into the specified publisher AdSense account.", +"httpMethod": "POST", +"id": "adsensehost.accounts.adunits.insert", +"parameterOrder": [ +"accountId", +"adClientId" +], +"parameters": { +"accountId": { +"description": "Account which will contain the ad unit.", +"location": "path", +"required": true, +"type": "string" +}, +"adClientId": { +"description": "Ad client into which to insert the ad unit.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "accounts/{accountId}/adclients/{adClientId}/adunits", +"request": { +"$ref": "AdUnit" +}, +"response": { +"$ref": "AdUnit" +}, +"scopes": [ +"https://www.googleapis.com/auth/adsensehost" +] +}, +"list": { +"description": "List all ad units in the specified publisher's AdSense account.", +"httpMethod": "GET", +"id": "adsensehost.accounts.adunits.list", +"parameterOrder": [ +"accountId", +"adClientId" +], +"parameters": { +"accountId": { +"description": "Account which contains the ad client.", +"location": "path", +"required": true, +"type": "string" +}, +"adClientId": { +"description": "Ad client for which to list ad units.", +"location": "path", +"required": true, +"type": "string" +}, +"includeInactive": { +"description": "Whether to include inactive ad units. Default: true.", +"location": "query", +"type": "boolean" +}, +"maxResults": { +"description": "The maximum number of ad units to include in the response, used for paging.", +"format": "uint32", +"location": "query", +"maximum": "10000", +"minimum": "0", +"type": "integer" +}, +"pageToken": { +"description": "A continuation token, used to page through ad units. To retrieve the next page, set this parameter to the value of \"nextPageToken\" from the previous response.", +"location": "query", +"type": "string" +} +}, +"path": "accounts/{accountId}/adclients/{adClientId}/adunits", +"response": { +"$ref": "AdUnits" +}, +"scopes": [ +"https://www.googleapis.com/auth/adsensehost" +] +}, +"patch": { +"description": "Update the supplied ad unit in the specified publisher AdSense account. This method supports patch semantics.", +"httpMethod": "PATCH", +"id": "adsensehost.accounts.adunits.patch", +"parameterOrder": [ +"accountId", +"adClientId", +"adUnitId" +], +"parameters": { +"accountId": { +"description": "Account which contains the ad client.", +"location": "path", +"required": true, +"type": "string" +}, +"adClientId": { +"description": "Ad client which contains the ad unit.", +"location": "path", +"required": true, +"type": "string" +}, +"adUnitId": { +"description": "Ad unit to get.", +"location": "query", +"required": true, +"type": "string" +} +}, +"path": "accounts/{accountId}/adclients/{adClientId}/adunits", +"request": { +"$ref": "AdUnit" +}, +"response": { +"$ref": "AdUnit" +}, +"scopes": [ +"https://www.googleapis.com/auth/adsensehost" +] +}, +"update": { +"description": "Update the supplied ad unit in the specified publisher AdSense account.", +"httpMethod": "PUT", +"id": "adsensehost.accounts.adunits.update", +"parameterOrder": [ +"accountId", +"adClientId" +], +"parameters": { +"accountId": { +"description": "Account which contains the ad client.", +"location": "path", +"required": true, +"type": "string" +}, +"adClientId": { +"description": "Ad client which contains the ad unit.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "accounts/{accountId}/adclients/{adClientId}/adunits", +"request": { +"$ref": "AdUnit" +}, +"response": { +"$ref": "AdUnit" +}, +"scopes": [ +"https://www.googleapis.com/auth/adsensehost" +] +} +} +}, +"reports": { +"methods": { +"generate": { +"description": "Generate an AdSense report based on the report request sent in the query parameters. Returns the result as JSON; to retrieve output in CSV format specify \"alt=csv\" as a query parameter.", +"httpMethod": "GET", +"id": "adsensehost.accounts.reports.generate", +"parameterOrder": [ +"accountId", +"startDate", +"endDate" +], +"parameters": { +"accountId": { +"description": "Hosted account upon which to report.", +"location": "path", +"required": true, +"type": "string" +}, +"dimension": { +"description": "Dimensions to base the report on.", +"location": "query", +"pattern": "[a-zA-Z_]+", +"repeated": true, +"type": "string" +}, +"endDate": { +"description": "End of the date range to report on in \"YYYY-MM-DD\" format, inclusive.", +"location": "query", +"pattern": "\\d{4}-\\d{2}-\\d{2}|(today|startOfMonth|startOfYear)(([\\-\\+]\\d+[dwmy]){0,3}?)", +"required": true, +"type": "string" +}, +"filter": { +"description": "Filters to be run on the report.", +"location": "query", +"pattern": "[a-zA-Z_]+(==|=@).+", +"repeated": true, +"type": "string" +}, +"locale": { +"description": "Optional locale to use for translating report output to a local language. Defaults to \"en_US\" if not specified.", +"location": "query", +"pattern": "[a-zA-Z_]+", +"type": "string" +}, +"maxResults": { +"description": "The maximum number of rows of report data to return.", +"format": "uint32", +"location": "query", +"maximum": "50000", +"minimum": "0", +"type": "integer" +}, +"metric": { +"description": "Numeric columns to include in the report.", +"location": "query", +"pattern": "[a-zA-Z_]+", +"repeated": true, +"type": "string" +}, +"sort": { +"description": "The name of a dimension or metric to sort the resulting report on, optionally prefixed with \"+\" to sort ascending or \"-\" to sort descending. If no prefix is specified, the column is sorted ascending.", +"location": "query", +"pattern": "(\\+|-)?[a-zA-Z_]+", +"repeated": true, +"type": "string" +}, +"startDate": { +"description": "Start of the date range to report on in \"YYYY-MM-DD\" format, inclusive.", +"location": "query", +"pattern": "\\d{4}-\\d{2}-\\d{2}|(today|startOfMonth|startOfYear)(([\\-\\+]\\d+[dwmy]){0,3}?)", +"required": true, +"type": "string" +}, +"startIndex": { +"description": "Index of the first row of report data to return.", +"format": "uint32", +"location": "query", +"maximum": "5000", +"minimum": "0", +"type": "integer" +} +}, +"path": "accounts/{accountId}/reports", +"response": { +"$ref": "Report" +}, +"scopes": [ +"https://www.googleapis.com/auth/adsensehost" +] +} +} +} +} +}, +"adclients": { +"methods": { +"get": { +"description": "Get information about one of the ad clients in the Host AdSense account.", +"httpMethod": "GET", +"id": "adsensehost.adclients.get", +"parameterOrder": [ +"adClientId" +], +"parameters": { +"adClientId": { +"description": "Ad client to get.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "adclients/{adClientId}", +"response": { +"$ref": "AdClient" +}, +"scopes": [ +"https://www.googleapis.com/auth/adsensehost" +] +}, +"list": { +"description": "List all host ad clients in this AdSense account.", +"httpMethod": "GET", +"id": "adsensehost.adclients.list", +"parameters": { +"maxResults": { +"description": "The maximum number of ad clients to include in the response, used for paging.", +"format": "uint32", +"location": "query", +"maximum": "10000", +"minimum": "0", +"type": "integer" +}, +"pageToken": { +"description": "A continuation token, used to page through ad clients. To retrieve the next page, set this parameter to the value of \"nextPageToken\" from the previous response.", +"location": "query", +"type": "string" +} +}, +"path": "adclients", +"response": { +"$ref": "AdClients" +}, +"scopes": [ +"https://www.googleapis.com/auth/adsensehost" +] +} +} +}, +"associationsessions": { +"methods": { +"start": { +"description": "Create an association session for initiating an association with an AdSense user.", +"httpMethod": "GET", +"id": "adsensehost.associationsessions.start", +"parameterOrder": [ +"productCode", +"websiteUrl" +], +"parameters": { +"callbackUrl": { +"description": "The URL to redirect the user to once association is completed. It receives a token parameter that can then be used to retrieve the associated account.", +"location": "query", +"type": "string" +}, +"productCode": { +"description": "Products to associate with the user.", +"enum": [ +"AFC", +"AFG", +"AFMC", +"AFS", +"AFV" +], +"enumDescriptions": [ +"AdSense For Content", +"AdSense For Games", +"AdSense For Mobile Content - deprecated", +"AdSense For Search - deprecated", +"AdSense For Video" +], +"location": "query", +"repeated": true, +"required": true, +"type": "string" +}, +"userLocale": { +"description": "The preferred locale of the user.", +"location": "query", +"type": "string" +}, +"websiteLocale": { +"description": "The locale of the user's hosted website.", +"location": "query", +"type": "string" +}, +"websiteUrl": { +"description": "The URL of the user's hosted website.", +"location": "query", +"required": true, +"type": "string" +} +}, +"path": "associationsessions/start", +"response": { +"$ref": "AssociationSession" +}, +"scopes": [ +"https://www.googleapis.com/auth/adsensehost" +] +}, +"verify": { +"description": "Verify an association session after the association callback returns from AdSense signup.", +"httpMethod": "GET", +"id": "adsensehost.associationsessions.verify", +"parameterOrder": [ +"token" +], +"parameters": { +"token": { +"description": "The token returned to the association callback URL.", +"location": "query", +"required": true, +"type": "string" +} +}, +"path": "associationsessions/verify", +"response": { +"$ref": "AssociationSession" +}, +"scopes": [ +"https://www.googleapis.com/auth/adsensehost" +] +} +} +}, +"customchannels": { +"methods": { +"delete": { +"description": "Delete a specific custom channel from the host AdSense account.", +"httpMethod": "DELETE", +"id": "adsensehost.customchannels.delete", +"parameterOrder": [ +"adClientId", +"customChannelId" +], +"parameters": { +"adClientId": { +"description": "Ad client from which to delete the custom channel.", +"location": "path", +"required": true, +"type": "string" +}, +"customChannelId": { +"description": "Custom channel to delete.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "adclients/{adClientId}/customchannels/{customChannelId}", +"response": { +"$ref": "CustomChannel" +}, +"scopes": [ +"https://www.googleapis.com/auth/adsensehost" +] +}, +"get": { +"description": "Get a specific custom channel from the host AdSense account.", +"httpMethod": "GET", +"id": "adsensehost.customchannels.get", +"parameterOrder": [ +"adClientId", +"customChannelId" +], +"parameters": { +"adClientId": { +"description": "Ad client from which to get the custom channel.", +"location": "path", +"required": true, +"type": "string" +}, +"customChannelId": { +"description": "Custom channel to get.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "adclients/{adClientId}/customchannels/{customChannelId}", +"response": { +"$ref": "CustomChannel" +}, +"scopes": [ +"https://www.googleapis.com/auth/adsensehost" +] +}, +"insert": { +"description": "Add a new custom channel to the host AdSense account.", +"httpMethod": "POST", +"id": "adsensehost.customchannels.insert", +"parameterOrder": [ +"adClientId" +], +"parameters": { +"adClientId": { +"description": "Ad client to which the new custom channel will be added.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "adclients/{adClientId}/customchannels", +"request": { +"$ref": "CustomChannel" +}, +"response": { +"$ref": "CustomChannel" +}, +"scopes": [ +"https://www.googleapis.com/auth/adsensehost" +] +}, +"list": { +"description": "List all host custom channels in this AdSense account.", +"httpMethod": "GET", +"id": "adsensehost.customchannels.list", +"parameterOrder": [ +"adClientId" +], +"parameters": { +"adClientId": { +"description": "Ad client for which to list custom channels.", +"location": "path", +"required": true, +"type": "string" +}, +"maxResults": { +"description": "The maximum number of custom channels to include in the response, used for paging.", +"format": "uint32", +"location": "query", +"maximum": "10000", +"minimum": "0", +"type": "integer" +}, +"pageToken": { +"description": "A continuation token, used to page through custom channels. To retrieve the next page, set this parameter to the value of \"nextPageToken\" from the previous response.", +"location": "query", +"type": "string" +} +}, +"path": "adclients/{adClientId}/customchannels", +"response": { +"$ref": "CustomChannels" +}, +"scopes": [ +"https://www.googleapis.com/auth/adsensehost" +] +}, +"patch": { +"description": "Update a custom channel in the host AdSense account. This method supports patch semantics.", +"httpMethod": "PATCH", +"id": "adsensehost.customchannels.patch", +"parameterOrder": [ +"adClientId", +"customChannelId" +], +"parameters": { +"adClientId": { +"description": "Ad client in which the custom channel will be updated.", +"location": "path", +"required": true, +"type": "string" +}, +"customChannelId": { +"description": "Custom channel to get.", +"location": "query", +"required": true, +"type": "string" +} +}, +"path": "adclients/{adClientId}/customchannels", +"request": { +"$ref": "CustomChannel" +}, +"response": { +"$ref": "CustomChannel" +}, +"scopes": [ +"https://www.googleapis.com/auth/adsensehost" +] +}, +"update": { +"description": "Update a custom channel in the host AdSense account.", +"httpMethod": "PUT", +"id": "adsensehost.customchannels.update", +"parameterOrder": [ +"adClientId" +], +"parameters": { +"adClientId": { +"description": "Ad client in which the custom channel will be updated.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "adclients/{adClientId}/customchannels", +"request": { +"$ref": "CustomChannel" +}, +"response": { +"$ref": "CustomChannel" +}, +"scopes": [ +"https://www.googleapis.com/auth/adsensehost" +] +} +} +}, +"reports": { +"methods": { +"generate": { +"description": "Generate an AdSense report based on the report request sent in the query parameters. Returns the result as JSON; to retrieve output in CSV format specify \"alt=csv\" as a query parameter.", +"httpMethod": "GET", +"id": "adsensehost.reports.generate", +"parameterOrder": [ +"startDate", +"endDate" +], +"parameters": { +"dimension": { +"description": "Dimensions to base the report on.", +"location": "query", +"pattern": "[a-zA-Z_]+", +"repeated": true, +"type": "string" +}, +"endDate": { +"description": "End of the date range to report on in \"YYYY-MM-DD\" format, inclusive.", +"location": "query", +"pattern": "\\d{4}-\\d{2}-\\d{2}|(today|startOfMonth|startOfYear)(([\\-\\+]\\d+[dwmy]){0,3}?)", +"required": true, +"type": "string" +}, +"filter": { +"description": "Filters to be run on the report.", +"location": "query", +"pattern": "[a-zA-Z_]+(==|=@).+", +"repeated": true, +"type": "string" +}, +"locale": { +"description": "Optional locale to use for translating report output to a local language. Defaults to \"en_US\" if not specified.", +"location": "query", +"pattern": "[a-zA-Z_]+", +"type": "string" +}, +"maxResults": { +"description": "The maximum number of rows of report data to return.", +"format": "uint32", +"location": "query", +"maximum": "50000", +"minimum": "0", +"type": "integer" +}, +"metric": { +"description": "Numeric columns to include in the report.", +"location": "query", +"pattern": "[a-zA-Z_]+", +"repeated": true, +"type": "string" +}, +"sort": { +"description": "The name of a dimension or metric to sort the resulting report on, optionally prefixed with \"+\" to sort ascending or \"-\" to sort descending. If no prefix is specified, the column is sorted ascending.", +"location": "query", +"pattern": "(\\+|-)?[a-zA-Z_]+", +"repeated": true, +"type": "string" +}, +"startDate": { +"description": "Start of the date range to report on in \"YYYY-MM-DD\" format, inclusive.", +"location": "query", +"pattern": "\\d{4}-\\d{2}-\\d{2}|(today|startOfMonth|startOfYear)(([\\-\\+]\\d+[dwmy]){0,3}?)", +"required": true, +"type": "string" +}, +"startIndex": { +"description": "Index of the first row of report data to return.", +"format": "uint32", +"location": "query", +"maximum": "5000", +"minimum": "0", +"type": "integer" +} +}, +"path": "reports", +"response": { +"$ref": "Report" +}, +"scopes": [ +"https://www.googleapis.com/auth/adsensehost" +] +} +} +}, +"urlchannels": { +"methods": { +"delete": { +"description": "Delete a URL channel from the host AdSense account.", +"httpMethod": "DELETE", +"id": "adsensehost.urlchannels.delete", +"parameterOrder": [ +"adClientId", +"urlChannelId" +], +"parameters": { +"adClientId": { +"description": "Ad client from which to delete the URL channel.", +"location": "path", +"required": true, +"type": "string" +}, +"urlChannelId": { +"description": "URL channel to delete.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "adclients/{adClientId}/urlchannels/{urlChannelId}", +"response": { +"$ref": "UrlChannel" +}, +"scopes": [ +"https://www.googleapis.com/auth/adsensehost" +] +}, +"insert": { +"description": "Add a new URL channel to the host AdSense account.", +"httpMethod": "POST", +"id": "adsensehost.urlchannels.insert", +"parameterOrder": [ +"adClientId" +], +"parameters": { +"adClientId": { +"description": "Ad client to which the new URL channel will be added.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "adclients/{adClientId}/urlchannels", +"request": { +"$ref": "UrlChannel" +}, +"response": { +"$ref": "UrlChannel" +}, +"scopes": [ +"https://www.googleapis.com/auth/adsensehost" +] +}, +"list": { +"description": "List all host URL channels in the host AdSense account.", +"httpMethod": "GET", +"id": "adsensehost.urlchannels.list", +"parameterOrder": [ +"adClientId" +], +"parameters": { +"adClientId": { +"description": "Ad client for which to list URL channels.", +"location": "path", +"required": true, +"type": "string" +}, +"maxResults": { +"description": "The maximum number of URL channels to include in the response, used for paging.", +"format": "uint32", +"location": "query", +"maximum": "10000", +"minimum": "0", +"type": "integer" +}, +"pageToken": { +"description": "A continuation token, used to page through URL channels. To retrieve the next page, set this parameter to the value of \"nextPageToken\" from the previous response.", +"location": "query", +"type": "string" +} +}, +"path": "adclients/{adClientId}/urlchannels", +"response": { +"$ref": "UrlChannels" +}, +"scopes": [ +"https://www.googleapis.com/auth/adsensehost" +] +} +} +} +}, +"revision": "20200930", +"rootUrl": "https://www.googleapis.com/", +"schemas": { +"Account": { +"id": "Account", +"properties": { +"id": { +"description": "Unique identifier of this account.", +"type": "string" +}, +"kind": { +"default": "adsensehost#account", +"description": "Kind of resource this is, in this case adsensehost#account.", +"type": "string" +}, +"name": { +"description": "Name of this account.", +"type": "string" +}, +"status": { +"description": "Approval status of this account. One of: PENDING, APPROVED, DISABLED.", +"type": "string" +} +}, +"type": "object" +}, +"Accounts": { +"id": "Accounts", +"properties": { +"etag": { +"description": "ETag of this response for caching purposes.", +"type": "string" +}, +"items": { +"description": "The accounts returned in this list response.", +"items": { +"$ref": "Account" +}, +"type": "array" +}, +"kind": { +"default": "adsensehost#accounts", +"description": "Kind of list this is, in this case adsensehost#accounts.", +"type": "string" +} +}, +"type": "object" +}, +"AdClient": { +"id": "AdClient", +"properties": { +"arcOptIn": { +"description": "Whether this ad client is opted in to ARC.", +"type": "boolean" +}, +"id": { +"description": "Unique identifier of this ad client.", +"type": "string" +}, +"kind": { +"default": "adsensehost#adClient", +"description": "Kind of resource this is, in this case adsensehost#adClient.", +"type": "string" +}, +"productCode": { +"description": "This ad client's product code, which corresponds to the PRODUCT_CODE report dimension.", +"type": "string" +}, +"supportsReporting": { +"description": "Whether this ad client supports being reported on.", +"type": "boolean" +} +}, +"type": "object" +}, +"AdClients": { +"id": "AdClients", +"properties": { +"etag": { +"description": "ETag of this response for caching purposes.", +"type": "string" +}, +"items": { +"description": "The ad clients returned in this list response.", +"items": { +"$ref": "AdClient" +}, +"type": "array" +}, +"kind": { +"default": "adsensehost#adClients", +"description": "Kind of list this is, in this case adsensehost#adClients.", +"type": "string" +}, +"nextPageToken": { +"description": "Continuation token used to page through ad clients. To retrieve the next page of results, set the next request's \"pageToken\" value to this.", +"type": "string" +} +}, +"type": "object" +}, +"AdCode": { +"id": "AdCode", +"properties": { +"adCode": { +"description": "The ad code snippet.", +"type": "string" +}, +"kind": { +"default": "adsensehost#adCode", +"description": "Kind this is, in this case adsensehost#adCode.", +"type": "string" +} +}, +"type": "object" +}, +"AdStyle": { +"id": "AdStyle", +"properties": { +"colors": { +"description": "The colors included in the style. These are represented as six hexadecimal characters, similar to HTML color codes, but without the leading hash.", +"properties": { +"background": { +"description": "The color of the ad background.", +"type": "string" +}, +"border": { +"description": "The color of the ad border.", +"type": "string" +}, +"text": { +"description": "The color of the ad text.", +"type": "string" +}, +"title": { +"description": "The color of the ad title.", +"type": "string" +}, +"url": { +"description": "The color of the ad url.", +"type": "string" +} +}, +"type": "object" +}, +"corners": { +"description": "The style of the corners in the ad (deprecated: never populated, ignored).", +"type": "string" +}, +"font": { +"description": "The font which is included in the style.", +"properties": { +"family": { +"description": "The family of the font. Possible values are: ACCOUNT_DEFAULT_FAMILY, ADSENSE_DEFAULT_FAMILY, ARIAL, TIMES and VERDANA.", +"type": "string" +}, +"size": { +"description": "The size of the font. Possible values are: ACCOUNT_DEFAULT_SIZE, ADSENSE_DEFAULT_SIZE, SMALL, MEDIUM and LARGE.", +"type": "string" +} +}, +"type": "object" +}, +"kind": { +"default": "adsensehost#adStyle", +"description": "Kind this is, in this case adsensehost#adStyle.", +"type": "string" +} +}, +"type": "object" +}, +"AdUnit": { +"id": "AdUnit", +"properties": { +"code": { +"description": "Identity code of this ad unit, not necessarily unique across ad clients.", +"type": "string" +}, +"contentAdsSettings": { +"description": "Settings specific to content ads (AFC) and highend mobile content ads (AFMC - deprecated).", +"properties": { +"backupOption": { +"description": "The backup option to be used in instances where no ad is available.", +"properties": { +"color": { +"description": "Color to use when type is set to COLOR. These are represented as six hexadecimal characters, similar to HTML color codes, but without the leading hash.", +"type": "string" +}, +"type": { +"description": "Type of the backup option. Possible values are BLANK, COLOR and URL.", +"type": "string" +}, +"url": { +"description": "URL to use when type is set to URL.", +"type": "string" +} +}, +"type": "object" +}, +"size": { +"description": "Size of this ad unit. Size values are in the form SIZE_{width}_{height}.", +"type": "string" +}, +"type": { +"description": "Type of this ad unit. Possible values are TEXT, TEXT_IMAGE, IMAGE and LINK.", +"type": "string" +} +}, +"type": "object" +}, +"customStyle": { +"$ref": "AdStyle", +"description": "Custom style information specific to this ad unit." +}, +"id": { +"description": "Unique identifier of this ad unit. This should be considered an opaque identifier; it is not safe to rely on it being in any particular format.", +"type": "string" +}, +"kind": { +"default": "adsensehost#adUnit", +"description": "Kind of resource this is, in this case adsensehost#adUnit.", +"type": "string" +}, +"mobileContentAdsSettings": { +"description": "Settings specific to WAP mobile content ads (AFMC - deprecated).", +"properties": { +"markupLanguage": { +"description": "The markup language to use for this ad unit.", +"type": "string" +}, +"scriptingLanguage": { +"description": "The scripting language to use for this ad unit.", +"type": "string" +}, +"size": { +"description": "Size of this ad unit.", +"type": "string" +}, +"type": { +"description": "Type of this ad unit.", +"type": "string" +} +}, +"type": "object" +}, +"name": { +"description": "Name of this ad unit.", +"type": "string" +}, +"status": { +"description": "Status of this ad unit. Possible values are:\nNEW: Indicates that the ad unit was created within the last seven days and does not yet have any activity associated with it.\n\nACTIVE: Indicates that there has been activity on this ad unit in the last seven days.\n\nINACTIVE: Indicates that there has been no activity on this ad unit in the last seven days.", +"type": "string" +} +}, +"type": "object" +}, +"AdUnits": { +"id": "AdUnits", +"properties": { +"etag": { +"description": "ETag of this response for caching purposes.", +"type": "string" +}, +"items": { +"description": "The ad units returned in this list response.", +"items": { +"$ref": "AdUnit" +}, +"type": "array" +}, +"kind": { +"default": "adsensehost#adUnits", +"description": "Kind of list this is, in this case adsensehost#adUnits.", +"type": "string" +}, +"nextPageToken": { +"description": "Continuation token used to page through ad units. To retrieve the next page of results, set the next request's \"pageToken\" value to this.", +"type": "string" +} +}, +"type": "object" +}, +"AssociationSession": { +"id": "AssociationSession", +"properties": { +"accountId": { +"description": "Hosted account id of the associated publisher after association. Present if status is ACCEPTED.", +"type": "string" +}, +"id": { +"description": "Unique identifier of this association session.", +"type": "string" +}, +"kind": { +"default": "adsensehost#associationSession", +"description": "Kind of resource this is, in this case adsensehost#associationSession.", +"type": "string" +}, +"productCodes": { +"description": "The products to associate with the user. Options: AFC, AFG, AFV, AFS (deprecated), AFMC (deprecated)", +"items": { +"type": "string" +}, +"type": "array" +}, +"redirectUrl": { +"description": "Redirect URL of this association session. Used to redirect users into the AdSense association flow.", +"type": "string" +}, +"status": { +"description": "Status of the completed association, available once the association callback token has been verified. One of ACCEPTED, REJECTED, or ERROR.", +"type": "string" +}, +"userLocale": { +"description": "The preferred locale of the user themselves when going through the AdSense association flow.", +"type": "string" +}, +"websiteLocale": { +"description": "The locale of the user's hosted website.", +"type": "string" +}, +"websiteUrl": { +"description": "The URL of the user's hosted website.", +"type": "string" +} +}, +"type": "object" +}, +"CustomChannel": { +"id": "CustomChannel", +"properties": { +"code": { +"description": "Code of this custom channel, not necessarily unique across ad clients.", +"type": "string" +}, +"id": { +"description": "Unique identifier of this custom channel. This should be considered an opaque identifier; it is not safe to rely on it being in any particular format.", +"type": "string" +}, +"kind": { +"default": "adsensehost#customChannel", +"description": "Kind of resource this is, in this case adsensehost#customChannel.", +"type": "string" +}, +"name": { +"description": "Name of this custom channel.", +"type": "string" +} +}, +"type": "object" +}, +"CustomChannels": { +"id": "CustomChannels", +"properties": { +"etag": { +"description": "ETag of this response for caching purposes.", +"type": "string" +}, +"items": { +"description": "The custom channels returned in this list response.", +"items": { +"$ref": "CustomChannel" +}, +"type": "array" +}, +"kind": { +"default": "adsensehost#customChannels", +"description": "Kind of list this is, in this case adsensehost#customChannels.", +"type": "string" +}, +"nextPageToken": { +"description": "Continuation token used to page through custom channels. To retrieve the next page of results, set the next request's \"pageToken\" value to this.", +"type": "string" +} +}, +"type": "object" +}, +"Report": { +"id": "Report", +"properties": { +"averages": { +"description": "The averages of the report. This is the same length as any other row in the report; cells corresponding to dimension columns are empty.", +"items": { +"type": "string" +}, +"type": "array" +}, +"headers": { +"description": "The header information of the columns requested in the report. This is a list of headers; one for each dimension in the request, followed by one for each metric in the request.", +"items": { +"properties": { +"currency": { +"description": "The currency of this column. Only present if the header type is METRIC_CURRENCY.", +"type": "string" +}, +"name": { +"description": "The name of the header.", +"type": "string" +}, +"type": { +"description": "The type of the header; one of DIMENSION, METRIC_TALLY, METRIC_RATIO, or METRIC_CURRENCY.", +"type": "string" +} +}, +"type": "object" +}, +"type": "array" +}, +"kind": { +"default": "adsensehost#report", +"description": "Kind this is, in this case adsensehost#report.", +"type": "string" +}, +"rows": { +"description": "The output rows of the report. Each row is a list of cells; one for each dimension in the request, followed by one for each metric in the request. The dimension cells contain strings, and the metric cells contain numbers.", +"items": { +"items": { +"type": "string" +}, +"type": "array" +}, +"type": "array" +}, +"totalMatchedRows": { +"description": "The total number of rows matched by the report request. Fewer rows may be returned in the response due to being limited by the row count requested or the report row limit.", +"format": "int64", +"type": "string" +}, +"totals": { +"description": "The totals of the report. This is the same length as any other row in the report; cells corresponding to dimension columns are empty.", +"items": { +"type": "string" +}, +"type": "array" +}, +"warnings": { +"description": "Any warnings associated with generation of the report.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"UrlChannel": { +"id": "UrlChannel", +"properties": { +"id": { +"description": "Unique identifier of this URL channel. This should be considered an opaque identifier; it is not safe to rely on it being in any particular format.", +"type": "string" +}, +"kind": { +"default": "adsensehost#urlChannel", +"description": "Kind of resource this is, in this case adsensehost#urlChannel.", +"type": "string" +}, +"urlPattern": { +"description": "URL Pattern of this URL channel. Does not include \"http://\" or \"https://\". Example: www.example.com/home", +"type": "string" +} +}, +"type": "object" +}, +"UrlChannels": { +"id": "UrlChannels", +"properties": { +"etag": { +"description": "ETag of this response for caching purposes.", +"type": "string" +}, +"items": { +"description": "The URL channels returned in this list response.", +"items": { +"$ref": "UrlChannel" +}, +"type": "array" +}, +"kind": { +"default": "adsensehost#urlChannels", +"description": "Kind of list this is, in this case adsensehost#urlChannels.", +"type": "string" +}, +"nextPageToken": { +"description": "Continuation token used to page through URL channels. To retrieve the next page of results, set the next request's \"pageToken\" value to this.", +"type": "string" +} +}, +"type": "object" +} +}, +"servicePath": "adsensehost/v4.1/", +"title": "AdSense Host API", +"version": "v4.1" +} \ No newline at end of file diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/advisorynotifications.v1.json b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/advisorynotifications.v1.json new file mode 100644 index 0000000000000000000000000000000000000000..190e52994f665c4de65d8ae9c6b303182d8501f4 --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/advisorynotifications.v1.json @@ -0,0 +1,656 @@ +{ +"auth": { +"oauth2": { +"scopes": { +"https://www.googleapis.com/auth/cloud-platform": { +"description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." +} +} +} +}, +"basePath": "", +"baseUrl": "https://advisorynotifications.googleapis.com/", +"batchPath": "batch", +"canonicalName": "Advisorynotifications", +"description": "An API for accessing Advisory Notifications in Google Cloud", +"discoveryVersion": "v1", +"documentationLink": "https://cloud.google.com/advisory-notifications", +"fullyEncodeReservedExpansion": true, +"icons": { +"x16": "http://www.google.com/images/icons/product/search-16.gif", +"x32": "http://www.google.com/images/icons/product/search-32.gif" +}, +"id": "advisorynotifications:v1", +"kind": "discovery#restDescription", +"mtlsRootUrl": "https://advisorynotifications.mtls.googleapis.com/", +"name": "advisorynotifications", +"ownerDomain": "google.com", +"ownerName": "Google", +"parameters": { +"$.xgafv": { +"description": "V1 error format.", +"enum": [ +"1", +"2" +], +"enumDescriptions": [ +"v1 error format", +"v2 error format" +], +"location": "query", +"type": "string" +}, +"access_token": { +"description": "OAuth access token.", +"location": "query", +"type": "string" +}, +"alt": { +"default": "json", +"description": "Data format for response.", +"enum": [ +"json", +"media", +"proto" +], +"enumDescriptions": [ +"Responses with Content-Type of application/json", +"Media download with context-dependent Content-Type", +"Responses with Content-Type of application/x-protobuf" +], +"location": "query", +"type": "string" +}, +"callback": { +"description": "JSONP", +"location": "query", +"type": "string" +}, +"fields": { +"description": "Selector specifying which fields to include in a partial response.", +"location": "query", +"type": "string" +}, +"key": { +"description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", +"location": "query", +"type": "string" +}, +"oauth_token": { +"description": "OAuth 2.0 token for the current user.", +"location": "query", +"type": "string" +}, +"prettyPrint": { +"default": "true", +"description": "Returns response with indentations and line breaks.", +"location": "query", +"type": "boolean" +}, +"quotaUser": { +"description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.", +"location": "query", +"type": "string" +}, +"uploadType": { +"description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", +"location": "query", +"type": "string" +}, +"upload_protocol": { +"description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", +"location": "query", +"type": "string" +} +}, +"protocol": "rest", +"resources": { +"organizations": { +"resources": { +"locations": { +"methods": { +"getSettings": { +"description": "Get notification settings.", +"flatPath": "v1/organizations/{organizationsId}/locations/{locationsId}/settings", +"httpMethod": "GET", +"id": "advisorynotifications.organizations.locations.getSettings", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the settings to retrieve. Format: organizations/{organization}/locations/{location}/settings or projects/{projects}/locations/{location}/settings.", +"location": "path", +"pattern": "^organizations/[^/]+/locations/[^/]+/settings$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleCloudAdvisorynotificationsV1Settings" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"updateSettings": { +"description": "Update notification settings.", +"flatPath": "v1/organizations/{organizationsId}/locations/{locationsId}/settings", +"httpMethod": "PATCH", +"id": "advisorynotifications.organizations.locations.updateSettings", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Identifier. The resource name of the settings to retrieve. Format: organizations/{organization}/locations/{location}/settings or projects/{projects}/locations/{location}/settings.", +"location": "path", +"pattern": "^organizations/[^/]+/locations/[^/]+/settings$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "GoogleCloudAdvisorynotificationsV1Settings" +}, +"response": { +"$ref": "GoogleCloudAdvisorynotificationsV1Settings" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"notifications": { +"methods": { +"get": { +"description": "Gets a notification.", +"flatPath": "v1/organizations/{organizationsId}/locations/{locationsId}/notifications/{notificationsId}", +"httpMethod": "GET", +"id": "advisorynotifications.organizations.locations.notifications.get", +"parameterOrder": [ +"name" +], +"parameters": { +"languageCode": { +"description": "ISO code for requested localization language. If unset, will be interpereted as \"en\". If the requested language is valid, but not supported for this notification, English will be returned with an \"Not applicable\" LocalizationState. If the ISO code is invalid (i.e. not a real language), this RPC will throw an error.", +"location": "query", +"type": "string" +}, +"name": { +"description": "Required. A name of the notification to retrieve. Format: organizations/{organization}/locations/{location}/notifications/{notification} or projects/{projects}/locations/{location}/notifications/{notification}.", +"location": "path", +"pattern": "^organizations/[^/]+/locations/[^/]+/notifications/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleCloudAdvisorynotificationsV1Notification" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists notifications under a given parent.", +"flatPath": "v1/organizations/{organizationsId}/locations/{locationsId}/notifications", +"httpMethod": "GET", +"id": "advisorynotifications.organizations.locations.notifications.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"languageCode": { +"description": "ISO code for requested localization language. If unset, will be interpereted as \"en\". If the requested language is valid, but not supported for this notification, English will be returned with an \"Not applicable\" LocalizationState. If the ISO code is invalid (i.e. not a real language), this RPC will throw an error.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "The maximum number of notifications to return. The service may return fewer than this value. If unspecified or equal to 0, at most 50 notifications will be returned. The maximum value is 50; values above 50 will be coerced to 50.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A page token returned from a previous request. When paginating, all other parameters provided in the request must match the call that returned the page token.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent, which owns this collection of notifications. Must be of the form \"organizations/{organization}/locations/{location}\" or \"projects/{project}/locations/{location}\".", +"location": "path", +"pattern": "^organizations/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +}, +"view": { +"description": "Specifies which parts of the notification resource should be returned in the response.", +"enum": [ +"NOTIFICATION_VIEW_UNSPECIFIED", +"BASIC", +"FULL" +], +"enumDescriptions": [ +"Not specified, equivalent to BASIC.", +"Server responses only include title, creation time and Notification ID. Note: for internal use responses also include the last update time, the latest message text and whether notification has attachments.", +"Include everything." +], +"location": "query", +"type": "string" +} +}, +"path": "v1/{+parent}/notifications", +"response": { +"$ref": "GoogleCloudAdvisorynotificationsV1ListNotificationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +} +} +}, +"projects": { +"resources": { +"locations": { +"methods": { +"getSettings": { +"description": "Get notification settings.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/settings", +"httpMethod": "GET", +"id": "advisorynotifications.projects.locations.getSettings", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the settings to retrieve. Format: organizations/{organization}/locations/{location}/settings or projects/{projects}/locations/{location}/settings.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/settings$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleCloudAdvisorynotificationsV1Settings" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"updateSettings": { +"description": "Update notification settings.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/settings", +"httpMethod": "PATCH", +"id": "advisorynotifications.projects.locations.updateSettings", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Identifier. The resource name of the settings to retrieve. Format: organizations/{organization}/locations/{location}/settings or projects/{projects}/locations/{location}/settings.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/settings$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "GoogleCloudAdvisorynotificationsV1Settings" +}, +"response": { +"$ref": "GoogleCloudAdvisorynotificationsV1Settings" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"notifications": { +"methods": { +"get": { +"description": "Gets a notification.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/notifications/{notificationsId}", +"httpMethod": "GET", +"id": "advisorynotifications.projects.locations.notifications.get", +"parameterOrder": [ +"name" +], +"parameters": { +"languageCode": { +"description": "ISO code for requested localization language. If unset, will be interpereted as \"en\". If the requested language is valid, but not supported for this notification, English will be returned with an \"Not applicable\" LocalizationState. If the ISO code is invalid (i.e. not a real language), this RPC will throw an error.", +"location": "query", +"type": "string" +}, +"name": { +"description": "Required. A name of the notification to retrieve. Format: organizations/{organization}/locations/{location}/notifications/{notification} or projects/{projects}/locations/{location}/notifications/{notification}.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/notifications/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleCloudAdvisorynotificationsV1Notification" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists notifications under a given parent.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/notifications", +"httpMethod": "GET", +"id": "advisorynotifications.projects.locations.notifications.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"languageCode": { +"description": "ISO code for requested localization language. If unset, will be interpereted as \"en\". If the requested language is valid, but not supported for this notification, English will be returned with an \"Not applicable\" LocalizationState. If the ISO code is invalid (i.e. not a real language), this RPC will throw an error.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "The maximum number of notifications to return. The service may return fewer than this value. If unspecified or equal to 0, at most 50 notifications will be returned. The maximum value is 50; values above 50 will be coerced to 50.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A page token returned from a previous request. When paginating, all other parameters provided in the request must match the call that returned the page token.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent, which owns this collection of notifications. Must be of the form \"organizations/{organization}/locations/{location}\" or \"projects/{project}/locations/{location}\".", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +}, +"view": { +"description": "Specifies which parts of the notification resource should be returned in the response.", +"enum": [ +"NOTIFICATION_VIEW_UNSPECIFIED", +"BASIC", +"FULL" +], +"enumDescriptions": [ +"Not specified, equivalent to BASIC.", +"Server responses only include title, creation time and Notification ID. Note: for internal use responses also include the last update time, the latest message text and whether notification has attachments.", +"Include everything." +], +"location": "query", +"type": "string" +} +}, +"path": "v1/{+parent}/notifications", +"response": { +"$ref": "GoogleCloudAdvisorynotificationsV1ListNotificationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +} +} +} +}, +"revision": "20240707", +"rootUrl": "https://advisorynotifications.googleapis.com/", +"schemas": { +"GoogleCloudAdvisorynotificationsV1Attachment": { +"description": "Attachment with specific information about the issue.", +"id": "GoogleCloudAdvisorynotificationsV1Attachment", +"properties": { +"csv": { +"$ref": "GoogleCloudAdvisorynotificationsV1Csv", +"description": "A CSV file attachment. Max size is 10 MB." +}, +"displayName": { +"description": "The title of the attachment.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAdvisorynotificationsV1Csv": { +"description": "A representation of a CSV file attachment, as a list of column headers and a list of data rows.", +"id": "GoogleCloudAdvisorynotificationsV1Csv", +"properties": { +"dataRows": { +"description": "The list of data rows in a CSV file, as string arrays rather than as a single comma-separated string.", +"items": { +"$ref": "GoogleCloudAdvisorynotificationsV1CsvCsvRow" +}, +"type": "array" +}, +"headers": { +"description": "The list of headers for data columns in a CSV file.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudAdvisorynotificationsV1CsvCsvRow": { +"description": "A representation of a single data row in a CSV file.", +"id": "GoogleCloudAdvisorynotificationsV1CsvCsvRow", +"properties": { +"entries": { +"description": "The data entries in a CSV file row, as a string array rather than a single comma-separated string.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudAdvisorynotificationsV1ListNotificationsResponse": { +"description": "Response of ListNotifications endpoint.", +"id": "GoogleCloudAdvisorynotificationsV1ListNotificationsResponse", +"properties": { +"nextPageToken": { +"description": "A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.", +"type": "string" +}, +"notifications": { +"description": "List of notifications under a given parent.", +"items": { +"$ref": "GoogleCloudAdvisorynotificationsV1Notification" +}, +"type": "array" +}, +"totalSize": { +"description": "Estimation of a total number of notifications.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"GoogleCloudAdvisorynotificationsV1Message": { +"description": "A message which contains notification details.", +"id": "GoogleCloudAdvisorynotificationsV1Message", +"properties": { +"attachments": { +"description": "The attachments to download.", +"items": { +"$ref": "GoogleCloudAdvisorynotificationsV1Attachment" +}, +"type": "array" +}, +"body": { +"$ref": "GoogleCloudAdvisorynotificationsV1MessageBody", +"description": "The message content." +}, +"createTime": { +"description": "The Message creation timestamp.", +"format": "google-datetime", +"type": "string" +}, +"localizationTime": { +"description": "Time when Message was localized", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAdvisorynotificationsV1MessageBody": { +"description": "A message body containing text.", +"id": "GoogleCloudAdvisorynotificationsV1MessageBody", +"properties": { +"text": { +"$ref": "GoogleCloudAdvisorynotificationsV1Text", +"description": "The text content of the message body." +} +}, +"type": "object" +}, +"GoogleCloudAdvisorynotificationsV1Notification": { +"description": "A notification object for notifying customers about security and privacy issues.", +"id": "GoogleCloudAdvisorynotificationsV1Notification", +"properties": { +"createTime": { +"description": "Output only. Time the notification was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"messages": { +"description": "A list of messages in the notification.", +"items": { +"$ref": "GoogleCloudAdvisorynotificationsV1Message" +}, +"type": "array" +}, +"name": { +"description": "The resource name of the notification. Format: organizations/{organization}/locations/{location}/notifications/{notification} or projects/{project}/locations/{location}/notifications/{notification}.", +"type": "string" +}, +"notificationType": { +"description": "Type of notification", +"enum": [ +"NOTIFICATION_TYPE_UNSPECIFIED", +"NOTIFICATION_TYPE_SECURITY_PRIVACY_ADVISORY", +"NOTIFICATION_TYPE_SENSITIVE_ACTIONS", +"NOTIFICATION_TYPE_SECURITY_MSA", +"NOTIFICATION_TYPE_THREAT_HORIZONS" +], +"enumDescriptions": [ +"Default type", +"Security and privacy advisory notifications", +"Sensitive action notifications", +"General security MSA", +"Threat horizons MSA" +], +"type": "string" +}, +"subject": { +"$ref": "GoogleCloudAdvisorynotificationsV1Subject", +"description": "The subject line of the notification." +} +}, +"type": "object" +}, +"GoogleCloudAdvisorynotificationsV1NotificationSettings": { +"description": "Settings for each NotificationType.", +"id": "GoogleCloudAdvisorynotificationsV1NotificationSettings", +"properties": { +"enabled": { +"description": "Whether the associated NotificationType is enabled.", +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleCloudAdvisorynotificationsV1Settings": { +"description": "Settings for Advisory Notifications.", +"id": "GoogleCloudAdvisorynotificationsV1Settings", +"properties": { +"etag": { +"description": "Required. Fingerprint for optimistic concurrency returned in Get requests. Must be provided for Update requests. If the value provided does not match the value known to the server, ABORTED will be thrown, and the client should retry the read-modify-write cycle.", +"type": "string" +}, +"name": { +"description": "Identifier. The resource name of the settings to retrieve. Format: organizations/{organization}/locations/{location}/settings or projects/{projects}/locations/{location}/settings.", +"type": "string" +}, +"notificationSettings": { +"additionalProperties": { +"$ref": "GoogleCloudAdvisorynotificationsV1NotificationSettings" +}, +"description": "Required. Map of each notification type and its settings to get/set all settings at once. The server will validate the value for each notification type.", +"type": "object" +} +}, +"type": "object" +}, +"GoogleCloudAdvisorynotificationsV1Subject": { +"description": "A subject line of a notification.", +"id": "GoogleCloudAdvisorynotificationsV1Subject", +"properties": { +"text": { +"$ref": "GoogleCloudAdvisorynotificationsV1Text", +"description": "The text content." +} +}, +"type": "object" +}, +"GoogleCloudAdvisorynotificationsV1Text": { +"description": "A text object containing the English text and its localized copies.", +"id": "GoogleCloudAdvisorynotificationsV1Text", +"properties": { +"enText": { +"description": "The English copy.", +"type": "string" +}, +"localizationState": { +"description": "Status of the localization.", +"enum": [ +"LOCALIZATION_STATE_UNSPECIFIED", +"LOCALIZATION_STATE_NOT_APPLICABLE", +"LOCALIZATION_STATE_PENDING", +"LOCALIZATION_STATE_COMPLETED" +], +"enumDescriptions": [ +"Not used.", +"Localization is not applicable for requested language. This can happen when: - The requested language was not supported by Advisory Notifications at the time of localization (including notifications created before the localization feature was launched). - The requested language is English, so only the English text is returned.", +"Localization for requested language is in progress, and not ready yet.", +"Localization for requested language is completed." +], +"type": "string" +}, +"localizedText": { +"description": "The requested localized copy (if applicable).", +"type": "string" +} +}, +"type": "object" +} +}, +"servicePath": "", +"title": "Advisory Notifications API", +"version": "v1", +"version_module": true +} \ No newline at end of file diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/aiplatform.v1.json b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/aiplatform.v1.json new file mode 100644 index 0000000000000000000000000000000000000000..e1c898a048a7d713e3f7028b8738df9e8e0712dc --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/aiplatform.v1.json @@ -0,0 +1,62926 @@ +{ +"auth": { +"oauth2": { +"scopes": { +"https://www.googleapis.com/auth/cloud-platform": { +"description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." +}, +"https://www.googleapis.com/auth/cloud-platform.read-only": { +"description": "View your data across Google Cloud services and see the email address of your Google Account" +} +} +} +}, +"basePath": "", +"baseUrl": "https://aiplatform.googleapis.com/", +"batchPath": "batch", +"canonicalName": "Aiplatform", +"description": "Train high-quality custom machine learning models with minimal machine learning expertise and effort.", +"discoveryVersion": "v1", +"documentationLink": "https://cloud.google.com/vertex-ai/", +"endpoints": [ +{ +"description": "Locational Endpoint", +"endpointUrl": "https://africa-south1-aiplatform.googleapis.com/", +"location": "africa-south1" +}, +{ +"description": "Locational Endpoint", +"endpointUrl": "https://asia-east1-aiplatform.googleapis.com/", +"location": "asia-east1" +}, +{ +"description": "Locational Endpoint", +"endpointUrl": "https://asia-east2-aiplatform.googleapis.com/", +"location": "asia-east2" +}, +{ +"description": "Locational Endpoint", +"endpointUrl": "https://asia-northeast1-aiplatform.googleapis.com/", +"location": "asia-northeast1" +}, +{ +"description": "Locational Endpoint", +"endpointUrl": "https://asia-northeast2-aiplatform.googleapis.com/", +"location": "asia-northeast2" +}, +{ +"description": "Locational Endpoint", +"endpointUrl": "https://asia-northeast3-aiplatform.googleapis.com/", +"location": "asia-northeast3" +}, +{ +"description": "Locational Endpoint", +"endpointUrl": "https://asia-south1-aiplatform.googleapis.com/", +"location": "asia-south1" +}, +{ +"description": "Locational Endpoint", +"endpointUrl": "https://asia-south2-aiplatform.googleapis.com/", +"location": "asia-south2" +}, +{ +"description": "Locational Endpoint", +"endpointUrl": "https://asia-southeast1-aiplatform.googleapis.com/", +"location": "asia-southeast1" +}, +{ +"description": "Locational Endpoint", +"endpointUrl": "https://asia-southeast2-aiplatform.googleapis.com/", +"location": "asia-southeast2" +}, +{ +"description": "Locational Endpoint", +"endpointUrl": "https://australia-southeast1-aiplatform.googleapis.com/", +"location": "australia-southeast1" +}, +{ +"description": "Locational Endpoint", +"endpointUrl": "https://australia-southeast2-aiplatform.googleapis.com/", +"location": "australia-southeast2" +}, +{ +"description": "Locational Endpoint", +"endpointUrl": "https://europe-central2-aiplatform.googleapis.com/", +"location": "europe-central2" +}, +{ +"description": "Locational Endpoint", +"endpointUrl": "https://europe-north1-aiplatform.googleapis.com/", +"location": "europe-north1" +}, +{ +"description": "Locational Endpoint", +"endpointUrl": "https://europe-north2-aiplatform.googleapis.com/", +"location": "europe-north2" +}, +{ +"description": "Locational Endpoint", +"endpointUrl": "https://europe-southwest1-aiplatform.googleapis.com/", +"location": "europe-southwest1" +}, +{ +"description": "Locational Endpoint", +"endpointUrl": "https://europe-west1-aiplatform.googleapis.com/", +"location": "europe-west1" +}, +{ +"description": "Locational Endpoint", +"endpointUrl": "https://europe-west10-aiplatform.googleapis.com/", +"location": "europe-west10" +}, +{ +"description": "Locational Endpoint", +"endpointUrl": "https://europe-west15-aiplatform.googleapis.com/", +"location": "europe-west15" +}, +{ +"description": "Locational Endpoint", +"endpointUrl": "https://europe-west2-aiplatform.googleapis.com/", +"location": "europe-west2" +}, +{ +"description": "Locational Endpoint", +"endpointUrl": "https://europe-west3-aiplatform.googleapis.com/", +"location": "europe-west3" +}, +{ +"description": "Locational Endpoint", +"endpointUrl": "https://europe-west4-aiplatform.googleapis.com/", +"location": "europe-west4" +}, +{ +"description": "Locational Endpoint", +"endpointUrl": "https://europe-west6-aiplatform.googleapis.com/", +"location": "europe-west6" +}, +{ +"description": "Locational Endpoint", +"endpointUrl": "https://europe-west8-aiplatform.googleapis.com/", +"location": "europe-west8" +}, +{ +"description": "Locational Endpoint", +"endpointUrl": "https://europe-west9-aiplatform.googleapis.com/", +"location": "europe-west9" +}, +{ +"description": "Locational Endpoint", +"endpointUrl": "https://europe-west12-aiplatform.googleapis.com/", +"location": "europe-west12" +}, +{ +"description": "Locational Endpoint", +"endpointUrl": "https://me-central1-aiplatform.googleapis.com/", +"location": "me-central1" +}, +{ +"description": "Locational Endpoint", +"endpointUrl": "https://me-central2-aiplatform.googleapis.com/", +"location": "me-central2" +}, +{ +"description": "Locational Endpoint", +"endpointUrl": "https://me-west1-aiplatform.googleapis.com/", +"location": "me-west1" +}, +{ +"description": "Locational Endpoint", +"endpointUrl": "https://northamerica-northeast1-aiplatform.googleapis.com/", +"location": "northamerica-northeast1" +}, +{ +"description": "Locational Endpoint", +"endpointUrl": "https://northamerica-northeast2-aiplatform.googleapis.com/", +"location": "northamerica-northeast2" +}, +{ +"description": "Locational Endpoint", +"endpointUrl": "https://southamerica-east1-aiplatform.googleapis.com/", +"location": "southamerica-east1" +}, +{ +"description": "Locational Endpoint", +"endpointUrl": "https://southamerica-west1-aiplatform.googleapis.com/", +"location": "southamerica-west1" +}, +{ +"description": "Locational Endpoint", +"endpointUrl": "https://us-central1-aiplatform.googleapis.com/", +"location": "us-central1" +}, +{ +"description": "Locational Endpoint", +"endpointUrl": "https://us-central2-aiplatform.googleapis.com/", +"location": "us-central2" +}, +{ +"description": "Locational Endpoint", +"endpointUrl": "https://us-east1-aiplatform.googleapis.com/", +"location": "us-east1" +}, +{ +"description": "Locational Endpoint", +"endpointUrl": "https://us-east4-aiplatform.googleapis.com/", +"location": "us-east4" +}, +{ +"description": "Locational Endpoint", +"endpointUrl": "https://us-east7-aiplatform.googleapis.com/", +"location": "us-east7" +}, +{ +"description": "Locational Endpoint", +"endpointUrl": "https://us-south1-aiplatform.googleapis.com/", +"location": "us-south1" +}, +{ +"description": "Locational Endpoint", +"endpointUrl": "https://us-west1-aiplatform.googleapis.com/", +"location": "us-west1" +}, +{ +"description": "Locational Endpoint", +"endpointUrl": "https://us-west2-aiplatform.googleapis.com/", +"location": "us-west2" +}, +{ +"description": "Locational Endpoint", +"endpointUrl": "https://us-west3-aiplatform.googleapis.com/", +"location": "us-west3" +}, +{ +"description": "Locational Endpoint", +"endpointUrl": "https://us-west4-aiplatform.googleapis.com/", +"location": "us-west4" +}, +{ +"description": "Locational Endpoint", +"endpointUrl": "https://us-east5-aiplatform.googleapis.com/", +"location": "us-east5" +}, +{ +"description": "Locational Endpoint", +"endpointUrl": "https://us-west8-aiplatform.googleapis.com/", +"location": "us-west8" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://aiplatform.us.rep.googleapis.com/", +"location": "us" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://aiplatform.eu.rep.googleapis.com/", +"location": "eu" +} +], +"fullyEncodeReservedExpansion": true, +"icons": { +"x16": "http://www.google.com/images/icons/product/search-16.gif", +"x32": "http://www.google.com/images/icons/product/search-32.gif" +}, +"id": "aiplatform:v1", +"kind": "discovery#restDescription", +"mtlsRootUrl": "https://aiplatform.mtls.googleapis.com/", +"name": "aiplatform", +"ownerDomain": "google.com", +"ownerName": "Google", +"parameters": { +"$.xgafv": { +"description": "V1 error format.", +"enum": [ +"1", +"2" +], +"enumDescriptions": [ +"v1 error format", +"v2 error format" +], +"location": "query", +"type": "string" +}, +"access_token": { +"description": "OAuth access token.", +"location": "query", +"type": "string" +}, +"alt": { +"default": "json", +"description": "Data format for response.", +"enum": [ +"json", +"media", +"proto" +], +"enumDescriptions": [ +"Responses with Content-Type of application/json", +"Media download with context-dependent Content-Type", +"Responses with Content-Type of application/x-protobuf" +], +"location": "query", +"type": "string" +}, +"callback": { +"description": "JSONP", +"location": "query", +"type": "string" +}, +"fields": { +"description": "Selector specifying which fields to include in a partial response.", +"location": "query", +"type": "string" +}, +"key": { +"description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", +"location": "query", +"type": "string" +}, +"oauth_token": { +"description": "OAuth 2.0 token for the current user.", +"location": "query", +"type": "string" +}, +"prettyPrint": { +"default": "true", +"description": "Returns response with indentations and line breaks.", +"location": "query", +"type": "boolean" +}, +"quotaUser": { +"description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.", +"location": "query", +"type": "string" +}, +"uploadType": { +"description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", +"location": "query", +"type": "string" +}, +"upload_protocol": { +"description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", +"location": "query", +"type": "string" +} +}, +"protocol": "rest", +"resources": { +"batchPredictionJobs": { +"methods": { +"create": { +"description": "Creates a BatchPredictionJob. A BatchPredictionJob once created will right away be attempted to start.", +"flatPath": "v1/batchPredictionJobs", +"httpMethod": "POST", +"id": "aiplatform.batchPredictionJobs.create", +"parameterOrder": [], +"parameters": { +"parent": { +"description": "Required. The resource name of the Location to create the BatchPredictionJob in. Format: `projects/{project}/locations/{location}`", +"location": "query", +"type": "string" +} +}, +"path": "v1/batchPredictionJobs", +"request": { +"$ref": "GoogleCloudAiplatformV1BatchPredictionJob" +}, +"response": { +"$ref": "GoogleCloudAiplatformV1BatchPredictionJob" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets a BatchPredictionJob", +"flatPath": "v1/batchPredictionJobs/{batchPredictionJobsId}", +"httpMethod": "GET", +"id": "aiplatform.batchPredictionJobs.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the BatchPredictionJob resource. Format: `projects/{project}/locations/{location}/batchPredictionJobs/{batch_prediction_job}`", +"location": "path", +"pattern": "^batchPredictionJobs/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleCloudAiplatformV1BatchPredictionJob" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists BatchPredictionJobs in a Location.", +"flatPath": "v1/batchPredictionJobs", +"httpMethod": "GET", +"id": "aiplatform.batchPredictionJobs.list", +"parameterOrder": [], +"parameters": { +"filter": { +"description": "The standard list filter. Supported fields: * `display_name` supports `=`, `!=` comparisons, and `:` wildcard. * `model_display_name` supports `=`, `!=` comparisons. * `state` supports `=`, `!=` comparisons. * `create_time` supports `=`, `!=`,`<`, `<=`,`>`, `>=` comparisons. `create_time` must be in RFC 3339 format. * `labels` supports general map functions that is: `labels.key=value` - key:value equality `labels.key:* - key existence Some examples of using the filter are: * `state=\"JOB_STATE_SUCCEEDED\" AND display_name:\"my_job_*\"` * `state!=\"JOB_STATE_FAILED\" OR display_name=\"my_job\"` * `NOT display_name=\"my_job\"` * `create_time>\"2021-05-18T00:00:00Z\"` * `labels.keyA=valueA` * `labels.keyB:*`", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "The standard list page size.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The standard list page token. Typically obtained via ListBatchPredictionJobsResponse.next_page_token of the previous JobService.ListBatchPredictionJobs call.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The resource name of the Location to list the BatchPredictionJobs from. Format: `projects/{project}/locations/{location}`", +"location": "query", +"type": "string" +}, +"readMask": { +"description": "Mask specifying which fields to read.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/batchPredictionJobs", +"response": { +"$ref": "GoogleCloudAiplatformV1ListBatchPredictionJobsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"customJobs": { +"resources": { +"operations": { +"methods": { +"cancel": { +"description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.", +"flatPath": "v1/customJobs/{customJobsId}/operations/{operationsId}:cancel", +"httpMethod": "POST", +"id": "aiplatform.customJobs.operations.cancel", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be cancelled.", +"location": "path", +"pattern": "^customJobs/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:cancel", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.", +"flatPath": "v1/customJobs/{customJobsId}/operations/{operationsId}", +"httpMethod": "DELETE", +"id": "aiplatform.customJobs.operations.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be deleted.", +"location": "path", +"pattern": "^customJobs/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", +"flatPath": "v1/customJobs/{customJobsId}/operations/{operationsId}", +"httpMethod": "GET", +"id": "aiplatform.customJobs.operations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource.", +"location": "path", +"pattern": "^customJobs/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.", +"flatPath": "v1/customJobs/{customJobsId}/operations", +"httpMethod": "GET", +"id": "aiplatform.customJobs.operations.list", +"parameterOrder": [ +"name" +], +"parameters": { +"filter": { +"description": "The standard list filter.", +"location": "query", +"type": "string" +}, +"name": { +"description": "The name of the operation's parent resource.", +"location": "path", +"pattern": "^customJobs/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The standard list page size.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The standard list page token.", +"location": "query", +"type": "string" +}, +"returnPartialSuccess": { +"description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `\"projects/example/locations/-\"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1/{+name}/operations", +"response": { +"$ref": "GoogleLongrunningListOperationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"wait": { +"description": "Waits until the specified long-running operation is done or reaches at most a specified timeout, returning the latest state. If the operation is already done, the latest state is immediately returned. If the timeout specified is greater than the default HTTP/RPC timeout, the HTTP/RPC timeout is used. If the server does not support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Note that this method is on a best-effort basis. It may return the latest state before the specified timeout (including immediately), meaning even an immediate response is no guarantee that the operation is done.", +"flatPath": "v1/customJobs/{customJobsId}/operations/{operationsId}:wait", +"httpMethod": "POST", +"id": "aiplatform.customJobs.operations.wait", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to wait on.", +"location": "path", +"pattern": "^customJobs/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +}, +"timeout": { +"description": "The maximum duration to wait before timing out. If left blank, the wait will be at most the time permitted by the underlying HTTP/RPC protocol. If RPC context deadline is also specified, the shorter one will be used.", +"format": "google-duration", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}:wait", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +}, +"dataLabelingJobs": { +"resources": { +"operations": { +"methods": { +"cancel": { +"description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.", +"flatPath": "v1/dataLabelingJobs/{dataLabelingJobsId}/operations/{operationsId}:cancel", +"httpMethod": "POST", +"id": "aiplatform.dataLabelingJobs.operations.cancel", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be cancelled.", +"location": "path", +"pattern": "^dataLabelingJobs/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:cancel", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.", +"flatPath": "v1/dataLabelingJobs/{dataLabelingJobsId}/operations/{operationsId}", +"httpMethod": "DELETE", +"id": "aiplatform.dataLabelingJobs.operations.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be deleted.", +"location": "path", +"pattern": "^dataLabelingJobs/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", +"flatPath": "v1/dataLabelingJobs/{dataLabelingJobsId}/operations/{operationsId}", +"httpMethod": "GET", +"id": "aiplatform.dataLabelingJobs.operations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource.", +"location": "path", +"pattern": "^dataLabelingJobs/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.", +"flatPath": "v1/dataLabelingJobs/{dataLabelingJobsId}/operations", +"httpMethod": "GET", +"id": "aiplatform.dataLabelingJobs.operations.list", +"parameterOrder": [ +"name" +], +"parameters": { +"filter": { +"description": "The standard list filter.", +"location": "query", +"type": "string" +}, +"name": { +"description": "The name of the operation's parent resource.", +"location": "path", +"pattern": "^dataLabelingJobs/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The standard list page size.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The standard list page token.", +"location": "query", +"type": "string" +}, +"returnPartialSuccess": { +"description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `\"projects/example/locations/-\"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1/{+name}/operations", +"response": { +"$ref": "GoogleLongrunningListOperationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"wait": { +"description": "Waits until the specified long-running operation is done or reaches at most a specified timeout, returning the latest state. If the operation is already done, the latest state is immediately returned. If the timeout specified is greater than the default HTTP/RPC timeout, the HTTP/RPC timeout is used. If the server does not support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Note that this method is on a best-effort basis. It may return the latest state before the specified timeout (including immediately), meaning even an immediate response is no guarantee that the operation is done.", +"flatPath": "v1/dataLabelingJobs/{dataLabelingJobsId}/operations/{operationsId}:wait", +"httpMethod": "POST", +"id": "aiplatform.dataLabelingJobs.operations.wait", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to wait on.", +"location": "path", +"pattern": "^dataLabelingJobs/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +}, +"timeout": { +"description": "The maximum duration to wait before timing out. If left blank, the wait will be at most the time permitted by the underlying HTTP/RPC protocol. If RPC context deadline is also specified, the shorter one will be used.", +"format": "google-duration", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}:wait", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +}, +"datasets": { +"methods": { +"create": { +"description": "Creates a Dataset.", +"flatPath": "v1/datasets", +"httpMethod": "POST", +"id": "aiplatform.datasets.create", +"parameterOrder": [], +"parameters": { +"parent": { +"description": "Required. The resource name of the Location to create the Dataset in. Format: `projects/{project}/locations/{location}`", +"location": "query", +"type": "string" +} +}, +"path": "v1/datasets", +"request": { +"$ref": "GoogleCloudAiplatformV1Dataset" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a Dataset.", +"flatPath": "v1/datasets/{datasetsId}", +"httpMethod": "DELETE", +"id": "aiplatform.datasets.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the Dataset to delete. Format: `projects/{project}/locations/{location}/datasets/{dataset}`", +"location": "path", +"pattern": "^datasets/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets a Dataset.", +"flatPath": "v1/datasets/{datasetsId}", +"httpMethod": "GET", +"id": "aiplatform.datasets.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the Dataset resource.", +"location": "path", +"pattern": "^datasets/[^/]+$", +"required": true, +"type": "string" +}, +"readMask": { +"description": "Mask specifying which fields to read.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleCloudAiplatformV1Dataset" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists Datasets in a Location.", +"flatPath": "v1/datasets", +"httpMethod": "GET", +"id": "aiplatform.datasets.list", +"parameterOrder": [], +"parameters": { +"filter": { +"description": "An expression for filtering the results of the request. For field names both snake_case and camelCase are supported. * `display_name`: supports = and != * `metadata_schema_uri`: supports = and != * `labels` supports general map functions that is: * `labels.key=value` - key:value equality * `labels.key:* or labels:key - key existence * A key including a space must be quoted. `labels.\"a key\"`. Some examples: * `displayName=\"myDisplayName\"` * `labels.myKey=\"myValue\"`", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "A comma-separated list of fields to order by, sorted in ascending order. Use \"desc\" after a field name for descending. Supported fields: * `display_name` * `create_time` * `update_time`", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "The standard list page size.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The standard list page token.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The name of the Dataset's parent resource. Format: `projects/{project}/locations/{location}`", +"location": "query", +"type": "string" +}, +"readMask": { +"description": "Mask specifying which fields to read.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/datasets", +"response": { +"$ref": "GoogleCloudAiplatformV1ListDatasetsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates a Dataset.", +"flatPath": "v1/datasets/{datasetsId}", +"httpMethod": "PATCH", +"id": "aiplatform.datasets.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Output only. Identifier. The resource name of the Dataset. Format: `projects/{project}/locations/{location}/datasets/{dataset}`", +"location": "path", +"pattern": "^datasets/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Required. The update mask applies to the resource. For the `FieldMask` definition, see google.protobuf.FieldMask. Updatable fields: * `display_name` * `description` * `labels`", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "GoogleCloudAiplatformV1Dataset" +}, +"response": { +"$ref": "GoogleCloudAiplatformV1Dataset" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"annotationSpecs": { +"resources": { +"operations": { +"methods": { +"cancel": { +"description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.", +"flatPath": "v1/datasets/{datasetsId}/annotationSpecs/{annotationSpecsId}/operations/{operationsId}:cancel", +"httpMethod": "POST", +"id": "aiplatform.datasets.annotationSpecs.operations.cancel", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be cancelled.", +"location": "path", +"pattern": "^datasets/[^/]+/annotationSpecs/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:cancel", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.", +"flatPath": "v1/datasets/{datasetsId}/annotationSpecs/{annotationSpecsId}/operations/{operationsId}", +"httpMethod": "DELETE", +"id": "aiplatform.datasets.annotationSpecs.operations.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be deleted.", +"location": "path", +"pattern": "^datasets/[^/]+/annotationSpecs/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", +"flatPath": "v1/datasets/{datasetsId}/annotationSpecs/{annotationSpecsId}/operations/{operationsId}", +"httpMethod": "GET", +"id": "aiplatform.datasets.annotationSpecs.operations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource.", +"location": "path", +"pattern": "^datasets/[^/]+/annotationSpecs/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.", +"flatPath": "v1/datasets/{datasetsId}/annotationSpecs/{annotationSpecsId}/operations", +"httpMethod": "GET", +"id": "aiplatform.datasets.annotationSpecs.operations.list", +"parameterOrder": [ +"name" +], +"parameters": { +"filter": { +"description": "The standard list filter.", +"location": "query", +"type": "string" +}, +"name": { +"description": "The name of the operation's parent resource.", +"location": "path", +"pattern": "^datasets/[^/]+/annotationSpecs/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The standard list page size.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The standard list page token.", +"location": "query", +"type": "string" +}, +"returnPartialSuccess": { +"description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `\"projects/example/locations/-\"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1/{+name}/operations", +"response": { +"$ref": "GoogleLongrunningListOperationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"wait": { +"description": "Waits until the specified long-running operation is done or reaches at most a specified timeout, returning the latest state. If the operation is already done, the latest state is immediately returned. If the timeout specified is greater than the default HTTP/RPC timeout, the HTTP/RPC timeout is used. If the server does not support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Note that this method is on a best-effort basis. It may return the latest state before the specified timeout (including immediately), meaning even an immediate response is no guarantee that the operation is done.", +"flatPath": "v1/datasets/{datasetsId}/annotationSpecs/{annotationSpecsId}/operations/{operationsId}:wait", +"httpMethod": "POST", +"id": "aiplatform.datasets.annotationSpecs.operations.wait", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to wait on.", +"location": "path", +"pattern": "^datasets/[^/]+/annotationSpecs/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +}, +"timeout": { +"description": "The maximum duration to wait before timing out. If left blank, the wait will be at most the time permitted by the underlying HTTP/RPC protocol. If RPC context deadline is also specified, the shorter one will be used.", +"format": "google-duration", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}:wait", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +}, +"dataItems": { +"resources": { +"annotations": { +"resources": { +"operations": { +"methods": { +"cancel": { +"description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.", +"flatPath": "v1/datasets/{datasetsId}/dataItems/{dataItemsId}/annotations/{annotationsId}/operations/{operationsId}:cancel", +"httpMethod": "POST", +"id": "aiplatform.datasets.dataItems.annotations.operations.cancel", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be cancelled.", +"location": "path", +"pattern": "^datasets/[^/]+/dataItems/[^/]+/annotations/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:cancel", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.", +"flatPath": "v1/datasets/{datasetsId}/dataItems/{dataItemsId}/annotations/{annotationsId}/operations/{operationsId}", +"httpMethod": "DELETE", +"id": "aiplatform.datasets.dataItems.annotations.operations.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be deleted.", +"location": "path", +"pattern": "^datasets/[^/]+/dataItems/[^/]+/annotations/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", +"flatPath": "v1/datasets/{datasetsId}/dataItems/{dataItemsId}/annotations/{annotationsId}/operations/{operationsId}", +"httpMethod": "GET", +"id": "aiplatform.datasets.dataItems.annotations.operations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource.", +"location": "path", +"pattern": "^datasets/[^/]+/dataItems/[^/]+/annotations/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.", +"flatPath": "v1/datasets/{datasetsId}/dataItems/{dataItemsId}/annotations/{annotationsId}/operations", +"httpMethod": "GET", +"id": "aiplatform.datasets.dataItems.annotations.operations.list", +"parameterOrder": [ +"name" +], +"parameters": { +"filter": { +"description": "The standard list filter.", +"location": "query", +"type": "string" +}, +"name": { +"description": "The name of the operation's parent resource.", +"location": "path", +"pattern": "^datasets/[^/]+/dataItems/[^/]+/annotations/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The standard list page size.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The standard list page token.", +"location": "query", +"type": "string" +}, +"returnPartialSuccess": { +"description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `\"projects/example/locations/-\"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1/{+name}/operations", +"response": { +"$ref": "GoogleLongrunningListOperationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"wait": { +"description": "Waits until the specified long-running operation is done or reaches at most a specified timeout, returning the latest state. If the operation is already done, the latest state is immediately returned. If the timeout specified is greater than the default HTTP/RPC timeout, the HTTP/RPC timeout is used. If the server does not support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Note that this method is on a best-effort basis. It may return the latest state before the specified timeout (including immediately), meaning even an immediate response is no guarantee that the operation is done.", +"flatPath": "v1/datasets/{datasetsId}/dataItems/{dataItemsId}/annotations/{annotationsId}/operations/{operationsId}:wait", +"httpMethod": "POST", +"id": "aiplatform.datasets.dataItems.annotations.operations.wait", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to wait on.", +"location": "path", +"pattern": "^datasets/[^/]+/dataItems/[^/]+/annotations/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +}, +"timeout": { +"description": "The maximum duration to wait before timing out. If left blank, the wait will be at most the time permitted by the underlying HTTP/RPC protocol. If RPC context deadline is also specified, the shorter one will be used.", +"format": "google-duration", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}:wait", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +}, +"operations": { +"methods": { +"cancel": { +"description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.", +"flatPath": "v1/datasets/{datasetsId}/dataItems/{dataItemsId}/operations/{operationsId}:cancel", +"httpMethod": "POST", +"id": "aiplatform.datasets.dataItems.operations.cancel", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be cancelled.", +"location": "path", +"pattern": "^datasets/[^/]+/dataItems/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:cancel", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.", +"flatPath": "v1/datasets/{datasetsId}/dataItems/{dataItemsId}/operations/{operationsId}", +"httpMethod": "DELETE", +"id": "aiplatform.datasets.dataItems.operations.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be deleted.", +"location": "path", +"pattern": "^datasets/[^/]+/dataItems/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", +"flatPath": "v1/datasets/{datasetsId}/dataItems/{dataItemsId}/operations/{operationsId}", +"httpMethod": "GET", +"id": "aiplatform.datasets.dataItems.operations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource.", +"location": "path", +"pattern": "^datasets/[^/]+/dataItems/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.", +"flatPath": "v1/datasets/{datasetsId}/dataItems/{dataItemsId}/operations", +"httpMethod": "GET", +"id": "aiplatform.datasets.dataItems.operations.list", +"parameterOrder": [ +"name" +], +"parameters": { +"filter": { +"description": "The standard list filter.", +"location": "query", +"type": "string" +}, +"name": { +"description": "The name of the operation's parent resource.", +"location": "path", +"pattern": "^datasets/[^/]+/dataItems/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The standard list page size.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The standard list page token.", +"location": "query", +"type": "string" +}, +"returnPartialSuccess": { +"description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `\"projects/example/locations/-\"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1/{+name}/operations", +"response": { +"$ref": "GoogleLongrunningListOperationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"wait": { +"description": "Waits until the specified long-running operation is done or reaches at most a specified timeout, returning the latest state. If the operation is already done, the latest state is immediately returned. If the timeout specified is greater than the default HTTP/RPC timeout, the HTTP/RPC timeout is used. If the server does not support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Note that this method is on a best-effort basis. It may return the latest state before the specified timeout (including immediately), meaning even an immediate response is no guarantee that the operation is done.", +"flatPath": "v1/datasets/{datasetsId}/dataItems/{dataItemsId}/operations/{operationsId}:wait", +"httpMethod": "POST", +"id": "aiplatform.datasets.dataItems.operations.wait", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to wait on.", +"location": "path", +"pattern": "^datasets/[^/]+/dataItems/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +}, +"timeout": { +"description": "The maximum duration to wait before timing out. If left blank, the wait will be at most the time permitted by the underlying HTTP/RPC protocol. If RPC context deadline is also specified, the shorter one will be used.", +"format": "google-duration", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}:wait", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +}, +"datasetVersions": { +"methods": { +"create": { +"description": "Create a version from a Dataset.", +"flatPath": "v1/datasets/{datasetsId}/datasetVersions", +"httpMethod": "POST", +"id": "aiplatform.datasets.datasetVersions.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The name of the Dataset resource. Format: `projects/{project}/locations/{location}/datasets/{dataset}`", +"location": "path", +"pattern": "^datasets/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/datasetVersions", +"request": { +"$ref": "GoogleCloudAiplatformV1DatasetVersion" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a Dataset version.", +"flatPath": "v1/datasets/{datasetsId}/datasetVersions/{datasetVersionsId}", +"httpMethod": "DELETE", +"id": "aiplatform.datasets.datasetVersions.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the Dataset version to delete. Format: `projects/{project}/locations/{location}/datasets/{dataset}/datasetVersions/{dataset_version}`", +"location": "path", +"pattern": "^datasets/[^/]+/datasetVersions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets a Dataset version.", +"flatPath": "v1/datasets/{datasetsId}/datasetVersions/{datasetVersionsId}", +"httpMethod": "GET", +"id": "aiplatform.datasets.datasetVersions.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the Dataset version to delete. Format: `projects/{project}/locations/{location}/datasets/{dataset}/datasetVersions/{dataset_version}`", +"location": "path", +"pattern": "^datasets/[^/]+/datasetVersions/[^/]+$", +"required": true, +"type": "string" +}, +"readMask": { +"description": "Mask specifying which fields to read.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleCloudAiplatformV1DatasetVersion" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists DatasetVersions in a Dataset.", +"flatPath": "v1/datasets/{datasetsId}/datasetVersions", +"httpMethod": "GET", +"id": "aiplatform.datasets.datasetVersions.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Optional. The standard list filter.", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "Optional. A comma-separated list of fields to order by, sorted in ascending order. Use \"desc\" after a field name for descending.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Optional. The standard list page size.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. The standard list page token.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The resource name of the Dataset to list DatasetVersions from. Format: `projects/{project}/locations/{location}/datasets/{dataset}`", +"location": "path", +"pattern": "^datasets/[^/]+$", +"required": true, +"type": "string" +}, +"readMask": { +"description": "Optional. Mask specifying which fields to read.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+parent}/datasetVersions", +"response": { +"$ref": "GoogleCloudAiplatformV1ListDatasetVersionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates a DatasetVersion.", +"flatPath": "v1/datasets/{datasetsId}/datasetVersions/{datasetVersionsId}", +"httpMethod": "PATCH", +"id": "aiplatform.datasets.datasetVersions.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Output only. Identifier. The resource name of the DatasetVersion. Format: `projects/{project}/locations/{location}/datasets/{dataset}/datasetVersions/{dataset_version}`", +"location": "path", +"pattern": "^datasets/[^/]+/datasetVersions/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Required. The update mask applies to the resource. For the `FieldMask` definition, see google.protobuf.FieldMask. Updatable fields: * `display_name`", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "GoogleCloudAiplatformV1DatasetVersion" +}, +"response": { +"$ref": "GoogleCloudAiplatformV1DatasetVersion" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"restore": { +"description": "Restores a dataset version.", +"flatPath": "v1/datasets/{datasetsId}/datasetVersions/{datasetVersionsId}:restore", +"httpMethod": "GET", +"id": "aiplatform.datasets.datasetVersions.restore", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the DatasetVersion resource. Format: `projects/{project}/locations/{location}/datasets/{dataset}/datasetVersions/{dataset_version}`", +"location": "path", +"pattern": "^datasets/[^/]+/datasetVersions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:restore", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"operations": { +"methods": { +"cancel": { +"description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.", +"flatPath": "v1/datasets/{datasetsId}/operations/{operationsId}:cancel", +"httpMethod": "POST", +"id": "aiplatform.datasets.operations.cancel", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be cancelled.", +"location": "path", +"pattern": "^datasets/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:cancel", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.", +"flatPath": "v1/datasets/{datasetsId}/operations/{operationsId}", +"httpMethod": "DELETE", +"id": "aiplatform.datasets.operations.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be deleted.", +"location": "path", +"pattern": "^datasets/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", +"flatPath": "v1/datasets/{datasetsId}/operations/{operationsId}", +"httpMethod": "GET", +"id": "aiplatform.datasets.operations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource.", +"location": "path", +"pattern": "^datasets/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.", +"flatPath": "v1/datasets/{datasetsId}/operations", +"httpMethod": "GET", +"id": "aiplatform.datasets.operations.list", +"parameterOrder": [ +"name" +], +"parameters": { +"filter": { +"description": "The standard list filter.", +"location": "query", +"type": "string" +}, +"name": { +"description": "The name of the operation's parent resource.", +"location": "path", +"pattern": "^datasets/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The standard list page size.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The standard list page token.", +"location": "query", +"type": "string" +}, +"returnPartialSuccess": { +"description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `\"projects/example/locations/-\"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1/{+name}/operations", +"response": { +"$ref": "GoogleLongrunningListOperationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"wait": { +"description": "Waits until the specified long-running operation is done or reaches at most a specified timeout, returning the latest state. If the operation is already done, the latest state is immediately returned. If the timeout specified is greater than the default HTTP/RPC timeout, the HTTP/RPC timeout is used. If the server does not support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Note that this method is on a best-effort basis. It may return the latest state before the specified timeout (including immediately), meaning even an immediate response is no guarantee that the operation is done.", +"flatPath": "v1/datasets/{datasetsId}/operations/{operationsId}:wait", +"httpMethod": "POST", +"id": "aiplatform.datasets.operations.wait", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to wait on.", +"location": "path", +"pattern": "^datasets/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +}, +"timeout": { +"description": "The maximum duration to wait before timing out. If left blank, the wait will be at most the time permitted by the underlying HTTP/RPC protocol. If RPC context deadline is also specified, the shorter one will be used.", +"format": "google-duration", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}:wait", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"savedQueries": { +"resources": { +"operations": { +"methods": { +"cancel": { +"description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.", +"flatPath": "v1/datasets/{datasetsId}/savedQueries/{savedQueriesId}/operations/{operationsId}:cancel", +"httpMethod": "POST", +"id": "aiplatform.datasets.savedQueries.operations.cancel", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be cancelled.", +"location": "path", +"pattern": "^datasets/[^/]+/savedQueries/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:cancel", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.", +"flatPath": "v1/datasets/{datasetsId}/savedQueries/{savedQueriesId}/operations/{operationsId}", +"httpMethod": "DELETE", +"id": "aiplatform.datasets.savedQueries.operations.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be deleted.", +"location": "path", +"pattern": "^datasets/[^/]+/savedQueries/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", +"flatPath": "v1/datasets/{datasetsId}/savedQueries/{savedQueriesId}/operations/{operationsId}", +"httpMethod": "GET", +"id": "aiplatform.datasets.savedQueries.operations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource.", +"location": "path", +"pattern": "^datasets/[^/]+/savedQueries/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.", +"flatPath": "v1/datasets/{datasetsId}/savedQueries/{savedQueriesId}/operations", +"httpMethod": "GET", +"id": "aiplatform.datasets.savedQueries.operations.list", +"parameterOrder": [ +"name" +], +"parameters": { +"filter": { +"description": "The standard list filter.", +"location": "query", +"type": "string" +}, +"name": { +"description": "The name of the operation's parent resource.", +"location": "path", +"pattern": "^datasets/[^/]+/savedQueries/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The standard list page size.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The standard list page token.", +"location": "query", +"type": "string" +}, +"returnPartialSuccess": { +"description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `\"projects/example/locations/-\"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1/{+name}/operations", +"response": { +"$ref": "GoogleLongrunningListOperationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"wait": { +"description": "Waits until the specified long-running operation is done or reaches at most a specified timeout, returning the latest state. If the operation is already done, the latest state is immediately returned. If the timeout specified is greater than the default HTTP/RPC timeout, the HTTP/RPC timeout is used. If the server does not support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Note that this method is on a best-effort basis. It may return the latest state before the specified timeout (including immediately), meaning even an immediate response is no guarantee that the operation is done.", +"flatPath": "v1/datasets/{datasetsId}/savedQueries/{savedQueriesId}/operations/{operationsId}:wait", +"httpMethod": "POST", +"id": "aiplatform.datasets.savedQueries.operations.wait", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to wait on.", +"location": "path", +"pattern": "^datasets/[^/]+/savedQueries/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +}, +"timeout": { +"description": "The maximum duration to wait before timing out. If left blank, the wait will be at most the time permitted by the underlying HTTP/RPC protocol. If RPC context deadline is also specified, the shorter one will be used.", +"format": "google-duration", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}:wait", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +} +} +}, +"deploymentResourcePools": { +"resources": { +"operations": { +"methods": { +"cancel": { +"description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.", +"flatPath": "v1/deploymentResourcePools/{deploymentResourcePoolsId}/operations/{operationsId}:cancel", +"httpMethod": "POST", +"id": "aiplatform.deploymentResourcePools.operations.cancel", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be cancelled.", +"location": "path", +"pattern": "^deploymentResourcePools/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:cancel", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.", +"flatPath": "v1/deploymentResourcePools/{deploymentResourcePoolsId}/operations/{operationsId}", +"httpMethod": "DELETE", +"id": "aiplatform.deploymentResourcePools.operations.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be deleted.", +"location": "path", +"pattern": "^deploymentResourcePools/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", +"flatPath": "v1/deploymentResourcePools/{deploymentResourcePoolsId}/operations/{operationsId}", +"httpMethod": "GET", +"id": "aiplatform.deploymentResourcePools.operations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource.", +"location": "path", +"pattern": "^deploymentResourcePools/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.", +"flatPath": "v1/deploymentResourcePools/{deploymentResourcePoolsId}/operations", +"httpMethod": "GET", +"id": "aiplatform.deploymentResourcePools.operations.list", +"parameterOrder": [ +"name" +], +"parameters": { +"filter": { +"description": "The standard list filter.", +"location": "query", +"type": "string" +}, +"name": { +"description": "The name of the operation's parent resource.", +"location": "path", +"pattern": "^deploymentResourcePools/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The standard list page size.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The standard list page token.", +"location": "query", +"type": "string" +}, +"returnPartialSuccess": { +"description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `\"projects/example/locations/-\"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1/{+name}/operations", +"response": { +"$ref": "GoogleLongrunningListOperationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"wait": { +"description": "Waits until the specified long-running operation is done or reaches at most a specified timeout, returning the latest state. If the operation is already done, the latest state is immediately returned. If the timeout specified is greater than the default HTTP/RPC timeout, the HTTP/RPC timeout is used. If the server does not support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Note that this method is on a best-effort basis. It may return the latest state before the specified timeout (including immediately), meaning even an immediate response is no guarantee that the operation is done.", +"flatPath": "v1/deploymentResourcePools/{deploymentResourcePoolsId}/operations/{operationsId}:wait", +"httpMethod": "POST", +"id": "aiplatform.deploymentResourcePools.operations.wait", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to wait on.", +"location": "path", +"pattern": "^deploymentResourcePools/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +}, +"timeout": { +"description": "The maximum duration to wait before timing out. If left blank, the wait will be at most the time permitted by the underlying HTTP/RPC protocol. If RPC context deadline is also specified, the shorter one will be used.", +"format": "google-duration", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}:wait", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +}, +"endpoints": { +"methods": { +"computeTokens": { +"description": "Return a list of tokens based on the input text.", +"flatPath": "v1/endpoints/{endpointsId}:computeTokens", +"httpMethod": "POST", +"id": "aiplatform.endpoints.computeTokens", +"parameterOrder": [ +"endpoint" +], +"parameters": { +"endpoint": { +"description": "Required. The name of the Endpoint requested to get lists of tokens and token ids.", +"location": "path", +"pattern": "^endpoints/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+endpoint}:computeTokens", +"request": { +"$ref": "GoogleCloudAiplatformV1ComputeTokensRequest" +}, +"response": { +"$ref": "GoogleCloudAiplatformV1ComputeTokensResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"countTokens": { +"description": "Perform a token counting.", +"flatPath": "v1/endpoints/{endpointsId}:countTokens", +"httpMethod": "POST", +"id": "aiplatform.endpoints.countTokens", +"parameterOrder": [ +"endpoint" +], +"parameters": { +"endpoint": { +"description": "Required. The name of the Endpoint requested to perform token counting. Format: `projects/{project}/locations/{location}/endpoints/{endpoint}`", +"location": "path", +"pattern": "^endpoints/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+endpoint}:countTokens", +"request": { +"$ref": "GoogleCloudAiplatformV1CountTokensRequest" +}, +"response": { +"$ref": "GoogleCloudAiplatformV1CountTokensResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"fetchPredictOperation": { +"description": "Fetch an asynchronous online prediction operation.", +"flatPath": "v1/endpoints/{endpointsId}:fetchPredictOperation", +"httpMethod": "POST", +"id": "aiplatform.endpoints.fetchPredictOperation", +"parameterOrder": [ +"endpoint" +], +"parameters": { +"endpoint": { +"description": "Required. The name of the Endpoint requested to serve the prediction. Format: `projects/{project}/locations/{location}/endpoints/{endpoint}` or `projects/{project}/locations/{location}/publishers/{publisher}/models/{model}`", +"location": "path", +"pattern": "^endpoints/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+endpoint}:fetchPredictOperation", +"request": { +"$ref": "GoogleCloudAiplatformV1FetchPredictOperationRequest" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only" +] +}, +"generateContent": { +"description": "Generate content with multimodal inputs.", +"flatPath": "v1/endpoints/{endpointsId}:generateContent", +"httpMethod": "POST", +"id": "aiplatform.endpoints.generateContent", +"parameterOrder": [ +"model" +], +"parameters": { +"model": { +"description": "Required. The fully qualified name of the publisher model or tuned model endpoint to use. Publisher model format: `projects/{project}/locations/{location}/publishers/*/models/*` Tuned model endpoint format: `projects/{project}/locations/{location}/endpoints/{endpoint}`", +"location": "path", +"pattern": "^endpoints/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+model}:generateContent", +"request": { +"$ref": "GoogleCloudAiplatformV1GenerateContentRequest" +}, +"response": { +"$ref": "GoogleCloudAiplatformV1GenerateContentResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only" +] +}, +"predict": { +"description": "Perform an online prediction.", +"flatPath": "v1/endpoints/{endpointsId}:predict", +"httpMethod": "POST", +"id": "aiplatform.endpoints.predict", +"parameterOrder": [ +"endpoint" +], +"parameters": { +"endpoint": { +"description": "Required. The name of the Endpoint requested to serve the prediction. Format: `projects/{project}/locations/{location}/endpoints/{endpoint}`", +"location": "path", +"pattern": "^endpoints/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+endpoint}:predict", +"request": { +"$ref": "GoogleCloudAiplatformV1PredictRequest" +}, +"response": { +"$ref": "GoogleCloudAiplatformV1PredictResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only" +] +}, +"predictLongRunning": { +"description": "", +"flatPath": "v1/endpoints/{endpointsId}:predictLongRunning", +"httpMethod": "POST", +"id": "aiplatform.endpoints.predictLongRunning", +"parameterOrder": [ +"endpoint" +], +"parameters": { +"endpoint": { +"description": "Required. The name of the Endpoint requested to serve the prediction. Format: `projects/{project}/locations/{location}/endpoints/{endpoint}` or `projects/{project}/locations/{location}/publishers/{publisher}/models/{model}`", +"location": "path", +"pattern": "^endpoints/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+endpoint}:predictLongRunning", +"request": { +"$ref": "GoogleCloudAiplatformV1PredictLongRunningRequest" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only" +] +}, +"streamGenerateContent": { +"description": "Generate content with multimodal inputs with streaming support.", +"flatPath": "v1/endpoints/{endpointsId}:streamGenerateContent", +"httpMethod": "POST", +"id": "aiplatform.endpoints.streamGenerateContent", +"parameterOrder": [ +"model" +], +"parameters": { +"model": { +"description": "Required. The fully qualified name of the publisher model or tuned model endpoint to use. Publisher model format: `projects/{project}/locations/{location}/publishers/*/models/*` Tuned model endpoint format: `projects/{project}/locations/{location}/endpoints/{endpoint}`", +"location": "path", +"pattern": "^endpoints/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+model}:streamGenerateContent", +"request": { +"$ref": "GoogleCloudAiplatformV1GenerateContentRequest" +}, +"response": { +"$ref": "GoogleCloudAiplatformV1GenerateContentResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only" +] +} +}, +"resources": { +"chat": { +"methods": { +"completions": { +"description": "Exposes an OpenAI-compatible endpoint for chat completions.", +"flatPath": "v1/endpoints/{endpointsId}/chat/completions", +"httpMethod": "POST", +"id": "aiplatform.endpoints.chat.completions", +"parameterOrder": [ +"endpoint" +], +"parameters": { +"endpoint": { +"description": "Required. The name of the endpoint requested to serve the prediction. Format: `projects/{project}/locations/{location}/endpoints/{endpoint}`", +"location": "path", +"pattern": "^endpoints/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+endpoint}/chat/completions", +"request": { +"$ref": "GoogleApiHttpBody" +}, +"response": { +"$ref": "GoogleApiHttpBody" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only" +] +} +} +}, +"operations": { +"methods": { +"cancel": { +"description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.", +"flatPath": "v1/endpoints/{endpointsId}/operations/{operationsId}:cancel", +"httpMethod": "POST", +"id": "aiplatform.endpoints.operations.cancel", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be cancelled.", +"location": "path", +"pattern": "^endpoints/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:cancel", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.", +"flatPath": "v1/endpoints/{endpointsId}/operations/{operationsId}", +"httpMethod": "DELETE", +"id": "aiplatform.endpoints.operations.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be deleted.", +"location": "path", +"pattern": "^endpoints/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", +"flatPath": "v1/endpoints/{endpointsId}/operations/{operationsId}", +"httpMethod": "GET", +"id": "aiplatform.endpoints.operations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource.", +"location": "path", +"pattern": "^endpoints/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.", +"flatPath": "v1/endpoints/{endpointsId}/operations", +"httpMethod": "GET", +"id": "aiplatform.endpoints.operations.list", +"parameterOrder": [ +"name" +], +"parameters": { +"filter": { +"description": "The standard list filter.", +"location": "query", +"type": "string" +}, +"name": { +"description": "The name of the operation's parent resource.", +"location": "path", +"pattern": "^endpoints/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The standard list page size.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The standard list page token.", +"location": "query", +"type": "string" +}, +"returnPartialSuccess": { +"description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `\"projects/example/locations/-\"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1/{+name}/operations", +"response": { +"$ref": "GoogleLongrunningListOperationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"wait": { +"description": "Waits until the specified long-running operation is done or reaches at most a specified timeout, returning the latest state. If the operation is already done, the latest state is immediately returned. If the timeout specified is greater than the default HTTP/RPC timeout, the HTTP/RPC timeout is used. If the server does not support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Note that this method is on a best-effort basis. It may return the latest state before the specified timeout (including immediately), meaning even an immediate response is no guarantee that the operation is done.", +"flatPath": "v1/endpoints/{endpointsId}/operations/{operationsId}:wait", +"httpMethod": "POST", +"id": "aiplatform.endpoints.operations.wait", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to wait on.", +"location": "path", +"pattern": "^endpoints/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +}, +"timeout": { +"description": "The maximum duration to wait before timing out. If left blank, the wait will be at most the time permitted by the underlying HTTP/RPC protocol. If RPC context deadline is also specified, the shorter one will be used.", +"format": "google-duration", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}:wait", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +}, +"featureGroups": { +"resources": { +"features": { +"resources": { +"operations": { +"methods": { +"delete": { +"description": "Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.", +"flatPath": "v1/featureGroups/{featureGroupsId}/features/{featuresId}/operations/{operationsId}", +"httpMethod": "DELETE", +"id": "aiplatform.featureGroups.features.operations.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be deleted.", +"location": "path", +"pattern": "^featureGroups/[^/]+/features/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", +"flatPath": "v1/featureGroups/{featureGroupsId}/features/{featuresId}/operations/{operationsId}", +"httpMethod": "GET", +"id": "aiplatform.featureGroups.features.operations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource.", +"location": "path", +"pattern": "^featureGroups/[^/]+/features/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"listWait": { +"description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.", +"flatPath": "v1/featureGroups/{featureGroupsId}/features/{featuresId}/operations/{operationsId}:wait", +"httpMethod": "GET", +"id": "aiplatform.featureGroups.features.operations.listWait", +"parameterOrder": [ +"name" +], +"parameters": { +"filter": { +"description": "The standard list filter.", +"location": "query", +"type": "string" +}, +"name": { +"description": "The name of the operation's parent resource.", +"location": "path", +"pattern": "^featureGroups/[^/]+/features/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The standard list page size.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The standard list page token.", +"location": "query", +"type": "string" +}, +"returnPartialSuccess": { +"description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `\"projects/example/locations/-\"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1/{+name}:wait", +"response": { +"$ref": "GoogleLongrunningListOperationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"wait": { +"description": "Waits until the specified long-running operation is done or reaches at most a specified timeout, returning the latest state. If the operation is already done, the latest state is immediately returned. If the timeout specified is greater than the default HTTP/RPC timeout, the HTTP/RPC timeout is used. If the server does not support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Note that this method is on a best-effort basis. It may return the latest state before the specified timeout (including immediately), meaning even an immediate response is no guarantee that the operation is done.", +"flatPath": "v1/featureGroups/{featureGroupsId}/features/{featuresId}/operations/{operationsId}:wait", +"httpMethod": "POST", +"id": "aiplatform.featureGroups.features.operations.wait", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to wait on.", +"location": "path", +"pattern": "^featureGroups/[^/]+/features/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +}, +"timeout": { +"description": "The maximum duration to wait before timing out. If left blank, the wait will be at most the time permitted by the underlying HTTP/RPC protocol. If RPC context deadline is also specified, the shorter one will be used.", +"format": "google-duration", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}:wait", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +}, +"operations": { +"methods": { +"delete": { +"description": "Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.", +"flatPath": "v1/featureGroups/{featureGroupsId}/operations/{operationsId}", +"httpMethod": "DELETE", +"id": "aiplatform.featureGroups.operations.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be deleted.", +"location": "path", +"pattern": "^featureGroups/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", +"flatPath": "v1/featureGroups/{featureGroupsId}/operations/{operationsId}", +"httpMethod": "GET", +"id": "aiplatform.featureGroups.operations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource.", +"location": "path", +"pattern": "^featureGroups/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"listWait": { +"description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.", +"flatPath": "v1/featureGroups/{featureGroupsId}/operations/{operationsId}:wait", +"httpMethod": "GET", +"id": "aiplatform.featureGroups.operations.listWait", +"parameterOrder": [ +"name" +], +"parameters": { +"filter": { +"description": "The standard list filter.", +"location": "query", +"type": "string" +}, +"name": { +"description": "The name of the operation's parent resource.", +"location": "path", +"pattern": "^featureGroups/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The standard list page size.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The standard list page token.", +"location": "query", +"type": "string" +}, +"returnPartialSuccess": { +"description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `\"projects/example/locations/-\"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1/{+name}:wait", +"response": { +"$ref": "GoogleLongrunningListOperationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"wait": { +"description": "Waits until the specified long-running operation is done or reaches at most a specified timeout, returning the latest state. If the operation is already done, the latest state is immediately returned. If the timeout specified is greater than the default HTTP/RPC timeout, the HTTP/RPC timeout is used. If the server does not support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Note that this method is on a best-effort basis. It may return the latest state before the specified timeout (including immediately), meaning even an immediate response is no guarantee that the operation is done.", +"flatPath": "v1/featureGroups/{featureGroupsId}/operations/{operationsId}:wait", +"httpMethod": "POST", +"id": "aiplatform.featureGroups.operations.wait", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to wait on.", +"location": "path", +"pattern": "^featureGroups/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +}, +"timeout": { +"description": "The maximum duration to wait before timing out. If left blank, the wait will be at most the time permitted by the underlying HTTP/RPC protocol. If RPC context deadline is also specified, the shorter one will be used.", +"format": "google-duration", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}:wait", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +}, +"featureOnlineStores": { +"resources": { +"featureViews": { +"resources": { +"operations": { +"methods": { +"delete": { +"description": "Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.", +"flatPath": "v1/featureOnlineStores/{featureOnlineStoresId}/featureViews/{featureViewsId}/operations/{operationsId}", +"httpMethod": "DELETE", +"id": "aiplatform.featureOnlineStores.featureViews.operations.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be deleted.", +"location": "path", +"pattern": "^featureOnlineStores/[^/]+/featureViews/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", +"flatPath": "v1/featureOnlineStores/{featureOnlineStoresId}/featureViews/{featureViewsId}/operations/{operationsId}", +"httpMethod": "GET", +"id": "aiplatform.featureOnlineStores.featureViews.operations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource.", +"location": "path", +"pattern": "^featureOnlineStores/[^/]+/featureViews/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"listWait": { +"description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.", +"flatPath": "v1/featureOnlineStores/{featureOnlineStoresId}/featureViews/{featureViewsId}/operations/{operationsId}:wait", +"httpMethod": "GET", +"id": "aiplatform.featureOnlineStores.featureViews.operations.listWait", +"parameterOrder": [ +"name" +], +"parameters": { +"filter": { +"description": "The standard list filter.", +"location": "query", +"type": "string" +}, +"name": { +"description": "The name of the operation's parent resource.", +"location": "path", +"pattern": "^featureOnlineStores/[^/]+/featureViews/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The standard list page size.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The standard list page token.", +"location": "query", +"type": "string" +}, +"returnPartialSuccess": { +"description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `\"projects/example/locations/-\"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1/{+name}:wait", +"response": { +"$ref": "GoogleLongrunningListOperationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"wait": { +"description": "Waits until the specified long-running operation is done or reaches at most a specified timeout, returning the latest state. If the operation is already done, the latest state is immediately returned. If the timeout specified is greater than the default HTTP/RPC timeout, the HTTP/RPC timeout is used. If the server does not support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Note that this method is on a best-effort basis. It may return the latest state before the specified timeout (including immediately), meaning even an immediate response is no guarantee that the operation is done.", +"flatPath": "v1/featureOnlineStores/{featureOnlineStoresId}/featureViews/{featureViewsId}/operations/{operationsId}:wait", +"httpMethod": "POST", +"id": "aiplatform.featureOnlineStores.featureViews.operations.wait", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to wait on.", +"location": "path", +"pattern": "^featureOnlineStores/[^/]+/featureViews/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +}, +"timeout": { +"description": "The maximum duration to wait before timing out. If left blank, the wait will be at most the time permitted by the underlying HTTP/RPC protocol. If RPC context deadline is also specified, the shorter one will be used.", +"format": "google-duration", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}:wait", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +}, +"operations": { +"methods": { +"delete": { +"description": "Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.", +"flatPath": "v1/featureOnlineStores/{featureOnlineStoresId}/operations/{operationsId}", +"httpMethod": "DELETE", +"id": "aiplatform.featureOnlineStores.operations.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be deleted.", +"location": "path", +"pattern": "^featureOnlineStores/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", +"flatPath": "v1/featureOnlineStores/{featureOnlineStoresId}/operations/{operationsId}", +"httpMethod": "GET", +"id": "aiplatform.featureOnlineStores.operations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource.", +"location": "path", +"pattern": "^featureOnlineStores/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"listWait": { +"description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.", +"flatPath": "v1/featureOnlineStores/{featureOnlineStoresId}/operations/{operationsId}:wait", +"httpMethod": "GET", +"id": "aiplatform.featureOnlineStores.operations.listWait", +"parameterOrder": [ +"name" +], +"parameters": { +"filter": { +"description": "The standard list filter.", +"location": "query", +"type": "string" +}, +"name": { +"description": "The name of the operation's parent resource.", +"location": "path", +"pattern": "^featureOnlineStores/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The standard list page size.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The standard list page token.", +"location": "query", +"type": "string" +}, +"returnPartialSuccess": { +"description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `\"projects/example/locations/-\"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1/{+name}:wait", +"response": { +"$ref": "GoogleLongrunningListOperationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"wait": { +"description": "Waits until the specified long-running operation is done or reaches at most a specified timeout, returning the latest state. If the operation is already done, the latest state is immediately returned. If the timeout specified is greater than the default HTTP/RPC timeout, the HTTP/RPC timeout is used. If the server does not support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Note that this method is on a best-effort basis. It may return the latest state before the specified timeout (including immediately), meaning even an immediate response is no guarantee that the operation is done.", +"flatPath": "v1/featureOnlineStores/{featureOnlineStoresId}/operations/{operationsId}:wait", +"httpMethod": "POST", +"id": "aiplatform.featureOnlineStores.operations.wait", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to wait on.", +"location": "path", +"pattern": "^featureOnlineStores/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +}, +"timeout": { +"description": "The maximum duration to wait before timing out. If left blank, the wait will be at most the time permitted by the underlying HTTP/RPC protocol. If RPC context deadline is also specified, the shorter one will be used.", +"format": "google-duration", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}:wait", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +}, +"featurestores": { +"resources": { +"entityTypes": { +"resources": { +"features": { +"resources": { +"operations": { +"methods": { +"cancel": { +"description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.", +"flatPath": "v1/featurestores/{featurestoresId}/entityTypes/{entityTypesId}/features/{featuresId}/operations/{operationsId}:cancel", +"httpMethod": "POST", +"id": "aiplatform.featurestores.entityTypes.features.operations.cancel", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be cancelled.", +"location": "path", +"pattern": "^featurestores/[^/]+/entityTypes/[^/]+/features/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:cancel", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.", +"flatPath": "v1/featurestores/{featurestoresId}/entityTypes/{entityTypesId}/features/{featuresId}/operations/{operationsId}", +"httpMethod": "DELETE", +"id": "aiplatform.featurestores.entityTypes.features.operations.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be deleted.", +"location": "path", +"pattern": "^featurestores/[^/]+/entityTypes/[^/]+/features/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", +"flatPath": "v1/featurestores/{featurestoresId}/entityTypes/{entityTypesId}/features/{featuresId}/operations/{operationsId}", +"httpMethod": "GET", +"id": "aiplatform.featurestores.entityTypes.features.operations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource.", +"location": "path", +"pattern": "^featurestores/[^/]+/entityTypes/[^/]+/features/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.", +"flatPath": "v1/featurestores/{featurestoresId}/entityTypes/{entityTypesId}/features/{featuresId}/operations", +"httpMethod": "GET", +"id": "aiplatform.featurestores.entityTypes.features.operations.list", +"parameterOrder": [ +"name" +], +"parameters": { +"filter": { +"description": "The standard list filter.", +"location": "query", +"type": "string" +}, +"name": { +"description": "The name of the operation's parent resource.", +"location": "path", +"pattern": "^featurestores/[^/]+/entityTypes/[^/]+/features/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The standard list page size.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The standard list page token.", +"location": "query", +"type": "string" +}, +"returnPartialSuccess": { +"description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `\"projects/example/locations/-\"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1/{+name}/operations", +"response": { +"$ref": "GoogleLongrunningListOperationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"wait": { +"description": "Waits until the specified long-running operation is done or reaches at most a specified timeout, returning the latest state. If the operation is already done, the latest state is immediately returned. If the timeout specified is greater than the default HTTP/RPC timeout, the HTTP/RPC timeout is used. If the server does not support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Note that this method is on a best-effort basis. It may return the latest state before the specified timeout (including immediately), meaning even an immediate response is no guarantee that the operation is done.", +"flatPath": "v1/featurestores/{featurestoresId}/entityTypes/{entityTypesId}/features/{featuresId}/operations/{operationsId}:wait", +"httpMethod": "POST", +"id": "aiplatform.featurestores.entityTypes.features.operations.wait", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to wait on.", +"location": "path", +"pattern": "^featurestores/[^/]+/entityTypes/[^/]+/features/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +}, +"timeout": { +"description": "The maximum duration to wait before timing out. If left blank, the wait will be at most the time permitted by the underlying HTTP/RPC protocol. If RPC context deadline is also specified, the shorter one will be used.", +"format": "google-duration", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}:wait", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +}, +"operations": { +"methods": { +"cancel": { +"description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.", +"flatPath": "v1/featurestores/{featurestoresId}/entityTypes/{entityTypesId}/operations/{operationsId}:cancel", +"httpMethod": "POST", +"id": "aiplatform.featurestores.entityTypes.operations.cancel", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be cancelled.", +"location": "path", +"pattern": "^featurestores/[^/]+/entityTypes/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:cancel", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.", +"flatPath": "v1/featurestores/{featurestoresId}/entityTypes/{entityTypesId}/operations/{operationsId}", +"httpMethod": "DELETE", +"id": "aiplatform.featurestores.entityTypes.operations.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be deleted.", +"location": "path", +"pattern": "^featurestores/[^/]+/entityTypes/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", +"flatPath": "v1/featurestores/{featurestoresId}/entityTypes/{entityTypesId}/operations/{operationsId}", +"httpMethod": "GET", +"id": "aiplatform.featurestores.entityTypes.operations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource.", +"location": "path", +"pattern": "^featurestores/[^/]+/entityTypes/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.", +"flatPath": "v1/featurestores/{featurestoresId}/entityTypes/{entityTypesId}/operations", +"httpMethod": "GET", +"id": "aiplatform.featurestores.entityTypes.operations.list", +"parameterOrder": [ +"name" +], +"parameters": { +"filter": { +"description": "The standard list filter.", +"location": "query", +"type": "string" +}, +"name": { +"description": "The name of the operation's parent resource.", +"location": "path", +"pattern": "^featurestores/[^/]+/entityTypes/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The standard list page size.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The standard list page token.", +"location": "query", +"type": "string" +}, +"returnPartialSuccess": { +"description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `\"projects/example/locations/-\"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1/{+name}/operations", +"response": { +"$ref": "GoogleLongrunningListOperationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"wait": { +"description": "Waits until the specified long-running operation is done or reaches at most a specified timeout, returning the latest state. If the operation is already done, the latest state is immediately returned. If the timeout specified is greater than the default HTTP/RPC timeout, the HTTP/RPC timeout is used. If the server does not support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Note that this method is on a best-effort basis. It may return the latest state before the specified timeout (including immediately), meaning even an immediate response is no guarantee that the operation is done.", +"flatPath": "v1/featurestores/{featurestoresId}/entityTypes/{entityTypesId}/operations/{operationsId}:wait", +"httpMethod": "POST", +"id": "aiplatform.featurestores.entityTypes.operations.wait", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to wait on.", +"location": "path", +"pattern": "^featurestores/[^/]+/entityTypes/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +}, +"timeout": { +"description": "The maximum duration to wait before timing out. If left blank, the wait will be at most the time permitted by the underlying HTTP/RPC protocol. If RPC context deadline is also specified, the shorter one will be used.", +"format": "google-duration", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}:wait", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +}, +"operations": { +"methods": { +"cancel": { +"description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.", +"flatPath": "v1/featurestores/{featurestoresId}/operations/{operationsId}:cancel", +"httpMethod": "POST", +"id": "aiplatform.featurestores.operations.cancel", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be cancelled.", +"location": "path", +"pattern": "^featurestores/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:cancel", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.", +"flatPath": "v1/featurestores/{featurestoresId}/operations/{operationsId}", +"httpMethod": "DELETE", +"id": "aiplatform.featurestores.operations.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be deleted.", +"location": "path", +"pattern": "^featurestores/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", +"flatPath": "v1/featurestores/{featurestoresId}/operations/{operationsId}", +"httpMethod": "GET", +"id": "aiplatform.featurestores.operations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource.", +"location": "path", +"pattern": "^featurestores/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.", +"flatPath": "v1/featurestores/{featurestoresId}/operations", +"httpMethod": "GET", +"id": "aiplatform.featurestores.operations.list", +"parameterOrder": [ +"name" +], +"parameters": { +"filter": { +"description": "The standard list filter.", +"location": "query", +"type": "string" +}, +"name": { +"description": "The name of the operation's parent resource.", +"location": "path", +"pattern": "^featurestores/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The standard list page size.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The standard list page token.", +"location": "query", +"type": "string" +}, +"returnPartialSuccess": { +"description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `\"projects/example/locations/-\"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1/{+name}/operations", +"response": { +"$ref": "GoogleLongrunningListOperationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"wait": { +"description": "Waits until the specified long-running operation is done or reaches at most a specified timeout, returning the latest state. If the operation is already done, the latest state is immediately returned. If the timeout specified is greater than the default HTTP/RPC timeout, the HTTP/RPC timeout is used. If the server does not support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Note that this method is on a best-effort basis. It may return the latest state before the specified timeout (including immediately), meaning even an immediate response is no guarantee that the operation is done.", +"flatPath": "v1/featurestores/{featurestoresId}/operations/{operationsId}:wait", +"httpMethod": "POST", +"id": "aiplatform.featurestores.operations.wait", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to wait on.", +"location": "path", +"pattern": "^featurestores/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +}, +"timeout": { +"description": "The maximum duration to wait before timing out. If left blank, the wait will be at most the time permitted by the underlying HTTP/RPC protocol. If RPC context deadline is also specified, the shorter one will be used.", +"format": "google-duration", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}:wait", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +}, +"hyperparameterTuningJobs": { +"resources": { +"operations": { +"methods": { +"cancel": { +"description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.", +"flatPath": "v1/hyperparameterTuningJobs/{hyperparameterTuningJobsId}/operations/{operationsId}:cancel", +"httpMethod": "POST", +"id": "aiplatform.hyperparameterTuningJobs.operations.cancel", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be cancelled.", +"location": "path", +"pattern": "^hyperparameterTuningJobs/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:cancel", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.", +"flatPath": "v1/hyperparameterTuningJobs/{hyperparameterTuningJobsId}/operations/{operationsId}", +"httpMethod": "DELETE", +"id": "aiplatform.hyperparameterTuningJobs.operations.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be deleted.", +"location": "path", +"pattern": "^hyperparameterTuningJobs/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", +"flatPath": "v1/hyperparameterTuningJobs/{hyperparameterTuningJobsId}/operations/{operationsId}", +"httpMethod": "GET", +"id": "aiplatform.hyperparameterTuningJobs.operations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource.", +"location": "path", +"pattern": "^hyperparameterTuningJobs/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.", +"flatPath": "v1/hyperparameterTuningJobs/{hyperparameterTuningJobsId}/operations", +"httpMethod": "GET", +"id": "aiplatform.hyperparameterTuningJobs.operations.list", +"parameterOrder": [ +"name" +], +"parameters": { +"filter": { +"description": "The standard list filter.", +"location": "query", +"type": "string" +}, +"name": { +"description": "The name of the operation's parent resource.", +"location": "path", +"pattern": "^hyperparameterTuningJobs/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The standard list page size.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The standard list page token.", +"location": "query", +"type": "string" +}, +"returnPartialSuccess": { +"description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `\"projects/example/locations/-\"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1/{+name}/operations", +"response": { +"$ref": "GoogleLongrunningListOperationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"wait": { +"description": "Waits until the specified long-running operation is done or reaches at most a specified timeout, returning the latest state. If the operation is already done, the latest state is immediately returned. If the timeout specified is greater than the default HTTP/RPC timeout, the HTTP/RPC timeout is used. If the server does not support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Note that this method is on a best-effort basis. It may return the latest state before the specified timeout (including immediately), meaning even an immediate response is no guarantee that the operation is done.", +"flatPath": "v1/hyperparameterTuningJobs/{hyperparameterTuningJobsId}/operations/{operationsId}:wait", +"httpMethod": "POST", +"id": "aiplatform.hyperparameterTuningJobs.operations.wait", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to wait on.", +"location": "path", +"pattern": "^hyperparameterTuningJobs/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +}, +"timeout": { +"description": "The maximum duration to wait before timing out. If left blank, the wait will be at most the time permitted by the underlying HTTP/RPC protocol. If RPC context deadline is also specified, the shorter one will be used.", +"format": "google-duration", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}:wait", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +}, +"indexEndpoints": { +"resources": { +"operations": { +"methods": { +"cancel": { +"description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.", +"flatPath": "v1/indexEndpoints/{indexEndpointsId}/operations/{operationsId}:cancel", +"httpMethod": "POST", +"id": "aiplatform.indexEndpoints.operations.cancel", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be cancelled.", +"location": "path", +"pattern": "^indexEndpoints/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:cancel", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.", +"flatPath": "v1/indexEndpoints/{indexEndpointsId}/operations/{operationsId}", +"httpMethod": "DELETE", +"id": "aiplatform.indexEndpoints.operations.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be deleted.", +"location": "path", +"pattern": "^indexEndpoints/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", +"flatPath": "v1/indexEndpoints/{indexEndpointsId}/operations/{operationsId}", +"httpMethod": "GET", +"id": "aiplatform.indexEndpoints.operations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource.", +"location": "path", +"pattern": "^indexEndpoints/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.", +"flatPath": "v1/indexEndpoints/{indexEndpointsId}/operations", +"httpMethod": "GET", +"id": "aiplatform.indexEndpoints.operations.list", +"parameterOrder": [ +"name" +], +"parameters": { +"filter": { +"description": "The standard list filter.", +"location": "query", +"type": "string" +}, +"name": { +"description": "The name of the operation's parent resource.", +"location": "path", +"pattern": "^indexEndpoints/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The standard list page size.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The standard list page token.", +"location": "query", +"type": "string" +}, +"returnPartialSuccess": { +"description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `\"projects/example/locations/-\"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1/{+name}/operations", +"response": { +"$ref": "GoogleLongrunningListOperationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"wait": { +"description": "Waits until the specified long-running operation is done or reaches at most a specified timeout, returning the latest state. If the operation is already done, the latest state is immediately returned. If the timeout specified is greater than the default HTTP/RPC timeout, the HTTP/RPC timeout is used. If the server does not support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Note that this method is on a best-effort basis. It may return the latest state before the specified timeout (including immediately), meaning even an immediate response is no guarantee that the operation is done.", +"flatPath": "v1/indexEndpoints/{indexEndpointsId}/operations/{operationsId}:wait", +"httpMethod": "POST", +"id": "aiplatform.indexEndpoints.operations.wait", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to wait on.", +"location": "path", +"pattern": "^indexEndpoints/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +}, +"timeout": { +"description": "The maximum duration to wait before timing out. If left blank, the wait will be at most the time permitted by the underlying HTTP/RPC protocol. If RPC context deadline is also specified, the shorter one will be used.", +"format": "google-duration", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}:wait", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +}, +"indexes": { +"resources": { +"operations": { +"methods": { +"cancel": { +"description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.", +"flatPath": "v1/indexes/{indexesId}/operations/{operationsId}:cancel", +"httpMethod": "POST", +"id": "aiplatform.indexes.operations.cancel", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be cancelled.", +"location": "path", +"pattern": "^indexes/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:cancel", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.", +"flatPath": "v1/indexes/{indexesId}/operations/{operationsId}", +"httpMethod": "DELETE", +"id": "aiplatform.indexes.operations.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be deleted.", +"location": "path", +"pattern": "^indexes/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", +"flatPath": "v1/indexes/{indexesId}/operations/{operationsId}", +"httpMethod": "GET", +"id": "aiplatform.indexes.operations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource.", +"location": "path", +"pattern": "^indexes/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.", +"flatPath": "v1/indexes/{indexesId}/operations", +"httpMethod": "GET", +"id": "aiplatform.indexes.operations.list", +"parameterOrder": [ +"name" +], +"parameters": { +"filter": { +"description": "The standard list filter.", +"location": "query", +"type": "string" +}, +"name": { +"description": "The name of the operation's parent resource.", +"location": "path", +"pattern": "^indexes/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The standard list page size.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The standard list page token.", +"location": "query", +"type": "string" +}, +"returnPartialSuccess": { +"description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `\"projects/example/locations/-\"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1/{+name}/operations", +"response": { +"$ref": "GoogleLongrunningListOperationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"wait": { +"description": "Waits until the specified long-running operation is done or reaches at most a specified timeout, returning the latest state. If the operation is already done, the latest state is immediately returned. If the timeout specified is greater than the default HTTP/RPC timeout, the HTTP/RPC timeout is used. If the server does not support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Note that this method is on a best-effort basis. It may return the latest state before the specified timeout (including immediately), meaning even an immediate response is no guarantee that the operation is done.", +"flatPath": "v1/indexes/{indexesId}/operations/{operationsId}:wait", +"httpMethod": "POST", +"id": "aiplatform.indexes.operations.wait", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to wait on.", +"location": "path", +"pattern": "^indexes/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +}, +"timeout": { +"description": "The maximum duration to wait before timing out. If left blank, the wait will be at most the time permitted by the underlying HTTP/RPC protocol. If RPC context deadline is also specified, the shorter one will be used.", +"format": "google-duration", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}:wait", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +}, +"media": { +"methods": { +"upload": { +"description": "Upload a file into a RagCorpus.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/ragCorpora/{ragCorporaId}/ragFiles:upload", +"httpMethod": "POST", +"id": "aiplatform.media.upload", +"mediaUpload": { +"accept": [ +"*/*" +], +"protocols": { +"simple": { +"multipart": true, +"path": "/upload/v1/{+parent}/ragFiles:upload" +} +} +}, +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The name of the RagCorpus resource into which to upload the file. Format: `projects/{project}/locations/{location}/ragCorpora/{rag_corpus}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/ragCorpora/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/ragFiles:upload", +"request": { +"$ref": "GoogleCloudAiplatformV1UploadRagFileRequest" +}, +"response": { +"$ref": "GoogleCloudAiplatformV1UploadRagFileResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +], +"supportsMediaUpload": true +} +} +}, +"metadataStores": { +"resources": { +"artifacts": { +"resources": { +"operations": { +"methods": { +"cancel": { +"description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.", +"flatPath": "v1/metadataStores/{metadataStoresId}/artifacts/{artifactsId}/operations/{operationsId}:cancel", +"httpMethod": "POST", +"id": "aiplatform.metadataStores.artifacts.operations.cancel", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be cancelled.", +"location": "path", +"pattern": "^metadataStores/[^/]+/artifacts/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:cancel", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.", +"flatPath": "v1/metadataStores/{metadataStoresId}/artifacts/{artifactsId}/operations/{operationsId}", +"httpMethod": "DELETE", +"id": "aiplatform.metadataStores.artifacts.operations.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be deleted.", +"location": "path", +"pattern": "^metadataStores/[^/]+/artifacts/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", +"flatPath": "v1/metadataStores/{metadataStoresId}/artifacts/{artifactsId}/operations/{operationsId}", +"httpMethod": "GET", +"id": "aiplatform.metadataStores.artifacts.operations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource.", +"location": "path", +"pattern": "^metadataStores/[^/]+/artifacts/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.", +"flatPath": "v1/metadataStores/{metadataStoresId}/artifacts/{artifactsId}/operations", +"httpMethod": "GET", +"id": "aiplatform.metadataStores.artifacts.operations.list", +"parameterOrder": [ +"name" +], +"parameters": { +"filter": { +"description": "The standard list filter.", +"location": "query", +"type": "string" +}, +"name": { +"description": "The name of the operation's parent resource.", +"location": "path", +"pattern": "^metadataStores/[^/]+/artifacts/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The standard list page size.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The standard list page token.", +"location": "query", +"type": "string" +}, +"returnPartialSuccess": { +"description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `\"projects/example/locations/-\"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1/{+name}/operations", +"response": { +"$ref": "GoogleLongrunningListOperationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"wait": { +"description": "Waits until the specified long-running operation is done or reaches at most a specified timeout, returning the latest state. If the operation is already done, the latest state is immediately returned. If the timeout specified is greater than the default HTTP/RPC timeout, the HTTP/RPC timeout is used. If the server does not support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Note that this method is on a best-effort basis. It may return the latest state before the specified timeout (including immediately), meaning even an immediate response is no guarantee that the operation is done.", +"flatPath": "v1/metadataStores/{metadataStoresId}/artifacts/{artifactsId}/operations/{operationsId}:wait", +"httpMethod": "POST", +"id": "aiplatform.metadataStores.artifacts.operations.wait", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to wait on.", +"location": "path", +"pattern": "^metadataStores/[^/]+/artifacts/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +}, +"timeout": { +"description": "The maximum duration to wait before timing out. If left blank, the wait will be at most the time permitted by the underlying HTTP/RPC protocol. If RPC context deadline is also specified, the shorter one will be used.", +"format": "google-duration", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}:wait", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +}, +"contexts": { +"resources": { +"operations": { +"methods": { +"cancel": { +"description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.", +"flatPath": "v1/metadataStores/{metadataStoresId}/contexts/{contextsId}/operations/{operationsId}:cancel", +"httpMethod": "POST", +"id": "aiplatform.metadataStores.contexts.operations.cancel", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be cancelled.", +"location": "path", +"pattern": "^metadataStores/[^/]+/contexts/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:cancel", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.", +"flatPath": "v1/metadataStores/{metadataStoresId}/contexts/{contextsId}/operations/{operationsId}", +"httpMethod": "DELETE", +"id": "aiplatform.metadataStores.contexts.operations.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be deleted.", +"location": "path", +"pattern": "^metadataStores/[^/]+/contexts/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", +"flatPath": "v1/metadataStores/{metadataStoresId}/contexts/{contextsId}/operations/{operationsId}", +"httpMethod": "GET", +"id": "aiplatform.metadataStores.contexts.operations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource.", +"location": "path", +"pattern": "^metadataStores/[^/]+/contexts/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.", +"flatPath": "v1/metadataStores/{metadataStoresId}/contexts/{contextsId}/operations", +"httpMethod": "GET", +"id": "aiplatform.metadataStores.contexts.operations.list", +"parameterOrder": [ +"name" +], +"parameters": { +"filter": { +"description": "The standard list filter.", +"location": "query", +"type": "string" +}, +"name": { +"description": "The name of the operation's parent resource.", +"location": "path", +"pattern": "^metadataStores/[^/]+/contexts/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The standard list page size.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The standard list page token.", +"location": "query", +"type": "string" +}, +"returnPartialSuccess": { +"description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `\"projects/example/locations/-\"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1/{+name}/operations", +"response": { +"$ref": "GoogleLongrunningListOperationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"wait": { +"description": "Waits until the specified long-running operation is done or reaches at most a specified timeout, returning the latest state. If the operation is already done, the latest state is immediately returned. If the timeout specified is greater than the default HTTP/RPC timeout, the HTTP/RPC timeout is used. If the server does not support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Note that this method is on a best-effort basis. It may return the latest state before the specified timeout (including immediately), meaning even an immediate response is no guarantee that the operation is done.", +"flatPath": "v1/metadataStores/{metadataStoresId}/contexts/{contextsId}/operations/{operationsId}:wait", +"httpMethod": "POST", +"id": "aiplatform.metadataStores.contexts.operations.wait", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to wait on.", +"location": "path", +"pattern": "^metadataStores/[^/]+/contexts/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +}, +"timeout": { +"description": "The maximum duration to wait before timing out. If left blank, the wait will be at most the time permitted by the underlying HTTP/RPC protocol. If RPC context deadline is also specified, the shorter one will be used.", +"format": "google-duration", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}:wait", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +}, +"executions": { +"resources": { +"operations": { +"methods": { +"cancel": { +"description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.", +"flatPath": "v1/metadataStores/{metadataStoresId}/executions/{executionsId}/operations/{operationsId}:cancel", +"httpMethod": "POST", +"id": "aiplatform.metadataStores.executions.operations.cancel", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be cancelled.", +"location": "path", +"pattern": "^metadataStores/[^/]+/executions/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:cancel", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.", +"flatPath": "v1/metadataStores/{metadataStoresId}/executions/{executionsId}/operations/{operationsId}", +"httpMethod": "DELETE", +"id": "aiplatform.metadataStores.executions.operations.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be deleted.", +"location": "path", +"pattern": "^metadataStores/[^/]+/executions/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", +"flatPath": "v1/metadataStores/{metadataStoresId}/executions/{executionsId}/operations/{operationsId}", +"httpMethod": "GET", +"id": "aiplatform.metadataStores.executions.operations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource.", +"location": "path", +"pattern": "^metadataStores/[^/]+/executions/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.", +"flatPath": "v1/metadataStores/{metadataStoresId}/executions/{executionsId}/operations", +"httpMethod": "GET", +"id": "aiplatform.metadataStores.executions.operations.list", +"parameterOrder": [ +"name" +], +"parameters": { +"filter": { +"description": "The standard list filter.", +"location": "query", +"type": "string" +}, +"name": { +"description": "The name of the operation's parent resource.", +"location": "path", +"pattern": "^metadataStores/[^/]+/executions/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The standard list page size.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The standard list page token.", +"location": "query", +"type": "string" +}, +"returnPartialSuccess": { +"description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `\"projects/example/locations/-\"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1/{+name}/operations", +"response": { +"$ref": "GoogleLongrunningListOperationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"wait": { +"description": "Waits until the specified long-running operation is done or reaches at most a specified timeout, returning the latest state. If the operation is already done, the latest state is immediately returned. If the timeout specified is greater than the default HTTP/RPC timeout, the HTTP/RPC timeout is used. If the server does not support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Note that this method is on a best-effort basis. It may return the latest state before the specified timeout (including immediately), meaning even an immediate response is no guarantee that the operation is done.", +"flatPath": "v1/metadataStores/{metadataStoresId}/executions/{executionsId}/operations/{operationsId}:wait", +"httpMethod": "POST", +"id": "aiplatform.metadataStores.executions.operations.wait", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to wait on.", +"location": "path", +"pattern": "^metadataStores/[^/]+/executions/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +}, +"timeout": { +"description": "The maximum duration to wait before timing out. If left blank, the wait will be at most the time permitted by the underlying HTTP/RPC protocol. If RPC context deadline is also specified, the shorter one will be used.", +"format": "google-duration", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}:wait", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +}, +"operations": { +"methods": { +"cancel": { +"description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.", +"flatPath": "v1/metadataStores/{metadataStoresId}/operations/{operationsId}:cancel", +"httpMethod": "POST", +"id": "aiplatform.metadataStores.operations.cancel", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be cancelled.", +"location": "path", +"pattern": "^metadataStores/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:cancel", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.", +"flatPath": "v1/metadataStores/{metadataStoresId}/operations/{operationsId}", +"httpMethod": "DELETE", +"id": "aiplatform.metadataStores.operations.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be deleted.", +"location": "path", +"pattern": "^metadataStores/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", +"flatPath": "v1/metadataStores/{metadataStoresId}/operations/{operationsId}", +"httpMethod": "GET", +"id": "aiplatform.metadataStores.operations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource.", +"location": "path", +"pattern": "^metadataStores/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.", +"flatPath": "v1/metadataStores/{metadataStoresId}/operations", +"httpMethod": "GET", +"id": "aiplatform.metadataStores.operations.list", +"parameterOrder": [ +"name" +], +"parameters": { +"filter": { +"description": "The standard list filter.", +"location": "query", +"type": "string" +}, +"name": { +"description": "The name of the operation's parent resource.", +"location": "path", +"pattern": "^metadataStores/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The standard list page size.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The standard list page token.", +"location": "query", +"type": "string" +}, +"returnPartialSuccess": { +"description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `\"projects/example/locations/-\"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1/{+name}/operations", +"response": { +"$ref": "GoogleLongrunningListOperationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"wait": { +"description": "Waits until the specified long-running operation is done or reaches at most a specified timeout, returning the latest state. If the operation is already done, the latest state is immediately returned. If the timeout specified is greater than the default HTTP/RPC timeout, the HTTP/RPC timeout is used. If the server does not support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Note that this method is on a best-effort basis. It may return the latest state before the specified timeout (including immediately), meaning even an immediate response is no guarantee that the operation is done.", +"flatPath": "v1/metadataStores/{metadataStoresId}/operations/{operationsId}:wait", +"httpMethod": "POST", +"id": "aiplatform.metadataStores.operations.wait", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to wait on.", +"location": "path", +"pattern": "^metadataStores/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +}, +"timeout": { +"description": "The maximum duration to wait before timing out. If left blank, the wait will be at most the time permitted by the underlying HTTP/RPC protocol. If RPC context deadline is also specified, the shorter one will be used.", +"format": "google-duration", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}:wait", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +}, +"migratableResources": { +"resources": { +"operations": { +"methods": { +"cancel": { +"description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.", +"flatPath": "v1/migratableResources/{migratableResourcesId}/operations/{operationsId}:cancel", +"httpMethod": "POST", +"id": "aiplatform.migratableResources.operations.cancel", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be cancelled.", +"location": "path", +"pattern": "^migratableResources/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:cancel", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.", +"flatPath": "v1/migratableResources/{migratableResourcesId}/operations/{operationsId}", +"httpMethod": "DELETE", +"id": "aiplatform.migratableResources.operations.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be deleted.", +"location": "path", +"pattern": "^migratableResources/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", +"flatPath": "v1/migratableResources/{migratableResourcesId}/operations/{operationsId}", +"httpMethod": "GET", +"id": "aiplatform.migratableResources.operations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource.", +"location": "path", +"pattern": "^migratableResources/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.", +"flatPath": "v1/migratableResources/{migratableResourcesId}/operations", +"httpMethod": "GET", +"id": "aiplatform.migratableResources.operations.list", +"parameterOrder": [ +"name" +], +"parameters": { +"filter": { +"description": "The standard list filter.", +"location": "query", +"type": "string" +}, +"name": { +"description": "The name of the operation's parent resource.", +"location": "path", +"pattern": "^migratableResources/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The standard list page size.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The standard list page token.", +"location": "query", +"type": "string" +}, +"returnPartialSuccess": { +"description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `\"projects/example/locations/-\"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1/{+name}/operations", +"response": { +"$ref": "GoogleLongrunningListOperationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"wait": { +"description": "Waits until the specified long-running operation is done or reaches at most a specified timeout, returning the latest state. If the operation is already done, the latest state is immediately returned. If the timeout specified is greater than the default HTTP/RPC timeout, the HTTP/RPC timeout is used. If the server does not support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Note that this method is on a best-effort basis. It may return the latest state before the specified timeout (including immediately), meaning even an immediate response is no guarantee that the operation is done.", +"flatPath": "v1/migratableResources/{migratableResourcesId}/operations/{operationsId}:wait", +"httpMethod": "POST", +"id": "aiplatform.migratableResources.operations.wait", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to wait on.", +"location": "path", +"pattern": "^migratableResources/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +}, +"timeout": { +"description": "The maximum duration to wait before timing out. If left blank, the wait will be at most the time permitted by the underlying HTTP/RPC protocol. If RPC context deadline is also specified, the shorter one will be used.", +"format": "google-duration", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}:wait", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +}, +"modelDeploymentMonitoringJobs": { +"resources": { +"operations": { +"methods": { +"cancel": { +"description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.", +"flatPath": "v1/modelDeploymentMonitoringJobs/{modelDeploymentMonitoringJobsId}/operations/{operationsId}:cancel", +"httpMethod": "POST", +"id": "aiplatform.modelDeploymentMonitoringJobs.operations.cancel", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be cancelled.", +"location": "path", +"pattern": "^modelDeploymentMonitoringJobs/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:cancel", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.", +"flatPath": "v1/modelDeploymentMonitoringJobs/{modelDeploymentMonitoringJobsId}/operations/{operationsId}", +"httpMethod": "DELETE", +"id": "aiplatform.modelDeploymentMonitoringJobs.operations.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be deleted.", +"location": "path", +"pattern": "^modelDeploymentMonitoringJobs/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", +"flatPath": "v1/modelDeploymentMonitoringJobs/{modelDeploymentMonitoringJobsId}/operations/{operationsId}", +"httpMethod": "GET", +"id": "aiplatform.modelDeploymentMonitoringJobs.operations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource.", +"location": "path", +"pattern": "^modelDeploymentMonitoringJobs/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.", +"flatPath": "v1/modelDeploymentMonitoringJobs/{modelDeploymentMonitoringJobsId}/operations", +"httpMethod": "GET", +"id": "aiplatform.modelDeploymentMonitoringJobs.operations.list", +"parameterOrder": [ +"name" +], +"parameters": { +"filter": { +"description": "The standard list filter.", +"location": "query", +"type": "string" +}, +"name": { +"description": "The name of the operation's parent resource.", +"location": "path", +"pattern": "^modelDeploymentMonitoringJobs/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The standard list page size.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The standard list page token.", +"location": "query", +"type": "string" +}, +"returnPartialSuccess": { +"description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `\"projects/example/locations/-\"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1/{+name}/operations", +"response": { +"$ref": "GoogleLongrunningListOperationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"wait": { +"description": "Waits until the specified long-running operation is done or reaches at most a specified timeout, returning the latest state. If the operation is already done, the latest state is immediately returned. If the timeout specified is greater than the default HTTP/RPC timeout, the HTTP/RPC timeout is used. If the server does not support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Note that this method is on a best-effort basis. It may return the latest state before the specified timeout (including immediately), meaning even an immediate response is no guarantee that the operation is done.", +"flatPath": "v1/modelDeploymentMonitoringJobs/{modelDeploymentMonitoringJobsId}/operations/{operationsId}:wait", +"httpMethod": "POST", +"id": "aiplatform.modelDeploymentMonitoringJobs.operations.wait", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to wait on.", +"location": "path", +"pattern": "^modelDeploymentMonitoringJobs/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +}, +"timeout": { +"description": "The maximum duration to wait before timing out. If left blank, the wait will be at most the time permitted by the underlying HTTP/RPC protocol. If RPC context deadline is also specified, the shorter one will be used.", +"format": "google-duration", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}:wait", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +}, +"models": { +"resources": { +"evaluations": { +"resources": { +"operations": { +"methods": { +"cancel": { +"description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.", +"flatPath": "v1/models/{modelsId}/evaluations/{evaluationsId}/operations/{operationsId}:cancel", +"httpMethod": "POST", +"id": "aiplatform.models.evaluations.operations.cancel", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be cancelled.", +"location": "path", +"pattern": "^models/[^/]+/evaluations/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:cancel", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.", +"flatPath": "v1/models/{modelsId}/evaluations/{evaluationsId}/operations/{operationsId}", +"httpMethod": "DELETE", +"id": "aiplatform.models.evaluations.operations.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be deleted.", +"location": "path", +"pattern": "^models/[^/]+/evaluations/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", +"flatPath": "v1/models/{modelsId}/evaluations/{evaluationsId}/operations/{operationsId}", +"httpMethod": "GET", +"id": "aiplatform.models.evaluations.operations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource.", +"location": "path", +"pattern": "^models/[^/]+/evaluations/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.", +"flatPath": "v1/models/{modelsId}/evaluations/{evaluationsId}/operations", +"httpMethod": "GET", +"id": "aiplatform.models.evaluations.operations.list", +"parameterOrder": [ +"name" +], +"parameters": { +"filter": { +"description": "The standard list filter.", +"location": "query", +"type": "string" +}, +"name": { +"description": "The name of the operation's parent resource.", +"location": "path", +"pattern": "^models/[^/]+/evaluations/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The standard list page size.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The standard list page token.", +"location": "query", +"type": "string" +}, +"returnPartialSuccess": { +"description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `\"projects/example/locations/-\"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1/{+name}/operations", +"response": { +"$ref": "GoogleLongrunningListOperationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"wait": { +"description": "Waits until the specified long-running operation is done or reaches at most a specified timeout, returning the latest state. If the operation is already done, the latest state is immediately returned. If the timeout specified is greater than the default HTTP/RPC timeout, the HTTP/RPC timeout is used. If the server does not support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Note that this method is on a best-effort basis. It may return the latest state before the specified timeout (including immediately), meaning even an immediate response is no guarantee that the operation is done.", +"flatPath": "v1/models/{modelsId}/evaluations/{evaluationsId}/operations/{operationsId}:wait", +"httpMethod": "POST", +"id": "aiplatform.models.evaluations.operations.wait", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to wait on.", +"location": "path", +"pattern": "^models/[^/]+/evaluations/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +}, +"timeout": { +"description": "The maximum duration to wait before timing out. If left blank, the wait will be at most the time permitted by the underlying HTTP/RPC protocol. If RPC context deadline is also specified, the shorter one will be used.", +"format": "google-duration", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}:wait", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +}, +"operations": { +"methods": { +"cancel": { +"description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.", +"flatPath": "v1/models/{modelsId}/operations/{operationsId}:cancel", +"httpMethod": "POST", +"id": "aiplatform.models.operations.cancel", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be cancelled.", +"location": "path", +"pattern": "^models/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:cancel", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.", +"flatPath": "v1/models/{modelsId}/operations/{operationsId}", +"httpMethod": "DELETE", +"id": "aiplatform.models.operations.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be deleted.", +"location": "path", +"pattern": "^models/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", +"flatPath": "v1/models/{modelsId}/operations/{operationsId}", +"httpMethod": "GET", +"id": "aiplatform.models.operations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource.", +"location": "path", +"pattern": "^models/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.", +"flatPath": "v1/models/{modelsId}/operations", +"httpMethod": "GET", +"id": "aiplatform.models.operations.list", +"parameterOrder": [ +"name" +], +"parameters": { +"filter": { +"description": "The standard list filter.", +"location": "query", +"type": "string" +}, +"name": { +"description": "The name of the operation's parent resource.", +"location": "path", +"pattern": "^models/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The standard list page size.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The standard list page token.", +"location": "query", +"type": "string" +}, +"returnPartialSuccess": { +"description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `\"projects/example/locations/-\"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1/{+name}/operations", +"response": { +"$ref": "GoogleLongrunningListOperationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"wait": { +"description": "Waits until the specified long-running operation is done or reaches at most a specified timeout, returning the latest state. If the operation is already done, the latest state is immediately returned. If the timeout specified is greater than the default HTTP/RPC timeout, the HTTP/RPC timeout is used. If the server does not support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Note that this method is on a best-effort basis. It may return the latest state before the specified timeout (including immediately), meaning even an immediate response is no guarantee that the operation is done.", +"flatPath": "v1/models/{modelsId}/operations/{operationsId}:wait", +"httpMethod": "POST", +"id": "aiplatform.models.operations.wait", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to wait on.", +"location": "path", +"pattern": "^models/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +}, +"timeout": { +"description": "The maximum duration to wait before timing out. If left blank, the wait will be at most the time permitted by the underlying HTTP/RPC protocol. If RPC context deadline is also specified, the shorter one will be used.", +"format": "google-duration", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}:wait", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +}, +"notebookExecutionJobs": { +"resources": { +"operations": { +"methods": { +"cancel": { +"description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.", +"flatPath": "v1/notebookExecutionJobs/{notebookExecutionJobsId}/operations/{operationsId}:cancel", +"httpMethod": "POST", +"id": "aiplatform.notebookExecutionJobs.operations.cancel", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be cancelled.", +"location": "path", +"pattern": "^notebookExecutionJobs/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:cancel", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.", +"flatPath": "v1/notebookExecutionJobs/{notebookExecutionJobsId}/operations/{operationsId}", +"httpMethod": "DELETE", +"id": "aiplatform.notebookExecutionJobs.operations.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be deleted.", +"location": "path", +"pattern": "^notebookExecutionJobs/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", +"flatPath": "v1/notebookExecutionJobs/{notebookExecutionJobsId}/operations/{operationsId}", +"httpMethod": "GET", +"id": "aiplatform.notebookExecutionJobs.operations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource.", +"location": "path", +"pattern": "^notebookExecutionJobs/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.", +"flatPath": "v1/notebookExecutionJobs/{notebookExecutionJobsId}/operations", +"httpMethod": "GET", +"id": "aiplatform.notebookExecutionJobs.operations.list", +"parameterOrder": [ +"name" +], +"parameters": { +"filter": { +"description": "The standard list filter.", +"location": "query", +"type": "string" +}, +"name": { +"description": "The name of the operation's parent resource.", +"location": "path", +"pattern": "^notebookExecutionJobs/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The standard list page size.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The standard list page token.", +"location": "query", +"type": "string" +}, +"returnPartialSuccess": { +"description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `\"projects/example/locations/-\"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1/{+name}/operations", +"response": { +"$ref": "GoogleLongrunningListOperationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"wait": { +"description": "Waits until the specified long-running operation is done or reaches at most a specified timeout, returning the latest state. If the operation is already done, the latest state is immediately returned. If the timeout specified is greater than the default HTTP/RPC timeout, the HTTP/RPC timeout is used. If the server does not support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Note that this method is on a best-effort basis. It may return the latest state before the specified timeout (including immediately), meaning even an immediate response is no guarantee that the operation is done.", +"flatPath": "v1/notebookExecutionJobs/{notebookExecutionJobsId}/operations/{operationsId}:wait", +"httpMethod": "POST", +"id": "aiplatform.notebookExecutionJobs.operations.wait", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to wait on.", +"location": "path", +"pattern": "^notebookExecutionJobs/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +}, +"timeout": { +"description": "The maximum duration to wait before timing out. If left blank, the wait will be at most the time permitted by the underlying HTTP/RPC protocol. If RPC context deadline is also specified, the shorter one will be used.", +"format": "google-duration", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}:wait", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +}, +"notebookRuntimeTemplates": { +"resources": { +"operations": { +"methods": { +"cancel": { +"description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.", +"flatPath": "v1/notebookRuntimeTemplates/{notebookRuntimeTemplatesId}/operations/{operationsId}:cancel", +"httpMethod": "POST", +"id": "aiplatform.notebookRuntimeTemplates.operations.cancel", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be cancelled.", +"location": "path", +"pattern": "^notebookRuntimeTemplates/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:cancel", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.", +"flatPath": "v1/notebookRuntimeTemplates/{notebookRuntimeTemplatesId}/operations/{operationsId}", +"httpMethod": "DELETE", +"id": "aiplatform.notebookRuntimeTemplates.operations.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be deleted.", +"location": "path", +"pattern": "^notebookRuntimeTemplates/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", +"flatPath": "v1/notebookRuntimeTemplates/{notebookRuntimeTemplatesId}/operations/{operationsId}", +"httpMethod": "GET", +"id": "aiplatform.notebookRuntimeTemplates.operations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource.", +"location": "path", +"pattern": "^notebookRuntimeTemplates/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.", +"flatPath": "v1/notebookRuntimeTemplates/{notebookRuntimeTemplatesId}/operations", +"httpMethod": "GET", +"id": "aiplatform.notebookRuntimeTemplates.operations.list", +"parameterOrder": [ +"name" +], +"parameters": { +"filter": { +"description": "The standard list filter.", +"location": "query", +"type": "string" +}, +"name": { +"description": "The name of the operation's parent resource.", +"location": "path", +"pattern": "^notebookRuntimeTemplates/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The standard list page size.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The standard list page token.", +"location": "query", +"type": "string" +}, +"returnPartialSuccess": { +"description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `\"projects/example/locations/-\"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1/{+name}/operations", +"response": { +"$ref": "GoogleLongrunningListOperationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"wait": { +"description": "Waits until the specified long-running operation is done or reaches at most a specified timeout, returning the latest state. If the operation is already done, the latest state is immediately returned. If the timeout specified is greater than the default HTTP/RPC timeout, the HTTP/RPC timeout is used. If the server does not support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Note that this method is on a best-effort basis. It may return the latest state before the specified timeout (including immediately), meaning even an immediate response is no guarantee that the operation is done.", +"flatPath": "v1/notebookRuntimeTemplates/{notebookRuntimeTemplatesId}/operations/{operationsId}:wait", +"httpMethod": "POST", +"id": "aiplatform.notebookRuntimeTemplates.operations.wait", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to wait on.", +"location": "path", +"pattern": "^notebookRuntimeTemplates/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +}, +"timeout": { +"description": "The maximum duration to wait before timing out. If left blank, the wait will be at most the time permitted by the underlying HTTP/RPC protocol. If RPC context deadline is also specified, the shorter one will be used.", +"format": "google-duration", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}:wait", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +}, +"notebookRuntimes": { +"resources": { +"operations": { +"methods": { +"cancel": { +"description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.", +"flatPath": "v1/notebookRuntimes/{notebookRuntimesId}/operations/{operationsId}:cancel", +"httpMethod": "POST", +"id": "aiplatform.notebookRuntimes.operations.cancel", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be cancelled.", +"location": "path", +"pattern": "^notebookRuntimes/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:cancel", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.", +"flatPath": "v1/notebookRuntimes/{notebookRuntimesId}/operations/{operationsId}", +"httpMethod": "DELETE", +"id": "aiplatform.notebookRuntimes.operations.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be deleted.", +"location": "path", +"pattern": "^notebookRuntimes/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", +"flatPath": "v1/notebookRuntimes/{notebookRuntimesId}/operations/{operationsId}", +"httpMethod": "GET", +"id": "aiplatform.notebookRuntimes.operations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource.", +"location": "path", +"pattern": "^notebookRuntimes/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.", +"flatPath": "v1/notebookRuntimes/{notebookRuntimesId}/operations", +"httpMethod": "GET", +"id": "aiplatform.notebookRuntimes.operations.list", +"parameterOrder": [ +"name" +], +"parameters": { +"filter": { +"description": "The standard list filter.", +"location": "query", +"type": "string" +}, +"name": { +"description": "The name of the operation's parent resource.", +"location": "path", +"pattern": "^notebookRuntimes/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The standard list page size.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The standard list page token.", +"location": "query", +"type": "string" +}, +"returnPartialSuccess": { +"description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `\"projects/example/locations/-\"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1/{+name}/operations", +"response": { +"$ref": "GoogleLongrunningListOperationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"wait": { +"description": "Waits until the specified long-running operation is done or reaches at most a specified timeout, returning the latest state. If the operation is already done, the latest state is immediately returned. If the timeout specified is greater than the default HTTP/RPC timeout, the HTTP/RPC timeout is used. If the server does not support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Note that this method is on a best-effort basis. It may return the latest state before the specified timeout (including immediately), meaning even an immediate response is no guarantee that the operation is done.", +"flatPath": "v1/notebookRuntimes/{notebookRuntimesId}/operations/{operationsId}:wait", +"httpMethod": "POST", +"id": "aiplatform.notebookRuntimes.operations.wait", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to wait on.", +"location": "path", +"pattern": "^notebookRuntimes/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +}, +"timeout": { +"description": "The maximum duration to wait before timing out. If left blank, the wait will be at most the time permitted by the underlying HTTP/RPC protocol. If RPC context deadline is also specified, the shorter one will be used.", +"format": "google-duration", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}:wait", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +}, +"operations": { +"methods": { +"cancel": { +"description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.", +"flatPath": "v1/operations/{operationsId}:cancel", +"httpMethod": "POST", +"id": "aiplatform.operations.cancel", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be cancelled.", +"location": "path", +"pattern": "^operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:cancel", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.", +"flatPath": "v1/operations/{operationsId}", +"httpMethod": "DELETE", +"id": "aiplatform.operations.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be deleted.", +"location": "path", +"pattern": "^operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", +"flatPath": "v1/operations/{operationsId}", +"httpMethod": "GET", +"id": "aiplatform.operations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource.", +"location": "path", +"pattern": "^operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.", +"flatPath": "v1/operations", +"httpMethod": "GET", +"id": "aiplatform.operations.list", +"parameterOrder": [], +"parameters": { +"filter": { +"description": "The standard list filter.", +"location": "query", +"type": "string" +}, +"name": { +"description": "The name of the operation's parent resource.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "The standard list page size.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The standard list page token.", +"location": "query", +"type": "string" +}, +"returnPartialSuccess": { +"description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `\"projects/example/locations/-\"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1/operations", +"response": { +"$ref": "GoogleLongrunningListOperationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"wait": { +"description": "Waits until the specified long-running operation is done or reaches at most a specified timeout, returning the latest state. If the operation is already done, the latest state is immediately returned. If the timeout specified is greater than the default HTTP/RPC timeout, the HTTP/RPC timeout is used. If the server does not support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Note that this method is on a best-effort basis. It may return the latest state before the specified timeout (including immediately), meaning even an immediate response is no guarantee that the operation is done.", +"flatPath": "v1/operations/{operationsId}:wait", +"httpMethod": "POST", +"id": "aiplatform.operations.wait", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to wait on.", +"location": "path", +"pattern": "^operations/[^/]+$", +"required": true, +"type": "string" +}, +"timeout": { +"description": "The maximum duration to wait before timing out. If left blank, the wait will be at most the time permitted by the underlying HTTP/RPC protocol. If RPC context deadline is also specified, the shorter one will be used.", +"format": "google-duration", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}:wait", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"persistentResources": { +"resources": { +"operations": { +"methods": { +"cancel": { +"description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.", +"flatPath": "v1/persistentResources/{persistentResourcesId}/operations/{operationsId}:cancel", +"httpMethod": "POST", +"id": "aiplatform.persistentResources.operations.cancel", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be cancelled.", +"location": "path", +"pattern": "^persistentResources/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:cancel", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.", +"flatPath": "v1/persistentResources/{persistentResourcesId}/operations/{operationsId}", +"httpMethod": "DELETE", +"id": "aiplatform.persistentResources.operations.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be deleted.", +"location": "path", +"pattern": "^persistentResources/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", +"flatPath": "v1/persistentResources/{persistentResourcesId}/operations/{operationsId}", +"httpMethod": "GET", +"id": "aiplatform.persistentResources.operations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource.", +"location": "path", +"pattern": "^persistentResources/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.", +"flatPath": "v1/persistentResources/{persistentResourcesId}/operations", +"httpMethod": "GET", +"id": "aiplatform.persistentResources.operations.list", +"parameterOrder": [ +"name" +], +"parameters": { +"filter": { +"description": "The standard list filter.", +"location": "query", +"type": "string" +}, +"name": { +"description": "The name of the operation's parent resource.", +"location": "path", +"pattern": "^persistentResources/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The standard list page size.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The standard list page token.", +"location": "query", +"type": "string" +}, +"returnPartialSuccess": { +"description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `\"projects/example/locations/-\"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1/{+name}/operations", +"response": { +"$ref": "GoogleLongrunningListOperationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"wait": { +"description": "Waits until the specified long-running operation is done or reaches at most a specified timeout, returning the latest state. If the operation is already done, the latest state is immediately returned. If the timeout specified is greater than the default HTTP/RPC timeout, the HTTP/RPC timeout is used. If the server does not support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Note that this method is on a best-effort basis. It may return the latest state before the specified timeout (including immediately), meaning even an immediate response is no guarantee that the operation is done.", +"flatPath": "v1/persistentResources/{persistentResourcesId}/operations/{operationsId}:wait", +"httpMethod": "POST", +"id": "aiplatform.persistentResources.operations.wait", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to wait on.", +"location": "path", +"pattern": "^persistentResources/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +}, +"timeout": { +"description": "The maximum duration to wait before timing out. If left blank, the wait will be at most the time permitted by the underlying HTTP/RPC protocol. If RPC context deadline is also specified, the shorter one will be used.", +"format": "google-duration", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}:wait", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +}, +"pipelineJobs": { +"resources": { +"operations": { +"methods": { +"cancel": { +"description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.", +"flatPath": "v1/pipelineJobs/{pipelineJobsId}/operations/{operationsId}:cancel", +"httpMethod": "POST", +"id": "aiplatform.pipelineJobs.operations.cancel", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be cancelled.", +"location": "path", +"pattern": "^pipelineJobs/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:cancel", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.", +"flatPath": "v1/pipelineJobs/{pipelineJobsId}/operations/{operationsId}", +"httpMethod": "DELETE", +"id": "aiplatform.pipelineJobs.operations.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be deleted.", +"location": "path", +"pattern": "^pipelineJobs/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", +"flatPath": "v1/pipelineJobs/{pipelineJobsId}/operations/{operationsId}", +"httpMethod": "GET", +"id": "aiplatform.pipelineJobs.operations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource.", +"location": "path", +"pattern": "^pipelineJobs/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.", +"flatPath": "v1/pipelineJobs/{pipelineJobsId}/operations", +"httpMethod": "GET", +"id": "aiplatform.pipelineJobs.operations.list", +"parameterOrder": [ +"name" +], +"parameters": { +"filter": { +"description": "The standard list filter.", +"location": "query", +"type": "string" +}, +"name": { +"description": "The name of the operation's parent resource.", +"location": "path", +"pattern": "^pipelineJobs/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The standard list page size.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The standard list page token.", +"location": "query", +"type": "string" +}, +"returnPartialSuccess": { +"description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `\"projects/example/locations/-\"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1/{+name}/operations", +"response": { +"$ref": "GoogleLongrunningListOperationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"wait": { +"description": "Waits until the specified long-running operation is done or reaches at most a specified timeout, returning the latest state. If the operation is already done, the latest state is immediately returned. If the timeout specified is greater than the default HTTP/RPC timeout, the HTTP/RPC timeout is used. If the server does not support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Note that this method is on a best-effort basis. It may return the latest state before the specified timeout (including immediately), meaning even an immediate response is no guarantee that the operation is done.", +"flatPath": "v1/pipelineJobs/{pipelineJobsId}/operations/{operationsId}:wait", +"httpMethod": "POST", +"id": "aiplatform.pipelineJobs.operations.wait", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to wait on.", +"location": "path", +"pattern": "^pipelineJobs/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +}, +"timeout": { +"description": "The maximum duration to wait before timing out. If left blank, the wait will be at most the time permitted by the underlying HTTP/RPC protocol. If RPC context deadline is also specified, the shorter one will be used.", +"format": "google-duration", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}:wait", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +}, +"projects": { +"methods": { +"getCacheConfig": { +"description": "Gets a GenAI cache config.", +"flatPath": "v1/projects/{projectsId}/cacheConfig", +"httpMethod": "GET", +"id": "aiplatform.projects.getCacheConfig", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of the cache config. Format: - `projects/{project}/cacheConfig`.", +"location": "path", +"pattern": "^projects/[^/]+/cacheConfig$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleCloudAiplatformV1CacheConfig" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"updateCacheConfig": { +"description": "Updates a cache config.", +"flatPath": "v1/projects/{projectsId}/cacheConfig", +"httpMethod": "PATCH", +"id": "aiplatform.projects.updateCacheConfig", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Identifier. Name of the cache config. Format: - `projects/{project}/cacheConfig`.", +"location": "path", +"pattern": "^projects/[^/]+/cacheConfig$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "GoogleCloudAiplatformV1CacheConfig" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"locations": { +"methods": { +"augmentPrompt": { +"description": "Given an input prompt, it returns augmented prompt from vertex rag store to guide LLM towards generating grounded responses.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}:augmentPrompt", +"httpMethod": "POST", +"id": "aiplatform.projects.locations.augmentPrompt", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The resource name of the Location from which to augment prompt. The users must have permission to make a call in the project. Format: `projects/{project}/locations/{location}`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}:augmentPrompt", +"request": { +"$ref": "GoogleCloudAiplatformV1AugmentPromptRequest" +}, +"response": { +"$ref": "GoogleCloudAiplatformV1AugmentPromptResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"corroborateContent": { +"description": "Given an input text, it returns a score that evaluates the factuality of the text. It also extracts and returns claims from the text and provides supporting facts.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}:corroborateContent", +"httpMethod": "POST", +"id": "aiplatform.projects.locations.corroborateContent", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The resource name of the Location from which to corroborate text. The users must have permission to make a call in the project. Format: `projects/{project}/locations/{location}`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}:corroborateContent", +"request": { +"$ref": "GoogleCloudAiplatformV1CorroborateContentRequest" +}, +"response": { +"$ref": "GoogleCloudAiplatformV1CorroborateContentResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"deploy": { +"description": "Deploys a model to a new endpoint.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}:deploy", +"httpMethod": "POST", +"id": "aiplatform.projects.locations.deploy", +"parameterOrder": [ +"destination" +], +"parameters": { +"destination": { +"description": "Required. The resource name of the Location to deploy the model in. Format: `projects/{project}/locations/{location}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+destination}:deploy", +"request": { +"$ref": "GoogleCloudAiplatformV1DeployRequest" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"evaluateDataset": { +"description": "Evaluates a dataset based on a set of given metrics.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}:evaluateDataset", +"httpMethod": "POST", +"id": "aiplatform.projects.locations.evaluateDataset", +"parameterOrder": [ +"location" +], +"parameters": { +"location": { +"description": "Required. The resource name of the Location to evaluate the dataset. Format: `projects/{project}/locations/{location}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+location}:evaluateDataset", +"request": { +"$ref": "GoogleCloudAiplatformV1EvaluateDatasetRequest" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"evaluateInstances": { +"description": "Evaluates instances based on a given metric.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}:evaluateInstances", +"httpMethod": "POST", +"id": "aiplatform.projects.locations.evaluateInstances", +"parameterOrder": [ +"location" +], +"parameters": { +"location": { +"description": "Required. The resource name of the Location to evaluate the instances. Format: `projects/{project}/locations/{location}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+location}:evaluateInstances", +"request": { +"$ref": "GoogleCloudAiplatformV1EvaluateInstancesRequest" +}, +"response": { +"$ref": "GoogleCloudAiplatformV1EvaluateInstancesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"generateInstanceRubrics": { +"description": "Generates rubrics for a given prompt. A rubric represents a single testable criterion for evaluation. One input prompt could have multiple rubrics This RPC allows users to get suggested rubrics based on provided prompt, which can then be reviewed and used for subsequent evaluations.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}:generateInstanceRubrics", +"httpMethod": "POST", +"id": "aiplatform.projects.locations.generateInstanceRubrics", +"parameterOrder": [ +"location" +], +"parameters": { +"location": { +"description": "Required. The resource name of the Location to generate rubrics from. Format: `projects/{project}/locations/{location}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+location}:generateInstanceRubrics", +"request": { +"$ref": "GoogleCloudAiplatformV1GenerateInstanceRubricsRequest" +}, +"response": { +"$ref": "GoogleCloudAiplatformV1GenerateInstanceRubricsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"generateSyntheticData": { +"description": "Generates synthetic data based on the provided configuration.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}:generateSyntheticData", +"httpMethod": "POST", +"id": "aiplatform.projects.locations.generateSyntheticData", +"parameterOrder": [ +"location" +], +"parameters": { +"location": { +"description": "Required. The resource name of the Location to run the job. Format: `projects/{project}/locations/{location}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+location}:generateSyntheticData", +"request": { +"$ref": "GoogleCloudAiplatformV1GenerateSyntheticDataRequest" +}, +"response": { +"$ref": "GoogleCloudAiplatformV1GenerateSyntheticDataResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets information about a location.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}", +"httpMethod": "GET", +"id": "aiplatform.projects.locations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Resource name for the location.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleCloudLocationLocation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"getRagEngineConfig": { +"description": "Gets a RagEngineConfig.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/ragEngineConfig", +"httpMethod": "GET", +"id": "aiplatform.projects.locations.getRagEngineConfig", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the RagEngineConfig resource. Format: `projects/{project}/locations/{location}/ragEngineConfig`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/ragEngineConfig$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleCloudAiplatformV1RagEngineConfig" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists information about the supported locations for this service. This method can be called in two ways: * **List all public locations:** Use the path `GET /v1/locations`. * **List project-visible locations:** Use the path `GET /v1/projects/{project_id}/locations`. This may include public locations as well as private or other locations specifically visible to the project.", +"flatPath": "v1/projects/{projectsId}/locations", +"httpMethod": "GET", +"id": "aiplatform.projects.locations.list", +"parameterOrder": [ +"name" +], +"parameters": { +"extraLocationTypes": { +"description": "Optional. Do not use this field. It is unsupported and is ignored unless explicitly documented otherwise. This is primarily for internal usage.", +"location": "query", +"repeated": true, +"type": "string" +}, +"filter": { +"description": "A filter to narrow down results to a preferred subset. The filtering language accepts strings like `\"displayName=tokyo\"`, and is documented in more detail in [AIP-160](https://google.aip.dev/160).", +"location": "query", +"type": "string" +}, +"name": { +"description": "The resource that owns the locations collection, if applicable.", +"location": "path", +"pattern": "^projects/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The maximum number of results to return. If not set, the service selects a default.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A page token received from the `next_page_token` field in the response. Send that page token to receive the subsequent page.", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}/locations", +"response": { +"$ref": "GoogleCloudLocationListLocationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"retrieveContexts": { +"description": "Retrieves relevant contexts for a query.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}:retrieveContexts", +"httpMethod": "POST", +"id": "aiplatform.projects.locations.retrieveContexts", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The resource name of the Location from which to retrieve RagContexts. The users must have permission to make a call in the project. Format: `projects/{project}/locations/{location}`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}:retrieveContexts", +"request": { +"$ref": "GoogleCloudAiplatformV1RetrieveContextsRequest" +}, +"response": { +"$ref": "GoogleCloudAiplatformV1RetrieveContextsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"updateRagEngineConfig": { +"description": "Updates a RagEngineConfig.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/ragEngineConfig", +"httpMethod": "PATCH", +"id": "aiplatform.projects.locations.updateRagEngineConfig", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Identifier. The name of the RagEngineConfig. Format: `projects/{project}/locations/{location}/ragEngineConfig`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/ragEngineConfig$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "GoogleCloudAiplatformV1RagEngineConfig" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"batchPredictionJobs": { +"methods": { +"cancel": { +"description": "Cancels a BatchPredictionJob. Starts asynchronous cancellation on the BatchPredictionJob. The server makes the best effort to cancel the job, but success is not guaranteed. Clients can use JobService.GetBatchPredictionJob or other methods to check whether the cancellation succeeded or whether the job completed despite cancellation. On a successful cancellation, the BatchPredictionJob is not deleted;instead its BatchPredictionJob.state is set to `CANCELLED`. Any files already outputted by the job are not deleted.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/batchPredictionJobs/{batchPredictionJobsId}:cancel", +"httpMethod": "POST", +"id": "aiplatform.projects.locations.batchPredictionJobs.cancel", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the BatchPredictionJob to cancel. Format: `projects/{project}/locations/{location}/batchPredictionJobs/{batch_prediction_job}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/batchPredictionJobs/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:cancel", +"request": { +"$ref": "GoogleCloudAiplatformV1CancelBatchPredictionJobRequest" +}, +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"create": { +"description": "Creates a BatchPredictionJob. A BatchPredictionJob once created will right away be attempted to start.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/batchPredictionJobs", +"httpMethod": "POST", +"id": "aiplatform.projects.locations.batchPredictionJobs.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The resource name of the Location to create the BatchPredictionJob in. Format: `projects/{project}/locations/{location}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/batchPredictionJobs", +"request": { +"$ref": "GoogleCloudAiplatformV1BatchPredictionJob" +}, +"response": { +"$ref": "GoogleCloudAiplatformV1BatchPredictionJob" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a BatchPredictionJob. Can only be called on jobs that already finished.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/batchPredictionJobs/{batchPredictionJobsId}", +"httpMethod": "DELETE", +"id": "aiplatform.projects.locations.batchPredictionJobs.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the BatchPredictionJob resource to be deleted. Format: `projects/{project}/locations/{location}/batchPredictionJobs/{batch_prediction_job}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/batchPredictionJobs/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets a BatchPredictionJob", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/batchPredictionJobs/{batchPredictionJobsId}", +"httpMethod": "GET", +"id": "aiplatform.projects.locations.batchPredictionJobs.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the BatchPredictionJob resource. Format: `projects/{project}/locations/{location}/batchPredictionJobs/{batch_prediction_job}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/batchPredictionJobs/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleCloudAiplatformV1BatchPredictionJob" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists BatchPredictionJobs in a Location.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/batchPredictionJobs", +"httpMethod": "GET", +"id": "aiplatform.projects.locations.batchPredictionJobs.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "The standard list filter. Supported fields: * `display_name` supports `=`, `!=` comparisons, and `:` wildcard. * `model_display_name` supports `=`, `!=` comparisons. * `state` supports `=`, `!=` comparisons. * `create_time` supports `=`, `!=`,`<`, `<=`,`>`, `>=` comparisons. `create_time` must be in RFC 3339 format. * `labels` supports general map functions that is: `labels.key=value` - key:value equality `labels.key:* - key existence Some examples of using the filter are: * `state=\"JOB_STATE_SUCCEEDED\" AND display_name:\"my_job_*\"` * `state!=\"JOB_STATE_FAILED\" OR display_name=\"my_job\"` * `NOT display_name=\"my_job\"` * `create_time>\"2021-05-18T00:00:00Z\"` * `labels.keyA=valueA` * `labels.keyB:*`", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "The standard list page size.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The standard list page token. Typically obtained via ListBatchPredictionJobsResponse.next_page_token of the previous JobService.ListBatchPredictionJobs call.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The resource name of the Location to list the BatchPredictionJobs from. Format: `projects/{project}/locations/{location}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +}, +"readMask": { +"description": "Mask specifying which fields to read.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+parent}/batchPredictionJobs", +"response": { +"$ref": "GoogleCloudAiplatformV1ListBatchPredictionJobsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"cachedContents": { +"methods": { +"create": { +"description": "Creates cached content, this call will initialize the cached content in the data storage, and users need to pay for the cache data storage.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/cachedContents", +"httpMethod": "POST", +"id": "aiplatform.projects.locations.cachedContents.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The parent resource where the cached content will be created", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/cachedContents", +"request": { +"$ref": "GoogleCloudAiplatformV1CachedContent" +}, +"response": { +"$ref": "GoogleCloudAiplatformV1CachedContent" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes cached content", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/cachedContents/{cachedContentsId}", +"httpMethod": "DELETE", +"id": "aiplatform.projects.locations.cachedContents.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name referring to the cached content", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/cachedContents/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets cached content configurations", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/cachedContents/{cachedContentsId}", +"httpMethod": "GET", +"id": "aiplatform.projects.locations.cachedContents.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name referring to the cached content", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/cachedContents/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleCloudAiplatformV1CachedContent" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists cached contents in a project", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/cachedContents", +"httpMethod": "GET", +"id": "aiplatform.projects.locations.cachedContents.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "Optional. The maximum number of cached contents to return. The service may return fewer than this value. If unspecified, some default (under maximum) number of items will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. A page token, received from a previous `ListCachedContents` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListCachedContents` must match the call that provided the page token.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent, which owns this collection of cached contents.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/cachedContents", +"response": { +"$ref": "GoogleCloudAiplatformV1ListCachedContentsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates cached content configurations", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/cachedContents/{cachedContentsId}", +"httpMethod": "PATCH", +"id": "aiplatform.projects.locations.cachedContents.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Immutable. Identifier. The server-generated resource name of the cached content Format: projects/{project}/locations/{location}/cachedContents/{cached_content}", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/cachedContents/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Required. The list of fields to update.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "GoogleCloudAiplatformV1CachedContent" +}, +"response": { +"$ref": "GoogleCloudAiplatformV1CachedContent" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"customJobs": { +"methods": { +"cancel": { +"description": "Cancels a CustomJob. Starts asynchronous cancellation on the CustomJob. The server makes a best effort to cancel the job, but success is not guaranteed. Clients can use JobService.GetCustomJob or other methods to check whether the cancellation succeeded or whether the job completed despite cancellation. On successful cancellation, the CustomJob is not deleted; instead it becomes a job with a CustomJob.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`, and CustomJob.state is set to `CANCELLED`.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/customJobs/{customJobsId}:cancel", +"httpMethod": "POST", +"id": "aiplatform.projects.locations.customJobs.cancel", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the CustomJob to cancel. Format: `projects/{project}/locations/{location}/customJobs/{custom_job}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/customJobs/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:cancel", +"request": { +"$ref": "GoogleCloudAiplatformV1CancelCustomJobRequest" +}, +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"create": { +"description": "Creates a CustomJob. A created CustomJob right away will be attempted to be run.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/customJobs", +"httpMethod": "POST", +"id": "aiplatform.projects.locations.customJobs.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The resource name of the Location to create the CustomJob in. Format: `projects/{project}/locations/{location}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/customJobs", +"request": { +"$ref": "GoogleCloudAiplatformV1CustomJob" +}, +"response": { +"$ref": "GoogleCloudAiplatformV1CustomJob" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a CustomJob.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/customJobs/{customJobsId}", +"httpMethod": "DELETE", +"id": "aiplatform.projects.locations.customJobs.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the CustomJob resource to be deleted. Format: `projects/{project}/locations/{location}/customJobs/{custom_job}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/customJobs/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets a CustomJob.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/customJobs/{customJobsId}", +"httpMethod": "GET", +"id": "aiplatform.projects.locations.customJobs.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the CustomJob resource. Format: `projects/{project}/locations/{location}/customJobs/{custom_job}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/customJobs/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleCloudAiplatformV1CustomJob" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists CustomJobs in a Location.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/customJobs", +"httpMethod": "GET", +"id": "aiplatform.projects.locations.customJobs.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "The standard list filter. Supported fields: * `display_name` supports `=`, `!=` comparisons, and `:` wildcard. * `state` supports `=`, `!=` comparisons. * `create_time` supports `=`, `!=`,`<`, `<=`,`>`, `>=` comparisons. `create_time` must be in RFC 3339 format. * `labels` supports general map functions that is: `labels.key=value` - key:value equality `labels.key:* - key existence Some examples of using the filter are: * `state=\"JOB_STATE_SUCCEEDED\" AND display_name:\"my_job_*\"` * `state!=\"JOB_STATE_FAILED\" OR display_name=\"my_job\"` * `NOT display_name=\"my_job\"` * `create_time>\"2021-05-18T00:00:00Z\"` * `labels.keyA=valueA` * `labels.keyB:*`", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "The standard list page size.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The standard list page token. Typically obtained via ListCustomJobsResponse.next_page_token of the previous JobService.ListCustomJobs call.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The resource name of the Location to list the CustomJobs from. Format: `projects/{project}/locations/{location}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +}, +"readMask": { +"description": "Mask specifying which fields to read.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+parent}/customJobs", +"response": { +"$ref": "GoogleCloudAiplatformV1ListCustomJobsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"operations": { +"methods": { +"cancel": { +"description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/customJobs/{customJobsId}/operations/{operationsId}:cancel", +"httpMethod": "POST", +"id": "aiplatform.projects.locations.customJobs.operations.cancel", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be cancelled.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/customJobs/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:cancel", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/customJobs/{customJobsId}/operations/{operationsId}", +"httpMethod": "DELETE", +"id": "aiplatform.projects.locations.customJobs.operations.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be deleted.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/customJobs/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/customJobs/{customJobsId}/operations/{operationsId}", +"httpMethod": "GET", +"id": "aiplatform.projects.locations.customJobs.operations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/customJobs/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/customJobs/{customJobsId}/operations", +"httpMethod": "GET", +"id": "aiplatform.projects.locations.customJobs.operations.list", +"parameterOrder": [ +"name" +], +"parameters": { +"filter": { +"description": "The standard list filter.", +"location": "query", +"type": "string" +}, +"name": { +"description": "The name of the operation's parent resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/customJobs/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The standard list page size.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The standard list page token.", +"location": "query", +"type": "string" +}, +"returnPartialSuccess": { +"description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `\"projects/example/locations/-\"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1/{+name}/operations", +"response": { +"$ref": "GoogleLongrunningListOperationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"wait": { +"description": "Waits until the specified long-running operation is done or reaches at most a specified timeout, returning the latest state. If the operation is already done, the latest state is immediately returned. If the timeout specified is greater than the default HTTP/RPC timeout, the HTTP/RPC timeout is used. If the server does not support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Note that this method is on a best-effort basis. It may return the latest state before the specified timeout (including immediately), meaning even an immediate response is no guarantee that the operation is done.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/customJobs/{customJobsId}/operations/{operationsId}:wait", +"httpMethod": "POST", +"id": "aiplatform.projects.locations.customJobs.operations.wait", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to wait on.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/customJobs/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +}, +"timeout": { +"description": "The maximum duration to wait before timing out. If left blank, the wait will be at most the time permitted by the underlying HTTP/RPC protocol. If RPC context deadline is also specified, the shorter one will be used.", +"format": "google-duration", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}:wait", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +}, +"dataLabelingJobs": { +"methods": { +"cancel": { +"description": "Cancels a DataLabelingJob. Success of cancellation is not guaranteed.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/dataLabelingJobs/{dataLabelingJobsId}:cancel", +"httpMethod": "POST", +"id": "aiplatform.projects.locations.dataLabelingJobs.cancel", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the DataLabelingJob. Format: `projects/{project}/locations/{location}/dataLabelingJobs/{data_labeling_job}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/dataLabelingJobs/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:cancel", +"request": { +"$ref": "GoogleCloudAiplatformV1CancelDataLabelingJobRequest" +}, +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"create": { +"description": "Creates a DataLabelingJob.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/dataLabelingJobs", +"httpMethod": "POST", +"id": "aiplatform.projects.locations.dataLabelingJobs.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The parent of the DataLabelingJob. Format: `projects/{project}/locations/{location}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/dataLabelingJobs", +"request": { +"$ref": "GoogleCloudAiplatformV1DataLabelingJob" +}, +"response": { +"$ref": "GoogleCloudAiplatformV1DataLabelingJob" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a DataLabelingJob.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/dataLabelingJobs/{dataLabelingJobsId}", +"httpMethod": "DELETE", +"id": "aiplatform.projects.locations.dataLabelingJobs.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the DataLabelingJob to be deleted. Format: `projects/{project}/locations/{location}/dataLabelingJobs/{data_labeling_job}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/dataLabelingJobs/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets a DataLabelingJob.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/dataLabelingJobs/{dataLabelingJobsId}", +"httpMethod": "GET", +"id": "aiplatform.projects.locations.dataLabelingJobs.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the DataLabelingJob. Format: `projects/{project}/locations/{location}/dataLabelingJobs/{data_labeling_job}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/dataLabelingJobs/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleCloudAiplatformV1DataLabelingJob" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists DataLabelingJobs in a Location.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/dataLabelingJobs", +"httpMethod": "GET", +"id": "aiplatform.projects.locations.dataLabelingJobs.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "The standard list filter. Supported fields: * `display_name` supports `=`, `!=` comparisons, and `:` wildcard. * `state` supports `=`, `!=` comparisons. * `create_time` supports `=`, `!=`,`<`, `<=`,`>`, `>=` comparisons. `create_time` must be in RFC 3339 format. * `labels` supports general map functions that is: `labels.key=value` - key:value equality `labels.key:* - key existence Some examples of using the filter are: * `state=\"JOB_STATE_SUCCEEDED\" AND display_name:\"my_job_*\"` * `state!=\"JOB_STATE_FAILED\" OR display_name=\"my_job\"` * `NOT display_name=\"my_job\"` * `create_time>\"2021-05-18T00:00:00Z\"` * `labels.keyA=valueA` * `labels.keyB:*`", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "A comma-separated list of fields to order by, sorted in ascending order by default. Use `desc` after a field name for descending.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "The standard list page size.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The standard list page token.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent of the DataLabelingJob. Format: `projects/{project}/locations/{location}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +}, +"readMask": { +"description": "Mask specifying which fields to read. FieldMask represents a set of symbolic field paths. For example, the mask can be `paths: \"name\"`. The \"name\" here is a field in DataLabelingJob. If this field is not set, all fields of the DataLabelingJob are returned.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+parent}/dataLabelingJobs", +"response": { +"$ref": "GoogleCloudAiplatformV1ListDataLabelingJobsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"operations": { +"methods": { +"cancel": { +"description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/dataLabelingJobs/{dataLabelingJobsId}/operations/{operationsId}:cancel", +"httpMethod": "POST", +"id": "aiplatform.projects.locations.dataLabelingJobs.operations.cancel", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be cancelled.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/dataLabelingJobs/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:cancel", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/dataLabelingJobs/{dataLabelingJobsId}/operations/{operationsId}", +"httpMethod": "DELETE", +"id": "aiplatform.projects.locations.dataLabelingJobs.operations.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be deleted.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/dataLabelingJobs/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/dataLabelingJobs/{dataLabelingJobsId}/operations/{operationsId}", +"httpMethod": "GET", +"id": "aiplatform.projects.locations.dataLabelingJobs.operations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/dataLabelingJobs/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/dataLabelingJobs/{dataLabelingJobsId}/operations", +"httpMethod": "GET", +"id": "aiplatform.projects.locations.dataLabelingJobs.operations.list", +"parameterOrder": [ +"name" +], +"parameters": { +"filter": { +"description": "The standard list filter.", +"location": "query", +"type": "string" +}, +"name": { +"description": "The name of the operation's parent resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/dataLabelingJobs/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The standard list page size.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The standard list page token.", +"location": "query", +"type": "string" +}, +"returnPartialSuccess": { +"description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `\"projects/example/locations/-\"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1/{+name}/operations", +"response": { +"$ref": "GoogleLongrunningListOperationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"wait": { +"description": "Waits until the specified long-running operation is done or reaches at most a specified timeout, returning the latest state. If the operation is already done, the latest state is immediately returned. If the timeout specified is greater than the default HTTP/RPC timeout, the HTTP/RPC timeout is used. If the server does not support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Note that this method is on a best-effort basis. It may return the latest state before the specified timeout (including immediately), meaning even an immediate response is no guarantee that the operation is done.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/dataLabelingJobs/{dataLabelingJobsId}/operations/{operationsId}:wait", +"httpMethod": "POST", +"id": "aiplatform.projects.locations.dataLabelingJobs.operations.wait", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to wait on.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/dataLabelingJobs/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +}, +"timeout": { +"description": "The maximum duration to wait before timing out. If left blank, the wait will be at most the time permitted by the underlying HTTP/RPC protocol. If RPC context deadline is also specified, the shorter one will be used.", +"format": "google-duration", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}:wait", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +}, +"datasets": { +"methods": { +"create": { +"description": "Creates a Dataset.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/datasets", +"httpMethod": "POST", +"id": "aiplatform.projects.locations.datasets.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The resource name of the Location to create the Dataset in. Format: `projects/{project}/locations/{location}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/datasets", +"request": { +"$ref": "GoogleCloudAiplatformV1Dataset" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a Dataset.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}", +"httpMethod": "DELETE", +"id": "aiplatform.projects.locations.datasets.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the Dataset to delete. Format: `projects/{project}/locations/{location}/datasets/{dataset}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"export": { +"description": "Exports data from a Dataset.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}:export", +"httpMethod": "POST", +"id": "aiplatform.projects.locations.datasets.export", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the Dataset resource. Format: `projects/{project}/locations/{location}/datasets/{dataset}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:export", +"request": { +"$ref": "GoogleCloudAiplatformV1ExportDataRequest" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets a Dataset.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}", +"httpMethod": "GET", +"id": "aiplatform.projects.locations.datasets.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the Dataset resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+$", +"required": true, +"type": "string" +}, +"readMask": { +"description": "Mask specifying which fields to read.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleCloudAiplatformV1Dataset" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"getIamPolicy": { +"description": "Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}:getIamPolicy", +"httpMethod": "POST", +"id": "aiplatform.projects.locations.datasets.getIamPolicy", +"parameterOrder": [ +"resource" +], +"parameters": { +"options.requestedPolicyVersion": { +"description": "Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).", +"format": "int32", +"location": "query", +"type": "integer" +}, +"resource": { +"description": "REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+resource}:getIamPolicy", +"response": { +"$ref": "GoogleIamV1Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"import": { +"description": "Imports data into a Dataset.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}:import", +"httpMethod": "POST", +"id": "aiplatform.projects.locations.datasets.import", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the Dataset resource. Format: `projects/{project}/locations/{location}/datasets/{dataset}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:import", +"request": { +"$ref": "GoogleCloudAiplatformV1ImportDataRequest" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists Datasets in a Location.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/datasets", +"httpMethod": "GET", +"id": "aiplatform.projects.locations.datasets.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "An expression for filtering the results of the request. For field names both snake_case and camelCase are supported. * `display_name`: supports = and != * `metadata_schema_uri`: supports = and != * `labels` supports general map functions that is: * `labels.key=value` - key:value equality * `labels.key:* or labels:key - key existence * A key including a space must be quoted. `labels.\"a key\"`. Some examples: * `displayName=\"myDisplayName\"` * `labels.myKey=\"myValue\"`", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "A comma-separated list of fields to order by, sorted in ascending order. Use \"desc\" after a field name for descending. Supported fields: * `display_name` * `create_time` * `update_time`", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "The standard list page size.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The standard list page token.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The name of the Dataset's parent resource. Format: `projects/{project}/locations/{location}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +}, +"readMask": { +"description": "Mask specifying which fields to read.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+parent}/datasets", +"response": { +"$ref": "GoogleCloudAiplatformV1ListDatasetsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates a Dataset.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}", +"httpMethod": "PATCH", +"id": "aiplatform.projects.locations.datasets.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Output only. Identifier. The resource name of the Dataset. Format: `projects/{project}/locations/{location}/datasets/{dataset}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Required. The update mask applies to the resource. For the `FieldMask` definition, see google.protobuf.FieldMask. Updatable fields: * `display_name` * `description` * `labels`", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "GoogleCloudAiplatformV1Dataset" +}, +"response": { +"$ref": "GoogleCloudAiplatformV1Dataset" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"searchDataItems": { +"description": "Searches DataItems in a Dataset.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}:searchDataItems", +"httpMethod": "GET", +"id": "aiplatform.projects.locations.datasets.searchDataItems", +"parameterOrder": [ +"dataset" +], +"parameters": { +"annotationFilters": { +"description": "An expression that specifies what Annotations will be returned per DataItem. Annotations satisfied either of the conditions will be returned. * `annotation_spec_id` - for = or !=. Must specify `saved_query_id=` - saved query id that annotations should belong to.", +"location": "query", +"repeated": true, +"type": "string" +}, +"annotationsFilter": { +"deprecated": true, +"description": "An expression for filtering the Annotations that will be returned per DataItem. * `annotation_spec_id` - for = or !=.", +"location": "query", +"type": "string" +}, +"annotationsLimit": { +"description": "If set, only up to this many of Annotations will be returned per DataItemView. The maximum value is 1000. If not set, the maximum value will be used.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"dataItemFilter": { +"description": "An expression for filtering the DataItem that will be returned. * `data_item_id` - for = or !=. * `labeled` - for = or !=. * `has_annotation(ANNOTATION_SPEC_ID)` - true only for DataItem that have at least one annotation with annotation_spec_id = `ANNOTATION_SPEC_ID` in the context of SavedQuery or DataLabelingJob. For example: * `data_item=1` * `has_annotation(5)`", +"location": "query", +"type": "string" +}, +"dataLabelingJob": { +"description": "The resource name of a DataLabelingJob. Format: `projects/{project}/locations/{location}/dataLabelingJobs/{data_labeling_job}` If this field is set, all of the search will be done in the context of this DataLabelingJob.", +"location": "query", +"type": "string" +}, +"dataset": { +"description": "Required. The resource name of the Dataset from which to search DataItems. Format: `projects/{project}/locations/{location}/datasets/{dataset}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+$", +"required": true, +"type": "string" +}, +"fieldMask": { +"description": "Mask specifying which fields of DataItemView to read.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +}, +"orderBy": { +"deprecated": true, +"description": "A comma-separated list of fields to order by, sorted in ascending order. Use \"desc\" after a field name for descending.", +"location": "query", +"type": "string" +}, +"orderByAnnotation.orderBy": { +"description": "A comma-separated list of annotation fields to order by, sorted in ascending order. Use \"desc\" after a field name for descending. Must also specify saved_query.", +"location": "query", +"type": "string" +}, +"orderByAnnotation.savedQuery": { +"description": "Required. Saved query of the Annotation. Only Annotations belong to this saved query will be considered for ordering.", +"location": "query", +"type": "string" +}, +"orderByDataItem": { +"description": "A comma-separated list of data item fields to order by, sorted in ascending order. Use \"desc\" after a field name for descending.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Requested page size. Server may return fewer results than requested. Default and maximum page size is 100.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A token identifying a page of results for the server to return Typically obtained via SearchDataItemsResponse.next_page_token of the previous DatasetService.SearchDataItems call.", +"location": "query", +"type": "string" +}, +"savedQuery": { +"deprecated": true, +"description": "The resource name of a SavedQuery(annotation set in UI). Format: `projects/{project}/locations/{location}/datasets/{dataset}/savedQueries/{saved_query}` All of the search will be done in the context of this SavedQuery.", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+dataset}:searchDataItems", +"response": { +"$ref": "GoogleCloudAiplatformV1SearchDataItemsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"setIamPolicy": { +"description": "Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}:setIamPolicy", +"httpMethod": "POST", +"id": "aiplatform.projects.locations.datasets.setIamPolicy", +"parameterOrder": [ +"resource" +], +"parameters": { +"resource": { +"description": "REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+resource}:setIamPolicy", +"request": { +"$ref": "GoogleIamV1SetIamPolicyRequest" +}, +"response": { +"$ref": "GoogleIamV1Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"testIamPermissions": { +"description": "Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may \"fail open\" without warning.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}:testIamPermissions", +"httpMethod": "POST", +"id": "aiplatform.projects.locations.datasets.testIamPermissions", +"parameterOrder": [ +"resource" +], +"parameters": { +"permissions": { +"description": "The set of permissions to check for the `resource`. Permissions with wildcards (such as `*` or `storage.*`) are not allowed. For more information see [IAM Overview](https://cloud.google.com/iam/docs/overview#permissions).", +"location": "query", +"repeated": true, +"type": "string" +}, +"resource": { +"description": "REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+resource}:testIamPermissions", +"response": { +"$ref": "GoogleIamV1TestIamPermissionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"annotationSpecs": { +"methods": { +"get": { +"description": "Gets an AnnotationSpec.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/annotationSpecs/{annotationSpecsId}", +"httpMethod": "GET", +"id": "aiplatform.projects.locations.datasets.annotationSpecs.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the AnnotationSpec resource. Format: `projects/{project}/locations/{location}/datasets/{dataset}/annotationSpecs/{annotation_spec}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/annotationSpecs/[^/]+$", +"required": true, +"type": "string" +}, +"readMask": { +"description": "Mask specifying which fields to read.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleCloudAiplatformV1AnnotationSpec" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"operations": { +"methods": { +"cancel": { +"description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/annotationSpecs/{annotationSpecsId}/operations/{operationsId}:cancel", +"httpMethod": "POST", +"id": "aiplatform.projects.locations.datasets.annotationSpecs.operations.cancel", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be cancelled.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/annotationSpecs/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:cancel", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/annotationSpecs/{annotationSpecsId}/operations/{operationsId}", +"httpMethod": "DELETE", +"id": "aiplatform.projects.locations.datasets.annotationSpecs.operations.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be deleted.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/annotationSpecs/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/annotationSpecs/{annotationSpecsId}/operations/{operationsId}", +"httpMethod": "GET", +"id": "aiplatform.projects.locations.datasets.annotationSpecs.operations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/annotationSpecs/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/annotationSpecs/{annotationSpecsId}/operations", +"httpMethod": "GET", +"id": "aiplatform.projects.locations.datasets.annotationSpecs.operations.list", +"parameterOrder": [ +"name" +], +"parameters": { +"filter": { +"description": "The standard list filter.", +"location": "query", +"type": "string" +}, +"name": { +"description": "The name of the operation's parent resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/annotationSpecs/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The standard list page size.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The standard list page token.", +"location": "query", +"type": "string" +}, +"returnPartialSuccess": { +"description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `\"projects/example/locations/-\"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1/{+name}/operations", +"response": { +"$ref": "GoogleLongrunningListOperationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"wait": { +"description": "Waits until the specified long-running operation is done or reaches at most a specified timeout, returning the latest state. If the operation is already done, the latest state is immediately returned. If the timeout specified is greater than the default HTTP/RPC timeout, the HTTP/RPC timeout is used. If the server does not support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Note that this method is on a best-effort basis. It may return the latest state before the specified timeout (including immediately), meaning even an immediate response is no guarantee that the operation is done.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/annotationSpecs/{annotationSpecsId}/operations/{operationsId}:wait", +"httpMethod": "POST", +"id": "aiplatform.projects.locations.datasets.annotationSpecs.operations.wait", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to wait on.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/annotationSpecs/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +}, +"timeout": { +"description": "The maximum duration to wait before timing out. If left blank, the wait will be at most the time permitted by the underlying HTTP/RPC protocol. If RPC context deadline is also specified, the shorter one will be used.", +"format": "google-duration", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}:wait", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +}, +"dataItems": { +"methods": { +"list": { +"description": "Lists DataItems in a Dataset.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/dataItems", +"httpMethod": "GET", +"id": "aiplatform.projects.locations.datasets.dataItems.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "The standard list filter.", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "A comma-separated list of fields to order by, sorted in ascending order. Use \"desc\" after a field name for descending.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "The standard list page size.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The standard list page token.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The resource name of the Dataset to list DataItems from. Format: `projects/{project}/locations/{location}/datasets/{dataset}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+$", +"required": true, +"type": "string" +}, +"readMask": { +"description": "Mask specifying which fields to read.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+parent}/dataItems", +"response": { +"$ref": "GoogleCloudAiplatformV1ListDataItemsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"annotations": { +"methods": { +"list": { +"description": "Lists Annotations belongs to a dataitem.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/dataItems/{dataItemsId}/annotations", +"httpMethod": "GET", +"id": "aiplatform.projects.locations.datasets.dataItems.annotations.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "The standard list filter.", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "A comma-separated list of fields to order by, sorted in ascending order. Use \"desc\" after a field name for descending.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "The standard list page size.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The standard list page token.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The resource name of the DataItem to list Annotations from. Format: `projects/{project}/locations/{location}/datasets/{dataset}/dataItems/{data_item}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/dataItems/[^/]+$", +"required": true, +"type": "string" +}, +"readMask": { +"description": "Mask specifying which fields to read.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+parent}/annotations", +"response": { +"$ref": "GoogleCloudAiplatformV1ListAnnotationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"operations": { +"methods": { +"cancel": { +"description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/dataItems/{dataItemsId}/annotations/{annotationsId}/operations/{operationsId}:cancel", +"httpMethod": "POST", +"id": "aiplatform.projects.locations.datasets.dataItems.annotations.operations.cancel", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be cancelled.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/dataItems/[^/]+/annotations/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:cancel", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/dataItems/{dataItemsId}/annotations/{annotationsId}/operations/{operationsId}", +"httpMethod": "DELETE", +"id": "aiplatform.projects.locations.datasets.dataItems.annotations.operations.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be deleted.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/dataItems/[^/]+/annotations/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/dataItems/{dataItemsId}/annotations/{annotationsId}/operations/{operationsId}", +"httpMethod": "GET", +"id": "aiplatform.projects.locations.datasets.dataItems.annotations.operations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/dataItems/[^/]+/annotations/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/dataItems/{dataItemsId}/annotations/{annotationsId}/operations", +"httpMethod": "GET", +"id": "aiplatform.projects.locations.datasets.dataItems.annotations.operations.list", +"parameterOrder": [ +"name" +], +"parameters": { +"filter": { +"description": "The standard list filter.", +"location": "query", +"type": "string" +}, +"name": { +"description": "The name of the operation's parent resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/dataItems/[^/]+/annotations/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The standard list page size.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The standard list page token.", +"location": "query", +"type": "string" +}, +"returnPartialSuccess": { +"description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `\"projects/example/locations/-\"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1/{+name}/operations", +"response": { +"$ref": "GoogleLongrunningListOperationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"wait": { +"description": "Waits until the specified long-running operation is done or reaches at most a specified timeout, returning the latest state. If the operation is already done, the latest state is immediately returned. If the timeout specified is greater than the default HTTP/RPC timeout, the HTTP/RPC timeout is used. If the server does not support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Note that this method is on a best-effort basis. It may return the latest state before the specified timeout (including immediately), meaning even an immediate response is no guarantee that the operation is done.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/dataItems/{dataItemsId}/annotations/{annotationsId}/operations/{operationsId}:wait", +"httpMethod": "POST", +"id": "aiplatform.projects.locations.datasets.dataItems.annotations.operations.wait", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to wait on.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/dataItems/[^/]+/annotations/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +}, +"timeout": { +"description": "The maximum duration to wait before timing out. If left blank, the wait will be at most the time permitted by the underlying HTTP/RPC protocol. If RPC context deadline is also specified, the shorter one will be used.", +"format": "google-duration", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}:wait", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +}, +"operations": { +"methods": { +"cancel": { +"description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/dataItems/{dataItemsId}/operations/{operationsId}:cancel", +"httpMethod": "POST", +"id": "aiplatform.projects.locations.datasets.dataItems.operations.cancel", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be cancelled.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/dataItems/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:cancel", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/dataItems/{dataItemsId}/operations/{operationsId}", +"httpMethod": "DELETE", +"id": "aiplatform.projects.locations.datasets.dataItems.operations.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be deleted.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/dataItems/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/dataItems/{dataItemsId}/operations/{operationsId}", +"httpMethod": "GET", +"id": "aiplatform.projects.locations.datasets.dataItems.operations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/dataItems/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/dataItems/{dataItemsId}/operations", +"httpMethod": "GET", +"id": "aiplatform.projects.locations.datasets.dataItems.operations.list", +"parameterOrder": [ +"name" +], +"parameters": { +"filter": { +"description": "The standard list filter.", +"location": "query", +"type": "string" +}, +"name": { +"description": "The name of the operation's parent resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/dataItems/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The standard list page size.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The standard list page token.", +"location": "query", +"type": "string" +}, +"returnPartialSuccess": { +"description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `\"projects/example/locations/-\"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1/{+name}/operations", +"response": { +"$ref": "GoogleLongrunningListOperationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"wait": { +"description": "Waits until the specified long-running operation is done or reaches at most a specified timeout, returning the latest state. If the operation is already done, the latest state is immediately returned. If the timeout specified is greater than the default HTTP/RPC timeout, the HTTP/RPC timeout is used. If the server does not support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Note that this method is on a best-effort basis. It may return the latest state before the specified timeout (including immediately), meaning even an immediate response is no guarantee that the operation is done.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/dataItems/{dataItemsId}/operations/{operationsId}:wait", +"httpMethod": "POST", +"id": "aiplatform.projects.locations.datasets.dataItems.operations.wait", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to wait on.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/dataItems/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +}, +"timeout": { +"description": "The maximum duration to wait before timing out. If left blank, the wait will be at most the time permitted by the underlying HTTP/RPC protocol. If RPC context deadline is also specified, the shorter one will be used.", +"format": "google-duration", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}:wait", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +}, +"datasetVersions": { +"methods": { +"create": { +"description": "Create a version from a Dataset.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/datasetVersions", +"httpMethod": "POST", +"id": "aiplatform.projects.locations.datasets.datasetVersions.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The name of the Dataset resource. Format: `projects/{project}/locations/{location}/datasets/{dataset}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/datasetVersions", +"request": { +"$ref": "GoogleCloudAiplatformV1DatasetVersion" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a Dataset version.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/datasetVersions/{datasetVersionsId}", +"httpMethod": "DELETE", +"id": "aiplatform.projects.locations.datasets.datasetVersions.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the Dataset version to delete. Format: `projects/{project}/locations/{location}/datasets/{dataset}/datasetVersions/{dataset_version}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/datasetVersions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets a Dataset version.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/datasetVersions/{datasetVersionsId}", +"httpMethod": "GET", +"id": "aiplatform.projects.locations.datasets.datasetVersions.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the Dataset version to delete. Format: `projects/{project}/locations/{location}/datasets/{dataset}/datasetVersions/{dataset_version}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/datasetVersions/[^/]+$", +"required": true, +"type": "string" +}, +"readMask": { +"description": "Mask specifying which fields to read.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleCloudAiplatformV1DatasetVersion" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists DatasetVersions in a Dataset.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/datasetVersions", +"httpMethod": "GET", +"id": "aiplatform.projects.locations.datasets.datasetVersions.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Optional. The standard list filter.", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "Optional. A comma-separated list of fields to order by, sorted in ascending order. Use \"desc\" after a field name for descending.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Optional. The standard list page size.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. The standard list page token.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The resource name of the Dataset to list DatasetVersions from. Format: `projects/{project}/locations/{location}/datasets/{dataset}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+$", +"required": true, +"type": "string" +}, +"readMask": { +"description": "Optional. Mask specifying which fields to read.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+parent}/datasetVersions", +"response": { +"$ref": "GoogleCloudAiplatformV1ListDatasetVersionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates a DatasetVersion.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/datasetVersions/{datasetVersionsId}", +"httpMethod": "PATCH", +"id": "aiplatform.projects.locations.datasets.datasetVersions.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Output only. Identifier. The resource name of the DatasetVersion. Format: `projects/{project}/locations/{location}/datasets/{dataset}/datasetVersions/{dataset_version}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/datasetVersions/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Required. The update mask applies to the resource. For the `FieldMask` definition, see google.protobuf.FieldMask. Updatable fields: * `display_name`", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "GoogleCloudAiplatformV1DatasetVersion" +}, +"response": { +"$ref": "GoogleCloudAiplatformV1DatasetVersion" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"restore": { +"description": "Restores a dataset version.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/datasetVersions/{datasetVersionsId}:restore", +"httpMethod": "GET", +"id": "aiplatform.projects.locations.datasets.datasetVersions.restore", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the DatasetVersion resource. Format: `projects/{project}/locations/{location}/datasets/{dataset}/datasetVersions/{dataset_version}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/datasetVersions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:restore", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"operations": { +"methods": { +"cancel": { +"description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/operations/{operationsId}:cancel", +"httpMethod": "POST", +"id": "aiplatform.projects.locations.datasets.operations.cancel", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be cancelled.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:cancel", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/operations/{operationsId}", +"httpMethod": "DELETE", +"id": "aiplatform.projects.locations.datasets.operations.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be deleted.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/operations/{operationsId}", +"httpMethod": "GET", +"id": "aiplatform.projects.locations.datasets.operations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/operations", +"httpMethod": "GET", +"id": "aiplatform.projects.locations.datasets.operations.list", +"parameterOrder": [ +"name" +], +"parameters": { +"filter": { +"description": "The standard list filter.", +"location": "query", +"type": "string" +}, +"name": { +"description": "The name of the operation's parent resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The standard list page size.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The standard list page token.", +"location": "query", +"type": "string" +}, +"returnPartialSuccess": { +"description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `\"projects/example/locations/-\"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1/{+name}/operations", +"response": { +"$ref": "GoogleLongrunningListOperationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"wait": { +"description": "Waits until the specified long-running operation is done or reaches at most a specified timeout, returning the latest state. If the operation is already done, the latest state is immediately returned. If the timeout specified is greater than the default HTTP/RPC timeout, the HTTP/RPC timeout is used. If the server does not support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Note that this method is on a best-effort basis. It may return the latest state before the specified timeout (including immediately), meaning even an immediate response is no guarantee that the operation is done.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/operations/{operationsId}:wait", +"httpMethod": "POST", +"id": "aiplatform.projects.locations.datasets.operations.wait", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to wait on.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +}, +"timeout": { +"description": "The maximum duration to wait before timing out. If left blank, the wait will be at most the time permitted by the underlying HTTP/RPC protocol. If RPC context deadline is also specified, the shorter one will be used.", +"format": "google-duration", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}:wait", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"savedQueries": { +"methods": { +"delete": { +"description": "Deletes a SavedQuery.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/savedQueries/{savedQueriesId}", +"httpMethod": "DELETE", +"id": "aiplatform.projects.locations.datasets.savedQueries.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the SavedQuery to delete. Format: `projects/{project}/locations/{location}/datasets/{dataset}/savedQueries/{saved_query}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/savedQueries/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists SavedQueries in a Dataset.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/savedQueries", +"httpMethod": "GET", +"id": "aiplatform.projects.locations.datasets.savedQueries.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "The standard list filter.", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "A comma-separated list of fields to order by, sorted in ascending order. Use \"desc\" after a field name for descending.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "The standard list page size.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The standard list page token.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The resource name of the Dataset to list SavedQueries from. Format: `projects/{project}/locations/{location}/datasets/{dataset}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+$", +"required": true, +"type": "string" +}, +"readMask": { +"description": "Mask specifying which fields to read.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+parent}/savedQueries", +"response": { +"$ref": "GoogleCloudAiplatformV1ListSavedQueriesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"operations": { +"methods": { +"cancel": { +"description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/savedQueries/{savedQueriesId}/operations/{operationsId}:cancel", +"httpMethod": "POST", +"id": "aiplatform.projects.locations.datasets.savedQueries.operations.cancel", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be cancelled.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/savedQueries/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:cancel", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/savedQueries/{savedQueriesId}/operations/{operationsId}", +"httpMethod": "DELETE", +"id": "aiplatform.projects.locations.datasets.savedQueries.operations.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be deleted.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/savedQueries/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/savedQueries/{savedQueriesId}/operations/{operationsId}", +"httpMethod": "GET", +"id": "aiplatform.projects.locations.datasets.savedQueries.operations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/savedQueries/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/savedQueries/{savedQueriesId}/operations", +"httpMethod": "GET", +"id": "aiplatform.projects.locations.datasets.savedQueries.operations.list", +"parameterOrder": [ +"name" +], +"parameters": { +"filter": { +"description": "The standard list filter.", +"location": "query", +"type": "string" +}, +"name": { +"description": "The name of the operation's parent resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/savedQueries/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The standard list page size.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The standard list page token.", +"location": "query", +"type": "string" +}, +"returnPartialSuccess": { +"description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `\"projects/example/locations/-\"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1/{+name}/operations", +"response": { +"$ref": "GoogleLongrunningListOperationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"wait": { +"description": "Waits until the specified long-running operation is done or reaches at most a specified timeout, returning the latest state. If the operation is already done, the latest state is immediately returned. If the timeout specified is greater than the default HTTP/RPC timeout, the HTTP/RPC timeout is used. If the server does not support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Note that this method is on a best-effort basis. It may return the latest state before the specified timeout (including immediately), meaning even an immediate response is no guarantee that the operation is done.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/savedQueries/{savedQueriesId}/operations/{operationsId}:wait", +"httpMethod": "POST", +"id": "aiplatform.projects.locations.datasets.savedQueries.operations.wait", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to wait on.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/savedQueries/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +}, +"timeout": { +"description": "The maximum duration to wait before timing out. If left blank, the wait will be at most the time permitted by the underlying HTTP/RPC protocol. If RPC context deadline is also specified, the shorter one will be used.", +"format": "google-duration", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}:wait", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +} +} +}, +"deploymentResourcePools": { +"methods": { +"create": { +"description": "Create a DeploymentResourcePool.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/deploymentResourcePools", +"httpMethod": "POST", +"id": "aiplatform.projects.locations.deploymentResourcePools.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The parent location resource where this DeploymentResourcePool will be created. Format: `projects/{project}/locations/{location}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/deploymentResourcePools", +"request": { +"$ref": "GoogleCloudAiplatformV1CreateDeploymentResourcePoolRequest" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Delete a DeploymentResourcePool.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/deploymentResourcePools/{deploymentResourcePoolsId}", +"httpMethod": "DELETE", +"id": "aiplatform.projects.locations.deploymentResourcePools.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the DeploymentResourcePool to delete. Format: `projects/{project}/locations/{location}/deploymentResourcePools/{deployment_resource_pool}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/deploymentResourcePools/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Get a DeploymentResourcePool.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/deploymentResourcePools/{deploymentResourcePoolsId}", +"httpMethod": "GET", +"id": "aiplatform.projects.locations.deploymentResourcePools.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the DeploymentResourcePool to retrieve. Format: `projects/{project}/locations/{location}/deploymentResourcePools/{deployment_resource_pool}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/deploymentResourcePools/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleCloudAiplatformV1DeploymentResourcePool" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "List DeploymentResourcePools in a location.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/deploymentResourcePools", +"httpMethod": "GET", +"id": "aiplatform.projects.locations.deploymentResourcePools.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "The maximum number of DeploymentResourcePools to return. The service may return fewer than this value.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A page token, received from a previous `ListDeploymentResourcePools` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListDeploymentResourcePools` must match the call that provided the page token.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent Location which owns this collection of DeploymentResourcePools. Format: `projects/{project}/locations/{location}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/deploymentResourcePools", +"response": { +"$ref": "GoogleCloudAiplatformV1ListDeploymentResourcePoolsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Update a DeploymentResourcePool.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/deploymentResourcePools/{deploymentResourcePoolsId}", +"httpMethod": "PATCH", +"id": "aiplatform.projects.locations.deploymentResourcePools.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Immutable. The resource name of the DeploymentResourcePool. Format: `projects/{project}/locations/{location}/deploymentResourcePools/{deployment_resource_pool}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/deploymentResourcePools/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Required. The list of fields to update.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "GoogleCloudAiplatformV1DeploymentResourcePool" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"queryDeployedModels": { +"description": "List DeployedModels that have been deployed on this DeploymentResourcePool.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/deploymentResourcePools/{deploymentResourcePoolsId}:queryDeployedModels", +"httpMethod": "GET", +"id": "aiplatform.projects.locations.deploymentResourcePools.queryDeployedModels", +"parameterOrder": [ +"deploymentResourcePool" +], +"parameters": { +"deploymentResourcePool": { +"description": "Required. The name of the target DeploymentResourcePool to query. Format: `projects/{project}/locations/{location}/deploymentResourcePools/{deployment_resource_pool}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/deploymentResourcePools/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The maximum number of DeployedModels to return. The service may return fewer than this value.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A page token, received from a previous `QueryDeployedModels` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `QueryDeployedModels` must match the call that provided the page token.", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+deploymentResourcePool}:queryDeployedModels", +"response": { +"$ref": "GoogleCloudAiplatformV1QueryDeployedModelsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"operations": { +"methods": { +"cancel": { +"description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/deploymentResourcePools/{deploymentResourcePoolsId}/operations/{operationsId}:cancel", +"httpMethod": "POST", +"id": "aiplatform.projects.locations.deploymentResourcePools.operations.cancel", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be cancelled.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/deploymentResourcePools/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:cancel", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/deploymentResourcePools/{deploymentResourcePoolsId}/operations/{operationsId}", +"httpMethod": "DELETE", +"id": "aiplatform.projects.locations.deploymentResourcePools.operations.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be deleted.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/deploymentResourcePools/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/deploymentResourcePools/{deploymentResourcePoolsId}/operations/{operationsId}", +"httpMethod": "GET", +"id": "aiplatform.projects.locations.deploymentResourcePools.operations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/deploymentResourcePools/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/deploymentResourcePools/{deploymentResourcePoolsId}/operations", +"httpMethod": "GET", +"id": "aiplatform.projects.locations.deploymentResourcePools.operations.list", +"parameterOrder": [ +"name" +], +"parameters": { +"filter": { +"description": "The standard list filter.", +"location": "query", +"type": "string" +}, +"name": { +"description": "The name of the operation's parent resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/deploymentResourcePools/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The standard list page size.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The standard list page token.", +"location": "query", +"type": "string" +}, +"returnPartialSuccess": { +"description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `\"projects/example/locations/-\"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1/{+name}/operations", +"response": { +"$ref": "GoogleLongrunningListOperationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"wait": { +"description": "Waits until the specified long-running operation is done or reaches at most a specified timeout, returning the latest state. If the operation is already done, the latest state is immediately returned. If the timeout specified is greater than the default HTTP/RPC timeout, the HTTP/RPC timeout is used. If the server does not support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Note that this method is on a best-effort basis. It may return the latest state before the specified timeout (including immediately), meaning even an immediate response is no guarantee that the operation is done.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/deploymentResourcePools/{deploymentResourcePoolsId}/operations/{operationsId}:wait", +"httpMethod": "POST", +"id": "aiplatform.projects.locations.deploymentResourcePools.operations.wait", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to wait on.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/deploymentResourcePools/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +}, +"timeout": { +"description": "The maximum duration to wait before timing out. If left blank, the wait will be at most the time permitted by the underlying HTTP/RPC protocol. If RPC context deadline is also specified, the shorter one will be used.", +"format": "google-duration", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}:wait", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +}, +"endpoints": { +"methods": { +"computeTokens": { +"description": "Return a list of tokens based on the input text.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/endpoints/{endpointsId}:computeTokens", +"httpMethod": "POST", +"id": "aiplatform.projects.locations.endpoints.computeTokens", +"parameterOrder": [ +"endpoint" +], +"parameters": { +"endpoint": { +"description": "Required. The name of the Endpoint requested to get lists of tokens and token ids.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/endpoints/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+endpoint}:computeTokens", +"request": { +"$ref": "GoogleCloudAiplatformV1ComputeTokensRequest" +}, +"response": { +"$ref": "GoogleCloudAiplatformV1ComputeTokensResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"countTokens": { +"description": "Perform a token counting.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/endpoints/{endpointsId}:countTokens", +"httpMethod": "POST", +"id": "aiplatform.projects.locations.endpoints.countTokens", +"parameterOrder": [ +"endpoint" +], +"parameters": { +"endpoint": { +"description": "Required. The name of the Endpoint requested to perform token counting. Format: `projects/{project}/locations/{location}/endpoints/{endpoint}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/endpoints/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+endpoint}:countTokens", +"request": { +"$ref": "GoogleCloudAiplatformV1CountTokensRequest" +}, +"response": { +"$ref": "GoogleCloudAiplatformV1CountTokensResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"create": { +"description": "Creates an Endpoint.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/endpoints", +"httpMethod": "POST", +"id": "aiplatform.projects.locations.endpoints.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"endpointId": { +"description": "Immutable. The ID to use for endpoint, which will become the final component of the endpoint resource name. If not provided, Vertex AI will generate a value for this ID. If the first character is a letter, this value may be up to 63 characters, and valid characters are `[a-z0-9-]`. The last character must be a letter or number. If the first character is a number, this value may be up to 9 characters, and valid characters are `[0-9]` with no leading zeros. When using HTTP/JSON, this field is populated based on a query string argument, such as `?endpoint_id=12345`. This is the fallback for fields that are not included in either the URI or the body.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The resource name of the Location to create the Endpoint in. Format: `projects/{project}/locations/{location}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/endpoints", +"request": { +"$ref": "GoogleCloudAiplatformV1Endpoint" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes an Endpoint.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/endpoints/{endpointsId}", +"httpMethod": "DELETE", +"id": "aiplatform.projects.locations.endpoints.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the Endpoint resource to be deleted. Format: `projects/{project}/locations/{location}/endpoints/{endpoint}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/endpoints/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"deployModel": { +"description": "Deploys a Model into this Endpoint, creating a DeployedModel within it.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/endpoints/{endpointsId}:deployModel", +"httpMethod": "POST", +"id": "aiplatform.projects.locations.endpoints.deployModel", +"parameterOrder": [ +"endpoint" +], +"parameters": { +"endpoint": { +"description": "Required. The name of the Endpoint resource into which to deploy a Model. Format: `projects/{project}/locations/{location}/endpoints/{endpoint}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/endpoints/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+endpoint}:deployModel", +"request": { +"$ref": "GoogleCloudAiplatformV1DeployModelRequest" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"directPredict": { +"description": "Perform an unary online prediction request to a gRPC model server for Vertex first-party products and frameworks.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/endpoints/{endpointsId}:directPredict", +"httpMethod": "POST", +"id": "aiplatform.projects.locations.endpoints.directPredict", +"parameterOrder": [ +"endpoint" +], +"parameters": { +"endpoint": { +"description": "Required. The name of the Endpoint requested to serve the prediction. Format: `projects/{project}/locations/{location}/endpoints/{endpoint}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/endpoints/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+endpoint}:directPredict", +"request": { +"$ref": "GoogleCloudAiplatformV1DirectPredictRequest" +}, +"response": { +"$ref": "GoogleCloudAiplatformV1DirectPredictResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only" +] +}, +"directRawPredict": { +"description": "Perform an unary online prediction request to a gRPC model server for custom containers.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/endpoints/{endpointsId}:directRawPredict", +"httpMethod": "POST", +"id": "aiplatform.projects.locations.endpoints.directRawPredict", +"parameterOrder": [ +"endpoint" +], +"parameters": { +"endpoint": { +"description": "Required. The name of the Endpoint requested to serve the prediction. Format: `projects/{project}/locations/{location}/endpoints/{endpoint}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/endpoints/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+endpoint}:directRawPredict", +"request": { +"$ref": "GoogleCloudAiplatformV1DirectRawPredictRequest" +}, +"response": { +"$ref": "GoogleCloudAiplatformV1DirectRawPredictResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only" +] +}, +"explain": { +"description": "Perform an online explanation. If deployed_model_id is specified, the corresponding DeployModel must have explanation_spec populated. If deployed_model_id is not specified, all DeployedModels must have explanation_spec populated.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/endpoints/{endpointsId}:explain", +"httpMethod": "POST", +"id": "aiplatform.projects.locations.endpoints.explain", +"parameterOrder": [ +"endpoint" +], +"parameters": { +"endpoint": { +"description": "Required. The name of the Endpoint requested to serve the explanation. Format: `projects/{project}/locations/{location}/endpoints/{endpoint}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/endpoints/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+endpoint}:explain", +"request": { +"$ref": "GoogleCloudAiplatformV1ExplainRequest" +}, +"response": { +"$ref": "GoogleCloudAiplatformV1ExplainResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only" +] +}, +"fetchPredictOperation": { +"description": "Fetch an asynchronous online prediction operation.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/endpoints/{endpointsId}:fetchPredictOperation", +"httpMethod": "POST", +"id": "aiplatform.projects.locations.endpoints.fetchPredictOperation", +"parameterOrder": [ +"endpoint" +], +"parameters": { +"endpoint": { +"description": "Required. The name of the Endpoint requested to serve the prediction. Format: `projects/{project}/locations/{location}/endpoints/{endpoint}` or `projects/{project}/locations/{location}/publishers/{publisher}/models/{model}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/endpoints/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+endpoint}:fetchPredictOperation", +"request": { +"$ref": "GoogleCloudAiplatformV1FetchPredictOperationRequest" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only" +] +}, +"generateContent": { +"description": "Generate content with multimodal inputs.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/endpoints/{endpointsId}:generateContent", +"httpMethod": "POST", +"id": "aiplatform.projects.locations.endpoints.generateContent", +"parameterOrder": [ +"model" +], +"parameters": { +"model": { +"description": "Required. The fully qualified name of the publisher model or tuned model endpoint to use. Publisher model format: `projects/{project}/locations/{location}/publishers/*/models/*` Tuned model endpoint format: `projects/{project}/locations/{location}/endpoints/{endpoint}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/endpoints/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+model}:generateContent", +"request": { +"$ref": "GoogleCloudAiplatformV1GenerateContentRequest" +}, +"response": { +"$ref": "GoogleCloudAiplatformV1GenerateContentResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only" +] +}, +"get": { +"description": "Gets an Endpoint.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/endpoints/{endpointsId}", +"httpMethod": "GET", +"id": "aiplatform.projects.locations.endpoints.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the Endpoint resource. Format: `projects/{project}/locations/{location}/endpoints/{endpoint}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/endpoints/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleCloudAiplatformV1Endpoint" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists Endpoints in a Location.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/endpoints", +"httpMethod": "GET", +"id": "aiplatform.projects.locations.endpoints.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Optional. An expression for filtering the results of the request. For field names both snake_case and camelCase are supported. * `endpoint` supports `=` and `!=`. `endpoint` represents the Endpoint ID, i.e. the last segment of the Endpoint's resource name. * `display_name` supports `=` and `!=`. * `labels` supports general map functions that is: * `labels.key=value` - key:value equality * `labels.key:*` or `labels:key` - key existence * A key including a space must be quoted. `labels.\"a key\"`. * `base_model_name` only supports `=`. Some examples: * `endpoint=1` * `displayName=\"myDisplayName\"` * `labels.myKey=\"myValue\"` * `baseModelName=\"text-bison\"`", +"location": "query", +"type": "string" +}, +"gdcZone": { +"description": "Optional. Configures the Google Distributed Cloud (GDC) environment for online prediction. Only set this field when the Endpoint is to be deployed in a GDC environment.", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "A comma-separated list of fields to order by, sorted in ascending order. Use \"desc\" after a field name for descending. Supported fields: * `display_name` * `create_time` * `update_time` Example: `display_name, create_time desc`.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Optional. The standard list page size.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. The standard list page token. Typically obtained via ListEndpointsResponse.next_page_token of the previous EndpointService.ListEndpoints call.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The resource name of the Location from which to list the Endpoints. Format: `projects/{project}/locations/{location}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +}, +"readMask": { +"description": "Optional. Mask specifying which fields to read.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+parent}/endpoints", +"response": { +"$ref": "GoogleCloudAiplatformV1ListEndpointsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"mutateDeployedModel": { +"description": "Updates an existing deployed model. Updatable fields include `min_replica_count`, `max_replica_count`, `required_replica_count`, `autoscaling_metric_specs`, `disable_container_logging` (v1 only), and `enable_container_logging` (v1beta1 only).", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/endpoints/{endpointsId}:mutateDeployedModel", +"httpMethod": "POST", +"id": "aiplatform.projects.locations.endpoints.mutateDeployedModel", +"parameterOrder": [ +"endpoint" +], +"parameters": { +"endpoint": { +"description": "Required. The name of the Endpoint resource into which to mutate a DeployedModel. Format: `projects/{project}/locations/{location}/endpoints/{endpoint}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/endpoints/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+endpoint}:mutateDeployedModel", +"request": { +"$ref": "GoogleCloudAiplatformV1MutateDeployedModelRequest" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates an Endpoint.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/endpoints/{endpointsId}", +"httpMethod": "PATCH", +"id": "aiplatform.projects.locations.endpoints.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Identifier. The resource name of the Endpoint.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/endpoints/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Required. The update mask applies to the resource. See google.protobuf.FieldMask.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "GoogleCloudAiplatformV1Endpoint" +}, +"response": { +"$ref": "GoogleCloudAiplatformV1Endpoint" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"predict": { +"description": "Perform an online prediction.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/endpoints/{endpointsId}:predict", +"httpMethod": "POST", +"id": "aiplatform.projects.locations.endpoints.predict", +"parameterOrder": [ +"endpoint" +], +"parameters": { +"endpoint": { +"description": "Required. The name of the Endpoint requested to serve the prediction. Format: `projects/{project}/locations/{location}/endpoints/{endpoint}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/endpoints/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+endpoint}:predict", +"request": { +"$ref": "GoogleCloudAiplatformV1PredictRequest" +}, +"response": { +"$ref": "GoogleCloudAiplatformV1PredictResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only" +] +}, +"predictLongRunning": { +"description": "", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/endpoints/{endpointsId}:predictLongRunning", +"httpMethod": "POST", +"id": "aiplatform.projects.locations.endpoints.predictLongRunning", +"parameterOrder": [ +"endpoint" +], +"parameters": { +"endpoint": { +"description": "Required. The name of the Endpoint requested to serve the prediction. Format: `projects/{project}/locations/{location}/endpoints/{endpoint}` or `projects/{project}/locations/{location}/publishers/{publisher}/models/{model}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/endpoints/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+endpoint}:predictLongRunning", +"request": { +"$ref": "GoogleCloudAiplatformV1PredictLongRunningRequest" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only" +] +}, +"rawPredict": { +"description": "Perform an online prediction with an arbitrary HTTP payload. The response includes the following HTTP headers: * `X-Vertex-AI-Endpoint-Id`: ID of the Endpoint that served this prediction. * `X-Vertex-AI-Deployed-Model-Id`: ID of the Endpoint's DeployedModel that served this prediction.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/endpoints/{endpointsId}:rawPredict", +"httpMethod": "POST", +"id": "aiplatform.projects.locations.endpoints.rawPredict", +"parameterOrder": [ +"endpoint" +], +"parameters": { +"endpoint": { +"description": "Required. The name of the Endpoint requested to serve the prediction. Format: `projects/{project}/locations/{location}/endpoints/{endpoint}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/endpoints/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+endpoint}:rawPredict", +"request": { +"$ref": "GoogleCloudAiplatformV1RawPredictRequest" +}, +"response": { +"$ref": "GoogleApiHttpBody" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only" +] +}, +"serverStreamingPredict": { +"description": "Perform a server-side streaming online prediction request for Vertex LLM streaming.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/endpoints/{endpointsId}:serverStreamingPredict", +"httpMethod": "POST", +"id": "aiplatform.projects.locations.endpoints.serverStreamingPredict", +"parameterOrder": [ +"endpoint" +], +"parameters": { +"endpoint": { +"description": "Required. The name of the Endpoint requested to serve the prediction. Format: `projects/{project}/locations/{location}/endpoints/{endpoint}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/endpoints/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+endpoint}:serverStreamingPredict", +"request": { +"$ref": "GoogleCloudAiplatformV1StreamingPredictRequest" +}, +"response": { +"$ref": "GoogleCloudAiplatformV1StreamingPredictResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only" +] +}, +"streamGenerateContent": { +"description": "Generate content with multimodal inputs with streaming support.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/endpoints/{endpointsId}:streamGenerateContent", +"httpMethod": "POST", +"id": "aiplatform.projects.locations.endpoints.streamGenerateContent", +"parameterOrder": [ +"model" +], +"parameters": { +"model": { +"description": "Required. The fully qualified name of the publisher model or tuned model endpoint to use. Publisher model format: `projects/{project}/locations/{location}/publishers/*/models/*` Tuned model endpoint format: `projects/{project}/locations/{location}/endpoints/{endpoint}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/endpoints/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+model}:streamGenerateContent", +"request": { +"$ref": "GoogleCloudAiplatformV1GenerateContentRequest" +}, +"response": { +"$ref": "GoogleCloudAiplatformV1GenerateContentResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only" +] +}, +"streamRawPredict": { +"description": "Perform a streaming online prediction with an arbitrary HTTP payload.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/endpoints/{endpointsId}:streamRawPredict", +"httpMethod": "POST", +"id": "aiplatform.projects.locations.endpoints.streamRawPredict", +"parameterOrder": [ +"endpoint" +], +"parameters": { +"endpoint": { +"description": "Required. The name of the Endpoint requested to serve the prediction. Format: `projects/{project}/locations/{location}/endpoints/{endpoint}` or `projects/{project}/locations/{location}/publishers/{publisher}/models/{model}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/endpoints/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+endpoint}:streamRawPredict", +"request": { +"$ref": "GoogleCloudAiplatformV1StreamRawPredictRequest" +}, +"response": { +"$ref": "GoogleApiHttpBody" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only" +] +}, +"undeployModel": { +"description": "Undeploys a Model from an Endpoint, removing a DeployedModel from it, and freeing all resources it's using.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/endpoints/{endpointsId}:undeployModel", +"httpMethod": "POST", +"id": "aiplatform.projects.locations.endpoints.undeployModel", +"parameterOrder": [ +"endpoint" +], +"parameters": { +"endpoint": { +"description": "Required. The name of the Endpoint resource from which to undeploy a Model. Format: `projects/{project}/locations/{location}/endpoints/{endpoint}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/endpoints/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+endpoint}:undeployModel", +"request": { +"$ref": "GoogleCloudAiplatformV1UndeployModelRequest" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"update": { +"description": "Updates an Endpoint with a long running operation.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/endpoints/{endpointsId}:update", +"httpMethod": "POST", +"id": "aiplatform.projects.locations.endpoints.update", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Identifier. The resource name of the Endpoint.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/endpoints/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:update", +"request": { +"$ref": "GoogleCloudAiplatformV1UpdateEndpointLongRunningRequest" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"chat": { +"methods": { +"completions": { +"description": "Exposes an OpenAI-compatible endpoint for chat completions.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/endpoints/{endpointsId}/chat/completions", +"httpMethod": "POST", +"id": "aiplatform.projects.locations.endpoints.chat.completions", +"parameterOrder": [ +"endpoint" +], +"parameters": { +"endpoint": { +"description": "Required. The name of the endpoint requested to serve the prediction. Format: `projects/{project}/locations/{location}/endpoints/{endpoint}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/endpoints/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+endpoint}/chat/completions", +"request": { +"$ref": "GoogleApiHttpBody" +}, +"response": { +"$ref": "GoogleApiHttpBody" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only" +] +} +} +}, +"deployedModels": { +"resources": { +"invoke": { +"methods": { +"invoke": { +"description": "Forwards arbitrary HTTP requests for both streaming and non-streaming cases. To use this method, invoke_route_prefix must be set to allow the paths that will be specified in the request.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/endpoints/{endpointsId}/deployedModels/{deployedModelId}/invoke/{invokeId}", +"httpMethod": "POST", +"id": "aiplatform.projects.locations.endpoints.deployedModels.invoke.invoke", +"parameterOrder": [ +"endpoint", +"deployedModelId", +"invokeId" +], +"parameters": { +"deployedModelId": { +"description": "ID of the DeployedModel that serves the invoke request.", +"location": "path", +"required": true, +"type": "string" +}, +"endpoint": { +"description": "Required. The name of the Endpoint requested to serve the prediction. Format: `projects/{project}/locations/{location}/endpoints/{endpoint}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/endpoints/[^/]+$", +"required": true, +"type": "string" +}, +"invokeId": { +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v1/{+endpoint}/deployedModels/{deployedModelId}/invoke/{+invokeId}", +"request": { +"$ref": "GoogleCloudAiplatformV1InvokeRequest" +}, +"response": { +"$ref": "GoogleApiHttpBody" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only" +] +} +} +} +} +}, +"google": { +"resources": { +"science": { +"methods": { +"inference": { +"description": "Forwards arbitrary HTTP requests for both streaming and non-streaming cases. To use this method, invoke_route_prefix must be set to allow the paths that will be specified in the request.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/endpoints/google/science/inference", +"httpMethod": "POST", +"id": "aiplatform.projects.locations.endpoints.google.science.inference", +"parameterOrder": [ +"endpoint" +], +"parameters": { +"deployedModelId": { +"description": "ID of the DeployedModel that serves the invoke request.", +"location": "query", +"type": "string" +}, +"endpoint": { +"description": "Required. The name of the Endpoint requested to serve the prediction. Format: `projects/{project}/locations/{location}/endpoints/{endpoint}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/endpoints/google$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+endpoint}/science/inference", +"request": { +"$ref": "GoogleApiHttpBody" +}, +"response": { +"$ref": "GoogleApiHttpBody" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only" +] +} +} +} +} +}, +"invoke": { +"methods": { +"invoke": { +"description": "Forwards arbitrary HTTP requests for both streaming and non-streaming cases. To use this method, invoke_route_prefix must be set to allow the paths that will be specified in the request.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/endpoints/{endpointsId}/invoke/{invokeId}", +"httpMethod": "POST", +"id": "aiplatform.projects.locations.endpoints.invoke.invoke", +"parameterOrder": [ +"endpoint", +"invokeId" +], +"parameters": { +"endpoint": { +"description": "Required. The name of the Endpoint requested to serve the prediction. Format: `projects/{project}/locations/{location}/endpoints/{endpoint}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/endpoints/[^/]+$", +"required": true, +"type": "string" +}, +"invokeId": { +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v1/{+endpoint}/invoke/{+invokeId}", +"request": { +"$ref": "GoogleCloudAiplatformV1InvokeRequest" +}, +"response": { +"$ref": "GoogleApiHttpBody" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only" +] +} +} +}, +"openapi": { +"methods": { +"completions": { +"description": "Forwards arbitrary HTTP requests for both streaming and non-streaming cases. To use this method, invoke_route_prefix must be set to allow the paths that will be specified in the request.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/endpoints/openapi/completions", +"httpMethod": "POST", +"id": "aiplatform.projects.locations.endpoints.openapi.completions", +"parameterOrder": [ +"endpoint" +], +"parameters": { +"deployedModelId": { +"description": "ID of the DeployedModel that serves the invoke request.", +"location": "query", +"type": "string" +}, +"endpoint": { +"description": "Required. The name of the Endpoint requested to serve the prediction. Format: `projects/{project}/locations/{location}/endpoints/{endpoint}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/endpoints/openapi$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+endpoint}/completions", +"request": { +"$ref": "GoogleApiHttpBody" +}, +"response": { +"$ref": "GoogleApiHttpBody" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only" +] +}, +"embeddings": { +"description": "Forwards arbitrary HTTP requests for both streaming and non-streaming cases. To use this method, invoke_route_prefix must be set to allow the paths that will be specified in the request.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/endpoints/openapi/embeddings", +"httpMethod": "POST", +"id": "aiplatform.projects.locations.endpoints.openapi.embeddings", +"parameterOrder": [ +"endpoint" +], +"parameters": { +"deployedModelId": { +"description": "ID of the DeployedModel that serves the invoke request.", +"location": "query", +"type": "string" +}, +"endpoint": { +"description": "Required. The name of the Endpoint requested to serve the prediction. Format: `projects/{project}/locations/{location}/endpoints/{endpoint}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/endpoints/openapi$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+endpoint}/embeddings", +"request": { +"$ref": "GoogleApiHttpBody" +}, +"response": { +"$ref": "GoogleApiHttpBody" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only" +] +} +} +}, +"operations": { +"methods": { +"cancel": { +"description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/endpoints/{endpointsId}/operations/{operationsId}:cancel", +"httpMethod": "POST", +"id": "aiplatform.projects.locations.endpoints.operations.cancel", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be cancelled.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/endpoints/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:cancel", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/endpoints/{endpointsId}/operations/{operationsId}", +"httpMethod": "DELETE", +"id": "aiplatform.projects.locations.endpoints.operations.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be deleted.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/endpoints/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/endpoints/{endpointsId}/operations/{operationsId}", +"httpMethod": "GET", +"id": "aiplatform.projects.locations.endpoints.operations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/endpoints/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/endpoints/{endpointsId}/operations", +"httpMethod": "GET", +"id": "aiplatform.projects.locations.endpoints.operations.list", +"parameterOrder": [ +"name" +], +"parameters": { +"filter": { +"description": "The standard list filter.", +"location": "query", +"type": "string" +}, +"name": { +"description": "The name of the operation's parent resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/endpoints/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The standard list page size.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The standard list page token.", +"location": "query", +"type": "string" +}, +"returnPartialSuccess": { +"description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `\"projects/example/locations/-\"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1/{+name}/operations", +"response": { +"$ref": "GoogleLongrunningListOperationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"wait": { +"description": "Waits until the specified long-running operation is done or reaches at most a specified timeout, returning the latest state. If the operation is already done, the latest state is immediately returned. If the timeout specified is greater than the default HTTP/RPC timeout, the HTTP/RPC timeout is used. If the server does not support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Note that this method is on a best-effort basis. It may return the latest state before the specified timeout (including immediately), meaning even an immediate response is no guarantee that the operation is done.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/endpoints/{endpointsId}/operations/{operationsId}:wait", +"httpMethod": "POST", +"id": "aiplatform.projects.locations.endpoints.operations.wait", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to wait on.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/endpoints/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +}, +"timeout": { +"description": "The maximum duration to wait before timing out. If left blank, the wait will be at most the time permitted by the underlying HTTP/RPC protocol. If RPC context deadline is also specified, the shorter one will be used.", +"format": "google-duration", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}:wait", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +}, +"evaluationItems": { +"methods": { +"create": { +"description": "Creates an Evaluation Item.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/evaluationItems", +"httpMethod": "POST", +"id": "aiplatform.projects.locations.evaluationItems.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The resource name of the Location to create the Evaluation Item in. Format: `projects/{project}/locations/{location}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/evaluationItems", +"request": { +"$ref": "GoogleCloudAiplatformV1EvaluationItem" +}, +"response": { +"$ref": "GoogleCloudAiplatformV1EvaluationItem" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes an Evaluation Item.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/evaluationItems/{evaluationItemsId}", +"httpMethod": "DELETE", +"id": "aiplatform.projects.locations.evaluationItems.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the EvaluationItem resource to be deleted. Format: `projects/{project}/locations/{location}/evaluationItems/{evaluation_item}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/evaluationItems/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets an Evaluation Item.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/evaluationItems/{evaluationItemsId}", +"httpMethod": "GET", +"id": "aiplatform.projects.locations.evaluationItems.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the EvaluationItem resource. Format: `projects/{project}/locations/{location}/evaluationItems/{evaluation_item}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/evaluationItems/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleCloudAiplatformV1EvaluationItem" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists Evaluation Items.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/evaluationItems", +"httpMethod": "GET", +"id": "aiplatform.projects.locations.evaluationItems.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Optional. Filter expression that matches a subset of the EvaluationItems to show. For field names both snake_case and camelCase are supported. For more information about filter syntax, see [AIP-160](https://google.aip.dev/160).", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "Optional. A comma-separated list of fields to order by, sorted in ascending order by default. Use `desc` after a field name for descending.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Optional. The maximum number of Evaluation Items to return.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. A page token, received from a previous `ListEvaluationItems` call. Provide this to retrieve the subsequent page.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The resource name of the Location from which to list the Evaluation Items. Format: `projects/{project}/locations/{location}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/evaluationItems", +"response": { +"$ref": "GoogleCloudAiplatformV1ListEvaluationItemsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"evaluationRuns": { +"methods": { +"cancel": { +"description": "Cancels an Evaluation Run. Attempts to cancel a running Evaluation Run asynchronously. Status of run can be checked via GetEvaluationRun.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/evaluationRuns/{evaluationRunsId}:cancel", +"httpMethod": "POST", +"id": "aiplatform.projects.locations.evaluationRuns.cancel", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the EvaluationRun resource to be cancelled. Format: `projects/{project}/locations/{location}/evaluationRuns/{evaluation_run}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/evaluationRuns/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:cancel", +"request": { +"$ref": "GoogleCloudAiplatformV1CancelEvaluationRunRequest" +}, +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"create": { +"description": "Creates an Evaluation Run.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/evaluationRuns", +"httpMethod": "POST", +"id": "aiplatform.projects.locations.evaluationRuns.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The resource name of the Location to create the Evaluation Run in. Format: `projects/{project}/locations/{location}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/evaluationRuns", +"request": { +"$ref": "GoogleCloudAiplatformV1EvaluationRun" +}, +"response": { +"$ref": "GoogleCloudAiplatformV1EvaluationRun" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes an Evaluation Run.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/evaluationRuns/{evaluationRunsId}", +"httpMethod": "DELETE", +"id": "aiplatform.projects.locations.evaluationRuns.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the EvaluationRun resource to be deleted. Format: `projects/{project}/locations/{location}/evaluationRuns/{evaluation_run}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/evaluationRuns/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets an Evaluation Run.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/evaluationRuns/{evaluationRunsId}", +"httpMethod": "GET", +"id": "aiplatform.projects.locations.evaluationRuns.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the EvaluationRun resource. Format: `projects/{project}/locations/{location}/evaluationRuns/{evaluation_run}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/evaluationRuns/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleCloudAiplatformV1EvaluationRun" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists Evaluation Runs.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/evaluationRuns", +"httpMethod": "GET", +"id": "aiplatform.projects.locations.evaluationRuns.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Optional. Filter expression that matches a subset of the EvaluationRuns to show. For field names both snake_case and camelCase are supported. For more information about filter syntax, see [AIP-160](https://google.aip.dev/160).", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "Optional. A comma-separated list of fields to order by, sorted in ascending order by default. Use `desc` after a field name for descending.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Optional. The maximum number of Evaluation Runs to return.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. A page token, received from a previous `ListEvaluationRuns` call. Provide this to retrieve the subsequent page.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The resource name of the Location from which to list the Evaluation Runs. Format: `projects/{project}/locations/{location}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/evaluationRuns", +"response": { +"$ref": "GoogleCloudAiplatformV1ListEvaluationRunsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"evaluationSets": { +"methods": { +"create": { +"description": "Creates an Evaluation Set.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/evaluationSets", +"httpMethod": "POST", +"id": "aiplatform.projects.locations.evaluationSets.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The resource name of the Location to create the Evaluation Set in. Format: `projects/{project}/locations/{location}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/evaluationSets", +"request": { +"$ref": "GoogleCloudAiplatformV1EvaluationSet" +}, +"response": { +"$ref": "GoogleCloudAiplatformV1EvaluationSet" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes an Evaluation Set.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/evaluationSets/{evaluationSetsId}", +"httpMethod": "DELETE", +"id": "aiplatform.projects.locations.evaluationSets.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the EvaluationSet resource to be deleted. Format: `projects/{project}/locations/{location}/evaluationSets/{evaluation_set}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/evaluationSets/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets an Evaluation Set.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/evaluationSets/{evaluationSetsId}", +"httpMethod": "GET", +"id": "aiplatform.projects.locations.evaluationSets.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the EvaluationSet resource. Format: `projects/{project}/locations/{location}/evaluationSets/{evaluation_set}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/evaluationSets/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleCloudAiplatformV1EvaluationSet" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists Evaluation Sets.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/evaluationSets", +"httpMethod": "GET", +"id": "aiplatform.projects.locations.evaluationSets.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Optional. Filter expression that matches a subset of the EvaluationSets to show. For field names both snake_case and camelCase are supported. For more information about filter syntax, see [AIP-160](https://google.aip.dev/160).", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "Optional. A comma-separated list of fields to order by, sorted in ascending order by default. Use `desc` after a field name for descending.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Optional. The maximum number of Evaluation Sets to return.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. A page token, received from a previous `ListEvaluationSets` call. Provide this to retrieve the subsequent page.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The resource name of the Location from which to list the Evaluation Sets. Format: `projects/{project}/locations/{location}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/evaluationSets", +"response": { +"$ref": "GoogleCloudAiplatformV1ListEvaluationSetsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates an Evaluation Set.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/evaluationSets/{evaluationSetsId}", +"httpMethod": "PATCH", +"id": "aiplatform.projects.locations.evaluationSets.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Identifier. The resource name of the EvaluationSet. Format: `projects/{project}/locations/{location}/evaluationSets/{evaluation_set}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/evaluationSets/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Optional. The update mask applies to the resource. For the `FieldMask` definition, see google.protobuf.FieldMask.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "GoogleCloudAiplatformV1EvaluationSet" +}, +"response": { +"$ref": "GoogleCloudAiplatformV1EvaluationSet" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"featureGroups": { +"methods": { +"create": { +"description": "Creates a new FeatureGroup in a given project and location.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/featureGroups", +"httpMethod": "POST", +"id": "aiplatform.projects.locations.featureGroups.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"featureGroupId": { +"description": "Required. The ID to use for this FeatureGroup, which will become the final component of the FeatureGroup's resource name. This value may be up to 128 characters, and valid characters are `[a-z0-9_]`. The first character cannot be a number. The value must be unique within the project and location.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The resource name of the Location to create FeatureGroups. Format: `projects/{project}/locations/{location}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/featureGroups", +"request": { +"$ref": "GoogleCloudAiplatformV1FeatureGroup" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a single FeatureGroup.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/featureGroups/{featureGroupsId}", +"httpMethod": "DELETE", +"id": "aiplatform.projects.locations.featureGroups.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"force": { +"description": "If set to true, any Features under this FeatureGroup will also be deleted. (Otherwise, the request will only work if the FeatureGroup has no Features.)", +"location": "query", +"type": "boolean" +}, +"name": { +"description": "Required. The name of the FeatureGroup to be deleted. Format: `projects/{project}/locations/{location}/featureGroups/{feature_group}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/featureGroups/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets details of a single FeatureGroup.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/featureGroups/{featureGroupsId}", +"httpMethod": "GET", +"id": "aiplatform.projects.locations.featureGroups.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the FeatureGroup resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/featureGroups/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleCloudAiplatformV1FeatureGroup" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"getIamPolicy": { +"description": "Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/featureGroups/{featureGroupsId}:getIamPolicy", +"httpMethod": "POST", +"id": "aiplatform.projects.locations.featureGroups.getIamPolicy", +"parameterOrder": [ +"resource" +], +"parameters": { +"options.requestedPolicyVersion": { +"description": "Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).", +"format": "int32", +"location": "query", +"type": "integer" +}, +"resource": { +"description": "REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/featureGroups/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+resource}:getIamPolicy", +"response": { +"$ref": "GoogleIamV1Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists FeatureGroups in a given project and location.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/featureGroups", +"httpMethod": "GET", +"id": "aiplatform.projects.locations.featureGroups.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Lists the FeatureGroups that match the filter expression. The following fields are supported: * `create_time`: Supports `=`, `!=`, `<`, `>`, `<=`, and `>=` comparisons. Values must be in RFC 3339 format. * `update_time`: Supports `=`, `!=`, `<`, `>`, `<=`, and `>=` comparisons. Values must be in RFC 3339 format. * `labels`: Supports key-value equality and key presence. Examples: * `create_time > \"2020-01-01\" OR update_time > \"2020-01-01\"` FeatureGroups created or updated after 2020-01-01. * `labels.env = \"prod\"` FeatureGroups with label \"env\" set to \"prod\".", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "A comma-separated list of fields to order by, sorted in ascending order. Use \"desc\" after a field name for descending. Supported Fields: * `create_time` * `update_time`", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "The maximum number of FeatureGroups to return. The service may return fewer than this value. If unspecified, at most 100 FeatureGroups will be returned. The maximum value is 100; any value greater than 100 will be coerced to 100.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A page token, received from a previous FeatureRegistryService.ListFeatureGroups call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to FeatureRegistryService.ListFeatureGroups must match the call that provided the page token.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The resource name of the Location to list FeatureGroups. Format: `projects/{project}/locations/{location}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/featureGroups", +"response": { +"$ref": "GoogleCloudAiplatformV1ListFeatureGroupsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates the parameters of a single FeatureGroup.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/featureGroups/{featureGroupsId}", +"httpMethod": "PATCH", +"id": "aiplatform.projects.locations.featureGroups.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Identifier. Name of the FeatureGroup. Format: `projects/{project}/locations/{location}/featureGroups/{featureGroup}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/featureGroups/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Field mask is used to specify the fields to be overwritten in the FeatureGroup resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then only the non-empty fields present in the request will be overwritten. Set the update_mask to `*` to override all fields. Updatable fields: * `labels` * `description` * `big_query` * `big_query.entity_id_columns` * `service_agent_type`", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "GoogleCloudAiplatformV1FeatureGroup" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"setIamPolicy": { +"description": "Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/featureGroups/{featureGroupsId}:setIamPolicy", +"httpMethod": "POST", +"id": "aiplatform.projects.locations.featureGroups.setIamPolicy", +"parameterOrder": [ +"resource" +], +"parameters": { +"resource": { +"description": "REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/featureGroups/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+resource}:setIamPolicy", +"request": { +"$ref": "GoogleIamV1SetIamPolicyRequest" +}, +"response": { +"$ref": "GoogleIamV1Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"testIamPermissions": { +"description": "Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may \"fail open\" without warning.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/featureGroups/{featureGroupsId}:testIamPermissions", +"httpMethod": "POST", +"id": "aiplatform.projects.locations.featureGroups.testIamPermissions", +"parameterOrder": [ +"resource" +], +"parameters": { +"permissions": { +"description": "The set of permissions to check for the `resource`. Permissions with wildcards (such as `*` or `storage.*`) are not allowed. For more information see [IAM Overview](https://cloud.google.com/iam/docs/overview#permissions).", +"location": "query", +"repeated": true, +"type": "string" +}, +"resource": { +"description": "REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/featureGroups/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+resource}:testIamPermissions", +"response": { +"$ref": "GoogleIamV1TestIamPermissionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"features": { +"methods": { +"batchCreate": { +"description": "Creates a batch of Features in a given FeatureGroup.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/featureGroups/{featureGroupsId}/features:batchCreate", +"httpMethod": "POST", +"id": "aiplatform.projects.locations.featureGroups.features.batchCreate", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The resource name of the EntityType/FeatureGroup to create the batch of Features under. Format: `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}` `projects/{project}/locations/{location}/featureGroups/{feature_group}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/featureGroups/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/features:batchCreate", +"request": { +"$ref": "GoogleCloudAiplatformV1BatchCreateFeaturesRequest" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"create": { +"description": "Creates a new Feature in a given FeatureGroup.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/featureGroups/{featureGroupsId}/features", +"httpMethod": "POST", +"id": "aiplatform.projects.locations.featureGroups.features.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"featureId": { +"description": "Required. The ID to use for the Feature, which will become the final component of the Feature's resource name. This value may be up to 128 characters, and valid characters are `[a-z0-9_]`. The first character cannot be a number. The value must be unique within an EntityType/FeatureGroup.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The resource name of the EntityType or FeatureGroup to create a Feature. Format for entity_type as parent: `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}` Format for feature_group as parent: `projects/{project}/locations/{location}/featureGroups/{feature_group}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/featureGroups/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/features", +"request": { +"$ref": "GoogleCloudAiplatformV1Feature" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a single Feature.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/featureGroups/{featureGroupsId}/features/{featuresId}", +"httpMethod": "DELETE", +"id": "aiplatform.projects.locations.featureGroups.features.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the Features to be deleted. Format: `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}/features/{feature}` `projects/{project}/locations/{location}/featureGroups/{feature_group}/features/{feature}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/featureGroups/[^/]+/features/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets details of a single Feature.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/featureGroups/{featureGroupsId}/features/{featuresId}", +"httpMethod": "GET", +"id": "aiplatform.projects.locations.featureGroups.features.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the Feature resource. Format for entity_type as parent: `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}` Format for feature_group as parent: `projects/{project}/locations/{location}/featureGroups/{feature_group}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/featureGroups/[^/]+/features/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleCloudAiplatformV1Feature" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists Features in a given FeatureGroup.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/featureGroups/{featureGroupsId}/features", +"httpMethod": "GET", +"id": "aiplatform.projects.locations.featureGroups.features.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Lists the Features that match the filter expression. The following filters are supported: * `value_type`: Supports = and != comparisons. * `create_time`: Supports =, !=, <, >, >=, and <= comparisons. Values must be in RFC 3339 format. * `update_time`: Supports =, !=, <, >, >=, and <= comparisons. Values must be in RFC 3339 format. * `labels`: Supports key-value equality as well as key presence. Examples: * `value_type = DOUBLE` --> Features whose type is DOUBLE. * `create_time > \\\"2020-01-31T15:30:00.000000Z\\\" OR update_time > \\\"2020-01-31T15:30:00.000000Z\\\"` --> EntityTypes created or updated after 2020-01-31T15:30:00.000000Z. * `labels.active = yes AND labels.env = prod` --> Features having both (active: yes) and (env: prod) labels. * `labels.env: *` --> Any Feature which has a label with 'env' as the key.", +"location": "query", +"type": "string" +}, +"latestStatsCount": { +"description": "Only applicable for Vertex AI Feature Store (Legacy). If set, return the most recent ListFeaturesRequest.latest_stats_count of stats for each Feature in response. Valid value is [0, 10]. If number of stats exists < ListFeaturesRequest.latest_stats_count, return all existing stats.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"orderBy": { +"description": "A comma-separated list of fields to order by, sorted in ascending order. Use \"desc\" after a field name for descending. Supported fields: * `feature_id` * `value_type` (Not supported for FeatureRegistry Feature) * `create_time` * `update_time`", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "The maximum number of Features to return. The service may return fewer than this value. If unspecified, at most 1000 Features will be returned. The maximum value is 1000; any value greater than 1000 will be coerced to 1000.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A page token, received from a previous FeaturestoreService.ListFeatures call or FeatureRegistryService.ListFeatures call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to FeaturestoreService.ListFeatures or FeatureRegistryService.ListFeatures must match the call that provided the page token.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The resource name of the Location to list Features. Format for entity_type as parent: `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}` Format for feature_group as parent: `projects/{project}/locations/{location}/featureGroups/{feature_group}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/featureGroups/[^/]+$", +"required": true, +"type": "string" +}, +"readMask": { +"description": "Mask specifying which fields to read.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+parent}/features", +"response": { +"$ref": "GoogleCloudAiplatformV1ListFeaturesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates the parameters of a single Feature.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/featureGroups/{featureGroupsId}/features/{featuresId}", +"httpMethod": "PATCH", +"id": "aiplatform.projects.locations.featureGroups.features.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Immutable. Name of the Feature. Format: `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}/features/{feature}` `projects/{project}/locations/{location}/featureGroups/{feature_group}/features/{feature}` The last part feature is assigned by the client. The feature can be up to 64 characters long and can consist only of ASCII Latin letters A-Z and a-z, underscore(_), and ASCII digits 0-9 starting with a letter. The value will be unique given an entity type.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/featureGroups/[^/]+/features/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Field mask is used to specify the fields to be overwritten in the Features resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then only the non-empty fields present in the request will be overwritten. Set the update_mask to `*` to override all fields. Updatable fields: * `description` * `labels` * `disable_monitoring` (Not supported for FeatureRegistryService Feature) * `point_of_contact` (Not supported for FeaturestoreService FeatureStore)", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "GoogleCloudAiplatformV1Feature" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"operations": { +"methods": { +"delete": { +"description": "Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/featureGroups/{featureGroupsId}/features/{featuresId}/operations/{operationsId}", +"httpMethod": "DELETE", +"id": "aiplatform.projects.locations.featureGroups.features.operations.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be deleted.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/featureGroups/[^/]+/features/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/featureGroups/{featureGroupsId}/features/{featuresId}/operations/{operationsId}", +"httpMethod": "GET", +"id": "aiplatform.projects.locations.featureGroups.features.operations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/featureGroups/[^/]+/features/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"listWait": { +"description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/featureGroups/{featureGroupsId}/features/{featuresId}/operations/{operationsId}:wait", +"httpMethod": "GET", +"id": "aiplatform.projects.locations.featureGroups.features.operations.listWait", +"parameterOrder": [ +"name" +], +"parameters": { +"filter": { +"description": "The standard list filter.", +"location": "query", +"type": "string" +}, +"name": { +"description": "The name of the operation's parent resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/featureGroups/[^/]+/features/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The standard list page size.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The standard list page token.", +"location": "query", +"type": "string" +}, +"returnPartialSuccess": { +"description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `\"projects/example/locations/-\"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1/{+name}:wait", +"response": { +"$ref": "GoogleLongrunningListOperationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"wait": { +"description": "Waits until the specified long-running operation is done or reaches at most a specified timeout, returning the latest state. If the operation is already done, the latest state is immediately returned. If the timeout specified is greater than the default HTTP/RPC timeout, the HTTP/RPC timeout is used. If the server does not support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Note that this method is on a best-effort basis. It may return the latest state before the specified timeout (including immediately), meaning even an immediate response is no guarantee that the operation is done.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/featureGroups/{featureGroupsId}/features/{featuresId}/operations/{operationsId}:wait", +"httpMethod": "POST", +"id": "aiplatform.projects.locations.featureGroups.features.operations.wait", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to wait on.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/featureGroups/[^/]+/features/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +}, +"timeout": { +"description": "The maximum duration to wait before timing out. If left blank, the wait will be at most the time permitted by the underlying HTTP/RPC protocol. If RPC context deadline is also specified, the shorter one will be used.", +"format": "google-duration", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}:wait", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +}, +"operations": { +"methods": { +"delete": { +"description": "Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/featureGroups/{featureGroupsId}/operations/{operationsId}", +"httpMethod": "DELETE", +"id": "aiplatform.projects.locations.featureGroups.operations.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be deleted.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/featureGroups/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/featureGroups/{featureGroupsId}/operations/{operationsId}", +"httpMethod": "GET", +"id": "aiplatform.projects.locations.featureGroups.operations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/featureGroups/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"listWait": { +"description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/featureGroups/{featureGroupsId}/operations/{operationsId}:wait", +"httpMethod": "GET", +"id": "aiplatform.projects.locations.featureGroups.operations.listWait", +"parameterOrder": [ +"name" +], +"parameters": { +"filter": { +"description": "The standard list filter.", +"location": "query", +"type": "string" +}, +"name": { +"description": "The name of the operation's parent resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/featureGroups/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The standard list page size.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The standard list page token.", +"location": "query", +"type": "string" +}, +"returnPartialSuccess": { +"description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `\"projects/example/locations/-\"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1/{+name}:wait", +"response": { +"$ref": "GoogleLongrunningListOperationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"wait": { +"description": "Waits until the specified long-running operation is done or reaches at most a specified timeout, returning the latest state. If the operation is already done, the latest state is immediately returned. If the timeout specified is greater than the default HTTP/RPC timeout, the HTTP/RPC timeout is used. If the server does not support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Note that this method is on a best-effort basis. It may return the latest state before the specified timeout (including immediately), meaning even an immediate response is no guarantee that the operation is done.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/featureGroups/{featureGroupsId}/operations/{operationsId}:wait", +"httpMethod": "POST", +"id": "aiplatform.projects.locations.featureGroups.operations.wait", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to wait on.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/featureGroups/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +}, +"timeout": { +"description": "The maximum duration to wait before timing out. If left blank, the wait will be at most the time permitted by the underlying HTTP/RPC protocol. If RPC context deadline is also specified, the shorter one will be used.", +"format": "google-duration", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}:wait", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +}, +"featureOnlineStores": { +"methods": { +"create": { +"description": "Creates a new FeatureOnlineStore in a given project and location.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/featureOnlineStores", +"httpMethod": "POST", +"id": "aiplatform.projects.locations.featureOnlineStores.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"featureOnlineStoreId": { +"description": "Required. The ID to use for this FeatureOnlineStore, which will become the final component of the FeatureOnlineStore's resource name. This value may be up to 60 characters, and valid characters are `[a-z0-9_]`. The first character cannot be a number. The value must be unique within the project and location.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The resource name of the Location to create FeatureOnlineStores. Format: `projects/{project}/locations/{location}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/featureOnlineStores", +"request": { +"$ref": "GoogleCloudAiplatformV1FeatureOnlineStore" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a single FeatureOnlineStore. The FeatureOnlineStore must not contain any FeatureViews.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/featureOnlineStores/{featureOnlineStoresId}", +"httpMethod": "DELETE", +"id": "aiplatform.projects.locations.featureOnlineStores.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"force": { +"description": "If set to true, any FeatureViews and Features for this FeatureOnlineStore will also be deleted. (Otherwise, the request will only work if the FeatureOnlineStore has no FeatureViews.)", +"location": "query", +"type": "boolean" +}, +"name": { +"description": "Required. The name of the FeatureOnlineStore to be deleted. Format: `projects/{project}/locations/{location}/featureOnlineStores/{feature_online_store}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/featureOnlineStores/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets details of a single FeatureOnlineStore.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/featureOnlineStores/{featureOnlineStoresId}", +"httpMethod": "GET", +"id": "aiplatform.projects.locations.featureOnlineStores.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the FeatureOnlineStore resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/featureOnlineStores/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleCloudAiplatformV1FeatureOnlineStore" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"getIamPolicy": { +"description": "Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/featureOnlineStores/{featureOnlineStoresId}:getIamPolicy", +"httpMethod": "POST", +"id": "aiplatform.projects.locations.featureOnlineStores.getIamPolicy", +"parameterOrder": [ +"resource" +], +"parameters": { +"options.requestedPolicyVersion": { +"description": "Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).", +"format": "int32", +"location": "query", +"type": "integer" +}, +"resource": { +"description": "REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/featureOnlineStores/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+resource}:getIamPolicy", +"response": { +"$ref": "GoogleIamV1Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists FeatureOnlineStores in a given project and location.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/featureOnlineStores", +"httpMethod": "GET", +"id": "aiplatform.projects.locations.featureOnlineStores.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Lists the FeatureOnlineStores that match the filter expression. The following fields are supported: * `create_time`: Supports `=`, `!=`, `<`, `>`, `<=`, and `>=` comparisons. Values must be in RFC 3339 format. * `update_time`: Supports `=`, `!=`, `<`, `>`, `<=`, and `>=` comparisons. Values must be in RFC 3339 format. * `labels`: Supports key-value equality and key presence. Examples: * `create_time > \"2020-01-01\" OR update_time > \"2020-01-01\"` FeatureOnlineStores created or updated after 2020-01-01. * `labels.env = \"prod\"` FeatureOnlineStores with label \"env\" set to \"prod\".", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "A comma-separated list of fields to order by, sorted in ascending order. Use \"desc\" after a field name for descending. Supported Fields: * `create_time` * `update_time`", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "The maximum number of FeatureOnlineStores to return. The service may return fewer than this value. If unspecified, at most 100 FeatureOnlineStores will be returned. The maximum value is 100; any value greater than 100 will be coerced to 100.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A page token, received from a previous FeatureOnlineStoreAdminService.ListFeatureOnlineStores call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to FeatureOnlineStoreAdminService.ListFeatureOnlineStores must match the call that provided the page token.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The resource name of the Location to list FeatureOnlineStores. Format: `projects/{project}/locations/{location}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/featureOnlineStores", +"response": { +"$ref": "GoogleCloudAiplatformV1ListFeatureOnlineStoresResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates the parameters of a single FeatureOnlineStore.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/featureOnlineStores/{featureOnlineStoresId}", +"httpMethod": "PATCH", +"id": "aiplatform.projects.locations.featureOnlineStores.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Identifier. Name of the FeatureOnlineStore. Format: `projects/{project}/locations/{location}/featureOnlineStores/{featureOnlineStore}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/featureOnlineStores/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Field mask is used to specify the fields to be overwritten in the FeatureOnlineStore resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then only the non-empty fields present in the request will be overwritten. Set the update_mask to `*` to override all fields. Updatable fields: * `labels` * `description` * `bigtable` * `bigtable.auto_scaling` * `bigtable.enable_multi_region_replica`", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "GoogleCloudAiplatformV1FeatureOnlineStore" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"setIamPolicy": { +"description": "Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/featureOnlineStores/{featureOnlineStoresId}:setIamPolicy", +"httpMethod": "POST", +"id": "aiplatform.projects.locations.featureOnlineStores.setIamPolicy", +"parameterOrder": [ +"resource" +], +"parameters": { +"resource": { +"description": "REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/featureOnlineStores/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+resource}:setIamPolicy", +"request": { +"$ref": "GoogleIamV1SetIamPolicyRequest" +}, +"response": { +"$ref": "GoogleIamV1Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"testIamPermissions": { +"description": "Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may \"fail open\" without warning.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/featureOnlineStores/{featureOnlineStoresId}:testIamPermissions", +"httpMethod": "POST", +"id": "aiplatform.projects.locations.featureOnlineStores.testIamPermissions", +"parameterOrder": [ +"resource" +], +"parameters": { +"permissions": { +"description": "The set of permissions to check for the `resource`. Permissions with wildcards (such as `*` or `storage.*`) are not allowed. For more information see [IAM Overview](https://cloud.google.com/iam/docs/overview#permissions).", +"location": "query", +"repeated": true, +"type": "string" +}, +"resource": { +"description": "REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/featureOnlineStores/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+resource}:testIamPermissions", +"response": { +"$ref": "GoogleIamV1TestIamPermissionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"featureViews": { +"methods": { +"create": { +"description": "Creates a new FeatureView in a given FeatureOnlineStore.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/featureOnlineStores/{featureOnlineStoresId}/featureViews", +"httpMethod": "POST", +"id": "aiplatform.projects.locations.featureOnlineStores.featureViews.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"featureViewId": { +"description": "Required. The ID to use for the FeatureView, which will become the final component of the FeatureView's resource name. This value may be up to 60 characters, and valid characters are `[a-z0-9_]`. The first character cannot be a number. The value must be unique within a FeatureOnlineStore.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The resource name of the FeatureOnlineStore to create FeatureViews. Format: `projects/{project}/locations/{location}/featureOnlineStores/{feature_online_store}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/featureOnlineStores/[^/]+$", +"required": true, +"type": "string" +}, +"runSyncImmediately": { +"description": "Immutable. If set to true, one on demand sync will be run immediately, regardless whether the FeatureView.sync_config is configured or not.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1/{+parent}/featureViews", +"request": { +"$ref": "GoogleCloudAiplatformV1FeatureView" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a single FeatureView.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/featureOnlineStores/{featureOnlineStoresId}/featureViews/{featureViewsId}", +"httpMethod": "DELETE", +"id": "aiplatform.projects.locations.featureOnlineStores.featureViews.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the FeatureView to be deleted. Format: `projects/{project}/locations/{location}/featureOnlineStores/{feature_online_store}/featureViews/{feature_view}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/featureOnlineStores/[^/]+/featureViews/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"directWrite": { +"description": "Bidirectional streaming RPC to directly write to feature values in a feature view. Requests may not have a one-to-one mapping to responses and responses may be returned out-of-order to reduce latency.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/featureOnlineStores/{featureOnlineStoresId}/featureViews/{featureViewsId}:directWrite", +"httpMethod": "POST", +"id": "aiplatform.projects.locations.featureOnlineStores.featureViews.directWrite", +"parameterOrder": [ +"featureView" +], +"parameters": { +"featureView": { +"description": "FeatureView resource format `projects/{project}/locations/{location}/featureOnlineStores/{featureOnlineStore}/featureViews/{featureView}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/featureOnlineStores/[^/]+/featureViews/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+featureView}:directWrite", +"request": { +"$ref": "GoogleCloudAiplatformV1FeatureViewDirectWriteRequest" +}, +"response": { +"$ref": "GoogleCloudAiplatformV1FeatureViewDirectWriteResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"fetchFeatureValues": { +"description": "Fetch feature values under a FeatureView.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/featureOnlineStores/{featureOnlineStoresId}/featureViews/{featureViewsId}:fetchFeatureValues", +"httpMethod": "POST", +"id": "aiplatform.projects.locations.featureOnlineStores.featureViews.fetchFeatureValues", +"parameterOrder": [ +"featureView" +], +"parameters": { +"featureView": { +"description": "Required. FeatureView resource format `projects/{project}/locations/{location}/featureOnlineStores/{featureOnlineStore}/featureViews/{featureView}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/featureOnlineStores/[^/]+/featureViews/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+featureView}:fetchFeatureValues", +"request": { +"$ref": "GoogleCloudAiplatformV1FetchFeatureValuesRequest" +}, +"response": { +"$ref": "GoogleCloudAiplatformV1FetchFeatureValuesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"generateFetchAccessToken": { +"description": "RPC to generate an access token for the given feature view. FeatureViews under the same FeatureOnlineStore share the same access token.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/featureOnlineStores/{featureOnlineStoresId}/featureViews/{featureViewsId}:generateFetchAccessToken", +"httpMethod": "POST", +"id": "aiplatform.projects.locations.featureOnlineStores.featureViews.generateFetchAccessToken", +"parameterOrder": [ +"featureView" +], +"parameters": { +"featureView": { +"description": "FeatureView resource format `projects/{project}/locations/{location}/featureOnlineStores/{featureOnlineStore}/featureViews/{featureView}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/featureOnlineStores/[^/]+/featureViews/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+featureView}:generateFetchAccessToken", +"request": { +"$ref": "GoogleCloudAiplatformV1GenerateFetchAccessTokenRequest" +}, +"response": { +"$ref": "GoogleCloudAiplatformV1GenerateFetchAccessTokenResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets details of a single FeatureView.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/featureOnlineStores/{featureOnlineStoresId}/featureViews/{featureViewsId}", +"httpMethod": "GET", +"id": "aiplatform.projects.locations.featureOnlineStores.featureViews.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the FeatureView resource. Format: `projects/{project}/locations/{location}/featureOnlineStores/{feature_online_store}/featureViews/{feature_view}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/featureOnlineStores/[^/]+/featureViews/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleCloudAiplatformV1FeatureView" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"getIamPolicy": { +"description": "Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/featureOnlineStores/{featureOnlineStoresId}/featureViews/{featureViewsId}:getIamPolicy", +"httpMethod": "POST", +"id": "aiplatform.projects.locations.featureOnlineStores.featureViews.getIamPolicy", +"parameterOrder": [ +"resource" +], +"parameters": { +"options.requestedPolicyVersion": { +"description": "Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).", +"format": "int32", +"location": "query", +"type": "integer" +}, +"resource": { +"description": "REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/featureOnlineStores/[^/]+/featureViews/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+resource}:getIamPolicy", +"response": { +"$ref": "GoogleIamV1Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists FeatureViews in a given FeatureOnlineStore.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/featureOnlineStores/{featureOnlineStoresId}/featureViews", +"httpMethod": "GET", +"id": "aiplatform.projects.locations.featureOnlineStores.featureViews.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Lists the FeatureViews that match the filter expression. The following filters are supported: * `create_time`: Supports `=`, `!=`, `<`, `>`, `>=`, and `<=` comparisons. Values must be in RFC 3339 format. * `update_time`: Supports `=`, `!=`, `<`, `>`, `>=`, and `<=` comparisons. Values must be in RFC 3339 format. * `labels`: Supports key-value equality as well as key presence. Examples: * `create_time > \\\"2020-01-31T15:30:00.000000Z\\\" OR update_time > \\\"2020-01-31T15:30:00.000000Z\\\"` --> FeatureViews created or updated after 2020-01-31T15:30:00.000000Z. * `labels.active = yes AND labels.env = prod` --> FeatureViews having both (active: yes) and (env: prod) labels. * `labels.env: *` --> Any FeatureView which has a label with 'env' as the key.", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "A comma-separated list of fields to order by, sorted in ascending order. Use \"desc\" after a field name for descending. Supported fields: * `feature_view_id` * `create_time` * `update_time`", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "The maximum number of FeatureViews to return. The service may return fewer than this value. If unspecified, at most 1000 FeatureViews will be returned. The maximum value is 1000; any value greater than 1000 will be coerced to 1000.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A page token, received from a previous FeatureOnlineStoreAdminService.ListFeatureViews call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to FeatureOnlineStoreAdminService.ListFeatureViews must match the call that provided the page token.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The resource name of the FeatureOnlineStore to list FeatureViews. Format: `projects/{project}/locations/{location}/featureOnlineStores/{feature_online_store}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/featureOnlineStores/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/featureViews", +"response": { +"$ref": "GoogleCloudAiplatformV1ListFeatureViewsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates the parameters of a single FeatureView.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/featureOnlineStores/{featureOnlineStoresId}/featureViews/{featureViewsId}", +"httpMethod": "PATCH", +"id": "aiplatform.projects.locations.featureOnlineStores.featureViews.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Identifier. Name of the FeatureView. Format: `projects/{project}/locations/{location}/featureOnlineStores/{feature_online_store}/featureViews/{feature_view}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/featureOnlineStores/[^/]+/featureViews/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Field mask is used to specify the fields to be overwritten in the FeatureView resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then only the non-empty fields present in the request will be overwritten. Set the update_mask to `*` to override all fields. Updatable fields: * `labels` * `service_agent_type` * `big_query_source` * `big_query_source.uri` * `big_query_source.entity_id_columns` * `feature_registry_source` * `feature_registry_source.feature_groups` * `sync_config` * `sync_config.cron` * `optimized_config.automatic_resources`", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "GoogleCloudAiplatformV1FeatureView" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"searchNearestEntities": { +"description": "Search the nearest entities under a FeatureView. Search only works for indexable feature view; if a feature view isn't indexable, returns Invalid argument response.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/featureOnlineStores/{featureOnlineStoresId}/featureViews/{featureViewsId}:searchNearestEntities", +"httpMethod": "POST", +"id": "aiplatform.projects.locations.featureOnlineStores.featureViews.searchNearestEntities", +"parameterOrder": [ +"featureView" +], +"parameters": { +"featureView": { +"description": "Required. FeatureView resource format `projects/{project}/locations/{location}/featureOnlineStores/{featureOnlineStore}/featureViews/{featureView}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/featureOnlineStores/[^/]+/featureViews/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+featureView}:searchNearestEntities", +"request": { +"$ref": "GoogleCloudAiplatformV1SearchNearestEntitiesRequest" +}, +"response": { +"$ref": "GoogleCloudAiplatformV1SearchNearestEntitiesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"setIamPolicy": { +"description": "Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/featureOnlineStores/{featureOnlineStoresId}/featureViews/{featureViewsId}:setIamPolicy", +"httpMethod": "POST", +"id": "aiplatform.projects.locations.featureOnlineStores.featureViews.setIamPolicy", +"parameterOrder": [ +"resource" +], +"parameters": { +"resource": { +"description": "REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/featureOnlineStores/[^/]+/featureViews/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+resource}:setIamPolicy", +"request": { +"$ref": "GoogleIamV1SetIamPolicyRequest" +}, +"response": { +"$ref": "GoogleIamV1Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"sync": { +"description": "Triggers on-demand sync for the FeatureView.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/featureOnlineStores/{featureOnlineStoresId}/featureViews/{featureViewsId}:sync", +"httpMethod": "POST", +"id": "aiplatform.projects.locations.featureOnlineStores.featureViews.sync", +"parameterOrder": [ +"featureView" +], +"parameters": { +"featureView": { +"description": "Required. Format: `projects/{project}/locations/{location}/featureOnlineStores/{feature_online_store}/featureViews/{feature_view}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/featureOnlineStores/[^/]+/featureViews/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+featureView}:sync", +"request": { +"$ref": "GoogleCloudAiplatformV1SyncFeatureViewRequest" +}, +"response": { +"$ref": "GoogleCloudAiplatformV1SyncFeatureViewResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"testIamPermissions": { +"description": "Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may \"fail open\" without warning.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/featureOnlineStores/{featureOnlineStoresId}/featureViews/{featureViewsId}:testIamPermissions", +"httpMethod": "POST", +"id": "aiplatform.projects.locations.featureOnlineStores.featureViews.testIamPermissions", +"parameterOrder": [ +"resource" +], +"parameters": { +"permissions": { +"description": "The set of permissions to check for the `resource`. Permissions with wildcards (such as `*` or `storage.*`) are not allowed. For more information see [IAM Overview](https://cloud.google.com/iam/docs/overview#permissions).", +"location": "query", +"repeated": true, +"type": "string" +}, +"resource": { +"description": "REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/featureOnlineStores/[^/]+/featureViews/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+resource}:testIamPermissions", +"response": { +"$ref": "GoogleIamV1TestIamPermissionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"featureViewSyncs": { +"methods": { +"get": { +"description": "Gets details of a single FeatureViewSync.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/featureOnlineStores/{featureOnlineStoresId}/featureViews/{featureViewsId}/featureViewSyncs/{featureViewSyncsId}", +"httpMethod": "GET", +"id": "aiplatform.projects.locations.featureOnlineStores.featureViews.featureViewSyncs.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the FeatureViewSync resource. Format: `projects/{project}/locations/{location}/featureOnlineStores/{feature_online_store}/featureViews/{feature_view}/featureViewSyncs/{feature_view_sync}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/featureOnlineStores/[^/]+/featureViews/[^/]+/featureViewSyncs/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleCloudAiplatformV1FeatureViewSync" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists FeatureViewSyncs in a given FeatureView.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/featureOnlineStores/{featureOnlineStoresId}/featureViews/{featureViewsId}/featureViewSyncs", +"httpMethod": "GET", +"id": "aiplatform.projects.locations.featureOnlineStores.featureViews.featureViewSyncs.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Lists the FeatureViewSyncs that match the filter expression. The following filters are supported: * `create_time`: Supports `=`, `!=`, `<`, `>`, `>=`, and `<=` comparisons. Values must be in RFC 3339 format. Examples: * `create_time > \\\"2020-01-31T15:30:00.000000Z\\\"` --> FeatureViewSyncs created after 2020-01-31T15:30:00.000000Z.", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "A comma-separated list of fields to order by, sorted in ascending order. Use \"desc\" after a field name for descending. Supported fields: * `create_time`", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "The maximum number of FeatureViewSyncs to return. The service may return fewer than this value. If unspecified, at most 1000 FeatureViewSyncs will be returned. The maximum value is 1000; any value greater than 1000 will be coerced to 1000.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A page token, received from a previous FeatureOnlineStoreAdminService.ListFeatureViewSyncs call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to FeatureOnlineStoreAdminService.ListFeatureViewSyncs must match the call that provided the page token.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The resource name of the FeatureView to list FeatureViewSyncs. Format: `projects/{project}/locations/{location}/featureOnlineStores/{feature_online_store}/featureViews/{feature_view}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/featureOnlineStores/[^/]+/featureViews/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/featureViewSyncs", +"response": { +"$ref": "GoogleCloudAiplatformV1ListFeatureViewSyncsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"operations": { +"methods": { +"delete": { +"description": "Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/featureOnlineStores/{featureOnlineStoresId}/featureViews/{featureViewsId}/operations/{operationsId}", +"httpMethod": "DELETE", +"id": "aiplatform.projects.locations.featureOnlineStores.featureViews.operations.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be deleted.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/featureOnlineStores/[^/]+/featureViews/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/featureOnlineStores/{featureOnlineStoresId}/featureViews/{featureViewsId}/operations/{operationsId}", +"httpMethod": "GET", +"id": "aiplatform.projects.locations.featureOnlineStores.featureViews.operations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/featureOnlineStores/[^/]+/featureViews/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"listWait": { +"description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/featureOnlineStores/{featureOnlineStoresId}/featureViews/{featureViewsId}/operations/{operationsId}:wait", +"httpMethod": "GET", +"id": "aiplatform.projects.locations.featureOnlineStores.featureViews.operations.listWait", +"parameterOrder": [ +"name" +], +"parameters": { +"filter": { +"description": "The standard list filter.", +"location": "query", +"type": "string" +}, +"name": { +"description": "The name of the operation's parent resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/featureOnlineStores/[^/]+/featureViews/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The standard list page size.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The standard list page token.", +"location": "query", +"type": "string" +}, +"returnPartialSuccess": { +"description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `\"projects/example/locations/-\"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1/{+name}:wait", +"response": { +"$ref": "GoogleLongrunningListOperationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"wait": { +"description": "Waits until the specified long-running operation is done or reaches at most a specified timeout, returning the latest state. If the operation is already done, the latest state is immediately returned. If the timeout specified is greater than the default HTTP/RPC timeout, the HTTP/RPC timeout is used. If the server does not support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Note that this method is on a best-effort basis. It may return the latest state before the specified timeout (including immediately), meaning even an immediate response is no guarantee that the operation is done.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/featureOnlineStores/{featureOnlineStoresId}/featureViews/{featureViewsId}/operations/{operationsId}:wait", +"httpMethod": "POST", +"id": "aiplatform.projects.locations.featureOnlineStores.featureViews.operations.wait", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to wait on.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/featureOnlineStores/[^/]+/featureViews/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +}, +"timeout": { +"description": "The maximum duration to wait before timing out. If left blank, the wait will be at most the time permitted by the underlying HTTP/RPC protocol. If RPC context deadline is also specified, the shorter one will be used.", +"format": "google-duration", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}:wait", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +}, +"operations": { +"methods": { +"delete": { +"description": "Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/featureOnlineStores/{featureOnlineStoresId}/operations/{operationsId}", +"httpMethod": "DELETE", +"id": "aiplatform.projects.locations.featureOnlineStores.operations.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be deleted.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/featureOnlineStores/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/featureOnlineStores/{featureOnlineStoresId}/operations/{operationsId}", +"httpMethod": "GET", +"id": "aiplatform.projects.locations.featureOnlineStores.operations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/featureOnlineStores/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"listWait": { +"description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/featureOnlineStores/{featureOnlineStoresId}/operations/{operationsId}:wait", +"httpMethod": "GET", +"id": "aiplatform.projects.locations.featureOnlineStores.operations.listWait", +"parameterOrder": [ +"name" +], +"parameters": { +"filter": { +"description": "The standard list filter.", +"location": "query", +"type": "string" +}, +"name": { +"description": "The name of the operation's parent resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/featureOnlineStores/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The standard list page size.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The standard list page token.", +"location": "query", +"type": "string" +}, +"returnPartialSuccess": { +"description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `\"projects/example/locations/-\"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1/{+name}:wait", +"response": { +"$ref": "GoogleLongrunningListOperationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"wait": { +"description": "Waits until the specified long-running operation is done or reaches at most a specified timeout, returning the latest state. If the operation is already done, the latest state is immediately returned. If the timeout specified is greater than the default HTTP/RPC timeout, the HTTP/RPC timeout is used. If the server does not support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Note that this method is on a best-effort basis. It may return the latest state before the specified timeout (including immediately), meaning even an immediate response is no guarantee that the operation is done.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/featureOnlineStores/{featureOnlineStoresId}/operations/{operationsId}:wait", +"httpMethod": "POST", +"id": "aiplatform.projects.locations.featureOnlineStores.operations.wait", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to wait on.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/featureOnlineStores/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +}, +"timeout": { +"description": "The maximum duration to wait before timing out. If left blank, the wait will be at most the time permitted by the underlying HTTP/RPC protocol. If RPC context deadline is also specified, the shorter one will be used.", +"format": "google-duration", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}:wait", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +}, +"featurestores": { +"methods": { +"batchReadFeatureValues": { +"description": "Batch reads Feature values from a Featurestore. This API enables batch reading Feature values, where each read instance in the batch may read Feature values of entities from one or more EntityTypes. Point-in-time correctness is guaranteed for Feature values of each read instance as of each instance's read timestamp.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/featurestores/{featurestoresId}:batchReadFeatureValues", +"httpMethod": "POST", +"id": "aiplatform.projects.locations.featurestores.batchReadFeatureValues", +"parameterOrder": [ +"featurestore" +], +"parameters": { +"featurestore": { +"description": "Required. The resource name of the Featurestore from which to query Feature values. Format: `projects/{project}/locations/{location}/featurestores/{featurestore}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/featurestores/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+featurestore}:batchReadFeatureValues", +"request": { +"$ref": "GoogleCloudAiplatformV1BatchReadFeatureValuesRequest" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"create": { +"description": "Creates a new Featurestore in a given project and location.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/featurestores", +"httpMethod": "POST", +"id": "aiplatform.projects.locations.featurestores.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"featurestoreId": { +"description": "Required. The ID to use for this Featurestore, which will become the final component of the Featurestore's resource name. This value may be up to 60 characters, and valid characters are `[a-z0-9_]`. The first character cannot be a number. The value must be unique within the project and location.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The resource name of the Location to create Featurestores. Format: `projects/{project}/locations/{location}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/featurestores", +"request": { +"$ref": "GoogleCloudAiplatformV1Featurestore" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a single Featurestore. The Featurestore must not contain any EntityTypes or `force` must be set to true for the request to succeed.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/featurestores/{featurestoresId}", +"httpMethod": "DELETE", +"id": "aiplatform.projects.locations.featurestores.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"force": { +"description": "If set to true, any EntityTypes and Features for this Featurestore will also be deleted. (Otherwise, the request will only work if the Featurestore has no EntityTypes.)", +"location": "query", +"type": "boolean" +}, +"name": { +"description": "Required. The name of the Featurestore to be deleted. Format: `projects/{project}/locations/{location}/featurestores/{featurestore}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/featurestores/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets details of a single Featurestore.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/featurestores/{featurestoresId}", +"httpMethod": "GET", +"id": "aiplatform.projects.locations.featurestores.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the Featurestore resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/featurestores/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleCloudAiplatformV1Featurestore" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"getIamPolicy": { +"description": "Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/featurestores/{featurestoresId}:getIamPolicy", +"httpMethod": "POST", +"id": "aiplatform.projects.locations.featurestores.getIamPolicy", +"parameterOrder": [ +"resource" +], +"parameters": { +"options.requestedPolicyVersion": { +"description": "Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).", +"format": "int32", +"location": "query", +"type": "integer" +}, +"resource": { +"description": "REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/featurestores/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+resource}:getIamPolicy", +"response": { +"$ref": "GoogleIamV1Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists Featurestores in a given project and location.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/featurestores", +"httpMethod": "GET", +"id": "aiplatform.projects.locations.featurestores.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Lists the featurestores that match the filter expression. The following fields are supported: * `create_time`: Supports `=`, `!=`, `<`, `>`, `<=`, and `>=` comparisons. Values must be in RFC 3339 format. * `update_time`: Supports `=`, `!=`, `<`, `>`, `<=`, and `>=` comparisons. Values must be in RFC 3339 format. * `online_serving_config.fixed_node_count`: Supports `=`, `!=`, `<`, `>`, `<=`, and `>=` comparisons. * `labels`: Supports key-value equality and key presence. Examples: * `create_time > \"2020-01-01\" OR update_time > \"2020-01-01\"` Featurestores created or updated after 2020-01-01. * `labels.env = \"prod\"` Featurestores with label \"env\" set to \"prod\".", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "A comma-separated list of fields to order by, sorted in ascending order. Use \"desc\" after a field name for descending. Supported Fields: * `create_time` * `update_time` * `online_serving_config.fixed_node_count`", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "The maximum number of Featurestores to return. The service may return fewer than this value. If unspecified, at most 100 Featurestores will be returned. The maximum value is 100; any value greater than 100 will be coerced to 100.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A page token, received from a previous FeaturestoreService.ListFeaturestores call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to FeaturestoreService.ListFeaturestores must match the call that provided the page token.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The resource name of the Location to list Featurestores. Format: `projects/{project}/locations/{location}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +}, +"readMask": { +"description": "Mask specifying which fields to read.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+parent}/featurestores", +"response": { +"$ref": "GoogleCloudAiplatformV1ListFeaturestoresResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates the parameters of a single Featurestore.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/featurestores/{featurestoresId}", +"httpMethod": "PATCH", +"id": "aiplatform.projects.locations.featurestores.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Output only. Name of the Featurestore. Format: `projects/{project}/locations/{location}/featurestores/{featurestore}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/featurestores/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Field mask is used to specify the fields to be overwritten in the Featurestore resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then only the non-empty fields present in the request will be overwritten. Set the update_mask to `*` to override all fields. Updatable fields: * `labels` * `online_serving_config.fixed_node_count` * `online_serving_config.scaling` * `online_storage_ttl_days`", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "GoogleCloudAiplatformV1Featurestore" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"searchFeatures": { +"description": "Searches Features matching a query in a given project.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/featurestores:searchFeatures", +"httpMethod": "GET", +"id": "aiplatform.projects.locations.featurestores.searchFeatures", +"parameterOrder": [ +"location" +], +"parameters": { +"location": { +"description": "Required. The resource name of the Location to search Features. Format: `projects/{project}/locations/{location}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The maximum number of Features to return. The service may return fewer than this value. If unspecified, at most 100 Features will be returned. The maximum value is 100; any value greater than 100 will be coerced to 100.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A page token, received from a previous FeaturestoreService.SearchFeatures call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to FeaturestoreService.SearchFeatures, except `page_size`, must match the call that provided the page token.", +"location": "query", +"type": "string" +}, +"query": { +"description": "Query string that is a conjunction of field-restricted queries and/or field-restricted filters. Field-restricted queries and filters can be combined using `AND` to form a conjunction. A field query is in the form FIELD:QUERY. This implicitly checks if QUERY exists as a substring within Feature's FIELD. The QUERY and the FIELD are converted to a sequence of words (i.e. tokens) for comparison. This is done by: * Removing leading/trailing whitespace and tokenizing the search value. Characters that are not one of alphanumeric `[a-zA-Z0-9]`, underscore `_`, or asterisk `*` are treated as delimiters for tokens. `*` is treated as a wildcard that matches characters within a token. * Ignoring case. * Prepending an asterisk to the first and appending an asterisk to the last token in QUERY. A QUERY must be either a singular token or a phrase. A phrase is one or multiple words enclosed in double quotation marks (\"). With phrases, the order of the words is important. Words in the phrase must be matching in order and consecutively. Supported FIELDs for field-restricted queries: * `feature_id` * `description` * `entity_type_id` Examples: * `feature_id: foo` --> Matches a Feature with ID containing the substring `foo` (eg. `foo`, `foofeature`, `barfoo`). * `feature_id: foo*feature` --> Matches a Feature with ID containing the substring `foo*feature` (eg. `foobarfeature`). * `feature_id: foo AND description: bar` --> Matches a Feature with ID containing the substring `foo` and description containing the substring `bar`. Besides field queries, the following exact-match filters are supported. The exact-match filters do not support wildcards. Unlike field-restricted queries, exact-match filters are case-sensitive. * `feature_id`: Supports = comparisons. * `description`: Supports = comparisons. Multi-token filters should be enclosed in quotes. * `entity_type_id`: Supports = comparisons. * `value_type`: Supports = and != comparisons. * `labels`: Supports key-value equality as well as key presence. * `featurestore_id`: Supports = comparisons. Examples: * `description = \"foo bar\"` --> Any Feature with description exactly equal to `foo bar` * `value_type = DOUBLE` --> Features whose type is DOUBLE. * `labels.active = yes AND labels.env = prod` --> Features having both (active: yes) and (env: prod) labels. * `labels.env: *` --> Any Feature which has a label with `env` as the key.", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+location}/featurestores:searchFeatures", +"response": { +"$ref": "GoogleCloudAiplatformV1SearchFeaturesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"setIamPolicy": { +"description": "Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/featurestores/{featurestoresId}:setIamPolicy", +"httpMethod": "POST", +"id": "aiplatform.projects.locations.featurestores.setIamPolicy", +"parameterOrder": [ +"resource" +], +"parameters": { +"resource": { +"description": "REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/featurestores/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+resource}:setIamPolicy", +"request": { +"$ref": "GoogleIamV1SetIamPolicyRequest" +}, +"response": { +"$ref": "GoogleIamV1Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"testIamPermissions": { +"description": "Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may \"fail open\" without warning.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/featurestores/{featurestoresId}:testIamPermissions", +"httpMethod": "POST", +"id": "aiplatform.projects.locations.featurestores.testIamPermissions", +"parameterOrder": [ +"resource" +], +"parameters": { +"permissions": { +"description": "The set of permissions to check for the `resource`. Permissions with wildcards (such as `*` or `storage.*`) are not allowed. For more information see [IAM Overview](https://cloud.google.com/iam/docs/overview#permissions).", +"location": "query", +"repeated": true, +"type": "string" +}, +"resource": { +"description": "REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/featurestores/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+resource}:testIamPermissions", +"response": { +"$ref": "GoogleIamV1TestIamPermissionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"entityTypes": { +"methods": { +"create": { +"description": "Creates a new EntityType in a given Featurestore.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/featurestores/{featurestoresId}/entityTypes", +"httpMethod": "POST", +"id": "aiplatform.projects.locations.featurestores.entityTypes.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"entityTypeId": { +"description": "Required. The ID to use for the EntityType, which will become the final component of the EntityType's resource name. This value may be up to 60 characters, and valid characters are `[a-z0-9_]`. The first character cannot be a number. The value must be unique within a featurestore.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The resource name of the Featurestore to create EntityTypes. Format: `projects/{project}/locations/{location}/featurestores/{featurestore}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/featurestores/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/entityTypes", +"request": { +"$ref": "GoogleCloudAiplatformV1EntityType" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a single EntityType. The EntityType must not have any Features or `force` must be set to true for the request to succeed.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/featurestores/{featurestoresId}/entityTypes/{entityTypesId}", +"httpMethod": "DELETE", +"id": "aiplatform.projects.locations.featurestores.entityTypes.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"force": { +"description": "If set to true, any Features for this EntityType will also be deleted. (Otherwise, the request will only work if the EntityType has no Features.)", +"location": "query", +"type": "boolean" +}, +"name": { +"description": "Required. The name of the EntityType to be deleted. Format: `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/featurestores/[^/]+/entityTypes/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"deleteFeatureValues": { +"description": "Delete Feature values from Featurestore. The progress of the deletion is tracked by the returned operation. The deleted feature values are guaranteed to be invisible to subsequent read operations after the operation is marked as successfully done. If a delete feature values operation fails, the feature values returned from reads and exports may be inconsistent. If consistency is required, the caller must retry the same delete request again and wait till the new operation returned is marked as successfully done.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/featurestores/{featurestoresId}/entityTypes/{entityTypesId}:deleteFeatureValues", +"httpMethod": "POST", +"id": "aiplatform.projects.locations.featurestores.entityTypes.deleteFeatureValues", +"parameterOrder": [ +"entityType" +], +"parameters": { +"entityType": { +"description": "Required. The resource name of the EntityType grouping the Features for which values are being deleted from. Format: `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entityType}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/featurestores/[^/]+/entityTypes/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+entityType}:deleteFeatureValues", +"request": { +"$ref": "GoogleCloudAiplatformV1DeleteFeatureValuesRequest" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"exportFeatureValues": { +"description": "Exports Feature values from all the entities of a target EntityType.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/featurestores/{featurestoresId}/entityTypes/{entityTypesId}:exportFeatureValues", +"httpMethod": "POST", +"id": "aiplatform.projects.locations.featurestores.entityTypes.exportFeatureValues", +"parameterOrder": [ +"entityType" +], +"parameters": { +"entityType": { +"description": "Required. The resource name of the EntityType from which to export Feature values. Format: `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/featurestores/[^/]+/entityTypes/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+entityType}:exportFeatureValues", +"request": { +"$ref": "GoogleCloudAiplatformV1ExportFeatureValuesRequest" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets details of a single EntityType.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/featurestores/{featurestoresId}/entityTypes/{entityTypesId}", +"httpMethod": "GET", +"id": "aiplatform.projects.locations.featurestores.entityTypes.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the EntityType resource. Format: `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/featurestores/[^/]+/entityTypes/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleCloudAiplatformV1EntityType" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"getIamPolicy": { +"description": "Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/featurestores/{featurestoresId}/entityTypes/{entityTypesId}:getIamPolicy", +"httpMethod": "POST", +"id": "aiplatform.projects.locations.featurestores.entityTypes.getIamPolicy", +"parameterOrder": [ +"resource" +], +"parameters": { +"options.requestedPolicyVersion": { +"description": "Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).", +"format": "int32", +"location": "query", +"type": "integer" +}, +"resource": { +"description": "REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/featurestores/[^/]+/entityTypes/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+resource}:getIamPolicy", +"response": { +"$ref": "GoogleIamV1Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"importFeatureValues": { +"description": "Imports Feature values into the Featurestore from a source storage. The progress of the import is tracked by the returned operation. The imported features are guaranteed to be visible to subsequent read operations after the operation is marked as successfully done. If an import operation fails, the Feature values returned from reads and exports may be inconsistent. If consistency is required, the caller must retry the same import request again and wait till the new operation returned is marked as successfully done. There are also scenarios where the caller can cause inconsistency. - Source data for import contains multiple distinct Feature values for the same entity ID and timestamp. - Source is modified during an import. This includes adding, updating, or removing source data and/or metadata. Examples of updating metadata include but are not limited to changing storage location, storage class, or retention policy. - Online serving cluster is under-provisioned.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/featurestores/{featurestoresId}/entityTypes/{entityTypesId}:importFeatureValues", +"httpMethod": "POST", +"id": "aiplatform.projects.locations.featurestores.entityTypes.importFeatureValues", +"parameterOrder": [ +"entityType" +], +"parameters": { +"entityType": { +"description": "Required. The resource name of the EntityType grouping the Features for which values are being imported. Format: `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entityType}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/featurestores/[^/]+/entityTypes/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+entityType}:importFeatureValues", +"request": { +"$ref": "GoogleCloudAiplatformV1ImportFeatureValuesRequest" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists EntityTypes in a given Featurestore.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/featurestores/{featurestoresId}/entityTypes", +"httpMethod": "GET", +"id": "aiplatform.projects.locations.featurestores.entityTypes.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Lists the EntityTypes that match the filter expression. The following filters are supported: * `create_time`: Supports `=`, `!=`, `<`, `>`, `>=`, and `<=` comparisons. Values must be in RFC 3339 format. * `update_time`: Supports `=`, `!=`, `<`, `>`, `>=`, and `<=` comparisons. Values must be in RFC 3339 format. * `labels`: Supports key-value equality as well as key presence. Examples: * `create_time > \\\"2020-01-31T15:30:00.000000Z\\\" OR update_time > \\\"2020-01-31T15:30:00.000000Z\\\"` --> EntityTypes created or updated after 2020-01-31T15:30:00.000000Z. * `labels.active = yes AND labels.env = prod` --> EntityTypes having both (active: yes) and (env: prod) labels. * `labels.env: *` --> Any EntityType which has a label with 'env' as the key.", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "A comma-separated list of fields to order by, sorted in ascending order. Use \"desc\" after a field name for descending. Supported fields: * `entity_type_id` * `create_time` * `update_time`", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "The maximum number of EntityTypes to return. The service may return fewer than this value. If unspecified, at most 1000 EntityTypes will be returned. The maximum value is 1000; any value greater than 1000 will be coerced to 1000.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A page token, received from a previous FeaturestoreService.ListEntityTypes call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to FeaturestoreService.ListEntityTypes must match the call that provided the page token.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The resource name of the Featurestore to list EntityTypes. Format: `projects/{project}/locations/{location}/featurestores/{featurestore}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/featurestores/[^/]+$", +"required": true, +"type": "string" +}, +"readMask": { +"description": "Mask specifying which fields to read.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+parent}/entityTypes", +"response": { +"$ref": "GoogleCloudAiplatformV1ListEntityTypesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates the parameters of a single EntityType.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/featurestores/{featurestoresId}/entityTypes/{entityTypesId}", +"httpMethod": "PATCH", +"id": "aiplatform.projects.locations.featurestores.entityTypes.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Immutable. Name of the EntityType. Format: `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}` The last part entity_type is assigned by the client. The entity_type can be up to 64 characters long and can consist only of ASCII Latin letters A-Z and a-z and underscore(_), and ASCII digits 0-9 starting with a letter. The value will be unique given a featurestore.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/featurestores/[^/]+/entityTypes/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Field mask is used to specify the fields to be overwritten in the EntityType resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then only the non-empty fields present in the request will be overwritten. Set the update_mask to `*` to override all fields. Updatable fields: * `description` * `labels` * `monitoring_config.snapshot_analysis.disabled` * `monitoring_config.snapshot_analysis.monitoring_interval_days` * `monitoring_config.snapshot_analysis.staleness_days` * `monitoring_config.import_features_analysis.state` * `monitoring_config.import_features_analysis.anomaly_detection_baseline` * `monitoring_config.numerical_threshold_config.value` * `monitoring_config.categorical_threshold_config.value` * `offline_storage_ttl_days`", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "GoogleCloudAiplatformV1EntityType" +}, +"response": { +"$ref": "GoogleCloudAiplatformV1EntityType" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"readFeatureValues": { +"description": "Reads Feature values of a specific entity of an EntityType. For reading feature values of multiple entities of an EntityType, please use StreamingReadFeatureValues.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/featurestores/{featurestoresId}/entityTypes/{entityTypesId}:readFeatureValues", +"httpMethod": "POST", +"id": "aiplatform.projects.locations.featurestores.entityTypes.readFeatureValues", +"parameterOrder": [ +"entityType" +], +"parameters": { +"entityType": { +"description": "Required. The resource name of the EntityType for the entity being read. Value format: `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entityType}`. For example, for a machine learning model predicting user clicks on a website, an EntityType ID could be `user`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/featurestores/[^/]+/entityTypes/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+entityType}:readFeatureValues", +"request": { +"$ref": "GoogleCloudAiplatformV1ReadFeatureValuesRequest" +}, +"response": { +"$ref": "GoogleCloudAiplatformV1ReadFeatureValuesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"setIamPolicy": { +"description": "Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/featurestores/{featurestoresId}/entityTypes/{entityTypesId}:setIamPolicy", +"httpMethod": "POST", +"id": "aiplatform.projects.locations.featurestores.entityTypes.setIamPolicy", +"parameterOrder": [ +"resource" +], +"parameters": { +"resource": { +"description": "REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/featurestores/[^/]+/entityTypes/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+resource}:setIamPolicy", +"request": { +"$ref": "GoogleIamV1SetIamPolicyRequest" +}, +"response": { +"$ref": "GoogleIamV1Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"streamingReadFeatureValues": { +"description": "Reads Feature values for multiple entities. Depending on their size, data for different entities may be broken up across multiple responses.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/featurestores/{featurestoresId}/entityTypes/{entityTypesId}:streamingReadFeatureValues", +"httpMethod": "POST", +"id": "aiplatform.projects.locations.featurestores.entityTypes.streamingReadFeatureValues", +"parameterOrder": [ +"entityType" +], +"parameters": { +"entityType": { +"description": "Required. The resource name of the entities' type. Value format: `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entityType}`. For example, for a machine learning model predicting user clicks on a website, an EntityType ID could be `user`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/featurestores/[^/]+/entityTypes/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+entityType}:streamingReadFeatureValues", +"request": { +"$ref": "GoogleCloudAiplatformV1StreamingReadFeatureValuesRequest" +}, +"response": { +"$ref": "GoogleCloudAiplatformV1ReadFeatureValuesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"testIamPermissions": { +"description": "Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may \"fail open\" without warning.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/featurestores/{featurestoresId}/entityTypes/{entityTypesId}:testIamPermissions", +"httpMethod": "POST", +"id": "aiplatform.projects.locations.featurestores.entityTypes.testIamPermissions", +"parameterOrder": [ +"resource" +], +"parameters": { +"permissions": { +"description": "The set of permissions to check for the `resource`. Permissions with wildcards (such as `*` or `storage.*`) are not allowed. For more information see [IAM Overview](https://cloud.google.com/iam/docs/overview#permissions).", +"location": "query", +"repeated": true, +"type": "string" +}, +"resource": { +"description": "REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/featurestores/[^/]+/entityTypes/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+resource}:testIamPermissions", +"response": { +"$ref": "GoogleIamV1TestIamPermissionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"writeFeatureValues": { +"description": "Writes Feature values of one or more entities of an EntityType. The Feature values are merged into existing entities if any. The Feature values to be written must have timestamp within the online storage retention.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/featurestores/{featurestoresId}/entityTypes/{entityTypesId}:writeFeatureValues", +"httpMethod": "POST", +"id": "aiplatform.projects.locations.featurestores.entityTypes.writeFeatureValues", +"parameterOrder": [ +"entityType" +], +"parameters": { +"entityType": { +"description": "Required. The resource name of the EntityType for the entities being written. Value format: `projects/{project}/locations/{location}/featurestores/ {featurestore}/entityTypes/{entityType}`. For example, for a machine learning model predicting user clicks on a website, an EntityType ID could be `user`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/featurestores/[^/]+/entityTypes/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+entityType}:writeFeatureValues", +"request": { +"$ref": "GoogleCloudAiplatformV1WriteFeatureValuesRequest" +}, +"response": { +"$ref": "GoogleCloudAiplatformV1WriteFeatureValuesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"features": { +"methods": { +"batchCreate": { +"description": "Creates a batch of Features in a given EntityType.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/featurestores/{featurestoresId}/entityTypes/{entityTypesId}/features:batchCreate", +"httpMethod": "POST", +"id": "aiplatform.projects.locations.featurestores.entityTypes.features.batchCreate", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The resource name of the EntityType/FeatureGroup to create the batch of Features under. Format: `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}` `projects/{project}/locations/{location}/featureGroups/{feature_group}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/featurestores/[^/]+/entityTypes/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/features:batchCreate", +"request": { +"$ref": "GoogleCloudAiplatformV1BatchCreateFeaturesRequest" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"create": { +"description": "Creates a new Feature in a given EntityType.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/featurestores/{featurestoresId}/entityTypes/{entityTypesId}/features", +"httpMethod": "POST", +"id": "aiplatform.projects.locations.featurestores.entityTypes.features.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"featureId": { +"description": "Required. The ID to use for the Feature, which will become the final component of the Feature's resource name. This value may be up to 128 characters, and valid characters are `[a-z0-9_]`. The first character cannot be a number. The value must be unique within an EntityType/FeatureGroup.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The resource name of the EntityType or FeatureGroup to create a Feature. Format for entity_type as parent: `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}` Format for feature_group as parent: `projects/{project}/locations/{location}/featureGroups/{feature_group}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/featurestores/[^/]+/entityTypes/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/features", +"request": { +"$ref": "GoogleCloudAiplatformV1Feature" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a single Feature.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/featurestores/{featurestoresId}/entityTypes/{entityTypesId}/features/{featuresId}", +"httpMethod": "DELETE", +"id": "aiplatform.projects.locations.featurestores.entityTypes.features.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the Features to be deleted. Format: `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}/features/{feature}` `projects/{project}/locations/{location}/featureGroups/{feature_group}/features/{feature}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/featurestores/[^/]+/entityTypes/[^/]+/features/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets details of a single Feature.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/featurestores/{featurestoresId}/entityTypes/{entityTypesId}/features/{featuresId}", +"httpMethod": "GET", +"id": "aiplatform.projects.locations.featurestores.entityTypes.features.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the Feature resource. Format for entity_type as parent: `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}` Format for feature_group as parent: `projects/{project}/locations/{location}/featureGroups/{feature_group}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/featurestores/[^/]+/entityTypes/[^/]+/features/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleCloudAiplatformV1Feature" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists Features in a given EntityType.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/featurestores/{featurestoresId}/entityTypes/{entityTypesId}/features", +"httpMethod": "GET", +"id": "aiplatform.projects.locations.featurestores.entityTypes.features.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Lists the Features that match the filter expression. The following filters are supported: * `value_type`: Supports = and != comparisons. * `create_time`: Supports =, !=, <, >, >=, and <= comparisons. Values must be in RFC 3339 format. * `update_time`: Supports =, !=, <, >, >=, and <= comparisons. Values must be in RFC 3339 format. * `labels`: Supports key-value equality as well as key presence. Examples: * `value_type = DOUBLE` --> Features whose type is DOUBLE. * `create_time > \\\"2020-01-31T15:30:00.000000Z\\\" OR update_time > \\\"2020-01-31T15:30:00.000000Z\\\"` --> EntityTypes created or updated after 2020-01-31T15:30:00.000000Z. * `labels.active = yes AND labels.env = prod` --> Features having both (active: yes) and (env: prod) labels. * `labels.env: *` --> Any Feature which has a label with 'env' as the key.", +"location": "query", +"type": "string" +}, +"latestStatsCount": { +"description": "Only applicable for Vertex AI Feature Store (Legacy). If set, return the most recent ListFeaturesRequest.latest_stats_count of stats for each Feature in response. Valid value is [0, 10]. If number of stats exists < ListFeaturesRequest.latest_stats_count, return all existing stats.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"orderBy": { +"description": "A comma-separated list of fields to order by, sorted in ascending order. Use \"desc\" after a field name for descending. Supported fields: * `feature_id` * `value_type` (Not supported for FeatureRegistry Feature) * `create_time` * `update_time`", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "The maximum number of Features to return. The service may return fewer than this value. If unspecified, at most 1000 Features will be returned. The maximum value is 1000; any value greater than 1000 will be coerced to 1000.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A page token, received from a previous FeaturestoreService.ListFeatures call or FeatureRegistryService.ListFeatures call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to FeaturestoreService.ListFeatures or FeatureRegistryService.ListFeatures must match the call that provided the page token.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The resource name of the Location to list Features. Format for entity_type as parent: `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}` Format for feature_group as parent: `projects/{project}/locations/{location}/featureGroups/{feature_group}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/featurestores/[^/]+/entityTypes/[^/]+$", +"required": true, +"type": "string" +}, +"readMask": { +"description": "Mask specifying which fields to read.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+parent}/features", +"response": { +"$ref": "GoogleCloudAiplatformV1ListFeaturesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates the parameters of a single Feature.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/featurestores/{featurestoresId}/entityTypes/{entityTypesId}/features/{featuresId}", +"httpMethod": "PATCH", +"id": "aiplatform.projects.locations.featurestores.entityTypes.features.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Immutable. Name of the Feature. Format: `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}/features/{feature}` `projects/{project}/locations/{location}/featureGroups/{feature_group}/features/{feature}` The last part feature is assigned by the client. The feature can be up to 64 characters long and can consist only of ASCII Latin letters A-Z and a-z, underscore(_), and ASCII digits 0-9 starting with a letter. The value will be unique given an entity type.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/featurestores/[^/]+/entityTypes/[^/]+/features/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Field mask is used to specify the fields to be overwritten in the Features resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then only the non-empty fields present in the request will be overwritten. Set the update_mask to `*` to override all fields. Updatable fields: * `description` * `labels` * `disable_monitoring` (Not supported for FeatureRegistryService Feature) * `point_of_contact` (Not supported for FeaturestoreService FeatureStore)", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "GoogleCloudAiplatformV1Feature" +}, +"response": { +"$ref": "GoogleCloudAiplatformV1Feature" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"operations": { +"methods": { +"cancel": { +"description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/featurestores/{featurestoresId}/entityTypes/{entityTypesId}/features/{featuresId}/operations/{operationsId}:cancel", +"httpMethod": "POST", +"id": "aiplatform.projects.locations.featurestores.entityTypes.features.operations.cancel", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be cancelled.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/featurestores/[^/]+/entityTypes/[^/]+/features/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:cancel", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/featurestores/{featurestoresId}/entityTypes/{entityTypesId}/features/{featuresId}/operations/{operationsId}", +"httpMethod": "DELETE", +"id": "aiplatform.projects.locations.featurestores.entityTypes.features.operations.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be deleted.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/featurestores/[^/]+/entityTypes/[^/]+/features/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/featurestores/{featurestoresId}/entityTypes/{entityTypesId}/features/{featuresId}/operations/{operationsId}", +"httpMethod": "GET", +"id": "aiplatform.projects.locations.featurestores.entityTypes.features.operations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/featurestores/[^/]+/entityTypes/[^/]+/features/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/featurestores/{featurestoresId}/entityTypes/{entityTypesId}/features/{featuresId}/operations", +"httpMethod": "GET", +"id": "aiplatform.projects.locations.featurestores.entityTypes.features.operations.list", +"parameterOrder": [ +"name" +], +"parameters": { +"filter": { +"description": "The standard list filter.", +"location": "query", +"type": "string" +}, +"name": { +"description": "The name of the operation's parent resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/featurestores/[^/]+/entityTypes/[^/]+/features/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The standard list page size.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The standard list page token.", +"location": "query", +"type": "string" +}, +"returnPartialSuccess": { +"description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `\"projects/example/locations/-\"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1/{+name}/operations", +"response": { +"$ref": "GoogleLongrunningListOperationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"wait": { +"description": "Waits until the specified long-running operation is done or reaches at most a specified timeout, returning the latest state. If the operation is already done, the latest state is immediately returned. If the timeout specified is greater than the default HTTP/RPC timeout, the HTTP/RPC timeout is used. If the server does not support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Note that this method is on a best-effort basis. It may return the latest state before the specified timeout (including immediately), meaning even an immediate response is no guarantee that the operation is done.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/featurestores/{featurestoresId}/entityTypes/{entityTypesId}/features/{featuresId}/operations/{operationsId}:wait", +"httpMethod": "POST", +"id": "aiplatform.projects.locations.featurestores.entityTypes.features.operations.wait", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to wait on.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/featurestores/[^/]+/entityTypes/[^/]+/features/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +}, +"timeout": { +"description": "The maximum duration to wait before timing out. If left blank, the wait will be at most the time permitted by the underlying HTTP/RPC protocol. If RPC context deadline is also specified, the shorter one will be used.", +"format": "google-duration", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}:wait", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +}, +"operations": { +"methods": { +"cancel": { +"description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/featurestores/{featurestoresId}/entityTypes/{entityTypesId}/operations/{operationsId}:cancel", +"httpMethod": "POST", +"id": "aiplatform.projects.locations.featurestores.entityTypes.operations.cancel", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be cancelled.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/featurestores/[^/]+/entityTypes/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:cancel", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/featurestores/{featurestoresId}/entityTypes/{entityTypesId}/operations/{operationsId}", +"httpMethod": "DELETE", +"id": "aiplatform.projects.locations.featurestores.entityTypes.operations.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be deleted.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/featurestores/[^/]+/entityTypes/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/featurestores/{featurestoresId}/entityTypes/{entityTypesId}/operations/{operationsId}", +"httpMethod": "GET", +"id": "aiplatform.projects.locations.featurestores.entityTypes.operations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/featurestores/[^/]+/entityTypes/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/featurestores/{featurestoresId}/entityTypes/{entityTypesId}/operations", +"httpMethod": "GET", +"id": "aiplatform.projects.locations.featurestores.entityTypes.operations.list", +"parameterOrder": [ +"name" +], +"parameters": { +"filter": { +"description": "The standard list filter.", +"location": "query", +"type": "string" +}, +"name": { +"description": "The name of the operation's parent resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/featurestores/[^/]+/entityTypes/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The standard list page size.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The standard list page token.", +"location": "query", +"type": "string" +}, +"returnPartialSuccess": { +"description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `\"projects/example/locations/-\"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1/{+name}/operations", +"response": { +"$ref": "GoogleLongrunningListOperationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"wait": { +"description": "Waits until the specified long-running operation is done or reaches at most a specified timeout, returning the latest state. If the operation is already done, the latest state is immediately returned. If the timeout specified is greater than the default HTTP/RPC timeout, the HTTP/RPC timeout is used. If the server does not support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Note that this method is on a best-effort basis. It may return the latest state before the specified timeout (including immediately), meaning even an immediate response is no guarantee that the operation is done.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/featurestores/{featurestoresId}/entityTypes/{entityTypesId}/operations/{operationsId}:wait", +"httpMethod": "POST", +"id": "aiplatform.projects.locations.featurestores.entityTypes.operations.wait", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to wait on.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/featurestores/[^/]+/entityTypes/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +}, +"timeout": { +"description": "The maximum duration to wait before timing out. If left blank, the wait will be at most the time permitted by the underlying HTTP/RPC protocol. If RPC context deadline is also specified, the shorter one will be used.", +"format": "google-duration", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}:wait", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +}, +"operations": { +"methods": { +"cancel": { +"description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/featurestores/{featurestoresId}/operations/{operationsId}:cancel", +"httpMethod": "POST", +"id": "aiplatform.projects.locations.featurestores.operations.cancel", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be cancelled.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/featurestores/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:cancel", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/featurestores/{featurestoresId}/operations/{operationsId}", +"httpMethod": "DELETE", +"id": "aiplatform.projects.locations.featurestores.operations.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be deleted.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/featurestores/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/featurestores/{featurestoresId}/operations/{operationsId}", +"httpMethod": "GET", +"id": "aiplatform.projects.locations.featurestores.operations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/featurestores/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/featurestores/{featurestoresId}/operations", +"httpMethod": "GET", +"id": "aiplatform.projects.locations.featurestores.operations.list", +"parameterOrder": [ +"name" +], +"parameters": { +"filter": { +"description": "The standard list filter.", +"location": "query", +"type": "string" +}, +"name": { +"description": "The name of the operation's parent resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/featurestores/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The standard list page size.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The standard list page token.", +"location": "query", +"type": "string" +}, +"returnPartialSuccess": { +"description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `\"projects/example/locations/-\"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1/{+name}/operations", +"response": { +"$ref": "GoogleLongrunningListOperationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"wait": { +"description": "Waits until the specified long-running operation is done or reaches at most a specified timeout, returning the latest state. If the operation is already done, the latest state is immediately returned. If the timeout specified is greater than the default HTTP/RPC timeout, the HTTP/RPC timeout is used. If the server does not support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Note that this method is on a best-effort basis. It may return the latest state before the specified timeout (including immediately), meaning even an immediate response is no guarantee that the operation is done.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/featurestores/{featurestoresId}/operations/{operationsId}:wait", +"httpMethod": "POST", +"id": "aiplatform.projects.locations.featurestores.operations.wait", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to wait on.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/featurestores/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +}, +"timeout": { +"description": "The maximum duration to wait before timing out. If left blank, the wait will be at most the time permitted by the underlying HTTP/RPC protocol. If RPC context deadline is also specified, the shorter one will be used.", +"format": "google-duration", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}:wait", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +}, +"hyperparameterTuningJobs": { +"methods": { +"cancel": { +"description": "Cancels a HyperparameterTuningJob. Starts asynchronous cancellation on the HyperparameterTuningJob. The server makes a best effort to cancel the job, but success is not guaranteed. Clients can use JobService.GetHyperparameterTuningJob or other methods to check whether the cancellation succeeded or whether the job completed despite cancellation. On successful cancellation, the HyperparameterTuningJob is not deleted; instead it becomes a job with a HyperparameterTuningJob.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`, and HyperparameterTuningJob.state is set to `CANCELLED`.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/hyperparameterTuningJobs/{hyperparameterTuningJobsId}:cancel", +"httpMethod": "POST", +"id": "aiplatform.projects.locations.hyperparameterTuningJobs.cancel", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the HyperparameterTuningJob to cancel. Format: `projects/{project}/locations/{location}/hyperparameterTuningJobs/{hyperparameter_tuning_job}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/hyperparameterTuningJobs/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:cancel", +"request": { +"$ref": "GoogleCloudAiplatformV1CancelHyperparameterTuningJobRequest" +}, +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"create": { +"description": "Creates a HyperparameterTuningJob", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/hyperparameterTuningJobs", +"httpMethod": "POST", +"id": "aiplatform.projects.locations.hyperparameterTuningJobs.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The resource name of the Location to create the HyperparameterTuningJob in. Format: `projects/{project}/locations/{location}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/hyperparameterTuningJobs", +"request": { +"$ref": "GoogleCloudAiplatformV1HyperparameterTuningJob" +}, +"response": { +"$ref": "GoogleCloudAiplatformV1HyperparameterTuningJob" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a HyperparameterTuningJob.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/hyperparameterTuningJobs/{hyperparameterTuningJobsId}", +"httpMethod": "DELETE", +"id": "aiplatform.projects.locations.hyperparameterTuningJobs.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the HyperparameterTuningJob resource to be deleted. Format: `projects/{project}/locations/{location}/hyperparameterTuningJobs/{hyperparameter_tuning_job}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/hyperparameterTuningJobs/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets a HyperparameterTuningJob", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/hyperparameterTuningJobs/{hyperparameterTuningJobsId}", +"httpMethod": "GET", +"id": "aiplatform.projects.locations.hyperparameterTuningJobs.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the HyperparameterTuningJob resource. Format: `projects/{project}/locations/{location}/hyperparameterTuningJobs/{hyperparameter_tuning_job}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/hyperparameterTuningJobs/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleCloudAiplatformV1HyperparameterTuningJob" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists HyperparameterTuningJobs in a Location.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/hyperparameterTuningJobs", +"httpMethod": "GET", +"id": "aiplatform.projects.locations.hyperparameterTuningJobs.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "The standard list filter. Supported fields: * `display_name` supports `=`, `!=` comparisons, and `:` wildcard. * `state` supports `=`, `!=` comparisons. * `create_time` supports `=`, `!=`,`<`, `<=`,`>`, `>=` comparisons. `create_time` must be in RFC 3339 format. * `labels` supports general map functions that is: `labels.key=value` - key:value equality `labels.key:* - key existence Some examples of using the filter are: * `state=\"JOB_STATE_SUCCEEDED\" AND display_name:\"my_job_*\"` * `state!=\"JOB_STATE_FAILED\" OR display_name=\"my_job\"` * `NOT display_name=\"my_job\"` * `create_time>\"2021-05-18T00:00:00Z\"` * `labels.keyA=valueA` * `labels.keyB:*`", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "The standard list page size.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The standard list page token. Typically obtained via ListHyperparameterTuningJobsResponse.next_page_token of the previous JobService.ListHyperparameterTuningJobs call.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The resource name of the Location to list the HyperparameterTuningJobs from. Format: `projects/{project}/locations/{location}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +}, +"readMask": { +"description": "Mask specifying which fields to read.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+parent}/hyperparameterTuningJobs", +"response": { +"$ref": "GoogleCloudAiplatformV1ListHyperparameterTuningJobsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"operations": { +"methods": { +"cancel": { +"description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/hyperparameterTuningJobs/{hyperparameterTuningJobsId}/operations/{operationsId}:cancel", +"httpMethod": "POST", +"id": "aiplatform.projects.locations.hyperparameterTuningJobs.operations.cancel", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be cancelled.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/hyperparameterTuningJobs/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:cancel", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/hyperparameterTuningJobs/{hyperparameterTuningJobsId}/operations/{operationsId}", +"httpMethod": "DELETE", +"id": "aiplatform.projects.locations.hyperparameterTuningJobs.operations.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be deleted.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/hyperparameterTuningJobs/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/hyperparameterTuningJobs/{hyperparameterTuningJobsId}/operations/{operationsId}", +"httpMethod": "GET", +"id": "aiplatform.projects.locations.hyperparameterTuningJobs.operations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/hyperparameterTuningJobs/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/hyperparameterTuningJobs/{hyperparameterTuningJobsId}/operations", +"httpMethod": "GET", +"id": "aiplatform.projects.locations.hyperparameterTuningJobs.operations.list", +"parameterOrder": [ +"name" +], +"parameters": { +"filter": { +"description": "The standard list filter.", +"location": "query", +"type": "string" +}, +"name": { +"description": "The name of the operation's parent resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/hyperparameterTuningJobs/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The standard list page size.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The standard list page token.", +"location": "query", +"type": "string" +}, +"returnPartialSuccess": { +"description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `\"projects/example/locations/-\"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1/{+name}/operations", +"response": { +"$ref": "GoogleLongrunningListOperationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"wait": { +"description": "Waits until the specified long-running operation is done or reaches at most a specified timeout, returning the latest state. If the operation is already done, the latest state is immediately returned. If the timeout specified is greater than the default HTTP/RPC timeout, the HTTP/RPC timeout is used. If the server does not support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Note that this method is on a best-effort basis. It may return the latest state before the specified timeout (including immediately), meaning even an immediate response is no guarantee that the operation is done.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/hyperparameterTuningJobs/{hyperparameterTuningJobsId}/operations/{operationsId}:wait", +"httpMethod": "POST", +"id": "aiplatform.projects.locations.hyperparameterTuningJobs.operations.wait", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to wait on.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/hyperparameterTuningJobs/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +}, +"timeout": { +"description": "The maximum duration to wait before timing out. If left blank, the wait will be at most the time permitted by the underlying HTTP/RPC protocol. If RPC context deadline is also specified, the shorter one will be used.", +"format": "google-duration", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}:wait", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +}, +"indexEndpoints": { +"methods": { +"create": { +"description": "Creates an IndexEndpoint.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/indexEndpoints", +"httpMethod": "POST", +"id": "aiplatform.projects.locations.indexEndpoints.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The resource name of the Location to create the IndexEndpoint in. Format: `projects/{project}/locations/{location}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/indexEndpoints", +"request": { +"$ref": "GoogleCloudAiplatformV1IndexEndpoint" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes an IndexEndpoint.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/indexEndpoints/{indexEndpointsId}", +"httpMethod": "DELETE", +"id": "aiplatform.projects.locations.indexEndpoints.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the IndexEndpoint resource to be deleted. Format: `projects/{project}/locations/{location}/indexEndpoints/{index_endpoint}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/indexEndpoints/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"deployIndex": { +"description": "Deploys an Index into this IndexEndpoint, creating a DeployedIndex within it.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/indexEndpoints/{indexEndpointsId}:deployIndex", +"httpMethod": "POST", +"id": "aiplatform.projects.locations.indexEndpoints.deployIndex", +"parameterOrder": [ +"indexEndpoint" +], +"parameters": { +"indexEndpoint": { +"description": "Required. The name of the IndexEndpoint resource into which to deploy an Index. Format: `projects/{project}/locations/{location}/indexEndpoints/{index_endpoint}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/indexEndpoints/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+indexEndpoint}:deployIndex", +"request": { +"$ref": "GoogleCloudAiplatformV1DeployIndexRequest" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"findNeighbors": { +"description": "Finds the nearest neighbors of each vector within the request.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/indexEndpoints/{indexEndpointsId}:findNeighbors", +"httpMethod": "POST", +"id": "aiplatform.projects.locations.indexEndpoints.findNeighbors", +"parameterOrder": [ +"indexEndpoint" +], +"parameters": { +"indexEndpoint": { +"description": "Required. The name of the index endpoint. Format: `projects/{project}/locations/{location}/indexEndpoints/{index_endpoint}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/indexEndpoints/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+indexEndpoint}:findNeighbors", +"request": { +"$ref": "GoogleCloudAiplatformV1FindNeighborsRequest" +}, +"response": { +"$ref": "GoogleCloudAiplatformV1FindNeighborsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets an IndexEndpoint.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/indexEndpoints/{indexEndpointsId}", +"httpMethod": "GET", +"id": "aiplatform.projects.locations.indexEndpoints.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the IndexEndpoint resource. Format: `projects/{project}/locations/{location}/indexEndpoints/{index_endpoint}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/indexEndpoints/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleCloudAiplatformV1IndexEndpoint" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists IndexEndpoints in a Location.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/indexEndpoints", +"httpMethod": "GET", +"id": "aiplatform.projects.locations.indexEndpoints.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Optional. An expression for filtering the results of the request. For field names both snake_case and camelCase are supported. * `index_endpoint` supports = and !=. `index_endpoint` represents the IndexEndpoint ID, ie. the last segment of the IndexEndpoint's resourcename. * `display_name` supports =, != and regex() (uses [re2](https://github.com/google/re2/wiki/Syntax) syntax) * `labels` supports general map functions that is: `labels.key=value` - key:value equality `labels.key:* or labels:key - key existence A key including a space must be quoted. `labels.\"a key\"`. Some examples: * `index_endpoint=\"1\"` * `display_name=\"myDisplayName\"` * `regex(display_name, \"^A\") -> The display name starts with an A. * `labels.myKey=\"myValue\"`", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Optional. The standard list page size.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. The standard list page token. Typically obtained via ListIndexEndpointsResponse.next_page_token of the previous IndexEndpointService.ListIndexEndpoints call.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The resource name of the Location from which to list the IndexEndpoints. Format: `projects/{project}/locations/{location}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +}, +"readMask": { +"description": "Optional. Mask specifying which fields to read.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+parent}/indexEndpoints", +"response": { +"$ref": "GoogleCloudAiplatformV1ListIndexEndpointsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"mutateDeployedIndex": { +"description": "Update an existing DeployedIndex under an IndexEndpoint.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/indexEndpoints/{indexEndpointsId}:mutateDeployedIndex", +"httpMethod": "POST", +"id": "aiplatform.projects.locations.indexEndpoints.mutateDeployedIndex", +"parameterOrder": [ +"indexEndpoint" +], +"parameters": { +"indexEndpoint": { +"description": "Required. The name of the IndexEndpoint resource into which to deploy an Index. Format: `projects/{project}/locations/{location}/indexEndpoints/{index_endpoint}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/indexEndpoints/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+indexEndpoint}:mutateDeployedIndex", +"request": { +"$ref": "GoogleCloudAiplatformV1DeployedIndex" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates an IndexEndpoint.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/indexEndpoints/{indexEndpointsId}", +"httpMethod": "PATCH", +"id": "aiplatform.projects.locations.indexEndpoints.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Output only. The resource name of the IndexEndpoint.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/indexEndpoints/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Required. The update mask applies to the resource. See google.protobuf.FieldMask.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "GoogleCloudAiplatformV1IndexEndpoint" +}, +"response": { +"$ref": "GoogleCloudAiplatformV1IndexEndpoint" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"readIndexDatapoints": { +"description": "Reads the datapoints/vectors of the given IDs. A maximum of 1000 datapoints can be retrieved in a batch.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/indexEndpoints/{indexEndpointsId}:readIndexDatapoints", +"httpMethod": "POST", +"id": "aiplatform.projects.locations.indexEndpoints.readIndexDatapoints", +"parameterOrder": [ +"indexEndpoint" +], +"parameters": { +"indexEndpoint": { +"description": "Required. The name of the index endpoint. Format: `projects/{project}/locations/{location}/indexEndpoints/{index_endpoint}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/indexEndpoints/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+indexEndpoint}:readIndexDatapoints", +"request": { +"$ref": "GoogleCloudAiplatformV1ReadIndexDatapointsRequest" +}, +"response": { +"$ref": "GoogleCloudAiplatformV1ReadIndexDatapointsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"undeployIndex": { +"description": "Undeploys an Index from an IndexEndpoint, removing a DeployedIndex from it, and freeing all resources it's using.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/indexEndpoints/{indexEndpointsId}:undeployIndex", +"httpMethod": "POST", +"id": "aiplatform.projects.locations.indexEndpoints.undeployIndex", +"parameterOrder": [ +"indexEndpoint" +], +"parameters": { +"indexEndpoint": { +"description": "Required. The name of the IndexEndpoint resource from which to undeploy an Index. Format: `projects/{project}/locations/{location}/indexEndpoints/{index_endpoint}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/indexEndpoints/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+indexEndpoint}:undeployIndex", +"request": { +"$ref": "GoogleCloudAiplatformV1UndeployIndexRequest" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"operations": { +"methods": { +"cancel": { +"description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/indexEndpoints/{indexEndpointsId}/operations/{operationsId}:cancel", +"httpMethod": "POST", +"id": "aiplatform.projects.locations.indexEndpoints.operations.cancel", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be cancelled.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/indexEndpoints/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:cancel", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/indexEndpoints/{indexEndpointsId}/operations/{operationsId}", +"httpMethod": "DELETE", +"id": "aiplatform.projects.locations.indexEndpoints.operations.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be deleted.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/indexEndpoints/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/indexEndpoints/{indexEndpointsId}/operations/{operationsId}", +"httpMethod": "GET", +"id": "aiplatform.projects.locations.indexEndpoints.operations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/indexEndpoints/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/indexEndpoints/{indexEndpointsId}/operations", +"httpMethod": "GET", +"id": "aiplatform.projects.locations.indexEndpoints.operations.list", +"parameterOrder": [ +"name" +], +"parameters": { +"filter": { +"description": "The standard list filter.", +"location": "query", +"type": "string" +}, +"name": { +"description": "The name of the operation's parent resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/indexEndpoints/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The standard list page size.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The standard list page token.", +"location": "query", +"type": "string" +}, +"returnPartialSuccess": { +"description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `\"projects/example/locations/-\"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1/{+name}/operations", +"response": { +"$ref": "GoogleLongrunningListOperationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"wait": { +"description": "Waits until the specified long-running operation is done or reaches at most a specified timeout, returning the latest state. If the operation is already done, the latest state is immediately returned. If the timeout specified is greater than the default HTTP/RPC timeout, the HTTP/RPC timeout is used. If the server does not support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Note that this method is on a best-effort basis. It may return the latest state before the specified timeout (including immediately), meaning even an immediate response is no guarantee that the operation is done.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/indexEndpoints/{indexEndpointsId}/operations/{operationsId}:wait", +"httpMethod": "POST", +"id": "aiplatform.projects.locations.indexEndpoints.operations.wait", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to wait on.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/indexEndpoints/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +}, +"timeout": { +"description": "The maximum duration to wait before timing out. If left blank, the wait will be at most the time permitted by the underlying HTTP/RPC protocol. If RPC context deadline is also specified, the shorter one will be used.", +"format": "google-duration", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}:wait", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +}, +"indexes": { +"methods": { +"create": { +"description": "Creates an Index.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/indexes", +"httpMethod": "POST", +"id": "aiplatform.projects.locations.indexes.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The resource name of the Location to create the Index in. Format: `projects/{project}/locations/{location}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/indexes", +"request": { +"$ref": "GoogleCloudAiplatformV1Index" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes an Index. An Index can only be deleted when all its DeployedIndexes had been undeployed.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/indexes/{indexesId}", +"httpMethod": "DELETE", +"id": "aiplatform.projects.locations.indexes.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the Index resource to be deleted. Format: `projects/{project}/locations/{location}/indexes/{index}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/indexes/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets an Index.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/indexes/{indexesId}", +"httpMethod": "GET", +"id": "aiplatform.projects.locations.indexes.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the Index resource. Format: `projects/{project}/locations/{location}/indexes/{index}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/indexes/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleCloudAiplatformV1Index" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists Indexes in a Location.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/indexes", +"httpMethod": "GET", +"id": "aiplatform.projects.locations.indexes.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "The standard list filter.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "The standard list page size.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The standard list page token. Typically obtained via ListIndexesResponse.next_page_token of the previous IndexService.ListIndexes call.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The resource name of the Location from which to list the Indexes. Format: `projects/{project}/locations/{location}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +}, +"readMask": { +"description": "Mask specifying which fields to read.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+parent}/indexes", +"response": { +"$ref": "GoogleCloudAiplatformV1ListIndexesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates an Index.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/indexes/{indexesId}", +"httpMethod": "PATCH", +"id": "aiplatform.projects.locations.indexes.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Output only. The resource name of the Index.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/indexes/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "The update mask applies to the resource. For the `FieldMask` definition, see google.protobuf.FieldMask.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "GoogleCloudAiplatformV1Index" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"removeDatapoints": { +"description": "Remove Datapoints from an Index.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/indexes/{indexesId}:removeDatapoints", +"httpMethod": "POST", +"id": "aiplatform.projects.locations.indexes.removeDatapoints", +"parameterOrder": [ +"index" +], +"parameters": { +"index": { +"description": "Required. The name of the Index resource to be updated. Format: `projects/{project}/locations/{location}/indexes/{index}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/indexes/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+index}:removeDatapoints", +"request": { +"$ref": "GoogleCloudAiplatformV1RemoveDatapointsRequest" +}, +"response": { +"$ref": "GoogleCloudAiplatformV1RemoveDatapointsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"upsertDatapoints": { +"description": "Add/update Datapoints into an Index.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/indexes/{indexesId}:upsertDatapoints", +"httpMethod": "POST", +"id": "aiplatform.projects.locations.indexes.upsertDatapoints", +"parameterOrder": [ +"index" +], +"parameters": { +"index": { +"description": "Required. The name of the Index resource to be updated. Format: `projects/{project}/locations/{location}/indexes/{index}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/indexes/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+index}:upsertDatapoints", +"request": { +"$ref": "GoogleCloudAiplatformV1UpsertDatapointsRequest" +}, +"response": { +"$ref": "GoogleCloudAiplatformV1UpsertDatapointsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"operations": { +"methods": { +"cancel": { +"description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/indexes/{indexesId}/operations/{operationsId}:cancel", +"httpMethod": "POST", +"id": "aiplatform.projects.locations.indexes.operations.cancel", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be cancelled.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/indexes/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:cancel", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/indexes/{indexesId}/operations/{operationsId}", +"httpMethod": "DELETE", +"id": "aiplatform.projects.locations.indexes.operations.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be deleted.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/indexes/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/indexes/{indexesId}/operations/{operationsId}", +"httpMethod": "GET", +"id": "aiplatform.projects.locations.indexes.operations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/indexes/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/indexes/{indexesId}/operations", +"httpMethod": "GET", +"id": "aiplatform.projects.locations.indexes.operations.list", +"parameterOrder": [ +"name" +], +"parameters": { +"filter": { +"description": "The standard list filter.", +"location": "query", +"type": "string" +}, +"name": { +"description": "The name of the operation's parent resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/indexes/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The standard list page size.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The standard list page token.", +"location": "query", +"type": "string" +}, +"returnPartialSuccess": { +"description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `\"projects/example/locations/-\"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1/{+name}/operations", +"response": { +"$ref": "GoogleLongrunningListOperationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"wait": { +"description": "Waits until the specified long-running operation is done or reaches at most a specified timeout, returning the latest state. If the operation is already done, the latest state is immediately returned. If the timeout specified is greater than the default HTTP/RPC timeout, the HTTP/RPC timeout is used. If the server does not support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Note that this method is on a best-effort basis. It may return the latest state before the specified timeout (including immediately), meaning even an immediate response is no guarantee that the operation is done.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/indexes/{indexesId}/operations/{operationsId}:wait", +"httpMethod": "POST", +"id": "aiplatform.projects.locations.indexes.operations.wait", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to wait on.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/indexes/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +}, +"timeout": { +"description": "The maximum duration to wait before timing out. If left blank, the wait will be at most the time permitted by the underlying HTTP/RPC protocol. If RPC context deadline is also specified, the shorter one will be used.", +"format": "google-duration", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}:wait", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +}, +"metadataStores": { +"methods": { +"create": { +"description": "Initializes a MetadataStore, including allocation of resources.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/metadataStores", +"httpMethod": "POST", +"id": "aiplatform.projects.locations.metadataStores.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"metadataStoreId": { +"description": "The {metadatastore} portion of the resource name with the format: `projects/{project}/locations/{location}/metadataStores/{metadatastore}` If not provided, the MetadataStore's ID will be a UUID generated by the service. Must be 4-128 characters in length. Valid characters are `/a-z-/`. Must be unique across all MetadataStores in the parent Location. (Otherwise the request will fail with ALREADY_EXISTS, or PERMISSION_DENIED if the caller can't view the preexisting MetadataStore.)", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The resource name of the Location where the MetadataStore should be created. Format: `projects/{project}/locations/{location}/`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/metadataStores", +"request": { +"$ref": "GoogleCloudAiplatformV1MetadataStore" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a single MetadataStore and all its child resources (Artifacts, Executions, and Contexts).", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/metadataStores/{metadataStoresId}", +"httpMethod": "DELETE", +"id": "aiplatform.projects.locations.metadataStores.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"force": { +"deprecated": true, +"description": "Deprecated: Field is no longer supported.", +"location": "query", +"type": "boolean" +}, +"name": { +"description": "Required. The resource name of the MetadataStore to delete. Format: `projects/{project}/locations/{location}/metadataStores/{metadatastore}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/metadataStores/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Retrieves a specific MetadataStore.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/metadataStores/{metadataStoresId}", +"httpMethod": "GET", +"id": "aiplatform.projects.locations.metadataStores.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the MetadataStore to retrieve. Format: `projects/{project}/locations/{location}/metadataStores/{metadatastore}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/metadataStores/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleCloudAiplatformV1MetadataStore" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists MetadataStores for a Location.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/metadataStores", +"httpMethod": "GET", +"id": "aiplatform.projects.locations.metadataStores.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "The maximum number of Metadata Stores to return. The service may return fewer. Must be in range 1-100, inclusive. Defaults to 100.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A page token, received from a previous MetadataService.ListMetadataStores call. Provide this to retrieve the subsequent page. When paginating, all other provided parameters must match the call that provided the page token. (Otherwise the request will fail with INVALID_ARGUMENT error.)", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The Location whose MetadataStores should be listed. Format: `projects/{project}/locations/{location}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/metadataStores", +"response": { +"$ref": "GoogleCloudAiplatformV1ListMetadataStoresResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"artifacts": { +"methods": { +"create": { +"description": "Creates an Artifact associated with a MetadataStore.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/metadataStores/{metadataStoresId}/artifacts", +"httpMethod": "POST", +"id": "aiplatform.projects.locations.metadataStores.artifacts.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"artifactId": { +"description": "The {artifact} portion of the resource name with the format: `projects/{project}/locations/{location}/metadataStores/{metadatastore}/artifacts/{artifact}` If not provided, the Artifact's ID will be a UUID generated by the service. Must be 4-128 characters in length. Valid characters are `/a-z-/`. Must be unique across all Artifacts in the parent MetadataStore. (Otherwise the request will fail with ALREADY_EXISTS, or PERMISSION_DENIED if the caller can't view the preexisting Artifact.)", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The resource name of the MetadataStore where the Artifact should be created. Format: `projects/{project}/locations/{location}/metadataStores/{metadatastore}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/metadataStores/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/artifacts", +"request": { +"$ref": "GoogleCloudAiplatformV1Artifact" +}, +"response": { +"$ref": "GoogleCloudAiplatformV1Artifact" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes an Artifact.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/metadataStores/{metadataStoresId}/artifacts/{artifactsId}", +"httpMethod": "DELETE", +"id": "aiplatform.projects.locations.metadataStores.artifacts.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"etag": { +"description": "Optional. The etag of the Artifact to delete. If this is provided, it must match the server's etag. Otherwise, the request will fail with a FAILED_PRECONDITION.", +"location": "query", +"type": "string" +}, +"name": { +"description": "Required. The resource name of the Artifact to delete. Format: `projects/{project}/locations/{location}/metadataStores/{metadatastore}/artifacts/{artifact}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/metadataStores/[^/]+/artifacts/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Retrieves a specific Artifact.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/metadataStores/{metadataStoresId}/artifacts/{artifactsId}", +"httpMethod": "GET", +"id": "aiplatform.projects.locations.metadataStores.artifacts.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the Artifact to retrieve. Format: `projects/{project}/locations/{location}/metadataStores/{metadatastore}/artifacts/{artifact}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/metadataStores/[^/]+/artifacts/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleCloudAiplatformV1Artifact" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists Artifacts in the MetadataStore.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/metadataStores/{metadataStoresId}/artifacts", +"httpMethod": "GET", +"id": "aiplatform.projects.locations.metadataStores.artifacts.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Filter specifying the boolean condition for the Artifacts to satisfy in order to be part of the result set. The syntax to define filter query is based on https://google.aip.dev/160. The supported set of filters include the following: * **Attribute filtering**: For example: `display_name = \"test\"`. Supported fields include: `name`, `display_name`, `uri`, `state`, `schema_title`, `create_time`, and `update_time`. Time fields, such as `create_time` and `update_time`, require values specified in RFC-3339 format. For example: `create_time = \"2020-11-19T11:30:00-04:00\"` * **Metadata field**: To filter on metadata fields use traversal operation as follows: `metadata..`. For example: `metadata.field_1.number_value = 10.0` In case the field name contains special characters (such as colon), one can embed it inside double quote. For example: `metadata.\"field:1\".number_value = 10.0` * **Context based filtering**: To filter Artifacts based on the contexts to which they belong, use the function operator with the full resource name `in_context()`. For example: `in_context(\"projects//locations//metadataStores//contexts/\")` Each of the above supported filter types can be combined together using logical operators (`AND` & `OR`). Maximum nested expression depth allowed is 5. For example: `display_name = \"test\" AND metadata.field1.bool_value = true`.", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "How the list of messages is ordered. Specify the values to order by and an ordering operation. The default sorting order is ascending. To specify descending order for a field, users append a \" desc\" suffix; for example: \"foo desc, bar\". Subfields are specified with a `.` character, such as foo.bar. see https://google.aip.dev/132#ordering for more details.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "The maximum number of Artifacts to return. The service may return fewer. Must be in range 1-100, inclusive. Defaults to 100.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A page token, received from a previous MetadataService.ListArtifacts call. Provide this to retrieve the subsequent page. When paginating, all other provided parameters must match the call that provided the page token. (Otherwise the request will fail with INVALID_ARGUMENT error.)", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The MetadataStore whose Artifacts should be listed. Format: `projects/{project}/locations/{location}/metadataStores/{metadatastore}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/metadataStores/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/artifacts", +"response": { +"$ref": "GoogleCloudAiplatformV1ListArtifactsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates a stored Artifact.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/metadataStores/{metadataStoresId}/artifacts/{artifactsId}", +"httpMethod": "PATCH", +"id": "aiplatform.projects.locations.metadataStores.artifacts.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"allowMissing": { +"description": "If set to true, and the Artifact is not found, a new Artifact is created.", +"location": "query", +"type": "boolean" +}, +"name": { +"description": "Output only. The resource name of the Artifact.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/metadataStores/[^/]+/artifacts/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Optional. A FieldMask indicating which fields should be updated.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "GoogleCloudAiplatformV1Artifact" +}, +"response": { +"$ref": "GoogleCloudAiplatformV1Artifact" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"purge": { +"description": "Purges Artifacts.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/metadataStores/{metadataStoresId}/artifacts:purge", +"httpMethod": "POST", +"id": "aiplatform.projects.locations.metadataStores.artifacts.purge", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The metadata store to purge Artifacts from. Format: `projects/{project}/locations/{location}/metadataStores/{metadatastore}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/metadataStores/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/artifacts:purge", +"request": { +"$ref": "GoogleCloudAiplatformV1PurgeArtifactsRequest" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"queryArtifactLineageSubgraph": { +"description": "Retrieves lineage of an Artifact represented through Artifacts and Executions connected by Event edges and returned as a LineageSubgraph.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/metadataStores/{metadataStoresId}/artifacts/{artifactsId}:queryArtifactLineageSubgraph", +"httpMethod": "GET", +"id": "aiplatform.projects.locations.metadataStores.artifacts.queryArtifactLineageSubgraph", +"parameterOrder": [ +"artifact" +], +"parameters": { +"artifact": { +"description": "Required. The resource name of the Artifact whose Lineage needs to be retrieved as a LineageSubgraph. Format: `projects/{project}/locations/{location}/metadataStores/{metadatastore}/artifacts/{artifact}` The request may error with FAILED_PRECONDITION if the number of Artifacts, the number of Executions, or the number of Events that would be returned for the Context exceeds 1000.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/metadataStores/[^/]+/artifacts/[^/]+$", +"required": true, +"type": "string" +}, +"filter": { +"description": "Filter specifying the boolean condition for the Artifacts to satisfy in order to be part of the Lineage Subgraph. The syntax to define filter query is based on https://google.aip.dev/160. The supported set of filters include the following: * **Attribute filtering**: For example: `display_name = \"test\"` Supported fields include: `name`, `display_name`, `uri`, `state`, `schema_title`, `create_time`, and `update_time`. Time fields, such as `create_time` and `update_time`, require values specified in RFC-3339 format. For example: `create_time = \"2020-11-19T11:30:00-04:00\"` * **Metadata field**: To filter on metadata fields use traversal operation as follows: `metadata..`. For example: `metadata.field_1.number_value = 10.0` In case the field name contains special characters (such as colon), one can embed it inside double quote. For example: `metadata.\"field:1\".number_value = 10.0` Each of the above supported filter types can be combined together using logical operators (`AND` & `OR`). Maximum nested expression depth allowed is 5. For example: `display_name = \"test\" AND metadata.field1.bool_value = true`.", +"location": "query", +"type": "string" +}, +"maxHops": { +"description": "Specifies the size of the lineage graph in terms of number of hops from the specified artifact. Negative Value: INVALID_ARGUMENT error is returned 0: Only input artifact is returned. No value: Transitive closure is performed to return the complete graph.", +"format": "int32", +"location": "query", +"type": "integer" +} +}, +"path": "v1/{+artifact}:queryArtifactLineageSubgraph", +"response": { +"$ref": "GoogleCloudAiplatformV1LineageSubgraph" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"operations": { +"methods": { +"cancel": { +"description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/metadataStores/{metadataStoresId}/artifacts/{artifactsId}/operations/{operationsId}:cancel", +"httpMethod": "POST", +"id": "aiplatform.projects.locations.metadataStores.artifacts.operations.cancel", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be cancelled.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/metadataStores/[^/]+/artifacts/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:cancel", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/metadataStores/{metadataStoresId}/artifacts/{artifactsId}/operations/{operationsId}", +"httpMethod": "DELETE", +"id": "aiplatform.projects.locations.metadataStores.artifacts.operations.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be deleted.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/metadataStores/[^/]+/artifacts/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/metadataStores/{metadataStoresId}/artifacts/{artifactsId}/operations/{operationsId}", +"httpMethod": "GET", +"id": "aiplatform.projects.locations.metadataStores.artifacts.operations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/metadataStores/[^/]+/artifacts/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/metadataStores/{metadataStoresId}/artifacts/{artifactsId}/operations", +"httpMethod": "GET", +"id": "aiplatform.projects.locations.metadataStores.artifacts.operations.list", +"parameterOrder": [ +"name" +], +"parameters": { +"filter": { +"description": "The standard list filter.", +"location": "query", +"type": "string" +}, +"name": { +"description": "The name of the operation's parent resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/metadataStores/[^/]+/artifacts/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The standard list page size.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The standard list page token.", +"location": "query", +"type": "string" +}, +"returnPartialSuccess": { +"description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `\"projects/example/locations/-\"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1/{+name}/operations", +"response": { +"$ref": "GoogleLongrunningListOperationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"wait": { +"description": "Waits until the specified long-running operation is done or reaches at most a specified timeout, returning the latest state. If the operation is already done, the latest state is immediately returned. If the timeout specified is greater than the default HTTP/RPC timeout, the HTTP/RPC timeout is used. If the server does not support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Note that this method is on a best-effort basis. It may return the latest state before the specified timeout (including immediately), meaning even an immediate response is no guarantee that the operation is done.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/metadataStores/{metadataStoresId}/artifacts/{artifactsId}/operations/{operationsId}:wait", +"httpMethod": "POST", +"id": "aiplatform.projects.locations.metadataStores.artifacts.operations.wait", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to wait on.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/metadataStores/[^/]+/artifacts/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +}, +"timeout": { +"description": "The maximum duration to wait before timing out. If left blank, the wait will be at most the time permitted by the underlying HTTP/RPC protocol. If RPC context deadline is also specified, the shorter one will be used.", +"format": "google-duration", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}:wait", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +}, +"contexts": { +"methods": { +"addContextArtifactsAndExecutions": { +"description": "Adds a set of Artifacts and Executions to a Context. If any of the Artifacts or Executions have already been added to a Context, they are simply skipped.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/metadataStores/{metadataStoresId}/contexts/{contextsId}:addContextArtifactsAndExecutions", +"httpMethod": "POST", +"id": "aiplatform.projects.locations.metadataStores.contexts.addContextArtifactsAndExecutions", +"parameterOrder": [ +"context" +], +"parameters": { +"context": { +"description": "Required. The resource name of the Context that the Artifacts and Executions belong to. Format: `projects/{project}/locations/{location}/metadataStores/{metadatastore}/contexts/{context}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/metadataStores/[^/]+/contexts/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+context}:addContextArtifactsAndExecutions", +"request": { +"$ref": "GoogleCloudAiplatformV1AddContextArtifactsAndExecutionsRequest" +}, +"response": { +"$ref": "GoogleCloudAiplatformV1AddContextArtifactsAndExecutionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"addContextChildren": { +"description": "Adds a set of Contexts as children to a parent Context. If any of the child Contexts have already been added to the parent Context, they are simply skipped. If this call would create a cycle or cause any Context to have more than 10 parents, the request will fail with an INVALID_ARGUMENT error.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/metadataStores/{metadataStoresId}/contexts/{contextsId}:addContextChildren", +"httpMethod": "POST", +"id": "aiplatform.projects.locations.metadataStores.contexts.addContextChildren", +"parameterOrder": [ +"context" +], +"parameters": { +"context": { +"description": "Required. The resource name of the parent Context. Format: `projects/{project}/locations/{location}/metadataStores/{metadatastore}/contexts/{context}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/metadataStores/[^/]+/contexts/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+context}:addContextChildren", +"request": { +"$ref": "GoogleCloudAiplatformV1AddContextChildrenRequest" +}, +"response": { +"$ref": "GoogleCloudAiplatformV1AddContextChildrenResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"create": { +"description": "Creates a Context associated with a MetadataStore.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/metadataStores/{metadataStoresId}/contexts", +"httpMethod": "POST", +"id": "aiplatform.projects.locations.metadataStores.contexts.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"contextId": { +"description": "The {context} portion of the resource name with the format: `projects/{project}/locations/{location}/metadataStores/{metadatastore}/contexts/{context}`. If not provided, the Context's ID will be a UUID generated by the service. Must be 4-128 characters in length. Valid characters are `/a-z-/`. Must be unique across all Contexts in the parent MetadataStore. (Otherwise the request will fail with ALREADY_EXISTS, or PERMISSION_DENIED if the caller can't view the preexisting Context.)", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The resource name of the MetadataStore where the Context should be created. Format: `projects/{project}/locations/{location}/metadataStores/{metadatastore}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/metadataStores/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/contexts", +"request": { +"$ref": "GoogleCloudAiplatformV1Context" +}, +"response": { +"$ref": "GoogleCloudAiplatformV1Context" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a stored Context.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/metadataStores/{metadataStoresId}/contexts/{contextsId}", +"httpMethod": "DELETE", +"id": "aiplatform.projects.locations.metadataStores.contexts.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"etag": { +"description": "Optional. The etag of the Context to delete. If this is provided, it must match the server's etag. Otherwise, the request will fail with a FAILED_PRECONDITION.", +"location": "query", +"type": "string" +}, +"force": { +"description": "The force deletion semantics is still undefined. Users should not use this field.", +"location": "query", +"type": "boolean" +}, +"name": { +"description": "Required. The resource name of the Context to delete. Format: `projects/{project}/locations/{location}/metadataStores/{metadatastore}/contexts/{context}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/metadataStores/[^/]+/contexts/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Retrieves a specific Context.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/metadataStores/{metadataStoresId}/contexts/{contextsId}", +"httpMethod": "GET", +"id": "aiplatform.projects.locations.metadataStores.contexts.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the Context to retrieve. Format: `projects/{project}/locations/{location}/metadataStores/{metadatastore}/contexts/{context}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/metadataStores/[^/]+/contexts/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleCloudAiplatformV1Context" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists Contexts on the MetadataStore.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/metadataStores/{metadataStoresId}/contexts", +"httpMethod": "GET", +"id": "aiplatform.projects.locations.metadataStores.contexts.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Filter specifying the boolean condition for the Contexts to satisfy in order to be part of the result set. The syntax to define filter query is based on https://google.aip.dev/160. Following are the supported set of filters: * **Attribute filtering**: For example: `display_name = \"test\"`. Supported fields include: `name`, `display_name`, `schema_title`, `create_time`, and `update_time`. Time fields, such as `create_time` and `update_time`, require values specified in RFC-3339 format. For example: `create_time = \"2020-11-19T11:30:00-04:00\"`. * **Metadata field**: To filter on metadata fields use traversal operation as follows: `metadata..`. For example: `metadata.field_1.number_value = 10.0`. In case the field name contains special characters (such as colon), one can embed it inside double quote. For example: `metadata.\"field:1\".number_value = 10.0` * **Parent Child filtering**: To filter Contexts based on parent-child relationship use the HAS operator as follows: ``` parent_contexts: \"projects//locations//metadataStores//contexts/\" child_contexts: \"projects//locations//metadataStores//contexts/\" ``` Each of the above supported filters can be combined together using logical operators (`AND` & `OR`). Maximum nested expression depth allowed is 5. For example: `display_name = \"test\" AND metadata.field1.bool_value = true`.", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "How the list of messages is ordered. Specify the values to order by and an ordering operation. The default sorting order is ascending. To specify descending order for a field, users append a \" desc\" suffix; for example: \"foo desc, bar\". Subfields are specified with a `.` character, such as foo.bar. see https://google.aip.dev/132#ordering for more details.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "The maximum number of Contexts to return. The service may return fewer. Must be in range 1-100, inclusive. Defaults to 100.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A page token, received from a previous MetadataService.ListContexts call. Provide this to retrieve the subsequent page. When paginating, all other provided parameters must match the call that provided the page token. (Otherwise the request will fail with INVALID_ARGUMENT error.)", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The MetadataStore whose Contexts should be listed. Format: `projects/{project}/locations/{location}/metadataStores/{metadatastore}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/metadataStores/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/contexts", +"response": { +"$ref": "GoogleCloudAiplatformV1ListContextsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates a stored Context.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/metadataStores/{metadataStoresId}/contexts/{contextsId}", +"httpMethod": "PATCH", +"id": "aiplatform.projects.locations.metadataStores.contexts.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"allowMissing": { +"description": "If set to true, and the Context is not found, a new Context is created.", +"location": "query", +"type": "boolean" +}, +"name": { +"description": "Immutable. The resource name of the Context.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/metadataStores/[^/]+/contexts/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Optional. A FieldMask indicating which fields should be updated.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "GoogleCloudAiplatformV1Context" +}, +"response": { +"$ref": "GoogleCloudAiplatformV1Context" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"purge": { +"description": "Purges Contexts.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/metadataStores/{metadataStoresId}/contexts:purge", +"httpMethod": "POST", +"id": "aiplatform.projects.locations.metadataStores.contexts.purge", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The metadata store to purge Contexts from. Format: `projects/{project}/locations/{location}/metadataStores/{metadatastore}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/metadataStores/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/contexts:purge", +"request": { +"$ref": "GoogleCloudAiplatformV1PurgeContextsRequest" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"queryContextLineageSubgraph": { +"description": "Retrieves Artifacts and Executions within the specified Context, connected by Event edges and returned as a LineageSubgraph.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/metadataStores/{metadataStoresId}/contexts/{contextsId}:queryContextLineageSubgraph", +"httpMethod": "GET", +"id": "aiplatform.projects.locations.metadataStores.contexts.queryContextLineageSubgraph", +"parameterOrder": [ +"context" +], +"parameters": { +"context": { +"description": "Required. The resource name of the Context whose Artifacts and Executions should be retrieved as a LineageSubgraph. Format: `projects/{project}/locations/{location}/metadataStores/{metadatastore}/contexts/{context}` The request may error with FAILED_PRECONDITION if the number of Artifacts, the number of Executions, or the number of Events that would be returned for the Context exceeds 1000.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/metadataStores/[^/]+/contexts/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+context}:queryContextLineageSubgraph", +"response": { +"$ref": "GoogleCloudAiplatformV1LineageSubgraph" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"removeContextChildren": { +"description": "Remove a set of children contexts from a parent Context. If any of the child Contexts were NOT added to the parent Context, they are simply skipped.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/metadataStores/{metadataStoresId}/contexts/{contextsId}:removeContextChildren", +"httpMethod": "POST", +"id": "aiplatform.projects.locations.metadataStores.contexts.removeContextChildren", +"parameterOrder": [ +"context" +], +"parameters": { +"context": { +"description": "Required. The resource name of the parent Context. Format: `projects/{project}/locations/{location}/metadataStores/{metadatastore}/contexts/{context}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/metadataStores/[^/]+/contexts/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+context}:removeContextChildren", +"request": { +"$ref": "GoogleCloudAiplatformV1RemoveContextChildrenRequest" +}, +"response": { +"$ref": "GoogleCloudAiplatformV1RemoveContextChildrenResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"operations": { +"methods": { +"cancel": { +"description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/metadataStores/{metadataStoresId}/contexts/{contextsId}/operations/{operationsId}:cancel", +"httpMethod": "POST", +"id": "aiplatform.projects.locations.metadataStores.contexts.operations.cancel", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be cancelled.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/metadataStores/[^/]+/contexts/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:cancel", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/metadataStores/{metadataStoresId}/contexts/{contextsId}/operations/{operationsId}", +"httpMethod": "DELETE", +"id": "aiplatform.projects.locations.metadataStores.contexts.operations.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be deleted.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/metadataStores/[^/]+/contexts/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/metadataStores/{metadataStoresId}/contexts/{contextsId}/operations/{operationsId}", +"httpMethod": "GET", +"id": "aiplatform.projects.locations.metadataStores.contexts.operations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/metadataStores/[^/]+/contexts/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/metadataStores/{metadataStoresId}/contexts/{contextsId}/operations", +"httpMethod": "GET", +"id": "aiplatform.projects.locations.metadataStores.contexts.operations.list", +"parameterOrder": [ +"name" +], +"parameters": { +"filter": { +"description": "The standard list filter.", +"location": "query", +"type": "string" +}, +"name": { +"description": "The name of the operation's parent resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/metadataStores/[^/]+/contexts/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The standard list page size.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The standard list page token.", +"location": "query", +"type": "string" +}, +"returnPartialSuccess": { +"description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `\"projects/example/locations/-\"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1/{+name}/operations", +"response": { +"$ref": "GoogleLongrunningListOperationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"wait": { +"description": "Waits until the specified long-running operation is done or reaches at most a specified timeout, returning the latest state. If the operation is already done, the latest state is immediately returned. If the timeout specified is greater than the default HTTP/RPC timeout, the HTTP/RPC timeout is used. If the server does not support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Note that this method is on a best-effort basis. It may return the latest state before the specified timeout (including immediately), meaning even an immediate response is no guarantee that the operation is done.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/metadataStores/{metadataStoresId}/contexts/{contextsId}/operations/{operationsId}:wait", +"httpMethod": "POST", +"id": "aiplatform.projects.locations.metadataStores.contexts.operations.wait", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to wait on.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/metadataStores/[^/]+/contexts/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +}, +"timeout": { +"description": "The maximum duration to wait before timing out. If left blank, the wait will be at most the time permitted by the underlying HTTP/RPC protocol. If RPC context deadline is also specified, the shorter one will be used.", +"format": "google-duration", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}:wait", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +}, +"executions": { +"methods": { +"addExecutionEvents": { +"description": "Adds Events to the specified Execution. An Event indicates whether an Artifact was used as an input or output for an Execution. If an Event already exists between the Execution and the Artifact, the Event is skipped.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/metadataStores/{metadataStoresId}/executions/{executionsId}:addExecutionEvents", +"httpMethod": "POST", +"id": "aiplatform.projects.locations.metadataStores.executions.addExecutionEvents", +"parameterOrder": [ +"execution" +], +"parameters": { +"execution": { +"description": "Required. The resource name of the Execution that the Events connect Artifacts with. Format: `projects/{project}/locations/{location}/metadataStores/{metadatastore}/executions/{execution}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/metadataStores/[^/]+/executions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+execution}:addExecutionEvents", +"request": { +"$ref": "GoogleCloudAiplatformV1AddExecutionEventsRequest" +}, +"response": { +"$ref": "GoogleCloudAiplatformV1AddExecutionEventsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"create": { +"description": "Creates an Execution associated with a MetadataStore.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/metadataStores/{metadataStoresId}/executions", +"httpMethod": "POST", +"id": "aiplatform.projects.locations.metadataStores.executions.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"executionId": { +"description": "The {execution} portion of the resource name with the format: `projects/{project}/locations/{location}/metadataStores/{metadatastore}/executions/{execution}` If not provided, the Execution's ID will be a UUID generated by the service. Must be 4-128 characters in length. Valid characters are `/a-z-/`. Must be unique across all Executions in the parent MetadataStore. (Otherwise the request will fail with ALREADY_EXISTS, or PERMISSION_DENIED if the caller can't view the preexisting Execution.)", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The resource name of the MetadataStore where the Execution should be created. Format: `projects/{project}/locations/{location}/metadataStores/{metadatastore}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/metadataStores/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/executions", +"request": { +"$ref": "GoogleCloudAiplatformV1Execution" +}, +"response": { +"$ref": "GoogleCloudAiplatformV1Execution" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes an Execution.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/metadataStores/{metadataStoresId}/executions/{executionsId}", +"httpMethod": "DELETE", +"id": "aiplatform.projects.locations.metadataStores.executions.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"etag": { +"description": "Optional. The etag of the Execution to delete. If this is provided, it must match the server's etag. Otherwise, the request will fail with a FAILED_PRECONDITION.", +"location": "query", +"type": "string" +}, +"name": { +"description": "Required. The resource name of the Execution to delete. Format: `projects/{project}/locations/{location}/metadataStores/{metadatastore}/executions/{execution}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/metadataStores/[^/]+/executions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Retrieves a specific Execution.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/metadataStores/{metadataStoresId}/executions/{executionsId}", +"httpMethod": "GET", +"id": "aiplatform.projects.locations.metadataStores.executions.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the Execution to retrieve. Format: `projects/{project}/locations/{location}/metadataStores/{metadatastore}/executions/{execution}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/metadataStores/[^/]+/executions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleCloudAiplatformV1Execution" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists Executions in the MetadataStore.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/metadataStores/{metadataStoresId}/executions", +"httpMethod": "GET", +"id": "aiplatform.projects.locations.metadataStores.executions.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Filter specifying the boolean condition for the Executions to satisfy in order to be part of the result set. The syntax to define filter query is based on https://google.aip.dev/160. Following are the supported set of filters: * **Attribute filtering**: For example: `display_name = \"test\"`. Supported fields include: `name`, `display_name`, `state`, `schema_title`, `create_time`, and `update_time`. Time fields, such as `create_time` and `update_time`, require values specified in RFC-3339 format. For example: `create_time = \"2020-11-19T11:30:00-04:00\"`. * **Metadata field**: To filter on metadata fields use traversal operation as follows: `metadata..` For example: `metadata.field_1.number_value = 10.0` In case the field name contains special characters (such as colon), one can embed it inside double quote. For example: `metadata.\"field:1\".number_value = 10.0` * **Context based filtering**: To filter Executions based on the contexts to which they belong use the function operator with the full resource name: `in_context()`. For example: `in_context(\"projects//locations//metadataStores//contexts/\")` Each of the above supported filters can be combined together using logical operators (`AND` & `OR`). Maximum nested expression depth allowed is 5. For example: `display_name = \"test\" AND metadata.field1.bool_value = true`.", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "How the list of messages is ordered. Specify the values to order by and an ordering operation. The default sorting order is ascending. To specify descending order for a field, users append a \" desc\" suffix; for example: \"foo desc, bar\". Subfields are specified with a `.` character, such as foo.bar. see https://google.aip.dev/132#ordering for more details.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "The maximum number of Executions to return. The service may return fewer. Must be in range 1-100, inclusive. Defaults to 100.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A page token, received from a previous MetadataService.ListExecutions call. Provide this to retrieve the subsequent page. When paginating, all other provided parameters must match the call that provided the page token. (Otherwise the request will fail with an INVALID_ARGUMENT error.)", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The MetadataStore whose Executions should be listed. Format: `projects/{project}/locations/{location}/metadataStores/{metadatastore}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/metadataStores/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/executions", +"response": { +"$ref": "GoogleCloudAiplatformV1ListExecutionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates a stored Execution.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/metadataStores/{metadataStoresId}/executions/{executionsId}", +"httpMethod": "PATCH", +"id": "aiplatform.projects.locations.metadataStores.executions.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"allowMissing": { +"description": "If set to true, and the Execution is not found, a new Execution is created.", +"location": "query", +"type": "boolean" +}, +"name": { +"description": "Output only. The resource name of the Execution.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/metadataStores/[^/]+/executions/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Optional. A FieldMask indicating which fields should be updated.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "GoogleCloudAiplatformV1Execution" +}, +"response": { +"$ref": "GoogleCloudAiplatformV1Execution" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"purge": { +"description": "Purges Executions.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/metadataStores/{metadataStoresId}/executions:purge", +"httpMethod": "POST", +"id": "aiplatform.projects.locations.metadataStores.executions.purge", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The metadata store to purge Executions from. Format: `projects/{project}/locations/{location}/metadataStores/{metadatastore}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/metadataStores/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/executions:purge", +"request": { +"$ref": "GoogleCloudAiplatformV1PurgeExecutionsRequest" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"queryExecutionInputsAndOutputs": { +"description": "Obtains the set of input and output Artifacts for this Execution, in the form of LineageSubgraph that also contains the Execution and connecting Events.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/metadataStores/{metadataStoresId}/executions/{executionsId}:queryExecutionInputsAndOutputs", +"httpMethod": "GET", +"id": "aiplatform.projects.locations.metadataStores.executions.queryExecutionInputsAndOutputs", +"parameterOrder": [ +"execution" +], +"parameters": { +"execution": { +"description": "Required. The resource name of the Execution whose input and output Artifacts should be retrieved as a LineageSubgraph. Format: `projects/{project}/locations/{location}/metadataStores/{metadatastore}/executions/{execution}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/metadataStores/[^/]+/executions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+execution}:queryExecutionInputsAndOutputs", +"response": { +"$ref": "GoogleCloudAiplatformV1LineageSubgraph" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"operations": { +"methods": { +"cancel": { +"description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/metadataStores/{metadataStoresId}/executions/{executionsId}/operations/{operationsId}:cancel", +"httpMethod": "POST", +"id": "aiplatform.projects.locations.metadataStores.executions.operations.cancel", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be cancelled.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/metadataStores/[^/]+/executions/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:cancel", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/metadataStores/{metadataStoresId}/executions/{executionsId}/operations/{operationsId}", +"httpMethod": "DELETE", +"id": "aiplatform.projects.locations.metadataStores.executions.operations.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be deleted.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/metadataStores/[^/]+/executions/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/metadataStores/{metadataStoresId}/executions/{executionsId}/operations/{operationsId}", +"httpMethod": "GET", +"id": "aiplatform.projects.locations.metadataStores.executions.operations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/metadataStores/[^/]+/executions/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/metadataStores/{metadataStoresId}/executions/{executionsId}/operations", +"httpMethod": "GET", +"id": "aiplatform.projects.locations.metadataStores.executions.operations.list", +"parameterOrder": [ +"name" +], +"parameters": { +"filter": { +"description": "The standard list filter.", +"location": "query", +"type": "string" +}, +"name": { +"description": "The name of the operation's parent resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/metadataStores/[^/]+/executions/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The standard list page size.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The standard list page token.", +"location": "query", +"type": "string" +}, +"returnPartialSuccess": { +"description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `\"projects/example/locations/-\"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1/{+name}/operations", +"response": { +"$ref": "GoogleLongrunningListOperationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"wait": { +"description": "Waits until the specified long-running operation is done or reaches at most a specified timeout, returning the latest state. If the operation is already done, the latest state is immediately returned. If the timeout specified is greater than the default HTTP/RPC timeout, the HTTP/RPC timeout is used. If the server does not support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Note that this method is on a best-effort basis. It may return the latest state before the specified timeout (including immediately), meaning even an immediate response is no guarantee that the operation is done.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/metadataStores/{metadataStoresId}/executions/{executionsId}/operations/{operationsId}:wait", +"httpMethod": "POST", +"id": "aiplatform.projects.locations.metadataStores.executions.operations.wait", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to wait on.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/metadataStores/[^/]+/executions/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +}, +"timeout": { +"description": "The maximum duration to wait before timing out. If left blank, the wait will be at most the time permitted by the underlying HTTP/RPC protocol. If RPC context deadline is also specified, the shorter one will be used.", +"format": "google-duration", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}:wait", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +}, +"metadataSchemas": { +"methods": { +"create": { +"description": "Creates a MetadataSchema.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/metadataStores/{metadataStoresId}/metadataSchemas", +"httpMethod": "POST", +"id": "aiplatform.projects.locations.metadataStores.metadataSchemas.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"metadataSchemaId": { +"description": "The {metadata_schema} portion of the resource name with the format: `projects/{project}/locations/{location}/metadataStores/{metadatastore}/metadataSchemas/{metadataschema}` If not provided, the MetadataStore's ID will be a UUID generated by the service. Must be 4-128 characters in length. Valid characters are `/a-z-/`. Must be unique across all MetadataSchemas in the parent Location. (Otherwise the request will fail with ALREADY_EXISTS, or PERMISSION_DENIED if the caller can't view the preexisting MetadataSchema.)", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The resource name of the MetadataStore where the MetadataSchema should be created. Format: `projects/{project}/locations/{location}/metadataStores/{metadatastore}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/metadataStores/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/metadataSchemas", +"request": { +"$ref": "GoogleCloudAiplatformV1MetadataSchema" +}, +"response": { +"$ref": "GoogleCloudAiplatformV1MetadataSchema" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Retrieves a specific MetadataSchema.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/metadataStores/{metadataStoresId}/metadataSchemas/{metadataSchemasId}", +"httpMethod": "GET", +"id": "aiplatform.projects.locations.metadataStores.metadataSchemas.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the MetadataSchema to retrieve. Format: `projects/{project}/locations/{location}/metadataStores/{metadatastore}/metadataSchemas/{metadataschema}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/metadataStores/[^/]+/metadataSchemas/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleCloudAiplatformV1MetadataSchema" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists MetadataSchemas.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/metadataStores/{metadataStoresId}/metadataSchemas", +"httpMethod": "GET", +"id": "aiplatform.projects.locations.metadataStores.metadataSchemas.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "A query to filter available MetadataSchemas for matching results.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "The maximum number of MetadataSchemas to return. The service may return fewer. Must be in range 1-100, inclusive. Defaults to 100.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A page token, received from a previous MetadataService.ListMetadataSchemas call. Provide this to retrieve the next page. When paginating, all other provided parameters must match the call that provided the page token. (Otherwise the request will fail with INVALID_ARGUMENT error.)", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The MetadataStore whose MetadataSchemas should be listed. Format: `projects/{project}/locations/{location}/metadataStores/{metadatastore}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/metadataStores/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/metadataSchemas", +"response": { +"$ref": "GoogleCloudAiplatformV1ListMetadataSchemasResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"operations": { +"methods": { +"cancel": { +"description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/metadataStores/{metadataStoresId}/operations/{operationsId}:cancel", +"httpMethod": "POST", +"id": "aiplatform.projects.locations.metadataStores.operations.cancel", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be cancelled.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/metadataStores/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:cancel", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/metadataStores/{metadataStoresId}/operations/{operationsId}", +"httpMethod": "DELETE", +"id": "aiplatform.projects.locations.metadataStores.operations.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be deleted.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/metadataStores/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/metadataStores/{metadataStoresId}/operations/{operationsId}", +"httpMethod": "GET", +"id": "aiplatform.projects.locations.metadataStores.operations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/metadataStores/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/metadataStores/{metadataStoresId}/operations", +"httpMethod": "GET", +"id": "aiplatform.projects.locations.metadataStores.operations.list", +"parameterOrder": [ +"name" +], +"parameters": { +"filter": { +"description": "The standard list filter.", +"location": "query", +"type": "string" +}, +"name": { +"description": "The name of the operation's parent resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/metadataStores/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The standard list page size.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The standard list page token.", +"location": "query", +"type": "string" +}, +"returnPartialSuccess": { +"description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `\"projects/example/locations/-\"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1/{+name}/operations", +"response": { +"$ref": "GoogleLongrunningListOperationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"wait": { +"description": "Waits until the specified long-running operation is done or reaches at most a specified timeout, returning the latest state. If the operation is already done, the latest state is immediately returned. If the timeout specified is greater than the default HTTP/RPC timeout, the HTTP/RPC timeout is used. If the server does not support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Note that this method is on a best-effort basis. It may return the latest state before the specified timeout (including immediately), meaning even an immediate response is no guarantee that the operation is done.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/metadataStores/{metadataStoresId}/operations/{operationsId}:wait", +"httpMethod": "POST", +"id": "aiplatform.projects.locations.metadataStores.operations.wait", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to wait on.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/metadataStores/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +}, +"timeout": { +"description": "The maximum duration to wait before timing out. If left blank, the wait will be at most the time permitted by the underlying HTTP/RPC protocol. If RPC context deadline is also specified, the shorter one will be used.", +"format": "google-duration", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}:wait", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +}, +"migratableResources": { +"methods": { +"batchMigrate": { +"description": "Batch migrates resources from ml.googleapis.com, automl.googleapis.com, and datalabeling.googleapis.com to Vertex AI.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/migratableResources:batchMigrate", +"httpMethod": "POST", +"id": "aiplatform.projects.locations.migratableResources.batchMigrate", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The location of the migrated resource will live in. Format: `projects/{project}/locations/{location}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/migratableResources:batchMigrate", +"request": { +"$ref": "GoogleCloudAiplatformV1BatchMigrateResourcesRequest" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"search": { +"description": "Searches all of the resources in automl.googleapis.com, datalabeling.googleapis.com and ml.googleapis.com that can be migrated to Vertex AI's given location.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/migratableResources:search", +"httpMethod": "POST", +"id": "aiplatform.projects.locations.migratableResources.search", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The location that the migratable resources should be searched from. It's the Vertex AI location that the resources can be migrated to, not the resources' original location. Format: `projects/{project}/locations/{location}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/migratableResources:search", +"request": { +"$ref": "GoogleCloudAiplatformV1SearchMigratableResourcesRequest" +}, +"response": { +"$ref": "GoogleCloudAiplatformV1SearchMigratableResourcesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"operations": { +"methods": { +"cancel": { +"description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/migratableResources/{migratableResourcesId}/operations/{operationsId}:cancel", +"httpMethod": "POST", +"id": "aiplatform.projects.locations.migratableResources.operations.cancel", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be cancelled.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/migratableResources/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:cancel", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/migratableResources/{migratableResourcesId}/operations/{operationsId}", +"httpMethod": "DELETE", +"id": "aiplatform.projects.locations.migratableResources.operations.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be deleted.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/migratableResources/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/migratableResources/{migratableResourcesId}/operations/{operationsId}", +"httpMethod": "GET", +"id": "aiplatform.projects.locations.migratableResources.operations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/migratableResources/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/migratableResources/{migratableResourcesId}/operations", +"httpMethod": "GET", +"id": "aiplatform.projects.locations.migratableResources.operations.list", +"parameterOrder": [ +"name" +], +"parameters": { +"filter": { +"description": "The standard list filter.", +"location": "query", +"type": "string" +}, +"name": { +"description": "The name of the operation's parent resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/migratableResources/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The standard list page size.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The standard list page token.", +"location": "query", +"type": "string" +}, +"returnPartialSuccess": { +"description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `\"projects/example/locations/-\"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1/{+name}/operations", +"response": { +"$ref": "GoogleLongrunningListOperationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"wait": { +"description": "Waits until the specified long-running operation is done or reaches at most a specified timeout, returning the latest state. If the operation is already done, the latest state is immediately returned. If the timeout specified is greater than the default HTTP/RPC timeout, the HTTP/RPC timeout is used. If the server does not support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Note that this method is on a best-effort basis. It may return the latest state before the specified timeout (including immediately), meaning even an immediate response is no guarantee that the operation is done.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/migratableResources/{migratableResourcesId}/operations/{operationsId}:wait", +"httpMethod": "POST", +"id": "aiplatform.projects.locations.migratableResources.operations.wait", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to wait on.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/migratableResources/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +}, +"timeout": { +"description": "The maximum duration to wait before timing out. If left blank, the wait will be at most the time permitted by the underlying HTTP/RPC protocol. If RPC context deadline is also specified, the shorter one will be used.", +"format": "google-duration", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}:wait", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +}, +"modelDeploymentMonitoringJobs": { +"methods": { +"create": { +"description": "Creates a ModelDeploymentMonitoringJob. It will run periodically on a configured interval.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/modelDeploymentMonitoringJobs", +"httpMethod": "POST", +"id": "aiplatform.projects.locations.modelDeploymentMonitoringJobs.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The parent of the ModelDeploymentMonitoringJob. Format: `projects/{project}/locations/{location}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/modelDeploymentMonitoringJobs", +"request": { +"$ref": "GoogleCloudAiplatformV1ModelDeploymentMonitoringJob" +}, +"response": { +"$ref": "GoogleCloudAiplatformV1ModelDeploymentMonitoringJob" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a ModelDeploymentMonitoringJob.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/modelDeploymentMonitoringJobs/{modelDeploymentMonitoringJobsId}", +"httpMethod": "DELETE", +"id": "aiplatform.projects.locations.modelDeploymentMonitoringJobs.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the model monitoring job to delete. Format: `projects/{project}/locations/{location}/modelDeploymentMonitoringJobs/{model_deployment_monitoring_job}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/modelDeploymentMonitoringJobs/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets a ModelDeploymentMonitoringJob.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/modelDeploymentMonitoringJobs/{modelDeploymentMonitoringJobsId}", +"httpMethod": "GET", +"id": "aiplatform.projects.locations.modelDeploymentMonitoringJobs.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the ModelDeploymentMonitoringJob. Format: `projects/{project}/locations/{location}/modelDeploymentMonitoringJobs/{model_deployment_monitoring_job}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/modelDeploymentMonitoringJobs/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleCloudAiplatformV1ModelDeploymentMonitoringJob" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists ModelDeploymentMonitoringJobs in a Location.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/modelDeploymentMonitoringJobs", +"httpMethod": "GET", +"id": "aiplatform.projects.locations.modelDeploymentMonitoringJobs.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "The standard list filter. Supported fields: * `display_name` supports `=`, `!=` comparisons, and `:` wildcard. * `state` supports `=`, `!=` comparisons. * `create_time` supports `=`, `!=`,`<`, `<=`,`>`, `>=` comparisons. `create_time` must be in RFC 3339 format. * `labels` supports general map functions that is: `labels.key=value` - key:value equality `labels.key:* - key existence Some examples of using the filter are: * `state=\"JOB_STATE_SUCCEEDED\" AND display_name:\"my_job_*\"` * `state!=\"JOB_STATE_FAILED\" OR display_name=\"my_job\"` * `NOT display_name=\"my_job\"` * `create_time>\"2021-05-18T00:00:00Z\"` * `labels.keyA=valueA` * `labels.keyB:*`", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "The standard list page size.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The standard list page token.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent of the ModelDeploymentMonitoringJob. Format: `projects/{project}/locations/{location}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +}, +"readMask": { +"description": "Mask specifying which fields to read", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+parent}/modelDeploymentMonitoringJobs", +"response": { +"$ref": "GoogleCloudAiplatformV1ListModelDeploymentMonitoringJobsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates a ModelDeploymentMonitoringJob.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/modelDeploymentMonitoringJobs/{modelDeploymentMonitoringJobsId}", +"httpMethod": "PATCH", +"id": "aiplatform.projects.locations.modelDeploymentMonitoringJobs.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Output only. Resource name of a ModelDeploymentMonitoringJob.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/modelDeploymentMonitoringJobs/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Required. The update mask is used to specify the fields to be overwritten in the ModelDeploymentMonitoringJob resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then only the non-empty fields present in the request will be overwritten. Set the update_mask to `*` to override all fields. For the objective config, the user can either provide the update mask for model_deployment_monitoring_objective_configs or any combination of its nested fields, such as: model_deployment_monitoring_objective_configs.objective_config.training_dataset. Updatable fields: * `display_name` * `model_deployment_monitoring_schedule_config` * `model_monitoring_alert_config` * `logging_sampling_strategy` * `labels` * `log_ttl` * `enable_monitoring_pipeline_logs` . and * `model_deployment_monitoring_objective_configs` . or * `model_deployment_monitoring_objective_configs.objective_config.training_dataset` * `model_deployment_monitoring_objective_configs.objective_config.training_prediction_skew_detection_config` * `model_deployment_monitoring_objective_configs.objective_config.prediction_drift_detection_config`", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "GoogleCloudAiplatformV1ModelDeploymentMonitoringJob" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"pause": { +"description": "Pauses a ModelDeploymentMonitoringJob. If the job is running, the server makes a best effort to cancel the job. Will mark ModelDeploymentMonitoringJob.state to 'PAUSED'.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/modelDeploymentMonitoringJobs/{modelDeploymentMonitoringJobsId}:pause", +"httpMethod": "POST", +"id": "aiplatform.projects.locations.modelDeploymentMonitoringJobs.pause", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the ModelDeploymentMonitoringJob to pause. Format: `projects/{project}/locations/{location}/modelDeploymentMonitoringJobs/{model_deployment_monitoring_job}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/modelDeploymentMonitoringJobs/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:pause", +"request": { +"$ref": "GoogleCloudAiplatformV1PauseModelDeploymentMonitoringJobRequest" +}, +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"resume": { +"description": "Resumes a paused ModelDeploymentMonitoringJob. It will start to run from next scheduled time. A deleted ModelDeploymentMonitoringJob can't be resumed.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/modelDeploymentMonitoringJobs/{modelDeploymentMonitoringJobsId}:resume", +"httpMethod": "POST", +"id": "aiplatform.projects.locations.modelDeploymentMonitoringJobs.resume", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the ModelDeploymentMonitoringJob to resume. Format: `projects/{project}/locations/{location}/modelDeploymentMonitoringJobs/{model_deployment_monitoring_job}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/modelDeploymentMonitoringJobs/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:resume", +"request": { +"$ref": "GoogleCloudAiplatformV1ResumeModelDeploymentMonitoringJobRequest" +}, +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"searchModelDeploymentMonitoringStatsAnomalies": { +"description": "Searches Model Monitoring Statistics generated within a given time window.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/modelDeploymentMonitoringJobs/{modelDeploymentMonitoringJobsId}:searchModelDeploymentMonitoringStatsAnomalies", +"httpMethod": "POST", +"id": "aiplatform.projects.locations.modelDeploymentMonitoringJobs.searchModelDeploymentMonitoringStatsAnomalies", +"parameterOrder": [ +"modelDeploymentMonitoringJob" +], +"parameters": { +"modelDeploymentMonitoringJob": { +"description": "Required. ModelDeploymentMonitoring Job resource name. Format: `projects/{project}/locations/{location}/modelDeploymentMonitoringJobs/{model_deployment_monitoring_job}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/modelDeploymentMonitoringJobs/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+modelDeploymentMonitoringJob}:searchModelDeploymentMonitoringStatsAnomalies", +"request": { +"$ref": "GoogleCloudAiplatformV1SearchModelDeploymentMonitoringStatsAnomaliesRequest" +}, +"response": { +"$ref": "GoogleCloudAiplatformV1SearchModelDeploymentMonitoringStatsAnomaliesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"operations": { +"methods": { +"cancel": { +"description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/modelDeploymentMonitoringJobs/{modelDeploymentMonitoringJobsId}/operations/{operationsId}:cancel", +"httpMethod": "POST", +"id": "aiplatform.projects.locations.modelDeploymentMonitoringJobs.operations.cancel", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be cancelled.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/modelDeploymentMonitoringJobs/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:cancel", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/modelDeploymentMonitoringJobs/{modelDeploymentMonitoringJobsId}/operations/{operationsId}", +"httpMethod": "DELETE", +"id": "aiplatform.projects.locations.modelDeploymentMonitoringJobs.operations.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be deleted.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/modelDeploymentMonitoringJobs/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/modelDeploymentMonitoringJobs/{modelDeploymentMonitoringJobsId}/operations/{operationsId}", +"httpMethod": "GET", +"id": "aiplatform.projects.locations.modelDeploymentMonitoringJobs.operations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/modelDeploymentMonitoringJobs/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/modelDeploymentMonitoringJobs/{modelDeploymentMonitoringJobsId}/operations", +"httpMethod": "GET", +"id": "aiplatform.projects.locations.modelDeploymentMonitoringJobs.operations.list", +"parameterOrder": [ +"name" +], +"parameters": { +"filter": { +"description": "The standard list filter.", +"location": "query", +"type": "string" +}, +"name": { +"description": "The name of the operation's parent resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/modelDeploymentMonitoringJobs/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The standard list page size.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The standard list page token.", +"location": "query", +"type": "string" +}, +"returnPartialSuccess": { +"description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `\"projects/example/locations/-\"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1/{+name}/operations", +"response": { +"$ref": "GoogleLongrunningListOperationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"wait": { +"description": "Waits until the specified long-running operation is done or reaches at most a specified timeout, returning the latest state. If the operation is already done, the latest state is immediately returned. If the timeout specified is greater than the default HTTP/RPC timeout, the HTTP/RPC timeout is used. If the server does not support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Note that this method is on a best-effort basis. It may return the latest state before the specified timeout (including immediately), meaning even an immediate response is no guarantee that the operation is done.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/modelDeploymentMonitoringJobs/{modelDeploymentMonitoringJobsId}/operations/{operationsId}:wait", +"httpMethod": "POST", +"id": "aiplatform.projects.locations.modelDeploymentMonitoringJobs.operations.wait", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to wait on.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/modelDeploymentMonitoringJobs/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +}, +"timeout": { +"description": "The maximum duration to wait before timing out. If left blank, the wait will be at most the time permitted by the underlying HTTP/RPC protocol. If RPC context deadline is also specified, the shorter one will be used.", +"format": "google-duration", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}:wait", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +}, +"models": { +"methods": { +"copy": { +"description": "Copies an already existing Vertex AI Model into the specified Location. The source Model must exist in the same Project. When copying custom Models, the users themselves are responsible for Model.metadata content to be region-agnostic, as well as making sure that any resources (e.g. files) it depends on remain accessible.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/models:copy", +"httpMethod": "POST", +"id": "aiplatform.projects.locations.models.copy", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The resource name of the Location into which to copy the Model. Format: `projects/{project}/locations/{location}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/models:copy", +"request": { +"$ref": "GoogleCloudAiplatformV1CopyModelRequest" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a Model. A model cannot be deleted if any Endpoint resource has a DeployedModel based on the model in its deployed_models field.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/models/{modelsId}", +"httpMethod": "DELETE", +"id": "aiplatform.projects.locations.models.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the Model resource to be deleted. Format: `projects/{project}/locations/{location}/models/{model}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/models/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"deleteVersion": { +"description": "Deletes a Model version. Model version can only be deleted if there are no DeployedModels created from it. Deleting the only version in the Model is not allowed. Use DeleteModel for deleting the Model instead.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/models/{modelsId}:deleteVersion", +"httpMethod": "DELETE", +"id": "aiplatform.projects.locations.models.deleteVersion", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the model version to be deleted, with a version ID explicitly included. Example: `projects/{project}/locations/{location}/models/{model}@1234`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/models/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:deleteVersion", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"export": { +"description": "Exports a trained, exportable Model to a location specified by the user. A Model is considered to be exportable if it has at least one supported export format.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/models/{modelsId}:export", +"httpMethod": "POST", +"id": "aiplatform.projects.locations.models.export", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the Model to export. The resource name may contain version id or version alias to specify the version, if no version is specified, the default version will be exported.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/models/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:export", +"request": { +"$ref": "GoogleCloudAiplatformV1ExportModelRequest" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets a Model.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/models/{modelsId}", +"httpMethod": "GET", +"id": "aiplatform.projects.locations.models.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the Model resource. Format: `projects/{project}/locations/{location}/models/{model}` In order to retrieve a specific version of the model, also provide the version ID or version alias. Example: `projects/{project}/locations/{location}/models/{model}@2` or `projects/{project}/locations/{location}/models/{model}@golden` If no version ID or alias is specified, the \"default\" version will be returned. The \"default\" version alias is created for the first version of the model, and can be moved to other versions later on. There will be exactly one default version.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/models/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleCloudAiplatformV1Model" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"getIamPolicy": { +"description": "Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/models/{modelsId}:getIamPolicy", +"httpMethod": "POST", +"id": "aiplatform.projects.locations.models.getIamPolicy", +"parameterOrder": [ +"resource" +], +"parameters": { +"options.requestedPolicyVersion": { +"description": "Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).", +"format": "int32", +"location": "query", +"type": "integer" +}, +"resource": { +"description": "REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/models/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+resource}:getIamPolicy", +"response": { +"$ref": "GoogleIamV1Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists Models in a Location.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/models", +"httpMethod": "GET", +"id": "aiplatform.projects.locations.models.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "An expression for filtering the results of the request. For field names both snake_case and camelCase are supported. * `model` supports = and !=. `model` represents the Model ID, i.e. the last segment of the Model's resource name. * `display_name` supports = and != * `labels` supports general map functions that is: * `labels.key=value` - key:value equality * `labels.key:* or labels:key - key existence * A key including a space must be quoted. `labels.\"a key\"`. * `base_model_name` only supports = Some examples: * `model=1234` * `displayName=\"myDisplayName\"` * `labels.myKey=\"myValue\"` * `baseModelName=\"text-bison\"`", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "A comma-separated list of fields to order by, sorted in ascending order. Use \"desc\" after a field name for descending. Supported fields: * `display_name` * `create_time` * `update_time` Example: `display_name, create_time desc`.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "The standard list page size.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The standard list page token. Typically obtained via ListModelsResponse.next_page_token of the previous ModelService.ListModels call.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The resource name of the Location to list the Models from. Format: `projects/{project}/locations/{location}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +}, +"readMask": { +"description": "Mask specifying which fields to read.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+parent}/models", +"response": { +"$ref": "GoogleCloudAiplatformV1ListModelsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"listCheckpoints": { +"description": "Lists checkpoints of the specified model version.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/models/{modelsId}:listCheckpoints", +"httpMethod": "GET", +"id": "aiplatform.projects.locations.models.listCheckpoints", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the model version to list checkpoints for. `projects/{project}/locations/{location}/models/{model}@{version}` Example: `projects/{project}/locations/{location}/models/{model}@2` or `projects/{project}/locations/{location}/models/{model}@golden` If no version ID or alias is specified, the latest version will be used.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/models/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "Optional. The standard list page size.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. The standard list page token. Typically obtained via next_page_token of the previous ListModelVersionCheckpoints call.", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}:listCheckpoints", +"response": { +"$ref": "GoogleCloudAiplatformV1ListModelVersionCheckpointsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"listVersions": { +"description": "Lists versions of the specified model.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/models/{modelsId}:listVersions", +"httpMethod": "GET", +"id": "aiplatform.projects.locations.models.listVersions", +"parameterOrder": [ +"name" +], +"parameters": { +"filter": { +"description": "An expression for filtering the results of the request. For field names both snake_case and camelCase are supported. * `labels` supports general map functions that is: * `labels.key=value` - key:value equality * `labels.key:* or labels:key - key existence * A key including a space must be quoted. `labels.\"a key\"`. Some examples: * `labels.myKey=\"myValue\"`", +"location": "query", +"type": "string" +}, +"name": { +"description": "Required. The name of the model to list versions for.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/models/[^/]+$", +"required": true, +"type": "string" +}, +"orderBy": { +"description": "A comma-separated list of fields to order by, sorted in ascending order. Use \"desc\" after a field name for descending. Supported fields: * `create_time` * `update_time` Example: `update_time asc, create_time desc`.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "The standard list page size.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The standard list page token. Typically obtained via next_page_token of the previous ListModelVersions call.", +"location": "query", +"type": "string" +}, +"readMask": { +"description": "Mask specifying which fields to read.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}:listVersions", +"response": { +"$ref": "GoogleCloudAiplatformV1ListModelVersionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"mergeVersionAliases": { +"description": "Merges a set of aliases for a Model version.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/models/{modelsId}:mergeVersionAliases", +"httpMethod": "POST", +"id": "aiplatform.projects.locations.models.mergeVersionAliases", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the model version to merge aliases, with a version ID explicitly included. Example: `projects/{project}/locations/{location}/models/{model}@1234`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/models/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:mergeVersionAliases", +"request": { +"$ref": "GoogleCloudAiplatformV1MergeVersionAliasesRequest" +}, +"response": { +"$ref": "GoogleCloudAiplatformV1Model" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates a Model.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/models/{modelsId}", +"httpMethod": "PATCH", +"id": "aiplatform.projects.locations.models.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The resource name of the Model.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/models/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Required. The update mask applies to the resource. For the `FieldMask` definition, see google.protobuf.FieldMask.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "GoogleCloudAiplatformV1Model" +}, +"response": { +"$ref": "GoogleCloudAiplatformV1Model" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"setIamPolicy": { +"description": "Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/models/{modelsId}:setIamPolicy", +"httpMethod": "POST", +"id": "aiplatform.projects.locations.models.setIamPolicy", +"parameterOrder": [ +"resource" +], +"parameters": { +"resource": { +"description": "REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/models/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+resource}:setIamPolicy", +"request": { +"$ref": "GoogleIamV1SetIamPolicyRequest" +}, +"response": { +"$ref": "GoogleIamV1Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"testIamPermissions": { +"description": "Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may \"fail open\" without warning.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/models/{modelsId}:testIamPermissions", +"httpMethod": "POST", +"id": "aiplatform.projects.locations.models.testIamPermissions", +"parameterOrder": [ +"resource" +], +"parameters": { +"permissions": { +"description": "The set of permissions to check for the `resource`. Permissions with wildcards (such as `*` or `storage.*`) are not allowed. For more information see [IAM Overview](https://cloud.google.com/iam/docs/overview#permissions).", +"location": "query", +"repeated": true, +"type": "string" +}, +"resource": { +"description": "REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/models/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+resource}:testIamPermissions", +"response": { +"$ref": "GoogleIamV1TestIamPermissionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"updateExplanationDataset": { +"description": "Incrementally update the dataset used for an examples model.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/models/{modelsId}:updateExplanationDataset", +"httpMethod": "POST", +"id": "aiplatform.projects.locations.models.updateExplanationDataset", +"parameterOrder": [ +"model" +], +"parameters": { +"model": { +"description": "Required. The resource name of the Model to update. Format: `projects/{project}/locations/{location}/models/{model}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/models/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+model}:updateExplanationDataset", +"request": { +"$ref": "GoogleCloudAiplatformV1UpdateExplanationDatasetRequest" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"upload": { +"description": "Uploads a Model artifact into Vertex AI.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/models:upload", +"httpMethod": "POST", +"id": "aiplatform.projects.locations.models.upload", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The resource name of the Location into which to upload the Model. Format: `projects/{project}/locations/{location}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/models:upload", +"request": { +"$ref": "GoogleCloudAiplatformV1UploadModelRequest" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"evaluations": { +"methods": { +"get": { +"description": "Gets a ModelEvaluation.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/models/{modelsId}/evaluations/{evaluationsId}", +"httpMethod": "GET", +"id": "aiplatform.projects.locations.models.evaluations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the ModelEvaluation resource. Format: `projects/{project}/locations/{location}/models/{model}/evaluations/{evaluation}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/models/[^/]+/evaluations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleCloudAiplatformV1ModelEvaluation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"import": { +"description": "Imports an externally generated ModelEvaluation.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/models/{modelsId}/evaluations:import", +"httpMethod": "POST", +"id": "aiplatform.projects.locations.models.evaluations.import", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The name of the parent model resource. Format: `projects/{project}/locations/{location}/models/{model}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/models/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/evaluations:import", +"request": { +"$ref": "GoogleCloudAiplatformV1ImportModelEvaluationRequest" +}, +"response": { +"$ref": "GoogleCloudAiplatformV1ModelEvaluation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists ModelEvaluations in a Model.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/models/{modelsId}/evaluations", +"httpMethod": "GET", +"id": "aiplatform.projects.locations.models.evaluations.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "The standard list filter.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "The standard list page size.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The standard list page token. Typically obtained via ListModelEvaluationsResponse.next_page_token of the previous ModelService.ListModelEvaluations call.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The resource name of the Model to list the ModelEvaluations from. Format: `projects/{project}/locations/{location}/models/{model}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/models/[^/]+$", +"required": true, +"type": "string" +}, +"readMask": { +"description": "Mask specifying which fields to read.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+parent}/evaluations", +"response": { +"$ref": "GoogleCloudAiplatformV1ListModelEvaluationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"operations": { +"methods": { +"cancel": { +"description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/models/{modelsId}/evaluations/{evaluationsId}/operations/{operationsId}:cancel", +"httpMethod": "POST", +"id": "aiplatform.projects.locations.models.evaluations.operations.cancel", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be cancelled.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/models/[^/]+/evaluations/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:cancel", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/models/{modelsId}/evaluations/{evaluationsId}/operations/{operationsId}", +"httpMethod": "DELETE", +"id": "aiplatform.projects.locations.models.evaluations.operations.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be deleted.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/models/[^/]+/evaluations/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/models/{modelsId}/evaluations/{evaluationsId}/operations/{operationsId}", +"httpMethod": "GET", +"id": "aiplatform.projects.locations.models.evaluations.operations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/models/[^/]+/evaluations/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/models/{modelsId}/evaluations/{evaluationsId}/operations", +"httpMethod": "GET", +"id": "aiplatform.projects.locations.models.evaluations.operations.list", +"parameterOrder": [ +"name" +], +"parameters": { +"filter": { +"description": "The standard list filter.", +"location": "query", +"type": "string" +}, +"name": { +"description": "The name of the operation's parent resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/models/[^/]+/evaluations/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The standard list page size.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The standard list page token.", +"location": "query", +"type": "string" +}, +"returnPartialSuccess": { +"description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `\"projects/example/locations/-\"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1/{+name}/operations", +"response": { +"$ref": "GoogleLongrunningListOperationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"wait": { +"description": "Waits until the specified long-running operation is done or reaches at most a specified timeout, returning the latest state. If the operation is already done, the latest state is immediately returned. If the timeout specified is greater than the default HTTP/RPC timeout, the HTTP/RPC timeout is used. If the server does not support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Note that this method is on a best-effort basis. It may return the latest state before the specified timeout (including immediately), meaning even an immediate response is no guarantee that the operation is done.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/models/{modelsId}/evaluations/{evaluationsId}/operations/{operationsId}:wait", +"httpMethod": "POST", +"id": "aiplatform.projects.locations.models.evaluations.operations.wait", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to wait on.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/models/[^/]+/evaluations/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +}, +"timeout": { +"description": "The maximum duration to wait before timing out. If left blank, the wait will be at most the time permitted by the underlying HTTP/RPC protocol. If RPC context deadline is also specified, the shorter one will be used.", +"format": "google-duration", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}:wait", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"slices": { +"methods": { +"batchImport": { +"description": "Imports a list of externally generated EvaluatedAnnotations.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/models/{modelsId}/evaluations/{evaluationsId}/slices/{slicesId}:batchImport", +"httpMethod": "POST", +"id": "aiplatform.projects.locations.models.evaluations.slices.batchImport", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The name of the parent ModelEvaluationSlice resource. Format: `projects/{project}/locations/{location}/models/{model}/evaluations/{evaluation}/slices/{slice}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/models/[^/]+/evaluations/[^/]+/slices/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}:batchImport", +"request": { +"$ref": "GoogleCloudAiplatformV1BatchImportEvaluatedAnnotationsRequest" +}, +"response": { +"$ref": "GoogleCloudAiplatformV1BatchImportEvaluatedAnnotationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets a ModelEvaluationSlice.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/models/{modelsId}/evaluations/{evaluationsId}/slices/{slicesId}", +"httpMethod": "GET", +"id": "aiplatform.projects.locations.models.evaluations.slices.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the ModelEvaluationSlice resource. Format: `projects/{project}/locations/{location}/models/{model}/evaluations/{evaluation}/slices/{slice}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/models/[^/]+/evaluations/[^/]+/slices/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleCloudAiplatformV1ModelEvaluationSlice" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists ModelEvaluationSlices in a ModelEvaluation.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/models/{modelsId}/evaluations/{evaluationsId}/slices", +"httpMethod": "GET", +"id": "aiplatform.projects.locations.models.evaluations.slices.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "The standard list filter. * `slice.dimension` - for =.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "The standard list page size.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The standard list page token. Typically obtained via ListModelEvaluationSlicesResponse.next_page_token of the previous ModelService.ListModelEvaluationSlices call.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The resource name of the ModelEvaluation to list the ModelEvaluationSlices from. Format: `projects/{project}/locations/{location}/models/{model}/evaluations/{evaluation}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/models/[^/]+/evaluations/[^/]+$", +"required": true, +"type": "string" +}, +"readMask": { +"description": "Mask specifying which fields to read.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+parent}/slices", +"response": { +"$ref": "GoogleCloudAiplatformV1ListModelEvaluationSlicesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +}, +"operations": { +"methods": { +"cancel": { +"description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/models/{modelsId}/operations/{operationsId}:cancel", +"httpMethod": "POST", +"id": "aiplatform.projects.locations.models.operations.cancel", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be cancelled.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/models/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:cancel", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/models/{modelsId}/operations/{operationsId}", +"httpMethod": "DELETE", +"id": "aiplatform.projects.locations.models.operations.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be deleted.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/models/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/models/{modelsId}/operations/{operationsId}", +"httpMethod": "GET", +"id": "aiplatform.projects.locations.models.operations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/models/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/models/{modelsId}/operations", +"httpMethod": "GET", +"id": "aiplatform.projects.locations.models.operations.list", +"parameterOrder": [ +"name" +], +"parameters": { +"filter": { +"description": "The standard list filter.", +"location": "query", +"type": "string" +}, +"name": { +"description": "The name of the operation's parent resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/models/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The standard list page size.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The standard list page token.", +"location": "query", +"type": "string" +}, +"returnPartialSuccess": { +"description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `\"projects/example/locations/-\"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1/{+name}/operations", +"response": { +"$ref": "GoogleLongrunningListOperationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"wait": { +"description": "Waits until the specified long-running operation is done or reaches at most a specified timeout, returning the latest state. If the operation is already done, the latest state is immediately returned. If the timeout specified is greater than the default HTTP/RPC timeout, the HTTP/RPC timeout is used. If the server does not support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Note that this method is on a best-effort basis. It may return the latest state before the specified timeout (including immediately), meaning even an immediate response is no guarantee that the operation is done.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/models/{modelsId}/operations/{operationsId}:wait", +"httpMethod": "POST", +"id": "aiplatform.projects.locations.models.operations.wait", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to wait on.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/models/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +}, +"timeout": { +"description": "The maximum duration to wait before timing out. If left blank, the wait will be at most the time permitted by the underlying HTTP/RPC protocol. If RPC context deadline is also specified, the shorter one will be used.", +"format": "google-duration", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}:wait", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +}, +"nasJobs": { +"methods": { +"cancel": { +"description": "Cancels a NasJob. Starts asynchronous cancellation on the NasJob. The server makes a best effort to cancel the job, but success is not guaranteed. Clients can use JobService.GetNasJob or other methods to check whether the cancellation succeeded or whether the job completed despite cancellation. On successful cancellation, the NasJob is not deleted; instead it becomes a job with a NasJob.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`, and NasJob.state is set to `CANCELLED`.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/nasJobs/{nasJobsId}:cancel", +"httpMethod": "POST", +"id": "aiplatform.projects.locations.nasJobs.cancel", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the NasJob to cancel. Format: `projects/{project}/locations/{location}/nasJobs/{nas_job}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/nasJobs/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:cancel", +"request": { +"$ref": "GoogleCloudAiplatformV1CancelNasJobRequest" +}, +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"create": { +"description": "Creates a NasJob", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/nasJobs", +"httpMethod": "POST", +"id": "aiplatform.projects.locations.nasJobs.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The resource name of the Location to create the NasJob in. Format: `projects/{project}/locations/{location}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/nasJobs", +"request": { +"$ref": "GoogleCloudAiplatformV1NasJob" +}, +"response": { +"$ref": "GoogleCloudAiplatformV1NasJob" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a NasJob.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/nasJobs/{nasJobsId}", +"httpMethod": "DELETE", +"id": "aiplatform.projects.locations.nasJobs.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the NasJob resource to be deleted. Format: `projects/{project}/locations/{location}/nasJobs/{nas_job}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/nasJobs/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets a NasJob", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/nasJobs/{nasJobsId}", +"httpMethod": "GET", +"id": "aiplatform.projects.locations.nasJobs.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the NasJob resource. Format: `projects/{project}/locations/{location}/nasJobs/{nas_job}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/nasJobs/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleCloudAiplatformV1NasJob" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only" +] +}, +"list": { +"description": "Lists NasJobs in a Location.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/nasJobs", +"httpMethod": "GET", +"id": "aiplatform.projects.locations.nasJobs.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "The standard list filter. Supported fields: * `display_name` supports `=`, `!=` comparisons, and `:` wildcard. * `state` supports `=`, `!=` comparisons. * `create_time` supports `=`, `!=`,`<`, `<=`,`>`, `>=` comparisons. `create_time` must be in RFC 3339 format. * `labels` supports general map functions that is: `labels.key=value` - key:value equality `labels.key:* - key existence Some examples of using the filter are: * `state=\"JOB_STATE_SUCCEEDED\" AND display_name:\"my_job_*\"` * `state!=\"JOB_STATE_FAILED\" OR display_name=\"my_job\"` * `NOT display_name=\"my_job\"` * `create_time>\"2021-05-18T00:00:00Z\"` * `labels.keyA=valueA` * `labels.keyB:*`", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "The standard list page size.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The standard list page token. Typically obtained via ListNasJobsResponse.next_page_token of the previous JobService.ListNasJobs call.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The resource name of the Location to list the NasJobs from. Format: `projects/{project}/locations/{location}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +}, +"readMask": { +"description": "Mask specifying which fields to read.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+parent}/nasJobs", +"response": { +"$ref": "GoogleCloudAiplatformV1ListNasJobsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"nasTrialDetails": { +"methods": { +"get": { +"description": "Gets a NasTrialDetail.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/nasJobs/{nasJobsId}/nasTrialDetails/{nasTrialDetailsId}", +"httpMethod": "GET", +"id": "aiplatform.projects.locations.nasJobs.nasTrialDetails.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the NasTrialDetail resource. Format: `projects/{project}/locations/{location}/nasJobs/{nas_job}/nasTrialDetails/{nas_trial_detail}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/nasJobs/[^/]+/nasTrialDetails/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleCloudAiplatformV1NasTrialDetail" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "List top NasTrialDetails of a NasJob.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/nasJobs/{nasJobsId}/nasTrialDetails", +"httpMethod": "GET", +"id": "aiplatform.projects.locations.nasJobs.nasTrialDetails.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "The standard list page size.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The standard list page token. Typically obtained via ListNasTrialDetailsResponse.next_page_token of the previous JobService.ListNasTrialDetails call.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The name of the NasJob resource. Format: `projects/{project}/locations/{location}/nasJobs/{nas_job}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/nasJobs/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/nasTrialDetails", +"response": { +"$ref": "GoogleCloudAiplatformV1ListNasTrialDetailsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +}, +"notebookExecutionJobs": { +"methods": { +"create": { +"description": "Creates a NotebookExecutionJob.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/notebookExecutionJobs", +"httpMethod": "POST", +"id": "aiplatform.projects.locations.notebookExecutionJobs.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"notebookExecutionJobId": { +"description": "Optional. User specified ID for the NotebookExecutionJob.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The resource name of the Location to create the NotebookExecutionJob. Format: `projects/{project}/locations/{location}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/notebookExecutionJobs", +"request": { +"$ref": "GoogleCloudAiplatformV1NotebookExecutionJob" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a NotebookExecutionJob.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/notebookExecutionJobs/{notebookExecutionJobsId}", +"httpMethod": "DELETE", +"id": "aiplatform.projects.locations.notebookExecutionJobs.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the NotebookExecutionJob resource to be deleted.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/notebookExecutionJobs/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets a NotebookExecutionJob.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/notebookExecutionJobs/{notebookExecutionJobsId}", +"httpMethod": "GET", +"id": "aiplatform.projects.locations.notebookExecutionJobs.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the NotebookExecutionJob resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/notebookExecutionJobs/[^/]+$", +"required": true, +"type": "string" +}, +"view": { +"description": "Optional. The NotebookExecutionJob view. Defaults to BASIC.", +"enum": [ +"NOTEBOOK_EXECUTION_JOB_VIEW_UNSPECIFIED", +"NOTEBOOK_EXECUTION_JOB_VIEW_BASIC", +"NOTEBOOK_EXECUTION_JOB_VIEW_FULL" +], +"enumDescriptions": [ +"When unspecified, the API defaults to the BASIC view.", +"Includes all fields except for direct notebook inputs.", +"Includes all fields." +], +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleCloudAiplatformV1NotebookExecutionJob" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists NotebookExecutionJobs in a Location.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/notebookExecutionJobs", +"httpMethod": "GET", +"id": "aiplatform.projects.locations.notebookExecutionJobs.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Optional. An expression for filtering the results of the request. For field names both snake_case and camelCase are supported. * `notebookExecutionJob` supports = and !=. `notebookExecutionJob` represents the NotebookExecutionJob ID. * `displayName` supports = and != and regex. * `schedule` supports = and != and regex. Some examples: * `notebookExecutionJob=\"123\"` * `notebookExecutionJob=\"my-execution-job\"` * `displayName=\"myDisplayName\"` and `displayName=~\"myDisplayNameRegex\"`", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "Optional. A comma-separated list of fields to order by, sorted in ascending order. Use \"desc\" after a field name for descending. Supported fields: * `display_name` * `create_time` * `update_time` Example: `display_name, create_time desc`.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Optional. The standard list page size.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. The standard list page token. Typically obtained via ListNotebookExecutionJobsResponse.next_page_token of the previous NotebookService.ListNotebookExecutionJobs call.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The resource name of the Location from which to list the NotebookExecutionJobs. Format: `projects/{project}/locations/{location}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +}, +"view": { +"description": "Optional. The NotebookExecutionJob view. Defaults to BASIC.", +"enum": [ +"NOTEBOOK_EXECUTION_JOB_VIEW_UNSPECIFIED", +"NOTEBOOK_EXECUTION_JOB_VIEW_BASIC", +"NOTEBOOK_EXECUTION_JOB_VIEW_FULL" +], +"enumDescriptions": [ +"When unspecified, the API defaults to the BASIC view.", +"Includes all fields except for direct notebook inputs.", +"Includes all fields." +], +"location": "query", +"type": "string" +} +}, +"path": "v1/{+parent}/notebookExecutionJobs", +"response": { +"$ref": "GoogleCloudAiplatformV1ListNotebookExecutionJobsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"operations": { +"methods": { +"cancel": { +"description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/notebookExecutionJobs/{notebookExecutionJobsId}/operations/{operationsId}:cancel", +"httpMethod": "POST", +"id": "aiplatform.projects.locations.notebookExecutionJobs.operations.cancel", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be cancelled.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/notebookExecutionJobs/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:cancel", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/notebookExecutionJobs/{notebookExecutionJobsId}/operations/{operationsId}", +"httpMethod": "DELETE", +"id": "aiplatform.projects.locations.notebookExecutionJobs.operations.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be deleted.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/notebookExecutionJobs/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/notebookExecutionJobs/{notebookExecutionJobsId}/operations/{operationsId}", +"httpMethod": "GET", +"id": "aiplatform.projects.locations.notebookExecutionJobs.operations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/notebookExecutionJobs/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/notebookExecutionJobs/{notebookExecutionJobsId}/operations", +"httpMethod": "GET", +"id": "aiplatform.projects.locations.notebookExecutionJobs.operations.list", +"parameterOrder": [ +"name" +], +"parameters": { +"filter": { +"description": "The standard list filter.", +"location": "query", +"type": "string" +}, +"name": { +"description": "The name of the operation's parent resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/notebookExecutionJobs/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The standard list page size.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The standard list page token.", +"location": "query", +"type": "string" +}, +"returnPartialSuccess": { +"description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `\"projects/example/locations/-\"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1/{+name}/operations", +"response": { +"$ref": "GoogleLongrunningListOperationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"wait": { +"description": "Waits until the specified long-running operation is done or reaches at most a specified timeout, returning the latest state. If the operation is already done, the latest state is immediately returned. If the timeout specified is greater than the default HTTP/RPC timeout, the HTTP/RPC timeout is used. If the server does not support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Note that this method is on a best-effort basis. It may return the latest state before the specified timeout (including immediately), meaning even an immediate response is no guarantee that the operation is done.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/notebookExecutionJobs/{notebookExecutionJobsId}/operations/{operationsId}:wait", +"httpMethod": "POST", +"id": "aiplatform.projects.locations.notebookExecutionJobs.operations.wait", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to wait on.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/notebookExecutionJobs/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +}, +"timeout": { +"description": "The maximum duration to wait before timing out. If left blank, the wait will be at most the time permitted by the underlying HTTP/RPC protocol. If RPC context deadline is also specified, the shorter one will be used.", +"format": "google-duration", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}:wait", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +}, +"notebookRuntimeTemplates": { +"methods": { +"create": { +"description": "Creates a NotebookRuntimeTemplate.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/notebookRuntimeTemplates", +"httpMethod": "POST", +"id": "aiplatform.projects.locations.notebookRuntimeTemplates.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"notebookRuntimeTemplateId": { +"description": "Optional. User specified ID for the notebook runtime template.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The resource name of the Location to create the NotebookRuntimeTemplate. Format: `projects/{project}/locations/{location}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/notebookRuntimeTemplates", +"request": { +"$ref": "GoogleCloudAiplatformV1NotebookRuntimeTemplate" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a NotebookRuntimeTemplate.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/notebookRuntimeTemplates/{notebookRuntimeTemplatesId}", +"httpMethod": "DELETE", +"id": "aiplatform.projects.locations.notebookRuntimeTemplates.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the NotebookRuntimeTemplate resource to be deleted. Format: `projects/{project}/locations/{location}/notebookRuntimeTemplates/{notebook_runtime_template}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/notebookRuntimeTemplates/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets a NotebookRuntimeTemplate.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/notebookRuntimeTemplates/{notebookRuntimeTemplatesId}", +"httpMethod": "GET", +"id": "aiplatform.projects.locations.notebookRuntimeTemplates.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the NotebookRuntimeTemplate resource. Format: `projects/{project}/locations/{location}/notebookRuntimeTemplates/{notebook_runtime_template}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/notebookRuntimeTemplates/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleCloudAiplatformV1NotebookRuntimeTemplate" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"getIamPolicy": { +"description": "Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/notebookRuntimeTemplates/{notebookRuntimeTemplatesId}:getIamPolicy", +"httpMethod": "POST", +"id": "aiplatform.projects.locations.notebookRuntimeTemplates.getIamPolicy", +"parameterOrder": [ +"resource" +], +"parameters": { +"options.requestedPolicyVersion": { +"description": "Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).", +"format": "int32", +"location": "query", +"type": "integer" +}, +"resource": { +"description": "REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/notebookRuntimeTemplates/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+resource}:getIamPolicy", +"response": { +"$ref": "GoogleIamV1Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists NotebookRuntimeTemplates in a Location.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/notebookRuntimeTemplates", +"httpMethod": "GET", +"id": "aiplatform.projects.locations.notebookRuntimeTemplates.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Optional. An expression for filtering the results of the request. For field names both snake_case and camelCase are supported. * `notebookRuntimeTemplate` supports = and !=. `notebookRuntimeTemplate` represents the NotebookRuntimeTemplate ID, i.e. the last segment of the NotebookRuntimeTemplate's resource name. * `display_name` supports = and != * `labels` supports general map functions that is: * `labels.key=value` - key:value equality * `labels.key:* or labels:key - key existence * A key including a space must be quoted. `labels.\"a key\"`. * `notebookRuntimeType` supports = and !=. notebookRuntimeType enum: [USER_DEFINED, ONE_CLICK]. * `machineType` supports = and !=. * `acceleratorType` supports = and !=. Some examples: * `notebookRuntimeTemplate=notebookRuntimeTemplate123` * `displayName=\"myDisplayName\"` * `labels.myKey=\"myValue\"` * `notebookRuntimeType=USER_DEFINED` * `machineType=e2-standard-4` * `acceleratorType=NVIDIA_TESLA_T4`", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "Optional. A comma-separated list of fields to order by, sorted in ascending order. Use \"desc\" after a field name for descending. Supported fields: * `display_name` * `create_time` * `update_time` Example: `display_name, create_time desc`.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Optional. The standard list page size.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. The standard list page token. Typically obtained via ListNotebookRuntimeTemplatesResponse.next_page_token of the previous NotebookService.ListNotebookRuntimeTemplates call.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The resource name of the Location from which to list the NotebookRuntimeTemplates. Format: `projects/{project}/locations/{location}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +}, +"readMask": { +"description": "Optional. Mask specifying which fields to read.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+parent}/notebookRuntimeTemplates", +"response": { +"$ref": "GoogleCloudAiplatformV1ListNotebookRuntimeTemplatesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates a NotebookRuntimeTemplate.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/notebookRuntimeTemplates/{notebookRuntimeTemplatesId}", +"httpMethod": "PATCH", +"id": "aiplatform.projects.locations.notebookRuntimeTemplates.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The resource name of the NotebookRuntimeTemplate.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/notebookRuntimeTemplates/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Required. The update mask applies to the resource. For the `FieldMask` definition, see google.protobuf.FieldMask. Input format: `{paths: \"${updated_field}\"}` Updatable fields: * `encryption_spec.kms_key_name` * `display_name` * `software_config.post_startup_script_config.post_startup_script` * `software_config.post_startup_script_config.post_startup_script_url` * `software_config.post_startup_script_config.post_startup_script_behavior` * `software_config.env` * `software_config.colab_image.release_name` * `software_config.custom_container_config.image_uri`", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "GoogleCloudAiplatformV1NotebookRuntimeTemplate" +}, +"response": { +"$ref": "GoogleCloudAiplatformV1NotebookRuntimeTemplate" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"setIamPolicy": { +"description": "Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/notebookRuntimeTemplates/{notebookRuntimeTemplatesId}:setIamPolicy", +"httpMethod": "POST", +"id": "aiplatform.projects.locations.notebookRuntimeTemplates.setIamPolicy", +"parameterOrder": [ +"resource" +], +"parameters": { +"resource": { +"description": "REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/notebookRuntimeTemplates/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+resource}:setIamPolicy", +"request": { +"$ref": "GoogleIamV1SetIamPolicyRequest" +}, +"response": { +"$ref": "GoogleIamV1Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"testIamPermissions": { +"description": "Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may \"fail open\" without warning.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/notebookRuntimeTemplates/{notebookRuntimeTemplatesId}:testIamPermissions", +"httpMethod": "POST", +"id": "aiplatform.projects.locations.notebookRuntimeTemplates.testIamPermissions", +"parameterOrder": [ +"resource" +], +"parameters": { +"permissions": { +"description": "The set of permissions to check for the `resource`. Permissions with wildcards (such as `*` or `storage.*`) are not allowed. For more information see [IAM Overview](https://cloud.google.com/iam/docs/overview#permissions).", +"location": "query", +"repeated": true, +"type": "string" +}, +"resource": { +"description": "REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/notebookRuntimeTemplates/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+resource}:testIamPermissions", +"response": { +"$ref": "GoogleIamV1TestIamPermissionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"operations": { +"methods": { +"cancel": { +"description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/notebookRuntimeTemplates/{notebookRuntimeTemplatesId}/operations/{operationsId}:cancel", +"httpMethod": "POST", +"id": "aiplatform.projects.locations.notebookRuntimeTemplates.operations.cancel", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be cancelled.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/notebookRuntimeTemplates/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:cancel", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/notebookRuntimeTemplates/{notebookRuntimeTemplatesId}/operations/{operationsId}", +"httpMethod": "DELETE", +"id": "aiplatform.projects.locations.notebookRuntimeTemplates.operations.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be deleted.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/notebookRuntimeTemplates/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/notebookRuntimeTemplates/{notebookRuntimeTemplatesId}/operations/{operationsId}", +"httpMethod": "GET", +"id": "aiplatform.projects.locations.notebookRuntimeTemplates.operations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/notebookRuntimeTemplates/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/notebookRuntimeTemplates/{notebookRuntimeTemplatesId}/operations", +"httpMethod": "GET", +"id": "aiplatform.projects.locations.notebookRuntimeTemplates.operations.list", +"parameterOrder": [ +"name" +], +"parameters": { +"filter": { +"description": "The standard list filter.", +"location": "query", +"type": "string" +}, +"name": { +"description": "The name of the operation's parent resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/notebookRuntimeTemplates/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The standard list page size.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The standard list page token.", +"location": "query", +"type": "string" +}, +"returnPartialSuccess": { +"description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `\"projects/example/locations/-\"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1/{+name}/operations", +"response": { +"$ref": "GoogleLongrunningListOperationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"wait": { +"description": "Waits until the specified long-running operation is done or reaches at most a specified timeout, returning the latest state. If the operation is already done, the latest state is immediately returned. If the timeout specified is greater than the default HTTP/RPC timeout, the HTTP/RPC timeout is used. If the server does not support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Note that this method is on a best-effort basis. It may return the latest state before the specified timeout (including immediately), meaning even an immediate response is no guarantee that the operation is done.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/notebookRuntimeTemplates/{notebookRuntimeTemplatesId}/operations/{operationsId}:wait", +"httpMethod": "POST", +"id": "aiplatform.projects.locations.notebookRuntimeTemplates.operations.wait", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to wait on.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/notebookRuntimeTemplates/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +}, +"timeout": { +"description": "The maximum duration to wait before timing out. If left blank, the wait will be at most the time permitted by the underlying HTTP/RPC protocol. If RPC context deadline is also specified, the shorter one will be used.", +"format": "google-duration", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}:wait", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +}, +"notebookRuntimes": { +"methods": { +"assign": { +"description": "Assigns a NotebookRuntime to a user for a particular Notebook file. This method will either returns an existing assignment or generates a new one.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/notebookRuntimes:assign", +"httpMethod": "POST", +"id": "aiplatform.projects.locations.notebookRuntimes.assign", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The resource name of the Location to get the NotebookRuntime assignment. Format: `projects/{project}/locations/{location}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/notebookRuntimes:assign", +"request": { +"$ref": "GoogleCloudAiplatformV1AssignNotebookRuntimeRequest" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a NotebookRuntime.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/notebookRuntimes/{notebookRuntimesId}", +"httpMethod": "DELETE", +"id": "aiplatform.projects.locations.notebookRuntimes.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the NotebookRuntime resource to be deleted. Instead of checking whether the name is in valid NotebookRuntime resource name format, directly throw NotFound exception if there is no such NotebookRuntime in spanner.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/notebookRuntimes/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets a NotebookRuntime.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/notebookRuntimes/{notebookRuntimesId}", +"httpMethod": "GET", +"id": "aiplatform.projects.locations.notebookRuntimes.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the NotebookRuntime resource. Instead of checking whether the name is in valid NotebookRuntime resource name format, directly throw NotFound exception if there is no such NotebookRuntime in spanner.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/notebookRuntimes/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleCloudAiplatformV1NotebookRuntime" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists NotebookRuntimes in a Location.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/notebookRuntimes", +"httpMethod": "GET", +"id": "aiplatform.projects.locations.notebookRuntimes.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Optional. An expression for filtering the results of the request. For field names both snake_case and camelCase are supported. * `notebookRuntime` supports = and !=. `notebookRuntime` represents the NotebookRuntime ID, i.e. the last segment of the NotebookRuntime's resource name. * `displayName` supports = and != and regex. * `notebookRuntimeTemplate` supports = and !=. `notebookRuntimeTemplate` represents the NotebookRuntimeTemplate ID, i.e. the last segment of the NotebookRuntimeTemplate's resource name. * `healthState` supports = and !=. healthState enum: [HEALTHY, UNHEALTHY, HEALTH_STATE_UNSPECIFIED]. * `runtimeState` supports = and !=. runtimeState enum: [RUNTIME_STATE_UNSPECIFIED, RUNNING, BEING_STARTED, BEING_STOPPED, STOPPED, BEING_UPGRADED, ERROR, INVALID]. * `runtimeUser` supports = and !=. * API version is UI only: `uiState` supports = and !=. uiState enum: [UI_RESOURCE_STATE_UNSPECIFIED, UI_RESOURCE_STATE_BEING_CREATED, UI_RESOURCE_STATE_ACTIVE, UI_RESOURCE_STATE_BEING_DELETED, UI_RESOURCE_STATE_CREATION_FAILED]. * `notebookRuntimeType` supports = and !=. notebookRuntimeType enum: [USER_DEFINED, ONE_CLICK]. * `machineType` supports = and !=. * `acceleratorType` supports = and !=. Some examples: * `notebookRuntime=\"notebookRuntime123\"` * `displayName=\"myDisplayName\"` and `displayName=~\"myDisplayNameRegex\"` * `notebookRuntimeTemplate=\"notebookRuntimeTemplate321\"` * `healthState=HEALTHY` * `runtimeState=RUNNING` * `runtimeUser=\"test@google.com\"` * `uiState=UI_RESOURCE_STATE_BEING_DELETED` * `notebookRuntimeType=USER_DEFINED` * `machineType=e2-standard-4` * `acceleratorType=NVIDIA_TESLA_T4`", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "Optional. A comma-separated list of fields to order by, sorted in ascending order. Use \"desc\" after a field name for descending. Supported fields: * `display_name` * `create_time` * `update_time` Example: `display_name, create_time desc`.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Optional. The standard list page size.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. The standard list page token. Typically obtained via ListNotebookRuntimesResponse.next_page_token of the previous NotebookService.ListNotebookRuntimes call.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The resource name of the Location from which to list the NotebookRuntimes. Format: `projects/{project}/locations/{location}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +}, +"readMask": { +"description": "Optional. Mask specifying which fields to read.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+parent}/notebookRuntimes", +"response": { +"$ref": "GoogleCloudAiplatformV1ListNotebookRuntimesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"start": { +"description": "Starts a NotebookRuntime.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/notebookRuntimes/{notebookRuntimesId}:start", +"httpMethod": "POST", +"id": "aiplatform.projects.locations.notebookRuntimes.start", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the NotebookRuntime resource to be started. Instead of checking whether the name is in valid NotebookRuntime resource name format, directly throw NotFound exception if there is no such NotebookRuntime in spanner.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/notebookRuntimes/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:start", +"request": { +"$ref": "GoogleCloudAiplatformV1StartNotebookRuntimeRequest" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"stop": { +"description": "Stops a NotebookRuntime.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/notebookRuntimes/{notebookRuntimesId}:stop", +"httpMethod": "POST", +"id": "aiplatform.projects.locations.notebookRuntimes.stop", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the NotebookRuntime resource to be stopped. Instead of checking whether the name is in valid NotebookRuntime resource name format, directly throw NotFound exception if there is no such NotebookRuntime in spanner.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/notebookRuntimes/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:stop", +"request": { +"$ref": "GoogleCloudAiplatformV1StopNotebookRuntimeRequest" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"upgrade": { +"description": "Upgrades a NotebookRuntime.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/notebookRuntimes/{notebookRuntimesId}:upgrade", +"httpMethod": "POST", +"id": "aiplatform.projects.locations.notebookRuntimes.upgrade", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the NotebookRuntime resource to be upgrade. Instead of checking whether the name is in valid NotebookRuntime resource name format, directly throw NotFound exception if there is no such NotebookRuntime in spanner.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/notebookRuntimes/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:upgrade", +"request": { +"$ref": "GoogleCloudAiplatformV1UpgradeNotebookRuntimeRequest" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"operations": { +"methods": { +"cancel": { +"description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/notebookRuntimes/{notebookRuntimesId}/operations/{operationsId}:cancel", +"httpMethod": "POST", +"id": "aiplatform.projects.locations.notebookRuntimes.operations.cancel", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be cancelled.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/notebookRuntimes/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:cancel", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/notebookRuntimes/{notebookRuntimesId}/operations/{operationsId}", +"httpMethod": "DELETE", +"id": "aiplatform.projects.locations.notebookRuntimes.operations.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be deleted.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/notebookRuntimes/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/notebookRuntimes/{notebookRuntimesId}/operations/{operationsId}", +"httpMethod": "GET", +"id": "aiplatform.projects.locations.notebookRuntimes.operations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/notebookRuntimes/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/notebookRuntimes/{notebookRuntimesId}/operations", +"httpMethod": "GET", +"id": "aiplatform.projects.locations.notebookRuntimes.operations.list", +"parameterOrder": [ +"name" +], +"parameters": { +"filter": { +"description": "The standard list filter.", +"location": "query", +"type": "string" +}, +"name": { +"description": "The name of the operation's parent resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/notebookRuntimes/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The standard list page size.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The standard list page token.", +"location": "query", +"type": "string" +}, +"returnPartialSuccess": { +"description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `\"projects/example/locations/-\"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1/{+name}/operations", +"response": { +"$ref": "GoogleLongrunningListOperationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"wait": { +"description": "Waits until the specified long-running operation is done or reaches at most a specified timeout, returning the latest state. If the operation is already done, the latest state is immediately returned. If the timeout specified is greater than the default HTTP/RPC timeout, the HTTP/RPC timeout is used. If the server does not support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Note that this method is on a best-effort basis. It may return the latest state before the specified timeout (including immediately), meaning even an immediate response is no guarantee that the operation is done.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/notebookRuntimes/{notebookRuntimesId}/operations/{operationsId}:wait", +"httpMethod": "POST", +"id": "aiplatform.projects.locations.notebookRuntimes.operations.wait", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to wait on.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/notebookRuntimes/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +}, +"timeout": { +"description": "The maximum duration to wait before timing out. If left blank, the wait will be at most the time permitted by the underlying HTTP/RPC protocol. If RPC context deadline is also specified, the shorter one will be used.", +"format": "google-duration", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}:wait", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +}, +"operations": { +"methods": { +"cancel": { +"description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}:cancel", +"httpMethod": "POST", +"id": "aiplatform.projects.locations.operations.cancel", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be cancelled.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:cancel", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}", +"httpMethod": "DELETE", +"id": "aiplatform.projects.locations.operations.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be deleted.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}", +"httpMethod": "GET", +"id": "aiplatform.projects.locations.operations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/operations", +"httpMethod": "GET", +"id": "aiplatform.projects.locations.operations.list", +"parameterOrder": [ +"name" +], +"parameters": { +"filter": { +"description": "The standard list filter.", +"location": "query", +"type": "string" +}, +"name": { +"description": "The name of the operation's parent resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The standard list page size.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The standard list page token.", +"location": "query", +"type": "string" +}, +"returnPartialSuccess": { +"description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `\"projects/example/locations/-\"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1/{+name}/operations", +"response": { +"$ref": "GoogleLongrunningListOperationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"wait": { +"description": "Waits until the specified long-running operation is done or reaches at most a specified timeout, returning the latest state. If the operation is already done, the latest state is immediately returned. If the timeout specified is greater than the default HTTP/RPC timeout, the HTTP/RPC timeout is used. If the server does not support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Note that this method is on a best-effort basis. It may return the latest state before the specified timeout (including immediately), meaning even an immediate response is no guarantee that the operation is done.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}:wait", +"httpMethod": "POST", +"id": "aiplatform.projects.locations.operations.wait", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to wait on.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +}, +"timeout": { +"description": "The maximum duration to wait before timing out. If left blank, the wait will be at most the time permitted by the underlying HTTP/RPC protocol. If RPC context deadline is also specified, the shorter one will be used.", +"format": "google-duration", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}:wait", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"persistentResources": { +"methods": { +"create": { +"description": "Creates a PersistentResource.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/persistentResources", +"httpMethod": "POST", +"id": "aiplatform.projects.locations.persistentResources.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The resource name of the Location to create the PersistentResource in. Format: `projects/{project}/locations/{location}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +}, +"persistentResourceId": { +"description": "Required. The ID to use for the PersistentResource, which become the final component of the PersistentResource's resource name. The maximum length is 63 characters, and valid characters are `/^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$/`.", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+parent}/persistentResources", +"request": { +"$ref": "GoogleCloudAiplatformV1PersistentResource" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a PersistentResource.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/persistentResources/{persistentResourcesId}", +"httpMethod": "DELETE", +"id": "aiplatform.projects.locations.persistentResources.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the PersistentResource to be deleted. Format: `projects/{project}/locations/{location}/persistentResources/{persistent_resource}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/persistentResources/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets a PersistentResource.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/persistentResources/{persistentResourcesId}", +"httpMethod": "GET", +"id": "aiplatform.projects.locations.persistentResources.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the PersistentResource resource. Format: `projects/{project_id_or_number}/locations/{location_id}/persistentResources/{persistent_resource_id}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/persistentResources/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleCloudAiplatformV1PersistentResource" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists PersistentResources in a Location.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/persistentResources", +"httpMethod": "GET", +"id": "aiplatform.projects.locations.persistentResources.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "Optional. The standard list page size.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. The standard list page token. Typically obtained via ListPersistentResourcesResponse.next_page_token of the previous PersistentResourceService.ListPersistentResource call.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The resource name of the Location to list the PersistentResources from. Format: `projects/{project}/locations/{location}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/persistentResources", +"response": { +"$ref": "GoogleCloudAiplatformV1ListPersistentResourcesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates a PersistentResource.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/persistentResources/{persistentResourcesId}", +"httpMethod": "PATCH", +"id": "aiplatform.projects.locations.persistentResources.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Immutable. Resource name of a PersistentResource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/persistentResources/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Required. Specify the fields to be overwritten in the PersistentResource by the update method.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "GoogleCloudAiplatformV1PersistentResource" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"reboot": { +"description": "Reboots a PersistentResource.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/persistentResources/{persistentResourcesId}:reboot", +"httpMethod": "POST", +"id": "aiplatform.projects.locations.persistentResources.reboot", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the PersistentResource resource. Format: `projects/{project_id_or_number}/locations/{location_id}/persistentResources/{persistent_resource_id}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/persistentResources/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:reboot", +"request": { +"$ref": "GoogleCloudAiplatformV1RebootPersistentResourceRequest" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"operations": { +"methods": { +"cancel": { +"description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/persistentResources/{persistentResourcesId}/operations/{operationsId}:cancel", +"httpMethod": "POST", +"id": "aiplatform.projects.locations.persistentResources.operations.cancel", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be cancelled.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/persistentResources/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:cancel", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/persistentResources/{persistentResourcesId}/operations/{operationsId}", +"httpMethod": "DELETE", +"id": "aiplatform.projects.locations.persistentResources.operations.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be deleted.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/persistentResources/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/persistentResources/{persistentResourcesId}/operations/{operationsId}", +"httpMethod": "GET", +"id": "aiplatform.projects.locations.persistentResources.operations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/persistentResources/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/persistentResources/{persistentResourcesId}/operations", +"httpMethod": "GET", +"id": "aiplatform.projects.locations.persistentResources.operations.list", +"parameterOrder": [ +"name" +], +"parameters": { +"filter": { +"description": "The standard list filter.", +"location": "query", +"type": "string" +}, +"name": { +"description": "The name of the operation's parent resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/persistentResources/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The standard list page size.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The standard list page token.", +"location": "query", +"type": "string" +}, +"returnPartialSuccess": { +"description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `\"projects/example/locations/-\"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1/{+name}/operations", +"response": { +"$ref": "GoogleLongrunningListOperationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"wait": { +"description": "Waits until the specified long-running operation is done or reaches at most a specified timeout, returning the latest state. If the operation is already done, the latest state is immediately returned. If the timeout specified is greater than the default HTTP/RPC timeout, the HTTP/RPC timeout is used. If the server does not support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Note that this method is on a best-effort basis. It may return the latest state before the specified timeout (including immediately), meaning even an immediate response is no guarantee that the operation is done.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/persistentResources/{persistentResourcesId}/operations/{operationsId}:wait", +"httpMethod": "POST", +"id": "aiplatform.projects.locations.persistentResources.operations.wait", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to wait on.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/persistentResources/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +}, +"timeout": { +"description": "The maximum duration to wait before timing out. If left blank, the wait will be at most the time permitted by the underlying HTTP/RPC protocol. If RPC context deadline is also specified, the shorter one will be used.", +"format": "google-duration", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}:wait", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +}, +"pipelineJobs": { +"methods": { +"batchCancel": { +"description": "Batch cancel PipelineJobs. Firstly the server will check if all the jobs are in non-terminal states, and skip the jobs that are already terminated. If the operation failed, none of the pipeline jobs are cancelled. The server will poll the states of all the pipeline jobs periodically to check the cancellation status. This operation will return an LRO.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/pipelineJobs:batchCancel", +"httpMethod": "POST", +"id": "aiplatform.projects.locations.pipelineJobs.batchCancel", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The name of the PipelineJobs' parent resource. Format: `projects/{project}/locations/{location}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/pipelineJobs:batchCancel", +"request": { +"$ref": "GoogleCloudAiplatformV1BatchCancelPipelineJobsRequest" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"batchDelete": { +"description": "Batch deletes PipelineJobs The Operation is atomic. If it fails, none of the PipelineJobs are deleted. If it succeeds, all of the PipelineJobs are deleted.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/pipelineJobs:batchDelete", +"httpMethod": "POST", +"id": "aiplatform.projects.locations.pipelineJobs.batchDelete", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The name of the PipelineJobs' parent resource. Format: `projects/{project}/locations/{location}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/pipelineJobs:batchDelete", +"request": { +"$ref": "GoogleCloudAiplatformV1BatchDeletePipelineJobsRequest" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"cancel": { +"description": "Cancels a PipelineJob. Starts asynchronous cancellation on the PipelineJob. The server makes a best effort to cancel the pipeline, but success is not guaranteed. Clients can use PipelineService.GetPipelineJob or other methods to check whether the cancellation succeeded or whether the pipeline completed despite cancellation. On successful cancellation, the PipelineJob is not deleted; instead it becomes a pipeline with a PipelineJob.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`, and PipelineJob.state is set to `CANCELLED`.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/pipelineJobs/{pipelineJobsId}:cancel", +"httpMethod": "POST", +"id": "aiplatform.projects.locations.pipelineJobs.cancel", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the PipelineJob to cancel. Format: `projects/{project}/locations/{location}/pipelineJobs/{pipeline_job}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/pipelineJobs/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:cancel", +"request": { +"$ref": "GoogleCloudAiplatformV1CancelPipelineJobRequest" +}, +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"create": { +"description": "Creates a PipelineJob. A PipelineJob will run immediately when created.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/pipelineJobs", +"httpMethod": "POST", +"id": "aiplatform.projects.locations.pipelineJobs.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The resource name of the Location to create the PipelineJob in. Format: `projects/{project}/locations/{location}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +}, +"pipelineJobId": { +"description": "The ID to use for the PipelineJob, which will become the final component of the PipelineJob name. If not provided, an ID will be automatically generated. This value should be less than 128 characters, and valid characters are `/a-z-/`.", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+parent}/pipelineJobs", +"request": { +"$ref": "GoogleCloudAiplatformV1PipelineJob" +}, +"response": { +"$ref": "GoogleCloudAiplatformV1PipelineJob" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a PipelineJob.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/pipelineJobs/{pipelineJobsId}", +"httpMethod": "DELETE", +"id": "aiplatform.projects.locations.pipelineJobs.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the PipelineJob resource to be deleted. Format: `projects/{project}/locations/{location}/pipelineJobs/{pipeline_job}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/pipelineJobs/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets a PipelineJob.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/pipelineJobs/{pipelineJobsId}", +"httpMethod": "GET", +"id": "aiplatform.projects.locations.pipelineJobs.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the PipelineJob resource. Format: `projects/{project}/locations/{location}/pipelineJobs/{pipeline_job}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/pipelineJobs/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleCloudAiplatformV1PipelineJob" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists PipelineJobs in a Location.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/pipelineJobs", +"httpMethod": "GET", +"id": "aiplatform.projects.locations.pipelineJobs.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Lists the PipelineJobs that match the filter expression. The following fields are supported: * `pipeline_name`: Supports `=` and `!=` comparisons. * `display_name`: Supports `=`, `!=` comparisons, and `:` wildcard. * `pipeline_job_user_id`: Supports `=`, `!=` comparisons, and `:` wildcard. for example, can check if pipeline's display_name contains *step* by doing display_name:\\\"*step*\\\" * `state`: Supports `=` and `!=` comparisons. * `create_time`: Supports `=`, `!=`, `<`, `>`, `<=`, and `>=` comparisons. Values must be in RFC 3339 format. * `update_time`: Supports `=`, `!=`, `<`, `>`, `<=`, and `>=` comparisons. Values must be in RFC 3339 format. * `end_time`: Supports `=`, `!=`, `<`, `>`, `<=`, and `>=` comparisons. Values must be in RFC 3339 format. * `labels`: Supports key-value equality and key presence. * `template_uri`: Supports `=`, `!=` comparisons, and `:` wildcard. * `template_metadata.version`: Supports `=`, `!=` comparisons, and `:` wildcard. Filter expressions can be combined together using logical operators (`AND` & `OR`). For example: `pipeline_name=\"test\" AND create_time>\"2020-05-18T13:30:00Z\"`. The syntax to define filter expression is based on https://google.aip.dev/160. Examples: * `create_time>\"2021-05-18T00:00:00Z\" OR update_time>\"2020-05-18T00:00:00Z\"` PipelineJobs created or updated after 2020-05-18 00:00:00 UTC. * `labels.env = \"prod\"` PipelineJobs with label \"env\" set to \"prod\".", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "A comma-separated list of fields to order by. The default sort order is in ascending order. Use \"desc\" after a field name for descending. You can have multiple order_by fields provided e.g. \"create_time desc, end_time\", \"end_time, start_time, update_time\" For example, using \"create_time desc, end_time\" will order results by create time in descending order, and if there are multiple jobs having the same create time, order them by the end time in ascending order. if order_by is not specified, it will order by default order is create time in descending order. Supported fields: * `create_time` * `update_time` * `end_time` * `start_time`", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "The standard list page size.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The standard list page token. Typically obtained via ListPipelineJobsResponse.next_page_token of the previous PipelineService.ListPipelineJobs call.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The resource name of the Location to list the PipelineJobs from. Format: `projects/{project}/locations/{location}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +}, +"readMask": { +"description": "Mask specifying which fields to read.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+parent}/pipelineJobs", +"response": { +"$ref": "GoogleCloudAiplatformV1ListPipelineJobsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"operations": { +"methods": { +"cancel": { +"description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/pipelineJobs/{pipelineJobsId}/operations/{operationsId}:cancel", +"httpMethod": "POST", +"id": "aiplatform.projects.locations.pipelineJobs.operations.cancel", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be cancelled.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/pipelineJobs/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:cancel", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/pipelineJobs/{pipelineJobsId}/operations/{operationsId}", +"httpMethod": "DELETE", +"id": "aiplatform.projects.locations.pipelineJobs.operations.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be deleted.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/pipelineJobs/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/pipelineJobs/{pipelineJobsId}/operations/{operationsId}", +"httpMethod": "GET", +"id": "aiplatform.projects.locations.pipelineJobs.operations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/pipelineJobs/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/pipelineJobs/{pipelineJobsId}/operations", +"httpMethod": "GET", +"id": "aiplatform.projects.locations.pipelineJobs.operations.list", +"parameterOrder": [ +"name" +], +"parameters": { +"filter": { +"description": "The standard list filter.", +"location": "query", +"type": "string" +}, +"name": { +"description": "The name of the operation's parent resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/pipelineJobs/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The standard list page size.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The standard list page token.", +"location": "query", +"type": "string" +}, +"returnPartialSuccess": { +"description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `\"projects/example/locations/-\"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1/{+name}/operations", +"response": { +"$ref": "GoogleLongrunningListOperationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"wait": { +"description": "Waits until the specified long-running operation is done or reaches at most a specified timeout, returning the latest state. If the operation is already done, the latest state is immediately returned. If the timeout specified is greater than the default HTTP/RPC timeout, the HTTP/RPC timeout is used. If the server does not support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Note that this method is on a best-effort basis. It may return the latest state before the specified timeout (including immediately), meaning even an immediate response is no guarantee that the operation is done.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/pipelineJobs/{pipelineJobsId}/operations/{operationsId}:wait", +"httpMethod": "POST", +"id": "aiplatform.projects.locations.pipelineJobs.operations.wait", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to wait on.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/pipelineJobs/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +}, +"timeout": { +"description": "The maximum duration to wait before timing out. If left blank, the wait will be at most the time permitted by the underlying HTTP/RPC protocol. If RPC context deadline is also specified, the shorter one will be used.", +"format": "google-duration", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}:wait", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +}, +"publishers": { +"resources": { +"models": { +"methods": { +"computeTokens": { +"description": "Return a list of tokens based on the input text.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/publishers/{publishersId}/models/{modelsId}:computeTokens", +"httpMethod": "POST", +"id": "aiplatform.projects.locations.publishers.models.computeTokens", +"parameterOrder": [ +"endpoint" +], +"parameters": { +"endpoint": { +"description": "Required. The name of the Endpoint requested to get lists of tokens and token ids.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/publishers/[^/]+/models/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+endpoint}:computeTokens", +"request": { +"$ref": "GoogleCloudAiplatformV1ComputeTokensRequest" +}, +"response": { +"$ref": "GoogleCloudAiplatformV1ComputeTokensResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"countTokens": { +"description": "Perform a token counting.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/publishers/{publishersId}/models/{modelsId}:countTokens", +"httpMethod": "POST", +"id": "aiplatform.projects.locations.publishers.models.countTokens", +"parameterOrder": [ +"endpoint" +], +"parameters": { +"endpoint": { +"description": "Required. The name of the Endpoint requested to perform token counting. Format: `projects/{project}/locations/{location}/endpoints/{endpoint}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/publishers/[^/]+/models/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+endpoint}:countTokens", +"request": { +"$ref": "GoogleCloudAiplatformV1CountTokensRequest" +}, +"response": { +"$ref": "GoogleCloudAiplatformV1CountTokensResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"embedContent": { +"description": "Embed content with multimodal inputs.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/publishers/{publishersId}/models/{modelsId}:embedContent", +"httpMethod": "POST", +"id": "aiplatform.projects.locations.publishers.models.embedContent", +"parameterOrder": [ +"model" +], +"parameters": { +"model": { +"description": "Required. The name of the publisher model requested to serve the prediction. Format: `projects/{project}/locations/{location}/publishers/*/models/*`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/publishers/[^/]+/models/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+model}:embedContent", +"request": { +"$ref": "GoogleCloudAiplatformV1EmbedContentRequest" +}, +"response": { +"$ref": "GoogleCloudAiplatformV1EmbedContentResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only" +] +}, +"fetchPredictOperation": { +"description": "Fetch an asynchronous online prediction operation.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/publishers/{publishersId}/models/{modelsId}:fetchPredictOperation", +"httpMethod": "POST", +"id": "aiplatform.projects.locations.publishers.models.fetchPredictOperation", +"parameterOrder": [ +"endpoint" +], +"parameters": { +"endpoint": { +"description": "Required. The name of the Endpoint requested to serve the prediction. Format: `projects/{project}/locations/{location}/endpoints/{endpoint}` or `projects/{project}/locations/{location}/publishers/{publisher}/models/{model}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/publishers/[^/]+/models/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+endpoint}:fetchPredictOperation", +"request": { +"$ref": "GoogleCloudAiplatformV1FetchPredictOperationRequest" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only" +] +}, +"generateContent": { +"description": "Generate content with multimodal inputs.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/publishers/{publishersId}/models/{modelsId}:generateContent", +"httpMethod": "POST", +"id": "aiplatform.projects.locations.publishers.models.generateContent", +"parameterOrder": [ +"model" +], +"parameters": { +"model": { +"description": "Required. The fully qualified name of the publisher model or tuned model endpoint to use. Publisher model format: `projects/{project}/locations/{location}/publishers/*/models/*` Tuned model endpoint format: `projects/{project}/locations/{location}/endpoints/{endpoint}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/publishers/[^/]+/models/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+model}:generateContent", +"request": { +"$ref": "GoogleCloudAiplatformV1GenerateContentRequest" +}, +"response": { +"$ref": "GoogleCloudAiplatformV1GenerateContentResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only" +] +}, +"predict": { +"description": "Perform an online prediction.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/publishers/{publishersId}/models/{modelsId}:predict", +"httpMethod": "POST", +"id": "aiplatform.projects.locations.publishers.models.predict", +"parameterOrder": [ +"endpoint" +], +"parameters": { +"endpoint": { +"description": "Required. The name of the Endpoint requested to serve the prediction. Format: `projects/{project}/locations/{location}/endpoints/{endpoint}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/publishers/[^/]+/models/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+endpoint}:predict", +"request": { +"$ref": "GoogleCloudAiplatformV1PredictRequest" +}, +"response": { +"$ref": "GoogleCloudAiplatformV1PredictResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only" +] +}, +"predictLongRunning": { +"description": "", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/publishers/{publishersId}/models/{modelsId}:predictLongRunning", +"httpMethod": "POST", +"id": "aiplatform.projects.locations.publishers.models.predictLongRunning", +"parameterOrder": [ +"endpoint" +], +"parameters": { +"endpoint": { +"description": "Required. The name of the Endpoint requested to serve the prediction. Format: `projects/{project}/locations/{location}/endpoints/{endpoint}` or `projects/{project}/locations/{location}/publishers/{publisher}/models/{model}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/publishers/[^/]+/models/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+endpoint}:predictLongRunning", +"request": { +"$ref": "GoogleCloudAiplatformV1PredictLongRunningRequest" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only" +] +}, +"rawPredict": { +"description": "Perform an online prediction with an arbitrary HTTP payload. The response includes the following HTTP headers: * `X-Vertex-AI-Endpoint-Id`: ID of the Endpoint that served this prediction. * `X-Vertex-AI-Deployed-Model-Id`: ID of the Endpoint's DeployedModel that served this prediction.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/publishers/{publishersId}/models/{modelsId}:rawPredict", +"httpMethod": "POST", +"id": "aiplatform.projects.locations.publishers.models.rawPredict", +"parameterOrder": [ +"endpoint" +], +"parameters": { +"endpoint": { +"description": "Required. The name of the Endpoint requested to serve the prediction. Format: `projects/{project}/locations/{location}/endpoints/{endpoint}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/publishers/[^/]+/models/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+endpoint}:rawPredict", +"request": { +"$ref": "GoogleCloudAiplatformV1RawPredictRequest" +}, +"response": { +"$ref": "GoogleApiHttpBody" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only" +] +}, +"serverStreamingPredict": { +"description": "Perform a server-side streaming online prediction request for Vertex LLM streaming.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/publishers/{publishersId}/models/{modelsId}:serverStreamingPredict", +"httpMethod": "POST", +"id": "aiplatform.projects.locations.publishers.models.serverStreamingPredict", +"parameterOrder": [ +"endpoint" +], +"parameters": { +"endpoint": { +"description": "Required. The name of the Endpoint requested to serve the prediction. Format: `projects/{project}/locations/{location}/endpoints/{endpoint}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/publishers/[^/]+/models/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+endpoint}:serverStreamingPredict", +"request": { +"$ref": "GoogleCloudAiplatformV1StreamingPredictRequest" +}, +"response": { +"$ref": "GoogleCloudAiplatformV1StreamingPredictResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only" +] +}, +"streamGenerateContent": { +"description": "Generate content with multimodal inputs with streaming support.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/publishers/{publishersId}/models/{modelsId}:streamGenerateContent", +"httpMethod": "POST", +"id": "aiplatform.projects.locations.publishers.models.streamGenerateContent", +"parameterOrder": [ +"model" +], +"parameters": { +"model": { +"description": "Required. The fully qualified name of the publisher model or tuned model endpoint to use. Publisher model format: `projects/{project}/locations/{location}/publishers/*/models/*` Tuned model endpoint format: `projects/{project}/locations/{location}/endpoints/{endpoint}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/publishers/[^/]+/models/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+model}:streamGenerateContent", +"request": { +"$ref": "GoogleCloudAiplatformV1GenerateContentRequest" +}, +"response": { +"$ref": "GoogleCloudAiplatformV1GenerateContentResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only" +] +}, +"streamRawPredict": { +"description": "Perform a streaming online prediction with an arbitrary HTTP payload.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/publishers/{publishersId}/models/{modelsId}:streamRawPredict", +"httpMethod": "POST", +"id": "aiplatform.projects.locations.publishers.models.streamRawPredict", +"parameterOrder": [ +"endpoint" +], +"parameters": { +"endpoint": { +"description": "Required. The name of the Endpoint requested to serve the prediction. Format: `projects/{project}/locations/{location}/endpoints/{endpoint}` or `projects/{project}/locations/{location}/publishers/{publisher}/models/{model}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/publishers/[^/]+/models/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+endpoint}:streamRawPredict", +"request": { +"$ref": "GoogleCloudAiplatformV1StreamRawPredictRequest" +}, +"response": { +"$ref": "GoogleApiHttpBody" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only" +] +} +}, +"resources": { +"invoke": { +"methods": { +"invoke": { +"description": "Forwards arbitrary HTTP requests for both streaming and non-streaming cases. To use this method, invoke_route_prefix must be set to allow the paths that will be specified in the request.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/publishers/{publishersId}/models/{modelsId}/invoke/{invokeId}", +"httpMethod": "POST", +"id": "aiplatform.projects.locations.publishers.models.invoke.invoke", +"parameterOrder": [ +"endpoint", +"invokeId" +], +"parameters": { +"endpoint": { +"description": "Required. The name of the Endpoint requested to serve the prediction. Format: `projects/{project}/locations/{location}/endpoints/{endpoint}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/publishers/[^/]+/models/[^/]+$", +"required": true, +"type": "string" +}, +"invokeId": { +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v1/{+endpoint}/invoke/{+invokeId}", +"request": { +"$ref": "GoogleCloudAiplatformV1InvokeRequest" +}, +"response": { +"$ref": "GoogleApiHttpBody" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only" +] +} +} +} +} +} +} +}, +"ragCorpora": { +"methods": { +"create": { +"description": "Creates a RagCorpus.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/ragCorpora", +"httpMethod": "POST", +"id": "aiplatform.projects.locations.ragCorpora.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The resource name of the Location to create the RagCorpus in. Format: `projects/{project}/locations/{location}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/ragCorpora", +"request": { +"$ref": "GoogleCloudAiplatformV1RagCorpus" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a RagCorpus.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/ragCorpora/{ragCorporaId}", +"httpMethod": "DELETE", +"id": "aiplatform.projects.locations.ragCorpora.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"force": { +"description": "Optional. If set to true, any RagFiles in this RagCorpus will also be deleted. Otherwise, the request will only work if the RagCorpus has no RagFiles.", +"location": "query", +"type": "boolean" +}, +"name": { +"description": "Required. The name of the RagCorpus resource to be deleted. Format: `projects/{project}/locations/{location}/ragCorpora/{rag_corpus}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/ragCorpora/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets a RagCorpus.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/ragCorpora/{ragCorporaId}", +"httpMethod": "GET", +"id": "aiplatform.projects.locations.ragCorpora.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the RagCorpus resource. Format: `projects/{project}/locations/{location}/ragCorpora/{rag_corpus}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/ragCorpora/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleCloudAiplatformV1RagCorpus" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists RagCorpora in a Location.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/ragCorpora", +"httpMethod": "GET", +"id": "aiplatform.projects.locations.ragCorpora.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "Optional. The standard list page size. The maximum value is 100. If not specified, a default value of 100 will be used.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. The standard list page token. Typically obtained via ListRagCorporaResponse.next_page_token of the previous VertexRagDataService.ListRagCorpora call.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The resource name of the Location from which to list the RagCorpora. Format: `projects/{project}/locations/{location}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/ragCorpora", +"response": { +"$ref": "GoogleCloudAiplatformV1ListRagCorporaResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates a RagCorpus.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/ragCorpora/{ragCorporaId}", +"httpMethod": "PATCH", +"id": "aiplatform.projects.locations.ragCorpora.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Output only. The resource name of the RagCorpus.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/ragCorpora/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "GoogleCloudAiplatformV1RagCorpus" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"operations": { +"methods": { +"cancel": { +"description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/ragCorpora/{ragCorporaId}/operations/{operationsId}:cancel", +"httpMethod": "POST", +"id": "aiplatform.projects.locations.ragCorpora.operations.cancel", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be cancelled.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/ragCorpora/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:cancel", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/ragCorpora/{ragCorporaId}/operations/{operationsId}", +"httpMethod": "DELETE", +"id": "aiplatform.projects.locations.ragCorpora.operations.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be deleted.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/ragCorpora/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/ragCorpora/{ragCorporaId}/operations/{operationsId}", +"httpMethod": "GET", +"id": "aiplatform.projects.locations.ragCorpora.operations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/ragCorpora/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/ragCorpora/{ragCorporaId}/operations", +"httpMethod": "GET", +"id": "aiplatform.projects.locations.ragCorpora.operations.list", +"parameterOrder": [ +"name" +], +"parameters": { +"filter": { +"description": "The standard list filter.", +"location": "query", +"type": "string" +}, +"name": { +"description": "The name of the operation's parent resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/ragCorpora/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The standard list page size.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The standard list page token.", +"location": "query", +"type": "string" +}, +"returnPartialSuccess": { +"description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `\"projects/example/locations/-\"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1/{+name}/operations", +"response": { +"$ref": "GoogleLongrunningListOperationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"wait": { +"description": "Waits until the specified long-running operation is done or reaches at most a specified timeout, returning the latest state. If the operation is already done, the latest state is immediately returned. If the timeout specified is greater than the default HTTP/RPC timeout, the HTTP/RPC timeout is used. If the server does not support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Note that this method is on a best-effort basis. It may return the latest state before the specified timeout (including immediately), meaning even an immediate response is no guarantee that the operation is done.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/ragCorpora/{ragCorporaId}/operations/{operationsId}:wait", +"httpMethod": "POST", +"id": "aiplatform.projects.locations.ragCorpora.operations.wait", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to wait on.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/ragCorpora/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +}, +"timeout": { +"description": "The maximum duration to wait before timing out. If left blank, the wait will be at most the time permitted by the underlying HTTP/RPC protocol. If RPC context deadline is also specified, the shorter one will be used.", +"format": "google-duration", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}:wait", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"ragFiles": { +"methods": { +"delete": { +"description": "Deletes a RagFile.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/ragCorpora/{ragCorporaId}/ragFiles/{ragFilesId}", +"httpMethod": "DELETE", +"id": "aiplatform.projects.locations.ragCorpora.ragFiles.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"forceDelete": { +"description": "Optional. If set to true, any errors generated by external vector database during the deletion will be ignored. The default value is false.", +"location": "query", +"type": "boolean" +}, +"name": { +"description": "Required. The name of the RagFile resource to be deleted. Format: `projects/{project}/locations/{location}/ragCorpora/{rag_corpus}/ragFiles/{rag_file}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/ragCorpora/[^/]+/ragFiles/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets a RagFile.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/ragCorpora/{ragCorporaId}/ragFiles/{ragFilesId}", +"httpMethod": "GET", +"id": "aiplatform.projects.locations.ragCorpora.ragFiles.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the RagFile resource. Format: `projects/{project}/locations/{location}/ragCorpora/{rag_corpus}/ragFiles/{rag_file}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/ragCorpora/[^/]+/ragFiles/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleCloudAiplatformV1RagFile" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"import": { +"description": "Import files from Google Cloud Storage or Google Drive into a RagCorpus.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/ragCorpora/{ragCorporaId}/ragFiles:import", +"httpMethod": "POST", +"id": "aiplatform.projects.locations.ragCorpora.ragFiles.import", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The name of the RagCorpus resource into which to import files. Format: `projects/{project}/locations/{location}/ragCorpora/{rag_corpus}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/ragCorpora/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/ragFiles:import", +"request": { +"$ref": "GoogleCloudAiplatformV1ImportRagFilesRequest" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists RagFiles in a RagCorpus.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/ragCorpora/{ragCorporaId}/ragFiles", +"httpMethod": "GET", +"id": "aiplatform.projects.locations.ragCorpora.ragFiles.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "Optional. The standard list page size. The maximum value is 100. If not specified, a default value of 100 will be used.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. The standard list page token. Typically obtained via ListRagFilesResponse.next_page_token of the previous VertexRagDataService.ListRagFiles call.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The resource name of the RagCorpus from which to list the RagFiles. Format: `projects/{project}/locations/{location}/ragCorpora/{rag_corpus}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/ragCorpora/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/ragFiles", +"response": { +"$ref": "GoogleCloudAiplatformV1ListRagFilesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"operations": { +"methods": { +"cancel": { +"description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/ragCorpora/{ragCorporaId}/ragFiles/{ragFilesId}/operations/{operationsId}:cancel", +"httpMethod": "POST", +"id": "aiplatform.projects.locations.ragCorpora.ragFiles.operations.cancel", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be cancelled.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/ragCorpora/[^/]+/ragFiles/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:cancel", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/ragCorpora/{ragCorporaId}/ragFiles/{ragFilesId}/operations/{operationsId}", +"httpMethod": "DELETE", +"id": "aiplatform.projects.locations.ragCorpora.ragFiles.operations.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be deleted.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/ragCorpora/[^/]+/ragFiles/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/ragCorpora/{ragCorporaId}/ragFiles/{ragFilesId}/operations/{operationsId}", +"httpMethod": "GET", +"id": "aiplatform.projects.locations.ragCorpora.ragFiles.operations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/ragCorpora/[^/]+/ragFiles/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/ragCorpora/{ragCorporaId}/ragFiles/{ragFilesId}/operations", +"httpMethod": "GET", +"id": "aiplatform.projects.locations.ragCorpora.ragFiles.operations.list", +"parameterOrder": [ +"name" +], +"parameters": { +"filter": { +"description": "The standard list filter.", +"location": "query", +"type": "string" +}, +"name": { +"description": "The name of the operation's parent resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/ragCorpora/[^/]+/ragFiles/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The standard list page size.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The standard list page token.", +"location": "query", +"type": "string" +}, +"returnPartialSuccess": { +"description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `\"projects/example/locations/-\"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1/{+name}/operations", +"response": { +"$ref": "GoogleLongrunningListOperationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"wait": { +"description": "Waits until the specified long-running operation is done or reaches at most a specified timeout, returning the latest state. If the operation is already done, the latest state is immediately returned. If the timeout specified is greater than the default HTTP/RPC timeout, the HTTP/RPC timeout is used. If the server does not support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Note that this method is on a best-effort basis. It may return the latest state before the specified timeout (including immediately), meaning even an immediate response is no guarantee that the operation is done.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/ragCorpora/{ragCorporaId}/ragFiles/{ragFilesId}/operations/{operationsId}:wait", +"httpMethod": "POST", +"id": "aiplatform.projects.locations.ragCorpora.ragFiles.operations.wait", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to wait on.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/ragCorpora/[^/]+/ragFiles/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +}, +"timeout": { +"description": "The maximum duration to wait before timing out. If left blank, the wait will be at most the time permitted by the underlying HTTP/RPC protocol. If RPC context deadline is also specified, the shorter one will be used.", +"format": "google-duration", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}:wait", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +} +} +}, +"ragEngineConfig": { +"resources": { +"operations": { +"methods": { +"cancel": { +"description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/ragEngineConfig/operations/{operationsId}:cancel", +"httpMethod": "POST", +"id": "aiplatform.projects.locations.ragEngineConfig.operations.cancel", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be cancelled.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/ragEngineConfig/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:cancel", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/ragEngineConfig/operations/{operationsId}", +"httpMethod": "DELETE", +"id": "aiplatform.projects.locations.ragEngineConfig.operations.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be deleted.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/ragEngineConfig/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/ragEngineConfig/operations/{operationsId}", +"httpMethod": "GET", +"id": "aiplatform.projects.locations.ragEngineConfig.operations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/ragEngineConfig/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/ragEngineConfig/operations", +"httpMethod": "GET", +"id": "aiplatform.projects.locations.ragEngineConfig.operations.list", +"parameterOrder": [ +"name" +], +"parameters": { +"filter": { +"description": "The standard list filter.", +"location": "query", +"type": "string" +}, +"name": { +"description": "The name of the operation's parent resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/ragEngineConfig$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The standard list page size.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The standard list page token.", +"location": "query", +"type": "string" +}, +"returnPartialSuccess": { +"description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `\"projects/example/locations/-\"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1/{+name}/operations", +"response": { +"$ref": "GoogleLongrunningListOperationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"wait": { +"description": "Waits until the specified long-running operation is done or reaches at most a specified timeout, returning the latest state. If the operation is already done, the latest state is immediately returned. If the timeout specified is greater than the default HTTP/RPC timeout, the HTTP/RPC timeout is used. If the server does not support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Note that this method is on a best-effort basis. It may return the latest state before the specified timeout (including immediately), meaning even an immediate response is no guarantee that the operation is done.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/ragEngineConfig/operations/{operationsId}:wait", +"httpMethod": "POST", +"id": "aiplatform.projects.locations.ragEngineConfig.operations.wait", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to wait on.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/ragEngineConfig/operations/[^/]+$", +"required": true, +"type": "string" +}, +"timeout": { +"description": "The maximum duration to wait before timing out. If left blank, the wait will be at most the time permitted by the underlying HTTP/RPC protocol. If RPC context deadline is also specified, the shorter one will be used.", +"format": "google-duration", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}:wait", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +}, +"reasoningEngines": { +"methods": { +"create": { +"description": "Creates a reasoning engine.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/reasoningEngines", +"httpMethod": "POST", +"id": "aiplatform.projects.locations.reasoningEngines.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The resource name of the Location to create the ReasoningEngine in. Format: `projects/{project}/locations/{location}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/reasoningEngines", +"request": { +"$ref": "GoogleCloudAiplatformV1ReasoningEngine" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a reasoning engine.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/reasoningEngines/{reasoningEnginesId}", +"httpMethod": "DELETE", +"id": "aiplatform.projects.locations.reasoningEngines.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"force": { +"description": "Optional. If set to true, child resources of this reasoning engine will also be deleted. Otherwise, the request will fail with FAILED_PRECONDITION error when the reasoning engine has undeleted child resources.", +"location": "query", +"type": "boolean" +}, +"name": { +"description": "Required. The name of the ReasoningEngine resource to be deleted. Format: `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/reasoningEngines/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"executeCode": { +"description": "Executes code statelessly.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/reasoningEngines/{reasoningEnginesId}:executeCode", +"httpMethod": "POST", +"id": "aiplatform.projects.locations.reasoningEngines.executeCode", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the sandbox environment to execute. Format: `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/reasoningEngines/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:executeCode", +"request": { +"$ref": "GoogleCloudAiplatformV1ExecuteCodeRequest" +}, +"response": { +"$ref": "GoogleCloudAiplatformV1ExecuteCodeResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets a reasoning engine.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/reasoningEngines/{reasoningEnginesId}", +"httpMethod": "GET", +"id": "aiplatform.projects.locations.reasoningEngines.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the ReasoningEngine resource. Format: `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/reasoningEngines/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleCloudAiplatformV1ReasoningEngine" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"getIamPolicy": { +"description": "Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/reasoningEngines/{reasoningEnginesId}:getIamPolicy", +"httpMethod": "POST", +"id": "aiplatform.projects.locations.reasoningEngines.getIamPolicy", +"parameterOrder": [ +"resource" +], +"parameters": { +"options.requestedPolicyVersion": { +"description": "Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).", +"format": "int32", +"location": "query", +"type": "integer" +}, +"resource": { +"description": "REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/reasoningEngines/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+resource}:getIamPolicy", +"response": { +"$ref": "GoogleIamV1Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists reasoning engines in a location.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/reasoningEngines", +"httpMethod": "GET", +"id": "aiplatform.projects.locations.reasoningEngines.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Optional. The standard list filter. More detail in [AIP-160](https://google.aip.dev/160).", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Optional. The standard list page size.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. The standard list page token.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The resource name of the Location to list the ReasoningEngines from. Format: `projects/{project}/locations/{location}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/reasoningEngines", +"response": { +"$ref": "GoogleCloudAiplatformV1ListReasoningEnginesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates a reasoning engine.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/reasoningEngines/{reasoningEnginesId}", +"httpMethod": "PATCH", +"id": "aiplatform.projects.locations.reasoningEngines.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Identifier. The resource name of the ReasoningEngine. Format: `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/reasoningEngines/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Optional. Mask specifying which fields to update.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "GoogleCloudAiplatformV1ReasoningEngine" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"query": { +"description": "Queries using a reasoning engine.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/reasoningEngines/{reasoningEnginesId}:query", +"httpMethod": "POST", +"id": "aiplatform.projects.locations.reasoningEngines.query", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the ReasoningEngine resource to use. Format: `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/reasoningEngines/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:query", +"request": { +"$ref": "GoogleCloudAiplatformV1QueryReasoningEngineRequest" +}, +"response": { +"$ref": "GoogleCloudAiplatformV1QueryReasoningEngineResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"setIamPolicy": { +"description": "Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/reasoningEngines/{reasoningEnginesId}:setIamPolicy", +"httpMethod": "POST", +"id": "aiplatform.projects.locations.reasoningEngines.setIamPolicy", +"parameterOrder": [ +"resource" +], +"parameters": { +"resource": { +"description": "REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/reasoningEngines/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+resource}:setIamPolicy", +"request": { +"$ref": "GoogleIamV1SetIamPolicyRequest" +}, +"response": { +"$ref": "GoogleIamV1Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"streamQuery": { +"description": "Streams queries using a reasoning engine.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/reasoningEngines/{reasoningEnginesId}:streamQuery", +"httpMethod": "POST", +"id": "aiplatform.projects.locations.reasoningEngines.streamQuery", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the ReasoningEngine resource to use. Format: `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/reasoningEngines/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:streamQuery", +"request": { +"$ref": "GoogleCloudAiplatformV1StreamQueryReasoningEngineRequest" +}, +"response": { +"$ref": "GoogleApiHttpBody" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"testIamPermissions": { +"description": "Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may \"fail open\" without warning.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/reasoningEngines/{reasoningEnginesId}:testIamPermissions", +"httpMethod": "POST", +"id": "aiplatform.projects.locations.reasoningEngines.testIamPermissions", +"parameterOrder": [ +"resource" +], +"parameters": { +"permissions": { +"description": "The set of permissions to check for the `resource`. Permissions with wildcards (such as `*` or `storage.*`) are not allowed. For more information see [IAM Overview](https://cloud.google.com/iam/docs/overview#permissions).", +"location": "query", +"repeated": true, +"type": "string" +}, +"resource": { +"description": "REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/reasoningEngines/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+resource}:testIamPermissions", +"response": { +"$ref": "GoogleIamV1TestIamPermissionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"memories": { +"methods": { +"create": { +"description": "Create a Memory.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/reasoningEngines/{reasoningEnginesId}/memories", +"httpMethod": "POST", +"id": "aiplatform.projects.locations.reasoningEngines.memories.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The resource name of the ReasoningEngine to create the Memory under. Format: `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/reasoningEngines/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/memories", +"request": { +"$ref": "GoogleCloudAiplatformV1Memory" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Delete a Memory.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/reasoningEngines/{reasoningEnginesId}/memories/{memoriesId}", +"httpMethod": "DELETE", +"id": "aiplatform.projects.locations.reasoningEngines.memories.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the Memory to delete. Format: `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}/memories/{memory}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/reasoningEngines/[^/]+/memories/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"generate": { +"description": "Generate memories.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/reasoningEngines/{reasoningEnginesId}/memories:generate", +"httpMethod": "POST", +"id": "aiplatform.projects.locations.reasoningEngines.memories.generate", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The resource name of the ReasoningEngine to generate memories for. Format: `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/reasoningEngines/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/memories:generate", +"request": { +"$ref": "GoogleCloudAiplatformV1GenerateMemoriesRequest" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Get a Memory.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/reasoningEngines/{reasoningEnginesId}/memories/{memoriesId}", +"httpMethod": "GET", +"id": "aiplatform.projects.locations.reasoningEngines.memories.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the Memory. Format: `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}/memories/{memory}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/reasoningEngines/[^/]+/memories/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleCloudAiplatformV1Memory" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "List Memories.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/reasoningEngines/{reasoningEnginesId}/memories", +"httpMethod": "GET", +"id": "aiplatform.projects.locations.reasoningEngines.memories.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Optional. The standard list filter. More detail in [AIP-160](https://google.aip.dev/160). Supported fields: * `scope` (as a JSON string with equality match only) * `topics` (i.e. `topics.custom_memory_topic_label: \"example topic\" OR topics.managed_memory_topic: USER_PREFERENCES`)", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "Optional. The standard list order by string. If not specified, the default order is `create_time desc`. If specified, the default sorting order of provided fields is ascending. More detail in [AIP-132](https://google.aip.dev/132). Supported fields: * `create_time` * `update_time`", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Optional. The standard list page size.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. The standard list page token.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The resource name of the ReasoningEngine to list the Memories under. Format: `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/reasoningEngines/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/memories", +"response": { +"$ref": "GoogleCloudAiplatformV1ListMemoriesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Update a Memory.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/reasoningEngines/{reasoningEnginesId}/memories/{memoriesId}", +"httpMethod": "PATCH", +"id": "aiplatform.projects.locations.reasoningEngines.memories.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Identifier. The resource name of the Memory. Format: `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}/memories/{memory}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/reasoningEngines/[^/]+/memories/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Optional. Mask specifying which fields to update. Supported fields: * `display_name` * `description` * `fact`", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "GoogleCloudAiplatformV1Memory" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"purge": { +"description": "Purge memories.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/reasoningEngines/{reasoningEnginesId}/memories:purge", +"httpMethod": "POST", +"id": "aiplatform.projects.locations.reasoningEngines.memories.purge", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The resource name of the ReasoningEngine to purge memories from. Format: `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/reasoningEngines/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/memories:purge", +"request": { +"$ref": "GoogleCloudAiplatformV1PurgeMemoriesRequest" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"retrieve": { +"description": "Retrieve memories.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/reasoningEngines/{reasoningEnginesId}/memories:retrieve", +"httpMethod": "POST", +"id": "aiplatform.projects.locations.reasoningEngines.memories.retrieve", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The resource name of the ReasoningEngine to retrieve memories from. Format: `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/reasoningEngines/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/memories:retrieve", +"request": { +"$ref": "GoogleCloudAiplatformV1RetrieveMemoriesRequest" +}, +"response": { +"$ref": "GoogleCloudAiplatformV1RetrieveMemoriesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"rollback": { +"description": "Rollback Memory to a specific revision.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/reasoningEngines/{reasoningEnginesId}/memories/{memoriesId}:rollback", +"httpMethod": "POST", +"id": "aiplatform.projects.locations.reasoningEngines.memories.rollback", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the Memory to rollback. Format: `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}/memories/{memory}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/reasoningEngines/[^/]+/memories/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:rollback", +"request": { +"$ref": "GoogleCloudAiplatformV1RollbackMemoryRequest" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"operations": { +"methods": { +"cancel": { +"description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/reasoningEngines/{reasoningEnginesId}/memories/{memoriesId}/operations/{operationsId}:cancel", +"httpMethod": "POST", +"id": "aiplatform.projects.locations.reasoningEngines.memories.operations.cancel", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be cancelled.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/reasoningEngines/[^/]+/memories/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:cancel", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/reasoningEngines/{reasoningEnginesId}/memories/{memoriesId}/operations/{operationsId}", +"httpMethod": "DELETE", +"id": "aiplatform.projects.locations.reasoningEngines.memories.operations.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be deleted.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/reasoningEngines/[^/]+/memories/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/reasoningEngines/{reasoningEnginesId}/memories/{memoriesId}/operations/{operationsId}", +"httpMethod": "GET", +"id": "aiplatform.projects.locations.reasoningEngines.memories.operations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/reasoningEngines/[^/]+/memories/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/reasoningEngines/{reasoningEnginesId}/memories/{memoriesId}/operations", +"httpMethod": "GET", +"id": "aiplatform.projects.locations.reasoningEngines.memories.operations.list", +"parameterOrder": [ +"name" +], +"parameters": { +"filter": { +"description": "The standard list filter.", +"location": "query", +"type": "string" +}, +"name": { +"description": "The name of the operation's parent resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/reasoningEngines/[^/]+/memories/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The standard list page size.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The standard list page token.", +"location": "query", +"type": "string" +}, +"returnPartialSuccess": { +"description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `\"projects/example/locations/-\"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1/{+name}/operations", +"response": { +"$ref": "GoogleLongrunningListOperationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"wait": { +"description": "Waits until the specified long-running operation is done or reaches at most a specified timeout, returning the latest state. If the operation is already done, the latest state is immediately returned. If the timeout specified is greater than the default HTTP/RPC timeout, the HTTP/RPC timeout is used. If the server does not support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Note that this method is on a best-effort basis. It may return the latest state before the specified timeout (including immediately), meaning even an immediate response is no guarantee that the operation is done.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/reasoningEngines/{reasoningEnginesId}/memories/{memoriesId}/operations/{operationsId}:wait", +"httpMethod": "POST", +"id": "aiplatform.projects.locations.reasoningEngines.memories.operations.wait", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to wait on.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/reasoningEngines/[^/]+/memories/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +}, +"timeout": { +"description": "The maximum duration to wait before timing out. If left blank, the wait will be at most the time permitted by the underlying HTTP/RPC protocol. If RPC context deadline is also specified, the shorter one will be used.", +"format": "google-duration", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}:wait", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"revisions": { +"methods": { +"get": { +"description": "Get a Memory Revision.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/reasoningEngines/{reasoningEnginesId}/memories/{memoriesId}/revisions/{revisionsId}", +"httpMethod": "GET", +"id": "aiplatform.projects.locations.reasoningEngines.memories.revisions.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the Memory Revision to retrieve. Format: `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}/memories/{memory}/revisions/{revision}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/reasoningEngines/[^/]+/memories/[^/]+/revisions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleCloudAiplatformV1MemoryRevision" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "List Memory Revisions for a Memory.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/reasoningEngines/{reasoningEnginesId}/memories/{memoriesId}/revisions", +"httpMethod": "GET", +"id": "aiplatform.projects.locations.reasoningEngines.memories.revisions.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Optional. The standard list filter. More detail in [AIP-160](https://google.aip.dev/160). Supported fields (equality match only): * `labels`", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Optional. The standard list page size.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. The standard list page token.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The resource name of the Memory to list revisions for. Format: `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}/memories/{memory}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/reasoningEngines/[^/]+/memories/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/revisions", +"response": { +"$ref": "GoogleCloudAiplatformV1ListMemoryRevisionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +}, +"operations": { +"methods": { +"cancel": { +"description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/reasoningEngines/{reasoningEnginesId}/operations/{operationsId}:cancel", +"httpMethod": "POST", +"id": "aiplatform.projects.locations.reasoningEngines.operations.cancel", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be cancelled.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/reasoningEngines/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:cancel", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/reasoningEngines/{reasoningEnginesId}/operations/{operationsId}", +"httpMethod": "DELETE", +"id": "aiplatform.projects.locations.reasoningEngines.operations.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be deleted.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/reasoningEngines/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/reasoningEngines/{reasoningEnginesId}/operations/{operationsId}", +"httpMethod": "GET", +"id": "aiplatform.projects.locations.reasoningEngines.operations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/reasoningEngines/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/reasoningEngines/{reasoningEnginesId}/operations", +"httpMethod": "GET", +"id": "aiplatform.projects.locations.reasoningEngines.operations.list", +"parameterOrder": [ +"name" +], +"parameters": { +"filter": { +"description": "The standard list filter.", +"location": "query", +"type": "string" +}, +"name": { +"description": "The name of the operation's parent resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/reasoningEngines/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The standard list page size.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The standard list page token.", +"location": "query", +"type": "string" +}, +"returnPartialSuccess": { +"description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `\"projects/example/locations/-\"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1/{+name}/operations", +"response": { +"$ref": "GoogleLongrunningListOperationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"wait": { +"description": "Waits until the specified long-running operation is done or reaches at most a specified timeout, returning the latest state. If the operation is already done, the latest state is immediately returned. If the timeout specified is greater than the default HTTP/RPC timeout, the HTTP/RPC timeout is used. If the server does not support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Note that this method is on a best-effort basis. It may return the latest state before the specified timeout (including immediately), meaning even an immediate response is no guarantee that the operation is done.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/reasoningEngines/{reasoningEnginesId}/operations/{operationsId}:wait", +"httpMethod": "POST", +"id": "aiplatform.projects.locations.reasoningEngines.operations.wait", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to wait on.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/reasoningEngines/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +}, +"timeout": { +"description": "The maximum duration to wait before timing out. If left blank, the wait will be at most the time permitted by the underlying HTTP/RPC protocol. If RPC context deadline is also specified, the shorter one will be used.", +"format": "google-duration", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}:wait", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"sandboxEnvironments": { +"methods": { +"create": { +"description": "Creates a SandboxEnvironment in a given reasoning engine.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/reasoningEngines/{reasoningEnginesId}/sandboxEnvironments", +"httpMethod": "POST", +"id": "aiplatform.projects.locations.reasoningEngines.sandboxEnvironments.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The resource name of the reasoning engine to create the SandboxEnvironment in. Format: `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/reasoningEngines/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/sandboxEnvironments", +"request": { +"$ref": "GoogleCloudAiplatformV1SandboxEnvironment" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes the specific SandboxEnvironment.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/reasoningEngines/{reasoningEnginesId}/sandboxEnvironments/{sandboxEnvironmentsId}", +"httpMethod": "DELETE", +"id": "aiplatform.projects.locations.reasoningEngines.sandboxEnvironments.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the SandboxEnvironment to delete. Format: `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}/sandboxEnvironments/{sandbox_environment}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/reasoningEngines/[^/]+/sandboxEnvironments/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"execute": { +"description": "Executes using a sandbox environment.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/reasoningEngines/{reasoningEnginesId}/sandboxEnvironments/{sandboxEnvironmentsId}:execute", +"httpMethod": "POST", +"id": "aiplatform.projects.locations.reasoningEngines.sandboxEnvironments.execute", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the sandbox environment to execute. Format: `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}/sandboxEnvironments/{sandbox_environment}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/reasoningEngines/[^/]+/sandboxEnvironments/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:execute", +"request": { +"$ref": "GoogleCloudAiplatformV1ExecuteSandboxEnvironmentRequest" +}, +"response": { +"$ref": "GoogleCloudAiplatformV1ExecuteSandboxEnvironmentResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets details of the specific SandboxEnvironment.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/reasoningEngines/{reasoningEnginesId}/sandboxEnvironments/{sandboxEnvironmentsId}", +"httpMethod": "GET", +"id": "aiplatform.projects.locations.reasoningEngines.sandboxEnvironments.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the sandbox environment. Format: `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}/sandboxEnvironments/{sandbox_environment}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/reasoningEngines/[^/]+/sandboxEnvironments/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleCloudAiplatformV1SandboxEnvironment" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists SandboxEnvironments in a given reasoning engine.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/reasoningEngines/{reasoningEnginesId}/sandboxEnvironments", +"httpMethod": "GET", +"id": "aiplatform.projects.locations.reasoningEngines.sandboxEnvironments.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Optional. The standard list filter. More detail in [AIP-160](https://google.aip.dev/160).", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Optional. The maximum number of SandboxEnvironments to return. The service may return fewer than this value. If unspecified, at most 100 SandboxEnvironments will be returned.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. The standard list page token, received from a previous `ListSandboxEnvironments` call. Provide this to retrieve the subsequent page.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The resource name of the reasoning engine to list sandbox environments from. Format: `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/reasoningEngines/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/sandboxEnvironments", +"response": { +"$ref": "GoogleCloudAiplatformV1ListSandboxEnvironmentsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"operations": { +"methods": { +"cancel": { +"description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/reasoningEngines/{reasoningEnginesId}/sandboxEnvironments/{sandboxEnvironmentsId}/operations/{operationsId}:cancel", +"httpMethod": "POST", +"id": "aiplatform.projects.locations.reasoningEngines.sandboxEnvironments.operations.cancel", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be cancelled.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/reasoningEngines/[^/]+/sandboxEnvironments/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:cancel", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/reasoningEngines/{reasoningEnginesId}/sandboxEnvironments/{sandboxEnvironmentsId}/operations/{operationsId}", +"httpMethod": "DELETE", +"id": "aiplatform.projects.locations.reasoningEngines.sandboxEnvironments.operations.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be deleted.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/reasoningEngines/[^/]+/sandboxEnvironments/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/reasoningEngines/{reasoningEnginesId}/sandboxEnvironments/{sandboxEnvironmentsId}/operations/{operationsId}", +"httpMethod": "GET", +"id": "aiplatform.projects.locations.reasoningEngines.sandboxEnvironments.operations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/reasoningEngines/[^/]+/sandboxEnvironments/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"wait": { +"description": "Waits until the specified long-running operation is done or reaches at most a specified timeout, returning the latest state. If the operation is already done, the latest state is immediately returned. If the timeout specified is greater than the default HTTP/RPC timeout, the HTTP/RPC timeout is used. If the server does not support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Note that this method is on a best-effort basis. It may return the latest state before the specified timeout (including immediately), meaning even an immediate response is no guarantee that the operation is done.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/reasoningEngines/{reasoningEnginesId}/sandboxEnvironments/{sandboxEnvironmentsId}/operations/{operationsId}:wait", +"httpMethod": "POST", +"id": "aiplatform.projects.locations.reasoningEngines.sandboxEnvironments.operations.wait", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to wait on.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/reasoningEngines/[^/]+/sandboxEnvironments/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +}, +"timeout": { +"description": "The maximum duration to wait before timing out. If left blank, the wait will be at most the time permitted by the underlying HTTP/RPC protocol. If RPC context deadline is also specified, the shorter one will be used.", +"format": "google-duration", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}:wait", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +}, +"sessions": { +"methods": { +"appendEvent": { +"description": "Appends an event to a given session.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/reasoningEngines/{reasoningEnginesId}/sessions/{sessionsId}:appendEvent", +"httpMethod": "POST", +"id": "aiplatform.projects.locations.reasoningEngines.sessions.appendEvent", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the session to append event to. Format: `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}/sessions/{session}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/reasoningEngines/[^/]+/sessions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:appendEvent", +"request": { +"$ref": "GoogleCloudAiplatformV1SessionEvent" +}, +"response": { +"$ref": "GoogleCloudAiplatformV1AppendEventResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"create": { +"description": "Creates a new Session.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/reasoningEngines/{reasoningEnginesId}/sessions", +"httpMethod": "POST", +"id": "aiplatform.projects.locations.reasoningEngines.sessions.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The resource name of the location to create the session in. Format: `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/reasoningEngines/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/sessions", +"request": { +"$ref": "GoogleCloudAiplatformV1Session" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes details of the specific Session.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/reasoningEngines/{reasoningEnginesId}/sessions/{sessionsId}", +"httpMethod": "DELETE", +"id": "aiplatform.projects.locations.reasoningEngines.sessions.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the session. Format: `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}/sessions/{session}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/reasoningEngines/[^/]+/sessions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets details of the specific Session.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/reasoningEngines/{reasoningEnginesId}/sessions/{sessionsId}", +"httpMethod": "GET", +"id": "aiplatform.projects.locations.reasoningEngines.sessions.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the session. Format: `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}/sessions/{session}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/reasoningEngines/[^/]+/sessions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleCloudAiplatformV1Session" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists Sessions in a given reasoning engine.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/reasoningEngines/{reasoningEnginesId}/sessions", +"httpMethod": "GET", +"id": "aiplatform.projects.locations.reasoningEngines.sessions.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Optional. The standard list filter. Supported fields: * `display_name` * `user_id` * `labels` Example: `display_name=\"abc\"`, `user_id=\"123\"`, `labels.key=\"value\"`.", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "Optional. A comma-separated list of fields to order by, sorted in ascending order. Use \"desc\" after a field name for descending. Supported fields: * `create_time` * `update_time` Example: `create_time desc`.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Optional. The maximum number of sessions to return. The service may return fewer than this value. If unspecified, at most 100 sessions will be returned.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. The next_page_token value returned from a previous list SessionService.ListSessions call.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The resource name of the location to list sessions from. Format: `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/reasoningEngines/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/sessions", +"response": { +"$ref": "GoogleCloudAiplatformV1ListSessionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates the specific Session.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/reasoningEngines/{reasoningEnginesId}/sessions/{sessionsId}", +"httpMethod": "PATCH", +"id": "aiplatform.projects.locations.reasoningEngines.sessions.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Identifier. The resource name of the session. Format: 'projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}/sessions/{session}'.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/reasoningEngines/[^/]+/sessions/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Optional. Field mask is used to control which fields get updated. If the mask is not present, all fields will be updated.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "GoogleCloudAiplatformV1Session" +}, +"response": { +"$ref": "GoogleCloudAiplatformV1Session" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"events": { +"methods": { +"list": { +"description": "Lists Events in a given session.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/reasoningEngines/{reasoningEnginesId}/sessions/{sessionsId}/events", +"httpMethod": "GET", +"id": "aiplatform.projects.locations.reasoningEngines.sessions.events.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Optional. The standard list filter. Supported fields: * `timestamp` range (i.e. `timestamp>=\"2025-01-31T11:30:00-04:00\"` where the timestamp is in RFC 3339 format) More detail in [AIP-160](https://google.aip.dev/160).", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "Optional. A comma-separated list of fields to order by, sorted in ascending order. Use \"desc\" after a field name for descending. Supported fields: * `timestamp` Example: `timestamp desc`.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Optional. The maximum number of events to return. The service may return fewer than this value. If unspecified, at most 100 events will be returned. These events are ordered by timestamp in ascending order.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. The next_page_token value returned from a previous list SessionService.ListEvents call.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The resource name of the session to list events from. Format: `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}/sessions/{session}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/reasoningEngines/[^/]+/sessions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/events", +"response": { +"$ref": "GoogleCloudAiplatformV1ListEventsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"operations": { +"methods": { +"cancel": { +"description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/reasoningEngines/{reasoningEnginesId}/sessions/{sessionsId}/operations/{operationsId}:cancel", +"httpMethod": "POST", +"id": "aiplatform.projects.locations.reasoningEngines.sessions.operations.cancel", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be cancelled.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/reasoningEngines/[^/]+/sessions/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:cancel", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/reasoningEngines/{reasoningEnginesId}/sessions/{sessionsId}/operations/{operationsId}", +"httpMethod": "DELETE", +"id": "aiplatform.projects.locations.reasoningEngines.sessions.operations.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be deleted.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/reasoningEngines/[^/]+/sessions/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/reasoningEngines/{reasoningEnginesId}/sessions/{sessionsId}/operations/{operationsId}", +"httpMethod": "GET", +"id": "aiplatform.projects.locations.reasoningEngines.sessions.operations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/reasoningEngines/[^/]+/sessions/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/reasoningEngines/{reasoningEnginesId}/sessions/{sessionsId}/operations", +"httpMethod": "GET", +"id": "aiplatform.projects.locations.reasoningEngines.sessions.operations.list", +"parameterOrder": [ +"name" +], +"parameters": { +"filter": { +"description": "The standard list filter.", +"location": "query", +"type": "string" +}, +"name": { +"description": "The name of the operation's parent resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/reasoningEngines/[^/]+/sessions/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The standard list page size.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The standard list page token.", +"location": "query", +"type": "string" +}, +"returnPartialSuccess": { +"description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `\"projects/example/locations/-\"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1/{+name}/operations", +"response": { +"$ref": "GoogleLongrunningListOperationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"wait": { +"description": "Waits until the specified long-running operation is done or reaches at most a specified timeout, returning the latest state. If the operation is already done, the latest state is immediately returned. If the timeout specified is greater than the default HTTP/RPC timeout, the HTTP/RPC timeout is used. If the server does not support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Note that this method is on a best-effort basis. It may return the latest state before the specified timeout (including immediately), meaning even an immediate response is no guarantee that the operation is done.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/reasoningEngines/{reasoningEnginesId}/sessions/{sessionsId}/operations/{operationsId}:wait", +"httpMethod": "POST", +"id": "aiplatform.projects.locations.reasoningEngines.sessions.operations.wait", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to wait on.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/reasoningEngines/[^/]+/sessions/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +}, +"timeout": { +"description": "The maximum duration to wait before timing out. If left blank, the wait will be at most the time permitted by the underlying HTTP/RPC protocol. If RPC context deadline is also specified, the shorter one will be used.", +"format": "google-duration", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}:wait", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +} +} +}, +"schedules": { +"methods": { +"create": { +"description": "Creates a Schedule.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/schedules", +"httpMethod": "POST", +"id": "aiplatform.projects.locations.schedules.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The resource name of the Location to create the Schedule in. Format: `projects/{project}/locations/{location}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/schedules", +"request": { +"$ref": "GoogleCloudAiplatformV1Schedule" +}, +"response": { +"$ref": "GoogleCloudAiplatformV1Schedule" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a Schedule.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/schedules/{schedulesId}", +"httpMethod": "DELETE", +"id": "aiplatform.projects.locations.schedules.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the Schedule resource to be deleted. Format: `projects/{project}/locations/{location}/schedules/{schedule}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/schedules/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets a Schedule.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/schedules/{schedulesId}", +"httpMethod": "GET", +"id": "aiplatform.projects.locations.schedules.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the Schedule resource. Format: `projects/{project}/locations/{location}/schedules/{schedule}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/schedules/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleCloudAiplatformV1Schedule" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists Schedules in a Location.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/schedules", +"httpMethod": "GET", +"id": "aiplatform.projects.locations.schedules.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Lists the Schedules that match the filter expression. The following fields are supported: * `display_name`: Supports `=`, `!=` comparisons, and `:` wildcard. * `state`: Supports `=` and `!=` comparisons. * `request`: Supports existence of the check. (e.g. `create_pipeline_job_request:*` --> Schedule has create_pipeline_job_request). * `create_time`: Supports `=`, `!=`, `<`, `>`, `<=`, and `>=` comparisons. Values must be in RFC 3339 format. * `start_time`: Supports `=`, `!=`, `<`, `>`, `<=`, and `>=` comparisons. Values must be in RFC 3339 format. * `end_time`: Supports `=`, `!=`, `<`, `>`, `<=`, `>=` comparisons and `:*` existence check. Values must be in RFC 3339 format. * `next_run_time`: Supports `=`, `!=`, `<`, `>`, `<=`, and `>=` comparisons. Values must be in RFC 3339 format. Filter expressions can be combined together using logical operators (`NOT`, `AND` & `OR`). The syntax to define filter expression is based on https://google.aip.dev/160. Examples: * `state=\"ACTIVE\" AND display_name:\"my_schedule_*\"` * `NOT display_name=\"my_schedule\"` * `create_time>\"2021-05-18T00:00:00Z\"` * `end_time>\"2021-05-18T00:00:00Z\" OR NOT end_time:*` * `create_pipeline_job_request:*`", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "A comma-separated list of fields to order by. The default sort order is in ascending order. Use \"desc\" after a field name for descending. You can have multiple order_by fields provided. For example, using \"create_time desc, end_time\" will order results by create time in descending order, and if there are multiple schedules having the same create time, order them by the end time in ascending order. If order_by is not specified, it will order by default with create_time in descending order. Supported fields: * `create_time` * `start_time` * `end_time` * `next_run_time`", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "The standard list page size. Default to 100 if not specified.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The standard list page token. Typically obtained via ListSchedulesResponse.next_page_token of the previous ScheduleService.ListSchedules call.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The resource name of the Location to list the Schedules from. Format: `projects/{project}/locations/{location}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/schedules", +"response": { +"$ref": "GoogleCloudAiplatformV1ListSchedulesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates an active or paused Schedule. When the Schedule is updated, new runs will be scheduled starting from the updated next execution time after the update time based on the time_specification in the updated Schedule. All unstarted runs before the update time will be skipped while already created runs will NOT be paused or canceled.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/schedules/{schedulesId}", +"httpMethod": "PATCH", +"id": "aiplatform.projects.locations.schedules.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Immutable. The resource name of the Schedule.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/schedules/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Required. The update mask applies to the resource. See google.protobuf.FieldMask.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "GoogleCloudAiplatformV1Schedule" +}, +"response": { +"$ref": "GoogleCloudAiplatformV1Schedule" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"pause": { +"description": "Pauses a Schedule. Will mark Schedule.state to 'PAUSED'. If the schedule is paused, no new runs will be created. Already created runs will NOT be paused or canceled.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/schedules/{schedulesId}:pause", +"httpMethod": "POST", +"id": "aiplatform.projects.locations.schedules.pause", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the Schedule resource to be paused. Format: `projects/{project}/locations/{location}/schedules/{schedule}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/schedules/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:pause", +"request": { +"$ref": "GoogleCloudAiplatformV1PauseScheduleRequest" +}, +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"resume": { +"description": "Resumes a paused Schedule to start scheduling new runs. Will mark Schedule.state to 'ACTIVE'. Only paused Schedule can be resumed. When the Schedule is resumed, new runs will be scheduled starting from the next execution time after the current time based on the time_specification in the Schedule. If Schedule.catch_up is set up true, all missed runs will be scheduled for backfill first.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/schedules/{schedulesId}:resume", +"httpMethod": "POST", +"id": "aiplatform.projects.locations.schedules.resume", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the Schedule resource to be resumed. Format: `projects/{project}/locations/{location}/schedules/{schedule}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/schedules/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:resume", +"request": { +"$ref": "GoogleCloudAiplatformV1ResumeScheduleRequest" +}, +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"operations": { +"methods": { +"cancel": { +"description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/schedules/{schedulesId}/operations/{operationsId}:cancel", +"httpMethod": "POST", +"id": "aiplatform.projects.locations.schedules.operations.cancel", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be cancelled.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/schedules/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:cancel", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/schedules/{schedulesId}/operations/{operationsId}", +"httpMethod": "DELETE", +"id": "aiplatform.projects.locations.schedules.operations.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be deleted.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/schedules/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/schedules/{schedulesId}/operations/{operationsId}", +"httpMethod": "GET", +"id": "aiplatform.projects.locations.schedules.operations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/schedules/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/schedules/{schedulesId}/operations", +"httpMethod": "GET", +"id": "aiplatform.projects.locations.schedules.operations.list", +"parameterOrder": [ +"name" +], +"parameters": { +"filter": { +"description": "The standard list filter.", +"location": "query", +"type": "string" +}, +"name": { +"description": "The name of the operation's parent resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/schedules/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The standard list page size.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The standard list page token.", +"location": "query", +"type": "string" +}, +"returnPartialSuccess": { +"description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `\"projects/example/locations/-\"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1/{+name}/operations", +"response": { +"$ref": "GoogleLongrunningListOperationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"wait": { +"description": "Waits until the specified long-running operation is done or reaches at most a specified timeout, returning the latest state. If the operation is already done, the latest state is immediately returned. If the timeout specified is greater than the default HTTP/RPC timeout, the HTTP/RPC timeout is used. If the server does not support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Note that this method is on a best-effort basis. It may return the latest state before the specified timeout (including immediately), meaning even an immediate response is no guarantee that the operation is done.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/schedules/{schedulesId}/operations/{operationsId}:wait", +"httpMethod": "POST", +"id": "aiplatform.projects.locations.schedules.operations.wait", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to wait on.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/schedules/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +}, +"timeout": { +"description": "The maximum duration to wait before timing out. If left blank, the wait will be at most the time permitted by the underlying HTTP/RPC protocol. If RPC context deadline is also specified, the shorter one will be used.", +"format": "google-duration", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}:wait", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +}, +"specialistPools": { +"methods": { +"create": { +"description": "Creates a SpecialistPool.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/specialistPools", +"httpMethod": "POST", +"id": "aiplatform.projects.locations.specialistPools.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The parent Project name for the new SpecialistPool. The form is `projects/{project}/locations/{location}`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/specialistPools", +"request": { +"$ref": "GoogleCloudAiplatformV1SpecialistPool" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a SpecialistPool as well as all Specialists in the pool.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/specialistPools/{specialistPoolsId}", +"httpMethod": "DELETE", +"id": "aiplatform.projects.locations.specialistPools.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"force": { +"description": "If set to true, any specialist managers in this SpecialistPool will also be deleted. (Otherwise, the request will only work if the SpecialistPool has no specialist managers.)", +"location": "query", +"type": "boolean" +}, +"name": { +"description": "Required. The resource name of the SpecialistPool to delete. Format: `projects/{project}/locations/{location}/specialistPools/{specialist_pool}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/specialistPools/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets a SpecialistPool.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/specialistPools/{specialistPoolsId}", +"httpMethod": "GET", +"id": "aiplatform.projects.locations.specialistPools.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the SpecialistPool resource. The form is `projects/{project}/locations/{location}/specialistPools/{specialist_pool}`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/specialistPools/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleCloudAiplatformV1SpecialistPool" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists SpecialistPools in a Location.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/specialistPools", +"httpMethod": "GET", +"id": "aiplatform.projects.locations.specialistPools.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "The standard list page size.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The standard list page token. Typically obtained by ListSpecialistPoolsResponse.next_page_token of the previous SpecialistPoolService.ListSpecialistPools call. Return first page if empty.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The name of the SpecialistPool's parent resource. Format: `projects/{project}/locations/{location}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +}, +"readMask": { +"description": "Mask specifying which fields to read. FieldMask represents a set of", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+parent}/specialistPools", +"response": { +"$ref": "GoogleCloudAiplatformV1ListSpecialistPoolsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates a SpecialistPool.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/specialistPools/{specialistPoolsId}", +"httpMethod": "PATCH", +"id": "aiplatform.projects.locations.specialistPools.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the SpecialistPool.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/specialistPools/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Required. The update mask applies to the resource.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "GoogleCloudAiplatformV1SpecialistPool" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"operations": { +"methods": { +"cancel": { +"description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/specialistPools/{specialistPoolsId}/operations/{operationsId}:cancel", +"httpMethod": "POST", +"id": "aiplatform.projects.locations.specialistPools.operations.cancel", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be cancelled.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/specialistPools/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:cancel", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/specialistPools/{specialistPoolsId}/operations/{operationsId}", +"httpMethod": "DELETE", +"id": "aiplatform.projects.locations.specialistPools.operations.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be deleted.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/specialistPools/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/specialistPools/{specialistPoolsId}/operations/{operationsId}", +"httpMethod": "GET", +"id": "aiplatform.projects.locations.specialistPools.operations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/specialistPools/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/specialistPools/{specialistPoolsId}/operations", +"httpMethod": "GET", +"id": "aiplatform.projects.locations.specialistPools.operations.list", +"parameterOrder": [ +"name" +], +"parameters": { +"filter": { +"description": "The standard list filter.", +"location": "query", +"type": "string" +}, +"name": { +"description": "The name of the operation's parent resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/specialistPools/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The standard list page size.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The standard list page token.", +"location": "query", +"type": "string" +}, +"returnPartialSuccess": { +"description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `\"projects/example/locations/-\"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1/{+name}/operations", +"response": { +"$ref": "GoogleLongrunningListOperationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"wait": { +"description": "Waits until the specified long-running operation is done or reaches at most a specified timeout, returning the latest state. If the operation is already done, the latest state is immediately returned. If the timeout specified is greater than the default HTTP/RPC timeout, the HTTP/RPC timeout is used. If the server does not support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Note that this method is on a best-effort basis. It may return the latest state before the specified timeout (including immediately), meaning even an immediate response is no guarantee that the operation is done.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/specialistPools/{specialistPoolsId}/operations/{operationsId}:wait", +"httpMethod": "POST", +"id": "aiplatform.projects.locations.specialistPools.operations.wait", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to wait on.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/specialistPools/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +}, +"timeout": { +"description": "The maximum duration to wait before timing out. If left blank, the wait will be at most the time permitted by the underlying HTTP/RPC protocol. If RPC context deadline is also specified, the shorter one will be used.", +"format": "google-duration", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}:wait", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +}, +"studies": { +"methods": { +"create": { +"description": "Creates a Study. A resource name will be generated after creation of the Study.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/studies", +"httpMethod": "POST", +"id": "aiplatform.projects.locations.studies.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The resource name of the Location to create the CustomJob in. Format: `projects/{project}/locations/{location}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/studies", +"request": { +"$ref": "GoogleCloudAiplatformV1Study" +}, +"response": { +"$ref": "GoogleCloudAiplatformV1Study" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a Study.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/studies/{studiesId}", +"httpMethod": "DELETE", +"id": "aiplatform.projects.locations.studies.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the Study resource to be deleted. Format: `projects/{project}/locations/{location}/studies/{study}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/studies/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets a Study by name.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/studies/{studiesId}", +"httpMethod": "GET", +"id": "aiplatform.projects.locations.studies.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the Study resource. Format: `projects/{project}/locations/{location}/studies/{study}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/studies/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleCloudAiplatformV1Study" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists all the studies in a region for an associated project.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/studies", +"httpMethod": "GET", +"id": "aiplatform.projects.locations.studies.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "Optional. The maximum number of studies to return per \"page\" of results. If unspecified, service will pick an appropriate default.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. A page token to request the next page of results. If unspecified, there are no subsequent pages.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The resource name of the Location to list the Study from. Format: `projects/{project}/locations/{location}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/studies", +"response": { +"$ref": "GoogleCloudAiplatformV1ListStudiesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"lookup": { +"description": "Looks a study up using the user-defined display_name field instead of the fully qualified resource name.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/studies:lookup", +"httpMethod": "POST", +"id": "aiplatform.projects.locations.studies.lookup", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The resource name of the Location to get the Study from. Format: `projects/{project}/locations/{location}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/studies:lookup", +"request": { +"$ref": "GoogleCloudAiplatformV1LookupStudyRequest" +}, +"response": { +"$ref": "GoogleCloudAiplatformV1Study" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"operations": { +"methods": { +"cancel": { +"description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/studies/{studiesId}/operations/{operationsId}:cancel", +"httpMethod": "POST", +"id": "aiplatform.projects.locations.studies.operations.cancel", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be cancelled.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/studies/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:cancel", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/studies/{studiesId}/operations/{operationsId}", +"httpMethod": "DELETE", +"id": "aiplatform.projects.locations.studies.operations.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be deleted.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/studies/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/studies/{studiesId}/operations/{operationsId}", +"httpMethod": "GET", +"id": "aiplatform.projects.locations.studies.operations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/studies/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/studies/{studiesId}/operations", +"httpMethod": "GET", +"id": "aiplatform.projects.locations.studies.operations.list", +"parameterOrder": [ +"name" +], +"parameters": { +"filter": { +"description": "The standard list filter.", +"location": "query", +"type": "string" +}, +"name": { +"description": "The name of the operation's parent resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/studies/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The standard list page size.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The standard list page token.", +"location": "query", +"type": "string" +}, +"returnPartialSuccess": { +"description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `\"projects/example/locations/-\"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1/{+name}/operations", +"response": { +"$ref": "GoogleLongrunningListOperationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"wait": { +"description": "Waits until the specified long-running operation is done or reaches at most a specified timeout, returning the latest state. If the operation is already done, the latest state is immediately returned. If the timeout specified is greater than the default HTTP/RPC timeout, the HTTP/RPC timeout is used. If the server does not support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Note that this method is on a best-effort basis. It may return the latest state before the specified timeout (including immediately), meaning even an immediate response is no guarantee that the operation is done.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/studies/{studiesId}/operations/{operationsId}:wait", +"httpMethod": "POST", +"id": "aiplatform.projects.locations.studies.operations.wait", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to wait on.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/studies/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +}, +"timeout": { +"description": "The maximum duration to wait before timing out. If left blank, the wait will be at most the time permitted by the underlying HTTP/RPC protocol. If RPC context deadline is also specified, the shorter one will be used.", +"format": "google-duration", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}:wait", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"trials": { +"methods": { +"addTrialMeasurement": { +"description": "Adds a measurement of the objective metrics to a Trial. This measurement is assumed to have been taken before the Trial is complete.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/studies/{studiesId}/trials/{trialsId}:addTrialMeasurement", +"httpMethod": "POST", +"id": "aiplatform.projects.locations.studies.trials.addTrialMeasurement", +"parameterOrder": [ +"trialName" +], +"parameters": { +"trialName": { +"description": "Required. The name of the trial to add measurement. Format: `projects/{project}/locations/{location}/studies/{study}/trials/{trial}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/studies/[^/]+/trials/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+trialName}:addTrialMeasurement", +"request": { +"$ref": "GoogleCloudAiplatformV1AddTrialMeasurementRequest" +}, +"response": { +"$ref": "GoogleCloudAiplatformV1Trial" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"checkTrialEarlyStoppingState": { +"description": "Checks whether a Trial should stop or not. Returns a long-running operation. When the operation is successful, it will contain a CheckTrialEarlyStoppingStateResponse.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/studies/{studiesId}/trials/{trialsId}:checkTrialEarlyStoppingState", +"httpMethod": "POST", +"id": "aiplatform.projects.locations.studies.trials.checkTrialEarlyStoppingState", +"parameterOrder": [ +"trialName" +], +"parameters": { +"trialName": { +"description": "Required. The Trial's name. Format: `projects/{project}/locations/{location}/studies/{study}/trials/{trial}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/studies/[^/]+/trials/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+trialName}:checkTrialEarlyStoppingState", +"request": { +"$ref": "GoogleCloudAiplatformV1CheckTrialEarlyStoppingStateRequest" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"complete": { +"description": "Marks a Trial as complete.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/studies/{studiesId}/trials/{trialsId}:complete", +"httpMethod": "POST", +"id": "aiplatform.projects.locations.studies.trials.complete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The Trial's name. Format: `projects/{project}/locations/{location}/studies/{study}/trials/{trial}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/studies/[^/]+/trials/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:complete", +"request": { +"$ref": "GoogleCloudAiplatformV1CompleteTrialRequest" +}, +"response": { +"$ref": "GoogleCloudAiplatformV1Trial" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"create": { +"description": "Adds a user provided Trial to a Study.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/studies/{studiesId}/trials", +"httpMethod": "POST", +"id": "aiplatform.projects.locations.studies.trials.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The resource name of the Study to create the Trial in. Format: `projects/{project}/locations/{location}/studies/{study}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/studies/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/trials", +"request": { +"$ref": "GoogleCloudAiplatformV1Trial" +}, +"response": { +"$ref": "GoogleCloudAiplatformV1Trial" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a Trial.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/studies/{studiesId}/trials/{trialsId}", +"httpMethod": "DELETE", +"id": "aiplatform.projects.locations.studies.trials.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The Trial's name. Format: `projects/{project}/locations/{location}/studies/{study}/trials/{trial}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/studies/[^/]+/trials/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets a Trial.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/studies/{studiesId}/trials/{trialsId}", +"httpMethod": "GET", +"id": "aiplatform.projects.locations.studies.trials.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the Trial resource. Format: `projects/{project}/locations/{location}/studies/{study}/trials/{trial}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/studies/[^/]+/trials/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleCloudAiplatformV1Trial" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists the Trials associated with a Study.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/studies/{studiesId}/trials", +"httpMethod": "GET", +"id": "aiplatform.projects.locations.studies.trials.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "Optional. The number of Trials to retrieve per \"page\" of results. If unspecified, the service will pick an appropriate default.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. A page token to request the next page of results. If unspecified, there are no subsequent pages.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The resource name of the Study to list the Trial from. Format: `projects/{project}/locations/{location}/studies/{study}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/studies/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/trials", +"response": { +"$ref": "GoogleCloudAiplatformV1ListTrialsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"listOptimalTrials": { +"description": "Lists the pareto-optimal Trials for multi-objective Study or the optimal Trials for single-objective Study. The definition of pareto-optimal can be checked in wiki page. https://en.wikipedia.org/wiki/Pareto_efficiency", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/studies/{studiesId}/trials:listOptimalTrials", +"httpMethod": "POST", +"id": "aiplatform.projects.locations.studies.trials.listOptimalTrials", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The name of the Study that the optimal Trial belongs to.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/studies/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/trials:listOptimalTrials", +"request": { +"$ref": "GoogleCloudAiplatformV1ListOptimalTrialsRequest" +}, +"response": { +"$ref": "GoogleCloudAiplatformV1ListOptimalTrialsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"stop": { +"description": "Stops a Trial.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/studies/{studiesId}/trials/{trialsId}:stop", +"httpMethod": "POST", +"id": "aiplatform.projects.locations.studies.trials.stop", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The Trial's name. Format: `projects/{project}/locations/{location}/studies/{study}/trials/{trial}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/studies/[^/]+/trials/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:stop", +"request": { +"$ref": "GoogleCloudAiplatformV1StopTrialRequest" +}, +"response": { +"$ref": "GoogleCloudAiplatformV1Trial" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"suggest": { +"description": "Adds one or more Trials to a Study, with parameter values suggested by Vertex AI Vizier. Returns a long-running operation associated with the generation of Trial suggestions. When this long-running operation succeeds, it will contain a SuggestTrialsResponse.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/studies/{studiesId}/trials:suggest", +"httpMethod": "POST", +"id": "aiplatform.projects.locations.studies.trials.suggest", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The project and location that the Study belongs to. Format: `projects/{project}/locations/{location}/studies/{study}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/studies/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/trials:suggest", +"request": { +"$ref": "GoogleCloudAiplatformV1SuggestTrialsRequest" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"operations": { +"methods": { +"cancel": { +"description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/studies/{studiesId}/trials/{trialsId}/operations/{operationsId}:cancel", +"httpMethod": "POST", +"id": "aiplatform.projects.locations.studies.trials.operations.cancel", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be cancelled.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/studies/[^/]+/trials/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:cancel", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/studies/{studiesId}/trials/{trialsId}/operations/{operationsId}", +"httpMethod": "DELETE", +"id": "aiplatform.projects.locations.studies.trials.operations.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be deleted.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/studies/[^/]+/trials/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/studies/{studiesId}/trials/{trialsId}/operations/{operationsId}", +"httpMethod": "GET", +"id": "aiplatform.projects.locations.studies.trials.operations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/studies/[^/]+/trials/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/studies/{studiesId}/trials/{trialsId}/operations", +"httpMethod": "GET", +"id": "aiplatform.projects.locations.studies.trials.operations.list", +"parameterOrder": [ +"name" +], +"parameters": { +"filter": { +"description": "The standard list filter.", +"location": "query", +"type": "string" +}, +"name": { +"description": "The name of the operation's parent resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/studies/[^/]+/trials/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The standard list page size.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The standard list page token.", +"location": "query", +"type": "string" +}, +"returnPartialSuccess": { +"description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `\"projects/example/locations/-\"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1/{+name}/operations", +"response": { +"$ref": "GoogleLongrunningListOperationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"wait": { +"description": "Waits until the specified long-running operation is done or reaches at most a specified timeout, returning the latest state. If the operation is already done, the latest state is immediately returned. If the timeout specified is greater than the default HTTP/RPC timeout, the HTTP/RPC timeout is used. If the server does not support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Note that this method is on a best-effort basis. It may return the latest state before the specified timeout (including immediately), meaning even an immediate response is no guarantee that the operation is done.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/studies/{studiesId}/trials/{trialsId}/operations/{operationsId}:wait", +"httpMethod": "POST", +"id": "aiplatform.projects.locations.studies.trials.operations.wait", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to wait on.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/studies/[^/]+/trials/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +}, +"timeout": { +"description": "The maximum duration to wait before timing out. If left blank, the wait will be at most the time permitted by the underlying HTTP/RPC protocol. If RPC context deadline is also specified, the shorter one will be used.", +"format": "google-duration", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}:wait", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +} +} +}, +"tensorboards": { +"methods": { +"batchRead": { +"description": "Reads multiple TensorboardTimeSeries' data. The data point number limit is 1000 for scalars, 100 for tensors and blob references. If the number of data points stored is less than the limit, all data is returned. Otherwise, the number limit of data points is randomly selected from this time series and returned.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/tensorboards/{tensorboardsId}:batchRead", +"httpMethod": "GET", +"id": "aiplatform.projects.locations.tensorboards.batchRead", +"parameterOrder": [ +"tensorboard" +], +"parameters": { +"tensorboard": { +"description": "Required. The resource name of the Tensorboard containing TensorboardTimeSeries to read data from. Format: `projects/{project}/locations/{location}/tensorboards/{tensorboard}`. The TensorboardTimeSeries referenced by time_series must be sub resources of this Tensorboard.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/tensorboards/[^/]+$", +"required": true, +"type": "string" +}, +"timeSeries": { +"description": "Required. The resource names of the TensorboardTimeSeries to read data from. Format: `projects/{project}/locations/{location}/tensorboards/{tensorboard}/experiments/{experiment}/runs/{run}/timeSeries/{time_series}`", +"location": "query", +"repeated": true, +"type": "string" +} +}, +"path": "v1/{+tensorboard}:batchRead", +"response": { +"$ref": "GoogleCloudAiplatformV1BatchReadTensorboardTimeSeriesDataResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"create": { +"description": "Creates a Tensorboard.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/tensorboards", +"httpMethod": "POST", +"id": "aiplatform.projects.locations.tensorboards.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The resource name of the Location to create the Tensorboard in. Format: `projects/{project}/locations/{location}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/tensorboards", +"request": { +"$ref": "GoogleCloudAiplatformV1Tensorboard" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a Tensorboard.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/tensorboards/{tensorboardsId}", +"httpMethod": "DELETE", +"id": "aiplatform.projects.locations.tensorboards.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the Tensorboard to be deleted. Format: `projects/{project}/locations/{location}/tensorboards/{tensorboard}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/tensorboards/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets a Tensorboard.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/tensorboards/{tensorboardsId}", +"httpMethod": "GET", +"id": "aiplatform.projects.locations.tensorboards.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the Tensorboard resource. Format: `projects/{project}/locations/{location}/tensorboards/{tensorboard}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/tensorboards/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleCloudAiplatformV1Tensorboard" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only" +] +}, +"list": { +"description": "Lists Tensorboards in a Location.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/tensorboards", +"httpMethod": "GET", +"id": "aiplatform.projects.locations.tensorboards.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Lists the Tensorboards that match the filter expression.", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "Field to use to sort the list.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "The maximum number of Tensorboards to return. The service may return fewer than this value. If unspecified, at most 100 Tensorboards are returned. The maximum value is 100; values above 100 are coerced to 100.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A page token, received from a previous TensorboardService.ListTensorboards call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to TensorboardService.ListTensorboards must match the call that provided the page token.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The resource name of the Location to list Tensorboards. Format: `projects/{project}/locations/{location}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +}, +"readMask": { +"description": "Mask specifying which fields to read.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+parent}/tensorboards", +"response": { +"$ref": "GoogleCloudAiplatformV1ListTensorboardsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only" +] +}, +"patch": { +"description": "Updates a Tensorboard.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/tensorboards/{tensorboardsId}", +"httpMethod": "PATCH", +"id": "aiplatform.projects.locations.tensorboards.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Output only. Name of the Tensorboard. Format: `projects/{project}/locations/{location}/tensorboards/{tensorboard}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/tensorboards/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Required. Field mask is used to specify the fields to be overwritten in the Tensorboard resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field is overwritten if it's in the mask. If the user does not provide a mask then all fields are overwritten if new values are specified.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "GoogleCloudAiplatformV1Tensorboard" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"readSize": { +"description": "Returns the storage size for a given TensorBoard instance.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/tensorboards/{tensorboardsId}:readSize", +"httpMethod": "GET", +"id": "aiplatform.projects.locations.tensorboards.readSize", +"parameterOrder": [ +"tensorboard" +], +"parameters": { +"tensorboard": { +"description": "Required. The name of the Tensorboard resource. Format: `projects/{project}/locations/{location}/tensorboards/{tensorboard}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/tensorboards/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+tensorboard}:readSize", +"response": { +"$ref": "GoogleCloudAiplatformV1ReadTensorboardSizeResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"readUsage": { +"description": "Returns a list of monthly active users for a given TensorBoard instance.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/tensorboards/{tensorboardsId}:readUsage", +"httpMethod": "GET", +"id": "aiplatform.projects.locations.tensorboards.readUsage", +"parameterOrder": [ +"tensorboard" +], +"parameters": { +"tensorboard": { +"description": "Required. The name of the Tensorboard resource. Format: `projects/{project}/locations/{location}/tensorboards/{tensorboard}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/tensorboards/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+tensorboard}:readUsage", +"response": { +"$ref": "GoogleCloudAiplatformV1ReadTensorboardUsageResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"experiments": { +"methods": { +"batchCreate": { +"description": "Batch create TensorboardTimeSeries that belong to a TensorboardExperiment.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/tensorboards/{tensorboardsId}/experiments/{experimentsId}:batchCreate", +"httpMethod": "POST", +"id": "aiplatform.projects.locations.tensorboards.experiments.batchCreate", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The resource name of the TensorboardExperiment to create the TensorboardTimeSeries in. Format: `projects/{project}/locations/{location}/tensorboards/{tensorboard}/experiments/{experiment}` The TensorboardRuns referenced by the parent fields in the CreateTensorboardTimeSeriesRequest messages must be sub resources of this TensorboardExperiment.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/tensorboards/[^/]+/experiments/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}:batchCreate", +"request": { +"$ref": "GoogleCloudAiplatformV1BatchCreateTensorboardTimeSeriesRequest" +}, +"response": { +"$ref": "GoogleCloudAiplatformV1BatchCreateTensorboardTimeSeriesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"create": { +"description": "Creates a TensorboardExperiment.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/tensorboards/{tensorboardsId}/experiments", +"httpMethod": "POST", +"id": "aiplatform.projects.locations.tensorboards.experiments.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The resource name of the Tensorboard to create the TensorboardExperiment in. Format: `projects/{project}/locations/{location}/tensorboards/{tensorboard}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/tensorboards/[^/]+$", +"required": true, +"type": "string" +}, +"tensorboardExperimentId": { +"description": "Required. The ID to use for the Tensorboard experiment, which becomes the final component of the Tensorboard experiment's resource name. This value should be 1-128 characters, and valid characters are `/a-z-/`.", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+parent}/experiments", +"request": { +"$ref": "GoogleCloudAiplatformV1TensorboardExperiment" +}, +"response": { +"$ref": "GoogleCloudAiplatformV1TensorboardExperiment" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a TensorboardExperiment.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/tensorboards/{tensorboardsId}/experiments/{experimentsId}", +"httpMethod": "DELETE", +"id": "aiplatform.projects.locations.tensorboards.experiments.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the TensorboardExperiment to be deleted. Format: `projects/{project}/locations/{location}/tensorboards/{tensorboard}/experiments/{experiment}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/tensorboards/[^/]+/experiments/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets a TensorboardExperiment.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/tensorboards/{tensorboardsId}/experiments/{experimentsId}", +"httpMethod": "GET", +"id": "aiplatform.projects.locations.tensorboards.experiments.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the TensorboardExperiment resource. Format: `projects/{project}/locations/{location}/tensorboards/{tensorboard}/experiments/{experiment}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/tensorboards/[^/]+/experiments/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleCloudAiplatformV1TensorboardExperiment" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only" +] +}, +"list": { +"description": "Lists TensorboardExperiments in a Location.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/tensorboards/{tensorboardsId}/experiments", +"httpMethod": "GET", +"id": "aiplatform.projects.locations.tensorboards.experiments.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Lists the TensorboardExperiments that match the filter expression.", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "Field to use to sort the list.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "The maximum number of TensorboardExperiments to return. The service may return fewer than this value. If unspecified, at most 50 TensorboardExperiments are returned. The maximum value is 1000; values above 1000 are coerced to 1000.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A page token, received from a previous TensorboardService.ListTensorboardExperiments call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to TensorboardService.ListTensorboardExperiments must match the call that provided the page token.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The resource name of the Tensorboard to list TensorboardExperiments. Format: `projects/{project}/locations/{location}/tensorboards/{tensorboard}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/tensorboards/[^/]+$", +"required": true, +"type": "string" +}, +"readMask": { +"description": "Mask specifying which fields to read.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+parent}/experiments", +"response": { +"$ref": "GoogleCloudAiplatformV1ListTensorboardExperimentsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only" +] +}, +"patch": { +"description": "Updates a TensorboardExperiment.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/tensorboards/{tensorboardsId}/experiments/{experimentsId}", +"httpMethod": "PATCH", +"id": "aiplatform.projects.locations.tensorboards.experiments.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Output only. Name of the TensorboardExperiment. Format: `projects/{project}/locations/{location}/tensorboards/{tensorboard}/experiments/{experiment}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/tensorboards/[^/]+/experiments/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Required. Field mask is used to specify the fields to be overwritten in the TensorboardExperiment resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field is overwritten if it's in the mask. If the user does not provide a mask then all fields are overwritten if new values are specified.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "GoogleCloudAiplatformV1TensorboardExperiment" +}, +"response": { +"$ref": "GoogleCloudAiplatformV1TensorboardExperiment" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"write": { +"description": "Write time series data points of multiple TensorboardTimeSeries in multiple TensorboardRun's. If any data fail to be ingested, an error is returned.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/tensorboards/{tensorboardsId}/experiments/{experimentsId}:write", +"httpMethod": "POST", +"id": "aiplatform.projects.locations.tensorboards.experiments.write", +"parameterOrder": [ +"tensorboardExperiment" +], +"parameters": { +"tensorboardExperiment": { +"description": "Required. The resource name of the TensorboardExperiment to write data to. Format: `projects/{project}/locations/{location}/tensorboards/{tensorboard}/experiments/{experiment}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/tensorboards/[^/]+/experiments/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+tensorboardExperiment}:write", +"request": { +"$ref": "GoogleCloudAiplatformV1WriteTensorboardExperimentDataRequest" +}, +"response": { +"$ref": "GoogleCloudAiplatformV1WriteTensorboardExperimentDataResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"operations": { +"methods": { +"cancel": { +"description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/tensorboards/{tensorboardsId}/experiments/{experimentsId}/operations/{operationsId}:cancel", +"httpMethod": "POST", +"id": "aiplatform.projects.locations.tensorboards.experiments.operations.cancel", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be cancelled.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/tensorboards/[^/]+/experiments/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:cancel", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/tensorboards/{tensorboardsId}/experiments/{experimentsId}/operations/{operationsId}", +"httpMethod": "DELETE", +"id": "aiplatform.projects.locations.tensorboards.experiments.operations.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be deleted.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/tensorboards/[^/]+/experiments/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/tensorboards/{tensorboardsId}/experiments/{experimentsId}/operations/{operationsId}", +"httpMethod": "GET", +"id": "aiplatform.projects.locations.tensorboards.experiments.operations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/tensorboards/[^/]+/experiments/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/tensorboards/{tensorboardsId}/experiments/{experimentsId}/operations", +"httpMethod": "GET", +"id": "aiplatform.projects.locations.tensorboards.experiments.operations.list", +"parameterOrder": [ +"name" +], +"parameters": { +"filter": { +"description": "The standard list filter.", +"location": "query", +"type": "string" +}, +"name": { +"description": "The name of the operation's parent resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/tensorboards/[^/]+/experiments/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The standard list page size.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The standard list page token.", +"location": "query", +"type": "string" +}, +"returnPartialSuccess": { +"description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `\"projects/example/locations/-\"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1/{+name}/operations", +"response": { +"$ref": "GoogleLongrunningListOperationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"wait": { +"description": "Waits until the specified long-running operation is done or reaches at most a specified timeout, returning the latest state. If the operation is already done, the latest state is immediately returned. If the timeout specified is greater than the default HTTP/RPC timeout, the HTTP/RPC timeout is used. If the server does not support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Note that this method is on a best-effort basis. It may return the latest state before the specified timeout (including immediately), meaning even an immediate response is no guarantee that the operation is done.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/tensorboards/{tensorboardsId}/experiments/{experimentsId}/operations/{operationsId}:wait", +"httpMethod": "POST", +"id": "aiplatform.projects.locations.tensorboards.experiments.operations.wait", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to wait on.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/tensorboards/[^/]+/experiments/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +}, +"timeout": { +"description": "The maximum duration to wait before timing out. If left blank, the wait will be at most the time permitted by the underlying HTTP/RPC protocol. If RPC context deadline is also specified, the shorter one will be used.", +"format": "google-duration", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}:wait", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"runs": { +"methods": { +"batchCreate": { +"description": "Batch create TensorboardRuns.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/tensorboards/{tensorboardsId}/experiments/{experimentsId}/runs:batchCreate", +"httpMethod": "POST", +"id": "aiplatform.projects.locations.tensorboards.experiments.runs.batchCreate", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The resource name of the TensorboardExperiment to create the TensorboardRuns in. Format: `projects/{project}/locations/{location}/tensorboards/{tensorboard}/experiments/{experiment}` The parent field in the CreateTensorboardRunRequest messages must match this field.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/tensorboards/[^/]+/experiments/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/runs:batchCreate", +"request": { +"$ref": "GoogleCloudAiplatformV1BatchCreateTensorboardRunsRequest" +}, +"response": { +"$ref": "GoogleCloudAiplatformV1BatchCreateTensorboardRunsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"create": { +"description": "Creates a TensorboardRun.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/tensorboards/{tensorboardsId}/experiments/{experimentsId}/runs", +"httpMethod": "POST", +"id": "aiplatform.projects.locations.tensorboards.experiments.runs.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The resource name of the TensorboardExperiment to create the TensorboardRun in. Format: `projects/{project}/locations/{location}/tensorboards/{tensorboard}/experiments/{experiment}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/tensorboards/[^/]+/experiments/[^/]+$", +"required": true, +"type": "string" +}, +"tensorboardRunId": { +"description": "Required. The ID to use for the Tensorboard run, which becomes the final component of the Tensorboard run's resource name. This value should be 1-128 characters, and valid characters are `/a-z-/`.", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+parent}/runs", +"request": { +"$ref": "GoogleCloudAiplatformV1TensorboardRun" +}, +"response": { +"$ref": "GoogleCloudAiplatformV1TensorboardRun" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a TensorboardRun.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/tensorboards/{tensorboardsId}/experiments/{experimentsId}/runs/{runsId}", +"httpMethod": "DELETE", +"id": "aiplatform.projects.locations.tensorboards.experiments.runs.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the TensorboardRun to be deleted. Format: `projects/{project}/locations/{location}/tensorboards/{tensorboard}/experiments/{experiment}/runs/{run}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/tensorboards/[^/]+/experiments/[^/]+/runs/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets a TensorboardRun.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/tensorboards/{tensorboardsId}/experiments/{experimentsId}/runs/{runsId}", +"httpMethod": "GET", +"id": "aiplatform.projects.locations.tensorboards.experiments.runs.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the TensorboardRun resource. Format: `projects/{project}/locations/{location}/tensorboards/{tensorboard}/experiments/{experiment}/runs/{run}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/tensorboards/[^/]+/experiments/[^/]+/runs/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleCloudAiplatformV1TensorboardRun" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only" +] +}, +"list": { +"description": "Lists TensorboardRuns in a Location.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/tensorboards/{tensorboardsId}/experiments/{experimentsId}/runs", +"httpMethod": "GET", +"id": "aiplatform.projects.locations.tensorboards.experiments.runs.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Lists the TensorboardRuns that match the filter expression.", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "Field to use to sort the list.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "The maximum number of TensorboardRuns to return. The service may return fewer than this value. If unspecified, at most 50 TensorboardRuns are returned. The maximum value is 1000; values above 1000 are coerced to 1000.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A page token, received from a previous TensorboardService.ListTensorboardRuns call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to TensorboardService.ListTensorboardRuns must match the call that provided the page token.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The resource name of the TensorboardExperiment to list TensorboardRuns. Format: `projects/{project}/locations/{location}/tensorboards/{tensorboard}/experiments/{experiment}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/tensorboards/[^/]+/experiments/[^/]+$", +"required": true, +"type": "string" +}, +"readMask": { +"description": "Mask specifying which fields to read.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+parent}/runs", +"response": { +"$ref": "GoogleCloudAiplatformV1ListTensorboardRunsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only" +] +}, +"patch": { +"description": "Updates a TensorboardRun.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/tensorboards/{tensorboardsId}/experiments/{experimentsId}/runs/{runsId}", +"httpMethod": "PATCH", +"id": "aiplatform.projects.locations.tensorboards.experiments.runs.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Output only. Name of the TensorboardRun. Format: `projects/{project}/locations/{location}/tensorboards/{tensorboard}/experiments/{experiment}/runs/{run}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/tensorboards/[^/]+/experiments/[^/]+/runs/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Required. Field mask is used to specify the fields to be overwritten in the TensorboardRun resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field is overwritten if it's in the mask. If the user does not provide a mask then all fields are overwritten if new values are specified.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "GoogleCloudAiplatformV1TensorboardRun" +}, +"response": { +"$ref": "GoogleCloudAiplatformV1TensorboardRun" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"write": { +"description": "Write time series data points into multiple TensorboardTimeSeries under a TensorboardRun. If any data fail to be ingested, an error is returned.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/tensorboards/{tensorboardsId}/experiments/{experimentsId}/runs/{runsId}:write", +"httpMethod": "POST", +"id": "aiplatform.projects.locations.tensorboards.experiments.runs.write", +"parameterOrder": [ +"tensorboardRun" +], +"parameters": { +"tensorboardRun": { +"description": "Required. The resource name of the TensorboardRun to write data to. Format: `projects/{project}/locations/{location}/tensorboards/{tensorboard}/experiments/{experiment}/runs/{run}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/tensorboards/[^/]+/experiments/[^/]+/runs/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+tensorboardRun}:write", +"request": { +"$ref": "GoogleCloudAiplatformV1WriteTensorboardRunDataRequest" +}, +"response": { +"$ref": "GoogleCloudAiplatformV1WriteTensorboardRunDataResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"operations": { +"methods": { +"cancel": { +"description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/tensorboards/{tensorboardsId}/experiments/{experimentsId}/runs/{runsId}/operations/{operationsId}:cancel", +"httpMethod": "POST", +"id": "aiplatform.projects.locations.tensorboards.experiments.runs.operations.cancel", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be cancelled.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/tensorboards/[^/]+/experiments/[^/]+/runs/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:cancel", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/tensorboards/{tensorboardsId}/experiments/{experimentsId}/runs/{runsId}/operations/{operationsId}", +"httpMethod": "DELETE", +"id": "aiplatform.projects.locations.tensorboards.experiments.runs.operations.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be deleted.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/tensorboards/[^/]+/experiments/[^/]+/runs/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/tensorboards/{tensorboardsId}/experiments/{experimentsId}/runs/{runsId}/operations/{operationsId}", +"httpMethod": "GET", +"id": "aiplatform.projects.locations.tensorboards.experiments.runs.operations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/tensorboards/[^/]+/experiments/[^/]+/runs/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/tensorboards/{tensorboardsId}/experiments/{experimentsId}/runs/{runsId}/operations", +"httpMethod": "GET", +"id": "aiplatform.projects.locations.tensorboards.experiments.runs.operations.list", +"parameterOrder": [ +"name" +], +"parameters": { +"filter": { +"description": "The standard list filter.", +"location": "query", +"type": "string" +}, +"name": { +"description": "The name of the operation's parent resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/tensorboards/[^/]+/experiments/[^/]+/runs/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The standard list page size.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The standard list page token.", +"location": "query", +"type": "string" +}, +"returnPartialSuccess": { +"description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `\"projects/example/locations/-\"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1/{+name}/operations", +"response": { +"$ref": "GoogleLongrunningListOperationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"wait": { +"description": "Waits until the specified long-running operation is done or reaches at most a specified timeout, returning the latest state. If the operation is already done, the latest state is immediately returned. If the timeout specified is greater than the default HTTP/RPC timeout, the HTTP/RPC timeout is used. If the server does not support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Note that this method is on a best-effort basis. It may return the latest state before the specified timeout (including immediately), meaning even an immediate response is no guarantee that the operation is done.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/tensorboards/{tensorboardsId}/experiments/{experimentsId}/runs/{runsId}/operations/{operationsId}:wait", +"httpMethod": "POST", +"id": "aiplatform.projects.locations.tensorboards.experiments.runs.operations.wait", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to wait on.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/tensorboards/[^/]+/experiments/[^/]+/runs/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +}, +"timeout": { +"description": "The maximum duration to wait before timing out. If left blank, the wait will be at most the time permitted by the underlying HTTP/RPC protocol. If RPC context deadline is also specified, the shorter one will be used.", +"format": "google-duration", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}:wait", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"timeSeries": { +"methods": { +"create": { +"description": "Creates a TensorboardTimeSeries.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/tensorboards/{tensorboardsId}/experiments/{experimentsId}/runs/{runsId}/timeSeries", +"httpMethod": "POST", +"id": "aiplatform.projects.locations.tensorboards.experiments.runs.timeSeries.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The resource name of the TensorboardRun to create the TensorboardTimeSeries in. Format: `projects/{project}/locations/{location}/tensorboards/{tensorboard}/experiments/{experiment}/runs/{run}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/tensorboards/[^/]+/experiments/[^/]+/runs/[^/]+$", +"required": true, +"type": "string" +}, +"tensorboardTimeSeriesId": { +"description": "Optional. The user specified unique ID to use for the TensorboardTimeSeries, which becomes the final component of the TensorboardTimeSeries's resource name. This value should match \"a-z0-9{0, 127}\"", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+parent}/timeSeries", +"request": { +"$ref": "GoogleCloudAiplatformV1TensorboardTimeSeries" +}, +"response": { +"$ref": "GoogleCloudAiplatformV1TensorboardTimeSeries" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a TensorboardTimeSeries.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/tensorboards/{tensorboardsId}/experiments/{experimentsId}/runs/{runsId}/timeSeries/{timeSeriesId}", +"httpMethod": "DELETE", +"id": "aiplatform.projects.locations.tensorboards.experiments.runs.timeSeries.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the TensorboardTimeSeries to be deleted. Format: `projects/{project}/locations/{location}/tensorboards/{tensorboard}/experiments/{experiment}/runs/{run}/timeSeries/{time_series}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/tensorboards/[^/]+/experiments/[^/]+/runs/[^/]+/timeSeries/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"exportTensorboardTimeSeries": { +"description": "Exports a TensorboardTimeSeries' data. Data is returned in paginated responses.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/tensorboards/{tensorboardsId}/experiments/{experimentsId}/runs/{runsId}/timeSeries/{timeSeriesId}:exportTensorboardTimeSeries", +"httpMethod": "POST", +"id": "aiplatform.projects.locations.tensorboards.experiments.runs.timeSeries.exportTensorboardTimeSeries", +"parameterOrder": [ +"tensorboardTimeSeries" +], +"parameters": { +"tensorboardTimeSeries": { +"description": "Required. The resource name of the TensorboardTimeSeries to export data from. Format: `projects/{project}/locations/{location}/tensorboards/{tensorboard}/experiments/{experiment}/runs/{run}/timeSeries/{time_series}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/tensorboards/[^/]+/experiments/[^/]+/runs/[^/]+/timeSeries/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+tensorboardTimeSeries}:exportTensorboardTimeSeries", +"request": { +"$ref": "GoogleCloudAiplatformV1ExportTensorboardTimeSeriesDataRequest" +}, +"response": { +"$ref": "GoogleCloudAiplatformV1ExportTensorboardTimeSeriesDataResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets a TensorboardTimeSeries.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/tensorboards/{tensorboardsId}/experiments/{experimentsId}/runs/{runsId}/timeSeries/{timeSeriesId}", +"httpMethod": "GET", +"id": "aiplatform.projects.locations.tensorboards.experiments.runs.timeSeries.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the TensorboardTimeSeries resource. Format: `projects/{project}/locations/{location}/tensorboards/{tensorboard}/experiments/{experiment}/runs/{run}/timeSeries/{time_series}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/tensorboards/[^/]+/experiments/[^/]+/runs/[^/]+/timeSeries/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleCloudAiplatformV1TensorboardTimeSeries" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only" +] +}, +"list": { +"description": "Lists TensorboardTimeSeries in a Location.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/tensorboards/{tensorboardsId}/experiments/{experimentsId}/runs/{runsId}/timeSeries", +"httpMethod": "GET", +"id": "aiplatform.projects.locations.tensorboards.experiments.runs.timeSeries.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Lists the TensorboardTimeSeries that match the filter expression.", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "Field to use to sort the list.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "The maximum number of TensorboardTimeSeries to return. The service may return fewer than this value. If unspecified, at most 50 TensorboardTimeSeries are returned. The maximum value is 1000; values above 1000 are coerced to 1000.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A page token, received from a previous TensorboardService.ListTensorboardTimeSeries call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to TensorboardService.ListTensorboardTimeSeries must match the call that provided the page token.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The resource name of the TensorboardRun to list TensorboardTimeSeries. Format: `projects/{project}/locations/{location}/tensorboards/{tensorboard}/experiments/{experiment}/runs/{run}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/tensorboards/[^/]+/experiments/[^/]+/runs/[^/]+$", +"required": true, +"type": "string" +}, +"readMask": { +"description": "Mask specifying which fields to read.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+parent}/timeSeries", +"response": { +"$ref": "GoogleCloudAiplatformV1ListTensorboardTimeSeriesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only" +] +}, +"patch": { +"description": "Updates a TensorboardTimeSeries.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/tensorboards/{tensorboardsId}/experiments/{experimentsId}/runs/{runsId}/timeSeries/{timeSeriesId}", +"httpMethod": "PATCH", +"id": "aiplatform.projects.locations.tensorboards.experiments.runs.timeSeries.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Output only. Name of the TensorboardTimeSeries.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/tensorboards/[^/]+/experiments/[^/]+/runs/[^/]+/timeSeries/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Required. Field mask is used to specify the fields to be overwritten in the TensorboardTimeSeries resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field is overwritten if it's in the mask. If the user does not provide a mask then all fields are overwritten if new values are specified.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "GoogleCloudAiplatformV1TensorboardTimeSeries" +}, +"response": { +"$ref": "GoogleCloudAiplatformV1TensorboardTimeSeries" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"read": { +"description": "Reads a TensorboardTimeSeries' data. By default, if the number of data points stored is less than 1000, all data is returned. Otherwise, 1000 data points is randomly selected from this time series and returned. This value can be changed by changing max_data_points, which can't be greater than 10k.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/tensorboards/{tensorboardsId}/experiments/{experimentsId}/runs/{runsId}/timeSeries/{timeSeriesId}:read", +"httpMethod": "GET", +"id": "aiplatform.projects.locations.tensorboards.experiments.runs.timeSeries.read", +"parameterOrder": [ +"tensorboardTimeSeries" +], +"parameters": { +"filter": { +"description": "Reads the TensorboardTimeSeries' data that match the filter expression.", +"location": "query", +"type": "string" +}, +"maxDataPoints": { +"description": "The maximum number of TensorboardTimeSeries' data to return. This value should be a positive integer. This value can be set to -1 to return all data.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"tensorboardTimeSeries": { +"description": "Required. The resource name of the TensorboardTimeSeries to read data from. Format: `projects/{project}/locations/{location}/tensorboards/{tensorboard}/experiments/{experiment}/runs/{run}/timeSeries/{time_series}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/tensorboards/[^/]+/experiments/[^/]+/runs/[^/]+/timeSeries/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+tensorboardTimeSeries}:read", +"response": { +"$ref": "GoogleCloudAiplatformV1ReadTensorboardTimeSeriesDataResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only" +] +}, +"readBlobData": { +"description": "Gets bytes of TensorboardBlobs. This is to allow reading blob data stored in consumer project's Cloud Storage bucket without users having to obtain Cloud Storage access permission.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/tensorboards/{tensorboardsId}/experiments/{experimentsId}/runs/{runsId}/timeSeries/{timeSeriesId}:readBlobData", +"httpMethod": "GET", +"id": "aiplatform.projects.locations.tensorboards.experiments.runs.timeSeries.readBlobData", +"parameterOrder": [ +"timeSeries" +], +"parameters": { +"blobIds": { +"description": "IDs of the blobs to read.", +"location": "query", +"repeated": true, +"type": "string" +}, +"timeSeries": { +"description": "Required. The resource name of the TensorboardTimeSeries to list Blobs. Format: `projects/{project}/locations/{location}/tensorboards/{tensorboard}/experiments/{experiment}/runs/{run}/timeSeries/{time_series}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/tensorboards/[^/]+/experiments/[^/]+/runs/[^/]+/timeSeries/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+timeSeries}:readBlobData", +"response": { +"$ref": "GoogleCloudAiplatformV1ReadTensorboardBlobDataResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only" +] +} +}, +"resources": { +"operations": { +"methods": { +"cancel": { +"description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/tensorboards/{tensorboardsId}/experiments/{experimentsId}/runs/{runsId}/timeSeries/{timeSeriesId}/operations/{operationsId}:cancel", +"httpMethod": "POST", +"id": "aiplatform.projects.locations.tensorboards.experiments.runs.timeSeries.operations.cancel", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be cancelled.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/tensorboards/[^/]+/experiments/[^/]+/runs/[^/]+/timeSeries/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:cancel", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/tensorboards/{tensorboardsId}/experiments/{experimentsId}/runs/{runsId}/timeSeries/{timeSeriesId}/operations/{operationsId}", +"httpMethod": "DELETE", +"id": "aiplatform.projects.locations.tensorboards.experiments.runs.timeSeries.operations.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be deleted.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/tensorboards/[^/]+/experiments/[^/]+/runs/[^/]+/timeSeries/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/tensorboards/{tensorboardsId}/experiments/{experimentsId}/runs/{runsId}/timeSeries/{timeSeriesId}/operations/{operationsId}", +"httpMethod": "GET", +"id": "aiplatform.projects.locations.tensorboards.experiments.runs.timeSeries.operations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/tensorboards/[^/]+/experiments/[^/]+/runs/[^/]+/timeSeries/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/tensorboards/{tensorboardsId}/experiments/{experimentsId}/runs/{runsId}/timeSeries/{timeSeriesId}/operations", +"httpMethod": "GET", +"id": "aiplatform.projects.locations.tensorboards.experiments.runs.timeSeries.operations.list", +"parameterOrder": [ +"name" +], +"parameters": { +"filter": { +"description": "The standard list filter.", +"location": "query", +"type": "string" +}, +"name": { +"description": "The name of the operation's parent resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/tensorboards/[^/]+/experiments/[^/]+/runs/[^/]+/timeSeries/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The standard list page size.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The standard list page token.", +"location": "query", +"type": "string" +}, +"returnPartialSuccess": { +"description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `\"projects/example/locations/-\"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1/{+name}/operations", +"response": { +"$ref": "GoogleLongrunningListOperationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"wait": { +"description": "Waits until the specified long-running operation is done or reaches at most a specified timeout, returning the latest state. If the operation is already done, the latest state is immediately returned. If the timeout specified is greater than the default HTTP/RPC timeout, the HTTP/RPC timeout is used. If the server does not support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Note that this method is on a best-effort basis. It may return the latest state before the specified timeout (including immediately), meaning even an immediate response is no guarantee that the operation is done.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/tensorboards/{tensorboardsId}/experiments/{experimentsId}/runs/{runsId}/timeSeries/{timeSeriesId}/operations/{operationsId}:wait", +"httpMethod": "POST", +"id": "aiplatform.projects.locations.tensorboards.experiments.runs.timeSeries.operations.wait", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to wait on.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/tensorboards/[^/]+/experiments/[^/]+/runs/[^/]+/timeSeries/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +}, +"timeout": { +"description": "The maximum duration to wait before timing out. If left blank, the wait will be at most the time permitted by the underlying HTTP/RPC protocol. If RPC context deadline is also specified, the shorter one will be used.", +"format": "google-duration", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}:wait", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +} +} +} +} +}, +"operations": { +"methods": { +"cancel": { +"description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/tensorboards/{tensorboardsId}/operations/{operationsId}:cancel", +"httpMethod": "POST", +"id": "aiplatform.projects.locations.tensorboards.operations.cancel", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be cancelled.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/tensorboards/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:cancel", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/tensorboards/{tensorboardsId}/operations/{operationsId}", +"httpMethod": "DELETE", +"id": "aiplatform.projects.locations.tensorboards.operations.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be deleted.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/tensorboards/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/tensorboards/{tensorboardsId}/operations/{operationsId}", +"httpMethod": "GET", +"id": "aiplatform.projects.locations.tensorboards.operations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/tensorboards/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/tensorboards/{tensorboardsId}/operations", +"httpMethod": "GET", +"id": "aiplatform.projects.locations.tensorboards.operations.list", +"parameterOrder": [ +"name" +], +"parameters": { +"filter": { +"description": "The standard list filter.", +"location": "query", +"type": "string" +}, +"name": { +"description": "The name of the operation's parent resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/tensorboards/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The standard list page size.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The standard list page token.", +"location": "query", +"type": "string" +}, +"returnPartialSuccess": { +"description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `\"projects/example/locations/-\"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1/{+name}/operations", +"response": { +"$ref": "GoogleLongrunningListOperationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"wait": { +"description": "Waits until the specified long-running operation is done or reaches at most a specified timeout, returning the latest state. If the operation is already done, the latest state is immediately returned. If the timeout specified is greater than the default HTTP/RPC timeout, the HTTP/RPC timeout is used. If the server does not support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Note that this method is on a best-effort basis. It may return the latest state before the specified timeout (including immediately), meaning even an immediate response is no guarantee that the operation is done.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/tensorboards/{tensorboardsId}/operations/{operationsId}:wait", +"httpMethod": "POST", +"id": "aiplatform.projects.locations.tensorboards.operations.wait", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to wait on.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/tensorboards/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +}, +"timeout": { +"description": "The maximum duration to wait before timing out. If left blank, the wait will be at most the time permitted by the underlying HTTP/RPC protocol. If RPC context deadline is also specified, the shorter one will be used.", +"format": "google-duration", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}:wait", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +}, +"trainingPipelines": { +"methods": { +"cancel": { +"description": "Cancels a TrainingPipeline. Starts asynchronous cancellation on the TrainingPipeline. The server makes a best effort to cancel the pipeline, but success is not guaranteed. Clients can use PipelineService.GetTrainingPipeline or other methods to check whether the cancellation succeeded or whether the pipeline completed despite cancellation. On successful cancellation, the TrainingPipeline is not deleted; instead it becomes a pipeline with a TrainingPipeline.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`, and TrainingPipeline.state is set to `CANCELLED`.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/trainingPipelines/{trainingPipelinesId}:cancel", +"httpMethod": "POST", +"id": "aiplatform.projects.locations.trainingPipelines.cancel", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the TrainingPipeline to cancel. Format: `projects/{project}/locations/{location}/trainingPipelines/{training_pipeline}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/trainingPipelines/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:cancel", +"request": { +"$ref": "GoogleCloudAiplatformV1CancelTrainingPipelineRequest" +}, +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"create": { +"description": "Creates a TrainingPipeline. A created TrainingPipeline right away will be attempted to be run.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/trainingPipelines", +"httpMethod": "POST", +"id": "aiplatform.projects.locations.trainingPipelines.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The resource name of the Location to create the TrainingPipeline in. Format: `projects/{project}/locations/{location}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/trainingPipelines", +"request": { +"$ref": "GoogleCloudAiplatformV1TrainingPipeline" +}, +"response": { +"$ref": "GoogleCloudAiplatformV1TrainingPipeline" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a TrainingPipeline.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/trainingPipelines/{trainingPipelinesId}", +"httpMethod": "DELETE", +"id": "aiplatform.projects.locations.trainingPipelines.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the TrainingPipeline resource to be deleted. Format: `projects/{project}/locations/{location}/trainingPipelines/{training_pipeline}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/trainingPipelines/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets a TrainingPipeline.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/trainingPipelines/{trainingPipelinesId}", +"httpMethod": "GET", +"id": "aiplatform.projects.locations.trainingPipelines.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the TrainingPipeline resource. Format: `projects/{project}/locations/{location}/trainingPipelines/{training_pipeline}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/trainingPipelines/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleCloudAiplatformV1TrainingPipeline" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists TrainingPipelines in a Location.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/trainingPipelines", +"httpMethod": "GET", +"id": "aiplatform.projects.locations.trainingPipelines.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "The standard list filter. Supported fields: * `display_name` supports `=`, `!=` comparisons, and `:` wildcard. * `state` supports `=`, `!=` comparisons. * `training_task_definition` `=`, `!=` comparisons, and `:` wildcard. * `create_time` supports `=`, `!=`,`<`, `<=`,`>`, `>=` comparisons. `create_time` must be in RFC 3339 format. * `labels` supports general map functions that is: `labels.key=value` - key:value equality `labels.key:* - key existence Some examples of using the filter are: * `state=\"PIPELINE_STATE_SUCCEEDED\" AND display_name:\"my_pipeline_*\"` * `state!=\"PIPELINE_STATE_FAILED\" OR display_name=\"my_pipeline\"` * `NOT display_name=\"my_pipeline\"` * `create_time>\"2021-05-18T00:00:00Z\"` * `training_task_definition:\"*automl_text_classification*\"`", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "The standard list page size.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The standard list page token. Typically obtained via ListTrainingPipelinesResponse.next_page_token of the previous PipelineService.ListTrainingPipelines call.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The resource name of the Location to list the TrainingPipelines from. Format: `projects/{project}/locations/{location}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +}, +"readMask": { +"description": "Mask specifying which fields to read.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+parent}/trainingPipelines", +"response": { +"$ref": "GoogleCloudAiplatformV1ListTrainingPipelinesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"operations": { +"methods": { +"cancel": { +"description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/trainingPipelines/{trainingPipelinesId}/operations/{operationsId}:cancel", +"httpMethod": "POST", +"id": "aiplatform.projects.locations.trainingPipelines.operations.cancel", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be cancelled.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/trainingPipelines/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:cancel", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/trainingPipelines/{trainingPipelinesId}/operations/{operationsId}", +"httpMethod": "DELETE", +"id": "aiplatform.projects.locations.trainingPipelines.operations.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be deleted.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/trainingPipelines/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/trainingPipelines/{trainingPipelinesId}/operations/{operationsId}", +"httpMethod": "GET", +"id": "aiplatform.projects.locations.trainingPipelines.operations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/trainingPipelines/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/trainingPipelines/{trainingPipelinesId}/operations", +"httpMethod": "GET", +"id": "aiplatform.projects.locations.trainingPipelines.operations.list", +"parameterOrder": [ +"name" +], +"parameters": { +"filter": { +"description": "The standard list filter.", +"location": "query", +"type": "string" +}, +"name": { +"description": "The name of the operation's parent resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/trainingPipelines/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The standard list page size.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The standard list page token.", +"location": "query", +"type": "string" +}, +"returnPartialSuccess": { +"description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `\"projects/example/locations/-\"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1/{+name}/operations", +"response": { +"$ref": "GoogleLongrunningListOperationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"wait": { +"description": "Waits until the specified long-running operation is done or reaches at most a specified timeout, returning the latest state. If the operation is already done, the latest state is immediately returned. If the timeout specified is greater than the default HTTP/RPC timeout, the HTTP/RPC timeout is used. If the server does not support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Note that this method is on a best-effort basis. It may return the latest state before the specified timeout (including immediately), meaning even an immediate response is no guarantee that the operation is done.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/trainingPipelines/{trainingPipelinesId}/operations/{operationsId}:wait", +"httpMethod": "POST", +"id": "aiplatform.projects.locations.trainingPipelines.operations.wait", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to wait on.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/trainingPipelines/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +}, +"timeout": { +"description": "The maximum duration to wait before timing out. If left blank, the wait will be at most the time permitted by the underlying HTTP/RPC protocol. If RPC context deadline is also specified, the shorter one will be used.", +"format": "google-duration", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}:wait", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +}, +"tuningJobs": { +"methods": { +"cancel": { +"description": "Cancels a tuning job. Starts an asynchronous cancellation request. The server makes a best effort to cancel the job, but success is not guaranteed. Clients can use GenAiTuningService.GetTuningJob or other methods to check whether the cancellation succeeded or whether the job completed despite cancellation. On successful cancellation, the tuning job is not deleted. Instead, its state is set to `CANCELLED`, and `error` is set to a status with a `google.rpc.Status.code` of 1, corresponding to `Code.CANCELLED`.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/tuningJobs/{tuningJobsId}:cancel", +"httpMethod": "POST", +"id": "aiplatform.projects.locations.tuningJobs.cancel", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the tuning job to cancel. Format: `projects/{project}/locations/{location}/tuningJobs/{tuning_job}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/tuningJobs/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:cancel", +"request": { +"$ref": "GoogleCloudAiplatformV1CancelTuningJobRequest" +}, +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"create": { +"description": "Creates a tuning job. A created tuning job will be subsequently executed to start the model tuning process.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/tuningJobs", +"httpMethod": "POST", +"id": "aiplatform.projects.locations.tuningJobs.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The resource name of the location to create the tuning job in. Format: `projects/{project}/locations/{location}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/tuningJobs", +"request": { +"$ref": "GoogleCloudAiplatformV1TuningJob" +}, +"response": { +"$ref": "GoogleCloudAiplatformV1TuningJob" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets a tuning job.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/tuningJobs/{tuningJobsId}", +"httpMethod": "GET", +"id": "aiplatform.projects.locations.tuningJobs.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the tuning job to retrieve. Format: `projects/{project}/locations/{location}/tuningJobs/{tuning_job}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/tuningJobs/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleCloudAiplatformV1TuningJob" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists tuning jobs in a location.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/tuningJobs", +"httpMethod": "GET", +"id": "aiplatform.projects.locations.tuningJobs.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Optional. The standard list filter.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Optional. The standard list page size.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. The standard list page token. Typically obtained from ListTuningJobsResponse.next_page_token of the previous GenAiTuningService.ListTuningJobs call.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The resource name of the location to list the tuning jobs from. Format: `projects/{project}/locations/{location}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/tuningJobs", +"response": { +"$ref": "GoogleCloudAiplatformV1ListTuningJobsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"rebaseTunedModel": { +"description": "Rebase a tuned model. A rebase operation takes a model that was previously tuned on a base model version, and retunes it on a new base model version. The rebase operation creates a new tuning job and a new tuned model.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/tuningJobs:rebaseTunedModel", +"httpMethod": "POST", +"id": "aiplatform.projects.locations.tuningJobs.rebaseTunedModel", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The resource name of the location in which to rebase the Model. Format: `projects/{project}/locations/{location}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/tuningJobs:rebaseTunedModel", +"request": { +"$ref": "GoogleCloudAiplatformV1RebaseTunedModelRequest" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"operations": { +"methods": { +"cancel": { +"description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/tuningJobs/{tuningJobsId}/operations/{operationsId}:cancel", +"httpMethod": "POST", +"id": "aiplatform.projects.locations.tuningJobs.operations.cancel", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be cancelled.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/tuningJobs/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:cancel", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/tuningJobs/{tuningJobsId}/operations/{operationsId}", +"httpMethod": "DELETE", +"id": "aiplatform.projects.locations.tuningJobs.operations.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be deleted.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/tuningJobs/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/tuningJobs/{tuningJobsId}/operations/{operationsId}", +"httpMethod": "GET", +"id": "aiplatform.projects.locations.tuningJobs.operations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/tuningJobs/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/tuningJobs/{tuningJobsId}/operations", +"httpMethod": "GET", +"id": "aiplatform.projects.locations.tuningJobs.operations.list", +"parameterOrder": [ +"name" +], +"parameters": { +"filter": { +"description": "The standard list filter.", +"location": "query", +"type": "string" +}, +"name": { +"description": "The name of the operation's parent resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/tuningJobs/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The standard list page size.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The standard list page token.", +"location": "query", +"type": "string" +}, +"returnPartialSuccess": { +"description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `\"projects/example/locations/-\"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1/{+name}/operations", +"response": { +"$ref": "GoogleLongrunningListOperationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +} +} +} +} +}, +"publishers": { +"resources": { +"models": { +"methods": { +"computeTokens": { +"description": "Return a list of tokens based on the input text.", +"flatPath": "v1/publishers/{publishersId}/models/{modelsId}:computeTokens", +"httpMethod": "POST", +"id": "aiplatform.publishers.models.computeTokens", +"parameterOrder": [ +"endpoint" +], +"parameters": { +"endpoint": { +"description": "Required. The name of the Endpoint requested to get lists of tokens and token ids.", +"location": "path", +"pattern": "^publishers/[^/]+/models/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+endpoint}:computeTokens", +"request": { +"$ref": "GoogleCloudAiplatformV1ComputeTokensRequest" +}, +"response": { +"$ref": "GoogleCloudAiplatformV1ComputeTokensResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"countTokens": { +"description": "Perform a token counting.", +"flatPath": "v1/publishers/{publishersId}/models/{modelsId}:countTokens", +"httpMethod": "POST", +"id": "aiplatform.publishers.models.countTokens", +"parameterOrder": [ +"endpoint" +], +"parameters": { +"endpoint": { +"description": "Required. The name of the Endpoint requested to perform token counting. Format: `projects/{project}/locations/{location}/endpoints/{endpoint}`", +"location": "path", +"pattern": "^publishers/[^/]+/models/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+endpoint}:countTokens", +"request": { +"$ref": "GoogleCloudAiplatformV1CountTokensRequest" +}, +"response": { +"$ref": "GoogleCloudAiplatformV1CountTokensResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"fetchPredictOperation": { +"description": "Fetch an asynchronous online prediction operation.", +"flatPath": "v1/publishers/{publishersId}/models/{modelsId}:fetchPredictOperation", +"httpMethod": "POST", +"id": "aiplatform.publishers.models.fetchPredictOperation", +"parameterOrder": [ +"endpoint" +], +"parameters": { +"endpoint": { +"description": "Required. The name of the Endpoint requested to serve the prediction. Format: `projects/{project}/locations/{location}/endpoints/{endpoint}` or `projects/{project}/locations/{location}/publishers/{publisher}/models/{model}`", +"location": "path", +"pattern": "^publishers/[^/]+/models/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+endpoint}:fetchPredictOperation", +"request": { +"$ref": "GoogleCloudAiplatformV1FetchPredictOperationRequest" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only" +] +}, +"generateContent": { +"description": "Generate content with multimodal inputs.", +"flatPath": "v1/publishers/{publishersId}/models/{modelsId}:generateContent", +"httpMethod": "POST", +"id": "aiplatform.publishers.models.generateContent", +"parameterOrder": [ +"model" +], +"parameters": { +"model": { +"description": "Required. The fully qualified name of the publisher model or tuned model endpoint to use. Publisher model format: `projects/{project}/locations/{location}/publishers/*/models/*` Tuned model endpoint format: `projects/{project}/locations/{location}/endpoints/{endpoint}`", +"location": "path", +"pattern": "^publishers/[^/]+/models/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+model}:generateContent", +"request": { +"$ref": "GoogleCloudAiplatformV1GenerateContentRequest" +}, +"response": { +"$ref": "GoogleCloudAiplatformV1GenerateContentResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only" +] +}, +"get": { +"description": "Gets a Model Garden publisher model.", +"flatPath": "v1/publishers/{publishersId}/models/{modelsId}", +"httpMethod": "GET", +"id": "aiplatform.publishers.models.get", +"parameterOrder": [ +"name" +], +"parameters": { +"huggingFaceToken": { +"description": "Optional. Token used to access Hugging Face gated models.", +"location": "query", +"type": "string" +}, +"isHuggingFaceModel": { +"description": "Optional. Boolean indicates whether the requested model is a Hugging Face model.", +"location": "query", +"type": "boolean" +}, +"languageCode": { +"description": "Optional. The IETF BCP-47 language code representing the language in which the publisher model's text information should be written in.", +"location": "query", +"type": "string" +}, +"name": { +"description": "Required. The name of the PublisherModel resource. Format: `publishers/{publisher}/models/{publisher_model}`", +"location": "path", +"pattern": "^publishers/[^/]+/models/[^/]+$", +"required": true, +"type": "string" +}, +"view": { +"description": "Optional. PublisherModel view specifying which fields to read.", +"enum": [ +"PUBLISHER_MODEL_VIEW_UNSPECIFIED", +"PUBLISHER_MODEL_VIEW_BASIC", +"PUBLISHER_MODEL_VIEW_FULL", +"PUBLISHER_MODEL_VERSION_VIEW_BASIC" +], +"enumDescriptions": [ +"The default / unset value. The API will default to the BASIC view.", +"Include basic metadata about the publisher model, but not the full contents.", +"Include everything.", +"Include: VersionId, ModelVersionExternalName, and SupportedActions." +], +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleCloudAiplatformV1PublisherModel" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"predict": { +"description": "Perform an online prediction.", +"flatPath": "v1/publishers/{publishersId}/models/{modelsId}:predict", +"httpMethod": "POST", +"id": "aiplatform.publishers.models.predict", +"parameterOrder": [ +"endpoint" +], +"parameters": { +"endpoint": { +"description": "Required. The name of the Endpoint requested to serve the prediction. Format: `projects/{project}/locations/{location}/endpoints/{endpoint}`", +"location": "path", +"pattern": "^publishers/[^/]+/models/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+endpoint}:predict", +"request": { +"$ref": "GoogleCloudAiplatformV1PredictRequest" +}, +"response": { +"$ref": "GoogleCloudAiplatformV1PredictResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only" +] +}, +"predictLongRunning": { +"description": "", +"flatPath": "v1/publishers/{publishersId}/models/{modelsId}:predictLongRunning", +"httpMethod": "POST", +"id": "aiplatform.publishers.models.predictLongRunning", +"parameterOrder": [ +"endpoint" +], +"parameters": { +"endpoint": { +"description": "Required. The name of the Endpoint requested to serve the prediction. Format: `projects/{project}/locations/{location}/endpoints/{endpoint}` or `projects/{project}/locations/{location}/publishers/{publisher}/models/{model}`", +"location": "path", +"pattern": "^publishers/[^/]+/models/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+endpoint}:predictLongRunning", +"request": { +"$ref": "GoogleCloudAiplatformV1PredictLongRunningRequest" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only" +] +}, +"streamGenerateContent": { +"description": "Generate content with multimodal inputs with streaming support.", +"flatPath": "v1/publishers/{publishersId}/models/{modelsId}:streamGenerateContent", +"httpMethod": "POST", +"id": "aiplatform.publishers.models.streamGenerateContent", +"parameterOrder": [ +"model" +], +"parameters": { +"model": { +"description": "Required. The fully qualified name of the publisher model or tuned model endpoint to use. Publisher model format: `projects/{project}/locations/{location}/publishers/*/models/*` Tuned model endpoint format: `projects/{project}/locations/{location}/endpoints/{endpoint}`", +"location": "path", +"pattern": "^publishers/[^/]+/models/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+model}:streamGenerateContent", +"request": { +"$ref": "GoogleCloudAiplatformV1GenerateContentRequest" +}, +"response": { +"$ref": "GoogleCloudAiplatformV1GenerateContentResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only" +] +} +} +} +} +}, +"ragCorpora": { +"resources": { +"operations": { +"methods": { +"cancel": { +"description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.", +"flatPath": "v1/ragCorpora/{ragCorporaId}/operations/{operationsId}:cancel", +"httpMethod": "POST", +"id": "aiplatform.ragCorpora.operations.cancel", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be cancelled.", +"location": "path", +"pattern": "^ragCorpora/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:cancel", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.", +"flatPath": "v1/ragCorpora/{ragCorporaId}/operations/{operationsId}", +"httpMethod": "DELETE", +"id": "aiplatform.ragCorpora.operations.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be deleted.", +"location": "path", +"pattern": "^ragCorpora/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", +"flatPath": "v1/ragCorpora/{ragCorporaId}/operations/{operationsId}", +"httpMethod": "GET", +"id": "aiplatform.ragCorpora.operations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource.", +"location": "path", +"pattern": "^ragCorpora/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.", +"flatPath": "v1/ragCorpora/{ragCorporaId}/operations", +"httpMethod": "GET", +"id": "aiplatform.ragCorpora.operations.list", +"parameterOrder": [ +"name" +], +"parameters": { +"filter": { +"description": "The standard list filter.", +"location": "query", +"type": "string" +}, +"name": { +"description": "The name of the operation's parent resource.", +"location": "path", +"pattern": "^ragCorpora/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The standard list page size.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The standard list page token.", +"location": "query", +"type": "string" +}, +"returnPartialSuccess": { +"description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `\"projects/example/locations/-\"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1/{+name}/operations", +"response": { +"$ref": "GoogleLongrunningListOperationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"wait": { +"description": "Waits until the specified long-running operation is done or reaches at most a specified timeout, returning the latest state. If the operation is already done, the latest state is immediately returned. If the timeout specified is greater than the default HTTP/RPC timeout, the HTTP/RPC timeout is used. If the server does not support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Note that this method is on a best-effort basis. It may return the latest state before the specified timeout (including immediately), meaning even an immediate response is no guarantee that the operation is done.", +"flatPath": "v1/ragCorpora/{ragCorporaId}/operations/{operationsId}:wait", +"httpMethod": "POST", +"id": "aiplatform.ragCorpora.operations.wait", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to wait on.", +"location": "path", +"pattern": "^ragCorpora/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +}, +"timeout": { +"description": "The maximum duration to wait before timing out. If left blank, the wait will be at most the time permitted by the underlying HTTP/RPC protocol. If RPC context deadline is also specified, the shorter one will be used.", +"format": "google-duration", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}:wait", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"ragFiles": { +"resources": { +"operations": { +"methods": { +"cancel": { +"description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.", +"flatPath": "v1/ragCorpora/{ragCorporaId}/ragFiles/{ragFilesId}/operations/{operationsId}:cancel", +"httpMethod": "POST", +"id": "aiplatform.ragCorpora.ragFiles.operations.cancel", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be cancelled.", +"location": "path", +"pattern": "^ragCorpora/[^/]+/ragFiles/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:cancel", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.", +"flatPath": "v1/ragCorpora/{ragCorporaId}/ragFiles/{ragFilesId}/operations/{operationsId}", +"httpMethod": "DELETE", +"id": "aiplatform.ragCorpora.ragFiles.operations.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be deleted.", +"location": "path", +"pattern": "^ragCorpora/[^/]+/ragFiles/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", +"flatPath": "v1/ragCorpora/{ragCorporaId}/ragFiles/{ragFilesId}/operations/{operationsId}", +"httpMethod": "GET", +"id": "aiplatform.ragCorpora.ragFiles.operations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource.", +"location": "path", +"pattern": "^ragCorpora/[^/]+/ragFiles/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.", +"flatPath": "v1/ragCorpora/{ragCorporaId}/ragFiles/{ragFilesId}/operations", +"httpMethod": "GET", +"id": "aiplatform.ragCorpora.ragFiles.operations.list", +"parameterOrder": [ +"name" +], +"parameters": { +"filter": { +"description": "The standard list filter.", +"location": "query", +"type": "string" +}, +"name": { +"description": "The name of the operation's parent resource.", +"location": "path", +"pattern": "^ragCorpora/[^/]+/ragFiles/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The standard list page size.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The standard list page token.", +"location": "query", +"type": "string" +}, +"returnPartialSuccess": { +"description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `\"projects/example/locations/-\"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1/{+name}/operations", +"response": { +"$ref": "GoogleLongrunningListOperationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"wait": { +"description": "Waits until the specified long-running operation is done or reaches at most a specified timeout, returning the latest state. If the operation is already done, the latest state is immediately returned. If the timeout specified is greater than the default HTTP/RPC timeout, the HTTP/RPC timeout is used. If the server does not support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Note that this method is on a best-effort basis. It may return the latest state before the specified timeout (including immediately), meaning even an immediate response is no guarantee that the operation is done.", +"flatPath": "v1/ragCorpora/{ragCorporaId}/ragFiles/{ragFilesId}/operations/{operationsId}:wait", +"httpMethod": "POST", +"id": "aiplatform.ragCorpora.ragFiles.operations.wait", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to wait on.", +"location": "path", +"pattern": "^ragCorpora/[^/]+/ragFiles/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +}, +"timeout": { +"description": "The maximum duration to wait before timing out. If left blank, the wait will be at most the time permitted by the underlying HTTP/RPC protocol. If RPC context deadline is also specified, the shorter one will be used.", +"format": "google-duration", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}:wait", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +} +} +}, +"ragEngineConfig": { +"resources": { +"operations": { +"methods": { +"cancel": { +"description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.", +"flatPath": "v1/ragEngineConfig/operations/{operationsId}:cancel", +"httpMethod": "POST", +"id": "aiplatform.ragEngineConfig.operations.cancel", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be cancelled.", +"location": "path", +"pattern": "^ragEngineConfig/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:cancel", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.", +"flatPath": "v1/ragEngineConfig/operations/{operationsId}", +"httpMethod": "DELETE", +"id": "aiplatform.ragEngineConfig.operations.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be deleted.", +"location": "path", +"pattern": "^ragEngineConfig/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", +"flatPath": "v1/ragEngineConfig/operations/{operationsId}", +"httpMethod": "GET", +"id": "aiplatform.ragEngineConfig.operations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource.", +"location": "path", +"pattern": "^ragEngineConfig/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.", +"flatPath": "v1/ragEngineConfig/operations", +"httpMethod": "GET", +"id": "aiplatform.ragEngineConfig.operations.list", +"parameterOrder": [ +"name" +], +"parameters": { +"filter": { +"description": "The standard list filter.", +"location": "query", +"type": "string" +}, +"name": { +"description": "The name of the operation's parent resource.", +"location": "path", +"pattern": "^ragEngineConfig$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The standard list page size.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The standard list page token.", +"location": "query", +"type": "string" +}, +"returnPartialSuccess": { +"description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `\"projects/example/locations/-\"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1/{+name}/operations", +"response": { +"$ref": "GoogleLongrunningListOperationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"wait": { +"description": "Waits until the specified long-running operation is done or reaches at most a specified timeout, returning the latest state. If the operation is already done, the latest state is immediately returned. If the timeout specified is greater than the default HTTP/RPC timeout, the HTTP/RPC timeout is used. If the server does not support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Note that this method is on a best-effort basis. It may return the latest state before the specified timeout (including immediately), meaning even an immediate response is no guarantee that the operation is done.", +"flatPath": "v1/ragEngineConfig/operations/{operationsId}:wait", +"httpMethod": "POST", +"id": "aiplatform.ragEngineConfig.operations.wait", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to wait on.", +"location": "path", +"pattern": "^ragEngineConfig/operations/[^/]+$", +"required": true, +"type": "string" +}, +"timeout": { +"description": "The maximum duration to wait before timing out. If left blank, the wait will be at most the time permitted by the underlying HTTP/RPC protocol. If RPC context deadline is also specified, the shorter one will be used.", +"format": "google-duration", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}:wait", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +}, +"reasoningEngines": { +"methods": { +"create": { +"description": "Creates a reasoning engine.", +"flatPath": "v1/reasoningEngines", +"httpMethod": "POST", +"id": "aiplatform.reasoningEngines.create", +"parameterOrder": [], +"parameters": { +"parent": { +"description": "Required. The resource name of the Location to create the ReasoningEngine in. Format: `projects/{project}/locations/{location}`", +"location": "query", +"type": "string" +} +}, +"path": "v1/reasoningEngines", +"request": { +"$ref": "GoogleCloudAiplatformV1ReasoningEngine" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a reasoning engine.", +"flatPath": "v1/reasoningEngines/{reasoningEnginesId}", +"httpMethod": "DELETE", +"id": "aiplatform.reasoningEngines.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"force": { +"description": "Optional. If set to true, child resources of this reasoning engine will also be deleted. Otherwise, the request will fail with FAILED_PRECONDITION error when the reasoning engine has undeleted child resources.", +"location": "query", +"type": "boolean" +}, +"name": { +"description": "Required. The name of the ReasoningEngine resource to be deleted. Format: `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}`", +"location": "path", +"pattern": "^reasoningEngines/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"executeCode": { +"description": "Executes code statelessly.", +"flatPath": "v1/reasoningEngines/{reasoningEnginesId}:executeCode", +"httpMethod": "POST", +"id": "aiplatform.reasoningEngines.executeCode", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the sandbox environment to execute. Format: `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}`", +"location": "path", +"pattern": "^reasoningEngines/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:executeCode", +"request": { +"$ref": "GoogleCloudAiplatformV1ExecuteCodeRequest" +}, +"response": { +"$ref": "GoogleCloudAiplatformV1ExecuteCodeResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets a reasoning engine.", +"flatPath": "v1/reasoningEngines/{reasoningEnginesId}", +"httpMethod": "GET", +"id": "aiplatform.reasoningEngines.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the ReasoningEngine resource. Format: `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}`", +"location": "path", +"pattern": "^reasoningEngines/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleCloudAiplatformV1ReasoningEngine" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists reasoning engines in a location.", +"flatPath": "v1/reasoningEngines", +"httpMethod": "GET", +"id": "aiplatform.reasoningEngines.list", +"parameterOrder": [], +"parameters": { +"filter": { +"description": "Optional. The standard list filter. More detail in [AIP-160](https://google.aip.dev/160).", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Optional. The standard list page size.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. The standard list page token.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The resource name of the Location to list the ReasoningEngines from. Format: `projects/{project}/locations/{location}`", +"location": "query", +"type": "string" +} +}, +"path": "v1/reasoningEngines", +"response": { +"$ref": "GoogleCloudAiplatformV1ListReasoningEnginesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates a reasoning engine.", +"flatPath": "v1/reasoningEngines/{reasoningEnginesId}", +"httpMethod": "PATCH", +"id": "aiplatform.reasoningEngines.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Identifier. The resource name of the ReasoningEngine. Format: `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}`", +"location": "path", +"pattern": "^reasoningEngines/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Optional. Mask specifying which fields to update.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "GoogleCloudAiplatformV1ReasoningEngine" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"query": { +"description": "Queries using a reasoning engine.", +"flatPath": "v1/reasoningEngines/{reasoningEnginesId}:query", +"httpMethod": "POST", +"id": "aiplatform.reasoningEngines.query", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the ReasoningEngine resource to use. Format: `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}`", +"location": "path", +"pattern": "^reasoningEngines/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:query", +"request": { +"$ref": "GoogleCloudAiplatformV1QueryReasoningEngineRequest" +}, +"response": { +"$ref": "GoogleCloudAiplatformV1QueryReasoningEngineResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"streamQuery": { +"description": "Streams queries using a reasoning engine.", +"flatPath": "v1/reasoningEngines/{reasoningEnginesId}:streamQuery", +"httpMethod": "POST", +"id": "aiplatform.reasoningEngines.streamQuery", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the ReasoningEngine resource to use. Format: `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}`", +"location": "path", +"pattern": "^reasoningEngines/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:streamQuery", +"request": { +"$ref": "GoogleCloudAiplatformV1StreamQueryReasoningEngineRequest" +}, +"response": { +"$ref": "GoogleApiHttpBody" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"memories": { +"resources": { +"operations": { +"methods": { +"cancel": { +"description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.", +"flatPath": "v1/reasoningEngines/{reasoningEnginesId}/memories/{memoriesId}/operations/{operationsId}:cancel", +"httpMethod": "POST", +"id": "aiplatform.reasoningEngines.memories.operations.cancel", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be cancelled.", +"location": "path", +"pattern": "^reasoningEngines/[^/]+/memories/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:cancel", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.", +"flatPath": "v1/reasoningEngines/{reasoningEnginesId}/memories/{memoriesId}/operations/{operationsId}", +"httpMethod": "DELETE", +"id": "aiplatform.reasoningEngines.memories.operations.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be deleted.", +"location": "path", +"pattern": "^reasoningEngines/[^/]+/memories/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", +"flatPath": "v1/reasoningEngines/{reasoningEnginesId}/memories/{memoriesId}/operations/{operationsId}", +"httpMethod": "GET", +"id": "aiplatform.reasoningEngines.memories.operations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource.", +"location": "path", +"pattern": "^reasoningEngines/[^/]+/memories/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.", +"flatPath": "v1/reasoningEngines/{reasoningEnginesId}/memories/{memoriesId}/operations", +"httpMethod": "GET", +"id": "aiplatform.reasoningEngines.memories.operations.list", +"parameterOrder": [ +"name" +], +"parameters": { +"filter": { +"description": "The standard list filter.", +"location": "query", +"type": "string" +}, +"name": { +"description": "The name of the operation's parent resource.", +"location": "path", +"pattern": "^reasoningEngines/[^/]+/memories/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The standard list page size.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The standard list page token.", +"location": "query", +"type": "string" +}, +"returnPartialSuccess": { +"description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `\"projects/example/locations/-\"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1/{+name}/operations", +"response": { +"$ref": "GoogleLongrunningListOperationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"wait": { +"description": "Waits until the specified long-running operation is done or reaches at most a specified timeout, returning the latest state. If the operation is already done, the latest state is immediately returned. If the timeout specified is greater than the default HTTP/RPC timeout, the HTTP/RPC timeout is used. If the server does not support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Note that this method is on a best-effort basis. It may return the latest state before the specified timeout (including immediately), meaning even an immediate response is no guarantee that the operation is done.", +"flatPath": "v1/reasoningEngines/{reasoningEnginesId}/memories/{memoriesId}/operations/{operationsId}:wait", +"httpMethod": "POST", +"id": "aiplatform.reasoningEngines.memories.operations.wait", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to wait on.", +"location": "path", +"pattern": "^reasoningEngines/[^/]+/memories/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +}, +"timeout": { +"description": "The maximum duration to wait before timing out. If left blank, the wait will be at most the time permitted by the underlying HTTP/RPC protocol. If RPC context deadline is also specified, the shorter one will be used.", +"format": "google-duration", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}:wait", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +}, +"operations": { +"methods": { +"cancel": { +"description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.", +"flatPath": "v1/reasoningEngines/{reasoningEnginesId}/operations/{operationsId}:cancel", +"httpMethod": "POST", +"id": "aiplatform.reasoningEngines.operations.cancel", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be cancelled.", +"location": "path", +"pattern": "^reasoningEngines/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:cancel", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.", +"flatPath": "v1/reasoningEngines/{reasoningEnginesId}/operations/{operationsId}", +"httpMethod": "DELETE", +"id": "aiplatform.reasoningEngines.operations.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be deleted.", +"location": "path", +"pattern": "^reasoningEngines/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", +"flatPath": "v1/reasoningEngines/{reasoningEnginesId}/operations/{operationsId}", +"httpMethod": "GET", +"id": "aiplatform.reasoningEngines.operations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource.", +"location": "path", +"pattern": "^reasoningEngines/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.", +"flatPath": "v1/reasoningEngines/{reasoningEnginesId}/operations", +"httpMethod": "GET", +"id": "aiplatform.reasoningEngines.operations.list", +"parameterOrder": [ +"name" +], +"parameters": { +"filter": { +"description": "The standard list filter.", +"location": "query", +"type": "string" +}, +"name": { +"description": "The name of the operation's parent resource.", +"location": "path", +"pattern": "^reasoningEngines/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The standard list page size.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The standard list page token.", +"location": "query", +"type": "string" +}, +"returnPartialSuccess": { +"description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `\"projects/example/locations/-\"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1/{+name}/operations", +"response": { +"$ref": "GoogleLongrunningListOperationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"wait": { +"description": "Waits until the specified long-running operation is done or reaches at most a specified timeout, returning the latest state. If the operation is already done, the latest state is immediately returned. If the timeout specified is greater than the default HTTP/RPC timeout, the HTTP/RPC timeout is used. If the server does not support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Note that this method is on a best-effort basis. It may return the latest state before the specified timeout (including immediately), meaning even an immediate response is no guarantee that the operation is done.", +"flatPath": "v1/reasoningEngines/{reasoningEnginesId}/operations/{operationsId}:wait", +"httpMethod": "POST", +"id": "aiplatform.reasoningEngines.operations.wait", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to wait on.", +"location": "path", +"pattern": "^reasoningEngines/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +}, +"timeout": { +"description": "The maximum duration to wait before timing out. If left blank, the wait will be at most the time permitted by the underlying HTTP/RPC protocol. If RPC context deadline is also specified, the shorter one will be used.", +"format": "google-duration", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}:wait", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"sandboxEnvironments": { +"methods": { +"create": { +"description": "Creates a SandboxEnvironment in a given reasoning engine.", +"flatPath": "v1/reasoningEngines/{reasoningEnginesId}/sandboxEnvironments", +"httpMethod": "POST", +"id": "aiplatform.reasoningEngines.sandboxEnvironments.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The resource name of the reasoning engine to create the SandboxEnvironment in. Format: `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}`.", +"location": "path", +"pattern": "^reasoningEngines/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/sandboxEnvironments", +"request": { +"$ref": "GoogleCloudAiplatformV1SandboxEnvironment" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes the specific SandboxEnvironment.", +"flatPath": "v1/reasoningEngines/{reasoningEnginesId}/sandboxEnvironments/{sandboxEnvironmentsId}", +"httpMethod": "DELETE", +"id": "aiplatform.reasoningEngines.sandboxEnvironments.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the SandboxEnvironment to delete. Format: `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}/sandboxEnvironments/{sandbox_environment}`", +"location": "path", +"pattern": "^reasoningEngines/[^/]+/sandboxEnvironments/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"execute": { +"description": "Executes using a sandbox environment.", +"flatPath": "v1/reasoningEngines/{reasoningEnginesId}/sandboxEnvironments/{sandboxEnvironmentsId}:execute", +"httpMethod": "POST", +"id": "aiplatform.reasoningEngines.sandboxEnvironments.execute", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the sandbox environment to execute. Format: `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}/sandboxEnvironments/{sandbox_environment}`", +"location": "path", +"pattern": "^reasoningEngines/[^/]+/sandboxEnvironments/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:execute", +"request": { +"$ref": "GoogleCloudAiplatformV1ExecuteSandboxEnvironmentRequest" +}, +"response": { +"$ref": "GoogleCloudAiplatformV1ExecuteSandboxEnvironmentResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets details of the specific SandboxEnvironment.", +"flatPath": "v1/reasoningEngines/{reasoningEnginesId}/sandboxEnvironments/{sandboxEnvironmentsId}", +"httpMethod": "GET", +"id": "aiplatform.reasoningEngines.sandboxEnvironments.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the sandbox environment. Format: `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}/sandboxEnvironments/{sandbox_environment}`", +"location": "path", +"pattern": "^reasoningEngines/[^/]+/sandboxEnvironments/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleCloudAiplatformV1SandboxEnvironment" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists SandboxEnvironments in a given reasoning engine.", +"flatPath": "v1/reasoningEngines/{reasoningEnginesId}/sandboxEnvironments", +"httpMethod": "GET", +"id": "aiplatform.reasoningEngines.sandboxEnvironments.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Optional. The standard list filter. More detail in [AIP-160](https://google.aip.dev/160).", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Optional. The maximum number of SandboxEnvironments to return. The service may return fewer than this value. If unspecified, at most 100 SandboxEnvironments will be returned.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. The standard list page token, received from a previous `ListSandboxEnvironments` call. Provide this to retrieve the subsequent page.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The resource name of the reasoning engine to list sandbox environments from. Format: `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}`", +"location": "path", +"pattern": "^reasoningEngines/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/sandboxEnvironments", +"response": { +"$ref": "GoogleCloudAiplatformV1ListSandboxEnvironmentsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"operations": { +"methods": { +"cancel": { +"description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.", +"flatPath": "v1/reasoningEngines/{reasoningEnginesId}/sandboxEnvironments/{sandboxEnvironmentsId}/operations/{operationsId}:cancel", +"httpMethod": "POST", +"id": "aiplatform.reasoningEngines.sandboxEnvironments.operations.cancel", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be cancelled.", +"location": "path", +"pattern": "^reasoningEngines/[^/]+/sandboxEnvironments/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:cancel", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.", +"flatPath": "v1/reasoningEngines/{reasoningEnginesId}/sandboxEnvironments/{sandboxEnvironmentsId}/operations/{operationsId}", +"httpMethod": "DELETE", +"id": "aiplatform.reasoningEngines.sandboxEnvironments.operations.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be deleted.", +"location": "path", +"pattern": "^reasoningEngines/[^/]+/sandboxEnvironments/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", +"flatPath": "v1/reasoningEngines/{reasoningEnginesId}/sandboxEnvironments/{sandboxEnvironmentsId}/operations/{operationsId}", +"httpMethod": "GET", +"id": "aiplatform.reasoningEngines.sandboxEnvironments.operations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource.", +"location": "path", +"pattern": "^reasoningEngines/[^/]+/sandboxEnvironments/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"wait": { +"description": "Waits until the specified long-running operation is done or reaches at most a specified timeout, returning the latest state. If the operation is already done, the latest state is immediately returned. If the timeout specified is greater than the default HTTP/RPC timeout, the HTTP/RPC timeout is used. If the server does not support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Note that this method is on a best-effort basis. It may return the latest state before the specified timeout (including immediately), meaning even an immediate response is no guarantee that the operation is done.", +"flatPath": "v1/reasoningEngines/{reasoningEnginesId}/sandboxEnvironments/{sandboxEnvironmentsId}/operations/{operationsId}:wait", +"httpMethod": "POST", +"id": "aiplatform.reasoningEngines.sandboxEnvironments.operations.wait", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to wait on.", +"location": "path", +"pattern": "^reasoningEngines/[^/]+/sandboxEnvironments/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +}, +"timeout": { +"description": "The maximum duration to wait before timing out. If left blank, the wait will be at most the time permitted by the underlying HTTP/RPC protocol. If RPC context deadline is also specified, the shorter one will be used.", +"format": "google-duration", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}:wait", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +}, +"sessions": { +"resources": { +"operations": { +"methods": { +"cancel": { +"description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.", +"flatPath": "v1/reasoningEngines/{reasoningEnginesId}/sessions/{sessionsId}/operations/{operationsId}:cancel", +"httpMethod": "POST", +"id": "aiplatform.reasoningEngines.sessions.operations.cancel", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be cancelled.", +"location": "path", +"pattern": "^reasoningEngines/[^/]+/sessions/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:cancel", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.", +"flatPath": "v1/reasoningEngines/{reasoningEnginesId}/sessions/{sessionsId}/operations/{operationsId}", +"httpMethod": "DELETE", +"id": "aiplatform.reasoningEngines.sessions.operations.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be deleted.", +"location": "path", +"pattern": "^reasoningEngines/[^/]+/sessions/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", +"flatPath": "v1/reasoningEngines/{reasoningEnginesId}/sessions/{sessionsId}/operations/{operationsId}", +"httpMethod": "GET", +"id": "aiplatform.reasoningEngines.sessions.operations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource.", +"location": "path", +"pattern": "^reasoningEngines/[^/]+/sessions/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.", +"flatPath": "v1/reasoningEngines/{reasoningEnginesId}/sessions/{sessionsId}/operations", +"httpMethod": "GET", +"id": "aiplatform.reasoningEngines.sessions.operations.list", +"parameterOrder": [ +"name" +], +"parameters": { +"filter": { +"description": "The standard list filter.", +"location": "query", +"type": "string" +}, +"name": { +"description": "The name of the operation's parent resource.", +"location": "path", +"pattern": "^reasoningEngines/[^/]+/sessions/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The standard list page size.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The standard list page token.", +"location": "query", +"type": "string" +}, +"returnPartialSuccess": { +"description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `\"projects/example/locations/-\"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1/{+name}/operations", +"response": { +"$ref": "GoogleLongrunningListOperationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"wait": { +"description": "Waits until the specified long-running operation is done or reaches at most a specified timeout, returning the latest state. If the operation is already done, the latest state is immediately returned. If the timeout specified is greater than the default HTTP/RPC timeout, the HTTP/RPC timeout is used. If the server does not support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Note that this method is on a best-effort basis. It may return the latest state before the specified timeout (including immediately), meaning even an immediate response is no guarantee that the operation is done.", +"flatPath": "v1/reasoningEngines/{reasoningEnginesId}/sessions/{sessionsId}/operations/{operationsId}:wait", +"httpMethod": "POST", +"id": "aiplatform.reasoningEngines.sessions.operations.wait", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to wait on.", +"location": "path", +"pattern": "^reasoningEngines/[^/]+/sessions/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +}, +"timeout": { +"description": "The maximum duration to wait before timing out. If left blank, the wait will be at most the time permitted by the underlying HTTP/RPC protocol. If RPC context deadline is also specified, the shorter one will be used.", +"format": "google-duration", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}:wait", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +} +} +}, +"schedules": { +"resources": { +"operations": { +"methods": { +"cancel": { +"description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.", +"flatPath": "v1/schedules/{schedulesId}/operations/{operationsId}:cancel", +"httpMethod": "POST", +"id": "aiplatform.schedules.operations.cancel", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be cancelled.", +"location": "path", +"pattern": "^schedules/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:cancel", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.", +"flatPath": "v1/schedules/{schedulesId}/operations/{operationsId}", +"httpMethod": "DELETE", +"id": "aiplatform.schedules.operations.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be deleted.", +"location": "path", +"pattern": "^schedules/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", +"flatPath": "v1/schedules/{schedulesId}/operations/{operationsId}", +"httpMethod": "GET", +"id": "aiplatform.schedules.operations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource.", +"location": "path", +"pattern": "^schedules/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.", +"flatPath": "v1/schedules/{schedulesId}/operations", +"httpMethod": "GET", +"id": "aiplatform.schedules.operations.list", +"parameterOrder": [ +"name" +], +"parameters": { +"filter": { +"description": "The standard list filter.", +"location": "query", +"type": "string" +}, +"name": { +"description": "The name of the operation's parent resource.", +"location": "path", +"pattern": "^schedules/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The standard list page size.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The standard list page token.", +"location": "query", +"type": "string" +}, +"returnPartialSuccess": { +"description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `\"projects/example/locations/-\"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1/{+name}/operations", +"response": { +"$ref": "GoogleLongrunningListOperationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"wait": { +"description": "Waits until the specified long-running operation is done or reaches at most a specified timeout, returning the latest state. If the operation is already done, the latest state is immediately returned. If the timeout specified is greater than the default HTTP/RPC timeout, the HTTP/RPC timeout is used. If the server does not support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Note that this method is on a best-effort basis. It may return the latest state before the specified timeout (including immediately), meaning even an immediate response is no guarantee that the operation is done.", +"flatPath": "v1/schedules/{schedulesId}/operations/{operationsId}:wait", +"httpMethod": "POST", +"id": "aiplatform.schedules.operations.wait", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to wait on.", +"location": "path", +"pattern": "^schedules/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +}, +"timeout": { +"description": "The maximum duration to wait before timing out. If left blank, the wait will be at most the time permitted by the underlying HTTP/RPC protocol. If RPC context deadline is also specified, the shorter one will be used.", +"format": "google-duration", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}:wait", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +}, +"specialistPools": { +"resources": { +"operations": { +"methods": { +"cancel": { +"description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.", +"flatPath": "v1/specialistPools/{specialistPoolsId}/operations/{operationsId}:cancel", +"httpMethod": "POST", +"id": "aiplatform.specialistPools.operations.cancel", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be cancelled.", +"location": "path", +"pattern": "^specialistPools/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:cancel", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.", +"flatPath": "v1/specialistPools/{specialistPoolsId}/operations/{operationsId}", +"httpMethod": "DELETE", +"id": "aiplatform.specialistPools.operations.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be deleted.", +"location": "path", +"pattern": "^specialistPools/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", +"flatPath": "v1/specialistPools/{specialistPoolsId}/operations/{operationsId}", +"httpMethod": "GET", +"id": "aiplatform.specialistPools.operations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource.", +"location": "path", +"pattern": "^specialistPools/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.", +"flatPath": "v1/specialistPools/{specialistPoolsId}/operations", +"httpMethod": "GET", +"id": "aiplatform.specialistPools.operations.list", +"parameterOrder": [ +"name" +], +"parameters": { +"filter": { +"description": "The standard list filter.", +"location": "query", +"type": "string" +}, +"name": { +"description": "The name of the operation's parent resource.", +"location": "path", +"pattern": "^specialistPools/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The standard list page size.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The standard list page token.", +"location": "query", +"type": "string" +}, +"returnPartialSuccess": { +"description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `\"projects/example/locations/-\"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1/{+name}/operations", +"response": { +"$ref": "GoogleLongrunningListOperationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"wait": { +"description": "Waits until the specified long-running operation is done or reaches at most a specified timeout, returning the latest state. If the operation is already done, the latest state is immediately returned. If the timeout specified is greater than the default HTTP/RPC timeout, the HTTP/RPC timeout is used. If the server does not support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Note that this method is on a best-effort basis. It may return the latest state before the specified timeout (including immediately), meaning even an immediate response is no guarantee that the operation is done.", +"flatPath": "v1/specialistPools/{specialistPoolsId}/operations/{operationsId}:wait", +"httpMethod": "POST", +"id": "aiplatform.specialistPools.operations.wait", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to wait on.", +"location": "path", +"pattern": "^specialistPools/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +}, +"timeout": { +"description": "The maximum duration to wait before timing out. If left blank, the wait will be at most the time permitted by the underlying HTTP/RPC protocol. If RPC context deadline is also specified, the shorter one will be used.", +"format": "google-duration", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}:wait", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +}, +"studies": { +"resources": { +"operations": { +"methods": { +"cancel": { +"description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.", +"flatPath": "v1/studies/{studiesId}/operations/{operationsId}:cancel", +"httpMethod": "POST", +"id": "aiplatform.studies.operations.cancel", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be cancelled.", +"location": "path", +"pattern": "^studies/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:cancel", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.", +"flatPath": "v1/studies/{studiesId}/operations/{operationsId}", +"httpMethod": "DELETE", +"id": "aiplatform.studies.operations.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be deleted.", +"location": "path", +"pattern": "^studies/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", +"flatPath": "v1/studies/{studiesId}/operations/{operationsId}", +"httpMethod": "GET", +"id": "aiplatform.studies.operations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource.", +"location": "path", +"pattern": "^studies/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.", +"flatPath": "v1/studies/{studiesId}/operations", +"httpMethod": "GET", +"id": "aiplatform.studies.operations.list", +"parameterOrder": [ +"name" +], +"parameters": { +"filter": { +"description": "The standard list filter.", +"location": "query", +"type": "string" +}, +"name": { +"description": "The name of the operation's parent resource.", +"location": "path", +"pattern": "^studies/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The standard list page size.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The standard list page token.", +"location": "query", +"type": "string" +}, +"returnPartialSuccess": { +"description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `\"projects/example/locations/-\"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1/{+name}/operations", +"response": { +"$ref": "GoogleLongrunningListOperationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"wait": { +"description": "Waits until the specified long-running operation is done or reaches at most a specified timeout, returning the latest state. If the operation is already done, the latest state is immediately returned. If the timeout specified is greater than the default HTTP/RPC timeout, the HTTP/RPC timeout is used. If the server does not support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Note that this method is on a best-effort basis. It may return the latest state before the specified timeout (including immediately), meaning even an immediate response is no guarantee that the operation is done.", +"flatPath": "v1/studies/{studiesId}/operations/{operationsId}:wait", +"httpMethod": "POST", +"id": "aiplatform.studies.operations.wait", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to wait on.", +"location": "path", +"pattern": "^studies/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +}, +"timeout": { +"description": "The maximum duration to wait before timing out. If left blank, the wait will be at most the time permitted by the underlying HTTP/RPC protocol. If RPC context deadline is also specified, the shorter one will be used.", +"format": "google-duration", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}:wait", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"trials": { +"resources": { +"operations": { +"methods": { +"cancel": { +"description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.", +"flatPath": "v1/studies/{studiesId}/trials/{trialsId}/operations/{operationsId}:cancel", +"httpMethod": "POST", +"id": "aiplatform.studies.trials.operations.cancel", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be cancelled.", +"location": "path", +"pattern": "^studies/[^/]+/trials/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:cancel", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.", +"flatPath": "v1/studies/{studiesId}/trials/{trialsId}/operations/{operationsId}", +"httpMethod": "DELETE", +"id": "aiplatform.studies.trials.operations.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be deleted.", +"location": "path", +"pattern": "^studies/[^/]+/trials/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", +"flatPath": "v1/studies/{studiesId}/trials/{trialsId}/operations/{operationsId}", +"httpMethod": "GET", +"id": "aiplatform.studies.trials.operations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource.", +"location": "path", +"pattern": "^studies/[^/]+/trials/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.", +"flatPath": "v1/studies/{studiesId}/trials/{trialsId}/operations", +"httpMethod": "GET", +"id": "aiplatform.studies.trials.operations.list", +"parameterOrder": [ +"name" +], +"parameters": { +"filter": { +"description": "The standard list filter.", +"location": "query", +"type": "string" +}, +"name": { +"description": "The name of the operation's parent resource.", +"location": "path", +"pattern": "^studies/[^/]+/trials/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The standard list page size.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The standard list page token.", +"location": "query", +"type": "string" +}, +"returnPartialSuccess": { +"description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `\"projects/example/locations/-\"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1/{+name}/operations", +"response": { +"$ref": "GoogleLongrunningListOperationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"wait": { +"description": "Waits until the specified long-running operation is done or reaches at most a specified timeout, returning the latest state. If the operation is already done, the latest state is immediately returned. If the timeout specified is greater than the default HTTP/RPC timeout, the HTTP/RPC timeout is used. If the server does not support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Note that this method is on a best-effort basis. It may return the latest state before the specified timeout (including immediately), meaning even an immediate response is no guarantee that the operation is done.", +"flatPath": "v1/studies/{studiesId}/trials/{trialsId}/operations/{operationsId}:wait", +"httpMethod": "POST", +"id": "aiplatform.studies.trials.operations.wait", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to wait on.", +"location": "path", +"pattern": "^studies/[^/]+/trials/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +}, +"timeout": { +"description": "The maximum duration to wait before timing out. If left blank, the wait will be at most the time permitted by the underlying HTTP/RPC protocol. If RPC context deadline is also specified, the shorter one will be used.", +"format": "google-duration", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}:wait", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +} +} +}, +"tensorboards": { +"resources": { +"experiments": { +"resources": { +"operations": { +"methods": { +"cancel": { +"description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.", +"flatPath": "v1/tensorboards/{tensorboardsId}/experiments/{experimentsId}/operations/{operationsId}:cancel", +"httpMethod": "POST", +"id": "aiplatform.tensorboards.experiments.operations.cancel", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be cancelled.", +"location": "path", +"pattern": "^tensorboards/[^/]+/experiments/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:cancel", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.", +"flatPath": "v1/tensorboards/{tensorboardsId}/experiments/{experimentsId}/operations/{operationsId}", +"httpMethod": "DELETE", +"id": "aiplatform.tensorboards.experiments.operations.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be deleted.", +"location": "path", +"pattern": "^tensorboards/[^/]+/experiments/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", +"flatPath": "v1/tensorboards/{tensorboardsId}/experiments/{experimentsId}/operations/{operationsId}", +"httpMethod": "GET", +"id": "aiplatform.tensorboards.experiments.operations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource.", +"location": "path", +"pattern": "^tensorboards/[^/]+/experiments/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.", +"flatPath": "v1/tensorboards/{tensorboardsId}/experiments/{experimentsId}/operations", +"httpMethod": "GET", +"id": "aiplatform.tensorboards.experiments.operations.list", +"parameterOrder": [ +"name" +], +"parameters": { +"filter": { +"description": "The standard list filter.", +"location": "query", +"type": "string" +}, +"name": { +"description": "The name of the operation's parent resource.", +"location": "path", +"pattern": "^tensorboards/[^/]+/experiments/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The standard list page size.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The standard list page token.", +"location": "query", +"type": "string" +}, +"returnPartialSuccess": { +"description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `\"projects/example/locations/-\"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1/{+name}/operations", +"response": { +"$ref": "GoogleLongrunningListOperationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"wait": { +"description": "Waits until the specified long-running operation is done or reaches at most a specified timeout, returning the latest state. If the operation is already done, the latest state is immediately returned. If the timeout specified is greater than the default HTTP/RPC timeout, the HTTP/RPC timeout is used. If the server does not support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Note that this method is on a best-effort basis. It may return the latest state before the specified timeout (including immediately), meaning even an immediate response is no guarantee that the operation is done.", +"flatPath": "v1/tensorboards/{tensorboardsId}/experiments/{experimentsId}/operations/{operationsId}:wait", +"httpMethod": "POST", +"id": "aiplatform.tensorboards.experiments.operations.wait", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to wait on.", +"location": "path", +"pattern": "^tensorboards/[^/]+/experiments/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +}, +"timeout": { +"description": "The maximum duration to wait before timing out. If left blank, the wait will be at most the time permitted by the underlying HTTP/RPC protocol. If RPC context deadline is also specified, the shorter one will be used.", +"format": "google-duration", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}:wait", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"runs": { +"resources": { +"operations": { +"methods": { +"cancel": { +"description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.", +"flatPath": "v1/tensorboards/{tensorboardsId}/experiments/{experimentsId}/runs/{runsId}/operations/{operationsId}:cancel", +"httpMethod": "POST", +"id": "aiplatform.tensorboards.experiments.runs.operations.cancel", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be cancelled.", +"location": "path", +"pattern": "^tensorboards/[^/]+/experiments/[^/]+/runs/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:cancel", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.", +"flatPath": "v1/tensorboards/{tensorboardsId}/experiments/{experimentsId}/runs/{runsId}/operations/{operationsId}", +"httpMethod": "DELETE", +"id": "aiplatform.tensorboards.experiments.runs.operations.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be deleted.", +"location": "path", +"pattern": "^tensorboards/[^/]+/experiments/[^/]+/runs/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", +"flatPath": "v1/tensorboards/{tensorboardsId}/experiments/{experimentsId}/runs/{runsId}/operations/{operationsId}", +"httpMethod": "GET", +"id": "aiplatform.tensorboards.experiments.runs.operations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource.", +"location": "path", +"pattern": "^tensorboards/[^/]+/experiments/[^/]+/runs/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.", +"flatPath": "v1/tensorboards/{tensorboardsId}/experiments/{experimentsId}/runs/{runsId}/operations", +"httpMethod": "GET", +"id": "aiplatform.tensorboards.experiments.runs.operations.list", +"parameterOrder": [ +"name" +], +"parameters": { +"filter": { +"description": "The standard list filter.", +"location": "query", +"type": "string" +}, +"name": { +"description": "The name of the operation's parent resource.", +"location": "path", +"pattern": "^tensorboards/[^/]+/experiments/[^/]+/runs/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The standard list page size.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The standard list page token.", +"location": "query", +"type": "string" +}, +"returnPartialSuccess": { +"description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `\"projects/example/locations/-\"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1/{+name}/operations", +"response": { +"$ref": "GoogleLongrunningListOperationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"wait": { +"description": "Waits until the specified long-running operation is done or reaches at most a specified timeout, returning the latest state. If the operation is already done, the latest state is immediately returned. If the timeout specified is greater than the default HTTP/RPC timeout, the HTTP/RPC timeout is used. If the server does not support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Note that this method is on a best-effort basis. It may return the latest state before the specified timeout (including immediately), meaning even an immediate response is no guarantee that the operation is done.", +"flatPath": "v1/tensorboards/{tensorboardsId}/experiments/{experimentsId}/runs/{runsId}/operations/{operationsId}:wait", +"httpMethod": "POST", +"id": "aiplatform.tensorboards.experiments.runs.operations.wait", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to wait on.", +"location": "path", +"pattern": "^tensorboards/[^/]+/experiments/[^/]+/runs/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +}, +"timeout": { +"description": "The maximum duration to wait before timing out. If left blank, the wait will be at most the time permitted by the underlying HTTP/RPC protocol. If RPC context deadline is also specified, the shorter one will be used.", +"format": "google-duration", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}:wait", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"timeSeries": { +"resources": { +"operations": { +"methods": { +"cancel": { +"description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.", +"flatPath": "v1/tensorboards/{tensorboardsId}/experiments/{experimentsId}/runs/{runsId}/timeSeries/{timeSeriesId}/operations/{operationsId}:cancel", +"httpMethod": "POST", +"id": "aiplatform.tensorboards.experiments.runs.timeSeries.operations.cancel", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be cancelled.", +"location": "path", +"pattern": "^tensorboards/[^/]+/experiments/[^/]+/runs/[^/]+/timeSeries/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:cancel", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.", +"flatPath": "v1/tensorboards/{tensorboardsId}/experiments/{experimentsId}/runs/{runsId}/timeSeries/{timeSeriesId}/operations/{operationsId}", +"httpMethod": "DELETE", +"id": "aiplatform.tensorboards.experiments.runs.timeSeries.operations.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be deleted.", +"location": "path", +"pattern": "^tensorboards/[^/]+/experiments/[^/]+/runs/[^/]+/timeSeries/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", +"flatPath": "v1/tensorboards/{tensorboardsId}/experiments/{experimentsId}/runs/{runsId}/timeSeries/{timeSeriesId}/operations/{operationsId}", +"httpMethod": "GET", +"id": "aiplatform.tensorboards.experiments.runs.timeSeries.operations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource.", +"location": "path", +"pattern": "^tensorboards/[^/]+/experiments/[^/]+/runs/[^/]+/timeSeries/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.", +"flatPath": "v1/tensorboards/{tensorboardsId}/experiments/{experimentsId}/runs/{runsId}/timeSeries/{timeSeriesId}/operations", +"httpMethod": "GET", +"id": "aiplatform.tensorboards.experiments.runs.timeSeries.operations.list", +"parameterOrder": [ +"name" +], +"parameters": { +"filter": { +"description": "The standard list filter.", +"location": "query", +"type": "string" +}, +"name": { +"description": "The name of the operation's parent resource.", +"location": "path", +"pattern": "^tensorboards/[^/]+/experiments/[^/]+/runs/[^/]+/timeSeries/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The standard list page size.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The standard list page token.", +"location": "query", +"type": "string" +}, +"returnPartialSuccess": { +"description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `\"projects/example/locations/-\"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1/{+name}/operations", +"response": { +"$ref": "GoogleLongrunningListOperationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"wait": { +"description": "Waits until the specified long-running operation is done or reaches at most a specified timeout, returning the latest state. If the operation is already done, the latest state is immediately returned. If the timeout specified is greater than the default HTTP/RPC timeout, the HTTP/RPC timeout is used. If the server does not support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Note that this method is on a best-effort basis. It may return the latest state before the specified timeout (including immediately), meaning even an immediate response is no guarantee that the operation is done.", +"flatPath": "v1/tensorboards/{tensorboardsId}/experiments/{experimentsId}/runs/{runsId}/timeSeries/{timeSeriesId}/operations/{operationsId}:wait", +"httpMethod": "POST", +"id": "aiplatform.tensorboards.experiments.runs.timeSeries.operations.wait", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to wait on.", +"location": "path", +"pattern": "^tensorboards/[^/]+/experiments/[^/]+/runs/[^/]+/timeSeries/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +}, +"timeout": { +"description": "The maximum duration to wait before timing out. If left blank, the wait will be at most the time permitted by the underlying HTTP/RPC protocol. If RPC context deadline is also specified, the shorter one will be used.", +"format": "google-duration", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}:wait", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +} +} +} +} +}, +"operations": { +"methods": { +"cancel": { +"description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.", +"flatPath": "v1/tensorboards/{tensorboardsId}/operations/{operationsId}:cancel", +"httpMethod": "POST", +"id": "aiplatform.tensorboards.operations.cancel", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be cancelled.", +"location": "path", +"pattern": "^tensorboards/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:cancel", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.", +"flatPath": "v1/tensorboards/{tensorboardsId}/operations/{operationsId}", +"httpMethod": "DELETE", +"id": "aiplatform.tensorboards.operations.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be deleted.", +"location": "path", +"pattern": "^tensorboards/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", +"flatPath": "v1/tensorboards/{tensorboardsId}/operations/{operationsId}", +"httpMethod": "GET", +"id": "aiplatform.tensorboards.operations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource.", +"location": "path", +"pattern": "^tensorboards/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.", +"flatPath": "v1/tensorboards/{tensorboardsId}/operations", +"httpMethod": "GET", +"id": "aiplatform.tensorboards.operations.list", +"parameterOrder": [ +"name" +], +"parameters": { +"filter": { +"description": "The standard list filter.", +"location": "query", +"type": "string" +}, +"name": { +"description": "The name of the operation's parent resource.", +"location": "path", +"pattern": "^tensorboards/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The standard list page size.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The standard list page token.", +"location": "query", +"type": "string" +}, +"returnPartialSuccess": { +"description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `\"projects/example/locations/-\"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1/{+name}/operations", +"response": { +"$ref": "GoogleLongrunningListOperationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"wait": { +"description": "Waits until the specified long-running operation is done or reaches at most a specified timeout, returning the latest state. If the operation is already done, the latest state is immediately returned. If the timeout specified is greater than the default HTTP/RPC timeout, the HTTP/RPC timeout is used. If the server does not support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Note that this method is on a best-effort basis. It may return the latest state before the specified timeout (including immediately), meaning even an immediate response is no guarantee that the operation is done.", +"flatPath": "v1/tensorboards/{tensorboardsId}/operations/{operationsId}:wait", +"httpMethod": "POST", +"id": "aiplatform.tensorboards.operations.wait", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to wait on.", +"location": "path", +"pattern": "^tensorboards/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +}, +"timeout": { +"description": "The maximum duration to wait before timing out. If left blank, the wait will be at most the time permitted by the underlying HTTP/RPC protocol. If RPC context deadline is also specified, the shorter one will be used.", +"format": "google-duration", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}:wait", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +}, +"trainingPipelines": { +"resources": { +"operations": { +"methods": { +"cancel": { +"description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.", +"flatPath": "v1/trainingPipelines/{trainingPipelinesId}/operations/{operationsId}:cancel", +"httpMethod": "POST", +"id": "aiplatform.trainingPipelines.operations.cancel", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be cancelled.", +"location": "path", +"pattern": "^trainingPipelines/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:cancel", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.", +"flatPath": "v1/trainingPipelines/{trainingPipelinesId}/operations/{operationsId}", +"httpMethod": "DELETE", +"id": "aiplatform.trainingPipelines.operations.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be deleted.", +"location": "path", +"pattern": "^trainingPipelines/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", +"flatPath": "v1/trainingPipelines/{trainingPipelinesId}/operations/{operationsId}", +"httpMethod": "GET", +"id": "aiplatform.trainingPipelines.operations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource.", +"location": "path", +"pattern": "^trainingPipelines/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.", +"flatPath": "v1/trainingPipelines/{trainingPipelinesId}/operations", +"httpMethod": "GET", +"id": "aiplatform.trainingPipelines.operations.list", +"parameterOrder": [ +"name" +], +"parameters": { +"filter": { +"description": "The standard list filter.", +"location": "query", +"type": "string" +}, +"name": { +"description": "The name of the operation's parent resource.", +"location": "path", +"pattern": "^trainingPipelines/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The standard list page size.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The standard list page token.", +"location": "query", +"type": "string" +}, +"returnPartialSuccess": { +"description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `\"projects/example/locations/-\"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1/{+name}/operations", +"response": { +"$ref": "GoogleLongrunningListOperationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"wait": { +"description": "Waits until the specified long-running operation is done or reaches at most a specified timeout, returning the latest state. If the operation is already done, the latest state is immediately returned. If the timeout specified is greater than the default HTTP/RPC timeout, the HTTP/RPC timeout is used. If the server does not support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Note that this method is on a best-effort basis. It may return the latest state before the specified timeout (including immediately), meaning even an immediate response is no guarantee that the operation is done.", +"flatPath": "v1/trainingPipelines/{trainingPipelinesId}/operations/{operationsId}:wait", +"httpMethod": "POST", +"id": "aiplatform.trainingPipelines.operations.wait", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to wait on.", +"location": "path", +"pattern": "^trainingPipelines/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +}, +"timeout": { +"description": "The maximum duration to wait before timing out. If left blank, the wait will be at most the time permitted by the underlying HTTP/RPC protocol. If RPC context deadline is also specified, the shorter one will be used.", +"format": "google-duration", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}:wait", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +}, +"tuningJobs": { +"resources": { +"operations": { +"methods": { +"cancel": { +"description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.", +"flatPath": "v1/tuningJobs/{tuningJobsId}/operations/{operationsId}:cancel", +"httpMethod": "POST", +"id": "aiplatform.tuningJobs.operations.cancel", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be cancelled.", +"location": "path", +"pattern": "^tuningJobs/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:cancel", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.", +"flatPath": "v1/tuningJobs/{tuningJobsId}/operations/{operationsId}", +"httpMethod": "DELETE", +"id": "aiplatform.tuningJobs.operations.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be deleted.", +"location": "path", +"pattern": "^tuningJobs/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", +"flatPath": "v1/tuningJobs/{tuningJobsId}/operations/{operationsId}", +"httpMethod": "GET", +"id": "aiplatform.tuningJobs.operations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource.", +"location": "path", +"pattern": "^tuningJobs/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.", +"flatPath": "v1/tuningJobs/{tuningJobsId}/operations", +"httpMethod": "GET", +"id": "aiplatform.tuningJobs.operations.list", +"parameterOrder": [ +"name" +], +"parameters": { +"filter": { +"description": "The standard list filter.", +"location": "query", +"type": "string" +}, +"name": { +"description": "The name of the operation's parent resource.", +"location": "path", +"pattern": "^tuningJobs/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The standard list page size.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The standard list page token.", +"location": "query", +"type": "string" +}, +"returnPartialSuccess": { +"description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `\"projects/example/locations/-\"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1/{+name}/operations", +"response": { +"$ref": "GoogleLongrunningListOperationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +}, +"v1": { +"methods": { +"evaluateDataset": { +"description": "Evaluates a dataset based on a set of given metrics.", +"flatPath": "v1:evaluateDataset", +"httpMethod": "POST", +"id": "aiplatform.evaluateDataset", +"parameterOrder": [], +"parameters": {}, +"path": "v1:evaluateDataset", +"request": { +"$ref": "GoogleCloudAiplatformV1EvaluateDatasetRequest" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"evaluateInstances": { +"description": "Evaluates instances based on a given metric.", +"flatPath": "v1:evaluateInstances", +"httpMethod": "POST", +"id": "aiplatform.evaluateInstances", +"parameterOrder": [], +"parameters": {}, +"path": "v1:evaluateInstances", +"request": { +"$ref": "GoogleCloudAiplatformV1EvaluateInstancesRequest" +}, +"response": { +"$ref": "GoogleCloudAiplatformV1EvaluateInstancesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"generateInstanceRubrics": { +"description": "Generates rubrics for a given prompt. A rubric represents a single testable criterion for evaluation. One input prompt could have multiple rubrics This RPC allows users to get suggested rubrics based on provided prompt, which can then be reviewed and used for subsequent evaluations.", +"flatPath": "v1:generateInstanceRubrics", +"httpMethod": "POST", +"id": "aiplatform.generateInstanceRubrics", +"parameterOrder": [], +"parameters": {}, +"path": "v1:generateInstanceRubrics", +"request": { +"$ref": "GoogleCloudAiplatformV1GenerateInstanceRubricsRequest" +}, +"response": { +"$ref": "GoogleCloudAiplatformV1GenerateInstanceRubricsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +}, +"revision": "20260217", +"rootUrl": "https://aiplatform.googleapis.com/", +"schemas": { +"CloudAiLargeModelsVisionGenerateVideoResponse": { +"description": "Generate video response.", +"id": "CloudAiLargeModelsVisionGenerateVideoResponse", +"properties": { +"generatedSamples": { +"description": "The generates samples.", +"items": { +"$ref": "CloudAiLargeModelsVisionMedia" +}, +"type": "array" +}, +"raiMediaFilteredCount": { +"description": "Returns if any videos were filtered due to RAI policies.", +"format": "int32", +"type": "integer" +}, +"raiMediaFilteredReasons": { +"description": "Returns rai failure reasons if any.", +"items": { +"type": "string" +}, +"type": "array" +}, +"videos": { +"description": "List of videos, used to align naming with the external response.", +"items": { +"$ref": "CloudAiLargeModelsVisionGenerateVideoResponseVideo" +}, +"type": "array" +} +}, +"type": "object" +}, +"CloudAiLargeModelsVisionGenerateVideoResponseVideo": { +"id": "CloudAiLargeModelsVisionGenerateVideoResponseVideo", +"properties": { +"bytesBase64Encoded": { +"description": "Base64 encoded bytes string representing the video.", +"type": "string" +}, +"gcsUri": { +"description": "Cloud Storage URI where the generated video is written.", +"type": "string" +}, +"mimeType": { +"description": "The MIME type of the content of the video. - video/mp4", +"type": "string" +} +}, +"type": "object" +}, +"CloudAiLargeModelsVisionImage": { +"description": "Image.", +"id": "CloudAiLargeModelsVisionImage", +"properties": { +"encoding": { +"description": "Image encoding, encoded as \"image/png\" or \"image/jpg\".", +"type": "string" +}, +"generationSeed": { +"description": "Generation seed for the sampled image. This parameter is exposed to the user only if one of the following is true: 1. The user specified per-example seeds in the request. 2. The user doesn't specify the generation seed in the request.", +"format": "int32", +"type": "integer" +}, +"image": { +"description": "Raw bytes.", +"format": "byte", +"type": "string" +}, +"imageRaiScores": { +"$ref": "CloudAiLargeModelsVisionImageRAIScores", +"description": "RAI scores for generated image." +}, +"imageSize": { +"$ref": "CloudAiLargeModelsVisionImageImageSize", +"description": "Image size. The size of the image. Can be self reported, or computed from the image bytes." +}, +"raiInfo": { +"$ref": "CloudAiLargeModelsVisionRaiInfo", +"description": "RAI info for image." +}, +"semanticFilterResponse": { +"$ref": "CloudAiLargeModelsVisionSemanticFilterResponse", +"description": "Semantic filter info for image." +}, +"text": { +"description": "Text/Expanded text input for imagen.", +"type": "string" +}, +"uri": { +"description": "Path to another storage (typically Google Cloud Storage).", +"type": "string" +} +}, +"type": "object" +}, +"CloudAiLargeModelsVisionImageImageSize": { +"description": "Image size.", +"id": "CloudAiLargeModelsVisionImageImageSize", +"properties": { +"channels": { +"format": "int32", +"type": "integer" +}, +"height": { +"format": "int32", +"type": "integer" +}, +"width": { +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"CloudAiLargeModelsVisionImageRAIScores": { +"description": "RAI scores for generated image returned.", +"id": "CloudAiLargeModelsVisionImageRAIScores", +"properties": { +"agileWatermarkDetectionScore": { +"description": "Agile watermark score for image.", +"format": "double", +"type": "number" +} +}, +"type": "object" +}, +"CloudAiLargeModelsVisionMedia": { +"description": "Media.", +"id": "CloudAiLargeModelsVisionMedia", +"properties": { +"image": { +"$ref": "CloudAiLargeModelsVisionImage", +"description": "Image." +}, +"video": { +"$ref": "CloudAiLargeModelsVisionVideo", +"description": "Video" +} +}, +"type": "object" +}, +"CloudAiLargeModelsVisionNamedBoundingBox": { +"id": "CloudAiLargeModelsVisionNamedBoundingBox", +"properties": { +"classes": { +"items": { +"type": "string" +}, +"type": "array" +}, +"entities": { +"items": { +"type": "string" +}, +"type": "array" +}, +"scores": { +"items": { +"format": "float", +"type": "number" +}, +"type": "array" +}, +"x1": { +"format": "float", +"type": "number" +}, +"x2": { +"format": "float", +"type": "number" +}, +"y1": { +"format": "float", +"type": "number" +}, +"y2": { +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"CloudAiLargeModelsVisionRaiInfo": { +"description": "Next ID: 6", +"id": "CloudAiLargeModelsVisionRaiInfo", +"properties": { +"blockedEntities": { +"description": "List of blocked entities from the blocklist if it is detected.", +"items": { +"type": "string" +}, +"type": "array" +}, +"detectedLabels": { +"description": "The list of detected labels for different rai categories.", +"items": { +"$ref": "CloudAiLargeModelsVisionRaiInfoDetectedLabels" +}, +"type": "array" +}, +"modelName": { +"description": "The model name used to indexing into the RaiFilterConfig map. Would either be one of imagegeneration@002-006, imagen-3.0-... api endpoint names, or internal names used for mapping to different filter configs (genselfie, ai_watermark) than its api endpoint.", +"type": "string" +}, +"raiCategories": { +"description": "List of rai categories' information to return", +"items": { +"type": "string" +}, +"type": "array" +}, +"scores": { +"description": "List of rai scores mapping to the rai categories. Rounded to 1 decimal place.", +"items": { +"format": "float", +"type": "number" +}, +"type": "array" +} +}, +"type": "object" +}, +"CloudAiLargeModelsVisionRaiInfoDetectedLabels": { +"description": "Filters returning list of deteceted labels, scores, and bounding boxes.", +"id": "CloudAiLargeModelsVisionRaiInfoDetectedLabels", +"properties": { +"entities": { +"description": "The list of detected entities for the rai signal.", +"items": { +"$ref": "CloudAiLargeModelsVisionRaiInfoDetectedLabelsEntity" +}, +"type": "array" +}, +"raiCategory": { +"description": "The RAI category for the deteceted labels.", +"type": "string" +} +}, +"type": "object" +}, +"CloudAiLargeModelsVisionRaiInfoDetectedLabelsBoundingBox": { +"description": "An integer bounding box of original pixels of the image for the detected labels.", +"id": "CloudAiLargeModelsVisionRaiInfoDetectedLabelsBoundingBox", +"properties": { +"x1": { +"description": "The X coordinate of the top-left corner, in pixels.", +"format": "int32", +"type": "integer" +}, +"x2": { +"description": "The X coordinate of the bottom-right corner, in pixels.", +"format": "int32", +"type": "integer" +}, +"y1": { +"description": "The Y coordinate of the top-left corner, in pixels.", +"format": "int32", +"type": "integer" +}, +"y2": { +"description": "The Y coordinate of the bottom-right corner, in pixels.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"CloudAiLargeModelsVisionRaiInfoDetectedLabelsEntity": { +"description": "The properties for a detected entity from the rai signal.", +"id": "CloudAiLargeModelsVisionRaiInfoDetectedLabelsEntity", +"properties": { +"boundingBox": { +"$ref": "CloudAiLargeModelsVisionRaiInfoDetectedLabelsBoundingBox", +"description": "Bounding box of the label" +}, +"description": { +"description": "Description of the label", +"type": "string" +}, +"iouScore": { +"description": "The intersection ratio between the detection bounding box and the mask.", +"format": "float", +"type": "number" +}, +"mid": { +"description": "MID of the label", +"type": "string" +}, +"score": { +"description": "Confidence score of the label", +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"CloudAiLargeModelsVisionSemanticFilterResponse": { +"id": "CloudAiLargeModelsVisionSemanticFilterResponse", +"properties": { +"namedBoundingBoxes": { +"description": "Class labels of the bounding boxes that failed the semantic filtering. Bounding box coordinates.", +"items": { +"$ref": "CloudAiLargeModelsVisionNamedBoundingBox" +}, +"type": "array" +}, +"passedSemanticFilter": { +"description": "This response is added when semantic filter config is turned on in EditConfig. It reports if this image is passed semantic filter response. If passed_semantic_filter is false, the bounding box information will be populated for user to check what caused the semantic filter to fail.", +"type": "boolean" +} +}, +"type": "object" +}, +"CloudAiLargeModelsVisionVideo": { +"description": "Video", +"id": "CloudAiLargeModelsVisionVideo", +"properties": { +"encodedVideo": { +"description": "Base 64 encoded video bytes.", +"type": "string" +}, +"encoding": { +"description": "Video encoding, for example \"video/mp4\".", +"type": "string" +}, +"text": { +"description": "Text/Expanded text input for Help Me Write.", +"type": "string" +}, +"uri": { +"description": "Path to another storage (typically Google Cloud Storage).", +"type": "string" +}, +"video": { +"description": "Raw bytes.", +"format": "byte", +"type": "string" +} +}, +"type": "object" +}, +"CloudAiPlatformCommonCreatePipelineJobApiErrorDetail": { +"description": "Create API error message for Vertex Pipeline.", +"id": "CloudAiPlatformCommonCreatePipelineJobApiErrorDetail", +"properties": { +"errorCause": { +"description": "The error root cause returned by CreatePipelineJob API.", +"enum": [ +"ERROR_CAUSE_UNSPECIFIED", +"INVALID_PIPELINE_SPEC_FORMAT", +"INVALID_PIPELINE_SPEC", +"INVALID_DEPLOYMENT_CONFIG", +"INVALID_DEPLOYMENT_SPEC", +"INVALID_INSTANCE_SCHEMA", +"INVALID_CUSTOM_JOB", +"INVALID_CONTAINER_SPEC", +"INVALID_NOTIFICATION_EMAIL_SETUP", +"INVALID_SERVICE_ACCOUNT_SETUP", +"INVALID_KMS_SETUP", +"INVALID_NETWORK_SETUP", +"INVALID_PIPELINE_TASK_SPEC", +"INVALID_PIPELINE_TASK_ARTIFACT", +"INVALID_IMPORTER_SPEC", +"INVALID_RESOLVER_SPEC", +"INVALID_RUNTIME_PARAMETERS", +"CLOUD_API_NOT_ENABLED", +"INVALID_GCS_INPUT_URI", +"INVALID_GCS_OUTPUT_URI", +"INVALID_COMPONENT_SPEC", +"INVALID_DAG_OUTPUTS_SPEC", +"INVALID_DAG_SPEC", +"INSUFFICIENT_QUOTA", +"INTERNAL" +], +"enumDescriptions": [ +"Should never be used.", +"IR Pipeline Spec can not been parsed to yaml or json format.", +"A pipeline spec is invalid.", +"A deployment config is invalid.", +"A deployment spec is invalid.", +"An instance schema is invalid.", +"A custom job is invalid.", +"A container spec is invalid.", +"Notification email setup is invalid.", +"Service account setup is invalid.", +"KMS setup is invalid.", +"Network setup is invalid.", +"Task spec is invalid.", +"Task artifact is invalid.", +"Importer spec is invalid.", +"Resolver spec is invalid.", +"Runtime Parameters are invalid.", +"Cloud API not enabled.", +"Invalid Cloud Storage input uri", +"Invalid Cloud Storage output uri", +"Component spec of pipeline is invalid.", +"DagOutputsSpec is invalid.", +"DagSpec is invalid.", +"Project does not have enough quota.", +"An internal error with unknown cause." +], +"type": "string" +}, +"publicMessage": { +"description": "Public messages contains actionable items for the error cause.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleApiHttpBody": { +"description": "Message that represents an arbitrary HTTP body. It should only be used for payload formats that can't be represented as JSON, such as raw binary or an HTML page. This message can be used both in streaming and non-streaming API methods in the request as well as the response. It can be used as a top-level request field, which is convenient if one wants to extract parameters from either the URL or HTTP template into the request fields and also want access to the raw HTTP body. Example: message GetResourceRequest { // A unique request id. string request_id = 1; // The raw HTTP body is bound to this field. google.api.HttpBody http_body = 2; } service ResourceService { rpc GetResource(GetResourceRequest) returns (google.api.HttpBody); rpc UpdateResource(google.api.HttpBody) returns (google.protobuf.Empty); } Example with streaming methods: service CaldavService { rpc GetCalendar(stream google.api.HttpBody) returns (stream google.api.HttpBody); rpc UpdateCalendar(stream google.api.HttpBody) returns (stream google.api.HttpBody); } Use of this type only changes how the request and response bodies are handled, all other features will continue to work unchanged.", +"id": "GoogleApiHttpBody", +"properties": { +"contentType": { +"description": "The HTTP Content-Type header value specifying the content type of the body.", +"type": "string" +}, +"data": { +"description": "The HTTP request/response body as raw binary.", +"format": "byte", +"type": "string" +}, +"extensions": { +"description": "Application specific response metadata. Must be set in the first response for streaming APIs.", +"items": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"type": "object" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1ActiveLearningConfig": { +"description": "Parameters that configure the active learning pipeline. Active learning will label the data incrementally by several iterations. For every iteration, it will select a batch of data based on the sampling strategy.", +"id": "GoogleCloudAiplatformV1ActiveLearningConfig", +"properties": { +"maxDataItemCount": { +"description": "Max number of human labeled DataItems.", +"format": "int64", +"type": "string" +}, +"maxDataItemPercentage": { +"description": "Max percent of total DataItems for human labeling.", +"format": "int32", +"type": "integer" +}, +"sampleConfig": { +"$ref": "GoogleCloudAiplatformV1SampleConfig", +"description": "Active learning data sampling config. For every active learning labeling iteration, it will select a batch of data based on the sampling strategy." +}, +"trainingConfig": { +"$ref": "GoogleCloudAiplatformV1TrainingConfig", +"description": "CMLE training config. For every active learning labeling iteration, system will train a machine learning model on CMLE. The trained model will be used by data sampling algorithm to select DataItems." +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1AddContextArtifactsAndExecutionsRequest": { +"description": "Request message for MetadataService.AddContextArtifactsAndExecutions.", +"id": "GoogleCloudAiplatformV1AddContextArtifactsAndExecutionsRequest", +"properties": { +"artifacts": { +"description": "The resource names of the Artifacts to attribute to the Context. Format: `projects/{project}/locations/{location}/metadataStores/{metadatastore}/artifacts/{artifact}`", +"items": { +"type": "string" +}, +"type": "array" +}, +"executions": { +"description": "The resource names of the Executions to associate with the Context. Format: `projects/{project}/locations/{location}/metadataStores/{metadatastore}/executions/{execution}`", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1AddContextArtifactsAndExecutionsResponse": { +"description": "Response message for MetadataService.AddContextArtifactsAndExecutions.", +"id": "GoogleCloudAiplatformV1AddContextArtifactsAndExecutionsResponse", +"properties": {}, +"type": "object" +}, +"GoogleCloudAiplatformV1AddContextChildrenRequest": { +"description": "Request message for MetadataService.AddContextChildren.", +"id": "GoogleCloudAiplatformV1AddContextChildrenRequest", +"properties": { +"childContexts": { +"description": "The resource names of the child Contexts.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1AddContextChildrenResponse": { +"description": "Response message for MetadataService.AddContextChildren.", +"id": "GoogleCloudAiplatformV1AddContextChildrenResponse", +"properties": {}, +"type": "object" +}, +"GoogleCloudAiplatformV1AddExecutionEventsRequest": { +"description": "Request message for MetadataService.AddExecutionEvents.", +"id": "GoogleCloudAiplatformV1AddExecutionEventsRequest", +"properties": { +"events": { +"description": "The Events to create and add.", +"items": { +"$ref": "GoogleCloudAiplatformV1Event" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1AddExecutionEventsResponse": { +"description": "Response message for MetadataService.AddExecutionEvents.", +"id": "GoogleCloudAiplatformV1AddExecutionEventsResponse", +"properties": {}, +"type": "object" +}, +"GoogleCloudAiplatformV1AddTrialMeasurementRequest": { +"description": "Request message for VizierService.AddTrialMeasurement.", +"id": "GoogleCloudAiplatformV1AddTrialMeasurementRequest", +"properties": { +"measurement": { +"$ref": "GoogleCloudAiplatformV1Measurement", +"description": "Required. The measurement to be added to a Trial." +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1AggregationOutput": { +"description": "The aggregation result for the entire dataset and all metrics.", +"id": "GoogleCloudAiplatformV1AggregationOutput", +"properties": { +"aggregationResults": { +"description": "One AggregationResult per metric.", +"items": { +"$ref": "GoogleCloudAiplatformV1AggregationResult" +}, +"type": "array" +}, +"dataset": { +"$ref": "GoogleCloudAiplatformV1EvaluationDataset", +"description": "The dataset used for evaluation & aggregation." +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1AggregationResult": { +"description": "The aggregation result for a single metric.", +"id": "GoogleCloudAiplatformV1AggregationResult", +"properties": { +"aggregationMetric": { +"description": "Aggregation metric.", +"enum": [ +"AGGREGATION_METRIC_UNSPECIFIED", +"AVERAGE", +"MODE", +"STANDARD_DEVIATION", +"VARIANCE", +"MINIMUM", +"MAXIMUM", +"MEDIAN", +"PERCENTILE_P90", +"PERCENTILE_P95", +"PERCENTILE_P99" +], +"enumDescriptions": [ +"Unspecified aggregation metric.", +"Average aggregation metric. Not supported for Pairwise metric.", +"Mode aggregation metric.", +"Standard deviation aggregation metric. Not supported for pairwise metric.", +"Variance aggregation metric. Not supported for pairwise metric.", +"Minimum aggregation metric. Not supported for pairwise metric.", +"Maximum aggregation metric. Not supported for pairwise metric.", +"Median aggregation metric. Not supported for pairwise metric.", +"90th percentile aggregation metric. Not supported for pairwise metric.", +"95th percentile aggregation metric. Not supported for pairwise metric.", +"99th percentile aggregation metric. Not supported for pairwise metric." +], +"type": "string" +}, +"bleuMetricValue": { +"$ref": "GoogleCloudAiplatformV1BleuMetricValue", +"description": "Results for bleu metric." +}, +"customCodeExecutionResult": { +"$ref": "GoogleCloudAiplatformV1CustomCodeExecutionResult", +"description": "Result for code execution metric." +}, +"exactMatchMetricValue": { +"$ref": "GoogleCloudAiplatformV1ExactMatchMetricValue", +"description": "Results for exact match metric." +}, +"pairwiseMetricResult": { +"$ref": "GoogleCloudAiplatformV1PairwiseMetricResult", +"description": "Result for pairwise metric." +}, +"pointwiseMetricResult": { +"$ref": "GoogleCloudAiplatformV1PointwiseMetricResult", +"description": "Result for pointwise metric." +}, +"rougeMetricValue": { +"$ref": "GoogleCloudAiplatformV1RougeMetricValue", +"description": "Results for rouge metric." +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1Annotation": { +"description": "Used to assign specific AnnotationSpec to a particular area of a DataItem or the whole part of the DataItem.", +"id": "GoogleCloudAiplatformV1Annotation", +"properties": { +"annotationSource": { +"$ref": "GoogleCloudAiplatformV1UserActionReference", +"description": "Output only. The source of the Annotation.", +"readOnly": true +}, +"createTime": { +"description": "Output only. Timestamp when this Annotation was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"etag": { +"description": "Optional. Used to perform consistent read-modify-write updates. If not set, a blind \"overwrite\" update happens.", +"type": "string" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. The labels with user-defined metadata to organize your Annotations. Label keys and values can be no longer than 64 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. No more than 64 user labels can be associated with one Annotation(System labels are excluded). See https://goo.gl/xmQnxf for more information and examples of labels. System reserved label keys are prefixed with \"aiplatform.googleapis.com/\" and are immutable. Following system labels exist for each Annotation: * \"aiplatform.googleapis.com/annotation_set_name\": optional, name of the UI's annotation set this Annotation belongs to. If not set, the Annotation is not visible in the UI. * \"aiplatform.googleapis.com/payload_schema\": output only, its value is the payload_schema's title.", +"type": "object" +}, +"name": { +"description": "Output only. Resource name of the Annotation.", +"readOnly": true, +"type": "string" +}, +"payload": { +"description": "Required. The schema of the payload can be found in payload_schema.", +"type": "any" +}, +"payloadSchemaUri": { +"description": "Required. Google Cloud Storage URI points to a YAML file describing payload. The schema is defined as an [OpenAPI 3.0.2 Schema Object](https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.0.2.md#schemaObject). The schema files that can be used here are found in gs://google-cloud-aiplatform/schema/dataset/annotation/, note that the chosen schema must be consistent with the parent Dataset's metadata.", +"type": "string" +}, +"updateTime": { +"description": "Output only. Timestamp when this Annotation was last updated.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1AnnotationSpec": { +"description": "Identifies a concept with which DataItems may be annotated with.", +"id": "GoogleCloudAiplatformV1AnnotationSpec", +"properties": { +"createTime": { +"description": "Output only. Timestamp when this AnnotationSpec was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"displayName": { +"description": "Required. The user-defined name of the AnnotationSpec. The name can be up to 128 characters long and can consist of any UTF-8 characters.", +"type": "string" +}, +"etag": { +"description": "Optional. Used to perform consistent read-modify-write updates. If not set, a blind \"overwrite\" update happens.", +"type": "string" +}, +"name": { +"description": "Output only. Resource name of the AnnotationSpec.", +"readOnly": true, +"type": "string" +}, +"updateTime": { +"description": "Output only. Timestamp when AnnotationSpec was last updated.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1ApiAuth": { +"description": "The generic reusable api auth config. Deprecated. Please use AuthConfig (google/cloud/aiplatform/master/auth.proto) instead.", +"id": "GoogleCloudAiplatformV1ApiAuth", +"properties": { +"apiKeyConfig": { +"$ref": "GoogleCloudAiplatformV1ApiAuthApiKeyConfig", +"description": "The API secret." +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1ApiAuthApiKeyConfig": { +"description": "The API secret.", +"id": "GoogleCloudAiplatformV1ApiAuthApiKeyConfig", +"properties": { +"apiKeySecretVersion": { +"description": "Required. The SecretManager secret version resource name storing API key. e.g. projects/{project}/secrets/{secret}/versions/{version}", +"type": "string" +}, +"apiKeyString": { +"description": "The API key string. Either this or `api_key_secret_version` must be set.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1AppendEventResponse": { +"description": "Response message for SessionService.AppendEvent.", +"id": "GoogleCloudAiplatformV1AppendEventResponse", +"properties": {}, +"type": "object" +}, +"GoogleCloudAiplatformV1Artifact": { +"description": "Instance of a general artifact.", +"id": "GoogleCloudAiplatformV1Artifact", +"properties": { +"createTime": { +"description": "Output only. Timestamp when this Artifact was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"description": { +"description": "Description of the Artifact", +"type": "string" +}, +"displayName": { +"description": "User provided display name of the Artifact. May be up to 128 Unicode characters.", +"type": "string" +}, +"etag": { +"description": "An eTag used to perform consistent read-modify-write updates. If not set, a blind \"overwrite\" update happens.", +"type": "string" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "The labels with user-defined metadata to organize your Artifacts. Label keys and values can be no longer than 64 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. No more than 64 user labels can be associated with one Artifact (System labels are excluded).", +"type": "object" +}, +"metadata": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"description": "Properties of the Artifact. Top level metadata keys' heading and trailing spaces will be trimmed. The size of this field should not exceed 200KB.", +"type": "object" +}, +"name": { +"description": "Output only. The resource name of the Artifact.", +"readOnly": true, +"type": "string" +}, +"schemaTitle": { +"description": "The title of the schema describing the metadata. Schema title and version is expected to be registered in earlier Create Schema calls. And both are used together as unique identifiers to identify schemas within the local metadata store.", +"type": "string" +}, +"schemaVersion": { +"description": "The version of the schema in schema_name to use. Schema title and version is expected to be registered in earlier Create Schema calls. And both are used together as unique identifiers to identify schemas within the local metadata store.", +"type": "string" +}, +"state": { +"description": "The state of this Artifact. This is a property of the Artifact, and does not imply or capture any ongoing process. This property is managed by clients (such as Vertex AI Pipelines), and the system does not prescribe or check the validity of state transitions.", +"enum": [ +"STATE_UNSPECIFIED", +"PENDING", +"LIVE" +], +"enumDescriptions": [ +"Unspecified state for the Artifact.", +"A state used by systems like Vertex AI Pipelines to indicate that the underlying data item represented by this Artifact is being created.", +"A state indicating that the Artifact should exist, unless something external to the system deletes it." +], +"type": "string" +}, +"updateTime": { +"description": "Output only. Timestamp when this Artifact was last updated.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"uri": { +"description": "The uniform resource identifier of the artifact file. May be empty if there is no actual artifact file.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1AssignNotebookRuntimeOperationMetadata": { +"description": "Metadata information for NotebookService.AssignNotebookRuntime.", +"id": "GoogleCloudAiplatformV1AssignNotebookRuntimeOperationMetadata", +"properties": { +"genericMetadata": { +"$ref": "GoogleCloudAiplatformV1GenericOperationMetadata", +"description": "The operation generic information." +}, +"progressMessage": { +"description": "A human-readable message that shows the intermediate progress details of NotebookRuntime.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1AssignNotebookRuntimeRequest": { +"description": "Request message for NotebookService.AssignNotebookRuntime.", +"id": "GoogleCloudAiplatformV1AssignNotebookRuntimeRequest", +"properties": { +"notebookRuntime": { +"$ref": "GoogleCloudAiplatformV1NotebookRuntime", +"description": "Required. Provide runtime specific information (e.g. runtime owner, notebook id) used for NotebookRuntime assignment." +}, +"notebookRuntimeId": { +"description": "Optional. User specified ID for the notebook runtime.", +"type": "string" +}, +"notebookRuntimeTemplate": { +"description": "Required. The resource name of the NotebookRuntimeTemplate based on which a NotebookRuntime will be assigned (reuse or create a new one).", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1Attribution": { +"description": "Attribution that explains a particular prediction output.", +"id": "GoogleCloudAiplatformV1Attribution", +"properties": { +"approximationError": { +"description": "Output only. Error of feature_attributions caused by approximation used in the explanation method. Lower value means more precise attributions. * For Sampled Shapley attribution, increasing path_count might reduce the error. * For Integrated Gradients attribution, increasing step_count might reduce the error. * For XRAI attribution, increasing step_count might reduce the error. See [this introduction](/vertex-ai/docs/explainable-ai/overview) for more information.", +"format": "double", +"readOnly": true, +"type": "number" +}, +"baselineOutputValue": { +"description": "Output only. Model predicted output if the input instance is constructed from the baselines of all the features defined in ExplanationMetadata.inputs. The field name of the output is determined by the key in ExplanationMetadata.outputs. If the Model's predicted output has multiple dimensions (rank > 1), this is the value in the output located by output_index. If there are multiple baselines, their output values are averaged.", +"format": "double", +"readOnly": true, +"type": "number" +}, +"featureAttributions": { +"description": "Output only. Attributions of each explained feature. Features are extracted from the prediction instances according to explanation metadata for inputs. The value is a struct, whose keys are the name of the feature. The values are how much the feature in the instance contributed to the predicted result. The format of the value is determined by the feature's input format: * If the feature is a scalar value, the attribution value is a floating number. * If the feature is an array of scalar values, the attribution value is an array. * If the feature is a struct, the attribution value is a struct. The keys in the attribution value struct are the same as the keys in the feature struct. The formats of the values in the attribution struct are determined by the formats of the values in the feature struct. The ExplanationMetadata.feature_attributions_schema_uri field, pointed to by the ExplanationSpec field of the Endpoint.deployed_models object, points to the schema file that describes the features and their attribution values (if it is populated).", +"readOnly": true, +"type": "any" +}, +"instanceOutputValue": { +"description": "Output only. Model predicted output on the corresponding explanation instance. The field name of the output is determined by the key in ExplanationMetadata.outputs. If the Model predicted output has multiple dimensions, this is the value in the output located by output_index.", +"format": "double", +"readOnly": true, +"type": "number" +}, +"outputDisplayName": { +"description": "Output only. The display name of the output identified by output_index. For example, the predicted class name by a multi-classification Model. This field is only populated iff the Model predicts display names as a separate field along with the explained output. The predicted display name must has the same shape of the explained output, and can be located using output_index.", +"readOnly": true, +"type": "string" +}, +"outputIndex": { +"description": "Output only. The index that locates the explained prediction output. If the prediction output is a scalar value, output_index is not populated. If the prediction output has multiple dimensions, the length of the output_index list is the same as the number of dimensions of the output. The i-th element in output_index is the element index of the i-th dimension of the output vector. Indices start from 0.", +"items": { +"format": "int32", +"type": "integer" +}, +"readOnly": true, +"type": "array" +}, +"outputName": { +"description": "Output only. Name of the explain output. Specified as the key in ExplanationMetadata.outputs.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1AugmentPromptRequest": { +"description": "Request message for AugmentPrompt.", +"id": "GoogleCloudAiplatformV1AugmentPromptRequest", +"properties": { +"contents": { +"description": "Optional. Input content to augment, only text format is supported for now.", +"items": { +"$ref": "GoogleCloudAiplatformV1Content" +}, +"type": "array" +}, +"model": { +"$ref": "GoogleCloudAiplatformV1AugmentPromptRequestModel", +"description": "Optional. Metadata of the backend deployed model." +}, +"vertexRagStore": { +"$ref": "GoogleCloudAiplatformV1VertexRagStore", +"description": "Optional. Retrieves contexts from the Vertex RagStore." +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1AugmentPromptRequestModel": { +"description": "Metadata of the backend deployed model.", +"id": "GoogleCloudAiplatformV1AugmentPromptRequestModel", +"properties": { +"model": { +"description": "Optional. The model that the user will send the augmented prompt for content generation.", +"type": "string" +}, +"modelVersion": { +"description": "Optional. The model version of the backend deployed model.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1AugmentPromptResponse": { +"description": "Response message for AugmentPrompt.", +"id": "GoogleCloudAiplatformV1AugmentPromptResponse", +"properties": { +"augmentedPrompt": { +"description": "Augmented prompt, only text format is supported for now.", +"items": { +"$ref": "GoogleCloudAiplatformV1Content" +}, +"type": "array" +}, +"facts": { +"description": "Retrieved facts from RAG data sources.", +"items": { +"$ref": "GoogleCloudAiplatformV1Fact" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1AuthConfig": { +"description": "Auth configuration to run the extension.", +"id": "GoogleCloudAiplatformV1AuthConfig", +"properties": { +"apiKeyConfig": { +"$ref": "GoogleCloudAiplatformV1AuthConfigApiKeyConfig", +"description": "Config for API key auth." +}, +"authType": { +"description": "Type of auth scheme.", +"enum": [ +"AUTH_TYPE_UNSPECIFIED", +"NO_AUTH", +"API_KEY_AUTH", +"HTTP_BASIC_AUTH", +"GOOGLE_SERVICE_ACCOUNT_AUTH", +"OAUTH", +"OIDC_AUTH" +], +"enumDescriptions": [ +"", +"No Auth.", +"API Key Auth.", +"HTTP Basic Auth.", +"Google Service Account Auth.", +"OAuth auth.", +"OpenID Connect (OIDC) Auth." +], +"type": "string" +}, +"googleServiceAccountConfig": { +"$ref": "GoogleCloudAiplatformV1AuthConfigGoogleServiceAccountConfig", +"description": "Config for Google Service Account auth." +}, +"httpBasicAuthConfig": { +"$ref": "GoogleCloudAiplatformV1AuthConfigHttpBasicAuthConfig", +"description": "Config for HTTP Basic auth." +}, +"oauthConfig": { +"$ref": "GoogleCloudAiplatformV1AuthConfigOauthConfig", +"description": "Config for user oauth." +}, +"oidcConfig": { +"$ref": "GoogleCloudAiplatformV1AuthConfigOidcConfig", +"description": "Config for user OIDC auth." +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1AuthConfigApiKeyConfig": { +"description": "Config for authentication with API key.", +"id": "GoogleCloudAiplatformV1AuthConfigApiKeyConfig", +"properties": { +"apiKeySecret": { +"description": "Optional. The name of the SecretManager secret version resource storing the API key. Format: `projects/{project}/secrets/{secrete}/versions/{version}` - If both `api_key_secret` and `api_key_string` are specified, this field takes precedence over `api_key_string`. - If specified, the `secretmanager.versions.access` permission should be granted to Vertex AI Extension Service Agent (https://cloud.google.com/vertex-ai/docs/general/access-control#service-agents) on the specified resource.", +"type": "string" +}, +"apiKeyString": { +"description": "Optional. The API key to be used in the request directly.", +"type": "string" +}, +"httpElementLocation": { +"description": "Optional. The location of the API key.", +"enum": [ +"HTTP_IN_UNSPECIFIED", +"HTTP_IN_QUERY", +"HTTP_IN_HEADER", +"HTTP_IN_PATH", +"HTTP_IN_BODY", +"HTTP_IN_COOKIE" +], +"enumDescriptions": [ +"", +"Element is in the HTTP request query.", +"Element is in the HTTP request header.", +"Element is in the HTTP request path.", +"Element is in the HTTP request body.", +"Element is in the HTTP request cookie." +], +"type": "string" +}, +"name": { +"description": "Optional. The parameter name of the API key. E.g. If the API request is \"https://example.com/act?api_key=\", \"api_key\" would be the parameter name.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1AuthConfigGoogleServiceAccountConfig": { +"description": "Config for Google Service Account Authentication.", +"id": "GoogleCloudAiplatformV1AuthConfigGoogleServiceAccountConfig", +"properties": { +"serviceAccount": { +"description": "Optional. The service account that the extension execution service runs as. - If the service account is specified, the `iam.serviceAccounts.getAccessToken` permission should be granted to Vertex AI Extension Service Agent (https://cloud.google.com/vertex-ai/docs/general/access-control#service-agents) on the specified service account. - If not specified, the Vertex AI Extension Service Agent will be used to execute the Extension.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1AuthConfigHttpBasicAuthConfig": { +"description": "Config for HTTP Basic Authentication.", +"id": "GoogleCloudAiplatformV1AuthConfigHttpBasicAuthConfig", +"properties": { +"credentialSecret": { +"description": "Required. The name of the SecretManager secret version resource storing the base64 encoded credentials. Format: `projects/{project}/secrets/{secrete}/versions/{version}` - If specified, the `secretmanager.versions.access` permission should be granted to Vertex AI Extension Service Agent (https://cloud.google.com/vertex-ai/docs/general/access-control#service-agents) on the specified resource.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1AuthConfigOauthConfig": { +"description": "Config for user oauth.", +"id": "GoogleCloudAiplatformV1AuthConfigOauthConfig", +"properties": { +"accessToken": { +"description": "Access token for extension endpoint. Only used to propagate token from [[ExecuteExtensionRequest.runtime_auth_config]] at request time.", +"type": "string" +}, +"serviceAccount": { +"description": "The service account used to generate access tokens for executing the Extension. - If the service account is specified, the `iam.serviceAccounts.getAccessToken` permission should be granted to Vertex AI Extension Service Agent (https://cloud.google.com/vertex-ai/docs/general/access-control#service-agents) on the provided service account.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1AuthConfigOidcConfig": { +"description": "Config for user OIDC auth.", +"id": "GoogleCloudAiplatformV1AuthConfigOidcConfig", +"properties": { +"idToken": { +"description": "OpenID Connect formatted ID token for extension endpoint. Only used to propagate token from [[ExecuteExtensionRequest.runtime_auth_config]] at request time.", +"type": "string" +}, +"serviceAccount": { +"description": "The service account used to generate an OpenID Connect (OIDC)-compatible JWT token signed by the Google OIDC Provider (accounts.google.com) for extension endpoint (https://cloud.google.com/iam/docs/create-short-lived-credentials-direct#sa-credentials-oidc). - The audience for the token will be set to the URL in the server url defined in the OpenApi spec. - If the service account is provided, the service account should grant `iam.serviceAccounts.getOpenIdToken` permission to Vertex AI Extension Service Agent (https://cloud.google.com/vertex-ai/docs/general/access-control#service-agents).", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1AutomaticResources": { +"description": "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.", +"id": "GoogleCloudAiplatformV1AutomaticResources", +"properties": { +"maxReplicaCount": { +"description": "Immutable. The maximum number of replicas that may be deployed on when the traffic against it increases. If the requested value is too large, the deployment will error, but if deployment succeeds then the ability to scale to that many replicas is guaranteed (barring service outages). If traffic 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 Vertex AI may be unable to scale beyond certain replica number.", +"format": "int32", +"type": "integer" +}, +"minReplicaCount": { +"description": "Immutable. The minimum number of replicas that will be always deployed on. If traffic against it increases, it may dynamically be deployed onto more replicas up to max_replica_count, and as traffic decreases, some of these extra replicas may be freed. If the requested value is too large, the deployment will error.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1AutoraterConfig": { +"description": "The configs for autorater. This is applicable to both EvaluateInstances and EvaluateDataset.", +"id": "GoogleCloudAiplatformV1AutoraterConfig", +"properties": { +"autoraterModel": { +"description": "Optional. The fully qualified name of the publisher model or tuned autorater endpoint to use. Publisher model format: `projects/{project}/locations/{location}/publishers/*/models/*` Tuned model endpoint format: `projects/{project}/locations/{location}/endpoints/{endpoint}`", +"type": "string" +}, +"flipEnabled": { +"description": "Optional. Default is true. Whether to flip the candidate and baseline responses. This is only applicable to the pairwise metric. If enabled, also provide PairwiseMetricSpec.candidate_response_field_name and PairwiseMetricSpec.baseline_response_field_name. When rendering PairwiseMetricSpec.metric_prompt_template, the candidate and baseline fields will be flipped for half of the samples to reduce bias.", +"type": "boolean" +}, +"generationConfig": { +"$ref": "GoogleCloudAiplatformV1GenerationConfig", +"description": "Optional. Configuration options for model generation and outputs." +}, +"samplingCount": { +"description": "Optional. Number of samples for each instance in the dataset. If not specified, the default is 4. Minimum value is 1, maximum value is 32.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1AutoscalingMetricSpec": { +"description": "The metric specification that defines the target resource utilization (CPU utilization, accelerator's duty cycle, and so on) for calculating the desired replica count.", +"id": "GoogleCloudAiplatformV1AutoscalingMetricSpec", +"properties": { +"metricName": { +"description": "Required. The resource metric name. Supported metrics: * For Online Prediction: * `aiplatform.googleapis.com/prediction/online/accelerator/duty_cycle` * `aiplatform.googleapis.com/prediction/online/cpu/utilization` * `aiplatform.googleapis.com/prediction/online/request_count` * `pubsub.googleapis.com/subscription/num_undelivered_messages` * `prometheus.googleapis.com/vertex_dcgm_fi_dev_gpu_util` * `prometheus.googleapis.com/vertex_vllm_gpu_cache_usage_perc` * `prometheus.googleapis.com/vertex_vllm_num_requests_waiting`", +"type": "string" +}, +"target": { +"description": "The target resource utilization in percentage (1% - 100%) for the given metric; once the real usage deviates from the target by a certain percentage, the machine replicas change. The default value is 60 (representing 60%) if not provided.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1AvroSource": { +"description": "The storage details for Avro input content.", +"id": "GoogleCloudAiplatformV1AvroSource", +"properties": { +"gcsSource": { +"$ref": "GoogleCloudAiplatformV1GcsSource", +"description": "Required. Google Cloud Storage location." +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1BatchCancelPipelineJobsRequest": { +"description": "Request message for PipelineService.BatchCancelPipelineJobs.", +"id": "GoogleCloudAiplatformV1BatchCancelPipelineJobsRequest", +"properties": { +"names": { +"description": "Required. The names of the PipelineJobs to cancel. A maximum of 32 PipelineJobs can be cancelled in a batch. Format: `projects/{project}/locations/{location}/pipelineJobs/{pipelineJob}`", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1BatchCreateFeaturesOperationMetadata": { +"description": "Details of operations that perform batch create Features.", +"id": "GoogleCloudAiplatformV1BatchCreateFeaturesOperationMetadata", +"properties": { +"genericMetadata": { +"$ref": "GoogleCloudAiplatformV1GenericOperationMetadata", +"description": "Operation metadata for Feature." +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1BatchCreateFeaturesRequest": { +"description": "Request message for FeaturestoreService.BatchCreateFeatures. Request message for FeatureRegistryService.BatchCreateFeatures.", +"id": "GoogleCloudAiplatformV1BatchCreateFeaturesRequest", +"properties": { +"requests": { +"description": "Required. The request message specifying the Features to create. All Features must be created under the same parent EntityType / FeatureGroup. The `parent` field in each child request message can be omitted. If `parent` is set in a child request, then the value must match the `parent` value in this request message.", +"items": { +"$ref": "GoogleCloudAiplatformV1CreateFeatureRequest" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1BatchCreateFeaturesResponse": { +"description": "Response message for FeaturestoreService.BatchCreateFeatures.", +"id": "GoogleCloudAiplatformV1BatchCreateFeaturesResponse", +"properties": { +"features": { +"description": "The Features created.", +"items": { +"$ref": "GoogleCloudAiplatformV1Feature" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1BatchCreateTensorboardRunsRequest": { +"description": "Request message for TensorboardService.BatchCreateTensorboardRuns.", +"id": "GoogleCloudAiplatformV1BatchCreateTensorboardRunsRequest", +"properties": { +"requests": { +"description": "Required. The request message specifying the TensorboardRuns to create. A maximum of 1000 TensorboardRuns can be created in a batch.", +"items": { +"$ref": "GoogleCloudAiplatformV1CreateTensorboardRunRequest" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1BatchCreateTensorboardRunsResponse": { +"description": "Response message for TensorboardService.BatchCreateTensorboardRuns.", +"id": "GoogleCloudAiplatformV1BatchCreateTensorboardRunsResponse", +"properties": { +"tensorboardRuns": { +"description": "The created TensorboardRuns.", +"items": { +"$ref": "GoogleCloudAiplatformV1TensorboardRun" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1BatchCreateTensorboardTimeSeriesRequest": { +"description": "Request message for TensorboardService.BatchCreateTensorboardTimeSeries.", +"id": "GoogleCloudAiplatformV1BatchCreateTensorboardTimeSeriesRequest", +"properties": { +"requests": { +"description": "Required. The request message specifying the TensorboardTimeSeries to create. A maximum of 1000 TensorboardTimeSeries can be created in a batch.", +"items": { +"$ref": "GoogleCloudAiplatformV1CreateTensorboardTimeSeriesRequest" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1BatchCreateTensorboardTimeSeriesResponse": { +"description": "Response message for TensorboardService.BatchCreateTensorboardTimeSeries.", +"id": "GoogleCloudAiplatformV1BatchCreateTensorboardTimeSeriesResponse", +"properties": { +"tensorboardTimeSeries": { +"description": "The created TensorboardTimeSeries.", +"items": { +"$ref": "GoogleCloudAiplatformV1TensorboardTimeSeries" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1BatchDedicatedResources": { +"description": "A description of resources that are used for performing batch operations, are dedicated to a Model, and need manual configuration.", +"id": "GoogleCloudAiplatformV1BatchDedicatedResources", +"properties": { +"machineSpec": { +"$ref": "GoogleCloudAiplatformV1MachineSpec", +"description": "Required. Immutable. The specification of a single machine." +}, +"maxReplicaCount": { +"description": "Immutable. The maximum number of machine replicas the batch operation may be scaled to. The default value is 10.", +"format": "int32", +"type": "integer" +}, +"startingReplicaCount": { +"description": "Immutable. The number of machine replicas used at the start of the batch operation. If not set, Vertex AI decides starting number, not greater than max_replica_count", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1BatchDeletePipelineJobsRequest": { +"description": "Request message for PipelineService.BatchDeletePipelineJobs.", +"id": "GoogleCloudAiplatformV1BatchDeletePipelineJobsRequest", +"properties": { +"names": { +"description": "Required. The names of the PipelineJobs to delete. A maximum of 32 PipelineJobs can be deleted in a batch. Format: `projects/{project}/locations/{location}/pipelineJobs/{pipelineJob}`", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1BatchImportEvaluatedAnnotationsRequest": { +"description": "Request message for ModelService.BatchImportEvaluatedAnnotations", +"id": "GoogleCloudAiplatformV1BatchImportEvaluatedAnnotationsRequest", +"properties": { +"evaluatedAnnotations": { +"description": "Required. Evaluated annotations resource to be imported.", +"items": { +"$ref": "GoogleCloudAiplatformV1EvaluatedAnnotation" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1BatchImportEvaluatedAnnotationsResponse": { +"description": "Response message for ModelService.BatchImportEvaluatedAnnotations", +"id": "GoogleCloudAiplatformV1BatchImportEvaluatedAnnotationsResponse", +"properties": { +"importedEvaluatedAnnotationsCount": { +"description": "Output only. Number of EvaluatedAnnotations imported.", +"format": "int32", +"readOnly": true, +"type": "integer" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1BatchImportModelEvaluationSlicesRequest": { +"description": "Request message for ModelService.BatchImportModelEvaluationSlices", +"id": "GoogleCloudAiplatformV1BatchImportModelEvaluationSlicesRequest", +"properties": { +"modelEvaluationSlices": { +"description": "Required. Model evaluation slice resource to be imported.", +"items": { +"$ref": "GoogleCloudAiplatformV1ModelEvaluationSlice" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1BatchImportModelEvaluationSlicesResponse": { +"description": "Response message for ModelService.BatchImportModelEvaluationSlices", +"id": "GoogleCloudAiplatformV1BatchImportModelEvaluationSlicesResponse", +"properties": { +"importedModelEvaluationSlices": { +"description": "Output only. List of imported ModelEvaluationSlice.name.", +"items": { +"type": "string" +}, +"readOnly": true, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1BatchMigrateResourcesOperationMetadata": { +"description": "Runtime operation information for MigrationService.BatchMigrateResources.", +"id": "GoogleCloudAiplatformV1BatchMigrateResourcesOperationMetadata", +"properties": { +"genericMetadata": { +"$ref": "GoogleCloudAiplatformV1GenericOperationMetadata", +"description": "The common part of the operation metadata." +}, +"partialResults": { +"description": "Partial results that reflect the latest migration operation progress.", +"items": { +"$ref": "GoogleCloudAiplatformV1BatchMigrateResourcesOperationMetadataPartialResult" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1BatchMigrateResourcesOperationMetadataPartialResult": { +"description": "Represents a partial result in batch migration operation for one MigrateResourceRequest.", +"id": "GoogleCloudAiplatformV1BatchMigrateResourcesOperationMetadataPartialResult", +"properties": { +"dataset": { +"description": "Migrated dataset resource name.", +"type": "string" +}, +"error": { +"$ref": "GoogleRpcStatus", +"description": "The error result of the migration request in case of failure." +}, +"model": { +"description": "Migrated model resource name.", +"type": "string" +}, +"request": { +"$ref": "GoogleCloudAiplatformV1MigrateResourceRequest", +"description": "It's the same as the value in BatchMigrateResourcesRequest.migrate_resource_requests." +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1BatchMigrateResourcesRequest": { +"description": "Request message for MigrationService.BatchMigrateResources.", +"id": "GoogleCloudAiplatformV1BatchMigrateResourcesRequest", +"properties": { +"migrateResourceRequests": { +"description": "Required. The request messages specifying the resources to migrate. They must be in the same location as the destination. Up to 50 resources can be migrated in one batch.", +"items": { +"$ref": "GoogleCloudAiplatformV1MigrateResourceRequest" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1BatchMigrateResourcesResponse": { +"description": "Response message for MigrationService.BatchMigrateResources.", +"id": "GoogleCloudAiplatformV1BatchMigrateResourcesResponse", +"properties": { +"migrateResourceResponses": { +"description": "Successfully migrated resources.", +"items": { +"$ref": "GoogleCloudAiplatformV1MigrateResourceResponse" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1BatchPredictionJob": { +"description": "A job that uses a Model to produce predictions on multiple input instances. If predictions for significant portion of the instances fail, the job may finish without attempting predictions for all remaining instances.", +"id": "GoogleCloudAiplatformV1BatchPredictionJob", +"properties": { +"completionStats": { +"$ref": "GoogleCloudAiplatformV1CompletionStats", +"description": "Output only. Statistics on completed and failed prediction instances.", +"readOnly": true +}, +"createTime": { +"description": "Output only. Time when the BatchPredictionJob was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"dedicatedResources": { +"$ref": "GoogleCloudAiplatformV1BatchDedicatedResources", +"description": "The config of resources used by the Model during the batch prediction. If the Model supports DEDICATED_RESOURCES this config may be provided (and the job will use these resources), if the Model doesn't support AUTOMATIC_RESOURCES, this config must be provided." +}, +"disableContainerLogging": { +"description": "For custom-trained Models and AutoML Tabular Models, the container of the DeployedModel instances will send `stderr` and `stdout` streams to Cloud Logging by default. Please note that the logs incur cost, which are subject to [Cloud Logging pricing](https://cloud.google.com/logging/pricing). User can disable container logging by setting this flag to true.", +"type": "boolean" +}, +"displayName": { +"description": "Required. The user-defined name of this BatchPredictionJob.", +"type": "string" +}, +"encryptionSpec": { +"$ref": "GoogleCloudAiplatformV1EncryptionSpec", +"description": "Customer-managed encryption key options for a BatchPredictionJob. If this is set, then all resources created by the BatchPredictionJob will be encrypted with the provided encryption key." +}, +"endTime": { +"description": "Output only. Time when the BatchPredictionJob entered any of the following states: `JOB_STATE_SUCCEEDED`, `JOB_STATE_FAILED`, `JOB_STATE_CANCELLED`.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"error": { +"$ref": "GoogleRpcStatus", +"description": "Output only. Only populated when the job's state is JOB_STATE_FAILED or JOB_STATE_CANCELLED.", +"readOnly": true +}, +"explanationSpec": { +"$ref": "GoogleCloudAiplatformV1ExplanationSpec", +"description": "Explanation configuration for this BatchPredictionJob. Can be specified only if generate_explanation is set to `true`. This value overrides the value of Model.explanation_spec. All fields of explanation_spec are optional in the request. If a field of the explanation_spec object is not populated, the corresponding field of the Model.explanation_spec object is inherited." +}, +"generateExplanation": { +"description": "Generate explanation with the batch prediction results. When set to `true`, the batch prediction output changes based on the `predictions_format` field of the BatchPredictionJob.output_config object: * `bigquery`: output includes a column named `explanation`. The value is a struct that conforms to the Explanation object. * `jsonl`: The JSON objects on each line include an additional entry keyed `explanation`. The value of the entry is a JSON object that conforms to the Explanation object. * `csv`: Generating explanations for CSV format is not supported. If this field is set to true, either the Model.explanation_spec or explanation_spec must be populated.", +"type": "boolean" +}, +"inputConfig": { +"$ref": "GoogleCloudAiplatformV1BatchPredictionJobInputConfig", +"description": "Required. Input configuration of the instances on which predictions are performed. The schema of any single instance may be specified via the Model's PredictSchemata's instance_schema_uri." +}, +"instanceConfig": { +"$ref": "GoogleCloudAiplatformV1BatchPredictionJobInstanceConfig", +"description": "Configuration for how to convert batch prediction input instances to the prediction instances that are sent to the Model." +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "The labels with user-defined metadata to organize BatchPredictionJobs. Label keys and values can be no longer than 64 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. See https://goo.gl/xmQnxf for more information and examples of labels.", +"type": "object" +}, +"manualBatchTuningParameters": { +"$ref": "GoogleCloudAiplatformV1ManualBatchTuningParameters", +"description": "Immutable. Parameters configuring the batch behavior. Currently only applicable when dedicated_resources are used (in other cases Vertex AI does the tuning itself)." +}, +"model": { +"description": "The name of the Model resource that produces the predictions via this job, must share the same ancestor Location. Starting this job has no impact on any existing deployments of the Model and their resources. Exactly one of model, unmanaged_container_model, or endpoint must be set. The model resource name may contain version id or version alias to specify the version. Example: `projects/{project}/locations/{location}/models/{model}@2` or `projects/{project}/locations/{location}/models/{model}@golden` if no version is specified, the default version will be deployed. The model resource could also be a publisher model. Example: `publishers/{publisher}/models/{model}` or `projects/{project}/locations/{location}/publishers/{publisher}/models/{model}`", +"type": "string" +}, +"modelParameters": { +"description": "The parameters that govern the predictions. The schema of the parameters may be specified via the Model's PredictSchemata's parameters_schema_uri.", +"type": "any" +}, +"modelVersionId": { +"description": "Output only. The version ID of the Model that produces the predictions via this job.", +"readOnly": true, +"type": "string" +}, +"name": { +"description": "Output only. Resource name of the BatchPredictionJob.", +"readOnly": true, +"type": "string" +}, +"outputConfig": { +"$ref": "GoogleCloudAiplatformV1BatchPredictionJobOutputConfig", +"description": "Required. The Configuration specifying where output predictions should be written. The schema of any single prediction may be specified as a concatenation of Model's PredictSchemata's instance_schema_uri and prediction_schema_uri." +}, +"outputInfo": { +"$ref": "GoogleCloudAiplatformV1BatchPredictionJobOutputInfo", +"description": "Output only. Information further describing the output of this job.", +"readOnly": true +}, +"partialFailures": { +"description": "Output only. Partial failures encountered. For example, single files that can't be read. This field never exceeds 20 entries. Status details fields contain standard Google Cloud error details.", +"items": { +"$ref": "GoogleRpcStatus" +}, +"readOnly": true, +"type": "array" +}, +"resourcesConsumed": { +"$ref": "GoogleCloudAiplatformV1ResourcesConsumed", +"description": "Output only. Information about resources that had been consumed by this job. Provided in real time at best effort basis, as well as a final value once the job completes. Note: This field currently may be not populated for batch predictions that use AutoML Models.", +"readOnly": true +}, +"satisfiesPzi": { +"description": "Output only. Reserved for future use.", +"readOnly": true, +"type": "boolean" +}, +"satisfiesPzs": { +"description": "Output only. Reserved for future use.", +"readOnly": true, +"type": "boolean" +}, +"serviceAccount": { +"description": "The service account that the DeployedModel's container runs as. If not specified, a system generated one will be used, which has minimal permissions and the custom container, if used, may not have enough permission to access other Google Cloud resources. Users deploying the Model must have the `iam.serviceAccounts.actAs` permission on this service account.", +"type": "string" +}, +"startTime": { +"description": "Output only. Time when the BatchPredictionJob for the first time entered the `JOB_STATE_RUNNING` state.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"state": { +"description": "Output only. The detailed state of the job.", +"enum": [ +"JOB_STATE_UNSPECIFIED", +"JOB_STATE_QUEUED", +"JOB_STATE_PENDING", +"JOB_STATE_RUNNING", +"JOB_STATE_SUCCEEDED", +"JOB_STATE_FAILED", +"JOB_STATE_CANCELLING", +"JOB_STATE_CANCELLED", +"JOB_STATE_PAUSED", +"JOB_STATE_EXPIRED", +"JOB_STATE_UPDATING", +"JOB_STATE_PARTIALLY_SUCCEEDED" +], +"enumDescriptions": [ +"The job state is unspecified.", +"The job has been just created or resumed and processing has not yet begun.", +"The service is preparing to run the job.", +"The job is in progress.", +"The job completed successfully.", +"The job failed.", +"The job is being cancelled. From this state the job may only go to either `JOB_STATE_SUCCEEDED`, `JOB_STATE_FAILED` or `JOB_STATE_CANCELLED`.", +"The job has been cancelled.", +"The job has been stopped, and can be resumed.", +"The job has expired.", +"The job is being updated. Only jobs in the `RUNNING` state can be updated. After updating, the job goes back to the `RUNNING` state.", +"The job is partially succeeded, some results may be missing due to errors." +], +"readOnly": true, +"type": "string" +}, +"unmanagedContainerModel": { +"$ref": "GoogleCloudAiplatformV1UnmanagedContainerModel", +"description": "Contains model information necessary to perform batch prediction without requiring uploading to model registry. Exactly one of model, unmanaged_container_model, or endpoint must be set." +}, +"updateTime": { +"description": "Output only. Time when the BatchPredictionJob was most recently updated.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1BatchPredictionJobInputConfig": { +"description": "Configures the input to BatchPredictionJob. See Model.supported_input_storage_formats for Model's supported input formats, and how instances should be expressed via any of them.", +"id": "GoogleCloudAiplatformV1BatchPredictionJobInputConfig", +"properties": { +"bigquerySource": { +"$ref": "GoogleCloudAiplatformV1BigQuerySource", +"description": "The BigQuery location of the input table. The schema of the table should be in the format described by the given context OpenAPI Schema, if one is provided. The table may contain additional columns that are not described by the schema, and they will be ignored." +}, +"gcsSource": { +"$ref": "GoogleCloudAiplatformV1GcsSource", +"description": "The Cloud Storage location for the input instances." +}, +"instancesFormat": { +"description": "Required. The format in which instances are given, must be one of the Model's supported_input_storage_formats.", +"type": "string" +}, +"vertexMultimodalDatasetSource": { +"$ref": "GoogleCloudAiplatformV1VertexMultimodalDatasetSource", +"description": "A Vertex Managed Dataset. Currently, only datasets of type Multimodal are supported." +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1BatchPredictionJobInstanceConfig": { +"description": "Configuration defining how to transform batch prediction input instances to the instances that the Model accepts.", +"id": "GoogleCloudAiplatformV1BatchPredictionJobInstanceConfig", +"properties": { +"excludedFields": { +"description": "Fields that will be excluded in the prediction instance that is sent to the Model. Excluded will be attached to the batch prediction output if key_field is not specified. When excluded_fields is populated, included_fields must be empty. The input must be JSONL with objects at each line, BigQuery or TfRecord.", +"items": { +"type": "string" +}, +"type": "array" +}, +"includedFields": { +"description": "Fields that will be included in the prediction instance that is sent to the Model. If instance_type is `array`, the order of field names in included_fields also determines the order of the values in the array. When included_fields is populated, excluded_fields must be empty. The input must be JSONL with objects at each line, BigQuery or TfRecord.", +"items": { +"type": "string" +}, +"type": "array" +}, +"instanceType": { +"description": "The format of the instance that the Model accepts. Vertex AI will convert compatible batch prediction input instance formats to the specified format. Supported values are: * `object`: Each input is converted to JSON object format. * For `bigquery`, each row is converted to an object. * For `jsonl`, each line of the JSONL input must be an object. * Does not apply to `csv`, `file-list`, `tf-record`, or `tf-record-gzip`. * `array`: Each input is converted to JSON array format. * For `bigquery`, each row is converted to an array. The order of columns is determined by the BigQuery column order, unless included_fields is populated. included_fields must be populated for specifying field orders. * For `jsonl`, if each line of the JSONL input is an object, included_fields must be populated for specifying field orders. * Does not apply to `csv`, `file-list`, `tf-record`, or `tf-record-gzip`. If not specified, Vertex AI converts the batch prediction input as follows: * For `bigquery` and `csv`, the behavior is the same as `array`. The order of columns is the same as defined in the file or table, unless included_fields is populated. * For `jsonl`, the prediction instance format is determined by each line of the input. * For `tf-record`/`tf-record-gzip`, each record will be converted to an object in the format of `{\"b64\": }`, where `` is the Base64-encoded string of the content of the record. * For `file-list`, each file in the list will be converted to an object in the format of `{\"b64\": }`, where `` is the Base64-encoded string of the content of the file.", +"type": "string" +}, +"keyField": { +"description": "The name of the field that is considered as a key. The values identified by the key field is not included in the transformed instances that is sent to the Model. This is similar to specifying this name of the field in excluded_fields. In addition, the batch prediction output will not include the instances. Instead the output will only include the value of the key field, in a field named `key` in the output: * For `jsonl` output format, the output will have a `key` field instead of the `instance` field. * For `csv`/`bigquery` output format, the output will have have a `key` column instead of the instance feature columns. The input must be JSONL with objects at each line, CSV, BigQuery or TfRecord.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1BatchPredictionJobOutputConfig": { +"description": "Configures the output of BatchPredictionJob. See Model.supported_output_storage_formats for supported output formats, and how predictions are expressed via any of them.", +"id": "GoogleCloudAiplatformV1BatchPredictionJobOutputConfig", +"properties": { +"bigqueryDestination": { +"$ref": "GoogleCloudAiplatformV1BigQueryDestination", +"description": "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 become underscores), and timestamp is in YYYY_MM_DDThh_mm_ss_sssZ \"based on ISO-8601\" format. In the dataset two tables will be created, `predictions`, and `errors`. If the Model has both instance and prediction schemata defined then the tables have columns as follows: The `predictions` table contains instances for which the prediction succeeded, it has columns as per a concatenation of the Model's instance and prediction schemata. The `errors` table contains rows for which the prediction has failed, it has instance columns, as per the instance schema, followed by a single \"errors\" column, which as values has google.rpc.Status represented as a STRUCT, and containing only `code` and `message`." +}, +"gcsDestination": { +"$ref": "GoogleCloudAiplatformV1GcsDestination", +"description": "The Cloud Storage location of the directory where the output is to be written to. In the given directory a new directory is created. Its name is `prediction--`, where timestamp is in YYYY-MM-DDThh:mm:ss.sssZ ISO-8601 format. Inside of it files `predictions_0001.`, `predictions_0002.`, ..., `predictions_N.` are created where `` depends on chosen predictions_format, and N may equal 0001 and depends on the total number of successfully predicted instances. If the Model has both instance and prediction schemata defined then each such file contains predictions as per the predictions_format. If prediction for any instance failed (partially or completely), then an additional `errors_0001.`, `errors_0002.`,..., `errors_N.` files are created (N depends on total number of failed predictions). These files contain the failed instances, as per their schema, followed by an additional `error` field which as value has google.rpc.Status containing only `code` and `message` fields." +}, +"predictionsFormat": { +"description": "Required. The format in which Vertex AI gives the predictions, must be one of the Model's supported_output_storage_formats.", +"type": "string" +}, +"vertexMultimodalDatasetDestination": { +"$ref": "GoogleCloudAiplatformV1VertexMultimodalDatasetDestination", +"description": "The details for a Vertex Multimodal Dataset that will be created for the output." +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1BatchPredictionJobOutputInfo": { +"description": "Further describes this job's output. Supplements output_config.", +"id": "GoogleCloudAiplatformV1BatchPredictionJobOutputInfo", +"properties": { +"bigqueryOutputDataset": { +"description": "Output only. The path of the BigQuery dataset created, in `bq://projectId.bqDatasetId` format, into which the prediction output is written.", +"readOnly": true, +"type": "string" +}, +"bigqueryOutputTable": { +"description": "Output only. The name of the BigQuery table created, in `predictions_` format, into which the prediction output is written. Can be used by UI to generate the BigQuery output path, for example.", +"readOnly": true, +"type": "string" +}, +"gcsOutputDirectory": { +"description": "Output only. The full path of the Cloud Storage directory created, into which the prediction output is written.", +"readOnly": true, +"type": "string" +}, +"vertexMultimodalDatasetName": { +"description": "Output only. The resource name of the Vertex Managed Dataset created, into which the prediction output is written. Format: `projects/{project}/locations/{location}/datasets/{dataset}`", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1BatchReadFeatureValuesOperationMetadata": { +"description": "Details of operations that batch reads Feature values.", +"id": "GoogleCloudAiplatformV1BatchReadFeatureValuesOperationMetadata", +"properties": { +"genericMetadata": { +"$ref": "GoogleCloudAiplatformV1GenericOperationMetadata", +"description": "Operation metadata for Featurestore batch read Features values." +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1BatchReadFeatureValuesRequest": { +"description": "Request message for FeaturestoreService.BatchReadFeatureValues.", +"id": "GoogleCloudAiplatformV1BatchReadFeatureValuesRequest", +"properties": { +"bigqueryReadInstances": { +"$ref": "GoogleCloudAiplatformV1BigQuerySource", +"description": "Similar to csv_read_instances, but from BigQuery source." +}, +"csvReadInstances": { +"$ref": "GoogleCloudAiplatformV1CsvSource", +"description": "Each read instance consists of exactly one read timestamp and one or more entity IDs identifying entities of the corresponding EntityTypes whose Features are requested. Each output instance contains Feature values of requested entities concatenated together as of the read time. An example read instance may be `foo_entity_id, bar_entity_id, 2020-01-01T10:00:00.123Z`. An example output instance may be `foo_entity_id, bar_entity_id, 2020-01-01T10:00:00.123Z, foo_entity_feature1_value, bar_entity_feature2_value`. Timestamp in each read instance must be millisecond-aligned. `csv_read_instances` are read instances stored in a plain-text CSV file. The header should be: [ENTITY_TYPE_ID1], [ENTITY_TYPE_ID2], ..., timestamp The columns can be in any order. Values in the timestamp column must use the RFC 3339 format, e.g. `2012-07-30T10:43:17.123Z`." +}, +"destination": { +"$ref": "GoogleCloudAiplatformV1FeatureValueDestination", +"description": "Required. Specifies output location and format." +}, +"entityTypeSpecs": { +"description": "Required. Specifies EntityType grouping Features to read values of and settings.", +"items": { +"$ref": "GoogleCloudAiplatformV1BatchReadFeatureValuesRequestEntityTypeSpec" +}, +"type": "array" +}, +"passThroughFields": { +"description": "When not empty, the specified fields in the *_read_instances source will be joined as-is in the output, in addition to those fields from the Featurestore Entity. For BigQuery source, the type of the pass-through values will be automatically inferred. For CSV source, the pass-through values will be passed as opaque bytes.", +"items": { +"$ref": "GoogleCloudAiplatformV1BatchReadFeatureValuesRequestPassThroughField" +}, +"type": "array" +}, +"startTime": { +"description": "Optional. Excludes Feature values with feature generation timestamp before this timestamp. If not set, retrieve oldest values kept in Feature Store. Timestamp, if present, must not have higher than millisecond precision.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1BatchReadFeatureValuesRequestEntityTypeSpec": { +"description": "Selects Features of an EntityType to read values of and specifies read settings.", +"id": "GoogleCloudAiplatformV1BatchReadFeatureValuesRequestEntityTypeSpec", +"properties": { +"entityTypeId": { +"description": "Required. ID of the EntityType to select Features. The EntityType id is the entity_type_id specified during EntityType creation.", +"type": "string" +}, +"featureSelector": { +"$ref": "GoogleCloudAiplatformV1FeatureSelector", +"description": "Required. Selectors choosing which Feature values to read from the EntityType." +}, +"settings": { +"description": "Per-Feature settings for the batch read.", +"items": { +"$ref": "GoogleCloudAiplatformV1DestinationFeatureSetting" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1BatchReadFeatureValuesRequestPassThroughField": { +"description": "Describe pass-through fields in read_instance source.", +"id": "GoogleCloudAiplatformV1BatchReadFeatureValuesRequestPassThroughField", +"properties": { +"fieldName": { +"description": "Required. The name of the field in the CSV header or the name of the column in BigQuery table. The naming restriction is the same as Feature.name.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1BatchReadFeatureValuesResponse": { +"description": "Response message for FeaturestoreService.BatchReadFeatureValues.", +"id": "GoogleCloudAiplatformV1BatchReadFeatureValuesResponse", +"properties": {}, +"type": "object" +}, +"GoogleCloudAiplatformV1BatchReadTensorboardTimeSeriesDataResponse": { +"description": "Response message for TensorboardService.BatchReadTensorboardTimeSeriesData.", +"id": "GoogleCloudAiplatformV1BatchReadTensorboardTimeSeriesDataResponse", +"properties": { +"timeSeriesData": { +"description": "The returned time series data.", +"items": { +"$ref": "GoogleCloudAiplatformV1TimeSeriesData" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1BigQueryDestination": { +"description": "The BigQuery location for the output content.", +"id": "GoogleCloudAiplatformV1BigQueryDestination", +"properties": { +"outputUri": { +"description": "Required. BigQuery URI to a project or table, up to 2000 characters long. 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: * BigQuery path. For example: `bq://projectId` or `bq://projectId.bqDatasetId` or `bq://projectId.bqDatasetId.bqTableId`.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1BigQueryRequestSet": { +"description": "The request set for the evaluation run.", +"id": "GoogleCloudAiplatformV1BigQueryRequestSet", +"properties": { +"candidateResponseColumns": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. Map of candidate name to candidate response column name. The column will be in evaluation_item.CandidateResponse format.", +"type": "object" +}, +"promptColumn": { +"description": "Optional. The name of the column that contains the requests to evaluate. This will be in evaluation_item.EvalPrompt format.", +"type": "string" +}, +"rubricsColumn": { +"description": "Optional. The name of the column that contains the rubrics. This is in evaluation_rubric.RubricGroup format.", +"type": "string" +}, +"samplingConfig": { +"$ref": "GoogleCloudAiplatformV1BigQueryRequestSetSamplingConfig", +"description": "Optional. The sampling config for the bigquery resource." +}, +"uri": { +"description": "Required. The URI of a BigQuery table. e.g. bq://projectId.bqDatasetId.bqTableId", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1BigQueryRequestSetSamplingConfig": { +"description": "The sampling config.", +"id": "GoogleCloudAiplatformV1BigQueryRequestSetSamplingConfig", +"properties": { +"samplingCount": { +"description": "Optional. The total number of logged data to import. If available data is less than the sampling count, all data will be imported. Default is 100.", +"format": "int32", +"type": "integer" +}, +"samplingDuration": { +"description": "Optional. How long to wait before sampling data from the BigQuery table. If not specified, defaults to 0.", +"format": "google-duration", +"type": "string" +}, +"samplingMethod": { +"description": "Optional. The sampling method to use.", +"enum": [ +"SAMPLING_METHOD_UNSPECIFIED", +"RANDOM" +], +"enumDescriptions": [ +"Unspecified sampling method.", +"Random sampling." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1BigQuerySource": { +"description": "The BigQuery location for the input content.", +"id": "GoogleCloudAiplatformV1BigQuerySource", +"properties": { +"inputUri": { +"description": "Required. BigQuery URI to a table, up to 2000 characters long. Accepted forms: * BigQuery path. For example: `bq://projectId.bqDatasetId.bqTableId`.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1BleuInput": { +"description": "Input for bleu metric.", +"id": "GoogleCloudAiplatformV1BleuInput", +"properties": { +"instances": { +"description": "Required. Repeated bleu instances.", +"items": { +"$ref": "GoogleCloudAiplatformV1BleuInstance" +}, +"type": "array" +}, +"metricSpec": { +"$ref": "GoogleCloudAiplatformV1BleuSpec", +"description": "Required. Spec for bleu score metric." +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1BleuInstance": { +"description": "Spec for bleu instance.", +"id": "GoogleCloudAiplatformV1BleuInstance", +"properties": { +"prediction": { +"description": "Required. Output of the evaluated model.", +"type": "string" +}, +"reference": { +"description": "Required. Ground truth used to compare against the prediction.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1BleuMetricValue": { +"description": "Bleu metric value for an instance.", +"id": "GoogleCloudAiplatformV1BleuMetricValue", +"properties": { +"score": { +"description": "Output only. Bleu score.", +"format": "float", +"readOnly": true, +"type": "number" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1BleuResults": { +"description": "Results for bleu metric.", +"id": "GoogleCloudAiplatformV1BleuResults", +"properties": { +"bleuMetricValues": { +"description": "Output only. Bleu metric values.", +"items": { +"$ref": "GoogleCloudAiplatformV1BleuMetricValue" +}, +"readOnly": true, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1BleuSpec": { +"description": "Spec for bleu score metric - calculates the precision of n-grams in the prediction as compared to reference - returns a score ranging between 0 to 1.", +"id": "GoogleCloudAiplatformV1BleuSpec", +"properties": { +"useEffectiveOrder": { +"description": "Optional. Whether to use_effective_order to compute bleu score.", +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1Blob": { +"description": "A content blob. A Blob contains data of a specific media type. It is used to represent images, audio, and video.", +"id": "GoogleCloudAiplatformV1Blob", +"properties": { +"data": { +"description": "Required. The raw bytes of the data.", +"format": "byte", +"type": "string" +}, +"displayName": { +"description": "Optional. The display name of the blob. Used to provide a label or filename to distinguish blobs. This field is only returned in `PromptMessage` for prompt management. It is used in the Gemini calls only when server-side tools (`code_execution`, `google_search`, and `url_context`) are enabled.", +"type": "string" +}, +"mimeType": { +"description": "Required. The IANA standard MIME type of the source data.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1BlurBaselineConfig": { +"description": "Config for blur baseline. When enabled, a linear path from the maximally blurred image to the input image is created. Using a blurred baseline instead of zero (black image) is motivated by the BlurIG approach explained here: https://arxiv.org/abs/2004.03383", +"id": "GoogleCloudAiplatformV1BlurBaselineConfig", +"properties": { +"maxBlurSigma": { +"description": "The standard deviation of the blur kernel for the blurred baseline. The same blurring parameter is used for both the height and the width dimension. If not set, the method defaults to the zero (i.e. black for images) baseline.", +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1BoolArray": { +"description": "A list of boolean values.", +"id": "GoogleCloudAiplatformV1BoolArray", +"properties": { +"values": { +"description": "A list of bool values.", +"items": { +"type": "boolean" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1CacheConfig": { +"description": "Config of GenAI caching features. This is a singleton resource.", +"id": "GoogleCloudAiplatformV1CacheConfig", +"properties": { +"disableCache": { +"description": "If set to true, disables GenAI caching. Otherwise caching is enabled.", +"type": "boolean" +}, +"name": { +"description": "Identifier. Name of the cache config. Format: - `projects/{project}/cacheConfig`.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1CachedContent": { +"description": "A resource used in LLM queries for users to explicitly specify what to cache and how to cache.", +"id": "GoogleCloudAiplatformV1CachedContent", +"properties": { +"contents": { +"description": "Optional. Input only. Immutable. The content to cache", +"items": { +"$ref": "GoogleCloudAiplatformV1Content" +}, +"type": "array" +}, +"createTime": { +"description": "Output only. Creation time of the cache entry.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"displayName": { +"description": "Optional. Immutable. The user-generated meaningful display name of the cached content.", +"type": "string" +}, +"encryptionSpec": { +"$ref": "GoogleCloudAiplatformV1EncryptionSpec", +"description": "Input only. Immutable. Customer-managed encryption key spec for a `CachedContent`. If set, this `CachedContent` and all its sub-resources will be secured by this key." +}, +"expireTime": { +"description": "Timestamp of when this resource is considered expired. This is *always* provided on output, regardless of what was sent on input.", +"format": "google-datetime", +"type": "string" +}, +"model": { +"description": "Immutable. The name of the `Model` to use for cached content. Currently, only the published Gemini base models are supported, in form of projects/{PROJECT}/locations/{LOCATION}/publishers/google/models/{MODEL}", +"type": "string" +}, +"name": { +"description": "Immutable. Identifier. The server-generated resource name of the cached content Format: projects/{project}/locations/{location}/cachedContents/{cached_content}", +"type": "string" +}, +"systemInstruction": { +"$ref": "GoogleCloudAiplatformV1Content", +"description": "Optional. Input only. Immutable. Developer set system instruction. Currently, text only" +}, +"toolConfig": { +"$ref": "GoogleCloudAiplatformV1ToolConfig", +"description": "Optional. Input only. Immutable. Tool config. This config is shared for all tools" +}, +"tools": { +"description": "Optional. Input only. Immutable. A list of `Tools` the model may use to generate the next response", +"items": { +"$ref": "GoogleCloudAiplatformV1Tool" +}, +"type": "array" +}, +"ttl": { +"description": "Input only. The TTL for this resource. The expiration time is computed: now + TTL.", +"format": "google-duration", +"type": "string" +}, +"updateTime": { +"description": "Output only. When the cache entry was last updated in UTC time.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"usageMetadata": { +"$ref": "GoogleCloudAiplatformV1CachedContentUsageMetadata", +"description": "Output only. Metadata on the usage of the cached content.", +"readOnly": true +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1CachedContentUsageMetadata": { +"description": "Metadata on the usage of the cached content.", +"id": "GoogleCloudAiplatformV1CachedContentUsageMetadata", +"properties": { +"audioDurationSeconds": { +"description": "Duration of audio in seconds.", +"format": "int32", +"type": "integer" +}, +"imageCount": { +"description": "Number of images.", +"format": "int32", +"type": "integer" +}, +"textCount": { +"description": "Number of text characters.", +"format": "int32", +"type": "integer" +}, +"totalTokenCount": { +"description": "Total number of tokens that the cached content consumes.", +"format": "int32", +"type": "integer" +}, +"videoDurationSeconds": { +"description": "Duration of video in seconds.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1CancelBatchPredictionJobRequest": { +"description": "Request message for JobService.CancelBatchPredictionJob.", +"id": "GoogleCloudAiplatformV1CancelBatchPredictionJobRequest", +"properties": {}, +"type": "object" +}, +"GoogleCloudAiplatformV1CancelCustomJobRequest": { +"description": "Request message for JobService.CancelCustomJob.", +"id": "GoogleCloudAiplatformV1CancelCustomJobRequest", +"properties": {}, +"type": "object" +}, +"GoogleCloudAiplatformV1CancelDataLabelingJobRequest": { +"description": "Request message for JobService.CancelDataLabelingJob.", +"id": "GoogleCloudAiplatformV1CancelDataLabelingJobRequest", +"properties": {}, +"type": "object" +}, +"GoogleCloudAiplatformV1CancelEvaluationRunRequest": { +"description": "Request message for EvaluationManagementService.CancelEvaluationRun.", +"id": "GoogleCloudAiplatformV1CancelEvaluationRunRequest", +"properties": {}, +"type": "object" +}, +"GoogleCloudAiplatformV1CancelHyperparameterTuningJobRequest": { +"description": "Request message for JobService.CancelHyperparameterTuningJob.", +"id": "GoogleCloudAiplatformV1CancelHyperparameterTuningJobRequest", +"properties": {}, +"type": "object" +}, +"GoogleCloudAiplatformV1CancelNasJobRequest": { +"description": "Request message for JobService.CancelNasJob.", +"id": "GoogleCloudAiplatformV1CancelNasJobRequest", +"properties": {}, +"type": "object" +}, +"GoogleCloudAiplatformV1CancelPipelineJobRequest": { +"description": "Request message for PipelineService.CancelPipelineJob.", +"id": "GoogleCloudAiplatformV1CancelPipelineJobRequest", +"properties": {}, +"type": "object" +}, +"GoogleCloudAiplatformV1CancelTrainingPipelineRequest": { +"description": "Request message for PipelineService.CancelTrainingPipeline.", +"id": "GoogleCloudAiplatformV1CancelTrainingPipelineRequest", +"properties": {}, +"type": "object" +}, +"GoogleCloudAiplatformV1CancelTuningJobRequest": { +"description": "Request message for GenAiTuningService.CancelTuningJob.", +"id": "GoogleCloudAiplatformV1CancelTuningJobRequest", +"properties": {}, +"type": "object" +}, +"GoogleCloudAiplatformV1Candidate": { +"description": "A response candidate generated from the model.", +"id": "GoogleCloudAiplatformV1Candidate", +"properties": { +"avgLogprobs": { +"description": "Output only. The average log probability of the tokens in this candidate. This is a length-normalized score that can be used to compare the quality of candidates of different lengths. A higher average log probability suggests a more confident and coherent response.", +"format": "double", +"readOnly": true, +"type": "number" +}, +"citationMetadata": { +"$ref": "GoogleCloudAiplatformV1CitationMetadata", +"description": "Output only. A collection of citations that apply to the generated content.", +"readOnly": true +}, +"content": { +"$ref": "GoogleCloudAiplatformV1Content", +"description": "Output only. The content of the candidate.", +"readOnly": true +}, +"finishMessage": { +"description": "Output only. Describes the reason the model stopped generating tokens in more detail. This field is returned only when `finish_reason` is set.", +"readOnly": true, +"type": "string" +}, +"finishReason": { +"description": "Output only. The reason why the model stopped generating tokens. If empty, the model has not stopped generating.", +"enum": [ +"FINISH_REASON_UNSPECIFIED", +"STOP", +"MAX_TOKENS", +"SAFETY", +"RECITATION", +"OTHER", +"BLOCKLIST", +"PROHIBITED_CONTENT", +"SPII", +"MALFORMED_FUNCTION_CALL", +"MODEL_ARMOR", +"IMAGE_SAFETY", +"IMAGE_PROHIBITED_CONTENT", +"IMAGE_RECITATION", +"IMAGE_OTHER", +"UNEXPECTED_TOOL_CALL", +"NO_IMAGE" +], +"enumDescriptions": [ +"The finish reason is unspecified.", +"The model reached a natural stopping point or a configured stop sequence.", +"The model generated the maximum number of tokens allowed by the `max_output_tokens` parameter.", +"The model stopped generating because the content potentially violates safety policies. NOTE: When streaming, the `content` field is empty if content filters block the output.", +"The model stopped generating because the content may be a recitation from a source.", +"The model stopped generating for a reason not otherwise specified.", +"The model stopped generating because the content contains a term from a configured blocklist.", +"The model stopped generating because the content may be prohibited.", +"The model stopped generating because the content may contain sensitive personally identifiable information (SPII).", +"The model generated a function call that is syntactically invalid and can't be parsed.", +"The model response was blocked by Model Armor.", +"The generated image potentially violates safety policies.", +"The generated image may contain prohibited content.", +"The generated image may be a recitation from a source.", +"The image generation stopped for a reason not otherwise specified.", +"The model generated a function call that is semantically invalid. This can happen, for example, if function calling is not enabled or the generated function is not in the function declaration.", +"The model was expected to generate an image, but didn't." +], +"readOnly": true, +"type": "string" +}, +"groundingMetadata": { +"$ref": "GoogleCloudAiplatformV1GroundingMetadata", +"description": "Output only. Metadata returned when grounding is enabled. It contains the sources used to ground the generated content.", +"readOnly": true +}, +"index": { +"description": "Output only. The 0-based index of this candidate in the list of generated responses. This is useful for distinguishing between multiple candidates when `candidate_count` > 1.", +"format": "int32", +"readOnly": true, +"type": "integer" +}, +"logprobsResult": { +"$ref": "GoogleCloudAiplatformV1LogprobsResult", +"description": "Output only. The detailed log probability information for the tokens in this candidate. This is useful for debugging, understanding model uncertainty, and identifying potential \"hallucinations\".", +"readOnly": true +}, +"safetyRatings": { +"description": "Output only. A list of ratings for the safety of a response candidate. There is at most one rating per category.", +"items": { +"$ref": "GoogleCloudAiplatformV1SafetyRating" +}, +"readOnly": true, +"type": "array" +}, +"urlContextMetadata": { +"$ref": "GoogleCloudAiplatformV1UrlContextMetadata", +"description": "Output only. Metadata returned when the model uses the `url_context` tool to get information from a user-provided URL.", +"readOnly": true +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1CandidateResponse": { +"description": "Responses from model or agent.", +"id": "GoogleCloudAiplatformV1CandidateResponse", +"properties": { +"candidate": { +"description": "Required. The name of the candidate that produced the response.", +"type": "string" +}, +"error": { +"$ref": "GoogleRpcStatus", +"description": "Output only. Error while scraping model or agent.", +"readOnly": true +}, +"text": { +"description": "Text response.", +"type": "string" +}, +"value": { +"description": "Fields and values that can be used to populate the response template.", +"type": "any" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1CandidateResult": { +"description": "Result for a single candidate.", +"id": "GoogleCloudAiplatformV1CandidateResult", +"properties": { +"additionalResults": { +"description": "Optional. Additional results for the metric.", +"type": "any" +}, +"candidate": { +"description": "Required. The candidate that is being evaluated. The value is the same as the candidate name in the EvaluationRequest.", +"type": "string" +}, +"explanation": { +"description": "Optional. The explanation for the metric.", +"type": "string" +}, +"metric": { +"description": "Required. The metric that was evaluated.", +"type": "string" +}, +"rubricVerdicts": { +"description": "Optional. The rubric verdicts for the metric.", +"items": { +"$ref": "GoogleCloudAiplatformV1RubricVerdict" +}, +"type": "array" +}, +"score": { +"description": "Optional. The score for the metric.", +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1CheckTrialEarlyStoppingStateMetatdata": { +"description": "This message will be placed in the metadata field of a google.longrunning.Operation associated with a CheckTrialEarlyStoppingState request.", +"id": "GoogleCloudAiplatformV1CheckTrialEarlyStoppingStateMetatdata", +"properties": { +"genericMetadata": { +"$ref": "GoogleCloudAiplatformV1GenericOperationMetadata", +"description": "Operation metadata for suggesting Trials." +}, +"study": { +"description": "The name of the Study that the Trial belongs to.", +"type": "string" +}, +"trial": { +"description": "The Trial name.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1CheckTrialEarlyStoppingStateRequest": { +"description": "Request message for VizierService.CheckTrialEarlyStoppingState.", +"id": "GoogleCloudAiplatformV1CheckTrialEarlyStoppingStateRequest", +"properties": {}, +"type": "object" +}, +"GoogleCloudAiplatformV1CheckTrialEarlyStoppingStateResponse": { +"description": "Response message for VizierService.CheckTrialEarlyStoppingState.", +"id": "GoogleCloudAiplatformV1CheckTrialEarlyStoppingStateResponse", +"properties": { +"shouldStop": { +"description": "True if the Trial should stop.", +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1Checkpoint": { +"description": "Describes the machine learning model version checkpoint.", +"id": "GoogleCloudAiplatformV1Checkpoint", +"properties": { +"checkpointId": { +"description": "The ID of the checkpoint.", +"type": "string" +}, +"epoch": { +"description": "The epoch of the checkpoint.", +"format": "int64", +"type": "string" +}, +"step": { +"description": "The step of the checkpoint.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1Chunk": { +"description": "Container for bytes-encoded data such as video frame, audio sample, or a complete binary/text data.", +"id": "GoogleCloudAiplatformV1Chunk", +"properties": { +"data": { +"description": "Required. The data in the chunk.", +"format": "byte", +"type": "string" +}, +"metadata": { +"$ref": "GoogleCloudAiplatformV1Metadata", +"description": "Optional. Metadata that is associated with the data in the payload." +}, +"mimeType": { +"description": "Required. Mime type of the chunk data. See https://www.iana.org/assignments/media-types/media-types.xhtml for the full list.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1Citation": { +"description": "A citation for a piece of generatedcontent.", +"id": "GoogleCloudAiplatformV1Citation", +"properties": { +"endIndex": { +"description": "Output only. The end index of the citation in the content.", +"format": "int32", +"readOnly": true, +"type": "integer" +}, +"license": { +"description": "Output only. The license of the source of the citation.", +"readOnly": true, +"type": "string" +}, +"publicationDate": { +"$ref": "GoogleTypeDate", +"description": "Output only. The publication date of the source of the citation.", +"readOnly": true +}, +"startIndex": { +"description": "Output only. The start index of the citation in the content.", +"format": "int32", +"readOnly": true, +"type": "integer" +}, +"title": { +"description": "Output only. The title of the source of the citation.", +"readOnly": true, +"type": "string" +}, +"uri": { +"description": "Output only. The URI of the source of the citation.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1CitationMetadata": { +"description": "A collection of citations that apply to a piece of generated content.", +"id": "GoogleCloudAiplatformV1CitationMetadata", +"properties": { +"citations": { +"description": "Output only. A list of citations for the content.", +"items": { +"$ref": "GoogleCloudAiplatformV1Citation" +}, +"readOnly": true, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1Claim": { +"description": "Claim that is extracted from the input text and facts that support it.", +"id": "GoogleCloudAiplatformV1Claim", +"properties": { +"endIndex": { +"description": "Index in the input text where the claim ends (exclusive).", +"format": "int32", +"type": "integer" +}, +"factIndexes": { +"description": "Indexes of the facts supporting this claim.", +"items": { +"format": "int32", +"type": "integer" +}, +"type": "array" +}, +"score": { +"description": "Confidence score of this corroboration.", +"format": "float", +"type": "number" +}, +"startIndex": { +"description": "Index in the input text where the claim starts (inclusive).", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1ClientConnectionConfig": { +"description": "Configurations (e.g. inference timeout) that are applied on your endpoints.", +"id": "GoogleCloudAiplatformV1ClientConnectionConfig", +"properties": { +"inferenceTimeout": { +"description": "Customizable online prediction request timeout.", +"format": "google-duration", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1CodeExecutionResult": { +"description": "Result of executing the [ExecutableCode]. Only generated when using the [CodeExecution] tool, and always follows a `part` containing the [ExecutableCode].", +"id": "GoogleCloudAiplatformV1CodeExecutionResult", +"properties": { +"outcome": { +"description": "Required. Outcome of the code execution.", +"enum": [ +"OUTCOME_UNSPECIFIED", +"OUTCOME_OK", +"OUTCOME_FAILED", +"OUTCOME_DEADLINE_EXCEEDED" +], +"enumDescriptions": [ +"Unspecified status. This value should not be used.", +"Code execution completed successfully.", +"Code execution finished but with a failure. `stderr` should contain the reason.", +"Code execution ran for too long, and was cancelled. There may or may not be a partial output present." +], +"type": "string" +}, +"output": { +"description": "Optional. Contains stdout when code execution is successful, stderr or other description otherwise.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1CoherenceInput": { +"description": "Input for coherence metric.", +"id": "GoogleCloudAiplatformV1CoherenceInput", +"properties": { +"instance": { +"$ref": "GoogleCloudAiplatformV1CoherenceInstance", +"description": "Required. Coherence instance." +}, +"metricSpec": { +"$ref": "GoogleCloudAiplatformV1CoherenceSpec", +"description": "Required. Spec for coherence score metric." +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1CoherenceInstance": { +"description": "Spec for coherence instance.", +"id": "GoogleCloudAiplatformV1CoherenceInstance", +"properties": { +"prediction": { +"description": "Required. Output of the evaluated model.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1CoherenceResult": { +"description": "Spec for coherence result.", +"id": "GoogleCloudAiplatformV1CoherenceResult", +"properties": { +"confidence": { +"description": "Output only. Confidence for coherence score.", +"format": "float", +"readOnly": true, +"type": "number" +}, +"explanation": { +"description": "Output only. Explanation for coherence score.", +"readOnly": true, +"type": "string" +}, +"score": { +"description": "Output only. Coherence score.", +"format": "float", +"readOnly": true, +"type": "number" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1CoherenceSpec": { +"description": "Spec for coherence score metric.", +"id": "GoogleCloudAiplatformV1CoherenceSpec", +"properties": { +"version": { +"description": "Optional. Which version to use for evaluation.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1ColabImage": { +"description": "Colab image of the runtime.", +"id": "GoogleCloudAiplatformV1ColabImage", +"properties": { +"description": { +"description": "Output only. A human-readable description of the specified colab image release, populated by the system. Example: \"Python 3.10\", \"Latest - current Python 3.11\"", +"readOnly": true, +"type": "string" +}, +"releaseName": { +"description": "Optional. The release name of the NotebookRuntime Colab image, e.g. \"py310\". If not specified, detault to the latest release.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1CometInput": { +"description": "Input for Comet metric.", +"id": "GoogleCloudAiplatformV1CometInput", +"properties": { +"instance": { +"$ref": "GoogleCloudAiplatformV1CometInstance", +"description": "Required. Comet instance." +}, +"metricSpec": { +"$ref": "GoogleCloudAiplatformV1CometSpec", +"description": "Required. Spec for comet metric." +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1CometInstance": { +"description": "Spec for Comet instance - The fields used for evaluation are dependent on the comet version.", +"id": "GoogleCloudAiplatformV1CometInstance", +"properties": { +"prediction": { +"description": "Required. Output of the evaluated model.", +"type": "string" +}, +"reference": { +"description": "Optional. Ground truth used to compare against the prediction.", +"type": "string" +}, +"source": { +"description": "Optional. Source text in original language.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1CometResult": { +"description": "Spec for Comet result - calculates the comet score for the given instance using the version specified in the spec.", +"id": "GoogleCloudAiplatformV1CometResult", +"properties": { +"score": { +"description": "Output only. Comet score. Range depends on version.", +"format": "float", +"readOnly": true, +"type": "number" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1CometSpec": { +"description": "Spec for Comet metric.", +"id": "GoogleCloudAiplatformV1CometSpec", +"properties": { +"sourceLanguage": { +"description": "Optional. Source language in BCP-47 format.", +"type": "string" +}, +"targetLanguage": { +"description": "Optional. Target language in BCP-47 format. Covers both prediction and reference.", +"type": "string" +}, +"version": { +"description": "Required. Which version to use for evaluation.", +"enum": [ +"COMET_VERSION_UNSPECIFIED", +"COMET_22_SRC_REF" +], +"enumDescriptions": [ +"Comet version unspecified.", +"Comet 22 for translation + source + reference (source-reference-combined)." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1CompleteTrialRequest": { +"description": "Request message for VizierService.CompleteTrial.", +"id": "GoogleCloudAiplatformV1CompleteTrialRequest", +"properties": { +"finalMeasurement": { +"$ref": "GoogleCloudAiplatformV1Measurement", +"description": "Optional. If provided, it will be used as the completed Trial's final_measurement; Otherwise, the service will auto-select a previously reported measurement as the final-measurement" +}, +"infeasibleReason": { +"description": "Optional. A human readable reason why the trial was infeasible. This should only be provided if `trial_infeasible` is true.", +"type": "string" +}, +"trialInfeasible": { +"description": "Optional. True if the Trial cannot be run with the given Parameter, and final_measurement will be ignored.", +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1CompletionStats": { +"description": "Success and error statistics of processing multiple entities (for example, DataItems or structured data rows) in batch.", +"id": "GoogleCloudAiplatformV1CompletionStats", +"properties": { +"failedCount": { +"description": "Output only. The number of entities for which any error was encountered.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"incompleteCount": { +"description": "Output only. In cases when enough errors are encountered a job, pipeline, or operation may be failed as a whole. Below is the number of entities for which the processing had not been finished (either in successful or failed state). Set to -1 if the number is unknown (for example, the operation failed before the total entity number could be collected).", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"successfulCount": { +"description": "Output only. The number of entities that had been processed successfully.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"successfulForecastPointCount": { +"description": "Output only. The number of the successful forecast points that are generated by the forecasting model. This is ONLY used by the forecasting batch prediction.", +"format": "int64", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1ComputationBasedMetricSpec": { +"description": "Specification for a computation based metric.", +"id": "GoogleCloudAiplatformV1ComputationBasedMetricSpec", +"properties": { +"parameters": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"description": "Optional. A map of parameters for the metric, e.g. {\"rouge_type\": \"rougeL\"}.", +"type": "object" +}, +"type": { +"description": "Required. The type of the computation based metric.", +"enum": [ +"COMPUTATION_BASED_METRIC_TYPE_UNSPECIFIED", +"EXACT_MATCH", +"BLEU", +"ROUGE" +], +"enumDescriptions": [ +"Unspecified computation based metric type.", +"Exact match metric.", +"BLEU metric.", +"ROUGE metric." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1ComputeTokensRequest": { +"description": "Request message for ComputeTokens RPC call.", +"id": "GoogleCloudAiplatformV1ComputeTokensRequest", +"properties": { +"contents": { +"description": "Optional. Input content.", +"items": { +"$ref": "GoogleCloudAiplatformV1Content" +}, +"type": "array" +}, +"instances": { +"description": "Optional. The instances that are the input to token computing API call. Schema is identical to the prediction schema of the text model, even for the non-text models, like chat models, or Codey models.", +"items": { +"type": "any" +}, +"type": "array" +}, +"model": { +"description": "Optional. The name of the publisher model requested to serve the prediction. Format: projects/{project}/locations/{location}/publishers/*/models/*", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1ComputeTokensResponse": { +"description": "Response message for ComputeTokens RPC call.", +"id": "GoogleCloudAiplatformV1ComputeTokensResponse", +"properties": { +"tokensInfo": { +"description": "Lists of tokens info from the input. A ComputeTokensRequest could have multiple instances with a prompt in each instance. We also need to return lists of tokens info for the request with multiple instances.", +"items": { +"$ref": "GoogleCloudAiplatformV1TokensInfo" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1ContainerRegistryDestination": { +"description": "The Container Registry location for the container image.", +"id": "GoogleCloudAiplatformV1ContainerRegistryDestination", +"properties": { +"outputUri": { +"description": "Required. Container Registry URI of a container image. Only Google Container Registry and Artifact Registry are supported now. Accepted forms: * Google Container Registry path. For example: `gcr.io/projectId/imageName:tag`. * Artifact Registry path. For example: `us-central1-docker.pkg.dev/projectId/repoName/imageName:tag`. If a tag is not specified, \"latest\" will be used as the default tag.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1ContainerSpec": { +"description": "The spec of a Container.", +"id": "GoogleCloudAiplatformV1ContainerSpec", +"properties": { +"args": { +"description": "The arguments to be passed when starting the container.", +"items": { +"type": "string" +}, +"type": "array" +}, +"command": { +"description": "The command to be invoked when the container is started. It overrides the entrypoint instruction in Dockerfile when provided.", +"items": { +"type": "string" +}, +"type": "array" +}, +"env": { +"description": "Environment variables to be passed to the container. Maximum limit is 100.", +"items": { +"$ref": "GoogleCloudAiplatformV1EnvVar" +}, +"type": "array" +}, +"imageUri": { +"description": "Required. The URI of a container image in the Container Registry that is to be run on each worker replica.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1Content": { +"description": "The structured data content of a message. A Content message contains a `role` field, which indicates the producer of the content, and a `parts` field, which contains the multi-part data of the message.", +"id": "GoogleCloudAiplatformV1Content", +"properties": { +"parts": { +"description": "Required. A list of Part objects that make up a single message. Parts of a message can have different MIME types. A Content message must have at least one Part.", +"items": { +"$ref": "GoogleCloudAiplatformV1Part" +}, +"type": "array" +}, +"role": { +"description": "Optional. The producer of the content. Must be either 'user' or 'model'. If not set, the service will default to 'user'.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1ContentMap": { +"description": "Map of placeholder in metric prompt template to contents of model input.", +"id": "GoogleCloudAiplatformV1ContentMap", +"properties": { +"values": { +"additionalProperties": { +"$ref": "GoogleCloudAiplatformV1ContentMapContents" +}, +"description": "Optional. Map of placeholder to contents.", +"type": "object" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1ContentMapContents": { +"description": "Repeated Content type.", +"id": "GoogleCloudAiplatformV1ContentMapContents", +"properties": { +"contents": { +"description": "Optional. Repeated contents.", +"items": { +"$ref": "GoogleCloudAiplatformV1Content" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1Context": { +"description": "Instance of a general context.", +"id": "GoogleCloudAiplatformV1Context", +"properties": { +"createTime": { +"description": "Output only. Timestamp when this Context was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"description": { +"description": "Description of the Context", +"type": "string" +}, +"displayName": { +"description": "User provided display name of the Context. May be up to 128 Unicode characters.", +"type": "string" +}, +"etag": { +"description": "An eTag used to perform consistent read-modify-write updates. If not set, a blind \"overwrite\" update happens.", +"type": "string" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "The labels with user-defined metadata to organize your Contexts. Label keys and values can be no longer than 64 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. No more than 64 user labels can be associated with one Context (System labels are excluded).", +"type": "object" +}, +"metadata": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"description": "Properties of the Context. Top level metadata keys' heading and trailing spaces will be trimmed. The size of this field should not exceed 200KB.", +"type": "object" +}, +"name": { +"description": "Immutable. The resource name of the Context.", +"type": "string" +}, +"parentContexts": { +"description": "Output only. A list of resource names of Contexts that are parents of this Context. A Context may have at most 10 parent_contexts.", +"items": { +"type": "string" +}, +"readOnly": true, +"type": "array" +}, +"schemaTitle": { +"description": "The title of the schema describing the metadata. Schema title and version is expected to be registered in earlier Create Schema calls. And both are used together as unique identifiers to identify schemas within the local metadata store.", +"type": "string" +}, +"schemaVersion": { +"description": "The version of the schema in schema_name to use. Schema title and version is expected to be registered in earlier Create Schema calls. And both are used together as unique identifiers to identify schemas within the local metadata store.", +"type": "string" +}, +"updateTime": { +"description": "Output only. Timestamp when this Context was last updated.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1CopyModelOperationMetadata": { +"description": "Details of ModelService.CopyModel operation.", +"id": "GoogleCloudAiplatformV1CopyModelOperationMetadata", +"properties": { +"genericMetadata": { +"$ref": "GoogleCloudAiplatformV1GenericOperationMetadata", +"description": "The common part of the operation metadata." +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1CopyModelRequest": { +"description": "Request message for ModelService.CopyModel.", +"id": "GoogleCloudAiplatformV1CopyModelRequest", +"properties": { +"encryptionSpec": { +"$ref": "GoogleCloudAiplatformV1EncryptionSpec", +"description": "Customer-managed encryption key options. If this is set, then the Model copy will be encrypted with the provided encryption key." +}, +"modelId": { +"description": "Optional. Copy source_model into a new Model with this ID. The ID will become the final component of the model resource name. This value may be up to 63 characters, and valid characters are `[a-z0-9_-]`. The first character cannot be a number or hyphen.", +"type": "string" +}, +"parentModel": { +"description": "Optional. Specify this field to copy source_model into this existing Model as a new version. Format: `projects/{project}/locations/{location}/models/{model}`", +"type": "string" +}, +"sourceModel": { +"description": "Required. The resource name of the Model to copy. That Model must be in the same Project. Format: `projects/{project}/locations/{location}/models/{model}`", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1CopyModelResponse": { +"description": "Response message of ModelService.CopyModel operation.", +"id": "GoogleCloudAiplatformV1CopyModelResponse", +"properties": { +"model": { +"description": "The name of the copied Model resource. Format: `projects/{project}/locations/{location}/models/{model}`", +"type": "string" +}, +"modelVersionId": { +"description": "Output only. The version ID of the model that is copied.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1CorpusStatus": { +"description": "RagCorpus status.", +"id": "GoogleCloudAiplatformV1CorpusStatus", +"properties": { +"errorStatus": { +"description": "Output only. Only when the `state` field is ERROR.", +"readOnly": true, +"type": "string" +}, +"state": { +"description": "Output only. RagCorpus life state.", +"enum": [ +"UNKNOWN", +"INITIALIZED", +"ACTIVE", +"ERROR" +], +"enumDescriptions": [ +"This state is not supposed to happen.", +"RagCorpus resource entry is initialized, but hasn't done validation.", +"RagCorpus is provisioned successfully and is ready to serve.", +"RagCorpus is in a problematic situation. See `error_message` field for details." +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1CorroborateContentRequest": { +"description": "Request message for CorroborateContent.", +"id": "GoogleCloudAiplatformV1CorroborateContentRequest", +"properties": { +"content": { +"$ref": "GoogleCloudAiplatformV1Content", +"description": "Optional. Input content to corroborate, only text format is supported for now." +}, +"facts": { +"description": "Optional. Facts used to generate the text can also be used to corroborate the text.", +"items": { +"$ref": "GoogleCloudAiplatformV1Fact" +}, +"type": "array" +}, +"parameters": { +"$ref": "GoogleCloudAiplatformV1CorroborateContentRequestParameters", +"description": "Optional. Parameters that can be set to override default settings per request." +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1CorroborateContentRequestParameters": { +"description": "Parameters that can be overrided per request.", +"id": "GoogleCloudAiplatformV1CorroborateContentRequestParameters", +"properties": { +"citationThreshold": { +"description": "Optional. Only return claims with citation score larger than the threshold.", +"format": "double", +"type": "number" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1CorroborateContentResponse": { +"description": "Response message for CorroborateContent.", +"id": "GoogleCloudAiplatformV1CorroborateContentResponse", +"properties": { +"claims": { +"description": "Claims that are extracted from the input content and facts that support the claims.", +"items": { +"$ref": "GoogleCloudAiplatformV1Claim" +}, +"type": "array" +}, +"corroborationScore": { +"description": "Confidence score of corroborating content. Value is [0,1] with 1 is the most confidence.", +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1CountTokensRequest": { +"description": "Request message for PredictionService.CountTokens.", +"id": "GoogleCloudAiplatformV1CountTokensRequest", +"properties": { +"contents": { +"description": "Optional. Input content.", +"items": { +"$ref": "GoogleCloudAiplatformV1Content" +}, +"type": "array" +}, +"generationConfig": { +"$ref": "GoogleCloudAiplatformV1GenerationConfig", +"description": "Optional. Generation config that the model will use to generate the response." +}, +"instances": { +"description": "Optional. The instances that are the input to token counting call. Schema is identical to the prediction schema of the underlying model.", +"items": { +"type": "any" +}, +"type": "array" +}, +"model": { +"description": "Optional. The name of the publisher model requested to serve the prediction. Format: `projects/{project}/locations/{location}/publishers/*/models/*`", +"type": "string" +}, +"systemInstruction": { +"$ref": "GoogleCloudAiplatformV1Content", +"description": "Optional. The user provided system instructions for the model. Note: only text should be used in parts and content in each part will be in a separate paragraph." +}, +"tools": { +"description": "Optional. A list of `Tools` the model may use to generate the next response. A `Tool` is a piece of code that enables the system to interact with external systems to perform an action, or set of actions, outside of knowledge and scope of the model.", +"items": { +"$ref": "GoogleCloudAiplatformV1Tool" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1CountTokensResponse": { +"description": "Response message for PredictionService.CountTokens.", +"id": "GoogleCloudAiplatformV1CountTokensResponse", +"properties": { +"promptTokensDetails": { +"description": "Output only. List of modalities that were processed in the request input.", +"items": { +"$ref": "GoogleCloudAiplatformV1ModalityTokenCount" +}, +"readOnly": true, +"type": "array" +}, +"totalBillableCharacters": { +"description": "The total number of billable characters counted across all instances from the request.", +"format": "int32", +"type": "integer" +}, +"totalTokens": { +"description": "The total number of tokens counted across all instances from the request.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1CreateDatasetOperationMetadata": { +"description": "Runtime operation information for DatasetService.CreateDataset.", +"id": "GoogleCloudAiplatformV1CreateDatasetOperationMetadata", +"properties": { +"genericMetadata": { +"$ref": "GoogleCloudAiplatformV1GenericOperationMetadata", +"description": "The operation generic information." +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1CreateDatasetVersionOperationMetadata": { +"description": "Runtime operation information for DatasetService.CreateDatasetVersion.", +"id": "GoogleCloudAiplatformV1CreateDatasetVersionOperationMetadata", +"properties": { +"genericMetadata": { +"$ref": "GoogleCloudAiplatformV1GenericOperationMetadata", +"description": "The common part of the operation metadata." +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1CreateDeploymentResourcePoolOperationMetadata": { +"description": "Runtime operation information for CreateDeploymentResourcePool method.", +"id": "GoogleCloudAiplatformV1CreateDeploymentResourcePoolOperationMetadata", +"properties": { +"genericMetadata": { +"$ref": "GoogleCloudAiplatformV1GenericOperationMetadata", +"description": "The operation generic information." +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1CreateDeploymentResourcePoolRequest": { +"description": "Request message for CreateDeploymentResourcePool method.", +"id": "GoogleCloudAiplatformV1CreateDeploymentResourcePoolRequest", +"properties": { +"deploymentResourcePool": { +"$ref": "GoogleCloudAiplatformV1DeploymentResourcePool", +"description": "Required. The DeploymentResourcePool to create." +}, +"deploymentResourcePoolId": { +"description": "Required. The ID to use for the DeploymentResourcePool, which will become the final component of the DeploymentResourcePool's resource name. The maximum length is 63 characters, and valid characters are `/^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$/`.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1CreateEndpointOperationMetadata": { +"description": "Runtime operation information for EndpointService.CreateEndpoint.", +"id": "GoogleCloudAiplatformV1CreateEndpointOperationMetadata", +"properties": { +"deploymentStage": { +"description": "Output only. The deployment stage of the model. Only populated if this CreateEndpoint request deploys a model at the same time.", +"enum": [ +"DEPLOYMENT_STAGE_UNSPECIFIED", +"STARTING_DEPLOYMENT", +"PREPARING_MODEL", +"CREATING_SERVING_CLUSTER", +"ADDING_NODES_TO_CLUSTER", +"GETTING_CONTAINER_IMAGE", +"STARTING_MODEL_SERVER", +"FINISHING_UP", +"DEPLOYMENT_TERMINATED", +"SUCCESSFULLY_DEPLOYED", +"FAILED_TO_DEPLOY" +], +"enumDescriptions": [ +"Default value. This value is unused.", +"The deployment is initializing and setting up the environment.", +"The deployment is preparing the model assets.", +"The deployment is creating the underlying serving cluster.", +"The deployment is adding nodes to the serving cluster.", +"The deployment is getting the container image for the model server.", +"The deployment is starting the model server.", +"The deployment is performing finalization steps.", +"The deployment has terminated.", +"The deployment has succeeded.", +"The deployment has failed." +], +"readOnly": true, +"type": "string" +}, +"genericMetadata": { +"$ref": "GoogleCloudAiplatformV1GenericOperationMetadata", +"description": "The operation generic information." +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1CreateEntityTypeOperationMetadata": { +"description": "Details of operations that perform create EntityType.", +"id": "GoogleCloudAiplatformV1CreateEntityTypeOperationMetadata", +"properties": { +"genericMetadata": { +"$ref": "GoogleCloudAiplatformV1GenericOperationMetadata", +"description": "Operation metadata for EntityType." +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1CreateFeatureGroupOperationMetadata": { +"description": "Details of operations that perform create FeatureGroup.", +"id": "GoogleCloudAiplatformV1CreateFeatureGroupOperationMetadata", +"properties": { +"genericMetadata": { +"$ref": "GoogleCloudAiplatformV1GenericOperationMetadata", +"description": "Operation metadata for FeatureGroup." +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1CreateFeatureOnlineStoreOperationMetadata": { +"description": "Details of operations that perform create FeatureOnlineStore.", +"id": "GoogleCloudAiplatformV1CreateFeatureOnlineStoreOperationMetadata", +"properties": { +"genericMetadata": { +"$ref": "GoogleCloudAiplatformV1GenericOperationMetadata", +"description": "Operation metadata for FeatureOnlineStore." +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1CreateFeatureOperationMetadata": { +"description": "Details of operations that perform create Feature.", +"id": "GoogleCloudAiplatformV1CreateFeatureOperationMetadata", +"properties": { +"genericMetadata": { +"$ref": "GoogleCloudAiplatformV1GenericOperationMetadata", +"description": "Operation metadata for Feature." +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1CreateFeatureRequest": { +"description": "Request message for FeaturestoreService.CreateFeature. Request message for FeatureRegistryService.CreateFeature.", +"id": "GoogleCloudAiplatformV1CreateFeatureRequest", +"properties": { +"feature": { +"$ref": "GoogleCloudAiplatformV1Feature", +"description": "Required. The Feature to create." +}, +"featureId": { +"description": "Required. The ID to use for the Feature, which will become the final component of the Feature's resource name. This value may be up to 128 characters, and valid characters are `[a-z0-9_]`. The first character cannot be a number. The value must be unique within an EntityType/FeatureGroup.", +"type": "string" +}, +"parent": { +"description": "Required. The resource name of the EntityType or FeatureGroup to create a Feature. Format for entity_type as parent: `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}` Format for feature_group as parent: `projects/{project}/locations/{location}/featureGroups/{feature_group}`", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1CreateFeatureViewOperationMetadata": { +"description": "Details of operations that perform create FeatureView.", +"id": "GoogleCloudAiplatformV1CreateFeatureViewOperationMetadata", +"properties": { +"genericMetadata": { +"$ref": "GoogleCloudAiplatformV1GenericOperationMetadata", +"description": "Operation metadata for FeatureView Create." +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1CreateFeaturestoreOperationMetadata": { +"description": "Details of operations that perform create Featurestore.", +"id": "GoogleCloudAiplatformV1CreateFeaturestoreOperationMetadata", +"properties": { +"genericMetadata": { +"$ref": "GoogleCloudAiplatformV1GenericOperationMetadata", +"description": "Operation metadata for Featurestore." +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1CreateIndexEndpointOperationMetadata": { +"description": "Runtime operation information for IndexEndpointService.CreateIndexEndpoint.", +"id": "GoogleCloudAiplatformV1CreateIndexEndpointOperationMetadata", +"properties": { +"genericMetadata": { +"$ref": "GoogleCloudAiplatformV1GenericOperationMetadata", +"description": "The operation generic information." +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1CreateIndexOperationMetadata": { +"description": "Runtime operation information for IndexService.CreateIndex.", +"id": "GoogleCloudAiplatformV1CreateIndexOperationMetadata", +"properties": { +"genericMetadata": { +"$ref": "GoogleCloudAiplatformV1GenericOperationMetadata", +"description": "The operation generic information." +}, +"nearestNeighborSearchOperationMetadata": { +"$ref": "GoogleCloudAiplatformV1NearestNeighborSearchOperationMetadata", +"description": "The operation metadata with regard to Matching Engine Index operation." +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1CreateMetadataStoreOperationMetadata": { +"description": "Details of operations that perform MetadataService.CreateMetadataStore.", +"id": "GoogleCloudAiplatformV1CreateMetadataStoreOperationMetadata", +"properties": { +"genericMetadata": { +"$ref": "GoogleCloudAiplatformV1GenericOperationMetadata", +"description": "Operation metadata for creating a MetadataStore." +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1CreateNotebookExecutionJobOperationMetadata": { +"description": "Metadata information for NotebookService.CreateNotebookExecutionJob.", +"id": "GoogleCloudAiplatformV1CreateNotebookExecutionJobOperationMetadata", +"properties": { +"genericMetadata": { +"$ref": "GoogleCloudAiplatformV1GenericOperationMetadata", +"description": "The operation generic information." +}, +"progressMessage": { +"description": "A human-readable message that shows the intermediate progress details of NotebookRuntime.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1CreateNotebookExecutionJobRequest": { +"description": "Request message for [NotebookService.CreateNotebookExecutionJob]", +"id": "GoogleCloudAiplatformV1CreateNotebookExecutionJobRequest", +"properties": { +"notebookExecutionJob": { +"$ref": "GoogleCloudAiplatformV1NotebookExecutionJob", +"description": "Required. The NotebookExecutionJob to create." +}, +"notebookExecutionJobId": { +"description": "Optional. User specified ID for the NotebookExecutionJob.", +"type": "string" +}, +"parent": { +"description": "Required. The resource name of the Location to create the NotebookExecutionJob. Format: `projects/{project}/locations/{location}`", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1CreateNotebookRuntimeTemplateOperationMetadata": { +"description": "Metadata information for NotebookService.CreateNotebookRuntimeTemplate.", +"id": "GoogleCloudAiplatformV1CreateNotebookRuntimeTemplateOperationMetadata", +"properties": { +"genericMetadata": { +"$ref": "GoogleCloudAiplatformV1GenericOperationMetadata", +"description": "The operation generic information." +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1CreatePersistentResourceOperationMetadata": { +"description": "Details of operations that perform create PersistentResource.", +"id": "GoogleCloudAiplatformV1CreatePersistentResourceOperationMetadata", +"properties": { +"genericMetadata": { +"$ref": "GoogleCloudAiplatformV1GenericOperationMetadata", +"description": "Operation metadata for PersistentResource." +}, +"progressMessage": { +"description": "Progress Message for Create LRO", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1CreatePipelineJobRequest": { +"description": "Request message for PipelineService.CreatePipelineJob.", +"id": "GoogleCloudAiplatformV1CreatePipelineJobRequest", +"properties": { +"parent": { +"description": "Required. The resource name of the Location to create the PipelineJob in. Format: `projects/{project}/locations/{location}`", +"type": "string" +}, +"pipelineJob": { +"$ref": "GoogleCloudAiplatformV1PipelineJob", +"description": "Required. The PipelineJob to create." +}, +"pipelineJobId": { +"description": "The ID to use for the PipelineJob, which will become the final component of the PipelineJob name. If not provided, an ID will be automatically generated. This value should be less than 128 characters, and valid characters are `/a-z-/`.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1CreateRegistryFeatureOperationMetadata": { +"description": "Details of operations that perform create FeatureGroup.", +"id": "GoogleCloudAiplatformV1CreateRegistryFeatureOperationMetadata", +"properties": { +"genericMetadata": { +"$ref": "GoogleCloudAiplatformV1GenericOperationMetadata", +"description": "Operation metadata for Feature." +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1CreateSpecialistPoolOperationMetadata": { +"description": "Runtime operation information for SpecialistPoolService.CreateSpecialistPool.", +"id": "GoogleCloudAiplatformV1CreateSpecialistPoolOperationMetadata", +"properties": { +"genericMetadata": { +"$ref": "GoogleCloudAiplatformV1GenericOperationMetadata", +"description": "The operation generic information." +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1CreateTensorboardOperationMetadata": { +"description": "Details of operations that perform create Tensorboard.", +"id": "GoogleCloudAiplatformV1CreateTensorboardOperationMetadata", +"properties": { +"genericMetadata": { +"$ref": "GoogleCloudAiplatformV1GenericOperationMetadata", +"description": "Operation metadata for Tensorboard." +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1CreateTensorboardRunRequest": { +"description": "Request message for TensorboardService.CreateTensorboardRun.", +"id": "GoogleCloudAiplatformV1CreateTensorboardRunRequest", +"properties": { +"parent": { +"description": "Required. The resource name of the TensorboardExperiment to create the TensorboardRun in. Format: `projects/{project}/locations/{location}/tensorboards/{tensorboard}/experiments/{experiment}`", +"type": "string" +}, +"tensorboardRun": { +"$ref": "GoogleCloudAiplatformV1TensorboardRun", +"description": "Required. The TensorboardRun to create." +}, +"tensorboardRunId": { +"description": "Required. The ID to use for the Tensorboard run, which becomes the final component of the Tensorboard run's resource name. This value should be 1-128 characters, and valid characters are `/a-z-/`.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1CreateTensorboardTimeSeriesRequest": { +"description": "Request message for TensorboardService.CreateTensorboardTimeSeries.", +"id": "GoogleCloudAiplatformV1CreateTensorboardTimeSeriesRequest", +"properties": { +"parent": { +"description": "Required. The resource name of the TensorboardRun to create the TensorboardTimeSeries in. Format: `projects/{project}/locations/{location}/tensorboards/{tensorboard}/experiments/{experiment}/runs/{run}`", +"type": "string" +}, +"tensorboardTimeSeries": { +"$ref": "GoogleCloudAiplatformV1TensorboardTimeSeries", +"description": "Required. The TensorboardTimeSeries to create." +}, +"tensorboardTimeSeriesId": { +"description": "Optional. The user specified unique ID to use for the TensorboardTimeSeries, which becomes the final component of the TensorboardTimeSeries's resource name. This value should match \"a-z0-9{0, 127}\"", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1CsvDestination": { +"description": "The storage details for CSV output content.", +"id": "GoogleCloudAiplatformV1CsvDestination", +"properties": { +"gcsDestination": { +"$ref": "GoogleCloudAiplatformV1GcsDestination", +"description": "Required. Google Cloud Storage location." +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1CsvSource": { +"description": "The storage details for CSV input content.", +"id": "GoogleCloudAiplatformV1CsvSource", +"properties": { +"gcsSource": { +"$ref": "GoogleCloudAiplatformV1GcsSource", +"description": "Required. Google Cloud Storage location." +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1CustomCodeExecutionResult": { +"description": "Result for custom code execution metric.", +"id": "GoogleCloudAiplatformV1CustomCodeExecutionResult", +"properties": { +"score": { +"description": "Output only. Custom code execution score.", +"format": "float", +"readOnly": true, +"type": "number" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1CustomCodeExecutionSpec": { +"description": "Specificies a metric that is populated by evaluating user-defined Python code.", +"id": "GoogleCloudAiplatformV1CustomCodeExecutionSpec", +"properties": { +"evaluationFunction": { +"description": "Required. Python function. Expected user to define the following function, e.g.: def evaluate(instance: dict[str, Any]) -> float: Please include this function signature in the code snippet. Instance is the evaluation instance, any fields populated in the instance are available to the function as instance[field_name]. Example: Example input: ``` instance= EvaluationInstance( response=EvaluationInstance.InstanceData(text=\"The answer is 4.\"), reference=EvaluationInstance.InstanceData(text=\"4\") ) ``` Example converted input: ``` { 'response': {'text': 'The answer is 4.'}, 'reference': {'text': '4'} } ``` Example python function: ``` def evaluate(instance: dict[str, Any]) -> float: if instance'response' == instance'reference': return 1.0 return 0.0 ``` CustomCodeExecutionSpec is also supported in Batch Evaluation (EvalDataset RPC) and Tuning Evaluation. Each line in the input jsonl file will be converted to dict[str, Any] and passed to the evaluation function.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1CustomJob": { +"description": "Represents a job that runs custom workloads such as a Docker container or a Python package. A CustomJob can have multiple worker pools and each worker pool can have its own machine and input spec. A CustomJob will be cleaned up once the job enters terminal state (failed or succeeded).", +"id": "GoogleCloudAiplatformV1CustomJob", +"properties": { +"createTime": { +"description": "Output only. Time when the CustomJob was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"displayName": { +"description": "Required. The display name of the CustomJob. The name can be up to 128 characters long and can consist of any UTF-8 characters.", +"type": "string" +}, +"encryptionSpec": { +"$ref": "GoogleCloudAiplatformV1EncryptionSpec", +"description": "Customer-managed encryption key options for a CustomJob. If this is set, then all resources created by the CustomJob will be encrypted with the provided encryption key." +}, +"endTime": { +"description": "Output only. Time when the CustomJob entered any of the following states: `JOB_STATE_SUCCEEDED`, `JOB_STATE_FAILED`, `JOB_STATE_CANCELLED`.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"error": { +"$ref": "GoogleRpcStatus", +"description": "Output only. Only populated when job's state is `JOB_STATE_FAILED` or `JOB_STATE_CANCELLED`.", +"readOnly": true +}, +"jobSpec": { +"$ref": "GoogleCloudAiplatformV1CustomJobSpec", +"description": "Required. Job spec." +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "The labels with user-defined metadata to organize CustomJobs. Label keys and values can be no longer than 64 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. See https://goo.gl/xmQnxf for more information and examples of labels.", +"type": "object" +}, +"name": { +"description": "Output only. Resource name of a CustomJob.", +"readOnly": true, +"type": "string" +}, +"satisfiesPzi": { +"description": "Output only. Reserved for future use.", +"readOnly": true, +"type": "boolean" +}, +"satisfiesPzs": { +"description": "Output only. Reserved for future use.", +"readOnly": true, +"type": "boolean" +}, +"startTime": { +"description": "Output only. Time when the CustomJob for the first time entered the `JOB_STATE_RUNNING` state.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"state": { +"description": "Output only. The detailed state of the job.", +"enum": [ +"JOB_STATE_UNSPECIFIED", +"JOB_STATE_QUEUED", +"JOB_STATE_PENDING", +"JOB_STATE_RUNNING", +"JOB_STATE_SUCCEEDED", +"JOB_STATE_FAILED", +"JOB_STATE_CANCELLING", +"JOB_STATE_CANCELLED", +"JOB_STATE_PAUSED", +"JOB_STATE_EXPIRED", +"JOB_STATE_UPDATING", +"JOB_STATE_PARTIALLY_SUCCEEDED" +], +"enumDescriptions": [ +"The job state is unspecified.", +"The job has been just created or resumed and processing has not yet begun.", +"The service is preparing to run the job.", +"The job is in progress.", +"The job completed successfully.", +"The job failed.", +"The job is being cancelled. From this state the job may only go to either `JOB_STATE_SUCCEEDED`, `JOB_STATE_FAILED` or `JOB_STATE_CANCELLED`.", +"The job has been cancelled.", +"The job has been stopped, and can be resumed.", +"The job has expired.", +"The job is being updated. Only jobs in the `RUNNING` state can be updated. After updating, the job goes back to the `RUNNING` state.", +"The job is partially succeeded, some results may be missing due to errors." +], +"readOnly": true, +"type": "string" +}, +"updateTime": { +"description": "Output only. Time when the CustomJob was most recently updated.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"webAccessUris": { +"additionalProperties": { +"type": "string" +}, +"description": "Output only. URIs for accessing [interactive shells](https://cloud.google.com/vertex-ai/docs/training/monitor-debug-interactive-shell) (one URI for each training node). Only available if job_spec.enable_web_access is `true`. The keys are names of each node in the training job; for example, `workerpool0-0` for the primary node, `workerpool1-0` for the first node in the second worker pool, and `workerpool1-1` for the second node in the second worker pool. The values are the URIs for each node's interactive shell.", +"readOnly": true, +"type": "object" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1CustomJobSpec": { +"description": "Represents the spec of a CustomJob.", +"id": "GoogleCloudAiplatformV1CustomJobSpec", +"properties": { +"baseOutputDirectory": { +"$ref": "GoogleCloudAiplatformV1GcsDestination", +"description": "The Cloud Storage location to store the output of this CustomJob or HyperparameterTuningJob. For HyperparameterTuningJob, the baseOutputDirectory of each child CustomJob backing a Trial is set to a subdirectory of name id under its parent HyperparameterTuningJob's baseOutputDirectory. The following Vertex AI environment variables will be passed to containers or python modules when this field is set: For CustomJob: * AIP_MODEL_DIR = `/model/` * AIP_CHECKPOINT_DIR = `/checkpoints/` * AIP_TENSORBOARD_LOG_DIR = `/logs/` For CustomJob backing a Trial of HyperparameterTuningJob: * AIP_MODEL_DIR = `//model/` * AIP_CHECKPOINT_DIR = `//checkpoints/` * AIP_TENSORBOARD_LOG_DIR = `//logs/`" +}, +"enableDashboardAccess": { +"description": "Optional. Whether you want Vertex AI to enable access to the customized dashboard in training chief container. If set to `true`, you can access the dashboard at the URIs given by CustomJob.web_access_uris or Trial.web_access_uris (within HyperparameterTuningJob.trials).", +"type": "boolean" +}, +"enableWebAccess": { +"description": "Optional. Whether you want Vertex AI to enable [interactive shell access](https://cloud.google.com/vertex-ai/docs/training/monitor-debug-interactive-shell) to training containers. If set to `true`, you can access interactive shells at the URIs given by CustomJob.web_access_uris or Trial.web_access_uris (within HyperparameterTuningJob.trials).", +"type": "boolean" +}, +"experiment": { +"description": "Optional. The Experiment associated with this job. Format: `projects/{project}/locations/{location}/metadataStores/{metadataStores}/contexts/{experiment-name}`", +"type": "string" +}, +"experimentRun": { +"description": "Optional. The Experiment Run associated with this job. Format: `projects/{project}/locations/{location}/metadataStores/{metadataStores}/contexts/{experiment-name}-{experiment-run-name}`", +"type": "string" +}, +"models": { +"description": "Optional. The name of the Model resources for which to generate a mapping to artifact URIs. Applicable only to some of the Google-provided custom jobs. Format: `projects/{project}/locations/{location}/models/{model}` In order to retrieve a specific version of the model, also provide the version ID or version alias. Example: `projects/{project}/locations/{location}/models/{model}@2` or `projects/{project}/locations/{location}/models/{model}@golden` If no version ID or alias is specified, the \"default\" version will be returned. The \"default\" version alias is created for the first version of the model, and can be moved to other versions later on. There will be exactly one default version.", +"items": { +"type": "string" +}, +"type": "array" +}, +"network": { +"description": "Optional. The full name of the Compute Engine [network](/compute/docs/networks-and-firewalls#networks) to which the Job should be peered. For example, `projects/12345/global/networks/myVPC`. [Format](/compute/docs/reference/rest/v1/networks/insert) is of the form `projects/{project}/global/networks/{network}`. Where {project} is a project number, as in `12345`, and {network} is a network name. To specify this field, you must have already [configured VPC Network Peering for Vertex AI](https://cloud.google.com/vertex-ai/docs/general/vpc-peering). If this field is left unspecified, the job is not peered with any network.", +"type": "string" +}, +"persistentResourceId": { +"description": "Optional. The ID of the PersistentResource in the same Project and Location which to run If this is specified, the job will be run on existing machines held by the PersistentResource instead of on-demand short-live machines. The network and CMEK configs on the job should be consistent with those on the PersistentResource, otherwise, the job will be rejected.", +"type": "string" +}, +"protectedArtifactLocationId": { +"description": "The ID of the location to store protected artifacts. e.g. us-central1. Populate only when the location is different than CustomJob location. List of supported locations: https://cloud.google.com/vertex-ai/docs/general/locations", +"type": "string" +}, +"pscInterfaceConfig": { +"$ref": "GoogleCloudAiplatformV1PscInterfaceConfig", +"description": "Optional. Configuration for PSC-I for CustomJob." +}, +"reservedIpRanges": { +"description": "Optional. A list of names for the reserved ip ranges under the VPC network that can be used for this job. If set, we will deploy the job within the provided ip ranges. Otherwise, the job will be deployed to any ip ranges under the provided VPC network. Example: ['vertex-ai-ip-range'].", +"items": { +"type": "string" +}, +"type": "array" +}, +"scheduling": { +"$ref": "GoogleCloudAiplatformV1Scheduling", +"description": "Scheduling options for a CustomJob." +}, +"serviceAccount": { +"description": "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 [Vertex AI Custom Code Service Agent](https://cloud.google.com/vertex-ai/docs/general/access-control#service-agents) for the CustomJob's project is used.", +"type": "string" +}, +"tensorboard": { +"description": "Optional. The name of a Vertex AI Tensorboard resource to which this CustomJob will upload Tensorboard logs. Format: `projects/{project}/locations/{location}/tensorboards/{tensorboard}`", +"type": "string" +}, +"workerPoolSpecs": { +"description": "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.", +"items": { +"$ref": "GoogleCloudAiplatformV1WorkerPoolSpec" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1CustomOutput": { +"description": "Spec for custom output.", +"id": "GoogleCloudAiplatformV1CustomOutput", +"properties": { +"rawOutputs": { +"$ref": "GoogleCloudAiplatformV1RawOutput", +"description": "Output only. List of raw output strings.", +"readOnly": true +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1CustomOutputFormatConfig": { +"description": "Spec for custom output format configuration.", +"id": "GoogleCloudAiplatformV1CustomOutputFormatConfig", +"properties": { +"returnRawOutput": { +"description": "Optional. Whether to return raw output.", +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1DataItem": { +"description": "A piece of data in a Dataset. Could be an image, a video, a document or plain text.", +"id": "GoogleCloudAiplatformV1DataItem", +"properties": { +"createTime": { +"description": "Output only. Timestamp when this DataItem was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"etag": { +"description": "Optional. Used to perform consistent read-modify-write updates. If not set, a blind \"overwrite\" update happens.", +"type": "string" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. The labels with user-defined metadata to organize your DataItems. Label keys and values can be no longer than 64 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. No more than 64 user labels can be associated with one DataItem(System labels are excluded). See https://goo.gl/xmQnxf for more information and examples of labels. System reserved label keys are prefixed with \"aiplatform.googleapis.com/\" and are immutable.", +"type": "object" +}, +"name": { +"description": "Output only. The resource name of the DataItem.", +"readOnly": true, +"type": "string" +}, +"payload": { +"description": "Required. The data that the DataItem represents (for example, an image or a text snippet). The schema of the payload is stored in the parent Dataset's metadata schema's dataItemSchemaUri field.", +"type": "any" +}, +"satisfiesPzi": { +"description": "Output only. Reserved for future use.", +"readOnly": true, +"type": "boolean" +}, +"satisfiesPzs": { +"description": "Output only. Reserved for future use.", +"readOnly": true, +"type": "boolean" +}, +"updateTime": { +"description": "Output only. Timestamp when this DataItem was last updated.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1DataItemView": { +"description": "A container for a single DataItem and Annotations on it.", +"id": "GoogleCloudAiplatformV1DataItemView", +"properties": { +"annotations": { +"description": "The Annotations on the DataItem. If too many Annotations should be returned for the DataItem, this field will be truncated per annotations_limit in request. If it was, then the has_truncated_annotations will be set to true.", +"items": { +"$ref": "GoogleCloudAiplatformV1Annotation" +}, +"type": "array" +}, +"dataItem": { +"$ref": "GoogleCloudAiplatformV1DataItem", +"description": "The DataItem." +}, +"hasTruncatedAnnotations": { +"description": "True if and only if the Annotations field has been truncated. It happens if more Annotations for this DataItem met the request's annotation_filter than are allowed to be returned by annotations_limit. Note that if Annotations field is not being returned due to field mask, then this field will not be set to true no matter how many Annotations are there.", +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1DataLabelingJob": { +"description": "DataLabelingJob is used to trigger a human labeling job on unlabeled data from the following Dataset:", +"id": "GoogleCloudAiplatformV1DataLabelingJob", +"properties": { +"activeLearningConfig": { +"$ref": "GoogleCloudAiplatformV1ActiveLearningConfig", +"description": "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." +}, +"annotationLabels": { +"additionalProperties": { +"type": "string" +}, +"description": "Labels to assign to annotations generated by this DataLabelingJob. Label keys and values can be no longer than 64 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. See https://goo.gl/xmQnxf for more information and examples of labels. System reserved label keys are prefixed with \"aiplatform.googleapis.com/\" and are immutable.", +"type": "object" +}, +"createTime": { +"description": "Output only. Timestamp when this DataLabelingJob was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"currentSpend": { +"$ref": "GoogleTypeMoney", +"description": "Output only. Estimated cost(in US dollars) that the DataLabelingJob has incurred to date.", +"readOnly": true +}, +"datasets": { +"description": "Required. Dataset resource names. Right now we only support labeling from a single Dataset. Format: `projects/{project}/locations/{location}/datasets/{dataset}`", +"items": { +"type": "string" +}, +"type": "array" +}, +"displayName": { +"description": "Required. The user-defined name of the DataLabelingJob. The name can be up to 128 characters long and can consist of any UTF-8 characters. Display name of a DataLabelingJob.", +"type": "string" +}, +"encryptionSpec": { +"$ref": "GoogleCloudAiplatformV1EncryptionSpec", +"description": "Customer-managed encryption key spec for a DataLabelingJob. If set, this DataLabelingJob will be secured by this key. Note: Annotations created in the DataLabelingJob are associated with the EncryptionSpec of the Dataset they are exported to." +}, +"error": { +"$ref": "GoogleRpcStatus", +"description": "Output only. DataLabelingJob errors. It is only populated when job's state is `JOB_STATE_FAILED` or `JOB_STATE_CANCELLED`.", +"readOnly": true +}, +"inputs": { +"description": "Required. Input config parameters for the DataLabelingJob.", +"type": "any" +}, +"inputsSchemaUri": { +"description": "Required. Points to a YAML file stored on Google Cloud Storage describing the config for a specific type of DataLabelingJob. The schema files that can be used here are found in the https://storage.googleapis.com/google-cloud-aiplatform bucket in the /schema/datalabelingjob/inputs/ folder.", +"type": "string" +}, +"instructionUri": { +"description": "Required. The Google Cloud Storage location of the instruction pdf. This pdf is shared with labelers, and provides detailed description on how to label DataItems in Datasets.", +"type": "string" +}, +"labelerCount": { +"description": "Required. Number of labelers to work on each DataItem.", +"format": "int32", +"type": "integer" +}, +"labelingProgress": { +"description": "Output only. Current labeling job progress percentage scaled in interval [0, 100], indicating the percentage of DataItems that has been finished.", +"format": "int32", +"readOnly": true, +"type": "integer" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "The labels with user-defined metadata to organize your DataLabelingJobs. Label keys and values can be no longer than 64 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. See https://goo.gl/xmQnxf for more information and examples of labels. System reserved label keys are prefixed with \"aiplatform.googleapis.com/\" and are immutable. Following system labels exist for each DataLabelingJob: * \"aiplatform.googleapis.com/schema\": output only, its value is the inputs_schema's title.", +"type": "object" +}, +"name": { +"description": "Output only. Resource name of the DataLabelingJob.", +"readOnly": true, +"type": "string" +}, +"specialistPools": { +"description": "The SpecialistPools' resource names associated with this job.", +"items": { +"type": "string" +}, +"type": "array" +}, +"state": { +"description": "Output only. The detailed state of the job.", +"enum": [ +"JOB_STATE_UNSPECIFIED", +"JOB_STATE_QUEUED", +"JOB_STATE_PENDING", +"JOB_STATE_RUNNING", +"JOB_STATE_SUCCEEDED", +"JOB_STATE_FAILED", +"JOB_STATE_CANCELLING", +"JOB_STATE_CANCELLED", +"JOB_STATE_PAUSED", +"JOB_STATE_EXPIRED", +"JOB_STATE_UPDATING", +"JOB_STATE_PARTIALLY_SUCCEEDED" +], +"enumDescriptions": [ +"The job state is unspecified.", +"The job has been just created or resumed and processing has not yet begun.", +"The service is preparing to run the job.", +"The job is in progress.", +"The job completed successfully.", +"The job failed.", +"The job is being cancelled. From this state the job may only go to either `JOB_STATE_SUCCEEDED`, `JOB_STATE_FAILED` or `JOB_STATE_CANCELLED`.", +"The job has been cancelled.", +"The job has been stopped, and can be resumed.", +"The job has expired.", +"The job is being updated. Only jobs in the `RUNNING` state can be updated. After updating, the job goes back to the `RUNNING` state.", +"The job is partially succeeded, some results may be missing due to errors." +], +"readOnly": true, +"type": "string" +}, +"updateTime": { +"description": "Output only. Timestamp when this DataLabelingJob was updated most recently.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1Dataset": { +"description": "A collection of DataItems and Annotations on them.", +"id": "GoogleCloudAiplatformV1Dataset", +"properties": { +"createTime": { +"description": "Output only. Timestamp when this Dataset was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"dataItemCount": { +"description": "Output only. The number of DataItems in this Dataset. Only apply for non-structured Dataset.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"description": { +"description": "The description of the Dataset.", +"type": "string" +}, +"displayName": { +"description": "Required. The user-defined name of the Dataset. The name can be up to 128 characters long and can consist of any UTF-8 characters.", +"type": "string" +}, +"encryptionSpec": { +"$ref": "GoogleCloudAiplatformV1EncryptionSpec", +"description": "Customer-managed encryption key spec for a Dataset. If set, this Dataset and all sub-resources of this Dataset will be secured by this key." +}, +"etag": { +"description": "Used to perform consistent read-modify-write updates. If not set, a blind \"overwrite\" update happens.", +"type": "string" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "The labels with user-defined metadata to organize your Datasets. Label keys and values can be no longer than 64 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. No more than 64 user labels can be associated with one Dataset (System labels are excluded). See https://goo.gl/xmQnxf for more information and examples of labels. System reserved label keys are prefixed with \"aiplatform.googleapis.com/\" and are immutable. Following system labels exist for each Dataset: * \"aiplatform.googleapis.com/dataset_metadata_schema\": output only, its value is the metadata_schema's title.", +"type": "object" +}, +"metadata": { +"description": "Required. Additional information about the Dataset.", +"type": "any" +}, +"metadataArtifact": { +"description": "Output only. The resource name of the Artifact that was created in MetadataStore when creating the Dataset. The Artifact resource name pattern is `projects/{project}/locations/{location}/metadataStores/{metadata_store}/artifacts/{artifact}`.", +"readOnly": true, +"type": "string" +}, +"metadataSchemaUri": { +"description": "Required. Points to a YAML file stored on Google Cloud Storage describing additional information about the Dataset. The schema is defined as an OpenAPI 3.0.2 Schema Object. The schema files that can be used here are found in gs://google-cloud-aiplatform/schema/dataset/metadata/.", +"type": "string" +}, +"modelReference": { +"description": "Optional. Reference to the public base model last used by the dataset. Only set for prompt datasets.", +"type": "string" +}, +"name": { +"description": "Output only. Identifier. The resource name of the Dataset. Format: `projects/{project}/locations/{location}/datasets/{dataset}`", +"readOnly": true, +"type": "string" +}, +"satisfiesPzi": { +"description": "Output only. Reserved for future use.", +"readOnly": true, +"type": "boolean" +}, +"satisfiesPzs": { +"description": "Output only. Reserved for future use.", +"readOnly": true, +"type": "boolean" +}, +"savedQueries": { +"description": "All SavedQueries belong to the Dataset will be returned in List/Get Dataset response. The annotation_specs field will not be populated except for UI cases which will only use annotation_spec_count. In CreateDataset request, a SavedQuery is created together if this field is set, up to one SavedQuery can be set in CreateDatasetRequest. The SavedQuery should not contain any AnnotationSpec.", +"items": { +"$ref": "GoogleCloudAiplatformV1SavedQuery" +}, +"type": "array" +}, +"updateTime": { +"description": "Output only. Timestamp when this Dataset was last updated.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1DatasetDistribution": { +"description": "Distribution computed over a tuning dataset.", +"id": "GoogleCloudAiplatformV1DatasetDistribution", +"properties": { +"buckets": { +"description": "Output only. Defines the histogram bucket.", +"items": { +"$ref": "GoogleCloudAiplatformV1DatasetDistributionDistributionBucket" +}, +"readOnly": true, +"type": "array" +}, +"max": { +"description": "Output only. The maximum of the population values.", +"format": "double", +"readOnly": true, +"type": "number" +}, +"mean": { +"description": "Output only. The arithmetic mean of the values in the population.", +"format": "double", +"readOnly": true, +"type": "number" +}, +"median": { +"description": "Output only. The median of the values in the population.", +"format": "double", +"readOnly": true, +"type": "number" +}, +"min": { +"description": "Output only. The minimum of the population values.", +"format": "double", +"readOnly": true, +"type": "number" +}, +"p5": { +"description": "Output only. The 5th percentile of the values in the population.", +"format": "double", +"readOnly": true, +"type": "number" +}, +"p95": { +"description": "Output only. The 95th percentile of the values in the population.", +"format": "double", +"readOnly": true, +"type": "number" +}, +"sum": { +"description": "Output only. Sum of a given population of values.", +"format": "double", +"readOnly": true, +"type": "number" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1DatasetDistributionDistributionBucket": { +"description": "Dataset bucket used to create a histogram for the distribution given a population of values.", +"id": "GoogleCloudAiplatformV1DatasetDistributionDistributionBucket", +"properties": { +"count": { +"description": "Output only. Number of values in the bucket.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"left": { +"description": "Output only. Left bound of the bucket.", +"format": "double", +"readOnly": true, +"type": "number" +}, +"right": { +"description": "Output only. Right bound of the bucket.", +"format": "double", +"readOnly": true, +"type": "number" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1DatasetVersion": { +"description": "Describes the dataset version.", +"id": "GoogleCloudAiplatformV1DatasetVersion", +"properties": { +"bigQueryDatasetName": { +"description": "Output only. Name of the associated BigQuery dataset.", +"readOnly": true, +"type": "string" +}, +"createTime": { +"description": "Output only. Timestamp when this DatasetVersion was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"displayName": { +"description": "The user-defined name of the DatasetVersion. The name can be up to 128 characters long and can consist of any UTF-8 characters.", +"type": "string" +}, +"etag": { +"description": "Used to perform consistent read-modify-write updates. If not set, a blind \"overwrite\" update happens.", +"type": "string" +}, +"metadata": { +"description": "Required. Output only. Additional information about the DatasetVersion.", +"readOnly": true, +"type": "any" +}, +"modelReference": { +"description": "Output only. Reference to the public base model last used by the dataset version. Only set for prompt dataset versions.", +"readOnly": true, +"type": "string" +}, +"name": { +"description": "Output only. Identifier. The resource name of the DatasetVersion. Format: `projects/{project}/locations/{location}/datasets/{dataset}/datasetVersions/{dataset_version}`", +"readOnly": true, +"type": "string" +}, +"satisfiesPzi": { +"description": "Output only. Reserved for future use.", +"readOnly": true, +"type": "boolean" +}, +"satisfiesPzs": { +"description": "Output only. Reserved for future use.", +"readOnly": true, +"type": "boolean" +}, +"updateTime": { +"description": "Output only. Timestamp when this DatasetVersion was last updated.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1DedicatedResources": { +"description": "A description of resources that are dedicated to a DeployedModel or DeployedIndex, and that need a higher degree of manual configuration.", +"id": "GoogleCloudAiplatformV1DedicatedResources", +"properties": { +"autoscalingMetricSpecs": { +"description": "Immutable. The metric specifications that overrides a resource utilization metric (CPU utilization, accelerator's duty cycle, and so on) target value (default to 60 if not set). At most one entry is allowed per metric. If machine_spec.accelerator_count is above 0, the autoscaling will be based on both CPU utilization and accelerator's duty cycle metrics and scale up when either metrics exceeds its target value while scale down if both metrics are under their target value. The default target value is 60 for both metrics. If machine_spec.accelerator_count is 0, the autoscaling will be based on CPU utilization metric only with default target value 60 if not explicitly set. For example, in the case of Online Prediction, if you want to override target CPU utilization to 80, you should set autoscaling_metric_specs.metric_name to `aiplatform.googleapis.com/prediction/online/cpu/utilization` and autoscaling_metric_specs.target to `80`.", +"items": { +"$ref": "GoogleCloudAiplatformV1AutoscalingMetricSpec" +}, +"type": "array" +}, +"machineSpec": { +"$ref": "GoogleCloudAiplatformV1MachineSpec", +"description": "Required. Immutable. The specification of a single machine being used." +}, +"maxReplicaCount": { +"description": "Immutable. The maximum number of replicas that may be deployed on when the traffic against it increases. If the requested value is too large, the deployment will error, but if deployment succeeds then the ability to scale to that many replicas is guaranteed (barring service outages). If traffic increases beyond what its replicas at maximum may handle, a portion of the traffic will be dropped. If this value is not provided, will use min_replica_count as the default value. The value of this field impacts the charge against Vertex CPU and GPU quotas. Specifically, you will be charged for (max_replica_count * number of cores in the selected machine type) and (max_replica_count * number of GPUs per replica in the selected machine type).", +"format": "int32", +"type": "integer" +}, +"minReplicaCount": { +"description": "Required. Immutable. The minimum number of machine replicas that will be always deployed on. This value must be greater than or equal to 1. If traffic increases, it may dynamically be deployed onto more replicas, and as traffic decreases, some of these extra replicas may be freed.", +"format": "int32", +"type": "integer" +}, +"requiredReplicaCount": { +"description": "Optional. Number of required available replicas for the deployment to succeed. This field is only needed when partial deployment/mutation is desired. If set, the deploy/mutate operation will succeed once available_replica_count reaches required_replica_count, and the rest of the replicas will be retried. If not set, the default required_replica_count will be min_replica_count.", +"format": "int32", +"type": "integer" +}, +"spot": { +"description": "Optional. If true, schedule the deployment workload on [spot VMs](https://cloud.google.com/kubernetes-engine/docs/concepts/spot-vms).", +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1DeleteFeatureValuesOperationMetadata": { +"description": "Details of operations that delete Feature values.", +"id": "GoogleCloudAiplatformV1DeleteFeatureValuesOperationMetadata", +"properties": { +"genericMetadata": { +"$ref": "GoogleCloudAiplatformV1GenericOperationMetadata", +"description": "Operation metadata for Featurestore delete Features values." +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1DeleteFeatureValuesRequest": { +"description": "Request message for FeaturestoreService.DeleteFeatureValues.", +"id": "GoogleCloudAiplatformV1DeleteFeatureValuesRequest", +"properties": { +"selectEntity": { +"$ref": "GoogleCloudAiplatformV1DeleteFeatureValuesRequestSelectEntity", +"description": "Select feature values to be deleted by specifying entities." +}, +"selectTimeRangeAndFeature": { +"$ref": "GoogleCloudAiplatformV1DeleteFeatureValuesRequestSelectTimeRangeAndFeature", +"description": "Select feature values to be deleted by specifying time range and features." +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1DeleteFeatureValuesRequestSelectEntity": { +"description": "Message to select entity. If an entity id is selected, all the feature values corresponding to the entity id will be deleted, including the entityId.", +"id": "GoogleCloudAiplatformV1DeleteFeatureValuesRequestSelectEntity", +"properties": { +"entityIdSelector": { +"$ref": "GoogleCloudAiplatformV1EntityIdSelector", +"description": "Required. Selectors choosing feature values of which entity id to be deleted from the EntityType." +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1DeleteFeatureValuesRequestSelectTimeRangeAndFeature": { +"description": "Message to select time range and feature. Values of the selected feature generated within an inclusive time range will be deleted. Using this option permanently deletes the feature values from the specified feature IDs within the specified time range. This might include data from the online storage. If you want to retain any deleted historical data in the online storage, you must re-ingest it.", +"id": "GoogleCloudAiplatformV1DeleteFeatureValuesRequestSelectTimeRangeAndFeature", +"properties": { +"featureSelector": { +"$ref": "GoogleCloudAiplatformV1FeatureSelector", +"description": "Required. Selectors choosing which feature values to be deleted from the EntityType." +}, +"skipOnlineStorageDelete": { +"description": "If set, data will not be deleted from online storage. When time range is older than the data in online storage, setting this to be true will make the deletion have no impact on online serving.", +"type": "boolean" +}, +"timeRange": { +"$ref": "GoogleTypeInterval", +"description": "Required. Select feature generated within a half-inclusive time range. The time range is lower inclusive and upper exclusive." +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1DeleteFeatureValuesResponse": { +"description": "Response message for FeaturestoreService.DeleteFeatureValues.", +"id": "GoogleCloudAiplatformV1DeleteFeatureValuesResponse", +"properties": { +"selectEntity": { +"$ref": "GoogleCloudAiplatformV1DeleteFeatureValuesResponseSelectEntity", +"description": "Response for request specifying the entities to delete" +}, +"selectTimeRangeAndFeature": { +"$ref": "GoogleCloudAiplatformV1DeleteFeatureValuesResponseSelectTimeRangeAndFeature", +"description": "Response for request specifying time range and feature" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1DeleteFeatureValuesResponseSelectEntity": { +"description": "Response message if the request uses the SelectEntity option.", +"id": "GoogleCloudAiplatformV1DeleteFeatureValuesResponseSelectEntity", +"properties": { +"offlineStorageDeletedEntityRowCount": { +"description": "The count of deleted entity rows in the offline storage. Each row corresponds to the combination of an entity ID and a timestamp. One entity ID can have multiple rows in the offline storage.", +"format": "int64", +"type": "string" +}, +"onlineStorageDeletedEntityCount": { +"description": "The count of deleted entities in the online storage. Each entity ID corresponds to one entity.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1DeleteFeatureValuesResponseSelectTimeRangeAndFeature": { +"description": "Response message if the request uses the SelectTimeRangeAndFeature option.", +"id": "GoogleCloudAiplatformV1DeleteFeatureValuesResponseSelectTimeRangeAndFeature", +"properties": { +"impactedFeatureCount": { +"description": "The count of the features or columns impacted. This is the same as the feature count in the request.", +"format": "int64", +"type": "string" +}, +"offlineStorageModifiedEntityRowCount": { +"description": "The count of modified entity rows in the offline storage. Each row corresponds to the combination of an entity ID and a timestamp. One entity ID can have multiple rows in the offline storage. Within each row, only the features specified in the request are deleted.", +"format": "int64", +"type": "string" +}, +"onlineStorageModifiedEntityCount": { +"description": "The count of modified entities in the online storage. Each entity ID corresponds to one entity. Within each entity, only the features specified in the request are deleted.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1DeleteMetadataStoreOperationMetadata": { +"description": "Details of operations that perform MetadataService.DeleteMetadataStore.", +"id": "GoogleCloudAiplatformV1DeleteMetadataStoreOperationMetadata", +"properties": { +"genericMetadata": { +"$ref": "GoogleCloudAiplatformV1GenericOperationMetadata", +"description": "Operation metadata for deleting a MetadataStore." +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1DeleteOperationMetadata": { +"description": "Details of operations that perform deletes of any entities.", +"id": "GoogleCloudAiplatformV1DeleteOperationMetadata", +"properties": { +"genericMetadata": { +"$ref": "GoogleCloudAiplatformV1GenericOperationMetadata", +"description": "The common part of the operation metadata." +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1DeployIndexOperationMetadata": { +"description": "Runtime operation information for IndexEndpointService.DeployIndex.", +"id": "GoogleCloudAiplatformV1DeployIndexOperationMetadata", +"properties": { +"deployedIndexId": { +"description": "The unique index id specified by user", +"type": "string" +}, +"genericMetadata": { +"$ref": "GoogleCloudAiplatformV1GenericOperationMetadata", +"description": "The operation generic information." +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1DeployIndexRequest": { +"description": "Request message for IndexEndpointService.DeployIndex.", +"id": "GoogleCloudAiplatformV1DeployIndexRequest", +"properties": { +"deployedIndex": { +"$ref": "GoogleCloudAiplatformV1DeployedIndex", +"description": "Required. The DeployedIndex to be created within the IndexEndpoint." +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1DeployIndexResponse": { +"description": "Response message for IndexEndpointService.DeployIndex.", +"id": "GoogleCloudAiplatformV1DeployIndexResponse", +"properties": { +"deployedIndex": { +"$ref": "GoogleCloudAiplatformV1DeployedIndex", +"description": "The DeployedIndex that had been deployed in the IndexEndpoint." +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1DeployModelOperationMetadata": { +"description": "Runtime operation information for EndpointService.DeployModel.", +"id": "GoogleCloudAiplatformV1DeployModelOperationMetadata", +"properties": { +"deploymentStage": { +"description": "Output only. The deployment stage of the model.", +"enum": [ +"DEPLOYMENT_STAGE_UNSPECIFIED", +"STARTING_DEPLOYMENT", +"PREPARING_MODEL", +"CREATING_SERVING_CLUSTER", +"ADDING_NODES_TO_CLUSTER", +"GETTING_CONTAINER_IMAGE", +"STARTING_MODEL_SERVER", +"FINISHING_UP", +"DEPLOYMENT_TERMINATED", +"SUCCESSFULLY_DEPLOYED", +"FAILED_TO_DEPLOY" +], +"enumDescriptions": [ +"Default value. This value is unused.", +"The deployment is initializing and setting up the environment.", +"The deployment is preparing the model assets.", +"The deployment is creating the underlying serving cluster.", +"The deployment is adding nodes to the serving cluster.", +"The deployment is getting the container image for the model server.", +"The deployment is starting the model server.", +"The deployment is performing finalization steps.", +"The deployment has terminated.", +"The deployment has succeeded.", +"The deployment has failed." +], +"readOnly": true, +"type": "string" +}, +"genericMetadata": { +"$ref": "GoogleCloudAiplatformV1GenericOperationMetadata", +"description": "The operation generic information." +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1DeployModelRequest": { +"description": "Request message for EndpointService.DeployModel.", +"id": "GoogleCloudAiplatformV1DeployModelRequest", +"properties": { +"deployedModel": { +"$ref": "GoogleCloudAiplatformV1DeployedModel", +"description": "Required. The DeployedModel to be created within the Endpoint. Note that Endpoint.traffic_split must be updated for the DeployedModel to start receiving traffic, either as part of this call, or via EndpointService.UpdateEndpoint." +}, +"trafficSplit": { +"additionalProperties": { +"format": "int32", +"type": "integer" +}, +"description": "A map from a DeployedModel's ID to the percentage of this Endpoint's traffic that should be forwarded to that DeployedModel. If this field is non-empty, then the Endpoint's traffic_split will be overwritten with it. To refer to the ID of the just being deployed Model, a \"0\" should be used, and the actual ID of the new DeployedModel will be filled in its place by this method. The traffic percentage values must add up to 100. If this field is empty, then the Endpoint's traffic_split is not updated.", +"type": "object" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1DeployModelResponse": { +"description": "Response message for EndpointService.DeployModel.", +"id": "GoogleCloudAiplatformV1DeployModelResponse", +"properties": { +"deployedModel": { +"$ref": "GoogleCloudAiplatformV1DeployedModel", +"description": "The DeployedModel that had been deployed in the Endpoint." +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1DeployOperationMetadata": { +"description": "Runtime operation information for ModelGardenService.Deploy.", +"id": "GoogleCloudAiplatformV1DeployOperationMetadata", +"properties": { +"destination": { +"description": "Output only. The resource name of the Location to deploy the model in. Format: `projects/{project}/locations/{location}`", +"readOnly": true, +"type": "string" +}, +"genericMetadata": { +"$ref": "GoogleCloudAiplatformV1GenericOperationMetadata", +"description": "The operation generic information." +}, +"modelId": { +"description": "Output only. The model id to be used at query time.", +"readOnly": true, +"type": "string" +}, +"projectNumber": { +"description": "Output only. The project number where the deploy model request is sent.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"publisherModel": { +"description": "Output only. The name of the model resource.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1DeployRequest": { +"description": "Request message for ModelGardenService.Deploy.", +"id": "GoogleCloudAiplatformV1DeployRequest", +"properties": { +"deployConfig": { +"$ref": "GoogleCloudAiplatformV1DeployRequestDeployConfig", +"description": "Optional. The deploy config to use for the deployment. If not specified, the default deploy config will be used." +}, +"endpointConfig": { +"$ref": "GoogleCloudAiplatformV1DeployRequestEndpointConfig", +"description": "Optional. The endpoint config to use for the deployment. If not specified, the default endpoint config will be used." +}, +"huggingFaceModelId": { +"description": "The Hugging Face model to deploy. Format: Hugging Face model ID like `google/gemma-2-2b-it`.", +"type": "string" +}, +"modelConfig": { +"$ref": "GoogleCloudAiplatformV1DeployRequestModelConfig", +"description": "Optional. The model config to use for the deployment. If not specified, the default model config will be used." +}, +"publisherModelName": { +"description": "The Model Garden model to deploy. Format: `publishers/{publisher}/models/{publisher_model}@{version_id}`, or `publishers/hf-{hugging-face-author}/models/{hugging-face-model-name}@001`.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1DeployRequestDeployConfig": { +"description": "The deploy config to use for the deployment.", +"id": "GoogleCloudAiplatformV1DeployRequestDeployConfig", +"properties": { +"dedicatedResources": { +"$ref": "GoogleCloudAiplatformV1DedicatedResources", +"description": "Optional. The dedicated resources to use for the endpoint. If not set, the default resources will be used." +}, +"fastTryoutEnabled": { +"description": "Optional. If true, enable the QMT fast tryout feature for this model if possible.", +"type": "boolean" +}, +"systemLabels": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. System labels for Model Garden deployments. These labels are managed by Google and for tracking purposes only.", +"type": "object" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1DeployRequestEndpointConfig": { +"description": "The endpoint config to use for the deployment.", +"id": "GoogleCloudAiplatformV1DeployRequestEndpointConfig", +"properties": { +"dedicatedEndpointDisabled": { +"description": "Optional. By default, if dedicated endpoint is enabled and private service connect config is not set, the endpoint will be exposed through a dedicated DNS [Endpoint.dedicated_endpoint_dns]. If private service connect config is set, the endpoint will be exposed through private service connect. Your request to the dedicated DNS will be isolated from other users' traffic and will have better performance and reliability. Note: Once you enabled dedicated endpoint, you won't be able to send request to the shared DNS {region}-aiplatform.googleapis.com. The limitations will be removed soon. If this field is set to true, the dedicated endpoint will be disabled and the deployed model will be exposed through the shared DNS {region}-aiplatform.googleapis.com.", +"type": "boolean" +}, +"dedicatedEndpointEnabled": { +"deprecated": true, +"description": "Optional. Deprecated. Use dedicated_endpoint_disabled instead. If true, the endpoint will be exposed through a dedicated DNS [Endpoint.dedicated_endpoint_dns]. Your request to the dedicated DNS will be isolated from other users' traffic and will have better performance and reliability. Note: Once you enabled dedicated endpoint, you won't be able to send request to the shared DNS {region}-aiplatform.googleapis.com. The limitations will be removed soon.", +"type": "boolean" +}, +"endpointDisplayName": { +"description": "Optional. The user-specified display name of the endpoint. If not set, a default name will be used.", +"type": "string" +}, +"endpointUserId": { +"description": "Optional. Immutable. The ID to use for endpoint, which will become the final component of the endpoint resource name. If not provided, Vertex AI will generate a value for this ID. If the first character is a letter, this value may be up to 63 characters, and valid characters are `[a-z0-9-]`. The last character must be a letter or number. If the first character is a number, this value may be up to 9 characters, and valid characters are `[0-9]` with no leading zeros. When using HTTP/JSON, this field is populated based on a query string argument, such as `?endpoint_id=12345`. This is the fallback for fields that are not included in either the URI or the body.", +"type": "string" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. The labels with user-defined metadata to organize your Endpoints. Label keys and values can be no longer than 64 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. See https://goo.gl/xmQnxf for more information and examples of labels.", +"type": "object" +}, +"privateServiceConnectConfig": { +"$ref": "GoogleCloudAiplatformV1PrivateServiceConnectConfig", +"description": "Optional. Configuration for private service connect. If set, the endpoint will be exposed through private service connect." +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1DeployRequestModelConfig": { +"description": "The model config to use for the deployment.", +"id": "GoogleCloudAiplatformV1DeployRequestModelConfig", +"properties": { +"acceptEula": { +"description": "Optional. Whether the user accepts the End User License Agreement (EULA) for the model.", +"type": "boolean" +}, +"containerSpec": { +"$ref": "GoogleCloudAiplatformV1ModelContainerSpec", +"description": "Optional. The specification of the container that is to be used when deploying. If not set, the default container spec will be used." +}, +"huggingFaceAccessToken": { +"description": "Optional. The Hugging Face read access token used to access the model artifacts of gated models.", +"type": "string" +}, +"huggingFaceCacheEnabled": { +"description": "Optional. If true, the model will deploy with a cached version instead of directly downloading the model artifacts from Hugging Face. This is suitable for VPC-SC users with limited internet access.", +"type": "boolean" +}, +"modelDisplayName": { +"description": "Optional. The user-specified display name of the uploaded model. If not set, a default name will be used.", +"type": "string" +}, +"modelUserId": { +"description": "Optional. The ID to use for the uploaded Model, which will become the final component of the model resource name. When not provided, Vertex AI will generate a value for this ID. When Model Registry model is provided, this field will be ignored. This value may be up to 63 characters, and valid characters are `[a-z0-9_-]`. The first character cannot be a number or hyphen.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1DeployResponse": { +"description": "Response message for ModelGardenService.Deploy.", +"id": "GoogleCloudAiplatformV1DeployResponse", +"properties": { +"endpoint": { +"description": "Output only. The name of the Endpoint created. Format: `projects/{project}/locations/{location}/endpoints/{endpoint}`", +"readOnly": true, +"type": "string" +}, +"model": { +"description": "Output only. The name of the Model created. Format: `projects/{project}/locations/{location}/models/{model}`", +"readOnly": true, +"type": "string" +}, +"publisherModel": { +"description": "Output only. The name of the PublisherModel resource. Format: `publishers/{publisher}/models/{publisher_model}@{version_id}`, or `publishers/hf-{hugging-face-author}/models/{hugging-face-model-name}@001`", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1DeployedIndex": { +"description": "A deployment of an Index. IndexEndpoints contain one or more DeployedIndexes.", +"id": "GoogleCloudAiplatformV1DeployedIndex", +"properties": { +"automaticResources": { +"$ref": "GoogleCloudAiplatformV1AutomaticResources", +"description": "Optional. A description of resources that the DeployedIndex uses, which to large degree are decided by Vertex AI, and optionally allows only a modest additional configuration. If min_replica_count is not set, the default value is 2 (we don't provide SLA when min_replica_count=1). If max_replica_count is not set, the default value is min_replica_count. The max allowed replica count is 1000." +}, +"createTime": { +"description": "Output only. Timestamp when the DeployedIndex was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"dedicatedResources": { +"$ref": "GoogleCloudAiplatformV1DedicatedResources", +"description": "Optional. A description of resources that are dedicated to the DeployedIndex, and that need a higher degree of manual configuration. The field min_replica_count must be set to a value strictly greater than 0, or else validation will fail. We don't provide SLA when min_replica_count=1. If max_replica_count is not set, the default value is min_replica_count. The max allowed replica count is 1000. Available machine types for SMALL shard: e2-standard-2 and all machine types available for MEDIUM and LARGE shard. Available machine types for MEDIUM shard: e2-standard-16 and all machine types available for LARGE shard. Available machine types for LARGE shard: e2-highmem-16, n2d-standard-32. n1-standard-16 and n1-standard-32 are still available, but we recommend e2-standard-16 and e2-highmem-16 for cost efficiency." +}, +"deployedIndexAuthConfig": { +"$ref": "GoogleCloudAiplatformV1DeployedIndexAuthConfig", +"description": "Optional. If set, the authentication is enabled for the private endpoint." +}, +"deploymentGroup": { +"description": "Optional. The deployment group can be no longer than 64 characters (eg: 'test', 'prod'). If not set, we will use the 'default' deployment group. Creating `deployment_groups` with `reserved_ip_ranges` is a recommended practice when the peered network has multiple peering ranges. This creates your deployments from predictable IP spaces for easier traffic administration. Also, one deployment_group (except 'default') can only be used with the same reserved_ip_ranges which means if the deployment_group has been used with reserved_ip_ranges: [a, b, c], using it with [a, b] or [d, e] is disallowed. Note: we only support up to 5 deployment groups(not including 'default').", +"type": "string" +}, +"deploymentTier": { +"description": "Optional. The deployment tier that the index is deployed to. DEPLOYMENT_TIER_UNSPECIFIED will use a system-chosen default tier.", +"enum": [ +"DEPLOYMENT_TIER_UNSPECIFIED", +"STORAGE" +], +"enumDescriptions": [ +"Default deployment tier.", +"Optimized for costs." +], +"type": "string" +}, +"displayName": { +"description": "The display name of the DeployedIndex. If not provided upon creation, the Index's display_name is used.", +"type": "string" +}, +"enableAccessLogging": { +"description": "Optional. If true, private endpoint's access logs are sent to Cloud Logging. These logs are like standard server access logs, containing information like timestamp and latency for each MatchRequest. Note that logs may incur a cost, especially if the deployed index receives a high queries per second rate (QPS). Estimate your costs before enabling this option.", +"type": "boolean" +}, +"enableDatapointUpsertLogging": { +"description": "Optional. If true, logs to Cloud Logging errors relating to datapoint upserts. Under normal operation conditions, these log entries should be very rare. However, if incompatible datapoint updates are being uploaded to an index, a high volume of log entries may be generated in a short period of time. Note that logs may incur a cost, especially if the deployed index receives a high volume of datapoint upserts. Estimate your costs before enabling this option.", +"type": "boolean" +}, +"id": { +"description": "Required. The user specified ID of the DeployedIndex. The ID can be up to 128 characters long and must start with a letter and only contain letters, numbers, and underscores. The ID must be unique within the project it is created in.", +"type": "string" +}, +"index": { +"description": "Required. The name of the Index this is the deployment of. We may refer to this Index as the DeployedIndex's \"original\" Index.", +"type": "string" +}, +"indexSyncTime": { +"description": "Output only. The DeployedIndex may depend on various data on its original Index. Additionally when certain changes to the original Index are being done (e.g. when what the Index contains is being changed) the DeployedIndex may be asynchronously updated in the background to reflect these changes. If this timestamp's value is at least the Index.update_time of the original Index, it means that this DeployedIndex and the original Index are in sync. If this timestamp is older, then to see which updates this DeployedIndex already contains (and which it does not), one must list the operations that are running on the original Index. Only the successfully completed Operations with update_time equal or before this sync time are contained in this DeployedIndex.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"privateEndpoints": { +"$ref": "GoogleCloudAiplatformV1IndexPrivateEndpoints", +"description": "Output only. Provides paths for users to send requests directly to the deployed index services running on Cloud via private services access. This field is populated if network is configured.", +"readOnly": true +}, +"pscAutomationConfigs": { +"description": "Optional. If set for PSC deployed index, PSC connection will be automatically created after deployment is done and the endpoint information is populated in private_endpoints.psc_automated_endpoints.", +"items": { +"$ref": "GoogleCloudAiplatformV1PSCAutomationConfig" +}, +"type": "array" +}, +"reservedIpRanges": { +"description": "Optional. A list of reserved ip ranges under the VPC network that can be used for this DeployedIndex. If set, we will deploy the index within the provided ip ranges. Otherwise, the index might be deployed to any ip ranges under the provided VPC network. The value should be the name of the address (https://cloud.google.com/compute/docs/reference/rest/v1/addresses) Example: ['vertex-ai-ip-range']. For more information about subnets and network IP ranges, please see https://cloud.google.com/vpc/docs/subnets#manually_created_subnet_ip_ranges.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1DeployedIndexAuthConfig": { +"description": "Used to set up the auth on the DeployedIndex's private endpoint.", +"id": "GoogleCloudAiplatformV1DeployedIndexAuthConfig", +"properties": { +"authProvider": { +"$ref": "GoogleCloudAiplatformV1DeployedIndexAuthConfigAuthProvider", +"description": "Defines the authentication provider that the DeployedIndex uses." +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1DeployedIndexAuthConfigAuthProvider": { +"description": "Configuration for an authentication provider, including support for [JSON Web Token (JWT)](https://tools.ietf.org/html/draft-ietf-oauth-json-web-token-32).", +"id": "GoogleCloudAiplatformV1DeployedIndexAuthConfigAuthProvider", +"properties": { +"allowedIssuers": { +"description": "A list of allowed JWT issuers. Each entry must be a valid Google service account, in the following format: `service-account-name@project-id.iam.gserviceaccount.com`", +"items": { +"type": "string" +}, +"type": "array" +}, +"audiences": { +"description": "The list of JWT [audiences](https://tools.ietf.org/html/draft-ietf-oauth-json-web-token-32#section-4.1.3). that are allowed to access. A JWT containing any of these audiences will be accepted.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1DeployedIndexRef": { +"description": "Points to a DeployedIndex.", +"id": "GoogleCloudAiplatformV1DeployedIndexRef", +"properties": { +"deployedIndexId": { +"description": "Immutable. The ID of the DeployedIndex in the above IndexEndpoint.", +"type": "string" +}, +"displayName": { +"description": "Output only. The display name of the DeployedIndex.", +"readOnly": true, +"type": "string" +}, +"indexEndpoint": { +"description": "Immutable. A resource name of the IndexEndpoint.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1DeployedModel": { +"description": "A deployment of a Model. Endpoints contain one or more DeployedModels.", +"id": "GoogleCloudAiplatformV1DeployedModel", +"properties": { +"automaticResources": { +"$ref": "GoogleCloudAiplatformV1AutomaticResources", +"description": "A description of resources that to large degree are decided by Vertex AI, and require only a modest additional configuration." +}, +"checkpointId": { +"description": "The checkpoint id of the model.", +"type": "string" +}, +"createTime": { +"description": "Output only. Timestamp when the DeployedModel was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"dedicatedResources": { +"$ref": "GoogleCloudAiplatformV1DedicatedResources", +"description": "A description of resources that are dedicated to the DeployedModel, and that need a higher degree of manual configuration." +}, +"disableContainerLogging": { +"description": "For custom-trained Models and AutoML Tabular Models, the container of the DeployedModel instances will send `stderr` and `stdout` streams to Cloud Logging by default. Please note that the logs incur cost, which are subject to [Cloud Logging pricing](https://cloud.google.com/logging/pricing). User can disable container logging by setting this flag to true.", +"type": "boolean" +}, +"disableExplanations": { +"description": "If true, deploy the model without explainable feature, regardless the existence of Model.explanation_spec or explanation_spec.", +"type": "boolean" +}, +"displayName": { +"description": "The display name of the DeployedModel. If not provided upon creation, the Model's display_name is used.", +"type": "string" +}, +"enableAccessLogging": { +"description": "If true, online prediction access logs are sent to Cloud Logging. These logs are like standard server access logs, containing information like timestamp and latency for each prediction request. Note that logs may incur a cost, especially if your project receives prediction requests at a high queries per second rate (QPS). Estimate your costs before enabling this option.", +"type": "boolean" +}, +"explanationSpec": { +"$ref": "GoogleCloudAiplatformV1ExplanationSpec", +"description": "Explanation configuration for this DeployedModel. When deploying a Model using EndpointService.DeployModel, this value overrides the value of Model.explanation_spec. All fields of explanation_spec are optional in the request. If a field of explanation_spec is not populated, the value of the same field of Model.explanation_spec is inherited. If the corresponding Model.explanation_spec is not populated, all fields of the explanation_spec will be used for the explanation configuration." +}, +"fasterDeploymentConfig": { +"$ref": "GoogleCloudAiplatformV1FasterDeploymentConfig", +"description": "Configuration for faster model deployment." +}, +"gdcConnectedModel": { +"description": "GDC pretrained / Gemini model name. The model name is a plain model name, e.g. gemini-1.5-flash-002.", +"type": "string" +}, +"id": { +"description": "Immutable. The ID of the DeployedModel. If not provided upon deployment, Vertex AI will generate a value for this ID. This value should be 1-10 characters, and valid characters are `/[0-9]/`.", +"type": "string" +}, +"model": { +"description": "The resource name of the Model that this is the deployment of. Note that the Model may be in a different location than the DeployedModel's Endpoint. The resource name may contain version id or version alias to specify the version. Example: `projects/{project}/locations/{location}/models/{model}@2` or `projects/{project}/locations/{location}/models/{model}@golden` if no version is specified, the default version will be deployed.", +"type": "string" +}, +"modelVersionId": { +"description": "Output only. The version ID of the model that is deployed.", +"readOnly": true, +"type": "string" +}, +"privateEndpoints": { +"$ref": "GoogleCloudAiplatformV1PrivateEndpoints", +"description": "Output only. Provide paths for users to send predict/explain/health requests directly to the deployed model services running on Cloud via private services access. This field is populated if network is configured.", +"readOnly": true +}, +"serviceAccount": { +"description": "The service account that the DeployedModel's container runs as. Specify the email address of the service account. If this service account is not specified, the container runs as a service account that doesn't have access to the resource project. Users deploying the Model must have the `iam.serviceAccounts.actAs` permission on this service account.", +"type": "string" +}, +"sharedResources": { +"description": "The resource name of the shared DeploymentResourcePool to deploy on. Format: `projects/{project}/locations/{location}/deploymentResourcePools/{deployment_resource_pool}`", +"type": "string" +}, +"speculativeDecodingSpec": { +"$ref": "GoogleCloudAiplatformV1SpeculativeDecodingSpec", +"description": "Optional. Spec for configuring speculative decoding." +}, +"status": { +"$ref": "GoogleCloudAiplatformV1DeployedModelStatus", +"description": "Output only. Runtime status of the deployed model.", +"readOnly": true +}, +"systemLabels": { +"additionalProperties": { +"type": "string" +}, +"description": "System labels to apply to Model Garden deployments. System labels are managed by Google for internal use only.", +"type": "object" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1DeployedModelRef": { +"description": "Points to a DeployedModel.", +"id": "GoogleCloudAiplatformV1DeployedModelRef", +"properties": { +"checkpointId": { +"description": "Immutable. The ID of the Checkpoint deployed in the DeployedModel.", +"type": "string" +}, +"deployedModelId": { +"description": "Immutable. An ID of a DeployedModel in the above Endpoint.", +"type": "string" +}, +"endpoint": { +"description": "Immutable. A resource name of an Endpoint.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1DeployedModelStatus": { +"description": "Runtime status of the deployed model.", +"id": "GoogleCloudAiplatformV1DeployedModelStatus", +"properties": { +"availableReplicaCount": { +"description": "Output only. The number of available replicas of the deployed model.", +"format": "int32", +"readOnly": true, +"type": "integer" +}, +"lastUpdateTime": { +"description": "Output only. The time at which the status was last updated.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"message": { +"description": "Output only. The latest deployed model's status message (if any).", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1DeploymentResourcePool": { +"description": "A description of resources that can be shared by multiple DeployedModels, whose underlying specification consists of a DedicatedResources.", +"id": "GoogleCloudAiplatformV1DeploymentResourcePool", +"properties": { +"createTime": { +"description": "Output only. Timestamp when this DeploymentResourcePool was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"dedicatedResources": { +"$ref": "GoogleCloudAiplatformV1DedicatedResources", +"description": "Required. The underlying DedicatedResources that the DeploymentResourcePool uses." +}, +"disableContainerLogging": { +"description": "If the DeploymentResourcePool is deployed with custom-trained Models or AutoML Tabular Models, the container(s) of the DeploymentResourcePool will send `stderr` and `stdout` streams to Cloud Logging by default. Please note that the logs incur cost, which are subject to [Cloud Logging pricing](https://cloud.google.com/logging/pricing). User can disable container logging by setting this flag to true.", +"type": "boolean" +}, +"encryptionSpec": { +"$ref": "GoogleCloudAiplatformV1EncryptionSpec", +"description": "Customer-managed encryption key spec for a DeploymentResourcePool. If set, this DeploymentResourcePool will be secured by this key. Endpoints and the DeploymentResourcePool they deploy in need to have the same EncryptionSpec." +}, +"name": { +"description": "Immutable. The resource name of the DeploymentResourcePool. Format: `projects/{project}/locations/{location}/deploymentResourcePools/{deployment_resource_pool}`", +"type": "string" +}, +"satisfiesPzi": { +"description": "Output only. Reserved for future use.", +"readOnly": true, +"type": "boolean" +}, +"satisfiesPzs": { +"description": "Output only. Reserved for future use.", +"readOnly": true, +"type": "boolean" +}, +"serviceAccount": { +"description": "The service account that the DeploymentResourcePool's container(s) run as. Specify the email address of the service account. If this service account is not specified, the container(s) run as a service account that doesn't have access to the resource project. Users deploying the Models to this DeploymentResourcePool must have the `iam.serviceAccounts.actAs` permission on this service account.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1DestinationFeatureSetting": { +"id": "GoogleCloudAiplatformV1DestinationFeatureSetting", +"properties": { +"destinationField": { +"description": "Specify the field name in the export destination. If not specified, Feature ID is used.", +"type": "string" +}, +"featureId": { +"description": "Required. The ID of the Feature to apply the setting to.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1DirectPredictRequest": { +"description": "Request message for PredictionService.DirectPredict.", +"id": "GoogleCloudAiplatformV1DirectPredictRequest", +"properties": { +"inputs": { +"description": "The prediction input.", +"items": { +"$ref": "GoogleCloudAiplatformV1Tensor" +}, +"type": "array" +}, +"parameters": { +"$ref": "GoogleCloudAiplatformV1Tensor", +"description": "The parameters that govern the prediction." +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1DirectPredictResponse": { +"description": "Response message for PredictionService.DirectPredict.", +"id": "GoogleCloudAiplatformV1DirectPredictResponse", +"properties": { +"outputs": { +"description": "The prediction output.", +"items": { +"$ref": "GoogleCloudAiplatformV1Tensor" +}, +"type": "array" +}, +"parameters": { +"$ref": "GoogleCloudAiplatformV1Tensor", +"description": "The parameters that govern the prediction." +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1DirectRawPredictRequest": { +"description": "Request message for PredictionService.DirectRawPredict.", +"id": "GoogleCloudAiplatformV1DirectRawPredictRequest", +"properties": { +"input": { +"description": "The prediction input.", +"format": "byte", +"type": "string" +}, +"methodName": { +"description": "Fully qualified name of the API method being invoked to perform predictions. Format: `/namespace.Service/Method/` Example: `/tensorflow.serving.PredictionService/Predict`", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1DirectRawPredictResponse": { +"description": "Response message for PredictionService.DirectRawPredict.", +"id": "GoogleCloudAiplatformV1DirectRawPredictResponse", +"properties": { +"output": { +"description": "The prediction output.", +"format": "byte", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1DirectUploadSource": { +"description": "The input content is encapsulated and uploaded in the request.", +"id": "GoogleCloudAiplatformV1DirectUploadSource", +"properties": {}, +"type": "object" +}, +"GoogleCloudAiplatformV1DiskSpec": { +"description": "Represents the spec of disk options.", +"id": "GoogleCloudAiplatformV1DiskSpec", +"properties": { +"bootDiskSizeGb": { +"description": "Size in GB of the boot disk (default is 100GB).", +"format": "int32", +"type": "integer" +}, +"bootDiskType": { +"description": "Type of the boot disk. For non-A3U machines, the default value is \"pd-ssd\", for A3U machines, the default value is \"hyperdisk-balanced\". Valid values: \"pd-ssd\" (Persistent Disk Solid State Drive), \"pd-standard\" (Persistent Disk Hard Disk Drive) or \"hyperdisk-balanced\".", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1DnsPeeringConfig": { +"description": "DNS peering configuration. These configurations are used to create DNS peering zones in the Vertex tenant project VPC, enabling resolution of records within the specified domain hosted in the target network's Cloud DNS.", +"id": "GoogleCloudAiplatformV1DnsPeeringConfig", +"properties": { +"domain": { +"description": "Required. The DNS name suffix of the zone being peered to, e.g., \"my-internal-domain.corp.\". Must end with a dot.", +"type": "string" +}, +"targetNetwork": { +"description": "Required. The VPC network name in the target_project where the DNS zone specified by 'domain' is visible.", +"type": "string" +}, +"targetProject": { +"description": "Required. The project ID hosting the Cloud DNS managed zone that contains the 'domain'. The Vertex AI Service Agent requires the dns.peer role on this project.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1DoubleArray": { +"description": "A list of double values.", +"id": "GoogleCloudAiplatformV1DoubleArray", +"properties": { +"values": { +"description": "A list of double values.", +"items": { +"format": "double", +"type": "number" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1DynamicRetrievalConfig": { +"description": "Describes the options to customize dynamic retrieval.", +"id": "GoogleCloudAiplatformV1DynamicRetrievalConfig", +"properties": { +"dynamicThreshold": { +"description": "Optional. The threshold to be used in dynamic retrieval. If not set, a system default value is used.", +"format": "float", +"type": "number" +}, +"mode": { +"description": "The mode of the predictor to be used in dynamic retrieval.", +"enum": [ +"MODE_UNSPECIFIED", +"MODE_DYNAMIC" +], +"enumDescriptions": [ +"Always trigger retrieval.", +"Run retrieval only when system decides it is necessary." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1EmbedContentRequest": { +"description": "Request message for PredictionService.EmbedContent.", +"id": "GoogleCloudAiplatformV1EmbedContentRequest", +"properties": { +"autoTruncate": { +"description": "Optional. Whether to silently truncate the input content if it's longer than the maximum sequence length.", +"type": "boolean" +}, +"content": { +"$ref": "GoogleCloudAiplatformV1Content", +"description": "Required. Input content to be embedded. Required." +}, +"outputDimensionality": { +"description": "Optional. Optional reduced dimension for the output embedding. If set, excessive values in the output embedding are truncated from the end.", +"format": "int32", +"type": "integer" +}, +"taskType": { +"description": "Optional. The task type of the embedding.", +"enum": [ +"UNSPECIFIED", +"RETRIEVAL_QUERY", +"RETRIEVAL_DOCUMENT", +"SEMANTIC_SIMILARITY", +"CLASSIFICATION", +"CLUSTERING", +"QUESTION_ANSWERING", +"FACT_VERIFICATION", +"CODE_RETRIEVAL_QUERY" +], +"enumDescriptions": [ +"Unset value, which will default to one of the other enum values.", +"Specifies the given text is a query in a search/retrieval setting.", +"Specifies the given text is a document from the corpus being searched.", +"Specifies the given text will be used for STS.", +"Specifies that the given text will be classified.", +"Specifies that the embeddings will be used for clustering.", +"Specifies that the embeddings will be used for question answering.", +"Specifies that the embeddings will be used for fact verification.", +"Specifies that the embeddings will be used for code retrieval." +], +"type": "string" +}, +"title": { +"description": "Optional. An optional title for the text.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1EmbedContentResponse": { +"description": "Response message for PredictionService.EmbedContent.", +"id": "GoogleCloudAiplatformV1EmbedContentResponse", +"properties": { +"embedding": { +"$ref": "GoogleCloudAiplatformV1EmbedContentResponseEmbedding", +"description": "The embedding generated from the input content." +}, +"truncated": { +"description": "Whether the input content was truncated before generating the embedding.", +"type": "boolean" +}, +"usageMetadata": { +"$ref": "GoogleCloudAiplatformV1UsageMetadata", +"description": "Metadata about the response(s)." +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1EmbedContentResponseEmbedding": { +"description": "A list of floats representing an embedding.", +"id": "GoogleCloudAiplatformV1EmbedContentResponseEmbedding", +"properties": { +"values": { +"description": "Embedding vector values.", +"items": { +"format": "float", +"type": "number" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1EncryptionSpec": { +"description": "Represents a customer-managed encryption key specification that can be applied to a Vertex AI resource.", +"id": "GoogleCloudAiplatformV1EncryptionSpec", +"properties": { +"kmsKeyName": { +"description": "Required. Resource name of the Cloud KMS key used to protect the resource. The Cloud KMS key must be in the same region as the resource. It must have the format `projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}`.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1Endpoint": { +"description": "Models are deployed into it, and afterwards Endpoint is called to obtain predictions and explanations.", +"id": "GoogleCloudAiplatformV1Endpoint", +"properties": { +"clientConnectionConfig": { +"$ref": "GoogleCloudAiplatformV1ClientConnectionConfig", +"description": "Configurations that are applied to the endpoint for online prediction." +}, +"createTime": { +"description": "Output only. Timestamp when this Endpoint was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"dedicatedEndpointDns": { +"description": "Output only. DNS of the dedicated endpoint. Will only be populated if dedicated_endpoint_enabled is true. Depending on the features enabled, uid might be a random number or a string. For example, if fast_tryout is enabled, uid will be fasttryout. Format: `https://{endpoint_id}.{region}-{uid}.prediction.vertexai.goog`.", +"readOnly": true, +"type": "string" +}, +"dedicatedEndpointEnabled": { +"description": "If true, the endpoint will be exposed through a dedicated DNS [Endpoint.dedicated_endpoint_dns]. Your request to the dedicated DNS will be isolated from other users' traffic and will have better performance and reliability. Note: Once you enabled dedicated endpoint, you won't be able to send request to the shared DNS {region}-aiplatform.googleapis.com. The limitation will be removed soon.", +"type": "boolean" +}, +"deployedModels": { +"description": "Output only. The models deployed in this Endpoint. To add or remove DeployedModels use EndpointService.DeployModel and EndpointService.UndeployModel respectively.", +"items": { +"$ref": "GoogleCloudAiplatformV1DeployedModel" +}, +"readOnly": true, +"type": "array" +}, +"description": { +"description": "The description of the Endpoint.", +"type": "string" +}, +"displayName": { +"description": "Required. The display name of the Endpoint. The name can be up to 128 characters long and can consist of any UTF-8 characters.", +"type": "string" +}, +"enablePrivateServiceConnect": { +"deprecated": true, +"description": "Deprecated: If true, expose the Endpoint via private service connect. Only one of the fields, network or enable_private_service_connect, can be set.", +"type": "boolean" +}, +"encryptionSpec": { +"$ref": "GoogleCloudAiplatformV1EncryptionSpec", +"description": "Customer-managed encryption key spec for an Endpoint. If set, this Endpoint and all sub-resources of this Endpoint will be secured by this key." +}, +"etag": { +"description": "Used to perform consistent read-modify-write updates. If not set, a blind \"overwrite\" update happens.", +"type": "string" +}, +"gdcConfig": { +"$ref": "GoogleCloudAiplatformV1GdcConfig", +"description": "Configures the Google Distributed Cloud (GDC) environment for online prediction. Only set this field when the Endpoint is to be deployed in a GDC environment." +}, +"genAiAdvancedFeaturesConfig": { +"$ref": "GoogleCloudAiplatformV1GenAiAdvancedFeaturesConfig", +"description": "Optional. Configuration for GenAiAdvancedFeatures. If the endpoint is serving GenAI models, advanced features like native RAG integration can be configured. Currently, only Model Garden models are supported." +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "The labels with user-defined metadata to organize your Endpoints. Label keys and values can be no longer than 64 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. See https://goo.gl/xmQnxf for more information and examples of labels.", +"type": "object" +}, +"modelDeploymentMonitoringJob": { +"description": "Output only. Resource name of the Model Monitoring job associated with this Endpoint if monitoring is enabled by JobService.CreateModelDeploymentMonitoringJob. Format: `projects/{project}/locations/{location}/modelDeploymentMonitoringJobs/{model_deployment_monitoring_job}`", +"readOnly": true, +"type": "string" +}, +"name": { +"description": "Identifier. The resource name of the Endpoint.", +"type": "string" +}, +"network": { +"description": "Optional. The full name of the Google Compute Engine [network](https://cloud.google.com//compute/docs/networks-and-firewalls#networks) to which the Endpoint should be peered. Private services access must already be configured for the network. If left unspecified, the Endpoint is not peered with any network. Only one of the fields, network or enable_private_service_connect, can be set. [Format](https://cloud.google.com/compute/docs/reference/rest/v1/networks/insert): `projects/{project}/global/networks/{network}`. Where `{project}` is a project number, as in `12345`, and `{network}` is network name.", +"type": "string" +}, +"predictRequestResponseLoggingConfig": { +"$ref": "GoogleCloudAiplatformV1PredictRequestResponseLoggingConfig", +"description": "Configures the request-response logging for online prediction." +}, +"privateServiceConnectConfig": { +"$ref": "GoogleCloudAiplatformV1PrivateServiceConnectConfig", +"description": "Optional. Configuration for private service connect. network and private_service_connect_config are mutually exclusive." +}, +"satisfiesPzi": { +"description": "Output only. Reserved for future use.", +"readOnly": true, +"type": "boolean" +}, +"satisfiesPzs": { +"description": "Output only. Reserved for future use.", +"readOnly": true, +"type": "boolean" +}, +"trafficSplit": { +"additionalProperties": { +"format": "int32", +"type": "integer" +}, +"description": "A map from a DeployedModel's ID to the percentage of this Endpoint's traffic that should be forwarded to that DeployedModel. If a DeployedModel's ID is not listed in this map, then it receives no traffic. The traffic percentage values must add up to 100, or map must be empty if the Endpoint is to not accept any traffic at a moment.", +"type": "object" +}, +"updateTime": { +"description": "Output only. Timestamp when this Endpoint was last updated.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1EnterpriseWebSearch": { +"description": "Tool to search public web data, powered by Vertex AI Search and Sec4 compliance.", +"id": "GoogleCloudAiplatformV1EnterpriseWebSearch", +"properties": { +"blockingConfidence": { +"description": "Optional. Sites with confidence level chosen & above this value will be blocked from the search results.", +"enum": [ +"PHISH_BLOCK_THRESHOLD_UNSPECIFIED", +"BLOCK_LOW_AND_ABOVE", +"BLOCK_MEDIUM_AND_ABOVE", +"BLOCK_HIGH_AND_ABOVE", +"BLOCK_HIGHER_AND_ABOVE", +"BLOCK_VERY_HIGH_AND_ABOVE", +"BLOCK_ONLY_EXTREMELY_HIGH" +], +"enumDescriptions": [ +"Defaults to unspecified.", +"Blocks Low and above confidence URL that is risky.", +"Blocks Medium and above confidence URL that is risky.", +"Blocks High and above confidence URL that is risky.", +"Blocks Higher and above confidence URL that is risky.", +"Blocks Very high and above confidence URL that is risky.", +"Blocks Extremely high confidence URL that is risky." +], +"type": "string" +}, +"excludeDomains": { +"description": "Optional. List of domains to be excluded from the search results. The default limit is 2000 domains.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1EntityIdSelector": { +"description": "Selector for entityId. Getting ids from the given source.", +"id": "GoogleCloudAiplatformV1EntityIdSelector", +"properties": { +"csvSource": { +"$ref": "GoogleCloudAiplatformV1CsvSource", +"description": "Source of Csv" +}, +"entityIdField": { +"description": "Source column that holds entity IDs. If not provided, entity IDs are extracted from the column named entity_id.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1EntityType": { +"description": "An entity type is a type of object in a system that needs to be modeled and have stored information about. For example, driver is an entity type, and driver0 is an instance of an entity type driver.", +"id": "GoogleCloudAiplatformV1EntityType", +"properties": { +"createTime": { +"description": "Output only. Timestamp when this EntityType was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"description": { +"description": "Optional. Description of the EntityType.", +"type": "string" +}, +"etag": { +"description": "Optional. Used to perform a consistent read-modify-write updates. If not set, a blind \"overwrite\" update happens.", +"type": "string" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. The labels with user-defined metadata to organize your EntityTypes. Label keys and values can be no longer than 64 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. See https://goo.gl/xmQnxf for more information on and examples of labels. No more than 64 user labels can be associated with one EntityType (System labels are excluded).\" System reserved label keys are prefixed with \"aiplatform.googleapis.com/\" and are immutable.", +"type": "object" +}, +"monitoringConfig": { +"$ref": "GoogleCloudAiplatformV1FeaturestoreMonitoringConfig", +"description": "Optional. The default monitoring configuration for all Features with value type (Feature.ValueType) BOOL, STRING, DOUBLE or INT64 under this EntityType. If this is populated with [FeaturestoreMonitoringConfig.monitoring_interval] specified, snapshot analysis monitoring is enabled. Otherwise, snapshot analysis monitoring is disabled." +}, +"name": { +"description": "Immutable. Name of the EntityType. Format: `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}` The last part entity_type is assigned by the client. The entity_type can be up to 64 characters long and can consist only of ASCII Latin letters A-Z and a-z and underscore(_), and ASCII digits 0-9 starting with a letter. The value will be unique given a featurestore.", +"type": "string" +}, +"offlineStorageTtlDays": { +"description": "Optional. Config for data retention policy in offline storage. TTL in days for feature values that will be stored in offline storage. The Feature Store offline storage periodically removes obsolete feature values older than `offline_storage_ttl_days` since the feature generation time. If unset (or explicitly set to 0), default to 4000 days TTL.", +"format": "int32", +"type": "integer" +}, +"satisfiesPzi": { +"description": "Output only. Reserved for future use.", +"readOnly": true, +"type": "boolean" +}, +"satisfiesPzs": { +"description": "Output only. Reserved for future use.", +"readOnly": true, +"type": "boolean" +}, +"updateTime": { +"description": "Output only. Timestamp when this EntityType was most recently updated.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1EnvVar": { +"description": "Represents an environment variable present in a Container or Python Module.", +"id": "GoogleCloudAiplatformV1EnvVar", +"properties": { +"name": { +"description": "Required. Name of the environment variable. Must be a valid C identifier.", +"type": "string" +}, +"value": { +"description": "Required. Variables that reference a $(VAR_NAME) are expanded using the previous defined environment variables in the container and any service environment variables. If a variable cannot be resolved, the reference in the input string will be unchanged. The $(VAR_NAME) syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded, regardless of whether the variable exists or not.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1ErrorAnalysisAnnotation": { +"description": "Model error analysis for each annotation.", +"id": "GoogleCloudAiplatformV1ErrorAnalysisAnnotation", +"properties": { +"attributedItems": { +"description": "Attributed items for a given annotation, typically representing neighbors from the training sets constrained by the query type.", +"items": { +"$ref": "GoogleCloudAiplatformV1ErrorAnalysisAnnotationAttributedItem" +}, +"type": "array" +}, +"outlierScore": { +"description": "The outlier score of this annotated item. Usually defined as the min of all distances from attributed items.", +"format": "double", +"type": "number" +}, +"outlierThreshold": { +"description": "The threshold used to determine if this annotation is an outlier or not.", +"format": "double", +"type": "number" +}, +"queryType": { +"description": "The query type used for finding the attributed items.", +"enum": [ +"QUERY_TYPE_UNSPECIFIED", +"ALL_SIMILAR", +"SAME_CLASS_SIMILAR", +"SAME_CLASS_DISSIMILAR" +], +"enumDescriptions": [ +"Unspecified query type for model error analysis.", +"Query similar samples across all classes in the dataset.", +"Query similar samples from the same class of the input sample.", +"Query dissimilar samples from the same class of the input sample." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1ErrorAnalysisAnnotationAttributedItem": { +"description": "Attributed items for a given annotation, typically representing neighbors from the training sets constrained by the query type.", +"id": "GoogleCloudAiplatformV1ErrorAnalysisAnnotationAttributedItem", +"properties": { +"annotationResourceName": { +"description": "The unique ID for each annotation. Used by FE to allocate the annotation in DB.", +"type": "string" +}, +"distance": { +"description": "The distance of this item to the annotation.", +"format": "double", +"type": "number" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1EvaluateDatasetRequest": { +"description": "Request message for EvaluationService.EvaluateDataset.", +"id": "GoogleCloudAiplatformV1EvaluateDatasetRequest", +"properties": { +"autoraterConfig": { +"$ref": "GoogleCloudAiplatformV1AutoraterConfig", +"description": "Optional. Autorater config used for evaluation. Currently only publisher Gemini models are supported. Format: `projects/{PROJECT}/locations/{LOCATION}/publishers/google/models/{MODEL}.`" +}, +"dataset": { +"$ref": "GoogleCloudAiplatformV1EvaluationDataset", +"description": "Required. The dataset used for evaluation." +}, +"location": { +"description": "Required. The resource name of the Location to evaluate the dataset. Format: `projects/{project}/locations/{location}`", +"type": "string" +}, +"metrics": { +"description": "Required. The metrics used for evaluation.", +"items": { +"$ref": "GoogleCloudAiplatformV1Metric" +}, +"type": "array" +}, +"outputConfig": { +"$ref": "GoogleCloudAiplatformV1OutputConfig", +"description": "Required. Config for evaluation output." +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1EvaluateDatasetResponse": { +"description": "The results from an evaluation run performed by the EvaluationService.", +"id": "GoogleCloudAiplatformV1EvaluateDatasetResponse", +"properties": { +"aggregationOutput": { +"$ref": "GoogleCloudAiplatformV1AggregationOutput", +"description": "Output only. Aggregation statistics derived from results of EvaluationService.", +"readOnly": true +}, +"outputInfo": { +"$ref": "GoogleCloudAiplatformV1OutputInfo", +"description": "Output only. Output info for EvaluationService.", +"readOnly": true +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1EvaluateInstancesRequest": { +"description": "Request message for EvaluationService.EvaluateInstances.", +"id": "GoogleCloudAiplatformV1EvaluateInstancesRequest", +"properties": { +"autoraterConfig": { +"$ref": "GoogleCloudAiplatformV1AutoraterConfig", +"description": "Optional. Autorater config used for evaluation." +}, +"bleuInput": { +"$ref": "GoogleCloudAiplatformV1BleuInput", +"description": "Instances and metric spec for bleu metric." +}, +"coherenceInput": { +"$ref": "GoogleCloudAiplatformV1CoherenceInput", +"description": "Input for coherence metric." +}, +"cometInput": { +"$ref": "GoogleCloudAiplatformV1CometInput", +"description": "Translation metrics. Input for Comet metric." +}, +"exactMatchInput": { +"$ref": "GoogleCloudAiplatformV1ExactMatchInput", +"description": "Auto metric instances. Instances and metric spec for exact match metric." +}, +"fluencyInput": { +"$ref": "GoogleCloudAiplatformV1FluencyInput", +"description": "LLM-based metric instance. General text generation metrics, applicable to other categories. Input for fluency metric." +}, +"fulfillmentInput": { +"$ref": "GoogleCloudAiplatformV1FulfillmentInput", +"description": "Input for fulfillment metric." +}, +"groundednessInput": { +"$ref": "GoogleCloudAiplatformV1GroundednessInput", +"description": "Input for groundedness metric." +}, +"instance": { +"$ref": "GoogleCloudAiplatformV1EvaluationInstance", +"description": "The instance to be evaluated." +}, +"location": { +"description": "Required. The resource name of the Location to evaluate the instances. Format: `projects/{project}/locations/{location}`", +"type": "string" +}, +"metrics": { +"description": "The metrics used for evaluation. Currently, we only support evaluating a single metric. If multiple metrics are provided, only the first one will be evaluated.", +"items": { +"$ref": "GoogleCloudAiplatformV1Metric" +}, +"type": "array" +}, +"metricxInput": { +"$ref": "GoogleCloudAiplatformV1MetricxInput", +"description": "Input for Metricx metric." +}, +"pairwiseMetricInput": { +"$ref": "GoogleCloudAiplatformV1PairwiseMetricInput", +"description": "Input for pairwise metric." +}, +"pairwiseQuestionAnsweringQualityInput": { +"$ref": "GoogleCloudAiplatformV1PairwiseQuestionAnsweringQualityInput", +"description": "Input for pairwise question answering quality metric." +}, +"pairwiseSummarizationQualityInput": { +"$ref": "GoogleCloudAiplatformV1PairwiseSummarizationQualityInput", +"description": "Input for pairwise summarization quality metric." +}, +"pointwiseMetricInput": { +"$ref": "GoogleCloudAiplatformV1PointwiseMetricInput", +"description": "Input for pointwise metric." +}, +"questionAnsweringCorrectnessInput": { +"$ref": "GoogleCloudAiplatformV1QuestionAnsweringCorrectnessInput", +"description": "Input for question answering correctness metric." +}, +"questionAnsweringHelpfulnessInput": { +"$ref": "GoogleCloudAiplatformV1QuestionAnsweringHelpfulnessInput", +"description": "Input for question answering helpfulness metric." +}, +"questionAnsweringQualityInput": { +"$ref": "GoogleCloudAiplatformV1QuestionAnsweringQualityInput", +"description": "Input for question answering quality metric." +}, +"questionAnsweringRelevanceInput": { +"$ref": "GoogleCloudAiplatformV1QuestionAnsweringRelevanceInput", +"description": "Input for question answering relevance metric." +}, +"rougeInput": { +"$ref": "GoogleCloudAiplatformV1RougeInput", +"description": "Instances and metric spec for rouge metric." +}, +"rubricBasedInstructionFollowingInput": { +"$ref": "GoogleCloudAiplatformV1RubricBasedInstructionFollowingInput", +"description": "Rubric Based Instruction Following metric." +}, +"safetyInput": { +"$ref": "GoogleCloudAiplatformV1SafetyInput", +"description": "Input for safety metric." +}, +"summarizationHelpfulnessInput": { +"$ref": "GoogleCloudAiplatformV1SummarizationHelpfulnessInput", +"description": "Input for summarization helpfulness metric." +}, +"summarizationQualityInput": { +"$ref": "GoogleCloudAiplatformV1SummarizationQualityInput", +"description": "Input for summarization quality metric." +}, +"summarizationVerbosityInput": { +"$ref": "GoogleCloudAiplatformV1SummarizationVerbosityInput", +"description": "Input for summarization verbosity metric." +}, +"toolCallValidInput": { +"$ref": "GoogleCloudAiplatformV1ToolCallValidInput", +"description": "Tool call metric instances. Input for tool call valid metric." +}, +"toolNameMatchInput": { +"$ref": "GoogleCloudAiplatformV1ToolNameMatchInput", +"description": "Input for tool name match metric." +}, +"toolParameterKeyMatchInput": { +"$ref": "GoogleCloudAiplatformV1ToolParameterKeyMatchInput", +"description": "Input for tool parameter key match metric." +}, +"toolParameterKvMatchInput": { +"$ref": "GoogleCloudAiplatformV1ToolParameterKVMatchInput", +"description": "Input for tool parameter key value match metric." +}, +"trajectoryAnyOrderMatchInput": { +"$ref": "GoogleCloudAiplatformV1TrajectoryAnyOrderMatchInput", +"description": "Input for trajectory match any order metric." +}, +"trajectoryExactMatchInput": { +"$ref": "GoogleCloudAiplatformV1TrajectoryExactMatchInput", +"description": "Input for trajectory exact match metric." +}, +"trajectoryInOrderMatchInput": { +"$ref": "GoogleCloudAiplatformV1TrajectoryInOrderMatchInput", +"description": "Input for trajectory in order match metric." +}, +"trajectoryPrecisionInput": { +"$ref": "GoogleCloudAiplatformV1TrajectoryPrecisionInput", +"description": "Input for trajectory precision metric." +}, +"trajectoryRecallInput": { +"$ref": "GoogleCloudAiplatformV1TrajectoryRecallInput", +"description": "Input for trajectory recall metric." +}, +"trajectorySingleToolUseInput": { +"$ref": "GoogleCloudAiplatformV1TrajectorySingleToolUseInput", +"description": "Input for trajectory single tool use metric." +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1EvaluateInstancesResponse": { +"description": "Response message for EvaluationService.EvaluateInstances.", +"id": "GoogleCloudAiplatformV1EvaluateInstancesResponse", +"properties": { +"bleuResults": { +"$ref": "GoogleCloudAiplatformV1BleuResults", +"description": "Results for bleu metric." +}, +"coherenceResult": { +"$ref": "GoogleCloudAiplatformV1CoherenceResult", +"description": "Result for coherence metric." +}, +"cometResult": { +"$ref": "GoogleCloudAiplatformV1CometResult", +"description": "Translation metrics. Result for Comet metric." +}, +"exactMatchResults": { +"$ref": "GoogleCloudAiplatformV1ExactMatchResults", +"description": "Auto metric evaluation results. Results for exact match metric." +}, +"fluencyResult": { +"$ref": "GoogleCloudAiplatformV1FluencyResult", +"description": "LLM-based metric evaluation result. General text generation metrics, applicable to other categories. Result for fluency metric." +}, +"fulfillmentResult": { +"$ref": "GoogleCloudAiplatformV1FulfillmentResult", +"description": "Result for fulfillment metric." +}, +"groundednessResult": { +"$ref": "GoogleCloudAiplatformV1GroundednessResult", +"description": "Result for groundedness metric." +}, +"metricResults": { +"description": "Metric results for each instance. The order of the metric results is guaranteed to be the same as the order of the instances in the request.", +"items": { +"$ref": "GoogleCloudAiplatformV1MetricResult" +}, +"type": "array" +}, +"metricxResult": { +"$ref": "GoogleCloudAiplatformV1MetricxResult", +"description": "Result for Metricx metric." +}, +"pairwiseMetricResult": { +"$ref": "GoogleCloudAiplatformV1PairwiseMetricResult", +"description": "Result for pairwise metric." +}, +"pairwiseQuestionAnsweringQualityResult": { +"$ref": "GoogleCloudAiplatformV1PairwiseQuestionAnsweringQualityResult", +"description": "Result for pairwise question answering quality metric." +}, +"pairwiseSummarizationQualityResult": { +"$ref": "GoogleCloudAiplatformV1PairwiseSummarizationQualityResult", +"description": "Result for pairwise summarization quality metric." +}, +"pointwiseMetricResult": { +"$ref": "GoogleCloudAiplatformV1PointwiseMetricResult", +"description": "Generic metrics. Result for pointwise metric." +}, +"questionAnsweringCorrectnessResult": { +"$ref": "GoogleCloudAiplatformV1QuestionAnsweringCorrectnessResult", +"description": "Result for question answering correctness metric." +}, +"questionAnsweringHelpfulnessResult": { +"$ref": "GoogleCloudAiplatformV1QuestionAnsweringHelpfulnessResult", +"description": "Result for question answering helpfulness metric." +}, +"questionAnsweringQualityResult": { +"$ref": "GoogleCloudAiplatformV1QuestionAnsweringQualityResult", +"description": "Question answering only metrics. Result for question answering quality metric." +}, +"questionAnsweringRelevanceResult": { +"$ref": "GoogleCloudAiplatformV1QuestionAnsweringRelevanceResult", +"description": "Result for question answering relevance metric." +}, +"rougeResults": { +"$ref": "GoogleCloudAiplatformV1RougeResults", +"description": "Results for rouge metric." +}, +"rubricBasedInstructionFollowingResult": { +"$ref": "GoogleCloudAiplatformV1RubricBasedInstructionFollowingResult", +"description": "Result for rubric based instruction following metric." +}, +"safetyResult": { +"$ref": "GoogleCloudAiplatformV1SafetyResult", +"description": "Result for safety metric." +}, +"summarizationHelpfulnessResult": { +"$ref": "GoogleCloudAiplatformV1SummarizationHelpfulnessResult", +"description": "Result for summarization helpfulness metric." +}, +"summarizationQualityResult": { +"$ref": "GoogleCloudAiplatformV1SummarizationQualityResult", +"description": "Summarization only metrics. Result for summarization quality metric." +}, +"summarizationVerbosityResult": { +"$ref": "GoogleCloudAiplatformV1SummarizationVerbosityResult", +"description": "Result for summarization verbosity metric." +}, +"toolCallValidResults": { +"$ref": "GoogleCloudAiplatformV1ToolCallValidResults", +"description": "Tool call metrics. Results for tool call valid metric." +}, +"toolNameMatchResults": { +"$ref": "GoogleCloudAiplatformV1ToolNameMatchResults", +"description": "Results for tool name match metric." +}, +"toolParameterKeyMatchResults": { +"$ref": "GoogleCloudAiplatformV1ToolParameterKeyMatchResults", +"description": "Results for tool parameter key match metric." +}, +"toolParameterKvMatchResults": { +"$ref": "GoogleCloudAiplatformV1ToolParameterKVMatchResults", +"description": "Results for tool parameter key value match metric." +}, +"trajectoryAnyOrderMatchResults": { +"$ref": "GoogleCloudAiplatformV1TrajectoryAnyOrderMatchResults", +"description": "Result for trajectory any order match metric." +}, +"trajectoryExactMatchResults": { +"$ref": "GoogleCloudAiplatformV1TrajectoryExactMatchResults", +"description": "Result for trajectory exact match metric." +}, +"trajectoryInOrderMatchResults": { +"$ref": "GoogleCloudAiplatformV1TrajectoryInOrderMatchResults", +"description": "Result for trajectory in order match metric." +}, +"trajectoryPrecisionResults": { +"$ref": "GoogleCloudAiplatformV1TrajectoryPrecisionResults", +"description": "Result for trajectory precision metric." +}, +"trajectoryRecallResults": { +"$ref": "GoogleCloudAiplatformV1TrajectoryRecallResults", +"description": "Results for trajectory recall metric." +}, +"trajectorySingleToolUseResults": { +"$ref": "GoogleCloudAiplatformV1TrajectorySingleToolUseResults", +"description": "Results for trajectory single tool use metric." +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1EvaluatedAnnotation": { +"description": "True positive, false positive, or false negative. EvaluatedAnnotation is only available under ModelEvaluationSlice with slice of `annotationSpec` dimension.", +"id": "GoogleCloudAiplatformV1EvaluatedAnnotation", +"properties": { +"dataItemPayload": { +"description": "Output only. The data item payload that the Model predicted this EvaluatedAnnotation on.", +"readOnly": true, +"type": "any" +}, +"errorAnalysisAnnotations": { +"description": "Annotations of model error analysis results.", +"items": { +"$ref": "GoogleCloudAiplatformV1ErrorAnalysisAnnotation" +}, +"type": "array" +}, +"evaluatedDataItemViewId": { +"description": "Output only. ID of the EvaluatedDataItemView under the same ancestor ModelEvaluation. The EvaluatedDataItemView consists of all ground truths and predictions on data_item_payload.", +"readOnly": true, +"type": "string" +}, +"explanations": { +"description": "Explanations of predictions. Each element of the explanations indicates the explanation for one explanation Method. The attributions list in the EvaluatedAnnotationExplanation.explanation object corresponds to the predictions list. For example, the second element in the attributions list explains the second element in the predictions list.", +"items": { +"$ref": "GoogleCloudAiplatformV1EvaluatedAnnotationExplanation" +}, +"type": "array" +}, +"groundTruths": { +"description": "Output only. The ground truth Annotations, i.e. the Annotations that exist in the test data the Model is evaluated on. For true positive, there is one and only one ground truth annotation, which matches the only prediction in predictions. For false positive, there are zero or more ground truth annotations that are similar to the only prediction in predictions, but not enough for a match. For false negative, there is one and only one ground truth annotation, which doesn't match any predictions created by the model. The schema of the ground truth is stored in ModelEvaluation.annotation_schema_uri", +"items": { +"type": "any" +}, +"readOnly": true, +"type": "array" +}, +"predictions": { +"description": "Output only. The model predicted annotations. For true positive, there is one and only one prediction, which matches the only one ground truth annotation in ground_truths. For false positive, there is one and only one prediction, which doesn't match any ground truth annotation of the corresponding data_item_view_id. For false negative, there are zero or more predictions which are similar to the only ground truth annotation in ground_truths but not enough for a match. The schema of the prediction is stored in ModelEvaluation.annotation_schema_uri", +"items": { +"type": "any" +}, +"readOnly": true, +"type": "array" +}, +"type": { +"description": "Output only. Type of the EvaluatedAnnotation.", +"enum": [ +"EVALUATED_ANNOTATION_TYPE_UNSPECIFIED", +"TRUE_POSITIVE", +"FALSE_POSITIVE", +"FALSE_NEGATIVE" +], +"enumDescriptions": [ +"Invalid value.", +"The EvaluatedAnnotation is a true positive. It has a prediction created by the Model and a ground truth Annotation which the prediction matches.", +"The EvaluatedAnnotation is false positive. It has a prediction created by the Model which does not match any ground truth annotation.", +"The EvaluatedAnnotation is false negative. It has a ground truth annotation which is not matched by any of the model created predictions." +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1EvaluatedAnnotationExplanation": { +"description": "Explanation result of the prediction produced by the Model.", +"id": "GoogleCloudAiplatformV1EvaluatedAnnotationExplanation", +"properties": { +"explanation": { +"$ref": "GoogleCloudAiplatformV1Explanation", +"description": "Explanation attribution response details." +}, +"explanationType": { +"description": "Explanation type. For AutoML Image Classification models, possible values are: * `image-integrated-gradients` * `image-xrai`", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1EvaluationDataset": { +"description": "The dataset used for evaluation.", +"id": "GoogleCloudAiplatformV1EvaluationDataset", +"properties": { +"bigquerySource": { +"$ref": "GoogleCloudAiplatformV1BigQuerySource", +"description": "BigQuery source holds the dataset." +}, +"gcsSource": { +"$ref": "GoogleCloudAiplatformV1GcsSource", +"description": "Cloud storage source holds the dataset. Currently only one Cloud Storage file path is supported." +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1EvaluationInstance": { +"description": "A single instance to be evaluated. Instances are used to specify the input data for evaluation, from simple string comparisons to complex, multi-turn model evaluations", +"id": "GoogleCloudAiplatformV1EvaluationInstance", +"properties": { +"agentData": { +"$ref": "GoogleCloudAiplatformV1EvaluationInstanceAgentData", +"deprecated": true, +"description": "Optional. Deprecated. Use `agent_eval_data` instead. Data used for agent evaluation." +}, +"agentEvalData": { +"$ref": "GoogleCloudAiplatformV1EvaluationInstanceAgentData", +"description": "Optional. Data used for agent evaluation." +}, +"otherData": { +"$ref": "GoogleCloudAiplatformV1EvaluationInstanceMapInstance", +"description": "Optional. Other data used to populate placeholders based on their key." +}, +"prompt": { +"$ref": "GoogleCloudAiplatformV1EvaluationInstanceInstanceData", +"description": "Optional. Data used to populate placeholder `prompt` in a metric prompt template." +}, +"reference": { +"$ref": "GoogleCloudAiplatformV1EvaluationInstanceInstanceData", +"description": "Optional. Data used to populate placeholder `reference` in a metric prompt template." +}, +"response": { +"$ref": "GoogleCloudAiplatformV1EvaluationInstanceInstanceData", +"description": "Optional. Data used to populate placeholder `response` in a metric prompt template." +}, +"rubricGroups": { +"additionalProperties": { +"$ref": "GoogleCloudAiplatformV1RubricGroup" +}, +"description": "Optional. Named groups of rubrics associated with the prompt. This is used for rubric-based evaluations where rubrics can be referenced by a key. The key could represent versions, associated metrics, etc.", +"type": "object" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1EvaluationInstanceAgentConfig": { +"deprecated": true, +"description": "Configuration for an Agent.", +"id": "GoogleCloudAiplatformV1EvaluationInstanceAgentConfig", +"properties": { +"agentId": { +"description": "Optional. Unique identifier of the agent. This ID is used to refer to this agent, e.g., in AgentEvent.author, or in the `sub_agents` field. It must be unique within the `agents` map.", +"type": "string" +}, +"agentType": { +"description": "Optional. The type or class of the agent (e.g., \"LlmAgent\", \"RouterAgent\", \"ToolUseAgent\"). Useful for the autorater to understand the expected behavior of the agent.", +"type": "string" +}, +"description": { +"description": "Optional. A high-level description of the agent's role and responsibilities. Critical for evaluating if the agent is routing tasks correctly.", +"type": "string" +}, +"developerInstruction": { +"$ref": "GoogleCloudAiplatformV1EvaluationInstanceInstanceData", +"description": "Optional. Contains instructions from the developer for the agent. Can be static or a dynamic prompt template used with the `AgentEvent.state_delta` field." +}, +"subAgents": { +"description": "Optional. The list of valid agent IDs (names) that this agent can delegate to. This defines the directed edges in the agent system graph topology.", +"items": { +"type": "string" +}, +"type": "array" +}, +"tools": { +"$ref": "GoogleCloudAiplatformV1EvaluationInstanceAgentConfigTools", +"description": "List of tools." +}, +"toolsText": { +"description": "A JSON string containing a list of tools available to an agent with info such as name, description, parameters and required parameters.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1EvaluationInstanceAgentConfigTools": { +"description": "Represents a list of tools for an agent.", +"id": "GoogleCloudAiplatformV1EvaluationInstanceAgentConfigTools", +"properties": { +"tool": { +"description": "Optional. List of tools: each tool can have multiple function declarations.", +"items": { +"$ref": "GoogleCloudAiplatformV1Tool" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1EvaluationInstanceAgentData": { +"deprecated": true, +"description": "Contains data specific to agent evaluations.", +"id": "GoogleCloudAiplatformV1EvaluationInstanceAgentData", +"properties": { +"agentConfig": { +"$ref": "GoogleCloudAiplatformV1EvaluationInstanceAgentConfig", +"description": "Optional. Agent configuration." +}, +"agents": { +"additionalProperties": { +"$ref": "GoogleCloudAiplatformV1EvaluationInstanceAgentConfig" +}, +"description": "Optional. The static Agent Configuration. This map defines the graph structure of the agent system. Key: agent_id (matches the `author` field in events). Value: The static configuration of the agent (tools, instructions, sub-agents).", +"type": "object" +}, +"developerInstruction": { +"$ref": "GoogleCloudAiplatformV1EvaluationInstanceInstanceData", +"deprecated": true, +"description": "Optional. Deprecated. A field containing instructions from the developer for the agent. Please use `agents.developer_instruction` or `turns.events.active_instruction` instead." +}, +"events": { +"$ref": "GoogleCloudAiplatformV1EvaluationInstanceAgentDataEvents", +"description": "A list of events." +}, +"tools": { +"$ref": "GoogleCloudAiplatformV1EvaluationInstanceAgentDataTools", +"deprecated": true, +"description": "List of tools." +}, +"toolsText": { +"deprecated": true, +"description": "A JSON string containing a list of tools available to an agent with info such as name, description, parameters and required parameters.", +"type": "string" +}, +"turns": { +"description": "Optional. The chronological list of conversation turns. Each turn represents a logical execution cycle (e.g., User Input -> Agent Response).", +"items": { +"$ref": "GoogleCloudAiplatformV1EvaluationInstanceAgentDataConversationTurn" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1EvaluationInstanceAgentDataAgentEvent": { +"description": "A single event in the execution trace.", +"id": "GoogleCloudAiplatformV1EvaluationInstanceAgentDataAgentEvent", +"properties": { +"activeTools": { +"description": "Optional. The list of tools that were active/available to the agent at the time of this event. This overrides the `AgentConfig.tools` if set.", +"items": { +"$ref": "GoogleCloudAiplatformV1Tool" +}, +"type": "array" +}, +"author": { +"description": "Required. The ID of the agent or entity that generated this event.", +"type": "string" +}, +"content": { +"$ref": "GoogleCloudAiplatformV1Content", +"description": "Required. The content of the event (e.g., text response, tool call, tool response)." +}, +"eventTime": { +"description": "Optional. The timestamp when the event occurred.", +"format": "google-datetime", +"type": "string" +}, +"stateDelta": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"description": "Optional. The change in the session state caused by this event. This is a key-value map of fields that were modified or added by the event.", +"type": "object" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1EvaluationInstanceAgentDataConversationTurn": { +"description": "Represents a single turn/invocation in the conversation.", +"id": "GoogleCloudAiplatformV1EvaluationInstanceAgentDataConversationTurn", +"properties": { +"events": { +"description": "Optional. The list of events that occurred during this turn.", +"items": { +"$ref": "GoogleCloudAiplatformV1EvaluationInstanceAgentDataAgentEvent" +}, +"type": "array" +}, +"turnId": { +"description": "Optional. A unique identifier for the turn. Useful for referencing specific turns across systems.", +"type": "string" +}, +"turnIndex": { +"description": "Required. The 0-based index of the turn in the conversation sequence.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1EvaluationInstanceAgentDataEvents": { +"description": "Represents a list of events for an agent.", +"id": "GoogleCloudAiplatformV1EvaluationInstanceAgentDataEvents", +"properties": { +"event": { +"description": "Optional. A list of events.", +"items": { +"$ref": "GoogleCloudAiplatformV1Content" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1EvaluationInstanceAgentDataTools": { +"description": "Deprecated. Represents a list of tools for an agent.", +"id": "GoogleCloudAiplatformV1EvaluationInstanceAgentDataTools", +"properties": { +"tool": { +"deprecated": true, +"description": "Optional. List of tools: each tool can have multiple function declarations.", +"items": { +"$ref": "GoogleCloudAiplatformV1Tool" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1EvaluationInstanceInstanceData": { +"description": "Instance data used to populate placeholders in a metric prompt template.", +"id": "GoogleCloudAiplatformV1EvaluationInstanceInstanceData", +"properties": { +"contents": { +"$ref": "GoogleCloudAiplatformV1EvaluationInstanceInstanceDataContents", +"description": "List of Gemini content data." +}, +"text": { +"description": "Text data.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1EvaluationInstanceInstanceDataContents": { +"description": "List of standard Content messages from Gemini API.", +"id": "GoogleCloudAiplatformV1EvaluationInstanceInstanceDataContents", +"properties": { +"contents": { +"description": "Optional. Repeated contents.", +"items": { +"$ref": "GoogleCloudAiplatformV1Content" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1EvaluationInstanceMapInstance": { +"description": "Instance data specified as a map.", +"id": "GoogleCloudAiplatformV1EvaluationInstanceMapInstance", +"properties": { +"mapInstance": { +"additionalProperties": { +"$ref": "GoogleCloudAiplatformV1EvaluationInstanceInstanceData" +}, +"description": "Optional. Map of instance data.", +"type": "object" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1EvaluationItem": { +"description": "EvaluationItem is a single evaluation request or result. The content of an EvaluationItem is immutable - it cannot be updated once created. EvaluationItems can be deleted when no longer needed.", +"id": "GoogleCloudAiplatformV1EvaluationItem", +"properties": { +"createTime": { +"description": "Output only. Timestamp when this item was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"displayName": { +"description": "Required. The display name of the EvaluationItem.", +"type": "string" +}, +"error": { +"$ref": "GoogleRpcStatus", +"description": "Output only. Error for the evaluation item.", +"readOnly": true +}, +"evaluationItemType": { +"description": "Required. The type of the EvaluationItem.", +"enum": [ +"EVALUATION_ITEM_TYPE_UNSPECIFIED", +"REQUEST", +"RESULT" +], +"enumDescriptions": [ +"The default value. This value is unused.", +"The EvaluationItem is a request to evaluate.", +"The EvaluationItem is the result of evaluation." +], +"type": "string" +}, +"evaluationRequest": { +"$ref": "GoogleCloudAiplatformV1EvaluationRequest", +"description": "The request to evaluate." +}, +"evaluationResponse": { +"$ref": "GoogleCloudAiplatformV1EvaluationResult", +"description": "Output only. The response from evaluation.", +"readOnly": true +}, +"gcsUri": { +"description": "The Cloud Storage object where the request or response is stored.", +"type": "string" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. Labels for the EvaluationItem.", +"type": "object" +}, +"metadata": { +"description": "Optional. Metadata for the EvaluationItem.", +"type": "any" +}, +"name": { +"description": "Identifier. The resource name of the EvaluationItem. Format: `projects/{project}/locations/{location}/evaluationItems/{evaluation_item}`", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1EvaluationPrompt": { +"description": "Prompt to be evaluated. This can represent a single-turn prompt or a multi-turn conversation for agent evaluations.", +"id": "GoogleCloudAiplatformV1EvaluationPrompt", +"properties": { +"promptTemplateData": { +"$ref": "GoogleCloudAiplatformV1EvaluationPromptPromptTemplateData", +"description": "Prompt template data." +}, +"text": { +"description": "Text prompt.", +"type": "string" +}, +"value": { +"description": "Fields and values that can be used to populate the prompt template.", +"type": "any" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1EvaluationPromptPromptTemplateData": { +"description": "Message to hold a prompt template and the values to populate the template.", +"id": "GoogleCloudAiplatformV1EvaluationPromptPromptTemplateData", +"properties": { +"values": { +"additionalProperties": { +"$ref": "GoogleCloudAiplatformV1Content" +}, +"description": "The values for fields in the prompt template.", +"type": "object" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1EvaluationRequest": { +"description": "A single evaluation request supporting input for both single-turn model generation and multi-turn agent execution traces. Valid input modes: 1. Inference Mode: `prompt` is set (containing text or AgentData context). 2. Offline Eval Mode: `prompt` is unset, and `candidate_responses` contains `agent_data` (the completed execution trace). Validation Rule: Either `prompt` must be set, OR at least one of the `candidate_responses` must contain `agent_data`.", +"id": "GoogleCloudAiplatformV1EvaluationRequest", +"properties": { +"candidateResponses": { +"description": "Optional. Responses from model under test and other baseline models for comparison.", +"items": { +"$ref": "GoogleCloudAiplatformV1CandidateResponse" +}, +"type": "array" +}, +"goldenResponse": { +"$ref": "GoogleCloudAiplatformV1CandidateResponse", +"description": "Optional. The Ideal response or ground truth." +}, +"prompt": { +"$ref": "GoogleCloudAiplatformV1EvaluationPrompt", +"description": "Optional. The request/prompt to evaluate." +}, +"rubrics": { +"additionalProperties": { +"$ref": "GoogleCloudAiplatformV1RubricGroup" +}, +"description": "Optional. Named groups of rubrics associated with this prompt. The key is a user-defined name for the rubric group.", +"type": "object" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1EvaluationResult": { +"description": "Evaluation result.", +"id": "GoogleCloudAiplatformV1EvaluationResult", +"properties": { +"candidateResults": { +"description": "Optional. The results for the metric.", +"items": { +"$ref": "GoogleCloudAiplatformV1CandidateResult" +}, +"type": "array" +}, +"evaluationRequest": { +"description": "Required. The request item that was evaluated. Format: projects/{project}/locations/{location}/evaluationItems/{evaluation_item}", +"type": "string" +}, +"evaluationRun": { +"description": "Required. The evaluation run that was used to generate the result. Format: projects/{project}/locations/{location}/evaluationRuns/{evaluation_run}", +"type": "string" +}, +"metadata": { +"description": "Optional. Metadata about the evaluation result.", +"type": "any" +}, +"metric": { +"description": "Required. The metric that was evaluated.", +"type": "string" +}, +"request": { +"$ref": "GoogleCloudAiplatformV1EvaluationRequest", +"description": "Required. The request that was evaluated." +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1EvaluationResults": { +"description": "The results of the evaluation run.", +"id": "GoogleCloudAiplatformV1EvaluationResults", +"properties": { +"evaluationSet": { +"description": "The evaluation set where item level results are stored.", +"type": "string" +}, +"summaryMetrics": { +"$ref": "GoogleCloudAiplatformV1SummaryMetrics", +"description": "Optional. The summary metrics for the evaluation run." +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1EvaluationRubricConfig": { +"description": "Configuration for a rubric group to be generated/saved for evaluation.", +"id": "GoogleCloudAiplatformV1EvaluationRubricConfig", +"properties": { +"predefinedRubricGenerationSpec": { +"$ref": "GoogleCloudAiplatformV1EvaluationRunMetricPredefinedMetricSpec", +"description": "Dynamically generate rubrics using a predefined spec." +}, +"rubricGenerationSpec": { +"$ref": "GoogleCloudAiplatformV1EvaluationRunMetricRubricGenerationSpec", +"description": "Dynamically generate rubrics using this specification." +}, +"rubricGroupKey": { +"description": "Required. The key used to save the generated rubrics. If a generation spec is provided, this key will be used for the name of the generated rubric group. Otherwise, this key will be used to look up the existing rubric group on the evaluation item. Note that if a rubric group key is specified on both a rubric config and an evaluation metric, the key from the metric will be used to select the rubrics for evaluation.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1EvaluationRun": { +"description": "EvaluationRun is a resource that represents a single evaluation run, which includes a set of prompts, model responses, evaluation configuration and the resulting metrics.", +"id": "GoogleCloudAiplatformV1EvaluationRun", +"properties": { +"completionTime": { +"description": "Output only. Time when the evaluation run was completed.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"createTime": { +"description": "Output only. Time when the evaluation run was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"dataSource": { +"$ref": "GoogleCloudAiplatformV1EvaluationRunDataSource", +"description": "Required. The data source for the evaluation run." +}, +"displayName": { +"description": "Required. The display name of the Evaluation Run.", +"type": "string" +}, +"error": { +"$ref": "GoogleRpcStatus", +"description": "Output only. Only populated when the evaluation run's state is FAILED or CANCELLED.", +"readOnly": true +}, +"evaluationConfig": { +"$ref": "GoogleCloudAiplatformV1EvaluationRunEvaluationConfig", +"description": "Required. The configuration used for the evaluation." +}, +"evaluationResults": { +"$ref": "GoogleCloudAiplatformV1EvaluationResults", +"description": "Output only. The results of the evaluation run. Only populated when the evaluation run's state is SUCCEEDED.", +"readOnly": true +}, +"evaluationSetSnapshot": { +"description": "Output only. The specific evaluation set of the evaluation run. For runs with an evaluation set input, this will be that same set. For runs with BigQuery input, it's the sampled BigQuery dataset.", +"readOnly": true, +"type": "string" +}, +"inferenceConfigs": { +"additionalProperties": { +"$ref": "GoogleCloudAiplatformV1EvaluationRunInferenceConfig" +}, +"description": "Optional. The candidate to inference config map for the evaluation run. The candidate can be up to 128 characters long and can consist of any UTF-8 characters.", +"type": "object" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. Labels for the evaluation run.", +"type": "object" +}, +"metadata": { +"description": "Optional. Metadata about the evaluation run, can be used by the caller to store additional tracking information about the evaluation run.", +"type": "any" +}, +"name": { +"description": "Identifier. The resource name of the EvaluationRun. This is a unique identifier. Format: `projects/{project}/locations/{location}/evaluationRuns/{evaluation_run}`", +"type": "string" +}, +"state": { +"description": "Output only. The state of the evaluation run.", +"enum": [ +"STATE_UNSPECIFIED", +"PENDING", +"RUNNING", +"SUCCEEDED", +"FAILED", +"CANCELLED", +"INFERENCE", +"GENERATING_RUBRICS" +], +"enumDescriptions": [ +"Unspecified state.", +"The evaluation run is pending.", +"The evaluation run is running.", +"The evaluation run has succeeded.", +"The evaluation run has failed.", +"The evaluation run has been cancelled.", +"The evaluation run is performing inference.", +"The evaluation run is performing rubric generation." +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1EvaluationRunDataSource": { +"description": "The data source for the evaluation run.", +"id": "GoogleCloudAiplatformV1EvaluationRunDataSource", +"properties": { +"bigqueryRequestSet": { +"$ref": "GoogleCloudAiplatformV1BigQueryRequestSet", +"description": "Evaluation data in bigquery." +}, +"evaluationSet": { +"description": "The EvaluationSet resource name. Format: `projects/{project}/locations/{location}/evaluationSets/{evaluation_set}`", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1EvaluationRunEvaluationConfig": { +"description": "The Evalution configuration used for the evaluation run.", +"id": "GoogleCloudAiplatformV1EvaluationRunEvaluationConfig", +"properties": { +"autoraterConfig": { +"$ref": "GoogleCloudAiplatformV1EvaluationRunEvaluationConfigAutoraterConfig", +"description": "Optional. The autorater config for the evaluation run." +}, +"metrics": { +"description": "Required. The metrics to be calculated in the evaluation run.", +"items": { +"$ref": "GoogleCloudAiplatformV1EvaluationRunMetric" +}, +"type": "array" +}, +"outputConfig": { +"$ref": "GoogleCloudAiplatformV1EvaluationRunEvaluationConfigOutputConfig", +"description": "Optional. The output config for the evaluation run." +}, +"promptTemplate": { +"$ref": "GoogleCloudAiplatformV1EvaluationRunEvaluationConfigPromptTemplate", +"description": "The prompt template used for inference. The values for variables in the prompt template are defined in EvaluationItem.EvaluationPrompt.PromptTemplateData.values." +}, +"rubricConfigs": { +"description": "Optional. The rubric configs for the evaluation run. They are used to generate rubrics which can be used by rubric-based metrics. Multiple rubric configs can be specified for rubric generation but only one rubric config can be used for a rubric-based metric. If more than one rubric config is provided, the evaluation metric must specify a rubric group key. Note that if a generation spec is specified on both a rubric config and an evaluation metric, the rubrics generated for the metric will be used for evaluation.", +"items": { +"$ref": "GoogleCloudAiplatformV1EvaluationRubricConfig" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1EvaluationRunEvaluationConfigAutoraterConfig": { +"description": "The autorater config used for the evaluation run.", +"id": "GoogleCloudAiplatformV1EvaluationRunEvaluationConfigAutoraterConfig", +"properties": { +"autoraterModel": { +"description": "Optional. The fully qualified name of the publisher model or tuned autorater endpoint to use. Publisher model format: `projects/{project}/locations/{location}/publishers/*/models/*` Tuned model endpoint format: `projects/{project}/locations/{location}/endpoints/{endpoint}`", +"type": "string" +}, +"generationConfig": { +"$ref": "GoogleCloudAiplatformV1GenerationConfig", +"description": "Optional. Configuration options for model generation and outputs." +}, +"sampleCount": { +"description": "Optional. Number of samples for each instance in the dataset. If not specified, the default is 4. Minimum value is 1, maximum value is 32.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1EvaluationRunEvaluationConfigOutputConfig": { +"description": "The output config for the evaluation run.", +"id": "GoogleCloudAiplatformV1EvaluationRunEvaluationConfigOutputConfig", +"properties": { +"bigqueryDestination": { +"$ref": "GoogleCloudAiplatformV1BigQueryDestination", +"description": "BigQuery destination for evaluation output." +}, +"gcsDestination": { +"$ref": "GoogleCloudAiplatformV1GcsDestination", +"description": "Cloud Storage destination for evaluation output." +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1EvaluationRunEvaluationConfigPromptTemplate": { +"description": "Prompt template used for inference.", +"id": "GoogleCloudAiplatformV1EvaluationRunEvaluationConfigPromptTemplate", +"properties": { +"gcsUri": { +"description": "Prompt template stored in Cloud Storage. Format: \"gs://my-bucket/file-name.txt\".", +"type": "string" +}, +"promptTemplate": { +"description": "Inline prompt template. Template variables should be in the format \"{var_name}\". Example: \"Translate the following from {source_lang} to {target_lang}: {text}\"", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1EvaluationRunInferenceConfig": { +"description": "An inference config used for model inference during the evaluation run.", +"id": "GoogleCloudAiplatformV1EvaluationRunInferenceConfig", +"properties": { +"generationConfig": { +"$ref": "GoogleCloudAiplatformV1GenerationConfig", +"description": "Optional. Generation config." +}, +"model": { +"description": "Optional. The fully qualified name of the publisher model or endpoint to use. Publisher model format: `projects/{project}/locations/{location}/publishers/*/models/*` Endpoint format: `projects/{project}/locations/{location}/endpoints/{endpoint}`", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1EvaluationRunMetric": { +"description": "The metric used for evaluation runs.", +"id": "GoogleCloudAiplatformV1EvaluationRunMetric", +"properties": { +"computationBasedMetricSpec": { +"$ref": "GoogleCloudAiplatformV1EvaluationRunMetricComputationBasedMetricSpec", +"description": "Spec for a computation based metric." +}, +"llmBasedMetricSpec": { +"$ref": "GoogleCloudAiplatformV1EvaluationRunMetricLLMBasedMetricSpec", +"description": "Spec for an LLM based metric." +}, +"metric": { +"description": "Required. The name of the metric.", +"type": "string" +}, +"metricConfig": { +"$ref": "GoogleCloudAiplatformV1Metric", +"description": "The metric config." +}, +"predefinedMetricSpec": { +"$ref": "GoogleCloudAiplatformV1EvaluationRunMetricPredefinedMetricSpec", +"description": "Spec for a pre-defined metric." +}, +"rubricBasedMetricSpec": { +"$ref": "GoogleCloudAiplatformV1EvaluationRunMetricRubricBasedMetricSpec", +"description": "Spec for rubric based metric." +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1EvaluationRunMetricComputationBasedMetricSpec": { +"description": "Specification for a computation based metric.", +"id": "GoogleCloudAiplatformV1EvaluationRunMetricComputationBasedMetricSpec", +"properties": { +"parameters": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"description": "Optional. A map of parameters for the metric, e.g. {\"rouge_type\": \"rougeL\"}.", +"type": "object" +}, +"type": { +"description": "Required. The type of the computation based metric.", +"enum": [ +"COMPUTATION_BASED_METRIC_TYPE_UNSPECIFIED", +"EXACT_MATCH", +"BLEU", +"ROUGE" +], +"enumDescriptions": [ +"Unspecified computation based metric type.", +"Exact match metric.", +"BLEU metric.", +"ROUGE metric." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1EvaluationRunMetricLLMBasedMetricSpec": { +"description": "Specification for an LLM based metric.", +"id": "GoogleCloudAiplatformV1EvaluationRunMetricLLMBasedMetricSpec", +"properties": { +"additionalConfig": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"description": "Optional. Optional additional configuration for the metric.", +"type": "object" +}, +"judgeAutoraterConfig": { +"$ref": "GoogleCloudAiplatformV1EvaluationRunEvaluationConfigAutoraterConfig", +"description": "Optional. Optional configuration for the judge LLM (Autorater)." +}, +"metricPromptTemplate": { +"description": "Required. Template for the prompt sent to the judge model.", +"type": "string" +}, +"predefinedRubricGenerationSpec": { +"$ref": "GoogleCloudAiplatformV1EvaluationRunMetricPredefinedMetricSpec", +"description": "Dynamically generate rubrics using a predefined spec." +}, +"rubricGenerationSpec": { +"$ref": "GoogleCloudAiplatformV1EvaluationRunMetricRubricGenerationSpec", +"description": "Dynamically generate rubrics using this specification." +}, +"rubricGroupKey": { +"description": "Use a pre-defined group of rubrics associated with the input. Refers to a key in the rubric_groups map of EvaluationInstance.", +"type": "string" +}, +"systemInstruction": { +"description": "Optional. System instructions for the judge model.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1EvaluationRunMetricPredefinedMetricSpec": { +"description": "Specification for a pre-defined metric.", +"id": "GoogleCloudAiplatformV1EvaluationRunMetricPredefinedMetricSpec", +"properties": { +"metricSpecName": { +"description": "Required. The name of a pre-defined metric, such as \"instruction_following_v1\" or \"text_quality_v1\".", +"type": "string" +}, +"parameters": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"description": "Optional. The parameters needed to run the pre-defined metric.", +"type": "object" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1EvaluationRunMetricRubricBasedMetricSpec": { +"description": "Specification for a metric that is based on rubrics.", +"id": "GoogleCloudAiplatformV1EvaluationRunMetricRubricBasedMetricSpec", +"properties": { +"inlineRubrics": { +"$ref": "GoogleCloudAiplatformV1EvaluationRunMetricRubricBasedMetricSpecRepeatedRubrics", +"description": "Use rubrics provided directly in the spec." +}, +"judgeAutoraterConfig": { +"$ref": "GoogleCloudAiplatformV1EvaluationRunEvaluationConfigAutoraterConfig", +"description": "Optional. Optional configuration for the judge LLM (Autorater). The definition of AutoraterConfig needs to be provided." +}, +"metricPromptTemplate": { +"description": "Optional. Template for the prompt used by the judge model to evaluate against rubrics.", +"type": "string" +}, +"rubricGenerationSpec": { +"$ref": "GoogleCloudAiplatformV1EvaluationRunMetricRubricGenerationSpec", +"description": "Dynamically generate rubrics for evaluation using this specification." +}, +"rubricGroupKey": { +"description": "Use a pre-defined group of rubrics associated with the input content. This refers to a key in the `rubric_groups` map of `RubricEnhancedContents`.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1EvaluationRunMetricRubricBasedMetricSpecRepeatedRubrics": { +"description": "Defines a list of rubrics, used when providing rubrics inline.", +"id": "GoogleCloudAiplatformV1EvaluationRunMetricRubricBasedMetricSpecRepeatedRubrics", +"properties": { +"rubrics": { +"description": "The list of rubrics.", +"items": { +"$ref": "GoogleCloudAiplatformV1Rubric" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1EvaluationRunMetricRubricGenerationSpec": { +"description": "Specification for how rubrics should be generated.", +"id": "GoogleCloudAiplatformV1EvaluationRunMetricRubricGenerationSpec", +"properties": { +"modelConfig": { +"$ref": "GoogleCloudAiplatformV1EvaluationRunEvaluationConfigAutoraterConfig", +"description": "Optional. Configuration for the model used in rubric generation. Configs including sampling count and base model can be specified here. Flipping is not supported for rubric generation." +}, +"promptTemplate": { +"description": "Optional. Template for the prompt used to generate rubrics. The details should be updated based on the most-recent recipe requirements.", +"type": "string" +}, +"rubricContentType": { +"description": "Optional. The type of rubric content to be generated.", +"enum": [ +"RUBRIC_CONTENT_TYPE_UNSPECIFIED", +"PROPERTY", +"NL_QUESTION_ANSWER", +"PYTHON_CODE_ASSERTION" +], +"enumDescriptions": [ +"The content type to generate is not specified.", +"Generate rubrics based on properties.", +"Generate rubrics in an NL question answer format.", +"Generate rubrics in a unit test format." +], +"type": "string" +}, +"rubricTypeOntology": { +"description": "Optional. An optional, pre-defined list of allowed types for generated rubrics. If this field is provided, it implies `include_rubric_type` should be true, and the generated rubric types should be chosen from this ontology.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1EvaluationSet": { +"description": "EvaluationSet is a collection of related EvaluationItems that are evaluated together.", +"id": "GoogleCloudAiplatformV1EvaluationSet", +"properties": { +"createTime": { +"description": "Output only. Timestamp when this item was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"displayName": { +"description": "Required. The display name of the EvaluationSet.", +"type": "string" +}, +"evaluationItems": { +"description": "Required. The EvaluationItems that are part of this dataset.", +"items": { +"type": "string" +}, +"type": "array" +}, +"metadata": { +"description": "Optional. Metadata for the EvaluationSet.", +"type": "any" +}, +"name": { +"description": "Identifier. The resource name of the EvaluationSet. Format: `projects/{project}/locations/{location}/evaluationSets/{evaluation_set}`", +"type": "string" +}, +"updateTime": { +"description": "Output only. Timestamp when this item was last updated.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1Event": { +"description": "An edge describing the relationship between an Artifact and an Execution in a lineage graph.", +"id": "GoogleCloudAiplatformV1Event", +"properties": { +"artifact": { +"description": "Required. The relative resource name of the Artifact in the Event.", +"type": "string" +}, +"eventTime": { +"description": "Output only. Time the Event occurred.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"execution": { +"description": "Output only. The relative resource name of the Execution in the Event.", +"readOnly": true, +"type": "string" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "The labels with user-defined metadata to annotate Events. Label keys and values can be no longer than 64 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. No more than 64 user labels can be associated with one Event (System labels are excluded). See https://goo.gl/xmQnxf for more information and examples of labels. System reserved label keys are prefixed with \"aiplatform.googleapis.com/\" and are immutable.", +"type": "object" +}, +"type": { +"description": "Required. The type of the Event.", +"enum": [ +"TYPE_UNSPECIFIED", +"INPUT", +"OUTPUT" +], +"enumDescriptions": [ +"Unspecified whether input or output of the Execution.", +"An input of the Execution.", +"An output of the Execution." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1EventActions": { +"description": "Actions are parts of events that are executed by the agent.", +"id": "GoogleCloudAiplatformV1EventActions", +"properties": { +"artifactDelta": { +"additionalProperties": { +"format": "int32", +"type": "integer" +}, +"description": "Optional. Indicates that the event is updating an artifact. key is the filename, value is the version.", +"type": "object" +}, +"escalate": { +"description": "Optional. The agent is escalating to a higher level agent.", +"type": "boolean" +}, +"requestedAuthConfigs": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"description": "Optional. Will only be set by a tool response indicating tool request euc. Struct key is the function call id since one function call response (from model) could correspond to multiple function calls. Struct value is the required auth config, which can be another struct.", +"type": "object" +}, +"skipSummarization": { +"description": "Optional. If true, it won't call model to summarize function response. Only used for function_response event.", +"type": "boolean" +}, +"stateDelta": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"description": "Optional. Indicates that the event is updating the state with the given delta.", +"type": "object" +}, +"transferAgent": { +"description": "Optional. If set, the event transfers to the specified agent.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1EventMetadata": { +"description": "Metadata relating to a LLM response event.", +"id": "GoogleCloudAiplatformV1EventMetadata", +"properties": { +"branch": { +"description": "Optional. The branch of the event. The format is like agent_1.agent_2.agent_3, where agent_1 is the parent of agent_2, and agent_2 is the parent of agent_3. Branch is used when multiple child agents shouldn't see their siblings' conversation history.", +"type": "string" +}, +"customMetadata": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"description": "The custom metadata of the LlmResponse.", +"type": "object" +}, +"groundingMetadata": { +"$ref": "GoogleCloudAiplatformV1GroundingMetadata", +"description": "Optional. Metadata returned to client when grounding is enabled." +}, +"interrupted": { +"description": "Optional. Flag indicating that LLM was interrupted when generating the content. Usually it's due to user interruption during a bidi streaming.", +"type": "boolean" +}, +"longRunningToolIds": { +"description": "Optional. Set of ids of the long running function calls. Agent client will know from this field about which function call is long running. Only valid for function call event.", +"items": { +"type": "string" +}, +"type": "array" +}, +"partial": { +"description": "Optional. Indicates whether the text content is part of a unfinished text stream. Only used for streaming mode and when the content is plain text.", +"type": "boolean" +}, +"turnComplete": { +"description": "Optional. Indicates whether the response from the model is complete. Only used for streaming mode.", +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1ExactMatchInput": { +"description": "Input for exact match metric.", +"id": "GoogleCloudAiplatformV1ExactMatchInput", +"properties": { +"instances": { +"description": "Required. Repeated exact match instances.", +"items": { +"$ref": "GoogleCloudAiplatformV1ExactMatchInstance" +}, +"type": "array" +}, +"metricSpec": { +"$ref": "GoogleCloudAiplatformV1ExactMatchSpec", +"description": "Required. Spec for exact match metric." +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1ExactMatchInstance": { +"description": "Spec for exact match instance.", +"id": "GoogleCloudAiplatformV1ExactMatchInstance", +"properties": { +"prediction": { +"description": "Required. Output of the evaluated model.", +"type": "string" +}, +"reference": { +"description": "Required. Ground truth used to compare against the prediction.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1ExactMatchMetricValue": { +"description": "Exact match metric value for an instance.", +"id": "GoogleCloudAiplatformV1ExactMatchMetricValue", +"properties": { +"score": { +"description": "Output only. Exact match score.", +"format": "float", +"readOnly": true, +"type": "number" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1ExactMatchResults": { +"description": "Results for exact match metric.", +"id": "GoogleCloudAiplatformV1ExactMatchResults", +"properties": { +"exactMatchMetricValues": { +"description": "Output only. Exact match metric values.", +"items": { +"$ref": "GoogleCloudAiplatformV1ExactMatchMetricValue" +}, +"readOnly": true, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1ExactMatchSpec": { +"description": "Spec for exact match metric - returns 1 if prediction and reference exactly matches, otherwise 0.", +"id": "GoogleCloudAiplatformV1ExactMatchSpec", +"properties": {}, +"type": "object" +}, +"GoogleCloudAiplatformV1Examples": { +"description": "Example-based explainability that returns the nearest neighbors from the provided dataset.", +"id": "GoogleCloudAiplatformV1Examples", +"properties": { +"exampleGcsSource": { +"$ref": "GoogleCloudAiplatformV1ExamplesExampleGcsSource", +"description": "The Cloud Storage input instances." +}, +"nearestNeighborSearchConfig": { +"description": "The full configuration for the generated index, the semantics are the same as metadata and should match [NearestNeighborSearchConfig](https://cloud.google.com/vertex-ai/docs/explainable-ai/configuring-explanations-example-based#nearest-neighbor-search-config).", +"type": "any" +}, +"neighborCount": { +"description": "The number of neighbors to return when querying for examples.", +"format": "int32", +"type": "integer" +}, +"presets": { +"$ref": "GoogleCloudAiplatformV1Presets", +"description": "Simplified preset configuration, which automatically sets configuration values based on the desired query speed-precision trade-off and modality." +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1ExamplesExampleGcsSource": { +"description": "The Cloud Storage input instances.", +"id": "GoogleCloudAiplatformV1ExamplesExampleGcsSource", +"properties": { +"dataFormat": { +"description": "The format in which instances are given, if not specified, assume it's JSONL format. Currently only JSONL format is supported.", +"enum": [ +"DATA_FORMAT_UNSPECIFIED", +"JSONL" +], +"enumDescriptions": [ +"Format unspecified, used when unset.", +"Examples are stored in JSONL files." +], +"type": "string" +}, +"gcsSource": { +"$ref": "GoogleCloudAiplatformV1GcsSource", +"description": "The Cloud Storage location for the input instances." +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1ExamplesOverride": { +"description": "Overrides for example-based explanations.", +"id": "GoogleCloudAiplatformV1ExamplesOverride", +"properties": { +"crowdingCount": { +"description": "The number of neighbors to return that have the same crowding tag.", +"format": "int32", +"type": "integer" +}, +"dataFormat": { +"description": "The format of the data being provided with each call.", +"enum": [ +"DATA_FORMAT_UNSPECIFIED", +"INSTANCES", +"EMBEDDINGS" +], +"enumDescriptions": [ +"Unspecified format. Must not be used.", +"Provided data is a set of model inputs.", +"Provided data is a set of embeddings." +], +"type": "string" +}, +"neighborCount": { +"description": "The number of neighbors to return.", +"format": "int32", +"type": "integer" +}, +"restrictions": { +"description": "Restrict the resulting nearest neighbors to respect these constraints.", +"items": { +"$ref": "GoogleCloudAiplatformV1ExamplesRestrictionsNamespace" +}, +"type": "array" +}, +"returnEmbeddings": { +"description": "If true, return the embeddings instead of neighbors.", +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1ExamplesRestrictionsNamespace": { +"description": "Restrictions namespace for example-based explanations overrides.", +"id": "GoogleCloudAiplatformV1ExamplesRestrictionsNamespace", +"properties": { +"allow": { +"description": "The list of allowed tags.", +"items": { +"type": "string" +}, +"type": "array" +}, +"deny": { +"description": "The list of deny tags.", +"items": { +"type": "string" +}, +"type": "array" +}, +"namespaceName": { +"description": "The namespace name.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1ExecutableCode": { +"description": "Code generated by the model that is meant to be executed, and the result returned to the model. Generated when using the [CodeExecution] tool, in which the code will be automatically executed, and a corresponding [CodeExecutionResult] will also be generated.", +"id": "GoogleCloudAiplatformV1ExecutableCode", +"properties": { +"code": { +"description": "Required. The code to be executed.", +"type": "string" +}, +"language": { +"description": "Required. Programming language of the `code`.", +"enum": [ +"LANGUAGE_UNSPECIFIED", +"PYTHON" +], +"enumDescriptions": [ +"Unspecified language. This value should not be used.", +"Python >= 3.10, with numpy and simpy available." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1ExecuteCodeRequest": { +"description": "Request message for SandboxEnvironmentExecutionService.ExecuteCode.", +"id": "GoogleCloudAiplatformV1ExecuteCodeRequest", +"properties": { +"inputs": { +"description": "Required. The inputs used for the stateless code execution.", +"items": { +"$ref": "GoogleCloudAiplatformV1Chunk" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1ExecuteCodeResponse": { +"description": "Response message for SandboxEnvironmentExecutionService.ExecuteCode.", +"id": "GoogleCloudAiplatformV1ExecuteCodeResponse", +"properties": { +"outputs": { +"description": "The outputs from the sandbox environment.", +"items": { +"$ref": "GoogleCloudAiplatformV1Chunk" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1ExecuteSandboxEnvironmentRequest": { +"description": "Request message for SandboxEnvironmentExecutionService.Execute.", +"id": "GoogleCloudAiplatformV1ExecuteSandboxEnvironmentRequest", +"properties": { +"inputs": { +"description": "Required. The inputs to the sandbox environment.", +"items": { +"$ref": "GoogleCloudAiplatformV1Chunk" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1ExecuteSandboxEnvironmentResponse": { +"description": "Response message for SandboxEnvironmentExecutionService.Execute.", +"id": "GoogleCloudAiplatformV1ExecuteSandboxEnvironmentResponse", +"properties": { +"outputs": { +"description": "The outputs from the sandbox environment.", +"items": { +"$ref": "GoogleCloudAiplatformV1Chunk" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1Execution": { +"description": "Instance of a general execution.", +"id": "GoogleCloudAiplatformV1Execution", +"properties": { +"createTime": { +"description": "Output only. Timestamp when this Execution was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"description": { +"description": "Description of the Execution", +"type": "string" +}, +"displayName": { +"description": "User provided display name of the Execution. May be up to 128 Unicode characters.", +"type": "string" +}, +"etag": { +"description": "An eTag used to perform consistent read-modify-write updates. If not set, a blind \"overwrite\" update happens.", +"type": "string" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "The labels with user-defined metadata to organize your Executions. Label keys and values can be no longer than 64 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. No more than 64 user labels can be associated with one Execution (System labels are excluded).", +"type": "object" +}, +"metadata": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"description": "Properties of the Execution. Top level metadata keys' heading and trailing spaces will be trimmed. The size of this field should not exceed 200KB.", +"type": "object" +}, +"name": { +"description": "Output only. The resource name of the Execution.", +"readOnly": true, +"type": "string" +}, +"schemaTitle": { +"description": "The title of the schema describing the metadata. Schema title and version is expected to be registered in earlier Create Schema calls. And both are used together as unique identifiers to identify schemas within the local metadata store.", +"type": "string" +}, +"schemaVersion": { +"description": "The version of the schema in `schema_title` to use. Schema title and version is expected to be registered in earlier Create Schema calls. And both are used together as unique identifiers to identify schemas within the local metadata store.", +"type": "string" +}, +"state": { +"description": "The state of this Execution. This is a property of the Execution, and does not imply or capture any ongoing process. This property is managed by clients (such as Vertex AI Pipelines) and the system does not prescribe or check the validity of state transitions.", +"enum": [ +"STATE_UNSPECIFIED", +"NEW", +"RUNNING", +"COMPLETE", +"FAILED", +"CACHED", +"CANCELLED" +], +"enumDescriptions": [ +"Unspecified Execution state", +"The Execution is new", +"The Execution is running", +"The Execution has finished running", +"The Execution has failed", +"The Execution completed through Cache hit.", +"The Execution was cancelled." +], +"type": "string" +}, +"updateTime": { +"description": "Output only. Timestamp when this Execution was last updated.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1ExplainRequest": { +"description": "Request message for PredictionService.Explain.", +"id": "GoogleCloudAiplatformV1ExplainRequest", +"properties": { +"deployedModelId": { +"description": "If specified, this ExplainRequest will be served by the chosen DeployedModel, overriding Endpoint.traffic_split.", +"type": "string" +}, +"explanationSpecOverride": { +"$ref": "GoogleCloudAiplatformV1ExplanationSpecOverride", +"description": "If specified, overrides the explanation_spec of the DeployedModel. Can be used for explaining prediction results with different configurations, such as: - Explaining top-5 predictions results as opposed to top-1; - Increasing path count or step count of the attribution methods to reduce approximate errors; - Using different baselines for explaining the prediction results." +}, +"instances": { +"description": "Required. The instances that are the input to the explanation call. A DeployedModel may have an upper limit on the number of instances it supports per request, and when it is exceeded the explanation call errors in case of AutoML Models, or, in case of customer created Models, the behaviour is as documented by that Model. The schema of any single instance may be specified via Endpoint's DeployedModels' Model's PredictSchemata's instance_schema_uri.", +"items": { +"type": "any" +}, +"type": "array" +}, +"parameters": { +"description": "The parameters that govern the prediction. The schema of the parameters may be specified via Endpoint's DeployedModels' Model's PredictSchemata's parameters_schema_uri.", +"type": "any" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1ExplainResponse": { +"description": "Response message for PredictionService.Explain.", +"id": "GoogleCloudAiplatformV1ExplainResponse", +"properties": { +"deployedModelId": { +"description": "ID of the Endpoint's DeployedModel that served this explanation.", +"type": "string" +}, +"explanations": { +"description": "The explanations of the Model's PredictResponse.predictions. It has the same number of elements as instances to be explained.", +"items": { +"$ref": "GoogleCloudAiplatformV1Explanation" +}, +"type": "array" +}, +"predictions": { +"description": "The predictions that are the output of the predictions call. Same as PredictResponse.predictions.", +"items": { +"type": "any" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1Explanation": { +"description": "Explanation of a prediction (provided in PredictResponse.predictions) produced by the Model on a given instance.", +"id": "GoogleCloudAiplatformV1Explanation", +"properties": { +"attributions": { +"description": "Output only. Feature attributions grouped by predicted outputs. For Models that predict only one output, such as regression Models that predict only one score, there is only one attibution that explains the predicted output. For Models that predict multiple outputs, such as multiclass Models that predict multiple classes, each element explains one specific item. Attribution.output_index can be used to identify which output this attribution is explaining. By default, we provide Shapley values for the predicted class. However, you can configure the explanation request to generate Shapley values for any other classes too. For example, if a model predicts a probability of `0.4` for approving a loan application, the model's decision is to reject the application since `p(reject) = 0.6 > p(approve) = 0.4`, and the default Shapley values would be computed for rejection decision and not approval, even though the latter might be the positive class. If users set ExplanationParameters.top_k, the attributions are sorted by instance_output_value in descending order. If ExplanationParameters.output_indices is specified, the attributions are stored by Attribution.output_index in the same order as they appear in the output_indices.", +"items": { +"$ref": "GoogleCloudAiplatformV1Attribution" +}, +"readOnly": true, +"type": "array" +}, +"neighbors": { +"description": "Output only. List of the nearest neighbors for example-based explanations. For models deployed with the examples explanations feature enabled, the attributions field is empty and instead the neighbors field is populated.", +"items": { +"$ref": "GoogleCloudAiplatformV1Neighbor" +}, +"readOnly": true, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1ExplanationMetadata": { +"description": "Metadata describing the Model's input and output for explanation.", +"id": "GoogleCloudAiplatformV1ExplanationMetadata", +"properties": { +"featureAttributionsSchemaUri": { +"description": "Points to a YAML file stored on Google Cloud Storage describing the format of the feature attributions. 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 tabular Models always have this field populated by Vertex AI. Note: The URI given on output may be 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.", +"type": "string" +}, +"inputs": { +"additionalProperties": { +"$ref": "GoogleCloudAiplatformV1ExplanationMetadataInputMetadata" +}, +"description": "Required. Map from feature names to feature input metadata. Keys are the name of the features. Values are the specification of the feature. An empty InputMetadata is valid. It describes a text feature which has the name specified as the key in ExplanationMetadata.inputs. The baseline of the empty feature is chosen by Vertex AI. For Vertex AI-provided Tensorflow images, the key can be any friendly name of the feature. Once specified, featureAttributions are keyed by this key (if not grouped with another feature). For custom images, the key must match with the key in instance.", +"type": "object" +}, +"latentSpaceSource": { +"description": "Name of the source to generate embeddings for example based explanations.", +"type": "string" +}, +"outputs": { +"additionalProperties": { +"$ref": "GoogleCloudAiplatformV1ExplanationMetadataOutputMetadata" +}, +"description": "Required. Map from output names to output metadata. For Vertex AI-provided Tensorflow images, keys can be any user defined string that consists of any UTF-8 characters. For custom images, keys are the name of the output field in the prediction to be explained. Currently only one key is allowed.", +"type": "object" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1ExplanationMetadataInputMetadata": { +"description": "Metadata of the input of a feature. Fields other than InputMetadata.input_baselines are applicable only for Models that are using Vertex AI-provided images for Tensorflow.", +"id": "GoogleCloudAiplatformV1ExplanationMetadataInputMetadata", +"properties": { +"denseShapeTensorName": { +"description": "Specifies the shape of the values of the input if the input is a sparse representation. Refer to Tensorflow documentation for more details: https://www.tensorflow.org/api_docs/python/tf/sparse/SparseTensor.", +"type": "string" +}, +"encodedBaselines": { +"description": "A list of baselines for the encoded tensor. The shape of each baseline should match the shape of the encoded tensor. If a scalar is provided, Vertex AI broadcasts to the same shape as the encoded tensor.", +"items": { +"type": "any" +}, +"type": "array" +}, +"encodedTensorName": { +"description": "Encoded tensor is a transformation of the input tensor. Must be provided if choosing Integrated Gradients attribution or XRAI attribution and the input tensor is not differentiable. An encoded tensor is generated if the input tensor is encoded by a lookup table.", +"type": "string" +}, +"encoding": { +"description": "Defines how the feature is encoded into the input tensor. Defaults to IDENTITY.", +"enum": [ +"ENCODING_UNSPECIFIED", +"IDENTITY", +"BAG_OF_FEATURES", +"BAG_OF_FEATURES_SPARSE", +"INDICATOR", +"COMBINED_EMBEDDING", +"CONCAT_EMBEDDING" +], +"enumDescriptions": [ +"Default value. This is the same as IDENTITY.", +"The tensor represents one feature.", +"The tensor represents a bag of features where each index maps to a feature. InputMetadata.index_feature_mapping must be provided for this encoding. For example: ``` input = [27, 6.0, 150] index_feature_mapping = [\"age\", \"height\", \"weight\"] ```", +"The tensor represents a bag of features where each index maps to a feature. Zero values in the tensor indicates feature being non-existent. InputMetadata.index_feature_mapping must be provided for this encoding. For example: ``` input = [2, 0, 5, 0, 1] index_feature_mapping = [\"a\", \"b\", \"c\", \"d\", \"e\"] ```", +"The tensor is a list of binaries representing whether a feature exists or not (1 indicates existence). InputMetadata.index_feature_mapping must be provided for this encoding. For example: ``` input = [1, 0, 1, 0, 1] index_feature_mapping = [\"a\", \"b\", \"c\", \"d\", \"e\"] ```", +"The tensor is encoded into a 1-dimensional array represented by an encoded tensor. InputMetadata.encoded_tensor_name must be provided for this encoding. For example: ``` input = [\"This\", \"is\", \"a\", \"test\", \".\"] encoded = [0.1, 0.2, 0.3, 0.4, 0.5] ```", +"Select this encoding when the input tensor is encoded into a 2-dimensional array represented by an encoded tensor. InputMetadata.encoded_tensor_name must be provided for this encoding. The first dimension of the encoded tensor's shape is the same as the input tensor's shape. For example: ``` input = [\"This\", \"is\", \"a\", \"test\", \".\"] encoded = [[0.1, 0.2, 0.3, 0.4, 0.5], [0.2, 0.1, 0.4, 0.3, 0.5], [0.5, 0.1, 0.3, 0.5, 0.4], [0.5, 0.3, 0.1, 0.2, 0.4], [0.4, 0.3, 0.2, 0.5, 0.1]] ```" +], +"type": "string" +}, +"featureValueDomain": { +"$ref": "GoogleCloudAiplatformV1ExplanationMetadataInputMetadataFeatureValueDomain", +"description": "The domain details of the input feature value. Like min/max, original mean or standard deviation if normalized." +}, +"groupName": { +"description": "Name of the group that the input belongs to. Features with the same group name will be treated as one feature when computing attributions. Features grouped together can have different shapes in value. If provided, there will be one single attribution generated in Attribution.feature_attributions, keyed by the group name.", +"type": "string" +}, +"indexFeatureMapping": { +"description": "A list of feature names for each index in the input tensor. Required when the input InputMetadata.encoding is BAG_OF_FEATURES, BAG_OF_FEATURES_SPARSE, INDICATOR.", +"items": { +"type": "string" +}, +"type": "array" +}, +"indicesTensorName": { +"description": "Specifies the index of the values of the input tensor. Required when the input tensor is a sparse representation. Refer to Tensorflow documentation for more details: https://www.tensorflow.org/api_docs/python/tf/sparse/SparseTensor.", +"type": "string" +}, +"inputBaselines": { +"description": "Baseline inputs for this feature. If no baseline is specified, Vertex AI chooses the baseline for this feature. If multiple baselines are specified, Vertex AI returns the average attributions across them in Attribution.feature_attributions. For Vertex AI-provided Tensorflow images (both 1.x and 2.x), the shape of each baseline must match the shape of the input tensor. If a scalar is provided, we broadcast to the same shape as the input tensor. For custom images, the element of the baselines must be in the same format as the feature's input in the instance[]. The schema of any single instance may be specified via Endpoint's DeployedModels' Model's PredictSchemata's instance_schema_uri.", +"items": { +"type": "any" +}, +"type": "array" +}, +"inputTensorName": { +"description": "Name of the input tensor for this feature. Required and is only applicable to Vertex AI-provided images for Tensorflow.", +"type": "string" +}, +"modality": { +"description": "Modality of the feature. Valid values are: numeric, image. Defaults to numeric.", +"type": "string" +}, +"visualization": { +"$ref": "GoogleCloudAiplatformV1ExplanationMetadataInputMetadataVisualization", +"description": "Visualization configurations for image explanation." +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1ExplanationMetadataInputMetadataFeatureValueDomain": { +"description": "Domain details of the input feature value. Provides numeric information about the feature, such as its range (min, max). If the feature has been pre-processed, for example with z-scoring, then it provides information about how to recover the original feature. For example, if the input feature is an image and it has been pre-processed to obtain 0-mean and stddev = 1 values, then original_mean, and original_stddev refer to the mean and stddev of the original feature (e.g. image tensor) from which input feature (with mean = 0 and stddev = 1) was obtained.", +"id": "GoogleCloudAiplatformV1ExplanationMetadataInputMetadataFeatureValueDomain", +"properties": { +"maxValue": { +"description": "The maximum permissible value for this feature.", +"format": "float", +"type": "number" +}, +"minValue": { +"description": "The minimum permissible value for this feature.", +"format": "float", +"type": "number" +}, +"originalMean": { +"description": "If this input feature has been normalized to a mean value of 0, the original_mean specifies the mean value of the domain prior to normalization.", +"format": "float", +"type": "number" +}, +"originalStddev": { +"description": "If this input feature has been normalized to a standard deviation of 1.0, the original_stddev specifies the standard deviation of the domain prior to normalization.", +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1ExplanationMetadataInputMetadataVisualization": { +"description": "Visualization configurations for image explanation.", +"id": "GoogleCloudAiplatformV1ExplanationMetadataInputMetadataVisualization", +"properties": { +"clipPercentLowerbound": { +"description": "Excludes attributions below the specified percentile, from the highlighted areas. Defaults to 62.", +"format": "float", +"type": "number" +}, +"clipPercentUpperbound": { +"description": "Excludes attributions above the specified percentile from the highlighted areas. Using the clip_percent_upperbound and clip_percent_lowerbound together can be useful for filtering out noise and making it easier to see areas of strong attribution. Defaults to 99.9.", +"format": "float", +"type": "number" +}, +"colorMap": { +"description": "The color scheme used for the highlighted areas. Defaults to PINK_GREEN for Integrated Gradients attribution, which shows positive attributions in green and negative in pink. Defaults to VIRIDIS for XRAI attribution, which highlights the most influential regions in yellow and the least influential in blue.", +"enum": [ +"COLOR_MAP_UNSPECIFIED", +"PINK_GREEN", +"VIRIDIS", +"RED", +"GREEN", +"RED_GREEN", +"PINK_WHITE_GREEN" +], +"enumDescriptions": [ +"Should not be used.", +"Positive: green. Negative: pink.", +"Viridis color map: A perceptually uniform color mapping which is easier to see by those with colorblindness and progresses from yellow to green to blue. Positive: yellow. Negative: blue.", +"Positive: red. Negative: red.", +"Positive: green. Negative: green.", +"Positive: green. Negative: red.", +"PiYG palette." +], +"type": "string" +}, +"overlayType": { +"description": "How the original image is displayed in the visualization. Adjusting the overlay can help increase visual clarity if the original image makes it difficult to view the visualization. Defaults to NONE.", +"enum": [ +"OVERLAY_TYPE_UNSPECIFIED", +"NONE", +"ORIGINAL", +"GRAYSCALE", +"MASK_BLACK" +], +"enumDescriptions": [ +"Default value. This is the same as NONE.", +"No overlay.", +"The attributions are shown on top of the original image.", +"The attributions are shown on top of grayscaled version of the original image.", +"The attributions are used as a mask to reveal predictive parts of the image and hide the un-predictive parts." +], +"type": "string" +}, +"polarity": { +"description": "Whether to only highlight pixels with positive contributions, negative or both. Defaults to POSITIVE.", +"enum": [ +"POLARITY_UNSPECIFIED", +"POSITIVE", +"NEGATIVE", +"BOTH" +], +"enumDescriptions": [ +"Default value. This is the same as POSITIVE.", +"Highlights the pixels/outlines that were most influential to the model's prediction.", +"Setting polarity to negative highlights areas that does not lead to the models's current prediction.", +"Shows both positive and negative attributions." +], +"type": "string" +}, +"type": { +"description": "Type of the image visualization. Only applicable to Integrated Gradients attribution. OUTLINES shows regions of attribution, while PIXELS shows per-pixel attribution. Defaults to OUTLINES.", +"enum": [ +"TYPE_UNSPECIFIED", +"PIXELS", +"OUTLINES" +], +"enumDescriptions": [ +"Should not be used.", +"Shows which pixel contributed to the image prediction.", +"Shows which region contributed to the image prediction by outlining the region." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1ExplanationMetadataOutputMetadata": { +"description": "Metadata of the prediction output to be explained.", +"id": "GoogleCloudAiplatformV1ExplanationMetadataOutputMetadata", +"properties": { +"displayNameMappingKey": { +"description": "Specify a field name in the prediction to look for the display name. Use this if the prediction contains the display names for the outputs. The display names in the prediction must have the same shape of the outputs, so that it can be located by Attribution.output_index for a specific output.", +"type": "string" +}, +"indexDisplayNameMapping": { +"description": "Static mapping between the index and display name. Use this if the outputs are a deterministic n-dimensional array, e.g. a list of scores of all the classes in a pre-defined order for a multi-classification Model. It's not feasible if the outputs are non-deterministic, e.g. the Model produces top-k classes or sort the outputs by their values. The shape of the value must be an n-dimensional array of strings. The number of dimensions must match that of the outputs to be explained. The Attribution.output_display_name is populated by locating in the mapping with Attribution.output_index.", +"type": "any" +}, +"outputTensorName": { +"description": "Name of the output tensor. Required and is only applicable to Vertex AI provided images for Tensorflow.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1ExplanationMetadataOverride": { +"description": "The ExplanationMetadata entries that can be overridden at online explanation time.", +"id": "GoogleCloudAiplatformV1ExplanationMetadataOverride", +"properties": { +"inputs": { +"additionalProperties": { +"$ref": "GoogleCloudAiplatformV1ExplanationMetadataOverrideInputMetadataOverride" +}, +"description": "Required. Overrides the input metadata of the features. The key is the name of the feature to be overridden. The keys specified here must exist in the input metadata to be overridden. If a feature is not specified here, the corresponding feature's input metadata is not overridden.", +"type": "object" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1ExplanationMetadataOverrideInputMetadataOverride": { +"description": "The input metadata entries to be overridden.", +"id": "GoogleCloudAiplatformV1ExplanationMetadataOverrideInputMetadataOverride", +"properties": { +"inputBaselines": { +"description": "Baseline inputs for this feature. This overrides the `input_baseline` field of the ExplanationMetadata.InputMetadata object of the corresponding feature's input metadata. If it's not specified, the original baselines are not overridden.", +"items": { +"type": "any" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1ExplanationParameters": { +"description": "Parameters to configure explaining for Model's predictions.", +"id": "GoogleCloudAiplatformV1ExplanationParameters", +"properties": { +"examples": { +"$ref": "GoogleCloudAiplatformV1Examples", +"description": "Example-based explanations that returns the nearest neighbors from the provided dataset." +}, +"integratedGradientsAttribution": { +"$ref": "GoogleCloudAiplatformV1IntegratedGradientsAttribution", +"description": "An attribution method that computes Aumann-Shapley values taking advantage of the model's fully differentiable structure. Refer to this paper for more details: https://arxiv.org/abs/1703.01365" +}, +"outputIndices": { +"description": "If populated, only returns attributions that have output_index contained in output_indices. It must be an ndarray of integers, with the same shape of the output it's explaining. If not populated, returns attributions for top_k indices of outputs. If neither top_k nor output_indices is populated, returns the argmax index of the outputs. Only applicable to Models that predict multiple outputs (e,g, multi-class Models that predict multiple classes).", +"items": { +"type": "any" +}, +"type": "array" +}, +"sampledShapleyAttribution": { +"$ref": "GoogleCloudAiplatformV1SampledShapleyAttribution", +"description": "An attribution method that approximates Shapley values for features that contribute to the label being predicted. A sampling strategy is used to approximate the value rather than considering all subsets of features. Refer to this paper for model details: https://arxiv.org/abs/1306.4265." +}, +"topK": { +"description": "If populated, returns attributions for top K indices of outputs (defaults to 1). Only applies to Models that predicts more than one outputs (e,g, multi-class Models). When set to -1, returns explanations for all outputs.", +"format": "int32", +"type": "integer" +}, +"xraiAttribution": { +"$ref": "GoogleCloudAiplatformV1XraiAttribution", +"description": "An attribution method that redistributes Integrated Gradients attribution to segmented regions, taking advantage of the model's fully differentiable structure. Refer to this paper for more details: https://arxiv.org/abs/1906.02825 XRAI currently performs better on natural images, like a picture of a house or an animal. If the images are taken in artificial environments, like a lab or manufacturing line, or from diagnostic equipment, like x-rays or quality-control cameras, use Integrated Gradients instead." +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1ExplanationSpec": { +"description": "Specification of Model explanation.", +"id": "GoogleCloudAiplatformV1ExplanationSpec", +"properties": { +"metadata": { +"$ref": "GoogleCloudAiplatformV1ExplanationMetadata", +"description": "Optional. Metadata describing the Model's input and output for explanation." +}, +"parameters": { +"$ref": "GoogleCloudAiplatformV1ExplanationParameters", +"description": "Required. Parameters that configure explaining of the Model's predictions." +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1ExplanationSpecOverride": { +"description": "The ExplanationSpec entries that can be overridden at online explanation time.", +"id": "GoogleCloudAiplatformV1ExplanationSpecOverride", +"properties": { +"examplesOverride": { +"$ref": "GoogleCloudAiplatformV1ExamplesOverride", +"description": "The example-based explanations parameter overrides." +}, +"metadata": { +"$ref": "GoogleCloudAiplatformV1ExplanationMetadataOverride", +"description": "The metadata to be overridden. If not specified, no metadata is overridden." +}, +"parameters": { +"$ref": "GoogleCloudAiplatformV1ExplanationParameters", +"description": "The parameters to be overridden. Note that the attribution method cannot be changed. If not specified, no parameter is overridden." +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1ExportDataConfig": { +"description": "Describes what part of the Dataset is to be exported, the destination of the export and how to export.", +"id": "GoogleCloudAiplatformV1ExportDataConfig", +"properties": { +"annotationSchemaUri": { +"description": "The Cloud Storage URI that points to a YAML file describing the annotation schema. The schema is defined as an OpenAPI 3.0.2 [Schema Object](https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.0.2.md#schemaObject). The schema files that can be used here are found in gs://google-cloud-aiplatform/schema/dataset/annotation/, note that the chosen schema must be consistent with metadata of the Dataset specified by ExportDataRequest.name. Only used for custom training data export use cases. Only applicable to Datasets that have DataItems and Annotations. Only Annotations that both match this schema and belong to DataItems not ignored by the split method are used in respectively training, validation or test role, depending on the role of the DataItem they are on. When used in conjunction with annotations_filter, the Annotations used for training are filtered by both annotations_filter and annotation_schema_uri.", +"type": "string" +}, +"annotationsFilter": { +"description": "An expression for filtering what part of the Dataset is to be exported. Only Annotations that match this filter will be exported. The filter syntax is the same as in ListAnnotations.", +"type": "string" +}, +"exportUse": { +"description": "Indicates the usage of the exported files.", +"enum": [ +"EXPORT_USE_UNSPECIFIED", +"CUSTOM_CODE_TRAINING" +], +"enumDescriptions": [ +"Regular user export.", +"Export for custom code training." +], +"type": "string" +}, +"filterSplit": { +"$ref": "GoogleCloudAiplatformV1ExportFilterSplit", +"description": "Split based on the provided filters for each set." +}, +"fractionSplit": { +"$ref": "GoogleCloudAiplatformV1ExportFractionSplit", +"description": "Split based on fractions defining the size of each set." +}, +"gcsDestination": { +"$ref": "GoogleCloudAiplatformV1GcsDestination", +"description": "The Google Cloud Storage location where the output is to be written to. In the given directory a new directory will be created with name: `export-data--` where timestamp is in YYYY-MM-DDThh:mm:ss.sssZ ISO-8601 format. All export output will be written into that directory. Inside that directory, annotations with the same schema will be grouped into sub directories which are named with the corresponding annotations' schema title. Inside these sub directories, a schema.yaml will be created to describe the output format." +}, +"savedQueryId": { +"description": "The ID of a SavedQuery (annotation set) under the Dataset specified by ExportDataRequest.name used for filtering Annotations for training. Only used for custom training data export use cases. Only applicable to Datasets that have SavedQueries. Only Annotations that are associated with this SavedQuery are used in respectively training. When used in conjunction with annotations_filter, the Annotations used for training are filtered by both saved_query_id and annotations_filter. Only one of saved_query_id and annotation_schema_uri should be specified as both of them represent the same thing: problem type.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1ExportDataOperationMetadata": { +"description": "Runtime operation information for DatasetService.ExportData.", +"id": "GoogleCloudAiplatformV1ExportDataOperationMetadata", +"properties": { +"gcsOutputDirectory": { +"description": "A Google Cloud Storage directory which path ends with '/'. The exported data is stored in the directory.", +"type": "string" +}, +"genericMetadata": { +"$ref": "GoogleCloudAiplatformV1GenericOperationMetadata", +"description": "The common part of the operation metadata." +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1ExportDataRequest": { +"description": "Request message for DatasetService.ExportData.", +"id": "GoogleCloudAiplatformV1ExportDataRequest", +"properties": { +"exportConfig": { +"$ref": "GoogleCloudAiplatformV1ExportDataConfig", +"description": "Required. The desired output location." +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1ExportDataResponse": { +"description": "Response message for DatasetService.ExportData.", +"id": "GoogleCloudAiplatformV1ExportDataResponse", +"properties": { +"dataStats": { +"$ref": "GoogleCloudAiplatformV1ModelDataStats", +"description": "Only present for custom code training export use case. Records data stats, i.e., train/validation/test item/annotation counts calculated during the export operation." +}, +"exportedFiles": { +"description": "All of the files that are exported in this export operation. For custom code training export, only three (training, validation and test) Cloud Storage paths in wildcard format are populated (for example, gs://.../training-*).", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1ExportFeatureValuesOperationMetadata": { +"description": "Details of operations that exports Features values.", +"id": "GoogleCloudAiplatformV1ExportFeatureValuesOperationMetadata", +"properties": { +"genericMetadata": { +"$ref": "GoogleCloudAiplatformV1GenericOperationMetadata", +"description": "Operation metadata for Featurestore export Feature values." +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1ExportFeatureValuesRequest": { +"description": "Request message for FeaturestoreService.ExportFeatureValues.", +"id": "GoogleCloudAiplatformV1ExportFeatureValuesRequest", +"properties": { +"destination": { +"$ref": "GoogleCloudAiplatformV1FeatureValueDestination", +"description": "Required. Specifies destination location and format." +}, +"featureSelector": { +"$ref": "GoogleCloudAiplatformV1FeatureSelector", +"description": "Required. Selects Features to export values of." +}, +"fullExport": { +"$ref": "GoogleCloudAiplatformV1ExportFeatureValuesRequestFullExport", +"description": "Exports all historical values of all entities of the EntityType within a time range" +}, +"settings": { +"description": "Per-Feature export settings.", +"items": { +"$ref": "GoogleCloudAiplatformV1DestinationFeatureSetting" +}, +"type": "array" +}, +"snapshotExport": { +"$ref": "GoogleCloudAiplatformV1ExportFeatureValuesRequestSnapshotExport", +"description": "Exports the latest Feature values of all entities of the EntityType within a time range." +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1ExportFeatureValuesRequestFullExport": { +"description": "Describes exporting all historical Feature values of all entities of the EntityType between [start_time, end_time].", +"id": "GoogleCloudAiplatformV1ExportFeatureValuesRequestFullExport", +"properties": { +"endTime": { +"description": "Exports Feature values as of this timestamp. If not set, retrieve values as of now. Timestamp, if present, must not have higher than millisecond precision.", +"format": "google-datetime", +"type": "string" +}, +"startTime": { +"description": "Excludes Feature values with feature generation timestamp before this timestamp. If not set, retrieve oldest values kept in Feature Store. Timestamp, if present, must not have higher than millisecond precision.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1ExportFeatureValuesRequestSnapshotExport": { +"description": "Describes exporting the latest Feature values of all entities of the EntityType between [start_time, snapshot_time].", +"id": "GoogleCloudAiplatformV1ExportFeatureValuesRequestSnapshotExport", +"properties": { +"snapshotTime": { +"description": "Exports Feature values as of this timestamp. If not set, retrieve values as of now. Timestamp, if present, must not have higher than millisecond precision.", +"format": "google-datetime", +"type": "string" +}, +"startTime": { +"description": "Excludes Feature values with feature generation timestamp before this timestamp. If not set, retrieve oldest values kept in Feature Store. Timestamp, if present, must not have higher than millisecond precision.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1ExportFeatureValuesResponse": { +"description": "Response message for FeaturestoreService.ExportFeatureValues.", +"id": "GoogleCloudAiplatformV1ExportFeatureValuesResponse", +"properties": {}, +"type": "object" +}, +"GoogleCloudAiplatformV1ExportFilterSplit": { +"description": "Assigns input data to training, validation, and test sets based on the given filters, data pieces not matched by any filter are ignored. Currently only supported for Datasets containing DataItems. If any of the filters in this message are to match nothing, then they can be set as '-' (the minus sign). Supported only for unstructured Datasets.", +"id": "GoogleCloudAiplatformV1ExportFilterSplit", +"properties": { +"testFilter": { +"description": "Required. A filter on DataItems of the Dataset. DataItems that match this filter are used to test the Model. A filter with same syntax as the one used in DatasetService.ListDataItems may be used. If a single DataItem is matched by more than one of the FilterSplit filters, then it is assigned to the first set that applies to it in the training, validation, test order.", +"type": "string" +}, +"trainingFilter": { +"description": "Required. A filter on DataItems of the Dataset. DataItems that match this filter are used to train the Model. A filter with same syntax as the one used in DatasetService.ListDataItems may be used. If a single DataItem is matched by more than one of the FilterSplit filters, then it is assigned to the first set that applies to it in the training, validation, test order.", +"type": "string" +}, +"validationFilter": { +"description": "Required. A filter on DataItems of the Dataset. DataItems that match this filter are used to validate the Model. A filter with same syntax as the one used in DatasetService.ListDataItems may be used. If a single DataItem is matched by more than one of the FilterSplit filters, then it is assigned to the first set that applies to it in the training, validation, test order.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1ExportFractionSplit": { +"description": "Assigns the input data to training, validation, and test sets as per the given fractions. Any of `training_fraction`, `validation_fraction` and `test_fraction` may optionally be provided, they must sum to up to 1. If the provided ones sum to less than 1, the remainder is assigned to sets as decided by Vertex AI. If none of the fractions are set, by default roughly 80% of data is used for training, 10% for validation, and 10% for test.", +"id": "GoogleCloudAiplatformV1ExportFractionSplit", +"properties": { +"testFraction": { +"description": "The fraction of the input data that is to be used to evaluate the Model.", +"format": "double", +"type": "number" +}, +"trainingFraction": { +"description": "The fraction of the input data that is to be used to train the Model.", +"format": "double", +"type": "number" +}, +"validationFraction": { +"description": "The fraction of the input data that is to be used to validate the Model.", +"format": "double", +"type": "number" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1ExportModelOperationMetadata": { +"description": "Details of ModelService.ExportModel operation.", +"id": "GoogleCloudAiplatformV1ExportModelOperationMetadata", +"properties": { +"genericMetadata": { +"$ref": "GoogleCloudAiplatformV1GenericOperationMetadata", +"description": "The common part of the operation metadata." +}, +"outputInfo": { +"$ref": "GoogleCloudAiplatformV1ExportModelOperationMetadataOutputInfo", +"description": "Output only. Information further describing the output of this Model export.", +"readOnly": true +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1ExportModelOperationMetadataOutputInfo": { +"description": "Further describes the output of the ExportModel. Supplements ExportModelRequest.OutputConfig.", +"id": "GoogleCloudAiplatformV1ExportModelOperationMetadataOutputInfo", +"properties": { +"artifactOutputUri": { +"description": "Output only. If the Model artifact is being exported to Google Cloud Storage this is the full path of the directory created, into which the Model files are being written to.", +"readOnly": true, +"type": "string" +}, +"imageOutputUri": { +"description": "Output only. If the Model image is being exported to Google Container Registry or Artifact Registry this is the full path of the image created.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1ExportModelRequest": { +"description": "Request message for ModelService.ExportModel.", +"id": "GoogleCloudAiplatformV1ExportModelRequest", +"properties": { +"outputConfig": { +"$ref": "GoogleCloudAiplatformV1ExportModelRequestOutputConfig", +"description": "Required. The desired output location and configuration." +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1ExportModelRequestOutputConfig": { +"description": "Output configuration for the Model export.", +"id": "GoogleCloudAiplatformV1ExportModelRequestOutputConfig", +"properties": { +"artifactDestination": { +"$ref": "GoogleCloudAiplatformV1GcsDestination", +"description": "The Cloud Storage location where the Model artifact is to be written to. Under the directory given as the destination a new one with name \"`model-export--`\", where timestamp is in YYYY-MM-DDThh:mm:ss.sssZ ISO-8601 format, will be created. Inside, the Model and any of its supporting files will be written. This field should only be set when the `exportableContent` field of the [Model.supported_export_formats] object contains `ARTIFACT`." +}, +"exportFormatId": { +"description": "The ID of the format in which the Model must be exported. Each Model lists the export formats it supports. If no value is provided here, then the first from the list of the Model's supported formats is used by default.", +"type": "string" +}, +"imageDestination": { +"$ref": "GoogleCloudAiplatformV1ContainerRegistryDestination", +"description": "The Google Container Registry or Artifact Registry uri where the Model container image will be copied to. This field should only be set when the `exportableContent` field of the [Model.supported_export_formats] object contains `IMAGE`." +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1ExportModelResponse": { +"description": "Response message of ModelService.ExportModel operation.", +"id": "GoogleCloudAiplatformV1ExportModelResponse", +"properties": {}, +"type": "object" +}, +"GoogleCloudAiplatformV1ExportTensorboardTimeSeriesDataRequest": { +"description": "Request message for TensorboardService.ExportTensorboardTimeSeriesData.", +"id": "GoogleCloudAiplatformV1ExportTensorboardTimeSeriesDataRequest", +"properties": { +"filter": { +"description": "Exports the TensorboardTimeSeries' data that match the filter expression.", +"type": "string" +}, +"orderBy": { +"description": "Field to use to sort the TensorboardTimeSeries' data. By default, TensorboardTimeSeries' data is returned in a pseudo random order.", +"type": "string" +}, +"pageSize": { +"description": "The maximum number of data points to return per page. The default page_size is 1000. Values must be between 1 and 10000. Values above 10000 are coerced to 10000.", +"format": "int32", +"type": "integer" +}, +"pageToken": { +"description": "A page token, received from a previous ExportTensorboardTimeSeriesData call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to ExportTensorboardTimeSeriesData must match the call that provided the page token.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1ExportTensorboardTimeSeriesDataResponse": { +"description": "Response message for TensorboardService.ExportTensorboardTimeSeriesData.", +"id": "GoogleCloudAiplatformV1ExportTensorboardTimeSeriesDataResponse", +"properties": { +"nextPageToken": { +"description": "A token, which can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.", +"type": "string" +}, +"timeSeriesDataPoints": { +"description": "The returned time series data points.", +"items": { +"$ref": "GoogleCloudAiplatformV1TimeSeriesDataPoint" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1ExternalApi": { +"description": "Retrieve from data source powered by external API for grounding. The external API is not owned by Google, but need to follow the pre-defined API spec.", +"id": "GoogleCloudAiplatformV1ExternalApi", +"properties": { +"apiAuth": { +"$ref": "GoogleCloudAiplatformV1ApiAuth", +"deprecated": true, +"description": "The authentication config to access the API. Deprecated. Please use auth_config instead." +}, +"apiSpec": { +"description": "The API spec that the external API implements.", +"enum": [ +"API_SPEC_UNSPECIFIED", +"SIMPLE_SEARCH", +"ELASTIC_SEARCH" +], +"enumDescriptions": [ +"Unspecified API spec. This value should not be used.", +"Simple search API spec.", +"Elastic search API spec." +], +"type": "string" +}, +"authConfig": { +"$ref": "GoogleCloudAiplatformV1AuthConfig", +"description": "The authentication config to access the API." +}, +"elasticSearchParams": { +"$ref": "GoogleCloudAiplatformV1ExternalApiElasticSearchParams", +"description": "Parameters for the elastic search API." +}, +"endpoint": { +"description": "The endpoint of the external API. The system will call the API at this endpoint to retrieve the data for grounding. Example: https://acme.com:443/search", +"type": "string" +}, +"simpleSearchParams": { +"$ref": "GoogleCloudAiplatformV1ExternalApiSimpleSearchParams", +"description": "Parameters for the simple search API." +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1ExternalApiElasticSearchParams": { +"description": "The search parameters to use for the ELASTIC_SEARCH spec.", +"id": "GoogleCloudAiplatformV1ExternalApiElasticSearchParams", +"properties": { +"index": { +"description": "The ElasticSearch index to use.", +"type": "string" +}, +"numHits": { +"description": "Optional. Number of hits (chunks) to request. When specified, it is passed to Elasticsearch as the `num_hits` param.", +"format": "int32", +"type": "integer" +}, +"searchTemplate": { +"description": "The ElasticSearch search template to use.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1ExternalApiSimpleSearchParams": { +"description": "The search parameters to use for SIMPLE_SEARCH spec.", +"id": "GoogleCloudAiplatformV1ExternalApiSimpleSearchParams", +"properties": {}, +"type": "object" +}, +"GoogleCloudAiplatformV1Fact": { +"description": "The fact used in grounding.", +"id": "GoogleCloudAiplatformV1Fact", +"properties": { +"chunk": { +"$ref": "GoogleCloudAiplatformV1RagChunk", +"description": "If present, chunk properties." +}, +"query": { +"description": "Query that is used to retrieve this fact.", +"type": "string" +}, +"score": { +"description": "If present, according to the underlying Vector DB and the selected metric type, the score can be either the distance or the similarity between the query and the fact and its range depends on the metric type. For example, if the metric type is COSINE_DISTANCE, it represents the distance between the query and the fact. The larger the distance, the less relevant the fact is to the query. The range is [0, 2], while 0 means the most relevant and 2 means the least relevant.", +"format": "double", +"type": "number" +}, +"summary": { +"description": "If present, the summary/snippet of the fact.", +"type": "string" +}, +"title": { +"description": "If present, it refers to the title of this fact.", +"type": "string" +}, +"uri": { +"description": "If present, this uri links to the source of the fact.", +"type": "string" +}, +"vectorDistance": { +"deprecated": true, +"description": "If present, the distance between the query vector and this fact vector.", +"format": "double", +"type": "number" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1FasterDeploymentConfig": { +"description": "Configuration for faster model deployment.", +"id": "GoogleCloudAiplatformV1FasterDeploymentConfig", +"properties": { +"fastTryoutEnabled": { +"description": "If true, enable fast tryout feature for this deployed model.", +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1Feature": { +"description": "Feature Metadata information. For example, color is a feature that describes an apple.", +"id": "GoogleCloudAiplatformV1Feature", +"properties": { +"createTime": { +"description": "Output only. Only applicable for Vertex AI Feature Store (Legacy). Timestamp when this EntityType was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"description": { +"description": "Description of the Feature.", +"type": "string" +}, +"disableMonitoring": { +"description": "Optional. Only applicable for Vertex AI Feature Store (Legacy). If not set, use the monitoring_config defined for the EntityType this Feature belongs to. Only Features with type (Feature.ValueType) BOOL, STRING, DOUBLE or INT64 can enable monitoring. If set to true, all types of data monitoring are disabled despite the config on EntityType.", +"type": "boolean" +}, +"etag": { +"description": "Used to perform a consistent read-modify-write updates. If not set, a blind \"overwrite\" update happens.", +"type": "string" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. The labels with user-defined metadata to organize your Features. Label keys and values can be no longer than 64 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. See https://goo.gl/xmQnxf for more information on and examples of labels. No more than 64 user labels can be associated with one Feature (System labels are excluded).\" System reserved label keys are prefixed with \"aiplatform.googleapis.com/\" and are immutable.", +"type": "object" +}, +"monitoringStatsAnomalies": { +"description": "Output only. Only applicable for Vertex AI Feature Store (Legacy). The list of historical stats and anomalies with specified objectives.", +"items": { +"$ref": "GoogleCloudAiplatformV1FeatureMonitoringStatsAnomaly" +}, +"readOnly": true, +"type": "array" +}, +"name": { +"description": "Immutable. Name of the Feature. Format: `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}/features/{feature}` `projects/{project}/locations/{location}/featureGroups/{feature_group}/features/{feature}` The last part feature is assigned by the client. The feature can be up to 64 characters long and can consist only of ASCII Latin letters A-Z and a-z, underscore(_), and ASCII digits 0-9 starting with a letter. The value will be unique given an entity type.", +"type": "string" +}, +"pointOfContact": { +"description": "Entity responsible for maintaining this feature. Can be comma separated list of email addresses or URIs.", +"type": "string" +}, +"updateTime": { +"description": "Output only. Only applicable for Vertex AI Feature Store (Legacy). Timestamp when this EntityType was most recently updated.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"valueType": { +"description": "Immutable. Only applicable for Vertex AI Feature Store (Legacy). Type of Feature value.", +"enum": [ +"VALUE_TYPE_UNSPECIFIED", +"BOOL", +"BOOL_ARRAY", +"DOUBLE", +"DOUBLE_ARRAY", +"INT64", +"INT64_ARRAY", +"STRING", +"STRING_ARRAY", +"BYTES", +"STRUCT" +], +"enumDescriptions": [ +"The value type is unspecified.", +"Used for Feature that is a boolean.", +"Used for Feature that is a list of boolean.", +"Used for Feature that is double.", +"Used for Feature that is a list of double.", +"Used for Feature that is INT64.", +"Used for Feature that is a list of INT64.", +"Used for Feature that is string.", +"Used for Feature that is a list of String.", +"Used for Feature that is bytes.", +"Used for Feature that is struct." +], +"type": "string" +}, +"versionColumnName": { +"description": "Only applicable for Vertex AI Feature Store. The name of the BigQuery Table/View column hosting data for this version. If no value is provided, will use feature_id.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1FeatureGroup": { +"description": "Vertex AI Feature Group.", +"id": "GoogleCloudAiplatformV1FeatureGroup", +"properties": { +"bigQuery": { +"$ref": "GoogleCloudAiplatformV1FeatureGroupBigQuery", +"description": "Indicates that features for this group come from BigQuery Table/View. By default treats the source as a sparse time series source. The BigQuery source table or view must have at least one entity ID column and a column named `feature_timestamp`." +}, +"createTime": { +"description": "Output only. Timestamp when this FeatureGroup was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"description": { +"description": "Optional. Description of the FeatureGroup.", +"type": "string" +}, +"etag": { +"description": "Optional. Used to perform consistent read-modify-write updates. If not set, a blind \"overwrite\" update happens.", +"type": "string" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. The labels with user-defined metadata to organize your FeatureGroup. Label keys and values can be no longer than 64 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. See https://goo.gl/xmQnxf for more information on and examples of labels. No more than 64 user labels can be associated with one FeatureGroup(System labels are excluded).\" System reserved label keys are prefixed with \"aiplatform.googleapis.com/\" and are immutable.", +"type": "object" +}, +"name": { +"description": "Identifier. Name of the FeatureGroup. Format: `projects/{project}/locations/{location}/featureGroups/{featureGroup}`", +"type": "string" +}, +"serviceAccountEmail": { +"description": "Output only. A Service Account unique to this FeatureGroup. The role bigquery.dataViewer should be granted to this service account to allow Vertex AI Feature Store to access source data while running jobs under this FeatureGroup.", +"readOnly": true, +"type": "string" +}, +"serviceAgentType": { +"description": "Optional. Service agent type used during jobs under a FeatureGroup. By default, the Vertex AI Service Agent is used. When using an IAM Policy to isolate this FeatureGroup within a project, a separate service account should be provisioned by setting this field to `SERVICE_AGENT_TYPE_FEATURE_GROUP`. This will generate a separate service account to access the BigQuery source table.", +"enum": [ +"SERVICE_AGENT_TYPE_UNSPECIFIED", +"SERVICE_AGENT_TYPE_PROJECT", +"SERVICE_AGENT_TYPE_FEATURE_GROUP" +], +"enumDescriptions": [ +"By default, the project-level Vertex AI Service Agent is enabled.", +"Specifies the project-level Vertex AI Service Agent (https://cloud.google.com/vertex-ai/docs/general/access-control#service-agents).", +"Enable a FeatureGroup service account to be created by Vertex AI and output in the field `service_account_email`. This service account will be used to read from the source BigQuery table during jobs under a FeatureGroup." +], +"type": "string" +}, +"updateTime": { +"description": "Output only. Timestamp when this FeatureGroup was last updated.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1FeatureGroupBigQuery": { +"description": "Input source type for BigQuery Tables and Views.", +"id": "GoogleCloudAiplatformV1FeatureGroupBigQuery", +"properties": { +"bigQuerySource": { +"$ref": "GoogleCloudAiplatformV1BigQuerySource", +"description": "Required. Immutable. The BigQuery source URI that points to either a BigQuery Table or View." +}, +"dense": { +"description": "Optional. If set, all feature values will be fetched from a single row per unique entityId including nulls. If not set, will collapse all rows for each unique entityId into a singe row with any non-null values if present, if no non-null values are present will sync null. ex: If source has schema `(entity_id, feature_timestamp, f0, f1)` and the following rows: `(e1, 2020-01-01T10:00:00.123Z, 10, 15)` `(e1, 2020-02-01T10:00:00.123Z, 20, null)` If dense is set, `(e1, 20, null)` is synced to online stores. If dense is not set, `(e1, 20, 15)` is synced to online stores.", +"type": "boolean" +}, +"entityIdColumns": { +"description": "Optional. Columns to construct entity_id / row keys. If not provided defaults to `entity_id`.", +"items": { +"type": "string" +}, +"type": "array" +}, +"staticDataSource": { +"description": "Optional. Set if the data source is not a time-series.", +"type": "boolean" +}, +"timeSeries": { +"$ref": "GoogleCloudAiplatformV1FeatureGroupBigQueryTimeSeries", +"description": "Optional. If the source is a time-series source, this can be set to control how downstream sources (ex: FeatureView ) will treat time-series sources. If not set, will treat the source as a time-series source with `feature_timestamp` as timestamp column and no scan boundary." +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1FeatureGroupBigQueryTimeSeries": { +"id": "GoogleCloudAiplatformV1FeatureGroupBigQueryTimeSeries", +"properties": { +"timestampColumn": { +"description": "Optional. Column hosting timestamp values for a time-series source. Will be used to determine the latest `feature_values` for each entity. Optional. If not provided, column named `feature_timestamp` of type `TIMESTAMP` will be used.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1FeatureMonitoringStatsAnomaly": { +"description": "A list of historical SnapshotAnalysis or ImportFeaturesAnalysis stats requested by user, sorted by FeatureStatsAnomaly.start_time descending.", +"id": "GoogleCloudAiplatformV1FeatureMonitoringStatsAnomaly", +"properties": { +"featureStatsAnomaly": { +"$ref": "GoogleCloudAiplatformV1FeatureStatsAnomaly", +"description": "Output only. The stats and anomalies generated at specific timestamp.", +"readOnly": true +}, +"objective": { +"description": "Output only. The objective for each stats.", +"enum": [ +"OBJECTIVE_UNSPECIFIED", +"IMPORT_FEATURE_ANALYSIS", +"SNAPSHOT_ANALYSIS" +], +"enumDescriptions": [ +"If it's OBJECTIVE_UNSPECIFIED, monitoring_stats will be empty.", +"Stats are generated by Import Feature Analysis.", +"Stats are generated by Snapshot Analysis." +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1FeatureNoiseSigma": { +"description": "Noise sigma by features. Noise sigma represents the standard deviation of the gaussian kernel that will be used to add noise to interpolated inputs prior to computing gradients.", +"id": "GoogleCloudAiplatformV1FeatureNoiseSigma", +"properties": { +"noiseSigma": { +"description": "Noise sigma per feature. No noise is added to features that are not set.", +"items": { +"$ref": "GoogleCloudAiplatformV1FeatureNoiseSigmaNoiseSigmaForFeature" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1FeatureNoiseSigmaNoiseSigmaForFeature": { +"description": "Noise sigma for a single feature.", +"id": "GoogleCloudAiplatformV1FeatureNoiseSigmaNoiseSigmaForFeature", +"properties": { +"name": { +"description": "The name of the input feature for which noise sigma is provided. The features are defined in explanation metadata inputs.", +"type": "string" +}, +"sigma": { +"description": "This represents the standard deviation of the Gaussian kernel that will be used to add noise to the feature prior to computing gradients. Similar to noise_sigma but represents the noise added to the current feature. Defaults to 0.1.", +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1FeatureOnlineStore": { +"description": "Vertex AI Feature Online Store provides a centralized repository for serving ML features and embedding indexes at low latency. The Feature Online Store is a top-level container.", +"id": "GoogleCloudAiplatformV1FeatureOnlineStore", +"properties": { +"bigtable": { +"$ref": "GoogleCloudAiplatformV1FeatureOnlineStoreBigtable", +"description": "Contains settings for the Cloud Bigtable instance that will be created to serve featureValues for all FeatureViews under this FeatureOnlineStore." +}, +"createTime": { +"description": "Output only. Timestamp when this FeatureOnlineStore was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"dedicatedServingEndpoint": { +"$ref": "GoogleCloudAiplatformV1FeatureOnlineStoreDedicatedServingEndpoint", +"description": "Optional. The dedicated serving endpoint for this FeatureOnlineStore, which is different from common Vertex service endpoint." +}, +"encryptionSpec": { +"$ref": "GoogleCloudAiplatformV1EncryptionSpec", +"description": "Optional. Customer-managed encryption key spec for data storage. If set, online store will be secured by this key." +}, +"etag": { +"description": "Optional. Used to perform consistent read-modify-write updates. If not set, a blind \"overwrite\" update happens.", +"type": "string" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. The labels with user-defined metadata to organize your FeatureOnlineStore. Label keys and values can be no longer than 64 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. See https://goo.gl/xmQnxf for more information on and examples of labels. No more than 64 user labels can be associated with one FeatureOnlineStore(System labels are excluded).\" System reserved label keys are prefixed with \"aiplatform.googleapis.com/\" and are immutable.", +"type": "object" +}, +"name": { +"description": "Identifier. Name of the FeatureOnlineStore. Format: `projects/{project}/locations/{location}/featureOnlineStores/{featureOnlineStore}`", +"type": "string" +}, +"optimized": { +"$ref": "GoogleCloudAiplatformV1FeatureOnlineStoreOptimized", +"description": "Contains settings for the Optimized store that will be created to serve featureValues for all FeatureViews under this FeatureOnlineStore. When choose Optimized storage type, need to set PrivateServiceConnectConfig.enable_private_service_connect to use private endpoint. Otherwise will use public endpoint by default." +}, +"satisfiesPzi": { +"description": "Output only. Reserved for future use.", +"readOnly": true, +"type": "boolean" +}, +"satisfiesPzs": { +"description": "Output only. Reserved for future use.", +"readOnly": true, +"type": "boolean" +}, +"state": { +"description": "Output only. State of the featureOnlineStore.", +"enum": [ +"STATE_UNSPECIFIED", +"STABLE", +"UPDATING" +], +"enumDescriptions": [ +"Default value. This value is unused.", +"State when the featureOnlineStore configuration is not being updated and the fields reflect the current configuration of the featureOnlineStore. The featureOnlineStore is usable in this state.", +"The state of the featureOnlineStore configuration when it is being updated. During an update, the fields reflect either the original configuration or the updated configuration of the featureOnlineStore. The featureOnlineStore is still usable in this state." +], +"readOnly": true, +"type": "string" +}, +"updateTime": { +"description": "Output only. Timestamp when this FeatureOnlineStore was last updated.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1FeatureOnlineStoreBigtable": { +"id": "GoogleCloudAiplatformV1FeatureOnlineStoreBigtable", +"properties": { +"autoScaling": { +"$ref": "GoogleCloudAiplatformV1FeatureOnlineStoreBigtableAutoScaling", +"description": "Required. Autoscaling config applied to Bigtable Instance." +}, +"bigtableMetadata": { +"$ref": "GoogleCloudAiplatformV1FeatureOnlineStoreBigtableBigtableMetadata", +"description": "Output only. Metadata of the Bigtable instance. Output only.", +"readOnly": true +}, +"enableDirectBigtableAccess": { +"description": "Optional. It true, enable direct access to the Bigtable instance.", +"type": "boolean" +}, +"zone": { +"description": "Optional. The zone where the underlying Bigtable cluster for the primary Bigtable instance will be provisioned. Only the zone must be provided. For example, only \"us-central1-a\" should be provided.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1FeatureOnlineStoreBigtableAutoScaling": { +"id": "GoogleCloudAiplatformV1FeatureOnlineStoreBigtableAutoScaling", +"properties": { +"cpuUtilizationTarget": { +"description": "Optional. A percentage of the cluster's CPU capacity. Can be from 10% to 80%. When a cluster's CPU utilization exceeds the target that you have set, Bigtable immediately adds nodes to the cluster. When CPU utilization is substantially lower than the target, Bigtable removes nodes. If not set will default to 50%.", +"format": "int32", +"type": "integer" +}, +"maxNodeCount": { +"description": "Required. The maximum number of nodes to scale up to. Must be greater than or equal to min_node_count, and less than or equal to 10 times of 'min_node_count'.", +"format": "int32", +"type": "integer" +}, +"minNodeCount": { +"description": "Required. The minimum number of nodes to scale down to. Must be greater than or equal to 1.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1FeatureOnlineStoreBigtableBigtableMetadata": { +"description": "Metadata of the Bigtable instance. This is used by direct read access to the Bigtable in tenant project.", +"id": "GoogleCloudAiplatformV1FeatureOnlineStoreBigtableBigtableMetadata", +"properties": { +"instanceId": { +"description": "The Cloud Bigtable instance id.", +"type": "string" +}, +"tableId": { +"description": "The Cloud Bigtable table id.", +"type": "string" +}, +"tenantProjectId": { +"description": "Tenant project ID.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1FeatureOnlineStoreDedicatedServingEndpoint": { +"description": "The dedicated serving endpoint for this FeatureOnlineStore. Only need to set when you choose Optimized storage type. Public endpoint is provisioned by default.", +"id": "GoogleCloudAiplatformV1FeatureOnlineStoreDedicatedServingEndpoint", +"properties": { +"privateServiceConnectConfig": { +"$ref": "GoogleCloudAiplatformV1PrivateServiceConnectConfig", +"description": "Optional. Private service connect config. The private service connection is available only for Optimized storage type, not for embedding management now. If PrivateServiceConnectConfig.enable_private_service_connect set to true, customers will use private service connection to send request. Otherwise, the connection will set to public endpoint." +}, +"publicEndpointDomainName": { +"description": "Output only. This field will be populated with the domain name to use for this FeatureOnlineStore", +"readOnly": true, +"type": "string" +}, +"serviceAttachment": { +"description": "Output only. The name of the service attachment resource. Populated if private service connect is enabled and after FeatureViewSync is created.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1FeatureOnlineStoreOptimized": { +"description": "Optimized storage type", +"id": "GoogleCloudAiplatformV1FeatureOnlineStoreOptimized", +"properties": {}, +"type": "object" +}, +"GoogleCloudAiplatformV1FeatureSelector": { +"description": "Selector for Features of an EntityType.", +"id": "GoogleCloudAiplatformV1FeatureSelector", +"properties": { +"idMatcher": { +"$ref": "GoogleCloudAiplatformV1IdMatcher", +"description": "Required. Matches Features based on ID." +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1FeatureStatsAnomaly": { +"description": "Stats and Anomaly generated at specific timestamp for specific Feature. The start_time and end_time are used to define the time range of the dataset that current stats belongs to, e.g. prediction traffic is bucketed into prediction datasets by time window. If the Dataset is not defined by time window, start_time = end_time. Timestamp of the stats and anomalies always refers to end_time. Raw stats and anomalies are stored in stats_uri or anomaly_uri in the tensorflow defined protos. Field data_stats contains almost identical information with the raw stats in Vertex AI defined proto, for UI to display.", +"id": "GoogleCloudAiplatformV1FeatureStatsAnomaly", +"properties": { +"anomalyDetectionThreshold": { +"description": "This is the threshold used when detecting anomalies. The threshold can be changed by user, so this one might be different from ThresholdConfig.value.", +"format": "double", +"type": "number" +}, +"anomalyUri": { +"description": "Path of the anomaly file for current feature values in Cloud Storage bucket. Format: gs:////anomalies. Example: gs://monitoring_bucket/feature_name/anomalies. Stats are stored as binary format with Protobuf message Anoamlies are stored as binary format with Protobuf message [tensorflow.metadata.v0.AnomalyInfo] (https://github.com/tensorflow/metadata/blob/master/tensorflow_metadata/proto/v0/anomalies.proto).", +"type": "string" +}, +"distributionDeviation": { +"description": "Deviation from the current stats to baseline stats. 1. For categorical feature, the distribution distance is calculated by L-inifinity norm. 2. For numerical feature, the distribution distance is calculated by Jensen\u2013Shannon divergence.", +"format": "double", +"type": "number" +}, +"endTime": { +"description": "The end timestamp of window where stats were generated. For objectives where time window doesn't make sense (e.g. Featurestore Snapshot Monitoring), end_time indicates the timestamp of the data used to generate stats (e.g. timestamp we take snapshots for feature values).", +"format": "google-datetime", +"type": "string" +}, +"score": { +"description": "Feature importance score, only populated when cross-feature monitoring is enabled. For now only used to represent feature attribution score within range [0, 1] for ModelDeploymentMonitoringObjectiveType.FEATURE_ATTRIBUTION_SKEW and ModelDeploymentMonitoringObjectiveType.FEATURE_ATTRIBUTION_DRIFT.", +"format": "double", +"type": "number" +}, +"startTime": { +"description": "The start timestamp of window where stats were generated. For objectives where time window doesn't make sense (e.g. Featurestore Snapshot Monitoring), start_time is only used to indicate the monitoring intervals, so it always equals to (end_time - monitoring_interval).", +"format": "google-datetime", +"type": "string" +}, +"statsUri": { +"description": "Path of the stats file for current feature values in Cloud Storage bucket. Format: gs:////stats. Example: gs://monitoring_bucket/feature_name/stats. Stats are stored as binary format with Protobuf message [tensorflow.metadata.v0.FeatureNameStatistics](https://github.com/tensorflow/metadata/blob/master/tensorflow_metadata/proto/v0/statistics.proto).", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1FeatureValue": { +"description": "Value for a feature.", +"id": "GoogleCloudAiplatformV1FeatureValue", +"properties": { +"boolArrayValue": { +"$ref": "GoogleCloudAiplatformV1BoolArray", +"description": "A list of bool type feature value." +}, +"boolValue": { +"description": "Bool type feature value.", +"type": "boolean" +}, +"bytesValue": { +"description": "Bytes feature value.", +"format": "byte", +"type": "string" +}, +"doubleArrayValue": { +"$ref": "GoogleCloudAiplatformV1DoubleArray", +"description": "A list of double type feature value." +}, +"doubleValue": { +"description": "Double type feature value.", +"format": "double", +"type": "number" +}, +"int64ArrayValue": { +"$ref": "GoogleCloudAiplatformV1Int64Array", +"description": "A list of int64 type feature value." +}, +"int64Value": { +"description": "Int64 feature value.", +"format": "int64", +"type": "string" +}, +"metadata": { +"$ref": "GoogleCloudAiplatformV1FeatureValueMetadata", +"description": "Metadata of feature value." +}, +"stringArrayValue": { +"$ref": "GoogleCloudAiplatformV1StringArray", +"description": "A list of string type feature value." +}, +"stringValue": { +"description": "String feature value.", +"type": "string" +}, +"structValue": { +"$ref": "GoogleCloudAiplatformV1StructValue", +"description": "A struct type feature value." +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1FeatureValueDestination": { +"description": "A destination location for Feature values and format.", +"id": "GoogleCloudAiplatformV1FeatureValueDestination", +"properties": { +"bigqueryDestination": { +"$ref": "GoogleCloudAiplatformV1BigQueryDestination", +"description": "Output in BigQuery format. BigQueryDestination.output_uri in FeatureValueDestination.bigquery_destination must refer to a table." +}, +"csvDestination": { +"$ref": "GoogleCloudAiplatformV1CsvDestination", +"description": "Output in CSV format. Array Feature value types are not allowed in CSV format." +}, +"tfrecordDestination": { +"$ref": "GoogleCloudAiplatformV1TFRecordDestination", +"description": "Output in TFRecord format. Below are the mapping from Feature value type in Featurestore to Feature value type in TFRecord: Value type in Featurestore | Value type in TFRecord DOUBLE, DOUBLE_ARRAY | FLOAT_LIST INT64, INT64_ARRAY | INT64_LIST STRING, STRING_ARRAY, BYTES | BYTES_LIST true -> byte_string(\"true\"), false -> byte_string(\"false\") BOOL, BOOL_ARRAY (true, false) | BYTES_LIST" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1FeatureValueList": { +"description": "Container for list of values.", +"id": "GoogleCloudAiplatformV1FeatureValueList", +"properties": { +"values": { +"description": "A list of feature values. All of them should be the same data type.", +"items": { +"$ref": "GoogleCloudAiplatformV1FeatureValue" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1FeatureValueMetadata": { +"description": "Metadata of feature value.", +"id": "GoogleCloudAiplatformV1FeatureValueMetadata", +"properties": { +"generateTime": { +"description": "Feature generation timestamp. Typically, it is provided by user at feature ingestion time. If not, feature store will use the system timestamp when the data is ingested into feature store. Legacy Feature Store: For streaming ingestion, the time, aligned by days, must be no older than five years (1825 days) and no later than one year (366 days) in the future.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1FeatureView": { +"description": "FeatureView is representation of values that the FeatureOnlineStore will serve based on its syncConfig.", +"id": "GoogleCloudAiplatformV1FeatureView", +"properties": { +"bigQuerySource": { +"$ref": "GoogleCloudAiplatformV1FeatureViewBigQuerySource", +"description": "Optional. Configures how data is supposed to be extracted from a BigQuery source to be loaded onto the FeatureOnlineStore." +}, +"bigtableMetadata": { +"$ref": "GoogleCloudAiplatformV1FeatureViewBigtableMetadata", +"description": "Output only. Metadata containing information about the Cloud Bigtable.", +"readOnly": true +}, +"createTime": { +"description": "Output only. Timestamp when this FeatureView was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"etag": { +"description": "Optional. Used to perform consistent read-modify-write updates. If not set, a blind \"overwrite\" update happens.", +"type": "string" +}, +"featureRegistrySource": { +"$ref": "GoogleCloudAiplatformV1FeatureViewFeatureRegistrySource", +"description": "Optional. Configures the features from a Feature Registry source that need to be loaded onto the FeatureOnlineStore." +}, +"indexConfig": { +"$ref": "GoogleCloudAiplatformV1FeatureViewIndexConfig", +"description": "Optional. Configuration for index preparation for vector search. It contains the required configurations to create an index from source data, so that approximate nearest neighbor (a.k.a ANN) algorithms search can be performed during online serving." +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. The labels with user-defined metadata to organize your FeatureViews. Label keys and values can be no longer than 64 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. See https://goo.gl/xmQnxf for more information on and examples of labels. No more than 64 user labels can be associated with one FeatureOnlineStore(System labels are excluded).\" System reserved label keys are prefixed with \"aiplatform.googleapis.com/\" and are immutable.", +"type": "object" +}, +"name": { +"description": "Identifier. Name of the FeatureView. Format: `projects/{project}/locations/{location}/featureOnlineStores/{feature_online_store}/featureViews/{feature_view}`", +"type": "string" +}, +"optimizedConfig": { +"$ref": "GoogleCloudAiplatformV1FeatureViewOptimizedConfig", +"description": "Optional. Configuration for FeatureView created under Optimized FeatureOnlineStore." +}, +"satisfiesPzi": { +"description": "Output only. Reserved for future use.", +"readOnly": true, +"type": "boolean" +}, +"satisfiesPzs": { +"description": "Output only. Reserved for future use.", +"readOnly": true, +"type": "boolean" +}, +"serviceAccountEmail": { +"description": "Output only. A Service Account unique to this FeatureView. The role bigquery.dataViewer should be granted to this service account to allow Vertex AI Feature Store to sync data to the online store.", +"readOnly": true, +"type": "string" +}, +"serviceAgentType": { +"description": "Optional. Service agent type used during data sync. By default, the Vertex AI Service Agent is used. When using an IAM Policy to isolate this FeatureView within a project, a separate service account should be provisioned by setting this field to `SERVICE_AGENT_TYPE_FEATURE_VIEW`. This will generate a separate service account to access the BigQuery source table.", +"enum": [ +"SERVICE_AGENT_TYPE_UNSPECIFIED", +"SERVICE_AGENT_TYPE_PROJECT", +"SERVICE_AGENT_TYPE_FEATURE_VIEW" +], +"enumDescriptions": [ +"By default, the project-level Vertex AI Service Agent is enabled.", +"Indicates the project-level Vertex AI Service Agent (https://cloud.google.com/vertex-ai/docs/general/access-control#service-agents) will be used during sync jobs.", +"Enable a FeatureView service account to be created by Vertex AI and output in the field `service_account_email`. This service account will be used to read from the source BigQuery table during sync." +], +"type": "string" +}, +"syncConfig": { +"$ref": "GoogleCloudAiplatformV1FeatureViewSyncConfig", +"description": "Configures when data is to be synced/updated for this FeatureView. At the end of the sync the latest featureValues for each entityId of this FeatureView are made ready for online serving." +}, +"updateTime": { +"description": "Output only. Timestamp when this FeatureView was last updated.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"vertexRagSource": { +"$ref": "GoogleCloudAiplatformV1FeatureViewVertexRagSource", +"description": "Optional. The Vertex RAG Source that the FeatureView is linked to." +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1FeatureViewBigQuerySource": { +"id": "GoogleCloudAiplatformV1FeatureViewBigQuerySource", +"properties": { +"entityIdColumns": { +"description": "Required. Columns to construct entity_id / row keys.", +"items": { +"type": "string" +}, +"type": "array" +}, +"uri": { +"description": "Required. The BigQuery view URI that will be materialized on each sync trigger based on FeatureView.SyncConfig.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1FeatureViewBigtableMetadata": { +"description": "Metadata for the Cloud Bigtable that supports directly interacting Bigtable instances.", +"id": "GoogleCloudAiplatformV1FeatureViewBigtableMetadata", +"properties": { +"readAppProfile": { +"description": "Output only. The Bigtable App Profile to use for reading from Bigtable.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1FeatureViewDataKey": { +"description": "Lookup key for a feature view.", +"id": "GoogleCloudAiplatformV1FeatureViewDataKey", +"properties": { +"compositeKey": { +"$ref": "GoogleCloudAiplatformV1FeatureViewDataKeyCompositeKey", +"description": "The actual Entity ID will be composed from this struct. This should match with the way ID is defined in the FeatureView spec." +}, +"key": { +"description": "String key to use for lookup.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1FeatureViewDataKeyCompositeKey": { +"description": "ID that is comprised from several parts (columns).", +"id": "GoogleCloudAiplatformV1FeatureViewDataKeyCompositeKey", +"properties": { +"parts": { +"description": "Parts to construct Entity ID. Should match with the same ID columns as defined in FeatureView in the same order.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1FeatureViewDirectWriteRequest": { +"description": "Request message for FeatureOnlineStoreService.FeatureViewDirectWrite.", +"id": "GoogleCloudAiplatformV1FeatureViewDirectWriteRequest", +"properties": { +"dataKeyAndFeatureValues": { +"description": "Required. The data keys and associated feature values.", +"items": { +"$ref": "GoogleCloudAiplatformV1FeatureViewDirectWriteRequestDataKeyAndFeatureValues" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1FeatureViewDirectWriteRequestDataKeyAndFeatureValues": { +"description": "A data key and associated feature values to write to the feature view.", +"id": "GoogleCloudAiplatformV1FeatureViewDirectWriteRequestDataKeyAndFeatureValues", +"properties": { +"dataKey": { +"$ref": "GoogleCloudAiplatformV1FeatureViewDataKey", +"description": "The data key." +}, +"features": { +"description": "List of features to write.", +"items": { +"$ref": "GoogleCloudAiplatformV1FeatureViewDirectWriteRequestDataKeyAndFeatureValuesFeature" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1FeatureViewDirectWriteRequestDataKeyAndFeatureValuesFeature": { +"description": "Feature name & value pair.", +"id": "GoogleCloudAiplatformV1FeatureViewDirectWriteRequestDataKeyAndFeatureValuesFeature", +"properties": { +"name": { +"description": "Feature short name.", +"type": "string" +}, +"value": { +"$ref": "GoogleCloudAiplatformV1FeatureValue", +"description": "Feature value. A user provided timestamp may be set in the `FeatureValue.metadata.generate_time` field." +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1FeatureViewDirectWriteResponse": { +"description": "Response message for FeatureOnlineStoreService.FeatureViewDirectWrite.", +"id": "GoogleCloudAiplatformV1FeatureViewDirectWriteResponse", +"properties": { +"status": { +"$ref": "GoogleRpcStatus", +"description": "Response status for the keys listed in FeatureViewDirectWriteResponse.write_responses. The error only applies to the listed data keys - the stream will remain open for further FeatureOnlineStoreService.FeatureViewDirectWriteRequest requests. Partial failures (e.g. if the first 10 keys of a request fail, but the rest succeed) from a single request may result in multiple responses - there will be one response for the successful request keys and one response for the failing request keys." +}, +"writeResponses": { +"description": "Details about write for each key. If status is not OK, WriteResponse.data_key will have the key with error, but WriteResponse.online_store_write_time will not be present.", +"items": { +"$ref": "GoogleCloudAiplatformV1FeatureViewDirectWriteResponseWriteResponse" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1FeatureViewDirectWriteResponseWriteResponse": { +"description": "Details about the write for each key.", +"id": "GoogleCloudAiplatformV1FeatureViewDirectWriteResponseWriteResponse", +"properties": { +"dataKey": { +"$ref": "GoogleCloudAiplatformV1FeatureViewDataKey", +"description": "What key is this write response associated with." +}, +"onlineStoreWriteTime": { +"description": "When the feature values were written to the online store. If FeatureViewDirectWriteResponse.status is not OK, this field is not populated.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1FeatureViewFeatureRegistrySource": { +"description": "A Feature Registry source for features that need to be synced to Online Store.", +"id": "GoogleCloudAiplatformV1FeatureViewFeatureRegistrySource", +"properties": { +"featureGroups": { +"description": "Required. List of features that need to be synced to Online Store.", +"items": { +"$ref": "GoogleCloudAiplatformV1FeatureViewFeatureRegistrySourceFeatureGroup" +}, +"type": "array" +}, +"projectNumber": { +"description": "Optional. The project number of the parent project of the Feature Groups.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1FeatureViewFeatureRegistrySourceFeatureGroup": { +"description": "Features belonging to a single feature group that will be synced to Online Store.", +"id": "GoogleCloudAiplatformV1FeatureViewFeatureRegistrySourceFeatureGroup", +"properties": { +"featureGroupId": { +"description": "Required. Identifier of the feature group.", +"type": "string" +}, +"featureIds": { +"description": "Required. Identifiers of features under the feature group.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1FeatureViewIndexConfig": { +"description": "Configuration for vector indexing.", +"id": "GoogleCloudAiplatformV1FeatureViewIndexConfig", +"properties": { +"bruteForceConfig": { +"$ref": "GoogleCloudAiplatformV1FeatureViewIndexConfigBruteForceConfig", +"description": "Optional. Configuration options for using brute force search, which simply implements the standard linear search in the database for each query. It is primarily meant for benchmarking and to generate the ground truth for approximate search." +}, +"crowdingColumn": { +"description": "Optional. Column of crowding. This column contains crowding attribute which is a constraint on a neighbor list produced by FeatureOnlineStoreService.SearchNearestEntities to diversify search results. If NearestNeighborQuery.per_crowding_attribute_neighbor_count is set to K in SearchNearestEntitiesRequest, it's guaranteed that no more than K entities of the same crowding attribute are returned in the response.", +"type": "string" +}, +"distanceMeasureType": { +"description": "Optional. The distance measure used in nearest neighbor search.", +"enum": [ +"DISTANCE_MEASURE_TYPE_UNSPECIFIED", +"SQUARED_L2_DISTANCE", +"COSINE_DISTANCE", +"DOT_PRODUCT_DISTANCE" +], +"enumDescriptions": [ +"Should not be set.", +"Euclidean (L_2) Distance.", +"Cosine Distance. Defined as 1 - cosine similarity. We strongly suggest using DOT_PRODUCT_DISTANCE + UNIT_L2_NORM instead of COSINE distance. Our algorithms have been more optimized for DOT_PRODUCT distance which, when combined with UNIT_L2_NORM, is mathematically equivalent to COSINE distance and results in the same ranking.", +"Dot Product Distance. Defined as a negative of the dot product." +], +"type": "string" +}, +"embeddingColumn": { +"description": "Optional. Column of embedding. This column contains the source data to create index for vector search. embedding_column must be set when using vector search.", +"type": "string" +}, +"embeddingDimension": { +"description": "Optional. The number of dimensions of the input embedding.", +"format": "int32", +"type": "integer" +}, +"filterColumns": { +"description": "Optional. Columns of features that're used to filter vector search results.", +"items": { +"type": "string" +}, +"type": "array" +}, +"treeAhConfig": { +"$ref": "GoogleCloudAiplatformV1FeatureViewIndexConfigTreeAHConfig", +"description": "Optional. Configuration options for the tree-AH algorithm (Shallow tree + Asymmetric Hashing). Please refer to this paper for more details: https://arxiv.org/abs/1908.10396" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1FeatureViewIndexConfigBruteForceConfig": { +"description": "Configuration options for using brute force search.", +"id": "GoogleCloudAiplatformV1FeatureViewIndexConfigBruteForceConfig", +"properties": {}, +"type": "object" +}, +"GoogleCloudAiplatformV1FeatureViewIndexConfigTreeAHConfig": { +"description": "Configuration options for the tree-AH algorithm.", +"id": "GoogleCloudAiplatformV1FeatureViewIndexConfigTreeAHConfig", +"properties": { +"leafNodeEmbeddingCount": { +"description": "Optional. Number of embeddings on each leaf node. The default value is 1000 if not set.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1FeatureViewOptimizedConfig": { +"description": "Configuration for FeatureViews created in Optimized FeatureOnlineStore.", +"id": "GoogleCloudAiplatformV1FeatureViewOptimizedConfig", +"properties": { +"automaticResources": { +"$ref": "GoogleCloudAiplatformV1AutomaticResources", +"description": "Optional. A description of resources that the FeatureView uses, which to large degree are decided by Vertex AI, and optionally allows only a modest additional configuration. If min_replica_count is not set, the default value is 2. If max_replica_count is not set, the default value is 6. The max allowed replica count is 1000." +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1FeatureViewSync": { +"description": "FeatureViewSync is a representation of sync operation which copies data from data source to Feature View in Online Store.", +"id": "GoogleCloudAiplatformV1FeatureViewSync", +"properties": { +"createTime": { +"description": "Output only. Time when this FeatureViewSync is created. Creation of a FeatureViewSync means that the job is pending / waiting for sufficient resources but may not have started the actual data transfer yet.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"finalStatus": { +"$ref": "GoogleRpcStatus", +"description": "Output only. Final status of the FeatureViewSync.", +"readOnly": true +}, +"name": { +"description": "Identifier. Name of the FeatureViewSync. Format: `projects/{project}/locations/{location}/featureOnlineStores/{feature_online_store}/featureViews/{feature_view}/featureViewSyncs/{feature_view_sync}`", +"type": "string" +}, +"runTime": { +"$ref": "GoogleTypeInterval", +"description": "Output only. Time when this FeatureViewSync is finished.", +"readOnly": true +}, +"satisfiesPzi": { +"description": "Output only. Reserved for future use.", +"readOnly": true, +"type": "boolean" +}, +"satisfiesPzs": { +"description": "Output only. Reserved for future use.", +"readOnly": true, +"type": "boolean" +}, +"syncSummary": { +"$ref": "GoogleCloudAiplatformV1FeatureViewSyncSyncSummary", +"description": "Output only. Summary of the sync job.", +"readOnly": true +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1FeatureViewSyncConfig": { +"description": "Configuration for Sync. Only one option is set.", +"id": "GoogleCloudAiplatformV1FeatureViewSyncConfig", +"properties": { +"continuous": { +"description": "Optional. If true, syncs the FeatureView in a continuous manner to Online Store.", +"type": "boolean" +}, +"cron": { +"description": "Cron schedule (https://en.wikipedia.org/wiki/Cron) to launch scheduled runs. To explicitly set a timezone to the cron tab, apply a prefix in the cron tab: \"CRON_TZ=${IANA_TIME_ZONE}\" or \"TZ=${IANA_TIME_ZONE}\". The ${IANA_TIME_ZONE} may only be a valid string from IANA time zone database. For example, \"CRON_TZ=America/New_York 1 * * * *\", or \"TZ=America/New_York 1 * * * *\".", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1FeatureViewSyncSyncSummary": { +"description": "Summary from the Sync job. For continuous syncs, the summary is updated periodically. For batch syncs, it gets updated on completion of the sync.", +"id": "GoogleCloudAiplatformV1FeatureViewSyncSyncSummary", +"properties": { +"rowSynced": { +"description": "Output only. Total number of rows synced.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"systemWatermarkTime": { +"description": "Lower bound of the system time watermark for the sync job. This is only set for continuously syncing feature views.", +"format": "google-datetime", +"type": "string" +}, +"totalSlot": { +"description": "Output only. BigQuery slot milliseconds consumed for the sync job.", +"format": "int64", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1FeatureViewVertexRagSource": { +"description": "A Vertex Rag source for features that need to be synced to Online Store.", +"id": "GoogleCloudAiplatformV1FeatureViewVertexRagSource", +"properties": { +"ragCorpusId": { +"description": "Optional. The RAG corpus id corresponding to this FeatureView.", +"format": "int64", +"type": "string" +}, +"uri": { +"description": "Required. The BigQuery view/table URI that will be materialized on each manual sync trigger. The table/view is expected to have the following columns and types at least: - `corpus_id` (STRING, NULLABLE/REQUIRED) - `file_id` (STRING, NULLABLE/REQUIRED) - `chunk_id` (STRING, NULLABLE/REQUIRED) - `chunk_data_type` (STRING, NULLABLE/REQUIRED) - `chunk_data` (STRING, NULLABLE/REQUIRED) - `embeddings` (FLOAT, REPEATED) - `file_original_uri` (STRING, NULLABLE/REQUIRED)", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1Featurestore": { +"description": "Vertex AI Feature Store provides a centralized repository for organizing, storing, and serving ML features. The Featurestore is a top-level container for your features and their values.", +"id": "GoogleCloudAiplatformV1Featurestore", +"properties": { +"createTime": { +"description": "Output only. Timestamp when this Featurestore was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"encryptionSpec": { +"$ref": "GoogleCloudAiplatformV1EncryptionSpec", +"description": "Optional. Customer-managed encryption key spec for data storage. If set, both of the online and offline data storage will be secured by this key." +}, +"etag": { +"description": "Optional. Used to perform consistent read-modify-write updates. If not set, a blind \"overwrite\" update happens.", +"type": "string" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. The labels with user-defined metadata to organize your Featurestore. Label keys and values can be no longer than 64 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. See https://goo.gl/xmQnxf for more information on and examples of labels. No more than 64 user labels can be associated with one Featurestore(System labels are excluded).\" System reserved label keys are prefixed with \"aiplatform.googleapis.com/\" and are immutable.", +"type": "object" +}, +"name": { +"description": "Output only. Name of the Featurestore. Format: `projects/{project}/locations/{location}/featurestores/{featurestore}`", +"readOnly": true, +"type": "string" +}, +"onlineServingConfig": { +"$ref": "GoogleCloudAiplatformV1FeaturestoreOnlineServingConfig", +"description": "Optional. Config for online storage resources. The field should not co-exist with the field of `OnlineStoreReplicationConfig`. If both of it and OnlineStoreReplicationConfig are unset, the feature store will not have an online store and cannot be used for online serving." +}, +"onlineStorageTtlDays": { +"description": "Optional. TTL in days for feature values that will be stored in online serving storage. The Feature Store online storage periodically removes obsolete feature values older than `online_storage_ttl_days` since the feature generation time. Note that `online_storage_ttl_days` should be less than or equal to `offline_storage_ttl_days` for each EntityType under a featurestore. If not set, default to 4000 days", +"format": "int32", +"type": "integer" +}, +"satisfiesPzi": { +"description": "Output only. Reserved for future use.", +"readOnly": true, +"type": "boolean" +}, +"satisfiesPzs": { +"description": "Output only. Reserved for future use.", +"readOnly": true, +"type": "boolean" +}, +"state": { +"description": "Output only. State of the featurestore.", +"enum": [ +"STATE_UNSPECIFIED", +"STABLE", +"UPDATING" +], +"enumDescriptions": [ +"Default value. This value is unused.", +"State when the featurestore configuration is not being updated and the fields reflect the current configuration of the featurestore. The featurestore is usable in this state.", +"The state of the featurestore configuration when it is being updated. During an update, the fields reflect either the original configuration or the updated configuration of the featurestore. For example, `online_serving_config.fixed_node_count` can take minutes to update. While the update is in progress, the featurestore is in the UPDATING state, and the value of `fixed_node_count` can be the original value or the updated value, depending on the progress of the operation. Until the update completes, the actual number of nodes can still be the original value of `fixed_node_count`. The featurestore is still usable in this state." +], +"readOnly": true, +"type": "string" +}, +"updateTime": { +"description": "Output only. Timestamp when this Featurestore was last updated.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1FeaturestoreMonitoringConfig": { +"description": "Configuration of how features in Featurestore are monitored.", +"id": "GoogleCloudAiplatformV1FeaturestoreMonitoringConfig", +"properties": { +"categoricalThresholdConfig": { +"$ref": "GoogleCloudAiplatformV1FeaturestoreMonitoringConfigThresholdConfig", +"description": "Threshold for categorical features of anomaly detection. This is shared by all types of Featurestore Monitoring for categorical features (i.e. Features with type (Feature.ValueType) BOOL or STRING)." +}, +"importFeaturesAnalysis": { +"$ref": "GoogleCloudAiplatformV1FeaturestoreMonitoringConfigImportFeaturesAnalysis", +"description": "The config for ImportFeatures Analysis Based Feature Monitoring." +}, +"numericalThresholdConfig": { +"$ref": "GoogleCloudAiplatformV1FeaturestoreMonitoringConfigThresholdConfig", +"description": "Threshold for numerical features of anomaly detection. This is shared by all objectives of Featurestore Monitoring for numerical features (i.e. Features with type (Feature.ValueType) DOUBLE or INT64)." +}, +"snapshotAnalysis": { +"$ref": "GoogleCloudAiplatformV1FeaturestoreMonitoringConfigSnapshotAnalysis", +"description": "The config for Snapshot Analysis Based Feature Monitoring." +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1FeaturestoreMonitoringConfigImportFeaturesAnalysis": { +"description": "Configuration of the Featurestore's ImportFeature Analysis Based Monitoring. This type of analysis generates statistics for values of each Feature imported by every ImportFeatureValues operation.", +"id": "GoogleCloudAiplatformV1FeaturestoreMonitoringConfigImportFeaturesAnalysis", +"properties": { +"anomalyDetectionBaseline": { +"description": "The baseline used to do anomaly detection for the statistics generated by import features analysis.", +"enum": [ +"BASELINE_UNSPECIFIED", +"LATEST_STATS", +"MOST_RECENT_SNAPSHOT_STATS", +"PREVIOUS_IMPORT_FEATURES_STATS" +], +"enumDescriptions": [ +"Should not be used.", +"Choose the later one statistics generated by either most recent snapshot analysis or previous import features analysis. If non of them exists, skip anomaly detection and only generate a statistics.", +"Use the statistics generated by the most recent snapshot analysis if exists.", +"Use the statistics generated by the previous import features analysis if exists." +], +"type": "string" +}, +"state": { +"description": "Whether to enable / disable / inherite default hebavior for import features analysis.", +"enum": [ +"STATE_UNSPECIFIED", +"DEFAULT", +"ENABLED", +"DISABLED" +], +"enumDescriptions": [ +"Should not be used.", +"The default behavior of whether to enable the monitoring. EntityType-level config: disabled. Feature-level config: inherited from the configuration of EntityType this Feature belongs to.", +"Explicitly enables import features analysis. EntityType-level config: by default enables import features analysis for all Features under it. Feature-level config: enables import features analysis regardless of the EntityType-level config.", +"Explicitly disables import features analysis. EntityType-level config: by default disables import features analysis for all Features under it. Feature-level config: disables import features analysis regardless of the EntityType-level config." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1FeaturestoreMonitoringConfigSnapshotAnalysis": { +"description": "Configuration of the Featurestore's Snapshot Analysis Based Monitoring. This type of analysis generates statistics for each Feature based on a snapshot of the latest feature value of each entities every monitoring_interval.", +"id": "GoogleCloudAiplatformV1FeaturestoreMonitoringConfigSnapshotAnalysis", +"properties": { +"disabled": { +"description": "The monitoring schedule for snapshot analysis. For EntityType-level config: unset / disabled = true indicates disabled by default for Features under it; otherwise by default enable snapshot analysis monitoring with monitoring_interval for Features under it. Feature-level config: disabled = true indicates disabled regardless of the EntityType-level config; unset monitoring_interval indicates going with EntityType-level config; otherwise run snapshot analysis monitoring with monitoring_interval regardless of the EntityType-level config. Explicitly Disable the snapshot analysis based monitoring.", +"type": "boolean" +}, +"monitoringIntervalDays": { +"description": "Configuration of the snapshot analysis based monitoring pipeline running interval. The value indicates number of days.", +"format": "int32", +"type": "integer" +}, +"stalenessDays": { +"description": "Customized export features time window for snapshot analysis. Unit is one day. Default value is 3 weeks. Minimum value is 1 day. Maximum value is 4000 days.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1FeaturestoreMonitoringConfigThresholdConfig": { +"description": "The config for Featurestore Monitoring threshold.", +"id": "GoogleCloudAiplatformV1FeaturestoreMonitoringConfigThresholdConfig", +"properties": { +"value": { +"description": "Specify a threshold value that can trigger the alert. 1. For categorical feature, the distribution distance is calculated by L-inifinity norm. 2. For numerical feature, the distribution distance is calculated by Jensen\u2013Shannon divergence. Each feature must have a non-zero threshold if they need to be monitored. Otherwise no alert will be triggered for that feature.", +"format": "double", +"type": "number" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1FeaturestoreOnlineServingConfig": { +"description": "OnlineServingConfig specifies the details for provisioning online serving resources.", +"id": "GoogleCloudAiplatformV1FeaturestoreOnlineServingConfig", +"properties": { +"fixedNodeCount": { +"description": "The number of nodes for the online store. The number of nodes doesn't scale automatically, but you can manually update the number of nodes. If set to 0, the featurestore will not have an online store and cannot be used for online serving.", +"format": "int32", +"type": "integer" +}, +"scaling": { +"$ref": "GoogleCloudAiplatformV1FeaturestoreOnlineServingConfigScaling", +"description": "Online serving scaling configuration. Only one of `fixed_node_count` and `scaling` can be set. Setting one will reset the other." +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1FeaturestoreOnlineServingConfigScaling": { +"description": "Online serving scaling configuration. If min_node_count and max_node_count are set to the same value, the cluster will be configured with the fixed number of node (no auto-scaling).", +"id": "GoogleCloudAiplatformV1FeaturestoreOnlineServingConfigScaling", +"properties": { +"cpuUtilizationTarget": { +"description": "Optional. The cpu utilization that the Autoscaler should be trying to achieve. This number is on a scale from 0 (no utilization) to 100 (total utilization), and is limited between 10 and 80. When a cluster's CPU utilization exceeds the target that you have set, Bigtable immediately adds nodes to the cluster. When CPU utilization is substantially lower than the target, Bigtable removes nodes. If not set or set to 0, default to 50.", +"format": "int32", +"type": "integer" +}, +"maxNodeCount": { +"description": "The maximum number of nodes to scale up to. Must be greater than min_node_count, and less than or equal to 10 times of 'min_node_count'.", +"format": "int32", +"type": "integer" +}, +"minNodeCount": { +"description": "Required. The minimum number of nodes to scale down to. Must be greater than or equal to 1.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1FetchFeatureValuesRequest": { +"description": "Request message for FeatureOnlineStoreService.FetchFeatureValues. All the features under the requested feature view will be returned.", +"id": "GoogleCloudAiplatformV1FetchFeatureValuesRequest", +"properties": { +"dataFormat": { +"description": "Optional. Response data format. If not set, FeatureViewDataFormat.KEY_VALUE will be used.", +"enum": [ +"FEATURE_VIEW_DATA_FORMAT_UNSPECIFIED", +"KEY_VALUE", +"PROTO_STRUCT" +], +"enumDescriptions": [ +"Not set. Will be treated as the KeyValue format.", +"Return response data in key-value format.", +"Return response data in proto Struct format." +], +"type": "string" +}, +"dataKey": { +"$ref": "GoogleCloudAiplatformV1FeatureViewDataKey", +"description": "Optional. The request key to fetch feature values for." +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1FetchFeatureValuesResponse": { +"description": "Response message for FeatureOnlineStoreService.FetchFeatureValues", +"id": "GoogleCloudAiplatformV1FetchFeatureValuesResponse", +"properties": { +"dataKey": { +"$ref": "GoogleCloudAiplatformV1FeatureViewDataKey", +"description": "The data key associated with this response. Will only be populated for FeatureOnlineStoreService.StreamingFetchFeatureValues RPCs." +}, +"keyValues": { +"$ref": "GoogleCloudAiplatformV1FetchFeatureValuesResponseFeatureNameValuePairList", +"description": "Feature values in KeyValue format." +}, +"protoStruct": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"description": "Feature values in proto Struct format.", +"type": "object" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1FetchFeatureValuesResponseFeatureNameValuePairList": { +"description": "Response structure in the format of key (feature name) and (feature) value pair.", +"id": "GoogleCloudAiplatformV1FetchFeatureValuesResponseFeatureNameValuePairList", +"properties": { +"features": { +"description": "List of feature names and values.", +"items": { +"$ref": "GoogleCloudAiplatformV1FetchFeatureValuesResponseFeatureNameValuePairListFeatureNameValuePair" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1FetchFeatureValuesResponseFeatureNameValuePairListFeatureNameValuePair": { +"description": "Feature name & value pair.", +"id": "GoogleCloudAiplatformV1FetchFeatureValuesResponseFeatureNameValuePairListFeatureNameValuePair", +"properties": { +"name": { +"description": "Feature short name.", +"type": "string" +}, +"value": { +"$ref": "GoogleCloudAiplatformV1FeatureValue", +"description": "Feature value." +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1FetchPredictOperationRequest": { +"description": "Request message for PredictionService.FetchPredictOperation.", +"id": "GoogleCloudAiplatformV1FetchPredictOperationRequest", +"properties": { +"operationName": { +"description": "Required. The server-assigned name for the operation.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1FileData": { +"description": "URI-based data. A FileData message contains a URI pointing to data of a specific media type. It is used to represent images, audio, and video stored in Google Cloud Storage.", +"id": "GoogleCloudAiplatformV1FileData", +"properties": { +"displayName": { +"description": "Optional. The display name of the file. Used to provide a label or filename to distinguish files. This field is only returned in `PromptMessage` for prompt management. It is used in the Gemini calls only when server side tools (`code_execution`, `google_search`, and `url_context`) are enabled.", +"type": "string" +}, +"fileUri": { +"description": "Required. The URI of the file in Google Cloud Storage.", +"type": "string" +}, +"mimeType": { +"description": "Required. The IANA standard MIME type of the source data.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1FileStatus": { +"description": "RagFile status.", +"id": "GoogleCloudAiplatformV1FileStatus", +"properties": { +"errorStatus": { +"description": "Output only. Only when the `state` field is ERROR.", +"readOnly": true, +"type": "string" +}, +"state": { +"description": "Output only. RagFile state.", +"enum": [ +"STATE_UNSPECIFIED", +"ACTIVE", +"ERROR" +], +"enumDescriptions": [ +"RagFile state is unspecified.", +"RagFile resource has been created and indexed successfully.", +"RagFile resource is in a problematic state. See `error_message` field for details." +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1FilterSplit": { +"description": "Assigns input data to training, validation, and test sets based on the given filters, data pieces not matched by any filter are ignored. Currently only supported for Datasets containing DataItems. If any of the filters in this message are to match nothing, then they can be set as '-' (the minus sign). Supported only for unstructured Datasets. ", +"id": "GoogleCloudAiplatformV1FilterSplit", +"properties": { +"testFilter": { +"description": "Required. A filter on DataItems of the Dataset. DataItems that match this filter are used to test the Model. A filter with same syntax as the one used in DatasetService.ListDataItems may be used. If a single DataItem is matched by more than one of the FilterSplit filters, then it is assigned to the first set that applies to it in the training, validation, test order.", +"type": "string" +}, +"trainingFilter": { +"description": "Required. A filter on DataItems of the Dataset. DataItems that match this filter are used to train the Model. A filter with same syntax as the one used in DatasetService.ListDataItems may be used. If a single DataItem is matched by more than one of the FilterSplit filters, then it is assigned to the first set that applies to it in the training, validation, test order.", +"type": "string" +}, +"validationFilter": { +"description": "Required. A filter on DataItems of the Dataset. DataItems that match this filter are used to validate the Model. A filter with same syntax as the one used in DatasetService.ListDataItems may be used. If a single DataItem is matched by more than one of the FilterSplit filters, then it is assigned to the first set that applies to it in the training, validation, test order.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1FindNeighborsRequest": { +"description": "The request message for MatchService.FindNeighbors.", +"id": "GoogleCloudAiplatformV1FindNeighborsRequest", +"properties": { +"deployedIndexId": { +"description": "The ID of the DeployedIndex that will serve the request. This request is sent to a specific IndexEndpoint, as per the IndexEndpoint.network. That IndexEndpoint also has IndexEndpoint.deployed_indexes, and each such index has a DeployedIndex.id field. The value of the field below must equal one of the DeployedIndex.id fields of the IndexEndpoint that is being called for this request.", +"type": "string" +}, +"queries": { +"description": "The list of queries.", +"items": { +"$ref": "GoogleCloudAiplatformV1FindNeighborsRequestQuery" +}, +"type": "array" +}, +"returnFullDatapoint": { +"description": "If set to true, the full datapoints (including all vector values and restricts) of the nearest neighbors are returned. Note that returning full datapoint will significantly increase the latency and cost of the query.", +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1FindNeighborsRequestQuery": { +"description": "A query to find a number of the nearest neighbors (most similar vectors) of a vector.", +"id": "GoogleCloudAiplatformV1FindNeighborsRequestQuery", +"properties": { +"approximateNeighborCount": { +"description": "The number of neighbors to find via approximate search before exact reordering is performed. If not set, the default value from scam config is used; if set, this value must be > 0.", +"format": "int32", +"type": "integer" +}, +"datapoint": { +"$ref": "GoogleCloudAiplatformV1IndexDatapoint", +"description": "Required. The datapoint/vector whose nearest neighbors should be searched for." +}, +"fractionLeafNodesToSearchOverride": { +"description": "The fraction of the number of leaves to search, set at query time allows user to tune search performance. This value increase result in both search accuracy and latency increase. The value should be between 0.0 and 1.0. If not set or set to 0.0, query uses the default value specified in NearestNeighborSearchConfig.TreeAHConfig.fraction_leaf_nodes_to_search.", +"format": "double", +"type": "number" +}, +"neighborCount": { +"description": "The number of nearest neighbors to be retrieved from database for each query. If not set, will use the default from the service configuration (https://cloud.google.com/vertex-ai/docs/matching-engine/configuring-indexes#nearest-neighbor-search-config).", +"format": "int32", +"type": "integer" +}, +"perCrowdingAttributeNeighborCount": { +"description": "Crowding is a constraint on a neighbor list produced by nearest neighbor search requiring that no more than some value k' of the k neighbors returned have the same value of crowding_attribute. It's used for improving result diversity. This field is the maximum number of matches with the same crowding tag.", +"format": "int32", +"type": "integer" +}, +"rrf": { +"$ref": "GoogleCloudAiplatformV1FindNeighborsRequestQueryRRF", +"description": "Optional. Represents RRF algorithm that combines search results." +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1FindNeighborsRequestQueryRRF": { +"description": "Parameters for RRF algorithm that combines search results.", +"id": "GoogleCloudAiplatformV1FindNeighborsRequestQueryRRF", +"properties": { +"alpha": { +"description": "Required. Users can provide an alpha value to give more weight to dense vs sparse results. For example, if the alpha is 0, we only return sparse and if the alpha is 1, we only return dense.", +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1FindNeighborsResponse": { +"description": "The response message for MatchService.FindNeighbors.", +"id": "GoogleCloudAiplatformV1FindNeighborsResponse", +"properties": { +"nearestNeighbors": { +"description": "The nearest neighbors of the query datapoints.", +"items": { +"$ref": "GoogleCloudAiplatformV1FindNeighborsResponseNearestNeighbors" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1FindNeighborsResponseNearestNeighbors": { +"description": "Nearest neighbors for one query.", +"id": "GoogleCloudAiplatformV1FindNeighborsResponseNearestNeighbors", +"properties": { +"id": { +"description": "The ID of the query datapoint.", +"type": "string" +}, +"neighbors": { +"description": "All its neighbors.", +"items": { +"$ref": "GoogleCloudAiplatformV1FindNeighborsResponseNeighbor" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1FindNeighborsResponseNeighbor": { +"description": "A neighbor of the query vector.", +"id": "GoogleCloudAiplatformV1FindNeighborsResponseNeighbor", +"properties": { +"datapoint": { +"$ref": "GoogleCloudAiplatformV1IndexDatapoint", +"description": "The datapoint of the neighbor. Note that full datapoints are returned only when \"return_full_datapoint\" is set to true. Otherwise, only the \"datapoint_id\" and \"crowding_tag\" fields are populated." +}, +"distance": { +"description": "The distance between the neighbor and the dense embedding query.", +"format": "double", +"type": "number" +}, +"sparseDistance": { +"description": "The distance between the neighbor and the query sparse_embedding.", +"format": "double", +"type": "number" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1FluencyInput": { +"description": "Input for fluency metric.", +"id": "GoogleCloudAiplatformV1FluencyInput", +"properties": { +"instance": { +"$ref": "GoogleCloudAiplatformV1FluencyInstance", +"description": "Required. Fluency instance." +}, +"metricSpec": { +"$ref": "GoogleCloudAiplatformV1FluencySpec", +"description": "Required. Spec for fluency score metric." +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1FluencyInstance": { +"description": "Spec for fluency instance.", +"id": "GoogleCloudAiplatformV1FluencyInstance", +"properties": { +"prediction": { +"description": "Required. Output of the evaluated model.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1FluencyResult": { +"description": "Spec for fluency result.", +"id": "GoogleCloudAiplatformV1FluencyResult", +"properties": { +"confidence": { +"description": "Output only. Confidence for fluency score.", +"format": "float", +"readOnly": true, +"type": "number" +}, +"explanation": { +"description": "Output only. Explanation for fluency score.", +"readOnly": true, +"type": "string" +}, +"score": { +"description": "Output only. Fluency score.", +"format": "float", +"readOnly": true, +"type": "number" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1FluencySpec": { +"description": "Spec for fluency score metric.", +"id": "GoogleCloudAiplatformV1FluencySpec", +"properties": { +"version": { +"description": "Optional. Which version to use for evaluation.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1FractionSplit": { +"description": "Assigns the input data to training, validation, and test sets as per the given fractions. Any of `training_fraction`, `validation_fraction` and `test_fraction` may optionally be provided, they must sum to up to 1. If the provided ones sum to less than 1, the remainder is assigned to sets as decided by Vertex AI. If none of the fractions are set, by default roughly 80% of data is used for training, 10% for validation, and 10% for test.", +"id": "GoogleCloudAiplatformV1FractionSplit", +"properties": { +"testFraction": { +"description": "The fraction of the input data that is to be used to evaluate the Model.", +"format": "double", +"type": "number" +}, +"trainingFraction": { +"description": "The fraction of the input data that is to be used to train the Model.", +"format": "double", +"type": "number" +}, +"validationFraction": { +"description": "The fraction of the input data that is to be used to validate the Model.", +"format": "double", +"type": "number" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1FulfillmentInput": { +"description": "Input for fulfillment metric.", +"id": "GoogleCloudAiplatformV1FulfillmentInput", +"properties": { +"instance": { +"$ref": "GoogleCloudAiplatformV1FulfillmentInstance", +"description": "Required. Fulfillment instance." +}, +"metricSpec": { +"$ref": "GoogleCloudAiplatformV1FulfillmentSpec", +"description": "Required. Spec for fulfillment score metric." +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1FulfillmentInstance": { +"description": "Spec for fulfillment instance.", +"id": "GoogleCloudAiplatformV1FulfillmentInstance", +"properties": { +"instruction": { +"description": "Required. Inference instruction prompt to compare prediction with.", +"type": "string" +}, +"prediction": { +"description": "Required. Output of the evaluated model.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1FulfillmentResult": { +"description": "Spec for fulfillment result.", +"id": "GoogleCloudAiplatformV1FulfillmentResult", +"properties": { +"confidence": { +"description": "Output only. Confidence for fulfillment score.", +"format": "float", +"readOnly": true, +"type": "number" +}, +"explanation": { +"description": "Output only. Explanation for fulfillment score.", +"readOnly": true, +"type": "string" +}, +"score": { +"description": "Output only. Fulfillment score.", +"format": "float", +"readOnly": true, +"type": "number" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1FulfillmentSpec": { +"description": "Spec for fulfillment metric.", +"id": "GoogleCloudAiplatformV1FulfillmentSpec", +"properties": { +"version": { +"description": "Optional. Which version to use for evaluation.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1FunctionCall": { +"description": "A predicted [FunctionCall] returned from the model that contains a string representing the [FunctionDeclaration.name] and a structured JSON object containing the parameters and their values.", +"id": "GoogleCloudAiplatformV1FunctionCall", +"properties": { +"args": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"description": "Optional. The function parameters and values in JSON object format. See [FunctionDeclaration.parameters] for parameter details.", +"type": "object" +}, +"name": { +"description": "Optional. The name of the function to call. Matches [FunctionDeclaration.name].", +"type": "string" +}, +"partialArgs": { +"description": "Optional. The partial argument value of the function call. If provided, represents the arguments/fields that are streamed incrementally.", +"items": { +"$ref": "GoogleCloudAiplatformV1PartialArg" +}, +"type": "array" +}, +"willContinue": { +"description": "Optional. Whether this is the last part of the FunctionCall. If true, another partial message for the current FunctionCall is expected to follow.", +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1FunctionCallingConfig": { +"description": "Function calling config.", +"id": "GoogleCloudAiplatformV1FunctionCallingConfig", +"properties": { +"allowedFunctionNames": { +"description": "Optional. Function names to call. Only set when the Mode is ANY. Function names should match [FunctionDeclaration.name]. With mode set to ANY, model will predict a function call from the set of function names provided.", +"items": { +"type": "string" +}, +"type": "array" +}, +"mode": { +"description": "Optional. Function calling mode.", +"enum": [ +"MODE_UNSPECIFIED", +"AUTO", +"ANY", +"NONE" +], +"enumDescriptions": [ +"Unspecified function calling mode. This value should not be used.", +"Default model behavior, model decides to predict either function calls or natural language response.", +"Model is constrained to always predicting function calls only. If \"allowed_function_names\" are set, the predicted function calls will be limited to any one of \"allowed_function_names\", else the predicted function calls will be any one of the provided \"function_declarations\".", +"Model will not predict any function calls. Model behavior is same as when not passing any function declarations." +], +"type": "string" +}, +"streamFunctionCallArguments": { +"description": "Optional. When set to true, arguments of a single function call will be streamed out in multiple parts/contents/responses. Partial parameter results will be returned in the [FunctionCall.partial_args] field.", +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1FunctionDeclaration": { +"description": "Structured representation of a function declaration as defined by the [OpenAPI 3.0 specification](https://spec.openapis.org/oas/v3.0.3). Included in this declaration are the function name, description, parameters and response type. This FunctionDeclaration is a representation of a block of code that can be used as a `Tool` by the model and executed by the client.", +"id": "GoogleCloudAiplatformV1FunctionDeclaration", +"properties": { +"description": { +"description": "Optional. Description and purpose of the function. Model uses it to decide how and whether to call the function.", +"type": "string" +}, +"name": { +"description": "Required. The name of the function to call. Must start with a letter or an underscore. Must be a-z, A-Z, 0-9, or contain underscores, dots, colons and dashes, with a maximum length of 64.", +"type": "string" +}, +"parameters": { +"$ref": "GoogleCloudAiplatformV1Schema", +"description": "Optional. Describes the parameters to this function in JSON Schema Object format. Reflects the Open API 3.03 Parameter Object. string Key: the name of the parameter. Parameter names are case sensitive. Schema Value: the Schema defining the type used for the parameter. For function with no parameters, this can be left unset. Parameter names must start with a letter or an underscore and must only contain chars a-z, A-Z, 0-9, or underscores with a maximum length of 64. Example with 1 required and 1 optional parameter: type: OBJECT properties: param1: type: STRING param2: type: INTEGER required: - param1" +}, +"parametersJsonSchema": { +"description": "Optional. Describes the parameters to the function in JSON Schema format. The schema must describe an object where the properties are the parameters to the function. For example: ``` { \"type\": \"object\", \"properties\": { \"name\": { \"type\": \"string\" }, \"age\": { \"type\": \"integer\" } }, \"additionalProperties\": false, \"required\": [\"name\", \"age\"], \"propertyOrdering\": [\"name\", \"age\"] } ``` This field is mutually exclusive with `parameters`.", +"type": "any" +}, +"response": { +"$ref": "GoogleCloudAiplatformV1Schema", +"description": "Optional. Describes the output from this function in JSON Schema format. Reflects the Open API 3.03 Response Object. The Schema defines the type used for the response value of the function." +}, +"responseJsonSchema": { +"description": "Optional. Describes the output from this function in JSON Schema format. The value specified by the schema is the response value of the function. This field is mutually exclusive with `response`.", +"type": "any" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1FunctionResponse": { +"description": "The result output from a [FunctionCall] that contains a string representing the [FunctionDeclaration.name] and a structured JSON object containing any output from the function is used as context to the model. This should contain the result of a [FunctionCall] made based on model prediction.", +"id": "GoogleCloudAiplatformV1FunctionResponse", +"properties": { +"name": { +"description": "Required. The name of the function to call. Matches [FunctionDeclaration.name] and [FunctionCall.name].", +"type": "string" +}, +"parts": { +"description": "Optional. Ordered `Parts` that constitute a function response. Parts may have different IANA MIME types.", +"items": { +"$ref": "GoogleCloudAiplatformV1FunctionResponsePart" +}, +"type": "array" +}, +"response": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"description": "Required. The function response in JSON object format. Use \"output\" key to specify function output and \"error\" key to specify error details (if any). If \"output\" and \"error\" keys are not specified, then whole \"response\" is treated as function output.", +"type": "object" +}, +"scheduling": { +"description": "Optional. Specifies how the response should be scheduled in the conversation. Only applicable to NON_BLOCKING function calls, is ignored otherwise. Defaults to WHEN_IDLE.", +"enum": [ +"SCHEDULING_UNSPECIFIED", +"SILENT", +"WHEN_IDLE", +"INTERRUPT" +], +"enumDescriptions": [ +"This value is unused.", +"Only add the result to the conversation context, do not interrupt or trigger generation.", +"Add the result to the conversation context, and prompt to generate output without interrupting ongoing generation.", +"Add the result to the conversation context, interrupt ongoing generation and prompt to generate output." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1FunctionResponseBlob": { +"description": "Raw media bytes for function response. Text should not be sent as raw bytes, use the 'text' field.", +"id": "GoogleCloudAiplatformV1FunctionResponseBlob", +"properties": { +"data": { +"description": "Required. Raw bytes.", +"format": "byte", +"type": "string" +}, +"displayName": { +"description": "Optional. Display name of the blob. Used to provide a label or filename to distinguish blobs. This field is only returned in PromptMessage for prompt management. It is currently used in the Gemini GenerateContent calls only when server side tools (code_execution, google_search, and url_context) are enabled.", +"type": "string" +}, +"mimeType": { +"description": "Required. The IANA standard MIME type of the source data.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1FunctionResponseFileData": { +"description": "URI based data for function response.", +"id": "GoogleCloudAiplatformV1FunctionResponseFileData", +"properties": { +"displayName": { +"description": "Optional. Display name of the file data. Used to provide a label or filename to distinguish file datas. This field is only returned in PromptMessage for prompt management. It is currently used in the Gemini GenerateContent calls only when server side tools (code_execution, google_search, and url_context) are enabled.", +"type": "string" +}, +"fileUri": { +"description": "Required. URI.", +"type": "string" +}, +"mimeType": { +"description": "Required. The IANA standard MIME type of the source data.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1FunctionResponsePart": { +"description": "A datatype containing media that is part of a `FunctionResponse` message. A `FunctionResponsePart` consists of data which has an associated datatype. A `FunctionResponsePart` can only contain one of the accepted types in `FunctionResponsePart.data`. A `FunctionResponsePart` must have a fixed IANA MIME type identifying the type and subtype of the media if the `inline_data` field is filled with raw bytes.", +"id": "GoogleCloudAiplatformV1FunctionResponsePart", +"properties": { +"fileData": { +"$ref": "GoogleCloudAiplatformV1FunctionResponseFileData", +"description": "URI based data." +}, +"inlineData": { +"$ref": "GoogleCloudAiplatformV1FunctionResponseBlob", +"description": "Inline media bytes." +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1GcsDestination": { +"description": "The Google Cloud Storage location where the output is to be written to.", +"id": "GoogleCloudAiplatformV1GcsDestination", +"properties": { +"outputUriPrefix": { +"description": "Required. Google Cloud Storage URI to output directory. If the uri doesn't end with '/', a '/' will be automatically appended. The directory is created if it doesn't exist.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1GcsSource": { +"description": "The Google Cloud Storage location for the input content.", +"id": "GoogleCloudAiplatformV1GcsSource", +"properties": { +"uris": { +"description": "Required. Google Cloud Storage URI(-s) to the input file(s). May contain wildcards. For more information on wildcards, see https://cloud.google.com/storage/docs/wildcards.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1GdcConfig": { +"description": "Google Distributed Cloud (GDC) config.", +"id": "GoogleCloudAiplatformV1GdcConfig", +"properties": { +"zone": { +"description": "GDC zone. A cluster will be designated for the Vertex AI workload in this zone.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1GeminiPreferenceExample": { +"description": "Input example for preference optimization.", +"id": "GoogleCloudAiplatformV1GeminiPreferenceExample", +"properties": { +"completions": { +"description": "List of completions for a given prompt.", +"items": { +"$ref": "GoogleCloudAiplatformV1GeminiPreferenceExampleCompletion" +}, +"type": "array" +}, +"contents": { +"description": "Multi-turn contents that represents the Prompt.", +"items": { +"$ref": "GoogleCloudAiplatformV1Content" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1GeminiPreferenceExampleCompletion": { +"description": "Completion and its preference score.", +"id": "GoogleCloudAiplatformV1GeminiPreferenceExampleCompletion", +"properties": { +"completion": { +"$ref": "GoogleCloudAiplatformV1Content", +"description": "Single turn completion for the given prompt." +}, +"score": { +"description": "The score for the given completion.", +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1GenAiAdvancedFeaturesConfig": { +"description": "Configuration for GenAiAdvancedFeatures.", +"id": "GoogleCloudAiplatformV1GenAiAdvancedFeaturesConfig", +"properties": { +"ragConfig": { +"$ref": "GoogleCloudAiplatformV1GenAiAdvancedFeaturesConfigRagConfig", +"description": "Configuration for Retrieval Augmented Generation feature." +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1GenAiAdvancedFeaturesConfigRagConfig": { +"description": "Configuration for Retrieval Augmented Generation feature.", +"id": "GoogleCloudAiplatformV1GenAiAdvancedFeaturesConfigRagConfig", +"properties": { +"enableRag": { +"description": "If true, enable Retrieval Augmented Generation in ChatCompletion request. Once enabled, the endpoint will be identified as GenAI endpoint and Arthedain router will be used.", +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1GenerateContentRequest": { +"description": "Request message for [PredictionService.GenerateContent].", +"id": "GoogleCloudAiplatformV1GenerateContentRequest", +"properties": { +"cachedContent": { +"description": "Optional. The name of the cached content used as context to serve the prediction. Note: only used in explicit caching, where users can have control over caching (e.g. what content to cache) and enjoy guaranteed cost savings. Format: `projects/{project}/locations/{location}/cachedContents/{cachedContent}`", +"type": "string" +}, +"contents": { +"description": "Required. The content of the current conversation with the model. For single-turn queries, this is a single instance. For multi-turn queries, this is a repeated field that contains conversation history + latest request.", +"items": { +"$ref": "GoogleCloudAiplatformV1Content" +}, +"type": "array" +}, +"generationConfig": { +"$ref": "GoogleCloudAiplatformV1GenerationConfig", +"description": "Optional. Generation config." +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. The labels with user-defined metadata for the request. It is used for billing and reporting only. Label keys and values can be no longer than 63 characters (Unicode codepoints) and can only contain lowercase letters, numeric characters, underscores, and dashes. International characters are allowed. Label values are optional. Label keys must start with a letter.", +"type": "object" +}, +"modelArmorConfig": { +"$ref": "GoogleCloudAiplatformV1ModelArmorConfig", +"description": "Optional. Settings for prompt and response sanitization using the Model Armor service. If supplied, safety_settings must not be supplied." +}, +"safetySettings": { +"description": "Optional. Per request settings for blocking unsafe content. Enforced on GenerateContentResponse.candidates.", +"items": { +"$ref": "GoogleCloudAiplatformV1SafetySetting" +}, +"type": "array" +}, +"systemInstruction": { +"$ref": "GoogleCloudAiplatformV1Content", +"description": "Optional. The user provided system instructions for the model. Note: only text should be used in parts and content in each part will be in a separate paragraph." +}, +"toolConfig": { +"$ref": "GoogleCloudAiplatformV1ToolConfig", +"description": "Optional. Tool config. This config is shared for all tools provided in the request." +}, +"tools": { +"description": "Optional. A list of `Tools` the model may use to generate the next response. A `Tool` is a piece of code that enables the system to interact with external systems to perform an action, or set of actions, outside of knowledge and scope of the model.", +"items": { +"$ref": "GoogleCloudAiplatformV1Tool" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1GenerateContentResponse": { +"description": "Response message for [PredictionService.GenerateContent].", +"id": "GoogleCloudAiplatformV1GenerateContentResponse", +"properties": { +"candidates": { +"description": "Output only. Generated candidates.", +"items": { +"$ref": "GoogleCloudAiplatformV1Candidate" +}, +"readOnly": true, +"type": "array" +}, +"createTime": { +"description": "Output only. Timestamp when the request is made to the server.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"modelVersion": { +"description": "Output only. The model version used to generate the response.", +"readOnly": true, +"type": "string" +}, +"promptFeedback": { +"$ref": "GoogleCloudAiplatformV1GenerateContentResponsePromptFeedback", +"description": "Output only. Content filter results for a prompt sent in the request. Note: Sent only in the first stream chunk. Only happens when no candidates were generated due to content violations.", +"readOnly": true +}, +"responseId": { +"description": "Output only. response_id is used to identify each response. It is the encoding of the event_id.", +"readOnly": true, +"type": "string" +}, +"usageMetadata": { +"$ref": "GoogleCloudAiplatformV1GenerateContentResponseUsageMetadata", +"description": "Usage metadata about the response(s)." +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1GenerateContentResponsePromptFeedback": { +"description": "Content filter results for a prompt sent in the request. Note: This is sent only in the first stream chunk and only if no candidates were generated due to content violations.", +"id": "GoogleCloudAiplatformV1GenerateContentResponsePromptFeedback", +"properties": { +"blockReason": { +"description": "Output only. The reason why the prompt was blocked.", +"enum": [ +"BLOCKED_REASON_UNSPECIFIED", +"SAFETY", +"OTHER", +"BLOCKLIST", +"PROHIBITED_CONTENT", +"MODEL_ARMOR", +"IMAGE_SAFETY", +"JAILBREAK" +], +"enumDescriptions": [ +"The blocked reason is unspecified.", +"The prompt was blocked for safety reasons.", +"The prompt was blocked for other reasons. For example, it may be due to the prompt's language, or because it contains other harmful content.", +"The prompt was blocked because it contains a term from the terminology blocklist.", +"The prompt was blocked because it contains prohibited content.", +"The prompt was blocked by Model Armor.", +"The prompt was blocked because it contains content that is unsafe for image generation.", +"The prompt was blocked as a jailbreak attempt." +], +"readOnly": true, +"type": "string" +}, +"blockReasonMessage": { +"description": "Output only. A readable message that explains the reason why the prompt was blocked.", +"readOnly": true, +"type": "string" +}, +"safetyRatings": { +"description": "Output only. A list of safety ratings for the prompt. There is one rating per category.", +"items": { +"$ref": "GoogleCloudAiplatformV1SafetyRating" +}, +"readOnly": true, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1GenerateContentResponseUsageMetadata": { +"description": "Usage metadata about the content generation request and response. This message provides a detailed breakdown of token usage and other relevant metrics.", +"id": "GoogleCloudAiplatformV1GenerateContentResponseUsageMetadata", +"properties": { +"cacheTokensDetails": { +"description": "Output only. A detailed breakdown of the token count for each modality in the cached content.", +"items": { +"$ref": "GoogleCloudAiplatformV1ModalityTokenCount" +}, +"readOnly": true, +"type": "array" +}, +"cachedContentTokenCount": { +"description": "Output only. The number of tokens in the cached content that was used for this request.", +"format": "int32", +"readOnly": true, +"type": "integer" +}, +"candidatesTokenCount": { +"description": "The total number of tokens in the generated candidates.", +"format": "int32", +"type": "integer" +}, +"candidatesTokensDetails": { +"description": "Output only. A detailed breakdown of the token count for each modality in the generated candidates.", +"items": { +"$ref": "GoogleCloudAiplatformV1ModalityTokenCount" +}, +"readOnly": true, +"type": "array" +}, +"promptTokenCount": { +"description": "The total number of tokens in the prompt. This includes any text, images, or other media provided in the request. When `cached_content` is set, this also includes the number of tokens in the cached content.", +"format": "int32", +"type": "integer" +}, +"promptTokensDetails": { +"description": "Output only. A detailed breakdown of the token count for each modality in the prompt.", +"items": { +"$ref": "GoogleCloudAiplatformV1ModalityTokenCount" +}, +"readOnly": true, +"type": "array" +}, +"thoughtsTokenCount": { +"description": "Output only. The number of tokens that were part of the model's generated \"thoughts\" output, if applicable.", +"format": "int32", +"readOnly": true, +"type": "integer" +}, +"toolUsePromptTokenCount": { +"description": "Output only. The number of tokens in the results from tool executions, which are provided back to the model as input, if applicable.", +"format": "int32", +"readOnly": true, +"type": "integer" +}, +"toolUsePromptTokensDetails": { +"description": "Output only. A detailed breakdown by modality of the token counts from the results of tool executions, which are provided back to the model as input.", +"items": { +"$ref": "GoogleCloudAiplatformV1ModalityTokenCount" +}, +"readOnly": true, +"type": "array" +}, +"totalTokenCount": { +"description": "The total number of tokens for the entire request. This is the sum of `prompt_token_count`, `candidates_token_count`, `tool_use_prompt_token_count`, and `thoughts_token_count`.", +"format": "int32", +"type": "integer" +}, +"trafficType": { +"description": "Output only. The traffic type for this request.", +"enum": [ +"TRAFFIC_TYPE_UNSPECIFIED", +"ON_DEMAND", +"ON_DEMAND_PRIORITY", +"ON_DEMAND_FLEX", +"PROVISIONED_THROUGHPUT" +], +"enumDescriptions": [ +"Unspecified request traffic type.", +"The request was processed using Pay-As-You-Go quota.", +"Type for Priority Pay-As-You-Go traffic.", +"Type for Flex traffic.", +"Type for Provisioned Throughput traffic." +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1GenerateFetchAccessTokenRequest": { +"description": "Request message for FeatureOnlineStoreService.GenerateFetchAccessToken.", +"id": "GoogleCloudAiplatformV1GenerateFetchAccessTokenRequest", +"properties": {}, +"type": "object" +}, +"GoogleCloudAiplatformV1GenerateFetchAccessTokenResponse": { +"description": "Response message for FeatureOnlineStoreService.GenerateFetchAccessToken.", +"id": "GoogleCloudAiplatformV1GenerateFetchAccessTokenResponse", +"properties": { +"accessToken": { +"description": "The OAuth 2.0 access token.", +"type": "string" +}, +"expireTime": { +"description": "Token expiration time. This is always set", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1GenerateInstanceRubricsRequest": { +"description": "Request message for EvaluationService.GenerateInstanceRubrics.", +"id": "GoogleCloudAiplatformV1GenerateInstanceRubricsRequest", +"properties": { +"agentConfig": { +"$ref": "GoogleCloudAiplatformV1EvaluationInstanceAgentConfig", +"description": "Optional. Agent configuration, required for agent-based rubric generation." +}, +"contents": { +"description": "Required. The prompt to generate rubrics from. For single-turn queries, this is a single instance. For multi-turn queries, this is a repeated field that contains conversation history + latest request.", +"items": { +"$ref": "GoogleCloudAiplatformV1Content" +}, +"type": "array" +}, +"location": { +"description": "Required. The resource name of the Location to generate rubrics from. Format: `projects/{project}/locations/{location}`", +"type": "string" +}, +"predefinedRubricGenerationSpec": { +"$ref": "GoogleCloudAiplatformV1PredefinedMetricSpec", +"description": "Optional. Specification for using the rubric generation configs of a pre-defined metric, e.g. \"generic_quality_v1\" and \"instruction_following_v1\". Some of the configs may be only used in rubric generation and not supporting evaluation, e.g. \"fully_customized_generic_quality_v1\". If this field is set, the `rubric_generation_spec` field will be ignored." +}, +"rubricGenerationSpec": { +"$ref": "GoogleCloudAiplatformV1RubricGenerationSpec", +"description": "Optional. Specification for how the rubrics should be generated." +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1GenerateInstanceRubricsResponse": { +"description": "Response message for EvaluationService.GenerateInstanceRubrics.", +"id": "GoogleCloudAiplatformV1GenerateInstanceRubricsResponse", +"properties": { +"generatedRubrics": { +"description": "Output only. A list of generated rubrics.", +"items": { +"$ref": "GoogleCloudAiplatformV1Rubric" +}, +"readOnly": true, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1GenerateMemoriesRequest": { +"description": "Request message for MemoryBankService.GenerateMemories. Maximum size is 8 MB.", +"id": "GoogleCloudAiplatformV1GenerateMemoriesRequest", +"properties": { +"directContentsSource": { +"$ref": "GoogleCloudAiplatformV1GenerateMemoriesRequestDirectContentsSource", +"description": "Defines a direct source of content as the source content from which to generate memories." +}, +"directMemoriesSource": { +"$ref": "GoogleCloudAiplatformV1GenerateMemoriesRequestDirectMemoriesSource", +"description": "Defines a direct source of memories that should be uploaded to Memory Bank. This is similar to `CreateMemory`, but it allows for consolidation between these new memories and existing memories for the same scope." +}, +"disableConsolidation": { +"description": "Optional. If true, generated memories will not be consolidated with existing memories; all generated memories will be added as new memories regardless of whether they are duplicates of or contradictory to existing memories. By default, memory consolidation is enabled.", +"type": "boolean" +}, +"disableMemoryRevisions": { +"description": "Optional. If true, no revisions will be created for this request.", +"type": "boolean" +}, +"metadata": { +"additionalProperties": { +"$ref": "GoogleCloudAiplatformV1MemoryMetadataValue" +}, +"description": "Optional. User-provided metadata for the generated memories. This is not generated by Memory Bank.", +"type": "object" +}, +"metadataMergeStrategy": { +"description": "Optional. The strategy to use when applying metadata to existing memories.", +"enum": [ +"METADATA_MERGE_STRATEGY_UNSPECIFIED", +"OVERWRITE", +"MERGE", +"REQUIRE_EXACT_MATCH" +], +"enumDescriptions": [ +"Unspecified metadata merge strategy. If unspecified, the default behavior is to overwrite existing metadata (`OVERWRITE`).", +"Replace the metadata of the updated memories with the new metadata.", +"Append new metadata to the existing metadata. If there are duplicate keys, the existing values will be overwritten.", +"Restrict consolidation to memories that have exactly the same metadata as the request. If a memory doesn't have the same metadata, it is not eligible for consolidation." +], +"type": "string" +}, +"revisionExpireTime": { +"description": "Optional. Timestamp of when the revision is considered expired. If not set, the memory revision will be kept until manually deleted.", +"format": "google-datetime", +"type": "string" +}, +"revisionLabels": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. Labels to be applied to the generated memory revisions. For example, you can use this to label a revision with its data source.", +"type": "object" +}, +"revisionTtl": { +"description": "Optional. The TTL for the revision. The expiration time is computed: now + TTL.", +"format": "google-duration", +"type": "string" +}, +"scope": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. The scope of the memories that should be generated. Memories will be consolidated across memories with the same scope. Must be provided unless the scope is defined in the source content. If `scope` is provided, it will override the scope defined in the source content. Scope values cannot contain the wildcard character '*'.", +"type": "object" +}, +"vertexSessionSource": { +"$ref": "GoogleCloudAiplatformV1GenerateMemoriesRequestVertexSessionSource", +"description": "Defines a Vertex Session as the source content from which to generate memories." +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1GenerateMemoriesRequestDirectContentsSource": { +"description": "Defines a direct source of content from which to generate the memories.", +"id": "GoogleCloudAiplatformV1GenerateMemoriesRequestDirectContentsSource", +"properties": { +"events": { +"description": "Required. The source content (i.e. chat history) to generate memories from.", +"items": { +"$ref": "GoogleCloudAiplatformV1GenerateMemoriesRequestDirectContentsSourceEvent" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1GenerateMemoriesRequestDirectContentsSourceEvent": { +"description": "A single piece of conversation from which to generate memories.", +"id": "GoogleCloudAiplatformV1GenerateMemoriesRequestDirectContentsSourceEvent", +"properties": { +"content": { +"$ref": "GoogleCloudAiplatformV1Content", +"description": "Required. A single piece of content from which to generate memories." +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1GenerateMemoriesRequestDirectMemoriesSource": { +"description": "Defines a direct source of memories that should be uploaded to Memory Bank with consolidation.", +"id": "GoogleCloudAiplatformV1GenerateMemoriesRequestDirectMemoriesSource", +"properties": { +"directMemories": { +"description": "Required. The direct memories to upload to Memory Bank. At most 5 direct memories are allowed per request.", +"items": { +"$ref": "GoogleCloudAiplatformV1GenerateMemoriesRequestDirectMemoriesSourceDirectMemory" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1GenerateMemoriesRequestDirectMemoriesSourceDirectMemory": { +"description": "A direct memory to upload to Memory Bank.", +"id": "GoogleCloudAiplatformV1GenerateMemoriesRequestDirectMemoriesSourceDirectMemory", +"properties": { +"fact": { +"description": "Required. The fact to consolidate with existing memories.", +"type": "string" +}, +"topics": { +"description": "Optional. The topics that the consolidated memories should be associated with.", +"items": { +"$ref": "GoogleCloudAiplatformV1MemoryTopicId" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1GenerateMemoriesRequestVertexSessionSource": { +"description": "Defines an Agent Engine Session from which to generate the memories. If `scope` is not provided, the scope will be extracted from the Session (i.e. {\"user_id\": sesison.user_id}).", +"id": "GoogleCloudAiplatformV1GenerateMemoriesRequestVertexSessionSource", +"properties": { +"endTime": { +"description": "Optional. End time (exclusive) of the time range. If not set, the end time is unbounded.", +"format": "google-datetime", +"type": "string" +}, +"session": { +"description": "Required. The resource name of the Session to generate memories for. Format: `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}/sessions/{session}`", +"type": "string" +}, +"startTime": { +"description": "Optional. Time range to define which session events should be used to generate memories. Start time (inclusive) of the time range. If not set, the start time is unbounded.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1GenerateSyntheticDataRequest": { +"description": "Request message for DataFoundryService.GenerateSyntheticData.", +"id": "GoogleCloudAiplatformV1GenerateSyntheticDataRequest", +"properties": { +"count": { +"description": "Required. The number of synthetic examples to generate. For this stateless API, the count is limited to a small number.", +"format": "int32", +"type": "integer" +}, +"examples": { +"description": "Optional. A list of few-shot examples to guide the model's output style and format.", +"items": { +"$ref": "GoogleCloudAiplatformV1SyntheticExample" +}, +"type": "array" +}, +"outputFieldSpecs": { +"description": "Required. The schema of the desired output, defined by a list of fields.", +"items": { +"$ref": "GoogleCloudAiplatformV1OutputFieldSpec" +}, +"type": "array" +}, +"taskDescription": { +"$ref": "GoogleCloudAiplatformV1TaskDescriptionStrategy", +"description": "Generate data from a high-level task description." +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1GenerateSyntheticDataResponse": { +"description": "The response containing the generated data.", +"id": "GoogleCloudAiplatformV1GenerateSyntheticDataResponse", +"properties": { +"syntheticExamples": { +"description": "A list of generated synthetic examples.", +"items": { +"$ref": "GoogleCloudAiplatformV1SyntheticExample" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1GenerateVideoResponse": { +"description": "Generate video response.", +"id": "GoogleCloudAiplatformV1GenerateVideoResponse", +"properties": { +"generatedSamples": { +"deprecated": true, +"description": "The cloud storage uris of the generated videos.", +"items": { +"type": "string" +}, +"type": "array" +}, +"raiMediaFilteredCount": { +"description": "Returns if any videos were filtered due to RAI policies.", +"format": "int32", +"type": "integer" +}, +"raiMediaFilteredReasons": { +"description": "Returns rai failure reasons if any.", +"items": { +"type": "string" +}, +"type": "array" +}, +"videos": { +"description": "List of video bytes or Cloud Storage URIs of the generated videos.", +"items": { +"$ref": "GoogleCloudAiplatformV1GenerateVideoResponseVideo" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1GenerateVideoResponseVideo": { +"description": "A generated video.", +"id": "GoogleCloudAiplatformV1GenerateVideoResponseVideo", +"properties": { +"bytesBase64Encoded": { +"description": "Base64 encoded bytes string representing the video.", +"type": "string" +}, +"gcsUri": { +"description": "Cloud Storage URI where the generated video is written.", +"type": "string" +}, +"mimeType": { +"description": "The MIME type of the content of the video. - video/mp4", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1GenerationConfig": { +"description": "Configuration for content generation. This message contains all the parameters that control how the model generates content. It allows you to influence the randomness, length, and structure of the output.", +"id": "GoogleCloudAiplatformV1GenerationConfig", +"properties": { +"audioTimestamp": { +"description": "Optional. If enabled, audio timestamps will be included in the request to the model. This can be useful for synchronizing audio with other modalities in the response.", +"type": "boolean" +}, +"candidateCount": { +"description": "Optional. The number of candidate responses to generate. A higher `candidate_count` can provide more options to choose from, but it also consumes more resources. This can be useful for generating a variety of responses and selecting the best one.", +"format": "int32", +"type": "integer" +}, +"enableAffectiveDialog": { +"description": "Optional. If enabled, the model will detect emotions and adapt its responses accordingly. For example, if the model detects that the user is frustrated, it may provide a more empathetic response.", +"type": "boolean" +}, +"frequencyPenalty": { +"description": "Optional. Penalizes tokens based on their frequency in the generated text. A positive value helps to reduce the repetition of words and phrases. Valid values can range from [-2.0, 2.0].", +"format": "float", +"type": "number" +}, +"imageConfig": { +"$ref": "GoogleCloudAiplatformV1ImageConfig", +"description": "Optional. Config for image generation features." +}, +"logprobs": { +"description": "Optional. The number of top log probabilities to return for each token. This can be used to see which other tokens were considered likely candidates for a given position. A higher value will return more options, but it will also increase the size of the response.", +"format": "int32", +"type": "integer" +}, +"maxOutputTokens": { +"description": "Optional. The maximum number of tokens to generate in the response. A token is approximately four characters. The default value varies by model. This parameter can be used to control the length of the generated text and prevent overly long responses.", +"format": "int32", +"type": "integer" +}, +"mediaResolution": { +"description": "Optional. The token resolution at which input media content is sampled. This is used to control the trade-off between the quality of the response and the number of tokens used to represent the media. A higher resolution allows the model to perceive more detail, which can lead to a more nuanced response, but it will also use more tokens. This does not affect the image dimensions sent to the model.", +"enum": [ +"MEDIA_RESOLUTION_UNSPECIFIED", +"MEDIA_RESOLUTION_LOW", +"MEDIA_RESOLUTION_MEDIUM", +"MEDIA_RESOLUTION_HIGH" +], +"enumDescriptions": [ +"Media resolution has not been set.", +"Media resolution set to low (64 tokens).", +"Media resolution set to medium (256 tokens).", +"Media resolution set to high (zoomed reframing with 256 tokens)." +], +"type": "string" +}, +"presencePenalty": { +"description": "Optional. Penalizes tokens that have already appeared in the generated text. A positive value encourages the model to generate more diverse and less repetitive text. Valid values can range from [-2.0, 2.0].", +"format": "float", +"type": "number" +}, +"responseJsonSchema": { +"description": "Optional. When this field is set, response_schema must be omitted and response_mime_type must be set to `application/json`.", +"type": "any" +}, +"responseLogprobs": { +"description": "Optional. If set to true, the log probabilities of the output tokens are returned. Log probabilities are the logarithm of the probability of a token appearing in the output. A higher log probability means the token is more likely to be generated. This can be useful for analyzing the model's confidence in its own output and for debugging.", +"type": "boolean" +}, +"responseMimeType": { +"description": "Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. This is a preview feature.", +"type": "string" +}, +"responseModalities": { +"description": "Optional. The modalities of the response. The model will generate a response that includes all the specified modalities. For example, if this is set to `[TEXT, IMAGE]`, the response will include both text and an image.", +"items": { +"enum": [ +"MODALITY_UNSPECIFIED", +"TEXT", +"IMAGE", +"AUDIO" +], +"enumDescriptions": [ +"Unspecified modality. Will be processed as text.", +"Text modality.", +"Image modality.", +"Audio modality." +], +"type": "string" +}, +"type": "array" +}, +"responseSchema": { +"$ref": "GoogleCloudAiplatformV1Schema", +"description": "Optional. Lets you to specify a schema for the model's response, ensuring that the output conforms to a particular structure. This is useful for generating structured data such as JSON. The schema is a subset of the [OpenAPI 3.0 schema object](https://spec.openapis.org/oas/v3.0.3#schema) object. When this field is set, you must also set the `response_mime_type` to `application/json`." +}, +"routingConfig": { +"$ref": "GoogleCloudAiplatformV1GenerationConfigRoutingConfig", +"description": "Optional. Routing configuration." +}, +"seed": { +"description": "Optional. A seed for the random number generator. By setting a seed, you can make the model's output mostly deterministic. For a given prompt and parameters (like temperature, top_p, etc.), the model will produce the same response every time. However, it's not a guaranteed absolute deterministic behavior. This is different from parameters like `temperature`, which control the *level* of randomness. `seed` ensures that the \"random\" choices the model makes are the same on every run, making it essential for testing and ensuring reproducible results.", +"format": "int32", +"type": "integer" +}, +"speechConfig": { +"$ref": "GoogleCloudAiplatformV1SpeechConfig", +"description": "Optional. The speech generation config." +}, +"stopSequences": { +"description": "Optional. A list of character sequences that will stop the model from generating further tokens. If a stop sequence is generated, the output will end at that point. This is useful for controlling the length and structure of the output. For example, you can use [\"\\n\", \"###\"] to stop generation at a new line or a specific marker.", +"items": { +"type": "string" +}, +"type": "array" +}, +"temperature": { +"description": "Optional. Controls the randomness of the output. A higher temperature results in more creative and diverse responses, while a lower temperature makes the output more predictable and focused. The valid range is (0.0, 2.0].", +"format": "float", +"type": "number" +}, +"thinkingConfig": { +"$ref": "GoogleCloudAiplatformV1GenerationConfigThinkingConfig", +"description": "Optional. Configuration for thinking features. An error will be returned if this field is set for models that don't support thinking." +}, +"topK": { +"description": "Optional. Specifies the top-k sampling threshold. The model considers only the top k most probable tokens for the next token. This can be useful for generating more coherent and less random text. For example, a `top_k` of 40 means the model will choose the next word from the 40 most likely words.", +"format": "float", +"type": "number" +}, +"topP": { +"description": "Optional. Specifies the nucleus sampling threshold. The model considers only the smallest set of tokens whose cumulative probability is at least `top_p`. This helps generate more diverse and less repetitive responses. For example, a `top_p` of 0.9 means the model considers tokens until the cumulative probability of the tokens to select from reaches 0.9. It's recommended to adjust either temperature or `top_p`, but not both.", +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1GenerationConfigRoutingConfig": { +"description": "The configuration for routing the request to a specific model. This can be used to control which model is used for the generation, either automatically or by specifying a model name.", +"id": "GoogleCloudAiplatformV1GenerationConfigRoutingConfig", +"properties": { +"autoMode": { +"$ref": "GoogleCloudAiplatformV1GenerationConfigRoutingConfigAutoRoutingMode", +"description": "In this mode, the model is selected automatically based on the content of the request." +}, +"manualMode": { +"$ref": "GoogleCloudAiplatformV1GenerationConfigRoutingConfigManualRoutingMode", +"description": "In this mode, the model is specified manually." +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1GenerationConfigRoutingConfigAutoRoutingMode": { +"description": "The configuration for automated routing. When automated routing is specified, the routing will be determined by the pretrained routing model and customer provided model routing preference.", +"id": "GoogleCloudAiplatformV1GenerationConfigRoutingConfigAutoRoutingMode", +"properties": { +"modelRoutingPreference": { +"description": "The model routing preference.", +"enum": [ +"UNKNOWN", +"PRIORITIZE_QUALITY", +"BALANCED", +"PRIORITIZE_COST" +], +"enumDescriptions": [ +"Unspecified model routing preference.", +"The model will be selected to prioritize the quality of the response.", +"The model will be selected to balance quality and cost.", +"The model will be selected to prioritize the cost of the request." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1GenerationConfigRoutingConfigManualRoutingMode": { +"description": "The configuration for manual routing. When manual routing is specified, the model will be selected based on the model name provided.", +"id": "GoogleCloudAiplatformV1GenerationConfigRoutingConfigManualRoutingMode", +"properties": { +"modelName": { +"description": "The name of the model to use. Only public LLM models are accepted.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1GenerationConfigThinkingConfig": { +"description": "Configuration for the model's thinking features. \"Thinking\" is a process where the model breaks down a complex task into smaller, manageable steps. This allows the model to reason about the task, plan its approach, and execute the plan to generate a high-quality response.", +"id": "GoogleCloudAiplatformV1GenerationConfigThinkingConfig", +"properties": { +"includeThoughts": { +"description": "Optional. If true, the model will include its thoughts in the response. \"Thoughts\" are the intermediate steps the model takes to arrive at the final response. They can provide insights into the model's reasoning process and help with debugging. If this is true, thoughts are returned only when available.", +"type": "boolean" +}, +"thinkingBudget": { +"description": "Optional. The token budget for the model's thinking process. The model will make a best effort to stay within this budget. This can be used to control the trade-off between response quality and latency.", +"format": "int32", +"type": "integer" +}, +"thinkingLevel": { +"description": "Optional. The number of thoughts tokens that the model should generate.", +"enum": [ +"THINKING_LEVEL_UNSPECIFIED", +"LOW", +"MEDIUM", +"HIGH", +"MINIMAL" +], +"enumDescriptions": [ +"Unspecified thinking level.", +"Low thinking level.", +"Medium thinking level.", +"High thinking level.", +"MINIMAL thinking level." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1GenericOperationMetadata": { +"description": "Generic Metadata shared by all operations.", +"id": "GoogleCloudAiplatformV1GenericOperationMetadata", +"properties": { +"createTime": { +"description": "Output only. Time when the operation was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"partialFailures": { +"description": "Output only. Partial failures encountered. E.g. single files that couldn't be read. This field should never exceed 20 entries. Status details field will contain standard Google Cloud error details.", +"items": { +"$ref": "GoogleRpcStatus" +}, +"readOnly": true, +"type": "array" +}, +"updateTime": { +"description": "Output only. Time when the operation was updated for the last time. If the operation has finished (successfully or not), this is the finish time.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1GenieSource": { +"description": "Contains information about the source of the models generated from Generative AI Studio.", +"id": "GoogleCloudAiplatformV1GenieSource", +"properties": { +"baseModelUri": { +"description": "Required. The public base model URI.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1GoogleDriveSource": { +"description": "The Google Drive location for the input content.", +"id": "GoogleCloudAiplatformV1GoogleDriveSource", +"properties": { +"resourceIds": { +"description": "Required. Google Drive resource IDs.", +"items": { +"$ref": "GoogleCloudAiplatformV1GoogleDriveSourceResourceId" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1GoogleDriveSourceResourceId": { +"description": "The type and ID of the Google Drive resource.", +"id": "GoogleCloudAiplatformV1GoogleDriveSourceResourceId", +"properties": { +"resourceId": { +"description": "Required. The ID of the Google Drive resource.", +"type": "string" +}, +"resourceType": { +"description": "Required. The type of the Google Drive resource.", +"enum": [ +"RESOURCE_TYPE_UNSPECIFIED", +"RESOURCE_TYPE_FILE", +"RESOURCE_TYPE_FOLDER" +], +"enumDescriptions": [ +"Unspecified resource type.", +"File resource type.", +"Folder resource type." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1GoogleMaps": { +"description": "Tool to retrieve public maps data for grounding, powered by Google.", +"id": "GoogleCloudAiplatformV1GoogleMaps", +"properties": { +"enableWidget": { +"description": "Optional. If true, include the widget context token in the response.", +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1GoogleSearchRetrieval": { +"description": "Tool to retrieve public web data for grounding, powered by Google.", +"id": "GoogleCloudAiplatformV1GoogleSearchRetrieval", +"properties": { +"dynamicRetrievalConfig": { +"$ref": "GoogleCloudAiplatformV1DynamicRetrievalConfig", +"description": "Specifies the dynamic retrieval configuration for the given source." +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1GroundednessInput": { +"description": "Input for groundedness metric.", +"id": "GoogleCloudAiplatformV1GroundednessInput", +"properties": { +"instance": { +"$ref": "GoogleCloudAiplatformV1GroundednessInstance", +"description": "Required. Groundedness instance." +}, +"metricSpec": { +"$ref": "GoogleCloudAiplatformV1GroundednessSpec", +"description": "Required. Spec for groundedness metric." +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1GroundednessInstance": { +"description": "Spec for groundedness instance.", +"id": "GoogleCloudAiplatformV1GroundednessInstance", +"properties": { +"context": { +"description": "Required. Background information provided in context used to compare against the prediction.", +"type": "string" +}, +"prediction": { +"description": "Required. Output of the evaluated model.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1GroundednessResult": { +"description": "Spec for groundedness result.", +"id": "GoogleCloudAiplatformV1GroundednessResult", +"properties": { +"confidence": { +"description": "Output only. Confidence for groundedness score.", +"format": "float", +"readOnly": true, +"type": "number" +}, +"explanation": { +"description": "Output only. Explanation for groundedness score.", +"readOnly": true, +"type": "string" +}, +"score": { +"description": "Output only. Groundedness score.", +"format": "float", +"readOnly": true, +"type": "number" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1GroundednessSpec": { +"description": "Spec for groundedness metric.", +"id": "GoogleCloudAiplatformV1GroundednessSpec", +"properties": { +"version": { +"description": "Optional. Which version to use for evaluation.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1GroundingChunk": { +"description": "A piece of evidence that supports a claim made by the model. This is used to show a citation for a claim made by the model. When grounding is enabled, the model returns a `GroundingChunk` that contains a reference to the source of the information.", +"id": "GoogleCloudAiplatformV1GroundingChunk", +"properties": { +"maps": { +"$ref": "GoogleCloudAiplatformV1GroundingChunkMaps", +"description": "A grounding chunk from Google Maps. See the `Maps` message for details." +}, +"retrievedContext": { +"$ref": "GoogleCloudAiplatformV1GroundingChunkRetrievedContext", +"description": "A grounding chunk from a data source retrieved by a retrieval tool, such as Vertex AI Search. See the `RetrievedContext` message for details" +}, +"web": { +"$ref": "GoogleCloudAiplatformV1GroundingChunkWeb", +"description": "A grounding chunk from a web page, typically from Google Search. See the `Web` message for details." +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1GroundingChunkMaps": { +"description": "A `Maps` chunk is a piece of evidence that comes from Google Maps, containing information about places or routes. This is used to provide the user with rich, location-based information.", +"id": "GoogleCloudAiplatformV1GroundingChunkMaps", +"properties": { +"placeAnswerSources": { +"$ref": "GoogleCloudAiplatformV1GroundingChunkMapsPlaceAnswerSources", +"description": "The sources that were used to generate the place answer. This includes review snippets and photos that were used to generate the answer, as well as URIs to flag content." +}, +"placeId": { +"description": "This Place's resource name, in `places/{place_id}` format. This can be used to look up the place in the Google Maps API.", +"type": "string" +}, +"text": { +"description": "The text of the place answer.", +"type": "string" +}, +"title": { +"description": "The title of the place.", +"type": "string" +}, +"uri": { +"description": "The URI of the place.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1GroundingChunkMapsPlaceAnswerSources": { +"description": "The sources that were used to generate the place answer. This includes review snippets and photos that were used to generate the answer, as well as URIs to flag content.", +"id": "GoogleCloudAiplatformV1GroundingChunkMapsPlaceAnswerSources", +"properties": { +"reviewSnippets": { +"description": "Snippets of reviews that were used to generate the answer.", +"items": { +"$ref": "GoogleCloudAiplatformV1GroundingChunkMapsPlaceAnswerSourcesReviewSnippet" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1GroundingChunkMapsPlaceAnswerSourcesReviewSnippet": { +"description": "A review snippet that is used to generate the answer.", +"id": "GoogleCloudAiplatformV1GroundingChunkMapsPlaceAnswerSourcesReviewSnippet", +"properties": { +"googleMapsUri": { +"description": "A link to show the review on Google Maps.", +"type": "string" +}, +"reviewId": { +"description": "The ID of the review that is being referenced.", +"type": "string" +}, +"title": { +"description": "The title of the review.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1GroundingChunkRetrievedContext": { +"description": "Context retrieved from a data source to ground the model's response. This is used when a retrieval tool fetches information from a user-provided corpus or a public dataset.", +"id": "GoogleCloudAiplatformV1GroundingChunkRetrievedContext", +"properties": { +"documentName": { +"description": "Output only. The full resource name of the referenced Vertex AI Search document. This is used to identify the specific document that was retrieved. The format is `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}/documents/{document}`.", +"readOnly": true, +"type": "string" +}, +"ragChunk": { +"$ref": "GoogleCloudAiplatformV1RagChunk", +"description": "Additional context for a Retrieval-Augmented Generation (RAG) retrieval result. This is populated only when the RAG retrieval tool is used." +}, +"text": { +"description": "The content of the retrieved data source.", +"type": "string" +}, +"title": { +"description": "The title of the retrieved data source.", +"type": "string" +}, +"uri": { +"description": "The URI of the retrieved data source.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1GroundingChunkWeb": { +"description": "A `Web` chunk is a piece of evidence that comes from a web page. It contains the URI of the web page, the title of the page, and the domain of the page. This is used to provide the user with a link to the source of the information.", +"id": "GoogleCloudAiplatformV1GroundingChunkWeb", +"properties": { +"domain": { +"description": "The domain of the web page that contains the evidence. This can be used to filter out low-quality sources.", +"type": "string" +}, +"title": { +"description": "The title of the web page that contains the evidence.", +"type": "string" +}, +"uri": { +"description": "The URI of the web page that contains the evidence.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1GroundingMetadata": { +"description": "Information about the sources that support the content of a response. When grounding is enabled, the model returns citations for claims in the response. This object contains the retrieved sources.", +"id": "GoogleCloudAiplatformV1GroundingMetadata", +"properties": { +"googleMapsWidgetContextToken": { +"description": "Optional. Output only. A token that can be used to render a Google Maps widget with the contextual data. This field is populated only when the grounding source is Google Maps.", +"readOnly": true, +"type": "string" +}, +"groundingChunks": { +"description": "A list of supporting references retrieved from the grounding source. This field is populated when the grounding source is Google Search, Vertex AI Search, or Google Maps.", +"items": { +"$ref": "GoogleCloudAiplatformV1GroundingChunk" +}, +"type": "array" +}, +"groundingSupports": { +"description": "Optional. A list of grounding supports that connect the generated content to the grounding chunks. This field is populated when the grounding source is Google Search or Vertex AI Search.", +"items": { +"$ref": "GoogleCloudAiplatformV1GroundingSupport" +}, +"type": "array" +}, +"retrievalMetadata": { +"$ref": "GoogleCloudAiplatformV1RetrievalMetadata", +"description": "Optional. Output only. Metadata related to the retrieval grounding source.", +"readOnly": true +}, +"searchEntryPoint": { +"$ref": "GoogleCloudAiplatformV1SearchEntryPoint", +"description": "Optional. A web search entry point that can be used to display search results. This field is populated only when the grounding source is Google Search." +}, +"sourceFlaggingUris": { +"description": "Optional. Output only. A list of URIs that can be used to flag a place or review for inappropriate content. This field is populated only when the grounding source is Google Maps.", +"items": { +"$ref": "GoogleCloudAiplatformV1GroundingMetadataSourceFlaggingUri" +}, +"readOnly": true, +"type": "array" +}, +"webSearchQueries": { +"description": "Optional. The web search queries that were used to generate the content. This field is populated only when the grounding source is Google Search.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1GroundingMetadataSourceFlaggingUri": { +"description": "A URI that can be used to flag a place or review for inappropriate content. This is populated only when the grounding source is Google Maps.", +"id": "GoogleCloudAiplatformV1GroundingMetadataSourceFlaggingUri", +"properties": { +"flagContentUri": { +"description": "The URI that can be used to flag the content.", +"type": "string" +}, +"sourceId": { +"description": "The ID of the place or review.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1GroundingSupport": { +"description": "A collection of supporting references for a segment of the model's response.", +"id": "GoogleCloudAiplatformV1GroundingSupport", +"properties": { +"confidenceScores": { +"description": "The confidence scores for the support references. This list is parallel to the `grounding_chunk_indices` list. A score is a value between 0.0 and 1.0, with a higher score indicating a higher confidence that the reference supports the claim. For Gemini 2.0 and before, this list has the same size as `grounding_chunk_indices`. For Gemini 2.5 and later, this list is empty and should be ignored.", +"items": { +"format": "float", +"type": "number" +}, +"type": "array" +}, +"groundingChunkIndices": { +"description": "A list of indices into the `grounding_chunks` field of the `GroundingMetadata` message. These indices specify which grounding chunks support the claim made in the content segment. For example, if this field has the values `[1, 3]`, it means that `grounding_chunks[1]` and `grounding_chunks[3]` are the sources for the claim in the content segment.", +"items": { +"format": "int32", +"type": "integer" +}, +"type": "array" +}, +"segment": { +"$ref": "GoogleCloudAiplatformV1Segment", +"description": "The content segment that this support message applies to." +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1HyperparameterTuningJob": { +"description": "Represents a HyperparameterTuningJob. A HyperparameterTuningJob has a Study specification and multiple CustomJobs with identical CustomJob specification.", +"id": "GoogleCloudAiplatformV1HyperparameterTuningJob", +"properties": { +"createTime": { +"description": "Output only. Time when the HyperparameterTuningJob was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"displayName": { +"description": "Required. The display name of the HyperparameterTuningJob. The name can be up to 128 characters long and can consist of any UTF-8 characters.", +"type": "string" +}, +"encryptionSpec": { +"$ref": "GoogleCloudAiplatformV1EncryptionSpec", +"description": "Customer-managed encryption key options for a HyperparameterTuningJob. If this is set, then all resources created by the HyperparameterTuningJob will be encrypted with the provided encryption key." +}, +"endTime": { +"description": "Output only. Time when the HyperparameterTuningJob entered any of the following states: `JOB_STATE_SUCCEEDED`, `JOB_STATE_FAILED`, `JOB_STATE_CANCELLED`.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"error": { +"$ref": "GoogleRpcStatus", +"description": "Output only. Only populated when job's state is JOB_STATE_FAILED or JOB_STATE_CANCELLED.", +"readOnly": true +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "The labels with user-defined metadata to organize HyperparameterTuningJobs. Label keys and values can be no longer than 64 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. See https://goo.gl/xmQnxf for more information and examples of labels.", +"type": "object" +}, +"maxFailedTrialCount": { +"description": "The number of failed Trials that need to be seen before failing the HyperparameterTuningJob. If set to 0, Vertex AI decides how many Trials must fail before the whole job fails.", +"format": "int32", +"type": "integer" +}, +"maxTrialCount": { +"description": "Required. The desired total number of Trials.", +"format": "int32", +"type": "integer" +}, +"name": { +"description": "Output only. Resource name of the HyperparameterTuningJob.", +"readOnly": true, +"type": "string" +}, +"parallelTrialCount": { +"description": "Required. The desired number of Trials to run in parallel.", +"format": "int32", +"type": "integer" +}, +"satisfiesPzi": { +"description": "Output only. Reserved for future use.", +"readOnly": true, +"type": "boolean" +}, +"satisfiesPzs": { +"description": "Output only. Reserved for future use.", +"readOnly": true, +"type": "boolean" +}, +"startTime": { +"description": "Output only. Time when the HyperparameterTuningJob for the first time entered the `JOB_STATE_RUNNING` state.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"state": { +"description": "Output only. The detailed state of the job.", +"enum": [ +"JOB_STATE_UNSPECIFIED", +"JOB_STATE_QUEUED", +"JOB_STATE_PENDING", +"JOB_STATE_RUNNING", +"JOB_STATE_SUCCEEDED", +"JOB_STATE_FAILED", +"JOB_STATE_CANCELLING", +"JOB_STATE_CANCELLED", +"JOB_STATE_PAUSED", +"JOB_STATE_EXPIRED", +"JOB_STATE_UPDATING", +"JOB_STATE_PARTIALLY_SUCCEEDED" +], +"enumDescriptions": [ +"The job state is unspecified.", +"The job has been just created or resumed and processing has not yet begun.", +"The service is preparing to run the job.", +"The job is in progress.", +"The job completed successfully.", +"The job failed.", +"The job is being cancelled. From this state the job may only go to either `JOB_STATE_SUCCEEDED`, `JOB_STATE_FAILED` or `JOB_STATE_CANCELLED`.", +"The job has been cancelled.", +"The job has been stopped, and can be resumed.", +"The job has expired.", +"The job is being updated. Only jobs in the `RUNNING` state can be updated. After updating, the job goes back to the `RUNNING` state.", +"The job is partially succeeded, some results may be missing due to errors." +], +"readOnly": true, +"type": "string" +}, +"studySpec": { +"$ref": "GoogleCloudAiplatformV1StudySpec", +"description": "Required. Study configuration of the HyperparameterTuningJob." +}, +"trialJobSpec": { +"$ref": "GoogleCloudAiplatformV1CustomJobSpec", +"description": "Required. The spec of a trial job. The same spec applies to the CustomJobs created in all the trials." +}, +"trials": { +"description": "Output only. Trials of the HyperparameterTuningJob.", +"items": { +"$ref": "GoogleCloudAiplatformV1Trial" +}, +"readOnly": true, +"type": "array" +}, +"updateTime": { +"description": "Output only. Time when the HyperparameterTuningJob was most recently updated.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1IdMatcher": { +"description": "Matcher for Features of an EntityType by Feature ID.", +"id": "GoogleCloudAiplatformV1IdMatcher", +"properties": { +"ids": { +"description": "Required. The following are accepted as `ids`: * A single-element list containing only `*`, which selects all Features in the target EntityType, or * A list containing only Feature IDs, which selects only Features with those IDs in the target EntityType.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1ImageConfig": { +"description": "Configuration for image generation. This message allows you to control various aspects of image generation, such as the output format, aspect ratio, and whether the model can generate images of people.", +"id": "GoogleCloudAiplatformV1ImageConfig", +"properties": { +"aspectRatio": { +"description": "Optional. The desired aspect ratio for the generated images. The following aspect ratios are supported: \"1:1\" \"2:3\", \"3:2\" \"3:4\", \"4:3\" \"4:5\", \"5:4\" \"9:16\", \"16:9\" \"21:9\"", +"type": "string" +}, +"imageOutputOptions": { +"$ref": "GoogleCloudAiplatformV1ImageConfigImageOutputOptions", +"description": "Optional. The image output format for generated images." +}, +"imageSize": { +"description": "Optional. Specifies the size of generated images. Supported values are `1K`, `2K`, `4K`. If not specified, the model will use default value `1K`.", +"type": "string" +}, +"personGeneration": { +"description": "Optional. Controls whether the model can generate people.", +"enum": [ +"PERSON_GENERATION_UNSPECIFIED", +"ALLOW_ALL", +"ALLOW_ADULT", +"ALLOW_NONE" +], +"enumDescriptions": [ +"The default behavior is unspecified. The model will decide whether to generate images of people.", +"Allows the model to generate images of people, including adults and children.", +"Allows the model to generate images of adults, but not children.", +"Prevents the model from generating images of people." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1ImageConfigImageOutputOptions": { +"description": "The image output format for generated images.", +"id": "GoogleCloudAiplatformV1ImageConfigImageOutputOptions", +"properties": { +"compressionQuality": { +"description": "Optional. The compression quality of the output image.", +"format": "int32", +"type": "integer" +}, +"mimeType": { +"description": "Optional. The image format that the output should be saved as.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1ImportDataConfig": { +"description": "Describes the location from where we import data into a Dataset, together with the labels that will be applied to the DataItems and the Annotations.", +"id": "GoogleCloudAiplatformV1ImportDataConfig", +"properties": { +"annotationLabels": { +"additionalProperties": { +"type": "string" +}, +"description": "Labels that will be applied to newly imported Annotations. If two Annotations are identical, one of them will be deduped. Two Annotations are considered identical if their payload, payload_schema_uri and all of their labels are the same. These labels will be overridden by Annotation labels specified inside index file referenced by import_schema_uri, e.g. jsonl file.", +"type": "object" +}, +"dataItemLabels": { +"additionalProperties": { +"type": "string" +}, +"description": "Labels that will be applied to newly imported DataItems. If an identical DataItem as one being imported already exists in the Dataset, then these labels will be appended to these of the already existing one, and if labels with identical key is imported before, the old label value will be overwritten. If two DataItems are identical in the same import data operation, the labels will be combined and if key collision happens in this case, one of the values will be picked randomly. Two DataItems are considered identical if their content bytes are identical (e.g. image bytes or pdf bytes). These labels will be overridden by Annotation labels specified inside index file referenced by import_schema_uri, e.g. jsonl file.", +"type": "object" +}, +"gcsSource": { +"$ref": "GoogleCloudAiplatformV1GcsSource", +"description": "The Google Cloud Storage location for the input content." +}, +"importSchemaUri": { +"description": "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://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.0.2.md#schemaObject).", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1ImportDataOperationMetadata": { +"description": "Runtime operation information for DatasetService.ImportData.", +"id": "GoogleCloudAiplatformV1ImportDataOperationMetadata", +"properties": { +"genericMetadata": { +"$ref": "GoogleCloudAiplatformV1GenericOperationMetadata", +"description": "The common part of the operation metadata." +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1ImportDataRequest": { +"description": "Request message for DatasetService.ImportData.", +"id": "GoogleCloudAiplatformV1ImportDataRequest", +"properties": { +"importConfigs": { +"description": "Required. The desired input locations. The contents of all input locations will be imported in one batch.", +"items": { +"$ref": "GoogleCloudAiplatformV1ImportDataConfig" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1ImportDataResponse": { +"description": "Response message for DatasetService.ImportData.", +"id": "GoogleCloudAiplatformV1ImportDataResponse", +"properties": {}, +"type": "object" +}, +"GoogleCloudAiplatformV1ImportFeatureValuesOperationMetadata": { +"description": "Details of operations that perform import Feature values.", +"id": "GoogleCloudAiplatformV1ImportFeatureValuesOperationMetadata", +"properties": { +"blockingOperationIds": { +"description": "List of ImportFeatureValues operations running under a single EntityType that are blocking this operation.", +"items": { +"format": "int64", +"type": "string" +}, +"type": "array" +}, +"genericMetadata": { +"$ref": "GoogleCloudAiplatformV1GenericOperationMetadata", +"description": "Operation metadata for Featurestore import Feature values." +}, +"importedEntityCount": { +"description": "Number of entities that have been imported by the operation.", +"format": "int64", +"type": "string" +}, +"importedFeatureValueCount": { +"description": "Number of Feature values that have been imported by the operation.", +"format": "int64", +"type": "string" +}, +"invalidRowCount": { +"description": "The number of rows in input source that weren't imported due to either * Not having any featureValues. * Having a null entityId. * Having a null timestamp. * Not being parsable (applicable for CSV sources).", +"format": "int64", +"type": "string" +}, +"sourceUris": { +"description": "The source URI from where Feature values are imported.", +"items": { +"type": "string" +}, +"type": "array" +}, +"timestampOutsideRetentionRowsCount": { +"description": "The number rows that weren't ingested due to having timestamps outside the retention boundary.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1ImportFeatureValuesRequest": { +"description": "Request message for FeaturestoreService.ImportFeatureValues.", +"id": "GoogleCloudAiplatformV1ImportFeatureValuesRequest", +"properties": { +"avroSource": { +"$ref": "GoogleCloudAiplatformV1AvroSource" +}, +"bigquerySource": { +"$ref": "GoogleCloudAiplatformV1BigQuerySource" +}, +"csvSource": { +"$ref": "GoogleCloudAiplatformV1CsvSource" +}, +"disableIngestionAnalysis": { +"description": "If true, API doesn't start ingestion analysis pipeline.", +"type": "boolean" +}, +"disableOnlineServing": { +"description": "If set, data will not be imported for online serving. This is typically used for backfilling, where Feature generation timestamps are not in the timestamp range needed for online serving.", +"type": "boolean" +}, +"entityIdField": { +"description": "Source column that holds entity IDs. If not provided, entity IDs are extracted from the column named entity_id.", +"type": "string" +}, +"featureSpecs": { +"description": "Required. Specifications defining which Feature values to import from the entity. The request fails if no feature_specs are provided, and having multiple feature_specs for one Feature is not allowed.", +"items": { +"$ref": "GoogleCloudAiplatformV1ImportFeatureValuesRequestFeatureSpec" +}, +"type": "array" +}, +"featureTime": { +"description": "Single Feature timestamp for all entities being imported. The timestamp must not have higher than millisecond precision.", +"format": "google-datetime", +"type": "string" +}, +"featureTimeField": { +"description": "Source column that holds the Feature timestamp for all Feature values in each entity.", +"type": "string" +}, +"workerCount": { +"description": "Specifies the number of workers that are used to write data to the Featurestore. Consider the online serving capacity that you require to achieve the desired import throughput without interfering with online serving. The value must be positive, and less than or equal to 100. If not set, defaults to using 1 worker. The low count ensures minimal impact on online serving performance.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1ImportFeatureValuesRequestFeatureSpec": { +"description": "Defines the Feature value(s) to import.", +"id": "GoogleCloudAiplatformV1ImportFeatureValuesRequestFeatureSpec", +"properties": { +"id": { +"description": "Required. ID of the Feature to import values of. This Feature must exist in the target EntityType, or the request will fail.", +"type": "string" +}, +"sourceField": { +"description": "Source column to get the Feature values from. If not set, uses the column with the same name as the Feature ID.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1ImportFeatureValuesResponse": { +"description": "Response message for FeaturestoreService.ImportFeatureValues.", +"id": "GoogleCloudAiplatformV1ImportFeatureValuesResponse", +"properties": { +"importedEntityCount": { +"description": "Number of entities that have been imported by the operation.", +"format": "int64", +"type": "string" +}, +"importedFeatureValueCount": { +"description": "Number of Feature values that have been imported by the operation.", +"format": "int64", +"type": "string" +}, +"invalidRowCount": { +"description": "The number of rows in input source that weren't imported due to either * Not having any featureValues. * Having a null entityId. * Having a null timestamp. * Not being parsable (applicable for CSV sources).", +"format": "int64", +"type": "string" +}, +"timestampOutsideRetentionRowsCount": { +"description": "The number rows that weren't ingested due to having feature timestamps outside the retention boundary.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1ImportModelEvaluationRequest": { +"description": "Request message for ModelService.ImportModelEvaluation", +"id": "GoogleCloudAiplatformV1ImportModelEvaluationRequest", +"properties": { +"modelEvaluation": { +"$ref": "GoogleCloudAiplatformV1ModelEvaluation", +"description": "Required. Model evaluation resource to be imported." +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1ImportRagFilesConfig": { +"description": "Config for importing RagFiles.", +"id": "GoogleCloudAiplatformV1ImportRagFilesConfig", +"properties": { +"gcsSource": { +"$ref": "GoogleCloudAiplatformV1GcsSource", +"description": "Google Cloud Storage location. Supports importing individual files as well as entire Google Cloud Storage directories. Sample formats: - `gs://bucket_name/my_directory/object_name/my_file.txt` - `gs://bucket_name/my_directory`" +}, +"googleDriveSource": { +"$ref": "GoogleCloudAiplatformV1GoogleDriveSource", +"description": "Google Drive location. Supports importing individual files as well as Google Drive folders." +}, +"importResultBigquerySink": { +"$ref": "GoogleCloudAiplatformV1BigQueryDestination", +"description": "The BigQuery destination to write import result to. It should be a bigquery table resource name (e.g. \"bq://projectId.bqDatasetId.bqTableId\"). The dataset must exist. If the table does not exist, it will be created with the expected schema. If the table exists, the schema will be validated and data will be added to this existing table." +}, +"importResultGcsSink": { +"$ref": "GoogleCloudAiplatformV1GcsDestination", +"description": "The Cloud Storage path to write import result to." +}, +"jiraSource": { +"$ref": "GoogleCloudAiplatformV1JiraSource", +"description": "Jira queries with their corresponding authentication." +}, +"maxEmbeddingRequestsPerMin": { +"description": "Optional. The max number of queries per minute that this job is allowed to make to the embedding model specified on the corpus. This value is specific to this job and not shared across other import jobs. Consult the Quotas page on the project to set an appropriate value here. If unspecified, a default value of 1,000 QPM would be used.", +"format": "int32", +"type": "integer" +}, +"partialFailureBigquerySink": { +"$ref": "GoogleCloudAiplatformV1BigQueryDestination", +"deprecated": true, +"description": "The BigQuery destination to write partial failures to. It should be a bigquery table resource name (e.g. \"bq://projectId.bqDatasetId.bqTableId\"). The dataset must exist. If the table does not exist, it will be created with the expected schema. If the table exists, the schema will be validated and data will be added to this existing table. Deprecated. Prefer to use `import_result_bq_sink`." +}, +"partialFailureGcsSink": { +"$ref": "GoogleCloudAiplatformV1GcsDestination", +"deprecated": true, +"description": "The Cloud Storage path to write partial failures to. Deprecated. Prefer to use `import_result_gcs_sink`." +}, +"ragFileParsingConfig": { +"$ref": "GoogleCloudAiplatformV1RagFileParsingConfig", +"description": "Optional. Specifies the parsing config for RagFiles. RAG will use the default parser if this field is not set." +}, +"ragFileTransformationConfig": { +"$ref": "GoogleCloudAiplatformV1RagFileTransformationConfig", +"description": "Specifies the transformation config for RagFiles." +}, +"rebuildAnnIndex": { +"description": "Rebuilds the ANN index to optimize for recall on the imported data. Only applicable for RagCorpora running on RagManagedDb with `retrieval_strategy` set to `ANN`. The rebuild will be performed using the existing ANN config set on the RagCorpus. To change the ANN config, please use the UpdateRagCorpus API. Default is false, i.e., index is not rebuilt.", +"type": "boolean" +}, +"sharePointSources": { +"$ref": "GoogleCloudAiplatformV1SharePointSources", +"description": "SharePoint sources." +}, +"slackSource": { +"$ref": "GoogleCloudAiplatformV1SlackSource", +"description": "Slack channels with their corresponding access tokens." +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1ImportRagFilesRequest": { +"description": "Request message for VertexRagDataService.ImportRagFiles.", +"id": "GoogleCloudAiplatformV1ImportRagFilesRequest", +"properties": { +"importRagFilesConfig": { +"$ref": "GoogleCloudAiplatformV1ImportRagFilesConfig", +"description": "Required. The config for the RagFiles to be synced and imported into the RagCorpus. VertexRagDataService.ImportRagFiles." +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1Index": { +"description": "A representation of a collection of database items organized in a way that allows for approximate nearest neighbor (a.k.a ANN) algorithms search.", +"id": "GoogleCloudAiplatformV1Index", +"properties": { +"createTime": { +"description": "Output only. Timestamp when this Index was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"deployedIndexes": { +"description": "Output only. The pointers to DeployedIndexes created from this Index. An Index can be only deleted if all its DeployedIndexes had been undeployed first.", +"items": { +"$ref": "GoogleCloudAiplatformV1DeployedIndexRef" +}, +"readOnly": true, +"type": "array" +}, +"description": { +"description": "The description of the Index.", +"type": "string" +}, +"displayName": { +"description": "Required. The display name of the Index. The name can be up to 128 characters long and can consist of any UTF-8 characters.", +"type": "string" +}, +"encryptionSpec": { +"$ref": "GoogleCloudAiplatformV1EncryptionSpec", +"description": "Immutable. Customer-managed encryption key spec for an Index. If set, this Index and all sub-resources of this Index will be secured by this key." +}, +"etag": { +"description": "Used to perform consistent read-modify-write updates. If not set, a blind \"overwrite\" update happens.", +"type": "string" +}, +"indexStats": { +"$ref": "GoogleCloudAiplatformV1IndexStats", +"description": "Output only. Stats of the index resource.", +"readOnly": true +}, +"indexUpdateMethod": { +"description": "Immutable. The update method to use with this Index. If not set, BATCH_UPDATE will be used by default.", +"enum": [ +"INDEX_UPDATE_METHOD_UNSPECIFIED", +"BATCH_UPDATE", +"STREAM_UPDATE" +], +"enumDescriptions": [ +"Should not be used.", +"BatchUpdate: user can call UpdateIndex with files on Cloud Storage of Datapoints to update.", +"StreamUpdate: user can call UpsertDatapoints/DeleteDatapoints to update the Index and the updates will be applied in corresponding DeployedIndexes in nearly real-time." +], +"type": "string" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "The labels with user-defined metadata to organize your Indexes. Label keys and values can be no longer than 64 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. See https://goo.gl/xmQnxf for more information and examples of labels.", +"type": "object" +}, +"metadata": { +"description": "An additional information about the Index; the schema of the metadata can be found in metadata_schema.", +"type": "any" +}, +"metadataSchemaUri": { +"description": "Immutable. Points to a YAML file stored on Google Cloud Storage describing additional information about the Index, that is specific to it. Unset if the Index does not have any additional information. 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). 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.", +"type": "string" +}, +"name": { +"description": "Output only. The resource name of the Index.", +"readOnly": true, +"type": "string" +}, +"satisfiesPzi": { +"description": "Output only. Reserved for future use.", +"readOnly": true, +"type": "boolean" +}, +"satisfiesPzs": { +"description": "Output only. Reserved for future use.", +"readOnly": true, +"type": "boolean" +}, +"updateTime": { +"description": "Output only. Timestamp when this Index was most recently updated. This also includes any update to the contents of the Index. Note that Operations working on this Index may have their Operations.metadata.generic_metadata.update_time a little after the value of this timestamp, yet that does not mean their results are not already reflected in the Index. Result of any successfully completed Operation on the Index is reflected in it.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1IndexDatapoint": { +"description": "A datapoint of Index.", +"id": "GoogleCloudAiplatformV1IndexDatapoint", +"properties": { +"crowdingTag": { +"$ref": "GoogleCloudAiplatformV1IndexDatapointCrowdingTag", +"description": "Optional. CrowdingTag of the datapoint, the number of neighbors to return in each crowding can be configured during query." +}, +"datapointId": { +"description": "Required. Unique identifier of the datapoint.", +"type": "string" +}, +"embeddingMetadata": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"description": "Optional. The key-value map of additional metadata for the datapoint.", +"type": "object" +}, +"featureVector": { +"description": "Required. Feature embedding vector for dense index. An array of numbers with the length of [NearestNeighborSearchConfig.dimensions].", +"items": { +"format": "float", +"type": "number" +}, +"type": "array" +}, +"numericRestricts": { +"description": "Optional. List of Restrict of the datapoint, used to perform \"restricted searches\" where boolean rule are used to filter the subset of the database eligible for matching. This uses numeric comparisons.", +"items": { +"$ref": "GoogleCloudAiplatformV1IndexDatapointNumericRestriction" +}, +"type": "array" +}, +"restricts": { +"description": "Optional. List of Restrict of the datapoint, used to perform \"restricted searches\" where boolean rule are used to filter the subset of the database eligible for matching. This uses categorical tokens. See: https://cloud.google.com/vertex-ai/docs/matching-engine/filtering", +"items": { +"$ref": "GoogleCloudAiplatformV1IndexDatapointRestriction" +}, +"type": "array" +}, +"sparseEmbedding": { +"$ref": "GoogleCloudAiplatformV1IndexDatapointSparseEmbedding", +"description": "Optional. Feature embedding vector for sparse index." +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1IndexDatapointCrowdingTag": { +"description": "Crowding tag is a constraint on a neighbor list produced by nearest neighbor search requiring that no more than some value k' of the k neighbors returned have the same value of crowding_attribute.", +"id": "GoogleCloudAiplatformV1IndexDatapointCrowdingTag", +"properties": { +"crowdingAttribute": { +"description": "The attribute value used for crowding. The maximum number of neighbors to return per crowding attribute value (per_crowding_attribute_num_neighbors) is configured per-query. This field is ignored if per_crowding_attribute_num_neighbors is larger than the total number of neighbors to return for a given query.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1IndexDatapointNumericRestriction": { +"description": "This field allows restricts to be based on numeric comparisons rather than categorical tokens.", +"id": "GoogleCloudAiplatformV1IndexDatapointNumericRestriction", +"properties": { +"namespace": { +"description": "The namespace of this restriction. e.g.: cost.", +"type": "string" +}, +"op": { +"description": "This MUST be specified for queries and must NOT be specified for datapoints.", +"enum": [ +"OPERATOR_UNSPECIFIED", +"LESS", +"LESS_EQUAL", +"EQUAL", +"GREATER_EQUAL", +"GREATER", +"NOT_EQUAL" +], +"enumDescriptions": [ +"Default value of the enum.", +"Datapoints are eligible iff their value is < the query's.", +"Datapoints are eligible iff their value is <= the query's.", +"Datapoints are eligible iff their value is == the query's.", +"Datapoints are eligible iff their value is >= the query's.", +"Datapoints are eligible iff their value is > the query's.", +"Datapoints are eligible iff their value is != the query's." +], +"type": "string" +}, +"valueDouble": { +"description": "Represents 64 bit float.", +"format": "double", +"type": "number" +}, +"valueFloat": { +"description": "Represents 32 bit float.", +"format": "float", +"type": "number" +}, +"valueInt": { +"description": "Represents 64 bit integer.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1IndexDatapointRestriction": { +"description": "Restriction of a datapoint which describe its attributes(tokens) from each of several attribute categories(namespaces).", +"id": "GoogleCloudAiplatformV1IndexDatapointRestriction", +"properties": { +"allowList": { +"description": "The attributes to allow in this namespace. e.g.: 'red'", +"items": { +"type": "string" +}, +"type": "array" +}, +"denyList": { +"description": "The attributes to deny in this namespace. e.g.: 'blue'", +"items": { +"type": "string" +}, +"type": "array" +}, +"namespace": { +"description": "The namespace of this restriction. e.g.: color.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1IndexDatapointSparseEmbedding": { +"description": "Feature embedding vector for sparse index. An array of numbers whose values are located in the specified dimensions.", +"id": "GoogleCloudAiplatformV1IndexDatapointSparseEmbedding", +"properties": { +"dimensions": { +"description": "Required. The list of indexes for the embedding values of the sparse vector.", +"items": { +"format": "int64", +"type": "string" +}, +"type": "array" +}, +"values": { +"description": "Required. The list of embedding values of the sparse vector.", +"items": { +"format": "float", +"type": "number" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1IndexEndpoint": { +"description": "Indexes are deployed into it. An IndexEndpoint can have multiple DeployedIndexes.", +"id": "GoogleCloudAiplatformV1IndexEndpoint", +"properties": { +"createTime": { +"description": "Output only. Timestamp when this IndexEndpoint was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"deployedIndexes": { +"description": "Output only. The indexes deployed in this endpoint.", +"items": { +"$ref": "GoogleCloudAiplatformV1DeployedIndex" +}, +"readOnly": true, +"type": "array" +}, +"description": { +"description": "The description of the IndexEndpoint.", +"type": "string" +}, +"displayName": { +"description": "Required. The display name of the IndexEndpoint. The name can be up to 128 characters long and can consist of any UTF-8 characters.", +"type": "string" +}, +"enablePrivateServiceConnect": { +"deprecated": true, +"description": "Optional. Deprecated: If true, expose the IndexEndpoint via private service connect. Only one of the fields, network or enable_private_service_connect, can be set.", +"type": "boolean" +}, +"encryptionSpec": { +"$ref": "GoogleCloudAiplatformV1EncryptionSpec", +"description": "Immutable. Customer-managed encryption key spec for an IndexEndpoint. If set, this IndexEndpoint and all sub-resources of this IndexEndpoint will be secured by this key." +}, +"etag": { +"description": "Used to perform consistent read-modify-write updates. If not set, a blind \"overwrite\" update happens.", +"type": "string" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "The labels with user-defined metadata to organize your IndexEndpoints. Label keys and values can be no longer than 64 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. See https://goo.gl/xmQnxf for more information and examples of labels.", +"type": "object" +}, +"name": { +"description": "Output only. The resource name of the IndexEndpoint.", +"readOnly": true, +"type": "string" +}, +"network": { +"description": "Optional. The full name of the Google Compute Engine [network](https://cloud.google.com/compute/docs/networks-and-firewalls#networks) to which the IndexEndpoint should be peered. Private services access must already be configured for the network. If left unspecified, the Endpoint is not peered with any network. network and private_service_connect_config are mutually exclusive. [Format](https://cloud.google.com/compute/docs/reference/rest/v1/networks/insert): `projects/{project}/global/networks/{network}`. Where {project} is a project number, as in '12345', and {network} is network name.", +"type": "string" +}, +"privateServiceConnectConfig": { +"$ref": "GoogleCloudAiplatformV1PrivateServiceConnectConfig", +"description": "Optional. Configuration for private service connect. network and private_service_connect_config are mutually exclusive." +}, +"publicEndpointDomainName": { +"description": "Output only. If public_endpoint_enabled is true, this field will be populated with the domain name to use for this index endpoint.", +"readOnly": true, +"type": "string" +}, +"publicEndpointEnabled": { +"description": "Optional. If true, the deployed index will be accessible through public endpoint.", +"type": "boolean" +}, +"satisfiesPzi": { +"description": "Output only. Reserved for future use.", +"readOnly": true, +"type": "boolean" +}, +"satisfiesPzs": { +"description": "Output only. Reserved for future use.", +"readOnly": true, +"type": "boolean" +}, +"updateTime": { +"description": "Output only. Timestamp when this IndexEndpoint was last updated. This timestamp is not updated when the endpoint's DeployedIndexes are updated, e.g. due to updates of the original Indexes they are the deployments of.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1IndexPrivateEndpoints": { +"description": "IndexPrivateEndpoints proto is used to provide paths for users to send requests via private endpoints (e.g. private service access, private service connect). To send request via private service access, use match_grpc_address. To send request via private service connect, use service_attachment.", +"id": "GoogleCloudAiplatformV1IndexPrivateEndpoints", +"properties": { +"matchGrpcAddress": { +"description": "Output only. The ip address used to send match gRPC requests.", +"readOnly": true, +"type": "string" +}, +"pscAutomatedEndpoints": { +"description": "Output only. PscAutomatedEndpoints is populated if private service connect is enabled if PscAutomatedConfig is set.", +"items": { +"$ref": "GoogleCloudAiplatformV1PscAutomatedEndpoints" +}, +"readOnly": true, +"type": "array" +}, +"serviceAttachment": { +"description": "Output only. The name of the service attachment resource. Populated if private service connect is enabled.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1IndexStats": { +"description": "Stats of the Index.", +"id": "GoogleCloudAiplatformV1IndexStats", +"properties": { +"shardsCount": { +"description": "Output only. The number of shards in the Index.", +"format": "int32", +"readOnly": true, +"type": "integer" +}, +"sparseVectorsCount": { +"description": "Output only. The number of sparse vectors in the Index.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"vectorsCount": { +"description": "Output only. The number of dense vectors in the Index.", +"format": "int64", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1InputDataConfig": { +"description": "Specifies Vertex AI owned input data to be used for training, and possibly evaluating, the Model.", +"id": "GoogleCloudAiplatformV1InputDataConfig", +"properties": { +"annotationSchemaUri": { +"description": "Applicable only to custom training with Datasets that have DataItems and Annotations. Cloud Storage URI that points to a YAML file describing the annotation schema. The schema is defined as an OpenAPI 3.0.2 [Schema Object](https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.0.2.md#schemaObject). The schema files that can be used here are found in gs://google-cloud-aiplatform/schema/dataset/annotation/ , note that the chosen schema must be consistent with metadata of the Dataset specified by dataset_id. Only Annotations that both match this schema and belong to DataItems not ignored by the split method are used in respectively training, validation or test role, depending on the role of the DataItem they are on. When used in conjunction with annotations_filter, the Annotations used for training are filtered by both annotations_filter and annotation_schema_uri.", +"type": "string" +}, +"annotationsFilter": { +"description": "Applicable only to Datasets that have DataItems and Annotations. A filter on Annotations of the Dataset. Only Annotations that both match this filter and belong to DataItems not ignored by the split method are used in respectively training, validation or test role, depending on the role of the DataItem they are on (for the auto-assigned that role is decided by Vertex AI). A filter with same syntax as the one used in ListAnnotations may be used, but note here it filters across all Annotations of the Dataset, and not just within a single DataItem.", +"type": "string" +}, +"bigqueryDestination": { +"$ref": "GoogleCloudAiplatformV1BigQueryDestination", +"description": "Only applicable to custom training with tabular Dataset with BigQuery source. The BigQuery project location where the training data is to be written to. In the given project a new dataset is created with name `dataset___` where timestamp is in YYYY_MM_DDThh_mm_ss_sssZ format. All training input data is written into that dataset. In the dataset three tables are created, `training`, `validation` and `test`. * AIP_DATA_FORMAT = \"bigquery\". * AIP_TRAINING_DATA_URI = \"bigquery_destination.dataset___.training\" * AIP_VALIDATION_DATA_URI = \"bigquery_destination.dataset___.validation\" * AIP_TEST_DATA_URI = \"bigquery_destination.dataset___.test\"" +}, +"datasetId": { +"description": "Required. The ID of the Dataset in the same Project and Location which data will be used to train the Model. The Dataset must use schema compatible with Model being trained, and what is compatible should be described in the used TrainingPipeline's training_task_definition. For tabular Datasets, all their data is exported to training, to pick and choose from.", +"type": "string" +}, +"filterSplit": { +"$ref": "GoogleCloudAiplatformV1FilterSplit", +"description": "Split based on the provided filters for each set." +}, +"fractionSplit": { +"$ref": "GoogleCloudAiplatformV1FractionSplit", +"description": "Split based on fractions defining the size of each set." +}, +"gcsDestination": { +"$ref": "GoogleCloudAiplatformV1GcsDestination", +"description": "The Cloud Storage location where the training data is to be written to. In the given directory a new directory is created with name: `dataset---` where timestamp is in YYYY-MM-DDThh:mm:ss.sssZ ISO-8601 format. All training input data is written into that directory. 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---/training-*.${AIP_DATA_FORMAT}\" * AIP_VALIDATION_DATA_URI = \"gcs_destination/dataset---/validation-*.${AIP_DATA_FORMAT}\" * AIP_TEST_DATA_URI = \"gcs_destination/dataset---/test-*.${AIP_DATA_FORMAT}\"" +}, +"persistMlUseAssignment": { +"description": "Whether to persist the ML use assignment to data item system labels.", +"type": "boolean" +}, +"predefinedSplit": { +"$ref": "GoogleCloudAiplatformV1PredefinedSplit", +"description": "Supported only for tabular Datasets. Split based on a predefined key." +}, +"savedQueryId": { +"description": "Only applicable to Datasets that have SavedQueries. The ID of a SavedQuery (annotation set) under the Dataset specified by dataset_id used for filtering Annotations for training. Only Annotations that are associated with this SavedQuery are used in respectively training. When used in conjunction with annotations_filter, the Annotations used for training are filtered by both saved_query_id and annotations_filter. Only one of saved_query_id and annotation_schema_uri should be specified as both of them represent the same thing: problem type.", +"type": "string" +}, +"stratifiedSplit": { +"$ref": "GoogleCloudAiplatformV1StratifiedSplit", +"description": "Supported only for tabular Datasets. Split based on the distribution of the specified column." +}, +"timestampSplit": { +"$ref": "GoogleCloudAiplatformV1TimestampSplit", +"description": "Supported only for tabular Datasets. Split based on the timestamp of the input data pieces." +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1Int64Array": { +"description": "A list of int64 values.", +"id": "GoogleCloudAiplatformV1Int64Array", +"properties": { +"values": { +"description": "A list of int64 values.", +"items": { +"format": "int64", +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1IntegratedGradientsAttribution": { +"description": "An attribution method that computes the Aumann-Shapley value taking advantage of the model's fully differentiable structure. Refer to this paper for more details: https://arxiv.org/abs/1703.01365", +"id": "GoogleCloudAiplatformV1IntegratedGradientsAttribution", +"properties": { +"blurBaselineConfig": { +"$ref": "GoogleCloudAiplatformV1BlurBaselineConfig", +"description": "Config for IG with blur baseline. When enabled, a linear path from the maximally blurred image to the input image is created. Using a blurred baseline instead of zero (black image) is motivated by the BlurIG approach explained here: https://arxiv.org/abs/2004.03383" +}, +"smoothGradConfig": { +"$ref": "GoogleCloudAiplatformV1SmoothGradConfig", +"description": "Config for SmoothGrad approximation of gradients. When enabled, the gradients are approximated by averaging the gradients from noisy samples in the vicinity of the inputs. Adding noise can help improve the computed gradients. Refer to this paper for more details: https://arxiv.org/pdf/1706.03825.pdf" +}, +"stepCount": { +"description": "Required. The number of steps for approximating the path integral. A good value to start is 50 and gradually increase until the sum to diff property is within the desired error range. Valid range of its value is [1, 100], inclusively.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1IntermediateExtractedMemory": { +"description": "An extracted memory that is the intermediate result before consolidation.", +"id": "GoogleCloudAiplatformV1IntermediateExtractedMemory", +"properties": { +"fact": { +"description": "Output only. The fact of the extracted memory.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1InvokeRequest": { +"description": "Request message for PredictionService.Invoke.", +"id": "GoogleCloudAiplatformV1InvokeRequest", +"properties": { +"deployedModelId": { +"description": "ID of the DeployedModel that serves the invoke request.", +"type": "string" +}, +"httpBody": { +"$ref": "GoogleApiHttpBody", +"description": "The invoke method input. Supports HTTP headers and arbitrary data payload." +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1JiraSource": { +"description": "The Jira source for the ImportRagFilesRequest.", +"id": "GoogleCloudAiplatformV1JiraSource", +"properties": { +"jiraQueries": { +"description": "Required. The Jira queries.", +"items": { +"$ref": "GoogleCloudAiplatformV1JiraSourceJiraQueries" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1JiraSourceJiraQueries": { +"description": "JiraQueries contains the Jira queries and corresponding authentication.", +"id": "GoogleCloudAiplatformV1JiraSourceJiraQueries", +"properties": { +"apiKeyConfig": { +"$ref": "GoogleCloudAiplatformV1ApiAuthApiKeyConfig", +"description": "Required. The SecretManager secret version resource name (e.g. projects/{project}/secrets/{secret}/versions/{version}) storing the Jira API key. See [Manage API tokens for your Atlassian account](https://support.atlassian.com/atlassian-account/docs/manage-api-tokens-for-your-atlassian-account/)." +}, +"customQueries": { +"description": "A list of custom Jira queries to import. For information about JQL (Jira Query Language), see https://support.atlassian.com/jira-service-management-cloud/docs/use-advanced-search-with-jira-query-language-jql/", +"items": { +"type": "string" +}, +"type": "array" +}, +"email": { +"description": "Required. The Jira email address.", +"type": "string" +}, +"projects": { +"description": "A list of Jira projects to import in their entirety.", +"items": { +"type": "string" +}, +"type": "array" +}, +"serverUri": { +"description": "Required. The Jira server URI.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1LLMBasedMetricSpec": { +"description": "Specification for an LLM based metric.", +"id": "GoogleCloudAiplatformV1LLMBasedMetricSpec", +"properties": { +"additionalConfig": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"description": "Optional. Optional additional configuration for the metric.", +"type": "object" +}, +"judgeAutoraterConfig": { +"$ref": "GoogleCloudAiplatformV1AutoraterConfig", +"description": "Optional. Optional configuration for the judge LLM (Autorater)." +}, +"metricPromptTemplate": { +"description": "Required. Template for the prompt sent to the judge model.", +"type": "string" +}, +"predefinedRubricGenerationSpec": { +"$ref": "GoogleCloudAiplatformV1PredefinedMetricSpec", +"description": "Dynamically generate rubrics using a predefined spec." +}, +"rubricGenerationSpec": { +"$ref": "GoogleCloudAiplatformV1RubricGenerationSpec", +"description": "Dynamically generate rubrics using this specification." +}, +"rubricGroupKey": { +"description": "Use a pre-defined group of rubrics associated with the input. Refers to a key in the rubric_groups map of EvaluationInstance.", +"type": "string" +}, +"systemInstruction": { +"description": "Optional. System instructions for the judge model.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1LargeModelReference": { +"description": "Contains information about the Large Model.", +"id": "GoogleCloudAiplatformV1LargeModelReference", +"properties": { +"name": { +"description": "Required. The unique name of the large Foundation or pre-built model. Like \"chat-bison\", \"text-bison\". Or model name with version ID, like \"chat-bison@001\", \"text-bison@005\", etc.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1LineageSubgraph": { +"description": "A subgraph of the overall lineage graph. Event edges connect Artifact and Execution nodes.", +"id": "GoogleCloudAiplatformV1LineageSubgraph", +"properties": { +"artifacts": { +"description": "The Artifact nodes in the subgraph.", +"items": { +"$ref": "GoogleCloudAiplatformV1Artifact" +}, +"type": "array" +}, +"events": { +"description": "The Event edges between Artifacts and Executions in the subgraph.", +"items": { +"$ref": "GoogleCloudAiplatformV1Event" +}, +"type": "array" +}, +"executions": { +"description": "The Execution nodes in the subgraph.", +"items": { +"$ref": "GoogleCloudAiplatformV1Execution" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1ListAnnotationsResponse": { +"description": "Response message for DatasetService.ListAnnotations.", +"id": "GoogleCloudAiplatformV1ListAnnotationsResponse", +"properties": { +"annotations": { +"description": "A list of Annotations that matches the specified filter in the request.", +"items": { +"$ref": "GoogleCloudAiplatformV1Annotation" +}, +"type": "array" +}, +"nextPageToken": { +"description": "The standard List next-page token.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1ListArtifactsResponse": { +"description": "Response message for MetadataService.ListArtifacts.", +"id": "GoogleCloudAiplatformV1ListArtifactsResponse", +"properties": { +"artifacts": { +"description": "The Artifacts retrieved from the MetadataStore.", +"items": { +"$ref": "GoogleCloudAiplatformV1Artifact" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A token, which can be sent as ListArtifactsRequest.page_token to retrieve the next page. If this field is not populated, there are no subsequent pages.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1ListBatchPredictionJobsResponse": { +"description": "Response message for JobService.ListBatchPredictionJobs", +"id": "GoogleCloudAiplatformV1ListBatchPredictionJobsResponse", +"properties": { +"batchPredictionJobs": { +"description": "List of BatchPredictionJobs in the requested page.", +"items": { +"$ref": "GoogleCloudAiplatformV1BatchPredictionJob" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A token to retrieve the next page of results. Pass to ListBatchPredictionJobsRequest.page_token to obtain that page.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1ListCachedContentsResponse": { +"description": "Response with a list of CachedContents.", +"id": "GoogleCloudAiplatformV1ListCachedContentsResponse", +"properties": { +"cachedContents": { +"description": "List of cached contents.", +"items": { +"$ref": "GoogleCloudAiplatformV1CachedContent" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1ListContextsResponse": { +"description": "Response message for MetadataService.ListContexts.", +"id": "GoogleCloudAiplatformV1ListContextsResponse", +"properties": { +"contexts": { +"description": "The Contexts retrieved from the MetadataStore.", +"items": { +"$ref": "GoogleCloudAiplatformV1Context" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A token, which can be sent as ListContextsRequest.page_token to retrieve the next page. If this field is not populated, there are no subsequent pages.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1ListCustomJobsResponse": { +"description": "Response message for JobService.ListCustomJobs", +"id": "GoogleCloudAiplatformV1ListCustomJobsResponse", +"properties": { +"customJobs": { +"description": "List of CustomJobs in the requested page.", +"items": { +"$ref": "GoogleCloudAiplatformV1CustomJob" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A token to retrieve the next page of results. Pass to ListCustomJobsRequest.page_token to obtain that page.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1ListDataItemsResponse": { +"description": "Response message for DatasetService.ListDataItems.", +"id": "GoogleCloudAiplatformV1ListDataItemsResponse", +"properties": { +"dataItems": { +"description": "A list of DataItems that matches the specified filter in the request.", +"items": { +"$ref": "GoogleCloudAiplatformV1DataItem" +}, +"type": "array" +}, +"nextPageToken": { +"description": "The standard List next-page token.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1ListDataLabelingJobsResponse": { +"description": "Response message for JobService.ListDataLabelingJobs.", +"id": "GoogleCloudAiplatformV1ListDataLabelingJobsResponse", +"properties": { +"dataLabelingJobs": { +"description": "A list of DataLabelingJobs that matches the specified filter in the request.", +"items": { +"$ref": "GoogleCloudAiplatformV1DataLabelingJob" +}, +"type": "array" +}, +"nextPageToken": { +"description": "The standard List next-page token.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1ListDatasetVersionsResponse": { +"description": "Response message for DatasetService.ListDatasetVersions.", +"id": "GoogleCloudAiplatformV1ListDatasetVersionsResponse", +"properties": { +"datasetVersions": { +"description": "A list of DatasetVersions that matches the specified filter in the request.", +"items": { +"$ref": "GoogleCloudAiplatformV1DatasetVersion" +}, +"type": "array" +}, +"nextPageToken": { +"description": "The standard List next-page token.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1ListDatasetsResponse": { +"description": "Response message for DatasetService.ListDatasets.", +"id": "GoogleCloudAiplatformV1ListDatasetsResponse", +"properties": { +"datasets": { +"description": "A list of Datasets that matches the specified filter in the request.", +"items": { +"$ref": "GoogleCloudAiplatformV1Dataset" +}, +"type": "array" +}, +"nextPageToken": { +"description": "The standard List next-page token.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1ListDeploymentResourcePoolsResponse": { +"description": "Response message for ListDeploymentResourcePools method.", +"id": "GoogleCloudAiplatformV1ListDeploymentResourcePoolsResponse", +"properties": { +"deploymentResourcePools": { +"description": "The DeploymentResourcePools from the specified location.", +"items": { +"$ref": "GoogleCloudAiplatformV1DeploymentResourcePool" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1ListEndpointsResponse": { +"description": "Response message for EndpointService.ListEndpoints.", +"id": "GoogleCloudAiplatformV1ListEndpointsResponse", +"properties": { +"endpoints": { +"description": "List of Endpoints in the requested page.", +"items": { +"$ref": "GoogleCloudAiplatformV1Endpoint" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A token to retrieve the next page of results. Pass to ListEndpointsRequest.page_token to obtain that page.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1ListEntityTypesResponse": { +"description": "Response message for FeaturestoreService.ListEntityTypes.", +"id": "GoogleCloudAiplatformV1ListEntityTypesResponse", +"properties": { +"entityTypes": { +"description": "The EntityTypes matching the request.", +"items": { +"$ref": "GoogleCloudAiplatformV1EntityType" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A token, which can be sent as ListEntityTypesRequest.page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1ListEvaluationItemsResponse": { +"description": "Response message for EvaluationManagementService.ListEvaluationItems.", +"id": "GoogleCloudAiplatformV1ListEvaluationItemsResponse", +"properties": { +"evaluationItems": { +"description": "List of EvaluationItems in the requested page.", +"items": { +"$ref": "GoogleCloudAiplatformV1EvaluationItem" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A token to retrieve the next page of results.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1ListEvaluationRunsResponse": { +"description": "Response message for EvaluationManagementService.ListEvaluationRuns.", +"id": "GoogleCloudAiplatformV1ListEvaluationRunsResponse", +"properties": { +"evaluationRuns": { +"description": "List of EvaluationRuns in the requested page.", +"items": { +"$ref": "GoogleCloudAiplatformV1EvaluationRun" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A token to retrieve the next page of results.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1ListEvaluationSetsResponse": { +"description": "Response message for EvaluationManagementService.ListEvaluationSets.", +"id": "GoogleCloudAiplatformV1ListEvaluationSetsResponse", +"properties": { +"evaluationSets": { +"description": "List of EvaluationSets in the requested page.", +"items": { +"$ref": "GoogleCloudAiplatformV1EvaluationSet" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A token to retrieve the next page of results.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1ListEventsResponse": { +"description": "Response message for SessionService.ListEvents.", +"id": "GoogleCloudAiplatformV1ListEventsResponse", +"properties": { +"nextPageToken": { +"description": "A token, which can be sent as ListEventsRequest.page_token to retrieve the next page. Absence of this field indicates there are no subsequent pages.", +"type": "string" +}, +"sessionEvents": { +"description": "A list of events matching the request. Ordered by timestamp in ascending order.", +"items": { +"$ref": "GoogleCloudAiplatformV1SessionEvent" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1ListExecutionsResponse": { +"description": "Response message for MetadataService.ListExecutions.", +"id": "GoogleCloudAiplatformV1ListExecutionsResponse", +"properties": { +"executions": { +"description": "The Executions retrieved from the MetadataStore.", +"items": { +"$ref": "GoogleCloudAiplatformV1Execution" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A token, which can be sent as ListExecutionsRequest.page_token to retrieve the next page. If this field is not populated, there are no subsequent pages.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1ListFeatureGroupsResponse": { +"description": "Response message for FeatureRegistryService.ListFeatureGroups.", +"id": "GoogleCloudAiplatformV1ListFeatureGroupsResponse", +"properties": { +"featureGroups": { +"description": "The FeatureGroups matching the request.", +"items": { +"$ref": "GoogleCloudAiplatformV1FeatureGroup" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A token, which can be sent as ListFeatureGroupsRequest.page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1ListFeatureOnlineStoresResponse": { +"description": "Response message for FeatureOnlineStoreAdminService.ListFeatureOnlineStores.", +"id": "GoogleCloudAiplatformV1ListFeatureOnlineStoresResponse", +"properties": { +"featureOnlineStores": { +"description": "The FeatureOnlineStores matching the request.", +"items": { +"$ref": "GoogleCloudAiplatformV1FeatureOnlineStore" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A token, which can be sent as ListFeatureOnlineStoresRequest.page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1ListFeatureViewSyncsResponse": { +"description": "Response message for FeatureOnlineStoreAdminService.ListFeatureViewSyncs.", +"id": "GoogleCloudAiplatformV1ListFeatureViewSyncsResponse", +"properties": { +"featureViewSyncs": { +"description": "The FeatureViewSyncs matching the request.", +"items": { +"$ref": "GoogleCloudAiplatformV1FeatureViewSync" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A token, which can be sent as ListFeatureViewSyncsRequest.page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1ListFeatureViewsResponse": { +"description": "Response message for FeatureOnlineStoreAdminService.ListFeatureViews.", +"id": "GoogleCloudAiplatformV1ListFeatureViewsResponse", +"properties": { +"featureViews": { +"description": "The FeatureViews matching the request.", +"items": { +"$ref": "GoogleCloudAiplatformV1FeatureView" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A token, which can be sent as ListFeatureViewsRequest.page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1ListFeaturesResponse": { +"description": "Response message for FeaturestoreService.ListFeatures. Response message for FeatureRegistryService.ListFeatures.", +"id": "GoogleCloudAiplatformV1ListFeaturesResponse", +"properties": { +"features": { +"description": "The Features matching the request.", +"items": { +"$ref": "GoogleCloudAiplatformV1Feature" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A token, which can be sent as ListFeaturesRequest.page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1ListFeaturestoresResponse": { +"description": "Response message for FeaturestoreService.ListFeaturestores.", +"id": "GoogleCloudAiplatformV1ListFeaturestoresResponse", +"properties": { +"featurestores": { +"description": "The Featurestores matching the request.", +"items": { +"$ref": "GoogleCloudAiplatformV1Featurestore" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A token, which can be sent as ListFeaturestoresRequest.page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1ListHyperparameterTuningJobsResponse": { +"description": "Response message for JobService.ListHyperparameterTuningJobs", +"id": "GoogleCloudAiplatformV1ListHyperparameterTuningJobsResponse", +"properties": { +"hyperparameterTuningJobs": { +"description": "List of HyperparameterTuningJobs in the requested page. HyperparameterTuningJob.trials of the jobs will be not be returned.", +"items": { +"$ref": "GoogleCloudAiplatformV1HyperparameterTuningJob" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A token to retrieve the next page of results. Pass to ListHyperparameterTuningJobsRequest.page_token to obtain that page.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1ListIndexEndpointsResponse": { +"description": "Response message for IndexEndpointService.ListIndexEndpoints.", +"id": "GoogleCloudAiplatformV1ListIndexEndpointsResponse", +"properties": { +"indexEndpoints": { +"description": "List of IndexEndpoints in the requested page.", +"items": { +"$ref": "GoogleCloudAiplatformV1IndexEndpoint" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A token to retrieve next page of results. Pass to ListIndexEndpointsRequest.page_token to obtain that page.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1ListIndexesResponse": { +"description": "Response message for IndexService.ListIndexes.", +"id": "GoogleCloudAiplatformV1ListIndexesResponse", +"properties": { +"indexes": { +"description": "List of indexes in the requested page.", +"items": { +"$ref": "GoogleCloudAiplatformV1Index" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A token to retrieve next page of results. Pass to ListIndexesRequest.page_token to obtain that page.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1ListMemoriesResponse": { +"description": "Response message for MemoryBankService.ListMemories.", +"id": "GoogleCloudAiplatformV1ListMemoriesResponse", +"properties": { +"memories": { +"description": "List of Memories in the requested page.", +"items": { +"$ref": "GoogleCloudAiplatformV1Memory" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A token to retrieve the next page of results. Pass to ListMemoriesRequest.page_token to obtain that page.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1ListMemoryRevisionsResponse": { +"description": "Response message for MemoryBankService.ListMemoryRevisions.", +"id": "GoogleCloudAiplatformV1ListMemoryRevisionsResponse", +"properties": { +"memoryRevisions": { +"description": "The list of Memory Revisions in the request page.", +"items": { +"$ref": "GoogleCloudAiplatformV1MemoryRevision" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1ListMetadataSchemasResponse": { +"description": "Response message for MetadataService.ListMetadataSchemas.", +"id": "GoogleCloudAiplatformV1ListMetadataSchemasResponse", +"properties": { +"metadataSchemas": { +"description": "The MetadataSchemas found for the MetadataStore.", +"items": { +"$ref": "GoogleCloudAiplatformV1MetadataSchema" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A token, which can be sent as ListMetadataSchemasRequest.page_token to retrieve the next page. If this field is not populated, there are no subsequent pages.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1ListMetadataStoresResponse": { +"description": "Response message for MetadataService.ListMetadataStores.", +"id": "GoogleCloudAiplatformV1ListMetadataStoresResponse", +"properties": { +"metadataStores": { +"description": "The MetadataStores found for the Location.", +"items": { +"$ref": "GoogleCloudAiplatformV1MetadataStore" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A token, which can be sent as ListMetadataStoresRequest.page_token to retrieve the next page. If this field is not populated, there are no subsequent pages.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1ListModelDeploymentMonitoringJobsResponse": { +"description": "Response message for JobService.ListModelDeploymentMonitoringJobs.", +"id": "GoogleCloudAiplatformV1ListModelDeploymentMonitoringJobsResponse", +"properties": { +"modelDeploymentMonitoringJobs": { +"description": "A list of ModelDeploymentMonitoringJobs that matches the specified filter in the request.", +"items": { +"$ref": "GoogleCloudAiplatformV1ModelDeploymentMonitoringJob" +}, +"type": "array" +}, +"nextPageToken": { +"description": "The standard List next-page token.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1ListModelEvaluationSlicesResponse": { +"description": "Response message for ModelService.ListModelEvaluationSlices.", +"id": "GoogleCloudAiplatformV1ListModelEvaluationSlicesResponse", +"properties": { +"modelEvaluationSlices": { +"description": "List of ModelEvaluations in the requested page.", +"items": { +"$ref": "GoogleCloudAiplatformV1ModelEvaluationSlice" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A token to retrieve next page of results. Pass to ListModelEvaluationSlicesRequest.page_token to obtain that page.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1ListModelEvaluationsResponse": { +"description": "Response message for ModelService.ListModelEvaluations.", +"id": "GoogleCloudAiplatformV1ListModelEvaluationsResponse", +"properties": { +"modelEvaluations": { +"description": "List of ModelEvaluations in the requested page.", +"items": { +"$ref": "GoogleCloudAiplatformV1ModelEvaluation" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A token to retrieve next page of results. Pass to ListModelEvaluationsRequest.page_token to obtain that page.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1ListModelVersionCheckpointsResponse": { +"description": "Response message for ModelService.ListModelVersionCheckpoints", +"id": "GoogleCloudAiplatformV1ListModelVersionCheckpointsResponse", +"properties": { +"checkpoints": { +"description": "List of Model Version checkpoints.", +"items": { +"$ref": "GoogleCloudAiplatformV1ModelVersionCheckpoint" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A token to retrieve the next page of results. Pass to ListModelVersionCheckpointsRequest.page_token to obtain that page.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1ListModelVersionsResponse": { +"description": "Response message for ModelService.ListModelVersions", +"id": "GoogleCloudAiplatformV1ListModelVersionsResponse", +"properties": { +"models": { +"description": "List of Model versions in the requested page. In the returned Model name field, version ID instead of regvision tag will be included.", +"items": { +"$ref": "GoogleCloudAiplatformV1Model" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A token to retrieve the next page of results. Pass to ListModelVersionsRequest.page_token to obtain that page.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1ListModelsResponse": { +"description": "Response message for ModelService.ListModels", +"id": "GoogleCloudAiplatformV1ListModelsResponse", +"properties": { +"models": { +"description": "List of Models in the requested page.", +"items": { +"$ref": "GoogleCloudAiplatformV1Model" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A token to retrieve next page of results. Pass to ListModelsRequest.page_token to obtain that page.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1ListNasJobsResponse": { +"description": "Response message for JobService.ListNasJobs", +"id": "GoogleCloudAiplatformV1ListNasJobsResponse", +"properties": { +"nasJobs": { +"description": "List of NasJobs in the requested page. NasJob.nas_job_output of the jobs will not be returned.", +"items": { +"$ref": "GoogleCloudAiplatformV1NasJob" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A token to retrieve the next page of results. Pass to ListNasJobsRequest.page_token to obtain that page.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1ListNasTrialDetailsResponse": { +"description": "Response message for JobService.ListNasTrialDetails", +"id": "GoogleCloudAiplatformV1ListNasTrialDetailsResponse", +"properties": { +"nasTrialDetails": { +"description": "List of top NasTrials in the requested page.", +"items": { +"$ref": "GoogleCloudAiplatformV1NasTrialDetail" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A token to retrieve the next page of results. Pass to ListNasTrialDetailsRequest.page_token to obtain that page.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1ListNotebookExecutionJobsResponse": { +"description": "Response message for [NotebookService.CreateNotebookExecutionJob]", +"id": "GoogleCloudAiplatformV1ListNotebookExecutionJobsResponse", +"properties": { +"nextPageToken": { +"description": "A token to retrieve next page of results. Pass to ListNotebookExecutionJobsRequest.page_token to obtain that page.", +"type": "string" +}, +"notebookExecutionJobs": { +"description": "List of NotebookExecutionJobs in the requested page.", +"items": { +"$ref": "GoogleCloudAiplatformV1NotebookExecutionJob" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1ListNotebookRuntimeTemplatesResponse": { +"description": "Response message for NotebookService.ListNotebookRuntimeTemplates.", +"id": "GoogleCloudAiplatformV1ListNotebookRuntimeTemplatesResponse", +"properties": { +"nextPageToken": { +"description": "A token to retrieve next page of results. Pass to ListNotebookRuntimeTemplatesRequest.page_token to obtain that page.", +"type": "string" +}, +"notebookRuntimeTemplates": { +"description": "List of NotebookRuntimeTemplates in the requested page.", +"items": { +"$ref": "GoogleCloudAiplatformV1NotebookRuntimeTemplate" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1ListNotebookRuntimesResponse": { +"description": "Response message for NotebookService.ListNotebookRuntimes.", +"id": "GoogleCloudAiplatformV1ListNotebookRuntimesResponse", +"properties": { +"nextPageToken": { +"description": "A token to retrieve next page of results. Pass to ListNotebookRuntimesRequest.page_token to obtain that page.", +"type": "string" +}, +"notebookRuntimes": { +"description": "List of NotebookRuntimes in the requested page.", +"items": { +"$ref": "GoogleCloudAiplatformV1NotebookRuntime" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1ListOptimalTrialsRequest": { +"description": "Request message for VizierService.ListOptimalTrials.", +"id": "GoogleCloudAiplatformV1ListOptimalTrialsRequest", +"properties": {}, +"type": "object" +}, +"GoogleCloudAiplatformV1ListOptimalTrialsResponse": { +"description": "Response message for VizierService.ListOptimalTrials.", +"id": "GoogleCloudAiplatformV1ListOptimalTrialsResponse", +"properties": { +"optimalTrials": { +"description": "The pareto-optimal Trials for multiple objective Study or the optimal trial for single objective Study. The definition of pareto-optimal can be checked in wiki page. https://en.wikipedia.org/wiki/Pareto_efficiency", +"items": { +"$ref": "GoogleCloudAiplatformV1Trial" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1ListPersistentResourcesResponse": { +"description": "Response message for PersistentResourceService.ListPersistentResources", +"id": "GoogleCloudAiplatformV1ListPersistentResourcesResponse", +"properties": { +"nextPageToken": { +"description": "A token to retrieve next page of results. Pass to ListPersistentResourcesRequest.page_token to obtain that page.", +"type": "string" +}, +"persistentResources": { +"items": { +"$ref": "GoogleCloudAiplatformV1PersistentResource" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1ListPipelineJobsResponse": { +"description": "Response message for PipelineService.ListPipelineJobs", +"id": "GoogleCloudAiplatformV1ListPipelineJobsResponse", +"properties": { +"nextPageToken": { +"description": "A token to retrieve the next page of results. Pass to ListPipelineJobsRequest.page_token to obtain that page.", +"type": "string" +}, +"pipelineJobs": { +"description": "List of PipelineJobs in the requested page.", +"items": { +"$ref": "GoogleCloudAiplatformV1PipelineJob" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1ListRagCorporaResponse": { +"description": "Response message for VertexRagDataService.ListRagCorpora.", +"id": "GoogleCloudAiplatformV1ListRagCorporaResponse", +"properties": { +"nextPageToken": { +"description": "A token to retrieve the next page of results. Pass to ListRagCorporaRequest.page_token to obtain that page.", +"type": "string" +}, +"ragCorpora": { +"description": "List of RagCorpora in the requested page.", +"items": { +"$ref": "GoogleCloudAiplatformV1RagCorpus" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1ListRagFilesResponse": { +"description": "Response message for VertexRagDataService.ListRagFiles.", +"id": "GoogleCloudAiplatformV1ListRagFilesResponse", +"properties": { +"nextPageToken": { +"description": "A token to retrieve the next page of results. Pass to ListRagFilesRequest.page_token to obtain that page.", +"type": "string" +}, +"ragFiles": { +"description": "List of RagFiles in the requested page.", +"items": { +"$ref": "GoogleCloudAiplatformV1RagFile" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1ListReasoningEnginesResponse": { +"description": "Response message for ReasoningEngineService.ListReasoningEngines", +"id": "GoogleCloudAiplatformV1ListReasoningEnginesResponse", +"properties": { +"nextPageToken": { +"description": "A token to retrieve the next page of results. Pass to ListReasoningEnginesRequest.page_token to obtain that page.", +"type": "string" +}, +"reasoningEngines": { +"description": "List of ReasoningEngines in the requested page.", +"items": { +"$ref": "GoogleCloudAiplatformV1ReasoningEngine" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1ListSandboxEnvironmentsResponse": { +"description": "Response message for SandboxEnvironmentService.ListSandboxEnvironments.", +"id": "GoogleCloudAiplatformV1ListSandboxEnvironmentsResponse", +"properties": { +"nextPageToken": { +"description": "A token, which can be sent as ListSandboxEnvironmentsRequest.page_token to retrieve the next page. Absence of this field indicates there are no subsequent pages.", +"type": "string" +}, +"sandboxEnvironments": { +"description": "The SandboxEnvironments matching the request.", +"items": { +"$ref": "GoogleCloudAiplatformV1SandboxEnvironment" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1ListSavedQueriesResponse": { +"description": "Response message for DatasetService.ListSavedQueries.", +"id": "GoogleCloudAiplatformV1ListSavedQueriesResponse", +"properties": { +"nextPageToken": { +"description": "The standard List next-page token.", +"type": "string" +}, +"savedQueries": { +"description": "A list of SavedQueries that match the specified filter in the request.", +"items": { +"$ref": "GoogleCloudAiplatformV1SavedQuery" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1ListSchedulesResponse": { +"description": "Response message for ScheduleService.ListSchedules", +"id": "GoogleCloudAiplatformV1ListSchedulesResponse", +"properties": { +"nextPageToken": { +"description": "A token to retrieve the next page of results. Pass to ListSchedulesRequest.page_token to obtain that page.", +"type": "string" +}, +"schedules": { +"description": "List of Schedules in the requested page.", +"items": { +"$ref": "GoogleCloudAiplatformV1Schedule" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1ListSessionsResponse": { +"description": "Response message for SessionService.ListSessions.", +"id": "GoogleCloudAiplatformV1ListSessionsResponse", +"properties": { +"nextPageToken": { +"description": "A token, which can be sent as ListSessionsRequest.page_token to retrieve the next page. Absence of this field indicates there are no subsequent pages.", +"type": "string" +}, +"sessions": { +"description": "A list of sessions matching the request.", +"items": { +"$ref": "GoogleCloudAiplatformV1Session" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1ListSpecialistPoolsResponse": { +"description": "Response message for SpecialistPoolService.ListSpecialistPools.", +"id": "GoogleCloudAiplatformV1ListSpecialistPoolsResponse", +"properties": { +"nextPageToken": { +"description": "The standard List next-page token.", +"type": "string" +}, +"specialistPools": { +"description": "A list of SpecialistPools that matches the specified filter in the request.", +"items": { +"$ref": "GoogleCloudAiplatformV1SpecialistPool" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1ListStudiesResponse": { +"description": "Response message for VizierService.ListStudies.", +"id": "GoogleCloudAiplatformV1ListStudiesResponse", +"properties": { +"nextPageToken": { +"description": "Passes this token as the `page_token` field of the request for a subsequent call. If this field is omitted, there are no subsequent pages.", +"type": "string" +}, +"studies": { +"description": "The studies associated with the project.", +"items": { +"$ref": "GoogleCloudAiplatformV1Study" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1ListTensorboardExperimentsResponse": { +"description": "Response message for TensorboardService.ListTensorboardExperiments.", +"id": "GoogleCloudAiplatformV1ListTensorboardExperimentsResponse", +"properties": { +"nextPageToken": { +"description": "A token, which can be sent as ListTensorboardExperimentsRequest.page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.", +"type": "string" +}, +"tensorboardExperiments": { +"description": "The TensorboardExperiments mathching the request.", +"items": { +"$ref": "GoogleCloudAiplatformV1TensorboardExperiment" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1ListTensorboardRunsResponse": { +"description": "Response message for TensorboardService.ListTensorboardRuns.", +"id": "GoogleCloudAiplatformV1ListTensorboardRunsResponse", +"properties": { +"nextPageToken": { +"description": "A token, which can be sent as ListTensorboardRunsRequest.page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.", +"type": "string" +}, +"tensorboardRuns": { +"description": "The TensorboardRuns mathching the request.", +"items": { +"$ref": "GoogleCloudAiplatformV1TensorboardRun" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1ListTensorboardTimeSeriesResponse": { +"description": "Response message for TensorboardService.ListTensorboardTimeSeries.", +"id": "GoogleCloudAiplatformV1ListTensorboardTimeSeriesResponse", +"properties": { +"nextPageToken": { +"description": "A token, which can be sent as ListTensorboardTimeSeriesRequest.page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.", +"type": "string" +}, +"tensorboardTimeSeries": { +"description": "The TensorboardTimeSeries mathching the request.", +"items": { +"$ref": "GoogleCloudAiplatformV1TensorboardTimeSeries" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1ListTensorboardsResponse": { +"description": "Response message for TensorboardService.ListTensorboards.", +"id": "GoogleCloudAiplatformV1ListTensorboardsResponse", +"properties": { +"nextPageToken": { +"description": "A token, which can be sent as ListTensorboardsRequest.page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.", +"type": "string" +}, +"tensorboards": { +"description": "The Tensorboards mathching the request.", +"items": { +"$ref": "GoogleCloudAiplatformV1Tensorboard" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1ListTrainingPipelinesResponse": { +"description": "Response message for PipelineService.ListTrainingPipelines", +"id": "GoogleCloudAiplatformV1ListTrainingPipelinesResponse", +"properties": { +"nextPageToken": { +"description": "A token to retrieve the next page of results. Pass to ListTrainingPipelinesRequest.page_token to obtain that page.", +"type": "string" +}, +"trainingPipelines": { +"description": "List of TrainingPipelines in the requested page.", +"items": { +"$ref": "GoogleCloudAiplatformV1TrainingPipeline" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1ListTrialsResponse": { +"description": "Response message for VizierService.ListTrials.", +"id": "GoogleCloudAiplatformV1ListTrialsResponse", +"properties": { +"nextPageToken": { +"description": "Pass this token as the `page_token` field of the request for a subsequent call. If this field is omitted, there are no subsequent pages.", +"type": "string" +}, +"trials": { +"description": "The Trials associated with the Study.", +"items": { +"$ref": "GoogleCloudAiplatformV1Trial" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1ListTuningJobsResponse": { +"description": "Response message for GenAiTuningService.ListTuningJobs", +"id": "GoogleCloudAiplatformV1ListTuningJobsResponse", +"properties": { +"nextPageToken": { +"description": "A token to retrieve the next page of results. Pass this token in a subsequent [GenAiTuningService.ListTuningJobs] call to retrieve the next page of results.", +"type": "string" +}, +"tuningJobs": { +"description": "The tuning jobs that match the request.", +"items": { +"$ref": "GoogleCloudAiplatformV1TuningJob" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1LogprobsResult": { +"description": "The log probabilities of the tokens generated by the model. This is useful for understanding the model's confidence in its predictions and for debugging. For example, you can use log probabilities to identify when the model is making a less confident prediction or to explore alternative responses that the model considered. A low log probability can also indicate that the model is \"hallucinating\" or generating factually incorrect information.", +"id": "GoogleCloudAiplatformV1LogprobsResult", +"properties": { +"chosenCandidates": { +"description": "A list of the chosen candidate tokens at each decoding step. The length of this list is equal to the total number of decoding steps. Note that the chosen candidate might not be in `top_candidates`.", +"items": { +"$ref": "GoogleCloudAiplatformV1LogprobsResultCandidate" +}, +"type": "array" +}, +"topCandidates": { +"description": "A list of the top candidate tokens at each decoding step. The length of this list is equal to the total number of decoding steps.", +"items": { +"$ref": "GoogleCloudAiplatformV1LogprobsResultTopCandidates" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1LogprobsResultCandidate": { +"description": "A single token and its associated log probability.", +"id": "GoogleCloudAiplatformV1LogprobsResultCandidate", +"properties": { +"logProbability": { +"description": "The log probability of this token. A higher value indicates that the model was more confident in this token. The log probability can be used to assess the relative likelihood of different tokens and to identify when the model is uncertain.", +"format": "float", +"type": "number" +}, +"token": { +"description": "The token's string representation.", +"type": "string" +}, +"tokenId": { +"description": "The token's numerical ID. While the `token` field provides the string representation of the token, the `token_id` is the numerical representation that the model uses internally. This can be useful for developers who want to build custom logic based on the model's vocabulary.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1LogprobsResultTopCandidates": { +"description": "A list of the top candidate tokens and their log probabilities at each decoding step. This can be used to see what other tokens the model considered.", +"id": "GoogleCloudAiplatformV1LogprobsResultTopCandidates", +"properties": { +"candidates": { +"description": "The list of candidate tokens, sorted by log probability in descending order.", +"items": { +"$ref": "GoogleCloudAiplatformV1LogprobsResultCandidate" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1LookupStudyRequest": { +"description": "Request message for VizierService.LookupStudy.", +"id": "GoogleCloudAiplatformV1LookupStudyRequest", +"properties": { +"displayName": { +"description": "Required. The user-defined display name of the Study", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1LustreMount": { +"description": "Represents a mount configuration for Lustre file system.", +"id": "GoogleCloudAiplatformV1LustreMount", +"properties": { +"filesystem": { +"description": "Required. The name of the Lustre filesystem.", +"type": "string" +}, +"instanceIp": { +"description": "Required. IP address of the Lustre instance.", +"type": "string" +}, +"mountPoint": { +"description": "Required. Destination mount path. The Lustre file system will be mounted for the user under /mnt/lustre/", +"type": "string" +}, +"volumeHandle": { +"description": "Required. The unique identifier of the Lustre volume.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1MachineSpec": { +"description": "Specification of a single machine.", +"id": "GoogleCloudAiplatformV1MachineSpec", +"properties": { +"acceleratorCount": { +"description": "The number of accelerators to attach to the machine. For accelerator optimized machine types (https://cloud.google.com/compute/docs/accelerator-optimized-machines), One may set the accelerator_count from 1 to N for machine with N GPUs. If accelerator_count is less than or equal to N / 2, Vertex will co-schedule the replicas of the model into the same VM to save cost. For example, if the machine type is a3-highgpu-8g, which has 8 H100 GPUs, one can set accelerator_count to 1 to 8. If accelerator_count is 1, 2, 3, or 4, Vertex will co-schedule 8, 4, 2, or 2 replicas of the model into the same VM to save cost. When co-scheduling, CPU, memory and storage on the VM will be distributed to replicas on the VM. For example, one can expect a co-scheduled replica requesting 2 GPUs out of a 8-GPU VM will receive 25% of the CPU, memory and storage of the VM. Note that the feature is not compatible with multihost_gpu_node_count. When multihost_gpu_node_count is set, the co-scheduling will not be enabled.", +"format": "int32", +"type": "integer" +}, +"acceleratorType": { +"description": "Immutable. The type of accelerator(s) that may be attached to the machine as per accelerator_count.", +"enum": [ +"ACCELERATOR_TYPE_UNSPECIFIED", +"NVIDIA_TESLA_K80", +"NVIDIA_TESLA_P100", +"NVIDIA_TESLA_V100", +"NVIDIA_TESLA_P4", +"NVIDIA_TESLA_T4", +"NVIDIA_TESLA_A100", +"NVIDIA_A100_80GB", +"NVIDIA_L4", +"NVIDIA_H100_80GB", +"NVIDIA_H100_MEGA_80GB", +"NVIDIA_H200_141GB", +"NVIDIA_B200", +"NVIDIA_GB200", +"NVIDIA_RTX_PRO_6000", +"TPU_V2", +"TPU_V3", +"TPU_V4_POD", +"TPU_V5_LITEPOD" +], +"enumDeprecated": [ +false, +true, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false +], +"enumDescriptions": [ +"Unspecified accelerator type, which means no accelerator.", +"Deprecated: Nvidia Tesla K80 GPU has reached end of support, see https://cloud.google.com/compute/docs/eol/k80-eol.", +"Nvidia Tesla P100 GPU.", +"Nvidia Tesla V100 GPU.", +"Nvidia Tesla P4 GPU.", +"Nvidia Tesla T4 GPU.", +"Nvidia Tesla A100 GPU.", +"Nvidia A100 80GB GPU.", +"Nvidia L4 GPU.", +"Nvidia H100 80Gb GPU.", +"Nvidia H100 Mega 80Gb GPU.", +"Nvidia H200 141Gb GPU.", +"Nvidia B200 GPU.", +"Nvidia GB200 GPU.", +"Nvidia RTX Pro 6000 GPU.", +"TPU v2.", +"TPU v3.", +"TPU v4.", +"TPU v5." +], +"type": "string" +}, +"gpuPartitionSize": { +"description": "Optional. Immutable. The Nvidia GPU partition size. When specified, the requested accelerators will be partitioned into smaller GPU partitions. For example, if the request is for 8 units of NVIDIA A100 GPUs, and gpu_partition_size=\"1g.10gb\", the service will create 8 * 7 = 56 partitioned MIG instances. The partition size must be a value supported by the requested accelerator. Refer to [Nvidia GPU Partitioning](https://cloud.google.com/kubernetes-engine/docs/how-to/gpus-multi#multi-instance_gpu_partitions) for the available partition sizes. If set, the accelerator_count should be set to 1.", +"type": "string" +}, +"machineType": { +"description": "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 this field is optional, and the default value is `n1-standard-2`. For BatchPredictionJob or as part of WorkerPoolSpec this field is required.", +"type": "string" +}, +"reservationAffinity": { +"$ref": "GoogleCloudAiplatformV1ReservationAffinity", +"description": "Optional. Immutable. Configuration controlling how this resource pool consumes reservation." +}, +"tpuTopology": { +"description": "Immutable. The topology of the TPUs. Corresponds to the TPU topologies available from GKE. (Example: tpu_topology: \"2x2x1\").", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1ManualBatchTuningParameters": { +"description": "Manual batch tuning parameters.", +"id": "GoogleCloudAiplatformV1ManualBatchTuningParameters", +"properties": { +"batchSize": { +"description": "Immutable. The number of the records (e.g. instances) of the operation given in each batch to a machine replica. Machine type, and size of a single record should be considered when setting this parameter, higher value speeds up the batch operation's execution, but too high value will result in a whole batch not fitting in a machine's memory, and the whole operation will fail. The default value is 64.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1Measurement": { +"description": "A message representing a Measurement of a Trial. A Measurement contains the Metrics got by executing a Trial using suggested hyperparameter values.", +"id": "GoogleCloudAiplatformV1Measurement", +"properties": { +"elapsedDuration": { +"description": "Output only. Time that the Trial has been running at the point of this Measurement.", +"format": "google-duration", +"readOnly": true, +"type": "string" +}, +"metrics": { +"description": "Output only. A list of metrics got by evaluating the objective functions using suggested Parameter values.", +"items": { +"$ref": "GoogleCloudAiplatformV1MeasurementMetric" +}, +"readOnly": true, +"type": "array" +}, +"stepCount": { +"description": "Output only. The number of steps the machine learning model has been trained for. Must be non-negative.", +"format": "int64", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1MeasurementMetric": { +"description": "A message representing a metric in the measurement.", +"id": "GoogleCloudAiplatformV1MeasurementMetric", +"properties": { +"metricId": { +"description": "Output only. The ID of the Metric. The Metric should be defined in StudySpec's Metrics.", +"readOnly": true, +"type": "string" +}, +"value": { +"description": "Output only. The value for this metric.", +"format": "double", +"readOnly": true, +"type": "number" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1Memory": { +"description": "A memory.", +"id": "GoogleCloudAiplatformV1Memory", +"properties": { +"createTime": { +"description": "Output only. Timestamp when this Memory was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"description": { +"description": "Optional. Description of the Memory.", +"type": "string" +}, +"disableMemoryRevisions": { +"description": "Optional. Input only. If true, no revision will be created for this request.", +"type": "boolean" +}, +"displayName": { +"description": "Optional. Display name of the Memory.", +"type": "string" +}, +"expireTime": { +"description": "Optional. Timestamp of when this resource is considered expired. This is *always* provided on output when `expiration` is set on input, regardless of whether `expire_time` or `ttl` was provided.", +"format": "google-datetime", +"type": "string" +}, +"fact": { +"description": "Required. Semantic knowledge extracted from the source content.", +"type": "string" +}, +"metadata": { +"additionalProperties": { +"$ref": "GoogleCloudAiplatformV1MemoryMetadataValue" +}, +"description": "Optional. User-provided metadata for the Memory. This information was provided when creating, updating, or generating the Memory. It was not generated by Memory Bank.", +"type": "object" +}, +"name": { +"description": "Identifier. The resource name of the Memory. Format: `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}/memories/{memory}`", +"type": "string" +}, +"revisionExpireTime": { +"description": "Optional. Input only. Timestamp of when the revision is considered expired. If not set, the memory revision will be kept until manually deleted.", +"format": "google-datetime", +"type": "string" +}, +"revisionLabels": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. Input only. The labels to apply to the Memory Revision created as a result of this request.", +"type": "object" +}, +"revisionTtl": { +"description": "Optional. Input only. The TTL for the revision. The expiration time is computed: now + TTL.", +"format": "google-duration", +"type": "string" +}, +"scope": { +"additionalProperties": { +"type": "string" +}, +"description": "Required. Immutable. The scope of the Memory. Memories are isolated within their scope. The scope is defined when creating or generating memories. Scope values cannot contain the wildcard character '*'.", +"type": "object" +}, +"topics": { +"description": "Optional. The Topics of the Memory.", +"items": { +"$ref": "GoogleCloudAiplatformV1MemoryTopicId" +}, +"type": "array" +}, +"ttl": { +"description": "Optional. Input only. The TTL for this resource. The expiration time is computed: now + TTL.", +"format": "google-duration", +"type": "string" +}, +"updateTime": { +"description": "Output only. Timestamp when this Memory was most recently updated.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1MemoryBankCustomizationConfig": { +"description": "Configuration for organizing memories for a particular scope.", +"id": "GoogleCloudAiplatformV1MemoryBankCustomizationConfig", +"properties": { +"enableThirdPersonMemories": { +"description": "Optional. If true, then the memories will be generated in the third person (i.e. \"The user generates memories with Memory Bank.\"). By default, the memories will be generated in the first person (i.e. \"I generate memories with Memory Bank.\")", +"type": "boolean" +}, +"generateMemoriesExamples": { +"description": "Optional. Examples of how to generate memories for a particular scope.", +"items": { +"$ref": "GoogleCloudAiplatformV1MemoryBankCustomizationConfigGenerateMemoriesExample" +}, +"type": "array" +}, +"memoryTopics": { +"description": "Optional. Topics of information that should be extracted from conversations and stored as memories. If not set, then Memory Bank's default topics will be used.", +"items": { +"$ref": "GoogleCloudAiplatformV1MemoryBankCustomizationConfigMemoryTopic" +}, +"type": "array" +}, +"scopeKeys": { +"description": "Optional. The scope keys (i.e. 'user_id') for which to use this config. A request's scope must include all of the provided keys for the config to be used (order does not matter). If empty, then the config will be used for all requests that do not have a more specific config. Only one default config is allowed per Memory Bank.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1MemoryBankCustomizationConfigGenerateMemoriesExample": { +"description": "An example of how to generate memories for a particular scope.", +"id": "GoogleCloudAiplatformV1MemoryBankCustomizationConfigGenerateMemoriesExample", +"properties": { +"conversationSource": { +"$ref": "GoogleCloudAiplatformV1MemoryBankCustomizationConfigGenerateMemoriesExampleConversationSource", +"description": "A conversation source for the example." +}, +"generatedMemories": { +"description": "Optional. The memories that are expected to be generated from the input conversation. An empty list indicates that no memories are expected to be generated for the input conversation.", +"items": { +"$ref": "GoogleCloudAiplatformV1MemoryBankCustomizationConfigGenerateMemoriesExampleGeneratedMemory" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1MemoryBankCustomizationConfigGenerateMemoriesExampleConversationSource": { +"description": "A conversation source for the example. This is similar to `DirectContentsSource`.", +"id": "GoogleCloudAiplatformV1MemoryBankCustomizationConfigGenerateMemoriesExampleConversationSource", +"properties": { +"events": { +"description": "Optional. The input conversation events for the example.", +"items": { +"$ref": "GoogleCloudAiplatformV1MemoryBankCustomizationConfigGenerateMemoriesExampleConversationSourceEvent" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1MemoryBankCustomizationConfigGenerateMemoriesExampleConversationSourceEvent": { +"description": "A single conversation event.", +"id": "GoogleCloudAiplatformV1MemoryBankCustomizationConfigGenerateMemoriesExampleConversationSourceEvent", +"properties": { +"content": { +"$ref": "GoogleCloudAiplatformV1Content", +"description": "Required. The content of the event." +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1MemoryBankCustomizationConfigGenerateMemoriesExampleGeneratedMemory": { +"description": "A memory generated by the operation.", +"id": "GoogleCloudAiplatformV1MemoryBankCustomizationConfigGenerateMemoriesExampleGeneratedMemory", +"properties": { +"fact": { +"description": "Required. The fact to generate a memory from.", +"type": "string" +}, +"topics": { +"description": "Optional. The list of topics that the memory should be associated with. For example, use `custom_memory_topic_label = \"jargon\"` if the extracted memory is an example of memory extraction for the custom topic `jargon`.", +"items": { +"$ref": "GoogleCloudAiplatformV1MemoryTopicId" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1MemoryBankCustomizationConfigMemoryTopic": { +"description": "A topic of information that should be extracted from conversations and stored as memories.", +"id": "GoogleCloudAiplatformV1MemoryBankCustomizationConfigMemoryTopic", +"properties": { +"customMemoryTopic": { +"$ref": "GoogleCloudAiplatformV1MemoryBankCustomizationConfigMemoryTopicCustomMemoryTopic", +"description": "A custom memory topic defined by the developer." +}, +"managedMemoryTopic": { +"$ref": "GoogleCloudAiplatformV1MemoryBankCustomizationConfigMemoryTopicManagedMemoryTopic", +"description": "A managed memory topic defined by Memory Bank." +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1MemoryBankCustomizationConfigMemoryTopicCustomMemoryTopic": { +"description": "A custom memory topic defined by the developer.", +"id": "GoogleCloudAiplatformV1MemoryBankCustomizationConfigMemoryTopicCustomMemoryTopic", +"properties": { +"description": { +"description": "Required. Description of the memory topic. This should explain what information should be extracted for this topic.", +"type": "string" +}, +"label": { +"description": "Required. The label of the topic.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1MemoryBankCustomizationConfigMemoryTopicManagedMemoryTopic": { +"description": "A managed memory topic defined by the system.", +"id": "GoogleCloudAiplatformV1MemoryBankCustomizationConfigMemoryTopicManagedMemoryTopic", +"properties": { +"managedTopicEnum": { +"description": "Required. The managed topic.", +"enum": [ +"MANAGED_TOPIC_ENUM_UNSPECIFIED", +"USER_PERSONAL_INFO", +"USER_PREFERENCES", +"KEY_CONVERSATION_DETAILS", +"EXPLICIT_INSTRUCTIONS" +], +"enumDescriptions": [ +"Unspecified topic. This value should not be used.", +"Significant personal information about the User like first names, relationships, hobbies, important dates.", +"Stated or implied likes, dislikes, preferred styles, or patterns.", +"Important milestones or conclusions within the dialogue.", +"Information that the user explicitly requested to remember or forget." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1MemoryConjunctionFilter": { +"description": "A conjunction of filters that will be combined using AND logic.", +"id": "GoogleCloudAiplatformV1MemoryConjunctionFilter", +"properties": { +"filters": { +"description": "Filters that will combined using AND logic.", +"items": { +"$ref": "GoogleCloudAiplatformV1MemoryFilter" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1MemoryFilter": { +"description": "Filter to apply when retrieving memories.", +"id": "GoogleCloudAiplatformV1MemoryFilter", +"properties": { +"key": { +"description": "Key of the filter. For example, \"author\" would apply to `metadata` entries with the key \"author\".", +"type": "string" +}, +"negate": { +"description": "If true, the filter will be negated.", +"type": "boolean" +}, +"op": { +"description": "Operator to apply to the filter. If not set, then EQUAL will be used.", +"enum": [ +"OPERATOR_UNSPECIFIED", +"EQUAL", +"GREATER_THAN", +"LESS_THAN" +], +"enumDescriptions": [ +"Unspecified operator. Defaults to EQUAL.", +"Equal to.", +"Greater than.", +"Less than." +], +"type": "string" +}, +"value": { +"$ref": "GoogleCloudAiplatformV1MemoryMetadataValue", +"description": "Value to compare to." +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1MemoryMetadataValue": { +"description": "Memory metadata.", +"id": "GoogleCloudAiplatformV1MemoryMetadataValue", +"properties": { +"boolValue": { +"description": "Boolean value.", +"type": "boolean" +}, +"doubleValue": { +"description": "Double value.", +"format": "double", +"type": "number" +}, +"stringValue": { +"description": "String value.", +"type": "string" +}, +"timestampValue": { +"description": "Timestamp value. When filtering on timestamp values, only the seconds field will be compared.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1MemoryRevision": { +"description": "A revision of a Memory.", +"id": "GoogleCloudAiplatformV1MemoryRevision", +"properties": { +"createTime": { +"description": "Output only. Timestamp when this Memory Revision was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"expireTime": { +"description": "Output only. Timestamp of when this resource is considered expired.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"extractedMemories": { +"description": "Output only. The extracted memories from the source content before consolidation when the memory was updated via GenerateMemories. This information was used to modify an existing Memory via Consolidation.", +"items": { +"$ref": "GoogleCloudAiplatformV1IntermediateExtractedMemory" +}, +"readOnly": true, +"type": "array" +}, +"fact": { +"description": "Output only. The fact of the Memory Revision. This corresponds to the `fact` field of the parent Memory at the time of revision creation.", +"readOnly": true, +"type": "string" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Output only. The labels of the Memory Revision. These labels are applied to the MemoryRevision when it is created based on `GenerateMemoriesRequest.revision_labels`.", +"readOnly": true, +"type": "object" +}, +"name": { +"description": "Identifier. The resource name of the Memory Revision. Format: `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}/memories/{memory}/revisions/{memory_revision}`", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1MemoryTopicId": { +"description": "A memory topic identifier. This will be used to label a Memory and to restrict which topics are eligible for generation or retrieval.", +"id": "GoogleCloudAiplatformV1MemoryTopicId", +"properties": { +"customMemoryTopicLabel": { +"description": "Optional. The custom memory topic label.", +"type": "string" +}, +"managedMemoryTopic": { +"description": "Optional. The managed memory topic.", +"enum": [ +"MANAGED_TOPIC_ENUM_UNSPECIFIED", +"USER_PERSONAL_INFO", +"USER_PREFERENCES", +"KEY_CONVERSATION_DETAILS", +"EXPLICIT_INSTRUCTIONS" +], +"enumDescriptions": [ +"Unspecified topic. This value should not be used.", +"Significant personal information about the User like first names, relationships, hobbies, important dates.", +"Stated or implied likes, dislikes, preferred styles, or patterns.", +"Important milestones or conclusions within the dialogue.", +"Information that the user explicitly requested to remember or forget." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1MergeVersionAliasesRequest": { +"description": "Request message for ModelService.MergeVersionAliases.", +"id": "GoogleCloudAiplatformV1MergeVersionAliasesRequest", +"properties": { +"versionAliases": { +"description": "Required. The set of version aliases to merge. The alias should be at most 128 characters, and match `a-z{0,126}[a-z-0-9]`. Add the `-` prefix to an alias means removing that alias from the version. `-` is NOT counted in the 128 characters. Example: `-golden` means removing the `golden` alias from the version. There is NO ordering in aliases, which means 1) The aliases returned from GetModel API might not have the exactly same order from this MergeVersionAliases API. 2) Adding and deleting the same alias in the request is not recommended, and the 2 operations will be cancelled out.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1Metadata": { +"description": "Metadata for a chunk.", +"id": "GoogleCloudAiplatformV1Metadata", +"properties": { +"attributes": { +"additionalProperties": { +"format": "byte", +"type": "string" +}, +"description": "Optional. Attributes attached to the data. The keys have semantic conventions and the consumers of the attributes should know how to deserialize the value bytes based on the keys.", +"type": "object" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1MetadataSchema": { +"description": "Instance of a general MetadataSchema.", +"id": "GoogleCloudAiplatformV1MetadataSchema", +"properties": { +"createTime": { +"description": "Output only. Timestamp when this MetadataSchema was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"description": { +"description": "Description of the Metadata Schema", +"type": "string" +}, +"name": { +"description": "Output only. The resource name of the MetadataSchema.", +"readOnly": true, +"type": "string" +}, +"schema": { +"description": "Required. The raw YAML string representation of the MetadataSchema. The combination of [MetadataSchema.version] and the schema name given by `title` in [MetadataSchema.schema] must be unique within a MetadataStore. The schema is defined as an OpenAPI 3.0.2 [MetadataSchema Object](https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.2.md#schemaObject)", +"type": "string" +}, +"schemaType": { +"description": "The type of the MetadataSchema. This is a property that identifies which metadata types will use the MetadataSchema.", +"enum": [ +"METADATA_SCHEMA_TYPE_UNSPECIFIED", +"ARTIFACT_TYPE", +"EXECUTION_TYPE", +"CONTEXT_TYPE" +], +"enumDescriptions": [ +"Unspecified type for the MetadataSchema.", +"A type indicating that the MetadataSchema will be used by Artifacts.", +"A typee indicating that the MetadataSchema will be used by Executions.", +"A state indicating that the MetadataSchema will be used by Contexts." +], +"type": "string" +}, +"schemaVersion": { +"description": "The version of the MetadataSchema. The version's format must match the following regular expression: `^[0-9]+.+.+$`, which would allow to order/compare different versions. Example: 1.0.0, 1.0.1, etc.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1MetadataStore": { +"description": "Instance of a metadata store. Contains a set of metadata that can be queried.", +"id": "GoogleCloudAiplatformV1MetadataStore", +"properties": { +"createTime": { +"description": "Output only. Timestamp when this MetadataStore was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"dataplexConfig": { +"$ref": "GoogleCloudAiplatformV1MetadataStoreDataplexConfig", +"description": "Optional. Dataplex integration settings." +}, +"description": { +"description": "Description of the MetadataStore.", +"type": "string" +}, +"encryptionSpec": { +"$ref": "GoogleCloudAiplatformV1EncryptionSpec", +"description": "Customer-managed encryption key spec for a Metadata Store. If set, this Metadata Store and all sub-resources of this Metadata Store are secured using this key." +}, +"name": { +"description": "Output only. The resource name of the MetadataStore instance.", +"readOnly": true, +"type": "string" +}, +"state": { +"$ref": "GoogleCloudAiplatformV1MetadataStoreMetadataStoreState", +"description": "Output only. State information of the MetadataStore.", +"readOnly": true +}, +"updateTime": { +"description": "Output only. Timestamp when this MetadataStore was last updated.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1MetadataStoreDataplexConfig": { +"description": "Represents Dataplex integration settings.", +"id": "GoogleCloudAiplatformV1MetadataStoreDataplexConfig", +"properties": { +"enabledPipelinesLineage": { +"description": "Optional. Whether or not Data Lineage synchronization is enabled for Vertex Pipelines.", +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1MetadataStoreMetadataStoreState": { +"description": "Represents state information for a MetadataStore.", +"id": "GoogleCloudAiplatformV1MetadataStoreMetadataStoreState", +"properties": { +"diskUtilizationBytes": { +"description": "The disk utilization of the MetadataStore in bytes.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1Metric": { +"description": "The metric used for running evaluations.", +"id": "GoogleCloudAiplatformV1Metric", +"properties": { +"aggregationMetrics": { +"description": "Optional. The aggregation metrics to use.", +"items": { +"enum": [ +"AGGREGATION_METRIC_UNSPECIFIED", +"AVERAGE", +"MODE", +"STANDARD_DEVIATION", +"VARIANCE", +"MINIMUM", +"MAXIMUM", +"MEDIAN", +"PERCENTILE_P90", +"PERCENTILE_P95", +"PERCENTILE_P99" +], +"enumDescriptions": [ +"Unspecified aggregation metric.", +"Average aggregation metric. Not supported for Pairwise metric.", +"Mode aggregation metric.", +"Standard deviation aggregation metric. Not supported for pairwise metric.", +"Variance aggregation metric. Not supported for pairwise metric.", +"Minimum aggregation metric. Not supported for pairwise metric.", +"Maximum aggregation metric. Not supported for pairwise metric.", +"Median aggregation metric. Not supported for pairwise metric.", +"90th percentile aggregation metric. Not supported for pairwise metric.", +"95th percentile aggregation metric. Not supported for pairwise metric.", +"99th percentile aggregation metric. Not supported for pairwise metric." +], +"type": "string" +}, +"type": "array" +}, +"bleuSpec": { +"$ref": "GoogleCloudAiplatformV1BleuSpec", +"description": "Spec for bleu metric." +}, +"computationBasedMetricSpec": { +"$ref": "GoogleCloudAiplatformV1ComputationBasedMetricSpec", +"description": "Spec for a computation based metric." +}, +"customCodeExecutionSpec": { +"$ref": "GoogleCloudAiplatformV1CustomCodeExecutionSpec", +"description": "Spec for Custom Code Execution metric." +}, +"exactMatchSpec": { +"$ref": "GoogleCloudAiplatformV1ExactMatchSpec", +"description": "Spec for exact match metric." +}, +"llmBasedMetricSpec": { +"$ref": "GoogleCloudAiplatformV1LLMBasedMetricSpec", +"description": "Spec for an LLM based metric." +}, +"pairwiseMetricSpec": { +"$ref": "GoogleCloudAiplatformV1PairwiseMetricSpec", +"description": "Spec for pairwise metric." +}, +"pointwiseMetricSpec": { +"$ref": "GoogleCloudAiplatformV1PointwiseMetricSpec", +"description": "Spec for pointwise metric." +}, +"predefinedMetricSpec": { +"$ref": "GoogleCloudAiplatformV1PredefinedMetricSpec", +"description": "The spec for a pre-defined metric." +}, +"rougeSpec": { +"$ref": "GoogleCloudAiplatformV1RougeSpec", +"description": "Spec for rouge metric." +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1MetricResult": { +"description": "Result for a single metric on a single instance.", +"id": "GoogleCloudAiplatformV1MetricResult", +"properties": { +"error": { +"$ref": "GoogleRpcStatus", +"description": "Output only. The error status for the metric result.", +"readOnly": true +}, +"explanation": { +"description": "Output only. The explanation for the metric result.", +"readOnly": true, +"type": "string" +}, +"rubricVerdicts": { +"description": "Output only. For rubric-based metrics, the verdicts for each rubric.", +"items": { +"$ref": "GoogleCloudAiplatformV1RubricVerdict" +}, +"readOnly": true, +"type": "array" +}, +"score": { +"description": "Output only. The score for the metric. Please refer to each metric's documentation for the meaning of the score.", +"format": "float", +"readOnly": true, +"type": "number" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1MetricxInput": { +"description": "Input for MetricX metric.", +"id": "GoogleCloudAiplatformV1MetricxInput", +"properties": { +"instance": { +"$ref": "GoogleCloudAiplatformV1MetricxInstance", +"description": "Required. Metricx instance." +}, +"metricSpec": { +"$ref": "GoogleCloudAiplatformV1MetricxSpec", +"description": "Required. Spec for Metricx metric." +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1MetricxInstance": { +"description": "Spec for MetricX instance - The fields used for evaluation are dependent on the MetricX version.", +"id": "GoogleCloudAiplatformV1MetricxInstance", +"properties": { +"prediction": { +"description": "Required. Output of the evaluated model.", +"type": "string" +}, +"reference": { +"description": "Optional. Ground truth used to compare against the prediction.", +"type": "string" +}, +"source": { +"description": "Optional. Source text in original language.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1MetricxResult": { +"description": "Spec for MetricX result - calculates the MetricX score for the given instance using the version specified in the spec.", +"id": "GoogleCloudAiplatformV1MetricxResult", +"properties": { +"score": { +"description": "Output only. MetricX score. Range depends on version.", +"format": "float", +"readOnly": true, +"type": "number" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1MetricxSpec": { +"description": "Spec for MetricX metric.", +"id": "GoogleCloudAiplatformV1MetricxSpec", +"properties": { +"sourceLanguage": { +"description": "Optional. Source language in BCP-47 format.", +"type": "string" +}, +"targetLanguage": { +"description": "Optional. Target language in BCP-47 format. Covers both prediction and reference.", +"type": "string" +}, +"version": { +"description": "Required. Which version to use for evaluation.", +"enum": [ +"METRICX_VERSION_UNSPECIFIED", +"METRICX_24_REF", +"METRICX_24_SRC", +"METRICX_24_SRC_REF" +], +"enumDescriptions": [ +"MetricX version unspecified.", +"MetricX 2024 (2.6) for translation + reference (reference-based).", +"MetricX 2024 (2.6) for translation + source (QE).", +"MetricX 2024 (2.6) for translation + source + reference (source-reference-combined)." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1MigratableResource": { +"description": "Represents one resource that exists in automl.googleapis.com, datalabeling.googleapis.com or ml.googleapis.com.", +"id": "GoogleCloudAiplatformV1MigratableResource", +"properties": { +"automlDataset": { +"$ref": "GoogleCloudAiplatformV1MigratableResourceAutomlDataset", +"description": "Output only. Represents one Dataset in automl.googleapis.com.", +"readOnly": true +}, +"automlModel": { +"$ref": "GoogleCloudAiplatformV1MigratableResourceAutomlModel", +"description": "Output only. Represents one Model in automl.googleapis.com.", +"readOnly": true +}, +"dataLabelingDataset": { +"$ref": "GoogleCloudAiplatformV1MigratableResourceDataLabelingDataset", +"description": "Output only. Represents one Dataset in datalabeling.googleapis.com.", +"readOnly": true +}, +"lastMigrateTime": { +"description": "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.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"lastUpdateTime": { +"description": "Output only. Timestamp when this MigratableResource was last updated.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"mlEngineModelVersion": { +"$ref": "GoogleCloudAiplatformV1MigratableResourceMlEngineModelVersion", +"description": "Output only. Represents one Version in ml.googleapis.com.", +"readOnly": true +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1MigratableResourceAutomlDataset": { +"description": "Represents one Dataset in automl.googleapis.com.", +"id": "GoogleCloudAiplatformV1MigratableResourceAutomlDataset", +"properties": { +"dataset": { +"description": "Full resource name of automl Dataset. Format: `projects/{project}/locations/{location}/datasets/{dataset}`.", +"type": "string" +}, +"datasetDisplayName": { +"description": "The Dataset's display name in automl.googleapis.com.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1MigratableResourceAutomlModel": { +"description": "Represents one Model in automl.googleapis.com.", +"id": "GoogleCloudAiplatformV1MigratableResourceAutomlModel", +"properties": { +"model": { +"description": "Full resource name of automl Model. Format: `projects/{project}/locations/{location}/models/{model}`.", +"type": "string" +}, +"modelDisplayName": { +"description": "The Model's display name in automl.googleapis.com.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1MigratableResourceDataLabelingDataset": { +"description": "Represents one Dataset in datalabeling.googleapis.com.", +"id": "GoogleCloudAiplatformV1MigratableResourceDataLabelingDataset", +"properties": { +"dataLabelingAnnotatedDatasets": { +"description": "The migratable AnnotatedDataset in datalabeling.googleapis.com belongs to the data labeling Dataset.", +"items": { +"$ref": "GoogleCloudAiplatformV1MigratableResourceDataLabelingDatasetDataLabelingAnnotatedDataset" +}, +"type": "array" +}, +"dataset": { +"description": "Full resource name of data labeling Dataset. Format: `projects/{project}/datasets/{dataset}`.", +"type": "string" +}, +"datasetDisplayName": { +"description": "The Dataset's display name in datalabeling.googleapis.com.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1MigratableResourceDataLabelingDatasetDataLabelingAnnotatedDataset": { +"description": "Represents one AnnotatedDataset in datalabeling.googleapis.com.", +"id": "GoogleCloudAiplatformV1MigratableResourceDataLabelingDatasetDataLabelingAnnotatedDataset", +"properties": { +"annotatedDataset": { +"description": "Full resource name of data labeling AnnotatedDataset. Format: `projects/{project}/datasets/{dataset}/annotatedDatasets/{annotated_dataset}`.", +"type": "string" +}, +"annotatedDatasetDisplayName": { +"description": "The AnnotatedDataset's display name in datalabeling.googleapis.com.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1MigratableResourceMlEngineModelVersion": { +"description": "Represents one model Version in ml.googleapis.com.", +"id": "GoogleCloudAiplatformV1MigratableResourceMlEngineModelVersion", +"properties": { +"endpoint": { +"description": "The ml.googleapis.com endpoint that this model Version currently lives in. Example values: * ml.googleapis.com * us-centrall-ml.googleapis.com * europe-west4-ml.googleapis.com * asia-east1-ml.googleapis.com", +"type": "string" +}, +"version": { +"description": "Full resource name of ml engine model Version. Format: `projects/{project}/models/{model}/versions/{version}`.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1MigrateResourceRequest": { +"description": "Config of migrating one resource from automl.googleapis.com, datalabeling.googleapis.com and ml.googleapis.com to Vertex AI.", +"id": "GoogleCloudAiplatformV1MigrateResourceRequest", +"properties": { +"migrateAutomlDatasetConfig": { +"$ref": "GoogleCloudAiplatformV1MigrateResourceRequestMigrateAutomlDatasetConfig", +"description": "Config for migrating Dataset in automl.googleapis.com to Vertex AI's Dataset." +}, +"migrateAutomlModelConfig": { +"$ref": "GoogleCloudAiplatformV1MigrateResourceRequestMigrateAutomlModelConfig", +"description": "Config for migrating Model in automl.googleapis.com to Vertex AI's Model." +}, +"migrateDataLabelingDatasetConfig": { +"$ref": "GoogleCloudAiplatformV1MigrateResourceRequestMigrateDataLabelingDatasetConfig", +"deprecated": true, +"description": "Deprecated: Data labeling service is shut down. Config for migrating Dataset in datalabeling.googleapis.com to Vertex AI's Dataset." +}, +"migrateMlEngineModelVersionConfig": { +"$ref": "GoogleCloudAiplatformV1MigrateResourceRequestMigrateMlEngineModelVersionConfig", +"description": "Config for migrating Version in ml.googleapis.com to Vertex AI's Model." +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1MigrateResourceRequestMigrateAutomlDatasetConfig": { +"description": "Config for migrating Dataset in automl.googleapis.com to Vertex AI's Dataset.", +"id": "GoogleCloudAiplatformV1MigrateResourceRequestMigrateAutomlDatasetConfig", +"properties": { +"dataset": { +"description": "Required. Full resource name of automl Dataset. Format: `projects/{project}/locations/{location}/datasets/{dataset}`.", +"type": "string" +}, +"datasetDisplayName": { +"description": "Required. Display name of the Dataset in Vertex AI. System will pick a display name if unspecified.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1MigrateResourceRequestMigrateAutomlModelConfig": { +"description": "Config for migrating Model in automl.googleapis.com to Vertex AI's Model.", +"id": "GoogleCloudAiplatformV1MigrateResourceRequestMigrateAutomlModelConfig", +"properties": { +"model": { +"description": "Required. Full resource name of automl Model. Format: `projects/{project}/locations/{location}/models/{model}`.", +"type": "string" +}, +"modelDisplayName": { +"description": "Optional. Display name of the model in Vertex AI. System will pick a display name if unspecified.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1MigrateResourceRequestMigrateDataLabelingDatasetConfig": { +"description": "Config for migrating Dataset in datalabeling.googleapis.com to Vertex AI's Dataset.", +"id": "GoogleCloudAiplatformV1MigrateResourceRequestMigrateDataLabelingDatasetConfig", +"properties": { +"dataset": { +"description": "Required. Full resource name of data labeling Dataset. Format: `projects/{project}/datasets/{dataset}`.", +"type": "string" +}, +"datasetDisplayName": { +"description": "Optional. Display name of the Dataset in Vertex AI. System will pick a display name if unspecified.", +"type": "string" +}, +"migrateDataLabelingAnnotatedDatasetConfigs": { +"description": "Optional. Configs for migrating AnnotatedDataset in datalabeling.googleapis.com to Vertex AI's SavedQuery. The specified AnnotatedDatasets have to belong to the datalabeling Dataset.", +"items": { +"$ref": "GoogleCloudAiplatformV1MigrateResourceRequestMigrateDataLabelingDatasetConfigMigrateDataLabelingAnnotatedDatasetConfig" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1MigrateResourceRequestMigrateDataLabelingDatasetConfigMigrateDataLabelingAnnotatedDatasetConfig": { +"description": "Config for migrating AnnotatedDataset in datalabeling.googleapis.com to Vertex AI's SavedQuery.", +"id": "GoogleCloudAiplatformV1MigrateResourceRequestMigrateDataLabelingDatasetConfigMigrateDataLabelingAnnotatedDatasetConfig", +"properties": { +"annotatedDataset": { +"description": "Required. Full resource name of data labeling AnnotatedDataset. Format: `projects/{project}/datasets/{dataset}/annotatedDatasets/{annotated_dataset}`.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1MigrateResourceRequestMigrateMlEngineModelVersionConfig": { +"description": "Config for migrating version in ml.googleapis.com to Vertex AI's Model.", +"id": "GoogleCloudAiplatformV1MigrateResourceRequestMigrateMlEngineModelVersionConfig", +"properties": { +"endpoint": { +"description": "Required. The ml.googleapis.com endpoint that this model version should be migrated from. Example values: * ml.googleapis.com * us-centrall-ml.googleapis.com * europe-west4-ml.googleapis.com * asia-east1-ml.googleapis.com", +"type": "string" +}, +"modelDisplayName": { +"description": "Required. Display name of the model in Vertex AI. System will pick a display name if unspecified.", +"type": "string" +}, +"modelVersion": { +"description": "Required. Full resource name of ml engine model version. Format: `projects/{project}/models/{model}/versions/{version}`.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1MigrateResourceResponse": { +"description": "Describes a successfully migrated resource.", +"id": "GoogleCloudAiplatformV1MigrateResourceResponse", +"properties": { +"dataset": { +"description": "Migrated Dataset's resource name.", +"type": "string" +}, +"migratableResource": { +"$ref": "GoogleCloudAiplatformV1MigratableResource", +"description": "Before migration, the identifier in ml.googleapis.com, automl.googleapis.com or datalabeling.googleapis.com." +}, +"model": { +"description": "Migrated Model's resource name.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1ModalityTokenCount": { +"description": "Represents a breakdown of token usage by modality. This message is used in CountTokensResponse and GenerateContentResponse.UsageMetadata to provide a detailed view of how many tokens are used by each modality (e.g., text, image, video) in a request. This is particularly useful for multimodal models, allowing you to track and manage token consumption for billing and quota purposes.", +"id": "GoogleCloudAiplatformV1ModalityTokenCount", +"properties": { +"modality": { +"description": "The modality that this token count applies to.", +"enum": [ +"MODALITY_UNSPECIFIED", +"TEXT", +"IMAGE", +"VIDEO", +"AUDIO", +"DOCUMENT" +], +"enumDescriptions": [ +"When a modality is not specified, it is treated as `TEXT`.", +"The `Part` contains plain text.", +"The `Part` contains an image.", +"The `Part` contains a video.", +"The `Part` contains audio.", +"The `Part` contains a document, such as a PDF." +], +"type": "string" +}, +"tokenCount": { +"description": "The number of tokens counted for this modality.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1Model": { +"description": "A trained machine learning Model.", +"id": "GoogleCloudAiplatformV1Model", +"properties": { +"artifactUri": { +"description": "Immutable. The path to the directory containing the Model artifact and any of its supporting files. Not required for AutoML Models.", +"type": "string" +}, +"baseModelSource": { +"$ref": "GoogleCloudAiplatformV1ModelBaseModelSource", +"description": "Optional. User input field to specify the base model source. Currently it only supports specifing the Model Garden models and Genie models." +}, +"checkpoints": { +"description": "Optional. Output only. The checkpoints of the model.", +"items": { +"$ref": "GoogleCloudAiplatformV1Checkpoint" +}, +"readOnly": true, +"type": "array" +}, +"containerSpec": { +"$ref": "GoogleCloudAiplatformV1ModelContainerSpec", +"description": "Input only. The specification of the container that is to be used when deploying this Model. The specification is ingested upon ModelService.UploadModel, and all binaries it contains are copied and stored internally by Vertex AI. Not required for AutoML Models." +}, +"createTime": { +"description": "Output only. Timestamp when this Model was uploaded into Vertex AI.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"dataStats": { +"$ref": "GoogleCloudAiplatformV1ModelDataStats", +"description": "Stats of data used for training or evaluating the Model. Only populated when the Model is trained by a TrainingPipeline with data_input_config." +}, +"defaultCheckpointId": { +"description": "The default checkpoint id of a model version.", +"type": "string" +}, +"deployedModels": { +"description": "Output only. The pointers to DeployedModels created from this Model. Note that Model could have been deployed to Endpoints in different Locations.", +"items": { +"$ref": "GoogleCloudAiplatformV1DeployedModelRef" +}, +"readOnly": true, +"type": "array" +}, +"description": { +"description": "The description of the Model.", +"type": "string" +}, +"displayName": { +"description": "Required. The display name of the Model. The name can be up to 128 characters long and can consist of any UTF-8 characters.", +"type": "string" +}, +"encryptionSpec": { +"$ref": "GoogleCloudAiplatformV1EncryptionSpec", +"description": "Customer-managed encryption key spec for a Model. If set, this Model and all sub-resources of this Model will be secured by this key." +}, +"etag": { +"description": "Used to perform consistent read-modify-write updates. If not set, a blind \"overwrite\" update happens.", +"type": "string" +}, +"explanationSpec": { +"$ref": "GoogleCloudAiplatformV1ExplanationSpec", +"description": "The default explanation specification for this Model. The Model can be used for requesting explanation after being deployed if it is populated. The Model can be used for batch explanation if it is populated. All fields of the explanation_spec can be overridden by explanation_spec of DeployModelRequest.deployed_model, or explanation_spec of BatchPredictionJob. If the default explanation specification is not set for this Model, this Model can still be used for requesting explanation by setting explanation_spec of DeployModelRequest.deployed_model and for batch explanation by setting explanation_spec of BatchPredictionJob." +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "The labels with user-defined metadata to organize your Models. Label keys and values can be no longer than 64 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. See https://goo.gl/xmQnxf for more information and examples of labels.", +"type": "object" +}, +"metadata": { +"description": "Immutable. An additional information about the Model; the schema of the metadata can be found in metadata_schema. Unset if the Model does not have any additional information.", +"type": "any" +}, +"metadataArtifact": { +"description": "Output only. The resource name of the Artifact that was created in MetadataStore when creating the Model. The Artifact resource name pattern is `projects/{project}/locations/{location}/metadataStores/{metadata_store}/artifacts/{artifact}`.", +"readOnly": true, +"type": "string" +}, +"metadataSchemaUri": { +"description": "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://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 point to a location where the user only has a read access.", +"type": "string" +}, +"modelSourceInfo": { +"$ref": "GoogleCloudAiplatformV1ModelSourceInfo", +"description": "Output only. Source of a model. It can either be automl training pipeline, custom training pipeline, BigQuery ML, or saved and tuned from Genie or Model Garden.", +"readOnly": true +}, +"name": { +"description": "The resource name of the Model.", +"type": "string" +}, +"originalModelInfo": { +"$ref": "GoogleCloudAiplatformV1ModelOriginalModelInfo", +"description": "Output only. If this Model is a copy of another Model, this contains info about the original.", +"readOnly": true +}, +"pipelineJob": { +"description": "Optional. This field is populated if the model is produced by a pipeline job.", +"type": "string" +}, +"predictSchemata": { +"$ref": "GoogleCloudAiplatformV1PredictSchemata", +"description": "The schemata that describe formats of the Model's predictions and explanations as given and returned via PredictionService.Predict and PredictionService.Explain." +}, +"satisfiesPzi": { +"description": "Output only. Reserved for future use.", +"readOnly": true, +"type": "boolean" +}, +"satisfiesPzs": { +"description": "Output only. Reserved for future use.", +"readOnly": true, +"type": "boolean" +}, +"supportedDeploymentResourcesTypes": { +"description": "Output only. When this Model is deployed, its prediction resources are described by the `prediction_resources` field of the Endpoint.deployed_models object. Because not all Models support all resource configuration types, the configuration types this Model supports are listed here. If no configuration types are listed, the Model cannot be deployed to an Endpoint and does not support online predictions (PredictionService.Predict or PredictionService.Explain). Such a Model can serve predictions by using a BatchPredictionJob, if it has at least one entry each in supported_input_storage_formats and supported_output_storage_formats.", +"items": { +"enum": [ +"DEPLOYMENT_RESOURCES_TYPE_UNSPECIFIED", +"DEDICATED_RESOURCES", +"AUTOMATIC_RESOURCES", +"SHARED_RESOURCES" +], +"enumDescriptions": [ +"Should not be used.", +"Resources that are dedicated to the DeployedModel, and that need a higher degree of manual configuration.", +"Resources that to large degree are decided by Vertex AI, and require only a modest additional configuration.", +"Resources that can be shared by multiple DeployedModels. A pre-configured DeploymentResourcePool is required." +], +"type": "string" +}, +"readOnly": true, +"type": "array" +}, +"supportedExportFormats": { +"description": "Output only. The formats in which this Model may be exported. If empty, this Model is not available for export.", +"items": { +"$ref": "GoogleCloudAiplatformV1ModelExportFormat" +}, +"readOnly": true, +"type": "array" +}, +"supportedInputStorageFormats": { +"description": "Output only. The formats this Model supports in BatchPredictionJob.input_config. If PredictSchemata.instance_schema_uri exists, the instances should be given as per that schema. The possible formats are: * `jsonl` The JSON Lines format, where each instance is a single line. Uses GcsSource. * `csv` The CSV format, where each instance is a single comma-separated line. The first line in the file is the header, containing comma-separated field names. Uses GcsSource. * `tf-record` The TFRecord format, where each instance is a single record in tfrecord syntax. Uses GcsSource. * `tf-record-gzip` Similar to `tf-record`, but the file is gzipped. Uses GcsSource. * `bigquery` Each instance is a single row in BigQuery. Uses BigQuerySource. * `file-list` Each line of the file is the location of an instance to process, uses `gcs_source` field of the InputConfig object. If this Model doesn't support any of these formats it means it cannot be used with a BatchPredictionJob. However, if it has supported_deployment_resources_types, it could serve online predictions by using PredictionService.Predict or PredictionService.Explain.", +"items": { +"type": "string" +}, +"readOnly": true, +"type": "array" +}, +"supportedOutputStorageFormats": { +"description": "Output only. The formats this Model supports in BatchPredictionJob.output_config. If both PredictSchemata.instance_schema_uri and PredictSchemata.prediction_schema_uri exist, the predictions are returned together with their instances. In other words, the prediction has the original instance data first, followed by the actual prediction content (as per the schema). The possible formats are: * `jsonl` The JSON Lines format, where each prediction is a single line. Uses GcsDestination. * `csv` The CSV format, where each prediction is a single comma-separated line. The first line in the file is the header, containing comma-separated field names. Uses GcsDestination. * `bigquery` Each prediction is a single row in a BigQuery table, uses BigQueryDestination . If this Model doesn't support any of these formats it means it cannot be used with a BatchPredictionJob. However, if it has supported_deployment_resources_types, it could serve online predictions by using PredictionService.Predict or PredictionService.Explain.", +"items": { +"type": "string" +}, +"readOnly": true, +"type": "array" +}, +"trainingPipeline": { +"description": "Output only. The resource name of the TrainingPipeline that uploaded this Model, if any.", +"readOnly": true, +"type": "string" +}, +"updateTime": { +"description": "Output only. Timestamp when this Model was most recently updated.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"versionAliases": { +"description": "User provided version aliases so that a model version can be referenced via alias (i.e. `projects/{project}/locations/{location}/models/{model_id}@{version_alias}` instead of auto-generated version id (i.e. `projects/{project}/locations/{location}/models/{model_id}@{version_id})`. The format is a-z{0,126}[a-z0-9] to distinguish from version_id. A default version alias will be created for the first version of the model, and there must be exactly one default version alias for a model.", +"items": { +"type": "string" +}, +"type": "array" +}, +"versionCreateTime": { +"description": "Output only. Timestamp when this version was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"versionDescription": { +"description": "The description of this version.", +"type": "string" +}, +"versionId": { +"description": "Output only. Immutable. The version ID of the model. A new version is committed when a new model version is uploaded or trained under an existing model id. It is an auto-incrementing decimal number in string representation.", +"readOnly": true, +"type": "string" +}, +"versionUpdateTime": { +"description": "Output only. Timestamp when this version was most recently updated.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1ModelArmorConfig": { +"description": "Configuration for Model Armor. Model Armor is a Google Cloud service that provides safety and security filtering for prompts and responses. It helps protect your AI applications from risks such as harmful content, sensitive data leakage, and prompt injection attacks.", +"id": "GoogleCloudAiplatformV1ModelArmorConfig", +"properties": { +"promptTemplateName": { +"description": "Optional. The resource name of the Model Armor template to use for prompt screening. A Model Armor template is a set of customized filters and thresholds that define how Model Armor screens content. If specified, Model Armor will use this template to check the user's prompt for safety and security risks before it is sent to the model. The name must be in the format `projects/{project}/locations/{location}/templates/{template}`.", +"type": "string" +}, +"responseTemplateName": { +"description": "Optional. The resource name of the Model Armor template to use for response screening. A Model Armor template is a set of customized filters and thresholds that define how Model Armor screens content. If specified, Model Armor will use this template to check the model's response for safety and security risks before it is returned to the user. The name must be in the format `projects/{project}/locations/{location}/templates/{template}`.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1ModelBaseModelSource": { +"description": "User input field to specify the base model source. Currently it only supports specifing the Model Garden models and Genie models.", +"id": "GoogleCloudAiplatformV1ModelBaseModelSource", +"properties": { +"genieSource": { +"$ref": "GoogleCloudAiplatformV1GenieSource", +"description": "Information about the base model of Genie models." +}, +"modelGardenSource": { +"$ref": "GoogleCloudAiplatformV1ModelGardenSource", +"description": "Source information of Model Garden models." +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1ModelContainerSpec": { +"description": "Specification of a container for serving predictions. Some fields in this message correspond to fields in the [Kubernetes Container v1 core specification](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.23/#container-v1-core).", +"id": "GoogleCloudAiplatformV1ModelContainerSpec", +"properties": { +"args": { +"description": "Immutable. Specifies arguments for the command that runs when the container starts. This overrides the container's [`CMD`](https://docs.docker.com/engine/reference/builder/#cmd). Specify this field as an array of executable and arguments, similar to a Docker `CMD`'s \"default parameters\" form. If you don't specify this field but do specify the command field, then the command from the `command` field runs without any additional arguments. See the [Kubernetes documentation about how the `command` and `args` fields interact with a container's `ENTRYPOINT` and `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://docs.docker.com/engine/reference/builder/#understand-how-cmd-and-entrypoint-interact). 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 field. You cannot reference environment variables set in the Docker image. In order for environment variables to be expanded, reference them by using the following syntax: $( VARIABLE_NAME) Note that this differs from Bash variable expansion, which does not use parentheses. If a variable cannot be resolved, the reference in the input string is used unchanged. To avoid variable expansion, you can escape this syntax with `$$`; for example: $$(VARIABLE_NAME) This field corresponds to the `args` field of the Kubernetes Containers [v1 core API](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.23/#container-v1-core).", +"items": { +"type": "string" +}, +"type": "array" +}, +"command": { +"description": "Immutable. Specifies the command that runs when the container starts. This overrides the container's [ENTRYPOINT](https://docs.docker.com/engine/reference/builder/#entrypoint). Specify this field as an array of executable and arguments, similar to a Docker `ENTRYPOINT`'s \"exec\" form, not its \"shell\" form. If you do not specify this field, then the container's `ENTRYPOINT` runs, in conjunction with the 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 `CMD` and `ENTRYPOINT` 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 about how the `command` and `args` fields interact with a container's `ENTRYPOINT` and `CMD`](https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#notes). 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 field. You cannot reference environment variables set in the Docker image. In order for environment variables to be expanded, reference them by using the following syntax: $( VARIABLE_NAME) Note that this differs from Bash variable expansion, which does not use parentheses. If a variable cannot be resolved, the reference in the input string is used unchanged. To avoid variable expansion, you can escape this syntax with `$$`; for example: $$(VARIABLE_NAME) This field corresponds to the `command` field of the Kubernetes Containers [v1 core API](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.23/#container-v1-core).", +"items": { +"type": "string" +}, +"type": "array" +}, +"deploymentTimeout": { +"description": "Immutable. Deployment timeout. Limit for deployment timeout is 2 hours.", +"format": "google-duration", +"type": "string" +}, +"env": { +"description": "Immutable. List of environment variables to set in the container. After the container starts running, code running in the container can read these environment variables. Additionally, the command and args fields can reference these variables. Later entries in this list can also reference earlier entries. For example, the following example sets the variable `VAR_2` to have the value `foo bar`: ```json [ { \"name\": \"VAR_1\", \"value\": \"foo\" }, { \"name\": \"VAR_2\", \"value\": \"$(VAR_1) bar\" } ] ``` If you switch the order of the variables in the example, then the expansion does not occur. This field corresponds to the `env` field of the Kubernetes Containers [v1 core API](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.23/#container-v1-core).", +"items": { +"$ref": "GoogleCloudAiplatformV1EnvVar" +}, +"type": "array" +}, +"grpcPorts": { +"description": "Immutable. List of ports to expose from the container. Vertex AI sends gRPC prediction requests that it receives to the first port on this list. Vertex AI also sends liveness and health checks to this port. If you do not specify this field, gRPC requests to the container will be disabled. Vertex AI does not use ports other than the first one listed. This field corresponds to the `ports` field of the Kubernetes Containers v1 core API.", +"items": { +"$ref": "GoogleCloudAiplatformV1Port" +}, +"type": "array" +}, +"healthProbe": { +"$ref": "GoogleCloudAiplatformV1Probe", +"description": "Immutable. Specification for Kubernetes readiness probe." +}, +"healthRoute": { +"description": "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://cloud.google.com/vertex-ai/docs/predictions/custom-container-requirements#health). 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 field. If you don't specify this field, it defaults to the following value when you deploy this Model to an Endpoint: /v1/endpoints/ENDPOINT/deployedModels/ DEPLOYED_MODEL:predict The placeholders in this value are replaced as follows: * ENDPOINT: The last segment (following `endpoints/`)of the Endpoint.name][] field of the Endpoint where this Model has been 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 of the `DeployedModel`. (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).)", +"type": "string" +}, +"imageUri": { +"description": "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](https://cloud.google.com/vertex-ai/docs/predictions/custom-container-requirements#publishing), including permissions requirements for the Vertex AI Service Agent. The container image is ingested upon 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://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.", +"type": "string" +}, +"invokeRoutePrefix": { +"description": "Immutable. Invoke route prefix for the custom container. \"/*\" is the only supported value right now. By setting this field, any non-root route on this model will be accessible with invoke http call eg: \"/invoke/foo/bar\", however the [PredictionService.Invoke] RPC is not supported yet. Only one of `predict_route` or `invoke_route_prefix` can be set, and we default to using `predict_route` if this field is not set. If this field is set, the Model can only be deployed to dedicated endpoint.", +"type": "string" +}, +"livenessProbe": { +"$ref": "GoogleCloudAiplatformV1Probe", +"description": "Immutable. Specification for Kubernetes liveness probe." +}, +"ports": { +"description": "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. Vertex AI also sends [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: ```json [ { \"containerPort\": 8080 } ] ``` 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://kubernetes.io/docs/reference/generated/kubernetes-api/v1.23/#container-v1-core).", +"items": { +"$ref": "GoogleCloudAiplatformV1Port" +}, +"type": "array" +}, +"predictRoute": { +"description": "Immutable. HTTP path on the container to send prediction requests to. Vertex AI forwards requests sent using projects.locations.endpoints.predict to this 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 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 ports field. If you don't specify this field, it defaults to the following value when you deploy this Model to an Endpoint: /v1/endpoints/ENDPOINT/deployedModels/DEPLOYED_MODEL:predict The placeholders in this value are replaced as follows: * ENDPOINT: The last segment (following `endpoints/`)of the Endpoint.name][] field of the Endpoint where this Model has been 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 of the `DeployedModel`. (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).)", +"type": "string" +}, +"sharedMemorySizeMb": { +"description": "Immutable. The amount of the VM memory to reserve as the shared memory for the model in megabytes.", +"format": "int64", +"type": "string" +}, +"startupProbe": { +"$ref": "GoogleCloudAiplatformV1Probe", +"description": "Immutable. Specification for Kubernetes startup probe." +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1ModelDataStats": { +"description": "Stats of data used for train or evaluate the Model.", +"id": "GoogleCloudAiplatformV1ModelDataStats", +"properties": { +"testAnnotationsCount": { +"description": "Number of Annotations that are used for evaluating this Model. If the Model is evaluated multiple times, this will be the number of test Annotations used by the first evaluation. If the Model is not evaluated, the number is 0.", +"format": "int64", +"type": "string" +}, +"testDataItemsCount": { +"description": "Number of DataItems that were used for evaluating this Model. If the Model is evaluated multiple times, this will be the number of test DataItems used by the first evaluation. If the Model is not evaluated, the number is 0.", +"format": "int64", +"type": "string" +}, +"trainingAnnotationsCount": { +"description": "Number of Annotations that are used for training this Model.", +"format": "int64", +"type": "string" +}, +"trainingDataItemsCount": { +"description": "Number of DataItems that were used for training this Model.", +"format": "int64", +"type": "string" +}, +"validationAnnotationsCount": { +"description": "Number of Annotations that are used for validating this Model during training.", +"format": "int64", +"type": "string" +}, +"validationDataItemsCount": { +"description": "Number of DataItems that were used for validating this Model during training.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1ModelDeploymentMonitoringBigQueryTable": { +"description": "ModelDeploymentMonitoringBigQueryTable specifies the BigQuery table name as well as some information of the logs stored in this table.", +"id": "GoogleCloudAiplatformV1ModelDeploymentMonitoringBigQueryTable", +"properties": { +"bigqueryTablePath": { +"description": "The created BigQuery table to store logs. Customer could do their own query & analysis. Format: `bq://.model_deployment_monitoring_._`", +"type": "string" +}, +"logSource": { +"description": "The source of log.", +"enum": [ +"LOG_SOURCE_UNSPECIFIED", +"TRAINING", +"SERVING" +], +"enumDescriptions": [ +"Unspecified source.", +"Logs coming from Training dataset.", +"Logs coming from Serving traffic." +], +"type": "string" +}, +"logType": { +"description": "The type of log.", +"enum": [ +"LOG_TYPE_UNSPECIFIED", +"PREDICT", +"EXPLAIN" +], +"enumDescriptions": [ +"Unspecified type.", +"Predict logs.", +"Explain logs." +], +"type": "string" +}, +"requestResponseLoggingSchemaVersion": { +"description": "Output only. The schema version of the request/response logging BigQuery table. Default to v1 if unset.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1ModelDeploymentMonitoringJob": { +"description": "Represents a job that runs periodically to monitor the deployed models in an endpoint. It will analyze the logged training & prediction data to detect any abnormal behaviors.", +"id": "GoogleCloudAiplatformV1ModelDeploymentMonitoringJob", +"properties": { +"analysisInstanceSchemaUri": { +"description": "YAML schema file uri describing the format of a single instance that you want Tensorflow Data Validation (TFDV) to analyze. If this field is empty, all the feature data types are inferred from predict_instance_schema_uri, meaning that TFDV will use the data in the exact format(data type) as prediction request/response. If there are any data type differences between predict instance and TFDV instance, this field can be used to override the schema. For models trained with Vertex AI, this field must be set as all the fields in predict instance formatted as string.", +"type": "string" +}, +"bigqueryTables": { +"description": "Output only. The created bigquery tables for the job under customer project. Customer could do their own query & analysis. There could be 4 log tables in maximum: 1. Training data logging predict request/response 2. Serving data logging predict request/response", +"items": { +"$ref": "GoogleCloudAiplatformV1ModelDeploymentMonitoringBigQueryTable" +}, +"readOnly": true, +"type": "array" +}, +"createTime": { +"description": "Output only. Timestamp when this ModelDeploymentMonitoringJob was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"displayName": { +"description": "Required. The user-defined name of the ModelDeploymentMonitoringJob. The name can be up to 128 characters long and can consist of any UTF-8 characters. Display name of a ModelDeploymentMonitoringJob.", +"type": "string" +}, +"enableMonitoringPipelineLogs": { +"description": "If true, the scheduled monitoring pipeline logs are sent to Google Cloud Logging, including pipeline status and anomalies detected. Please note the logs incur cost, which are subject to [Cloud Logging pricing](https://cloud.google.com/logging#pricing).", +"type": "boolean" +}, +"encryptionSpec": { +"$ref": "GoogleCloudAiplatformV1EncryptionSpec", +"description": "Customer-managed encryption key spec for a ModelDeploymentMonitoringJob. If set, this ModelDeploymentMonitoringJob and all sub-resources of this ModelDeploymentMonitoringJob will be secured by this key." +}, +"endpoint": { +"description": "Required. Endpoint resource name. Format: `projects/{project}/locations/{location}/endpoints/{endpoint}`", +"type": "string" +}, +"error": { +"$ref": "GoogleRpcStatus", +"description": "Output only. Only populated when the job's state is `JOB_STATE_FAILED` or `JOB_STATE_CANCELLED`.", +"readOnly": true +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "The labels with user-defined metadata to organize your ModelDeploymentMonitoringJob. Label keys and values can be no longer than 64 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. See https://goo.gl/xmQnxf for more information and examples of labels.", +"type": "object" +}, +"latestMonitoringPipelineMetadata": { +"$ref": "GoogleCloudAiplatformV1ModelDeploymentMonitoringJobLatestMonitoringPipelineMetadata", +"description": "Output only. Latest triggered monitoring pipeline metadata.", +"readOnly": true +}, +"logTtl": { +"description": "The TTL of BigQuery tables in user projects which stores logs. A day is the basic unit of the TTL and we take the ceil of TTL/86400(a day). e.g. { second: 3600} indicates ttl = 1 day.", +"format": "google-duration", +"type": "string" +}, +"loggingSamplingStrategy": { +"$ref": "GoogleCloudAiplatformV1SamplingStrategy", +"description": "Required. Sample Strategy for logging." +}, +"modelDeploymentMonitoringObjectiveConfigs": { +"description": "Required. The config for monitoring objectives. This is a per DeployedModel config. Each DeployedModel needs to be configured separately.", +"items": { +"$ref": "GoogleCloudAiplatformV1ModelDeploymentMonitoringObjectiveConfig" +}, +"type": "array" +}, +"modelDeploymentMonitoringScheduleConfig": { +"$ref": "GoogleCloudAiplatformV1ModelDeploymentMonitoringScheduleConfig", +"description": "Required. Schedule config for running the monitoring job." +}, +"modelMonitoringAlertConfig": { +"$ref": "GoogleCloudAiplatformV1ModelMonitoringAlertConfig", +"description": "Alert config for model monitoring." +}, +"name": { +"description": "Output only. Resource name of a ModelDeploymentMonitoringJob.", +"readOnly": true, +"type": "string" +}, +"nextScheduleTime": { +"description": "Output only. Timestamp when this monitoring pipeline will be scheduled to run for the next round.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"predictInstanceSchemaUri": { +"description": "YAML schema file uri describing the format of a single instance, which are given to format this Endpoint's prediction (and explanation). If not set, we will generate predict schema from collected predict requests.", +"type": "string" +}, +"samplePredictInstance": { +"description": "Sample Predict instance, same format as PredictRequest.instances, this can be set as a replacement of ModelDeploymentMonitoringJob.predict_instance_schema_uri. If not set, we will generate predict schema from collected predict requests.", +"type": "any" +}, +"satisfiesPzi": { +"description": "Output only. Reserved for future use.", +"readOnly": true, +"type": "boolean" +}, +"satisfiesPzs": { +"description": "Output only. Reserved for future use.", +"readOnly": true, +"type": "boolean" +}, +"scheduleState": { +"description": "Output only. Schedule state when the monitoring job is in Running state.", +"enum": [ +"MONITORING_SCHEDULE_STATE_UNSPECIFIED", +"PENDING", +"OFFLINE", +"RUNNING" +], +"enumDescriptions": [ +"Unspecified state.", +"The pipeline is picked up and wait to run.", +"The pipeline is offline and will be scheduled for next run.", +"The pipeline is running." +], +"readOnly": true, +"type": "string" +}, +"state": { +"description": "Output only. The detailed state of the monitoring job. When the job is still creating, the state will be 'PENDING'. Once the job is successfully created, the state will be 'RUNNING'. Pause the job, the state will be 'PAUSED'. Resume the job, the state will return to 'RUNNING'.", +"enum": [ +"JOB_STATE_UNSPECIFIED", +"JOB_STATE_QUEUED", +"JOB_STATE_PENDING", +"JOB_STATE_RUNNING", +"JOB_STATE_SUCCEEDED", +"JOB_STATE_FAILED", +"JOB_STATE_CANCELLING", +"JOB_STATE_CANCELLED", +"JOB_STATE_PAUSED", +"JOB_STATE_EXPIRED", +"JOB_STATE_UPDATING", +"JOB_STATE_PARTIALLY_SUCCEEDED" +], +"enumDescriptions": [ +"The job state is unspecified.", +"The job has been just created or resumed and processing has not yet begun.", +"The service is preparing to run the job.", +"The job is in progress.", +"The job completed successfully.", +"The job failed.", +"The job is being cancelled. From this state the job may only go to either `JOB_STATE_SUCCEEDED`, `JOB_STATE_FAILED` or `JOB_STATE_CANCELLED`.", +"The job has been cancelled.", +"The job has been stopped, and can be resumed.", +"The job has expired.", +"The job is being updated. Only jobs in the `RUNNING` state can be updated. After updating, the job goes back to the `RUNNING` state.", +"The job is partially succeeded, some results may be missing due to errors." +], +"readOnly": true, +"type": "string" +}, +"statsAnomaliesBaseDirectory": { +"$ref": "GoogleCloudAiplatformV1GcsDestination", +"description": "Stats anomalies base folder path." +}, +"updateTime": { +"description": "Output only. Timestamp when this ModelDeploymentMonitoringJob was updated most recently.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1ModelDeploymentMonitoringJobLatestMonitoringPipelineMetadata": { +"description": "All metadata of most recent monitoring pipelines.", +"id": "GoogleCloudAiplatformV1ModelDeploymentMonitoringJobLatestMonitoringPipelineMetadata", +"properties": { +"runTime": { +"description": "The time that most recent monitoring pipelines that is related to this run.", +"format": "google-datetime", +"type": "string" +}, +"status": { +"$ref": "GoogleRpcStatus", +"description": "The status of the most recent monitoring pipeline." +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1ModelDeploymentMonitoringObjectiveConfig": { +"description": "ModelDeploymentMonitoringObjectiveConfig contains the pair of deployed_model_id to ModelMonitoringObjectiveConfig.", +"id": "GoogleCloudAiplatformV1ModelDeploymentMonitoringObjectiveConfig", +"properties": { +"deployedModelId": { +"description": "The DeployedModel ID of the objective config.", +"type": "string" +}, +"objectiveConfig": { +"$ref": "GoogleCloudAiplatformV1ModelMonitoringObjectiveConfig", +"description": "The objective config of for the modelmonitoring job of this deployed model." +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1ModelDeploymentMonitoringScheduleConfig": { +"description": "The config for scheduling monitoring job.", +"id": "GoogleCloudAiplatformV1ModelDeploymentMonitoringScheduleConfig", +"properties": { +"monitorInterval": { +"description": "Required. The model monitoring job scheduling interval. It will be rounded up to next full hour. This defines how often the monitoring jobs are triggered.", +"format": "google-duration", +"type": "string" +}, +"monitorWindow": { +"description": "The time window of the prediction data being included in each prediction dataset. This window specifies how long the data should be collected from historical model results for each run. If not set, ModelDeploymentMonitoringScheduleConfig.monitor_interval will be used. e.g. If currently the cutoff time is 2022-01-08 14:30:00 and the monitor_window is set to be 3600, then data from 2022-01-08 13:30:00 to 2022-01-08 14:30:00 will be retrieved and aggregated to calculate the monitoring statistics.", +"format": "google-duration", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1ModelEvaluation": { +"description": "A collection of metrics calculated by comparing Model's predictions on all of the test data against annotations from the test data.", +"id": "GoogleCloudAiplatformV1ModelEvaluation", +"properties": { +"annotationSchemaUri": { +"description": "Points to a YAML file stored on Google Cloud Storage describing EvaluatedDataItemView.predictions, EvaluatedDataItemView.ground_truths, EvaluatedAnnotation.predictions, and EvaluatedAnnotation.ground_truths. 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). This field is not populated if there are neither EvaluatedDataItemViews nor EvaluatedAnnotations under this ModelEvaluation.", +"type": "string" +}, +"createTime": { +"description": "Output only. Timestamp when this ModelEvaluation was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"dataItemSchemaUri": { +"description": "Points to a YAML file stored on Google Cloud Storage describing EvaluatedDataItemView.data_item_payload and EvaluatedAnnotation.data_item_payload. 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). This field is not populated if there are neither EvaluatedDataItemViews nor EvaluatedAnnotations under this ModelEvaluation.", +"type": "string" +}, +"displayName": { +"description": "The display name of the ModelEvaluation.", +"type": "string" +}, +"explanationSpecs": { +"description": "Describes the values of ExplanationSpec that are used for explaining the predicted values on the evaluated data.", +"items": { +"$ref": "GoogleCloudAiplatformV1ModelEvaluationModelEvaluationExplanationSpec" +}, +"type": "array" +}, +"metadata": { +"description": "The metadata of the ModelEvaluation. For the ModelEvaluation uploaded from Managed Pipeline, metadata contains a structured value with keys of \"pipeline_job_id\", \"evaluation_dataset_type\", \"evaluation_dataset_path\", \"row_based_metrics_path\".", +"type": "any" +}, +"metrics": { +"description": "Evaluation metrics of the Model. The schema of the metrics is stored in metrics_schema_uri", +"type": "any" +}, +"metricsSchemaUri": { +"description": "Points to a YAML file stored on Google Cloud Storage describing the metrics of this ModelEvaluation. 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).", +"type": "string" +}, +"modelExplanation": { +"$ref": "GoogleCloudAiplatformV1ModelExplanation", +"description": "Aggregated explanation metrics for the Model's prediction output over the data this ModelEvaluation uses. This field is populated only if the Model is evaluated with explanations, and only for AutoML tabular Models. " +}, +"name": { +"description": "Output only. The resource name of the ModelEvaluation.", +"readOnly": true, +"type": "string" +}, +"sliceDimensions": { +"description": "All possible dimensions of ModelEvaluationSlices. The dimensions can be used as the filter of the ModelService.ListModelEvaluationSlices request, in the form of `slice.dimension = `.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1ModelEvaluationModelEvaluationExplanationSpec": { +"id": "GoogleCloudAiplatformV1ModelEvaluationModelEvaluationExplanationSpec", +"properties": { +"explanationSpec": { +"$ref": "GoogleCloudAiplatformV1ExplanationSpec", +"description": "Explanation spec details." +}, +"explanationType": { +"description": "Explanation type. For AutoML Image Classification models, possible values are: * `image-integrated-gradients` * `image-xrai`", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1ModelEvaluationSlice": { +"description": "A collection of metrics calculated by comparing Model's predictions on a slice of the test data against ground truth annotations.", +"id": "GoogleCloudAiplatformV1ModelEvaluationSlice", +"properties": { +"createTime": { +"description": "Output only. Timestamp when this ModelEvaluationSlice was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"metrics": { +"description": "Output only. Sliced evaluation metrics of the Model. The schema of the metrics is stored in metrics_schema_uri", +"readOnly": true, +"type": "any" +}, +"metricsSchemaUri": { +"description": "Output only. Points to a YAML file stored on Google Cloud Storage describing the metrics of this ModelEvaluationSlice. 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).", +"readOnly": true, +"type": "string" +}, +"modelExplanation": { +"$ref": "GoogleCloudAiplatformV1ModelExplanation", +"description": "Output only. Aggregated explanation metrics for the Model's prediction output over the data this ModelEvaluation uses. This field is populated only if the Model is evaluated with explanations, and only for tabular Models.", +"readOnly": true +}, +"name": { +"description": "Output only. The resource name of the ModelEvaluationSlice.", +"readOnly": true, +"type": "string" +}, +"slice": { +"$ref": "GoogleCloudAiplatformV1ModelEvaluationSliceSlice", +"description": "Output only. The slice of the test data that is used to evaluate the Model.", +"readOnly": true +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1ModelEvaluationSliceSlice": { +"description": "Definition of a slice.", +"id": "GoogleCloudAiplatformV1ModelEvaluationSliceSlice", +"properties": { +"dimension": { +"description": "Output only. The dimension of the slice. Well-known dimensions are: * `annotationSpec`: This slice is on the test data that has either ground truth or prediction with AnnotationSpec.display_name equals to value. * `slice`: This slice is a user customized slice defined by its SliceSpec.", +"readOnly": true, +"type": "string" +}, +"sliceSpec": { +"$ref": "GoogleCloudAiplatformV1ModelEvaluationSliceSliceSliceSpec", +"description": "Output only. Specification for how the data was sliced.", +"readOnly": true +}, +"value": { +"description": "Output only. The value of the dimension in this slice.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1ModelEvaluationSliceSliceSliceSpec": { +"description": "Specification for how the data should be sliced.", +"id": "GoogleCloudAiplatformV1ModelEvaluationSliceSliceSliceSpec", +"properties": { +"configs": { +"additionalProperties": { +"$ref": "GoogleCloudAiplatformV1ModelEvaluationSliceSliceSliceSpecSliceConfig" +}, +"description": "Mapping configuration for this SliceSpec. The key is the name of the feature. By default, the key will be prefixed by \"instance\" as a dictionary prefix for Vertex Batch Predictions output format.", +"type": "object" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1ModelEvaluationSliceSliceSliceSpecRange": { +"description": "A range of values for slice(s). `low` is inclusive, `high` is exclusive.", +"id": "GoogleCloudAiplatformV1ModelEvaluationSliceSliceSliceSpecRange", +"properties": { +"high": { +"description": "Exclusive high value for the range.", +"format": "float", +"type": "number" +}, +"low": { +"description": "Inclusive low value for the range.", +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1ModelEvaluationSliceSliceSliceSpecSliceConfig": { +"description": "Specification message containing the config for this SliceSpec. When `kind` is selected as `value` and/or `range`, only a single slice will be computed. When `all_values` is present, a separate slice will be computed for each possible label/value for the corresponding key in `config`. Examples, with feature zip_code with values 12345, 23334, 88888 and feature country with values \"US\", \"Canada\", \"Mexico\" in the dataset: Example 1: { \"zip_code\": { \"value\": { \"float_value\": 12345.0 } } } A single slice for any data with zip_code 12345 in the dataset. Example 2: { \"zip_code\": { \"range\": { \"low\": 12345, \"high\": 20000 } } } A single slice containing data where the zip_codes between 12345 and 20000 For this example, data with the zip_code of 12345 will be in this slice. Example 3: { \"zip_code\": { \"range\": { \"low\": 10000, \"high\": 20000 } }, \"country\": { \"value\": { \"string_value\": \"US\" } } } A single slice containing data where the zip_codes between 10000 and 20000 has the country \"US\". For this example, data with the zip_code of 12345 and country \"US\" will be in this slice. Example 4: { \"country\": {\"all_values\": { \"value\": true } } } Three slices are computed, one for each unique country in the dataset. Example 5: { \"country\": { \"all_values\": { \"value\": true } }, \"zip_code\": { \"value\": { \"float_value\": 12345.0 } } } Three slices are computed, one for each unique country in the dataset where the zip_code is also 12345. For this example, data with zip_code 12345 and country \"US\" will be in one slice, zip_code 12345 and country \"Canada\" in another slice, and zip_code 12345 and country \"Mexico\" in another slice, totaling 3 slices.", +"id": "GoogleCloudAiplatformV1ModelEvaluationSliceSliceSliceSpecSliceConfig", +"properties": { +"allValues": { +"description": "If all_values is set to true, then all possible labels of the keyed feature will have another slice computed. Example: `{\"all_values\":{\"value\":true}}`", +"type": "boolean" +}, +"range": { +"$ref": "GoogleCloudAiplatformV1ModelEvaluationSliceSliceSliceSpecRange", +"description": "A range of values for a numerical feature. Example: `{\"range\":{\"low\":10000.0,\"high\":50000.0}}` will capture 12345 and 23334 in the slice." +}, +"value": { +"$ref": "GoogleCloudAiplatformV1ModelEvaluationSliceSliceSliceSpecValue", +"description": "A unique specific value for a given feature. Example: `{ \"value\": { \"string_value\": \"12345\" } }`" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1ModelEvaluationSliceSliceSliceSpecValue": { +"description": "Single value that supports strings and floats.", +"id": "GoogleCloudAiplatformV1ModelEvaluationSliceSliceSliceSpecValue", +"properties": { +"floatValue": { +"description": "Float type.", +"format": "float", +"type": "number" +}, +"stringValue": { +"description": "String type.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1ModelExplanation": { +"description": "Aggregated explanation metrics for a Model over a set of instances.", +"id": "GoogleCloudAiplatformV1ModelExplanation", +"properties": { +"meanAttributions": { +"description": "Output only. Aggregated attributions explaining the Model's prediction outputs over the set of instances. The attributions are grouped by outputs. For Models that predict only one output, such as regression Models that predict only one score, there is only one attibution that explains the predicted output. For Models that predict multiple outputs, such as multiclass Models that predict multiple classes, each element explains one specific item. Attribution.output_index can be used to identify which output this attribution is explaining. The baselineOutputValue, instanceOutputValue and featureAttributions fields are averaged over the test data. NOTE: Currently AutoML tabular classification Models produce only one attribution, which averages attributions over all the classes it predicts. Attribution.approximation_error is not populated.", +"items": { +"$ref": "GoogleCloudAiplatformV1Attribution" +}, +"readOnly": true, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1ModelExportFormat": { +"description": "Represents export format supported by the Model. All formats export to Google Cloud Storage.", +"id": "GoogleCloudAiplatformV1ModelExportFormat", +"properties": { +"exportableContents": { +"description": "Output only. The content of this Model that may be exported.", +"items": { +"enum": [ +"EXPORTABLE_CONTENT_UNSPECIFIED", +"ARTIFACT", +"IMAGE" +], +"enumDescriptions": [ +"Should not be used.", +"Model artifact and any of its supported files. Will be exported to the location specified by the `artifactDestination` field of the ExportModelRequest.output_config object.", +"The container image that is to be used when deploying this Model. Will be exported to the location specified by the `imageDestination` field of the ExportModelRequest.output_config object." +], +"type": "string" +}, +"readOnly": true, +"type": "array" +}, +"id": { +"description": "Output only. The ID of the export format. The possible format IDs are: * `tflite` Used for Android mobile devices. * `edgetpu-tflite` Used for [Edge TPU](https://cloud.google.com/edge-tpu/) devices. * `tf-saved-model` A tensorflow model in SavedModel format. * `tf-js` A [TensorFlow.js](https://www.tensorflow.org/js) model that can be used in the browser and in Node.js using JavaScript. * `core-ml` Used for iOS mobile devices. * `custom-trained` A Model that was uploaded or trained by custom code. * `genie` A tuned Model Garden model.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1ModelGardenSource": { +"description": "Contains information about the source of the models generated from Model Garden.", +"id": "GoogleCloudAiplatformV1ModelGardenSource", +"properties": { +"publicModelName": { +"description": "Required. The model garden source model resource name.", +"type": "string" +}, +"skipHfModelCache": { +"description": "Optional. Whether to avoid pulling the model from the HF cache.", +"type": "boolean" +}, +"versionId": { +"description": "Optional. The model garden source model version ID.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1ModelMonitoringAlertConfig": { +"description": "The alert config for model monitoring.", +"id": "GoogleCloudAiplatformV1ModelMonitoringAlertConfig", +"properties": { +"emailAlertConfig": { +"$ref": "GoogleCloudAiplatformV1ModelMonitoringAlertConfigEmailAlertConfig", +"description": "Email alert config." +}, +"enableLogging": { +"description": "Dump the anomalies to Cloud Logging. The anomalies will be put to json payload encoded from proto ModelMonitoringStatsAnomalies. This can be further synced to Pub/Sub or any other services supported by Cloud Logging.", +"type": "boolean" +}, +"notificationChannels": { +"description": "Resource names of the NotificationChannels to send alert. Must be of the format `projects//notificationChannels/`", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1ModelMonitoringAlertConfigEmailAlertConfig": { +"description": "The config for email alert.", +"id": "GoogleCloudAiplatformV1ModelMonitoringAlertConfigEmailAlertConfig", +"properties": { +"userEmails": { +"description": "The email addresses to send the alert.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1ModelMonitoringObjectiveConfig": { +"description": "The objective configuration for model monitoring, including the information needed to detect anomalies for one particular model.", +"id": "GoogleCloudAiplatformV1ModelMonitoringObjectiveConfig", +"properties": { +"explanationConfig": { +"$ref": "GoogleCloudAiplatformV1ModelMonitoringObjectiveConfigExplanationConfig", +"description": "The config for integrating with Vertex Explainable AI." +}, +"predictionDriftDetectionConfig": { +"$ref": "GoogleCloudAiplatformV1ModelMonitoringObjectiveConfigPredictionDriftDetectionConfig", +"description": "The config for drift of prediction data." +}, +"trainingDataset": { +"$ref": "GoogleCloudAiplatformV1ModelMonitoringObjectiveConfigTrainingDataset", +"description": "Training dataset for models. This field has to be set only if TrainingPredictionSkewDetectionConfig is specified." +}, +"trainingPredictionSkewDetectionConfig": { +"$ref": "GoogleCloudAiplatformV1ModelMonitoringObjectiveConfigTrainingPredictionSkewDetectionConfig", +"description": "The config for skew between training data and prediction data." +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1ModelMonitoringObjectiveConfigExplanationConfig": { +"description": "The config for integrating with Vertex Explainable AI. Only applicable if the Model has explanation_spec populated.", +"id": "GoogleCloudAiplatformV1ModelMonitoringObjectiveConfigExplanationConfig", +"properties": { +"enableFeatureAttributes": { +"description": "If want to analyze the Vertex Explainable AI feature attribute scores or not. If set to true, Vertex AI will log the feature attributions from explain response and do the skew/drift detection for them.", +"type": "boolean" +}, +"explanationBaseline": { +"$ref": "GoogleCloudAiplatformV1ModelMonitoringObjectiveConfigExplanationConfigExplanationBaseline", +"description": "Predictions generated by the BatchPredictionJob using baseline dataset." +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1ModelMonitoringObjectiveConfigExplanationConfigExplanationBaseline": { +"description": "Output from BatchPredictionJob for Model Monitoring baseline dataset, which can be used to generate baseline attribution scores.", +"id": "GoogleCloudAiplatformV1ModelMonitoringObjectiveConfigExplanationConfigExplanationBaseline", +"properties": { +"bigquery": { +"$ref": "GoogleCloudAiplatformV1BigQueryDestination", +"description": "BigQuery location for BatchExplain output." +}, +"gcs": { +"$ref": "GoogleCloudAiplatformV1GcsDestination", +"description": "Cloud Storage location for BatchExplain output." +}, +"predictionFormat": { +"description": "The storage format of the predictions generated BatchPrediction job.", +"enum": [ +"PREDICTION_FORMAT_UNSPECIFIED", +"JSONL", +"BIGQUERY" +], +"enumDescriptions": [ +"Should not be set.", +"Predictions are in JSONL files.", +"Predictions are in BigQuery." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1ModelMonitoringObjectiveConfigPredictionDriftDetectionConfig": { +"description": "The config for Prediction data drift detection.", +"id": "GoogleCloudAiplatformV1ModelMonitoringObjectiveConfigPredictionDriftDetectionConfig", +"properties": { +"attributionScoreDriftThresholds": { +"additionalProperties": { +"$ref": "GoogleCloudAiplatformV1ThresholdConfig" +}, +"description": "Key is the feature name and value is the threshold. The threshold here is against attribution score distance between different time windows.", +"type": "object" +}, +"defaultDriftThreshold": { +"$ref": "GoogleCloudAiplatformV1ThresholdConfig", +"description": "Drift anomaly detection threshold used by all features. When the per-feature thresholds are not set, this field can be used to specify a threshold for all features." +}, +"driftThresholds": { +"additionalProperties": { +"$ref": "GoogleCloudAiplatformV1ThresholdConfig" +}, +"description": "Key is the feature name and value is the threshold. If a feature needs to be monitored for drift, a value threshold must be configured for that feature. The threshold here is against feature distribution distance between different time windws.", +"type": "object" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1ModelMonitoringObjectiveConfigTrainingDataset": { +"description": "Training Dataset information.", +"id": "GoogleCloudAiplatformV1ModelMonitoringObjectiveConfigTrainingDataset", +"properties": { +"bigquerySource": { +"$ref": "GoogleCloudAiplatformV1BigQuerySource", +"description": "The BigQuery table of the unmanaged Dataset used to train this Model." +}, +"dataFormat": { +"description": "Data format of the dataset, only applicable if the input is from Google Cloud Storage. The possible formats are: \"tf-record\" The source file is a TFRecord file. \"csv\" The source file is a CSV file. \"jsonl\" The source file is a JSONL file.", +"type": "string" +}, +"dataset": { +"description": "The resource name of the Dataset used to train this Model.", +"type": "string" +}, +"gcsSource": { +"$ref": "GoogleCloudAiplatformV1GcsSource", +"description": "The Google Cloud Storage uri of the unmanaged Dataset used to train this Model." +}, +"loggingSamplingStrategy": { +"$ref": "GoogleCloudAiplatformV1SamplingStrategy", +"description": "Strategy to sample data from Training Dataset. If not set, we process the whole dataset." +}, +"targetField": { +"description": "The target field name the model is to predict. This field will be excluded when doing Predict and (or) Explain for the training data.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1ModelMonitoringObjectiveConfigTrainingPredictionSkewDetectionConfig": { +"description": "The config for Training & Prediction data skew detection. It specifies the training dataset sources and the skew detection parameters.", +"id": "GoogleCloudAiplatformV1ModelMonitoringObjectiveConfigTrainingPredictionSkewDetectionConfig", +"properties": { +"attributionScoreSkewThresholds": { +"additionalProperties": { +"$ref": "GoogleCloudAiplatformV1ThresholdConfig" +}, +"description": "Key is the feature name and value is the threshold. The threshold here is against attribution score distance between the training and prediction feature.", +"type": "object" +}, +"defaultSkewThreshold": { +"$ref": "GoogleCloudAiplatformV1ThresholdConfig", +"description": "Skew anomaly detection threshold used by all features. When the per-feature thresholds are not set, this field can be used to specify a threshold for all features." +}, +"skewThresholds": { +"additionalProperties": { +"$ref": "GoogleCloudAiplatformV1ThresholdConfig" +}, +"description": "Key is the feature name and value is the threshold. If a feature needs to be monitored for skew, a value threshold must be configured for that feature. The threshold here is against feature distribution distance between the training and prediction feature.", +"type": "object" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1ModelMonitoringStatsAnomalies": { +"description": "Statistics and anomalies generated by Model Monitoring.", +"id": "GoogleCloudAiplatformV1ModelMonitoringStatsAnomalies", +"properties": { +"anomalyCount": { +"description": "Number of anomalies within all stats.", +"format": "int32", +"type": "integer" +}, +"deployedModelId": { +"description": "Deployed Model ID.", +"type": "string" +}, +"featureStats": { +"description": "A list of historical Stats and Anomalies generated for all Features.", +"items": { +"$ref": "GoogleCloudAiplatformV1ModelMonitoringStatsAnomaliesFeatureHistoricStatsAnomalies" +}, +"type": "array" +}, +"objective": { +"description": "Model Monitoring Objective those stats and anomalies belonging to.", +"enum": [ +"MODEL_DEPLOYMENT_MONITORING_OBJECTIVE_TYPE_UNSPECIFIED", +"RAW_FEATURE_SKEW", +"RAW_FEATURE_DRIFT", +"FEATURE_ATTRIBUTION_SKEW", +"FEATURE_ATTRIBUTION_DRIFT" +], +"enumDescriptions": [ +"Default value, should not be set.", +"Raw feature values' stats to detect skew between Training-Prediction datasets.", +"Raw feature values' stats to detect drift between Serving-Prediction datasets.", +"Feature attribution scores to detect skew between Training-Prediction datasets.", +"Feature attribution scores to detect skew between Prediction datasets collected within different time windows." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1ModelMonitoringStatsAnomaliesFeatureHistoricStatsAnomalies": { +"description": "Historical Stats (and Anomalies) for a specific Feature.", +"id": "GoogleCloudAiplatformV1ModelMonitoringStatsAnomaliesFeatureHistoricStatsAnomalies", +"properties": { +"featureDisplayName": { +"description": "Display Name of the Feature.", +"type": "string" +}, +"predictionStats": { +"description": "A list of historical stats generated by different time window's Prediction Dataset.", +"items": { +"$ref": "GoogleCloudAiplatformV1FeatureStatsAnomaly" +}, +"type": "array" +}, +"threshold": { +"$ref": "GoogleCloudAiplatformV1ThresholdConfig", +"description": "Threshold for anomaly detection." +}, +"trainingStats": { +"$ref": "GoogleCloudAiplatformV1FeatureStatsAnomaly", +"description": "Stats calculated for the Training Dataset." +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1ModelOriginalModelInfo": { +"description": "Contains information about the original Model if this Model is a copy.", +"id": "GoogleCloudAiplatformV1ModelOriginalModelInfo", +"properties": { +"model": { +"description": "Output only. The resource name of the Model this Model is a copy of, including the revision. Format: `projects/{project}/locations/{location}/models/{model_id}@{version_id}`", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1ModelSourceInfo": { +"description": "Detail description of the source information of the model.", +"id": "GoogleCloudAiplatformV1ModelSourceInfo", +"properties": { +"copy": { +"description": "If this Model is copy of another Model. If true then source_type pertains to the original.", +"type": "boolean" +}, +"sourceType": { +"description": "Type of the model source.", +"enum": [ +"MODEL_SOURCE_TYPE_UNSPECIFIED", +"AUTOML", +"CUSTOM", +"BQML", +"MODEL_GARDEN", +"GENIE", +"CUSTOM_TEXT_EMBEDDING", +"MARKETPLACE" +], +"enumDescriptions": [ +"Should not be used.", +"The Model is uploaded by automl training pipeline.", +"The Model is uploaded by user or custom training pipeline.", +"The Model is registered and sync'ed from BigQuery ML.", +"The Model is saved or tuned from Model Garden.", +"The Model is saved or tuned from Genie.", +"The Model is uploaded by text embedding finetuning pipeline.", +"The Model is saved or tuned from Marketplace." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1ModelVersionCheckpoint": { +"deprecated": true, +"description": "Describes the machine learning model version checkpoint.", +"id": "GoogleCloudAiplatformV1ModelVersionCheckpoint", +"properties": { +"checkpointId": { +"description": "The ID of the checkpoint.", +"type": "string" +}, +"epoch": { +"description": "The epoch of the checkpoint.", +"format": "int64", +"type": "string" +}, +"step": { +"description": "The step of the checkpoint.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1MultiSpeakerVoiceConfig": { +"description": "Configuration for a multi-speaker text-to-speech request.", +"id": "GoogleCloudAiplatformV1MultiSpeakerVoiceConfig", +"properties": { +"speakerVoiceConfigs": { +"description": "Required. A list of configurations for the voices of the speakers. Exactly two speaker voice configurations must be provided.", +"items": { +"$ref": "GoogleCloudAiplatformV1SpeakerVoiceConfig" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1MutateDeployedIndexOperationMetadata": { +"description": "Runtime operation information for IndexEndpointService.MutateDeployedIndex.", +"id": "GoogleCloudAiplatformV1MutateDeployedIndexOperationMetadata", +"properties": { +"deployedIndexId": { +"description": "The unique index id specified by user", +"type": "string" +}, +"genericMetadata": { +"$ref": "GoogleCloudAiplatformV1GenericOperationMetadata", +"description": "The operation generic information." +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1MutateDeployedIndexResponse": { +"description": "Response message for IndexEndpointService.MutateDeployedIndex.", +"id": "GoogleCloudAiplatformV1MutateDeployedIndexResponse", +"properties": { +"deployedIndex": { +"$ref": "GoogleCloudAiplatformV1DeployedIndex", +"description": "The DeployedIndex that had been updated in the IndexEndpoint." +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1MutateDeployedModelOperationMetadata": { +"description": "Runtime operation information for EndpointService.MutateDeployedModel.", +"id": "GoogleCloudAiplatformV1MutateDeployedModelOperationMetadata", +"properties": { +"genericMetadata": { +"$ref": "GoogleCloudAiplatformV1GenericOperationMetadata", +"description": "The operation generic information." +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1MutateDeployedModelRequest": { +"description": "Request message for EndpointService.MutateDeployedModel.", +"id": "GoogleCloudAiplatformV1MutateDeployedModelRequest", +"properties": { +"deployedModel": { +"$ref": "GoogleCloudAiplatformV1DeployedModel", +"description": "Required. The DeployedModel to be mutated within the Endpoint. Only the following fields can be mutated: * `min_replica_count` in either DedicatedResources or AutomaticResources * `max_replica_count` in either DedicatedResources or AutomaticResources * `required_replica_count` in DedicatedResources * autoscaling_metric_specs * `disable_container_logging` (v1 only) * `enable_container_logging` (v1beta1 only) * `scale_to_zero_spec` in DedicatedResources (v1beta1 only) * `initial_replica_count` in DedicatedResources (v1beta1 only)" +}, +"updateMask": { +"description": "Required. The update mask applies to the resource. See google.protobuf.FieldMask.", +"format": "google-fieldmask", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1MutateDeployedModelResponse": { +"description": "Response message for EndpointService.MutateDeployedModel.", +"id": "GoogleCloudAiplatformV1MutateDeployedModelResponse", +"properties": { +"deployedModel": { +"$ref": "GoogleCloudAiplatformV1DeployedModel", +"description": "The DeployedModel that's being mutated." +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1NasJob": { +"description": "Represents a Neural Architecture Search (NAS) job.", +"id": "GoogleCloudAiplatformV1NasJob", +"properties": { +"createTime": { +"description": "Output only. Time when the NasJob was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"displayName": { +"description": "Required. The display name of the NasJob. The name can be up to 128 characters long and can consist of any UTF-8 characters.", +"type": "string" +}, +"enableRestrictedImageTraining": { +"deprecated": true, +"description": "Optional. Enable a separation of Custom model training and restricted image training for tenant project.", +"type": "boolean" +}, +"encryptionSpec": { +"$ref": "GoogleCloudAiplatformV1EncryptionSpec", +"description": "Customer-managed encryption key options for a NasJob. If this is set, then all resources created by the NasJob will be encrypted with the provided encryption key." +}, +"endTime": { +"description": "Output only. Time when the NasJob entered any of the following states: `JOB_STATE_SUCCEEDED`, `JOB_STATE_FAILED`, `JOB_STATE_CANCELLED`.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"error": { +"$ref": "GoogleRpcStatus", +"description": "Output only. Only populated when job's state is JOB_STATE_FAILED or JOB_STATE_CANCELLED.", +"readOnly": true +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "The labels with user-defined metadata to organize NasJobs. Label keys and values can be no longer than 64 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. See https://goo.gl/xmQnxf for more information and examples of labels.", +"type": "object" +}, +"name": { +"description": "Output only. Resource name of the NasJob.", +"readOnly": true, +"type": "string" +}, +"nasJobOutput": { +"$ref": "GoogleCloudAiplatformV1NasJobOutput", +"description": "Output only. Output of the NasJob.", +"readOnly": true +}, +"nasJobSpec": { +"$ref": "GoogleCloudAiplatformV1NasJobSpec", +"description": "Required. The specification of a NasJob." +}, +"satisfiesPzi": { +"description": "Output only. Reserved for future use.", +"readOnly": true, +"type": "boolean" +}, +"satisfiesPzs": { +"description": "Output only. Reserved for future use.", +"readOnly": true, +"type": "boolean" +}, +"startTime": { +"description": "Output only. Time when the NasJob for the first time entered the `JOB_STATE_RUNNING` state.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"state": { +"description": "Output only. The detailed state of the job.", +"enum": [ +"JOB_STATE_UNSPECIFIED", +"JOB_STATE_QUEUED", +"JOB_STATE_PENDING", +"JOB_STATE_RUNNING", +"JOB_STATE_SUCCEEDED", +"JOB_STATE_FAILED", +"JOB_STATE_CANCELLING", +"JOB_STATE_CANCELLED", +"JOB_STATE_PAUSED", +"JOB_STATE_EXPIRED", +"JOB_STATE_UPDATING", +"JOB_STATE_PARTIALLY_SUCCEEDED" +], +"enumDescriptions": [ +"The job state is unspecified.", +"The job has been just created or resumed and processing has not yet begun.", +"The service is preparing to run the job.", +"The job is in progress.", +"The job completed successfully.", +"The job failed.", +"The job is being cancelled. From this state the job may only go to either `JOB_STATE_SUCCEEDED`, `JOB_STATE_FAILED` or `JOB_STATE_CANCELLED`.", +"The job has been cancelled.", +"The job has been stopped, and can be resumed.", +"The job has expired.", +"The job is being updated. Only jobs in the `RUNNING` state can be updated. After updating, the job goes back to the `RUNNING` state.", +"The job is partially succeeded, some results may be missing due to errors." +], +"readOnly": true, +"type": "string" +}, +"updateTime": { +"description": "Output only. Time when the NasJob was most recently updated.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1NasJobOutput": { +"description": "Represents a uCAIP NasJob output.", +"id": "GoogleCloudAiplatformV1NasJobOutput", +"properties": { +"multiTrialJobOutput": { +"$ref": "GoogleCloudAiplatformV1NasJobOutputMultiTrialJobOutput", +"description": "Output only. The output of this multi-trial Neural Architecture Search (NAS) job.", +"readOnly": true +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1NasJobOutputMultiTrialJobOutput": { +"description": "The output of a multi-trial Neural Architecture Search (NAS) jobs.", +"id": "GoogleCloudAiplatformV1NasJobOutputMultiTrialJobOutput", +"properties": { +"searchTrials": { +"description": "Output only. List of NasTrials that were started as part of search stage.", +"items": { +"$ref": "GoogleCloudAiplatformV1NasTrial" +}, +"readOnly": true, +"type": "array" +}, +"trainTrials": { +"description": "Output only. List of NasTrials that were started as part of train stage.", +"items": { +"$ref": "GoogleCloudAiplatformV1NasTrial" +}, +"readOnly": true, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1NasJobSpec": { +"description": "Represents the spec of a NasJob.", +"id": "GoogleCloudAiplatformV1NasJobSpec", +"properties": { +"multiTrialAlgorithmSpec": { +"$ref": "GoogleCloudAiplatformV1NasJobSpecMultiTrialAlgorithmSpec", +"description": "The spec of multi-trial algorithms." +}, +"resumeNasJobId": { +"description": "The ID of the existing NasJob in the same Project and Location which will be used to resume search. search_space_spec and nas_algorithm_spec are obtained from previous NasJob hence should not provide them again for this NasJob.", +"type": "string" +}, +"searchSpaceSpec": { +"description": "It defines the search space for Neural Architecture Search (NAS).", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1NasJobSpecMultiTrialAlgorithmSpec": { +"description": "The spec of multi-trial Neural Architecture Search (NAS).", +"id": "GoogleCloudAiplatformV1NasJobSpecMultiTrialAlgorithmSpec", +"properties": { +"metric": { +"$ref": "GoogleCloudAiplatformV1NasJobSpecMultiTrialAlgorithmSpecMetricSpec", +"description": "Metric specs for the NAS job. Validation for this field is done at `multi_trial_algorithm_spec` field." +}, +"multiTrialAlgorithm": { +"description": "The multi-trial Neural Architecture Search (NAS) algorithm type. Defaults to `REINFORCEMENT_LEARNING`.", +"enum": [ +"MULTI_TRIAL_ALGORITHM_UNSPECIFIED", +"REINFORCEMENT_LEARNING", +"GRID_SEARCH" +], +"enumDescriptions": [ +"Defaults to `REINFORCEMENT_LEARNING`.", +"The Reinforcement Learning Algorithm for Multi-trial Neural Architecture Search (NAS).", +"The Grid Search Algorithm for Multi-trial Neural Architecture Search (NAS)." +], +"type": "string" +}, +"searchTrialSpec": { +"$ref": "GoogleCloudAiplatformV1NasJobSpecMultiTrialAlgorithmSpecSearchTrialSpec", +"description": "Required. Spec for search trials." +}, +"trainTrialSpec": { +"$ref": "GoogleCloudAiplatformV1NasJobSpecMultiTrialAlgorithmSpecTrainTrialSpec", +"description": "Spec for train trials. Top N [TrainTrialSpec.max_parallel_trial_count] search trials will be trained for every M [TrainTrialSpec.frequency] trials searched." +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1NasJobSpecMultiTrialAlgorithmSpecMetricSpec": { +"description": "Represents a metric to optimize.", +"id": "GoogleCloudAiplatformV1NasJobSpecMultiTrialAlgorithmSpecMetricSpec", +"properties": { +"goal": { +"description": "Required. The optimization goal of the metric.", +"enum": [ +"GOAL_TYPE_UNSPECIFIED", +"MAXIMIZE", +"MINIMIZE" +], +"enumDescriptions": [ +"Goal Type will default to maximize.", +"Maximize the goal metric.", +"Minimize the goal metric." +], +"type": "string" +}, +"metricId": { +"description": "Required. The ID of the metric. Must not contain whitespaces.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1NasJobSpecMultiTrialAlgorithmSpecSearchTrialSpec": { +"description": "Represent spec for search trials.", +"id": "GoogleCloudAiplatformV1NasJobSpecMultiTrialAlgorithmSpecSearchTrialSpec", +"properties": { +"maxFailedTrialCount": { +"description": "The number of failed trials that need to be seen before failing the NasJob. If set to 0, Vertex AI decides how many trials must fail before the whole job fails.", +"format": "int32", +"type": "integer" +}, +"maxParallelTrialCount": { +"description": "Required. The maximum number of trials to run in parallel.", +"format": "int32", +"type": "integer" +}, +"maxTrialCount": { +"description": "Required. The maximum number of Neural Architecture Search (NAS) trials to run.", +"format": "int32", +"type": "integer" +}, +"searchTrialJobSpec": { +"$ref": "GoogleCloudAiplatformV1CustomJobSpec", +"description": "Required. The spec of a search trial job. The same spec applies to all search trials." +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1NasJobSpecMultiTrialAlgorithmSpecTrainTrialSpec": { +"description": "Represent spec for train trials.", +"id": "GoogleCloudAiplatformV1NasJobSpecMultiTrialAlgorithmSpecTrainTrialSpec", +"properties": { +"frequency": { +"description": "Required. Frequency of search trials to start train stage. Top N [TrainTrialSpec.max_parallel_trial_count] search trials will be trained for every M [TrainTrialSpec.frequency] trials searched.", +"format": "int32", +"type": "integer" +}, +"maxParallelTrialCount": { +"description": "Required. The maximum number of trials to run in parallel.", +"format": "int32", +"type": "integer" +}, +"trainTrialJobSpec": { +"$ref": "GoogleCloudAiplatformV1CustomJobSpec", +"description": "Required. The spec of a train trial job. The same spec applies to all train trials." +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1NasTrial": { +"description": "Represents a uCAIP NasJob trial.", +"id": "GoogleCloudAiplatformV1NasTrial", +"properties": { +"endTime": { +"description": "Output only. Time when the NasTrial's status changed to `SUCCEEDED` or `INFEASIBLE`.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"finalMeasurement": { +"$ref": "GoogleCloudAiplatformV1Measurement", +"description": "Output only. The final measurement containing the objective value.", +"readOnly": true +}, +"id": { +"description": "Output only. The identifier of the NasTrial assigned by the service.", +"readOnly": true, +"type": "string" +}, +"startTime": { +"description": "Output only. Time when the NasTrial was started.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"state": { +"description": "Output only. The detailed state of the NasTrial.", +"enum": [ +"STATE_UNSPECIFIED", +"REQUESTED", +"ACTIVE", +"STOPPING", +"SUCCEEDED", +"INFEASIBLE" +], +"enumDescriptions": [ +"The NasTrial state is unspecified.", +"Indicates that a specific NasTrial has been requested, but it has not yet been suggested by the service.", +"Indicates that the NasTrial has been suggested.", +"Indicates that the NasTrial should stop according to the service.", +"Indicates that the NasTrial is completed successfully.", +"Indicates that the NasTrial should not be attempted again. The service will set a NasTrial to INFEASIBLE when it's done but missing the final_measurement." +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1NasTrialDetail": { +"description": "Represents a NasTrial details along with its parameters. If there is a corresponding train NasTrial, the train NasTrial is also returned.", +"id": "GoogleCloudAiplatformV1NasTrialDetail", +"properties": { +"name": { +"description": "Output only. Resource name of the NasTrialDetail.", +"readOnly": true, +"type": "string" +}, +"parameters": { +"description": "The parameters for the NasJob NasTrial.", +"type": "string" +}, +"searchTrial": { +"$ref": "GoogleCloudAiplatformV1NasTrial", +"description": "The requested search NasTrial." +}, +"trainTrial": { +"$ref": "GoogleCloudAiplatformV1NasTrial", +"description": "The train NasTrial corresponding to search_trial. Only populated if search_trial is used for training." +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1NearestNeighborQuery": { +"description": "A query to find a number of similar entities.", +"id": "GoogleCloudAiplatformV1NearestNeighborQuery", +"properties": { +"embedding": { +"$ref": "GoogleCloudAiplatformV1NearestNeighborQueryEmbedding", +"description": "Optional. The embedding vector that be used for similar search." +}, +"entityId": { +"description": "Optional. The entity id whose similar entities should be searched for. If embedding is set, search will use embedding instead of entity_id.", +"type": "string" +}, +"neighborCount": { +"description": "Optional. The number of similar entities to be retrieved from feature view for each query.", +"format": "int32", +"type": "integer" +}, +"numericFilters": { +"description": "Optional. The list of numeric filters.", +"items": { +"$ref": "GoogleCloudAiplatformV1NearestNeighborQueryNumericFilter" +}, +"type": "array" +}, +"parameters": { +"$ref": "GoogleCloudAiplatformV1NearestNeighborQueryParameters", +"description": "Optional. Parameters that can be set to tune query on the fly." +}, +"perCrowdingAttributeNeighborCount": { +"description": "Optional. Crowding is a constraint on a neighbor list produced by nearest neighbor search requiring that no more than sper_crowding_attribute_neighbor_count of the k neighbors returned have the same value of crowding_attribute. It's used for improving result diversity.", +"format": "int32", +"type": "integer" +}, +"stringFilters": { +"description": "Optional. The list of string filters.", +"items": { +"$ref": "GoogleCloudAiplatformV1NearestNeighborQueryStringFilter" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1NearestNeighborQueryEmbedding": { +"description": "The embedding vector.", +"id": "GoogleCloudAiplatformV1NearestNeighborQueryEmbedding", +"properties": { +"value": { +"description": "Optional. Individual value in the embedding.", +"items": { +"format": "float", +"type": "number" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1NearestNeighborQueryNumericFilter": { +"description": "Numeric filter is used to search a subset of the entities by using boolean rules on numeric columns. For example: Database Point 0: {name: \"a\" value_int: 42} {name: \"b\" value_float: 1.0} Database Point 1: {name: \"a\" value_int: 10} {name: \"b\" value_float: 2.0} Database Point 2: {name: \"a\" value_int: -1} {name: \"b\" value_float: 3.0} Query: {name: \"a\" value_int: 12 operator: LESS} // Matches Point 1, 2 {name: \"b\" value_float: 2.0 operator: EQUAL} // Matches Point 1", +"id": "GoogleCloudAiplatformV1NearestNeighborQueryNumericFilter", +"properties": { +"name": { +"description": "Required. Column name in BigQuery that used as filters.", +"type": "string" +}, +"op": { +"description": "Optional. This MUST be specified for queries and must NOT be specified for database points.", +"enum": [ +"OPERATOR_UNSPECIFIED", +"LESS", +"LESS_EQUAL", +"EQUAL", +"GREATER_EQUAL", +"GREATER", +"NOT_EQUAL" +], +"enumDescriptions": [ +"Unspecified operator.", +"Entities are eligible if their value is < the query's.", +"Entities are eligible if their value is <= the query's.", +"Entities are eligible if their value is == the query's.", +"Entities are eligible if their value is >= the query's.", +"Entities are eligible if their value is > the query's.", +"Entities are eligible if their value is != the query's." +], +"type": "string" +}, +"valueDouble": { +"description": "double value type.", +"format": "double", +"type": "number" +}, +"valueFloat": { +"description": "float value type.", +"format": "float", +"type": "number" +}, +"valueInt": { +"description": "int value type.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1NearestNeighborQueryParameters": { +"description": "Parameters that can be overrided in each query to tune query latency and recall.", +"id": "GoogleCloudAiplatformV1NearestNeighborQueryParameters", +"properties": { +"approximateNeighborCandidates": { +"description": "Optional. The number of neighbors to find via approximate search before exact reordering is performed; if set, this value must be > neighbor_count.", +"format": "int32", +"type": "integer" +}, +"leafNodesSearchFraction": { +"description": "Optional. The fraction of the number of leaves to search, set at query time allows user to tune search performance. This value increase result in both search accuracy and latency increase. The value should be between 0.0 and 1.0.", +"format": "double", +"type": "number" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1NearestNeighborQueryStringFilter": { +"description": "String filter is used to search a subset of the entities by using boolean rules on string columns. For example: if a query specifies string filter with 'name = color, allow_tokens = {red, blue}, deny_tokens = {purple}',' then that query will match entities that are red or blue, but if those points are also purple, then they will be excluded even if they are red/blue. Only string filter is supported for now, numeric filter will be supported in the near future.", +"id": "GoogleCloudAiplatformV1NearestNeighborQueryStringFilter", +"properties": { +"allowTokens": { +"description": "Optional. The allowed tokens.", +"items": { +"type": "string" +}, +"type": "array" +}, +"denyTokens": { +"description": "Optional. The denied tokens.", +"items": { +"type": "string" +}, +"type": "array" +}, +"name": { +"description": "Required. Column names in BigQuery that used as filters.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1NearestNeighborSearchOperationMetadata": { +"description": "Runtime operation metadata with regard to Matching Engine Index.", +"id": "GoogleCloudAiplatformV1NearestNeighborSearchOperationMetadata", +"properties": { +"contentValidationStats": { +"description": "The validation stats of the content (per file) to be inserted or updated on the Matching Engine Index resource. Populated if contentsDeltaUri is provided as part of Index.metadata. Please note that, currently for those files that are broken or has unsupported file format, we will not have the stats for those files.", +"items": { +"$ref": "GoogleCloudAiplatformV1NearestNeighborSearchOperationMetadataContentValidationStats" +}, +"type": "array" +}, +"dataBytesCount": { +"description": "The ingested data size in bytes.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1NearestNeighborSearchOperationMetadataContentValidationStats": { +"id": "GoogleCloudAiplatformV1NearestNeighborSearchOperationMetadataContentValidationStats", +"properties": { +"invalidRecordCount": { +"description": "Number of records in this file we skipped due to validate errors.", +"format": "int64", +"type": "string" +}, +"invalidSparseRecordCount": { +"description": "Number of sparse records in this file we skipped due to validate errors.", +"format": "int64", +"type": "string" +}, +"partialErrors": { +"description": "The detail information of the partial failures encountered for those invalid records that couldn't be parsed. Up to 50 partial errors will be reported.", +"items": { +"$ref": "GoogleCloudAiplatformV1NearestNeighborSearchOperationMetadataRecordError" +}, +"type": "array" +}, +"sourceGcsUri": { +"description": "Cloud Storage URI pointing to the original file in user's bucket.", +"type": "string" +}, +"validRecordCount": { +"description": "Number of records in this file that were successfully processed.", +"format": "int64", +"type": "string" +}, +"validSparseRecordCount": { +"description": "Number of sparse records in this file that were successfully processed.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1NearestNeighborSearchOperationMetadataRecordError": { +"id": "GoogleCloudAiplatformV1NearestNeighborSearchOperationMetadataRecordError", +"properties": { +"embeddingId": { +"description": "Empty if the embedding id is failed to parse.", +"type": "string" +}, +"errorMessage": { +"description": "A human-readable message that is shown to the user to help them fix the error. Note that this message may change from time to time, your code should check against error_type as the source of truth.", +"type": "string" +}, +"errorType": { +"description": "The error type of this record.", +"enum": [ +"ERROR_TYPE_UNSPECIFIED", +"EMPTY_LINE", +"INVALID_JSON_SYNTAX", +"INVALID_CSV_SYNTAX", +"INVALID_AVRO_SYNTAX", +"INVALID_EMBEDDING_ID", +"EMBEDDING_SIZE_MISMATCH", +"NAMESPACE_MISSING", +"PARSING_ERROR", +"DUPLICATE_NAMESPACE", +"OP_IN_DATAPOINT", +"MULTIPLE_VALUES", +"INVALID_NUMERIC_VALUE", +"INVALID_ENCODING", +"INVALID_SPARSE_DIMENSIONS", +"INVALID_TOKEN_VALUE", +"INVALID_SPARSE_EMBEDDING", +"INVALID_EMBEDDING", +"INVALID_EMBEDDING_METADATA", +"EMBEDDING_METADATA_EXCEEDS_SIZE_LIMIT" +], +"enumDescriptions": [ +"Default, shall not be used.", +"The record is empty.", +"Invalid json format.", +"Invalid csv format.", +"Invalid avro format.", +"The embedding id is not valid.", +"The size of the dense embedding vectors does not match with the specified dimension.", +"The `namespace` field is missing.", +"Generic catch-all error. Only used for validation failure where the root cause cannot be easily retrieved programmatically.", +"There are multiple restricts with the same `namespace` value.", +"Numeric restrict has operator specified in datapoint.", +"Numeric restrict has multiple values specified.", +"Numeric restrict has invalid numeric value specified.", +"File is not in UTF_8 format.", +"Error parsing sparse dimensions field.", +"Token restrict value is invalid.", +"Invalid sparse embedding.", +"Invalid dense embedding.", +"Invalid embedding metadata.", +"Embedding metadata exceeds size limit." +], +"type": "string" +}, +"rawRecord": { +"description": "The original content of this record.", +"type": "string" +}, +"sourceGcsUri": { +"description": "Cloud Storage URI pointing to the original file in user's bucket.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1NearestNeighbors": { +"description": "Nearest neighbors for one query.", +"id": "GoogleCloudAiplatformV1NearestNeighbors", +"properties": { +"neighbors": { +"description": "All its neighbors.", +"items": { +"$ref": "GoogleCloudAiplatformV1NearestNeighborsNeighbor" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1NearestNeighborsNeighbor": { +"description": "A neighbor of the query vector.", +"id": "GoogleCloudAiplatformV1NearestNeighborsNeighbor", +"properties": { +"distance": { +"description": "The distance between the neighbor and the query vector.", +"format": "double", +"type": "number" +}, +"entityId": { +"description": "The id of the similar entity.", +"type": "string" +}, +"entityKeyValues": { +"$ref": "GoogleCloudAiplatformV1FetchFeatureValuesResponse", +"description": "The attributes of the neighbor, e.g. filters, crowding and metadata Note that full entities are returned only when \"return_full_entity\" is set to true. Otherwise, only the \"entity_id\" and \"distance\" fields are populated." +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1Neighbor": { +"description": "Neighbors for example-based explanations.", +"id": "GoogleCloudAiplatformV1Neighbor", +"properties": { +"neighborDistance": { +"description": "Output only. The neighbor distance.", +"format": "double", +"readOnly": true, +"type": "number" +}, +"neighborId": { +"description": "Output only. The neighbor id.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1NetworkSpec": { +"description": "Network spec.", +"id": "GoogleCloudAiplatformV1NetworkSpec", +"properties": { +"enableInternetAccess": { +"description": "Whether to enable public internet access. Default false.", +"type": "boolean" +}, +"network": { +"description": "The full name of the Google Compute Engine [network](https://cloud.google.com//compute/docs/networks-and-firewalls#networks)", +"type": "string" +}, +"subnetwork": { +"description": "The name of the subnet that this instance is in. Format: `projects/{project_id_or_number}/regions/{region}/subnetworks/{subnetwork_id}`", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1NfsMount": { +"description": "Represents a mount configuration for Network File System (NFS) to mount.", +"id": "GoogleCloudAiplatformV1NfsMount", +"properties": { +"mountPoint": { +"description": "Required. Destination mount path. The NFS will be mounted for the user under /mnt/nfs/", +"type": "string" +}, +"path": { +"description": "Required. Source path exported from NFS server. Has to start with '/', and combined with the ip address, it indicates the source mount path in the form of `server:path`", +"type": "string" +}, +"server": { +"description": "Required. IP address of the NFS server.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1NotebookEucConfig": { +"description": "The euc configuration of NotebookRuntimeTemplate.", +"id": "GoogleCloudAiplatformV1NotebookEucConfig", +"properties": { +"bypassActasCheck": { +"description": "Output only. Whether ActAs check is bypassed for service account attached to the VM. If false, we need ActAs check for the default Compute Engine Service account. When a Runtime is created, a VM is allocated using Default Compute Engine Service Account. Any user requesting to use this Runtime requires Service Account User (ActAs) permission over this SA. If true, Runtime owner is using EUC and does not require the above permission as VM no longer use default Compute Engine SA, but a P4SA.", +"readOnly": true, +"type": "boolean" +}, +"eucDisabled": { +"description": "Input only. Whether EUC is disabled in this NotebookRuntimeTemplate. In proto3, the default value of a boolean is false. In this way, by default EUC will be enabled for NotebookRuntimeTemplate.", +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1NotebookExecutionJob": { +"description": "NotebookExecutionJob represents an instance of a notebook execution.", +"id": "GoogleCloudAiplatformV1NotebookExecutionJob", +"properties": { +"createTime": { +"description": "Output only. Timestamp when this NotebookExecutionJob was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"customEnvironmentSpec": { +"$ref": "GoogleCloudAiplatformV1NotebookExecutionJobCustomEnvironmentSpec", +"description": "The custom compute configuration for an execution job." +}, +"dataformRepositorySource": { +"$ref": "GoogleCloudAiplatformV1NotebookExecutionJobDataformRepositorySource", +"description": "The Dataform Repository pointing to a single file notebook repository." +}, +"directNotebookSource": { +"$ref": "GoogleCloudAiplatformV1NotebookExecutionJobDirectNotebookSource", +"description": "The contents of an input notebook file." +}, +"displayName": { +"description": "The display name of the NotebookExecutionJob. The name can be up to 128 characters long and can consist of any UTF-8 characters.", +"type": "string" +}, +"encryptionSpec": { +"$ref": "GoogleCloudAiplatformV1EncryptionSpec", +"description": "Customer-managed encryption key spec for the notebook execution job. This field is auto-populated if the NotebookRuntimeTemplate has an encryption spec." +}, +"executionTimeout": { +"description": "Max running time of the execution job in seconds (default 86400s / 24 hrs).", +"format": "google-duration", +"type": "string" +}, +"executionUser": { +"description": "The user email to run the execution as. Only supported by Colab runtimes.", +"type": "string" +}, +"gcsNotebookSource": { +"$ref": "GoogleCloudAiplatformV1NotebookExecutionJobGcsNotebookSource", +"description": "The Cloud Storage url pointing to the ipynb file. Format: `gs://bucket/notebook_file.ipynb`" +}, +"gcsOutputUri": { +"description": "The Cloud Storage location to upload the result to. Format: `gs://bucket-name`", +"type": "string" +}, +"jobState": { +"description": "Output only. The state of the NotebookExecutionJob.", +"enum": [ +"JOB_STATE_UNSPECIFIED", +"JOB_STATE_QUEUED", +"JOB_STATE_PENDING", +"JOB_STATE_RUNNING", +"JOB_STATE_SUCCEEDED", +"JOB_STATE_FAILED", +"JOB_STATE_CANCELLING", +"JOB_STATE_CANCELLED", +"JOB_STATE_PAUSED", +"JOB_STATE_EXPIRED", +"JOB_STATE_UPDATING", +"JOB_STATE_PARTIALLY_SUCCEEDED" +], +"enumDescriptions": [ +"The job state is unspecified.", +"The job has been just created or resumed and processing has not yet begun.", +"The service is preparing to run the job.", +"The job is in progress.", +"The job completed successfully.", +"The job failed.", +"The job is being cancelled. From this state the job may only go to either `JOB_STATE_SUCCEEDED`, `JOB_STATE_FAILED` or `JOB_STATE_CANCELLED`.", +"The job has been cancelled.", +"The job has been stopped, and can be resumed.", +"The job has expired.", +"The job is being updated. Only jobs in the `RUNNING` state can be updated. After updating, the job goes back to the `RUNNING` state.", +"The job is partially succeeded, some results may be missing due to errors." +], +"readOnly": true, +"type": "string" +}, +"kernelName": { +"description": "The name of the kernel to use during notebook execution. If unset, the default kernel is used.", +"type": "string" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "The labels with user-defined metadata to organize NotebookExecutionJobs. Label keys and values can be no longer than 64 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. See https://goo.gl/xmQnxf for more information and examples of labels. System reserved label keys are prefixed with \"aiplatform.googleapis.com/\" and are immutable.", +"type": "object" +}, +"name": { +"description": "Output only. The resource name of this NotebookExecutionJob. Format: `projects/{project_id}/locations/{location}/notebookExecutionJobs/{job_id}`", +"readOnly": true, +"type": "string" +}, +"notebookRuntimeTemplateResourceName": { +"description": "The NotebookRuntimeTemplate to source compute configuration from.", +"type": "string" +}, +"scheduleResourceName": { +"description": "The Schedule resource name if this job is triggered by one. Format: `projects/{project_id}/locations/{location}/schedules/{schedule_id}`", +"type": "string" +}, +"serviceAccount": { +"description": "The service account to run the execution as.", +"type": "string" +}, +"status": { +"$ref": "GoogleRpcStatus", +"description": "Output only. Populated when the NotebookExecutionJob is completed. When there is an error during notebook execution, the error details are populated.", +"readOnly": true +}, +"updateTime": { +"description": "Output only. Timestamp when this NotebookExecutionJob was most recently updated.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"workbenchRuntime": { +"$ref": "GoogleCloudAiplatformV1NotebookExecutionJobWorkbenchRuntime", +"description": "The Workbench runtime configuration to use for the notebook execution." +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1NotebookExecutionJobCustomEnvironmentSpec": { +"description": "Compute configuration to use for an execution job.", +"id": "GoogleCloudAiplatformV1NotebookExecutionJobCustomEnvironmentSpec", +"properties": { +"machineSpec": { +"$ref": "GoogleCloudAiplatformV1MachineSpec", +"description": "The specification of a single machine for the execution job." +}, +"networkSpec": { +"$ref": "GoogleCloudAiplatformV1NetworkSpec", +"description": "The network configuration to use for the execution job." +}, +"persistentDiskSpec": { +"$ref": "GoogleCloudAiplatformV1PersistentDiskSpec", +"description": "The specification of a persistent disk to attach for the execution job." +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1NotebookExecutionJobDataformRepositorySource": { +"description": "The Dataform Repository containing the input notebook.", +"id": "GoogleCloudAiplatformV1NotebookExecutionJobDataformRepositorySource", +"properties": { +"commitSha": { +"description": "The commit SHA to read repository with. If unset, the file will be read at HEAD.", +"type": "string" +}, +"dataformRepositoryResourceName": { +"description": "The resource name of the Dataform Repository. Format: `projects/{project_id}/locations/{location}/repositories/{repository_id}`", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1NotebookExecutionJobDirectNotebookSource": { +"description": "The content of the input notebook in ipynb format.", +"id": "GoogleCloudAiplatformV1NotebookExecutionJobDirectNotebookSource", +"properties": { +"content": { +"description": "The base64-encoded contents of the input notebook file.", +"format": "byte", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1NotebookExecutionJobGcsNotebookSource": { +"description": "The Cloud Storage uri for the input notebook.", +"id": "GoogleCloudAiplatformV1NotebookExecutionJobGcsNotebookSource", +"properties": { +"generation": { +"description": "The version of the Cloud Storage object to read. If unset, the current version of the object is read. See https://cloud.google.com/storage/docs/metadata#generation-number.", +"type": "string" +}, +"uri": { +"description": "The Cloud Storage uri pointing to the ipynb file. Format: `gs://bucket/notebook_file.ipynb`", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1NotebookExecutionJobWorkbenchRuntime": { +"description": "Configuration for a Workbench Instances-based environment.", +"id": "GoogleCloudAiplatformV1NotebookExecutionJobWorkbenchRuntime", +"properties": {}, +"type": "object" +}, +"GoogleCloudAiplatformV1NotebookIdleShutdownConfig": { +"description": "The idle shutdown configuration of NotebookRuntimeTemplate, which contains the idle_timeout as required field.", +"id": "GoogleCloudAiplatformV1NotebookIdleShutdownConfig", +"properties": { +"idleShutdownDisabled": { +"description": "Whether Idle Shutdown is disabled in this NotebookRuntimeTemplate.", +"type": "boolean" +}, +"idleTimeout": { +"description": "Required. Duration is accurate to the second. In Notebook, Idle Timeout is accurate to minute so the range of idle_timeout (second) is: 10 * 60 ~ 1440 * 60.", +"format": "google-duration", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1NotebookReservationAffinity": { +"description": "Notebook Reservation Affinity for consuming Zonal reservation.", +"id": "GoogleCloudAiplatformV1NotebookReservationAffinity", +"properties": { +"consumeReservationType": { +"description": "Required. Specifies the type of reservation from which this instance can consume resources: RESERVATION_ANY (default), RESERVATION_SPECIFIC, or RESERVATION_NONE. See Consuming reserved instances for examples.", +"enum": [ +"RESERVATION_AFFINITY_TYPE_UNSPECIFIED", +"RESERVATION_NONE", +"RESERVATION_ANY", +"RESERVATION_SPECIFIC" +], +"enumDescriptions": [ +"Default type.", +"Do not consume from any allocated capacity.", +"Consume any reservation available.", +"Must consume from a specific reservation. Must specify key value fields for specifying the reservations." +], +"type": "string" +}, +"key": { +"description": "Optional. Corresponds to the label key of a reservation resource. To target a RESERVATION_SPECIFIC by name, use compute.googleapis.com/reservation-name as the key and specify the name of your reservation as its value.", +"type": "string" +}, +"values": { +"description": "Optional. Corresponds to the label values of a reservation resource. This must be the full path name of Reservation.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1NotebookRuntime": { +"description": "A runtime is a virtual machine allocated to a particular user for a particular Notebook file on temporary basis with lifetime. Default runtimes have a lifetime of 18 hours, while custom runtimes last for 6 months from their creation or last upgrade.", +"id": "GoogleCloudAiplatformV1NotebookRuntime", +"properties": { +"createTime": { +"description": "Output only. Timestamp when this NotebookRuntime was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"dataPersistentDiskSpec": { +"$ref": "GoogleCloudAiplatformV1PersistentDiskSpec", +"description": "Output only. The specification of persistent disk attached to the notebook runtime as data disk storage.", +"readOnly": true +}, +"description": { +"description": "The description of the NotebookRuntime.", +"type": "string" +}, +"displayName": { +"description": "Required. The display name of the NotebookRuntime. The name can be up to 128 characters long and can consist of any UTF-8 characters.", +"type": "string" +}, +"encryptionSpec": { +"$ref": "GoogleCloudAiplatformV1EncryptionSpec", +"description": "Output only. Customer-managed encryption key spec for the notebook runtime.", +"readOnly": true +}, +"eucConfig": { +"$ref": "GoogleCloudAiplatformV1NotebookEucConfig", +"description": "Output only. EUC configuration of the notebook runtime.", +"readOnly": true +}, +"expirationTime": { +"description": "Output only. Timestamp when this NotebookRuntime will be expired: 1. System Predefined NotebookRuntime: 24 hours after creation. After expiration, system predifined runtime will be deleted. 2. User created NotebookRuntime: 6 months after last upgrade. After expiration, user created runtime will be stopped and allowed for upgrade.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"healthState": { +"description": "Output only. The health state of the NotebookRuntime.", +"enum": [ +"HEALTH_STATE_UNSPECIFIED", +"HEALTHY", +"UNHEALTHY" +], +"enumDescriptions": [ +"Unspecified health state.", +"NotebookRuntime is in healthy state. Applies to ACTIVE state.", +"NotebookRuntime is in unhealthy state. Applies to ACTIVE state." +], +"readOnly": true, +"type": "string" +}, +"idleShutdownConfig": { +"$ref": "GoogleCloudAiplatformV1NotebookIdleShutdownConfig", +"description": "Output only. The idle shutdown configuration of the notebook runtime.", +"readOnly": true +}, +"isUpgradable": { +"description": "Output only. Whether NotebookRuntime is upgradable.", +"readOnly": true, +"type": "boolean" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "The labels with user-defined metadata to organize your NotebookRuntime. Label keys and values can be no longer than 64 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. No more than 64 user labels can be associated with one NotebookRuntime (System labels are excluded). See https://goo.gl/xmQnxf for more information and examples of labels. System reserved label keys are prefixed with \"aiplatform.googleapis.com/\" and are immutable. Following system labels exist for NotebookRuntime: * \"aiplatform.googleapis.com/notebook_runtime_gce_instance_id\": output only, its value is the Compute Engine instance id. * \"aiplatform.googleapis.com/colab_enterprise_entry_service\": its value is either \"bigquery\" or \"vertex\"; if absent, it should be \"vertex\". This is to describe the entry service, either BigQuery or Vertex.", +"type": "object" +}, +"machineSpec": { +"$ref": "GoogleCloudAiplatformV1MachineSpec", +"description": "Output only. The specification of a single machine used by the notebook runtime.", +"readOnly": true +}, +"name": { +"description": "Output only. The resource name of the NotebookRuntime.", +"readOnly": true, +"type": "string" +}, +"networkSpec": { +"$ref": "GoogleCloudAiplatformV1NetworkSpec", +"description": "Output only. Network spec of the notebook runtime.", +"readOnly": true +}, +"networkTags": { +"description": "Optional. The Compute Engine tags to add to runtime (see [Tagging instances](https://cloud.google.com/vpc/docs/add-remove-network-tags)).", +"items": { +"type": "string" +}, +"type": "array" +}, +"notebookRuntimeTemplateRef": { +"$ref": "GoogleCloudAiplatformV1NotebookRuntimeTemplateRef", +"description": "Output only. The pointer to NotebookRuntimeTemplate this NotebookRuntime is created from.", +"readOnly": true +}, +"notebookRuntimeType": { +"description": "Output only. The type of the notebook runtime.", +"enum": [ +"NOTEBOOK_RUNTIME_TYPE_UNSPECIFIED", +"USER_DEFINED", +"ONE_CLICK" +], +"enumDescriptions": [ +"Unspecified notebook runtime type, NotebookRuntimeType will default to USER_DEFINED.", +"runtime or template with coustomized configurations from user.", +"runtime or template with system defined configurations." +], +"readOnly": true, +"type": "string" +}, +"proxyUri": { +"description": "Output only. The proxy endpoint used to access the NotebookRuntime.", +"readOnly": true, +"type": "string" +}, +"reservationAffinity": { +"$ref": "GoogleCloudAiplatformV1NotebookReservationAffinity", +"description": "Output only. Reservation Affinity of the notebook runtime.", +"readOnly": true +}, +"runtimeState": { +"description": "Output only. The runtime (instance) state of the NotebookRuntime.", +"enum": [ +"RUNTIME_STATE_UNSPECIFIED", +"RUNNING", +"BEING_STARTED", +"BEING_STOPPED", +"STOPPED", +"BEING_UPGRADED", +"ERROR", +"INVALID" +], +"enumDescriptions": [ +"Unspecified runtime state.", +"NotebookRuntime is in running state.", +"NotebookRuntime is in starting state. This is when the runtime is being started from a stopped state.", +"NotebookRuntime is in stopping state.", +"NotebookRuntime is in stopped state.", +"NotebookRuntime is in upgrading state. It is in the middle of upgrading process.", +"NotebookRuntime was unable to start/stop properly.", +"NotebookRuntime is in invalid state. Cannot be recovered." +], +"readOnly": true, +"type": "string" +}, +"runtimeUser": { +"description": "Required. The user email of the NotebookRuntime.", +"type": "string" +}, +"satisfiesPzi": { +"description": "Output only. Reserved for future use.", +"readOnly": true, +"type": "boolean" +}, +"satisfiesPzs": { +"description": "Output only. Reserved for future use.", +"readOnly": true, +"type": "boolean" +}, +"serviceAccount": { +"description": "Output only. Deprecated: This field is no longer used and the \"Vertex AI Notebook Service Account\" (service-PROJECT_NUMBER@gcp-sa-aiplatform-vm.iam.gserviceaccount.com) is used for the runtime workload identity. See https://cloud.google.com/iam/docs/service-agents#vertex-ai-notebook-service-account for more details. The service account that the NotebookRuntime workload runs as.", +"readOnly": true, +"type": "string" +}, +"shieldedVmConfig": { +"$ref": "GoogleCloudAiplatformV1ShieldedVmConfig", +"description": "Output only. Runtime Shielded VM spec.", +"readOnly": true +}, +"softwareConfig": { +"$ref": "GoogleCloudAiplatformV1NotebookSoftwareConfig", +"description": "Output only. Software config of the notebook runtime.", +"readOnly": true +}, +"updateTime": { +"description": "Output only. Timestamp when this NotebookRuntime was most recently updated.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"version": { +"description": "Output only. The VM os image version of NotebookRuntime.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1NotebookRuntimeTemplate": { +"description": "A template that specifies runtime configurations such as machine type, runtime version, network configurations, etc. Multiple runtimes can be created from a runtime template.", +"id": "GoogleCloudAiplatformV1NotebookRuntimeTemplate", +"properties": { +"createTime": { +"description": "Output only. Timestamp when this NotebookRuntimeTemplate was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"dataPersistentDiskSpec": { +"$ref": "GoogleCloudAiplatformV1PersistentDiskSpec", +"description": "Optional. The specification of persistent disk attached to the runtime as data disk storage." +}, +"description": { +"description": "The description of the NotebookRuntimeTemplate.", +"type": "string" +}, +"displayName": { +"description": "Required. The display name of the NotebookRuntimeTemplate. The name can be up to 128 characters long and can consist of any UTF-8 characters.", +"type": "string" +}, +"encryptionSpec": { +"$ref": "GoogleCloudAiplatformV1EncryptionSpec", +"description": "Customer-managed encryption key spec for the notebook runtime." +}, +"etag": { +"description": "Used to perform consistent read-modify-write updates. If not set, a blind \"overwrite\" update happens.", +"type": "string" +}, +"eucConfig": { +"$ref": "GoogleCloudAiplatformV1NotebookEucConfig", +"description": "EUC configuration of the NotebookRuntimeTemplate." +}, +"idleShutdownConfig": { +"$ref": "GoogleCloudAiplatformV1NotebookIdleShutdownConfig", +"description": "The idle shutdown configuration of NotebookRuntimeTemplate. This config will only be set when idle shutdown is enabled." +}, +"isDefault": { +"deprecated": true, +"description": "Output only. Deprecated: This field has no behavior. Use notebook_runtime_type = 'ONE_CLICK' instead. The default template to use if not specified.", +"readOnly": true, +"type": "boolean" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "The labels with user-defined metadata to organize the NotebookRuntimeTemplates. Label keys and values can be no longer than 64 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. See https://goo.gl/xmQnxf for more information and examples of labels.", +"type": "object" +}, +"machineSpec": { +"$ref": "GoogleCloudAiplatformV1MachineSpec", +"description": "Optional. Immutable. The specification of a single machine for the template." +}, +"name": { +"description": "The resource name of the NotebookRuntimeTemplate.", +"type": "string" +}, +"networkSpec": { +"$ref": "GoogleCloudAiplatformV1NetworkSpec", +"description": "Optional. Network spec." +}, +"networkTags": { +"description": "Optional. The Compute Engine tags to add to runtime (see [Tagging instances](https://cloud.google.com/vpc/docs/add-remove-network-tags)).", +"items": { +"type": "string" +}, +"type": "array" +}, +"notebookRuntimeType": { +"description": "Optional. Immutable. The type of the notebook runtime template.", +"enum": [ +"NOTEBOOK_RUNTIME_TYPE_UNSPECIFIED", +"USER_DEFINED", +"ONE_CLICK" +], +"enumDescriptions": [ +"Unspecified notebook runtime type, NotebookRuntimeType will default to USER_DEFINED.", +"runtime or template with coustomized configurations from user.", +"runtime or template with system defined configurations." +], +"type": "string" +}, +"reservationAffinity": { +"$ref": "GoogleCloudAiplatformV1NotebookReservationAffinity", +"description": "Optional. Reservation Affinity of the notebook runtime template." +}, +"serviceAccount": { +"deprecated": true, +"description": "Deprecated: This field is ignored and the \"Vertex AI Notebook Service Account\" (service-PROJECT_NUMBER@gcp-sa-aiplatform-vm.iam.gserviceaccount.com) is used for the runtime workload identity. See https://cloud.google.com/iam/docs/service-agents#vertex-ai-notebook-service-account for more details. For NotebookExecutionJob, use NotebookExecutionJob.service_account instead. The service account that the runtime workload runs as. You can use any service account within the same project, but you must have the service account user permission to use the instance. If not specified, the [Compute Engine default service account](https://cloud.google.com/compute/docs/access/service-accounts#default_service_account) is used.", +"type": "string" +}, +"shieldedVmConfig": { +"$ref": "GoogleCloudAiplatformV1ShieldedVmConfig", +"description": "Optional. Immutable. Runtime Shielded VM spec." +}, +"softwareConfig": { +"$ref": "GoogleCloudAiplatformV1NotebookSoftwareConfig", +"description": "Optional. The notebook software configuration of the notebook runtime." +}, +"updateTime": { +"description": "Output only. Timestamp when this NotebookRuntimeTemplate was most recently updated.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1NotebookRuntimeTemplateRef": { +"description": "Points to a NotebookRuntimeTemplateRef.", +"id": "GoogleCloudAiplatformV1NotebookRuntimeTemplateRef", +"properties": { +"notebookRuntimeTemplate": { +"description": "Immutable. A resource name of the NotebookRuntimeTemplate.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1NotebookSoftwareConfig": { +"description": "Notebook Software Config. This is passed to the backend when user makes software configurations in UI.", +"id": "GoogleCloudAiplatformV1NotebookSoftwareConfig", +"properties": { +"colabImage": { +"$ref": "GoogleCloudAiplatformV1ColabImage", +"description": "Optional. Google-managed NotebookRuntime colab image." +}, +"env": { +"description": "Optional. Environment variables to be passed to the container. Maximum limit is 100.", +"items": { +"$ref": "GoogleCloudAiplatformV1EnvVar" +}, +"type": "array" +}, +"postStartupScriptConfig": { +"$ref": "GoogleCloudAiplatformV1PostStartupScriptConfig", +"description": "Optional. Post startup script config." +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1OutputConfig": { +"description": "Config for evaluation output.", +"id": "GoogleCloudAiplatformV1OutputConfig", +"properties": { +"gcsDestination": { +"$ref": "GoogleCloudAiplatformV1GcsDestination", +"description": "Cloud storage destination for evaluation output." +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1OutputFieldSpec": { +"description": "Defines a specification for a single output field.", +"id": "GoogleCloudAiplatformV1OutputFieldSpec", +"properties": { +"fieldName": { +"description": "Required. The name of the output field.", +"type": "string" +}, +"fieldType": { +"description": "Optional. The data type of the field. Defaults to CONTENT if not set.", +"enum": [ +"FIELD_TYPE_UNSPECIFIED", +"CONTENT", +"TEXT", +"IMAGE", +"AUDIO" +], +"enumDescriptions": [ +"Field type is unspecified.", +"Arbitrary content field type.", +"Text field type.", +"Image field type.", +"Audio field type." +], +"type": "string" +}, +"guidance": { +"description": "Optional. Optional, but recommended. Additional guidance specific to this field to provide targeted instructions for the LLM to generate the content of a single output field. While the LLM can sometimes infer content from the field name, providing explicit guidance is preferred.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1OutputInfo": { +"description": "Describes the info for output of EvaluationService.", +"id": "GoogleCloudAiplatformV1OutputInfo", +"properties": { +"gcsOutputDirectory": { +"description": "Output only. The full path of the Cloud Storage directory created, into which the evaluation results and aggregation results are written.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1PSCAutomationConfig": { +"description": "PSC config that is used to automatically create PSC endpoints in the user projects.", +"id": "GoogleCloudAiplatformV1PSCAutomationConfig", +"properties": { +"errorMessage": { +"description": "Output only. Error message if the PSC service automation failed.", +"readOnly": true, +"type": "string" +}, +"forwardingRule": { +"description": "Output only. Forwarding rule created by the PSC service automation.", +"readOnly": true, +"type": "string" +}, +"ipAddress": { +"description": "Output only. IP address rule created by the PSC service automation.", +"readOnly": true, +"type": "string" +}, +"network": { +"description": "Required. The full name of the Google Compute Engine [network](https://cloud.google.com/compute/docs/networks-and-firewalls#networks). [Format](https://cloud.google.com/compute/docs/reference/rest/v1/networks/get): `projects/{project}/global/networks/{network}`.", +"type": "string" +}, +"projectId": { +"description": "Required. Project id used to create forwarding rule.", +"type": "string" +}, +"state": { +"description": "Output only. The state of the PSC service automation.", +"enum": [ +"PSC_AUTOMATION_STATE_UNSPECIFIED", +"PSC_AUTOMATION_STATE_SUCCESSFUL", +"PSC_AUTOMATION_STATE_FAILED" +], +"enumDescriptions": [ +"Should not be used.", +"The PSC service automation is successful.", +"The PSC service automation has failed." +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1PairwiseMetricInput": { +"description": "Input for pairwise metric.", +"id": "GoogleCloudAiplatformV1PairwiseMetricInput", +"properties": { +"instance": { +"$ref": "GoogleCloudAiplatformV1PairwiseMetricInstance", +"description": "Required. Pairwise metric instance." +}, +"metricSpec": { +"$ref": "GoogleCloudAiplatformV1PairwiseMetricSpec", +"description": "Required. Spec for pairwise metric." +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1PairwiseMetricInstance": { +"description": "Pairwise metric instance. Usually one instance corresponds to one row in an evaluation dataset.", +"id": "GoogleCloudAiplatformV1PairwiseMetricInstance", +"properties": { +"contentMapInstance": { +"$ref": "GoogleCloudAiplatformV1ContentMap", +"description": "Key-value contents for the mutlimodality input, including text, image, video, audio, and pdf, etc. The key is placeholder in metric prompt template, and the value is the multimodal content." +}, +"jsonInstance": { +"description": "Instance specified as a json string. String key-value pairs are expected in the json_instance to render PairwiseMetricSpec.instance_prompt_template.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1PairwiseMetricResult": { +"description": "Spec for pairwise metric result.", +"id": "GoogleCloudAiplatformV1PairwiseMetricResult", +"properties": { +"customOutput": { +"$ref": "GoogleCloudAiplatformV1CustomOutput", +"description": "Output only. Spec for custom output.", +"readOnly": true +}, +"explanation": { +"description": "Output only. Explanation for pairwise metric score.", +"readOnly": true, +"type": "string" +}, +"pairwiseChoice": { +"description": "Output only. Pairwise metric choice.", +"enum": [ +"PAIRWISE_CHOICE_UNSPECIFIED", +"BASELINE", +"CANDIDATE", +"TIE" +], +"enumDescriptions": [ +"Unspecified prediction choice.", +"Baseline prediction wins", +"Candidate prediction wins", +"Winner cannot be determined" +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1PairwiseMetricSpec": { +"description": "Spec for pairwise metric.", +"id": "GoogleCloudAiplatformV1PairwiseMetricSpec", +"properties": { +"baselineResponseFieldName": { +"description": "Optional. The field name of the baseline response.", +"type": "string" +}, +"candidateResponseFieldName": { +"description": "Optional. The field name of the candidate response.", +"type": "string" +}, +"customOutputFormatConfig": { +"$ref": "GoogleCloudAiplatformV1CustomOutputFormatConfig", +"description": "Optional. CustomOutputFormatConfig allows customization of metric output. When this config is set, the default output is replaced with the raw output string. If a custom format is chosen, the `pairwise_choice` and `explanation` fields in the corresponding metric result will be empty." +}, +"metricPromptTemplate": { +"description": "Required. Metric prompt template for pairwise metric.", +"type": "string" +}, +"systemInstruction": { +"description": "Optional. System instructions for pairwise metric.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1PairwiseQuestionAnsweringQualityInput": { +"description": "Input for pairwise question answering quality metric.", +"id": "GoogleCloudAiplatformV1PairwiseQuestionAnsweringQualityInput", +"properties": { +"instance": { +"$ref": "GoogleCloudAiplatformV1PairwiseQuestionAnsweringQualityInstance", +"description": "Required. Pairwise question answering quality instance." +}, +"metricSpec": { +"$ref": "GoogleCloudAiplatformV1PairwiseQuestionAnsweringQualitySpec", +"description": "Required. Spec for pairwise question answering quality score metric." +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1PairwiseQuestionAnsweringQualityInstance": { +"description": "Spec for pairwise question answering quality instance.", +"id": "GoogleCloudAiplatformV1PairwiseQuestionAnsweringQualityInstance", +"properties": { +"baselinePrediction": { +"description": "Required. Output of the baseline model.", +"type": "string" +}, +"context": { +"description": "Required. Text to answer the question.", +"type": "string" +}, +"instruction": { +"description": "Required. Question Answering prompt for LLM.", +"type": "string" +}, +"prediction": { +"description": "Required. Output of the candidate model.", +"type": "string" +}, +"reference": { +"description": "Optional. Ground truth used to compare against the prediction.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1PairwiseQuestionAnsweringQualityResult": { +"description": "Spec for pairwise question answering quality result.", +"id": "GoogleCloudAiplatformV1PairwiseQuestionAnsweringQualityResult", +"properties": { +"confidence": { +"description": "Output only. Confidence for question answering quality score.", +"format": "float", +"readOnly": true, +"type": "number" +}, +"explanation": { +"description": "Output only. Explanation for question answering quality score.", +"readOnly": true, +"type": "string" +}, +"pairwiseChoice": { +"description": "Output only. Pairwise question answering prediction choice.", +"enum": [ +"PAIRWISE_CHOICE_UNSPECIFIED", +"BASELINE", +"CANDIDATE", +"TIE" +], +"enumDescriptions": [ +"Unspecified prediction choice.", +"Baseline prediction wins", +"Candidate prediction wins", +"Winner cannot be determined" +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1PairwiseQuestionAnsweringQualitySpec": { +"description": "Spec for pairwise question answering quality score metric.", +"id": "GoogleCloudAiplatformV1PairwiseQuestionAnsweringQualitySpec", +"properties": { +"useReference": { +"description": "Optional. Whether to use instance.reference to compute question answering quality.", +"type": "boolean" +}, +"version": { +"description": "Optional. Which version to use for evaluation.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1PairwiseSummarizationQualityInput": { +"description": "Input for pairwise summarization quality metric.", +"id": "GoogleCloudAiplatformV1PairwiseSummarizationQualityInput", +"properties": { +"instance": { +"$ref": "GoogleCloudAiplatformV1PairwiseSummarizationQualityInstance", +"description": "Required. Pairwise summarization quality instance." +}, +"metricSpec": { +"$ref": "GoogleCloudAiplatformV1PairwiseSummarizationQualitySpec", +"description": "Required. Spec for pairwise summarization quality score metric." +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1PairwiseSummarizationQualityInstance": { +"description": "Spec for pairwise summarization quality instance.", +"id": "GoogleCloudAiplatformV1PairwiseSummarizationQualityInstance", +"properties": { +"baselinePrediction": { +"description": "Required. Output of the baseline model.", +"type": "string" +}, +"context": { +"description": "Required. Text to be summarized.", +"type": "string" +}, +"instruction": { +"description": "Required. Summarization prompt for LLM.", +"type": "string" +}, +"prediction": { +"description": "Required. Output of the candidate model.", +"type": "string" +}, +"reference": { +"description": "Optional. Ground truth used to compare against the prediction.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1PairwiseSummarizationQualityResult": { +"description": "Spec for pairwise summarization quality result.", +"id": "GoogleCloudAiplatformV1PairwiseSummarizationQualityResult", +"properties": { +"confidence": { +"description": "Output only. Confidence for summarization quality score.", +"format": "float", +"readOnly": true, +"type": "number" +}, +"explanation": { +"description": "Output only. Explanation for summarization quality score.", +"readOnly": true, +"type": "string" +}, +"pairwiseChoice": { +"description": "Output only. Pairwise summarization prediction choice.", +"enum": [ +"PAIRWISE_CHOICE_UNSPECIFIED", +"BASELINE", +"CANDIDATE", +"TIE" +], +"enumDescriptions": [ +"Unspecified prediction choice.", +"Baseline prediction wins", +"Candidate prediction wins", +"Winner cannot be determined" +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1PairwiseSummarizationQualitySpec": { +"description": "Spec for pairwise summarization quality score metric.", +"id": "GoogleCloudAiplatformV1PairwiseSummarizationQualitySpec", +"properties": { +"useReference": { +"description": "Optional. Whether to use instance.reference to compute pairwise summarization quality.", +"type": "boolean" +}, +"version": { +"description": "Optional. Which version to use for evaluation.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1Part": { +"description": "A datatype containing media that is part of a multi-part Content message. A `Part` consists of data which has an associated datatype. A `Part` can only contain one of the accepted types in `Part.data`. For media types that are not text, `Part` must have a fixed IANA MIME type identifying the type and subtype of the media if `inline_data` or `file_data` field is filled with raw bytes.", +"id": "GoogleCloudAiplatformV1Part", +"properties": { +"codeExecutionResult": { +"$ref": "GoogleCloudAiplatformV1CodeExecutionResult", +"description": "Optional. The result of executing the ExecutableCode." +}, +"executableCode": { +"$ref": "GoogleCloudAiplatformV1ExecutableCode", +"description": "Optional. Code generated by the model that is intended to be executed." +}, +"fileData": { +"$ref": "GoogleCloudAiplatformV1FileData", +"description": "Optional. The URI-based data of the part. This can be used to include files from Google Cloud Storage." +}, +"functionCall": { +"$ref": "GoogleCloudAiplatformV1FunctionCall", +"description": "Optional. A predicted function call returned from the model. This contains the name of the function to call and the arguments to pass to the function." +}, +"functionResponse": { +"$ref": "GoogleCloudAiplatformV1FunctionResponse", +"description": "Optional. The result of a function call. This is used to provide the model with the result of a function call that it predicted." +}, +"inlineData": { +"$ref": "GoogleCloudAiplatformV1Blob", +"description": "Optional. The inline data content of the part. This can be used to include images, audio, or video in a request." +}, +"mediaResolution": { +"$ref": "GoogleCloudAiplatformV1PartMediaResolution", +"description": "per part media resolution. Media resolution for the input media." +}, +"text": { +"description": "Optional. The text content of the part. When sent from the VSCode Gemini Code Assist extension, references to @mentioned items will be converted to markdown boldface text. For example `@my-repo` will be converted to and sent as `**my-repo**` by the IDE agent.", +"type": "string" +}, +"thought": { +"description": "Optional. Indicates whether the `part` represents the model's thought process or reasoning.", +"type": "boolean" +}, +"thoughtSignature": { +"description": "Optional. An opaque signature for the thought so it can be reused in subsequent requests.", +"format": "byte", +"type": "string" +}, +"videoMetadata": { +"$ref": "GoogleCloudAiplatformV1VideoMetadata", +"description": "Optional. Video metadata. The metadata should only be specified while the video data is presented in inline_data or file_data." +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1PartMediaResolution": { +"description": "per part media resolution. Media resolution for the input media.", +"id": "GoogleCloudAiplatformV1PartMediaResolution", +"properties": { +"level": { +"description": "The tokenization quality used for given media.", +"enum": [ +"MEDIA_RESOLUTION_UNSPECIFIED", +"MEDIA_RESOLUTION_LOW", +"MEDIA_RESOLUTION_MEDIUM", +"MEDIA_RESOLUTION_HIGH", +"MEDIA_RESOLUTION_ULTRA_HIGH" +], +"enumDescriptions": [ +"Media resolution has not been set.", +"Media resolution set to low.", +"Media resolution set to medium.", +"Media resolution set to high.", +"Media resolution set to ultra high. This is for image only." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1PartialArg": { +"description": "Partial argument value of the function call.", +"id": "GoogleCloudAiplatformV1PartialArg", +"properties": { +"boolValue": { +"description": "Optional. Represents a boolean value.", +"type": "boolean" +}, +"jsonPath": { +"description": "Required. A JSON Path (RFC 9535) to the argument being streamed. https://datatracker.ietf.org/doc/html/rfc9535. e.g. \"$.foo.bar[0].data\".", +"type": "string" +}, +"nullValue": { +"description": "Optional. Represents a null value.", +"enum": [ +"NULL_VALUE" +], +"enumDescriptions": [ +"Null value." +], +"type": "string" +}, +"numberValue": { +"description": "Optional. Represents a double value.", +"format": "double", +"type": "number" +}, +"stringValue": { +"description": "Optional. Represents a string value.", +"type": "string" +}, +"willContinue": { +"description": "Optional. Whether this is not the last part of the same json_path. If true, another PartialArg message for the current json_path is expected to follow.", +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1PauseModelDeploymentMonitoringJobRequest": { +"description": "Request message for JobService.PauseModelDeploymentMonitoringJob.", +"id": "GoogleCloudAiplatformV1PauseModelDeploymentMonitoringJobRequest", +"properties": {}, +"type": "object" +}, +"GoogleCloudAiplatformV1PauseScheduleRequest": { +"description": "Request message for ScheduleService.PauseSchedule.", +"id": "GoogleCloudAiplatformV1PauseScheduleRequest", +"properties": {}, +"type": "object" +}, +"GoogleCloudAiplatformV1PersistentDiskSpec": { +"description": "Represents the spec of persistent disk options.", +"id": "GoogleCloudAiplatformV1PersistentDiskSpec", +"properties": { +"diskSizeGb": { +"description": "Size in GB of the disk (default is 100GB).", +"format": "int64", +"type": "string" +}, +"diskType": { +"description": "Type of the disk (default is \"pd-standard\"). Valid values: \"pd-ssd\" (Persistent Disk Solid State Drive) \"pd-standard\" (Persistent Disk Hard Disk Drive) \"pd-balanced\" (Balanced Persistent Disk) \"pd-extreme\" (Extreme Persistent Disk)", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1PersistentResource": { +"description": "Represents long-lasting resources that are dedicated to users to runs custom workloads. A PersistentResource can have multiple node pools and each node pool can have its own machine spec.", +"id": "GoogleCloudAiplatformV1PersistentResource", +"properties": { +"createTime": { +"description": "Output only. Time when the PersistentResource was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"displayName": { +"description": "Optional. The display name of the PersistentResource. The name can be up to 128 characters long and can consist of any UTF-8 characters.", +"type": "string" +}, +"encryptionSpec": { +"$ref": "GoogleCloudAiplatformV1EncryptionSpec", +"description": "Optional. Customer-managed encryption key spec for a PersistentResource. If set, this PersistentResource and all sub-resources of this PersistentResource will be secured by this key." +}, +"error": { +"$ref": "GoogleRpcStatus", +"description": "Output only. Only populated when persistent resource's state is `STOPPING` or `ERROR`.", +"readOnly": true +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. The labels with user-defined metadata to organize PersistentResource. Label keys and values can be no longer than 64 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. See https://goo.gl/xmQnxf for more information and examples of labels.", +"type": "object" +}, +"name": { +"description": "Immutable. Resource name of a PersistentResource.", +"type": "string" +}, +"network": { +"description": "Optional. The full name of the Compute Engine [network](/compute/docs/networks-and-firewalls#networks) to peered with Vertex AI to host the persistent resources. For example, `projects/12345/global/networks/myVPC`. [Format](/compute/docs/reference/rest/v1/networks/insert) is of the form `projects/{project}/global/networks/{network}`. Where {project} is a project number, as in `12345`, and {network} is a network name. To specify this field, you must have already [configured VPC Network Peering for Vertex AI](https://cloud.google.com/vertex-ai/docs/general/vpc-peering). If this field is left unspecified, the resources aren't peered with any network.", +"type": "string" +}, +"pscInterfaceConfig": { +"$ref": "GoogleCloudAiplatformV1PscInterfaceConfig", +"description": "Optional. Configuration for PSC-I for PersistentResource." +}, +"reservedIpRanges": { +"description": "Optional. A list of names for the reserved IP ranges under the VPC network that can be used for this persistent resource. If set, we will deploy the persistent resource within the provided IP ranges. Otherwise, the persistent resource is deployed to any IP ranges under the provided VPC network. Example: ['vertex-ai-ip-range'].", +"items": { +"type": "string" +}, +"type": "array" +}, +"resourcePools": { +"description": "Required. The spec of the pools of different resources.", +"items": { +"$ref": "GoogleCloudAiplatformV1ResourcePool" +}, +"type": "array" +}, +"resourceRuntime": { +"$ref": "GoogleCloudAiplatformV1ResourceRuntime", +"description": "Output only. Runtime information of the Persistent Resource.", +"readOnly": true +}, +"resourceRuntimeSpec": { +"$ref": "GoogleCloudAiplatformV1ResourceRuntimeSpec", +"description": "Optional. Persistent Resource runtime spec. For example, used for Ray cluster configuration." +}, +"satisfiesPzi": { +"description": "Output only. Reserved for future use.", +"readOnly": true, +"type": "boolean" +}, +"satisfiesPzs": { +"description": "Output only. Reserved for future use.", +"readOnly": true, +"type": "boolean" +}, +"startTime": { +"description": "Output only. Time when the PersistentResource for the first time entered the `RUNNING` state.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"state": { +"description": "Output only. The detailed state of a Study.", +"enum": [ +"STATE_UNSPECIFIED", +"PROVISIONING", +"RUNNING", +"STOPPING", +"ERROR", +"REBOOTING", +"UPDATING" +], +"enumDescriptions": [ +"Not set.", +"The PROVISIONING state indicates the persistent resources is being created.", +"The RUNNING state indicates the persistent resource is healthy and fully usable.", +"The STOPPING state indicates the persistent resource is being deleted.", +"The ERROR state indicates the persistent resource may be unusable. Details can be found in the `error` field.", +"The REBOOTING state indicates the persistent resource is being rebooted (PR is not available right now but is expected to be ready again later).", +"The UPDATING state indicates the persistent resource is being updated." +], +"readOnly": true, +"type": "string" +}, +"updateTime": { +"description": "Output only. Time when the PersistentResource was most recently updated.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1PipelineJob": { +"description": "An instance of a machine learning PipelineJob.", +"id": "GoogleCloudAiplatformV1PipelineJob", +"properties": { +"createTime": { +"description": "Output only. Pipeline creation time.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"displayName": { +"description": "The display name of the Pipeline. The name can be up to 128 characters long and can consist of any UTF-8 characters.", +"type": "string" +}, +"encryptionSpec": { +"$ref": "GoogleCloudAiplatformV1EncryptionSpec", +"description": "Customer-managed encryption key spec for a pipelineJob. If set, this PipelineJob and all of its sub-resources will be secured by this key." +}, +"endTime": { +"description": "Output only. Pipeline end time.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"error": { +"$ref": "GoogleRpcStatus", +"description": "Output only. The error that occurred during pipeline execution. Only populated when the pipeline's state is FAILED or CANCELLED.", +"readOnly": true +}, +"jobDetail": { +"$ref": "GoogleCloudAiplatformV1PipelineJobDetail", +"description": "Output only. The details of pipeline run. Not available in the list view.", +"readOnly": true +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "The labels with user-defined metadata to organize PipelineJob. Label keys and values can be no longer than 64 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. See https://goo.gl/xmQnxf for more information and examples of labels. Note there is some reserved label key for Vertex AI Pipelines. - `vertex-ai-pipelines-run-billing-id`, user set value will get overrided.", +"type": "object" +}, +"name": { +"description": "Output only. The resource name of the PipelineJob.", +"readOnly": true, +"type": "string" +}, +"network": { +"description": "The full name of the Compute Engine [network](/compute/docs/networks-and-firewalls#networks) to which the Pipeline Job's workload should be peered. For example, `projects/12345/global/networks/myVPC`. [Format](/compute/docs/reference/rest/v1/networks/insert) is of the form `projects/{project}/global/networks/{network}`. Where {project} is a project number, as in `12345`, and {network} is a network name. Private services access must already be configured for the network. Pipeline job will apply the network configuration to the Google Cloud resources being launched, if applied, such as Vertex AI Training or Dataflow job. If left unspecified, the workload is not peered with any network.", +"type": "string" +}, +"pipelineSpec": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"description": "A compiled definition of a pipeline, represented as a `JSON` object. Defines the structure of the pipeline, including its components, tasks, and parameters. This specification is generated by compiling a pipeline function defined in `Python` using the `Kubeflow Pipelines SDK`.", +"type": "object" +}, +"preflightValidations": { +"description": "Optional. Whether to do component level validations before job creation.", +"type": "boolean" +}, +"pscInterfaceConfig": { +"$ref": "GoogleCloudAiplatformV1PscInterfaceConfig", +"description": "Optional. Configuration for PSC-I for PipelineJob." +}, +"reservedIpRanges": { +"description": "A list of names for the reserved ip ranges under the VPC network that can be used for this Pipeline Job's workload. If set, we will deploy the Pipeline Job's workload within the provided ip ranges. Otherwise, the job will be deployed to any ip ranges under the provided VPC network. Example: ['vertex-ai-ip-range'].", +"items": { +"type": "string" +}, +"type": "array" +}, +"runtimeConfig": { +"$ref": "GoogleCloudAiplatformV1PipelineJobRuntimeConfig", +"description": "Runtime config of the pipeline." +}, +"scheduleName": { +"description": "Output only. The schedule resource name. Only returned if the Pipeline is created by Schedule API.", +"readOnly": true, +"type": "string" +}, +"serviceAccount": { +"description": "The service account that the pipeline workload runs as. If not specified, the Compute Engine default service account in the project will be used. See https://cloud.google.com/compute/docs/access/service-accounts#default_service_account Users starting the pipeline must have the `iam.serviceAccounts.actAs` permission on this service account.", +"type": "string" +}, +"startTime": { +"description": "Output only. Pipeline start time.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"state": { +"description": "Output only. The detailed state of the job.", +"enum": [ +"PIPELINE_STATE_UNSPECIFIED", +"PIPELINE_STATE_QUEUED", +"PIPELINE_STATE_PENDING", +"PIPELINE_STATE_RUNNING", +"PIPELINE_STATE_SUCCEEDED", +"PIPELINE_STATE_FAILED", +"PIPELINE_STATE_CANCELLING", +"PIPELINE_STATE_CANCELLED", +"PIPELINE_STATE_PAUSED" +], +"enumDescriptions": [ +"The pipeline state is unspecified.", +"The pipeline has been created or resumed, and processing has not yet begun.", +"The service is preparing to run the pipeline.", +"The pipeline is in progress.", +"The pipeline completed successfully.", +"The pipeline failed.", +"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.", +"The pipeline has been cancelled.", +"The pipeline has been stopped, and can be resumed." +], +"readOnly": true, +"type": "string" +}, +"templateMetadata": { +"$ref": "GoogleCloudAiplatformV1PipelineTemplateMetadata", +"description": "Output only. Pipeline template metadata. Will fill up fields if PipelineJob.template_uri is from supported template registry.", +"readOnly": true +}, +"templateUri": { +"description": "A template uri from where the PipelineJob.pipeline_spec, if empty, will be downloaded. Currently, only uri from Vertex Template Registry & Gallery is supported. Reference to https://cloud.google.com/vertex-ai/docs/pipelines/create-pipeline-template.", +"type": "string" +}, +"updateTime": { +"description": "Output only. Timestamp when this PipelineJob was most recently updated.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1PipelineJobDetail": { +"description": "The runtime detail of PipelineJob.", +"id": "GoogleCloudAiplatformV1PipelineJobDetail", +"properties": { +"pipelineContext": { +"$ref": "GoogleCloudAiplatformV1Context", +"description": "Output only. The context of the pipeline.", +"readOnly": true +}, +"pipelineRunContext": { +"$ref": "GoogleCloudAiplatformV1Context", +"description": "Output only. The context of the current pipeline run.", +"readOnly": true +}, +"taskDetails": { +"description": "Output only. The runtime details of the tasks under the pipeline.", +"items": { +"$ref": "GoogleCloudAiplatformV1PipelineTaskDetail" +}, +"readOnly": true, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1PipelineJobRuntimeConfig": { +"description": "The runtime config of a PipelineJob.", +"id": "GoogleCloudAiplatformV1PipelineJobRuntimeConfig", +"properties": { +"failurePolicy": { +"description": "Represents the failure policy of a pipeline. Currently, the default of a pipeline is that the pipeline will continue to run until no more tasks can be executed, also known as PIPELINE_FAILURE_POLICY_FAIL_SLOW. However, if a pipeline is set to PIPELINE_FAILURE_POLICY_FAIL_FAST, it will stop scheduling any new tasks when a task has failed. Any scheduled tasks will continue to completion.", +"enum": [ +"PIPELINE_FAILURE_POLICY_UNSPECIFIED", +"PIPELINE_FAILURE_POLICY_FAIL_SLOW", +"PIPELINE_FAILURE_POLICY_FAIL_FAST" +], +"enumDescriptions": [ +"Default value, and follows fail slow behavior.", +"Indicates that the pipeline should continue to run until all possible tasks have been scheduled and completed.", +"Indicates that the pipeline should stop scheduling new tasks after a task has failed." +], +"type": "string" +}, +"gcsOutputDirectory": { +"description": "Required. A path in a Cloud Storage bucket, which will be treated as the root output directory of the pipeline. It is used by the system to generate the paths of output artifacts. The artifact paths are generated with a sub-path pattern `{job_id}/{task_id}/{output_key}` under the specified output directory. The service account specified in this pipeline must have the `storage.objects.get` and `storage.objects.create` permissions for this bucket.", +"type": "string" +}, +"inputArtifacts": { +"additionalProperties": { +"$ref": "GoogleCloudAiplatformV1PipelineJobRuntimeConfigInputArtifact" +}, +"description": "The runtime artifacts of the PipelineJob. The key will be the input artifact name and the value would be one of the InputArtifact.", +"type": "object" +}, +"parameterValues": { +"additionalProperties": { +"type": "any" +}, +"description": "The runtime parameters of the PipelineJob. The parameters will be passed into PipelineJob.pipeline_spec to replace the placeholders at runtime. This field is used by pipelines built using `PipelineJob.pipeline_spec.schema_version` 2.1.0, such as pipelines built using Kubeflow Pipelines SDK 1.9 or higher and the v2 DSL.", +"type": "object" +}, +"parameters": { +"additionalProperties": { +"$ref": "GoogleCloudAiplatformV1Value" +}, +"deprecated": true, +"description": "Deprecated. Use RuntimeConfig.parameter_values instead. The runtime parameters of the PipelineJob. The parameters will be passed into PipelineJob.pipeline_spec to replace the placeholders at runtime. This field is used by pipelines built using `PipelineJob.pipeline_spec.schema_version` 2.0.0 or lower, such as pipelines built using Kubeflow Pipelines SDK 1.8 or lower.", +"type": "object" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1PipelineJobRuntimeConfigInputArtifact": { +"description": "The type of an input artifact.", +"id": "GoogleCloudAiplatformV1PipelineJobRuntimeConfigInputArtifact", +"properties": { +"artifactId": { +"description": "Artifact resource id from MLMD. Which is the last portion of an artifact resource name: `projects/{project}/locations/{location}/metadataStores/default/artifacts/{artifact_id}`. The artifact must stay within the same project, location and default metadatastore as the pipeline.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1PipelineTaskDetail": { +"description": "The runtime detail of a task execution.", +"id": "GoogleCloudAiplatformV1PipelineTaskDetail", +"properties": { +"createTime": { +"description": "Output only. Task create time.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"endTime": { +"description": "Output only. Task end time.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"error": { +"$ref": "GoogleRpcStatus", +"description": "Output only. The error that occurred during task execution. Only populated when the task's state is FAILED or CANCELLED.", +"readOnly": true +}, +"execution": { +"$ref": "GoogleCloudAiplatformV1Execution", +"description": "Output only. The execution metadata of the task.", +"readOnly": true +}, +"executorDetail": { +"$ref": "GoogleCloudAiplatformV1PipelineTaskExecutorDetail", +"description": "Output only. The detailed execution info.", +"readOnly": true +}, +"inputs": { +"additionalProperties": { +"$ref": "GoogleCloudAiplatformV1PipelineTaskDetailArtifactList" +}, +"description": "Output only. The runtime input artifacts of the task.", +"readOnly": true, +"type": "object" +}, +"outputs": { +"additionalProperties": { +"$ref": "GoogleCloudAiplatformV1PipelineTaskDetailArtifactList" +}, +"description": "Output only. The runtime output artifacts of the task.", +"readOnly": true, +"type": "object" +}, +"parentTaskId": { +"description": "Output only. The id of the parent task if the task is within a component scope. Empty if the task is at the root level.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"pipelineTaskStatus": { +"description": "Output only. A list of task status. This field keeps a record of task status evolving over time.", +"items": { +"$ref": "GoogleCloudAiplatformV1PipelineTaskDetailPipelineTaskStatus" +}, +"readOnly": true, +"type": "array" +}, +"startTime": { +"description": "Output only. Task start time.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"state": { +"description": "Output only. State of the task.", +"enum": [ +"STATE_UNSPECIFIED", +"PENDING", +"RUNNING", +"SUCCEEDED", +"CANCEL_PENDING", +"CANCELLING", +"CANCELLED", +"FAILED", +"SKIPPED", +"NOT_TRIGGERED" +], +"enumDescriptions": [ +"Unspecified.", +"Specifies pending state for the task.", +"Specifies task is being executed.", +"Specifies task completed successfully.", +"Specifies Task cancel is in pending state.", +"Specifies task is being cancelled.", +"Specifies task was cancelled.", +"Specifies task failed.", +"Specifies task was skipped due to cache hit.", +"Specifies that the task was not triggered because the task's trigger policy is not satisfied. The trigger policy is specified in the `condition` field of PipelineJob.pipeline_spec." +], +"readOnly": true, +"type": "string" +}, +"taskId": { +"description": "Output only. The system generated ID of the task.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"taskName": { +"description": "Output only. The user specified name of the task that is defined in pipeline_spec.", +"readOnly": true, +"type": "string" +}, +"taskUniqueName": { +"description": "Output only. The unique name of a task. This field is used by rerun pipeline job. Console UI and Vertex AI SDK will support triggering pipeline job reruns. The name is constructed by concatenating all the parent tasks name with the task name. For example, if a task named \"child_task\" has a parent task named \"parent_task_1\" and parent task 1 has a parent task named \"parent_task_2\", the task unique name will be \"parent_task_2.parent_task_1.child_task\".", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1PipelineTaskDetailArtifactList": { +"description": "A list of artifact metadata.", +"id": "GoogleCloudAiplatformV1PipelineTaskDetailArtifactList", +"properties": { +"artifacts": { +"description": "Output only. A list of artifact metadata.", +"items": { +"$ref": "GoogleCloudAiplatformV1Artifact" +}, +"readOnly": true, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1PipelineTaskDetailPipelineTaskStatus": { +"description": "A single record of the task status.", +"id": "GoogleCloudAiplatformV1PipelineTaskDetailPipelineTaskStatus", +"properties": { +"error": { +"$ref": "GoogleRpcStatus", +"description": "Output only. The error that occurred during the state. May be set when the state is any of the non-final state (PENDING/RUNNING/CANCELLING) or FAILED state. If the state is FAILED, the error here is final and not going to be retried. If the state is a non-final state, the error indicates a system-error being retried.", +"readOnly": true +}, +"state": { +"description": "Output only. The state of the task.", +"enum": [ +"STATE_UNSPECIFIED", +"PENDING", +"RUNNING", +"SUCCEEDED", +"CANCEL_PENDING", +"CANCELLING", +"CANCELLED", +"FAILED", +"SKIPPED", +"NOT_TRIGGERED" +], +"enumDescriptions": [ +"Unspecified.", +"Specifies pending state for the task.", +"Specifies task is being executed.", +"Specifies task completed successfully.", +"Specifies Task cancel is in pending state.", +"Specifies task is being cancelled.", +"Specifies task was cancelled.", +"Specifies task failed.", +"Specifies task was skipped due to cache hit.", +"Specifies that the task was not triggered because the task's trigger policy is not satisfied. The trigger policy is specified in the `condition` field of PipelineJob.pipeline_spec." +], +"readOnly": true, +"type": "string" +}, +"updateTime": { +"description": "Output only. Update time of this status.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1PipelineTaskExecutorDetail": { +"description": "The runtime detail of a pipeline executor.", +"id": "GoogleCloudAiplatformV1PipelineTaskExecutorDetail", +"properties": { +"containerDetail": { +"$ref": "GoogleCloudAiplatformV1PipelineTaskExecutorDetailContainerDetail", +"description": "Output only. The detailed info for a container executor.", +"readOnly": true +}, +"customJobDetail": { +"$ref": "GoogleCloudAiplatformV1PipelineTaskExecutorDetailCustomJobDetail", +"description": "Output only. The detailed info for a custom job executor.", +"readOnly": true +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1PipelineTaskExecutorDetailContainerDetail": { +"description": "The detail of a container execution. It contains the job names of the lifecycle of a container execution.", +"id": "GoogleCloudAiplatformV1PipelineTaskExecutorDetailContainerDetail", +"properties": { +"failedMainJobs": { +"description": "Output only. The names of the previously failed CustomJob for the main container executions. The list includes the all attempts in chronological order.", +"items": { +"type": "string" +}, +"readOnly": true, +"type": "array" +}, +"failedPreCachingCheckJobs": { +"description": "Output only. The names of the previously failed CustomJob for the pre-caching-check container executions. This job will be available if the PipelineJob.pipeline_spec specifies the `pre_caching_check` hook in the lifecycle events. The list includes the all attempts in chronological order.", +"items": { +"type": "string" +}, +"readOnly": true, +"type": "array" +}, +"mainJob": { +"description": "Output only. The name of the CustomJob for the main container execution.", +"readOnly": true, +"type": "string" +}, +"preCachingCheckJob": { +"description": "Output only. The name of the CustomJob for the pre-caching-check container execution. This job will be available if the PipelineJob.pipeline_spec specifies the `pre_caching_check` hook in the lifecycle events.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1PipelineTaskExecutorDetailCustomJobDetail": { +"description": "The detailed info for a custom job executor.", +"id": "GoogleCloudAiplatformV1PipelineTaskExecutorDetailCustomJobDetail", +"properties": { +"failedJobs": { +"description": "Output only. The names of the previously failed CustomJob. The list includes the all attempts in chronological order.", +"items": { +"type": "string" +}, +"readOnly": true, +"type": "array" +}, +"job": { +"description": "Output only. The name of the CustomJob.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1PipelineTemplateMetadata": { +"description": "Pipeline template metadata if PipelineJob.template_uri is from supported template registry. Currently, the only supported registry is Artifact Registry.", +"id": "GoogleCloudAiplatformV1PipelineTemplateMetadata", +"properties": { +"version": { +"description": "The version_name in artifact registry. Will always be presented in output if the PipelineJob.template_uri is from supported template registry. Format is \"sha256:abcdef123456...\".", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1PointwiseMetricInput": { +"description": "Input for pointwise metric.", +"id": "GoogleCloudAiplatformV1PointwiseMetricInput", +"properties": { +"instance": { +"$ref": "GoogleCloudAiplatformV1PointwiseMetricInstance", +"description": "Required. Pointwise metric instance." +}, +"metricSpec": { +"$ref": "GoogleCloudAiplatformV1PointwiseMetricSpec", +"description": "Required. Spec for pointwise metric." +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1PointwiseMetricInstance": { +"description": "Pointwise metric instance. Usually one instance corresponds to one row in an evaluation dataset.", +"id": "GoogleCloudAiplatformV1PointwiseMetricInstance", +"properties": { +"contentMapInstance": { +"$ref": "GoogleCloudAiplatformV1ContentMap", +"description": "Key-value contents for the mutlimodality input, including text, image, video, audio, and pdf, etc. The key is placeholder in metric prompt template, and the value is the multimodal content." +}, +"jsonInstance": { +"description": "Instance specified as a json string. String key-value pairs are expected in the json_instance to render PointwiseMetricSpec.instance_prompt_template.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1PointwiseMetricResult": { +"description": "Spec for pointwise metric result.", +"id": "GoogleCloudAiplatformV1PointwiseMetricResult", +"properties": { +"customOutput": { +"$ref": "GoogleCloudAiplatformV1CustomOutput", +"description": "Output only. Spec for custom output.", +"readOnly": true +}, +"explanation": { +"description": "Output only. Explanation for pointwise metric score.", +"readOnly": true, +"type": "string" +}, +"score": { +"description": "Output only. Pointwise metric score.", +"format": "float", +"readOnly": true, +"type": "number" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1PointwiseMetricSpec": { +"description": "Spec for pointwise metric.", +"id": "GoogleCloudAiplatformV1PointwiseMetricSpec", +"properties": { +"customOutputFormatConfig": { +"$ref": "GoogleCloudAiplatformV1CustomOutputFormatConfig", +"description": "Optional. CustomOutputFormatConfig allows customization of metric output. By default, metrics return a score and explanation. When this config is set, the default output is replaced with either: - The raw output string. - A parsed output based on a user-defined schema. If a custom format is chosen, the `score` and `explanation` fields in the corresponding metric result will be empty." +}, +"metricPromptTemplate": { +"description": "Required. Metric prompt template for pointwise metric.", +"type": "string" +}, +"systemInstruction": { +"description": "Optional. System instructions for pointwise metric.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1Port": { +"description": "Represents a network port in a container.", +"id": "GoogleCloudAiplatformV1Port", +"properties": { +"containerPort": { +"description": "The number of the port to expose on the pod's IP address. Must be a valid port number, between 1 and 65535 inclusive.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1PostStartupScriptConfig": { +"description": "Post startup script config.", +"id": "GoogleCloudAiplatformV1PostStartupScriptConfig", +"properties": { +"postStartupScript": { +"description": "Optional. Post startup script to run after runtime is started.", +"type": "string" +}, +"postStartupScriptBehavior": { +"description": "Optional. Post startup script behavior that defines download and execution behavior.", +"enum": [ +"POST_STARTUP_SCRIPT_BEHAVIOR_UNSPECIFIED", +"RUN_ONCE", +"RUN_EVERY_START", +"DOWNLOAD_AND_RUN_EVERY_START" +], +"enumDescriptions": [ +"Unspecified post startup script behavior.", +"Run post startup script after runtime is started.", +"Run post startup script after runtime is stopped.", +"Download and run post startup script every time runtime is started." +], +"type": "string" +}, +"postStartupScriptUrl": { +"description": "Optional. Post startup script url to download. Example: `gs://bucket/script.sh`", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1PreTunedModel": { +"description": "A pre-tuned model for continuous tuning.", +"id": "GoogleCloudAiplatformV1PreTunedModel", +"properties": { +"baseModel": { +"description": "Output only. The name of the base model this PreTunedModel was tuned from.", +"readOnly": true, +"type": "string" +}, +"checkpointId": { +"description": "Optional. The source checkpoint id. If not specified, the default checkpoint will be used.", +"type": "string" +}, +"tunedModelName": { +"description": "The resource name of the Model. E.g., a model resource name with a specified version id or alias: `projects/{project}/locations/{location}/models/{model}@{version_id}` `projects/{project}/locations/{location}/models/{model}@{alias}` Or, omit the version id to use the default version: `projects/{project}/locations/{location}/models/{model}`", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1PrebuiltVoiceConfig": { +"description": "Configuration for a prebuilt voice.", +"id": "GoogleCloudAiplatformV1PrebuiltVoiceConfig", +"properties": { +"voiceName": { +"description": "The name of the prebuilt voice to use.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1PredefinedMetricSpec": { +"description": "The spec for a pre-defined metric.", +"id": "GoogleCloudAiplatformV1PredefinedMetricSpec", +"properties": { +"metricSpecName": { +"description": "Required. The name of a pre-defined metric, such as \"instruction_following_v1\" or \"text_quality_v1\".", +"type": "string" +}, +"metricSpecParameters": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"description": "Optional. The parameters needed to run the pre-defined metric.", +"type": "object" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1PredefinedSplit": { +"description": "Assigns input data to training, validation, and test sets based on the value of a provided key. Supported only for tabular Datasets.", +"id": "GoogleCloudAiplatformV1PredefinedSplit", +"properties": { +"key": { +"description": "Required. The key is a name of one of the Dataset's data columns. The value of the key (either the label's value or value in the column) must be one of {`training`, `validation`, `test`}, and it defines to which set the given piece of data is assigned. If for a piece of data the key is not present or has an invalid value, that piece is ignored by the pipeline.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1PredictLongRunningRequest": { +"description": "Request message for PredictionService.PredictLongRunning.", +"id": "GoogleCloudAiplatformV1PredictLongRunningRequest", +"properties": { +"instances": { +"description": "Required. The instances that are the input to the prediction call. A DeployedModel may have an upper limit on the number of instances it supports per request, and when it is exceeded the prediction call errors in case of AutoML Models, or, in case of customer created Models, the behaviour is as documented by that Model. The schema of any single instance may be specified via Endpoint's DeployedModels' Model's PredictSchemata's instance_schema_uri.", +"items": { +"type": "any" +}, +"type": "array" +}, +"parameters": { +"description": "Optional. The parameters that govern the prediction. The schema of the parameters may be specified via Endpoint's DeployedModels' Model's PredictSchemata's parameters_schema_uri.", +"type": "any" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1PredictRequest": { +"description": "Request message for PredictionService.Predict.", +"id": "GoogleCloudAiplatformV1PredictRequest", +"properties": { +"instances": { +"description": "Required. The instances that are the input to the prediction call. A DeployedModel may have an upper limit on the number of instances it supports per request, and when it is exceeded the prediction call errors in case of AutoML Models, or, in case of customer created Models, the behaviour is as documented by that Model. The schema of any single instance may be specified via Endpoint's DeployedModels' Model's PredictSchemata's instance_schema_uri.", +"items": { +"type": "any" +}, +"type": "array" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. The user labels for Imagen billing usage only. Only Imagen supports labels. For other use cases, it will be ignored.", +"type": "object" +}, +"parameters": { +"description": "The parameters that govern the prediction. The schema of the parameters may be specified via Endpoint's DeployedModels' Model's PredictSchemata's parameters_schema_uri.", +"type": "any" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1PredictRequestResponseLoggingConfig": { +"description": "Configuration for logging request-response to a BigQuery table.", +"id": "GoogleCloudAiplatformV1PredictRequestResponseLoggingConfig", +"properties": { +"bigqueryDestination": { +"$ref": "GoogleCloudAiplatformV1BigQueryDestination", +"description": "BigQuery table for logging. If only given a project, a new dataset will be created with name `logging__` where will be made BigQuery-dataset-name compatible (e.g. most special characters will become underscores). If no table name is given, a new table will be created with name `request_response_logging`" +}, +"enabled": { +"description": "If logging is enabled or not.", +"type": "boolean" +}, +"samplingRate": { +"description": "Percentage of requests to be logged, expressed as a fraction in range(0,1].", +"format": "double", +"type": "number" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1PredictResponse": { +"description": "Response message for PredictionService.Predict.", +"id": "GoogleCloudAiplatformV1PredictResponse", +"properties": { +"deployedModelId": { +"description": "ID of the Endpoint's DeployedModel that served this prediction.", +"type": "string" +}, +"metadata": { +"description": "Output only. Request-level metadata returned by the model. The metadata type will be dependent upon the model implementation.", +"readOnly": true, +"type": "any" +}, +"model": { +"description": "Output only. The resource name of the Model which is deployed as the DeployedModel that this prediction hits.", +"readOnly": true, +"type": "string" +}, +"modelDisplayName": { +"description": "Output only. The display name of the Model which is deployed as the DeployedModel that this prediction hits.", +"readOnly": true, +"type": "string" +}, +"modelVersionId": { +"description": "Output only. The version ID of the Model which is deployed as the DeployedModel that this prediction hits.", +"readOnly": true, +"type": "string" +}, +"predictions": { +"description": "The predictions that are the output of the predictions call. The schema of any single prediction may be specified via Endpoint's DeployedModels' Model's PredictSchemata's prediction_schema_uri.", +"items": { +"type": "any" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1PredictSchemata": { +"description": "Contains the schemata used in Model's predictions and explanations via PredictionService.Predict, PredictionService.Explain and BatchPredictionJob.", +"id": "GoogleCloudAiplatformV1PredictSchemata", +"properties": { +"instanceSchemaUri": { +"description": "Immutable. Points to a YAML file stored on Google Cloud Storage describing the format of a single instance, which are used in PredictRequest.instances, ExplainRequest.instances and BatchPredictionJob.input_config. 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.", +"type": "string" +}, +"parametersSchemaUri": { +"description": "Immutable. Points to a YAML file stored on Google Cloud Storage describing the parameters of prediction and explanation via PredictRequest.parameters, ExplainRequest.parameters and BatchPredictionJob.model_parameters. 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 point to a location where the user only has a read access.", +"type": "string" +}, +"predictionSchemaUri": { +"description": "Immutable. Points to a YAML file stored on Google Cloud Storage describing the format of a single prediction produced by this Model, which are returned via PredictResponse.predictions, ExplainResponse.explanations, and BatchPredictionJob.output_config. 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.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1PreferenceOptimizationDataStats": { +"description": "Statistics computed for datasets used for preference optimization.", +"id": "GoogleCloudAiplatformV1PreferenceOptimizationDataStats", +"properties": { +"droppedExampleIndices": { +"description": "Output only. A partial sample of the indices (starting from 1) of the dropped examples.", +"items": { +"format": "int64", +"type": "string" +}, +"readOnly": true, +"type": "array" +}, +"droppedExampleReasons": { +"description": "Output only. For each index in `dropped_example_indices`, the user-facing reason why the example was dropped.", +"items": { +"type": "string" +}, +"readOnly": true, +"type": "array" +}, +"scoreVariancePerExampleDistribution": { +"$ref": "GoogleCloudAiplatformV1DatasetDistribution", +"description": "Output only. Dataset distributions for scores variance per example.", +"readOnly": true +}, +"scoresDistribution": { +"$ref": "GoogleCloudAiplatformV1DatasetDistribution", +"description": "Output only. Dataset distributions for scores.", +"readOnly": true +}, +"totalBillableTokenCount": { +"description": "Output only. Number of billable tokens in the tuning dataset.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"tuningDatasetExampleCount": { +"description": "Output only. Number of examples in the tuning dataset.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"tuningStepCount": { +"description": "Output only. Number of tuning steps for this Tuning Job.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"userDatasetExamples": { +"description": "Output only. Sample user examples in the training dataset.", +"items": { +"$ref": "GoogleCloudAiplatformV1GeminiPreferenceExample" +}, +"readOnly": true, +"type": "array" +}, +"userInputTokenDistribution": { +"$ref": "GoogleCloudAiplatformV1DatasetDistribution", +"description": "Output only. Dataset distributions for the user input tokens.", +"readOnly": true +}, +"userOutputTokenDistribution": { +"$ref": "GoogleCloudAiplatformV1DatasetDistribution", +"description": "Output only. Dataset distributions for the user output tokens.", +"readOnly": true +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1PreferenceOptimizationHyperParameters": { +"description": "Hyperparameters for Preference Optimization.", +"id": "GoogleCloudAiplatformV1PreferenceOptimizationHyperParameters", +"properties": { +"adapterSize": { +"description": "Optional. Adapter size for preference optimization.", +"enum": [ +"ADAPTER_SIZE_UNSPECIFIED", +"ADAPTER_SIZE_ONE", +"ADAPTER_SIZE_TWO", +"ADAPTER_SIZE_FOUR", +"ADAPTER_SIZE_EIGHT", +"ADAPTER_SIZE_SIXTEEN", +"ADAPTER_SIZE_THIRTY_TWO" +], +"enumDescriptions": [ +"Adapter size is unspecified.", +"Adapter size 1.", +"Adapter size 2.", +"Adapter size 4.", +"Adapter size 8.", +"Adapter size 16.", +"Adapter size 32." +], +"type": "string" +}, +"beta": { +"description": "Optional. Weight for KL Divergence regularization.", +"format": "double", +"type": "number" +}, +"epochCount": { +"description": "Optional. Number of complete passes the model makes over the entire training dataset during training.", +"format": "int64", +"type": "string" +}, +"learningRateMultiplier": { +"description": "Optional. Multiplier for adjusting the default learning rate.", +"format": "double", +"type": "number" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1PreferenceOptimizationSpec": { +"description": "Tuning Spec for Preference Optimization.", +"id": "GoogleCloudAiplatformV1PreferenceOptimizationSpec", +"properties": { +"exportLastCheckpointOnly": { +"description": "Optional. If set to true, disable intermediate checkpoints for Preference Optimization and only the last checkpoint will be exported. Otherwise, enable intermediate checkpoints for Preference Optimization. Default is false.", +"type": "boolean" +}, +"hyperParameters": { +"$ref": "GoogleCloudAiplatformV1PreferenceOptimizationHyperParameters", +"description": "Optional. Hyperparameters for Preference Optimization." +}, +"trainingDatasetUri": { +"description": "Required. Cloud Storage path to file containing training dataset for preference optimization tuning. The dataset must be formatted as a JSONL file.", +"type": "string" +}, +"validationDatasetUri": { +"description": "Optional. Cloud Storage path to file containing validation dataset for preference optimization tuning. The dataset must be formatted as a JSONL file.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1Presets": { +"description": "Preset configuration for example-based explanations", +"id": "GoogleCloudAiplatformV1Presets", +"properties": { +"modality": { +"description": "The modality of the uploaded model, which automatically configures the distance measurement and feature normalization for the underlying example index and queries. If your model does not precisely fit one of these types, it is okay to choose the closest type.", +"enum": [ +"MODALITY_UNSPECIFIED", +"IMAGE", +"TEXT", +"TABULAR" +], +"enumDescriptions": [ +"Should not be set. Added as a recommended best practice for enums", +"IMAGE modality", +"TEXT modality", +"TABULAR modality" +], +"type": "string" +}, +"query": { +"description": "Preset option controlling parameters for speed-precision trade-off when querying for examples. If omitted, defaults to `PRECISE`.", +"enum": [ +"PRECISE", +"FAST" +], +"enumDescriptions": [ +"More precise neighbors as a trade-off against slower response.", +"Faster response as a trade-off against less precise neighbors." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1PrivateEndpoints": { +"description": "PrivateEndpoints proto is used to provide paths for users to send requests privately. To send request via private service access, use predict_http_uri, explain_http_uri or health_http_uri. To send request via private service connect, use service_attachment.", +"id": "GoogleCloudAiplatformV1PrivateEndpoints", +"properties": { +"explainHttpUri": { +"description": "Output only. Http(s) path to send explain requests.", +"readOnly": true, +"type": "string" +}, +"healthHttpUri": { +"description": "Output only. Http(s) path to send health check requests.", +"readOnly": true, +"type": "string" +}, +"predictHttpUri": { +"description": "Output only. Http(s) path to send prediction requests.", +"readOnly": true, +"type": "string" +}, +"serviceAttachment": { +"description": "Output only. The name of the service attachment resource. Populated if private service connect is enabled.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1PrivateServiceConnectConfig": { +"description": "Represents configuration for private service connect.", +"id": "GoogleCloudAiplatformV1PrivateServiceConnectConfig", +"properties": { +"enablePrivateServiceConnect": { +"description": "Required. If true, expose the IndexEndpoint via private service connect.", +"type": "boolean" +}, +"projectAllowlist": { +"description": "A list of Projects from which the forwarding rule will target the service attachment.", +"items": { +"type": "string" +}, +"type": "array" +}, +"pscAutomationConfigs": { +"description": "Optional. List of projects and networks where the PSC endpoints will be created. This field is used by Online Inference(Prediction) only.", +"items": { +"$ref": "GoogleCloudAiplatformV1PSCAutomationConfig" +}, +"type": "array" +}, +"serviceAttachment": { +"description": "Output only. The name of the generated service attachment resource. This is only populated if the endpoint is deployed with PrivateServiceConnect.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1Probe": { +"description": "Probe describes a health check to be performed against a container to determine whether it is alive or ready to receive traffic.", +"id": "GoogleCloudAiplatformV1Probe", +"properties": { +"exec": { +"$ref": "GoogleCloudAiplatformV1ProbeExecAction", +"description": "ExecAction probes the health of a container by executing a command." +}, +"failureThreshold": { +"description": "Number of consecutive failures before the probe is considered failed. Defaults to 3. Minimum value is 1. Maps to Kubernetes probe argument 'failureThreshold'.", +"format": "int32", +"type": "integer" +}, +"grpc": { +"$ref": "GoogleCloudAiplatformV1ProbeGrpcAction", +"description": "GrpcAction probes the health of a container by sending a gRPC request." +}, +"httpGet": { +"$ref": "GoogleCloudAiplatformV1ProbeHttpGetAction", +"description": "HttpGetAction probes the health of a container by sending an HTTP GET request." +}, +"initialDelaySeconds": { +"description": "Number of seconds to wait before starting the probe. Defaults to 0. Minimum value is 0. Maps to Kubernetes probe argument 'initialDelaySeconds'.", +"format": "int32", +"type": "integer" +}, +"periodSeconds": { +"description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1. Must be less than timeout_seconds. Maps to Kubernetes probe argument 'periodSeconds'.", +"format": "int32", +"type": "integer" +}, +"successThreshold": { +"description": "Number of consecutive successes before the probe is considered successful. Defaults to 1. Minimum value is 1. Maps to Kubernetes probe argument 'successThreshold'.", +"format": "int32", +"type": "integer" +}, +"tcpSocket": { +"$ref": "GoogleCloudAiplatformV1ProbeTcpSocketAction", +"description": "TcpSocketAction probes the health of a container by opening a TCP socket connection." +}, +"timeoutSeconds": { +"description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. Must be greater or equal to period_seconds. Maps to Kubernetes probe argument 'timeoutSeconds'.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1ProbeExecAction": { +"description": "ExecAction specifies a command to execute.", +"id": "GoogleCloudAiplatformV1ProbeExecAction", +"properties": { +"command": { +"description": "Command is the command line to execute inside the container, the working directory for the command is root ('/') in the container's filesystem. The command is simply exec'd, it is not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use a shell, you need to explicitly call out to that shell. Exit status of 0 is treated as live/healthy and non-zero is unhealthy.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1ProbeGrpcAction": { +"description": "GrpcAction checks the health of a container using a gRPC service.", +"id": "GoogleCloudAiplatformV1ProbeGrpcAction", +"properties": { +"port": { +"description": "Port number of the gRPC service. Number must be in the range 1 to 65535.", +"format": "int32", +"type": "integer" +}, +"service": { +"description": "Service is the name of the service to place in the gRPC HealthCheckRequest. See https://github.com/grpc/grpc/blob/master/doc/health-checking.md. If this is not specified, the default behavior is defined by gRPC.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1ProbeHttpGetAction": { +"description": "HttpGetAction describes an action based on HTTP Get requests.", +"id": "GoogleCloudAiplatformV1ProbeHttpGetAction", +"properties": { +"host": { +"description": "Host name to connect to, defaults to the model serving container's IP. You probably want to set \"Host\" in httpHeaders instead.", +"type": "string" +}, +"httpHeaders": { +"description": "Custom headers to set in the request. HTTP allows repeated headers.", +"items": { +"$ref": "GoogleCloudAiplatformV1ProbeHttpHeader" +}, +"type": "array" +}, +"path": { +"description": "Path to access on the HTTP server.", +"type": "string" +}, +"port": { +"description": "Number of the port to access on the container. Number must be in the range 1 to 65535.", +"format": "int32", +"type": "integer" +}, +"scheme": { +"description": "Scheme to use for connecting to the host. Defaults to HTTP. Acceptable values are \"HTTP\" or \"HTTPS\".", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1ProbeHttpHeader": { +"description": "HttpHeader describes a custom header to be used in HTTP probes", +"id": "GoogleCloudAiplatformV1ProbeHttpHeader", +"properties": { +"name": { +"description": "The header field name. This will be canonicalized upon output, so case-variant names will be understood as the same header.", +"type": "string" +}, +"value": { +"description": "The header field value", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1ProbeTcpSocketAction": { +"description": "TcpSocketAction probes the health of a container by opening a TCP socket connection.", +"id": "GoogleCloudAiplatformV1ProbeTcpSocketAction", +"properties": { +"host": { +"description": "Optional: Host name to connect to, defaults to the model serving container's IP.", +"type": "string" +}, +"port": { +"description": "Number of the port to access on the container. Number must be in the range 1 to 65535.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1PscAutomatedEndpoints": { +"description": "PscAutomatedEndpoints defines the output of the forwarding rule automatically created by each PscAutomationConfig.", +"id": "GoogleCloudAiplatformV1PscAutomatedEndpoints", +"properties": { +"matchAddress": { +"description": "Ip Address created by the automated forwarding rule.", +"type": "string" +}, +"network": { +"description": "Corresponding network in pscAutomationConfigs.", +"type": "string" +}, +"projectId": { +"description": "Corresponding project_id in pscAutomationConfigs", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1PscInterfaceConfig": { +"description": "Configuration for PSC-I.", +"id": "GoogleCloudAiplatformV1PscInterfaceConfig", +"properties": { +"dnsPeeringConfigs": { +"description": "Optional. DNS peering configurations. When specified, Vertex AI will attempt to configure DNS peering zones in the tenant project VPC to resolve the specified domains using the target network's Cloud DNS. The user must grant the dns.peer role to the Vertex AI Service Agent on the target project.", +"items": { +"$ref": "GoogleCloudAiplatformV1DnsPeeringConfig" +}, +"type": "array" +}, +"networkAttachment": { +"description": "Optional. The name of the Compute Engine [network attachment](https://cloud.google.com/vpc/docs/about-network-attachments) to attach to the resource within the region and user project. To specify this field, you must have already [created a network attachment] (https://cloud.google.com/vpc/docs/create-manage-network-attachments#create-network-attachments). This field is only used for resources using PSC-I.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1PublisherModel": { +"description": "A Model Garden Publisher Model.", +"id": "GoogleCloudAiplatformV1PublisherModel", +"properties": { +"frameworks": { +"description": "Optional. Additional information about the model's Frameworks.", +"items": { +"type": "string" +}, +"type": "array" +}, +"launchStage": { +"description": "Optional. Indicates the launch stage of the model.", +"enum": [ +"LAUNCH_STAGE_UNSPECIFIED", +"EXPERIMENTAL", +"PRIVATE_PREVIEW", +"PUBLIC_PREVIEW", +"GA" +], +"enumDescriptions": [ +"The model launch stage is unspecified.", +"Used to indicate the PublisherModel is at Experimental launch stage, available to a small set of customers.", +"Used to indicate the PublisherModel is at Private Preview launch stage, only available to a small set of customers, although a larger set of customers than an Experimental launch. Previews are the first launch stage used to get feedback from customers.", +"Used to indicate the PublisherModel is at Public Preview launch stage, available to all customers, although not supported for production workloads.", +"Used to indicate the PublisherModel is at GA launch stage, available to all customers and ready for production workload." +], +"type": "string" +}, +"name": { +"description": "Output only. The resource name of the PublisherModel.", +"readOnly": true, +"type": "string" +}, +"openSourceCategory": { +"description": "Required. Indicates the open source category of the publisher model.", +"enum": [ +"OPEN_SOURCE_CATEGORY_UNSPECIFIED", +"PROPRIETARY", +"GOOGLE_OWNED_OSS_WITH_GOOGLE_CHECKPOINT", +"THIRD_PARTY_OWNED_OSS_WITH_GOOGLE_CHECKPOINT", +"GOOGLE_OWNED_OSS", +"THIRD_PARTY_OWNED_OSS" +], +"enumDescriptions": [ +"The open source category is unspecified, which should not be used.", +"Used to indicate the PublisherModel is not open sourced.", +"Used to indicate the PublisherModel is a Google-owned open source model w/ Google checkpoint.", +"Used to indicate the PublisherModel is a 3p-owned open source model w/ Google checkpoint.", +"Used to indicate the PublisherModel is a Google-owned pure open source model.", +"Used to indicate the PublisherModel is a 3p-owned pure open source model." +], +"type": "string" +}, +"predictSchemata": { +"$ref": "GoogleCloudAiplatformV1PredictSchemata", +"description": "Optional. The schemata that describes formats of the PublisherModel's predictions and explanations as given and returned via PredictionService.Predict." +}, +"publisherModelTemplate": { +"description": "Optional. Output only. Immutable. Used to indicate this model has a publisher model and provide the template of the publisher model resource name.", +"readOnly": true, +"type": "string" +}, +"supportedActions": { +"$ref": "GoogleCloudAiplatformV1PublisherModelCallToAction", +"description": "Optional. Supported call-to-action options." +}, +"versionId": { +"description": "Output only. Immutable. The version ID of the PublisherModel. A new version is committed when a new model version is uploaded under an existing model id. It is an auto-incrementing decimal number in string representation.", +"readOnly": true, +"type": "string" +}, +"versionState": { +"description": "Optional. Indicates the state of the model version.", +"enum": [ +"VERSION_STATE_UNSPECIFIED", +"VERSION_STATE_STABLE", +"VERSION_STATE_UNSTABLE" +], +"enumDescriptions": [ +"The version state is unspecified.", +"Used to indicate the version is stable.", +"Used to indicate the version is unstable." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1PublisherModelCallToAction": { +"description": "Actions could take on this Publisher Model.", +"id": "GoogleCloudAiplatformV1PublisherModelCallToAction", +"properties": { +"createApplication": { +"$ref": "GoogleCloudAiplatformV1PublisherModelCallToActionRegionalResourceReferences", +"description": "Optional. Create application using the PublisherModel." +}, +"deploy": { +"$ref": "GoogleCloudAiplatformV1PublisherModelCallToActionDeploy", +"description": "Optional. Deploy the PublisherModel to Vertex Endpoint." +}, +"deployGke": { +"$ref": "GoogleCloudAiplatformV1PublisherModelCallToActionDeployGke", +"description": "Optional. Deploy PublisherModel to Google Kubernetes Engine." +}, +"multiDeployVertex": { +"$ref": "GoogleCloudAiplatformV1PublisherModelCallToActionDeployVertex", +"description": "Optional. Multiple setups to deploy the PublisherModel to Vertex Endpoint." +}, +"openEvaluationPipeline": { +"$ref": "GoogleCloudAiplatformV1PublisherModelCallToActionRegionalResourceReferences", +"description": "Optional. Open evaluation pipeline of the PublisherModel." +}, +"openFineTuningPipeline": { +"$ref": "GoogleCloudAiplatformV1PublisherModelCallToActionRegionalResourceReferences", +"description": "Optional. Open fine-tuning pipeline of the PublisherModel." +}, +"openFineTuningPipelines": { +"$ref": "GoogleCloudAiplatformV1PublisherModelCallToActionOpenFineTuningPipelines", +"description": "Optional. Open fine-tuning pipelines of the PublisherModel." +}, +"openGenerationAiStudio": { +"$ref": "GoogleCloudAiplatformV1PublisherModelCallToActionRegionalResourceReferences", +"description": "Optional. Open in Generation AI Studio." +}, +"openGenie": { +"$ref": "GoogleCloudAiplatformV1PublisherModelCallToActionRegionalResourceReferences", +"description": "Optional. Open Genie / Playground." +}, +"openNotebook": { +"$ref": "GoogleCloudAiplatformV1PublisherModelCallToActionRegionalResourceReferences", +"description": "Optional. Open notebook of the PublisherModel." +}, +"openNotebooks": { +"$ref": "GoogleCloudAiplatformV1PublisherModelCallToActionOpenNotebooks", +"description": "Optional. Open notebooks of the PublisherModel." +}, +"openPromptTuningPipeline": { +"$ref": "GoogleCloudAiplatformV1PublisherModelCallToActionRegionalResourceReferences", +"description": "Optional. Open prompt-tuning pipeline of the PublisherModel." +}, +"requestAccess": { +"$ref": "GoogleCloudAiplatformV1PublisherModelCallToActionRegionalResourceReferences", +"description": "Optional. Request for access." +}, +"viewRestApi": { +"$ref": "GoogleCloudAiplatformV1PublisherModelCallToActionViewRestApi", +"description": "Optional. To view Rest API docs." +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1PublisherModelCallToActionDeploy": { +"description": "Model metadata that is needed for UploadModel or DeployModel/CreateEndpoint requests.", +"id": "GoogleCloudAiplatformV1PublisherModelCallToActionDeploy", +"properties": { +"artifactUri": { +"description": "Optional. The path to the directory containing the Model artifact and any of its supporting files.", +"type": "string" +}, +"automaticResources": { +"$ref": "GoogleCloudAiplatformV1AutomaticResources", +"description": "A description of resources that to large degree are decided by Vertex AI, and require only a modest additional configuration." +}, +"containerSpec": { +"$ref": "GoogleCloudAiplatformV1ModelContainerSpec", +"description": "Optional. The specification of the container that is to be used when deploying this Model in Vertex AI. Not present for Large Models." +}, +"dedicatedResources": { +"$ref": "GoogleCloudAiplatformV1DedicatedResources", +"description": "A description of resources that are dedicated to the DeployedModel, and that need a higher degree of manual configuration." +}, +"deployMetadata": { +"$ref": "GoogleCloudAiplatformV1PublisherModelCallToActionDeployDeployMetadata", +"description": "Optional. Metadata information about this deployment config." +}, +"deployTaskName": { +"description": "Optional. The name of the deploy task (e.g., \"text to image generation\").", +"type": "string" +}, +"largeModelReference": { +"$ref": "GoogleCloudAiplatformV1LargeModelReference", +"description": "Optional. Large model reference. When this is set, model_artifact_spec is not needed." +}, +"modelDisplayName": { +"description": "Optional. Default model display name.", +"type": "string" +}, +"publicArtifactUri": { +"description": "Optional. The signed URI for ephemeral Cloud Storage access to model artifact.", +"type": "string" +}, +"sharedResources": { +"description": "The resource name of the shared DeploymentResourcePool to deploy on. Format: `projects/{project}/locations/{location}/deploymentResourcePools/{deployment_resource_pool}`", +"type": "string" +}, +"title": { +"description": "Required. The title of the regional resource reference.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1PublisherModelCallToActionDeployDeployMetadata": { +"description": "Metadata information about the deployment for managing deployment config.", +"id": "GoogleCloudAiplatformV1PublisherModelCallToActionDeployDeployMetadata", +"properties": { +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. Labels for the deployment config. For managing deployment config like verifying, source of deployment config, etc.", +"type": "object" +}, +"sampleRequest": { +"description": "Optional. Sample request for deployed endpoint.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1PublisherModelCallToActionDeployGke": { +"description": "Configurations for PublisherModel GKE deployment", +"id": "GoogleCloudAiplatformV1PublisherModelCallToActionDeployGke", +"properties": { +"gkeYamlConfigs": { +"description": "Optional. GKE deployment configuration in yaml format.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1PublisherModelCallToActionDeployVertex": { +"description": "Multiple setups to deploy the PublisherModel.", +"id": "GoogleCloudAiplatformV1PublisherModelCallToActionDeployVertex", +"properties": { +"multiDeployVertex": { +"description": "Optional. One click deployment configurations.", +"items": { +"$ref": "GoogleCloudAiplatformV1PublisherModelCallToActionDeploy" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1PublisherModelCallToActionOpenFineTuningPipelines": { +"description": "Open fine tuning pipelines.", +"id": "GoogleCloudAiplatformV1PublisherModelCallToActionOpenFineTuningPipelines", +"properties": { +"fineTuningPipelines": { +"description": "Required. Regional resource references to fine tuning pipelines.", +"items": { +"$ref": "GoogleCloudAiplatformV1PublisherModelCallToActionRegionalResourceReferences" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1PublisherModelCallToActionOpenNotebooks": { +"description": "Open notebooks.", +"id": "GoogleCloudAiplatformV1PublisherModelCallToActionOpenNotebooks", +"properties": { +"notebooks": { +"description": "Required. Regional resource references to notebooks.", +"items": { +"$ref": "GoogleCloudAiplatformV1PublisherModelCallToActionRegionalResourceReferences" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1PublisherModelCallToActionRegionalResourceReferences": { +"description": "The regional resource name or the URI. Key is region, e.g., us-central1, europe-west2, global, etc..", +"id": "GoogleCloudAiplatformV1PublisherModelCallToActionRegionalResourceReferences", +"properties": { +"colabNotebookDisabled": { +"description": "Optional. For notebook resource. When set to true, the Colab Enterprise link will be disabled in the \"open notebook\" dialog in UI.", +"type": "boolean" +}, +"references": { +"additionalProperties": { +"$ref": "GoogleCloudAiplatformV1PublisherModelResourceReference" +}, +"description": "Required.", +"type": "object" +}, +"resourceDescription": { +"description": "Optional. Description of the resource.", +"type": "string" +}, +"resourceTitle": { +"description": "Optional. Title of the resource.", +"type": "string" +}, +"resourceUseCase": { +"description": "Optional. Use case (CUJ) of the resource.", +"type": "string" +}, +"supportsWorkbench": { +"description": "Optional. For notebook resource, whether the notebook supports Workbench.", +"type": "boolean" +}, +"title": { +"description": "Required. ", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1PublisherModelCallToActionViewRestApi": { +"description": "Rest API docs.", +"id": "GoogleCloudAiplatformV1PublisherModelCallToActionViewRestApi", +"properties": { +"documentations": { +"description": "Required.", +"items": { +"$ref": "GoogleCloudAiplatformV1PublisherModelDocumentation" +}, +"type": "array" +}, +"title": { +"description": "Required. The title of the view rest API.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1PublisherModelDocumentation": { +"description": "A named piece of documentation.", +"id": "GoogleCloudAiplatformV1PublisherModelDocumentation", +"properties": { +"content": { +"description": "Required. Content of this piece of document (in Markdown format).", +"type": "string" +}, +"title": { +"description": "Required. E.g., OVERVIEW, USE CASES, DOCUMENTATION, SDK & SAMPLES, JAVA, NODE.JS, etc..", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1PublisherModelResourceReference": { +"description": "Reference to a resource.", +"id": "GoogleCloudAiplatformV1PublisherModelResourceReference", +"properties": { +"description": { +"deprecated": true, +"description": "Description of the resource.", +"type": "string" +}, +"resourceName": { +"description": "The resource name of the Google Cloud resource.", +"type": "string" +}, +"uri": { +"description": "The URI of the resource.", +"type": "string" +}, +"useCase": { +"deprecated": true, +"description": "Use case (CUJ) of the resource.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1PurgeArtifactsMetadata": { +"description": "Details of operations that perform MetadataService.PurgeArtifacts.", +"id": "GoogleCloudAiplatformV1PurgeArtifactsMetadata", +"properties": { +"genericMetadata": { +"$ref": "GoogleCloudAiplatformV1GenericOperationMetadata", +"description": "Operation metadata for purging Artifacts." +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1PurgeArtifactsRequest": { +"description": "Request message for MetadataService.PurgeArtifacts.", +"id": "GoogleCloudAiplatformV1PurgeArtifactsRequest", +"properties": { +"filter": { +"description": "Required. A required filter matching the Artifacts to be purged. E.g., `update_time <= 2020-11-19T11:30:00-04:00`.", +"type": "string" +}, +"force": { +"description": "Optional. Flag to indicate to actually perform the purge. If `force` is set to false, the method will return a sample of Artifact names that would be deleted.", +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1PurgeArtifactsResponse": { +"description": "Response message for MetadataService.PurgeArtifacts.", +"id": "GoogleCloudAiplatformV1PurgeArtifactsResponse", +"properties": { +"purgeCount": { +"description": "The number of Artifacts that this request deleted (or, if `force` is false, the number of Artifacts that will be deleted). This can be an estimate.", +"format": "int64", +"type": "string" +}, +"purgeSample": { +"description": "A sample of the Artifact names that will be deleted. Only populated if `force` is set to false. The maximum number of samples is 100 (it is possible to return fewer).", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1PurgeContextsMetadata": { +"description": "Details of operations that perform MetadataService.PurgeContexts.", +"id": "GoogleCloudAiplatformV1PurgeContextsMetadata", +"properties": { +"genericMetadata": { +"$ref": "GoogleCloudAiplatformV1GenericOperationMetadata", +"description": "Operation metadata for purging Contexts." +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1PurgeContextsRequest": { +"description": "Request message for MetadataService.PurgeContexts.", +"id": "GoogleCloudAiplatformV1PurgeContextsRequest", +"properties": { +"filter": { +"description": "Required. A required filter matching the Contexts to be purged. E.g., `update_time <= 2020-11-19T11:30:00-04:00`.", +"type": "string" +}, +"force": { +"description": "Optional. Flag to indicate to actually perform the purge. If `force` is set to false, the method will return a sample of Context names that would be deleted.", +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1PurgeContextsResponse": { +"description": "Response message for MetadataService.PurgeContexts.", +"id": "GoogleCloudAiplatformV1PurgeContextsResponse", +"properties": { +"purgeCount": { +"description": "The number of Contexts that this request deleted (or, if `force` is false, the number of Contexts that will be deleted). This can be an estimate.", +"format": "int64", +"type": "string" +}, +"purgeSample": { +"description": "A sample of the Context names that will be deleted. Only populated if `force` is set to false. The maximum number of samples is 100 (it is possible to return fewer).", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1PurgeExecutionsMetadata": { +"description": "Details of operations that perform MetadataService.PurgeExecutions.", +"id": "GoogleCloudAiplatformV1PurgeExecutionsMetadata", +"properties": { +"genericMetadata": { +"$ref": "GoogleCloudAiplatformV1GenericOperationMetadata", +"description": "Operation metadata for purging Executions." +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1PurgeExecutionsRequest": { +"description": "Request message for MetadataService.PurgeExecutions.", +"id": "GoogleCloudAiplatformV1PurgeExecutionsRequest", +"properties": { +"filter": { +"description": "Required. A required filter matching the Executions to be purged. E.g., `update_time <= 2020-11-19T11:30:00-04:00`.", +"type": "string" +}, +"force": { +"description": "Optional. Flag to indicate to actually perform the purge. If `force` is set to false, the method will return a sample of Execution names that would be deleted.", +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1PurgeExecutionsResponse": { +"description": "Response message for MetadataService.PurgeExecutions.", +"id": "GoogleCloudAiplatformV1PurgeExecutionsResponse", +"properties": { +"purgeCount": { +"description": "The number of Executions that this request deleted (or, if `force` is false, the number of Executions that will be deleted). This can be an estimate.", +"format": "int64", +"type": "string" +}, +"purgeSample": { +"description": "A sample of the Execution names that will be deleted. Only populated if `force` is set to false. The maximum number of samples is 100 (it is possible to return fewer).", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1PurgeMemoriesRequest": { +"description": "Request message for MemoryBankService.PurgeMemories.", +"id": "GoogleCloudAiplatformV1PurgeMemoriesRequest", +"properties": { +"filter": { +"description": "Required. The standard list filter to determine which memories to purge. More detail in [AIP-160](https://google.aip.dev/160).", +"type": "string" +}, +"filterGroups": { +"description": "Optional. Metadata filters that will be applied to the memories to be purged. Filters are defined using disjunctive normal form (OR of ANDs). For example: `filter_groups: [{filters: [{key: \"author\", value: {string_value: \"agent 123\"}, op: EQUAL}]}, {filters: [{key: \"label\", value: {string_value: \"travel\"}, op: EQUAL}, {key: \"author\", value: {string_value: \"agent 321\"}, op: EQUAL}]}]` would be equivalent to the logical expression: `(metadata.author = \"agent 123\" OR (metadata.label = \"travel\" AND metadata.author = \"agent 321\"))`.", +"items": { +"$ref": "GoogleCloudAiplatformV1MemoryConjunctionFilter" +}, +"type": "array" +}, +"force": { +"description": "Optional. If true, the memories will actually be purged. If false, the purge request will be validated but not executed.", +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1PythonPackageSpec": { +"description": "The spec of a Python packaged code.", +"id": "GoogleCloudAiplatformV1PythonPackageSpec", +"properties": { +"args": { +"description": "Command line arguments to be passed to the Python task.", +"items": { +"type": "string" +}, +"type": "array" +}, +"env": { +"description": "Environment variables to be passed to the python module. Maximum limit is 100.", +"items": { +"$ref": "GoogleCloudAiplatformV1EnvVar" +}, +"type": "array" +}, +"executorImageUri": { +"description": "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.", +"type": "string" +}, +"packageUris": { +"description": "Required. The Google Cloud Storage location of the Python package files which are the training program and its dependent packages. The maximum number of package URIs is 100.", +"items": { +"type": "string" +}, +"type": "array" +}, +"pythonModule": { +"description": "Required. The Python module name to run after installing the packages.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1QueryDeployedModelsResponse": { +"description": "Response message for QueryDeployedModels method.", +"id": "GoogleCloudAiplatformV1QueryDeployedModelsResponse", +"properties": { +"deployedModelRefs": { +"description": "References to the DeployedModels that share the specified deploymentResourcePool.", +"items": { +"$ref": "GoogleCloudAiplatformV1DeployedModelRef" +}, +"type": "array" +}, +"deployedModels": { +"deprecated": true, +"description": "DEPRECATED Use deployed_model_refs instead.", +"items": { +"$ref": "GoogleCloudAiplatformV1DeployedModel" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.", +"type": "string" +}, +"totalDeployedModelCount": { +"description": "The total number of DeployedModels on this DeploymentResourcePool.", +"format": "int32", +"type": "integer" +}, +"totalEndpointCount": { +"description": "The total number of Endpoints that have DeployedModels on this DeploymentResourcePool.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1QueryReasoningEngineRequest": { +"description": "Request message for ReasoningEngineExecutionService.Query.", +"id": "GoogleCloudAiplatformV1QueryReasoningEngineRequest", +"properties": { +"classMethod": { +"description": "Optional. Class method to be used for the query. It is optional and defaults to \"query\" if unspecified.", +"type": "string" +}, +"input": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"description": "Optional. Input content provided by users in JSON object format. Examples include text query, function calling parameters, media bytes, etc.", +"type": "object" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1QueryReasoningEngineResponse": { +"description": "Response message for ReasoningEngineExecutionService.Query", +"id": "GoogleCloudAiplatformV1QueryReasoningEngineResponse", +"properties": { +"output": { +"description": "Response provided by users in JSON object format.", +"type": "any" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1QuestionAnsweringCorrectnessInput": { +"description": "Input for question answering correctness metric.", +"id": "GoogleCloudAiplatformV1QuestionAnsweringCorrectnessInput", +"properties": { +"instance": { +"$ref": "GoogleCloudAiplatformV1QuestionAnsweringCorrectnessInstance", +"description": "Required. Question answering correctness instance." +}, +"metricSpec": { +"$ref": "GoogleCloudAiplatformV1QuestionAnsweringCorrectnessSpec", +"description": "Required. Spec for question answering correctness score metric." +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1QuestionAnsweringCorrectnessInstance": { +"description": "Spec for question answering correctness instance.", +"id": "GoogleCloudAiplatformV1QuestionAnsweringCorrectnessInstance", +"properties": { +"context": { +"description": "Optional. Text provided as context to answer the question.", +"type": "string" +}, +"instruction": { +"description": "Required. The question asked and other instruction in the inference prompt.", +"type": "string" +}, +"prediction": { +"description": "Required. Output of the evaluated model.", +"type": "string" +}, +"reference": { +"description": "Optional. Ground truth used to compare against the prediction.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1QuestionAnsweringCorrectnessResult": { +"description": "Spec for question answering correctness result.", +"id": "GoogleCloudAiplatformV1QuestionAnsweringCorrectnessResult", +"properties": { +"confidence": { +"description": "Output only. Confidence for question answering correctness score.", +"format": "float", +"readOnly": true, +"type": "number" +}, +"explanation": { +"description": "Output only. Explanation for question answering correctness score.", +"readOnly": true, +"type": "string" +}, +"score": { +"description": "Output only. Question Answering Correctness score.", +"format": "float", +"readOnly": true, +"type": "number" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1QuestionAnsweringCorrectnessSpec": { +"description": "Spec for question answering correctness metric.", +"id": "GoogleCloudAiplatformV1QuestionAnsweringCorrectnessSpec", +"properties": { +"useReference": { +"description": "Optional. Whether to use instance.reference to compute question answering correctness.", +"type": "boolean" +}, +"version": { +"description": "Optional. Which version to use for evaluation.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1QuestionAnsweringHelpfulnessInput": { +"description": "Input for question answering helpfulness metric.", +"id": "GoogleCloudAiplatformV1QuestionAnsweringHelpfulnessInput", +"properties": { +"instance": { +"$ref": "GoogleCloudAiplatformV1QuestionAnsweringHelpfulnessInstance", +"description": "Required. Question answering helpfulness instance." +}, +"metricSpec": { +"$ref": "GoogleCloudAiplatformV1QuestionAnsweringHelpfulnessSpec", +"description": "Required. Spec for question answering helpfulness score metric." +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1QuestionAnsweringHelpfulnessInstance": { +"description": "Spec for question answering helpfulness instance.", +"id": "GoogleCloudAiplatformV1QuestionAnsweringHelpfulnessInstance", +"properties": { +"context": { +"description": "Optional. Text provided as context to answer the question.", +"type": "string" +}, +"instruction": { +"description": "Required. The question asked and other instruction in the inference prompt.", +"type": "string" +}, +"prediction": { +"description": "Required. Output of the evaluated model.", +"type": "string" +}, +"reference": { +"description": "Optional. Ground truth used to compare against the prediction.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1QuestionAnsweringHelpfulnessResult": { +"description": "Spec for question answering helpfulness result.", +"id": "GoogleCloudAiplatformV1QuestionAnsweringHelpfulnessResult", +"properties": { +"confidence": { +"description": "Output only. Confidence for question answering helpfulness score.", +"format": "float", +"readOnly": true, +"type": "number" +}, +"explanation": { +"description": "Output only. Explanation for question answering helpfulness score.", +"readOnly": true, +"type": "string" +}, +"score": { +"description": "Output only. Question Answering Helpfulness score.", +"format": "float", +"readOnly": true, +"type": "number" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1QuestionAnsweringHelpfulnessSpec": { +"description": "Spec for question answering helpfulness metric.", +"id": "GoogleCloudAiplatformV1QuestionAnsweringHelpfulnessSpec", +"properties": { +"useReference": { +"description": "Optional. Whether to use instance.reference to compute question answering helpfulness.", +"type": "boolean" +}, +"version": { +"description": "Optional. Which version to use for evaluation.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1QuestionAnsweringQualityInput": { +"description": "Input for question answering quality metric.", +"id": "GoogleCloudAiplatformV1QuestionAnsweringQualityInput", +"properties": { +"instance": { +"$ref": "GoogleCloudAiplatformV1QuestionAnsweringQualityInstance", +"description": "Required. Question answering quality instance." +}, +"metricSpec": { +"$ref": "GoogleCloudAiplatformV1QuestionAnsweringQualitySpec", +"description": "Required. Spec for question answering quality score metric." +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1QuestionAnsweringQualityInstance": { +"description": "Spec for question answering quality instance.", +"id": "GoogleCloudAiplatformV1QuestionAnsweringQualityInstance", +"properties": { +"context": { +"description": "Required. Text to answer the question.", +"type": "string" +}, +"instruction": { +"description": "Required. Question Answering prompt for LLM.", +"type": "string" +}, +"prediction": { +"description": "Required. Output of the evaluated model.", +"type": "string" +}, +"reference": { +"description": "Optional. Ground truth used to compare against the prediction.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1QuestionAnsweringQualityResult": { +"description": "Spec for question answering quality result.", +"id": "GoogleCloudAiplatformV1QuestionAnsweringQualityResult", +"properties": { +"confidence": { +"description": "Output only. Confidence for question answering quality score.", +"format": "float", +"readOnly": true, +"type": "number" +}, +"explanation": { +"description": "Output only. Explanation for question answering quality score.", +"readOnly": true, +"type": "string" +}, +"score": { +"description": "Output only. Question Answering Quality score.", +"format": "float", +"readOnly": true, +"type": "number" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1QuestionAnsweringQualitySpec": { +"description": "Spec for question answering quality score metric.", +"id": "GoogleCloudAiplatformV1QuestionAnsweringQualitySpec", +"properties": { +"useReference": { +"description": "Optional. Whether to use instance.reference to compute question answering quality.", +"type": "boolean" +}, +"version": { +"description": "Optional. Which version to use for evaluation.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1QuestionAnsweringRelevanceInput": { +"description": "Input for question answering relevance metric.", +"id": "GoogleCloudAiplatformV1QuestionAnsweringRelevanceInput", +"properties": { +"instance": { +"$ref": "GoogleCloudAiplatformV1QuestionAnsweringRelevanceInstance", +"description": "Required. Question answering relevance instance." +}, +"metricSpec": { +"$ref": "GoogleCloudAiplatformV1QuestionAnsweringRelevanceSpec", +"description": "Required. Spec for question answering relevance score metric." +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1QuestionAnsweringRelevanceInstance": { +"description": "Spec for question answering relevance instance.", +"id": "GoogleCloudAiplatformV1QuestionAnsweringRelevanceInstance", +"properties": { +"context": { +"description": "Optional. Text provided as context to answer the question.", +"type": "string" +}, +"instruction": { +"description": "Required. The question asked and other instruction in the inference prompt.", +"type": "string" +}, +"prediction": { +"description": "Required. Output of the evaluated model.", +"type": "string" +}, +"reference": { +"description": "Optional. Ground truth used to compare against the prediction.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1QuestionAnsweringRelevanceResult": { +"description": "Spec for question answering relevance result.", +"id": "GoogleCloudAiplatformV1QuestionAnsweringRelevanceResult", +"properties": { +"confidence": { +"description": "Output only. Confidence for question answering relevance score.", +"format": "float", +"readOnly": true, +"type": "number" +}, +"explanation": { +"description": "Output only. Explanation for question answering relevance score.", +"readOnly": true, +"type": "string" +}, +"score": { +"description": "Output only. Question Answering Relevance score.", +"format": "float", +"readOnly": true, +"type": "number" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1QuestionAnsweringRelevanceSpec": { +"description": "Spec for question answering relevance metric.", +"id": "GoogleCloudAiplatformV1QuestionAnsweringRelevanceSpec", +"properties": { +"useReference": { +"description": "Optional. Whether to use instance.reference to compute question answering relevance.", +"type": "boolean" +}, +"version": { +"description": "Optional. Which version to use for evaluation.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1RagChunk": { +"description": "A RagChunk includes the content of a chunk of a RagFile, and associated metadata.", +"id": "GoogleCloudAiplatformV1RagChunk", +"properties": { +"pageSpan": { +"$ref": "GoogleCloudAiplatformV1RagChunkPageSpan", +"description": "If populated, represents where the chunk starts and ends in the document." +}, +"text": { +"description": "The content of the chunk.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1RagChunkPageSpan": { +"description": "Represents where the chunk starts and ends in the document.", +"id": "GoogleCloudAiplatformV1RagChunkPageSpan", +"properties": { +"firstPage": { +"description": "Page where chunk starts in the document. Inclusive. 1-indexed.", +"format": "int32", +"type": "integer" +}, +"lastPage": { +"description": "Page where chunk ends in the document. Inclusive. 1-indexed.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1RagContexts": { +"description": "Relevant contexts for one query.", +"id": "GoogleCloudAiplatformV1RagContexts", +"properties": { +"contexts": { +"description": "All its contexts.", +"items": { +"$ref": "GoogleCloudAiplatformV1RagContextsContext" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1RagContextsContext": { +"description": "A context of the query.", +"id": "GoogleCloudAiplatformV1RagContextsContext", +"properties": { +"chunk": { +"$ref": "GoogleCloudAiplatformV1RagChunk", +"description": "Context of the retrieved chunk." +}, +"score": { +"description": "According to the underlying Vector DB and the selected metric type, the score can be either the distance or the similarity between the query and the context and its range depends on the metric type. For example, if the metric type is COSINE_DISTANCE, it represents the distance between the query and the context. The larger the distance, the less relevant the context is to the query. The range is [0, 2], while 0 means the most relevant and 2 means the least relevant.", +"format": "double", +"type": "number" +}, +"sourceDisplayName": { +"description": "The file display name.", +"type": "string" +}, +"sourceUri": { +"description": "If the file is imported from Cloud Storage or Google Drive, source_uri will be original file URI in Cloud Storage or Google Drive; if file is uploaded, source_uri will be file display name.", +"type": "string" +}, +"text": { +"description": "The text chunk.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1RagCorpus": { +"description": "A RagCorpus is a RagFile container and a project can have multiple RagCorpora.", +"id": "GoogleCloudAiplatformV1RagCorpus", +"properties": { +"corpusStatus": { +"$ref": "GoogleCloudAiplatformV1CorpusStatus", +"description": "Output only. RagCorpus state.", +"readOnly": true +}, +"createTime": { +"description": "Output only. Timestamp when this RagCorpus was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"description": { +"description": "Optional. The description of the RagCorpus.", +"type": "string" +}, +"displayName": { +"description": "Required. The display name of the RagCorpus. The name can be up to 128 characters long and can consist of any UTF-8 characters.", +"type": "string" +}, +"encryptionSpec": { +"$ref": "GoogleCloudAiplatformV1EncryptionSpec", +"description": "Optional. Immutable. The CMEK key name used to encrypt at-rest data related to this Corpus. Only applicable to RagManagedDb option for Vector DB. This field can only be set at corpus creation time, and cannot be updated or deleted." +}, +"name": { +"description": "Output only. The resource name of the RagCorpus.", +"readOnly": true, +"type": "string" +}, +"satisfiesPzi": { +"description": "Output only. Reserved for future use.", +"readOnly": true, +"type": "boolean" +}, +"satisfiesPzs": { +"description": "Output only. Reserved for future use.", +"readOnly": true, +"type": "boolean" +}, +"updateTime": { +"description": "Output only. Timestamp when this RagCorpus was last updated.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"vectorDbConfig": { +"$ref": "GoogleCloudAiplatformV1RagVectorDbConfig", +"description": "Optional. Immutable. The config for the Vector DBs." +}, +"vertexAiSearchConfig": { +"$ref": "GoogleCloudAiplatformV1VertexAiSearchConfig", +"description": "Optional. Immutable. The config for the Vertex AI Search." +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1RagEmbeddingModelConfig": { +"description": "Config for the embedding model to use for RAG.", +"id": "GoogleCloudAiplatformV1RagEmbeddingModelConfig", +"properties": { +"vertexPredictionEndpoint": { +"$ref": "GoogleCloudAiplatformV1RagEmbeddingModelConfigVertexPredictionEndpoint", +"description": "The Vertex AI Prediction Endpoint that either refers to a publisher model or an endpoint that is hosting a 1P fine-tuned text embedding model. Endpoints hosting non-1P fine-tuned text embedding models are currently not supported. This is used for dense vector search." +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1RagEmbeddingModelConfigVertexPredictionEndpoint": { +"description": "Config representing a model hosted on Vertex Prediction Endpoint.", +"id": "GoogleCloudAiplatformV1RagEmbeddingModelConfigVertexPredictionEndpoint", +"properties": { +"endpoint": { +"description": "Required. The endpoint resource name. Format: `projects/{project}/locations/{location}/publishers/{publisher}/models/{model}` or `projects/{project}/locations/{location}/endpoints/{endpoint}`", +"type": "string" +}, +"model": { +"description": "Output only. The resource name of the model that is deployed on the endpoint. Present only when the endpoint is not a publisher model. Pattern: `projects/{project}/locations/{location}/models/{model}`", +"readOnly": true, +"type": "string" +}, +"modelVersionId": { +"description": "Output only. Version ID of the model that is deployed on the endpoint. Present only when the endpoint is not a publisher model.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1RagEngineConfig": { +"description": "Config for RagEngine.", +"id": "GoogleCloudAiplatformV1RagEngineConfig", +"properties": { +"name": { +"description": "Identifier. The name of the RagEngineConfig. Format: `projects/{project}/locations/{location}/ragEngineConfig`", +"type": "string" +}, +"ragManagedDbConfig": { +"$ref": "GoogleCloudAiplatformV1RagManagedDbConfig", +"description": "The config of the RagManagedDb used by RagEngine." +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1RagFile": { +"description": "A RagFile contains user data for chunking, embedding and indexing.", +"id": "GoogleCloudAiplatformV1RagFile", +"properties": { +"createTime": { +"description": "Output only. Timestamp when this RagFile was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"description": { +"description": "Optional. The description of the RagFile.", +"type": "string" +}, +"directUploadSource": { +"$ref": "GoogleCloudAiplatformV1DirectUploadSource", +"description": "Output only. The RagFile is encapsulated and uploaded in the UploadRagFile request.", +"readOnly": true +}, +"displayName": { +"description": "Required. The display name of the RagFile. The name can be up to 128 characters long and can consist of any UTF-8 characters.", +"type": "string" +}, +"fileStatus": { +"$ref": "GoogleCloudAiplatformV1FileStatus", +"description": "Output only. State of the RagFile.", +"readOnly": true +}, +"gcsSource": { +"$ref": "GoogleCloudAiplatformV1GcsSource", +"description": "Output only. Google Cloud Storage location of the RagFile. It does not support wildcards in the Cloud Storage uri for now.", +"readOnly": true +}, +"googleDriveSource": { +"$ref": "GoogleCloudAiplatformV1GoogleDriveSource", +"description": "Output only. Google Drive location. Supports importing individual files as well as Google Drive folders.", +"readOnly": true +}, +"jiraSource": { +"$ref": "GoogleCloudAiplatformV1JiraSource", +"description": "The RagFile is imported from a Jira query." +}, +"name": { +"description": "Output only. The resource name of the RagFile.", +"readOnly": true, +"type": "string" +}, +"sharePointSources": { +"$ref": "GoogleCloudAiplatformV1SharePointSources", +"description": "The RagFile is imported from a SharePoint source." +}, +"slackSource": { +"$ref": "GoogleCloudAiplatformV1SlackSource", +"description": "The RagFile is imported from a Slack channel." +}, +"updateTime": { +"description": "Output only. Timestamp when this RagFile was last updated.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"userMetadata": { +"description": "Output only. The metadata for metadata search. The user_metadata Needs to be in JSON format.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1RagFileChunkingConfig": { +"description": "Specifies the size and overlap of chunks for RagFiles.", +"id": "GoogleCloudAiplatformV1RagFileChunkingConfig", +"properties": { +"fixedLengthChunking": { +"$ref": "GoogleCloudAiplatformV1RagFileChunkingConfigFixedLengthChunking", +"description": "Specifies the fixed length chunking config." +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1RagFileChunkingConfigFixedLengthChunking": { +"description": "Specifies the fixed length chunking config.", +"id": "GoogleCloudAiplatformV1RagFileChunkingConfigFixedLengthChunking", +"properties": { +"chunkOverlap": { +"description": "The overlap between chunks.", +"format": "int32", +"type": "integer" +}, +"chunkSize": { +"description": "The size of the chunks.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1RagFileParsingConfig": { +"description": "Specifies the parsing config for RagFiles.", +"id": "GoogleCloudAiplatformV1RagFileParsingConfig", +"properties": { +"layoutParser": { +"$ref": "GoogleCloudAiplatformV1RagFileParsingConfigLayoutParser", +"description": "The Layout Parser to use for RagFiles." +}, +"llmParser": { +"$ref": "GoogleCloudAiplatformV1RagFileParsingConfigLlmParser", +"description": "The LLM Parser to use for RagFiles." +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1RagFileParsingConfigLayoutParser": { +"description": "Document AI Layout Parser config.", +"id": "GoogleCloudAiplatformV1RagFileParsingConfigLayoutParser", +"properties": { +"maxParsingRequestsPerMin": { +"description": "The maximum number of requests the job is allowed to make to the Document AI processor per minute. Consult https://cloud.google.com/document-ai/quotas and the Quota page for your project to set an appropriate value here. If unspecified, a default value of 120 QPM would be used.", +"format": "int32", +"type": "integer" +}, +"processorName": { +"description": "The full resource name of a Document AI processor or processor version. The processor must have type `LAYOUT_PARSER_PROCESSOR`. If specified, the `additional_config.parse_as_scanned_pdf` field must be false. Format: * `projects/{project_id}/locations/{location}/processors/{processor_id}` * `projects/{project_id}/locations/{location}/processors/{processor_id}/processorVersions/{processor_version_id}`", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1RagFileParsingConfigLlmParser": { +"description": "Specifies the LLM parsing for RagFiles.", +"id": "GoogleCloudAiplatformV1RagFileParsingConfigLlmParser", +"properties": { +"customParsingPrompt": { +"description": "The prompt to use for parsing. If not specified, a default prompt will be used.", +"type": "string" +}, +"maxParsingRequestsPerMin": { +"description": "The maximum number of requests the job is allowed to make to the LLM model per minute. Consult https://cloud.google.com/vertex-ai/generative-ai/docs/quotas and your document size to set an appropriate value here. If unspecified, a default value of 5000 QPM would be used.", +"format": "int32", +"type": "integer" +}, +"modelName": { +"description": "The name of a LLM model used for parsing. Format: * `projects/{project_id}/locations/{location}/publishers/{publisher}/models/{model}`", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1RagFileTransformationConfig": { +"description": "Specifies the transformation config for RagFiles.", +"id": "GoogleCloudAiplatformV1RagFileTransformationConfig", +"properties": { +"ragFileChunkingConfig": { +"$ref": "GoogleCloudAiplatformV1RagFileChunkingConfig", +"description": "Specifies the chunking config for RagFiles." +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1RagManagedDbConfig": { +"description": "Configuration message for RagManagedDb used by RagEngine.", +"id": "GoogleCloudAiplatformV1RagManagedDbConfig", +"properties": { +"basic": { +"$ref": "GoogleCloudAiplatformV1RagManagedDbConfigBasic", +"deprecated": true, +"description": "Deprecated: Use `mode` instead to set the tier under Spanner. Sets the RagManagedDb to the Basic tier." +}, +"scaled": { +"$ref": "GoogleCloudAiplatformV1RagManagedDbConfigScaled", +"deprecated": true, +"description": "Deprecated: Use `mode` instead to set the tier under Spanner. Sets the RagManagedDb to the Scaled tier." +}, +"serverless": { +"$ref": "GoogleCloudAiplatformV1RagManagedDbConfigServerless", +"description": "Sets the backend to be the serverless mode offered by RAG Engine." +}, +"spanner": { +"$ref": "GoogleCloudAiplatformV1RagManagedDbConfigSpanner", +"description": "Sets the RAG Engine backend to be RagManagedDb, built on top of Spanner. NOTE: This is the default mode (w/ Basic Tier) if not explicitly chosen." +}, +"unprovisioned": { +"$ref": "GoogleCloudAiplatformV1RagManagedDbConfigUnprovisioned", +"deprecated": true, +"description": "Deprecated: Use `mode` instead to set the tier under Spanner. Sets the RagManagedDb to the Unprovisioned tier." +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1RagManagedDbConfigBasic": { +"description": "Basic tier is a cost-effective and low compute tier suitable for the following cases: * Experimenting with RagManagedDb. * Small data size. * Latency insensitive workload. * Only using RAG Engine with external vector DBs. NOTE: This is the default tier under Spanner mode if not explicitly chosen.", +"id": "GoogleCloudAiplatformV1RagManagedDbConfigBasic", +"properties": {}, +"type": "object" +}, +"GoogleCloudAiplatformV1RagManagedDbConfigScaled": { +"description": "Scaled tier offers production grade performance along with autoscaling functionality. It is suitable for customers with large amounts of data or performance sensitive workloads.", +"id": "GoogleCloudAiplatformV1RagManagedDbConfigScaled", +"properties": {}, +"type": "object" +}, +"GoogleCloudAiplatformV1RagManagedDbConfigServerless": { +"description": "Message to configure the serverless mode offered by RAG Engine.", +"id": "GoogleCloudAiplatformV1RagManagedDbConfigServerless", +"properties": {}, +"type": "object" +}, +"GoogleCloudAiplatformV1RagManagedDbConfigSpanner": { +"description": "Message to configure the Spanner database used by RagManagedDb.", +"id": "GoogleCloudAiplatformV1RagManagedDbConfigSpanner", +"properties": { +"basic": { +"$ref": "GoogleCloudAiplatformV1RagManagedDbConfigBasic", +"description": "Sets the RagManagedDb to the Basic tier. This is the default tier for Spanner mode if not explicitly chosen." +}, +"scaled": { +"$ref": "GoogleCloudAiplatformV1RagManagedDbConfigScaled", +"description": "Sets the RagManagedDb to the Scaled tier." +}, +"unprovisioned": { +"$ref": "GoogleCloudAiplatformV1RagManagedDbConfigUnprovisioned", +"description": "Sets the RagManagedDb to the Unprovisioned tier." +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1RagManagedDbConfigUnprovisioned": { +"description": "Disables the RAG Engine service and deletes all your data held within this service. This will halt the billing of the service. NOTE: Once deleted the data cannot be recovered. To start using RAG Engine again, you will need to update the tier by calling the UpdateRagEngineConfig API.", +"id": "GoogleCloudAiplatformV1RagManagedDbConfigUnprovisioned", +"properties": {}, +"type": "object" +}, +"GoogleCloudAiplatformV1RagQuery": { +"description": "A query to retrieve relevant contexts.", +"id": "GoogleCloudAiplatformV1RagQuery", +"properties": { +"ragRetrievalConfig": { +"$ref": "GoogleCloudAiplatformV1RagRetrievalConfig", +"description": "Optional. The retrieval config for the query." +}, +"text": { +"description": "Optional. The query in text format to get relevant contexts.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1RagRetrievalConfig": { +"description": "Specifies the context retrieval config.", +"id": "GoogleCloudAiplatformV1RagRetrievalConfig", +"properties": { +"filter": { +"$ref": "GoogleCloudAiplatformV1RagRetrievalConfigFilter", +"description": "Optional. Config for filters." +}, +"ranking": { +"$ref": "GoogleCloudAiplatformV1RagRetrievalConfigRanking", +"description": "Optional. Config for ranking and reranking." +}, +"topK": { +"description": "Optional. The number of contexts to retrieve.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1RagRetrievalConfigFilter": { +"description": "Config for filters.", +"id": "GoogleCloudAiplatformV1RagRetrievalConfigFilter", +"properties": { +"metadataFilter": { +"description": "Optional. String for metadata filtering.", +"type": "string" +}, +"vectorDistanceThreshold": { +"description": "Optional. Only returns contexts with vector distance smaller than the threshold.", +"format": "double", +"type": "number" +}, +"vectorSimilarityThreshold": { +"description": "Optional. Only returns contexts with vector similarity larger than the threshold.", +"format": "double", +"type": "number" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1RagRetrievalConfigRanking": { +"description": "Config for ranking and reranking.", +"id": "GoogleCloudAiplatformV1RagRetrievalConfigRanking", +"properties": { +"llmRanker": { +"$ref": "GoogleCloudAiplatformV1RagRetrievalConfigRankingLlmRanker", +"description": "Optional. Config for LlmRanker." +}, +"rankService": { +"$ref": "GoogleCloudAiplatformV1RagRetrievalConfigRankingRankService", +"description": "Optional. Config for Rank Service." +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1RagRetrievalConfigRankingLlmRanker": { +"description": "Config for LlmRanker.", +"id": "GoogleCloudAiplatformV1RagRetrievalConfigRankingLlmRanker", +"properties": { +"modelName": { +"description": "Optional. The model name used for ranking. See [Supported models](https://cloud.google.com/vertex-ai/generative-ai/docs/model-reference/inference#supported-models).", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1RagRetrievalConfigRankingRankService": { +"description": "Config for Rank Service.", +"id": "GoogleCloudAiplatformV1RagRetrievalConfigRankingRankService", +"properties": { +"modelName": { +"description": "Optional. The model name of the rank service. Format: `semantic-ranker-512@latest`", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1RagVectorDbConfig": { +"description": "Config for the Vector DB to use for RAG.", +"id": "GoogleCloudAiplatformV1RagVectorDbConfig", +"properties": { +"apiAuth": { +"$ref": "GoogleCloudAiplatformV1ApiAuth", +"description": "Authentication config for the chosen Vector DB." +}, +"pinecone": { +"$ref": "GoogleCloudAiplatformV1RagVectorDbConfigPinecone", +"description": "The config for the Pinecone." +}, +"ragEmbeddingModelConfig": { +"$ref": "GoogleCloudAiplatformV1RagEmbeddingModelConfig", +"description": "Optional. Immutable. The embedding model config of the Vector DB." +}, +"ragManagedDb": { +"$ref": "GoogleCloudAiplatformV1RagVectorDbConfigRagManagedDb", +"description": "The config for the RAG-managed Vector DB." +}, +"vertexVectorSearch": { +"$ref": "GoogleCloudAiplatformV1RagVectorDbConfigVertexVectorSearch", +"description": "The config for the Vertex Vector Search." +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1RagVectorDbConfigPinecone": { +"description": "The config for the Pinecone.", +"id": "GoogleCloudAiplatformV1RagVectorDbConfigPinecone", +"properties": { +"indexName": { +"description": "Pinecone index name. This value cannot be changed after it's set.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1RagVectorDbConfigRagManagedDb": { +"description": "The config for the default RAG-managed Vector DB.", +"id": "GoogleCloudAiplatformV1RagVectorDbConfigRagManagedDb", +"properties": { +"ann": { +"$ref": "GoogleCloudAiplatformV1RagVectorDbConfigRagManagedDbANN", +"description": "Performs an ANN search on RagCorpus. Use this if you have a lot of files (> 10K) in your RagCorpus and want to reduce the search latency." +}, +"knn": { +"$ref": "GoogleCloudAiplatformV1RagVectorDbConfigRagManagedDbKNN", +"description": "Performs a KNN search on RagCorpus. Default choice if not specified." +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1RagVectorDbConfigRagManagedDbANN": { +"description": "Config for ANN search. RagManagedDb uses a tree-based structure to partition data and facilitate faster searches. As a tradeoff, it requires longer indexing time and manual triggering of index rebuild via the ImportRagFiles and UpdateRagCorpus API.", +"id": "GoogleCloudAiplatformV1RagVectorDbConfigRagManagedDbANN", +"properties": { +"leafCount": { +"description": "Number of leaf nodes in the tree-based structure. Each leaf node contains groups of closely related vectors along with their corresponding centroid. Recommended value is 10 * sqrt(num of RagFiles in your RagCorpus). Default value is 500.", +"format": "int32", +"type": "integer" +}, +"treeDepth": { +"description": "The depth of the tree-based structure. Only depth values of 2 and 3 are supported. Recommended value is 2 if you have if you have O(10K) files in the RagCorpus and set this to 3 if more than that. Default value is 2.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1RagVectorDbConfigRagManagedDbKNN": { +"description": "Config for KNN search.", +"id": "GoogleCloudAiplatformV1RagVectorDbConfigRagManagedDbKNN", +"properties": {}, +"type": "object" +}, +"GoogleCloudAiplatformV1RagVectorDbConfigVertexVectorSearch": { +"description": "The config for the Vertex Vector Search.", +"id": "GoogleCloudAiplatformV1RagVectorDbConfigVertexVectorSearch", +"properties": { +"index": { +"description": "The resource name of the Index. Format: `projects/{project}/locations/{location}/indexes/{index}`", +"type": "string" +}, +"indexEndpoint": { +"description": "The resource name of the Index Endpoint. Format: `projects/{project}/locations/{location}/indexEndpoints/{index_endpoint}`", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1RawOutput": { +"description": "Raw output.", +"id": "GoogleCloudAiplatformV1RawOutput", +"properties": { +"rawOutput": { +"description": "Output only. Raw output string.", +"items": { +"type": "string" +}, +"readOnly": true, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1RawPredictRequest": { +"description": "Request message for PredictionService.RawPredict.", +"id": "GoogleCloudAiplatformV1RawPredictRequest", +"properties": { +"httpBody": { +"$ref": "GoogleApiHttpBody", +"description": "The prediction input. Supports HTTP headers and arbitrary data payload. A DeployedModel may have an upper limit on the number of instances it supports per request. When this limit it is exceeded for an AutoML model, the RawPredict method returns an error. When this limit is exceeded for a custom-trained model, the behavior varies depending on the model. You can specify the schema for each instance in the predict_schemata.instance_schema_uri field when you create a Model. This schema applies when you deploy the `Model` as a `DeployedModel` to an Endpoint and use the `RawPredict` method." +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1RayLogsSpec": { +"description": "Configuration for the Ray OSS Logs.", +"id": "GoogleCloudAiplatformV1RayLogsSpec", +"properties": { +"disabled": { +"description": "Optional. Flag to disable the export of Ray OSS logs to Cloud Logging.", +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1RayMetricSpec": { +"description": "Configuration for the Ray metrics.", +"id": "GoogleCloudAiplatformV1RayMetricSpec", +"properties": { +"disabled": { +"description": "Optional. Flag to disable the Ray metrics collection.", +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1RaySpec": { +"description": "Configuration information for the Ray cluster. For experimental launch, Ray cluster creation and Persistent cluster creation are 1:1 mapping: We will provision all the nodes within the Persistent cluster as Ray nodes.", +"id": "GoogleCloudAiplatformV1RaySpec", +"properties": { +"headNodeResourcePoolId": { +"description": "Optional. This will be used to indicate which resource pool will serve as the Ray head node(the first node within that pool). Will use the machine from the first workerpool as the head node by default if this field isn't set.", +"type": "string" +}, +"imageUri": { +"description": "Optional. Default image for user to choose a preferred ML framework (for example, TensorFlow or Pytorch) by choosing from [Vertex prebuilt images](https://cloud.google.com/vertex-ai/docs/training/pre-built-containers). Either this or the resource_pool_images is required. Use this field if you need all the resource pools to have the same Ray image. Otherwise, use the {@code resource_pool_images} field.", +"type": "string" +}, +"rayLogsSpec": { +"$ref": "GoogleCloudAiplatformV1RayLogsSpec", +"description": "Optional. OSS Ray logging configurations." +}, +"rayMetricSpec": { +"$ref": "GoogleCloudAiplatformV1RayMetricSpec", +"description": "Optional. Ray metrics configurations." +}, +"resourcePoolImages": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. Required if image_uri isn't set. A map of resource_pool_id to prebuild Ray image if user need to use different images for different head/worker pools. This map needs to cover all the resource pool ids. Example: { \"ray_head_node_pool\": \"head image\" \"ray_worker_node_pool1\": \"worker image\" \"ray_worker_node_pool2\": \"another worker image\" }", +"type": "object" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1ReadFeatureValuesRequest": { +"description": "Request message for FeaturestoreOnlineServingService.ReadFeatureValues.", +"id": "GoogleCloudAiplatformV1ReadFeatureValuesRequest", +"properties": { +"entityId": { +"description": "Required. ID for a specific entity. For example, for a machine learning model predicting user clicks on a website, an entity ID could be `user_123`.", +"type": "string" +}, +"featureSelector": { +"$ref": "GoogleCloudAiplatformV1FeatureSelector", +"description": "Required. Selector choosing Features of the target EntityType." +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1ReadFeatureValuesResponse": { +"description": "Response message for FeaturestoreOnlineServingService.ReadFeatureValues.", +"id": "GoogleCloudAiplatformV1ReadFeatureValuesResponse", +"properties": { +"entityView": { +"$ref": "GoogleCloudAiplatformV1ReadFeatureValuesResponseEntityView", +"description": "Entity view with Feature values. This may be the entity in the Featurestore if values for all Features were requested, or a projection of the entity in the Featurestore if values for only some Features were requested." +}, +"header": { +"$ref": "GoogleCloudAiplatformV1ReadFeatureValuesResponseHeader", +"description": "Response header." +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1ReadFeatureValuesResponseEntityView": { +"description": "Entity view with Feature values.", +"id": "GoogleCloudAiplatformV1ReadFeatureValuesResponseEntityView", +"properties": { +"data": { +"description": "Each piece of data holds the k requested values for one requested Feature. If no values for the requested Feature exist, the corresponding cell will be empty. This has the same size and is in the same order as the features from the header ReadFeatureValuesResponse.header.", +"items": { +"$ref": "GoogleCloudAiplatformV1ReadFeatureValuesResponseEntityViewData" +}, +"type": "array" +}, +"entityId": { +"description": "ID of the requested entity.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1ReadFeatureValuesResponseEntityViewData": { +"description": "Container to hold value(s), successive in time, for one Feature from the request.", +"id": "GoogleCloudAiplatformV1ReadFeatureValuesResponseEntityViewData", +"properties": { +"value": { +"$ref": "GoogleCloudAiplatformV1FeatureValue", +"description": "Feature value if a single value is requested." +}, +"values": { +"$ref": "GoogleCloudAiplatformV1FeatureValueList", +"description": "Feature values list if values, successive in time, are requested. If the requested number of values is greater than the number of existing Feature values, nonexistent values are omitted instead of being returned as empty." +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1ReadFeatureValuesResponseFeatureDescriptor": { +"description": "Metadata for requested Features.", +"id": "GoogleCloudAiplatformV1ReadFeatureValuesResponseFeatureDescriptor", +"properties": { +"id": { +"description": "Feature ID.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1ReadFeatureValuesResponseHeader": { +"description": "Response header with metadata for the requested ReadFeatureValuesRequest.entity_type and Features.", +"id": "GoogleCloudAiplatformV1ReadFeatureValuesResponseHeader", +"properties": { +"entityType": { +"description": "The resource name of the EntityType from the ReadFeatureValuesRequest. Value format: `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entityType}`.", +"type": "string" +}, +"featureDescriptors": { +"description": "List of Feature metadata corresponding to each piece of ReadFeatureValuesResponse.EntityView.data.", +"items": { +"$ref": "GoogleCloudAiplatformV1ReadFeatureValuesResponseFeatureDescriptor" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1ReadIndexDatapointsRequest": { +"description": "The request message for MatchService.ReadIndexDatapoints.", +"id": "GoogleCloudAiplatformV1ReadIndexDatapointsRequest", +"properties": { +"deployedIndexId": { +"description": "The ID of the DeployedIndex that will serve the request.", +"type": "string" +}, +"ids": { +"description": "IDs of the datapoints to be searched for.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1ReadIndexDatapointsResponse": { +"description": "The response message for MatchService.ReadIndexDatapoints.", +"id": "GoogleCloudAiplatformV1ReadIndexDatapointsResponse", +"properties": { +"datapoints": { +"description": "The result list of datapoints.", +"items": { +"$ref": "GoogleCloudAiplatformV1IndexDatapoint" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1ReadTensorboardBlobDataResponse": { +"description": "Response message for TensorboardService.ReadTensorboardBlobData.", +"id": "GoogleCloudAiplatformV1ReadTensorboardBlobDataResponse", +"properties": { +"blobs": { +"description": "Blob messages containing blob bytes.", +"items": { +"$ref": "GoogleCloudAiplatformV1TensorboardBlob" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1ReadTensorboardSizeResponse": { +"description": "Response message for TensorboardService.ReadTensorboardSize.", +"id": "GoogleCloudAiplatformV1ReadTensorboardSizeResponse", +"properties": { +"storageSizeByte": { +"description": "Payload storage size for the TensorBoard", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1ReadTensorboardTimeSeriesDataResponse": { +"description": "Response message for TensorboardService.ReadTensorboardTimeSeriesData.", +"id": "GoogleCloudAiplatformV1ReadTensorboardTimeSeriesDataResponse", +"properties": { +"timeSeriesData": { +"$ref": "GoogleCloudAiplatformV1TimeSeriesData", +"description": "The returned time series data." +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1ReadTensorboardUsageResponse": { +"description": "Response message for TensorboardService.ReadTensorboardUsage.", +"id": "GoogleCloudAiplatformV1ReadTensorboardUsageResponse", +"properties": { +"monthlyUsageData": { +"additionalProperties": { +"$ref": "GoogleCloudAiplatformV1ReadTensorboardUsageResponsePerMonthUsageData" +}, +"description": "Maps year-month (YYYYMM) string to per month usage data.", +"type": "object" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1ReadTensorboardUsageResponsePerMonthUsageData": { +"description": "Per month usage data", +"id": "GoogleCloudAiplatformV1ReadTensorboardUsageResponsePerMonthUsageData", +"properties": { +"userUsageData": { +"description": "Usage data for each user in the given month.", +"items": { +"$ref": "GoogleCloudAiplatformV1ReadTensorboardUsageResponsePerUserUsageData" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1ReadTensorboardUsageResponsePerUserUsageData": { +"description": "Per user usage data.", +"id": "GoogleCloudAiplatformV1ReadTensorboardUsageResponsePerUserUsageData", +"properties": { +"username": { +"description": "User's username", +"type": "string" +}, +"viewCount": { +"description": "Number of times the user has read data within the Tensorboard.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1ReasoningEngine": { +"description": "ReasoningEngine provides a customizable runtime for models to determine which actions to take and in which order.", +"id": "GoogleCloudAiplatformV1ReasoningEngine", +"properties": { +"contextSpec": { +"$ref": "GoogleCloudAiplatformV1ReasoningEngineContextSpec", +"description": "Optional. Configuration for how Agent Engine sub-resources should manage context." +}, +"createTime": { +"description": "Output only. Timestamp when this ReasoningEngine was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"description": { +"description": "Optional. The description of the ReasoningEngine.", +"type": "string" +}, +"displayName": { +"description": "Required. The display name of the ReasoningEngine.", +"type": "string" +}, +"encryptionSpec": { +"$ref": "GoogleCloudAiplatformV1EncryptionSpec", +"description": "Customer-managed encryption key spec for a ReasoningEngine. If set, this ReasoningEngine and all sub-resources of this ReasoningEngine will be secured by this key." +}, +"etag": { +"description": "Optional. Used to perform consistent read-modify-write updates. If not set, a blind \"overwrite\" update happens.", +"type": "string" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Labels for the ReasoningEngine.", +"type": "object" +}, +"name": { +"description": "Identifier. The resource name of the ReasoningEngine. Format: `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}`", +"type": "string" +}, +"spec": { +"$ref": "GoogleCloudAiplatformV1ReasoningEngineSpec", +"description": "Optional. Configurations of the ReasoningEngine" +}, +"updateTime": { +"description": "Output only. Timestamp when this ReasoningEngine was most recently updated.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1ReasoningEngineContextSpec": { +"description": "Configuration for how Agent Engine sub-resources should manage context.", +"id": "GoogleCloudAiplatformV1ReasoningEngineContextSpec", +"properties": { +"memoryBankConfig": { +"$ref": "GoogleCloudAiplatformV1ReasoningEngineContextSpecMemoryBankConfig", +"description": "Optional. Specification for a Memory Bank, which manages memories for the Agent Engine." +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1ReasoningEngineContextSpecMemoryBankConfig": { +"description": "Specification for a Memory Bank.", +"id": "GoogleCloudAiplatformV1ReasoningEngineContextSpecMemoryBankConfig", +"properties": { +"customizationConfigs": { +"description": "Optional. Configuration for how to customize Memory Bank behavior for a particular scope.", +"items": { +"$ref": "GoogleCloudAiplatformV1MemoryBankCustomizationConfig" +}, +"type": "array" +}, +"disableMemoryRevisions": { +"description": "If true, no memory revisions will be created for any requests to the Memory Bank.", +"type": "boolean" +}, +"generationConfig": { +"$ref": "GoogleCloudAiplatformV1ReasoningEngineContextSpecMemoryBankConfigGenerationConfig", +"description": "Optional. Configuration for how to generate memories for the Memory Bank." +}, +"similaritySearchConfig": { +"$ref": "GoogleCloudAiplatformV1ReasoningEngineContextSpecMemoryBankConfigSimilaritySearchConfig", +"description": "Optional. Configuration for how to perform similarity search on memories. If not set, the Memory Bank will use the default embedding model `text-embedding-005`." +}, +"ttlConfig": { +"$ref": "GoogleCloudAiplatformV1ReasoningEngineContextSpecMemoryBankConfigTtlConfig", +"description": "Optional. Configuration for automatic TTL (\"time-to-live\") of the memories in the Memory Bank. If not set, TTL will not be applied automatically. The TTL can be explicitly set by modifying the `expire_time` of each Memory resource." +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1ReasoningEngineContextSpecMemoryBankConfigGenerationConfig": { +"description": "Configuration for how to generate memories.", +"id": "GoogleCloudAiplatformV1ReasoningEngineContextSpecMemoryBankConfigGenerationConfig", +"properties": { +"model": { +"description": "Required. The model used to generate memories. Format: `projects/{project}/locations/{location}/publishers/google/models/{model}`.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1ReasoningEngineContextSpecMemoryBankConfigSimilaritySearchConfig": { +"description": "Configuration for how to perform similarity search on memories.", +"id": "GoogleCloudAiplatformV1ReasoningEngineContextSpecMemoryBankConfigSimilaritySearchConfig", +"properties": { +"embeddingModel": { +"description": "Required. The model used to generate embeddings to lookup similar memories. Format: `projects/{project}/locations/{location}/publishers/google/models/{model}`.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1ReasoningEngineContextSpecMemoryBankConfigTtlConfig": { +"description": "Configuration for automatically setting the TTL (\"time-to-live\") of the memories in the Memory Bank.", +"id": "GoogleCloudAiplatformV1ReasoningEngineContextSpecMemoryBankConfigTtlConfig", +"properties": { +"defaultTtl": { +"description": "Optional. The default TTL duration of the memories in the Memory Bank. This applies to all operations that create or update a memory.", +"format": "google-duration", +"type": "string" +}, +"granularTtlConfig": { +"$ref": "GoogleCloudAiplatformV1ReasoningEngineContextSpecMemoryBankConfigTtlConfigGranularTtlConfig", +"description": "Optional. The granular TTL configuration of the memories in the Memory Bank." +}, +"memoryRevisionDefaultTtl": { +"description": "Optional. The default TTL duration of the memory revisions in the Memory Bank. This applies to all operations that create a memory revision. If not set, a default TTL of 365 days will be used.", +"format": "google-duration", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1ReasoningEngineContextSpecMemoryBankConfigTtlConfigGranularTtlConfig": { +"description": "Configuration for TTL of the memories in the Memory Bank based on the action that created or updated the memory.", +"id": "GoogleCloudAiplatformV1ReasoningEngineContextSpecMemoryBankConfigTtlConfigGranularTtlConfig", +"properties": { +"createTtl": { +"description": "Optional. The TTL duration for memories uploaded via CreateMemory.", +"format": "google-duration", +"type": "string" +}, +"generateCreatedTtl": { +"description": "Optional. The TTL duration for memories newly generated via GenerateMemories (GenerateMemoriesResponse.GeneratedMemory.Action.CREATED).", +"format": "google-duration", +"type": "string" +}, +"generateUpdatedTtl": { +"description": "Optional. The TTL duration for memories updated via GenerateMemories (GenerateMemoriesResponse.GeneratedMemory.Action.UPDATED). In the case of an UPDATE action, the `expire_time` of the existing memory will be updated to the new value (now + TTL).", +"format": "google-duration", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1ReasoningEngineSpec": { +"description": "ReasoningEngine configurations", +"id": "GoogleCloudAiplatformV1ReasoningEngineSpec", +"properties": { +"agentFramework": { +"description": "Optional. The OSS agent framework used to develop the agent. Currently supported values: \"google-adk\", \"langchain\", \"langgraph\", \"ag2\", \"llama-index\", \"custom\".", +"type": "string" +}, +"classMethods": { +"description": "Optional. Declarations for object class methods in OpenAPI specification format.", +"items": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"type": "object" +}, +"type": "array" +}, +"deploymentSpec": { +"$ref": "GoogleCloudAiplatformV1ReasoningEngineSpecDeploymentSpec", +"description": "Optional. The specification of a Reasoning Engine deployment." +}, +"effectiveIdentity": { +"description": "Output only. The identity to use for the Reasoning Engine. It can contain one of the following values: * service-{project}@gcp-sa-aiplatform-re.googleapis.com (for SERVICE_AGENT identity type) * {name}@{project}.gserviceaccount.com (for SERVICE_ACCOUNT identity type) * agents.global.{org}.system.id.goog/resources/aiplatform/projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine} (for AGENT_IDENTITY identity type)", +"readOnly": true, +"type": "string" +}, +"identityType": { +"description": "Optional. The identity type to use for the Reasoning Engine. If not specified, the `service_account` field will be used if set, otherwise the default Vertex AI Reasoning Engine Service Agent in the project will be used.", +"enum": [ +"IDENTITY_TYPE_UNSPECIFIED", +"SERVICE_ACCOUNT", +"AGENT_IDENTITY" +], +"enumDescriptions": [ +"Default value. Use a custom service account if the `service_account` field is set, otherwise use the default Vertex AI Reasoning Engine Service Agent in the project. Same behavior as SERVICE_ACCOUNT.", +"Use a custom service account if the `service_account` field is set, otherwise use the default Vertex AI Reasoning Engine Service Agent in the project.", +"Use Agent Identity. The `service_account` field must not be set." +], +"type": "string" +}, +"packageSpec": { +"$ref": "GoogleCloudAiplatformV1ReasoningEngineSpecPackageSpec", +"description": "Optional. User provided package spec of the ReasoningEngine. Ignored when users directly specify a deployment image through `deployment_spec.first_party_image_override`, but keeping the field_behavior to avoid introducing breaking changes. The `deployment_source` field should not be set if `package_spec` is specified." +}, +"serviceAccount": { +"description": "Optional. The service account that the Reasoning Engine artifact runs as. It should have \"roles/storage.objectViewer\" for reading the user project's Cloud Storage and \"roles/aiplatform.user\" for using Vertex extensions. If not specified, the Vertex AI Reasoning Engine Service Agent in the project will be used.", +"type": "string" +}, +"sourceCodeSpec": { +"$ref": "GoogleCloudAiplatformV1ReasoningEngineSpecSourceCodeSpec", +"description": "Deploy from source code files with a defined entrypoint." +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1ReasoningEngineSpecDeploymentSpec": { +"description": "The specification of a Reasoning Engine deployment.", +"id": "GoogleCloudAiplatformV1ReasoningEngineSpecDeploymentSpec", +"properties": { +"containerConcurrency": { +"description": "Optional. Concurrency for each container and agent server. Recommended value: 2 * cpu + 1. Defaults to 9.", +"format": "int32", +"type": "integer" +}, +"env": { +"description": "Optional. Environment variables to be set with the Reasoning Engine deployment. The environment variables can be updated through the UpdateReasoningEngine API.", +"items": { +"$ref": "GoogleCloudAiplatformV1EnvVar" +}, +"type": "array" +}, +"maxInstances": { +"description": "Optional. The maximum number of application instances that can be launched to handle increased traffic. Defaults to 100. Range: [1, 1000]. If VPC-SC or PSC-I is enabled, the acceptable range is [1, 100].", +"format": "int32", +"type": "integer" +}, +"minInstances": { +"description": "Optional. The minimum number of application instances that will be kept running at all times. Defaults to 1. Range: [0, 10].", +"format": "int32", +"type": "integer" +}, +"pscInterfaceConfig": { +"$ref": "GoogleCloudAiplatformV1PscInterfaceConfig", +"description": "Optional. Configuration for PSC-I." +}, +"resourceLimits": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. Resource limits for each container. Only 'cpu' and 'memory' keys are supported. Defaults to {\"cpu\": \"4\", \"memory\": \"4Gi\"}. * The only supported values for CPU are '1', '2', '4', '6' and '8'. For more information, go to https://cloud.google.com/run/docs/configuring/cpu. * The only supported values for memory are '1Gi', '2Gi', ... '32 Gi'. * For required cpu on different memory values, go to https://cloud.google.com/run/docs/configuring/memory-limits", +"type": "object" +}, +"secretEnv": { +"description": "Optional. Environment variables where the value is a secret in Cloud Secret Manager. To use this feature, add 'Secret Manager Secret Accessor' role (roles/secretmanager.secretAccessor) to AI Platform Reasoning Engine Service Agent.", +"items": { +"$ref": "GoogleCloudAiplatformV1SecretEnvVar" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1ReasoningEngineSpecPackageSpec": { +"description": "User-provided package specification, containing pickled object and package requirements.", +"id": "GoogleCloudAiplatformV1ReasoningEngineSpecPackageSpec", +"properties": { +"dependencyFilesGcsUri": { +"description": "Optional. The Cloud Storage URI of the dependency files in tar.gz format.", +"type": "string" +}, +"pickleObjectGcsUri": { +"description": "Optional. The Cloud Storage URI of the pickled python object.", +"type": "string" +}, +"pythonVersion": { +"description": "Optional. The Python version. Supported values are 3.9, 3.10, 3.11, 3.12, 3.13, 3.14. If not specified, the default value is 3.10.", +"type": "string" +}, +"requirementsGcsUri": { +"description": "Optional. The Cloud Storage URI of the `requirements.txt` file", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1ReasoningEngineSpecSourceCodeSpec": { +"description": "Specification for deploying from source code.", +"id": "GoogleCloudAiplatformV1ReasoningEngineSpecSourceCodeSpec", +"properties": { +"developerConnectSource": { +"$ref": "GoogleCloudAiplatformV1ReasoningEngineSpecSourceCodeSpecDeveloperConnectSource", +"description": "Source code is in a Git repository managed by Developer Connect." +}, +"imageSpec": { +"$ref": "GoogleCloudAiplatformV1ReasoningEngineSpecSourceCodeSpecImageSpec", +"description": "Optional. Configuration for building an image with custom config file." +}, +"inlineSource": { +"$ref": "GoogleCloudAiplatformV1ReasoningEngineSpecSourceCodeSpecInlineSource", +"description": "Source code is provided directly in the request." +}, +"pythonSpec": { +"$ref": "GoogleCloudAiplatformV1ReasoningEngineSpecSourceCodeSpecPythonSpec", +"description": "Configuration for a Python application." +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1ReasoningEngineSpecSourceCodeSpecDeveloperConnectConfig": { +"description": "Specifies the configuration for fetching source code from a Git repository that is managed by Developer Connect. This includes the repository, revision, and directory to use.", +"id": "GoogleCloudAiplatformV1ReasoningEngineSpecSourceCodeSpecDeveloperConnectConfig", +"properties": { +"dir": { +"description": "Required. Directory, relative to the source root, in which to run the build.", +"type": "string" +}, +"gitRepositoryLink": { +"description": "Required. The Developer Connect Git repository link, formatted as `projects/*/locations/*/connections/*/gitRepositoryLink/*`.", +"type": "string" +}, +"revision": { +"description": "Required. The revision to fetch from the Git repository such as a branch, a tag, a commit SHA, or any Git ref.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1ReasoningEngineSpecSourceCodeSpecDeveloperConnectSource": { +"description": "Specifies source code to be fetched from a Git repository managed through the Developer Connect service.", +"id": "GoogleCloudAiplatformV1ReasoningEngineSpecSourceCodeSpecDeveloperConnectSource", +"properties": { +"config": { +"$ref": "GoogleCloudAiplatformV1ReasoningEngineSpecSourceCodeSpecDeveloperConnectConfig", +"description": "Required. The Developer Connect configuration that defines the specific repository, revision, and directory to use as the source code root." +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1ReasoningEngineSpecSourceCodeSpecImageSpec": { +"description": "The image spec for building an image (within a single build step), based on the config file (i.e. Dockerfile) in the source directory.", +"id": "GoogleCloudAiplatformV1ReasoningEngineSpecSourceCodeSpecImageSpec", +"properties": { +"buildArgs": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. Build arguments to be used. They will be passed through --build-arg flags.", +"type": "object" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1ReasoningEngineSpecSourceCodeSpecInlineSource": { +"description": "Specifies source code provided as a byte stream.", +"id": "GoogleCloudAiplatformV1ReasoningEngineSpecSourceCodeSpecInlineSource", +"properties": { +"sourceArchive": { +"description": "Required. Input only. The application source code archive. It must be a compressed tarball (.tar.gz) file.", +"format": "byte", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1ReasoningEngineSpecSourceCodeSpecPythonSpec": { +"description": "Specification for running a Python application from source.", +"id": "GoogleCloudAiplatformV1ReasoningEngineSpecSourceCodeSpecPythonSpec", +"properties": { +"entrypointModule": { +"description": "Optional. The Python module to load as the entrypoint, specified as a fully qualified module name. For example: path.to.agent. If not specified, defaults to \"agent\". The project root will be added to Python sys.path, allowing imports to be specified relative to the root. This field should not be set if the source is `agent_config_source`.", +"type": "string" +}, +"entrypointObject": { +"description": "Optional. The name of the callable object within the `entrypoint_module` to use as the application If not specified, defaults to \"root_agent\". This field should not be set if the source is `agent_config_source`.", +"type": "string" +}, +"requirementsFile": { +"description": "Optional. The path to the requirements file, relative to the source root. If not specified, defaults to \"requirements.txt\".", +"type": "string" +}, +"version": { +"description": "Optional. The version of Python to use. Support version includes 3.9, 3.10, 3.11, 3.12, 3.13, 3.14. If not specified, default value is 3.10.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1RebaseTunedModelRequest": { +"description": "Request message for GenAiTuningService.RebaseTunedModel.", +"id": "GoogleCloudAiplatformV1RebaseTunedModelRequest", +"properties": { +"artifactDestination": { +"$ref": "GoogleCloudAiplatformV1GcsDestination", +"description": "Optional. The Google Cloud Storage location to write the artifacts to." +}, +"deployToSameEndpoint": { +"description": "Optional. By default, rebasing a model creates a new endpoint for the new model. If this flag is set to true, the new model will be deployed to the same endpoint as the original model. WARNING: If you deploy to the same endpoint, the original model will be un-deployed and replaced by the new model.", +"type": "boolean" +}, +"tunedModelRef": { +"$ref": "GoogleCloudAiplatformV1TunedModelRef", +"description": "Required. A reference to the tuned model to rebase." +}, +"tuningJob": { +"$ref": "GoogleCloudAiplatformV1TuningJob", +"description": "Optional. The tuning job to be updated. Users can use this field to overwrite tuning configs." +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1RebootPersistentResourceOperationMetadata": { +"description": "Details of operations that perform reboot PersistentResource.", +"id": "GoogleCloudAiplatformV1RebootPersistentResourceOperationMetadata", +"properties": { +"genericMetadata": { +"$ref": "GoogleCloudAiplatformV1GenericOperationMetadata", +"description": "Operation metadata for PersistentResource." +}, +"progressMessage": { +"description": "Progress Message for Reboot LRO", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1RebootPersistentResourceRequest": { +"description": "Request message for PersistentResourceService.RebootPersistentResource.", +"id": "GoogleCloudAiplatformV1RebootPersistentResourceRequest", +"properties": {}, +"type": "object" +}, +"GoogleCloudAiplatformV1RemoveContextChildrenRequest": { +"description": "Request message for MetadataService.DeleteContextChildrenRequest.", +"id": "GoogleCloudAiplatformV1RemoveContextChildrenRequest", +"properties": { +"childContexts": { +"description": "The resource names of the child Contexts.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1RemoveContextChildrenResponse": { +"description": "Response message for MetadataService.RemoveContextChildren.", +"id": "GoogleCloudAiplatformV1RemoveContextChildrenResponse", +"properties": {}, +"type": "object" +}, +"GoogleCloudAiplatformV1RemoveDatapointsRequest": { +"description": "Request message for IndexService.RemoveDatapoints", +"id": "GoogleCloudAiplatformV1RemoveDatapointsRequest", +"properties": { +"datapointIds": { +"description": "A list of datapoint ids to be deleted.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1RemoveDatapointsResponse": { +"description": "Response message for IndexService.RemoveDatapoints", +"id": "GoogleCloudAiplatformV1RemoveDatapointsResponse", +"properties": {}, +"type": "object" +}, +"GoogleCloudAiplatformV1ReplicatedVoiceConfig": { +"description": "The configuration for the replicated voice to use.", +"id": "GoogleCloudAiplatformV1ReplicatedVoiceConfig", +"properties": { +"mimeType": { +"description": "Optional. The mimetype of the voice sample. The only currently supported value is `audio/wav`. This represents 16-bit signed little-endian wav data, with a 24kHz sampling rate. `mime_type` will default to `audio/wav` if not set.", +"type": "string" +}, +"voiceSampleAudio": { +"description": "Optional. The sample of the custom voice.", +"format": "byte", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1ReservationAffinity": { +"description": "A ReservationAffinity can be used to configure a Vertex AI resource (e.g., a DeployedModel) to draw its Compute Engine resources from a Shared Reservation, or exclusively from on-demand capacity.", +"id": "GoogleCloudAiplatformV1ReservationAffinity", +"properties": { +"key": { +"description": "Optional. Corresponds to the label key of a reservation resource. To target a SPECIFIC_RESERVATION by name, use `compute.googleapis.com/reservation-name` as the key and specify the name of your reservation as its value.", +"type": "string" +}, +"reservationAffinityType": { +"description": "Required. Specifies the reservation affinity type.", +"enum": [ +"TYPE_UNSPECIFIED", +"NO_RESERVATION", +"ANY_RESERVATION", +"SPECIFIC_RESERVATION" +], +"enumDescriptions": [ +"Default value. This should not be used.", +"Do not consume from any reserved capacity, only use on-demand.", +"Consume any reservation available, falling back to on-demand.", +"Consume from a specific reservation. When chosen, the reservation must be identified via the `key` and `values` fields." +], +"type": "string" +}, +"values": { +"description": "Optional. Corresponds to the label values of a reservation resource. This must be the full resource name of the reservation or reservation block.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1ResourcePool": { +"description": "Represents the spec of a group of resources of the same type, for example machine type, disk, and accelerators, in a PersistentResource.", +"id": "GoogleCloudAiplatformV1ResourcePool", +"properties": { +"autoscalingSpec": { +"$ref": "GoogleCloudAiplatformV1ResourcePoolAutoscalingSpec", +"description": "Optional. Optional spec to configure GKE or Ray-on-Vertex autoscaling" +}, +"diskSpec": { +"$ref": "GoogleCloudAiplatformV1DiskSpec", +"description": "Optional. Disk spec for the machine in this node pool." +}, +"id": { +"description": "Immutable. The unique ID in a PersistentResource for referring to this resource pool. User can specify it if necessary. Otherwise, it's generated automatically.", +"type": "string" +}, +"machineSpec": { +"$ref": "GoogleCloudAiplatformV1MachineSpec", +"description": "Required. Immutable. The specification of a single machine." +}, +"replicaCount": { +"description": "Optional. The total number of machines to use for this resource pool.", +"format": "int64", +"type": "string" +}, +"usedReplicaCount": { +"description": "Output only. The number of machines currently in use by training jobs for this resource pool. Will replace idle_replica_count.", +"format": "int64", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1ResourcePoolAutoscalingSpec": { +"description": "The min/max number of replicas allowed if enabling autoscaling", +"id": "GoogleCloudAiplatformV1ResourcePoolAutoscalingSpec", +"properties": { +"maxReplicaCount": { +"description": "Optional. max replicas in the node pool, must be \u2265 replica_count and > min_replica_count or will throw error", +"format": "int64", +"type": "string" +}, +"minReplicaCount": { +"description": "Optional. min replicas in the node pool, must be \u2264 replica_count and < max_replica_count or will throw error. For autoscaling enabled Ray-on-Vertex, we allow min_replica_count of a resource_pool to be 0 to match the OSS Ray behavior(https://docs.ray.io/en/latest/cluster/vms/user-guides/configuring-autoscaling.html#cluster-config-parameters). As for Persistent Resource, the min_replica_count must be > 0, we added a corresponding validation inside CreatePersistentResourceRequestValidator.java.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1ResourceRuntime": { +"description": "Persistent Cluster runtime information as output", +"id": "GoogleCloudAiplatformV1ResourceRuntime", +"properties": { +"accessUris": { +"additionalProperties": { +"type": "string" +}, +"description": "Output only. URIs for user to connect to the Cluster. Example: { \"RAY_HEAD_NODE_INTERNAL_IP\": \"head-node-IP:10001\" \"RAY_DASHBOARD_URI\": \"ray-dashboard-address:8888\" }", +"readOnly": true, +"type": "object" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1ResourceRuntimeSpec": { +"description": "Configuration for the runtime on a PersistentResource instance, including but not limited to: * Service accounts used to run the workloads. * Whether to make it a dedicated Ray Cluster.", +"id": "GoogleCloudAiplatformV1ResourceRuntimeSpec", +"properties": { +"raySpec": { +"$ref": "GoogleCloudAiplatformV1RaySpec", +"description": "Optional. Ray cluster configuration. Required when creating a dedicated RayCluster on the PersistentResource." +}, +"serviceAccountSpec": { +"$ref": "GoogleCloudAiplatformV1ServiceAccountSpec", +"description": "Optional. Configure the use of workload identity on the PersistentResource" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1ResourcesConsumed": { +"description": "Statistics information about resource consumption.", +"id": "GoogleCloudAiplatformV1ResourcesConsumed", +"properties": { +"replicaHours": { +"description": "Output only. The number of replica hours used. Note that many replicas may run in parallel, and additionally any given work may be queued for some time. Therefore this value is not strictly related to wall time.", +"format": "double", +"readOnly": true, +"type": "number" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1RestoreDatasetVersionOperationMetadata": { +"description": "Runtime operation information for DatasetService.RestoreDatasetVersion.", +"id": "GoogleCloudAiplatformV1RestoreDatasetVersionOperationMetadata", +"properties": { +"genericMetadata": { +"$ref": "GoogleCloudAiplatformV1GenericOperationMetadata", +"description": "The common part of the operation metadata." +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1ResumeModelDeploymentMonitoringJobRequest": { +"description": "Request message for JobService.ResumeModelDeploymentMonitoringJob.", +"id": "GoogleCloudAiplatformV1ResumeModelDeploymentMonitoringJobRequest", +"properties": {}, +"type": "object" +}, +"GoogleCloudAiplatformV1ResumeScheduleRequest": { +"description": "Request message for ScheduleService.ResumeSchedule.", +"id": "GoogleCloudAiplatformV1ResumeScheduleRequest", +"properties": { +"catchUp": { +"description": "Optional. Whether to backfill missed runs when the schedule is resumed from PAUSED state. If set to true, all missed runs will be scheduled. New runs will be scheduled after the backfill is complete. This will also update Schedule.catch_up field. Default to false.", +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1Retrieval": { +"description": "Defines a retrieval tool that model can call to access external knowledge.", +"id": "GoogleCloudAiplatformV1Retrieval", +"properties": { +"disableAttribution": { +"deprecated": true, +"description": "Optional. Deprecated. This option is no longer supported.", +"type": "boolean" +}, +"externalApi": { +"$ref": "GoogleCloudAiplatformV1ExternalApi", +"description": "Use data source powered by external API for grounding." +}, +"vertexAiSearch": { +"$ref": "GoogleCloudAiplatformV1VertexAISearch", +"description": "Set to use data source powered by Vertex AI Search." +}, +"vertexRagStore": { +"$ref": "GoogleCloudAiplatformV1VertexRagStore", +"description": "Set to use data source powered by Vertex RAG store. User data is uploaded via the VertexRagDataService." +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1RetrievalConfig": { +"description": "Retrieval config.", +"id": "GoogleCloudAiplatformV1RetrievalConfig", +"properties": { +"languageCode": { +"description": "The language code of the user.", +"type": "string" +}, +"latLng": { +"$ref": "GoogleTypeLatLng", +"description": "The location of the user." +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1RetrievalMetadata": { +"description": "Metadata related to the retrieval grounding source. This is part of the `GroundingMetadata` returned when grounding is enabled.", +"id": "GoogleCloudAiplatformV1RetrievalMetadata", +"properties": { +"googleSearchDynamicRetrievalScore": { +"description": "Optional. A score indicating how likely it is that a Google Search query could help answer the prompt. The score is in the range of `[0, 1]`. A score of 1 means the model is confident that a search will be helpful, and 0 means it is not. This score is populated only when Google Search grounding and dynamic retrieval are enabled. The score is used to determine whether to trigger a search.", +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1RetrieveContextsRequest": { +"description": "Request message for VertexRagService.RetrieveContexts.", +"id": "GoogleCloudAiplatformV1RetrieveContextsRequest", +"properties": { +"query": { +"$ref": "GoogleCloudAiplatformV1RagQuery", +"description": "Required. Single RAG retrieve query." +}, +"vertexRagStore": { +"$ref": "GoogleCloudAiplatformV1RetrieveContextsRequestVertexRagStore", +"description": "The data source for Vertex RagStore." +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1RetrieveContextsRequestVertexRagStore": { +"description": "The data source for Vertex RagStore.", +"id": "GoogleCloudAiplatformV1RetrieveContextsRequestVertexRagStore", +"properties": { +"ragResources": { +"description": "Optional. The representation of the rag source. It can be used to specify corpus only or ragfiles. Currently only support one corpus or multiple files from one corpus. In the future we may open up multiple corpora support.", +"items": { +"$ref": "GoogleCloudAiplatformV1RetrieveContextsRequestVertexRagStoreRagResource" +}, +"type": "array" +}, +"vectorDistanceThreshold": { +"deprecated": true, +"description": "Optional. Only return contexts with vector distance smaller than the threshold.", +"format": "double", +"type": "number" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1RetrieveContextsRequestVertexRagStoreRagResource": { +"description": "The definition of the Rag resource.", +"id": "GoogleCloudAiplatformV1RetrieveContextsRequestVertexRagStoreRagResource", +"properties": { +"ragCorpus": { +"description": "Optional. RagCorpora resource name. Format: `projects/{project}/locations/{location}/ragCorpora/{rag_corpus}`", +"type": "string" +}, +"ragFileIds": { +"description": "Optional. rag_file_id. The files should be in the same rag_corpus set in rag_corpus field.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1RetrieveContextsResponse": { +"description": "Response message for VertexRagService.RetrieveContexts.", +"id": "GoogleCloudAiplatformV1RetrieveContextsResponse", +"properties": { +"contexts": { +"$ref": "GoogleCloudAiplatformV1RagContexts", +"description": "The contexts of the query." +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1RetrieveMemoriesRequest": { +"description": "Request message for MemoryBankService.RetrieveMemories.", +"id": "GoogleCloudAiplatformV1RetrieveMemoriesRequest", +"properties": { +"filter": { +"description": "Optional. The standard list filter that will be applied to the retrieved memories. More detail in [AIP-160](https://google.aip.dev/160). Supported fields: * `fact` * `create_time` * `update_time` * `topics` (i.e. `topics.custom_memory_topic_label: \"example topic\" OR topics.managed_memory_topic: USER_PREFERENCES`)", +"type": "string" +}, +"filterGroups": { +"description": "Optional. Metadata filters that will be applied to the retrieved memories' `metadata` using OR logic. Filters are defined using disjunctive normal form (OR of ANDs). For example: `filter_groups: [{filters: [{key: \"author\", value: {string_value: \"agent 123\"}, op: EQUAL}]}, {filters: [{key: \"label\", value: {string_value: \"travel\"}, op: EQUAL}, {key: \"author\", value: {string_value: \"agent 321\"}, op: EQUAL}]}]` would be equivalent to the logical expression: `(metadata.author = \"agent 123\" OR (metadata.label = \"travel\" AND metadata.author = \"agent 321\"))`.", +"items": { +"$ref": "GoogleCloudAiplatformV1MemoryConjunctionFilter" +}, +"type": "array" +}, +"scope": { +"additionalProperties": { +"type": "string" +}, +"description": "Required. The scope of the memories to retrieve. A memory must have exactly the same scope (`Memory.scope`) as the scope provided here to be retrieved (same keys and values). Order does not matter, but it is case-sensitive.", +"type": "object" +}, +"similaritySearchParams": { +"$ref": "GoogleCloudAiplatformV1RetrieveMemoriesRequestSimilaritySearchParams", +"description": "Parameters for semantic similarity search based retrieval." +}, +"simpleRetrievalParams": { +"$ref": "GoogleCloudAiplatformV1RetrieveMemoriesRequestSimpleRetrievalParams", +"description": "Parameters for simple (non-similarity search) retrieval." +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1RetrieveMemoriesRequestSimilaritySearchParams": { +"description": "Parameters for semantic similarity search based retrieval.", +"id": "GoogleCloudAiplatformV1RetrieveMemoriesRequestSimilaritySearchParams", +"properties": { +"searchQuery": { +"description": "Required. Query to use for similarity search retrieval. If provided, then the parent ReasoningEngine must have ReasoningEngineContextSpec.MemoryBankConfig.SimilaritySearchConfig set.", +"type": "string" +}, +"topK": { +"description": "Optional. The maximum number of memories to return. The service may return fewer than this value. If unspecified, at most 3 memories will be returned. The maximum value is 100; values above 100 will be coerced to 100.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1RetrieveMemoriesRequestSimpleRetrievalParams": { +"description": "Parameters for simple (non-similarity search) retrieval.", +"id": "GoogleCloudAiplatformV1RetrieveMemoriesRequestSimpleRetrievalParams", +"properties": { +"pageSize": { +"description": "Optional. The maximum number of memories to return. The service may return fewer than this value. If unspecified, at most 3 memories will be returned. The maximum value is 100; values above 100 will be coerced to 100.", +"format": "int32", +"type": "integer" +}, +"pageToken": { +"description": "Optional. A page token, received from a previous `RetrieveMemories` call. Provide this to retrieve the subsequent page.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1RetrieveMemoriesResponse": { +"description": "Response message for MemoryBankService.RetrieveMemories.", +"id": "GoogleCloudAiplatformV1RetrieveMemoriesResponse", +"properties": { +"nextPageToken": { +"description": "A token that can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages. This token is not set if similarity search was used for retrieval.", +"type": "string" +}, +"retrievedMemories": { +"description": "The retrieved memories.", +"items": { +"$ref": "GoogleCloudAiplatformV1RetrieveMemoriesResponseRetrievedMemory" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1RetrieveMemoriesResponseRetrievedMemory": { +"description": "A retrieved memory.", +"id": "GoogleCloudAiplatformV1RetrieveMemoriesResponseRetrievedMemory", +"properties": { +"distance": { +"description": "The distance between the query and the retrieved Memory. Smaller values indicate more similar memories. This is only set if similarity search was used for retrieval.", +"format": "double", +"type": "number" +}, +"memory": { +"$ref": "GoogleCloudAiplatformV1Memory", +"description": "The retrieved Memory." +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1RollbackMemoryRequest": { +"description": "Request message for MemoryBankService.RollbackMemory.", +"id": "GoogleCloudAiplatformV1RollbackMemoryRequest", +"properties": { +"targetRevisionId": { +"description": "Required. The ID of the revision to rollback to.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1RougeInput": { +"description": "Input for rouge metric.", +"id": "GoogleCloudAiplatformV1RougeInput", +"properties": { +"instances": { +"description": "Required. Repeated rouge instances.", +"items": { +"$ref": "GoogleCloudAiplatformV1RougeInstance" +}, +"type": "array" +}, +"metricSpec": { +"$ref": "GoogleCloudAiplatformV1RougeSpec", +"description": "Required. Spec for rouge score metric." +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1RougeInstance": { +"description": "Spec for rouge instance.", +"id": "GoogleCloudAiplatformV1RougeInstance", +"properties": { +"prediction": { +"description": "Required. Output of the evaluated model.", +"type": "string" +}, +"reference": { +"description": "Required. Ground truth used to compare against the prediction.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1RougeMetricValue": { +"description": "Rouge metric value for an instance.", +"id": "GoogleCloudAiplatformV1RougeMetricValue", +"properties": { +"score": { +"description": "Output only. Rouge score.", +"format": "float", +"readOnly": true, +"type": "number" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1RougeResults": { +"description": "Results for rouge metric.", +"id": "GoogleCloudAiplatformV1RougeResults", +"properties": { +"rougeMetricValues": { +"description": "Output only. Rouge metric values.", +"items": { +"$ref": "GoogleCloudAiplatformV1RougeMetricValue" +}, +"readOnly": true, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1RougeSpec": { +"description": "Spec for rouge score metric - calculates the recall of n-grams in prediction as compared to reference - returns a score ranging between 0 and 1.", +"id": "GoogleCloudAiplatformV1RougeSpec", +"properties": { +"rougeType": { +"description": "Optional. Supported rouge types are rougen[1-9], rougeL, and rougeLsum.", +"type": "string" +}, +"splitSummaries": { +"description": "Optional. Whether to split summaries while using rougeLsum.", +"type": "boolean" +}, +"useStemmer": { +"description": "Optional. Whether to use stemmer to compute rouge score.", +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1Rubric": { +"description": "Message representing a single testable criterion for evaluation. One input prompt could have multiple rubrics.", +"id": "GoogleCloudAiplatformV1Rubric", +"properties": { +"content": { +"$ref": "GoogleCloudAiplatformV1RubricContent", +"description": "Required. The actual testable criteria for the rubric." +}, +"importance": { +"description": "Optional. The relative importance of this rubric.", +"enum": [ +"IMPORTANCE_UNSPECIFIED", +"HIGH", +"MEDIUM", +"LOW" +], +"enumDescriptions": [ +"Importance is not specified.", +"High importance.", +"Medium importance.", +"Low importance." +], +"type": "string" +}, +"rubricId": { +"description": "Unique identifier for the rubric. This ID is used to refer to this rubric, e.g., in RubricVerdict.", +"type": "string" +}, +"type": { +"description": "Optional. A type designator for the rubric, which can inform how it's evaluated or interpreted by systems or users. It's recommended to use consistent, well-defined, upper snake_case strings. Examples: \"SUMMARIZATION_QUALITY\", \"SAFETY_HARMFUL_CONTENT\", \"INSTRUCTION_ADHERENCE\".", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1RubricBasedInstructionFollowingInput": { +"description": "Instance and metric spec for RubricBasedInstructionFollowing metric.", +"id": "GoogleCloudAiplatformV1RubricBasedInstructionFollowingInput", +"properties": { +"instance": { +"$ref": "GoogleCloudAiplatformV1RubricBasedInstructionFollowingInstance", +"description": "Required. Instance for RubricBasedInstructionFollowing metric." +}, +"metricSpec": { +"$ref": "GoogleCloudAiplatformV1RubricBasedInstructionFollowingSpec", +"description": "Required. Spec for RubricBasedInstructionFollowing metric." +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1RubricBasedInstructionFollowingInstance": { +"description": "Instance for RubricBasedInstructionFollowing metric - one instance corresponds to one row in an evaluation dataset.", +"id": "GoogleCloudAiplatformV1RubricBasedInstructionFollowingInstance", +"properties": { +"jsonInstance": { +"description": "Required. Instance specified as a json string. String key-value pairs are expected in the json_instance to render RubricBasedInstructionFollowing prompt templates.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1RubricBasedInstructionFollowingResult": { +"description": "Result for RubricBasedInstructionFollowing metric.", +"id": "GoogleCloudAiplatformV1RubricBasedInstructionFollowingResult", +"properties": { +"rubricCritiqueResults": { +"description": "Output only. List of per rubric critique results.", +"items": { +"$ref": "GoogleCloudAiplatformV1RubricCritiqueResult" +}, +"readOnly": true, +"type": "array" +}, +"score": { +"description": "Output only. Overall score for the instruction following.", +"format": "float", +"readOnly": true, +"type": "number" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1RubricBasedInstructionFollowingSpec": { +"description": "Spec for RubricBasedInstructionFollowing metric - returns rubrics and verdicts corresponding to rubrics along with overall score.", +"id": "GoogleCloudAiplatformV1RubricBasedInstructionFollowingSpec", +"properties": {}, +"type": "object" +}, +"GoogleCloudAiplatformV1RubricContent": { +"description": "Content of the rubric, defining the testable criteria.", +"id": "GoogleCloudAiplatformV1RubricContent", +"properties": { +"property": { +"$ref": "GoogleCloudAiplatformV1RubricContentProperty", +"description": "Evaluation criteria based on a specific property." +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1RubricContentProperty": { +"description": "Defines criteria based on a specific property.", +"id": "GoogleCloudAiplatformV1RubricContentProperty", +"properties": { +"description": { +"description": "Description of the property being evaluated. Example: \"The model's response is grammatically correct.\"", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1RubricCritiqueResult": { +"description": "Rubric critique result.", +"id": "GoogleCloudAiplatformV1RubricCritiqueResult", +"properties": { +"rubric": { +"description": "Output only. Rubric to be evaluated.", +"readOnly": true, +"type": "string" +}, +"verdict": { +"description": "Output only. Verdict for the rubric - true if the rubric is met, false otherwise.", +"readOnly": true, +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1RubricGenerationSpec": { +"description": "Specification for how rubrics should be generated.", +"id": "GoogleCloudAiplatformV1RubricGenerationSpec", +"properties": { +"modelConfig": { +"$ref": "GoogleCloudAiplatformV1AutoraterConfig", +"description": "Configuration for the model used in rubric generation. Configs including sampling count and base model can be specified here. Flipping is not supported for rubric generation." +}, +"promptTemplate": { +"description": "Template for the prompt used to generate rubrics. The details should be updated based on the most-recent recipe requirements.", +"type": "string" +}, +"rubricContentType": { +"description": "The type of rubric content to be generated.", +"enum": [ +"RUBRIC_CONTENT_TYPE_UNSPECIFIED", +"PROPERTY", +"NL_QUESTION_ANSWER", +"PYTHON_CODE_ASSERTION" +], +"enumDescriptions": [ +"The content type to generate is not specified.", +"Generate rubrics based on properties.", +"Generate rubrics in an NL question answer format.", +"Generate rubrics in a unit test format." +], +"type": "string" +}, +"rubricTypeOntology": { +"description": "Optional. An optional, pre-defined list of allowed types for generated rubrics. If this field is provided, it implies `include_rubric_type` should be true, and the generated rubric types should be chosen from this ontology.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1RubricGroup": { +"description": "A group of rubrics, used for grouping rubrics based on a metric or a version.", +"id": "GoogleCloudAiplatformV1RubricGroup", +"properties": { +"displayName": { +"description": "Human-readable name for the group. This should be unique within a given context if used for display or selection. Example: \"Instruction Following V1\", \"Content Quality - Summarization Task\".", +"type": "string" +}, +"groupId": { +"description": "Unique identifier for the group.", +"type": "string" +}, +"rubrics": { +"description": "Rubrics that are part of this group.", +"items": { +"$ref": "GoogleCloudAiplatformV1Rubric" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1RubricVerdict": { +"description": "Represents the verdict of an evaluation against a single rubric.", +"id": "GoogleCloudAiplatformV1RubricVerdict", +"properties": { +"evaluatedRubric": { +"$ref": "GoogleCloudAiplatformV1Rubric", +"description": "Required. The full rubric definition that was evaluated. Storing this ensures the verdict is self-contained and understandable, especially if the original rubric definition changes or was dynamically generated." +}, +"reasoning": { +"description": "Optional. Human-readable reasoning or explanation for the verdict. This can include specific examples or details from the evaluated content that justify the given verdict.", +"type": "string" +}, +"verdict": { +"description": "Required. Outcome of the evaluation against the rubric, represented as a boolean. `true` indicates a \"Pass\", `false` indicates a \"Fail\".", +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1SafetyInput": { +"description": "Input for safety metric.", +"id": "GoogleCloudAiplatformV1SafetyInput", +"properties": { +"instance": { +"$ref": "GoogleCloudAiplatformV1SafetyInstance", +"description": "Required. Safety instance." +}, +"metricSpec": { +"$ref": "GoogleCloudAiplatformV1SafetySpec", +"description": "Required. Spec for safety metric." +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1SafetyInstance": { +"description": "Spec for safety instance.", +"id": "GoogleCloudAiplatformV1SafetyInstance", +"properties": { +"prediction": { +"description": "Required. Output of the evaluated model.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1SafetyRating": { +"description": "A safety rating for a piece of content. The safety rating contains the harm category and the harm probability level.", +"id": "GoogleCloudAiplatformV1SafetyRating", +"properties": { +"blocked": { +"description": "Output only. Indicates whether the content was blocked because of this rating.", +"readOnly": true, +"type": "boolean" +}, +"category": { +"description": "Output only. The harm category of this rating.", +"enum": [ +"HARM_CATEGORY_UNSPECIFIED", +"HARM_CATEGORY_HATE_SPEECH", +"HARM_CATEGORY_DANGEROUS_CONTENT", +"HARM_CATEGORY_HARASSMENT", +"HARM_CATEGORY_SEXUALLY_EXPLICIT", +"HARM_CATEGORY_CIVIC_INTEGRITY", +"HARM_CATEGORY_IMAGE_HATE", +"HARM_CATEGORY_IMAGE_DANGEROUS_CONTENT", +"HARM_CATEGORY_IMAGE_HARASSMENT", +"HARM_CATEGORY_IMAGE_SEXUALLY_EXPLICIT", +"HARM_CATEGORY_JAILBREAK" +], +"enumDeprecated": [ +false, +false, +false, +false, +false, +true, +false, +false, +false, +false, +false +], +"enumDescriptions": [ +"Default value. This value is unused.", +"Content that promotes violence or incites hatred against individuals or groups based on certain attributes.", +"Content that promotes, facilitates, or enables dangerous activities.", +"Abusive, threatening, or content intended to bully, torment, or ridicule.", +"Content that contains sexually explicit material.", +"Deprecated: Election filter is not longer supported. The harm category is civic integrity.", +"Images that contain hate speech.", +"Images that contain dangerous content.", +"Images that contain harassment.", +"Images that contain sexually explicit content.", +"Prompts designed to bypass safety filters." +], +"readOnly": true, +"type": "string" +}, +"overwrittenThreshold": { +"description": "Output only. The overwritten threshold for the safety category of Gemini 2.0 image out. If minors are detected in the output image, the threshold of each safety category will be overwritten if user sets a lower threshold.", +"enum": [ +"HARM_BLOCK_THRESHOLD_UNSPECIFIED", +"BLOCK_LOW_AND_ABOVE", +"BLOCK_MEDIUM_AND_ABOVE", +"BLOCK_ONLY_HIGH", +"BLOCK_NONE", +"OFF" +], +"enumDescriptions": [ +"The harm block threshold is unspecified.", +"Block content with a low harm probability or higher.", +"Block content with a medium harm probability or higher.", +"Block content with a high harm probability.", +"Do not block any content, regardless of its harm probability.", +"Turn off the safety filter entirely." +], +"readOnly": true, +"type": "string" +}, +"probability": { +"description": "Output only. The probability of harm for this category.", +"enum": [ +"HARM_PROBABILITY_UNSPECIFIED", +"NEGLIGIBLE", +"LOW", +"MEDIUM", +"HIGH" +], +"enumDescriptions": [ +"The harm probability is unspecified.", +"The harm probability is negligible.", +"The harm probability is low.", +"The harm probability is medium.", +"The harm probability is high." +], +"readOnly": true, +"type": "string" +}, +"probabilityScore": { +"description": "Output only. The probability score of harm for this category.", +"format": "float", +"readOnly": true, +"type": "number" +}, +"severity": { +"description": "Output only. The severity of harm for this category.", +"enum": [ +"HARM_SEVERITY_UNSPECIFIED", +"HARM_SEVERITY_NEGLIGIBLE", +"HARM_SEVERITY_LOW", +"HARM_SEVERITY_MEDIUM", +"HARM_SEVERITY_HIGH" +], +"enumDescriptions": [ +"The harm severity is unspecified.", +"The harm severity is negligible.", +"The harm severity is low.", +"The harm severity is medium.", +"The harm severity is high." +], +"readOnly": true, +"type": "string" +}, +"severityScore": { +"description": "Output only. The severity score of harm for this category.", +"format": "float", +"readOnly": true, +"type": "number" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1SafetyResult": { +"description": "Spec for safety result.", +"id": "GoogleCloudAiplatformV1SafetyResult", +"properties": { +"confidence": { +"description": "Output only. Confidence for safety score.", +"format": "float", +"readOnly": true, +"type": "number" +}, +"explanation": { +"description": "Output only. Explanation for safety score.", +"readOnly": true, +"type": "string" +}, +"score": { +"description": "Output only. Safety score.", +"format": "float", +"readOnly": true, +"type": "number" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1SafetySetting": { +"description": "A safety setting that affects the safety-blocking behavior. A SafetySetting consists of a harm category and a threshold for that category.", +"id": "GoogleCloudAiplatformV1SafetySetting", +"properties": { +"category": { +"description": "Required. The harm category to be blocked.", +"enum": [ +"HARM_CATEGORY_UNSPECIFIED", +"HARM_CATEGORY_HATE_SPEECH", +"HARM_CATEGORY_DANGEROUS_CONTENT", +"HARM_CATEGORY_HARASSMENT", +"HARM_CATEGORY_SEXUALLY_EXPLICIT", +"HARM_CATEGORY_CIVIC_INTEGRITY", +"HARM_CATEGORY_IMAGE_HATE", +"HARM_CATEGORY_IMAGE_DANGEROUS_CONTENT", +"HARM_CATEGORY_IMAGE_HARASSMENT", +"HARM_CATEGORY_IMAGE_SEXUALLY_EXPLICIT", +"HARM_CATEGORY_JAILBREAK" +], +"enumDeprecated": [ +false, +false, +false, +false, +false, +true, +false, +false, +false, +false, +false +], +"enumDescriptions": [ +"Default value. This value is unused.", +"Content that promotes violence or incites hatred against individuals or groups based on certain attributes.", +"Content that promotes, facilitates, or enables dangerous activities.", +"Abusive, threatening, or content intended to bully, torment, or ridicule.", +"Content that contains sexually explicit material.", +"Deprecated: Election filter is not longer supported. The harm category is civic integrity.", +"Images that contain hate speech.", +"Images that contain dangerous content.", +"Images that contain harassment.", +"Images that contain sexually explicit content.", +"Prompts designed to bypass safety filters." +], +"type": "string" +}, +"method": { +"description": "Optional. The method for blocking content. If not specified, the default behavior is to use the probability score.", +"enum": [ +"HARM_BLOCK_METHOD_UNSPECIFIED", +"SEVERITY", +"PROBABILITY" +], +"enumDescriptions": [ +"The harm block method is unspecified.", +"The harm block method uses both probability and severity scores.", +"The harm block method uses the probability score." +], +"type": "string" +}, +"threshold": { +"description": "Required. The threshold for blocking content. If the harm probability exceeds this threshold, the content will be blocked.", +"enum": [ +"HARM_BLOCK_THRESHOLD_UNSPECIFIED", +"BLOCK_LOW_AND_ABOVE", +"BLOCK_MEDIUM_AND_ABOVE", +"BLOCK_ONLY_HIGH", +"BLOCK_NONE", +"OFF" +], +"enumDescriptions": [ +"The harm block threshold is unspecified.", +"Block content with a low harm probability or higher.", +"Block content with a medium harm probability or higher.", +"Block content with a high harm probability.", +"Do not block any content, regardless of its harm probability.", +"Turn off the safety filter entirely." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1SafetySpec": { +"description": "Spec for safety metric.", +"id": "GoogleCloudAiplatformV1SafetySpec", +"properties": { +"version": { +"description": "Optional. Which version to use for evaluation.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1SampleConfig": { +"description": "Active learning data sampling config. For every active learning labeling iteration, it will select a batch of data based on the sampling strategy.", +"id": "GoogleCloudAiplatformV1SampleConfig", +"properties": { +"followingBatchSamplePercentage": { +"description": "The percentage of data needed to be labeled in each following batch (except the first batch).", +"format": "int32", +"type": "integer" +}, +"initialBatchSamplePercentage": { +"description": "The percentage of data needed to be labeled in the first batch.", +"format": "int32", +"type": "integer" +}, +"sampleStrategy": { +"description": "Field to choose sampling strategy. Sampling strategy will decide which data should be selected for human labeling in every batch.", +"enum": [ +"SAMPLE_STRATEGY_UNSPECIFIED", +"UNCERTAINTY" +], +"enumDescriptions": [ +"Default will be treated as UNCERTAINTY.", +"Sample the most uncertain data to label." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1SampledShapleyAttribution": { +"description": "An attribution method that approximates Shapley values for features that contribute to the label being predicted. A sampling strategy is used to approximate the value rather than considering all subsets of features.", +"id": "GoogleCloudAiplatformV1SampledShapleyAttribution", +"properties": { +"pathCount": { +"description": "Required. The number of feature permutations to consider when approximating the Shapley values. Valid range of its value is [1, 50], inclusively.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1SamplingStrategy": { +"description": "Sampling Strategy for logging, can be for both training and prediction dataset.", +"id": "GoogleCloudAiplatformV1SamplingStrategy", +"properties": { +"randomSampleConfig": { +"$ref": "GoogleCloudAiplatformV1SamplingStrategyRandomSampleConfig", +"description": "Random sample config. Will support more sampling strategies later." +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1SamplingStrategyRandomSampleConfig": { +"description": "Requests are randomly selected.", +"id": "GoogleCloudAiplatformV1SamplingStrategyRandomSampleConfig", +"properties": { +"sampleRate": { +"description": "Sample rate (0, 1]", +"format": "double", +"type": "number" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1SandboxEnvironment": { +"description": "SandboxEnvironment is a containerized environment that provides a customizable secure execution runtime for AI agents.", +"id": "GoogleCloudAiplatformV1SandboxEnvironment", +"properties": { +"connectionInfo": { +"$ref": "GoogleCloudAiplatformV1SandboxEnvironmentConnectionInfo", +"description": "Output only. The connection information of the SandboxEnvironment.", +"readOnly": true +}, +"createTime": { +"description": "Output only. The timestamp when this SandboxEnvironment was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"displayName": { +"description": "Required. The display name of the SandboxEnvironment.", +"type": "string" +}, +"expireTime": { +"description": "Optional. Timestamp in UTC of when this SandboxEnvironment is considered expired. This is *always* provided on output, regardless of what `expiration` was sent on input.", +"format": "google-datetime", +"type": "string" +}, +"name": { +"description": "Identifier. The name of the SandboxEnvironment.", +"type": "string" +}, +"spec": { +"$ref": "GoogleCloudAiplatformV1SandboxEnvironmentSpec", +"description": "Optional. The configuration of the SandboxEnvironment." +}, +"state": { +"description": "Output only. The runtime state of the SandboxEnvironment.", +"enum": [ +"STATE_UNSPECIFIED", +"STATE_PROVISIONING", +"STATE_RUNNING", +"STATE_DEPROVISIONING", +"STATE_TERMINATED", +"STATE_DELETED" +], +"enumDescriptions": [ +"The default value. This value is unused.", +"Runtime resources are being allocated for the sandbox environment.", +"Sandbox runtime is ready for serving.", +"Sandbox runtime is halted, performing tear down tasks.", +"Sandbox has terminated with underlying runtime failure.", +"Sandbox runtime has been deleted." +], +"readOnly": true, +"type": "string" +}, +"ttl": { +"description": "Optional. Input only. The TTL for the sandbox environment. The expiration time is computed: now + TTL.", +"format": "google-duration", +"type": "string" +}, +"updateTime": { +"description": "Output only. The timestamp when this SandboxEnvironment was most recently updated.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1SandboxEnvironmentConnectionInfo": { +"description": "The connection information of the SandboxEnvironment.", +"id": "GoogleCloudAiplatformV1SandboxEnvironmentConnectionInfo", +"properties": { +"loadBalancerHostname": { +"description": "Output only. The hostname of the load balancer.", +"readOnly": true, +"type": "string" +}, +"loadBalancerIp": { +"description": "Output only. The IP address of the load balancer.", +"readOnly": true, +"type": "string" +}, +"sandboxInternalIp": { +"description": "Output only. The internal IP address of the SandboxEnvironment.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1SandboxEnvironmentSpec": { +"description": "The specification of a SandboxEnvironment.", +"id": "GoogleCloudAiplatformV1SandboxEnvironmentSpec", +"properties": { +"codeExecutionEnvironment": { +"$ref": "GoogleCloudAiplatformV1SandboxEnvironmentSpecCodeExecutionEnvironment", +"description": "Optional. The code execution environment." +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1SandboxEnvironmentSpecCodeExecutionEnvironment": { +"description": "The code execution environment with customized settings.", +"id": "GoogleCloudAiplatformV1SandboxEnvironmentSpecCodeExecutionEnvironment", +"properties": { +"codeLanguage": { +"description": "The coding language supported in this environment.", +"enum": [ +"LANGUAGE_UNSPECIFIED", +"LANGUAGE_PYTHON", +"LANGUAGE_JAVASCRIPT" +], +"enumDescriptions": [ +"The default value. This value is unused.", +"The coding language is Python.", +"The coding language is JavaScript." +], +"type": "string" +}, +"machineConfig": { +"description": "The machine config of the code execution environment.", +"enum": [ +"MACHINE_CONFIG_UNSPECIFIED", +"MACHINE_CONFIG_VCPU4_RAM4GIB" +], +"enumDescriptions": [ +"The default value: milligcu 2000, memory 1.5Gib", +"The default value: milligcu 4000, memory 4 Gib" +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1SavedQuery": { +"description": "A SavedQuery is a view of the dataset. It references a subset of annotations by problem type and filters.", +"id": "GoogleCloudAiplatformV1SavedQuery", +"properties": { +"annotationFilter": { +"description": "Output only. Filters on the Annotations in the dataset.", +"readOnly": true, +"type": "string" +}, +"annotationSpecCount": { +"description": "Output only. Number of AnnotationSpecs in the context of the SavedQuery.", +"format": "int32", +"readOnly": true, +"type": "integer" +}, +"createTime": { +"description": "Output only. Timestamp when this SavedQuery was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"displayName": { +"description": "Required. The user-defined name of the SavedQuery. The name can be up to 128 characters long and can consist of any UTF-8 characters.", +"type": "string" +}, +"etag": { +"description": "Used to perform a consistent read-modify-write update. If not set, a blind \"overwrite\" update happens.", +"type": "string" +}, +"metadata": { +"description": "Some additional information about the SavedQuery.", +"type": "any" +}, +"name": { +"description": "Output only. Resource name of the SavedQuery.", +"readOnly": true, +"type": "string" +}, +"problemType": { +"description": "Required. Problem type of the SavedQuery. Allowed values: * IMAGE_CLASSIFICATION_SINGLE_LABEL * IMAGE_CLASSIFICATION_MULTI_LABEL * IMAGE_BOUNDING_POLY * IMAGE_BOUNDING_BOX * TEXT_CLASSIFICATION_SINGLE_LABEL * TEXT_CLASSIFICATION_MULTI_LABEL * TEXT_EXTRACTION * TEXT_SENTIMENT * VIDEO_CLASSIFICATION * VIDEO_OBJECT_TRACKING", +"type": "string" +}, +"supportAutomlTraining": { +"description": "Output only. If the Annotations belonging to the SavedQuery can be used for AutoML training.", +"readOnly": true, +"type": "boolean" +}, +"updateTime": { +"description": "Output only. Timestamp when SavedQuery was last updated.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1Scalar": { +"description": "One point viewable on a scalar metric plot.", +"id": "GoogleCloudAiplatformV1Scalar", +"properties": { +"value": { +"description": "Value of the point at this step / timestamp.", +"format": "double", +"type": "number" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1Schedule": { +"description": "An instance of a Schedule periodically schedules runs to make API calls based on user specified time specification and API request type.", +"id": "GoogleCloudAiplatformV1Schedule", +"properties": { +"allowQueueing": { +"description": "Optional. Whether new scheduled runs can be queued when max_concurrent_runs limit is reached. If set to true, new runs will be queued instead of skipped. Default to false.", +"type": "boolean" +}, +"catchUp": { +"description": "Output only. Whether to backfill missed runs when the schedule is resumed from PAUSED state. If set to true, all missed runs will be scheduled. New runs will be scheduled after the backfill is complete. Default to false.", +"readOnly": true, +"type": "boolean" +}, +"createNotebookExecutionJobRequest": { +"$ref": "GoogleCloudAiplatformV1CreateNotebookExecutionJobRequest", +"description": "Request for NotebookService.CreateNotebookExecutionJob." +}, +"createPipelineJobRequest": { +"$ref": "GoogleCloudAiplatformV1CreatePipelineJobRequest", +"description": "Request for PipelineService.CreatePipelineJob. CreatePipelineJobRequest.parent field is required (format: projects/{project}/locations/{location})." +}, +"createTime": { +"description": "Output only. Timestamp when this Schedule was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"cron": { +"description": "Cron schedule (https://en.wikipedia.org/wiki/Cron) to launch scheduled runs. To explicitly set a timezone to the cron tab, apply a prefix in the cron tab: \"CRON_TZ=${IANA_TIME_ZONE}\" or \"TZ=${IANA_TIME_ZONE}\". The ${IANA_TIME_ZONE} may only be a valid string from IANA time zone database. For example, \"CRON_TZ=America/New_York 1 * * * *\", or \"TZ=America/New_York 1 * * * *\".", +"type": "string" +}, +"displayName": { +"description": "Required. User provided name of the Schedule. The name can be up to 128 characters long and can consist of any UTF-8 characters.", +"type": "string" +}, +"endTime": { +"description": "Optional. Timestamp after which no new runs can be scheduled. If specified, The schedule will be completed when either end_time is reached or when scheduled_run_count >= max_run_count. If not specified, new runs will keep getting scheduled until this Schedule is paused or deleted. Already scheduled runs will be allowed to complete. Unset if not specified.", +"format": "google-datetime", +"type": "string" +}, +"lastPauseTime": { +"description": "Output only. Timestamp when this Schedule was last paused. Unset if never paused.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"lastResumeTime": { +"description": "Output only. Timestamp when this Schedule was last resumed. Unset if never resumed from pause.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"lastScheduledRunResponse": { +"$ref": "GoogleCloudAiplatformV1ScheduleRunResponse", +"description": "Output only. Response of the last scheduled run. This is the response for starting the scheduled requests and not the execution of the operations/jobs created by the requests (if applicable). Unset if no run has been scheduled yet.", +"readOnly": true +}, +"maxConcurrentActiveRunCount": { +"description": "Optional. Specifies the maximum number of active runs that can be executed concurrently for this Schedule. This limits the number of runs that can be in a non-terminal state at the same time. Currently, this field is only supported for requests of type CreatePipelineJobRequest.", +"format": "int64", +"type": "string" +}, +"maxConcurrentRunCount": { +"description": "Required. Maximum number of runs that can be started concurrently for this Schedule. This is the limit for starting the scheduled requests and not the execution of the operations/jobs created by the requests (if applicable).", +"format": "int64", +"type": "string" +}, +"maxRunCount": { +"description": "Optional. Maximum run count of the schedule. If specified, The schedule will be completed when either started_run_count >= max_run_count or when end_time is reached. If not specified, new runs will keep getting scheduled until this Schedule is paused or deleted. Already scheduled runs will be allowed to complete. Unset if not specified.", +"format": "int64", +"type": "string" +}, +"name": { +"description": "Immutable. The resource name of the Schedule.", +"type": "string" +}, +"nextRunTime": { +"description": "Output only. Timestamp when this Schedule should schedule the next run. Having a next_run_time in the past means the runs are being started behind schedule.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"startTime": { +"description": "Optional. Timestamp after which the first run can be scheduled. Default to Schedule create time if not specified.", +"format": "google-datetime", +"type": "string" +}, +"startedRunCount": { +"description": "Output only. The number of runs started by this schedule.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"state": { +"description": "Output only. The state of this Schedule.", +"enum": [ +"STATE_UNSPECIFIED", +"ACTIVE", +"PAUSED", +"COMPLETED" +], +"enumDescriptions": [ +"Unspecified.", +"The Schedule is active. Runs are being scheduled on the user-specified timespec.", +"The schedule is paused. No new runs will be created until the schedule is resumed. Already started runs will be allowed to complete.", +"The Schedule is completed. No new runs will be scheduled. Already started runs will be allowed to complete. Schedules in completed state cannot be paused or resumed." +], +"readOnly": true, +"type": "string" +}, +"updateTime": { +"description": "Output only. Timestamp when this Schedule was updated.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1ScheduleRunResponse": { +"description": "Status of a scheduled run.", +"id": "GoogleCloudAiplatformV1ScheduleRunResponse", +"properties": { +"runResponse": { +"description": "The response of the scheduled run.", +"type": "string" +}, +"scheduledRunTime": { +"description": "The scheduled run time based on the user-specified schedule.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1Scheduling": { +"description": "All parameters related to queuing and scheduling of custom jobs.", +"id": "GoogleCloudAiplatformV1Scheduling", +"properties": { +"disableRetries": { +"description": "Optional. Indicates if the job should retry for internal errors after the job starts running. If true, overrides `Scheduling.restart_job_on_worker_restart` to false.", +"type": "boolean" +}, +"maxWaitDuration": { +"description": "Optional. This is the maximum duration that a job will wait for the requested resources to be provisioned if the scheduling strategy is set to [Strategy.DWS_FLEX_START]. If set to 0, the job will wait indefinitely. The default is 24 hours.", +"format": "google-duration", +"type": "string" +}, +"restartJobOnWorkerRestart": { +"description": "Optional. Restarts the entire CustomJob if a worker gets restarted. This feature can be used by distributed training jobs that are not resilient to workers leaving and joining a job.", +"type": "boolean" +}, +"strategy": { +"description": "Optional. This determines which type of scheduling strategy to use.", +"enum": [ +"STRATEGY_UNSPECIFIED", +"ON_DEMAND", +"LOW_COST", +"STANDARD", +"SPOT", +"FLEX_START" +], +"enumDeprecated": [ +false, +true, +true, +false, +false, +false +], +"enumDescriptions": [ +"Strategy will default to STANDARD.", +"Deprecated. Regular on-demand provisioning strategy.", +"Deprecated. Low cost by making potential use of spot resources.", +"Standard provisioning strategy uses regular on-demand resources.", +"Spot provisioning strategy uses spot resources.", +"Flex Start strategy uses DWS to queue for resources." +], +"type": "string" +}, +"timeout": { +"description": "Optional. The maximum job running time. The default is 7 days.", +"format": "google-duration", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1Schema": { +"description": "Defines the schema of input and output data. This is a subset of the [OpenAPI 3.0 Schema Object](https://spec.openapis.org/oas/v3.0.3#schema-object).", +"id": "GoogleCloudAiplatformV1Schema", +"properties": { +"additionalProperties": { +"description": "Optional. If `type` is `OBJECT`, specifies how to handle properties not defined in `properties`. If it is a boolean `false`, no additional properties are allowed. If it is a schema, additional properties are allowed if they conform to the schema.", +"type": "any" +}, +"anyOf": { +"description": "Optional. The instance must be valid against any (one or more) of the subschemas listed in `any_of`.", +"items": { +"$ref": "GoogleCloudAiplatformV1Schema" +}, +"type": "array" +}, +"default": { +"description": "Optional. Default value to use if the field is not specified.", +"type": "any" +}, +"defs": { +"additionalProperties": { +"$ref": "GoogleCloudAiplatformV1Schema" +}, +"description": "Optional. `defs` provides a map of schema definitions that can be reused by `ref` elsewhere in the schema. Only allowed at root level of the schema.", +"type": "object" +}, +"description": { +"description": "Optional. Description of the schema.", +"type": "string" +}, +"enum": { +"description": "Optional. Possible values of the field. This field can be used to restrict a value to a fixed set of values. To mark a field as an enum, set `format` to `enum` and provide the list of possible values in `enum`. For example: 1. To define directions: `{type:STRING, format:enum, enum:[\"EAST\", \"NORTH\", \"SOUTH\", \"WEST\"]}` 2. To define apartment numbers: `{type:INTEGER, format:enum, enum:[\"101\", \"201\", \"301\"]}`", +"items": { +"type": "string" +}, +"type": "array" +}, +"example": { +"description": "Optional. Example of an instance of this schema.", +"type": "any" +}, +"format": { +"description": "Optional. The format of the data. For `NUMBER` type, format can be `float` or `double`. For `INTEGER` type, format can be `int32` or `int64`. For `STRING` type, format can be `email`, `byte`, `date`, `date-time`, `password`, and other formats to further refine the data type.", +"type": "string" +}, +"items": { +"$ref": "GoogleCloudAiplatformV1Schema", +"description": "Optional. If type is `ARRAY`, `items` specifies the schema of elements in the array." +}, +"maxItems": { +"description": "Optional. If type is `ARRAY`, `max_items` specifies the maximum number of items in an array.", +"format": "int64", +"type": "string" +}, +"maxLength": { +"description": "Optional. If type is `STRING`, `max_length` specifies the maximum length of the string.", +"format": "int64", +"type": "string" +}, +"maxProperties": { +"description": "Optional. If type is `OBJECT`, `max_properties` specifies the maximum number of properties that can be provided.", +"format": "int64", +"type": "string" +}, +"maximum": { +"description": "Optional. If type is `INTEGER` or `NUMBER`, `maximum` specifies the maximum allowed value.", +"format": "double", +"type": "number" +}, +"minItems": { +"description": "Optional. If type is `ARRAY`, `min_items` specifies the minimum number of items in an array.", +"format": "int64", +"type": "string" +}, +"minLength": { +"description": "Optional. If type is `STRING`, `min_length` specifies the minimum length of the string.", +"format": "int64", +"type": "string" +}, +"minProperties": { +"description": "Optional. If type is `OBJECT`, `min_properties` specifies the minimum number of properties that can be provided.", +"format": "int64", +"type": "string" +}, +"minimum": { +"description": "Optional. If type is `INTEGER` or `NUMBER`, `minimum` specifies the minimum allowed value.", +"format": "double", +"type": "number" +}, +"nullable": { +"description": "Optional. Indicates if the value of this field can be null.", +"type": "boolean" +}, +"pattern": { +"description": "Optional. If type is `STRING`, `pattern` specifies a regular expression that the string must match.", +"type": "string" +}, +"properties": { +"additionalProperties": { +"$ref": "GoogleCloudAiplatformV1Schema" +}, +"description": "Optional. If type is `OBJECT`, `properties` is a map of property names to schema definitions for each property of the object.", +"type": "object" +}, +"propertyOrdering": { +"description": "Optional. Order of properties displayed or used where order matters. This is not a standard field in OpenAPI specification, but can be used to control the order of properties.", +"items": { +"type": "string" +}, +"type": "array" +}, +"ref": { +"description": "Optional. Allows referencing another schema definition to use in place of this schema. The value must be a valid reference to a schema in `defs`. For example, the following schema defines a reference to a schema node named \"Pet\": type: object properties: pet: ref: #/defs/Pet defs: Pet: type: object properties: name: type: string The value of the \"pet\" property is a reference to the schema node named \"Pet\". See details in https://json-schema.org/understanding-json-schema/structuring", +"type": "string" +}, +"required": { +"description": "Optional. If type is `OBJECT`, `required` lists the names of properties that must be present.", +"items": { +"type": "string" +}, +"type": "array" +}, +"title": { +"description": "Optional. Title for the schema.", +"type": "string" +}, +"type": { +"description": "Optional. Data type of the schema field.", +"enum": [ +"TYPE_UNSPECIFIED", +"STRING", +"NUMBER", +"INTEGER", +"BOOLEAN", +"ARRAY", +"OBJECT", +"NULL" +], +"enumDescriptions": [ +"Not specified, should not be used.", +"OpenAPI string type", +"OpenAPI number type", +"OpenAPI integer type", +"OpenAPI boolean type", +"OpenAPI array type", +"OpenAPI object type", +"Null type" +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1SchemaAnnotationSpecColor": { +"description": "An entry of mapping between color and AnnotationSpec. The mapping is used in segmentation mask.", +"id": "GoogleCloudAiplatformV1SchemaAnnotationSpecColor", +"properties": { +"color": { +"$ref": "GoogleTypeColor", +"description": "The color of the AnnotationSpec in a segmentation mask." +}, +"displayName": { +"description": "The display name of the AnnotationSpec represented by the color in the segmentation mask.", +"type": "string" +}, +"id": { +"description": "The ID of the AnnotationSpec represented by the color in the segmentation mask.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1SchemaImageBoundingBoxAnnotation": { +"description": "Annotation details specific to image object detection.", +"id": "GoogleCloudAiplatformV1SchemaImageBoundingBoxAnnotation", +"properties": { +"annotationSpecId": { +"description": "The resource Id of the AnnotationSpec that this Annotation pertains to.", +"type": "string" +}, +"displayName": { +"description": "The display name of the AnnotationSpec that this Annotation pertains to.", +"type": "string" +}, +"xMax": { +"description": "The rightmost coordinate of the bounding box.", +"format": "double", +"type": "number" +}, +"xMin": { +"description": "The leftmost coordinate of the bounding box.", +"format": "double", +"type": "number" +}, +"yMax": { +"description": "The bottommost coordinate of the bounding box.", +"format": "double", +"type": "number" +}, +"yMin": { +"description": "The topmost coordinate of the bounding box.", +"format": "double", +"type": "number" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1SchemaImageClassificationAnnotation": { +"description": "Annotation details specific to image classification.", +"id": "GoogleCloudAiplatformV1SchemaImageClassificationAnnotation", +"properties": { +"annotationSpecId": { +"description": "The resource Id of the AnnotationSpec that this Annotation pertains to.", +"type": "string" +}, +"displayName": { +"description": "The display name of the AnnotationSpec that this Annotation pertains to.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1SchemaImageDataItem": { +"description": "Payload of Image DataItem.", +"id": "GoogleCloudAiplatformV1SchemaImageDataItem", +"properties": { +"gcsUri": { +"description": "Required. Google Cloud Storage URI points to the original image in user's bucket. The image is up to 30MB in size.", +"type": "string" +}, +"mimeType": { +"description": "Output only. The mime type of the content of the image. Only the images in below listed mime types are supported. - image/jpeg - image/gif - image/png - image/webp - image/bmp - image/tiff - image/vnd.microsoft.icon", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1SchemaImageDatasetMetadata": { +"description": "The metadata of Datasets that contain Image DataItems.", +"id": "GoogleCloudAiplatformV1SchemaImageDatasetMetadata", +"properties": { +"dataItemSchemaUri": { +"description": "Points to a YAML file stored on Google Cloud Storage describing payload of the Image DataItems that belong to this Dataset.", +"type": "string" +}, +"gcsBucket": { +"description": "Google Cloud Storage Bucket name that contains the blob data of this Dataset.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1SchemaImageSegmentationAnnotation": { +"description": "Annotation details specific to image segmentation.", +"id": "GoogleCloudAiplatformV1SchemaImageSegmentationAnnotation", +"properties": { +"maskAnnotation": { +"$ref": "GoogleCloudAiplatformV1SchemaImageSegmentationAnnotationMaskAnnotation", +"description": "Mask based segmentation annotation. Only one mask annotation can exist for one image." +}, +"polygonAnnotation": { +"$ref": "GoogleCloudAiplatformV1SchemaImageSegmentationAnnotationPolygonAnnotation", +"description": "Polygon annotation." +}, +"polylineAnnotation": { +"$ref": "GoogleCloudAiplatformV1SchemaImageSegmentationAnnotationPolylineAnnotation", +"description": "Polyline annotation." +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1SchemaImageSegmentationAnnotationMaskAnnotation": { +"description": "The mask based segmentation annotation.", +"id": "GoogleCloudAiplatformV1SchemaImageSegmentationAnnotationMaskAnnotation", +"properties": { +"annotationSpecColors": { +"description": "The mapping between color and AnnotationSpec for this Annotation.", +"items": { +"$ref": "GoogleCloudAiplatformV1SchemaAnnotationSpecColor" +}, +"type": "array" +}, +"maskGcsUri": { +"description": "Google Cloud Storage URI that points to the mask image. The image must be in PNG format. It must have the same size as the DataItem's image. Each pixel in the image mask represents the AnnotationSpec which the pixel in the image DataItem belong to. Each color is mapped to one AnnotationSpec based on annotation_spec_colors.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1SchemaImageSegmentationAnnotationPolygonAnnotation": { +"description": "Represents a polygon in image.", +"id": "GoogleCloudAiplatformV1SchemaImageSegmentationAnnotationPolygonAnnotation", +"properties": { +"annotationSpecId": { +"description": "The resource Id of the AnnotationSpec that this Annotation pertains to.", +"type": "string" +}, +"displayName": { +"description": "The display name of the AnnotationSpec that this Annotation pertains to.", +"type": "string" +}, +"vertexes": { +"description": "The vertexes are connected one by one and the last vertex is connected to the first one to represent a polygon.", +"items": { +"$ref": "GoogleCloudAiplatformV1SchemaVertex" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1SchemaImageSegmentationAnnotationPolylineAnnotation": { +"description": "Represents a polyline in image.", +"id": "GoogleCloudAiplatformV1SchemaImageSegmentationAnnotationPolylineAnnotation", +"properties": { +"annotationSpecId": { +"description": "The resource Id of the AnnotationSpec that this Annotation pertains to.", +"type": "string" +}, +"displayName": { +"description": "The display name of the AnnotationSpec that this Annotation pertains to.", +"type": "string" +}, +"vertexes": { +"description": "The vertexes are connected one by one and the last vertex in not connected to the first one.", +"items": { +"$ref": "GoogleCloudAiplatformV1SchemaVertex" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1SchemaModelevaluationMetricsBoundingBoxMetrics": { +"description": "Bounding box matching model metrics for a single intersection-over-union threshold and multiple label match confidence thresholds.", +"id": "GoogleCloudAiplatformV1SchemaModelevaluationMetricsBoundingBoxMetrics", +"properties": { +"confidenceMetrics": { +"description": "Metrics for each label-match confidence_threshold from 0.05,0.10,...,0.95,0.96,0.97,0.98,0.99. Precision-recall curve is derived from them.", +"items": { +"$ref": "GoogleCloudAiplatformV1SchemaModelevaluationMetricsBoundingBoxMetricsConfidenceMetrics" +}, +"type": "array" +}, +"iouThreshold": { +"description": "The intersection-over-union threshold value used to compute this metrics entry.", +"format": "float", +"type": "number" +}, +"meanAveragePrecision": { +"description": "The mean average precision, most often close to `auPrc`.", +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1SchemaModelevaluationMetricsBoundingBoxMetricsConfidenceMetrics": { +"description": "Metrics for a single confidence threshold.", +"id": "GoogleCloudAiplatformV1SchemaModelevaluationMetricsBoundingBoxMetricsConfidenceMetrics", +"properties": { +"confidenceThreshold": { +"description": "The confidence threshold value used to compute the metrics.", +"format": "float", +"type": "number" +}, +"f1Score": { +"description": "The harmonic mean of recall and precision.", +"format": "float", +"type": "number" +}, +"precision": { +"description": "Precision under the given confidence threshold.", +"format": "float", +"type": "number" +}, +"recall": { +"description": "Recall under the given confidence threshold.", +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1SchemaModelevaluationMetricsClassificationEvaluationMetrics": { +"description": "Metrics for classification evaluation results.", +"id": "GoogleCloudAiplatformV1SchemaModelevaluationMetricsClassificationEvaluationMetrics", +"properties": { +"auPrc": { +"description": "The Area Under Precision-Recall Curve metric. Micro-averaged for the overall evaluation.", +"format": "float", +"type": "number" +}, +"auRoc": { +"description": "The Area Under Receiver Operating Characteristic curve metric. Micro-averaged for the overall evaluation.", +"format": "float", +"type": "number" +}, +"confidenceMetrics": { +"description": "Metrics for each `confidenceThreshold` in 0.00,0.05,0.10,...,0.95,0.96,0.97,0.98,0.99 and `positionThreshold` = INT32_MAX_VALUE. ROC and precision-recall curves, and other aggregated metrics are derived from them. The confidence metrics entries may also be supplied for additional values of `positionThreshold`, but from these no aggregated metrics are computed.", +"items": { +"$ref": "GoogleCloudAiplatformV1SchemaModelevaluationMetricsClassificationEvaluationMetricsConfidenceMetrics" +}, +"type": "array" +}, +"confusionMatrix": { +"$ref": "GoogleCloudAiplatformV1SchemaModelevaluationMetricsConfusionMatrix", +"description": "Confusion matrix of the evaluation." +}, +"logLoss": { +"description": "The Log Loss metric.", +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1SchemaModelevaluationMetricsClassificationEvaluationMetricsConfidenceMetrics": { +"id": "GoogleCloudAiplatformV1SchemaModelevaluationMetricsClassificationEvaluationMetricsConfidenceMetrics", +"properties": { +"confidenceThreshold": { +"description": "Metrics are computed with an assumption that the Model never returns predictions with score lower than this value.", +"format": "float", +"type": "number" +}, +"confusionMatrix": { +"$ref": "GoogleCloudAiplatformV1SchemaModelevaluationMetricsConfusionMatrix", +"description": "Confusion matrix of the evaluation for this confidence_threshold." +}, +"f1Score": { +"description": "The harmonic mean of recall and precision. For summary metrics, it computes the micro-averaged F1 score.", +"format": "float", +"type": "number" +}, +"f1ScoreAt1": { +"description": "The harmonic mean of recallAt1 and precisionAt1.", +"format": "float", +"type": "number" +}, +"f1ScoreMacro": { +"description": "Macro-averaged F1 Score.", +"format": "float", +"type": "number" +}, +"f1ScoreMicro": { +"description": "Micro-averaged F1 Score.", +"format": "float", +"type": "number" +}, +"falseNegativeCount": { +"description": "The number of ground truth labels that are not matched by a Model created label.", +"format": "int64", +"type": "string" +}, +"falsePositiveCount": { +"description": "The number of Model created labels that do not match a ground truth label.", +"format": "int64", +"type": "string" +}, +"falsePositiveRate": { +"description": "False Positive Rate for the given confidence threshold.", +"format": "float", +"type": "number" +}, +"falsePositiveRateAt1": { +"description": "The False Positive Rate when only considering the label that has the highest prediction score and not below the confidence threshold for each DataItem.", +"format": "float", +"type": "number" +}, +"maxPredictions": { +"description": "Metrics are computed with an assumption that the Model always returns at most this many predictions (ordered by their score, descendingly), but they all still need to meet the `confidenceThreshold`.", +"format": "int32", +"type": "integer" +}, +"precision": { +"description": "Precision for the given confidence threshold.", +"format": "float", +"type": "number" +}, +"precisionAt1": { +"description": "The precision when only considering the label that has the highest prediction score and not below the confidence threshold for each DataItem.", +"format": "float", +"type": "number" +}, +"recall": { +"description": "Recall (True Positive Rate) for the given confidence threshold.", +"format": "float", +"type": "number" +}, +"recallAt1": { +"description": "The Recall (True Positive Rate) when only considering the label that has the highest prediction score and not below the confidence threshold for each DataItem.", +"format": "float", +"type": "number" +}, +"trueNegativeCount": { +"description": "The number of labels that were not created by the Model, but if they would, they would not match a ground truth label.", +"format": "int64", +"type": "string" +}, +"truePositiveCount": { +"description": "The number of Model created labels that match a ground truth label.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1SchemaModelevaluationMetricsConfusionMatrix": { +"id": "GoogleCloudAiplatformV1SchemaModelevaluationMetricsConfusionMatrix", +"properties": { +"annotationSpecs": { +"description": "AnnotationSpecs used in the confusion matrix. For AutoML Text Extraction, a special negative AnnotationSpec with empty `id` and `displayName` of \"NULL\" will be added as the last element.", +"items": { +"$ref": "GoogleCloudAiplatformV1SchemaModelevaluationMetricsConfusionMatrixAnnotationSpecRef" +}, +"type": "array" +}, +"rows": { +"description": "Rows in the confusion matrix. The number of rows is equal to the size of `annotationSpecs`. `rowsi` is the number of DataItems that have ground truth of the `annotationSpecs[i]` and are predicted as `annotationSpecs[j]` by the Model being evaluated. For Text Extraction, when `annotationSpecs[i]` is the last element in `annotationSpecs`, i.e. the special negative AnnotationSpec, `rowsi` is the number of predicted entities of `annoatationSpec[j]` that are not labeled as any of the ground truth AnnotationSpec. When annotationSpecs[j] is the special negative AnnotationSpec, `rowsi` is the number of entities have ground truth of `annotationSpec[i]` that are not predicted as an entity by the Model. The value of the last cell, i.e. `rowi` where i == j and `annotationSpec[i]` is the special negative AnnotationSpec, is always 0.", +"items": { +"items": { +"type": "any" +}, +"type": "array" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1SchemaModelevaluationMetricsConfusionMatrixAnnotationSpecRef": { +"id": "GoogleCloudAiplatformV1SchemaModelevaluationMetricsConfusionMatrixAnnotationSpecRef", +"properties": { +"displayName": { +"description": "Display name of the AnnotationSpec.", +"type": "string" +}, +"id": { +"description": "ID of the AnnotationSpec.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1SchemaModelevaluationMetricsForecastingEvaluationMetrics": { +"description": "Metrics for forecasting evaluation results.", +"id": "GoogleCloudAiplatformV1SchemaModelevaluationMetricsForecastingEvaluationMetrics", +"properties": { +"meanAbsoluteError": { +"description": "Mean Absolute Error (MAE).", +"format": "float", +"type": "number" +}, +"meanAbsolutePercentageError": { +"description": "Mean absolute percentage error. Infinity when there are zeros in the ground truth.", +"format": "float", +"type": "number" +}, +"quantileMetrics": { +"description": "The quantile metrics entries for each quantile.", +"items": { +"$ref": "GoogleCloudAiplatformV1SchemaModelevaluationMetricsForecastingEvaluationMetricsQuantileMetricsEntry" +}, +"type": "array" +}, +"rSquared": { +"description": "Coefficient of determination as Pearson correlation coefficient. Undefined when ground truth or predictions are constant or near constant.", +"format": "float", +"type": "number" +}, +"rootMeanSquaredError": { +"description": "Root Mean Squared Error (RMSE).", +"format": "float", +"type": "number" +}, +"rootMeanSquaredLogError": { +"description": "Root mean squared log error. Undefined when there are negative ground truth values or predictions.", +"format": "float", +"type": "number" +}, +"rootMeanSquaredPercentageError": { +"description": "Root Mean Square Percentage Error. Square root of MSPE. Undefined/imaginary when MSPE is negative.", +"format": "float", +"type": "number" +}, +"weightedAbsolutePercentageError": { +"description": "Weighted Absolute Percentage Error. Does not use weights, this is just what the metric is called. Undefined if actual values sum to zero. Will be very large if actual values sum to a very small number.", +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1SchemaModelevaluationMetricsForecastingEvaluationMetricsQuantileMetricsEntry": { +"description": "Entry for the Quantiles loss type optimization objective.", +"id": "GoogleCloudAiplatformV1SchemaModelevaluationMetricsForecastingEvaluationMetricsQuantileMetricsEntry", +"properties": { +"observedQuantile": { +"description": "This is a custom metric that calculates the percentage of true values that were less than the predicted value for that quantile. Only populated when optimization_objective is minimize-quantile-loss and each entry corresponds to an entry in quantiles The percent value can be used to compare with the quantile value, which is the target value.", +"format": "double", +"type": "number" +}, +"quantile": { +"description": "The quantile for this entry.", +"format": "double", +"type": "number" +}, +"scaledPinballLoss": { +"description": "The scaled pinball loss of this quantile.", +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1SchemaModelevaluationMetricsGeneralTextGenerationEvaluationMetrics": { +"id": "GoogleCloudAiplatformV1SchemaModelevaluationMetricsGeneralTextGenerationEvaluationMetrics", +"properties": { +"bleu": { +"description": "BLEU (bilingual evaluation understudy) scores based on sacrebleu implementation.", +"format": "float", +"type": "number" +}, +"rougeLSum": { +"description": "ROUGE-L (Longest Common Subsequence) scoring at summary level.", +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1SchemaModelevaluationMetricsImageObjectDetectionEvaluationMetrics": { +"description": "Metrics for image object detection evaluation results.", +"id": "GoogleCloudAiplatformV1SchemaModelevaluationMetricsImageObjectDetectionEvaluationMetrics", +"properties": { +"boundingBoxMeanAveragePrecision": { +"description": "The single metric for bounding boxes evaluation: the `meanAveragePrecision` averaged over all `boundingBoxMetricsEntries`.", +"format": "float", +"type": "number" +}, +"boundingBoxMetrics": { +"description": "The bounding boxes match metrics for each intersection-over-union threshold 0.05,0.10,...,0.95,0.96,0.97,0.98,0.99 and each label confidence threshold 0.05,0.10,...,0.95,0.96,0.97,0.98,0.99 pair.", +"items": { +"$ref": "GoogleCloudAiplatformV1SchemaModelevaluationMetricsBoundingBoxMetrics" +}, +"type": "array" +}, +"evaluatedBoundingBoxCount": { +"description": "The total number of bounding boxes (i.e. summed over all images) the ground truth used to create this evaluation had.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1SchemaModelevaluationMetricsImageSegmentationEvaluationMetrics": { +"description": "Metrics for image segmentation evaluation results.", +"id": "GoogleCloudAiplatformV1SchemaModelevaluationMetricsImageSegmentationEvaluationMetrics", +"properties": { +"confidenceMetricsEntries": { +"description": "Metrics for each confidenceThreshold in 0.00,0.05,0.10,...,0.95,0.96,0.97,0.98,0.99 Precision-recall curve can be derived from it.", +"items": { +"$ref": "GoogleCloudAiplatformV1SchemaModelevaluationMetricsImageSegmentationEvaluationMetricsConfidenceMetricsEntry" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1SchemaModelevaluationMetricsImageSegmentationEvaluationMetricsConfidenceMetricsEntry": { +"id": "GoogleCloudAiplatformV1SchemaModelevaluationMetricsImageSegmentationEvaluationMetricsConfidenceMetricsEntry", +"properties": { +"confidenceThreshold": { +"description": "Metrics are computed with an assumption that the model never returns predictions with score lower than this value.", +"format": "float", +"type": "number" +}, +"confusionMatrix": { +"$ref": "GoogleCloudAiplatformV1SchemaModelevaluationMetricsConfusionMatrix", +"description": "Confusion matrix for the given confidence threshold." +}, +"diceScoreCoefficient": { +"description": "DSC or the F1 score, The harmonic mean of recall and precision.", +"format": "float", +"type": "number" +}, +"iouScore": { +"description": "The intersection-over-union score. The measure of overlap of the annotation's category mask with ground truth category mask on the DataItem.", +"format": "float", +"type": "number" +}, +"precision": { +"description": "Precision for the given confidence threshold.", +"format": "float", +"type": "number" +}, +"recall": { +"description": "Recall (True Positive Rate) for the given confidence threshold.", +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1SchemaModelevaluationMetricsPairwiseTextGenerationEvaluationMetrics": { +"description": "Metrics for general pairwise text generation evaluation results.", +"id": "GoogleCloudAiplatformV1SchemaModelevaluationMetricsPairwiseTextGenerationEvaluationMetrics", +"properties": { +"accuracy": { +"description": "Fraction of cases where the autorater agreed with the human raters.", +"format": "float", +"type": "number" +}, +"baselineModelWinRate": { +"description": "Percentage of time the autorater decided the baseline model had the better response.", +"format": "float", +"type": "number" +}, +"cohensKappa": { +"description": "A measurement of agreement between the autorater and human raters that takes the likelihood of random agreement into account.", +"format": "float", +"type": "number" +}, +"f1Score": { +"description": "Harmonic mean of precision and recall.", +"format": "float", +"type": "number" +}, +"falseNegativeCount": { +"description": "Number of examples where the autorater chose the baseline model, but humans preferred the model.", +"format": "int64", +"type": "string" +}, +"falsePositiveCount": { +"description": "Number of examples where the autorater chose the model, but humans preferred the baseline model.", +"format": "int64", +"type": "string" +}, +"humanPreferenceBaselineModelWinRate": { +"description": "Percentage of time humans decided the baseline model had the better response.", +"format": "float", +"type": "number" +}, +"humanPreferenceModelWinRate": { +"description": "Percentage of time humans decided the model had the better response.", +"format": "float", +"type": "number" +}, +"modelWinRate": { +"description": "Percentage of time the autorater decided the model had the better response.", +"format": "float", +"type": "number" +}, +"precision": { +"description": "Fraction of cases where the autorater and humans thought the model had a better response out of all cases where the autorater thought the model had a better response. True positive divided by all positive.", +"format": "float", +"type": "number" +}, +"recall": { +"description": "Fraction of cases where the autorater and humans thought the model had a better response out of all cases where the humans thought the model had a better response.", +"format": "float", +"type": "number" +}, +"trueNegativeCount": { +"description": "Number of examples where both the autorater and humans decided that the model had the worse response.", +"format": "int64", +"type": "string" +}, +"truePositiveCount": { +"description": "Number of examples where both the autorater and humans decided that the model had the better response.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1SchemaModelevaluationMetricsQuestionAnsweringEvaluationMetrics": { +"id": "GoogleCloudAiplatformV1SchemaModelevaluationMetricsQuestionAnsweringEvaluationMetrics", +"properties": { +"exactMatch": { +"description": "The rate at which the input predicted strings exactly match their references.", +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1SchemaModelevaluationMetricsRegressionEvaluationMetrics": { +"description": "Metrics for regression evaluation results.", +"id": "GoogleCloudAiplatformV1SchemaModelevaluationMetricsRegressionEvaluationMetrics", +"properties": { +"meanAbsoluteError": { +"description": "Mean Absolute Error (MAE).", +"format": "float", +"type": "number" +}, +"meanAbsolutePercentageError": { +"description": "Mean absolute percentage error. Infinity when there are zeros in the ground truth.", +"format": "float", +"type": "number" +}, +"rSquared": { +"description": "Coefficient of determination as Pearson correlation coefficient. Undefined when ground truth or predictions are constant or near constant.", +"format": "float", +"type": "number" +}, +"rootMeanSquaredError": { +"description": "Root Mean Squared Error (RMSE).", +"format": "float", +"type": "number" +}, +"rootMeanSquaredLogError": { +"description": "Root mean squared log error. Undefined when there are negative ground truth values or predictions.", +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1SchemaModelevaluationMetricsSummarizationEvaluationMetrics": { +"id": "GoogleCloudAiplatformV1SchemaModelevaluationMetricsSummarizationEvaluationMetrics", +"properties": { +"rougeLSum": { +"description": "ROUGE-L (Longest Common Subsequence) scoring at summary level.", +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1SchemaModelevaluationMetricsTextExtractionEvaluationMetrics": { +"description": "Metrics for text extraction evaluation results.", +"id": "GoogleCloudAiplatformV1SchemaModelevaluationMetricsTextExtractionEvaluationMetrics", +"properties": { +"confidenceMetrics": { +"description": "Metrics that have confidence thresholds. Precision-recall curve can be derived from them.", +"items": { +"$ref": "GoogleCloudAiplatformV1SchemaModelevaluationMetricsTextExtractionEvaluationMetricsConfidenceMetrics" +}, +"type": "array" +}, +"confusionMatrix": { +"$ref": "GoogleCloudAiplatformV1SchemaModelevaluationMetricsConfusionMatrix", +"description": "Confusion matrix of the evaluation. Only set for Models where number of AnnotationSpecs is no more than 10. Only set for ModelEvaluations, not for ModelEvaluationSlices." +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1SchemaModelevaluationMetricsTextExtractionEvaluationMetricsConfidenceMetrics": { +"id": "GoogleCloudAiplatformV1SchemaModelevaluationMetricsTextExtractionEvaluationMetricsConfidenceMetrics", +"properties": { +"confidenceThreshold": { +"description": "Metrics are computed with an assumption that the Model never returns predictions with score lower than this value.", +"format": "float", +"type": "number" +}, +"f1Score": { +"description": "The harmonic mean of recall and precision.", +"format": "float", +"type": "number" +}, +"precision": { +"description": "Precision for the given confidence threshold.", +"format": "float", +"type": "number" +}, +"recall": { +"description": "Recall (True Positive Rate) for the given confidence threshold.", +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1SchemaModelevaluationMetricsTextSentimentEvaluationMetrics": { +"description": "Model evaluation metrics for text sentiment problems.", +"id": "GoogleCloudAiplatformV1SchemaModelevaluationMetricsTextSentimentEvaluationMetrics", +"properties": { +"confusionMatrix": { +"$ref": "GoogleCloudAiplatformV1SchemaModelevaluationMetricsConfusionMatrix", +"description": "Confusion matrix of the evaluation. Only set for ModelEvaluations, not for ModelEvaluationSlices." +}, +"f1Score": { +"description": "The harmonic mean of recall and precision.", +"format": "float", +"type": "number" +}, +"linearKappa": { +"description": "Linear weighted kappa. Only set for ModelEvaluations, not for ModelEvaluationSlices.", +"format": "float", +"type": "number" +}, +"meanAbsoluteError": { +"description": "Mean absolute error. Only set for ModelEvaluations, not for ModelEvaluationSlices.", +"format": "float", +"type": "number" +}, +"meanSquaredError": { +"description": "Mean squared error. Only set for ModelEvaluations, not for ModelEvaluationSlices.", +"format": "float", +"type": "number" +}, +"precision": { +"description": "Precision.", +"format": "float", +"type": "number" +}, +"quadraticKappa": { +"description": "Quadratic weighted kappa. Only set for ModelEvaluations, not for ModelEvaluationSlices.", +"format": "float", +"type": "number" +}, +"recall": { +"description": "Recall.", +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1SchemaModelevaluationMetricsTrackMetrics": { +"description": "UNIMPLEMENTED. Track matching model metrics for a single track match threshold and multiple label match confidence thresholds.", +"id": "GoogleCloudAiplatformV1SchemaModelevaluationMetricsTrackMetrics", +"properties": { +"confidenceMetrics": { +"description": "Metrics for each label-match `confidenceThreshold` from 0.05,0.10,...,0.95,0.96,0.97,0.98,0.99. Precision-recall curve is derived from them.", +"items": { +"$ref": "GoogleCloudAiplatformV1SchemaModelevaluationMetricsTrackMetricsConfidenceMetrics" +}, +"type": "array" +}, +"iouThreshold": { +"description": "The intersection-over-union threshold value between bounding boxes across frames used to compute this metric entry.", +"format": "float", +"type": "number" +}, +"meanBoundingBoxIou": { +"description": "The mean bounding box iou over all confidence thresholds.", +"format": "float", +"type": "number" +}, +"meanMismatchRate": { +"description": "The mean mismatch rate over all confidence thresholds.", +"format": "float", +"type": "number" +}, +"meanTrackingAveragePrecision": { +"description": "The mean average precision over all confidence thresholds.", +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1SchemaModelevaluationMetricsTrackMetricsConfidenceMetrics": { +"description": "Metrics for a single confidence threshold.", +"id": "GoogleCloudAiplatformV1SchemaModelevaluationMetricsTrackMetricsConfidenceMetrics", +"properties": { +"boundingBoxIou": { +"description": "Bounding box intersection-over-union precision. Measures how well the bounding boxes overlap between each other (e.g. complete overlap or just barely above iou_threshold).", +"format": "float", +"type": "number" +}, +"confidenceThreshold": { +"description": "The confidence threshold value used to compute the metrics.", +"format": "float", +"type": "number" +}, +"mismatchRate": { +"description": "Mismatch rate, which measures the tracking consistency, i.e. correctness of instance ID continuity.", +"format": "float", +"type": "number" +}, +"trackingPrecision": { +"description": "Tracking precision.", +"format": "float", +"type": "number" +}, +"trackingRecall": { +"description": "Tracking recall.", +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1SchemaModelevaluationMetricsVideoActionMetrics": { +"description": "The Evaluation metrics given a specific precision_window_length.", +"id": "GoogleCloudAiplatformV1SchemaModelevaluationMetricsVideoActionMetrics", +"properties": { +"confidenceMetrics": { +"description": "Metrics for each label-match confidence_threshold from 0.05,0.10,...,0.95,0.96,0.97,0.98,0.99.", +"items": { +"$ref": "GoogleCloudAiplatformV1SchemaModelevaluationMetricsVideoActionMetricsConfidenceMetrics" +}, +"type": "array" +}, +"meanAveragePrecision": { +"description": "The mean average precision.", +"format": "float", +"type": "number" +}, +"precisionWindowLength": { +"description": "This VideoActionMetrics is calculated based on this prediction window length. If the predicted action's timestamp is inside the time window whose center is the ground truth action's timestamp with this specific length, the prediction result is treated as a true positive.", +"format": "google-duration", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1SchemaModelevaluationMetricsVideoActionMetricsConfidenceMetrics": { +"description": "Metrics for a single confidence threshold.", +"id": "GoogleCloudAiplatformV1SchemaModelevaluationMetricsVideoActionMetricsConfidenceMetrics", +"properties": { +"confidenceThreshold": { +"description": "Output only. The confidence threshold value used to compute the metrics.", +"format": "float", +"type": "number" +}, +"f1Score": { +"description": "Output only. The harmonic mean of recall and precision.", +"format": "float", +"type": "number" +}, +"precision": { +"description": "Output only. Precision for the given confidence threshold.", +"format": "float", +"type": "number" +}, +"recall": { +"description": "Output only. Recall for the given confidence threshold.", +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1SchemaModelevaluationMetricsVideoActionRecognitionMetrics": { +"description": "Model evaluation metrics for video action recognition.", +"id": "GoogleCloudAiplatformV1SchemaModelevaluationMetricsVideoActionRecognitionMetrics", +"properties": { +"evaluatedActionCount": { +"description": "The number of ground truth actions used to create this evaluation.", +"format": "int32", +"type": "integer" +}, +"videoActionMetrics": { +"description": "The metric entries for precision window lengths: 1s,2s,3s.", +"items": { +"$ref": "GoogleCloudAiplatformV1SchemaModelevaluationMetricsVideoActionMetrics" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1SchemaModelevaluationMetricsVideoObjectTrackingMetrics": { +"description": "Model evaluation metrics for video object tracking problems. Evaluates prediction quality of both labeled bounding boxes and labeled tracks (i.e. series of bounding boxes sharing same label and instance ID).", +"id": "GoogleCloudAiplatformV1SchemaModelevaluationMetricsVideoObjectTrackingMetrics", +"properties": { +"boundingBoxMeanAveragePrecision": { +"description": "The single metric for bounding boxes evaluation: the `meanAveragePrecision` averaged over all `boundingBoxMetrics`.", +"format": "float", +"type": "number" +}, +"boundingBoxMetrics": { +"description": "The bounding boxes match metrics for each intersection-over-union threshold 0.05,0.10,...,0.95,0.96,0.97,0.98,0.99 and each label confidence threshold 0.05,0.10,...,0.95,0.96,0.97,0.98,0.99 pair.", +"items": { +"$ref": "GoogleCloudAiplatformV1SchemaModelevaluationMetricsBoundingBoxMetrics" +}, +"type": "array" +}, +"evaluatedBoundingBoxCount": { +"description": "UNIMPLEMENTED. The total number of bounding boxes (i.e. summed over all frames) the ground truth used to create this evaluation had.", +"format": "int32", +"type": "integer" +}, +"evaluatedFrameCount": { +"description": "UNIMPLEMENTED. The number of video frames used to create this evaluation.", +"format": "int32", +"type": "integer" +}, +"evaluatedTrackCount": { +"description": "UNIMPLEMENTED. The total number of tracks (i.e. as seen across all frames) the ground truth used to create this evaluation had.", +"format": "int32", +"type": "integer" +}, +"trackMeanAveragePrecision": { +"description": "UNIMPLEMENTED. The single metric for tracks accuracy evaluation: the `meanAveragePrecision` averaged over all `trackMetrics`.", +"format": "float", +"type": "number" +}, +"trackMeanBoundingBoxIou": { +"description": "UNIMPLEMENTED. The single metric for tracks bounding box iou evaluation: the `meanBoundingBoxIou` averaged over all `trackMetrics`.", +"format": "float", +"type": "number" +}, +"trackMeanMismatchRate": { +"description": "UNIMPLEMENTED. The single metric for tracking consistency evaluation: the `meanMismatchRate` averaged over all `trackMetrics`.", +"format": "float", +"type": "number" +}, +"trackMetrics": { +"description": "UNIMPLEMENTED. The tracks match metrics for each intersection-over-union threshold 0.05,0.10,...,0.95,0.96,0.97,0.98,0.99 and each label confidence threshold 0.05,0.10,...,0.95,0.96,0.97,0.98,0.99 pair.", +"items": { +"$ref": "GoogleCloudAiplatformV1SchemaModelevaluationMetricsTrackMetrics" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1SchemaPredictInstanceImageClassificationPredictionInstance": { +"description": "Prediction input format for Image Classification.", +"id": "GoogleCloudAiplatformV1SchemaPredictInstanceImageClassificationPredictionInstance", +"properties": { +"content": { +"description": "The image bytes or Cloud Storage URI to make the prediction on.", +"type": "string" +}, +"mimeType": { +"description": "The MIME type of the content of the image. Only the images in below listed MIME types are supported. - image/jpeg - image/gif - image/png - image/webp - image/bmp - image/tiff - image/vnd.microsoft.icon", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1SchemaPredictInstanceImageObjectDetectionPredictionInstance": { +"description": "Prediction input format for Image Object Detection.", +"id": "GoogleCloudAiplatformV1SchemaPredictInstanceImageObjectDetectionPredictionInstance", +"properties": { +"content": { +"description": "The image bytes or Cloud Storage URI to make the prediction on.", +"type": "string" +}, +"mimeType": { +"description": "The MIME type of the content of the image. Only the images in below listed MIME types are supported. - image/jpeg - image/gif - image/png - image/webp - image/bmp - image/tiff - image/vnd.microsoft.icon", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1SchemaPredictInstanceImageSegmentationPredictionInstance": { +"description": "Prediction input format for Image Segmentation.", +"id": "GoogleCloudAiplatformV1SchemaPredictInstanceImageSegmentationPredictionInstance", +"properties": { +"content": { +"description": "The image bytes to make the predictions on.", +"type": "string" +}, +"mimeType": { +"description": "The MIME type of the content of the image. Only the images in below listed MIME types are supported. - image/jpeg - image/png", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1SchemaPredictInstanceTextClassificationPredictionInstance": { +"description": "Prediction input format for Text Classification.", +"id": "GoogleCloudAiplatformV1SchemaPredictInstanceTextClassificationPredictionInstance", +"properties": { +"content": { +"description": "The text snippet to make the predictions on.", +"type": "string" +}, +"mimeType": { +"description": "The MIME type of the text snippet. The supported MIME types are listed below. - text/plain", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1SchemaPredictInstanceTextExtractionPredictionInstance": { +"description": "Prediction input format for Text Extraction.", +"id": "GoogleCloudAiplatformV1SchemaPredictInstanceTextExtractionPredictionInstance", +"properties": { +"content": { +"description": "The text snippet to make the predictions on.", +"type": "string" +}, +"key": { +"description": "This field is only used for batch prediction. If a key is provided, the batch prediction result will by mapped to this key. If omitted, then the batch prediction result will contain the entire input instance. Vertex AI will not check if keys in the request are duplicates, so it is up to the caller to ensure the keys are unique.", +"type": "string" +}, +"mimeType": { +"description": "The MIME type of the text snippet. The supported MIME types are listed below. - text/plain", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1SchemaPredictInstanceTextSentimentPredictionInstance": { +"description": "Prediction input format for Text Sentiment.", +"id": "GoogleCloudAiplatformV1SchemaPredictInstanceTextSentimentPredictionInstance", +"properties": { +"content": { +"description": "The text snippet to make the predictions on.", +"type": "string" +}, +"mimeType": { +"description": "The MIME type of the text snippet. The supported MIME types are listed below. - text/plain", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1SchemaPredictInstanceVideoActionRecognitionPredictionInstance": { +"description": "Prediction input format for Video Action Recognition.", +"id": "GoogleCloudAiplatformV1SchemaPredictInstanceVideoActionRecognitionPredictionInstance", +"properties": { +"content": { +"description": "The Google Cloud Storage location of the video on which to perform the prediction.", +"type": "string" +}, +"mimeType": { +"description": "The MIME type of the content of the video. Only the following are supported: video/mp4 video/avi video/quicktime", +"type": "string" +}, +"timeSegmentEnd": { +"description": "The end, exclusive, of the video's time segment on which to perform the prediction. Expressed as a number of seconds as measured from the start of the video, with \"s\" appended at the end. Fractions are allowed, up to a microsecond precision, and \"inf\" or \"Infinity\" is allowed, which means the end of the video.", +"type": "string" +}, +"timeSegmentStart": { +"description": "The beginning, inclusive, of the video's time segment on which to perform the prediction. Expressed as a number of seconds as measured from the start of the video, with \"s\" appended at the end. Fractions are allowed, up to a microsecond precision.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1SchemaPredictInstanceVideoClassificationPredictionInstance": { +"description": "Prediction input format for Video Classification.", +"id": "GoogleCloudAiplatformV1SchemaPredictInstanceVideoClassificationPredictionInstance", +"properties": { +"content": { +"description": "The Google Cloud Storage location of the video on which to perform the prediction.", +"type": "string" +}, +"mimeType": { +"description": "The MIME type of the content of the video. Only the following are supported: video/mp4 video/avi video/quicktime", +"type": "string" +}, +"timeSegmentEnd": { +"description": "The end, exclusive, of the video's time segment on which to perform the prediction. Expressed as a number of seconds as measured from the start of the video, with \"s\" appended at the end. Fractions are allowed, up to a microsecond precision, and \"inf\" or \"Infinity\" is allowed, which means the end of the video.", +"type": "string" +}, +"timeSegmentStart": { +"description": "The beginning, inclusive, of the video's time segment on which to perform the prediction. Expressed as a number of seconds as measured from the start of the video, with \"s\" appended at the end. Fractions are allowed, up to a microsecond precision.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1SchemaPredictInstanceVideoObjectTrackingPredictionInstance": { +"description": "Prediction input format for Video Object Tracking.", +"id": "GoogleCloudAiplatformV1SchemaPredictInstanceVideoObjectTrackingPredictionInstance", +"properties": { +"content": { +"description": "The Google Cloud Storage location of the video on which to perform the prediction.", +"type": "string" +}, +"mimeType": { +"description": "The MIME type of the content of the video. Only the following are supported: video/mp4 video/avi video/quicktime", +"type": "string" +}, +"timeSegmentEnd": { +"description": "The end, exclusive, of the video's time segment on which to perform the prediction. Expressed as a number of seconds as measured from the start of the video, with \"s\" appended at the end. Fractions are allowed, up to a microsecond precision, and \"inf\" or \"Infinity\" is allowed, which means the end of the video.", +"type": "string" +}, +"timeSegmentStart": { +"description": "The beginning, inclusive, of the video's time segment on which to perform the prediction. Expressed as a number of seconds as measured from the start of the video, with \"s\" appended at the end. Fractions are allowed, up to a microsecond precision.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1SchemaPredictParamsGroundingConfig": { +"description": "The configuration for grounding checking.", +"id": "GoogleCloudAiplatformV1SchemaPredictParamsGroundingConfig", +"properties": { +"disableAttribution": { +"deprecated": true, +"description": "If set, skip finding claim attributions (i.e not generate grounding citation).", +"type": "boolean" +}, +"sources": { +"description": "The sources for the grounding checking.", +"items": { +"$ref": "GoogleCloudAiplatformV1SchemaPredictParamsGroundingConfigSourceEntry" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1SchemaPredictParamsGroundingConfigSourceEntry": { +"description": "Single source entry for the grounding checking.", +"id": "GoogleCloudAiplatformV1SchemaPredictParamsGroundingConfigSourceEntry", +"properties": { +"enterpriseDatastore": { +"deprecated": true, +"description": "The uri of the Vertex AI Search data source. Deprecated. Use vertex_ai_search_datastore instead.", +"type": "string" +}, +"inlineContext": { +"description": "The grounding text passed inline with the Predict API. It can support up to 1 million bytes.", +"type": "string" +}, +"type": { +"description": "The type of the grounding checking source.", +"enum": [ +"UNSPECIFIED", +"WEB", +"ENTERPRISE", +"VERTEX_AI_SEARCH", +"INLINE" +], +"enumDeprecated": [ +false, +false, +true, +false, +false +], +"enumDescriptions": [ +"", +"Uses Web Search to check the grounding.", +"Uses Vertex AI Search to check the grounding. Deprecated. Use VERTEX_AI_SEARCH instead.", +"Uses Vertex AI Search to check the grounding", +"Uses inline context to check the grounding." +], +"type": "string" +}, +"vertexAiSearchDatastore": { +"description": "The uri of the Vertex AI Search data source.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1SchemaPredictParamsImageClassificationPredictionParams": { +"description": "Prediction model parameters for Image Classification.", +"id": "GoogleCloudAiplatformV1SchemaPredictParamsImageClassificationPredictionParams", +"properties": { +"confidenceThreshold": { +"description": "The Model only returns predictions with at least this confidence score. Default value is 0.0", +"format": "float", +"type": "number" +}, +"maxPredictions": { +"description": "The Model only returns up to that many top, by confidence score, predictions per instance. If this number is very high, the Model may return fewer predictions. Default value is 10.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1SchemaPredictParamsImageObjectDetectionPredictionParams": { +"description": "Prediction model parameters for Image Object Detection.", +"id": "GoogleCloudAiplatformV1SchemaPredictParamsImageObjectDetectionPredictionParams", +"properties": { +"confidenceThreshold": { +"description": "The Model only returns predictions with at least this confidence score. Default value is 0.0", +"format": "float", +"type": "number" +}, +"maxPredictions": { +"description": "The Model only returns up to that many top, by confidence score, predictions per instance. Note that number of returned predictions is also limited by metadata's predictionsLimit. Default value is 10.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1SchemaPredictParamsImageSegmentationPredictionParams": { +"description": "Prediction model parameters for Image Segmentation.", +"id": "GoogleCloudAiplatformV1SchemaPredictParamsImageSegmentationPredictionParams", +"properties": { +"confidenceThreshold": { +"description": "When the model predicts category of pixels of the image, it will only provide predictions for pixels that it is at least this much confident about. All other pixels will be classified as background. Default value is 0.5.", +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1SchemaPredictParamsVideoActionRecognitionPredictionParams": { +"description": "Prediction model parameters for Video Action Recognition.", +"id": "GoogleCloudAiplatformV1SchemaPredictParamsVideoActionRecognitionPredictionParams", +"properties": { +"confidenceThreshold": { +"description": "The Model only returns predictions with at least this confidence score. Default value is 0.0", +"format": "float", +"type": "number" +}, +"maxPredictions": { +"description": "The model only returns up to that many top, by confidence score, predictions per frame of the video. If this number is very high, the Model may return fewer predictions per frame. Default value is 50.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1SchemaPredictParamsVideoClassificationPredictionParams": { +"description": "Prediction model parameters for Video Classification.", +"id": "GoogleCloudAiplatformV1SchemaPredictParamsVideoClassificationPredictionParams", +"properties": { +"confidenceThreshold": { +"description": "The Model only returns predictions with at least this confidence score. Default value is 0.0", +"format": "float", +"type": "number" +}, +"maxPredictions": { +"description": "The Model only returns up to that many top, by confidence score, predictions per instance. If this number is very high, the Model may return fewer predictions. Default value is 10,000.", +"format": "int32", +"type": "integer" +}, +"oneSecIntervalClassification": { +"description": "Set to true to request classification for a video at one-second intervals. Vertex AI returns labels and their confidence scores for each second of the entire time segment of the video that user specified in the input WARNING: Model evaluation is not done for this classification type, the quality of it depends on the training data, but there are no metrics provided to describe that quality. Default value is false", +"type": "boolean" +}, +"segmentClassification": { +"description": "Set to true to request segment-level classification. Vertex AI returns labels and their confidence scores for the entire time segment of the video that user specified in the input instance. Default value is true", +"type": "boolean" +}, +"shotClassification": { +"description": "Set to true to request shot-level classification. Vertex AI determines the boundaries for each camera shot in the entire time segment of the video that user specified in the input instance. Vertex AI then returns labels and their confidence scores for each detected shot, along with the start and end time of the shot. WARNING: Model evaluation is not done for this classification type, the quality of it depends on the training data, but there are no metrics provided to describe that quality. Default value is false", +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1SchemaPredictParamsVideoObjectTrackingPredictionParams": { +"description": "Prediction model parameters for Video Object Tracking.", +"id": "GoogleCloudAiplatformV1SchemaPredictParamsVideoObjectTrackingPredictionParams", +"properties": { +"confidenceThreshold": { +"description": "The Model only returns predictions with at least this confidence score. Default value is 0.0", +"format": "float", +"type": "number" +}, +"maxPredictions": { +"description": "The model only returns up to that many top, by confidence score, predictions per frame of the video. If this number is very high, the Model may return fewer predictions per frame. Default value is 50.", +"format": "int32", +"type": "integer" +}, +"minBoundingBoxSize": { +"description": "Only bounding boxes with shortest edge at least that long as a relative value of video frame size are returned. Default value is 0.0.", +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1SchemaPredictPredictionClassificationPredictionResult": { +"description": "Prediction output format for Image and Text Classification.", +"id": "GoogleCloudAiplatformV1SchemaPredictPredictionClassificationPredictionResult", +"properties": { +"confidences": { +"description": "The Model's confidences in correctness of the predicted IDs, higher value means higher confidence. Order matches the Ids.", +"items": { +"format": "float", +"type": "number" +}, +"type": "array" +}, +"displayNames": { +"description": "The display names of the AnnotationSpecs that had been identified, order matches the IDs.", +"items": { +"type": "string" +}, +"type": "array" +}, +"ids": { +"description": "The resource IDs of the AnnotationSpecs that had been identified.", +"items": { +"format": "int64", +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1SchemaPredictPredictionImageObjectDetectionPredictionResult": { +"description": "Prediction output format for Image Object Detection.", +"id": "GoogleCloudAiplatformV1SchemaPredictPredictionImageObjectDetectionPredictionResult", +"properties": { +"bboxes": { +"description": "Bounding boxes, i.e. the rectangles over the image, that pinpoint the found AnnotationSpecs. Given in order that matches the IDs. Each bounding box is an array of 4 numbers `xMin`, `xMax`, `yMin`, and `yMax`, which represent the extremal coordinates of the box. They are relative to the image size, and the point 0,0 is in the top left of the image.", +"items": { +"items": { +"type": "any" +}, +"type": "array" +}, +"type": "array" +}, +"confidences": { +"description": "The Model's confidences in correctness of the predicted IDs, higher value means higher confidence. Order matches the Ids.", +"items": { +"format": "float", +"type": "number" +}, +"type": "array" +}, +"displayNames": { +"description": "The display names of the AnnotationSpecs that had been identified, order matches the IDs.", +"items": { +"type": "string" +}, +"type": "array" +}, +"ids": { +"description": "The resource IDs of the AnnotationSpecs that had been identified, ordered by the confidence score descendingly.", +"items": { +"format": "int64", +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1SchemaPredictPredictionImageSegmentationPredictionResult": { +"description": "Prediction output format for Image Segmentation.", +"id": "GoogleCloudAiplatformV1SchemaPredictPredictionImageSegmentationPredictionResult", +"properties": { +"categoryMask": { +"description": "A PNG image where each pixel in the mask represents the category in which the pixel in the original image was predicted to belong to. The size of this image will be the same as the original image. The mapping between the AnntoationSpec and the color can be found in model's metadata. The model will choose the most likely category and if none of the categories reach the confidence threshold, the pixel will be marked as background.", +"type": "string" +}, +"confidenceMask": { +"description": "A one channel image which is encoded as an 8bit lossless PNG. The size of the image will be the same as the original image. For a specific pixel, darker color means less confidence in correctness of the cateogry in the categoryMask for the corresponding pixel. Black means no confidence and white means complete confidence.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1SchemaPredictPredictionTabularClassificationPredictionResult": { +"description": "Prediction output format for Tabular Classification.", +"id": "GoogleCloudAiplatformV1SchemaPredictPredictionTabularClassificationPredictionResult", +"properties": { +"classes": { +"description": "The name of the classes being classified, contains all possible values of the target column.", +"items": { +"type": "string" +}, +"type": "array" +}, +"scores": { +"description": "The model's confidence in each class being correct, higher value means higher confidence. The N-th score corresponds to the N-th class in classes.", +"items": { +"format": "float", +"type": "number" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1SchemaPredictPredictionTabularRegressionPredictionResult": { +"description": "Prediction output format for Tabular Regression.", +"id": "GoogleCloudAiplatformV1SchemaPredictPredictionTabularRegressionPredictionResult", +"properties": { +"lowerBound": { +"description": "The lower bound of the prediction interval.", +"format": "float", +"type": "number" +}, +"quantilePredictions": { +"description": "Quantile predictions, in 1-1 correspondence with quantile_values.", +"items": { +"format": "float", +"type": "number" +}, +"type": "array" +}, +"quantileValues": { +"description": "Quantile values.", +"items": { +"format": "float", +"type": "number" +}, +"type": "array" +}, +"upperBound": { +"description": "The upper bound of the prediction interval.", +"format": "float", +"type": "number" +}, +"value": { +"description": "The regression value.", +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1SchemaPredictPredictionTextExtractionPredictionResult": { +"description": "Prediction output format for Text Extraction.", +"id": "GoogleCloudAiplatformV1SchemaPredictPredictionTextExtractionPredictionResult", +"properties": { +"confidences": { +"description": "The Model's confidences in correctness of the predicted IDs, higher value means higher confidence. Order matches the Ids.", +"items": { +"format": "float", +"type": "number" +}, +"type": "array" +}, +"displayNames": { +"description": "The display names of the AnnotationSpecs that had been identified, order matches the IDs.", +"items": { +"type": "string" +}, +"type": "array" +}, +"ids": { +"description": "The resource IDs of the AnnotationSpecs that had been identified, ordered by the confidence score descendingly.", +"items": { +"format": "int64", +"type": "string" +}, +"type": "array" +}, +"textSegmentEndOffsets": { +"description": "The end offsets, inclusive, of the text segment in which the AnnotationSpec has been identified. Expressed as a zero-based number of characters as measured from the start of the text snippet.", +"items": { +"format": "int64", +"type": "string" +}, +"type": "array" +}, +"textSegmentStartOffsets": { +"description": "The start offsets, inclusive, of the text segment in which the AnnotationSpec has been identified. Expressed as a zero-based number of characters as measured from the start of the text snippet.", +"items": { +"format": "int64", +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1SchemaPredictPredictionTextSentimentPredictionResult": { +"description": "Prediction output format for Text Sentiment", +"id": "GoogleCloudAiplatformV1SchemaPredictPredictionTextSentimentPredictionResult", +"properties": { +"sentiment": { +"description": "The integer sentiment labels between 0 (inclusive) and sentimentMax label (inclusive), while 0 maps to the least positive sentiment and sentimentMax maps to the most positive one. The higher the score is, the more positive the sentiment in the text snippet is. Note: sentimentMax is an integer value between 1 (inclusive) and 10 (inclusive).", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1SchemaPredictPredictionTftFeatureImportance": { +"id": "GoogleCloudAiplatformV1SchemaPredictPredictionTftFeatureImportance", +"properties": { +"attributeColumns": { +"items": { +"type": "string" +}, +"type": "array" +}, +"attributeWeights": { +"items": { +"format": "float", +"type": "number" +}, +"type": "array" +}, +"contextColumns": { +"items": { +"type": "string" +}, +"type": "array" +}, +"contextWeights": { +"description": "TFT feature importance values. Each pair for {context/horizon/attribute} should have the same shape since the weight corresponds to the column names.", +"items": { +"format": "float", +"type": "number" +}, +"type": "array" +}, +"horizonColumns": { +"items": { +"type": "string" +}, +"type": "array" +}, +"horizonWeights": { +"items": { +"format": "float", +"type": "number" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1SchemaPredictPredictionTimeSeriesForecastingPredictionResult": { +"description": "Prediction output format for Time Series Forecasting.", +"id": "GoogleCloudAiplatformV1SchemaPredictPredictionTimeSeriesForecastingPredictionResult", +"properties": { +"quantilePredictions": { +"description": "Quantile predictions, in 1-1 correspondence with quantile_values.", +"items": { +"format": "float", +"type": "number" +}, +"type": "array" +}, +"quantileValues": { +"description": "Quantile values.", +"items": { +"format": "float", +"type": "number" +}, +"type": "array" +}, +"tftFeatureImportance": { +"$ref": "GoogleCloudAiplatformV1SchemaPredictPredictionTftFeatureImportance", +"description": "Only use these if TFt is enabled." +}, +"value": { +"description": "The regression value.", +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1SchemaPredictPredictionVideoActionRecognitionPredictionResult": { +"description": "Prediction output format for Video Action Recognition.", +"id": "GoogleCloudAiplatformV1SchemaPredictPredictionVideoActionRecognitionPredictionResult", +"properties": { +"confidence": { +"description": "The Model's confidence in correction of this prediction, higher value means higher confidence.", +"format": "float", +"type": "number" +}, +"displayName": { +"description": "The display name of the AnnotationSpec that had been identified.", +"type": "string" +}, +"id": { +"description": "The resource ID of the AnnotationSpec that had been identified.", +"type": "string" +}, +"timeSegmentEnd": { +"description": "The end, exclusive, of the video's time segment in which the AnnotationSpec has been identified. Expressed as a number of seconds as measured from the start of the video, with fractions up to a microsecond precision, and with \"s\" appended at the end.", +"format": "google-duration", +"type": "string" +}, +"timeSegmentStart": { +"description": "The beginning, inclusive, of the video's time segment in which the AnnotationSpec has been identified. Expressed as a number of seconds as measured from the start of the video, with fractions up to a microsecond precision, and with \"s\" appended at the end.", +"format": "google-duration", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1SchemaPredictPredictionVideoClassificationPredictionResult": { +"description": "Prediction output format for Video Classification.", +"id": "GoogleCloudAiplatformV1SchemaPredictPredictionVideoClassificationPredictionResult", +"properties": { +"confidence": { +"description": "The Model's confidence in correction of this prediction, higher value means higher confidence.", +"format": "float", +"type": "number" +}, +"displayName": { +"description": "The display name of the AnnotationSpec that had been identified.", +"type": "string" +}, +"id": { +"description": "The resource ID of the AnnotationSpec that had been identified.", +"type": "string" +}, +"timeSegmentEnd": { +"description": "The end, exclusive, of the video's time segment in which the AnnotationSpec has been identified. Expressed as a number of seconds as measured from the start of the video, with fractions up to a microsecond precision, and with \"s\" appended at the end. Note that for 'segment-classification' prediction type, this equals the original 'timeSegmentEnd' from the input instance, for other types it is the end of a shot or a 1 second interval respectively.", +"format": "google-duration", +"type": "string" +}, +"timeSegmentStart": { +"description": "The beginning, inclusive, of the video's time segment in which the AnnotationSpec has been identified. Expressed as a number of seconds as measured from the start of the video, with fractions up to a microsecond precision, and with \"s\" appended at the end. Note that for 'segment-classification' prediction type, this equals the original 'timeSegmentStart' from the input instance, for other types it is the start of a shot or a 1 second interval respectively.", +"format": "google-duration", +"type": "string" +}, +"type": { +"description": "The type of the prediction. The requested types can be configured via parameters. This will be one of - segment-classification - shot-classification - one-sec-interval-classification", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1SchemaPredictPredictionVideoObjectTrackingPredictionResult": { +"description": "Prediction output format for Video Object Tracking.", +"id": "GoogleCloudAiplatformV1SchemaPredictPredictionVideoObjectTrackingPredictionResult", +"properties": { +"confidence": { +"description": "The Model's confidence in correction of this prediction, higher value means higher confidence.", +"format": "float", +"type": "number" +}, +"displayName": { +"description": "The display name of the AnnotationSpec that had been identified.", +"type": "string" +}, +"frames": { +"description": "All of the frames of the video in which a single object instance has been detected. The bounding boxes in the frames identify the same object.", +"items": { +"$ref": "GoogleCloudAiplatformV1SchemaPredictPredictionVideoObjectTrackingPredictionResultFrame" +}, +"type": "array" +}, +"id": { +"description": "The resource ID of the AnnotationSpec that had been identified.", +"type": "string" +}, +"timeSegmentEnd": { +"description": "The end, inclusive, of the video's time segment in which the object instance has been detected. Expressed as a number of seconds as measured from the start of the video, with fractions up to a microsecond precision, and with \"s\" appended at the end.", +"format": "google-duration", +"type": "string" +}, +"timeSegmentStart": { +"description": "The beginning, inclusive, of the video's time segment in which the object instance has been detected. Expressed as a number of seconds as measured from the start of the video, with fractions up to a microsecond precision, and with \"s\" appended at the end.", +"format": "google-duration", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1SchemaPredictPredictionVideoObjectTrackingPredictionResultFrame": { +"description": "The fields `xMin`, `xMax`, `yMin`, and `yMax` refer to a bounding box, i.e. the rectangle over the video frame pinpointing the found AnnotationSpec. The coordinates are relative to the frame size, and the point 0,0 is in the top left of the frame.", +"id": "GoogleCloudAiplatformV1SchemaPredictPredictionVideoObjectTrackingPredictionResultFrame", +"properties": { +"timeOffset": { +"description": "A time (frame) of a video in which the object has been detected. Expressed as a number of seconds as measured from the start of the video, with fractions up to a microsecond precision, and with \"s\" appended at the end.", +"format": "google-duration", +"type": "string" +}, +"xMax": { +"description": "The rightmost coordinate of the bounding box.", +"format": "float", +"type": "number" +}, +"xMin": { +"description": "The leftmost coordinate of the bounding box.", +"format": "float", +"type": "number" +}, +"yMax": { +"description": "The bottommost coordinate of the bounding box.", +"format": "float", +"type": "number" +}, +"yMin": { +"description": "The topmost coordinate of the bounding box.", +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1SchemaPredictionResult": { +"description": "Represents a line of JSONL in the batch prediction output file.", +"id": "GoogleCloudAiplatformV1SchemaPredictionResult", +"properties": { +"error": { +"$ref": "GoogleCloudAiplatformV1SchemaPredictionResultError", +"description": "The error result. Do not set prediction if this is set." +}, +"instance": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"description": "User's input instance. Struct is used here instead of Any so that JsonFormat does not append an extra \"@type\" field when we convert the proto to JSON.", +"type": "object" +}, +"key": { +"description": "Optional user-provided key from the input instance.", +"type": "string" +}, +"prediction": { +"description": "The prediction result. Value is used here instead of Any so that JsonFormat does not append an extra \"@type\" field when we convert the proto to JSON and so we can represent array of objects. Do not set error if this is set.", +"type": "any" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1SchemaPredictionResultError": { +"id": "GoogleCloudAiplatformV1SchemaPredictionResultError", +"properties": { +"message": { +"description": "Error message with additional details.", +"type": "string" +}, +"status": { +"description": "Error status. This will be serialized into the enum name e.g. \"NOT_FOUND\".", +"enum": [ +"OK", +"CANCELLED", +"UNKNOWN", +"INVALID_ARGUMENT", +"DEADLINE_EXCEEDED", +"NOT_FOUND", +"ALREADY_EXISTS", +"PERMISSION_DENIED", +"UNAUTHENTICATED", +"RESOURCE_EXHAUSTED", +"FAILED_PRECONDITION", +"ABORTED", +"OUT_OF_RANGE", +"UNIMPLEMENTED", +"INTERNAL", +"UNAVAILABLE", +"DATA_LOSS" +], +"enumDescriptions": [ +"Not an error; returned on success. HTTP Mapping: 200 OK", +"The operation was cancelled, typically by the caller. HTTP Mapping: 499 Client Closed Request", +"Unknown error. For example, this error may be returned when a `Status` value received from another address space belongs to an error space that is not known in this address space. Also errors raised by APIs that do not return enough error information may be converted to this error. HTTP Mapping: 500 Internal Server Error", +"The client specified an invalid argument. Note that this differs from `FAILED_PRECONDITION`. `INVALID_ARGUMENT` indicates arguments that are problematic regardless of the state of the system (e.g., a malformed file name). HTTP Mapping: 400 Bad Request", +"The deadline expired before the operation could complete. For operations that change the state of the system, this error may be returned even if the operation has completed successfully. For example, a successful response from a server could have been delayed long enough for the deadline to expire. HTTP Mapping: 504 Gateway Timeout", +"Some requested entity (e.g., file or directory) was not found. Note to server developers: if a request is denied for an entire class of users, such as gradual feature rollout or undocumented allowlist, `NOT_FOUND` may be used. If a request is denied for some users within a class of users, such as user-based access control, `PERMISSION_DENIED` must be used. HTTP Mapping: 404 Not Found", +"The entity that a client attempted to create (e.g., file or directory) already exists. HTTP Mapping: 409 Conflict", +"The caller does not have permission to execute the specified operation. `PERMISSION_DENIED` must not be used for rejections caused by exhausting some resource (use `RESOURCE_EXHAUSTED` instead for those errors). `PERMISSION_DENIED` must not be used if the caller can not be identified (use `UNAUTHENTICATED` instead for those errors). This error code does not imply the request is valid or the requested entity exists or satisfies other pre-conditions. HTTP Mapping: 403 Forbidden", +"The request does not have valid authentication credentials for the operation. HTTP Mapping: 401 Unauthorized", +"Some resource has been exhausted, perhaps a per-user quota, or perhaps the entire file system is out of space. HTTP Mapping: 429 Too Many Requests", +"The operation was rejected because the system is not in a state required for the operation's execution. For example, the directory to be deleted is non-empty, an rmdir operation is applied to a non-directory, etc. Service implementors can use the following guidelines to decide between `FAILED_PRECONDITION`, `ABORTED`, and `UNAVAILABLE`: (a) Use `UNAVAILABLE` if the client can retry just the failing call. (b) Use `ABORTED` if the client should retry at a higher level. For example, when a client-specified test-and-set fails, indicating the client should restart a read-modify-write sequence. (c) Use `FAILED_PRECONDITION` if the client should not retry until the system state has been explicitly fixed. For example, if an \"rmdir\" fails because the directory is non-empty, `FAILED_PRECONDITION` should be returned since the client should not retry unless the files are deleted from the directory. HTTP Mapping: 400 Bad Request", +"The operation was aborted, typically due to a concurrency issue such as a sequencer check failure or transaction abort. See the guidelines above for deciding between `FAILED_PRECONDITION`, `ABORTED`, and `UNAVAILABLE`. HTTP Mapping: 409 Conflict", +"The operation was attempted past the valid range. E.g., seeking or reading past end-of-file. Unlike `INVALID_ARGUMENT`, this error indicates a problem that may be fixed if the system state changes. For example, a 32-bit file system will generate `INVALID_ARGUMENT` if asked to read at an offset that is not in the range [0,2^32-1], but it will generate `OUT_OF_RANGE` if asked to read from an offset past the current file size. There is a fair bit of overlap between `FAILED_PRECONDITION` and `OUT_OF_RANGE`. We recommend using `OUT_OF_RANGE` (the more specific error) when it applies so that callers who are iterating through a space can easily look for an `OUT_OF_RANGE` error to detect when they are done. HTTP Mapping: 400 Bad Request", +"The operation is not implemented or is not supported/enabled in this service. HTTP Mapping: 501 Not Implemented", +"Internal errors. This means that some invariants expected by the underlying system have been broken. This error code is reserved for serious errors. HTTP Mapping: 500 Internal Server Error", +"The service is currently unavailable. This is most likely a transient condition, which can be corrected by retrying with a backoff. Note that it is not always safe to retry non-idempotent operations. See the guidelines above for deciding between `FAILED_PRECONDITION`, `ABORTED`, and `UNAVAILABLE`. HTTP Mapping: 503 Service Unavailable", +"Unrecoverable data loss or corruption. HTTP Mapping: 500 Internal Server Error" +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1SchemaPromptApiSchema": { +"description": "The A2 schema of a prompt.", +"id": "GoogleCloudAiplatformV1SchemaPromptApiSchema", +"properties": { +"apiSchemaVersion": { +"description": "The Schema version that represents changes to the API behavior.", +"type": "string" +}, +"executions": { +"description": "A list of execution instances for constructing a ready-to-use prompt.", +"items": { +"$ref": "GoogleCloudAiplatformV1SchemaPromptInstancePromptExecution" +}, +"type": "array" +}, +"multimodalPrompt": { +"$ref": "GoogleCloudAiplatformV1SchemaPromptSpecMultimodalPrompt", +"description": "Multimodal prompt which embeds preambles to prompt string." +}, +"structuredPrompt": { +"$ref": "GoogleCloudAiplatformV1SchemaPromptSpecStructuredPrompt", +"description": "The prompt variation that stores preambles in separate fields." +}, +"translationPrompt": { +"$ref": "GoogleCloudAiplatformV1SchemaPromptSpecTranslationPrompt", +"description": "The prompt variation for Translation use case." +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1SchemaPromptInstancePromptExecution": { +"description": "A prompt instance's parameters set that contains a set of variable values.", +"id": "GoogleCloudAiplatformV1SchemaPromptInstancePromptExecution", +"properties": { +"arguments": { +"additionalProperties": { +"$ref": "GoogleCloudAiplatformV1SchemaPromptInstanceVariableValue" +}, +"description": "Maps variable names to their value.", +"type": "object" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1SchemaPromptInstanceVariableValue": { +"description": "The value of a variable in prompt.", +"id": "GoogleCloudAiplatformV1SchemaPromptInstanceVariableValue", +"properties": { +"partList": { +"$ref": "GoogleCloudAiplatformV1SchemaPromptSpecPartList", +"description": "The parts of the variable value." +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1SchemaPromptSpecAppBuilderData": { +"description": "Defines data for an application builder.", +"id": "GoogleCloudAiplatformV1SchemaPromptSpecAppBuilderData", +"properties": { +"codeRepositoryState": { +"description": "Serialized state of the code repository. This string will typically contain a JSON representation of the UI's CodeRepositoryService state (files, folders, content, and any metadata). The UI is responsible for serialization and deserialization.", +"type": "string" +}, +"framework": { +"description": "Optional. Framework used to build the application.", +"enum": [ +"FRAMEWORK_UNSPECIFIED", +"REACT", +"ANGULAR" +], +"enumDescriptions": [ +"Unspecified framework.", +"React framework.", +"Angular framework." +], +"type": "string" +}, +"linkedResources": { +"description": "Linked resources attached to the application by the user.", +"items": { +"$ref": "GoogleCloudAiplatformV1SchemaPromptSpecAppBuilderDataLinkedResource" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1SchemaPromptSpecAppBuilderDataLinkedResource": { +"description": "A linked resource attached to the application by the user.", +"id": "GoogleCloudAiplatformV1SchemaPromptSpecAppBuilderDataLinkedResource", +"properties": { +"displayName": { +"description": "A user-friendly name for the data source shown in the UI.", +"type": "string" +}, +"name": { +"description": "The unique resource name of the data source. The format is determined by the 'type' field. For type \"SAVED_PROMPT\": projects/{project}/locations/{location}/datasets/{dataset} For type \"AI_AGENT\": projects/{project}/locations/{location}/agents/{agent}", +"type": "string" +}, +"type": { +"description": "The type of the linked resource. e.g., \"SAVED_PROMPT\", \"AI_AGENT\" This string corresponds to the name of the LinkedResourceType enum member. See: google3/cloud/console/web/ai/platform/llm/prompts/build/services/specs_repository_service/linked_resources/linked_resource.ts", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1SchemaPromptSpecMultimodalPrompt": { +"description": "Prompt variation that embeds preambles to prompt string.", +"id": "GoogleCloudAiplatformV1SchemaPromptSpecMultimodalPrompt", +"properties": { +"promptMessage": { +"$ref": "GoogleCloudAiplatformV1SchemaPromptSpecPromptMessage", +"description": "The prompt message." +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1SchemaPromptSpecPartList": { +"description": "A list of elements and information that make up a portion of prompt.", +"id": "GoogleCloudAiplatformV1SchemaPromptSpecPartList", +"properties": { +"parts": { +"description": "A list of elements that can be part of a prompt.", +"items": { +"$ref": "GoogleCloudAiplatformV1Part" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1SchemaPromptSpecPromptMessage": { +"description": "The prompt message that aligns with the prompt message in google.cloud.aiplatform.master.GenerateContentRequest.", +"id": "GoogleCloudAiplatformV1SchemaPromptSpecPromptMessage", +"properties": { +"contents": { +"description": "The content of the current conversation with the model. For single-turn queries, this is a single instance. For multi-turn queries, this is a repeated field that contains conversation history + latest request.", +"items": { +"$ref": "GoogleCloudAiplatformV1Content" +}, +"type": "array" +}, +"generationConfig": { +"$ref": "GoogleCloudAiplatformV1GenerationConfig", +"description": "Generation config." +}, +"model": { +"description": "The model name.", +"type": "string" +}, +"safetySettings": { +"description": "Per request settings for blocking unsafe content. Enforced on GenerateContentResponse.candidates.", +"items": { +"$ref": "GoogleCloudAiplatformV1SafetySetting" +}, +"type": "array" +}, +"systemInstruction": { +"$ref": "GoogleCloudAiplatformV1Content", +"description": "The user provided system instructions for the model. Note: only text should be used in parts and content in each part will be in a separate paragraph." +}, +"toolConfig": { +"$ref": "GoogleCloudAiplatformV1ToolConfig", +"description": "Tool config. This config is shared for all tools provided in the request." +}, +"tools": { +"description": "A list of `Tools` the model may use to generate the next response. A `Tool` is a piece of code that enables the system to interact with external systems to perform an action, or set of actions, outside of knowledge and scope of the model.", +"items": { +"$ref": "GoogleCloudAiplatformV1Tool" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1SchemaPromptSpecReferenceSentencePair": { +"description": "A pair of sentences used as reference in source and target languages.", +"id": "GoogleCloudAiplatformV1SchemaPromptSpecReferenceSentencePair", +"properties": { +"sourceSentence": { +"description": "Source sentence in the sentence pair.", +"type": "string" +}, +"targetSentence": { +"description": "Target sentence in the sentence pair.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1SchemaPromptSpecReferenceSentencePairList": { +"description": "A list of reference sentence pairs.", +"id": "GoogleCloudAiplatformV1SchemaPromptSpecReferenceSentencePairList", +"properties": { +"referenceSentencePairs": { +"description": "Reference sentence pairs.", +"items": { +"$ref": "GoogleCloudAiplatformV1SchemaPromptSpecReferenceSentencePair" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1SchemaPromptSpecStructuredPrompt": { +"description": "Prompt variation that stores preambles in separate fields.", +"id": "GoogleCloudAiplatformV1SchemaPromptSpecStructuredPrompt", +"properties": { +"appBuilderData": { +"$ref": "GoogleCloudAiplatformV1SchemaPromptSpecAppBuilderData", +"description": "Data for app builder use case." +}, +"context": { +"$ref": "GoogleCloudAiplatformV1Content", +"description": "Preamble: The context of the prompt." +}, +"examples": { +"description": "Preamble: A set of examples for expected model response.", +"items": { +"$ref": "GoogleCloudAiplatformV1SchemaPromptSpecPartList" +}, +"type": "array" +}, +"infillPrefix": { +"description": "Preamble: For infill prompt, the prefix before expected model response.", +"type": "string" +}, +"infillSuffix": { +"description": "Preamble: For infill prompt, the suffix after expected model response.", +"type": "string" +}, +"inputPrefixes": { +"description": "Preamble: The input prefixes before each example input.", +"items": { +"type": "string" +}, +"type": "array" +}, +"outputPrefixes": { +"description": "Preamble: The output prefixes before each example output.", +"items": { +"type": "string" +}, +"type": "array" +}, +"predictionInputs": { +"description": "Preamble: The input test data for prediction. Each PartList in this field represents one text-only input set for a single model request.", +"items": { +"$ref": "GoogleCloudAiplatformV1SchemaPromptSpecPartList" +}, +"type": "array" +}, +"promptMessage": { +"$ref": "GoogleCloudAiplatformV1SchemaPromptSpecPromptMessage", +"description": "The prompt message." +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1SchemaPromptSpecTranslationExample": { +"description": "The translation example that contains reference sentences from various sources.", +"id": "GoogleCloudAiplatformV1SchemaPromptSpecTranslationExample", +"properties": { +"referenceSentencePairLists": { +"description": "The reference sentences from inline text.", +"items": { +"$ref": "GoogleCloudAiplatformV1SchemaPromptSpecReferenceSentencePairList" +}, +"type": "array" +}, +"referenceSentencesFileInputs": { +"description": "The reference sentences from file.", +"items": { +"$ref": "GoogleCloudAiplatformV1SchemaPromptSpecTranslationSentenceFileInput" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1SchemaPromptSpecTranslationFileInputSource": { +"id": "GoogleCloudAiplatformV1SchemaPromptSpecTranslationFileInputSource", +"properties": { +"content": { +"description": "The file's contents.", +"type": "string" +}, +"displayName": { +"description": "The file's display name.", +"type": "string" +}, +"mimeType": { +"description": "The file's mime type.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1SchemaPromptSpecTranslationGcsInputSource": { +"id": "GoogleCloudAiplatformV1SchemaPromptSpecTranslationGcsInputSource", +"properties": { +"inputUri": { +"description": "Source data URI. For example, `gs://my_bucket/my_object`.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1SchemaPromptSpecTranslationOption": { +"description": "Optional settings for translation prompt.", +"id": "GoogleCloudAiplatformV1SchemaPromptSpecTranslationOption", +"properties": { +"numberOfShots": { +"description": "How many shots to use.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1SchemaPromptSpecTranslationPrompt": { +"description": "Prompt variation for Translation use case.", +"id": "GoogleCloudAiplatformV1SchemaPromptSpecTranslationPrompt", +"properties": { +"example": { +"$ref": "GoogleCloudAiplatformV1SchemaPromptSpecTranslationExample", +"description": "The translation example." +}, +"option": { +"$ref": "GoogleCloudAiplatformV1SchemaPromptSpecTranslationOption", +"description": "The translation option." +}, +"promptMessage": { +"$ref": "GoogleCloudAiplatformV1SchemaPromptSpecPromptMessage", +"description": "The prompt message." +}, +"sourceLanguageCode": { +"description": "The source language code.", +"type": "string" +}, +"targetLanguageCode": { +"description": "The target language code.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1SchemaPromptSpecTranslationSentenceFileInput": { +"id": "GoogleCloudAiplatformV1SchemaPromptSpecTranslationSentenceFileInput", +"properties": { +"fileInputSource": { +"$ref": "GoogleCloudAiplatformV1SchemaPromptSpecTranslationFileInputSource", +"description": "Inlined file source." +}, +"gcsInputSource": { +"$ref": "GoogleCloudAiplatformV1SchemaPromptSpecTranslationGcsInputSource", +"description": "Cloud Storage file source." +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1SchemaTablesDatasetMetadata": { +"description": "The metadata of Datasets that contain tables data.", +"id": "GoogleCloudAiplatformV1SchemaTablesDatasetMetadata", +"properties": { +"inputConfig": { +"$ref": "GoogleCloudAiplatformV1SchemaTablesDatasetMetadataInputConfig" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1SchemaTablesDatasetMetadataBigQuerySource": { +"id": "GoogleCloudAiplatformV1SchemaTablesDatasetMetadataBigQuerySource", +"properties": { +"uri": { +"description": "The URI of a BigQuery table. e.g. bq://projectId.bqDatasetId.bqTableId", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1SchemaTablesDatasetMetadataGcsSource": { +"id": "GoogleCloudAiplatformV1SchemaTablesDatasetMetadataGcsSource", +"properties": { +"uri": { +"description": "Cloud Storage URI of one or more files. Only CSV files are supported. The first line of the CSV file is used as the header. If there are multiple files, the header is the first line of the lexicographically first file, the other files must either contain the exact same header or omit the header.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1SchemaTablesDatasetMetadataInputConfig": { +"description": "The tables Dataset's data source. The Dataset doesn't store the data directly, but only pointer(s) to its data.", +"id": "GoogleCloudAiplatformV1SchemaTablesDatasetMetadataInputConfig", +"properties": { +"bigquerySource": { +"$ref": "GoogleCloudAiplatformV1SchemaTablesDatasetMetadataBigQuerySource" +}, +"gcsSource": { +"$ref": "GoogleCloudAiplatformV1SchemaTablesDatasetMetadataGcsSource" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1SchemaTextClassificationAnnotation": { +"description": "Annotation details specific to text classification.", +"id": "GoogleCloudAiplatformV1SchemaTextClassificationAnnotation", +"properties": { +"annotationSpecId": { +"description": "The resource Id of the AnnotationSpec that this Annotation pertains to.", +"type": "string" +}, +"displayName": { +"description": "The display name of the AnnotationSpec that this Annotation pertains to.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1SchemaTextDataItem": { +"description": "Payload of Text DataItem.", +"id": "GoogleCloudAiplatformV1SchemaTextDataItem", +"properties": { +"gcsUri": { +"description": "Output only. Google Cloud Storage URI points to a copy of the original text in the Vertex-managed bucket in the user's project. The text file is up to 10MB in size.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1SchemaTextDatasetMetadata": { +"description": "The metadata of Datasets that contain Text DataItems.", +"id": "GoogleCloudAiplatformV1SchemaTextDatasetMetadata", +"properties": { +"dataItemSchemaUri": { +"description": "Points to a YAML file stored on Google Cloud Storage describing payload of the Text DataItems that belong to this Dataset.", +"type": "string" +}, +"gcsBucket": { +"description": "Google Cloud Storage Bucket name that contains the blob data of this Dataset.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1SchemaTextExtractionAnnotation": { +"description": "Annotation details specific to text extraction.", +"id": "GoogleCloudAiplatformV1SchemaTextExtractionAnnotation", +"properties": { +"annotationSpecId": { +"description": "The resource Id of the AnnotationSpec that this Annotation pertains to.", +"type": "string" +}, +"displayName": { +"description": "The display name of the AnnotationSpec that this Annotation pertains to.", +"type": "string" +}, +"textSegment": { +"$ref": "GoogleCloudAiplatformV1SchemaTextSegment", +"description": "The segment of the text content." +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1SchemaTextPromptDatasetMetadata": { +"description": "The metadata of Datasets that contain Text Prompt data.", +"id": "GoogleCloudAiplatformV1SchemaTextPromptDatasetMetadata", +"properties": { +"candidateCount": { +"description": "Number of candidates.", +"format": "int64", +"type": "string" +}, +"gcsUri": { +"description": "The Google Cloud Storage URI that stores the prompt data.", +"type": "string" +}, +"groundingConfig": { +"$ref": "GoogleCloudAiplatformV1SchemaPredictParamsGroundingConfig", +"description": "Grounding checking configuration." +}, +"hasPromptVariable": { +"description": "Whether the prompt dataset has prompt variable.", +"type": "boolean" +}, +"logprobs": { +"description": "Whether or not the user has enabled logit probabilities in the model parameters.", +"type": "boolean" +}, +"maxOutputTokens": { +"description": "Value of the maximum number of tokens generated set when the dataset was saved.", +"format": "int64", +"type": "string" +}, +"note": { +"description": "User-created prompt note. Note size limit is 2KB.", +"type": "string" +}, +"promptApiSchema": { +"$ref": "GoogleCloudAiplatformV1SchemaPromptApiSchema", +"description": "The API schema of the prompt to support both UI and SDK usages." +}, +"promptType": { +"description": "Type of the prompt dataset.", +"type": "string" +}, +"seedEnabled": { +"description": "Seeding enables model to return a deterministic response on a best effort basis. Determinism isn't guaranteed. This field determines whether or not seeding is enabled.", +"type": "boolean" +}, +"seedValue": { +"description": "The actual value of the seed.", +"format": "int64", +"type": "string" +}, +"stopSequences": { +"description": "Customized stop sequences.", +"items": { +"type": "string" +}, +"type": "array" +}, +"systemInstruction": { +"description": "The content of the prompt dataset system instruction.", +"type": "string" +}, +"systemInstructionGcsUri": { +"description": "The Google Cloud Storage URI that stores the system instruction, starting with gs://.", +"type": "string" +}, +"temperature": { +"description": "Temperature value used for sampling set when the dataset was saved. This value is used to tune the degree of randomness.", +"format": "float", +"type": "number" +}, +"text": { +"description": "The content of the prompt dataset.", +"type": "string" +}, +"topK": { +"description": "Top K value set when the dataset was saved. This value determines how many candidates with highest probability from the vocab would be selected for each decoding step.", +"format": "int64", +"type": "string" +}, +"topP": { +"description": "Top P value set when the dataset was saved. Given topK tokens for decoding, top candidates will be selected until the sum of their probabilities is topP.", +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1SchemaTextSegment": { +"description": "The text segment inside of DataItem.", +"id": "GoogleCloudAiplatformV1SchemaTextSegment", +"properties": { +"content": { +"description": "The text content in the segment for output only.", +"type": "string" +}, +"endOffset": { +"description": "Zero-based character index of the first character past the end of the text segment (counting character from the beginning of the text). The character at the end_offset is NOT included in the text segment.", +"format": "uint64", +"type": "string" +}, +"startOffset": { +"description": "Zero-based character index of the first character of the text segment (counting characters from the beginning of the text).", +"format": "uint64", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1SchemaTextSentimentAnnotation": { +"description": "Annotation details specific to text sentiment.", +"id": "GoogleCloudAiplatformV1SchemaTextSentimentAnnotation", +"properties": { +"annotationSpecId": { +"description": "The resource Id of the AnnotationSpec that this Annotation pertains to.", +"type": "string" +}, +"displayName": { +"description": "The display name of the AnnotationSpec that this Annotation pertains to.", +"type": "string" +}, +"sentiment": { +"description": "The sentiment score for text.", +"format": "int32", +"type": "integer" +}, +"sentimentMax": { +"description": "The sentiment max score for text.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1SchemaTextSentimentSavedQueryMetadata": { +"description": "The metadata of SavedQuery contains TextSentiment Annotations.", +"id": "GoogleCloudAiplatformV1SchemaTextSentimentSavedQueryMetadata", +"properties": { +"sentimentMax": { +"description": "The maximum sentiment of sentiment Anntoation in this SavedQuery.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1SchemaTimeSegment": { +"description": "A time period inside of a DataItem that has a time dimension (e.g. video).", +"id": "GoogleCloudAiplatformV1SchemaTimeSegment", +"properties": { +"endTimeOffset": { +"description": "End of the time segment (exclusive), represented as the duration since the start of the DataItem.", +"format": "google-duration", +"type": "string" +}, +"startTimeOffset": { +"description": "Start of the time segment (inclusive), represented as the duration since the start of the DataItem.", +"format": "google-duration", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1SchemaTimeSeriesDatasetMetadata": { +"description": "The metadata of Datasets that contain time series data.", +"id": "GoogleCloudAiplatformV1SchemaTimeSeriesDatasetMetadata", +"properties": { +"inputConfig": { +"$ref": "GoogleCloudAiplatformV1SchemaTimeSeriesDatasetMetadataInputConfig" +}, +"timeColumn": { +"description": "The column name of the time column that identifies time order in the time series.", +"type": "string" +}, +"timeSeriesIdentifierColumn": { +"description": "The column name of the time series identifier column that identifies the time series.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1SchemaTimeSeriesDatasetMetadataBigQuerySource": { +"id": "GoogleCloudAiplatformV1SchemaTimeSeriesDatasetMetadataBigQuerySource", +"properties": { +"uri": { +"description": "The URI of a BigQuery table.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1SchemaTimeSeriesDatasetMetadataGcsSource": { +"id": "GoogleCloudAiplatformV1SchemaTimeSeriesDatasetMetadataGcsSource", +"properties": { +"uri": { +"description": "Cloud Storage URI of one or more files. Only CSV files are supported. The first line of the CSV file is used as the header. If there are multiple files, the header is the first line of the lexicographically first file, the other files must either contain the exact same header or omit the header.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1SchemaTimeSeriesDatasetMetadataInputConfig": { +"description": "The time series Dataset's data source. The Dataset doesn't store the data directly, but only pointer(s) to its data.", +"id": "GoogleCloudAiplatformV1SchemaTimeSeriesDatasetMetadataInputConfig", +"properties": { +"bigquerySource": { +"$ref": "GoogleCloudAiplatformV1SchemaTimeSeriesDatasetMetadataBigQuerySource" +}, +"gcsSource": { +"$ref": "GoogleCloudAiplatformV1SchemaTimeSeriesDatasetMetadataGcsSource" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1SchemaTrainingjobDefinitionAutoMlForecasting": { +"description": "A TrainingJob that trains and uploads an AutoML Forecasting Model.", +"id": "GoogleCloudAiplatformV1SchemaTrainingjobDefinitionAutoMlForecasting", +"properties": { +"inputs": { +"$ref": "GoogleCloudAiplatformV1SchemaTrainingjobDefinitionAutoMlForecastingInputs", +"description": "The input parameters of this TrainingJob." +}, +"metadata": { +"$ref": "GoogleCloudAiplatformV1SchemaTrainingjobDefinitionAutoMlForecastingMetadata", +"description": "The metadata information." +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1SchemaTrainingjobDefinitionAutoMlForecastingInputs": { +"id": "GoogleCloudAiplatformV1SchemaTrainingjobDefinitionAutoMlForecastingInputs", +"properties": { +"additionalExperiments": { +"description": "Additional experiment flags for the time series forcasting training.", +"items": { +"type": "string" +}, +"type": "array" +}, +"availableAtForecastColumns": { +"description": "Names of columns that are available and provided when a forecast is requested. These columns contain information for the given entity (identified by the time_series_identifier_column column) that is known at forecast. For example, predicted weather for a specific day.", +"items": { +"type": "string" +}, +"type": "array" +}, +"contextWindow": { +"description": "The amount of time into the past training and prediction data is used for model training and prediction respectively. Expressed in number of units defined by the `data_granularity` field.", +"format": "int64", +"type": "string" +}, +"dataGranularity": { +"$ref": "GoogleCloudAiplatformV1SchemaTrainingjobDefinitionAutoMlForecastingInputsGranularity", +"description": "Expected difference in time granularity between rows in the data." +}, +"enableProbabilisticInference": { +"description": "If probabilistic inference is enabled, the model will fit a distribution that captures the uncertainty of a prediction. At inference time, the predictive distribution is used to make a point prediction that minimizes the optimization objective. For example, the mean of a predictive distribution is the point prediction that minimizes RMSE loss. If quantiles are specified, then the quantiles of the distribution are also returned. The optimization objective cannot be minimize-quantile-loss.", +"type": "boolean" +}, +"exportEvaluatedDataItemsConfig": { +"$ref": "GoogleCloudAiplatformV1SchemaTrainingjobDefinitionExportEvaluatedDataItemsConfig", +"description": "Configuration for exporting test set predictions to a BigQuery table. If this configuration is absent, then the export is not performed." +}, +"forecastHorizon": { +"description": "The amount of time into the future for which forecasted values for the target are returned. Expressed in number of units defined by the `data_granularity` field.", +"format": "int64", +"type": "string" +}, +"hierarchyConfig": { +"$ref": "GoogleCloudAiplatformV1SchemaTrainingjobDefinitionHierarchyConfig", +"description": "Configuration that defines the hierarchical relationship of time series and parameters for hierarchical forecasting strategies." +}, +"holidayRegions": { +"description": "The geographical region based on which the holiday effect is applied in modeling by adding holiday categorical array feature that include all holidays matching the date. This option only allowed when data_granularity is day. By default, holiday effect modeling is disabled. To turn it on, specify the holiday region using this option.", +"items": { +"type": "string" +}, +"type": "array" +}, +"optimizationObjective": { +"description": "Objective function the model is optimizing towards. The training process creates a model that optimizes the value of the objective function over the validation set. The supported optimization objectives: * \"minimize-rmse\" (default) - Minimize root-mean-squared error (RMSE). * \"minimize-mae\" - Minimize mean-absolute error (MAE). * \"minimize-rmsle\" - Minimize root-mean-squared log error (RMSLE). * \"minimize-rmspe\" - Minimize root-mean-squared percentage error (RMSPE). * \"minimize-wape-mae\" - Minimize the combination of weighted absolute percentage error (WAPE) and mean-absolute-error (MAE). * \"minimize-quantile-loss\" - Minimize the quantile loss at the quantiles defined in `quantiles`. * \"minimize-mape\" - Minimize the mean absolute percentage error.", +"type": "string" +}, +"quantiles": { +"description": "Quantiles to use for minimize-quantile-loss `optimization_objective`, or for probabilistic inference. Up to 5 quantiles are allowed of values between 0 and 1, exclusive. Required if the value of optimization_objective is minimize-quantile-loss. Represents the percent quantiles to use for that objective. Quantiles must be unique.", +"items": { +"format": "double", +"type": "number" +}, +"type": "array" +}, +"targetColumn": { +"description": "The name of the column that the Model is to predict values for. This column must be unavailable at forecast.", +"type": "string" +}, +"timeColumn": { +"description": "The name of the column that identifies time order in the time series. This column must be available at forecast.", +"type": "string" +}, +"timeSeriesAttributeColumns": { +"description": "Column names that should be used as attribute columns. The value of these columns does not vary as a function of time. For example, store ID or item color.", +"items": { +"type": "string" +}, +"type": "array" +}, +"timeSeriesIdentifierColumn": { +"description": "The name of the column that identifies the time series.", +"type": "string" +}, +"trainBudgetMilliNodeHours": { +"description": "Required. The train budget of creating this model, expressed in milli node hours i.e. 1,000 value in this field means 1 node hour. The training cost of the model will not exceed this budget. The final cost will be attempted to be close to the budget, though may end up being (even) noticeably smaller - at the backend's discretion. This especially may happen when further model training ceases to provide any improvements. If the budget is set to a value known to be insufficient to train a model for the given dataset, the training won't be attempted and will error. The train budget must be between 1,000 and 72,000 milli node hours, inclusive.", +"format": "int64", +"type": "string" +}, +"transformations": { +"description": "Each transformation will apply transform function to given input column. And the result will be used for training. When creating transformation for BigQuery Struct column, the column should be flattened using \".\" as the delimiter.", +"items": { +"$ref": "GoogleCloudAiplatformV1SchemaTrainingjobDefinitionAutoMlForecastingInputsTransformation" +}, +"type": "array" +}, +"unavailableAtForecastColumns": { +"description": "Names of columns that are unavailable when a forecast is requested. This column contains information for the given entity (identified by the time_series_identifier_column) that is unknown before the forecast For example, actual weather on a given day.", +"items": { +"type": "string" +}, +"type": "array" +}, +"validationOptions": { +"description": "Validation options for the data validation component. The available options are: * \"fail-pipeline\" - default, will validate against the validation and fail the pipeline if it fails. * \"ignore-validation\" - ignore the results of the validation and continue", +"type": "string" +}, +"weightColumn": { +"description": "Column name that should be used as the weight column. Higher values in this column give more importance to the row during model training. The column must have numeric values between 0 and 10000 inclusively; 0 means the row is ignored for training. If weight column field is not set, then all rows are assumed to have equal weight of 1.", +"type": "string" +}, +"windowConfig": { +"$ref": "GoogleCloudAiplatformV1SchemaTrainingjobDefinitionWindowConfig", +"description": "Config containing strategy for generating sliding windows." +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1SchemaTrainingjobDefinitionAutoMlForecastingInputsGranularity": { +"description": "A duration of time expressed in time granularity units.", +"id": "GoogleCloudAiplatformV1SchemaTrainingjobDefinitionAutoMlForecastingInputsGranularity", +"properties": { +"quantity": { +"description": "The number of granularity_units between data points in the training data. If `granularity_unit` is `minute`, can be 1, 5, 10, 15, or 30. For all other values of `granularity_unit`, must be 1.", +"format": "int64", +"type": "string" +}, +"unit": { +"description": "The time granularity unit of this time period. The supported units are: * \"minute\" * \"hour\" * \"day\" * \"week\" * \"month\" * \"year\"", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1SchemaTrainingjobDefinitionAutoMlForecastingInputsTransformation": { +"id": "GoogleCloudAiplatformV1SchemaTrainingjobDefinitionAutoMlForecastingInputsTransformation", +"properties": { +"auto": { +"$ref": "GoogleCloudAiplatformV1SchemaTrainingjobDefinitionAutoMlForecastingInputsTransformationAutoTransformation" +}, +"categorical": { +"$ref": "GoogleCloudAiplatformV1SchemaTrainingjobDefinitionAutoMlForecastingInputsTransformationCategoricalTransformation" +}, +"numeric": { +"$ref": "GoogleCloudAiplatformV1SchemaTrainingjobDefinitionAutoMlForecastingInputsTransformationNumericTransformation" +}, +"text": { +"$ref": "GoogleCloudAiplatformV1SchemaTrainingjobDefinitionAutoMlForecastingInputsTransformationTextTransformation" +}, +"timestamp": { +"$ref": "GoogleCloudAiplatformV1SchemaTrainingjobDefinitionAutoMlForecastingInputsTransformationTimestampTransformation" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1SchemaTrainingjobDefinitionAutoMlForecastingInputsTransformationAutoTransformation": { +"description": "Training pipeline will infer the proper transformation based on the statistic of dataset.", +"id": "GoogleCloudAiplatformV1SchemaTrainingjobDefinitionAutoMlForecastingInputsTransformationAutoTransformation", +"properties": { +"columnName": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1SchemaTrainingjobDefinitionAutoMlForecastingInputsTransformationCategoricalTransformation": { +"description": "Training pipeline will perform following transformation functions. * The categorical string as is--no change to case, punctuation, spelling, tense, and so on. * Convert the category name to a dictionary lookup index and generate an embedding for each index. * Categories that appear less than 5 times in the training dataset are treated as the \"unknown\" category. The \"unknown\" category gets its own special lookup index and resulting embedding.", +"id": "GoogleCloudAiplatformV1SchemaTrainingjobDefinitionAutoMlForecastingInputsTransformationCategoricalTransformation", +"properties": { +"columnName": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1SchemaTrainingjobDefinitionAutoMlForecastingInputsTransformationNumericTransformation": { +"description": "Training pipeline will perform following transformation functions. * The value converted to float32. * The z_score of the value. * log(value+1) when the value is greater than or equal to 0. Otherwise, this transformation is not applied and the value is considered a missing value. * z_score of log(value+1) when the value is greater than or equal to 0. Otherwise, this transformation is not applied and the value is considered a missing value. * A boolean value that indicates whether the value is valid.", +"id": "GoogleCloudAiplatformV1SchemaTrainingjobDefinitionAutoMlForecastingInputsTransformationNumericTransformation", +"properties": { +"columnName": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1SchemaTrainingjobDefinitionAutoMlForecastingInputsTransformationTextTransformation": { +"description": "Training pipeline will perform following transformation functions. * The text as is--no change to case, punctuation, spelling, tense, and so on. * Convert the category name to a dictionary lookup index and generate an embedding for each index.", +"id": "GoogleCloudAiplatformV1SchemaTrainingjobDefinitionAutoMlForecastingInputsTransformationTextTransformation", +"properties": { +"columnName": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1SchemaTrainingjobDefinitionAutoMlForecastingInputsTransformationTimestampTransformation": { +"description": "Training pipeline will perform following transformation functions. * Apply the transformation functions for Numerical columns. * Determine the year, month, day,and weekday. Treat each value from the timestamp as a Categorical column. * Invalid numerical values (for example, values that fall outside of a typical timestamp range, or are extreme values) receive no special treatment and are not removed.", +"id": "GoogleCloudAiplatformV1SchemaTrainingjobDefinitionAutoMlForecastingInputsTransformationTimestampTransformation", +"properties": { +"columnName": { +"type": "string" +}, +"timeFormat": { +"description": "The format in which that time field is expressed. The time_format must either be one of: * `unix-seconds` * `unix-milliseconds` * `unix-microseconds` * `unix-nanoseconds` (for respectively number of seconds, milliseconds, microseconds and nanoseconds since start of the Unix epoch); or be written in `strftime` syntax. If time_format is not set, then the default format is RFC 3339 `date-time` format, where `time-offset` = `\"Z\"` (e.g. 1985-04-12T23:20:50.52Z)", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1SchemaTrainingjobDefinitionAutoMlForecastingMetadata": { +"description": "Model metadata specific to AutoML Forecasting.", +"id": "GoogleCloudAiplatformV1SchemaTrainingjobDefinitionAutoMlForecastingMetadata", +"properties": { +"evaluatedDataItemsBigqueryUri": { +"description": "BigQuery destination uri for exported evaluated examples.", +"type": "string" +}, +"trainCostMilliNodeHours": { +"description": "Output only. The actual training cost of the model, expressed in milli node hours, i.e. 1,000 value in this field means 1 node hour. Guaranteed to not exceed the train budget.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1SchemaTrainingjobDefinitionAutoMlImageClassification": { +"description": "A TrainingJob that trains and uploads an AutoML Image Classification Model.", +"id": "GoogleCloudAiplatformV1SchemaTrainingjobDefinitionAutoMlImageClassification", +"properties": { +"inputs": { +"$ref": "GoogleCloudAiplatformV1SchemaTrainingjobDefinitionAutoMlImageClassificationInputs", +"description": "The input parameters of this TrainingJob." +}, +"metadata": { +"$ref": "GoogleCloudAiplatformV1SchemaTrainingjobDefinitionAutoMlImageClassificationMetadata", +"description": "The metadata information." +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1SchemaTrainingjobDefinitionAutoMlImageClassificationInputs": { +"id": "GoogleCloudAiplatformV1SchemaTrainingjobDefinitionAutoMlImageClassificationInputs", +"properties": { +"baseModelId": { +"description": "The ID of the `base` model. If it is specified, the new model will be trained based on the `base` model. Otherwise, the new model will be trained from scratch. The `base` model must be in the same Project and Location as the new Model to train, and have the same modelType.", +"type": "string" +}, +"budgetMilliNodeHours": { +"description": "The training budget of creating this model, expressed in milli node hours i.e. 1,000 value in this field means 1 node hour. The actual metadata.costMilliNodeHours will be equal or less than this value. If further model training ceases to provide any improvements, it will stop without using the full budget and the metadata.successfulStopReason will be `model-converged`. Note, node_hour = actual_hour * number_of_nodes_involved. For modelType `cloud`(default), the budget must be between 8,000 and 800,000 milli node hours, inclusive. The default value is 192,000 which represents one day in wall time, considering 8 nodes are used. For model types `mobile-tf-low-latency-1`, `mobile-tf-versatile-1`, `mobile-tf-high-accuracy-1`, the training budget must be between 1,000 and 100,000 milli node hours, inclusive. The default value is 24,000 which represents one day in wall time on a single node that is used.", +"format": "int64", +"type": "string" +}, +"disableEarlyStopping": { +"description": "Use the entire training budget. This disables the early stopping feature. When false the early stopping feature is enabled, which means that AutoML Image Classification might stop training before the entire training budget has been used.", +"type": "boolean" +}, +"modelType": { +"enum": [ +"MODEL_TYPE_UNSPECIFIED", +"CLOUD", +"CLOUD_1", +"MOBILE_TF_LOW_LATENCY_1", +"MOBILE_TF_VERSATILE_1", +"MOBILE_TF_HIGH_ACCURACY_1", +"EFFICIENTNET", +"MAXVIT", +"VIT", +"COCA" +], +"enumDescriptions": [ +"Should not be set.", +"A Model best tailored to be used within Google Cloud, and which cannot be exported. Default.", +"A model type best tailored to be used within Google Cloud, which cannot be exported externally. Compared to the CLOUD model above, it is expected to have higher prediction accuracy.", +"A model that, in addition to being available within Google Cloud, can also be exported (see ModelService.ExportModel) as TensorFlow or Core ML model and used on a mobile or edge device afterwards. Expected to have low latency, but may have lower prediction quality than other mobile models.", +"A model that, in addition to being available within Google Cloud, can also be exported (see ModelService.ExportModel) as TensorFlow or Core ML model and used on a mobile or edge device with afterwards.", +"A model that, in addition to being available within Google Cloud, can also be exported (see ModelService.ExportModel) as TensorFlow or Core ML model and used on a mobile or edge device afterwards. Expected to have a higher latency, but should also have a higher prediction quality than other mobile models.", +"EfficientNet model for Model Garden training with customizable hyperparameters. Best tailored to be used within Google Cloud, and cannot be exported externally.", +"MaxViT model for Model Garden training with customizable hyperparameters. Best tailored to be used within Google Cloud, and cannot be exported externally.", +"ViT model for Model Garden training with customizable hyperparameters. Best tailored to be used within Google Cloud, and cannot be exported externally.", +"CoCa model for Model Garden training with customizable hyperparameters. Best tailored to be used within Google Cloud, and cannot be exported externally." +], +"type": "string" +}, +"multiLabel": { +"description": "If false, a single-label (multi-class) Model will be trained (i.e. assuming that for each image just up to one annotation may be applicable). If true, a multi-label Model will be trained (i.e. assuming that for each image multiple annotations may be applicable).", +"type": "boolean" +}, +"tunableParameter": { +"$ref": "GoogleCloudAiplatformV1SchemaTrainingjobDefinitionAutomlImageTrainingTunableParameter", +"description": "Trainer type for Vision TrainRequest." +}, +"uptrainBaseModelId": { +"description": "The ID of `base` model for upTraining. If it is specified, the new model will be upTrained based on the `base` model for upTraining. Otherwise, the new model will be trained from scratch. The `base` model for upTraining must be in the same Project and Location as the new Model to train, and have the same modelType.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1SchemaTrainingjobDefinitionAutoMlImageClassificationMetadata": { +"id": "GoogleCloudAiplatformV1SchemaTrainingjobDefinitionAutoMlImageClassificationMetadata", +"properties": { +"costMilliNodeHours": { +"description": "The actual training cost of creating this model, expressed in milli node hours, i.e. 1,000 value in this field means 1 node hour. Guaranteed to not exceed inputs.budgetMilliNodeHours.", +"format": "int64", +"type": "string" +}, +"successfulStopReason": { +"description": "For successful job completions, this is the reason why the job has finished.", +"enum": [ +"SUCCESSFUL_STOP_REASON_UNSPECIFIED", +"BUDGET_REACHED", +"MODEL_CONVERGED" +], +"enumDescriptions": [ +"Should not be set.", +"The inputs.budgetMilliNodeHours had been reached.", +"Further training of the Model ceased to increase its quality, since it already has converged." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1SchemaTrainingjobDefinitionAutoMlImageObjectDetection": { +"description": "A TrainingJob that trains and uploads an AutoML Image Object Detection Model.", +"id": "GoogleCloudAiplatformV1SchemaTrainingjobDefinitionAutoMlImageObjectDetection", +"properties": { +"inputs": { +"$ref": "GoogleCloudAiplatformV1SchemaTrainingjobDefinitionAutoMlImageObjectDetectionInputs", +"description": "The input parameters of this TrainingJob." +}, +"metadata": { +"$ref": "GoogleCloudAiplatformV1SchemaTrainingjobDefinitionAutoMlImageObjectDetectionMetadata", +"description": "The metadata information" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1SchemaTrainingjobDefinitionAutoMlImageObjectDetectionInputs": { +"id": "GoogleCloudAiplatformV1SchemaTrainingjobDefinitionAutoMlImageObjectDetectionInputs", +"properties": { +"budgetMilliNodeHours": { +"description": "The training budget of creating this model, expressed in milli node hours i.e. 1,000 value in this field means 1 node hour. The actual metadata.costMilliNodeHours will be equal or less than this value. If further model training ceases to provide any improvements, it will stop without using the full budget and the metadata.successfulStopReason will be `model-converged`. Note, node_hour = actual_hour * number_of_nodes_involved. For modelType `cloud`(default), the budget must be between 20,000 and 900,000 milli node hours, inclusive. The default value is 216,000 which represents one day in wall time, considering 9 nodes are used. For model types `mobile-tf-low-latency-1`, `mobile-tf-versatile-1`, `mobile-tf-high-accuracy-1` the training budget must be between 1,000 and 100,000 milli node hours, inclusive. The default value is 24,000 which represents one day in wall time on a single node that is used.", +"format": "int64", +"type": "string" +}, +"disableEarlyStopping": { +"description": "Use the entire training budget. This disables the early stopping feature. When false the early stopping feature is enabled, which means that AutoML Image Object Detection might stop training before the entire training budget has been used.", +"type": "boolean" +}, +"modelType": { +"enum": [ +"MODEL_TYPE_UNSPECIFIED", +"CLOUD_HIGH_ACCURACY_1", +"CLOUD_LOW_LATENCY_1", +"CLOUD_1", +"MOBILE_TF_LOW_LATENCY_1", +"MOBILE_TF_VERSATILE_1", +"MOBILE_TF_HIGH_ACCURACY_1", +"CLOUD_STREAMING_1", +"SPINENET", +"YOLO" +], +"enumDescriptions": [ +"Should not be set.", +"A model best tailored to be used within Google Cloud, and which cannot be exported. Expected to have a higher latency, but should also have a higher prediction quality than other cloud models.", +"A model best tailored to be used within Google Cloud, and which cannot be exported. Expected to have a low latency, but may have lower prediction quality than other cloud models.", +"A model best tailored to be used within Google Cloud, and which cannot be exported. Compared to the CLOUD_HIGH_ACCURACY_1 and CLOUD_LOW_LATENCY_1 models above, it is expected to have higher prediction quality and lower latency.", +"A model that, in addition to being available within Google Cloud can also be exported (see ModelService.ExportModel) and used on a mobile or edge device with TensorFlow afterwards. Expected to have low latency, but may have lower prediction quality than other mobile models.", +"A model that, in addition to being available within Google Cloud can also be exported (see ModelService.ExportModel) and used on a mobile or edge device with TensorFlow afterwards.", +"A model that, in addition to being available within Google Cloud, can also be exported (see ModelService.ExportModel) and used on a mobile or edge device with TensorFlow afterwards. Expected to have a higher latency, but should also have a higher prediction quality than other mobile models.", +"A model best tailored to be used within Google Cloud, and which cannot be exported. Expected to best support predictions in streaming with lower latency and lower prediction quality than other cloud models.", +"SpineNet for Model Garden training with customizable hyperparameters. Best tailored to be used within Google Cloud, and cannot be exported externally.", +"YOLO for Model Garden training with customizable hyperparameters. Best tailored to be used within Google Cloud, and cannot be exported externally." +], +"type": "string" +}, +"tunableParameter": { +"$ref": "GoogleCloudAiplatformV1SchemaTrainingjobDefinitionAutomlImageTrainingTunableParameter", +"description": "Trainer type for Vision TrainRequest." +}, +"uptrainBaseModelId": { +"description": "The ID of `base` model for upTraining. If it is specified, the new model will be upTrained based on the `base` model for upTraining. Otherwise, the new model will be trained from scratch. The `base` model for upTraining must be in the same Project and Location as the new Model to train, and have the same modelType.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1SchemaTrainingjobDefinitionAutoMlImageObjectDetectionMetadata": { +"id": "GoogleCloudAiplatformV1SchemaTrainingjobDefinitionAutoMlImageObjectDetectionMetadata", +"properties": { +"costMilliNodeHours": { +"description": "The actual training cost of creating this model, expressed in milli node hours, i.e. 1,000 value in this field means 1 node hour. Guaranteed to not exceed inputs.budgetMilliNodeHours.", +"format": "int64", +"type": "string" +}, +"successfulStopReason": { +"description": "For successful job completions, this is the reason why the job has finished.", +"enum": [ +"SUCCESSFUL_STOP_REASON_UNSPECIFIED", +"BUDGET_REACHED", +"MODEL_CONVERGED" +], +"enumDescriptions": [ +"Should not be set.", +"The inputs.budgetMilliNodeHours had been reached.", +"Further training of the Model ceased to increase its quality, since it already has converged." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1SchemaTrainingjobDefinitionAutoMlImageSegmentation": { +"description": "A TrainingJob that trains and uploads an AutoML Image Segmentation Model.", +"id": "GoogleCloudAiplatformV1SchemaTrainingjobDefinitionAutoMlImageSegmentation", +"properties": { +"inputs": { +"$ref": "GoogleCloudAiplatformV1SchemaTrainingjobDefinitionAutoMlImageSegmentationInputs", +"description": "The input parameters of this TrainingJob." +}, +"metadata": { +"$ref": "GoogleCloudAiplatformV1SchemaTrainingjobDefinitionAutoMlImageSegmentationMetadata", +"description": "The metadata information." +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1SchemaTrainingjobDefinitionAutoMlImageSegmentationInputs": { +"id": "GoogleCloudAiplatformV1SchemaTrainingjobDefinitionAutoMlImageSegmentationInputs", +"properties": { +"baseModelId": { +"description": "The ID of the `base` model. If it is specified, the new model will be trained based on the `base` model. Otherwise, the new model will be trained from scratch. The `base` model must be in the same Project and Location as the new Model to train, and have the same modelType.", +"type": "string" +}, +"budgetMilliNodeHours": { +"description": "The training budget of creating this model, expressed in milli node hours i.e. 1,000 value in this field means 1 node hour. The actual metadata.costMilliNodeHours will be equal or less than this value. If further model training ceases to provide any improvements, it will stop without using the full budget and the metadata.successfulStopReason will be `model-converged`. Note, node_hour = actual_hour * number_of_nodes_involved. Or actual_wall_clock_hours = train_budget_milli_node_hours / (number_of_nodes_involved * 1000) For modelType `cloud-high-accuracy-1`(default), the budget must be between 20,000 and 2,000,000 milli node hours, inclusive. The default value is 192,000 which represents one day in wall time (1000 milli * 24 hours * 8 nodes).", +"format": "int64", +"type": "string" +}, +"modelType": { +"enum": [ +"MODEL_TYPE_UNSPECIFIED", +"CLOUD_HIGH_ACCURACY_1", +"CLOUD_LOW_ACCURACY_1", +"MOBILE_TF_LOW_LATENCY_1" +], +"enumDescriptions": [ +"Should not be set.", +"A model to be used via prediction calls to uCAIP API. Expected to have a higher latency, but should also have a higher prediction quality than other models.", +"A model to be used via prediction calls to uCAIP API. Expected to have a lower latency but relatively lower prediction quality.", +"A model that, in addition to being available within Google Cloud, can also be exported (see ModelService.ExportModel) as TensorFlow model and used on a mobile or edge device afterwards. Expected to have low latency, but may have lower prediction quality than other mobile models." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1SchemaTrainingjobDefinitionAutoMlImageSegmentationMetadata": { +"id": "GoogleCloudAiplatformV1SchemaTrainingjobDefinitionAutoMlImageSegmentationMetadata", +"properties": { +"costMilliNodeHours": { +"description": "The actual training cost of creating this model, expressed in milli node hours, i.e. 1,000 value in this field means 1 node hour. Guaranteed to not exceed inputs.budgetMilliNodeHours.", +"format": "int64", +"type": "string" +}, +"successfulStopReason": { +"description": "For successful job completions, this is the reason why the job has finished.", +"enum": [ +"SUCCESSFUL_STOP_REASON_UNSPECIFIED", +"BUDGET_REACHED", +"MODEL_CONVERGED" +], +"enumDescriptions": [ +"Should not be set.", +"The inputs.budgetMilliNodeHours had been reached.", +"Further training of the Model ceased to increase its quality, since it already has converged." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1SchemaTrainingjobDefinitionAutoMlTables": { +"description": "A TrainingJob that trains and uploads an AutoML Tables Model.", +"id": "GoogleCloudAiplatformV1SchemaTrainingjobDefinitionAutoMlTables", +"properties": { +"inputs": { +"$ref": "GoogleCloudAiplatformV1SchemaTrainingjobDefinitionAutoMlTablesInputs", +"description": "The input parameters of this TrainingJob." +}, +"metadata": { +"$ref": "GoogleCloudAiplatformV1SchemaTrainingjobDefinitionAutoMlTablesMetadata", +"description": "The metadata information." +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1SchemaTrainingjobDefinitionAutoMlTablesInputs": { +"id": "GoogleCloudAiplatformV1SchemaTrainingjobDefinitionAutoMlTablesInputs", +"properties": { +"additionalExperiments": { +"description": "Additional experiment flags for the Tables training pipeline.", +"items": { +"type": "string" +}, +"type": "array" +}, +"disableEarlyStopping": { +"description": "Use the entire training budget. This disables the early stopping feature. By default, the early stopping feature is enabled, which means that AutoML Tables might stop training before the entire training budget has been used.", +"type": "boolean" +}, +"exportEvaluatedDataItemsConfig": { +"$ref": "GoogleCloudAiplatformV1SchemaTrainingjobDefinitionExportEvaluatedDataItemsConfig", +"description": "Configuration for exporting test set predictions to a BigQuery table. If this configuration is absent, then the export is not performed." +}, +"optimizationObjective": { +"description": "Objective function the model is optimizing towards. The training process creates a model that maximizes/minimizes the value of the objective function over the validation set. The supported optimization objectives depend on the prediction type. If the field is not set, a default objective function is used. classification (binary): \"maximize-au-roc\" (default) - Maximize the area under the receiver operating characteristic (ROC) curve. \"minimize-log-loss\" - Minimize log loss. \"maximize-au-prc\" - Maximize the area under the precision-recall curve. \"maximize-precision-at-recall\" - Maximize precision for a specified recall value. \"maximize-recall-at-precision\" - Maximize recall for a specified precision value. classification (multi-class): \"minimize-log-loss\" (default) - Minimize log loss. regression: \"minimize-rmse\" (default) - Minimize root-mean-squared error (RMSE). \"minimize-mae\" - Minimize mean-absolute error (MAE). \"minimize-rmsle\" - Minimize root-mean-squared log error (RMSLE).", +"type": "string" +}, +"optimizationObjectivePrecisionValue": { +"description": "Required when optimization_objective is \"maximize-recall-at-precision\". Must be between 0 and 1, inclusive.", +"format": "float", +"type": "number" +}, +"optimizationObjectiveRecallValue": { +"description": "Required when optimization_objective is \"maximize-precision-at-recall\". Must be between 0 and 1, inclusive.", +"format": "float", +"type": "number" +}, +"predictionType": { +"description": "The type of prediction the Model is to produce. \"classification\" - Predict one out of multiple target values is picked for each row. \"regression\" - Predict a value based on its relation to other values. This type is available only to columns that contain semantically numeric values, i.e. integers or floating point number, even if stored as e.g. strings.", +"type": "string" +}, +"targetColumn": { +"description": "The column name of the target column that the model is to predict.", +"type": "string" +}, +"trainBudgetMilliNodeHours": { +"description": "Required. The train budget of creating this model, expressed in milli node hours i.e. 1,000 value in this field means 1 node hour. The training cost of the model will not exceed this budget. The final cost will be attempted to be close to the budget, though may end up being (even) noticeably smaller - at the backend's discretion. This especially may happen when further model training ceases to provide any improvements. If the budget is set to a value known to be insufficient to train a model for the given dataset, the training won't be attempted and will error. The train budget must be between 1,000 and 72,000 milli node hours, inclusive.", +"format": "int64", +"type": "string" +}, +"transformations": { +"description": "Each transformation will apply transform function to given input column. And the result will be used for training. When creating transformation for BigQuery Struct column, the column should be flattened using \".\" as the delimiter.", +"items": { +"$ref": "GoogleCloudAiplatformV1SchemaTrainingjobDefinitionAutoMlTablesInputsTransformation" +}, +"type": "array" +}, +"weightColumnName": { +"description": "Column name that should be used as the weight column. Higher values in this column give more importance to the row during model training. The column must have numeric values between 0 and 10000 inclusively; 0 means the row is ignored for training. If weight column field is not set, then all rows are assumed to have equal weight of 1.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1SchemaTrainingjobDefinitionAutoMlTablesInputsTransformation": { +"id": "GoogleCloudAiplatformV1SchemaTrainingjobDefinitionAutoMlTablesInputsTransformation", +"properties": { +"auto": { +"$ref": "GoogleCloudAiplatformV1SchemaTrainingjobDefinitionAutoMlTablesInputsTransformationAutoTransformation" +}, +"categorical": { +"$ref": "GoogleCloudAiplatformV1SchemaTrainingjobDefinitionAutoMlTablesInputsTransformationCategoricalTransformation" +}, +"numeric": { +"$ref": "GoogleCloudAiplatformV1SchemaTrainingjobDefinitionAutoMlTablesInputsTransformationNumericTransformation" +}, +"repeatedCategorical": { +"$ref": "GoogleCloudAiplatformV1SchemaTrainingjobDefinitionAutoMlTablesInputsTransformationCategoricalArrayTransformation" +}, +"repeatedNumeric": { +"$ref": "GoogleCloudAiplatformV1SchemaTrainingjobDefinitionAutoMlTablesInputsTransformationNumericArrayTransformation" +}, +"repeatedText": { +"$ref": "GoogleCloudAiplatformV1SchemaTrainingjobDefinitionAutoMlTablesInputsTransformationTextArrayTransformation" +}, +"text": { +"$ref": "GoogleCloudAiplatformV1SchemaTrainingjobDefinitionAutoMlTablesInputsTransformationTextTransformation" +}, +"timestamp": { +"$ref": "GoogleCloudAiplatformV1SchemaTrainingjobDefinitionAutoMlTablesInputsTransformationTimestampTransformation" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1SchemaTrainingjobDefinitionAutoMlTablesInputsTransformationAutoTransformation": { +"description": "Training pipeline will infer the proper transformation based on the statistic of dataset.", +"id": "GoogleCloudAiplatformV1SchemaTrainingjobDefinitionAutoMlTablesInputsTransformationAutoTransformation", +"properties": { +"columnName": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1SchemaTrainingjobDefinitionAutoMlTablesInputsTransformationCategoricalArrayTransformation": { +"description": "Treats the column as categorical array and performs following transformation functions. * For each element in the array, convert the category name to a dictionary lookup index and generate an embedding for each index. Combine the embedding of all elements into a single embedding using the mean. * Empty arrays treated as an embedding of zeroes.", +"id": "GoogleCloudAiplatformV1SchemaTrainingjobDefinitionAutoMlTablesInputsTransformationCategoricalArrayTransformation", +"properties": { +"columnName": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1SchemaTrainingjobDefinitionAutoMlTablesInputsTransformationCategoricalTransformation": { +"description": "Training pipeline will perform following transformation functions. * The categorical string as is--no change to case, punctuation, spelling, tense, and so on. * Convert the category name to a dictionary lookup index and generate an embedding for each index. * Categories that appear less than 5 times in the training dataset are treated as the \"unknown\" category. The \"unknown\" category gets its own special lookup index and resulting embedding.", +"id": "GoogleCloudAiplatformV1SchemaTrainingjobDefinitionAutoMlTablesInputsTransformationCategoricalTransformation", +"properties": { +"columnName": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1SchemaTrainingjobDefinitionAutoMlTablesInputsTransformationNumericArrayTransformation": { +"description": "Treats the column as numerical array and performs following transformation functions. * All transformations for Numerical types applied to the average of the all elements. * The average of empty arrays is treated as zero.", +"id": "GoogleCloudAiplatformV1SchemaTrainingjobDefinitionAutoMlTablesInputsTransformationNumericArrayTransformation", +"properties": { +"columnName": { +"type": "string" +}, +"invalidValuesAllowed": { +"description": "If invalid values is allowed, the training pipeline will create a boolean feature that indicated whether the value is valid. Otherwise, the training pipeline will discard the input row from trainining data.", +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1SchemaTrainingjobDefinitionAutoMlTablesInputsTransformationNumericTransformation": { +"description": "Training pipeline will perform following transformation functions. * The value converted to float32. * The z_score of the value. * log(value+1) when the value is greater than or equal to 0. Otherwise, this transformation is not applied and the value is considered a missing value. * z_score of log(value+1) when the value is greater than or equal to 0. Otherwise, this transformation is not applied and the value is considered a missing value. * A boolean value that indicates whether the value is valid.", +"id": "GoogleCloudAiplatformV1SchemaTrainingjobDefinitionAutoMlTablesInputsTransformationNumericTransformation", +"properties": { +"columnName": { +"type": "string" +}, +"invalidValuesAllowed": { +"description": "If invalid values is allowed, the training pipeline will create a boolean feature that indicated whether the value is valid. Otherwise, the training pipeline will discard the input row from trainining data.", +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1SchemaTrainingjobDefinitionAutoMlTablesInputsTransformationTextArrayTransformation": { +"description": "Treats the column as text array and performs following transformation functions. * Concatenate all text values in the array into a single text value using a space (\" \") as a delimiter, and then treat the result as a single text value. Apply the transformations for Text columns. * Empty arrays treated as an empty text.", +"id": "GoogleCloudAiplatformV1SchemaTrainingjobDefinitionAutoMlTablesInputsTransformationTextArrayTransformation", +"properties": { +"columnName": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1SchemaTrainingjobDefinitionAutoMlTablesInputsTransformationTextTransformation": { +"description": "Training pipeline will perform following transformation functions. * The text as is--no change to case, punctuation, spelling, tense, and so on. * Tokenize text to words. Convert each words to a dictionary lookup index and generate an embedding for each index. Combine the embedding of all elements into a single embedding using the mean. * Tokenization is based on unicode script boundaries. * Missing values get their own lookup index and resulting embedding. * Stop-words receive no special treatment and are not removed.", +"id": "GoogleCloudAiplatformV1SchemaTrainingjobDefinitionAutoMlTablesInputsTransformationTextTransformation", +"properties": { +"columnName": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1SchemaTrainingjobDefinitionAutoMlTablesInputsTransformationTimestampTransformation": { +"description": "Training pipeline will perform following transformation functions. * Apply the transformation functions for Numerical columns. * Determine the year, month, day,and weekday. Treat each value from the * timestamp as a Categorical column. * Invalid numerical values (for example, values that fall outside of a typical timestamp range, or are extreme values) receive no special treatment and are not removed.", +"id": "GoogleCloudAiplatformV1SchemaTrainingjobDefinitionAutoMlTablesInputsTransformationTimestampTransformation", +"properties": { +"columnName": { +"type": "string" +}, +"invalidValuesAllowed": { +"description": "If invalid values is allowed, the training pipeline will create a boolean feature that indicated whether the value is valid. Otherwise, the training pipeline will discard the input row from trainining data.", +"type": "boolean" +}, +"timeFormat": { +"description": "The format in which that time field is expressed. The time_format must either be one of: * `unix-seconds` * `unix-milliseconds` * `unix-microseconds` * `unix-nanoseconds` (for respectively number of seconds, milliseconds, microseconds and nanoseconds since start of the Unix epoch); or be written in `strftime` syntax. If time_format is not set, then the default format is RFC 3339 `date-time` format, where `time-offset` = `\"Z\"` (e.g. 1985-04-12T23:20:50.52Z)", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1SchemaTrainingjobDefinitionAutoMlTablesMetadata": { +"description": "Model metadata specific to AutoML Tables.", +"id": "GoogleCloudAiplatformV1SchemaTrainingjobDefinitionAutoMlTablesMetadata", +"properties": { +"evaluatedDataItemsBigqueryUri": { +"description": "BigQuery destination uri for exported evaluated examples.", +"type": "string" +}, +"trainCostMilliNodeHours": { +"description": "Output only. The actual training cost of the model, expressed in milli node hours, i.e. 1,000 value in this field means 1 node hour. Guaranteed to not exceed the train budget.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1SchemaTrainingjobDefinitionAutoMlTextClassification": { +"description": "A TrainingJob that trains and uploads an AutoML Text Classification Model.", +"id": "GoogleCloudAiplatformV1SchemaTrainingjobDefinitionAutoMlTextClassification", +"properties": { +"inputs": { +"$ref": "GoogleCloudAiplatformV1SchemaTrainingjobDefinitionAutoMlTextClassificationInputs", +"description": "The input parameters of this TrainingJob." +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1SchemaTrainingjobDefinitionAutoMlTextClassificationInputs": { +"id": "GoogleCloudAiplatformV1SchemaTrainingjobDefinitionAutoMlTextClassificationInputs", +"properties": { +"multiLabel": { +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1SchemaTrainingjobDefinitionAutoMlTextExtraction": { +"description": "A TrainingJob that trains and uploads an AutoML Text Extraction Model.", +"id": "GoogleCloudAiplatformV1SchemaTrainingjobDefinitionAutoMlTextExtraction", +"properties": { +"inputs": { +"$ref": "GoogleCloudAiplatformV1SchemaTrainingjobDefinitionAutoMlTextExtractionInputs", +"description": "The input parameters of this TrainingJob." +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1SchemaTrainingjobDefinitionAutoMlTextExtractionInputs": { +"id": "GoogleCloudAiplatformV1SchemaTrainingjobDefinitionAutoMlTextExtractionInputs", +"properties": {}, +"type": "object" +}, +"GoogleCloudAiplatformV1SchemaTrainingjobDefinitionAutoMlTextSentiment": { +"description": "A TrainingJob that trains and uploads an AutoML Text Sentiment Model.", +"id": "GoogleCloudAiplatformV1SchemaTrainingjobDefinitionAutoMlTextSentiment", +"properties": { +"inputs": { +"$ref": "GoogleCloudAiplatformV1SchemaTrainingjobDefinitionAutoMlTextSentimentInputs", +"description": "The input parameters of this TrainingJob." +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1SchemaTrainingjobDefinitionAutoMlTextSentimentInputs": { +"id": "GoogleCloudAiplatformV1SchemaTrainingjobDefinitionAutoMlTextSentimentInputs", +"properties": { +"sentimentMax": { +"description": "A sentiment is expressed as an integer ordinal, where higher value means a more positive sentiment. The range of sentiments that will be used is between 0 and sentimentMax (inclusive on both ends), and all the values in the range must be represented in the dataset before a model can be created. Only the Annotations with this sentimentMax will be used for training. sentimentMax value must be between 1 and 10 (inclusive).", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1SchemaTrainingjobDefinitionAutoMlVideoActionRecognition": { +"description": "A TrainingJob that trains and uploads an AutoML Video Action Recognition Model.", +"id": "GoogleCloudAiplatformV1SchemaTrainingjobDefinitionAutoMlVideoActionRecognition", +"properties": { +"inputs": { +"$ref": "GoogleCloudAiplatformV1SchemaTrainingjobDefinitionAutoMlVideoActionRecognitionInputs", +"description": "The input parameters of this TrainingJob." +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1SchemaTrainingjobDefinitionAutoMlVideoActionRecognitionInputs": { +"id": "GoogleCloudAiplatformV1SchemaTrainingjobDefinitionAutoMlVideoActionRecognitionInputs", +"properties": { +"modelType": { +"enum": [ +"MODEL_TYPE_UNSPECIFIED", +"CLOUD", +"MOBILE_VERSATILE_1", +"MOBILE_JETSON_VERSATILE_1", +"MOBILE_CORAL_VERSATILE_1" +], +"enumDescriptions": [ +"Should not be set.", +"A model best tailored to be used within Google Cloud, and which c annot be exported. Default.", +"A model that, in addition to being available within Google Cloud, can also be exported (see ModelService.ExportModel) as a TensorFlow or TensorFlow Lite model and used on a mobile or edge device afterwards.", +"A model that, in addition to being available within Google Cloud, can also be exported (see ModelService.ExportModel) to a Jetson device afterwards.", +"A model that, in addition to being available within Google Cloud, can also be exported (see ModelService.ExportModel) as a TensorFlow or TensorFlow Lite model and used on a Coral device afterwards." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1SchemaTrainingjobDefinitionAutoMlVideoClassification": { +"description": "A TrainingJob that trains and uploads an AutoML Video Classification Model.", +"id": "GoogleCloudAiplatformV1SchemaTrainingjobDefinitionAutoMlVideoClassification", +"properties": { +"inputs": { +"$ref": "GoogleCloudAiplatformV1SchemaTrainingjobDefinitionAutoMlVideoClassificationInputs", +"description": "The input parameters of this TrainingJob." +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1SchemaTrainingjobDefinitionAutoMlVideoClassificationInputs": { +"id": "GoogleCloudAiplatformV1SchemaTrainingjobDefinitionAutoMlVideoClassificationInputs", +"properties": { +"modelType": { +"enum": [ +"MODEL_TYPE_UNSPECIFIED", +"CLOUD", +"MOBILE_VERSATILE_1", +"MOBILE_JETSON_VERSATILE_1" +], +"enumDescriptions": [ +"Should not be set.", +"A model best tailored to be used within Google Cloud, and which cannot be exported. Default.", +"A model that, in addition to being available within Google Cloud, can also be exported (see ModelService.ExportModel) as a TensorFlow or TensorFlow Lite model and used on a mobile or edge device afterwards.", +"A model that, in addition to being available within Google Cloud, can also be exported (see ModelService.ExportModel) to a Jetson device afterwards." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1SchemaTrainingjobDefinitionAutoMlVideoObjectTracking": { +"description": "A TrainingJob that trains and uploads an AutoML Video ObjectTracking Model.", +"id": "GoogleCloudAiplatformV1SchemaTrainingjobDefinitionAutoMlVideoObjectTracking", +"properties": { +"inputs": { +"$ref": "GoogleCloudAiplatformV1SchemaTrainingjobDefinitionAutoMlVideoObjectTrackingInputs", +"description": "The input parameters of this TrainingJob." +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1SchemaTrainingjobDefinitionAutoMlVideoObjectTrackingInputs": { +"id": "GoogleCloudAiplatformV1SchemaTrainingjobDefinitionAutoMlVideoObjectTrackingInputs", +"properties": { +"modelType": { +"enum": [ +"MODEL_TYPE_UNSPECIFIED", +"CLOUD", +"MOBILE_VERSATILE_1", +"MOBILE_CORAL_VERSATILE_1", +"MOBILE_CORAL_LOW_LATENCY_1", +"MOBILE_JETSON_VERSATILE_1", +"MOBILE_JETSON_LOW_LATENCY_1" +], +"enumDescriptions": [ +"Should not be set.", +"A model best tailored to be used within Google Cloud, and which c annot be exported. Default.", +"A model that, in addition to being available within Google Cloud, can also be exported (see ModelService.ExportModel) as a TensorFlow or TensorFlow Lite model and used on a mobile or edge device afterwards.", +"A versatile model that is meant to be exported (see ModelService.ExportModel) and used on a Google Coral device.", +"A model that trades off quality for low latency, to be exported (see ModelService.ExportModel) and used on a Google Coral device.", +"A versatile model that is meant to be exported (see ModelService.ExportModel) and used on an NVIDIA Jetson device.", +"A model that trades off quality for low latency, to be exported (see ModelService.ExportModel) and used on an NVIDIA Jetson device." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1SchemaTrainingjobDefinitionAutomlImageTrainingTunableParameter": { +"description": "A wrapper class which contains the tunable parameters in an AutoML Image training job.", +"id": "GoogleCloudAiplatformV1SchemaTrainingjobDefinitionAutomlImageTrainingTunableParameter", +"properties": { +"checkpointName": { +"description": "Optional. An unique name of pretrained model checkpoint provided in model garden, it will be mapped to a GCS location internally.", +"type": "string" +}, +"datasetConfig": { +"additionalProperties": { +"type": "string" +}, +"description": "Customizable dataset settings, used in the `model_garden_trainer`.", +"type": "object" +}, +"studySpec": { +"$ref": "GoogleCloudAiplatformV1StudySpec", +"description": "Optioinal. StudySpec of hyperparameter tuning job. Required for `model_garden_trainer`." +}, +"trainerConfig": { +"additionalProperties": { +"type": "string" +}, +"description": "Customizable trainer settings, used in the `model_garden_trainer`.", +"type": "object" +}, +"trainerType": { +"enum": [ +"TRAINER_TYPE_UNSPECIFIED", +"AUTOML_TRAINER", +"MODEL_GARDEN_TRAINER" +], +"enumDescriptions": [ +"Default value.", +"", +"" +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1SchemaTrainingjobDefinitionCustomJobMetadata": { +"id": "GoogleCloudAiplatformV1SchemaTrainingjobDefinitionCustomJobMetadata", +"properties": { +"backingCustomJob": { +"description": "The resource name of the CustomJob that has been created to carry out this custom task.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1SchemaTrainingjobDefinitionCustomTask": { +"description": "A TrainingJob that trains a custom code Model.", +"id": "GoogleCloudAiplatformV1SchemaTrainingjobDefinitionCustomTask", +"properties": { +"inputs": { +"$ref": "GoogleCloudAiplatformV1CustomJobSpec", +"description": "The input parameters of this CustomTask." +}, +"metadata": { +"$ref": "GoogleCloudAiplatformV1SchemaTrainingjobDefinitionCustomJobMetadata", +"description": "The metadata information." +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1SchemaTrainingjobDefinitionExportEvaluatedDataItemsConfig": { +"description": "Configuration for exporting test set predictions to a BigQuery table.", +"id": "GoogleCloudAiplatformV1SchemaTrainingjobDefinitionExportEvaluatedDataItemsConfig", +"properties": { +"destinationBigqueryUri": { +"description": "URI of desired destination BigQuery table. Expected format: `bq://{project_id}:{dataset_id}:{table}` If not specified, then results are exported to the following auto-created BigQuery table: `{project_id}:export_evaluated_examples_{model_name}_{yyyy_MM_dd'T'HH_mm_ss_SSS'Z'}.evaluated_examples`", +"type": "string" +}, +"overrideExistingTable": { +"description": "If true and an export destination is specified, then the contents of the destination are overwritten. Otherwise, if the export destination already exists, then the export operation fails.", +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1SchemaTrainingjobDefinitionHierarchyConfig": { +"description": "Configuration that defines the hierarchical relationship of time series and parameters for hierarchical forecasting strategies.", +"id": "GoogleCloudAiplatformV1SchemaTrainingjobDefinitionHierarchyConfig", +"properties": { +"groupColumns": { +"description": "A list of time series attribute column names that define the time series hierarchy. Only one level of hierarchy is supported, ex. 'region' for a hierarchy of stores or 'department' for a hierarchy of products. If multiple columns are specified, time series will be grouped by their combined values, ex. ('blue', 'large') for 'color' and 'size', up to 5 columns are accepted. If no group columns are specified, all time series are considered to be part of the same group.", +"items": { +"type": "string" +}, +"type": "array" +}, +"groupTemporalTotalWeight": { +"description": "The weight of the loss for predictions aggregated over both the horizon and time series in the same hierarchy group.", +"format": "double", +"type": "number" +}, +"groupTotalWeight": { +"description": "The weight of the loss for predictions aggregated over time series in the same group.", +"format": "double", +"type": "number" +}, +"temporalTotalWeight": { +"description": "The weight of the loss for predictions aggregated over the horizon for a single time series.", +"format": "double", +"type": "number" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1SchemaTrainingjobDefinitionHyperparameterTuningJobMetadata": { +"id": "GoogleCloudAiplatformV1SchemaTrainingjobDefinitionHyperparameterTuningJobMetadata", +"properties": { +"backingHyperparameterTuningJob": { +"description": "The resource name of the HyperparameterTuningJob that has been created to carry out this HyperparameterTuning task.", +"type": "string" +}, +"bestTrialBackingCustomJob": { +"description": "The resource name of the CustomJob that has been created to run the best Trial of this HyperparameterTuning task.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1SchemaTrainingjobDefinitionHyperparameterTuningJobSpec": { +"id": "GoogleCloudAiplatformV1SchemaTrainingjobDefinitionHyperparameterTuningJobSpec", +"properties": { +"maxFailedTrialCount": { +"description": "The number of failed Trials that need to be seen before failing the HyperparameterTuningJob. If set to 0, Vertex AI decides how many Trials must fail before the whole job fails.", +"format": "int32", +"type": "integer" +}, +"maxTrialCount": { +"description": "The desired total number of Trials.", +"format": "int32", +"type": "integer" +}, +"parallelTrialCount": { +"description": "The desired number of Trials to run in parallel.", +"format": "int32", +"type": "integer" +}, +"studySpec": { +"$ref": "GoogleCloudAiplatformV1StudySpec", +"description": "Study configuration of the HyperparameterTuningJob." +}, +"trialJobSpec": { +"$ref": "GoogleCloudAiplatformV1CustomJobSpec", +"description": "The spec of a trial job. The same spec applies to the CustomJobs created in all the trials." +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1SchemaTrainingjobDefinitionHyperparameterTuningTask": { +"description": "A TrainingJob that tunes Hypererparameters of a custom code Model.", +"id": "GoogleCloudAiplatformV1SchemaTrainingjobDefinitionHyperparameterTuningTask", +"properties": { +"inputs": { +"$ref": "GoogleCloudAiplatformV1SchemaTrainingjobDefinitionHyperparameterTuningJobSpec", +"description": "The input parameters of this HyperparameterTuningTask." +}, +"metadata": { +"$ref": "GoogleCloudAiplatformV1SchemaTrainingjobDefinitionHyperparameterTuningJobMetadata", +"description": "The metadata information." +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1SchemaTrainingjobDefinitionSeq2SeqPlusForecasting": { +"description": "A TrainingJob that trains and uploads an AutoML Forecasting Model.", +"id": "GoogleCloudAiplatformV1SchemaTrainingjobDefinitionSeq2SeqPlusForecasting", +"properties": { +"inputs": { +"$ref": "GoogleCloudAiplatformV1SchemaTrainingjobDefinitionSeq2SeqPlusForecastingInputs", +"description": "The input parameters of this TrainingJob." +}, +"metadata": { +"$ref": "GoogleCloudAiplatformV1SchemaTrainingjobDefinitionSeq2SeqPlusForecastingMetadata", +"description": "The metadata information." +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1SchemaTrainingjobDefinitionSeq2SeqPlusForecastingInputs": { +"id": "GoogleCloudAiplatformV1SchemaTrainingjobDefinitionSeq2SeqPlusForecastingInputs", +"properties": { +"additionalExperiments": { +"description": "Additional experiment flags for the time series forcasting training.", +"items": { +"type": "string" +}, +"type": "array" +}, +"availableAtForecastColumns": { +"description": "Names of columns that are available and provided when a forecast is requested. These columns contain information for the given entity (identified by the time_series_identifier_column column) that is known at forecast. For example, predicted weather for a specific day.", +"items": { +"type": "string" +}, +"type": "array" +}, +"contextWindow": { +"description": "The amount of time into the past training and prediction data is used for model training and prediction respectively. Expressed in number of units defined by the `data_granularity` field.", +"format": "int64", +"type": "string" +}, +"dataGranularity": { +"$ref": "GoogleCloudAiplatformV1SchemaTrainingjobDefinitionSeq2SeqPlusForecastingInputsGranularity", +"description": "Expected difference in time granularity between rows in the data." +}, +"exportEvaluatedDataItemsConfig": { +"$ref": "GoogleCloudAiplatformV1SchemaTrainingjobDefinitionExportEvaluatedDataItemsConfig", +"description": "Configuration for exporting test set predictions to a BigQuery table. If this configuration is absent, then the export is not performed." +}, +"forecastHorizon": { +"description": "The amount of time into the future for which forecasted values for the target are returned. Expressed in number of units defined by the `data_granularity` field.", +"format": "int64", +"type": "string" +}, +"hierarchyConfig": { +"$ref": "GoogleCloudAiplatformV1SchemaTrainingjobDefinitionHierarchyConfig", +"description": "Configuration that defines the hierarchical relationship of time series and parameters for hierarchical forecasting strategies." +}, +"holidayRegions": { +"description": "The geographical region based on which the holiday effect is applied in modeling by adding holiday categorical array feature that include all holidays matching the date. This option only allowed when data_granularity is day. By default, holiday effect modeling is disabled. To turn it on, specify the holiday region using this option.", +"items": { +"type": "string" +}, +"type": "array" +}, +"optimizationObjective": { +"description": "Objective function the model is optimizing towards. The training process creates a model that optimizes the value of the objective function over the validation set. The supported optimization objectives: * \"minimize-rmse\" (default) - Minimize root-mean-squared error (RMSE). * \"minimize-mae\" - Minimize mean-absolute error (MAE). * \"minimize-rmsle\" - Minimize root-mean-squared log error (RMSLE). * \"minimize-rmspe\" - Minimize root-mean-squared percentage error (RMSPE). * \"minimize-wape-mae\" - Minimize the combination of weighted absolute percentage error (WAPE) and mean-absolute-error (MAE). * \"minimize-quantile-loss\" - Minimize the quantile loss at the quantiles defined in `quantiles`. * \"minimize-mape\" - Minimize the mean absolute percentage error.", +"type": "string" +}, +"quantiles": { +"description": "Quantiles to use for minimize-quantile-loss `optimization_objective`. Up to 5 quantiles are allowed of values between 0 and 1, exclusive. Required if the value of optimization_objective is minimize-quantile-loss. Represents the percent quantiles to use for that objective. Quantiles must be unique.", +"items": { +"format": "double", +"type": "number" +}, +"type": "array" +}, +"targetColumn": { +"description": "The name of the column that the Model is to predict values for. This column must be unavailable at forecast.", +"type": "string" +}, +"timeColumn": { +"description": "The name of the column that identifies time order in the time series. This column must be available at forecast.", +"type": "string" +}, +"timeSeriesAttributeColumns": { +"description": "Column names that should be used as attribute columns. The value of these columns does not vary as a function of time. For example, store ID or item color.", +"items": { +"type": "string" +}, +"type": "array" +}, +"timeSeriesIdentifierColumn": { +"description": "The name of the column that identifies the time series.", +"type": "string" +}, +"trainBudgetMilliNodeHours": { +"description": "Required. The train budget of creating this model, expressed in milli node hours i.e. 1,000 value in this field means 1 node hour. The training cost of the model will not exceed this budget. The final cost will be attempted to be close to the budget, though may end up being (even) noticeably smaller - at the backend's discretion. This especially may happen when further model training ceases to provide any improvements. If the budget is set to a value known to be insufficient to train a model for the given dataset, the training won't be attempted and will error. The train budget must be between 1,000 and 72,000 milli node hours, inclusive.", +"format": "int64", +"type": "string" +}, +"transformations": { +"description": "Each transformation will apply transform function to given input column. And the result will be used for training. When creating transformation for BigQuery Struct column, the column should be flattened using \".\" as the delimiter.", +"items": { +"$ref": "GoogleCloudAiplatformV1SchemaTrainingjobDefinitionSeq2SeqPlusForecastingInputsTransformation" +}, +"type": "array" +}, +"unavailableAtForecastColumns": { +"description": "Names of columns that are unavailable when a forecast is requested. This column contains information for the given entity (identified by the time_series_identifier_column) that is unknown before the forecast For example, actual weather on a given day.", +"items": { +"type": "string" +}, +"type": "array" +}, +"validationOptions": { +"description": "Validation options for the data validation component. The available options are: * \"fail-pipeline\" - default, will validate against the validation and fail the pipeline if it fails. * \"ignore-validation\" - ignore the results of the validation and continue", +"type": "string" +}, +"weightColumn": { +"description": "Column name that should be used as the weight column. Higher values in this column give more importance to the row during model training. The column must have numeric values between 0 and 10000 inclusively; 0 means the row is ignored for training. If weight column field is not set, then all rows are assumed to have equal weight of 1. This column must be available at forecast.", +"type": "string" +}, +"windowConfig": { +"$ref": "GoogleCloudAiplatformV1SchemaTrainingjobDefinitionWindowConfig", +"description": "Config containing strategy for generating sliding windows." +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1SchemaTrainingjobDefinitionSeq2SeqPlusForecastingInputsGranularity": { +"description": "A duration of time expressed in time granularity units.", +"id": "GoogleCloudAiplatformV1SchemaTrainingjobDefinitionSeq2SeqPlusForecastingInputsGranularity", +"properties": { +"quantity": { +"description": "The number of granularity_units between data points in the training data. If `granularity_unit` is `minute`, can be 1, 5, 10, 15, or 30. For all other values of `granularity_unit`, must be 1.", +"format": "int64", +"type": "string" +}, +"unit": { +"description": "The time granularity unit of this time period. The supported units are: * \"minute\" * \"hour\" * \"day\" * \"week\" * \"month\" * \"year\"", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1SchemaTrainingjobDefinitionSeq2SeqPlusForecastingInputsTransformation": { +"id": "GoogleCloudAiplatformV1SchemaTrainingjobDefinitionSeq2SeqPlusForecastingInputsTransformation", +"properties": { +"auto": { +"$ref": "GoogleCloudAiplatformV1SchemaTrainingjobDefinitionSeq2SeqPlusForecastingInputsTransformationAutoTransformation" +}, +"categorical": { +"$ref": "GoogleCloudAiplatformV1SchemaTrainingjobDefinitionSeq2SeqPlusForecastingInputsTransformationCategoricalTransformation" +}, +"numeric": { +"$ref": "GoogleCloudAiplatformV1SchemaTrainingjobDefinitionSeq2SeqPlusForecastingInputsTransformationNumericTransformation" +}, +"text": { +"$ref": "GoogleCloudAiplatformV1SchemaTrainingjobDefinitionSeq2SeqPlusForecastingInputsTransformationTextTransformation" +}, +"timestamp": { +"$ref": "GoogleCloudAiplatformV1SchemaTrainingjobDefinitionSeq2SeqPlusForecastingInputsTransformationTimestampTransformation" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1SchemaTrainingjobDefinitionSeq2SeqPlusForecastingInputsTransformationAutoTransformation": { +"description": "Training pipeline will infer the proper transformation based on the statistic of dataset.", +"id": "GoogleCloudAiplatformV1SchemaTrainingjobDefinitionSeq2SeqPlusForecastingInputsTransformationAutoTransformation", +"properties": { +"columnName": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1SchemaTrainingjobDefinitionSeq2SeqPlusForecastingInputsTransformationCategoricalTransformation": { +"description": "Training pipeline will perform following transformation functions. * The categorical string as is--no change to case, punctuation, spelling, tense, and so on. * Convert the category name to a dictionary lookup index and generate an embedding for each index. * Categories that appear less than 5 times in the training dataset are treated as the \"unknown\" category. The \"unknown\" category gets its own special lookup index and resulting embedding.", +"id": "GoogleCloudAiplatformV1SchemaTrainingjobDefinitionSeq2SeqPlusForecastingInputsTransformationCategoricalTransformation", +"properties": { +"columnName": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1SchemaTrainingjobDefinitionSeq2SeqPlusForecastingInputsTransformationNumericTransformation": { +"description": "Training pipeline will perform following transformation functions. * The value converted to float32. * The z_score of the value. * log(value+1) when the value is greater than or equal to 0. Otherwise, this transformation is not applied and the value is considered a missing value. * z_score of log(value+1) when the value is greater than or equal to 0. Otherwise, this transformation is not applied and the value is considered a missing value.", +"id": "GoogleCloudAiplatformV1SchemaTrainingjobDefinitionSeq2SeqPlusForecastingInputsTransformationNumericTransformation", +"properties": { +"columnName": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1SchemaTrainingjobDefinitionSeq2SeqPlusForecastingInputsTransformationTextTransformation": { +"description": "Training pipeline will perform following transformation functions. * The text as is--no change to case, punctuation, spelling, tense, and so on. * Convert the category name to a dictionary lookup index and generate an embedding for each index.", +"id": "GoogleCloudAiplatformV1SchemaTrainingjobDefinitionSeq2SeqPlusForecastingInputsTransformationTextTransformation", +"properties": { +"columnName": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1SchemaTrainingjobDefinitionSeq2SeqPlusForecastingInputsTransformationTimestampTransformation": { +"description": "Training pipeline will perform following transformation functions. * Apply the transformation functions for Numerical columns. * Determine the year, month, day,and weekday. Treat each value from the timestamp as a Categorical column. * Invalid numerical values (for example, values that fall outside of a typical timestamp range, or are extreme values) receive no special treatment and are not removed.", +"id": "GoogleCloudAiplatformV1SchemaTrainingjobDefinitionSeq2SeqPlusForecastingInputsTransformationTimestampTransformation", +"properties": { +"columnName": { +"type": "string" +}, +"timeFormat": { +"description": "The format in which that time field is expressed. The time_format must either be one of: * `unix-seconds` * `unix-milliseconds` * `unix-microseconds` * `unix-nanoseconds` (for respectively number of seconds, milliseconds, microseconds and nanoseconds since start of the Unix epoch); or be written in `strftime` syntax. If time_format is not set, then the default format is RFC 3339 `date-time` format, where `time-offset` = `\"Z\"` (e.g. 1985-04-12T23:20:50.52Z)", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1SchemaTrainingjobDefinitionSeq2SeqPlusForecastingMetadata": { +"description": "Model metadata specific to Seq2Seq Plus Forecasting.", +"id": "GoogleCloudAiplatformV1SchemaTrainingjobDefinitionSeq2SeqPlusForecastingMetadata", +"properties": { +"evaluatedDataItemsBigqueryUri": { +"description": "BigQuery destination uri for exported evaluated examples.", +"type": "string" +}, +"trainCostMilliNodeHours": { +"description": "Output only. The actual training cost of the model, expressed in milli node hours, i.e. 1,000 value in this field means 1 node hour. Guaranteed to not exceed the train budget.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1SchemaTrainingjobDefinitionTftForecasting": { +"description": "A TrainingJob that trains and uploads an AutoML Forecasting Model.", +"id": "GoogleCloudAiplatformV1SchemaTrainingjobDefinitionTftForecasting", +"properties": { +"inputs": { +"$ref": "GoogleCloudAiplatformV1SchemaTrainingjobDefinitionTftForecastingInputs", +"description": "The input parameters of this TrainingJob." +}, +"metadata": { +"$ref": "GoogleCloudAiplatformV1SchemaTrainingjobDefinitionTftForecastingMetadata", +"description": "The metadata information." +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1SchemaTrainingjobDefinitionTftForecastingInputs": { +"id": "GoogleCloudAiplatformV1SchemaTrainingjobDefinitionTftForecastingInputs", +"properties": { +"additionalExperiments": { +"description": "Additional experiment flags for the time series forcasting training.", +"items": { +"type": "string" +}, +"type": "array" +}, +"availableAtForecastColumns": { +"description": "Names of columns that are available and provided when a forecast is requested. These columns contain information for the given entity (identified by the time_series_identifier_column column) that is known at forecast. For example, predicted weather for a specific day.", +"items": { +"type": "string" +}, +"type": "array" +}, +"contextWindow": { +"description": "The amount of time into the past training and prediction data is used for model training and prediction respectively. Expressed in number of units defined by the `data_granularity` field.", +"format": "int64", +"type": "string" +}, +"dataGranularity": { +"$ref": "GoogleCloudAiplatformV1SchemaTrainingjobDefinitionTftForecastingInputsGranularity", +"description": "Expected difference in time granularity between rows in the data." +}, +"exportEvaluatedDataItemsConfig": { +"$ref": "GoogleCloudAiplatformV1SchemaTrainingjobDefinitionExportEvaluatedDataItemsConfig", +"description": "Configuration for exporting test set predictions to a BigQuery table. If this configuration is absent, then the export is not performed." +}, +"forecastHorizon": { +"description": "The amount of time into the future for which forecasted values for the target are returned. Expressed in number of units defined by the `data_granularity` field.", +"format": "int64", +"type": "string" +}, +"hierarchyConfig": { +"$ref": "GoogleCloudAiplatformV1SchemaTrainingjobDefinitionHierarchyConfig", +"description": "Configuration that defines the hierarchical relationship of time series and parameters for hierarchical forecasting strategies." +}, +"holidayRegions": { +"description": "The geographical region based on which the holiday effect is applied in modeling by adding holiday categorical array feature that include all holidays matching the date. This option only allowed when data_granularity is day. By default, holiday effect modeling is disabled. To turn it on, specify the holiday region using this option.", +"items": { +"type": "string" +}, +"type": "array" +}, +"optimizationObjective": { +"description": "Objective function the model is optimizing towards. The training process creates a model that optimizes the value of the objective function over the validation set. The supported optimization objectives: * \"minimize-rmse\" (default) - Minimize root-mean-squared error (RMSE). * \"minimize-mae\" - Minimize mean-absolute error (MAE). * \"minimize-rmsle\" - Minimize root-mean-squared log error (RMSLE). * \"minimize-rmspe\" - Minimize root-mean-squared percentage error (RMSPE). * \"minimize-wape-mae\" - Minimize the combination of weighted absolute percentage error (WAPE) and mean-absolute-error (MAE). * \"minimize-quantile-loss\" - Minimize the quantile loss at the quantiles defined in `quantiles`. * \"minimize-mape\" - Minimize the mean absolute percentage error.", +"type": "string" +}, +"quantiles": { +"description": "Quantiles to use for minimize-quantile-loss `optimization_objective`. Up to 5 quantiles are allowed of values between 0 and 1, exclusive. Required if the value of optimization_objective is minimize-quantile-loss. Represents the percent quantiles to use for that objective. Quantiles must be unique.", +"items": { +"format": "double", +"type": "number" +}, +"type": "array" +}, +"targetColumn": { +"description": "The name of the column that the Model is to predict values for. This column must be unavailable at forecast.", +"type": "string" +}, +"timeColumn": { +"description": "The name of the column that identifies time order in the time series. This column must be available at forecast.", +"type": "string" +}, +"timeSeriesAttributeColumns": { +"description": "Column names that should be used as attribute columns. The value of these columns does not vary as a function of time. For example, store ID or item color.", +"items": { +"type": "string" +}, +"type": "array" +}, +"timeSeriesIdentifierColumn": { +"description": "The name of the column that identifies the time series.", +"type": "string" +}, +"trainBudgetMilliNodeHours": { +"description": "Required. The train budget of creating this model, expressed in milli node hours i.e. 1,000 value in this field means 1 node hour. The training cost of the model will not exceed this budget. The final cost will be attempted to be close to the budget, though may end up being (even) noticeably smaller - at the backend's discretion. This especially may happen when further model training ceases to provide any improvements. If the budget is set to a value known to be insufficient to train a model for the given dataset, the training won't be attempted and will error. The train budget must be between 1,000 and 72,000 milli node hours, inclusive.", +"format": "int64", +"type": "string" +}, +"transformations": { +"description": "Each transformation will apply transform function to given input column. And the result will be used for training. When creating transformation for BigQuery Struct column, the column should be flattened using \".\" as the delimiter.", +"items": { +"$ref": "GoogleCloudAiplatformV1SchemaTrainingjobDefinitionTftForecastingInputsTransformation" +}, +"type": "array" +}, +"unavailableAtForecastColumns": { +"description": "Names of columns that are unavailable when a forecast is requested. This column contains information for the given entity (identified by the time_series_identifier_column) that is unknown before the forecast For example, actual weather on a given day.", +"items": { +"type": "string" +}, +"type": "array" +}, +"validationOptions": { +"description": "Validation options for the data validation component. The available options are: * \"fail-pipeline\" - default, will validate against the validation and fail the pipeline if it fails. * \"ignore-validation\" - ignore the results of the validation and continue", +"type": "string" +}, +"weightColumn": { +"description": "Column name that should be used as the weight column. Higher values in this column give more importance to the row during model training. The column must have numeric values between 0 and 10000 inclusively; 0 means the row is ignored for training. If weight column field is not set, then all rows are assumed to have equal weight of 1. This column must be available at forecast.", +"type": "string" +}, +"windowConfig": { +"$ref": "GoogleCloudAiplatformV1SchemaTrainingjobDefinitionWindowConfig", +"description": "Config containing strategy for generating sliding windows." +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1SchemaTrainingjobDefinitionTftForecastingInputsGranularity": { +"description": "A duration of time expressed in time granularity units.", +"id": "GoogleCloudAiplatformV1SchemaTrainingjobDefinitionTftForecastingInputsGranularity", +"properties": { +"quantity": { +"description": "The number of granularity_units between data points in the training data. If `granularity_unit` is `minute`, can be 1, 5, 10, 15, or 30. For all other values of `granularity_unit`, must be 1.", +"format": "int64", +"type": "string" +}, +"unit": { +"description": "The time granularity unit of this time period. The supported units are: * \"minute\" * \"hour\" * \"day\" * \"week\" * \"month\" * \"year\"", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1SchemaTrainingjobDefinitionTftForecastingInputsTransformation": { +"id": "GoogleCloudAiplatformV1SchemaTrainingjobDefinitionTftForecastingInputsTransformation", +"properties": { +"auto": { +"$ref": "GoogleCloudAiplatformV1SchemaTrainingjobDefinitionTftForecastingInputsTransformationAutoTransformation" +}, +"categorical": { +"$ref": "GoogleCloudAiplatformV1SchemaTrainingjobDefinitionTftForecastingInputsTransformationCategoricalTransformation" +}, +"numeric": { +"$ref": "GoogleCloudAiplatformV1SchemaTrainingjobDefinitionTftForecastingInputsTransformationNumericTransformation" +}, +"text": { +"$ref": "GoogleCloudAiplatformV1SchemaTrainingjobDefinitionTftForecastingInputsTransformationTextTransformation" +}, +"timestamp": { +"$ref": "GoogleCloudAiplatformV1SchemaTrainingjobDefinitionTftForecastingInputsTransformationTimestampTransformation" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1SchemaTrainingjobDefinitionTftForecastingInputsTransformationAutoTransformation": { +"description": "Training pipeline will infer the proper transformation based on the statistic of dataset.", +"id": "GoogleCloudAiplatformV1SchemaTrainingjobDefinitionTftForecastingInputsTransformationAutoTransformation", +"properties": { +"columnName": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1SchemaTrainingjobDefinitionTftForecastingInputsTransformationCategoricalTransformation": { +"description": "Training pipeline will perform following transformation functions. * The categorical string as is--no change to case, punctuation, spelling, tense, and so on. * Convert the category name to a dictionary lookup index and generate an embedding for each index. * Categories that appear less than 5 times in the training dataset are treated as the \"unknown\" category. The \"unknown\" category gets its own special lookup index and resulting embedding.", +"id": "GoogleCloudAiplatformV1SchemaTrainingjobDefinitionTftForecastingInputsTransformationCategoricalTransformation", +"properties": { +"columnName": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1SchemaTrainingjobDefinitionTftForecastingInputsTransformationNumericTransformation": { +"description": "Training pipeline will perform following transformation functions. * The value converted to float32. * The z_score of the value. * log(value+1) when the value is greater than or equal to 0. Otherwise, this transformation is not applied and the value is considered a missing value. * z_score of log(value+1) when the value is greater than or equal to 0. Otherwise, this transformation is not applied and the value is considered a missing value.", +"id": "GoogleCloudAiplatformV1SchemaTrainingjobDefinitionTftForecastingInputsTransformationNumericTransformation", +"properties": { +"columnName": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1SchemaTrainingjobDefinitionTftForecastingInputsTransformationTextTransformation": { +"description": "Training pipeline will perform following transformation functions. * The text as is--no change to case, punctuation, spelling, tense, and so on. * Convert the category name to a dictionary lookup index and generate an embedding for each index.", +"id": "GoogleCloudAiplatformV1SchemaTrainingjobDefinitionTftForecastingInputsTransformationTextTransformation", +"properties": { +"columnName": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1SchemaTrainingjobDefinitionTftForecastingInputsTransformationTimestampTransformation": { +"description": "Training pipeline will perform following transformation functions. * Apply the transformation functions for Numerical columns. * Determine the year, month, day,and weekday. Treat each value from the timestamp as a Categorical column. * Invalid numerical values (for example, values that fall outside of a typical timestamp range, or are extreme values) receive no special treatment and are not removed.", +"id": "GoogleCloudAiplatformV1SchemaTrainingjobDefinitionTftForecastingInputsTransformationTimestampTransformation", +"properties": { +"columnName": { +"type": "string" +}, +"timeFormat": { +"description": "The format in which that time field is expressed. The time_format must either be one of: * `unix-seconds` * `unix-milliseconds` * `unix-microseconds` * `unix-nanoseconds` (for respectively number of seconds, milliseconds, microseconds and nanoseconds since start of the Unix epoch); or be written in `strftime` syntax. If time_format is not set, then the default format is RFC 3339 `date-time` format, where `time-offset` = `\"Z\"` (e.g. 1985-04-12T23:20:50.52Z)", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1SchemaTrainingjobDefinitionTftForecastingMetadata": { +"description": "Model metadata specific to TFT Forecasting.", +"id": "GoogleCloudAiplatformV1SchemaTrainingjobDefinitionTftForecastingMetadata", +"properties": { +"evaluatedDataItemsBigqueryUri": { +"description": "BigQuery destination uri for exported evaluated examples.", +"type": "string" +}, +"trainCostMilliNodeHours": { +"description": "Output only. The actual training cost of the model, expressed in milli node hours, i.e. 1,000 value in this field means 1 node hour. Guaranteed to not exceed the train budget.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1SchemaTrainingjobDefinitionWindowConfig": { +"description": "Config that contains the strategy used to generate sliding windows in time series training. A window is a series of rows that comprise the context up to the time of prediction, and the horizon following. The corresponding row for each window marks the start of the forecast horizon. Each window is used as an input example for training/evaluation.", +"id": "GoogleCloudAiplatformV1SchemaTrainingjobDefinitionWindowConfig", +"properties": { +"column": { +"description": "Name of the column that should be used to generate sliding windows. The column should contain either booleans or string booleans; if the value of the row is True, generate a sliding window with the horizon starting at that row. The column will not be used as a feature in training.", +"type": "string" +}, +"maxCount": { +"description": "Maximum number of windows that should be generated across all time series.", +"format": "int64", +"type": "string" +}, +"strideLength": { +"description": "Stride length used to generate input examples. Within one time series, every {$STRIDE_LENGTH} rows will be used to generate a sliding window.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1SchemaVertex": { +"description": "Represents a 2D point in the image. Vertex coordinates are normalized to be relative to the original image dimensions and range from 0 to 1. The origin of the coordinate system (0,0) is the top-left corner of the image. x increases to the right, and y increases to the bottom.", +"id": "GoogleCloudAiplatformV1SchemaVertex", +"properties": { +"x": { +"description": "X coordinate of the vertex, normalized to [0.0, 1.0].", +"format": "double", +"type": "number" +}, +"y": { +"description": "Y coordinate of the vertex, normalized to [0.0, 1.0].", +"format": "double", +"type": "number" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1SchemaVideoActionRecognitionAnnotation": { +"description": "Annotation details specific to video action recognition.", +"id": "GoogleCloudAiplatformV1SchemaVideoActionRecognitionAnnotation", +"properties": { +"annotationSpecId": { +"description": "The resource Id of the AnnotationSpec that this Annotation pertains to.", +"type": "string" +}, +"displayName": { +"description": "The display name of the AnnotationSpec that this Annotation pertains to.", +"type": "string" +}, +"timeSegment": { +"$ref": "GoogleCloudAiplatformV1SchemaTimeSegment", +"description": "This Annotation applies to the time period represented by the TimeSegment. If it's not set, the Annotation applies to the whole video." +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1SchemaVideoClassificationAnnotation": { +"description": "Annotation details specific to video classification.", +"id": "GoogleCloudAiplatformV1SchemaVideoClassificationAnnotation", +"properties": { +"annotationSpecId": { +"description": "The resource Id of the AnnotationSpec that this Annotation pertains to.", +"type": "string" +}, +"displayName": { +"description": "The display name of the AnnotationSpec that this Annotation pertains to.", +"type": "string" +}, +"timeSegment": { +"$ref": "GoogleCloudAiplatformV1SchemaTimeSegment", +"description": "This Annotation applies to the time period represented by the TimeSegment. If it's not set, the Annotation applies to the whole video." +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1SchemaVideoDataItem": { +"description": "Payload of Video DataItem.", +"id": "GoogleCloudAiplatformV1SchemaVideoDataItem", +"properties": { +"gcsUri": { +"description": "Required. Google Cloud Storage URI points to the original video in user's bucket. The video is up to 50 GB in size and up to 3 hour in duration.", +"type": "string" +}, +"mimeType": { +"description": "Output only. The mime type of the content of the video. Only the videos in below listed mime types are supported. Supported mime_type: - video/mp4 - video/avi - video/quicktime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1SchemaVideoDatasetMetadata": { +"description": "The metadata of Datasets that contain Video DataItems.", +"id": "GoogleCloudAiplatformV1SchemaVideoDatasetMetadata", +"properties": { +"dataItemSchemaUri": { +"description": "Points to a YAML file stored on Google Cloud Storage describing payload of the Video DataItems that belong to this Dataset.", +"type": "string" +}, +"gcsBucket": { +"description": "Google Cloud Storage Bucket name that contains the blob data of this Dataset.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1SchemaVideoObjectTrackingAnnotation": { +"description": "Annotation details specific to video object tracking.", +"id": "GoogleCloudAiplatformV1SchemaVideoObjectTrackingAnnotation", +"properties": { +"annotationSpecId": { +"description": "The resource Id of the AnnotationSpec that this Annotation pertains to.", +"type": "string" +}, +"displayName": { +"description": "The display name of the AnnotationSpec that this Annotation pertains to.", +"type": "string" +}, +"instanceId": { +"description": "The instance of the object, expressed as a positive integer. Used to track the same object across different frames.", +"format": "int64", +"type": "string" +}, +"timeOffset": { +"description": "A time (frame) of a video to which this annotation pertains. Represented as the duration since the video's start.", +"format": "google-duration", +"type": "string" +}, +"xMax": { +"description": "The rightmost coordinate of the bounding box.", +"format": "double", +"type": "number" +}, +"xMin": { +"description": "The leftmost coordinate of the bounding box.", +"format": "double", +"type": "number" +}, +"yMax": { +"description": "The bottommost coordinate of the bounding box.", +"format": "double", +"type": "number" +}, +"yMin": { +"description": "The topmost coordinate of the bounding box.", +"format": "double", +"type": "number" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1SchemaVisualInspectionClassificationLabelSavedQueryMetadata": { +"id": "GoogleCloudAiplatformV1SchemaVisualInspectionClassificationLabelSavedQueryMetadata", +"properties": { +"multiLabel": { +"description": "Whether or not the classification label is multi_label.", +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1SchemaVisualInspectionMaskSavedQueryMetadata": { +"id": "GoogleCloudAiplatformV1SchemaVisualInspectionMaskSavedQueryMetadata", +"properties": {}, +"type": "object" +}, +"GoogleCloudAiplatformV1SearchDataItemsResponse": { +"description": "Response message for DatasetService.SearchDataItems.", +"id": "GoogleCloudAiplatformV1SearchDataItemsResponse", +"properties": { +"dataItemViews": { +"description": "The DataItemViews read.", +"items": { +"$ref": "GoogleCloudAiplatformV1DataItemView" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A token to retrieve next page of results. Pass to SearchDataItemsRequest.page_token to obtain that page.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1SearchEntryPoint": { +"description": "An entry point for displaying Google Search results. A `SearchEntryPoint` is populated when the grounding source for a model's response is Google Search. It provides information that you can use to display the search results in your application.", +"id": "GoogleCloudAiplatformV1SearchEntryPoint", +"properties": { +"renderedContent": { +"description": "Optional. An HTML snippet that can be embedded in a web page or an application's webview. This snippet displays a search result, including the title, URL, and a brief description of the search result.", +"type": "string" +}, +"sdkBlob": { +"description": "Optional. A base64-encoded JSON object that contains a list of search queries and their corresponding search URLs. This information can be used to build a custom search UI.", +"format": "byte", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1SearchFeaturesResponse": { +"description": "Response message for FeaturestoreService.SearchFeatures.", +"id": "GoogleCloudAiplatformV1SearchFeaturesResponse", +"properties": { +"features": { +"description": "The Features matching the request. Fields returned: * `name` * `description` * `labels` * `create_time` * `update_time`", +"items": { +"$ref": "GoogleCloudAiplatformV1Feature" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A token, which can be sent as SearchFeaturesRequest.page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1SearchMigratableResourcesRequest": { +"description": "Request message for MigrationService.SearchMigratableResources.", +"id": "GoogleCloudAiplatformV1SearchMigratableResourcesRequest", +"properties": { +"filter": { +"description": "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: * `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.", +"type": "string" +}, +"pageSize": { +"description": "The standard page size. The default and maximum value is 100.", +"format": "int32", +"type": "integer" +}, +"pageToken": { +"description": "The standard page token.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1SearchMigratableResourcesResponse": { +"description": "Response message for MigrationService.SearchMigratableResources.", +"id": "GoogleCloudAiplatformV1SearchMigratableResourcesResponse", +"properties": { +"migratableResources": { +"description": "All migratable resources that can be migrated to the location specified in the request.", +"items": { +"$ref": "GoogleCloudAiplatformV1MigratableResource" +}, +"type": "array" +}, +"nextPageToken": { +"description": "The standard next-page token. The migratable_resources may not fill page_size in SearchMigratableResourcesRequest even when there are subsequent pages.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1SearchModelDeploymentMonitoringStatsAnomaliesRequest": { +"description": "Request message for JobService.SearchModelDeploymentMonitoringStatsAnomalies.", +"id": "GoogleCloudAiplatformV1SearchModelDeploymentMonitoringStatsAnomaliesRequest", +"properties": { +"deployedModelId": { +"description": "Required. The DeployedModel ID of the [ModelDeploymentMonitoringObjectiveConfig.deployed_model_id].", +"type": "string" +}, +"endTime": { +"description": "The latest timestamp of stats being generated. If not set, indicates feching stats till the latest possible one.", +"format": "google-datetime", +"type": "string" +}, +"featureDisplayName": { +"description": "The feature display name. If specified, only return the stats belonging to this feature. Format: ModelMonitoringStatsAnomalies.FeatureHistoricStatsAnomalies.feature_display_name, example: \"user_destination\".", +"type": "string" +}, +"objectives": { +"description": "Required. Objectives of the stats to retrieve.", +"items": { +"$ref": "GoogleCloudAiplatformV1SearchModelDeploymentMonitoringStatsAnomaliesRequestStatsAnomaliesObjective" +}, +"type": "array" +}, +"pageSize": { +"description": "The standard list page size.", +"format": "int32", +"type": "integer" +}, +"pageToken": { +"description": "A page token received from a previous JobService.SearchModelDeploymentMonitoringStatsAnomalies call.", +"type": "string" +}, +"startTime": { +"description": "The earliest timestamp of stats being generated. If not set, indicates fetching stats till the earliest possible one.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1SearchModelDeploymentMonitoringStatsAnomaliesRequestStatsAnomaliesObjective": { +"description": "Stats requested for specific objective.", +"id": "GoogleCloudAiplatformV1SearchModelDeploymentMonitoringStatsAnomaliesRequestStatsAnomaliesObjective", +"properties": { +"topFeatureCount": { +"description": "If set, all attribution scores between SearchModelDeploymentMonitoringStatsAnomaliesRequest.start_time and SearchModelDeploymentMonitoringStatsAnomaliesRequest.end_time are fetched, and page token doesn't take effect in this case. Only used to retrieve attribution score for the top Features which has the highest attribution score in the latest monitoring run.", +"format": "int32", +"type": "integer" +}, +"type": { +"enum": [ +"MODEL_DEPLOYMENT_MONITORING_OBJECTIVE_TYPE_UNSPECIFIED", +"RAW_FEATURE_SKEW", +"RAW_FEATURE_DRIFT", +"FEATURE_ATTRIBUTION_SKEW", +"FEATURE_ATTRIBUTION_DRIFT" +], +"enumDescriptions": [ +"Default value, should not be set.", +"Raw feature values' stats to detect skew between Training-Prediction datasets.", +"Raw feature values' stats to detect drift between Serving-Prediction datasets.", +"Feature attribution scores to detect skew between Training-Prediction datasets.", +"Feature attribution scores to detect skew between Prediction datasets collected within different time windows." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1SearchModelDeploymentMonitoringStatsAnomaliesResponse": { +"description": "Response message for JobService.SearchModelDeploymentMonitoringStatsAnomalies.", +"id": "GoogleCloudAiplatformV1SearchModelDeploymentMonitoringStatsAnomaliesResponse", +"properties": { +"monitoringStats": { +"description": "Stats retrieved for requested objectives. There are at most 1000 ModelMonitoringStatsAnomalies.FeatureHistoricStatsAnomalies.prediction_stats in the response.", +"items": { +"$ref": "GoogleCloudAiplatformV1ModelMonitoringStatsAnomalies" +}, +"type": "array" +}, +"nextPageToken": { +"description": "The page token that can be used by the next JobService.SearchModelDeploymentMonitoringStatsAnomalies call.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1SearchNearestEntitiesRequest": { +"description": "The request message for FeatureOnlineStoreService.SearchNearestEntities.", +"id": "GoogleCloudAiplatformV1SearchNearestEntitiesRequest", +"properties": { +"query": { +"$ref": "GoogleCloudAiplatformV1NearestNeighborQuery", +"description": "Required. The query." +}, +"returnFullEntity": { +"description": "Optional. If set to true, the full entities (including all vector values and metadata) of the nearest neighbors are returned; otherwise only entity id of the nearest neighbors will be returned. Note that returning full entities will significantly increase the latency and cost of the query.", +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1SearchNearestEntitiesResponse": { +"description": "Response message for FeatureOnlineStoreService.SearchNearestEntities", +"id": "GoogleCloudAiplatformV1SearchNearestEntitiesResponse", +"properties": { +"nearestNeighbors": { +"$ref": "GoogleCloudAiplatformV1NearestNeighbors", +"description": "The nearest neighbors of the query entity." +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1SecretEnvVar": { +"description": "Represents an environment variable where the value is a secret in Cloud Secret Manager.", +"id": "GoogleCloudAiplatformV1SecretEnvVar", +"properties": { +"name": { +"description": "Required. Name of the secret environment variable.", +"type": "string" +}, +"secretRef": { +"$ref": "GoogleCloudAiplatformV1SecretRef", +"description": "Required. Reference to a secret stored in the Cloud Secret Manager that will provide the value for this environment variable." +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1SecretRef": { +"description": "Reference to a secret stored in the Cloud Secret Manager that will provide the value for this environment variable.", +"id": "GoogleCloudAiplatformV1SecretRef", +"properties": { +"secret": { +"description": "Required. The name of the secret in Cloud Secret Manager. Format: {secret_name}.", +"type": "string" +}, +"version": { +"description": "The Cloud Secret Manager secret version. Can be 'latest' for the latest version, an integer for a specific version, or a version alias.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1Segment": { +"description": "A segment of the content.", +"id": "GoogleCloudAiplatformV1Segment", +"properties": { +"endIndex": { +"description": "Output only. The end index of the segment in the `Part`, measured in bytes. This marks the end of the segment and is exclusive, meaning the segment includes content up to, but not including, the byte at this index.", +"format": "int32", +"readOnly": true, +"type": "integer" +}, +"partIndex": { +"description": "Output only. The index of the `Part` object that this segment belongs to. This is useful for associating the segment with a specific part of the content.", +"format": "int32", +"readOnly": true, +"type": "integer" +}, +"startIndex": { +"description": "Output only. The start index of the segment in the `Part`, measured in bytes. This marks the beginning of the segment and is inclusive, meaning the byte at this index is the first byte of the segment.", +"format": "int32", +"readOnly": true, +"type": "integer" +}, +"text": { +"description": "Output only. The text of the segment.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1ServiceAccountSpec": { +"description": "Configuration for the use of custom service account to run the workloads.", +"id": "GoogleCloudAiplatformV1ServiceAccountSpec", +"properties": { +"enableCustomServiceAccount": { +"description": "Required. If true, custom user-managed service account is enforced to run any workloads (for example, Vertex Jobs) on the resource. Otherwise, uses the [Vertex AI Custom Code Service Agent](https://cloud.google.com/vertex-ai/docs/general/access-control#service-agents).", +"type": "boolean" +}, +"serviceAccount": { +"description": "Optional. Required when all below conditions are met * `enable_custom_service_account` is true; * any runtime is specified via `ResourceRuntimeSpec` on creation time, for example, Ray The users must have `iam.serviceAccounts.actAs` permission on this service account and then the specified runtime containers will run as it. Do not set this field if you want to submit jobs using custom service account to this PersistentResource after creation, but only specify the `service_account` inside the job.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1Session": { +"description": "A session contains a set of actions between users and Vertex agents.", +"id": "GoogleCloudAiplatformV1Session", +"properties": { +"createTime": { +"description": "Output only. Timestamp when the session was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"displayName": { +"description": "Optional. The display name of the session.", +"type": "string" +}, +"expireTime": { +"description": "Optional. Timestamp of when this session is considered expired. This is *always* provided on output, regardless of what was sent on input. The minimum value is 24 hours from the time of creation.", +"format": "google-datetime", +"type": "string" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "The labels with user-defined metadata to organize your Sessions. Label keys and values can be no longer than 64 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. See https://goo.gl/xmQnxf for more information and examples of labels.", +"type": "object" +}, +"name": { +"description": "Identifier. The resource name of the session. Format: 'projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}/sessions/{session}'.", +"type": "string" +}, +"sessionState": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"description": "Optional. Session specific memory which stores key conversation points.", +"type": "object" +}, +"ttl": { +"description": "Optional. Input only. The TTL for this session. The minimum value is 24 hours.", +"format": "google-duration", +"type": "string" +}, +"updateTime": { +"description": "Output only. Timestamp when the session was updated.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"userId": { +"description": "Required. Immutable. String id provided by the user", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1SessionEvent": { +"description": "An event represents a message from either the user or agent.", +"id": "GoogleCloudAiplatformV1SessionEvent", +"properties": { +"actions": { +"$ref": "GoogleCloudAiplatformV1EventActions", +"description": "Optional. Actions executed by the agent." +}, +"author": { +"description": "Required. The name of the agent that sent the event, or user.", +"type": "string" +}, +"content": { +"$ref": "GoogleCloudAiplatformV1Content", +"description": "Optional. Content of the event provided by the author." +}, +"errorCode": { +"description": "Optional. Error code if the response is an error. Code varies by model.", +"type": "string" +}, +"errorMessage": { +"description": "Optional. Error message if the response is an error.", +"type": "string" +}, +"eventMetadata": { +"$ref": "GoogleCloudAiplatformV1EventMetadata", +"description": "Optional. Metadata relating to this event." +}, +"invocationId": { +"description": "Required. The invocation id of the event, multiple events can have the same invocation id.", +"type": "string" +}, +"name": { +"description": "Identifier. The resource name of the event. Format:`projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}/sessions/{session}/events/{event}`.", +"type": "string" +}, +"timestamp": { +"description": "Required. Timestamp when the event was created on client side.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1SharePointSources": { +"description": "The SharePointSources to pass to ImportRagFiles.", +"id": "GoogleCloudAiplatformV1SharePointSources", +"properties": { +"sharePointSources": { +"description": "The SharePoint sources.", +"items": { +"$ref": "GoogleCloudAiplatformV1SharePointSourcesSharePointSource" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1SharePointSourcesSharePointSource": { +"description": "An individual SharePointSource.", +"id": "GoogleCloudAiplatformV1SharePointSourcesSharePointSource", +"properties": { +"clientId": { +"description": "The Application ID for the app registered in Microsoft Azure Portal. The application must also be configured with MS Graph permissions \"Files.ReadAll\", \"Sites.ReadAll\" and BrowserSiteLists.Read.All.", +"type": "string" +}, +"clientSecret": { +"$ref": "GoogleCloudAiplatformV1ApiAuthApiKeyConfig", +"description": "The application secret for the app registered in Azure." +}, +"driveId": { +"description": "The ID of the drive to download from.", +"type": "string" +}, +"driveName": { +"description": "The name of the drive to download from.", +"type": "string" +}, +"fileId": { +"description": "Output only. The SharePoint file id. Output only.", +"readOnly": true, +"type": "string" +}, +"sharepointFolderId": { +"description": "The ID of the SharePoint folder to download from.", +"type": "string" +}, +"sharepointFolderPath": { +"description": "The path of the SharePoint folder to download from.", +"type": "string" +}, +"sharepointSiteName": { +"description": "The name of the SharePoint site to download from. This can be the site name or the site id.", +"type": "string" +}, +"tenantId": { +"description": "Unique identifier of the Azure Active Directory Instance.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1ShieldedVmConfig": { +"description": "A set of Shielded Instance options. See [Images using supported Shielded VM features](https://cloud.google.com/compute/docs/instances/modifying-shielded-vm).", +"id": "GoogleCloudAiplatformV1ShieldedVmConfig", +"properties": { +"enableSecureBoot": { +"description": "Defines whether the instance has [Secure Boot](https://cloud.google.com/compute/shielded-vm/docs/shielded-vm#secure-boot) enabled. Secure Boot helps ensure that the system only runs authentic software by verifying the digital signature of all boot components, and halting the boot process if signature verification fails.", +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1SlackSource": { +"description": "The Slack source for the ImportRagFilesRequest.", +"id": "GoogleCloudAiplatformV1SlackSource", +"properties": { +"channels": { +"description": "Required. The Slack channels.", +"items": { +"$ref": "GoogleCloudAiplatformV1SlackSourceSlackChannels" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1SlackSourceSlackChannels": { +"description": "SlackChannels contains the Slack channels and corresponding access token.", +"id": "GoogleCloudAiplatformV1SlackSourceSlackChannels", +"properties": { +"apiKeyConfig": { +"$ref": "GoogleCloudAiplatformV1ApiAuthApiKeyConfig", +"description": "Required. The SecretManager secret version resource name (e.g. projects/{project}/secrets/{secret}/versions/{version}) storing the Slack channel access token that has access to the slack channel IDs. See: https://api.slack.com/tutorials/tracks/getting-a-token." +}, +"channels": { +"description": "Required. The Slack channel IDs.", +"items": { +"$ref": "GoogleCloudAiplatformV1SlackSourceSlackChannelsSlackChannel" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1SlackSourceSlackChannelsSlackChannel": { +"description": "SlackChannel contains the Slack channel ID and the time range to import.", +"id": "GoogleCloudAiplatformV1SlackSourceSlackChannelsSlackChannel", +"properties": { +"channelId": { +"description": "Required. The Slack channel ID.", +"type": "string" +}, +"endTime": { +"description": "Optional. The ending timestamp for messages to import.", +"format": "google-datetime", +"type": "string" +}, +"startTime": { +"description": "Optional. The starting timestamp for messages to import.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1SmoothGradConfig": { +"description": "Config for SmoothGrad approximation of gradients. When enabled, the gradients are approximated by averaging the gradients from noisy samples in the vicinity of the inputs. Adding noise can help improve the computed gradients. Refer to this paper for more details: https://arxiv.org/pdf/1706.03825.pdf", +"id": "GoogleCloudAiplatformV1SmoothGradConfig", +"properties": { +"featureNoiseSigma": { +"$ref": "GoogleCloudAiplatformV1FeatureNoiseSigma", +"description": "This is similar to noise_sigma, but provides additional flexibility. A separate noise sigma can be provided for each feature, which is useful if their distributions are different. No noise is added to features that are not set. If this field is unset, noise_sigma will be used for all features." +}, +"noiseSigma": { +"description": "This is a single float value and will be used to add noise to all the features. Use this field when all features are normalized to have the same distribution: scale to range [0, 1], [-1, 1] or z-scoring, where features are normalized to have 0-mean and 1-variance. Learn more about [normalization](https://developers.google.com/machine-learning/data-prep/transform/normalization). For best results the recommended value is about 10% - 20% of the standard deviation of the input feature. Refer to section 3.2 of the SmoothGrad paper: https://arxiv.org/pdf/1706.03825.pdf. Defaults to 0.1. If the distribution is different per feature, set feature_noise_sigma instead for each feature.", +"format": "float", +"type": "number" +}, +"noisySampleCount": { +"description": "The number of gradient samples to use for approximation. The higher this number, the more accurate the gradient is, but the runtime complexity increases by this factor as well. Valid range of its value is [1, 50]. Defaults to 3.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1SpeakerVoiceConfig": { +"description": "Configuration for a single speaker in a multi-speaker setup.", +"id": "GoogleCloudAiplatformV1SpeakerVoiceConfig", +"properties": { +"speaker": { +"description": "Required. The name of the speaker. This should be the same as the speaker name used in the prompt.", +"type": "string" +}, +"voiceConfig": { +"$ref": "GoogleCloudAiplatformV1VoiceConfig", +"description": "Required. The configuration for the voice of this speaker." +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1SpecialistPool": { +"description": "SpecialistPool represents customers' own workforce to work on their data labeling jobs. It includes a group of specialist managers and workers. Managers are responsible for managing the workers in this pool as well as customers' data labeling jobs associated with this pool. Customers create specialist pool as well as start data labeling jobs on Cloud, managers and workers handle the jobs using CrowdCompute console.", +"id": "GoogleCloudAiplatformV1SpecialistPool", +"properties": { +"displayName": { +"description": "Required. The user-defined name of the SpecialistPool. The name can be up to 128 characters long and can consist of any UTF-8 characters. This field should be unique on project-level.", +"type": "string" +}, +"name": { +"description": "Required. The resource name of the SpecialistPool.", +"type": "string" +}, +"pendingDataLabelingJobs": { +"description": "Output only. The resource name of the pending data labeling jobs.", +"items": { +"type": "string" +}, +"readOnly": true, +"type": "array" +}, +"specialistManagerEmails": { +"description": "The email addresses of the managers in the SpecialistPool.", +"items": { +"type": "string" +}, +"type": "array" +}, +"specialistManagersCount": { +"description": "Output only. The number of managers in this SpecialistPool.", +"format": "int32", +"readOnly": true, +"type": "integer" +}, +"specialistWorkerEmails": { +"description": "The email addresses of workers in the SpecialistPool.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1SpeculativeDecodingSpec": { +"description": "Configuration for Speculative Decoding.", +"id": "GoogleCloudAiplatformV1SpeculativeDecodingSpec", +"properties": { +"draftModelSpeculation": { +"$ref": "GoogleCloudAiplatformV1SpeculativeDecodingSpecDraftModelSpeculation", +"description": "draft model speculation." +}, +"ngramSpeculation": { +"$ref": "GoogleCloudAiplatformV1SpeculativeDecodingSpecNgramSpeculation", +"description": "N-Gram speculation." +}, +"speculativeTokenCount": { +"description": "The number of speculative tokens to generate at each step.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1SpeculativeDecodingSpecDraftModelSpeculation": { +"description": "Draft model speculation works by using the smaller model to generate candidate tokens for speculative decoding.", +"id": "GoogleCloudAiplatformV1SpeculativeDecodingSpecDraftModelSpeculation", +"properties": { +"draftModel": { +"description": "Required. The resource name of the draft model.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1SpeculativeDecodingSpecNgramSpeculation": { +"description": "N-Gram speculation works by trying to find matching tokens in the previous prompt sequence and use those as speculation for generating new tokens.", +"id": "GoogleCloudAiplatformV1SpeculativeDecodingSpecNgramSpeculation", +"properties": { +"ngramSize": { +"description": "The number of last N input tokens used as ngram to search/match against the previous prompt sequence. This is equal to the N in N-Gram. The default value is 3 if not specified.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1SpeechConfig": { +"description": "Configuration for speech generation.", +"id": "GoogleCloudAiplatformV1SpeechConfig", +"properties": { +"languageCode": { +"description": "Optional. The language code (ISO 639-1) for the speech synthesis.", +"type": "string" +}, +"multiSpeakerVoiceConfig": { +"$ref": "GoogleCloudAiplatformV1MultiSpeakerVoiceConfig", +"description": "The configuration for a multi-speaker text-to-speech request. This field is mutually exclusive with `voice_config`." +}, +"voiceConfig": { +"$ref": "GoogleCloudAiplatformV1VoiceConfig", +"description": "The configuration for the voice to use." +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1StartNotebookRuntimeOperationMetadata": { +"description": "Metadata information for NotebookService.StartNotebookRuntime.", +"id": "GoogleCloudAiplatformV1StartNotebookRuntimeOperationMetadata", +"properties": { +"genericMetadata": { +"$ref": "GoogleCloudAiplatformV1GenericOperationMetadata", +"description": "The operation generic information." +}, +"progressMessage": { +"description": "A human-readable message that shows the intermediate progress details of NotebookRuntime.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1StartNotebookRuntimeRequest": { +"description": "Request message for NotebookService.StartNotebookRuntime.", +"id": "GoogleCloudAiplatformV1StartNotebookRuntimeRequest", +"properties": {}, +"type": "object" +}, +"GoogleCloudAiplatformV1StopNotebookRuntimeRequest": { +"description": "Request message for NotebookService.StopNotebookRuntime.", +"id": "GoogleCloudAiplatformV1StopNotebookRuntimeRequest", +"properties": {}, +"type": "object" +}, +"GoogleCloudAiplatformV1StopTrialRequest": { +"description": "Request message for VizierService.StopTrial.", +"id": "GoogleCloudAiplatformV1StopTrialRequest", +"properties": {}, +"type": "object" +}, +"GoogleCloudAiplatformV1StratifiedSplit": { +"description": "Assigns input data to the training, validation, and test sets so that the distribution of values found in the categorical column (as specified by the `key` field) is mirrored within each split. The fraction values determine the relative sizes of the splits. For example, if the specified column has three values, with 50% of the rows having value \"A\", 25% value \"B\", and 25% value \"C\", and the split fractions are specified as 80/10/10, then the training set will constitute 80% of the training data, with about 50% of the training set rows having the value \"A\" for the specified column, about 25% having the value \"B\", and about 25% having the value \"C\". Only the top 500 occurring values are used; any values not in the top 500 values are randomly assigned to a split. If less than three rows contain a specific value, those rows are randomly assigned. Supported only for tabular Datasets.", +"id": "GoogleCloudAiplatformV1StratifiedSplit", +"properties": { +"key": { +"description": "Required. The key is a name of one of the Dataset's data columns. The key provided must be for a categorical column.", +"type": "string" +}, +"testFraction": { +"description": "The fraction of the input data that is to be used to evaluate the Model.", +"format": "double", +"type": "number" +}, +"trainingFraction": { +"description": "The fraction of the input data that is to be used to train the Model.", +"format": "double", +"type": "number" +}, +"validationFraction": { +"description": "The fraction of the input data that is to be used to validate the Model.", +"format": "double", +"type": "number" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1StreamQueryReasoningEngineRequest": { +"description": "Request message for ReasoningEngineExecutionService.StreamQuery.", +"id": "GoogleCloudAiplatformV1StreamQueryReasoningEngineRequest", +"properties": { +"classMethod": { +"description": "Optional. Class method to be used for the stream query. It is optional and defaults to \"stream_query\" if unspecified.", +"type": "string" +}, +"input": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"description": "Optional. Input content provided by users in JSON object format. Examples include text query, function calling parameters, media bytes, etc.", +"type": "object" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1StreamRawPredictRequest": { +"description": "Request message for PredictionService.StreamRawPredict.", +"id": "GoogleCloudAiplatformV1StreamRawPredictRequest", +"properties": { +"httpBody": { +"$ref": "GoogleApiHttpBody", +"description": "The prediction input. Supports HTTP headers and arbitrary data payload." +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1StreamingPredictRequest": { +"description": "Request message for PredictionService.StreamingPredict. The first message must contain endpoint field and optionally input. The subsequent messages must contain input.", +"id": "GoogleCloudAiplatformV1StreamingPredictRequest", +"properties": { +"inputs": { +"description": "The prediction input.", +"items": { +"$ref": "GoogleCloudAiplatformV1Tensor" +}, +"type": "array" +}, +"parameters": { +"$ref": "GoogleCloudAiplatformV1Tensor", +"description": "The parameters that govern the prediction." +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1StreamingPredictResponse": { +"description": "Response message for PredictionService.StreamingPredict.", +"id": "GoogleCloudAiplatformV1StreamingPredictResponse", +"properties": { +"outputs": { +"description": "The prediction output.", +"items": { +"$ref": "GoogleCloudAiplatformV1Tensor" +}, +"type": "array" +}, +"parameters": { +"$ref": "GoogleCloudAiplatformV1Tensor", +"description": "The parameters that govern the prediction." +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1StreamingReadFeatureValuesRequest": { +"description": "Request message for FeaturestoreOnlineServingService.StreamingReadFeatureValues.", +"id": "GoogleCloudAiplatformV1StreamingReadFeatureValuesRequest", +"properties": { +"entityIds": { +"description": "Required. IDs of entities to read Feature values of. The maximum number of IDs is 100. For example, for a machine learning model predicting user clicks on a website, an entity ID could be `user_123`.", +"items": { +"type": "string" +}, +"type": "array" +}, +"featureSelector": { +"$ref": "GoogleCloudAiplatformV1FeatureSelector", +"description": "Required. Selector choosing Features of the target EntityType. Feature IDs will be deduplicated." +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1StringArray": { +"description": "A list of string values.", +"id": "GoogleCloudAiplatformV1StringArray", +"properties": { +"values": { +"description": "A list of string values.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1StructFieldValue": { +"description": "One field of a Struct (or object) type feature value.", +"id": "GoogleCloudAiplatformV1StructFieldValue", +"properties": { +"name": { +"description": "Name of the field in the struct feature.", +"type": "string" +}, +"value": { +"$ref": "GoogleCloudAiplatformV1FeatureValue", +"description": "The value for this field." +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1StructValue": { +"description": "Struct (or object) type feature value.", +"id": "GoogleCloudAiplatformV1StructValue", +"properties": { +"values": { +"description": "A list of field values.", +"items": { +"$ref": "GoogleCloudAiplatformV1StructFieldValue" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1Study": { +"description": "A message representing a Study.", +"id": "GoogleCloudAiplatformV1Study", +"properties": { +"createTime": { +"description": "Output only. Time at which the study was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"displayName": { +"description": "Required. Describes the Study, default value is empty string.", +"type": "string" +}, +"inactiveReason": { +"description": "Output only. A human readable reason why the Study is inactive. This should be empty if a study is ACTIVE or COMPLETED.", +"readOnly": true, +"type": "string" +}, +"name": { +"description": "Output only. The name of a study. The study's globally unique identifier. Format: `projects/{project}/locations/{location}/studies/{study}`", +"readOnly": true, +"type": "string" +}, +"state": { +"description": "Output only. The detailed state of a Study.", +"enum": [ +"STATE_UNSPECIFIED", +"ACTIVE", +"INACTIVE", +"COMPLETED" +], +"enumDescriptions": [ +"The study state is unspecified.", +"The study is active.", +"The study is stopped due to an internal error.", +"The study is done when the service exhausts the parameter search space or max_trial_count is reached." +], +"readOnly": true, +"type": "string" +}, +"studySpec": { +"$ref": "GoogleCloudAiplatformV1StudySpec", +"description": "Required. Configuration of the Study." +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1StudySpec": { +"description": "Represents specification of a Study.", +"id": "GoogleCloudAiplatformV1StudySpec", +"properties": { +"algorithm": { +"description": "The search algorithm specified for the Study.", +"enum": [ +"ALGORITHM_UNSPECIFIED", +"GRID_SEARCH", +"RANDOM_SEARCH" +], +"enumDescriptions": [ +"The default algorithm used by Vertex AI for [hyperparameter tuning](https://cloud.google.com/vertex-ai/docs/training/hyperparameter-tuning-overview) and [Vertex AI Vizier](https://cloud.google.com/vertex-ai/docs/vizier).", +"Simple grid search within the feasible space. To use grid search, all parameters must be `INTEGER`, `CATEGORICAL`, or `DISCRETE`.", +"Simple random search within the feasible space." +], +"type": "string" +}, +"convexAutomatedStoppingSpec": { +"$ref": "GoogleCloudAiplatformV1StudySpecConvexAutomatedStoppingSpec", +"description": "The automated early stopping spec using convex stopping rule." +}, +"decayCurveStoppingSpec": { +"$ref": "GoogleCloudAiplatformV1StudySpecDecayCurveAutomatedStoppingSpec", +"description": "The automated early stopping spec using decay curve rule." +}, +"measurementSelectionType": { +"description": "Describe which measurement selection type will be used", +"enum": [ +"MEASUREMENT_SELECTION_TYPE_UNSPECIFIED", +"LAST_MEASUREMENT", +"BEST_MEASUREMENT" +], +"enumDescriptions": [ +"Will be treated as LAST_MEASUREMENT.", +"Use the last measurement reported.", +"Use the best measurement reported." +], +"type": "string" +}, +"medianAutomatedStoppingSpec": { +"$ref": "GoogleCloudAiplatformV1StudySpecMedianAutomatedStoppingSpec", +"description": "The automated early stopping spec using median rule." +}, +"metrics": { +"description": "Required. Metric specs for the Study.", +"items": { +"$ref": "GoogleCloudAiplatformV1StudySpecMetricSpec" +}, +"type": "array" +}, +"observationNoise": { +"description": "The observation noise level of the study. Currently only supported by the Vertex AI Vizier service. Not supported by HyperparameterTuningJob or TrainingPipeline.", +"enum": [ +"OBSERVATION_NOISE_UNSPECIFIED", +"LOW", +"HIGH" +], +"enumDescriptions": [ +"The default noise level chosen by Vertex AI.", +"Vertex AI assumes that the objective function is (nearly) perfectly reproducible, and will never repeat the same Trial parameters.", +"Vertex AI will estimate the amount of noise in metric evaluations, it may repeat the same Trial parameters more than once." +], +"type": "string" +}, +"parameters": { +"description": "Required. The set of parameters to tune.", +"items": { +"$ref": "GoogleCloudAiplatformV1StudySpecParameterSpec" +}, +"type": "array" +}, +"studyStoppingConfig": { +"$ref": "GoogleCloudAiplatformV1StudySpecStudyStoppingConfig", +"description": "Conditions for automated stopping of a Study. Enable automated stopping by configuring at least one condition." +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1StudySpecConvexAutomatedStoppingSpec": { +"description": "Configuration for ConvexAutomatedStoppingSpec. When there are enough completed trials (configured by min_measurement_count), for pending trials with enough measurements and steps, the policy first computes an overestimate of the objective value at max_num_steps according to the slope of the incomplete objective value curve. No prediction can be made if the curve is completely flat. If the overestimation is worse than the best objective value of the completed trials, this pending trial will be early-stopped, but a last measurement will be added to the pending trial with max_num_steps and predicted objective value from the autoregression model.", +"id": "GoogleCloudAiplatformV1StudySpecConvexAutomatedStoppingSpec", +"properties": { +"learningRateParameterName": { +"description": "The hyper-parameter name used in the tuning job that stands for learning rate. Leave it blank if learning rate is not in a parameter in tuning. The learning_rate is used to estimate the objective value of the ongoing trial.", +"type": "string" +}, +"maxStepCount": { +"description": "Steps used in predicting the final objective for early stopped trials. In general, it's set to be the same as the defined steps in training / tuning. If not defined, it will learn it from the completed trials. When use_steps is false, this field is set to the maximum elapsed seconds.", +"format": "int64", +"type": "string" +}, +"minMeasurementCount": { +"description": "The minimal number of measurements in a Trial. Early-stopping checks will not trigger if less than min_measurement_count+1 completed trials or pending trials with less than min_measurement_count measurements. If not defined, the default value is 5.", +"format": "int64", +"type": "string" +}, +"minStepCount": { +"description": "Minimum number of steps for a trial to complete. Trials which do not have a measurement with step_count > min_step_count won't be considered for early stopping. It's ok to set it to 0, and a trial can be early stopped at any stage. By default, min_step_count is set to be one-tenth of the max_step_count. When use_elapsed_duration is true, this field is set to the minimum elapsed seconds.", +"format": "int64", +"type": "string" +}, +"updateAllStoppedTrials": { +"description": "ConvexAutomatedStoppingSpec by default only updates the trials that needs to be early stopped using a newly trained auto-regressive model. When this flag is set to True, all stopped trials from the beginning are potentially updated in terms of their `final_measurement`. Also, note that the training logic of autoregressive models is different in this case. Enabling this option has shown better results and this may be the default option in the future.", +"type": "boolean" +}, +"useElapsedDuration": { +"description": "This bool determines whether or not the rule is applied based on elapsed_secs or steps. If use_elapsed_duration==false, the early stopping decision is made according to the predicted objective values according to the target steps. If use_elapsed_duration==true, elapsed_secs is used instead of steps. Also, in this case, the parameters max_num_steps and min_num_steps are overloaded to contain max_elapsed_seconds and min_elapsed_seconds.", +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1StudySpecDecayCurveAutomatedStoppingSpec": { +"description": "The decay curve automated stopping rule builds a Gaussian Process Regressor to predict the final objective value of a Trial based on the already completed Trials and the intermediate measurements of the current Trial. Early stopping is requested for the current Trial if there is very low probability to exceed the optimal value found so far.", +"id": "GoogleCloudAiplatformV1StudySpecDecayCurveAutomatedStoppingSpec", +"properties": { +"useElapsedDuration": { +"description": "True if Measurement.elapsed_duration is used as the x-axis of each Trials Decay Curve. Otherwise, Measurement.step_count will be used as the x-axis.", +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1StudySpecMedianAutomatedStoppingSpec": { +"description": "The median automated stopping rule stops a pending Trial if the Trial's best objective_value is strictly below the median 'performance' of all completed Trials reported up to the Trial's last measurement. Currently, 'performance' refers to the running average of the objective values reported by the Trial in each measurement.", +"id": "GoogleCloudAiplatformV1StudySpecMedianAutomatedStoppingSpec", +"properties": { +"useElapsedDuration": { +"description": "True if median automated stopping rule applies on Measurement.elapsed_duration. It means that elapsed_duration field of latest measurement of current Trial is used to compute median objective value for each completed Trials.", +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1StudySpecMetricSpec": { +"description": "Represents a metric to optimize.", +"id": "GoogleCloudAiplatformV1StudySpecMetricSpec", +"properties": { +"goal": { +"description": "Required. The optimization goal of the metric.", +"enum": [ +"GOAL_TYPE_UNSPECIFIED", +"MAXIMIZE", +"MINIMIZE" +], +"enumDescriptions": [ +"Goal Type will default to maximize.", +"Maximize the goal metric.", +"Minimize the goal metric." +], +"type": "string" +}, +"metricId": { +"description": "Required. The ID of the metric. Must not contain whitespaces and must be unique amongst all MetricSpecs.", +"type": "string" +}, +"safetyConfig": { +"$ref": "GoogleCloudAiplatformV1StudySpecMetricSpecSafetyMetricConfig", +"description": "Used for safe search. In the case, the metric will be a safety metric. You must provide a separate metric for objective metric." +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1StudySpecMetricSpecSafetyMetricConfig": { +"description": "Used in safe optimization to specify threshold levels and risk tolerance.", +"id": "GoogleCloudAiplatformV1StudySpecMetricSpecSafetyMetricConfig", +"properties": { +"desiredMinSafeTrialsFraction": { +"description": "Desired minimum fraction of safe trials (over total number of trials) that should be targeted by the algorithm at any time during the study (best effort). This should be between 0.0 and 1.0 and a value of 0.0 means that there is no minimum and an algorithm proceeds without targeting any specific fraction. A value of 1.0 means that the algorithm attempts to only Suggest safe Trials.", +"format": "double", +"type": "number" +}, +"safetyThreshold": { +"description": "Safety threshold (boundary value between safe and unsafe). NOTE that if you leave SafetyMetricConfig unset, a default value of 0 will be used.", +"format": "double", +"type": "number" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1StudySpecParameterSpec": { +"description": "Represents a single parameter to optimize.", +"id": "GoogleCloudAiplatformV1StudySpecParameterSpec", +"properties": { +"categoricalValueSpec": { +"$ref": "GoogleCloudAiplatformV1StudySpecParameterSpecCategoricalValueSpec", +"description": "The value spec for a 'CATEGORICAL' parameter." +}, +"conditionalParameterSpecs": { +"description": "A conditional parameter node is active if the parameter's value matches the conditional node's parent_value_condition. If two items in conditional_parameter_specs have the same name, they must have disjoint parent_value_condition.", +"items": { +"$ref": "GoogleCloudAiplatformV1StudySpecParameterSpecConditionalParameterSpec" +}, +"type": "array" +}, +"discreteValueSpec": { +"$ref": "GoogleCloudAiplatformV1StudySpecParameterSpecDiscreteValueSpec", +"description": "The value spec for a 'DISCRETE' parameter." +}, +"doubleValueSpec": { +"$ref": "GoogleCloudAiplatformV1StudySpecParameterSpecDoubleValueSpec", +"description": "The value spec for a 'DOUBLE' parameter." +}, +"integerValueSpec": { +"$ref": "GoogleCloudAiplatformV1StudySpecParameterSpecIntegerValueSpec", +"description": "The value spec for an 'INTEGER' parameter." +}, +"parameterId": { +"description": "Required. The ID of the parameter. Must not contain whitespaces and must be unique amongst all ParameterSpecs.", +"type": "string" +}, +"scaleType": { +"description": "How the parameter should be scaled. Leave unset for `CATEGORICAL` parameters.", +"enum": [ +"SCALE_TYPE_UNSPECIFIED", +"UNIT_LINEAR_SCALE", +"UNIT_LOG_SCALE", +"UNIT_REVERSE_LOG_SCALE" +], +"enumDescriptions": [ +"By default, no scaling is applied.", +"Scales the feasible space to (0, 1) linearly.", +"Scales the feasible space logarithmically to (0, 1). The entire feasible space must be strictly positive.", +"Scales the feasible space \"reverse\" logarithmically to (0, 1). The result is that values close to the top of the feasible space are spread out more than points near the bottom. The entire feasible space must be strictly positive." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1StudySpecParameterSpecCategoricalValueSpec": { +"description": "Value specification for a parameter in `CATEGORICAL` type.", +"id": "GoogleCloudAiplatformV1StudySpecParameterSpecCategoricalValueSpec", +"properties": { +"defaultValue": { +"description": "A default value for a `CATEGORICAL` parameter that is assumed to be a relatively good starting point. Unset value signals that there is no offered starting point. Currently only supported by the Vertex AI Vizier service. Not supported by HyperparameterTuningJob or TrainingPipeline.", +"type": "string" +}, +"values": { +"description": "Required. The list of possible categories.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1StudySpecParameterSpecConditionalParameterSpec": { +"description": "Represents a parameter spec with condition from its parent parameter.", +"id": "GoogleCloudAiplatformV1StudySpecParameterSpecConditionalParameterSpec", +"properties": { +"parameterSpec": { +"$ref": "GoogleCloudAiplatformV1StudySpecParameterSpec", +"description": "Required. The spec for a conditional parameter." +}, +"parentCategoricalValues": { +"$ref": "GoogleCloudAiplatformV1StudySpecParameterSpecConditionalParameterSpecCategoricalValueCondition", +"description": "The spec for matching values from a parent parameter of `CATEGORICAL` type." +}, +"parentDiscreteValues": { +"$ref": "GoogleCloudAiplatformV1StudySpecParameterSpecConditionalParameterSpecDiscreteValueCondition", +"description": "The spec for matching values from a parent parameter of `DISCRETE` type." +}, +"parentIntValues": { +"$ref": "GoogleCloudAiplatformV1StudySpecParameterSpecConditionalParameterSpecIntValueCondition", +"description": "The spec for matching values from a parent parameter of `INTEGER` type." +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1StudySpecParameterSpecConditionalParameterSpecCategoricalValueCondition": { +"description": "Represents the spec to match categorical values from parent parameter.", +"id": "GoogleCloudAiplatformV1StudySpecParameterSpecConditionalParameterSpecCategoricalValueCondition", +"properties": { +"values": { +"description": "Required. Matches values of the parent parameter of 'CATEGORICAL' type. All values must exist in `categorical_value_spec` of parent parameter.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1StudySpecParameterSpecConditionalParameterSpecDiscreteValueCondition": { +"description": "Represents the spec to match discrete values from parent parameter.", +"id": "GoogleCloudAiplatformV1StudySpecParameterSpecConditionalParameterSpecDiscreteValueCondition", +"properties": { +"values": { +"description": "Required. Matches values of the parent parameter of 'DISCRETE' type. All values must exist in `discrete_value_spec` of parent parameter. The Epsilon of the value matching is 1e-10.", +"items": { +"format": "double", +"type": "number" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1StudySpecParameterSpecConditionalParameterSpecIntValueCondition": { +"description": "Represents the spec to match integer values from parent parameter.", +"id": "GoogleCloudAiplatformV1StudySpecParameterSpecConditionalParameterSpecIntValueCondition", +"properties": { +"values": { +"description": "Required. Matches values of the parent parameter of 'INTEGER' type. All values must lie in `integer_value_spec` of parent parameter.", +"items": { +"format": "int64", +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1StudySpecParameterSpecDiscreteValueSpec": { +"description": "Value specification for a parameter in `DISCRETE` type.", +"id": "GoogleCloudAiplatformV1StudySpecParameterSpecDiscreteValueSpec", +"properties": { +"defaultValue": { +"description": "A default value for a `DISCRETE` parameter that is assumed to be a relatively good starting point. Unset value signals that there is no offered starting point. It automatically rounds to the nearest feasible discrete point. Currently only supported by the Vertex AI Vizier service. Not supported by HyperparameterTuningJob or TrainingPipeline.", +"format": "double", +"type": "number" +}, +"values": { +"description": "Required. A list of possible values. The list should be in increasing order and at least 1e-10 apart. For instance, this parameter might have possible settings of 1.5, 2.5, and 4.0. This list should not contain more than 1,000 values.", +"items": { +"format": "double", +"type": "number" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1StudySpecParameterSpecDoubleValueSpec": { +"description": "Value specification for a parameter in `DOUBLE` type.", +"id": "GoogleCloudAiplatformV1StudySpecParameterSpecDoubleValueSpec", +"properties": { +"defaultValue": { +"description": "A default value for a `DOUBLE` parameter that is assumed to be a relatively good starting point. Unset value signals that there is no offered starting point. Currently only supported by the Vertex AI Vizier service. Not supported by HyperparameterTuningJob or TrainingPipeline.", +"format": "double", +"type": "number" +}, +"maxValue": { +"description": "Required. Inclusive maximum value of the parameter.", +"format": "double", +"type": "number" +}, +"minValue": { +"description": "Required. Inclusive minimum value of the parameter.", +"format": "double", +"type": "number" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1StudySpecParameterSpecIntegerValueSpec": { +"description": "Value specification for a parameter in `INTEGER` type.", +"id": "GoogleCloudAiplatformV1StudySpecParameterSpecIntegerValueSpec", +"properties": { +"defaultValue": { +"description": "A default value for an `INTEGER` parameter that is assumed to be a relatively good starting point. Unset value signals that there is no offered starting point. Currently only supported by the Vertex AI Vizier service. Not supported by HyperparameterTuningJob or TrainingPipeline.", +"format": "int64", +"type": "string" +}, +"maxValue": { +"description": "Required. Inclusive maximum value of the parameter.", +"format": "int64", +"type": "string" +}, +"minValue": { +"description": "Required. Inclusive minimum value of the parameter.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1StudySpecStudyStoppingConfig": { +"description": "The configuration (stopping conditions) for automated stopping of a Study. Conditions include trial budgets, time budgets, and convergence detection.", +"id": "GoogleCloudAiplatformV1StudySpecStudyStoppingConfig", +"properties": { +"maxDurationNoProgress": { +"description": "If the objective value has not improved for this much time, stop the study. WARNING: Effective only for single-objective studies.", +"format": "google-duration", +"type": "string" +}, +"maxNumTrials": { +"description": "If there are more than this many trials, stop the study.", +"format": "int32", +"type": "integer" +}, +"maxNumTrialsNoProgress": { +"description": "If the objective value has not improved for this many consecutive trials, stop the study. WARNING: Effective only for single-objective studies.", +"format": "int32", +"type": "integer" +}, +"maximumRuntimeConstraint": { +"$ref": "GoogleCloudAiplatformV1StudyTimeConstraint", +"description": "If the specified time or duration has passed, stop the study." +}, +"minNumTrials": { +"description": "If there are fewer than this many COMPLETED trials, do not stop the study.", +"format": "int32", +"type": "integer" +}, +"minimumRuntimeConstraint": { +"$ref": "GoogleCloudAiplatformV1StudyTimeConstraint", +"description": "Each \"stopping rule\" in this proto specifies an \"if\" condition. Before Vizier would generate a new suggestion, it first checks each specified stopping rule, from top to bottom in this list. Note that the first few rules (e.g. minimum_runtime_constraint, min_num_trials) will prevent other stopping rules from being evaluated until they are met. For example, setting `min_num_trials=5` and `always_stop_after= 1 hour` means that the Study will ONLY stop after it has 5 COMPLETED trials, even if more than an hour has passed since its creation. It follows the first applicable rule (whose \"if\" condition is satisfied) to make a stopping decision. If none of the specified rules are applicable, then Vizier decides that the study should not stop. If Vizier decides that the study should stop, the study enters STOPPING state (or STOPPING_ASAP if should_stop_asap = true). IMPORTANT: The automatic study state transition happens precisely as described above; that is, deleting trials or updating StudyConfig NEVER automatically moves the study state back to ACTIVE. If you want to _resume_ a Study that was stopped, 1) change the stopping conditions if necessary, 2) activate the study, and then 3) ask for suggestions. If the specified time or duration has not passed, do not stop the study." +}, +"shouldStopAsap": { +"description": "If true, a Study enters STOPPING_ASAP whenever it would normally enters STOPPING state. The bottom line is: set to true if you want to interrupt on-going evaluations of Trials as soon as the study stopping condition is met. (Please see Study.State documentation for the source of truth).", +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1StudyTimeConstraint": { +"description": "Time-based Constraint for Study", +"id": "GoogleCloudAiplatformV1StudyTimeConstraint", +"properties": { +"endTime": { +"description": "Compares the wallclock time to this time. Must use UTC timezone.", +"format": "google-datetime", +"type": "string" +}, +"maxDuration": { +"description": "Counts the wallclock time passed since the creation of this Study.", +"format": "google-duration", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1SuggestTrialsMetadata": { +"description": "Details of operations that perform Trials suggestion.", +"id": "GoogleCloudAiplatformV1SuggestTrialsMetadata", +"properties": { +"clientId": { +"description": "The identifier of the client that is requesting the suggestion. If multiple SuggestTrialsRequests have the same `client_id`, the service will return the identical suggested Trial if the Trial is pending, and provide a new Trial if the last suggested Trial was completed.", +"type": "string" +}, +"genericMetadata": { +"$ref": "GoogleCloudAiplatformV1GenericOperationMetadata", +"description": "Operation metadata for suggesting Trials." +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1SuggestTrialsRequest": { +"description": "Request message for VizierService.SuggestTrials.", +"id": "GoogleCloudAiplatformV1SuggestTrialsRequest", +"properties": { +"clientId": { +"description": "Required. The identifier of the client that is requesting the suggestion. If multiple SuggestTrialsRequests have the same `client_id`, the service will return the identical suggested Trial if the Trial is pending, and provide a new Trial if the last suggested Trial was completed.", +"type": "string" +}, +"contexts": { +"description": "Optional. This allows you to specify the \"context\" for a Trial; a context is a slice (a subspace) of the search space. Typical uses for contexts: 1) You are using Vizier to tune a server for best performance, but there's a strong weekly cycle. The context specifies the day-of-week. This allows Tuesday to generalize from Wednesday without assuming that everything is identical. 2) Imagine you're optimizing some medical treatment for people. As they walk in the door, you know certain facts about them (e.g. sex, weight, height, blood-pressure). Put that information in the context, and Vizier will adapt its suggestions to the patient. 3) You want to do a fair A/B test efficiently. Specify the \"A\" and \"B\" conditions as contexts, and Vizier will generalize between \"A\" and \"B\" conditions. If they are similar, this will allow Vizier to converge to the optimum faster than if \"A\" and \"B\" were separate Studies. NOTE: You can also enter contexts as REQUESTED Trials, e.g. via the CreateTrial() RPC; that's the asynchronous option where you don't need a close association between contexts and suggestions. NOTE: All the Parameters you set in a context MUST be defined in the Study. NOTE: You must supply 0 or $suggestion_count contexts. If you don't supply any contexts, Vizier will make suggestions from the full search space specified in the StudySpec; if you supply a full set of context, each suggestion will match the corresponding context. NOTE: A Context with no features set matches anything, and allows suggestions from the full search space. NOTE: Contexts MUST lie within the search space specified in the StudySpec. It's an error if they don't. NOTE: Contexts preferentially match ACTIVE then REQUESTED trials before new suggestions are generated. NOTE: Generation of suggestions involves a match between a Context and (optionally) a REQUESTED trial; if that match is not fully specified, a suggestion will be geneated in the merged subspace.", +"items": { +"$ref": "GoogleCloudAiplatformV1TrialContext" +}, +"type": "array" +}, +"suggestionCount": { +"description": "Required. The number of suggestions requested. It must be positive.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1SuggestTrialsResponse": { +"description": "Response message for VizierService.SuggestTrials.", +"id": "GoogleCloudAiplatformV1SuggestTrialsResponse", +"properties": { +"endTime": { +"description": "The time at which operation processing completed.", +"format": "google-datetime", +"type": "string" +}, +"startTime": { +"description": "The time at which the operation was started.", +"format": "google-datetime", +"type": "string" +}, +"studyState": { +"description": "The state of the Study.", +"enum": [ +"STATE_UNSPECIFIED", +"ACTIVE", +"INACTIVE", +"COMPLETED" +], +"enumDescriptions": [ +"The study state is unspecified.", +"The study is active.", +"The study is stopped due to an internal error.", +"The study is done when the service exhausts the parameter search space or max_trial_count is reached." +], +"type": "string" +}, +"trials": { +"description": "A list of Trials.", +"items": { +"$ref": "GoogleCloudAiplatformV1Trial" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1SummarizationHelpfulnessInput": { +"description": "Input for summarization helpfulness metric.", +"id": "GoogleCloudAiplatformV1SummarizationHelpfulnessInput", +"properties": { +"instance": { +"$ref": "GoogleCloudAiplatformV1SummarizationHelpfulnessInstance", +"description": "Required. Summarization helpfulness instance." +}, +"metricSpec": { +"$ref": "GoogleCloudAiplatformV1SummarizationHelpfulnessSpec", +"description": "Required. Spec for summarization helpfulness score metric." +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1SummarizationHelpfulnessInstance": { +"description": "Spec for summarization helpfulness instance.", +"id": "GoogleCloudAiplatformV1SummarizationHelpfulnessInstance", +"properties": { +"context": { +"description": "Required. Text to be summarized.", +"type": "string" +}, +"instruction": { +"description": "Optional. Summarization prompt for LLM.", +"type": "string" +}, +"prediction": { +"description": "Required. Output of the evaluated model.", +"type": "string" +}, +"reference": { +"description": "Optional. Ground truth used to compare against the prediction.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1SummarizationHelpfulnessResult": { +"description": "Spec for summarization helpfulness result.", +"id": "GoogleCloudAiplatformV1SummarizationHelpfulnessResult", +"properties": { +"confidence": { +"description": "Output only. Confidence for summarization helpfulness score.", +"format": "float", +"readOnly": true, +"type": "number" +}, +"explanation": { +"description": "Output only. Explanation for summarization helpfulness score.", +"readOnly": true, +"type": "string" +}, +"score": { +"description": "Output only. Summarization Helpfulness score.", +"format": "float", +"readOnly": true, +"type": "number" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1SummarizationHelpfulnessSpec": { +"description": "Spec for summarization helpfulness score metric.", +"id": "GoogleCloudAiplatformV1SummarizationHelpfulnessSpec", +"properties": { +"useReference": { +"description": "Optional. Whether to use instance.reference to compute summarization helpfulness.", +"type": "boolean" +}, +"version": { +"description": "Optional. Which version to use for evaluation.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1SummarizationQualityInput": { +"description": "Input for summarization quality metric.", +"id": "GoogleCloudAiplatformV1SummarizationQualityInput", +"properties": { +"instance": { +"$ref": "GoogleCloudAiplatformV1SummarizationQualityInstance", +"description": "Required. Summarization quality instance." +}, +"metricSpec": { +"$ref": "GoogleCloudAiplatformV1SummarizationQualitySpec", +"description": "Required. Spec for summarization quality score metric." +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1SummarizationQualityInstance": { +"description": "Spec for summarization quality instance.", +"id": "GoogleCloudAiplatformV1SummarizationQualityInstance", +"properties": { +"context": { +"description": "Required. Text to be summarized.", +"type": "string" +}, +"instruction": { +"description": "Required. Summarization prompt for LLM.", +"type": "string" +}, +"prediction": { +"description": "Required. Output of the evaluated model.", +"type": "string" +}, +"reference": { +"description": "Optional. Ground truth used to compare against the prediction.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1SummarizationQualityResult": { +"description": "Spec for summarization quality result.", +"id": "GoogleCloudAiplatformV1SummarizationQualityResult", +"properties": { +"confidence": { +"description": "Output only. Confidence for summarization quality score.", +"format": "float", +"readOnly": true, +"type": "number" +}, +"explanation": { +"description": "Output only. Explanation for summarization quality score.", +"readOnly": true, +"type": "string" +}, +"score": { +"description": "Output only. Summarization Quality score.", +"format": "float", +"readOnly": true, +"type": "number" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1SummarizationQualitySpec": { +"description": "Spec for summarization quality score metric.", +"id": "GoogleCloudAiplatformV1SummarizationQualitySpec", +"properties": { +"useReference": { +"description": "Optional. Whether to use instance.reference to compute summarization quality.", +"type": "boolean" +}, +"version": { +"description": "Optional. Which version to use for evaluation.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1SummarizationVerbosityInput": { +"description": "Input for summarization verbosity metric.", +"id": "GoogleCloudAiplatformV1SummarizationVerbosityInput", +"properties": { +"instance": { +"$ref": "GoogleCloudAiplatformV1SummarizationVerbosityInstance", +"description": "Required. Summarization verbosity instance." +}, +"metricSpec": { +"$ref": "GoogleCloudAiplatformV1SummarizationVerbositySpec", +"description": "Required. Spec for summarization verbosity score metric." +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1SummarizationVerbosityInstance": { +"description": "Spec for summarization verbosity instance.", +"id": "GoogleCloudAiplatformV1SummarizationVerbosityInstance", +"properties": { +"context": { +"description": "Required. Text to be summarized.", +"type": "string" +}, +"instruction": { +"description": "Optional. Summarization prompt for LLM.", +"type": "string" +}, +"prediction": { +"description": "Required. Output of the evaluated model.", +"type": "string" +}, +"reference": { +"description": "Optional. Ground truth used to compare against the prediction.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1SummarizationVerbosityResult": { +"description": "Spec for summarization verbosity result.", +"id": "GoogleCloudAiplatformV1SummarizationVerbosityResult", +"properties": { +"confidence": { +"description": "Output only. Confidence for summarization verbosity score.", +"format": "float", +"readOnly": true, +"type": "number" +}, +"explanation": { +"description": "Output only. Explanation for summarization verbosity score.", +"readOnly": true, +"type": "string" +}, +"score": { +"description": "Output only. Summarization Verbosity score.", +"format": "float", +"readOnly": true, +"type": "number" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1SummarizationVerbositySpec": { +"description": "Spec for summarization verbosity score metric.", +"id": "GoogleCloudAiplatformV1SummarizationVerbositySpec", +"properties": { +"useReference": { +"description": "Optional. Whether to use instance.reference to compute summarization verbosity.", +"type": "boolean" +}, +"version": { +"description": "Optional. Which version to use for evaluation.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1SummaryMetrics": { +"description": "The summary metrics for the evaluation run.", +"id": "GoogleCloudAiplatformV1SummaryMetrics", +"properties": { +"failedItems": { +"description": "Optional. The number of items that failed to be evaluated.", +"format": "int32", +"type": "integer" +}, +"metrics": { +"additionalProperties": { +"type": "any" +}, +"description": "Optional. Map of metric name to metric value.", +"type": "object" +}, +"totalItems": { +"description": "Optional. The total number of items that were evaluated.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1SupervisedHyperParameters": { +"description": "Hyperparameters for SFT.", +"id": "GoogleCloudAiplatformV1SupervisedHyperParameters", +"properties": { +"adapterSize": { +"description": "Optional. Adapter size for tuning.", +"enum": [ +"ADAPTER_SIZE_UNSPECIFIED", +"ADAPTER_SIZE_ONE", +"ADAPTER_SIZE_TWO", +"ADAPTER_SIZE_FOUR", +"ADAPTER_SIZE_EIGHT", +"ADAPTER_SIZE_SIXTEEN", +"ADAPTER_SIZE_THIRTY_TWO" +], +"enumDescriptions": [ +"Adapter size is unspecified.", +"Adapter size 1.", +"Adapter size 2.", +"Adapter size 4.", +"Adapter size 8.", +"Adapter size 16.", +"Adapter size 32." +], +"type": "string" +}, +"epochCount": { +"description": "Optional. Number of complete passes the model makes over the entire training dataset during training.", +"format": "int64", +"type": "string" +}, +"learningRateMultiplier": { +"description": "Optional. Multiplier for adjusting the default learning rate. Mutually exclusive with `learning_rate`. This feature is only available for 1P models.", +"format": "double", +"type": "number" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1SupervisedTuningDataStats": { +"description": "Tuning data statistics for Supervised Tuning.", +"id": "GoogleCloudAiplatformV1SupervisedTuningDataStats", +"properties": { +"droppedExampleReasons": { +"description": "Output only. For each index in `truncated_example_indices`, the user-facing reason why the example was dropped.", +"items": { +"type": "string" +}, +"readOnly": true, +"type": "array" +}, +"totalBillableCharacterCount": { +"deprecated": true, +"description": "Output only. Number of billable characters in the tuning dataset.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"totalBillableTokenCount": { +"description": "Output only. Number of billable tokens in the tuning dataset.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"totalTruncatedExampleCount": { +"description": "Output only. The number of examples in the dataset that have been dropped. An example can be dropped for reasons including: too many tokens, contains an invalid image, contains too many images, etc.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"totalTuningCharacterCount": { +"description": "Output only. Number of tuning characters in the tuning dataset.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"truncatedExampleIndices": { +"description": "Output only. A partial sample of the indices (starting from 1) of the dropped examples.", +"items": { +"format": "int64", +"type": "string" +}, +"readOnly": true, +"type": "array" +}, +"tuningDatasetExampleCount": { +"description": "Output only. Number of examples in the tuning dataset.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"tuningStepCount": { +"description": "Output only. Number of tuning steps for this Tuning Job.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"userDatasetExamples": { +"description": "Output only. Sample user messages in the training dataset uri.", +"items": { +"$ref": "GoogleCloudAiplatformV1Content" +}, +"readOnly": true, +"type": "array" +}, +"userInputTokenDistribution": { +"$ref": "GoogleCloudAiplatformV1SupervisedTuningDatasetDistribution", +"description": "Output only. Dataset distributions for the user input tokens.", +"readOnly": true +}, +"userMessagePerExampleDistribution": { +"$ref": "GoogleCloudAiplatformV1SupervisedTuningDatasetDistribution", +"description": "Output only. Dataset distributions for the messages per example.", +"readOnly": true +}, +"userOutputTokenDistribution": { +"$ref": "GoogleCloudAiplatformV1SupervisedTuningDatasetDistribution", +"description": "Output only. Dataset distributions for the user output tokens.", +"readOnly": true +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1SupervisedTuningDatasetDistribution": { +"description": "Dataset distribution for Supervised Tuning.", +"id": "GoogleCloudAiplatformV1SupervisedTuningDatasetDistribution", +"properties": { +"billableSum": { +"description": "Output only. Sum of a given population of values that are billable.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"buckets": { +"description": "Output only. Defines the histogram bucket.", +"items": { +"$ref": "GoogleCloudAiplatformV1SupervisedTuningDatasetDistributionDatasetBucket" +}, +"readOnly": true, +"type": "array" +}, +"max": { +"description": "Output only. The maximum of the population values.", +"format": "double", +"readOnly": true, +"type": "number" +}, +"mean": { +"description": "Output only. The arithmetic mean of the values in the population.", +"format": "double", +"readOnly": true, +"type": "number" +}, +"median": { +"description": "Output only. The median of the values in the population.", +"format": "double", +"readOnly": true, +"type": "number" +}, +"min": { +"description": "Output only. The minimum of the population values.", +"format": "double", +"readOnly": true, +"type": "number" +}, +"p5": { +"description": "Output only. The 5th percentile of the values in the population.", +"format": "double", +"readOnly": true, +"type": "number" +}, +"p95": { +"description": "Output only. The 95th percentile of the values in the population.", +"format": "double", +"readOnly": true, +"type": "number" +}, +"sum": { +"description": "Output only. Sum of a given population of values.", +"format": "int64", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1SupervisedTuningDatasetDistributionDatasetBucket": { +"description": "Dataset bucket used to create a histogram for the distribution given a population of values.", +"id": "GoogleCloudAiplatformV1SupervisedTuningDatasetDistributionDatasetBucket", +"properties": { +"count": { +"description": "Output only. Number of values in the bucket.", +"format": "double", +"readOnly": true, +"type": "number" +}, +"left": { +"description": "Output only. Left bound of the bucket.", +"format": "double", +"readOnly": true, +"type": "number" +}, +"right": { +"description": "Output only. Right bound of the bucket.", +"format": "double", +"readOnly": true, +"type": "number" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1SupervisedTuningSpec": { +"description": "Tuning Spec for Supervised Tuning for first party models.", +"id": "GoogleCloudAiplatformV1SupervisedTuningSpec", +"properties": { +"exportLastCheckpointOnly": { +"description": "Optional. If set to true, disable intermediate checkpoints for SFT and only the last checkpoint will be exported. Otherwise, enable intermediate checkpoints for SFT. Default is false.", +"type": "boolean" +}, +"hyperParameters": { +"$ref": "GoogleCloudAiplatformV1SupervisedHyperParameters", +"description": "Optional. Hyperparameters for SFT." +}, +"trainingDatasetUri": { +"description": "Required. Training dataset used for tuning. The dataset can be specified as either a Cloud Storage path to a JSONL file or as the resource name of a Vertex Multimodal Dataset.", +"type": "string" +}, +"validationDatasetUri": { +"description": "Optional. Validation dataset used for tuning. The dataset can be specified as either a Cloud Storage path to a JSONL file or as the resource name of a Vertex Multimodal Dataset.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1SyncFeatureViewRequest": { +"description": "Request message for FeatureOnlineStoreAdminService.SyncFeatureView.", +"id": "GoogleCloudAiplatformV1SyncFeatureViewRequest", +"properties": {}, +"type": "object" +}, +"GoogleCloudAiplatformV1SyncFeatureViewResponse": { +"description": "Response message for FeatureOnlineStoreAdminService.SyncFeatureView.", +"id": "GoogleCloudAiplatformV1SyncFeatureViewResponse", +"properties": { +"featureViewSync": { +"description": "Format: `projects/{project}/locations/{location}/featureOnlineStores/{feature_online_store}/featureViews/{feature_view}/featureViewSyncs/{feature_view_sync}`", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1SyntheticExample": { +"description": "Represents a single synthetic example, composed of multiple fields. Used for providing few-shot examples in the request and for returning generated examples in the response.", +"id": "GoogleCloudAiplatformV1SyntheticExample", +"properties": { +"fields": { +"description": "Required. A list of fields that constitute an example.", +"items": { +"$ref": "GoogleCloudAiplatformV1SyntheticField" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1SyntheticField": { +"description": "Represents a single named field within a SyntheticExample.", +"id": "GoogleCloudAiplatformV1SyntheticField", +"properties": { +"content": { +"$ref": "GoogleCloudAiplatformV1Content", +"description": "Required. The content of the field." +}, +"fieldName": { +"description": "Optional. The name of the field.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1TFRecordDestination": { +"description": "The storage details for TFRecord output content.", +"id": "GoogleCloudAiplatformV1TFRecordDestination", +"properties": { +"gcsDestination": { +"$ref": "GoogleCloudAiplatformV1GcsDestination", +"description": "Required. Google Cloud Storage location." +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1TaskDescriptionStrategy": { +"description": "Defines a generation strategy based on a high-level task description.", +"id": "GoogleCloudAiplatformV1TaskDescriptionStrategy", +"properties": { +"taskDescription": { +"description": "Required. A high-level description of the synthetic data to be generated.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1Tensor": { +"description": "A tensor value type.", +"id": "GoogleCloudAiplatformV1Tensor", +"properties": { +"boolVal": { +"description": "Type specific representations that make it easy to create tensor protos in all languages. Only the representation corresponding to \"dtype\" can be set. The values hold the flattened representation of the tensor in row major order. BOOL", +"items": { +"type": "boolean" +}, +"type": "array" +}, +"bytesVal": { +"description": "STRING", +"items": { +"format": "byte", +"type": "string" +}, +"type": "array" +}, +"doubleVal": { +"description": "DOUBLE", +"items": { +"format": "double", +"type": "number" +}, +"type": "array" +}, +"dtype": { +"description": "The data type of tensor.", +"enum": [ +"DATA_TYPE_UNSPECIFIED", +"BOOL", +"STRING", +"FLOAT", +"DOUBLE", +"INT8", +"INT16", +"INT32", +"INT64", +"UINT8", +"UINT16", +"UINT32", +"UINT64" +], +"enumDescriptions": [ +"Not a legal value for DataType. Used to indicate a DataType field has not been set.", +"Data types that all computation devices are expected to be capable to support.", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"" +], +"type": "string" +}, +"floatVal": { +"description": "FLOAT", +"items": { +"format": "float", +"type": "number" +}, +"type": "array" +}, +"int64Val": { +"description": "INT64", +"items": { +"format": "int64", +"type": "string" +}, +"type": "array" +}, +"intVal": { +"description": "INT_8 INT_16 INT_32", +"items": { +"format": "int32", +"type": "integer" +}, +"type": "array" +}, +"listVal": { +"description": "A list of tensor values.", +"items": { +"$ref": "GoogleCloudAiplatformV1Tensor" +}, +"type": "array" +}, +"shape": { +"description": "Shape of the tensor.", +"items": { +"format": "int64", +"type": "string" +}, +"type": "array" +}, +"stringVal": { +"description": "STRING", +"items": { +"type": "string" +}, +"type": "array" +}, +"structVal": { +"additionalProperties": { +"$ref": "GoogleCloudAiplatformV1Tensor" +}, +"description": "A map of string to tensor.", +"type": "object" +}, +"tensorVal": { +"description": "Serialized raw tensor content.", +"format": "byte", +"type": "string" +}, +"uint64Val": { +"description": "UINT64", +"items": { +"format": "uint64", +"type": "string" +}, +"type": "array" +}, +"uintVal": { +"description": "UINT8 UINT16 UINT32", +"items": { +"format": "uint32", +"type": "integer" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1Tensorboard": { +"description": "Tensorboard is a physical database that stores users' training metrics. A default Tensorboard is provided in each region of a Google Cloud project. If needed users can also create extra Tensorboards in their projects.", +"id": "GoogleCloudAiplatformV1Tensorboard", +"properties": { +"blobStoragePathPrefix": { +"description": "Output only. Consumer project Cloud Storage path prefix used to store blob data, which can either be a bucket or directory. Does not end with a '/'.", +"readOnly": true, +"type": "string" +}, +"createTime": { +"description": "Output only. Timestamp when this Tensorboard was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"description": { +"description": "Description of this Tensorboard.", +"type": "string" +}, +"displayName": { +"description": "Required. User provided name of this Tensorboard.", +"type": "string" +}, +"encryptionSpec": { +"$ref": "GoogleCloudAiplatformV1EncryptionSpec", +"description": "Customer-managed encryption key spec for a Tensorboard. If set, this Tensorboard and all sub-resources of this Tensorboard will be secured by this key." +}, +"etag": { +"description": "Used to perform a consistent read-modify-write updates. If not set, a blind \"overwrite\" update happens.", +"type": "string" +}, +"isDefault": { +"description": "Used to indicate if the TensorBoard instance is the default one. Each project & region can have at most one default TensorBoard instance. Creation of a default TensorBoard instance and updating an existing TensorBoard instance to be default will mark all other TensorBoard instances (if any) as non default.", +"type": "boolean" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "The labels with user-defined metadata to organize your Tensorboards. Label keys and values can be no longer than 64 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. No more than 64 user labels can be associated with one Tensorboard (System labels are excluded). See https://goo.gl/xmQnxf for more information and examples of labels. System reserved label keys are prefixed with \"aiplatform.googleapis.com/\" and are immutable.", +"type": "object" +}, +"name": { +"description": "Output only. Name of the Tensorboard. Format: `projects/{project}/locations/{location}/tensorboards/{tensorboard}`", +"readOnly": true, +"type": "string" +}, +"runCount": { +"description": "Output only. The number of Runs stored in this Tensorboard.", +"format": "int32", +"readOnly": true, +"type": "integer" +}, +"satisfiesPzi": { +"description": "Output only. Reserved for future use.", +"readOnly": true, +"type": "boolean" +}, +"satisfiesPzs": { +"description": "Output only. Reserved for future use.", +"readOnly": true, +"type": "boolean" +}, +"updateTime": { +"description": "Output only. Timestamp when this Tensorboard was last updated.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1TensorboardBlob": { +"description": "One blob (e.g, image, graph) viewable on a blob metric plot.", +"id": "GoogleCloudAiplatformV1TensorboardBlob", +"properties": { +"data": { +"description": "Optional. The bytes of the blob is not present unless it's returned by the ReadTensorboardBlobData endpoint.", +"format": "byte", +"type": "string" +}, +"id": { +"description": "Output only. A URI safe key uniquely identifying a blob. Can be used to locate the blob stored in the Cloud Storage bucket of the consumer project.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1TensorboardBlobSequence": { +"description": "One point viewable on a blob metric plot, but mostly just a wrapper message to work around repeated fields can't be used directly within `oneof` fields.", +"id": "GoogleCloudAiplatformV1TensorboardBlobSequence", +"properties": { +"values": { +"description": "List of blobs contained within the sequence.", +"items": { +"$ref": "GoogleCloudAiplatformV1TensorboardBlob" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1TensorboardExperiment": { +"description": "A TensorboardExperiment is a group of TensorboardRuns, that are typically the results of a training job run, in a Tensorboard.", +"id": "GoogleCloudAiplatformV1TensorboardExperiment", +"properties": { +"createTime": { +"description": "Output only. Timestamp when this TensorboardExperiment was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"description": { +"description": "Description of this TensorboardExperiment.", +"type": "string" +}, +"displayName": { +"description": "User provided name of this TensorboardExperiment.", +"type": "string" +}, +"etag": { +"description": "Used to perform consistent read-modify-write updates. If not set, a blind \"overwrite\" update happens.", +"type": "string" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "The labels with user-defined metadata to organize your TensorboardExperiment. Label keys and values cannot be longer than 64 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. No more than 64 user labels can be associated with one Dataset (System labels are excluded). See https://goo.gl/xmQnxf for more information and examples of labels. System reserved label keys are prefixed with `aiplatform.googleapis.com/` and are immutable. The following system labels exist for each Dataset: * `aiplatform.googleapis.com/dataset_metadata_schema`: output only. Its value is the metadata_schema's title.", +"type": "object" +}, +"name": { +"description": "Output only. Name of the TensorboardExperiment. Format: `projects/{project}/locations/{location}/tensorboards/{tensorboard}/experiments/{experiment}`", +"readOnly": true, +"type": "string" +}, +"source": { +"description": "Immutable. Source of the TensorboardExperiment. Example: a custom training job.", +"type": "string" +}, +"updateTime": { +"description": "Output only. Timestamp when this TensorboardExperiment was last updated.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1TensorboardRun": { +"description": "TensorboardRun maps to a specific execution of a training job with a given set of hyperparameter values, model definition, dataset, etc", +"id": "GoogleCloudAiplatformV1TensorboardRun", +"properties": { +"createTime": { +"description": "Output only. Timestamp when this TensorboardRun was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"description": { +"description": "Description of this TensorboardRun.", +"type": "string" +}, +"displayName": { +"description": "Required. User provided name of this TensorboardRun. This value must be unique among all TensorboardRuns belonging to the same parent TensorboardExperiment.", +"type": "string" +}, +"etag": { +"description": "Used to perform a consistent read-modify-write updates. If not set, a blind \"overwrite\" update happens.", +"type": "string" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "The labels with user-defined metadata to organize your TensorboardRuns. This field will be used to filter and visualize Runs in the Tensorboard UI. For example, a Vertex AI training job can set a label aiplatform.googleapis.com/training_job_id=xxxxx to all the runs created within that job. An end user can set a label experiment_id=xxxxx for all the runs produced in a Jupyter notebook. These runs can be grouped by a label value and visualized together in the Tensorboard UI. Label keys and values can be no longer than 64 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. No more than 64 user labels can be associated with one TensorboardRun (System labels are excluded). See https://goo.gl/xmQnxf for more information and examples of labels. System reserved label keys are prefixed with \"aiplatform.googleapis.com/\" and are immutable.", +"type": "object" +}, +"name": { +"description": "Output only. Name of the TensorboardRun. Format: `projects/{project}/locations/{location}/tensorboards/{tensorboard}/experiments/{experiment}/runs/{run}`", +"readOnly": true, +"type": "string" +}, +"updateTime": { +"description": "Output only. Timestamp when this TensorboardRun was last updated.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1TensorboardTensor": { +"description": "One point viewable on a tensor metric plot.", +"id": "GoogleCloudAiplatformV1TensorboardTensor", +"properties": { +"value": { +"description": "Required. Serialized form of https://github.com/tensorflow/tensorflow/blob/master/tensorflow/core/framework/tensor.proto", +"format": "byte", +"type": "string" +}, +"versionNumber": { +"description": "Optional. Version number of TensorProto used to serialize value.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1TensorboardTimeSeries": { +"description": "TensorboardTimeSeries maps to times series produced in training runs", +"id": "GoogleCloudAiplatformV1TensorboardTimeSeries", +"properties": { +"createTime": { +"description": "Output only. Timestamp when this TensorboardTimeSeries was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"description": { +"description": "Description of this TensorboardTimeSeries.", +"type": "string" +}, +"displayName": { +"description": "Required. User provided name of this TensorboardTimeSeries. This value should be unique among all TensorboardTimeSeries resources belonging to the same TensorboardRun resource (parent resource).", +"type": "string" +}, +"etag": { +"description": "Used to perform a consistent read-modify-write updates. If not set, a blind \"overwrite\" update happens.", +"type": "string" +}, +"metadata": { +"$ref": "GoogleCloudAiplatformV1TensorboardTimeSeriesMetadata", +"description": "Output only. Scalar, Tensor, or Blob metadata for this TensorboardTimeSeries.", +"readOnly": true +}, +"name": { +"description": "Output only. Name of the TensorboardTimeSeries.", +"readOnly": true, +"type": "string" +}, +"pluginData": { +"description": "Data of the current plugin, with the size limited to 65KB.", +"format": "byte", +"type": "string" +}, +"pluginName": { +"description": "Immutable. Name of the plugin this time series pertain to. Such as Scalar, Tensor, Blob", +"type": "string" +}, +"updateTime": { +"description": "Output only. Timestamp when this TensorboardTimeSeries was last updated.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"valueType": { +"description": "Required. Immutable. Type of TensorboardTimeSeries value.", +"enum": [ +"VALUE_TYPE_UNSPECIFIED", +"SCALAR", +"TENSOR", +"BLOB_SEQUENCE" +], +"enumDescriptions": [ +"The value type is unspecified.", +"Used for TensorboardTimeSeries that is a list of scalars. E.g. accuracy of a model over epochs/time.", +"Used for TensorboardTimeSeries that is a list of tensors. E.g. histograms of weights of layer in a model over epoch/time.", +"Used for TensorboardTimeSeries that is a list of blob sequences. E.g. set of sample images with labels over epochs/time." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1TensorboardTimeSeriesMetadata": { +"description": "Describes metadata for a TensorboardTimeSeries.", +"id": "GoogleCloudAiplatformV1TensorboardTimeSeriesMetadata", +"properties": { +"maxBlobSequenceLength": { +"description": "Output only. The largest blob sequence length (number of blobs) of all data points in this time series, if its ValueType is BLOB_SEQUENCE.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"maxStep": { +"description": "Output only. Max step index of all data points within a TensorboardTimeSeries.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"maxWallTime": { +"description": "Output only. Max wall clock timestamp of all data points within a TensorboardTimeSeries.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1ThresholdConfig": { +"description": "The config for feature monitoring threshold.", +"id": "GoogleCloudAiplatformV1ThresholdConfig", +"properties": { +"value": { +"description": "Specify a threshold value that can trigger the alert. If this threshold config is for feature distribution distance: 1. For categorical feature, the distribution distance is calculated by L-inifinity norm. 2. For numerical feature, the distribution distance is calculated by Jensen\u2013Shannon divergence. Each feature must have a non-zero threshold if they need to be monitored. Otherwise no alert will be triggered for that feature.", +"format": "double", +"type": "number" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1TimeSeriesData": { +"description": "All the data stored in a TensorboardTimeSeries.", +"id": "GoogleCloudAiplatformV1TimeSeriesData", +"properties": { +"tensorboardTimeSeriesId": { +"description": "Required. The ID of the TensorboardTimeSeries, which will become the final component of the TensorboardTimeSeries' resource name", +"type": "string" +}, +"valueType": { +"description": "Required. Immutable. The value type of this time series. All the values in this time series data must match this value type.", +"enum": [ +"VALUE_TYPE_UNSPECIFIED", +"SCALAR", +"TENSOR", +"BLOB_SEQUENCE" +], +"enumDescriptions": [ +"The value type is unspecified.", +"Used for TensorboardTimeSeries that is a list of scalars. E.g. accuracy of a model over epochs/time.", +"Used for TensorboardTimeSeries that is a list of tensors. E.g. histograms of weights of layer in a model over epoch/time.", +"Used for TensorboardTimeSeries that is a list of blob sequences. E.g. set of sample images with labels over epochs/time." +], +"type": "string" +}, +"values": { +"description": "Required. Data points in this time series.", +"items": { +"$ref": "GoogleCloudAiplatformV1TimeSeriesDataPoint" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1TimeSeriesDataPoint": { +"description": "A TensorboardTimeSeries data point.", +"id": "GoogleCloudAiplatformV1TimeSeriesDataPoint", +"properties": { +"blobs": { +"$ref": "GoogleCloudAiplatformV1TensorboardBlobSequence", +"description": "A blob sequence value." +}, +"scalar": { +"$ref": "GoogleCloudAiplatformV1Scalar", +"description": "A scalar value." +}, +"step": { +"description": "Step index of this data point within the run.", +"format": "int64", +"type": "string" +}, +"tensor": { +"$ref": "GoogleCloudAiplatformV1TensorboardTensor", +"description": "A tensor value." +}, +"wallTime": { +"description": "Wall clock timestamp when this data point is generated by the end user.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1TimestampSplit": { +"description": "Assigns input data to training, validation, and test sets based on a provided timestamps. The youngest data pieces are assigned to training set, next to validation set, and the oldest to the test set. Supported only for tabular Datasets.", +"id": "GoogleCloudAiplatformV1TimestampSplit", +"properties": { +"key": { +"description": "Required. The key is a name of one of the Dataset's data columns. The values of the key (the values in the column) must be in RFC 3339 `date-time` format, where `time-offset` = `\"Z\"` (e.g. 1985-04-12T23:20:50.52Z). If for a piece of data the key is not present or has an invalid value, that piece is ignored by the pipeline.", +"type": "string" +}, +"testFraction": { +"description": "The fraction of the input data that is to be used to evaluate the Model.", +"format": "double", +"type": "number" +}, +"trainingFraction": { +"description": "The fraction of the input data that is to be used to train the Model.", +"format": "double", +"type": "number" +}, +"validationFraction": { +"description": "The fraction of the input data that is to be used to validate the Model.", +"format": "double", +"type": "number" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1TokensInfo": { +"description": "Tokens info with a list of tokens and the corresponding list of token ids.", +"id": "GoogleCloudAiplatformV1TokensInfo", +"properties": { +"role": { +"description": "Optional. Optional fields for the role from the corresponding Content.", +"type": "string" +}, +"tokenIds": { +"description": "A list of token ids from the input.", +"items": { +"format": "int64", +"type": "string" +}, +"type": "array" +}, +"tokens": { +"description": "A list of tokens from the input.", +"items": { +"format": "byte", +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1Tool": { +"description": "Tool details that the model may use to generate response. A `Tool` is a piece of code that enables the system to interact with external systems to perform an action, or set of actions, outside of knowledge and scope of the model. A Tool object should contain exactly one type of Tool (e.g FunctionDeclaration, Retrieval or GoogleSearchRetrieval).", +"id": "GoogleCloudAiplatformV1Tool", +"properties": { +"codeExecution": { +"$ref": "GoogleCloudAiplatformV1ToolCodeExecution", +"description": "Optional. CodeExecution tool type. Enables the model to execute code as part of generation." +}, +"computerUse": { +"$ref": "GoogleCloudAiplatformV1ToolComputerUse", +"description": "Optional. Tool to support the model interacting directly with the computer. If enabled, it automatically populates computer-use specific Function Declarations." +}, +"enterpriseWebSearch": { +"$ref": "GoogleCloudAiplatformV1EnterpriseWebSearch", +"description": "Optional. Tool to support searching public web data, powered by Vertex AI Search and Sec4 compliance." +}, +"functionDeclarations": { +"description": "Optional. Function tool type. One or more function declarations to be passed to the model along with the current user query. Model may decide to call a subset of these functions by populating FunctionCall in the response. User should provide a FunctionResponse for each function call in the next turn. Based on the function responses, Model will generate the final response back to the user. Maximum 512 function declarations can be provided.", +"items": { +"$ref": "GoogleCloudAiplatformV1FunctionDeclaration" +}, +"type": "array" +}, +"googleMaps": { +"$ref": "GoogleCloudAiplatformV1GoogleMaps", +"description": "Optional. GoogleMaps tool type. Tool to support Google Maps in Model." +}, +"googleSearch": { +"$ref": "GoogleCloudAiplatformV1ToolGoogleSearch", +"description": "Optional. GoogleSearch tool type. Tool to support Google Search in Model. Powered by Google." +}, +"googleSearchRetrieval": { +"$ref": "GoogleCloudAiplatformV1GoogleSearchRetrieval", +"deprecated": true, +"description": "Optional. Specialized retrieval tool that is powered by Google Search." +}, +"parallelAiSearch": { +"$ref": "GoogleCloudAiplatformV1ToolParallelAiSearch", +"description": "Optional. If specified, Vertex AI will use Parallel.ai to search for information to answer user queries. The search results will be grounded on Parallel.ai and presented to the model for response generation" +}, +"retrieval": { +"$ref": "GoogleCloudAiplatformV1Retrieval", +"description": "Optional. Retrieval tool type. System will always execute the provided retrieval tool(s) to get external knowledge to answer the prompt. Retrieval results are presented to the model for generation." +}, +"urlContext": { +"$ref": "GoogleCloudAiplatformV1UrlContext", +"description": "Optional. Tool to support URL context retrieval." +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1ToolCall": { +"description": "Spec for tool call.", +"id": "GoogleCloudAiplatformV1ToolCall", +"properties": { +"toolInput": { +"description": "Optional. Spec for tool input", +"type": "string" +}, +"toolName": { +"description": "Required. Spec for tool name", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1ToolCallValidInput": { +"description": "Input for tool call valid metric.", +"id": "GoogleCloudAiplatformV1ToolCallValidInput", +"properties": { +"instances": { +"description": "Required. Repeated tool call valid instances.", +"items": { +"$ref": "GoogleCloudAiplatformV1ToolCallValidInstance" +}, +"type": "array" +}, +"metricSpec": { +"$ref": "GoogleCloudAiplatformV1ToolCallValidSpec", +"description": "Required. Spec for tool call valid metric." +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1ToolCallValidInstance": { +"description": "Spec for tool call valid instance.", +"id": "GoogleCloudAiplatformV1ToolCallValidInstance", +"properties": { +"prediction": { +"description": "Required. Output of the evaluated model.", +"type": "string" +}, +"reference": { +"description": "Required. Ground truth used to compare against the prediction.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1ToolCallValidMetricValue": { +"description": "Tool call valid metric value for an instance.", +"id": "GoogleCloudAiplatformV1ToolCallValidMetricValue", +"properties": { +"score": { +"description": "Output only. Tool call valid score.", +"format": "float", +"readOnly": true, +"type": "number" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1ToolCallValidResults": { +"description": "Results for tool call valid metric.", +"id": "GoogleCloudAiplatformV1ToolCallValidResults", +"properties": { +"toolCallValidMetricValues": { +"description": "Output only. Tool call valid metric values.", +"items": { +"$ref": "GoogleCloudAiplatformV1ToolCallValidMetricValue" +}, +"readOnly": true, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1ToolCallValidSpec": { +"description": "Spec for tool call valid metric.", +"id": "GoogleCloudAiplatformV1ToolCallValidSpec", +"properties": {}, +"type": "object" +}, +"GoogleCloudAiplatformV1ToolCodeExecution": { +"description": "Tool that executes code generated by the model, and automatically returns the result to the model. See also [ExecutableCode]and [CodeExecutionResult] which are input and output to this tool.", +"id": "GoogleCloudAiplatformV1ToolCodeExecution", +"properties": {}, +"type": "object" +}, +"GoogleCloudAiplatformV1ToolComputerUse": { +"description": "Tool to support computer use.", +"id": "GoogleCloudAiplatformV1ToolComputerUse", +"properties": { +"environment": { +"description": "Required. The environment being operated.", +"enum": [ +"ENVIRONMENT_UNSPECIFIED", +"ENVIRONMENT_BROWSER" +], +"enumDescriptions": [ +"Defaults to browser.", +"Operates in a web browser." +], +"type": "string" +}, +"excludedPredefinedFunctions": { +"description": "Optional. By default, [predefined functions](https://cloud.google.com/vertex-ai/generative-ai/docs/computer-use#supported-actions) are included in the final model call. Some of them can be explicitly excluded from being automatically included. This can serve two purposes: 1. Using a more restricted / different action space. 2. Improving the definitions / instructions of predefined functions.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1ToolConfig": { +"description": "Tool config. This config is shared for all tools provided in the request.", +"id": "GoogleCloudAiplatformV1ToolConfig", +"properties": { +"functionCallingConfig": { +"$ref": "GoogleCloudAiplatformV1FunctionCallingConfig", +"description": "Optional. Function calling config." +}, +"retrievalConfig": { +"$ref": "GoogleCloudAiplatformV1RetrievalConfig", +"description": "Optional. Retrieval config." +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1ToolGoogleSearch": { +"description": "GoogleSearch tool type. Tool to support Google Search in Model. Powered by Google.", +"id": "GoogleCloudAiplatformV1ToolGoogleSearch", +"properties": { +"blockingConfidence": { +"description": "Optional. Sites with confidence level chosen & above this value will be blocked from the search results.", +"enum": [ +"PHISH_BLOCK_THRESHOLD_UNSPECIFIED", +"BLOCK_LOW_AND_ABOVE", +"BLOCK_MEDIUM_AND_ABOVE", +"BLOCK_HIGH_AND_ABOVE", +"BLOCK_HIGHER_AND_ABOVE", +"BLOCK_VERY_HIGH_AND_ABOVE", +"BLOCK_ONLY_EXTREMELY_HIGH" +], +"enumDescriptions": [ +"Defaults to unspecified.", +"Blocks Low and above confidence URL that is risky.", +"Blocks Medium and above confidence URL that is risky.", +"Blocks High and above confidence URL that is risky.", +"Blocks Higher and above confidence URL that is risky.", +"Blocks Very high and above confidence URL that is risky.", +"Blocks Extremely high confidence URL that is risky." +], +"type": "string" +}, +"excludeDomains": { +"description": "Optional. List of domains to be excluded from the search results. The default limit is 2000 domains. Example: [\"amazon.com\", \"facebook.com\"].", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1ToolNameMatchInput": { +"description": "Input for tool name match metric.", +"id": "GoogleCloudAiplatformV1ToolNameMatchInput", +"properties": { +"instances": { +"description": "Required. Repeated tool name match instances.", +"items": { +"$ref": "GoogleCloudAiplatformV1ToolNameMatchInstance" +}, +"type": "array" +}, +"metricSpec": { +"$ref": "GoogleCloudAiplatformV1ToolNameMatchSpec", +"description": "Required. Spec for tool name match metric." +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1ToolNameMatchInstance": { +"description": "Spec for tool name match instance.", +"id": "GoogleCloudAiplatformV1ToolNameMatchInstance", +"properties": { +"prediction": { +"description": "Required. Output of the evaluated model.", +"type": "string" +}, +"reference": { +"description": "Required. Ground truth used to compare against the prediction.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1ToolNameMatchMetricValue": { +"description": "Tool name match metric value for an instance.", +"id": "GoogleCloudAiplatformV1ToolNameMatchMetricValue", +"properties": { +"score": { +"description": "Output only. Tool name match score.", +"format": "float", +"readOnly": true, +"type": "number" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1ToolNameMatchResults": { +"description": "Results for tool name match metric.", +"id": "GoogleCloudAiplatformV1ToolNameMatchResults", +"properties": { +"toolNameMatchMetricValues": { +"description": "Output only. Tool name match metric values.", +"items": { +"$ref": "GoogleCloudAiplatformV1ToolNameMatchMetricValue" +}, +"readOnly": true, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1ToolNameMatchSpec": { +"description": "Spec for tool name match metric.", +"id": "GoogleCloudAiplatformV1ToolNameMatchSpec", +"properties": {}, +"type": "object" +}, +"GoogleCloudAiplatformV1ToolParallelAiSearch": { +"description": "ParallelAiSearch tool type. A tool that uses the Parallel.ai search engine for grounding.", +"id": "GoogleCloudAiplatformV1ToolParallelAiSearch", +"properties": { +"apiKey": { +"description": "Optional. The API key for ParallelAiSearch. If an API key is not provided, the system will attempt to verify access by checking for an active Parallel.ai subscription through the Google Cloud Marketplace. See https://docs.parallel.ai/search/search-quickstart for more details.", +"type": "string" +}, +"customConfigs": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"description": "Optional. Custom configs for ParallelAiSearch. This field can be used to pass any parameter from the Parallel.ai Search API. See the Parallel.ai documentation for the full list of available parameters and their usage: https://docs.parallel.ai/api-reference/search-beta/search Currently only `source_policy`, `excerpts`, `max_results`, `mode`, `fetch_policy` can be set via this field. For example: { \"source_policy\": { \"include_domains\": [\"google.com\", \"wikipedia.org\"], \"exclude_domains\": [\"example.com\"] }, \"fetch_policy\": { \"max_age_seconds\": 3600 } }", +"type": "object" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1ToolParameterKVMatchInput": { +"description": "Input for tool parameter key value match metric.", +"id": "GoogleCloudAiplatformV1ToolParameterKVMatchInput", +"properties": { +"instances": { +"description": "Required. Repeated tool parameter key value match instances.", +"items": { +"$ref": "GoogleCloudAiplatformV1ToolParameterKVMatchInstance" +}, +"type": "array" +}, +"metricSpec": { +"$ref": "GoogleCloudAiplatformV1ToolParameterKVMatchSpec", +"description": "Required. Spec for tool parameter key value match metric." +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1ToolParameterKVMatchInstance": { +"description": "Spec for tool parameter key value match instance.", +"id": "GoogleCloudAiplatformV1ToolParameterKVMatchInstance", +"properties": { +"prediction": { +"description": "Required. Output of the evaluated model.", +"type": "string" +}, +"reference": { +"description": "Required. Ground truth used to compare against the prediction.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1ToolParameterKVMatchMetricValue": { +"description": "Tool parameter key value match metric value for an instance.", +"id": "GoogleCloudAiplatformV1ToolParameterKVMatchMetricValue", +"properties": { +"score": { +"description": "Output only. Tool parameter key value match score.", +"format": "float", +"readOnly": true, +"type": "number" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1ToolParameterKVMatchResults": { +"description": "Results for tool parameter key value match metric.", +"id": "GoogleCloudAiplatformV1ToolParameterKVMatchResults", +"properties": { +"toolParameterKvMatchMetricValues": { +"description": "Output only. Tool parameter key value match metric values.", +"items": { +"$ref": "GoogleCloudAiplatformV1ToolParameterKVMatchMetricValue" +}, +"readOnly": true, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1ToolParameterKVMatchSpec": { +"description": "Spec for tool parameter key value match metric.", +"id": "GoogleCloudAiplatformV1ToolParameterKVMatchSpec", +"properties": { +"useStrictStringMatch": { +"description": "Optional. Whether to use STRICT string match on parameter values.", +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1ToolParameterKeyMatchInput": { +"description": "Input for tool parameter key match metric.", +"id": "GoogleCloudAiplatformV1ToolParameterKeyMatchInput", +"properties": { +"instances": { +"description": "Required. Repeated tool parameter key match instances.", +"items": { +"$ref": "GoogleCloudAiplatformV1ToolParameterKeyMatchInstance" +}, +"type": "array" +}, +"metricSpec": { +"$ref": "GoogleCloudAiplatformV1ToolParameterKeyMatchSpec", +"description": "Required. Spec for tool parameter key match metric." +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1ToolParameterKeyMatchInstance": { +"description": "Spec for tool parameter key match instance.", +"id": "GoogleCloudAiplatformV1ToolParameterKeyMatchInstance", +"properties": { +"prediction": { +"description": "Required. Output of the evaluated model.", +"type": "string" +}, +"reference": { +"description": "Required. Ground truth used to compare against the prediction.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1ToolParameterKeyMatchMetricValue": { +"description": "Tool parameter key match metric value for an instance.", +"id": "GoogleCloudAiplatformV1ToolParameterKeyMatchMetricValue", +"properties": { +"score": { +"description": "Output only. Tool parameter key match score.", +"format": "float", +"readOnly": true, +"type": "number" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1ToolParameterKeyMatchResults": { +"description": "Results for tool parameter key match metric.", +"id": "GoogleCloudAiplatformV1ToolParameterKeyMatchResults", +"properties": { +"toolParameterKeyMatchMetricValues": { +"description": "Output only. Tool parameter key match metric values.", +"items": { +"$ref": "GoogleCloudAiplatformV1ToolParameterKeyMatchMetricValue" +}, +"readOnly": true, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1ToolParameterKeyMatchSpec": { +"description": "Spec for tool parameter key match metric.", +"id": "GoogleCloudAiplatformV1ToolParameterKeyMatchSpec", +"properties": {}, +"type": "object" +}, +"GoogleCloudAiplatformV1TrainingConfig": { +"description": "CMLE training config. For every active learning labeling iteration, system will train a machine learning model on CMLE. The trained model will be used by data sampling algorithm to select DataItems.", +"id": "GoogleCloudAiplatformV1TrainingConfig", +"properties": { +"timeoutTrainingMilliHours": { +"description": "The timeout hours for the CMLE training job, expressed in milli hours i.e. 1,000 value in this field means 1 hour.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1TrainingPipeline": { +"description": "The TrainingPipeline orchestrates tasks associated with training a Model. It always executes the training task, and optionally may also export data from Vertex AI's Dataset which becomes the training input, upload the Model to Vertex AI, and evaluate the Model.", +"id": "GoogleCloudAiplatformV1TrainingPipeline", +"properties": { +"createTime": { +"description": "Output only. Time when the TrainingPipeline was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"displayName": { +"description": "Required. The user-defined name of this TrainingPipeline.", +"type": "string" +}, +"encryptionSpec": { +"$ref": "GoogleCloudAiplatformV1EncryptionSpec", +"description": "Customer-managed encryption key spec for a TrainingPipeline. If set, this TrainingPipeline will be secured by this key. Note: Model trained by this TrainingPipeline is also secured by this key if model_to_upload is not set separately." +}, +"endTime": { +"description": "Output only. Time when the TrainingPipeline entered any of the following states: `PIPELINE_STATE_SUCCEEDED`, `PIPELINE_STATE_FAILED`, `PIPELINE_STATE_CANCELLED`.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"error": { +"$ref": "GoogleRpcStatus", +"description": "Output only. Only populated when the pipeline's state is `PIPELINE_STATE_FAILED` or `PIPELINE_STATE_CANCELLED`.", +"readOnly": true +}, +"inputDataConfig": { +"$ref": "GoogleCloudAiplatformV1InputDataConfig", +"description": "Specifies Vertex AI owned input data that may be used for training the Model. The TrainingPipeline's 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 the training_task_definition, then it should be assumed that the TrainingPipeline does not depend on this configuration." +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "The labels with user-defined metadata to organize TrainingPipelines. Label keys and values can be no longer than 64 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. See https://goo.gl/xmQnxf for more information and examples of labels.", +"type": "object" +}, +"modelId": { +"description": "Optional. The ID to use for the uploaded Model, which will become the final component of the model resource name. This value may be up to 63 characters, and valid characters are `[a-z0-9_-]`. The first character cannot be a number or hyphen.", +"type": "string" +}, +"modelToUpload": { +"$ref": "GoogleCloudAiplatformV1Model", +"description": "Describes the Model that may be uploaded (via ModelService.UploadModel) by this TrainingPipeline. The TrainingPipeline's training_task_definition should make clear whether this Model description should be populated, and if there are any special requirements regarding how it should be filled. If nothing is mentioned in the training_task_definition, then it should be assumed that this field should not be filled and the training task either uploads the Model without 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 Vertex AI, then the model_to_upload's resource name is populated. The Model is always uploaded into the Project and Location in which this pipeline is." +}, +"name": { +"description": "Output only. Resource name of the TrainingPipeline.", +"readOnly": true, +"type": "string" +}, +"parentModel": { +"description": "Optional. When specify this field, the `model_to_upload` will not be uploaded as a new model, instead, it will become a new version of this `parent_model`.", +"type": "string" +}, +"startTime": { +"description": "Output only. Time when the TrainingPipeline for the first time entered the `PIPELINE_STATE_RUNNING` state.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"state": { +"description": "Output only. The detailed state of the pipeline.", +"enum": [ +"PIPELINE_STATE_UNSPECIFIED", +"PIPELINE_STATE_QUEUED", +"PIPELINE_STATE_PENDING", +"PIPELINE_STATE_RUNNING", +"PIPELINE_STATE_SUCCEEDED", +"PIPELINE_STATE_FAILED", +"PIPELINE_STATE_CANCELLING", +"PIPELINE_STATE_CANCELLED", +"PIPELINE_STATE_PAUSED" +], +"enumDescriptions": [ +"The pipeline state is unspecified.", +"The pipeline has been created or resumed, and processing has not yet begun.", +"The service is preparing to run the pipeline.", +"The pipeline is in progress.", +"The pipeline completed successfully.", +"The pipeline failed.", +"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.", +"The pipeline has been cancelled.", +"The pipeline has been stopped, and can be resumed." +], +"readOnly": true, +"type": "string" +}, +"trainingTaskDefinition": { +"description": "Required. A Google Cloud Storage path to the YAML file that defines the training task which is responsible for producing the model artifact, and may also include additional auxiliary work. The definition files that can be used here are found in gs://google-cloud-aiplatform/schema/trainingjob/definition/. 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.", +"type": "string" +}, +"trainingTaskInputs": { +"description": "Required. The training task's parameter(s), as specified in the training_task_definition's `inputs`.", +"type": "any" +}, +"trainingTaskMetadata": { +"description": "Output only. The metadata information as specified in the training_task_definition's `metadata`. This metadata is an auxiliary runtime and final information about the training task. While the pipeline is running this information is populated only at a best effort basis. Only present if the pipeline's training_task_definition contains `metadata` object.", +"readOnly": true, +"type": "any" +}, +"updateTime": { +"description": "Output only. Time when the TrainingPipeline was most recently updated.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1Trajectory": { +"description": "Spec for trajectory.", +"id": "GoogleCloudAiplatformV1Trajectory", +"properties": { +"toolCalls": { +"description": "Required. Tool calls in the trajectory.", +"items": { +"$ref": "GoogleCloudAiplatformV1ToolCall" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1TrajectoryAnyOrderMatchInput": { +"description": "Instances and metric spec for TrajectoryAnyOrderMatch metric.", +"id": "GoogleCloudAiplatformV1TrajectoryAnyOrderMatchInput", +"properties": { +"instances": { +"description": "Required. Repeated TrajectoryAnyOrderMatch instance.", +"items": { +"$ref": "GoogleCloudAiplatformV1TrajectoryAnyOrderMatchInstance" +}, +"type": "array" +}, +"metricSpec": { +"$ref": "GoogleCloudAiplatformV1TrajectoryAnyOrderMatchSpec", +"description": "Required. Spec for TrajectoryAnyOrderMatch metric." +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1TrajectoryAnyOrderMatchInstance": { +"description": "Spec for TrajectoryAnyOrderMatch instance.", +"id": "GoogleCloudAiplatformV1TrajectoryAnyOrderMatchInstance", +"properties": { +"predictedTrajectory": { +"$ref": "GoogleCloudAiplatformV1Trajectory", +"description": "Required. Spec for predicted tool call trajectory." +}, +"referenceTrajectory": { +"$ref": "GoogleCloudAiplatformV1Trajectory", +"description": "Required. Spec for reference tool call trajectory." +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1TrajectoryAnyOrderMatchMetricValue": { +"description": "TrajectoryAnyOrderMatch metric value for an instance.", +"id": "GoogleCloudAiplatformV1TrajectoryAnyOrderMatchMetricValue", +"properties": { +"score": { +"description": "Output only. TrajectoryAnyOrderMatch score.", +"format": "float", +"readOnly": true, +"type": "number" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1TrajectoryAnyOrderMatchResults": { +"description": "Results for TrajectoryAnyOrderMatch metric.", +"id": "GoogleCloudAiplatformV1TrajectoryAnyOrderMatchResults", +"properties": { +"trajectoryAnyOrderMatchMetricValues": { +"description": "Output only. TrajectoryAnyOrderMatch metric values.", +"items": { +"$ref": "GoogleCloudAiplatformV1TrajectoryAnyOrderMatchMetricValue" +}, +"readOnly": true, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1TrajectoryAnyOrderMatchSpec": { +"description": "Spec for TrajectoryAnyOrderMatch metric - returns 1 if all tool calls in the reference trajectory appear in the predicted trajectory in any order, else 0.", +"id": "GoogleCloudAiplatformV1TrajectoryAnyOrderMatchSpec", +"properties": {}, +"type": "object" +}, +"GoogleCloudAiplatformV1TrajectoryExactMatchInput": { +"description": "Instances and metric spec for TrajectoryExactMatch metric.", +"id": "GoogleCloudAiplatformV1TrajectoryExactMatchInput", +"properties": { +"instances": { +"description": "Required. Repeated TrajectoryExactMatch instance.", +"items": { +"$ref": "GoogleCloudAiplatformV1TrajectoryExactMatchInstance" +}, +"type": "array" +}, +"metricSpec": { +"$ref": "GoogleCloudAiplatformV1TrajectoryExactMatchSpec", +"description": "Required. Spec for TrajectoryExactMatch metric." +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1TrajectoryExactMatchInstance": { +"description": "Spec for TrajectoryExactMatch instance.", +"id": "GoogleCloudAiplatformV1TrajectoryExactMatchInstance", +"properties": { +"predictedTrajectory": { +"$ref": "GoogleCloudAiplatformV1Trajectory", +"description": "Required. Spec for predicted tool call trajectory." +}, +"referenceTrajectory": { +"$ref": "GoogleCloudAiplatformV1Trajectory", +"description": "Required. Spec for reference tool call trajectory." +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1TrajectoryExactMatchMetricValue": { +"description": "TrajectoryExactMatch metric value for an instance.", +"id": "GoogleCloudAiplatformV1TrajectoryExactMatchMetricValue", +"properties": { +"score": { +"description": "Output only. TrajectoryExactMatch score.", +"format": "float", +"readOnly": true, +"type": "number" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1TrajectoryExactMatchResults": { +"description": "Results for TrajectoryExactMatch metric.", +"id": "GoogleCloudAiplatformV1TrajectoryExactMatchResults", +"properties": { +"trajectoryExactMatchMetricValues": { +"description": "Output only. TrajectoryExactMatch metric values.", +"items": { +"$ref": "GoogleCloudAiplatformV1TrajectoryExactMatchMetricValue" +}, +"readOnly": true, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1TrajectoryExactMatchSpec": { +"description": "Spec for TrajectoryExactMatch metric - returns 1 if tool calls in the reference trajectory exactly match the predicted trajectory, else 0.", +"id": "GoogleCloudAiplatformV1TrajectoryExactMatchSpec", +"properties": {}, +"type": "object" +}, +"GoogleCloudAiplatformV1TrajectoryInOrderMatchInput": { +"description": "Instances and metric spec for TrajectoryInOrderMatch metric.", +"id": "GoogleCloudAiplatformV1TrajectoryInOrderMatchInput", +"properties": { +"instances": { +"description": "Required. Repeated TrajectoryInOrderMatch instance.", +"items": { +"$ref": "GoogleCloudAiplatformV1TrajectoryInOrderMatchInstance" +}, +"type": "array" +}, +"metricSpec": { +"$ref": "GoogleCloudAiplatformV1TrajectoryInOrderMatchSpec", +"description": "Required. Spec for TrajectoryInOrderMatch metric." +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1TrajectoryInOrderMatchInstance": { +"description": "Spec for TrajectoryInOrderMatch instance.", +"id": "GoogleCloudAiplatformV1TrajectoryInOrderMatchInstance", +"properties": { +"predictedTrajectory": { +"$ref": "GoogleCloudAiplatformV1Trajectory", +"description": "Required. Spec for predicted tool call trajectory." +}, +"referenceTrajectory": { +"$ref": "GoogleCloudAiplatformV1Trajectory", +"description": "Required. Spec for reference tool call trajectory." +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1TrajectoryInOrderMatchMetricValue": { +"description": "TrajectoryInOrderMatch metric value for an instance.", +"id": "GoogleCloudAiplatformV1TrajectoryInOrderMatchMetricValue", +"properties": { +"score": { +"description": "Output only. TrajectoryInOrderMatch score.", +"format": "float", +"readOnly": true, +"type": "number" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1TrajectoryInOrderMatchResults": { +"description": "Results for TrajectoryInOrderMatch metric.", +"id": "GoogleCloudAiplatformV1TrajectoryInOrderMatchResults", +"properties": { +"trajectoryInOrderMatchMetricValues": { +"description": "Output only. TrajectoryInOrderMatch metric values.", +"items": { +"$ref": "GoogleCloudAiplatformV1TrajectoryInOrderMatchMetricValue" +}, +"readOnly": true, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1TrajectoryInOrderMatchSpec": { +"description": "Spec for TrajectoryInOrderMatch metric - returns 1 if tool calls in the reference trajectory appear in the predicted trajectory in the same order, else 0.", +"id": "GoogleCloudAiplatformV1TrajectoryInOrderMatchSpec", +"properties": {}, +"type": "object" +}, +"GoogleCloudAiplatformV1TrajectoryPrecisionInput": { +"description": "Instances and metric spec for TrajectoryPrecision metric.", +"id": "GoogleCloudAiplatformV1TrajectoryPrecisionInput", +"properties": { +"instances": { +"description": "Required. Repeated TrajectoryPrecision instance.", +"items": { +"$ref": "GoogleCloudAiplatformV1TrajectoryPrecisionInstance" +}, +"type": "array" +}, +"metricSpec": { +"$ref": "GoogleCloudAiplatformV1TrajectoryPrecisionSpec", +"description": "Required. Spec for TrajectoryPrecision metric." +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1TrajectoryPrecisionInstance": { +"description": "Spec for TrajectoryPrecision instance.", +"id": "GoogleCloudAiplatformV1TrajectoryPrecisionInstance", +"properties": { +"predictedTrajectory": { +"$ref": "GoogleCloudAiplatformV1Trajectory", +"description": "Required. Spec for predicted tool call trajectory." +}, +"referenceTrajectory": { +"$ref": "GoogleCloudAiplatformV1Trajectory", +"description": "Required. Spec for reference tool call trajectory." +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1TrajectoryPrecisionMetricValue": { +"description": "TrajectoryPrecision metric value for an instance.", +"id": "GoogleCloudAiplatformV1TrajectoryPrecisionMetricValue", +"properties": { +"score": { +"description": "Output only. TrajectoryPrecision score.", +"format": "float", +"readOnly": true, +"type": "number" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1TrajectoryPrecisionResults": { +"description": "Results for TrajectoryPrecision metric.", +"id": "GoogleCloudAiplatformV1TrajectoryPrecisionResults", +"properties": { +"trajectoryPrecisionMetricValues": { +"description": "Output only. TrajectoryPrecision metric values.", +"items": { +"$ref": "GoogleCloudAiplatformV1TrajectoryPrecisionMetricValue" +}, +"readOnly": true, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1TrajectoryPrecisionSpec": { +"description": "Spec for TrajectoryPrecision metric - returns a float score based on average precision of individual tool calls.", +"id": "GoogleCloudAiplatformV1TrajectoryPrecisionSpec", +"properties": {}, +"type": "object" +}, +"GoogleCloudAiplatformV1TrajectoryRecallInput": { +"description": "Instances and metric spec for TrajectoryRecall metric.", +"id": "GoogleCloudAiplatformV1TrajectoryRecallInput", +"properties": { +"instances": { +"description": "Required. Repeated TrajectoryRecall instance.", +"items": { +"$ref": "GoogleCloudAiplatformV1TrajectoryRecallInstance" +}, +"type": "array" +}, +"metricSpec": { +"$ref": "GoogleCloudAiplatformV1TrajectoryRecallSpec", +"description": "Required. Spec for TrajectoryRecall metric." +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1TrajectoryRecallInstance": { +"description": "Spec for TrajectoryRecall instance.", +"id": "GoogleCloudAiplatformV1TrajectoryRecallInstance", +"properties": { +"predictedTrajectory": { +"$ref": "GoogleCloudAiplatformV1Trajectory", +"description": "Required. Spec for predicted tool call trajectory." +}, +"referenceTrajectory": { +"$ref": "GoogleCloudAiplatformV1Trajectory", +"description": "Required. Spec for reference tool call trajectory." +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1TrajectoryRecallMetricValue": { +"description": "TrajectoryRecall metric value for an instance.", +"id": "GoogleCloudAiplatformV1TrajectoryRecallMetricValue", +"properties": { +"score": { +"description": "Output only. TrajectoryRecall score.", +"format": "float", +"readOnly": true, +"type": "number" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1TrajectoryRecallResults": { +"description": "Results for TrajectoryRecall metric.", +"id": "GoogleCloudAiplatformV1TrajectoryRecallResults", +"properties": { +"trajectoryRecallMetricValues": { +"description": "Output only. TrajectoryRecall metric values.", +"items": { +"$ref": "GoogleCloudAiplatformV1TrajectoryRecallMetricValue" +}, +"readOnly": true, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1TrajectoryRecallSpec": { +"description": "Spec for TrajectoryRecall metric - returns a float score based on average recall of individual tool calls.", +"id": "GoogleCloudAiplatformV1TrajectoryRecallSpec", +"properties": {}, +"type": "object" +}, +"GoogleCloudAiplatformV1TrajectorySingleToolUseInput": { +"description": "Instances and metric spec for TrajectorySingleToolUse metric.", +"id": "GoogleCloudAiplatformV1TrajectorySingleToolUseInput", +"properties": { +"instances": { +"description": "Required. Repeated TrajectorySingleToolUse instance.", +"items": { +"$ref": "GoogleCloudAiplatformV1TrajectorySingleToolUseInstance" +}, +"type": "array" +}, +"metricSpec": { +"$ref": "GoogleCloudAiplatformV1TrajectorySingleToolUseSpec", +"description": "Required. Spec for TrajectorySingleToolUse metric." +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1TrajectorySingleToolUseInstance": { +"description": "Spec for TrajectorySingleToolUse instance.", +"id": "GoogleCloudAiplatformV1TrajectorySingleToolUseInstance", +"properties": { +"predictedTrajectory": { +"$ref": "GoogleCloudAiplatformV1Trajectory", +"description": "Required. Spec for predicted tool call trajectory." +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1TrajectorySingleToolUseMetricValue": { +"description": "TrajectorySingleToolUse metric value for an instance.", +"id": "GoogleCloudAiplatformV1TrajectorySingleToolUseMetricValue", +"properties": { +"score": { +"description": "Output only. TrajectorySingleToolUse score.", +"format": "float", +"readOnly": true, +"type": "number" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1TrajectorySingleToolUseResults": { +"description": "Results for TrajectorySingleToolUse metric.", +"id": "GoogleCloudAiplatformV1TrajectorySingleToolUseResults", +"properties": { +"trajectorySingleToolUseMetricValues": { +"description": "Output only. TrajectorySingleToolUse metric values.", +"items": { +"$ref": "GoogleCloudAiplatformV1TrajectorySingleToolUseMetricValue" +}, +"readOnly": true, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1TrajectorySingleToolUseSpec": { +"description": "Spec for TrajectorySingleToolUse metric - returns 1 if tool is present in the predicted trajectory, else 0.", +"id": "GoogleCloudAiplatformV1TrajectorySingleToolUseSpec", +"properties": { +"toolName": { +"description": "Required. Spec for tool name to be checked for in the predicted trajectory.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1Trial": { +"description": "A message representing a Trial. A Trial contains a unique set of Parameters that has been or will be evaluated, along with the objective metrics got by running the Trial.", +"id": "GoogleCloudAiplatformV1Trial", +"properties": { +"clientId": { +"description": "Output only. The identifier of the client that originally requested this Trial. Each client is identified by a unique client_id. When a client asks for a suggestion, Vertex AI Vizier will assign it a Trial. The client should evaluate the Trial, complete it, and report back to Vertex AI Vizier. If suggestion is asked again by same client_id before the Trial is completed, the same Trial will be returned. Multiple clients with different client_ids can ask for suggestions simultaneously, each of them will get their own Trial.", +"readOnly": true, +"type": "string" +}, +"customJob": { +"description": "Output only. The CustomJob name linked to the Trial. It's set for a HyperparameterTuningJob's Trial.", +"readOnly": true, +"type": "string" +}, +"endTime": { +"description": "Output only. Time when the Trial's status changed to `SUCCEEDED` or `INFEASIBLE`.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"finalMeasurement": { +"$ref": "GoogleCloudAiplatformV1Measurement", +"description": "Output only. The final measurement containing the objective value.", +"readOnly": true +}, +"id": { +"description": "Output only. The identifier of the Trial assigned by the service.", +"readOnly": true, +"type": "string" +}, +"infeasibleReason": { +"description": "Output only. A human readable string describing why the Trial is infeasible. This is set only if Trial state is `INFEASIBLE`.", +"readOnly": true, +"type": "string" +}, +"measurements": { +"description": "Output only. A list of measurements that are strictly lexicographically ordered by their induced tuples (steps, elapsed_duration). These are used for early stopping computations.", +"items": { +"$ref": "GoogleCloudAiplatformV1Measurement" +}, +"readOnly": true, +"type": "array" +}, +"name": { +"description": "Output only. Resource name of the Trial assigned by the service.", +"readOnly": true, +"type": "string" +}, +"parameters": { +"description": "Output only. The parameters of the Trial.", +"items": { +"$ref": "GoogleCloudAiplatformV1TrialParameter" +}, +"readOnly": true, +"type": "array" +}, +"startTime": { +"description": "Output only. Time when the Trial was started.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"state": { +"description": "Output only. The detailed state of the Trial.", +"enum": [ +"STATE_UNSPECIFIED", +"REQUESTED", +"ACTIVE", +"STOPPING", +"SUCCEEDED", +"INFEASIBLE" +], +"enumDescriptions": [ +"The Trial state is unspecified.", +"Indicates that a specific Trial has been requested, but it has not yet been suggested by the service.", +"Indicates that the Trial has been suggested.", +"Indicates that the Trial should stop according to the service.", +"Indicates that the Trial is completed successfully.", +"Indicates that the Trial should not be attempted again. The service will set a Trial to INFEASIBLE when it's done but missing the final_measurement." +], +"readOnly": true, +"type": "string" +}, +"webAccessUris": { +"additionalProperties": { +"type": "string" +}, +"description": "Output only. URIs for accessing [interactive shells](https://cloud.google.com/vertex-ai/docs/training/monitor-debug-interactive-shell) (one URI for each training node). Only available if this trial is part of a HyperparameterTuningJob and the job's trial_job_spec.enable_web_access field is `true`. The keys are names of each node used for the trial; for example, `workerpool0-0` for the primary node, `workerpool1-0` for the first node in the second worker pool, and `workerpool1-1` for the second node in the second worker pool. The values are the URIs for each node's interactive shell.", +"readOnly": true, +"type": "object" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1TrialContext": { +"id": "GoogleCloudAiplatformV1TrialContext", +"properties": { +"description": { +"description": "A human-readable field which can store a description of this context. This will become part of the resulting Trial's description field.", +"type": "string" +}, +"parameters": { +"description": "If/when a Trial is generated or selected from this Context, its Parameters will match any parameters specified here. (I.e. if this context specifies parameter name:'a' int_value:3, then a resulting Trial will have int_value:3 for its parameter named 'a'.) Note that we first attempt to match existing REQUESTED Trials with contexts, and if there are no matches, we generate suggestions in the subspace defined by the parameters specified here. NOTE: a Context without any Parameters matches the entire feasible search space.", +"items": { +"$ref": "GoogleCloudAiplatformV1TrialParameter" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1TrialParameter": { +"description": "A message representing a parameter to be tuned.", +"id": "GoogleCloudAiplatformV1TrialParameter", +"properties": { +"parameterId": { +"description": "Output only. The ID of the parameter. The parameter should be defined in StudySpec's Parameters.", +"readOnly": true, +"type": "string" +}, +"value": { +"description": "Output only. The value of the parameter. `number_value` will be set if a parameter defined in StudySpec is in type 'INTEGER', 'DOUBLE' or 'DISCRETE'. `string_value` will be set if a parameter defined in StudySpec is in type 'CATEGORICAL'.", +"readOnly": true, +"type": "any" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1TunedModel": { +"description": "The Model Registry Model and Online Prediction Endpoint associated with this TuningJob.", +"id": "GoogleCloudAiplatformV1TunedModel", +"properties": { +"checkpoints": { +"description": "Output only. The checkpoints associated with this TunedModel. This field is only populated for tuning jobs that enable intermediate checkpoints.", +"items": { +"$ref": "GoogleCloudAiplatformV1TunedModelCheckpoint" +}, +"readOnly": true, +"type": "array" +}, +"endpoint": { +"description": "Output only. A resource name of an Endpoint. Format: `projects/{project}/locations/{location}/endpoints/{endpoint}`.", +"readOnly": true, +"type": "string" +}, +"model": { +"description": "Output only. The resource name of the TunedModel. Format: `projects/{project}/locations/{location}/models/{model}@{version_id}` When tuning from a base model, the version ID will be 1. For continuous tuning, if the provided tuned_model_display_name is set and different from parent model's display name, the tuned model will have a new parent model with version 1. Otherwise the version id will be incremented by 1 from the last version ID in the parent model. E.g., `projects/{project}/locations/{location}/models/{model}@{last_version_id + 1}`", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1TunedModelCheckpoint": { +"description": "TunedModelCheckpoint for the Tuned Model of a Tuning Job.", +"id": "GoogleCloudAiplatformV1TunedModelCheckpoint", +"properties": { +"checkpointId": { +"description": "The ID of the checkpoint.", +"type": "string" +}, +"endpoint": { +"description": "The Endpoint resource name that the checkpoint is deployed to. Format: `projects/{project}/locations/{location}/endpoints/{endpoint}`.", +"type": "string" +}, +"epoch": { +"description": "The epoch of the checkpoint.", +"format": "int64", +"type": "string" +}, +"step": { +"description": "The step of the checkpoint.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1TunedModelRef": { +"description": "TunedModel Reference for legacy model migration.", +"id": "GoogleCloudAiplatformV1TunedModelRef", +"properties": { +"pipelineJob": { +"description": "Support migration from tuning job list page, from bison model to gemini model.", +"type": "string" +}, +"tunedModel": { +"description": "Support migration from model registry.", +"type": "string" +}, +"tuningJob": { +"description": "Support migration from tuning job list page, from gemini-1.0-pro-002 to 1.5 and above.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1TuningDataStats": { +"description": "The tuning data statistic values for TuningJob.", +"id": "GoogleCloudAiplatformV1TuningDataStats", +"properties": { +"preferenceOptimizationDataStats": { +"$ref": "GoogleCloudAiplatformV1PreferenceOptimizationDataStats", +"description": "Output only. Statistics for preference optimization.", +"readOnly": true +}, +"supervisedTuningDataStats": { +"$ref": "GoogleCloudAiplatformV1SupervisedTuningDataStats", +"description": "The SFT Tuning data stats." +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1TuningJob": { +"description": "Represents a TuningJob that runs with Google owned models.", +"id": "GoogleCloudAiplatformV1TuningJob", +"properties": { +"baseModel": { +"description": "The base model that is being tuned. See [Supported models](https://cloud.google.com/vertex-ai/generative-ai/docs/model-reference/tuning#supported_models).", +"type": "string" +}, +"createTime": { +"description": "Output only. Time when the TuningJob was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"description": { +"description": "Optional. The description of the TuningJob.", +"type": "string" +}, +"encryptionSpec": { +"$ref": "GoogleCloudAiplatformV1EncryptionSpec", +"description": "Customer-managed encryption key options for a TuningJob. If this is set, then all resources created by the TuningJob will be encrypted with the provided encryption key." +}, +"endTime": { +"description": "Output only. Time when the TuningJob entered any of the following JobStates: `JOB_STATE_SUCCEEDED`, `JOB_STATE_FAILED`, `JOB_STATE_CANCELLED`, `JOB_STATE_EXPIRED`.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"error": { +"$ref": "GoogleRpcStatus", +"description": "Output only. Only populated when job's state is `JOB_STATE_FAILED` or `JOB_STATE_CANCELLED`.", +"readOnly": true +}, +"experiment": { +"description": "Output only. The Experiment associated with this TuningJob.", +"readOnly": true, +"type": "string" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. The labels with user-defined metadata to organize TuningJob and generated resources such as Model and Endpoint. Label keys and values can be no longer than 64 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. See https://goo.gl/xmQnxf for more information and examples of labels.", +"type": "object" +}, +"name": { +"description": "Output only. Identifier. Resource name of a TuningJob. Format: `projects/{project}/locations/{location}/tuningJobs/{tuning_job}`", +"readOnly": true, +"type": "string" +}, +"preTunedModel": { +"$ref": "GoogleCloudAiplatformV1PreTunedModel", +"description": "The pre-tuned model for continuous tuning." +}, +"preferenceOptimizationSpec": { +"$ref": "GoogleCloudAiplatformV1PreferenceOptimizationSpec", +"description": "Tuning Spec for Preference Optimization." +}, +"serviceAccount": { +"description": "The service account that the tuningJob workload runs as. If not specified, the Vertex AI Secure Fine-Tuned Service Agent in the project will be used. See https://cloud.google.com/iam/docs/service-agents#vertex-ai-secure-fine-tuning-service-agent Users starting the pipeline must have the `iam.serviceAccounts.actAs` permission on this service account.", +"type": "string" +}, +"startTime": { +"description": "Output only. Time when the TuningJob for the first time entered the `JOB_STATE_RUNNING` state.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"state": { +"description": "Output only. The detailed state of the job.", +"enum": [ +"JOB_STATE_UNSPECIFIED", +"JOB_STATE_QUEUED", +"JOB_STATE_PENDING", +"JOB_STATE_RUNNING", +"JOB_STATE_SUCCEEDED", +"JOB_STATE_FAILED", +"JOB_STATE_CANCELLING", +"JOB_STATE_CANCELLED", +"JOB_STATE_PAUSED", +"JOB_STATE_EXPIRED", +"JOB_STATE_UPDATING", +"JOB_STATE_PARTIALLY_SUCCEEDED" +], +"enumDescriptions": [ +"The job state is unspecified.", +"The job has been just created or resumed and processing has not yet begun.", +"The service is preparing to run the job.", +"The job is in progress.", +"The job completed successfully.", +"The job failed.", +"The job is being cancelled. From this state the job may only go to either `JOB_STATE_SUCCEEDED`, `JOB_STATE_FAILED` or `JOB_STATE_CANCELLED`.", +"The job has been cancelled.", +"The job has been stopped, and can be resumed.", +"The job has expired.", +"The job is being updated. Only jobs in the `RUNNING` state can be updated. After updating, the job goes back to the `RUNNING` state.", +"The job is partially succeeded, some results may be missing due to errors." +], +"readOnly": true, +"type": "string" +}, +"supervisedTuningSpec": { +"$ref": "GoogleCloudAiplatformV1SupervisedTuningSpec", +"description": "Tuning Spec for Supervised Fine Tuning." +}, +"tunedModel": { +"$ref": "GoogleCloudAiplatformV1TunedModel", +"description": "Output only. The tuned model resources associated with this TuningJob.", +"readOnly": true +}, +"tunedModelDisplayName": { +"description": "Optional. The display name of the TunedModel. The name can be up to 128 characters long and can consist of any UTF-8 characters. For continuous tuning, tuned_model_display_name will by default use the same display name as the pre-tuned model. If a new display name is provided, the tuning job will create a new model instead of a new version.", +"type": "string" +}, +"tuningDataStats": { +"$ref": "GoogleCloudAiplatformV1TuningDataStats", +"description": "Output only. The tuning data statistics associated with this TuningJob.", +"readOnly": true +}, +"updateTime": { +"description": "Output only. Time when the TuningJob was most recently updated.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1UndeployIndexOperationMetadata": { +"description": "Runtime operation information for IndexEndpointService.UndeployIndex.", +"id": "GoogleCloudAiplatformV1UndeployIndexOperationMetadata", +"properties": { +"genericMetadata": { +"$ref": "GoogleCloudAiplatformV1GenericOperationMetadata", +"description": "The operation generic information." +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1UndeployIndexRequest": { +"description": "Request message for IndexEndpointService.UndeployIndex.", +"id": "GoogleCloudAiplatformV1UndeployIndexRequest", +"properties": { +"deployedIndexId": { +"description": "Required. The ID of the DeployedIndex to be undeployed from the IndexEndpoint.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1UndeployIndexResponse": { +"description": "Response message for IndexEndpointService.UndeployIndex.", +"id": "GoogleCloudAiplatformV1UndeployIndexResponse", +"properties": {}, +"type": "object" +}, +"GoogleCloudAiplatformV1UndeployModelOperationMetadata": { +"description": "Runtime operation information for EndpointService.UndeployModel.", +"id": "GoogleCloudAiplatformV1UndeployModelOperationMetadata", +"properties": { +"genericMetadata": { +"$ref": "GoogleCloudAiplatformV1GenericOperationMetadata", +"description": "The operation generic information." +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1UndeployModelRequest": { +"description": "Request message for EndpointService.UndeployModel.", +"id": "GoogleCloudAiplatformV1UndeployModelRequest", +"properties": { +"deployedModelId": { +"description": "Required. The ID of the DeployedModel to be undeployed from the Endpoint.", +"type": "string" +}, +"trafficSplit": { +"additionalProperties": { +"format": "int32", +"type": "integer" +}, +"description": "If this field is provided, then the Endpoint's traffic_split will be overwritten with it. If last DeployedModel is being undeployed from the Endpoint, the [Endpoint.traffic_split] will always end up empty when this call returns. A DeployedModel will be successfully undeployed only if it doesn't have any traffic assigned to it when this method executes, or if this field unassigns any traffic to it.", +"type": "object" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1UndeployModelResponse": { +"description": "Response message for EndpointService.UndeployModel.", +"id": "GoogleCloudAiplatformV1UndeployModelResponse", +"properties": {}, +"type": "object" +}, +"GoogleCloudAiplatformV1UnmanagedContainerModel": { +"description": "Contains model information necessary to perform batch prediction without requiring a full model import.", +"id": "GoogleCloudAiplatformV1UnmanagedContainerModel", +"properties": { +"artifactUri": { +"description": "The path to the directory containing the Model artifact and any of its supporting files.", +"type": "string" +}, +"containerSpec": { +"$ref": "GoogleCloudAiplatformV1ModelContainerSpec", +"description": "Input only. The specification of the container that is to be used when deploying this Model." +}, +"predictSchemata": { +"$ref": "GoogleCloudAiplatformV1PredictSchemata", +"description": "Contains the schemata used in Model's predictions and explanations" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1UpdateDeploymentResourcePoolOperationMetadata": { +"description": "Runtime operation information for UpdateDeploymentResourcePool method.", +"id": "GoogleCloudAiplatformV1UpdateDeploymentResourcePoolOperationMetadata", +"properties": { +"genericMetadata": { +"$ref": "GoogleCloudAiplatformV1GenericOperationMetadata", +"description": "The operation generic information." +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1UpdateEndpointLongRunningRequest": { +"description": "Request message for EndpointService.UpdateEndpointLongRunning.", +"id": "GoogleCloudAiplatformV1UpdateEndpointLongRunningRequest", +"properties": { +"endpoint": { +"$ref": "GoogleCloudAiplatformV1Endpoint", +"description": "Required. The Endpoint which replaces the resource on the server. Currently we only support updating the `client_connection_config` field, all the other fields' update will be blocked." +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1UpdateExplanationDatasetOperationMetadata": { +"description": "Runtime operation information for ModelService.UpdateExplanationDataset.", +"id": "GoogleCloudAiplatformV1UpdateExplanationDatasetOperationMetadata", +"properties": { +"genericMetadata": { +"$ref": "GoogleCloudAiplatformV1GenericOperationMetadata", +"description": "The common part of the operation metadata." +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1UpdateExplanationDatasetRequest": { +"description": "Request message for ModelService.UpdateExplanationDataset.", +"id": "GoogleCloudAiplatformV1UpdateExplanationDatasetRequest", +"properties": { +"examples": { +"$ref": "GoogleCloudAiplatformV1Examples", +"description": "The example config containing the location of the dataset." +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1UpdateExplanationDatasetResponse": { +"description": "Response message of ModelService.UpdateExplanationDataset operation.", +"id": "GoogleCloudAiplatformV1UpdateExplanationDatasetResponse", +"properties": {}, +"type": "object" +}, +"GoogleCloudAiplatformV1UpdateFeatureGroupOperationMetadata": { +"description": "Details of operations that perform update FeatureGroup.", +"id": "GoogleCloudAiplatformV1UpdateFeatureGroupOperationMetadata", +"properties": { +"genericMetadata": { +"$ref": "GoogleCloudAiplatformV1GenericOperationMetadata", +"description": "Operation metadata for FeatureGroup." +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1UpdateFeatureOnlineStoreOperationMetadata": { +"description": "Details of operations that perform update FeatureOnlineStore.", +"id": "GoogleCloudAiplatformV1UpdateFeatureOnlineStoreOperationMetadata", +"properties": { +"genericMetadata": { +"$ref": "GoogleCloudAiplatformV1GenericOperationMetadata", +"description": "Operation metadata for FeatureOnlineStore." +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1UpdateFeatureOperationMetadata": { +"description": "Details of operations that perform update Feature.", +"id": "GoogleCloudAiplatformV1UpdateFeatureOperationMetadata", +"properties": { +"genericMetadata": { +"$ref": "GoogleCloudAiplatformV1GenericOperationMetadata", +"description": "Operation metadata for Feature Update." +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1UpdateFeatureViewOperationMetadata": { +"description": "Details of operations that perform update FeatureView.", +"id": "GoogleCloudAiplatformV1UpdateFeatureViewOperationMetadata", +"properties": { +"genericMetadata": { +"$ref": "GoogleCloudAiplatformV1GenericOperationMetadata", +"description": "Operation metadata for FeatureView Update." +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1UpdateFeaturestoreOperationMetadata": { +"description": "Details of operations that perform update Featurestore.", +"id": "GoogleCloudAiplatformV1UpdateFeaturestoreOperationMetadata", +"properties": { +"genericMetadata": { +"$ref": "GoogleCloudAiplatformV1GenericOperationMetadata", +"description": "Operation metadata for Featurestore." +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1UpdateIndexOperationMetadata": { +"description": "Runtime operation information for IndexService.UpdateIndex.", +"id": "GoogleCloudAiplatformV1UpdateIndexOperationMetadata", +"properties": { +"genericMetadata": { +"$ref": "GoogleCloudAiplatformV1GenericOperationMetadata", +"description": "The operation generic information." +}, +"nearestNeighborSearchOperationMetadata": { +"$ref": "GoogleCloudAiplatformV1NearestNeighborSearchOperationMetadata", +"description": "The operation metadata with regard to Matching Engine Index operation." +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1UpdateModelDeploymentMonitoringJobOperationMetadata": { +"description": "Runtime operation information for JobService.UpdateModelDeploymentMonitoringJob.", +"id": "GoogleCloudAiplatformV1UpdateModelDeploymentMonitoringJobOperationMetadata", +"properties": { +"genericMetadata": { +"$ref": "GoogleCloudAiplatformV1GenericOperationMetadata", +"description": "The operation generic information." +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1UpdatePersistentResourceOperationMetadata": { +"description": "Details of operations that perform update PersistentResource.", +"id": "GoogleCloudAiplatformV1UpdatePersistentResourceOperationMetadata", +"properties": { +"genericMetadata": { +"$ref": "GoogleCloudAiplatformV1GenericOperationMetadata", +"description": "Operation metadata for PersistentResource." +}, +"progressMessage": { +"description": "Progress Message for Update LRO", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1UpdateSpecialistPoolOperationMetadata": { +"description": "Runtime operation metadata for SpecialistPoolService.UpdateSpecialistPool.", +"id": "GoogleCloudAiplatformV1UpdateSpecialistPoolOperationMetadata", +"properties": { +"genericMetadata": { +"$ref": "GoogleCloudAiplatformV1GenericOperationMetadata", +"description": "The operation generic information." +}, +"specialistPool": { +"description": "Output only. The name of the SpecialistPool to which the specialists are being added. Format: `projects/{project_id}/locations/{location_id}/specialistPools/{specialist_pool}`", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1UpdateTensorboardOperationMetadata": { +"description": "Details of operations that perform update Tensorboard.", +"id": "GoogleCloudAiplatformV1UpdateTensorboardOperationMetadata", +"properties": { +"genericMetadata": { +"$ref": "GoogleCloudAiplatformV1GenericOperationMetadata", +"description": "Operation metadata for Tensorboard." +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1UpgradeNotebookRuntimeOperationMetadata": { +"description": "Metadata information for NotebookService.UpgradeNotebookRuntime.", +"id": "GoogleCloudAiplatformV1UpgradeNotebookRuntimeOperationMetadata", +"properties": { +"genericMetadata": { +"$ref": "GoogleCloudAiplatformV1GenericOperationMetadata", +"description": "The operation generic information." +}, +"progressMessage": { +"description": "A human-readable message that shows the intermediate progress details of NotebookRuntime.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1UpgradeNotebookRuntimeRequest": { +"description": "Request message for NotebookService.UpgradeNotebookRuntime.", +"id": "GoogleCloudAiplatformV1UpgradeNotebookRuntimeRequest", +"properties": {}, +"type": "object" +}, +"GoogleCloudAiplatformV1UploadModelOperationMetadata": { +"description": "Details of ModelService.UploadModel operation.", +"id": "GoogleCloudAiplatformV1UploadModelOperationMetadata", +"properties": { +"genericMetadata": { +"$ref": "GoogleCloudAiplatformV1GenericOperationMetadata", +"description": "The common part of the operation metadata." +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1UploadModelRequest": { +"description": "Request message for ModelService.UploadModel.", +"id": "GoogleCloudAiplatformV1UploadModelRequest", +"properties": { +"model": { +"$ref": "GoogleCloudAiplatformV1Model", +"description": "Required. The Model to create." +}, +"modelId": { +"description": "Optional. The ID to use for the uploaded Model, which will become the final component of the model resource name. This value may be up to 63 characters, and valid characters are `[a-z0-9_-]`. The first character cannot be a number or hyphen.", +"type": "string" +}, +"parentModel": { +"description": "Optional. The resource name of the model into which to upload the version. Only specify this field when uploading a new version.", +"type": "string" +}, +"serviceAccount": { +"description": "Optional. The user-provided custom service account to use to do the model upload. If empty, [Vertex AI Service Agent](https://cloud.google.com/vertex-ai/docs/general/access-control#service-agents) will be used to access resources needed to upload the model. This account must belong to the target project where the model is uploaded to, i.e., the project specified in the `parent` field of this request and have necessary read permissions (to Google Cloud Storage, Artifact Registry, etc.).", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1UploadModelResponse": { +"description": "Response message of ModelService.UploadModel operation.", +"id": "GoogleCloudAiplatformV1UploadModelResponse", +"properties": { +"model": { +"description": "The name of the uploaded Model resource. Format: `projects/{project}/locations/{location}/models/{model}`", +"type": "string" +}, +"modelVersionId": { +"description": "Output only. The version ID of the model that is uploaded.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1UploadRagFileConfig": { +"description": "Config for uploading RagFile.", +"id": "GoogleCloudAiplatformV1UploadRagFileConfig", +"properties": { +"ragFileTransformationConfig": { +"$ref": "GoogleCloudAiplatformV1RagFileTransformationConfig", +"description": "Specifies the transformation config for RagFiles." +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1UploadRagFileRequest": { +"description": "Request message for VertexRagDataService.UploadRagFile.", +"id": "GoogleCloudAiplatformV1UploadRagFileRequest", +"properties": { +"ragFile": { +"$ref": "GoogleCloudAiplatformV1RagFile", +"description": "Required. The RagFile to upload." +}, +"uploadRagFileConfig": { +"$ref": "GoogleCloudAiplatformV1UploadRagFileConfig", +"description": "Required. The config for the RagFiles to be uploaded into the RagCorpus. VertexRagDataService.UploadRagFile." +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1UploadRagFileResponse": { +"description": "Response message for VertexRagDataService.UploadRagFile.", +"id": "GoogleCloudAiplatformV1UploadRagFileResponse", +"properties": { +"error": { +"$ref": "GoogleRpcStatus", +"description": "The error that occurred while processing the RagFile." +}, +"ragFile": { +"$ref": "GoogleCloudAiplatformV1RagFile", +"description": "The RagFile that had been uploaded into the RagCorpus." +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1UpsertDatapointsRequest": { +"description": "Request message for IndexService.UpsertDatapoints", +"id": "GoogleCloudAiplatformV1UpsertDatapointsRequest", +"properties": { +"datapoints": { +"description": "A list of datapoints to be created/updated.", +"items": { +"$ref": "GoogleCloudAiplatformV1IndexDatapoint" +}, +"type": "array" +}, +"updateMask": { +"description": "Optional. Update mask is used to specify the fields to be overwritten in the datapoints by the update. The fields specified in the update_mask are relative to each IndexDatapoint inside datapoints, not the full request. Updatable fields: * Use `all_restricts` to update both restricts and numeric_restricts.", +"format": "google-fieldmask", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1UpsertDatapointsResponse": { +"description": "Response message for IndexService.UpsertDatapoints", +"id": "GoogleCloudAiplatformV1UpsertDatapointsResponse", +"properties": {}, +"type": "object" +}, +"GoogleCloudAiplatformV1UrlContext": { +"description": "Tool to support URL context.", +"id": "GoogleCloudAiplatformV1UrlContext", +"properties": {}, +"type": "object" +}, +"GoogleCloudAiplatformV1UrlContextMetadata": { +"description": "Metadata returned when the model uses the `url_context` tool to get information from a user-provided URL.", +"id": "GoogleCloudAiplatformV1UrlContextMetadata", +"properties": { +"urlMetadata": { +"description": "Output only. A list of URL metadata, with one entry for each URL retrieved by the tool.", +"items": { +"$ref": "GoogleCloudAiplatformV1UrlMetadata" +}, +"readOnly": true, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1UrlMetadata": { +"description": "The metadata for a single URL retrieval.", +"id": "GoogleCloudAiplatformV1UrlMetadata", +"properties": { +"retrievedUrl": { +"description": "The URL retrieved by the tool.", +"type": "string" +}, +"urlRetrievalStatus": { +"description": "The status of the URL retrieval.", +"enum": [ +"URL_RETRIEVAL_STATUS_UNSPECIFIED", +"URL_RETRIEVAL_STATUS_SUCCESS", +"URL_RETRIEVAL_STATUS_ERROR" +], +"enumDescriptions": [ +"Default value. This value is unused.", +"The URL was retrieved successfully.", +"The URL retrieval failed." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1UsageMetadata": { +"description": "Usage metadata about the content generation request and response. This message provides a detailed breakdown of token usage and other relevant metrics.", +"id": "GoogleCloudAiplatformV1UsageMetadata", +"properties": { +"cacheTokensDetails": { +"description": "Output only. A detailed breakdown of the token count for each modality in the cached content.", +"items": { +"$ref": "GoogleCloudAiplatformV1ModalityTokenCount" +}, +"readOnly": true, +"type": "array" +}, +"cachedContentTokenCount": { +"description": "Output only. The number of tokens in the cached content that was used for this request.", +"format": "int32", +"readOnly": true, +"type": "integer" +}, +"candidatesTokenCount": { +"description": "The total number of tokens in the generated candidates.", +"format": "int32", +"type": "integer" +}, +"candidatesTokensDetails": { +"description": "Output only. A detailed breakdown of the token count for each modality in the generated candidates.", +"items": { +"$ref": "GoogleCloudAiplatformV1ModalityTokenCount" +}, +"readOnly": true, +"type": "array" +}, +"promptTokenCount": { +"description": "The total number of tokens in the prompt. This includes any text, images, or other media provided in the request. When `cached_content` is set, this also includes the number of tokens in the cached content.", +"format": "int32", +"type": "integer" +}, +"promptTokensDetails": { +"description": "Output only. A detailed breakdown of the token count for each modality in the prompt.", +"items": { +"$ref": "GoogleCloudAiplatformV1ModalityTokenCount" +}, +"readOnly": true, +"type": "array" +}, +"thoughtsTokenCount": { +"description": "Output only. The number of tokens that were part of the model's generated \"thoughts\" output, if applicable.", +"format": "int32", +"readOnly": true, +"type": "integer" +}, +"toolUsePromptTokenCount": { +"description": "Output only. The number of tokens in the results from tool executions, which are provided back to the model as input, if applicable.", +"format": "int32", +"readOnly": true, +"type": "integer" +}, +"toolUsePromptTokensDetails": { +"description": "Output only. A detailed breakdown by modality of the token counts from the results of tool executions, which are provided back to the model as input.", +"items": { +"$ref": "GoogleCloudAiplatformV1ModalityTokenCount" +}, +"readOnly": true, +"type": "array" +}, +"totalTokenCount": { +"description": "The total number of tokens for the entire request. This is the sum of `prompt_token_count`, `candidates_token_count`, `tool_use_prompt_token_count`, and `thoughts_token_count`.", +"format": "int32", +"type": "integer" +}, +"trafficType": { +"description": "Output only. The traffic type for this request.", +"enum": [ +"TRAFFIC_TYPE_UNSPECIFIED", +"ON_DEMAND", +"ON_DEMAND_PRIORITY", +"ON_DEMAND_FLEX", +"PROVISIONED_THROUGHPUT" +], +"enumDescriptions": [ +"Unspecified request traffic type.", +"Type for Pay-As-You-Go traffic.", +"Type for Priority Pay-As-You-Go traffic.", +"Type for Flex traffic.", +"Type for Provisioned Throughput traffic." +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1UserActionReference": { +"description": "References an API call. It contains more information about long running operation and Jobs that are triggered by the API call.", +"id": "GoogleCloudAiplatformV1UserActionReference", +"properties": { +"dataLabelingJob": { +"description": "For API calls that start a LabelingJob. Resource name of the LabelingJob. Format: `projects/{project}/locations/{location}/dataLabelingJobs/{data_labeling_job}`", +"type": "string" +}, +"method": { +"description": "The method name of the API RPC call. For example, \"/google.cloud.aiplatform.{apiVersion}.DatasetService.CreateDataset\"", +"type": "string" +}, +"operation": { +"description": "For API calls that return a long running operation. Resource name of the long running operation. Format: `projects/{project}/locations/{location}/operations/{operation}`", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1Value": { +"description": "Value is the value of the field.", +"id": "GoogleCloudAiplatformV1Value", +"properties": { +"doubleValue": { +"description": "A double value.", +"format": "double", +"type": "number" +}, +"intValue": { +"description": "An integer value.", +"format": "int64", +"type": "string" +}, +"stringValue": { +"description": "A string value.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1VertexAISearch": { +"description": "Retrieve from Vertex AI Search datastore or engine for grounding. datastore and engine are mutually exclusive. See https://cloud.google.com/products/agent-builder", +"id": "GoogleCloudAiplatformV1VertexAISearch", +"properties": { +"dataStoreSpecs": { +"description": "Specifications that define the specific DataStores to be searched, along with configurations for those data stores. This is only considered for Engines with multiple data stores. It should only be set if engine is used.", +"items": { +"$ref": "GoogleCloudAiplatformV1VertexAISearchDataStoreSpec" +}, +"type": "array" +}, +"datastore": { +"description": "Optional. Fully-qualified Vertex AI Search data store resource ID. Format: `projects/{project}/locations/{location}/collections/{collection}/dataStores/{dataStore}`", +"type": "string" +}, +"engine": { +"description": "Optional. Fully-qualified Vertex AI Search engine resource ID. Format: `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}`", +"type": "string" +}, +"filter": { +"description": "Optional. Filter strings to be passed to the search API.", +"type": "string" +}, +"maxResults": { +"description": "Optional. Number of search results to return per query. The default value is 10. The maximumm allowed value is 10.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1VertexAISearchDataStoreSpec": { +"description": "Define data stores within engine to filter on in a search call and configurations for those data stores. For more information, see https://cloud.google.com/generative-ai-app-builder/docs/reference/rpc/google.cloud.discoveryengine.v1#datastorespec", +"id": "GoogleCloudAiplatformV1VertexAISearchDataStoreSpec", +"properties": { +"dataStore": { +"description": "Full resource name of DataStore, such as Format: `projects/{project}/locations/{location}/collections/{collection}/dataStores/{dataStore}`", +"type": "string" +}, +"filter": { +"description": "Optional. Filter specification to filter documents in the data store specified by data_store field. For more information on filtering, see [Filtering](https://cloud.google.com/generative-ai-app-builder/docs/filter-search-metadata)", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1VertexAiSearchConfig": { +"description": "Config for the Vertex AI Search.", +"id": "GoogleCloudAiplatformV1VertexAiSearchConfig", +"properties": { +"servingConfig": { +"description": "Vertex AI Search Serving Config resource full name. For example, `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/servingConfigs/{serving_config}` or `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/servingConfigs/{serving_config}`.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1VertexMultimodalDatasetDestination": { +"description": "The details for a Vertex Multimodal Dataset output.", +"id": "GoogleCloudAiplatformV1VertexMultimodalDatasetDestination", +"properties": { +"bigqueryDestination": { +"$ref": "GoogleCloudAiplatformV1BigQueryDestination", +"description": "Optional. The destination of the underlying BigQuery table that will be created for the output Multimodal Dataset. If not specified, the BigQuery table will be created in a default BigQuery dataset." +}, +"displayName": { +"description": "Optional. Display name of the output dataset.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1VertexMultimodalDatasetSource": { +"description": "The Vertex Multimodal Dataset for the input content.", +"id": "GoogleCloudAiplatformV1VertexMultimodalDatasetSource", +"properties": { +"datasetName": { +"description": "Required. The resource name of the Vertex Dataset. Format: `projects/{project}/locations/{location}/datasets/{dataset}`", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1VertexRagStore": { +"description": "Retrieve from Vertex RAG Store for grounding.", +"id": "GoogleCloudAiplatformV1VertexRagStore", +"properties": { +"ragResources": { +"description": "Optional. The representation of the rag source. It can be used to specify corpus only or ragfiles. Currently only support one corpus or multiple files from one corpus. In the future we may open up multiple corpora support.", +"items": { +"$ref": "GoogleCloudAiplatformV1VertexRagStoreRagResource" +}, +"type": "array" +}, +"ragRetrievalConfig": { +"$ref": "GoogleCloudAiplatformV1RagRetrievalConfig", +"description": "Optional. The retrieval config for the Rag query." +}, +"similarityTopK": { +"deprecated": true, +"description": "Optional. Number of top k results to return from the selected corpora.", +"format": "int32", +"type": "integer" +}, +"vectorDistanceThreshold": { +"deprecated": true, +"description": "Optional. Only return results with vector distance smaller than the threshold.", +"format": "double", +"type": "number" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1VertexRagStoreRagResource": { +"description": "The definition of the Rag resource.", +"id": "GoogleCloudAiplatformV1VertexRagStoreRagResource", +"properties": { +"ragCorpus": { +"description": "Optional. RagCorpora resource name. Format: `projects/{project}/locations/{location}/ragCorpora/{rag_corpus}`", +"type": "string" +}, +"ragFileIds": { +"description": "Optional. rag_file_id. The files should be in the same rag_corpus set in rag_corpus field.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1VideoMetadata": { +"description": "Provides metadata for a video, including the start and end offsets for clipping and the frame rate.", +"id": "GoogleCloudAiplatformV1VideoMetadata", +"properties": { +"endOffset": { +"description": "Optional. The end offset of the video.", +"format": "google-duration", +"type": "string" +}, +"fps": { +"description": "Optional. The frame rate of the video sent to the model. If not specified, the default value is 1.0. The valid range is (0.0, 24.0].", +"format": "double", +"type": "number" +}, +"startOffset": { +"description": "Optional. The start offset of the video.", +"format": "google-duration", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1VoiceConfig": { +"description": "Configuration for a voice.", +"id": "GoogleCloudAiplatformV1VoiceConfig", +"properties": { +"prebuiltVoiceConfig": { +"$ref": "GoogleCloudAiplatformV1PrebuiltVoiceConfig", +"description": "The configuration for a prebuilt voice." +}, +"replicatedVoiceConfig": { +"$ref": "GoogleCloudAiplatformV1ReplicatedVoiceConfig", +"description": "Optional. The configuration for a replicated voice. This enables users to replicate a voice from an audio sample." +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1WorkerPoolSpec": { +"description": "Represents the spec of a worker pool in a job.", +"id": "GoogleCloudAiplatformV1WorkerPoolSpec", +"properties": { +"containerSpec": { +"$ref": "GoogleCloudAiplatformV1ContainerSpec", +"description": "The custom container task." +}, +"diskSpec": { +"$ref": "GoogleCloudAiplatformV1DiskSpec", +"description": "Disk spec." +}, +"lustreMounts": { +"description": "Optional. List of Lustre mounts.", +"items": { +"$ref": "GoogleCloudAiplatformV1LustreMount" +}, +"type": "array" +}, +"machineSpec": { +"$ref": "GoogleCloudAiplatformV1MachineSpec", +"description": "Optional. Immutable. The specification of a single machine." +}, +"nfsMounts": { +"description": "Optional. List of NFS mount spec.", +"items": { +"$ref": "GoogleCloudAiplatformV1NfsMount" +}, +"type": "array" +}, +"pythonPackageSpec": { +"$ref": "GoogleCloudAiplatformV1PythonPackageSpec", +"description": "The Python packaged task." +}, +"replicaCount": { +"description": "Optional. The number of worker replicas to use for this worker pool.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1WriteFeatureValuesPayload": { +"description": "Contains Feature values to be written for a specific entity.", +"id": "GoogleCloudAiplatformV1WriteFeatureValuesPayload", +"properties": { +"entityId": { +"description": "Required. The ID of the entity.", +"type": "string" +}, +"featureValues": { +"additionalProperties": { +"$ref": "GoogleCloudAiplatformV1FeatureValue" +}, +"description": "Required. Feature values to be written, mapping from Feature ID to value. Up to 100,000 `feature_values` entries may be written across all payloads. The feature generation time, aligned by days, must be no older than five years (1825 days) and no later than one year (366 days) in the future.", +"type": "object" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1WriteFeatureValuesRequest": { +"description": "Request message for FeaturestoreOnlineServingService.WriteFeatureValues.", +"id": "GoogleCloudAiplatformV1WriteFeatureValuesRequest", +"properties": { +"payloads": { +"description": "Required. The entities to be written. Up to 100,000 feature values can be written across all `payloads`.", +"items": { +"$ref": "GoogleCloudAiplatformV1WriteFeatureValuesPayload" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1WriteFeatureValuesResponse": { +"description": "Response message for FeaturestoreOnlineServingService.WriteFeatureValues.", +"id": "GoogleCloudAiplatformV1WriteFeatureValuesResponse", +"properties": {}, +"type": "object" +}, +"GoogleCloudAiplatformV1WriteTensorboardExperimentDataRequest": { +"description": "Request message for TensorboardService.WriteTensorboardExperimentData.", +"id": "GoogleCloudAiplatformV1WriteTensorboardExperimentDataRequest", +"properties": { +"writeRunDataRequests": { +"description": "Required. Requests containing per-run TensorboardTimeSeries data to write.", +"items": { +"$ref": "GoogleCloudAiplatformV1WriteTensorboardRunDataRequest" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1WriteTensorboardExperimentDataResponse": { +"description": "Response message for TensorboardService.WriteTensorboardExperimentData.", +"id": "GoogleCloudAiplatformV1WriteTensorboardExperimentDataResponse", +"properties": {}, +"type": "object" +}, +"GoogleCloudAiplatformV1WriteTensorboardRunDataRequest": { +"description": "Request message for TensorboardService.WriteTensorboardRunData.", +"id": "GoogleCloudAiplatformV1WriteTensorboardRunDataRequest", +"properties": { +"tensorboardRun": { +"description": "Required. The resource name of the TensorboardRun to write data to. Format: `projects/{project}/locations/{location}/tensorboards/{tensorboard}/experiments/{experiment}/runs/{run}`", +"type": "string" +}, +"timeSeriesData": { +"description": "Required. The TensorboardTimeSeries data to write. Values with in a time series are indexed by their step value. Repeated writes to the same step will overwrite the existing value for that step. The upper limit of data points per write request is 5000.", +"items": { +"$ref": "GoogleCloudAiplatformV1TimeSeriesData" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudAiplatformV1WriteTensorboardRunDataResponse": { +"description": "Response message for TensorboardService.WriteTensorboardRunData.", +"id": "GoogleCloudAiplatformV1WriteTensorboardRunDataResponse", +"properties": {}, +"type": "object" +}, +"GoogleCloudAiplatformV1XraiAttribution": { +"description": "An explanation method that redistributes Integrated Gradients attributions to segmented regions, taking advantage of the model's fully differentiable structure. Refer to this paper for more details: https://arxiv.org/abs/1906.02825 Supported only by image Models.", +"id": "GoogleCloudAiplatformV1XraiAttribution", +"properties": { +"blurBaselineConfig": { +"$ref": "GoogleCloudAiplatformV1BlurBaselineConfig", +"description": "Config for XRAI with blur baseline. When enabled, a linear path from the maximally blurred image to the input image is created. Using a blurred baseline instead of zero (black image) is motivated by the BlurIG approach explained here: https://arxiv.org/abs/2004.03383" +}, +"smoothGradConfig": { +"$ref": "GoogleCloudAiplatformV1SmoothGradConfig", +"description": "Config for SmoothGrad approximation of gradients. When enabled, the gradients are approximated by averaging the gradients from noisy samples in the vicinity of the inputs. Adding noise can help improve the computed gradients. Refer to this paper for more details: https://arxiv.org/pdf/1706.03825.pdf" +}, +"stepCount": { +"description": "Required. The number of steps for approximating the path integral. A good value to start is 50 and gradually increase until the sum to diff property is met within the desired error range. Valid range of its value is [1, 100], inclusively.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"GoogleCloudLocationListLocationsResponse": { +"description": "The response message for Locations.ListLocations.", +"id": "GoogleCloudLocationListLocationsResponse", +"properties": { +"locations": { +"description": "A list of locations that matches the specified filter in the request.", +"items": { +"$ref": "GoogleCloudLocationLocation" +}, +"type": "array" +}, +"nextPageToken": { +"description": "The standard List next-page token.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudLocationLocation": { +"description": "A resource that represents a Google Cloud location.", +"id": "GoogleCloudLocationLocation", +"properties": { +"displayName": { +"description": "The friendly name for this location, typically a nearby city name. For example, \"Tokyo\".", +"type": "string" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Cross-service attributes for the location. For example {\"cloud.googleapis.com/region\": \"us-east1\"}", +"type": "object" +}, +"locationId": { +"description": "The canonical id for this location. For example: `\"us-east1\"`.", +"type": "string" +}, +"metadata": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "Service-specific metadata. For example the available capacity at the given location.", +"type": "object" +}, +"name": { +"description": "Resource name for the location, which may vary between implementations. For example: `\"projects/example-project/locations/us-east1\"`", +"type": "string" +} +}, +"type": "object" +}, +"GoogleIamV1Binding": { +"description": "Associates `members`, or principals, with a `role`.", +"id": "GoogleIamV1Binding", +"properties": { +"condition": { +"$ref": "GoogleTypeExpr", +"description": "The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies)." +}, +"members": { +"description": "Specifies the principals requesting access for a Google Cloud resource. `members` can have the following values: * `allUsers`: A special identifier that represents anyone who is on the internet; with or without a Google account. * `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service account. Does not include identities that come from external identity providers (IdPs) through identity federation. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `group:{emailid}`: An email address that represents a Google group. For example, `admins@example.com`. * `domain:{domain}`: The G Suite domain (primary) that represents all the users of that domain. For example, `google.com` or `example.com`. * `principal://iam.googleapis.com/locations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}`: A single identity in a workforce identity pool. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/group/{group_id}`: All workforce identities in a group. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/attribute.{attribute_name}/{attribute_value}`: All workforce identities with a specific attribute value. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/*`: All identities in a workforce identity pool. * `principal://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/subject/{subject_attribute_value}`: A single identity in a workload identity pool. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/group/{group_id}`: A workload identity pool group. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/attribute.{attribute_name}/{attribute_value}`: All identities in a workload identity pool with a certain attribute. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/*`: All identities in a workload identity pool. * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a user that has been recently deleted. For example, `alice@example.com?uid=123456789012345678901`. If the user is recovered, this value reverts to `user:{emailid}` and the recovered user retains the role in the binding. * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a service account that has been recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the service account is undeleted, this value reverts to `serviceAccount:{emailid}` and the undeleted service account retains the role in the binding. * `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a Google group that has been recently deleted. For example, `admins@example.com?uid=123456789012345678901`. If the group is recovered, this value reverts to `group:{emailid}` and the recovered group retains the role in the binding. * `deleted:principal://iam.googleapis.com/locations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}`: Deleted single identity in a workforce identity pool. For example, `deleted:principal://iam.googleapis.com/locations/global/workforcePools/my-pool-id/subject/my-subject-attribute-value`.", +"items": { +"type": "string" +}, +"type": "array" +}, +"role": { +"description": "Role that is assigned to the list of `members`, or principals. For example, `roles/viewer`, `roles/editor`, or `roles/owner`. For an overview of the IAM roles and permissions, see the [IAM documentation](https://cloud.google.com/iam/docs/roles-overview). For a list of the available pre-defined roles, see [here](https://cloud.google.com/iam/docs/understanding-roles).", +"type": "string" +} +}, +"type": "object" +}, +"GoogleIamV1Policy": { +"description": "An Identity and Access Management (IAM) policy, which specifies access controls for Google Cloud resources. A `Policy` is a collection of `bindings`. A `binding` binds one or more `members`, or principals, to a single `role`. Principals can be user accounts, service accounts, Google groups, and domains (such as G Suite). A `role` is a named list of permissions; each `role` can be an IAM predefined role or a user-created custom role. For some types of Google Cloud resources, a `binding` can also specify a `condition`, which is a logical expression that allows access to a resource only if the expression evaluates to `true`. A condition can add constraints based on attributes of the request, the resource, or both. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). **JSON example:** ``` { \"bindings\": [ { \"role\": \"roles/resourcemanager.organizationAdmin\", \"members\": [ \"user:mike@example.com\", \"group:admins@example.com\", \"domain:google.com\", \"serviceAccount:my-project-id@appspot.gserviceaccount.com\" ] }, { \"role\": \"roles/resourcemanager.organizationViewer\", \"members\": [ \"user:eve@example.com\" ], \"condition\": { \"title\": \"expirable access\", \"description\": \"Does not grant access after Sep 2020\", \"expression\": \"request.time < timestamp('2020-10-01T00:00:00.000Z')\", } } ], \"etag\": \"BwWWja0YfJA=\", \"version\": 3 } ``` **YAML example:** ``` bindings: - members: - user:mike@example.com - group:admins@example.com - domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.com role: roles/resourcemanager.organizationViewer condition: title: expirable access description: Does not grant access after Sep 2020 expression: request.time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 ``` For a description of IAM and its features, see the [IAM documentation](https://cloud.google.com/iam/docs/).", +"id": "GoogleIamV1Policy", +"properties": { +"bindings": { +"description": "Associates a list of `members`, or principals, with a `role`. Optionally, may specify a `condition` that determines how and when the `bindings` are applied. Each of the `bindings` must contain at least one principal. The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250 of these principals can be Google groups. Each occurrence of a principal counts towards these limits. For example, if the `bindings` grant 50 different roles to `user:alice@example.com`, and not to any other principal, then you can add another 1,450 principals to the `bindings` in the `Policy`.", +"items": { +"$ref": "GoogleIamV1Binding" +}, +"type": "array" +}, +"etag": { +"description": "`etag` is used for optimistic concurrency control as a way to help prevent simultaneous updates of a policy from overwriting each other. It is strongly suggested that systems make use of the `etag` in the read-modify-write cycle to perform policy updates in order to avoid race conditions: An `etag` is returned in the response to `getIamPolicy`, and systems are expected to put that etag in the request to `setIamPolicy` to ensure that their change will be applied to the same version of the policy. **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost.", +"format": "byte", +"type": "string" +}, +"version": { +"description": "Specifies the format of the policy. Valid values are `0`, `1`, and `3`. Requests that specify an invalid value are rejected. Any operation that affects conditional role bindings must specify version `3`. This requirement applies to the following operations: * Getting a policy that includes a conditional role binding * Adding a conditional role binding to a policy * Changing a conditional role binding in a policy * Removing any role binding, with or without a condition, from a policy that includes conditions **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost. If a policy does not include any conditions, operations on that policy may specify any valid version or leave the field unset. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"GoogleIamV1SetIamPolicyRequest": { +"description": "Request message for `SetIamPolicy` method.", +"id": "GoogleIamV1SetIamPolicyRequest", +"properties": { +"policy": { +"$ref": "GoogleIamV1Policy", +"description": "REQUIRED: The complete policy to be applied to the `resource`. The size of the policy is limited to a few 10s of KB. An empty policy is a valid policy but certain Google Cloud services (such as Projects) might reject them." +} +}, +"type": "object" +}, +"GoogleIamV1TestIamPermissionsResponse": { +"description": "Response message for `TestIamPermissions` method.", +"id": "GoogleIamV1TestIamPermissionsResponse", +"properties": { +"permissions": { +"description": "A subset of `TestPermissionsRequest.permissions` that the caller is allowed.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleLongrunningListOperationsResponse": { +"description": "The response message for Operations.ListOperations.", +"id": "GoogleLongrunningListOperationsResponse", +"properties": { +"nextPageToken": { +"description": "The standard List next-page token.", +"type": "string" +}, +"operations": { +"description": "A list of operations that matches the specified filter in the request.", +"items": { +"$ref": "GoogleLongrunningOperation" +}, +"type": "array" +}, +"unreachable": { +"description": "Unordered list. Unreachable resources. Populated when the request sets `ListOperationsRequest.return_partial_success` and reads across collections. For example, when attempting to list all resources across all supported locations.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleLongrunningOperation": { +"description": "This resource represents a long-running operation that is the result of a network API call.", +"id": "GoogleLongrunningOperation", +"properties": { +"done": { +"description": "If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.", +"type": "boolean" +}, +"error": { +"$ref": "GoogleRpcStatus", +"description": "The error result of the operation in case of failure or cancellation." +}, +"metadata": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.", +"type": "object" +}, +"name": { +"description": "The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.", +"type": "string" +}, +"response": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "The normal, successful response of the operation. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.", +"type": "object" +} +}, +"type": "object" +}, +"GoogleProtobufEmpty": { +"description": "A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }", +"id": "GoogleProtobufEmpty", +"properties": {}, +"type": "object" +}, +"GoogleRpcStatus": { +"description": "The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors).", +"id": "GoogleRpcStatus", +"properties": { +"code": { +"description": "The status code, which should be an enum value of google.rpc.Code.", +"format": "int32", +"type": "integer" +}, +"details": { +"description": "A list of messages that carry the error details. There is a common set of message types for APIs to use.", +"items": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleTypeColor": { +"description": "Represents a color in the RGBA color space. This representation is designed for simplicity of conversion to and from color representations in various languages over compactness. For example, the fields of this representation can be trivially provided to the constructor of `java.awt.Color` in Java; it can also be trivially provided to UIColor's `+colorWithRed:green:blue:alpha` method in iOS; and, with just a little work, it can be easily formatted into a CSS `rgba()` string in JavaScript. This reference page doesn't have information about the absolute color space that should be used to interpret the RGB value\u2014for example, sRGB, Adobe RGB, DCI-P3, and BT.2020. By default, applications should assume the sRGB color space. When color equality needs to be decided, implementations, unless documented otherwise, treat two colors as equal if all their red, green, blue, and alpha values each differ by at most `1e-5`. Example (Java): import com.google.type.Color; // ... public static java.awt.Color fromProto(Color protocolor) { float alpha = protocolor.hasAlpha() ? protocolor.getAlpha().getValue() : 1.0; return new java.awt.Color( protocolor.getRed(), protocolor.getGreen(), protocolor.getBlue(), alpha); } public static Color toProto(java.awt.Color color) { float red = (float) color.getRed(); float green = (float) color.getGreen(); float blue = (float) color.getBlue(); float denominator = 255.0; Color.Builder resultBuilder = Color .newBuilder() .setRed(red / denominator) .setGreen(green / denominator) .setBlue(blue / denominator); int alpha = color.getAlpha(); if (alpha != 255) { result.setAlpha( FloatValue .newBuilder() .setValue(((float) alpha) / denominator) .build()); } return resultBuilder.build(); } // ... Example (iOS / Obj-C): // ... static UIColor* fromProto(Color* protocolor) { float red = [protocolor red]; float green = [protocolor green]; float blue = [protocolor blue]; FloatValue* alpha_wrapper = [protocolor alpha]; float alpha = 1.0; if (alpha_wrapper != nil) { alpha = [alpha_wrapper value]; } return [UIColor colorWithRed:red green:green blue:blue alpha:alpha]; } static Color* toProto(UIColor* color) { CGFloat red, green, blue, alpha; if (![color getRed:&red green:&green blue:&blue alpha:&alpha]) { return nil; } Color* result = [[Color alloc] init]; [result setRed:red]; [result setGreen:green]; [result setBlue:blue]; if (alpha <= 0.9999) { [result setAlpha:floatWrapperWithValue(alpha)]; } [result autorelease]; return result; } // ... Example (JavaScript): // ... var protoToCssColor = function(rgb_color) { var redFrac = rgb_color.red || 0.0; var greenFrac = rgb_color.green || 0.0; var blueFrac = rgb_color.blue || 0.0; var red = Math.floor(redFrac * 255); var green = Math.floor(greenFrac * 255); var blue = Math.floor(blueFrac * 255); if (!('alpha' in rgb_color)) { return rgbToCssColor(red, green, blue); } var alphaFrac = rgb_color.alpha.value || 0.0; var rgbParams = [red, green, blue].join(','); return ['rgba(', rgbParams, ',', alphaFrac, ')'].join(''); }; var rgbToCssColor = function(red, green, blue) { var rgbNumber = new Number((red << 16) | (green << 8) | blue); var hexString = rgbNumber.toString(16); var missingZeros = 6 - hexString.length; var resultBuilder = ['#']; for (var i = 0; i < missingZeros; i++) { resultBuilder.push('0'); } resultBuilder.push(hexString); return resultBuilder.join(''); }; // ...", +"id": "GoogleTypeColor", +"properties": { +"alpha": { +"description": "The fraction of this color that should be applied to the pixel. That is, the final pixel color is defined by the equation: `pixel color = alpha * (this color) + (1.0 - alpha) * (background color)` This means that a value of 1.0 corresponds to a solid color, whereas a value of 0.0 corresponds to a completely transparent color. This uses a wrapper message rather than a simple float scalar so that it is possible to distinguish between a default value and the value being unset. If omitted, this color object is rendered as a solid color (as if the alpha value had been explicitly given a value of 1.0).", +"format": "float", +"type": "number" +}, +"blue": { +"description": "The amount of blue in the color as a value in the interval [0, 1].", +"format": "float", +"type": "number" +}, +"green": { +"description": "The amount of green in the color as a value in the interval [0, 1].", +"format": "float", +"type": "number" +}, +"red": { +"description": "The amount of red in the color as a value in the interval [0, 1].", +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"GoogleTypeDate": { +"description": "Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following: * A full date, with non-zero year, month, and day values. * A month and day, with a zero year (for example, an anniversary). * A year on its own, with a zero month and a zero day. * A year and month, with a zero day (for example, a credit card expiration date). Related types: * google.type.TimeOfDay * google.type.DateTime * google.protobuf.Timestamp", +"id": "GoogleTypeDate", +"properties": { +"day": { +"description": "Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn't significant.", +"format": "int32", +"type": "integer" +}, +"month": { +"description": "Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.", +"format": "int32", +"type": "integer" +}, +"year": { +"description": "Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"GoogleTypeExpr": { +"description": "Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: \"Summary size limit\" description: \"Determines if a summary is less than 100 chars\" expression: \"document.summary.size() < 100\" Example (Equality): title: \"Requestor is owner\" description: \"Determines if requestor is the document owner\" expression: \"document.owner == request.auth.claims.email\" Example (Logic): title: \"Public documents\" description: \"Determine whether the document should be publicly visible\" expression: \"document.type != 'private' && document.type != 'internal'\" Example (Data Manipulation): title: \"Notification string\" description: \"Create a notification string with a timestamp.\" expression: \"'New message received at ' + string(document.create_time)\" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information.", +"id": "GoogleTypeExpr", +"properties": { +"description": { +"description": "Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI.", +"type": "string" +}, +"expression": { +"description": "Textual representation of an expression in Common Expression Language syntax.", +"type": "string" +}, +"location": { +"description": "Optional. String indicating the location of the expression for error reporting, e.g. a file name and a position in the file.", +"type": "string" +}, +"title": { +"description": "Optional. Title for the expression, i.e. a short string describing its purpose. This can be used e.g. in UIs which allow to enter the expression.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleTypeInterval": { +"description": "Represents a time interval, encoded as a Timestamp start (inclusive) and a Timestamp end (exclusive). The start must be less than or equal to the end. When the start equals the end, the interval is empty (matches no time). When both start and end are unspecified, the interval matches any time.", +"id": "GoogleTypeInterval", +"properties": { +"endTime": { +"description": "Optional. Exclusive end of the interval. If specified, a Timestamp matching this interval will have to be before the end.", +"format": "google-datetime", +"type": "string" +}, +"startTime": { +"description": "Optional. Inclusive start of the interval. If specified, a Timestamp matching this interval will have to be the same or after the start.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"GoogleTypeLatLng": { +"description": "An object that represents a latitude/longitude pair. This is expressed as a pair of doubles to represent degrees latitude and degrees longitude. Unless specified otherwise, this object must conform to the WGS84 standard. Values must be within normalized ranges.", +"id": "GoogleTypeLatLng", +"properties": { +"latitude": { +"description": "The latitude in degrees. It must be in the range [-90.0, +90.0].", +"format": "double", +"type": "number" +}, +"longitude": { +"description": "The longitude in degrees. It must be in the range [-180.0, +180.0].", +"format": "double", +"type": "number" +} +}, +"type": "object" +}, +"GoogleTypeMoney": { +"description": "Represents an amount of money with its currency type.", +"id": "GoogleTypeMoney", +"properties": { +"currencyCode": { +"description": "The three-letter currency code defined in ISO 4217.", +"type": "string" +}, +"nanos": { +"description": "Number of nano (10^-9) units of the amount. The value must be between -999,999,999 and +999,999,999 inclusive. If `units` is positive, `nanos` must be positive or zero. If `units` is zero, `nanos` can be positive, zero, or negative. If `units` is negative, `nanos` must be negative or zero. For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000.", +"format": "int32", +"type": "integer" +}, +"units": { +"description": "The whole units of the amount. For example if `currencyCode` is `\"USD\"`, then 1 unit is one US dollar.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +} +}, +"servicePath": "", +"title": "Vertex AI API", +"version": "v1", +"version_module": true +} \ No newline at end of file diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/alertcenter.v1beta1.json b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/alertcenter.v1beta1.json new file mode 100644 index 0000000000000000000000000000000000000000..0b0232362849c54e78c96fe66f7009b52d558105 --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/alertcenter.v1beta1.json @@ -0,0 +1,2362 @@ +{ +"auth": { +"oauth2": { +"scopes": { +"https://www.googleapis.com/auth/apps.alerts": { +"description": "See and delete your domain's Google Workspace alerts, and send alert feedback" +} +} +} +}, +"basePath": "", +"baseUrl": "https://alertcenter.googleapis.com/", +"batchPath": "batch", +"canonicalName": "AlertCenter", +"description": "Manages alerts on issues affecting your domain. Note: The current version of this API (v1beta1) is available to all Google Workspace customers. ", +"discoveryVersion": "v1", +"documentationLink": "https://developers.google.com/workspace/admin/alertcenter/", +"fullyEncodeReservedExpansion": true, +"icons": { +"x16": "http://www.google.com/images/icons/product/search-16.gif", +"x32": "http://www.google.com/images/icons/product/search-32.gif" +}, +"id": "alertcenter:v1beta1", +"kind": "discovery#restDescription", +"mtlsRootUrl": "https://alertcenter.mtls.googleapis.com/", +"name": "alertcenter", +"ownerDomain": "google.com", +"ownerName": "Google", +"parameters": { +"$.xgafv": { +"description": "V1 error format.", +"enum": [ +"1", +"2" +], +"enumDescriptions": [ +"v1 error format", +"v2 error format" +], +"location": "query", +"type": "string" +}, +"access_token": { +"description": "OAuth access token.", +"location": "query", +"type": "string" +}, +"alt": { +"default": "json", +"description": "Data format for response.", +"enum": [ +"json", +"media", +"proto" +], +"enumDescriptions": [ +"Responses with Content-Type of application/json", +"Media download with context-dependent Content-Type", +"Responses with Content-Type of application/x-protobuf" +], +"location": "query", +"type": "string" +}, +"callback": { +"description": "JSONP", +"location": "query", +"type": "string" +}, +"fields": { +"description": "Selector specifying which fields to include in a partial response.", +"location": "query", +"type": "string" +}, +"key": { +"description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", +"location": "query", +"type": "string" +}, +"oauth_token": { +"description": "OAuth 2.0 token for the current user.", +"location": "query", +"type": "string" +}, +"prettyPrint": { +"default": "true", +"description": "Returns response with indentations and line breaks.", +"location": "query", +"type": "boolean" +}, +"quotaUser": { +"description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.", +"location": "query", +"type": "string" +}, +"uploadType": { +"description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", +"location": "query", +"type": "string" +}, +"upload_protocol": { +"description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", +"location": "query", +"type": "string" +} +}, +"protocol": "rest", +"resources": { +"alerts": { +"methods": { +"batchDelete": { +"description": "Performs batch delete operation on alerts.", +"flatPath": "v1beta1/alerts:batchDelete", +"httpMethod": "POST", +"id": "alertcenter.alerts.batchDelete", +"parameterOrder": [], +"parameters": {}, +"path": "v1beta1/alerts:batchDelete", +"request": { +"$ref": "BatchDeleteAlertsRequest" +}, +"response": { +"$ref": "BatchDeleteAlertsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/apps.alerts" +] +}, +"batchUndelete": { +"description": "Performs batch undelete operation on alerts.", +"flatPath": "v1beta1/alerts:batchUndelete", +"httpMethod": "POST", +"id": "alertcenter.alerts.batchUndelete", +"parameterOrder": [], +"parameters": {}, +"path": "v1beta1/alerts:batchUndelete", +"request": { +"$ref": "BatchUndeleteAlertsRequest" +}, +"response": { +"$ref": "BatchUndeleteAlertsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/apps.alerts" +] +}, +"delete": { +"description": "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.", +"flatPath": "v1beta1/alerts/{alertId}", +"httpMethod": "DELETE", +"id": "alertcenter.alerts.delete", +"parameterOrder": [ +"alertId" +], +"parameters": { +"alertId": { +"description": "Required. The identifier of the alert to delete.", +"location": "path", +"required": true, +"type": "string" +}, +"customerId": { +"description": "Optional. The unique identifier of the Google Workspace account of the customer the alert is associated with. The `customer_id` must have the initial \"C\" stripped (for example, `046psxkn`). Inferred from the caller identity if not provided. [Find your customer ID](https://support.google.com/cloudidentity/answer/10070793).", +"location": "query", +"type": "string" +} +}, +"path": "v1beta1/alerts/{alertId}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/apps.alerts" +] +}, +"get": { +"description": "Gets the specified alert. Attempting to get a nonexistent alert returns `NOT_FOUND` error.", +"flatPath": "v1beta1/alerts/{alertId}", +"httpMethod": "GET", +"id": "alertcenter.alerts.get", +"parameterOrder": [ +"alertId" +], +"parameters": { +"alertId": { +"description": "Required. The identifier of the alert to retrieve.", +"location": "path", +"required": true, +"type": "string" +}, +"customerId": { +"description": "Optional. The unique identifier of the Google Workspace account of the customer the alert is associated with. The `customer_id` must have the initial \"C\" stripped (for example, `046psxkn`). Inferred from the caller identity if not provided. [Find your customer ID](https://support.google.com/cloudidentity/answer/10070793).", +"location": "query", +"type": "string" +} +}, +"path": "v1beta1/alerts/{alertId}", +"response": { +"$ref": "Alert" +}, +"scopes": [ +"https://www.googleapis.com/auth/apps.alerts" +] +}, +"getMetadata": { +"description": "Returns the metadata of an alert. Attempting to get metadata for a non-existent alert returns `NOT_FOUND` error.", +"flatPath": "v1beta1/alerts/{alertId}/metadata", +"httpMethod": "GET", +"id": "alertcenter.alerts.getMetadata", +"parameterOrder": [ +"alertId" +], +"parameters": { +"alertId": { +"description": "Required. The identifier of the alert this metadata belongs to.", +"location": "path", +"required": true, +"type": "string" +}, +"customerId": { +"description": "Optional. The unique identifier of the Google Workspace account of the customer the alert metadata is associated with. The `customer_id` must have the initial \"C\" stripped (for example, `046psxkn`). Inferred from the caller identity if not provided. [Find your customer ID](https://support.google.com/cloudidentity/answer/10070793).", +"location": "query", +"type": "string" +} +}, +"path": "v1beta1/alerts/{alertId}/metadata", +"response": { +"$ref": "AlertMetadata" +}, +"scopes": [ +"https://www.googleapis.com/auth/apps.alerts" +] +}, +"list": { +"description": "Lists the alerts.", +"flatPath": "v1beta1/alerts", +"httpMethod": "GET", +"id": "alertcenter.alerts.list", +"parameterOrder": [], +"parameters": { +"customerId": { +"description": "Optional. The unique identifier of the Google Workspace account of the customer the alerts are associated with. The `customer_id` must have the initial \"C\" stripped (for example, `046psxkn`). Inferred from the caller identity if not provided. [Find your customer ID](https://support.google.com/cloudidentity/answer/10070793).", +"location": "query", +"type": "string" +}, +"filter": { +"description": "Optional. A query string for filtering alert results. For more details, see [Query filters](https://developers.google.com/workspace/admin/alertcenter/guides/query-filters) and [Supported query filter fields](https://developers.google.com/workspace/admin/alertcenter/reference/filter-fields#alerts.list).", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "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`", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Optional. The requested page size. Server may return fewer items than requested. If unspecified, server picks an appropriate default.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "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 field.", +"location": "query", +"type": "string" +} +}, +"path": "v1beta1/alerts", +"response": { +"$ref": "ListAlertsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/apps.alerts" +] +}, +"undelete": { +"description": "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.", +"flatPath": "v1beta1/alerts/{alertId}:undelete", +"httpMethod": "POST", +"id": "alertcenter.alerts.undelete", +"parameterOrder": [ +"alertId" +], +"parameters": { +"alertId": { +"description": "Required. The identifier of the alert to undelete.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/alerts/{alertId}:undelete", +"request": { +"$ref": "UndeleteAlertRequest" +}, +"response": { +"$ref": "Alert" +}, +"scopes": [ +"https://www.googleapis.com/auth/apps.alerts" +] +} +}, +"resources": { +"feedback": { +"methods": { +"create": { +"description": "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.", +"flatPath": "v1beta1/alerts/{alertId}/feedback", +"httpMethod": "POST", +"id": "alertcenter.alerts.feedback.create", +"parameterOrder": [ +"alertId" +], +"parameters": { +"alertId": { +"description": "Required. The identifier of the alert this feedback belongs to.", +"location": "path", +"required": true, +"type": "string" +}, +"customerId": { +"description": "Optional. The unique identifier of the Google Workspace account of the customer the alert is associated with. The `customer_id` must have the initial \"C\" stripped (for example, `046psxkn`). Inferred from the caller identity if not provided. [Find your customer ID](https://support.google.com/cloudidentity/answer/10070793).", +"location": "query", +"type": "string" +} +}, +"path": "v1beta1/alerts/{alertId}/feedback", +"request": { +"$ref": "AlertFeedback" +}, +"response": { +"$ref": "AlertFeedback" +}, +"scopes": [ +"https://www.googleapis.com/auth/apps.alerts" +] +}, +"list": { +"description": "Lists all the feedback for an alert. Attempting to list feedbacks for a non-existent alert returns `NOT_FOUND` error.", +"flatPath": "v1beta1/alerts/{alertId}/feedback", +"httpMethod": "GET", +"id": "alertcenter.alerts.feedback.list", +"parameterOrder": [ +"alertId" +], +"parameters": { +"alertId": { +"description": "Required. The alert identifier. The \"-\" wildcard could be used to represent all alerts.", +"location": "path", +"required": true, +"type": "string" +}, +"customerId": { +"description": "Optional. The unique identifier of the Google Workspace account of the customer the alert is associated with. The `customer_id` must have the initial \"C\" stripped (for example, `046psxkn`). Inferred from the caller identity if not provided. [Find your customer ID](https://support.google.com/cloudidentity/answer/10070793).", +"location": "query", +"type": "string" +}, +"filter": { +"description": "Optional. A query string for filtering alert feedback results. For more details, see [Query filters](https://developers.google.com/workspace/admin/alertcenter/guides/query-filters) and [Supported query filter fields](https://developers.google.com/workspace/admin/alertcenter/reference/filter-fields#alerts.feedback.list).", +"location": "query", +"type": "string" +} +}, +"path": "v1beta1/alerts/{alertId}/feedback", +"response": { +"$ref": "ListAlertFeedbackResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/apps.alerts" +] +} +} +} +} +}, +"v1beta1": { +"methods": { +"getSettings": { +"description": "Returns customer-level settings.", +"flatPath": "v1beta1/settings", +"httpMethod": "GET", +"id": "alertcenter.getSettings", +"parameterOrder": [], +"parameters": { +"customerId": { +"description": "Optional. The unique identifier of the Google Workspace account of the customer the alert settings are associated with. The `customer_id` must/ have the initial \"C\" stripped (for example, `046psxkn`). Inferred from the caller identity if not provided. [Find your customer ID](https://support.google.com/cloudidentity/answer/10070793).", +"location": "query", +"type": "string" +} +}, +"path": "v1beta1/settings", +"response": { +"$ref": "Settings" +}, +"scopes": [ +"https://www.googleapis.com/auth/apps.alerts" +] +}, +"updateSettings": { +"description": "Updates the customer-level settings.", +"flatPath": "v1beta1/settings", +"httpMethod": "PATCH", +"id": "alertcenter.updateSettings", +"parameterOrder": [], +"parameters": { +"customerId": { +"description": "Optional. The unique identifier of the Google Workspace account of the customer the alert settings are associated with. The `customer_id` must have the initial \"C\" stripped (for example, `046psxkn`). Inferred from the caller identity if not provided. [Find your customer ID](https://support.google.com/cloudidentity/answer/10070793).", +"location": "query", +"type": "string" +} +}, +"path": "v1beta1/settings", +"request": { +"$ref": "Settings" +}, +"response": { +"$ref": "Settings" +}, +"scopes": [ +"https://www.googleapis.com/auth/apps.alerts" +] +} +} +} +}, +"revision": "20251117", +"rootUrl": "https://alertcenter.googleapis.com/", +"schemas": { +"AbuseDetected": { +"description": "A generic alert for abusive user activity occurring with a customer.", +"id": "AbuseDetected", +"properties": { +"additionalDetails": { +"$ref": "EntityList", +"description": "List of abusive users/entities to be displayed in a table in the alert." +}, +"product": { +"description": "Product that the abuse is originating from.", +"type": "string" +}, +"subAlertId": { +"description": "Unique identifier of each sub alert that is onboarded.", +"type": "string" +}, +"variationType": { +"description": "Variation of AbuseDetected alerts. The variation_type determines the texts displayed the alert details. This differs from sub_alert_id because each sub alert can have multiple variation_types, representing different stages of the alert.", +"enum": [ +"ABUSE_DETECTED_VARIATION_TYPE_UNSPECIFIED", +"DRIVE_ABUSIVE_CONTENT", +"LIMITED_DISABLE" +], +"enumDescriptions": [ +"AbuseDetected alert variation type unspecified. No alert should be unspecified.", +"Variation displayed for Drive abusive content alerts.", +"Variation displayed for Limited Disable alerts, when a Google service is disabled for a user, totally or partially, due to the user's abusive behavior." +], +"type": "string" +} +}, +"type": "object" +}, +"AccessApproval": { +"description": "Alert that is triggered when Google support requests to access customer data.", +"id": "AccessApproval", +"properties": { +"justificationReason": { +"description": "Justification for data access based on justification enums.", +"items": { +"enum": [ +"JUSTIFICATION_UNSPECIFIED", +"CUSTOMER_INITIATED_SUPPORT", +"GOOGLE_INITIATED_REVIEW", +"GOOGLE_INITIATED_SERVICE", +"THIRD_PARTY_DATA_REQUEST", +"GOOGLE_RESPONSE_TO_PRODUCTION_ALERT" +], +"enumDescriptions": [ +"Justification unspecified", +"Customer Initiated Support", +"Google Initiated Review", +"Google Initiated Service", +"Third Party Data Request", +"Google Response to Production Alert" +], +"type": "string" +}, +"type": "array" +}, +"officeLocation": { +"description": "Office location of Google staff requesting access such as \"US\".", +"type": "string" +}, +"products": { +"description": "Products within scope of the Access Approvals request.", +"items": { +"type": "string" +}, +"type": "array" +}, +"requestId": { +"description": "ID of the Access Approvals request. This is a helpful field when requesting support from Google.", +"type": "string" +}, +"scope": { +"description": "Scope of access, also known as a resource. This is further narrowed down by the product field.", +"type": "string" +}, +"tickets": { +"description": "Support tickets related to this Access Approvals request. Populated if there is an associated case number.", +"items": { +"$ref": "SupportTicket" +}, +"type": "array" +} +}, +"type": "object" +}, +"AccountSuspensionDetails": { +"description": "Details about why an account is receiving an account suspension warning.", +"id": "AccountSuspensionDetails", +"properties": { +"abuseReason": { +"description": "The reason why this account is receiving an account suspension warning.", +"enum": [ +"ACCOUNT_SUSPENSION_ABUSE_REASON_UNSPECIFIED", +"TOS_VIOLATION", +"SPAM", +"PHISHING", +"TRAFFIC_PUMPING", +"FRAUD", +"NUMBER_HARVESTING", +"PAYMENTS_FRAUD", +"UNWANTED_CONTENT", +"UNQUALIFIED_EDU" +], +"enumDescriptions": [ +"Abuse reason is unspecified.", +"This account is being suspended for a Terms of Service violation.", +"This account is being suspended for spam.", +"This account is being suspended for phishing.", +"This account is being suspended for artificially boosting traffic to a website.", +"This account is being suspended for fraud.", +"This account is being suspended for number harvesting.", +"This account is being suspended for payments fraud.", +"This account is being suspended for unwanted content.", +"This account is being suspended for being an unqualified educational institution." +], +"type": "string" +}, +"productName": { +"description": "The name of the product being abused. This is restricted to only the following values: \"Gmail\" \"Google Workspace\" \"Payments\" \"Voice\" \"YouTube\" \"Other\"", +"type": "string" +} +}, +"type": "object" +}, +"AccountSuspensionWarning": { +"description": "A warning that the customer's account is about to be suspended.", +"id": "AccountSuspensionWarning", +"properties": { +"appealWindow": { +"description": "The amount of time remaining to appeal an imminent suspension. After this window has elapsed, the account will be suspended. Only populated if the account suspension is in WARNING state.", +"format": "google-duration", +"type": "string" +}, +"state": { +"description": "Account suspension warning state.", +"enum": [ +"ACCOUNT_SUSPENSION_WARNING_STATE_UNSPECIFIED", +"WARNING", +"SUSPENDED", +"APPEAL_APPROVED", +"APPEAL_SUBMITTED" +], +"enumDescriptions": [ +"State is unspecified.", +"Customer is receiving a warning about imminent suspension.", +"Customer is being notified that their account has been suspended.", +"Customer is being notified that their suspension appeal was approved.", +"Customer has submitted their appeal, which is pending review." +], +"type": "string" +}, +"suspensionDetails": { +"description": "Details about why an account is being suspended.", +"items": { +"$ref": "AccountSuspensionDetails" +}, +"type": "array" +} +}, +"type": "object" +}, +"AccountWarning": { +"description": "Alerts for user account warning events.", +"id": "AccountWarning", +"properties": { +"email": { +"description": "Required. The email of the user that this event belongs to.", +"type": "string" +}, +"loginDetails": { +"$ref": "LoginDetails", +"description": "Optional. Details of the login action associated with the warning event. This is only available for: * Suspicious login * Suspicious login (less secure app) * Suspicious programmatic login * User suspended (suspicious activity)" +} +}, +"type": "object" +}, +"ActionInfo": { +"description": "Metadata related to the action.", +"id": "ActionInfo", +"properties": {}, +"type": "object" +}, +"ActivityRule": { +"description": "Alerts from Google Workspace Security Center rules service configured by an admin.", +"id": "ActivityRule", +"properties": { +"actionNames": { +"description": "List of action names associated with the rule threshold.", +"items": { +"type": "string" +}, +"type": "array" +}, +"createTime": { +"description": "Rule create timestamp.", +"format": "google-datetime", +"type": "string" +}, +"description": { +"description": "Description of the rule.", +"type": "string" +}, +"displayName": { +"description": "Alert display name.", +"type": "string" +}, +"name": { +"description": "Rule name.", +"type": "string" +}, +"query": { +"description": "Query that is used to get the data from the associated source.", +"type": "string" +}, +"supersededAlerts": { +"description": "List of alert IDs superseded by this alert. It is used to indicate that this alert is essentially extension of superseded alerts and we found the relationship after creating these alerts.", +"items": { +"type": "string" +}, +"type": "array" +}, +"supersedingAlert": { +"description": "Alert ID superseding this alert. It is used to indicate that superseding alert is essentially extension of this alert and we found the relationship after creating both alerts.", +"type": "string" +}, +"threshold": { +"description": "Alert threshold is for example \u201cCOUNT > 5\u201d.", +"type": "string" +}, +"triggerSource": { +"description": "The trigger sources for this rule. * GMAIL_EVENTS * DEVICE_EVENTS * USER_EVENTS", +"type": "string" +}, +"updateTime": { +"description": "The timestamp of the last update to the rule.", +"format": "google-datetime", +"type": "string" +}, +"windowSize": { +"description": "Rule window size. Possible values are 1 hour or 24 hours.", +"format": "google-duration", +"type": "string" +} +}, +"type": "object" +}, +"Alert": { +"description": "An alert affecting a customer.", +"id": "Alert", +"properties": { +"alertId": { +"description": "Output only. The unique identifier for the alert.", +"type": "string" +}, +"createTime": { +"description": "Output only. The time this alert was created.", +"format": "google-datetime", +"type": "string" +}, +"customerId": { +"description": "Output only. The unique identifier of the Google Workspace account of the customer.", +"type": "string" +}, +"data": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "Optional. The data associated with this alert, for example google.apps.alertcenter.type.DeviceCompromised.", +"type": "object" +}, +"deleted": { +"description": "Output only. `True` if this alert is marked for deletion.", +"type": "boolean" +}, +"endTime": { +"description": "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.", +"format": "google-datetime", +"type": "string" +}, +"etag": { +"description": "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.", +"type": "string" +}, +"metadata": { +"$ref": "AlertMetadata", +"description": "Output only. The metadata associated with this alert." +}, +"securityInvestigationToolLink": { +"description": "Output only. An optional [Security Investigation Tool](https://support.google.com/a/answer/7575955) query for this alert.", +"type": "string" +}, +"source": { +"description": "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 * Data Loss Prevention * Domain wide takeout * State sponsored attack * Google identity * Apps outage", +"type": "string" +}, +"startTime": { +"description": "Required. The time the event that caused this alert was started or detected.", +"format": "google-datetime", +"type": "string" +}, +"type": { +"description": "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/workspace/admin/alertcenter/reference/alert-types).", +"type": "string" +}, +"updateTime": { +"description": "Output only. The time this alert was last updated.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"AlertFeedback": { +"description": "A customer feedback about an alert.", +"id": "AlertFeedback", +"properties": { +"alertId": { +"description": "Output only. The alert identifier.", +"type": "string" +}, +"createTime": { +"description": "Output only. The time this feedback was created.", +"format": "google-datetime", +"type": "string" +}, +"customerId": { +"description": "Output only. The unique identifier of the Google Workspace account of the customer.", +"type": "string" +}, +"email": { +"description": "Output only. The email of the user that provided the feedback.", +"type": "string" +}, +"feedbackId": { +"description": "Output only. The unique identifier for the feedback.", +"type": "string" +}, +"type": { +"description": "Required. The type of the feedback.", +"enum": [ +"ALERT_FEEDBACK_TYPE_UNSPECIFIED", +"NOT_USEFUL", +"SOMEWHAT_USEFUL", +"VERY_USEFUL" +], +"enumDescriptions": [ +"The feedback type is not specified.", +"The alert report is not useful.", +"The alert report is somewhat useful.", +"The alert report is very useful." +], +"type": "string" +} +}, +"type": "object" +}, +"AlertMetadata": { +"description": "An alert metadata.", +"id": "AlertMetadata", +"properties": { +"alertId": { +"description": "Output only. The alert identifier.", +"type": "string" +}, +"assignee": { +"description": "The email address of the user assigned to the alert.", +"type": "string" +}, +"customerId": { +"description": "Output only. The unique identifier of the Google Workspace account of the customer.", +"type": "string" +}, +"etag": { +"description": "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 metadata updates in order to avoid race conditions: An `etag` is returned in the response which contains alert metadata, and systems are expected to put that etag in the request to update alert metadata to ensure that their change will be applied to the 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.", +"type": "string" +}, +"severity": { +"description": "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", +"type": "string" +}, +"status": { +"description": "The current status of the alert. The supported values are the following: * NOT_STARTED * IN_PROGRESS * CLOSED", +"type": "string" +}, +"updateTime": { +"description": "Output only. The time this metadata was last updated.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"ApnsCertificateExpirationInfo": { +"description": "The explanation message associated with \"APNS certificate is expiring soon\" and \"APNS certificate has expired\" alerts.", +"id": "ApnsCertificateExpirationInfo", +"properties": { +"appleId": { +"description": "The Apple ID used to create the certificate. It may be blank if admins didn't enter it.", +"type": "string" +}, +"expirationTime": { +"description": "The expiration date of the APNS certificate.", +"format": "google-datetime", +"type": "string" +}, +"uid": { +"description": "The UID of the certificate.", +"type": "string" +} +}, +"type": "object" +}, +"AppMakerSqlSetupNotification": { +"description": "Alerts from App Maker to notify admins to set up default SQL instance.", +"id": "AppMakerSqlSetupNotification", +"properties": { +"requestInfo": { +"description": "List of applications with requests for default SQL set up.", +"items": { +"$ref": "RequestInfo" +}, +"type": "array" +} +}, +"type": "object" +}, +"AppSettingsChanged": { +"description": "Alerts from AppSettingsChanged bucket Rules configured by Admin which contain the following rules: - Calendar settings changed - Drive settings changed - Email settings changed - Mobile settings changed", +"id": "AppSettingsChanged", +"properties": { +"alertDetails": { +"description": "Any other associated alert details, for example, AlertConfiguration.", +"format": "byte", +"type": "string" +}, +"name": { +"description": "Rule name", +"type": "string" +} +}, +"type": "object" +}, +"AppsOutage": { +"description": "An outage incident reported for a Google Workspace service.", +"id": "AppsOutage", +"properties": { +"dashboardUri": { +"description": "Link to the outage event in Google Workspace Status Dashboard", +"type": "string" +}, +"incidentTrackingId": { +"description": "Incident tracking ID.", +"type": "string" +}, +"mergeInfo": { +"$ref": "MergeInfo", +"description": "Indicates new alert details under which the outage is communicated. Only populated when Status is MERGED." +}, +"nextUpdateTime": { +"description": "Timestamp by which the next update is expected to arrive.", +"format": "google-datetime", +"type": "string" +}, +"products": { +"description": "List of products impacted by the outage.", +"items": { +"type": "string" +}, +"type": "array" +}, +"resolutionTime": { +"description": "Timestamp when the outage is expected to be resolved, or has confirmed resolution. Provided only when known.", +"format": "google-datetime", +"type": "string" +}, +"status": { +"description": "Current outage status.", +"enum": [ +"STATUS_UNSPECIFIED", +"NEW", +"ONGOING", +"RESOLVED", +"FALSE_POSITIVE", +"PARTIALLY_RESOLVED", +"MERGED", +"DOWNGRADED" +], +"enumDescriptions": [ +"Status is unspecified.", +"The incident has just been reported.", +"The incident is ongoing.", +"The incident has been resolved.", +"Further assessment indicated no customer impact.", +"The incident has been partially resolved.", +"The incident was merged into a parent.", +"The incident has lower impact than initially anticipated." +], +"type": "string" +} +}, +"type": "object" +}, +"Attachment": { +"description": "Attachment with application-specific information about an alert.", +"id": "Attachment", +"properties": { +"csv": { +"$ref": "Csv", +"description": "A CSV file attachment." +} +}, +"type": "object" +}, +"BadWhitelist": { +"description": "Alert for setting the domain or IP that malicious email comes from as whitelisted domain or IP in Gmail advanced settings.", +"id": "BadWhitelist", +"properties": { +"domainId": { +"$ref": "DomainId", +"description": "The domain ID." +}, +"maliciousEntity": { +"$ref": "MaliciousEntity", +"description": "The entity whose actions triggered a Gmail phishing alert." +}, +"messages": { +"description": "The list of messages contained by this alert.", +"items": { +"$ref": "GmailMessageInfo" +}, +"type": "array" +}, +"sourceIp": { +"description": "The source IP address of the malicious email, for example, `127.0.0.1`.", +"type": "string" +} +}, +"type": "object" +}, +"BatchDeleteAlertsRequest": { +"description": "A request to perform batch delete on alerts.", +"id": "BatchDeleteAlertsRequest", +"properties": { +"alertId": { +"description": "Required. The list of alert IDs to delete.", +"items": { +"type": "string" +}, +"type": "array" +}, +"customerId": { +"description": "Optional. The unique identifier of the Google Workspace account of the customer the alerts are associated with. The `customer_id` must have the initial \"C\" stripped (for example, `046psxkn`). Inferred from the caller identity if not provided. [Find your customer ID](https://support.google.com/cloudidentity/answer/10070793).", +"type": "string" +} +}, +"type": "object" +}, +"BatchDeleteAlertsResponse": { +"description": "Response to batch delete operation on alerts.", +"id": "BatchDeleteAlertsResponse", +"properties": { +"failedAlertStatus": { +"additionalProperties": { +"$ref": "Status" +}, +"description": "The status details for each failed `alert_id`.", +"type": "object" +}, +"successAlertIds": { +"description": "The successful list of alert IDs.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"BatchUndeleteAlertsRequest": { +"description": "A request to perform batch undelete on alerts.", +"id": "BatchUndeleteAlertsRequest", +"properties": { +"alertId": { +"description": "Required. The list of alert IDs to undelete.", +"items": { +"type": "string" +}, +"type": "array" +}, +"customerId": { +"description": "Optional. The unique identifier of the Google Workspace account of the customer the alerts are associated with. The `customer_id` must have the initial \"C\" stripped (for example, `046psxkn`). Inferred from the caller identity if not provided. [Find your customer ID](https://support.google.com/cloudidentity/answer/10070793).", +"type": "string" +} +}, +"type": "object" +}, +"BatchUndeleteAlertsResponse": { +"description": "Response to batch undelete operation on alerts.", +"id": "BatchUndeleteAlertsResponse", +"properties": { +"failedAlertStatus": { +"additionalProperties": { +"$ref": "Status" +}, +"description": "The status details for each failed `alert_id`.", +"type": "object" +}, +"successAlertIds": { +"description": "The successful list of alert IDs.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"CloudPubsubTopic": { +"description": "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.", +"id": "CloudPubsubTopic", +"properties": { +"payloadFormat": { +"description": "Optional. The format of the payload that would be sent. If not specified the format will be JSON.", +"enum": [ +"PAYLOAD_FORMAT_UNSPECIFIED", +"JSON" +], +"enumDescriptions": [ +"Payload format is not specified (will use JSON as default).", +"Use JSON." +], +"type": "string" +}, +"topicName": { +"description": "The `name` field of a Cloud Pubsub [Topic] (https://cloud.google.com/pubsub/docs/reference/rest/v1/projects.topics#Topic).", +"type": "string" +} +}, +"type": "object" +}, +"Csv": { +"description": "A representation of a CSV file attachment, as a list of column headers and a list of data rows.", +"id": "Csv", +"properties": { +"dataRows": { +"description": "The list of data rows in a CSV file, as string arrays rather than as a single comma-separated string.", +"items": { +"$ref": "CsvRow" +}, +"type": "array" +}, +"headers": { +"description": "The list of headers for data columns in a CSV file.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"CsvRow": { +"description": "A representation of a single data row in a CSV file.", +"id": "CsvRow", +"properties": { +"entries": { +"description": "The data entries in a CSV file row, as a string array rather than a single comma-separated string.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"DeviceCompromised": { +"description": "A mobile device compromised alert. Derived from audit logs.", +"id": "DeviceCompromised", +"properties": { +"email": { +"description": "The email of the user this alert was created for.", +"type": "string" +}, +"events": { +"description": "Required. The list of security events.", +"items": { +"$ref": "DeviceCompromisedSecurityDetail" +}, +"type": "array" +} +}, +"type": "object" +}, +"DeviceCompromisedSecurityDetail": { +"description": "Detailed information of a single MDM device compromised event.", +"id": "DeviceCompromisedSecurityDetail", +"properties": { +"deviceCompromisedState": { +"description": "The device compromised state. Possible values are \"`Compromised`\" or \"`Not Compromised`\".", +"type": "string" +}, +"deviceId": { +"description": "Required. The device ID.", +"type": "string" +}, +"deviceModel": { +"description": "The model of the device.", +"type": "string" +}, +"deviceType": { +"description": "The type of the device.", +"type": "string" +}, +"iosVendorId": { +"description": "Required for iOS, empty for others.", +"type": "string" +}, +"resourceId": { +"description": "The device resource ID.", +"type": "string" +}, +"serialNumber": { +"description": "The serial number of the device.", +"type": "string" +} +}, +"type": "object" +}, +"DeviceManagementRule": { +"description": "Alerts from Device Management Rules configured by Admin.", +"id": "DeviceManagementRule", +"properties": { +"deviceId": { +"description": "Required. The device ID.", +"type": "string" +}, +"deviceModel": { +"description": "The model of the device.", +"type": "string" +}, +"deviceType": { +"description": "The type of the device.", +"type": "string" +}, +"email": { +"description": "The email of the user this alert was created for.", +"type": "string" +}, +"id": { +"description": "ID of the rule that triggered the alert", +"type": "string" +}, +"iosVendorId": { +"description": "Required for iOS, empty for others.", +"type": "string" +}, +"ownerId": { +"description": "Obfuscated ID of the owner of the device", +"type": "string" +}, +"resourceId": { +"description": "The device resource ID.", +"type": "string" +}, +"ruleAction": { +"description": "Action taken as result of the rule", +"type": "string" +}, +"serialNumber": { +"description": "The serial number of the device.", +"type": "string" +} +}, +"type": "object" +}, +"DlpRuleViolation": { +"description": "Alerts that get triggered on violations of Data Loss Prevention (DLP) rules.", +"id": "DlpRuleViolation", +"properties": { +"ruleViolationInfo": { +"$ref": "RuleViolationInfo", +"description": "Details about the violated DLP rule. Admins can use the predefined detectors provided by Google Cloud DLP https://cloud.google.com/dlp/ when setting up a DLP rule. Matched Cloud DLP detectors in this violation if any will be captured in the MatchInfo.predefined_detector." +} +}, +"type": "object" +}, +"DomainId": { +"description": "Domain ID of Gmail phishing alerts.", +"id": "DomainId", +"properties": { +"customerPrimaryDomain": { +"description": "The primary domain for the customer.", +"type": "string" +} +}, +"type": "object" +}, +"DomainWideTakeoutInitiated": { +"description": "A takeout operation for the entire domain was initiated by an admin. Derived from audit logs.", +"id": "DomainWideTakeoutInitiated", +"properties": { +"email": { +"description": "The email of the admin who initiated the takeout.", +"type": "string" +}, +"takeoutRequestId": { +"description": "The takeout request ID.", +"type": "string" +} +}, +"type": "object" +}, +"Empty": { +"description": "A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }", +"id": "Empty", +"properties": {}, +"type": "object" +}, +"Entity": { +"description": "Individual entity affected by, or related to, an alert.", +"id": "Entity", +"properties": { +"link": { +"description": "Link to a Security Investigation Tool search based on this entity, if available.", +"type": "string" +}, +"name": { +"description": "Human-readable name of this entity, such as an email address, file ID, or device name.", +"type": "string" +}, +"values": { +"description": "Extra values beyond name. The order of values should align with headers in EntityList.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"EntityList": { +"description": "EntityList stores entities in a format that can be translated to a table in the Alert Center UI.", +"id": "EntityList", +"properties": { +"entities": { +"description": "List of entities affected by the alert.", +"items": { +"$ref": "Entity" +}, +"type": "array" +}, +"headers": { +"description": "Headers of the values in entities. If no value is defined in Entity, this field should be empty.", +"items": { +"type": "string" +}, +"type": "array" +}, +"name": { +"description": "Name of the key detail used to display this entity list.", +"type": "string" +} +}, +"type": "object" +}, +"GmailMessageInfo": { +"description": "Details of a message in phishing spike alert.", +"id": "GmailMessageInfo", +"properties": { +"attachmentsSha256Hash": { +"description": "The `SHA256` hash of email's attachment and all MIME parts.", +"items": { +"type": "string" +}, +"type": "array" +}, +"date": { +"description": "The date of the event related to this email.", +"format": "google-datetime", +"type": "string" +}, +"md5HashMessageBody": { +"description": "The hash of the message body text.", +"type": "string" +}, +"md5HashSubject": { +"description": "The MD5 Hash of email's subject (only available for reported emails).", +"type": "string" +}, +"messageBodySnippet": { +"description": "The snippet of the message body text (only available for reported emails).", +"type": "string" +}, +"messageId": { +"description": "The message ID.", +"type": "string" +}, +"recipient": { +"description": "The recipient of this email.", +"type": "string" +}, +"sentTime": { +"description": "The sent time of the email.", +"format": "google-datetime", +"type": "string" +}, +"subjectText": { +"description": "The email subject text (only available for reported emails).", +"type": "string" +} +}, +"type": "object" +}, +"GoogleOperations": { +"description": "An incident reported by Google Operations for a Google Workspace application.", +"id": "GoogleOperations", +"properties": { +"affectedUserEmails": { +"description": "The list of emails which correspond to the users directly affected by the incident.", +"items": { +"type": "string" +}, +"type": "array" +}, +"attachmentData": { +"$ref": "Attachment", +"description": "Optional. Application-specific data for an incident, provided when the Google Workspace application which reported the incident cannot be completely restored to a valid state." +}, +"description": { +"description": "A detailed, freeform incident description.", +"type": "string" +}, +"domain": { +"description": "Customer domain for email template personalization.", +"type": "string" +}, +"header": { +"description": "A header to display above the incident message. Typically used to attach a localized notice on the timeline for followup comms translations.", +"type": "string" +}, +"title": { +"description": "A one-line incident description.", +"type": "string" +} +}, +"type": "object" +}, +"ListAlertFeedbackResponse": { +"description": "Response message for an alert feedback listing request.", +"id": "ListAlertFeedbackResponse", +"properties": { +"feedback": { +"description": "The list of alert feedback. Feedback entries for each alert are ordered by creation time descending.", +"items": { +"$ref": "AlertFeedback" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListAlertsResponse": { +"description": "Response message for an alert listing request.", +"id": "ListAlertsResponse", +"properties": { +"alerts": { +"description": "The list of alerts.", +"items": { +"$ref": "Alert" +}, +"type": "array" +}, +"nextPageToken": { +"description": "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 to get alerts continuing from last result of the current list call.", +"type": "string" +} +}, +"type": "object" +}, +"LoginDetails": { +"description": "The details of the login action.", +"id": "LoginDetails", +"properties": { +"ipAddress": { +"description": "Optional. The human-readable IP address (for example, `11.22.33.44`) that is associated with the warning event.", +"type": "string" +}, +"loginTime": { +"description": "Optional. The successful login time that is associated with the warning event. This isn't present for blocked login attempts.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"MailPhishing": { +"description": "Proto for all phishing alerts with common payload. Supported types are any of the following: * User reported phishing * User reported spam spike * Suspicious message reported * Phishing reclassification * Malware reclassification * Gmail potential employee spoofing", +"id": "MailPhishing", +"properties": { +"domainId": { +"$ref": "DomainId", +"description": "The domain ID." +}, +"isInternal": { +"description": "If `true`, the email originated from within the organization.", +"type": "boolean" +}, +"maliciousEntity": { +"$ref": "MaliciousEntity", +"description": "The entity whose actions triggered a Gmail phishing alert." +}, +"messages": { +"description": "The list of messages contained by this alert.", +"items": { +"$ref": "GmailMessageInfo" +}, +"type": "array" +}, +"systemActionType": { +"description": "System actions on the messages.", +"enum": [ +"SYSTEM_ACTION_TYPE_UNSPECIFIED", +"NO_OPERATION", +"REMOVED_FROM_INBOX" +], +"enumDescriptions": [ +"System action is unspecified.", +"No operation.", +"Messages were removed from the inbox." +], +"type": "string" +} +}, +"type": "object" +}, +"MaliciousEntity": { +"description": "Entity whose actions triggered a Gmail phishing alert.", +"id": "MaliciousEntity", +"properties": { +"displayName": { +"description": "The header from display name.", +"type": "string" +}, +"entity": { +"$ref": "User", +"description": "The actor who triggered a gmail phishing alert." +}, +"fromHeader": { +"description": "The sender email address.", +"type": "string" +} +}, +"type": "object" +}, +"MandatoryServiceAnnouncement": { +"description": "Alert Created by the MSA team for communications necessary for continued use of Google Workspace Products.", +"id": "MandatoryServiceAnnouncement", +"properties": { +"description": { +"description": "Detailed, freeform text describing the announcement", +"type": "string" +}, +"title": { +"description": "One line summary of the announcement", +"type": "string" +} +}, +"type": "object" +}, +"MatchInfo": { +"description": "Proto that contains match information from the condition part of the rule.", +"id": "MatchInfo", +"properties": { +"predefinedDetector": { +"$ref": "PredefinedDetectorInfo", +"description": "For matched detector predefined by Google." +}, +"userDefinedDetector": { +"$ref": "UserDefinedDetectorInfo", +"description": "For matched detector defined by administrators." +} +}, +"type": "object" +}, +"MergeInfo": { +"description": "New alert tracking numbers.", +"id": "MergeInfo", +"properties": { +"newAlertId": { +"description": "Optional. New alert ID. Reference the [google.apps.alertcenter.Alert] with this ID for the current state.", +"type": "string" +}, +"newIncidentTrackingId": { +"description": "The new tracking ID from the parent incident.", +"type": "string" +} +}, +"type": "object" +}, +"Notification": { +"description": "Settings for callback notifications. For more details see [Google Workspace Alert Notification](https://developers.google.com/workspace/admin/alertcenter/guides/notifications).", +"id": "Notification", +"properties": { +"cloudPubsubTopic": { +"$ref": "CloudPubsubTopic", +"description": "A Google Cloud Pub/sub topic destination." +} +}, +"type": "object" +}, +"PhishingSpike": { +"description": "Alert for a spike in user reported phishing. *Warning*: This type has been deprecated. Use [MailPhishing](https://developers.google.com/workspace/admin/alertcenter/reference/rest/v1beta1/MailPhishing) instead.", +"id": "PhishingSpike", +"properties": { +"domainId": { +"$ref": "DomainId", +"description": "The domain ID." +}, +"isInternal": { +"description": "If `true`, the email originated from within the organization.", +"type": "boolean" +}, +"maliciousEntity": { +"$ref": "MaliciousEntity", +"description": "The entity whose actions triggered a Gmail phishing alert." +}, +"messages": { +"description": "The list of messages contained by this alert.", +"items": { +"$ref": "GmailMessageInfo" +}, +"type": "array" +} +}, +"type": "object" +}, +"PredefinedDetectorInfo": { +"description": "Detector provided by Google.", +"id": "PredefinedDetectorInfo", +"properties": { +"detectorName": { +"description": "Name that uniquely identifies the detector.", +"type": "string" +} +}, +"type": "object" +}, +"PrimaryAdminChangedEvent": { +"description": "Event occurred when primary admin changed in customer's account. The event are being received from insight forwarder", +"id": "PrimaryAdminChangedEvent", +"properties": { +"domain": { +"description": "domain in which actioned occurred", +"type": "string" +}, +"previousAdminEmail": { +"description": "Email of person who was the primary admin before the action", +"type": "string" +}, +"updatedAdminEmail": { +"description": "Email of person who is the primary admin after the action", +"type": "string" +} +}, +"type": "object" +}, +"ReportingRule": { +"description": "Alerts from Reporting Rules configured by Admin.", +"id": "ReportingRule", +"properties": { +"alertDetails": { +"description": "Any other associated alert details, for example, AlertConfiguration.", +"format": "byte", +"type": "string" +}, +"name": { +"description": "Rule name", +"type": "string" +}, +"query": { +"description": "Alert Rule query Sample Query query { condition { filter { expected_application_id: 777491262838 expected_event_name: \"indexable_content_change\" filter_op: IN } } conjunction_operator: OR }", +"format": "byte", +"type": "string" +} +}, +"type": "object" +}, +"RequestInfo": { +"description": "Requests for one application that needs default SQL setup.", +"id": "RequestInfo", +"properties": { +"appDeveloperEmail": { +"description": "List of app developers who triggered notifications for above application.", +"items": { +"type": "string" +}, +"type": "array" +}, +"appKey": { +"description": "Required. The application that requires the SQL setup.", +"type": "string" +}, +"numberOfRequests": { +"description": "Required. Number of requests sent for this application to set up default SQL instance.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"ResourceInfo": { +"description": "Proto that contains resource information.", +"id": "ResourceInfo", +"properties": { +"chatAttachmentId": { +"description": "Chat attachment ID.", +"type": "string" +}, +"chatMessageId": { +"description": "Chat message ID.", +"type": "string" +}, +"deviceId": { +"description": "Id to identify a device. For example, for Android devices, this is the \"Android Device Id\" and for Chrome OS devices, it's the \"Device Virtual Id\".", +"type": "string" +}, +"documentId": { +"description": "Drive file ID.", +"type": "string" +}, +"messageId": { +"description": "RFC2822 message ID.", +"type": "string" +}, +"resourceTitle": { +"description": "Title of the resource, for example email subject, or document title.", +"type": "string" +} +}, +"type": "object" +}, +"RuleInfo": { +"description": "Proto that contains rule information.", +"id": "RuleInfo", +"properties": { +"displayName": { +"description": "User provided name of the rule.", +"type": "string" +}, +"resourceName": { +"description": "Resource name that uniquely identifies the rule.", +"type": "string" +} +}, +"type": "object" +}, +"RuleViolationInfo": { +"description": "Common alert information about violated rules that are configured by Google Workspace administrators.", +"id": "RuleViolationInfo", +"properties": { +"dataSource": { +"description": "Source of the data.", +"enum": [ +"DATA_SOURCE_UNSPECIFIED", +"DRIVE", +"CHROME", +"CHAT" +], +"enumDescriptions": [ +"Data source is unspecified.", +"Drive data source.", +"Chrome data source.", +"Chat data source." +], +"type": "string" +}, +"eventType": { +"description": "Event associated with this alert after applying the rule.", +"enum": [ +"EVENT_TYPE_UNSPECIFIED", +"ACCESS_BLOCKED", +"SHARING_BLOCKED" +], +"enumDescriptions": [ +"Event type wasn't set.", +"An access attempt was blocked.", +"A sharing attempt was blocked." +], +"type": "string" +}, +"matchInfo": { +"description": "List of matches that were found in the resource content.", +"items": { +"$ref": "MatchInfo" +}, +"type": "array" +}, +"recipients": { +"description": "Resource recipients. For Drive, they are grantees that the Drive file was shared with at the time of rule triggering. Valid values include user emails, group emails, domains, or 'anyone' if the file was publicly accessible. If the file was private the recipients list will be empty. For Gmail, they are emails of the users or groups that the Gmail message was sent to.", +"items": { +"type": "string" +}, +"type": "array" +}, +"resourceInfo": { +"$ref": "ResourceInfo", +"description": "Details of the resource which violated the rule." +}, +"ruleInfo": { +"$ref": "RuleInfo", +"description": "Details of the violated rule." +}, +"suppressedActionTypes": { +"description": "Actions suppressed due to other actions with higher priority.", +"items": { +"enum": [ +"ACTION_TYPE_UNSPECIFIED", +"DRIVE_BLOCK_EXTERNAL_SHARING", +"DRIVE_WARN_ON_EXTERNAL_SHARING", +"DRIVE_RESTRICT_DOWNLOAD_PRINT_COPY", +"DRIVE_APPLY_DRIVE_LABELS", +"CHROME_BLOCK_FILE_DOWNLOAD", +"CHROME_WARN_FILE_DOWNLOAD", +"CHROME_BLOCK_FILE_UPLOAD", +"CHROME_WARN_FILE_UPLOAD", +"CHROME_BLOCK_WEB_CONTENT_UPLOAD", +"CHROME_WARN_WEB_CONTENT_UPLOAD", +"CHROME_BLOCK_PAGE_PRINT", +"CHROME_WARN_PAGE_PRINT", +"CHROME_BLOCK_URL_VISITED", +"CHROME_WARN_URL_VISITED", +"CHROME_BLOCK_SCREENSHOT", +"CHROME_STORE_CONTENT", +"DELETE_WEBPROTECT_EVIDENCE", +"CHAT_BLOCK_CONTENT", +"CHAT_WARN_USER", +"ALERT", +"RULE_ACTIVATE", +"RULE_DEACTIVATE" +], +"enumDescriptions": [ +"Action type is unspecified.", +"Block sharing a file externally.", +"Show a warning message when sharing a file externally.", +"Disable download, print, and copy for commenters and viewers in drive.", +"Apply customer specified Drive labels to the file.", +"Chrome actions. Block file download.", +"Warn user about downloaded file.", +"Block file upload.", +"Warn user about uploaded file.", +"Block web content upload.", +"Warn user about uploaded web content.", +"Block page print.", +"Warn user about printed page.", +"Block Chrome URL visit.", +"Warn user about Chrome URL visited.", +"Block screenshot alert.", +"Store the content that violated the rule.", +"Delete web protect evidence file", +"Chat actions. Block Chat content to be sent out.", +"Warn end user about Chat content.", +"Send alert.", +"Activate Rule Action", +"Deactivate Rule Action" +], +"type": "string" +}, +"type": "array" +}, +"trigger": { +"description": "Trigger of the rule.", +"enum": [ +"TRIGGER_UNSPECIFIED", +"DRIVE_SHARE", +"CHROME_FILE_DOWNLOAD", +"CHROME_FILE_UPLOAD", +"CHROME_WEB_CONTENT_UPLOAD", +"CHAT_MESSAGE_SENT", +"CHAT_ATTACHMENT_UPLOADED", +"CHROME_PAGE_PRINT", +"CHROME_URL_VISITED" +], +"enumDescriptions": [ +"Trigger is unspecified.", +"A Drive file is shared.", +"A file being downloaded in a Chrome browser.", +"A file being uploaded from a Chrome browser.", +"Web content being uploaded from a Chrome browser.", +"A Chat message is sent.", +"A Chat attachment is uploaded.", +"A page is being printed by Chrome.", +"A URL is visited within Chrome." +], +"type": "string" +}, +"triggeredActionInfo": { +"description": "Metadata related to the triggered actions.", +"items": { +"$ref": "ActionInfo" +}, +"type": "array" +}, +"triggeredActionTypes": { +"description": "Actions applied as a consequence of the rule being triggered.", +"items": { +"enum": [ +"ACTION_TYPE_UNSPECIFIED", +"DRIVE_BLOCK_EXTERNAL_SHARING", +"DRIVE_WARN_ON_EXTERNAL_SHARING", +"DRIVE_RESTRICT_DOWNLOAD_PRINT_COPY", +"DRIVE_APPLY_DRIVE_LABELS", +"CHROME_BLOCK_FILE_DOWNLOAD", +"CHROME_WARN_FILE_DOWNLOAD", +"CHROME_BLOCK_FILE_UPLOAD", +"CHROME_WARN_FILE_UPLOAD", +"CHROME_BLOCK_WEB_CONTENT_UPLOAD", +"CHROME_WARN_WEB_CONTENT_UPLOAD", +"CHROME_BLOCK_PAGE_PRINT", +"CHROME_WARN_PAGE_PRINT", +"CHROME_BLOCK_URL_VISITED", +"CHROME_WARN_URL_VISITED", +"CHROME_BLOCK_SCREENSHOT", +"CHROME_STORE_CONTENT", +"DELETE_WEBPROTECT_EVIDENCE", +"CHAT_BLOCK_CONTENT", +"CHAT_WARN_USER", +"ALERT", +"RULE_ACTIVATE", +"RULE_DEACTIVATE" +], +"enumDescriptions": [ +"Action type is unspecified.", +"Block sharing a file externally.", +"Show a warning message when sharing a file externally.", +"Disable download, print, and copy for commenters and viewers in drive.", +"Apply customer specified Drive labels to the file.", +"Chrome actions. Block file download.", +"Warn user about downloaded file.", +"Block file upload.", +"Warn user about uploaded file.", +"Block web content upload.", +"Warn user about uploaded web content.", +"Block page print.", +"Warn user about printed page.", +"Block Chrome URL visit.", +"Warn user about Chrome URL visited.", +"Block screenshot alert.", +"Store the content that violated the rule.", +"Delete web protect evidence file", +"Chat actions. Block Chat content to be sent out.", +"Warn end user about Chat content.", +"Send alert.", +"Activate Rule Action", +"Deactivate Rule Action" +], +"type": "string" +}, +"type": "array" +}, +"triggeringUserEmail": { +"description": "Email of the user who caused the violation. Value could be empty if not applicable, for example, a violation found by drive continuous scan.", +"type": "string" +} +}, +"type": "object" +}, +"SSOProfileCreatedEvent": { +"description": "Event occurred when SSO Profile created in customer's account. The event are being received from insight forwarder", +"id": "SSOProfileCreatedEvent", +"properties": { +"inboundSsoProfileName": { +"description": "sso profile name which got created", +"type": "string" +} +}, +"type": "object" +}, +"SSOProfileDeletedEvent": { +"description": "Event occurred when SSO Profile deleted in customer's account. The event are being received from insight forwarder", +"id": "SSOProfileDeletedEvent", +"properties": { +"inboundSsoProfileName": { +"description": "sso profile name which got deleted", +"type": "string" +} +}, +"type": "object" +}, +"SSOProfileUpdatedEvent": { +"description": "Event occurred when SSO Profile updated in customer's account. The event are being received from insight forwarder", +"id": "SSOProfileUpdatedEvent", +"properties": { +"inboundSsoProfileChanges": { +"description": "changes made to sso profile", +"type": "string" +}, +"inboundSsoProfileName": { +"description": "sso profile name which got updated", +"type": "string" +} +}, +"type": "object" +}, +"SensitiveAdminAction": { +"description": "Alert that is triggered when Sensitive Admin Action occur in customer account.", +"id": "SensitiveAdminAction", +"properties": { +"actorEmail": { +"description": "Email of person who performed the action", +"type": "string" +}, +"eventTime": { +"description": "The time at which event occurred", +"format": "google-datetime", +"type": "string" +}, +"primaryAdminChangedEvent": { +"$ref": "PrimaryAdminChangedEvent", +"description": "Event occurred when primary admin changed in customer's account" +}, +"ssoProfileCreatedEvent": { +"$ref": "SSOProfileCreatedEvent", +"description": "Event occurred when SSO Profile created in customer's account" +}, +"ssoProfileDeletedEvent": { +"$ref": "SSOProfileDeletedEvent", +"description": "Event occurred when SSO Profile deleted in customer's account" +}, +"ssoProfileUpdatedEvent": { +"$ref": "SSOProfileUpdatedEvent", +"description": "Event occurred when SSO Profile updated in customer's account" +}, +"superAdminPasswordResetEvent": { +"$ref": "SuperAdminPasswordResetEvent", +"description": "Event occurred when password was reset for super admin in customer's account" +} +}, +"type": "object" +}, +"Settings": { +"description": "Customer-level settings.", +"id": "Settings", +"properties": { +"notifications": { +"description": "The list of notifications.", +"items": { +"$ref": "Notification" +}, +"type": "array" +} +}, +"type": "object" +}, +"StateSponsoredAttack": { +"description": "A state-sponsored attack alert. Derived from audit logs.", +"id": "StateSponsoredAttack", +"properties": { +"email": { +"description": "The email of the user this incident was created for.", +"type": "string" +} +}, +"type": "object" +}, +"Status": { +"description": "The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors).", +"id": "Status", +"properties": { +"code": { +"description": "The status code, which should be an enum value of google.rpc.Code.", +"format": "int32", +"type": "integer" +}, +"details": { +"description": "A list of messages that carry the error details. There is a common set of message types for APIs to use.", +"items": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.", +"type": "string" +} +}, +"type": "object" +}, +"SuperAdminPasswordResetEvent": { +"description": "Event occurred when password was reset for super admin in customer's account. The event are being received from insight forwarder", +"id": "SuperAdminPasswordResetEvent", +"properties": { +"userEmail": { +"description": "email of person whose password was reset", +"type": "string" +} +}, +"type": "object" +}, +"SupportTicket": { +"description": "Support ticket related to Access Approvals request", +"id": "SupportTicket", +"properties": { +"ticketId": { +"description": "Support ticket ID", +"type": "string" +}, +"ticketUrl": { +"description": "Link to support ticket", +"type": "string" +} +}, +"type": "object" +}, +"SuspiciousActivity": { +"description": "A mobile suspicious activity alert. Derived from audit logs.", +"id": "SuspiciousActivity", +"properties": { +"email": { +"description": "The email of the user this alert was created for.", +"type": "string" +}, +"events": { +"description": "Required. The list of security events.", +"items": { +"$ref": "SuspiciousActivitySecurityDetail" +}, +"type": "array" +} +}, +"type": "object" +}, +"SuspiciousActivitySecurityDetail": { +"description": "Detailed information of a single MDM suspicious activity event.", +"id": "SuspiciousActivitySecurityDetail", +"properties": { +"deviceId": { +"description": "Required. The device ID.", +"type": "string" +}, +"deviceModel": { +"description": "The model of the device.", +"type": "string" +}, +"deviceProperty": { +"description": "The device property which was changed.", +"type": "string" +}, +"deviceType": { +"description": "The type of the device.", +"type": "string" +}, +"iosVendorId": { +"description": "Required for iOS, empty for others.", +"type": "string" +}, +"newValue": { +"description": "The new value of the device property after the change.", +"type": "string" +}, +"oldValue": { +"description": "The old value of the device property before the change.", +"type": "string" +}, +"resourceId": { +"description": "The device resource ID.", +"type": "string" +}, +"serialNumber": { +"description": "The serial number of the device.", +"type": "string" +} +}, +"type": "object" +}, +"TransferError": { +"description": "Details for an invalid transfer or forward.", +"id": "TransferError", +"properties": { +"email": { +"description": "User's email address. This may be unavailable if the entity was deleted.", +"type": "string" +}, +"entityType": { +"description": "Type of entity being transferred to. For ring group members, this should always be USER.", +"enum": [ +"TRANSFER_ENTITY_TYPE_UNSPECIFIED", +"TRANSFER_AUTO_ATTENDANT", +"TRANSFER_RING_GROUP", +"TRANSFER_USER" +], +"enumDescriptions": [ +"Entity type wasn't set.", +"Transfer to auto attendant.", +"Transfer to ring group.", +"Transfer to user." +], +"type": "string" +}, +"id": { +"description": "Ring group or auto attendant ID. Not set for users.", +"type": "string" +}, +"invalidReason": { +"description": "Reason for the error.", +"enum": [ +"TRANSFER_INVALID_REASON_UNSPECIFIED", +"TRANSFER_TARGET_DELETED", +"UNLICENSED", +"SUSPENDED", +"NO_PHONE_NUMBER" +], +"enumDescriptions": [ +"Reason wasn't specified.", +"The transfer target can't be found\u2014most likely it was deleted.", +"The user's Google Voice license was removed.", +"The user's Google Workspace account was suspended.", +"The transfer target no longer has a phone number. This reason should become deprecated once we support numberless transfer." +], +"type": "string" +}, +"name": { +"description": "User's full name, or the ring group / auto attendant name. This may be unavailable if the entity was deleted.", +"type": "string" +} +}, +"type": "object" +}, +"TransferMisconfiguration": { +"description": "Error related to transferring or forwarding a phone call.", +"id": "TransferMisconfiguration", +"properties": { +"errors": { +"description": "Details for each invalid transfer or forward.", +"items": { +"$ref": "TransferError" +}, +"type": "array" +} +}, +"type": "object" +}, +"UndeleteAlertRequest": { +"description": "A request to undelete a specific alert that was marked for deletion.", +"id": "UndeleteAlertRequest", +"properties": { +"customerId": { +"description": "Optional. The unique identifier of the Google Workspace account of the customer the alert is associated with. The `customer_id` must have the initial \"C\" stripped (for example, `046psxkn`). Inferred from the caller identity if not provided. [Find your customer ID](https://support.google.com/cloudidentity/answer/10070793).", +"type": "string" +} +}, +"type": "object" +}, +"User": { +"description": "A user.", +"id": "User", +"properties": { +"displayName": { +"description": "Display name of the user.", +"type": "string" +}, +"emailAddress": { +"description": "Email address of the user.", +"type": "string" +} +}, +"type": "object" +}, +"UserChanges": { +"description": "Alerts from UserChanges bucket Rules for predefined rules which contain the following rules: - Suspended user made active - New user added - User suspended (by admin) - User granted admin privileges - User admin privileges revoked - User deleted - Users password changed", +"id": "UserChanges", +"properties": { +"name": { +"description": "Rule name", +"type": "string" +} +}, +"type": "object" +}, +"UserDefinedDetectorInfo": { +"description": "Detector defined by administrators.", +"id": "UserDefinedDetectorInfo", +"properties": { +"displayName": { +"description": "Display name of the detector.", +"type": "string" +}, +"resourceName": { +"description": "Resource name that uniquely identifies the detector.", +"type": "string" +} +}, +"type": "object" +}, +"VaultAcceleratedDeletion": { +"description": "Alert that is triggered when a Vault accelerated deletion request is created or canceled.", +"id": "VaultAcceleratedDeletion", +"properties": { +"actionType": { +"description": "The action can be one of create and cancel", +"enum": [ +"VAULT_ACCELERATED_DELETION_ACTION_TYPE_UNSPECIFIED", +"VAULT_ACCELERATED_DELETION_ACTION_TYPE_CREATE", +"VAULT_ACCELERATED_DELETION_ACTION_TYPE_CANCEL" +], +"enumDescriptions": [ +"Unspecified action type", +"AD Create action type", +"AD Cancel action type" +], +"type": "string" +}, +"appType": { +"description": "Currentlty only Gmail is supported as app type", +"enum": [ +"VAULT_ACCELERATED_DELETION_APP_TYPE_UNSPECIFIED", +"VAULT_ACCELERATED_DELETION_APP_TYPE_GMAIL" +], +"enumDescriptions": [ +"Unspecified app type", +"Gmail app type" +], +"type": "string" +}, +"createTime": { +"description": "The UTC timestamp of when the AD request was created", +"format": "google-datetime", +"type": "string" +}, +"deletionRequestId": { +"description": "Accelerated deletion request ID intended to be used to construct the Vault UI link to the AD request", +"type": "string" +}, +"matterId": { +"description": "Matter ID of the accelerated deletion request intended to be used to construct the Vault UI link to the AD request", +"type": "string" +} +}, +"type": "object" +}, +"VoiceMisconfiguration": { +"description": "An alert triggered when Google Voice configuration becomes invalid, generally due to an external entity being modified or deleted.", +"id": "VoiceMisconfiguration", +"properties": { +"entityName": { +"description": "Name of the entity whose configuration is now invalid.", +"type": "string" +}, +"entityType": { +"description": "Type of the entity whose configuration is now invalid.", +"enum": [ +"ENTITY_TYPE_UNSPECIFIED", +"AUTO_ATTENDANT", +"RING_GROUP" +], +"enumDescriptions": [ +"Entity type wasn't set.", +"Invalid auto attendant.", +"Invalid ring group." +], +"type": "string" +}, +"fixUri": { +"description": "Link that the admin can follow to fix the issue.", +"type": "string" +}, +"membersMisconfiguration": { +"$ref": "TransferMisconfiguration", +"description": "Issue(s) with members of a ring group." +}, +"transferMisconfiguration": { +"$ref": "TransferMisconfiguration", +"description": "Issue(s) with transferring or forwarding to an external entity." +}, +"voicemailMisconfiguration": { +"$ref": "VoicemailMisconfiguration", +"description": "Issue(s) with sending to voicemail." +} +}, +"type": "object" +}, +"VoicemailMisconfiguration": { +"description": "Issue(s) with sending to voicemail.", +"id": "VoicemailMisconfiguration", +"properties": { +"errors": { +"description": "Issue(s) with voicemail recipients.", +"items": { +"$ref": "VoicemailRecipientError" +}, +"type": "array" +} +}, +"type": "object" +}, +"VoicemailRecipientError": { +"description": "Issue(s) with a voicemail recipient.", +"id": "VoicemailRecipientError", +"properties": { +"email": { +"description": "Email address of the invalid recipient. This may be unavailable if the recipient was deleted.", +"type": "string" +}, +"invalidReason": { +"description": "Reason for the error.", +"enum": [ +"EMAIL_INVALID_REASON_UNSPECIFIED", +"OUT_OF_QUOTA", +"RECIPIENT_DELETED" +], +"enumDescriptions": [ +"Reason wasn't specified.", +"User can't receive emails due to insufficient quota.", +"All recipients were deleted." +], +"type": "string" +} +}, +"type": "object" +} +}, +"servicePath": "", +"title": "Google Workspace Alert Center API", +"version": "v1beta1", +"version_module": true +} \ No newline at end of file diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/alloydb.v1.json b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/alloydb.v1.json new file mode 100644 index 0000000000000000000000000000000000000000..38963fa7f4ae2a5f5dc25a05ea9c91d4d1079e5d --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/alloydb.v1.json @@ -0,0 +1,7029 @@ +{ +"auth": { +"oauth2": { +"scopes": { +"https://www.googleapis.com/auth/cloud-platform": { +"description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." +} +} +} +}, +"basePath": "", +"baseUrl": "https://alloydb.googleapis.com/", +"batchPath": "batch", +"canonicalName": "Cloud AlloyDB Admin", +"description": "AlloyDB for PostgreSQL is an open source-compatible database service that provides a powerful option for migrating, modernizing, or building commercial-grade applications. It offers full compatibility with standard PostgreSQL, and is more than 4x faster for transactional workloads and up to 100x faster for analytical queries than standard PostgreSQL in our performance tests. AlloyDB for PostgreSQL offers a 99.99 percent availability SLA inclusive of maintenance. AlloyDB is optimized for the most demanding use cases, allowing you to build new applications that require high transaction throughput, large database sizes, or multiple read resources; scale existing PostgreSQL workloads with no application changes; and modernize legacy proprietary databases. ", +"discoveryVersion": "v1", +"documentationLink": "https://cloud.google.com/alloydb/", +"endpoints": [ +{ +"description": "Regional Endpoint", +"endpointUrl": "https://alloydb.us-central2.rep.googleapis.com/", +"location": "us-central2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://alloydb.us-east7.rep.googleapis.com/", +"location": "us-east7" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://alloydb.northamerica-northeast1.rep.googleapis.com/", +"location": "northamerica-northeast1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://alloydb.northamerica-northeast2.rep.googleapis.com/", +"location": "northamerica-northeast2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://alloydb.northamerica-south1.rep.googleapis.com/", +"location": "northamerica-south1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://alloydb.southamerica-east1.rep.googleapis.com/", +"location": "southamerica-east1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://alloydb.southamerica-west1.rep.googleapis.com/", +"location": "southamerica-west1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://alloydb.us-central1.rep.googleapis.com/", +"location": "us-central1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://alloydb.us-east1.rep.googleapis.com/", +"location": "us-east1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://alloydb.us-east4.rep.googleapis.com/", +"location": "us-east4" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://alloydb.us-east5.rep.googleapis.com/", +"location": "us-east5" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://alloydb.us-south1.rep.googleapis.com/", +"location": "us-south1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://alloydb.us-west1.rep.googleapis.com/", +"location": "us-west1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://alloydb.us-west2.rep.googleapis.com/", +"location": "us-west2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://alloydb.us-west3.rep.googleapis.com/", +"location": "us-west3" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://alloydb.us-west4.rep.googleapis.com/", +"location": "us-west4" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://alloydb.europe-central2.rep.googleapis.com/", +"location": "europe-central2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://alloydb.europe-southwest1.rep.googleapis.com/", +"location": "europe-southwest1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://alloydb.europe-north1.rep.googleapis.com/", +"location": "europe-north1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://alloydb.europe-north2.rep.googleapis.com/", +"location": "europe-north2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://alloydb.europe-west1.rep.googleapis.com/", +"location": "europe-west1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://alloydb.europe-west2.rep.googleapis.com/", +"location": "europe-west2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://alloydb.europe-west3.rep.googleapis.com/", +"location": "europe-west3" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://alloydb.europe-west4.rep.googleapis.com/", +"location": "europe-west4" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://alloydb.europe-west6.rep.googleapis.com/", +"location": "europe-west6" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://alloydb.europe-west8.rep.googleapis.com/", +"location": "europe-west8" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://alloydb.europe-west9.rep.googleapis.com/", +"location": "europe-west9" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://alloydb.europe-west10.rep.googleapis.com/", +"location": "europe-west10" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://alloydb.europe-west12.rep.googleapis.com/", +"location": "europe-west12" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://alloydb.asia-east1.rep.googleapis.com/", +"location": "asia-east1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://alloydb.asia-east2.rep.googleapis.com/", +"location": "asia-east2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://alloydb.asia-northeast1.rep.googleapis.com/", +"location": "asia-northeast1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://alloydb.asia-northeast2.rep.googleapis.com/", +"location": "asia-northeast2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://alloydb.asia-northeast3.rep.googleapis.com/", +"location": "asia-northeast3" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://alloydb.asia-south1.rep.googleapis.com/", +"location": "asia-south1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://alloydb.asia-south2.rep.googleapis.com/", +"location": "asia-south2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://alloydb.asia-southeast1.rep.googleapis.com/", +"location": "asia-southeast1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://alloydb.asia-southeast2.rep.googleapis.com/", +"location": "asia-southeast2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://alloydb.australia-southeast1.rep.googleapis.com/", +"location": "australia-southeast1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://alloydb.australia-southeast2.rep.googleapis.com/", +"location": "australia-southeast2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://alloydb.me-central1.rep.googleapis.com/", +"location": "me-central1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://alloydb.me-central2.rep.googleapis.com/", +"location": "me-central2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://alloydb.me-west1.rep.googleapis.com/", +"location": "me-west1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://alloydb.africa-south1.rep.googleapis.com/", +"location": "africa-south1" +} +], +"fullyEncodeReservedExpansion": true, +"icons": { +"x16": "http://www.google.com/images/icons/product/search-16.gif", +"x32": "http://www.google.com/images/icons/product/search-32.gif" +}, +"id": "alloydb:v1", +"kind": "discovery#restDescription", +"mtlsRootUrl": "https://alloydb.mtls.googleapis.com/", +"name": "alloydb", +"ownerDomain": "google.com", +"ownerName": "Google", +"parameters": { +"$.xgafv": { +"description": "V1 error format.", +"enum": [ +"1", +"2" +], +"enumDescriptions": [ +"v1 error format", +"v2 error format" +], +"location": "query", +"type": "string" +}, +"access_token": { +"description": "OAuth access token.", +"location": "query", +"type": "string" +}, +"alt": { +"default": "json", +"description": "Data format for response.", +"enum": [ +"json", +"media", +"proto" +], +"enumDescriptions": [ +"Responses with Content-Type of application/json", +"Media download with context-dependent Content-Type", +"Responses with Content-Type of application/x-protobuf" +], +"location": "query", +"type": "string" +}, +"callback": { +"description": "JSONP", +"location": "query", +"type": "string" +}, +"fields": { +"description": "Selector specifying which fields to include in a partial response.", +"location": "query", +"type": "string" +}, +"key": { +"description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", +"location": "query", +"type": "string" +}, +"oauth_token": { +"description": "OAuth 2.0 token for the current user.", +"location": "query", +"type": "string" +}, +"prettyPrint": { +"default": "true", +"description": "Returns response with indentations and line breaks.", +"location": "query", +"type": "boolean" +}, +"quotaUser": { +"description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.", +"location": "query", +"type": "string" +}, +"uploadType": { +"description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", +"location": "query", +"type": "string" +}, +"upload_protocol": { +"description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", +"location": "query", +"type": "string" +} +}, +"protocol": "rest", +"resources": { +"projects": { +"resources": { +"locations": { +"methods": { +"get": { +"description": "Gets information about a location.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}", +"httpMethod": "GET", +"id": "alloydb.projects.locations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Resource name for the location.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleCloudLocationLocation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists information about the supported locations for this service. This method can be called in two ways: * **List all public locations:** Use the path `GET /v1/locations`. * **List project-visible locations:** Use the path `GET /v1/projects/{project_id}/locations`. This may include public locations as well as private or other locations specifically visible to the project.", +"flatPath": "v1/projects/{projectsId}/locations", +"httpMethod": "GET", +"id": "alloydb.projects.locations.list", +"parameterOrder": [ +"name" +], +"parameters": { +"extraLocationTypes": { +"description": "Optional. Do not use this field. It is unsupported and is ignored unless explicitly documented otherwise. This is primarily for internal usage.", +"location": "query", +"repeated": true, +"type": "string" +}, +"filter": { +"description": "A filter to narrow down results to a preferred subset. The filtering language accepts strings like `\"displayName=tokyo\"`, and is documented in more detail in [AIP-160](https://google.aip.dev/160).", +"location": "query", +"type": "string" +}, +"name": { +"description": "The resource that owns the locations collection, if applicable.", +"location": "path", +"pattern": "^projects/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The maximum number of results to return. If not set, the service selects a default.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A page token received from the `next_page_token` field in the response. Send that page token to receive the subsequent page.", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}/locations", +"response": { +"$ref": "GoogleCloudLocationListLocationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"backups": { +"methods": { +"create": { +"description": "Creates a new Backup in a given project and location.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/backups", +"httpMethod": "POST", +"id": "alloydb.projects.locations.backups.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"backupId": { +"description": "Required. ID of the requesting object.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. Value for parent.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server ignores the request if it has already been completed. The server guarantees that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if the original operation with the same request ID was received, and if so, ignores the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"validateOnly": { +"description": "Optional. If set, the backend validates the request, but doesn't actually execute it.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1/{+parent}/backups", +"request": { +"$ref": "Backup" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a single Backup.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/backups/{backupsId}", +"httpMethod": "DELETE", +"id": "alloydb.projects.locations.backups.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"etag": { +"description": "Optional. The current etag of the Backup. If an etag is provided and does not match the current etag of the Backup, deletion will be blocked and an ABORTED error will be returned.", +"location": "query", +"type": "string" +}, +"name": { +"description": "Required. Name of the resource. For the required format, see the comment on the Backup.name field.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/backups/[^/]+$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server ignores the request if it has already been completed. The server guarantees that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if the original operation with the same request ID was received, and if so, ignores the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"validateOnly": { +"description": "Optional. If set, the backend validates the request, but doesn't actually execute it.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets details of a single Backup.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/backups/{backupsId}", +"httpMethod": "GET", +"id": "alloydb.projects.locations.backups.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of the resource", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/backups/[^/]+$", +"required": true, +"type": "string" +}, +"view": { +"description": "Optional. The view of the backup to return.", +"enum": [ +"BACKUP_VIEW_UNSPECIFIED", +"BACKUP_VIEW_BASIC", +"BACKUP_VIEW_CLUSTER_DELETED" +], +"enumDescriptions": [ +"Value unspecified, equivalent to BASIC.", +"Responses include all fields that aren't explicitly gated behind another view.", +"Response include all the field from BASIC plus the field cluster_deleted, which specifies if the cluster corresponding to this backup is deleted." +], +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Backup" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists Backups in a given project and location.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/backups", +"httpMethod": "GET", +"id": "alloydb.projects.locations.backups.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Filtering results", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "Hint for how to order the results", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A token identifying a page of results the server should return.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. Parent value for ListBackupsRequest", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +}, +"view": { +"description": "Optional. The view of the backup to return.", +"enum": [ +"BACKUP_VIEW_UNSPECIFIED", +"BACKUP_VIEW_BASIC", +"BACKUP_VIEW_CLUSTER_DELETED" +], +"enumDescriptions": [ +"Value unspecified, equivalent to BASIC.", +"Responses include all fields that aren't explicitly gated behind another view.", +"Response include all the field from BASIC plus the field cluster_deleted, which specifies if the cluster corresponding to this backup is deleted." +], +"location": "query", +"type": "string" +} +}, +"path": "v1/{+parent}/backups", +"response": { +"$ref": "ListBackupsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates the parameters of a single Backup.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/backups/{backupsId}", +"httpMethod": "PATCH", +"id": "alloydb.projects.locations.backups.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"allowMissing": { +"description": "Optional. If set to true, update succeeds even if instance is not found. In that case, a new backup is created and `update_mask` is ignored.", +"location": "query", +"type": "boolean" +}, +"name": { +"description": "Output only. The name of the backup resource with the format: * projects/{project}/locations/{region}/backups/{backup_id} where the cluster and backup ID segments should satisfy the regex expression `[a-z]([a-z0-9-]{0,61}[a-z0-9])?`, e.g. 1-63 characters of lowercase letters, numbers, and dashes, starting with a letter, and ending with a letter or number. For more details see https://google.aip.dev/122. The prefix of the backup resource name is the name of the parent resource: * projects/{project}/locations/{region}", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/backups/[^/]+$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server ignores the request if it has already been completed. The server guarantees that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if the original operation with the same request ID was received, and if so, ignores the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"updateMask": { +"description": "Optional. Field mask is used to specify the fields to be overwritten in the Backup resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +}, +"validateOnly": { +"description": "Optional. If set, the backend validates the request, but doesn't actually execute it.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "Backup" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"clusters": { +"methods": { +"create": { +"description": "Creates a new Cluster in a given project and location.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/clusters", +"httpMethod": "POST", +"id": "alloydb.projects.locations.clusters.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"clusterId": { +"description": "Required. ID of the requesting object.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The location of the new cluster. For the required format, see the comment on the Cluster.name field.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server ignores the request if it has already been completed. The server guarantees that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if the original operation with the same request ID was received, and if so, ignores the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"validateOnly": { +"description": "Optional. If set, performs request validation, for example, permission checks and any other type of validation, but does not actually execute the create request.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1/{+parent}/clusters", +"request": { +"$ref": "Cluster" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"createsecondary": { +"description": "Creates a cluster of type SECONDARY in the given location using the primary cluster as the source.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/clusters:createsecondary", +"httpMethod": "POST", +"id": "alloydb.projects.locations.clusters.createsecondary", +"parameterOrder": [ +"parent" +], +"parameters": { +"clusterId": { +"description": "Required. ID of the requesting object (the secondary cluster).", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The location of the new cluster. For the required format, see the comment on the Cluster.name field.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server ignores the request if it has already been completed. The server guarantees that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if the original operation with the same request ID was received, and if so, ignores the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"validateOnly": { +"description": "Optional. If set, performs request validation, for example, permission checks and any other type of validation, but does not actually execute the create request.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1/{+parent}/clusters:createsecondary", +"request": { +"$ref": "Cluster" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a single Cluster.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/clusters/{clustersId}", +"httpMethod": "DELETE", +"id": "alloydb.projects.locations.clusters.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"etag": { +"description": "Optional. The current etag of the Cluster. If an etag is provided and does not match the current etag of the Cluster, deletion will be blocked and an ABORTED error will be returned.", +"location": "query", +"type": "string" +}, +"force": { +"description": "Optional. Whether to cascade delete child instances for given cluster.", +"location": "query", +"type": "boolean" +}, +"name": { +"description": "Required. The name of the resource. For the required format, see the comment on the Cluster.name field.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/clusters/[^/]+$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server ignores the request if it has already been completed. The server guarantees that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if the original operation with the same request ID was received, and if so, ignores the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"validateOnly": { +"description": "Optional. If set, performs request validation, for example, permission checks and any other type of validation, but does not actually execute the create request.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"export": { +"description": "Exports data from the cluster. Imperative only.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/clusters/{clustersId}:export", +"httpMethod": "POST", +"id": "alloydb.projects.locations.clusters.export", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the cluster.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/clusters/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:export", +"request": { +"$ref": "ExportClusterRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets details of a single Cluster.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/clusters/{clustersId}", +"httpMethod": "GET", +"id": "alloydb.projects.locations.clusters.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the resource. For the required format, see the comment on the Cluster.name field.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/clusters/[^/]+$", +"required": true, +"type": "string" +}, +"view": { +"description": "Optional. The view of the cluster to return. Returns all default fields if not set.", +"enum": [ +"CLUSTER_VIEW_UNSPECIFIED", +"CLUSTER_VIEW_BASIC", +"CLUSTER_VIEW_CONTINUOUS_BACKUP" +], +"enumDescriptions": [ +"CLUSTER_VIEW_UNSPECIFIED Not specified, equivalent to BASIC.", +"BASIC server responses include all the relevant cluster details, excluding Cluster.ContinuousBackupInfo.EarliestRestorableTime and other view-specific fields. The default value.", +"CONTINUOUS_BACKUP response returns all the fields from BASIC plus the earliest restorable time if continuous backups are enabled. May increase latency." +], +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Cluster" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"import": { +"description": "Imports data to the cluster. Imperative only.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/clusters/{clustersId}:import", +"httpMethod": "POST", +"id": "alloydb.projects.locations.clusters.import", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the cluster.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/clusters/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:import", +"request": { +"$ref": "ImportClusterRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists Clusters in a given project and location.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/clusters", +"httpMethod": "GET", +"id": "alloydb.projects.locations.clusters.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Optional. Filtering results", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "Optional. Hint for how to order the results", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Optional. Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A token identifying a page of results the server should return.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The name of the parent resource. For the required format, see the comment on the Cluster.name field. Additionally, you can perform an aggregated list operation by specifying a value with the following format: * projects/{project}/locations/-", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/clusters", +"response": { +"$ref": "ListClustersResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates the parameters of a single Cluster.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/clusters/{clustersId}", +"httpMethod": "PATCH", +"id": "alloydb.projects.locations.clusters.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"allowMissing": { +"description": "Optional. If set to true, update succeeds even if cluster is not found. In that case, a new cluster is created and `update_mask` is ignored.", +"location": "query", +"type": "boolean" +}, +"name": { +"description": "Output only. The name of the cluster resource with the format: * projects/{project}/locations/{region}/clusters/{cluster_id} where the cluster ID segment should satisfy the regex expression `[a-z0-9-]+`. For more details see https://google.aip.dev/122. The prefix of the cluster resource name is the name of the parent resource: * projects/{project}/locations/{region}", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/clusters/[^/]+$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server ignores the request if it has already been completed. The server guarantees that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if the original operation with the same request ID was received, and if so, ignores the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"updateMask": { +"description": "Optional. Field mask is used to specify the fields to be overwritten in the Cluster resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +}, +"validateOnly": { +"description": "Optional. If set, performs request validation, for example, permission checks and any other type of validation, but does not actually execute the create request.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "Cluster" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"promote": { +"description": "Promotes a SECONDARY cluster. This turns down replication from the PRIMARY cluster and promotes a secondary cluster into its own standalone cluster. Imperative only.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/clusters/{clustersId}:promote", +"httpMethod": "POST", +"id": "alloydb.projects.locations.clusters.promote", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the resource. For the required format, see the comment on the Cluster.name field", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/clusters/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:promote", +"request": { +"$ref": "PromoteClusterRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"restore": { +"description": "Creates a new Cluster in a given project and location, with a volume restored from the provided source, either a backup ID or a point-in-time and a source cluster.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/clusters:restore", +"httpMethod": "POST", +"id": "alloydb.projects.locations.clusters.restore", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The name of the parent resource. For the required format, see the comment on the Cluster.name field.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/clusters:restore", +"request": { +"$ref": "RestoreClusterRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"restoreFromCloudSQL": { +"description": "Restores an AlloyDB cluster from a CloudSQL resource.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/clusters:restoreFromCloudSQL", +"httpMethod": "POST", +"id": "alloydb.projects.locations.clusters.restoreFromCloudSQL", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The location of the new cluster. For the required format, see the comment on Cluster.name field.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/clusters:restoreFromCloudSQL", +"request": { +"$ref": "RestoreFromCloudSQLRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"switchover": { +"description": "Switches the roles of PRIMARY and SECONDARY clusters without any data loss. This promotes the SECONDARY cluster to PRIMARY and sets up the original PRIMARY cluster to replicate from this newly promoted cluster.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/clusters/{clustersId}:switchover", +"httpMethod": "POST", +"id": "alloydb.projects.locations.clusters.switchover", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the resource. For the required format, see the comment on the Cluster.name field", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/clusters/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:switchover", +"request": { +"$ref": "SwitchoverClusterRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"upgrade": { +"description": "Upgrades a single Cluster. Imperative only.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/clusters/{clustersId}:upgrade", +"httpMethod": "PATCH", +"id": "alloydb.projects.locations.clusters.upgrade", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the cluster.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/clusters/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:upgrade", +"request": { +"$ref": "UpgradeClusterRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"instances": { +"methods": { +"create": { +"description": "Creates a new Instance in a given project and location.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/clusters/{clustersId}/instances", +"httpMethod": "POST", +"id": "alloydb.projects.locations.clusters.instances.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"instanceId": { +"description": "Required. ID of the requesting object.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The name of the parent resource. For the required format, see the comment on the Instance.name field.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/clusters/[^/]+$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server ignores the request if it has already been completed. The server guarantees that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if the original operation with the same request ID was received, and if so, ignores the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"validateOnly": { +"description": "Optional. If set, performs request validation, for example, permission checks and any other type of validation, but does not actually execute the create request.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1/{+parent}/instances", +"request": { +"$ref": "Instance" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"createsecondary": { +"description": "Creates a new SECONDARY Instance in a given project and location.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/clusters/{clustersId}/instances:createsecondary", +"httpMethod": "POST", +"id": "alloydb.projects.locations.clusters.instances.createsecondary", +"parameterOrder": [ +"parent" +], +"parameters": { +"instanceId": { +"description": "Required. ID of the requesting object.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The name of the parent resource. For the required format, see the comment on the Instance.name field.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/clusters/[^/]+$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server ignores the request if it has already been completed. The server guarantees that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if the original operation with the same request ID was received, and if so, ignores the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"validateOnly": { +"description": "Optional. If set, performs request validation, for example, permission checks and any other type of validation, but does not actually execute the create request.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1/{+parent}/instances:createsecondary", +"request": { +"$ref": "Instance" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a single Instance.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/clusters/{clustersId}/instances/{instancesId}", +"httpMethod": "DELETE", +"id": "alloydb.projects.locations.clusters.instances.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"etag": { +"description": "Optional. The current etag of the Instance. If an etag is provided and does not match the current etag of the Instance, deletion will be blocked and an ABORTED error will be returned.", +"location": "query", +"type": "string" +}, +"name": { +"description": "Required. The name of the resource. For the required format, see the comment on the Instance.name field.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/clusters/[^/]+/instances/[^/]+$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server ignores the request if it has already been completed. The server guarantees that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if the original operation with the same request ID was received, and if so, ignores the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"validateOnly": { +"description": "Optional. If set, performs request validation, for example, permission checks and any other type of validation, but does not actually execute the create request.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"failover": { +"description": "Forces a Failover for a highly available instance. Failover promotes the HA standby instance as the new primary. Imperative only.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/clusters/{clustersId}/instances/{instancesId}:failover", +"httpMethod": "POST", +"id": "alloydb.projects.locations.clusters.instances.failover", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the resource. For the required format, see the comment on the Instance.name field.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/clusters/[^/]+/instances/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:failover", +"request": { +"$ref": "FailoverInstanceRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets details of a single Instance.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/clusters/{clustersId}/instances/{instancesId}", +"httpMethod": "GET", +"id": "alloydb.projects.locations.clusters.instances.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the resource. For the required format, see the comment on the Instance.name field.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/clusters/[^/]+/instances/[^/]+$", +"required": true, +"type": "string" +}, +"view": { +"description": "The view of the instance to return.", +"enum": [ +"INSTANCE_VIEW_UNSPECIFIED", +"INSTANCE_VIEW_BASIC", +"INSTANCE_VIEW_FULL" +], +"enumDescriptions": [ +"INSTANCE_VIEW_UNSPECIFIED Not specified, equivalent to BASIC.", +"BASIC server responses for a primary or read instance include all the relevant instance details, excluding the details of each node in the instance. The default value.", +"FULL response is equivalent to BASIC for primary instance (for now). For read pool instance, this includes details of each node in the pool." +], +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Instance" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"getConnectionInfo": { +"description": "Get instance metadata used for a connection.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/clusters/{clustersId}/instances/{instancesId}/connectionInfo", +"httpMethod": "GET", +"id": "alloydb.projects.locations.clusters.instances.getConnectionInfo", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The name of the parent resource. The required format is: projects/{project}/locations/{location}/clusters/{cluster}/instances/{instance}", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/clusters/[^/]+/instances/[^/]+$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server ignores the request if it has already been completed. The server guarantees that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if the original operation with the same request ID was received, and if so, ignores the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+parent}/connectionInfo", +"response": { +"$ref": "ConnectionInfo" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"injectFault": { +"description": "Injects fault in an instance. Imperative only.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/clusters/{clustersId}/instances/{instancesId}:injectFault", +"httpMethod": "POST", +"id": "alloydb.projects.locations.clusters.instances.injectFault", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the resource. For the required format, see the comment on the Instance.name field.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/clusters/[^/]+/instances/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:injectFault", +"request": { +"$ref": "InjectFaultRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists Instances in a given project and location.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/clusters/{clustersId}/instances", +"httpMethod": "GET", +"id": "alloydb.projects.locations.clusters.instances.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Optional. Filtering results", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "Optional. Hint for how to order the results", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Optional. Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A token identifying a page of results the server should return.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The name of the parent resource. For the required format, see the comment on the Instance.name field. Additionally, you can perform an aggregated list operation by specifying a value with one of the following formats: * projects/{project}/locations/-/clusters/- * projects/{project}/locations/{region}/clusters/-", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/clusters/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/instances", +"response": { +"$ref": "ListInstancesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates the parameters of a single Instance.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/clusters/{clustersId}/instances/{instancesId}", +"httpMethod": "PATCH", +"id": "alloydb.projects.locations.clusters.instances.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"allowMissing": { +"description": "Optional. If set to true, update succeeds even if instance is not found. In that case, a new instance is created and `update_mask` is ignored.", +"location": "query", +"type": "boolean" +}, +"name": { +"description": "Output only. The name of the instance resource with the format: * projects/{project}/locations/{region}/clusters/{cluster_id}/instances/{instance_id} where the cluster and instance ID segments should satisfy the regex expression `[a-z]([a-z0-9-]{0,61}[a-z0-9])?`, e.g. 1-63 characters of lowercase letters, numbers, and dashes, starting with a letter, and ending with a letter or number. For more details see https://google.aip.dev/122. The prefix of the instance resource name is the name of the parent resource: * projects/{project}/locations/{region}/clusters/{cluster_id}", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/clusters/[^/]+/instances/[^/]+$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server ignores the request if it has already been completed. The server guarantees that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if the original operation with the same request ID was received, and if so, ignores the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"updateMask": { +"description": "Optional. Field mask is used to specify the fields to be overwritten in the Instance resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +}, +"validateOnly": { +"description": "Optional. If set, performs request validation, for example, permission checks and any other type of validation, but does not actually execute the create request.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "Instance" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"restart": { +"description": "Restart an Instance in a cluster. Imperative only.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/clusters/{clustersId}/instances/{instancesId}:restart", +"httpMethod": "POST", +"id": "alloydb.projects.locations.clusters.instances.restart", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the resource. For the required format, see the comment on the Instance.name field.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/clusters/[^/]+/instances/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:restart", +"request": { +"$ref": "RestartInstanceRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"users": { +"methods": { +"create": { +"description": "Creates a new User in a given project, location, and cluster.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/clusters/{clustersId}/users", +"httpMethod": "POST", +"id": "alloydb.projects.locations.clusters.users.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. Value for parent.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/clusters/[^/]+$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server ignores the request if it has already been completed. The server guarantees that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if the original operation with the same request ID was received, and if so, ignores the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"userId": { +"description": "Required. ID of the requesting object.", +"location": "query", +"type": "string" +}, +"validateOnly": { +"description": "Optional. If set, the backend validates the request, but doesn't actually execute it.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1/{+parent}/users", +"request": { +"$ref": "User" +}, +"response": { +"$ref": "User" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a single User.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/clusters/{clustersId}/users/{usersId}", +"httpMethod": "DELETE", +"id": "alloydb.projects.locations.clusters.users.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the resource. For the required format, see the comment on the User.name field.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/clusters/[^/]+/users/[^/]+$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server ignores the request if it has already been completed. The server guarantees that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if the original operation with the same request ID was received, and if so, ignores the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"validateOnly": { +"description": "Optional. If set, the backend validates the request, but doesn't actually execute it.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets details of a single User.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/clusters/{clustersId}/users/{usersId}", +"httpMethod": "GET", +"id": "alloydb.projects.locations.clusters.users.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the resource. For the required format, see the comment on the User.name field.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/clusters/[^/]+/users/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "User" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists Users in a given project and location.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/clusters/{clustersId}/users", +"httpMethod": "GET", +"id": "alloydb.projects.locations.clusters.users.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Optional. Filtering results", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "Optional. Hint for how to order the results", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Optional. Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. A token identifying a page of results the server should return.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. Parent value for ListUsersRequest", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/clusters/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/users", +"response": { +"$ref": "ListUsersResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates the parameters of a single User.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/clusters/{clustersId}/users/{usersId}", +"httpMethod": "PATCH", +"id": "alloydb.projects.locations.clusters.users.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"allowMissing": { +"description": "Optional. Allow missing fields in the update mask.", +"location": "query", +"type": "boolean" +}, +"name": { +"description": "Output only. Name of the resource in the form of projects/{project}/locations/{location}/cluster/{cluster}/users/{user}.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/clusters/[^/]+/users/[^/]+$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server ignores the request if it has already been completed. The server guarantees that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if the original operation with the same request ID was received, and if so, ignores the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"updateMask": { +"description": "Optional. Field mask is used to specify the fields to be overwritten in the User resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +}, +"validateOnly": { +"description": "Optional. If set, the backend validates the request, but doesn't actually execute it.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "User" +}, +"response": { +"$ref": "User" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +}, +"operations": { +"methods": { +"cancel": { +"description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}:cancel", +"httpMethod": "POST", +"id": "alloydb.projects.locations.operations.cancel", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be cancelled.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:cancel", +"request": { +"$ref": "CancelOperationRequest" +}, +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}", +"httpMethod": "DELETE", +"id": "alloydb.projects.locations.operations.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be deleted.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}", +"httpMethod": "GET", +"id": "alloydb.projects.locations.operations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/operations", +"httpMethod": "GET", +"id": "alloydb.projects.locations.operations.list", +"parameterOrder": [ +"name" +], +"parameters": { +"filter": { +"description": "The standard list filter.", +"location": "query", +"type": "string" +}, +"name": { +"description": "The name of the operation's parent resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The standard list page size.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The standard list page token.", +"location": "query", +"type": "string" +}, +"returnPartialSuccess": { +"description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `\"projects/example/locations/-\"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1/{+name}/operations", +"response": { +"$ref": "ListOperationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"supportedDatabaseFlags": { +"methods": { +"list": { +"description": "Lists SupportedDatabaseFlags for a given project and location.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/supportedDatabaseFlags", +"httpMethod": "GET", +"id": "alloydb.projects.locations.supportedDatabaseFlags.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A token identifying a page of results the server should return.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The name of the parent resource. The required format is: * projects/{project}/locations/{location} Regardless of the parent specified here, as long it is contains a valid project and location, the service will return a static list of supported flags resources. Note that we do not yet support region-specific flags.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +}, +"scope": { +"description": "Optional. The scope for which supported flags are requested. If not specified, default is DATABASE.", +"enum": [ +"SCOPE_UNSPECIFIED", +"DATABASE", +"CONNECTION_POOL" +], +"enumDescriptions": [ +"The scope of the flag is not specified. Default is DATABASE.", +"The flag is a database flag.", +"The flag is a connection pool flag." +], +"location": "query", +"type": "string" +} +}, +"path": "v1/{+parent}/supportedDatabaseFlags", +"response": { +"$ref": "ListSupportedDatabaseFlagsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +} +} +} +}, +"revision": "20260219", +"rootUrl": "https://alloydb.googleapis.com/", +"schemas": { +"AuthorizedNetwork": { +"description": "AuthorizedNetwork contains metadata for an authorized network.", +"id": "AuthorizedNetwork", +"properties": { +"cidrRange": { +"description": "CIDR range for one authorzied network of the instance.", +"type": "string" +} +}, +"type": "object" +}, +"AutomatedBackupPolicy": { +"description": "Message describing the user-specified automated backup policy. All fields in the automated backup policy are optional. Defaults for each field are provided if they are not set.", +"id": "AutomatedBackupPolicy", +"properties": { +"backupWindow": { +"description": "The length of the time window during which a backup can be taken. If a backup does not succeed within this time window, it will be canceled and considered failed. The backup window must be at least 5 minutes long. There is no upper bound on the window. If not set, it defaults to 1 hour.", +"format": "google-duration", +"type": "string" +}, +"enabled": { +"description": "Whether automated automated backups are enabled. If not set, defaults to true.", +"type": "boolean" +}, +"encryptionConfig": { +"$ref": "EncryptionConfig", +"description": "Optional. The encryption config can be specified to encrypt the backups with a customer-managed encryption key (CMEK). When this field is not specified, the backup will use the cluster's encryption config." +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Labels to apply to backups created using this configuration.", +"type": "object" +}, +"location": { +"description": "The location where the backup will be stored. Currently, the only supported option is to store the backup in the same region as the cluster. If empty, defaults to the region of the cluster.", +"type": "string" +}, +"quantityBasedRetention": { +"$ref": "QuantityBasedRetention", +"description": "Quantity-based Backup retention policy to retain recent backups." +}, +"timeBasedRetention": { +"$ref": "TimeBasedRetention", +"description": "Time-based Backup retention policy." +}, +"weeklySchedule": { +"$ref": "WeeklySchedule", +"description": "Weekly schedule for the Backup." +} +}, +"type": "object" +}, +"Backup": { +"description": "Message describing Backup object", +"id": "Backup", +"properties": { +"annotations": { +"additionalProperties": { +"type": "string" +}, +"description": "Annotations to allow client tools to store small amount of arbitrary data. This is distinct from labels. https://google.aip.dev/128", +"type": "object" +}, +"clusterName": { +"description": "Required. The full resource name of the backup source cluster (e.g., projects/{project}/locations/{region}/clusters/{cluster_id}).", +"type": "string" +}, +"clusterUid": { +"description": "Output only. The system-generated UID of the cluster which was used to create this resource.", +"readOnly": true, +"type": "string" +}, +"createCompletionTime": { +"description": "Output only. Timestamp when the resource finished being created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"createTime": { +"description": "Output only. Create time stamp", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"databaseVersion": { +"description": "Output only. The database engine major version of the cluster this backup was created from. Any restored cluster created from this backup will have the same database version.", +"enum": [ +"DATABASE_VERSION_UNSPECIFIED", +"POSTGRES_13", +"POSTGRES_14", +"POSTGRES_15", +"POSTGRES_16", +"POSTGRES_17", +"POSTGRES_18" +], +"enumDeprecated": [ +false, +true, +false, +false, +false, +false, +false +], +"enumDescriptions": [ +"This is an unknown database version.", +"DEPRECATED - The database version is Postgres 13.", +"The database version is Postgres 14.", +"The database version is Postgres 15.", +"The database version is Postgres 16.", +"The database version is Postgres 17.", +"The database version is Postgres 18." +], +"readOnly": true, +"type": "string" +}, +"deleteTime": { +"description": "Output only. Delete time stamp", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"description": { +"description": "User-provided description of the backup.", +"type": "string" +}, +"displayName": { +"description": "User-settable and human-readable display name for the Backup.", +"type": "string" +}, +"encryptionConfig": { +"$ref": "EncryptionConfig", +"description": "Optional. The encryption config can be specified to encrypt the backup with a customer-managed encryption key (CMEK). When this field is not specified, the backup will then use default encryption scheme to protect the user data." +}, +"encryptionInfo": { +"$ref": "EncryptionInfo", +"description": "Output only. The encryption information for the backup.", +"readOnly": true +}, +"etag": { +"description": "For Resource freshness validation (https://google.aip.dev/154)", +"type": "string" +}, +"expiryQuantity": { +"$ref": "QuantityBasedExpiry", +"description": "Output only. The QuantityBasedExpiry of the backup, specified by the backup's retention policy. Once the expiry quantity is over retention, the backup is eligible to be garbage collected.", +"readOnly": true +}, +"expiryTime": { +"description": "Output only. The time at which after the backup is eligible to be garbage collected. It is the duration specified by the backup's retention policy, added to the backup's create_time.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Labels as key value pairs", +"type": "object" +}, +"name": { +"description": "Output only. The name of the backup resource with the format: * projects/{project}/locations/{region}/backups/{backup_id} where the cluster and backup ID segments should satisfy the regex expression `[a-z]([a-z0-9-]{0,61}[a-z0-9])?`, e.g. 1-63 characters of lowercase letters, numbers, and dashes, starting with a letter, and ending with a letter or number. For more details see https://google.aip.dev/122. The prefix of the backup resource name is the name of the parent resource: * projects/{project}/locations/{region}", +"readOnly": true, +"type": "string" +}, +"reconciling": { +"description": "Output only. Reconciling (https://google.aip.dev/128#reconciliation), if true, indicates that the service is actively updating the resource. This can happen due to user-triggered updates or system actions like failover or maintenance.", +"readOnly": true, +"type": "boolean" +}, +"satisfiesPzs": { +"description": "Output only. Reserved for future use.", +"readOnly": true, +"type": "boolean" +}, +"sizeBytes": { +"description": "Output only. The size of the backup in bytes.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"state": { +"description": "Output only. The current state of the backup.", +"enum": [ +"STATE_UNSPECIFIED", +"READY", +"CREATING", +"FAILED", +"DELETING" +], +"enumDescriptions": [ +"The state of the backup is unknown.", +"The backup is ready.", +"The backup is creating.", +"The backup failed.", +"The backup is being deleted." +], +"readOnly": true, +"type": "string" +}, +"tags": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. Input only. Immutable. Tag keys/values directly bound to this resource. For example: ``` \"123/environment\": \"production\", \"123/costCenter\": \"marketing\" ```", +"type": "object" +}, +"type": { +"description": "The backup type, which suggests the trigger for the backup.", +"enum": [ +"TYPE_UNSPECIFIED", +"ON_DEMAND", +"AUTOMATED", +"CONTINUOUS" +], +"enumDescriptions": [ +"Backup Type is unknown.", +"ON_DEMAND backups that were triggered by the customer (e.g., not AUTOMATED).", +"AUTOMATED backups triggered by the automated backups scheduler pursuant to an automated backup policy.", +"CONTINUOUS backups triggered by the automated backups scheduler due to a continuous backup policy." +], +"type": "string" +}, +"uid": { +"description": "Output only. The system-generated UID of the resource. The UID is assigned when the resource is created, and it is retained until it is deleted.", +"readOnly": true, +"type": "string" +}, +"updateTime": { +"description": "Output only. Update time stamp Users should not infer any meaning from this field. Its value is generally unrelated to the timing of the backup creation operation.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"BackupDrBackupSource": { +"description": "Message describing a BackupDrBackupSource.", +"id": "BackupDrBackupSource", +"properties": { +"backup": { +"description": "Required. The name of the backup resource with the format: * projects/{project}/locations/{location}/backupVaults/{backupvault_id}/dataSources/{datasource_id}/backups/{backup_id}", +"type": "string" +} +}, +"type": "object" +}, +"BackupDrEnabledWindow": { +"description": "Information about a single window when BackupDR was enabled for this cluster.", +"id": "BackupDrEnabledWindow", +"properties": { +"automatedBackupPreviouslyEnabled": { +"description": "Whether automated backup was previously enabled prior to enabling BackupDR protection for this cluster.", +"type": "boolean" +}, +"backupPlanAssociation": { +"description": "The BackupPlanAssociation resource that was used to enable BackupDR protection for this cluster.", +"type": "string" +}, +"continuousBackupPreviousRecoveryWindowDays": { +"description": "The retention set for the continuous backup that was previously enabled prior to enabling BackupDR protection for this cluster.", +"format": "int32", +"type": "integer" +}, +"continuousBackupPreviouslyEnabled": { +"description": "Whether continuous backup was previously enabled prior to enabling BackupDR protection for this cluster.", +"type": "boolean" +}, +"continuousBackupPreviouslyEnabledTime": { +"description": "The time when continuous backup was previously enabled prior to enabling BackupDR protection for this cluster.", +"format": "google-datetime", +"type": "string" +}, +"dataSource": { +"description": "The DataSource resource that represents the cluster in BackupDR.", +"type": "string" +}, +"disabledTime": { +"description": "Time when the BackupDR protection for this cluster was disabled. This field will be empty if this BackupDR window is the `current_window`.", +"format": "google-datetime", +"type": "string" +}, +"enabledTime": { +"description": "Time when the BackupDR protection for this cluster was enabled.", +"format": "google-datetime", +"type": "string" +}, +"logRetentionPeriod": { +"description": "The retention period for logs generated by BackupDR for this cluster.", +"format": "google-duration", +"type": "string" +} +}, +"type": "object" +}, +"BackupDrInfo": { +"description": "Information about BackupDR protection for this cluster.", +"id": "BackupDrInfo", +"properties": { +"currentWindow": { +"$ref": "BackupDrEnabledWindow", +"description": "The current BackupDR configuration for this cluster. If BackupDR protection is not enabled for this cluster, this field will be empty." +}, +"previousWindows": { +"description": "Windows during which BackupDR was enabled for this cluster, along with associated configuration for that window. These are used to determine points-in-time for which restores can be performed. The windows are ordered with the most recent window last. Windows are mutally exclusive. Windows which closed more than 1 year ago will be removed from this list.", +"items": { +"$ref": "BackupDrEnabledWindow" +}, +"type": "array" +} +}, +"type": "object" +}, +"BackupDrPitrSource": { +"description": "Message describing a BackupDrPitrSource.", +"id": "BackupDrPitrSource", +"properties": { +"dataSource": { +"description": "Required. The name of the backup resource with the format: * projects/{project}/locations/{location}/backupVaults/{backupvault_id}/dataSources/{datasource_id}", +"type": "string" +}, +"pointInTime": { +"description": "Required. The point in time to restore to.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"BackupSource": { +"description": "Message describing a BackupSource.", +"id": "BackupSource", +"properties": { +"backupName": { +"description": "Required. The name of the backup resource with the format: * projects/{project}/locations/{region}/backups/{backup_id}", +"type": "string" +}, +"backupUid": { +"description": "Output only. The system-generated UID of the backup which was used to create this resource. The UID is generated when the backup is created, and it is retained until the backup is deleted.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"CancelOperationRequest": { +"description": "The request message for Operations.CancelOperation.", +"id": "CancelOperationRequest", +"properties": {}, +"type": "object" +}, +"ClientConnectionConfig": { +"description": "Client connection configuration", +"id": "ClientConnectionConfig", +"properties": { +"requireConnectors": { +"description": "Optional. Configuration to enforce connectors only (ex: AuthProxy) connections to the database.", +"type": "boolean" +}, +"sslConfig": { +"$ref": "SslConfig", +"description": "Optional. SSL configuration option for this instance." +} +}, +"type": "object" +}, +"CloudControl2SharedOperationsReconciliationOperationMetadata": { +"description": "Operation metadata returned by the CLH during resource state reconciliation.", +"id": "CloudControl2SharedOperationsReconciliationOperationMetadata", +"properties": { +"deleteResource": { +"deprecated": true, +"description": "DEPRECATED. Use exclusive_action instead.", +"type": "boolean" +}, +"exclusiveAction": { +"description": "Excluisive action returned by the CLH.", +"enum": [ +"UNKNOWN_REPAIR_ACTION", +"DELETE", +"RETRY" +], +"enumDeprecated": [ +false, +true, +false +], +"enumDescriptions": [ +"Unknown repair action.", +"The resource has to be deleted. When using this bit, the CLH should fail the operation. DEPRECATED. Instead use DELETE_RESOURCE OperationSignal in SideChannel.", +"This resource could not be repaired but the repair should be tried again at a later time. This can happen if there is a dependency that needs to be resolved first- e.g. if a parent resource must be repaired before a child resource." +], +"type": "string" +} +}, +"type": "object" +}, +"CloudSQLBackupRunSource": { +"description": "The source CloudSQL backup resource.", +"id": "CloudSQLBackupRunSource", +"properties": { +"backupRunId": { +"description": "Required. The CloudSQL backup run ID.", +"format": "int64", +"type": "string" +}, +"instanceId": { +"description": "Required. The CloudSQL instance ID.", +"type": "string" +}, +"project": { +"description": "The project ID of the source CloudSQL instance. This should be the same as the AlloyDB cluster's project.", +"type": "string" +} +}, +"type": "object" +}, +"Cluster": { +"description": "A cluster is a collection of regional AlloyDB resources. It can include a primary instance and one or more read pool instances. All cluster resources share a storage layer, which scales as needed.", +"id": "Cluster", +"properties": { +"annotations": { +"additionalProperties": { +"type": "string" +}, +"description": "Annotations to allow client tools to store small amount of arbitrary data. This is distinct from labels. https://google.aip.dev/128", +"type": "object" +}, +"automatedBackupPolicy": { +"$ref": "AutomatedBackupPolicy", +"description": "The automated backup policy for this cluster. If no policy is provided then the default policy will be used. If backups are supported for the cluster, the default policy takes one backup a day, has a backup window of 1 hour, and retains backups for 14 days. For more information on the defaults, consult the documentation for the message type." +}, +"backupSource": { +"$ref": "BackupSource", +"description": "Output only. Cluster created from backup.", +"readOnly": true +}, +"backupdrBackupSource": { +"$ref": "BackupDrBackupSource", +"description": "Output only. Cluster created from a BackupDR backup.", +"readOnly": true +}, +"backupdrInfo": { +"$ref": "BackupDrInfo", +"description": "Output only. Output only information about BackupDR protection for this cluster.", +"readOnly": true +}, +"cloudsqlBackupRunSource": { +"$ref": "CloudSQLBackupRunSource", +"description": "Output only. Cluster created from CloudSQL snapshot.", +"readOnly": true +}, +"clusterType": { +"description": "Output only. The type of the cluster. This is an output-only field and it's populated at the Cluster creation time or the Cluster promotion time. The cluster type is determined by which RPC was used to create the cluster (i.e. `CreateCluster` vs. `CreateSecondaryCluster`", +"enum": [ +"CLUSTER_TYPE_UNSPECIFIED", +"PRIMARY", +"SECONDARY" +], +"enumDescriptions": [ +"The type of the cluster is unknown.", +"Primary cluster that support read and write operations.", +"Secondary cluster that is replicating from another region. This only supports read." +], +"readOnly": true, +"type": "string" +}, +"continuousBackupConfig": { +"$ref": "ContinuousBackupConfig", +"description": "Optional. Continuous backup configuration for this cluster." +}, +"continuousBackupInfo": { +"$ref": "ContinuousBackupInfo", +"description": "Output only. Continuous backup properties for this cluster.", +"readOnly": true +}, +"createTime": { +"description": "Output only. Create time stamp", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"databaseVersion": { +"description": "Optional. The database engine major version. This is an optional field and it is populated at the Cluster creation time. If a database version is not supplied at cluster creation time, then a default database version will be used.", +"enum": [ +"DATABASE_VERSION_UNSPECIFIED", +"POSTGRES_13", +"POSTGRES_14", +"POSTGRES_15", +"POSTGRES_16", +"POSTGRES_17", +"POSTGRES_18" +], +"enumDeprecated": [ +false, +true, +false, +false, +false, +false, +false +], +"enumDescriptions": [ +"This is an unknown database version.", +"DEPRECATED - The database version is Postgres 13.", +"The database version is Postgres 14.", +"The database version is Postgres 15.", +"The database version is Postgres 16.", +"The database version is Postgres 17.", +"The database version is Postgres 18." +], +"type": "string" +}, +"dataplexConfig": { +"$ref": "DataplexConfig", +"description": "Optional. Configuration for Dataplex integration." +}, +"deleteTime": { +"description": "Output only. Delete time stamp", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"displayName": { +"description": "User-settable and human-readable display name for the Cluster.", +"type": "string" +}, +"encryptionConfig": { +"$ref": "EncryptionConfig", +"description": "Optional. The encryption config can be specified to encrypt the data disks and other persistent data resources of a cluster with a customer-managed encryption key (CMEK). When this field is not specified, the cluster will then use default encryption scheme to protect the user data." +}, +"encryptionInfo": { +"$ref": "EncryptionInfo", +"description": "Output only. The encryption information for the cluster.", +"readOnly": true +}, +"etag": { +"description": "For Resource freshness validation (https://google.aip.dev/154)", +"type": "string" +}, +"initialUser": { +"$ref": "UserPassword", +"description": "Input only. Initial user to setup during cluster creation. Required. If used in `RestoreCluster` this is ignored." +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Labels as key value pairs", +"type": "object" +}, +"maintenanceSchedule": { +"$ref": "MaintenanceSchedule", +"description": "Output only. The maintenance schedule for the cluster, generated for a specific rollout if a maintenance window is set.", +"readOnly": true +}, +"maintenanceUpdatePolicy": { +"$ref": "MaintenanceUpdatePolicy", +"description": "Optional. The maintenance update policy determines when to allow or deny updates." +}, +"maintenanceVersionSelectionPolicy": { +"description": "Input only. Policy to use to automatically select the maintenance version to which to update the cluster's instances.", +"enum": [ +"MAINTENANCE_VERSION_SELECTION_POLICY_UNSPECIFIED", +"MAINTENANCE_VERSION_SELECTION_POLICY_LATEST", +"MAINTENANCE_VERSION_SELECTION_POLICY_DEFAULT" +], +"enumDescriptions": [ +"The maintenance version selection policy is not specified.", +"Use the latest available maintenance version.", +"Use the current default maintenance version." +], +"type": "string" +}, +"migrationSource": { +"$ref": "MigrationSource", +"description": "Output only. Cluster created via DMS migration.", +"readOnly": true +}, +"name": { +"description": "Output only. The name of the cluster resource with the format: * projects/{project}/locations/{region}/clusters/{cluster_id} where the cluster ID segment should satisfy the regex expression `[a-z0-9-]+`. For more details see https://google.aip.dev/122. The prefix of the cluster resource name is the name of the parent resource: * projects/{project}/locations/{region}", +"readOnly": true, +"type": "string" +}, +"network": { +"deprecated": true, +"description": "Required. The resource link for the VPC network in which cluster resources are created and from which they are accessible via Private IP. The network must belong to the same project as the cluster. It is specified in the form: `projects/{project}/global/networks/{network_id}`. This is required to create a cluster. Deprecated, use network_config.network instead.", +"type": "string" +}, +"networkConfig": { +"$ref": "NetworkConfig" +}, +"primaryConfig": { +"$ref": "PrimaryConfig", +"description": "Output only. Cross Region replication config specific to PRIMARY cluster.", +"readOnly": true +}, +"pscConfig": { +"$ref": "PscConfig", +"description": "Optional. The configuration for Private Service Connect (PSC) for the cluster." +}, +"reconciling": { +"description": "Output only. Reconciling (https://google.aip.dev/128#reconciliation). Set to true if the current state of Cluster does not match the user's intended state, and the service is actively updating the resource to reconcile them. This can happen due to user-triggered updates or system actions like failover or maintenance.", +"readOnly": true, +"type": "boolean" +}, +"satisfiesPzs": { +"description": "Output only. Reserved for future use.", +"readOnly": true, +"type": "boolean" +}, +"secondaryConfig": { +"$ref": "SecondaryConfig", +"description": "Cross Region replication config specific to SECONDARY cluster." +}, +"sslConfig": { +"$ref": "SslConfig", +"deprecated": true, +"description": "SSL configuration for this AlloyDB cluster." +}, +"state": { +"description": "Output only. The current serving state of the cluster.", +"enum": [ +"STATE_UNSPECIFIED", +"READY", +"STOPPED", +"EMPTY", +"CREATING", +"DELETING", +"FAILED", +"BOOTSTRAPPING", +"MAINTENANCE", +"PROMOTING", +"SWITCHOVER" +], +"enumDescriptions": [ +"The state of the cluster is unknown.", +"The cluster is active and running.", +"This is unused. Even when all instances in the cluster are stopped, the cluster remains in READY state.", +"The cluster is empty and has no associated resources. All instances, associated storage and backups have been deleted.", +"The cluster is being created.", +"The cluster is being deleted.", +"The creation of the cluster failed.", +"The cluster is bootstrapping with data from some other source. Direct mutations to the cluster (e.g. adding read pool) are not allowed.", +"The cluster is under maintenance. AlloyDB regularly performs maintenance and upgrades on customer clusters. Updates on the cluster are not allowed while the cluster is in this state.", +"The cluster is being promoted.", +"The cluster has entered switchover state. All updates on cluster and its associated instances are restricted while the cluster is in this state." +], +"readOnly": true, +"type": "string" +}, +"subscriptionType": { +"description": "Optional. Subscription type of the cluster.", +"enum": [ +"SUBSCRIPTION_TYPE_UNSPECIFIED", +"STANDARD", +"TRIAL" +], +"enumDescriptions": [ +"This is an unknown subscription type. By default, the subscription type is STANDARD.", +"Standard subscription.", +"Trial subscription." +], +"type": "string" +}, +"tags": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. Input only. Immutable. Tag keys/values directly bound to this resource. For example: ``` \"123/environment\": \"production\", \"123/costCenter\": \"marketing\" ```", +"type": "object" +}, +"trialMetadata": { +"$ref": "TrialMetadata", +"description": "Output only. Metadata for free trial clusters", +"readOnly": true +}, +"uid": { +"description": "Output only. The system-generated UID of the resource. The UID is assigned when the resource is created, and it is retained until it is deleted.", +"readOnly": true, +"type": "string" +}, +"updateTime": { +"description": "Output only. Update time stamp", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"ClusterUpgradeDetails": { +"description": "Upgrade details of a cluster. This cluster can be primary or secondary.", +"id": "ClusterUpgradeDetails", +"properties": { +"clusterType": { +"description": "Cluster type which can either be primary or secondary.", +"enum": [ +"CLUSTER_TYPE_UNSPECIFIED", +"PRIMARY", +"SECONDARY" +], +"enumDescriptions": [ +"The type of the cluster is unknown.", +"Primary cluster that support read and write operations.", +"Secondary cluster that is replicating from another region. This only supports read." +], +"type": "string" +}, +"databaseVersion": { +"description": "Database version of the cluster after the upgrade operation. This will be the target version if the upgrade was successful otherwise it remains the same as that before the upgrade operation.", +"enum": [ +"DATABASE_VERSION_UNSPECIFIED", +"POSTGRES_13", +"POSTGRES_14", +"POSTGRES_15", +"POSTGRES_16", +"POSTGRES_17", +"POSTGRES_18" +], +"enumDeprecated": [ +false, +true, +false, +false, +false, +false, +false +], +"enumDescriptions": [ +"This is an unknown database version.", +"DEPRECATED - The database version is Postgres 13.", +"The database version is Postgres 14.", +"The database version is Postgres 15.", +"The database version is Postgres 16.", +"The database version is Postgres 17.", +"The database version is Postgres 18." +], +"type": "string" +}, +"instanceUpgradeDetails": { +"description": "Upgrade details of the instances directly associated with this cluster.", +"items": { +"$ref": "InstanceUpgradeDetails" +}, +"type": "array" +}, +"name": { +"description": "Normalized name of the cluster", +"type": "string" +}, +"stageInfo": { +"description": "Array containing stage info associated with this cluster.", +"items": { +"$ref": "StageInfo" +}, +"type": "array" +}, +"upgradeStatus": { +"description": "Upgrade status of the cluster.", +"enum": [ +"STATUS_UNSPECIFIED", +"NOT_STARTED", +"IN_PROGRESS", +"SUCCESS", +"FAILED", +"PARTIAL_SUCCESS", +"CANCEL_IN_PROGRESS", +"CANCELLED" +], +"enumDescriptions": [ +"Unspecified status.", +"Not started.", +"In progress.", +"Operation succeeded.", +"Operation failed.", +"Operation partially succeeded.", +"Cancel is in progress.", +"Cancellation complete." +], +"type": "string" +} +}, +"type": "object" +}, +"ConnectionInfo": { +"description": "ConnectionInfo singleton resource. https://google.aip.dev/156", +"id": "ConnectionInfo", +"properties": { +"instanceUid": { +"description": "Output only. The unique ID of the Instance.", +"readOnly": true, +"type": "string" +}, +"ipAddress": { +"description": "Output only. The private network IP address for the Instance. This is the default IP for the instance and is always created (even if enable_public_ip is set). This is the connection endpoint for an end-user application.", +"readOnly": true, +"type": "string" +}, +"name": { +"description": "The name of the ConnectionInfo singleton resource, e.g.: projects/{project}/locations/{location}/clusters/*/instances/*/connectionInfo This field currently has no semantic meaning.", +"type": "string" +}, +"publicIpAddress": { +"description": "Output only. The public IP addresses for the Instance. This is available ONLY when enable_public_ip is set. This is the connection endpoint for an end-user application.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"ConnectionPoolConfig": { +"description": "Configuration for Managed Connection Pool (MCP).", +"id": "ConnectionPoolConfig", +"properties": { +"enabled": { +"description": "Optional. Whether to enable Managed Connection Pool (MCP).", +"type": "boolean" +}, +"flags": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. Connection Pool flags, as a list of \"key\": \"value\" pairs.", +"type": "object" +}, +"poolerCount": { +"description": "Output only. The number of running poolers per instance.", +"format": "int32", +"readOnly": true, +"type": "integer" +} +}, +"type": "object" +}, +"ContinuousBackupConfig": { +"description": "ContinuousBackupConfig describes the continuous backups recovery configurations of a cluster.", +"id": "ContinuousBackupConfig", +"properties": { +"enabled": { +"description": "Whether ContinuousBackup is enabled.", +"type": "boolean" +}, +"encryptionConfig": { +"$ref": "EncryptionConfig", +"description": "The encryption config can be specified to encrypt the backups with a customer-managed encryption key (CMEK). When this field is not specified, the backup will use the cluster's encryption config." +}, +"recoveryWindowDays": { +"description": "The number of days that are eligible to restore from using PITR. To support the entire recovery window, backups and logs are retained for one day more than the recovery window. If not set, defaults to 14 days.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"ContinuousBackupInfo": { +"description": "ContinuousBackupInfo describes the continuous backup properties of a cluster.", +"id": "ContinuousBackupInfo", +"properties": { +"earliestRestorableTime": { +"description": "Output only. The earliest restorable time that can be restored to. If continuous backups and recovery was recently enabled, the earliest restorable time is the creation time of the earliest eligible backup within this cluster's continuous backup recovery window. After a cluster has had continuous backups enabled for the duration of its recovery window, the earliest restorable time becomes \"now minus the recovery window\". For example, assuming a point in time recovery is attempted at 04/16/2025 3:23:00PM with a 14d recovery window, the earliest restorable time would be 04/02/2025 3:23:00PM. This field is only visible if the CLUSTER_VIEW_CONTINUOUS_BACKUP cluster view is provided.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"enabledTime": { +"description": "Output only. When ContinuousBackup was most recently enabled. Set to null if ContinuousBackup is not enabled.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"encryptionInfo": { +"$ref": "EncryptionInfo", +"description": "Output only. The encryption information for the WALs and backups required for ContinuousBackup.", +"readOnly": true +}, +"schedule": { +"description": "Output only. Days of the week on which a continuous backup is taken.", +"items": { +"enum": [ +"DAY_OF_WEEK_UNSPECIFIED", +"MONDAY", +"TUESDAY", +"WEDNESDAY", +"THURSDAY", +"FRIDAY", +"SATURDAY", +"SUNDAY" +], +"enumDescriptions": [ +"The day of the week is unspecified.", +"Monday", +"Tuesday", +"Wednesday", +"Thursday", +"Friday", +"Saturday", +"Sunday" +], +"type": "string" +}, +"readOnly": true, +"type": "array" +} +}, +"type": "object" +}, +"ContinuousBackupSource": { +"description": "Message describing a ContinuousBackupSource.", +"id": "ContinuousBackupSource", +"properties": { +"cluster": { +"description": "Required. The source cluster from which to restore. This cluster must have continuous backup enabled for this operation to succeed. For the required format, see the comment on the Cluster.name field.", +"type": "string" +}, +"pointInTime": { +"description": "Required. The point in time to restore to.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"CsvExportOptions": { +"description": "Options for exporting data in CSV format.", +"id": "CsvExportOptions", +"properties": { +"escapeCharacter": { +"description": "Optional. Specifies the character that should appear before a data character that needs to be escaped. The default is the same as quote character. The value of this argument has to be a character in Hex ASCII Code.", +"type": "string" +}, +"fieldDelimiter": { +"description": "Optional. Specifies the character that separates columns within each row (line) of the file. The default is comma. The value of this argument has to be a character in Hex ASCII Code.", +"type": "string" +}, +"quoteCharacter": { +"description": "Optional. Specifies the quoting character to be used when a data value is quoted. The default is double-quote. The value of this argument has to be a character in Hex ASCII Code.", +"type": "string" +}, +"selectQuery": { +"description": "Required. The SELECT query used to extract the data.", +"type": "string" +} +}, +"type": "object" +}, +"CsvImportOptions": { +"description": "Options for importing data in CSV format.", +"id": "CsvImportOptions", +"properties": { +"columns": { +"description": "Optional. The columns to which CSV data is imported. If not specified, all columns of the database table are loaded with CSV data.", +"items": { +"type": "string" +}, +"type": "array" +}, +"escapeCharacter": { +"description": "Optional. Specifies the character that should appear before a data character that needs to be escaped. The default is same as quote character. The value of this argument has to be a character in Hex ASCII Code.", +"type": "string" +}, +"fieldDelimiter": { +"description": "Optional. Specifies the character that separates columns within each row (line) of the file. The default is comma. The value of this argument has to be a character in Hex ASCII Code.", +"type": "string" +}, +"quoteCharacter": { +"description": "Optional. Specifies the quoting character to be used when a data value is quoted. The default is double-quote. The value of this argument has to be a character in Hex ASCII Code.", +"type": "string" +}, +"table": { +"description": "Required. The database table to import CSV file into.", +"type": "string" +} +}, +"type": "object" +}, +"DataplexConfig": { +"description": "Configuration for Dataplex integration.", +"id": "DataplexConfig", +"properties": { +"enabled": { +"description": "Dataplex is enabled by default for resources such as clusters and instances. This flag controls the integration of AlloyDB PG resources (like databases, schemas, and tables) with Dataplex.\"", +"type": "boolean" +} +}, +"type": "object" +}, +"DenyMaintenancePeriod": { +"description": "DenyMaintenancePeriod definition. Excepting emergencies, maintenance will not be scheduled to start within this deny period. The start_date must be less than the end_date.", +"id": "DenyMaintenancePeriod", +"properties": { +"endDate": { +"$ref": "GoogleTypeDate", +"description": "Deny period end date. This can be: * A full date, with non-zero year, month and day values OR * A month and day value, with a zero year for recurring" +}, +"startDate": { +"$ref": "GoogleTypeDate", +"description": "Deny period start date. This can be: * A full date, with non-zero year, month and day values OR * A month and day value, with a zero year for recurring" +}, +"time": { +"$ref": "GoogleTypeTimeOfDay", +"description": "Time in UTC when the deny period starts on start_date and ends on end_date. This can be: * Full time OR * All zeros for 00:00:00 UTC" +} +}, +"type": "object" +}, +"Empty": { +"description": "A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }", +"id": "Empty", +"properties": {}, +"type": "object" +}, +"EncryptionConfig": { +"description": "EncryptionConfig describes the encryption config of a cluster or a backup that is encrypted with a CMEK (customer-managed encryption key).", +"id": "EncryptionConfig", +"properties": { +"kmsKeyName": { +"description": "The fully-qualified resource name of the KMS key. Each Cloud KMS key is regionalized and has the following format: projects/[PROJECT]/locations/[REGION]/keyRings/[RING]/cryptoKeys/[KEY_NAME]", +"type": "string" +} +}, +"type": "object" +}, +"EncryptionInfo": { +"description": "EncryptionInfo describes the encryption information of a cluster or a backup.", +"id": "EncryptionInfo", +"properties": { +"encryptionType": { +"description": "Output only. Type of encryption.", +"enum": [ +"TYPE_UNSPECIFIED", +"GOOGLE_DEFAULT_ENCRYPTION", +"CUSTOMER_MANAGED_ENCRYPTION" +], +"enumDescriptions": [ +"Encryption type not specified. Defaults to GOOGLE_DEFAULT_ENCRYPTION.", +"The data is encrypted at rest with a key that is fully managed by Google. No key version will be populated. This is the default state.", +"The data is encrypted at rest with a key that is managed by the customer. KMS key versions will be populated." +], +"readOnly": true, +"type": "string" +}, +"kmsKeyVersions": { +"description": "Output only. Cloud KMS key versions that are being used to protect the database or the backup.", +"items": { +"type": "string" +}, +"readOnly": true, +"type": "array" +} +}, +"type": "object" +}, +"ExportClusterRequest": { +"description": "Export cluster request.", +"id": "ExportClusterRequest", +"properties": { +"csvExportOptions": { +"$ref": "CsvExportOptions", +"description": "Options for exporting data in CSV format. Required field to be set for CSV file type." +}, +"database": { +"description": "Required. Name of the database where the export command will be executed. Note - Value provided should be the same as expected from `SELECT current_database();` and NOT as a resource reference.", +"type": "string" +}, +"gcsDestination": { +"$ref": "GcsDestination", +"description": "Required. Option to export data to cloud storage." +}, +"sqlExportOptions": { +"$ref": "SqlExportOptions", +"description": "Options for exporting data in SQL format. Required field to be set for SQL file type." +} +}, +"type": "object" +}, +"ExportClusterResponse": { +"description": "Response of export cluster rpc.", +"id": "ExportClusterResponse", +"properties": { +"gcsDestination": { +"$ref": "GcsDestination", +"description": "Required. Option to export data to cloud storage." +} +}, +"type": "object" +}, +"FailoverInstanceRequest": { +"description": "Message for triggering failover on an Instance", +"id": "FailoverInstanceRequest", +"properties": { +"requestId": { +"description": "Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server ignores the request if it has already been completed. The server guarantees that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if the original operation with the same request ID was received, and if so, ignores the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", +"type": "string" +}, +"validateOnly": { +"description": "Optional. If set, performs request validation, for example, permission checks and any other type of validation, but does not actually execute the create request.", +"type": "boolean" +} +}, +"type": "object" +}, +"GcsDestination": { +"description": "Destination for Export. Export will be done to cloud storage.", +"id": "GcsDestination", +"properties": { +"uri": { +"description": "Required. The path to the file in Google Cloud Storage where the export will be stored. The URI is in the form `gs://bucketName/fileName`.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudLocationListLocationsResponse": { +"description": "The response message for Locations.ListLocations.", +"id": "GoogleCloudLocationListLocationsResponse", +"properties": { +"locations": { +"description": "A list of locations that matches the specified filter in the request.", +"items": { +"$ref": "GoogleCloudLocationLocation" +}, +"type": "array" +}, +"nextPageToken": { +"description": "The standard List next-page token.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudLocationLocation": { +"description": "A resource that represents a Google Cloud location.", +"id": "GoogleCloudLocationLocation", +"properties": { +"displayName": { +"description": "The friendly name for this location, typically a nearby city name. For example, \"Tokyo\".", +"type": "string" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Cross-service attributes for the location. For example {\"cloud.googleapis.com/region\": \"us-east1\"}", +"type": "object" +}, +"locationId": { +"description": "The canonical id for this location. For example: `\"us-east1\"`.", +"type": "string" +}, +"metadata": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "Service-specific metadata. For example the available capacity at the given location.", +"type": "object" +}, +"name": { +"description": "Resource name for the location, which may vary between implementations. For example: `\"projects/example-project/locations/us-east1\"`", +"type": "string" +} +}, +"type": "object" +}, +"GoogleTypeDate": { +"description": "Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following: * A full date, with non-zero year, month, and day values. * A month and day, with a zero year (for example, an anniversary). * A year on its own, with a zero month and a zero day. * A year and month, with a zero day (for example, a credit card expiration date). Related types: * google.type.TimeOfDay * google.type.DateTime * google.protobuf.Timestamp", +"id": "GoogleTypeDate", +"properties": { +"day": { +"description": "Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn't significant.", +"format": "int32", +"type": "integer" +}, +"month": { +"description": "Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.", +"format": "int32", +"type": "integer" +}, +"year": { +"description": "Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"GoogleTypeTimeOfDay": { +"description": "Represents a time of day. The date and time zone are either not significant or are specified elsewhere. An API may choose to allow leap seconds. Related types are google.type.Date and `google.protobuf.Timestamp`.", +"id": "GoogleTypeTimeOfDay", +"properties": { +"hours": { +"description": "Hours of a day in 24 hour format. Must be greater than or equal to 0 and typically must be less than or equal to 23. An API may choose to allow the value \"24:00:00\" for scenarios like business closing time.", +"format": "int32", +"type": "integer" +}, +"minutes": { +"description": "Minutes of an hour. Must be greater than or equal to 0 and less than or equal to 59.", +"format": "int32", +"type": "integer" +}, +"nanos": { +"description": "Fractions of seconds, in nanoseconds. Must be greater than or equal to 0 and less than or equal to 999,999,999.", +"format": "int32", +"type": "integer" +}, +"seconds": { +"description": "Seconds of a minute. Must be greater than or equal to 0 and typically must be less than or equal to 59. An API may allow the value 60 if it allows leap-seconds.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"ImportClusterRequest": { +"description": "Import cluster request.", +"id": "ImportClusterRequest", +"properties": { +"csvImportOptions": { +"$ref": "CsvImportOptions", +"description": "Options for importing data in CSV format." +}, +"database": { +"description": "Optional. Name of the database to which the import will be done. For import from SQL file, this is required only if the file does not specify a database. Note - Value provided should be the same as expected from `SELECT current_database();` and NOT as a resource reference.", +"type": "string" +}, +"gcsUri": { +"description": "Required. The path to the file in Google Cloud Storage where the source file for import will be stored. The URI is in the form `gs://bucketName/fileName`.", +"type": "string" +}, +"sqlImportOptions": { +"$ref": "SqlImportOptions", +"description": "Options for importing data in SQL format." +}, +"user": { +"description": "Optional. Database user to be used for importing the data. Note - Value provided should be the same as expected from `SELECT current_user;` and NOT as a resource reference.", +"type": "string" +} +}, +"type": "object" +}, +"ImportClusterResponse": { +"description": "Response of import rpc.", +"id": "ImportClusterResponse", +"properties": { +"bytesDownloaded": { +"description": "Required. Size of the object downloaded from Google Cloud Storage in bytes.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"InjectFaultRequest": { +"description": "Message for triggering fault injection on an instance", +"id": "InjectFaultRequest", +"properties": { +"faultType": { +"description": "Required. The type of fault to be injected in an instance.", +"enum": [ +"FAULT_TYPE_UNSPECIFIED", +"STOP_VM" +], +"enumDescriptions": [ +"The fault type is unknown.", +"Stop the VM" +], +"type": "string" +}, +"requestId": { +"description": "Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server ignores the request if it has already been completed. The server guarantees that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if the original operation with the same request ID was received, and if so, ignores the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", +"type": "string" +}, +"validateOnly": { +"description": "Optional. If set, performs request validation, for example, permission checks and any other type of validation, but does not actually execute the create request.", +"type": "boolean" +} +}, +"type": "object" +}, +"Instance": { +"description": "An Instance is a computing unit that an end customer can connect to. It's the main unit of computing resources in AlloyDB.", +"id": "Instance", +"properties": { +"activationPolicy": { +"description": "Optional. Specifies whether an instance needs to spin up. Once the instance is active, the activation policy can be updated to the `NEVER` to stop the instance. Likewise, the activation policy can be updated to `ALWAYS` to start the instance. There are restrictions around when an instance can/cannot be activated (for example, a read pool instance should be stopped before stopping primary etc.). Please refer to the API documentation for more details.", +"enum": [ +"ACTIVATION_POLICY_UNSPECIFIED", +"ALWAYS", +"NEVER" +], +"enumDescriptions": [ +"The policy is not specified.", +"The instance is running.", +"The instance is not running." +], +"type": "string" +}, +"annotations": { +"additionalProperties": { +"type": "string" +}, +"description": "Annotations to allow client tools to store small amount of arbitrary data. This is distinct from labels. https://google.aip.dev/128", +"type": "object" +}, +"availabilityType": { +"description": "Availability type of an Instance. If empty, defaults to REGIONAL for primary instances. For read pools, availability_type is always UNSPECIFIED. Instances in the read pools are evenly distributed across available zones within the region (i.e. read pools with more than one node will have a node in at least two zones).", +"enum": [ +"AVAILABILITY_TYPE_UNSPECIFIED", +"ZONAL", +"REGIONAL" +], +"enumDescriptions": [ +"This is an unknown Availability type.", +"Zonal available instance.", +"Regional (or Highly) available instance." +], +"type": "string" +}, +"clientConnectionConfig": { +"$ref": "ClientConnectionConfig", +"description": "Optional. Client connection specific configurations" +}, +"connectionPoolConfig": { +"$ref": "ConnectionPoolConfig", +"description": "Optional. The configuration for Managed Connection Pool (MCP)." +}, +"createTime": { +"description": "Output only. Create time stamp", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"dataApiAccess": { +"description": "Optional. Controls whether the Data API is enabled for this instance. When enabled, this allows authorized users to connect to the instance from the public internet using the `executeSql` API, even for private IP instances. If this is not specified, the data API is enabled by default for Google internal services like AlloyDB Studio. Disable it explicitly to disallow Google internal services as well.", +"enum": [ +"DEFAULT_DATA_API_ENABLED_FOR_GOOGLE_CLOUD_SERVICES", +"DISABLED", +"ENABLED" +], +"enumDescriptions": [ +"DEFAULT_DATA_API_ENABLED_FOR_GOOGLE_CLOUD_SERVICES is a default value that allows Google internal services like AlloyDB Studio to access the instance.", +"Data API access is disabled for this instance.", +"Data API access is enabled for this instance. For private IP instances, this allows authorized users to access the instance from the public internet using the ExecuteSql API." +], +"type": "string" +}, +"databaseFlags": { +"additionalProperties": { +"type": "string" +}, +"description": "Database flags. Set at the instance level. They are copied from the primary instance on secondary instance creation. Flags that have restrictions default to the value at primary instance on read instances during creation. Read instances can set new flags or override existing flags that are relevant for reads, for example, for enabling columnar cache on a read instance. Flags set on read instance might or might not be present on the primary instance. This is a list of \"key\": \"value\" pairs. \"key\": The name of the flag. These flags are passed at instance setup time, so include both server options and system variables for Postgres. Flags are specified with underscores, not hyphens. \"value\": The value of the flag. Booleans are set to **on** for true and **off** for false. This field must be omitted if the flag doesn't take a value.", +"type": "object" +}, +"deleteTime": { +"description": "Output only. Delete time stamp", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"displayName": { +"description": "User-settable and human-readable display name for the Instance.", +"type": "string" +}, +"etag": { +"description": "For Resource freshness validation (https://google.aip.dev/154)", +"type": "string" +}, +"gceZone": { +"description": "The Compute Engine zone that the instance should serve from, per https://cloud.google.com/compute/docs/regions-zones This can ONLY be specified for ZONAL instances. If present for a REGIONAL instance, an error will be thrown. If this is absent for a ZONAL instance, instance is created in a random zone with available capacity.", +"type": "string" +}, +"instanceType": { +"description": "Required. The type of the instance. Specified at creation time.", +"enum": [ +"INSTANCE_TYPE_UNSPECIFIED", +"PRIMARY", +"READ_POOL", +"SECONDARY" +], +"enumDescriptions": [ +"The type of the instance is unknown.", +"PRIMARY instances support read and write operations.", +"READ POOL instances support read operations only. Each read pool instance consists of one or more homogeneous nodes. * Read pool of size 1 can only have zonal availability. * Read pools with node count of 2 or more can have regional availability (nodes are present in 2 or more zones in a region).", +"SECONDARY instances support read operations only. SECONDARY instance is a cross-region read replica" +], +"type": "string" +}, +"ipAddress": { +"description": "Output only. The IP address for the Instance. This is the connection endpoint for an end-user application.", +"readOnly": true, +"type": "string" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Labels as key value pairs", +"type": "object" +}, +"machineConfig": { +"$ref": "MachineConfig", +"description": "Configurations for the machines that host the underlying database engine." +}, +"maintenanceVersionName": { +"description": "Output only. Maintenance version of the instance, for example: POSTGRES_15.2025_07_15.04_00. Output only. Update this field via the parent cluster's maintenance_version field(s).", +"readOnly": true, +"type": "string" +}, +"name": { +"description": "Output only. The name of the instance resource with the format: * projects/{project}/locations/{region}/clusters/{cluster_id}/instances/{instance_id} where the cluster and instance ID segments should satisfy the regex expression `[a-z]([a-z0-9-]{0,61}[a-z0-9])?`, e.g. 1-63 characters of lowercase letters, numbers, and dashes, starting with a letter, and ending with a letter or number. For more details see https://google.aip.dev/122. The prefix of the instance resource name is the name of the parent resource: * projects/{project}/locations/{region}/clusters/{cluster_id}", +"readOnly": true, +"type": "string" +}, +"networkConfig": { +"$ref": "InstanceNetworkConfig", +"description": "Optional. Instance-level network configuration." +}, +"nodes": { +"description": "Output only. List of available read-only VMs in this instance, including the standby for a PRIMARY instance.", +"items": { +"$ref": "Node" +}, +"readOnly": true, +"type": "array" +}, +"observabilityConfig": { +"$ref": "ObservabilityInstanceConfig", +"description": "Configuration for observability." +}, +"outboundPublicIpAddresses": { +"description": "Output only. All outbound public IP addresses configured for the instance.", +"items": { +"type": "string" +}, +"readOnly": true, +"type": "array" +}, +"pscInstanceConfig": { +"$ref": "PscInstanceConfig", +"description": "Optional. The configuration for Private Service Connect (PSC) for the instance." +}, +"publicIpAddress": { +"description": "Output only. The public IP addresses for the Instance. This is available ONLY when enable_public_ip is set. This is the connection endpoint for an end-user application.", +"readOnly": true, +"type": "string" +}, +"queryInsightsConfig": { +"$ref": "QueryInsightsInstanceConfig", +"description": "Configuration for query insights." +}, +"readPoolConfig": { +"$ref": "ReadPoolConfig", +"description": "Read pool instance configuration. This is required if the value of instanceType is READ_POOL." +}, +"reconciling": { +"description": "Output only. Reconciling (https://google.aip.dev/128#reconciliation). Set to true if the current state of Instance does not match the user's intended state, and the service is actively updating the resource to reconcile them. This can happen due to user-triggered updates or system actions like failover or maintenance.", +"readOnly": true, +"type": "boolean" +}, +"satisfiesPzs": { +"description": "Output only. Reserved for future use.", +"readOnly": true, +"type": "boolean" +}, +"state": { +"description": "Output only. The current serving state of the instance.", +"enum": [ +"STATE_UNSPECIFIED", +"READY", +"STOPPED", +"CREATING", +"DELETING", +"MAINTENANCE", +"FAILED", +"BOOTSTRAPPING", +"PROMOTING", +"SWITCHOVER", +"STOPPING", +"STARTING" +], +"enumDescriptions": [ +"The state of the instance is unknown.", +"The instance is active and running.", +"The instance is stopped. Instance name and IP resources are preserved.", +"The instance is being created.", +"The instance is being deleted.", +"The instance is down for maintenance.", +"The creation of the instance failed or a fatal error occurred during an operation on the instance. Note: Instances in this state would tried to be auto-repaired. And Customers should be able to restart, update or delete these instances.", +"The instance has been configured to sync data from some other source.", +"The instance is being promoted.", +"The instance has entered switchover state. All updates on instance are restricted while the instance is in this state.", +"The instance is being stopped.", +"The instance is being started." +], +"readOnly": true, +"type": "string" +}, +"uid": { +"description": "Output only. The system-generated UID of the resource. The UID is assigned when the resource is created, and it is retained until it is deleted.", +"readOnly": true, +"type": "string" +}, +"updateTime": { +"description": "Output only. Update time stamp", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"writableNode": { +"$ref": "Node", +"description": "Output only. This is set for the read-write VM of the PRIMARY instance only.", +"readOnly": true +} +}, +"type": "object" +}, +"InstanceNetworkConfig": { +"description": "Metadata related to instance-level network configuration.", +"id": "InstanceNetworkConfig", +"properties": { +"allocatedIpRangeOverride": { +"description": "Optional. Name of the allocated IP range for the private IP AlloyDB instance, for example: \"google-managed-services-default\". If set, the instance IPs will be created from this allocated range and will override the IP range used by the parent cluster. The range name must comply with [RFC 1035](https://datatracker.ietf.org/doc/html/rfc1035). Specifically, the name must be 1-63 characters long and match the regular expression [a-z]([-a-z0-9]*[a-z0-9])?.", +"type": "string" +}, +"authorizedExternalNetworks": { +"description": "Optional. A list of external network authorized to access this instance.", +"items": { +"$ref": "AuthorizedNetwork" +}, +"type": "array" +}, +"enableOutboundPublicIp": { +"description": "Optional. Enabling an outbound public IP address to support a database server sending requests out into the internet.", +"type": "boolean" +}, +"enablePublicIp": { +"description": "Optional. Enabling public ip for the instance.", +"type": "boolean" +}, +"network": { +"description": "Output only. The resource link for the VPC network in which instance resources are created and from which they are accessible via Private IP. This will be the same value as the parent cluster's network. It is specified in the form: // `projects/{project_number}/global/networks/{network_id}`.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"InstanceUpgradeDetails": { +"description": "Details regarding the upgrade of instances associated with a cluster.", +"id": "InstanceUpgradeDetails", +"properties": { +"instanceType": { +"description": "Instance type.", +"enum": [ +"INSTANCE_TYPE_UNSPECIFIED", +"PRIMARY", +"READ_POOL", +"SECONDARY" +], +"enumDescriptions": [ +"The type of the instance is unknown.", +"PRIMARY instances support read and write operations.", +"READ POOL instances support read operations only. Each read pool instance consists of one or more homogeneous nodes. * Read pool of size 1 can only have zonal availability. * Read pools with node count of 2 or more can have regional availability (nodes are present in 2 or more zones in a region).", +"SECONDARY instances support read operations only. SECONDARY instance is a cross-region read replica" +], +"type": "string" +}, +"name": { +"description": "Normalized name of the instance.", +"type": "string" +}, +"upgradeStatus": { +"description": "Upgrade status of the instance.", +"enum": [ +"STATUS_UNSPECIFIED", +"NOT_STARTED", +"IN_PROGRESS", +"SUCCESS", +"FAILED", +"PARTIAL_SUCCESS", +"CANCEL_IN_PROGRESS", +"CANCELLED" +], +"enumDescriptions": [ +"Unspecified status.", +"Not started.", +"In progress.", +"Operation succeeded.", +"Operation failed.", +"Operation partially succeeded.", +"Cancel is in progress.", +"Cancellation complete." +], +"type": "string" +} +}, +"type": "object" +}, +"IntegerRestrictions": { +"description": "Restrictions on INTEGER type values.", +"id": "IntegerRestrictions", +"properties": { +"maxValue": { +"description": "The maximum value that can be specified, if applicable.", +"format": "int64", +"type": "string" +}, +"minValue": { +"description": "The minimum value that can be specified, if applicable.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"ListBackupsResponse": { +"description": "Message for response to listing Backups", +"id": "ListBackupsResponse", +"properties": { +"backups": { +"description": "The list of Backup", +"items": { +"$ref": "Backup" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A token identifying a page of results the server should return.", +"type": "string" +}, +"unreachable": { +"description": "Locations that could not be reached.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListClustersResponse": { +"description": "Message for response to listing Clusters", +"id": "ListClustersResponse", +"properties": { +"clusters": { +"description": "The list of Cluster", +"items": { +"$ref": "Cluster" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A token identifying a page of results the server should return.", +"type": "string" +}, +"unreachable": { +"description": "Locations that could not be reached.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListInstancesResponse": { +"description": "Message for response to listing Instances", +"id": "ListInstancesResponse", +"properties": { +"instances": { +"description": "The list of Instance", +"items": { +"$ref": "Instance" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A token identifying a page of results the server should return.", +"type": "string" +}, +"unreachable": { +"description": "Locations that could not be reached.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListOperationsResponse": { +"description": "The response message for Operations.ListOperations.", +"id": "ListOperationsResponse", +"properties": { +"nextPageToken": { +"description": "The standard List next-page token.", +"type": "string" +}, +"operations": { +"description": "A list of operations that matches the specified filter in the request.", +"items": { +"$ref": "Operation" +}, +"type": "array" +}, +"unreachable": { +"description": "Unordered list. Unreachable resources. Populated when the request sets `ListOperationsRequest.return_partial_success` and reads across collections. For example, when attempting to list all resources across all supported locations.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListSupportedDatabaseFlagsResponse": { +"description": "Message for response to listing SupportedDatabaseFlags.", +"id": "ListSupportedDatabaseFlagsResponse", +"properties": { +"nextPageToken": { +"description": "A token identifying a page of results the server should return.", +"type": "string" +}, +"supportedDatabaseFlags": { +"description": "The list of SupportedDatabaseFlags.", +"items": { +"$ref": "SupportedDatabaseFlag" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListUsersResponse": { +"description": "Message for response to listing Users", +"id": "ListUsersResponse", +"properties": { +"nextPageToken": { +"description": "A token identifying a page of results the server should return.", +"type": "string" +}, +"unreachable": { +"description": "Locations that could not be reached.", +"items": { +"type": "string" +}, +"type": "array" +}, +"users": { +"description": "The list of User", +"items": { +"$ref": "User" +}, +"type": "array" +} +}, +"type": "object" +}, +"MachineConfig": { +"description": "MachineConfig describes the configuration of a machine.", +"id": "MachineConfig", +"properties": { +"cpuCount": { +"description": "The number of CPU's in the VM instance.", +"format": "int32", +"type": "integer" +}, +"machineType": { +"description": "Machine type of the VM instance. E.g. \"n2-highmem-4\", \"n2-highmem-8\", \"c4a-highmem-4-lssd\". cpu_count must match the number of vCPUs in the machine type.", +"type": "string" +} +}, +"type": "object" +}, +"MaintenanceSchedule": { +"description": "MaintenanceSchedule stores the maintenance schedule generated from the MaintenanceUpdatePolicy, once a maintenance rollout is triggered, if MaintenanceWindow is set, and if there is no conflicting DenyPeriod. The schedule is cleared once the update takes place. This field cannot be manually changed; modify the MaintenanceUpdatePolicy instead.", +"id": "MaintenanceSchedule", +"properties": { +"startTime": { +"description": "Output only. The scheduled start time for the maintenance.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"MaintenanceUpdatePolicy": { +"description": "MaintenanceUpdatePolicy defines the policy for system updates.", +"id": "MaintenanceUpdatePolicy", +"properties": { +"denyMaintenancePeriods": { +"description": "Periods to deny maintenance. Currently limited to 1.", +"items": { +"$ref": "DenyMaintenancePeriod" +}, +"type": "array" +}, +"maintenanceWindows": { +"description": "Preferred windows to perform maintenance. Currently limited to 1.", +"items": { +"$ref": "MaintenanceWindow" +}, +"type": "array" +} +}, +"type": "object" +}, +"MaintenanceWindow": { +"description": "MaintenanceWindow specifies a preferred day and time for maintenance.", +"id": "MaintenanceWindow", +"properties": { +"day": { +"description": "Preferred day of the week for maintenance, e.g. MONDAY, TUESDAY, etc.", +"enum": [ +"DAY_OF_WEEK_UNSPECIFIED", +"MONDAY", +"TUESDAY", +"WEDNESDAY", +"THURSDAY", +"FRIDAY", +"SATURDAY", +"SUNDAY" +], +"enumDescriptions": [ +"The day of the week is unspecified.", +"Monday", +"Tuesday", +"Wednesday", +"Thursday", +"Friday", +"Saturday", +"Sunday" +], +"type": "string" +}, +"startTime": { +"$ref": "GoogleTypeTimeOfDay", +"description": "Preferred time to start the maintenance operation on the specified day. Maintenance will start within 1 hour of this time." +} +}, +"type": "object" +}, +"MigrationSource": { +"description": "Subset of the source instance configuration that is available when reading the cluster resource.", +"id": "MigrationSource", +"properties": { +"hostPort": { +"description": "Output only. The host and port of the on-premises instance in host:port format", +"readOnly": true, +"type": "string" +}, +"referenceId": { +"description": "Output only. Place holder for the external source identifier(e.g DMS job name) that created the cluster.", +"readOnly": true, +"type": "string" +}, +"sourceType": { +"description": "Output only. Type of migration source.", +"enum": [ +"MIGRATION_SOURCE_TYPE_UNSPECIFIED", +"DMS" +], +"enumDescriptions": [ +"Migration source is unknown.", +"DMS source means the cluster was created via DMS migration job." +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"NetworkConfig": { +"description": "Metadata related to network configuration.", +"id": "NetworkConfig", +"properties": { +"allocatedIpRange": { +"description": "Optional. Name of the allocated IP range for the private IP AlloyDB cluster, for example: \"google-managed-services-default\". If set, the instance IPs for this cluster will be created in the allocated range. The range name must comply with RFC 1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?`. Field name is intended to be consistent with Cloud SQL.", +"type": "string" +}, +"network": { +"description": "Optional. The resource link for the VPC network in which cluster resources are created and from which they are accessible via Private IP. The network must belong to the same project as the cluster. It is specified in the form: `projects/{project_number}/global/networks/{network_id}`. This is required to create a cluster.", +"type": "string" +} +}, +"type": "object" +}, +"Node": { +"description": "Details of a single node in the instance. Nodes in an AlloyDB instance are ephemeral, they can change during update, failover, autohealing and resize operations.", +"id": "Node", +"properties": { +"id": { +"description": "Output only. The identifier of the VM e.g. \"test-read-0601-407e52be-ms3l\".", +"readOnly": true, +"type": "string" +}, +"ip": { +"description": "Output only. The private IP address of the VM e.g. \"10.57.0.34\".", +"readOnly": true, +"type": "string" +}, +"state": { +"description": "Output only. Determined by state of the compute VM and postgres-service health. Compute VM state can have values listed in https://cloud.google.com/compute/docs/instances/instance-life-cycle and postgres-service health can have values: HEALTHY and UNHEALTHY.", +"readOnly": true, +"type": "string" +}, +"zoneId": { +"description": "Output only. The Compute Engine zone of the VM e.g. \"us-central1-b\".", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"ObservabilityInstanceConfig": { +"description": "Observability Instance specific configuration.", +"id": "ObservabilityInstanceConfig", +"properties": { +"enabled": { +"description": "Observability feature status for an instance. This flag is turned \"off\" by default.", +"type": "boolean" +}, +"maxQueryStringLength": { +"description": "Query string length. The default value is 10k.", +"format": "int32", +"type": "integer" +}, +"preserveComments": { +"description": "Preserve comments in query string for an instance. This flag is turned \"off\" by default.", +"type": "boolean" +}, +"queryPlansPerMinute": { +"description": "Number of query execution plans captured by Insights per minute for all queries combined. The default value is 200. Any integer between 0 to 200 is considered valid.", +"format": "int32", +"type": "integer" +}, +"recordApplicationTags": { +"description": "Record application tags for an instance. This flag is turned \"off\" by default.", +"type": "boolean" +}, +"trackActiveQueries": { +"description": "Track actively running queries on the instance. If not set, this flag is \"off\" by default.", +"type": "boolean" +}, +"trackWaitEventTypes": { +"description": "Output only. Track wait event types during query execution for an instance. This flag is turned \"on\" by default but tracking is enabled only after observability enabled flag is also turned on. This is read-only flag and only modifiable by internal API.", +"readOnly": true, +"type": "boolean" +}, +"trackWaitEvents": { +"description": "Track wait events during query execution for an instance. This flag is turned \"on\" by default but tracking is enabled only after observability enabled flag is also turned on.", +"type": "boolean" +} +}, +"type": "object" +}, +"Operation": { +"description": "This resource represents a long-running operation that is the result of a network API call.", +"id": "Operation", +"properties": { +"done": { +"description": "If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.", +"type": "boolean" +}, +"error": { +"$ref": "Status", +"description": "The error result of the operation in case of failure or cancellation." +}, +"metadata": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.", +"type": "object" +}, +"name": { +"description": "The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.", +"type": "string" +}, +"response": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "The normal, successful response of the operation. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.", +"type": "object" +} +}, +"type": "object" +}, +"OperationMetadata": { +"description": "Represents the metadata of the long-running operation.", +"id": "OperationMetadata", +"properties": { +"apiVersion": { +"description": "Output only. API version used to start the operation.", +"readOnly": true, +"type": "string" +}, +"createTime": { +"description": "Output only. The time the operation was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"endTime": { +"description": "Output only. The time the operation finished running.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"requestedCancellation": { +"description": "Output only. Identifies whether the user has requested cancellation of the operation. Operations that have successfully been cancelled have google.longrunning.Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.", +"readOnly": true, +"type": "boolean" +}, +"statusMessage": { +"description": "Output only. Human-readable status of the operation, if any.", +"readOnly": true, +"type": "string" +}, +"target": { +"description": "Output only. Server-defined resource path for the target of the operation.", +"readOnly": true, +"type": "string" +}, +"upgradeClusterStatus": { +"$ref": "UpgradeClusterStatus", +"description": "Output only. UpgradeClusterStatus related metadata.", +"readOnly": true +}, +"verb": { +"description": "Output only. Name of the verb executed by the operation.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"PrimaryConfig": { +"description": "Configuration for the primary cluster. It has the list of clusters that are replicating from this cluster. This should be set if and only if the cluster is of type PRIMARY.", +"id": "PrimaryConfig", +"properties": { +"secondaryClusterNames": { +"description": "Output only. Names of the clusters that are replicating from this cluster.", +"items": { +"type": "string" +}, +"readOnly": true, +"type": "array" +} +}, +"type": "object" +}, +"PromoteClusterRequest": { +"description": "Message for promoting a Cluster", +"id": "PromoteClusterRequest", +"properties": { +"etag": { +"description": "Optional. The current etag of the Cluster. If an etag is provided and does not match the current etag of the Cluster, deletion will be blocked and an ABORTED error will be returned.", +"type": "string" +}, +"requestId": { +"description": "Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server ignores the request if it has already been completed. The server guarantees that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", +"type": "string" +}, +"validateOnly": { +"description": "Optional. If set, performs request validation, for example, permission checks and any other type of validation, but does not actually execute the create request.", +"type": "boolean" +} +}, +"type": "object" +}, +"PscAutoConnectionConfig": { +"description": "Configuration for setting up PSC service automation. Consumer projects in the configs will be allowlisted automatically for the instance.", +"id": "PscAutoConnectionConfig", +"properties": { +"consumerNetwork": { +"description": "The consumer network for the PSC service automation, example: \"projects/vpc-host-project/global/networks/default\". The consumer network might be hosted a different project than the consumer project.", +"type": "string" +}, +"consumerNetworkStatus": { +"description": "Output only. The status of the service connection policy. Possible values: \"STATE_UNSPECIFIED\" - Default state, when Connection Map is created initially. \"VALID\" - Set when policy and map configuration is valid, and their matching can lead to allowing creation of PSC Connections subject to other constraints like connections limit. \"CONNECTION_POLICY_MISSING\" - No Service Connection Policy found for this network and Service Class \"POLICY_LIMIT_REACHED\" - Service Connection Policy limit reached for this network and Service Class \"CONSUMER_INSTANCE_PROJECT_NOT_ALLOWLISTED\" - The consumer instance project is not in AllowedGoogleProducersResourceHierarchyLevels of the matching ServiceConnectionPolicy.", +"readOnly": true, +"type": "string" +}, +"consumerProject": { +"description": "The consumer project to which the PSC service automation endpoint will be created.", +"type": "string" +}, +"ipAddress": { +"description": "Output only. The IP address of the PSC service automation endpoint.", +"readOnly": true, +"type": "string" +}, +"status": { +"description": "Output only. The status of the PSC service automation connection. Possible values: \"STATE_UNSPECIFIED\" - An invalid state as the default case. \"ACTIVE\" - The connection has been created successfully. \"FAILED\" - The connection is not functional since some resources on the connection fail to be created. \"CREATING\" - The connection is being created. \"DELETING\" - The connection is being deleted. \"CREATE_REPAIRING\" - The connection is being repaired to complete creation. \"DELETE_REPAIRING\" - The connection is being repaired to complete deletion.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"PscConfig": { +"description": "PscConfig contains PSC related configuration at a cluster level.", +"id": "PscConfig", +"properties": { +"pscEnabled": { +"description": "Optional. Create an instance that allows connections from Private Service Connect endpoints to the instance.", +"type": "boolean" +}, +"serviceOwnedProjectNumber": { +"description": "Output only. The project number that needs to be allowlisted on the network attachment to enable outbound connectivity.", +"format": "int64", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"PscInstanceConfig": { +"description": "PscInstanceConfig contains PSC related configuration at an instance level.", +"id": "PscInstanceConfig", +"properties": { +"allowedConsumerProjects": { +"description": "Optional. List of consumer projects that are allowed to create PSC endpoints to service-attachments to this instance.", +"items": { +"type": "string" +}, +"type": "array" +}, +"pscAutoConnections": { +"description": "Optional. Configurations for setting up PSC service automation.", +"items": { +"$ref": "PscAutoConnectionConfig" +}, +"type": "array" +}, +"pscDnsName": { +"description": "Output only. The DNS name of the instance for PSC connectivity. Name convention: ...alloydb-psc.goog", +"readOnly": true, +"type": "string" +}, +"pscInterfaceConfigs": { +"description": "Optional. Configurations for setting up PSC interfaces attached to the instance which are used for outbound connectivity. Only primary instances can have PSC interface attached. Currently we only support 0 or 1 PSC interface.", +"items": { +"$ref": "PscInterfaceConfig" +}, +"type": "array" +}, +"serviceAttachmentLink": { +"description": "Output only. The service attachment created when Private Service Connect (PSC) is enabled for the instance. The name of the resource will be in the format of `projects//regions//serviceAttachments/`", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"PscInterfaceConfig": { +"description": "Configuration for setting up a PSC interface to enable outbound connectivity.", +"id": "PscInterfaceConfig", +"properties": { +"networkAttachmentResource": { +"description": "The network attachment resource created in the consumer network to which the PSC interface will be linked. This is of the format: \"projects/${CONSUMER_PROJECT}/regions/${REGION}/networkAttachments/${NETWORK_ATTACHMENT_NAME}\". The network attachment must be in the same region as the instance.", +"type": "string" +} +}, +"type": "object" +}, +"QuantityBasedExpiry": { +"description": "A backup's position in a quantity-based retention queue, of backups with the same source cluster and type, with length, retention, specified by the backup's retention policy. Once the position is greater than the retention, the backup is eligible to be garbage collected. Example: 5 backups from the same source cluster and type with a quantity-based retention of 3 and denoted by backup_id (position, retention). Safe: backup_5 (1, 3), backup_4, (2, 3), backup_3 (3, 3). Awaiting garbage collection: backup_2 (4, 3), backup_1 (5, 3)", +"id": "QuantityBasedExpiry", +"properties": { +"retentionCount": { +"description": "Output only. The backup's position among its backups with the same source cluster and type, by descending chronological order create time(i.e. newest first).", +"format": "int32", +"readOnly": true, +"type": "integer" +}, +"totalRetentionCount": { +"description": "Output only. The length of the quantity-based queue, specified by the backup's retention policy.", +"format": "int32", +"readOnly": true, +"type": "integer" +} +}, +"type": "object" +}, +"QuantityBasedRetention": { +"description": "A quantity based policy specifies that a certain number of the most recent successful backups should be retained.", +"id": "QuantityBasedRetention", +"properties": { +"count": { +"description": "The number of backups to retain.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"QueryInsightsInstanceConfig": { +"description": "QueryInsights Instance specific configuration.", +"id": "QueryInsightsInstanceConfig", +"properties": { +"queryPlansPerMinute": { +"description": "Number of query execution plans captured by Insights per minute for all queries combined. The default value is 5. Any integer between 0 and 20 is considered valid.", +"format": "uint32", +"type": "integer" +}, +"queryStringLength": { +"description": "Query string length. The default value is 1024. Any integer between 256 and 4500 is considered valid.", +"format": "uint32", +"type": "integer" +}, +"recordApplicationTags": { +"description": "Record application tags for an instance. This flag is turned \"on\" by default.", +"type": "boolean" +}, +"recordClientAddress": { +"description": "Record client address for an instance. Client address is PII information. This flag is turned \"on\" by default.", +"type": "boolean" +} +}, +"type": "object" +}, +"ReadPoolConfig": { +"description": "Configuration for a read pool instance.", +"id": "ReadPoolConfig", +"properties": { +"nodeCount": { +"description": "Read capacity, i.e. number of nodes in a read pool instance.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"ReadPoolInstancesUpgradeStageStatus": { +"description": "Read pool instances upgrade specific status.", +"id": "ReadPoolInstancesUpgradeStageStatus", +"properties": { +"upgradeStats": { +"$ref": "Stats", +"description": "Read pool instances upgrade statistics." +} +}, +"type": "object" +}, +"RestartInstanceRequest": { +"id": "RestartInstanceRequest", +"properties": { +"nodeIds": { +"description": "Optional. Full name of the nodes as obtained from INSTANCE_VIEW_FULL to restart upon. Applicable only to read instances.", +"items": { +"type": "string" +}, +"type": "array" +}, +"requestId": { +"description": "Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server ignores the request if it has already been completed. The server guarantees that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if the original operation with the same request ID was received, and if so, ignores the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", +"type": "string" +}, +"validateOnly": { +"description": "Optional. If set, performs request validation, for example, permission checks and any other type of validation, but does not actually execute the create request.", +"type": "boolean" +} +}, +"type": "object" +}, +"RestoreClusterRequest": { +"description": "Message for restoring a Cluster from a backup or another cluster at a given point in time. NEXT_ID: 11", +"id": "RestoreClusterRequest", +"properties": { +"backupSource": { +"$ref": "BackupSource", +"description": "Backup source." +}, +"backupdrBackupSource": { +"$ref": "BackupDrBackupSource", +"description": "BackupDR backup source." +}, +"backupdrPitrSource": { +"$ref": "BackupDrPitrSource", +"description": "BackupDR source used for point in time recovery." +}, +"cluster": { +"$ref": "Cluster", +"description": "Required. The resource being created" +}, +"clusterId": { +"description": "Required. ID of the requesting object.", +"type": "string" +}, +"continuousBackupSource": { +"$ref": "ContinuousBackupSource", +"description": "ContinuousBackup source. Continuous backup needs to be enabled in the source cluster for this operation to succeed." +}, +"requestId": { +"description": "Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server ignores the request if it has already been completed. The server guarantees that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if the original operation with the same request ID was received, and if so, ignores the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", +"type": "string" +}, +"validateOnly": { +"description": "Optional. If set, performs request validation, for example, permission checks and any other type of validation, but does not actually execute the create request.", +"type": "boolean" +} +}, +"type": "object" +}, +"RestoreFromCloudSQLRequest": { +"description": "Message for registering Restoring from CloudSQL resource.", +"id": "RestoreFromCloudSQLRequest", +"properties": { +"cloudsqlBackupRunSource": { +"$ref": "CloudSQLBackupRunSource", +"description": "Cluster created from CloudSQL backup run." +}, +"cluster": { +"$ref": "Cluster", +"description": "Required. The resource being created" +}, +"clusterId": { +"description": "Required. ID of the requesting object.", +"type": "string" +} +}, +"type": "object" +}, +"SecondaryConfig": { +"description": "Configuration information for the secondary cluster. This should be set if and only if the cluster is of type SECONDARY.", +"id": "SecondaryConfig", +"properties": { +"primaryClusterName": { +"description": "The name of the primary cluster name with the format: * projects/{project}/locations/{region}/clusters/{cluster_id}", +"type": "string" +} +}, +"type": "object" +}, +"SqlExportOptions": { +"description": "Options for exporting data in SQL format.", +"id": "SqlExportOptions", +"properties": { +"cleanTargetObjects": { +"description": "Optional. If true, output commands to DROP all the dumped database objects prior to outputting the commands for creating them.", +"type": "boolean" +}, +"ifExistTargetObjects": { +"description": "Optional. If true, use DROP ... IF EXISTS commands to check for the object's existence before dropping it in clean_target_objects mode.", +"type": "boolean" +}, +"schemaOnly": { +"description": "Optional. If true, only export the schema.", +"type": "boolean" +}, +"tables": { +"description": "Optional. Tables to export from.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"SqlImportOptions": { +"description": "Options for importing data in SQL format.", +"id": "SqlImportOptions", +"properties": {}, +"type": "object" +}, +"SslConfig": { +"description": "SSL configuration.", +"id": "SslConfig", +"properties": { +"caSource": { +"description": "Optional. Certificate Authority (CA) source. Only CA_SOURCE_MANAGED is supported currently, and is the default value.", +"enum": [ +"CA_SOURCE_UNSPECIFIED", +"CA_SOURCE_MANAGED" +], +"enumDescriptions": [ +"Certificate Authority (CA) source not specified. Defaults to CA_SOURCE_MANAGED.", +"Certificate Authority (CA) managed by the AlloyDB Cluster." +], +"type": "string" +}, +"sslMode": { +"description": "Optional. SSL mode. Specifies client-server SSL/TLS connection behavior.", +"enum": [ +"SSL_MODE_UNSPECIFIED", +"SSL_MODE_ALLOW", +"SSL_MODE_REQUIRE", +"SSL_MODE_VERIFY_CA", +"ALLOW_UNENCRYPTED_AND_ENCRYPTED", +"ENCRYPTED_ONLY" +], +"enumDeprecated": [ +false, +true, +true, +true, +false, +false +], +"enumDescriptions": [ +"SSL mode is not specified. Defaults to ENCRYPTED_ONLY.", +"SSL connections are optional. CA verification not enforced.", +"SSL connections are required. CA verification not enforced. Clients may use locally self-signed certificates (default psql client behavior).", +"SSL connections are required. CA verification enforced. Clients must have certificates signed by a Cluster CA, for example, using GenerateClientCertificate.", +"SSL connections are optional. CA verification not enforced.", +"SSL connections are required. CA verification not enforced." +], +"type": "string" +} +}, +"type": "object" +}, +"StageInfo": { +"description": "Stage information for different stages in the upgrade process.", +"id": "StageInfo", +"properties": { +"logsUrl": { +"description": "logs_url is the URL for the logs associated with a stage if that stage has logs. Right now, only three stages have logs: ALLOYDB_PRECHECK, PG_UPGRADE_CHECK, PRIMARY_INSTANCE_UPGRADE.", +"type": "string" +}, +"stage": { +"description": "The stage.", +"enum": [ +"STAGE_UNSPECIFIED", +"ALLOYDB_PRECHECK", +"PG_UPGRADE_CHECK", +"PREPARE_FOR_UPGRADE", +"PRIMARY_INSTANCE_UPGRADE", +"READ_POOL_INSTANCES_UPGRADE", +"ROLLBACK", +"CLEANUP" +], +"enumDescriptions": [ +"Unspecified stage.", +"Pre-upgrade custom checks, not covered by pg_upgrade.", +"Pre-upgrade pg_upgrade checks.", +"Clone the original cluster.", +"Upgrade the primary instance(downtime).", +"This stage is read pool upgrade.", +"Rollback in case of critical failures.", +"Cleanup." +], +"type": "string" +}, +"status": { +"description": "Status of the stage.", +"enum": [ +"STATUS_UNSPECIFIED", +"NOT_STARTED", +"IN_PROGRESS", +"SUCCESS", +"FAILED", +"PARTIAL_SUCCESS", +"CANCEL_IN_PROGRESS", +"CANCELLED" +], +"enumDescriptions": [ +"Unspecified status.", +"Not started.", +"In progress.", +"Operation succeeded.", +"Operation failed.", +"Operation partially succeeded.", +"Cancel is in progress.", +"Cancellation complete." +], +"type": "string" +} +}, +"type": "object" +}, +"StageStatus": { +"description": "Status of an upgrade stage.", +"id": "StageStatus", +"properties": { +"readPoolInstancesUpgrade": { +"$ref": "ReadPoolInstancesUpgradeStageStatus", +"description": "Read pool instances upgrade metadata." +}, +"stage": { +"description": "Upgrade stage.", +"enum": [ +"STAGE_UNSPECIFIED", +"ALLOYDB_PRECHECK", +"PG_UPGRADE_CHECK", +"PREPARE_FOR_UPGRADE", +"PRIMARY_INSTANCE_UPGRADE", +"READ_POOL_INSTANCES_UPGRADE", +"ROLLBACK", +"CLEANUP" +], +"enumDescriptions": [ +"Unspecified stage.", +"Pre-upgrade custom checks, not covered by pg_upgrade.", +"Pre-upgrade pg_upgrade checks.", +"Clone the original cluster.", +"Upgrade the primary instance(downtime).", +"This stage is read pool upgrade.", +"Rollback in case of critical failures.", +"Cleanup." +], +"type": "string" +}, +"state": { +"description": "State of this stage.", +"enum": [ +"STATUS_UNSPECIFIED", +"NOT_STARTED", +"IN_PROGRESS", +"SUCCESS", +"FAILED", +"PARTIAL_SUCCESS", +"CANCEL_IN_PROGRESS", +"CANCELLED" +], +"enumDescriptions": [ +"Unspecified status.", +"Not started.", +"In progress.", +"Operation succeeded.", +"Operation failed.", +"Operation partially succeeded.", +"Cancel is in progress.", +"Cancellation complete." +], +"type": "string" +} +}, +"type": "object" +}, +"Stats": { +"description": "Upgrade stats for read pool instances.", +"id": "Stats", +"properties": { +"failed": { +"description": "Number of read pool instances which failed to upgrade.", +"format": "int32", +"type": "integer" +}, +"notStarted": { +"description": "Number of read pool instances for which upgrade has not started.", +"format": "int32", +"type": "integer" +}, +"ongoing": { +"description": "Number of read pool instances undergoing upgrade.", +"format": "int32", +"type": "integer" +}, +"success": { +"description": "Number of read pool instances successfully upgraded.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"Status": { +"description": "The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors).", +"id": "Status", +"properties": { +"code": { +"description": "The status code, which should be an enum value of google.rpc.Code.", +"format": "int32", +"type": "integer" +}, +"details": { +"description": "A list of messages that carry the error details. There is a common set of message types for APIs to use.", +"items": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.", +"type": "string" +} +}, +"type": "object" +}, +"StorageDatabasecenterPartnerapiV1mainAvailabilityConfiguration": { +"description": "Configuration for availability of database instance", +"id": "StorageDatabasecenterPartnerapiV1mainAvailabilityConfiguration", +"properties": { +"automaticFailoverRoutingConfigured": { +"description": "Checks for existence of (multi-cluster) routing configuration that allows automatic failover to a different zone/region in case of an outage. Applicable to Bigtable resources.", +"type": "boolean" +}, +"availabilityType": { +"description": "Availability type. Potential values: * `ZONAL`: The instance serves data from only one zone. Outages in that zone affect data accessibility. * `REGIONAL`: The instance can serve data from more than one zone in a region (it is highly available).", +"enum": [ +"AVAILABILITY_TYPE_UNSPECIFIED", +"ZONAL", +"REGIONAL", +"MULTI_REGIONAL", +"AVAILABILITY_TYPE_OTHER" +], +"enumDescriptions": [ +"", +"Zonal available instance.", +"Regional available instance.", +"Multi regional instance", +"For rest of the other category" +], +"type": "string" +}, +"crossRegionReplicaConfigured": { +"description": "Checks for resources that are configured to have redundancy, and ongoing replication across regions", +"type": "boolean" +}, +"externalReplicaConfigured": { +"type": "boolean" +}, +"promotableReplicaConfigured": { +"type": "boolean" +} +}, +"type": "object" +}, +"StorageDatabasecenterPartnerapiV1mainBackupConfiguration": { +"description": "Configuration for automatic backups", +"id": "StorageDatabasecenterPartnerapiV1mainBackupConfiguration", +"properties": { +"automatedBackupEnabled": { +"description": "Whether customer visible automated backups are enabled on the instance.", +"type": "boolean" +}, +"backupRetentionSettings": { +"$ref": "StorageDatabasecenterPartnerapiV1mainRetentionSettings", +"description": "Backup retention settings." +}, +"pointInTimeRecoveryEnabled": { +"description": "Whether point-in-time recovery is enabled. This is optional field, if the database service does not have this feature or metadata is not available in control plane, this can be omitted.", +"type": "boolean" +} +}, +"type": "object" +}, +"StorageDatabasecenterPartnerapiV1mainBackupDRConfiguration": { +"description": "BackupDRConfiguration to capture the backup and disaster recovery details of database resource.", +"id": "StorageDatabasecenterPartnerapiV1mainBackupDRConfiguration", +"properties": { +"backupdrManaged": { +"description": "Indicates if the resource is managed by BackupDR.", +"type": "boolean" +} +}, +"type": "object" +}, +"StorageDatabasecenterPartnerapiV1mainBackupDRMetadata": { +"description": "BackupDRMetadata contains information about the backup and disaster recovery metadata of a database resource.", +"id": "StorageDatabasecenterPartnerapiV1mainBackupDRMetadata", +"properties": { +"backupConfiguration": { +"$ref": "StorageDatabasecenterPartnerapiV1mainBackupConfiguration", +"description": "Backup configuration for this instance." +}, +"backupRun": { +"$ref": "StorageDatabasecenterPartnerapiV1mainBackupRun", +"description": "Latest backup run information for this instance." +}, +"backupdrConfiguration": { +"$ref": "StorageDatabasecenterPartnerapiV1mainBackupDRConfiguration", +"description": "BackupDR configuration for this instance." +}, +"fullResourceName": { +"description": "Required. Full resource name of this instance.", +"type": "string" +}, +"lastRefreshTime": { +"description": "Required. Last time backup configuration was refreshed.", +"format": "google-datetime", +"type": "string" +}, +"resourceId": { +"$ref": "StorageDatabasecenterPartnerapiV1mainDatabaseResourceId", +"description": "Required. Database resource id." +} +}, +"type": "object" +}, +"StorageDatabasecenterPartnerapiV1mainBackupRun": { +"description": "A backup run.", +"id": "StorageDatabasecenterPartnerapiV1mainBackupRun", +"properties": { +"endTime": { +"description": "The time the backup operation completed. REQUIRED", +"format": "google-datetime", +"type": "string" +}, +"error": { +"$ref": "StorageDatabasecenterPartnerapiV1mainOperationError", +"description": "Information about why the backup operation failed. This is only present if the run has the FAILED status. OPTIONAL" +}, +"startTime": { +"description": "The time the backup operation started. REQUIRED", +"format": "google-datetime", +"type": "string" +}, +"status": { +"description": "The status of this run. REQUIRED", +"enum": [ +"STATUS_UNSPECIFIED", +"SUCCESSFUL", +"FAILED" +], +"enumDescriptions": [ +"", +"The backup was successful.", +"The backup was unsuccessful." +], +"type": "string" +} +}, +"type": "object" +}, +"StorageDatabasecenterPartnerapiV1mainCompliance": { +"description": "Contains compliance information about a security standard indicating unmet recommendations.", +"id": "StorageDatabasecenterPartnerapiV1mainCompliance", +"properties": { +"standard": { +"description": "Industry-wide compliance standards or benchmarks, such as CIS, PCI, and OWASP.", +"type": "string" +}, +"version": { +"description": "Version of the standard or benchmark, for example, 1.1", +"type": "string" +} +}, +"type": "object" +}, +"StorageDatabasecenterPartnerapiV1mainConfigBasedSignalData": { +"description": "Config based signal data. This is used to send signals to Condor which are based on the DB level configurations. These will be used to send signals for self managed databases.", +"id": "StorageDatabasecenterPartnerapiV1mainConfigBasedSignalData", +"properties": { +"fullResourceName": { +"description": "Required. Full Resource name of the source resource.", +"type": "string" +}, +"lastRefreshTime": { +"description": "Required. Last time signal was refreshed", +"format": "google-datetime", +"type": "string" +}, +"resourceId": { +"$ref": "StorageDatabasecenterPartnerapiV1mainDatabaseResourceId", +"description": "Database resource id." +}, +"signalBoolValue": { +"description": "Signal data for boolean signals.", +"type": "boolean" +}, +"signalType": { +"description": "Required. Signal type of the signal", +"enum": [ +"SIGNAL_TYPE_UNSPECIFIED", +"SIGNAL_TYPE_OUTDATED_MINOR_VERSION", +"SIGNAL_TYPE_DATABASE_AUDITING_DISABLED", +"SIGNAL_TYPE_NO_ROOT_PASSWORD", +"SIGNAL_TYPE_EXPOSED_TO_PUBLIC_ACCESS", +"SIGNAL_TYPE_UNENCRYPTED_CONNECTIONS", +"SIGNAL_TYPE_EXTENDED_SUPPORT", +"SIGNAL_TYPE_NO_AUTOMATED_BACKUP_POLICY" +], +"enumDescriptions": [ +"Unspecified signal type.", +"Outdated Minor Version", +"Represents database auditing is disabled.", +"Represents if a database has a password configured for the root account or not.", +"Represents if a resource is exposed to public access.", +"Represents if a resources requires all incoming connections to use SSL or not.", +"Represents if a resource version is in extended support.", +"Represents if a resource has no automated backup policy." +], +"type": "string" +} +}, +"type": "object" +}, +"StorageDatabasecenterPartnerapiV1mainCustomMetadataData": { +"description": "Any custom metadata associated with the resource. e.g. A spanner instance can have multiple databases with its own unique metadata. Information for these individual databases can be captured in custom metadata data", +"id": "StorageDatabasecenterPartnerapiV1mainCustomMetadataData", +"properties": { +"internalResourceMetadata": { +"description": "Metadata for individual internal resources in an instance. e.g. spanner instance can have multiple databases with unique configuration.", +"items": { +"$ref": "StorageDatabasecenterPartnerapiV1mainInternalResourceMetadata" +}, +"type": "array" +} +}, +"type": "object" +}, +"StorageDatabasecenterPartnerapiV1mainDatabaseResourceFeed": { +"description": "DatabaseResourceFeed is the top level proto to be used to ingest different database resource level events into Condor platform. Next ID: 13", +"id": "StorageDatabasecenterPartnerapiV1mainDatabaseResourceFeed", +"properties": { +"backupdrMetadata": { +"$ref": "StorageDatabasecenterPartnerapiV1mainBackupDRMetadata", +"description": "BackupDR metadata is used to ingest metadata from BackupDR." +}, +"configBasedSignalData": { +"$ref": "StorageDatabasecenterPartnerapiV1mainConfigBasedSignalData", +"description": "Config based signal data is used to ingest signals that are generated based on the configuration of the database resource." +}, +"databaseResourceSignalData": { +"$ref": "StorageDatabasecenterPartnerapiV1mainDatabaseResourceSignalData", +"description": "Database resource signal data is used to ingest signals from database resource signal feeds." +}, +"feedTimestamp": { +"description": "Required. Timestamp when feed is generated.", +"format": "google-datetime", +"type": "string" +}, +"feedType": { +"description": "Required. Type feed to be ingested into condor", +"enum": [ +"FEEDTYPE_UNSPECIFIED", +"RESOURCE_METADATA", +"OBSERVABILITY_DATA", +"SECURITY_FINDING_DATA", +"RECOMMENDATION_SIGNAL_DATA", +"CONFIG_BASED_SIGNAL_DATA", +"BACKUPDR_METADATA", +"DATABASE_RESOURCE_SIGNAL_DATA" +], +"enumDescriptions": [ +"", +"Database resource metadata feed from control plane", +"Database resource monitoring data", +"Database resource security health signal data", +"Database resource recommendation signal data", +"Database config based signal data", +"Database resource metadata from BackupDR", +"Database resource signal data" +], +"type": "string" +}, +"observabilityMetricData": { +"$ref": "StorageDatabasecenterPartnerapiV1mainObservabilityMetricData" +}, +"recommendationSignalData": { +"$ref": "StorageDatabasecenterPartnerapiV1mainDatabaseResourceRecommendationSignalData" +}, +"resourceHealthSignalData": { +"$ref": "StorageDatabasecenterPartnerapiV1mainDatabaseResourceHealthSignalData" +}, +"resourceId": { +"$ref": "StorageDatabasecenterPartnerapiV1mainDatabaseResourceId", +"deprecated": true, +"description": "Primary key associated with the Resource. resource_id is available in individual feed level as well." +}, +"resourceMetadata": { +"$ref": "StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata" +}, +"skipIngestion": { +"description": "Optional. If true, the feed won't be ingested by DB Center. This indicates that the feed is intentionally skipped. For example, BackupDR feeds are only needed for resources integrated with DB Center (e.g., CloudSQL, AlloyDB). Feeds for non-integrated resources (e.g., Compute Engine, Persistent Disk) can be skipped.", +"type": "boolean" +} +}, +"type": "object" +}, +"StorageDatabasecenterPartnerapiV1mainDatabaseResourceHealthSignalData": { +"description": "Common model for database resource health signal data.", +"id": "StorageDatabasecenterPartnerapiV1mainDatabaseResourceHealthSignalData", +"properties": { +"additionalMetadata": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"description": "Any other additional metadata", +"type": "object" +}, +"compliance": { +"description": "Industry standards associated with this signal; if this signal is an issue, that could be a violation of the associated industry standard(s). For example, AUTO_BACKUP_DISABLED signal is associated with CIS GCP 1.1, CIS GCP 1.2, CIS GCP 1.3, NIST 800-53 and ISO-27001 compliance standards. If a database resource does not have automated backup enable, it will violate these following industry standards.", +"items": { +"$ref": "StorageDatabasecenterPartnerapiV1mainCompliance" +}, +"type": "array" +}, +"description": { +"description": "Description associated with signal", +"type": "string" +}, +"eventTime": { +"description": "Required. The last time at which the event described by this signal took place", +"format": "google-datetime", +"type": "string" +}, +"externalUri": { +"description": "The external-uri of the signal, using which more information about this signal can be obtained. In GCP, this will take user to SCC page to get more details about signals.", +"type": "string" +}, +"location": { +"description": "This is used to identify the location of the resource. Example: \"us-central1\"", +"type": "string" +}, +"name": { +"description": "Required. The name of the signal, ex: PUBLIC_SQL_INSTANCE, SQL_LOG_ERROR_VERBOSITY etc.", +"type": "string" +}, +"provider": { +"description": "Cloud provider name. Ex: GCP/AWS/Azure/OnPrem/SelfManaged", +"enum": [ +"PROVIDER_UNSPECIFIED", +"GCP", +"AWS", +"AZURE", +"ONPREM", +"SELFMANAGED", +"PROVIDER_OTHER" +], +"enumDescriptions": [ +"", +"Google cloud platform provider", +"Amazon web service", +"Azure web service", +"On-prem database resources.", +"Self-managed database provider. These are resources on a cloud platform, e.g., database resource installed in a GCE VM, but not a managed database service.", +"For the rest of the other categories. Other refers to the rest of other database service providers, this could be smaller cloud provider. This needs to be provided when the provider is known, but it is not present in the existing set of enum values." +], +"type": "string" +}, +"resourceContainer": { +"description": "Closest parent container of this resource. In GCP, 'container' refers to a Cloud Resource Manager project. It must be resource name of a Cloud Resource Manager project with the format of \"provider//\", such as \"projects/123\". For GCP provided resources, number should be project number.", +"type": "string" +}, +"resourceName": { +"description": "Required. Database resource name associated with the signal. Resource name to follow CAIS resource_name format as noted here go/condor-common-datamodel", +"type": "string" +}, +"signalClass": { +"description": "Required. The class of the signal, such as if it's a THREAT or VULNERABILITY.", +"enum": [ +"CLASS_UNSPECIFIED", +"THREAT", +"VULNERABILITY", +"MISCONFIGURATION", +"OBSERVATION", +"ERROR" +], +"enumDescriptions": [ +"Unspecified signal class.", +"Describes unwanted or malicious activity.", +"Describes a potential weakness in software that increases risk to Confidentiality & Integrity & Availability.", +"Describes a potential weakness in cloud resource/asset configuration that increases risk.", +"Describes a security observation that is for informational purposes.", +"Describes an error that prevents some SCC functionality." +], +"type": "string" +}, +"signalId": { +"description": "Required. Unique identifier for the signal. This is an unique id which would be mainatined by partner to identify a signal.", +"type": "string" +}, +"signalSeverity": { +"description": "The severity of the signal, such as if it's a HIGH or LOW severity.", +"enum": [ +"SIGNAL_SEVERITY_UNSPECIFIED", +"CRITICAL", +"HIGH", +"MEDIUM", +"LOW" +], +"enumDescriptions": [ +"This value is used for findings when a source doesn't write a severity value.", +"A critical vulnerability is easily discoverable by an external actor, exploitable.", +"A high risk vulnerability can be easily discovered and exploited in combination with other vulnerabilities.", +"A medium risk vulnerability could be used by an actor to gain access to resources or privileges that enable them to eventually gain access and the ability to execute arbitrary code or exfiltrate data.", +"A low risk vulnerability hampers a security organization's ability to detect vulnerabilities or active threats in their deployment." +], +"type": "string" +}, +"signalType": { +"description": "Required. Type of signal, for example, `AVAILABLE_IN_MULTIPLE_ZONES`, `LOGGING_MOST_ERRORS`, etc.", +"enum": [ +"SIGNAL_TYPE_UNSPECIFIED", +"SIGNAL_TYPE_NOT_PROTECTED_BY_AUTOMATIC_FAILOVER", +"SIGNAL_TYPE_GROUP_NOT_REPLICATING_ACROSS_REGIONS", +"SIGNAL_TYPE_NOT_AVAILABLE_IN_MULTIPLE_ZONES", +"SIGNAL_TYPE_NOT_AVAILABLE_IN_MULTIPLE_REGIONS", +"SIGNAL_TYPE_NO_PROMOTABLE_REPLICA", +"SIGNAL_TYPE_NO_AUTOMATED_BACKUP_POLICY", +"SIGNAL_TYPE_SHORT_BACKUP_RETENTION", +"SIGNAL_TYPE_LAST_BACKUP_FAILED", +"SIGNAL_TYPE_LAST_BACKUP_OLD", +"SIGNAL_TYPE_VIOLATES_CIS_GCP_FOUNDATION_2_0", +"SIGNAL_TYPE_VIOLATES_CIS_GCP_FOUNDATION_1_3", +"SIGNAL_TYPE_VIOLATES_CIS_GCP_FOUNDATION_1_2", +"SIGNAL_TYPE_VIOLATES_CIS_GCP_FOUNDATION_1_1", +"SIGNAL_TYPE_VIOLATES_CIS_GCP_FOUNDATION_1_0", +"SIGNAL_TYPE_VIOLATES_CIS_CONTROLS_V8_0", +"SIGNAL_TYPE_VIOLATES_NIST_800_53", +"SIGNAL_TYPE_VIOLATES_NIST_800_53_R5", +"SIGNAL_TYPE_VIOLATES_NIST_CYBERSECURITY_FRAMEWORK_V1_0", +"SIGNAL_TYPE_VIOLATES_ISO_27001", +"SIGNAL_TYPE_VIOLATES_ISO_27001_V2022", +"SIGNAL_TYPE_VIOLATES_PCI_DSS_V3_2_1", +"SIGNAL_TYPE_VIOLATES_PCI_DSS_V4_0", +"SIGNAL_TYPE_VIOLATES_CLOUD_CONTROLS_MATRIX_V4", +"SIGNAL_TYPE_VIOLATES_HIPAA", +"SIGNAL_TYPE_VIOLATES_SOC2_V2017", +"SIGNAL_TYPE_LOGS_NOT_OPTIMIZED_FOR_TROUBLESHOOTING", +"SIGNAL_TYPE_QUERY_DURATIONS_NOT_LOGGED", +"SIGNAL_TYPE_VERBOSE_ERROR_LOGGING", +"SIGNAL_TYPE_QUERY_LOCK_WAITS_NOT_LOGGED", +"SIGNAL_TYPE_LOGGING_MOST_ERRORS", +"SIGNAL_TYPE_LOGGING_ONLY_CRITICAL_ERRORS", +"SIGNAL_TYPE_MINIMAL_ERROR_LOGGING", +"SIGNAL_TYPE_QUERY_STATISTICS_LOGGED", +"SIGNAL_TYPE_EXCESSIVE_LOGGING_OF_CLIENT_HOSTNAME", +"SIGNAL_TYPE_EXCESSIVE_LOGGING_OF_PARSER_STATISTICS", +"SIGNAL_TYPE_EXCESSIVE_LOGGING_OF_PLANNER_STATISTICS", +"SIGNAL_TYPE_NOT_LOGGING_ONLY_DDL_STATEMENTS", +"SIGNAL_TYPE_LOGGING_QUERY_STATISTICS", +"SIGNAL_TYPE_NOT_LOGGING_TEMPORARY_FILES", +"SIGNAL_TYPE_CONNECTION_MAX_NOT_CONFIGURED", +"SIGNAL_TYPE_USER_OPTIONS_CONFIGURED", +"SIGNAL_TYPE_EXPOSED_TO_PUBLIC_ACCESS", +"SIGNAL_TYPE_UNENCRYPTED_CONNECTIONS", +"SIGNAL_TYPE_NO_ROOT_PASSWORD", +"SIGNAL_TYPE_WEAK_ROOT_PASSWORD", +"SIGNAL_TYPE_ENCRYPTION_KEY_NOT_CUSTOMER_MANAGED", +"SIGNAL_TYPE_SERVER_AUTHENTICATION_NOT_REQUIRED", +"SIGNAL_TYPE_EXPOSED_BY_OWNERSHIP_CHAINING", +"SIGNAL_TYPE_EXPOSED_TO_EXTERNAL_SCRIPTS", +"SIGNAL_TYPE_EXPOSED_TO_LOCAL_DATA_LOADS", +"SIGNAL_TYPE_CONNECTION_ATTEMPTS_NOT_LOGGED", +"SIGNAL_TYPE_DISCONNECTIONS_NOT_LOGGED", +"SIGNAL_TYPE_LOGGING_EXCESSIVE_STATEMENT_INFO", +"SIGNAL_TYPE_EXPOSED_TO_REMOTE_ACCESS", +"SIGNAL_TYPE_DATABASE_NAMES_EXPOSED", +"SIGNAL_TYPE_SENSITIVE_TRACE_INFO_NOT_MASKED", +"SIGNAL_TYPE_PUBLIC_IP_ENABLED", +"SIGNAL_TYPE_IDLE", +"SIGNAL_TYPE_OVERPROVISIONED", +"SIGNAL_TYPE_HIGH_NUMBER_OF_OPEN_TABLES", +"SIGNAL_TYPE_HIGH_NUMBER_OF_TABLES", +"SIGNAL_TYPE_HIGH_TRANSACTION_ID_UTILIZATION", +"SIGNAL_TYPE_UNDERPROVISIONED", +"SIGNAL_TYPE_OUT_OF_DISK", +"SIGNAL_TYPE_SERVER_CERTIFICATE_NEAR_EXPIRY", +"SIGNAL_TYPE_DATABASE_AUDITING_DISABLED", +"SIGNAL_TYPE_RESTRICT_AUTHORIZED_NETWORKS", +"SIGNAL_TYPE_VIOLATE_POLICY_RESTRICT_PUBLIC_IP", +"SIGNAL_TYPE_QUOTA_LIMIT", +"SIGNAL_TYPE_NO_PASSWORD_POLICY", +"SIGNAL_TYPE_CONNECTIONS_PERFORMANCE_IMPACT", +"SIGNAL_TYPE_TMP_TABLES_PERFORMANCE_IMPACT", +"SIGNAL_TYPE_TRANS_LOGS_PERFORMANCE_IMPACT", +"SIGNAL_TYPE_HIGH_JOINS_WITHOUT_INDEXES", +"SIGNAL_TYPE_SUPERUSER_WRITING_TO_USER_TABLES", +"SIGNAL_TYPE_USER_GRANTED_ALL_PERMISSIONS", +"SIGNAL_TYPE_DATA_EXPORT_TO_EXTERNAL_CLOUD_STORAGE_BUCKET", +"SIGNAL_TYPE_DATA_EXPORT_TO_PUBLIC_CLOUD_STORAGE_BUCKET", +"SIGNAL_TYPE_WEAK_PASSWORD_HASH_ALGORITHM", +"SIGNAL_TYPE_NO_USER_PASSWORD_POLICY", +"SIGNAL_TYPE_HOT_NODE", +"SIGNAL_TYPE_NO_POINT_IN_TIME_RECOVERY", +"SIGNAL_TYPE_RESOURCE_SUSPENDED", +"SIGNAL_TYPE_EXPENSIVE_COMMANDS", +"SIGNAL_TYPE_NO_MAINTENANCE_POLICY_CONFIGURED", +"SIGNAL_TYPE_NO_DELETION_PROTECTION", +"SIGNAL_TYPE_INEFFICIENT_QUERY", +"SIGNAL_TYPE_READ_INTENSIVE_WORKLOAD", +"SIGNAL_TYPE_MEMORY_LIMIT", +"SIGNAL_TYPE_MAX_SERVER_MEMORY", +"SIGNAL_TYPE_LARGE_ROWS", +"SIGNAL_TYPE_HIGH_WRITE_PRESSURE", +"SIGNAL_TYPE_HIGH_READ_PRESSURE", +"SIGNAL_TYPE_ENCRYPTION_ORG_POLICY_NOT_SATISFIED", +"SIGNAL_TYPE_LOCATION_ORG_POLICY_NOT_SATISFIED", +"SIGNAL_TYPE_OUTDATED_MINOR_VERSION", +"SIGNAL_TYPE_SCHEMA_NOT_OPTIMIZED", +"SIGNAL_TYPE_MANY_IDLE_CONNECTIONS", +"SIGNAL_TYPE_REPLICATION_LAG", +"SIGNAL_TYPE_OUTDATED_VERSION", +"SIGNAL_TYPE_OUTDATED_CLIENT", +"SIGNAL_TYPE_DATABOOST_DISABLED", +"SIGNAL_TYPE_RECOMMENDED_MAINTENANCE_POLICIES", +"SIGNAL_TYPE_EXTENDED_SUPPORT", +"SIGNAL_TYPE_PERFORMANCE_KPI_CHANGE" +], +"enumDeprecated": [ +false, +false, +false, +true, +true, +true, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +true, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +true, +false, +false, +false, +false, +false, +false, +false +], +"enumDescriptions": [ +"Unspecified.", +"Represents if a resource is protected by automatic failover. Checks for resources that are configured to have redundancy within a region that enables automatic failover.", +"Represents if a group is replicating across regions. Checks for resources that are configured to have redundancy, and ongoing replication, across regions.", +"Represents if the resource is available in multiple zones or not.", +"Represents if a resource is available in multiple regions.", +"Represents if a resource has a promotable replica.", +"Represents if a resource has an automated backup policy.", +"Represents if a resources has a short backup retention period.", +"Represents if the last backup of a resource failed.", +"Represents if the last backup of a resource is older than some threshold value.", +"Represents if a resource violates CIS GCP Foundation 2.0.", +"Represents if a resource violates CIS GCP Foundation 1.3.", +"Represents if a resource violates CIS GCP Foundation 1.2.", +"Represents if a resource violates CIS GCP Foundation 1.1.", +"Represents if a resource violates CIS GCP Foundation 1.0.", +"Represents if a resource violates CIS Controls 8.0.", +"Represents if a resource violates NIST 800-53.", +"Represents if a resource violates NIST 800-53 R5.", +"Represents if a resource violates NIST Cybersecurity Framework 1.0.", +"Represents if a resource violates ISO-27001.", +"Represents if a resource violates ISO 27001 2022.", +"Represents if a resource violates PCI-DSS v3.2.1.", +"Represents if a resource violates PCI-DSS v4.0.", +"Represents if a resource violates Cloud Controls Matrix v4.0.", +"Represents if a resource violates HIPAA.", +"Represents if a resource violates SOC2 v2017.", +"Represents if log_checkpoints database flag for a Cloud SQL for PostgreSQL instance is not set to on.", +"Represents if the log_duration database flag for a Cloud SQL for PostgreSQL instance is not set to on.", +"Represents if the log_error_verbosity database flag for a Cloud SQL for PostgreSQL instance is not set to default or stricter (default or terse).", +"Represents if the log_lock_waits database flag for a Cloud SQL for PostgreSQL instance is not set to on.", +"Represents if the log_min_error_statement database flag for a Cloud SQL for PostgreSQL instance is not set appropriately.", +"Represents if the log_min_error_statement database flag for a Cloud SQL for PostgreSQL instance does not have an appropriate severity level.", +"Represents if the log_min_messages database flag for a Cloud SQL for PostgreSQL instance is not set to warning or another recommended value.", +"Represents if the databaseFlags property of instance metadata for the log_executor_status field is set to on.", +"Represents if the log_hostname database flag for a Cloud SQL for PostgreSQL instance is not set to off.", +"Represents if the log_parser_stats database flag for a Cloud SQL for PostgreSQL instance is not set to off.", +"Represents if the log_planner_stats database flag for a Cloud SQL for PostgreSQL instance is not set to off.", +"Represents if the log_statement database flag for a Cloud SQL for PostgreSQL instance is not set to DDL (all data definition statements).", +"Represents if the log_statement_stats database flag for a Cloud SQL for PostgreSQL instance is not set to off.", +"Represents if the log_temp_files database flag for a Cloud SQL for PostgreSQL instance is not set to \"0\". (NOTE: 0 = ON)", +"Represents if the user connections database flag for a Cloud SQL for SQL Server instance is configured.", +"Represents if the user options database flag for Cloud SQL SQL Server instance is configured or not.", +"Represents if a resource is exposed to public access.", +"Represents if a resources requires all incoming connections to use SSL or not.", +"Represents if a Cloud SQL database has a password configured for the root account or not.", +"Represents if a Cloud SQL database has a weak password configured for the root account.", +"Represents if a SQL database instance is not encrypted with customer-managed encryption keys (CMEK).", +"Represents if The contained database authentication database flag for a Cloud SQL for SQL Server instance is not set to off.", +"Represents if the cross_db_ownership_chaining database flag for a Cloud SQL for SQL Server instance is not set to off.", +"Represents if he external scripts enabled database flag for a Cloud SQL for SQL Server instance is not set to off.", +"Represents if the local_infile database flag for a Cloud SQL for MySQL instance is not set to off.", +"Represents if the log_connections database flag for a Cloud SQL for PostgreSQL instance is not set to on.", +"Represents if the log_disconnections database flag for a Cloud SQL for PostgreSQL instance is not set to on.", +"Represents if the log_min_duration_statement database flag for a Cloud SQL for PostgreSQL instance is not set to -1.", +"Represents if the remote access database flag for a Cloud SQL for SQL Server instance is not set to off.", +"Represents if the skip_show_database database flag for a Cloud SQL for MySQL instance is not set to on.", +"Represents if the 3625 (trace flag) database flag for a Cloud SQL for SQL Server instance is not set to on.", +"Represents if public IP is enabled.", +"Represents Idle instance helps to reduce costs.", +"Represents instances that are unnecessarily large for given workload.", +"Represents high number of concurrently opened tables.", +"Represents high table count close to SLA limit.", +"Represents high number of unvacuumed transactions", +"Represents need for more CPU and/or memory", +"Represents out of disk.", +"Represents server certificate is near expiry.", +"Represents database auditing is disabled.", +"Represents not restricted to authorized networks.", +"Represents violate org policy restrict public ip.", +"Cluster nearing quota limit", +"No password policy set on resources", +"Performance impact of connections settings", +"Performance impact of temporary tables settings", +"Performance impact of transaction logs settings", +"Performance impact of high joins without indexes", +"Detects events where a Cloud SQL superuser (postgres for PostgreSQL servers or root for MySQL users) writes to non-system tables.", +"Detects events where a database user or role has been granted all privileges to a database, or to all tables, procedures, or functions in a schema.", +"Detects if database instance data exported to a Cloud Storage bucket outside of the organization.", +"Detects if database instance data exported to a Cloud Storage bucket that is owned by the organization and is publicly accessible.", +"Detects if a database instance is using a weak password hash algorithm.", +"Detects if a database instance has no user password policy set.", +"Detects if a database instance/cluster has a hot node.", +"Detects if a database instance has no point in time recovery enabled.", +"Detects if a database instance/cluster is suspended.", +"Detects that expensive commands are being run on a database instance impacting overall performance.", +"Indicates that the instance does not have a maintenance policy configured.", +"Deletion Protection Disabled for the resource", +"Indicates that the instance has inefficient queries detected.", +"Indicates that the instance has read intensive workload.", +"Indicates that the instance is nearing memory limit.", +"Indicates that the instance's max server memory is configured higher than the recommended value.", +"Indicates that the database has large rows beyond the recommended limit.", +"Heavy write pressure on the database rows.", +"Heavy read pressure on the database rows.", +"Encryption org policy not satisfied.", +"Location org policy not satisfied.", +"Outdated DB minor version.", +"Schema not optimized.", +"High number of idle connections.", +"Replication delay.", +"Outdated version.", +"Outdated client.", +"Databoost is disabled.", +"Recommended maintenance policy.", +"Resource version is in extended support.", +"Change in performance KPIs." +], +"type": "string" +}, +"state": { +"enum": [ +"STATE_UNSPECIFIED", +"ACTIVE", +"RESOLVED", +"MUTED" +], +"enumDescriptions": [ +"Unspecified state.", +"The signal requires attention and has not been addressed yet.", +"The signal has been fixed, triaged as a non-issue or otherwise addressed and is no longer active.", +"The signal has been muted." +], +"type": "string" +} +}, +"type": "object" +}, +"StorageDatabasecenterPartnerapiV1mainDatabaseResourceId": { +"description": "DatabaseResourceId will serve as primary key for any resource ingestion event.", +"id": "StorageDatabasecenterPartnerapiV1mainDatabaseResourceId", +"properties": { +"provider": { +"description": "Required. Cloud provider name. Ex: GCP/AWS/Azure/OnPrem/SelfManaged", +"enum": [ +"PROVIDER_UNSPECIFIED", +"GCP", +"AWS", +"AZURE", +"ONPREM", +"SELFMANAGED", +"PROVIDER_OTHER" +], +"enumDescriptions": [ +"", +"Google cloud platform provider", +"Amazon web service", +"Azure web service", +"On-prem database resources.", +"Self-managed database provider. These are resources on a cloud platform, e.g., database resource installed in a GCE VM, but not a managed database service.", +"For the rest of the other categories. Other refers to the rest of other database service providers, this could be smaller cloud provider. This needs to be provided when the provider is known, but it is not present in the existing set of enum values." +], +"type": "string" +}, +"providerDescription": { +"description": "Optional. Needs to be used only when the provider is PROVIDER_OTHER.", +"type": "string" +}, +"resourceType": { +"description": "Required. The type of resource this ID is identifying. Ex go/keep-sorted start alloydb.googleapis.com/Cluster, alloydb.googleapis.com/Instance, bigtableadmin.googleapis.com/Cluster, bigtableadmin.googleapis.com/Instance compute.googleapis.com/Instance firestore.googleapis.com/Database, redis.googleapis.com/Instance, redis.googleapis.com/Cluster, oracledatabase.googleapis.com/CloudExadataInfrastructure oracledatabase.googleapis.com/CloudVmCluster oracledatabase.googleapis.com/AutonomousDatabase spanner.googleapis.com/Instance, spanner.googleapis.com/Database, sqladmin.googleapis.com/Instance, go/keep-sorted end REQUIRED Please refer go/condor-common-datamodel", +"type": "string" +}, +"uniqueId": { +"description": "Required. A service-local token that distinguishes this resource from other resources within the same service.", +"type": "string" +} +}, +"type": "object" +}, +"StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata": { +"description": "Common model for database resource instance metadata. Next ID: 31", +"id": "StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata", +"properties": { +"availabilityConfiguration": { +"$ref": "StorageDatabasecenterPartnerapiV1mainAvailabilityConfiguration", +"description": "Availability configuration for this instance" +}, +"backupConfiguration": { +"$ref": "StorageDatabasecenterPartnerapiV1mainBackupConfiguration", +"description": "Backup configuration for this instance" +}, +"backupRun": { +"$ref": "StorageDatabasecenterPartnerapiV1mainBackupRun", +"description": "Latest backup run information for this instance" +}, +"backupdrConfiguration": { +"$ref": "StorageDatabasecenterPartnerapiV1mainBackupDRConfiguration", +"description": "Optional. BackupDR Configuration for the resource." +}, +"creationTime": { +"description": "The creation time of the resource, i.e. the time when resource is created and recorded in partner service.", +"format": "google-datetime", +"type": "string" +}, +"currentState": { +"description": "Current state of the instance.", +"enum": [ +"STATE_UNSPECIFIED", +"HEALTHY", +"UNHEALTHY", +"SUSPENDED", +"DELETED", +"STATE_OTHER", +"STOPPED" +], +"enumDescriptions": [ +"", +"The instance is running.", +"Instance being created, updated, deleted or under maintenance", +"When instance is suspended", +"Instance is deleted.", +"For rest of the other category", +"Instance is in STOPPED state." +], +"type": "string" +}, +"customMetadata": { +"$ref": "StorageDatabasecenterPartnerapiV1mainCustomMetadataData", +"description": "Any custom metadata associated with the resource" +}, +"edition": { +"description": "Optional. Edition represents whether the instance is ENTERPRISE or ENTERPRISE_PLUS. This information is core to Cloud SQL only and is used to identify the edition of the instance.", +"enum": [ +"EDITION_UNSPECIFIED", +"EDITION_ENTERPRISE", +"EDITION_ENTERPRISE_PLUS", +"EDITION_STANDARD" +], +"enumDescriptions": [ +"Default, to make it consistent with instance edition enum.", +"Represents the enterprise edition.", +"Represents the enterprise plus edition.", +"Represents the standard edition." +], +"type": "string" +}, +"entitlements": { +"description": "Entitlements associated with the resource", +"items": { +"$ref": "StorageDatabasecenterPartnerapiV1mainEntitlement" +}, +"type": "array" +}, +"expectedState": { +"description": "The state that the instance is expected to be in. For example, an instance state can transition to UNHEALTHY due to wrong patch update, while the expected state will remain at the HEALTHY.", +"enum": [ +"STATE_UNSPECIFIED", +"HEALTHY", +"UNHEALTHY", +"SUSPENDED", +"DELETED", +"STATE_OTHER", +"STOPPED" +], +"enumDescriptions": [ +"", +"The instance is running.", +"Instance being created, updated, deleted or under maintenance", +"When instance is suspended", +"Instance is deleted.", +"For rest of the other category", +"Instance is in STOPPED state." +], +"type": "string" +}, +"gcbdrConfiguration": { +"$ref": "StorageDatabasecenterPartnerapiV1mainGCBDRConfiguration", +"deprecated": true, +"description": "GCBDR configuration for the resource." +}, +"id": { +"$ref": "StorageDatabasecenterPartnerapiV1mainDatabaseResourceId", +"description": "Required. Unique identifier for a Database resource" +}, +"instanceType": { +"description": "The type of the instance. Specified at creation time.", +"enum": [ +"INSTANCE_TYPE_UNSPECIFIED", +"SUB_RESOURCE_TYPE_UNSPECIFIED", +"PRIMARY", +"SECONDARY", +"READ_REPLICA", +"OTHER", +"SUB_RESOURCE_TYPE_PRIMARY", +"SUB_RESOURCE_TYPE_SECONDARY", +"SUB_RESOURCE_TYPE_READ_REPLICA", +"SUB_RESOURCE_TYPE_EXTERNAL_PRIMARY", +"SUB_RESOURCE_TYPE_OTHER" +], +"enumDeprecated": [ +true, +false, +true, +true, +true, +true, +false, +false, +false, +false, +false +], +"enumDescriptions": [ +"Unspecified.", +"For rest of the other categories.", +"A regular primary database instance.", +"A cluster or an instance acting as a secondary.", +"An instance acting as a read-replica.", +"For rest of the other categories.", +"A regular primary database instance.", +"A cluster or an instance acting as a secondary.", +"An instance acting as a read-replica.", +"An instance acting as an external primary.", +"For rest of the other categories." +], +"type": "string" +}, +"isDeletionProtectionEnabled": { +"description": "Optional. Whether deletion protection is enabled for this resource.", +"type": "boolean" +}, +"location": { +"description": "The resource location. REQUIRED", +"type": "string" +}, +"machineConfiguration": { +"$ref": "StorageDatabasecenterPartnerapiV1mainMachineConfiguration", +"description": "Machine configuration for this resource." +}, +"maintenanceInfo": { +"$ref": "StorageDatabasecenterPartnerapiV1mainResourceMaintenanceInfo", +"description": "Optional. Maintenance info for the resource." +}, +"primaryResourceId": { +"$ref": "StorageDatabasecenterPartnerapiV1mainDatabaseResourceId", +"description": "Identifier for this resource's immediate parent/primary resource if the current resource is a replica or derived form of another Database resource. Else it would be NULL. REQUIRED if the immediate parent exists when first time resource is getting ingested, otherwise optional." +}, +"primaryResourceLocation": { +"description": "Primary resource location. REQUIRED if the immediate parent exists when first time resource is getting ingested, otherwise optional.", +"type": "string" +}, +"product": { +"$ref": "StorageDatabasecenterProtoCommonProduct", +"description": "The product this resource represents." +}, +"resourceContainer": { +"description": "Closest parent Cloud Resource Manager container of this resource. It must be resource name of a Cloud Resource Manager project with the format of \"/\", such as \"projects/123\". For GCP provided resources, number should be project number.", +"type": "string" +}, +"resourceFlags": { +"description": "Optional. List of resource flags for the database resource.", +"items": { +"$ref": "StorageDatabasecenterPartnerapiV1mainResourceFlags" +}, +"type": "array" +}, +"resourceName": { +"description": "Required. Different from DatabaseResourceId.unique_id, a resource name can be reused over time. That is, after a resource named \"ABC\" is deleted, the name \"ABC\" can be used to to create a new resource within the same source. Resource name to follow CAIS resource_name format as noted here go/condor-common-datamodel", +"type": "string" +}, +"suspensionReason": { +"description": "Optional. Suspension reason for the resource.", +"enum": [ +"SUSPENSION_REASON_UNSPECIFIED", +"WIPEOUT_HIDE_EVENT", +"WIPEOUT_PURGE_EVENT", +"BILLING_DISABLED", +"ABUSER_DETECTED", +"ENCRYPTION_KEY_INACCESSIBLE", +"REPLICATED_CLUSTER_ENCRYPTION_KEY_INACCESSIBLE" +], +"enumDescriptions": [ +"Suspension reason is unspecified.", +"Wipeout hide event.", +"Wipeout purge event.", +"Billing disabled for project", +"Abuse detected for resource", +"Encryption key inaccessible.", +"Replicated cluster encryption key inaccessible." +], +"type": "string" +}, +"tagsSet": { +"$ref": "StorageDatabasecenterPartnerapiV1mainTags", +"description": "Optional. Tags associated with this resources." +}, +"updationTime": { +"description": "The time at which the resource was updated and recorded at partner service.", +"format": "google-datetime", +"type": "string" +}, +"userLabelSet": { +"$ref": "StorageDatabasecenterPartnerapiV1mainUserLabels", +"description": "User-provided labels associated with the resource" +}, +"zone": { +"description": "The resource zone. This is only applicable for zonal resources and will be empty for regional and multi-regional resources.", +"type": "string" +} +}, +"type": "object" +}, +"StorageDatabasecenterPartnerapiV1mainDatabaseResourceRecommendationSignalData": { +"description": "Common model for database resource recommendation signal data.", +"id": "StorageDatabasecenterPartnerapiV1mainDatabaseResourceRecommendationSignalData", +"properties": { +"additionalMetadata": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"description": "Optional. Any other additional metadata specific to recommendation", +"type": "object" +}, +"lastRefreshTime": { +"description": "Required. last time recommendationw as refreshed", +"format": "google-datetime", +"type": "string" +}, +"recommendationState": { +"description": "Required. Recommendation state", +"enum": [ +"UNSPECIFIED", +"ACTIVE", +"CLAIMED", +"SUCCEEDED", +"FAILED", +"DISMISSED" +], +"enumDescriptions": [ +"", +"Recommendation is active and can be applied. ACTIVE recommendations can be marked as CLAIMED, SUCCEEDED, or FAILED.", +"Recommendation is in claimed state. Recommendations content is immutable and cannot be updated by Google. CLAIMED recommendations can be marked as CLAIMED, SUCCEEDED, or FAILED.", +"Recommendation is in succeeded state. Recommendations content is immutable and cannot be updated by Google. SUCCEEDED recommendations can be marked as SUCCEEDED, or FAILED.", +"Recommendation is in failed state. Recommendations content is immutable and cannot be updated by Google. FAILED recommendations can be marked as SUCCEEDED, or FAILED.", +"Recommendation is in dismissed state. Recommendation content can be updated by Google. DISMISSED recommendations can be marked as ACTIVE." +], +"type": "string" +}, +"recommender": { +"description": "Required. Name of recommendation. Examples: organizations/1234/locations/us-central1/recommenders/google.cloudsql.instance.PerformanceRecommender/recommendations/9876", +"type": "string" +}, +"recommenderId": { +"description": "Required. ID of recommender. Examples: \"google.cloudsql.instance.PerformanceRecommender\"", +"type": "string" +}, +"recommenderSubtype": { +"description": "Required. Contains an identifier for a subtype of recommendations produced for the same recommender. Subtype is a function of content and impact, meaning a new subtype might be added when significant changes to `content` or `primary_impact.category` are introduced. See the Recommenders section to see a list of subtypes for a given Recommender. Examples: For recommender = \"google.cloudsql.instance.PerformanceRecommender\", recommender_subtype can be \"MYSQL_HIGH_NUMBER_OF_OPEN_TABLES_BEST_PRACTICE\"/\"POSTGRES_HIGH_TRANSACTION_ID_UTILIZATION_BEST_PRACTICE\"", +"type": "string" +}, +"resourceName": { +"description": "Required. Database resource name associated with the signal. Resource name to follow CAIS resource_name format as noted here go/condor-common-datamodel", +"type": "string" +}, +"signalType": { +"description": "Required. Type of signal, for example, `SIGNAL_TYPE_IDLE`, `SIGNAL_TYPE_HIGH_NUMBER_OF_TABLES`, etc.", +"enum": [ +"SIGNAL_TYPE_UNSPECIFIED", +"SIGNAL_TYPE_NOT_PROTECTED_BY_AUTOMATIC_FAILOVER", +"SIGNAL_TYPE_GROUP_NOT_REPLICATING_ACROSS_REGIONS", +"SIGNAL_TYPE_NOT_AVAILABLE_IN_MULTIPLE_ZONES", +"SIGNAL_TYPE_NOT_AVAILABLE_IN_MULTIPLE_REGIONS", +"SIGNAL_TYPE_NO_PROMOTABLE_REPLICA", +"SIGNAL_TYPE_NO_AUTOMATED_BACKUP_POLICY", +"SIGNAL_TYPE_SHORT_BACKUP_RETENTION", +"SIGNAL_TYPE_LAST_BACKUP_FAILED", +"SIGNAL_TYPE_LAST_BACKUP_OLD", +"SIGNAL_TYPE_VIOLATES_CIS_GCP_FOUNDATION_2_0", +"SIGNAL_TYPE_VIOLATES_CIS_GCP_FOUNDATION_1_3", +"SIGNAL_TYPE_VIOLATES_CIS_GCP_FOUNDATION_1_2", +"SIGNAL_TYPE_VIOLATES_CIS_GCP_FOUNDATION_1_1", +"SIGNAL_TYPE_VIOLATES_CIS_GCP_FOUNDATION_1_0", +"SIGNAL_TYPE_VIOLATES_CIS_CONTROLS_V8_0", +"SIGNAL_TYPE_VIOLATES_NIST_800_53", +"SIGNAL_TYPE_VIOLATES_NIST_800_53_R5", +"SIGNAL_TYPE_VIOLATES_NIST_CYBERSECURITY_FRAMEWORK_V1_0", +"SIGNAL_TYPE_VIOLATES_ISO_27001", +"SIGNAL_TYPE_VIOLATES_ISO_27001_V2022", +"SIGNAL_TYPE_VIOLATES_PCI_DSS_V3_2_1", +"SIGNAL_TYPE_VIOLATES_PCI_DSS_V4_0", +"SIGNAL_TYPE_VIOLATES_CLOUD_CONTROLS_MATRIX_V4", +"SIGNAL_TYPE_VIOLATES_HIPAA", +"SIGNAL_TYPE_VIOLATES_SOC2_V2017", +"SIGNAL_TYPE_LOGS_NOT_OPTIMIZED_FOR_TROUBLESHOOTING", +"SIGNAL_TYPE_QUERY_DURATIONS_NOT_LOGGED", +"SIGNAL_TYPE_VERBOSE_ERROR_LOGGING", +"SIGNAL_TYPE_QUERY_LOCK_WAITS_NOT_LOGGED", +"SIGNAL_TYPE_LOGGING_MOST_ERRORS", +"SIGNAL_TYPE_LOGGING_ONLY_CRITICAL_ERRORS", +"SIGNAL_TYPE_MINIMAL_ERROR_LOGGING", +"SIGNAL_TYPE_QUERY_STATISTICS_LOGGED", +"SIGNAL_TYPE_EXCESSIVE_LOGGING_OF_CLIENT_HOSTNAME", +"SIGNAL_TYPE_EXCESSIVE_LOGGING_OF_PARSER_STATISTICS", +"SIGNAL_TYPE_EXCESSIVE_LOGGING_OF_PLANNER_STATISTICS", +"SIGNAL_TYPE_NOT_LOGGING_ONLY_DDL_STATEMENTS", +"SIGNAL_TYPE_LOGGING_QUERY_STATISTICS", +"SIGNAL_TYPE_NOT_LOGGING_TEMPORARY_FILES", +"SIGNAL_TYPE_CONNECTION_MAX_NOT_CONFIGURED", +"SIGNAL_TYPE_USER_OPTIONS_CONFIGURED", +"SIGNAL_TYPE_EXPOSED_TO_PUBLIC_ACCESS", +"SIGNAL_TYPE_UNENCRYPTED_CONNECTIONS", +"SIGNAL_TYPE_NO_ROOT_PASSWORD", +"SIGNAL_TYPE_WEAK_ROOT_PASSWORD", +"SIGNAL_TYPE_ENCRYPTION_KEY_NOT_CUSTOMER_MANAGED", +"SIGNAL_TYPE_SERVER_AUTHENTICATION_NOT_REQUIRED", +"SIGNAL_TYPE_EXPOSED_BY_OWNERSHIP_CHAINING", +"SIGNAL_TYPE_EXPOSED_TO_EXTERNAL_SCRIPTS", +"SIGNAL_TYPE_EXPOSED_TO_LOCAL_DATA_LOADS", +"SIGNAL_TYPE_CONNECTION_ATTEMPTS_NOT_LOGGED", +"SIGNAL_TYPE_DISCONNECTIONS_NOT_LOGGED", +"SIGNAL_TYPE_LOGGING_EXCESSIVE_STATEMENT_INFO", +"SIGNAL_TYPE_EXPOSED_TO_REMOTE_ACCESS", +"SIGNAL_TYPE_DATABASE_NAMES_EXPOSED", +"SIGNAL_TYPE_SENSITIVE_TRACE_INFO_NOT_MASKED", +"SIGNAL_TYPE_PUBLIC_IP_ENABLED", +"SIGNAL_TYPE_IDLE", +"SIGNAL_TYPE_OVERPROVISIONED", +"SIGNAL_TYPE_HIGH_NUMBER_OF_OPEN_TABLES", +"SIGNAL_TYPE_HIGH_NUMBER_OF_TABLES", +"SIGNAL_TYPE_HIGH_TRANSACTION_ID_UTILIZATION", +"SIGNAL_TYPE_UNDERPROVISIONED", +"SIGNAL_TYPE_OUT_OF_DISK", +"SIGNAL_TYPE_SERVER_CERTIFICATE_NEAR_EXPIRY", +"SIGNAL_TYPE_DATABASE_AUDITING_DISABLED", +"SIGNAL_TYPE_RESTRICT_AUTHORIZED_NETWORKS", +"SIGNAL_TYPE_VIOLATE_POLICY_RESTRICT_PUBLIC_IP", +"SIGNAL_TYPE_QUOTA_LIMIT", +"SIGNAL_TYPE_NO_PASSWORD_POLICY", +"SIGNAL_TYPE_CONNECTIONS_PERFORMANCE_IMPACT", +"SIGNAL_TYPE_TMP_TABLES_PERFORMANCE_IMPACT", +"SIGNAL_TYPE_TRANS_LOGS_PERFORMANCE_IMPACT", +"SIGNAL_TYPE_HIGH_JOINS_WITHOUT_INDEXES", +"SIGNAL_TYPE_SUPERUSER_WRITING_TO_USER_TABLES", +"SIGNAL_TYPE_USER_GRANTED_ALL_PERMISSIONS", +"SIGNAL_TYPE_DATA_EXPORT_TO_EXTERNAL_CLOUD_STORAGE_BUCKET", +"SIGNAL_TYPE_DATA_EXPORT_TO_PUBLIC_CLOUD_STORAGE_BUCKET", +"SIGNAL_TYPE_WEAK_PASSWORD_HASH_ALGORITHM", +"SIGNAL_TYPE_NO_USER_PASSWORD_POLICY", +"SIGNAL_TYPE_HOT_NODE", +"SIGNAL_TYPE_NO_POINT_IN_TIME_RECOVERY", +"SIGNAL_TYPE_RESOURCE_SUSPENDED", +"SIGNAL_TYPE_EXPENSIVE_COMMANDS", +"SIGNAL_TYPE_NO_MAINTENANCE_POLICY_CONFIGURED", +"SIGNAL_TYPE_NO_DELETION_PROTECTION", +"SIGNAL_TYPE_INEFFICIENT_QUERY", +"SIGNAL_TYPE_READ_INTENSIVE_WORKLOAD", +"SIGNAL_TYPE_MEMORY_LIMIT", +"SIGNAL_TYPE_MAX_SERVER_MEMORY", +"SIGNAL_TYPE_LARGE_ROWS", +"SIGNAL_TYPE_HIGH_WRITE_PRESSURE", +"SIGNAL_TYPE_HIGH_READ_PRESSURE", +"SIGNAL_TYPE_ENCRYPTION_ORG_POLICY_NOT_SATISFIED", +"SIGNAL_TYPE_LOCATION_ORG_POLICY_NOT_SATISFIED", +"SIGNAL_TYPE_OUTDATED_MINOR_VERSION", +"SIGNAL_TYPE_SCHEMA_NOT_OPTIMIZED", +"SIGNAL_TYPE_MANY_IDLE_CONNECTIONS", +"SIGNAL_TYPE_REPLICATION_LAG", +"SIGNAL_TYPE_OUTDATED_VERSION", +"SIGNAL_TYPE_OUTDATED_CLIENT", +"SIGNAL_TYPE_DATABOOST_DISABLED", +"SIGNAL_TYPE_RECOMMENDED_MAINTENANCE_POLICIES", +"SIGNAL_TYPE_EXTENDED_SUPPORT", +"SIGNAL_TYPE_PERFORMANCE_KPI_CHANGE" +], +"enumDeprecated": [ +false, +false, +false, +true, +true, +true, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +true, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +true, +false, +false, +false, +false, +false, +false, +false +], +"enumDescriptions": [ +"Unspecified.", +"Represents if a resource is protected by automatic failover. Checks for resources that are configured to have redundancy within a region that enables automatic failover.", +"Represents if a group is replicating across regions. Checks for resources that are configured to have redundancy, and ongoing replication, across regions.", +"Represents if the resource is available in multiple zones or not.", +"Represents if a resource is available in multiple regions.", +"Represents if a resource has a promotable replica.", +"Represents if a resource has an automated backup policy.", +"Represents if a resources has a short backup retention period.", +"Represents if the last backup of a resource failed.", +"Represents if the last backup of a resource is older than some threshold value.", +"Represents if a resource violates CIS GCP Foundation 2.0.", +"Represents if a resource violates CIS GCP Foundation 1.3.", +"Represents if a resource violates CIS GCP Foundation 1.2.", +"Represents if a resource violates CIS GCP Foundation 1.1.", +"Represents if a resource violates CIS GCP Foundation 1.0.", +"Represents if a resource violates CIS Controls 8.0.", +"Represents if a resource violates NIST 800-53.", +"Represents if a resource violates NIST 800-53 R5.", +"Represents if a resource violates NIST Cybersecurity Framework 1.0.", +"Represents if a resource violates ISO-27001.", +"Represents if a resource violates ISO 27001 2022.", +"Represents if a resource violates PCI-DSS v3.2.1.", +"Represents if a resource violates PCI-DSS v4.0.", +"Represents if a resource violates Cloud Controls Matrix v4.0.", +"Represents if a resource violates HIPAA.", +"Represents if a resource violates SOC2 v2017.", +"Represents if log_checkpoints database flag for a Cloud SQL for PostgreSQL instance is not set to on.", +"Represents if the log_duration database flag for a Cloud SQL for PostgreSQL instance is not set to on.", +"Represents if the log_error_verbosity database flag for a Cloud SQL for PostgreSQL instance is not set to default or stricter (default or terse).", +"Represents if the log_lock_waits database flag for a Cloud SQL for PostgreSQL instance is not set to on.", +"Represents if the log_min_error_statement database flag for a Cloud SQL for PostgreSQL instance is not set appropriately.", +"Represents if the log_min_error_statement database flag for a Cloud SQL for PostgreSQL instance does not have an appropriate severity level.", +"Represents if the log_min_messages database flag for a Cloud SQL for PostgreSQL instance is not set to warning or another recommended value.", +"Represents if the databaseFlags property of instance metadata for the log_executor_status field is set to on.", +"Represents if the log_hostname database flag for a Cloud SQL for PostgreSQL instance is not set to off.", +"Represents if the log_parser_stats database flag for a Cloud SQL for PostgreSQL instance is not set to off.", +"Represents if the log_planner_stats database flag for a Cloud SQL for PostgreSQL instance is not set to off.", +"Represents if the log_statement database flag for a Cloud SQL for PostgreSQL instance is not set to DDL (all data definition statements).", +"Represents if the log_statement_stats database flag for a Cloud SQL for PostgreSQL instance is not set to off.", +"Represents if the log_temp_files database flag for a Cloud SQL for PostgreSQL instance is not set to \"0\". (NOTE: 0 = ON)", +"Represents if the user connections database flag for a Cloud SQL for SQL Server instance is configured.", +"Represents if the user options database flag for Cloud SQL SQL Server instance is configured or not.", +"Represents if a resource is exposed to public access.", +"Represents if a resources requires all incoming connections to use SSL or not.", +"Represents if a Cloud SQL database has a password configured for the root account or not.", +"Represents if a Cloud SQL database has a weak password configured for the root account.", +"Represents if a SQL database instance is not encrypted with customer-managed encryption keys (CMEK).", +"Represents if The contained database authentication database flag for a Cloud SQL for SQL Server instance is not set to off.", +"Represents if the cross_db_ownership_chaining database flag for a Cloud SQL for SQL Server instance is not set to off.", +"Represents if he external scripts enabled database flag for a Cloud SQL for SQL Server instance is not set to off.", +"Represents if the local_infile database flag for a Cloud SQL for MySQL instance is not set to off.", +"Represents if the log_connections database flag for a Cloud SQL for PostgreSQL instance is not set to on.", +"Represents if the log_disconnections database flag for a Cloud SQL for PostgreSQL instance is not set to on.", +"Represents if the log_min_duration_statement database flag for a Cloud SQL for PostgreSQL instance is not set to -1.", +"Represents if the remote access database flag for a Cloud SQL for SQL Server instance is not set to off.", +"Represents if the skip_show_database database flag for a Cloud SQL for MySQL instance is not set to on.", +"Represents if the 3625 (trace flag) database flag for a Cloud SQL for SQL Server instance is not set to on.", +"Represents if public IP is enabled.", +"Represents Idle instance helps to reduce costs.", +"Represents instances that are unnecessarily large for given workload.", +"Represents high number of concurrently opened tables.", +"Represents high table count close to SLA limit.", +"Represents high number of unvacuumed transactions", +"Represents need for more CPU and/or memory", +"Represents out of disk.", +"Represents server certificate is near expiry.", +"Represents database auditing is disabled.", +"Represents not restricted to authorized networks.", +"Represents violate org policy restrict public ip.", +"Cluster nearing quota limit", +"No password policy set on resources", +"Performance impact of connections settings", +"Performance impact of temporary tables settings", +"Performance impact of transaction logs settings", +"Performance impact of high joins without indexes", +"Detects events where a Cloud SQL superuser (postgres for PostgreSQL servers or root for MySQL users) writes to non-system tables.", +"Detects events where a database user or role has been granted all privileges to a database, or to all tables, procedures, or functions in a schema.", +"Detects if database instance data exported to a Cloud Storage bucket outside of the organization.", +"Detects if database instance data exported to a Cloud Storage bucket that is owned by the organization and is publicly accessible.", +"Detects if a database instance is using a weak password hash algorithm.", +"Detects if a database instance has no user password policy set.", +"Detects if a database instance/cluster has a hot node.", +"Detects if a database instance has no point in time recovery enabled.", +"Detects if a database instance/cluster is suspended.", +"Detects that expensive commands are being run on a database instance impacting overall performance.", +"Indicates that the instance does not have a maintenance policy configured.", +"Deletion Protection Disabled for the resource", +"Indicates that the instance has inefficient queries detected.", +"Indicates that the instance has read intensive workload.", +"Indicates that the instance is nearing memory limit.", +"Indicates that the instance's max server memory is configured higher than the recommended value.", +"Indicates that the database has large rows beyond the recommended limit.", +"Heavy write pressure on the database rows.", +"Heavy read pressure on the database rows.", +"Encryption org policy not satisfied.", +"Location org policy not satisfied.", +"Outdated DB minor version.", +"Schema not optimized.", +"High number of idle connections.", +"Replication delay.", +"Outdated version.", +"Outdated client.", +"Databoost is disabled.", +"Recommended maintenance policy.", +"Resource version is in extended support.", +"Change in performance KPIs." +], +"type": "string" +} +}, +"type": "object" +}, +"StorageDatabasecenterPartnerapiV1mainDatabaseResourceSignalData": { +"description": "Database resource signal data. This is used to send signals to Condor which are based on the DB/Instance/Fleet level configurations. These will be used to send signals for all inventory types. Next ID: 7", +"id": "StorageDatabasecenterPartnerapiV1mainDatabaseResourceSignalData", +"properties": { +"fullResourceName": { +"description": "Required. Full Resource name of the source resource.", +"type": "string" +}, +"lastRefreshTime": { +"description": "Required. Last time signal was refreshed", +"format": "google-datetime", +"type": "string" +}, +"resourceId": { +"$ref": "StorageDatabasecenterPartnerapiV1mainDatabaseResourceId", +"description": "Database resource id." +}, +"signalBoolValue": { +"description": "Signal data for boolean signals.", +"type": "boolean" +}, +"signalState": { +"description": "Required. Output only. Signal state of the signal", +"enum": [ +"SIGNAL_STATE_UNSPECIFIED", +"ACTIVE", +"INACTIVE", +"DISMISSED" +], +"enumDescriptions": [ +"Unspecified signal state.", +"Signal is active and requires attention.", +"Signal is inactive and does not require attention.", +"Signal is dismissed by the user and should not be shown to the user again." +], +"readOnly": true, +"type": "string" +}, +"signalType": { +"description": "Required. Signal type of the signal", +"enum": [ +"SIGNAL_TYPE_UNSPECIFIED", +"SIGNAL_TYPE_OUTDATED_MINOR_VERSION", +"SIGNAL_TYPE_DATABASE_AUDITING_DISABLED", +"SIGNAL_TYPE_NO_ROOT_PASSWORD", +"SIGNAL_TYPE_EXPOSED_TO_PUBLIC_ACCESS", +"SIGNAL_TYPE_UNENCRYPTED_CONNECTIONS", +"SIGNAL_TYPE_EXTENDED_SUPPORT", +"SIGNAL_TYPE_NO_AUTOMATED_BACKUP_POLICY" +], +"enumDescriptions": [ +"Unspecified signal type.", +"Outdated Minor Version", +"Represents database auditing is disabled.", +"Represents if a database has a password configured for the root account or not.", +"Represents if a resource is exposed to public access.", +"Represents if a resources requires all incoming connections to use SSL or not.", +"Represents if a resource version is in extended support.", +"Represents if a resource has no automated backup policy." +], +"type": "string" +} +}, +"type": "object" +}, +"StorageDatabasecenterPartnerapiV1mainEntitlement": { +"description": "Proto representing the access that a user has to a specific feature/service. NextId: 3.", +"id": "StorageDatabasecenterPartnerapiV1mainEntitlement", +"properties": { +"entitlementState": { +"description": "The current state of user's accessibility to a feature/benefit.", +"enum": [ +"ENTITLEMENT_STATE_UNSPECIFIED", +"ENTITLED", +"REVOKED" +], +"enumDescriptions": [ +"", +"User is entitled to a feature/benefit, but whether it has been successfully provisioned is decided by provisioning state.", +"User is entitled to a feature/benefit, but it was requested to be revoked. Whether the revoke has been successful is decided by provisioning state." +], +"type": "string" +}, +"type": { +"description": "An enum that represents the type of this entitlement.", +"enum": [ +"ENTITLEMENT_TYPE_UNSPECIFIED", +"GEMINI", +"NATIVE", +"GCA_STANDARD" +], +"enumDeprecated": [ +false, +true, +false, +false +], +"enumDescriptions": [ +"The entitlement type is unspecified.", +"The root entitlement representing Gemini package ownership.This will no longer be supported in the future.", +"The entitlement representing Native Tier, This will be the default Entitlement going forward with GCA Enablement.", +"The entitlement representing GCA-Standard Tier." +], +"type": "string" +} +}, +"type": "object" +}, +"StorageDatabasecenterPartnerapiV1mainGCBDRConfiguration": { +"description": "GCBDR Configuration for the resource.", +"id": "StorageDatabasecenterPartnerapiV1mainGCBDRConfiguration", +"properties": { +"gcbdrManaged": { +"description": "Whether the resource is managed by GCBDR.", +"type": "boolean" +} +}, +"type": "object" +}, +"StorageDatabasecenterPartnerapiV1mainInternalResourceMetadata": { +"description": "Metadata for individual internal resources in an instance. e.g. spanner instance can have multiple databases with unique configuration settings. Similarly bigtable can have multiple clusters within same bigtable instance.", +"id": "StorageDatabasecenterPartnerapiV1mainInternalResourceMetadata", +"properties": { +"backupConfiguration": { +"$ref": "StorageDatabasecenterPartnerapiV1mainBackupConfiguration", +"description": "Backup configuration for this database" +}, +"backupRun": { +"$ref": "StorageDatabasecenterPartnerapiV1mainBackupRun", +"description": "Information about the last backup attempt for this database" +}, +"isDeletionProtectionEnabled": { +"description": "Whether deletion protection is enabled for this internal resource.", +"type": "boolean" +}, +"product": { +"$ref": "StorageDatabasecenterProtoCommonProduct" +}, +"resourceId": { +"$ref": "StorageDatabasecenterPartnerapiV1mainDatabaseResourceId" +}, +"resourceName": { +"description": "Required. internal resource name for spanner this will be database name e.g.\"spanner.googleapis.com/projects/123/abc/instances/inst1/databases/db1\"", +"type": "string" +} +}, +"type": "object" +}, +"StorageDatabasecenterPartnerapiV1mainMachineConfiguration": { +"description": "MachineConfiguration describes the configuration of a machine specific to Database Resource.", +"id": "StorageDatabasecenterPartnerapiV1mainMachineConfiguration", +"properties": { +"baselineSlots": { +"description": "Optional. Baseline slots for BigQuery Reservations. Baseline slots are in increments of 50.", +"format": "int64", +"type": "string" +}, +"cpuCount": { +"deprecated": true, +"description": "The number of CPUs. Deprecated. Use vcpu_count instead. TODO(b/342344482) add proto validations again after bug fix.", +"format": "int32", +"type": "integer" +}, +"maxReservationSlots": { +"description": "Optional. Max slots for BigQuery Reservations. Max slots are in increments of 50.", +"format": "int64", +"type": "string" +}, +"memorySizeInBytes": { +"description": "Memory size in bytes. TODO(b/342344482) add proto validations again after bug fix.", +"format": "int64", +"type": "string" +}, +"shardCount": { +"description": "Optional. Number of shards (if applicable).", +"format": "int32", +"type": "integer" +}, +"vcpuCount": { +"description": "Optional. The number of vCPUs. TODO(b/342344482) add proto validations again after bug fix.", +"format": "double", +"type": "number" +} +}, +"type": "object" +}, +"StorageDatabasecenterPartnerapiV1mainObservabilityMetricData": { +"id": "StorageDatabasecenterPartnerapiV1mainObservabilityMetricData", +"properties": { +"aggregationType": { +"description": "Required. Type of aggregation performed on the metric.", +"enum": [ +"AGGREGATION_TYPE_UNSPECIFIED", +"PEAK", +"P99", +"P95", +"CURRENT" +], +"enumDescriptions": [ +"Unspecified aggregation type.", +"PEAK aggregation type.", +"P99 aggregation type.", +"P95 aggregation type.", +"current aggregation type." +], +"type": "string" +}, +"metricType": { +"description": "Required. Type of metric like CPU, Memory, etc.", +"enum": [ +"METRIC_TYPE_UNSPECIFIED", +"CPU_UTILIZATION", +"MEMORY_UTILIZATION", +"NETWORK_CONNECTIONS", +"STORAGE_UTILIZATION", +"STORAGE_USED_BYTES", +"NODE_COUNT", +"MEMORY_USED_BYTES", +"PROCESSING_UNIT_COUNT" +], +"enumDescriptions": [ +"Unspecified metric type.", +"CPU utilization for a resource. The value is a fraction between 0.0 and 1.0 (may momentarily exceed 1.0 in some cases).", +"Memory utilization for a resource. The value is a fraction between 0.0 and 1.0 (may momentarily exceed 1.0 in some cases).", +"Number of network connections for a resource.", +"Storage utilization for a resource. The value is a fraction between 0.0 and 1.0 (may momentarily exceed 1.0 in some cases).", +"Sotrage used by a resource.", +"Node count for a resource. It represents the number of node units in a bigtable/spanner instance.", +"Memory used by a resource (in bytes).", +"Processing units used by a resource. It represents the number of processing units in a spanner instance." +], +"type": "string" +}, +"observationTime": { +"description": "Required. The time the metric value was observed.", +"format": "google-datetime", +"type": "string" +}, +"resourceName": { +"description": "Required. Database resource name associated with the signal. Resource name to follow CAIS resource_name format as noted here go/condor-common-datamodel", +"type": "string" +}, +"value": { +"$ref": "StorageDatabasecenterProtoCommonTypedValue", +"description": "Required. Value of the metric type." +} +}, +"type": "object" +}, +"StorageDatabasecenterPartnerapiV1mainOperationError": { +"description": "An error that occurred during a backup creation operation.", +"id": "StorageDatabasecenterPartnerapiV1mainOperationError", +"properties": { +"code": { +"description": "Identifies the specific error that occurred. REQUIRED", +"type": "string" +}, +"errorType": { +"enum": [ +"OPERATION_ERROR_TYPE_UNSPECIFIED", +"KMS_KEY_ERROR", +"DATABASE_ERROR", +"STOCKOUT_ERROR", +"CANCELLATION_ERROR", +"SQLSERVER_ERROR", +"INTERNAL_ERROR" +], +"enumDescriptions": [ +"UNSPECIFIED means product type is not known or available.", +"key destroyed, expired, not found, unreachable or permission denied.", +"Database is not accessible", +"The zone or region does not have sufficient resources to handle the request at the moment", +"User initiated cancellation", +"SQL server specific error", +"Any other internal error." +], +"type": "string" +}, +"message": { +"description": "Additional information about the error encountered. REQUIRED", +"type": "string" +} +}, +"type": "object" +}, +"StorageDatabasecenterPartnerapiV1mainResourceFlags": { +"description": "Message type for storing resource flags.", +"id": "StorageDatabasecenterPartnerapiV1mainResourceFlags", +"properties": { +"key": { +"description": "Optional. Key of the resource flag.", +"type": "string" +}, +"value": { +"description": "Optional. Value of the resource flag.", +"type": "string" +} +}, +"type": "object" +}, +"StorageDatabasecenterPartnerapiV1mainResourceMaintenanceDenySchedule": { +"description": "Deny maintenance period for the database resource. It specifies the time range during which the maintenance cannot start. This is configured by the customer.", +"id": "StorageDatabasecenterPartnerapiV1mainResourceMaintenanceDenySchedule", +"properties": { +"endDate": { +"$ref": "GoogleTypeDate", +"description": "Optional. Deny period end date." +}, +"startDate": { +"$ref": "GoogleTypeDate", +"description": "Optional. The start date of the deny maintenance period." +}, +"time": { +"$ref": "GoogleTypeTimeOfDay", +"description": "Optional. Time in UTC when the deny period starts on start_date and ends on end_date." +} +}, +"type": "object" +}, +"StorageDatabasecenterPartnerapiV1mainResourceMaintenanceInfo": { +"description": "MaintenanceInfo to capture the maintenance details of database resource.", +"id": "StorageDatabasecenterPartnerapiV1mainResourceMaintenanceInfo", +"properties": { +"currentVersionReleaseDate": { +"$ref": "GoogleTypeDate", +"description": "Optional. The date when the current maintenance version was released." +}, +"denyMaintenanceSchedules": { +"description": "Optional. List of Deny maintenance period for the database resource.", +"items": { +"$ref": "StorageDatabasecenterPartnerapiV1mainResourceMaintenanceDenySchedule" +}, +"type": "array" +}, +"isInstanceStopped": { +"description": "Optional. Whether the instance is in stopped state. This information is temporarily being captured in maintenanceInfo, till STOPPED state is supported by DB Center.", +"type": "boolean" +}, +"maintenanceSchedule": { +"$ref": "StorageDatabasecenterPartnerapiV1mainResourceMaintenanceSchedule", +"description": "Optional. Maintenance window for the database resource." +}, +"maintenanceState": { +"description": "Output only. Current state of maintenance on the database resource.", +"enum": [ +"MAINTENANCE_STATE_UNSPECIFIED", +"CREATING", +"READY", +"UPDATING", +"REPAIRING", +"DELETING", +"ERROR" +], +"enumDescriptions": [ +"Unspecified state.", +"Database resource is being created.", +"Database resource has been created and is ready to use.", +"Database resource is being updated.", +"Database resource is unheathy and under repair.", +"Database resource is being deleted.", +"Database resource encountered an error and is in indeterministic state." +], +"readOnly": true, +"type": "string" +}, +"maintenanceVersion": { +"description": "Optional. Current Maintenance version of the database resource. Example: \"MYSQL_8_0_41.R20250531.01_15\"", +"type": "string" +}, +"upcomingMaintenance": { +"$ref": "StorageDatabasecenterPartnerapiV1mainUpcomingMaintenance", +"description": "Optional. Upcoming maintenance for the database resource. This field is populated once SLM generates and publishes upcoming maintenance window." +} +}, +"type": "object" +}, +"StorageDatabasecenterPartnerapiV1mainResourceMaintenanceSchedule": { +"description": "Maintenance window for the database resource. It specifies preferred time and day of the week and phase in some cases, when the maintenance can start. This is configured by the customer.", +"id": "StorageDatabasecenterPartnerapiV1mainResourceMaintenanceSchedule", +"properties": { +"day": { +"description": "Optional. Preferred day of the week for maintenance, e.g. MONDAY, TUESDAY, etc.", +"enum": [ +"DAY_OF_WEEK_UNSPECIFIED", +"MONDAY", +"TUESDAY", +"WEDNESDAY", +"THURSDAY", +"FRIDAY", +"SATURDAY", +"SUNDAY" +], +"enumDescriptions": [ +"The day of the week is unspecified.", +"Monday", +"Tuesday", +"Wednesday", +"Thursday", +"Friday", +"Saturday", +"Sunday" +], +"type": "string" +}, +"phase": { +"description": "Optional. Phase of the maintenance window. This is to capture order of maintenance. For example, for Cloud SQL resources, this can be used to capture if the maintenance window is in Week1, Week2, Week5, etc. Non production resources are usually part of early phase. For more details, refer to Cloud SQL resources - https://cloud.google.com/sql/docs/mysql/maintenance", +"enum": [ +"PHASE_UNSPECIFIED", +"ANY", +"WEEK1", +"WEEK2", +"WEEK5" +], +"enumDescriptions": [ +"Phase is unspecified.", +"Any phase.", +"Week 1.", +"Week 2.", +"Week 5." +], +"type": "string" +}, +"time": { +"$ref": "GoogleTypeTimeOfDay", +"description": "Optional. Preferred time to start the maintenance operation on the specified day." +} +}, +"type": "object" +}, +"StorageDatabasecenterPartnerapiV1mainRetentionSettings": { +"id": "StorageDatabasecenterPartnerapiV1mainRetentionSettings", +"properties": { +"durationBasedRetention": { +"description": "Duration based retention period i.e. 172800 seconds (2 days)", +"format": "google-duration", +"type": "string" +}, +"quantityBasedRetention": { +"format": "int32", +"type": "integer" +}, +"retentionUnit": { +"deprecated": true, +"description": "The unit that 'retained_backups' represents.", +"enum": [ +"RETENTION_UNIT_UNSPECIFIED", +"COUNT", +"TIME", +"DURATION", +"RETENTION_UNIT_OTHER" +], +"enumDescriptions": [ +"Backup retention unit is unspecified, will be treated as COUNT.", +"Retention will be by count, eg. \"retain the most recent 7 backups\".", +"Retention will be by Time, eg. \"retain backups till a specific time\" i.e. till 2024-05-01T00:00:00Z.", +"Retention will be by duration, eg. \"retain the backups for 172800 seconds (2 days)\".", +"For rest of the other category" +], +"type": "string" +}, +"timeBasedRetention": { +"deprecated": true, +"format": "google-duration", +"type": "string" +}, +"timestampBasedRetentionTime": { +"description": "Timestamp based retention period i.e. 2024-05-01T00:00:00Z", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"StorageDatabasecenterPartnerapiV1mainTags": { +"description": "Message type for storing tags. Tags provide a way to create annotations for resources, and in some cases conditionally allow or deny policies based on whether a resource has a specific tag.", +"id": "StorageDatabasecenterPartnerapiV1mainTags", +"properties": { +"tags": { +"additionalProperties": { +"type": "string" +}, +"description": "The Tag key/value mappings.", +"type": "object" +} +}, +"type": "object" +}, +"StorageDatabasecenterPartnerapiV1mainUpcomingMaintenance": { +"description": "Upcoming maintenance for the database resource. This is generated by SLM once the upcoming maintenance schedule is published.", +"id": "StorageDatabasecenterPartnerapiV1mainUpcomingMaintenance", +"properties": { +"endTime": { +"description": "Optional. The end time of the upcoming maintenance.", +"format": "google-datetime", +"type": "string" +}, +"startTime": { +"description": "Optional. The start time of the upcoming maintenance.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"StorageDatabasecenterPartnerapiV1mainUserLabels": { +"description": "Message type for storing user labels. User labels are used to tag App Engine resources, allowing users to search for resources matching a set of labels and to aggregate usage data by labels.", +"id": "StorageDatabasecenterPartnerapiV1mainUserLabels", +"properties": { +"labels": { +"additionalProperties": { +"type": "string" +}, +"type": "object" +} +}, +"type": "object" +}, +"StorageDatabasecenterProtoCommonProduct": { +"description": "Product specification for Condor resources.", +"id": "StorageDatabasecenterProtoCommonProduct", +"properties": { +"engine": { +"description": "The specific engine that the underlying database is running.", +"enum": [ +"ENGINE_UNSPECIFIED", +"ENGINE_MYSQL", +"MYSQL", +"ENGINE_POSTGRES", +"POSTGRES", +"ENGINE_SQL_SERVER", +"SQL_SERVER", +"ENGINE_NATIVE", +"NATIVE", +"ENGINE_CLOUD_SPANNER_WITH_POSTGRES_DIALECT", +"ENGINE_CLOUD_SPANNER_WITH_GOOGLESQL_DIALECT", +"ENGINE_MEMORYSTORE_FOR_REDIS", +"ENGINE_MEMORYSTORE_FOR_REDIS_CLUSTER", +"ENGINE_OTHER", +"ENGINE_FIRESTORE_WITH_NATIVE_MODE", +"ENGINE_FIRESTORE_WITH_DATASTORE_MODE", +"ENGINE_FIRESTORE_WITH_MONGODB_COMPATIBILITY_MODE", +"ENGINE_EXADATA_ORACLE", +"ENGINE_ADB_SERVERLESS_ORACLE" +], +"enumDeprecated": [ +false, +false, +true, +false, +true, +false, +true, +false, +true, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false +], +"enumDescriptions": [ +"UNSPECIFIED means engine type is not known or available.", +"MySQL binary running as an engine in the database instance.", +"MySQL binary running as engine in database instance.", +"Postgres binary running as engine in database instance.", +"Postgres binary running as engine in database instance.", +"SQLServer binary running as engine in database instance.", +"SQLServer binary running as engine in database instance.", +"Native database binary running as engine in instance.", +"Native database binary running as engine in instance.", +"Cloud Spanner with PostgreSQL dialect.", +"Cloud Spanner with Google SQL dialect.", +"Memorystore with Redis dialect.", +"Memorystore with Redis cluster dialect.", +"Other refers to rest of other database engine. This is to be when engine is known, but it is not present in this enum.", +"Firestore with native mode.", +"Firestore with datastore mode.", +"Firestore with MongoDB compatibility mode.", +"Oracle Exadata engine.", +"Oracle Autonomous DB Serverless engine." +], +"type": "string" +}, +"minorVersion": { +"description": "Minor version of the underlying database engine. Example values: For MySQL, it could be \"8.0.32\", \"5.7.32\" etc.. For Postgres, it could be \"14.3\", \"15.3\" etc..", +"type": "string" +}, +"type": { +"description": "Type of specific database product. It could be CloudSQL, AlloyDB etc..", +"enum": [ +"PRODUCT_TYPE_UNSPECIFIED", +"PRODUCT_TYPE_CLOUD_SQL", +"CLOUD_SQL", +"PRODUCT_TYPE_ALLOYDB", +"ALLOYDB", +"PRODUCT_TYPE_SPANNER", +"PRODUCT_TYPE_ON_PREM", +"ON_PREM", +"PRODUCT_TYPE_MEMORYSTORE", +"PRODUCT_TYPE_BIGTABLE", +"PRODUCT_TYPE_FIRESTORE", +"PRODUCT_TYPE_COMPUTE_ENGINE", +"PRODUCT_TYPE_ORACLE_ON_GCP", +"PRODUCT_TYPE_BIGQUERY", +"PRODUCT_TYPE_OTHER" +], +"enumDeprecated": [ +false, +false, +true, +false, +true, +false, +false, +true, +false, +false, +false, +false, +false, +false, +false +], +"enumDescriptions": [ +"UNSPECIFIED means product type is not known or available.", +"Cloud SQL product area in GCP", +"Cloud SQL product area in GCP", +"AlloyDB product area in GCP", +"AlloyDB product area in GCP", +"Spanner product area in GCP", +"On premises database product.", +"On premises database product.", +"Memorystore product area in GCP", +"Bigtable product area in GCP", +"Firestore product area in GCP.", +"Compute Engine self managed databases", +"Oracle product area in GCP", +"BigQuery product area in GCP", +"Other refers to rest of other product type. This is to be when product type is known, but it is not present in this enum." +], +"type": "string" +}, +"version": { +"description": "Version of the underlying database engine. Example values: For MySQL, it could be \"8.0\", \"5.7\" etc.. For Postgres, it could be \"14\", \"15\" etc..", +"type": "string" +} +}, +"type": "object" +}, +"StorageDatabasecenterProtoCommonTypedValue": { +"description": "TypedValue represents the value of a metric type. It can either be a double, an int64, a string or a bool.", +"id": "StorageDatabasecenterProtoCommonTypedValue", +"properties": { +"boolValue": { +"description": "For boolean value", +"type": "boolean" +}, +"doubleValue": { +"description": "For double value", +"format": "double", +"type": "number" +}, +"int64Value": { +"description": "For integer value", +"format": "int64", +"type": "string" +}, +"stringValue": { +"description": "For string value", +"type": "string" +} +}, +"type": "object" +}, +"StringRestrictions": { +"description": "Restrictions on STRING type values", +"id": "StringRestrictions", +"properties": { +"allowedValues": { +"description": "The list of allowed values, if bounded. This field will be empty if there is a unbounded number of allowed values.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"SupportedDatabaseFlag": { +"description": "SupportedDatabaseFlag gives general information about a database flag, like type and allowed values. This is a static value that is defined on the server side, and it cannot be modified by callers. To set the Database flags on a particular Instance, a caller should modify the Instance.database_flags field.", +"id": "SupportedDatabaseFlag", +"properties": { +"acceptsMultipleValues": { +"description": "Whether the database flag accepts multiple values. If true, a comma-separated list of stringified values may be specified.", +"type": "boolean" +}, +"flagName": { +"description": "The name of the database flag, e.g. \"max_allowed_packets\". The is a possibly key for the Instance.database_flags map field.", +"type": "string" +}, +"integerRestrictions": { +"$ref": "IntegerRestrictions", +"description": "Restriction on INTEGER type value." +}, +"name": { +"description": "The name of the flag resource, following Google Cloud conventions, e.g.: * projects/{project}/locations/{location}/flags/{flag} This field currently has no semantic meaning.", +"type": "string" +}, +"recommendedIntegerValue": { +"description": "The recommended value for an INTEGER flag.", +"format": "int64", +"type": "string" +}, +"recommendedStringValue": { +"description": "The recommended value for a STRING flag.", +"type": "string" +}, +"requiresDbRestart": { +"description": "Whether setting or updating this flag on an Instance requires a database restart. If a flag that requires database restart is set, the backend will automatically restart the database (making sure to satisfy any availability SLO's).", +"type": "boolean" +}, +"scope": { +"description": "The scope of the flag.", +"enum": [ +"SCOPE_UNSPECIFIED", +"DATABASE", +"CONNECTION_POOL" +], +"enumDescriptions": [ +"The scope of the flag is not specified. Default is DATABASE.", +"The flag is a database flag.", +"The flag is a connection pool flag." +], +"type": "string" +}, +"stringRestrictions": { +"$ref": "StringRestrictions", +"description": "Restriction on STRING type value." +}, +"supportedDbVersions": { +"description": "Major database engine versions for which this flag is supported.", +"items": { +"enum": [ +"DATABASE_VERSION_UNSPECIFIED", +"POSTGRES_13", +"POSTGRES_14", +"POSTGRES_15", +"POSTGRES_16", +"POSTGRES_17", +"POSTGRES_18" +], +"enumDeprecated": [ +false, +true, +false, +false, +false, +false, +false +], +"enumDescriptions": [ +"This is an unknown database version.", +"DEPRECATED - The database version is Postgres 13.", +"The database version is Postgres 14.", +"The database version is Postgres 15.", +"The database version is Postgres 16.", +"The database version is Postgres 17.", +"The database version is Postgres 18." +], +"type": "string" +}, +"type": "array" +}, +"valueType": { +"enum": [ +"VALUE_TYPE_UNSPECIFIED", +"STRING", +"INTEGER", +"FLOAT", +"NONE" +], +"enumDescriptions": [ +"This is an unknown flag type.", +"String type flag.", +"Integer type flag.", +"Float type flag.", +"Denotes that the flag does not accept any values." +], +"type": "string" +} +}, +"type": "object" +}, +"SwitchoverClusterRequest": { +"description": "Message for switching over to a cluster", +"id": "SwitchoverClusterRequest", +"properties": { +"requestId": { +"description": "Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server ignores the request if it has already been completed. The server guarantees that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if the original operation with the same request ID was received, and if so, ignores the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", +"type": "string" +}, +"validateOnly": { +"description": "Optional. If set, performs request validation, for example, permission checks and any other type of validation, but does not actually execute the create request.", +"type": "boolean" +} +}, +"type": "object" +}, +"TimeBasedRetention": { +"description": "A time based retention policy specifies that all backups within a certain time period should be retained.", +"id": "TimeBasedRetention", +"properties": { +"retentionPeriod": { +"description": "The retention period.", +"format": "google-duration", +"type": "string" +} +}, +"type": "object" +}, +"TrialMetadata": { +"description": "Contains information and all metadata related to TRIAL clusters.", +"id": "TrialMetadata", +"properties": { +"endTime": { +"description": "End time of the trial cluster.", +"format": "google-datetime", +"type": "string" +}, +"graceEndTime": { +"description": "grace end time of the cluster.", +"format": "google-datetime", +"type": "string" +}, +"startTime": { +"description": "start time of the trial cluster.", +"format": "google-datetime", +"type": "string" +}, +"upgradeTime": { +"description": "Upgrade time of trial cluster to Standard cluster.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"UpgradeClusterRequest": { +"description": "Upgrades a cluster.", +"id": "UpgradeClusterRequest", +"properties": { +"etag": { +"description": "Optional. The current etag of the Cluster. If an etag is provided and does not match the current etag of the Cluster, upgrade will be blocked and an ABORTED error will be returned.", +"type": "string" +}, +"requestId": { +"description": "Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server ignores the request if it has already been completed. The server guarantees that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if the original operation with the same request ID was received, and if so, ignores the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", +"type": "string" +}, +"validateOnly": { +"description": "Optional. If set, performs request validation, for example, permission checks and any other type of validation, but does not actually execute the create request.", +"type": "boolean" +}, +"version": { +"description": "Required. The version the cluster is going to be upgraded to.", +"enum": [ +"DATABASE_VERSION_UNSPECIFIED", +"POSTGRES_13", +"POSTGRES_14", +"POSTGRES_15", +"POSTGRES_16", +"POSTGRES_17", +"POSTGRES_18" +], +"enumDeprecated": [ +false, +true, +false, +false, +false, +false, +false +], +"enumDescriptions": [ +"This is an unknown database version.", +"DEPRECATED - The database version is Postgres 13.", +"The database version is Postgres 14.", +"The database version is Postgres 15.", +"The database version is Postgres 16.", +"The database version is Postgres 17.", +"The database version is Postgres 18." +], +"type": "string" +} +}, +"type": "object" +}, +"UpgradeClusterResponse": { +"description": "UpgradeClusterResponse contains the response for upgrade cluster operation.", +"id": "UpgradeClusterResponse", +"properties": { +"clusterUpgradeDetails": { +"description": "Array of upgrade details for the current cluster and all the secondary clusters associated with this cluster.", +"items": { +"$ref": "ClusterUpgradeDetails" +}, +"type": "array" +}, +"message": { +"description": "A user friendly message summarising the upgrade operation details and the next steps for the user if there is any.", +"type": "string" +}, +"status": { +"description": "Status of upgrade operation.", +"enum": [ +"STATUS_UNSPECIFIED", +"NOT_STARTED", +"IN_PROGRESS", +"SUCCESS", +"FAILED", +"PARTIAL_SUCCESS", +"CANCEL_IN_PROGRESS", +"CANCELLED" +], +"enumDescriptions": [ +"Unspecified status.", +"Not started.", +"In progress.", +"Operation succeeded.", +"Operation failed.", +"Operation partially succeeded.", +"Cancel is in progress.", +"Cancellation complete." +], +"type": "string" +} +}, +"type": "object" +}, +"UpgradeClusterStatus": { +"description": "Message for current status of the Major Version Upgrade operation.", +"id": "UpgradeClusterStatus", +"properties": { +"cancellable": { +"description": "Whether the operation is cancellable.", +"type": "boolean" +}, +"sourceVersion": { +"description": "Source database major version.", +"enum": [ +"DATABASE_VERSION_UNSPECIFIED", +"POSTGRES_13", +"POSTGRES_14", +"POSTGRES_15", +"POSTGRES_16", +"POSTGRES_17", +"POSTGRES_18" +], +"enumDeprecated": [ +false, +true, +false, +false, +false, +false, +false +], +"enumDescriptions": [ +"This is an unknown database version.", +"DEPRECATED - The database version is Postgres 13.", +"The database version is Postgres 14.", +"The database version is Postgres 15.", +"The database version is Postgres 16.", +"The database version is Postgres 17.", +"The database version is Postgres 18." +], +"type": "string" +}, +"stages": { +"description": "Status of all upgrade stages.", +"items": { +"$ref": "StageStatus" +}, +"type": "array" +}, +"state": { +"description": "Cluster Major Version Upgrade state.", +"enum": [ +"STATUS_UNSPECIFIED", +"NOT_STARTED", +"IN_PROGRESS", +"SUCCESS", +"FAILED", +"PARTIAL_SUCCESS", +"CANCEL_IN_PROGRESS", +"CANCELLED" +], +"enumDescriptions": [ +"Unspecified status.", +"Not started.", +"In progress.", +"Operation succeeded.", +"Operation failed.", +"Operation partially succeeded.", +"Cancel is in progress.", +"Cancellation complete." +], +"type": "string" +}, +"targetVersion": { +"description": "Target database major version.", +"enum": [ +"DATABASE_VERSION_UNSPECIFIED", +"POSTGRES_13", +"POSTGRES_14", +"POSTGRES_15", +"POSTGRES_16", +"POSTGRES_17", +"POSTGRES_18" +], +"enumDeprecated": [ +false, +true, +false, +false, +false, +false, +false +], +"enumDescriptions": [ +"This is an unknown database version.", +"DEPRECATED - The database version is Postgres 13.", +"The database version is Postgres 14.", +"The database version is Postgres 15.", +"The database version is Postgres 16.", +"The database version is Postgres 17.", +"The database version is Postgres 18." +], +"type": "string" +} +}, +"type": "object" +}, +"User": { +"description": "Message describing User object.", +"id": "User", +"properties": { +"databaseRoles": { +"description": "Optional. List of database roles this user has. The database role strings are subject to the PostgreSQL naming conventions.", +"items": { +"type": "string" +}, +"type": "array" +}, +"keepExtraRoles": { +"description": "Input only. If the user already exists and it has additional roles, keep them granted.", +"type": "boolean" +}, +"name": { +"description": "Output only. Name of the resource in the form of projects/{project}/locations/{location}/cluster/{cluster}/users/{user}.", +"readOnly": true, +"type": "string" +}, +"password": { +"description": "Input only. Password for the user.", +"type": "string" +}, +"userType": { +"description": "Optional. Type of this user.", +"enum": [ +"USER_TYPE_UNSPECIFIED", +"ALLOYDB_BUILT_IN", +"ALLOYDB_IAM_USER" +], +"enumDescriptions": [ +"Unspecified user type.", +"The default user type that authenticates via password-based authentication.", +"Database user that can authenticate via IAM-Based authentication." +], +"type": "string" +} +}, +"type": "object" +}, +"UserPassword": { +"description": "The username/password for a database user. Used for specifying initial users at cluster creation time.", +"id": "UserPassword", +"properties": { +"password": { +"description": "The initial password for the user.", +"type": "string" +}, +"user": { +"description": "The database username.", +"type": "string" +} +}, +"type": "object" +}, +"WeeklySchedule": { +"description": "A weekly schedule starts a backup at prescribed start times within a day, for the specified days of the week. The weekly schedule message is flexible and can be used to create many types of schedules. For example, to have a daily backup that starts at 22:00, configure the `start_times` field to have one element \"22:00\" and the `days_of_week` field to have all seven days of the week.", +"id": "WeeklySchedule", +"properties": { +"daysOfWeek": { +"description": "The days of the week to perform a backup. If this field is left empty, the default of every day of the week is used.", +"items": { +"enum": [ +"DAY_OF_WEEK_UNSPECIFIED", +"MONDAY", +"TUESDAY", +"WEDNESDAY", +"THURSDAY", +"FRIDAY", +"SATURDAY", +"SUNDAY" +], +"enumDescriptions": [ +"The day of the week is unspecified.", +"Monday", +"Tuesday", +"Wednesday", +"Thursday", +"Friday", +"Saturday", +"Sunday" +], +"type": "string" +}, +"type": "array" +}, +"startTimes": { +"description": "The times during the day to start a backup. The start times are assumed to be in UTC and to be an exact hour (e.g., 04:00:00). If no start times are provided, a single fixed start time is chosen arbitrarily.", +"items": { +"$ref": "GoogleTypeTimeOfDay" +}, +"type": "array" +} +}, +"type": "object" +} +}, +"servicePath": "", +"title": "AlloyDB API", +"version": "v1", +"version_module": true +} \ No newline at end of file diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/alloydb.v1alpha.json b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/alloydb.v1alpha.json new file mode 100644 index 0000000000000000000000000000000000000000..11fdfdd9148b3f4c14a4c11d627ebfde3662bb24 --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/alloydb.v1alpha.json @@ -0,0 +1,7235 @@ +{ +"auth": { +"oauth2": { +"scopes": { +"https://www.googleapis.com/auth/cloud-platform": { +"description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." +} +} +} +}, +"basePath": "", +"baseUrl": "https://alloydb.googleapis.com/", +"batchPath": "batch", +"canonicalName": "Cloud AlloyDB Admin", +"description": "AlloyDB for PostgreSQL is an open source-compatible database service that provides a powerful option for migrating, modernizing, or building commercial-grade applications. It offers full compatibility with standard PostgreSQL, and is more than 4x faster for transactional workloads and up to 100x faster for analytical queries than standard PostgreSQL in our performance tests. AlloyDB for PostgreSQL offers a 99.99 percent availability SLA inclusive of maintenance. AlloyDB is optimized for the most demanding use cases, allowing you to build new applications that require high transaction throughput, large database sizes, or multiple read resources; scale existing PostgreSQL workloads with no application changes; and modernize legacy proprietary databases. ", +"discoveryVersion": "v1", +"documentationLink": "https://cloud.google.com/alloydb/", +"endpoints": [ +{ +"description": "Regional Endpoint", +"endpointUrl": "https://alloydb.us-central2.rep.googleapis.com/", +"location": "us-central2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://alloydb.us-east7.rep.googleapis.com/", +"location": "us-east7" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://alloydb.northamerica-northeast1.rep.googleapis.com/", +"location": "northamerica-northeast1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://alloydb.northamerica-northeast2.rep.googleapis.com/", +"location": "northamerica-northeast2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://alloydb.northamerica-south1.rep.googleapis.com/", +"location": "northamerica-south1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://alloydb.southamerica-east1.rep.googleapis.com/", +"location": "southamerica-east1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://alloydb.southamerica-west1.rep.googleapis.com/", +"location": "southamerica-west1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://alloydb.us-central1.rep.googleapis.com/", +"location": "us-central1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://alloydb.us-east1.rep.googleapis.com/", +"location": "us-east1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://alloydb.us-east4.rep.googleapis.com/", +"location": "us-east4" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://alloydb.us-east5.rep.googleapis.com/", +"location": "us-east5" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://alloydb.us-south1.rep.googleapis.com/", +"location": "us-south1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://alloydb.us-west1.rep.googleapis.com/", +"location": "us-west1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://alloydb.us-west2.rep.googleapis.com/", +"location": "us-west2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://alloydb.us-west3.rep.googleapis.com/", +"location": "us-west3" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://alloydb.us-west4.rep.googleapis.com/", +"location": "us-west4" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://alloydb.europe-central2.rep.googleapis.com/", +"location": "europe-central2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://alloydb.europe-southwest1.rep.googleapis.com/", +"location": "europe-southwest1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://alloydb.europe-north1.rep.googleapis.com/", +"location": "europe-north1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://alloydb.europe-north2.rep.googleapis.com/", +"location": "europe-north2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://alloydb.europe-west1.rep.googleapis.com/", +"location": "europe-west1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://alloydb.europe-west2.rep.googleapis.com/", +"location": "europe-west2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://alloydb.europe-west3.rep.googleapis.com/", +"location": "europe-west3" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://alloydb.europe-west4.rep.googleapis.com/", +"location": "europe-west4" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://alloydb.europe-west6.rep.googleapis.com/", +"location": "europe-west6" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://alloydb.europe-west8.rep.googleapis.com/", +"location": "europe-west8" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://alloydb.europe-west9.rep.googleapis.com/", +"location": "europe-west9" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://alloydb.europe-west10.rep.googleapis.com/", +"location": "europe-west10" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://alloydb.europe-west12.rep.googleapis.com/", +"location": "europe-west12" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://alloydb.asia-east1.rep.googleapis.com/", +"location": "asia-east1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://alloydb.asia-east2.rep.googleapis.com/", +"location": "asia-east2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://alloydb.asia-northeast1.rep.googleapis.com/", +"location": "asia-northeast1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://alloydb.asia-northeast2.rep.googleapis.com/", +"location": "asia-northeast2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://alloydb.asia-northeast3.rep.googleapis.com/", +"location": "asia-northeast3" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://alloydb.asia-south1.rep.googleapis.com/", +"location": "asia-south1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://alloydb.asia-south2.rep.googleapis.com/", +"location": "asia-south2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://alloydb.asia-southeast1.rep.googleapis.com/", +"location": "asia-southeast1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://alloydb.asia-southeast2.rep.googleapis.com/", +"location": "asia-southeast2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://alloydb.australia-southeast1.rep.googleapis.com/", +"location": "australia-southeast1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://alloydb.australia-southeast2.rep.googleapis.com/", +"location": "australia-southeast2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://alloydb.me-central1.rep.googleapis.com/", +"location": "me-central1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://alloydb.me-central2.rep.googleapis.com/", +"location": "me-central2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://alloydb.me-west1.rep.googleapis.com/", +"location": "me-west1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://alloydb.africa-south1.rep.googleapis.com/", +"location": "africa-south1" +} +], +"fullyEncodeReservedExpansion": true, +"icons": { +"x16": "http://www.google.com/images/icons/product/search-16.gif", +"x32": "http://www.google.com/images/icons/product/search-32.gif" +}, +"id": "alloydb:v1alpha", +"kind": "discovery#restDescription", +"mtlsRootUrl": "https://alloydb.mtls.googleapis.com/", +"name": "alloydb", +"ownerDomain": "google.com", +"ownerName": "Google", +"parameters": { +"$.xgafv": { +"description": "V1 error format.", +"enum": [ +"1", +"2" +], +"enumDescriptions": [ +"v1 error format", +"v2 error format" +], +"location": "query", +"type": "string" +}, +"access_token": { +"description": "OAuth access token.", +"location": "query", +"type": "string" +}, +"alt": { +"default": "json", +"description": "Data format for response.", +"enum": [ +"json", +"media", +"proto" +], +"enumDescriptions": [ +"Responses with Content-Type of application/json", +"Media download with context-dependent Content-Type", +"Responses with Content-Type of application/x-protobuf" +], +"location": "query", +"type": "string" +}, +"callback": { +"description": "JSONP", +"location": "query", +"type": "string" +}, +"fields": { +"description": "Selector specifying which fields to include in a partial response.", +"location": "query", +"type": "string" +}, +"key": { +"description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", +"location": "query", +"type": "string" +}, +"oauth_token": { +"description": "OAuth 2.0 token for the current user.", +"location": "query", +"type": "string" +}, +"prettyPrint": { +"default": "true", +"description": "Returns response with indentations and line breaks.", +"location": "query", +"type": "boolean" +}, +"quotaUser": { +"description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.", +"location": "query", +"type": "string" +}, +"uploadType": { +"description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", +"location": "query", +"type": "string" +}, +"upload_protocol": { +"description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", +"location": "query", +"type": "string" +} +}, +"protocol": "rest", +"resources": { +"projects": { +"resources": { +"locations": { +"methods": { +"get": { +"description": "Gets information about a location.", +"flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}", +"httpMethod": "GET", +"id": "alloydb.projects.locations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Resource name for the location.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha/{+name}", +"response": { +"$ref": "GoogleCloudLocationLocation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists information about the supported locations for this service. This method can be called in two ways: * **List all public locations:** Use the path `GET /v1/locations`. * **List project-visible locations:** Use the path `GET /v1/projects/{project_id}/locations`. This may include public locations as well as private or other locations specifically visible to the project.", +"flatPath": "v1alpha/projects/{projectsId}/locations", +"httpMethod": "GET", +"id": "alloydb.projects.locations.list", +"parameterOrder": [ +"name" +], +"parameters": { +"extraLocationTypes": { +"description": "Optional. Do not use this field. It is unsupported and is ignored unless explicitly documented otherwise. This is primarily for internal usage.", +"location": "query", +"repeated": true, +"type": "string" +}, +"filter": { +"description": "A filter to narrow down results to a preferred subset. The filtering language accepts strings like `\"displayName=tokyo\"`, and is documented in more detail in [AIP-160](https://google.aip.dev/160).", +"location": "query", +"type": "string" +}, +"name": { +"description": "The resource that owns the locations collection, if applicable.", +"location": "path", +"pattern": "^projects/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The maximum number of results to return. If not set, the service selects a default.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A page token received from the `next_page_token` field in the response. Send that page token to receive the subsequent page.", +"location": "query", +"type": "string" +} +}, +"path": "v1alpha/{+name}/locations", +"response": { +"$ref": "GoogleCloudLocationListLocationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"backups": { +"methods": { +"create": { +"description": "Creates a new Backup in a given project and location.", +"flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/backups", +"httpMethod": "POST", +"id": "alloydb.projects.locations.backups.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"backupId": { +"description": "Required. ID of the requesting object.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. Value for parent.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server ignores the request if it has already been completed. The server guarantees that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if the original operation with the same request ID was received, and if so, ignores the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"validateOnly": { +"description": "Optional. If set, the backend validates the request, but doesn't actually execute it.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1alpha/{+parent}/backups", +"request": { +"$ref": "Backup" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a single Backup.", +"flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/backups/{backupsId}", +"httpMethod": "DELETE", +"id": "alloydb.projects.locations.backups.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"etag": { +"description": "Optional. The current etag of the Backup. If an etag is provided and does not match the current etag of the Backup, deletion will be blocked and an ABORTED error will be returned.", +"location": "query", +"type": "string" +}, +"name": { +"description": "Required. Name of the resource. For the required format, see the comment on the Backup.name field.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/backups/[^/]+$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server ignores the request if it has already been completed. The server guarantees that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if the original operation with the same request ID was received, and if so, ignores the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"validateOnly": { +"description": "Optional. If set, the backend validates the request, but doesn't actually execute it.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1alpha/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets details of a single Backup.", +"flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/backups/{backupsId}", +"httpMethod": "GET", +"id": "alloydb.projects.locations.backups.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of the resource", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/backups/[^/]+$", +"required": true, +"type": "string" +}, +"view": { +"description": "Optional. The view of the backup to return.", +"enum": [ +"BACKUP_VIEW_UNSPECIFIED", +"BACKUP_VIEW_BASIC", +"BACKUP_VIEW_CLUSTER_DELETED" +], +"enumDescriptions": [ +"Value unspecified, equivalent to BASIC.", +"Responses include all fields that aren't explicitly gated behind another view.", +"Response include all the field from BASIC plus the field cluster_deleted, which specifies if the cluster corresponding to this backup is deleted." +], +"location": "query", +"type": "string" +} +}, +"path": "v1alpha/{+name}", +"response": { +"$ref": "Backup" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists Backups in a given project and location.", +"flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/backups", +"httpMethod": "GET", +"id": "alloydb.projects.locations.backups.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Filtering results", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "Hint for how to order the results", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A token identifying a page of results the server should return.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. Parent value for ListBackupsRequest", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +}, +"view": { +"description": "Optional. The view of the backup to return.", +"enum": [ +"BACKUP_VIEW_UNSPECIFIED", +"BACKUP_VIEW_BASIC", +"BACKUP_VIEW_CLUSTER_DELETED" +], +"enumDescriptions": [ +"Value unspecified, equivalent to BASIC.", +"Responses include all fields that aren't explicitly gated behind another view.", +"Response include all the field from BASIC plus the field cluster_deleted, which specifies if the cluster corresponding to this backup is deleted." +], +"location": "query", +"type": "string" +} +}, +"path": "v1alpha/{+parent}/backups", +"response": { +"$ref": "ListBackupsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates the parameters of a single Backup.", +"flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/backups/{backupsId}", +"httpMethod": "PATCH", +"id": "alloydb.projects.locations.backups.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"allowMissing": { +"description": "Optional. If set to true, update succeeds even if instance is not found. In that case, a new backup is created and `update_mask` is ignored.", +"location": "query", +"type": "boolean" +}, +"name": { +"description": "Output only. The name of the backup resource with the format: * projects/{project}/locations/{region}/backups/{backup_id} where the cluster and backup ID segments should satisfy the regex expression `[a-z]([a-z0-9-]{0,61}[a-z0-9])?`, e.g. 1-63 characters of lowercase letters, numbers, and dashes, starting with a letter, and ending with a letter or number. For more details see https://google.aip.dev/122. The prefix of the backup resource name is the name of the parent resource: * projects/{project}/locations/{region}", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/backups/[^/]+$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server ignores the request if it has already been completed. The server guarantees that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if the original operation with the same request ID was received, and if so, ignores the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"updateMask": { +"description": "Optional. Field mask is used to specify the fields to be overwritten in the Backup resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +}, +"validateOnly": { +"description": "Optional. If set, the backend validates the request, but doesn't actually execute it.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1alpha/{+name}", +"request": { +"$ref": "Backup" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"clusters": { +"methods": { +"create": { +"description": "Creates a new Cluster in a given project and location.", +"flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/clusters", +"httpMethod": "POST", +"id": "alloydb.projects.locations.clusters.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"clusterId": { +"description": "Required. ID of the requesting object.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The location of the new cluster. For the required format, see the comment on the Cluster.name field.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server ignores the request if it has already been completed. The server guarantees that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if the original operation with the same request ID was received, and if so, ignores the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"validateOnly": { +"description": "Optional. If set, performs request validation, for example, permission checks and any other type of validation, but does not actually execute the create request.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1alpha/{+parent}/clusters", +"request": { +"$ref": "Cluster" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"createsecondary": { +"description": "Creates a cluster of type SECONDARY in the given location using the primary cluster as the source.", +"flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/clusters:createsecondary", +"httpMethod": "POST", +"id": "alloydb.projects.locations.clusters.createsecondary", +"parameterOrder": [ +"parent" +], +"parameters": { +"clusterId": { +"description": "Required. ID of the requesting object (the secondary cluster).", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The location of the new cluster. For the required format, see the comment on the Cluster.name field.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server ignores the request if it has already been completed. The server guarantees that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if the original operation with the same request ID was received, and if so, ignores the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"validateOnly": { +"description": "Optional. If set, performs request validation, for example, permission checks and any other type of validation, but does not actually execute the create request.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1alpha/{+parent}/clusters:createsecondary", +"request": { +"$ref": "Cluster" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a single Cluster.", +"flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/clusters/{clustersId}", +"httpMethod": "DELETE", +"id": "alloydb.projects.locations.clusters.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"etag": { +"description": "Optional. The current etag of the Cluster. If an etag is provided and does not match the current etag of the Cluster, deletion will be blocked and an ABORTED error will be returned.", +"location": "query", +"type": "string" +}, +"force": { +"description": "Optional. Whether to cascade delete child instances for given cluster.", +"location": "query", +"type": "boolean" +}, +"name": { +"description": "Required. The name of the resource. For the required format, see the comment on the Cluster.name field.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/clusters/[^/]+$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server ignores the request if it has already been completed. The server guarantees that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if the original operation with the same request ID was received, and if so, ignores the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"validateOnly": { +"description": "Optional. If set, performs request validation, for example, permission checks and any other type of validation, but does not actually execute the create request.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1alpha/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"export": { +"description": "Exports data from the cluster. Imperative only.", +"flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/clusters/{clustersId}:export", +"httpMethod": "POST", +"id": "alloydb.projects.locations.clusters.export", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the cluster.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/clusters/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha/{+name}:export", +"request": { +"$ref": "ExportClusterRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets details of a single Cluster.", +"flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/clusters/{clustersId}", +"httpMethod": "GET", +"id": "alloydb.projects.locations.clusters.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the resource. For the required format, see the comment on the Cluster.name field.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/clusters/[^/]+$", +"required": true, +"type": "string" +}, +"view": { +"description": "Optional. The view of the cluster to return. Returns all default fields if not set.", +"enum": [ +"CLUSTER_VIEW_UNSPECIFIED", +"CLUSTER_VIEW_BASIC", +"CLUSTER_VIEW_CONTINUOUS_BACKUP" +], +"enumDescriptions": [ +"CLUSTER_VIEW_UNSPECIFIED Not specified, equivalent to BASIC.", +"BASIC server responses include all the relevant cluster details, excluding Cluster.ContinuousBackupInfo.EarliestRestorableTime and other view-specific fields. The default value.", +"CONTINUOUS_BACKUP response returns all the fields from BASIC plus the earliest restorable time if continuous backups are enabled. May increase latency." +], +"location": "query", +"type": "string" +} +}, +"path": "v1alpha/{+name}", +"response": { +"$ref": "Cluster" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"import": { +"description": "Imports data to the cluster. Imperative only.", +"flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/clusters/{clustersId}:import", +"httpMethod": "POST", +"id": "alloydb.projects.locations.clusters.import", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the cluster.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/clusters/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha/{+name}:import", +"request": { +"$ref": "ImportClusterRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists Clusters in a given project and location.", +"flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/clusters", +"httpMethod": "GET", +"id": "alloydb.projects.locations.clusters.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Optional. Filtering results", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "Optional. Hint for how to order the results", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Optional. Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A token identifying a page of results the server should return.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The name of the parent resource. For the required format, see the comment on the Cluster.name field. Additionally, you can perform an aggregated list operation by specifying a value with the following format: * projects/{project}/locations/-", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha/{+parent}/clusters", +"response": { +"$ref": "ListClustersResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates the parameters of a single Cluster.", +"flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/clusters/{clustersId}", +"httpMethod": "PATCH", +"id": "alloydb.projects.locations.clusters.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"allowMissing": { +"description": "Optional. If set to true, update succeeds even if cluster is not found. In that case, a new cluster is created and `update_mask` is ignored.", +"location": "query", +"type": "boolean" +}, +"name": { +"description": "Output only. The name of the cluster resource with the format: * projects/{project}/locations/{region}/clusters/{cluster_id} where the cluster ID segment should satisfy the regex expression `[a-z0-9-]+`. For more details see https://google.aip.dev/122. The prefix of the cluster resource name is the name of the parent resource: * projects/{project}/locations/{region}", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/clusters/[^/]+$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server ignores the request if it has already been completed. The server guarantees that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if the original operation with the same request ID was received, and if so, ignores the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"updateMask": { +"description": "Optional. Field mask is used to specify the fields to be overwritten in the Cluster resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +}, +"validateOnly": { +"description": "Optional. If set, performs request validation, for example, permission checks and any other type of validation, but does not actually execute the create request.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1alpha/{+name}", +"request": { +"$ref": "Cluster" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"promote": { +"description": "Promotes a SECONDARY cluster. This turns down replication from the PRIMARY cluster and promotes a secondary cluster into its own standalone cluster. Imperative only.", +"flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/clusters/{clustersId}:promote", +"httpMethod": "POST", +"id": "alloydb.projects.locations.clusters.promote", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the resource. For the required format, see the comment on the Cluster.name field", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/clusters/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha/{+name}:promote", +"request": { +"$ref": "PromoteClusterRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"restore": { +"description": "Creates a new Cluster in a given project and location, with a volume restored from the provided source, either a backup ID or a point-in-time and a source cluster.", +"flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/clusters:restore", +"httpMethod": "POST", +"id": "alloydb.projects.locations.clusters.restore", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The name of the parent resource. For the required format, see the comment on the Cluster.name field.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha/{+parent}/clusters:restore", +"request": { +"$ref": "RestoreClusterRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"restoreFromCloudSQL": { +"description": "Restores an AlloyDB cluster from a CloudSQL resource.", +"flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/clusters:restoreFromCloudSQL", +"httpMethod": "POST", +"id": "alloydb.projects.locations.clusters.restoreFromCloudSQL", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The location of the new cluster. For the required format, see the comment on Cluster.name field.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha/{+parent}/clusters:restoreFromCloudSQL", +"request": { +"$ref": "RestoreFromCloudSQLRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"switchover": { +"description": "Switches the roles of PRIMARY and SECONDARY clusters without any data loss. This promotes the SECONDARY cluster to PRIMARY and sets up the original PRIMARY cluster to replicate from this newly promoted cluster.", +"flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/clusters/{clustersId}:switchover", +"httpMethod": "POST", +"id": "alloydb.projects.locations.clusters.switchover", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the resource. For the required format, see the comment on the Cluster.name field", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/clusters/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha/{+name}:switchover", +"request": { +"$ref": "SwitchoverClusterRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"upgrade": { +"description": "Upgrades a single Cluster. Imperative only.", +"flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/clusters/{clustersId}:upgrade", +"httpMethod": "PATCH", +"id": "alloydb.projects.locations.clusters.upgrade", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the cluster.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/clusters/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha/{+name}:upgrade", +"request": { +"$ref": "UpgradeClusterRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"instances": { +"methods": { +"create": { +"description": "Creates a new Instance in a given project and location.", +"flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/clusters/{clustersId}/instances", +"httpMethod": "POST", +"id": "alloydb.projects.locations.clusters.instances.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"instanceId": { +"description": "Required. ID of the requesting object.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The name of the parent resource. For the required format, see the comment on the Instance.name field.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/clusters/[^/]+$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server ignores the request if it has already been completed. The server guarantees that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if the original operation with the same request ID was received, and if so, ignores the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"validateOnly": { +"description": "Optional. If set, performs request validation, for example, permission checks and any other type of validation, but does not actually execute the create request.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1alpha/{+parent}/instances", +"request": { +"$ref": "Instance" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"createsecondary": { +"description": "Creates a new SECONDARY Instance in a given project and location.", +"flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/clusters/{clustersId}/instances:createsecondary", +"httpMethod": "POST", +"id": "alloydb.projects.locations.clusters.instances.createsecondary", +"parameterOrder": [ +"parent" +], +"parameters": { +"instanceId": { +"description": "Required. ID of the requesting object.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The name of the parent resource. For the required format, see the comment on the Instance.name field.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/clusters/[^/]+$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server ignores the request if it has already been completed. The server guarantees that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if the original operation with the same request ID was received, and if so, ignores the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"validateOnly": { +"description": "Optional. If set, performs request validation, for example, permission checks and any other type of validation, but does not actually execute the create request.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1alpha/{+parent}/instances:createsecondary", +"request": { +"$ref": "Instance" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a single Instance.", +"flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/clusters/{clustersId}/instances/{instancesId}", +"httpMethod": "DELETE", +"id": "alloydb.projects.locations.clusters.instances.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"etag": { +"description": "Optional. The current etag of the Instance. If an etag is provided and does not match the current etag of the Instance, deletion will be blocked and an ABORTED error will be returned.", +"location": "query", +"type": "string" +}, +"name": { +"description": "Required. The name of the resource. For the required format, see the comment on the Instance.name field.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/clusters/[^/]+/instances/[^/]+$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server ignores the request if it has already been completed. The server guarantees that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if the original operation with the same request ID was received, and if so, ignores the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"validateOnly": { +"description": "Optional. If set, performs request validation, for example, permission checks and any other type of validation, but does not actually execute the create request.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1alpha/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"failover": { +"description": "Forces a Failover for a highly available instance. Failover promotes the HA standby instance as the new primary. Imperative only.", +"flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/clusters/{clustersId}/instances/{instancesId}:failover", +"httpMethod": "POST", +"id": "alloydb.projects.locations.clusters.instances.failover", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the resource. For the required format, see the comment on the Instance.name field.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/clusters/[^/]+/instances/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha/{+name}:failover", +"request": { +"$ref": "FailoverInstanceRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets details of a single Instance.", +"flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/clusters/{clustersId}/instances/{instancesId}", +"httpMethod": "GET", +"id": "alloydb.projects.locations.clusters.instances.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the resource. For the required format, see the comment on the Instance.name field.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/clusters/[^/]+/instances/[^/]+$", +"required": true, +"type": "string" +}, +"view": { +"description": "The view of the instance to return.", +"enum": [ +"INSTANCE_VIEW_UNSPECIFIED", +"INSTANCE_VIEW_BASIC", +"INSTANCE_VIEW_FULL" +], +"enumDescriptions": [ +"INSTANCE_VIEW_UNSPECIFIED Not specified, equivalent to BASIC.", +"BASIC server responses for a primary or read instance include all the relevant instance details, excluding the details of each node in the instance. The default value.", +"FULL response is equivalent to BASIC for primary instance (for now). For read pool instance, this includes details of each node in the pool." +], +"location": "query", +"type": "string" +} +}, +"path": "v1alpha/{+name}", +"response": { +"$ref": "Instance" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"getConnectionInfo": { +"description": "Get instance metadata used for a connection.", +"flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/clusters/{clustersId}/instances/{instancesId}/connectionInfo", +"httpMethod": "GET", +"id": "alloydb.projects.locations.clusters.instances.getConnectionInfo", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The name of the parent resource. The required format is: projects/{project}/locations/{location}/clusters/{cluster}/instances/{instance}", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/clusters/[^/]+/instances/[^/]+$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server ignores the request if it has already been completed. The server guarantees that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if the original operation with the same request ID was received, and if so, ignores the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "v1alpha/{+parent}/connectionInfo", +"response": { +"$ref": "ConnectionInfo" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"injectFault": { +"description": "Injects fault in an instance. Imperative only.", +"flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/clusters/{clustersId}/instances/{instancesId}:injectFault", +"httpMethod": "POST", +"id": "alloydb.projects.locations.clusters.instances.injectFault", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the resource. For the required format, see the comment on the Instance.name field.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/clusters/[^/]+/instances/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha/{+name}:injectFault", +"request": { +"$ref": "InjectFaultRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists Instances in a given project and location.", +"flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/clusters/{clustersId}/instances", +"httpMethod": "GET", +"id": "alloydb.projects.locations.clusters.instances.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Optional. Filtering results", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "Optional. Hint for how to order the results", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Optional. Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A token identifying a page of results the server should return.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The name of the parent resource. For the required format, see the comment on the Instance.name field. Additionally, you can perform an aggregated list operation by specifying a value with one of the following formats: * projects/{project}/locations/-/clusters/- * projects/{project}/locations/{region}/clusters/-", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/clusters/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha/{+parent}/instances", +"response": { +"$ref": "ListInstancesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates the parameters of a single Instance.", +"flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/clusters/{clustersId}/instances/{instancesId}", +"httpMethod": "PATCH", +"id": "alloydb.projects.locations.clusters.instances.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"allowMissing": { +"description": "Optional. If set to true, update succeeds even if instance is not found. In that case, a new instance is created and `update_mask` is ignored.", +"location": "query", +"type": "boolean" +}, +"name": { +"description": "Output only. The name of the instance resource with the format: * projects/{project}/locations/{region}/clusters/{cluster_id}/instances/{instance_id} where the cluster and instance ID segments should satisfy the regex expression `[a-z]([a-z0-9-]{0,61}[a-z0-9])?`, e.g. 1-63 characters of lowercase letters, numbers, and dashes, starting with a letter, and ending with a letter or number. For more details see https://google.aip.dev/122. The prefix of the instance resource name is the name of the parent resource: * projects/{project}/locations/{region}/clusters/{cluster_id}", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/clusters/[^/]+/instances/[^/]+$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server ignores the request if it has already been completed. The server guarantees that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if the original operation with the same request ID was received, and if so, ignores the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"updateMask": { +"description": "Optional. Field mask is used to specify the fields to be overwritten in the Instance resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +}, +"validateOnly": { +"description": "Optional. If set, performs request validation, for example, permission checks and any other type of validation, but does not actually execute the create request.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1alpha/{+name}", +"request": { +"$ref": "Instance" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"restart": { +"description": "Restart an Instance in a cluster. Imperative only.", +"flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/clusters/{clustersId}/instances/{instancesId}:restart", +"httpMethod": "POST", +"id": "alloydb.projects.locations.clusters.instances.restart", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the resource. For the required format, see the comment on the Instance.name field.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/clusters/[^/]+/instances/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha/{+name}:restart", +"request": { +"$ref": "RestartInstanceRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"users": { +"methods": { +"create": { +"description": "Creates a new User in a given project, location, and cluster.", +"flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/clusters/{clustersId}/users", +"httpMethod": "POST", +"id": "alloydb.projects.locations.clusters.users.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. Value for parent.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/clusters/[^/]+$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server ignores the request if it has already been completed. The server guarantees that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if the original operation with the same request ID was received, and if so, ignores the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"userId": { +"description": "Required. ID of the requesting object.", +"location": "query", +"type": "string" +}, +"validateOnly": { +"description": "Optional. If set, the backend validates the request, but doesn't actually execute it.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1alpha/{+parent}/users", +"request": { +"$ref": "User" +}, +"response": { +"$ref": "User" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a single User.", +"flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/clusters/{clustersId}/users/{usersId}", +"httpMethod": "DELETE", +"id": "alloydb.projects.locations.clusters.users.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the resource. For the required format, see the comment on the User.name field.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/clusters/[^/]+/users/[^/]+$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server ignores the request if it has already been completed. The server guarantees that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if the original operation with the same request ID was received, and if so, ignores the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"validateOnly": { +"description": "Optional. If set, the backend validates the request, but doesn't actually execute it.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1alpha/{+name}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets details of a single User.", +"flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/clusters/{clustersId}/users/{usersId}", +"httpMethod": "GET", +"id": "alloydb.projects.locations.clusters.users.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the resource. For the required format, see the comment on the User.name field.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/clusters/[^/]+/users/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha/{+name}", +"response": { +"$ref": "User" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists Users in a given project and location.", +"flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/clusters/{clustersId}/users", +"httpMethod": "GET", +"id": "alloydb.projects.locations.clusters.users.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Optional. Filtering results", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "Optional. Hint for how to order the results", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Optional. Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. A token identifying a page of results the server should return.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. Parent value for ListUsersRequest", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/clusters/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha/{+parent}/users", +"response": { +"$ref": "ListUsersResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates the parameters of a single User.", +"flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/clusters/{clustersId}/users/{usersId}", +"httpMethod": "PATCH", +"id": "alloydb.projects.locations.clusters.users.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"allowMissing": { +"description": "Optional. Allow missing fields in the update mask.", +"location": "query", +"type": "boolean" +}, +"name": { +"description": "Output only. Name of the resource in the form of projects/{project}/locations/{location}/cluster/{cluster}/users/{user}.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/clusters/[^/]+/users/[^/]+$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server ignores the request if it has already been completed. The server guarantees that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if the original operation with the same request ID was received, and if so, ignores the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"updateMask": { +"description": "Optional. Field mask is used to specify the fields to be overwritten in the User resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +}, +"validateOnly": { +"description": "Optional. If set, the backend validates the request, but doesn't actually execute it.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1alpha/{+name}", +"request": { +"$ref": "User" +}, +"response": { +"$ref": "User" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +}, +"operations": { +"methods": { +"cancel": { +"description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.", +"flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}:cancel", +"httpMethod": "POST", +"id": "alloydb.projects.locations.operations.cancel", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be cancelled.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha/{+name}:cancel", +"request": { +"$ref": "CancelOperationRequest" +}, +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.", +"flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}", +"httpMethod": "DELETE", +"id": "alloydb.projects.locations.operations.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be deleted.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha/{+name}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", +"flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}", +"httpMethod": "GET", +"id": "alloydb.projects.locations.operations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.", +"flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/operations", +"httpMethod": "GET", +"id": "alloydb.projects.locations.operations.list", +"parameterOrder": [ +"name" +], +"parameters": { +"filter": { +"description": "The standard list filter.", +"location": "query", +"type": "string" +}, +"name": { +"description": "The name of the operation's parent resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The standard list page size.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The standard list page token.", +"location": "query", +"type": "string" +}, +"returnPartialSuccess": { +"description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `\"projects/example/locations/-\"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1alpha/{+name}/operations", +"response": { +"$ref": "ListOperationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"supportedDatabaseFlags": { +"methods": { +"list": { +"description": "Lists SupportedDatabaseFlags for a given project and location.", +"flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/supportedDatabaseFlags", +"httpMethod": "GET", +"id": "alloydb.projects.locations.supportedDatabaseFlags.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A token identifying a page of results the server should return.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The name of the parent resource. The required format is: * projects/{project}/locations/{location} Regardless of the parent specified here, as long it is contains a valid project and location, the service will return a static list of supported flags resources. Note that we do not yet support region-specific flags.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +}, +"scope": { +"description": "Optional. The scope for which supported flags are requested. If not specified, default is DATABASE.", +"enum": [ +"SCOPE_UNSPECIFIED", +"DATABASE", +"CONNECTION_POOL" +], +"enumDescriptions": [ +"The scope of the flag is not specified. Default is DATABASE.", +"The flag is a database flag.", +"The flag is a connection pool flag." +], +"location": "query", +"type": "string" +} +}, +"path": "v1alpha/{+parent}/supportedDatabaseFlags", +"response": { +"$ref": "ListSupportedDatabaseFlagsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +} +} +} +}, +"revision": "20260213", +"rootUrl": "https://alloydb.googleapis.com/", +"schemas": { +"AuthorizedNetwork": { +"description": "AuthorizedNetwork contains metadata for an authorized network.", +"id": "AuthorizedNetwork", +"properties": { +"cidrRange": { +"description": "CIDR range for one authorzied network of the instance.", +"type": "string" +} +}, +"type": "object" +}, +"AutoScalingConfig": { +"description": "Configuration for autoscaling.", +"id": "AutoScalingConfig", +"properties": { +"policy": { +"$ref": "Policy", +"description": "Policy for the MIG autoscaler." +}, +"schedules": { +"description": "Optional list of schedules for the MIG autoscaler. If not set, no schedules are created.", +"items": { +"$ref": "Schedule" +}, +"type": "array" +} +}, +"type": "object" +}, +"AutomatedBackupPolicy": { +"description": "Message describing the user-specified automated backup policy. All fields in the automated backup policy are optional. Defaults for each field are provided if they are not set.", +"id": "AutomatedBackupPolicy", +"properties": { +"backupWindow": { +"description": "The length of the time window during which a backup can be taken. If a backup does not succeed within this time window, it will be canceled and considered failed. The backup window must be at least 5 minutes long. There is no upper bound on the window. If not set, it defaults to 1 hour.", +"format": "google-duration", +"type": "string" +}, +"enabled": { +"description": "Whether automated automated backups are enabled. If not set, defaults to true.", +"type": "boolean" +}, +"encryptionConfig": { +"$ref": "EncryptionConfig", +"description": "Optional. The encryption config can be specified to encrypt the backups with a customer-managed encryption key (CMEK). When this field is not specified, the backup will use the cluster's encryption config." +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Labels to apply to backups created using this configuration.", +"type": "object" +}, +"location": { +"description": "The location where the backup will be stored. Currently, the only supported option is to store the backup in the same region as the cluster. If empty, defaults to the region of the cluster.", +"type": "string" +}, +"quantityBasedRetention": { +"$ref": "QuantityBasedRetention", +"description": "Quantity-based Backup retention policy to retain recent backups." +}, +"timeBasedRetention": { +"$ref": "TimeBasedRetention", +"description": "Time-based Backup retention policy." +}, +"weeklySchedule": { +"$ref": "WeeklySchedule", +"description": "Weekly schedule for the Backup." +} +}, +"type": "object" +}, +"Backup": { +"description": "Message describing Backup object", +"id": "Backup", +"properties": { +"annotations": { +"additionalProperties": { +"type": "string" +}, +"description": "Annotations to allow client tools to store small amount of arbitrary data. This is distinct from labels. https://google.aip.dev/128", +"type": "object" +}, +"clusterDeleted": { +"description": "Output only. Set to true if the cluster corresponding to this backup is deleted. This field is only populated for when using the BACKUP_VIEW_CLUSTER_DELETED view.", +"readOnly": true, +"type": "boolean" +}, +"clusterName": { +"description": "Required. The full resource name of the backup source cluster (e.g., projects/{project}/locations/{region}/clusters/{cluster_id}).", +"type": "string" +}, +"clusterUid": { +"description": "Output only. The system-generated UID of the cluster which was used to create this resource.", +"readOnly": true, +"type": "string" +}, +"createCompletionTime": { +"description": "Output only. Timestamp when the resource finished being created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"createTime": { +"description": "Output only. Create time stamp", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"databaseVersion": { +"description": "Output only. The database engine major version of the cluster this backup was created from. Any restored cluster created from this backup will have the same database version.", +"enum": [ +"DATABASE_VERSION_UNSPECIFIED", +"POSTGRES_13", +"POSTGRES_14", +"POSTGRES_15", +"POSTGRES_16", +"POSTGRES_17", +"POSTGRES_18" +], +"enumDeprecated": [ +false, +true, +false, +false, +false, +false, +false +], +"enumDescriptions": [ +"This is an unknown database version.", +"DEPRECATED - The database version is Postgres 13.", +"The database version is Postgres 14.", +"The database version is Postgres 15.", +"The database version is Postgres 16.", +"The database version is Postgres 17.", +"The database version is Postgres 18." +], +"readOnly": true, +"type": "string" +}, +"deleteTime": { +"description": "Output only. Delete time stamp", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"description": { +"description": "User-provided description of the backup.", +"type": "string" +}, +"displayName": { +"description": "User-settable and human-readable display name for the Backup.", +"type": "string" +}, +"encryptionConfig": { +"$ref": "EncryptionConfig", +"description": "Optional. The encryption config can be specified to encrypt the backup with a customer-managed encryption key (CMEK). When this field is not specified, the backup will then use default encryption scheme to protect the user data." +}, +"encryptionInfo": { +"$ref": "EncryptionInfo", +"description": "Output only. The encryption information for the backup.", +"readOnly": true +}, +"etag": { +"description": "For Resource freshness validation (https://google.aip.dev/154)", +"type": "string" +}, +"expiryQuantity": { +"$ref": "QuantityBasedExpiry", +"description": "Output only. The QuantityBasedExpiry of the backup, specified by the backup's retention policy. Once the expiry quantity is over retention, the backup is eligible to be garbage collected.", +"readOnly": true +}, +"expiryTime": { +"description": "Output only. The time at which after the backup is eligible to be garbage collected. It is the duration specified by the backup's retention policy, added to the backup's create_time.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Labels as key value pairs", +"type": "object" +}, +"name": { +"description": "Output only. The name of the backup resource with the format: * projects/{project}/locations/{region}/backups/{backup_id} where the cluster and backup ID segments should satisfy the regex expression `[a-z]([a-z0-9-]{0,61}[a-z0-9])?`, e.g. 1-63 characters of lowercase letters, numbers, and dashes, starting with a letter, and ending with a letter or number. For more details see https://google.aip.dev/122. The prefix of the backup resource name is the name of the parent resource: * projects/{project}/locations/{region}", +"readOnly": true, +"type": "string" +}, +"reconciling": { +"description": "Output only. Reconciling (https://google.aip.dev/128#reconciliation), if true, indicates that the service is actively updating the resource. This can happen due to user-triggered updates or system actions like failover or maintenance.", +"readOnly": true, +"type": "boolean" +}, +"satisfiesPzi": { +"description": "Output only. Reserved for future use.", +"readOnly": true, +"type": "boolean" +}, +"satisfiesPzs": { +"description": "Output only. Reserved for future use.", +"readOnly": true, +"type": "boolean" +}, +"sizeBytes": { +"description": "Output only. The size of the backup in bytes.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"state": { +"description": "Output only. The current state of the backup.", +"enum": [ +"STATE_UNSPECIFIED", +"READY", +"CREATING", +"FAILED", +"DELETING" +], +"enumDescriptions": [ +"The state of the backup is unknown.", +"The backup is ready.", +"The backup is creating.", +"The backup failed.", +"The backup is being deleted." +], +"readOnly": true, +"type": "string" +}, +"tags": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. Input only. Immutable. Tag keys/values directly bound to this resource. For example: ``` \"123/environment\": \"production\", \"123/costCenter\": \"marketing\" ```", +"type": "object" +}, +"type": { +"description": "The backup type, which suggests the trigger for the backup.", +"enum": [ +"TYPE_UNSPECIFIED", +"ON_DEMAND", +"AUTOMATED", +"CONTINUOUS" +], +"enumDescriptions": [ +"Backup Type is unknown.", +"ON_DEMAND backups that were triggered by the customer (e.g., not AUTOMATED).", +"AUTOMATED backups triggered by the automated backups scheduler pursuant to an automated backup policy.", +"CONTINUOUS backups triggered by the automated backups scheduler due to a continuous backup policy." +], +"type": "string" +}, +"uid": { +"description": "Output only. The system-generated UID of the resource. The UID is assigned when the resource is created, and it is retained until it is deleted.", +"readOnly": true, +"type": "string" +}, +"updateTime": { +"description": "Output only. Update time stamp Users should not infer any meaning from this field. Its value is generally unrelated to the timing of the backup creation operation.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"BackupDrBackupSource": { +"description": "Message describing a BackupDrBackupSource.", +"id": "BackupDrBackupSource", +"properties": { +"backup": { +"description": "Required. The name of the backup resource with the format: * projects/{project}/locations/{location}/backupVaults/{backupvault_id}/dataSources/{datasource_id}/backups/{backup_id}", +"type": "string" +} +}, +"type": "object" +}, +"BackupDrEnabledWindow": { +"description": "Information about a single window when BackupDR was enabled for this cluster.", +"id": "BackupDrEnabledWindow", +"properties": { +"automatedBackupPreviouslyEnabled": { +"description": "Whether automated backup was previously enabled prior to enabling BackupDR protection for this cluster.", +"type": "boolean" +}, +"backupPlanAssociation": { +"description": "The BackupPlanAssociation resource that was used to enable BackupDR protection for this cluster.", +"type": "string" +}, +"continuousBackupPreviousRecoveryWindowDays": { +"description": "The retention set for the continuous backup that was previously enabled prior to enabling BackupDR protection for this cluster.", +"format": "int32", +"type": "integer" +}, +"continuousBackupPreviouslyEnabled": { +"description": "Whether continuous backup was previously enabled prior to enabling BackupDR protection for this cluster.", +"type": "boolean" +}, +"continuousBackupPreviouslyEnabledTime": { +"description": "The time when continuous backup was previously enabled prior to enabling BackupDR protection for this cluster.", +"format": "google-datetime", +"type": "string" +}, +"dataSource": { +"description": "The DataSource resource that represents the cluster in BackupDR.", +"type": "string" +}, +"disabledTime": { +"description": "Time when the BackupDR protection for this cluster was disabled. This field will be empty if this BackupDR window is the `current_window`.", +"format": "google-datetime", +"type": "string" +}, +"enabledTime": { +"description": "Time when the BackupDR protection for this cluster was enabled.", +"format": "google-datetime", +"type": "string" +}, +"logRetentionPeriod": { +"description": "The retention period for logs generated by BackupDR for this cluster.", +"format": "google-duration", +"type": "string" +} +}, +"type": "object" +}, +"BackupDrInfo": { +"description": "Information about BackupDR protection for this cluster.", +"id": "BackupDrInfo", +"properties": { +"currentWindow": { +"$ref": "BackupDrEnabledWindow", +"description": "The current BackupDR configuration for this cluster. If BackupDR protection is not enabled for this cluster, this field will be empty." +}, +"previousWindows": { +"description": "Windows during which BackupDR was enabled for this cluster, along with associated configuration for that window. These are used to determine points-in-time for which restores can be performed. The windows are ordered with the most recent window last. Windows are mutally exclusive. Windows which closed more than 1 year ago will be removed from this list.", +"items": { +"$ref": "BackupDrEnabledWindow" +}, +"type": "array" +} +}, +"type": "object" +}, +"BackupDrPitrSource": { +"description": "Message describing a BackupDrPitrSource.", +"id": "BackupDrPitrSource", +"properties": { +"dataSource": { +"description": "Required. The name of the backup resource with the format: * projects/{project}/locations/{location}/backupVaults/{backupvault_id}/dataSources/{datasource_id}", +"type": "string" +}, +"pointInTime": { +"description": "Required. The point in time to restore to.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"BackupSource": { +"description": "Message describing a BackupSource.", +"id": "BackupSource", +"properties": { +"backupName": { +"description": "Required. The name of the backup resource with the format: * projects/{project}/locations/{region}/backups/{backup_id}", +"type": "string" +}, +"backupUid": { +"description": "Output only. The system-generated UID of the backup which was used to create this resource. The UID is generated when the backup is created, and it is retained until the backup is deleted.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"CancelOperationRequest": { +"description": "The request message for Operations.CancelOperation.", +"id": "CancelOperationRequest", +"properties": {}, +"type": "object" +}, +"ClientConnectionConfig": { +"description": "Client connection configuration", +"id": "ClientConnectionConfig", +"properties": { +"requireConnectors": { +"description": "Optional. Configuration to enforce connectors only (ex: AuthProxy) connections to the database.", +"type": "boolean" +}, +"sslConfig": { +"$ref": "SslConfig", +"description": "Optional. SSL configuration option for this instance." +} +}, +"type": "object" +}, +"CloudControl2SharedOperationsReconciliationOperationMetadata": { +"description": "Operation metadata returned by the CLH during resource state reconciliation.", +"id": "CloudControl2SharedOperationsReconciliationOperationMetadata", +"properties": { +"deleteResource": { +"deprecated": true, +"description": "DEPRECATED. Use exclusive_action instead.", +"type": "boolean" +}, +"exclusiveAction": { +"description": "Excluisive action returned by the CLH.", +"enum": [ +"UNKNOWN_REPAIR_ACTION", +"DELETE", +"RETRY" +], +"enumDeprecated": [ +false, +true, +false +], +"enumDescriptions": [ +"Unknown repair action.", +"The resource has to be deleted. When using this bit, the CLH should fail the operation. DEPRECATED. Instead use DELETE_RESOURCE OperationSignal in SideChannel.", +"This resource could not be repaired but the repair should be tried again at a later time. This can happen if there is a dependency that needs to be resolved first- e.g. if a parent resource must be repaired before a child resource." +], +"type": "string" +} +}, +"type": "object" +}, +"CloudSQLBackupRunSource": { +"description": "The source CloudSQL backup resource.", +"id": "CloudSQLBackupRunSource", +"properties": { +"backupRunId": { +"description": "Required. The CloudSQL backup run ID.", +"format": "int64", +"type": "string" +}, +"instanceId": { +"description": "Required. The CloudSQL instance ID.", +"type": "string" +}, +"project": { +"description": "The project ID of the source CloudSQL instance. This should be the same as the AlloyDB cluster's project.", +"type": "string" +} +}, +"type": "object" +}, +"Cluster": { +"description": "A cluster is a collection of regional AlloyDB resources. It can include a primary instance and one or more read pool instances. All cluster resources share a storage layer, which scales as needed.", +"id": "Cluster", +"properties": { +"annotations": { +"additionalProperties": { +"type": "string" +}, +"description": "Annotations to allow client tools to store small amount of arbitrary data. This is distinct from labels. https://google.aip.dev/128", +"type": "object" +}, +"automatedBackupPolicy": { +"$ref": "AutomatedBackupPolicy", +"description": "The automated backup policy for this cluster. If no policy is provided then the default policy will be used. If backups are supported for the cluster, the default policy takes one backup a day, has a backup window of 1 hour, and retains backups for 14 days. For more information on the defaults, consult the documentation for the message type." +}, +"backupSource": { +"$ref": "BackupSource", +"description": "Output only. Cluster created from backup.", +"readOnly": true +}, +"backupdrBackupSource": { +"$ref": "BackupDrBackupSource", +"description": "Output only. Cluster created from a BackupDR backup.", +"readOnly": true +}, +"backupdrInfo": { +"$ref": "BackupDrInfo", +"description": "Output only. Output only information about BackupDR protection for this cluster.", +"readOnly": true +}, +"cloudsqlBackupRunSource": { +"$ref": "CloudSQLBackupRunSource", +"description": "Output only. Cluster created from CloudSQL snapshot.", +"readOnly": true +}, +"clusterType": { +"description": "Output only. The type of the cluster. This is an output-only field and it's populated at the Cluster creation time or the Cluster promotion time. The cluster type is determined by which RPC was used to create the cluster (i.e. `CreateCluster` vs. `CreateSecondaryCluster`", +"enum": [ +"CLUSTER_TYPE_UNSPECIFIED", +"PRIMARY", +"SECONDARY" +], +"enumDescriptions": [ +"The type of the cluster is unknown.", +"Primary cluster that support read and write operations.", +"Secondary cluster that is replicating from another region. This only supports read." +], +"readOnly": true, +"type": "string" +}, +"continuousBackupConfig": { +"$ref": "ContinuousBackupConfig", +"description": "Optional. Continuous backup configuration for this cluster." +}, +"continuousBackupInfo": { +"$ref": "ContinuousBackupInfo", +"description": "Output only. Continuous backup properties for this cluster.", +"readOnly": true +}, +"createTime": { +"description": "Output only. Create time stamp", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"databaseVersion": { +"description": "Optional. The database engine major version. This is an optional field and it is populated at the Cluster creation time. If a database version is not supplied at cluster creation time, then a default database version will be used.", +"enum": [ +"DATABASE_VERSION_UNSPECIFIED", +"POSTGRES_13", +"POSTGRES_14", +"POSTGRES_15", +"POSTGRES_16", +"POSTGRES_17", +"POSTGRES_18" +], +"enumDeprecated": [ +false, +true, +false, +false, +false, +false, +false +], +"enumDescriptions": [ +"This is an unknown database version.", +"DEPRECATED - The database version is Postgres 13.", +"The database version is Postgres 14.", +"The database version is Postgres 15.", +"The database version is Postgres 16.", +"The database version is Postgres 17.", +"The database version is Postgres 18." +], +"type": "string" +}, +"dataplexConfig": { +"$ref": "DataplexConfig", +"description": "Optional. Configuration for Dataplex integration." +}, +"deleteTime": { +"description": "Output only. Delete time stamp", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"displayName": { +"description": "User-settable and human-readable display name for the Cluster.", +"type": "string" +}, +"encryptionConfig": { +"$ref": "EncryptionConfig", +"description": "Optional. The encryption config can be specified to encrypt the data disks and other persistent data resources of a cluster with a customer-managed encryption key (CMEK). When this field is not specified, the cluster will then use default encryption scheme to protect the user data." +}, +"encryptionInfo": { +"$ref": "EncryptionInfo", +"description": "Output only. The encryption information for the cluster.", +"readOnly": true +}, +"etag": { +"description": "For Resource freshness validation (https://google.aip.dev/154)", +"type": "string" +}, +"geminiConfig": { +"$ref": "GeminiClusterConfig", +"deprecated": true, +"description": "Optional. Deprecated and unused. This field will be removed in the near future." +}, +"initialUser": { +"$ref": "UserPassword", +"description": "Input only. Initial user to setup during cluster creation. Required. If used in `RestoreCluster` this is ignored." +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Labels as key value pairs", +"type": "object" +}, +"maintenanceSchedule": { +"$ref": "MaintenanceSchedule", +"description": "Output only. The maintenance schedule for the cluster, generated for a specific rollout if a maintenance window is set.", +"readOnly": true +}, +"maintenanceUpdatePolicy": { +"$ref": "MaintenanceUpdatePolicy", +"description": "Optional. The maintenance update policy determines when to allow or deny updates." +}, +"maintenanceVersionSelectionPolicy": { +"description": "Input only. Policy to use to automatically select the maintenance version to which to update the cluster's instances.", +"enum": [ +"MAINTENANCE_VERSION_SELECTION_POLICY_UNSPECIFIED", +"MAINTENANCE_VERSION_SELECTION_POLICY_LATEST", +"MAINTENANCE_VERSION_SELECTION_POLICY_DEFAULT" +], +"enumDescriptions": [ +"The maintenance version selection policy is not specified.", +"Use the latest available maintenance version.", +"Use the current default maintenance version." +], +"type": "string" +}, +"migrationSource": { +"$ref": "MigrationSource", +"description": "Output only. Cluster created via DMS migration.", +"readOnly": true +}, +"name": { +"description": "Output only. The name of the cluster resource with the format: * projects/{project}/locations/{region}/clusters/{cluster_id} where the cluster ID segment should satisfy the regex expression `[a-z0-9-]+`. For more details see https://google.aip.dev/122. The prefix of the cluster resource name is the name of the parent resource: * projects/{project}/locations/{region}", +"readOnly": true, +"type": "string" +}, +"network": { +"deprecated": true, +"description": "Required. The resource link for the VPC network in which cluster resources are created and from which they are accessible via Private IP. The network must belong to the same project as the cluster. It is specified in the form: `projects/{project}/global/networks/{network_id}`. This is required to create a cluster. Deprecated, use network_config.network instead.", +"type": "string" +}, +"networkConfig": { +"$ref": "NetworkConfig" +}, +"primaryConfig": { +"$ref": "PrimaryConfig", +"description": "Output only. Cross Region replication config specific to PRIMARY cluster.", +"readOnly": true +}, +"pscConfig": { +"$ref": "PscConfig", +"description": "Optional. The configuration for Private Service Connect (PSC) for the cluster." +}, +"reconciling": { +"description": "Output only. Reconciling (https://google.aip.dev/128#reconciliation). Set to true if the current state of Cluster does not match the user's intended state, and the service is actively updating the resource to reconcile them. This can happen due to user-triggered updates or system actions like failover or maintenance.", +"readOnly": true, +"type": "boolean" +}, +"satisfiesPzi": { +"description": "Output only. Reserved for future use.", +"readOnly": true, +"type": "boolean" +}, +"satisfiesPzs": { +"description": "Output only. Reserved for future use.", +"readOnly": true, +"type": "boolean" +}, +"secondaryConfig": { +"$ref": "SecondaryConfig", +"description": "Cross Region replication config specific to SECONDARY cluster." +}, +"serviceAccountEmail": { +"description": "Output only. AlloyDB per-cluster service account. This service account is created per-cluster per-project, and is different from the per-project service account. The per-cluster service account naming format is subject to change.", +"readOnly": true, +"type": "string" +}, +"sslConfig": { +"$ref": "SslConfig", +"deprecated": true, +"description": "SSL configuration for this AlloyDB cluster." +}, +"state": { +"description": "Output only. The current serving state of the cluster.", +"enum": [ +"STATE_UNSPECIFIED", +"READY", +"STOPPED", +"EMPTY", +"CREATING", +"DELETING", +"FAILED", +"BOOTSTRAPPING", +"MAINTENANCE", +"PROMOTING", +"SWITCHOVER" +], +"enumDescriptions": [ +"The state of the cluster is unknown.", +"The cluster is active and running.", +"This is unused. Even when all instances in the cluster are stopped, the cluster remains in READY state.", +"The cluster is empty and has no associated resources. All instances, associated storage and backups have been deleted.", +"The cluster is being created.", +"The cluster is being deleted.", +"The creation of the cluster failed.", +"The cluster is bootstrapping with data from some other source. Direct mutations to the cluster (e.g. adding read pool) are not allowed.", +"The cluster is under maintenance. AlloyDB regularly performs maintenance and upgrades on customer clusters. Updates on the cluster are not allowed while the cluster is in this state.", +"The cluster is being promoted.", +"The cluster has entered switchover state. All updates on cluster and its associated instances are restricted while the cluster is in this state." +], +"readOnly": true, +"type": "string" +}, +"subscriptionType": { +"description": "Optional. Subscription type of the cluster.", +"enum": [ +"SUBSCRIPTION_TYPE_UNSPECIFIED", +"STANDARD", +"TRIAL" +], +"enumDescriptions": [ +"This is an unknown subscription type. By default, the subscription type is STANDARD.", +"Standard subscription.", +"Trial subscription." +], +"type": "string" +}, +"tags": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. Input only. Immutable. Tag keys/values directly bound to this resource. For example: ``` \"123/environment\": \"production\", \"123/costCenter\": \"marketing\" ```", +"type": "object" +}, +"trialMetadata": { +"$ref": "TrialMetadata", +"description": "Output only. Metadata for free trial clusters", +"readOnly": true +}, +"uid": { +"description": "Output only. The system-generated UID of the resource. The UID is assigned when the resource is created, and it is retained until it is deleted.", +"readOnly": true, +"type": "string" +}, +"updateTime": { +"description": "Output only. Update time stamp", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"ClusterUpgradeDetails": { +"description": "Upgrade details of a cluster. This cluster can be primary or secondary.", +"id": "ClusterUpgradeDetails", +"properties": { +"clusterType": { +"description": "Cluster type which can either be primary or secondary.", +"enum": [ +"CLUSTER_TYPE_UNSPECIFIED", +"PRIMARY", +"SECONDARY" +], +"enumDescriptions": [ +"The type of the cluster is unknown.", +"Primary cluster that support read and write operations.", +"Secondary cluster that is replicating from another region. This only supports read." +], +"type": "string" +}, +"databaseVersion": { +"description": "Database version of the cluster after the upgrade operation. This will be the target version if the upgrade was successful otherwise it remains the same as that before the upgrade operation.", +"enum": [ +"DATABASE_VERSION_UNSPECIFIED", +"POSTGRES_13", +"POSTGRES_14", +"POSTGRES_15", +"POSTGRES_16", +"POSTGRES_17", +"POSTGRES_18" +], +"enumDeprecated": [ +false, +true, +false, +false, +false, +false, +false +], +"enumDescriptions": [ +"This is an unknown database version.", +"DEPRECATED - The database version is Postgres 13.", +"The database version is Postgres 14.", +"The database version is Postgres 15.", +"The database version is Postgres 16.", +"The database version is Postgres 17.", +"The database version is Postgres 18." +], +"type": "string" +}, +"instanceUpgradeDetails": { +"description": "Upgrade details of the instances directly associated with this cluster.", +"items": { +"$ref": "InstanceUpgradeDetails" +}, +"type": "array" +}, +"name": { +"description": "Normalized name of the cluster", +"type": "string" +}, +"stageInfo": { +"description": "Array containing stage info associated with this cluster.", +"items": { +"$ref": "StageInfo" +}, +"type": "array" +}, +"upgradeStatus": { +"description": "Upgrade status of the cluster.", +"enum": [ +"STATUS_UNSPECIFIED", +"NOT_STARTED", +"IN_PROGRESS", +"SUCCESS", +"FAILED", +"PARTIAL_SUCCESS", +"CANCEL_IN_PROGRESS", +"CANCELLED" +], +"enumDescriptions": [ +"Unspecified status.", +"Not started.", +"In progress.", +"Operation succeeded.", +"Operation failed.", +"Operation partially succeeded.", +"Cancel is in progress.", +"Cancellation complete." +], +"type": "string" +} +}, +"type": "object" +}, +"ConnectionInfo": { +"description": "ConnectionInfo singleton resource. https://google.aip.dev/156", +"id": "ConnectionInfo", +"properties": { +"instanceUid": { +"description": "Output only. The unique ID of the Instance.", +"readOnly": true, +"type": "string" +}, +"ipAddress": { +"description": "Output only. The private network IP address for the Instance. This is the default IP for the instance and is always created (even if enable_public_ip is set). This is the connection endpoint for an end-user application.", +"readOnly": true, +"type": "string" +}, +"name": { +"description": "The name of the ConnectionInfo singleton resource, e.g.: projects/{project}/locations/{location}/clusters/*/instances/*/connectionInfo This field currently has no semantic meaning.", +"type": "string" +}, +"pemCertificateChain": { +"deprecated": true, +"description": "Output only. The pem-encoded chain that may be used to verify the X.509 certificate. Expected to be in issuer-to-root order according to RFC 5246.", +"items": { +"type": "string" +}, +"readOnly": true, +"type": "array" +}, +"pscDnsName": { +"description": "Output only. The DNS name to use with PSC for the Instance.", +"readOnly": true, +"type": "string" +}, +"publicIpAddress": { +"description": "Output only. The public IP addresses for the Instance. This is available ONLY when enable_public_ip is set. This is the connection endpoint for an end-user application.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"ConnectionPoolConfig": { +"description": "Configuration for Managed Connection Pool (MCP).", +"id": "ConnectionPoolConfig", +"properties": { +"enabled": { +"description": "Optional. Whether to enable Managed Connection Pool (MCP).", +"type": "boolean" +}, +"flags": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. Connection Pool flags, as a list of \"key\": \"value\" pairs.", +"type": "object" +}, +"poolerCount": { +"description": "Output only. The number of running poolers per instance.", +"format": "int32", +"readOnly": true, +"type": "integer" +} +}, +"type": "object" +}, +"ContinuousBackupConfig": { +"description": "ContinuousBackupConfig describes the continuous backups recovery configurations of a cluster.", +"id": "ContinuousBackupConfig", +"properties": { +"enabled": { +"description": "Whether ContinuousBackup is enabled.", +"type": "boolean" +}, +"encryptionConfig": { +"$ref": "EncryptionConfig", +"description": "The encryption config can be specified to encrypt the backups with a customer-managed encryption key (CMEK). When this field is not specified, the backup will use the cluster's encryption config." +}, +"recoveryWindowDays": { +"description": "The number of days that are eligible to restore from using PITR. To support the entire recovery window, backups and logs are retained for one day more than the recovery window. If not set, defaults to 14 days.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"ContinuousBackupInfo": { +"description": "ContinuousBackupInfo describes the continuous backup properties of a cluster.", +"id": "ContinuousBackupInfo", +"properties": { +"earliestRestorableTime": { +"description": "Output only. The earliest restorable time that can be restored to. If continuous backups and recovery was recently enabled, the earliest restorable time is the creation time of the earliest eligible backup within this cluster's continuous backup recovery window. After a cluster has had continuous backups enabled for the duration of its recovery window, the earliest restorable time becomes \"now minus the recovery window\". For example, assuming a point in time recovery is attempted at 04/16/2025 3:23:00PM with a 14d recovery window, the earliest restorable time would be 04/02/2025 3:23:00PM. This field is only visible if the CLUSTER_VIEW_CONTINUOUS_BACKUP cluster view is provided.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"enabledTime": { +"description": "Output only. When ContinuousBackup was most recently enabled. Set to null if ContinuousBackup is not enabled.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"encryptionInfo": { +"$ref": "EncryptionInfo", +"description": "Output only. The encryption information for the WALs and backups required for ContinuousBackup.", +"readOnly": true +}, +"schedule": { +"description": "Output only. Days of the week on which a continuous backup is taken.", +"items": { +"enum": [ +"DAY_OF_WEEK_UNSPECIFIED", +"MONDAY", +"TUESDAY", +"WEDNESDAY", +"THURSDAY", +"FRIDAY", +"SATURDAY", +"SUNDAY" +], +"enumDescriptions": [ +"The day of the week is unspecified.", +"Monday", +"Tuesday", +"Wednesday", +"Thursday", +"Friday", +"Saturday", +"Sunday" +], +"type": "string" +}, +"readOnly": true, +"type": "array" +} +}, +"type": "object" +}, +"ContinuousBackupSource": { +"description": "Message describing a ContinuousBackupSource.", +"id": "ContinuousBackupSource", +"properties": { +"cluster": { +"description": "Required. The source cluster from which to restore. This cluster must have continuous backup enabled for this operation to succeed. For the required format, see the comment on the Cluster.name field.", +"type": "string" +}, +"pointInTime": { +"description": "Required. The point in time to restore to.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"CpuUtilization": { +"description": "CPU utilization policy for the autoscaler.", +"id": "CpuUtilization", +"properties": { +"utilizationTarget": { +"description": "Target CPU utilization as a float between 0 and 1.", +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"CsvExportOptions": { +"description": "Options for exporting data in CSV format.", +"id": "CsvExportOptions", +"properties": { +"escapeCharacter": { +"description": "Optional. Specifies the character that should appear before a data character that needs to be escaped. The default is the same as quote character. The value of this argument has to be a character in Hex ASCII Code.", +"type": "string" +}, +"fieldDelimiter": { +"description": "Optional. Specifies the character that separates columns within each row (line) of the file. The default is comma. The value of this argument has to be a character in Hex ASCII Code.", +"type": "string" +}, +"quoteCharacter": { +"description": "Optional. Specifies the quoting character to be used when a data value is quoted. The default is double-quote. The value of this argument has to be a character in Hex ASCII Code.", +"type": "string" +}, +"selectQuery": { +"description": "Required. The SELECT query used to extract the data.", +"type": "string" +} +}, +"type": "object" +}, +"CsvImportOptions": { +"description": "Options for importing data in CSV format.", +"id": "CsvImportOptions", +"properties": { +"columns": { +"description": "Optional. The columns to which CSV data is imported. If not specified, all columns of the database table are loaded with CSV data.", +"items": { +"type": "string" +}, +"type": "array" +}, +"escapeCharacter": { +"description": "Optional. Specifies the character that should appear before a data character that needs to be escaped. The default is same as quote character. The value of this argument has to be a character in Hex ASCII Code.", +"type": "string" +}, +"fieldDelimiter": { +"description": "Optional. Specifies the character that separates columns within each row (line) of the file. The default is comma. The value of this argument has to be a character in Hex ASCII Code.", +"type": "string" +}, +"quoteCharacter": { +"description": "Optional. Specifies the quoting character to be used when a data value is quoted. The default is double-quote. The value of this argument has to be a character in Hex ASCII Code.", +"type": "string" +}, +"table": { +"description": "Required. The database table to import CSV file into.", +"type": "string" +} +}, +"type": "object" +}, +"DataplexConfig": { +"description": "Configuration for Dataplex integration.", +"id": "DataplexConfig", +"properties": { +"enabled": { +"description": "Dataplex is enabled by default for resources such as clusters and instances. This flag controls the integration of AlloyDB PG resources (like databases, schemas, and tables) with Dataplex.\"", +"type": "boolean" +} +}, +"type": "object" +}, +"DenyMaintenancePeriod": { +"description": "DenyMaintenancePeriod definition. Excepting emergencies, maintenance will not be scheduled to start within this deny period. The start_date must be less than the end_date.", +"id": "DenyMaintenancePeriod", +"properties": { +"endDate": { +"$ref": "GoogleTypeDate", +"description": "Deny period end date. This can be: * A full date, with non-zero year, month and day values OR * A month and day value, with a zero year for recurring" +}, +"startDate": { +"$ref": "GoogleTypeDate", +"description": "Deny period start date. This can be: * A full date, with non-zero year, month and day values OR * A month and day value, with a zero year for recurring" +}, +"time": { +"$ref": "GoogleTypeTimeOfDay", +"description": "Time in UTC when the deny period starts on start_date and ends on end_date. This can be: * Full time OR * All zeros for 00:00:00 UTC" +} +}, +"type": "object" +}, +"Empty": { +"description": "A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }", +"id": "Empty", +"properties": {}, +"type": "object" +}, +"EncryptionConfig": { +"description": "EncryptionConfig describes the encryption config of a cluster or a backup that is encrypted with a CMEK (customer-managed encryption key).", +"id": "EncryptionConfig", +"properties": { +"kmsKeyName": { +"description": "The fully-qualified resource name of the KMS key. Each Cloud KMS key is regionalized and has the following format: projects/[PROJECT]/locations/[REGION]/keyRings/[RING]/cryptoKeys/[KEY_NAME]", +"type": "string" +} +}, +"type": "object" +}, +"EncryptionInfo": { +"description": "EncryptionInfo describes the encryption information of a cluster or a backup.", +"id": "EncryptionInfo", +"properties": { +"encryptionType": { +"description": "Output only. Type of encryption.", +"enum": [ +"TYPE_UNSPECIFIED", +"GOOGLE_DEFAULT_ENCRYPTION", +"CUSTOMER_MANAGED_ENCRYPTION" +], +"enumDescriptions": [ +"Encryption type not specified. Defaults to GOOGLE_DEFAULT_ENCRYPTION.", +"The data is encrypted at rest with a key that is fully managed by Google. No key version will be populated. This is the default state.", +"The data is encrypted at rest with a key that is managed by the customer. KMS key versions will be populated." +], +"readOnly": true, +"type": "string" +}, +"kmsKeyVersions": { +"description": "Output only. Cloud KMS key versions that are being used to protect the database or the backup.", +"items": { +"type": "string" +}, +"readOnly": true, +"type": "array" +} +}, +"type": "object" +}, +"ExportClusterRequest": { +"description": "Export cluster request.", +"id": "ExportClusterRequest", +"properties": { +"csvExportOptions": { +"$ref": "CsvExportOptions", +"description": "Options for exporting data in CSV format. Required field to be set for CSV file type." +}, +"database": { +"description": "Required. Name of the database where the export command will be executed. Note - Value provided should be the same as expected from `SELECT current_database();` and NOT as a resource reference.", +"type": "string" +}, +"gcsDestination": { +"$ref": "GcsDestination", +"description": "Required. Option to export data to cloud storage." +}, +"sqlExportOptions": { +"$ref": "SqlExportOptions", +"description": "Options for exporting data in SQL format. Required field to be set for SQL file type." +} +}, +"type": "object" +}, +"FailoverInstanceRequest": { +"description": "Message for triggering failover on an Instance", +"id": "FailoverInstanceRequest", +"properties": { +"requestId": { +"description": "Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server ignores the request if it has already been completed. The server guarantees that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if the original operation with the same request ID was received, and if so, ignores the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", +"type": "string" +}, +"validateOnly": { +"description": "Optional. If set, performs request validation, for example, permission checks and any other type of validation, but does not actually execute the create request.", +"type": "boolean" +} +}, +"type": "object" +}, +"GCAInstanceConfig": { +"description": "Instance level configuration parameters related to the Gemini Cloud Assist product.", +"id": "GCAInstanceConfig", +"properties": { +"gcaEntitlement": { +"description": "Output only. Represents the GCA entitlement state of the instance.", +"enum": [ +"GCA_ENTITLEMENT_TYPE_UNSPECIFIED", +"GCA_STANDARD" +], +"enumDescriptions": [ +"No GCA entitlement is assigned.", +"The resource is entitled to the GCA Standard Tier." +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GcsDestination": { +"description": "Destination for Export. Export will be done to cloud storage.", +"id": "GcsDestination", +"properties": { +"uri": { +"description": "Required. The path to the file in Google Cloud Storage where the export will be stored. The URI is in the form `gs://bucketName/fileName`.", +"type": "string" +} +}, +"type": "object" +}, +"GeminiClusterConfig": { +"description": "Deprecated and unused. This message will be removed in the near future.", +"id": "GeminiClusterConfig", +"properties": { +"entitled": { +"deprecated": true, +"description": "Output only. Deprecated and unused. This field will be removed in the near future.", +"readOnly": true, +"type": "boolean" +} +}, +"type": "object" +}, +"GeminiInstanceConfig": { +"description": "Deprecated and unused. This message will be removed in the near future.", +"id": "GeminiInstanceConfig", +"properties": { +"entitled": { +"deprecated": true, +"description": "Output only. Deprecated and unused. This field will be removed in the near future.", +"readOnly": true, +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleCloudLocationListLocationsResponse": { +"description": "The response message for Locations.ListLocations.", +"id": "GoogleCloudLocationListLocationsResponse", +"properties": { +"locations": { +"description": "A list of locations that matches the specified filter in the request.", +"items": { +"$ref": "GoogleCloudLocationLocation" +}, +"type": "array" +}, +"nextPageToken": { +"description": "The standard List next-page token.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudLocationLocation": { +"description": "A resource that represents a Google Cloud location.", +"id": "GoogleCloudLocationLocation", +"properties": { +"displayName": { +"description": "The friendly name for this location, typically a nearby city name. For example, \"Tokyo\".", +"type": "string" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Cross-service attributes for the location. For example {\"cloud.googleapis.com/region\": \"us-east1\"}", +"type": "object" +}, +"locationId": { +"description": "The canonical id for this location. For example: `\"us-east1\"`.", +"type": "string" +}, +"metadata": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "Service-specific metadata. For example the available capacity at the given location.", +"type": "object" +}, +"name": { +"description": "Resource name for the location, which may vary between implementations. For example: `\"projects/example-project/locations/us-east1\"`", +"type": "string" +} +}, +"type": "object" +}, +"GoogleTypeDate": { +"description": "Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following: * A full date, with non-zero year, month, and day values. * A month and day, with a zero year (for example, an anniversary). * A year on its own, with a zero month and a zero day. * A year and month, with a zero day (for example, a credit card expiration date). Related types: * google.type.TimeOfDay * google.type.DateTime * google.protobuf.Timestamp", +"id": "GoogleTypeDate", +"properties": { +"day": { +"description": "Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn't significant.", +"format": "int32", +"type": "integer" +}, +"month": { +"description": "Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.", +"format": "int32", +"type": "integer" +}, +"year": { +"description": "Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"GoogleTypeTimeOfDay": { +"description": "Represents a time of day. The date and time zone are either not significant or are specified elsewhere. An API may choose to allow leap seconds. Related types are google.type.Date and `google.protobuf.Timestamp`.", +"id": "GoogleTypeTimeOfDay", +"properties": { +"hours": { +"description": "Hours of a day in 24 hour format. Must be greater than or equal to 0 and typically must be less than or equal to 23. An API may choose to allow the value \"24:00:00\" for scenarios like business closing time.", +"format": "int32", +"type": "integer" +}, +"minutes": { +"description": "Minutes of an hour. Must be greater than or equal to 0 and less than or equal to 59.", +"format": "int32", +"type": "integer" +}, +"nanos": { +"description": "Fractions of seconds, in nanoseconds. Must be greater than or equal to 0 and less than or equal to 999,999,999.", +"format": "int32", +"type": "integer" +}, +"seconds": { +"description": "Seconds of a minute. Must be greater than or equal to 0 and typically must be less than or equal to 59. An API may allow the value 60 if it allows leap-seconds.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"ImportClusterRequest": { +"description": "Import cluster request.", +"id": "ImportClusterRequest", +"properties": { +"csvImportOptions": { +"$ref": "CsvImportOptions", +"description": "Options for importing data in CSV format." +}, +"database": { +"description": "Optional. Name of the database to which the import will be done. For import from SQL file, this is required only if the file does not specify a database. Note - Value provided should be the same as expected from `SELECT current_database();` and NOT as a resource reference.", +"type": "string" +}, +"gcsUri": { +"description": "Required. The path to the file in Google Cloud Storage where the source file for import will be stored. The URI is in the form `gs://bucketName/fileName`.", +"type": "string" +}, +"sqlImportOptions": { +"$ref": "SqlImportOptions", +"description": "Options for importing data in SQL format." +}, +"user": { +"description": "Optional. Database user to be used for importing the data. Note - Value provided should be the same as expected from `SELECT current_user;` and NOT as a resource reference.", +"type": "string" +} +}, +"type": "object" +}, +"InjectFaultRequest": { +"description": "Message for triggering fault injection on an instance", +"id": "InjectFaultRequest", +"properties": { +"faultType": { +"description": "Required. The type of fault to be injected in an instance.", +"enum": [ +"FAULT_TYPE_UNSPECIFIED", +"STOP_VM" +], +"enumDescriptions": [ +"The fault type is unknown.", +"Stop the VM" +], +"type": "string" +}, +"requestId": { +"description": "Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server ignores the request if it has already been completed. The server guarantees that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if the original operation with the same request ID was received, and if so, ignores the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", +"type": "string" +}, +"validateOnly": { +"description": "Optional. If set, performs request validation, for example, permission checks and any other type of validation, but does not actually execute the create request.", +"type": "boolean" +} +}, +"type": "object" +}, +"Instance": { +"description": "An Instance is a computing unit that an end customer can connect to. It's the main unit of computing resources in AlloyDB.", +"id": "Instance", +"properties": { +"activationPolicy": { +"description": "Optional. Specifies whether an instance needs to spin up. Once the instance is active, the activation policy can be updated to the `NEVER` to stop the instance. Likewise, the activation policy can be updated to `ALWAYS` to start the instance. There are restrictions around when an instance can/cannot be activated (for example, a read pool instance should be stopped before stopping primary etc.). Please refer to the API documentation for more details.", +"enum": [ +"ACTIVATION_POLICY_UNSPECIFIED", +"ALWAYS", +"NEVER" +], +"enumDescriptions": [ +"The policy is not specified.", +"The instance is running.", +"The instance is not running." +], +"type": "string" +}, +"annotations": { +"additionalProperties": { +"type": "string" +}, +"description": "Annotations to allow client tools to store small amount of arbitrary data. This is distinct from labels. https://google.aip.dev/128", +"type": "object" +}, +"availabilityType": { +"description": "Availability type of an Instance. If empty, defaults to REGIONAL for primary instances. For read pools, availability_type is always UNSPECIFIED. Instances in the read pools are evenly distributed across available zones within the region (i.e. read pools with more than one node will have a node in at least two zones).", +"enum": [ +"AVAILABILITY_TYPE_UNSPECIFIED", +"ZONAL", +"REGIONAL" +], +"enumDescriptions": [ +"This is an unknown Availability type.", +"Zonal available instance.", +"Regional (or Highly) available instance." +], +"type": "string" +}, +"clientConnectionConfig": { +"$ref": "ClientConnectionConfig", +"description": "Optional. Client connection specific configurations" +}, +"connectionPoolConfig": { +"$ref": "ConnectionPoolConfig", +"description": "Optional. The configuration for Managed Connection Pool (MCP)." +}, +"createTime": { +"description": "Output only. Create time stamp", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"dataApiAccess": { +"description": "Optional. Controls whether the Data API is enabled for this instance. When enabled, this allows authorized users to connect to the instance from the public internet using the `executeSql` API, even for private IP instances. If this is not specified, the data API is enabled by default for Google internal services like AlloyDB Studio. Disable it explicitly to disallow Google internal services as well.", +"enum": [ +"DEFAULT_DATA_API_ENABLED_FOR_GOOGLE_CLOUD_SERVICES", +"DISABLED", +"ENABLED" +], +"enumDescriptions": [ +"DEFAULT_DATA_API_ENABLED_FOR_GOOGLE_CLOUD_SERVICES is a default value that allows Google internal services like AlloyDB Studio to access the instance.", +"Data API access is disabled for this instance.", +"Data API access is enabled for this instance. For private IP instances, this allows authorized users to access the instance from the public internet using the ExecuteSql API." +], +"type": "string" +}, +"databaseFlags": { +"additionalProperties": { +"type": "string" +}, +"description": "Database flags. Set at the instance level. They are copied from the primary instance on secondary instance creation. Flags that have restrictions default to the value at primary instance on read instances during creation. Read instances can set new flags or override existing flags that are relevant for reads, for example, for enabling columnar cache on a read instance. Flags set on read instance might or might not be present on the primary instance. This is a list of \"key\": \"value\" pairs. \"key\": The name of the flag. These flags are passed at instance setup time, so include both server options and system variables for Postgres. Flags are specified with underscores, not hyphens. \"value\": The value of the flag. Booleans are set to **on** for true and **off** for false. This field must be omitted if the flag doesn't take a value.", +"type": "object" +}, +"deleteTime": { +"description": "Output only. Delete time stamp", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"displayName": { +"description": "User-settable and human-readable display name for the Instance.", +"type": "string" +}, +"etag": { +"description": "For Resource freshness validation (https://google.aip.dev/154)", +"type": "string" +}, +"gcaConfig": { +"$ref": "GCAInstanceConfig", +"description": "Output only. Configuration parameters related to Gemini Cloud Assist.", +"readOnly": true +}, +"gceZone": { +"description": "The Compute Engine zone that the instance should serve from, per https://cloud.google.com/compute/docs/regions-zones This can ONLY be specified for ZONAL instances. If present for a REGIONAL instance, an error will be thrown. If this is absent for a ZONAL instance, instance is created in a random zone with available capacity.", +"type": "string" +}, +"geminiConfig": { +"$ref": "GeminiInstanceConfig", +"deprecated": true, +"description": "Optional. Deprecated and unused. This field will be removed in the near future." +}, +"instanceType": { +"description": "Required. The type of the instance. Specified at creation time.", +"enum": [ +"INSTANCE_TYPE_UNSPECIFIED", +"PRIMARY", +"READ_POOL", +"SECONDARY" +], +"enumDescriptions": [ +"The type of the instance is unknown.", +"PRIMARY instances support read and write operations.", +"READ POOL instances support read operations only. Each read pool instance consists of one or more homogeneous nodes. * Read pool of size 1 can only have zonal availability. * Read pools with node count of 2 or more can have regional availability (nodes are present in 2 or more zones in a region).", +"SECONDARY instances support read operations only. SECONDARY instance is a cross-region read replica" +], +"type": "string" +}, +"ipAddress": { +"description": "Output only. The IP address for the Instance. This is the connection endpoint for an end-user application.", +"readOnly": true, +"type": "string" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Labels as key value pairs", +"type": "object" +}, +"machineConfig": { +"$ref": "MachineConfig", +"description": "Configurations for the machines that host the underlying database engine." +}, +"maintenanceVersionName": { +"description": "Output only. Maintenance version of the instance, for example: POSTGRES_15.2025_07_15.04_00. Output only. Update this field via the parent cluster's maintenance_version field(s).", +"readOnly": true, +"type": "string" +}, +"name": { +"description": "Output only. The name of the instance resource with the format: * projects/{project}/locations/{region}/clusters/{cluster_id}/instances/{instance_id} where the cluster and instance ID segments should satisfy the regex expression `[a-z]([a-z0-9-]{0,61}[a-z0-9])?`, e.g. 1-63 characters of lowercase letters, numbers, and dashes, starting with a letter, and ending with a letter or number. For more details see https://google.aip.dev/122. The prefix of the instance resource name is the name of the parent resource: * projects/{project}/locations/{region}/clusters/{cluster_id}", +"readOnly": true, +"type": "string" +}, +"networkConfig": { +"$ref": "InstanceNetworkConfig", +"description": "Optional. Instance-level network configuration." +}, +"nodes": { +"description": "Output only. List of available read-only VMs in this instance, including the standby for a PRIMARY instance.", +"items": { +"$ref": "Node" +}, +"readOnly": true, +"type": "array" +}, +"observabilityConfig": { +"$ref": "ObservabilityInstanceConfig", +"description": "Configuration for observability." +}, +"outboundPublicIpAddresses": { +"description": "Output only. All outbound public IP addresses configured for the instance.", +"items": { +"type": "string" +}, +"readOnly": true, +"type": "array" +}, +"pscInstanceConfig": { +"$ref": "PscInstanceConfig", +"description": "Optional. The configuration for Private Service Connect (PSC) for the instance." +}, +"publicIpAddress": { +"description": "Output only. The public IP addresses for the Instance. This is available ONLY when enable_public_ip is set. This is the connection endpoint for an end-user application.", +"readOnly": true, +"type": "string" +}, +"queryInsightsConfig": { +"$ref": "QueryInsightsInstanceConfig", +"description": "Configuration for query insights." +}, +"readPoolConfig": { +"$ref": "ReadPoolConfig", +"description": "Read pool instance configuration. This is required if the value of instanceType is READ_POOL." +}, +"reconciling": { +"description": "Output only. Reconciling (https://google.aip.dev/128#reconciliation). Set to true if the current state of Instance does not match the user's intended state, and the service is actively updating the resource to reconcile them. This can happen due to user-triggered updates or system actions like failover or maintenance.", +"readOnly": true, +"type": "boolean" +}, +"satisfiesPzi": { +"description": "Output only. Reserved for future use.", +"readOnly": true, +"type": "boolean" +}, +"satisfiesPzs": { +"description": "Output only. Reserved for future use.", +"readOnly": true, +"type": "boolean" +}, +"state": { +"description": "Output only. The current serving state of the instance.", +"enum": [ +"STATE_UNSPECIFIED", +"READY", +"STOPPED", +"CREATING", +"DELETING", +"MAINTENANCE", +"FAILED", +"BOOTSTRAPPING", +"PROMOTING", +"SWITCHOVER", +"STOPPING", +"STARTING" +], +"enumDescriptions": [ +"The state of the instance is unknown.", +"The instance is active and running.", +"The instance is stopped. Instance name and IP resources are preserved.", +"The instance is being created.", +"The instance is being deleted.", +"The instance is down for maintenance.", +"The creation of the instance failed or a fatal error occurred during an operation on the instance. Note: Instances in this state would tried to be auto-repaired. And Customers should be able to restart, update or delete these instances.", +"The instance has been configured to sync data from some other source.", +"The instance is being promoted.", +"The instance has entered switchover state. All updates on instance are restricted while the instance is in this state.", +"The instance is being stopped.", +"The instance is being started." +], +"readOnly": true, +"type": "string" +}, +"uid": { +"description": "Output only. The system-generated UID of the resource. The UID is assigned when the resource is created, and it is retained until it is deleted.", +"readOnly": true, +"type": "string" +}, +"updatePolicy": { +"$ref": "UpdatePolicy", +"description": "Update policy that will be applied during instance update. This field is not persisted when you update the instance. To use a non-default update policy, you must specify explicitly specify the value in each update request." +}, +"updateTime": { +"description": "Output only. Update time stamp", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"writableNode": { +"$ref": "Node", +"description": "Output only. This is set for the read-write VM of the PRIMARY instance only.", +"readOnly": true +} +}, +"type": "object" +}, +"InstanceNetworkConfig": { +"description": "Metadata related to instance-level network configuration.", +"id": "InstanceNetworkConfig", +"properties": { +"allocatedIpRangeOverride": { +"description": "Optional. Name of the allocated IP range for the private IP AlloyDB instance, for example: \"google-managed-services-default\". If set, the instance IPs will be created from this allocated range and will override the IP range used by the parent cluster. The range name must comply with [RFC 1035](https://datatracker.ietf.org/doc/html/rfc1035). Specifically, the name must be 1-63 characters long and match the regular expression [a-z]([-a-z0-9]*[a-z0-9])?.", +"type": "string" +}, +"authorizedExternalNetworks": { +"description": "Optional. A list of external network authorized to access this instance.", +"items": { +"$ref": "AuthorizedNetwork" +}, +"type": "array" +}, +"enableOutboundPublicIp": { +"description": "Optional. Enabling an outbound public IP address to support a database server sending requests out into the internet.", +"type": "boolean" +}, +"enablePublicIp": { +"description": "Optional. Enabling public ip for the instance.", +"type": "boolean" +}, +"network": { +"description": "Output only. The resource link for the VPC network in which instance resources are created and from which they are accessible via Private IP. This will be the same value as the parent cluster's network. It is specified in the form: // `projects/{project_number}/global/networks/{network_id}`.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"InstanceUpgradeDetails": { +"description": "Details regarding the upgrade of instances associated with a cluster.", +"id": "InstanceUpgradeDetails", +"properties": { +"instanceType": { +"description": "Instance type.", +"enum": [ +"INSTANCE_TYPE_UNSPECIFIED", +"PRIMARY", +"READ_POOL", +"SECONDARY" +], +"enumDescriptions": [ +"The type of the instance is unknown.", +"PRIMARY instances support read and write operations.", +"READ POOL instances support read operations only. Each read pool instance consists of one or more homogeneous nodes. * Read pool of size 1 can only have zonal availability. * Read pools with node count of 2 or more can have regional availability (nodes are present in 2 or more zones in a region).", +"SECONDARY instances support read operations only. SECONDARY instance is a cross-region read replica" +], +"type": "string" +}, +"name": { +"description": "Normalized name of the instance.", +"type": "string" +}, +"upgradeStatus": { +"description": "Upgrade status of the instance.", +"enum": [ +"STATUS_UNSPECIFIED", +"NOT_STARTED", +"IN_PROGRESS", +"SUCCESS", +"FAILED", +"PARTIAL_SUCCESS", +"CANCEL_IN_PROGRESS", +"CANCELLED" +], +"enumDescriptions": [ +"Unspecified status.", +"Not started.", +"In progress.", +"Operation succeeded.", +"Operation failed.", +"Operation partially succeeded.", +"Cancel is in progress.", +"Cancellation complete." +], +"type": "string" +} +}, +"type": "object" +}, +"IntegerRestrictions": { +"description": "Restrictions on INTEGER type values.", +"id": "IntegerRestrictions", +"properties": { +"maxValue": { +"description": "The maximum value that can be specified, if applicable.", +"format": "int64", +"type": "string" +}, +"minValue": { +"description": "The minimum value that can be specified, if applicable.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"ListBackupsResponse": { +"description": "Message for response to listing Backups", +"id": "ListBackupsResponse", +"properties": { +"backups": { +"description": "The list of Backup", +"items": { +"$ref": "Backup" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A token identifying a page of results the server should return.", +"type": "string" +}, +"unreachable": { +"description": "Locations that could not be reached.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListClustersResponse": { +"description": "Message for response to listing Clusters", +"id": "ListClustersResponse", +"properties": { +"clusters": { +"description": "The list of Cluster", +"items": { +"$ref": "Cluster" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A token identifying a page of results the server should return.", +"type": "string" +}, +"unreachable": { +"description": "Locations that could not be reached.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListInstancesResponse": { +"description": "Message for response to listing Instances", +"id": "ListInstancesResponse", +"properties": { +"instances": { +"description": "The list of Instance", +"items": { +"$ref": "Instance" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A token identifying a page of results the server should return.", +"type": "string" +}, +"unreachable": { +"description": "Locations that could not be reached.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListOperationsResponse": { +"description": "The response message for Operations.ListOperations.", +"id": "ListOperationsResponse", +"properties": { +"nextPageToken": { +"description": "The standard List next-page token.", +"type": "string" +}, +"operations": { +"description": "A list of operations that matches the specified filter in the request.", +"items": { +"$ref": "Operation" +}, +"type": "array" +}, +"unreachable": { +"description": "Unordered list. Unreachable resources. Populated when the request sets `ListOperationsRequest.return_partial_success` and reads across collections. For example, when attempting to list all resources across all supported locations.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListSupportedDatabaseFlagsResponse": { +"description": "Message for response to listing SupportedDatabaseFlags.", +"id": "ListSupportedDatabaseFlagsResponse", +"properties": { +"nextPageToken": { +"description": "A token identifying a page of results the server should return.", +"type": "string" +}, +"supportedDatabaseFlags": { +"description": "The list of SupportedDatabaseFlags.", +"items": { +"$ref": "SupportedDatabaseFlag" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListUsersResponse": { +"description": "Message for response to listing Users", +"id": "ListUsersResponse", +"properties": { +"nextPageToken": { +"description": "A token identifying a page of results the server should return.", +"type": "string" +}, +"unreachable": { +"description": "Locations that could not be reached.", +"items": { +"type": "string" +}, +"type": "array" +}, +"users": { +"description": "The list of User", +"items": { +"$ref": "User" +}, +"type": "array" +} +}, +"type": "object" +}, +"MachineConfig": { +"description": "MachineConfig describes the configuration of a machine.", +"id": "MachineConfig", +"properties": { +"cpuCount": { +"description": "The number of CPU's in the VM instance.", +"format": "int32", +"type": "integer" +}, +"machineType": { +"description": "Machine type of the VM instance. E.g. \"n2-highmem-4\", \"n2-highmem-8\", \"c4a-highmem-4-lssd\". cpu_count must match the number of vCPUs in the machine type.", +"type": "string" +} +}, +"type": "object" +}, +"MaintenanceSchedule": { +"description": "MaintenanceSchedule stores the maintenance schedule generated from the MaintenanceUpdatePolicy, once a maintenance rollout is triggered, if MaintenanceWindow is set, and if there is no conflicting DenyPeriod. The schedule is cleared once the update takes place. This field cannot be manually changed; modify the MaintenanceUpdatePolicy instead.", +"id": "MaintenanceSchedule", +"properties": { +"startTime": { +"description": "Output only. The scheduled start time for the maintenance.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"MaintenanceUpdatePolicy": { +"description": "MaintenanceUpdatePolicy defines the policy for system updates.", +"id": "MaintenanceUpdatePolicy", +"properties": { +"denyMaintenancePeriods": { +"description": "Periods to deny maintenance. Currently limited to 1.", +"items": { +"$ref": "DenyMaintenancePeriod" +}, +"type": "array" +}, +"maintenanceWindows": { +"description": "Preferred windows to perform maintenance. Currently limited to 1.", +"items": { +"$ref": "MaintenanceWindow" +}, +"type": "array" +} +}, +"type": "object" +}, +"MaintenanceWindow": { +"description": "MaintenanceWindow specifies a preferred day and time for maintenance.", +"id": "MaintenanceWindow", +"properties": { +"day": { +"description": "Preferred day of the week for maintenance, e.g. MONDAY, TUESDAY, etc.", +"enum": [ +"DAY_OF_WEEK_UNSPECIFIED", +"MONDAY", +"TUESDAY", +"WEDNESDAY", +"THURSDAY", +"FRIDAY", +"SATURDAY", +"SUNDAY" +], +"enumDescriptions": [ +"The day of the week is unspecified.", +"Monday", +"Tuesday", +"Wednesday", +"Thursday", +"Friday", +"Saturday", +"Sunday" +], +"type": "string" +}, +"startTime": { +"$ref": "GoogleTypeTimeOfDay", +"description": "Preferred time to start the maintenance operation on the specified day. Maintenance will start within 1 hour of this time." +} +}, +"type": "object" +}, +"MigrationSource": { +"description": "Subset of the source instance configuration that is available when reading the cluster resource.", +"id": "MigrationSource", +"properties": { +"hostPort": { +"description": "Output only. The host and port of the on-premises instance in host:port format", +"readOnly": true, +"type": "string" +}, +"referenceId": { +"description": "Output only. Place holder for the external source identifier(e.g DMS job name) that created the cluster.", +"readOnly": true, +"type": "string" +}, +"sourceType": { +"description": "Output only. Type of migration source.", +"enum": [ +"MIGRATION_SOURCE_TYPE_UNSPECIFIED", +"DMS" +], +"enumDescriptions": [ +"Migration source is unknown.", +"DMS source means the cluster was created via DMS migration job." +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"NetworkConfig": { +"description": "Metadata related to network configuration.", +"id": "NetworkConfig", +"properties": { +"allocatedIpRange": { +"description": "Optional. Name of the allocated IP range for the private IP AlloyDB cluster, for example: \"google-managed-services-default\". If set, the instance IPs for this cluster will be created in the allocated range. The range name must comply with RFC 1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?`. Field name is intended to be consistent with Cloud SQL.", +"type": "string" +}, +"network": { +"description": "Optional. The resource link for the VPC network in which cluster resources are created and from which they are accessible via Private IP. The network must belong to the same project as the cluster. It is specified in the form: `projects/{project_number}/global/networks/{network_id}`. This is required to create a cluster.", +"type": "string" +} +}, +"type": "object" +}, +"Node": { +"description": "Details of a single node in the instance. Nodes in an AlloyDB instance are ephemeral, they can change during update, failover, autohealing and resize operations.", +"id": "Node", +"properties": { +"id": { +"description": "Output only. The identifier of the VM e.g. \"test-read-0601-407e52be-ms3l\".", +"readOnly": true, +"type": "string" +}, +"ip": { +"description": "Output only. The private IP address of the VM e.g. \"10.57.0.34\".", +"readOnly": true, +"type": "string" +}, +"state": { +"description": "Output only. Determined by state of the compute VM and postgres-service health. Compute VM state can have values listed in https://cloud.google.com/compute/docs/instances/instance-life-cycle and postgres-service health can have values: HEALTHY and UNHEALTHY.", +"readOnly": true, +"type": "string" +}, +"zoneId": { +"description": "Output only. The Compute Engine zone of the VM e.g. \"us-central1-b\".", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"ObservabilityInstanceConfig": { +"description": "Observability Instance specific configuration.", +"id": "ObservabilityInstanceConfig", +"properties": { +"assistiveExperiencesEnabled": { +"description": "Whether assistive experiences are enabled for this AlloyDB instance.", +"type": "boolean" +}, +"enabled": { +"description": "Observability feature status for an instance. This flag is turned \"off\" by default.", +"type": "boolean" +}, +"maxQueryStringLength": { +"description": "Query string length. The default value is 10k.", +"format": "int32", +"type": "integer" +}, +"preserveComments": { +"description": "Preserve comments in query string for an instance. This flag is turned \"off\" by default.", +"type": "boolean" +}, +"queryPlansPerMinute": { +"description": "Number of query execution plans captured by Insights per minute for all queries combined. The default value is 200. Any integer between 0 to 200 is considered valid.", +"format": "int32", +"type": "integer" +}, +"recordApplicationTags": { +"description": "Record application tags for an instance. This flag is turned \"off\" by default.", +"type": "boolean" +}, +"trackActiveQueries": { +"description": "Track actively running queries on the instance. If not set, this flag is \"off\" by default.", +"type": "boolean" +}, +"trackClientAddress": { +"description": "Track client address for an instance. If not set, default value is \"off\".", +"type": "boolean" +}, +"trackWaitEventTypes": { +"description": "Output only. Track wait event types during query execution for an instance. This flag is turned \"on\" by default but tracking is enabled only after observability enabled flag is also turned on. This is read-only flag and only modifiable by internal API.", +"readOnly": true, +"type": "boolean" +}, +"trackWaitEvents": { +"description": "Track wait events during query execution for an instance. This flag is turned \"on\" by default but tracking is enabled only after observability enabled flag is also turned on.", +"type": "boolean" +} +}, +"type": "object" +}, +"Operation": { +"description": "This resource represents a long-running operation that is the result of a network API call.", +"id": "Operation", +"properties": { +"done": { +"description": "If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.", +"type": "boolean" +}, +"error": { +"$ref": "Status", +"description": "The error result of the operation in case of failure or cancellation." +}, +"metadata": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.", +"type": "object" +}, +"name": { +"description": "The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.", +"type": "string" +}, +"response": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "The normal, successful response of the operation. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.", +"type": "object" +} +}, +"type": "object" +}, +"OperationMetadata": { +"description": "Represents the metadata of the long-running operation.", +"id": "OperationMetadata", +"properties": { +"apiVersion": { +"description": "Output only. API version used to start the operation.", +"readOnly": true, +"type": "string" +}, +"createTime": { +"description": "Output only. The time the operation was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"endTime": { +"description": "Output only. The time the operation finished running.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"requestedCancellation": { +"description": "Output only. Identifies whether the user has requested cancellation of the operation. Operations that have successfully been cancelled have google.longrunning.Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.", +"readOnly": true, +"type": "boolean" +}, +"statusMessage": { +"description": "Output only. Human-readable status of the operation, if any.", +"readOnly": true, +"type": "string" +}, +"target": { +"description": "Output only. Server-defined resource path for the target of the operation.", +"readOnly": true, +"type": "string" +}, +"upgradeClusterStatus": { +"$ref": "UpgradeClusterStatus", +"description": "Output only. UpgradeClusterStatus related metadata.", +"readOnly": true +}, +"verb": { +"description": "Output only. Name of the verb executed by the operation.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"Policy": { +"description": "Policy for the autoscaler.", +"id": "Policy", +"properties": { +"coolDownPeriodSec": { +"description": "The period of time in seconds after a new node is created before the autoscaler will incorporate its resource usage (e.g. CPU utilization) into the autoscaling recommendation algorithm.", +"format": "int64", +"type": "string" +}, +"cpuUtilization": { +"$ref": "CpuUtilization", +"description": "CPU utilization policy for the autoscaler." +}, +"enabled": { +"description": "If true, autoscaling is enabled for the instance. If not set, the default value is false.", +"type": "boolean" +}, +"maxNodeCount": { +"description": "Maximum number of nodes for the autoscaler.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"PrimaryConfig": { +"description": "Configuration for the primary cluster. It has the list of clusters that are replicating from this cluster. This should be set if and only if the cluster is of type PRIMARY.", +"id": "PrimaryConfig", +"properties": { +"secondaryClusterNames": { +"description": "Output only. Names of the clusters that are replicating from this cluster.", +"items": { +"type": "string" +}, +"readOnly": true, +"type": "array" +} +}, +"type": "object" +}, +"PromoteClusterRequest": { +"description": "Message for promoting a Cluster", +"id": "PromoteClusterRequest", +"properties": { +"etag": { +"description": "Optional. The current etag of the Cluster. If an etag is provided and does not match the current etag of the Cluster, deletion will be blocked and an ABORTED error will be returned.", +"type": "string" +}, +"requestId": { +"description": "Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server ignores the request if it has already been completed. The server guarantees that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", +"type": "string" +}, +"validateOnly": { +"description": "Optional. If set, performs request validation, for example, permission checks and any other type of validation, but does not actually execute the create request.", +"type": "boolean" +} +}, +"type": "object" +}, +"PscAutoConnectionConfig": { +"description": "Configuration for setting up PSC service automation. Consumer projects in the configs will be allowlisted automatically for the instance.", +"id": "PscAutoConnectionConfig", +"properties": { +"consumerNetwork": { +"description": "The consumer network for the PSC service automation, example: \"projects/vpc-host-project/global/networks/default\". The consumer network might be hosted a different project than the consumer project.", +"type": "string" +}, +"consumerNetworkStatus": { +"description": "Output only. The status of the service connection policy. Possible values: \"STATE_UNSPECIFIED\" - Default state, when Connection Map is created initially. \"VALID\" - Set when policy and map configuration is valid, and their matching can lead to allowing creation of PSC Connections subject to other constraints like connections limit. \"CONNECTION_POLICY_MISSING\" - No Service Connection Policy found for this network and Service Class \"POLICY_LIMIT_REACHED\" - Service Connection Policy limit reached for this network and Service Class \"CONSUMER_INSTANCE_PROJECT_NOT_ALLOWLISTED\" - The consumer instance project is not in AllowedGoogleProducersResourceHierarchyLevels of the matching ServiceConnectionPolicy.", +"readOnly": true, +"type": "string" +}, +"consumerProject": { +"description": "The consumer project to which the PSC service automation endpoint will be created.", +"type": "string" +}, +"ipAddress": { +"description": "Output only. The IP address of the PSC service automation endpoint.", +"readOnly": true, +"type": "string" +}, +"status": { +"description": "Output only. The status of the PSC service automation connection. Possible values: \"STATE_UNSPECIFIED\" - An invalid state as the default case. \"ACTIVE\" - The connection has been created successfully. \"FAILED\" - The connection is not functional since some resources on the connection fail to be created. \"CREATING\" - The connection is being created. \"DELETING\" - The connection is being deleted. \"CREATE_REPAIRING\" - The connection is being repaired to complete creation. \"DELETE_REPAIRING\" - The connection is being repaired to complete deletion.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"PscConfig": { +"description": "PscConfig contains PSC related configuration at a cluster level.", +"id": "PscConfig", +"properties": { +"pscEnabled": { +"description": "Optional. Create an instance that allows connections from Private Service Connect endpoints to the instance.", +"type": "boolean" +}, +"serviceOwnedProjectNumber": { +"description": "Output only. The project number that needs to be allowlisted on the network attachment to enable outbound connectivity.", +"format": "int64", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"PscInstanceConfig": { +"description": "PscInstanceConfig contains PSC related configuration at an instance level.", +"id": "PscInstanceConfig", +"properties": { +"allowedConsumerProjects": { +"description": "Optional. List of consumer projects that are allowed to create PSC endpoints to service-attachments to this instance.", +"items": { +"type": "string" +}, +"type": "array" +}, +"pscAutoConnections": { +"description": "Optional. Configurations for setting up PSC service automation.", +"items": { +"$ref": "PscAutoConnectionConfig" +}, +"type": "array" +}, +"pscDnsName": { +"description": "Output only. The DNS name of the instance for PSC connectivity. Name convention: ...alloydb-psc.goog", +"readOnly": true, +"type": "string" +}, +"pscInterfaceConfigs": { +"description": "Optional. Configurations for setting up PSC interfaces attached to the instance which are used for outbound connectivity. Only primary instances can have PSC interface attached. Currently we only support 0 or 1 PSC interface.", +"items": { +"$ref": "PscInterfaceConfig" +}, +"type": "array" +}, +"serviceAttachmentLink": { +"description": "Output only. The service attachment created when Private Service Connect (PSC) is enabled for the instance. The name of the resource will be in the format of `projects//regions//serviceAttachments/`", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"PscInterfaceConfig": { +"description": "Configuration for setting up a PSC interface to enable outbound connectivity.", +"id": "PscInterfaceConfig", +"properties": { +"networkAttachmentResource": { +"description": "The network attachment resource created in the consumer network to which the PSC interface will be linked. This is of the format: \"projects/${CONSUMER_PROJECT}/regions/${REGION}/networkAttachments/${NETWORK_ATTACHMENT_NAME}\". The network attachment must be in the same region as the instance.", +"type": "string" +} +}, +"type": "object" +}, +"QuantityBasedExpiry": { +"description": "A backup's position in a quantity-based retention queue, of backups with the same source cluster and type, with length, retention, specified by the backup's retention policy. Once the position is greater than the retention, the backup is eligible to be garbage collected. Example: 5 backups from the same source cluster and type with a quantity-based retention of 3 and denoted by backup_id (position, retention). Safe: backup_5 (1, 3), backup_4, (2, 3), backup_3 (3, 3). Awaiting garbage collection: backup_2 (4, 3), backup_1 (5, 3)", +"id": "QuantityBasedExpiry", +"properties": { +"retentionCount": { +"description": "Output only. The backup's position among its backups with the same source cluster and type, by descending chronological order create time(i.e. newest first).", +"format": "int32", +"readOnly": true, +"type": "integer" +}, +"totalRetentionCount": { +"description": "Output only. The length of the quantity-based queue, specified by the backup's retention policy.", +"format": "int32", +"readOnly": true, +"type": "integer" +} +}, +"type": "object" +}, +"QuantityBasedRetention": { +"description": "A quantity based policy specifies that a certain number of the most recent successful backups should be retained.", +"id": "QuantityBasedRetention", +"properties": { +"count": { +"description": "The number of backups to retain.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"QueryInsightsInstanceConfig": { +"description": "QueryInsights Instance specific configuration.", +"id": "QueryInsightsInstanceConfig", +"properties": { +"queryPlansPerMinute": { +"description": "Number of query execution plans captured by Insights per minute for all queries combined. The default value is 5. Any integer between 0 and 20 is considered valid.", +"format": "uint32", +"type": "integer" +}, +"queryStringLength": { +"description": "Query string length. The default value is 1024. Any integer between 256 and 4500 is considered valid.", +"format": "uint32", +"type": "integer" +}, +"recordApplicationTags": { +"description": "Record application tags for an instance. This flag is turned \"on\" by default.", +"type": "boolean" +}, +"recordClientAddress": { +"description": "Record client address for an instance. Client address is PII information. This flag is turned \"on\" by default.", +"type": "boolean" +} +}, +"type": "object" +}, +"ReadPoolConfig": { +"description": "Configuration for a read pool instance.", +"id": "ReadPoolConfig", +"properties": { +"autoScalingConfig": { +"$ref": "AutoScalingConfig", +"description": "Autoscaling configuration for the read pool instance. If not set, the read pool instance will not be autoscaled." +}, +"nodeCount": { +"description": "Read capacity, i.e. number of nodes in a read pool instance.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"ReadPoolInstancesUpgradeStageStatus": { +"description": "Read pool instances upgrade specific status.", +"id": "ReadPoolInstancesUpgradeStageStatus", +"properties": { +"upgradeStats": { +"$ref": "Stats", +"description": "Read pool instances upgrade statistics." +} +}, +"type": "object" +}, +"RestartInstanceRequest": { +"id": "RestartInstanceRequest", +"properties": { +"nodeIds": { +"description": "Optional. Full name of the nodes as obtained from INSTANCE_VIEW_FULL to restart upon. Applicable only to read instances.", +"items": { +"type": "string" +}, +"type": "array" +}, +"requestId": { +"description": "Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server ignores the request if it has already been completed. The server guarantees that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if the original operation with the same request ID was received, and if so, ignores the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", +"type": "string" +}, +"validateOnly": { +"description": "Optional. If set, performs request validation, for example, permission checks and any other type of validation, but does not actually execute the create request.", +"type": "boolean" +} +}, +"type": "object" +}, +"RestoreClusterRequest": { +"description": "Message for restoring a Cluster from a backup or another cluster at a given point in time. NEXT_ID: 11", +"id": "RestoreClusterRequest", +"properties": { +"backupSource": { +"$ref": "BackupSource", +"description": "Backup source." +}, +"backupdrBackupSource": { +"$ref": "BackupDrBackupSource", +"description": "BackupDR backup source." +}, +"backupdrPitrSource": { +"$ref": "BackupDrPitrSource", +"description": "BackupDR source used for point in time recovery." +}, +"cluster": { +"$ref": "Cluster", +"description": "Required. The resource being created" +}, +"clusterId": { +"description": "Required. ID of the requesting object.", +"type": "string" +}, +"continuousBackupSource": { +"$ref": "ContinuousBackupSource", +"description": "ContinuousBackup source. Continuous backup needs to be enabled in the source cluster for this operation to succeed." +}, +"requestId": { +"description": "Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server ignores the request if it has already been completed. The server guarantees that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if the original operation with the same request ID was received, and if so, ignores the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", +"type": "string" +}, +"validateOnly": { +"description": "Optional. If set, performs request validation, for example, permission checks and any other type of validation, but does not actually execute the create request.", +"type": "boolean" +} +}, +"type": "object" +}, +"RestoreFromCloudSQLRequest": { +"description": "Message for registering Restoring from CloudSQL resource.", +"id": "RestoreFromCloudSQLRequest", +"properties": { +"cloudsqlBackupRunSource": { +"$ref": "CloudSQLBackupRunSource", +"description": "Cluster created from CloudSQL backup run." +}, +"cluster": { +"$ref": "Cluster", +"description": "Required. The resource being created" +}, +"clusterId": { +"description": "Required. ID of the requesting object.", +"type": "string" +} +}, +"type": "object" +}, +"Schedule": { +"description": "A schedule for the autoscaler.", +"id": "Schedule", +"properties": { +"cronExpression": { +"description": "Cron expression for the triggering the schedule. See https://cloud.google.com/compute/docs/autoscaler/scaling-schedules#cron_expressions for the syntax.", +"type": "string" +}, +"description": { +"description": "Description of the schedule.", +"type": "string" +}, +"disabled": { +"description": "If true, the schedule is disabled.", +"type": "boolean" +}, +"durationSec": { +"description": "Duration of the schedule.", +"format": "int64", +"type": "string" +}, +"minNodeCount": { +"description": "Minimum number of nodes in while the schedule is active.", +"format": "int64", +"type": "string" +}, +"name": { +"description": "Name of the schedule.", +"type": "string" +}, +"timeZone": { +"description": "The location-based IANA time zone for interpreting the schedule's start time. If no time zone is provided, UTC is used by default.", +"type": "string" +} +}, +"type": "object" +}, +"SecondaryConfig": { +"description": "Configuration information for the secondary cluster. This should be set if and only if the cluster is of type SECONDARY.", +"id": "SecondaryConfig", +"properties": { +"primaryClusterName": { +"description": "The name of the primary cluster name with the format: * projects/{project}/locations/{region}/clusters/{cluster_id}", +"type": "string" +} +}, +"type": "object" +}, +"SqlExportOptions": { +"description": "Options for exporting data in SQL format.", +"id": "SqlExportOptions", +"properties": { +"cleanTargetObjects": { +"description": "Optional. If true, output commands to DROP all the dumped database objects prior to outputting the commands for creating them.", +"type": "boolean" +}, +"ifExistTargetObjects": { +"description": "Optional. If true, use DROP ... IF EXISTS commands to check for the object's existence before dropping it in clean_target_objects mode.", +"type": "boolean" +}, +"schemaOnly": { +"description": "Optional. If true, only export the schema.", +"type": "boolean" +}, +"tables": { +"description": "Optional. Tables to export from.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"SqlImportOptions": { +"description": "Options for importing data in SQL format.", +"id": "SqlImportOptions", +"properties": {}, +"type": "object" +}, +"SslConfig": { +"description": "SSL configuration.", +"id": "SslConfig", +"properties": { +"caSource": { +"description": "Optional. Certificate Authority (CA) source. Only CA_SOURCE_MANAGED is supported currently, and is the default value.", +"enum": [ +"CA_SOURCE_UNSPECIFIED", +"CA_SOURCE_MANAGED" +], +"enumDescriptions": [ +"Certificate Authority (CA) source not specified. Defaults to CA_SOURCE_MANAGED.", +"Certificate Authority (CA) managed by the AlloyDB Cluster." +], +"type": "string" +}, +"sslMode": { +"description": "Optional. SSL mode. Specifies client-server SSL/TLS connection behavior.", +"enum": [ +"SSL_MODE_UNSPECIFIED", +"SSL_MODE_ALLOW", +"SSL_MODE_REQUIRE", +"SSL_MODE_VERIFY_CA", +"ALLOW_UNENCRYPTED_AND_ENCRYPTED", +"ENCRYPTED_ONLY" +], +"enumDeprecated": [ +false, +true, +true, +true, +false, +false +], +"enumDescriptions": [ +"SSL mode is not specified. Defaults to ENCRYPTED_ONLY.", +"SSL connections are optional. CA verification not enforced.", +"SSL connections are required. CA verification not enforced. Clients may use locally self-signed certificates (default psql client behavior).", +"SSL connections are required. CA verification enforced. Clients must have certificates signed by a Cluster CA, for example, using GenerateClientCertificate.", +"SSL connections are optional. CA verification not enforced.", +"SSL connections are required. CA verification not enforced." +], +"type": "string" +} +}, +"type": "object" +}, +"StageInfo": { +"description": "Stage information for different stages in the upgrade process.", +"id": "StageInfo", +"properties": { +"logsUrl": { +"description": "logs_url is the URL for the logs associated with a stage if that stage has logs. Right now, only three stages have logs: ALLOYDB_PRECHECK, PG_UPGRADE_CHECK, PRIMARY_INSTANCE_UPGRADE.", +"type": "string" +}, +"stage": { +"description": "The stage.", +"enum": [ +"STAGE_UNSPECIFIED", +"ALLOYDB_PRECHECK", +"PG_UPGRADE_CHECK", +"PREPARE_FOR_UPGRADE", +"PRIMARY_INSTANCE_UPGRADE", +"READ_POOL_INSTANCES_UPGRADE", +"ROLLBACK", +"CLEANUP" +], +"enumDescriptions": [ +"Unspecified stage.", +"Pre-upgrade custom checks, not covered by pg_upgrade.", +"Pre-upgrade pg_upgrade checks.", +"Clone the original cluster.", +"Upgrade the primary instance(downtime).", +"This stage is read pool upgrade.", +"Rollback in case of critical failures.", +"Cleanup." +], +"type": "string" +}, +"status": { +"description": "Status of the stage.", +"enum": [ +"STATUS_UNSPECIFIED", +"NOT_STARTED", +"IN_PROGRESS", +"SUCCESS", +"FAILED", +"PARTIAL_SUCCESS", +"CANCEL_IN_PROGRESS", +"CANCELLED" +], +"enumDescriptions": [ +"Unspecified status.", +"Not started.", +"In progress.", +"Operation succeeded.", +"Operation failed.", +"Operation partially succeeded.", +"Cancel is in progress.", +"Cancellation complete." +], +"type": "string" +} +}, +"type": "object" +}, +"StageStatus": { +"description": "Status of an upgrade stage.", +"id": "StageStatus", +"properties": { +"readPoolInstancesUpgrade": { +"$ref": "ReadPoolInstancesUpgradeStageStatus", +"description": "Read pool instances upgrade metadata." +}, +"stage": { +"description": "Upgrade stage.", +"enum": [ +"STAGE_UNSPECIFIED", +"ALLOYDB_PRECHECK", +"PG_UPGRADE_CHECK", +"PREPARE_FOR_UPGRADE", +"PRIMARY_INSTANCE_UPGRADE", +"READ_POOL_INSTANCES_UPGRADE", +"ROLLBACK", +"CLEANUP" +], +"enumDescriptions": [ +"Unspecified stage.", +"Pre-upgrade custom checks, not covered by pg_upgrade.", +"Pre-upgrade pg_upgrade checks.", +"Clone the original cluster.", +"Upgrade the primary instance(downtime).", +"This stage is read pool upgrade.", +"Rollback in case of critical failures.", +"Cleanup." +], +"type": "string" +}, +"state": { +"description": "State of this stage.", +"enum": [ +"STATUS_UNSPECIFIED", +"NOT_STARTED", +"IN_PROGRESS", +"SUCCESS", +"FAILED", +"PARTIAL_SUCCESS", +"CANCEL_IN_PROGRESS", +"CANCELLED" +], +"enumDescriptions": [ +"Unspecified status.", +"Not started.", +"In progress.", +"Operation succeeded.", +"Operation failed.", +"Operation partially succeeded.", +"Cancel is in progress.", +"Cancellation complete." +], +"type": "string" +} +}, +"type": "object" +}, +"Stats": { +"description": "Upgrade stats for read pool instances.", +"id": "Stats", +"properties": { +"failed": { +"description": "Number of read pool instances which failed to upgrade.", +"format": "int32", +"type": "integer" +}, +"notStarted": { +"description": "Number of read pool instances for which upgrade has not started.", +"format": "int32", +"type": "integer" +}, +"ongoing": { +"description": "Number of read pool instances undergoing upgrade.", +"format": "int32", +"type": "integer" +}, +"success": { +"description": "Number of read pool instances successfully upgraded.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"Status": { +"description": "The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors).", +"id": "Status", +"properties": { +"code": { +"description": "The status code, which should be an enum value of google.rpc.Code.", +"format": "int32", +"type": "integer" +}, +"details": { +"description": "A list of messages that carry the error details. There is a common set of message types for APIs to use.", +"items": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.", +"type": "string" +} +}, +"type": "object" +}, +"StorageDatabasecenterPartnerapiV1mainAvailabilityConfiguration": { +"description": "Configuration for availability of database instance", +"id": "StorageDatabasecenterPartnerapiV1mainAvailabilityConfiguration", +"properties": { +"automaticFailoverRoutingConfigured": { +"description": "Checks for existence of (multi-cluster) routing configuration that allows automatic failover to a different zone/region in case of an outage. Applicable to Bigtable resources.", +"type": "boolean" +}, +"availabilityType": { +"description": "Availability type. Potential values: * `ZONAL`: The instance serves data from only one zone. Outages in that zone affect data accessibility. * `REGIONAL`: The instance can serve data from more than one zone in a region (it is highly available).", +"enum": [ +"AVAILABILITY_TYPE_UNSPECIFIED", +"ZONAL", +"REGIONAL", +"MULTI_REGIONAL", +"AVAILABILITY_TYPE_OTHER" +], +"enumDescriptions": [ +"", +"Zonal available instance.", +"Regional available instance.", +"Multi regional instance", +"For rest of the other category" +], +"type": "string" +}, +"crossRegionReplicaConfigured": { +"description": "Checks for resources that are configured to have redundancy, and ongoing replication across regions", +"type": "boolean" +}, +"externalReplicaConfigured": { +"type": "boolean" +}, +"promotableReplicaConfigured": { +"type": "boolean" +} +}, +"type": "object" +}, +"StorageDatabasecenterPartnerapiV1mainBackupConfiguration": { +"description": "Configuration for automatic backups", +"id": "StorageDatabasecenterPartnerapiV1mainBackupConfiguration", +"properties": { +"automatedBackupEnabled": { +"description": "Whether customer visible automated backups are enabled on the instance.", +"type": "boolean" +}, +"backupRetentionSettings": { +"$ref": "StorageDatabasecenterPartnerapiV1mainRetentionSettings", +"description": "Backup retention settings." +}, +"pointInTimeRecoveryEnabled": { +"description": "Whether point-in-time recovery is enabled. This is optional field, if the database service does not have this feature or metadata is not available in control plane, this can be omitted.", +"type": "boolean" +} +}, +"type": "object" +}, +"StorageDatabasecenterPartnerapiV1mainBackupDRConfiguration": { +"description": "BackupDRConfiguration to capture the backup and disaster recovery details of database resource.", +"id": "StorageDatabasecenterPartnerapiV1mainBackupDRConfiguration", +"properties": { +"backupdrManaged": { +"description": "Indicates if the resource is managed by BackupDR.", +"type": "boolean" +} +}, +"type": "object" +}, +"StorageDatabasecenterPartnerapiV1mainBackupDRMetadata": { +"description": "BackupDRMetadata contains information about the backup and disaster recovery metadata of a database resource.", +"id": "StorageDatabasecenterPartnerapiV1mainBackupDRMetadata", +"properties": { +"backupConfiguration": { +"$ref": "StorageDatabasecenterPartnerapiV1mainBackupConfiguration", +"description": "Backup configuration for this instance." +}, +"backupRun": { +"$ref": "StorageDatabasecenterPartnerapiV1mainBackupRun", +"description": "Latest backup run information for this instance." +}, +"backupdrConfiguration": { +"$ref": "StorageDatabasecenterPartnerapiV1mainBackupDRConfiguration", +"description": "BackupDR configuration for this instance." +}, +"fullResourceName": { +"description": "Required. Full resource name of this instance.", +"type": "string" +}, +"lastRefreshTime": { +"description": "Required. Last time backup configuration was refreshed.", +"format": "google-datetime", +"type": "string" +}, +"resourceId": { +"$ref": "StorageDatabasecenterPartnerapiV1mainDatabaseResourceId", +"description": "Required. Database resource id." +} +}, +"type": "object" +}, +"StorageDatabasecenterPartnerapiV1mainBackupRun": { +"description": "A backup run.", +"id": "StorageDatabasecenterPartnerapiV1mainBackupRun", +"properties": { +"endTime": { +"description": "The time the backup operation completed. REQUIRED", +"format": "google-datetime", +"type": "string" +}, +"error": { +"$ref": "StorageDatabasecenterPartnerapiV1mainOperationError", +"description": "Information about why the backup operation failed. This is only present if the run has the FAILED status. OPTIONAL" +}, +"startTime": { +"description": "The time the backup operation started. REQUIRED", +"format": "google-datetime", +"type": "string" +}, +"status": { +"description": "The status of this run. REQUIRED", +"enum": [ +"STATUS_UNSPECIFIED", +"SUCCESSFUL", +"FAILED" +], +"enumDescriptions": [ +"", +"The backup was successful.", +"The backup was unsuccessful." +], +"type": "string" +} +}, +"type": "object" +}, +"StorageDatabasecenterPartnerapiV1mainCompliance": { +"description": "Contains compliance information about a security standard indicating unmet recommendations.", +"id": "StorageDatabasecenterPartnerapiV1mainCompliance", +"properties": { +"standard": { +"description": "Industry-wide compliance standards or benchmarks, such as CIS, PCI, and OWASP.", +"type": "string" +}, +"version": { +"description": "Version of the standard or benchmark, for example, 1.1", +"type": "string" +} +}, +"type": "object" +}, +"StorageDatabasecenterPartnerapiV1mainConfigBasedSignalData": { +"description": "Config based signal data. This is used to send signals to Condor which are based on the DB level configurations. These will be used to send signals for self managed databases.", +"id": "StorageDatabasecenterPartnerapiV1mainConfigBasedSignalData", +"properties": { +"fullResourceName": { +"description": "Required. Full Resource name of the source resource.", +"type": "string" +}, +"lastRefreshTime": { +"description": "Required. Last time signal was refreshed", +"format": "google-datetime", +"type": "string" +}, +"resourceId": { +"$ref": "StorageDatabasecenterPartnerapiV1mainDatabaseResourceId", +"description": "Database resource id." +}, +"signalBoolValue": { +"description": "Signal data for boolean signals.", +"type": "boolean" +}, +"signalType": { +"description": "Required. Signal type of the signal", +"enum": [ +"SIGNAL_TYPE_UNSPECIFIED", +"SIGNAL_TYPE_OUTDATED_MINOR_VERSION", +"SIGNAL_TYPE_DATABASE_AUDITING_DISABLED", +"SIGNAL_TYPE_NO_ROOT_PASSWORD", +"SIGNAL_TYPE_EXPOSED_TO_PUBLIC_ACCESS", +"SIGNAL_TYPE_UNENCRYPTED_CONNECTIONS", +"SIGNAL_TYPE_EXTENDED_SUPPORT", +"SIGNAL_TYPE_NO_AUTOMATED_BACKUP_POLICY" +], +"enumDescriptions": [ +"Unspecified signal type.", +"Outdated Minor Version", +"Represents database auditing is disabled.", +"Represents if a database has a password configured for the root account or not.", +"Represents if a resource is exposed to public access.", +"Represents if a resources requires all incoming connections to use SSL or not.", +"Represents if a resource version is in extended support.", +"Represents if a resource has no automated backup policy." +], +"type": "string" +} +}, +"type": "object" +}, +"StorageDatabasecenterPartnerapiV1mainCustomMetadataData": { +"description": "Any custom metadata associated with the resource. e.g. A spanner instance can have multiple databases with its own unique metadata. Information for these individual databases can be captured in custom metadata data", +"id": "StorageDatabasecenterPartnerapiV1mainCustomMetadataData", +"properties": { +"internalResourceMetadata": { +"description": "Metadata for individual internal resources in an instance. e.g. spanner instance can have multiple databases with unique configuration.", +"items": { +"$ref": "StorageDatabasecenterPartnerapiV1mainInternalResourceMetadata" +}, +"type": "array" +} +}, +"type": "object" +}, +"StorageDatabasecenterPartnerapiV1mainDatabaseResourceFeed": { +"description": "DatabaseResourceFeed is the top level proto to be used to ingest different database resource level events into Condor platform. Next ID: 13", +"id": "StorageDatabasecenterPartnerapiV1mainDatabaseResourceFeed", +"properties": { +"backupdrMetadata": { +"$ref": "StorageDatabasecenterPartnerapiV1mainBackupDRMetadata", +"description": "BackupDR metadata is used to ingest metadata from BackupDR." +}, +"configBasedSignalData": { +"$ref": "StorageDatabasecenterPartnerapiV1mainConfigBasedSignalData", +"description": "Config based signal data is used to ingest signals that are generated based on the configuration of the database resource." +}, +"databaseResourceSignalData": { +"$ref": "StorageDatabasecenterPartnerapiV1mainDatabaseResourceSignalData", +"description": "Database resource signal data is used to ingest signals from database resource signal feeds." +}, +"feedTimestamp": { +"description": "Required. Timestamp when feed is generated.", +"format": "google-datetime", +"type": "string" +}, +"feedType": { +"description": "Required. Type feed to be ingested into condor", +"enum": [ +"FEEDTYPE_UNSPECIFIED", +"RESOURCE_METADATA", +"OBSERVABILITY_DATA", +"SECURITY_FINDING_DATA", +"RECOMMENDATION_SIGNAL_DATA", +"CONFIG_BASED_SIGNAL_DATA", +"BACKUPDR_METADATA", +"DATABASE_RESOURCE_SIGNAL_DATA" +], +"enumDescriptions": [ +"", +"Database resource metadata feed from control plane", +"Database resource monitoring data", +"Database resource security health signal data", +"Database resource recommendation signal data", +"Database config based signal data", +"Database resource metadata from BackupDR", +"Database resource signal data" +], +"type": "string" +}, +"observabilityMetricData": { +"$ref": "StorageDatabasecenterPartnerapiV1mainObservabilityMetricData" +}, +"recommendationSignalData": { +"$ref": "StorageDatabasecenterPartnerapiV1mainDatabaseResourceRecommendationSignalData" +}, +"resourceHealthSignalData": { +"$ref": "StorageDatabasecenterPartnerapiV1mainDatabaseResourceHealthSignalData" +}, +"resourceId": { +"$ref": "StorageDatabasecenterPartnerapiV1mainDatabaseResourceId", +"deprecated": true, +"description": "Primary key associated with the Resource. resource_id is available in individual feed level as well." +}, +"resourceMetadata": { +"$ref": "StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata" +}, +"skipIngestion": { +"description": "Optional. If true, the feed won't be ingested by DB Center. This indicates that the feed is intentionally skipped. For example, BackupDR feeds are only needed for resources integrated with DB Center (e.g., CloudSQL, AlloyDB). Feeds for non-integrated resources (e.g., Compute Engine, Persistent Disk) can be skipped.", +"type": "boolean" +} +}, +"type": "object" +}, +"StorageDatabasecenterPartnerapiV1mainDatabaseResourceHealthSignalData": { +"description": "Common model for database resource health signal data.", +"id": "StorageDatabasecenterPartnerapiV1mainDatabaseResourceHealthSignalData", +"properties": { +"additionalMetadata": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"description": "Any other additional metadata", +"type": "object" +}, +"compliance": { +"description": "Industry standards associated with this signal; if this signal is an issue, that could be a violation of the associated industry standard(s). For example, AUTO_BACKUP_DISABLED signal is associated with CIS GCP 1.1, CIS GCP 1.2, CIS GCP 1.3, NIST 800-53 and ISO-27001 compliance standards. If a database resource does not have automated backup enable, it will violate these following industry standards.", +"items": { +"$ref": "StorageDatabasecenterPartnerapiV1mainCompliance" +}, +"type": "array" +}, +"description": { +"description": "Description associated with signal", +"type": "string" +}, +"eventTime": { +"description": "Required. The last time at which the event described by this signal took place", +"format": "google-datetime", +"type": "string" +}, +"externalUri": { +"description": "The external-uri of the signal, using which more information about this signal can be obtained. In GCP, this will take user to SCC page to get more details about signals.", +"type": "string" +}, +"location": { +"description": "This is used to identify the location of the resource. Example: \"us-central1\"", +"type": "string" +}, +"name": { +"description": "Required. The name of the signal, ex: PUBLIC_SQL_INSTANCE, SQL_LOG_ERROR_VERBOSITY etc.", +"type": "string" +}, +"provider": { +"description": "Cloud provider name. Ex: GCP/AWS/Azure/OnPrem/SelfManaged", +"enum": [ +"PROVIDER_UNSPECIFIED", +"GCP", +"AWS", +"AZURE", +"ONPREM", +"SELFMANAGED", +"PROVIDER_OTHER" +], +"enumDescriptions": [ +"", +"Google cloud platform provider", +"Amazon web service", +"Azure web service", +"On-prem database resources.", +"Self-managed database provider. These are resources on a cloud platform, e.g., database resource installed in a GCE VM, but not a managed database service.", +"For the rest of the other categories. Other refers to the rest of other database service providers, this could be smaller cloud provider. This needs to be provided when the provider is known, but it is not present in the existing set of enum values." +], +"type": "string" +}, +"resourceContainer": { +"description": "Closest parent container of this resource. In GCP, 'container' refers to a Cloud Resource Manager project. It must be resource name of a Cloud Resource Manager project with the format of \"provider//\", such as \"projects/123\". For GCP provided resources, number should be project number.", +"type": "string" +}, +"resourceName": { +"description": "Required. Database resource name associated with the signal. Resource name to follow CAIS resource_name format as noted here go/condor-common-datamodel", +"type": "string" +}, +"signalClass": { +"description": "Required. The class of the signal, such as if it's a THREAT or VULNERABILITY.", +"enum": [ +"CLASS_UNSPECIFIED", +"THREAT", +"VULNERABILITY", +"MISCONFIGURATION", +"OBSERVATION", +"ERROR" +], +"enumDescriptions": [ +"Unspecified signal class.", +"Describes unwanted or malicious activity.", +"Describes a potential weakness in software that increases risk to Confidentiality & Integrity & Availability.", +"Describes a potential weakness in cloud resource/asset configuration that increases risk.", +"Describes a security observation that is for informational purposes.", +"Describes an error that prevents some SCC functionality." +], +"type": "string" +}, +"signalId": { +"description": "Required. Unique identifier for the signal. This is an unique id which would be mainatined by partner to identify a signal.", +"type": "string" +}, +"signalSeverity": { +"description": "The severity of the signal, such as if it's a HIGH or LOW severity.", +"enum": [ +"SIGNAL_SEVERITY_UNSPECIFIED", +"CRITICAL", +"HIGH", +"MEDIUM", +"LOW" +], +"enumDescriptions": [ +"This value is used for findings when a source doesn't write a severity value.", +"A critical vulnerability is easily discoverable by an external actor, exploitable.", +"A high risk vulnerability can be easily discovered and exploited in combination with other vulnerabilities.", +"A medium risk vulnerability could be used by an actor to gain access to resources or privileges that enable them to eventually gain access and the ability to execute arbitrary code or exfiltrate data.", +"A low risk vulnerability hampers a security organization's ability to detect vulnerabilities or active threats in their deployment." +], +"type": "string" +}, +"signalType": { +"description": "Required. Type of signal, for example, `AVAILABLE_IN_MULTIPLE_ZONES`, `LOGGING_MOST_ERRORS`, etc.", +"enum": [ +"SIGNAL_TYPE_UNSPECIFIED", +"SIGNAL_TYPE_NOT_PROTECTED_BY_AUTOMATIC_FAILOVER", +"SIGNAL_TYPE_GROUP_NOT_REPLICATING_ACROSS_REGIONS", +"SIGNAL_TYPE_NOT_AVAILABLE_IN_MULTIPLE_ZONES", +"SIGNAL_TYPE_NOT_AVAILABLE_IN_MULTIPLE_REGIONS", +"SIGNAL_TYPE_NO_PROMOTABLE_REPLICA", +"SIGNAL_TYPE_NO_AUTOMATED_BACKUP_POLICY", +"SIGNAL_TYPE_SHORT_BACKUP_RETENTION", +"SIGNAL_TYPE_LAST_BACKUP_FAILED", +"SIGNAL_TYPE_LAST_BACKUP_OLD", +"SIGNAL_TYPE_VIOLATES_CIS_GCP_FOUNDATION_2_0", +"SIGNAL_TYPE_VIOLATES_CIS_GCP_FOUNDATION_1_3", +"SIGNAL_TYPE_VIOLATES_CIS_GCP_FOUNDATION_1_2", +"SIGNAL_TYPE_VIOLATES_CIS_GCP_FOUNDATION_1_1", +"SIGNAL_TYPE_VIOLATES_CIS_GCP_FOUNDATION_1_0", +"SIGNAL_TYPE_VIOLATES_CIS_CONTROLS_V8_0", +"SIGNAL_TYPE_VIOLATES_NIST_800_53", +"SIGNAL_TYPE_VIOLATES_NIST_800_53_R5", +"SIGNAL_TYPE_VIOLATES_NIST_CYBERSECURITY_FRAMEWORK_V1_0", +"SIGNAL_TYPE_VIOLATES_ISO_27001", +"SIGNAL_TYPE_VIOLATES_ISO_27001_V2022", +"SIGNAL_TYPE_VIOLATES_PCI_DSS_V3_2_1", +"SIGNAL_TYPE_VIOLATES_PCI_DSS_V4_0", +"SIGNAL_TYPE_VIOLATES_CLOUD_CONTROLS_MATRIX_V4", +"SIGNAL_TYPE_VIOLATES_HIPAA", +"SIGNAL_TYPE_VIOLATES_SOC2_V2017", +"SIGNAL_TYPE_LOGS_NOT_OPTIMIZED_FOR_TROUBLESHOOTING", +"SIGNAL_TYPE_QUERY_DURATIONS_NOT_LOGGED", +"SIGNAL_TYPE_VERBOSE_ERROR_LOGGING", +"SIGNAL_TYPE_QUERY_LOCK_WAITS_NOT_LOGGED", +"SIGNAL_TYPE_LOGGING_MOST_ERRORS", +"SIGNAL_TYPE_LOGGING_ONLY_CRITICAL_ERRORS", +"SIGNAL_TYPE_MINIMAL_ERROR_LOGGING", +"SIGNAL_TYPE_QUERY_STATISTICS_LOGGED", +"SIGNAL_TYPE_EXCESSIVE_LOGGING_OF_CLIENT_HOSTNAME", +"SIGNAL_TYPE_EXCESSIVE_LOGGING_OF_PARSER_STATISTICS", +"SIGNAL_TYPE_EXCESSIVE_LOGGING_OF_PLANNER_STATISTICS", +"SIGNAL_TYPE_NOT_LOGGING_ONLY_DDL_STATEMENTS", +"SIGNAL_TYPE_LOGGING_QUERY_STATISTICS", +"SIGNAL_TYPE_NOT_LOGGING_TEMPORARY_FILES", +"SIGNAL_TYPE_CONNECTION_MAX_NOT_CONFIGURED", +"SIGNAL_TYPE_USER_OPTIONS_CONFIGURED", +"SIGNAL_TYPE_EXPOSED_TO_PUBLIC_ACCESS", +"SIGNAL_TYPE_UNENCRYPTED_CONNECTIONS", +"SIGNAL_TYPE_NO_ROOT_PASSWORD", +"SIGNAL_TYPE_WEAK_ROOT_PASSWORD", +"SIGNAL_TYPE_ENCRYPTION_KEY_NOT_CUSTOMER_MANAGED", +"SIGNAL_TYPE_SERVER_AUTHENTICATION_NOT_REQUIRED", +"SIGNAL_TYPE_EXPOSED_BY_OWNERSHIP_CHAINING", +"SIGNAL_TYPE_EXPOSED_TO_EXTERNAL_SCRIPTS", +"SIGNAL_TYPE_EXPOSED_TO_LOCAL_DATA_LOADS", +"SIGNAL_TYPE_CONNECTION_ATTEMPTS_NOT_LOGGED", +"SIGNAL_TYPE_DISCONNECTIONS_NOT_LOGGED", +"SIGNAL_TYPE_LOGGING_EXCESSIVE_STATEMENT_INFO", +"SIGNAL_TYPE_EXPOSED_TO_REMOTE_ACCESS", +"SIGNAL_TYPE_DATABASE_NAMES_EXPOSED", +"SIGNAL_TYPE_SENSITIVE_TRACE_INFO_NOT_MASKED", +"SIGNAL_TYPE_PUBLIC_IP_ENABLED", +"SIGNAL_TYPE_IDLE", +"SIGNAL_TYPE_OVERPROVISIONED", +"SIGNAL_TYPE_HIGH_NUMBER_OF_OPEN_TABLES", +"SIGNAL_TYPE_HIGH_NUMBER_OF_TABLES", +"SIGNAL_TYPE_HIGH_TRANSACTION_ID_UTILIZATION", +"SIGNAL_TYPE_UNDERPROVISIONED", +"SIGNAL_TYPE_OUT_OF_DISK", +"SIGNAL_TYPE_SERVER_CERTIFICATE_NEAR_EXPIRY", +"SIGNAL_TYPE_DATABASE_AUDITING_DISABLED", +"SIGNAL_TYPE_RESTRICT_AUTHORIZED_NETWORKS", +"SIGNAL_TYPE_VIOLATE_POLICY_RESTRICT_PUBLIC_IP", +"SIGNAL_TYPE_QUOTA_LIMIT", +"SIGNAL_TYPE_NO_PASSWORD_POLICY", +"SIGNAL_TYPE_CONNECTIONS_PERFORMANCE_IMPACT", +"SIGNAL_TYPE_TMP_TABLES_PERFORMANCE_IMPACT", +"SIGNAL_TYPE_TRANS_LOGS_PERFORMANCE_IMPACT", +"SIGNAL_TYPE_HIGH_JOINS_WITHOUT_INDEXES", +"SIGNAL_TYPE_SUPERUSER_WRITING_TO_USER_TABLES", +"SIGNAL_TYPE_USER_GRANTED_ALL_PERMISSIONS", +"SIGNAL_TYPE_DATA_EXPORT_TO_EXTERNAL_CLOUD_STORAGE_BUCKET", +"SIGNAL_TYPE_DATA_EXPORT_TO_PUBLIC_CLOUD_STORAGE_BUCKET", +"SIGNAL_TYPE_WEAK_PASSWORD_HASH_ALGORITHM", +"SIGNAL_TYPE_NO_USER_PASSWORD_POLICY", +"SIGNAL_TYPE_HOT_NODE", +"SIGNAL_TYPE_NO_POINT_IN_TIME_RECOVERY", +"SIGNAL_TYPE_RESOURCE_SUSPENDED", +"SIGNAL_TYPE_EXPENSIVE_COMMANDS", +"SIGNAL_TYPE_NO_MAINTENANCE_POLICY_CONFIGURED", +"SIGNAL_TYPE_NO_DELETION_PROTECTION", +"SIGNAL_TYPE_INEFFICIENT_QUERY", +"SIGNAL_TYPE_READ_INTENSIVE_WORKLOAD", +"SIGNAL_TYPE_MEMORY_LIMIT", +"SIGNAL_TYPE_MAX_SERVER_MEMORY", +"SIGNAL_TYPE_LARGE_ROWS", +"SIGNAL_TYPE_HIGH_WRITE_PRESSURE", +"SIGNAL_TYPE_HIGH_READ_PRESSURE", +"SIGNAL_TYPE_ENCRYPTION_ORG_POLICY_NOT_SATISFIED", +"SIGNAL_TYPE_LOCATION_ORG_POLICY_NOT_SATISFIED", +"SIGNAL_TYPE_OUTDATED_MINOR_VERSION", +"SIGNAL_TYPE_SCHEMA_NOT_OPTIMIZED", +"SIGNAL_TYPE_MANY_IDLE_CONNECTIONS", +"SIGNAL_TYPE_REPLICATION_LAG", +"SIGNAL_TYPE_OUTDATED_VERSION", +"SIGNAL_TYPE_OUTDATED_CLIENT", +"SIGNAL_TYPE_DATABOOST_DISABLED", +"SIGNAL_TYPE_RECOMMENDED_MAINTENANCE_POLICIES", +"SIGNAL_TYPE_EXTENDED_SUPPORT", +"SIGNAL_TYPE_PERFORMANCE_KPI_CHANGE" +], +"enumDeprecated": [ +false, +false, +false, +true, +true, +true, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +true, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +true, +false, +false, +false, +false, +false, +false, +false +], +"enumDescriptions": [ +"Unspecified.", +"Represents if a resource is protected by automatic failover. Checks for resources that are configured to have redundancy within a region that enables automatic failover.", +"Represents if a group is replicating across regions. Checks for resources that are configured to have redundancy, and ongoing replication, across regions.", +"Represents if the resource is available in multiple zones or not.", +"Represents if a resource is available in multiple regions.", +"Represents if a resource has a promotable replica.", +"Represents if a resource has an automated backup policy.", +"Represents if a resources has a short backup retention period.", +"Represents if the last backup of a resource failed.", +"Represents if the last backup of a resource is older than some threshold value.", +"Represents if a resource violates CIS GCP Foundation 2.0.", +"Represents if a resource violates CIS GCP Foundation 1.3.", +"Represents if a resource violates CIS GCP Foundation 1.2.", +"Represents if a resource violates CIS GCP Foundation 1.1.", +"Represents if a resource violates CIS GCP Foundation 1.0.", +"Represents if a resource violates CIS Controls 8.0.", +"Represents if a resource violates NIST 800-53.", +"Represents if a resource violates NIST 800-53 R5.", +"Represents if a resource violates NIST Cybersecurity Framework 1.0.", +"Represents if a resource violates ISO-27001.", +"Represents if a resource violates ISO 27001 2022.", +"Represents if a resource violates PCI-DSS v3.2.1.", +"Represents if a resource violates PCI-DSS v4.0.", +"Represents if a resource violates Cloud Controls Matrix v4.0.", +"Represents if a resource violates HIPAA.", +"Represents if a resource violates SOC2 v2017.", +"Represents if log_checkpoints database flag for a Cloud SQL for PostgreSQL instance is not set to on.", +"Represents if the log_duration database flag for a Cloud SQL for PostgreSQL instance is not set to on.", +"Represents if the log_error_verbosity database flag for a Cloud SQL for PostgreSQL instance is not set to default or stricter (default or terse).", +"Represents if the log_lock_waits database flag for a Cloud SQL for PostgreSQL instance is not set to on.", +"Represents if the log_min_error_statement database flag for a Cloud SQL for PostgreSQL instance is not set appropriately.", +"Represents if the log_min_error_statement database flag for a Cloud SQL for PostgreSQL instance does not have an appropriate severity level.", +"Represents if the log_min_messages database flag for a Cloud SQL for PostgreSQL instance is not set to warning or another recommended value.", +"Represents if the databaseFlags property of instance metadata for the log_executor_status field is set to on.", +"Represents if the log_hostname database flag for a Cloud SQL for PostgreSQL instance is not set to off.", +"Represents if the log_parser_stats database flag for a Cloud SQL for PostgreSQL instance is not set to off.", +"Represents if the log_planner_stats database flag for a Cloud SQL for PostgreSQL instance is not set to off.", +"Represents if the log_statement database flag for a Cloud SQL for PostgreSQL instance is not set to DDL (all data definition statements).", +"Represents if the log_statement_stats database flag for a Cloud SQL for PostgreSQL instance is not set to off.", +"Represents if the log_temp_files database flag for a Cloud SQL for PostgreSQL instance is not set to \"0\". (NOTE: 0 = ON)", +"Represents if the user connections database flag for a Cloud SQL for SQL Server instance is configured.", +"Represents if the user options database flag for Cloud SQL SQL Server instance is configured or not.", +"Represents if a resource is exposed to public access.", +"Represents if a resources requires all incoming connections to use SSL or not.", +"Represents if a Cloud SQL database has a password configured for the root account or not.", +"Represents if a Cloud SQL database has a weak password configured for the root account.", +"Represents if a SQL database instance is not encrypted with customer-managed encryption keys (CMEK).", +"Represents if The contained database authentication database flag for a Cloud SQL for SQL Server instance is not set to off.", +"Represents if the cross_db_ownership_chaining database flag for a Cloud SQL for SQL Server instance is not set to off.", +"Represents if he external scripts enabled database flag for a Cloud SQL for SQL Server instance is not set to off.", +"Represents if the local_infile database flag for a Cloud SQL for MySQL instance is not set to off.", +"Represents if the log_connections database flag for a Cloud SQL for PostgreSQL instance is not set to on.", +"Represents if the log_disconnections database flag for a Cloud SQL for PostgreSQL instance is not set to on.", +"Represents if the log_min_duration_statement database flag for a Cloud SQL for PostgreSQL instance is not set to -1.", +"Represents if the remote access database flag for a Cloud SQL for SQL Server instance is not set to off.", +"Represents if the skip_show_database database flag for a Cloud SQL for MySQL instance is not set to on.", +"Represents if the 3625 (trace flag) database flag for a Cloud SQL for SQL Server instance is not set to on.", +"Represents if public IP is enabled.", +"Represents Idle instance helps to reduce costs.", +"Represents instances that are unnecessarily large for given workload.", +"Represents high number of concurrently opened tables.", +"Represents high table count close to SLA limit.", +"Represents high number of unvacuumed transactions", +"Represents need for more CPU and/or memory", +"Represents out of disk.", +"Represents server certificate is near expiry.", +"Represents database auditing is disabled.", +"Represents not restricted to authorized networks.", +"Represents violate org policy restrict public ip.", +"Cluster nearing quota limit", +"No password policy set on resources", +"Performance impact of connections settings", +"Performance impact of temporary tables settings", +"Performance impact of transaction logs settings", +"Performance impact of high joins without indexes", +"Detects events where a Cloud SQL superuser (postgres for PostgreSQL servers or root for MySQL users) writes to non-system tables.", +"Detects events where a database user or role has been granted all privileges to a database, or to all tables, procedures, or functions in a schema.", +"Detects if database instance data exported to a Cloud Storage bucket outside of the organization.", +"Detects if database instance data exported to a Cloud Storage bucket that is owned by the organization and is publicly accessible.", +"Detects if a database instance is using a weak password hash algorithm.", +"Detects if a database instance has no user password policy set.", +"Detects if a database instance/cluster has a hot node.", +"Detects if a database instance has no point in time recovery enabled.", +"Detects if a database instance/cluster is suspended.", +"Detects that expensive commands are being run on a database instance impacting overall performance.", +"Indicates that the instance does not have a maintenance policy configured.", +"Deletion Protection Disabled for the resource", +"Indicates that the instance has inefficient queries detected.", +"Indicates that the instance has read intensive workload.", +"Indicates that the instance is nearing memory limit.", +"Indicates that the instance's max server memory is configured higher than the recommended value.", +"Indicates that the database has large rows beyond the recommended limit.", +"Heavy write pressure on the database rows.", +"Heavy read pressure on the database rows.", +"Encryption org policy not satisfied.", +"Location org policy not satisfied.", +"Outdated DB minor version.", +"Schema not optimized.", +"High number of idle connections.", +"Replication delay.", +"Outdated version.", +"Outdated client.", +"Databoost is disabled.", +"Recommended maintenance policy.", +"Resource version is in extended support.", +"Change in performance KPIs." +], +"type": "string" +}, +"state": { +"enum": [ +"STATE_UNSPECIFIED", +"ACTIVE", +"RESOLVED", +"MUTED" +], +"enumDescriptions": [ +"Unspecified state.", +"The signal requires attention and has not been addressed yet.", +"The signal has been fixed, triaged as a non-issue or otherwise addressed and is no longer active.", +"The signal has been muted." +], +"type": "string" +} +}, +"type": "object" +}, +"StorageDatabasecenterPartnerapiV1mainDatabaseResourceId": { +"description": "DatabaseResourceId will serve as primary key for any resource ingestion event.", +"id": "StorageDatabasecenterPartnerapiV1mainDatabaseResourceId", +"properties": { +"provider": { +"description": "Required. Cloud provider name. Ex: GCP/AWS/Azure/OnPrem/SelfManaged", +"enum": [ +"PROVIDER_UNSPECIFIED", +"GCP", +"AWS", +"AZURE", +"ONPREM", +"SELFMANAGED", +"PROVIDER_OTHER" +], +"enumDescriptions": [ +"", +"Google cloud platform provider", +"Amazon web service", +"Azure web service", +"On-prem database resources.", +"Self-managed database provider. These are resources on a cloud platform, e.g., database resource installed in a GCE VM, but not a managed database service.", +"For the rest of the other categories. Other refers to the rest of other database service providers, this could be smaller cloud provider. This needs to be provided when the provider is known, but it is not present in the existing set of enum values." +], +"type": "string" +}, +"providerDescription": { +"description": "Optional. Needs to be used only when the provider is PROVIDER_OTHER.", +"type": "string" +}, +"resourceType": { +"description": "Required. The type of resource this ID is identifying. Ex go/keep-sorted start alloydb.googleapis.com/Cluster, alloydb.googleapis.com/Instance, bigtableadmin.googleapis.com/Cluster, bigtableadmin.googleapis.com/Instance compute.googleapis.com/Instance firestore.googleapis.com/Database, redis.googleapis.com/Instance, redis.googleapis.com/Cluster, oracledatabase.googleapis.com/CloudExadataInfrastructure oracledatabase.googleapis.com/CloudVmCluster oracledatabase.googleapis.com/AutonomousDatabase spanner.googleapis.com/Instance, spanner.googleapis.com/Database, sqladmin.googleapis.com/Instance, go/keep-sorted end REQUIRED Please refer go/condor-common-datamodel", +"type": "string" +}, +"uniqueId": { +"description": "Required. A service-local token that distinguishes this resource from other resources within the same service.", +"type": "string" +} +}, +"type": "object" +}, +"StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata": { +"description": "Common model for database resource instance metadata. Next ID: 31", +"id": "StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata", +"properties": { +"availabilityConfiguration": { +"$ref": "StorageDatabasecenterPartnerapiV1mainAvailabilityConfiguration", +"description": "Availability configuration for this instance" +}, +"backupConfiguration": { +"$ref": "StorageDatabasecenterPartnerapiV1mainBackupConfiguration", +"description": "Backup configuration for this instance" +}, +"backupRun": { +"$ref": "StorageDatabasecenterPartnerapiV1mainBackupRun", +"description": "Latest backup run information for this instance" +}, +"backupdrConfiguration": { +"$ref": "StorageDatabasecenterPartnerapiV1mainBackupDRConfiguration", +"description": "Optional. BackupDR Configuration for the resource." +}, +"creationTime": { +"description": "The creation time of the resource, i.e. the time when resource is created and recorded in partner service.", +"format": "google-datetime", +"type": "string" +}, +"currentState": { +"description": "Current state of the instance.", +"enum": [ +"STATE_UNSPECIFIED", +"HEALTHY", +"UNHEALTHY", +"SUSPENDED", +"DELETED", +"STATE_OTHER", +"STOPPED" +], +"enumDescriptions": [ +"", +"The instance is running.", +"Instance being created, updated, deleted or under maintenance", +"When instance is suspended", +"Instance is deleted.", +"For rest of the other category", +"Instance is in STOPPED state." +], +"type": "string" +}, +"customMetadata": { +"$ref": "StorageDatabasecenterPartnerapiV1mainCustomMetadataData", +"description": "Any custom metadata associated with the resource" +}, +"edition": { +"description": "Optional. Edition represents whether the instance is ENTERPRISE or ENTERPRISE_PLUS. This information is core to Cloud SQL only and is used to identify the edition of the instance.", +"enum": [ +"EDITION_UNSPECIFIED", +"EDITION_ENTERPRISE", +"EDITION_ENTERPRISE_PLUS", +"EDITION_STANDARD" +], +"enumDescriptions": [ +"Default, to make it consistent with instance edition enum.", +"Represents the enterprise edition.", +"Represents the enterprise plus edition.", +"Represents the standard edition." +], +"type": "string" +}, +"entitlements": { +"description": "Entitlements associated with the resource", +"items": { +"$ref": "StorageDatabasecenterPartnerapiV1mainEntitlement" +}, +"type": "array" +}, +"expectedState": { +"description": "The state that the instance is expected to be in. For example, an instance state can transition to UNHEALTHY due to wrong patch update, while the expected state will remain at the HEALTHY.", +"enum": [ +"STATE_UNSPECIFIED", +"HEALTHY", +"UNHEALTHY", +"SUSPENDED", +"DELETED", +"STATE_OTHER", +"STOPPED" +], +"enumDescriptions": [ +"", +"The instance is running.", +"Instance being created, updated, deleted or under maintenance", +"When instance is suspended", +"Instance is deleted.", +"For rest of the other category", +"Instance is in STOPPED state." +], +"type": "string" +}, +"gcbdrConfiguration": { +"$ref": "StorageDatabasecenterPartnerapiV1mainGCBDRConfiguration", +"deprecated": true, +"description": "GCBDR configuration for the resource." +}, +"id": { +"$ref": "StorageDatabasecenterPartnerapiV1mainDatabaseResourceId", +"description": "Required. Unique identifier for a Database resource" +}, +"instanceType": { +"description": "The type of the instance. Specified at creation time.", +"enum": [ +"INSTANCE_TYPE_UNSPECIFIED", +"SUB_RESOURCE_TYPE_UNSPECIFIED", +"PRIMARY", +"SECONDARY", +"READ_REPLICA", +"OTHER", +"SUB_RESOURCE_TYPE_PRIMARY", +"SUB_RESOURCE_TYPE_SECONDARY", +"SUB_RESOURCE_TYPE_READ_REPLICA", +"SUB_RESOURCE_TYPE_EXTERNAL_PRIMARY", +"SUB_RESOURCE_TYPE_OTHER" +], +"enumDeprecated": [ +true, +false, +true, +true, +true, +true, +false, +false, +false, +false, +false +], +"enumDescriptions": [ +"Unspecified.", +"For rest of the other categories.", +"A regular primary database instance.", +"A cluster or an instance acting as a secondary.", +"An instance acting as a read-replica.", +"For rest of the other categories.", +"A regular primary database instance.", +"A cluster or an instance acting as a secondary.", +"An instance acting as a read-replica.", +"An instance acting as an external primary.", +"For rest of the other categories." +], +"type": "string" +}, +"isDeletionProtectionEnabled": { +"description": "Optional. Whether deletion protection is enabled for this resource.", +"type": "boolean" +}, +"location": { +"description": "The resource location. REQUIRED", +"type": "string" +}, +"machineConfiguration": { +"$ref": "StorageDatabasecenterPartnerapiV1mainMachineConfiguration", +"description": "Machine configuration for this resource." +}, +"maintenanceInfo": { +"$ref": "StorageDatabasecenterPartnerapiV1mainResourceMaintenanceInfo", +"description": "Optional. Maintenance info for the resource." +}, +"primaryResourceId": { +"$ref": "StorageDatabasecenterPartnerapiV1mainDatabaseResourceId", +"description": "Identifier for this resource's immediate parent/primary resource if the current resource is a replica or derived form of another Database resource. Else it would be NULL. REQUIRED if the immediate parent exists when first time resource is getting ingested, otherwise optional." +}, +"primaryResourceLocation": { +"description": "Primary resource location. REQUIRED if the immediate parent exists when first time resource is getting ingested, otherwise optional.", +"type": "string" +}, +"product": { +"$ref": "StorageDatabasecenterProtoCommonProduct", +"description": "The product this resource represents." +}, +"resourceContainer": { +"description": "Closest parent Cloud Resource Manager container of this resource. It must be resource name of a Cloud Resource Manager project with the format of \"/\", such as \"projects/123\". For GCP provided resources, number should be project number.", +"type": "string" +}, +"resourceFlags": { +"description": "Optional. List of resource flags for the database resource.", +"items": { +"$ref": "StorageDatabasecenterPartnerapiV1mainResourceFlags" +}, +"type": "array" +}, +"resourceName": { +"description": "Required. Different from DatabaseResourceId.unique_id, a resource name can be reused over time. That is, after a resource named \"ABC\" is deleted, the name \"ABC\" can be used to to create a new resource within the same source. Resource name to follow CAIS resource_name format as noted here go/condor-common-datamodel", +"type": "string" +}, +"suspensionReason": { +"description": "Optional. Suspension reason for the resource.", +"enum": [ +"SUSPENSION_REASON_UNSPECIFIED", +"WIPEOUT_HIDE_EVENT", +"WIPEOUT_PURGE_EVENT", +"BILLING_DISABLED", +"ABUSER_DETECTED", +"ENCRYPTION_KEY_INACCESSIBLE", +"REPLICATED_CLUSTER_ENCRYPTION_KEY_INACCESSIBLE" +], +"enumDescriptions": [ +"Suspension reason is unspecified.", +"Wipeout hide event.", +"Wipeout purge event.", +"Billing disabled for project", +"Abuse detected for resource", +"Encryption key inaccessible.", +"Replicated cluster encryption key inaccessible." +], +"type": "string" +}, +"tagsSet": { +"$ref": "StorageDatabasecenterPartnerapiV1mainTags", +"description": "Optional. Tags associated with this resources." +}, +"updationTime": { +"description": "The time at which the resource was updated and recorded at partner service.", +"format": "google-datetime", +"type": "string" +}, +"userLabelSet": { +"$ref": "StorageDatabasecenterPartnerapiV1mainUserLabels", +"description": "User-provided labels associated with the resource" +}, +"zone": { +"description": "The resource zone. This is only applicable for zonal resources and will be empty for regional and multi-regional resources.", +"type": "string" +} +}, +"type": "object" +}, +"StorageDatabasecenterPartnerapiV1mainDatabaseResourceRecommendationSignalData": { +"description": "Common model for database resource recommendation signal data.", +"id": "StorageDatabasecenterPartnerapiV1mainDatabaseResourceRecommendationSignalData", +"properties": { +"additionalMetadata": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"description": "Optional. Any other additional metadata specific to recommendation", +"type": "object" +}, +"lastRefreshTime": { +"description": "Required. last time recommendationw as refreshed", +"format": "google-datetime", +"type": "string" +}, +"recommendationState": { +"description": "Required. Recommendation state", +"enum": [ +"UNSPECIFIED", +"ACTIVE", +"CLAIMED", +"SUCCEEDED", +"FAILED", +"DISMISSED" +], +"enumDescriptions": [ +"", +"Recommendation is active and can be applied. ACTIVE recommendations can be marked as CLAIMED, SUCCEEDED, or FAILED.", +"Recommendation is in claimed state. Recommendations content is immutable and cannot be updated by Google. CLAIMED recommendations can be marked as CLAIMED, SUCCEEDED, or FAILED.", +"Recommendation is in succeeded state. Recommendations content is immutable and cannot be updated by Google. SUCCEEDED recommendations can be marked as SUCCEEDED, or FAILED.", +"Recommendation is in failed state. Recommendations content is immutable and cannot be updated by Google. FAILED recommendations can be marked as SUCCEEDED, or FAILED.", +"Recommendation is in dismissed state. Recommendation content can be updated by Google. DISMISSED recommendations can be marked as ACTIVE." +], +"type": "string" +}, +"recommender": { +"description": "Required. Name of recommendation. Examples: organizations/1234/locations/us-central1/recommenders/google.cloudsql.instance.PerformanceRecommender/recommendations/9876", +"type": "string" +}, +"recommenderId": { +"description": "Required. ID of recommender. Examples: \"google.cloudsql.instance.PerformanceRecommender\"", +"type": "string" +}, +"recommenderSubtype": { +"description": "Required. Contains an identifier for a subtype of recommendations produced for the same recommender. Subtype is a function of content and impact, meaning a new subtype might be added when significant changes to `content` or `primary_impact.category` are introduced. See the Recommenders section to see a list of subtypes for a given Recommender. Examples: For recommender = \"google.cloudsql.instance.PerformanceRecommender\", recommender_subtype can be \"MYSQL_HIGH_NUMBER_OF_OPEN_TABLES_BEST_PRACTICE\"/\"POSTGRES_HIGH_TRANSACTION_ID_UTILIZATION_BEST_PRACTICE\"", +"type": "string" +}, +"resourceName": { +"description": "Required. Database resource name associated with the signal. Resource name to follow CAIS resource_name format as noted here go/condor-common-datamodel", +"type": "string" +}, +"signalType": { +"description": "Required. Type of signal, for example, `SIGNAL_TYPE_IDLE`, `SIGNAL_TYPE_HIGH_NUMBER_OF_TABLES`, etc.", +"enum": [ +"SIGNAL_TYPE_UNSPECIFIED", +"SIGNAL_TYPE_NOT_PROTECTED_BY_AUTOMATIC_FAILOVER", +"SIGNAL_TYPE_GROUP_NOT_REPLICATING_ACROSS_REGIONS", +"SIGNAL_TYPE_NOT_AVAILABLE_IN_MULTIPLE_ZONES", +"SIGNAL_TYPE_NOT_AVAILABLE_IN_MULTIPLE_REGIONS", +"SIGNAL_TYPE_NO_PROMOTABLE_REPLICA", +"SIGNAL_TYPE_NO_AUTOMATED_BACKUP_POLICY", +"SIGNAL_TYPE_SHORT_BACKUP_RETENTION", +"SIGNAL_TYPE_LAST_BACKUP_FAILED", +"SIGNAL_TYPE_LAST_BACKUP_OLD", +"SIGNAL_TYPE_VIOLATES_CIS_GCP_FOUNDATION_2_0", +"SIGNAL_TYPE_VIOLATES_CIS_GCP_FOUNDATION_1_3", +"SIGNAL_TYPE_VIOLATES_CIS_GCP_FOUNDATION_1_2", +"SIGNAL_TYPE_VIOLATES_CIS_GCP_FOUNDATION_1_1", +"SIGNAL_TYPE_VIOLATES_CIS_GCP_FOUNDATION_1_0", +"SIGNAL_TYPE_VIOLATES_CIS_CONTROLS_V8_0", +"SIGNAL_TYPE_VIOLATES_NIST_800_53", +"SIGNAL_TYPE_VIOLATES_NIST_800_53_R5", +"SIGNAL_TYPE_VIOLATES_NIST_CYBERSECURITY_FRAMEWORK_V1_0", +"SIGNAL_TYPE_VIOLATES_ISO_27001", +"SIGNAL_TYPE_VIOLATES_ISO_27001_V2022", +"SIGNAL_TYPE_VIOLATES_PCI_DSS_V3_2_1", +"SIGNAL_TYPE_VIOLATES_PCI_DSS_V4_0", +"SIGNAL_TYPE_VIOLATES_CLOUD_CONTROLS_MATRIX_V4", +"SIGNAL_TYPE_VIOLATES_HIPAA", +"SIGNAL_TYPE_VIOLATES_SOC2_V2017", +"SIGNAL_TYPE_LOGS_NOT_OPTIMIZED_FOR_TROUBLESHOOTING", +"SIGNAL_TYPE_QUERY_DURATIONS_NOT_LOGGED", +"SIGNAL_TYPE_VERBOSE_ERROR_LOGGING", +"SIGNAL_TYPE_QUERY_LOCK_WAITS_NOT_LOGGED", +"SIGNAL_TYPE_LOGGING_MOST_ERRORS", +"SIGNAL_TYPE_LOGGING_ONLY_CRITICAL_ERRORS", +"SIGNAL_TYPE_MINIMAL_ERROR_LOGGING", +"SIGNAL_TYPE_QUERY_STATISTICS_LOGGED", +"SIGNAL_TYPE_EXCESSIVE_LOGGING_OF_CLIENT_HOSTNAME", +"SIGNAL_TYPE_EXCESSIVE_LOGGING_OF_PARSER_STATISTICS", +"SIGNAL_TYPE_EXCESSIVE_LOGGING_OF_PLANNER_STATISTICS", +"SIGNAL_TYPE_NOT_LOGGING_ONLY_DDL_STATEMENTS", +"SIGNAL_TYPE_LOGGING_QUERY_STATISTICS", +"SIGNAL_TYPE_NOT_LOGGING_TEMPORARY_FILES", +"SIGNAL_TYPE_CONNECTION_MAX_NOT_CONFIGURED", +"SIGNAL_TYPE_USER_OPTIONS_CONFIGURED", +"SIGNAL_TYPE_EXPOSED_TO_PUBLIC_ACCESS", +"SIGNAL_TYPE_UNENCRYPTED_CONNECTIONS", +"SIGNAL_TYPE_NO_ROOT_PASSWORD", +"SIGNAL_TYPE_WEAK_ROOT_PASSWORD", +"SIGNAL_TYPE_ENCRYPTION_KEY_NOT_CUSTOMER_MANAGED", +"SIGNAL_TYPE_SERVER_AUTHENTICATION_NOT_REQUIRED", +"SIGNAL_TYPE_EXPOSED_BY_OWNERSHIP_CHAINING", +"SIGNAL_TYPE_EXPOSED_TO_EXTERNAL_SCRIPTS", +"SIGNAL_TYPE_EXPOSED_TO_LOCAL_DATA_LOADS", +"SIGNAL_TYPE_CONNECTION_ATTEMPTS_NOT_LOGGED", +"SIGNAL_TYPE_DISCONNECTIONS_NOT_LOGGED", +"SIGNAL_TYPE_LOGGING_EXCESSIVE_STATEMENT_INFO", +"SIGNAL_TYPE_EXPOSED_TO_REMOTE_ACCESS", +"SIGNAL_TYPE_DATABASE_NAMES_EXPOSED", +"SIGNAL_TYPE_SENSITIVE_TRACE_INFO_NOT_MASKED", +"SIGNAL_TYPE_PUBLIC_IP_ENABLED", +"SIGNAL_TYPE_IDLE", +"SIGNAL_TYPE_OVERPROVISIONED", +"SIGNAL_TYPE_HIGH_NUMBER_OF_OPEN_TABLES", +"SIGNAL_TYPE_HIGH_NUMBER_OF_TABLES", +"SIGNAL_TYPE_HIGH_TRANSACTION_ID_UTILIZATION", +"SIGNAL_TYPE_UNDERPROVISIONED", +"SIGNAL_TYPE_OUT_OF_DISK", +"SIGNAL_TYPE_SERVER_CERTIFICATE_NEAR_EXPIRY", +"SIGNAL_TYPE_DATABASE_AUDITING_DISABLED", +"SIGNAL_TYPE_RESTRICT_AUTHORIZED_NETWORKS", +"SIGNAL_TYPE_VIOLATE_POLICY_RESTRICT_PUBLIC_IP", +"SIGNAL_TYPE_QUOTA_LIMIT", +"SIGNAL_TYPE_NO_PASSWORD_POLICY", +"SIGNAL_TYPE_CONNECTIONS_PERFORMANCE_IMPACT", +"SIGNAL_TYPE_TMP_TABLES_PERFORMANCE_IMPACT", +"SIGNAL_TYPE_TRANS_LOGS_PERFORMANCE_IMPACT", +"SIGNAL_TYPE_HIGH_JOINS_WITHOUT_INDEXES", +"SIGNAL_TYPE_SUPERUSER_WRITING_TO_USER_TABLES", +"SIGNAL_TYPE_USER_GRANTED_ALL_PERMISSIONS", +"SIGNAL_TYPE_DATA_EXPORT_TO_EXTERNAL_CLOUD_STORAGE_BUCKET", +"SIGNAL_TYPE_DATA_EXPORT_TO_PUBLIC_CLOUD_STORAGE_BUCKET", +"SIGNAL_TYPE_WEAK_PASSWORD_HASH_ALGORITHM", +"SIGNAL_TYPE_NO_USER_PASSWORD_POLICY", +"SIGNAL_TYPE_HOT_NODE", +"SIGNAL_TYPE_NO_POINT_IN_TIME_RECOVERY", +"SIGNAL_TYPE_RESOURCE_SUSPENDED", +"SIGNAL_TYPE_EXPENSIVE_COMMANDS", +"SIGNAL_TYPE_NO_MAINTENANCE_POLICY_CONFIGURED", +"SIGNAL_TYPE_NO_DELETION_PROTECTION", +"SIGNAL_TYPE_INEFFICIENT_QUERY", +"SIGNAL_TYPE_READ_INTENSIVE_WORKLOAD", +"SIGNAL_TYPE_MEMORY_LIMIT", +"SIGNAL_TYPE_MAX_SERVER_MEMORY", +"SIGNAL_TYPE_LARGE_ROWS", +"SIGNAL_TYPE_HIGH_WRITE_PRESSURE", +"SIGNAL_TYPE_HIGH_READ_PRESSURE", +"SIGNAL_TYPE_ENCRYPTION_ORG_POLICY_NOT_SATISFIED", +"SIGNAL_TYPE_LOCATION_ORG_POLICY_NOT_SATISFIED", +"SIGNAL_TYPE_OUTDATED_MINOR_VERSION", +"SIGNAL_TYPE_SCHEMA_NOT_OPTIMIZED", +"SIGNAL_TYPE_MANY_IDLE_CONNECTIONS", +"SIGNAL_TYPE_REPLICATION_LAG", +"SIGNAL_TYPE_OUTDATED_VERSION", +"SIGNAL_TYPE_OUTDATED_CLIENT", +"SIGNAL_TYPE_DATABOOST_DISABLED", +"SIGNAL_TYPE_RECOMMENDED_MAINTENANCE_POLICIES", +"SIGNAL_TYPE_EXTENDED_SUPPORT", +"SIGNAL_TYPE_PERFORMANCE_KPI_CHANGE" +], +"enumDeprecated": [ +false, +false, +false, +true, +true, +true, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +true, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +true, +false, +false, +false, +false, +false, +false, +false +], +"enumDescriptions": [ +"Unspecified.", +"Represents if a resource is protected by automatic failover. Checks for resources that are configured to have redundancy within a region that enables automatic failover.", +"Represents if a group is replicating across regions. Checks for resources that are configured to have redundancy, and ongoing replication, across regions.", +"Represents if the resource is available in multiple zones or not.", +"Represents if a resource is available in multiple regions.", +"Represents if a resource has a promotable replica.", +"Represents if a resource has an automated backup policy.", +"Represents if a resources has a short backup retention period.", +"Represents if the last backup of a resource failed.", +"Represents if the last backup of a resource is older than some threshold value.", +"Represents if a resource violates CIS GCP Foundation 2.0.", +"Represents if a resource violates CIS GCP Foundation 1.3.", +"Represents if a resource violates CIS GCP Foundation 1.2.", +"Represents if a resource violates CIS GCP Foundation 1.1.", +"Represents if a resource violates CIS GCP Foundation 1.0.", +"Represents if a resource violates CIS Controls 8.0.", +"Represents if a resource violates NIST 800-53.", +"Represents if a resource violates NIST 800-53 R5.", +"Represents if a resource violates NIST Cybersecurity Framework 1.0.", +"Represents if a resource violates ISO-27001.", +"Represents if a resource violates ISO 27001 2022.", +"Represents if a resource violates PCI-DSS v3.2.1.", +"Represents if a resource violates PCI-DSS v4.0.", +"Represents if a resource violates Cloud Controls Matrix v4.0.", +"Represents if a resource violates HIPAA.", +"Represents if a resource violates SOC2 v2017.", +"Represents if log_checkpoints database flag for a Cloud SQL for PostgreSQL instance is not set to on.", +"Represents if the log_duration database flag for a Cloud SQL for PostgreSQL instance is not set to on.", +"Represents if the log_error_verbosity database flag for a Cloud SQL for PostgreSQL instance is not set to default or stricter (default or terse).", +"Represents if the log_lock_waits database flag for a Cloud SQL for PostgreSQL instance is not set to on.", +"Represents if the log_min_error_statement database flag for a Cloud SQL for PostgreSQL instance is not set appropriately.", +"Represents if the log_min_error_statement database flag for a Cloud SQL for PostgreSQL instance does not have an appropriate severity level.", +"Represents if the log_min_messages database flag for a Cloud SQL for PostgreSQL instance is not set to warning or another recommended value.", +"Represents if the databaseFlags property of instance metadata for the log_executor_status field is set to on.", +"Represents if the log_hostname database flag for a Cloud SQL for PostgreSQL instance is not set to off.", +"Represents if the log_parser_stats database flag for a Cloud SQL for PostgreSQL instance is not set to off.", +"Represents if the log_planner_stats database flag for a Cloud SQL for PostgreSQL instance is not set to off.", +"Represents if the log_statement database flag for a Cloud SQL for PostgreSQL instance is not set to DDL (all data definition statements).", +"Represents if the log_statement_stats database flag for a Cloud SQL for PostgreSQL instance is not set to off.", +"Represents if the log_temp_files database flag for a Cloud SQL for PostgreSQL instance is not set to \"0\". (NOTE: 0 = ON)", +"Represents if the user connections database flag for a Cloud SQL for SQL Server instance is configured.", +"Represents if the user options database flag for Cloud SQL SQL Server instance is configured or not.", +"Represents if a resource is exposed to public access.", +"Represents if a resources requires all incoming connections to use SSL or not.", +"Represents if a Cloud SQL database has a password configured for the root account or not.", +"Represents if a Cloud SQL database has a weak password configured for the root account.", +"Represents if a SQL database instance is not encrypted with customer-managed encryption keys (CMEK).", +"Represents if The contained database authentication database flag for a Cloud SQL for SQL Server instance is not set to off.", +"Represents if the cross_db_ownership_chaining database flag for a Cloud SQL for SQL Server instance is not set to off.", +"Represents if he external scripts enabled database flag for a Cloud SQL for SQL Server instance is not set to off.", +"Represents if the local_infile database flag for a Cloud SQL for MySQL instance is not set to off.", +"Represents if the log_connections database flag for a Cloud SQL for PostgreSQL instance is not set to on.", +"Represents if the log_disconnections database flag for a Cloud SQL for PostgreSQL instance is not set to on.", +"Represents if the log_min_duration_statement database flag for a Cloud SQL for PostgreSQL instance is not set to -1.", +"Represents if the remote access database flag for a Cloud SQL for SQL Server instance is not set to off.", +"Represents if the skip_show_database database flag for a Cloud SQL for MySQL instance is not set to on.", +"Represents if the 3625 (trace flag) database flag for a Cloud SQL for SQL Server instance is not set to on.", +"Represents if public IP is enabled.", +"Represents Idle instance helps to reduce costs.", +"Represents instances that are unnecessarily large for given workload.", +"Represents high number of concurrently opened tables.", +"Represents high table count close to SLA limit.", +"Represents high number of unvacuumed transactions", +"Represents need for more CPU and/or memory", +"Represents out of disk.", +"Represents server certificate is near expiry.", +"Represents database auditing is disabled.", +"Represents not restricted to authorized networks.", +"Represents violate org policy restrict public ip.", +"Cluster nearing quota limit", +"No password policy set on resources", +"Performance impact of connections settings", +"Performance impact of temporary tables settings", +"Performance impact of transaction logs settings", +"Performance impact of high joins without indexes", +"Detects events where a Cloud SQL superuser (postgres for PostgreSQL servers or root for MySQL users) writes to non-system tables.", +"Detects events where a database user or role has been granted all privileges to a database, or to all tables, procedures, or functions in a schema.", +"Detects if database instance data exported to a Cloud Storage bucket outside of the organization.", +"Detects if database instance data exported to a Cloud Storage bucket that is owned by the organization and is publicly accessible.", +"Detects if a database instance is using a weak password hash algorithm.", +"Detects if a database instance has no user password policy set.", +"Detects if a database instance/cluster has a hot node.", +"Detects if a database instance has no point in time recovery enabled.", +"Detects if a database instance/cluster is suspended.", +"Detects that expensive commands are being run on a database instance impacting overall performance.", +"Indicates that the instance does not have a maintenance policy configured.", +"Deletion Protection Disabled for the resource", +"Indicates that the instance has inefficient queries detected.", +"Indicates that the instance has read intensive workload.", +"Indicates that the instance is nearing memory limit.", +"Indicates that the instance's max server memory is configured higher than the recommended value.", +"Indicates that the database has large rows beyond the recommended limit.", +"Heavy write pressure on the database rows.", +"Heavy read pressure on the database rows.", +"Encryption org policy not satisfied.", +"Location org policy not satisfied.", +"Outdated DB minor version.", +"Schema not optimized.", +"High number of idle connections.", +"Replication delay.", +"Outdated version.", +"Outdated client.", +"Databoost is disabled.", +"Recommended maintenance policy.", +"Resource version is in extended support.", +"Change in performance KPIs." +], +"type": "string" +} +}, +"type": "object" +}, +"StorageDatabasecenterPartnerapiV1mainDatabaseResourceSignalData": { +"description": "Database resource signal data. This is used to send signals to Condor which are based on the DB/Instance/Fleet level configurations. These will be used to send signals for all inventory types. Next ID: 7", +"id": "StorageDatabasecenterPartnerapiV1mainDatabaseResourceSignalData", +"properties": { +"fullResourceName": { +"description": "Required. Full Resource name of the source resource.", +"type": "string" +}, +"lastRefreshTime": { +"description": "Required. Last time signal was refreshed", +"format": "google-datetime", +"type": "string" +}, +"resourceId": { +"$ref": "StorageDatabasecenterPartnerapiV1mainDatabaseResourceId", +"description": "Database resource id." +}, +"signalBoolValue": { +"description": "Signal data for boolean signals.", +"type": "boolean" +}, +"signalState": { +"description": "Required. Output only. Signal state of the signal", +"enum": [ +"SIGNAL_STATE_UNSPECIFIED", +"ACTIVE", +"INACTIVE", +"DISMISSED" +], +"enumDescriptions": [ +"Unspecified signal state.", +"Signal is active and requires attention.", +"Signal is inactive and does not require attention.", +"Signal is dismissed by the user and should not be shown to the user again." +], +"readOnly": true, +"type": "string" +}, +"signalType": { +"description": "Required. Signal type of the signal", +"enum": [ +"SIGNAL_TYPE_UNSPECIFIED", +"SIGNAL_TYPE_OUTDATED_MINOR_VERSION", +"SIGNAL_TYPE_DATABASE_AUDITING_DISABLED", +"SIGNAL_TYPE_NO_ROOT_PASSWORD", +"SIGNAL_TYPE_EXPOSED_TO_PUBLIC_ACCESS", +"SIGNAL_TYPE_UNENCRYPTED_CONNECTIONS", +"SIGNAL_TYPE_EXTENDED_SUPPORT", +"SIGNAL_TYPE_NO_AUTOMATED_BACKUP_POLICY" +], +"enumDescriptions": [ +"Unspecified signal type.", +"Outdated Minor Version", +"Represents database auditing is disabled.", +"Represents if a database has a password configured for the root account or not.", +"Represents if a resource is exposed to public access.", +"Represents if a resources requires all incoming connections to use SSL or not.", +"Represents if a resource version is in extended support.", +"Represents if a resource has no automated backup policy." +], +"type": "string" +} +}, +"type": "object" +}, +"StorageDatabasecenterPartnerapiV1mainEntitlement": { +"description": "Proto representing the access that a user has to a specific feature/service. NextId: 3.", +"id": "StorageDatabasecenterPartnerapiV1mainEntitlement", +"properties": { +"entitlementState": { +"description": "The current state of user's accessibility to a feature/benefit.", +"enum": [ +"ENTITLEMENT_STATE_UNSPECIFIED", +"ENTITLED", +"REVOKED" +], +"enumDescriptions": [ +"", +"User is entitled to a feature/benefit, but whether it has been successfully provisioned is decided by provisioning state.", +"User is entitled to a feature/benefit, but it was requested to be revoked. Whether the revoke has been successful is decided by provisioning state." +], +"type": "string" +}, +"type": { +"description": "An enum that represents the type of this entitlement.", +"enum": [ +"ENTITLEMENT_TYPE_UNSPECIFIED", +"GEMINI", +"NATIVE", +"GCA_STANDARD" +], +"enumDeprecated": [ +false, +true, +false, +false +], +"enumDescriptions": [ +"The entitlement type is unspecified.", +"The root entitlement representing Gemini package ownership.This will no longer be supported in the future.", +"The entitlement representing Native Tier, This will be the default Entitlement going forward with GCA Enablement.", +"The entitlement representing GCA-Standard Tier." +], +"type": "string" +} +}, +"type": "object" +}, +"StorageDatabasecenterPartnerapiV1mainGCBDRConfiguration": { +"description": "GCBDR Configuration for the resource.", +"id": "StorageDatabasecenterPartnerapiV1mainGCBDRConfiguration", +"properties": { +"gcbdrManaged": { +"description": "Whether the resource is managed by GCBDR.", +"type": "boolean" +} +}, +"type": "object" +}, +"StorageDatabasecenterPartnerapiV1mainInternalResourceMetadata": { +"description": "Metadata for individual internal resources in an instance. e.g. spanner instance can have multiple databases with unique configuration settings. Similarly bigtable can have multiple clusters within same bigtable instance.", +"id": "StorageDatabasecenterPartnerapiV1mainInternalResourceMetadata", +"properties": { +"backupConfiguration": { +"$ref": "StorageDatabasecenterPartnerapiV1mainBackupConfiguration", +"description": "Backup configuration for this database" +}, +"backupRun": { +"$ref": "StorageDatabasecenterPartnerapiV1mainBackupRun", +"description": "Information about the last backup attempt for this database" +}, +"isDeletionProtectionEnabled": { +"description": "Whether deletion protection is enabled for this internal resource.", +"type": "boolean" +}, +"product": { +"$ref": "StorageDatabasecenterProtoCommonProduct" +}, +"resourceId": { +"$ref": "StorageDatabasecenterPartnerapiV1mainDatabaseResourceId" +}, +"resourceName": { +"description": "Required. internal resource name for spanner this will be database name e.g.\"spanner.googleapis.com/projects/123/abc/instances/inst1/databases/db1\"", +"type": "string" +} +}, +"type": "object" +}, +"StorageDatabasecenterPartnerapiV1mainMachineConfiguration": { +"description": "MachineConfiguration describes the configuration of a machine specific to Database Resource.", +"id": "StorageDatabasecenterPartnerapiV1mainMachineConfiguration", +"properties": { +"baselineSlots": { +"description": "Optional. Baseline slots for BigQuery Reservations. Baseline slots are in increments of 50.", +"format": "int64", +"type": "string" +}, +"cpuCount": { +"deprecated": true, +"description": "The number of CPUs. Deprecated. Use vcpu_count instead. TODO(b/342344482) add proto validations again after bug fix.", +"format": "int32", +"type": "integer" +}, +"maxReservationSlots": { +"description": "Optional. Max slots for BigQuery Reservations. Max slots are in increments of 50.", +"format": "int64", +"type": "string" +}, +"memorySizeInBytes": { +"description": "Memory size in bytes. TODO(b/342344482) add proto validations again after bug fix.", +"format": "int64", +"type": "string" +}, +"shardCount": { +"description": "Optional. Number of shards (if applicable).", +"format": "int32", +"type": "integer" +}, +"vcpuCount": { +"description": "Optional. The number of vCPUs. TODO(b/342344482) add proto validations again after bug fix.", +"format": "double", +"type": "number" +} +}, +"type": "object" +}, +"StorageDatabasecenterPartnerapiV1mainObservabilityMetricData": { +"id": "StorageDatabasecenterPartnerapiV1mainObservabilityMetricData", +"properties": { +"aggregationType": { +"description": "Required. Type of aggregation performed on the metric.", +"enum": [ +"AGGREGATION_TYPE_UNSPECIFIED", +"PEAK", +"P99", +"P95", +"CURRENT" +], +"enumDescriptions": [ +"Unspecified aggregation type.", +"PEAK aggregation type.", +"P99 aggregation type.", +"P95 aggregation type.", +"current aggregation type." +], +"type": "string" +}, +"metricType": { +"description": "Required. Type of metric like CPU, Memory, etc.", +"enum": [ +"METRIC_TYPE_UNSPECIFIED", +"CPU_UTILIZATION", +"MEMORY_UTILIZATION", +"NETWORK_CONNECTIONS", +"STORAGE_UTILIZATION", +"STORAGE_USED_BYTES", +"NODE_COUNT", +"MEMORY_USED_BYTES", +"PROCESSING_UNIT_COUNT" +], +"enumDescriptions": [ +"Unspecified metric type.", +"CPU utilization for a resource. The value is a fraction between 0.0 and 1.0 (may momentarily exceed 1.0 in some cases).", +"Memory utilization for a resource. The value is a fraction between 0.0 and 1.0 (may momentarily exceed 1.0 in some cases).", +"Number of network connections for a resource.", +"Storage utilization for a resource. The value is a fraction between 0.0 and 1.0 (may momentarily exceed 1.0 in some cases).", +"Sotrage used by a resource.", +"Node count for a resource. It represents the number of node units in a bigtable/spanner instance.", +"Memory used by a resource (in bytes).", +"Processing units used by a resource. It represents the number of processing units in a spanner instance." +], +"type": "string" +}, +"observationTime": { +"description": "Required. The time the metric value was observed.", +"format": "google-datetime", +"type": "string" +}, +"resourceName": { +"description": "Required. Database resource name associated with the signal. Resource name to follow CAIS resource_name format as noted here go/condor-common-datamodel", +"type": "string" +}, +"value": { +"$ref": "StorageDatabasecenterProtoCommonTypedValue", +"description": "Required. Value of the metric type." +} +}, +"type": "object" +}, +"StorageDatabasecenterPartnerapiV1mainOperationError": { +"description": "An error that occurred during a backup creation operation.", +"id": "StorageDatabasecenterPartnerapiV1mainOperationError", +"properties": { +"code": { +"description": "Identifies the specific error that occurred. REQUIRED", +"type": "string" +}, +"errorType": { +"enum": [ +"OPERATION_ERROR_TYPE_UNSPECIFIED", +"KMS_KEY_ERROR", +"DATABASE_ERROR", +"STOCKOUT_ERROR", +"CANCELLATION_ERROR", +"SQLSERVER_ERROR", +"INTERNAL_ERROR" +], +"enumDescriptions": [ +"UNSPECIFIED means product type is not known or available.", +"key destroyed, expired, not found, unreachable or permission denied.", +"Database is not accessible", +"The zone or region does not have sufficient resources to handle the request at the moment", +"User initiated cancellation", +"SQL server specific error", +"Any other internal error." +], +"type": "string" +}, +"message": { +"description": "Additional information about the error encountered. REQUIRED", +"type": "string" +} +}, +"type": "object" +}, +"StorageDatabasecenterPartnerapiV1mainResourceFlags": { +"description": "Message type for storing resource flags.", +"id": "StorageDatabasecenterPartnerapiV1mainResourceFlags", +"properties": { +"key": { +"description": "Optional. Key of the resource flag.", +"type": "string" +}, +"value": { +"description": "Optional. Value of the resource flag.", +"type": "string" +} +}, +"type": "object" +}, +"StorageDatabasecenterPartnerapiV1mainResourceMaintenanceDenySchedule": { +"description": "Deny maintenance period for the database resource. It specifies the time range during which the maintenance cannot start. This is configured by the customer.", +"id": "StorageDatabasecenterPartnerapiV1mainResourceMaintenanceDenySchedule", +"properties": { +"endDate": { +"$ref": "GoogleTypeDate", +"description": "Optional. Deny period end date." +}, +"startDate": { +"$ref": "GoogleTypeDate", +"description": "Optional. The start date of the deny maintenance period." +}, +"time": { +"$ref": "GoogleTypeTimeOfDay", +"description": "Optional. Time in UTC when the deny period starts on start_date and ends on end_date." +} +}, +"type": "object" +}, +"StorageDatabasecenterPartnerapiV1mainResourceMaintenanceInfo": { +"description": "MaintenanceInfo to capture the maintenance details of database resource.", +"id": "StorageDatabasecenterPartnerapiV1mainResourceMaintenanceInfo", +"properties": { +"currentVersionReleaseDate": { +"$ref": "GoogleTypeDate", +"description": "Optional. The date when the current maintenance version was released." +}, +"denyMaintenanceSchedules": { +"description": "Optional. List of Deny maintenance period for the database resource.", +"items": { +"$ref": "StorageDatabasecenterPartnerapiV1mainResourceMaintenanceDenySchedule" +}, +"type": "array" +}, +"isInstanceStopped": { +"description": "Optional. Whether the instance is in stopped state. This information is temporarily being captured in maintenanceInfo, till STOPPED state is supported by DB Center.", +"type": "boolean" +}, +"maintenanceSchedule": { +"$ref": "StorageDatabasecenterPartnerapiV1mainResourceMaintenanceSchedule", +"description": "Optional. Maintenance window for the database resource." +}, +"maintenanceState": { +"description": "Output only. Current state of maintenance on the database resource.", +"enum": [ +"MAINTENANCE_STATE_UNSPECIFIED", +"CREATING", +"READY", +"UPDATING", +"REPAIRING", +"DELETING", +"ERROR" +], +"enumDescriptions": [ +"Unspecified state.", +"Database resource is being created.", +"Database resource has been created and is ready to use.", +"Database resource is being updated.", +"Database resource is unheathy and under repair.", +"Database resource is being deleted.", +"Database resource encountered an error and is in indeterministic state." +], +"readOnly": true, +"type": "string" +}, +"maintenanceVersion": { +"description": "Optional. Current Maintenance version of the database resource. Example: \"MYSQL_8_0_41.R20250531.01_15\"", +"type": "string" +}, +"upcomingMaintenance": { +"$ref": "StorageDatabasecenterPartnerapiV1mainUpcomingMaintenance", +"description": "Optional. Upcoming maintenance for the database resource. This field is populated once SLM generates and publishes upcoming maintenance window." +} +}, +"type": "object" +}, +"StorageDatabasecenterPartnerapiV1mainResourceMaintenanceSchedule": { +"description": "Maintenance window for the database resource. It specifies preferred time and day of the week and phase in some cases, when the maintenance can start. This is configured by the customer.", +"id": "StorageDatabasecenterPartnerapiV1mainResourceMaintenanceSchedule", +"properties": { +"day": { +"description": "Optional. Preferred day of the week for maintenance, e.g. MONDAY, TUESDAY, etc.", +"enum": [ +"DAY_OF_WEEK_UNSPECIFIED", +"MONDAY", +"TUESDAY", +"WEDNESDAY", +"THURSDAY", +"FRIDAY", +"SATURDAY", +"SUNDAY" +], +"enumDescriptions": [ +"The day of the week is unspecified.", +"Monday", +"Tuesday", +"Wednesday", +"Thursday", +"Friday", +"Saturday", +"Sunday" +], +"type": "string" +}, +"phase": { +"description": "Optional. Phase of the maintenance window. This is to capture order of maintenance. For example, for Cloud SQL resources, this can be used to capture if the maintenance window is in Week1, Week2, Week5, etc. Non production resources are usually part of early phase. For more details, refer to Cloud SQL resources - https://cloud.google.com/sql/docs/mysql/maintenance", +"enum": [ +"PHASE_UNSPECIFIED", +"ANY", +"WEEK1", +"WEEK2", +"WEEK5" +], +"enumDescriptions": [ +"Phase is unspecified.", +"Any phase.", +"Week 1.", +"Week 2.", +"Week 5." +], +"type": "string" +}, +"time": { +"$ref": "GoogleTypeTimeOfDay", +"description": "Optional. Preferred time to start the maintenance operation on the specified day." +} +}, +"type": "object" +}, +"StorageDatabasecenterPartnerapiV1mainRetentionSettings": { +"id": "StorageDatabasecenterPartnerapiV1mainRetentionSettings", +"properties": { +"durationBasedRetention": { +"description": "Duration based retention period i.e. 172800 seconds (2 days)", +"format": "google-duration", +"type": "string" +}, +"quantityBasedRetention": { +"format": "int32", +"type": "integer" +}, +"retentionUnit": { +"deprecated": true, +"description": "The unit that 'retained_backups' represents.", +"enum": [ +"RETENTION_UNIT_UNSPECIFIED", +"COUNT", +"TIME", +"DURATION", +"RETENTION_UNIT_OTHER" +], +"enumDescriptions": [ +"Backup retention unit is unspecified, will be treated as COUNT.", +"Retention will be by count, eg. \"retain the most recent 7 backups\".", +"Retention will be by Time, eg. \"retain backups till a specific time\" i.e. till 2024-05-01T00:00:00Z.", +"Retention will be by duration, eg. \"retain the backups for 172800 seconds (2 days)\".", +"For rest of the other category" +], +"type": "string" +}, +"timeBasedRetention": { +"deprecated": true, +"format": "google-duration", +"type": "string" +}, +"timestampBasedRetentionTime": { +"description": "Timestamp based retention period i.e. 2024-05-01T00:00:00Z", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"StorageDatabasecenterPartnerapiV1mainTags": { +"description": "Message type for storing tags. Tags provide a way to create annotations for resources, and in some cases conditionally allow or deny policies based on whether a resource has a specific tag.", +"id": "StorageDatabasecenterPartnerapiV1mainTags", +"properties": { +"tags": { +"additionalProperties": { +"type": "string" +}, +"description": "The Tag key/value mappings.", +"type": "object" +} +}, +"type": "object" +}, +"StorageDatabasecenterPartnerapiV1mainUpcomingMaintenance": { +"description": "Upcoming maintenance for the database resource. This is generated by SLM once the upcoming maintenance schedule is published.", +"id": "StorageDatabasecenterPartnerapiV1mainUpcomingMaintenance", +"properties": { +"endTime": { +"description": "Optional. The end time of the upcoming maintenance.", +"format": "google-datetime", +"type": "string" +}, +"startTime": { +"description": "Optional. The start time of the upcoming maintenance.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"StorageDatabasecenterPartnerapiV1mainUserLabels": { +"description": "Message type for storing user labels. User labels are used to tag App Engine resources, allowing users to search for resources matching a set of labels and to aggregate usage data by labels.", +"id": "StorageDatabasecenterPartnerapiV1mainUserLabels", +"properties": { +"labels": { +"additionalProperties": { +"type": "string" +}, +"type": "object" +} +}, +"type": "object" +}, +"StorageDatabasecenterProtoCommonProduct": { +"description": "Product specification for Condor resources.", +"id": "StorageDatabasecenterProtoCommonProduct", +"properties": { +"engine": { +"description": "The specific engine that the underlying database is running.", +"enum": [ +"ENGINE_UNSPECIFIED", +"ENGINE_MYSQL", +"MYSQL", +"ENGINE_POSTGRES", +"POSTGRES", +"ENGINE_SQL_SERVER", +"SQL_SERVER", +"ENGINE_NATIVE", +"NATIVE", +"ENGINE_CLOUD_SPANNER_WITH_POSTGRES_DIALECT", +"ENGINE_CLOUD_SPANNER_WITH_GOOGLESQL_DIALECT", +"ENGINE_MEMORYSTORE_FOR_REDIS", +"ENGINE_MEMORYSTORE_FOR_REDIS_CLUSTER", +"ENGINE_OTHER", +"ENGINE_FIRESTORE_WITH_NATIVE_MODE", +"ENGINE_FIRESTORE_WITH_DATASTORE_MODE", +"ENGINE_FIRESTORE_WITH_MONGODB_COMPATIBILITY_MODE", +"ENGINE_EXADATA_ORACLE", +"ENGINE_ADB_SERVERLESS_ORACLE" +], +"enumDeprecated": [ +false, +false, +true, +false, +true, +false, +true, +false, +true, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false +], +"enumDescriptions": [ +"UNSPECIFIED means engine type is not known or available.", +"MySQL binary running as an engine in the database instance.", +"MySQL binary running as engine in database instance.", +"Postgres binary running as engine in database instance.", +"Postgres binary running as engine in database instance.", +"SQLServer binary running as engine in database instance.", +"SQLServer binary running as engine in database instance.", +"Native database binary running as engine in instance.", +"Native database binary running as engine in instance.", +"Cloud Spanner with PostgreSQL dialect.", +"Cloud Spanner with Google SQL dialect.", +"Memorystore with Redis dialect.", +"Memorystore with Redis cluster dialect.", +"Other refers to rest of other database engine. This is to be when engine is known, but it is not present in this enum.", +"Firestore with native mode.", +"Firestore with datastore mode.", +"Firestore with MongoDB compatibility mode.", +"Oracle Exadata engine.", +"Oracle Autonomous DB Serverless engine." +], +"type": "string" +}, +"minorVersion": { +"description": "Minor version of the underlying database engine. Example values: For MySQL, it could be \"8.0.32\", \"5.7.32\" etc.. For Postgres, it could be \"14.3\", \"15.3\" etc..", +"type": "string" +}, +"type": { +"description": "Type of specific database product. It could be CloudSQL, AlloyDB etc..", +"enum": [ +"PRODUCT_TYPE_UNSPECIFIED", +"PRODUCT_TYPE_CLOUD_SQL", +"CLOUD_SQL", +"PRODUCT_TYPE_ALLOYDB", +"ALLOYDB", +"PRODUCT_TYPE_SPANNER", +"PRODUCT_TYPE_ON_PREM", +"ON_PREM", +"PRODUCT_TYPE_MEMORYSTORE", +"PRODUCT_TYPE_BIGTABLE", +"PRODUCT_TYPE_FIRESTORE", +"PRODUCT_TYPE_COMPUTE_ENGINE", +"PRODUCT_TYPE_ORACLE_ON_GCP", +"PRODUCT_TYPE_BIGQUERY", +"PRODUCT_TYPE_OTHER" +], +"enumDeprecated": [ +false, +false, +true, +false, +true, +false, +false, +true, +false, +false, +false, +false, +false, +false, +false +], +"enumDescriptions": [ +"UNSPECIFIED means product type is not known or available.", +"Cloud SQL product area in GCP", +"Cloud SQL product area in GCP", +"AlloyDB product area in GCP", +"AlloyDB product area in GCP", +"Spanner product area in GCP", +"On premises database product.", +"On premises database product.", +"Memorystore product area in GCP", +"Bigtable product area in GCP", +"Firestore product area in GCP.", +"Compute Engine self managed databases", +"Oracle product area in GCP", +"BigQuery product area in GCP", +"Other refers to rest of other product type. This is to be when product type is known, but it is not present in this enum." +], +"type": "string" +}, +"version": { +"description": "Version of the underlying database engine. Example values: For MySQL, it could be \"8.0\", \"5.7\" etc.. For Postgres, it could be \"14\", \"15\" etc..", +"type": "string" +} +}, +"type": "object" +}, +"StorageDatabasecenterProtoCommonTypedValue": { +"description": "TypedValue represents the value of a metric type. It can either be a double, an int64, a string or a bool.", +"id": "StorageDatabasecenterProtoCommonTypedValue", +"properties": { +"boolValue": { +"description": "For boolean value", +"type": "boolean" +}, +"doubleValue": { +"description": "For double value", +"format": "double", +"type": "number" +}, +"int64Value": { +"description": "For integer value", +"format": "int64", +"type": "string" +}, +"stringValue": { +"description": "For string value", +"type": "string" +} +}, +"type": "object" +}, +"StringRestrictions": { +"description": "Restrictions on STRING type values", +"id": "StringRestrictions", +"properties": { +"allowedValues": { +"description": "The list of allowed values, if bounded. This field will be empty if there is a unbounded number of allowed values.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"SupportedDatabaseFlag": { +"description": "SupportedDatabaseFlag gives general information about a database flag, like type and allowed values. This is a static value that is defined on the server side, and it cannot be modified by callers. To set the Database flags on a particular Instance, a caller should modify the Instance.database_flags field.", +"id": "SupportedDatabaseFlag", +"properties": { +"acceptsMultipleValues": { +"description": "Whether the database flag accepts multiple values. If true, a comma-separated list of stringified values may be specified.", +"type": "boolean" +}, +"flagName": { +"description": "The name of the database flag, e.g. \"max_allowed_packets\". The is a possibly key for the Instance.database_flags map field.", +"type": "string" +}, +"integerRestrictions": { +"$ref": "IntegerRestrictions", +"description": "Restriction on INTEGER type value." +}, +"name": { +"description": "The name of the flag resource, following Google Cloud conventions, e.g.: * projects/{project}/locations/{location}/flags/{flag} This field currently has no semantic meaning.", +"type": "string" +}, +"recommendedIntegerValue": { +"description": "The recommended value for an INTEGER flag.", +"format": "int64", +"type": "string" +}, +"recommendedStringValue": { +"description": "The recommended value for a STRING flag.", +"type": "string" +}, +"requiresDbRestart": { +"description": "Whether setting or updating this flag on an Instance requires a database restart. If a flag that requires database restart is set, the backend will automatically restart the database (making sure to satisfy any availability SLO's).", +"type": "boolean" +}, +"scope": { +"description": "The scope of the flag.", +"enum": [ +"SCOPE_UNSPECIFIED", +"DATABASE", +"CONNECTION_POOL" +], +"enumDescriptions": [ +"The scope of the flag is not specified. Default is DATABASE.", +"The flag is a database flag.", +"The flag is a connection pool flag." +], +"type": "string" +}, +"stringRestrictions": { +"$ref": "StringRestrictions", +"description": "Restriction on STRING type value." +}, +"supportedDbVersions": { +"description": "Major database engine versions for which this flag is supported.", +"items": { +"enum": [ +"DATABASE_VERSION_UNSPECIFIED", +"POSTGRES_13", +"POSTGRES_14", +"POSTGRES_15", +"POSTGRES_16", +"POSTGRES_17", +"POSTGRES_18" +], +"enumDeprecated": [ +false, +true, +false, +false, +false, +false, +false +], +"enumDescriptions": [ +"This is an unknown database version.", +"DEPRECATED - The database version is Postgres 13.", +"The database version is Postgres 14.", +"The database version is Postgres 15.", +"The database version is Postgres 16.", +"The database version is Postgres 17.", +"The database version is Postgres 18." +], +"type": "string" +}, +"type": "array" +}, +"valueType": { +"enum": [ +"VALUE_TYPE_UNSPECIFIED", +"STRING", +"INTEGER", +"FLOAT", +"NONE" +], +"enumDescriptions": [ +"This is an unknown flag type.", +"String type flag.", +"Integer type flag.", +"Float type flag.", +"Denotes that the flag does not accept any values." +], +"type": "string" +} +}, +"type": "object" +}, +"SwitchoverClusterRequest": { +"description": "Message for switching over to a cluster", +"id": "SwitchoverClusterRequest", +"properties": { +"requestId": { +"description": "Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server ignores the request if it has already been completed. The server guarantees that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if the original operation with the same request ID was received, and if so, ignores the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", +"type": "string" +}, +"validateOnly": { +"description": "Optional. If set, performs request validation, for example, permission checks and any other type of validation, but does not actually execute the create request.", +"type": "boolean" +} +}, +"type": "object" +}, +"TimeBasedRetention": { +"description": "A time based retention policy specifies that all backups within a certain time period should be retained.", +"id": "TimeBasedRetention", +"properties": { +"retentionPeriod": { +"description": "The retention period.", +"format": "google-duration", +"type": "string" +} +}, +"type": "object" +}, +"TrialMetadata": { +"description": "Contains information and all metadata related to TRIAL clusters.", +"id": "TrialMetadata", +"properties": { +"endTime": { +"description": "End time of the trial cluster.", +"format": "google-datetime", +"type": "string" +}, +"graceEndTime": { +"description": "grace end time of the cluster.", +"format": "google-datetime", +"type": "string" +}, +"startTime": { +"description": "start time of the trial cluster.", +"format": "google-datetime", +"type": "string" +}, +"upgradeTime": { +"description": "Upgrade time of trial cluster to Standard cluster.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"UpdatePolicy": { +"description": "Policy to be used while updating the instance.", +"id": "UpdatePolicy", +"properties": { +"mode": { +"description": "Mode for updating the instance.", +"enum": [ +"MODE_UNSPECIFIED", +"DEFAULT", +"FORCE_APPLY" +], +"enumDescriptions": [ +"Mode is unknown.", +"Least disruptive way to apply the update.", +"Performs a forced update when applicable. This will be fast but may incur a downtime." +], +"type": "string" +} +}, +"type": "object" +}, +"UpgradeClusterRequest": { +"description": "Upgrades a cluster.", +"id": "UpgradeClusterRequest", +"properties": { +"etag": { +"description": "Optional. The current etag of the Cluster. If an etag is provided and does not match the current etag of the Cluster, upgrade will be blocked and an ABORTED error will be returned.", +"type": "string" +}, +"requestId": { +"description": "Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server ignores the request if it has already been completed. The server guarantees that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if the original operation with the same request ID was received, and if so, ignores the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", +"type": "string" +}, +"validateOnly": { +"description": "Optional. If set, performs request validation, for example, permission checks and any other type of validation, but does not actually execute the create request.", +"type": "boolean" +}, +"version": { +"description": "Required. The version the cluster is going to be upgraded to.", +"enum": [ +"DATABASE_VERSION_UNSPECIFIED", +"POSTGRES_13", +"POSTGRES_14", +"POSTGRES_15", +"POSTGRES_16", +"POSTGRES_17", +"POSTGRES_18" +], +"enumDeprecated": [ +false, +true, +false, +false, +false, +false, +false +], +"enumDescriptions": [ +"This is an unknown database version.", +"DEPRECATED - The database version is Postgres 13.", +"The database version is Postgres 14.", +"The database version is Postgres 15.", +"The database version is Postgres 16.", +"The database version is Postgres 17.", +"The database version is Postgres 18." +], +"type": "string" +} +}, +"type": "object" +}, +"UpgradeClusterResponse": { +"description": "UpgradeClusterResponse contains the response for upgrade cluster operation.", +"id": "UpgradeClusterResponse", +"properties": { +"clusterUpgradeDetails": { +"description": "Array of upgrade details for the current cluster and all the secondary clusters associated with this cluster.", +"items": { +"$ref": "ClusterUpgradeDetails" +}, +"type": "array" +}, +"message": { +"description": "A user friendly message summarising the upgrade operation details and the next steps for the user if there is any.", +"type": "string" +}, +"status": { +"description": "Status of upgrade operation.", +"enum": [ +"STATUS_UNSPECIFIED", +"NOT_STARTED", +"IN_PROGRESS", +"SUCCESS", +"FAILED", +"PARTIAL_SUCCESS", +"CANCEL_IN_PROGRESS", +"CANCELLED" +], +"enumDescriptions": [ +"Unspecified status.", +"Not started.", +"In progress.", +"Operation succeeded.", +"Operation failed.", +"Operation partially succeeded.", +"Cancel is in progress.", +"Cancellation complete." +], +"type": "string" +} +}, +"type": "object" +}, +"UpgradeClusterStatus": { +"description": "Message for current status of the Major Version Upgrade operation.", +"id": "UpgradeClusterStatus", +"properties": { +"cancellable": { +"description": "Whether the operation is cancellable.", +"type": "boolean" +}, +"sourceVersion": { +"description": "Source database major version.", +"enum": [ +"DATABASE_VERSION_UNSPECIFIED", +"POSTGRES_13", +"POSTGRES_14", +"POSTGRES_15", +"POSTGRES_16", +"POSTGRES_17", +"POSTGRES_18" +], +"enumDeprecated": [ +false, +true, +false, +false, +false, +false, +false +], +"enumDescriptions": [ +"This is an unknown database version.", +"DEPRECATED - The database version is Postgres 13.", +"The database version is Postgres 14.", +"The database version is Postgres 15.", +"The database version is Postgres 16.", +"The database version is Postgres 17.", +"The database version is Postgres 18." +], +"type": "string" +}, +"stages": { +"description": "Status of all upgrade stages.", +"items": { +"$ref": "StageStatus" +}, +"type": "array" +}, +"state": { +"description": "Cluster Major Version Upgrade state.", +"enum": [ +"STATUS_UNSPECIFIED", +"NOT_STARTED", +"IN_PROGRESS", +"SUCCESS", +"FAILED", +"PARTIAL_SUCCESS", +"CANCEL_IN_PROGRESS", +"CANCELLED" +], +"enumDescriptions": [ +"Unspecified status.", +"Not started.", +"In progress.", +"Operation succeeded.", +"Operation failed.", +"Operation partially succeeded.", +"Cancel is in progress.", +"Cancellation complete." +], +"type": "string" +}, +"targetVersion": { +"description": "Target database major version.", +"enum": [ +"DATABASE_VERSION_UNSPECIFIED", +"POSTGRES_13", +"POSTGRES_14", +"POSTGRES_15", +"POSTGRES_16", +"POSTGRES_17", +"POSTGRES_18" +], +"enumDeprecated": [ +false, +true, +false, +false, +false, +false, +false +], +"enumDescriptions": [ +"This is an unknown database version.", +"DEPRECATED - The database version is Postgres 13.", +"The database version is Postgres 14.", +"The database version is Postgres 15.", +"The database version is Postgres 16.", +"The database version is Postgres 17.", +"The database version is Postgres 18." +], +"type": "string" +} +}, +"type": "object" +}, +"User": { +"description": "Message describing User object.", +"id": "User", +"properties": { +"databaseRoles": { +"description": "Optional. List of database roles this user has. The database role strings are subject to the PostgreSQL naming conventions.", +"items": { +"type": "string" +}, +"type": "array" +}, +"keepExtraRoles": { +"description": "Input only. If the user already exists and it has additional roles, keep them granted.", +"type": "boolean" +}, +"name": { +"description": "Output only. Name of the resource in the form of projects/{project}/locations/{location}/cluster/{cluster}/users/{user}.", +"readOnly": true, +"type": "string" +}, +"password": { +"description": "Input only. Password for the user.", +"type": "string" +}, +"userType": { +"description": "Optional. Type of this user.", +"enum": [ +"USER_TYPE_UNSPECIFIED", +"ALLOYDB_BUILT_IN", +"ALLOYDB_IAM_USER" +], +"enumDescriptions": [ +"Unspecified user type.", +"The default user type that authenticates via password-based authentication.", +"Database user that can authenticate via IAM-Based authentication." +], +"type": "string" +} +}, +"type": "object" +}, +"UserPassword": { +"description": "The username/password for a database user. Used for specifying initial users at cluster creation time.", +"id": "UserPassword", +"properties": { +"password": { +"description": "The initial password for the user.", +"type": "string" +}, +"user": { +"description": "The database username.", +"type": "string" +} +}, +"type": "object" +}, +"WeeklySchedule": { +"description": "A weekly schedule starts a backup at prescribed start times within a day, for the specified days of the week. The weekly schedule message is flexible and can be used to create many types of schedules. For example, to have a daily backup that starts at 22:00, configure the `start_times` field to have one element \"22:00\" and the `days_of_week` field to have all seven days of the week.", +"id": "WeeklySchedule", +"properties": { +"daysOfWeek": { +"description": "The days of the week to perform a backup. If this field is left empty, the default of every day of the week is used.", +"items": { +"enum": [ +"DAY_OF_WEEK_UNSPECIFIED", +"MONDAY", +"TUESDAY", +"WEDNESDAY", +"THURSDAY", +"FRIDAY", +"SATURDAY", +"SUNDAY" +], +"enumDescriptions": [ +"The day of the week is unspecified.", +"Monday", +"Tuesday", +"Wednesday", +"Thursday", +"Friday", +"Saturday", +"Sunday" +], +"type": "string" +}, +"type": "array" +}, +"startTimes": { +"description": "The times during the day to start a backup. The start times are assumed to be in UTC and to be an exact hour (e.g., 04:00:00). If no start times are provided, a single fixed start time is chosen arbitrarily.", +"items": { +"$ref": "GoogleTypeTimeOfDay" +}, +"type": "array" +} +}, +"type": "object" +} +}, +"servicePath": "", +"title": "AlloyDB API", +"version": "v1alpha", +"version_module": true +} \ No newline at end of file diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/analytics.v3.json b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/analytics.v3.json new file mode 100644 index 0000000000000000000000000000000000000000..14c0d3131b0795a936e2050565e9fbcac6125673 --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/analytics.v3.json @@ -0,0 +1,7459 @@ +{ +"auth": { +"oauth2": { +"scopes": { +"https://www.googleapis.com/auth/analytics": { +"description": "View and manage your Google Analytics data" +}, +"https://www.googleapis.com/auth/analytics.edit": { +"description": "Edit Google Analytics management entities" +}, +"https://www.googleapis.com/auth/analytics.manage.users": { +"description": "Manage Google Analytics Account users by email address" +}, +"https://www.googleapis.com/auth/analytics.manage.users.readonly": { +"description": "View Google Analytics user permissions" +}, +"https://www.googleapis.com/auth/analytics.provision": { +"description": "Create a new Google Analytics account along with its default property and view" +}, +"https://www.googleapis.com/auth/analytics.readonly": { +"description": "View your Google Analytics data" +}, +"https://www.googleapis.com/auth/analytics.user.deletion": { +"description": "Manage Google Analytics user deletion requests" +} +} +} +}, +"basePath": "/analytics/v3/", +"baseUrl": "https://www.googleapis.com/analytics/v3/", +"batchPath": "batch/analytics/v3", +"description": "Views and manages your Google Analytics data.", +"discoveryVersion": "v1", +"documentationLink": "https://developers.google.com/analytics/", +"etag": "\"9eZ1uxVRThTDhLJCZHhqs3eQWz4/o_TVyaWurnALX6ZIQ952-U5m22Y\"", +"icons": { +"x16": "https://www.google.com/images/icons/product/analytics-16.png", +"x32": "https://www.google.com/images/icons/product/analytics-32.png" +}, +"id": "analytics:v3", +"kind": "discovery#restDescription", +"name": "analytics", +"ownerDomain": "google.com", +"ownerName": "Google", +"parameters": { +"alt": { +"default": "json", +"description": "Data format for the response.", +"enum": [ +"json" +], +"enumDescriptions": [ +"Responses with Content-Type of application/json" +], +"location": "query", +"type": "string" +}, +"fields": { +"description": "Selector specifying which fields to include in a partial response.", +"location": "query", +"type": "string" +}, +"key": { +"description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", +"location": "query", +"type": "string" +}, +"oauth_token": { +"description": "OAuth 2.0 token for the current user.", +"location": "query", +"type": "string" +}, +"prettyPrint": { +"default": "false", +"description": "Returns response with indentations and line breaks.", +"location": "query", +"type": "boolean" +}, +"quotaUser": { +"description": "An opaque string that represents a user for quota purposes. Must not exceed 40 characters.", +"location": "query", +"type": "string" +}, +"userIp": { +"description": "Deprecated. Please use quotaUser instead.", +"location": "query", +"type": "string" +} +}, +"protocol": "rest", +"resources": { +"data": { +"resources": { +"ga": { +"methods": { +"get": { +"description": "Returns Analytics data for a view (profile).", +"httpMethod": "GET", +"id": "analytics.data.ga.get", +"parameterOrder": [ +"ids", +"start-date", +"end-date", +"metrics" +], +"parameters": { +"dimensions": { +"description": "A comma-separated list of Analytics dimensions. E.g., 'ga:browser,ga:city'.", +"location": "query", +"pattern": "(ga:.+)?", +"type": "string" +}, +"end-date": { +"description": "End date for fetching Analytics data. Request can should specify an end date formatted as YYYY-MM-DD, or as a relative date (e.g., today, yesterday, or 7daysAgo). The default value is yesterday.", +"location": "query", +"pattern": "[0-9]{4}-[0-9]{2}-[0-9]{2}|today|yesterday|[0-9]+(daysAgo)", +"required": true, +"type": "string" +}, +"filters": { +"description": "A comma-separated list of dimension or metric filters to be applied to Analytics data.", +"location": "query", +"pattern": "ga:.+", +"type": "string" +}, +"ids": { +"description": "Unique table ID for retrieving Analytics data. Table ID is of the form ga:XXXX, where XXXX is the Analytics view (profile) ID.", +"location": "query", +"pattern": "ga:[0-9]+", +"required": true, +"type": "string" +}, +"include-empty-rows": { +"description": "The response will include empty rows if this parameter is set to true, the default is true", +"location": "query", +"type": "boolean" +}, +"max-results": { +"description": "The maximum number of entries to include in this feed.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"metrics": { +"description": "A comma-separated list of Analytics metrics. E.g., 'ga:sessions,ga:pageviews'. At least one metric must be specified.", +"location": "query", +"pattern": "ga:.+", +"required": true, +"type": "string" +}, +"output": { +"description": "The selected format for the response. Default format is JSON.", +"enum": [ +"dataTable", +"json" +], +"enumDescriptions": [ +"Returns the response in Google Charts Data Table format. This is useful in creating visualization using Google Charts.", +"Returns the response in standard JSON format." +], +"location": "query", +"type": "string" +}, +"samplingLevel": { +"description": "The desired sampling level.", +"enum": [ +"DEFAULT", +"FASTER", +"HIGHER_PRECISION" +], +"enumDescriptions": [ +"Returns response with a sample size that balances speed and accuracy.", +"Returns a fast response with a smaller sample size.", +"Returns a more accurate response using a large sample size, but this may result in the response being slower." +], +"location": "query", +"type": "string" +}, +"segment": { +"description": "An Analytics segment to be applied to data.", +"location": "query", +"type": "string" +}, +"sort": { +"description": "A comma-separated list of dimensions or metrics that determine the sort order for Analytics data.", +"location": "query", +"pattern": "(-)?ga:.+", +"type": "string" +}, +"start-date": { +"description": "Start date for fetching Analytics data. Requests can specify a start date formatted as YYYY-MM-DD, or as a relative date (e.g., today, yesterday, or 7daysAgo). The default value is 7daysAgo.", +"location": "query", +"pattern": "[0-9]{4}-[0-9]{2}-[0-9]{2}|today|yesterday|[0-9]+(daysAgo)", +"required": true, +"type": "string" +}, +"start-index": { +"description": "An index of the first entity to retrieve. Use this parameter as a pagination mechanism along with the max-results parameter.", +"format": "int32", +"location": "query", +"minimum": "1", +"type": "integer" +} +}, +"path": "data/ga", +"response": { +"$ref": "GaData" +}, +"scopes": [ +"https://www.googleapis.com/auth/analytics", +"https://www.googleapis.com/auth/analytics.readonly" +] +} +} +}, +"mcf": { +"methods": { +"get": { +"description": "Returns Analytics Multi-Channel Funnels data for a view (profile).", +"httpMethod": "GET", +"id": "analytics.data.mcf.get", +"parameterOrder": [ +"ids", +"start-date", +"end-date", +"metrics" +], +"parameters": { +"dimensions": { +"description": "A comma-separated list of Multi-Channel Funnels dimensions. E.g., 'mcf:source,mcf:medium'.", +"location": "query", +"pattern": "(mcf:.+)?", +"type": "string" +}, +"end-date": { +"description": "End date for fetching Analytics data. Requests can specify a start date formatted as YYYY-MM-DD, or as a relative date (e.g., today, yesterday, or 7daysAgo). The default value is 7daysAgo.", +"location": "query", +"pattern": "[0-9]{4}-[0-9]{2}-[0-9]{2}|today|yesterday|[0-9]+(daysAgo)", +"required": true, +"type": "string" +}, +"filters": { +"description": "A comma-separated list of dimension or metric filters to be applied to the Analytics data.", +"location": "query", +"pattern": "mcf:.+", +"type": "string" +}, +"ids": { +"description": "Unique table ID for retrieving Analytics data. Table ID is of the form ga:XXXX, where XXXX is the Analytics view (profile) ID.", +"location": "query", +"pattern": "ga:[0-9]+", +"required": true, +"type": "string" +}, +"max-results": { +"description": "The maximum number of entries to include in this feed.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"metrics": { +"description": "A comma-separated list of Multi-Channel Funnels metrics. E.g., 'mcf:totalConversions,mcf:totalConversionValue'. At least one metric must be specified.", +"location": "query", +"pattern": "mcf:.+", +"required": true, +"type": "string" +}, +"samplingLevel": { +"description": "The desired sampling level.", +"enum": [ +"DEFAULT", +"FASTER", +"HIGHER_PRECISION" +], +"enumDescriptions": [ +"Returns response with a sample size that balances speed and accuracy.", +"Returns a fast response with a smaller sample size.", +"Returns a more accurate response using a large sample size, but this may result in the response being slower." +], +"location": "query", +"type": "string" +}, +"sort": { +"description": "A comma-separated list of dimensions or metrics that determine the sort order for the Analytics data.", +"location": "query", +"pattern": "(-)?mcf:.+", +"type": "string" +}, +"start-date": { +"description": "Start date for fetching Analytics data. Requests can specify a start date formatted as YYYY-MM-DD, or as a relative date (e.g., today, yesterday, or 7daysAgo). The default value is 7daysAgo.", +"location": "query", +"pattern": "[0-9]{4}-[0-9]{2}-[0-9]{2}|today|yesterday|[0-9]+(daysAgo)", +"required": true, +"type": "string" +}, +"start-index": { +"description": "An index of the first entity to retrieve. Use this parameter as a pagination mechanism along with the max-results parameter.", +"format": "int32", +"location": "query", +"minimum": "1", +"type": "integer" +} +}, +"path": "data/mcf", +"response": { +"$ref": "McfData" +}, +"scopes": [ +"https://www.googleapis.com/auth/analytics", +"https://www.googleapis.com/auth/analytics.readonly" +] +} +} +}, +"realtime": { +"methods": { +"get": { +"description": "Returns real time data for a view (profile).", +"httpMethod": "GET", +"id": "analytics.data.realtime.get", +"parameterOrder": [ +"ids", +"metrics" +], +"parameters": { +"dimensions": { +"description": "A comma-separated list of real time dimensions. E.g., 'rt:medium,rt:city'.", +"location": "query", +"pattern": "(ga:.+)|(rt:.+)", +"type": "string" +}, +"filters": { +"description": "A comma-separated list of dimension or metric filters to be applied to real time data.", +"location": "query", +"pattern": "(ga:.+)|(rt:.+)", +"type": "string" +}, +"ids": { +"description": "Unique table ID for retrieving real time data. Table ID is of the form ga:XXXX, where XXXX is the Analytics view (profile) ID.", +"location": "query", +"pattern": "ga:[0-9]+", +"required": true, +"type": "string" +}, +"max-results": { +"description": "The maximum number of entries to include in this feed.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"metrics": { +"description": "A comma-separated list of real time metrics. E.g., 'rt:activeUsers'. At least one metric must be specified.", +"location": "query", +"pattern": "(ga:.+)|(rt:.+)", +"required": true, +"type": "string" +}, +"sort": { +"description": "A comma-separated list of dimensions or metrics that determine the sort order for real time data.", +"location": "query", +"pattern": "(-)?((ga:.+)|(rt:.+))", +"type": "string" +} +}, +"path": "data/realtime", +"response": { +"$ref": "RealtimeData" +}, +"scopes": [ +"https://www.googleapis.com/auth/analytics", +"https://www.googleapis.com/auth/analytics.readonly" +] +} +} +} +} +}, +"management": { +"resources": { +"accountSummaries": { +"methods": { +"list": { +"description": "Lists account summaries (lightweight tree comprised of accounts/properties/profiles) to which the user has access.", +"httpMethod": "GET", +"id": "analytics.management.accountSummaries.list", +"parameters": { +"max-results": { +"description": "The maximum number of account summaries to include in this response, where the largest acceptable value is 1000.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"start-index": { +"description": "An index of the first entity to retrieve. Use this parameter as a pagination mechanism along with the max-results parameter.", +"format": "int32", +"location": "query", +"minimum": "1", +"type": "integer" +} +}, +"path": "management/accountSummaries", +"response": { +"$ref": "AccountSummaries" +}, +"scopes": [ +"https://www.googleapis.com/auth/analytics.edit", +"https://www.googleapis.com/auth/analytics.readonly" +] +} +} +}, +"accountUserLinks": { +"methods": { +"delete": { +"description": "Removes a user from the given account.", +"httpMethod": "DELETE", +"id": "analytics.management.accountUserLinks.delete", +"parameterOrder": [ +"accountId", +"linkId" +], +"parameters": { +"accountId": { +"description": "Account ID to delete the user link for.", +"location": "path", +"required": true, +"type": "string" +}, +"linkId": { +"description": "Link ID to delete the user link for.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "management/accounts/{accountId}/entityUserLinks/{linkId}", +"scopes": [ +"https://www.googleapis.com/auth/analytics.manage.users" +] +}, +"insert": { +"description": "Adds a new user to the given account.", +"httpMethod": "POST", +"id": "analytics.management.accountUserLinks.insert", +"parameterOrder": [ +"accountId" +], +"parameters": { +"accountId": { +"description": "Account ID to create the user link for.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "management/accounts/{accountId}/entityUserLinks", +"request": { +"$ref": "EntityUserLink" +}, +"response": { +"$ref": "EntityUserLink" +}, +"scopes": [ +"https://www.googleapis.com/auth/analytics.manage.users" +] +}, +"list": { +"description": "Lists account-user links for a given account.", +"httpMethod": "GET", +"id": "analytics.management.accountUserLinks.list", +"parameterOrder": [ +"accountId" +], +"parameters": { +"accountId": { +"description": "Account ID to retrieve the user links for.", +"location": "path", +"required": true, +"type": "string" +}, +"max-results": { +"description": "The maximum number of account-user links to include in this response.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"start-index": { +"description": "An index of the first account-user link to retrieve. Use this parameter as a pagination mechanism along with the max-results parameter.", +"format": "int32", +"location": "query", +"minimum": "1", +"type": "integer" +} +}, +"path": "management/accounts/{accountId}/entityUserLinks", +"response": { +"$ref": "EntityUserLinks" +}, +"scopes": [ +"https://www.googleapis.com/auth/analytics.manage.users", +"https://www.googleapis.com/auth/analytics.manage.users.readonly" +] +}, +"update": { +"description": "Updates permissions for an existing user on the given account.", +"httpMethod": "PUT", +"id": "analytics.management.accountUserLinks.update", +"parameterOrder": [ +"accountId", +"linkId" +], +"parameters": { +"accountId": { +"description": "Account ID to update the account-user link for.", +"location": "path", +"required": true, +"type": "string" +}, +"linkId": { +"description": "Link ID to update the account-user link for.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "management/accounts/{accountId}/entityUserLinks/{linkId}", +"request": { +"$ref": "EntityUserLink" +}, +"response": { +"$ref": "EntityUserLink" +}, +"scopes": [ +"https://www.googleapis.com/auth/analytics.manage.users" +] +} +} +}, +"accounts": { +"methods": { +"list": { +"description": "Lists all accounts to which the user has access.", +"httpMethod": "GET", +"id": "analytics.management.accounts.list", +"parameters": { +"max-results": { +"description": "The maximum number of accounts to include in this response.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"start-index": { +"description": "An index of the first account to retrieve. Use this parameter as a pagination mechanism along with the max-results parameter.", +"format": "int32", +"location": "query", +"minimum": "1", +"type": "integer" +} +}, +"path": "management/accounts", +"response": { +"$ref": "Accounts" +}, +"scopes": [ +"https://www.googleapis.com/auth/analytics", +"https://www.googleapis.com/auth/analytics.edit", +"https://www.googleapis.com/auth/analytics.readonly" +] +} +} +}, +"clientId": { +"methods": { +"hashClientId": { +"description": "Hashes the given Client ID.", +"httpMethod": "POST", +"id": "analytics.management.clientId.hashClientId", +"path": "management/clientId:hashClientId", +"request": { +"$ref": "HashClientIdRequest" +}, +"response": { +"$ref": "HashClientIdResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/analytics.edit", +"https://www.googleapis.com/auth/analytics.readonly" +] +} +} +}, +"customDataSources": { +"methods": { +"list": { +"description": "List custom data sources to which the user has access.", +"httpMethod": "GET", +"id": "analytics.management.customDataSources.list", +"parameterOrder": [ +"accountId", +"webPropertyId" +], +"parameters": { +"accountId": { +"description": "Account Id for the custom data sources to retrieve.", +"location": "path", +"pattern": "\\d+", +"required": true, +"type": "string" +}, +"max-results": { +"description": "The maximum number of custom data sources to include in this response.", +"format": "int32", +"location": "query", +"minimum": "1", +"type": "integer" +}, +"start-index": { +"description": "A 1-based index of the first custom data source to retrieve. Use this parameter as a pagination mechanism along with the max-results parameter.", +"format": "int32", +"location": "query", +"minimum": "1", +"type": "integer" +}, +"webPropertyId": { +"description": "Web property Id for the custom data sources to retrieve.", +"location": "path", +"pattern": "UA-(\\d+)-(\\d+)", +"required": true, +"type": "string" +} +}, +"path": "management/accounts/{accountId}/webproperties/{webPropertyId}/customDataSources", +"response": { +"$ref": "CustomDataSources" +}, +"scopes": [ +"https://www.googleapis.com/auth/analytics", +"https://www.googleapis.com/auth/analytics.edit", +"https://www.googleapis.com/auth/analytics.readonly" +] +} +} +}, +"customDimensions": { +"methods": { +"get": { +"description": "Get a custom dimension to which the user has access.", +"httpMethod": "GET", +"id": "analytics.management.customDimensions.get", +"parameterOrder": [ +"accountId", +"webPropertyId", +"customDimensionId" +], +"parameters": { +"accountId": { +"description": "Account ID for the custom dimension to retrieve.", +"location": "path", +"required": true, +"type": "string" +}, +"customDimensionId": { +"description": "The ID of the custom dimension to retrieve.", +"location": "path", +"required": true, +"type": "string" +}, +"webPropertyId": { +"description": "Web property ID for the custom dimension to retrieve.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "management/accounts/{accountId}/webproperties/{webPropertyId}/customDimensions/{customDimensionId}", +"response": { +"$ref": "CustomDimension" +}, +"scopes": [ +"https://www.googleapis.com/auth/analytics.edit", +"https://www.googleapis.com/auth/analytics.readonly" +] +}, +"insert": { +"description": "Create a new custom dimension.", +"httpMethod": "POST", +"id": "analytics.management.customDimensions.insert", +"parameterOrder": [ +"accountId", +"webPropertyId" +], +"parameters": { +"accountId": { +"description": "Account ID for the custom dimension to create.", +"location": "path", +"required": true, +"type": "string" +}, +"webPropertyId": { +"description": "Web property ID for the custom dimension to create.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "management/accounts/{accountId}/webproperties/{webPropertyId}/customDimensions", +"request": { +"$ref": "CustomDimension" +}, +"response": { +"$ref": "CustomDimension" +}, +"scopes": [ +"https://www.googleapis.com/auth/analytics.edit" +] +}, +"list": { +"description": "Lists custom dimensions to which the user has access.", +"httpMethod": "GET", +"id": "analytics.management.customDimensions.list", +"parameterOrder": [ +"accountId", +"webPropertyId" +], +"parameters": { +"accountId": { +"description": "Account ID for the custom dimensions to retrieve.", +"location": "path", +"required": true, +"type": "string" +}, +"max-results": { +"description": "The maximum number of custom dimensions to include in this response.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"start-index": { +"description": "An index of the first entity to retrieve. Use this parameter as a pagination mechanism along with the max-results parameter.", +"format": "int32", +"location": "query", +"minimum": "1", +"type": "integer" +}, +"webPropertyId": { +"description": "Web property ID for the custom dimensions to retrieve.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "management/accounts/{accountId}/webproperties/{webPropertyId}/customDimensions", +"response": { +"$ref": "CustomDimensions" +}, +"scopes": [ +"https://www.googleapis.com/auth/analytics", +"https://www.googleapis.com/auth/analytics.readonly" +] +}, +"patch": { +"description": "Updates an existing custom dimension. This method supports patch semantics.", +"httpMethod": "PATCH", +"id": "analytics.management.customDimensions.patch", +"parameterOrder": [ +"accountId", +"webPropertyId", +"customDimensionId" +], +"parameters": { +"accountId": { +"description": "Account ID for the custom dimension to update.", +"location": "path", +"required": true, +"type": "string" +}, +"customDimensionId": { +"description": "Custom dimension ID for the custom dimension to update.", +"location": "path", +"required": true, +"type": "string" +}, +"ignoreCustomDataSourceLinks": { +"default": "false", +"description": "Force the update and ignore any warnings related to the custom dimension being linked to a custom data source / data set.", +"location": "query", +"type": "boolean" +}, +"webPropertyId": { +"description": "Web property ID for the custom dimension to update.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "management/accounts/{accountId}/webproperties/{webPropertyId}/customDimensions/{customDimensionId}", +"request": { +"$ref": "CustomDimension" +}, +"response": { +"$ref": "CustomDimension" +}, +"scopes": [ +"https://www.googleapis.com/auth/analytics.edit" +] +}, +"update": { +"description": "Updates an existing custom dimension.", +"httpMethod": "PUT", +"id": "analytics.management.customDimensions.update", +"parameterOrder": [ +"accountId", +"webPropertyId", +"customDimensionId" +], +"parameters": { +"accountId": { +"description": "Account ID for the custom dimension to update.", +"location": "path", +"required": true, +"type": "string" +}, +"customDimensionId": { +"description": "Custom dimension ID for the custom dimension to update.", +"location": "path", +"required": true, +"type": "string" +}, +"ignoreCustomDataSourceLinks": { +"default": "false", +"description": "Force the update and ignore any warnings related to the custom dimension being linked to a custom data source / data set.", +"location": "query", +"type": "boolean" +}, +"webPropertyId": { +"description": "Web property ID for the custom dimension to update.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "management/accounts/{accountId}/webproperties/{webPropertyId}/customDimensions/{customDimensionId}", +"request": { +"$ref": "CustomDimension" +}, +"response": { +"$ref": "CustomDimension" +}, +"scopes": [ +"https://www.googleapis.com/auth/analytics.edit" +] +} +} +}, +"customMetrics": { +"methods": { +"get": { +"description": "Get a custom metric to which the user has access.", +"httpMethod": "GET", +"id": "analytics.management.customMetrics.get", +"parameterOrder": [ +"accountId", +"webPropertyId", +"customMetricId" +], +"parameters": { +"accountId": { +"description": "Account ID for the custom metric to retrieve.", +"location": "path", +"required": true, +"type": "string" +}, +"customMetricId": { +"description": "The ID of the custom metric to retrieve.", +"location": "path", +"required": true, +"type": "string" +}, +"webPropertyId": { +"description": "Web property ID for the custom metric to retrieve.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "management/accounts/{accountId}/webproperties/{webPropertyId}/customMetrics/{customMetricId}", +"response": { +"$ref": "CustomMetric" +}, +"scopes": [ +"https://www.googleapis.com/auth/analytics.edit", +"https://www.googleapis.com/auth/analytics.readonly" +] +}, +"insert": { +"description": "Create a new custom metric.", +"httpMethod": "POST", +"id": "analytics.management.customMetrics.insert", +"parameterOrder": [ +"accountId", +"webPropertyId" +], +"parameters": { +"accountId": { +"description": "Account ID for the custom metric to create.", +"location": "path", +"required": true, +"type": "string" +}, +"webPropertyId": { +"description": "Web property ID for the custom dimension to create.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "management/accounts/{accountId}/webproperties/{webPropertyId}/customMetrics", +"request": { +"$ref": "CustomMetric" +}, +"response": { +"$ref": "CustomMetric" +}, +"scopes": [ +"https://www.googleapis.com/auth/analytics.edit" +] +}, +"list": { +"description": "Lists custom metrics to which the user has access.", +"httpMethod": "GET", +"id": "analytics.management.customMetrics.list", +"parameterOrder": [ +"accountId", +"webPropertyId" +], +"parameters": { +"accountId": { +"description": "Account ID for the custom metrics to retrieve.", +"location": "path", +"required": true, +"type": "string" +}, +"max-results": { +"description": "The maximum number of custom metrics to include in this response.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"start-index": { +"description": "An index of the first entity to retrieve. Use this parameter as a pagination mechanism along with the max-results parameter.", +"format": "int32", +"location": "query", +"minimum": "1", +"type": "integer" +}, +"webPropertyId": { +"description": "Web property ID for the custom metrics to retrieve.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "management/accounts/{accountId}/webproperties/{webPropertyId}/customMetrics", +"response": { +"$ref": "CustomMetrics" +}, +"scopes": [ +"https://www.googleapis.com/auth/analytics", +"https://www.googleapis.com/auth/analytics.readonly" +] +}, +"patch": { +"description": "Updates an existing custom metric. This method supports patch semantics.", +"httpMethod": "PATCH", +"id": "analytics.management.customMetrics.patch", +"parameterOrder": [ +"accountId", +"webPropertyId", +"customMetricId" +], +"parameters": { +"accountId": { +"description": "Account ID for the custom metric to update.", +"location": "path", +"required": true, +"type": "string" +}, +"customMetricId": { +"description": "Custom metric ID for the custom metric to update.", +"location": "path", +"required": true, +"type": "string" +}, +"ignoreCustomDataSourceLinks": { +"default": "false", +"description": "Force the update and ignore any warnings related to the custom metric being linked to a custom data source / data set.", +"location": "query", +"type": "boolean" +}, +"webPropertyId": { +"description": "Web property ID for the custom metric to update.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "management/accounts/{accountId}/webproperties/{webPropertyId}/customMetrics/{customMetricId}", +"request": { +"$ref": "CustomMetric" +}, +"response": { +"$ref": "CustomMetric" +}, +"scopes": [ +"https://www.googleapis.com/auth/analytics.edit" +] +}, +"update": { +"description": "Updates an existing custom metric.", +"httpMethod": "PUT", +"id": "analytics.management.customMetrics.update", +"parameterOrder": [ +"accountId", +"webPropertyId", +"customMetricId" +], +"parameters": { +"accountId": { +"description": "Account ID for the custom metric to update.", +"location": "path", +"required": true, +"type": "string" +}, +"customMetricId": { +"description": "Custom metric ID for the custom metric to update.", +"location": "path", +"required": true, +"type": "string" +}, +"ignoreCustomDataSourceLinks": { +"default": "false", +"description": "Force the update and ignore any warnings related to the custom metric being linked to a custom data source / data set.", +"location": "query", +"type": "boolean" +}, +"webPropertyId": { +"description": "Web property ID for the custom metric to update.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "management/accounts/{accountId}/webproperties/{webPropertyId}/customMetrics/{customMetricId}", +"request": { +"$ref": "CustomMetric" +}, +"response": { +"$ref": "CustomMetric" +}, +"scopes": [ +"https://www.googleapis.com/auth/analytics.edit" +] +} +} +}, +"experiments": { +"methods": { +"delete": { +"description": "Delete an experiment.", +"httpMethod": "DELETE", +"id": "analytics.management.experiments.delete", +"parameterOrder": [ +"accountId", +"webPropertyId", +"profileId", +"experimentId" +], +"parameters": { +"accountId": { +"description": "Account ID to which the experiment belongs", +"location": "path", +"required": true, +"type": "string" +}, +"experimentId": { +"description": "ID of the experiment to delete", +"location": "path", +"required": true, +"type": "string" +}, +"profileId": { +"description": "View (Profile) ID to which the experiment belongs", +"location": "path", +"required": true, +"type": "string" +}, +"webPropertyId": { +"description": "Web property ID to which the experiment belongs", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/experiments/{experimentId}", +"scopes": [ +"https://www.googleapis.com/auth/analytics", +"https://www.googleapis.com/auth/analytics.edit" +] +}, +"get": { +"description": "Returns an experiment to which the user has access.", +"httpMethod": "GET", +"id": "analytics.management.experiments.get", +"parameterOrder": [ +"accountId", +"webPropertyId", +"profileId", +"experimentId" +], +"parameters": { +"accountId": { +"description": "Account ID to retrieve the experiment for.", +"location": "path", +"required": true, +"type": "string" +}, +"experimentId": { +"description": "Experiment ID to retrieve the experiment for.", +"location": "path", +"required": true, +"type": "string" +}, +"profileId": { +"description": "View (Profile) ID to retrieve the experiment for.", +"location": "path", +"required": true, +"type": "string" +}, +"webPropertyId": { +"description": "Web property ID to retrieve the experiment for.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/experiments/{experimentId}", +"response": { +"$ref": "Experiment" +}, +"scopes": [ +"https://www.googleapis.com/auth/analytics", +"https://www.googleapis.com/auth/analytics.edit", +"https://www.googleapis.com/auth/analytics.readonly" +] +}, +"insert": { +"description": "Create a new experiment.", +"httpMethod": "POST", +"id": "analytics.management.experiments.insert", +"parameterOrder": [ +"accountId", +"webPropertyId", +"profileId" +], +"parameters": { +"accountId": { +"description": "Account ID to create the experiment for.", +"location": "path", +"required": true, +"type": "string" +}, +"profileId": { +"description": "View (Profile) ID to create the experiment for.", +"location": "path", +"required": true, +"type": "string" +}, +"webPropertyId": { +"description": "Web property ID to create the experiment for.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/experiments", +"request": { +"$ref": "Experiment" +}, +"response": { +"$ref": "Experiment" +}, +"scopes": [ +"https://www.googleapis.com/auth/analytics", +"https://www.googleapis.com/auth/analytics.edit" +] +}, +"list": { +"description": "Lists experiments to which the user has access.", +"httpMethod": "GET", +"id": "analytics.management.experiments.list", +"parameterOrder": [ +"accountId", +"webPropertyId", +"profileId" +], +"parameters": { +"accountId": { +"description": "Account ID to retrieve experiments for.", +"location": "path", +"pattern": "\\d+", +"required": true, +"type": "string" +}, +"max-results": { +"description": "The maximum number of experiments to include in this response.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"profileId": { +"description": "View (Profile) ID to retrieve experiments for.", +"location": "path", +"pattern": "\\d+", +"required": true, +"type": "string" +}, +"start-index": { +"description": "An index of the first experiment to retrieve. Use this parameter as a pagination mechanism along with the max-results parameter.", +"format": "int32", +"location": "query", +"minimum": "1", +"type": "integer" +}, +"webPropertyId": { +"description": "Web property ID to retrieve experiments for.", +"location": "path", +"pattern": "UA-(\\d+)-(\\d+)", +"required": true, +"type": "string" +} +}, +"path": "management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/experiments", +"response": { +"$ref": "Experiments" +}, +"scopes": [ +"https://www.googleapis.com/auth/analytics", +"https://www.googleapis.com/auth/analytics.edit", +"https://www.googleapis.com/auth/analytics.readonly" +] +}, +"patch": { +"description": "Update an existing experiment. This method supports patch semantics.", +"httpMethod": "PATCH", +"id": "analytics.management.experiments.patch", +"parameterOrder": [ +"accountId", +"webPropertyId", +"profileId", +"experimentId" +], +"parameters": { +"accountId": { +"description": "Account ID of the experiment to update.", +"location": "path", +"required": true, +"type": "string" +}, +"experimentId": { +"description": "Experiment ID of the experiment to update.", +"location": "path", +"required": true, +"type": "string" +}, +"profileId": { +"description": "View (Profile) ID of the experiment to update.", +"location": "path", +"required": true, +"type": "string" +}, +"webPropertyId": { +"description": "Web property ID of the experiment to update.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/experiments/{experimentId}", +"request": { +"$ref": "Experiment" +}, +"response": { +"$ref": "Experiment" +}, +"scopes": [ +"https://www.googleapis.com/auth/analytics", +"https://www.googleapis.com/auth/analytics.edit" +] +}, +"update": { +"description": "Update an existing experiment.", +"httpMethod": "PUT", +"id": "analytics.management.experiments.update", +"parameterOrder": [ +"accountId", +"webPropertyId", +"profileId", +"experimentId" +], +"parameters": { +"accountId": { +"description": "Account ID of the experiment to update.", +"location": "path", +"required": true, +"type": "string" +}, +"experimentId": { +"description": "Experiment ID of the experiment to update.", +"location": "path", +"required": true, +"type": "string" +}, +"profileId": { +"description": "View (Profile) ID of the experiment to update.", +"location": "path", +"required": true, +"type": "string" +}, +"webPropertyId": { +"description": "Web property ID of the experiment to update.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/experiments/{experimentId}", +"request": { +"$ref": "Experiment" +}, +"response": { +"$ref": "Experiment" +}, +"scopes": [ +"https://www.googleapis.com/auth/analytics", +"https://www.googleapis.com/auth/analytics.edit" +] +} +} +}, +"filters": { +"methods": { +"delete": { +"description": "Delete a filter.", +"httpMethod": "DELETE", +"id": "analytics.management.filters.delete", +"parameterOrder": [ +"accountId", +"filterId" +], +"parameters": { +"accountId": { +"description": "Account ID to delete the filter for.", +"location": "path", +"required": true, +"type": "string" +}, +"filterId": { +"description": "ID of the filter to be deleted.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "management/accounts/{accountId}/filters/{filterId}", +"response": { +"$ref": "Filter" +}, +"scopes": [ +"https://www.googleapis.com/auth/analytics.edit" +] +}, +"get": { +"description": "Returns filters to which the user has access.", +"httpMethod": "GET", +"id": "analytics.management.filters.get", +"parameterOrder": [ +"accountId", +"filterId" +], +"parameters": { +"accountId": { +"description": "Account ID to retrieve filters for.", +"location": "path", +"required": true, +"type": "string" +}, +"filterId": { +"description": "Filter ID to retrieve filters for.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "management/accounts/{accountId}/filters/{filterId}", +"response": { +"$ref": "Filter" +}, +"scopes": [ +"https://www.googleapis.com/auth/analytics.edit", +"https://www.googleapis.com/auth/analytics.readonly" +] +}, +"insert": { +"description": "Create a new filter.", +"httpMethod": "POST", +"id": "analytics.management.filters.insert", +"parameterOrder": [ +"accountId" +], +"parameters": { +"accountId": { +"description": "Account ID to create filter for.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "management/accounts/{accountId}/filters", +"request": { +"$ref": "Filter" +}, +"response": { +"$ref": "Filter" +}, +"scopes": [ +"https://www.googleapis.com/auth/analytics.edit" +] +}, +"list": { +"description": "Lists all filters for an account", +"httpMethod": "GET", +"id": "analytics.management.filters.list", +"parameterOrder": [ +"accountId" +], +"parameters": { +"accountId": { +"description": "Account ID to retrieve filters for.", +"location": "path", +"pattern": "\\d+", +"required": true, +"type": "string" +}, +"max-results": { +"description": "The maximum number of filters to include in this response.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"start-index": { +"description": "An index of the first entity to retrieve. Use this parameter as a pagination mechanism along with the max-results parameter.", +"format": "int32", +"location": "query", +"minimum": "1", +"type": "integer" +} +}, +"path": "management/accounts/{accountId}/filters", +"response": { +"$ref": "Filters" +}, +"scopes": [ +"https://www.googleapis.com/auth/analytics.edit", +"https://www.googleapis.com/auth/analytics.readonly" +] +}, +"patch": { +"description": "Updates an existing filter. This method supports patch semantics.", +"httpMethod": "PATCH", +"id": "analytics.management.filters.patch", +"parameterOrder": [ +"accountId", +"filterId" +], +"parameters": { +"accountId": { +"description": "Account ID to which the filter belongs.", +"location": "path", +"required": true, +"type": "string" +}, +"filterId": { +"description": "ID of the filter to be updated.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "management/accounts/{accountId}/filters/{filterId}", +"request": { +"$ref": "Filter" +}, +"response": { +"$ref": "Filter" +}, +"scopes": [ +"https://www.googleapis.com/auth/analytics.edit" +] +}, +"update": { +"description": "Updates an existing filter.", +"httpMethod": "PUT", +"id": "analytics.management.filters.update", +"parameterOrder": [ +"accountId", +"filterId" +], +"parameters": { +"accountId": { +"description": "Account ID to which the filter belongs.", +"location": "path", +"required": true, +"type": "string" +}, +"filterId": { +"description": "ID of the filter to be updated.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "management/accounts/{accountId}/filters/{filterId}", +"request": { +"$ref": "Filter" +}, +"response": { +"$ref": "Filter" +}, +"scopes": [ +"https://www.googleapis.com/auth/analytics.edit" +] +} +} +}, +"goals": { +"methods": { +"get": { +"description": "Gets a goal to which the user has access.", +"httpMethod": "GET", +"id": "analytics.management.goals.get", +"parameterOrder": [ +"accountId", +"webPropertyId", +"profileId", +"goalId" +], +"parameters": { +"accountId": { +"description": "Account ID to retrieve the goal for.", +"location": "path", +"required": true, +"type": "string" +}, +"goalId": { +"description": "Goal ID to retrieve the goal for.", +"location": "path", +"required": true, +"type": "string" +}, +"profileId": { +"description": "View (Profile) ID to retrieve the goal for.", +"location": "path", +"required": true, +"type": "string" +}, +"webPropertyId": { +"description": "Web property ID to retrieve the goal for.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/goals/{goalId}", +"response": { +"$ref": "Goal" +}, +"scopes": [ +"https://www.googleapis.com/auth/analytics.edit", +"https://www.googleapis.com/auth/analytics.readonly" +] +}, +"insert": { +"description": "Create a new goal.", +"httpMethod": "POST", +"id": "analytics.management.goals.insert", +"parameterOrder": [ +"accountId", +"webPropertyId", +"profileId" +], +"parameters": { +"accountId": { +"description": "Account ID to create the goal for.", +"location": "path", +"required": true, +"type": "string" +}, +"profileId": { +"description": "View (Profile) ID to create the goal for.", +"location": "path", +"required": true, +"type": "string" +}, +"webPropertyId": { +"description": "Web property ID to create the goal for.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/goals", +"request": { +"$ref": "Goal" +}, +"response": { +"$ref": "Goal" +}, +"scopes": [ +"https://www.googleapis.com/auth/analytics.edit" +] +}, +"list": { +"description": "Lists goals to which the user has access.", +"httpMethod": "GET", +"id": "analytics.management.goals.list", +"parameterOrder": [ +"accountId", +"webPropertyId", +"profileId" +], +"parameters": { +"accountId": { +"description": "Account ID to retrieve goals for. Can either be a specific account ID or '~all', which refers to all the accounts that user has access to.", +"location": "path", +"required": true, +"type": "string" +}, +"max-results": { +"description": "The maximum number of goals to include in this response.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"profileId": { +"description": "View (Profile) ID to retrieve goals for. Can either be a specific view (profile) ID or '~all', which refers to all the views (profiles) that user has access to.", +"location": "path", +"required": true, +"type": "string" +}, +"start-index": { +"description": "An index of the first goal to retrieve. Use this parameter as a pagination mechanism along with the max-results parameter.", +"format": "int32", +"location": "query", +"minimum": "1", +"type": "integer" +}, +"webPropertyId": { +"description": "Web property ID to retrieve goals for. Can either be a specific web property ID or '~all', which refers to all the web properties that user has access to.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/goals", +"response": { +"$ref": "Goals" +}, +"scopes": [ +"https://www.googleapis.com/auth/analytics", +"https://www.googleapis.com/auth/analytics.edit", +"https://www.googleapis.com/auth/analytics.readonly" +] +}, +"patch": { +"description": "Updates an existing goal. This method supports patch semantics.", +"httpMethod": "PATCH", +"id": "analytics.management.goals.patch", +"parameterOrder": [ +"accountId", +"webPropertyId", +"profileId", +"goalId" +], +"parameters": { +"accountId": { +"description": "Account ID to update the goal.", +"location": "path", +"required": true, +"type": "string" +}, +"goalId": { +"description": "Index of the goal to be updated.", +"location": "path", +"required": true, +"type": "string" +}, +"profileId": { +"description": "View (Profile) ID to update the goal.", +"location": "path", +"required": true, +"type": "string" +}, +"webPropertyId": { +"description": "Web property ID to update the goal.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/goals/{goalId}", +"request": { +"$ref": "Goal" +}, +"response": { +"$ref": "Goal" +}, +"scopes": [ +"https://www.googleapis.com/auth/analytics.edit" +] +}, +"update": { +"description": "Updates an existing goal.", +"httpMethod": "PUT", +"id": "analytics.management.goals.update", +"parameterOrder": [ +"accountId", +"webPropertyId", +"profileId", +"goalId" +], +"parameters": { +"accountId": { +"description": "Account ID to update the goal.", +"location": "path", +"required": true, +"type": "string" +}, +"goalId": { +"description": "Index of the goal to be updated.", +"location": "path", +"required": true, +"type": "string" +}, +"profileId": { +"description": "View (Profile) ID to update the goal.", +"location": "path", +"required": true, +"type": "string" +}, +"webPropertyId": { +"description": "Web property ID to update the goal.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/goals/{goalId}", +"request": { +"$ref": "Goal" +}, +"response": { +"$ref": "Goal" +}, +"scopes": [ +"https://www.googleapis.com/auth/analytics.edit" +] +} +} +}, +"profileFilterLinks": { +"methods": { +"delete": { +"description": "Delete a profile filter link.", +"httpMethod": "DELETE", +"id": "analytics.management.profileFilterLinks.delete", +"parameterOrder": [ +"accountId", +"webPropertyId", +"profileId", +"linkId" +], +"parameters": { +"accountId": { +"description": "Account ID to which the profile filter link belongs.", +"location": "path", +"pattern": "\\d+", +"required": true, +"type": "string" +}, +"linkId": { +"description": "ID of the profile filter link to delete.", +"location": "path", +"pattern": "\\d+:\\d+", +"required": true, +"type": "string" +}, +"profileId": { +"description": "Profile ID to which the filter link belongs.", +"location": "path", +"pattern": "\\d+", +"required": true, +"type": "string" +}, +"webPropertyId": { +"description": "Web property Id to which the profile filter link belongs.", +"location": "path", +"pattern": "UA-(\\d+)-(\\d+)", +"required": true, +"type": "string" +} +}, +"path": "management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/profileFilterLinks/{linkId}", +"scopes": [ +"https://www.googleapis.com/auth/analytics.edit" +] +}, +"get": { +"description": "Returns a single profile filter link.", +"httpMethod": "GET", +"id": "analytics.management.profileFilterLinks.get", +"parameterOrder": [ +"accountId", +"webPropertyId", +"profileId", +"linkId" +], +"parameters": { +"accountId": { +"description": "Account ID to retrieve profile filter link for.", +"location": "path", +"pattern": "\\d+", +"required": true, +"type": "string" +}, +"linkId": { +"description": "ID of the profile filter link.", +"location": "path", +"pattern": "\\d+:\\d+", +"required": true, +"type": "string" +}, +"profileId": { +"description": "Profile ID to retrieve filter link for.", +"location": "path", +"pattern": "\\d+", +"required": true, +"type": "string" +}, +"webPropertyId": { +"description": "Web property Id to retrieve profile filter link for.", +"location": "path", +"pattern": "UA-(\\d+)-(\\d+)", +"required": true, +"type": "string" +} +}, +"path": "management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/profileFilterLinks/{linkId}", +"response": { +"$ref": "ProfileFilterLink" +}, +"scopes": [ +"https://www.googleapis.com/auth/analytics.edit", +"https://www.googleapis.com/auth/analytics.readonly" +] +}, +"insert": { +"description": "Create a new profile filter link.", +"httpMethod": "POST", +"id": "analytics.management.profileFilterLinks.insert", +"parameterOrder": [ +"accountId", +"webPropertyId", +"profileId" +], +"parameters": { +"accountId": { +"description": "Account ID to create profile filter link for.", +"location": "path", +"pattern": "\\d+", +"required": true, +"type": "string" +}, +"profileId": { +"description": "Profile ID to create filter link for.", +"location": "path", +"pattern": "\\d+", +"required": true, +"type": "string" +}, +"webPropertyId": { +"description": "Web property Id to create profile filter link for.", +"location": "path", +"pattern": "UA-(\\d+)-(\\d+)", +"required": true, +"type": "string" +} +}, +"path": "management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/profileFilterLinks", +"request": { +"$ref": "ProfileFilterLink" +}, +"response": { +"$ref": "ProfileFilterLink" +}, +"scopes": [ +"https://www.googleapis.com/auth/analytics.edit" +] +}, +"list": { +"description": "Lists all profile filter links for a profile.", +"httpMethod": "GET", +"id": "analytics.management.profileFilterLinks.list", +"parameterOrder": [ +"accountId", +"webPropertyId", +"profileId" +], +"parameters": { +"accountId": { +"description": "Account ID to retrieve profile filter links for.", +"location": "path", +"pattern": "\\d+", +"required": true, +"type": "string" +}, +"max-results": { +"description": "The maximum number of profile filter links to include in this response.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"profileId": { +"description": "Profile ID to retrieve filter links for. Can either be a specific profile ID or '~all', which refers to all the profiles that user has access to.", +"location": "path", +"required": true, +"type": "string" +}, +"start-index": { +"description": "An index of the first entity to retrieve. Use this parameter as a pagination mechanism along with the max-results parameter.", +"format": "int32", +"location": "query", +"minimum": "1", +"type": "integer" +}, +"webPropertyId": { +"description": "Web property Id for profile filter links for. Can either be a specific web property ID or '~all', which refers to all the web properties that user has access to.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/profileFilterLinks", +"response": { +"$ref": "ProfileFilterLinks" +}, +"scopes": [ +"https://www.googleapis.com/auth/analytics.edit", +"https://www.googleapis.com/auth/analytics.readonly" +] +}, +"patch": { +"description": "Update an existing profile filter link. This method supports patch semantics.", +"httpMethod": "PATCH", +"id": "analytics.management.profileFilterLinks.patch", +"parameterOrder": [ +"accountId", +"webPropertyId", +"profileId", +"linkId" +], +"parameters": { +"accountId": { +"description": "Account ID to which profile filter link belongs.", +"location": "path", +"pattern": "\\d+", +"required": true, +"type": "string" +}, +"linkId": { +"description": "ID of the profile filter link to be updated.", +"location": "path", +"pattern": "\\d+:\\d+", +"required": true, +"type": "string" +}, +"profileId": { +"description": "Profile ID to which filter link belongs", +"location": "path", +"pattern": "\\d+", +"required": true, +"type": "string" +}, +"webPropertyId": { +"description": "Web property Id to which profile filter link belongs", +"location": "path", +"pattern": "UA-(\\d+)-(\\d+)", +"required": true, +"type": "string" +} +}, +"path": "management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/profileFilterLinks/{linkId}", +"request": { +"$ref": "ProfileFilterLink" +}, +"response": { +"$ref": "ProfileFilterLink" +}, +"scopes": [ +"https://www.googleapis.com/auth/analytics.edit" +] +}, +"update": { +"description": "Update an existing profile filter link.", +"httpMethod": "PUT", +"id": "analytics.management.profileFilterLinks.update", +"parameterOrder": [ +"accountId", +"webPropertyId", +"profileId", +"linkId" +], +"parameters": { +"accountId": { +"description": "Account ID to which profile filter link belongs.", +"location": "path", +"pattern": "\\d+", +"required": true, +"type": "string" +}, +"linkId": { +"description": "ID of the profile filter link to be updated.", +"location": "path", +"pattern": "\\d+:\\d+", +"required": true, +"type": "string" +}, +"profileId": { +"description": "Profile ID to which filter link belongs", +"location": "path", +"pattern": "\\d+", +"required": true, +"type": "string" +}, +"webPropertyId": { +"description": "Web property Id to which profile filter link belongs", +"location": "path", +"pattern": "UA-(\\d+)-(\\d+)", +"required": true, +"type": "string" +} +}, +"path": "management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/profileFilterLinks/{linkId}", +"request": { +"$ref": "ProfileFilterLink" +}, +"response": { +"$ref": "ProfileFilterLink" +}, +"scopes": [ +"https://www.googleapis.com/auth/analytics.edit" +] +} +} +}, +"profileUserLinks": { +"methods": { +"delete": { +"description": "Removes a user from the given view (profile).", +"httpMethod": "DELETE", +"id": "analytics.management.profileUserLinks.delete", +"parameterOrder": [ +"accountId", +"webPropertyId", +"profileId", +"linkId" +], +"parameters": { +"accountId": { +"description": "Account ID to delete the user link for.", +"location": "path", +"required": true, +"type": "string" +}, +"linkId": { +"description": "Link ID to delete the user link for.", +"location": "path", +"required": true, +"type": "string" +}, +"profileId": { +"description": "View (Profile) ID to delete the user link for.", +"location": "path", +"required": true, +"type": "string" +}, +"webPropertyId": { +"description": "Web Property ID to delete the user link for.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/entityUserLinks/{linkId}", +"scopes": [ +"https://www.googleapis.com/auth/analytics.manage.users" +] +}, +"insert": { +"description": "Adds a new user to the given view (profile).", +"httpMethod": "POST", +"id": "analytics.management.profileUserLinks.insert", +"parameterOrder": [ +"accountId", +"webPropertyId", +"profileId" +], +"parameters": { +"accountId": { +"description": "Account ID to create the user link for.", +"location": "path", +"required": true, +"type": "string" +}, +"profileId": { +"description": "View (Profile) ID to create the user link for.", +"location": "path", +"required": true, +"type": "string" +}, +"webPropertyId": { +"description": "Web Property ID to create the user link for.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/entityUserLinks", +"request": { +"$ref": "EntityUserLink" +}, +"response": { +"$ref": "EntityUserLink" +}, +"scopes": [ +"https://www.googleapis.com/auth/analytics.manage.users" +] +}, +"list": { +"description": "Lists profile-user links for a given view (profile).", +"httpMethod": "GET", +"id": "analytics.management.profileUserLinks.list", +"parameterOrder": [ +"accountId", +"webPropertyId", +"profileId" +], +"parameters": { +"accountId": { +"description": "Account ID which the given view (profile) belongs to.", +"location": "path", +"required": true, +"type": "string" +}, +"max-results": { +"description": "The maximum number of profile-user links to include in this response.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"profileId": { +"description": "View (Profile) ID to retrieve the profile-user links for. Can either be a specific profile ID or '~all', which refers to all the profiles that user has access to.", +"location": "path", +"required": true, +"type": "string" +}, +"start-index": { +"description": "An index of the first profile-user link to retrieve. Use this parameter as a pagination mechanism along with the max-results parameter.", +"format": "int32", +"location": "query", +"minimum": "1", +"type": "integer" +}, +"webPropertyId": { +"description": "Web Property ID which the given view (profile) belongs to. Can either be a specific web property ID or '~all', which refers to all the web properties that user has access to.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/entityUserLinks", +"response": { +"$ref": "EntityUserLinks" +}, +"scopes": [ +"https://www.googleapis.com/auth/analytics.manage.users", +"https://www.googleapis.com/auth/analytics.manage.users.readonly" +] +}, +"update": { +"description": "Updates permissions for an existing user on the given view (profile).", +"httpMethod": "PUT", +"id": "analytics.management.profileUserLinks.update", +"parameterOrder": [ +"accountId", +"webPropertyId", +"profileId", +"linkId" +], +"parameters": { +"accountId": { +"description": "Account ID to update the user link for.", +"location": "path", +"required": true, +"type": "string" +}, +"linkId": { +"description": "Link ID to update the user link for.", +"location": "path", +"required": true, +"type": "string" +}, +"profileId": { +"description": "View (Profile ID) to update the user link for.", +"location": "path", +"required": true, +"type": "string" +}, +"webPropertyId": { +"description": "Web Property ID to update the user link for.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/entityUserLinks/{linkId}", +"request": { +"$ref": "EntityUserLink" +}, +"response": { +"$ref": "EntityUserLink" +}, +"scopes": [ +"https://www.googleapis.com/auth/analytics.manage.users" +] +} +} +}, +"profiles": { +"methods": { +"delete": { +"description": "Deletes a view (profile).", +"httpMethod": "DELETE", +"id": "analytics.management.profiles.delete", +"parameterOrder": [ +"accountId", +"webPropertyId", +"profileId" +], +"parameters": { +"accountId": { +"description": "Account ID to delete the view (profile) for.", +"location": "path", +"required": true, +"type": "string" +}, +"profileId": { +"description": "ID of the view (profile) to be deleted.", +"location": "path", +"required": true, +"type": "string" +}, +"webPropertyId": { +"description": "Web property ID to delete the view (profile) for.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}", +"scopes": [ +"https://www.googleapis.com/auth/analytics.edit" +] +}, +"get": { +"description": "Gets a view (profile) to which the user has access.", +"httpMethod": "GET", +"id": "analytics.management.profiles.get", +"parameterOrder": [ +"accountId", +"webPropertyId", +"profileId" +], +"parameters": { +"accountId": { +"description": "Account ID to retrieve the view (profile) for.", +"location": "path", +"pattern": "[0-9]+", +"required": true, +"type": "string" +}, +"profileId": { +"description": "View (Profile) ID to retrieve the view (profile) for.", +"location": "path", +"pattern": "[0-9]+", +"required": true, +"type": "string" +}, +"webPropertyId": { +"description": "Web property ID to retrieve the view (profile) for.", +"location": "path", +"pattern": "UA-[0-9]+-[0-9]+", +"required": true, +"type": "string" +} +}, +"path": "management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}", +"response": { +"$ref": "Profile" +}, +"scopes": [ +"https://www.googleapis.com/auth/analytics.edit", +"https://www.googleapis.com/auth/analytics.readonly" +] +}, +"insert": { +"description": "Create a new view (profile).", +"httpMethod": "POST", +"id": "analytics.management.profiles.insert", +"parameterOrder": [ +"accountId", +"webPropertyId" +], +"parameters": { +"accountId": { +"description": "Account ID to create the view (profile) for.", +"location": "path", +"required": true, +"type": "string" +}, +"webPropertyId": { +"description": "Web property ID to create the view (profile) for.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "management/accounts/{accountId}/webproperties/{webPropertyId}/profiles", +"request": { +"$ref": "Profile" +}, +"response": { +"$ref": "Profile" +}, +"scopes": [ +"https://www.googleapis.com/auth/analytics.edit" +] +}, +"list": { +"description": "Lists views (profiles) to which the user has access.", +"httpMethod": "GET", +"id": "analytics.management.profiles.list", +"parameterOrder": [ +"accountId", +"webPropertyId" +], +"parameters": { +"accountId": { +"description": "Account ID for the view (profiles) to retrieve. Can either be a specific account ID or '~all', which refers to all the accounts to which the user has access.", +"location": "path", +"required": true, +"type": "string" +}, +"max-results": { +"description": "The maximum number of views (profiles) to include in this response.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"start-index": { +"description": "An index of the first entity to retrieve. Use this parameter as a pagination mechanism along with the max-results parameter.", +"format": "int32", +"location": "query", +"minimum": "1", +"type": "integer" +}, +"webPropertyId": { +"description": "Web property ID for the views (profiles) to retrieve. Can either be a specific web property ID or '~all', which refers to all the web properties to which the user has access.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "management/accounts/{accountId}/webproperties/{webPropertyId}/profiles", +"response": { +"$ref": "Profiles" +}, +"scopes": [ +"https://www.googleapis.com/auth/analytics", +"https://www.googleapis.com/auth/analytics.edit", +"https://www.googleapis.com/auth/analytics.readonly" +] +}, +"patch": { +"description": "Updates an existing view (profile). This method supports patch semantics.", +"httpMethod": "PATCH", +"id": "analytics.management.profiles.patch", +"parameterOrder": [ +"accountId", +"webPropertyId", +"profileId" +], +"parameters": { +"accountId": { +"description": "Account ID to which the view (profile) belongs", +"location": "path", +"required": true, +"type": "string" +}, +"profileId": { +"description": "ID of the view (profile) to be updated.", +"location": "path", +"required": true, +"type": "string" +}, +"webPropertyId": { +"description": "Web property ID to which the view (profile) belongs", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}", +"request": { +"$ref": "Profile" +}, +"response": { +"$ref": "Profile" +}, +"scopes": [ +"https://www.googleapis.com/auth/analytics.edit" +] +}, +"update": { +"description": "Updates an existing view (profile).", +"httpMethod": "PUT", +"id": "analytics.management.profiles.update", +"parameterOrder": [ +"accountId", +"webPropertyId", +"profileId" +], +"parameters": { +"accountId": { +"description": "Account ID to which the view (profile) belongs", +"location": "path", +"required": true, +"type": "string" +}, +"profileId": { +"description": "ID of the view (profile) to be updated.", +"location": "path", +"required": true, +"type": "string" +}, +"webPropertyId": { +"description": "Web property ID to which the view (profile) belongs", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}", +"request": { +"$ref": "Profile" +}, +"response": { +"$ref": "Profile" +}, +"scopes": [ +"https://www.googleapis.com/auth/analytics.edit" +] +} +} +}, +"remarketingAudience": { +"methods": { +"delete": { +"description": "Delete a remarketing audience.", +"httpMethod": "DELETE", +"id": "analytics.management.remarketingAudience.delete", +"parameterOrder": [ +"accountId", +"webPropertyId", +"remarketingAudienceId" +], +"parameters": { +"accountId": { +"description": "Account ID to which the remarketing audience belongs.", +"location": "path", +"required": true, +"type": "string" +}, +"remarketingAudienceId": { +"description": "The ID of the remarketing audience to delete.", +"location": "path", +"required": true, +"type": "string" +}, +"webPropertyId": { +"description": "Web property ID to which the remarketing audience belongs.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "management/accounts/{accountId}/webproperties/{webPropertyId}/remarketingAudiences/{remarketingAudienceId}", +"scopes": [ +"https://www.googleapis.com/auth/analytics.edit" +] +}, +"get": { +"description": "Gets a remarketing audience to which the user has access.", +"httpMethod": "GET", +"id": "analytics.management.remarketingAudience.get", +"parameterOrder": [ +"accountId", +"webPropertyId", +"remarketingAudienceId" +], +"parameters": { +"accountId": { +"description": "The account ID of the remarketing audience to retrieve.", +"location": "path", +"required": true, +"type": "string" +}, +"remarketingAudienceId": { +"description": "The ID of the remarketing audience to retrieve.", +"location": "path", +"required": true, +"type": "string" +}, +"webPropertyId": { +"description": "The web property ID of the remarketing audience to retrieve.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "management/accounts/{accountId}/webproperties/{webPropertyId}/remarketingAudiences/{remarketingAudienceId}", +"response": { +"$ref": "RemarketingAudience" +}, +"scopes": [ +"https://www.googleapis.com/auth/analytics.edit", +"https://www.googleapis.com/auth/analytics.readonly" +] +}, +"insert": { +"description": "Creates a new remarketing audience.", +"httpMethod": "POST", +"id": "analytics.management.remarketingAudience.insert", +"parameterOrder": [ +"accountId", +"webPropertyId" +], +"parameters": { +"accountId": { +"description": "The account ID for which to create the remarketing audience.", +"location": "path", +"required": true, +"type": "string" +}, +"webPropertyId": { +"description": "Web property ID for which to create the remarketing audience.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "management/accounts/{accountId}/webproperties/{webPropertyId}/remarketingAudiences", +"request": { +"$ref": "RemarketingAudience" +}, +"response": { +"$ref": "RemarketingAudience" +}, +"scopes": [ +"https://www.googleapis.com/auth/analytics.edit" +] +}, +"list": { +"description": "Lists remarketing audiences to which the user has access.", +"httpMethod": "GET", +"id": "analytics.management.remarketingAudience.list", +"parameterOrder": [ +"accountId", +"webPropertyId" +], +"parameters": { +"accountId": { +"description": "The account ID of the remarketing audiences to retrieve.", +"location": "path", +"required": true, +"type": "string" +}, +"max-results": { +"description": "The maximum number of remarketing audiences to include in this response.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"start-index": { +"description": "An index of the first entity to retrieve. Use this parameter as a pagination mechanism along with the max-results parameter.", +"format": "int32", +"location": "query", +"minimum": "1", +"type": "integer" +}, +"type": { +"default": "all", +"location": "query", +"type": "string" +}, +"webPropertyId": { +"description": "The web property ID of the remarketing audiences to retrieve.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "management/accounts/{accountId}/webproperties/{webPropertyId}/remarketingAudiences", +"response": { +"$ref": "RemarketingAudiences" +}, +"scopes": [ +"https://www.googleapis.com/auth/analytics.edit", +"https://www.googleapis.com/auth/analytics.readonly" +] +}, +"patch": { +"description": "Updates an existing remarketing audience. This method supports patch semantics.", +"httpMethod": "PATCH", +"id": "analytics.management.remarketingAudience.patch", +"parameterOrder": [ +"accountId", +"webPropertyId", +"remarketingAudienceId" +], +"parameters": { +"accountId": { +"description": "The account ID of the remarketing audience to update.", +"location": "path", +"required": true, +"type": "string" +}, +"remarketingAudienceId": { +"description": "The ID of the remarketing audience to update.", +"location": "path", +"required": true, +"type": "string" +}, +"webPropertyId": { +"description": "The web property ID of the remarketing audience to update.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "management/accounts/{accountId}/webproperties/{webPropertyId}/remarketingAudiences/{remarketingAudienceId}", +"request": { +"$ref": "RemarketingAudience" +}, +"response": { +"$ref": "RemarketingAudience" +}, +"scopes": [ +"https://www.googleapis.com/auth/analytics.edit" +] +}, +"update": { +"description": "Updates an existing remarketing audience.", +"httpMethod": "PUT", +"id": "analytics.management.remarketingAudience.update", +"parameterOrder": [ +"accountId", +"webPropertyId", +"remarketingAudienceId" +], +"parameters": { +"accountId": { +"description": "The account ID of the remarketing audience to update.", +"location": "path", +"required": true, +"type": "string" +}, +"remarketingAudienceId": { +"description": "The ID of the remarketing audience to update.", +"location": "path", +"required": true, +"type": "string" +}, +"webPropertyId": { +"description": "The web property ID of the remarketing audience to update.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "management/accounts/{accountId}/webproperties/{webPropertyId}/remarketingAudiences/{remarketingAudienceId}", +"request": { +"$ref": "RemarketingAudience" +}, +"response": { +"$ref": "RemarketingAudience" +}, +"scopes": [ +"https://www.googleapis.com/auth/analytics.edit" +] +} +} +}, +"segments": { +"methods": { +"list": { +"description": "Lists segments to which the user has access.", +"httpMethod": "GET", +"id": "analytics.management.segments.list", +"parameters": { +"max-results": { +"description": "The maximum number of segments to include in this response.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"start-index": { +"description": "An index of the first segment to retrieve. Use this parameter as a pagination mechanism along with the max-results parameter.", +"format": "int32", +"location": "query", +"minimum": "1", +"type": "integer" +} +}, +"path": "management/segments", +"response": { +"$ref": "Segments" +}, +"scopes": [ +"https://www.googleapis.com/auth/analytics", +"https://www.googleapis.com/auth/analytics.edit", +"https://www.googleapis.com/auth/analytics.readonly" +] +} +} +}, +"unsampledReports": { +"methods": { +"delete": { +"description": "Deletes an unsampled report.", +"httpMethod": "DELETE", +"id": "analytics.management.unsampledReports.delete", +"parameterOrder": [ +"accountId", +"webPropertyId", +"profileId", +"unsampledReportId" +], +"parameters": { +"accountId": { +"description": "Account ID to delete the unsampled report for.", +"location": "path", +"required": true, +"type": "string" +}, +"profileId": { +"description": "View (Profile) ID to delete the unsampled report for.", +"location": "path", +"required": true, +"type": "string" +}, +"unsampledReportId": { +"description": "ID of the unsampled report to be deleted.", +"location": "path", +"required": true, +"type": "string" +}, +"webPropertyId": { +"description": "Web property ID to delete the unsampled reports for.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/unsampledReports/{unsampledReportId}", +"scopes": [ +"https://www.googleapis.com/auth/analytics.edit" +] +}, +"get": { +"description": "Returns a single unsampled report.", +"httpMethod": "GET", +"id": "analytics.management.unsampledReports.get", +"parameterOrder": [ +"accountId", +"webPropertyId", +"profileId", +"unsampledReportId" +], +"parameters": { +"accountId": { +"description": "Account ID to retrieve unsampled report for.", +"location": "path", +"required": true, +"type": "string" +}, +"profileId": { +"description": "View (Profile) ID to retrieve unsampled report for.", +"location": "path", +"required": true, +"type": "string" +}, +"unsampledReportId": { +"description": "ID of the unsampled report to retrieve.", +"location": "path", +"required": true, +"type": "string" +}, +"webPropertyId": { +"description": "Web property ID to retrieve unsampled reports for.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/unsampledReports/{unsampledReportId}", +"response": { +"$ref": "UnsampledReport" +}, +"scopes": [ +"https://www.googleapis.com/auth/analytics", +"https://www.googleapis.com/auth/analytics.edit", +"https://www.googleapis.com/auth/analytics.readonly" +] +}, +"insert": { +"description": "Create a new unsampled report.", +"httpMethod": "POST", +"id": "analytics.management.unsampledReports.insert", +"parameterOrder": [ +"accountId", +"webPropertyId", +"profileId" +], +"parameters": { +"accountId": { +"description": "Account ID to create the unsampled report for.", +"location": "path", +"required": true, +"type": "string" +}, +"profileId": { +"description": "View (Profile) ID to create the unsampled report for.", +"location": "path", +"required": true, +"type": "string" +}, +"webPropertyId": { +"description": "Web property ID to create the unsampled report for.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/unsampledReports", +"request": { +"$ref": "UnsampledReport" +}, +"response": { +"$ref": "UnsampledReport" +}, +"scopes": [ +"https://www.googleapis.com/auth/analytics", +"https://www.googleapis.com/auth/analytics.edit" +] +}, +"list": { +"description": "Lists unsampled reports to which the user has access.", +"httpMethod": "GET", +"id": "analytics.management.unsampledReports.list", +"parameterOrder": [ +"accountId", +"webPropertyId", +"profileId" +], +"parameters": { +"accountId": { +"description": "Account ID to retrieve unsampled reports for. Must be a specific account ID, ~all is not supported.", +"location": "path", +"required": true, +"type": "string" +}, +"max-results": { +"description": "The maximum number of unsampled reports to include in this response.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"profileId": { +"description": "View (Profile) ID to retrieve unsampled reports for. Must be a specific view (profile) ID, ~all is not supported.", +"location": "path", +"required": true, +"type": "string" +}, +"start-index": { +"description": "An index of the first unsampled report to retrieve. Use this parameter as a pagination mechanism along with the max-results parameter.", +"format": "int32", +"location": "query", +"minimum": "1", +"type": "integer" +}, +"webPropertyId": { +"description": "Web property ID to retrieve unsampled reports for. Must be a specific web property ID, ~all is not supported.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/unsampledReports", +"response": { +"$ref": "UnsampledReports" +}, +"scopes": [ +"https://www.googleapis.com/auth/analytics", +"https://www.googleapis.com/auth/analytics.edit", +"https://www.googleapis.com/auth/analytics.readonly" +] +} +} +}, +"uploads": { +"methods": { +"deleteUploadData": { +"description": "Delete data associated with a previous upload.", +"httpMethod": "POST", +"id": "analytics.management.uploads.deleteUploadData", +"parameterOrder": [ +"accountId", +"webPropertyId", +"customDataSourceId" +], +"parameters": { +"accountId": { +"description": "Account Id for the uploads to be deleted.", +"location": "path", +"pattern": "\\d+", +"required": true, +"type": "string" +}, +"customDataSourceId": { +"description": "Custom data source Id for the uploads to be deleted.", +"location": "path", +"pattern": ".{22}", +"required": true, +"type": "string" +}, +"webPropertyId": { +"description": "Web property Id for the uploads to be deleted.", +"location": "path", +"pattern": "UA-(\\d+)-(\\d+)", +"required": true, +"type": "string" +} +}, +"path": "management/accounts/{accountId}/webproperties/{webPropertyId}/customDataSources/{customDataSourceId}/deleteUploadData", +"request": { +"$ref": "AnalyticsDataimportDeleteUploadDataRequest" +}, +"scopes": [ +"https://www.googleapis.com/auth/analytics", +"https://www.googleapis.com/auth/analytics.edit" +] +}, +"get": { +"description": "List uploads to which the user has access.", +"httpMethod": "GET", +"id": "analytics.management.uploads.get", +"parameterOrder": [ +"accountId", +"webPropertyId", +"customDataSourceId", +"uploadId" +], +"parameters": { +"accountId": { +"description": "Account Id for the upload to retrieve.", +"location": "path", +"pattern": "\\d+", +"required": true, +"type": "string" +}, +"customDataSourceId": { +"description": "Custom data source Id for upload to retrieve.", +"location": "path", +"pattern": ".{22}", +"required": true, +"type": "string" +}, +"uploadId": { +"description": "Upload Id to retrieve.", +"location": "path", +"pattern": ".{22}", +"required": true, +"type": "string" +}, +"webPropertyId": { +"description": "Web property Id for the upload to retrieve.", +"location": "path", +"pattern": "UA-(\\d+)-(\\d+)", +"required": true, +"type": "string" +} +}, +"path": "management/accounts/{accountId}/webproperties/{webPropertyId}/customDataSources/{customDataSourceId}/uploads/{uploadId}", +"response": { +"$ref": "Upload" +}, +"scopes": [ +"https://www.googleapis.com/auth/analytics", +"https://www.googleapis.com/auth/analytics.edit", +"https://www.googleapis.com/auth/analytics.readonly" +] +}, +"list": { +"description": "List uploads to which the user has access.", +"httpMethod": "GET", +"id": "analytics.management.uploads.list", +"parameterOrder": [ +"accountId", +"webPropertyId", +"customDataSourceId" +], +"parameters": { +"accountId": { +"description": "Account Id for the uploads to retrieve.", +"location": "path", +"pattern": "\\d+", +"required": true, +"type": "string" +}, +"customDataSourceId": { +"description": "Custom data source Id for uploads to retrieve.", +"location": "path", +"pattern": ".{22}", +"required": true, +"type": "string" +}, +"max-results": { +"description": "The maximum number of uploads to include in this response.", +"format": "int32", +"location": "query", +"minimum": "1", +"type": "integer" +}, +"start-index": { +"description": "A 1-based index of the first upload to retrieve. Use this parameter as a pagination mechanism along with the max-results parameter.", +"format": "int32", +"location": "query", +"minimum": "1", +"type": "integer" +}, +"webPropertyId": { +"description": "Web property Id for the uploads to retrieve.", +"location": "path", +"pattern": "UA-(\\d+)-(\\d+)", +"required": true, +"type": "string" +} +}, +"path": "management/accounts/{accountId}/webproperties/{webPropertyId}/customDataSources/{customDataSourceId}/uploads", +"response": { +"$ref": "Uploads" +}, +"scopes": [ +"https://www.googleapis.com/auth/analytics", +"https://www.googleapis.com/auth/analytics.edit", +"https://www.googleapis.com/auth/analytics.readonly" +] +}, +"uploadData": { +"description": "Upload data for a custom data source.", +"httpMethod": "POST", +"id": "analytics.management.uploads.uploadData", +"mediaUpload": { +"accept": [ +"application/octet-stream" +], +"maxSize": "1GB", +"protocols": { +"resumable": { +"multipart": true, +"path": "/resumable/upload/analytics/v3/management/accounts/{accountId}/webproperties/{webPropertyId}/customDataSources/{customDataSourceId}/uploads" +}, +"simple": { +"multipart": true, +"path": "/upload/analytics/v3/management/accounts/{accountId}/webproperties/{webPropertyId}/customDataSources/{customDataSourceId}/uploads" +} +} +}, +"parameterOrder": [ +"accountId", +"webPropertyId", +"customDataSourceId" +], +"parameters": { +"accountId": { +"description": "Account Id associated with the upload.", +"location": "path", +"pattern": "\\d+", +"required": true, +"type": "string" +}, +"customDataSourceId": { +"description": "Custom data source Id to which the data being uploaded belongs.", +"location": "path", +"required": true, +"type": "string" +}, +"webPropertyId": { +"description": "Web property UA-string associated with the upload.", +"location": "path", +"pattern": "UA-\\d+-\\d+", +"required": true, +"type": "string" +} +}, +"path": "management/accounts/{accountId}/webproperties/{webPropertyId}/customDataSources/{customDataSourceId}/uploads", +"response": { +"$ref": "Upload" +}, +"scopes": [ +"https://www.googleapis.com/auth/analytics", +"https://www.googleapis.com/auth/analytics.edit" +], +"supportsMediaUpload": true +} +} +}, +"webPropertyAdWordsLinks": { +"methods": { +"delete": { +"description": "Deletes a web property-Google Ads link.", +"httpMethod": "DELETE", +"id": "analytics.management.webPropertyAdWordsLinks.delete", +"parameterOrder": [ +"accountId", +"webPropertyId", +"webPropertyAdWordsLinkId" +], +"parameters": { +"accountId": { +"description": "ID of the account which the given web property belongs to.", +"location": "path", +"required": true, +"type": "string" +}, +"webPropertyAdWordsLinkId": { +"description": "Web property Google Ads link ID.", +"location": "path", +"required": true, +"type": "string" +}, +"webPropertyId": { +"description": "Web property ID to delete the Google Ads link for.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "management/accounts/{accountId}/webproperties/{webPropertyId}/entityAdWordsLinks/{webPropertyAdWordsLinkId}", +"scopes": [ +"https://www.googleapis.com/auth/analytics.edit" +] +}, +"get": { +"description": "Returns a web property-Google Ads link to which the user has access.", +"httpMethod": "GET", +"id": "analytics.management.webPropertyAdWordsLinks.get", +"parameterOrder": [ +"accountId", +"webPropertyId", +"webPropertyAdWordsLinkId" +], +"parameters": { +"accountId": { +"description": "ID of the account which the given web property belongs to.", +"location": "path", +"required": true, +"type": "string" +}, +"webPropertyAdWordsLinkId": { +"description": "Web property-Google Ads link ID.", +"location": "path", +"required": true, +"type": "string" +}, +"webPropertyId": { +"description": "Web property ID to retrieve the Google Ads link for.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "management/accounts/{accountId}/webproperties/{webPropertyId}/entityAdWordsLinks/{webPropertyAdWordsLinkId}", +"response": { +"$ref": "EntityAdWordsLink" +}, +"scopes": [ +"https://www.googleapis.com/auth/analytics.edit", +"https://www.googleapis.com/auth/analytics.readonly" +] +}, +"insert": { +"description": "Creates a webProperty-Google Ads link.", +"httpMethod": "POST", +"id": "analytics.management.webPropertyAdWordsLinks.insert", +"parameterOrder": [ +"accountId", +"webPropertyId" +], +"parameters": { +"accountId": { +"description": "ID of the Google Analytics account to create the link for.", +"location": "path", +"required": true, +"type": "string" +}, +"webPropertyId": { +"description": "Web property ID to create the link for.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "management/accounts/{accountId}/webproperties/{webPropertyId}/entityAdWordsLinks", +"request": { +"$ref": "EntityAdWordsLink" +}, +"response": { +"$ref": "EntityAdWordsLink" +}, +"scopes": [ +"https://www.googleapis.com/auth/analytics.edit" +] +}, +"list": { +"description": "Lists webProperty-Google Ads links for a given web property.", +"httpMethod": "GET", +"id": "analytics.management.webPropertyAdWordsLinks.list", +"parameterOrder": [ +"accountId", +"webPropertyId" +], +"parameters": { +"accountId": { +"description": "ID of the account which the given web property belongs to.", +"location": "path", +"pattern": "\\d+", +"required": true, +"type": "string" +}, +"max-results": { +"description": "The maximum number of webProperty-Google Ads links to include in this response.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"start-index": { +"description": "An index of the first webProperty-Google Ads link to retrieve. Use this parameter as a pagination mechanism along with the max-results parameter.", +"format": "int32", +"location": "query", +"minimum": "1", +"type": "integer" +}, +"webPropertyId": { +"description": "Web property ID to retrieve the Google Ads links for.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "management/accounts/{accountId}/webproperties/{webPropertyId}/entityAdWordsLinks", +"response": { +"$ref": "EntityAdWordsLinks" +}, +"scopes": [ +"https://www.googleapis.com/auth/analytics.edit", +"https://www.googleapis.com/auth/analytics.readonly" +] +}, +"patch": { +"description": "Updates an existing webProperty-Google Ads link. This method supports patch semantics.", +"httpMethod": "PATCH", +"id": "analytics.management.webPropertyAdWordsLinks.patch", +"parameterOrder": [ +"accountId", +"webPropertyId", +"webPropertyAdWordsLinkId" +], +"parameters": { +"accountId": { +"description": "ID of the account which the given web property belongs to.", +"location": "path", +"required": true, +"type": "string" +}, +"webPropertyAdWordsLinkId": { +"description": "Web property-Google Ads link ID.", +"location": "path", +"required": true, +"type": "string" +}, +"webPropertyId": { +"description": "Web property ID to retrieve the Google Ads link for.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "management/accounts/{accountId}/webproperties/{webPropertyId}/entityAdWordsLinks/{webPropertyAdWordsLinkId}", +"request": { +"$ref": "EntityAdWordsLink" +}, +"response": { +"$ref": "EntityAdWordsLink" +}, +"scopes": [ +"https://www.googleapis.com/auth/analytics.edit" +] +}, +"update": { +"description": "Updates an existing webProperty-Google Ads link.", +"httpMethod": "PUT", +"id": "analytics.management.webPropertyAdWordsLinks.update", +"parameterOrder": [ +"accountId", +"webPropertyId", +"webPropertyAdWordsLinkId" +], +"parameters": { +"accountId": { +"description": "ID of the account which the given web property belongs to.", +"location": "path", +"required": true, +"type": "string" +}, +"webPropertyAdWordsLinkId": { +"description": "Web property-Google Ads link ID.", +"location": "path", +"required": true, +"type": "string" +}, +"webPropertyId": { +"description": "Web property ID to retrieve the Google Ads link for.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "management/accounts/{accountId}/webproperties/{webPropertyId}/entityAdWordsLinks/{webPropertyAdWordsLinkId}", +"request": { +"$ref": "EntityAdWordsLink" +}, +"response": { +"$ref": "EntityAdWordsLink" +}, +"scopes": [ +"https://www.googleapis.com/auth/analytics.edit" +] +} +} +}, +"webproperties": { +"methods": { +"get": { +"description": "Gets a web property to which the user has access.", +"httpMethod": "GET", +"id": "analytics.management.webproperties.get", +"parameterOrder": [ +"accountId", +"webPropertyId" +], +"parameters": { +"accountId": { +"description": "Account ID to retrieve the web property for.", +"location": "path", +"pattern": "[0-9]+", +"required": true, +"type": "string" +}, +"webPropertyId": { +"description": "ID to retrieve the web property for.", +"location": "path", +"pattern": "UA-[0-9]+-[0-9]+", +"required": true, +"type": "string" +} +}, +"path": "management/accounts/{accountId}/webproperties/{webPropertyId}", +"response": { +"$ref": "Webproperty" +}, +"scopes": [ +"https://www.googleapis.com/auth/analytics.edit", +"https://www.googleapis.com/auth/analytics.readonly" +] +}, +"insert": { +"description": "Create a new property if the account has fewer than 20 properties. Web properties are visible in the Google Analytics interface only if they have at least one profile.", +"httpMethod": "POST", +"id": "analytics.management.webproperties.insert", +"parameterOrder": [ +"accountId" +], +"parameters": { +"accountId": { +"description": "Account ID to create the web property for.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "management/accounts/{accountId}/webproperties", +"request": { +"$ref": "Webproperty" +}, +"response": { +"$ref": "Webproperty" +}, +"scopes": [ +"https://www.googleapis.com/auth/analytics.edit" +] +}, +"list": { +"description": "Lists web properties to which the user has access.", +"httpMethod": "GET", +"id": "analytics.management.webproperties.list", +"parameterOrder": [ +"accountId" +], +"parameters": { +"accountId": { +"description": "Account ID to retrieve web properties for. Can either be a specific account ID or '~all', which refers to all the accounts that user has access to.", +"location": "path", +"required": true, +"type": "string" +}, +"max-results": { +"description": "The maximum number of web properties to include in this response.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"start-index": { +"description": "An index of the first entity to retrieve. Use this parameter as a pagination mechanism along with the max-results parameter.", +"format": "int32", +"location": "query", +"minimum": "1", +"type": "integer" +} +}, +"path": "management/accounts/{accountId}/webproperties", +"response": { +"$ref": "Webproperties" +}, +"scopes": [ +"https://www.googleapis.com/auth/analytics", +"https://www.googleapis.com/auth/analytics.edit", +"https://www.googleapis.com/auth/analytics.readonly" +] +}, +"patch": { +"description": "Updates an existing web property. This method supports patch semantics.", +"httpMethod": "PATCH", +"id": "analytics.management.webproperties.patch", +"parameterOrder": [ +"accountId", +"webPropertyId" +], +"parameters": { +"accountId": { +"description": "Account ID to which the web property belongs", +"location": "path", +"required": true, +"type": "string" +}, +"webPropertyId": { +"description": "Web property ID", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "management/accounts/{accountId}/webproperties/{webPropertyId}", +"request": { +"$ref": "Webproperty" +}, +"response": { +"$ref": "Webproperty" +}, +"scopes": [ +"https://www.googleapis.com/auth/analytics.edit" +] +}, +"update": { +"description": "Updates an existing web property.", +"httpMethod": "PUT", +"id": "analytics.management.webproperties.update", +"parameterOrder": [ +"accountId", +"webPropertyId" +], +"parameters": { +"accountId": { +"description": "Account ID to which the web property belongs", +"location": "path", +"required": true, +"type": "string" +}, +"webPropertyId": { +"description": "Web property ID", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "management/accounts/{accountId}/webproperties/{webPropertyId}", +"request": { +"$ref": "Webproperty" +}, +"response": { +"$ref": "Webproperty" +}, +"scopes": [ +"https://www.googleapis.com/auth/analytics.edit" +] +} +} +}, +"webpropertyUserLinks": { +"methods": { +"delete": { +"description": "Removes a user from the given web property.", +"httpMethod": "DELETE", +"id": "analytics.management.webpropertyUserLinks.delete", +"parameterOrder": [ +"accountId", +"webPropertyId", +"linkId" +], +"parameters": { +"accountId": { +"description": "Account ID to delete the user link for.", +"location": "path", +"required": true, +"type": "string" +}, +"linkId": { +"description": "Link ID to delete the user link for.", +"location": "path", +"required": true, +"type": "string" +}, +"webPropertyId": { +"description": "Web Property ID to delete the user link for.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "management/accounts/{accountId}/webproperties/{webPropertyId}/entityUserLinks/{linkId}", +"scopes": [ +"https://www.googleapis.com/auth/analytics.manage.users" +] +}, +"insert": { +"description": "Adds a new user to the given web property.", +"httpMethod": "POST", +"id": "analytics.management.webpropertyUserLinks.insert", +"parameterOrder": [ +"accountId", +"webPropertyId" +], +"parameters": { +"accountId": { +"description": "Account ID to create the user link for.", +"location": "path", +"required": true, +"type": "string" +}, +"webPropertyId": { +"description": "Web Property ID to create the user link for.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "management/accounts/{accountId}/webproperties/{webPropertyId}/entityUserLinks", +"request": { +"$ref": "EntityUserLink" +}, +"response": { +"$ref": "EntityUserLink" +}, +"scopes": [ +"https://www.googleapis.com/auth/analytics.manage.users" +] +}, +"list": { +"description": "Lists webProperty-user links for a given web property.", +"httpMethod": "GET", +"id": "analytics.management.webpropertyUserLinks.list", +"parameterOrder": [ +"accountId", +"webPropertyId" +], +"parameters": { +"accountId": { +"description": "Account ID which the given web property belongs to.", +"location": "path", +"required": true, +"type": "string" +}, +"max-results": { +"description": "The maximum number of webProperty-user Links to include in this response.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"start-index": { +"description": "An index of the first webProperty-user link to retrieve. Use this parameter as a pagination mechanism along with the max-results parameter.", +"format": "int32", +"location": "query", +"minimum": "1", +"type": "integer" +}, +"webPropertyId": { +"description": "Web Property ID for the webProperty-user links to retrieve. Can either be a specific web property ID or '~all', which refers to all the web properties that user has access to.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "management/accounts/{accountId}/webproperties/{webPropertyId}/entityUserLinks", +"response": { +"$ref": "EntityUserLinks" +}, +"scopes": [ +"https://www.googleapis.com/auth/analytics.manage.users", +"https://www.googleapis.com/auth/analytics.manage.users.readonly" +] +}, +"update": { +"description": "Updates permissions for an existing user on the given web property.", +"httpMethod": "PUT", +"id": "analytics.management.webpropertyUserLinks.update", +"parameterOrder": [ +"accountId", +"webPropertyId", +"linkId" +], +"parameters": { +"accountId": { +"description": "Account ID to update the account-user link for.", +"location": "path", +"required": true, +"type": "string" +}, +"linkId": { +"description": "Link ID to update the account-user link for.", +"location": "path", +"required": true, +"type": "string" +}, +"webPropertyId": { +"description": "Web property ID to update the account-user link for.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "management/accounts/{accountId}/webproperties/{webPropertyId}/entityUserLinks/{linkId}", +"request": { +"$ref": "EntityUserLink" +}, +"response": { +"$ref": "EntityUserLink" +}, +"scopes": [ +"https://www.googleapis.com/auth/analytics.manage.users" +] +} +} +} +} +}, +"metadata": { +"resources": { +"columns": { +"methods": { +"list": { +"description": "Lists all columns for a report type", +"httpMethod": "GET", +"id": "analytics.metadata.columns.list", +"parameterOrder": [ +"reportType" +], +"parameters": { +"reportType": { +"description": "Report type. Allowed Values: 'ga'. Where 'ga' corresponds to the Core Reporting API", +"location": "path", +"pattern": "ga", +"required": true, +"type": "string" +} +}, +"path": "metadata/{reportType}/columns", +"response": { +"$ref": "Columns" +}, +"scopes": [ +"https://www.googleapis.com/auth/analytics", +"https://www.googleapis.com/auth/analytics.edit", +"https://www.googleapis.com/auth/analytics.readonly" +] +} +} +} +} +}, +"provisioning": { +"methods": { +"createAccountTicket": { +"description": "Creates an account ticket.", +"httpMethod": "POST", +"id": "analytics.provisioning.createAccountTicket", +"path": "provisioning/createAccountTicket", +"request": { +"$ref": "AccountTicket" +}, +"response": { +"$ref": "AccountTicket" +}, +"scopes": [ +"https://www.googleapis.com/auth/analytics.provision" +] +}, +"createAccountTree": { +"description": "Provision account.", +"httpMethod": "POST", +"id": "analytics.provisioning.createAccountTree", +"path": "provisioning/createAccountTree", +"request": { +"$ref": "AccountTreeRequest" +}, +"response": { +"$ref": "AccountTreeResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/analytics.provision" +] +} +} +}, +"userDeletion": { +"resources": { +"userDeletionRequest": { +"methods": { +"upsert": { +"description": "Insert or update a user deletion requests.", +"httpMethod": "POST", +"id": "analytics.userDeletion.userDeletionRequest.upsert", +"path": "userDeletion/userDeletionRequests:upsert", +"request": { +"$ref": "UserDeletionRequest" +}, +"response": { +"$ref": "UserDeletionRequest" +}, +"scopes": [ +"https://www.googleapis.com/auth/analytics.user.deletion" +] +} +} +} +} +} +}, +"revision": "20190807", +"rootUrl": "https://analytics.googleapis.com/", +"schemas": { +"Account": { +"description": "JSON template for Analytics account entry.", +"id": "Account", +"properties": { +"childLink": { +"description": "Child link for an account entry. Points to the list of web properties for this account.", +"properties": { +"href": { +"description": "Link to the list of web properties for this account.", +"type": "string" +}, +"type": { +"default": "analytics#webproperties", +"description": "Type of the child link. Its value is \"analytics#webproperties\".", +"type": "string" +} +}, +"type": "object" +}, +"created": { +"description": "Time the account was created.", +"format": "date-time", +"type": "string" +}, +"id": { +"description": "Account ID.", +"type": "string" +}, +"kind": { +"default": "analytics#account", +"description": "Resource type for Analytics account.", +"type": "string" +}, +"name": { +"description": "Account name.", +"type": "string" +}, +"permissions": { +"description": "Permissions the user has for this account.", +"properties": { +"effective": { +"description": "All the permissions that the user has for this account. These include any implied permissions (e.g., EDIT implies VIEW).", +"items": { +"type": "string" +}, +"readOnly": true, +"type": "array" +} +}, +"type": "object" +}, +"selfLink": { +"description": "Link for this account.", +"type": "string" +}, +"starred": { +"description": "Indicates whether this account is starred or not.", +"type": "boolean" +}, +"updated": { +"description": "Time the account was last modified.", +"format": "date-time", +"type": "string" +} +}, +"type": "object" +}, +"AccountRef": { +"description": "JSON template for a linked account.", +"id": "AccountRef", +"properties": { +"href": { +"description": "Link for this account.", +"type": "string" +}, +"id": { +"description": "Account ID.", +"type": "string" +}, +"kind": { +"default": "analytics#accountRef", +"description": "Analytics account reference.", +"type": "string" +}, +"name": { +"description": "Account name.", +"type": "string" +} +}, +"type": "object" +}, +"AccountSummaries": { +"description": "An AccountSummary collection lists a summary of accounts, properties and views (profiles) to which the user has access. Each resource in the collection corresponds to a single AccountSummary.", +"id": "AccountSummaries", +"properties": { +"items": { +"description": "A list of AccountSummaries.", +"items": { +"$ref": "AccountSummary" +}, +"type": "array" +}, +"itemsPerPage": { +"description": "The maximum number of resources the response can contain, regardless of the actual number of resources returned. Its value ranges from 1 to 1000 with a value of 1000 by default, or otherwise specified by the max-results query parameter.", +"format": "int32", +"type": "integer" +}, +"kind": { +"default": "analytics#accountSummaries", +"description": "Collection type.", +"type": "string" +}, +"nextLink": { +"description": "Link to next page for this AccountSummary collection.", +"type": "string" +}, +"previousLink": { +"description": "Link to previous page for this AccountSummary collection.", +"type": "string" +}, +"startIndex": { +"description": "The starting index of the resources, which is 1 by default or otherwise specified by the start-index query parameter.", +"format": "int32", +"type": "integer" +}, +"totalResults": { +"description": "The total number of results for the query, regardless of the number of results in the response.", +"format": "int32", +"type": "integer" +}, +"username": { +"description": "Email ID of the authenticated user", +"type": "string" +} +}, +"type": "object" +}, +"AccountSummary": { +"description": "JSON template for an Analytics AccountSummary. An AccountSummary is a lightweight tree comprised of properties/profiles.", +"id": "AccountSummary", +"properties": { +"id": { +"description": "Account ID.", +"type": "string" +}, +"kind": { +"default": "analytics#accountSummary", +"description": "Resource type for Analytics AccountSummary.", +"type": "string" +}, +"name": { +"description": "Account name.", +"type": "string" +}, +"starred": { +"description": "Indicates whether this account is starred or not.", +"type": "boolean" +}, +"webProperties": { +"description": "List of web properties under this account.", +"items": { +"$ref": "WebPropertySummary" +}, +"type": "array" +} +}, +"type": "object" +}, +"AccountTicket": { +"description": "JSON template for an Analytics account ticket. The account ticket consists of the ticket ID and the basic information for the account, property and profile.", +"id": "AccountTicket", +"properties": { +"account": { +"$ref": "Account", +"description": "Account for this ticket." +}, +"id": { +"description": "Account ticket ID used to access the account ticket.", +"type": "string" +}, +"kind": { +"default": "analytics#accountTicket", +"description": "Resource type for account ticket.", +"type": "string" +}, +"profile": { +"$ref": "Profile", +"description": "View (Profile) for the account." +}, +"redirectUri": { +"description": "Redirect URI where the user will be sent after accepting Terms of Service. Must be configured in APIs console as a callback URL.", +"type": "string" +}, +"webproperty": { +"$ref": "Webproperty", +"description": "Web property for the account." +} +}, +"type": "object" +}, +"AccountTreeRequest": { +"description": "JSON template for an Analytics account tree requests. The account tree request is used in the provisioning api to create an account, property, and view (profile). It contains the basic information required to make these fields.", +"id": "AccountTreeRequest", +"properties": { +"accountName": { +"annotations": { +"required": [ +"analytics.provisioning.createAccountTree" +] +}, +"type": "string" +}, +"kind": { +"default": "analytics#accountTreeRequest", +"description": "Resource type for account ticket.", +"type": "string" +}, +"profileName": { +"annotations": { +"required": [ +"analytics.provisioning.createAccountTree" +] +}, +"type": "string" +}, +"timezone": { +"annotations": { +"required": [ +"analytics.provisioning.createAccountTree" +] +}, +"type": "string" +}, +"webpropertyName": { +"annotations": { +"required": [ +"analytics.provisioning.createAccountTree" +] +}, +"type": "string" +}, +"websiteUrl": { +"annotations": { +"required": [ +"analytics.provisioning.createAccountTree" +] +}, +"type": "string" +} +}, +"type": "object" +}, +"AccountTreeResponse": { +"description": "JSON template for an Analytics account tree response. The account tree response is used in the provisioning api to return the result of creating an account, property, and view (profile).", +"id": "AccountTreeResponse", +"properties": { +"account": { +"$ref": "Account", +"description": "The account created." +}, +"kind": { +"default": "analytics#accountTreeResponse", +"description": "Resource type for account ticket.", +"type": "string" +}, +"profile": { +"$ref": "Profile", +"description": "View (Profile) for the account." +}, +"webproperty": { +"$ref": "Webproperty", +"description": "Web property for the account." +} +}, +"type": "object" +}, +"Accounts": { +"description": "An account collection provides a list of Analytics accounts to which a user has access. The account collection is the entry point to all management information. Each resource in the collection corresponds to a single Analytics account.", +"id": "Accounts", +"properties": { +"items": { +"description": "A list of accounts.", +"items": { +"$ref": "Account" +}, +"type": "array" +}, +"itemsPerPage": { +"description": "The maximum number of entries the response can contain, regardless of the actual number of entries returned. Its value ranges from 1 to 1000 with a value of 1000 by default, or otherwise specified by the max-results query parameter.", +"format": "int32", +"type": "integer" +}, +"kind": { +"default": "analytics#accounts", +"description": "Collection type.", +"type": "string" +}, +"nextLink": { +"description": "Next link for this account collection.", +"type": "string" +}, +"previousLink": { +"description": "Previous link for this account collection.", +"type": "string" +}, +"startIndex": { +"description": "The starting index of the entries, which is 1 by default or otherwise specified by the start-index query parameter.", +"format": "int32", +"type": "integer" +}, +"totalResults": { +"description": "The total number of results for the query, regardless of the number of results in the response.", +"format": "int32", +"type": "integer" +}, +"username": { +"description": "Email ID of the authenticated user", +"type": "string" +} +}, +"type": "object" +}, +"AdWordsAccount": { +"description": "JSON template for an Google Ads account.", +"id": "AdWordsAccount", +"properties": { +"autoTaggingEnabled": { +"description": "True if auto-tagging is enabled on the Google Ads account. Read-only after the insert operation.", +"type": "boolean" +}, +"customerId": { +"annotations": { +"required": [ +"analytics.management.webPropertyAdWordsLinks.insert", +"analytics.management.webPropertyAdWordsLinks.update" +] +}, +"description": "Customer ID. This field is required when creating a Google Ads link.", +"type": "string" +}, +"kind": { +"default": "analytics#adWordsAccount", +"description": "Resource type for Google Ads account.", +"type": "string" +} +}, +"type": "object" +}, +"AnalyticsDataimportDeleteUploadDataRequest": { +"description": "Request template for the delete upload data request.", +"id": "AnalyticsDataimportDeleteUploadDataRequest", +"properties": { +"customDataImportUids": { +"description": "A list of upload UIDs.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"Column": { +"description": "JSON template for a metadata column.", +"id": "Column", +"properties": { +"attributes": { +"additionalProperties": { +"description": "The name of the attribute.", +"type": "string" +}, +"description": "Map of attribute name and value for this column.", +"type": "object" +}, +"id": { +"description": "Column id.", +"type": "string" +}, +"kind": { +"default": "analytics#column", +"description": "Resource type for Analytics column.", +"type": "string" +} +}, +"type": "object" +}, +"Columns": { +"description": "Lists columns (dimensions and metrics) for a particular report type.", +"id": "Columns", +"properties": { +"attributeNames": { +"description": "List of attributes names returned by columns.", +"items": { +"type": "string" +}, +"type": "array" +}, +"etag": { +"description": "Etag of collection. This etag can be compared with the last response etag to check if response has changed.", +"type": "string" +}, +"items": { +"description": "List of columns for a report type.", +"items": { +"$ref": "Column" +}, +"type": "array" +}, +"kind": { +"default": "analytics#columns", +"description": "Collection type.", +"type": "string" +}, +"totalResults": { +"description": "Total number of columns returned in the response.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"CustomDataSource": { +"description": "JSON template for an Analytics custom data source.", +"id": "CustomDataSource", +"properties": { +"accountId": { +"description": "Account ID to which this custom data source belongs.", +"type": "string" +}, +"childLink": { +"properties": { +"href": { +"description": "Link to the list of daily uploads for this custom data source. Link to the list of uploads for this custom data source.", +"type": "string" +}, +"type": { +"description": "Value is \"analytics#dailyUploads\". Value is \"analytics#uploads\".", +"type": "string" +} +}, +"type": "object" +}, +"created": { +"description": "Time this custom data source was created.", +"format": "date-time", +"type": "string" +}, +"description": { +"description": "Description of custom data source.", +"type": "string" +}, +"id": { +"description": "Custom data source ID.", +"type": "string" +}, +"importBehavior": { +"type": "string" +}, +"kind": { +"default": "analytics#customDataSource", +"description": "Resource type for Analytics custom data source.", +"type": "string" +}, +"name": { +"description": "Name of this custom data source.", +"type": "string" +}, +"parentLink": { +"description": "Parent link for this custom data source. Points to the web property to which this custom data source belongs.", +"properties": { +"href": { +"description": "Link to the web property to which this custom data source belongs.", +"type": "string" +}, +"type": { +"default": "analytics#webproperty", +"description": "Value is \"analytics#webproperty\".", +"type": "string" +} +}, +"type": "object" +}, +"profilesLinked": { +"description": "IDs of views (profiles) linked to the custom data source.", +"items": { +"type": "string" +}, +"type": "array" +}, +"schema": { +"description": "Collection of schema headers of the custom data source.", +"items": { +"type": "string" +}, +"type": "array" +}, +"selfLink": { +"description": "Link for this Analytics custom data source.", +"type": "string" +}, +"type": { +"description": "Type of the custom data source.", +"type": "string" +}, +"updated": { +"description": "Time this custom data source was last modified.", +"format": "date-time", +"type": "string" +}, +"uploadType": { +"description": "Upload type of the custom data source.", +"type": "string" +}, +"webPropertyId": { +"description": "Web property ID of the form UA-XXXXX-YY to which this custom data source belongs.", +"type": "string" +} +}, +"type": "object" +}, +"CustomDataSources": { +"description": "Lists Analytics custom data sources to which the user has access. Each resource in the collection corresponds to a single Analytics custom data source.", +"id": "CustomDataSources", +"properties": { +"items": { +"description": "Collection of custom data sources.", +"items": { +"$ref": "CustomDataSource" +}, +"type": "array" +}, +"itemsPerPage": { +"description": "The maximum number of resources the response can contain, regardless of the actual number of resources returned. Its value ranges from 1 to 1000 with a value of 1000 by default, or otherwise specified by the max-results query parameter.", +"format": "int32", +"type": "integer" +}, +"kind": { +"default": "analytics#customDataSources", +"description": "Collection type.", +"type": "string" +}, +"nextLink": { +"description": "Link to next page for this custom data source collection.", +"type": "string" +}, +"previousLink": { +"description": "Link to previous page for this custom data source collection.", +"type": "string" +}, +"startIndex": { +"description": "The starting index of the resources, which is 1 by default or otherwise specified by the start-index query parameter.", +"format": "int32", +"type": "integer" +}, +"totalResults": { +"description": "The total number of results for the query, regardless of the number of results in the response.", +"format": "int32", +"type": "integer" +}, +"username": { +"description": "Email ID of the authenticated user", +"type": "string" +} +}, +"type": "object" +}, +"CustomDimension": { +"description": "JSON template for Analytics Custom Dimension.", +"id": "CustomDimension", +"properties": { +"accountId": { +"description": "Account ID.", +"type": "string" +}, +"active": { +"description": "Boolean indicating whether the custom dimension is active.", +"type": "boolean" +}, +"created": { +"description": "Time the custom dimension was created.", +"format": "date-time", +"readOnly": true, +"type": "string" +}, +"id": { +"description": "Custom dimension ID.", +"type": "string" +}, +"index": { +"description": "Index of the custom dimension.", +"format": "int32", +"readOnly": true, +"type": "integer" +}, +"kind": { +"default": "analytics#customDimension", +"description": "Kind value for a custom dimension. Set to \"analytics#customDimension\". It is a read-only field.", +"readOnly": true, +"type": "string" +}, +"name": { +"description": "Name of the custom dimension.", +"type": "string" +}, +"parentLink": { +"description": "Parent link for the custom dimension. Points to the property to which the custom dimension belongs.", +"properties": { +"href": { +"description": "Link to the property to which the custom dimension belongs.", +"type": "string" +}, +"type": { +"default": "analytics#webproperty", +"description": "Type of the parent link. Set to \"analytics#webproperty\".", +"type": "string" +} +}, +"type": "object" +}, +"scope": { +"description": "Scope of the custom dimension: HIT, SESSION, USER or PRODUCT.", +"type": "string" +}, +"selfLink": { +"description": "Link for the custom dimension", +"readOnly": true, +"type": "string" +}, +"updated": { +"description": "Time the custom dimension was last modified.", +"format": "date-time", +"readOnly": true, +"type": "string" +}, +"webPropertyId": { +"description": "Property ID.", +"type": "string" +} +}, +"type": "object" +}, +"CustomDimensions": { +"description": "A custom dimension collection lists Analytics custom dimensions to which the user has access. Each resource in the collection corresponds to a single Analytics custom dimension.", +"id": "CustomDimensions", +"properties": { +"items": { +"description": "Collection of custom dimensions.", +"items": { +"$ref": "CustomDimension" +}, +"type": "array" +}, +"itemsPerPage": { +"description": "The maximum number of resources the response can contain, regardless of the actual number of resources returned. Its value ranges from 1 to 1000 with a value of 1000 by default, or otherwise specified by the max-results query parameter.", +"format": "int32", +"type": "integer" +}, +"kind": { +"default": "analytics#customDimensions", +"description": "Collection type.", +"type": "string" +}, +"nextLink": { +"description": "Link to next page for this custom dimension collection.", +"type": "string" +}, +"previousLink": { +"description": "Link to previous page for this custom dimension collection.", +"type": "string" +}, +"startIndex": { +"description": "The starting index of the resources, which is 1 by default or otherwise specified by the start-index query parameter.", +"format": "int32", +"type": "integer" +}, +"totalResults": { +"description": "The total number of results for the query, regardless of the number of results in the response.", +"format": "int32", +"type": "integer" +}, +"username": { +"description": "Email ID of the authenticated user", +"type": "string" +} +}, +"type": "object" +}, +"CustomMetric": { +"description": "JSON template for Analytics Custom Metric.", +"id": "CustomMetric", +"properties": { +"accountId": { +"description": "Account ID.", +"type": "string" +}, +"active": { +"description": "Boolean indicating whether the custom metric is active.", +"type": "boolean" +}, +"created": { +"description": "Time the custom metric was created.", +"format": "date-time", +"readOnly": true, +"type": "string" +}, +"id": { +"description": "Custom metric ID.", +"type": "string" +}, +"index": { +"description": "Index of the custom metric.", +"format": "int32", +"readOnly": true, +"type": "integer" +}, +"kind": { +"default": "analytics#customMetric", +"description": "Kind value for a custom metric. Set to \"analytics#customMetric\". It is a read-only field.", +"readOnly": true, +"type": "string" +}, +"max_value": { +"description": "Max value of custom metric.", +"type": "string" +}, +"min_value": { +"description": "Min value of custom metric.", +"type": "string" +}, +"name": { +"description": "Name of the custom metric.", +"type": "string" +}, +"parentLink": { +"description": "Parent link for the custom metric. Points to the property to which the custom metric belongs.", +"properties": { +"href": { +"description": "Link to the property to which the custom metric belongs.", +"type": "string" +}, +"type": { +"default": "analytics#webproperty", +"description": "Type of the parent link. Set to \"analytics#webproperty\".", +"type": "string" +} +}, +"type": "object" +}, +"scope": { +"description": "Scope of the custom metric: HIT or PRODUCT.", +"type": "string" +}, +"selfLink": { +"description": "Link for the custom metric", +"readOnly": true, +"type": "string" +}, +"type": { +"description": "Data type of custom metric.", +"type": "string" +}, +"updated": { +"description": "Time the custom metric was last modified.", +"format": "date-time", +"readOnly": true, +"type": "string" +}, +"webPropertyId": { +"description": "Property ID.", +"type": "string" +} +}, +"type": "object" +}, +"CustomMetrics": { +"description": "A custom metric collection lists Analytics custom metrics to which the user has access. Each resource in the collection corresponds to a single Analytics custom metric.", +"id": "CustomMetrics", +"properties": { +"items": { +"description": "Collection of custom metrics.", +"items": { +"$ref": "CustomMetric" +}, +"type": "array" +}, +"itemsPerPage": { +"description": "The maximum number of resources the response can contain, regardless of the actual number of resources returned. Its value ranges from 1 to 1000 with a value of 1000 by default, or otherwise specified by the max-results query parameter.", +"format": "int32", +"type": "integer" +}, +"kind": { +"default": "analytics#customMetrics", +"description": "Collection type.", +"type": "string" +}, +"nextLink": { +"description": "Link to next page for this custom metric collection.", +"type": "string" +}, +"previousLink": { +"description": "Link to previous page for this custom metric collection.", +"type": "string" +}, +"startIndex": { +"description": "The starting index of the resources, which is 1 by default or otherwise specified by the start-index query parameter.", +"format": "int32", +"type": "integer" +}, +"totalResults": { +"description": "The total number of results for the query, regardless of the number of results in the response.", +"format": "int32", +"type": "integer" +}, +"username": { +"description": "Email ID of the authenticated user", +"type": "string" +} +}, +"type": "object" +}, +"EntityAdWordsLink": { +"description": "JSON template for Analytics Entity Google Ads Link.", +"id": "EntityAdWordsLink", +"properties": { +"adWordsAccounts": { +"annotations": { +"required": [ +"analytics.management.webPropertyAdWordsLinks.insert", +"analytics.management.webPropertyAdWordsLinks.update" +] +}, +"description": "A list of Google Ads client accounts. These cannot be MCC accounts. This field is required when creating a Google Ads link. It cannot be empty.", +"items": { +"$ref": "AdWordsAccount" +}, +"type": "array" +}, +"entity": { +"description": "Web property being linked.", +"properties": { +"webPropertyRef": { +"$ref": "WebPropertyRef" +} +}, +"type": "object" +}, +"id": { +"description": "Entity Google Ads link ID", +"type": "string" +}, +"kind": { +"default": "analytics#entityAdWordsLink", +"description": "Resource type for entity Google Ads link.", +"type": "string" +}, +"name": { +"annotations": { +"required": [ +"analytics.management.webPropertyAdWordsLinks.insert", +"analytics.management.webPropertyAdWordsLinks.update" +] +}, +"description": "Name of the link. This field is required when creating a Google Ads link.", +"type": "string" +}, +"profileIds": { +"description": "IDs of linked Views (Profiles) represented as strings.", +"items": { +"type": "string" +}, +"type": "array" +}, +"selfLink": { +"description": "URL link for this Google Analytics - Google Ads link.", +"type": "string" +} +}, +"type": "object" +}, +"EntityAdWordsLinks": { +"description": "An entity Google Ads link collection provides a list of GA-Google Ads links Each resource in this collection corresponds to a single link.", +"id": "EntityAdWordsLinks", +"properties": { +"items": { +"description": "A list of entity Google Ads links.", +"items": { +"$ref": "EntityAdWordsLink" +}, +"type": "array" +}, +"itemsPerPage": { +"description": "The maximum number of entries the response can contain, regardless of the actual number of entries returned. Its value ranges from 1 to 1000 with a value of 1000 by default, or otherwise specified by the max-results query parameter.", +"format": "int32", +"type": "integer" +}, +"kind": { +"default": "analytics#entityAdWordsLinks", +"description": "Collection type.", +"type": "string" +}, +"nextLink": { +"description": "Next link for this Google Ads link collection.", +"type": "string" +}, +"previousLink": { +"description": "Previous link for this Google Ads link collection.", +"type": "string" +}, +"startIndex": { +"description": "The starting index of the entries, which is 1 by default or otherwise specified by the start-index query parameter.", +"format": "int32", +"type": "integer" +}, +"totalResults": { +"description": "The total number of results for the query, regardless of the number of results in the response.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"EntityUserLink": { +"description": "JSON template for an Analytics Entity-User Link. Returns permissions that a user has for an entity.", +"id": "EntityUserLink", +"properties": { +"entity": { +"description": "Entity for this link. It can be an account, a web property, or a view (profile).", +"properties": { +"accountRef": { +"$ref": "AccountRef", +"description": "Account for this link." +}, +"profileRef": { +"$ref": "ProfileRef", +"description": "View (Profile) for this link." +}, +"webPropertyRef": { +"$ref": "WebPropertyRef", +"description": "Web property for this link." +} +}, +"type": "object" +}, +"id": { +"description": "Entity user link ID", +"type": "string" +}, +"kind": { +"default": "analytics#entityUserLink", +"description": "Resource type for entity user link.", +"type": "string" +}, +"permissions": { +"description": "Permissions the user has for this entity.", +"properties": { +"effective": { +"description": "Effective permissions represent all the permissions that a user has for this entity. These include any implied permissions (e.g., EDIT implies VIEW) or inherited permissions from the parent entity. Effective permissions are read-only.", +"items": { +"type": "string" +}, +"readOnly": true, +"type": "array" +}, +"local": { +"description": "Permissions that a user has been assigned at this very level. Does not include any implied or inherited permissions. Local permissions are modifiable.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"selfLink": { +"description": "Self link for this resource.", +"type": "string" +}, +"userRef": { +"$ref": "UserRef", +"description": "User reference." +} +}, +"type": "object" +}, +"EntityUserLinks": { +"description": "An entity user link collection provides a list of Analytics ACL links Each resource in this collection corresponds to a single link.", +"id": "EntityUserLinks", +"properties": { +"items": { +"description": "A list of entity user links.", +"items": { +"$ref": "EntityUserLink" +}, +"type": "array" +}, +"itemsPerPage": { +"description": "The maximum number of entries the response can contain, regardless of the actual number of entries returned. Its value ranges from 1 to 1000 with a value of 1000 by default, or otherwise specified by the max-results query parameter.", +"format": "int32", +"type": "integer" +}, +"kind": { +"default": "analytics#entityUserLinks", +"description": "Collection type.", +"type": "string" +}, +"nextLink": { +"description": "Next link for this account collection.", +"type": "string" +}, +"previousLink": { +"description": "Previous link for this account collection.", +"type": "string" +}, +"startIndex": { +"description": "The starting index of the entries, which is 1 by default or otherwise specified by the start-index query parameter.", +"format": "int32", +"type": "integer" +}, +"totalResults": { +"description": "The total number of results for the query, regardless of the number of results in the response.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"Experiment": { +"description": "JSON template for Analytics experiment resource.", +"id": "Experiment", +"properties": { +"accountId": { +"description": "Account ID to which this experiment belongs. This field is read-only.", +"type": "string" +}, +"created": { +"description": "Time the experiment was created. This field is read-only.", +"format": "date-time", +"type": "string" +}, +"description": { +"description": "Notes about this experiment.", +"type": "string" +}, +"editableInGaUi": { +"description": "If true, the end user will be able to edit the experiment via the Google Analytics user interface.", +"type": "boolean" +}, +"endTime": { +"description": "The ending time of the experiment (the time the status changed from RUNNING to ENDED). This field is present only if the experiment has ended. This field is read-only.", +"format": "date-time", +"type": "string" +}, +"equalWeighting": { +"description": "Boolean specifying whether to distribute traffic evenly across all variations. If the value is False, content experiments follows the default behavior of adjusting traffic dynamically based on variation performance. Optional -- defaults to False. This field may not be changed for an experiment whose status is ENDED.", +"type": "boolean" +}, +"id": { +"annotations": { +"required": [ +"analytics.management.experiments.patch", +"analytics.management.experiments.update" +] +}, +"description": "Experiment ID. Required for patch and update. Disallowed for create.", +"type": "string" +}, +"internalWebPropertyId": { +"description": "Internal ID for the web property to which this experiment belongs. This field is read-only.", +"type": "string" +}, +"kind": { +"default": "analytics#experiment", +"description": "Resource type for an Analytics experiment. This field is read-only.", +"type": "string" +}, +"minimumExperimentLengthInDays": { +"description": "An integer number in [3, 90]. Specifies the minimum length of the experiment. Can be changed for a running experiment. This field may not be changed for an experiments whose status is ENDED.", +"format": "int32", +"type": "integer" +}, +"name": { +"annotations": { +"required": [ +"analytics.management.experiments.insert", +"analytics.management.experiments.update" +] +}, +"description": "Experiment name. This field may not be changed for an experiment whose status is ENDED. This field is required when creating an experiment.", +"type": "string" +}, +"objectiveMetric": { +"description": "The metric that the experiment is optimizing. Valid values: \"ga:goal(n)Completions\", \"ga:adsenseAdsClicks\", \"ga:adsenseAdsViewed\", \"ga:adsenseRevenue\", \"ga:bounces\", \"ga:pageviews\", \"ga:sessionDuration\", \"ga:transactions\", \"ga:transactionRevenue\". This field is required if status is \"RUNNING\" and servingFramework is one of \"REDIRECT\" or \"API\".", +"type": "string" +}, +"optimizationType": { +"description": "Whether the objectiveMetric should be minimized or maximized. Possible values: \"MAXIMUM\", \"MINIMUM\". Optional--defaults to \"MAXIMUM\". Cannot be specified without objectiveMetric. Cannot be modified when status is \"RUNNING\" or \"ENDED\".", +"type": "string" +}, +"parentLink": { +"description": "Parent link for an experiment. Points to the view (profile) to which this experiment belongs.", +"properties": { +"href": { +"description": "Link to the view (profile) to which this experiment belongs. This field is read-only.", +"type": "string" +}, +"type": { +"default": "analytics#profile", +"description": "Value is \"analytics#profile\". This field is read-only.", +"type": "string" +} +}, +"type": "object" +}, +"profileId": { +"description": "View (Profile) ID to which this experiment belongs. This field is read-only.", +"type": "string" +}, +"reasonExperimentEnded": { +"description": "Why the experiment ended. Possible values: \"STOPPED_BY_USER\", \"WINNER_FOUND\", \"EXPERIMENT_EXPIRED\", \"ENDED_WITH_NO_WINNER\", \"GOAL_OBJECTIVE_CHANGED\". \"ENDED_WITH_NO_WINNER\" means that the experiment didn't expire but no winner was projected to be found. If the experiment status is changed via the API to ENDED this field is set to STOPPED_BY_USER. This field is read-only.", +"type": "string" +}, +"rewriteVariationUrlsAsOriginal": { +"description": "Boolean specifying whether variations URLS are rewritten to match those of the original. This field may not be changed for an experiments whose status is ENDED.", +"type": "boolean" +}, +"selfLink": { +"description": "Link for this experiment. This field is read-only.", +"type": "string" +}, +"servingFramework": { +"description": "The framework used to serve the experiment variations and evaluate the results. One of: \n- REDIRECT: Google Analytics redirects traffic to different variation pages, reports the chosen variation and evaluates the results.\n- API: Google Analytics chooses and reports the variation to serve and evaluates the results; the caller is responsible for serving the selected variation.\n- EXTERNAL: The variations will be served externally and the chosen variation reported to Google Analytics. The caller is responsible for serving the selected variation and evaluating the results.", +"type": "string" +}, +"snippet": { +"description": "The snippet of code to include on the control page(s). This field is read-only.", +"type": "string" +}, +"startTime": { +"description": "The starting time of the experiment (the time the status changed from READY_TO_RUN to RUNNING). This field is present only if the experiment has started. This field is read-only.", +"format": "date-time", +"type": "string" +}, +"status": { +"annotations": { +"required": [ +"analytics.management.experiments.insert", +"analytics.management.experiments.update" +] +}, +"description": "Experiment status. Possible values: \"DRAFT\", \"READY_TO_RUN\", \"RUNNING\", \"ENDED\". Experiments can be created in the \"DRAFT\", \"READY_TO_RUN\" or \"RUNNING\" state. This field is required when creating an experiment.", +"type": "string" +}, +"trafficCoverage": { +"description": "A floating-point number in (0, 1]. Specifies the fraction of the traffic that participates in the experiment. Can be changed for a running experiment. This field may not be changed for an experiments whose status is ENDED.", +"format": "double", +"type": "number" +}, +"updated": { +"description": "Time the experiment was last modified. This field is read-only.", +"format": "date-time", +"type": "string" +}, +"variations": { +"description": "Array of variations. The first variation in the array is the original. The number of variations may not change once an experiment is in the RUNNING state. At least two variations are required before status can be set to RUNNING.", +"items": { +"properties": { +"name": { +"annotations": { +"required": [ +"analytics.management.experiments.insert", +"analytics.management.experiments.update" +] +}, +"description": "The name of the variation. This field is required when creating an experiment. This field may not be changed for an experiment whose status is ENDED.", +"type": "string" +}, +"status": { +"description": "Status of the variation. Possible values: \"ACTIVE\", \"INACTIVE\". INACTIVE variations are not served. This field may not be changed for an experiment whose status is ENDED.", +"type": "string" +}, +"url": { +"description": "The URL of the variation. This field may not be changed for an experiment whose status is RUNNING or ENDED.", +"type": "string" +}, +"weight": { +"description": "Weight that this variation should receive. Only present if the experiment is running. This field is read-only.", +"format": "double", +"type": "number" +}, +"won": { +"description": "True if the experiment has ended and this variation performed (statistically) significantly better than the original. This field is read-only.", +"type": "boolean" +} +}, +"type": "object" +}, +"type": "array" +}, +"webPropertyId": { +"description": "Web property ID to which this experiment belongs. The web property ID is of the form UA-XXXXX-YY. This field is read-only.", +"type": "string" +}, +"winnerConfidenceLevel": { +"description": "A floating-point number in (0, 1). Specifies the necessary confidence level to choose a winner. This field may not be changed for an experiments whose status is ENDED.", +"format": "double", +"type": "number" +}, +"winnerFound": { +"description": "Boolean specifying whether a winner has been found for this experiment. This field is read-only.", +"type": "boolean" +} +}, +"type": "object" +}, +"Experiments": { +"description": "An experiment collection lists Analytics experiments to which the user has access. Each view (profile) can have a set of experiments. Each resource in the Experiment collection corresponds to a single Analytics experiment.", +"id": "Experiments", +"properties": { +"items": { +"description": "A list of experiments.", +"items": { +"$ref": "Experiment" +}, +"type": "array" +}, +"itemsPerPage": { +"description": "The maximum number of resources the response can contain, regardless of the actual number of resources returned. Its value ranges from 1 to 1000 with a value of 1000 by default, or otherwise specified by the max-results query parameter.", +"format": "int32", +"type": "integer" +}, +"kind": { +"default": "analytics#experiments", +"description": "Collection type.", +"type": "string" +}, +"nextLink": { +"description": "Link to next page for this experiment collection.", +"type": "string" +}, +"previousLink": { +"description": "Link to previous page for this experiment collection.", +"type": "string" +}, +"startIndex": { +"description": "The starting index of the resources, which is 1 by default or otherwise specified by the start-index query parameter.", +"format": "int32", +"type": "integer" +}, +"totalResults": { +"description": "The total number of results for the query, regardless of the number of resources in the result.", +"format": "int32", +"type": "integer" +}, +"username": { +"description": "Email ID of the authenticated user", +"type": "string" +} +}, +"type": "object" +}, +"Filter": { +"description": "JSON template for an Analytics account filter.", +"id": "Filter", +"properties": { +"accountId": { +"description": "Account ID to which this filter belongs.", +"type": "string" +}, +"advancedDetails": { +"description": "Details for the filter of the type ADVANCED.", +"properties": { +"caseSensitive": { +"description": "Indicates if the filter expressions are case sensitive.", +"type": "boolean" +}, +"extractA": { +"description": "Expression to extract from field A.", +"type": "string" +}, +"extractB": { +"description": "Expression to extract from field B.", +"type": "string" +}, +"fieldA": { +"description": "Field A.", +"type": "string" +}, +"fieldAIndex": { +"description": "The Index of the custom dimension. Required if field is a CUSTOM_DIMENSION.", +"format": "int32", +"type": "integer" +}, +"fieldARequired": { +"description": "Indicates if field A is required to match.", +"type": "boolean" +}, +"fieldB": { +"description": "Field B.", +"type": "string" +}, +"fieldBIndex": { +"description": "The Index of the custom dimension. Required if field is a CUSTOM_DIMENSION.", +"format": "int32", +"type": "integer" +}, +"fieldBRequired": { +"description": "Indicates if field B is required to match.", +"type": "boolean" +}, +"outputConstructor": { +"description": "Expression used to construct the output value.", +"type": "string" +}, +"outputToField": { +"description": "Output field.", +"type": "string" +}, +"outputToFieldIndex": { +"description": "The Index of the custom dimension. Required if field is a CUSTOM_DIMENSION.", +"format": "int32", +"type": "integer" +}, +"overrideOutputField": { +"description": "Indicates if the existing value of the output field, if any, should be overridden by the output expression.", +"type": "boolean" +} +}, +"type": "object" +}, +"created": { +"description": "Time this filter was created.", +"format": "date-time", +"readOnly": true, +"type": "string" +}, +"excludeDetails": { +"$ref": "FilterExpression", +"description": "Details for the filter of the type EXCLUDE." +}, +"id": { +"description": "Filter ID.", +"type": "string" +}, +"includeDetails": { +"$ref": "FilterExpression", +"description": "Details for the filter of the type INCLUDE." +}, +"kind": { +"default": "analytics#filter", +"description": "Resource type for Analytics filter.", +"readOnly": true, +"type": "string" +}, +"lowercaseDetails": { +"description": "Details for the filter of the type LOWER.", +"properties": { +"field": { +"description": "Field to use in the filter.", +"type": "string" +}, +"fieldIndex": { +"description": "The Index of the custom dimension. Required if field is a CUSTOM_DIMENSION.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"name": { +"annotations": { +"required": [ +"analytics.management.filters.insert", +"analytics.management.filters.update" +] +}, +"description": "Name of this filter.", +"type": "string" +}, +"parentLink": { +"description": "Parent link for this filter. Points to the account to which this filter belongs.", +"properties": { +"href": { +"description": "Link to the account to which this filter belongs.", +"type": "string" +}, +"type": { +"default": "analytics#account", +"description": "Value is \"analytics#account\".", +"type": "string" +} +}, +"type": "object" +}, +"searchAndReplaceDetails": { +"description": "Details for the filter of the type SEARCH_AND_REPLACE.", +"properties": { +"caseSensitive": { +"description": "Determines if the filter is case sensitive.", +"type": "boolean" +}, +"field": { +"description": "Field to use in the filter.", +"type": "string" +}, +"fieldIndex": { +"description": "The Index of the custom dimension. Required if field is a CUSTOM_DIMENSION.", +"format": "int32", +"type": "integer" +}, +"replaceString": { +"description": "Term to replace the search term with.", +"type": "string" +}, +"searchString": { +"description": "Term to search.", +"type": "string" +} +}, +"type": "object" +}, +"selfLink": { +"description": "Link for this filter.", +"readOnly": true, +"type": "string" +}, +"type": { +"annotations": { +"required": [ +"analytics.management.filters.insert", +"analytics.management.filters.update" +] +}, +"description": "Type of this filter. Possible values are INCLUDE, EXCLUDE, LOWERCASE, UPPERCASE, SEARCH_AND_REPLACE and ADVANCED.", +"type": "string" +}, +"updated": { +"description": "Time this filter was last modified.", +"format": "date-time", +"readOnly": true, +"type": "string" +}, +"uppercaseDetails": { +"description": "Details for the filter of the type UPPER.", +"properties": { +"field": { +"description": "Field to use in the filter.", +"type": "string" +}, +"fieldIndex": { +"description": "The Index of the custom dimension. Required if field is a CUSTOM_DIMENSION.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +} +}, +"type": "object" +}, +"FilterExpression": { +"description": "JSON template for an Analytics filter expression.", +"id": "FilterExpression", +"properties": { +"caseSensitive": { +"description": "Determines if the filter is case sensitive.", +"type": "boolean" +}, +"expressionValue": { +"description": "Filter expression value", +"type": "string" +}, +"field": { +"description": "Field to filter. Possible values: \n- Content and Traffic \n- PAGE_REQUEST_URI, \n- PAGE_HOSTNAME, \n- PAGE_TITLE, \n- REFERRAL, \n- COST_DATA_URI (Campaign target URL), \n- HIT_TYPE, \n- INTERNAL_SEARCH_TERM, \n- INTERNAL_SEARCH_TYPE, \n- SOURCE_PROPERTY_TRACKING_ID, \n- Campaign or AdGroup \n- CAMPAIGN_SOURCE, \n- CAMPAIGN_MEDIUM, \n- CAMPAIGN_NAME, \n- CAMPAIGN_AD_GROUP, \n- CAMPAIGN_TERM, \n- CAMPAIGN_CONTENT, \n- CAMPAIGN_CODE, \n- CAMPAIGN_REFERRAL_PATH, \n- E-Commerce \n- TRANSACTION_COUNTRY, \n- TRANSACTION_REGION, \n- TRANSACTION_CITY, \n- TRANSACTION_AFFILIATION (Store or order location), \n- ITEM_NAME, \n- ITEM_CODE, \n- ITEM_VARIATION, \n- TRANSACTION_ID, \n- TRANSACTION_CURRENCY_CODE, \n- PRODUCT_ACTION_TYPE, \n- Audience/Users \n- BROWSER, \n- BROWSER_VERSION, \n- BROWSER_SIZE, \n- PLATFORM, \n- PLATFORM_VERSION, \n- LANGUAGE, \n- SCREEN_RESOLUTION, \n- SCREEN_COLORS, \n- JAVA_ENABLED (Boolean Field), \n- FLASH_VERSION, \n- GEO_SPEED (Connection speed), \n- VISITOR_TYPE, \n- GEO_ORGANIZATION (ISP organization), \n- GEO_DOMAIN, \n- GEO_IP_ADDRESS, \n- GEO_IP_VERSION, \n- Location \n- GEO_COUNTRY, \n- GEO_REGION, \n- GEO_CITY, \n- Event \n- EVENT_CATEGORY, \n- EVENT_ACTION, \n- EVENT_LABEL, \n- Other \n- CUSTOM_FIELD_1, \n- CUSTOM_FIELD_2, \n- USER_DEFINED_VALUE, \n- Application \n- APP_ID, \n- APP_INSTALLER_ID, \n- APP_NAME, \n- APP_VERSION, \n- SCREEN, \n- IS_APP (Boolean Field), \n- IS_FATAL_EXCEPTION (Boolean Field), \n- EXCEPTION_DESCRIPTION, \n- Mobile device \n- IS_MOBILE (Boolean Field, Deprecated. Use DEVICE_CATEGORY=mobile), \n- IS_TABLET (Boolean Field, Deprecated. Use DEVICE_CATEGORY=tablet), \n- DEVICE_CATEGORY, \n- MOBILE_HAS_QWERTY_KEYBOARD (Boolean Field), \n- MOBILE_HAS_NFC_SUPPORT (Boolean Field), \n- MOBILE_HAS_CELLULAR_RADIO (Boolean Field), \n- MOBILE_HAS_WIFI_SUPPORT (Boolean Field), \n- MOBILE_BRAND_NAME, \n- MOBILE_MODEL_NAME, \n- MOBILE_MARKETING_NAME, \n- MOBILE_POINTING_METHOD, \n- Social \n- SOCIAL_NETWORK, \n- SOCIAL_ACTION, \n- SOCIAL_ACTION_TARGET, \n- Custom dimension \n- CUSTOM_DIMENSION (See accompanying field index),", +"type": "string" +}, +"fieldIndex": { +"description": "The Index of the custom dimension. Set only if the field is a is CUSTOM_DIMENSION.", +"format": "int32", +"type": "integer" +}, +"kind": { +"default": "analytics#filterExpression", +"description": "Kind value for filter expression", +"type": "string" +}, +"matchType": { +"description": "Match type for this filter. Possible values are BEGINS_WITH, EQUAL, ENDS_WITH, CONTAINS, or MATCHES. GEO_DOMAIN, GEO_IP_ADDRESS, PAGE_REQUEST_URI, or PAGE_HOSTNAME filters can use any match type; all other filters must use MATCHES.", +"type": "string" +} +}, +"type": "object" +}, +"FilterRef": { +"description": "JSON template for a profile filter link.", +"id": "FilterRef", +"properties": { +"accountId": { +"description": "Account ID to which this filter belongs.", +"readOnly": true, +"type": "string" +}, +"href": { +"description": "Link for this filter.", +"type": "string" +}, +"id": { +"annotations": { +"required": [ +"analytics.management.profileFilterLinks.insert" +] +}, +"description": "Filter ID.", +"type": "string" +}, +"kind": { +"default": "analytics#filterRef", +"description": "Kind value for filter reference.", +"type": "string" +}, +"name": { +"description": "Name of this filter.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"Filters": { +"description": "A filter collection lists filters created by users in an Analytics account. Each resource in the collection corresponds to a filter.", +"id": "Filters", +"properties": { +"items": { +"description": "A list of filters.", +"items": { +"$ref": "Filter" +}, +"type": "array" +}, +"itemsPerPage": { +"description": "The maximum number of resources the response can contain, regardless of the actual number of resources returned. Its value ranges from 1 to 1,000 with a value of 1000 by default, or otherwise specified by the max-results query parameter.", +"format": "int32", +"type": "integer" +}, +"kind": { +"default": "analytics#filters", +"description": "Collection type.", +"type": "string" +}, +"nextLink": { +"description": "Link to next page for this filter collection.", +"type": "string" +}, +"previousLink": { +"description": "Link to previous page for this filter collection.", +"type": "string" +}, +"startIndex": { +"description": "The starting index of the resources, which is 1 by default or otherwise specified by the start-index query parameter.", +"format": "int32", +"type": "integer" +}, +"totalResults": { +"description": "The total number of results for the query, regardless of the number of results in the response.", +"format": "int32", +"type": "integer" +}, +"username": { +"description": "Email ID of the authenticated user", +"type": "string" +} +}, +"type": "object" +}, +"GaData": { +"description": "Analytics data for a given view (profile).", +"id": "GaData", +"properties": { +"columnHeaders": { +"description": "Column headers that list dimension names followed by the metric names. The order of dimensions and metrics is same as specified in the request.", +"items": { +"properties": { +"columnType": { +"description": "Column Type. Either DIMENSION or METRIC.", +"type": "string" +}, +"dataType": { +"description": "Data type. Dimension column headers have only STRING as the data type. Metric column headers have data types for metric values such as INTEGER, DOUBLE, CURRENCY etc.", +"type": "string" +}, +"name": { +"description": "Column name.", +"type": "string" +} +}, +"type": "object" +}, +"type": "array" +}, +"containsSampledData": { +"description": "Determines if Analytics data contains samples.", +"type": "boolean" +}, +"dataLastRefreshed": { +"description": "The last refreshed time in seconds for Analytics data.", +"format": "int64", +"type": "string" +}, +"dataTable": { +"properties": { +"cols": { +"items": { +"properties": { +"id": { +"type": "string" +}, +"label": { +"type": "string" +}, +"type": { +"type": "string" +} +}, +"type": "object" +}, +"type": "array" +}, +"rows": { +"items": { +"properties": { +"c": { +"items": { +"properties": { +"v": { +"type": "string" +} +}, +"type": "object" +}, +"type": "array" +} +}, +"type": "object" +}, +"type": "array" +} +}, +"type": "object" +}, +"id": { +"description": "Unique ID for this data response.", +"type": "string" +}, +"itemsPerPage": { +"description": "The maximum number of rows the response can contain, regardless of the actual number of rows returned. Its value ranges from 1 to 10,000 with a value of 1000 by default, or otherwise specified by the max-results query parameter.", +"format": "int32", +"type": "integer" +}, +"kind": { +"default": "analytics#gaData", +"description": "Resource type.", +"type": "string" +}, +"nextLink": { +"description": "Link to next page for this Analytics data query.", +"type": "string" +}, +"previousLink": { +"description": "Link to previous page for this Analytics data query.", +"type": "string" +}, +"profileInfo": { +"description": "Information for the view (profile), for which the Analytics data was requested.", +"properties": { +"accountId": { +"description": "Account ID to which this view (profile) belongs.", +"type": "string" +}, +"internalWebPropertyId": { +"description": "Internal ID for the web property to which this view (profile) belongs.", +"type": "string" +}, +"profileId": { +"description": "View (Profile) ID.", +"type": "string" +}, +"profileName": { +"description": "View (Profile) name.", +"type": "string" +}, +"tableId": { +"description": "Table ID for view (profile).", +"type": "string" +}, +"webPropertyId": { +"description": "Web Property ID to which this view (profile) belongs.", +"type": "string" +} +}, +"type": "object" +}, +"query": { +"description": "Analytics data request query parameters.", +"properties": { +"dimensions": { +"description": "List of analytics dimensions.", +"type": "string" +}, +"end-date": { +"description": "End date.", +"type": "string" +}, +"filters": { +"description": "Comma-separated list of dimension or metric filters.", +"type": "string" +}, +"ids": { +"description": "Unique table ID.", +"type": "string" +}, +"max-results": { +"description": "Maximum results per page.", +"format": "int32", +"type": "integer" +}, +"metrics": { +"description": "List of analytics metrics.", +"items": { +"type": "string" +}, +"type": "array" +}, +"samplingLevel": { +"description": "Desired sampling level", +"type": "string" +}, +"segment": { +"description": "Analytics advanced segment.", +"type": "string" +}, +"sort": { +"description": "List of dimensions or metrics based on which Analytics data is sorted.", +"items": { +"type": "string" +}, +"type": "array" +}, +"start-date": { +"description": "Start date.", +"type": "string" +}, +"start-index": { +"description": "Start index.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"rows": { +"description": "Analytics data rows, where each row contains a list of dimension values followed by the metric values. The order of dimensions and metrics is same as specified in the request.", +"items": { +"items": { +"type": "string" +}, +"type": "array" +}, +"type": "array" +}, +"sampleSize": { +"description": "The number of samples used to calculate the result.", +"format": "int64", +"type": "string" +}, +"sampleSpace": { +"description": "Total size of the sample space from which the samples were selected.", +"format": "int64", +"type": "string" +}, +"selfLink": { +"description": "Link to this page.", +"type": "string" +}, +"totalResults": { +"description": "The total number of rows for the query, regardless of the number of rows in the response.", +"format": "int32", +"type": "integer" +}, +"totalsForAllResults": { +"additionalProperties": { +"description": "Key-value pair for the total value of a metric. Key is the metric name and the value is the total value for that metric.", +"type": "string" +}, +"description": "Total values for the requested metrics over all the results, not just the results returned in this response. The order of the metric totals is same as the metric order specified in the request.", +"type": "object" +} +}, +"type": "object" +}, +"Goal": { +"description": "JSON template for Analytics goal resource.", +"id": "Goal", +"properties": { +"accountId": { +"description": "Account ID to which this goal belongs.", +"type": "string" +}, +"active": { +"description": "Determines whether this goal is active.", +"type": "boolean" +}, +"created": { +"description": "Time this goal was created.", +"format": "date-time", +"type": "string" +}, +"eventDetails": { +"description": "Details for the goal of the type EVENT.", +"properties": { +"eventConditions": { +"description": "List of event conditions.", +"items": { +"properties": { +"comparisonType": { +"description": "Type of comparison. Possible values are LESS_THAN, GREATER_THAN or EQUAL.", +"type": "string" +}, +"comparisonValue": { +"description": "Value used for this comparison.", +"format": "int64", +"type": "string" +}, +"expression": { +"description": "Expression used for this match.", +"type": "string" +}, +"matchType": { +"description": "Type of the match to be performed. Possible values are REGEXP, BEGINS_WITH, or EXACT.", +"type": "string" +}, +"type": { +"description": "Type of this event condition. Possible values are CATEGORY, ACTION, LABEL, or VALUE.", +"type": "string" +} +}, +"type": "object" +}, +"type": "array" +}, +"useEventValue": { +"description": "Determines if the event value should be used as the value for this goal.", +"type": "boolean" +} +}, +"type": "object" +}, +"id": { +"description": "Goal ID.", +"type": "string" +}, +"internalWebPropertyId": { +"description": "Internal ID for the web property to which this goal belongs.", +"type": "string" +}, +"kind": { +"default": "analytics#goal", +"description": "Resource type for an Analytics goal.", +"type": "string" +}, +"name": { +"description": "Goal name.", +"type": "string" +}, +"parentLink": { +"description": "Parent link for a goal. Points to the view (profile) to which this goal belongs.", +"properties": { +"href": { +"description": "Link to the view (profile) to which this goal belongs.", +"type": "string" +}, +"type": { +"default": "analytics#profile", +"description": "Value is \"analytics#profile\".", +"type": "string" +} +}, +"type": "object" +}, +"profileId": { +"description": "View (Profile) ID to which this goal belongs.", +"type": "string" +}, +"selfLink": { +"description": "Link for this goal.", +"type": "string" +}, +"type": { +"description": "Goal type. Possible values are URL_DESTINATION, VISIT_TIME_ON_SITE, VISIT_NUM_PAGES, AND EVENT.", +"type": "string" +}, +"updated": { +"description": "Time this goal was last modified.", +"format": "date-time", +"type": "string" +}, +"urlDestinationDetails": { +"description": "Details for the goal of the type URL_DESTINATION.", +"properties": { +"caseSensitive": { +"description": "Determines if the goal URL must exactly match the capitalization of visited URLs.", +"type": "boolean" +}, +"firstStepRequired": { +"description": "Determines if the first step in this goal is required.", +"type": "boolean" +}, +"matchType": { +"description": "Match type for the goal URL. Possible values are HEAD, EXACT, or REGEX.", +"type": "string" +}, +"steps": { +"description": "List of steps configured for this goal funnel.", +"items": { +"properties": { +"name": { +"description": "Step name.", +"type": "string" +}, +"number": { +"description": "Step number.", +"format": "int32", +"type": "integer" +}, +"url": { +"description": "URL for this step.", +"type": "string" +} +}, +"type": "object" +}, +"type": "array" +}, +"url": { +"description": "URL for this goal.", +"type": "string" +} +}, +"type": "object" +}, +"value": { +"description": "Goal value.", +"format": "float", +"type": "number" +}, +"visitNumPagesDetails": { +"description": "Details for the goal of the type VISIT_NUM_PAGES.", +"properties": { +"comparisonType": { +"description": "Type of comparison. Possible values are LESS_THAN, GREATER_THAN, or EQUAL.", +"type": "string" +}, +"comparisonValue": { +"description": "Value used for this comparison.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"visitTimeOnSiteDetails": { +"description": "Details for the goal of the type VISIT_TIME_ON_SITE.", +"properties": { +"comparisonType": { +"description": "Type of comparison. Possible values are LESS_THAN or GREATER_THAN.", +"type": "string" +}, +"comparisonValue": { +"description": "Value used for this comparison.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"webPropertyId": { +"description": "Web property ID to which this goal belongs. The web property ID is of the form UA-XXXXX-YY.", +"type": "string" +} +}, +"type": "object" +}, +"Goals": { +"description": "A goal collection lists Analytics goals to which the user has access. Each view (profile) can have a set of goals. Each resource in the Goal collection corresponds to a single Analytics goal.", +"id": "Goals", +"properties": { +"items": { +"description": "A list of goals.", +"items": { +"$ref": "Goal" +}, +"type": "array" +}, +"itemsPerPage": { +"description": "The maximum number of resources the response can contain, regardless of the actual number of resources returned. Its value ranges from 1 to 1000 with a value of 1000 by default, or otherwise specified by the max-results query parameter.", +"format": "int32", +"type": "integer" +}, +"kind": { +"default": "analytics#goals", +"description": "Collection type.", +"type": "string" +}, +"nextLink": { +"description": "Link to next page for this goal collection.", +"type": "string" +}, +"previousLink": { +"description": "Link to previous page for this goal collection.", +"type": "string" +}, +"startIndex": { +"description": "The starting index of the resources, which is 1 by default or otherwise specified by the start-index query parameter.", +"format": "int32", +"type": "integer" +}, +"totalResults": { +"description": "The total number of results for the query, regardless of the number of resources in the result.", +"format": "int32", +"type": "integer" +}, +"username": { +"description": "Email ID of the authenticated user", +"type": "string" +} +}, +"type": "object" +}, +"HashClientIdRequest": { +"description": "JSON template for a hash Client Id request resource.", +"id": "HashClientIdRequest", +"properties": { +"clientId": { +"type": "string" +}, +"kind": { +"default": "analytics#hashClientIdRequest", +"type": "string" +}, +"webPropertyId": { +"type": "string" +} +}, +"type": "object" +}, +"HashClientIdResponse": { +"description": "JSON template for a hash Client Id response resource.", +"id": "HashClientIdResponse", +"properties": { +"clientId": { +"type": "string" +}, +"hashedClientId": { +"type": "string" +}, +"kind": { +"default": "analytics#hashClientIdResponse", +"type": "string" +}, +"webPropertyId": { +"type": "string" +} +}, +"type": "object" +}, +"IncludeConditions": { +"description": "JSON template for an Analytics Remarketing Include Conditions.", +"id": "IncludeConditions", +"properties": { +"daysToLookBack": { +"description": "The look-back window lets you specify a time frame for evaluating the behavior that qualifies users for your audience. For example, if your filters include users from Central Asia, and Transactions Greater than 2, and you set the look-back window to 14 days, then any user from Central Asia whose cumulative transactions exceed 2 during the last 14 days is added to the audience.", +"format": "int32", +"type": "integer" +}, +"isSmartList": { +"description": "Boolean indicating whether this segment is a smart list. https://support.google.com/analytics/answer/4628577", +"type": "boolean" +}, +"kind": { +"default": "analytics#includeConditions", +"description": "Resource type for include conditions.", +"type": "string" +}, +"membershipDurationDays": { +"description": "Number of days (in the range 1 to 540) a user remains in the audience.", +"format": "int32", +"type": "integer" +}, +"segment": { +"description": "The segment condition that will cause a user to be added to an audience.", +"type": "string" +} +}, +"type": "object" +}, +"LinkedForeignAccount": { +"description": "JSON template for an Analytics Remarketing Audience Foreign Link.", +"id": "LinkedForeignAccount", +"properties": { +"accountId": { +"description": "Account ID to which this linked foreign account belongs.", +"type": "string" +}, +"eligibleForSearch": { +"description": "Boolean indicating whether this is eligible for search.", +"readOnly": true, +"type": "boolean" +}, +"id": { +"description": "Entity ad account link ID.", +"type": "string" +}, +"internalWebPropertyId": { +"description": "Internal ID for the web property to which this linked foreign account belongs.", +"readOnly": true, +"type": "string" +}, +"kind": { +"default": "analytics#linkedForeignAccount", +"description": "Resource type for linked foreign account.", +"type": "string" +}, +"linkedAccountId": { +"description": "The foreign account ID. For example the an Google Ads `linkedAccountId` has the following format XXX-XXX-XXXX.", +"type": "string" +}, +"remarketingAudienceId": { +"description": "Remarketing audience ID to which this linked foreign account belongs.", +"type": "string" +}, +"status": { +"description": "The status of this foreign account link.", +"type": "string" +}, +"type": { +"description": "The type of the foreign account. For example, `ADWORDS_LINKS`, `DBM_LINKS`, `MCC_LINKS` or `OPTIMIZE`.", +"type": "string" +}, +"webPropertyId": { +"description": "Web property ID of the form UA-XXXXX-YY to which this linked foreign account belongs.", +"type": "string" +} +}, +"type": "object" +}, +"McfData": { +"description": "Multi-Channel Funnels data for a given view (profile).", +"id": "McfData", +"properties": { +"columnHeaders": { +"description": "Column headers that list dimension names followed by the metric names. The order of dimensions and metrics is same as specified in the request.", +"items": { +"properties": { +"columnType": { +"description": "Column Type. Either DIMENSION or METRIC.", +"type": "string" +}, +"dataType": { +"description": "Data type. Dimension and metric values data types such as INTEGER, DOUBLE, CURRENCY, MCF_SEQUENCE etc.", +"type": "string" +}, +"name": { +"description": "Column name.", +"type": "string" +} +}, +"type": "object" +}, +"type": "array" +}, +"containsSampledData": { +"description": "Determines if the Analytics data contains sampled data.", +"type": "boolean" +}, +"id": { +"description": "Unique ID for this data response.", +"type": "string" +}, +"itemsPerPage": { +"description": "The maximum number of rows the response can contain, regardless of the actual number of rows returned. Its value ranges from 1 to 10,000 with a value of 1000 by default, or otherwise specified by the max-results query parameter.", +"format": "int32", +"type": "integer" +}, +"kind": { +"default": "analytics#mcfData", +"description": "Resource type.", +"type": "string" +}, +"nextLink": { +"description": "Link to next page for this Analytics data query.", +"type": "string" +}, +"previousLink": { +"description": "Link to previous page for this Analytics data query.", +"type": "string" +}, +"profileInfo": { +"description": "Information for the view (profile), for which the Analytics data was requested.", +"properties": { +"accountId": { +"description": "Account ID to which this view (profile) belongs.", +"type": "string" +}, +"internalWebPropertyId": { +"description": "Internal ID for the web property to which this view (profile) belongs.", +"type": "string" +}, +"profileId": { +"description": "View (Profile) ID.", +"type": "string" +}, +"profileName": { +"description": "View (Profile) name.", +"type": "string" +}, +"tableId": { +"description": "Table ID for view (profile).", +"type": "string" +}, +"webPropertyId": { +"description": "Web Property ID to which this view (profile) belongs.", +"type": "string" +} +}, +"type": "object" +}, +"query": { +"description": "Analytics data request query parameters.", +"properties": { +"dimensions": { +"description": "List of analytics dimensions.", +"type": "string" +}, +"end-date": { +"description": "End date.", +"type": "string" +}, +"filters": { +"description": "Comma-separated list of dimension or metric filters.", +"type": "string" +}, +"ids": { +"description": "Unique table ID.", +"type": "string" +}, +"max-results": { +"description": "Maximum results per page.", +"format": "int32", +"type": "integer" +}, +"metrics": { +"description": "List of analytics metrics.", +"items": { +"type": "string" +}, +"type": "array" +}, +"samplingLevel": { +"description": "Desired sampling level", +"type": "string" +}, +"segment": { +"description": "Analytics advanced segment.", +"type": "string" +}, +"sort": { +"description": "List of dimensions or metrics based on which Analytics data is sorted.", +"items": { +"type": "string" +}, +"type": "array" +}, +"start-date": { +"description": "Start date.", +"type": "string" +}, +"start-index": { +"description": "Start index.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"rows": { +"description": "Analytics data rows, where each row contains a list of dimension values followed by the metric values. The order of dimensions and metrics is same as specified in the request.", +"items": { +"items": { +"description": "A union object representing a dimension or metric value. Only one of \"primitiveValue\" or \"conversionPathValue\" attribute will be populated.", +"properties": { +"conversionPathValue": { +"description": "A conversion path dimension value, containing a list of interactions with their attributes.", +"items": { +"properties": { +"interactionType": { +"description": "Type of an interaction on conversion path. Such as CLICK, IMPRESSION etc.", +"type": "string" +}, +"nodeValue": { +"description": "Node value of an interaction on conversion path. Such as source, medium etc.", +"type": "string" +} +}, +"type": "object" +}, +"type": "array" +}, +"primitiveValue": { +"description": "A primitive dimension value. A primitive metric value.", +"type": "string" +} +}, +"type": "object" +}, +"type": "array" +}, +"type": "array" +}, +"sampleSize": { +"description": "The number of samples used to calculate the result.", +"format": "int64", +"type": "string" +}, +"sampleSpace": { +"description": "Total size of the sample space from which the samples were selected.", +"format": "int64", +"type": "string" +}, +"selfLink": { +"description": "Link to this page.", +"type": "string" +}, +"totalResults": { +"description": "The total number of rows for the query, regardless of the number of rows in the response.", +"format": "int32", +"type": "integer" +}, +"totalsForAllResults": { +"additionalProperties": { +"description": "Key-value pair for the total value of a metric. Key is the metric name and the value is the total value for that metric.", +"type": "string" +}, +"description": "Total values for the requested metrics over all the results, not just the results returned in this response. The order of the metric totals is same as the metric order specified in the request.", +"type": "object" +} +}, +"type": "object" +}, +"Profile": { +"description": "JSON template for an Analytics view (profile).", +"id": "Profile", +"properties": { +"accountId": { +"description": "Account ID to which this view (profile) belongs.", +"type": "string" +}, +"botFilteringEnabled": { +"description": "Indicates whether bot filtering is enabled for this view (profile).", +"type": "boolean" +}, +"childLink": { +"description": "Child link for this view (profile). Points to the list of goals for this view (profile).", +"properties": { +"href": { +"description": "Link to the list of goals for this view (profile).", +"type": "string" +}, +"type": { +"default": "analytics#goals", +"description": "Value is \"analytics#goals\".", +"type": "string" +} +}, +"type": "object" +}, +"created": { +"description": "Time this view (profile) was created.", +"format": "date-time", +"readOnly": true, +"type": "string" +}, +"currency": { +"description": "The currency type associated with this view (profile), defaults to USD. The supported values are:\nUSD, JPY, EUR, GBP, AUD, KRW, BRL, CNY, DKK, RUB, SEK, NOK, PLN, TRY, TWD, HKD, THB, IDR, ARS, MXN, VND, PHP, INR, CHF, CAD, CZK, NZD, HUF, BGN, LTL, ZAR, UAH, AED, BOB, CLP, COP, EGP, HRK, ILS, MAD, MYR, PEN, PKR, RON, RSD, SAR, SGD, VEF, LVL", +"type": "string" +}, +"defaultPage": { +"description": "Default page for this view (profile).", +"type": "string" +}, +"eCommerceTracking": { +"description": "Indicates whether ecommerce tracking is enabled for this view (profile).", +"type": "boolean" +}, +"enhancedECommerceTracking": { +"description": "Indicates whether enhanced ecommerce tracking is enabled for this view (profile). This property can only be enabled if ecommerce tracking is enabled.", +"type": "boolean" +}, +"excludeQueryParameters": { +"description": "The query parameters that are excluded from this view (profile).", +"type": "string" +}, +"id": { +"description": "View (Profile) ID.", +"type": "string" +}, +"internalWebPropertyId": { +"description": "Internal ID for the web property to which this view (profile) belongs.", +"readOnly": true, +"type": "string" +}, +"kind": { +"default": "analytics#profile", +"description": "Resource type for Analytics view (profile).", +"readOnly": true, +"type": "string" +}, +"name": { +"description": "Name of this view (profile).", +"type": "string" +}, +"parentLink": { +"description": "Parent link for this view (profile). Points to the web property to which this view (profile) belongs.", +"properties": { +"href": { +"description": "Link to the web property to which this view (profile) belongs.", +"type": "string" +}, +"type": { +"default": "analytics#webproperty", +"description": "Value is \"analytics#webproperty\".", +"type": "string" +} +}, +"type": "object" +}, +"permissions": { +"description": "Permissions the user has for this view (profile).", +"properties": { +"effective": { +"description": "All the permissions that the user has for this view (profile). These include any implied permissions (e.g., EDIT implies VIEW) or inherited permissions from the parent web property.", +"items": { +"type": "string" +}, +"readOnly": true, +"type": "array" +} +}, +"type": "object" +}, +"selfLink": { +"description": "Link for this view (profile).", +"readOnly": true, +"type": "string" +}, +"siteSearchCategoryParameters": { +"description": "Site search category parameters for this view (profile).", +"type": "string" +}, +"siteSearchQueryParameters": { +"description": "The site search query parameters for this view (profile).", +"type": "string" +}, +"starred": { +"description": "Indicates whether this view (profile) is starred or not.", +"type": "boolean" +}, +"stripSiteSearchCategoryParameters": { +"description": "Whether or not Analytics will strip search category parameters from the URLs in your reports.", +"type": "boolean" +}, +"stripSiteSearchQueryParameters": { +"description": "Whether or not Analytics will strip search query parameters from the URLs in your reports.", +"type": "boolean" +}, +"timezone": { +"description": "Time zone for which this view (profile) has been configured. Time zones are identified by strings from the TZ database.", +"type": "string" +}, +"type": { +"description": "View (Profile) type. Supported types: WEB or APP.", +"type": "string" +}, +"updated": { +"description": "Time this view (profile) was last modified.", +"format": "date-time", +"readOnly": true, +"type": "string" +}, +"webPropertyId": { +"description": "Web property ID of the form UA-XXXXX-YY to which this view (profile) belongs.", +"readOnly": true, +"type": "string" +}, +"websiteUrl": { +"description": "Website URL for this view (profile).", +"type": "string" +} +}, +"type": "object" +}, +"ProfileFilterLink": { +"description": "JSON template for an Analytics profile filter link.", +"id": "ProfileFilterLink", +"properties": { +"filterRef": { +"$ref": "FilterRef", +"description": "Filter for this link." +}, +"id": { +"description": "Profile filter link ID.", +"type": "string" +}, +"kind": { +"default": "analytics#profileFilterLink", +"description": "Resource type for Analytics filter.", +"readOnly": true, +"type": "string" +}, +"profileRef": { +"$ref": "ProfileRef", +"description": "View (Profile) for this link." +}, +"rank": { +"description": "The rank of this profile filter link relative to the other filters linked to the same profile.\nFor readonly (i.e., list and get) operations, the rank always starts at 1.\nFor write (i.e., create, update, or delete) operations, you may specify a value between 0 and 255 inclusively, [0, 255]. In order to insert a link at the end of the list, either don't specify a rank or set a rank to a number greater than the largest rank in the list. In order to insert a link to the beginning of the list specify a rank that is less than or equal to 1. The new link will move all existing filters with the same or lower rank down the list. After the link is inserted/updated/deleted all profile filter links will be renumbered starting at 1.", +"format": "int32", +"type": "integer" +}, +"selfLink": { +"description": "Link for this profile filter link.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"ProfileFilterLinks": { +"description": "A profile filter link collection lists profile filter links between profiles and filters. Each resource in the collection corresponds to a profile filter link.", +"id": "ProfileFilterLinks", +"properties": { +"items": { +"description": "A list of profile filter links.", +"items": { +"$ref": "ProfileFilterLink" +}, +"type": "array" +}, +"itemsPerPage": { +"description": "The maximum number of resources the response can contain, regardless of the actual number of resources returned. Its value ranges from 1 to 1,000 with a value of 1000 by default, or otherwise specified by the max-results query parameter.", +"format": "int32", +"type": "integer" +}, +"kind": { +"default": "analytics#profileFilterLinks", +"description": "Collection type.", +"type": "string" +}, +"nextLink": { +"description": "Link to next page for this profile filter link collection.", +"type": "string" +}, +"previousLink": { +"description": "Link to previous page for this profile filter link collection.", +"type": "string" +}, +"startIndex": { +"description": "The starting index of the resources, which is 1 by default or otherwise specified by the start-index query parameter.", +"format": "int32", +"type": "integer" +}, +"totalResults": { +"description": "The total number of results for the query, regardless of the number of results in the response.", +"format": "int32", +"type": "integer" +}, +"username": { +"description": "Email ID of the authenticated user", +"type": "string" +} +}, +"type": "object" +}, +"ProfileRef": { +"description": "JSON template for a linked view (profile).", +"id": "ProfileRef", +"properties": { +"accountId": { +"description": "Account ID to which this view (profile) belongs.", +"type": "string" +}, +"href": { +"description": "Link for this view (profile).", +"type": "string" +}, +"id": { +"description": "View (Profile) ID.", +"type": "string" +}, +"internalWebPropertyId": { +"description": "Internal ID for the web property to which this view (profile) belongs.", +"type": "string" +}, +"kind": { +"default": "analytics#profileRef", +"description": "Analytics view (profile) reference.", +"type": "string" +}, +"name": { +"description": "Name of this view (profile).", +"type": "string" +}, +"webPropertyId": { +"description": "Web property ID of the form UA-XXXXX-YY to which this view (profile) belongs.", +"type": "string" +} +}, +"type": "object" +}, +"ProfileSummary": { +"description": "JSON template for an Analytics ProfileSummary. ProfileSummary returns basic information (i.e., summary) for a profile.", +"id": "ProfileSummary", +"properties": { +"id": { +"description": "View (profile) ID.", +"type": "string" +}, +"kind": { +"default": "analytics#profileSummary", +"description": "Resource type for Analytics ProfileSummary.", +"type": "string" +}, +"name": { +"description": "View (profile) name.", +"type": "string" +}, +"starred": { +"description": "Indicates whether this view (profile) is starred or not.", +"type": "boolean" +}, +"type": { +"description": "View (Profile) type. Supported types: WEB or APP.", +"type": "string" +} +}, +"type": "object" +}, +"Profiles": { +"description": "A view (profile) collection lists Analytics views (profiles) to which the user has access. Each resource in the collection corresponds to a single Analytics view (profile).", +"id": "Profiles", +"properties": { +"items": { +"description": "A list of views (profiles).", +"items": { +"$ref": "Profile" +}, +"type": "array" +}, +"itemsPerPage": { +"description": "The maximum number of resources the response can contain, regardless of the actual number of resources returned. Its value ranges from 1 to 1000 with a value of 1000 by default, or otherwise specified by the max-results query parameter.", +"format": "int32", +"type": "integer" +}, +"kind": { +"default": "analytics#profiles", +"description": "Collection type.", +"type": "string" +}, +"nextLink": { +"description": "Link to next page for this view (profile) collection.", +"type": "string" +}, +"previousLink": { +"description": "Link to previous page for this view (profile) collection.", +"type": "string" +}, +"startIndex": { +"description": "The starting index of the resources, which is 1 by default or otherwise specified by the start-index query parameter.", +"format": "int32", +"type": "integer" +}, +"totalResults": { +"description": "The total number of results for the query, regardless of the number of results in the response.", +"format": "int32", +"type": "integer" +}, +"username": { +"description": "Email ID of the authenticated user", +"type": "string" +} +}, +"type": "object" +}, +"RealtimeData": { +"description": "Real time data for a given view (profile).", +"id": "RealtimeData", +"properties": { +"columnHeaders": { +"description": "Column headers that list dimension names followed by the metric names. The order of dimensions and metrics is same as specified in the request.", +"items": { +"properties": { +"columnType": { +"description": "Column Type. Either DIMENSION or METRIC.", +"type": "string" +}, +"dataType": { +"description": "Data type. Dimension column headers have only STRING as the data type. Metric column headers have data types for metric values such as INTEGER, DOUBLE, CURRENCY etc.", +"type": "string" +}, +"name": { +"description": "Column name.", +"type": "string" +} +}, +"type": "object" +}, +"type": "array" +}, +"id": { +"description": "Unique ID for this data response.", +"type": "string" +}, +"kind": { +"default": "analytics#realtimeData", +"description": "Resource type.", +"type": "string" +}, +"profileInfo": { +"description": "Information for the view (profile), for which the real time data was requested.", +"properties": { +"accountId": { +"description": "Account ID to which this view (profile) belongs.", +"type": "string" +}, +"internalWebPropertyId": { +"description": "Internal ID for the web property to which this view (profile) belongs.", +"type": "string" +}, +"profileId": { +"description": "View (Profile) ID.", +"type": "string" +}, +"profileName": { +"description": "View (Profile) name.", +"type": "string" +}, +"tableId": { +"description": "Table ID for view (profile).", +"type": "string" +}, +"webPropertyId": { +"description": "Web Property ID to which this view (profile) belongs.", +"type": "string" +} +}, +"type": "object" +}, +"query": { +"description": "Real time data request query parameters.", +"properties": { +"dimensions": { +"description": "List of real time dimensions.", +"type": "string" +}, +"filters": { +"description": "Comma-separated list of dimension or metric filters.", +"type": "string" +}, +"ids": { +"description": "Unique table ID.", +"type": "string" +}, +"max-results": { +"description": "Maximum results per page.", +"format": "int32", +"type": "integer" +}, +"metrics": { +"description": "List of real time metrics.", +"items": { +"type": "string" +}, +"type": "array" +}, +"sort": { +"description": "List of dimensions or metrics based on which real time data is sorted.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"rows": { +"description": "Real time data rows, where each row contains a list of dimension values followed by the metric values. The order of dimensions and metrics is same as specified in the request.", +"items": { +"items": { +"type": "string" +}, +"type": "array" +}, +"type": "array" +}, +"selfLink": { +"description": "Link to this page.", +"type": "string" +}, +"totalResults": { +"description": "The total number of rows for the query, regardless of the number of rows in the response.", +"format": "int32", +"type": "integer" +}, +"totalsForAllResults": { +"additionalProperties": { +"description": "Key-value pair for the total value of a metric. Key is the metric name and the value is the total value for that metric.", +"type": "string" +}, +"description": "Total values for the requested metrics over all the results, not just the results returned in this response. The order of the metric totals is same as the metric order specified in the request.", +"type": "object" +} +}, +"type": "object" +}, +"RemarketingAudience": { +"description": "JSON template for an Analytics remarketing audience.", +"id": "RemarketingAudience", +"properties": { +"accountId": { +"description": "Account ID to which this remarketing audience belongs.", +"type": "string" +}, +"audienceDefinition": { +"description": "The simple audience definition that will cause a user to be added to an audience.", +"properties": { +"includeConditions": { +"$ref": "IncludeConditions", +"description": "Defines the conditions to include users to the audience." +} +}, +"type": "object" +}, +"audienceType": { +"description": "The type of audience, either SIMPLE or STATE_BASED.", +"type": "string" +}, +"created": { +"description": "Time this remarketing audience was created.", +"format": "date-time", +"readOnly": true, +"type": "string" +}, +"description": { +"description": "The description of this remarketing audience.", +"readOnly": true, +"type": "string" +}, +"id": { +"description": "Remarketing Audience ID.", +"type": "string" +}, +"internalWebPropertyId": { +"description": "Internal ID for the web property to which this remarketing audience belongs.", +"readOnly": true, +"type": "string" +}, +"kind": { +"default": "analytics#remarketingAudience", +"description": "Collection type.", +"type": "string" +}, +"linkedAdAccounts": { +"description": "The linked ad accounts associated with this remarketing audience. A remarketing audience can have only one linkedAdAccount currently.", +"items": { +"$ref": "LinkedForeignAccount" +}, +"type": "array" +}, +"linkedViews": { +"description": "The views (profiles) that this remarketing audience is linked to.", +"items": { +"type": "string" +}, +"type": "array" +}, +"name": { +"description": "The name of this remarketing audience.", +"type": "string" +}, +"stateBasedAudienceDefinition": { +"description": "A state based audience definition that will cause a user to be added or removed from an audience.", +"properties": { +"excludeConditions": { +"description": "Defines the conditions to exclude users from the audience.", +"properties": { +"exclusionDuration": { +"description": "Whether to make the exclusion TEMPORARY or PERMANENT.", +"type": "string" +}, +"segment": { +"description": "The segment condition that will cause a user to be removed from an audience.", +"type": "string" +} +}, +"type": "object" +}, +"includeConditions": { +"$ref": "IncludeConditions", +"description": "Defines the conditions to include users to the audience." +} +}, +"type": "object" +}, +"updated": { +"description": "Time this remarketing audience was last modified.", +"format": "date-time", +"readOnly": true, +"type": "string" +}, +"webPropertyId": { +"description": "Web property ID of the form UA-XXXXX-YY to which this remarketing audience belongs.", +"type": "string" +} +}, +"type": "object" +}, +"RemarketingAudiences": { +"description": "A remarketing audience collection lists Analytics remarketing audiences to which the user has access. Each resource in the collection corresponds to a single Analytics remarketing audience.", +"id": "RemarketingAudiences", +"properties": { +"items": { +"description": "A list of remarketing audiences.", +"items": { +"$ref": "RemarketingAudience" +}, +"type": "array" +}, +"itemsPerPage": { +"description": "The maximum number of resources the response can contain, regardless of the actual number of resources returned. Its value ranges from 1 to 1000 with a value of 1000 by default, or otherwise specified by the max-results query parameter.", +"format": "int32", +"type": "integer" +}, +"kind": { +"default": "analytics#remarketingAudiences", +"description": "Collection type.", +"type": "string" +}, +"nextLink": { +"description": "Link to next page for this remarketing audience collection.", +"type": "string" +}, +"previousLink": { +"description": "Link to previous page for this view (profile) collection.", +"type": "string" +}, +"startIndex": { +"description": "The starting index of the resources, which is 1 by default or otherwise specified by the start-index query parameter.", +"format": "int32", +"type": "integer" +}, +"totalResults": { +"description": "The total number of results for the query, regardless of the number of results in the response.", +"format": "int32", +"type": "integer" +}, +"username": { +"description": "Email ID of the authenticated user", +"type": "string" +} +}, +"type": "object" +}, +"Segment": { +"description": "JSON template for an Analytics segment.", +"id": "Segment", +"properties": { +"created": { +"description": "Time the segment was created.", +"format": "date-time", +"type": "string" +}, +"definition": { +"description": "Segment definition.", +"type": "string" +}, +"id": { +"description": "Segment ID.", +"type": "string" +}, +"kind": { +"default": "analytics#segment", +"description": "Resource type for Analytics segment.", +"type": "string" +}, +"name": { +"description": "Segment name.", +"type": "string" +}, +"segmentId": { +"description": "Segment ID. Can be used with the 'segment' parameter in Core Reporting API.", +"type": "string" +}, +"selfLink": { +"description": "Link for this segment.", +"type": "string" +}, +"type": { +"description": "Type for a segment. Possible values are \"BUILT_IN\" or \"CUSTOM\".", +"type": "string" +}, +"updated": { +"description": "Time the segment was last modified.", +"format": "date-time", +"type": "string" +} +}, +"type": "object" +}, +"Segments": { +"description": "An segment collection lists Analytics segments that the user has access to. Each resource in the collection corresponds to a single Analytics segment.", +"id": "Segments", +"properties": { +"items": { +"description": "A list of segments.", +"items": { +"$ref": "Segment" +}, +"type": "array" +}, +"itemsPerPage": { +"description": "The maximum number of resources the response can contain, regardless of the actual number of resources returned. Its value ranges from 1 to 1000 with a value of 1000 by default, or otherwise specified by the max-results query parameter.", +"format": "int32", +"type": "integer" +}, +"kind": { +"default": "analytics#segments", +"description": "Collection type for segments.", +"type": "string" +}, +"nextLink": { +"description": "Link to next page for this segment collection.", +"type": "string" +}, +"previousLink": { +"description": "Link to previous page for this segment collection.", +"type": "string" +}, +"startIndex": { +"description": "The starting index of the resources, which is 1 by default or otherwise specified by the start-index query parameter.", +"format": "int32", +"type": "integer" +}, +"totalResults": { +"description": "The total number of results for the query, regardless of the number of results in the response.", +"format": "int32", +"type": "integer" +}, +"username": { +"description": "Email ID of the authenticated user", +"type": "string" +} +}, +"type": "object" +}, +"UnsampledReport": { +"description": "JSON template for Analytics unsampled report resource.", +"id": "UnsampledReport", +"properties": { +"accountId": { +"description": "Account ID to which this unsampled report belongs.", +"type": "string" +}, +"cloudStorageDownloadDetails": { +"description": "Download details for a file stored in Google Cloud Storage.", +"properties": { +"bucketId": { +"description": "Id of the bucket the file object is stored in.", +"type": "string" +}, +"objectId": { +"description": "Id of the file object containing the report data.", +"type": "string" +} +}, +"readOnly": true, +"type": "object" +}, +"created": { +"description": "Time this unsampled report was created.", +"format": "date-time", +"readOnly": true, +"type": "string" +}, +"dimensions": { +"description": "The dimensions for the unsampled report.", +"type": "string" +}, +"downloadType": { +"description": "The type of download you need to use for the report data file. Possible values include `GOOGLE_DRIVE` and `GOOGLE_CLOUD_STORAGE`. If the value is `GOOGLE_DRIVE`, see the `driveDownloadDetails` field. If the value is `GOOGLE_CLOUD_STORAGE`, see the `cloudStorageDownloadDetails` field.", +"readOnly": true, +"type": "string" +}, +"driveDownloadDetails": { +"description": "Download details for a file stored in Google Drive.", +"properties": { +"documentId": { +"description": "Id of the document/file containing the report data.", +"type": "string" +} +}, +"readOnly": true, +"type": "object" +}, +"end-date": { +"annotations": { +"required": [ +"analytics.management.filters.insert", +"analytics.management.unsampledReports.insert" +] +}, +"description": "The end date for the unsampled report.", +"type": "string" +}, +"filters": { +"description": "The filters for the unsampled report.", +"type": "string" +}, +"id": { +"description": "Unsampled report ID.", +"type": "string" +}, +"kind": { +"default": "analytics#unsampledReport", +"description": "Resource type for an Analytics unsampled report.", +"readOnly": true, +"type": "string" +}, +"metrics": { +"annotations": { +"required": [ +"analytics.management.filters.insert", +"analytics.management.unsampledReports.insert" +] +}, +"description": "The metrics for the unsampled report.", +"type": "string" +}, +"profileId": { +"description": "View (Profile) ID to which this unsampled report belongs.", +"type": "string" +}, +"segment": { +"description": "The segment for the unsampled report.", +"type": "string" +}, +"selfLink": { +"description": "Link for this unsampled report.", +"readOnly": true, +"type": "string" +}, +"start-date": { +"annotations": { +"required": [ +"analytics.management.filters.insert", +"analytics.management.unsampledReports.insert" +] +}, +"description": "The start date for the unsampled report.", +"type": "string" +}, +"status": { +"description": "Status of this unsampled report. Possible values are PENDING, COMPLETED, or FAILED.", +"readOnly": true, +"type": "string" +}, +"title": { +"annotations": { +"required": [ +"analytics.management.filters.insert", +"analytics.management.unsampledReports.insert" +] +}, +"description": "Title of the unsampled report.", +"type": "string" +}, +"updated": { +"description": "Time this unsampled report was last modified.", +"format": "date-time", +"readOnly": true, +"type": "string" +}, +"webPropertyId": { +"description": "Web property ID to which this unsampled report belongs. The web property ID is of the form UA-XXXXX-YY.", +"type": "string" +} +}, +"type": "object" +}, +"UnsampledReports": { +"description": "An unsampled report collection lists Analytics unsampled reports to which the user has access. Each view (profile) can have a set of unsampled reports. Each resource in the unsampled report collection corresponds to a single Analytics unsampled report.", +"id": "UnsampledReports", +"properties": { +"items": { +"description": "A list of unsampled reports.", +"items": { +"$ref": "UnsampledReport" +}, +"type": "array" +}, +"itemsPerPage": { +"description": "The maximum number of resources the response can contain, regardless of the actual number of resources returned. Its value ranges from 1 to 1000 with a value of 1000 by default, or otherwise specified by the max-results query parameter.", +"format": "int32", +"type": "integer" +}, +"kind": { +"default": "analytics#unsampledReports", +"description": "Collection type.", +"type": "string" +}, +"nextLink": { +"description": "Link to next page for this unsampled report collection.", +"type": "string" +}, +"previousLink": { +"description": "Link to previous page for this unsampled report collection.", +"type": "string" +}, +"startIndex": { +"description": "The starting index of the resources, which is 1 by default or otherwise specified by the start-index query parameter.", +"format": "int32", +"type": "integer" +}, +"totalResults": { +"description": "The total number of results for the query, regardless of the number of resources in the result.", +"format": "int32", +"type": "integer" +}, +"username": { +"description": "Email ID of the authenticated user", +"type": "string" +} +}, +"type": "object" +}, +"Upload": { +"description": "Metadata returned for an upload operation.", +"id": "Upload", +"properties": { +"accountId": { +"description": "Account Id to which this upload belongs.", +"format": "int64", +"type": "string" +}, +"customDataSourceId": { +"description": "Custom data source Id to which this data import belongs.", +"type": "string" +}, +"errors": { +"description": "Data import errors collection.", +"items": { +"type": "string" +}, +"type": "array" +}, +"id": { +"description": "A unique ID for this upload.", +"type": "string" +}, +"kind": { +"default": "analytics#upload", +"description": "Resource type for Analytics upload.", +"type": "string" +}, +"status": { +"description": "Upload status. Possible values: PENDING, COMPLETED, FAILED, DELETING, DELETED.", +"type": "string" +}, +"uploadTime": { +"description": "Time this file is uploaded.", +"format": "date-time", +"type": "string" +} +}, +"type": "object" +}, +"Uploads": { +"description": "Upload collection lists Analytics uploads to which the user has access. Each custom data source can have a set of uploads. Each resource in the upload collection corresponds to a single Analytics data upload.", +"id": "Uploads", +"properties": { +"items": { +"description": "A list of uploads.", +"items": { +"$ref": "Upload" +}, +"type": "array" +}, +"itemsPerPage": { +"description": "The maximum number of resources the response can contain, regardless of the actual number of resources returned. Its value ranges from 1 to 1000 with a value of 1000 by default, or otherwise specified by the max-results query parameter.", +"format": "int32", +"type": "integer" +}, +"kind": { +"default": "analytics#uploads", +"description": "Collection type.", +"type": "string" +}, +"nextLink": { +"description": "Link to next page for this upload collection.", +"type": "string" +}, +"previousLink": { +"description": "Link to previous page for this upload collection.", +"type": "string" +}, +"startIndex": { +"description": "The starting index of the resources, which is 1 by default or otherwise specified by the start-index query parameter.", +"format": "int32", +"type": "integer" +}, +"totalResults": { +"description": "The total number of results for the query, regardless of the number of resources in the result.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"UserDeletionRequest": { +"description": "JSON template for a user deletion request resource.", +"id": "UserDeletionRequest", +"properties": { +"deletionRequestTime": { +"description": "This marks the point in time for which all user data before should be deleted", +"format": "date-time", +"readOnly": true, +"type": "string" +}, +"firebaseProjectId": { +"description": "Firebase Project Id", +"type": "string" +}, +"id": { +"description": "User ID.", +"properties": { +"type": { +"description": "Type of user", +"type": "string" +}, +"userId": { +"description": "The User's id", +"type": "string" +} +}, +"type": "object" +}, +"kind": { +"default": "analytics#userDeletionRequest", +"description": "Value is \"analytics#userDeletionRequest\".", +"type": "string" +}, +"propertyId": { +"description": "Property ID", +"type": "string" +}, +"webPropertyId": { +"description": "Web property ID of the form UA-XXXXX-YY.", +"type": "string" +} +}, +"type": "object" +}, +"UserRef": { +"description": "JSON template for a user reference.", +"id": "UserRef", +"properties": { +"email": { +"description": "Email ID of this user.", +"type": "string" +}, +"id": { +"description": "User ID.", +"type": "string" +}, +"kind": { +"default": "analytics#userRef", +"type": "string" +} +}, +"type": "object" +}, +"WebPropertyRef": { +"description": "JSON template for a web property reference.", +"id": "WebPropertyRef", +"properties": { +"accountId": { +"description": "Account ID to which this web property belongs.", +"type": "string" +}, +"href": { +"description": "Link for this web property.", +"type": "string" +}, +"id": { +"description": "Web property ID of the form UA-XXXXX-YY.", +"type": "string" +}, +"internalWebPropertyId": { +"description": "Internal ID for this web property.", +"type": "string" +}, +"kind": { +"default": "analytics#webPropertyRef", +"description": "Analytics web property reference.", +"type": "string" +}, +"name": { +"description": "Name of this web property.", +"type": "string" +} +}, +"type": "object" +}, +"WebPropertySummary": { +"description": "JSON template for an Analytics WebPropertySummary. WebPropertySummary returns basic information (i.e., summary) for a web property.", +"id": "WebPropertySummary", +"properties": { +"id": { +"description": "Web property ID of the form UA-XXXXX-YY.", +"type": "string" +}, +"internalWebPropertyId": { +"description": "Internal ID for this web property.", +"type": "string" +}, +"kind": { +"default": "analytics#webPropertySummary", +"description": "Resource type for Analytics WebPropertySummary.", +"type": "string" +}, +"level": { +"description": "Level for this web property. Possible values are STANDARD or PREMIUM.", +"type": "string" +}, +"name": { +"description": "Web property name.", +"type": "string" +}, +"profiles": { +"description": "List of profiles under this web property.", +"items": { +"$ref": "ProfileSummary" +}, +"type": "array" +}, +"starred": { +"description": "Indicates whether this web property is starred or not.", +"type": "boolean" +}, +"websiteUrl": { +"description": "Website url for this web property.", +"type": "string" +} +}, +"type": "object" +}, +"Webproperties": { +"description": "A web property collection lists Analytics web properties to which the user has access. Each resource in the collection corresponds to a single Analytics web property.", +"id": "Webproperties", +"properties": { +"items": { +"description": "A list of web properties.", +"items": { +"$ref": "Webproperty" +}, +"type": "array" +}, +"itemsPerPage": { +"description": "The maximum number of resources the response can contain, regardless of the actual number of resources returned. Its value ranges from 1 to 1000 with a value of 1000 by default, or otherwise specified by the max-results query parameter.", +"format": "int32", +"type": "integer" +}, +"kind": { +"default": "analytics#webproperties", +"description": "Collection type.", +"type": "string" +}, +"nextLink": { +"description": "Link to next page for this web property collection.", +"type": "string" +}, +"previousLink": { +"description": "Link to previous page for this web property collection.", +"type": "string" +}, +"startIndex": { +"description": "The starting index of the resources, which is 1 by default or otherwise specified by the start-index query parameter.", +"format": "int32", +"type": "integer" +}, +"totalResults": { +"description": "The total number of results for the query, regardless of the number of results in the response.", +"format": "int32", +"type": "integer" +}, +"username": { +"description": "Email ID of the authenticated user", +"type": "string" +} +}, +"type": "object" +}, +"Webproperty": { +"description": "JSON template for an Analytics web property.", +"id": "Webproperty", +"properties": { +"accountId": { +"description": "Account ID to which this web property belongs.", +"type": "string" +}, +"childLink": { +"description": "Child link for this web property. Points to the list of views (profiles) for this web property.", +"properties": { +"href": { +"description": "Link to the list of views (profiles) for this web property.", +"type": "string" +}, +"type": { +"default": "analytics#profiles", +"description": "Type of the parent link. Its value is \"analytics#profiles\".", +"type": "string" +} +}, +"type": "object" +}, +"created": { +"description": "Time this web property was created.", +"format": "date-time", +"readOnly": true, +"type": "string" +}, +"dataRetentionResetOnNewActivity": { +"description": "Set to true to reset the retention period of the user identifier with each new event from that user (thus setting the expiration date to current time plus retention period).\nSet to false to delete data associated with the user identifier automatically after the rentention period.\nThis property cannot be set on insert.", +"type": "boolean" +}, +"dataRetentionTtl": { +"description": "The length of time for which user and event data is retained.\nThis property cannot be set on insert.", +"type": "string" +}, +"defaultProfileId": { +"description": "Default view (profile) ID.", +"format": "int64", +"type": "string" +}, +"id": { +"description": "Web property ID of the form UA-XXXXX-YY.", +"type": "string" +}, +"industryVertical": { +"description": "The industry vertical/category selected for this web property.", +"type": "string" +}, +"internalWebPropertyId": { +"description": "Internal ID for this web property.", +"readOnly": true, +"type": "string" +}, +"kind": { +"default": "analytics#webproperty", +"description": "Resource type for Analytics WebProperty.", +"readOnly": true, +"type": "string" +}, +"level": { +"description": "Level for this web property. Possible values are STANDARD or PREMIUM.", +"readOnly": true, +"type": "string" +}, +"name": { +"description": "Name of this web property.", +"type": "string" +}, +"parentLink": { +"description": "Parent link for this web property. Points to the account to which this web property belongs.", +"properties": { +"href": { +"description": "Link to the account for this web property.", +"type": "string" +}, +"type": { +"default": "analytics#account", +"description": "Type of the parent link. Its value is \"analytics#account\".", +"type": "string" +} +}, +"type": "object" +}, +"permissions": { +"description": "Permissions the user has for this web property.", +"properties": { +"effective": { +"description": "All the permissions that the user has for this web property. These include any implied permissions (e.g., EDIT implies VIEW) or inherited permissions from the parent account.", +"items": { +"type": "string" +}, +"readOnly": true, +"type": "array" +} +}, +"type": "object" +}, +"profileCount": { +"description": "View (Profile) count for this web property.", +"format": "int32", +"readOnly": true, +"type": "integer" +}, +"selfLink": { +"description": "Link for this web property.", +"readOnly": true, +"type": "string" +}, +"starred": { +"description": "Indicates whether this web property is starred or not.", +"type": "boolean" +}, +"updated": { +"description": "Time this web property was last modified.", +"format": "date-time", +"readOnly": true, +"type": "string" +}, +"websiteUrl": { +"description": "Website url for this web property.", +"type": "string" +} +}, +"type": "object" +} +}, +"servicePath": "analytics/v3/", +"title": "Google Analytics API", +"version": "v3" +} \ No newline at end of file diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/analyticshub.v1beta1.json b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/analyticshub.v1beta1.json new file mode 100644 index 0000000000000000000000000000000000000000..2677d9ca6255689545d1a7535c3e23cdce928cdc --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/analyticshub.v1beta1.json @@ -0,0 +1,1514 @@ +{ +"auth": { +"oauth2": { +"scopes": { +"https://www.googleapis.com/auth/bigquery": { +"description": "View and manage your data in Google BigQuery and see the email address for your Google Account" +}, +"https://www.googleapis.com/auth/cloud-platform": { +"description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." +} +} +} +}, +"basePath": "", +"baseUrl": "https://analyticshub.googleapis.com/", +"batchPath": "batch", +"canonicalName": "Analytics Hub", +"description": "Exchange data and analytics assets securely and efficiently.", +"discoveryVersion": "v1", +"documentationLink": "https://cloud.google.com/bigquery/docs/analytics-hub-introduction", +"fullyEncodeReservedExpansion": true, +"icons": { +"x16": "http://www.google.com/images/icons/product/search-16.gif", +"x32": "http://www.google.com/images/icons/product/search-32.gif" +}, +"id": "analyticshub:v1beta1", +"kind": "discovery#restDescription", +"mtlsRootUrl": "https://analyticshub.mtls.googleapis.com/", +"name": "analyticshub", +"ownerDomain": "google.com", +"ownerName": "Google", +"parameters": { +"$.xgafv": { +"description": "V1 error format.", +"enum": [ +"1", +"2" +], +"enumDescriptions": [ +"v1 error format", +"v2 error format" +], +"location": "query", +"type": "string" +}, +"access_token": { +"description": "OAuth access token.", +"location": "query", +"type": "string" +}, +"alt": { +"default": "json", +"description": "Data format for response.", +"enum": [ +"json", +"media", +"proto" +], +"enumDescriptions": [ +"Responses with Content-Type of application/json", +"Media download with context-dependent Content-Type", +"Responses with Content-Type of application/x-protobuf" +], +"location": "query", +"type": "string" +}, +"callback": { +"description": "JSONP", +"location": "query", +"type": "string" +}, +"fields": { +"description": "Selector specifying which fields to include in a partial response.", +"location": "query", +"type": "string" +}, +"key": { +"description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", +"location": "query", +"type": "string" +}, +"oauth_token": { +"description": "OAuth 2.0 token for the current user.", +"location": "query", +"type": "string" +}, +"prettyPrint": { +"default": "true", +"description": "Returns response with indentations and line breaks.", +"location": "query", +"type": "boolean" +}, +"quotaUser": { +"description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.", +"location": "query", +"type": "string" +}, +"uploadType": { +"description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", +"location": "query", +"type": "string" +}, +"upload_protocol": { +"description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", +"location": "query", +"type": "string" +} +}, +"protocol": "rest", +"resources": { +"organizations": { +"resources": { +"locations": { +"resources": { +"dataExchanges": { +"methods": { +"list": { +"description": "Lists all data exchanges from projects in a given organization and location.", +"flatPath": "v1beta1/organizations/{organizationsId}/locations/{locationsId}/dataExchanges", +"httpMethod": "GET", +"id": "analyticshub.organizations.locations.dataExchanges.list", +"parameterOrder": [ +"organization" +], +"parameters": { +"organization": { +"description": "Required. The organization resource path of the projects containing DataExchanges. e.g. `organizations/myorg/locations/us`.", +"location": "path", +"pattern": "^organizations/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The maximum number of results to return in a single response page. Leverage the page tokens to iterate through the entire collection.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Page token, returned by a previous call, to request the next page of results.", +"location": "query", +"type": "string" +} +}, +"path": "v1beta1/{+organization}/dataExchanges", +"response": { +"$ref": "ListOrgDataExchangesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/bigquery", +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +} +} +}, +"projects": { +"resources": { +"locations": { +"resources": { +"dataExchanges": { +"methods": { +"create": { +"description": "Creates a new data exchange.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/dataExchanges", +"httpMethod": "POST", +"id": "analyticshub.projects.locations.dataExchanges.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"dataExchangeId": { +"description": "Required. The ID of the data exchange. Must contain only Unicode letters, numbers (0-9), underscores (_). Should not use characters that require URL-escaping, or characters outside of ASCII, spaces. Max length: 100 bytes.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent resource path of the data exchange. e.g. `projects/myproject/locations/us`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+parent}/dataExchanges", +"request": { +"$ref": "DataExchange" +}, +"response": { +"$ref": "DataExchange" +}, +"scopes": [ +"https://www.googleapis.com/auth/bigquery", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes an existing data exchange.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/dataExchanges/{dataExchangesId}", +"httpMethod": "DELETE", +"id": "analyticshub.projects.locations.dataExchanges.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The full name of the data exchange resource that you want to delete. For example, `projects/myproject/locations/us/dataExchanges/123`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/dataExchanges/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+name}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/bigquery", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets the details of a data exchange.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/dataExchanges/{dataExchangesId}", +"httpMethod": "GET", +"id": "analyticshub.projects.locations.dataExchanges.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the data exchange. e.g. `projects/myproject/locations/us/dataExchanges/123`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/dataExchanges/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+name}", +"response": { +"$ref": "DataExchange" +}, +"scopes": [ +"https://www.googleapis.com/auth/bigquery", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"getIamPolicy": { +"description": "Gets the IAM policy.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/dataExchanges/{dataExchangesId}:getIamPolicy", +"httpMethod": "POST", +"id": "analyticshub.projects.locations.dataExchanges.getIamPolicy", +"parameterOrder": [ +"resource" +], +"parameters": { +"resource": { +"description": "REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/dataExchanges/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+resource}:getIamPolicy", +"request": { +"$ref": "GetIamPolicyRequest" +}, +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/bigquery", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists all data exchanges in a given project and location.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/dataExchanges", +"httpMethod": "GET", +"id": "analyticshub.projects.locations.dataExchanges.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "The maximum number of results to return in a single response page. Leverage the page tokens to iterate through the entire collection.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Page token, returned by a previous call, to request the next page of results.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent resource path of the data exchanges. e.g. `projects/myproject/locations/us`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+parent}/dataExchanges", +"response": { +"$ref": "ListDataExchangesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/bigquery", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates an existing data exchange.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/dataExchanges/{dataExchangesId}", +"httpMethod": "PATCH", +"id": "analyticshub.projects.locations.dataExchanges.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Output only. The resource name of the data exchange. e.g. `projects/myproject/locations/us/dataExchanges/123`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/dataExchanges/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Required. Field mask specifies the fields to update in the data exchange resource. The fields specified in the `updateMask` are relative to the resource and are not a full request.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1beta1/{+name}", +"request": { +"$ref": "DataExchange" +}, +"response": { +"$ref": "DataExchange" +}, +"scopes": [ +"https://www.googleapis.com/auth/bigquery", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"setIamPolicy": { +"description": "Sets the IAM policy.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/dataExchanges/{dataExchangesId}:setIamPolicy", +"httpMethod": "POST", +"id": "analyticshub.projects.locations.dataExchanges.setIamPolicy", +"parameterOrder": [ +"resource" +], +"parameters": { +"resource": { +"description": "REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/dataExchanges/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+resource}:setIamPolicy", +"request": { +"$ref": "SetIamPolicyRequest" +}, +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/bigquery", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"testIamPermissions": { +"description": "Returns the permissions that a caller has.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/dataExchanges/{dataExchangesId}:testIamPermissions", +"httpMethod": "POST", +"id": "analyticshub.projects.locations.dataExchanges.testIamPermissions", +"parameterOrder": [ +"resource" +], +"parameters": { +"resource": { +"description": "REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/dataExchanges/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+resource}:testIamPermissions", +"request": { +"$ref": "TestIamPermissionsRequest" +}, +"response": { +"$ref": "TestIamPermissionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/bigquery", +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"listings": { +"methods": { +"create": { +"description": "Creates a new listing.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/dataExchanges/{dataExchangesId}/listings", +"httpMethod": "POST", +"id": "analyticshub.projects.locations.dataExchanges.listings.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"listingId": { +"description": "Required. The ID of the listing to create. Must contain only Unicode letters, numbers (0-9), underscores (_). Should not use characters that require URL-escaping, or characters outside of ASCII, spaces. Max length: 100 bytes.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent resource path of the listing. e.g. `projects/myproject/locations/us/dataExchanges/123`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/dataExchanges/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+parent}/listings", +"request": { +"$ref": "Listing" +}, +"response": { +"$ref": "Listing" +}, +"scopes": [ +"https://www.googleapis.com/auth/bigquery", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a listing.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/dataExchanges/{dataExchangesId}/listings/{listingsId}", +"httpMethod": "DELETE", +"id": "analyticshub.projects.locations.dataExchanges.listings.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Resource name of the listing to delete. e.g. `projects/myproject/locations/us/dataExchanges/123/listings/456`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/dataExchanges/[^/]+/listings/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+name}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/bigquery", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets the details of a listing.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/dataExchanges/{dataExchangesId}/listings/{listingsId}", +"httpMethod": "GET", +"id": "analyticshub.projects.locations.dataExchanges.listings.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the listing. e.g. `projects/myproject/locations/us/dataExchanges/123/listings/456`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/dataExchanges/[^/]+/listings/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+name}", +"response": { +"$ref": "Listing" +}, +"scopes": [ +"https://www.googleapis.com/auth/bigquery", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"getIamPolicy": { +"description": "Gets the IAM policy.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/dataExchanges/{dataExchangesId}/listings/{listingsId}:getIamPolicy", +"httpMethod": "POST", +"id": "analyticshub.projects.locations.dataExchanges.listings.getIamPolicy", +"parameterOrder": [ +"resource" +], +"parameters": { +"resource": { +"description": "REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/dataExchanges/[^/]+/listings/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+resource}:getIamPolicy", +"request": { +"$ref": "GetIamPolicyRequest" +}, +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/bigquery", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists all listings in a given project and location.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/dataExchanges/{dataExchangesId}/listings", +"httpMethod": "GET", +"id": "analyticshub.projects.locations.dataExchanges.listings.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "The maximum number of results to return in a single response page. Leverage the page tokens to iterate through the entire collection.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Page token, returned by a previous call, to request the next page of results.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent resource path of the listing. e.g. `projects/myproject/locations/us/dataExchanges/123`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/dataExchanges/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+parent}/listings", +"response": { +"$ref": "ListListingsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/bigquery", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates an existing listing.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/dataExchanges/{dataExchangesId}/listings/{listingsId}", +"httpMethod": "PATCH", +"id": "analyticshub.projects.locations.dataExchanges.listings.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Output only. The resource name of the listing. e.g. `projects/myproject/locations/us/dataExchanges/123/listings/456`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/dataExchanges/[^/]+/listings/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Required. Field mask specifies the fields to update in the listing resource. The fields specified in the `updateMask` are relative to the resource and are not a full request.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1beta1/{+name}", +"request": { +"$ref": "Listing" +}, +"response": { +"$ref": "Listing" +}, +"scopes": [ +"https://www.googleapis.com/auth/bigquery", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"setIamPolicy": { +"description": "Sets the IAM policy.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/dataExchanges/{dataExchangesId}/listings/{listingsId}:setIamPolicy", +"httpMethod": "POST", +"id": "analyticshub.projects.locations.dataExchanges.listings.setIamPolicy", +"parameterOrder": [ +"resource" +], +"parameters": { +"resource": { +"description": "REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/dataExchanges/[^/]+/listings/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+resource}:setIamPolicy", +"request": { +"$ref": "SetIamPolicyRequest" +}, +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/bigquery", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"subscribe": { +"description": "Subscribes to a listing. Currently, with Analytics Hub, you can create listings that reference only BigQuery datasets. Upon subscription to a listing for a BigQuery dataset, Analytics Hub creates a linked dataset in the subscriber's project.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/dataExchanges/{dataExchangesId}/listings/{listingsId}:subscribe", +"httpMethod": "POST", +"id": "analyticshub.projects.locations.dataExchanges.listings.subscribe", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Resource name of the listing that you want to subscribe to. e.g. `projects/myproject/locations/us/dataExchanges/123/listings/456`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/dataExchanges/[^/]+/listings/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+name}:subscribe", +"request": { +"$ref": "SubscribeListingRequest" +}, +"response": { +"$ref": "SubscribeListingResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/bigquery", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"testIamPermissions": { +"description": "Returns the permissions that a caller has.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/dataExchanges/{dataExchangesId}/listings/{listingsId}:testIamPermissions", +"httpMethod": "POST", +"id": "analyticshub.projects.locations.dataExchanges.listings.testIamPermissions", +"parameterOrder": [ +"resource" +], +"parameters": { +"resource": { +"description": "REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/dataExchanges/[^/]+/listings/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+resource}:testIamPermissions", +"request": { +"$ref": "TestIamPermissionsRequest" +}, +"response": { +"$ref": "TestIamPermissionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/bigquery", +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +} +} +} +} +} +}, +"revision": "20250901", +"rootUrl": "https://analyticshub.googleapis.com/", +"schemas": { +"AuditConfig": { +"description": "Specifies the audit configuration for a service. The configuration determines which permission types are logged, and what identities, if any, are exempted from logging. An AuditConfig must have one or more AuditLogConfigs. If there are AuditConfigs for both `allServices` and a specific service, the union of the two AuditConfigs is used for that service: the log_types specified in each AuditConfig are enabled, and the exempted_members in each AuditLogConfig are exempted. Example Policy with multiple AuditConfigs: { \"audit_configs\": [ { \"service\": \"allServices\", \"audit_log_configs\": [ { \"log_type\": \"DATA_READ\", \"exempted_members\": [ \"user:jose@example.com\" ] }, { \"log_type\": \"DATA_WRITE\" }, { \"log_type\": \"ADMIN_READ\" } ] }, { \"service\": \"sampleservice.googleapis.com\", \"audit_log_configs\": [ { \"log_type\": \"DATA_READ\" }, { \"log_type\": \"DATA_WRITE\", \"exempted_members\": [ \"user:aliya@example.com\" ] } ] } ] } For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also exempts `jose@example.com` from DATA_READ logging, and `aliya@example.com` from DATA_WRITE logging.", +"id": "AuditConfig", +"properties": { +"auditLogConfigs": { +"description": "The configuration for logging of each type of permission.", +"items": { +"$ref": "AuditLogConfig" +}, +"type": "array" +}, +"service": { +"description": "Specifies a service that will be enabled for audit logging. For example, `storage.googleapis.com`, `cloudsql.googleapis.com`. `allServices` is a special value that covers all services.", +"type": "string" +} +}, +"type": "object" +}, +"AuditLogConfig": { +"description": "Provides the configuration for logging a type of permissions. Example: { \"audit_log_configs\": [ { \"log_type\": \"DATA_READ\", \"exempted_members\": [ \"user:jose@example.com\" ] }, { \"log_type\": \"DATA_WRITE\" } ] } This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting jose@example.com from DATA_READ logging.", +"id": "AuditLogConfig", +"properties": { +"exemptedMembers": { +"description": "Specifies the identities that do not cause logging for this type of permission. Follows the same format of Binding.members.", +"items": { +"type": "string" +}, +"type": "array" +}, +"logType": { +"description": "The log type that this config enables.", +"enum": [ +"LOG_TYPE_UNSPECIFIED", +"ADMIN_READ", +"DATA_WRITE", +"DATA_READ" +], +"enumDescriptions": [ +"Default case. Should never be this.", +"Admin reads. Example: CloudIAM getIamPolicy", +"Data writes. Example: CloudSQL Users create", +"Data reads. Example: CloudSQL Users list" +], +"type": "string" +} +}, +"type": "object" +}, +"BigQueryDatasetSource": { +"description": "A reference to a shared dataset. It is an existing BigQuery dataset with a collection of objects such as tables and views that you want to share with subscribers. When subscriber's subscribe to a listing, Analytics Hub creates a linked dataset in the subscriber's project. A Linked dataset is an opaque, read-only BigQuery dataset that serves as a _symbolic link_ to a shared dataset.", +"id": "BigQueryDatasetSource", +"properties": { +"dataset": { +"description": "Resource name of the dataset source for this listing. e.g. `projects/myproject/datasets/123`", +"type": "string" +} +}, +"type": "object" +}, +"Binding": { +"description": "Associates `members`, or principals, with a `role`.", +"id": "Binding", +"properties": { +"condition": { +"$ref": "Expr", +"description": "The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies)." +}, +"members": { +"description": "Specifies the principals requesting access for a Google Cloud resource. `members` can have the following values: * `allUsers`: A special identifier that represents anyone who is on the internet; with or without a Google account. * `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service account. Does not include identities that come from external identity providers (IdPs) through identity federation. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `group:{emailid}`: An email address that represents a Google group. For example, `admins@example.com`. * `domain:{domain}`: The G Suite domain (primary) that represents all the users of that domain. For example, `google.com` or `example.com`. * `principal://iam.googleapis.com/locations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}`: A single identity in a workforce identity pool. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/group/{group_id}`: All workforce identities in a group. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/attribute.{attribute_name}/{attribute_value}`: All workforce identities with a specific attribute value. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/*`: All identities in a workforce identity pool. * `principal://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/subject/{subject_attribute_value}`: A single identity in a workload identity pool. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/group/{group_id}`: A workload identity pool group. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/attribute.{attribute_name}/{attribute_value}`: All identities in a workload identity pool with a certain attribute. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/*`: All identities in a workload identity pool. * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a user that has been recently deleted. For example, `alice@example.com?uid=123456789012345678901`. If the user is recovered, this value reverts to `user:{emailid}` and the recovered user retains the role in the binding. * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a service account that has been recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the service account is undeleted, this value reverts to `serviceAccount:{emailid}` and the undeleted service account retains the role in the binding. * `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a Google group that has been recently deleted. For example, `admins@example.com?uid=123456789012345678901`. If the group is recovered, this value reverts to `group:{emailid}` and the recovered group retains the role in the binding. * `deleted:principal://iam.googleapis.com/locations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}`: Deleted single identity in a workforce identity pool. For example, `deleted:principal://iam.googleapis.com/locations/global/workforcePools/my-pool-id/subject/my-subject-attribute-value`.", +"items": { +"type": "string" +}, +"type": "array" +}, +"role": { +"description": "Role that is assigned to the list of `members`, or principals. For example, `roles/viewer`, `roles/editor`, or `roles/owner`. For an overview of the IAM roles and permissions, see the [IAM documentation](https://cloud.google.com/iam/docs/roles-overview). For a list of the available pre-defined roles, see [here](https://cloud.google.com/iam/docs/understanding-roles).", +"type": "string" +} +}, +"type": "object" +}, +"CommercialInfo": { +"description": "Commercial info metadata for this subscription.", +"id": "CommercialInfo", +"properties": { +"cloudMarketplace": { +"$ref": "GoogleCloudMarketplaceInfo", +"description": "Output only. This is set when the subscription is commercialised via Cloud Marketplace.", +"readOnly": true +} +}, +"type": "object" +}, +"DataExchange": { +"description": "A data exchange is a container that lets you share data. Along with the descriptive information about the data exchange, it contains listings that reference shared datasets.", +"id": "DataExchange", +"properties": { +"description": { +"description": "Optional. Description of the data exchange. The description must not contain Unicode non-characters as well as C0 and C1 control codes except tabs (HT), new lines (LF), carriage returns (CR), and page breaks (FF). Default value is an empty string. Max length: 2000 bytes.", +"type": "string" +}, +"displayName": { +"description": "Required. Human-readable display name of the data exchange. The display name must contain only Unicode letters, numbers (0-9), underscores (_), dashes (-), spaces ( ), ampersands (&) and must not start or end with spaces. Default value is an empty string. Max length: 63 bytes.", +"type": "string" +}, +"documentation": { +"description": "Optional. Documentation describing the data exchange.", +"type": "string" +}, +"icon": { +"description": "Optional. Base64 encoded image representing the data exchange. Max Size: 3.0MiB Expected image dimensions are 512x512 pixels, however the API only performs validation on size of the encoded data. Note: For byte fields, the content of the fields are base64-encoded (which increases the size of the data by 33-36%) when using JSON on the wire.", +"format": "byte", +"type": "string" +}, +"listingCount": { +"description": "Output only. Number of listings contained in the data exchange.", +"format": "int32", +"readOnly": true, +"type": "integer" +}, +"name": { +"description": "Output only. The resource name of the data exchange. e.g. `projects/myproject/locations/us/dataExchanges/123`.", +"readOnly": true, +"type": "string" +}, +"primaryContact": { +"description": "Optional. Email or URL of the primary point of contact of the data exchange. Max Length: 1000 bytes.", +"type": "string" +} +}, +"type": "object" +}, +"DataProvider": { +"description": "Contains details of the data provider.", +"id": "DataProvider", +"properties": { +"name": { +"description": "Optional. Name of the data provider.", +"type": "string" +}, +"primaryContact": { +"description": "Optional. Email or URL of the data provider. Max Length: 1000 bytes.", +"type": "string" +} +}, +"type": "object" +}, +"DestinationDataset": { +"description": "Defines the destination bigquery dataset.", +"id": "DestinationDataset", +"properties": { +"datasetReference": { +"$ref": "DestinationDatasetReference", +"description": "Required. A reference that identifies the destination dataset." +}, +"description": { +"description": "Optional. A user-friendly description of the dataset.", +"type": "string" +}, +"friendlyName": { +"description": "Optional. A descriptive name for the dataset.", +"type": "string" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. The labels associated with this dataset. You can use these to organize and group your datasets. You can set this property when inserting or updating a dataset. See https://cloud.google.com/resource-manager/docs/creating-managing-labels for more information.", +"type": "object" +}, +"location": { +"description": "Required. The geographic location where the dataset should reside. See https://cloud.google.com/bigquery/docs/locations for supported locations.", +"type": "string" +}, +"replicaLocations": { +"description": "Optional. The geographic locations where the dataset should be replicated. See [BigQuery locations](https://cloud.google.com/bigquery/docs/locations) for supported locations.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"DestinationDatasetReference": { +"id": "DestinationDatasetReference", +"properties": { +"datasetId": { +"description": "Required. A unique ID for this dataset, without the project name. The ID must contain only letters (a-z, A-Z), numbers (0-9), or underscores (_). The maximum length is 1,024 characters.", +"type": "string" +}, +"projectId": { +"description": "Required. The ID of the project containing this dataset.", +"type": "string" +} +}, +"type": "object" +}, +"Empty": { +"description": "A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }", +"id": "Empty", +"properties": {}, +"type": "object" +}, +"Expr": { +"description": "Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: \"Summary size limit\" description: \"Determines if a summary is less than 100 chars\" expression: \"document.summary.size() < 100\" Example (Equality): title: \"Requestor is owner\" description: \"Determines if requestor is the document owner\" expression: \"document.owner == request.auth.claims.email\" Example (Logic): title: \"Public documents\" description: \"Determine whether the document should be publicly visible\" expression: \"document.type != 'private' && document.type != 'internal'\" Example (Data Manipulation): title: \"Notification string\" description: \"Create a notification string with a timestamp.\" expression: \"'New message received at ' + string(document.create_time)\" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information.", +"id": "Expr", +"properties": { +"description": { +"description": "Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI.", +"type": "string" +}, +"expression": { +"description": "Textual representation of an expression in Common Expression Language syntax.", +"type": "string" +}, +"location": { +"description": "Optional. String indicating the location of the expression for error reporting, e.g. a file name and a position in the file.", +"type": "string" +}, +"title": { +"description": "Optional. Title for the expression, i.e. a short string describing its purpose. This can be used e.g. in UIs which allow to enter the expression.", +"type": "string" +} +}, +"type": "object" +}, +"GetIamPolicyRequest": { +"description": "Request message for `GetIamPolicy` method.", +"id": "GetIamPolicyRequest", +"properties": { +"options": { +"$ref": "GetPolicyOptions", +"description": "OPTIONAL: A `GetPolicyOptions` object for specifying options to `GetIamPolicy`." +} +}, +"type": "object" +}, +"GetPolicyOptions": { +"description": "Encapsulates settings provided to GetIamPolicy.", +"id": "GetPolicyOptions", +"properties": { +"requestedPolicyVersion": { +"description": "Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"GoogleCloudBigqueryDataexchangeV1beta1DestinationDataset": { +"description": "Defines the destination bigquery dataset.", +"id": "GoogleCloudBigqueryDataexchangeV1beta1DestinationDataset", +"properties": { +"datasetReference": { +"$ref": "GoogleCloudBigqueryDataexchangeV1beta1DestinationDatasetReference", +"description": "Required. A reference that identifies the destination dataset." +}, +"description": { +"description": "Optional. A user-friendly description of the dataset.", +"type": "string" +}, +"friendlyName": { +"description": "Optional. A descriptive name for the dataset.", +"type": "string" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. The labels associated with this dataset. You can use these to organize and group your datasets. You can set this property when inserting or updating a dataset. See https://cloud.google.com/resource-manager/docs/creating-managing-labels for more information.", +"type": "object" +}, +"location": { +"description": "Required. The geographic location where the dataset should reside. See https://cloud.google.com/bigquery/docs/locations for supported locations.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudBigqueryDataexchangeV1beta1DestinationDatasetReference": { +"id": "GoogleCloudBigqueryDataexchangeV1beta1DestinationDatasetReference", +"properties": { +"datasetId": { +"description": "Required. A unique ID for this dataset, without the project name. The ID must contain only letters (a-z, A-Z), numbers (0-9), or underscores (_). The maximum length is 1,024 characters.", +"type": "string" +}, +"projectId": { +"description": "Required. The ID of the project containing this dataset.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudMarketplaceInfo": { +"description": "Cloud Marketplace commercial metadata for this subscription.", +"id": "GoogleCloudMarketplaceInfo", +"properties": { +"order": { +"description": "Resource name of the Marketplace Order.", +"type": "string" +} +}, +"type": "object" +}, +"LinkedResource": { +"description": "Reference to a linked resource tracked by this Subscription.", +"id": "LinkedResource", +"properties": { +"linkedDataset": { +"description": "Output only. Name of the linked dataset, e.g. projects/subscriberproject/datasets/linked_dataset", +"readOnly": true, +"type": "string" +}, +"linkedPubsubSubscription": { +"description": "Output only. Name of the Pub/Sub subscription, e.g. projects/subscriberproject/subscriptions/subscriptions/sub_id", +"readOnly": true, +"type": "string" +}, +"listing": { +"description": "Output only. Listing for which linked resource is created.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"ListDataExchangesResponse": { +"description": "Message for response to the list of data exchanges.", +"id": "ListDataExchangesResponse", +"properties": { +"dataExchanges": { +"description": "The list of data exchanges.", +"items": { +"$ref": "DataExchange" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A token to request the next page of results.", +"type": "string" +} +}, +"type": "object" +}, +"ListListingsResponse": { +"description": "Message for response to the list of Listings.", +"id": "ListListingsResponse", +"properties": { +"listings": { +"description": "The list of Listing.", +"items": { +"$ref": "Listing" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A token to request the next page of results.", +"type": "string" +} +}, +"type": "object" +}, +"ListOrgDataExchangesResponse": { +"description": "Message for response to listing data exchanges in an organization and location.", +"id": "ListOrgDataExchangesResponse", +"properties": { +"dataExchanges": { +"description": "The list of data exchanges.", +"items": { +"$ref": "DataExchange" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A token to request the next page of results.", +"type": "string" +} +}, +"type": "object" +}, +"Listing": { +"description": "A listing is what gets published into a data exchange that a subscriber can subscribe to. It contains a reference to the data source along with descriptive information that will help subscribers find and subscribe the data.", +"id": "Listing", +"properties": { +"allowOnlyMetadataSharing": { +"description": "Optional. If true, the listing is only available to get the resource metadata. Listing is non subscribable.", +"type": "boolean" +}, +"bigqueryDataset": { +"$ref": "BigQueryDatasetSource", +"description": "Required. Shared dataset i.e. BigQuery dataset source." +}, +"categories": { +"description": "Optional. Categories of the listing. Up to five categories are allowed.", +"items": { +"enum": [ +"CATEGORY_UNSPECIFIED", +"CATEGORY_OTHERS", +"CATEGORY_ADVERTISING_AND_MARKETING", +"CATEGORY_COMMERCE", +"CATEGORY_CLIMATE_AND_ENVIRONMENT", +"CATEGORY_DEMOGRAPHICS", +"CATEGORY_ECONOMICS", +"CATEGORY_EDUCATION", +"CATEGORY_ENERGY", +"CATEGORY_FINANCIAL", +"CATEGORY_GAMING", +"CATEGORY_GEOSPATIAL", +"CATEGORY_HEALTHCARE_AND_LIFE_SCIENCE", +"CATEGORY_MEDIA", +"CATEGORY_PUBLIC_SECTOR", +"CATEGORY_RETAIL", +"CATEGORY_SPORTS", +"CATEGORY_SCIENCE_AND_RESEARCH", +"CATEGORY_TRANSPORTATION_AND_LOGISTICS", +"CATEGORY_TRAVEL_AND_TOURISM", +"CATEGORY_GOOGLE_EARTH_ENGINE" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"" +], +"type": "string" +}, +"type": "array" +}, +"dataProvider": { +"$ref": "DataProvider", +"description": "Optional. Details of the data provider who owns the source data." +}, +"description": { +"description": "Optional. Short description of the listing. The description must not contain Unicode non-characters and C0 and C1 control codes except tabs (HT), new lines (LF), carriage returns (CR), and page breaks (FF). Default value is an empty string. Max length: 2000 bytes.", +"type": "string" +}, +"displayName": { +"description": "Required. Human-readable display name of the listing. The display name must contain only Unicode letters, numbers (0-9), underscores (_), dashes (-), spaces ( ), ampersands (&) and can't start or end with spaces. Default value is an empty string. Max length: 63 bytes.", +"type": "string" +}, +"documentation": { +"description": "Optional. Documentation describing the listing.", +"type": "string" +}, +"icon": { +"description": "Optional. Base64 encoded image representing the listing. Max Size: 3.0MiB Expected image dimensions are 512x512 pixels, however the API only performs validation on size of the encoded data. Note: For byte fields, the contents of the field are base64-encoded (which increases the size of the data by 33-36%) when using JSON on the wire.", +"format": "byte", +"type": "string" +}, +"name": { +"description": "Output only. The resource name of the listing. e.g. `projects/myproject/locations/us/dataExchanges/123/listings/456`", +"readOnly": true, +"type": "string" +}, +"primaryContact": { +"description": "Optional. Email or URL of the primary point of contact of the listing. Max Length: 1000 bytes.", +"type": "string" +}, +"publisher": { +"$ref": "Publisher", +"description": "Optional. Details of the publisher who owns the listing and who can share the source data." +}, +"requestAccess": { +"description": "Optional. Email or URL of the request access of the listing. Subscribers can use this reference to request access. Max Length: 1000 bytes.", +"type": "string" +}, +"restrictedExportConfig": { +"$ref": "RestrictedExportConfig", +"description": "Optional. If set, restricted export configuration will be propagated and enforced on the linked dataset. This is a required field for data clean room exchanges." +}, +"state": { +"description": "Output only. Current state of the listing.", +"enum": [ +"STATE_UNSPECIFIED", +"ACTIVE" +], +"enumDescriptions": [ +"Default value. This value is unused.", +"Subscribable state. Users with dataexchange.listings.subscribe permission can subscribe to this listing." +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"OperationMetadata": { +"description": "Represents the metadata of a long-running operation in Analytics Hub.", +"id": "OperationMetadata", +"properties": { +"apiVersion": { +"description": "Output only. API version used to start the operation.", +"readOnly": true, +"type": "string" +}, +"createTime": { +"description": "Output only. The time the operation was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"endTime": { +"description": "Output only. The time the operation finished running.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"requestedCancellation": { +"description": "Output only. Identifies whether the user has requested cancellation of the operation. Operations that have successfully been cancelled have Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.", +"readOnly": true, +"type": "boolean" +}, +"statusMessage": { +"description": "Output only. Human-readable status of the operation, if any.", +"readOnly": true, +"type": "string" +}, +"target": { +"description": "Output only. Server-defined resource path for the target of the operation.", +"readOnly": true, +"type": "string" +}, +"verb": { +"description": "Output only. Name of the verb executed by the operation.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"Policy": { +"description": "An Identity and Access Management (IAM) policy, which specifies access controls for Google Cloud resources. A `Policy` is a collection of `bindings`. A `binding` binds one or more `members`, or principals, to a single `role`. Principals can be user accounts, service accounts, Google groups, and domains (such as G Suite). A `role` is a named list of permissions; each `role` can be an IAM predefined role or a user-created custom role. For some types of Google Cloud resources, a `binding` can also specify a `condition`, which is a logical expression that allows access to a resource only if the expression evaluates to `true`. A condition can add constraints based on attributes of the request, the resource, or both. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). **JSON example:** ``` { \"bindings\": [ { \"role\": \"roles/resourcemanager.organizationAdmin\", \"members\": [ \"user:mike@example.com\", \"group:admins@example.com\", \"domain:google.com\", \"serviceAccount:my-project-id@appspot.gserviceaccount.com\" ] }, { \"role\": \"roles/resourcemanager.organizationViewer\", \"members\": [ \"user:eve@example.com\" ], \"condition\": { \"title\": \"expirable access\", \"description\": \"Does not grant access after Sep 2020\", \"expression\": \"request.time < timestamp('2020-10-01T00:00:00.000Z')\", } } ], \"etag\": \"BwWWja0YfJA=\", \"version\": 3 } ``` **YAML example:** ``` bindings: - members: - user:mike@example.com - group:admins@example.com - domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.com role: roles/resourcemanager.organizationViewer condition: title: expirable access description: Does not grant access after Sep 2020 expression: request.time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 ``` For a description of IAM and its features, see the [IAM documentation](https://cloud.google.com/iam/docs/).", +"id": "Policy", +"properties": { +"auditConfigs": { +"description": "Specifies cloud audit logging configuration for this policy.", +"items": { +"$ref": "AuditConfig" +}, +"type": "array" +}, +"bindings": { +"description": "Associates a list of `members`, or principals, with a `role`. Optionally, may specify a `condition` that determines how and when the `bindings` are applied. Each of the `bindings` must contain at least one principal. The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250 of these principals can be Google groups. Each occurrence of a principal counts towards these limits. For example, if the `bindings` grant 50 different roles to `user:alice@example.com`, and not to any other principal, then you can add another 1,450 principals to the `bindings` in the `Policy`.", +"items": { +"$ref": "Binding" +}, +"type": "array" +}, +"etag": { +"description": "`etag` is used for optimistic concurrency control as a way to help prevent simultaneous updates of a policy from overwriting each other. It is strongly suggested that systems make use of the `etag` in the read-modify-write cycle to perform policy updates in order to avoid race conditions: An `etag` is returned in the response to `getIamPolicy`, and systems are expected to put that etag in the request to `setIamPolicy` to ensure that their change will be applied to the same version of the policy. **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost.", +"format": "byte", +"type": "string" +}, +"version": { +"description": "Specifies the format of the policy. Valid values are `0`, `1`, and `3`. Requests that specify an invalid value are rejected. Any operation that affects conditional role bindings must specify version `3`. This requirement applies to the following operations: * Getting a policy that includes a conditional role binding * Adding a conditional role binding to a policy * Changing a conditional role binding in a policy * Removing any role binding, with or without a condition, from a policy that includes conditions **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost. If a policy does not include any conditions, operations on that policy may specify any valid version or leave the field unset. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"Publisher": { +"description": "Contains details of the listing publisher.", +"id": "Publisher", +"properties": { +"name": { +"description": "Optional. Name of the listing publisher.", +"type": "string" +}, +"primaryContact": { +"description": "Optional. Email or URL of the listing publisher. Max Length: 1000 bytes.", +"type": "string" +} +}, +"type": "object" +}, +"RefreshSubscriptionResponse": { +"description": "Message for response when you refresh a subscription.", +"id": "RefreshSubscriptionResponse", +"properties": { +"subscription": { +"$ref": "Subscription", +"description": "The refreshed subscription resource." +} +}, +"type": "object" +}, +"RestrictedExportConfig": { +"description": "Restricted export config, used to configure restricted export on linked dataset.", +"id": "RestrictedExportConfig", +"properties": { +"enabled": { +"description": "Optional. If true, enable restricted export.", +"type": "boolean" +}, +"restrictDirectTableAccess": { +"description": "Output only. If true, restrict direct table access(read api/tabledata.list) on linked table.", +"readOnly": true, +"type": "boolean" +}, +"restrictQueryResult": { +"description": "Optional. If true, restrict export of query result derived from restricted linked dataset table.", +"type": "boolean" +} +}, +"type": "object" +}, +"SetIamPolicyRequest": { +"description": "Request message for `SetIamPolicy` method.", +"id": "SetIamPolicyRequest", +"properties": { +"policy": { +"$ref": "Policy", +"description": "REQUIRED: The complete policy to be applied to the `resource`. The size of the policy is limited to a few 10s of KB. An empty policy is a valid policy but certain Google Cloud services (such as Projects) might reject them." +}, +"updateMask": { +"description": "OPTIONAL: A FieldMask specifying which fields of the policy to modify. Only the fields in the mask will be modified. If no mask is provided, the following default mask is used: `paths: \"bindings, etag\"`", +"format": "google-fieldmask", +"type": "string" +} +}, +"type": "object" +}, +"SubscribeDataExchangeResponse": { +"description": "Message for response when you subscribe to a Data Exchange.", +"id": "SubscribeDataExchangeResponse", +"properties": { +"subscription": { +"$ref": "Subscription", +"description": "Subscription object created from this subscribe action." +} +}, +"type": "object" +}, +"SubscribeListingRequest": { +"description": "Message for subscribing to a listing.", +"id": "SubscribeListingRequest", +"properties": { +"destinationDataset": { +"$ref": "GoogleCloudBigqueryDataexchangeV1beta1DestinationDataset", +"description": "BigQuery destination dataset to create for the subscriber." +} +}, +"type": "object" +}, +"SubscribeListingResponse": { +"description": "Message for response when you subscribe to a listing.", +"id": "SubscribeListingResponse", +"properties": {}, +"type": "object" +}, +"Subscription": { +"description": "A subscription represents a subscribers' access to a particular set of published data. It contains references to associated listings, data exchanges, and linked datasets.", +"id": "Subscription", +"properties": { +"commercialInfo": { +"$ref": "CommercialInfo", +"description": "Output only. This is set if this is a commercial subscription i.e. if this subscription was created from subscribing to a commercial listing.", +"readOnly": true +}, +"creationTime": { +"description": "Output only. Timestamp when the subscription was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"dataExchange": { +"description": "Output only. Resource name of the source Data Exchange. e.g. projects/123/locations/us/dataExchanges/456", +"readOnly": true, +"type": "string" +}, +"destinationDataset": { +"$ref": "DestinationDataset", +"description": "Optional. BigQuery destination dataset to create for the subscriber." +}, +"lastModifyTime": { +"description": "Output only. Timestamp when the subscription was last modified.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"linkedDatasetMap": { +"additionalProperties": { +"$ref": "LinkedResource" +}, +"description": "Output only. Map of listing resource names to associated linked resource, e.g. projects/123/locations/us/dataExchanges/456/listings/789 -> projects/123/datasets/my_dataset For listing-level subscriptions, this is a map of size 1. Only contains values if state == STATE_ACTIVE.", +"readOnly": true, +"type": "object" +}, +"linkedResources": { +"description": "Output only. Linked resources created in the subscription. Only contains values if state = STATE_ACTIVE.", +"items": { +"$ref": "LinkedResource" +}, +"readOnly": true, +"type": "array" +}, +"listing": { +"description": "Output only. Resource name of the source Listing. e.g. projects/123/locations/us/dataExchanges/456/listings/789", +"readOnly": true, +"type": "string" +}, +"logLinkedDatasetQueryUserEmail": { +"description": "Output only. By default, false. If true, the Subscriber agreed to the email sharing mandate that is enabled for DataExchange/Listing.", +"readOnly": true, +"type": "boolean" +}, +"name": { +"description": "Output only. The resource name of the subscription. e.g. `projects/myproject/locations/us/subscriptions/123`.", +"readOnly": true, +"type": "string" +}, +"organizationDisplayName": { +"description": "Output only. Display name of the project of this subscription.", +"readOnly": true, +"type": "string" +}, +"organizationId": { +"description": "Output only. Organization of the project this subscription belongs to.", +"readOnly": true, +"type": "string" +}, +"resourceType": { +"description": "Output only. Listing shared asset type.", +"enum": [ +"SHARED_RESOURCE_TYPE_UNSPECIFIED", +"BIGQUERY_DATASET", +"PUBSUB_TOPIC" +], +"enumDescriptions": [ +"Not specified.", +"BigQuery Dataset Asset.", +"Pub/Sub Topic Asset." +], +"readOnly": true, +"type": "string" +}, +"state": { +"description": "Output only. Current state of the subscription.", +"enum": [ +"STATE_UNSPECIFIED", +"STATE_ACTIVE", +"STATE_STALE", +"STATE_INACTIVE" +], +"enumDescriptions": [ +"Default value. This value is unused.", +"This subscription is active and the data is accessible.", +"The data referenced by this subscription is out of date and should be refreshed. This can happen when a data provider adds or removes datasets.", +"This subscription has been cancelled or revoked and the data is no longer accessible." +], +"readOnly": true, +"type": "string" +}, +"subscriberContact": { +"description": "Output only. Email of the subscriber.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"TestIamPermissionsRequest": { +"description": "Request message for `TestIamPermissions` method.", +"id": "TestIamPermissionsRequest", +"properties": { +"permissions": { +"description": "The set of permissions to check for the `resource`. Permissions with wildcards (such as `*` or `storage.*`) are not allowed. For more information see [IAM Overview](https://cloud.google.com/iam/docs/overview#permissions).", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"TestIamPermissionsResponse": { +"description": "Response message for `TestIamPermissions` method.", +"id": "TestIamPermissionsResponse", +"properties": { +"permissions": { +"description": "A subset of `TestPermissionsRequest.permissions` that the caller is allowed.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +} +}, +"servicePath": "", +"title": "Analytics Hub API", +"version": "v1beta1", +"version_module": true +} \ No newline at end of file diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/analyticsreporting.v4.json b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/analyticsreporting.v4.json new file mode 100644 index 0000000000000000000000000000000000000000..72dab320b8f9d86efed44b21fb456ac100b0233d --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/analyticsreporting.v4.json @@ -0,0 +1,1683 @@ +{ +"auth": { +"oauth2": { +"scopes": { +"https://www.googleapis.com/auth/analytics": { +"description": "View and manage your Google Analytics data" +}, +"https://www.googleapis.com/auth/analytics.readonly": { +"description": "See and download your Google Analytics data" +} +} +} +}, +"basePath": "", +"baseUrl": "https://analyticsreporting.googleapis.com/", +"batchPath": "batch", +"canonicalName": "AnalyticsReporting", +"description": "Accesses Analytics report data.", +"discoveryVersion": "v1", +"documentationLink": "https://developers.google.com/analytics/devguides/reporting/core/v4/", +"fullyEncodeReservedExpansion": true, +"icons": { +"x16": "http://www.google.com/images/icons/product/search-16.gif", +"x32": "http://www.google.com/images/icons/product/search-32.gif" +}, +"id": "analyticsreporting:v4", +"kind": "discovery#restDescription", +"mtlsRootUrl": "https://analyticsreporting.mtls.googleapis.com/", +"name": "analyticsreporting", +"ownerDomain": "google.com", +"ownerName": "Google", +"parameters": { +"$.xgafv": { +"description": "V1 error format.", +"enum": [ +"1", +"2" +], +"enumDescriptions": [ +"v1 error format", +"v2 error format" +], +"location": "query", +"type": "string" +}, +"access_token": { +"description": "OAuth access token.", +"location": "query", +"type": "string" +}, +"alt": { +"default": "json", +"description": "Data format for response.", +"enum": [ +"json", +"media", +"proto" +], +"enumDescriptions": [ +"Responses with Content-Type of application/json", +"Media download with context-dependent Content-Type", +"Responses with Content-Type of application/x-protobuf" +], +"location": "query", +"type": "string" +}, +"callback": { +"description": "JSONP", +"location": "query", +"type": "string" +}, +"fields": { +"description": "Selector specifying which fields to include in a partial response.", +"location": "query", +"type": "string" +}, +"key": { +"description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", +"location": "query", +"type": "string" +}, +"oauth_token": { +"description": "OAuth 2.0 token for the current user.", +"location": "query", +"type": "string" +}, +"prettyPrint": { +"default": "true", +"description": "Returns response with indentations and line breaks.", +"location": "query", +"type": "boolean" +}, +"quotaUser": { +"description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.", +"location": "query", +"type": "string" +}, +"uploadType": { +"description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", +"location": "query", +"type": "string" +}, +"upload_protocol": { +"description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", +"location": "query", +"type": "string" +} +}, +"protocol": "rest", +"resources": { +"reports": { +"methods": { +"batchGet": { +"description": "Returns the Analytics data.", +"flatPath": "v4/reports:batchGet", +"httpMethod": "POST", +"id": "analyticsreporting.reports.batchGet", +"parameterOrder": [], +"parameters": {}, +"path": "v4/reports:batchGet", +"request": { +"$ref": "GetReportsRequest" +}, +"response": { +"$ref": "GetReportsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/analytics", +"https://www.googleapis.com/auth/analytics.readonly" +] +} +} +}, +"userActivity": { +"methods": { +"search": { +"description": "Returns User Activity data.", +"flatPath": "v4/userActivity:search", +"httpMethod": "POST", +"id": "analyticsreporting.userActivity.search", +"parameterOrder": [], +"parameters": {}, +"path": "v4/userActivity:search", +"request": { +"$ref": "SearchUserActivityRequest" +}, +"response": { +"$ref": "SearchUserActivityResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/analytics", +"https://www.googleapis.com/auth/analytics.readonly" +] +} +} +} +}, +"revision": "20240123", +"rootUrl": "https://analyticsreporting.googleapis.com/", +"schemas": { +"Activity": { +"description": "An Activity represents data for an activity of a user. Note that an Activity is different from a hit. A hit might result in multiple Activity's. For example, if a hit includes a transaction and a goal completion, there will be two Activity protos for this hit, one for ECOMMERCE and one for GOAL. Conversely, multiple hits can also construct one Activity. In classic e-commerce, data for one transaction might be sent through multiple hits. These hits will be merged into one ECOMMERCE Activity.", +"id": "Activity", +"properties": { +"activityTime": { +"description": "Timestamp of the activity. If activities for a visit cross midnight and occur in two separate dates, then two sessions (one per date) share the session identifier. For example, say session ID 113472 has activity within 2019-08-20, and session ID 243742 has activity within 2019-08-25 and 2019-08-26. Session ID 113472 is one session, and session ID 243742 is two sessions.", +"format": "google-datetime", +"type": "string" +}, +"activityType": { +"description": "Type of this activity.", +"enum": [ +"ACTIVITY_TYPE_UNSPECIFIED", +"PAGEVIEW", +"SCREENVIEW", +"GOAL", +"ECOMMERCE", +"EVENT" +], +"enumDescriptions": [ +"ActivityType will never have this value in the response. Using this type in the request will result in an error.", +"Used when the activity resulted out of a visitor viewing a page.", +"Used when the activity resulted out of a visitor using an application on a mobile device.", +"Used to denote that a goal type activity.", +"An e-commerce transaction was performed by the visitor on the page.", +"Used when the activity is an event." +], +"type": "string" +}, +"appview": { +"$ref": "ScreenviewData", +"description": "This will be set if `activity_type` equals `SCREEN_VIEW`." +}, +"campaign": { +"description": "For manual campaign tracking, it is the value of the utm_campaign campaign tracking parameter. For AdWords autotagging, it is the name(s) of the online ad campaign(s) you use for the property. If you use neither, its value is (not set).", +"type": "string" +}, +"channelGrouping": { +"description": "The Channel Group associated with an end user's session for this View (defined by the View's Channel Groupings).", +"type": "string" +}, +"customDimension": { +"description": "A list of all custom dimensions associated with this activity.", +"items": { +"$ref": "CustomDimension" +}, +"type": "array" +}, +"ecommerce": { +"$ref": "EcommerceData", +"description": "This will be set if `activity_type` equals `ECOMMERCE`." +}, +"event": { +"$ref": "EventData", +"description": "This field contains all the details pertaining to an event and will be set if `activity_type` equals `EVENT`." +}, +"goals": { +"$ref": "GoalSetData", +"description": "This field contains a list of all the goals that were reached in this activity when `activity_type` equals `GOAL`." +}, +"hostname": { +"description": "The hostname from which the tracking request was made.", +"type": "string" +}, +"keyword": { +"description": "For manual campaign tracking, it is the value of the utm_term campaign tracking parameter. For AdWords traffic, it contains the best matching targeting criteria. For the display network, where multiple targeting criteria could have caused the ad to show up, it returns the best matching targeting criteria as selected by Ads. This could be display_keyword, site placement, boomuserlist, user_interest, age, or gender. Otherwise its value is (not set).", +"type": "string" +}, +"landingPagePath": { +"description": "The first page in users' sessions, or the landing page.", +"type": "string" +}, +"medium": { +"description": "The type of referrals. For manual campaign tracking, it is the value of the utm_medium campaign tracking parameter. For AdWords autotagging, it is cpc. If users came from a search engine detected by Google Analytics, it is organic. If the referrer is not a search engine, it is referral. If users came directly to the property and document.referrer is empty, its value is (none).", +"type": "string" +}, +"pageview": { +"$ref": "PageviewData", +"description": "This will be set if `activity_type` equals `PAGEVIEW`. This field contains all the details about the visitor and the page that was visited." +}, +"source": { +"description": "The source of referrals. For manual campaign tracking, it is the value of the utm_source campaign tracking parameter. For AdWords autotagging, it is google. If you use neither, it is the domain of the source (e.g., document.referrer) referring the users. It may also contain a port address. If users arrived without a referrer, its value is (direct).", +"type": "string" +} +}, +"type": "object" +}, +"Cohort": { +"description": "Defines a cohort. A cohort is a group of users who share a common characteristic. For example, all users with the same acquisition date belong to the same cohort.", +"id": "Cohort", +"properties": { +"dateRange": { +"$ref": "DateRange", +"description": "This is used for `FIRST_VISIT_DATE` cohort, the cohort selects users whose first visit date is between start date and end date defined in the DateRange. The date ranges should be aligned for cohort requests. If the request contains `ga:cohortNthDay` it should be exactly one day long, if `ga:cohortNthWeek` it should be aligned to the week boundary (starting at Sunday and ending Saturday), and for `ga:cohortNthMonth` the date range should be aligned to the month (starting at the first and ending on the last day of the month). For LTV requests there are no such restrictions. You do not need to supply a date range for the `reportsRequest.dateRanges` field." +}, +"name": { +"description": "A unique name for the cohort. If not defined name will be auto-generated with values cohort_[1234...].", +"type": "string" +}, +"type": { +"description": "Type of the cohort. The only supported type as of now is `FIRST_VISIT_DATE`. If this field is unspecified the cohort is treated as `FIRST_VISIT_DATE` type cohort.", +"enum": [ +"UNSPECIFIED_COHORT_TYPE", +"FIRST_VISIT_DATE" +], +"enumDescriptions": [ +"If unspecified it's treated as `FIRST_VISIT_DATE`.", +"Cohorts that are selected based on first visit date." +], +"type": "string" +} +}, +"type": "object" +}, +"CohortGroup": { +"description": "Defines a cohort group. For example: \"cohortGroup\": { \"cohorts\": [{ \"name\": \"cohort 1\", \"type\": \"FIRST_VISIT_DATE\", \"dateRange\": { \"startDate\": \"2015-08-01\", \"endDate\": \"2015-08-01\" } },{ \"name\": \"cohort 2\" \"type\": \"FIRST_VISIT_DATE\" \"dateRange\": { \"startDate\": \"2015-07-01\", \"endDate\": \"2015-07-01\" } }] }", +"id": "CohortGroup", +"properties": { +"cohorts": { +"description": "The definition for the cohort.", +"items": { +"$ref": "Cohort" +}, +"type": "array" +}, +"lifetimeValue": { +"description": "Enable Life Time Value (LTV). LTV measures lifetime value for users acquired through different channels. Please see: [Cohort Analysis](https://support.google.com/analytics/answer/6074676) and [Lifetime Value](https://support.google.com/analytics/answer/6182550) If the value of lifetimeValue is false: - The metric values are similar to the values in the web interface cohort report. - The cohort definition date ranges must be aligned to the calendar week and month. i.e. while requesting `ga:cohortNthWeek` the `startDate` in the cohort definition should be a Sunday and the `endDate` should be the following Saturday, and for `ga:cohortNthMonth`, the `startDate` should be the 1st of the month and `endDate` should be the last day of the month. When the lifetimeValue is true: - The metric values will correspond to the values in the web interface LifeTime value report. - The Lifetime Value report shows you how user value (Revenue) and engagement (Appviews, Goal Completions, Sessions, and Session Duration) grow during the 90 days after a user is acquired. - The metrics are calculated as a cumulative average per user per the time increment. - The cohort definition date ranges need not be aligned to the calendar week and month boundaries. - The `viewId` must be an [app view ID](https://support.google.com/analytics/answer/2649553#WebVersusAppViews)", +"type": "boolean" +} +}, +"type": "object" +}, +"ColumnHeader": { +"description": "Column headers.", +"id": "ColumnHeader", +"properties": { +"dimensions": { +"description": "The dimension names in the response.", +"items": { +"type": "string" +}, +"type": "array" +}, +"metricHeader": { +"$ref": "MetricHeader", +"description": "Metric headers for the metrics in the response." +} +}, +"type": "object" +}, +"CustomDimension": { +"description": "Custom dimension.", +"id": "CustomDimension", +"properties": { +"index": { +"description": "Slot number of custom dimension.", +"format": "int32", +"type": "integer" +}, +"value": { +"description": "Value of the custom dimension. Default value (i.e. empty string) indicates clearing sesion/visitor scope custom dimension value.", +"type": "string" +} +}, +"type": "object" +}, +"DateRange": { +"description": "A contiguous set of days: startDate, startDate + 1 day, ..., endDate. The start and end dates are specified in [ISO8601](https://en.wikipedia.org/wiki/ISO_8601) date format `YYYY-MM-DD`.", +"id": "DateRange", +"properties": { +"endDate": { +"description": "The end date for the query in the format `YYYY-MM-DD`.", +"type": "string" +}, +"startDate": { +"description": "The start date for the query in the format `YYYY-MM-DD`.", +"type": "string" +} +}, +"type": "object" +}, +"DateRangeValues": { +"description": "Used to return a list of metrics for a single DateRange / dimension combination", +"id": "DateRangeValues", +"properties": { +"pivotValueRegions": { +"description": "The values of each pivot region.", +"items": { +"$ref": "PivotValueRegion" +}, +"type": "array" +}, +"values": { +"description": "Each value corresponds to each Metric in the request.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"Dimension": { +"description": "[Dimensions](https://support.google.com/analytics/answer/1033861) are attributes of your data. For example, the dimension `ga:city` indicates the city, for example, \"Paris\" or \"New York\", from which a session originates.", +"id": "Dimension", +"properties": { +"histogramBuckets": { +"description": "If non-empty, we place dimension values into buckets after string to int64. Dimension values that are not the string representation of an integral value will be converted to zero. The bucket values have to be in increasing order. Each bucket is closed on the lower end, and open on the upper end. The \"first\" bucket includes all values less than the first boundary, the \"last\" bucket includes all values up to infinity. Dimension values that fall in a bucket get transformed to a new dimension value. For example, if one gives a list of \"0, 1, 3, 4, 7\", then we return the following buckets: - bucket #1: values < 0, dimension value \"<0\" - bucket #2: values in [0,1), dimension value \"0\" - bucket #3: values in [1,3), dimension value \"1-2\" - bucket #4: values in [3,4), dimension value \"3\" - bucket #5: values in [4,7), dimension value \"4-6\" - bucket #6: values >= 7, dimension value \"7+\" NOTE: If you are applying histogram mutation on any dimension, and using that dimension in sort, you will want to use the sort type `HISTOGRAM_BUCKET` for that purpose. Without that the dimension values will be sorted according to dictionary (lexicographic) order. For example the ascending dictionary order is: \"<50\", \"1001+\", \"121-1000\", \"50-120\" And the ascending `HISTOGRAM_BUCKET` order is: \"<50\", \"50-120\", \"121-1000\", \"1001+\" The client has to explicitly request `\"orderType\": \"HISTOGRAM_BUCKET\"` for a histogram-mutated dimension.", +"items": { +"format": "int64", +"type": "string" +}, +"type": "array" +}, +"name": { +"description": "Name of the dimension to fetch, for example `ga:browser`.", +"type": "string" +} +}, +"type": "object" +}, +"DimensionFilter": { +"description": "Dimension filter specifies the filtering options on a dimension.", +"id": "DimensionFilter", +"properties": { +"caseSensitive": { +"description": "Should the match be case sensitive? Default is false.", +"type": "boolean" +}, +"dimensionName": { +"description": "The dimension to filter on. A DimensionFilter must contain a dimension.", +"type": "string" +}, +"expressions": { +"description": "Strings or regular expression to match against. Only the first value of the list is used for comparison unless the operator is `IN_LIST`. If `IN_LIST` operator, then the entire list is used to filter the dimensions as explained in the description of the `IN_LIST` operator.", +"items": { +"type": "string" +}, +"type": "array" +}, +"not": { +"description": "Logical `NOT` operator. If this boolean is set to true, then the matching dimension values will be excluded in the report. The default is false.", +"type": "boolean" +}, +"operator": { +"description": "How to match the dimension to the expression. The default is REGEXP.", +"enum": [ +"OPERATOR_UNSPECIFIED", +"REGEXP", +"BEGINS_WITH", +"ENDS_WITH", +"PARTIAL", +"EXACT", +"NUMERIC_EQUAL", +"NUMERIC_GREATER_THAN", +"NUMERIC_LESS_THAN", +"IN_LIST" +], +"enumDescriptions": [ +"If the match type is unspecified, it is treated as a `REGEXP`.", +"The match expression is treated as a regular expression. All match types are not treated as regular expressions.", +"Matches the value which begin with the match expression provided.", +"Matches the values which end with the match expression provided.", +"Substring match.", +"The value should match the match expression entirely.", +"Integer comparison filters. case sensitivity is ignored for these and the expression is assumed to be a string representing an integer. Failure conditions: - If expression is not a valid int64, the client should expect an error. - Input dimensions that are not valid int64 values will never match the filter.", +"Checks if the dimension is numerically greater than the match expression. Read the description for `NUMERIC_EQUALS` for restrictions.", +"Checks if the dimension is numerically less than the match expression. Read the description for `NUMERIC_EQUALS` for restrictions.", +"This option is used to specify a dimension filter whose expression can take any value from a selected list of values. This helps avoiding evaluating multiple exact match dimension filters which are OR'ed for every single response row. For example: expressions: [\"A\", \"B\", \"C\"] Any response row whose dimension has it is value as A, B or C, matches this DimensionFilter." +], +"type": "string" +} +}, +"type": "object" +}, +"DimensionFilterClause": { +"description": "A group of dimension filters. Set the operator value to specify how the filters are logically combined.", +"id": "DimensionFilterClause", +"properties": { +"filters": { +"description": "The repeated set of filters. They are logically combined based on the operator specified.", +"items": { +"$ref": "DimensionFilter" +}, +"type": "array" +}, +"operator": { +"description": "The operator for combining multiple dimension filters. If unspecified, it is treated as an `OR`.", +"enum": [ +"OPERATOR_UNSPECIFIED", +"OR", +"AND" +], +"enumDescriptions": [ +"Unspecified operator. It is treated as an `OR`.", +"The logical `OR` operator.", +"The logical `AND` operator." +], +"type": "string" +} +}, +"type": "object" +}, +"DynamicSegment": { +"description": "Dynamic segment definition for defining the segment within the request. A segment can select users, sessions or both.", +"id": "DynamicSegment", +"properties": { +"name": { +"description": "The name of the dynamic segment.", +"type": "string" +}, +"sessionSegment": { +"$ref": "SegmentDefinition", +"description": "Session Segment to select sessions to include in the segment." +}, +"userSegment": { +"$ref": "SegmentDefinition", +"description": "User Segment to select users to include in the segment." +} +}, +"type": "object" +}, +"EcommerceData": { +"description": "E-commerce details associated with the user activity.", +"id": "EcommerceData", +"properties": { +"actionType": { +"description": "Action associated with this e-commerce action.", +"enum": [ +"UNKNOWN", +"CLICK", +"DETAILS_VIEW", +"ADD_TO_CART", +"REMOVE_FROM_CART", +"CHECKOUT", +"PAYMENT", +"REFUND", +"CHECKOUT_OPTION" +], +"enumDescriptions": [ +"Action type is not known.", +"Click through of product lists.", +"Product detail views.", +"Add product(s) to cart.", +"Remove product(s) from cart.", +"Check out.", +"Completed purchase.", +"Refund of purchase.", +"Checkout options." +], +"type": "string" +}, +"ecommerceType": { +"description": "The type of this e-commerce activity.", +"enum": [ +"ECOMMERCE_TYPE_UNSPECIFIED", +"CLASSIC", +"ENHANCED" +], +"enumDescriptions": [ +"Used when the e-commerce activity type is unspecified.", +"Used when activity has classic (non-enhanced) e-commerce information.", +"Used when activity has enhanced e-commerce information." +], +"type": "string" +}, +"products": { +"description": "Details of the products in this transaction.", +"items": { +"$ref": "ProductData" +}, +"type": "array" +}, +"transaction": { +"$ref": "TransactionData", +"description": "Transaction details of this e-commerce action." +} +}, +"type": "object" +}, +"EventData": { +"description": "Represents all the details pertaining to an event.", +"id": "EventData", +"properties": { +"eventAction": { +"description": "Type of interaction with the object. Eg: 'play'.", +"type": "string" +}, +"eventCategory": { +"description": "The object on the page that was interacted with. Eg: 'Video'.", +"type": "string" +}, +"eventCount": { +"description": "Number of such events in this activity.", +"format": "int64", +"type": "string" +}, +"eventLabel": { +"description": "Label attached with the event.", +"type": "string" +}, +"eventValue": { +"description": "Numeric value associated with the event.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"GetReportsRequest": { +"description": "The batch request containing multiple report request.", +"id": "GetReportsRequest", +"properties": { +"reportRequests": { +"description": "Requests, each request will have a separate response. There can be a maximum of 5 requests. All requests should have the same `dateRanges`, `viewId`, `segments`, `samplingLevel`, and `cohortGroup`.", +"items": { +"$ref": "ReportRequest" +}, +"type": "array" +}, +"useResourceQuotas": { +"description": "Enables [resource based quotas](/analytics/devguides/reporting/core/v4/limits-quotas#analytics_reporting_api_v4), (defaults to `False`). If this field is set to `True` the per view (profile) quotas are governed by the computational cost of the request. Note that using cost based quotas will higher enable sampling rates. (10 Million for `SMALL`, 100M for `LARGE`. See the [limits and quotas documentation](/analytics/devguides/reporting/core/v4/limits-quotas#analytics_reporting_api_v4) for details.", +"type": "boolean" +} +}, +"type": "object" +}, +"GetReportsResponse": { +"description": "The main response class which holds the reports from the Reporting API `batchGet` call.", +"id": "GetReportsResponse", +"properties": { +"queryCost": { +"description": "The amount of resource quota tokens deducted to execute the query. Includes all responses.", +"format": "int32", +"type": "integer" +}, +"reports": { +"description": "Responses corresponding to each of the request.", +"items": { +"$ref": "Report" +}, +"type": "array" +}, +"resourceQuotasRemaining": { +"$ref": "ResourceQuotasRemaining", +"description": "The amount of resource quota remaining for the property." +} +}, +"type": "object" +}, +"GoalData": { +"description": "Represents all the details pertaining to a goal.", +"id": "GoalData", +"properties": { +"goalCompletionLocation": { +"description": "URL of the page where this goal was completed.", +"type": "string" +}, +"goalCompletions": { +"description": "Total number of goal completions in this activity.", +"format": "int64", +"type": "string" +}, +"goalIndex": { +"description": "This identifies the goal as configured for the profile.", +"format": "int32", +"type": "integer" +}, +"goalName": { +"description": "Name of the goal.", +"type": "string" +}, +"goalPreviousStep1": { +"description": "URL of the page one step prior to the goal completion.", +"type": "string" +}, +"goalPreviousStep2": { +"description": "URL of the page two steps prior to the goal completion.", +"type": "string" +}, +"goalPreviousStep3": { +"description": "URL of the page three steps prior to the goal completion.", +"type": "string" +}, +"goalValue": { +"description": "Value in this goal.", +"format": "double", +"type": "number" +} +}, +"type": "object" +}, +"GoalSetData": { +"description": "Represents a set of goals that were reached in an activity.", +"id": "GoalSetData", +"properties": { +"goals": { +"description": "All the goals that were reached in the current activity.", +"items": { +"$ref": "GoalData" +}, +"type": "array" +} +}, +"type": "object" +}, +"Metric": { +"description": "[Metrics](https://support.google.com/analytics/answer/1033861) are the quantitative measurements. For example, the metric `ga:users` indicates the total number of users for the requested time period.", +"id": "Metric", +"properties": { +"alias": { +"description": "An alias for the metric expression is an alternate name for the expression. The alias can be used for filtering and sorting. This field is optional and is useful if the expression is not a single metric but a complex expression which cannot be used in filtering and sorting. The alias is also used in the response column header.", +"type": "string" +}, +"expression": { +"description": "A metric expression in the request. An expression is constructed from one or more metrics and numbers. Accepted operators include: Plus (+), Minus (-), Negation (Unary -), Divided by (/), Multiplied by (*), Parenthesis, Positive cardinal numbers (0-9), can include decimals and is limited to 1024 characters. Example `ga:totalRefunds/ga:users`, in most cases the metric expression is just a single metric name like `ga:users`. Adding mixed `MetricType` (E.g., `CURRENCY` + `PERCENTAGE`) metrics will result in unexpected results.", +"type": "string" +}, +"formattingType": { +"description": "Specifies how the metric expression should be formatted, for example `INTEGER`.", +"enum": [ +"METRIC_TYPE_UNSPECIFIED", +"INTEGER", +"FLOAT", +"CURRENCY", +"PERCENT", +"TIME" +], +"enumDescriptions": [ +"Metric type is unspecified.", +"Integer metric.", +"Float metric.", +"Currency metric.", +"Percentage metric.", +"Time metric in `HH:MM:SS` format." +], +"type": "string" +} +}, +"type": "object" +}, +"MetricFilter": { +"description": "MetricFilter specifies the filter on a metric.", +"id": "MetricFilter", +"properties": { +"comparisonValue": { +"description": "The value to compare against.", +"type": "string" +}, +"metricName": { +"description": "The metric that will be filtered on. A metricFilter must contain a metric name. A metric name can be an alias earlier defined as a metric or it can also be a metric expression.", +"type": "string" +}, +"not": { +"description": "Logical `NOT` operator. If this boolean is set to true, then the matching metric values will be excluded in the report. The default is false.", +"type": "boolean" +}, +"operator": { +"description": "Is the metric `EQUAL`, `LESS_THAN` or `GREATER_THAN` the comparisonValue, the default is `EQUAL`. If the operator is `IS_MISSING`, checks if the metric is missing and would ignore the comparisonValue.", +"enum": [ +"OPERATOR_UNSPECIFIED", +"EQUAL", +"LESS_THAN", +"GREATER_THAN", +"IS_MISSING" +], +"enumDescriptions": [ +"If the operator is not specified, it is treated as `EQUAL`.", +"Should the value of the metric be exactly equal to the comparison value.", +"Should the value of the metric be less than to the comparison value.", +"Should the value of the metric be greater than to the comparison value.", +"Validates if the metric is missing. Doesn't take comparisonValue into account." +], +"type": "string" +} +}, +"type": "object" +}, +"MetricFilterClause": { +"description": "Represents a group of metric filters. Set the operator value to specify how the filters are logically combined.", +"id": "MetricFilterClause", +"properties": { +"filters": { +"description": "The repeated set of filters. They are logically combined based on the operator specified.", +"items": { +"$ref": "MetricFilter" +}, +"type": "array" +}, +"operator": { +"description": "The operator for combining multiple metric filters. If unspecified, it is treated as an `OR`.", +"enum": [ +"OPERATOR_UNSPECIFIED", +"OR", +"AND" +], +"enumDescriptions": [ +"Unspecified operator. It is treated as an `OR`.", +"The logical `OR` operator.", +"The logical `AND` operator." +], +"type": "string" +} +}, +"type": "object" +}, +"MetricHeader": { +"description": "The headers for the metrics.", +"id": "MetricHeader", +"properties": { +"metricHeaderEntries": { +"description": "Headers for the metrics in the response.", +"items": { +"$ref": "MetricHeaderEntry" +}, +"type": "array" +}, +"pivotHeaders": { +"description": "Headers for the pivots in the response.", +"items": { +"$ref": "PivotHeader" +}, +"type": "array" +} +}, +"type": "object" +}, +"MetricHeaderEntry": { +"description": "Header for the metrics.", +"id": "MetricHeaderEntry", +"properties": { +"name": { +"description": "The name of the header.", +"type": "string" +}, +"type": { +"description": "The type of the metric, for example `INTEGER`.", +"enum": [ +"METRIC_TYPE_UNSPECIFIED", +"INTEGER", +"FLOAT", +"CURRENCY", +"PERCENT", +"TIME" +], +"enumDescriptions": [ +"Metric type is unspecified.", +"Integer metric.", +"Float metric.", +"Currency metric.", +"Percentage metric.", +"Time metric in `HH:MM:SS` format." +], +"type": "string" +} +}, +"type": "object" +}, +"OrFiltersForSegment": { +"description": "A list of segment filters in the `OR` group are combined with the logical OR operator.", +"id": "OrFiltersForSegment", +"properties": { +"segmentFilterClauses": { +"description": "List of segment filters to be combined with a `OR` operator.", +"items": { +"$ref": "SegmentFilterClause" +}, +"type": "array" +} +}, +"type": "object" +}, +"OrderBy": { +"description": "Specifies the sorting options.", +"id": "OrderBy", +"properties": { +"fieldName": { +"description": "The field which to sort by. The default sort order is ascending. Example: `ga:browser`. Note, that you can only specify one field for sort here. For example, `ga:browser, ga:city` is not valid.", +"type": "string" +}, +"orderType": { +"description": "The order type. The default orderType is `VALUE`.", +"enum": [ +"ORDER_TYPE_UNSPECIFIED", +"VALUE", +"DELTA", +"SMART", +"HISTOGRAM_BUCKET", +"DIMENSION_AS_INTEGER" +], +"enumDescriptions": [ +"Unspecified order type will be treated as sort based on value.", +"The sort order is based on the value of the chosen column; looks only at the first date range.", +"The sort order is based on the difference of the values of the chosen column between the first two date ranges. Usable only if there are exactly two date ranges.", +"The sort order is based on weighted value of the chosen column. If column has n/d format, then weighted value of this ratio will be `(n + totals.n)/(d + totals.d)` Usable only for metrics that represent ratios.", +"Histogram order type is applicable only to dimension columns with non-empty histogram-buckets.", +"If the dimensions are fixed length numbers, ordinary sort would just work fine. `DIMENSION_AS_INTEGER` can be used if the dimensions are variable length numbers." +], +"type": "string" +}, +"sortOrder": { +"description": "The sorting order for the field.", +"enum": [ +"SORT_ORDER_UNSPECIFIED", +"ASCENDING", +"DESCENDING" +], +"enumDescriptions": [ +"If the sort order is unspecified, the default is ascending.", +"Ascending sort. The field will be sorted in an ascending manner.", +"Descending sort. The field will be sorted in a descending manner." +], +"type": "string" +} +}, +"type": "object" +}, +"PageviewData": { +"description": "Represents details collected when the visitor views a page.", +"id": "PageviewData", +"properties": { +"pagePath": { +"description": "The URL of the page that the visitor viewed.", +"type": "string" +}, +"pageTitle": { +"description": "The title of the page that the visitor viewed.", +"type": "string" +} +}, +"type": "object" +}, +"Pivot": { +"description": "The Pivot describes the pivot section in the request. The Pivot helps rearrange the information in the table for certain reports by pivoting your data on a second dimension.", +"id": "Pivot", +"properties": { +"dimensionFilterClauses": { +"description": "DimensionFilterClauses are logically combined with an `AND` operator: only data that is included by all these DimensionFilterClauses contributes to the values in this pivot region. Dimension filters can be used to restrict the columns shown in the pivot region. For example if you have `ga:browser` as the requested dimension in the pivot region, and you specify key filters to restrict `ga:browser` to only \"IE\" or \"Firefox\", then only those two browsers would show up as columns.", +"items": { +"$ref": "DimensionFilterClause" +}, +"type": "array" +}, +"dimensions": { +"description": "A list of dimensions to show as pivot columns. A Pivot can have a maximum of 4 dimensions. Pivot dimensions are part of the restriction on the total number of dimensions allowed in the request.", +"items": { +"$ref": "Dimension" +}, +"type": "array" +}, +"maxGroupCount": { +"description": "Specifies the maximum number of groups to return. The default value is 10, also the maximum value is 1,000.", +"format": "int32", +"type": "integer" +}, +"metrics": { +"description": "The pivot metrics. Pivot metrics are part of the restriction on total number of metrics allowed in the request.", +"items": { +"$ref": "Metric" +}, +"type": "array" +}, +"startGroup": { +"description": "If k metrics were requested, then the response will contain some data-dependent multiple of k columns in the report. E.g., if you pivoted on the dimension `ga:browser` then you'd get k columns for \"Firefox\", k columns for \"IE\", k columns for \"Chrome\", etc. The ordering of the groups of columns is determined by descending order of \"total\" for the first of the k values. Ties are broken by lexicographic ordering of the first pivot dimension, then lexicographic ordering of the second pivot dimension, and so on. E.g., if the totals for the first value for Firefox, IE, and Chrome were 8, 2, 8, respectively, the order of columns would be Chrome, Firefox, IE. The following let you choose which of the groups of k columns are included in the response.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"PivotHeader": { +"description": "The headers for each of the pivot sections defined in the request.", +"id": "PivotHeader", +"properties": { +"pivotHeaderEntries": { +"description": "A single pivot section header.", +"items": { +"$ref": "PivotHeaderEntry" +}, +"type": "array" +}, +"totalPivotGroupsCount": { +"description": "The total number of groups for this pivot.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"PivotHeaderEntry": { +"description": "The headers for the each of the metric column corresponding to the metrics requested in the pivots section of the response.", +"id": "PivotHeaderEntry", +"properties": { +"dimensionNames": { +"description": "The name of the dimensions in the pivot response.", +"items": { +"type": "string" +}, +"type": "array" +}, +"dimensionValues": { +"description": "The values for the dimensions in the pivot.", +"items": { +"type": "string" +}, +"type": "array" +}, +"metric": { +"$ref": "MetricHeaderEntry", +"description": "The metric header for the metric in the pivot." +} +}, +"type": "object" +}, +"PivotValueRegion": { +"description": "The metric values in the pivot region.", +"id": "PivotValueRegion", +"properties": { +"values": { +"description": "The values of the metrics in each of the pivot regions.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ProductData": { +"description": "Details of the products in an e-commerce transaction.", +"id": "ProductData", +"properties": { +"itemRevenue": { +"description": "The total revenue from purchased product items.", +"format": "double", +"type": "number" +}, +"productName": { +"description": "The product name, supplied by the e-commerce tracking application, for the purchased items.", +"type": "string" +}, +"productQuantity": { +"description": "Total number of this product units in the transaction.", +"format": "int64", +"type": "string" +}, +"productSku": { +"description": "Unique code that represents the product.", +"type": "string" +} +}, +"type": "object" +}, +"Report": { +"description": "The data response corresponding to the request.", +"id": "Report", +"properties": { +"columnHeader": { +"$ref": "ColumnHeader", +"description": "The column headers." +}, +"data": { +"$ref": "ReportData", +"description": "Response data." +}, +"nextPageToken": { +"description": "Page token to retrieve the next page of results in the list.", +"type": "string" +} +}, +"type": "object" +}, +"ReportData": { +"description": "The data part of the report.", +"id": "ReportData", +"properties": { +"dataLastRefreshed": { +"description": "The last time the data in the report was refreshed. All the hits received before this timestamp are included in the calculation of the report.", +"format": "google-datetime", +"type": "string" +}, +"emptyReason": { +"description": "If empty reason is specified, the report is empty for this reason.", +"type": "string" +}, +"isDataGolden": { +"description": "Indicates if response to this request is golden or not. Data is golden when the exact same request will not produce any new results if asked at a later point in time.", +"type": "boolean" +}, +"maximums": { +"description": "Minimum and maximum values seen over all matching rows. These are both empty when `hideValueRanges` in the request is false, or when rowCount is zero.", +"items": { +"$ref": "DateRangeValues" +}, +"type": "array" +}, +"minimums": { +"description": "Minimum and maximum values seen over all matching rows. These are both empty when `hideValueRanges` in the request is false, or when rowCount is zero.", +"items": { +"$ref": "DateRangeValues" +}, +"type": "array" +}, +"rowCount": { +"description": "Total number of matching rows for this query.", +"format": "int32", +"type": "integer" +}, +"rows": { +"description": "There's one ReportRow for every unique combination of dimensions.", +"items": { +"$ref": "ReportRow" +}, +"type": "array" +}, +"samplesReadCounts": { +"description": "If the results are [sampled](https://support.google.com/analytics/answer/2637192), this returns the total number of samples read, one entry per date range. If the results are not sampled this field will not be defined. See [developer guide](/analytics/devguides/reporting/core/v4/basics#sampling) for details.", +"items": { +"format": "int64", +"type": "string" +}, +"type": "array" +}, +"samplingSpaceSizes": { +"description": "If the results are [sampled](https://support.google.com/analytics/answer/2637192), this returns the total number of samples present, one entry per date range. If the results are not sampled this field will not be defined. See [developer guide](/analytics/devguides/reporting/core/v4/basics#sampling) for details.", +"items": { +"format": "int64", +"type": "string" +}, +"type": "array" +}, +"totals": { +"description": "For each requested date range, for the set of all rows that match the query, every requested value format gets a total. The total for a value format is computed by first totaling the metrics mentioned in the value format and then evaluating the value format as a scalar expression. E.g., The \"totals\" for `3 / (ga:sessions + 2)` we compute `3 / ((sum of all relevant ga:sessions) + 2)`. Totals are computed before pagination.", +"items": { +"$ref": "DateRangeValues" +}, +"type": "array" +} +}, +"type": "object" +}, +"ReportRequest": { +"description": "The main request class which specifies the Reporting API request.", +"id": "ReportRequest", +"properties": { +"cohortGroup": { +"$ref": "CohortGroup", +"description": "Cohort group associated with this request. If there is a cohort group in the request the `ga:cohort` dimension must be present. Every [ReportRequest](#ReportRequest) within a `batchGet` method must contain the same `cohortGroup` definition." +}, +"dateRanges": { +"description": "Date ranges in the request. The request can have a maximum of 2 date ranges. The response will contain a set of metric values for each combination of the dimensions for each date range in the request. So, if there are two date ranges, there will be two set of metric values, one for the original date range and one for the second date range. The `reportRequest.dateRanges` field should not be specified for cohorts or Lifetime value requests. If a date range is not provided, the default date range is (startDate: current date - 7 days, endDate: current date - 1 day). Every [ReportRequest](#ReportRequest) within a `batchGet` method must contain the same `dateRanges` definition.", +"items": { +"$ref": "DateRange" +}, +"type": "array" +}, +"dimensionFilterClauses": { +"description": "The dimension filter clauses for filtering Dimension Values. They are logically combined with the `AND` operator. Note that filtering occurs before any dimensions are aggregated, so that the returned metrics represent the total for only the relevant dimensions.", +"items": { +"$ref": "DimensionFilterClause" +}, +"type": "array" +}, +"dimensions": { +"description": "The dimensions requested. Requests can have a total of 9 dimensions.", +"items": { +"$ref": "Dimension" +}, +"type": "array" +}, +"filtersExpression": { +"description": "Dimension or metric filters that restrict the data returned for your request. To use the `filtersExpression`, supply a dimension or metric on which to filter, followed by the filter expression. For example, the following expression selects `ga:browser` dimension which starts with Firefox; `ga:browser=~^Firefox`. For more information on dimensions and metric filters, see [Filters reference](https://developers.google.com/analytics/devguides/reporting/core/v3/reference#filters).", +"type": "string" +}, +"hideTotals": { +"description": "If set to true, hides the total of all metrics for all the matching rows, for every date range. The default false and will return the totals.", +"type": "boolean" +}, +"hideValueRanges": { +"description": "If set to true, hides the minimum and maximum across all matching rows. The default is false and the value ranges are returned.", +"type": "boolean" +}, +"includeEmptyRows": { +"description": "If set to false, the response does not include rows if all the retrieved metrics are equal to zero. The default is false which will exclude these rows.", +"type": "boolean" +}, +"metricFilterClauses": { +"description": "The metric filter clauses. They are logically combined with the `AND` operator. Metric filters look at only the first date range and not the comparing date range. Note that filtering on metrics occurs after the metrics are aggregated.", +"items": { +"$ref": "MetricFilterClause" +}, +"type": "array" +}, +"metrics": { +"description": "The metrics requested. Requests must specify at least one metric. Requests can have a total of 10 metrics.", +"items": { +"$ref": "Metric" +}, +"type": "array" +}, +"orderBys": { +"description": "Sort order on output rows. To compare two rows, the elements of the following are applied in order until a difference is found. All date ranges in the output get the same row order.", +"items": { +"$ref": "OrderBy" +}, +"type": "array" +}, +"pageSize": { +"description": "Page size is for paging and specifies the maximum number of returned rows. Page size should be >= 0. A query returns the default of 1,000 rows. The Analytics Core Reporting API returns a maximum of 100,000 rows per request, no matter how many you ask for. It can also return fewer rows than requested, if there aren't as many dimension segments as you expect. For instance, there are fewer than 300 possible values for `ga:country`, so when segmenting only by country, you can't get more than 300 rows, even if you set `pageSize` to a higher value.", +"format": "int32", +"type": "integer" +}, +"pageToken": { +"description": "A continuation token to get the next page of the results. Adding this to the request will return the rows after the pageToken. The pageToken should be the value returned in the nextPageToken parameter in the response to the GetReports request.", +"type": "string" +}, +"pivots": { +"description": "The pivot definitions. Requests can have a maximum of 2 pivots.", +"items": { +"$ref": "Pivot" +}, +"type": "array" +}, +"samplingLevel": { +"description": "The desired report [sample](https://support.google.com/analytics/answer/2637192) size. If the the `samplingLevel` field is unspecified the `DEFAULT` sampling level is used. Every [ReportRequest](#ReportRequest) within a `batchGet` method must contain the same `samplingLevel` definition. See [developer guide](/analytics/devguides/reporting/core/v4/basics#sampling) for details.", +"enum": [ +"SAMPLING_UNSPECIFIED", +"DEFAULT", +"SMALL", +"LARGE" +], +"enumDescriptions": [ +"If the `samplingLevel` field is unspecified the `DEFAULT` sampling level is used.", +"Returns response with a sample size that balances speed and accuracy.", +"It returns a fast response with a smaller sampling size.", +"Returns a more accurate response using a large sampling size. But this may result in response being slower." +], +"type": "string" +}, +"segments": { +"description": "Segment the data returned for the request. A segment definition helps look at a subset of the segment request. A request can contain up to four segments. Every [ReportRequest](#ReportRequest) within a `batchGet` method must contain the same `segments` definition. Requests with segments must have the `ga:segment` dimension.", +"items": { +"$ref": "Segment" +}, +"type": "array" +}, +"viewId": { +"description": "The Analytics [view ID](https://support.google.com/analytics/answer/1009618) from which to retrieve data. Every [ReportRequest](#ReportRequest) within a `batchGet` method must contain the same `viewId`.", +"type": "string" +} +}, +"type": "object" +}, +"ReportRow": { +"description": "A row in the report.", +"id": "ReportRow", +"properties": { +"dimensions": { +"description": "List of requested dimensions.", +"items": { +"type": "string" +}, +"type": "array" +}, +"metrics": { +"description": "List of metrics for each requested DateRange.", +"items": { +"$ref": "DateRangeValues" +}, +"type": "array" +} +}, +"type": "object" +}, +"ResourceQuotasRemaining": { +"description": "The resource quota tokens remaining for the property after the request is completed.", +"id": "ResourceQuotasRemaining", +"properties": { +"dailyQuotaTokensRemaining": { +"description": "Daily resource quota remaining remaining.", +"format": "int32", +"type": "integer" +}, +"hourlyQuotaTokensRemaining": { +"description": "Hourly resource quota tokens remaining.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"ScreenviewData": { +"id": "ScreenviewData", +"properties": { +"appName": { +"description": "The application name.", +"type": "string" +}, +"mobileDeviceBranding": { +"description": "Mobile manufacturer or branded name. Eg: \"Google\", \"Apple\" etc.", +"type": "string" +}, +"mobileDeviceModel": { +"description": "Mobile device model. Eg: \"Pixel\", \"iPhone\" etc.", +"type": "string" +}, +"screenName": { +"description": "The name of the screen.", +"type": "string" +} +}, +"type": "object" +}, +"SearchUserActivityRequest": { +"description": "The request to fetch User Report from Reporting API `userActivity:get` call.", +"id": "SearchUserActivityRequest", +"properties": { +"activityTypes": { +"description": "Set of all activity types being requested. Only acvities matching these types will be returned in the response. If empty, all activies will be returned.", +"items": { +"enum": [ +"ACTIVITY_TYPE_UNSPECIFIED", +"PAGEVIEW", +"SCREENVIEW", +"GOAL", +"ECOMMERCE", +"EVENT" +], +"enumDescriptions": [ +"ActivityType will never have this value in the response. Using this type in the request will result in an error.", +"Used when the activity resulted out of a visitor viewing a page.", +"Used when the activity resulted out of a visitor using an application on a mobile device.", +"Used to denote that a goal type activity.", +"An e-commerce transaction was performed by the visitor on the page.", +"Used when the activity is an event." +], +"type": "string" +}, +"type": "array" +}, +"dateRange": { +"$ref": "DateRange", +"description": "Date range for which to retrieve the user activity. If a date range is not provided, the default date range is (startDate: current date - 7 days, endDate: current date - 1 day)." +}, +"pageSize": { +"description": "Page size is for paging and specifies the maximum number of returned rows. Page size should be > 0. If the value is 0 or if the field isn't specified, the request returns the default of 1000 rows per page.", +"format": "int32", +"type": "integer" +}, +"pageToken": { +"description": "A continuation token to get the next page of the results. Adding this to the request will return the rows after the pageToken. The pageToken should be the value returned in the nextPageToken parameter in the response to the [SearchUserActivityRequest](#SearchUserActivityRequest) request.", +"type": "string" +}, +"user": { +"$ref": "User", +"description": "Required. Unique user Id to query for. Every [SearchUserActivityRequest](#SearchUserActivityRequest) must contain this field." +}, +"viewId": { +"description": "Required. The Analytics [view ID](https://support.google.com/analytics/answer/1009618) from which to retrieve data. Every [SearchUserActivityRequest](#SearchUserActivityRequest) must contain the `viewId`.", +"type": "string" +} +}, +"type": "object" +}, +"SearchUserActivityResponse": { +"description": "The response from `userActivity:get` call.", +"id": "SearchUserActivityResponse", +"properties": { +"nextPageToken": { +"description": "This token should be passed to [SearchUserActivityRequest](#SearchUserActivityRequest) to retrieve the next page.", +"type": "string" +}, +"sampleRate": { +"description": "This field represents the [sampling rate](https://support.google.com/analytics/answer/2637192) for the given request and is a number between 0.0 to 1.0. See [developer guide](/analytics/devguides/reporting/core/v4/basics#sampling) for details.", +"format": "double", +"type": "number" +}, +"sessions": { +"description": "Each record represents a session (device details, duration, etc).", +"items": { +"$ref": "UserActivitySession" +}, +"type": "array" +}, +"totalRows": { +"description": "Total rows returned by this query (across different pages).", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"Segment": { +"description": "The segment definition, if the report needs to be segmented. A Segment is a subset of the Analytics data. For example, of the entire set of users, one Segment might be users from a particular country or city.", +"id": "Segment", +"properties": { +"dynamicSegment": { +"$ref": "DynamicSegment", +"description": "A dynamic segment definition in the request." +}, +"segmentId": { +"description": "The segment ID of a built-in or custom segment, for example `gaid::-3`.", +"type": "string" +} +}, +"type": "object" +}, +"SegmentDefinition": { +"description": "SegmentDefinition defines the segment to be a set of SegmentFilters which are combined together with a logical `AND` operation.", +"id": "SegmentDefinition", +"properties": { +"segmentFilters": { +"description": "A segment is defined by a set of segment filters which are combined together with a logical `AND` operation.", +"items": { +"$ref": "SegmentFilter" +}, +"type": "array" +} +}, +"type": "object" +}, +"SegmentDimensionFilter": { +"description": "Dimension filter specifies the filtering options on a dimension.", +"id": "SegmentDimensionFilter", +"properties": { +"caseSensitive": { +"description": "Should the match be case sensitive, ignored for `IN_LIST` operator.", +"type": "boolean" +}, +"dimensionName": { +"description": "Name of the dimension for which the filter is being applied.", +"type": "string" +}, +"expressions": { +"description": "The list of expressions, only the first element is used for all operators", +"items": { +"type": "string" +}, +"type": "array" +}, +"maxComparisonValue": { +"description": "Maximum comparison values for `BETWEEN` match type.", +"type": "string" +}, +"minComparisonValue": { +"description": "Minimum comparison values for `BETWEEN` match type.", +"type": "string" +}, +"operator": { +"description": "The operator to use to match the dimension with the expressions.", +"enum": [ +"OPERATOR_UNSPECIFIED", +"REGEXP", +"BEGINS_WITH", +"ENDS_WITH", +"PARTIAL", +"EXACT", +"IN_LIST", +"NUMERIC_LESS_THAN", +"NUMERIC_GREATER_THAN", +"NUMERIC_BETWEEN" +], +"enumDescriptions": [ +"If the match type is unspecified, it is treated as a REGEXP.", +"The match expression is treated as a regular expression. All other match types are not treated as regular expressions.", +"Matches the values which begin with the match expression provided.", +"Matches the values which end with the match expression provided.", +"Substring match.", +"The value should match the match expression entirely.", +"This option is used to specify a dimension filter whose expression can take any value from a selected list of values. This helps avoiding evaluating multiple exact match dimension filters which are OR'ed for every single response row. For example: expressions: [\"A\", \"B\", \"C\"] Any response row whose dimension has it is value as A, B or C, matches this DimensionFilter.", +"Integer comparison filters. case sensitivity is ignored for these and the expression is assumed to be a string representing an integer. Failure conditions: - if expression is not a valid int64, the client should expect an error. - input dimensions that are not valid int64 values will never match the filter. Checks if the dimension is numerically less than the match expression.", +"Checks if the dimension is numerically greater than the match expression.", +"Checks if the dimension is numerically between the minimum and maximum of the match expression, boundaries excluded." +], +"type": "string" +} +}, +"type": "object" +}, +"SegmentFilter": { +"description": "SegmentFilter defines the segment to be either a simple or a sequence segment. A simple segment condition contains dimension and metric conditions to select the sessions or users. A sequence segment condition can be used to select users or sessions based on sequential conditions.", +"id": "SegmentFilter", +"properties": { +"not": { +"description": "If true, match the complement of simple or sequence segment. For example, to match all visits not from \"New York\", we can define the segment as follows: \"sessionSegment\": { \"segmentFilters\": [{ \"simpleSegment\" :{ \"orFiltersForSegment\": [{ \"segmentFilterClauses\":[{ \"dimensionFilter\": { \"dimensionName\": \"ga:city\", \"expressions\": [\"New York\"] } }] }] }, \"not\": \"True\" }] },", +"type": "boolean" +}, +"sequenceSegment": { +"$ref": "SequenceSegment", +"description": "Sequence conditions consist of one or more steps, where each step is defined by one or more dimension/metric conditions. Multiple steps can be combined with special sequence operators." +}, +"simpleSegment": { +"$ref": "SimpleSegment", +"description": "A Simple segment conditions consist of one or more dimension/metric conditions that can be combined" +} +}, +"type": "object" +}, +"SegmentFilterClause": { +"description": "Filter Clause to be used in a segment definition, can be wither a metric or a dimension filter.", +"id": "SegmentFilterClause", +"properties": { +"dimensionFilter": { +"$ref": "SegmentDimensionFilter", +"description": "Dimension Filter for the segment definition." +}, +"metricFilter": { +"$ref": "SegmentMetricFilter", +"description": "Metric Filter for the segment definition." +}, +"not": { +"description": "Matches the complement (`!`) of the filter.", +"type": "boolean" +} +}, +"type": "object" +}, +"SegmentMetricFilter": { +"description": "Metric filter to be used in a segment filter clause.", +"id": "SegmentMetricFilter", +"properties": { +"comparisonValue": { +"description": "The value to compare against. If the operator is `BETWEEN`, this value is treated as minimum comparison value.", +"type": "string" +}, +"maxComparisonValue": { +"description": "Max comparison value is only used for `BETWEEN` operator.", +"type": "string" +}, +"metricName": { +"description": "The metric that will be filtered on. A `metricFilter` must contain a metric name.", +"type": "string" +}, +"operator": { +"description": "Specifies is the operation to perform to compare the metric. The default is `EQUAL`.", +"enum": [ +"UNSPECIFIED_OPERATOR", +"LESS_THAN", +"GREATER_THAN", +"EQUAL", +"BETWEEN" +], +"enumDescriptions": [ +"Unspecified operator is treated as `LESS_THAN` operator.", +"Checks if the metric value is less than comparison value.", +"Checks if the metric value is greater than comparison value.", +"Equals operator.", +"For between operator, both the minimum and maximum are exclusive. We will use `LT` and `GT` for comparison." +], +"type": "string" +}, +"scope": { +"description": "Scope for a metric defines the level at which that metric is defined. The specified metric scope must be equal to or greater than its primary scope as defined in the data model. The primary scope is defined by if the segment is selecting users or sessions.", +"enum": [ +"UNSPECIFIED_SCOPE", +"PRODUCT", +"HIT", +"SESSION", +"USER" +], +"enumDescriptions": [ +"If the scope is unspecified, it defaults to the condition scope, `USER` or `SESSION` depending on if the segment is trying to choose users or sessions.", +"Product scope.", +"Hit scope.", +"Session scope.", +"User scope." +], +"type": "string" +} +}, +"type": "object" +}, +"SegmentSequenceStep": { +"description": "A segment sequence definition.", +"id": "SegmentSequenceStep", +"properties": { +"matchType": { +"description": "Specifies if the step immediately precedes or can be any time before the next step.", +"enum": [ +"UNSPECIFIED_MATCH_TYPE", +"PRECEDES", +"IMMEDIATELY_PRECEDES" +], +"enumDescriptions": [ +"Unspecified match type is treated as precedes.", +"Operator indicates that the previous step precedes the next step.", +"Operator indicates that the previous step immediately precedes the next step." +], +"type": "string" +}, +"orFiltersForSegment": { +"description": "A sequence is specified with a list of Or grouped filters which are combined with `AND` operator.", +"items": { +"$ref": "OrFiltersForSegment" +}, +"type": "array" +} +}, +"type": "object" +}, +"SequenceSegment": { +"description": "Sequence conditions consist of one or more steps, where each step is defined by one or more dimension/metric conditions. Multiple steps can be combined with special sequence operators.", +"id": "SequenceSegment", +"properties": { +"firstStepShouldMatchFirstHit": { +"description": "If set, first step condition must match the first hit of the visitor (in the date range).", +"type": "boolean" +}, +"segmentSequenceSteps": { +"description": "The list of steps in the sequence.", +"items": { +"$ref": "SegmentSequenceStep" +}, +"type": "array" +} +}, +"type": "object" +}, +"SimpleSegment": { +"description": "A Simple segment conditions consist of one or more dimension/metric conditions that can be combined.", +"id": "SimpleSegment", +"properties": { +"orFiltersForSegment": { +"description": "A list of segment filters groups which are combined with logical `AND` operator.", +"items": { +"$ref": "OrFiltersForSegment" +}, +"type": "array" +} +}, +"type": "object" +}, +"TransactionData": { +"description": "Represents details collected when the visitor performs a transaction on the page.", +"id": "TransactionData", +"properties": { +"transactionId": { +"description": "The transaction ID, supplied by the e-commerce tracking method, for the purchase in the shopping cart.", +"type": "string" +}, +"transactionRevenue": { +"description": "The total sale revenue (excluding shipping and tax) of the transaction.", +"format": "double", +"type": "number" +}, +"transactionShipping": { +"description": "Total cost of shipping.", +"format": "double", +"type": "number" +}, +"transactionTax": { +"description": "Total tax for the transaction.", +"format": "double", +"type": "number" +} +}, +"type": "object" +}, +"User": { +"description": "Contains information to identify a particular user uniquely.", +"id": "User", +"properties": { +"type": { +"description": "Type of the user in the request. The field `userId` is associated with this type.", +"enum": [ +"USER_ID_TYPE_UNSPECIFIED", +"USER_ID", +"CLIENT_ID" +], +"enumDescriptions": [ +"When the User Id Type is not specified, the default type used will be CLIENT_ID.", +"A single user, like a signed-in user account, that may interact with content across one or more devices and / or browser instances.", +"Analytics assigned client_id." +], +"type": "string" +}, +"userId": { +"description": "Unique Id of the user for which the data is being requested.", +"type": "string" +} +}, +"type": "object" +}, +"UserActivitySession": { +"description": "This represents a user session performed on a specific device at a certain time over a period of time.", +"id": "UserActivitySession", +"properties": { +"activities": { +"description": "Represents a detailed view into each of the activity in this session.", +"items": { +"$ref": "Activity" +}, +"type": "array" +}, +"dataSource": { +"description": "The data source of a hit. By default, hits sent from analytics.js are reported as \"web\" and hits sent from the mobile SDKs are reported as \"app\". These values can be overridden in the Measurement Protocol.", +"type": "string" +}, +"deviceCategory": { +"description": "The type of device used: \"mobile\", \"tablet\" etc.", +"type": "string" +}, +"platform": { +"description": "Platform on which the activity happened: \"android\", \"ios\" etc.", +"type": "string" +}, +"sessionDate": { +"description": "Date of this session in ISO-8601 format.", +"type": "string" +}, +"sessionId": { +"description": "Unique ID of the session.", +"type": "string" +} +}, +"type": "object" +} +}, +"servicePath": "", +"title": "Analytics Reporting API", +"version": "v4", +"version_module": true +} \ No newline at end of file diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/androidmanagement.v1.json b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/androidmanagement.v1.json new file mode 100644 index 0000000000000000000000000000000000000000..bfa3824f11c12a32da0ba5a7b8bd960e219a8732 --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/androidmanagement.v1.json @@ -0,0 +1,8280 @@ +{ +"auth": { +"oauth2": { +"scopes": { +"https://www.googleapis.com/auth/androidmanagement": { +"description": "Manage Android devices and apps for your customers" +} +} +} +}, +"basePath": "", +"baseUrl": "https://androidmanagement.googleapis.com/", +"batchPath": "batch", +"canonicalName": "Android Management", +"description": "The Android Management API provides remote enterprise management of Android devices and apps.", +"discoveryVersion": "v1", +"documentationLink": "https://developers.google.com/android/management", +"fullyEncodeReservedExpansion": true, +"icons": { +"x16": "http://www.google.com/images/icons/product/search-16.gif", +"x32": "http://www.google.com/images/icons/product/search-32.gif" +}, +"id": "androidmanagement:v1", +"kind": "discovery#restDescription", +"mtlsRootUrl": "https://androidmanagement.mtls.googleapis.com/", +"name": "androidmanagement", +"ownerDomain": "google.com", +"ownerName": "Google", +"parameters": { +"$.xgafv": { +"description": "V1 error format.", +"enum": [ +"1", +"2" +], +"enumDescriptions": [ +"v1 error format", +"v2 error format" +], +"location": "query", +"type": "string" +}, +"access_token": { +"description": "OAuth access token.", +"location": "query", +"type": "string" +}, +"alt": { +"default": "json", +"description": "Data format for response.", +"enum": [ +"json", +"media", +"proto" +], +"enumDescriptions": [ +"Responses with Content-Type of application/json", +"Media download with context-dependent Content-Type", +"Responses with Content-Type of application/x-protobuf" +], +"location": "query", +"type": "string" +}, +"callback": { +"description": "JSONP", +"location": "query", +"type": "string" +}, +"fields": { +"description": "Selector specifying which fields to include in a partial response.", +"location": "query", +"type": "string" +}, +"key": { +"description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", +"location": "query", +"type": "string" +}, +"oauth_token": { +"description": "OAuth 2.0 token for the current user.", +"location": "query", +"type": "string" +}, +"prettyPrint": { +"default": "true", +"description": "Returns response with indentations and line breaks.", +"location": "query", +"type": "boolean" +}, +"quotaUser": { +"description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.", +"location": "query", +"type": "string" +}, +"uploadType": { +"description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", +"location": "query", +"type": "string" +}, +"upload_protocol": { +"description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", +"location": "query", +"type": "string" +} +}, +"protocol": "rest", +"resources": { +"enterprises": { +"methods": { +"create": { +"description": "Creates an enterprise. This is the last step in the enterprise signup flow. See also: SigninDetail", +"flatPath": "v1/enterprises", +"httpMethod": "POST", +"id": "androidmanagement.enterprises.create", +"parameterOrder": [], +"parameters": { +"agreementAccepted": { +"deprecated": true, +"description": "Whether the enterprise admin has seen and agreed to the managed Google Play Agreement (https://www.android.com/enterprise/terms/). Do not set this field for any customer-managed enterprise (https://developers.google.com/android/management/create-enterprise#customer-managed_enterprises). Set this to field to true for all EMM-managed enterprises (https://developers.google.com/android/management/create-enterprise#emm-managed_enterprises).", +"location": "query", +"type": "boolean" +}, +"enterpriseToken": { +"description": "The enterprise token appended to the callback URL. Set this when creating a customer-managed enterprise (https://developers.google.com/android/management/create-enterprise#customer-managed_enterprises) and not when creating a deprecated EMM-managed enterprise (https://developers.google.com/android/management/create-enterprise#emm-managed_enterprises).", +"location": "query", +"type": "string" +}, +"projectId": { +"description": "The ID of the Google Cloud Platform project which will own the enterprise.", +"location": "query", +"type": "string" +}, +"signupUrlName": { +"description": "The name of the SignupUrl used to sign up for the enterprise. Set this when creating a customer-managed enterprise (https://developers.google.com/android/management/create-enterprise#customer-managed_enterprises) and not when creating a deprecated EMM-managed enterprise (https://developers.google.com/android/management/create-enterprise#emm-managed_enterprises).", +"location": "query", +"type": "string" +} +}, +"path": "v1/enterprises", +"request": { +"$ref": "Enterprise" +}, +"response": { +"$ref": "Enterprise" +}, +"scopes": [ +"https://www.googleapis.com/auth/androidmanagement" +] +}, +"delete": { +"description": "Permanently deletes an enterprise and all accounts and data associated with it. Warning: this will result in a cascaded deletion of all AM API devices associated with the deleted enterprise. Only available for EMM-managed enterprises.", +"flatPath": "v1/enterprises/{enterprisesId}", +"httpMethod": "DELETE", +"id": "androidmanagement.enterprises.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the enterprise in the form enterprises/{enterpriseId}.", +"location": "path", +"pattern": "^enterprises/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/androidmanagement" +] +}, +"generateEnterpriseUpgradeUrl": { +"description": "Generates an enterprise upgrade URL to upgrade an existing managed Google Play Accounts enterprise to a managed Google domain. See the guide (https://developers.google.com/android/management/upgrade-an-enterprise) for more details.", +"flatPath": "v1/enterprises/{enterprisesId}:generateEnterpriseUpgradeUrl", +"httpMethod": "POST", +"id": "androidmanagement.enterprises.generateEnterpriseUpgradeUrl", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the enterprise to be upgraded in the form enterprises/{enterpriseId}.", +"location": "path", +"pattern": "^enterprises/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:generateEnterpriseUpgradeUrl", +"request": { +"$ref": "GenerateEnterpriseUpgradeUrlRequest" +}, +"response": { +"$ref": "GenerateEnterpriseUpgradeUrlResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/androidmanagement" +] +}, +"get": { +"description": "Gets an enterprise.", +"flatPath": "v1/enterprises/{enterprisesId}", +"httpMethod": "GET", +"id": "androidmanagement.enterprises.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the enterprise in the form enterprises/{enterpriseId}.", +"location": "path", +"pattern": "^enterprises/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Enterprise" +}, +"scopes": [ +"https://www.googleapis.com/auth/androidmanagement" +] +}, +"list": { +"description": "Lists EMM-managed enterprises. Only BASIC fields are returned.", +"flatPath": "v1/enterprises", +"httpMethod": "GET", +"id": "androidmanagement.enterprises.list", +"parameterOrder": [], +"parameters": { +"pageSize": { +"description": "The requested page size. The actual page size may be fixed to a min or max value.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A token identifying a page of results returned by the server.", +"location": "query", +"type": "string" +}, +"projectId": { +"description": "Required. The Cloud project ID of the EMM managing the enterprises.", +"location": "query", +"type": "string" +}, +"view": { +"description": "Specifies which Enterprise fields to return. This method only supports BASIC.", +"enum": [ +"ENTERPRISE_VIEW_UNSPECIFIED", +"BASIC" +], +"enumDescriptions": [ +"The API will default to the BASIC view for the List method.", +"Includes name and enterprise_display_name fields." +], +"location": "query", +"type": "string" +} +}, +"path": "v1/enterprises", +"response": { +"$ref": "ListEnterprisesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/androidmanagement" +] +}, +"patch": { +"description": "Updates an enterprise. See also: SigninDetail", +"flatPath": "v1/enterprises/{enterprisesId}", +"httpMethod": "PATCH", +"id": "androidmanagement.enterprises.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the enterprise in the form enterprises/{enterpriseId}.", +"location": "path", +"pattern": "^enterprises/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "The field mask indicating the fields to update. If not set, all modifiable fields will be modified.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "Enterprise" +}, +"response": { +"$ref": "Enterprise" +}, +"scopes": [ +"https://www.googleapis.com/auth/androidmanagement" +] +} +}, +"resources": { +"applications": { +"methods": { +"get": { +"description": "Gets info about an application.", +"flatPath": "v1/enterprises/{enterprisesId}/applications/{applicationsId}", +"httpMethod": "GET", +"id": "androidmanagement.enterprises.applications.get", +"parameterOrder": [ +"name" +], +"parameters": { +"languageCode": { +"description": "The preferred language for localized application info, as a BCP47 tag (e.g. \"en-US\", \"de\"). If not specified the default language of the application will be used.", +"location": "query", +"type": "string" +}, +"name": { +"description": "The name of the application in the form enterprises/{enterpriseId}/applications/{package_name}.", +"location": "path", +"pattern": "^enterprises/[^/]+/applications/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Application" +}, +"scopes": [ +"https://www.googleapis.com/auth/androidmanagement" +] +} +} +}, +"devices": { +"methods": { +"delete": { +"description": "Deletes a device. This operation attempts to wipe the device but this is not guaranteed to succeed if the device is offline for an extended period. Deleted devices do not show up in enterprises.devices.list calls and a 404 is returned from enterprises.devices.get.", +"flatPath": "v1/enterprises/{enterprisesId}/devices/{devicesId}", +"httpMethod": "DELETE", +"id": "androidmanagement.enterprises.devices.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the device in the form enterprises/{enterpriseId}/devices/{deviceId}.", +"location": "path", +"pattern": "^enterprises/[^/]+/devices/[^/]+$", +"required": true, +"type": "string" +}, +"wipeDataFlags": { +"description": "Optional flags that control the device wiping behavior.", +"enum": [ +"WIPE_DATA_FLAG_UNSPECIFIED", +"PRESERVE_RESET_PROTECTION_DATA", +"WIPE_EXTERNAL_STORAGE", +"WIPE_ESIMS" +], +"enumDescriptions": [ +"This value is ignored.", +"Preserve the factory reset protection data on the device.", +"Additionally wipe the device's external storage (such as SD cards).", +"For company-owned devices, this removes all eSIMs from the device when the device is wiped. In personally-owned devices, this will remove managed eSIMs (eSIMs which are added via the ADD_ESIM command) on the devices and no personally owned eSIMs will be removed. For devices running on Android 16 or higher, managed eSIMs are always wiped when work profile is removed for personally-owned devices, whether this flag is provided or not." +], +"location": "query", +"repeated": true, +"type": "string" +}, +"wipeReasonMessage": { +"description": "Optional. A short message displayed to the user before wiping the work profile on personal devices. This has no effect on company owned devices. The maximum message length is 200 characters.", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/androidmanagement" +] +}, +"get": { +"description": "Gets a device. Deleted devices will respond with a 404 error.", +"flatPath": "v1/enterprises/{enterprisesId}/devices/{devicesId}", +"httpMethod": "GET", +"id": "androidmanagement.enterprises.devices.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the device in the form enterprises/{enterpriseId}/devices/{deviceId}.", +"location": "path", +"pattern": "^enterprises/[^/]+/devices/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Device" +}, +"scopes": [ +"https://www.googleapis.com/auth/androidmanagement" +] +}, +"issueCommand": { +"description": "Issues a command to a device. The Operation resource returned contains a Command in its metadata field. Use the get operation method to get the status of the command.", +"flatPath": "v1/enterprises/{enterprisesId}/devices/{devicesId}:issueCommand", +"httpMethod": "POST", +"id": "androidmanagement.enterprises.devices.issueCommand", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the device in the form enterprises/{enterpriseId}/devices/{deviceId}.", +"location": "path", +"pattern": "^enterprises/[^/]+/devices/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:issueCommand", +"request": { +"$ref": "Command" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/androidmanagement" +] +}, +"list": { +"description": "Lists devices for a given enterprise. Deleted devices are not returned in the response.", +"flatPath": "v1/enterprises/{enterprisesId}/devices", +"httpMethod": "GET", +"id": "androidmanagement.enterprises.devices.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "The requested page size. If unspecified, at most 10 devices will be returned. The maximum value is 100; values above 100 will be coerced to 100. The limits can change over time.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A token identifying a page of results returned by the server.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "The name of the enterprise in the form enterprises/{enterpriseId}.", +"location": "path", +"pattern": "^enterprises/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/devices", +"response": { +"$ref": "ListDevicesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/androidmanagement" +] +}, +"patch": { +"description": "Updates a device.", +"flatPath": "v1/enterprises/{enterprisesId}/devices/{devicesId}", +"httpMethod": "PATCH", +"id": "androidmanagement.enterprises.devices.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the device in the form enterprises/{enterpriseId}/devices/{deviceId}.", +"location": "path", +"pattern": "^enterprises/[^/]+/devices/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "The field mask indicating the fields to update. If not set, all modifiable fields will be modified.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "Device" +}, +"response": { +"$ref": "Device" +}, +"scopes": [ +"https://www.googleapis.com/auth/androidmanagement" +] +} +}, +"resources": { +"operations": { +"methods": { +"cancel": { +"description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns google.rpc.Code.UNIMPLEMENTED. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of 1, corresponding to Code.CANCELLED.", +"flatPath": "v1/enterprises/{enterprisesId}/devices/{devicesId}/operations/{operationsId}:cancel", +"httpMethod": "POST", +"id": "androidmanagement.enterprises.devices.operations.cancel", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be cancelled.", +"location": "path", +"pattern": "^enterprises/[^/]+/devices/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:cancel", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/androidmanagement" +] +}, +"get": { +"description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", +"flatPath": "v1/enterprises/{enterprisesId}/devices/{devicesId}/operations/{operationsId}", +"httpMethod": "GET", +"id": "androidmanagement.enterprises.devices.operations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource.", +"location": "path", +"pattern": "^enterprises/[^/]+/devices/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/androidmanagement" +] +}, +"list": { +"description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns UNIMPLEMENTED.", +"flatPath": "v1/enterprises/{enterprisesId}/devices/{devicesId}/operations", +"httpMethod": "GET", +"id": "androidmanagement.enterprises.devices.operations.list", +"parameterOrder": [ +"name" +], +"parameters": { +"filter": { +"description": "The standard list filter.", +"location": "query", +"type": "string" +}, +"name": { +"description": "The name of the operation's parent resource.", +"location": "path", +"pattern": "^enterprises/[^/]+/devices/[^/]+/operations$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The standard list page size.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The standard list page token.", +"location": "query", +"type": "string" +}, +"returnPartialSuccess": { +"description": "When set to true, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field.This can only be true when reading across collections. For example, when parent is set to \"projects/example/locations/-\".This field is not supported by default and will result in an UNIMPLEMENTED error if set unless explicitly documented otherwise in service or product specific documentation.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "ListOperationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/androidmanagement" +] +} +} +} +} +}, +"enrollmentTokens": { +"methods": { +"create": { +"description": "Creates an enrollment token for a given enterprise. It's up to the caller's responsibility to manage the lifecycle of newly created tokens and deleting them when they're not intended to be used anymore.", +"flatPath": "v1/enterprises/{enterprisesId}/enrollmentTokens", +"httpMethod": "POST", +"id": "androidmanagement.enterprises.enrollmentTokens.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "The name of the enterprise in the form enterprises/{enterpriseId}.", +"location": "path", +"pattern": "^enterprises/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/enrollmentTokens", +"request": { +"$ref": "EnrollmentToken" +}, +"response": { +"$ref": "EnrollmentToken" +}, +"scopes": [ +"https://www.googleapis.com/auth/androidmanagement" +] +}, +"delete": { +"description": "Deletes an enrollment token. This operation invalidates the token, preventing its future use.", +"flatPath": "v1/enterprises/{enterprisesId}/enrollmentTokens/{enrollmentTokensId}", +"httpMethod": "DELETE", +"id": "androidmanagement.enterprises.enrollmentTokens.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the enrollment token in the form enterprises/{enterpriseId}/enrollmentTokens/{enrollmentTokenId}.", +"location": "path", +"pattern": "^enterprises/[^/]+/enrollmentTokens/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/androidmanagement" +] +}, +"get": { +"description": "Gets an active, unexpired enrollment token. A partial view of the enrollment token is returned. Only the following fields are populated: name, expirationTimestamp, allowPersonalUsage, value, qrCode. This method is meant to help manage active enrollment tokens lifecycle. For security reasons, it's recommended to delete active enrollment tokens as soon as they're not intended to be used anymore.", +"flatPath": "v1/enterprises/{enterprisesId}/enrollmentTokens/{enrollmentTokensId}", +"httpMethod": "GET", +"id": "androidmanagement.enterprises.enrollmentTokens.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the enrollment token in the form enterprises/{enterpriseId}/enrollmentTokens/{enrollmentTokenId}.", +"location": "path", +"pattern": "^enterprises/[^/]+/enrollmentTokens/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "EnrollmentToken" +}, +"scopes": [ +"https://www.googleapis.com/auth/androidmanagement" +] +}, +"list": { +"description": "Lists active, unexpired enrollment tokens for a given enterprise. The list items contain only a partial view of EnrollmentToken object. Only the following fields are populated: name, expirationTimestamp, allowPersonalUsage, value, qrCode. This method is meant to help manage active enrollment tokens lifecycle. For security reasons, it's recommended to delete active enrollment tokens as soon as they're not intended to be used anymore.", +"flatPath": "v1/enterprises/{enterprisesId}/enrollmentTokens", +"httpMethod": "GET", +"id": "androidmanagement.enterprises.enrollmentTokens.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "The requested page size. The service may return fewer than this value. If unspecified, at most 10 items will be returned. The maximum value is 100; values above 100 will be coerced to 100.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A token identifying a page of results returned by the server.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The name of the enterprise in the form enterprises/{enterpriseId}.", +"location": "path", +"pattern": "^enterprises/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/enrollmentTokens", +"response": { +"$ref": "ListEnrollmentTokensResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/androidmanagement" +] +} +} +}, +"migrationTokens": { +"methods": { +"create": { +"description": "Creates a migration token, to migrate an existing device from being managed by the EMM's Device Policy Controller (DPC) to being managed by the Android Management API. See the guide (https://developers.google.com/android/management/dpc-migration) for more details.", +"flatPath": "v1/enterprises/{enterprisesId}/migrationTokens", +"httpMethod": "POST", +"id": "androidmanagement.enterprises.migrationTokens.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The enterprise in which this migration token is created. This must be the same enterprise which already manages the device in the Play EMM API. Format: enterprises/{enterprise}", +"location": "path", +"pattern": "^enterprises/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/migrationTokens", +"request": { +"$ref": "MigrationToken" +}, +"response": { +"$ref": "MigrationToken" +}, +"scopes": [ +"https://www.googleapis.com/auth/androidmanagement" +] +}, +"get": { +"description": "Gets a migration token.", +"flatPath": "v1/enterprises/{enterprisesId}/migrationTokens/{migrationTokensId}", +"httpMethod": "GET", +"id": "androidmanagement.enterprises.migrationTokens.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the migration token to retrieve. Format: enterprises/{enterprise}/migrationTokens/{migration_token}", +"location": "path", +"pattern": "^enterprises/[^/]+/migrationTokens/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "MigrationToken" +}, +"scopes": [ +"https://www.googleapis.com/auth/androidmanagement" +] +}, +"list": { +"description": "Lists migration tokens.", +"flatPath": "v1/enterprises/{enterprisesId}/migrationTokens", +"httpMethod": "GET", +"id": "androidmanagement.enterprises.migrationTokens.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "The maximum number of migration tokens to return. Fewer migration tokens may be returned. If unspecified, at most 100 migration tokens will be returned. The maximum value is 100; values above 100 will be coerced to 100.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A page token, received from a previous ListMigrationTokens call. Provide this to retrieve the subsequent page.When paginating, all other parameters provided to ListMigrationTokens must match the call that provided the page token.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The enterprise which the migration tokens belong to. Format: enterprises/{enterprise}", +"location": "path", +"pattern": "^enterprises/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/migrationTokens", +"response": { +"$ref": "ListMigrationTokensResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/androidmanagement" +] +} +} +}, +"policies": { +"methods": { +"delete": { +"description": "Deletes a policy. This operation is only permitted if no devices are currently referencing the policy.", +"flatPath": "v1/enterprises/{enterprisesId}/policies/{policiesId}", +"httpMethod": "DELETE", +"id": "androidmanagement.enterprises.policies.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the policy in the form enterprises/{enterpriseId}/policies/{policyId}.", +"location": "path", +"pattern": "^enterprises/[^/]+/policies/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/androidmanagement" +] +}, +"get": { +"description": "Gets a policy.", +"flatPath": "v1/enterprises/{enterprisesId}/policies/{policiesId}", +"httpMethod": "GET", +"id": "androidmanagement.enterprises.policies.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the policy in the form enterprises/{enterpriseId}/policies/{policyId}.", +"location": "path", +"pattern": "^enterprises/[^/]+/policies/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/androidmanagement" +] +}, +"list": { +"description": "Lists policies for a given enterprise.", +"flatPath": "v1/enterprises/{enterprisesId}/policies", +"httpMethod": "GET", +"id": "androidmanagement.enterprises.policies.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "The requested page size. The actual page size may be fixed to a min or max value.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A token identifying a page of results returned by the server.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "The name of the enterprise in the form enterprises/{enterpriseId}.", +"location": "path", +"pattern": "^enterprises/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/policies", +"response": { +"$ref": "ListPoliciesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/androidmanagement" +] +}, +"modifyPolicyApplications": { +"description": "Updates or creates applications in a policy.", +"flatPath": "v1/enterprises/{enterprisesId}/policies/{policiesId}:modifyPolicyApplications", +"httpMethod": "POST", +"id": "androidmanagement.enterprises.policies.modifyPolicyApplications", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the Policy containing the ApplicationPolicy objects to be updated, in the form enterprises/{enterpriseId}/policies/{policyId}.", +"location": "path", +"pattern": "^enterprises/[^/]+/policies/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:modifyPolicyApplications", +"request": { +"$ref": "ModifyPolicyApplicationsRequest" +}, +"response": { +"$ref": "ModifyPolicyApplicationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/androidmanagement" +] +}, +"patch": { +"description": "Updates or creates a policy.", +"flatPath": "v1/enterprises/{enterprisesId}/policies/{policiesId}", +"httpMethod": "PATCH", +"id": "androidmanagement.enterprises.policies.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the policy in the form enterprises/{enterpriseId}/policies/{policyId}.", +"location": "path", +"pattern": "^enterprises/[^/]+/policies/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "The field mask indicating the fields to update. If not set, all modifiable fields will be modified.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "Policy" +}, +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/androidmanagement" +] +}, +"removePolicyApplications": { +"description": "Removes applications in a policy.", +"flatPath": "v1/enterprises/{enterprisesId}/policies/{policiesId}:removePolicyApplications", +"httpMethod": "POST", +"id": "androidmanagement.enterprises.policies.removePolicyApplications", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the policy containing the ApplicationPolicy objects to be removed, in the form enterprises/{enterpriseId}/policies/{policyId}.", +"location": "path", +"pattern": "^enterprises/[^/]+/policies/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:removePolicyApplications", +"request": { +"$ref": "RemovePolicyApplicationsRequest" +}, +"response": { +"$ref": "RemovePolicyApplicationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/androidmanagement" +] +} +} +}, +"webApps": { +"methods": { +"create": { +"description": "Creates a web app.", +"flatPath": "v1/enterprises/{enterprisesId}/webApps", +"httpMethod": "POST", +"id": "androidmanagement.enterprises.webApps.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "The name of the enterprise in the form enterprises/{enterpriseId}.", +"location": "path", +"pattern": "^enterprises/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/webApps", +"request": { +"$ref": "WebApp" +}, +"response": { +"$ref": "WebApp" +}, +"scopes": [ +"https://www.googleapis.com/auth/androidmanagement" +] +}, +"delete": { +"description": "Deletes a web app.", +"flatPath": "v1/enterprises/{enterprisesId}/webApps/{webAppsId}", +"httpMethod": "DELETE", +"id": "androidmanagement.enterprises.webApps.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the web app in the form enterprises/{enterpriseId}/webApps/{packageName}.", +"location": "path", +"pattern": "^enterprises/[^/]+/webApps/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/androidmanagement" +] +}, +"get": { +"description": "Gets a web app.", +"flatPath": "v1/enterprises/{enterprisesId}/webApps/{webAppsId}", +"httpMethod": "GET", +"id": "androidmanagement.enterprises.webApps.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the web app in the form enterprises/{enterpriseId}/webApps/{packageName}.", +"location": "path", +"pattern": "^enterprises/[^/]+/webApps/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "WebApp" +}, +"scopes": [ +"https://www.googleapis.com/auth/androidmanagement" +] +}, +"list": { +"description": "Lists web apps for a given enterprise.", +"flatPath": "v1/enterprises/{enterprisesId}/webApps", +"httpMethod": "GET", +"id": "androidmanagement.enterprises.webApps.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "The requested page size. This is a hint and the actual page size in the response may be different.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A token identifying a page of results returned by the server.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "The name of the enterprise in the form enterprises/{enterpriseId}.", +"location": "path", +"pattern": "^enterprises/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/webApps", +"response": { +"$ref": "ListWebAppsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/androidmanagement" +] +}, +"patch": { +"description": "Updates a web app.", +"flatPath": "v1/enterprises/{enterprisesId}/webApps/{webAppsId}", +"httpMethod": "PATCH", +"id": "androidmanagement.enterprises.webApps.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the web app in the form enterprises/{enterpriseId}/webApps/{packageName}.", +"location": "path", +"pattern": "^enterprises/[^/]+/webApps/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "The field mask indicating the fields to update. If not set, all modifiable fields will be modified.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "WebApp" +}, +"response": { +"$ref": "WebApp" +}, +"scopes": [ +"https://www.googleapis.com/auth/androidmanagement" +] +} +} +}, +"webTokens": { +"methods": { +"create": { +"description": "Creates a web token to access an embeddable managed Google Play web UI for a given enterprise.", +"flatPath": "v1/enterprises/{enterprisesId}/webTokens", +"httpMethod": "POST", +"id": "androidmanagement.enterprises.webTokens.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "The name of the enterprise in the form enterprises/{enterpriseId}.", +"location": "path", +"pattern": "^enterprises/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/webTokens", +"request": { +"$ref": "WebToken" +}, +"response": { +"$ref": "WebToken" +}, +"scopes": [ +"https://www.googleapis.com/auth/androidmanagement" +] +} +} +} +} +}, +"provisioningInfo": { +"methods": { +"get": { +"description": "Get the device provisioning information by the identifier provided in the sign-in url.", +"flatPath": "v1/provisioningInfo/{provisioningInfoId}", +"httpMethod": "GET", +"id": "androidmanagement.provisioningInfo.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The identifier that Android Device Policy passes to the 3P sign-in page in the form of provisioningInfo/{provisioning_info}.", +"location": "path", +"pattern": "^provisioningInfo/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "ProvisioningInfo" +}, +"scopes": [ +"https://www.googleapis.com/auth/androidmanagement" +] +} +} +}, +"signupUrls": { +"methods": { +"create": { +"description": "Creates an enterprise signup URL.", +"flatPath": "v1/signupUrls", +"httpMethod": "POST", +"id": "androidmanagement.signupUrls.create", +"parameterOrder": [], +"parameters": { +"adminEmail": { +"description": "Optional. Email address used to prefill the admin field of the enterprise signup form. This value is a hint only and can be altered by the user. If allowedDomains is non-empty then this must belong to one of the allowedDomains.", +"location": "query", +"type": "string" +}, +"allowedDomains": { +"description": "Optional. A list of domains that are permitted for the admin email. The IT admin cannot enter an email address with a domain name that is not in this list. Subdomains of domains in this list are not allowed but can be allowed by adding a second entry which has *. prefixed to the domain name (e.g. *.example.com). If the field is not present or is an empty list then the IT admin is free to use any valid domain name. Personal email domains are always allowed, but will result in the creation of a managed Google Play Accounts enterprise.", +"location": "query", +"repeated": true, +"type": "string" +}, +"callbackUrl": { +"description": "The callback URL that the admin will be redirected to after successfully creating an enterprise. Before redirecting there the system will add a query parameter to this URL named enterpriseToken which will contain an opaque token to be used for the create enterprise request. The URL will be parsed then reformatted in order to add the enterpriseToken parameter, so there may be some minor formatting changes.", +"location": "query", +"type": "string" +}, +"projectId": { +"description": "The ID of the Google Cloud Platform project which will own the enterprise.", +"location": "query", +"type": "string" +} +}, +"path": "v1/signupUrls", +"response": { +"$ref": "SignupUrl" +}, +"scopes": [ +"https://www.googleapis.com/auth/androidmanagement" +] +} +} +} +}, +"revision": "20260225", +"rootUrl": "https://androidmanagement.googleapis.com/", +"schemas": { +"AdbShellCommandEvent": { +"description": "A shell command was issued over ADB via \u201cadb shell command\u201d.", +"id": "AdbShellCommandEvent", +"properties": { +"shellCmd": { +"description": "Shell command that was issued over ADB via \"adb shell command\". Redacted to empty string on organization-owned managed profile devices.", +"type": "string" +} +}, +"type": "object" +}, +"AdbShellInteractiveEvent": { +"description": "An ADB interactive shell was opened via \u201cadb shell\u201d. Intentionally empty.", +"id": "AdbShellInteractiveEvent", +"properties": {}, +"type": "object" +}, +"AddEsimParams": { +"description": "Parameters associated with the ADD_ESIM command to add an eSIM profile to the device.", +"id": "AddEsimParams", +"properties": { +"activationCode": { +"description": "Required. The activation code for the eSIM profile.", +"type": "string" +}, +"activationState": { +"description": "Required. The activation state of the eSIM profile once it is downloaded.", +"enum": [ +"ACTIVATION_STATE_UNSPECIFIED", +"ACTIVATED", +"NOT_ACTIVATED" +], +"enumDescriptions": [ +"eSIM activation state is not specified. This defaults to the eSIM profile being NOT_ACTIVATED on personally-owned devices and ACTIVATED on company-owned devices.", +"The eSIM is automatically activated after downloading. Setting this as the activation state for personally-owned devices will result in the command being rejected.", +"The eSIM profile is downloaded but not activated. In this case, the user will need to activate the eSIM manually on the device." +], +"type": "string" +} +}, +"type": "object" +}, +"AdvancedSecurityOverrides": { +"description": "Advanced security settings. In most cases, setting these is not needed.", +"id": "AdvancedSecurityOverrides", +"properties": { +"commonCriteriaMode": { +"description": "Controls Common Criteria Mode\u2014security standards defined in the Common Criteria for Information Technology Security Evaluation (https://www.commoncriteriaportal.org/) (CC). Enabling Common Criteria Mode increases certain security components on a device, see CommonCriteriaMode for details.Warning: Common Criteria Mode enforces a strict security model typically only required for IT products used in national security systems and other highly sensitive organizations. Standard device use may be affected. Only enabled if required. If Common Criteria Mode is turned off after being enabled previously, all user-configured Wi-Fi networks may be lost and any enterprise-configured Wi-Fi networks that require user input may need to be reconfigured.", +"enum": [ +"COMMON_CRITERIA_MODE_UNSPECIFIED", +"COMMON_CRITERIA_MODE_DISABLED", +"COMMON_CRITERIA_MODE_ENABLED" +], +"enumDescriptions": [ +"Unspecified. Defaults to COMMON_CRITERIA_MODE_DISABLED.", +"Default. Disables Common Criteria Mode.", +"Enables Common Criteria Mode." +], +"type": "string" +}, +"contentProtectionPolicy": { +"description": "Optional. Controls whether content protection, which scans for deceptive apps, is enabled. This is supported on Android 15 and above.", +"enum": [ +"CONTENT_PROTECTION_POLICY_UNSPECIFIED", +"CONTENT_PROTECTION_DISABLED", +"CONTENT_PROTECTION_ENFORCED", +"CONTENT_PROTECTION_USER_CHOICE" +], +"enumDescriptions": [ +"Unspecified. Defaults to CONTENT_PROTECTION_DISABLED.", +"Content protection is disabled and the user cannot change this.", +"Content protection is enabled and the user cannot change this.Supported on Android 15 and above. A NonComplianceDetail with API_LEVEL is reported if the Android version is less than 15.", +"Content protection is not controlled by the policy. The user is allowed to choose the behavior of content protection.Supported on Android 15 and above. A NonComplianceDetail with API_LEVEL is reported if the Android version is less than 15." +], +"type": "string" +}, +"developerSettings": { +"description": "Controls access to developer settings: developer options and safe boot. Replaces safeBootDisabled (deprecated) and debuggingFeaturesAllowed (deprecated). On personally-owned devices with a work profile, setting this policy will not disable safe boot. In this case, a NonComplianceDetail with MANAGEMENT_MODE is reported.", +"enum": [ +"DEVELOPER_SETTINGS_UNSPECIFIED", +"DEVELOPER_SETTINGS_DISABLED", +"DEVELOPER_SETTINGS_ALLOWED" +], +"enumDescriptions": [ +"Unspecified. Defaults to DEVELOPER_SETTINGS_DISABLED.", +"Default. Disables all developer settings and prevents the user from accessing them.", +"Allows all developer settings. The user can access and optionally configure the settings." +], +"type": "string" +}, +"googlePlayProtectVerifyApps": { +"description": "Whether Google Play Protect verification (https://support.google.com/accounts/answer/2812853) is enforced. Replaces ensureVerifyAppsEnabled (deprecated).", +"enum": [ +"GOOGLE_PLAY_PROTECT_VERIFY_APPS_UNSPECIFIED", +"VERIFY_APPS_ENFORCED", +"VERIFY_APPS_USER_CHOICE" +], +"enumDescriptions": [ +"Unspecified. Defaults to VERIFY_APPS_ENFORCED.", +"Default. Force-enables app verification.", +"Allows the user to choose whether to enable app verification." +], +"type": "string" +}, +"mtePolicy": { +"description": "Optional. Controls Memory Tagging Extension (MTE) (https://source.android.com/docs/security/test/memory-safety/arm-mte) on the device. The device needs to be rebooted to apply changes to the MTE policy. On Android 15 and above, a NonComplianceDetail with PENDING is reported if the policy change is pending a device reboot.", +"enum": [ +"MTE_POLICY_UNSPECIFIED", +"MTE_USER_CHOICE", +"MTE_ENFORCED", +"MTE_DISABLED" +], +"enumDescriptions": [ +"Unspecified. Defaults to MTE_USER_CHOICE.", +"The user can choose to enable or disable MTE on the device if the device supports this.", +"MTE is enabled on the device and the user is not allowed to change this setting. This can be set on fully managed devices and work profiles on company-owned devices. A NonComplianceDetail with MANAGEMENT_MODE is reported for other management modes. A NonComplianceDetail with DEVICE_INCOMPATIBLE is reported if the device does not support MTE.Supported on Android 14 and above. A NonComplianceDetail with API_LEVEL is reported if the Android version is less than 14.", +"MTE is disabled on the device and the user is not allowed to change this setting. This applies only on fully managed devices. In other cases, a NonComplianceDetail with MANAGEMENT_MODE is reported. A NonComplianceDetail with DEVICE_INCOMPATIBLE is reported if the device does not support MTE.Supported on Android 14 and above. A NonComplianceDetail with API_LEVEL is reported if the Android version is less than 14." +], +"type": "string" +}, +"personalAppsThatCanReadWorkNotifications": { +"description": "Personal apps that can read work profile notifications using a NotificationListenerService (https://developer.android.com/reference/android/service/notification/NotificationListenerService). By default, no personal apps (aside from system apps) can read work notifications. Each value in the list must be a package name.", +"items": { +"type": "string" +}, +"type": "array" +}, +"untrustedAppsPolicy": { +"description": "The policy for untrusted apps (apps from unknown sources) enforced on the device. Replaces install_unknown_sources_allowed (deprecated).", +"enum": [ +"UNTRUSTED_APPS_POLICY_UNSPECIFIED", +"DISALLOW_INSTALL", +"ALLOW_INSTALL_IN_PERSONAL_PROFILE_ONLY", +"ALLOW_INSTALL_DEVICE_WIDE" +], +"enumDescriptions": [ +"Unspecified. Defaults to DISALLOW_INSTALL.", +"Default. Disallow untrusted app installs on entire device.", +"For devices with work profiles, allow untrusted app installs in the device's personal profile only.", +"Allow untrusted app installs on entire device." +], +"type": "string" +} +}, +"type": "object" +}, +"AlwaysOnVpnPackage": { +"description": "Configuration for an always-on VPN connection.", +"id": "AlwaysOnVpnPackage", +"properties": { +"lockdownEnabled": { +"description": "Disallows networking when the VPN is not connected.", +"type": "boolean" +}, +"packageName": { +"description": "The package name of the VPN app.", +"type": "string" +} +}, +"type": "object" +}, +"ApiLevelCondition": { +"deprecated": true, +"description": "A compliance rule condition which is satisfied if the Android Framework API level on the device doesn't meet a minimum requirement. There can only be one rule with this type of condition per policy.", +"id": "ApiLevelCondition", +"properties": { +"minApiLevel": { +"description": "The minimum desired Android Framework API level. If the device doesn't meet the minimum requirement, this condition is satisfied. Must be greater than zero.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"ApnPolicy": { +"description": "Access Point Name (APN) policy. Configuration for Access Point Names (APNs) which may override any other APNs on the device. See OVERRIDE_APNS_ENABLED and overrideApns for details.", +"id": "ApnPolicy", +"properties": { +"apnSettings": { +"description": "Optional. APN settings for override APNs. There must not be any conflict between any of APN settings provided, otherwise the policy will be rejected. Two ApnSettings are considered to conflict when all of the following fields match on both: numericOperatorId, apn, proxyAddress, proxyPort, mmsProxyAddress, mmsProxyPort, mmsc, mvnoType, protocol, roamingProtocol. If some of the APN settings result in non-compliance of INVALID_VALUE , they will be ignored. This can be set on fully managed devices on Android 10 and above. This can also be set on work profiles on Android 13 and above and only with ApnSetting's with ENTERPRISE APN type. A NonComplianceDetail with API_LEVEL is reported if the Android version is less than 10. A NonComplianceDetail with MANAGEMENT_MODE is reported for work profiles on Android versions less than 13.", +"items": { +"$ref": "ApnSetting" +}, +"type": "array" +}, +"overrideApns": { +"description": "Optional. Whether override APNs are disabled or enabled. See DevicePolicyManager.setOverrideApnsEnabled (https://developer.android.com/reference/android/app/admin/DevicePolicyManager#setOverrideApnsEnabled) for more details.", +"enum": [ +"OVERRIDE_APNS_UNSPECIFIED", +"OVERRIDE_APNS_DISABLED", +"OVERRIDE_APNS_ENABLED" +], +"enumDescriptions": [ +"Unspecified. Defaults to OVERRIDE_APNS_DISABLED.", +"Override APNs disabled. Any configured apnSettings are saved on the device, but are disabled and have no effect. Any other APNs on the device remain in use.", +"Override APNs enabled. Only override APNs are in use, any other APNs are ignored. This can only be set on fully managed devices on Android 10 and above. For work profiles override APNs are enabled via preferentialNetworkServiceSettings and this value cannot be set. A NonComplianceDetail with API_LEVEL is reported if the Android version is less than 10. A NonComplianceDetail with MANAGEMENT_MODE is reported for work profiles." +], +"type": "string" +} +}, +"type": "object" +}, +"ApnSetting": { +"description": "An Access Point Name (APN) configuration for a carrier data connection. The APN provides configuration to connect a cellular network device to an IP data network. A carrier uses this setting to decide which IP address to assign, any security methods to apply, and how the device might be connected to private networks.", +"id": "ApnSetting", +"properties": { +"alwaysOnSetting": { +"description": "Optional. Whether User Plane resources have to be activated during every transition from CM-IDLE mode to CM-CONNECTED state for this APN. See 3GPP TS 23.501 section 5.6.13.", +"enum": [ +"ALWAYS_ON_SETTING_UNSPECIFIED", +"NOT_ALWAYS_ON", +"ALWAYS_ON" +], +"enumDescriptions": [ +"Unspecified. Defaults to NOT_ALWAYS_ON.", +"The PDU session brought up by this APN should not be always on.", +"The PDU session brought up by this APN should always be on. Supported on Android 15 and above. A NonComplianceDetail with API_LEVEL is reported if the Android version is less than 15." +], +"type": "string" +}, +"apn": { +"description": "Required. Name of the APN. Policy will be rejected if this field is empty.", +"type": "string" +}, +"apnTypes": { +"description": "Required. Usage categories for the APN. Policy will be rejected if this field is empty or contains APN_TYPE_UNSPECIFIED or duplicates. Multiple APN types can be set on fully managed devices. ENTERPRISE is the only allowed APN type on work profiles. A NonComplianceDetail with MANAGEMENT_MODE is reported for any other value on work profiles. APN types that are not supported on the device or management mode will be ignored. If this results in the empty list, the APN setting will be ignored, because apnTypes is a required field. A NonComplianceDetail with INVALID_VALUE is reported if none of the APN types are supported on the device or management mode.", +"items": { +"enum": [ +"APN_TYPE_UNSPECIFIED", +"ENTERPRISE", +"BIP", +"CBS", +"DEFAULT", +"DUN", +"EMERGENCY", +"FOTA", +"HIPRI", +"IA", +"IMS", +"MCX", +"MMS", +"RCS", +"SUPL", +"VSIM", +"XCAP" +], +"enumDescriptions": [ +"Unspecified. This value is not used.", +"APN type for enterprise traffic. Supported on Android 13 and above. A NonComplianceDetail with API_LEVEL is reported if the Android version is less than 13.", +"APN type for BIP (Bearer Independent Protocol). This can only be set on fully managed devices on Android 12 and above. A NonComplianceDetail with API_LEVEL is reported if the Android version is less than 12. A NonComplianceDetail with MANAGEMENT_MODE is reported for work profiles.", +"APN type for CBS (Carrier Branded Services). This can only be set on fully managed devices. A NonComplianceDetail with MANAGEMENT_MODE is reported for work profiles.", +"APN type for default data traffic. This can only be set on fully managed devices. A NonComplianceDetail with MANAGEMENT_MODE is reported for work profiles.", +"APN type for DUN (Dial-up networking) traffic. This can only be set on fully managed devices. A NonComplianceDetail with MANAGEMENT_MODE is reported for work profiles.", +"APN type for Emergency PDN. This is not an IA apn, but is used for access to carrier services in an emergency call situation. This can only be set on fully managed devices. A NonComplianceDetail with MANAGEMENT_MODE is reported for work profiles.", +"APN type for accessing the carrier's FOTA (Firmware Over-the-Air) portal, used for over the air updates. This can only be set on fully managed devices. A NonComplianceDetail with MANAGEMENT_MODE is reported for work profiles.", +"APN type for HiPri (high-priority) traffic. This can only be set on fully managed devices. A NonComplianceDetail with MANAGEMENT_MODE is reported for work profiles.", +"APN type for IA (Initial Attach) APN. This can only be set on fully managed devices. A NonComplianceDetail with MANAGEMENT_MODE is reported for work profiles.", +"APN type for IMS (IP Multimedia Subsystem) traffic. This can only be set on fully managed devices. A NonComplianceDetail with MANAGEMENT_MODE is reported for work profiles.", +"APN type for MCX (Mission Critical Service) where X can be PTT/Video/Data. This can only be set on fully managed devices. A NonComplianceDetail with MANAGEMENT_MODE is reported for work profiles.", +"APN type for MMS (Multimedia Messaging Service) traffic. This can only be set on fully managed devices. A NonComplianceDetail with MANAGEMENT_MODE is reported for work profiles.", +"APN type for RCS (Rich Communication Services). This can only be set on fully managed devices on Android 15 and above. A NonComplianceDetail with API_LEVEL is reported if the Android version is less than 15. A NonComplianceDetail with MANAGEMENT_MODE is reported for work profiles.", +"APN type for SUPL (Secure User Plane Location) assisted GPS. This can only be set on fully managed devices. A NonComplianceDetail with MANAGEMENT_MODE is reported for work profiles.", +"APN type for VSIM (Virtual SIM) service. This can only be set on fully managed devices on Android 12 and above. A NonComplianceDetail with API_LEVEL is reported if the Android version is less than 12. A NonComplianceDetail with MANAGEMENT_MODE is reported for work profiles.", +"APN type for XCAP (XML Configuration Access Protocol) traffic. This can only be set on fully managed devices on Android 11 and above. A NonComplianceDetail with API_LEVEL is reported if the Android version is less than 11. A NonComplianceDetail with MANAGEMENT_MODE is reported for work profiles." +], +"type": "string" +}, +"type": "array" +}, +"authType": { +"description": "Optional. Authentication type of the APN.", +"enum": [ +"AUTH_TYPE_UNSPECIFIED", +"NONE", +"PAP", +"CHAP", +"PAP_OR_CHAP" +], +"enumDescriptions": [ +"Unspecified. If username is empty, defaults to NONE. Otherwise, defaults to PAP_OR_CHAP.", +"Authentication is not required.", +"Authentication type for PAP.", +"Authentication type for CHAP.", +"Authentication type for PAP or CHAP." +], +"type": "string" +}, +"carrierId": { +"description": "Optional. Carrier ID for the APN. A value of 0 (default) means not set and negative values are rejected.", +"format": "int32", +"type": "integer" +}, +"displayName": { +"description": "Required. Human-readable name that describes the APN. Policy will be rejected if this field is empty.", +"type": "string" +}, +"mmsProxyAddress": { +"description": "Optional. MMS (Multimedia Messaging Service) proxy address of the APN which can be an IP address or hostname (not a URL).", +"type": "string" +}, +"mmsProxyPort": { +"description": "Optional. MMS (Multimedia Messaging Service) proxy port of the APN. A value of 0 (default) means not set and negative values are rejected.", +"format": "int32", +"type": "integer" +}, +"mmsc": { +"description": "Optional. MMSC (Multimedia Messaging Service Center) URI of the APN.", +"type": "string" +}, +"mtuV4": { +"description": "Optional. The default MTU (Maximum Transmission Unit) size in bytes of the IPv4 routes brought up by this APN setting. A value of 0 (default) means not set and negative values are rejected. Supported on Android 13 and above. A NonComplianceDetail with API_LEVEL is reported if the Android version is less than 13.", +"format": "int32", +"type": "integer" +}, +"mtuV6": { +"description": "Optional. The MTU (Maximum Transmission Unit) size of the IPv6 mobile interface to which the APN connected. A value of 0 (default) means not set and negative values are rejected. Supported on Android 13 and above. A NonComplianceDetail with API_LEVEL is reported if the Android version is less than 13.", +"format": "int32", +"type": "integer" +}, +"mvnoType": { +"description": "Optional. MVNO match type for the APN.", +"enum": [ +"MVNO_TYPE_UNSPECIFIED", +"GID", +"ICCID", +"IMSI", +"SPN" +], +"enumDescriptions": [ +"The MVNO type is not specified.", +"MVNO type for group identifier level 1.", +"MVNO type for ICCID.", +"MVNO type for IMSI.", +"MVNO type for SPN (service provider name)." +], +"type": "string" +}, +"networkTypes": { +"description": "Optional. Radio technologies (network types) the APN may use. Policy will be rejected if this field contains NETWORK_TYPE_UNSPECIFIED or duplicates.", +"items": { +"enum": [ +"NETWORK_TYPE_UNSPECIFIED", +"EDGE", +"GPRS", +"GSM", +"HSDPA", +"HSPA", +"HSPAP", +"HSUPA", +"IWLAN", +"LTE", +"NR", +"TD_SCDMA", +"UMTS" +], +"enumDescriptions": [ +"Unspecified. This value must not be used.", +"Radio technology EDGE.", +"Radio technology GPRS.", +"Radio technology GSM.", +"Radio technology HSDPA.", +"Radio technology HSPA.", +"Radio technology HSPAP.", +"Radio technology HSUPA.", +"Radio technology IWLAN.", +"Radio technology LTE.", +"Radio technology NR (New Radio) 5G.", +"Radio technology TD_SCDMA.", +"Radio technology UMTS." +], +"type": "string" +}, +"type": "array" +}, +"numericOperatorId": { +"description": "Optional. The numeric operator ID of the APN. Numeric operator ID is defined as MCC (Mobile Country Code) + MNC (Mobile Network Code).", +"type": "string" +}, +"password": { +"description": "Optional. APN password of the APN.", +"type": "string" +}, +"protocol": { +"description": "Optional. The protocol to use to connect to this APN.", +"enum": [ +"PROTOCOL_UNSPECIFIED", +"IP", +"IPV4V6", +"IPV6", +"NON_IP", +"PPP", +"UNSTRUCTURED" +], +"enumDescriptions": [ +"The protocol is not specified.", +"Internet protocol.", +"Virtual PDP type introduced to handle dual IP stack UE capability.", +"Internet protocol, version 6.", +"Transfer of Non-IP data to external packet data network.", +"Point to point protocol.", +"Transfer of Unstructured data to the Data Network via N6." +], +"type": "string" +}, +"proxyAddress": { +"description": "Optional. The proxy address of the APN.", +"type": "string" +}, +"proxyPort": { +"description": "Optional. The proxy port of the APN. A value of 0 (default) means not set and negative values are rejected.", +"format": "int32", +"type": "integer" +}, +"roamingProtocol": { +"description": "Optional. The protocol to use to connect to this APN while the device is roaming.", +"enum": [ +"PROTOCOL_UNSPECIFIED", +"IP", +"IPV4V6", +"IPV6", +"NON_IP", +"PPP", +"UNSTRUCTURED" +], +"enumDescriptions": [ +"The protocol is not specified.", +"Internet protocol.", +"Virtual PDP type introduced to handle dual IP stack UE capability.", +"Internet protocol, version 6.", +"Transfer of Non-IP data to external packet data network.", +"Point to point protocol.", +"Transfer of Unstructured data to the Data Network via N6." +], +"type": "string" +}, +"username": { +"description": "Optional. APN username of the APN.", +"type": "string" +} +}, +"type": "object" +}, +"AppProcessInfo": { +"description": "Information about a process. It contains process name, start time, app Uid, app Pid, seinfo tag, hash of the base APK.", +"id": "AppProcessInfo", +"properties": { +"apkSha256Hash": { +"description": "SHA-256 hash of the base APK, in hexadecimal format.", +"type": "string" +}, +"packageNames": { +"description": "Package names of all packages that are associated with the particular user ID. In most cases, this will be a single package name, the package that has been assigned that user ID. If multiple application share a UID then all packages sharing UID will be included.", +"items": { +"type": "string" +}, +"type": "array" +}, +"pid": { +"description": "Process ID.", +"format": "int32", +"type": "integer" +}, +"processName": { +"description": "Process name.", +"type": "string" +}, +"seinfo": { +"description": "SELinux policy info.", +"type": "string" +}, +"startTime": { +"description": "Process start time.", +"format": "google-datetime", +"type": "string" +}, +"uid": { +"description": "UID of the package.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"AppProcessStartEvent": { +"description": "An app process was started. This is available device-wide on fully managed devices and within the work profile on organization-owned devices with a work profile.", +"id": "AppProcessStartEvent", +"properties": { +"processInfo": { +"$ref": "AppProcessInfo", +"description": "Information about a process." +} +}, +"type": "object" +}, +"AppTrackInfo": { +"description": "Id to name association of a app track.", +"id": "AppTrackInfo", +"properties": { +"trackAlias": { +"description": "The track name associated with the trackId, set in the Play Console. The name is modifiable from Play Console.", +"type": "string" +}, +"trackId": { +"description": "The unmodifiable unique track identifier, taken from the releaseTrackId in the URL of the Play Console page that displays the app\u2019s track information.", +"type": "string" +} +}, +"type": "object" +}, +"AppVersion": { +"description": "This represents a single version of the app.", +"id": "AppVersion", +"properties": { +"production": { +"description": "If the value is True, it indicates that this version is a production track.", +"type": "boolean" +}, +"trackIds": { +"description": "Track identifiers that the app version is published in. This does not include the production track (see production instead).", +"items": { +"type": "string" +}, +"type": "array" +}, +"versionCode": { +"description": "Unique increasing identifier for the app version.", +"format": "int32", +"type": "integer" +}, +"versionString": { +"description": "The string used in the Play store by the app developer to identify the version. The string is not necessarily unique or localized (for example, the string could be \"1.4\").", +"type": "string" +} +}, +"type": "object" +}, +"Application": { +"description": "Information about an app.", +"id": "Application", +"properties": { +"appPricing": { +"description": "Whether this app is free, free with in-app purchases, or paid. If the pricing is unspecified, this means the app is not generally available anymore (even though it might still be available to people who own it).", +"enum": [ +"APP_PRICING_UNSPECIFIED", +"FREE", +"FREE_WITH_IN_APP_PURCHASE", +"PAID" +], +"enumDescriptions": [ +"Unknown pricing, used to denote an approved app that is not generally available.", +"The app is free.", +"The app is free, but offers in-app purchases.", +"The app is paid." +], +"type": "string" +}, +"appTracks": { +"description": "Application tracks visible to the enterprise.", +"items": { +"$ref": "AppTrackInfo" +}, +"type": "array" +}, +"appVersions": { +"description": "Versions currently available for this app.", +"items": { +"$ref": "AppVersion" +}, +"type": "array" +}, +"author": { +"description": "The name of the author of the apps (for example, the app developer).", +"type": "string" +}, +"availableCountries": { +"description": "The countries which this app is available in as per ISO 3166-1 alpha-2.", +"items": { +"type": "string" +}, +"type": "array" +}, +"category": { +"description": "The app category (e.g. RACING, SOCIAL, etc.)", +"type": "string" +}, +"contentRating": { +"description": "The content rating for this app.", +"enum": [ +"CONTENT_RATING_UNSPECIFIED", +"THREE_YEARS", +"SEVEN_YEARS", +"TWELVE_YEARS", +"SIXTEEN_YEARS", +"EIGHTEEN_YEARS" +], +"enumDescriptions": [ +"Unspecified.", +"Content suitable for ages 3 and above only.", +"Content suitable for ages 7 and above only.", +"Content suitable for ages 12 and above only.", +"Content suitable for ages 16 and above only.", +"Content suitable for ages 18 and above only." +], +"type": "string" +}, +"description": { +"description": "The localized promotional description, if available.", +"type": "string" +}, +"distributionChannel": { +"description": "How and to whom the package is made available.", +"enum": [ +"DISTRIBUTION_CHANNEL_UNSPECIFIED", +"PUBLIC_GOOGLE_HOSTED", +"PRIVATE_GOOGLE_HOSTED", +"PRIVATE_SELF_HOSTED" +], +"enumDescriptions": [ +"Unspecified.", +"Package is available through the Play store and not restricted to a specific enterprise.", +"Package is a private app (restricted to an enterprise) but hosted by Google.", +"Private app (restricted to an enterprise) and is privately hosted." +], +"type": "string" +}, +"features": { +"description": "Noteworthy features (if any) of this app.", +"items": { +"enum": [ +"APP_FEATURE_UNSPECIFIED", +"VPN_APP" +], +"enumDescriptions": [ +"Unspecified.", +"The app is a VPN." +], +"type": "string" +}, +"type": "array" +}, +"fullDescription": { +"description": "Full app description, if available.", +"type": "string" +}, +"iconUrl": { +"description": "A link to an image that can be used as an icon for the app. This image is suitable for use up to a pixel size of 512 x 512.", +"type": "string" +}, +"managedProperties": { +"description": "The set of managed properties available to be pre-configured for the app.", +"items": { +"$ref": "ManagedProperty" +}, +"type": "array" +}, +"minAndroidSdkVersion": { +"description": "The minimum Android SDK necessary to run the app.", +"format": "int32", +"type": "integer" +}, +"name": { +"description": "The name of the app in the form enterprises/{enterprise}/applications/{package_name}.", +"type": "string" +}, +"permissions": { +"description": "The permissions required by the app.", +"items": { +"$ref": "ApplicationPermission" +}, +"type": "array" +}, +"playStoreUrl": { +"description": "A link to the (consumer) Google Play details page for the app.", +"type": "string" +}, +"recentChanges": { +"description": "A localised description of the recent changes made to the app.", +"type": "string" +}, +"screenshotUrls": { +"description": "A list of screenshot links representing the app.", +"items": { +"type": "string" +}, +"type": "array" +}, +"smallIconUrl": { +"description": "A link to a smaller image that can be used as an icon for the app. This image is suitable for use up to a pixel size of 128 x 128.", +"type": "string" +}, +"title": { +"description": "The title of the app. Localized.", +"type": "string" +}, +"updateTime": { +"description": "Output only. The approximate time (within 7 days) the app was last published.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"ApplicationEvent": { +"description": "An app-related event.", +"id": "ApplicationEvent", +"properties": { +"createTime": { +"description": "The creation time of the event.", +"format": "google-datetime", +"type": "string" +}, +"eventType": { +"description": "App event type.", +"enum": [ +"APPLICATION_EVENT_TYPE_UNSPECIFIED", +"INSTALLED", +"CHANGED", +"DATA_CLEARED", +"REMOVED", +"REPLACED", +"RESTARTED", +"PINNED", +"UNPINNED" +], +"enumDescriptions": [ +"This value is disallowed.", +"The app was installed.", +"The app was changed, for example, a component was enabled or disabled.", +"The app data was cleared.", +"The app was removed.", +"A new version of the app has been installed, replacing the old version.", +"The app was restarted.", +"The app was pinned to the foreground.", +"The app was unpinned." +], +"type": "string" +} +}, +"type": "object" +}, +"ApplicationPermission": { +"description": "A permission required by the app.", +"id": "ApplicationPermission", +"properties": { +"description": { +"description": "A longer description of the permission, providing more detail on what it affects. Localized.", +"type": "string" +}, +"name": { +"description": "The name of the permission. Localized.", +"type": "string" +}, +"permissionId": { +"description": "An opaque string uniquely identifying the permission. Not localized.", +"type": "string" +} +}, +"type": "object" +}, +"ApplicationPolicy": { +"description": "Policy for an individual app. Note: Application availability on a given device cannot be changed using this policy if installAppsDisabled is enabled. The maximum number of applications that you can specify per policy is 3,000.", +"id": "ApplicationPolicy", +"properties": { +"accessibleTrackIds": { +"description": "List of the app\u2019s track IDs that a device belonging to the enterprise can access. If the list contains multiple track IDs, devices receive the latest version among all accessible tracks. If the list contains no track IDs, devices only have access to the app\u2019s production track. More details about each track are available in AppTrackInfo.", +"items": { +"type": "string" +}, +"type": "array" +}, +"alwaysOnVpnLockdownExemption": { +"description": "Specifies whether the app is allowed networking when the VPN is not connected and alwaysOnVpnPackage.lockdownEnabled is enabled. If set to VPN_LOCKDOWN_ENFORCED, the app is not allowed networking, and if set to VPN_LOCKDOWN_EXEMPTION, the app is allowed networking. Only supported on devices running Android 10 and above. If this is not supported by the device, the device will contain a NonComplianceDetail with non_compliance_reason set to API_LEVEL and a fieldPath. If this is not applicable to the app, the device will contain a NonComplianceDetail with non_compliance_reason set to UNSUPPORTED and a fieldPath. The fieldPath is set to applications[i].alwaysOnVpnLockdownExemption, where i is the index of the package in the applications policy.", +"enum": [ +"ALWAYS_ON_VPN_LOCKDOWN_EXEMPTION_UNSPECIFIED", +"VPN_LOCKDOWN_ENFORCED", +"VPN_LOCKDOWN_EXEMPTION" +], +"enumDescriptions": [ +"Unspecified. Defaults to VPN_LOCKDOWN_ENFORCED.", +"The app respects the always-on VPN lockdown setting.", +"The app is exempt from the always-on VPN lockdown setting." +], +"type": "string" +}, +"autoUpdateMode": { +"description": "Controls the auto-update mode for the app.", +"enum": [ +"AUTO_UPDATE_MODE_UNSPECIFIED", +"AUTO_UPDATE_DEFAULT", +"AUTO_UPDATE_POSTPONED", +"AUTO_UPDATE_HIGH_PRIORITY" +], +"enumDescriptions": [ +"Unspecified. Defaults to AUTO_UPDATE_DEFAULT.", +"The default update mode.The app is automatically updated with low priority to minimize the impact on the user.The app is updated when all of the following constraints are met: The device is not actively used. The device is connected to an unmetered network. The device is charging. The app to be updated is not running in the foreground.The device is notified about a new update within 24 hours after it is published by the developer, after which the app is updated the next time the constraints above are met.", +"The app is not automatically updated for a maximum of 90 days after the app becomes out of date.90 days after the app becomes out of date, the latest available version is installed automatically with low priority (see AUTO_UPDATE_DEFAULT). After the app is updated it is not automatically updated again until 90 days after it becomes out of date again.The user can still manually update the app from the Play Store at any time.", +"The app is updated as soon as possible. No constraints are applied.The device is notified as soon as possible about a new update after it becomes available.*NOTE:* Updates to apps with larger deployments across Android's ecosystem can take up to 24h." +], +"type": "string" +}, +"connectedWorkAndPersonalApp": { +"description": "Controls whether the app can communicate with itself across a device\u2019s work and personal profiles, subject to user consent.", +"enum": [ +"CONNECTED_WORK_AND_PERSONAL_APP_UNSPECIFIED", +"CONNECTED_WORK_AND_PERSONAL_APP_DISALLOWED", +"CONNECTED_WORK_AND_PERSONAL_APP_ALLOWED" +], +"enumDescriptions": [ +"Unspecified. Defaults to CONNECTED_WORK_AND_PERSONAL_APPS_DISALLOWED.", +"Default. Prevents the app from communicating cross-profile.", +"Allows the app to communicate across profiles after receiving user consent." +], +"type": "string" +}, +"credentialProviderPolicy": { +"description": "Optional. Whether the app is allowed to act as a credential provider on Android 14 and above.", +"enum": [ +"CREDENTIAL_PROVIDER_POLICY_UNSPECIFIED", +"CREDENTIAL_PROVIDER_ALLOWED" +], +"enumDescriptions": [ +"Unspecified. The behaviour is governed by credentialProviderPolicyDefault.", +"App is allowed to act as a credential provider." +], +"type": "string" +}, +"customAppConfig": { +"$ref": "CustomAppConfig", +"description": "Optional. Configuration for this custom app.install_type must be set to CUSTOM for this to be set." +}, +"defaultPermissionPolicy": { +"description": "The default policy for all permissions requested by the app. If specified, this overrides the policy-level default_permission_policy which applies to all apps. It does not override the permission_grants which applies to all apps.", +"enum": [ +"PERMISSION_POLICY_UNSPECIFIED", +"PROMPT", +"GRANT", +"DENY" +], +"enumDescriptions": [ +"Policy not specified. If no policy is specified for a permission at any level, then the PROMPT behavior is used by default.", +"Prompt the user to grant a permission.", +"Automatically grant a permission.On Android 12 and above, READ_SMS (https://developer.android.com/reference/android/Manifest.permission#READ_SMS) and following sensor-related permissions can only be granted on fully managed devices: ACCESS_FINE_LOCATION (https://developer.android.com/reference/android/Manifest.permission#ACCESS_FINE_LOCATION) ACCESS_BACKGROUND_LOCATION (https://developer.android.com/reference/android/Manifest.permission#ACCESS_BACKGROUND_LOCATION) ACCESS_COARSE_LOCATION (https://developer.android.com/reference/android/Manifest.permission#ACCESS_COARSE_LOCATION) CAMERA (https://developer.android.com/reference/android/Manifest.permission#CAMERA) RECORD_AUDIO (https://developer.android.com/reference/android/Manifest.permission#RECORD_AUDIO) ACTIVITY_RECOGNITION (https://developer.android.com/reference/android/Manifest.permission#ACTIVITY_RECOGNITION) BODY_SENSORS (https://developer.android.com/reference/android/Manifest.permission#BODY_SENSORS)", +"Automatically deny a permission." +], +"type": "string" +}, +"delegatedScopes": { +"description": "The scopes delegated to the app from Android Device Policy. These provide additional privileges for the applications they are applied to.", +"items": { +"enum": [ +"DELEGATED_SCOPE_UNSPECIFIED", +"CERT_INSTALL", +"MANAGED_CONFIGURATIONS", +"BLOCK_UNINSTALL", +"PERMISSION_GRANT", +"PACKAGE_ACCESS", +"ENABLE_SYSTEM_APP", +"NETWORK_ACTIVITY_LOGS", +"SECURITY_LOGS", +"CERT_SELECTION" +], +"enumDescriptions": [ +"No delegation scope specified.", +"Grants access to certificate installation and management. This scope can be delegated to multiple applications.", +"Grants access to managed configurations management. This scope can be delegated to multiple applications.", +"Grants access to blocking uninstallation. This scope can be delegated to multiple applications.", +"Grants access to permission policy and permission grant state. This scope can be delegated to multiple applications.", +"Grants access to package access state. This scope can be delegated to multiple applications.", +"Grants access for enabling system apps. This scope can be delegated to multiple applications.", +"Grants access to network activity logs. Allows the delegated application to call setNetworkLoggingEnabled (https://developer.android.com/reference/android/app/admin/DevicePolicyManager#setNetworkLoggingEnabled%28android.content.ComponentName,%20boolean%29), isNetworkLoggingEnabled (https://developer.android.com/reference/android/app/admin/DevicePolicyManager#isNetworkLoggingEnabled%28android.content.ComponentName%29) and retrieveNetworkLogs (https://developer.android.com/reference/android/app/admin/DevicePolicyManager#retrieveNetworkLogs%28android.content.ComponentName,%20long%29) methods. This scope can be delegated to at most one application. Supported for fully managed devices on Android 10 and above. Supported for a work profile on Android 12 and above. When delegation is supported and set, NETWORK_ACTIVITY_LOGS is ignored.", +"Grants access to security logs. Allows the delegated application to call setSecurityLoggingEnabled (https://developer.android.com/reference/android/app/admin/DevicePolicyManager#setSecurityLoggingEnabled%28android.content.ComponentName,%20boolean%29), isSecurityLoggingEnabled (https://developer.android.com/reference/android/app/admin/DevicePolicyManager#isSecurityLoggingEnabled%28android.content.ComponentName%29), retrieveSecurityLogs (https://developer.android.com/reference/android/app/admin/DevicePolicyManager#retrieveSecurityLogs%28android.content.ComponentName%29) and retrievePreRebootSecurityLogs (https://developer.android.com/reference/android/app/admin/DevicePolicyManager#retrievePreRebootSecurityLogs%28android.content.ComponentName%29) methods. This scope can be delegated to at most one application. Supported for fully managed devices and company-owned devices with a work profile on Android 12 and above. When delegation is supported and set, SECURITY_LOGS is ignored.", +"Grants access to selection of KeyChain certificates on behalf of requesting apps. Once granted, the delegated application will start receiving DelegatedAdminReceiver#onChoosePrivateKeyAlias (https://developer.android.com/reference/android/app/admin/DelegatedAdminReceiver#onChoosePrivateKeyAlias%28android.content.Context,%20android.content.Intent,%20int,%20android.net.Uri,%20java.lang.String%29). Allows the delegated application to call grantKeyPairToApp (https://developer.android.com/reference/android/app/admin/DevicePolicyManager#grantKeyPairToApp%28android.content.ComponentName,%20java.lang.String,%20java.lang.String%29) and revokeKeyPairFromApp (https://developer.android.com/reference/android/app/admin/DevicePolicyManager#revokeKeyPairFromApp%28android.content.ComponentName,%20java.lang.String,%20java.lang.String%29) methods. This scope can be delegated to at most one application. choosePrivateKeyRules must be empty and privateKeySelectionEnabled has no effect if certificate selection is delegated to an application." +], +"type": "string" +}, +"type": "array" +}, +"disabled": { +"description": "Whether the app is disabled. When disabled, the app data is still preserved.", +"type": "boolean" +}, +"extensionConfig": { +"$ref": "ExtensionConfig", +"deprecated": true, +"description": "Configuration to enable this app as an extension app, with the capability of interacting with Android Device Policy offline.This field can be set for at most one app. If there is any app with COMPANION_APP role, this field cannot be set.The signing key certificate fingerprint of the app on the device must match one of the entries in ApplicationPolicy.signingKeyCerts or ExtensionConfig.signingKeyFingerprintsSha256 (deprecated) or the signing key certificate fingerprints obtained from Play Store for the app to be able to communicate with Android Device Policy. If the app is not on Play Store and if ApplicationPolicy.signingKeyCerts and ExtensionConfig.signingKeyFingerprintsSha256 (deprecated) are not set, a NonComplianceDetail with INVALID_VALUE is reported." +}, +"installConstraint": { +"description": "Optional. The constraints for installing the app. You can specify a maximum of one InstallConstraint. Multiple constraints are rejected.", +"items": { +"$ref": "InstallConstraint" +}, +"type": "array" +}, +"installPriority": { +"description": "Optional. Amongst apps with installType set to: FORCE_INSTALLED PREINSTALLEDthis controls the relative priority of installation. A value of 0 (default) means this app has no priority over other apps. For values between 1 and 10,000, a lower value means a higher priority. Values outside of the range 0 to 10,000 inclusive are rejected.", +"format": "int32", +"type": "integer" +}, +"installType": { +"description": "The type of installation to perform.", +"enum": [ +"INSTALL_TYPE_UNSPECIFIED", +"PREINSTALLED", +"FORCE_INSTALLED", +"BLOCKED", +"AVAILABLE", +"REQUIRED_FOR_SETUP", +"KIOSK", +"CUSTOM" +], +"enumDeprecated": [ +false, +false, +false, +false, +false, +false, +true, +false +], +"enumDescriptions": [ +"Unspecified. Defaults to AVAILABLE.", +"The app is automatically installed and can be removed by the user.", +"The app is automatically installed regardless of a set maintenance window and can't be removed by the user.", +"The app is blocked and can't be installed. If the app was installed under a previous policy, it will be uninstalled. This also blocks its instant app functionality.", +"The app is available to install.", +"The app is automatically installed and can't be removed by the user and will prevent setup from completion until installation is complete.", +"The app is automatically installed in kiosk mode: it's set as the preferred home intent and whitelisted for lock task mode. Device setup won't complete until the app is installed. After installation, users won't be able to remove the app. You can only set this installType for one app per policy. When this is present in the policy, status bar will be automatically disabled.If there is any app with KIOSK role, then this install type cannot be set for any app.", +"The app can only be installed and updated via AMAPI SDK command (https://developers.google.com/android/management/extensibility-sdk-integration).Note: This only affects fully managed devices. Play related fields minimumVersionCode, accessibleTrackIds, autoUpdateMode, installConstraint and installPriority cannot be set for the app. The app isn't available in the Play Store. The app installed on the device has applicationSource set to CUSTOM. When the current installType is CUSTOM, the signing key certificate fingerprint of the existing custom app on the device must match one of the entries in ApplicationPolicy.signingKeyCerts . Otherwise, a NonComplianceDetail with APP_SIGNING_CERT_MISMATCH is reported. Changing the installType from CUSTOM to another value must match the playstore version of the application signing key certificate fingerprint. Otherwise a NonComplianceDetail with APP_SIGNING_CERT_MISMATCH is reported. Changing the installType to CUSTOM uninstalls the existing app if its signing key certificate fingerprint of the installed app doesn't match the one from the ApplicationPolicy.signingKeyCerts . Removing the app from applications doesn't uninstall the existing app if it conforms to playStoreMode. See also customAppConfig. This is different from the Google Play Custom App Publishing (https://developers.google.com/android/work/play/custom-app-api/get-started) feature." +], +"type": "string" +}, +"lockTaskAllowed": { +"deprecated": true, +"description": "Whether the app is allowed to lock itself in full-screen mode. DEPRECATED. Use InstallType KIOSK or kioskCustomLauncherEnabled to configure a dedicated device.", +"type": "boolean" +}, +"managedConfiguration": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"description": "Managed configuration applied to the app. The format for the configuration is dictated by the ManagedProperty values supported by the app. Each field name in the managed configuration must match the key field of the ManagedProperty. The field value must be compatible with the type of the ManagedProperty: *type* *JSON value* BOOL true or false STRING string INTEGER number CHOICE string MULTISELECT array of strings HIDDEN string BUNDLE_ARRAY array of objects Note: string values cannot be longer than 65535 characters.", +"type": "object" +}, +"managedConfigurationTemplate": { +"$ref": "ManagedConfigurationTemplate", +"description": "The managed configurations template for the app, saved from the managed configurations iframe. This field is ignored if managed_configuration is set." +}, +"minimumVersionCode": { +"description": "The minimum version of the app that runs on the device. If set, the device attempts to update the app to at least this version code. If the app is not up-to-date, the device will contain a NonComplianceDetail with non_compliance_reason set to APP_NOT_UPDATED. The app must already be published to Google Play with a version code greater than or equal to this value. At most 20 apps may specify a minimum version code per policy.", +"format": "int32", +"type": "integer" +}, +"packageName": { +"description": "The package name of the app. For example, com.google.android.youtube for the YouTube app.", +"type": "string" +}, +"permissionGrants": { +"description": "Explicit permission grants or denials for the app. These values override the default_permission_policy and permission_grants which apply to all apps.", +"items": { +"$ref": "PermissionGrant" +}, +"type": "array" +}, +"preferentialNetworkId": { +"description": "Optional. ID of the preferential network the application uses. There must be a configuration for the specified network ID in preferentialNetworkServiceConfigs. If set to PREFERENTIAL_NETWORK_ID_UNSPECIFIED, the application will use the default network ID specified in defaultPreferentialNetworkId. See the documentation of defaultPreferentialNetworkId for the list of apps excluded from this defaulting. This applies on both work profiles and fully managed devices on Android 13 and above.", +"enum": [ +"PREFERENTIAL_NETWORK_ID_UNSPECIFIED", +"NO_PREFERENTIAL_NETWORK", +"PREFERENTIAL_NETWORK_ID_ONE", +"PREFERENTIAL_NETWORK_ID_TWO", +"PREFERENTIAL_NETWORK_ID_THREE", +"PREFERENTIAL_NETWORK_ID_FOUR", +"PREFERENTIAL_NETWORK_ID_FIVE" +], +"enumDescriptions": [ +"Whether this value is valid and what it means depends on where it is used, and this is documented on the relevant fields.", +"Application does not use any preferential network.", +"Preferential network identifier 1.", +"Preferential network identifier 2.", +"Preferential network identifier 3.", +"Preferential network identifier 4.", +"Preferential network identifier 5." +], +"type": "string" +}, +"roles": { +"description": "Optional. Roles the app has.Apps having certain roles can be exempted from power and background execution restrictions, suspension and hibernation on Android 14 and above. The user control can also be disallowed for apps with certain roles on Android 11 and above. Refer to the documentation of each RoleType for more details.The app is notified about the roles that are set for it if the app has a notification receiver service with . The app is notified whenever its roles are updated or after the app is installed when it has nonempty list of roles. The app can use this notification to bootstrap itself after the installation. See Integrate with the AMAPI SDK (https://developers.google.com/android/management/sdk-integration) and Manage app roles (https://developers.google.com/android/management/app-roles) guides for more details on the requirements for the service.For the exemptions to be applied and the app to be notified about the roles, the signing key certificate fingerprint of the app on the device must match one of the signing key certificate fingerprints obtained from Play Store or one of the entries in ApplicationPolicy.signingKeyCerts. Otherwise, a NonComplianceDetail with APP_SIGNING_CERT_MISMATCH is reported.There must not be duplicate roles with the same roleType. Multiple apps cannot hold a role with the same roleType. A role with type ROLE_TYPE_UNSPECIFIED is not allowed.", +"items": { +"$ref": "Role" +}, +"type": "array" +}, +"signingKeyCerts": { +"description": "Optional. Signing key certificates of the app.This field is required in the following cases: The app has installType set to CUSTOM (i.e. a custom app). The app has roles set to a nonempty list and the app does not exist on the Play Store. The app has extensionConfig set (i.e. an extension app) but ExtensionConfig.signingKeyFingerprintsSha256 (deprecated) is not set and the app does not exist on the Play Store.If this field is not set for a custom app, the policy is rejected. If it is not set when required for a non-custom app, a NonComplianceDetail with INVALID_VALUE is reported.For other cases, this field is optional and the signing key certificates obtained from Play Store are used.See following policy settings to see how this field is used: choosePrivateKeyRules ApplicationPolicy.InstallType.CUSTOM ApplicationPolicy.extensionConfig ApplicationPolicy.roles", +"items": { +"$ref": "ApplicationSigningKeyCert" +}, +"type": "array" +}, +"userControlSettings": { +"description": "Optional. Specifies whether user control is permitted for the app. User control includes user actions like force-stopping and clearing app data. Certain types of apps have special treatment, see USER_CONTROL_SETTINGS_UNSPECIFIED and USER_CONTROL_ALLOWED for more details.", +"enum": [ +"USER_CONTROL_SETTINGS_UNSPECIFIED", +"USER_CONTROL_ALLOWED", +"USER_CONTROL_DISALLOWED" +], +"enumDescriptions": [ +"Uses the default behaviour of the app to determine if user control is allowed or disallowed. User control is allowed by default for most apps but disallowed for following types of apps: extension apps (see extensionConfig for more details) kiosk apps (see KIOSK install type for more details) apps with roles set to a nonempty list other critical system apps", +"User control is allowed for the app. Kiosk apps can use this to allow user control. For extension apps (see extensionConfig for more details), user control is disallowed even if this value is set.For apps with roles set to a nonempty list (except roles containing only KIOSK role), this value cannot be set.For kiosk apps (see KIOSK install type and KIOSK role type for more details), this value can be used to allow user control.", +"User control is disallowed for the app. This is supported on Android 11 and above. A NonComplianceDetail with API_LEVEL is reported if the Android version is less than 11." +], +"type": "string" +}, +"workProfileWidgets": { +"description": "Specifies whether the app installed in the work profile is allowed to add widgets to the home screen.", +"enum": [ +"WORK_PROFILE_WIDGETS_UNSPECIFIED", +"WORK_PROFILE_WIDGETS_ALLOWED", +"WORK_PROFILE_WIDGETS_DISALLOWED" +], +"enumDescriptions": [ +"Unspecified. Defaults to work_profile_widgets_default", +"Work profile widgets are allowed. This means the application will be able to add widgets to the home screen.", +"Work profile widgets are disallowed. This means the application will not be able to add widgets to the home screen." +], +"type": "string" +} +}, +"type": "object" +}, +"ApplicationPolicyChange": { +"description": "A change to be made to a single ApplicationPolicy object.", +"id": "ApplicationPolicyChange", +"properties": { +"application": { +"$ref": "ApplicationPolicy", +"description": "If ApplicationPolicy.packageName matches an existing ApplicationPolicy object within the Policy being modified, then that object will be updated. Otherwise, it will be added to the end of the Policy.applications." +}, +"updateMask": { +"description": "The field mask indicating the fields to update. If omitted, all modifiable fields are updated.", +"format": "google-fieldmask", +"type": "string" +} +}, +"type": "object" +}, +"ApplicationReport": { +"description": "Information reported about an installed app.", +"id": "ApplicationReport", +"properties": { +"applicationSource": { +"description": "The source of the package.", +"enum": [ +"APPLICATION_SOURCE_UNSPECIFIED", +"SYSTEM_APP_FACTORY_VERSION", +"SYSTEM_APP_UPDATED_VERSION", +"INSTALLED_FROM_PLAY_STORE", +"CUSTOM" +], +"enumDescriptions": [ +"The app was sideloaded from an unspecified source.", +"This is a system app from the device's factory image.", +"This is an updated system app.", +"The app was installed from the Google Play Store.", +"The app was installed using the AMAPI SDK command (https://developers.google.com/android/management/extensibility-sdk-integration). See also: CUSTOM" +], +"type": "string" +}, +"displayName": { +"description": "The display name of the app.", +"type": "string" +}, +"events": { +"description": "The list of app events which have occurred in the last 30 hours.", +"items": { +"$ref": "ApplicationEvent" +}, +"type": "array" +}, +"installerPackageName": { +"description": "The package name of the app that installed this app.", +"type": "string" +}, +"keyedAppStates": { +"description": "List of keyed app states reported by the app.", +"items": { +"$ref": "KeyedAppState" +}, +"type": "array" +}, +"packageName": { +"description": "Package name of the app.", +"type": "string" +}, +"packageSha256Hash": { +"description": "The SHA-256 hash of the app's APK file, which can be used to verify the app hasn't been modified. Each byte of the hash value is represented as a two-digit hexadecimal number.", +"type": "string" +}, +"signingKeyCertFingerprints": { +"description": "The SHA-1 hash of each android.content.pm.Signature (https://developer.android.com/reference/android/content/pm/Signature.html) associated with the app package. Each byte of each hash value is represented as a two-digit hexadecimal number.", +"items": { +"type": "string" +}, +"type": "array" +}, +"state": { +"description": "Application state.", +"enum": [ +"APPLICATION_STATE_UNSPECIFIED", +"REMOVED", +"INSTALLED" +], +"enumDescriptions": [ +"App state is unspecified", +"App was removed from the device", +"App is installed on the device" +], +"type": "string" +}, +"userFacingType": { +"description": "Whether the app is user facing.", +"enum": [ +"USER_FACING_TYPE_UNSPECIFIED", +"NOT_USER_FACING", +"USER_FACING" +], +"enumDescriptions": [ +"App user facing type is unspecified.", +"App is not user facing.", +"App is user facing." +], +"type": "string" +}, +"versionCode": { +"description": "The app version code, which can be used to determine whether one version is more recent than another.", +"format": "int32", +"type": "integer" +}, +"versionName": { +"description": "The app version as displayed to the user.", +"type": "string" +} +}, +"type": "object" +}, +"ApplicationReportingSettings": { +"description": "Settings controlling the behavior of application reports.", +"id": "ApplicationReportingSettings", +"properties": { +"includeRemovedApps": { +"description": "Whether removed apps are included in application reports.", +"type": "boolean" +} +}, +"type": "object" +}, +"ApplicationSigningKeyCert": { +"description": "The application signing key certificate.", +"id": "ApplicationSigningKeyCert", +"properties": { +"signingKeyCertFingerprintSha256": { +"description": "Required. The SHA-256 hash value of the signing key certificate of the app. This must be a valid SHA-256 hash value, i.e. 32 bytes.", +"format": "byte", +"type": "string" +} +}, +"type": "object" +}, +"BackupServiceToggledEvent": { +"description": "An admin has enabled or disabled backup service.", +"id": "BackupServiceToggledEvent", +"properties": { +"adminPackageName": { +"description": "Package name of the admin app requesting the change.", +"type": "string" +}, +"adminUserId": { +"description": "User ID of the admin app from the which the change was requested.", +"format": "int32", +"type": "integer" +}, +"backupServiceState": { +"description": "Whether the backup service is enabled", +"enum": [ +"BACKUP_SERVICE_STATE_UNSPECIFIED", +"BACKUP_SERVICE_DISABLED", +"BACKUP_SERVICE_ENABLED" +], +"enumDescriptions": [ +"No value is set", +"Backup service is disabled", +"Backup service is enabled" +], +"type": "string" +} +}, +"type": "object" +}, +"BatchUsageLogEvents": { +"description": "Batched event logs of events from the device.", +"id": "BatchUsageLogEvents", +"properties": { +"device": { +"description": "If present, the name of the device in the form \u2018enterprises/{enterpriseId}/devices/{deviceId}\u2019", +"type": "string" +}, +"retrievalTime": { +"description": "The device timestamp when the batch of events were collected from the device.", +"format": "google-datetime", +"type": "string" +}, +"usageLogEvents": { +"description": "The list of UsageLogEvent that were reported by the device, sorted chronologically by the event time.", +"items": { +"$ref": "UsageLogEvent" +}, +"type": "array" +}, +"user": { +"description": "If present, the resource name of the user that owns this device in the form \u2018enterprises/{enterpriseId}/users/{userId}\u2019.", +"type": "string" +} +}, +"type": "object" +}, +"BlockAction": { +"description": "An action to block access to apps and data on a fully managed device or in a work profile. This action also triggers a device or work profile to displays a user-facing notification with information (where possible) on how to correct the compliance issue. Note: wipeAction must also be specified.", +"id": "BlockAction", +"properties": { +"blockAfterDays": { +"description": "Number of days the policy is non-compliant before the device or work profile is blocked. To block access immediately, set to 0. blockAfterDays must be less than wipeAfterDays.", +"format": "int32", +"type": "integer" +}, +"blockScope": { +"description": "Specifies the scope of this BlockAction. Only applicable to devices that are company-owned.", +"enum": [ +"BLOCK_SCOPE_UNSPECIFIED", +"BLOCK_SCOPE_WORK_PROFILE", +"BLOCK_SCOPE_DEVICE" +], +"enumDescriptions": [ +"Unspecified. Defaults to BLOCK_SCOPE_WORK_PROFILE.", +"Block action is only applied to apps in the work profile. Apps in the personal profile are unaffected.", +"Block action is applied to the entire device, including apps in the personal profile." +], +"type": "string" +} +}, +"type": "object" +}, +"CertAuthorityInstalledEvent": { +"description": "A new root certificate was installed into the system's trusted credential storage. This is available device-wide on fully managed devices and within the work profile on organization-owned devices with a work profile.", +"id": "CertAuthorityInstalledEvent", +"properties": { +"certificate": { +"description": "Subject of the certificate.", +"type": "string" +}, +"success": { +"description": "Whether the installation event succeeded.", +"type": "boolean" +}, +"userId": { +"description": "The user in which the certificate install event happened. Only available for devices running Android 11 and above.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"CertAuthorityRemovedEvent": { +"description": "A root certificate was removed from the system's trusted credential storage. This is available device-wide on fully managed devices and within the work profile on organization-owned devices with a work profile.", +"id": "CertAuthorityRemovedEvent", +"properties": { +"certificate": { +"description": "Subject of the certificate.", +"type": "string" +}, +"success": { +"description": "Whether the removal succeeded.", +"type": "boolean" +}, +"userId": { +"description": "The user in which the certificate removal event occurred. Only available for devices running Android 11 and above.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"CertValidationFailureEvent": { +"description": "An X.509v3 certificate failed to validate, currently this validation is performed on the Wi-FI access point and failure may be due to a mismatch upon server certificate validation. However it may in the future include other validation events of an X.509v3 certificate.", +"id": "CertValidationFailureEvent", +"properties": { +"failureReason": { +"description": "The reason why certification validation failed.", +"type": "string" +} +}, +"type": "object" +}, +"ChoosePrivateKeyRule": { +"description": "Controls apps' access to private keys. The rule determines which private key, if any, Android Device Policy grants to the specified app. Access is granted either when the app calls KeyChain.choosePrivateKeyAlias (https://developer.android.com/reference/android/security/KeyChain#choosePrivateKeyAlias%28android.app.Activity,%20android.security.KeyChainAliasCallback,%20java.lang.String[],%20java.security.Principal[],%20java.lang.String,%20int,%20java.lang.String%29) (or any overloads) to request a private key alias for a given URL, or for rules that are not URL-specific (that is, if urlPattern is not set, or set to the empty string or .*) on Android 11 and above, directly so that the app can call KeyChain.getPrivateKey (https://developer.android.com/reference/android/security/KeyChain#getPrivateKey%28android.content.Context,%20java.lang.String%29), without first having to call KeyChain.choosePrivateKeyAlias.When an app calls KeyChain.choosePrivateKeyAlias if more than one choosePrivateKeyRules matches, the last matching rule defines which key alias to return.", +"id": "ChoosePrivateKeyRule", +"properties": { +"packageNames": { +"description": "The package names to which this rule applies. The signing key certificate fingerprint of the app is verified against the signing key certificate fingerprints provided by Play Store and ApplicationPolicy.signingKeyCerts . If no package names are specified, then the alias is provided to all apps that call KeyChain.choosePrivateKeyAlias (https://developer.android.com/reference/android/security/KeyChain#choosePrivateKeyAlias%28android.app.Activity,%20android.security.KeyChainAliasCallback,%20java.lang.String[],%20java.security.Principal[],%20java.lang.String,%20int,%20java.lang.String%29) or any overloads (but not without calling KeyChain.choosePrivateKeyAlias, even on Android 11 and above). Any app with the same Android UID as a package specified here will have access when they call KeyChain.choosePrivateKeyAlias.", +"items": { +"type": "string" +}, +"type": "array" +}, +"privateKeyAlias": { +"description": "The alias of the private key to be used.", +"type": "string" +}, +"urlPattern": { +"description": "The URL pattern to match against the URL of the request. If not set or empty, it matches all URLs. This uses the regular expression syntax of java.util.regex.Pattern.", +"type": "string" +} +}, +"type": "object" +}, +"ClearAppsDataParams": { +"description": "Parameters associated with the CLEAR_APP_DATA command to clear the data of specified apps from the device.", +"id": "ClearAppsDataParams", +"properties": { +"packageNames": { +"description": "The package names of the apps whose data will be cleared when the command is executed.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ClearAppsDataStatus": { +"description": "Status of the CLEAR_APP_DATA command to clear the data of specified apps from the device.", +"id": "ClearAppsDataStatus", +"properties": { +"results": { +"additionalProperties": { +"$ref": "PerAppResult" +}, +"description": "The per-app results, a mapping from package names to the respective clearing result.", +"type": "object" +} +}, +"type": "object" +}, +"Command": { +"description": "A command.", +"id": "Command", +"properties": { +"addEsimParams": { +"$ref": "AddEsimParams", +"description": "Optional. Parameters for the ADD_ESIM command to add an eSIM profile to the device. If this is set, then it is suggested that type should not be set. In this case, the server automatically sets it to ADD_ESIM. It is also acceptable to explicitly set type to ADD_ESIM." +}, +"clearAppsDataParams": { +"$ref": "ClearAppsDataParams", +"description": "Parameters for the CLEAR_APP_DATA command to clear the data of specified apps from the device. See ClearAppsDataParams. If this is set, then it is suggested that type should not be set. In this case, the server automatically sets it to CLEAR_APP_DATA. It is also acceptable to explicitly set type to CLEAR_APP_DATA." +}, +"clearAppsDataStatus": { +"$ref": "ClearAppsDataStatus", +"description": "Output only. Status of the CLEAR_APP_DATA command to clear the data of specified apps from the device. See ClearAppsDataStatus.", +"readOnly": true +}, +"createTime": { +"description": "The timestamp at which the command was created. The timestamp is automatically generated by the server.", +"format": "google-datetime", +"type": "string" +}, +"duration": { +"description": "The duration for which the command is valid. The command will expire if not executed by the device during this time. The default duration if unspecified is ten minutes. There is no maximum duration.", +"format": "google-duration", +"type": "string" +}, +"errorCode": { +"description": "If the command failed, an error code explaining the failure. This is not set when the command is cancelled by the caller. For reasoning about command errors, prefer fields in the following order (most preferred first): 1. Command-specific fields like clearAppsDataStatus, startLostModeStatus, or similar, if they exist. 2. This field, if set. 3. The generic error field in the Operation that wraps the command.", +"enum": [ +"COMMAND_ERROR_CODE_UNSPECIFIED", +"UNKNOWN", +"API_LEVEL", +"MANAGEMENT_MODE", +"INVALID_VALUE", +"UNSUPPORTED" +], +"enumDescriptions": [ +"There was no error.", +"An unknown error occurred.", +"The API level of the device does not support this command.", +"The management mode (profile owner, device owner, etc.) does not support the command.", +"The command has an invalid parameter value.", +"The device doesn't support the command. Updating Android Device Policy to the latest version may resolve the issue." +], +"type": "string" +}, +"esimStatus": { +"$ref": "EsimCommandStatus", +"description": "Output only. Status of an ADD_ESIM or REMOVE_ESIM command.", +"readOnly": true +}, +"newPassword": { +"description": "For commands of type RESET_PASSWORD, optionally specifies the new password. Note: The new password must be at least 6 characters long if it is numeric in case of Android 14 devices. Else the command will fail with INVALID_VALUE.", +"type": "string" +}, +"removeEsimParams": { +"$ref": "RemoveEsimParams", +"description": "Optional. Parameters for the REMOVE_ESIM command to remove an eSIM profile from the device. If this is set, then it is suggested that type should not be set. In this case, the server automatically sets it to REMOVE_ESIM. It is also acceptable to explicitly set type to REMOVE_ESIM." +}, +"requestDeviceInfoParams": { +"$ref": "RequestDeviceInfoParams", +"description": "Optional. Parameters for the REQUEST_DEVICE_INFO command to get device related information. If this is set, then it is suggested that type should not be set. In this case, the server automatically sets it to REQUEST_DEVICE_INFO . It is also acceptable to explicitly set type to REQUEST_DEVICE_INFO." +}, +"requestDeviceInfoStatus": { +"$ref": "RequestDeviceInfoStatus", +"description": "Output only. Status of the REQUEST_DEVICE_INFO command.", +"readOnly": true +}, +"resetPasswordFlags": { +"description": "For commands of type RESET_PASSWORD, optionally specifies flags.", +"items": { +"enum": [ +"RESET_PASSWORD_FLAG_UNSPECIFIED", +"REQUIRE_ENTRY", +"DO_NOT_ASK_CREDENTIALS_ON_BOOT", +"LOCK_NOW" +], +"enumDescriptions": [ +"This value is ignored.", +"Don't allow other admins to change the password again until the user has entered it.", +"Don't ask for user credentials on device boot.", +"Lock the device after password reset." +], +"type": "string" +}, +"type": "array" +}, +"startLostModeParams": { +"$ref": "StartLostModeParams", +"description": "Parameters for the START_LOST_MODE command to put the device into lost mode. See StartLostModeParams. If this is set, then it is suggested that type should not be set. In this case, the server automatically sets it to START_LOST_MODE. It is also acceptable to explicitly set type to START_LOST_MODE." +}, +"startLostModeStatus": { +"$ref": "StartLostModeStatus", +"description": "Output only. Status of the START_LOST_MODE command to put the device into lost mode. See StartLostModeStatus.", +"readOnly": true +}, +"stopLostModeParams": { +"$ref": "StopLostModeParams", +"description": "Parameters for the STOP_LOST_MODE command to take the device out of lost mode. See StopLostModeParams. If this is set, then it is suggested that type should not be set. In this case, the server automatically sets it to STOP_LOST_MODE. It is also acceptable to explicitly set type to STOP_LOST_MODE." +}, +"stopLostModeStatus": { +"$ref": "StopLostModeStatus", +"description": "Output only. Status of the STOP_LOST_MODE command to take the device out of lost mode. See StopLostModeStatus.", +"readOnly": true +}, +"type": { +"description": "The type of the command.", +"enum": [ +"COMMAND_TYPE_UNSPECIFIED", +"LOCK", +"RESET_PASSWORD", +"REBOOT", +"RELINQUISH_OWNERSHIP", +"CLEAR_APP_DATA", +"START_LOST_MODE", +"STOP_LOST_MODE", +"ADD_ESIM", +"REMOVE_ESIM", +"REQUEST_DEVICE_INFO", +"WIPE" +], +"enumDescriptions": [ +"This value is disallowed.", +"Lock the device, as if the lock screen timeout had expired. For a work profile, if there is a separate work profile lock, this only locks the work profile, with one exception: on work profiles on an organization-owned device running Android 8, 9, or 10, this locks the entire device.", +"Reset the user's password.", +"Reboot the device. Only supported on fully managed devices running Android 7.0 (API level 24) or higher.", +"Removes the work profile and all policies from a company-owned Android 8.0+ device, relinquishing the device for personal use. Apps and data associated with the personal profile(s) are preserved. The device will be deleted from the server after it acknowledges the command.", +"Clears the application data of specified apps. This is supported on Android 9 and above. Note that an application can store data outside of its application data, for example in external storage or in a user dictionary. See also clear_apps_data_params.", +"Puts the device into lost mode. Only supported on fully managed devices or organization-owned devices with a managed profile. See also start_lost_mode_params.", +"Takes the device out of lost mode. Only supported on fully managed devices or organization-owned devices with a managed profile. See also stop_lost_mode_params.", +"Adds an eSIM profile to the device. This is supported on Android 15 and above. See also addEsimParams. To remove an eSIM profile, use the REMOVE_ESIM command. To determine what happens to the eSIM profile when a device is wiped, set wipeDataFlags in the policy. Note: To provision multiple eSIMs on a single device, it is recommended to introduce a delay of a few minutes between successive executions of the command.", +"Removes an eSIM profile from the device. This is supported on Android 15 and above. See also removeEsimParams.", +"Request information related to the device.", +"Wipes the device, via a factory reset for a company owned device, or by deleting the work profile for a personally owned device with work profile. The wipe only occurs once the device acknowledges the command. The command can be cancelled before then." +], +"type": "string" +}, +"userName": { +"description": "The resource name of the user that owns the device in the form enterprises/{enterpriseId}/users/{userId}. This is automatically generated by the server based on the device the command is sent to.", +"type": "string" +}, +"wipeParams": { +"$ref": "WipeParams", +"description": "Optional. Parameters for the WIPE command to wipe the device. If this is set, then it is suggested that type should not be set. In this case, the server automatically sets it to WIPE. It is also acceptable to explicitly set type to WIPE." +} +}, +"type": "object" +}, +"CommonCriteriaModeInfo": { +"description": "Information about Common Criteria Mode\u2014security standards defined in the Common Criteria for Information Technology Security Evaluation (https://www.commoncriteriaportal.org/) (CC).This information is only available if statusReportingSettings.commonCriteriaModeEnabled is true in the device's policy.", +"id": "CommonCriteriaModeInfo", +"properties": { +"commonCriteriaModeStatus": { +"description": "Whether Common Criteria Mode is enabled.", +"enum": [ +"COMMON_CRITERIA_MODE_STATUS_UNKNOWN", +"COMMON_CRITERIA_MODE_DISABLED", +"COMMON_CRITERIA_MODE_ENABLED" +], +"enumDescriptions": [ +"Unknown status.", +"Common Criteria Mode is currently disabled.", +"Common Criteria Mode is currently enabled." +], +"type": "string" +}, +"policySignatureVerificationStatus": { +"description": "Output only. The status of policy signature verification.", +"enum": [ +"POLICY_SIGNATURE_VERIFICATION_STATUS_UNSPECIFIED", +"POLICY_SIGNATURE_VERIFICATION_DISABLED", +"POLICY_SIGNATURE_VERIFICATION_SUCCEEDED", +"POLICY_SIGNATURE_VERIFICATION_NOT_SUPPORTED", +"POLICY_SIGNATURE_VERIFICATION_FAILED" +], +"enumDescriptions": [ +"Unspecified. The verification status has not been reported. This is set only if statusReportingSettings.commonCriteriaModeEnabled is false.", +"Policy signature verification is disabled on the device as common_criteria_mode is set to false.", +"Policy signature verification succeeded.", +"Policy signature verification is not supported, e.g. because the device has been enrolled with a CloudDPC version that does not support the policy signature verification.", +"The policy signature verification failed. The policy has not been applied." +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"ComplianceRule": { +"deprecated": true, +"description": "A rule declaring which mitigating actions to take when a device is not compliant with its policy. For every rule, there is always an implicit mitigating action to set policy_compliant to false for the Device resource, and display a message on the device indicating that the device is not compliant with its policy. Other mitigating actions may optionally be taken as well, depending on the field values in the rule.", +"id": "ComplianceRule", +"properties": { +"apiLevelCondition": { +"$ref": "ApiLevelCondition", +"description": "A condition which is satisfied if the Android Framework API level on the device doesn't meet a minimum requirement." +}, +"disableApps": { +"description": "If set to true, the rule includes a mitigating action to disable apps so that the device is effectively disabled, but app data is preserved. If the device is running an app in locked task mode, the app will be closed and a UI showing the reason for non-compliance will be displayed.", +"type": "boolean" +}, +"nonComplianceDetailCondition": { +"$ref": "NonComplianceDetailCondition", +"description": "A condition which is satisfied if there exists any matching NonComplianceDetail for the device." +}, +"packageNamesToDisable": { +"description": "If set, the rule includes a mitigating action to disable apps specified in the list, but app data is preserved.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ConnectEvent": { +"description": "A TCP connect event was initiated through the standard network stack.", +"id": "ConnectEvent", +"properties": { +"destinationIpAddress": { +"description": "The destination IP address of the connect call.", +"type": "string" +}, +"destinationPort": { +"description": "The destination port of the connect call.", +"format": "int32", +"type": "integer" +}, +"packageName": { +"description": "The package name of the UID that performed the connect call.", +"type": "string" +} +}, +"type": "object" +}, +"ContactInfo": { +"description": "Contact details for managed Google Play enterprises.", +"id": "ContactInfo", +"properties": { +"contactEmail": { +"description": "Email address for a point of contact, which will be used to send important announcements related to managed Google Play.", +"type": "string" +}, +"dataProtectionOfficerEmail": { +"description": "The email of the data protection officer. The email is validated but not verified.", +"type": "string" +}, +"dataProtectionOfficerName": { +"description": "The name of the data protection officer.", +"type": "string" +}, +"dataProtectionOfficerPhone": { +"description": "The phone number of the data protection officer The phone number is validated but not verified.", +"type": "string" +}, +"euRepresentativeEmail": { +"description": "The email of the EU representative. The email is validated but not verified.", +"type": "string" +}, +"euRepresentativeName": { +"description": "The name of the EU representative.", +"type": "string" +}, +"euRepresentativePhone": { +"description": "The phone number of the EU representative. The phone number is validated but not verified.", +"type": "string" +} +}, +"type": "object" +}, +"ContentProviderEndpoint": { +"description": "This feature is not generally available.", +"id": "ContentProviderEndpoint", +"properties": { +"packageName": { +"description": "This feature is not generally available.", +"type": "string" +}, +"signingCertsSha256": { +"description": "Required. This feature is not generally available.", +"items": { +"type": "string" +}, +"type": "array" +}, +"uri": { +"description": "This feature is not generally available.", +"type": "string" +} +}, +"type": "object" +}, +"CrossProfilePolicies": { +"description": "Controls the data from the work profile that can be accessed from the personal profile and vice versa. A NonComplianceDetail with MANAGEMENT_MODE is reported if the device does not have a work profile.", +"id": "CrossProfilePolicies", +"properties": { +"crossProfileAppFunctions": { +"description": "Optional. Controls whether personal profile apps can invoke app functions exposed by apps in the work profile.", +"enum": [ +"CROSS_PROFILE_APP_FUNCTIONS_UNSPECIFIED", +"CROSS_PROFILE_APP_FUNCTIONS_DISALLOWED", +"CROSS_PROFILE_APP_FUNCTIONS_ALLOWED" +], +"enumDescriptions": [ +"Unspecified. If appFunctions is set to APP_FUNCTIONS_ALLOWED, defaults to CROSS_PROFILE_APP_FUNCTIONS_ALLOWED. If appFunctions is set to APP_FUNCTIONS_DISALLOWED, defaults to CROSS_PROFILE_APP_FUNCTIONS_DISALLOWED.", +"Personal profile apps are not allowed to invoke app functions exposed by apps in the work profile.", +"Personal profile apps can invoke app functions exposed by apps in the work profile. If this is set, appFunctions must not be set to APP_FUNCTIONS_DISALLOWED, otherwise the policy will be rejected." +], +"type": "string" +}, +"crossProfileCopyPaste": { +"description": "Whether text copied from one profile (personal or work) can be pasted in the other profile.", +"enum": [ +"CROSS_PROFILE_COPY_PASTE_UNSPECIFIED", +"COPY_FROM_WORK_TO_PERSONAL_DISALLOWED", +"CROSS_PROFILE_COPY_PASTE_ALLOWED" +], +"enumDescriptions": [ +"Unspecified. Defaults to COPY_FROM_WORK_TO_PERSONAL_DISALLOWED", +"Default. Prevents users from pasting into the personal profile text copied from the work profile. Text copied from the personal profile can be pasted into the work profile, and text copied from the work profile can be pasted into the work profile.", +"Text copied in either profile can be pasted in the other profile." +], +"type": "string" +}, +"crossProfileDataSharing": { +"description": "Whether data from one profile (personal or work) can be shared with apps in the other profile. Specifically controls simple data sharing via intents. Management of other cross-profile communication channels, such as contact search, copy/paste, or connected work & personal apps, are configured separately.", +"enum": [ +"CROSS_PROFILE_DATA_SHARING_UNSPECIFIED", +"CROSS_PROFILE_DATA_SHARING_DISALLOWED", +"DATA_SHARING_FROM_WORK_TO_PERSONAL_DISALLOWED", +"CROSS_PROFILE_DATA_SHARING_ALLOWED" +], +"enumDescriptions": [ +"Unspecified. Defaults to DATA_SHARING_FROM_WORK_TO_PERSONAL_DISALLOWED.", +"Prevents data from being shared from both the personal profile to the work profile and the work profile to the personal profile.", +"Default. Prevents users from sharing data from the work profile to apps in the personal profile. Personal data can be shared with work apps.", +"Data from either profile can be shared with the other profile." +], +"type": "string" +}, +"exemptionsToShowWorkContactsInPersonalProfile": { +"$ref": "PackageNameList", +"description": "List of apps which are excluded from the ShowWorkContactsInPersonalProfile setting. For this to be set, ShowWorkContactsInPersonalProfile must be set to one of the following values: SHOW_WORK_CONTACTS_IN_PERSONAL_PROFILE_ALLOWED. In this case, these exemptions act as a blocklist. SHOW_WORK_CONTACTS_IN_PERSONAL_PROFILE_DISALLOWED. In this case, these exemptions act as an allowlist. SHOW_WORK_CONTACTS_IN_PERSONAL_PROFILE_DISALLOWED_EXCEPT_SYSTEM. In this case, these exemptions act as an allowlist, in addition to the already allowlisted system apps.Supported on Android 14 and above. A NonComplianceDetail with API_LEVEL is reported if the Android version is less than 14." +}, +"showWorkContactsInPersonalProfile": { +"description": "Whether personal apps can access contacts stored in the work profile.See also exemptions_to_show_work_contacts_in_personal_profile.", +"enum": [ +"SHOW_WORK_CONTACTS_IN_PERSONAL_PROFILE_UNSPECIFIED", +"SHOW_WORK_CONTACTS_IN_PERSONAL_PROFILE_DISALLOWED", +"SHOW_WORK_CONTACTS_IN_PERSONAL_PROFILE_ALLOWED", +"SHOW_WORK_CONTACTS_IN_PERSONAL_PROFILE_DISALLOWED_EXCEPT_SYSTEM" +], +"enumDescriptions": [ +"Unspecified. Defaults to SHOW_WORK_CONTACTS_IN_PERSONAL_PROFILE_ALLOWED.When this is set, exemptions_to_show_work_contacts_in_personal_profile must not be set.", +"Prevents personal apps from accessing work profile contacts and looking up work contacts.When this is set, personal apps specified in exemptions_to_show_work_contacts_in_personal_profile are allowlisted and can access work profile contacts directly.Supported on Android 7.0 and above. A NonComplianceDetail with API_LEVEL is reported if the Android version is less than 7.0.", +"Default. Allows apps in the personal profile to access work profile contacts including contact searches and incoming calls.When this is set, personal apps specified in exemptions_to_show_work_contacts_in_personal_profile are blocklisted and can not access work profile contacts directly.Supported on Android 7.0 and above. A NonComplianceDetail with API_LEVEL is reported if the Android version is less than 7.0.", +"Prevents most personal apps from accessing work profile contacts including contact searches and incoming calls, except for the OEM default Dialer, Messages, and Contacts apps. Neither user-configured Dialer, Messages, and Contacts apps, nor any other system or play installed apps, will be able to query work contacts directly.When this is set, personal apps specified in exemptions_to_show_work_contacts_in_personal_profile are allowlisted and can access work profile contacts.Supported on Android 14 and above. If this is set on a device with Android version less than 14, the behaviour falls back to SHOW_WORK_CONTACTS_IN_PERSONAL_PROFILE_DISALLOWED and a NonComplianceDetail with API_LEVEL is reported." +], +"type": "string" +}, +"workProfileWidgetsDefault": { +"description": "Specifies the default behaviour for work profile widgets. If the policy does not specify work_profile_widgets for a specific application, it will behave according to the value specified here.", +"enum": [ +"WORK_PROFILE_WIDGETS_DEFAULT_UNSPECIFIED", +"WORK_PROFILE_WIDGETS_DEFAULT_ALLOWED", +"WORK_PROFILE_WIDGETS_DEFAULT_DISALLOWED" +], +"enumDescriptions": [ +"Unspecified. Defaults to WORK_PROFILE_WIDGETS_DEFAULT_DISALLOWED.", +"Work profile widgets are allowed by default. This means that if the policy does not specify work_profile_widgets as WORK_PROFILE_WIDGETS_DISALLOWED for the application, it will be able to add widgets to the home screen.", +"Work profile widgets are disallowed by default. This means that if the policy does not specify work_profile_widgets as WORK_PROFILE_WIDGETS_ALLOWED for the application, it will be unable to add widgets to the home screen." +], +"type": "string" +} +}, +"type": "object" +}, +"CryptoSelfTestCompletedEvent": { +"description": "Validates whether Android\u2019s built-in cryptographic library (BoringSSL) is valid. Should always succeed on device boot, if it fails, the device should be considered untrusted.", +"id": "CryptoSelfTestCompletedEvent", +"properties": { +"success": { +"description": "Whether the test succeeded.", +"type": "boolean" +} +}, +"type": "object" +}, +"CustomAppConfig": { +"description": "Configuration for a custom app.", +"id": "CustomAppConfig", +"properties": { +"userUninstallSettings": { +"description": "Optional. User uninstall settings of the custom app.", +"enum": [ +"USER_UNINSTALL_SETTINGS_UNSPECIFIED", +"DISALLOW_UNINSTALL_BY_USER", +"ALLOW_UNINSTALL_BY_USER" +], +"enumDescriptions": [ +"Unspecified. Defaults to DISALLOW_UNINSTALL_BY_USER.", +"User is not allowed to uninstall the custom app.", +"User is allowed to uninstall the custom app." +], +"type": "string" +} +}, +"type": "object" +}, +"Date": { +"description": "Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following: A full date, with non-zero year, month, and day values. A month and day, with a zero year (for example, an anniversary). A year on its own, with a zero month and a zero day. A year and month, with a zero day (for example, a credit card expiration date).Related types: google.type.TimeOfDay google.type.DateTime google.protobuf.Timestamp", +"id": "Date", +"properties": { +"day": { +"description": "Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn't significant.", +"format": "int32", +"type": "integer" +}, +"month": { +"description": "Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.", +"format": "int32", +"type": "integer" +}, +"year": { +"description": "Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"DefaultApplication": { +"description": "Information about the application to be set as the default.", +"id": "DefaultApplication", +"properties": { +"packageName": { +"description": "Required. The package name that should be set as the default application. The policy is rejected if the package name is invalid.", +"type": "string" +} +}, +"type": "object" +}, +"DefaultApplicationContext": { +"description": "Additional context for non-compliance related to default application settings.", +"id": "DefaultApplicationContext", +"properties": { +"defaultApplicationScope": { +"description": "Output only. The scope of non-compliant default application setting.", +"enum": [ +"DEFAULT_APPLICATION_SCOPE_UNSPECIFIED", +"SCOPE_FULLY_MANAGED", +"SCOPE_WORK_PROFILE", +"SCOPE_PERSONAL_PROFILE" +], +"enumDescriptions": [ +"Unspecified. This value must not be used.", +"Sets the application as the default on fully managed devices.", +"Sets the application as the work profile default.Only supported for DEFAULT_BROWSER, DEFAULT_CALL_REDIRECTION, DEFAULT_CALL_SCREENING, DEFAULT_DIALER and DEFAULT_WALLET.", +"Sets the application as the personal profile default on company-owned devices with a work profile. Only pre-installed system apps can be set as the default.Only supported for DEFAULT_BROWSER, DEFAULT_DIALER, DEFAULT_SMS and DEFAULT_WALLET." +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"DefaultApplicationInfo": { +"description": "The default application information for a specific DefaultApplicationType.", +"id": "DefaultApplicationInfo", +"properties": { +"defaultApplicationSettingAttempts": { +"description": "Output only. Details on the default application setting attempts, in the same order as listed in defaultApplications.", +"items": { +"$ref": "DefaultApplicationSettingAttempt" +}, +"readOnly": true, +"type": "array" +}, +"defaultApplicationType": { +"description": "Output only. The default application type.", +"enum": [ +"DEFAULT_APPLICATION_TYPE_UNSPECIFIED", +"DEFAULT_ASSISTANT", +"DEFAULT_BROWSER", +"DEFAULT_CALL_REDIRECTION", +"DEFAULT_CALL_SCREENING", +"DEFAULT_DIALER", +"DEFAULT_HOME", +"DEFAULT_SMS", +"DEFAULT_WALLET" +], +"enumDescriptions": [ +"Unspecified. This value must not be used.", +"The assistant app type. This app type is only allowed to be set for SCOPE_FULLY_MANAGED.Supported on fully managed devices on Android 16 and above. A NonComplianceDetail with MANAGEMENT_MODE is reported for other management modes. A NonComplianceDetail with API_LEVEL is reported if the Android version is less than 16.", +"The browser app type.Supported on Android 16 and above. A NonComplianceDetail with API_LEVEL is reported if the Android version is less than 16.", +"The call redirection app type. This app type cannot be set for SCOPE_PERSONAL_PROFILE.Supported on Android 16 and above. A NonComplianceDetail with API_LEVEL is reported if the Android version is less than 16.", +"The call screening app type. This app type cannot be set for SCOPE_PERSONAL_PROFILE.Supported on Android 16 and above. A NonComplianceDetail with API_LEVEL is reported if the Android version is less than 16.", +"The dialer app type.Supported on fully managed devices on Android 14 and 15. A NonComplianceDetail with MANAGEMENT_MODE is reported for other management modes. A NonComplianceDetail with API_LEVEL is reported if the Android version is less than 14.Supported on all management modes on Android 16 and above.", +"The home app type. This app type is only allowed to be set for SCOPE_FULLY_MANAGED.Supported on fully managed devices on Android 16 and above. A NonComplianceDetail with MANAGEMENT_MODE is reported for other management modes. A NonComplianceDetail with API_LEVEL is reported if the Android version is less than 16.", +"The SMS app type. This app type cannot be set for SCOPE_WORK_PROFILE.Supported on company-owned devices on Android 16 and above. A NonComplianceDetail with MANAGEMENT_MODE is reported for personally-owned devices. A NonComplianceDetail with API_LEVEL is reported if the Android version is less than 16.", +"The wallet app type. The default application of this type applies across profiles.On a company-owned device with a work profile, admins can set the scope to SCOPE_PERSONAL_PROFILE to set a personal profile pre-installed system app as the default, or to SCOPE_WORK_PROFILE to set a work profile app as the default. It is not allowed to specify both scopes at the same time.Due to a known issue, the user may be able to change the default wallet even when this is set on a fully managed device.Supported on company-owned devices on Android 16 and above. A NonComplianceDetail with MANAGEMENT_MODE is reported for personally-owned devices. A NonComplianceDetail with API_LEVEL is reported if the Android version is less than 16." +], +"readOnly": true, +"type": "string" +}, +"packageName": { +"description": "Output only. The package name of the current default application.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"DefaultApplicationSetting": { +"description": "The default application setting for a DefaultApplicationType.", +"id": "DefaultApplicationSetting", +"properties": { +"defaultApplicationScopes": { +"description": "Required. The scopes to which the policy should be applied. This list must not be empty or contain duplicates.A NonComplianceDetail with MANAGEMENT_MODE reason and DEFAULT_APPLICATION_SETTING_UNSUPPORTED_SCOPES specific reason is reported if none of the specified scopes can be applied to the management mode (e.g. a fully managed device receives a policy with only SCOPE_PERSONAL_PROFILE in the list).", +"items": { +"enum": [ +"DEFAULT_APPLICATION_SCOPE_UNSPECIFIED", +"SCOPE_FULLY_MANAGED", +"SCOPE_WORK_PROFILE", +"SCOPE_PERSONAL_PROFILE" +], +"enumDescriptions": [ +"Unspecified. This value must not be used.", +"Sets the application as the default on fully managed devices.", +"Sets the application as the work profile default.Only supported for DEFAULT_BROWSER, DEFAULT_CALL_REDIRECTION, DEFAULT_CALL_SCREENING, DEFAULT_DIALER and DEFAULT_WALLET.", +"Sets the application as the personal profile default on company-owned devices with a work profile. Only pre-installed system apps can be set as the default.Only supported for DEFAULT_BROWSER, DEFAULT_DIALER, DEFAULT_SMS and DEFAULT_WALLET." +], +"type": "string" +}, +"type": "array" +}, +"defaultApplicationType": { +"description": "Required. The app type to set the default application.", +"enum": [ +"DEFAULT_APPLICATION_TYPE_UNSPECIFIED", +"DEFAULT_ASSISTANT", +"DEFAULT_BROWSER", +"DEFAULT_CALL_REDIRECTION", +"DEFAULT_CALL_SCREENING", +"DEFAULT_DIALER", +"DEFAULT_HOME", +"DEFAULT_SMS", +"DEFAULT_WALLET" +], +"enumDescriptions": [ +"Unspecified. This value must not be used.", +"The assistant app type. This app type is only allowed to be set for SCOPE_FULLY_MANAGED.Supported on fully managed devices on Android 16 and above. A NonComplianceDetail with MANAGEMENT_MODE is reported for other management modes. A NonComplianceDetail with API_LEVEL is reported if the Android version is less than 16.", +"The browser app type.Supported on Android 16 and above. A NonComplianceDetail with API_LEVEL is reported if the Android version is less than 16.", +"The call redirection app type. This app type cannot be set for SCOPE_PERSONAL_PROFILE.Supported on Android 16 and above. A NonComplianceDetail with API_LEVEL is reported if the Android version is less than 16.", +"The call screening app type. This app type cannot be set for SCOPE_PERSONAL_PROFILE.Supported on Android 16 and above. A NonComplianceDetail with API_LEVEL is reported if the Android version is less than 16.", +"The dialer app type.Supported on fully managed devices on Android 14 and 15. A NonComplianceDetail with MANAGEMENT_MODE is reported for other management modes. A NonComplianceDetail with API_LEVEL is reported if the Android version is less than 14.Supported on all management modes on Android 16 and above.", +"The home app type. This app type is only allowed to be set for SCOPE_FULLY_MANAGED.Supported on fully managed devices on Android 16 and above. A NonComplianceDetail with MANAGEMENT_MODE is reported for other management modes. A NonComplianceDetail with API_LEVEL is reported if the Android version is less than 16.", +"The SMS app type. This app type cannot be set for SCOPE_WORK_PROFILE.Supported on company-owned devices on Android 16 and above. A NonComplianceDetail with MANAGEMENT_MODE is reported for personally-owned devices. A NonComplianceDetail with API_LEVEL is reported if the Android version is less than 16.", +"The wallet app type. The default application of this type applies across profiles.On a company-owned device with a work profile, admins can set the scope to SCOPE_PERSONAL_PROFILE to set a personal profile pre-installed system app as the default, or to SCOPE_WORK_PROFILE to set a work profile app as the default. It is not allowed to specify both scopes at the same time.Due to a known issue, the user may be able to change the default wallet even when this is set on a fully managed device.Supported on company-owned devices on Android 16 and above. A NonComplianceDetail with MANAGEMENT_MODE is reported for personally-owned devices. A NonComplianceDetail with API_LEVEL is reported if the Android version is less than 16." +], +"type": "string" +}, +"defaultApplications": { +"description": "Required. The list of applications that can be set as the default app for a given type. This list must not be empty or contain duplicates. The first app in the list that is installed and qualified for the defaultApplicationType (e.g. SMS app for DEFAULT_SMS) is set as the default app. The signing key certificate fingerprint of the app on the device must also match one of the signing key certificate fingerprints obtained from Play Store or one of the entries in ApplicationPolicy.signingKeyCerts in order to be set as the default.If the defaultApplicationScopes contains SCOPE_FULLY_MANAGED or SCOPE_WORK_PROFILE, the app must have an entry in applications with installType set to a value other than BLOCKED.A NonComplianceDetail with APP_NOT_INSTALLED reason and DEFAULT_APPLICATION_SETTING_FAILED_FOR_SCOPE specific reason is reported if none of the apps in the list are installed. A NonComplianceDetail with INVALID_VALUE reason and DEFAULT_APPLICATION_SETTING_FAILED_FOR_SCOPE specific reason is reported if at least one app is installed but the policy fails to apply due to other reasons (e.g. the app is not of the right type).When applying to SCOPE_PERSONAL_PROFILE on a company-owned device with a work profile, only pre-installed system apps can be set as the default. A NonComplianceDetail with INVALID_VALUE reason and DEFAULT_APPLICATION_SETTING_FAILED_FOR_SCOPE specific reason is reported if the policy fails to apply to the personal profile.", +"items": { +"$ref": "DefaultApplication" +}, +"type": "array" +} +}, +"type": "object" +}, +"DefaultApplicationSettingAttempt": { +"description": "Details on a default application setting attempt.", +"id": "DefaultApplicationSettingAttempt", +"properties": { +"attemptOutcome": { +"description": "Output only. The outcome of setting the app as the default.", +"enum": [ +"ATTEMPT_OUTCOME_UNSPECIFIED", +"SUCCESS", +"APP_NOT_INSTALLED", +"APP_SIGNING_CERT_MISMATCH", +"OTHER_FAILURE" +], +"enumDescriptions": [ +"Attempt outcome is unspecified. This is not used.", +"App is successfully set as the default.", +"Attempt failed as the app is not installed.", +"Attempt failed as the signing key certificate fingerprint of the app from Play Store or from ApplicationPolicy.signingKeyCerts does not match the one on the device.", +"Attempt failed due to other reasons." +], +"readOnly": true, +"type": "string" +}, +"packageName": { +"description": "Output only. The package name of the attempted application.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"Device": { +"description": "A device owned by an enterprise. Unless otherwise noted, all fields are read-only and can't be modified by enterprises.devices.patch.", +"id": "Device", +"properties": { +"apiLevel": { +"description": "The API level of the Android platform version running on the device.", +"format": "int32", +"type": "integer" +}, +"applicationReports": { +"description": "Reports for apps installed on the device. This information is only available when application_reports_enabled is true in the device's policy.", +"items": { +"$ref": "ApplicationReport" +}, +"type": "array" +}, +"appliedPasswordPolicies": { +"description": "The password requirements currently applied to the device. This field exists because the applied requirements may be slightly different from those specified in passwordPolicies in some cases. Note that this field does not provide information about password compliance. For non-compliance information, see nonComplianceDetails. NonComplianceDetail.fieldPath, is set based on passwordPolicies, not based on this field.", +"items": { +"$ref": "PasswordRequirements" +}, +"type": "array" +}, +"appliedPolicyName": { +"description": "The name of the policy currently applied to the device.", +"type": "string" +}, +"appliedPolicyVersion": { +"description": "The version of the policy currently applied to the device.", +"format": "int64", +"type": "string" +}, +"appliedState": { +"description": "The state currently applied to the device.", +"enum": [ +"DEVICE_STATE_UNSPECIFIED", +"ACTIVE", +"DISABLED", +"DELETED", +"PROVISIONING", +"LOST", +"PREPARING_FOR_MIGRATION", +"DEACTIVATED_BY_DEVICE_FINANCE" +], +"enumDescriptions": [ +"This value is disallowed.", +"The device is active.", +"The device is disabled.", +"The device was deleted. This state is never returned by an API call, but is used in the final status report when the device acknowledges the deletion. If the device is deleted via the API call, this state is published to Pub/Sub. If the user deletes the work profile or resets the device, the device state will remain unknown to the server.", +"The device is being provisioned. Newly enrolled devices are in this state until they have a policy applied.", +"The device is lost. This state is only possible on organization-owned devices.", +"The device is preparing for migrating to Android Management API. No further action is needed for the migration to continue.", +"This is a financed device that has been \"locked\" by the financing agent. This means certain policy settings have been applied which limit device functionality until the device has been \"unlocked\" by the financing agent. The device will continue to apply policy settings excluding those overridden by the financing agent. When the device is \"locked\", the state is reported in appliedState as DEACTIVATED_BY_DEVICE_FINANCE." +], +"type": "string" +}, +"commonCriteriaModeInfo": { +"$ref": "CommonCriteriaModeInfo", +"description": "Information about Common Criteria Mode\u2014security standards defined in the Common Criteria for Information Technology Security Evaluation (https://www.commoncriteriaportal.org/) (CC).This information is only available if statusReportingSettings.commonCriteriaModeEnabled is true in the device's policy the device is company-owned." +}, +"defaultApplicationInfo": { +"description": "Output only. The default application information for the DefaultApplicationType. This information is only available if defaultApplicationInfoReportingEnabled is true in the device's policy. Available on Android 16 and above.All app types are reported on fully managed devices. DEFAULT_BROWSER, DEFAULT_CALL_REDIRECTION, DEFAULT_CALL_SCREENING and DEFAULT_DIALER types are reported for the work profiles on company-owned devices with a work profile and personally-owned devices. DEFAULT_WALLET is also reported for company-owned devices with a work profile, but will only include work profile information.", +"items": { +"$ref": "DefaultApplicationInfo" +}, +"readOnly": true, +"type": "array" +}, +"deviceSettings": { +"$ref": "DeviceSettings", +"description": "Device settings information. This information is only available if deviceSettingsEnabled is true in the device's policy." +}, +"disabledReason": { +"$ref": "UserFacingMessage", +"description": "If the device state is DISABLED, an optional message that is displayed on the device indicating the reason the device is disabled. This field can be modified by a patch request." +}, +"displays": { +"description": "Detailed information about displays on the device. This information is only available if displayInfoEnabled is true in the device's policy.", +"items": { +"$ref": "Display" +}, +"type": "array" +}, +"dpcMigrationInfo": { +"$ref": "DpcMigrationInfo", +"description": "Output only. Information related to whether this device was migrated from being managed by another Device Policy Controller (DPC).", +"readOnly": true +}, +"enrollmentTime": { +"description": "The time of device enrollment.", +"format": "google-datetime", +"type": "string" +}, +"enrollmentTokenData": { +"description": "If the device was enrolled with an enrollment token with additional data provided, this field contains that data.", +"type": "string" +}, +"enrollmentTokenName": { +"description": "If the device was enrolled with an enrollment token, this field contains the name of the token.", +"type": "string" +}, +"hardwareInfo": { +"$ref": "HardwareInfo", +"description": "Detailed information about the device hardware." +}, +"hardwareStatusSamples": { +"description": "Hardware status samples in chronological order. This information is only available if hardwareStatusEnabled is true in the device's policy.", +"items": { +"$ref": "HardwareStatus" +}, +"type": "array" +}, +"lastPolicyComplianceReportTime": { +"deprecated": true, +"description": "Deprecated.", +"format": "google-datetime", +"type": "string" +}, +"lastPolicySyncTime": { +"description": "The last time the device fetched its policy.", +"format": "google-datetime", +"type": "string" +}, +"lastStatusReportTime": { +"description": "The last time the device sent a status report.", +"format": "google-datetime", +"type": "string" +}, +"managementMode": { +"description": "The type of management mode Android Device Policy takes on the device. This influences which policy settings are supported.", +"enum": [ +"MANAGEMENT_MODE_UNSPECIFIED", +"DEVICE_OWNER", +"PROFILE_OWNER" +], +"enumDescriptions": [ +"This value is disallowed.", +"Device owner. Android Device Policy has full control over the device.", +"Profile owner. Android Device Policy has control over a managed profile on the device." +], +"type": "string" +}, +"memoryEvents": { +"description": "Events related to memory and storage measurements in chronological order. This information is only available if memoryInfoEnabled is true in the device's policy.Events are retained for a certain period of time and old events are deleted.", +"items": { +"$ref": "MemoryEvent" +}, +"type": "array" +}, +"memoryInfo": { +"$ref": "MemoryInfo", +"description": "Memory information: contains information about device memory and storage." +}, +"name": { +"description": "The name of the device in the form enterprises/{enterpriseId}/devices/{deviceId}.", +"type": "string" +}, +"networkInfo": { +"$ref": "NetworkInfo", +"description": "Device network information. This information is only available if networkInfoEnabled is true in the device's policy." +}, +"nonComplianceDetails": { +"description": "Details about policy settings that the device is not compliant with.", +"items": { +"$ref": "NonComplianceDetail" +}, +"type": "array" +}, +"ownership": { +"description": "Ownership of the managed device.", +"enum": [ +"OWNERSHIP_UNSPECIFIED", +"COMPANY_OWNED", +"PERSONALLY_OWNED" +], +"enumDescriptions": [ +"Ownership is unspecified.", +"Device is company-owned.", +"Device is personally-owned." +], +"type": "string" +}, +"policyCompliant": { +"description": "Whether the device is compliant with its policy.", +"type": "boolean" +}, +"policyName": { +"description": "The name of the policy applied to the device, in the form enterprises/{enterpriseId}/policies/{policyId}. If not specified, the policy_name for the device's user is applied. This field can be modified by a patch request. You can specify only the policyId when calling enterprises.devices.patch, as long as the policyId doesn\u2019t contain any slashes. The rest of the policy name is inferred.", +"type": "string" +}, +"powerManagementEvents": { +"description": "Power management events on the device in chronological order. This information is only available if powerManagementEventsEnabled is true in the device's policy.", +"items": { +"$ref": "PowerManagementEvent" +}, +"type": "array" +}, +"previousDeviceNames": { +"description": "If the same physical device has been enrolled multiple times, this field contains its previous device names. The serial number is used as the unique identifier to determine if the same physical device has enrolled previously. The names are in chronological order.", +"items": { +"type": "string" +}, +"type": "array" +}, +"securityPosture": { +"$ref": "SecurityPosture", +"description": "Device's security posture value that reflects how secure the device is." +}, +"softwareInfo": { +"$ref": "SoftwareInfo", +"description": "Detailed information about the device software. This information is only available if softwareInfoEnabled is true in the device's policy." +}, +"state": { +"description": "The state to be applied to the device. This field can be modified by a patch request. Note that when calling enterprises.devices.patch, ACTIVE and DISABLED are the only allowable values. To enter the device into a DELETED state, call enterprises.devices.delete.", +"enum": [ +"DEVICE_STATE_UNSPECIFIED", +"ACTIVE", +"DISABLED", +"DELETED", +"PROVISIONING", +"LOST", +"PREPARING_FOR_MIGRATION", +"DEACTIVATED_BY_DEVICE_FINANCE" +], +"enumDescriptions": [ +"This value is disallowed.", +"The device is active.", +"The device is disabled.", +"The device was deleted. This state is never returned by an API call, but is used in the final status report when the device acknowledges the deletion. If the device is deleted via the API call, this state is published to Pub/Sub. If the user deletes the work profile or resets the device, the device state will remain unknown to the server.", +"The device is being provisioned. Newly enrolled devices are in this state until they have a policy applied.", +"The device is lost. This state is only possible on organization-owned devices.", +"The device is preparing for migrating to Android Management API. No further action is needed for the migration to continue.", +"This is a financed device that has been \"locked\" by the financing agent. This means certain policy settings have been applied which limit device functionality until the device has been \"unlocked\" by the financing agent. The device will continue to apply policy settings excluding those overridden by the financing agent. When the device is \"locked\", the state is reported in appliedState as DEACTIVATED_BY_DEVICE_FINANCE." +], +"type": "string" +}, +"systemProperties": { +"additionalProperties": { +"type": "string" +}, +"description": "Map of selected system properties name and value related to the device. This information is only available if systemPropertiesEnabled is true in the device's policy.", +"type": "object" +}, +"user": { +"$ref": "User", +"description": "The user who owns the device." +}, +"userName": { +"description": "The resource name of the user that owns this device in the form enterprises/{enterpriseId}/users/{userId}.", +"type": "string" +} +}, +"type": "object" +}, +"DeviceConnectivityManagement": { +"description": "Covers controls for device connectivity such as Wi-Fi, USB data access, keyboard/mouse connections, and more.", +"id": "DeviceConnectivityManagement", +"properties": { +"apnPolicy": { +"$ref": "ApnPolicy", +"description": "Optional. Access Point Name (APN) policy. Configuration for Access Point Names (APNs) which may override any other APNs on the device. See OVERRIDE_APNS_ENABLED and overrideApns for details." +}, +"bluetoothSharing": { +"description": "Optional. Controls whether Bluetooth sharing is allowed.", +"enum": [ +"BLUETOOTH_SHARING_UNSPECIFIED", +"BLUETOOTH_SHARING_ALLOWED", +"BLUETOOTH_SHARING_DISALLOWED" +], +"enumDescriptions": [ +"Unspecified. Defaults to BLUETOOTH_SHARING_DISALLOWED on work profiles and BLUETOOTH_SHARING_ALLOWED on fully managed devices.", +"Bluetooth sharing is allowed.Supported on Android 8 and above. A NonComplianceDetail with API_LEVEL is reported on work profiles if the Android version is less than 8.", +"Bluetooth sharing is disallowed.Supported on Android 8 and above. A NonComplianceDetail with API_LEVEL is reported on fully managed devices if the Android version is less than 8." +], +"type": "string" +}, +"configureWifi": { +"description": "Controls Wi-Fi configuring privileges. Based on the option set, user will have either full or limited or no control in configuring Wi-Fi networks.", +"enum": [ +"CONFIGURE_WIFI_UNSPECIFIED", +"ALLOW_CONFIGURING_WIFI", +"DISALLOW_ADD_WIFI_CONFIG", +"DISALLOW_CONFIGURING_WIFI" +], +"enumDescriptions": [ +"Unspecified. Defaults to ALLOW_CONFIGURING_WIFI unless wifiConfigDisabled is set to true. If wifiConfigDisabled is set to true, this is equivalent to DISALLOW_CONFIGURING_WIFI.", +"The user is allowed to configure Wi-Fi. wifiConfigDisabled is ignored.", +"Adding new Wi-Fi configurations is disallowed. The user is only able to switch between already configured networks. Supported on Android 13 and above, on fully managed devices and work profiles on company-owned devices. If the setting is not supported, ALLOW_CONFIGURING_WIFI is set. A NonComplianceDetail with API_LEVEL is reported if the Android version is less than 13. wifiConfigDisabled is ignored.", +"Disallows configuring Wi-Fi networks. The setting wifiConfigDisabled is ignored when this value is set. Supported on fully managed devices and work profile on company-owned devices, on all supported API levels. For fully managed devices, setting this removes all configured networks and retains only the networks configured using openNetworkConfiguration policy. For work profiles on company-owned devices, existing configured networks are not affected and the user is not allowed to add, remove, or modify Wi-Fi networks. Note: If a network connection can't be made at boot time and configuring Wi-Fi is disabled then network escape hatch will be shown in order to refresh the device policy (see networkEscapeHatchEnabled)." +], +"type": "string" +}, +"preferentialNetworkServiceSettings": { +"$ref": "PreferentialNetworkServiceSettings", +"description": "Optional. Preferential network service configuration. Setting this field will override preferentialNetworkService. This can be set on both work profiles and fully managed devices on Android 13 and above. See 5G network slicing (https://developers.google.com/android/management/5g-network-slicing) guide for more details." +}, +"privateDnsSettings": { +"$ref": "PrivateDnsSettings", +"description": "Optional. The global private DNS settings." +}, +"tetheringSettings": { +"description": "Controls tethering settings. Based on the value set, the user is partially or fully disallowed from using different forms of tethering.", +"enum": [ +"TETHERING_SETTINGS_UNSPECIFIED", +"ALLOW_ALL_TETHERING", +"DISALLOW_WIFI_TETHERING", +"DISALLOW_ALL_TETHERING" +], +"enumDescriptions": [ +"Unspecified. Defaults to ALLOW_ALL_TETHERING unless tetheringConfigDisabled is set to true. If tetheringConfigDisabled is set to true, this is equivalent to DISALLOW_ALL_TETHERING.", +"Allows configuration and use of all forms of tethering. tetheringConfigDisabled is ignored.", +"Disallows the user from using Wi-Fi tethering. Supported on company owned devices running Android 13 and above. If the setting is not supported, ALLOW_ALL_TETHERING will be set. A NonComplianceDetail with API_LEVEL is reported if the Android version is less than 13. tetheringConfigDisabled is ignored.", +"Disallows all forms of tethering. Supported on fully managed devices and work profile on company-owned devices, on all supported android versions. The setting tetheringConfigDisabled is ignored." +], +"type": "string" +}, +"usbDataAccess": { +"description": "Controls what files and/or data can be transferred via USB. Supported only on company-owned devices.", +"enum": [ +"USB_DATA_ACCESS_UNSPECIFIED", +"ALLOW_USB_DATA_TRANSFER", +"DISALLOW_USB_FILE_TRANSFER", +"DISALLOW_USB_DATA_TRANSFER" +], +"enumDescriptions": [ +"Unspecified. Defaults to DISALLOW_USB_FILE_TRANSFER.", +"All types of USB data transfers are allowed. usbFileTransferDisabled is ignored.", +"Transferring files over USB is disallowed. Other types of USB data connections, such as mouse and keyboard connection, are allowed. usbFileTransferDisabled is ignored.", +"When set, all types of USB data transfers are prohibited. Supported for devices running Android 12 or above with USB HAL 1.3 or above. If the setting is not supported, DISALLOW_USB_FILE_TRANSFER will be set. A NonComplianceDetail with API_LEVEL is reported if the Android version is less than 12. A NonComplianceDetail with DEVICE_INCOMPATIBLE is reported if the device does not have USB HAL 1.3 or above. usbFileTransferDisabled is ignored." +], +"type": "string" +}, +"wifiDirectSettings": { +"description": "Controls configuring and using Wi-Fi direct settings. Supported on company-owned devices running Android 13 and above.", +"enum": [ +"WIFI_DIRECT_SETTINGS_UNSPECIFIED", +"ALLOW_WIFI_DIRECT", +"DISALLOW_WIFI_DIRECT" +], +"enumDescriptions": [ +"Unspecified. Defaults to ALLOW_WIFI_DIRECT", +"The user is allowed to use Wi-Fi direct.", +"The user is not allowed to use Wi-Fi direct. A NonComplianceDetail with API_LEVEL is reported if the Android version is less than 13." +], +"type": "string" +}, +"wifiRoamingPolicy": { +"$ref": "WifiRoamingPolicy", +"description": "Optional. Wi-Fi roaming policy." +}, +"wifiSsidPolicy": { +"$ref": "WifiSsidPolicy", +"description": "Restrictions on which Wi-Fi SSIDs the device can connect to. Note that this does not affect which networks can be configured on the device. Supported on company-owned devices running Android 13 and above." +} +}, +"type": "object" +}, +"DeviceRadioState": { +"description": "Controls for device radio settings.", +"id": "DeviceRadioState", +"properties": { +"airplaneModeState": { +"description": "Controls whether airplane mode can be toggled by the user or not.", +"enum": [ +"AIRPLANE_MODE_STATE_UNSPECIFIED", +"AIRPLANE_MODE_USER_CHOICE", +"AIRPLANE_MODE_DISABLED" +], +"enumDescriptions": [ +"Unspecified. Defaults to AIRPLANE_MODE_USER_CHOICE.", +"The user is allowed to toggle airplane mode on or off.", +"Airplane mode is disabled. The user is not allowed to toggle airplane mode on. A NonComplianceDetail with API_LEVEL is reported if the Android version is less than 9." +], +"type": "string" +}, +"cellularTwoGState": { +"description": "Controls whether cellular 2G setting can be toggled by the user or not.", +"enum": [ +"CELLULAR_TWO_G_STATE_UNSPECIFIED", +"CELLULAR_TWO_G_USER_CHOICE", +"CELLULAR_TWO_G_DISABLED" +], +"enumDescriptions": [ +"Unspecified. Defaults to CELLULAR_TWO_G_USER_CHOICE.", +"The user is allowed to toggle cellular 2G on or off.", +"Cellular 2G is disabled. The user is not allowed to toggle cellular 2G on via settings. A NonComplianceDetail with API_LEVEL is reported if the Android version is less than 14." +], +"type": "string" +}, +"minimumWifiSecurityLevel": { +"description": "The minimum required security level of Wi-Fi networks that the device can connect to.", +"enum": [ +"MINIMUM_WIFI_SECURITY_LEVEL_UNSPECIFIED", +"OPEN_NETWORK_SECURITY", +"PERSONAL_NETWORK_SECURITY", +"ENTERPRISE_NETWORK_SECURITY", +"ENTERPRISE_BIT192_NETWORK_SECURITY" +], +"enumDescriptions": [ +"Defaults to OPEN_NETWORK_SECURITY, which means the device will be able to connect to all types of Wi-Fi networks.", +"The device will be able to connect to all types of Wi-Fi networks.", +"A personal network such as WEP, WPA2-PSK is the minimum required security. The device will not be able to connect to open wifi networks. This is stricter than OPEN_NETWORK_SECURITY. A NonComplianceDetail with API_LEVEL is reported if the Android version is less than 13.", +"An enterprise EAP network is the minimum required security level. The device will not be able to connect to Wi-Fi network below this security level. This is stricter than PERSONAL_NETWORK_SECURITY. A NonComplianceDetail with API_LEVEL is reported if the Android version is less than 13.", +"A 192-bit enterprise network is the minimum required security level. The device will not be able to connect to Wi-Fi network below this security level. This is stricter than ENTERPRISE_NETWORK_SECURITY. A NonComplianceDetail with API_LEVEL is reported if the Android version is less than 13." +], +"type": "string" +}, +"ultraWidebandState": { +"description": "Controls the state of the ultra wideband setting and whether the user can toggle it on or off.", +"enum": [ +"ULTRA_WIDEBAND_STATE_UNSPECIFIED", +"ULTRA_WIDEBAND_USER_CHOICE", +"ULTRA_WIDEBAND_DISABLED" +], +"enumDescriptions": [ +"Unspecified. Defaults to ULTRA_WIDEBAND_USER_CHOICE.", +"The user is allowed to toggle ultra wideband on or off.", +"Ultra wideband is disabled. The user is not allowed to toggle ultra wideband on via settings. A NonComplianceDetail with API_LEVEL is reported if the Android version is less than 14." +], +"type": "string" +}, +"userInitiatedAddEsimSettings": { +"description": "Optional. Controls whether the user is allowed to add eSIM profiles.", +"enum": [ +"USER_INITIATED_ADD_ESIM_SETTINGS_UNSPECIFIED", +"USER_INITIATED_ADD_ESIM_ALLOWED", +"USER_INITIATED_ADD_ESIM_DISALLOWED" +], +"enumDescriptions": [ +"Unspecified. Defaults to USER_INITIATED_ADD_ESIM_ALLOWED.", +"The user is allowed to add eSIM profiles.", +"Supported only on company-owned devices. A NonComplianceDetail with MANAGEMENT_MODE is reported for personally-owned devices." +], +"type": "string" +}, +"wifiState": { +"description": "Controls current state of Wi-Fi and if user can change its state.", +"enum": [ +"WIFI_STATE_UNSPECIFIED", +"WIFI_STATE_USER_CHOICE", +"WIFI_ENABLED", +"WIFI_DISABLED" +], +"enumDescriptions": [ +"Unspecified. Defaults to WIFI_STATE_USER_CHOICE", +"User is allowed to enable/disable Wi-Fi.", +"Wi-Fi is on and the user is not allowed to turn it off. A NonComplianceDetail with API_LEVEL is reported if the Android version is less than 13.", +"Wi-Fi is off and the user is not allowed to turn it on. A NonComplianceDetail with API_LEVEL is reported if the Android version is less than 13." +], +"type": "string" +} +}, +"type": "object" +}, +"DeviceSettings": { +"description": "Information about security related device settings on device.", +"id": "DeviceSettings", +"properties": { +"adbEnabled": { +"description": "Whether ADB (https://developer.android.com/studio/command-line/adb.html) is enabled on the device.", +"type": "boolean" +}, +"developmentSettingsEnabled": { +"description": "Whether developer mode is enabled on the device.", +"type": "boolean" +}, +"encryptionStatus": { +"description": "Encryption status from DevicePolicyManager.", +"enum": [ +"ENCRYPTION_STATUS_UNSPECIFIED", +"UNSUPPORTED", +"INACTIVE", +"ACTIVATING", +"ACTIVE", +"ACTIVE_DEFAULT_KEY", +"ACTIVE_PER_USER" +], +"enumDescriptions": [ +"Unspecified. No device should have this type.", +"Encryption is not supported by the device.", +"Encryption is supported by the device, but is not currently active.", +"Encryption is not currently active, but is currently being activated.", +"Encryption is active.", +"Encryption is active, but an encryption key is not set by the user.", +"Encryption is active, and the encryption key is tied to the user profile." +], +"type": "string" +}, +"isDeviceSecure": { +"description": "Whether the device is secured with PIN/password.", +"type": "boolean" +}, +"isEncrypted": { +"description": "Whether the storage encryption is enabled.", +"type": "boolean" +}, +"unknownSourcesEnabled": { +"description": "Whether installing apps from unknown sources is enabled.", +"type": "boolean" +}, +"verifyAppsEnabled": { +"description": "Whether Google Play Protect verification (https://support.google.com/accounts/answer/2812853) is enforced on the device.", +"type": "boolean" +} +}, +"type": "object" +}, +"Display": { +"description": "Device display information.", +"id": "Display", +"properties": { +"density": { +"description": "Display density expressed as dots-per-inch.", +"format": "int32", +"type": "integer" +}, +"displayId": { +"description": "Unique display id.", +"format": "int32", +"type": "integer" +}, +"height": { +"description": "Display height in pixels.", +"format": "int32", +"type": "integer" +}, +"name": { +"description": "Name of the display.", +"type": "string" +}, +"refreshRate": { +"description": "Refresh rate of the display in frames per second.", +"format": "int32", +"type": "integer" +}, +"state": { +"description": "State of the display.", +"enum": [ +"DISPLAY_STATE_UNSPECIFIED", +"OFF", +"ON", +"DOZE", +"SUSPENDED" +], +"enumDescriptions": [ +"This value is disallowed.", +"Display is off.", +"Display is on.", +"Display is dozing in a low power state", +"Display is dozing in a suspended low power state." +], +"type": "string" +}, +"width": { +"description": "Display width in pixels.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"DisplaySettings": { +"description": "Controls for the display settings.", +"id": "DisplaySettings", +"properties": { +"screenBrightnessSettings": { +"$ref": "ScreenBrightnessSettings", +"description": "Optional. Controls the screen brightness settings." +}, +"screenTimeoutSettings": { +"$ref": "ScreenTimeoutSettings", +"description": "Optional. Controls the screen timeout settings." +} +}, +"type": "object" +}, +"DnsEvent": { +"description": "A DNS lookup event was initiated through the standard network stack.", +"id": "DnsEvent", +"properties": { +"hostname": { +"description": "The hostname that was looked up.", +"type": "string" +}, +"ipAddresses": { +"description": "The (possibly truncated) list of the IP addresses returned for DNS lookup (max 10 IPv4 or IPv6 addresses).", +"items": { +"type": "string" +}, +"type": "array" +}, +"packageName": { +"description": "The package name of the UID that performed the DNS lookup.", +"type": "string" +}, +"totalIpAddressesReturned": { +"description": "The number of IP addresses returned from the DNS lookup event. May be higher than the amount of ip_addresses if there were too many addresses to log.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"DpcMigrationInfo": { +"description": "Information related to whether this device was migrated from being managed by another Device Policy Controller (DPC).", +"id": "DpcMigrationInfo", +"properties": { +"additionalData": { +"description": "Output only. If this device was migrated from another DPC, the additionalData field of the migration token is populated here.", +"readOnly": true, +"type": "string" +}, +"previousDpc": { +"description": "Output only. If this device was migrated from another DPC, this is its package name. Not populated otherwise.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"Eid": { +"description": "EID information for each eUICC chip.", +"id": "Eid", +"properties": { +"eid": { +"description": "Output only. The EID", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"EidInfo": { +"description": "Information related to the EIDs of the device.", +"id": "EidInfo", +"properties": { +"eids": { +"description": "Output only. EID information for each eUICC chip.", +"items": { +"$ref": "Eid" +}, +"readOnly": true, +"type": "array" +} +}, +"type": "object" +}, +"Empty": { +"description": "A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); } ", +"id": "Empty", +"properties": {}, +"type": "object" +}, +"EnrollmentCompleteEvent": { +"description": "Represents that the device has completed enrollment. User should be in the launcher at this point, device at this point will be compliant and all setup steps have been completed. Intentionally empty.", +"id": "EnrollmentCompleteEvent", +"properties": {}, +"type": "object" +}, +"EnrollmentToken": { +"description": "An enrollment token.", +"id": "EnrollmentToken", +"properties": { +"additionalData": { +"description": "Optional, arbitrary data associated with the enrollment token. This could contain, for example, the ID of an org unit the device is assigned to after enrollment. After a device enrolls with the token, this data will be exposed in the enrollment_token_data field of the Device resource. The data must be 1024 characters or less; otherwise, the creation request will fail.", +"type": "string" +}, +"allowPersonalUsage": { +"description": "Controls whether personal usage is allowed on a device provisioned with this enrollment token.For company-owned devices: Enabling personal usage allows the user to set up a work profile on the device. Disabling personal usage requires the user provision the device as a fully managed device.For personally-owned devices: Enabling personal usage allows the user to set up a work profile on the device. Disabling personal usage will prevent the device from provisioning. Personal usage cannot be disabled on personally-owned device.", +"enum": [ +"ALLOW_PERSONAL_USAGE_UNSPECIFIED", +"PERSONAL_USAGE_ALLOWED", +"PERSONAL_USAGE_DISALLOWED", +"PERSONAL_USAGE_DISALLOWED_USERLESS" +], +"enumDescriptions": [ +"Personal usage restriction is not specified", +"Personal usage is allowed", +"Personal usage is disallowed", +"Device is not associated with a single user, and thus both personal usage and corporate identity authentication are not expected. Important: This setting is mandatory for dedicated device enrollment and it is a breaking change. This change needs to be implemented before January 2025.For additional details see the dedicated device provisioning guide (https://developers.google.com/android/management/provision-device#company-owned_devices_for_work_use_only). " +], +"type": "string" +}, +"duration": { +"description": "The length of time the enrollment token is valid, ranging from 1 minute to Durations.MAX_VALUE (https://developers.google.com/protocol-buffers/docs/reference/java/com/google/protobuf/util/Durations.html#MAX_VALUE), approximately 10,000 years. If not specified, the default duration is 1 hour. Please note that if requested duration causes the resulting expiration_timestamp to exceed Timestamps.MAX_VALUE (https://developers.google.com/protocol-buffers/docs/reference/java/com/google/protobuf/util/Timestamps.html#MAX_VALUE), then expiration_timestamp is coerced to Timestamps.MAX_VALUE.", +"format": "google-duration", +"type": "string" +}, +"expirationTimestamp": { +"description": "The expiration time of the token. This is a read-only field generated by the server.", +"format": "google-datetime", +"type": "string" +}, +"name": { +"description": "The name of the enrollment token, which is generated by the server during creation, in the form enterprises/{enterpriseId}/enrollmentTokens/{enrollmentTokenId}.", +"type": "string" +}, +"oneTimeOnly": { +"description": "Whether the enrollment token is for one time use only. If the flag is set to true, only one device can use it for registration.", +"type": "boolean" +}, +"policyName": { +"description": "The name of the policy initially applied to the enrolled device, in the form enterprises/{enterpriseId}/policies/{policyId}. If not specified, the policy_name for the device\u2019s user is applied. If user_name is also not specified, enterprises/{enterpriseId}/policies/default is applied by default. When updating this field, you can specify only the policyId as long as the policyId doesn\u2019t contain any slashes. The rest of the policy name will be inferred.", +"type": "string" +}, +"qrCode": { +"description": "A JSON string whose UTF-8 representation can be used to generate a QR code to enroll a device with this enrollment token. To enroll a device using NFC, the NFC record must contain a serialized java.util.Properties representation of the properties in the JSON.", +"type": "string" +}, +"user": { +"$ref": "User", +"deprecated": true, +"description": "This field is deprecated and the value is ignored." +}, +"value": { +"description": "The token value that's passed to the device and authorizes the device to enroll. This is a read-only field generated by the server.", +"type": "string" +} +}, +"type": "object" +}, +"Enterprise": { +"description": "The configuration applied to an enterprise.", +"id": "Enterprise", +"properties": { +"appAutoApprovalEnabled": { +"deprecated": true, +"description": "Deprecated and unused.", +"type": "boolean" +}, +"contactInfo": { +"$ref": "ContactInfo", +"description": "The enterprise contact info of an EMM-managed enterprise." +}, +"enabledNotificationTypes": { +"description": "The types of Google Pub/Sub notifications enabled for the enterprise.", +"items": { +"enum": [ +"NOTIFICATION_TYPE_UNSPECIFIED", +"ENROLLMENT", +"COMPLIANCE_REPORT", +"STATUS_REPORT", +"COMMAND", +"USAGE_LOGS", +"ENTERPRISE_UPGRADE" +], +"enumDeprecated": [ +false, +false, +true, +false, +false, +false, +false +], +"enumDescriptions": [ +"This value is ignored.", +"A notification sent when a device enrolls.", +"Deprecated.", +"A notification sent when a device issues a status report.", +"A notification sent when a device command has completed.", +"A notification sent when device sends BatchUsageLogEvents.", +"A notification sent for an enterprise upgrade. An enterprise upgrade is a process that upgrades a managed Google Play Accounts enterprise to a managed Google domain." +], +"type": "string" +}, +"type": "array" +}, +"enterpriseDisplayName": { +"description": "The name of the enterprise displayed to users. This field has a maximum length of 100 characters.", +"type": "string" +}, +"enterpriseType": { +"description": "Output only. The type of the enterprise.", +"enum": [ +"ENTERPRISE_TYPE_UNSPECIFIED", +"MANAGED_GOOGLE_DOMAIN", +"MANAGED_GOOGLE_PLAY_ACCOUNTS_ENTERPRISE" +], +"enumDescriptions": [ +"This value is not used.", +"The enterprise belongs to a managed Google domain (https://developers.google.com/android/work/terminology#managed_google_domain).", +"The enterprise is a managed Google Play Accounts enterprise (https://developers.google.com/android/work/terminology#managed_google_play_accounts_enterprise)." +], +"readOnly": true, +"type": "string" +}, +"googleAuthenticationSettings": { +"$ref": "GoogleAuthenticationSettings", +"description": "Settings for Google-provided user authentication." +}, +"logo": { +"$ref": "ExternalData", +"description": "An image displayed as a logo during device provisioning. Supported types are: image/bmp, image/gif, image/x-ico, image/jpeg, image/png, image/webp, image/vnd.wap.wbmp, image/x-adobe-dng." +}, +"managedGoogleDomainType": { +"description": "Output only. The type of managed Google domain.", +"enum": [ +"MANAGED_GOOGLE_DOMAIN_TYPE_UNSPECIFIED", +"TYPE_TEAM", +"TYPE_DOMAIN" +], +"enumDescriptions": [ +"The managed Google domain type is not specified.", +"The managed Google domain is an email-verified team.", +"The managed Google domain is domain-verified." +], +"readOnly": true, +"type": "string" +}, +"managedGooglePlayAccountsEnterpriseType": { +"description": "Output only. The type of a managed Google Play Accounts enterprise.", +"enum": [ +"MANAGED_GOOGLE_PLAY_ACCOUNTS_ENTERPRISE_TYPE_UNSPECIFIED", +"CUSTOMER_MANAGED", +"EMM_MANAGED" +], +"enumDescriptions": [ +"The managed Google Play Accounts enterprise type is not specified.", +"The enterprise is customer-managed", +"The enterprise is EMM-managed (deprecated)." +], +"readOnly": true, +"type": "string" +}, +"name": { +"description": "The name of the enterprise which is generated by the server during creation, in the form enterprises/{enterpriseId}.", +"type": "string" +}, +"primaryColor": { +"description": "A color in RGB format that indicates the predominant color to display in the device management app UI. The color components are stored as follows: (red << 16) | (green << 8) | blue, where the value of each component is between 0 and 255, inclusive.", +"format": "int32", +"type": "integer" +}, +"pubsubTopic": { +"description": "The topic which Pub/Sub notifications are published to, in the form projects/{project}/topics/{topic}. This field is only required if Pub/Sub notifications are enabled.", +"type": "string" +}, +"signinDetails": { +"description": "Sign-in details of the enterprise.", +"items": { +"$ref": "SigninDetail" +}, +"type": "array" +}, +"termsAndConditions": { +"description": "Terms and conditions that must be accepted when provisioning a device for this enterprise. A page of terms is generated for each value in this list.", +"items": { +"$ref": "TermsAndConditions" +}, +"type": "array" +} +}, +"type": "object" +}, +"EnterpriseUpgradeEvent": { +"description": "An event sent for an enterprise upgrade. An enterprise upgrade is a process that upgrades a managed Google Play Accounts enterprise to a managed Google domain.", +"id": "EnterpriseUpgradeEvent", +"properties": { +"enterprise": { +"description": "The name of upgraded enterprise in the format \"enterprises/{enterprise}\"", +"type": "string" +}, +"upgradeState": { +"description": "Output only. The upgrade state of the enterprise.", +"enum": [ +"UPGRADE_STATE_UNSPECIFIED", +"UPGRADE_STATE_SUCCEEDED" +], +"enumDescriptions": [ +"Unspecified. This value is not used.", +"The upgrade has succeeded." +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"EsimCommandStatus": { +"description": "Status and error details (if present) of an ADD_ESIM or REMOVE_ESIM command.", +"id": "EsimCommandStatus", +"properties": { +"esimInfo": { +"$ref": "EsimInfo", +"description": "Output only. Information about the eSIM added or removed. This is populated only when the eSIM operation status is SUCCESS.", +"readOnly": true +}, +"internalErrorDetails": { +"$ref": "InternalErrorDetails", +"description": "Output only. Details of the error if the status is set to INTERNAL_ERROR.", +"readOnly": true +}, +"status": { +"description": "Output only. Status of an ADD_ESIM or REMOVE_ESIM command.", +"enum": [ +"STATUS_UNSPECIFIED", +"SUCCESS", +"IN_PROGRESS", +"PENDING_USER_ACTION", +"ERROR_SETUP_IN_PROGRESS", +"ERROR_USER_DENIED", +"INTERNAL_ERROR", +"ERROR_ICC_ID_NOT_FOUND", +"ERROR_MULTIPLE_ACTIVE_ESIMS_NO_AVAILABLE_SLOT" +], +"enumDescriptions": [ +"Unspecified. This value is not used.", +"The eSIM operation was successfully performed on the device.", +"The eSIM operation is in progress.", +"The user needs to take an action for the eSIM operation to proceed.", +"The eSIM operation cannot be executed when setup is in progress.", +"The user has denied the eSIM operation.", +"An error has occurred while trying to add or remove the eSIM on the device, see internal_error_details.", +"For a REMOVE_ESIM command, the iccId of the eSIM to be removed was not found on the device. This could either mean the eSIM does not belong to the enterprise or the eSIM corresponding to the iccId is not present on the device.", +"The ADD_ESIM command failed when attempting to add a new eSIM with its activation state set to ACTIVATED since multiple eSIM slots on the device contain active eSIM profiles and there is no free eSIM slot available. To resolve this, the new eSIM can be added with its activation state as NOT_ACTIVATED for later manual activation, or the user must first deactivate an existing active eSIM for the operation to proceed." +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"EsimInfo": { +"description": "Details of the eSIM added or removed.", +"id": "EsimInfo", +"properties": { +"iccId": { +"description": "Output only. ICC ID of the eSIM.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"EuiccChipInfo": { +"description": "Information related to the eUICC chip.", +"id": "EuiccChipInfo", +"properties": { +"eid": { +"description": "Output only. The Embedded Identity Document (EID) that identifies the eUICC chip for each eUICC chip on the device. This is available on company owned devices running Android 13 and above.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"ExtensionConfig": { +"description": "Configuration to enable an app as an extension app, with the capability of interacting with Android Device Policy offline. For Android versions 11 and above, extension apps are exempt from battery restrictions so will not be placed into the restricted App Standby Bucket (https://developer.android.com/topic/performance/appstandby#restricted-bucket). Extensions apps are also protected against users clearing their data or force-closing the application, although admins can continue to use the clear app data command on extension apps if needed for Android 11 and above.", +"id": "ExtensionConfig", +"properties": { +"notificationReceiver": { +"deprecated": true, +"description": "Fully qualified class name of the receiver service class for Android Device Policy to notify the extension app of any local command status updates. The service must be exported in the extension app's AndroidManifest.xml and extend NotificationReceiverService (https://developers.google.com/android/management/reference/amapi/com/google/android/managementapi/notification/NotificationReceiverService) (see Integrate with the AMAPI SDK (https://developers.google.com/android/management/sdk-integration) guide for more details).", +"type": "string" +}, +"signingKeyFingerprintsSha256": { +"deprecated": true, +"description": "Hex-encoded SHA-256 hashes of the signing key certificates of the extension app. Only hexadecimal string representations of 64 characters are valid.The signing key certificate fingerprints are always obtained from the Play Store and this field is used to provide additional signing key certificate fingerprints. However, if the application is not available on the Play Store, this field needs to be set. A NonComplianceDetail with INVALID_VALUE is reported if this field is not set when the application is not available on the Play Store.The signing key certificate fingerprint of the extension app on the device must match one of the signing key certificate fingerprints obtained from the Play Store or the ones provided in this field for the app to be able to communicate with Android Device Policy.In production use cases, it is recommended to leave this empty.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ExternalData": { +"description": "Data hosted at an external location. The data is to be downloaded by Android Device Policy and verified against the hash.", +"id": "ExternalData", +"properties": { +"sha256Hash": { +"description": "The base-64 encoded SHA-256 hash of the content hosted at url. If the content doesn't match this hash, Android Device Policy won't use the data.", +"type": "string" +}, +"url": { +"description": "The absolute URL to the data, which must use either the http or https scheme. Android Device Policy doesn't provide any credentials in the GET request, so the URL must be publicly accessible. Including a long, random component in the URL may be used to prevent attackers from discovering the URL.", +"type": "string" +} +}, +"type": "object" +}, +"FilePulledEvent": { +"description": "A file was downloaded from the device.", +"id": "FilePulledEvent", +"properties": { +"filePath": { +"description": "The path of the file being pulled.", +"type": "string" +} +}, +"type": "object" +}, +"FilePushedEvent": { +"description": "A file was uploaded onto the device.", +"id": "FilePushedEvent", +"properties": { +"filePath": { +"description": "The path of the file being pushed.", +"type": "string" +} +}, +"type": "object" +}, +"FreezePeriod": { +"description": "A system freeze period. When a device\u2019s clock is within the freeze period, all incoming system updates (including security patches) are blocked and won\u2019t be installed.When the device is outside any set freeze periods, the normal policy behavior (automatic, windowed, or postponed) applies.Leap years are ignored in freeze period calculations, in particular: If Feb. 29th is set as the start or end date of a freeze period, the freeze period will start or end on Feb. 28th instead. When a device\u2019s system clock reads Feb. 29th, it\u2019s treated as Feb. 28th. When calculating the number of days in a freeze period or the time between two freeze periods, Feb. 29th is ignored and not counted as a day.Note: For Freeze Periods to take effect, SystemUpdateType cannot be specified as SYSTEM_UPDATE_TYPE_UNSPECIFIED, because freeze periods require a defined policy to be specified.", +"id": "FreezePeriod", +"properties": { +"endDate": { +"$ref": "Date", +"description": "The end date (inclusive) of the freeze period. Must be no later than 90 days from the start date. If the end date is earlier than the start date, the freeze period is considered wrapping year-end. Note: day and month must be set. year should not be set as it is not used. For example, {\"month\": 1,\"date\": 30}." +}, +"startDate": { +"$ref": "Date", +"description": "The start date (inclusive) of the freeze period. Note: day and month must be set. year should not be set as it is not used. For example, {\"month\": 1,\"date\": 30}." +} +}, +"type": "object" +}, +"GenerateEnterpriseUpgradeUrlRequest": { +"description": "Request message for generating a URL to upgrade an existing managed Google Play Accounts enterprise to a managed Google domain.Note: This feature is not generally available.", +"id": "GenerateEnterpriseUpgradeUrlRequest", +"properties": { +"adminEmail": { +"description": "Optional. Email address used to prefill the admin field of the enterprise signup form as part of the upgrade process. This value is a hint only and can be altered by the user. Personal email addresses are not allowed. If allowedDomains is non-empty then this must belong to one of the allowedDomains.", +"type": "string" +}, +"allowedDomains": { +"description": "Optional. A list of domains that are permitted for the admin email. The IT admin cannot enter an email address with a domain name that is not in this list. Subdomains of domains in this list are not allowed but can be allowed by adding a second entry which has *. prefixed to the domain name (e.g. *.example.com). If the field is not present or is an empty list then the IT admin is free to use any valid domain name. Personal email domains are not allowed.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GenerateEnterpriseUpgradeUrlResponse": { +"description": "Response message for generating a URL to upgrade an existing managed Google Play Accounts enterprise to a managed Google domain.Note: This feature is not generally available.", +"id": "GenerateEnterpriseUpgradeUrlResponse", +"properties": { +"url": { +"description": "A URL for an enterprise admin to upgrade their enterprise. The page can't be rendered in an iframe.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleAuthenticationSettings": { +"description": "Contains settings for Google-provided user authentication.", +"id": "GoogleAuthenticationSettings", +"properties": { +"googleAuthenticationRequired": { +"description": "Output only. Whether users need to be authenticated by Google during the enrollment process. IT admin can specify if Google authentication is enabled for the enterprise for knowledge worker devices. This value can be set only via the Google Admin Console. Google authentication can be used with signin_url In the case where Google authentication is required and a signin_url is specified, Google authentication will be launched before signin_url. This value is overridden by EnrollmentToken.googleAuthenticationOptions and SigninDetail.googleAuthenticationOptions, if they are set.", +"enum": [ +"GOOGLE_AUTHENTICATION_REQUIRED_UNSPECIFIED", +"NOT_REQUIRED", +"REQUIRED" +], +"enumDescriptions": [ +"This value is not used.", +"Google authentication is not required.", +"User is required to be successfully authenticated by Google." +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"HardwareInfo": { +"description": "Information about device hardware. The fields related to temperature thresholds are only available if hardwareStatusEnabled is true in the device's policy.", +"id": "HardwareInfo", +"properties": { +"batteryShutdownTemperatures": { +"description": "Battery shutdown temperature thresholds in Celsius for each battery on the device.", +"items": { +"format": "float", +"type": "number" +}, +"type": "array" +}, +"batteryThrottlingTemperatures": { +"description": "Battery throttling temperature thresholds in Celsius for each battery on the device.", +"items": { +"format": "float", +"type": "number" +}, +"type": "array" +}, +"brand": { +"description": "Brand of the device. For example, Google.", +"type": "string" +}, +"cpuShutdownTemperatures": { +"description": "CPU shutdown temperature thresholds in Celsius for each CPU on the device.", +"items": { +"format": "float", +"type": "number" +}, +"type": "array" +}, +"cpuThrottlingTemperatures": { +"description": "CPU throttling temperature thresholds in Celsius for each CPU on the device.", +"items": { +"format": "float", +"type": "number" +}, +"type": "array" +}, +"deviceBasebandVersion": { +"description": "Baseband version. For example, MDM9625_104662.22.05.34p.", +"type": "string" +}, +"enterpriseSpecificId": { +"description": "Output only. ID that uniquely identifies a personally-owned device in a particular organization. On the same physical device when enrolled with the same organization, this ID persists across setups and even factory resets. This ID is available on personally-owned devices with a work profile on devices running Android 12 and above.", +"readOnly": true, +"type": "string" +}, +"euiccChipInfo": { +"description": "Output only. Information related to the eUICC chip.", +"items": { +"$ref": "EuiccChipInfo" +}, +"readOnly": true, +"type": "array" +}, +"gpuShutdownTemperatures": { +"description": "GPU shutdown temperature thresholds in Celsius for each GPU on the device.", +"items": { +"format": "float", +"type": "number" +}, +"type": "array" +}, +"gpuThrottlingTemperatures": { +"description": "GPU throttling temperature thresholds in Celsius for each GPU on the device.", +"items": { +"format": "float", +"type": "number" +}, +"type": "array" +}, +"hardware": { +"description": "Name of the hardware. For example, Angler.", +"type": "string" +}, +"manufacturer": { +"description": "Manufacturer. For example, Motorola.", +"type": "string" +}, +"model": { +"description": "The model of the device. For example, Asus Nexus 7.", +"type": "string" +}, +"serialNumber": { +"description": "The device serial number. However, for personally-owned devices running Android 12 and above, this is the same as the enterpriseSpecificId.", +"type": "string" +}, +"skinShutdownTemperatures": { +"description": "Device skin shutdown temperature thresholds in Celsius.", +"items": { +"format": "float", +"type": "number" +}, +"type": "array" +}, +"skinThrottlingTemperatures": { +"description": "Device skin throttling temperature thresholds in Celsius.", +"items": { +"format": "float", +"type": "number" +}, +"type": "array" +} +}, +"type": "object" +}, +"HardwareStatus": { +"description": "Hardware status. Temperatures may be compared to the temperature thresholds available in hardwareInfo to determine hardware health.", +"id": "HardwareStatus", +"properties": { +"batteryTemperatures": { +"description": "Current battery temperatures in Celsius for each battery on the device.", +"items": { +"format": "float", +"type": "number" +}, +"type": "array" +}, +"cpuTemperatures": { +"description": "Current CPU temperatures in Celsius for each CPU on the device.", +"items": { +"format": "float", +"type": "number" +}, +"type": "array" +}, +"cpuUsages": { +"description": "CPU usages in percentage for each core available on the device. Usage is 0 for each unplugged core. Empty array implies that CPU usage is not supported in the system.", +"items": { +"format": "float", +"type": "number" +}, +"type": "array" +}, +"createTime": { +"description": "The time the measurements were taken.", +"format": "google-datetime", +"type": "string" +}, +"fanSpeeds": { +"description": "Fan speeds in RPM for each fan on the device. Empty array means that there are no fans or fan speed is not supported on the system.", +"items": { +"format": "float", +"type": "number" +}, +"type": "array" +}, +"gpuTemperatures": { +"description": "Current GPU temperatures in Celsius for each GPU on the device.", +"items": { +"format": "float", +"type": "number" +}, +"type": "array" +}, +"skinTemperatures": { +"description": "Current device skin temperatures in Celsius.", +"items": { +"format": "float", +"type": "number" +}, +"type": "array" +} +}, +"type": "object" +}, +"InstallConstraint": { +"description": "Amongst apps with InstallType set to: FORCE_INSTALLED PREINSTALLEDthis defines a set of restrictions for the app installation. At least one of the fields must be set. When multiple fields are set, then all the constraints need to be satisfied for the app to be installed.", +"id": "InstallConstraint", +"properties": { +"chargingConstraint": { +"description": "Optional. Charging constraint.", +"enum": [ +"CHARGING_CONSTRAINT_UNSPECIFIED", +"CHARGING_NOT_REQUIRED", +"INSTALL_ONLY_WHEN_CHARGING" +], +"enumDescriptions": [ +"Unspecified. Default to CHARGING_NOT_REQUIRED.", +"Device doesn't have to be charging.", +"Device has to be charging." +], +"type": "string" +}, +"deviceIdleConstraint": { +"description": "Optional. Device idle constraint.", +"enum": [ +"DEVICE_IDLE_CONSTRAINT_UNSPECIFIED", +"DEVICE_IDLE_NOT_REQUIRED", +"INSTALL_ONLY_WHEN_DEVICE_IDLE" +], +"enumDescriptions": [ +"Unspecified. Default to DEVICE_IDLE_NOT_REQUIRED.", +"Device doesn't have to be idle, app can be installed while the user is interacting with the device.", +"Device has to be idle." +], +"type": "string" +}, +"networkTypeConstraint": { +"description": "Optional. Network type constraint.", +"enum": [ +"NETWORK_TYPE_CONSTRAINT_UNSPECIFIED", +"INSTALL_ON_ANY_NETWORK", +"INSTALL_ONLY_ON_UNMETERED_NETWORK" +], +"enumDescriptions": [ +"Unspecified. Default to INSTALL_ON_ANY_NETWORK.", +"Any active networks (Wi-Fi, cellular, etc.).", +"Any unmetered network (e.g. Wi-FI)." +], +"type": "string" +} +}, +"type": "object" +}, +"InternalErrorDetails": { +"description": "Internal error details if present for the ADD_ESIM or REMOVE_ESIM command.", +"id": "InternalErrorDetails", +"properties": { +"errorCode": { +"description": "Output only. Integer representation of the error code as specified here (https://developer.android.com/reference/android/telephony/euicc/EuiccManager#EXTRA_EMBEDDED_SUBSCRIPTION_DETAILED_CODE). See also, OPERATION_SMDX_SUBJECT_REASON_CODE. See error_code_detail for more details.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"errorCodeDetail": { +"description": "Output only. The error code detail corresponding to the error_code.", +"enum": [ +"ERROR_CODE_DETAIL_UNSPECIFIED", +"ERROR_TIME_OUT", +"ERROR_EUICC_MISSING", +"ERROR_UNSUPPORTED_VERSION", +"ERROR_ADDRESS_MISSING", +"ERROR_INVALID_CONFIRMATION_CODE", +"ERROR_CERTIFICATE_ERROR", +"ERROR_NO_PROFILES_AVAILABLE", +"ERROR_CONNECTION_ERROR", +"ERROR_INVALID_RESPONSE", +"ERROR_CARRIER_LOCKED", +"ERROR_DISALLOWED_BY_PPR", +"ERROR_INVALID_ACTIVATION_CODE", +"ERROR_INCOMPATIBLE_CARRIER", +"ERROR_OPERATION_BUSY", +"ERROR_INSTALL_PROFILE", +"ERROR_EUICC_INSUFFICIENT_MEMORY", +"ERROR_INVALID_PORT", +"ERROR_SIM_MISSING" +], +"enumDescriptions": [ +"Error code detail is unspecified. The error_code is not recognized by Android Management API. However, see error_code", +"See EuiccManager.ERROR_TIME_OUT (https://developer.android.com/reference/android/telephony/euicc/EuiccManager#ERROR_TIME_OUT) for details.", +"See EuiccManager.ERROR_EUICC_MISSING (https://developer.android.com/reference/android/telephony/euicc/EuiccManager#ERROR_EUICC_MISSING) for details.", +"See EuiccManager.ERROR_UNSUPPORTED_VERSION (https://developer.android.com/reference/android/telephony/euicc/EuiccManager#ERROR_UNSUPPORTED_VERSION) for details.", +"See EuiccManager.ERROR_ADDRESS_MISSING (https://developer.android.com/reference/android/telephony/euicc/EuiccManager#ERROR_ADDRESS_MISSING) for details.", +"See EuiccManager.ERROR_INVALID_CONFIRMATION_CODE (https://developer.android.com/reference/android/telephony/euicc/EuiccManager#ERROR_INVALID_CONFIRMATION_CODE) for details.", +"See EuiccManager.ERROR_CERTIFICATE_ERROR (https://developer.android.com/reference/android/telephony/euicc/EuiccManager#ERROR_CERTIFICATE_ERROR) for details.", +"See EuiccManager.ERROR_NO_PROFILES_AVAILABLE (https://developer.android.com/reference/android/telephony/euicc/EuiccManager#ERROR_NO_PROFILES_AVAILABLE) for details.", +"See EuiccManager.ERROR_CONNECTION_ERROR (https://developer.android.com/reference/android/telephony/euicc/EuiccManager#ERROR_CONNECTION_ERROR) for details.", +"See EuiccManager.ERROR_INVALID_RESPONSE (https://developer.android.com/reference/android/telephony/euicc/EuiccManager#ERROR_INVALID_RESPONSE) for details.", +"See EuiccManager.ERROR_CARRIER_LOCKED (https://developer.android.com/reference/android/telephony/euicc/EuiccManager#ERROR_CARRIER_LOCKED) for details.", +"See EuiccManager.ERROR_DISALLOWED_BY_PPR (https://developer.android.com/reference/android/telephony/euicc/EuiccManager#ERROR_DISALLOWED_BY_PPR) for details.", +"See EuiccManager.ERROR_INVALID_ACTIVATION_CODE (https://developer.android.com/reference/android/telephony/euicc/EuiccManager#ERROR_INVALID_ACTIVATION_CODE) for details.", +"See EuiccManager.ERROR_INCOMPATIBLE_CARRIER (https://developer.android.com/reference/android/telephony/euicc/EuiccManager#ERROR_INCOMPATIBLE_CARRIER) for details.", +"See EuiccManager.ERROR_OPERATION_BUSY (https://developer.android.com/reference/android/telephony/euicc/EuiccManager#ERROR_OPERATION_BUSY) for details.", +"See EuiccManager.ERROR_INSTALL_PROFILE (https://developer.android.com/reference/android/telephony/euicc/EuiccManager#ERROR_INSTALL_PROFILE) for details.", +"See EuiccManager.ERROR_EUICC_INSUFFICIENT_MEMORY (https://developer.android.com/reference/android/telephony/euicc/EuiccManager#ERROR_EUICC_INSUFFICIENT_MEMORY) for details.", +"See EuiccManager.ERROR_INVALID_PORT (https://developer.android.com/reference/android/telephony/euicc/EuiccManager#ERROR_INVALID_PORT) for details.", +"See EuiccManager.ERROR_SIM_MISSING (https://developer.android.com/reference/android/telephony/euicc/EuiccManager#ERROR_SIM_MISSING) for details." +], +"readOnly": true, +"type": "string" +}, +"operationCode": { +"description": "Output only. Integer representation of the operation code as specified here (https://developer.android.com/reference/android/telephony/euicc/EuiccManager#EXTRA_EMBEDDED_SUBSCRIPTION_DETAILED_CODE). See operation_code_detail for more details.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"operationCodeDetail": { +"description": "Output only. The operation code detail corresponding to the operation_code.", +"enum": [ +"OPERATION_CODE_DETAIL_UNSPECIFIED", +"OPERATION_SYSTEM", +"OPERATION_SIM_SLOT", +"OPERATION_EUICC_CARD", +"OPERATION_SMDX", +"OPERATION_SWITCH", +"OPERATION_DOWNLOAD", +"OPERATION_METADATA", +"OPERATION_EUICC_GSMA", +"OPERATION_APDU", +"OPERATION_SMDX_SUBJECT_REASON_CODE", +"OPERATION_HTTP" +], +"enumDescriptions": [ +"Operation code detail is unspecified. The operation_code is not recognized by Android Management API. However, see operation_code.", +"See EuiccManager.OPERATION_SYSTEM (https://developer.android.com/reference/android/telephony/euicc/EuiccManager#OPERATION_SYSTEM) for details.", +"See EuiccManager.OPERATION_SIM_SLOT (https://developer.android.com/reference/android/telephony/euicc/EuiccManager#OPERATION_SIM_SLOT) for details.", +"See EuiccManager.OPERATION_EUICC_CARD (https://developer.android.com/reference/android/telephony/euicc/EuiccManager#OPERATION_EUICC_CARD) for details.", +"See EuiccManager.OPERATION_SMDX (https://developer.android.com/reference/android/telephony/euicc/EuiccManager#OPERATION_SMDX) for details.", +"See EuiccManager.OPERATION_SWITCH (https://developer.android.com/reference/android/telephony/euicc/EuiccManager#OPERATION_SWITCH) for details.", +"See EuiccManager.OPERATION_DOWNLOAD (https://developer.android.com/reference/android/telephony/euicc/EuiccManager#OPERATION_DOWNLOAD) for details.", +"See EuiccManager.OPERATION_METADATA (https://developer.android.com/reference/android/telephony/euicc/EuiccManager#OPERATION_METADATA) for details.", +"See EuiccManager.OPERATION_EUICC_GSMA (https://developer.android.com/reference/android/telephony/euicc/EuiccManager#OPERATION_EUICC_GSMA) for details.", +"See EuiccManager.OPERATION_APDU (https://developer.android.com/reference/android/telephony/euicc/EuiccManager#OPERATION_APDU) for details.", +"See EuiccManager.OPERATION_SMDX_SUBJECT_REASON_CODE (https://developer.android.com/reference/android/telephony/euicc/EuiccManager#OPERATION_SMDX_SUBJECT_REASON_CODE) for details. Note that, in this case, error_code is the least significant 3 bytes of the EXTRA_EMBEDDED_SUBSCRIPTION_DETAILED_CODE (https://developer.android.com/reference/android/telephony/euicc/EuiccManager#EXTRA_EMBEDDED_SUBSCRIPTION_DETAILED_CODE) specifying the subject code and the reason code as indicated here (https://developer.android.com/reference/android/telephony/euicc/EuiccManager#OPERATION_SMDX_SUBJECT_REASON_CODE). The most significant byte of the integer is zeroed out. For example, a Subject Code of 8.11.1 and a Reason Code of 5.1 is represented in error_code as 0000 0000 1000 1011 0001 0000 0101 0001 in binary, which is 9113681 in decimal.", +"See EuiccManager.OPERATION_HTTP (https://developer.android.com/reference/android/telephony/euicc/EuiccManager#OPERATION_HTTP) for details." +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"IssueCommandResponse": { +"description": "Response on issuing a command. This is currently empty as a placeholder.", +"id": "IssueCommandResponse", +"properties": {}, +"type": "object" +}, +"KeyDestructionEvent": { +"description": "A cryptographic key including user installed, admin installed and system maintained private key is removed from the device either by the user or management. This is available device-wide on fully managed devices and within the work profile on organization-owned devices with a work profile.", +"id": "KeyDestructionEvent", +"properties": { +"applicationUid": { +"description": "UID of the application which owns the key.", +"format": "int32", +"type": "integer" +}, +"keyAlias": { +"description": "Alias of the key.", +"type": "string" +}, +"success": { +"description": "Whether the operation was successful.", +"type": "boolean" +} +}, +"type": "object" +}, +"KeyGeneratedEvent": { +"description": "A cryptographic key including user installed, admin installed and system maintained private key is installed on the device either by the user or management.This is available device-wide on fully managed devices and within the work profile on organization-owned devices with a work profile.", +"id": "KeyGeneratedEvent", +"properties": { +"applicationUid": { +"description": "UID of the application which generated the key.", +"format": "int32", +"type": "integer" +}, +"keyAlias": { +"description": "Alias of the key.", +"type": "string" +}, +"success": { +"description": "Whether the operation was successful.", +"type": "boolean" +} +}, +"type": "object" +}, +"KeyImportEvent": { +"description": "A cryptographic key including user installed, admin installed and system maintained private key is imported on the device either by the user or management. This is available device-wide on fully managed devices and within the work profile on organization-owned devices with a work profile.", +"id": "KeyImportEvent", +"properties": { +"applicationUid": { +"description": "UID of the application which imported the key", +"format": "int32", +"type": "integer" +}, +"keyAlias": { +"description": "Alias of the key.", +"type": "string" +}, +"success": { +"description": "Whether the operation was successful.", +"type": "boolean" +} +}, +"type": "object" +}, +"KeyIntegrityViolationEvent": { +"description": "A cryptographic key including user installed, admin installed and system maintained private key is determined to be corrupted due to storage corruption, hardware failure or some OS issue. This is available device-wide on fully managed devices and within the work profile on organization-owned devices with a work profile.", +"id": "KeyIntegrityViolationEvent", +"properties": { +"applicationUid": { +"description": "UID of the application which owns the key", +"format": "int32", +"type": "integer" +}, +"keyAlias": { +"description": "Alias of the key.", +"type": "string" +} +}, +"type": "object" +}, +"KeyedAppState": { +"description": "Keyed app state reported by the app.", +"id": "KeyedAppState", +"properties": { +"createTime": { +"description": "The creation time of the app state on the device.", +"format": "google-datetime", +"type": "string" +}, +"data": { +"description": "Optionally, a machine-readable value to be read by the EMM. For example, setting values that the admin can choose to query against in the EMM console (e.g. \u201cnotify me if the battery_warning data < 10\u201d).", +"type": "string" +}, +"key": { +"description": "The key for the app state. Acts as a point of reference for what the app is providing state for. For example, when providing managed configuration feedback, this key could be the managed configuration key.", +"type": "string" +}, +"lastUpdateTime": { +"description": "The time the app state was most recently updated.", +"format": "google-datetime", +"type": "string" +}, +"message": { +"description": "Optionally, a free-form message string to explain the app state. If the state was triggered by a particular value (e.g. a managed configuration value), it should be included in the message.", +"type": "string" +}, +"severity": { +"description": "The severity of the app state.", +"enum": [ +"SEVERITY_UNSPECIFIED", +"INFO", +"ERROR" +], +"enumDescriptions": [ +"Unspecified severity level.", +"Information severity level.", +"Error severity level. This should only be set for genuine error conditions that a management organization needs to take action to fix." +], +"type": "string" +} +}, +"type": "object" +}, +"KeyguardDismissAuthAttemptEvent": { +"description": "An attempt was made to unlock the device.", +"id": "KeyguardDismissAuthAttemptEvent", +"properties": { +"strongAuthMethodUsed": { +"description": "Whether a strong form of authentication (password, PIN, or pattern) was used to unlock device.", +"type": "boolean" +}, +"success": { +"description": "Whether the unlock attempt was successful.", +"type": "boolean" +} +}, +"type": "object" +}, +"KeyguardDismissedEvent": { +"description": "The keyguard was dismissed. Intentionally empty.", +"id": "KeyguardDismissedEvent", +"properties": {}, +"type": "object" +}, +"KeyguardSecuredEvent": { +"description": "The device was locked either by user or timeout. Intentionally empty.", +"id": "KeyguardSecuredEvent", +"properties": {}, +"type": "object" +}, +"KioskCustomization": { +"description": "Settings controlling the behavior of a device in kiosk mode. To enable kiosk mode, set kioskCustomLauncherEnabled to true or specify an app in the policy with installType KIOSK.", +"id": "KioskCustomization", +"properties": { +"deviceSettings": { +"description": "Specifies whether the Settings app is allowed in kiosk mode.", +"enum": [ +"DEVICE_SETTINGS_UNSPECIFIED", +"SETTINGS_ACCESS_ALLOWED", +"SETTINGS_ACCESS_BLOCKED" +], +"enumDescriptions": [ +"Unspecified, defaults to SETTINGS_ACCESS_ALLOWED.", +"Access to the Settings app is allowed in kiosk mode.", +"Access to the Settings app is not allowed in kiosk mode." +], +"type": "string" +}, +"powerButtonActions": { +"description": "Sets the behavior of a device in kiosk mode when a user presses and holds (long-presses) the Power button.", +"enum": [ +"POWER_BUTTON_ACTIONS_UNSPECIFIED", +"POWER_BUTTON_AVAILABLE", +"POWER_BUTTON_BLOCKED" +], +"enumDescriptions": [ +"Unspecified, defaults to POWER_BUTTON_AVAILABLE.", +"The power menu (e.g. Power off, Restart) is shown when a user long-presses the Power button of a device in kiosk mode.", +"The power menu (e.g. Power off, Restart) is not shown when a user long-presses the Power button of a device in kiosk mode. Note: this may prevent users from turning off the device." +], +"type": "string" +}, +"statusBar": { +"description": "Specifies whether system info and notifications are disabled in kiosk mode.", +"enum": [ +"STATUS_BAR_UNSPECIFIED", +"NOTIFICATIONS_AND_SYSTEM_INFO_ENABLED", +"NOTIFICATIONS_AND_SYSTEM_INFO_DISABLED", +"SYSTEM_INFO_ONLY" +], +"enumDescriptions": [ +"Unspecified, defaults to INFO_AND_NOTIFICATIONS_DISABLED.", +"System info and notifications are shown on the status bar in kiosk mode.Note: For this policy to take effect, the device's home button must be enabled using kioskCustomization.systemNavigation.", +"System info and notifications are disabled in kiosk mode.", +"Only system info is shown on the status bar." +], +"type": "string" +}, +"systemErrorWarnings": { +"description": "Specifies whether system error dialogs for crashed or unresponsive apps are blocked in kiosk mode. When blocked, the system will force-stop the app as if the user chooses the \"close app\" option on the UI.", +"enum": [ +"SYSTEM_ERROR_WARNINGS_UNSPECIFIED", +"ERROR_AND_WARNINGS_ENABLED", +"ERROR_AND_WARNINGS_MUTED" +], +"enumDescriptions": [ +"Unspecified, defaults to ERROR_AND_WARNINGS_MUTED.", +"All system error dialogs such as crash and app not responding (ANR) are displayed.", +"All system error dialogs, such as crash and app not responding (ANR) are blocked. When blocked, the system force-stops the app as if the user closes the app from the UI." +], +"type": "string" +}, +"systemNavigation": { +"description": "Specifies which navigation features are enabled (e.g. Home, Overview buttons) in kiosk mode.", +"enum": [ +"SYSTEM_NAVIGATION_UNSPECIFIED", +"NAVIGATION_ENABLED", +"NAVIGATION_DISABLED", +"HOME_BUTTON_ONLY" +], +"enumDescriptions": [ +"Unspecified, defaults to NAVIGATION_DISABLED.", +"Home and overview buttons are enabled.", +"The home and Overview buttons are not accessible.", +"Only the home button is enabled." +], +"type": "string" +} +}, +"type": "object" +}, +"LaunchAppAction": { +"description": "An action to launch an app.", +"id": "LaunchAppAction", +"properties": { +"packageName": { +"description": "Package name of app to be launched", +"type": "string" +} +}, +"type": "object" +}, +"ListDevicesResponse": { +"description": "Response to a request to list devices for a given enterprise.", +"id": "ListDevicesResponse", +"properties": { +"devices": { +"description": "The list of devices.", +"items": { +"$ref": "Device" +}, +"type": "array" +}, +"nextPageToken": { +"description": "If there are more results, a token to retrieve next page of results.", +"type": "string" +} +}, +"type": "object" +}, +"ListEnrollmentTokensResponse": { +"description": "Response to a request to list enrollment tokens for a given enterprise.", +"id": "ListEnrollmentTokensResponse", +"properties": { +"enrollmentTokens": { +"description": "The list of enrollment tokens.", +"items": { +"$ref": "EnrollmentToken" +}, +"type": "array" +}, +"nextPageToken": { +"description": "If there are more results, a token to retrieve next page of results.", +"type": "string" +} +}, +"type": "object" +}, +"ListEnterprisesResponse": { +"description": "Response to a request to list enterprises.", +"id": "ListEnterprisesResponse", +"properties": { +"enterprises": { +"description": "The list of enterprises.", +"items": { +"$ref": "Enterprise" +}, +"type": "array" +}, +"nextPageToken": { +"description": "If there are more results, a token to retrieve next page of results.", +"type": "string" +} +}, +"type": "object" +}, +"ListMigrationTokensResponse": { +"description": "Response to a request to list migration tokens for a given enterprise.", +"id": "ListMigrationTokensResponse", +"properties": { +"migrationTokens": { +"description": "The migration tokens from the specified enterprise.", +"items": { +"$ref": "MigrationToken" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A token, which can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.", +"type": "string" +} +}, +"type": "object" +}, +"ListOperationsResponse": { +"description": "The response message for Operations.ListOperations.", +"id": "ListOperationsResponse", +"properties": { +"nextPageToken": { +"description": "The standard List next-page token.", +"type": "string" +}, +"operations": { +"description": "A list of operations that matches the specified filter in the request.", +"items": { +"$ref": "Operation" +}, +"type": "array" +}, +"unreachable": { +"description": "Unordered list. Unreachable resources. Populated when the request sets ListOperationsRequest.return_partial_success and reads across collections. For example, when attempting to list all resources across all supported locations.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListPoliciesResponse": { +"description": "Response to a request to list policies for a given enterprise.", +"id": "ListPoliciesResponse", +"properties": { +"nextPageToken": { +"description": "If there are more results, a token to retrieve next page of results.", +"type": "string" +}, +"policies": { +"description": "The list of policies.", +"items": { +"$ref": "Policy" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListWebAppsResponse": { +"description": "Response to a request to list web apps for a given enterprise.", +"id": "ListWebAppsResponse", +"properties": { +"nextPageToken": { +"description": "If there are more results, a token to retrieve next page of results.", +"type": "string" +}, +"webApps": { +"description": "The list of web apps.", +"items": { +"$ref": "WebApp" +}, +"type": "array" +} +}, +"type": "object" +}, +"Location": { +"description": "The device location containing the latitude and longitude.", +"id": "Location", +"properties": { +"latitude": { +"description": "The latitude position of the location", +"format": "double", +"type": "number" +}, +"longitude": { +"description": "The longitude position of the location", +"format": "double", +"type": "number" +} +}, +"type": "object" +}, +"LogBufferSizeCriticalEvent": { +"description": "The usageLog buffer on the device has reached 90% of its capacity, therefore older events may be dropped. Intentionally empty.", +"id": "LogBufferSizeCriticalEvent", +"properties": {}, +"type": "object" +}, +"LoggingStartedEvent": { +"description": "usageLog policy has been enabled. Intentionally empty.", +"id": "LoggingStartedEvent", +"properties": {}, +"type": "object" +}, +"LoggingStoppedEvent": { +"description": "usageLog policy has been disabled. Intentionally empty.", +"id": "LoggingStoppedEvent", +"properties": {}, +"type": "object" +}, +"LostModeLocationEvent": { +"description": "A lost mode event containing the device location and battery level as a percentage.", +"id": "LostModeLocationEvent", +"properties": { +"batteryLevel": { +"description": "The battery level as a number between 0 and 100 inclusive", +"format": "int32", +"type": "integer" +}, +"location": { +"$ref": "Location", +"description": "The device location" +} +}, +"type": "object" +}, +"LostModeOutgoingPhoneCallEvent": { +"description": "An event indicating an outgoing phone call has been made when a device is in lost mode. Intentionally empty.", +"id": "LostModeOutgoingPhoneCallEvent", +"properties": {}, +"type": "object" +}, +"ManagedConfigurationTemplate": { +"description": "The managed configurations template for the app, saved from the managed configurations iframe.", +"id": "ManagedConfigurationTemplate", +"properties": { +"configurationVariables": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional, a map containing configuration variables defined for the configuration.", +"type": "object" +}, +"templateId": { +"description": "The ID of the managed configurations template.", +"type": "string" +} +}, +"type": "object" +}, +"ManagedProperty": { +"description": "Managed property.", +"id": "ManagedProperty", +"properties": { +"defaultValue": { +"description": "The default value of the property. BUNDLE_ARRAY properties don't have a default value.", +"type": "any" +}, +"description": { +"description": "A longer description of the property, providing more detail of what it affects. Localized.", +"type": "string" +}, +"entries": { +"description": "For CHOICE or MULTISELECT properties, the list of possible entries.", +"items": { +"$ref": "ManagedPropertyEntry" +}, +"type": "array" +}, +"key": { +"description": "The unique key that the app uses to identify the property, e.g. \"com.google.android.gm.fieldname\".", +"type": "string" +}, +"nestedProperties": { +"description": "For BUNDLE_ARRAY properties, the list of nested properties. A BUNDLE_ARRAY property is at most two levels deep.", +"items": { +"$ref": "ManagedProperty" +}, +"type": "array" +}, +"title": { +"description": "The name of the property. Localized.", +"type": "string" +}, +"type": { +"description": "The type of the property.", +"enum": [ +"MANAGED_PROPERTY_TYPE_UNSPECIFIED", +"BOOL", +"STRING", +"INTEGER", +"CHOICE", +"MULTISELECT", +"HIDDEN", +"BUNDLE", +"BUNDLE_ARRAY" +], +"enumDescriptions": [ +"Not used.", +"A property of boolean type.", +"A property of string type.", +"A property of integer type.", +"A choice of one item from a set.", +"A choice of multiple items from a set.", +"A hidden restriction of string type (the default value can be used to pass along information that can't be modified, such as a version code).", +"A bundle of properties", +"An array of property bundles." +], +"type": "string" +} +}, +"type": "object" +}, +"ManagedPropertyEntry": { +"description": "An entry of a managed property.", +"id": "ManagedPropertyEntry", +"properties": { +"name": { +"description": "The human-readable name of the value. Localized.", +"type": "string" +}, +"value": { +"description": "The machine-readable value of the entry, which should be used in the configuration. Not localized.", +"type": "string" +} +}, +"type": "object" +}, +"MediaMountEvent": { +"description": "Removable media was mounted.", +"id": "MediaMountEvent", +"properties": { +"mountPoint": { +"description": "Mount point.", +"type": "string" +}, +"volumeLabel": { +"description": "Volume label. Redacted to empty string on organization-owned managed profile devices.", +"type": "string" +} +}, +"type": "object" +}, +"MediaUnmountEvent": { +"description": "Removable media was unmounted.", +"id": "MediaUnmountEvent", +"properties": { +"mountPoint": { +"description": "Mount point.", +"type": "string" +}, +"volumeLabel": { +"description": "Volume label. Redacted to empty string on organization-owned managed profile devices.", +"type": "string" +} +}, +"type": "object" +}, +"MemoryEvent": { +"description": "An event related to memory and storage measurements.To distinguish between new and old events, we recommend using the createTime field.", +"id": "MemoryEvent", +"properties": { +"byteCount": { +"description": "The number of free bytes in the medium, or for EXTERNAL_STORAGE_DETECTED, the total capacity in bytes of the storage medium.", +"format": "int64", +"type": "string" +}, +"createTime": { +"description": "The creation time of the event.", +"format": "google-datetime", +"type": "string" +}, +"eventType": { +"description": "Event type.", +"enum": [ +"MEMORY_EVENT_TYPE_UNSPECIFIED", +"RAM_MEASURED", +"INTERNAL_STORAGE_MEASURED", +"EXTERNAL_STORAGE_DETECTED", +"EXTERNAL_STORAGE_REMOVED", +"EXTERNAL_STORAGE_MEASURED" +], +"enumDescriptions": [ +"Unspecified. No events have this type.", +"Free space in RAM was measured.", +"Free space in internal storage was measured.", +"A new external storage medium was detected. The reported byte count is the total capacity of the storage medium.", +"An external storage medium was removed. The reported byte count is zero.", +"Free space in an external storage medium was measured." +], +"type": "string" +} +}, +"type": "object" +}, +"MemoryInfo": { +"description": "Information about device memory and storage.", +"id": "MemoryInfo", +"properties": { +"totalInternalStorage": { +"description": "Total internal storage on device in bytes.", +"format": "int64", +"type": "string" +}, +"totalRam": { +"description": "Total RAM on device in bytes.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"MigrationToken": { +"description": "A token to initiate the migration of a device from being managed by a third-party DPC to being managed by Android Management API. A migration token is valid only for a single device. See the guide (https://developers.google.com/android/management/dpc-migration) for more details.", +"id": "MigrationToken", +"properties": { +"additionalData": { +"description": "Immutable. Optional EMM-specified additional data. Once the device is migrated this will be populated in the migrationAdditionalData field of the Device resource. This must be at most 1024 characters.", +"type": "string" +}, +"createTime": { +"description": "Output only. Time when this migration token was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"device": { +"description": "Output only. Once this migration token is used to migrate a device, the name of the resulting Device resource will be populated here, in the form enterprises/{enterprise}/devices/{device}.", +"readOnly": true, +"type": "string" +}, +"deviceId": { +"description": "Required. Immutable. The id of the device, as in the Play EMM API. This corresponds to the deviceId parameter in Play EMM API's Devices.get (https://developers.google.com/android/work/play/emm-api/v1/devices/get#parameters) call.", +"type": "string" +}, +"expireTime": { +"description": "Immutable. The time when this migration token expires. This can be at most seven days from the time of creation. The migration token is deleted seven days after it expires.", +"format": "google-datetime", +"type": "string" +}, +"managementMode": { +"description": "Required. Immutable. The management mode of the device or profile being migrated.", +"enum": [ +"MANAGEMENT_MODE_UNSPECIFIED", +"WORK_PROFILE_PERSONALLY_OWNED", +"WORK_PROFILE_COMPANY_OWNED", +"FULLY_MANAGED" +], +"enumDescriptions": [ +"This value must not be used.", +"A work profile on a personally owned device. Supported only on devices running Android 9 and above.", +"A work profile on a company-owned device. Supported only on devices running Android 11 and above.", +"A fully-managed device. Supported only on devices running Android 9 and above." +], +"type": "string" +}, +"name": { +"description": "Output only. The name of the migration token, which is generated by the server during creation, in the form enterprises/{enterprise}/migrationTokens/{migration_token}.", +"readOnly": true, +"type": "string" +}, +"policy": { +"description": "Required. Immutable. The name of the policy initially applied to the enrolled device, in the form enterprises/{enterprise}/policies/{policy}.", +"type": "string" +}, +"ttl": { +"description": "Input only. The time that this migration token is valid for. This is input-only, and for returning a migration token the server will populate the expireTime field. This can be at most seven days. The default is seven days.", +"format": "google-duration", +"type": "string" +}, +"userId": { +"description": "Required. Immutable. The user id of the Managed Google Play account on the device, as in the Play EMM API. This corresponds to the userId parameter in Play EMM API's Devices.get (https://developers.google.com/android/work/play/emm-api/v1/devices/get#parameters) call.", +"type": "string" +}, +"value": { +"description": "Output only. The value of the migration token.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"ModifyPolicyApplicationsRequest": { +"description": "Request to update or create ApplicationPolicy objects in the given Policy.", +"id": "ModifyPolicyApplicationsRequest", +"properties": { +"changes": { +"description": "Required. The changes to be made to the ApplicationPolicy objects. There must be at least one ApplicationPolicyChange.", +"items": { +"$ref": "ApplicationPolicyChange" +}, +"type": "array" +} +}, +"type": "object" +}, +"ModifyPolicyApplicationsResponse": { +"description": "Response to a request to update or create ApplicationPolicy objects in the given policy.", +"id": "ModifyPolicyApplicationsResponse", +"properties": { +"policy": { +"$ref": "Policy", +"description": "The updated policy." +} +}, +"type": "object" +}, +"NetworkInfo": { +"description": "Device network info.", +"id": "NetworkInfo", +"properties": { +"imei": { +"description": "IMEI number of the GSM device. For example, A1000031212.", +"type": "string" +}, +"meid": { +"description": "MEID number of the CDMA device. For example, A00000292788E1.", +"type": "string" +}, +"networkOperatorName": { +"deprecated": true, +"description": "Alphabetic name of current registered operator. For example, Vodafone.", +"type": "string" +}, +"telephonyInfos": { +"description": "Provides telephony information associated with each SIM card on the device. Only supported on fully managed devices starting from Android 6.", +"items": { +"$ref": "TelephonyInfo" +}, +"type": "array" +}, +"wifiMacAddress": { +"description": "Wi-Fi MAC address of the device. For example, 7c:11:11:11:11:11.", +"type": "string" +} +}, +"type": "object" +}, +"NonComplianceDetail": { +"description": "Provides detail about non-compliance with a policy setting.", +"id": "NonComplianceDetail", +"properties": { +"currentValue": { +"description": "If the policy setting could not be applied, the current value of the setting on the device.", +"type": "any" +}, +"fieldPath": { +"description": "For settings with nested fields, if a particular nested field is out of compliance, this specifies the full path to the offending field. The path is formatted in the same way the policy JSON field would be referenced in JavaScript, that is: 1) For object-typed fields, the field name is followed by a dot then by a subfield name. 2) For array-typed fields, the field name is followed by the array index enclosed in brackets. For example, to indicate a problem with the url field in the externalData field in the 3rd application, the path would be applications[2].externalData.url", +"type": "string" +}, +"installationFailureReason": { +"description": "If package_name is set and the non-compliance reason is APP_NOT_INSTALLED or APP_NOT_UPDATED, the detailed reason the app can't be installed or updated.", +"enum": [ +"INSTALLATION_FAILURE_REASON_UNSPECIFIED", +"INSTALLATION_FAILURE_REASON_UNKNOWN", +"IN_PROGRESS", +"NOT_FOUND", +"NOT_COMPATIBLE_WITH_DEVICE", +"NOT_APPROVED", +"PERMISSIONS_NOT_ACCEPTED", +"NOT_AVAILABLE_IN_COUNTRY", +"NO_LICENSES_REMAINING", +"NOT_ENROLLED", +"USER_INVALID", +"NETWORK_ERROR_UNRELIABLE_CONNECTION", +"INSUFFICIENT_STORAGE" +], +"enumDescriptions": [ +"This value is disallowed.", +"An unknown condition is preventing the app from being installed. Some potential reasons are that the device doesn't have enough storage, the device network connection is unreliable, or the installation is taking longer than expected. The installation will be retried automatically.", +"The installation is still in progress.", +"The app was not found in Play.", +"The app is incompatible with the device.", +"The app has not been approved by the admin.", +"The app has new permissions that have not been accepted by the admin.", +"The app is not available in the user's country.", +"There are no licenses available to assign to the user.", +"The enterprise is no longer enrolled with Managed Google Play or the admin has not accepted the latest Managed Google Play Terms of Service.", +"The user is no longer valid. The user may have been deleted or disabled.", +"A network error on the user's device has prevented the install from succeeding. This usually happens when the device's internet connectivity is degraded, unavailable or there's a network configuration issue. Please ensure the device has access to full internet connectivity on a network that meets Android Enterprise Network Requirements (https://support.google.com/work/android/answer/10513641). App install or update will automatically resume once this is the case.", +"The user's device does not have sufficient storage space to install the app. This can be resolved by clearing up storage space on the device. App install or update will automatically resume once the device has sufficient storage." +], +"type": "string" +}, +"nonComplianceReason": { +"description": "The reason the device is not in compliance with the setting.", +"enum": [ +"NON_COMPLIANCE_REASON_UNSPECIFIED", +"API_LEVEL", +"MANAGEMENT_MODE", +"USER_ACTION", +"INVALID_VALUE", +"APP_NOT_INSTALLED", +"UNSUPPORTED", +"APP_INSTALLED", +"PENDING", +"APP_INCOMPATIBLE", +"APP_NOT_UPDATED", +"DEVICE_INCOMPATIBLE", +"APP_SIGNING_CERT_MISMATCH", +"PROJECT_NOT_PERMITTED" +], +"enumDescriptions": [ +"This value is not used.", +"The setting is not supported in the API level of the Android version running on the device.", +"The management mode (such as fully managed or work profile) doesn't support the setting.", +"The user has not taken required action to comply with the setting.", +"The setting has an invalid value.", +"The app required to implement the policy is not installed.", +"The policy is not supported by the version of Android Device Policy on the device.", +"A blocked app is installed.", +"The setting hasn't been applied at the time of the report, but is expected to be applied shortly.", +"The setting can't be applied to the app because the app doesn't support it, for example because its target SDK version is not high enough.", +"The app is installed, but it hasn't been updated to the minimum version code specified by policy.", +"The device is incompatible with the policy requirements.", +"The app's signing certificate does not match the setting value.", +"The Google Cloud Platform project used to manage the device is not permitted to use this policy." +], +"type": "string" +}, +"packageName": { +"description": "The package name indicating which app is out of compliance, if applicable.", +"type": "string" +}, +"settingName": { +"description": "The name of the policy setting. This is the JSON field name of a top-level Policy field.", +"type": "string" +}, +"specificNonComplianceContext": { +"$ref": "SpecificNonComplianceContext", +"description": "Additional context for specific_non_compliance_reason." +}, +"specificNonComplianceReason": { +"description": "The policy-specific reason the device is not in compliance with the setting.", +"enum": [ +"SPECIFIC_NON_COMPLIANCE_REASON_UNSPECIFIED", +"PASSWORD_POLICIES_USER_CREDENTIALS_CONFIRMATION_REQUIRED", +"PASSWORD_POLICIES_PASSWORD_EXPIRED", +"PASSWORD_POLICIES_PASSWORD_NOT_SUFFICIENT", +"ONC_WIFI_INVALID_VALUE", +"ONC_WIFI_API_LEVEL", +"ONC_WIFI_INVALID_ENTERPRISE_CONFIG", +"ONC_WIFI_USER_SHOULD_REMOVE_NETWORK", +"ONC_WIFI_KEY_PAIR_ALIAS_NOT_CORRESPONDING_TO_EXISTING_KEY", +"PERMISSIBLE_USAGE_RESTRICTION", +"REQUIRED_ACCOUNT_NOT_IN_ENTERPRISE", +"NEW_ACCOUNT_NOT_IN_ENTERPRISE", +"DEFAULT_APPLICATION_SETTING_UNSUPPORTED_SCOPES", +"DEFAULT_APPLICATION_SETTING_FAILED_FOR_SCOPE", +"PRIVATE_DNS_HOST_NOT_SERVING" +], +"enumDescriptions": [ +"Specific non-compliance reason is not specified. Fields in specific_non_compliance_context are not set.", +"User needs to confirm credentials by entering the screen lock. Fields in specific_non_compliance_context are not set. nonComplianceReason is set to USER_ACTION.", +"The device or profile password has expired. passwordPoliciesContext is set. nonComplianceReason is set to USER_ACTION.", +"The device password does not satisfy password requirements. passwordPoliciesContext is set. nonComplianceReason is set to USER_ACTION.", +"There is an incorrect value in ONC Wi-Fi configuration. fieldPath specifies which field value is incorrect. oncWifiContext is set. nonComplianceReason is set to INVALID_VALUE.", +"The ONC Wi-Fi setting is not supported in the API level of the Android version running on the device. fieldPath specifies which field value is not supported. oncWifiContext is set. nonComplianceReason is set to API_LEVEL.", +"The enterprise Wi-Fi network is missing either the root CA or domain name. nonComplianceReason is set to INVALID_VALUE.", +"User needs to remove the configured Wi-Fi network manually. This is applicable only on work profiles on personally-owned devices. nonComplianceReason is set to USER_ACTION.", +"Key pair alias specified via ClientCertKeyPairAlias (https://chromium.googlesource.com/chromium/src/+/main/components/onc/docs/onc_spec.md#eap-type) field in openNetworkConfiguration does not correspond to an existing key installed on the device. nonComplianceReason is set to INVALID_VALUE.", +"This policy setting is restricted and cannot be set for this Google Cloud Platform project. More details (including how to enable usage of this policy setting) are available in the Permissible Usage policy (https://developers.google.com/android/management/permissible-usage). nonComplianceReason is set to PROJECT_NOT_PERMITTED.", +"Work account required by the workAccountSetupConfig policy setting is not part of the enterprise anymore. nonComplianceReason is set to USER_ACTION.", +"Work account added by the user is not part of the enterprise. nonComplianceReason is set to USER_ACTION.", +"The default application setting is applied to the scopes that are not supported by the management mode, even if the management mode itself is supported for the app type (e.g., a policy with DEFAULT_BROWSER app type and SCOPE_PERSONAL_PROFILE list sent to a fully managed device results in the scopes being inapplicable for the management mode). If the management mode is not supported for the app type, a NonComplianceDetail with MANAGEMENT_MODE is reported, without a specificNonComplianceReason.nonComplianceReason is set to MANAGEMENT_MODE.", +"The default application setting failed to apply for a specific scope. defaultApplicationContext is set. nonComplianceReason is set to INVALID_VALUE or APP_NOT_INSTALLED.", +"The specified host for private DNS is a valid hostname but was found to not be a private DNS server. nonComplianceReason is set to INVALID_VALUE." +], +"type": "string" +} +}, +"type": "object" +}, +"NonComplianceDetailCondition": { +"deprecated": true, +"description": "A compliance rule condition which is satisfied if there exists any matching NonComplianceDetail for the device. A NonComplianceDetail matches a NonComplianceDetailCondition if all the fields which are set within the NonComplianceDetailCondition match the corresponding NonComplianceDetail fields.", +"id": "NonComplianceDetailCondition", +"properties": { +"nonComplianceReason": { +"description": "The reason the device is not in compliance with the setting. If not set, then this condition matches any reason.", +"enum": [ +"NON_COMPLIANCE_REASON_UNSPECIFIED", +"API_LEVEL", +"MANAGEMENT_MODE", +"USER_ACTION", +"INVALID_VALUE", +"APP_NOT_INSTALLED", +"UNSUPPORTED", +"APP_INSTALLED", +"PENDING", +"APP_INCOMPATIBLE", +"APP_NOT_UPDATED", +"DEVICE_INCOMPATIBLE", +"APP_SIGNING_CERT_MISMATCH", +"PROJECT_NOT_PERMITTED" +], +"enumDescriptions": [ +"This value is not used.", +"The setting is not supported in the API level of the Android version running on the device.", +"The management mode (such as fully managed or work profile) doesn't support the setting.", +"The user has not taken required action to comply with the setting.", +"The setting has an invalid value.", +"The app required to implement the policy is not installed.", +"The policy is not supported by the version of Android Device Policy on the device.", +"A blocked app is installed.", +"The setting hasn't been applied at the time of the report, but is expected to be applied shortly.", +"The setting can't be applied to the app because the app doesn't support it, for example because its target SDK version is not high enough.", +"The app is installed, but it hasn't been updated to the minimum version code specified by policy.", +"The device is incompatible with the policy requirements.", +"The app's signing certificate does not match the setting value.", +"The Google Cloud Platform project used to manage the device is not permitted to use this policy." +], +"type": "string" +}, +"packageName": { +"description": "The package name of the app that's out of compliance. If not set, then this condition matches any package name.", +"type": "string" +}, +"settingName": { +"description": "The name of the policy setting. This is the JSON field name of a top-level Policy field. If not set, then this condition matches any setting name.", +"type": "string" +} +}, +"type": "object" +}, +"OncCertificateProvider": { +"description": "This feature is not generally available.", +"id": "OncCertificateProvider", +"properties": { +"certificateReferences": { +"description": "This feature is not generally available.", +"items": { +"type": "string" +}, +"type": "array" +}, +"contentProviderEndpoint": { +"$ref": "ContentProviderEndpoint", +"description": "This feature is not generally available." +} +}, +"type": "object" +}, +"OncWifiContext": { +"description": "Additional context for non-compliance related to Wi-Fi configuration.", +"id": "OncWifiContext", +"properties": { +"wifiGuid": { +"description": "The GUID of non-compliant Wi-Fi configuration.", +"type": "string" +} +}, +"type": "object" +}, +"Operation": { +"description": "This resource represents a long-running operation that is the result of a network API call.", +"id": "Operation", +"properties": { +"done": { +"description": "If the value is false, it means the operation is still in progress. If true, the operation is completed, and either error or response is available.", +"type": "boolean" +}, +"error": { +"$ref": "Status", +"description": "The error result of the operation in case of failure or cancellation." +}, +"metadata": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.", +"type": "object" +}, +"name": { +"description": "The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the name should be a resource name ending with operations/{unique_id}.", +"type": "string" +}, +"response": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "The normal, successful response of the operation. If the original method returns no data on success, such as Delete, the response is google.protobuf.Empty. If the original method is standard Get/Create/Update, the response should be the resource. For other methods, the response should have the type XxxResponse, where Xxx is the original method name. For example, if the original method name is TakeSnapshot(), the inferred response type is TakeSnapshotResponse.", +"type": "object" +} +}, +"type": "object" +}, +"OsShutdownEvent": { +"description": "Device was shutdown. Intentionally empty.", +"id": "OsShutdownEvent", +"properties": {}, +"type": "object" +}, +"OsStartupEvent": { +"description": "Device was started.", +"id": "OsStartupEvent", +"properties": { +"verifiedBootState": { +"description": "Verified Boot state.", +"enum": [ +"VERIFIED_BOOT_STATE_UNSPECIFIED", +"GREEN", +"YELLOW", +"ORANGE" +], +"enumDescriptions": [ +"Unknown value.", +"Indicates that there is a full chain of trust extending from the bootloader to verified partitions including the bootloader, boot partition, and all verified partitions.", +"Indicates that the boot partition has been verified using the embedded certificate and the signature is valid.", +"Indicates that the device may be freely modified. Device integrity is left to the user to verify out-of-band." +], +"type": "string" +}, +"verityMode": { +"description": "dm-verity mode.", +"enum": [ +"DM_VERITY_MODE_UNSPECIFIED", +"ENFORCING", +"IO_ERROR", +"DISABLED" +], +"enumDescriptions": [ +"Unknown value.", +"Indicates that the device will be restarted when corruption is detected.", +"Indicates that an I/O error will be returned for an attempt to read corrupted data blocks (also known as eio boot state).", +"Indicates that dm-verity is disabled on device." +], +"type": "string" +} +}, +"type": "object" +}, +"PackageNameList": { +"description": "A list of package names.", +"id": "PackageNameList", +"properties": { +"packageNames": { +"description": "A list of package names.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"PasswordPoliciesContext": { +"description": "Additional context for non-compliance related to password policies.", +"id": "PasswordPoliciesContext", +"properties": { +"passwordPolicyScope": { +"description": "The scope of non-compliant password.", +"enum": [ +"SCOPE_UNSPECIFIED", +"SCOPE_DEVICE", +"SCOPE_PROFILE" +], +"enumDescriptions": [ +"The scope is unspecified. The password requirements are applied to the work profile for work profile devices and the whole device for fully managed or dedicated devices.", +"The password requirements are only applied to the device.", +"The password requirements are only applied to the work profile." +], +"type": "string" +} +}, +"type": "object" +}, +"PasswordRequirements": { +"description": "Requirements for the password used to unlock a device.", +"id": "PasswordRequirements", +"properties": { +"maximumFailedPasswordsForWipe": { +"description": "Number of incorrect device-unlock passwords that can be entered before a device is wiped. A value of 0 means there is no restriction.", +"format": "int32", +"type": "integer" +}, +"passwordExpirationTimeout": { +"description": "Password expiration timeout.", +"format": "google-duration", +"type": "string" +}, +"passwordHistoryLength": { +"description": "The length of the password history. After setting this field, the user won't be able to enter a new password that is the same as any password in the history. A value of 0 means there is no restriction.", +"format": "int32", +"type": "integer" +}, +"passwordMinimumLength": { +"description": "The minimum allowed password length. A value of 0 means there is no restriction. Only enforced when password_quality is NUMERIC, NUMERIC_COMPLEX, ALPHABETIC, ALPHANUMERIC, or COMPLEX.", +"format": "int32", +"type": "integer" +}, +"passwordMinimumLetters": { +"description": "Minimum number of letters required in the password. Only enforced when password_quality is COMPLEX.", +"format": "int32", +"type": "integer" +}, +"passwordMinimumLowerCase": { +"description": "Minimum number of lower case letters required in the password. Only enforced when password_quality is COMPLEX.", +"format": "int32", +"type": "integer" +}, +"passwordMinimumNonLetter": { +"description": "Minimum number of non-letter characters (numerical digits or symbols) required in the password. Only enforced when password_quality is COMPLEX.", +"format": "int32", +"type": "integer" +}, +"passwordMinimumNumeric": { +"description": "Minimum number of numerical digits required in the password. Only enforced when password_quality is COMPLEX.", +"format": "int32", +"type": "integer" +}, +"passwordMinimumSymbols": { +"description": "Minimum number of symbols required in the password. Only enforced when password_quality is COMPLEX.", +"format": "int32", +"type": "integer" +}, +"passwordMinimumUpperCase": { +"description": "Minimum number of upper case letters required in the password. Only enforced when password_quality is COMPLEX.", +"format": "int32", +"type": "integer" +}, +"passwordQuality": { +"description": "The required password quality.", +"enum": [ +"PASSWORD_QUALITY_UNSPECIFIED", +"BIOMETRIC_WEAK", +"SOMETHING", +"NUMERIC", +"NUMERIC_COMPLEX", +"ALPHABETIC", +"ALPHANUMERIC", +"COMPLEX", +"COMPLEXITY_LOW", +"COMPLEXITY_MEDIUM", +"COMPLEXITY_HIGH" +], +"enumDescriptions": [ +"There are no password requirements.", +"The device must be secured with a low-security biometric recognition technology, at minimum. This includes technologies that can recognize the identity of an individual that are roughly equivalent to a 3-digit PIN (false detection is less than 1 in 1,000).This, when applied on personally owned work profile devices on Android 12 device-scoped, will be treated as COMPLEXITY_LOW for application. See PasswordQuality for details.", +"A password is required, but there are no restrictions on what the password must contain.This, when applied on personally owned work profile devices on Android 12 device-scoped, will be treated as COMPLEXITY_LOW for application. See PasswordQuality for details.", +"The password must contain numeric characters.This, when applied on personally owned work profile devices on Android 12 device-scoped, will be treated as COMPLEXITY_MEDIUM for application. See PasswordQuality for details.", +"The password must contain numeric characters with no repeating (4444) or ordered (1234, 4321, 2468) sequences.This, when applied on personally owned work profile devices on Android 12 device-scoped, will be treated as COMPLEXITY_MEDIUM for application. See PasswordQuality for details.", +"The password must contain alphabetic (or symbol) characters.This, when applied on personally owned work profile devices on Android 12 device-scoped, will be treated as COMPLEXITY_HIGH for application. See PasswordQuality for details.", +"The password must contain both numeric and alphabetic (or symbol) characters.This, when applied on personally owned work profile devices on Android 12 device-scoped, will be treated as COMPLEXITY_HIGH for application. See PasswordQuality for details.", +"The password must meet the minimum requirements specified in passwordMinimumLength, passwordMinimumLetters, passwordMinimumSymbols, etc. For example, if passwordMinimumSymbols is 2, the password must contain at least two symbols.This, when applied on personally owned work profile devices on Android 12 device-scoped, will be treated as COMPLEXITY_HIGH for application. In this case, the requirements in passwordMinimumLength, passwordMinimumLetters, passwordMinimumSymbols, etc are not applied. See PasswordQuality for details.", +"Define the low password complexity band as: pattern PIN with repeating (4444) or ordered (1234, 4321, 2468) sequencesThis sets the minimum complexity band which the password must meet.Enforcement varies among different Android versions, management modes and password scopes. See PasswordQuality for details.", +"Define the medium password complexity band as: PIN with no repeating (4444) or ordered (1234, 4321, 2468) sequences, length at least 4 alphabetic, length at least 4 alphanumeric, length at least 4This sets the minimum complexity band which the password must meet.Enforcement varies among different Android versions, management modes and password scopes. See PasswordQuality for details.", +"Define the high password complexity band as:On Android 12 and above: PIN with no repeating (4444) or ordered (1234, 4321, 2468) sequences, length at least 8 alphabetic, length at least 6 alphanumeric, length at least 6This sets the minimum complexity band which the password must meet.Enforcement varies among different Android versions, management modes and password scopes. See PasswordQuality for details." +], +"type": "string" +}, +"passwordScope": { +"description": "The scope that the password requirement applies to.", +"enum": [ +"SCOPE_UNSPECIFIED", +"SCOPE_DEVICE", +"SCOPE_PROFILE" +], +"enumDescriptions": [ +"The scope is unspecified. The password requirements are applied to the work profile for work profile devices and the whole device for fully managed or dedicated devices.", +"The password requirements are only applied to the device.", +"The password requirements are only applied to the work profile." +], +"type": "string" +}, +"requirePasswordUnlock": { +"description": "The length of time after a device or work profile is unlocked using a strong form of authentication (password, PIN, pattern) that it can be unlocked using any other authentication method (e.g. fingerprint, trust agents, face). After the specified time period elapses, only strong forms of authentication can be used to unlock the device or work profile.", +"enum": [ +"REQUIRE_PASSWORD_UNLOCK_UNSPECIFIED", +"USE_DEFAULT_DEVICE_TIMEOUT", +"REQUIRE_EVERY_DAY" +], +"enumDescriptions": [ +"Unspecified. Defaults to USE_DEFAULT_DEVICE_TIMEOUT.", +"The timeout period is set to the device\u2019s default.", +"The timeout period is set to 24 hours." +], +"type": "string" +}, +"unifiedLockSettings": { +"description": "Controls whether a unified lock is allowed for the device and the work profile, on devices running Android 9 and above with a work profile. This can be set only if password_scope is set to SCOPE_PROFILE, the policy will be rejected otherwise. If user has not set a separate work lock and this field is set to REQUIRE_SEPARATE_WORK_LOCK, a NonComplianceDetail is reported with nonComplianceReason set to USER_ACTION.", +"enum": [ +"UNIFIED_LOCK_SETTINGS_UNSPECIFIED", +"ALLOW_UNIFIED_WORK_AND_PERSONAL_LOCK", +"REQUIRE_SEPARATE_WORK_LOCK" +], +"enumDescriptions": [ +"Unspecified. Defaults to ALLOW_UNIFIED_WORK_AND_PERSONAL_LOCK.", +"A common lock for the device and the work profile is allowed.", +"A separate lock for the work profile is required." +], +"type": "string" +} +}, +"type": "object" +}, +"PerAppResult": { +"description": "The result of an attempt to clear the data of a single app.", +"id": "PerAppResult", +"properties": { +"clearingResult": { +"description": "The result of an attempt to clear the data of a single app.", +"enum": [ +"CLEARING_RESULT_UNSPECIFIED", +"SUCCESS", +"APP_NOT_FOUND", +"APP_PROTECTED", +"API_LEVEL" +], +"enumDescriptions": [ +"Unspecified result.", +"This app\u2019s data was successfully cleared.", +"This app\u2019s data could not be cleared because the app was not found.", +"This app\u2019s data could not be cleared because the app is protected. For example, this may apply to apps critical to the functioning of the device, such as Google Play Store.", +"This app\u2019s data could not be cleared because the device API level does not support this command." +], +"type": "string" +} +}, +"type": "object" +}, +"PermissionGrant": { +"description": "Configuration for an Android permission and its grant state.", +"id": "PermissionGrant", +"properties": { +"permission": { +"description": "The Android permission or group, e.g. android.permission.READ_CALENDAR or android.permission_group.CALENDAR.", +"type": "string" +}, +"policy": { +"description": "The policy for granting the permission.", +"enum": [ +"PERMISSION_POLICY_UNSPECIFIED", +"PROMPT", +"GRANT", +"DENY" +], +"enumDescriptions": [ +"Policy not specified. If no policy is specified for a permission at any level, then the PROMPT behavior is used by default.", +"Prompt the user to grant a permission.", +"Automatically grant a permission.On Android 12 and above, READ_SMS (https://developer.android.com/reference/android/Manifest.permission#READ_SMS) and following sensor-related permissions can only be granted on fully managed devices: ACCESS_FINE_LOCATION (https://developer.android.com/reference/android/Manifest.permission#ACCESS_FINE_LOCATION) ACCESS_BACKGROUND_LOCATION (https://developer.android.com/reference/android/Manifest.permission#ACCESS_BACKGROUND_LOCATION) ACCESS_COARSE_LOCATION (https://developer.android.com/reference/android/Manifest.permission#ACCESS_COARSE_LOCATION) CAMERA (https://developer.android.com/reference/android/Manifest.permission#CAMERA) RECORD_AUDIO (https://developer.android.com/reference/android/Manifest.permission#RECORD_AUDIO) ACTIVITY_RECOGNITION (https://developer.android.com/reference/android/Manifest.permission#ACTIVITY_RECOGNITION) BODY_SENSORS (https://developer.android.com/reference/android/Manifest.permission#BODY_SENSORS)", +"Automatically deny a permission." +], +"type": "string" +} +}, +"type": "object" +}, +"PersistentPreferredActivity": { +"description": "A default activity for handling intents that match a particular intent filter. Note: To set up a kiosk, use InstallType to KIOSK rather than use persistent preferred activities.", +"id": "PersistentPreferredActivity", +"properties": { +"actions": { +"description": "The intent actions to match in the filter. If any actions are included in the filter, then an intent's action must be one of those values for it to match. If no actions are included, the intent action is ignored.", +"items": { +"type": "string" +}, +"type": "array" +}, +"categories": { +"description": "The intent categories to match in the filter. An intent includes the categories that it requires, all of which must be included in the filter in order to match. In other words, adding a category to the filter has no impact on matching unless that category is specified in the intent.", +"items": { +"type": "string" +}, +"type": "array" +}, +"receiverActivity": { +"description": "The activity that should be the default intent handler. This should be an Android component name, e.g. com.android.enterprise.app/.MainActivity. Alternatively, the value may be the package name of an app, which causes Android Device Policy to choose an appropriate activity from the app to handle the intent.", +"type": "string" +} +}, +"type": "object" +}, +"PersonalApplicationPolicy": { +"description": "Policies for apps in the personal profile of a company-owned device with a work profile.", +"id": "PersonalApplicationPolicy", +"properties": { +"installType": { +"description": "The type of installation to perform.", +"enum": [ +"INSTALL_TYPE_UNSPECIFIED", +"BLOCKED", +"AVAILABLE" +], +"enumDescriptions": [ +"Unspecified. Defaults to AVAILABLE.", +"The app is blocked and can't be installed in the personal profile. If the app was previously installed in the device, it will be uninstalled.", +"The app is available to install in the personal profile." +], +"type": "string" +}, +"packageName": { +"description": "The package name of the application.", +"type": "string" +} +}, +"type": "object" +}, +"PersonalUsagePolicies": { +"description": "Policies controlling personal usage on a company-owned device with a work profile.", +"id": "PersonalUsagePolicies", +"properties": { +"accountTypesWithManagementDisabled": { +"description": "Account types that can't be managed by the user.", +"items": { +"type": "string" +}, +"type": "array" +}, +"bluetoothSharing": { +"description": "Optional. Whether bluetooth sharing is allowed.", +"enum": [ +"BLUETOOTH_SHARING_UNSPECIFIED", +"BLUETOOTH_SHARING_ALLOWED", +"BLUETOOTH_SHARING_DISALLOWED" +], +"enumDescriptions": [ +"Unspecified. Defaults to BLUETOOTH_SHARING_ALLOWED.", +"Bluetooth sharing is allowed on personal profile.Supported on Android 8 and above. A NonComplianceDetail with MANAGEMENT_MODE is reported if this is set for a personal device.", +"Bluetooth sharing is disallowed on personal profile.Supported on Android 8 and above. A NonComplianceDetail with API_LEVEL is reported if the Android version is less than 8. A NonComplianceDetail with MANAGEMENT_MODE is reported if this is set for a personal device." +], +"type": "string" +}, +"cameraDisabled": { +"description": "If true, the camera is disabled on the personal profile.", +"type": "boolean" +}, +"maxDaysWithWorkOff": { +"description": "Controls how long the work profile can stay off. The minimum duration must be at least 3 days. Other details are as follows: - If the duration is set to 0, the feature is turned off. - If the duration is set to a value smaller than the minimum duration, the feature returns an error. *Note:* If you want to avoid personal profiles being suspended during long periods of off-time, you can temporarily set a large value for this parameter.", +"format": "int32", +"type": "integer" +}, +"personalApplications": { +"description": "Policy applied to applications in the personal profile.", +"items": { +"$ref": "PersonalApplicationPolicy" +}, +"type": "array" +}, +"personalPlayStoreMode": { +"description": "Used together with personalApplications to control how apps in the personal profile are allowed or blocked.", +"enum": [ +"PLAY_STORE_MODE_UNSPECIFIED", +"BLACKLIST", +"BLOCKLIST", +"ALLOWLIST" +], +"enumDeprecated": [ +false, +true, +false, +false +], +"enumDescriptions": [ +"Unspecified. Defaults to BLOCKLIST.", +"All Play Store apps are available for installation in the personal profile, except those whose installType is BLOCKED in personalApplications.", +"All Play Store apps are available for installation in the personal profile, except those whose installType is BLOCKED in personalApplications.", +"Only apps explicitly specified in personalApplications with installType set to AVAILABLE are allowed to be installed in the personal profile." +], +"type": "string" +}, +"privateSpacePolicy": { +"description": "Optional. Controls whether a private space is allowed on the device.", +"enum": [ +"PRIVATE_SPACE_POLICY_UNSPECIFIED", +"PRIVATE_SPACE_ALLOWED", +"PRIVATE_SPACE_DISALLOWED" +], +"enumDescriptions": [ +"Unspecified. Defaults to PRIVATE_SPACE_ALLOWED.", +"Users can create a private space profile.", +"Users cannot create a private space profile. Supported only for company-owned devices with a work profile. Caution: Any existing private space will be removed." +], +"type": "string" +}, +"screenCaptureDisabled": { +"description": "If true, screen capture is disabled for all users.", +"type": "boolean" +} +}, +"type": "object" +}, +"Policy": { +"description": "A policy resource represents a group of settings that govern the behavior of a managed device and the apps installed on it.", +"id": "Policy", +"properties": { +"accountTypesWithManagementDisabled": { +"description": "Account types that can't be managed by the user.", +"items": { +"type": "string" +}, +"type": "array" +}, +"addUserDisabled": { +"description": "Whether adding new users and profiles is disabled. For devices where managementMode is DEVICE_OWNER this field is ignored and the user is never allowed to add or remove users.", +"type": "boolean" +}, +"adjustVolumeDisabled": { +"description": "Whether adjusting the master volume is disabled. Also mutes the device. The setting has effect only on fully managed devices.", +"type": "boolean" +}, +"advancedSecurityOverrides": { +"$ref": "AdvancedSecurityOverrides", +"description": "Advanced security settings. In most cases, setting these is not needed." +}, +"alwaysOnVpnPackage": { +"$ref": "AlwaysOnVpnPackage", +"description": "Configuration for an always-on VPN connection. Use with vpn_config_disabled to prevent modification of this setting." +}, +"androidDevicePolicyTracks": { +"deprecated": true, +"description": "This setting is not supported. Any value is ignored.", +"items": { +"enum": [ +"APP_TRACK_UNSPECIFIED", +"PRODUCTION", +"BETA" +], +"enumDescriptions": [ +"This value is ignored.", +"The production track, which provides the latest stable release.", +"The beta track, which provides the latest beta release." +], +"type": "string" +}, +"type": "array" +}, +"appAutoUpdatePolicy": { +"description": "Recommended alternative: autoUpdateMode which is set per app, provides greater flexibility around update frequency.When autoUpdateMode is set to AUTO_UPDATE_POSTPONED or AUTO_UPDATE_HIGH_PRIORITY, this field has no effect.The app auto update policy, which controls when automatic app updates can be applied.", +"enum": [ +"APP_AUTO_UPDATE_POLICY_UNSPECIFIED", +"CHOICE_TO_THE_USER", +"NEVER", +"WIFI_ONLY", +"ALWAYS" +], +"enumDescriptions": [ +"The auto-update policy is not set. Equivalent to CHOICE_TO_THE_USER.", +"The user can control auto-updates.", +"Apps are never auto-updated.", +"Apps are auto-updated over Wi-Fi only.", +"Apps are auto-updated at any time. Data charges may apply." +], +"type": "string" +}, +"appFunctions": { +"description": "Optional. Controls whether apps on the device for fully managed devices or in the work profile for devices with work profiles are allowed to expose app functions.", +"enum": [ +"APP_FUNCTIONS_UNSPECIFIED", +"APP_FUNCTIONS_DISALLOWED", +"APP_FUNCTIONS_ALLOWED" +], +"enumDescriptions": [ +"Unspecified. Defaults to APP_FUNCTIONS_ALLOWED.", +"Apps on the device for fully managed devices or in the work profile for devices with work profiles are not allowed to expose app functions. If this is set, crossProfileAppFunctions must not be set to CROSS_PROFILE_APP_FUNCTIONS_ALLOWED, otherwise the policy will be rejected.", +"Apps on the device for fully managed devices or in the work profile for devices with work profiles are allowed to expose app functions." +], +"type": "string" +}, +"applications": { +"description": "Policy applied to apps. This can have at most 3,000 elements.", +"items": { +"$ref": "ApplicationPolicy" +}, +"type": "array" +}, +"assistContentPolicy": { +"description": "Optional. Controls whether AssistContent (https://developer.android.com/reference/android/app/assist/AssistContent) is allowed to be sent to a privileged app such as an assistant app. AssistContent includes screenshots and information about an app, such as package name. This is supported on Android 15 and above.", +"enum": [ +"ASSIST_CONTENT_POLICY_UNSPECIFIED", +"ASSIST_CONTENT_DISALLOWED", +"ASSIST_CONTENT_ALLOWED" +], +"enumDescriptions": [ +"Unspecified. Defaults to ASSIST_CONTENT_ALLOWED.", +"Assist content is blocked from being sent to a privileged app.Supported on Android 15 and above. A NonComplianceDetail with API_LEVEL is reported if the Android version is less than 15.", +"Assist content is allowed to be sent to a privileged app.Supported on Android 15 and above." +], +"type": "string" +}, +"autoDateAndTimeZone": { +"description": "Whether auto date, time, and time zone are enabled on a company-owned device. If this is set, then autoTimeRequired is ignored.", +"enum": [ +"AUTO_DATE_AND_TIME_ZONE_UNSPECIFIED", +"AUTO_DATE_AND_TIME_ZONE_USER_CHOICE", +"AUTO_DATE_AND_TIME_ZONE_ENFORCED" +], +"enumDescriptions": [ +"Unspecified. Defaults to AUTO_DATE_AND_TIME_ZONE_USER_CHOICE.", +"Auto date, time, and time zone are left to user's choice.", +"Enforce auto date, time, and time zone on the device." +], +"type": "string" +}, +"autoTimeRequired": { +"deprecated": true, +"description": "Whether auto time is required, which prevents the user from manually setting the date and time. If autoDateAndTimeZone is set, this field is ignored.", +"type": "boolean" +}, +"blockApplicationsEnabled": { +"deprecated": true, +"description": "This field has no effect.", +"type": "boolean" +}, +"bluetoothConfigDisabled": { +"description": "Whether configuring bluetooth is disabled.", +"type": "boolean" +}, +"bluetoothContactSharingDisabled": { +"description": "Whether bluetooth contact sharing is disabled.", +"type": "boolean" +}, +"bluetoothDisabled": { +"description": "Whether bluetooth is disabled. Prefer this setting over bluetooth_config_disabled because bluetooth_config_disabled can be bypassed by the user.", +"type": "boolean" +}, +"cameraAccess": { +"description": "Controls the use of the camera and whether the user has access to the camera access toggle.", +"enum": [ +"CAMERA_ACCESS_UNSPECIFIED", +"CAMERA_ACCESS_USER_CHOICE", +"CAMERA_ACCESS_DISABLED", +"CAMERA_ACCESS_ENFORCED" +], +"enumDescriptions": [ +"If camera_disabled is true, this is equivalent to CAMERA_ACCESS_DISABLED. Otherwise, this is equivalent to CAMERA_ACCESS_USER_CHOICE.", +"The field camera_disabled is ignored. This is the default device behaviour: all cameras on the device are available. On Android 12 and above, the user can use the camera access toggle.", +"The field camera_disabled is ignored. All cameras on the device are disabled (for fully managed devices, this applies device-wide and for work profiles this applies only to the work profile).There are no explicit restrictions placed on the camera access toggle on Android 12 and above: on fully managed devices, the camera access toggle has no effect as all cameras are disabled. On devices with a work profile, this toggle has no effect on apps in the work profile, but it affects apps outside the work profile.", +"The field camera_disabled is ignored. All cameras on the device are available. On fully managed devices running Android 12 and above, the user is unable to use the camera access toggle. On devices which are not fully managed or which run Android 11 or below, this is equivalent to CAMERA_ACCESS_USER_CHOICE." +], +"type": "string" +}, +"cameraDisabled": { +"deprecated": true, +"description": "If camera_access is set to any value other than CAMERA_ACCESS_UNSPECIFIED, this has no effect. Otherwise this field controls whether cameras are disabled: If true, all cameras are disabled, otherwise they are available. For fully managed devices this field applies for all apps on the device. For work profiles, this field applies only to apps in the work profile, and the camera access of apps outside the work profile is unaffected.", +"type": "boolean" +}, +"cellBroadcastsConfigDisabled": { +"description": "Whether configuring cell broadcast is disabled.", +"type": "boolean" +}, +"choosePrivateKeyRules": { +"description": "Rules for determining apps' access to private keys. See ChoosePrivateKeyRule for details. This must be empty if any application has CERT_SELECTION delegation scope.", +"items": { +"$ref": "ChoosePrivateKeyRule" +}, +"type": "array" +}, +"complianceRules": { +"deprecated": true, +"description": "Rules declaring which mitigating actions to take when a device is not compliant with its policy. When the conditions for multiple rules are satisfied, all of the mitigating actions for the rules are taken. There is a maximum limit of 100 rules. Use policy enforcement rules instead.", +"items": { +"$ref": "ComplianceRule" +}, +"type": "array" +}, +"createWindowsDisabled": { +"description": "Whether creating windows besides app windows is disabled.", +"type": "boolean" +}, +"credentialProviderPolicyDefault": { +"description": "Controls which apps are allowed to act as credential providers on Android 14 and above. These apps store credentials, see this (https://developer.android.com/training/sign-in/passkeys) and this (https://developer.android.com/reference/androidx/credentials/CredentialManager) for details. See also credentialProviderPolicy.", +"enum": [ +"CREDENTIAL_PROVIDER_POLICY_DEFAULT_UNSPECIFIED", +"CREDENTIAL_PROVIDER_DEFAULT_DISALLOWED", +"CREDENTIAL_PROVIDER_DEFAULT_DISALLOWED_EXCEPT_SYSTEM" +], +"enumDescriptions": [ +"Unspecified. Defaults to CREDENTIAL_PROVIDER_DEFAULT_DISALLOWED.", +"Apps with credentialProviderPolicy unspecified are not allowed to act as a credential provider.", +"Apps with credentialProviderPolicy unspecified are not allowed to act as a credential provider except for the OEM default credential providers. OEM default credential providers are always allowed to act as credential providers." +], +"type": "string" +}, +"credentialsConfigDisabled": { +"description": "Whether configuring user credentials is disabled.", +"type": "boolean" +}, +"crossProfilePolicies": { +"$ref": "CrossProfilePolicies", +"description": "Cross-profile policies applied on the device." +}, +"dataRoamingDisabled": { +"description": "Whether roaming data services are disabled.", +"type": "boolean" +}, +"debuggingFeaturesAllowed": { +"deprecated": true, +"description": "Whether the user is allowed to enable debugging features.", +"type": "boolean" +}, +"defaultApplicationSettings": { +"description": "Optional. The default application setting for supported types. If the default application is successfully set for at least one app type on a profile, users are prevented from changing any default applications on that profile.Only one DefaultApplicationSetting is allowed for each DefaultApplicationType.See Default application settings (https://developers.google.com/android/management/default-application-settings) guide for more details.", +"items": { +"$ref": "DefaultApplicationSetting" +}, +"type": "array" +}, +"defaultPermissionPolicy": { +"description": "The default permission policy for runtime permission requests.", +"enum": [ +"PERMISSION_POLICY_UNSPECIFIED", +"PROMPT", +"GRANT", +"DENY" +], +"enumDescriptions": [ +"Policy not specified. If no policy is specified for a permission at any level, then the PROMPT behavior is used by default.", +"Prompt the user to grant a permission.", +"Automatically grant a permission.On Android 12 and above, READ_SMS (https://developer.android.com/reference/android/Manifest.permission#READ_SMS) and following sensor-related permissions can only be granted on fully managed devices: ACCESS_FINE_LOCATION (https://developer.android.com/reference/android/Manifest.permission#ACCESS_FINE_LOCATION) ACCESS_BACKGROUND_LOCATION (https://developer.android.com/reference/android/Manifest.permission#ACCESS_BACKGROUND_LOCATION) ACCESS_COARSE_LOCATION (https://developer.android.com/reference/android/Manifest.permission#ACCESS_COARSE_LOCATION) CAMERA (https://developer.android.com/reference/android/Manifest.permission#CAMERA) RECORD_AUDIO (https://developer.android.com/reference/android/Manifest.permission#RECORD_AUDIO) ACTIVITY_RECOGNITION (https://developer.android.com/reference/android/Manifest.permission#ACTIVITY_RECOGNITION) BODY_SENSORS (https://developer.android.com/reference/android/Manifest.permission#BODY_SENSORS)", +"Automatically deny a permission." +], +"type": "string" +}, +"deviceConnectivityManagement": { +"$ref": "DeviceConnectivityManagement", +"description": "Covers controls for device connectivity such as Wi-Fi, USB data access, keyboard/mouse connections, and more." +}, +"deviceOwnerLockScreenInfo": { +"$ref": "UserFacingMessage", +"description": "The device owner information to be shown on the lock screen." +}, +"deviceRadioState": { +"$ref": "DeviceRadioState", +"description": "Covers controls for radio state such as Wi-Fi, bluetooth, and more." +}, +"displaySettings": { +"$ref": "DisplaySettings", +"description": "Optional. Controls for the display settings." +}, +"encryptionPolicy": { +"description": "Whether encryption is enabled", +"enum": [ +"ENCRYPTION_POLICY_UNSPECIFIED", +"ENABLED_WITHOUT_PASSWORD", +"ENABLED_WITH_PASSWORD" +], +"enumDescriptions": [ +"This value is ignored, i.e. no encryption required", +"Encryption required but no password required to boot", +"Encryption required with password required to boot" +], +"type": "string" +}, +"ensureVerifyAppsEnabled": { +"deprecated": true, +"description": "Whether app verification is force-enabled.", +"type": "boolean" +}, +"enterpriseDisplayNameVisibility": { +"description": "Optional. Controls whether the enterpriseDisplayName is visible on the device (e.g. lock screen message on company-owned devices).", +"enum": [ +"ENTERPRISE_DISPLAY_NAME_VISIBILITY_UNSPECIFIED", +"ENTERPRISE_DISPLAY_NAME_VISIBLE", +"ENTERPRISE_DISPLAY_NAME_HIDDEN" +], +"enumDescriptions": [ +"Unspecified. Defaults to displaying the enterprise name that's set at the time of device setup. In future, this will default to ENTERPRISE_DISPLAY_NAME_VISIBLE.", +"The enterprise display name is visible on the device. Supported on work profiles on Android 7 and above. Supported on fully managed devices on Android 8 and above. A NonComplianceDetail with API_LEVEL is reported if the Android version is less than 7. A NonComplianceDetail with MANAGEMENT_MODE is reported on fully managed devices on Android 7.", +"The enterprise display name is hidden on the device." +], +"type": "string" +}, +"factoryResetDisabled": { +"description": "Whether factory resetting from settings is disabled.", +"type": "boolean" +}, +"frpAdminEmails": { +"description": "Email addresses of device administrators for factory reset protection. When the device is factory reset, it will require one of these admins to log in with the Google account email and password to unlock the device. If no admins are specified, the device won't provide factory reset protection.", +"items": { +"type": "string" +}, +"type": "array" +}, +"funDisabled": { +"description": "Whether the user is allowed to have fun. Controls whether the Easter egg game in Settings is disabled.", +"type": "boolean" +}, +"installAppsDisabled": { +"description": "Whether user installation of apps is disabled.", +"type": "boolean" +}, +"installUnknownSourcesAllowed": { +"deprecated": true, +"description": "This field has no effect.", +"type": "boolean" +}, +"keyguardDisabled": { +"description": "If true, this disables the Lock Screen (https://source.android.com/docs/core/display/multi_display/lock-screen) for primary and/or secondary displays. This policy is supported only in dedicated device management mode.", +"type": "boolean" +}, +"keyguardDisabledFeatures": { +"description": "Disabled keyguard customizations, such as widgets.", +"items": { +"enum": [ +"KEYGUARD_DISABLED_FEATURE_UNSPECIFIED", +"CAMERA", +"NOTIFICATIONS", +"UNREDACTED_NOTIFICATIONS", +"TRUST_AGENTS", +"DISABLE_FINGERPRINT", +"DISABLE_REMOTE_INPUT", +"FACE", +"IRIS", +"BIOMETRICS", +"SHORTCUTS", +"ALL_FEATURES" +], +"enumDescriptions": [ +"This value is ignored.", +"Disable the camera on secure keyguard screens (e.g. PIN).", +"Disable showing all notifications on secure keyguard screens.", +"Disable unredacted notifications on secure keyguard screens.", +"Ignore trust agent state on secure keyguard screens.", +"Disable fingerprint sensor on secure keyguard screens.", +"On devices running Android 6 and below, disables text entry into notifications on secure keyguard screens. Has no effect on Android 7 and above.", +"Disable face authentication on secure keyguard screens.", +"Disable iris authentication on secure keyguard screens.", +"Disable all biometric authentication on secure keyguard screens.", +"Disable all shortcuts on secure keyguard screen on Android 14 and above.", +"Disable all current and future keyguard customizations." +], +"type": "string" +}, +"type": "array" +}, +"kioskCustomLauncherEnabled": { +"description": "Whether the kiosk custom launcher is enabled. This replaces the home screen with a launcher that locks down the device to the apps installed via the applications setting. Apps appear on a single page in alphabetical order. Use kioskCustomization to further configure the kiosk device behavior.", +"type": "boolean" +}, +"kioskCustomization": { +"$ref": "KioskCustomization", +"description": "Settings controlling the behavior of a device in kiosk mode. To enable kiosk mode, set kioskCustomLauncherEnabled to true or specify an app in the policy with installType KIOSK." +}, +"locationMode": { +"description": "The degree of location detection enabled.", +"enum": [ +"LOCATION_MODE_UNSPECIFIED", +"HIGH_ACCURACY", +"SENSORS_ONLY", +"BATTERY_SAVING", +"OFF", +"LOCATION_USER_CHOICE", +"LOCATION_ENFORCED", +"LOCATION_DISABLED" +], +"enumDeprecated": [ +false, +true, +true, +true, +true, +false, +false, +false +], +"enumDescriptions": [ +"Defaults to LOCATION_USER_CHOICE.", +"On Android 8 and below, all location detection methods are enabled, including GPS, networks, and other sensors. On Android 9 and above, this is equivalent to LOCATION_ENFORCED.", +"On Android 8 and below, only GPS and other sensors are enabled. On Android 9 and above, this is equivalent to LOCATION_ENFORCED.", +"On Android 8 and below, only the network location provider is enabled. On Android 9 and above, this is equivalent to LOCATION_ENFORCED.", +"On Android 8 and below, location setting and accuracy are disabled. On Android 9 and above, this is equivalent to LOCATION_DISABLED.", +"Location setting is not restricted on the device. No specific behavior is set or enforced.", +"Enable location setting on the device. Important: On Android 11 and above, work profiles on company-owned devices cannot directly enforce enabling of location services. When LOCATION_ENFORCED is set, then a NonComplianceDetail with USER_ACTION is reported. Compliance can only be restored once the user manually turns on location services through the device's Settings application. ", +"Disable location setting on the device. Important: On Android 11 and above, work profiles on company-owned devices cannot directly enforce disabling of location services. When LOCATION_DISABLED is set, then a nonComplianceDetail with USER_ACTION is reported. Compliance can only be restored once the user manually turns off location services through the device's Settings application. " +], +"type": "string" +}, +"longSupportMessage": { +"$ref": "UserFacingMessage", +"description": "A message displayed to the user in the device administators settings screen." +}, +"maximumTimeToLock": { +"description": "Maximum time in milliseconds for user activity until the device locks. A value of 0 means there is no restriction.", +"format": "int64", +"type": "string" +}, +"microphoneAccess": { +"description": "Controls the use of the microphone and whether the user has access to the microphone access toggle. This applies only on fully managed devices.", +"enum": [ +"MICROPHONE_ACCESS_UNSPECIFIED", +"MICROPHONE_ACCESS_USER_CHOICE", +"MICROPHONE_ACCESS_DISABLED", +"MICROPHONE_ACCESS_ENFORCED" +], +"enumDescriptions": [ +"If unmute_microphone_disabled is true, this is equivalent to MICROPHONE_ACCESS_DISABLED. Otherwise, this is equivalent to MICROPHONE_ACCESS_USER_CHOICE.", +"The field unmute_microphone_disabled is ignored. This is the default device behaviour: the microphone on the device is available. On Android 12 and above, the user can use the microphone access toggle.", +"The field unmute_microphone_disabled is ignored. The microphone on the device is disabled (for fully managed devices, this applies device-wide).The microphone access toggle has no effect as the microphone is disabled.", +"The field unmute_microphone_disabled is ignored. The microphone on the device is available. On devices running Android 12 and above, the user is unable to use the microphone access toggle. On devices which run Android 11 or below, this is equivalent to MICROPHONE_ACCESS_USER_CHOICE." +], +"type": "string" +}, +"minimumApiLevel": { +"description": "The minimum allowed Android API level.", +"format": "int32", +"type": "integer" +}, +"mobileNetworksConfigDisabled": { +"description": "Whether configuring mobile networks is disabled.", +"type": "boolean" +}, +"modifyAccountsDisabled": { +"description": "Whether adding or removing accounts is disabled.", +"type": "boolean" +}, +"mountPhysicalMediaDisabled": { +"description": "Whether the user mounting physical external media is disabled.", +"type": "boolean" +}, +"name": { +"description": "The name of the policy in the form enterprises/{enterpriseId}/policies/{policyId}.", +"type": "string" +}, +"networkEscapeHatchEnabled": { +"description": "Whether the network escape hatch is enabled. If a network connection can't be made at boot time, the escape hatch prompts the user to temporarily connect to a network in order to refresh the device policy. After applying policy, the temporary network will be forgotten and the device will continue booting. This prevents being unable to connect to a network if there is no suitable network in the last policy and the device boots into an app in lock task mode, or the user is otherwise unable to reach device settings.Note: Setting wifiConfigDisabled to true will override this setting under specific circumstances. Please see wifiConfigDisabled for further details. Setting configureWifi to DISALLOW_CONFIGURING_WIFI will override this setting under specific circumstances. Please see DISALLOW_CONFIGURING_WIFI for further details.", +"type": "boolean" +}, +"networkResetDisabled": { +"description": "Whether resetting network settings is disabled.", +"type": "boolean" +}, +"oncCertificateProviders": { +"description": "This feature is not generally available.", +"items": { +"$ref": "OncCertificateProvider" +}, +"type": "array" +}, +"openNetworkConfiguration": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"description": "Network configuration for the device. See configure networks for more information.", +"type": "object" +}, +"outgoingBeamDisabled": { +"description": "Whether using NFC to beam data from apps is disabled.", +"type": "boolean" +}, +"outgoingCallsDisabled": { +"description": "Whether outgoing calls are disabled.", +"type": "boolean" +}, +"passwordPolicies": { +"description": "Password requirement policies. Different policies can be set for work profile or fully managed devices by setting the password_scope field in the policy.", +"items": { +"$ref": "PasswordRequirements" +}, +"type": "array" +}, +"passwordRequirements": { +"$ref": "PasswordRequirements", +"deprecated": true, +"description": "Password requirements. The field password_requirements.require_password_unlock must not be set. DEPRECATED - Use passwordPolicies.Note:Complexity-based values of PasswordQuality, that is, COMPLEXITY_LOW, COMPLEXITY_MEDIUM, and COMPLEXITY_HIGH, cannot be used here. unified_lock_settings cannot be used here." +}, +"permissionGrants": { +"description": "Explicit permission or group grants or denials for all apps. These values override the default_permission_policy.", +"items": { +"$ref": "PermissionGrant" +}, +"type": "array" +}, +"permittedAccessibilityServices": { +"$ref": "PackageNameList", +"description": "Specifies permitted accessibility services. If the field is not set, any accessibility service can be used. If the field is set, only the accessibility services in this list and the system's built-in accessibility service can be used. In particular, if the field is set to empty, only the system's built-in accessibility servicess can be used. This can be set on fully managed devices and on work profiles. When applied to a work profile, this affects both the personal profile and the work profile." +}, +"permittedInputMethods": { +"$ref": "PackageNameList", +"description": "If present, only the input methods provided by packages in this list are permitted. If this field is present, but the list is empty, then only system input methods are permitted." +}, +"persistentPreferredActivities": { +"description": "Default intent handler activities.", +"items": { +"$ref": "PersistentPreferredActivity" +}, +"type": "array" +}, +"personalUsagePolicies": { +"$ref": "PersonalUsagePolicies", +"description": "Policies managing personal usage on a company-owned device." +}, +"playStoreMode": { +"description": "This mode controls which apps are available to the user in the Play Store and the behavior on the device when apps are removed from the policy.", +"enum": [ +"PLAY_STORE_MODE_UNSPECIFIED", +"WHITELIST", +"BLACKLIST" +], +"enumDescriptions": [ +"Unspecified. Defaults to WHITELIST.", +"Only apps that are in the policy are available and any app not in the policy will be automatically uninstalled from the device.", +"All apps are available and any app that should not be on the device should be explicitly marked as 'BLOCKED' in the applications policy." +], +"type": "string" +}, +"policyEnforcementRules": { +"description": "Rules that define the behavior when a particular policy can not be applied on device", +"items": { +"$ref": "PolicyEnforcementRule" +}, +"type": "array" +}, +"preferentialNetworkService": { +"description": "Controls whether preferential network service is enabled on the work profile or on fully managed devices. For example, an organization may have an agreement with a carrier that all of the work data from its employees' devices will be sent via a network service dedicated for enterprise use. An example of a supported preferential network service is the enterprise slice on 5G networks. This policy has no effect if preferentialNetworkServiceSettings or ApplicationPolicy.preferentialNetworkId is set on devices running Android 13 or above.", +"enum": [ +"PREFERENTIAL_NETWORK_SERVICE_UNSPECIFIED", +"PREFERENTIAL_NETWORK_SERVICE_DISABLED", +"PREFERENTIAL_NETWORK_SERVICE_ENABLED" +], +"enumDescriptions": [ +"Unspecified. Defaults to PREFERENTIAL_NETWORK_SERVICES_DISABLED.", +"Preferential network service is disabled on the work profile.", +"Preferential network service is enabled on the work profile. This setting is only supported on work profiles on devices running Android 12 or above. Starting with Android 13, fully managed devices are also supported." +], +"type": "string" +}, +"printingPolicy": { +"description": "Optional. Controls whether printing is allowed. This is supported on devices running Android 9 and above. .", +"enum": [ +"PRINTING_POLICY_UNSPECIFIED", +"PRINTING_DISALLOWED", +"PRINTING_ALLOWED" +], +"enumDescriptions": [ +"Unspecified. Defaults to PRINTING_ALLOWED.", +"Printing is disallowed. A NonComplianceDetail with API_LEVEL is reported if the Android version is less than 9.", +"Printing is allowed." +], +"type": "string" +}, +"privateKeySelectionEnabled": { +"description": "Allows showing UI on a device for a user to choose a private key alias if there are no matching rules in ChoosePrivateKeyRules. For devices below Android P, setting this may leave enterprise keys vulnerable. This value will have no effect if any application has CERT_SELECTION delegation scope.", +"type": "boolean" +}, +"recommendedGlobalProxy": { +"$ref": "ProxyInfo", +"description": "The network-independent global HTTP proxy. Typically proxies should be configured per-network in open_network_configuration. However for unusual configurations like general internal filtering a global HTTP proxy may be useful. If the proxy is not accessible, network access may break. The global proxy is only a recommendation and some apps may ignore it." +}, +"removeUserDisabled": { +"description": "Whether removing other users is disabled.", +"type": "boolean" +}, +"safeBootDisabled": { +"deprecated": true, +"description": "Whether rebooting the device into safe boot is disabled.", +"type": "boolean" +}, +"screenCaptureDisabled": { +"description": "Whether screen capture is disabled.", +"type": "boolean" +}, +"setUserIconDisabled": { +"description": "Whether changing the user icon is disabled. This applies only on devices running Android 7 and above.", +"type": "boolean" +}, +"setWallpaperDisabled": { +"description": "Whether changing the wallpaper is disabled.", +"type": "boolean" +}, +"setupActions": { +"description": "Action to take during the setup process. At most one action may be specified.", +"items": { +"$ref": "SetupAction" +}, +"type": "array" +}, +"shareLocationDisabled": { +"description": "Whether location sharing is disabled.", +"type": "boolean" +}, +"shortSupportMessage": { +"$ref": "UserFacingMessage", +"description": "A message displayed to the user in the settings screen wherever functionality has been disabled by the admin. If the message is longer than 200 characters it may be truncated." +}, +"skipFirstUseHintsEnabled": { +"description": "Flag to skip hints on the first use. Enterprise admin can enable the system recommendation for apps to skip their user tutorial and other introductory hints on first start-up.", +"type": "boolean" +}, +"smsDisabled": { +"description": "Whether sending and receiving SMS messages is disabled.", +"type": "boolean" +}, +"statusBarDisabled": { +"deprecated": true, +"description": "Whether the status bar is disabled. This disables notifications, quick settings, and other screen overlays that allow escape from full-screen mode. DEPRECATED. To disable the status bar on a kiosk device, use InstallType KIOSK or kioskCustomLauncherEnabled.", +"type": "boolean" +}, +"statusReportingSettings": { +"$ref": "StatusReportingSettings", +"description": "Status reporting settings" +}, +"stayOnPluggedModes": { +"description": "The battery plugged in modes for which the device stays on. When using this setting, it is recommended to clear maximum_time_to_lock so that the device doesn't lock itself while it stays on.", +"items": { +"enum": [ +"BATTERY_PLUGGED_MODE_UNSPECIFIED", +"AC", +"USB", +"WIRELESS" +], +"enumDescriptions": [ +"This value is ignored.", +"Power source is an AC charger.", +"Power source is a USB port.", +"Power source is wireless." +], +"type": "string" +}, +"type": "array" +}, +"systemUpdate": { +"$ref": "SystemUpdate", +"description": "The system update policy, which controls how OS updates are applied. If the update type is WINDOWED, the update window will automatically apply to Play app updates as well.Note: Google Play system updates (https://source.android.com/docs/core/ota/modular-system) (also called Mainline updates) are automatically downloaded and require a device reboot to be installed. Refer to the mainline section in Manage system updates (https://developer.android.com/work/dpc/system-updates#mainline) for further details." +}, +"tetheringConfigDisabled": { +"deprecated": true, +"description": "Whether configuring tethering and portable hotspots is disabled. If tetheringSettings is set to anything other than TETHERING_SETTINGS_UNSPECIFIED, this setting is ignored.", +"type": "boolean" +}, +"uninstallAppsDisabled": { +"description": "Whether user uninstallation of applications is disabled. This prevents apps from being uninstalled, even those removed using applications", +"type": "boolean" +}, +"unmuteMicrophoneDisabled": { +"deprecated": true, +"description": "If microphone_access is set to any value other than MICROPHONE_ACCESS_UNSPECIFIED, this has no effect. Otherwise this field controls whether microphones are disabled: If true, all microphones are disabled, otherwise they are available. This is available only on fully managed devices.", +"type": "boolean" +}, +"usageLog": { +"$ref": "UsageLog", +"description": "Configuration of device activity logging." +}, +"usbFileTransferDisabled": { +"deprecated": true, +"description": "Whether transferring files over USB is disabled. This is supported only on company-owned devices.", +"type": "boolean" +}, +"usbMassStorageEnabled": { +"deprecated": true, +"description": "Whether USB storage is enabled. Deprecated.", +"type": "boolean" +}, +"version": { +"description": "The version of the policy. This is a read-only field. The version is incremented each time the policy is updated.", +"format": "int64", +"type": "string" +}, +"vpnConfigDisabled": { +"description": "Whether configuring VPN is disabled.", +"type": "boolean" +}, +"wifiConfigDisabled": { +"deprecated": true, +"description": "Whether configuring Wi-Fi networks is disabled. Supported on fully managed devices and work profiles on company-owned devices. For fully managed devices, setting this to true removes all configured networks and retains only the networks configured using openNetworkConfiguration. For work profiles on company-owned devices, existing configured networks are not affected and the user is not allowed to add, remove, or modify Wi-Fi networks. If configureWifi is set to anything other than CONFIGURE_WIFI_UNSPECIFIED, this setting is ignored. Note: If a network connection can't be made at boot time and configuring Wi-Fi is disabled then network escape hatch will be shown in order to refresh the device policy (see networkEscapeHatchEnabled).", +"type": "boolean" +}, +"wifiConfigsLockdownEnabled": { +"deprecated": true, +"description": "This is deprecated.", +"type": "boolean" +}, +"wipeDataFlags": { +"description": "Optional. Wipe flags to indicate what data is wiped when a device or profile wipe is triggered due to any reason (for example, non-compliance). This does not apply to the enterprises.devices.delete method. . This list must not have duplicates.", +"items": { +"enum": [ +"WIPE_DATA_FLAG_UNSPECIFIED", +"WIPE_ESIMS" +], +"enumDescriptions": [ +"This value must not be used.", +"For company-owned devices, setting this in wipeDataFlags will remove all eSIMs on the device when wipe is triggered due to any reason. On personally-owned devices, this will remove only managed eSIMs on the device (eSIMs which are added via the ADD_ESIM command). This is supported on devices running Android 15 and above. A NonComplianceDetail with API_LEVEL is reported if the Android version is less than 15. For devices running on Android 16 or higher, managed eSIMs are always wiped when work profile is removed for personally-owned devices, whether this flag is provided or not." +], +"type": "string" +}, +"type": "array" +}, +"workAccountSetupConfig": { +"$ref": "WorkAccountSetupConfig", +"description": "Optional. Controls the work account setup configuration, such as details of whether a Google authenticated account is required." +} +}, +"type": "object" +}, +"PolicyEnforcementRule": { +"description": "A rule that defines the actions to take if a device or work profile is not compliant with the policy specified in settingName. In the case of multiple matching or multiple triggered enforcement rules, a merge will occur with the most severe action being taken. However, all triggered rules are still kept track of: this includes initial trigger time and all associated non-compliance details. In the situation where the most severe enforcement rule is satisfied, the next most appropriate action is applied.", +"id": "PolicyEnforcementRule", +"properties": { +"blockAction": { +"$ref": "BlockAction", +"description": "An action to block access to apps and data on a company owned device or in a work profile. This action also triggers a user-facing notification with information (where possible) on how to correct the compliance issue. Note: wipeAction must also be specified." +}, +"settingName": { +"description": "The top-level policy to enforce. For example, applications or passwordPolicies.", +"type": "string" +}, +"wipeAction": { +"$ref": "WipeAction", +"description": "An action to reset a company owned device or delete a work profile. Note: blockAction must also be specified." +} +}, +"type": "object" +}, +"PostureDetail": { +"description": "Additional details regarding the security posture of the device.", +"id": "PostureDetail", +"properties": { +"advice": { +"description": "Corresponding admin-facing advice to mitigate this security risk and improve the security posture of the device.", +"items": { +"$ref": "UserFacingMessage" +}, +"type": "array" +}, +"securityRisk": { +"description": "A specific security risk that negatively affects the security posture of the device.", +"enum": [ +"SECURITY_RISK_UNSPECIFIED", +"UNKNOWN_OS", +"COMPROMISED_OS", +"HARDWARE_BACKED_EVALUATION_FAILED" +], +"enumDescriptions": [ +"Unspecified.", +"Play Integrity API detects that the device is running an unknown OS (basicIntegrity check succeeds but ctsProfileMatch fails).", +"Play Integrity API detects that the device is running a compromised OS (basicIntegrity check fails).", +"Play Integrity API detects that the device does not have a strong guarantee of system integrity, if the MEETS_STRONG_INTEGRITY label doesn't show in the device integrity field (https://developer.android.com/google/play/integrity/verdicts#device-integrity-field)." +], +"type": "string" +} +}, +"type": "object" +}, +"PowerManagementEvent": { +"description": "A power management event.", +"id": "PowerManagementEvent", +"properties": { +"batteryLevel": { +"description": "For BATTERY_LEVEL_COLLECTED events, the battery level as a percentage.", +"format": "float", +"type": "number" +}, +"createTime": { +"description": "The creation time of the event.", +"format": "google-datetime", +"type": "string" +}, +"eventType": { +"description": "Event type.", +"enum": [ +"POWER_MANAGEMENT_EVENT_TYPE_UNSPECIFIED", +"BATTERY_LEVEL_COLLECTED", +"POWER_CONNECTED", +"POWER_DISCONNECTED", +"BATTERY_LOW", +"BATTERY_OKAY", +"BOOT_COMPLETED", +"SHUTDOWN" +], +"enumDescriptions": [ +"Unspecified. No events have this type.", +"Battery level was measured.", +"The device started charging.", +"The device stopped charging.", +"The device entered low-power mode.", +"The device exited low-power mode.", +"The device booted.", +"The device shut down." +], +"type": "string" +} +}, +"type": "object" +}, +"PreferentialNetworkServiceConfig": { +"description": "Individual preferential network service configuration.", +"id": "PreferentialNetworkServiceConfig", +"properties": { +"fallbackToDefaultConnection": { +"description": "Optional. Whether fallback to the device-wide default network is allowed. If this is set to FALLBACK_TO_DEFAULT_CONNECTION_ALLOWED, then nonMatchingNetworks must not be set to NON_MATCHING_NETWORKS_DISALLOWED, the policy will be rejected otherwise. Note: If this is set to FALLBACK_TO_DEFAULT_CONNECTION_DISALLOWED, applications are not able to access the internet if the 5G slice is not available.", +"enum": [ +"FALLBACK_TO_DEFAULT_CONNECTION_UNSPECIFIED", +"FALLBACK_TO_DEFAULT_CONNECTION_ALLOWED", +"FALLBACK_TO_DEFAULT_CONNECTION_DISALLOWED" +], +"enumDescriptions": [ +"Unspecified. Defaults to FALLBACK_TO_DEFAULT_CONNECTION_ALLOWED.", +"Fallback to default connection is allowed. If this is set, nonMatchingNetworks must not be set to NON_MATCHING_NETWORKS_DISALLOWED, the policy will be rejected otherwise.", +"Fallback to default connection is not allowed." +], +"type": "string" +}, +"nonMatchingNetworks": { +"description": "Optional. Whether apps this configuration applies to are blocked from using networks other than the preferential service. If this is set to NON_MATCHING_NETWORKS_DISALLOWED, then fallbackToDefaultConnection must be set to FALLBACK_TO_DEFAULT_CONNECTION_DISALLOWED.", +"enum": [ +"NON_MATCHING_NETWORKS_UNSPECIFIED", +"NON_MATCHING_NETWORKS_ALLOWED", +"NON_MATCHING_NETWORKS_DISALLOWED" +], +"enumDescriptions": [ +"Unspecified. Defaults to NON_MATCHING_NETWORKS_ALLOWED.", +"Apps this configuration applies to are allowed to use networks other than the preferential service.", +"Apps this configuration applies to are disallowed from using other networks than the preferential service. This can be set on Android 14 and above. A NonComplianceDetail with API_LEVEL is reported if the Android version is less than 14. If this is set, fallbackToDefaultConnection must be set to FALLBACK_TO_DEFAULT_CONNECTION_DISALLOWED, the policy will be rejected otherwise." +], +"type": "string" +}, +"preferentialNetworkId": { +"description": "Required. Preferential network identifier. This must not be set to NO_PREFERENTIAL_NETWORK or PREFERENTIAL_NETWORK_ID_UNSPECIFIED, the policy will be rejected otherwise.", +"enum": [ +"PREFERENTIAL_NETWORK_ID_UNSPECIFIED", +"NO_PREFERENTIAL_NETWORK", +"PREFERENTIAL_NETWORK_ID_ONE", +"PREFERENTIAL_NETWORK_ID_TWO", +"PREFERENTIAL_NETWORK_ID_THREE", +"PREFERENTIAL_NETWORK_ID_FOUR", +"PREFERENTIAL_NETWORK_ID_FIVE" +], +"enumDescriptions": [ +"Whether this value is valid and what it means depends on where it is used, and this is documented on the relevant fields.", +"Application does not use any preferential network.", +"Preferential network identifier 1.", +"Preferential network identifier 2.", +"Preferential network identifier 3.", +"Preferential network identifier 4.", +"Preferential network identifier 5." +], +"type": "string" +} +}, +"type": "object" +}, +"PreferentialNetworkServiceSettings": { +"description": "Preferential network service settings.", +"id": "PreferentialNetworkServiceSettings", +"properties": { +"defaultPreferentialNetworkId": { +"description": "Required. Default preferential network ID for the applications that are not in applications or if ApplicationPolicy.preferentialNetworkId is set to PREFERENTIAL_NETWORK_ID_UNSPECIFIED. There must be a configuration for the specified network ID in preferentialNetworkServiceConfigs, unless this is set to NO_PREFERENTIAL_NETWORK. If set to PREFERENTIAL_NETWORK_ID_UNSPECIFIED or unset, this defaults to NO_PREFERENTIAL_NETWORK. Note: If the default preferential network is misconfigured, applications with no ApplicationPolicy.preferentialNetworkId set are not able to access the internet. This setting does not apply to the following critical apps: com.google.android.apps.work.clouddpc com.google.android.gmsApplicationPolicy.preferentialNetworkId can still be used to configure the preferential network for them.", +"enum": [ +"PREFERENTIAL_NETWORK_ID_UNSPECIFIED", +"NO_PREFERENTIAL_NETWORK", +"PREFERENTIAL_NETWORK_ID_ONE", +"PREFERENTIAL_NETWORK_ID_TWO", +"PREFERENTIAL_NETWORK_ID_THREE", +"PREFERENTIAL_NETWORK_ID_FOUR", +"PREFERENTIAL_NETWORK_ID_FIVE" +], +"enumDescriptions": [ +"Whether this value is valid and what it means depends on where it is used, and this is documented on the relevant fields.", +"Application does not use any preferential network.", +"Preferential network identifier 1.", +"Preferential network identifier 2.", +"Preferential network identifier 3.", +"Preferential network identifier 4.", +"Preferential network identifier 5." +], +"type": "string" +}, +"preferentialNetworkServiceConfigs": { +"description": "Required. Preferential network service configurations which enables having multiple enterprise slices. There must not be multiple configurations with the same preferentialNetworkId. If a configuration is not referenced by any application by setting ApplicationPolicy.preferentialNetworkId or by setting defaultPreferentialNetworkId, it will be ignored. For devices on 4G networks, enterprise APN needs to be configured additionally to set up data call for preferential network service. These APNs can be added using apnPolicy.", +"items": { +"$ref": "PreferentialNetworkServiceConfig" +}, +"type": "array" +} +}, +"type": "object" +}, +"PrivateDnsSettings": { +"description": "Controls the device's private DNS settings.", +"id": "PrivateDnsSettings", +"properties": { +"privateDnsHost": { +"description": "Optional. The hostname of the DNS server. This must be set if and only if private_dns_mode is set to PRIVATE_DNS_SPECIFIED_HOST. Supported on Android 10 and above on fully managed devices. A NonComplianceDetail with MANAGEMENT_MODE is reported on other management modes. A NonComplianceDetail with API_LEVEL is reported if the Android version is less than 10. A NonComplianceDetail with PENDING is reported if the device is not connected to a network. A NonComplianceDetail with nonComplianceReason INVALID_VALUE and specificNonComplianceReason PRIVATE_DNS_HOST_NOT_SERVING is reported if the specified host is not a DNS server or not supported on Android. A NonComplianceReason with nonComplianceReason INVALID_VALUE is reported if applying this setting fails for any other reason.", +"type": "string" +}, +"privateDnsMode": { +"description": "Optional. The configuration mode for device's global private DNS settings. If this is set to PRIVATE_DNS_SPECIFIED_HOST, then private_dns_host must be set.", +"enum": [ +"PRIVATE_DNS_MODE_UNSPECIFIED", +"PRIVATE_DNS_USER_CHOICE", +"PRIVATE_DNS_AUTOMATIC", +"PRIVATE_DNS_SPECIFIED_HOST" +], +"enumDescriptions": [ +"Unspecified. Defaults to PRIVATE_DNS_USER_CHOICE.", +"The user is allowed to configure private DNS.", +"Automatic private DNS mode. The device tries to use the network-provided DNS server over an encrypted connection before resorting to cleartext. The user is not allowed to modify this setting. Supported on Android 10 and above on fully managed devices and work profiles on company-owned devices. A NonComplianceDetail with MANAGEMENT_MODE is reported on other management modes. A NonComplianceDetail with API_LEVEL is reported if the Android version is less than 10. A NonComplianceReason with INVALID_VALUE is reported if setting this fails for any other reason.Note: For work profiles on company-owned devices, setting this mode prevents the user from changing the setting, but the active private DNS setting is not modified. A NonComplianceDetail with MANAGEMENT_MODE is reported in this case.", +"The device only uses the DNS server specified in private_dns_host. The user is not allowed to modify this setting. If this is set, then private_dns_host must be set. Supported on Android 10 and above on fully managed devices. A NonComplianceDetail with MANAGEMENT_MODE is reported on other management modes. A NonComplianceDetail with API_LEVEL is reported if the Android version is less than 10." +], +"type": "string" +} +}, +"type": "object" +}, +"ProvisioningInfo": { +"description": "Information about a device that is available during setup.", +"id": "ProvisioningInfo", +"properties": { +"apiLevel": { +"description": "The API level of the Android platform version running on the device.", +"format": "int32", +"type": "integer" +}, +"authenticatedUserEmail": { +"description": "The email address of the authenticated user (only present for Google Account provisioning method).", +"type": "string" +}, +"brand": { +"description": "The brand of the device. For example, Google.", +"type": "string" +}, +"enterprise": { +"description": "The name of the enterprise in the form enterprises/{enterprise}.", +"type": "string" +}, +"imei": { +"description": "For corporate-owned devices, IMEI number of the GSM device. For example, A1000031212.", +"type": "string" +}, +"managementMode": { +"description": "The management mode of the device or profile.", +"enum": [ +"MANAGEMENT_MODE_UNSPECIFIED", +"DEVICE_OWNER", +"PROFILE_OWNER" +], +"enumDescriptions": [ +"This value is disallowed.", +"Device owner. Android Device Policy has full control over the device.", +"Profile owner. Android Device Policy has control over a managed profile on the device." +], +"type": "string" +}, +"meid": { +"description": "For corporate-owned devices, MEID number of the CDMA device. For example, A00000292788E1.", +"type": "string" +}, +"model": { +"description": "The model of the device. For example, Asus Nexus 7.", +"type": "string" +}, +"name": { +"description": "The name of this resource in the form provisioningInfo/{provisioning_info}.", +"type": "string" +}, +"ownership": { +"description": "Ownership of the managed device.", +"enum": [ +"OWNERSHIP_UNSPECIFIED", +"COMPANY_OWNED", +"PERSONALLY_OWNED" +], +"enumDescriptions": [ +"Ownership is unspecified.", +"Device is company-owned.", +"Device is personally-owned." +], +"type": "string" +}, +"serialNumber": { +"description": "For corporate-owned devices, The device serial number.", +"type": "string" +} +}, +"type": "object" +}, +"ProxyInfo": { +"description": "Configuration info for an HTTP proxy. For a direct proxy, set the host, port, and excluded_hosts fields. For a PAC script proxy, set the pac_uri field.", +"id": "ProxyInfo", +"properties": { +"excludedHosts": { +"description": "For a direct proxy, the hosts for which the proxy is bypassed. The host names may contain wildcards such as *.example.com.", +"items": { +"type": "string" +}, +"type": "array" +}, +"host": { +"description": "The host of the direct proxy.", +"type": "string" +}, +"pacUri": { +"description": "The URI of the PAC script used to configure the proxy.", +"type": "string" +}, +"port": { +"description": "The port of the direct proxy.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"RemoteLockEvent": { +"description": "The device or profile has been remotely locked via the LOCK command.", +"id": "RemoteLockEvent", +"properties": { +"adminPackageName": { +"description": "Package name of the admin app requesting the change.", +"type": "string" +}, +"adminUserId": { +"description": "User ID of the admin app from the which the change was requested.", +"format": "int32", +"type": "integer" +}, +"targetUserId": { +"description": "User ID in which the change was requested in.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"RemoveEsimParams": { +"description": "Parameters associated with the REMOVE_ESIM command to remove an eSIM profile from the device.", +"id": "RemoveEsimParams", +"properties": { +"iccId": { +"description": "Required. ICC ID of the eSIM profile to be deleted.", +"type": "string" +} +}, +"type": "object" +}, +"RemovePolicyApplicationsRequest": { +"description": "Request to remove ApplicationPolicy objects in the given policy.", +"id": "RemovePolicyApplicationsRequest", +"properties": { +"packageNames": { +"description": "Required. Package names to be removed. Entries that are not found are ignored. There must be at least one entry in package_names.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"RemovePolicyApplicationsResponse": { +"description": "Response to a request to remove ApplicationPolicy objects in the given policy.", +"id": "RemovePolicyApplicationsResponse", +"properties": { +"policy": { +"$ref": "Policy", +"description": "The updated policy after ApplicationPolicy objects have been removed." +} +}, +"type": "object" +}, +"RequestDeviceInfoParams": { +"description": "Parameters associated with the REQUEST_DEVICE_INFO command to get device related information.", +"id": "RequestDeviceInfoParams", +"properties": { +"deviceInfo": { +"description": "Required. Type of device information to be requested.", +"enum": [ +"DEVICE_INFO_UNSPECIFIED", +"EID" +], +"enumDescriptions": [ +"This value is disallowed.", +"Request the identifier for eSIM. The user will be asked to approve the disclosure of the information before the result can be returned. If the user doesn't approve the disclosure, USER_DECLINED will be returned. This is supported only for personally owned devices with work profiles and Android versions 13 and above." +], +"type": "string" +} +}, +"type": "object" +}, +"RequestDeviceInfoStatus": { +"description": "Status of the REQUEST_DEVICE_INFO command.", +"id": "RequestDeviceInfoStatus", +"properties": { +"eidInfo": { +"$ref": "EidInfo", +"description": "Information related to the EIDs of the device." +}, +"status": { +"description": "Output only. Status of a REQUEST_DEVICE_INFO command.", +"enum": [ +"STATUS_UNSPECIFIED", +"SUCCEEDED", +"PENDING_USER_ACTION", +"USER_DECLINED", +"UNSUPPORTED" +], +"enumDescriptions": [ +"Unspecified. This value is not used.", +"Device information has been successfully delivered.", +"The user has not completed the actions required to share device information.", +"The user declined sharing device information.", +"The requested device info is not supported on this device, e.g. eSIM is not supported on the device." +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"Role": { +"description": "Role an app can have.", +"id": "Role", +"properties": { +"roleType": { +"description": "Required. The type of the role an app can have.", +"enum": [ +"ROLE_TYPE_UNSPECIFIED", +"COMPANION_APP", +"KIOSK", +"MOBILE_THREAT_DEFENSE_ENDPOINT_DETECTION_RESPONSE", +"SYSTEM_HEALTH_MONITORING" +], +"enumDescriptions": [ +"The role type is unspecified. This value must not be used.", +"The role type for companion apps. This role enables the app as a companion app with the capability of interacting with Android Device Policy offline. This is the recommended way to configure an app as a companion app. For legacy way, see extensionConfig.On Android 14 and above, the app with this role is exempted from power and background execution restrictions, suspension and hibernation. On Android 11 and above, the user control is disallowed for the app with this role. userControlSettings cannot be set to USER_CONTROL_ALLOWED for the app with this role.Android Device Policy notifies the companion app of any local command status updates if the app has a service with . See Integrate with the AMAPI SDK (https://developers.google.com/android/management/sdk-integration) guide for more details on the requirements for the service.", +"The role type for kiosk apps. An app can have this role only if it has installType set to REQUIRED_FOR_SETUP or CUSTOM. Before adding this role to an app with CUSTOM install type, the app must already be installed on the device.The app having this role type is set as the preferred home intent and allowlisted for lock task mode. When there is an app with this role type, status bar will be automatically disabled.This is preferable to setting installType to KIOSK.On Android 11 and above, the user control is disallowed but userControlSettings can be set to USER_CONTROL_ALLOWED to allow user control for the app with this role.", +"The role type for Mobile Threat Defense (MTD) / Endpoint Detection & Response (EDR) apps.On Android 14 and above, the app with this role is exempted from power and background execution restrictions, suspension and hibernation. On Android 11 and above, the user control is disallowed and userControlSettings cannot be set to USER_CONTROL_ALLOWED for the app with this role.", +"The role type for system health monitoring apps.On Android 14 and above, the app with this role is exempted from power and background execution restrictions, suspension and hibernation. On Android 11 and above, the user control is disallowed and userControlSettings cannot be set to USER_CONTROL_ALLOWED for the app with this role." +], +"type": "string" +} +}, +"type": "object" +}, +"ScreenBrightnessSettings": { +"description": "Controls for the screen brightness settings.", +"id": "ScreenBrightnessSettings", +"properties": { +"screenBrightness": { +"description": "Optional. The screen brightness between 1 and 255 where 1 is the lowest and 255 is the highest brightness. A value of 0 (default) means no screen brightness set. Any other value is rejected. screenBrightnessMode must be either BRIGHTNESS_AUTOMATIC or BRIGHTNESS_FIXED to set this. Supported on Android 9 and above on fully managed devices. A NonComplianceDetail with API_LEVEL is reported if the Android version is less than 9. Supported on work profiles on company-owned devices on Android 15 and above.", +"format": "int32", +"type": "integer" +}, +"screenBrightnessMode": { +"description": "Optional. Controls the screen brightness mode.", +"enum": [ +"SCREEN_BRIGHTNESS_MODE_UNSPECIFIED", +"BRIGHTNESS_USER_CHOICE", +"BRIGHTNESS_AUTOMATIC", +"BRIGHTNESS_FIXED" +], +"enumDescriptions": [ +"Unspecified. Defaults to BRIGHTNESS_USER_CHOICE.", +"The user is allowed to configure the screen brightness. screenBrightness must not be set.", +"The screen brightness mode is automatic in which the brightness is automatically adjusted and the user is not allowed to configure the screen brightness. screenBrightness can still be set and it is taken into account while the brightness is automatically adjusted. Supported on Android 9 and above on fully managed devices. A NonComplianceDetail with API_LEVEL is reported if the Android version is less than 9. Supported on work profiles on company-owned devices on Android 15 and above.", +"The screen brightness mode is fixed in which the brightness is set to screenBrightness and the user is not allowed to configure the screen brightness. screenBrightness must be set. Supported on Android 9 and above on fully managed devices. A NonComplianceDetail with API_LEVEL is reported if the Android version is less than 9. Supported on work profiles on company-owned devices on Android 15 and above." +], +"type": "string" +} +}, +"type": "object" +}, +"ScreenTimeoutSettings": { +"description": "Controls the screen timeout settings.", +"id": "ScreenTimeoutSettings", +"properties": { +"screenTimeout": { +"description": "Optional. Controls the screen timeout duration. The screen timeout duration must be greater than 0, otherwise it is rejected. Additionally, it should not be greater than maximumTimeToLock, otherwise the screen timeout is set to maximumTimeToLock and a NonComplianceDetail with INVALID_VALUE reason and SCREEN_TIMEOUT_GREATER_THAN_MAXIMUM_TIME_TO_LOCK specific reason is reported. If the screen timeout is less than a certain lower bound, it is set to the lower bound. The lower bound may vary across devices. If this is set, screenTimeoutMode must be SCREEN_TIMEOUT_ENFORCED. Supported on Android 9 and above on fully managed devices. A NonComplianceDetail with API_LEVEL is reported if the Android version is less than 9. Supported on work profiles on company-owned devices on Android 15 and above.", +"format": "google-duration", +"type": "string" +}, +"screenTimeoutMode": { +"description": "Optional. Controls whether the user is allowed to configure the screen timeout.", +"enum": [ +"SCREEN_TIMEOUT_MODE_UNSPECIFIED", +"SCREEN_TIMEOUT_USER_CHOICE", +"SCREEN_TIMEOUT_ENFORCED" +], +"enumDescriptions": [ +"Unspecified. Defaults to SCREEN_TIMEOUT_USER_CHOICE.", +"The user is allowed to configure the screen timeout. screenTimeout must not be set.", +"The screen timeout is set to screenTimeout and the user is not allowed to configure the timeout. screenTimeout must be set. Supported on Android 9 and above on fully managed devices. A NonComplianceDetail with API_LEVEL is reported if the Android version is less than 9. Supported on work profiles on company-owned devices on Android 15 and above." +], +"type": "string" +} +}, +"type": "object" +}, +"SecurityPosture": { +"description": "The security posture of the device, as determined by the current device state and the policies applied.", +"id": "SecurityPosture", +"properties": { +"devicePosture": { +"description": "Device's security posture value.", +"enum": [ +"POSTURE_UNSPECIFIED", +"SECURE", +"AT_RISK", +"POTENTIALLY_COMPROMISED" +], +"enumDescriptions": [ +"Unspecified. There is no posture detail for this posture value.", +"This device is secure.", +"This device may be more vulnerable to malicious actors than is recommended for use with corporate data.", +"This device may be compromised and corporate data may be accessible to unauthorized actors." +], +"type": "string" +}, +"postureDetails": { +"description": "Additional details regarding the security posture of the device.", +"items": { +"$ref": "PostureDetail" +}, +"type": "array" +} +}, +"type": "object" +}, +"SetupAction": { +"description": "An action executed during setup.", +"id": "SetupAction", +"properties": { +"description": { +"$ref": "UserFacingMessage", +"description": "Description of this action." +}, +"launchApp": { +"$ref": "LaunchAppAction", +"description": "An action to launch an app. The app will be launched with an intent containing an extra with key com.google.android.apps.work.clouddpc.EXTRA_LAUNCHED_AS_SETUP_ACTION set to the boolean value true to indicate that this is a setup action flow. If SetupAction references an app, the corresponding installType in the application policy must be set as REQUIRED_FOR_SETUP or said setup will fail." +}, +"title": { +"$ref": "UserFacingMessage", +"description": "Title of this action." +} +}, +"type": "object" +}, +"SigninDetail": { +"description": "A resource containing sign in details for an enterprise. Use enterprises to manage SigninDetails for a given enterprise.For an enterprise, we can have any number of SigninDetails that is uniquely identified by combination of the following three fields (signin_url, allow_personal_usage, token_tag). One cannot create two SigninDetails with the same (signin_url, allow_personal_usage, token_tag). (token_tag is an optional field).Patch: The operation updates the current list of SigninDetails with the new list of SigninDetails. If the stored SigninDetail configuration is passed, it returns the same signin_enrollment_token and qr_code. If we pass multiple identical SigninDetail configurations that are not stored, it will store the first one amongst those SigninDetail configurations. if the configuration already exists we cannot request it more than once in a particular patch API call, otherwise it will give a duplicate key error and the whole operation will fail. If we remove certain SigninDetail configuration from the request then it will get removed from the storage. We can then request another signin_enrollment_token and qr_code for the same SigninDetail configuration.", +"id": "SigninDetail", +"properties": { +"allowPersonalUsage": { +"description": "Controls whether personal usage is allowed on a device provisioned with this enrollment token.For company-owned devices: Enabling personal usage allows the user to set up a work profile on the device. Disabling personal usage requires the user provision the device as a fully managed device.For personally-owned devices: Enabling personal usage allows the user to set up a work profile on the device. Disabling personal usage will prevent the device from provisioning. Personal usage cannot be disabled on personally-owned device.", +"enum": [ +"ALLOW_PERSONAL_USAGE_UNSPECIFIED", +"PERSONAL_USAGE_ALLOWED", +"PERSONAL_USAGE_DISALLOWED", +"PERSONAL_USAGE_DISALLOWED_USERLESS" +], +"enumDescriptions": [ +"Personal usage restriction is not specified", +"Personal usage is allowed", +"Personal usage is disallowed", +"Device is not associated with a single user, and thus both personal usage and corporate identity authentication are not expected. Important: This setting is mandatory for dedicated device enrollment and it is a breaking change. This change needs to be implemented before January 2025.For additional details see the dedicated device provisioning guide (https://developers.google.com/android/management/provision-device#company-owned_devices_for_work_use_only). " +], +"type": "string" +}, +"defaultStatus": { +"description": "Optional. Whether the sign-in URL should be used by default for the enterprise. The SigninDetail with defaultStatus set to SIGNIN_DETAIL_IS_DEFAULT is used for Google account enrollment method. Only one of an enterprise's signinDetails can have defaultStatus set to SIGNIN_DETAIL_IS_DEFAULT. If an Enterprise has at least one signinDetails and none of them have defaultStatus set to SIGNIN_DETAIL_IS_DEFAULT then the first one from the list is selected and has set defaultStatus to SIGNIN_DETAIL_IS_DEFAULT. If no signinDetails specified for the Enterprise then the Google Account device enrollment will fail.", +"enum": [ +"SIGNIN_DETAIL_DEFAULT_STATUS_UNSPECIFIED", +"SIGNIN_DETAIL_IS_DEFAULT", +"SIGNIN_DETAIL_IS_NOT_DEFAULT" +], +"enumDescriptions": [ +"Equivalent to SIGNIN_DETAIL_IS_NOT_DEFAULT.", +"The sign-in URL will be used by default for the enterprise.", +"The sign-in URL will not be used by default for the enterprise." +], +"type": "string" +}, +"qrCode": { +"description": "A JSON string whose UTF-8 representation can be used to generate a QR code to enroll a device with this enrollment token. To enroll a device using NFC, the NFC record must contain a serialized java.util.Properties representation of the properties in the JSON. This is a read-only field generated by the server.", +"type": "string" +}, +"signinEnrollmentToken": { +"description": "An enterprise wide enrollment token used to trigger custom sign-in flow. This is a read-only field generated by the server.", +"type": "string" +}, +"signinUrl": { +"description": "Sign-in URL for authentication when device is provisioned with a sign-in enrollment token. The sign-in endpoint should finish authentication flow with a URL in the form of https://enterprise.google.com/android/enroll?et= for a successful login, or https://enterprise.google.com/android/enroll/invalid for a failed login.", +"type": "string" +}, +"tokenTag": { +"description": "An EMM-specified metadata to distinguish between instances of SigninDetail.", +"type": "string" +} +}, +"type": "object" +}, +"SignupUrl": { +"description": "An enterprise signup URL.", +"id": "SignupUrl", +"properties": { +"name": { +"description": "The name of the resource. Use this value in the signupUrl field when calling enterprises.create to complete the enterprise signup flow.", +"type": "string" +}, +"url": { +"description": "A URL where an enterprise admin can register their enterprise. The page can't be rendered in an iframe.", +"type": "string" +} +}, +"type": "object" +}, +"SoftwareInfo": { +"description": "Information about device software.", +"id": "SoftwareInfo", +"properties": { +"androidBuildNumber": { +"description": "Android build ID string meant for displaying to the user. For example, shamu-userdebug 6.0.1 MOB30I 2756745 dev-keys.", +"type": "string" +}, +"androidBuildTime": { +"description": "Build time.", +"format": "google-datetime", +"type": "string" +}, +"androidDevicePolicyVersionCode": { +"description": "The Android Device Policy app version code.", +"format": "int32", +"type": "integer" +}, +"androidDevicePolicyVersionName": { +"description": "The Android Device Policy app version as displayed to the user.", +"type": "string" +}, +"androidVersion": { +"description": "The user-visible Android version string. For example, 6.0.1.", +"type": "string" +}, +"bootloaderVersion": { +"description": "The system bootloader version number, e.g. 0.6.7.", +"type": "string" +}, +"deviceBuildSignature": { +"description": "SHA-256 hash of android.content.pm.Signature (https://developer.android.com/reference/android/content/pm/Signature.html) associated with the system package, which can be used to verify that the system build hasn't been modified.", +"type": "string" +}, +"deviceKernelVersion": { +"description": "Kernel version, for example, 2.6.32.9-g103d848.", +"type": "string" +}, +"primaryLanguageCode": { +"description": "An IETF BCP 47 language code for the primary locale on the device.", +"type": "string" +}, +"securityPatchLevel": { +"description": "Security patch level, e.g. 2016-05-01.", +"type": "string" +}, +"systemUpdateInfo": { +"$ref": "SystemUpdateInfo", +"description": "Information about a potential pending system update." +} +}, +"type": "object" +}, +"SpecificNonComplianceContext": { +"description": "Additional context for SpecificNonComplianceReason.", +"id": "SpecificNonComplianceContext", +"properties": { +"defaultApplicationContext": { +"$ref": "DefaultApplicationContext", +"description": "Output only. Additional context for non-compliance related to default application settings. See DEFAULT_APPLICATION_SETTING_FAILED_FOR_SCOPE.", +"readOnly": true +}, +"oncWifiContext": { +"$ref": "OncWifiContext", +"description": "Additional context for non-compliance related to Wi-Fi configuration. See ONC_WIFI_INVALID_VALUE and ONC_WIFI_API_LEVEL" +}, +"passwordPoliciesContext": { +"$ref": "PasswordPoliciesContext", +"description": "Additional context for non-compliance related to password policies. See PASSWORD_POLICIES_PASSWORD_EXPIRED and PASSWORD_POLICIES_PASSWORD_NOT_SUFFICIENT." +} +}, +"type": "object" +}, +"StartLostModeParams": { +"description": "Parameters associated with the START_LOST_MODE command to put the device into lost mode. At least one of the parameters, not including the organization name, must be provided in order for the device to be put into lost mode.", +"id": "StartLostModeParams", +"properties": { +"lostEmailAddress": { +"description": "The email address displayed to the user when the device is in lost mode.", +"type": "string" +}, +"lostMessage": { +"$ref": "UserFacingMessage", +"description": "The message displayed to the user when the device is in lost mode." +}, +"lostOrganization": { +"$ref": "UserFacingMessage", +"description": "The organization name displayed to the user when the device is in lost mode." +}, +"lostPhoneNumber": { +"$ref": "UserFacingMessage", +"description": "The phone number that will be called when the device is in lost mode and the call owner button is tapped." +}, +"lostStreetAddress": { +"$ref": "UserFacingMessage", +"description": "The street address displayed to the user when the device is in lost mode." +} +}, +"type": "object" +}, +"StartLostModeStatus": { +"description": "Status of the START_LOST_MODE command to put the device into lost mode.", +"id": "StartLostModeStatus", +"properties": { +"status": { +"description": "The status. See StartLostModeStatus.", +"enum": [ +"STATUS_UNSPECIFIED", +"SUCCESS", +"RESET_PASSWORD_RECENTLY", +"USER_EXIT_LOST_MODE_RECENTLY", +"ALREADY_IN_LOST_MODE" +], +"enumDescriptions": [ +"Unspecified. This value is not used.", +"The device was put into lost mode.", +"The device could not be put into lost mode because the admin reset the device's password recently.", +"The device could not be put into lost mode because the user exited lost mode recently.", +"The device is already in lost mode." +], +"type": "string" +} +}, +"type": "object" +}, +"Status": { +"description": "The Status type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by gRPC (https://github.com/grpc). Each Status message contains three pieces of data: error code, error message, and error details.You can find out more about this error model and how to work with it in the API Design Guide (https://cloud.google.com/apis/design/errors).", +"id": "Status", +"properties": { +"code": { +"description": "The status code, which should be an enum value of google.rpc.Code.", +"format": "int32", +"type": "integer" +}, +"details": { +"description": "A list of messages that carry the error details. There is a common set of message types for APIs to use.", +"items": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.", +"type": "string" +} +}, +"type": "object" +}, +"StatusReportingSettings": { +"description": "Settings controlling the behavior of status reports.", +"id": "StatusReportingSettings", +"properties": { +"applicationReportingSettings": { +"$ref": "ApplicationReportingSettings", +"description": "Application reporting settings. Only applicable if application_reports_enabled is true." +}, +"applicationReportsEnabled": { +"description": "Whether app reports are enabled.", +"type": "boolean" +}, +"commonCriteriaModeEnabled": { +"description": "Whether Common Criteria Mode reporting is enabled. This is supported only on company-owned devices.", +"type": "boolean" +}, +"defaultApplicationInfoReportingEnabled": { +"description": "Optional. Whether defaultApplicationInfo reporting is enabled.", +"type": "boolean" +}, +"deviceSettingsEnabled": { +"description": "Whether device settings reporting is enabled.", +"type": "boolean" +}, +"displayInfoEnabled": { +"description": "Whether displays reporting is enabled. Report data is not available for personally owned devices with work profiles.", +"type": "boolean" +}, +"hardwareStatusEnabled": { +"description": "Whether hardware status reporting is enabled. Report data is not available for personally owned devices with work profiles.", +"type": "boolean" +}, +"memoryInfoEnabled": { +"description": "Whether memory event reporting is enabled.", +"type": "boolean" +}, +"networkInfoEnabled": { +"description": "Whether network info reporting is enabled.", +"type": "boolean" +}, +"powerManagementEventsEnabled": { +"description": "Whether power management event reporting is enabled. Report data is not available for personally owned devices with work profiles.", +"type": "boolean" +}, +"softwareInfoEnabled": { +"description": "Whether software info reporting is enabled.", +"type": "boolean" +}, +"systemPropertiesEnabled": { +"description": "Whether system properties reporting is enabled.", +"type": "boolean" +} +}, +"type": "object" +}, +"StopLostModeParams": { +"description": "Parameters associated with the STOP_LOST_MODE command to take the device out of lost mode.", +"id": "StopLostModeParams", +"properties": {}, +"type": "object" +}, +"StopLostModeStatus": { +"description": "Status of the STOP_LOST_MODE command to take the device out of lost mode.", +"id": "StopLostModeStatus", +"properties": { +"status": { +"description": "The status. See StopLostModeStatus.", +"enum": [ +"STATUS_UNSPECIFIED", +"SUCCESS", +"NOT_IN_LOST_MODE" +], +"enumDescriptions": [ +"Unspecified. This value is not used.", +"The device was taken out of lost mode.", +"The device is not in lost mode." +], +"type": "string" +} +}, +"type": "object" +}, +"StopLostModeUserAttemptEvent": { +"description": "A lost mode event indicating the user has attempted to stop lost mode.", +"id": "StopLostModeUserAttemptEvent", +"properties": { +"status": { +"description": "The status of the attempt to stop lost mode.", +"enum": [ +"STATUS_UNSPECIFIED", +"ATTEMPT_SUCCEEDED", +"ATTEMPT_FAILED" +], +"enumDescriptions": [ +"This value is not used.", +"Indicates that the user successfully stopped lost mode.", +"Indicates that the user's attempt to stop lost mode failed." +], +"type": "string" +} +}, +"type": "object" +}, +"SystemUpdate": { +"description": "Configuration for managing system updatesNote: Google Play system updates (https://source.android.com/docs/core/ota/modular-system) (also called Mainline updates) are automatically downloaded but require a device reboot to be installed. Refer to the mainline section in Manage system updates (https://developer.android.com/work/dpc/system-updates#mainline) for further details.", +"id": "SystemUpdate", +"properties": { +"allowedDaysWithoutUpdate": { +"description": "If this is greater than zero, then this is the number of days after a pending update becoming available that a device can remain compliant, without taking the update. Has no effect otherwise.", +"format": "int32", +"type": "integer" +}, +"endMinutes": { +"description": "If the type is WINDOWED, the end of the maintenance window, measured as the number of minutes after midnight in device's local time. This value must be between 0 and 1439, inclusive. If this value is less than start_minutes, then the maintenance window spans midnight. If the maintenance window specified is smaller than 30 minutes, the actual window is extended to 30 minutes beyond the start time.", +"format": "int32", +"type": "integer" +}, +"freezePeriods": { +"description": "An annually repeating time period in which over-the-air (OTA) system updates are postponed to freeze the OS version running on a device. To prevent freezing the device indefinitely, each freeze period must be separated by at least 60 days.", +"items": { +"$ref": "FreezePeriod" +}, +"type": "array" +}, +"startMinutes": { +"description": "If the type is WINDOWED, the start of the maintenance window, measured as the number of minutes after midnight in the device's local time. This value must be between 0 and 1439, inclusive.", +"format": "int32", +"type": "integer" +}, +"type": { +"description": "The type of system update to configure.", +"enum": [ +"SYSTEM_UPDATE_TYPE_UNSPECIFIED", +"AUTOMATIC", +"WINDOWED", +"POSTPONE" +], +"enumDescriptions": [ +"Follow the default update behavior for the device, which typically requires the user to accept system updates.", +"Install automatically as soon as an update is available.", +"Install automatically within a daily maintenance window. This also configures Play apps to be updated within the window. This is strongly recommended for kiosk devices because this is the only way apps persistently pinned to the foreground can be updated by Play.If autoUpdateMode is set to AUTO_UPDATE_HIGH_PRIORITY for an app, then the maintenance window is ignored for that app and it is updated as soon as possible even outside of the maintenance window.", +"Postpone automatic install up to a maximum of 30 days. This policy does not affect security updates (e.g. monthly security patches)." +], +"type": "string" +} +}, +"type": "object" +}, +"SystemUpdateInfo": { +"description": "Information about a potential pending system update.", +"id": "SystemUpdateInfo", +"properties": { +"updateReceivedTime": { +"description": "The time when the update was first available. A zero value indicates that this field is not set. This field is set only if an update is available (that is, updateStatus is neither UPDATE_STATUS_UNKNOWN nor UP_TO_DATE).", +"format": "google-datetime", +"type": "string" +}, +"updateStatus": { +"description": "The status of an update: whether an update exists and what type it is.", +"enum": [ +"UPDATE_STATUS_UNKNOWN", +"UP_TO_DATE", +"UNKNOWN_UPDATE_AVAILABLE", +"SECURITY_UPDATE_AVAILABLE", +"OS_UPDATE_AVAILABLE" +], +"enumDescriptions": [ +"It is unknown whether there is a pending system update. This happens when, for example, the device API level is less than 26, or if the version of Android Device Policy is outdated.", +"There is no pending system update available on the device.", +"There is a pending system update available, but its type is not known.", +"There is a pending security update available.", +"There is a pending OS update available." +], +"type": "string" +} +}, +"type": "object" +}, +"TelephonyInfo": { +"description": "Telephony information associated with a given SIM card on the device. This is supported for all SIM cards on fully managed devices on Android 6 and above. In addition, this is supported for admin-added eSIMs on all devices for Android 15 and above.", +"id": "TelephonyInfo", +"properties": { +"activationState": { +"description": "Output only. Activation state of the SIM card on the device. This is applicable for eSIMs only. This is supported on all devices for Android 15 and above. This is always ACTIVATION_STATE_UNSPECIFIED for physical SIMs and for devices below Android 15.", +"enum": [ +"ACTIVATION_STATE_UNSPECIFIED", +"ACTIVATED", +"NOT_ACTIVATED" +], +"enumDescriptions": [ +"Activation state is not specified.", +"The SIM card is activated.", +"The SIM card is not activated." +], +"readOnly": true, +"type": "string" +}, +"carrierName": { +"description": "The carrier name associated with this SIM card.", +"type": "string" +}, +"configMode": { +"description": "Output only. The configuration mode of the SIM card on the device. This is applicable for eSIMs only. This is supported on all devices for Android 15 and above. This is always CONFIG_MODE_UNSPECIFIED for physical SIMs and for devices below Android 15.", +"enum": [ +"CONFIG_MODE_UNSPECIFIED", +"ADMIN_CONFIGURED", +"USER_CONFIGURED" +], +"enumDescriptions": [ +"The configuration mode is unspecified.", +"The admin has configured this SIM.", +"The user has configured this SIM." +], +"readOnly": true, +"type": "string" +}, +"iccId": { +"description": "Output only. The ICCID associated with this SIM card.", +"readOnly": true, +"type": "string" +}, +"phoneNumber": { +"description": "The phone number associated with this SIM card.", +"type": "string" +} +}, +"type": "object" +}, +"TermsAndConditions": { +"description": "A terms and conditions page to be accepted during provisioning.", +"id": "TermsAndConditions", +"properties": { +"content": { +"$ref": "UserFacingMessage", +"description": "A well-formatted HTML string. It will be parsed on the client with android.text.Html#fromHtml." +}, +"header": { +"$ref": "UserFacingMessage", +"description": "A short header which appears above the HTML content." +} +}, +"type": "object" +}, +"UsageLog": { +"description": "Controls types of device activity logs collected from the device and reported via Pub/Sub notification (https://developers.google.com/android/management/notifications).", +"id": "UsageLog", +"properties": { +"enabledLogTypes": { +"description": "Specifies which log types are enabled. Note that users will receive on-device messaging when usage logging is enabled.", +"items": { +"enum": [ +"LOG_TYPE_UNSPECIFIED", +"SECURITY_LOGS", +"NETWORK_ACTIVITY_LOGS" +], +"enumDescriptions": [ +"This value is not used.", +"Enable logging of on-device security events, like when the device password is incorrectly entered or removable storage is mounted. See UsageLogEvent for a complete description of the logged security events. Supported for fully managed devices on Android 7 and above. Supported for company-owned devices with a work profile on Android 12 and above, on which only security events from the work profile are logged. Can be overridden by the application delegated scope SECURITY_LOGS", +"Enable logging of on-device network events, like DNS lookups and TCP connections. See UsageLogEvent for a complete description of the logged network events. Supported for fully managed devices on Android 8 and above. Supported for company-owned devices with a work profile on Android 12 and above, on which only network events from the work profile are logged. Can be overridden by the application delegated scope NETWORK_ACTIVITY_LOGS" +], +"type": "string" +}, +"type": "array" +}, +"uploadOnCellularAllowed": { +"description": "Specifies which of the enabled log types can be uploaded over mobile data. By default logs are queued for upload when the device connects to WiFi.", +"items": { +"enum": [ +"LOG_TYPE_UNSPECIFIED", +"SECURITY_LOGS", +"NETWORK_ACTIVITY_LOGS" +], +"enumDescriptions": [ +"This value is not used.", +"Enable logging of on-device security events, like when the device password is incorrectly entered or removable storage is mounted. See UsageLogEvent for a complete description of the logged security events. Supported for fully managed devices on Android 7 and above. Supported for company-owned devices with a work profile on Android 12 and above, on which only security events from the work profile are logged. Can be overridden by the application delegated scope SECURITY_LOGS", +"Enable logging of on-device network events, like DNS lookups and TCP connections. See UsageLogEvent for a complete description of the logged network events. Supported for fully managed devices on Android 8 and above. Supported for company-owned devices with a work profile on Android 12 and above, on which only network events from the work profile are logged. Can be overridden by the application delegated scope NETWORK_ACTIVITY_LOGS" +], +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"UsageLogEvent": { +"description": "An event logged on the device.", +"id": "UsageLogEvent", +"properties": { +"adbShellCommandEvent": { +"$ref": "AdbShellCommandEvent", +"description": "A shell command was issued over ADB via \u201cadb shell command\u201d. Part of SECURITY_LOGS." +}, +"adbShellInteractiveEvent": { +"$ref": "AdbShellInteractiveEvent", +"description": "An ADB interactive shell was opened via \u201cadb shell\u201d. Part of SECURITY_LOGS." +}, +"appProcessStartEvent": { +"$ref": "AppProcessStartEvent", +"description": "An app process was started. Part of SECURITY_LOGS." +}, +"backupServiceToggledEvent": { +"$ref": "BackupServiceToggledEvent", +"description": "An admin has enabled or disabled backup service. Part of SECURITY_LOGS." +}, +"certAuthorityInstalledEvent": { +"$ref": "CertAuthorityInstalledEvent", +"description": "A new root certificate was installed into the system's trusted credential storage. Part of SECURITY_LOGS." +}, +"certAuthorityRemovedEvent": { +"$ref": "CertAuthorityRemovedEvent", +"description": "A root certificate was removed from the system's trusted credential storage. Part of SECURITY_LOGS." +}, +"certValidationFailureEvent": { +"$ref": "CertValidationFailureEvent", +"description": "An X.509v3 certificate failed to validate, currently this validation is performed on the Wi-FI access point and failure may be due to a mismatch upon server certificate validation. However it may in the future include other validation events of an X.509v3 certificate. Part of SECURITY_LOGS." +}, +"connectEvent": { +"$ref": "ConnectEvent", +"description": "A TCP connect event was initiated through the standard network stack. Part of NETWORK_ACTIVITY_LOGS." +}, +"cryptoSelfTestCompletedEvent": { +"$ref": "CryptoSelfTestCompletedEvent", +"description": "Validates whether Android\u2019s built-in cryptographic library (BoringSSL) is valid. Should always succeed on device boot, if it fails, the device should be considered untrusted. Part of SECURITY_LOGS." +}, +"dnsEvent": { +"$ref": "DnsEvent", +"description": "A DNS lookup event was initiated through the standard network stack. Part of NETWORK_ACTIVITY_LOGS." +}, +"enrollmentCompleteEvent": { +"$ref": "EnrollmentCompleteEvent", +"description": "Device has completed enrollment. Part of AMAPI_LOGS." +}, +"eventId": { +"description": "Unique id of the event.", +"format": "int64", +"type": "string" +}, +"eventTime": { +"description": "Device timestamp when the event was logged.", +"format": "google-datetime", +"type": "string" +}, +"eventType": { +"description": "The particular usage log event type that was reported on the device. Use this to determine which event field to access.", +"enum": [ +"EVENT_TYPE_UNSPECIFIED", +"ADB_SHELL_COMMAND", +"ADB_SHELL_INTERACTIVE", +"APP_PROCESS_START", +"KEYGUARD_DISMISSED", +"KEYGUARD_DISMISS_AUTH_ATTEMPT", +"KEYGUARD_SECURED", +"FILE_PULLED", +"FILE_PUSHED", +"CERT_AUTHORITY_INSTALLED", +"CERT_AUTHORITY_REMOVED", +"CERT_VALIDATION_FAILURE", +"CRYPTO_SELF_TEST_COMPLETED", +"KEY_DESTRUCTION", +"KEY_GENERATED", +"KEY_IMPORT", +"KEY_INTEGRITY_VIOLATION", +"LOGGING_STARTED", +"LOGGING_STOPPED", +"LOG_BUFFER_SIZE_CRITICAL", +"MEDIA_MOUNT", +"MEDIA_UNMOUNT", +"OS_SHUTDOWN", +"OS_STARTUP", +"REMOTE_LOCK", +"WIPE_FAILURE", +"CONNECT", +"DNS", +"STOP_LOST_MODE_USER_ATTEMPT", +"LOST_MODE_OUTGOING_PHONE_CALL", +"LOST_MODE_LOCATION", +"ENROLLMENT_COMPLETE", +"BACKUP_SERVICE_TOGGLED" +], +"enumDescriptions": [ +"This value is not used", +"Indicates adb_shell_command_event has been set.", +"Indicates adb_shell_interactive_event has been set.", +"Indicates app_process_start_event has been set.", +"Indicates keyguard_dismissed_event has been set.", +"Indicates keyguard_dismiss_auth_attempt_event has been set.", +"Indicates keyguard_secured_event has been set.", +"Indicates file_pulled_event has been set.", +"Indicates file_pushed_event has been set.", +"Indicates cert_authority_installed_event has been set.", +"Indicates cert_authority_removed_event has been set.", +"Indicates cert_validation_failure_event has been set.", +"Indicates crypto_self_test_completed_event has been set.", +"Indicates key_destruction_event has been set.", +"Indicates key_generated_event has been set.", +"Indicates key_import_event has been set.", +"Indicates key_integrity_violation_event has been set.", +"Indicates logging_started_event has been set.", +"Indicates logging_stopped_event has been set.", +"Indicates log_buffer_size_critical_event has been set.", +"Indicates media_mount_event has been set.", +"Indicates media_unmount_event has been set.", +"Indicates os_shutdown_event has been set.", +"Indicates os_startup_event has been set.", +"Indicates remote_lock_event has been set.", +"Indicates wipe_failure_event has been set.", +"Indicates connect_event has been set.", +"Indicates dns_event has been set.", +"Indicates stopLostModeUserAttemptEvent has been set.", +"Indicates lostModeOutgoingPhoneCallEvent has been set.", +"Indicates lostModeLocationEvent has been set.", +"Indicates enrollment_complete_event has been set.", +"Indicates backupServiceToggledEvent has been set." +], +"type": "string" +}, +"filePulledEvent": { +"$ref": "FilePulledEvent", +"description": "A file was downloaded from the device. Part of SECURITY_LOGS." +}, +"filePushedEvent": { +"$ref": "FilePushedEvent", +"description": "A file was uploaded onto the device. Part of SECURITY_LOGS." +}, +"keyDestructionEvent": { +"$ref": "KeyDestructionEvent", +"description": "A cryptographic key including user installed, admin installed and system maintained private key is removed from the device either by the user or management. Part of SECURITY_LOGS." +}, +"keyGeneratedEvent": { +"$ref": "KeyGeneratedEvent", +"description": "A cryptographic key including user installed, admin installed and system maintained private key is installed on the device either by the user or management. Part of SECURITY_LOGS." +}, +"keyImportEvent": { +"$ref": "KeyImportEvent", +"description": "A cryptographic key including user installed, admin installed and system maintained private key is imported on the device either by the user or management. Part of SECURITY_LOGS." +}, +"keyIntegrityViolationEvent": { +"$ref": "KeyIntegrityViolationEvent", +"description": "A cryptographic key including user installed, admin installed and system maintained private key is determined to be corrupted due to storage corruption, hardware failure or some OS issue. Part of SECURITY_LOGS." +}, +"keyguardDismissAuthAttemptEvent": { +"$ref": "KeyguardDismissAuthAttemptEvent", +"description": "An attempt was made to unlock the device. Part of SECURITY_LOGS." +}, +"keyguardDismissedEvent": { +"$ref": "KeyguardDismissedEvent", +"description": "The keyguard was dismissed. Part of SECURITY_LOGS." +}, +"keyguardSecuredEvent": { +"$ref": "KeyguardSecuredEvent", +"description": "The device was locked either by user or timeout. Part of SECURITY_LOGS." +}, +"logBufferSizeCriticalEvent": { +"$ref": "LogBufferSizeCriticalEvent", +"description": "The audit log buffer has reached 90% of its capacity, therefore older events may be dropped. Part of SECURITY_LOGS." +}, +"loggingStartedEvent": { +"$ref": "LoggingStartedEvent", +"description": "usageLog policy has been enabled. Part of SECURITY_LOGS." +}, +"loggingStoppedEvent": { +"$ref": "LoggingStoppedEvent", +"description": "usageLog policy has been disabled. Part of SECURITY_LOGS." +}, +"lostModeLocationEvent": { +"$ref": "LostModeLocationEvent", +"description": "A lost mode location update when a device in lost mode." +}, +"lostModeOutgoingPhoneCallEvent": { +"$ref": "LostModeOutgoingPhoneCallEvent", +"description": "An outgoing phone call has been made when a device in lost mode." +}, +"mediaMountEvent": { +"$ref": "MediaMountEvent", +"description": "Removable media was mounted. Part of SECURITY_LOGS." +}, +"mediaUnmountEvent": { +"$ref": "MediaUnmountEvent", +"description": "Removable media was unmounted. Part of SECURITY_LOGS." +}, +"osShutdownEvent": { +"$ref": "OsShutdownEvent", +"description": "Device was shutdown. Part of SECURITY_LOGS." +}, +"osStartupEvent": { +"$ref": "OsStartupEvent", +"description": "Device was started. Part of SECURITY_LOGS." +}, +"remoteLockEvent": { +"$ref": "RemoteLockEvent", +"description": "The device or profile has been remotely locked via the LOCK command. Part of SECURITY_LOGS." +}, +"stopLostModeUserAttemptEvent": { +"$ref": "StopLostModeUserAttemptEvent", +"description": "An attempt to take a device out of lost mode." +}, +"wipeFailureEvent": { +"$ref": "WipeFailureEvent", +"description": "The work profile or company-owned device failed to wipe when requested. This could be user initiated or admin initiated e.g. delete was received. Part of SECURITY_LOGS." +} +}, +"type": "object" +}, +"User": { +"description": "A user belonging to an enterprise.", +"id": "User", +"properties": { +"accountIdentifier": { +"description": "A unique identifier you create for this user, such as user342 or asset#44418. This field must be set when the user is created and can't be updated. This field must not contain personally identifiable information (PII). This identifier must be 1024 characters or less; otherwise, the update policy request will fail.", +"type": "string" +} +}, +"type": "object" +}, +"UserFacingMessage": { +"description": "Provides a user-facing message with locale info. The maximum message length is 4096 characters.", +"id": "UserFacingMessage", +"properties": { +"defaultMessage": { +"description": "The default message displayed if no localized message is specified or the user's locale doesn't match with any of the localized messages. A default message must be provided if any localized messages are provided.", +"type": "string" +}, +"localizedMessages": { +"additionalProperties": { +"type": "string" +}, +"description": "A map containing pairs, where locale is a well-formed BCP 47 language (https://www.w3.org/International/articles/language-tags/) code, such as en-US, es-ES, or fr.", +"type": "object" +} +}, +"type": "object" +}, +"WebApp": { +"description": "A web app.", +"id": "WebApp", +"properties": { +"displayMode": { +"description": "The display mode of the web app.", +"enum": [ +"DISPLAY_MODE_UNSPECIFIED", +"MINIMAL_UI", +"STANDALONE", +"FULL_SCREEN" +], +"enumDescriptions": [ +"Not used.", +"Opens the web app with a minimal set of browser UI elements for controlling navigation and viewing the page URL.", +"Opens the web app to look and feel like a standalone native application. The browser UI elements and page URL are not visible, however the system status bar and back button are visible.", +"Opens the web app in full screen without any visible controls. The browser UI elements, page URL, system status bar and back button are not visible, and the web app takes up the entirety of the available display area." +], +"type": "string" +}, +"icons": { +"description": "A list of icons for the web app. Must have at least one element.", +"items": { +"$ref": "WebAppIcon" +}, +"type": "array" +}, +"name": { +"description": "The name of the web app, which is generated by the server during creation in the form enterprises/{enterpriseId}/webApps/{packageName}.", +"type": "string" +}, +"startUrl": { +"description": "The start URL, i.e. the URL that should load when the user opens the application.", +"type": "string" +}, +"title": { +"description": "The title of the web app as displayed to the user (e.g., amongst a list of other applications, or as a label for an icon).", +"type": "string" +}, +"versionCode": { +"description": "The current version of the app.Note that the version can automatically increase during the lifetime of the web app, while Google does internal housekeeping to keep the web app up-to-date.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"WebAppIcon": { +"description": "An icon for a web app. Supported formats are: png, jpg and webp.", +"id": "WebAppIcon", +"properties": { +"imageData": { +"description": "The actual bytes of the image in a base64url encoded string (c.f. RFC4648, section 5 \"Base 64 Encoding with URL and Filename Safe Alphabet\"). - The image type can be png or jpg. - The image should ideally be square. - The image should ideally have a size of 512x512. ", +"type": "string" +} +}, +"type": "object" +}, +"WebToken": { +"description": "A web token used to access the managed Google Play iframe.", +"id": "WebToken", +"properties": { +"enabledFeatures": { +"description": "The features to enable. Use this if you want to control exactly which feature(s) will be activated; leave empty to allow all features.Restrictions / things to note: - If no features are listed here, all features are enabled \u2014 this is the default behavior where you give access to all features to your admins. - This must not contain any FEATURE_UNSPECIFIED values. - Repeated values are ignored ", +"items": { +"enum": [ +"FEATURE_UNSPECIFIED", +"PLAY_SEARCH", +"PRIVATE_APPS", +"WEB_APPS", +"STORE_BUILDER", +"MANAGED_CONFIGURATIONS", +"ZERO_TOUCH_CUSTOMER_MANAGEMENT" +], +"enumDescriptions": [ +"Unspecified feature.", +"The Managed Play search apps page (https://developers.google.com/android/management/apps#search-apps).", +"The private apps page (https://developers.google.com/android/management/apps#private-apps).", +"The Web Apps page (https://developers.google.com/android/management/apps#web-apps).", +"The organize apps page (https://developers.google.com/android/management/apps#organize-apps).", +"The managed configurations page (https://developers.google.com/android/management/managed-configurations-iframe).", +"The zero-touch iframe (https://developers.google.com/android/management/zero-touch-iframe)." +], +"type": "string" +}, +"type": "array" +}, +"name": { +"description": "The name of the web token, which is generated by the server during creation in the form enterprises/{enterpriseId}/webTokens/{webTokenId}.", +"type": "string" +}, +"parentFrameUrl": { +"description": "The URL of the parent frame hosting the iframe with the embedded UI. To prevent XSS, the iframe may not be hosted at other URLs. The URL must use the https scheme.", +"type": "string" +}, +"permissions": { +"deprecated": true, +"description": "Permissions available to an admin in the embedded UI. An admin must have all of these permissions in order to view the UI. This field is deprecated.", +"items": { +"enum": [ +"WEB_TOKEN_PERMISSION_UNSPECIFIED", +"APPROVE_APPS" +], +"enumDescriptions": [ +"This value is ignored.", +"The permission to approve apps for the enterprise." +], +"type": "string" +}, +"type": "array" +}, +"value": { +"description": "The token value which is used in the hosting page to generate the iframe with the embedded UI. This is a read-only field generated by the server.", +"type": "string" +} +}, +"type": "object" +}, +"WifiRoamingPolicy": { +"description": "Wi-Fi roaming policy.", +"id": "WifiRoamingPolicy", +"properties": { +"wifiRoamingSettings": { +"description": "Optional. Wi-Fi roaming settings. SSIDs provided in this list must be unique, the policy will be rejected otherwise.", +"items": { +"$ref": "WifiRoamingSetting" +}, +"type": "array" +} +}, +"type": "object" +}, +"WifiRoamingSetting": { +"description": "Wi-Fi roaming setting.", +"id": "WifiRoamingSetting", +"properties": { +"wifiRoamingMode": { +"description": "Required. Wi-Fi roaming mode for the specified SSID.", +"enum": [ +"WIFI_ROAMING_MODE_UNSPECIFIED", +"WIFI_ROAMING_DISABLED", +"WIFI_ROAMING_DEFAULT", +"WIFI_ROAMING_AGGRESSIVE" +], +"enumDescriptions": [ +"Unspecified. Defaults to WIFI_ROAMING_DEFAULT.", +"Wi-Fi roaming is disabled. Supported on Android 15 and above on fully managed devices and work profiles on company-owned devices. A NonComplianceDetail with MANAGEMENT_MODE is reported for other management modes. A NonComplianceDetail with API_LEVEL is reported if the Android version is less than 15.", +"Default Wi-Fi roaming mode of the device.", +"Aggressive roaming mode which allows quicker Wi-Fi roaming. Supported on Android 15 and above on fully managed devices and work profiles on company-owned devices. A NonComplianceDetail with MANAGEMENT_MODE is reported for other management modes. A NonComplianceDetail with API_LEVEL is reported if the Android version is less than 15. A NonComplianceDetail with DEVICE_INCOMPATIBLE is reported if the device does not support aggressive roaming mode." +], +"type": "string" +}, +"wifiSsid": { +"description": "Required. SSID of the Wi-Fi network.", +"type": "string" +} +}, +"type": "object" +}, +"WifiSsid": { +"description": "Represents a Wi-Fi SSID.", +"id": "WifiSsid", +"properties": { +"wifiSsid": { +"description": "Required. Wi-Fi SSID represented as a string.", +"type": "string" +} +}, +"type": "object" +}, +"WifiSsidPolicy": { +"description": "Restrictions on which Wi-Fi SSIDs the device can connect to. Note that this does not affect which networks can be configured on the device. Supported on company-owned devices running Android 13 and above.", +"id": "WifiSsidPolicy", +"properties": { +"wifiSsidPolicyType": { +"description": "Type of the Wi-Fi SSID policy to be applied.", +"enum": [ +"WIFI_SSID_POLICY_TYPE_UNSPECIFIED", +"WIFI_SSID_DENYLIST", +"WIFI_SSID_ALLOWLIST" +], +"enumDescriptions": [ +"Defaults to WIFI_SSID_DENYLIST. wifiSsids must not be set. There are no restrictions on which SSID the device can connect to.", +"The device cannot connect to any Wi-Fi network whose SSID is in wifiSsids, but can connect to other networks.", +"The device can make Wi-Fi connections only to the SSIDs in wifiSsids. wifiSsids must not be empty. The device will not be able to connect to any other Wi-Fi network." +], +"type": "string" +}, +"wifiSsids": { +"description": "Optional. List of Wi-Fi SSIDs that should be applied in the policy. This field must be non-empty when WifiSsidPolicyType is set to WIFI_SSID_ALLOWLIST. If this is set to a non-empty list, then a NonComplianceDetail detail with API_LEVEL is reported if the Android version is less than 13 and a NonComplianceDetail with MANAGEMENT_MODE is reported for non-company-owned devices.", +"items": { +"$ref": "WifiSsid" +}, +"type": "array" +} +}, +"type": "object" +}, +"WipeAction": { +"description": "An action to reset a company owned device or delete a work profile. Note: blockAction must also be specified.", +"id": "WipeAction", +"properties": { +"preserveFrp": { +"description": "Whether the factory-reset protection data is preserved on the device. This setting doesn\u2019t apply to work profiles.", +"type": "boolean" +}, +"wipeAfterDays": { +"description": "Number of days the policy is non-compliant before the device or work profile is wiped. wipeAfterDays must be greater than blockAfterDays.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"WipeFailureEvent": { +"description": "The work profile or company-owned device failed to wipe when requested. This could be user initiated or admin initiated e.g. delete was received. Intentionally empty.", +"id": "WipeFailureEvent", +"properties": {}, +"type": "object" +}, +"WipeParams": { +"description": "Parameters associated with the WIPE command to wipe the device.", +"id": "WipeParams", +"properties": { +"wipeDataFlags": { +"description": "Optional. Flags to determine what data to wipe.", +"items": { +"enum": [ +"WIPE_DATA_FLAG_UNSPECIFIED", +"PRESERVE_RESET_PROTECTION_DATA", +"WIPE_EXTERNAL_STORAGE", +"WIPE_ESIMS" +], +"enumDescriptions": [ +"This value is ignored.", +"Preserve the factory reset protection data on the device.", +"Additionally wipe the device's external storage (such as SD cards).", +"For company-owned devices, this removes all eSIMs from the device when the device is wiped. In personally-owned devices, this will remove managed eSIMs (eSIMs which are added via the ADD_ESIM command) on the devices and no personally owned eSIMs will be removed. For devices running on Android 16 or higher, managed eSIMs are always wiped when work profile is removed for personally-owned devices, whether this flag is provided or not." +], +"type": "string" +}, +"type": "array" +}, +"wipeReason": { +"$ref": "UserFacingMessage", +"description": "Optional. A short message displayed to the user before wiping the work profile on personal devices. This has no effect on company owned devices. The maximum message length is 200 characters." +} +}, +"type": "object" +}, +"WorkAccountSetupConfig": { +"description": "Controls the work account setup configuration, such as details of whether a Google authenticated account is required.", +"id": "WorkAccountSetupConfig", +"properties": { +"authenticationType": { +"description": "Optional. The authentication type of the user on the device.", +"enum": [ +"AUTHENTICATION_TYPE_UNSPECIFIED", +"AUTHENTICATION_TYPE_NOT_ENFORCED", +"GOOGLE_AUTHENTICATED" +], +"enumDescriptions": [ +"Unspecified. Defaults to AUTHENTICATION_TYPE_NOT_ENFORCED.", +"Authentication status of user on device is not enforced.", +"Requires device to be managed with a Google authenticated account." +], +"type": "string" +}, +"requiredAccountEmail": { +"description": "Optional. The specific google work account email address to be added. This field is only relevant if authenticationType is GOOGLE_AUTHENTICATED. This must be an enterprise account and not a consumer account. Once set and a Google authenticated account is added to the device, changing this field will have no effect, and thus recommended to be set only once.", +"type": "string" +} +}, +"type": "object" +} +}, +"servicePath": "", +"title": "Android Management API", +"version": "v1", +"version_module": true +} \ No newline at end of file diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/apigee.v1.json b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/apigee.v1.json new file mode 100644 index 0000000000000000000000000000000000000000..db52eec2598da7bea59d836801927e539a45da81 --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/apigee.v1.json @@ -0,0 +1,21789 @@ +{ +"auth": { +"oauth2": { +"scopes": { +"https://www.googleapis.com/auth/cloud-platform": { +"description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." +} +} +} +}, +"basePath": "", +"baseUrl": "https://apigee.googleapis.com/", +"batchPath": "batch", +"canonicalName": "Apigee", +"description": "Use the Apigee API to programmatically develop and manage APIs with a set of RESTful operations. Develop and secure API proxies, deploy and undeploy API proxy revisions, monitor APIs, configure environments, manage users, and more. Note: This product is available as a free trial for a time period of 60 days.", +"discoveryVersion": "v1", +"documentationLink": "https://cloud.google.com/apigee-api-management/", +"endpoints": [ +{ +"description": "Regional Endpoint", +"endpointUrl": "https://apigee.us.rep.googleapis.com/", +"location": "us" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://apigee.eu.rep.googleapis.com/", +"location": "eu" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://apigee.in.rep.googleapis.com/", +"location": "in" +} +], +"fullyEncodeReservedExpansion": true, +"icons": { +"x16": "http://www.google.com/images/icons/product/search-16.gif", +"x32": "http://www.google.com/images/icons/product/search-32.gif" +}, +"id": "apigee:v1", +"kind": "discovery#restDescription", +"mtlsRootUrl": "https://apigee.mtls.googleapis.com/", +"name": "apigee", +"ownerDomain": "google.com", +"ownerName": "Google", +"parameters": { +"$.xgafv": { +"description": "V1 error format.", +"enum": [ +"1", +"2" +], +"enumDescriptions": [ +"v1 error format", +"v2 error format" +], +"location": "query", +"type": "string" +}, +"access_token": { +"description": "OAuth access token.", +"location": "query", +"type": "string" +}, +"alt": { +"default": "json", +"description": "Data format for response.", +"enum": [ +"json", +"media", +"proto" +], +"enumDescriptions": [ +"Responses with Content-Type of application/json", +"Media download with context-dependent Content-Type", +"Responses with Content-Type of application/x-protobuf" +], +"location": "query", +"type": "string" +}, +"callback": { +"description": "JSONP", +"location": "query", +"type": "string" +}, +"fields": { +"description": "Selector specifying which fields to include in a partial response.", +"location": "query", +"type": "string" +}, +"key": { +"description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", +"location": "query", +"type": "string" +}, +"oauth_token": { +"description": "OAuth 2.0 token for the current user.", +"location": "query", +"type": "string" +}, +"prettyPrint": { +"default": "true", +"description": "Returns response with indentations and line breaks.", +"location": "query", +"type": "boolean" +}, +"quotaUser": { +"description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.", +"location": "query", +"type": "string" +}, +"uploadType": { +"description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", +"location": "query", +"type": "string" +}, +"upload_protocol": { +"description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", +"location": "query", +"type": "string" +} +}, +"protocol": "rest", +"resources": { +"hybrid": { +"resources": { +"issuers": { +"methods": { +"list": { +"description": "Lists hybrid services and its trusted issuers service account ids. This api is authenticated and unauthorized(allow all the users) and used by runtime authn-authz service to query control plane's issuer service account ids.", +"flatPath": "v1/hybrid/issuers", +"httpMethod": "GET", +"id": "apigee.hybrid.issuers.list", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Must be of the form `hybrid/issuers`.", +"location": "path", +"pattern": "^hybrid/issuers$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleCloudApigeeV1ListHybridIssuersResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +}, +"organizations": { +"methods": { +"create": { +"description": "Creates an Apigee organization. See [Create an Apigee organization](https://cloud.google.com/apigee/docs/api-platform/get-started/create-org).", +"flatPath": "v1/organizations", +"httpMethod": "POST", +"id": "apigee.organizations.create", +"parameterOrder": [], +"parameters": { +"parent": { +"description": "Required. Name of the Google Cloud project in which to associate the Apigee organization. Pass the information as a query parameter using the following structure in your request: `projects/`", +"location": "query", +"type": "string" +} +}, +"path": "v1/organizations", +"request": { +"$ref": "GoogleCloudApigeeV1Organization" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Delete an Apigee organization. For organizations with BillingType EVALUATION, an immediate deletion is performed. For paid organizations (Subscription or Pay-as-you-go), a soft-deletion is performed. The organization can be restored within the soft-deletion period, which is specified using the `retention` field in the request or by filing a support ticket with Apigee. During the data retention period specified in the request, the Apigee organization cannot be recreated in the same Google Cloud project. **IMPORTANT: The default data retention setting for this operation is 7 days. To permanently delete the organization in 24 hours, set the retention parameter to `MINIMUM`.**", +"flatPath": "v1/organizations/{organizationsId}", +"httpMethod": "DELETE", +"id": "apigee.organizations.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of the organization. Use the following structure in your request: `organizations/{org}`", +"location": "path", +"pattern": "^organizations/[^/]+$", +"required": true, +"type": "string" +}, +"retention": { +"description": "Optional. This setting is applicable only for organizations that are soft-deleted (i.e., BillingType is not EVALUATION). It controls how long Organization data will be retained after the initial delete operation completes. During this period, the Organization may be restored to its last known state. After this period, the Organization will no longer be able to be restored. **Note: During the data retention period specified using this field, the Apigee organization cannot be recreated in the same Google Cloud project.**", +"enum": [ +"DELETION_RETENTION_UNSPECIFIED", +"MINIMUM" +], +"enumDescriptions": [ +"Default data retention setting of seven days will be applied.", +"Organization data will be retained for the minimum period of 24 hours." +], +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets the profile for an Apigee organization. See [Understanding organizations](https://cloud.google.com/apigee/docs/api-platform/fundamentals/organization-structure).", +"flatPath": "v1/organizations/{organizationsId}", +"httpMethod": "GET", +"id": "apigee.organizations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Apigee organization name in the following format: `organizations/{org}`", +"location": "path", +"pattern": "^organizations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleCloudApigeeV1Organization" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"getControlPlaneAccess": { +"description": "Lists the service accounts allowed to access Apigee control plane directly for limited functionality. **Note**: Available to Apigee hybrid only.", +"flatPath": "v1/organizations/{organizationsId}/controlPlaneAccess", +"httpMethod": "GET", +"id": "apigee.organizations.getControlPlaneAccess", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Resource name of the Control Plane Access. Use the following structure in your request: `organizations/{org}/controlPlaneAccess`", +"location": "path", +"pattern": "^organizations/[^/]+/controlPlaneAccess$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleCloudApigeeV1ControlPlaneAccess" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"getDeployedIngressConfig": { +"description": "Gets the deployed ingress configuration for an organization.", +"flatPath": "v1/organizations/{organizationsId}/deployedIngressConfig", +"httpMethod": "GET", +"id": "apigee.organizations.getDeployedIngressConfig", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of the deployed configuration for the organization in the following format: 'organizations/{org}/deployedIngressConfig'.", +"location": "path", +"pattern": "^organizations/[^/]+/deployedIngressConfig$", +"required": true, +"type": "string" +}, +"view": { +"description": "When set to FULL, additional details about the specific deployments receiving traffic will be included in the IngressConfig response's RoutingRules.", +"enum": [ +"INGRESS_CONFIG_VIEW_UNSPECIFIED", +"BASIC", +"FULL" +], +"enumDescriptions": [ +"The default/unset value. The API will default to the BASIC view.", +"Include all ingress config data necessary for the runtime to configure ingress, but no more. Routing rules will include only basepath and destination environment. This the default value.", +"Include all ingress config data, including internal debug info for each routing rule such as the proxy claiming a particular basepath and when the routing rule first appeared in the env group." +], +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleCloudApigeeV1IngressConfig" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"getProjectMapping": { +"description": "Gets the project ID and region for an Apigee organization.", +"flatPath": "v1/organizations/{organizationsId}:getProjectMapping", +"httpMethod": "GET", +"id": "apigee.organizations.getProjectMapping", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Apigee organization name in the following format: `organizations/{org}`", +"location": "path", +"pattern": "^organizations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:getProjectMapping", +"response": { +"$ref": "GoogleCloudApigeeV1OrganizationProjectMapping" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"getRuntimeConfig": { +"description": "Get runtime config for an organization.", +"flatPath": "v1/organizations/{organizationsId}/runtimeConfig", +"httpMethod": "GET", +"id": "apigee.organizations.getRuntimeConfig", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of the runtime config for the organization in the following format: 'organizations/{org}/runtimeConfig'.", +"location": "path", +"pattern": "^organizations/[^/]+/runtimeConfig$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleCloudApigeeV1RuntimeConfig" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"getSecuritySettings": { +"description": "GetSecuritySettings gets the security settings for API Security.", +"flatPath": "v1/organizations/{organizationsId}/securitySettings", +"httpMethod": "GET", +"id": "apigee.organizations.getSecuritySettings", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the SecuritySettings to retrieve. This will always be: 'organizations/{org}/securitySettings'.", +"location": "path", +"pattern": "^organizations/[^/]+/securitySettings$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleCloudApigeeV1SecuritySettings" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"getSyncAuthorization": { +"description": "Lists the service accounts with the permissions required to allow the Synchronizer to download environment data from the control plane. An ETag is returned in the response to `getSyncAuthorization`. Pass that ETag when calling [setSyncAuthorization](setSyncAuthorization) to ensure that you are updating the correct version. If you don't pass the ETag in the call to `setSyncAuthorization`, then the existing authorization is overwritten indiscriminately. For more information, see [Configure the Synchronizer](https://cloud.google.com/apigee/docs/hybrid/latest/synchronizer-access). **Note**: Available to Apigee hybrid only.", +"flatPath": "v1/organizations/{organizationsId}:getSyncAuthorization", +"httpMethod": "POST", +"id": "apigee.organizations.getSyncAuthorization", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of the Apigee organization. Use the following structure in your request: `organizations/{org}`", +"location": "path", +"pattern": "^organizations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:getSyncAuthorization", +"request": { +"$ref": "GoogleCloudApigeeV1GetSyncAuthorizationRequest" +}, +"response": { +"$ref": "GoogleCloudApigeeV1SyncAuthorization" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists the Apigee organizations and associated Google Cloud projects that you have permission to access. See [Understanding organizations](https://cloud.google.com/apigee/docs/api-platform/fundamentals/organization-structure).", +"flatPath": "v1/organizations", +"httpMethod": "GET", +"id": "apigee.organizations.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. Use the following structure in your request: `organizations`", +"location": "path", +"pattern": "^organizations$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}", +"response": { +"$ref": "GoogleCloudApigeeV1ListOrganizationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"setAddons": { +"description": "Configures the add-ons for the Apigee organization. The existing add-on configuration will be fully replaced.", +"flatPath": "v1/organizations/{organizationsId}:setAddons", +"httpMethod": "POST", +"id": "apigee.organizations.setAddons", +"parameterOrder": [ +"org" +], +"parameters": { +"org": { +"description": "Required. Name of the organization. Use the following structure in your request: `organizations/{org}`", +"location": "path", +"pattern": "^organizations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+org}:setAddons", +"request": { +"$ref": "GoogleCloudApigeeV1SetAddonsRequest" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"setSyncAuthorization": { +"description": "Sets the permissions required to allow the Synchronizer to download environment data from the control plane. You must call this API to enable proper functioning of hybrid. Pass the ETag when calling `setSyncAuthorization` to ensure that you are updating the correct version. To get an ETag, call [getSyncAuthorization](getSyncAuthorization). If you don't pass the ETag in the call to `setSyncAuthorization`, then the existing authorization is overwritten indiscriminately. For more information, see [Configure the Synchronizer](https://cloud.google.com/apigee/docs/hybrid/latest/synchronizer-access). **Note**: Available to Apigee hybrid only.", +"flatPath": "v1/organizations/{organizationsId}:setSyncAuthorization", +"httpMethod": "POST", +"id": "apigee.organizations.setSyncAuthorization", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of the Apigee organization. Use the following structure in your request: `organizations/{org}`", +"location": "path", +"pattern": "^organizations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:setSyncAuthorization", +"request": { +"$ref": "GoogleCloudApigeeV1SyncAuthorization" +}, +"response": { +"$ref": "GoogleCloudApigeeV1SyncAuthorization" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"update": { +"description": "Updates the properties for an Apigee organization. No other fields in the organization profile will be updated.", +"flatPath": "v1/organizations/{organizationsId}", +"httpMethod": "PUT", +"id": "apigee.organizations.update", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Apigee organization name in the following format: `organizations/{org}`", +"location": "path", +"pattern": "^organizations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "GoogleCloudApigeeV1Organization" +}, +"response": { +"$ref": "GoogleCloudApigeeV1Organization" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"updateControlPlaneAccess": { +"description": "Updates the permissions required to allow Apigee runtime-plane components access to the control plane. Currently, the permissions required are to: 1. Allow runtime components to publish analytics data to the control plane. **Note**: Available to Apigee hybrid only.", +"flatPath": "v1/organizations/{organizationsId}/controlPlaneAccess", +"httpMethod": "PATCH", +"id": "apigee.organizations.updateControlPlaneAccess", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Identifier. The resource name of the ControlPlaneAccess. Format: \"organizations/{org}/controlPlaneAccess\"", +"location": "path", +"pattern": "^organizations/[^/]+/controlPlaneAccess$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "List of fields to be updated. Fields that can be updated: synchronizer_identities, publisher_identities.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "GoogleCloudApigeeV1ControlPlaneAccess" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"updateSecuritySettings": { +"description": "UpdateSecuritySettings updates the current security settings for API Security.", +"flatPath": "v1/organizations/{organizationsId}/securitySettings", +"httpMethod": "PATCH", +"id": "apigee.organizations.updateSecuritySettings", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Identifier. Full resource name is always `organizations/{org}/securitySettings`.", +"location": "path", +"pattern": "^organizations/[^/]+/securitySettings$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Optional. The list of fields to update. Allowed fields are: - ml_retraining_feedback_enabled", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "GoogleCloudApigeeV1SecuritySettings" +}, +"response": { +"$ref": "GoogleCloudApigeeV1SecuritySettings" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"analytics": { +"resources": { +"datastores": { +"methods": { +"create": { +"description": "Create a Datastore for an org", +"flatPath": "v1/organizations/{organizationsId}/analytics/datastores", +"httpMethod": "POST", +"id": "apigee.organizations.analytics.datastores.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The parent organization name. Must be of the form `organizations/{org}`.", +"location": "path", +"pattern": "^organizations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/analytics/datastores", +"request": { +"$ref": "GoogleCloudApigeeV1Datastore" +}, +"response": { +"$ref": "GoogleCloudApigeeV1Datastore" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Delete a Datastore from an org.", +"flatPath": "v1/organizations/{organizationsId}/analytics/datastores/{datastoresId}", +"httpMethod": "DELETE", +"id": "apigee.organizations.analytics.datastores.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Resource name of the Datastore to be deleted. Must be of the form `organizations/{org}/analytics/datastores/{datastoreId}`", +"location": "path", +"pattern": "^organizations/[^/]+/analytics/datastores/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Get a Datastore", +"flatPath": "v1/organizations/{organizationsId}/analytics/datastores/{datastoresId}", +"httpMethod": "GET", +"id": "apigee.organizations.analytics.datastores.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Resource name of the Datastore to be get. Must be of the form `organizations/{org}/analytics/datastores/{datastoreId}`", +"location": "path", +"pattern": "^organizations/[^/]+/analytics/datastores/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleCloudApigeeV1Datastore" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "List Datastores", +"flatPath": "v1/organizations/{organizationsId}/analytics/datastores", +"httpMethod": "GET", +"id": "apigee.organizations.analytics.datastores.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The parent organization name. Must be of the form `organizations/{org}`.", +"location": "path", +"pattern": "^organizations/[^/]+$", +"required": true, +"type": "string" +}, +"targetType": { +"description": "Optional. TargetType is used to fetch all Datastores that match the type", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+parent}/analytics/datastores", +"response": { +"$ref": "GoogleCloudApigeeV1ListDatastoresResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"test": { +"description": "Test if Datastore configuration is correct. This includes checking if credentials provided by customer have required permissions in target destination storage", +"flatPath": "v1/organizations/{organizationsId}/analytics/datastores:test", +"httpMethod": "POST", +"id": "apigee.organizations.analytics.datastores.test", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The parent organization name Must be of the form `organizations/{org}`", +"location": "path", +"pattern": "^organizations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/analytics/datastores:test", +"request": { +"$ref": "GoogleCloudApigeeV1Datastore" +}, +"response": { +"$ref": "GoogleCloudApigeeV1TestDatastoreResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"update": { +"description": "Update a Datastore", +"flatPath": "v1/organizations/{organizationsId}/analytics/datastores/{datastoresId}", +"httpMethod": "PUT", +"id": "apigee.organizations.analytics.datastores.update", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of datastore to be updated. Must be of the form `organizations/{org}/analytics/datastores/{datastoreId}`", +"location": "path", +"pattern": "^organizations/[^/]+/analytics/datastores/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "GoogleCloudApigeeV1Datastore" +}, +"response": { +"$ref": "GoogleCloudApigeeV1Datastore" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +}, +"apimServiceExtensions": { +"methods": { +"create": { +"description": "Creates an APIM ServiceExtension in an organization.", +"flatPath": "v1/organizations/{organizationsId}/apimServiceExtensions", +"httpMethod": "POST", +"id": "apigee.organizations.apimServiceExtensions.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"apimServiceExtensionId": { +"description": "Optional. ID used to uniquely identify of the service extension. It must conform with RFC-1034, is restricted to lower-cased letters, numbers and hyphens, and can have a maximum length of 63 characters. Additionally, the first character must be a letter and the last a letter or a number.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. Name of the organization in which the service extension will be created. Use the following structure in your request: `organizations/{org}`", +"location": "path", +"pattern": "^organizations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/apimServiceExtensions", +"request": { +"$ref": "GoogleCloudApigeeV1ApimServiceExtension" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes APIM service extension from an organization.", +"flatPath": "v1/organizations/{organizationsId}/apimServiceExtensions/{apimServiceExtensionsId}", +"httpMethod": "DELETE", +"id": "apigee.organizations.apimServiceExtensions.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of the service extension. Use the following structure in your request: `organizations/{org}/apimServiceExtensions/{extension_id}`", +"location": "path", +"pattern": "^organizations/[^/]+/apimServiceExtensions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets APIM service extension details.", +"flatPath": "v1/organizations/{organizationsId}/apimServiceExtensions/{apimServiceExtensionsId}", +"httpMethod": "GET", +"id": "apigee.organizations.apimServiceExtensions.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of the service extension. Use the following structure in your request: `organizations/{org}/apimServiceExtensions/{extension_id}`", +"location": "path", +"pattern": "^organizations/[^/]+/apimServiceExtensions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleCloudApigeeV1ApimServiceExtension" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists all APIM service extensions in an organization.", +"flatPath": "v1/organizations/{organizationsId}/apimServiceExtensions", +"httpMethod": "GET", +"id": "apigee.organizations.apimServiceExtensions.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "Optional. Maximum number of items to return. If unspecified, at most 25 service extension will be returned.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. Page token, returned from a previous `ListApimServiceExtensions` call, that you can use to retrieve the next page.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. Name of the organization for which to list the service extension. Use the following structure in your request: `organizations/{org}/apimServiceExtensions`", +"location": "path", +"pattern": "^organizations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/apimServiceExtensions", +"response": { +"$ref": "GoogleCloudApigeeV1ListApimServiceExtensionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates an APIM service extension in an organization.", +"flatPath": "v1/organizations/{organizationsId}/apimServiceExtensions/{apimServiceExtensionsId}", +"httpMethod": "PATCH", +"id": "apigee.organizations.apimServiceExtensions.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"allowMissing": { +"description": "Optional. If set to true, and the service extension is not found, a new service extension will be created. In this situation, `update_mask` is ignored.", +"location": "query", +"type": "boolean" +}, +"name": { +"description": "Identifier. unique name of the APIM service extension. The name must conform with RFC-1034, is restricted to lower-cased letters, numbers and hyphens, and can have a maximum length of 63 characters. Additionally, the first character must be a letter and the last a letter or a number.", +"location": "path", +"pattern": "^organizations/[^/]+/apimServiceExtensions/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Optional. The list of fields to update.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "GoogleCloudApigeeV1ApimServiceExtension" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"apiproducts": { +"methods": { +"attributes": { +"description": "Updates or creates API product attributes. This API **replaces** the current list of attributes with the attributes specified in the request body. In this way, you can update existing attributes, add new attributes, or delete existing attributes by omitting them from the request body. **Note**: OAuth access tokens and Key Management Service (KMS) entities (apps, developers, and API products) are cached for 180 seconds (current default). Any custom attributes associated with entities also get cached for at least 180 seconds after entity is accessed during runtime. In this case, the `ExpiresIn` element on the OAuthV2 policy won't be able to expire an access token in less than 180 seconds.", +"flatPath": "v1/organizations/{organizationsId}/apiproducts/{apiproductsId}/attributes", +"httpMethod": "POST", +"id": "apigee.organizations.apiproducts.attributes", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of the API product. Use the following structure in your request: `organizations/{org}/apiproducts/{apiproduct}` If the API Product resource has the `space` attribute set, IAM permissions are checked against the Space resource path. To learn more, read the [Apigee Spaces Overview](https://cloud.google.com/apigee/docs/api-platform/system-administration/spaces/apigee-spaces-overview).", +"location": "path", +"pattern": "^organizations/[^/]+/apiproducts/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}/attributes", +"request": { +"$ref": "GoogleCloudApigeeV1Attributes" +}, +"response": { +"$ref": "GoogleCloudApigeeV1Attributes" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"create": { +"description": "Creates an API product in an organization. You create API products after you have proxied backend services using API proxies. An API product is a collection of API resources combined with quota settings and metadata that you can use to deliver customized and productized API bundles to your developer community. This metadata can include: - Scope - Environments - API proxies - Extensible profile API products enable you repackage APIs on the fly, without having to do any additional coding or configuration. Apigee recommends that you start with a simple API product including only required elements. You then provision credentials to apps to enable them to start testing your APIs. After you have authentication and authorization working against a simple API product, you can iterate to create finer-grained API products, defining different sets of API resources for each API product. **WARNING:** - If you don't specify an API proxy in the request body, *any* app associated with the product can make calls to *any* API in your entire organization. - If you don't specify an environment in the request body, the product allows access to all environments. For more information, see What is an API product?", +"flatPath": "v1/organizations/{organizationsId}/apiproducts", +"httpMethod": "POST", +"id": "apigee.organizations.apiproducts.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. Name of the organization in which the API product will be created. Use the following structure in your request: `organizations/{org}` If the resource has the `space` attribute set, IAM permissions are checked against the Space resource path. To learn more, read the [Apigee Spaces Overview](https://cloud.google.com/apigee/docs/api-platform/system-administration/spaces/apigee-spaces-overview).", +"location": "path", +"pattern": "^organizations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/apiproducts", +"request": { +"$ref": "GoogleCloudApigeeV1ApiProduct" +}, +"response": { +"$ref": "GoogleCloudApigeeV1ApiProduct" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes an API product from an organization. Deleting an API product causes app requests to the resource URIs defined in the API product to fail. Ensure that you create a new API product to serve existing apps, unless your intention is to disable access to the resources defined in the API product. The API product name required in the request URL is the internal name of the product, not the display name. While they may be the same, it depends on whether the API product was created via the UI or the API. View the list of API products to verify the internal name.", +"flatPath": "v1/organizations/{organizationsId}/apiproducts/{apiproductsId}", +"httpMethod": "DELETE", +"id": "apigee.organizations.apiproducts.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of the API product. Use the following structure in your request: `organizations/{org}/apiproducts/{apiproduct}` If the resource has the `space` attribute set, IAM permissions are checked against the Space resource path. To learn more, read the [Apigee Spaces Overview](https://cloud.google.com/apigee/docs/api-platform/system-administration/spaces/apigee-spaces-overview).", +"location": "path", +"pattern": "^organizations/[^/]+/apiproducts/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleCloudApigeeV1ApiProduct" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets configuration details for an API product. The API product name required in the request URL is the internal name of the product, not the display name. While they may be the same, it depends on whether the API product was created via the UI or the API. View the list of API products to verify the internal name.", +"flatPath": "v1/organizations/{organizationsId}/apiproducts/{apiproductsId}", +"httpMethod": "GET", +"id": "apigee.organizations.apiproducts.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of the API product. Use the following structure in your request: `organizations/{org}/apiproducts/{apiproduct}` If the resource has the `space` attribute set, IAM permissions are checked against the Space resource path. To learn more, read the [Apigee Spaces Overview](https://cloud.google.com/apigee/docs/api-platform/system-administration/spaces/apigee-spaces-overview).", +"location": "path", +"pattern": "^organizations/[^/]+/apiproducts/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleCloudApigeeV1ApiProduct" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists all API product names for an organization. Filter the list by passing an `attributename` and `attibutevalue`. The maximum number of API products returned is 1000. You can paginate the list of API products returned using the `startKey` and `count` query parameters. If the resource has the `space` attribute set, the response may not return all resources. To learn more, read the [Apigee Spaces Overview](https://cloud.google.com/apigee/docs/api-platform/system-administration/spaces/apigee-spaces-overview).", +"flatPath": "v1/organizations/{organizationsId}/apiproducts", +"httpMethod": "GET", +"id": "apigee.organizations.apiproducts.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"attributename": { +"description": "Name of the attribute used to filter the search.", +"location": "query", +"type": "string" +}, +"attributevalue": { +"description": "Value of the attribute used to filter the search.", +"location": "query", +"type": "string" +}, +"count": { +"description": "Enter the number of API products you want returned in the API call. The limit is 1000.", +"format": "int64", +"location": "query", +"type": "string" +}, +"expand": { +"description": "Flag that specifies whether to expand the results. Set to `true` to get expanded details about each API.", +"location": "query", +"type": "boolean" +}, +"parent": { +"description": "Required. Name of the organization. Use the following structure in your request: `organizations/{org}` If the resource has the `space` attribute set, IAM permissions are checked against the Space resource path. To learn more, read the [Apigee Spaces Overview](https://cloud.google.com/apigee/docs/api-platform/system-administration/spaces/apigee-spaces-overview).", +"location": "path", +"pattern": "^organizations/[^/]+$", +"required": true, +"type": "string" +}, +"space": { +"description": "Optional. The Space to list API products for. When none provided, all the spaces the user has list access, will be used implicitly, and the same following rules will apply. Can be used in conjunction with start_key, expand and count for paginated response. Composite queries with attributename and attributevalue are not supported yet.", +"location": "query", +"type": "string" +}, +"startKey": { +"description": "Gets a list of API products starting with a specific API product in the list. For example, if you're returning 50 API products at a time (using the `count` query parameter), you can view products 50-99 by entering the name of the 50th API product in the first API (without using `startKey`). Product name is case sensitive.", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+parent}/apiproducts", +"response": { +"$ref": "GoogleCloudApigeeV1ListApiProductsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"move": { +"description": "Moves an API product to a different space.", +"flatPath": "v1/organizations/{organizationsId}/apiproducts/{apiproductsId}:move", +"httpMethod": "POST", +"id": "apigee.organizations.apiproducts.move", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. API product to move in the following format: `organizations/{org}/apiproducts/{apiproduct}", +"location": "path", +"pattern": "^organizations/[^/]+/apiproducts/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:move", +"request": { +"$ref": "GoogleCloudApigeeV1MoveApiProductRequest" +}, +"response": { +"$ref": "GoogleCloudApigeeV1ApiProduct" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"update": { +"description": "Updates an existing API product. You must include all required values, whether or not you are updating them, as well as any optional values that you are updating. The API product name required in the request URL is the internal name of the product, not the display name. While they may be the same, it depends on whether the API product was created via UI or API. View the list of API products to identify their internal names.", +"flatPath": "v1/organizations/{organizationsId}/apiproducts/{apiproductsId}", +"httpMethod": "PUT", +"id": "apigee.organizations.apiproducts.update", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of the API product. Use the following structure in your request: `organizations/{org}/apiproducts/{apiproduct}` If the resource has the `space` attribute set, IAM permissions are checked against the Space resource path.To learn more, read the [Apigee Spaces Overview](https://cloud.google.com/apigee/docs/api-platform/system-administration/spaces/apigee-spaces-overview).", +"location": "path", +"pattern": "^organizations/[^/]+/apiproducts/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "GoogleCloudApigeeV1ApiProduct" +}, +"response": { +"$ref": "GoogleCloudApigeeV1ApiProduct" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"attributes": { +"methods": { +"delete": { +"description": "Deletes an API product attribute.", +"flatPath": "v1/organizations/{organizationsId}/apiproducts/{apiproductsId}/attributes/{attributesId}", +"httpMethod": "DELETE", +"id": "apigee.organizations.apiproducts.attributes.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of the API product attribute. Use the following structure in your request: `organizations/{org}/apiproducts/{apiproduct}/attributes/{attribute}` If the API Product resource has the `space` attribute set, IAM permissions are checked against the Space resource path. To learn more, read the [Apigee Spaces Overview](https://cloud.google.com/apigee/docs/api-platform/system-administration/spaces/apigee-spaces-overview).", +"location": "path", +"pattern": "^organizations/[^/]+/apiproducts/[^/]+/attributes/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleCloudApigeeV1Attribute" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets the value of an API product attribute.", +"flatPath": "v1/organizations/{organizationsId}/apiproducts/{apiproductsId}/attributes/{attributesId}", +"httpMethod": "GET", +"id": "apigee.organizations.apiproducts.attributes.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of the API product attribute. Use the following structure in your request: `organizations/{org}/apiproducts/{apiproduct}/attributes/{attribute}` If the API Product resource has the `space` attribute set, IAM permissions are checked against the Space resource path. To learn more, read the [Apigee Spaces Overview](https://cloud.google.com/apigee/docs/api-platform/system-administration/spaces/apigee-spaces-overview).", +"location": "path", +"pattern": "^organizations/[^/]+/apiproducts/[^/]+/attributes/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleCloudApigeeV1Attribute" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists all API product attributes.", +"flatPath": "v1/organizations/{organizationsId}/apiproducts/{apiproductsId}/attributes", +"httpMethod": "GET", +"id": "apigee.organizations.apiproducts.attributes.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. Name of the API product. Use the following structure in your request: `organizations/{org}/apiproducts/{apiproduct}` If the API Product resource has the `space` attribute set, IAM permissions are checked against the Space resource path. To learn more, read the [Apigee Spaces Overview](https://cloud.google.com/apigee/docs/api-platform/system-administration/spaces/apigee-spaces-overview).", +"location": "path", +"pattern": "^organizations/[^/]+/apiproducts/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/attributes", +"response": { +"$ref": "GoogleCloudApigeeV1Attributes" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"updateApiProductAttribute": { +"description": "Updates the value of an API product attribute. **Note**: OAuth access tokens and Key Management Service (KMS) entities (apps, developers, and API products) are cached for 180 seconds (current default). Any custom attributes associated with entities also get cached for at least 180 seconds after entity is accessed during runtime. In this case, the `ExpiresIn` element on the OAuthV2 policy won't be able to expire an access token in less than 180 seconds.", +"flatPath": "v1/organizations/{organizationsId}/apiproducts/{apiproductsId}/attributes/{attributesId}", +"httpMethod": "POST", +"id": "apigee.organizations.apiproducts.attributes.updateApiProductAttribute", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of the API product. Use the following structure in your request: `organizations/{org}/apiproducts/{apiproduct}` If the API Product resource has the `space` attribute set, IAM permissions are checked against the Space resource path. To learn more, read the [Apigee Spaces Overview](https://cloud.google.com/apigee/docs/api-platform/system-administration/spaces/apigee-spaces-overview).", +"location": "path", +"pattern": "^organizations/[^/]+/apiproducts/[^/]+/attributes/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "GoogleCloudApigeeV1Attribute" +}, +"response": { +"$ref": "GoogleCloudApigeeV1Attribute" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"rateplans": { +"methods": { +"create": { +"description": "Create a rate plan that is associated with an API product in an organization. Using rate plans, API product owners can monetize their API products by configuring one or more of the following: - Billing frequency - Initial setup fees for using an API product - Payment funding model (postpaid only) - Fixed recurring or consumption-based charges for using an API product - Revenue sharing with developer partners An API product can have multiple rate plans associated with it but *only one* rate plan can be active at any point of time. **Note: From the developer's perspective, they purchase API products not rate plans.", +"flatPath": "v1/organizations/{organizationsId}/apiproducts/{apiproductsId}/rateplans", +"httpMethod": "POST", +"id": "apigee.organizations.apiproducts.rateplans.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. Name of the API product that is associated with the rate plan. Use the following structure in your request: `organizations/{org}/apiproducts/{apiproduct}` If the API Product resource has the `space` attribute set, IAM permissions are checked against the Space resource path. To learn more, read the [Apigee Spaces Overview](https://cloud.google.com/apigee/docs/api-platform/system-administration/spaces/apigee-spaces-overview).", +"location": "path", +"pattern": "^organizations/[^/]+/apiproducts/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/rateplans", +"request": { +"$ref": "GoogleCloudApigeeV1RatePlan" +}, +"response": { +"$ref": "GoogleCloudApigeeV1RatePlan" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a rate plan.", +"flatPath": "v1/organizations/{organizationsId}/apiproducts/{apiproductsId}/rateplans/{rateplansId}", +"httpMethod": "DELETE", +"id": "apigee.organizations.apiproducts.rateplans.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. ID of the rate plan. Use the following structure in your request: `organizations/{org}/apiproducts/{apiproduct}/rateplans/{rateplan}` If the API Product resource has the `space` attribute set, IAM permissions are checked against the Space resource path. To learn more, read the [Apigee Spaces Overview](https://cloud.google.com/apigee/docs/api-platform/system-administration/spaces/apigee-spaces-overview).", +"location": "path", +"pattern": "^organizations/[^/]+/apiproducts/[^/]+/rateplans/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleCloudApigeeV1RatePlan" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets the details of a rate plan.", +"flatPath": "v1/organizations/{organizationsId}/apiproducts/{apiproductsId}/rateplans/{rateplansId}", +"httpMethod": "GET", +"id": "apigee.organizations.apiproducts.rateplans.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of the rate plan. Use the following structure in your request: `organizations/{org}/apiproducts/{apiproduct}/rateplans/{rateplan}` If the API Product resource has the `space` attribute set, IAM permissions are checked against the Space resource path. To learn more, read the [Apigee Spaces Overview](https://cloud.google.com/apigee/docs/api-platform/system-administration/spaces/apigee-spaces-overview).", +"location": "path", +"pattern": "^organizations/[^/]+/apiproducts/[^/]+/rateplans/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleCloudApigeeV1RatePlan" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists all the rate plans for an API product.", +"flatPath": "v1/organizations/{organizationsId}/apiproducts/{apiproductsId}/rateplans", +"httpMethod": "GET", +"id": "apigee.organizations.apiproducts.rateplans.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"count": { +"description": "Number of rate plans to return in the API call. Use with the `startKey` parameter to provide more targeted filtering. The maximum limit is 1000. Defaults to 100.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"expand": { +"description": "Flag that specifies whether to expand the results. Set to `true` to get expanded details about each API. Defaults to `false`.", +"location": "query", +"type": "boolean" +}, +"orderBy": { +"description": "Name of the attribute used for sorting. Valid values include: * `name`: Name of the rate plan. * `state`: State of the rate plan (`DRAFT`, `PUBLISHED`). * `startTime`: Time when the rate plan becomes active. * `endTime`: Time when the rate plan expires. **Note**: Not supported by Apigee at this time.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. Name of the API product. Use the following structure in your request: `organizations/{org}/apiproducts/{apiproduct}` Use `organizations/{org}/apiproducts/-` to return rate plans for all API products within the organization. If the API Product resource has the `space` attribute set, IAM permissions are checked against the Space resource path. To learn more, read the [Apigee Spaces Overview](https://cloud.google.com/apigee/docs/api-platform/system-administration/spaces/apigee-spaces-overview).", +"location": "path", +"pattern": "^organizations/[^/]+/apiproducts/[^/]+$", +"required": true, +"type": "string" +}, +"startKey": { +"description": "Name of the rate plan from which to start displaying the list of rate plans. If omitted, the list starts from the first item. For example, to view the rate plans from 51-150, set the value of `startKey` to the name of the 51st rate plan and set the value of `count` to 100.", +"location": "query", +"type": "string" +}, +"state": { +"description": "State of the rate plans (`DRAFT`, `PUBLISHED`) that you want to display.", +"enum": [ +"STATE_UNSPECIFIED", +"DRAFT", +"PUBLISHED" +], +"enumDescriptions": [ +"State of the rate plan is not specified.", +"Rate plan is in draft mode and only visible to API providers.", +"Rate plan is published and will become visible to developers for the configured duration (between `startTime` and `endTime`)." +], +"location": "query", +"type": "string" +} +}, +"path": "v1/{+parent}/rateplans", +"response": { +"$ref": "GoogleCloudApigeeV1ListRatePlansResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"update": { +"description": "Updates an existing rate plan.", +"flatPath": "v1/organizations/{organizationsId}/apiproducts/{apiproductsId}/rateplans/{rateplansId}", +"httpMethod": "PUT", +"id": "apigee.organizations.apiproducts.rateplans.update", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of the rate plan. Use the following structure in your request: `organizations/{org}/apiproducts/{apiproduct}/rateplans/{rateplan}` If the API Product resource has the `space` attribute set, IAM permissions are checked against the Space resource path. To learn more, read the [Apigee Spaces Overview](https://cloud.google.com/apigee/docs/api-platform/system-administration/spaces/apigee-spaces-overview).", +"location": "path", +"pattern": "^organizations/[^/]+/apiproducts/[^/]+/rateplans/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "GoogleCloudApigeeV1RatePlan" +}, +"response": { +"$ref": "GoogleCloudApigeeV1RatePlan" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +}, +"apis": { +"methods": { +"create": { +"description": "Creates an API proxy. The API proxy created will not be accessible at runtime until it is deployed to an environment. Create a new API proxy by setting the `name` query parameter to the name of the API proxy. Import an API proxy configuration bundle stored in zip format on your local machine to your organization by doing the following: * Set the `name` query parameter to the name of the API proxy. * Set the `action` query parameter to `import`. * Set the `Content-Type` header to `multipart/form-data`. * Pass as a file the name of API proxy configuration bundle stored in zip format on your local machine using the `file` form field. **Note**: To validate the API proxy configuration bundle only without importing it, set the `action` query parameter to `validate`. When importing an API proxy configuration bundle, if the API proxy does not exist, it will be created. If the API proxy exists, then a new revision is created. Invalid API proxy configurations are rejected, and a list of validation errors is returned to the client.", +"flatPath": "v1/organizations/{organizationsId}/apis", +"httpMethod": "POST", +"id": "apigee.organizations.apis.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"action": { +"description": "Action to perform when importing an API proxy configuration bundle. Set this parameter to one of the following values: * `import` to import the API proxy configuration bundle. * `validate` to validate the API proxy configuration bundle without importing it.", +"location": "query", +"type": "string" +}, +"name": { +"description": "Name of the API proxy. Restrict the characters used to: A-Za-z0-9._-", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. Name of the organization in the following format: `organizations/{org}` If the API Proxy resource has the `space` attribute set, IAM permissions are checked against the Space resource path. To learn more, read the [Apigee Spaces Overview](https://cloud.google.com/apigee/docs/api-platform/system-administration/spaces/apigee-spaces-overview).", +"location": "path", +"pattern": "^organizations/[^/]+$", +"required": true, +"type": "string" +}, +"space": { +"description": "Optional. The ID of the space associated with this proxy. Any IAM policies applied to the space will affect access to this proxy. Note that this field is only respected when creating a new proxy. It has no effect when creating a new revision for an existing proxy.", +"location": "query", +"type": "string" +}, +"validate": { +"description": "Ignored. All uploads are validated regardless of the value of this field. Maintained for compatibility with Apigee Edge API.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1/{+parent}/apis", +"request": { +"$ref": "GoogleApiHttpBody" +}, +"response": { +"$ref": "GoogleCloudApigeeV1ApiProxyRevision" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes an API proxy and all associated endpoints, policies, resources, and revisions. The API proxy must be undeployed before you can delete it.", +"flatPath": "v1/organizations/{organizationsId}/apis/{apisId}", +"httpMethod": "DELETE", +"id": "apigee.organizations.apis.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of the API proxy in the following format: `organizations/{org}/apis/{api}` If the API Proxy resource has the `space` attribute set, IAM permissions are checked against the Space resource path. To learn more, read the [Apigee Spaces Overview](https://cloud.google.com/apigee/docs/api-platform/system-administration/spaces/apigee-spaces-overview).", +"location": "path", +"pattern": "^organizations/[^/]+/apis/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleCloudApigeeV1ApiProxy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets an API proxy including a list of existing revisions.", +"flatPath": "v1/organizations/{organizationsId}/apis/{apisId}", +"httpMethod": "GET", +"id": "apigee.organizations.apis.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of the API proxy in the following format: `organizations/{org}/apis/{api}` If the API Proxy resource has the `space` attribute set, IAM permissions are checked against the Space resource path. To learn more, read the [Apigee Spaces Overview](https://cloud.google.com/apigee/docs/api-platform/system-administration/spaces/apigee-spaces-overview).", +"location": "path", +"pattern": "^organizations/[^/]+/apis/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleCloudApigeeV1ApiProxy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists the names of all API proxies in an organization. The names returned correspond to the names defined in the configuration files for each API proxy. If the resource has the `space` attribute set, the response may not return all resources. To learn more, read the [Apigee Spaces Overview](https://cloud.google.com/apigee/docs/api-platform/system-administration/spaces/apigee-spaces-overview).", +"flatPath": "v1/organizations/{organizationsId}/apis", +"httpMethod": "GET", +"id": "apigee.organizations.apis.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"includeMetaData": { +"description": "Flag that specifies whether to include API proxy metadata in the response.", +"location": "query", +"type": "boolean" +}, +"includeRevisions": { +"description": "Flag that specifies whether to include a list of revisions in the response.", +"location": "query", +"type": "boolean" +}, +"parent": { +"description": "Required. Name of the organization in the following format: `organizations/{org}` If the resource has the `space` attribute set, IAM permissions are checked against the Space resource path. To learn more, read the [Apigee Spaces Overview](https://cloud.google.com/apigee/docs/api-platform/system-administration/spaces/apigee-spaces-overview).", +"location": "path", +"pattern": "^organizations/[^/]+$", +"required": true, +"type": "string" +}, +"space": { +"description": "Optional. The space ID to filter the list of proxies (optional). If unspecified, all proxies in the organization will be listed.", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+parent}/apis", +"response": { +"$ref": "GoogleCloudApigeeV1ListApiProxiesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"move": { +"description": "Moves an API proxy to a different space.", +"flatPath": "v1/organizations/{organizationsId}/apis/{apisId}:move", +"httpMethod": "POST", +"id": "apigee.organizations.apis.move", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. API proxy to move in the following format: `organizations/{org}/apis/{api}`", +"location": "path", +"pattern": "^organizations/[^/]+/apis/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:move", +"request": { +"$ref": "GoogleCloudApigeeV1MoveApiProxyRequest" +}, +"response": { +"$ref": "GoogleCloudApigeeV1ApiProxy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates an existing API proxy.", +"flatPath": "v1/organizations/{organizationsId}/apis/{apisId}", +"httpMethod": "PATCH", +"id": "apigee.organizations.apis.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. API proxy to update in the following format: `organizations/{org}/apis/{api}` If the resource has the `space` attribute set, IAM permissions are checked against the Space resource path. To learn more, read the [Apigee Spaces Overview](https://cloud.google.com/apigee/docs/api-platform/system-administration/spaces/apigee-spaces-overview).", +"location": "path", +"pattern": "^organizations/[^/]+/apis/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Required. The list of fields to update.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "GoogleCloudApigeeV1ApiProxy" +}, +"response": { +"$ref": "GoogleCloudApigeeV1ApiProxy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"debugsessions": { +"methods": { +"list": { +"description": "Lists debug sessions that are currently active in the given API Proxy.", +"flatPath": "v1/organizations/{organizationsId}/apis/{apisId}/debugsessions", +"httpMethod": "GET", +"id": "apigee.organizations.apis.debugsessions.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "Optional. Maximum number of debug sessions to return. The page size defaults to 25.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. Page token, returned from a previous ListApiDebugSessions call, that you can use to retrieve the next page.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The name of the API Proxy for which to list debug sessions. Must be of the form: `organizations/{organization}/apis/{api}`.", +"location": "path", +"pattern": "^organizations/[^/]+/apis/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/debugsessions", +"response": { +"$ref": "GoogleCloudApigeeV1ListApiDebugSessionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"deployments": { +"methods": { +"list": { +"description": "Lists all deployments of an API proxy.", +"flatPath": "v1/organizations/{organizationsId}/apis/{apisId}/deployments", +"httpMethod": "GET", +"id": "apigee.organizations.apis.deployments.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. Name of the API proxy for which to return deployment information in the following format: `organizations/{org}/apis/{api}` If the API proxy resource has the `space` attribute set, IAM permissions are checked differently . To learn more, read the [Apigee Spaces Overview](https://cloud.google.com/apigee/docs/api-platform/system-administration/spaces/apigee-spaces-overview).", +"location": "path", +"pattern": "^organizations/[^/]+/apis/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/deployments", +"response": { +"$ref": "GoogleCloudApigeeV1ListDeploymentsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"keyvaluemaps": { +"methods": { +"create": { +"description": "Creates a key value map in an API proxy.", +"flatPath": "v1/organizations/{organizationsId}/apis/{apisId}/keyvaluemaps", +"httpMethod": "POST", +"id": "apigee.organizations.apis.keyvaluemaps.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. Name of the environment in which to create the key value map. Use the following structure in your request: `organizations/{org}/apis/{api}` If the API Proxy resource has the `space` attribute set, IAM permissions are checked against the Space resource path. To learn more, read the [Apigee Spaces Overview](https://cloud.google.com/apigee/docs/api-platform/system-administration/spaces/apigee-spaces-overview).", +"location": "path", +"pattern": "^organizations/[^/]+/apis/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/keyvaluemaps", +"request": { +"$ref": "GoogleCloudApigeeV1KeyValueMap" +}, +"response": { +"$ref": "GoogleCloudApigeeV1KeyValueMap" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a key value map from an API proxy.", +"flatPath": "v1/organizations/{organizationsId}/apis/{apisId}/keyvaluemaps/{keyvaluemapsId}", +"httpMethod": "DELETE", +"id": "apigee.organizations.apis.keyvaluemaps.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of the key value map. Use the following structure in your request: `organizations/{org}/apis/{api}/keyvaluemaps/{keyvaluemap}` If the API Proxy resource has the `space` attribute set, IAM permissions are checked against the Space resource path. To learn more, read the [Apigee Spaces Overview](https://cloud.google.com/apigee/docs/api-platform/system-administration/spaces/apigee-spaces-overview).", +"location": "path", +"pattern": "^organizations/[^/]+/apis/[^/]+/keyvaluemaps/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleCloudApigeeV1KeyValueMap" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Get the key value map scoped to an organization, environment, or API proxy.", +"flatPath": "v1/organizations/{organizationsId}/apis/{apisId}/keyvaluemaps/{keyvaluemapsId}", +"httpMethod": "GET", +"id": "apigee.organizations.apis.keyvaluemaps.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Scope as indicated by the URI in which to fetch the key value map. Use **one** of the following structures in your request: * `organizations/{organization}/apis/{api}/keyvaluemaps/{keyvaluemap}`. * `organizations/{organization}/environments/{environment}/keyvaluemaps/{keyvaluemap}` * `organizations/{organization}/keyvaluemaps/{keyvaluemap}`. If the KeyValueMap is under an API Proxy resource that has the `space` attribute set, IAM permissions are checked against the Space resource path. To learn more, read the [Apigee Spaces Overview](https://cloud.google.com/apigee/docs/api-platform/system-administration/spaces/apigee-spaces-overview).", +"location": "path", +"pattern": "^organizations/[^/]+/apis/[^/]+/keyvaluemaps/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleCloudApigeeV1KeyValueMap" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"update": { +"description": "Update the key value map scoped to an organization, environment, or API proxy.", +"flatPath": "v1/organizations/{organizationsId}/apis/{apisId}/keyvaluemaps/{keyvaluemapsId}", +"httpMethod": "PUT", +"id": "apigee.organizations.apis.keyvaluemaps.update", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Scope as indicated by the URI in which to fetch the key value map. Use **one** of the following structures in your request: * `organizations/{organization}/apis/{api}/keyvaluemaps/{keyvaluemap}`. * `organizations/{organization}/environments/{environment}/keyvaluemaps/{keyvaluemap}` * `organizations/{organization}/keyvaluemaps/{keyvaluemap}`. If the KeyValueMap is under an API Proxy resource that has the `space` attribute set, IAM permissions are checked against the Space resource path. To learn more, read the [Apigee Spaces Overview](https://cloud.google.com/apigee/docs/api-platform/system-administration/spaces/apigee-spaces-overview).", +"location": "path", +"pattern": "^organizations/[^/]+/apis/[^/]+/keyvaluemaps/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "GoogleCloudApigeeV1KeyValueMap" +}, +"response": { +"$ref": "GoogleCloudApigeeV1KeyValueMap" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"entries": { +"methods": { +"create": { +"description": "Creates key value entries in a key value map scoped to an organization, environment, or API proxy. **Note**: Supported for Apigee hybrid 1.8.x and higher.", +"flatPath": "v1/organizations/{organizationsId}/apis/{apisId}/keyvaluemaps/{keyvaluemapsId}/entries", +"httpMethod": "POST", +"id": "apigee.organizations.apis.keyvaluemaps.entries.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. Scope as indicated by the URI in which to create the key value map entry. Use **one** of the following structures in your request: * `organizations/{organization}/apis/{api}/keyvaluemaps/{keyvaluemap}`. * `organizations/{organization}/environments/{environment}/keyvaluemaps/{keyvaluemap}` * `organizations/{organization}/keyvaluemaps/{keyvaluemap}`. If the KeyValueMap is under an API Proxy resource that has the `space` attribute set, IAM permissions are checked against the Space resource path. To learn more, read the [Apigee Spaces Overview](https://cloud.google.com/apigee/docs/api-platform/system-administration/spaces/apigee-spaces-overview).", +"location": "path", +"pattern": "^organizations/[^/]+/apis/[^/]+/keyvaluemaps/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/entries", +"request": { +"$ref": "GoogleCloudApigeeV1KeyValueEntry" +}, +"response": { +"$ref": "GoogleCloudApigeeV1KeyValueEntry" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a key value entry from a key value map scoped to an organization, environment, or API proxy. **Notes:** * After you delete the key value entry, the policy consuming the entry will continue to function with its cached values for a few minutes. This is expected behavior. * Supported for Apigee hybrid 1.8.x and higher.", +"flatPath": "v1/organizations/{organizationsId}/apis/{apisId}/keyvaluemaps/{keyvaluemapsId}/entries/{entriesId}", +"httpMethod": "DELETE", +"id": "apigee.organizations.apis.keyvaluemaps.entries.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Scope as indicated by the URI in which to delete the key value map entry. Use **one** of the following structures in your request: * `organizations/{organization}/apis/{api}/keyvaluemaps/{keyvaluemap}/entries/{entry}`. * `organizations/{organization}/environments/{environment}/keyvaluemaps/{keyvaluemap}/entries/{entry}` * `organizations/{organization}/keyvaluemaps/{keyvaluemap}/entries/{entry}`. If the KeyValueMap is under an API Proxy resource that has the `space` attribute set, IAM permissions are checked against the Space resource path. To learn more, read the [Apigee Spaces Overview](https://cloud.google.com/apigee/docs/api-platform/system-administration/spaces/apigee-spaces-overview).", +"location": "path", +"pattern": "^organizations/[^/]+/apis/[^/]+/keyvaluemaps/[^/]+/entries/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleCloudApigeeV1KeyValueEntry" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Get the key value entry value for a key value map scoped to an organization, environment, or API proxy. **Note**: Supported for Apigee hybrid 1.8.x and higher.", +"flatPath": "v1/organizations/{organizationsId}/apis/{apisId}/keyvaluemaps/{keyvaluemapsId}/entries/{entriesId}", +"httpMethod": "GET", +"id": "apigee.organizations.apis.keyvaluemaps.entries.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Scope as indicated by the URI in which to fetch the key value map entry/value. Use **one** of the following structures in your request: * `organizations/{organization}/apis/{api}/keyvaluemaps/{keyvaluemap}/entries/{entry}`. * `organizations/{organization}/environments/{environment}/keyvaluemaps/{keyvaluemap}/entries/{entry}` * `organizations/{organization}/keyvaluemaps/{keyvaluemap}/entries/{entry}`. If the KeyValueMap is under an API Proxy resource that has the `space` attribute set, IAM permissions are checked against the Space resource path. To learn more, read the [Apigee Spaces Overview](https://cloud.google.com/apigee/docs/api-platform/system-administration/spaces/apigee-spaces-overview).", +"location": "path", +"pattern": "^organizations/[^/]+/apis/[^/]+/keyvaluemaps/[^/]+/entries/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleCloudApigeeV1KeyValueEntry" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists key value entries for key values maps scoped to an organization, environment, or API proxy. **Note**: Supported for Apigee hybrid 1.8.x and higher.", +"flatPath": "v1/organizations/{organizationsId}/apis/{apisId}/keyvaluemaps/{keyvaluemapsId}/entries", +"httpMethod": "GET", +"id": "apigee.organizations.apis.keyvaluemaps.entries.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "Optional. Maximum number of key value entries to return. If unspecified, at most 100 entries will be returned.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. Page token. If provides, must be a valid key value entry returned from a previous call that can be used to retrieve the next page.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. Scope as indicated by the URI in which to list key value maps. Use **one** of the following structures in your request: * `organizations/{organization}/apis/{api}/keyvaluemaps/{keyvaluemap}`. * `organizations/{organization}/environments/{environment}/keyvaluemaps/{keyvaluemap}` * `organizations/{organization}/keyvaluemaps/{keyvaluemap}`. If the KeyValueMap is under an API Proxy resource that has the `space` attribute set, IAM permissions are checked against the Space resource path. To learn more, read the [Apigee Spaces Overview](https://cloud.google.com/apigee/docs/api-platform/system-administration/spaces/apigee-spaces-overview).", +"location": "path", +"pattern": "^organizations/[^/]+/apis/[^/]+/keyvaluemaps/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/entries", +"response": { +"$ref": "GoogleCloudApigeeV1ListKeyValueEntriesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"update": { +"description": "Update key value entry scoped to an organization, environment, or API proxy for an existing key.", +"flatPath": "v1/organizations/{organizationsId}/apis/{apisId}/keyvaluemaps/{keyvaluemapsId}/entries/{entriesId}", +"httpMethod": "PUT", +"id": "apigee.organizations.apis.keyvaluemaps.entries.update", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Scope as indicated by the URI in which to create the key value map entry. Use **one** of the following structures in your request: * `organizations/{organization}/apis/{api}/keyvaluemaps/{keyvaluemap}`. * `organizations/{organization}/environments/{environment}/keyvaluemaps/{keyvaluemap}` * `organizations/{organization}/keyvaluemaps/{keyvaluemap}`. If the KeyValueMap is under an API Proxy resource that has the `space` attribute set, IAM permissions are checked against the Space resource path. To learn more, read the [Apigee Spaces Overview](https://cloud.google.com/apigee/docs/api-platform/system-administration/spaces/apigee-spaces-overview).", +"location": "path", +"pattern": "^organizations/[^/]+/apis/[^/]+/keyvaluemaps/[^/]+/entries/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "GoogleCloudApigeeV1KeyValueEntry" +}, +"response": { +"$ref": "GoogleCloudApigeeV1KeyValueEntry" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +}, +"revisions": { +"methods": { +"delete": { +"description": "Deletes an API proxy revision and all policies, resources, endpoints, and revisions associated with it. The API proxy revision must be undeployed before you can delete it.", +"flatPath": "v1/organizations/{organizationsId}/apis/{apisId}/revisions/{revisionsId}", +"httpMethod": "DELETE", +"id": "apigee.organizations.apis.revisions.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. API proxy revision in the following format: `organizations/{org}/apis/{api}/revisions/{rev}` If the API Proxy resource has the `space` attribute set, IAM permissions are checked against the Space resource path. To learn more, read the [Apigee Spaces Overview](https://cloud.google.com/apigee/docs/api-platform/system-administration/spaces/apigee-spaces-overview).", +"location": "path", +"pattern": "^organizations/[^/]+/apis/[^/]+/revisions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleCloudApigeeV1ApiProxyRevision" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets an API proxy revision. To download the API proxy configuration bundle for the specified revision as a zip file, set the `format` query parameter to `bundle`. If you are using curl, specify `-o filename.zip` to save the output to a file; otherwise, it displays to `stdout`. Then, develop the API proxy configuration locally and upload the updated API proxy configuration revision, as described in [updateApiProxyRevision](updateApiProxyRevision).", +"flatPath": "v1/organizations/{organizationsId}/apis/{apisId}/revisions/{revisionsId}", +"httpMethod": "GET", +"id": "apigee.organizations.apis.revisions.get", +"parameterOrder": [ +"name" +], +"parameters": { +"format": { +"description": "Format used when downloading the API proxy configuration revision. Set to `bundle` to download the API proxy configuration revision as a zip file.", +"location": "query", +"type": "string" +}, +"name": { +"description": "Required. API proxy revision in the following format: `organizations/{org}/apis/{api}/revisions/{rev}` If the API Proxy resource has the `space` attribute set, IAM permissions are checked against the Space resource path. To learn more, read the [Apigee Spaces Overview](https://cloud.google.com/apigee/docs/api-platform/system-administration/spaces/apigee-spaces-overview).", +"location": "path", +"pattern": "^organizations/[^/]+/apis/[^/]+/revisions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleApiHttpBody" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"updateApiProxyRevision": { +"description": "Updates an existing API proxy revision by uploading the API proxy configuration bundle as a zip file from your local machine. You can update only API proxy revisions that have never been deployed. After deployment, an API proxy revision becomes immutable, even if it is undeployed. Set the `Content-Type` header to either `multipart/form-data` or `application/octet-stream`.", +"flatPath": "v1/organizations/{organizationsId}/apis/{apisId}/revisions/{revisionsId}", +"httpMethod": "POST", +"id": "apigee.organizations.apis.revisions.updateApiProxyRevision", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. API proxy revision to update in the following format: `organizations/{org}/apis/{api}/revisions/{rev}` If the API Proxy resource has the `space` attribute set, IAM permissions are checked against the Space resource path. To learn more, read the [Apigee Spaces Overview](https://cloud.google.com/apigee/docs/api-platform/system-administration/spaces/apigee-spaces-overview).", +"location": "path", +"pattern": "^organizations/[^/]+/apis/[^/]+/revisions/[^/]+$", +"required": true, +"type": "string" +}, +"validate": { +"description": "Ignored. All uploads are validated regardless of the value of this field. Maintained for compatibility with Apigee Edge API.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "GoogleApiHttpBody" +}, +"response": { +"$ref": "GoogleCloudApigeeV1ApiProxyRevision" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"deployments": { +"methods": { +"list": { +"description": "Lists all deployments of an API proxy revision.", +"flatPath": "v1/organizations/{organizationsId}/apis/{apisId}/revisions/{revisionsId}/deployments", +"httpMethod": "GET", +"id": "apigee.organizations.apis.revisions.deployments.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. Name of the API proxy revision for which to return deployment information in the following format: `organizations/{org}/apis/{api}/revisions/{rev}`. If the API proxy resource has the `space` attribute set, IAM permissions are checked differently . To learn more, read the [Apigee Spaces Overview](https://cloud.google.com/apigee/docs/api-platform/system-administration/spaces/apigee-spaces-overview).", +"location": "path", +"pattern": "^organizations/[^/]+/apis/[^/]+/revisions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/deployments", +"response": { +"$ref": "GoogleCloudApigeeV1ListDeploymentsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +} +} +}, +"appgroups": { +"methods": { +"create": { +"description": "Creates an AppGroup. Once created, user can register apps under the AppGroup to obtain secret key and password. At creation time, the AppGroup's state is set as `active`.", +"flatPath": "v1/organizations/{organizationsId}/appgroups", +"httpMethod": "POST", +"id": "apigee.organizations.appgroups.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. Name of the Apigee organization in which the AppGroup is created. Use the following structure in your request: `organizations/{org}`.", +"location": "path", +"pattern": "^organizations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/appgroups", +"request": { +"$ref": "GoogleCloudApigeeV1AppGroup" +}, +"response": { +"$ref": "GoogleCloudApigeeV1AppGroup" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes an AppGroup. All app and API keys associations with the AppGroup are also removed. **Warning**: This API will permanently delete the AppGroup and related artifacts. **Note**: The delete operation is asynchronous. The AppGroup is deleted immediately, but its associated resources, such as apps and API keys, may take anywhere from a few seconds to a few minutes to be deleted.", +"flatPath": "v1/organizations/{organizationsId}/appgroups/{appgroupsId}", +"httpMethod": "DELETE", +"id": "apigee.organizations.appgroups.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of the AppGroup. Use the following structure in your request: `organizations/{org}/appgroups/{app_group_name}`", +"location": "path", +"pattern": "^organizations/[^/]+/appgroups/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleCloudApigeeV1AppGroup" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Returns the AppGroup details for the provided AppGroup name in the request URI.", +"flatPath": "v1/organizations/{organizationsId}/appgroups/{appgroupsId}", +"httpMethod": "GET", +"id": "apigee.organizations.appgroups.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of the AppGroup. Use the following structure in your request: `organizations/{org}/appgroups/{app_group_name}`", +"location": "path", +"pattern": "^organizations/[^/]+/appgroups/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleCloudApigeeV1AppGroup" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"getBalance": { +"description": "Gets the account balance for the AppGroup.", +"flatPath": "v1/organizations/{organizationsId}/appgroups/{appgroupsId}/balance", +"httpMethod": "GET", +"id": "apigee.organizations.appgroups.getBalance", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Account balance for the AppGroup. Use the following structure in your request: `organizations/{org}/appgroups/{app_group}/balance`", +"location": "path", +"pattern": "^organizations/[^/]+/appgroups/[^/]+/balance$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleCloudApigeeV1AppGroupBalance" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"getMonetizationConfig": { +"description": "Gets the monetization configuration for the AppGroup.", +"flatPath": "v1/organizations/{organizationsId}/appgroups/{appgroupsId}/monetizationConfig", +"httpMethod": "GET", +"id": "apigee.organizations.appgroups.getMonetizationConfig", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Monetization configuration for the AppGroup. Use the following structure in your request: `organizations/{org}/appgroups/{app_group}/monetizationConfig`", +"location": "path", +"pattern": "^organizations/[^/]+/appgroups/[^/]+/monetizationConfig$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleCloudApigeeV1AppGroupMonetizationConfig" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists all AppGroups in an organization. A maximum of 1000 AppGroups are returned in the response if PageSize is not specified, or if the PageSize is greater than 1000.", +"flatPath": "v1/organizations/{organizationsId}/appgroups", +"httpMethod": "GET", +"id": "apigee.organizations.appgroups.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "The filter expression to be used to get the list of AppGroups, where filtering can be done on status, channelId or channelUri of the app group. Examples: filter=status=active\", filter=channelId=, filter=channelUri=", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Count of AppGroups a single page can have in the response. If unspecified, at most 1000 AppGroups will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The starting index record for listing the AppGroups.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. Name of the Apigee organization. Use the following structure in your request: `organizations/{org}`.", +"location": "path", +"pattern": "^organizations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/appgroups", +"response": { +"$ref": "GoogleCloudApigeeV1ListAppGroupsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"update": { +"description": "Updates an AppGroup. This API replaces the existing AppGroup details with those specified in the request. Include or exclude any existing details that you want to retain or delete, respectively. Note that the state of the AppGroup should be updated using `action`, and not via AppGroup.", +"flatPath": "v1/organizations/{organizationsId}/appgroups/{appgroupsId}", +"httpMethod": "PUT", +"id": "apigee.organizations.appgroups.update", +"parameterOrder": [ +"name" +], +"parameters": { +"action": { +"description": "Activate or de-activate the AppGroup by setting the action as `active` or `inactive`. The `Content-Type` header must be set to `application/octet-stream`, with empty body.", +"location": "query", +"type": "string" +}, +"name": { +"description": "Required. Name of the AppGroup. Use the following structure in your request: `organizations/{org}/appgroups/{app_group_name}`", +"location": "path", +"pattern": "^organizations/[^/]+/appgroups/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "GoogleCloudApigeeV1AppGroup" +}, +"response": { +"$ref": "GoogleCloudApigeeV1AppGroup" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"updateMonetizationConfig": { +"description": "Updates the monetization configuration for the AppGroup.", +"flatPath": "v1/organizations/{organizationsId}/appgroups/{appgroupsId}/monetizationConfig", +"httpMethod": "PUT", +"id": "apigee.organizations.appgroups.updateMonetizationConfig", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Monetization configuration for the AppGroup. Use the following structure in your request: `organizations/{org}/appgroups/{app_group}/monetizationConfig`", +"location": "path", +"pattern": "^organizations/[^/]+/appgroups/[^/]+/monetizationConfig$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "GoogleCloudApigeeV1AppGroupMonetizationConfig" +}, +"response": { +"$ref": "GoogleCloudApigeeV1AppGroupMonetizationConfig" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"apps": { +"methods": { +"create": { +"description": "Creates an app and associates it with an AppGroup. This API associates the AppGroup app with the specified API product and auto-generates an API key for the app to use in calls to API proxies inside that API product. The `name` is the unique ID of the app that you can use in API calls.", +"flatPath": "v1/organizations/{organizationsId}/appgroups/{appgroupsId}/apps", +"httpMethod": "POST", +"id": "apigee.organizations.appgroups.apps.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. Name of the AppGroup. Use the following structure in your request: `organizations/{org}/appgroups/{app_group_name}`", +"location": "path", +"pattern": "^organizations/[^/]+/appgroups/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/apps", +"request": { +"$ref": "GoogleCloudApigeeV1AppGroupApp" +}, +"response": { +"$ref": "GoogleCloudApigeeV1AppGroupApp" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes an AppGroup app. **Note**: The delete operation is asynchronous. The AppGroup app is deleted immediately, but its associated resources, such as app keys or access tokens, may take anywhere from a few seconds to a few minutes to be deleted.", +"flatPath": "v1/organizations/{organizationsId}/appgroups/{appgroupsId}/apps/{appsId}", +"httpMethod": "DELETE", +"id": "apigee.organizations.appgroups.apps.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of the AppGroup app. Use the following structure in your request: `organizations/{org}/appgroups/{app_group_name}/apps/{app}`", +"location": "path", +"pattern": "^organizations/[^/]+/appgroups/[^/]+/apps/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleCloudApigeeV1AppGroupApp" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Returns the details for an AppGroup app.", +"flatPath": "v1/organizations/{organizationsId}/appgroups/{appgroupsId}/apps/{appsId}", +"httpMethod": "GET", +"id": "apigee.organizations.appgroups.apps.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of the AppGroup app. Use the following structure in your request: `organizations/{org}/appgroups/{app_group_name}/apps/{app}`", +"location": "path", +"pattern": "^organizations/[^/]+/appgroups/[^/]+/apps/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleCloudApigeeV1AppGroupApp" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists all apps created by an AppGroup in an Apigee organization. Optionally, you can request an expanded view of the AppGroup apps. Lists all AppGroupApps in an AppGroup. A maximum of 1000 AppGroup apps are returned in the response if PageSize is not specified, or if the PageSize is greater than 1000.", +"flatPath": "v1/organizations/{organizationsId}/appgroups/{appgroupsId}/apps", +"httpMethod": "GET", +"id": "apigee.organizations.appgroups.apps.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "Optional. Maximum number entries to return. If unspecified, at most 1000 entries will be returned.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. Page token. If provides, must be a valid AppGroup app returned from a previous call that can be used to retrieve the next page.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. Name of the AppGroup. Use the following structure in your request: `organizations/{org}/appgroups/{app_group_name}`", +"location": "path", +"pattern": "^organizations/[^/]+/appgroups/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/apps", +"response": { +"$ref": "GoogleCloudApigeeV1ListAppGroupAppsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"update": { +"description": "Updates the details for an AppGroup app. In addition, you can add an API product to an AppGroup app and automatically generate an API key for the app to use when calling APIs in the API product. If you want to use an existing API key for the API product, add the API product to the API key using the UpdateAppGroupAppKey API. Using this API, you cannot update the app name, as it is the primary key used to identify the app and cannot be changed. This API replaces the existing attributes with those specified in the request. Include or exclude any existing attributes that you want to retain or delete, respectively.", +"flatPath": "v1/organizations/{organizationsId}/appgroups/{appgroupsId}/apps/{appsId}", +"httpMethod": "PUT", +"id": "apigee.organizations.appgroups.apps.update", +"parameterOrder": [ +"name" +], +"parameters": { +"action": { +"description": "Approve or revoke the consumer key by setting this value to `approve` or `revoke`. The `Content-Type` header must be set to `application/octet-stream`, with empty body.", +"location": "query", +"type": "string" +}, +"name": { +"description": "Required. Name of the AppGroup app. Use the following structure in your request: `organizations/{org}/appgroups/{app_group_name}/apps/{app}`", +"location": "path", +"pattern": "^organizations/[^/]+/appgroups/[^/]+/apps/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "GoogleCloudApigeeV1AppGroupApp" +}, +"response": { +"$ref": "GoogleCloudApigeeV1AppGroupApp" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"keys": { +"methods": { +"create": { +"description": "Creates a custom consumer key and secret for a AppGroup app. This is particularly useful if you want to migrate existing consumer keys and secrets to Apigee from another system. Consumer keys and secrets can contain letters, numbers, underscores, and hyphens. No other special characters are allowed. To avoid service disruptions, a consumer key and secret should not exceed 2 KBs each. **Note**: When creating the consumer key and secret, an association to API products will not be made. Therefore, you should not specify the associated API products in your request. Instead, use the UpdateAppGroupAppKey API to make the association after the consumer key and secret are created. If a consumer key and secret already exist, you can keep them or delete them using the DeleteAppGroupAppKey API.", +"flatPath": "v1/organizations/{organizationsId}/appgroups/{appgroupsId}/apps/{appsId}/keys", +"httpMethod": "POST", +"id": "apigee.organizations.appgroups.apps.keys.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. Parent of the AppGroup app key. Use the following structure in your request: `organizations/{org}/appgroups/{app_group_name}/apps/{app}/keys`", +"location": "path", +"pattern": "^organizations/[^/]+/appgroups/[^/]+/apps/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/keys", +"request": { +"$ref": "GoogleCloudApigeeV1AppGroupAppKey" +}, +"response": { +"$ref": "GoogleCloudApigeeV1AppGroupAppKey" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes an app's consumer key and removes all API products associated with the app. After the consumer key is deleted, it cannot be used to access any APIs.", +"flatPath": "v1/organizations/{organizationsId}/appgroups/{appgroupsId}/apps/{appsId}/keys/{keysId}", +"httpMethod": "DELETE", +"id": "apigee.organizations.appgroups.apps.keys.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of the AppGroup app key. Use the following structure in your request: `organizations/{org}/appgroups/{app_group_name}/apps/{app}/keys/{key}`", +"location": "path", +"pattern": "^organizations/[^/]+/appgroups/[^/]+/apps/[^/]+/keys/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleCloudApigeeV1AppGroupAppKey" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets details for a consumer key for a AppGroup app, including the key and secret value, associated API products, and other information.", +"flatPath": "v1/organizations/{organizationsId}/appgroups/{appgroupsId}/apps/{appsId}/keys/{keysId}", +"httpMethod": "GET", +"id": "apigee.organizations.appgroups.apps.keys.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of the AppGroup app key. Use the following structure in your request: `organizations/{org}/appgroups/{app_group_name}/apps/{app}/keys/{key}`", +"location": "path", +"pattern": "^organizations/[^/]+/appgroups/[^/]+/apps/[^/]+/keys/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleCloudApigeeV1AppGroupAppKey" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"updateAppGroupAppKey": { +"description": "Adds an API product to an AppGroupAppKey, enabling the app that holds the key to access the API resources bundled in the API product. In addition, you can add attributes and scopes to the AppGroupAppKey. This API replaces the existing attributes with those specified in the request. Include or exclude any existing attributes that you want to retain or delete, respectively. You can use the same key to access all API products associated with the app.", +"flatPath": "v1/organizations/{organizationsId}/appgroups/{appgroupsId}/apps/{appsId}/keys/{keysId}", +"httpMethod": "POST", +"id": "apigee.organizations.appgroups.apps.keys.updateAppGroupAppKey", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of the AppGroup app key. Use the following structure in your request: `organizations/{org}/appgroups/{app_group_name}/apps/{app}/keys/{key}`", +"location": "path", +"pattern": "^organizations/[^/]+/appgroups/[^/]+/apps/[^/]+/keys/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "GoogleCloudApigeeV1UpdateAppGroupAppKeyRequest" +}, +"response": { +"$ref": "GoogleCloudApigeeV1AppGroupAppKey" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"apiproducts": { +"methods": { +"delete": { +"description": "Removes an API product from an app's consumer key. After the API product is removed, the app cannot access the API resources defined in that API product. **Note**: The consumer key is not removed, only its association with the API product.", +"flatPath": "v1/organizations/{organizationsId}/appgroups/{appgroupsId}/apps/{appsId}/keys/{keysId}/apiproducts/{apiproductsId}", +"httpMethod": "DELETE", +"id": "apigee.organizations.appgroups.apps.keys.apiproducts.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Parent of the AppGroup app key. Use the following structure in your request: `organizations/{org}/appgroups/{app_group_name}/apps/{app}/keys/{key}/apiproducts/{apiproduct}`", +"location": "path", +"pattern": "^organizations/[^/]+/appgroups/[^/]+/apps/[^/]+/keys/[^/]+/apiproducts/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleCloudApigeeV1AppGroupAppKey" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"updateAppGroupAppKeyApiProduct": { +"description": "Approves or revokes the consumer key for an API product. After a consumer key is approved, the app can use it to access APIs. A consumer key that is revoked or pending cannot be used to access an API. Any access tokens associated with a revoked consumer key will remain active. However, Apigee checks the status of the consumer key and if set to `revoked` will not allow access to the API.", +"flatPath": "v1/organizations/{organizationsId}/appgroups/{appgroupsId}/apps/{appsId}/keys/{keysId}/apiproducts/{apiproductsId}", +"httpMethod": "POST", +"id": "apigee.organizations.appgroups.apps.keys.apiproducts.updateAppGroupAppKeyApiProduct", +"parameterOrder": [ +"name" +], +"parameters": { +"action": { +"description": "Approve or revoke the consumer key by setting this value to `approve` or `revoke` respectively. The `Content-Type` header, if set, must be set to `application/octet-stream`, with empty body.", +"location": "query", +"type": "string" +}, +"name": { +"description": "Required. Name of the API product in the developer app key in the following format: `organizations/{org}/appgroups/{app_group_name}/apps/{app}/keys/{key}/apiproducts/{apiproduct}`", +"location": "path", +"pattern": "^organizations/[^/]+/appgroups/[^/]+/apps/[^/]+/keys/[^/]+/apiproducts/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +} +} +}, +"balance": { +"methods": { +"adjust": { +"description": "Adjust the prepaid balance for the AppGroup. This API will be used in scenarios where the AppGroup has been under-charged or over-charged.", +"flatPath": "v1/organizations/{organizationsId}/appgroups/{appgroupsId}/balance:adjust", +"httpMethod": "POST", +"id": "apigee.organizations.appgroups.balance.adjust", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Account balance for the AppGroup. Use the following structure in your request: `organizations/{org}/appgroups/{app_group}/balance`", +"location": "path", +"pattern": "^organizations/[^/]+/appgroups/[^/]+/balance$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:adjust", +"request": { +"$ref": "GoogleCloudApigeeV1AdjustAppGroupBalanceRequest" +}, +"response": { +"$ref": "GoogleCloudApigeeV1AppGroupBalance" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"credit": { +"description": "Credits the account balance for the AppGroup.", +"flatPath": "v1/organizations/{organizationsId}/appgroups/{appgroupsId}/balance:credit", +"httpMethod": "POST", +"id": "apigee.organizations.appgroups.balance.credit", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Account balance for the AppGroup. Use the following structure in your request: `organizations/{org}/appgroups/{app_group}/balance`", +"location": "path", +"pattern": "^organizations/[^/]+/appgroups/[^/]+/balance$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:credit", +"request": { +"$ref": "GoogleCloudApigeeV1CreditAppGroupBalanceRequest" +}, +"response": { +"$ref": "GoogleCloudApigeeV1AppGroupBalance" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"subscriptions": { +"methods": { +"create": { +"description": "Creates a subscription to an API product. ", +"flatPath": "v1/organizations/{organizationsId}/appgroups/{appgroupsId}/subscriptions", +"httpMethod": "POST", +"id": "apigee.organizations.appgroups.subscriptions.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. Name of the appgroup that is purchasing a subscription to the API product. Use the following structure in your request: `organizations/{org}/appgroups/{appgroup}`", +"location": "path", +"pattern": "^organizations/[^/]+/appgroups/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/subscriptions", +"request": { +"$ref": "GoogleCloudApigeeV1AppGroupSubscription" +}, +"response": { +"$ref": "GoogleCloudApigeeV1AppGroupSubscription" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"expire": { +"description": "Expires an API product subscription immediately.", +"flatPath": "v1/organizations/{organizationsId}/appgroups/{appgroupsId}/subscriptions/{subscriptionsId}:expire", +"httpMethod": "POST", +"id": "apigee.organizations.appgroups.subscriptions.expire", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of the API product subscription. Use the following structure in your request: `organizations/{org}/appgroups/{appgroup}/subscriptions/{subscription}`", +"location": "path", +"pattern": "^organizations/[^/]+/appgroups/[^/]+/subscriptions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:expire", +"request": { +"$ref": "GoogleCloudApigeeV1ExpireAppGroupSubscriptionRequest" +}, +"response": { +"$ref": "GoogleCloudApigeeV1AppGroupSubscription" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Get an api product subscription for an appgroup.", +"flatPath": "v1/organizations/{organizationsId}/appgroups/{appgroupsId}/subscriptions/{subscriptionsId}", +"httpMethod": "GET", +"id": "apigee.organizations.appgroups.subscriptions.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the AppGroupSubscription to retrieve. Format: `organizations/{org}/appgroups/{appgroup}/subscriptions/{subscription}`", +"location": "path", +"pattern": "^organizations/[^/]+/appgroups/[^/]+/subscriptions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleCloudApigeeV1AppGroupSubscription" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "List all api product subscriptions for an appgroup.", +"flatPath": "v1/organizations/{organizationsId}/appgroups/{appgroupsId}/subscriptions", +"httpMethod": "GET", +"id": "apigee.organizations.appgroups.subscriptions.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "Optional. The maximum number of subscriptions to return. The service may return fewer than this value. If unspecified, at most 100 subscriptions will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. A page token, received from a previous `ListAppGroupSubscriptions` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListAppGroupSubscriptions` must match the call that provided the page token.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. Name of the appgroup. Use the following structure in your request: `organizations/{org}/appgroups/{appgroup}`", +"location": "path", +"pattern": "^organizations/[^/]+/appgroups/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/subscriptions", +"response": { +"$ref": "GoogleCloudApigeeV1ListAppGroupSubscriptionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +}, +"apps": { +"methods": { +"get": { +"description": "Gets the app profile for the specified app ID.", +"flatPath": "v1/organizations/{organizationsId}/apps/{appsId}", +"httpMethod": "GET", +"id": "apigee.organizations.apps.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. App ID in the following format: `organizations/{org}/apps/{app}`", +"location": "path", +"pattern": "^organizations/[^/]+/apps/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleCloudApigeeV1App" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists IDs of apps within an organization that have the specified app status (approved or revoked) or are of the specified app type (developer or company).", +"flatPath": "v1/organizations/{organizationsId}/apps", +"httpMethod": "GET", +"id": "apigee.organizations.apps.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"apiProduct": { +"description": "API product.", +"location": "query", +"type": "string" +}, +"apptype": { +"description": "Optional. 'apptype' is no longer available. Use a 'filter' instead.", +"location": "query", +"type": "string" +}, +"expand": { +"description": "Optional. Flag that specifies whether to return an expanded list of apps for the organization. Defaults to `false`.", +"location": "query", +"type": "boolean" +}, +"filter": { +"description": "Optional. The filter expression to be used to get the list of apps, where filtering can be done on developerEmail, apiProduct, consumerKey, status, appId, appName, appType and appGroup. Examples: \"developerEmail=foo@bar.com\", \"appType=AppGroup\", or \"appType=Developer\" \"filter\" is supported from ver 1.10.0 and above.", +"location": "query", +"type": "string" +}, +"ids": { +"description": "Optional. Comma-separated list of app IDs on which to filter.", +"location": "query", +"type": "string" +}, +"includeCred": { +"description": "Optional. Flag that specifies whether to include credentials in the response.", +"location": "query", +"type": "boolean" +}, +"keyStatus": { +"description": "Optional. Key status of the app. Valid values include `approved` or `revoked`. Defaults to `approved`.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Optional. Count of apps a single page can have in the response. If unspecified, at most 1000 apps will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000. \"page_size\" is supported from ver 1.10.0 and above.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. The starting index record for listing the developers. \"page_token\" is supported from ver 1.10.0 and above.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. Resource path of the parent in the following format: `organizations/{org}`", +"location": "path", +"pattern": "^organizations/[^/]+$", +"required": true, +"type": "string" +}, +"rows": { +"description": "Optional. Maximum number of app IDs to return. Defaults to 1000, which is also the upper limit. To get more than 1000, use pagination with 'pageSize' and 'pageToken' parameters.", +"format": "int64", +"location": "query", +"type": "string" +}, +"startKey": { +"description": "Returns the list of apps starting from the specified app ID.", +"location": "query", +"type": "string" +}, +"status": { +"description": "Optional. Filter by the status of the app. Valid values are `approved` or `revoked`. Defaults to `approved`.", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+parent}/apps", +"response": { +"$ref": "GoogleCloudApigeeV1ListAppsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"datacollectors": { +"methods": { +"create": { +"description": "Creates a new data collector.", +"flatPath": "v1/organizations/{organizationsId}/datacollectors", +"httpMethod": "POST", +"id": "apigee.organizations.datacollectors.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"dataCollectorId": { +"description": "ID of the data collector. Overrides any ID in the data collector resource. Must be a string beginning with `dc_` that contains only letters, numbers, and underscores.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. Name of the organization in which to create the data collector in the following format: `organizations/{org}`.", +"location": "path", +"pattern": "^organizations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/datacollectors", +"request": { +"$ref": "GoogleCloudApigeeV1DataCollector" +}, +"response": { +"$ref": "GoogleCloudApigeeV1DataCollector" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a data collector.", +"flatPath": "v1/organizations/{organizationsId}/datacollectors/{datacollectorsId}", +"httpMethod": "DELETE", +"id": "apigee.organizations.datacollectors.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of the data collector in the following format: `organizations/{org}/datacollectors/{data_collector_id}`.", +"location": "path", +"pattern": "^organizations/[^/]+/datacollectors/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets a data collector.", +"flatPath": "v1/organizations/{organizationsId}/datacollectors/{datacollectorsId}", +"httpMethod": "GET", +"id": "apigee.organizations.datacollectors.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of the data collector in the following format: `organizations/{org}/datacollectors/{data_collector_id}`.", +"location": "path", +"pattern": "^organizations/[^/]+/datacollectors/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleCloudApigeeV1DataCollector" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists all data collectors.", +"flatPath": "v1/organizations/{organizationsId}/datacollectors", +"httpMethod": "GET", +"id": "apigee.organizations.datacollectors.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "Maximum number of data collectors to return. The page size defaults to 25.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Page token, returned from a previous ListDataCollectors call, that you can use to retrieve the next page.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. Name of the organization for which to list data collectors in the following format: `organizations/{org}`.", +"location": "path", +"pattern": "^organizations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/datacollectors", +"response": { +"$ref": "GoogleCloudApigeeV1ListDataCollectorsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates a data collector.", +"flatPath": "v1/organizations/{organizationsId}/datacollectors/{datacollectorsId}", +"httpMethod": "PATCH", +"id": "apigee.organizations.datacollectors.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of the data collector in the following format: `organizations/{org}/datacollectors/{data_collector_id}`.", +"location": "path", +"pattern": "^organizations/[^/]+/datacollectors/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "List of fields to be updated.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "GoogleCloudApigeeV1DataCollector" +}, +"response": { +"$ref": "GoogleCloudApigeeV1DataCollector" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"deployments": { +"methods": { +"list": { +"description": "Lists all deployments of API proxies or shared flows.", +"flatPath": "v1/organizations/{organizationsId}/deployments", +"httpMethod": "GET", +"id": "apigee.organizations.deployments.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. Name of the organization for which to return deployment information in the following format: `organizations/{org}`", +"location": "path", +"pattern": "^organizations/[^/]+$", +"required": true, +"type": "string" +}, +"sharedFlows": { +"description": "Optional. Flag that specifies whether to return shared flow or API proxy deployments. Set to `true` to return shared flow deployments; set to `false` to return API proxy deployments. Defaults to `false`.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1/{+parent}/deployments", +"response": { +"$ref": "GoogleCloudApigeeV1ListDeploymentsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"developers": { +"methods": { +"attributes": { +"description": "Updates developer attributes. This API replaces the existing attributes with those specified in the request. Add new attributes, and include or exclude any existing attributes that you want to retain or remove, respectively. The custom attribute limit is 18. **Note**: OAuth access tokens and Key Management Service (KMS) entities (apps, developers, and API products) are cached for 180 seconds (default). Any custom attributes associated with these entities are cached for at least 180 seconds after the entity is accessed at runtime. Therefore, an `ExpiresIn` element on the OAuthV2 policy won't be able to expire an access token in less than 180 seconds.", +"flatPath": "v1/organizations/{organizationsId}/developers/{developersId}/attributes", +"httpMethod": "POST", +"id": "apigee.organizations.developers.attributes", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. Email address of the developer for which attributes are being updated. Use the following structure in your request: `organizations/{org}/developers/{developer_email}`", +"location": "path", +"pattern": "^organizations/[^/]+/developers/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/attributes", +"request": { +"$ref": "GoogleCloudApigeeV1Attributes" +}, +"response": { +"$ref": "GoogleCloudApigeeV1Attributes" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"create": { +"description": "Creates a developer. Once created, the developer can register an app and obtain an API key. At creation time, a developer is set as `active`. To change the developer status, use the SetDeveloperStatus API.", +"flatPath": "v1/organizations/{organizationsId}/developers", +"httpMethod": "POST", +"id": "apigee.organizations.developers.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. Name of the Apigee organization in which the developer is created. Use the following structure in your request: `organizations/{org}`.", +"location": "path", +"pattern": "^organizations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/developers", +"request": { +"$ref": "GoogleCloudApigeeV1Developer" +}, +"response": { +"$ref": "GoogleCloudApigeeV1Developer" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a developer. All apps and API keys associated with the developer are also removed. **Warning**: This API will permanently delete the developer and related artifacts. To avoid permanently deleting developers and their artifacts, set the developer status to `inactive` using the SetDeveloperStatus API. **Note**: The delete operation is asynchronous. The developer is deleted immediately, but its associated resources, such as apps and API keys, may take anywhere from a few seconds to a few minutes to be deleted.", +"flatPath": "v1/organizations/{organizationsId}/developers/{developersId}", +"httpMethod": "DELETE", +"id": "apigee.organizations.developers.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Email address of the developer. Use the following structure in your request: `organizations/{org}/developers/{developer_email}`", +"location": "path", +"pattern": "^organizations/[^/]+/developers/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleCloudApigeeV1Developer" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Returns the developer details, including the developer's name, email address, apps, and other information. **Note**: The response includes only the first 100 developer apps.", +"flatPath": "v1/organizations/{organizationsId}/developers/{developersId}", +"httpMethod": "GET", +"id": "apigee.organizations.developers.get", +"parameterOrder": [ +"name" +], +"parameters": { +"action": { +"description": "Status of the developer. Valid values are `active` or `inactive`.", +"location": "query", +"type": "string" +}, +"name": { +"description": "Required. Email address of the developer. Use the following structure in your request: `organizations/{org}/developers/{developer_email}`", +"location": "path", +"pattern": "^organizations/[^/]+/developers/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleCloudApigeeV1Developer" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"getBalance": { +"description": "Gets the account balance for the developer.", +"flatPath": "v1/organizations/{organizationsId}/developers/{developersId}/balance", +"httpMethod": "GET", +"id": "apigee.organizations.developers.getBalance", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Account balance for the developer. Use the following structure in your request: `organizations/{org}/developers/{developer}/balance`", +"location": "path", +"pattern": "^organizations/[^/]+/developers/[^/]+/balance$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleCloudApigeeV1DeveloperBalance" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"getMonetizationConfig": { +"description": "Gets the monetization configuration for the developer.", +"flatPath": "v1/organizations/{organizationsId}/developers/{developersId}/monetizationConfig", +"httpMethod": "GET", +"id": "apigee.organizations.developers.getMonetizationConfig", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Monetization configuration for the developer. Use the following structure in your request: `organizations/{org}/developers/{developer}/monetizationConfig`", +"location": "path", +"pattern": "^organizations/[^/]+/developers/[^/]+/monetizationConfig$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleCloudApigeeV1DeveloperMonetizationConfig" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists all developers in an organization by email address. By default, the response does not include company developers. Set the `includeCompany` query parameter to `true` to include company developers. **Note**: A maximum of 1000 developers are returned in the response. You paginate the list of developers returned using the `startKey` and `count` query parameters.", +"flatPath": "v1/organizations/{organizationsId}/developers", +"httpMethod": "GET", +"id": "apigee.organizations.developers.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"app": { +"description": "Optional. List only Developers that are associated with the app. Note that start_key, count are not applicable for this filter criteria.", +"location": "query", +"type": "string" +}, +"count": { +"description": "Optional. Number of developers to return in the API call. Use with the `startKey` parameter to provide more targeted filtering. The limit is 1000.", +"format": "int64", +"location": "query", +"type": "string" +}, +"expand": { +"description": "Specifies whether to expand the results. Set to `true` to expand the results. This query parameter is not valid if you use the `count` or `startKey` query parameters.", +"location": "query", +"type": "boolean" +}, +"ids": { +"description": "Optional. List of IDs to include, separated by commas.", +"location": "query", +"type": "string" +}, +"includeCompany": { +"description": "Flag that specifies whether to include company details in the response.", +"location": "query", +"type": "boolean" +}, +"parent": { +"description": "Required. Name of the Apigee organization. Use the following structure in your request: `organizations/{org}`.", +"location": "path", +"pattern": "^organizations/[^/]+$", +"required": true, +"type": "string" +}, +"startKey": { +"description": "**Note**: Must be used in conjunction with the `count` parameter. Email address of the developer from which to start displaying the list of developers. For example, if the an unfiltered list returns: ``` westley@example.com fezzik@example.com buttercup@example.com ``` and your `startKey` is `fezzik@example.com`, the list returned will be ``` fezzik@example.com buttercup@example.com ```", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+parent}/developers", +"response": { +"$ref": "GoogleCloudApigeeV1ListOfDevelopersResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"setDeveloperStatus": { +"description": "Sets the status of a developer. A developer is `active` by default. If you set a developer's status to `inactive`, the API keys assigned to the developer apps are no longer valid even though the API keys are set to `approved`. Inactive developers can still sign in to the developer portal and create apps; however, any new API keys generated during app creation won't work. To set the status of a developer, set the `action` query parameter to `active` or `inactive`, and the `Content-Type` header to `application/octet-stream`. If successful, the API call returns the following HTTP status code: `204 No Content`", +"flatPath": "v1/organizations/{organizationsId}/developers/{developersId}", +"httpMethod": "POST", +"id": "apigee.organizations.developers.setDeveloperStatus", +"parameterOrder": [ +"name" +], +"parameters": { +"action": { +"description": "Status of the developer. Valid values are `active` and `inactive`.", +"location": "query", +"type": "string" +}, +"name": { +"description": "Required. Name of the developer. Use the following structure in your request: `organizations/{org}/developers/{developer_id}`", +"location": "path", +"pattern": "^organizations/[^/]+/developers/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"update": { +"description": "Updates a developer. This API replaces the existing developer details with those specified in the request. Include or exclude any existing details that you want to retain or delete, respectively. The custom attribute limit is 18. **Note**: OAuth access tokens and Key Management Service (KMS) entities (apps, developers, and API products) are cached for 180 seconds (current default). Any custom attributes associated with these entities are cached for at least 180 seconds after the entity is accessed at runtime. Therefore, an `ExpiresIn` element on the OAuthV2 policy won't be able to expire an access token in less than 180 seconds.", +"flatPath": "v1/organizations/{organizationsId}/developers/{developersId}", +"httpMethod": "PUT", +"id": "apigee.organizations.developers.update", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Email address of the developer. Use the following structure in your request: `organizations/{org}/developers/{developer_email}`", +"location": "path", +"pattern": "^organizations/[^/]+/developers/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "GoogleCloudApigeeV1Developer" +}, +"response": { +"$ref": "GoogleCloudApigeeV1Developer" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"updateMonetizationConfig": { +"description": "Updates the monetization configuration for the developer.", +"flatPath": "v1/organizations/{organizationsId}/developers/{developersId}/monetizationConfig", +"httpMethod": "PUT", +"id": "apigee.organizations.developers.updateMonetizationConfig", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Monetization configuration for the developer. Use the following structure in your request: `organizations/{org}/developers/{developer}/monetizationConfig`", +"location": "path", +"pattern": "^organizations/[^/]+/developers/[^/]+/monetizationConfig$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "GoogleCloudApigeeV1DeveloperMonetizationConfig" +}, +"response": { +"$ref": "GoogleCloudApigeeV1DeveloperMonetizationConfig" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"apps": { +"methods": { +"attributes": { +"description": "Updates attributes for a developer app. This API replaces the current attributes with those specified in the request.", +"flatPath": "v1/organizations/{organizationsId}/developers/{developersId}/apps/{appsId}/attributes", +"httpMethod": "POST", +"id": "apigee.organizations.developers.apps.attributes", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of the developer app. Use the following structure in your request: `organizations/{org}/developers/{developer_email}/apps/{app}`", +"location": "path", +"pattern": "^organizations/[^/]+/developers/[^/]+/apps/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}/attributes", +"request": { +"$ref": "GoogleCloudApigeeV1Attributes" +}, +"response": { +"$ref": "GoogleCloudApigeeV1Attributes" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"create": { +"description": "Creates an app associated with a developer. This API associates the developer app with the specified API product and auto-generates an API key for the app to use in calls to API proxies inside that API product. The `name` is the unique ID of the app that you can use in API calls. The `DisplayName` (set as an attribute) appears in the UI. If you don't set the `DisplayName` attribute, the `name` appears in the UI.", +"flatPath": "v1/organizations/{organizationsId}/developers/{developersId}/apps", +"httpMethod": "POST", +"id": "apigee.organizations.developers.apps.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. Name of the developer. Use the following structure in your request: `organizations/{org}/developers/{developer_email}`", +"location": "path", +"pattern": "^organizations/[^/]+/developers/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/apps", +"request": { +"$ref": "GoogleCloudApigeeV1DeveloperApp" +}, +"response": { +"$ref": "GoogleCloudApigeeV1DeveloperApp" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a developer app. **Note**: The delete operation is asynchronous. The developer app is deleted immediately, but its associated resources, such as app keys or access tokens, may take anywhere from a few seconds to a few minutes to be deleted.", +"flatPath": "v1/organizations/{organizationsId}/developers/{developersId}/apps/{appsId}", +"httpMethod": "DELETE", +"id": "apigee.organizations.developers.apps.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of the developer app. Use the following structure in your request: `organizations/{org}/developers/{developer_email}/apps/{app}`", +"location": "path", +"pattern": "^organizations/[^/]+/developers/[^/]+/apps/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleCloudApigeeV1DeveloperApp" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"generateKeyPairOrUpdateDeveloperAppStatus": { +"description": "Manages access to a developer app by enabling you to: * Approve or revoke a developer app * Generate a new consumer key and secret for a developer app To approve or revoke a developer app, set the `action` query parameter to `approve` or `revoke`, respectively, and the `Content-Type` header to `application/octet-stream`. If a developer app is revoked, none of its API keys are valid for API calls even though the keys are still approved. If successful, the API call returns the following HTTP status code: `204 No Content` To generate a new consumer key and secret for a developer app, pass the new key/secret details. Rather than replace an existing key, this API generates a new key. In this case, multiple key pairs may be associated with a single developer app. Each key pair has an independent status (`approve` or `revoke`) and expiration time. Any approved, non-expired key can be used in an API call. For example, if you're using API key rotation, you can generate new keys with expiration times that overlap keys that are going to expire. You might also generate a new consumer key/secret if the security of the original key/secret is compromised. The `keyExpiresIn` property defines the expiration time for the API key in milliseconds. If you don't set this property or set it to `-1`, the API key never expires. **Notes**: * When generating a new key/secret, this API replaces the existing attributes, notes, and callback URLs with those specified in the request. Include or exclude any existing information that you want to retain or delete, respectively. * To migrate existing consumer keys and secrets to hybrid from another system, see the CreateDeveloperAppKey API.", +"flatPath": "v1/organizations/{organizationsId}/developers/{developersId}/apps/{appsId}", +"httpMethod": "POST", +"id": "apigee.organizations.developers.apps.generateKeyPairOrUpdateDeveloperAppStatus", +"parameterOrder": [ +"name" +], +"parameters": { +"action": { +"description": "Action. Valid values are `approve` or `revoke`.", +"location": "query", +"type": "string" +}, +"name": { +"description": "Required. Name of the developer app. Use the following structure in your request: `organizations/{org}/developers/{developer_email}/apps/{app}`", +"location": "path", +"pattern": "^organizations/[^/]+/developers/[^/]+/apps/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "GoogleCloudApigeeV1DeveloperApp" +}, +"response": { +"$ref": "GoogleCloudApigeeV1DeveloperApp" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Returns the details for a developer app.", +"flatPath": "v1/organizations/{organizationsId}/developers/{developersId}/apps/{appsId}", +"httpMethod": "GET", +"id": "apigee.organizations.developers.apps.get", +"parameterOrder": [ +"name" +], +"parameters": { +"entity": { +"description": "**Note**: Must be used in conjunction with the `query` parameter. Set to `apiresources` to return the number of API resources that have been approved for access by a developer app in the specified Apigee organization.", +"location": "query", +"type": "string" +}, +"name": { +"description": "Required. Name of the developer app. Use the following structure in your request: `organizations/{org}/developers/{developer_email}/apps/{app}`", +"location": "path", +"pattern": "^organizations/[^/]+/developers/[^/]+/apps/[^/]+$", +"required": true, +"type": "string" +}, +"query": { +"description": "**Note**: Must be used in conjunction with the `entity` parameter. Set to `count` to return the number of API resources that have been approved for access by a developer app in the specified Apigee organization.", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleCloudApigeeV1DeveloperApp" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists all apps created by a developer in an Apigee organization. Optionally, you can request an expanded view of the developer apps. A maximum of 100 developer apps are returned per API call. You can paginate the list of deveoper apps returned using the `startKey` and `count` query parameters.", +"flatPath": "v1/organizations/{organizationsId}/developers/{developersId}/apps", +"httpMethod": "GET", +"id": "apigee.organizations.developers.apps.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"count": { +"description": "Number of developer apps to return in the API call. Use with the `startKey` parameter to provide more targeted filtering. The limit is 1000.", +"format": "int64", +"location": "query", +"type": "string" +}, +"expand": { +"description": "Optional. Specifies whether to expand the results. Set to `true` to expand the results. This query parameter is not valid if you use the `count` or `startKey` query parameters.", +"location": "query", +"type": "boolean" +}, +"parent": { +"description": "Required. Name of the developer. Use the following structure in your request: `organizations/{org}/developers/{developer_email}`", +"location": "path", +"pattern": "^organizations/[^/]+/developers/[^/]+$", +"required": true, +"type": "string" +}, +"shallowExpand": { +"description": "Optional. Specifies whether to expand the results in shallow mode. Set to `true` to expand the results in shallow mode.", +"location": "query", +"type": "boolean" +}, +"startKey": { +"description": "**Note**: Must be used in conjunction with the `count` parameter. Name of the developer app from which to start displaying the list of developer apps. For example, if you're returning 50 developer apps at a time (using the `count` query parameter), you can view developer apps 50-99 by entering the name of the 50th developer app. The developer app name is case sensitive.", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+parent}/apps", +"response": { +"$ref": "GoogleCloudApigeeV1ListDeveloperAppsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"update": { +"description": "Updates the details for a developer app. In addition, you can add an API product to a developer app and automatically generate an API key for the app to use when calling APIs in the API product. If you want to use an existing API key for the API product, add the API product to the API key using the UpdateDeveloperAppKey API. Using this API, you cannot update the following: * App name as it is the primary key used to identify the app and cannot be changed. * Scopes associated with the app. Instead, use the ReplaceDeveloperAppKey API. This API replaces the existing attributes with those specified in the request. Include or exclude any existing attributes that you want to retain or delete, respectively.", +"flatPath": "v1/organizations/{organizationsId}/developers/{developersId}/apps/{appsId}", +"httpMethod": "PUT", +"id": "apigee.organizations.developers.apps.update", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of the developer app. Use the following structure in your request: `organizations/{org}/developers/{developer_email}/apps/{app}`", +"location": "path", +"pattern": "^organizations/[^/]+/developers/[^/]+/apps/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "GoogleCloudApigeeV1DeveloperApp" +}, +"response": { +"$ref": "GoogleCloudApigeeV1DeveloperApp" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"attributes": { +"methods": { +"delete": { +"description": "Deletes a developer app attribute.", +"flatPath": "v1/organizations/{organizationsId}/developers/{developersId}/apps/{appsId}/attributes/{attributesId}", +"httpMethod": "DELETE", +"id": "apigee.organizations.developers.apps.attributes.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of the developer app attribute. Use the following structure in your request: `organizations/{org}/developers/{developer_email}/apps/{app}/attributes/{attribute}`", +"location": "path", +"pattern": "^organizations/[^/]+/developers/[^/]+/apps/[^/]+/attributes/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleCloudApigeeV1Attribute" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Returns a developer app attribute.", +"flatPath": "v1/organizations/{organizationsId}/developers/{developersId}/apps/{appsId}/attributes/{attributesId}", +"httpMethod": "GET", +"id": "apigee.organizations.developers.apps.attributes.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of the developer app attribute. Use the following structure in your request: `organizations/{org}/developers/{developer_email}/apps/{app}/attributes/{attribute}`", +"location": "path", +"pattern": "^organizations/[^/]+/developers/[^/]+/apps/[^/]+/attributes/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleCloudApigeeV1Attribute" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Returns a list of all developer app attributes.", +"flatPath": "v1/organizations/{organizationsId}/developers/{developersId}/apps/{appsId}/attributes", +"httpMethod": "GET", +"id": "apigee.organizations.developers.apps.attributes.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. Name of the developer app. Use the following structure in your request: `organizations/{org}/developers/{developer_email}/apps/{app}`", +"location": "path", +"pattern": "^organizations/[^/]+/developers/[^/]+/apps/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/attributes", +"response": { +"$ref": "GoogleCloudApigeeV1Attributes" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"updateDeveloperAppAttribute": { +"description": "Updates a developer app attribute. **Note**: OAuth access tokens and Key Management Service (KMS) entities (apps, developers, and API products) are cached for 180 seconds (current default). Any custom attributes associated with these entities are cached for at least 180 seconds after the entity is accessed at runtime. Therefore, an `ExpiresIn` element on the OAuthV2 policy won't be able to expire an access token in less than 180 seconds.", +"flatPath": "v1/organizations/{organizationsId}/developers/{developersId}/apps/{appsId}/attributes/{attributesId}", +"httpMethod": "POST", +"id": "apigee.organizations.developers.apps.attributes.updateDeveloperAppAttribute", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of the developer app attribute. Use the following structure in your request: `organizations/{org}/developers/{developer_email}/apps/{app}/attributes/{attribute}`", +"location": "path", +"pattern": "^organizations/[^/]+/developers/[^/]+/apps/[^/]+/attributes/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "GoogleCloudApigeeV1Attribute" +}, +"response": { +"$ref": "GoogleCloudApigeeV1Attribute" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"keys": { +"methods": { +"create": { +"description": "Creates a custom consumer key and secret for a developer app. This is particularly useful if you want to migrate existing consumer keys and secrets to Apigee from another system. Consumer keys and secrets can contain letters, numbers, underscores, and hyphens. No other special characters are allowed. To avoid service disruptions, a consumer key and secret should not exceed 2 KBs each. **Note**: When creating the consumer key and secret, an association to API products will not be made. Therefore, you should not specify the associated API products in your request. Instead, use the UpdateDeveloperAppKey API to make the association after the consumer key and secret are created. If a consumer key and secret already exist, you can keep them or delete them using the DeleteDeveloperAppKey API. **Note**: All keys start out with status=approved, even if status=revoked is passed when the key is created. To revoke a key, use the UpdateDeveloperAppKey API.", +"flatPath": "v1/organizations/{organizationsId}/developers/{developersId}/apps/{appsId}/keys", +"httpMethod": "POST", +"id": "apigee.organizations.developers.apps.keys.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Parent of the developer app key. Use the following structure in your request: 'organizations/{org}/developers/{developerEmail}/apps/{appName}'", +"location": "path", +"pattern": "^organizations/[^/]+/developers/[^/]+/apps/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/keys", +"request": { +"$ref": "GoogleCloudApigeeV1DeveloperAppKey" +}, +"response": { +"$ref": "GoogleCloudApigeeV1DeveloperAppKey" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes an app's consumer key and removes all API products associated with the app. After the consumer key is deleted, it cannot be used to access any APIs. **Note**: After you delete a consumer key, you may want to: 1. Create a new consumer key and secret for the developer app using the CreateDeveloperAppKey API, and subsequently add an API product to the key using the UpdateDeveloperAppKey API. 2. Delete the developer app, if it is no longer required.", +"flatPath": "v1/organizations/{organizationsId}/developers/{developersId}/apps/{appsId}/keys/{keysId}", +"httpMethod": "DELETE", +"id": "apigee.organizations.developers.apps.keys.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Name of the developer app key. Use the following structure in your request: `organizations/{org}/developers/{developer_email}/apps/{app}/keys/{key}`", +"location": "path", +"pattern": "^organizations/[^/]+/developers/[^/]+/apps/[^/]+/keys/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleCloudApigeeV1DeveloperAppKey" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets details for a consumer key for a developer app, including the key and secret value, associated API products, and other information.", +"flatPath": "v1/organizations/{organizationsId}/developers/{developersId}/apps/{appsId}/keys/{keysId}", +"httpMethod": "GET", +"id": "apigee.organizations.developers.apps.keys.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Name of the developer app key. Use the following structure in your request: `organizations/{org}/developers/{developer_email}/apps/{app}/keys/{key}`", +"location": "path", +"pattern": "^organizations/[^/]+/developers/[^/]+/apps/[^/]+/keys/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleCloudApigeeV1DeveloperAppKey" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"replaceDeveloperAppKey": { +"description": "Updates the scope of an app. This API replaces the existing scopes with those specified in the request. Include or exclude any existing scopes that you want to retain or delete, respectively. The specified scopes must already be defined for the API products associated with the app. This API sets the `scopes` element under the `apiProducts` element in the attributes of the app.", +"flatPath": "v1/organizations/{organizationsId}/developers/{developersId}/apps/{appsId}/keys/{keysId}", +"httpMethod": "PUT", +"id": "apigee.organizations.developers.apps.keys.replaceDeveloperAppKey", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Name of the developer app key. Use the following structure in your request: `organizations/{org}/developers/{developer_email}/apps/{app}/keys/{key}`", +"location": "path", +"pattern": "^organizations/[^/]+/developers/[^/]+/apps/[^/]+/keys/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "GoogleCloudApigeeV1DeveloperAppKey" +}, +"response": { +"$ref": "GoogleCloudApigeeV1DeveloperAppKey" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"updateDeveloperAppKey": { +"description": "Adds an API product to a developer app key, enabling the app that holds the key to access the API resources bundled in the API product. In addition, you can add attributes and scopes associated with the API product to the developer app key. The status of the key can be updated via \"action\" Query Parameter. None of the other fields can be updated via this API. This API replaces the existing attributes with those specified in the request. Include or exclude any existing attributes that you want to retain or delete, respectively. None of the other fields can be updated. You can use the same key to access all API products associated with the app.", +"flatPath": "v1/organizations/{organizationsId}/developers/{developersId}/apps/{appsId}/keys/{keysId}", +"httpMethod": "POST", +"id": "apigee.organizations.developers.apps.keys.updateDeveloperAppKey", +"parameterOrder": [ +"name" +], +"parameters": { +"action": { +"description": "Approve or revoke the consumer key by setting this value to `approve` or `revoke`, respectively. The `Content-Type` header must be set to `application/octet-stream`.", +"location": "query", +"type": "string" +}, +"name": { +"description": "Name of the developer app key. Use the following structure in your request: `organizations/{org}/developers/{developer_email}/apps/{app}/keys/{key}`", +"location": "path", +"pattern": "^organizations/[^/]+/developers/[^/]+/apps/[^/]+/keys/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "GoogleCloudApigeeV1DeveloperAppKey" +}, +"response": { +"$ref": "GoogleCloudApigeeV1DeveloperAppKey" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"apiproducts": { +"methods": { +"delete": { +"description": "Removes an API product from an app's consumer key. After the API product is removed, the app cannot access the API resources defined in that API product. **Note**: The consumer key is not removed, only its association with the API product.", +"flatPath": "v1/organizations/{organizationsId}/developers/{developersId}/apps/{appsId}/keys/{keysId}/apiproducts/{apiproductsId}", +"httpMethod": "DELETE", +"id": "apigee.organizations.developers.apps.keys.apiproducts.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Name of the API product in the developer app key in the following format: `organizations/{org}/developers/{developer_email}/apps/{app}/keys/{key}/apiproducts/{apiproduct}`", +"location": "path", +"pattern": "^organizations/[^/]+/developers/[^/]+/apps/[^/]+/keys/[^/]+/apiproducts/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleCloudApigeeV1DeveloperAppKey" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"updateDeveloperAppKeyApiProduct": { +"description": "Approves or revokes the consumer key for an API product. After a consumer key is approved, the app can use it to access APIs. A consumer key that is revoked or pending cannot be used to access an API. Any access tokens associated with a revoked consumer key will remain active. However, Apigee checks the status of the consumer key and if set to `revoked` will not allow access to the API.", +"flatPath": "v1/organizations/{organizationsId}/developers/{developersId}/apps/{appsId}/keys/{keysId}/apiproducts/{apiproductsId}", +"httpMethod": "POST", +"id": "apigee.organizations.developers.apps.keys.apiproducts.updateDeveloperAppKeyApiProduct", +"parameterOrder": [ +"name" +], +"parameters": { +"action": { +"description": "Approve or revoke the consumer key by setting this value to `approve` or `revoke`, respectively.", +"location": "query", +"type": "string" +}, +"name": { +"description": "Name of the API product in the developer app key in the following format: `organizations/{org}/developers/{developer_email}/apps/{app}/keys/{key}/apiproducts/{apiproduct}`", +"location": "path", +"pattern": "^organizations/[^/]+/developers/[^/]+/apps/[^/]+/keys/[^/]+/apiproducts/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"create": { +"methods": { +"create": { +"description": "Creates a custom consumer key and secret for a developer app. This is particularly useful if you want to migrate existing consumer keys and secrets to Apigee from another system. Consumer keys and secrets can contain letters, numbers, underscores, and hyphens. No other special characters are allowed. To avoid service disruptions, a consumer key and secret should not exceed 2 KBs each. **Note**: When creating the consumer key and secret, an association to API products will not be made. Therefore, you should not specify the associated API products in your request. Instead, use the UpdateDeveloperAppKey API to make the association after the consumer key and secret are created. If a consumer key and secret already exist, you can keep them or delete them using the DeleteDeveloperAppKey API. **Note**: All keys start out with status=approved, even if status=revoked is passed when the key is created. To revoke a key, use the UpdateDeveloperAppKey API.", +"flatPath": "v1/organizations/{organizationsId}/developers/{developersId}/apps/{appsId}/keys/create", +"httpMethod": "POST", +"id": "apigee.organizations.developers.apps.keys.create.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Parent of the developer app key. Use the following structure in your request: 'organizations/{org}/developers/{developerEmail}/apps/{appName}'", +"location": "path", +"pattern": "^organizations/[^/]+/developers/[^/]+/apps/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/keys/create", +"request": { +"$ref": "GoogleCloudApigeeV1DeveloperAppKey" +}, +"response": { +"$ref": "GoogleCloudApigeeV1DeveloperAppKey" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +} +} +}, +"attributes": { +"methods": { +"delete": { +"description": "Deletes a developer attribute.", +"flatPath": "v1/organizations/{organizationsId}/developers/{developersId}/attributes/{attributesId}", +"httpMethod": "DELETE", +"id": "apigee.organizations.developers.attributes.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of the developer attribute. Use the following structure in your request: `organizations/{org}/developers/{developer_email}/attributes/{attribute}`", +"location": "path", +"pattern": "^organizations/[^/]+/developers/[^/]+/attributes/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleCloudApigeeV1Attribute" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Returns the value of the specified developer attribute.", +"flatPath": "v1/organizations/{organizationsId}/developers/{developersId}/attributes/{attributesId}", +"httpMethod": "GET", +"id": "apigee.organizations.developers.attributes.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of the developer attribute. Use the following structure in your request: `organizations/{org}/developers/{developer_email}/attributes/{attribute}`", +"location": "path", +"pattern": "^organizations/[^/]+/developers/[^/]+/attributes/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleCloudApigeeV1Attribute" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Returns a list of all developer attributes.", +"flatPath": "v1/organizations/{organizationsId}/developers/{developersId}/attributes", +"httpMethod": "GET", +"id": "apigee.organizations.developers.attributes.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. Email address of the developer for which attributes are being listed. Use the following structure in your request: `organizations/{org}/developers/{developer_email}`", +"location": "path", +"pattern": "^organizations/[^/]+/developers/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/attributes", +"response": { +"$ref": "GoogleCloudApigeeV1Attributes" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"updateDeveloperAttribute": { +"description": "Updates a developer attribute. **Note**: OAuth access tokens and Key Management Service (KMS) entities (apps, developers, and API products) are cached for 180 seconds (default). Any custom attributes associated with these entities are cached for at least 180 seconds after the entity is accessed at runtime. Therefore, an `ExpiresIn` element on the OAuthV2 policy won't be able to expire an access token in less than 180 seconds.", +"flatPath": "v1/organizations/{organizationsId}/developers/{developersId}/attributes/{attributesId}", +"httpMethod": "POST", +"id": "apigee.organizations.developers.attributes.updateDeveloperAttribute", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of the developer attribute. Use the following structure in your request: `organizations/{org}/developers/{developer_email}/attributes/{attribute}`", +"location": "path", +"pattern": "^organizations/[^/]+/developers/[^/]+/attributes/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "GoogleCloudApigeeV1Attribute" +}, +"response": { +"$ref": "GoogleCloudApigeeV1Attribute" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"balance": { +"methods": { +"adjust": { +"description": "Adjust the prepaid balance for the developer. This API will be used in scenarios where the developer has been under-charged or over-charged.", +"flatPath": "v1/organizations/{organizationsId}/developers/{developersId}/balance:adjust", +"httpMethod": "POST", +"id": "apigee.organizations.developers.balance.adjust", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Account balance for the developer. Use the following structure in your request: `organizations/{org}/developers/{developer}/balance`", +"location": "path", +"pattern": "^organizations/[^/]+/developers/[^/]+/balance$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:adjust", +"request": { +"$ref": "GoogleCloudApigeeV1AdjustDeveloperBalanceRequest" +}, +"response": { +"$ref": "GoogleCloudApigeeV1DeveloperBalance" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"credit": { +"description": "Credits the account balance for the developer.", +"flatPath": "v1/organizations/{organizationsId}/developers/{developersId}/balance:credit", +"httpMethod": "POST", +"id": "apigee.organizations.developers.balance.credit", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Account balance for the developer. Use the following structure in your request: `organizations/{org}/developers/{developer}/balance`", +"location": "path", +"pattern": "^organizations/[^/]+/developers/[^/]+/balance$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:credit", +"request": { +"$ref": "GoogleCloudApigeeV1CreditDeveloperBalanceRequest" +}, +"response": { +"$ref": "GoogleCloudApigeeV1DeveloperBalance" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"subscriptions": { +"methods": { +"create": { +"description": "Creates a subscription to an API product. ", +"flatPath": "v1/organizations/{organizationsId}/developers/{developersId}/subscriptions", +"httpMethod": "POST", +"id": "apigee.organizations.developers.subscriptions.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. Email address of the developer that is purchasing a subscription to the API product. Use the following structure in your request: `organizations/{org}/developers/{developer_email}`", +"location": "path", +"pattern": "^organizations/[^/]+/developers/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/subscriptions", +"request": { +"$ref": "GoogleCloudApigeeV1DeveloperSubscription" +}, +"response": { +"$ref": "GoogleCloudApigeeV1DeveloperSubscription" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"expire": { +"description": "Expires an API product subscription immediately.", +"flatPath": "v1/organizations/{organizationsId}/developers/{developersId}/subscriptions/{subscriptionsId}:expire", +"httpMethod": "POST", +"id": "apigee.organizations.developers.subscriptions.expire", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of the API product subscription. Use the following structure in your request: `organizations/{org}/developers/{developer_email}/subscriptions/{subscription}`", +"location": "path", +"pattern": "^organizations/[^/]+/developers/[^/]+/subscriptions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:expire", +"request": { +"$ref": "GoogleCloudApigeeV1ExpireDeveloperSubscriptionRequest" +}, +"response": { +"$ref": "GoogleCloudApigeeV1DeveloperSubscription" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets details for an API product subscription.", +"flatPath": "v1/organizations/{organizationsId}/developers/{developersId}/subscriptions/{subscriptionsId}", +"httpMethod": "GET", +"id": "apigee.organizations.developers.subscriptions.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of the API product subscription. Use the following structure in your request: `organizations/{org}/developers/{developer_email}/subscriptions/{subscription}`", +"location": "path", +"pattern": "^organizations/[^/]+/developers/[^/]+/subscriptions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleCloudApigeeV1DeveloperSubscription" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists all API product subscriptions for a developer.", +"flatPath": "v1/organizations/{organizationsId}/developers/{developersId}/subscriptions", +"httpMethod": "GET", +"id": "apigee.organizations.developers.subscriptions.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"count": { +"description": "Number of API product subscriptions to return in the API call. Use with `startKey` to provide more targeted filtering. Defaults to 100. The maximum limit is 1000.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"parent": { +"description": "Required. Email address of the developer. Use the following structure in your request: `organizations/{org}/developers/{developer_email}`", +"location": "path", +"pattern": "^organizations/[^/]+/developers/[^/]+$", +"required": true, +"type": "string" +}, +"startKey": { +"description": "Name of the API product subscription from which to start displaying the list of subscriptions. If omitted, the list starts from the first item. For example, to view the API product subscriptions from 51-150, set the value of `startKey` to the name of the 51st subscription and set the value of `count` to 100.", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+parent}/subscriptions", +"response": { +"$ref": "GoogleCloudApigeeV1ListDeveloperSubscriptionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +}, +"dnsZones": { +"methods": { +"create": { +"description": "Creates a new DNS zone.", +"flatPath": "v1/organizations/{organizationsId}/dnsZones", +"httpMethod": "POST", +"id": "apigee.organizations.dnsZones.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"dnsZoneId": { +"description": "Required. User assigned ID for this resource. Must be unique within the organization. The name must be 1-63 characters long, must begin with a letter, end with a letter or digit, and only contain lowercase letters, digits or dashes.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. Organization where the DNS zone will be created.", +"location": "path", +"pattern": "^organizations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/dnsZones", +"request": { +"$ref": "GoogleCloudApigeeV1DnsZone" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a previously created DNS zone.", +"flatPath": "v1/organizations/{organizationsId}/dnsZones/{dnsZonesId}", +"httpMethod": "DELETE", +"id": "apigee.organizations.dnsZones.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of the DNS zone to delete. Use the following structure in your request: `organizations/{org}/dnsZones/{dns_zone}`.", +"location": "path", +"pattern": "^organizations/[^/]+/dnsZones/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Fetches the representation of an existing DNS zone.", +"flatPath": "v1/organizations/{organizationsId}/dnsZones/{dnsZonesId}", +"httpMethod": "GET", +"id": "apigee.organizations.dnsZones.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of the DNS zone to fetch. Use the following structure in your request: `organizations/{org}/dnsZones/{dns_zone}`.", +"location": "path", +"pattern": "^organizations/[^/]+/dnsZones/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleCloudApigeeV1DnsZone" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Enumerates DNS zones that have been created but not yet deleted.", +"flatPath": "v1/organizations/{organizationsId}/dnsZones", +"httpMethod": "GET", +"id": "apigee.organizations.dnsZones.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "Optional. Maximum number of DNS zones to return. If unspecified, at most 25 DNS zones will be returned.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. Page token, returned from a previous `ListDnsZones` call, that you can use to retrieve the next page.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. Name of the organization for which to list the DNS zones. Use the following structure in your request: `organizations/{org}`", +"location": "path", +"pattern": "^organizations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/dnsZones", +"response": { +"$ref": "GoogleCloudApigeeV1ListDnsZonesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"endpointAttachments": { +"methods": { +"create": { +"description": "Creates an endpoint attachment. **Note:** Not supported for Apigee hybrid.", +"flatPath": "v1/organizations/{organizationsId}/endpointAttachments", +"httpMethod": "POST", +"id": "apigee.organizations.endpointAttachments.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"endpointAttachmentId": { +"description": "ID to use for the endpoint attachment. ID must start with a lowercase letter followed by up to 31 lowercase letters, numbers, or hyphens, and cannot end with a hyphen. The minimum length is 2.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. Organization the endpoint attachment will be created in.", +"location": "path", +"pattern": "^organizations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/endpointAttachments", +"request": { +"$ref": "GoogleCloudApigeeV1EndpointAttachment" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes an endpoint attachment.", +"flatPath": "v1/organizations/{organizationsId}/endpointAttachments/{endpointAttachmentsId}", +"httpMethod": "DELETE", +"id": "apigee.organizations.endpointAttachments.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of the endpoint attachment. Use the following structure in your request: `organizations/{org}/endpointAttachments/{endpoint_attachment}`", +"location": "path", +"pattern": "^organizations/[^/]+/endpointAttachments/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets the endpoint attachment.", +"flatPath": "v1/organizations/{organizationsId}/endpointAttachments/{endpointAttachmentsId}", +"httpMethod": "GET", +"id": "apigee.organizations.endpointAttachments.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of the endpoint attachment. Use the following structure in your request: `organizations/{org}/endpointAttachments/{endpoint_attachment}`", +"location": "path", +"pattern": "^organizations/[^/]+/endpointAttachments/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleCloudApigeeV1EndpointAttachment" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists the endpoint attachments in an organization.", +"flatPath": "v1/organizations/{organizationsId}/endpointAttachments", +"httpMethod": "GET", +"id": "apigee.organizations.endpointAttachments.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "Optional. Maximum number of endpoint attachments to return. If unspecified, at most 25 attachments will be returned.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. Page token, returned from a previous `ListEndpointAttachments` call, that you can use to retrieve the next page.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. Name of the organization for which to list endpoint attachments. Use the following structure in your request: `organizations/{org}`", +"location": "path", +"pattern": "^organizations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/endpointAttachments", +"response": { +"$ref": "GoogleCloudApigeeV1ListEndpointAttachmentsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"envgroups": { +"methods": { +"create": { +"description": "Creates a new environment group.", +"flatPath": "v1/organizations/{organizationsId}/envgroups", +"httpMethod": "POST", +"id": "apigee.organizations.envgroups.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"name": { +"description": "Optional. ID of the environment group. Overrides any ID in the environment_group resource.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. Name of the organization in which to create the environment group in the following format: `organizations/{org}`.", +"location": "path", +"pattern": "^organizations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/envgroups", +"request": { +"$ref": "GoogleCloudApigeeV1EnvironmentGroup" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes an environment group.", +"flatPath": "v1/organizations/{organizationsId}/envgroups/{envgroupsId}", +"httpMethod": "DELETE", +"id": "apigee.organizations.envgroups.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of the environment group in the following format: `organizations/{org}/envgroups/{envgroup}`.", +"location": "path", +"pattern": "^organizations/[^/]+/envgroups/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets an environment group.", +"flatPath": "v1/organizations/{organizationsId}/envgroups/{envgroupsId}", +"httpMethod": "GET", +"id": "apigee.organizations.envgroups.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of the environment group in the following format: `organizations/{org}/envgroups/{envgroup}`.", +"location": "path", +"pattern": "^organizations/[^/]+/envgroups/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleCloudApigeeV1EnvironmentGroup" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"getDeployedIngressConfig": { +"description": "Gets the deployed ingress configuration for an environment group.", +"flatPath": "v1/organizations/{organizationsId}/envgroups/{envgroupsId}/deployedIngressConfig", +"httpMethod": "GET", +"id": "apigee.organizations.envgroups.getDeployedIngressConfig", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of the deployed configuration for the environment group in the following format: 'organizations/{org}/envgroups/{envgroup}/deployedIngressConfig'.", +"location": "path", +"pattern": "^organizations/[^/]+/envgroups/[^/]+/deployedIngressConfig$", +"required": true, +"type": "string" +}, +"view": { +"description": "When set to FULL, additional details about the specific deployments receiving traffic will be included in the IngressConfig response's RoutingRules.", +"enum": [ +"INGRESS_CONFIG_VIEW_UNSPECIFIED", +"BASIC", +"FULL" +], +"enumDescriptions": [ +"The default/unset value. The API will default to the BASIC view.", +"Include all ingress config data necessary for the runtime to configure ingress, but no more. Routing rules will include only basepath and destination environment. This the default value.", +"Include all ingress config data, including internal debug info for each routing rule such as the proxy claiming a particular basepath and when the routing rule first appeared in the env group." +], +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleCloudApigeeV1EnvironmentGroupConfig" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists all environment groups.", +"flatPath": "v1/organizations/{organizationsId}/envgroups", +"httpMethod": "GET", +"id": "apigee.organizations.envgroups.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "Maximum number of environment groups to return. The page size defaults to 25.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Page token, returned from a previous ListEnvironmentGroups call, that you can use to retrieve the next page.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. Name of the organization for which to list environment groups in the following format: `organizations/{org}`.", +"location": "path", +"pattern": "^organizations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/envgroups", +"response": { +"$ref": "GoogleCloudApigeeV1ListEnvironmentGroupsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates an environment group.", +"flatPath": "v1/organizations/{organizationsId}/envgroups/{envgroupsId}", +"httpMethod": "PATCH", +"id": "apigee.organizations.envgroups.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of the environment group to update in the format: `organizations/{org}/envgroups/{envgroup}.", +"location": "path", +"pattern": "^organizations/[^/]+/envgroups/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Optional. List of fields to be updated.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "GoogleCloudApigeeV1EnvironmentGroup" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"attachments": { +"methods": { +"create": { +"description": "Creates a new attachment of an environment to an environment group.", +"flatPath": "v1/organizations/{organizationsId}/envgroups/{envgroupsId}/attachments", +"httpMethod": "POST", +"id": "apigee.organizations.envgroups.attachments.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. EnvironmentGroup under which to create the attachment in the following format: `organizations/{org}/envgroups/{envgroup}`.", +"location": "path", +"pattern": "^organizations/[^/]+/envgroups/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/attachments", +"request": { +"$ref": "GoogleCloudApigeeV1EnvironmentGroupAttachment" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes an environment group attachment.", +"flatPath": "v1/organizations/{organizationsId}/envgroups/{envgroupsId}/attachments/{attachmentsId}", +"httpMethod": "DELETE", +"id": "apigee.organizations.envgroups.attachments.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of the environment group attachment to delete in the following format: `organizations/{org}/envgroups/{envgroup}/attachments/{attachment}`.", +"location": "path", +"pattern": "^organizations/[^/]+/envgroups/[^/]+/attachments/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets an environment group attachment.", +"flatPath": "v1/organizations/{organizationsId}/envgroups/{envgroupsId}/attachments/{attachmentsId}", +"httpMethod": "GET", +"id": "apigee.organizations.envgroups.attachments.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of the environment group attachment in the following format: `organizations/{org}/envgroups/{envgroup}/attachments/{attachment}`", +"location": "path", +"pattern": "^organizations/[^/]+/envgroups/[^/]+/attachments/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleCloudApigeeV1EnvironmentGroupAttachment" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists all attachments of an environment group.", +"flatPath": "v1/organizations/{organizationsId}/envgroups/{envgroupsId}/attachments", +"httpMethod": "GET", +"id": "apigee.organizations.envgroups.attachments.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "Maximum number of environment group attachments to return. The page size defaults to 25.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Page token, returned by a previous ListEnvironmentGroupAttachments call, that you can use to retrieve the next page.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. Name of the environment group in the following format: `organizations/{org}/envgroups/{envgroup}`.", +"location": "path", +"pattern": "^organizations/[^/]+/envgroups/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/attachments", +"response": { +"$ref": "GoogleCloudApigeeV1ListEnvironmentGroupAttachmentsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +}, +"environments": { +"methods": { +"create": { +"description": "Creates an environment in an organization.", +"flatPath": "v1/organizations/{organizationsId}/environments", +"httpMethod": "POST", +"id": "apigee.organizations.environments.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"name": { +"description": "Optional. Name of the environment.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. Name of the organization in which the environment will be created. Use the following structure in your request: `organizations/{org}`", +"location": "path", +"pattern": "^organizations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/environments", +"request": { +"$ref": "GoogleCloudApigeeV1Environment" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes an environment from an organization. **Warning: You must delete all key value maps and key value entries before you delete an environment.** Otherwise, if you re-create the environment the key value map entry operations will encounter encryption/decryption discrepancies.", +"flatPath": "v1/organizations/{organizationsId}/environments/{environmentsId}", +"httpMethod": "DELETE", +"id": "apigee.organizations.environments.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of the environment. Use the following structure in your request: `organizations/{org}/environments/{env}`", +"location": "path", +"pattern": "^organizations/[^/]+/environments/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets environment details.", +"flatPath": "v1/organizations/{organizationsId}/environments/{environmentsId}", +"httpMethod": "GET", +"id": "apigee.organizations.environments.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of the environment. Use the following structure in your request: `organizations/{org}/environments/{env}`", +"location": "path", +"pattern": "^organizations/[^/]+/environments/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleCloudApigeeV1Environment" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"getAddonsConfig": { +"description": "Gets the add-ons config of an environment.", +"flatPath": "v1/organizations/{organizationsId}/environments/{environmentsId}/addonsConfig", +"httpMethod": "GET", +"id": "apigee.organizations.environments.getAddonsConfig", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of the add-ons config. Must be in the format of `/organizations/{org}/environments/{env}/addonsConfig`", +"location": "path", +"pattern": "^organizations/[^/]+/environments/[^/]+/addonsConfig$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleCloudApigeeV1AddonsConfig" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"getApiSecurityRuntimeConfig": { +"description": "Gets the API Security runtime configuration for an environment. This named ApiSecurityRuntimeConfig to prevent conflicts with ApiSecurityConfig from addon config.", +"flatPath": "v1/organizations/{organizationsId}/environments/{environmentsId}/apiSecurityRuntimeConfig", +"httpMethod": "GET", +"id": "apigee.organizations.environments.getApiSecurityRuntimeConfig", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of the environment API Security Runtime configuration resource. Use the following structure in your request: `organizations/{org}/environments/{env}/apiSecurityRuntimeConfig`", +"location": "path", +"pattern": "^organizations/[^/]+/environments/[^/]+/apiSecurityRuntimeConfig$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleCloudApigeeV1ApiSecurityRuntimeConfig" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"getDebugmask": { +"description": "Gets the debug mask singleton resource for an environment.", +"flatPath": "v1/organizations/{organizationsId}/environments/{environmentsId}/debugmask", +"httpMethod": "GET", +"id": "apigee.organizations.environments.getDebugmask", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of the debug mask. Use the following structure in your request: `organizations/{org}/environments/{env}/debugmask`.", +"location": "path", +"pattern": "^organizations/[^/]+/environments/[^/]+/debugmask$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleCloudApigeeV1DebugMask" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"getDeployedConfig": { +"description": "Gets the deployed configuration for an environment.", +"flatPath": "v1/organizations/{organizationsId}/environments/{environmentsId}/deployedConfig", +"httpMethod": "GET", +"id": "apigee.organizations.environments.getDeployedConfig", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of the environment deployed configuration resource. Use the following structure in your request: `organizations/{org}/environments/{env}/deployedConfig`", +"location": "path", +"pattern": "^organizations/[^/]+/environments/[^/]+/deployedConfig$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleCloudApigeeV1EnvironmentConfig" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"getIamPolicy": { +"description": "Gets the IAM policy on an environment. For more information, see [Manage users, roles, and permissions using the API](https://cloud.google.com/apigee/docs/api-platform/system-administration/manage-users-roles). You must have the `apigee.environments.getIamPolicy` permission to call this API.", +"flatPath": "v1/organizations/{organizationsId}/environments/{environmentsId}:getIamPolicy", +"httpMethod": "GET", +"id": "apigee.organizations.environments.getIamPolicy", +"parameterOrder": [ +"resource" +], +"parameters": { +"options.requestedPolicyVersion": { +"description": "Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).", +"format": "int32", +"location": "query", +"type": "integer" +}, +"resource": { +"description": "REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", +"location": "path", +"pattern": "^organizations/[^/]+/environments/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+resource}:getIamPolicy", +"response": { +"$ref": "GoogleIamV1Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"getSecurityActionsConfig": { +"description": "GetSecurityActionConfig returns the current SecurityActions configuration.", +"flatPath": "v1/organizations/{organizationsId}/environments/{environmentsId}/securityActionsConfig", +"httpMethod": "GET", +"id": "apigee.organizations.environments.getSecurityActionsConfig", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the SecurityActionsConfig to retrieve. This will always be: `organizations/{org}/environments/{env}/security_actions_config`", +"location": "path", +"pattern": "^organizations/[^/]+/environments/[^/]+/securityActionsConfig$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleCloudApigeeV1SecurityActionsConfig" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"getTraceConfig": { +"description": "Get distributed trace configuration in an environment.", +"flatPath": "v1/organizations/{organizationsId}/environments/{environmentsId}/traceConfig", +"httpMethod": "GET", +"id": "apigee.organizations.environments.getTraceConfig", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of the trace configuration. Use the following structure in your request: \"organizations/*/environments/*/traceConfig\".", +"location": "path", +"pattern": "^organizations/[^/]+/environments/[^/]+/traceConfig$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleCloudApigeeV1TraceConfig" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"modifyEnvironment": { +"description": "Updates properties for an Apigee environment with patch semantics using a field mask. **Note:** Not supported for Apigee hybrid.", +"flatPath": "v1/organizations/{organizationsId}/environments/{environmentsId}", +"httpMethod": "PATCH", +"id": "apigee.organizations.environments.modifyEnvironment", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of the environment. Use the following structure in your request: `organizations/{org}/environments/{environment}`.", +"location": "path", +"pattern": "^organizations/[^/]+/environments/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "List of fields to be updated. Fields that can be updated: node_config.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "GoogleCloudApigeeV1Environment" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"setIamPolicy": { +"description": "Sets the IAM policy on an environment, if the policy already exists it will be replaced. For more information, see [Manage users, roles, and permissions using the API](https://cloud.google.com/apigee/docs/api-platform/system-administration/manage-users-roles). You must have the `apigee.environments.setIamPolicy` permission to call this API.", +"flatPath": "v1/organizations/{organizationsId}/environments/{environmentsId}:setIamPolicy", +"httpMethod": "POST", +"id": "apigee.organizations.environments.setIamPolicy", +"parameterOrder": [ +"resource" +], +"parameters": { +"resource": { +"description": "REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", +"location": "path", +"pattern": "^organizations/[^/]+/environments/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+resource}:setIamPolicy", +"request": { +"$ref": "GoogleIamV1SetIamPolicyRequest" +}, +"response": { +"$ref": "GoogleIamV1Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"subscribe": { +"description": "Creates a subscription for the environment's Pub/Sub topic. The server will assign a random name for this subscription. The \"name\" and \"push_config\" must *not* be specified.", +"flatPath": "v1/organizations/{organizationsId}/environments/{environmentsId}:subscribe", +"httpMethod": "POST", +"id": "apigee.organizations.environments.subscribe", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. Name of the environment. Use the following structure in your request: `organizations/{org}/environments/{env}`", +"location": "path", +"pattern": "^organizations/[^/]+/environments/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}:subscribe", +"response": { +"$ref": "GoogleCloudApigeeV1Subscription" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"testIamPermissions": { +"description": "Tests the permissions of a user on an environment, and returns a subset of permissions that the user has on the environment. If the environment does not exist, an empty permission set is returned (a NOT_FOUND error is not returned).", +"flatPath": "v1/organizations/{organizationsId}/environments/{environmentsId}:testIamPermissions", +"httpMethod": "POST", +"id": "apigee.organizations.environments.testIamPermissions", +"parameterOrder": [ +"resource" +], +"parameters": { +"resource": { +"description": "REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", +"location": "path", +"pattern": "^organizations/[^/]+/environments/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+resource}:testIamPermissions", +"request": { +"$ref": "GoogleIamV1TestIamPermissionsRequest" +}, +"response": { +"$ref": "GoogleIamV1TestIamPermissionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"unsubscribe": { +"description": "Deletes a subscription for the environment's Pub/Sub topic.", +"flatPath": "v1/organizations/{organizationsId}/environments/{environmentsId}:unsubscribe", +"httpMethod": "POST", +"id": "apigee.organizations.environments.unsubscribe", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. Name of the environment. Use the following structure in your request: `organizations/{org}/environments/{env}`", +"location": "path", +"pattern": "^organizations/[^/]+/environments/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}:unsubscribe", +"request": { +"$ref": "GoogleCloudApigeeV1Subscription" +}, +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"update": { +"description": "Updates an existing environment. When updating properties, you must pass all existing properties to the API, even if they are not being changed. If you omit properties from the payload, the properties are removed. To get the current list of properties for the environment, use the [Get Environment API](get). **Note**: Both `PUT` and `POST` methods are supported for updating an existing environment.", +"flatPath": "v1/organizations/{organizationsId}/environments/{environmentsId}", +"httpMethod": "PUT", +"id": "apigee.organizations.environments.update", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of the environment. Use the following structure in your request: `organizations/{org}/environments/{env}`", +"location": "path", +"pattern": "^organizations/[^/]+/environments/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "GoogleCloudApigeeV1Environment" +}, +"response": { +"$ref": "GoogleCloudApigeeV1Environment" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"updateDebugmask": { +"description": "Updates the debug mask singleton resource for an environment.", +"flatPath": "v1/organizations/{organizationsId}/environments/{environmentsId}/debugmask", +"httpMethod": "PATCH", +"id": "apigee.organizations.environments.updateDebugmask", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Name of the debug mask.", +"location": "path", +"pattern": "^organizations/[^/]+/environments/[^/]+/debugmask$", +"required": true, +"type": "string" +}, +"replaceRepeatedFields": { +"description": "Boolean flag that specifies whether to replace existing values in the debug mask when doing an update. Set to true to replace existing values. The default behavior is to append the values (false).", +"location": "query", +"type": "boolean" +}, +"updateMask": { +"description": "Field debug mask to support partial updates.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "GoogleCloudApigeeV1DebugMask" +}, +"response": { +"$ref": "GoogleCloudApigeeV1DebugMask" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"updateEnvironment": { +"description": "Updates an existing environment. When updating properties, you must pass all existing properties to the API, even if they are not being changed. If you omit properties from the payload, the properties are removed. To get the current list of properties for the environment, use the [Get Environment API](get). **Note**: Both `PUT` and `POST` methods are supported for updating an existing environment.", +"flatPath": "v1/organizations/{organizationsId}/environments/{environmentsId}", +"httpMethod": "POST", +"id": "apigee.organizations.environments.updateEnvironment", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of the environment. Use the following structure in your request: `organizations/{org}/environments/{env}`", +"location": "path", +"pattern": "^organizations/[^/]+/environments/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "GoogleCloudApigeeV1Environment" +}, +"response": { +"$ref": "GoogleCloudApigeeV1Environment" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"updateSecurityActionsConfig": { +"description": "UpdateSecurityActionConfig updates the current SecurityActions configuration. This method is used to enable/disable the feature at the environment level.", +"flatPath": "v1/organizations/{organizationsId}/environments/{environmentsId}/securityActionsConfig", +"httpMethod": "PATCH", +"id": "apigee.organizations.environments.updateSecurityActionsConfig", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "This is a singleton resource, the name will always be set by SecurityActions and any user input will be ignored. The name is always: `organizations/{org}/environments/{env}/security_actions_config`", +"location": "path", +"pattern": "^organizations/[^/]+/environments/[^/]+/securityActionsConfig$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "The list of fields to update.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "GoogleCloudApigeeV1SecurityActionsConfig" +}, +"response": { +"$ref": "GoogleCloudApigeeV1SecurityActionsConfig" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"updateTraceConfig": { +"description": "Updates the trace configurations in an environment. Note that the repeated fields have replace semantics when included in the field mask and that they will be overwritten by the value of the fields in the request body.", +"flatPath": "v1/organizations/{organizationsId}/environments/{environmentsId}/traceConfig", +"httpMethod": "PATCH", +"id": "apigee.organizations.environments.updateTraceConfig", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of the trace configuration. Use the following structure in your request: \"organizations/*/environments/*/traceConfig\".", +"location": "path", +"pattern": "^organizations/[^/]+/environments/[^/]+/traceConfig$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "List of fields to be updated.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "GoogleCloudApigeeV1TraceConfig" +}, +"response": { +"$ref": "GoogleCloudApigeeV1TraceConfig" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"addonsConfig": { +"methods": { +"setAddonEnablement": { +"description": "Updates an add-on enablement status of an environment.", +"flatPath": "v1/organizations/{organizationsId}/environments/{environmentsId}/addonsConfig:setAddonEnablement", +"httpMethod": "POST", +"id": "apigee.organizations.environments.addonsConfig.setAddonEnablement", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of the add-ons config. Must be in the format of `/organizations/{org}/environments/{env}/addonsConfig`", +"location": "path", +"pattern": "^organizations/[^/]+/environments/[^/]+/addonsConfig$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:setAddonEnablement", +"request": { +"$ref": "GoogleCloudApigeeV1SetAddonEnablementRequest" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"analytics": { +"resources": { +"admin": { +"methods": { +"getSchemav2": { +"description": "Gets a list of metrics and dimensions that can be used to create analytics queries and reports. Each schema element contains the name of the field, its associated type, and a flag indicating whether it is a standard or custom field.", +"flatPath": "v1/organizations/{organizationsId}/environments/{environmentsId}/analytics/admin/schemav2", +"httpMethod": "GET", +"id": "apigee.organizations.environments.analytics.admin.getSchemav2", +"parameterOrder": [ +"name" +], +"parameters": { +"disableCache": { +"description": "Flag that specifies whether the schema is be read from the database or cache. Set to `true` to read the schema from the database. Defaults to cache.", +"location": "query", +"type": "boolean" +}, +"name": { +"description": "Required. Path to the schema. Use the following structure in your request: `organizations/{org}/environments/{env}/analytics/admin/schemav2`.", +"location": "path", +"pattern": "^organizations/[^/]+/environments/[^/]+/analytics/admin/schemav2$", +"required": true, +"type": "string" +}, +"type": { +"description": "Required. Name of the dataset for which you want to retrieve the schema. For example: `fact` or `agg_cus1`", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleCloudApigeeV1Schema" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"exports": { +"methods": { +"create": { +"description": "Submit a data export job to be processed in the background. If the request is successful, the API returns a 201 status, a URI that can be used to retrieve the status of the export job, and the `state` value of \"enqueued\".", +"flatPath": "v1/organizations/{organizationsId}/environments/{environmentsId}/analytics/exports", +"httpMethod": "POST", +"id": "apigee.organizations.environments.analytics.exports.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. Names of the parent organization and environment. Must be of the form `organizations/{org}/environments/{env}`.", +"location": "path", +"pattern": "^organizations/[^/]+/environments/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/analytics/exports", +"request": { +"$ref": "GoogleCloudApigeeV1ExportRequest" +}, +"response": { +"$ref": "GoogleCloudApigeeV1Export" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets the details and status of an analytics export job. If the export job is still in progress, its `state` is set to \"running\". After the export job has completed successfully, its `state` is set to \"completed\". If the export job fails, its `state` is set to `failed`.", +"flatPath": "v1/organizations/{organizationsId}/environments/{environmentsId}/analytics/exports/{exportsId}", +"httpMethod": "GET", +"id": "apigee.organizations.environments.analytics.exports.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Resource name of the export to get.", +"location": "path", +"pattern": "^organizations/[^/]+/environments/[^/]+/analytics/exports/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleCloudApigeeV1Export" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists the details and status of all analytics export jobs belonging to the parent organization and environment.", +"flatPath": "v1/organizations/{organizationsId}/environments/{environmentsId}/analytics/exports", +"httpMethod": "GET", +"id": "apigee.organizations.environments.analytics.exports.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. Names of the parent organization and environment. Must be of the form `organizations/{org}/environments/{env}`.", +"location": "path", +"pattern": "^organizations/[^/]+/environments/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/analytics/exports", +"response": { +"$ref": "GoogleCloudApigeeV1ListExportsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +}, +"apis": { +"resources": { +"deployments": { +"methods": { +"list": { +"description": "Lists all deployments of an API proxy in an environment.", +"flatPath": "v1/organizations/{organizationsId}/environments/{environmentsId}/apis/{apisId}/deployments", +"httpMethod": "GET", +"id": "apigee.organizations.environments.apis.deployments.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. Name representing an API proxy in an environment in the following format: `organizations/{org}/environments/{env}/apis/{api}` If the API proxy resource has the `space` attribute set, IAM permissions are checked differently . To learn more, read the [Apigee Spaces Overview](https://cloud.google.com/apigee/docs/api-platform/system-administration/spaces/apigee-spaces-overview).", +"location": "path", +"pattern": "^organizations/[^/]+/environments/[^/]+/apis/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/deployments", +"response": { +"$ref": "GoogleCloudApigeeV1ListDeploymentsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"revisions": { +"methods": { +"deploy": { +"description": "Deploys a revision of an API proxy. If another revision of the same API proxy revision is currently deployed, set the `override` parameter to `true` to have this revision replace the currently deployed revision. You cannot invoke an API proxy until it has been deployed to an environment. After you deploy an API proxy revision, you cannot edit it. To edit the API proxy, you must create and deploy a new revision. For a request path `organizations/{org}/environments/{env}/apis/{api}/revisions/{rev}/deployments`, two permissions are required: * `apigee.deployments.create` on the resource `organizations/{org}/environments/{env}` * `apigee.proxyrevisions.deploy` on the resource `organizations/{org}/apis/{api}/revisions/{rev}` All successful API proxy deployments to Apigee are [zero-downtime deployments](https://cloud.google.com/apigee/docs/api-platform/deploy/ui-deploy-overview#zero-downtime-deployment). Apigee hybrid validates the dependencies between shared flows and API proxies at deployment time. For example, if the Flow Callout policy in an API proxy references a shared flow that either doesn't exist or isn't deployed, the API proxy deployment fails.", +"flatPath": "v1/organizations/{organizationsId}/environments/{environmentsId}/apis/{apisId}/revisions/{revisionsId}/deployments", +"httpMethod": "POST", +"id": "apigee.organizations.environments.apis.revisions.deploy", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of the API proxy revision deployment in the following format: `organizations/{org}/environments/{env}/apis/{api}/revisions/{rev}` If the API proxy resource being deployed has the `space` attribute set, IAM permissions are checked differently . To learn more, read the [Apigee Spaces Overview](https://cloud.google.com/apigee/docs/api-platform/system-administration/spaces/apigee-spaces-overview).", +"location": "path", +"pattern": "^organizations/[^/]+/environments/[^/]+/apis/[^/]+/revisions/[^/]+$", +"required": true, +"type": "string" +}, +"override": { +"description": "Flag that specifies whether the new deployment replaces other deployed revisions of the API proxy in the environment. Set `override` to `true` to replace other deployed revisions. By default, `override` is `false` and the deployment is rejected if other revisions of the API proxy are deployed in the environment.", +"location": "query", +"type": "boolean" +}, +"sequencedRollout": { +"description": "Flag that specifies whether to enable sequenced rollout. If set to `true`, the routing rules for this deployment and the environment changes to add the deployment will be rolled out in a safe order. This reduces the risk of downtime that could be caused by changing the environment group's routing before the new destination for the affected traffic is ready to receive it. This should only be necessary if the new deployment will be capturing traffic from another environment under a shared environment group or if traffic will be rerouted to a different environment due to a base path removal. The generateDeployChangeReport API may be used to examine routing changes before issuing the deployment request, and its response will indicate if a sequenced rollout is recommended for the deployment.", +"location": "query", +"type": "boolean" +}, +"serviceAccount": { +"description": "Google Cloud IAM service account. The service account represents the identity of the deployed proxy, and determines what permissions it has. The format must be `{ACCOUNT_ID}@{PROJECT}.iam.gserviceaccount.com`.", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}/deployments", +"response": { +"$ref": "GoogleCloudApigeeV1Deployment" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"getDeployments": { +"description": "Gets the deployment of an API proxy revision and actual state reported by runtime pods.", +"flatPath": "v1/organizations/{organizationsId}/environments/{environmentsId}/apis/{apisId}/revisions/{revisionsId}/deployments", +"httpMethod": "GET", +"id": "apigee.organizations.environments.apis.revisions.getDeployments", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name representing an API proxy revision in an environment in the following format: `organizations/{org}/environments/{env}/apis/{api}/revisions/{rev}` If the API proxy resource has the `space` attribute set, IAM permissions are checked differently . To learn more, read the [Apigee Spaces Overview](https://cloud.google.com/apigee/docs/api-platform/system-administration/spaces/apigee-spaces-overview).", +"location": "path", +"pattern": "^organizations/[^/]+/environments/[^/]+/apis/[^/]+/revisions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}/deployments", +"response": { +"$ref": "GoogleCloudApigeeV1Deployment" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"undeploy": { +"description": "Undeploys an API proxy revision from an environment. For a request path `organizations/{org}/environments/{env}/apis/{api}/revisions/{rev}/deployments`, two permissions are required: * `apigee.deployments.delete` on the resource `organizations/{org}/environments/{env}` * `apigee.proxyrevisions.undeploy` on the resource `organizations/{org}/apis/{api}/revisions/{rev}`", +"flatPath": "v1/organizations/{organizationsId}/environments/{environmentsId}/apis/{apisId}/revisions/{revisionsId}/deployments", +"httpMethod": "DELETE", +"id": "apigee.organizations.environments.apis.revisions.undeploy", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of the API proxy revision deployment in the following format: `organizations/{org}/environments/{env}/apis/{api}/revisions/{rev}` If the API proxy resource has the `space` attribute set, IAM permissions are checked differently . To learn more, read the [Apigee Spaces Overview](https://cloud.google.com/apigee/docs/api-platform/system-administration/spaces/apigee-spaces-overview).", +"location": "path", +"pattern": "^organizations/[^/]+/environments/[^/]+/apis/[^/]+/revisions/[^/]+$", +"required": true, +"type": "string" +}, +"sequencedRollout": { +"description": "Flag that specifies whether to enable sequenced rollout. If set to `true`, the environment group routing rules corresponding to this deployment will be removed before removing the deployment from the runtime. This is likely to be a rare use case; it is only needed when the intended effect of undeploying this proxy is to cause the traffic it currently handles to be rerouted to some other existing proxy in the environment group. The GenerateUndeployChangeReport API may be used to examine routing changes before issuing the undeployment request, and its response will indicate if a sequenced rollout is recommended for the undeployment.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1/{+name}/deployments", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"debugsessions": { +"methods": { +"create": { +"description": "Creates a debug session for a deployed API Proxy revision.", +"flatPath": "v1/organizations/{organizationsId}/environments/{environmentsId}/apis/{apisId}/revisions/{revisionsId}/debugsessions", +"httpMethod": "POST", +"id": "apigee.organizations.environments.apis.revisions.debugsessions.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The resource name of the API Proxy revision deployment for which to create the DebugSession. Must be of the form `organizations/{organization}/environments/{environment}/apis/{api}/revisions/{revision}`. If the API proxy resource has the `space` attribute set, IAM permissions are checked differently . To learn more, read the [Apigee Spaces Overview](https://cloud.google.com/apigee/docs/api-platform/system-administration/spaces/apigee-spaces-overview).", +"location": "path", +"pattern": "^organizations/[^/]+/environments/[^/]+/apis/[^/]+/revisions/[^/]+$", +"required": true, +"type": "string" +}, +"timeout": { +"description": "Optional. The time in seconds after which this DebugSession should end. A timeout specified in DebugSession will overwrite this value.", +"format": "int64", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+parent}/debugsessions", +"request": { +"$ref": "GoogleCloudApigeeV1DebugSession" +}, +"response": { +"$ref": "GoogleCloudApigeeV1DebugSession" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"deleteData": { +"description": "Deletes the data from a debug session. This does not cancel the debug session or prevent further data from being collected if the session is still active in runtime pods.", +"flatPath": "v1/organizations/{organizationsId}/environments/{environmentsId}/apis/{apisId}/revisions/{revisionsId}/debugsessions/{debugsessionsId}/data", +"httpMethod": "DELETE", +"id": "apigee.organizations.environments.apis.revisions.debugsessions.deleteData", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the debug session to delete. Must be of the form: `organizations/{organization}/environments/{environment}/apis/{api}/revisions/{revision}/debugsessions/{debugsession}`. If the API proxy resource has the `space` attribute set, IAM permissions are checked differently . To learn more, read the [Apigee Spaces Overview](https://cloud.google.com/apigee/docs/api-platform/system-administration/spaces/apigee-spaces-overview).", +"location": "path", +"pattern": "^organizations/[^/]+/environments/[^/]+/apis/[^/]+/revisions/[^/]+/debugsessions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}/data", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Retrieves a debug session.", +"flatPath": "v1/organizations/{organizationsId}/environments/{environmentsId}/apis/{apisId}/revisions/{revisionsId}/debugsessions/{debugsessionsId}", +"httpMethod": "GET", +"id": "apigee.organizations.environments.apis.revisions.debugsessions.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the debug session to retrieve. Must be of the form: `organizations/{organization}/environments/{environment}/apis/{api}/revisions/{revision}/debugsessions/{debug_session}`. If the API proxy resource has the `space` attribute set, IAM permissions are checked differently . To learn more, read the [Apigee Spaces Overview](https://cloud.google.com/apigee/docs/api-platform/system-administration/spaces/apigee-spaces-overview).", +"location": "path", +"pattern": "^organizations/[^/]+/environments/[^/]+/apis/[^/]+/revisions/[^/]+/debugsessions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleCloudApigeeV1DebugSession" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists debug sessions that are currently active in the given API Proxy revision.", +"flatPath": "v1/organizations/{organizationsId}/environments/{environmentsId}/apis/{apisId}/revisions/{revisionsId}/debugsessions", +"httpMethod": "GET", +"id": "apigee.organizations.environments.apis.revisions.debugsessions.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "Optional. Maximum number of debug sessions to return. The page size defaults to 25.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. Page token, returned from a previous ListDebugSessions call, that you can use to retrieve the next page.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The name of the API Proxy revision deployment for which to list debug sessions. Must be of the form: `organizations/{organization}/environments/{environment}/apis/{api}/revisions/{revision}`. If the API proxy resource has the `space` attribute set, IAM permissions are checked differently . To learn more, read the [Apigee Spaces Overview](https://cloud.google.com/apigee/docs/api-platform/system-administration/spaces/apigee-spaces-overview).", +"location": "path", +"pattern": "^organizations/[^/]+/environments/[^/]+/apis/[^/]+/revisions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/debugsessions", +"response": { +"$ref": "GoogleCloudApigeeV1ListDebugSessionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"data": { +"methods": { +"get": { +"description": "Gets the debug data from a transaction.", +"flatPath": "v1/organizations/{organizationsId}/environments/{environmentsId}/apis/{apisId}/revisions/{revisionsId}/debugsessions/{debugsessionsId}/data/{dataId}", +"httpMethod": "GET", +"id": "apigee.organizations.environments.apis.revisions.debugsessions.data.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the debug session transaction. Must be of the form: `organizations/{organization}/environments/{environment}/apis/{api}/revisions/{revision}/debugsessions/{debug_session}/data/{transaction}`. If the API proxy resource has the `space` attribute set, IAM permissions are checked differently . To learn more, read the [Apigee Spaces Overview](https://cloud.google.com/apigee/docs/api-platform/system-administration/spaces/apigee-spaces-overview).", +"location": "path", +"pattern": "^organizations/[^/]+/environments/[^/]+/apis/[^/]+/revisions/[^/]+/debugsessions/[^/]+/data/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleCloudApigeeV1DebugSessionTransaction" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +}, +"deployments": { +"methods": { +"generateDeployChangeReport": { +"description": "Generates a report for a dry run analysis of a DeployApiProxy request without committing the deployment. In addition to the standard validations performed when adding deployments, additional analysis will be done to detect possible traffic routing changes that would result from this deployment being created. Any potential routing conflicts or unsafe changes will be reported in the response. This routing analysis is not performed for a non-dry-run DeployApiProxy request. For a request path `organizations/{org}/environments/{env}/apis/{api}/revisions/{rev}/deployments:generateDeployChangeReport`, two permissions are required: * `apigee.deployments.create` on the resource `organizations/{org}/environments/{env}` * `apigee.proxyrevisions.deploy` on the resource `organizations/{org}/apis/{api}/revisions/{rev}`", +"flatPath": "v1/organizations/{organizationsId}/environments/{environmentsId}/apis/{apisId}/revisions/{revisionsId}/deployments:generateDeployChangeReport", +"httpMethod": "POST", +"id": "apigee.organizations.environments.apis.revisions.deployments.generateDeployChangeReport", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Name of the API proxy revision deployment in the following format: `organizations/{org}/environments/{env}/apis/{api}/revisions/{rev}` If the API proxy resource has the `space` attribute set, IAM permissions are checked differently . To learn more, read the [Apigee Spaces Overview](https://cloud.google.com/apigee/docs/api-platform/system-administration/spaces/apigee-spaces-overview).", +"location": "path", +"pattern": "^organizations/[^/]+/environments/[^/]+/apis/[^/]+/revisions/[^/]+$", +"required": true, +"type": "string" +}, +"override": { +"description": "Flag that specifies whether to force the deployment of the new revision over the currently deployed revision by overriding conflict checks.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1/{+name}/deployments:generateDeployChangeReport", +"response": { +"$ref": "GoogleCloudApigeeV1DeploymentChangeReport" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"generateUndeployChangeReport": { +"description": "Generates a report for a dry run analysis of an UndeployApiProxy request without committing the undeploy. In addition to the standard validations performed when removing deployments, additional analysis will be done to detect possible traffic routing changes that would result from this deployment being removed. Any potential routing conflicts or unsafe changes will be reported in the response. This routing analysis is not performed for a non-dry-run UndeployApiProxy request. For a request path `organizations/{org}/environments/{env}/apis/{api}/revisions/{rev}/deployments:generateUndeployChangeReport`, two permissions are required: * `apigee.deployments.delete` on the resource `organizations/{org}/environments/{env}` * `apigee.proxyrevisions.undeploy` on the resource `organizations/{org}/apis/{api}/revisions/{rev}`", +"flatPath": "v1/organizations/{organizationsId}/environments/{environmentsId}/apis/{apisId}/revisions/{revisionsId}/deployments:generateUndeployChangeReport", +"httpMethod": "POST", +"id": "apigee.organizations.environments.apis.revisions.deployments.generateUndeployChangeReport", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Name of the API proxy revision deployment in the following format: `organizations/{org}/environments/{env}/apis/{api}/revisions/{rev}`", +"location": "path", +"pattern": "^organizations/[^/]+/environments/[^/]+/apis/[^/]+/revisions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}/deployments:generateUndeployChangeReport", +"response": { +"$ref": "GoogleCloudApigeeV1DeploymentChangeReport" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +} +} +}, +"archiveDeployments": { +"methods": { +"create": { +"description": "Creates a new ArchiveDeployment.", +"flatPath": "v1/organizations/{organizationsId}/environments/{environmentsId}/archiveDeployments", +"httpMethod": "POST", +"id": "apigee.organizations.environments.archiveDeployments.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The Environment this Archive Deployment will be created in.", +"location": "path", +"pattern": "^organizations/[^/]+/environments/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/archiveDeployments", +"request": { +"$ref": "GoogleCloudApigeeV1ArchiveDeployment" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes an archive deployment.", +"flatPath": "v1/organizations/{organizationsId}/environments/{environmentsId}/archiveDeployments/{archiveDeploymentsId}", +"httpMethod": "DELETE", +"id": "apigee.organizations.environments.archiveDeployments.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of the Archive Deployment in the following format: `organizations/{org}/environments/{env}/archiveDeployments/{id}`.", +"location": "path", +"pattern": "^organizations/[^/]+/environments/[^/]+/archiveDeployments/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"generateDownloadUrl": { +"description": "Generates a signed URL for downloading the original zip file used to create an Archive Deployment. The URL is only valid for a limited period and should be used within minutes after generation. Each call returns a new upload URL.", +"flatPath": "v1/organizations/{organizationsId}/environments/{environmentsId}/archiveDeployments/{archiveDeploymentsId}:generateDownloadUrl", +"httpMethod": "POST", +"id": "apigee.organizations.environments.archiveDeployments.generateDownloadUrl", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the Archive Deployment you want to download.", +"location": "path", +"pattern": "^organizations/[^/]+/environments/[^/]+/archiveDeployments/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:generateDownloadUrl", +"request": { +"$ref": "GoogleCloudApigeeV1GenerateDownloadUrlRequest" +}, +"response": { +"$ref": "GoogleCloudApigeeV1GenerateDownloadUrlResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"generateUploadUrl": { +"description": "Generates a signed URL for uploading an Archive zip file to Google Cloud Storage. Once the upload is complete, the signed URL should be passed to CreateArchiveDeployment. When uploading to the generated signed URL, please follow these restrictions: * Source file type should be a zip file. * Source file size should not exceed 1GB limit. * No credentials should be attached - the signed URLs provide access to the target bucket using internal service identity; if credentials were attached, the identity from the credentials would be used, but that identity does not have permissions to upload files to the URL. When making a HTTP PUT request, these two headers need to be specified: * `content-type: application/zip` * `x-goog-content-length-range: 0,1073741824` And this header SHOULD NOT be specified: * `Authorization: Bearer YOUR_TOKEN`", +"flatPath": "v1/organizations/{organizationsId}/environments/{environmentsId}/archiveDeployments:generateUploadUrl", +"httpMethod": "POST", +"id": "apigee.organizations.environments.archiveDeployments.generateUploadUrl", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The organization and environment to upload to.", +"location": "path", +"pattern": "^organizations/[^/]+/environments/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/archiveDeployments:generateUploadUrl", +"request": { +"$ref": "GoogleCloudApigeeV1GenerateUploadUrlRequest" +}, +"response": { +"$ref": "GoogleCloudApigeeV1GenerateUploadUrlResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets the specified ArchiveDeployment.", +"flatPath": "v1/organizations/{organizationsId}/environments/{environmentsId}/archiveDeployments/{archiveDeploymentsId}", +"httpMethod": "GET", +"id": "apigee.organizations.environments.archiveDeployments.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of the Archive Deployment in the following format: `organizations/{org}/environments/{env}/archiveDeployments/{id}`.", +"location": "path", +"pattern": "^organizations/[^/]+/environments/[^/]+/archiveDeployments/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleCloudApigeeV1ArchiveDeployment" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists the ArchiveDeployments in the specified Environment.", +"flatPath": "v1/organizations/{organizationsId}/environments/{environmentsId}/archiveDeployments", +"httpMethod": "GET", +"id": "apigee.organizations.environments.archiveDeployments.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Optional. An optional query used to return a subset of Archive Deployments using the semantics defined in https://google.aip.dev/160.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Optional. Maximum number of Archive Deployments to return. If unspecified, at most 25 deployments will be returned.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. Page token, returned from a previous ListArchiveDeployments call, that you can use to retrieve the next page.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. Name of the Environment for which to list Archive Deployments in the format: `organizations/{org}/environments/{env}`.", +"location": "path", +"pattern": "^organizations/[^/]+/environments/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/archiveDeployments", +"response": { +"$ref": "GoogleCloudApigeeV1ListArchiveDeploymentsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates an existing ArchiveDeployment. Labels can modified but most of the other fields are not modifiable.", +"flatPath": "v1/organizations/{organizationsId}/environments/{environmentsId}/archiveDeployments/{archiveDeploymentsId}", +"httpMethod": "PATCH", +"id": "apigee.organizations.environments.archiveDeployments.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Name of the Archive Deployment in the following format: `organizations/{org}/environments/{env}/archiveDeployments/{id}`.", +"location": "path", +"pattern": "^organizations/[^/]+/environments/[^/]+/archiveDeployments/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Required. The list of fields to be updated.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "GoogleCloudApigeeV1ArchiveDeployment" +}, +"response": { +"$ref": "GoogleCloudApigeeV1ArchiveDeployment" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"caches": { +"methods": { +"delete": { +"description": "Deletes a cache.", +"flatPath": "v1/organizations/{organizationsId}/environments/{environmentsId}/caches/{cachesId}", +"httpMethod": "DELETE", +"id": "apigee.organizations.environments.caches.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Cache resource name of the form: `organizations/{organization_id}/environments/{environment_id}/caches/{cache_id}`", +"location": "path", +"pattern": "^organizations/[^/]+/environments/[^/]+/caches/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"deployments": { +"methods": { +"get": { +"description": "Gets a particular deployment of Api proxy or a shared flow in an environment", +"flatPath": "v1/organizations/{organizationsId}/environments/{environmentsId}/deployments/{deploymentsId}", +"httpMethod": "GET", +"id": "apigee.organizations.environments.deployments.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of the api proxy or the shared flow deployment. Use the following structure in your request: `organizations/{org}/environments/{env}/deployments/{deployment}`", +"location": "path", +"pattern": "^organizations/[^/]+/environments/[^/]+/deployments/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleCloudApigeeV1Deployment" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"getIamPolicy": { +"description": "Gets the IAM policy on a deployment. For more information, see [Manage users, roles, and permissions using the API](https://cloud.google.com/apigee/docs/api-platform/system-administration/manage-users-roles). You must have the `apigee.deployments.getIamPolicy` permission to call this API.", +"flatPath": "v1/organizations/{organizationsId}/environments/{environmentsId}/deployments/{deploymentsId}:getIamPolicy", +"httpMethod": "GET", +"id": "apigee.organizations.environments.deployments.getIamPolicy", +"parameterOrder": [ +"resource" +], +"parameters": { +"options.requestedPolicyVersion": { +"description": "Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).", +"format": "int32", +"location": "query", +"type": "integer" +}, +"resource": { +"description": "REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", +"location": "path", +"pattern": "^organizations/[^/]+/environments/[^/]+/deployments/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+resource}:getIamPolicy", +"response": { +"$ref": "GoogleIamV1Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists all deployments of API proxies or shared flows in an environment.", +"flatPath": "v1/organizations/{organizationsId}/environments/{environmentsId}/deployments", +"httpMethod": "GET", +"id": "apigee.organizations.environments.deployments.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. Name of the environment for which to return deployment information in the following format: `organizations/{org}/environments/{env}`", +"location": "path", +"pattern": "^organizations/[^/]+/environments/[^/]+$", +"required": true, +"type": "string" +}, +"sharedFlows": { +"description": "Optional. Flag that specifies whether to return shared flow or API proxy deployments. Set to `true` to return shared flow deployments; set to `false` to return API proxy deployments. Defaults to `false`.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1/{+parent}/deployments", +"response": { +"$ref": "GoogleCloudApigeeV1ListDeploymentsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"setIamPolicy": { +"description": "Sets the IAM policy on a deployment, if the policy already exists it will be replaced. For more information, see [Manage users, roles, and permissions using the API](https://cloud.google.com/apigee/docs/api-platform/system-administration/manage-users-roles). You must have the `apigee.deployments.setIamPolicy` permission to call this API.", +"flatPath": "v1/organizations/{organizationsId}/environments/{environmentsId}/deployments/{deploymentsId}:setIamPolicy", +"httpMethod": "POST", +"id": "apigee.organizations.environments.deployments.setIamPolicy", +"parameterOrder": [ +"resource" +], +"parameters": { +"resource": { +"description": "REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", +"location": "path", +"pattern": "^organizations/[^/]+/environments/[^/]+/deployments/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+resource}:setIamPolicy", +"request": { +"$ref": "GoogleIamV1SetIamPolicyRequest" +}, +"response": { +"$ref": "GoogleIamV1Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"testIamPermissions": { +"description": "Tests the permissions of a user on a deployment, and returns a subset of permissions that the user has on the deployment. If the deployment does not exist, an empty permission set is returned (a NOT_FOUND error is not returned).", +"flatPath": "v1/organizations/{organizationsId}/environments/{environmentsId}/deployments/{deploymentsId}:testIamPermissions", +"httpMethod": "POST", +"id": "apigee.organizations.environments.deployments.testIamPermissions", +"parameterOrder": [ +"resource" +], +"parameters": { +"resource": { +"description": "REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", +"location": "path", +"pattern": "^organizations/[^/]+/environments/[^/]+/deployments/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+resource}:testIamPermissions", +"request": { +"$ref": "GoogleIamV1TestIamPermissionsRequest" +}, +"response": { +"$ref": "GoogleIamV1TestIamPermissionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"flowhooks": { +"methods": { +"attachSharedFlowToFlowHook": { +"description": "Attaches a shared flow to a flow hook.", +"flatPath": "v1/organizations/{organizationsId}/environments/{environmentsId}/flowhooks/{flowhooksId}", +"httpMethod": "PUT", +"id": "apigee.organizations.environments.flowhooks.attachSharedFlowToFlowHook", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of the flow hook to which the shared flow should be attached in the following format: `organizations/{org}/environments/{env}/flowhooks/{flowhook}`", +"location": "path", +"pattern": "^organizations/[^/]+/environments/[^/]+/flowhooks/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "GoogleCloudApigeeV1FlowHook" +}, +"response": { +"$ref": "GoogleCloudApigeeV1FlowHook" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"detachSharedFlowFromFlowHook": { +"description": "Detaches a shared flow from a flow hook.", +"flatPath": "v1/organizations/{organizationsId}/environments/{environmentsId}/flowhooks/{flowhooksId}", +"httpMethod": "DELETE", +"id": "apigee.organizations.environments.flowhooks.detachSharedFlowFromFlowHook", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of the flow hook to detach in the following format: `organizations/{org}/environments/{env}/flowhooks/{flowhook}`", +"location": "path", +"pattern": "^organizations/[^/]+/environments/[^/]+/flowhooks/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleCloudApigeeV1FlowHook" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Returns the name of the shared flow attached to the specified flow hook. If there's no shared flow attached to the flow hook, the API does not return an error; it simply does not return a name in the response.", +"flatPath": "v1/organizations/{organizationsId}/environments/{environmentsId}/flowhooks/{flowhooksId}", +"httpMethod": "GET", +"id": "apigee.organizations.environments.flowhooks.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of the flow hook in the following format: `organizations/{org}/environments/{env}/flowhooks/{flowhook}`", +"location": "path", +"pattern": "^organizations/[^/]+/environments/[^/]+/flowhooks/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleCloudApigeeV1FlowHook" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"keystores": { +"methods": { +"create": { +"description": "Creates a keystore or truststore. - Keystore: Contains certificates and their associated keys. - Truststore: Contains trusted certificates used to validate a server's certificate. These certificates are typically self-signed certificates or certificates that are not signed by a trusted CA.", +"flatPath": "v1/organizations/{organizationsId}/environments/{environmentsId}/keystores", +"httpMethod": "POST", +"id": "apigee.organizations.environments.keystores.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"name": { +"description": "Optional. Name of the keystore. Overrides the value in Keystore.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. Name of the environment in which to create the keystore. Use the following format in your request: `organizations/{org}/environments/{env}`", +"location": "path", +"pattern": "^organizations/[^/]+/environments/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/keystores", +"request": { +"$ref": "GoogleCloudApigeeV1Keystore" +}, +"response": { +"$ref": "GoogleCloudApigeeV1Keystore" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a keystore or truststore.", +"flatPath": "v1/organizations/{organizationsId}/environments/{environmentsId}/keystores/{keystoresId}", +"httpMethod": "DELETE", +"id": "apigee.organizations.environments.keystores.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of the keystore. Use the following format in your request: `organizations/{org}/environments/{env}/keystores/{keystore}`", +"location": "path", +"pattern": "^organizations/[^/]+/environments/[^/]+/keystores/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleCloudApigeeV1Keystore" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets a keystore or truststore.", +"flatPath": "v1/organizations/{organizationsId}/environments/{environmentsId}/keystores/{keystoresId}", +"httpMethod": "GET", +"id": "apigee.organizations.environments.keystores.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of the keystore. Use the following format in your request: `organizations/{org}/environments/{env}/keystores/{keystore}`.", +"location": "path", +"pattern": "^organizations/[^/]+/environments/[^/]+/keystores/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleCloudApigeeV1Keystore" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"aliases": { +"methods": { +"create": { +"description": "Creates an alias from a key/certificate pair. The structure of the request is controlled by the `format` query parameter: - `keycertfile` - Separate PEM-encoded key and certificate files are uploaded. Set `Content-Type: multipart/form-data` and include the `keyFile`, `certFile`, and `password` (if keys are encrypted) fields in the request body. If uploading to a truststore, omit `keyFile`. - `pkcs12` - A PKCS12 file is uploaded. Set `Content-Type: multipart/form-data`, provide the file in the `file` field, and include the `password` field if the file is encrypted in the request body. - `selfsignedcert` - A new private key and certificate are generated. Set `Content-Type: application/json` and include CertificateGenerationSpec in the request body.", +"flatPath": "v1/organizations/{organizationsId}/environments/{environmentsId}/keystores/{keystoresId}/aliases", +"httpMethod": "POST", +"id": "apigee.organizations.environments.keystores.aliases.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"_password": { +"description": "DEPRECATED: For improved security, specify the password in the request body instead of using the query parameter. To specify the password in the request body, set `Content-type: multipart/form-data` part with name `password`. Password for the private key file, if required.", +"location": "query", +"type": "string" +}, +"alias": { +"description": "Alias for the key/certificate pair. Values must match the regular expression `[\\w\\s-.]{1,255}`. This must be provided for all formats except `selfsignedcert`; self-signed certs may specify the alias in either this parameter or the JSON body.", +"location": "query", +"type": "string" +}, +"format": { +"description": "Required. Format of the data. Valid values include: `selfsignedcert`, `keycertfile`, or `pkcs12`", +"location": "query", +"type": "string" +}, +"ignoreExpiryValidation": { +"description": "Flag that specifies whether to ignore expiry validation. If set to `true`, no expiry validation will be performed.", +"location": "query", +"type": "boolean" +}, +"ignoreNewlineValidation": { +"description": "Flag that specifies whether to ignore newline validation. If set to `true`, no error is thrown when the file contains a certificate chain with no newline between each certificate. Defaults to `false`.", +"location": "query", +"type": "boolean" +}, +"parent": { +"description": "Required. Name of the keystore. Use the following format in your request: `organizations/{org}/environments/{env}/keystores/{keystore}`.", +"location": "path", +"pattern": "^organizations/[^/]+/environments/[^/]+/keystores/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/aliases", +"request": { +"$ref": "GoogleApiHttpBody" +}, +"response": { +"$ref": "GoogleCloudApigeeV1Alias" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"csr": { +"description": "Generates a PKCS #10 Certificate Signing Request for the private key in an alias.", +"flatPath": "v1/organizations/{organizationsId}/environments/{environmentsId}/keystores/{keystoresId}/aliases/{aliasesId}/csr", +"httpMethod": "GET", +"id": "apigee.organizations.environments.keystores.aliases.csr", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of the alias. Use the following format in your request: `organizations/{org}/environments/{env}/keystores/{keystore}/aliases/{alias}`.", +"location": "path", +"pattern": "^organizations/[^/]+/environments/[^/]+/keystores/[^/]+/aliases/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}/csr", +"response": { +"$ref": "GoogleApiHttpBody" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes an alias.", +"flatPath": "v1/organizations/{organizationsId}/environments/{environmentsId}/keystores/{keystoresId}/aliases/{aliasesId}", +"httpMethod": "DELETE", +"id": "apigee.organizations.environments.keystores.aliases.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of the alias. Use the following format in your request: `organizations/{org}/environments/{env}/keystores/{keystore}/aliases/{alias}`.", +"location": "path", +"pattern": "^organizations/[^/]+/environments/[^/]+/keystores/[^/]+/aliases/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleCloudApigeeV1Alias" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets an alias.", +"flatPath": "v1/organizations/{organizationsId}/environments/{environmentsId}/keystores/{keystoresId}/aliases/{aliasesId}", +"httpMethod": "GET", +"id": "apigee.organizations.environments.keystores.aliases.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of the alias. Use the following format in your request: `organizations/{org}/environments/{env}/keystores/{keystore}/aliases/{alias}`.", +"location": "path", +"pattern": "^organizations/[^/]+/environments/[^/]+/keystores/[^/]+/aliases/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleCloudApigeeV1Alias" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"getCertificate": { +"description": "Gets the certificate from an alias in PEM-encoded form.", +"flatPath": "v1/organizations/{organizationsId}/environments/{environmentsId}/keystores/{keystoresId}/aliases/{aliasesId}/certificate", +"httpMethod": "GET", +"id": "apigee.organizations.environments.keystores.aliases.getCertificate", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of the alias. Use the following format in your request: `organizations/{org}/environments/{env}/keystores/{keystore}/aliases/{alias}`.", +"location": "path", +"pattern": "^organizations/[^/]+/environments/[^/]+/keystores/[^/]+/aliases/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}/certificate", +"response": { +"$ref": "GoogleApiHttpBody" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"update": { +"description": "Updates the certificate in an alias. The updated certificate must be in PEM- or DER-encoded X.509 format.", +"flatPath": "v1/organizations/{organizationsId}/environments/{environmentsId}/keystores/{keystoresId}/aliases/{aliasesId}", +"httpMethod": "PUT", +"id": "apigee.organizations.environments.keystores.aliases.update", +"parameterOrder": [ +"name" +], +"parameters": { +"ignoreExpiryValidation": { +"description": "Required. Flag that specifies whether to ignore expiry validation. If set to `true`, no expiry validation will be performed.", +"location": "query", +"type": "boolean" +}, +"ignoreNewlineValidation": { +"description": "Flag that specifies whether to ignore newline validation. If set to `true`, no error is thrown when the file contains a certificate chain with no newline between each certificate. Defaults to `false`.", +"location": "query", +"type": "boolean" +}, +"name": { +"description": "Required. Name of the alias. Use the following format in your request: `organizations/{org}/environments/{env}/keystores/{keystore}/aliases/{alias}`", +"location": "path", +"pattern": "^organizations/[^/]+/environments/[^/]+/keystores/[^/]+/aliases/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "GoogleApiHttpBody" +}, +"response": { +"$ref": "GoogleCloudApigeeV1Alias" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +}, +"keyvaluemaps": { +"methods": { +"create": { +"description": "Creates a key value map in an environment.", +"flatPath": "v1/organizations/{organizationsId}/environments/{environmentsId}/keyvaluemaps", +"httpMethod": "POST", +"id": "apigee.organizations.environments.keyvaluemaps.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. Name of the environment in which to create the key value map. Use the following structure in your request: `organizations/{org}/environments/{env}`", +"location": "path", +"pattern": "^organizations/[^/]+/environments/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/keyvaluemaps", +"request": { +"$ref": "GoogleCloudApigeeV1KeyValueMap" +}, +"response": { +"$ref": "GoogleCloudApigeeV1KeyValueMap" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a key value map from an environment.", +"flatPath": "v1/organizations/{organizationsId}/environments/{environmentsId}/keyvaluemaps/{keyvaluemapsId}", +"httpMethod": "DELETE", +"id": "apigee.organizations.environments.keyvaluemaps.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of the key value map. Use the following structure in your request: `organizations/{org}/environments/{env}/keyvaluemaps/{keyvaluemap}`", +"location": "path", +"pattern": "^organizations/[^/]+/environments/[^/]+/keyvaluemaps/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleCloudApigeeV1KeyValueMap" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Get the key value map scoped to an organization, environment, or API proxy.", +"flatPath": "v1/organizations/{organizationsId}/environments/{environmentsId}/keyvaluemaps/{keyvaluemapsId}", +"httpMethod": "GET", +"id": "apigee.organizations.environments.keyvaluemaps.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Scope as indicated by the URI in which to fetch the key value map. Use **one** of the following structures in your request: * `organizations/{organization}/apis/{api}/keyvaluemaps/{keyvaluemap}`. * `organizations/{organization}/environments/{environment}/keyvaluemaps/{keyvaluemap}` * `organizations/{organization}/keyvaluemaps/{keyvaluemap}`. If the KeyValueMap is under an API Proxy resource that has the `space` attribute set, IAM permissions are checked against the Space resource path. To learn more, read the [Apigee Spaces Overview](https://cloud.google.com/apigee/docs/api-platform/system-administration/spaces/apigee-spaces-overview).", +"location": "path", +"pattern": "^organizations/[^/]+/environments/[^/]+/keyvaluemaps/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleCloudApigeeV1KeyValueMap" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"update": { +"description": "Update the key value map scoped to an organization, environment, or API proxy.", +"flatPath": "v1/organizations/{organizationsId}/environments/{environmentsId}/keyvaluemaps/{keyvaluemapsId}", +"httpMethod": "PUT", +"id": "apigee.organizations.environments.keyvaluemaps.update", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Scope as indicated by the URI in which to fetch the key value map. Use **one** of the following structures in your request: * `organizations/{organization}/apis/{api}/keyvaluemaps/{keyvaluemap}`. * `organizations/{organization}/environments/{environment}/keyvaluemaps/{keyvaluemap}` * `organizations/{organization}/keyvaluemaps/{keyvaluemap}`. If the KeyValueMap is under an API Proxy resource that has the `space` attribute set, IAM permissions are checked against the Space resource path. To learn more, read the [Apigee Spaces Overview](https://cloud.google.com/apigee/docs/api-platform/system-administration/spaces/apigee-spaces-overview).", +"location": "path", +"pattern": "^organizations/[^/]+/environments/[^/]+/keyvaluemaps/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "GoogleCloudApigeeV1KeyValueMap" +}, +"response": { +"$ref": "GoogleCloudApigeeV1KeyValueMap" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"entries": { +"methods": { +"create": { +"description": "Creates key value entries in a key value map scoped to an organization, environment, or API proxy. **Note**: Supported for Apigee hybrid 1.8.x and higher.", +"flatPath": "v1/organizations/{organizationsId}/environments/{environmentsId}/keyvaluemaps/{keyvaluemapsId}/entries", +"httpMethod": "POST", +"id": "apigee.organizations.environments.keyvaluemaps.entries.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. Scope as indicated by the URI in which to create the key value map entry. Use **one** of the following structures in your request: * `organizations/{organization}/apis/{api}/keyvaluemaps/{keyvaluemap}`. * `organizations/{organization}/environments/{environment}/keyvaluemaps/{keyvaluemap}` * `organizations/{organization}/keyvaluemaps/{keyvaluemap}`. If the KeyValueMap is under an API Proxy resource that has the `space` attribute set, IAM permissions are checked against the Space resource path. To learn more, read the [Apigee Spaces Overview](https://cloud.google.com/apigee/docs/api-platform/system-administration/spaces/apigee-spaces-overview).", +"location": "path", +"pattern": "^organizations/[^/]+/environments/[^/]+/keyvaluemaps/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/entries", +"request": { +"$ref": "GoogleCloudApigeeV1KeyValueEntry" +}, +"response": { +"$ref": "GoogleCloudApigeeV1KeyValueEntry" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a key value entry from a key value map scoped to an organization, environment, or API proxy. **Notes:** * After you delete the key value entry, the policy consuming the entry will continue to function with its cached values for a few minutes. This is expected behavior. * Supported for Apigee hybrid 1.8.x and higher.", +"flatPath": "v1/organizations/{organizationsId}/environments/{environmentsId}/keyvaluemaps/{keyvaluemapsId}/entries/{entriesId}", +"httpMethod": "DELETE", +"id": "apigee.organizations.environments.keyvaluemaps.entries.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Scope as indicated by the URI in which to delete the key value map entry. Use **one** of the following structures in your request: * `organizations/{organization}/apis/{api}/keyvaluemaps/{keyvaluemap}/entries/{entry}`. * `organizations/{organization}/environments/{environment}/keyvaluemaps/{keyvaluemap}/entries/{entry}` * `organizations/{organization}/keyvaluemaps/{keyvaluemap}/entries/{entry}`. If the KeyValueMap is under an API Proxy resource that has the `space` attribute set, IAM permissions are checked against the Space resource path. To learn more, read the [Apigee Spaces Overview](https://cloud.google.com/apigee/docs/api-platform/system-administration/spaces/apigee-spaces-overview).", +"location": "path", +"pattern": "^organizations/[^/]+/environments/[^/]+/keyvaluemaps/[^/]+/entries/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleCloudApigeeV1KeyValueEntry" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Get the key value entry value for a key value map scoped to an organization, environment, or API proxy. **Note**: Supported for Apigee hybrid 1.8.x and higher.", +"flatPath": "v1/organizations/{organizationsId}/environments/{environmentsId}/keyvaluemaps/{keyvaluemapsId}/entries/{entriesId}", +"httpMethod": "GET", +"id": "apigee.organizations.environments.keyvaluemaps.entries.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Scope as indicated by the URI in which to fetch the key value map entry/value. Use **one** of the following structures in your request: * `organizations/{organization}/apis/{api}/keyvaluemaps/{keyvaluemap}/entries/{entry}`. * `organizations/{organization}/environments/{environment}/keyvaluemaps/{keyvaluemap}/entries/{entry}` * `organizations/{organization}/keyvaluemaps/{keyvaluemap}/entries/{entry}`. If the KeyValueMap is under an API Proxy resource that has the `space` attribute set, IAM permissions are checked against the Space resource path. To learn more, read the [Apigee Spaces Overview](https://cloud.google.com/apigee/docs/api-platform/system-administration/spaces/apigee-spaces-overview).", +"location": "path", +"pattern": "^organizations/[^/]+/environments/[^/]+/keyvaluemaps/[^/]+/entries/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleCloudApigeeV1KeyValueEntry" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists key value entries for key values maps scoped to an organization, environment, or API proxy. **Note**: Supported for Apigee hybrid 1.8.x and higher.", +"flatPath": "v1/organizations/{organizationsId}/environments/{environmentsId}/keyvaluemaps/{keyvaluemapsId}/entries", +"httpMethod": "GET", +"id": "apigee.organizations.environments.keyvaluemaps.entries.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "Optional. Maximum number of key value entries to return. If unspecified, at most 100 entries will be returned.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. Page token. If provides, must be a valid key value entry returned from a previous call that can be used to retrieve the next page.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. Scope as indicated by the URI in which to list key value maps. Use **one** of the following structures in your request: * `organizations/{organization}/apis/{api}/keyvaluemaps/{keyvaluemap}`. * `organizations/{organization}/environments/{environment}/keyvaluemaps/{keyvaluemap}` * `organizations/{organization}/keyvaluemaps/{keyvaluemap}`. If the KeyValueMap is under an API Proxy resource that has the `space` attribute set, IAM permissions are checked against the Space resource path. To learn more, read the [Apigee Spaces Overview](https://cloud.google.com/apigee/docs/api-platform/system-administration/spaces/apigee-spaces-overview).", +"location": "path", +"pattern": "^organizations/[^/]+/environments/[^/]+/keyvaluemaps/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/entries", +"response": { +"$ref": "GoogleCloudApigeeV1ListKeyValueEntriesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"update": { +"description": "Update key value entry scoped to an organization, environment, or API proxy for an existing key.", +"flatPath": "v1/organizations/{organizationsId}/environments/{environmentsId}/keyvaluemaps/{keyvaluemapsId}/entries/{entriesId}", +"httpMethod": "PUT", +"id": "apigee.organizations.environments.keyvaluemaps.entries.update", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Scope as indicated by the URI in which to create the key value map entry. Use **one** of the following structures in your request: * `organizations/{organization}/apis/{api}/keyvaluemaps/{keyvaluemap}`. * `organizations/{organization}/environments/{environment}/keyvaluemaps/{keyvaluemap}` * `organizations/{organization}/keyvaluemaps/{keyvaluemap}`. If the KeyValueMap is under an API Proxy resource that has the `space` attribute set, IAM permissions are checked against the Space resource path. To learn more, read the [Apigee Spaces Overview](https://cloud.google.com/apigee/docs/api-platform/system-administration/spaces/apigee-spaces-overview).", +"location": "path", +"pattern": "^organizations/[^/]+/environments/[^/]+/keyvaluemaps/[^/]+/entries/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "GoogleCloudApigeeV1KeyValueEntry" +}, +"response": { +"$ref": "GoogleCloudApigeeV1KeyValueEntry" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +}, +"optimizedStats": { +"methods": { +"get": { +"description": "Similar to GetStats except that the response is less verbose.", +"flatPath": "v1/organizations/{organizationsId}/environments/{environmentsId}/optimizedStats/{optimizedStatsId}", +"httpMethod": "GET", +"id": "apigee.organizations.environments.optimizedStats.get", +"parameterOrder": [ +"name" +], +"parameters": { +"accuracy": { +"description": "No longer used by Apigee. Supported for backwards compatibility.", +"location": "query", +"type": "string" +}, +"aggTable": { +"description": "Table name used to query custom aggregate tables. If this parameter is skipped, then Apigee will try to retrieve the data from fact tables which will be expensive.", +"location": "query", +"type": "string" +}, +"filter": { +"description": "Filter that enables you to drill-down on specific dimension values.", +"location": "query", +"type": "string" +}, +"limit": { +"description": "Maximum number of result items to return.", +"location": "query", +"type": "string" +}, +"name": { +"description": "Required. Resource name for which the interactive query will be executed. Use the following format in your request: `organizations/{org}/environments/{env}/optimizedStats/{dimensions}` Dimensions let you view metrics in meaningful groupings, such as `apiproxy`, `target_host`. The value of `dimensions` should be a comma-separated list as shown below: `organizations/{org}/environments/{env}/optimizedStats/apiproxy,request_verb`", +"location": "path", +"pattern": "^organizations/[^/]+/environments/[^/]+/optimizedStats/.*$", +"required": true, +"type": "string" +}, +"offset": { +"description": "Offset value. Use `offset` with `limit` to enable pagination of results. For example, to display results 11-20, set limit to `10` and offset to `10`.", +"location": "query", +"type": "string" +}, +"realtime": { +"description": "No longer used by Apigee. Supported for backwards compatibility.", +"location": "query", +"type": "boolean" +}, +"select": { +"description": "Required. Comma-separated list of metrics. For example: `sum(message_count),sum(error_count)`", +"location": "query", +"type": "string" +}, +"sonar": { +"description": "Routes the query to API Monitoring for the last hour.", +"location": "query", +"type": "boolean" +}, +"sort": { +"description": "Flag that specifies whether the sort order should be ascending or descending. Valid values include `DESC` and `ASC`.", +"location": "query", +"type": "string" +}, +"sortby": { +"description": "Comma-separated list of metrics to sort the final result.", +"location": "query", +"type": "string" +}, +"timeRange": { +"description": "Required. Time interval for the interactive query. Time range is specified in GMT as `start~end`. For example: `04/15/2017 00:00~05/15/2017 23:59`", +"location": "query", +"type": "string" +}, +"timeUnit": { +"description": "Granularity of metrics returned. Valid values include: `second`, `minute`, `hour`, `day`, `week`, or `month`.", +"location": "query", +"type": "string" +}, +"topk": { +"description": "Top number of results to return. For example, to return the top 5 results, set `topk=5`.", +"location": "query", +"type": "string" +}, +"tsAscending": { +"description": "Flag that specifies whether to list timestamps in ascending (`true`) or descending (`false`) order. Apigee recommends setting this value to `true` if you are using `sortby` with `sort=DESC`.", +"location": "query", +"type": "boolean" +}, +"tzo": { +"description": "Timezone offset value.", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleCloudApigeeV1OptimizedStats" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"queries": { +"methods": { +"create": { +"description": "Submit a query to be processed in the background. If the submission of the query succeeds, the API returns a 201 status and an ID that refer to the query. In addition to the HTTP status 201, the `state` of \"enqueued\" means that the request succeeded.", +"flatPath": "v1/organizations/{organizationsId}/environments/{environmentsId}/queries", +"httpMethod": "POST", +"id": "apigee.organizations.environments.queries.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The parent resource name. Must be of the form `organizations/{org}/environments/{env}`.", +"location": "path", +"pattern": "^organizations/[^/]+/environments/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/queries", +"request": { +"$ref": "GoogleCloudApigeeV1Query" +}, +"response": { +"$ref": "GoogleCloudApigeeV1AsyncQuery" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Get query status If the query is still in progress, the `state` is set to \"running\" After the query has completed successfully, `state` is set to \"completed\"", +"flatPath": "v1/organizations/{organizationsId}/environments/{environmentsId}/queries/{queriesId}", +"httpMethod": "GET", +"id": "apigee.organizations.environments.queries.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of the asynchronous query to get. Must be of the form `organizations/{org}/environments/{env}/queries/{queryId}`.", +"location": "path", +"pattern": "^organizations/[^/]+/environments/[^/]+/queries/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleCloudApigeeV1AsyncQuery" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"getResult": { +"description": "After the query is completed, use this API to retrieve the results. If the request succeeds, and there is a non-zero result set, the result is downloaded to the client as a zipped JSON file. The name of the downloaded file will be: OfflineQueryResult-.zip Example: `OfflineQueryResult-9cfc0d85-0f30-46d6-ae6f-318d0cb961bd.zip`", +"flatPath": "v1/organizations/{organizationsId}/environments/{environmentsId}/queries/{queriesId}/result", +"httpMethod": "GET", +"id": "apigee.organizations.environments.queries.getResult", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of the asynchronous query result to get. Must be of the form `organizations/{org}/environments/{env}/queries/{queryId}/result`.", +"location": "path", +"pattern": "^organizations/[^/]+/environments/[^/]+/queries/[^/]+/result$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleApiHttpBody" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"getResulturl": { +"description": "After the query is completed, use this API to retrieve the results. If the request succeeds, and there is a non-zero result set, the result is sent to the client as a list of urls to JSON files.", +"flatPath": "v1/organizations/{organizationsId}/environments/{environmentsId}/queries/{queriesId}/resulturl", +"httpMethod": "GET", +"id": "apigee.organizations.environments.queries.getResulturl", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of the asynchronous query result to get. Must be of the form `organizations/{org}/environments/{env}/queries/{queryId}/resulturl`.", +"location": "path", +"pattern": "^organizations/[^/]+/environments/[^/]+/queries/[^/]+/resulturl$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleCloudApigeeV1GetAsyncQueryResultUrlResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Return a list of Asynchronous Queries", +"flatPath": "v1/organizations/{organizationsId}/environments/{environmentsId}/queries", +"httpMethod": "GET", +"id": "apigee.organizations.environments.queries.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"dataset": { +"description": "Filter response list by dataset. Example: `api`, `mint`", +"location": "query", +"type": "string" +}, +"from": { +"description": "Filter response list by returning asynchronous queries that created after this date time. Time must be in ISO date-time format like '2011-12-03T10:15:30Z'.", +"location": "query", +"type": "string" +}, +"inclQueriesWithoutReport": { +"description": "Flag to include asynchronous queries that don't have a report denifition.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent resource name. Must be of the form `organizations/{org}/environments/{env}`.", +"location": "path", +"pattern": "^organizations/[^/]+/environments/[^/]+$", +"required": true, +"type": "string" +}, +"status": { +"description": "Filter response list by asynchronous query status.", +"location": "query", +"type": "string" +}, +"submittedBy": { +"description": "Filter response list by user who submitted queries.", +"location": "query", +"type": "string" +}, +"to": { +"description": "Filter response list by returning asynchronous queries that created before this date time. Time must be in ISO date-time format like '2011-12-03T10:16:30Z'.", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+parent}/queries", +"response": { +"$ref": "GoogleCloudApigeeV1ListAsyncQueriesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"references": { +"methods": { +"create": { +"description": "Creates a Reference in the specified environment.", +"flatPath": "v1/organizations/{organizationsId}/environments/{environmentsId}/references", +"httpMethod": "POST", +"id": "apigee.organizations.environments.references.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The parent environment name under which the Reference will be created. Must be of the form `organizations/{org}/environments/{env}`.", +"location": "path", +"pattern": "^organizations/[^/]+/environments/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/references", +"request": { +"$ref": "GoogleCloudApigeeV1Reference" +}, +"response": { +"$ref": "GoogleCloudApigeeV1Reference" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a Reference from an environment. Returns the deleted Reference resource.", +"flatPath": "v1/organizations/{organizationsId}/environments/{environmentsId}/references/{referencesId}", +"httpMethod": "DELETE", +"id": "apigee.organizations.environments.references.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the Reference to delete. Must be of the form `organizations/{org}/environments/{env}/references/{ref}`.", +"location": "path", +"pattern": "^organizations/[^/]+/environments/[^/]+/references/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleCloudApigeeV1Reference" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets a Reference resource.", +"flatPath": "v1/organizations/{organizationsId}/environments/{environmentsId}/references/{referencesId}", +"httpMethod": "GET", +"id": "apigee.organizations.environments.references.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the Reference to get. Must be of the form `organizations/{org}/environments/{env}/references/{ref}`.", +"location": "path", +"pattern": "^organizations/[^/]+/environments/[^/]+/references/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleCloudApigeeV1Reference" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"update": { +"description": "Updates an existing Reference. Note that this operation has PUT semantics; it will replace the entirety of the existing Reference with the resource in the request body.", +"flatPath": "v1/organizations/{organizationsId}/environments/{environmentsId}/references/{referencesId}", +"httpMethod": "PUT", +"id": "apigee.organizations.environments.references.update", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the Reference to update. Must be of the form `organizations/{org}/environments/{env}/references/{ref}`.", +"location": "path", +"pattern": "^organizations/[^/]+/environments/[^/]+/references/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "GoogleCloudApigeeV1Reference" +}, +"response": { +"$ref": "GoogleCloudApigeeV1Reference" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"resourcefiles": { +"methods": { +"create": { +"description": "Creates a resource file. Specify the `Content-Type` as `application/octet-stream` or `multipart/form-data`. For more information about resource files, see [Resource files](https://cloud.google.com/apigee/docs/api-platform/develop/resource-files).", +"flatPath": "v1/organizations/{organizationsId}/environments/{environmentsId}/resourcefiles", +"httpMethod": "POST", +"id": "apigee.organizations.environments.resourcefiles.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"name": { +"description": "Required. Name of the resource file. Must match the regular expression: [a-zA-Z0-9:/\\\\!@#$%^&{}\\[\\]()+\\-=,.~'` ]{1,255}", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. Name of the environment in which to create the resource file in the following format: `organizations/{org}/environments/{env}`.", +"location": "path", +"pattern": "^organizations/[^/]+/environments/[^/]+$", +"required": true, +"type": "string" +}, +"type": { +"description": "Required. Resource file type. {{ resource_file_type }}", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+parent}/resourcefiles", +"request": { +"$ref": "GoogleApiHttpBody" +}, +"response": { +"$ref": "GoogleCloudApigeeV1ResourceFile" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a resource file. For more information about resource files, see [Resource files](https://cloud.google.com/apigee/docs/api-platform/develop/resource-files).", +"flatPath": "v1/organizations/{organizationsId}/environments/{environmentsId}/resourcefiles/{type}/{name}", +"httpMethod": "DELETE", +"id": "apigee.organizations.environments.resourcefiles.delete", +"parameterOrder": [ +"parent", +"type", +"name" +], +"parameters": { +"name": { +"description": "Required. ID of the resource file to delete. Must match the regular expression: [a-zA-Z0-9:/\\\\!@#$%^&{}\\[\\]()+\\-=,.~'` ]{1,255}", +"location": "path", +"required": true, +"type": "string" +}, +"parent": { +"description": "Required. Name of the environment in the following format: `organizations/{org}/environments/{env}`.", +"location": "path", +"pattern": "^organizations/[^/]+/environments/[^/]+$", +"required": true, +"type": "string" +}, +"type": { +"description": "Required. Resource file type. {{ resource_file_type }}", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/resourcefiles/{type}/{name}", +"response": { +"$ref": "GoogleCloudApigeeV1ResourceFile" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets the contents of a resource file. For more information about resource files, see [Resource files](https://cloud.google.com/apigee/docs/api-platform/develop/resource-files).", +"flatPath": "v1/organizations/{organizationsId}/environments/{environmentsId}/resourcefiles/{type}/{name}", +"httpMethod": "GET", +"id": "apigee.organizations.environments.resourcefiles.get", +"parameterOrder": [ +"parent", +"type", +"name" +], +"parameters": { +"name": { +"description": "Required. ID of the resource file. Must match the regular expression: [a-zA-Z0-9:/\\\\!@#$%^&{}\\[\\]()+\\-=,.~'` ]{1,255}", +"location": "path", +"required": true, +"type": "string" +}, +"parent": { +"description": "Required. Name of the environment in the following format: `organizations/{org}/environments/{env}`.", +"location": "path", +"pattern": "^organizations/[^/]+/environments/[^/]+$", +"required": true, +"type": "string" +}, +"type": { +"description": "Required. Resource file type. {{ resource_file_type }}", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/resourcefiles/{type}/{name}", +"response": { +"$ref": "GoogleApiHttpBody" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists all resource files, optionally filtering by type. For more information about resource files, see [Resource files](https://cloud.google.com/apigee/docs/api-platform/develop/resource-files).", +"flatPath": "v1/organizations/{organizationsId}/environments/{environmentsId}/resourcefiles", +"httpMethod": "GET", +"id": "apigee.organizations.environments.resourcefiles.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. Name of the environment in which to list resource files in the following format: `organizations/{org}/environments/{env}`.", +"location": "path", +"pattern": "^organizations/[^/]+/environments/[^/]+$", +"required": true, +"type": "string" +}, +"type": { +"description": "Optional. Type of resource files to list. {{ resource_file_type }}", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+parent}/resourcefiles", +"response": { +"$ref": "GoogleCloudApigeeV1ListEnvironmentResourcesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"listEnvironmentResources": { +"description": "Lists all resource files, optionally filtering by type. For more information about resource files, see [Resource files](https://cloud.google.com/apigee/docs/api-platform/develop/resource-files).", +"flatPath": "v1/organizations/{organizationsId}/environments/{environmentsId}/resourcefiles/{type}", +"httpMethod": "GET", +"id": "apigee.organizations.environments.resourcefiles.listEnvironmentResources", +"parameterOrder": [ +"parent", +"type" +], +"parameters": { +"parent": { +"description": "Required. Name of the environment in which to list resource files in the following format: `organizations/{org}/environments/{env}`.", +"location": "path", +"pattern": "^organizations/[^/]+/environments/[^/]+$", +"required": true, +"type": "string" +}, +"type": { +"description": "Optional. Type of resource files to list. {{ resource_file_type }}", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/resourcefiles/{type}", +"response": { +"$ref": "GoogleCloudApigeeV1ListEnvironmentResourcesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"update": { +"description": "Updates a resource file. Specify the `Content-Type` as `application/octet-stream` or `multipart/form-data`. For more information about resource files, see [Resource files](https://cloud.google.com/apigee/docs/api-platform/develop/resource-files).", +"flatPath": "v1/organizations/{organizationsId}/environments/{environmentsId}/resourcefiles/{type}/{name}", +"httpMethod": "PUT", +"id": "apigee.organizations.environments.resourcefiles.update", +"parameterOrder": [ +"parent", +"type", +"name" +], +"parameters": { +"name": { +"description": "Required. ID of the resource file to update. Must match the regular expression: [a-zA-Z0-9:/\\\\!@#$%^&{}\\[\\]()+\\-=,.~'` ]{1,255}", +"location": "path", +"required": true, +"type": "string" +}, +"parent": { +"description": "Required. Name of the environment in the following format: `organizations/{org}/environments/{env}`.", +"location": "path", +"pattern": "^organizations/[^/]+/environments/[^/]+$", +"required": true, +"type": "string" +}, +"type": { +"description": "Required. Resource file type. {{ resource_file_type }}", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/resourcefiles/{type}/{name}", +"request": { +"$ref": "GoogleApiHttpBody" +}, +"response": { +"$ref": "GoogleCloudApigeeV1ResourceFile" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"securityActions": { +"methods": { +"create": { +"description": "CreateSecurityAction creates a SecurityAction.", +"flatPath": "v1/organizations/{organizationsId}/environments/{environmentsId}/securityActions", +"httpMethod": "POST", +"id": "apigee.organizations.environments.securityActions.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The organization and environment that this SecurityAction applies to. Format: organizations/{org}/environments/{env}", +"location": "path", +"pattern": "^organizations/[^/]+/environments/[^/]+$", +"required": true, +"type": "string" +}, +"securityActionId": { +"description": "Required. The ID to use for the SecurityAction, which will become the final component of the action's resource name. This value should be 0-61 characters, and valid format is (^[a-z]([a-z0-9-]{\u200b0,61}[a-z0-9])?$).", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+parent}/securityActions", +"request": { +"$ref": "GoogleCloudApigeeV1SecurityAction" +}, +"response": { +"$ref": "GoogleCloudApigeeV1SecurityAction" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Delete a SecurityAction.", +"flatPath": "v1/organizations/{organizationsId}/environments/{environmentsId}/securityActions/{securityActionsId}", +"httpMethod": "DELETE", +"id": "apigee.organizations.environments.securityActions.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the security action to delete. Format: `organizations/{org}/environment/{env}/securityActions/{security_action}`", +"location": "path", +"pattern": "^organizations/[^/]+/environments/[^/]+/securityActions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"disable": { +"description": "Disable a SecurityAction. The `state` of the SecurityAction after disabling is `DISABLED`. `DisableSecurityAction` can be called on SecurityActions in the state `ENABLED`; SecurityActions in a different state (including `DISABLED`) return an error.", +"flatPath": "v1/organizations/{organizationsId}/environments/{environmentsId}/securityActions/{securityActionsId}:disable", +"httpMethod": "POST", +"id": "apigee.organizations.environments.securityActions.disable", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the SecurityAction to disable. Format: organizations/{org}/environments/{env}/securityActions/{security_action}", +"location": "path", +"pattern": "^organizations/[^/]+/environments/[^/]+/securityActions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:disable", +"request": { +"$ref": "GoogleCloudApigeeV1DisableSecurityActionRequest" +}, +"response": { +"$ref": "GoogleCloudApigeeV1SecurityAction" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"enable": { +"description": "Enable a SecurityAction. The `state` of the SecurityAction after enabling is `ENABLED`. `EnableSecurityAction` can be called on SecurityActions in the state `DISABLED`; SecurityActions in a different state (including `ENABLED) return an error.", +"flatPath": "v1/organizations/{organizationsId}/environments/{environmentsId}/securityActions/{securityActionsId}:enable", +"httpMethod": "POST", +"id": "apigee.organizations.environments.securityActions.enable", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the SecurityAction to enable. Format: organizations/{org}/environments/{env}/securityActions/{security_action}", +"location": "path", +"pattern": "^organizations/[^/]+/environments/[^/]+/securityActions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:enable", +"request": { +"$ref": "GoogleCloudApigeeV1EnableSecurityActionRequest" +}, +"response": { +"$ref": "GoogleCloudApigeeV1SecurityAction" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Get a SecurityAction by name.", +"flatPath": "v1/organizations/{organizationsId}/environments/{environmentsId}/securityActions/{securityActionsId}", +"httpMethod": "GET", +"id": "apigee.organizations.environments.securityActions.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The fully qualified name of the SecurityAction to retrieve. Format: organizations/{org}/environments/{env}/securityActions/{security_action}", +"location": "path", +"pattern": "^organizations/[^/]+/environments/[^/]+/securityActions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleCloudApigeeV1SecurityAction" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Returns a list of SecurityActions. This returns both enabled and disabled actions.", +"flatPath": "v1/organizations/{organizationsId}/environments/{environmentsId}/securityActions", +"httpMethod": "GET", +"id": "apigee.organizations.environments.securityActions.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "The filter expression to filter List results. https://google.aip.dev/160. Allows for filtering over: state and api_proxies. E.g.: state = ACTIVE AND apiProxies:foo. Filtering by action is not supported https://github.com/aip-dev/google.aip.dev/issues/624", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "The maximum number of SecurityActions to return. If unspecified, at most 50 SecurityActions will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A page token, received from a previous `ListSecurityActions` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListSecurityActions` must match the call that provided the page token.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent, which owns this collection of SecurityActions. Format: organizations/{org}/environments/{env}", +"location": "path", +"pattern": "^organizations/[^/]+/environments/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/securityActions", +"response": { +"$ref": "GoogleCloudApigeeV1ListSecurityActionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Update a SecurityAction.", +"flatPath": "v1/organizations/{organizationsId}/environments/{environmentsId}/securityActions/{securityActionsId}", +"httpMethod": "PATCH", +"id": "apigee.organizations.environments.securityActions.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Immutable. This field is ignored during creation as per AIP-133. Please set the `security_action_id` field in the CreateSecurityActionRequest when creating a new SecurityAction. Format: organizations/{org}/environments/{env}/securityActions/{security_action}", +"location": "path", +"pattern": "^organizations/[^/]+/environments/[^/]+/securityActions/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Optional. The list of fields to update. Valid fields to update are `description`, `state`, `allow`, `deny`, and `flag`, `expire_time`, and `ttl`, `api_proxies`, and `condition_config`.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "GoogleCloudApigeeV1SecurityAction" +}, +"response": { +"$ref": "GoogleCloudApigeeV1SecurityAction" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"securityIncidents": { +"methods": { +"batchUpdate": { +"description": "BatchUpdateSecurityIncident updates multiple existing security incidents.", +"flatPath": "v1/organizations/{organizationsId}/environments/{environmentsId}/securityIncidents:batchUpdate", +"httpMethod": "POST", +"id": "apigee.organizations.environments.securityIncidents.batchUpdate", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Optional. The parent resource shared by all security incidents being updated. If this is set, the parent field in the UpdateSecurityIncidentRequest messages must either be empty or match this field.", +"location": "path", +"pattern": "^organizations/[^/]+/environments/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/securityIncidents:batchUpdate", +"request": { +"$ref": "GoogleCloudApigeeV1BatchUpdateSecurityIncidentsRequest" +}, +"response": { +"$ref": "GoogleCloudApigeeV1BatchUpdateSecurityIncidentsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "GetSecurityIncident gets the specified security incident. Returns NOT_FOUND if security incident is not present for the specified organization and environment.", +"flatPath": "v1/organizations/{organizationsId}/environments/{environmentsId}/securityIncidents/{securityIncidentsId}", +"httpMethod": "GET", +"id": "apigee.organizations.environments.securityIncidents.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Security incident in the following format: `organizations/{org}/environments/{environment}/securityIncidents/{incident}'. Example: organizations/testOrg/environments/testEnv/securityIncidents/1234-4567-890-111", +"location": "path", +"pattern": "^organizations/[^/]+/environments/[^/]+/securityIncidents/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleCloudApigeeV1SecurityIncident" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "ListSecurityIncidents lists all the security incident associated with the environment.", +"flatPath": "v1/organizations/{organizationsId}/environments/{environmentsId}/securityIncidents", +"httpMethod": "GET", +"id": "apigee.organizations.environments.securityIncidents.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "The filter expression to be used to get the list of security incidents, where filtering can be done on API Proxies. Example: filter = \"api_proxy = /\", \"first_detected_time >\", \"last_detected_time <\"", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Optional. The maximum number of incidents to return. The service may return fewer than this value. If unspecified, at most 50 incidents will be returned.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. A page token, received from a previous `ListSecurityIncident` call. Provide this to retrieve the subsequent page.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. For a specific organization, list of all the security incidents. Format: `organizations/{org}/environments/{environment}`", +"location": "path", +"pattern": "^organizations/[^/]+/environments/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/securityIncidents", +"response": { +"$ref": "GoogleCloudApigeeV1ListSecurityIncidentsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "UpdateSecurityIncidents updates an existing security incident.", +"flatPath": "v1/organizations/{organizationsId}/environments/{environmentsId}/securityIncidents/{securityIncidentsId}", +"httpMethod": "PATCH", +"id": "apigee.organizations.environments.securityIncidents.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Immutable. Name of the security incident resource. Format: organizations/{org}/environments/{environment}/securityIncidents/{incident} Example: organizations/apigee-org/environments/dev/securityIncidents/1234-5678-9101-1111", +"location": "path", +"pattern": "^organizations/[^/]+/environments/[^/]+/securityIncidents/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Required. The list of fields to update. Allowed fields are: LINT.IfChange(allowed_update_fields_comment) - observability LINT.ThenChange()", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "GoogleCloudApigeeV1SecurityIncident" +}, +"response": { +"$ref": "GoogleCloudApigeeV1SecurityIncident" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"securityReports": { +"methods": { +"create": { +"description": "Submit a report request to be processed in the background. If the submission succeeds, the API returns a 200 status and an ID that refer to the report request. In addition to the HTTP status 200, the `state` of \"enqueued\" means that the request succeeded.", +"flatPath": "v1/organizations/{organizationsId}/environments/{environmentsId}/securityReports", +"httpMethod": "POST", +"id": "apigee.organizations.environments.securityReports.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The parent resource name. Must be of the form `organizations/{org}/environments/{env}`.", +"location": "path", +"pattern": "^organizations/[^/]+/environments/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/securityReports", +"request": { +"$ref": "GoogleCloudApigeeV1SecurityReportQuery" +}, +"response": { +"$ref": "GoogleCloudApigeeV1SecurityReport" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Get security report status If the query is still in progress, the `state` is set to \"running\" After the query has completed successfully, `state` is set to \"completed\"", +"flatPath": "v1/organizations/{organizationsId}/environments/{environmentsId}/securityReports/{securityReportsId}", +"httpMethod": "GET", +"id": "apigee.organizations.environments.securityReports.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of the security report to get. Must be of the form `organizations/{org}/environments/{env}/securityReports/{reportId}`.", +"location": "path", +"pattern": "^organizations/[^/]+/environments/[^/]+/securityReports/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleCloudApigeeV1SecurityReport" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"getResult": { +"description": "After the query is completed, use this API to retrieve the results as file. If the request succeeds, and there is a non-zero result set, the result is downloaded to the client as a zipped JSON file. The name of the downloaded file will be: OfflineQueryResult-.zip Example: `OfflineQueryResult-9cfc0d85-0f30-46d6-ae6f-318d0cb961bd.zip`", +"flatPath": "v1/organizations/{organizationsId}/environments/{environmentsId}/securityReports/{securityReportsId}/result", +"httpMethod": "GET", +"id": "apigee.organizations.environments.securityReports.getResult", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of the security report result to get. Must be of the form `organizations/{org}/environments/{env}/securityReports/{reportId}/result`.", +"location": "path", +"pattern": "^organizations/[^/]+/environments/[^/]+/securityReports/[^/]+/result$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleApiHttpBody" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"getResultView": { +"description": "After the query is completed, use this API to view the query result when result size is small.", +"flatPath": "v1/organizations/{organizationsId}/environments/{environmentsId}/securityReports/{securityReportsId}/resultView", +"httpMethod": "GET", +"id": "apigee.organizations.environments.securityReports.getResultView", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of the security report result view to get. Must be of the form `organizations/{org}/environments/{env}/securityReports/{reportId}/resultView`.", +"location": "path", +"pattern": "^organizations/[^/]+/environments/[^/]+/securityReports/[^/]+/resultView$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleCloudApigeeV1SecurityReportResultView" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Return a list of Security Reports", +"flatPath": "v1/organizations/{organizationsId}/environments/{environmentsId}/securityReports", +"httpMethod": "GET", +"id": "apigee.organizations.environments.securityReports.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"dataset": { +"description": "Filter response list by dataset. Example: `api`, `mint`", +"location": "query", +"type": "string" +}, +"from": { +"description": "Filter response list by returning security reports that created after this date time. Time must be in ISO date-time format like '2011-12-03T10:15:30Z'.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "The maximum number of security report to return in the list response.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Token returned from the previous list response to fetch the next page.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent resource name. Must be of the form `organizations/{org}/environments/{env}`.", +"location": "path", +"pattern": "^organizations/[^/]+/environments/[^/]+$", +"required": true, +"type": "string" +}, +"status": { +"description": "Filter response list by security reports status.", +"location": "query", +"type": "string" +}, +"submittedBy": { +"description": "Filter response list by user who submitted queries.", +"location": "query", +"type": "string" +}, +"to": { +"description": "Filter response list by returning security reports that created before this date time. Time must be in ISO date-time format like '2011-12-03T10:16:30Z'.", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+parent}/securityReports", +"response": { +"$ref": "GoogleCloudApigeeV1ListSecurityReportsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"securityStats": { +"methods": { +"queryTabularStats": { +"description": "Retrieve security statistics as tabular rows.", +"flatPath": "v1/organizations/{organizationsId}/environments/{environmentsId}/securityStats:queryTabularStats", +"httpMethod": "POST", +"id": "apigee.organizations.environments.securityStats.queryTabularStats", +"parameterOrder": [ +"orgenv" +], +"parameters": { +"orgenv": { +"description": "Required. Should be of the form organizations//environments/.", +"location": "path", +"pattern": "^organizations/[^/]+/environments/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+orgenv}/securityStats:queryTabularStats", +"request": { +"$ref": "GoogleCloudApigeeV1QueryTabularStatsRequest" +}, +"response": { +"$ref": "GoogleCloudApigeeV1QueryTabularStatsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"queryTimeSeriesStats": { +"description": "Retrieve security statistics as a collection of time series.", +"flatPath": "v1/organizations/{organizationsId}/environments/{environmentsId}/securityStats:queryTimeSeriesStats", +"httpMethod": "POST", +"id": "apigee.organizations.environments.securityStats.queryTimeSeriesStats", +"parameterOrder": [ +"orgenv" +], +"parameters": { +"orgenv": { +"description": "Required. Should be of the form organizations//environments/.", +"location": "path", +"pattern": "^organizations/[^/]+/environments/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+orgenv}/securityStats:queryTimeSeriesStats", +"request": { +"$ref": "GoogleCloudApigeeV1QueryTimeSeriesStatsRequest" +}, +"response": { +"$ref": "GoogleCloudApigeeV1QueryTimeSeriesStatsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"sharedflows": { +"resources": { +"deployments": { +"methods": { +"list": { +"description": "Lists all deployments of a shared flow in an environment.", +"flatPath": "v1/organizations/{organizationsId}/environments/{environmentsId}/sharedflows/{sharedflowsId}/deployments", +"httpMethod": "GET", +"id": "apigee.organizations.environments.sharedflows.deployments.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. Name representing a shared flow in an environment in the following format: `organizations/{org}/environments/{env}/sharedflows/{sharedflow}` If the shared flow resource has the `space` attribute set, IAM permissions are checked differently . To learn more, read the [Apigee Spaces Overview](https://cloud.google.com/apigee/docs/api-platform/system-administration/spaces/apigee-spaces-overview).", +"location": "path", +"pattern": "^organizations/[^/]+/environments/[^/]+/sharedflows/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/deployments", +"response": { +"$ref": "GoogleCloudApigeeV1ListDeploymentsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"revisions": { +"methods": { +"deploy": { +"description": "Deploys a revision of a shared flow. If another revision of the same shared flow is currently deployed, set the `override` parameter to `true` to have this revision replace the currently deployed revision. You cannot use a shared flow until it has been deployed to an environment. For a request path `organizations/{org}/environments/{env}/sharedflows/{sf}/revisions/{rev}/deployments`, two permissions are required: * `apigee.deployments.create` on the resource `organizations/{org}/environments/{env}` * `apigee.sharedflowrevisions.deploy` on the resource `organizations/{org}/sharedflows/{sf}/revisions/{rev}`", +"flatPath": "v1/organizations/{organizationsId}/environments/{environmentsId}/sharedflows/{sharedflowsId}/revisions/{revisionsId}/deployments", +"httpMethod": "POST", +"id": "apigee.organizations.environments.sharedflows.revisions.deploy", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of the shared flow revision to deploy in the following format: `organizations/{org}/environments/{env}/sharedflows/{sharedflow}/revisions/{rev}` If the shared flow resource being deployed has the `space` attribute set, IAM permissions are checked differently . To learn more, read the [Apigee Spaces Overview](https://cloud.google.com/apigee/docs/api-platform/system-administration/spaces/apigee-spaces-overview).", +"location": "path", +"pattern": "^organizations/[^/]+/environments/[^/]+/sharedflows/[^/]+/revisions/[^/]+$", +"required": true, +"type": "string" +}, +"override": { +"description": "Flag that specifies whether the new deployment replaces other deployed revisions of the shared flow in the environment. Set `override` to `true` to replace other deployed revisions. By default, `override` is `false` and the deployment is rejected if other revisions of the shared flow are deployed in the environment.", +"location": "query", +"type": "boolean" +}, +"serviceAccount": { +"description": "Google Cloud IAM service account. The service account represents the identity of the deployed proxy, and determines what permissions it has. The format must be `{ACCOUNT_ID}@{PROJECT}.iam.gserviceaccount.com`.", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}/deployments", +"response": { +"$ref": "GoogleCloudApigeeV1Deployment" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"getDeployments": { +"description": "Gets the deployment of a shared flow revision and actual state reported by runtime pods.", +"flatPath": "v1/organizations/{organizationsId}/environments/{environmentsId}/sharedflows/{sharedflowsId}/revisions/{revisionsId}/deployments", +"httpMethod": "GET", +"id": "apigee.organizations.environments.sharedflows.revisions.getDeployments", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name representing a shared flow in an environment in the following format: `organizations/{org}/environments/{env}/sharedflows/{sharedflow}/revisions/{rev}` If the shared flow resource has the `space` attribute set, IAM permissions are checked differently . To learn more, read the [Apigee Spaces Overview](https://cloud.google.com/apigee/docs/api-platform/system-administration/spaces/apigee-spaces-overview).", +"location": "path", +"pattern": "^organizations/[^/]+/environments/[^/]+/sharedflows/[^/]+/revisions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}/deployments", +"response": { +"$ref": "GoogleCloudApigeeV1Deployment" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"undeploy": { +"description": "Undeploys a shared flow revision from an environment. For a request path `organizations/{org}/environments/{env}/sharedflows/{sf}/revisions/{rev}/deployments`, two permissions are required: * `apigee.deployments.delete` on the resource `organizations/{org}/environments/{env}` * `apigee.sharedflowrevisions.undeploy` on the resource `organizations/{org}/sharedflows/{sf}/revisions/{rev}`", +"flatPath": "v1/organizations/{organizationsId}/environments/{environmentsId}/sharedflows/{sharedflowsId}/revisions/{revisionsId}/deployments", +"httpMethod": "DELETE", +"id": "apigee.organizations.environments.sharedflows.revisions.undeploy", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of the shared flow revision to undeploy in the following format: `organizations/{org}/environments/{env}/sharedflows/{sharedflow}/revisions/{rev}` If the shared flow resource has the `space` attribute set, IAM permissions are checked differently . To learn more, read the [Apigee Spaces Overview](https://cloud.google.com/apigee/docs/api-platform/system-administration/spaces/apigee-spaces-overview).", +"location": "path", +"pattern": "^organizations/[^/]+/environments/[^/]+/sharedflows/[^/]+/revisions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}/deployments", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +}, +"stats": { +"methods": { +"get": { +"description": "Retrieve metrics grouped by dimensions. The types of metrics you can retrieve include traffic, message counts, API call latency, response size, and cache hits and counts. Dimensions let you view metrics in meaningful groups. You can optionally pass dimensions as path parameters to the `stats` API. If dimensions are not specified, the metrics are computed on the entire set of data for the given time range.", +"flatPath": "v1/organizations/{organizationsId}/environments/{environmentsId}/stats/{statsId}", +"httpMethod": "GET", +"id": "apigee.organizations.environments.stats.get", +"parameterOrder": [ +"name" +], +"parameters": { +"accuracy": { +"description": "No longer used by Apigee. Supported for backwards compatibility.", +"location": "query", +"type": "string" +}, +"aggTable": { +"description": "Table name used to query custom aggregate tables. If this parameter is skipped, then Apigee will try to retrieve the data from fact tables which will be expensive.", +"location": "query", +"type": "string" +}, +"filter": { +"description": "Filter that enables you to drill down on specific dimension values.", +"location": "query", +"type": "string" +}, +"limit": { +"description": "Maximum number of result items to return.", +"location": "query", +"type": "string" +}, +"name": { +"description": "Required. Resource name for which the interactive query will be executed. Use the following format in your request: `organizations/{org}/environments/{env}/stats/{dimensions}` Dimensions let you view metrics in meaningful groupings, such as `apiproxy` or `target_host`. The value of dimensions should be a comma-separated list, as shown below: `organizations/{org}/environments/{env}/stats/apiproxy,request_verb`", +"location": "path", +"pattern": "^organizations/[^/]+/environments/[^/]+/stats/.*$", +"required": true, +"type": "string" +}, +"offset": { +"description": "Offset value. Use `offset` with `limit` to enable pagination of results. For example, to display results 11-20, set limit to `10` and offset to `10`.", +"location": "query", +"type": "string" +}, +"realtime": { +"description": "No longer used by Apigee. Supported for backwards compatibility.", +"location": "query", +"type": "boolean" +}, +"select": { +"description": "Comma-separated list of metrics. For example: `sum(message_count),sum(error_count)`", +"location": "query", +"type": "string" +}, +"sonar": { +"description": "Routes the query to API Monitoring for the last hour.", +"location": "query", +"type": "boolean" +}, +"sort": { +"description": "Flag that specifies whether the sort order should be ascending or descending. Valid values include: `DESC` and `ASC`.", +"location": "query", +"type": "string" +}, +"sortby": { +"description": "Comma-separated list of metrics to sort the final result.", +"location": "query", +"type": "string" +}, +"timeRange": { +"description": "Time interval for the interactive query. Time range is specified in GMT as `start~end`. For example: `04/15/2017 00:00~05/15/2017 23:59`", +"location": "query", +"type": "string" +}, +"timeUnit": { +"description": "Granularity of metrics returned. Valid values include: `second`, `minute`, `hour`, `day`, `week`, or` month`.", +"location": "query", +"type": "string" +}, +"topk": { +"description": "Top number of results to return. For example, to return the top 5 results, set `topk=5`.", +"location": "query", +"type": "string" +}, +"tsAscending": { +"description": "Flag that specifies whether to list timestamps in ascending (`true`) or descending (`false`) order. Apigee recommends that you set this value to `true` if you are using `sortby` with `sort=DESC`.", +"location": "query", +"type": "boolean" +}, +"tzo": { +"description": "Timezone offset value.", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleCloudApigeeV1Stats" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"targetservers": { +"methods": { +"create": { +"description": "Creates a TargetServer in the specified environment.", +"flatPath": "v1/organizations/{organizationsId}/environments/{environmentsId}/targetservers", +"httpMethod": "POST", +"id": "apigee.organizations.environments.targetservers.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"name": { +"description": "Optional. The ID to give the TargetServer. This will overwrite the value in TargetServer.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent environment name under which the TargetServer will be created. Must be of the form `organizations/{org}/environments/{env}`.", +"location": "path", +"pattern": "^organizations/[^/]+/environments/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/targetservers", +"request": { +"$ref": "GoogleCloudApigeeV1TargetServer" +}, +"response": { +"$ref": "GoogleCloudApigeeV1TargetServer" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a TargetServer from an environment. Returns the deleted TargetServer resource.", +"flatPath": "v1/organizations/{organizationsId}/environments/{environmentsId}/targetservers/{targetserversId}", +"httpMethod": "DELETE", +"id": "apigee.organizations.environments.targetservers.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the TargetServer to delete. Must be of the form `organizations/{org}/environments/{env}/targetservers/{target_server_id}`.", +"location": "path", +"pattern": "^organizations/[^/]+/environments/[^/]+/targetservers/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleCloudApigeeV1TargetServer" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets a TargetServer resource.", +"flatPath": "v1/organizations/{organizationsId}/environments/{environmentsId}/targetservers/{targetserversId}", +"httpMethod": "GET", +"id": "apigee.organizations.environments.targetservers.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the TargetServer to get. Must be of the form `organizations/{org}/environments/{env}/targetservers/{target_server_id}`.", +"location": "path", +"pattern": "^organizations/[^/]+/environments/[^/]+/targetservers/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleCloudApigeeV1TargetServer" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"update": { +"description": "Updates an existing TargetServer. Note that this operation has PUT semantics; it will replace the entirety of the existing TargetServer with the resource in the request body.", +"flatPath": "v1/organizations/{organizationsId}/environments/{environmentsId}/targetservers/{targetserversId}", +"httpMethod": "PUT", +"id": "apigee.organizations.environments.targetservers.update", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the TargetServer to replace. Must be of the form `organizations/{org}/environments/{env}/targetservers/{target_server_id}`.", +"location": "path", +"pattern": "^organizations/[^/]+/environments/[^/]+/targetservers/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "GoogleCloudApigeeV1TargetServer" +}, +"response": { +"$ref": "GoogleCloudApigeeV1TargetServer" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"traceConfig": { +"resources": { +"overrides": { +"methods": { +"create": { +"description": "Creates a trace configuration override. The response contains a system-generated UUID, that can be used to view, update, or delete the configuration override. Use the List API to view the existing trace configuration overrides.", +"flatPath": "v1/organizations/{organizationsId}/environments/{environmentsId}/traceConfig/overrides", +"httpMethod": "POST", +"id": "apigee.organizations.environments.traceConfig.overrides.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. Parent resource of the trace configuration override. Use the following structure in your request. \"organizations/*/environments/*/traceConfig\".", +"location": "path", +"pattern": "^organizations/[^/]+/environments/[^/]+/traceConfig$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/overrides", +"request": { +"$ref": "GoogleCloudApigeeV1TraceConfigOverride" +}, +"response": { +"$ref": "GoogleCloudApigeeV1TraceConfigOverride" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a distributed trace configuration override.", +"flatPath": "v1/organizations/{organizationsId}/environments/{environmentsId}/traceConfig/overrides/{overridesId}", +"httpMethod": "DELETE", +"id": "apigee.organizations.environments.traceConfig.overrides.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of the trace configuration override. Use the following structure in your request: \"organizations/*/environments/*/traceConfig/overrides/*\".", +"location": "path", +"pattern": "^organizations/[^/]+/environments/[^/]+/traceConfig/overrides/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets a trace configuration override.", +"flatPath": "v1/organizations/{organizationsId}/environments/{environmentsId}/traceConfig/overrides/{overridesId}", +"httpMethod": "GET", +"id": "apigee.organizations.environments.traceConfig.overrides.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of the trace configuration override. Use the following structure in your request: \"organizations/*/environments/*/traceConfig/overrides/*\".", +"location": "path", +"pattern": "^organizations/[^/]+/environments/[^/]+/traceConfig/overrides/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleCloudApigeeV1TraceConfigOverride" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists all of the distributed trace configuration overrides in an environment.", +"flatPath": "v1/organizations/{organizationsId}/environments/{environmentsId}/traceConfig/overrides", +"httpMethod": "GET", +"id": "apigee.organizations.environments.traceConfig.overrides.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "Maximum number of trace configuration overrides to return. If not specified, the maximum number returned is 25. The maximum number cannot exceed 100.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A page token, returned from a previous `ListTraceConfigOverrides` call. Token value that can be used to retrieve the subsequent page. When paginating, all other parameters provided to `ListTraceConfigOverrides` must match those specified in the call to obtain the page token.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. Parent resource of the trace configuration override. Use the following structure in your request: \"organizations/*/environments/*/traceConfig\".", +"location": "path", +"pattern": "^organizations/[^/]+/environments/[^/]+/traceConfig$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/overrides", +"response": { +"$ref": "GoogleCloudApigeeV1ListTraceConfigOverridesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates a distributed trace configuration override. Note that the repeated fields have replace semantics when included in the field mask and that they will be overwritten by the value of the fields in the request body.", +"flatPath": "v1/organizations/{organizationsId}/environments/{environmentsId}/traceConfig/overrides/{overridesId}", +"httpMethod": "PATCH", +"id": "apigee.organizations.environments.traceConfig.overrides.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of the trace configuration override. Use the following structure in your request: \"organizations/*/environments/*/traceConfig/overrides/*\".", +"location": "path", +"pattern": "^organizations/[^/]+/environments/[^/]+/traceConfig/overrides/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "List of fields to be updated.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "GoogleCloudApigeeV1TraceConfigOverride" +}, +"response": { +"$ref": "GoogleCloudApigeeV1TraceConfigOverride" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +} +} +}, +"hostQueries": { +"methods": { +"create": { +"description": "Submit a query at host level to be processed in the background. If the submission of the query succeeds, the API returns a 201 status and an ID that refer to the query. In addition to the HTTP status 201, the `state` of \"enqueued\" means that the request succeeded.", +"flatPath": "v1/organizations/{organizationsId}/hostQueries", +"httpMethod": "POST", +"id": "apigee.organizations.hostQueries.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The parent resource name. Must be of the form `organizations/{org}`.", +"location": "path", +"pattern": "^organizations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/hostQueries", +"request": { +"$ref": "GoogleCloudApigeeV1Query" +}, +"response": { +"$ref": "GoogleCloudApigeeV1AsyncQuery" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Get status of a query submitted at host level. If the query is still in progress, the `state` is set to \"running\" After the query has completed successfully, `state` is set to \"completed\"", +"flatPath": "v1/organizations/{organizationsId}/hostQueries/{hostQueriesId}", +"httpMethod": "GET", +"id": "apigee.organizations.hostQueries.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of the asynchronous query to get. Must be of the form `organizations/{org}/queries/{queryId}`.", +"location": "path", +"pattern": "^organizations/[^/]+/hostQueries/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleCloudApigeeV1AsyncQuery" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"getResult": { +"description": "After the query is completed, use this API to retrieve the results. If the request succeeds, and there is a non-zero result set, the result is downloaded to the client as a zipped JSON file. The name of the downloaded file will be: OfflineQueryResult-.zip Example: `OfflineQueryResult-9cfc0d85-0f30-46d6-ae6f-318d0cb961bd.zip`", +"flatPath": "v1/organizations/{organizationsId}/hostQueries/{hostQueriesId}/result", +"httpMethod": "GET", +"id": "apigee.organizations.hostQueries.getResult", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of the asynchronous query result to get. Must be of the form `organizations/{org}/queries/{queryId}/result`.", +"location": "path", +"pattern": "^organizations/[^/]+/hostQueries/[^/]+/result$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleApiHttpBody" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"getResultView": { +"description": "", +"flatPath": "v1/organizations/{organizationsId}/hostQueries/{hostQueriesId}/resultView", +"httpMethod": "GET", +"id": "apigee.organizations.hostQueries.getResultView", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of the asynchronous query result view to get. Must be of the form `organizations/{org}/queries/{queryId}/resultView`.", +"location": "path", +"pattern": "^organizations/[^/]+/hostQueries/[^/]+/resultView$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleCloudApigeeV1AsyncQueryResultView" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Return a list of Asynchronous Queries at host level.", +"flatPath": "v1/organizations/{organizationsId}/hostQueries", +"httpMethod": "GET", +"id": "apigee.organizations.hostQueries.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"dataset": { +"description": "Filter response list by dataset. Example: `api`, `mint`", +"location": "query", +"type": "string" +}, +"envgroupHostname": { +"description": "Required. Filter response list by hostname.", +"location": "query", +"type": "string" +}, +"from": { +"description": "Filter response list by returning asynchronous queries that created after this date time. Time must be in ISO date-time format like '2011-12-03T10:15:30Z'.", +"location": "query", +"type": "string" +}, +"inclQueriesWithoutReport": { +"description": "Flag to include asynchronous queries that don't have a report denifition.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent resource name. Must be of the form `organizations/{org}`.", +"location": "path", +"pattern": "^organizations/[^/]+$", +"required": true, +"type": "string" +}, +"status": { +"description": "Filter response list by asynchronous query status.", +"location": "query", +"type": "string" +}, +"submittedBy": { +"description": "Filter response list by user who submitted queries.", +"location": "query", +"type": "string" +}, +"to": { +"description": "Filter response list by returning asynchronous queries that created before this date time. Time must be in ISO date-time format like '2011-12-03T10:16:30Z'.", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+parent}/hostQueries", +"response": { +"$ref": "GoogleCloudApigeeV1ListAsyncQueriesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"hostSecurityReports": { +"methods": { +"create": { +"description": "Submit a query at host level to be processed in the background. If the submission of the query succeeds, the API returns a 201 status and an ID that refer to the query. In addition to the HTTP status 201, the `state` of \"enqueued\" means that the request succeeded.", +"flatPath": "v1/organizations/{organizationsId}/hostSecurityReports", +"httpMethod": "POST", +"id": "apigee.organizations.hostSecurityReports.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The parent resource name. Must be of the form `organizations/{org}`.", +"location": "path", +"pattern": "^organizations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/hostSecurityReports", +"request": { +"$ref": "GoogleCloudApigeeV1SecurityReportQuery" +}, +"response": { +"$ref": "GoogleCloudApigeeV1SecurityReport" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Get status of a query submitted at host level. If the query is still in progress, the `state` is set to \"running\" After the query has completed successfully, `state` is set to \"completed\"", +"flatPath": "v1/organizations/{organizationsId}/hostSecurityReports/{hostSecurityReportsId}", +"httpMethod": "GET", +"id": "apigee.organizations.hostSecurityReports.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of the security report to get. Must be of the form `organizations/{org}/securityReports/{reportId}`.", +"location": "path", +"pattern": "^organizations/[^/]+/hostSecurityReports/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleCloudApigeeV1SecurityReport" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"getResult": { +"description": "After the query is completed, use this API to retrieve the results. If the request succeeds, and there is a non-zero result set, the result is downloaded to the client as a zipped JSON file. The name of the downloaded file will be: OfflineQueryResult-.zip Example: `OfflineQueryResult-9cfc0d85-0f30-46d6-ae6f-318d0cb961bd.zip`", +"flatPath": "v1/organizations/{organizationsId}/hostSecurityReports/{hostSecurityReportsId}/result", +"httpMethod": "GET", +"id": "apigee.organizations.hostSecurityReports.getResult", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of the security report result to get. Must be of the form `organizations/{org}/securityReports/{reportId}/result`.", +"location": "path", +"pattern": "^organizations/[^/]+/hostSecurityReports/[^/]+/result$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleApiHttpBody" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"getResultView": { +"description": "After the query is completed, use this API to view the query result when result size is small.", +"flatPath": "v1/organizations/{organizationsId}/hostSecurityReports/{hostSecurityReportsId}/resultView", +"httpMethod": "GET", +"id": "apigee.organizations.hostSecurityReports.getResultView", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of the security report result view to get. Must be of the form `organizations/{org}/securityReports/{reportId}/resultView`.", +"location": "path", +"pattern": "^organizations/[^/]+/hostSecurityReports/[^/]+/resultView$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleCloudApigeeV1SecurityReportResultView" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Return a list of Security Reports at host level.", +"flatPath": "v1/organizations/{organizationsId}/hostSecurityReports", +"httpMethod": "GET", +"id": "apigee.organizations.hostSecurityReports.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"dataset": { +"description": "Filter response list by dataset. Example: `api`, `mint`", +"location": "query", +"type": "string" +}, +"envgroupHostname": { +"description": "Required. Filter response list by hostname.", +"location": "query", +"type": "string" +}, +"from": { +"description": "Filter response list by returning security reports that created after this date time. Time must be in ISO date-time format like '2011-12-03T10:15:30Z'.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "The maximum number of security report to return in the list response.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Token returned from the previous list response to fetch the next page.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent resource name. Must be of the form `organizations/{org}`.", +"location": "path", +"pattern": "^organizations/[^/]+$", +"required": true, +"type": "string" +}, +"status": { +"description": "Filter response list by security report status.", +"location": "query", +"type": "string" +}, +"submittedBy": { +"description": "Filter response list by user who submitted queries.", +"location": "query", +"type": "string" +}, +"to": { +"description": "Filter response list by returning security reports that created before this date time. Time must be in ISO date-time format like '2011-12-03T10:16:30Z'.", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+parent}/hostSecurityReports", +"response": { +"$ref": "GoogleCloudApigeeV1ListSecurityReportsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"hostStats": { +"methods": { +"get": { +"description": "Retrieve metrics grouped by dimensions in host level. The types of metrics you can retrieve include traffic, message counts, API call latency, response size, and cache hits and counts. Dimensions let you view metrics in meaningful groups. You can optionally pass dimensions as path parameters to the `stats` API. If dimensions are not specified, the metrics are computed on the entire set of data for the given time range.", +"flatPath": "v1/organizations/{organizationsId}/hostStats/{hostStatsId}", +"httpMethod": "GET", +"id": "apigee.organizations.hostStats.get", +"parameterOrder": [ +"name" +], +"parameters": { +"accuracy": { +"description": "No longer used by Apigee. Supported for backwards compatibility.", +"location": "query", +"type": "string" +}, +"envgroupHostname": { +"description": "Required. Hostname for which the interactive query will be executed.", +"location": "query", +"type": "string" +}, +"filter": { +"description": "Flag that enables drill-down on specific dimension values.", +"location": "query", +"type": "string" +}, +"limit": { +"description": "Maximum number of result items to return.", +"location": "query", +"type": "string" +}, +"name": { +"description": "Required. Resource name for which the interactive query will be executed. Use the following format in your request: `organizations/{org}/hostStats/{dimensions}` Dimensions let you view metrics in meaningful groupings, such as `apiproxy`, `target_host`. The value of dimensions should be a comma-separated list as shown below `organizations/{org}/hostStats/apiproxy,request_verb`", +"location": "path", +"pattern": "^organizations/[^/]+/hostStats/.*$", +"required": true, +"type": "string" +}, +"offset": { +"description": "Offset value. Use `offset` with `limit` to enable pagination of results. For example, to display results 11-20, set limit to `10` and offset to `10`.", +"location": "query", +"type": "string" +}, +"realtime": { +"description": "No longer used by Apigee. Supported for backwards compatibility.", +"location": "query", +"type": "boolean" +}, +"select": { +"description": "Comma-separated list of metrics. For example: `sum(message_count),sum(error_count)`", +"location": "query", +"type": "string" +}, +"sort": { +"description": "Flag that specifies if the sort order should be ascending or descending. Valid values are `DESC` and `ASC`.", +"location": "query", +"type": "string" +}, +"sortby": { +"description": "Comma-separated list of metrics to sort the final result.", +"location": "query", +"type": "string" +}, +"timeRange": { +"description": "Time interval for the interactive query. Time range is specified in GMT as `start~end`. For example: `04/15/2017 00:00~05/15/2017 23:59`", +"location": "query", +"type": "string" +}, +"timeUnit": { +"description": "Granularity of metrics returned. Valid values include: `second`, `minute`, `hour`, `day`, `week`, or `month`.", +"location": "query", +"type": "string" +}, +"topk": { +"description": "Top number of results to return. For example, to return the top 5 results, set `topk=5`.", +"location": "query", +"type": "string" +}, +"tsAscending": { +"description": "Flag that specifies whether to list timestamps in ascending (`true`) or descending (`false`) order. Apigee recommends that you set this value to `true` if you are using `sortby` with `sort=DESC`.", +"location": "query", +"type": "boolean" +}, +"tzo": { +"description": "Timezone offset value.", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleCloudApigeeV1Stats" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"instances": { +"methods": { +"create": { +"description": "Creates an Apigee runtime instance. The instance is accessible from the authorized network configured on the organization. **Note:** Not supported for Apigee hybrid.", +"flatPath": "v1/organizations/{organizationsId}/instances", +"httpMethod": "POST", +"id": "apigee.organizations.instances.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. Name of the organization. Use the following structure in your request: `organizations/{org}`.", +"location": "path", +"pattern": "^organizations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/instances", +"request": { +"$ref": "GoogleCloudApigeeV1Instance" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes an Apigee runtime instance. The instance stops serving requests and the runtime data is deleted. **Note:** Not supported for Apigee hybrid.", +"flatPath": "v1/organizations/{organizationsId}/instances/{instancesId}", +"httpMethod": "DELETE", +"id": "apigee.organizations.instances.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of the instance. Use the following structure in your request: `organizations/{org}/instances/{instance}`.", +"location": "path", +"pattern": "^organizations/[^/]+/instances/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets the details for an Apigee runtime instance. **Note:** Not supported for Apigee hybrid.", +"flatPath": "v1/organizations/{organizationsId}/instances/{instancesId}", +"httpMethod": "GET", +"id": "apigee.organizations.instances.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of the instance. Use the following structure in your request: `organizations/{org}/instances/{instance}`.", +"location": "path", +"pattern": "^organizations/[^/]+/instances/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleCloudApigeeV1Instance" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists all Apigee runtime instances for the organization. **Note:** Not supported for Apigee hybrid.", +"flatPath": "v1/organizations/{organizationsId}/instances", +"httpMethod": "GET", +"id": "apigee.organizations.instances.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "Maximum number of instances to return. Defaults to 25.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Page token, returned from a previous ListInstances call, that you can use to retrieve the next page of content.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. Name of the organization. Use the following structure in your request: `organizations/{org}`.", +"location": "path", +"pattern": "^organizations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/instances", +"response": { +"$ref": "GoogleCloudApigeeV1ListInstancesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates an Apigee runtime instance. You can update the fields described in NodeConfig. No other fields will be updated. **Note:** Not supported for Apigee hybrid.", +"flatPath": "v1/organizations/{organizationsId}/instances/{instancesId}", +"httpMethod": "PATCH", +"id": "apigee.organizations.instances.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of the instance. Use the following structure in your request: `organizations/{org}/instances/{instance}`.", +"location": "path", +"pattern": "^organizations/[^/]+/instances/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "List of fields to be updated.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "GoogleCloudApigeeV1Instance" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"reportStatus": { +"description": "Reports the latest status for a runtime instance.", +"flatPath": "v1/organizations/{organizationsId}/instances/{instancesId}:reportStatus", +"httpMethod": "POST", +"id": "apigee.organizations.instances.reportStatus", +"parameterOrder": [ +"instance" +], +"parameters": { +"instance": { +"description": "The name of the instance reporting this status. For SaaS the request will be rejected if no instance exists under this name. Format is organizations/{org}/instances/{instance}", +"location": "path", +"pattern": "^organizations/[^/]+/instances/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+instance}:reportStatus", +"request": { +"$ref": "GoogleCloudApigeeV1ReportInstanceStatusRequest" +}, +"response": { +"$ref": "GoogleCloudApigeeV1ReportInstanceStatusResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"attachments": { +"methods": { +"create": { +"description": "Creates a new attachment of an environment to an instance. **Note:** Not supported for Apigee hybrid.", +"flatPath": "v1/organizations/{organizationsId}/instances/{instancesId}/attachments", +"httpMethod": "POST", +"id": "apigee.organizations.instances.attachments.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. Name of the instance. Use the following structure in your request: `organizations/{org}/instances/{instance}`.", +"location": "path", +"pattern": "^organizations/[^/]+/instances/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/attachments", +"request": { +"$ref": "GoogleCloudApigeeV1InstanceAttachment" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes an attachment. **Note:** Not supported for Apigee hybrid.", +"flatPath": "v1/organizations/{organizationsId}/instances/{instancesId}/attachments/{attachmentsId}", +"httpMethod": "DELETE", +"id": "apigee.organizations.instances.attachments.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of the attachment. Use the following structure in your request: `organizations/{org}/instances/{instance}/attachments/{attachment}`.", +"location": "path", +"pattern": "^organizations/[^/]+/instances/[^/]+/attachments/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets an attachment. **Note:** Not supported for Apigee hybrid.", +"flatPath": "v1/organizations/{organizationsId}/instances/{instancesId}/attachments/{attachmentsId}", +"httpMethod": "GET", +"id": "apigee.organizations.instances.attachments.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of the attachment. Use the following structure in your request: `organizations/{org}/instances/{instance}/attachments/{attachment}`", +"location": "path", +"pattern": "^organizations/[^/]+/instances/[^/]+/attachments/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleCloudApigeeV1InstanceAttachment" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists all attachments to an instance. **Note:** Not supported for Apigee hybrid.", +"flatPath": "v1/organizations/{organizationsId}/instances/{instancesId}/attachments", +"httpMethod": "GET", +"id": "apigee.organizations.instances.attachments.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "Maximum number of instance attachments to return. Defaults to 25.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Page token, returned by a previous ListInstanceAttachments call, that you can use to retrieve the next page of content.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. Name of the organization. Use the following structure in your request: `organizations/{org}/instances/{instance}`", +"location": "path", +"pattern": "^organizations/[^/]+/instances/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/attachments", +"response": { +"$ref": "GoogleCloudApigeeV1ListInstanceAttachmentsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"canaryevaluations": { +"methods": { +"create": { +"description": "Creates a new canary evaluation for an organization.", +"flatPath": "v1/organizations/{organizationsId}/instances/{instancesId}/canaryevaluations", +"httpMethod": "POST", +"id": "apigee.organizations.instances.canaryevaluations.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. Name of the organization. Use the following structure in your request: `organizations/{org}/instances/{instance}`.", +"location": "path", +"pattern": "^organizations/[^/]+/instances/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/canaryevaluations", +"request": { +"$ref": "GoogleCloudApigeeV1CanaryEvaluation" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets a CanaryEvaluation for an organization.", +"flatPath": "v1/organizations/{organizationsId}/instances/{instancesId}/canaryevaluations/{canaryevaluationsId}", +"httpMethod": "GET", +"id": "apigee.organizations.instances.canaryevaluations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of the CanaryEvaluation. Use the following structure in your request: `organizations/{org}/instances/*/canaryevaluations/{evaluation}`", +"location": "path", +"pattern": "^organizations/[^/]+/instances/[^/]+/canaryevaluations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleCloudApigeeV1CanaryEvaluation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"natAddresses": { +"methods": { +"activate": { +"description": "Activates the NAT address. The Apigee instance can now use this for Internet egress traffic. **Note:** Not supported for Apigee hybrid.", +"flatPath": "v1/organizations/{organizationsId}/instances/{instancesId}/natAddresses/{natAddressesId}:activate", +"httpMethod": "POST", +"id": "apigee.organizations.instances.natAddresses.activate", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of the nat address. Use the following structure in your request: `organizations/{org}/instances/{instances}/natAddresses/{nataddress}``", +"location": "path", +"pattern": "^organizations/[^/]+/instances/[^/]+/natAddresses/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:activate", +"request": { +"$ref": "GoogleCloudApigeeV1ActivateNatAddressRequest" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"create": { +"description": "Creates a NAT address. The address is created in the RESERVED state and a static external IP address will be provisioned. At this time, the instance will not use this IP address for Internet egress traffic. The address can be activated for use once any required firewall IP whitelisting has been completed. **Note:** Not supported for Apigee hybrid.", +"flatPath": "v1/organizations/{organizationsId}/instances/{instancesId}/natAddresses", +"httpMethod": "POST", +"id": "apigee.organizations.instances.natAddresses.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. Name of the instance. Use the following structure in your request: `organizations/{org}/instances/{instance}`", +"location": "path", +"pattern": "^organizations/[^/]+/instances/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/natAddresses", +"request": { +"$ref": "GoogleCloudApigeeV1NatAddress" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes the NAT address. Connections that are actively using the address are drained before it is removed. **Note:** Not supported for Apigee hybrid.", +"flatPath": "v1/organizations/{organizationsId}/instances/{instancesId}/natAddresses/{natAddressesId}", +"httpMethod": "DELETE", +"id": "apigee.organizations.instances.natAddresses.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of the nat address. Use the following structure in your request: `organizations/{org}/instances/{instances}/natAddresses/{nataddress}``", +"location": "path", +"pattern": "^organizations/[^/]+/instances/[^/]+/natAddresses/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets the details of a NAT address. **Note:** Not supported for Apigee hybrid.", +"flatPath": "v1/organizations/{organizationsId}/instances/{instancesId}/natAddresses/{natAddressesId}", +"httpMethod": "GET", +"id": "apigee.organizations.instances.natAddresses.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of the nat address. Use the following structure in your request: `organizations/{org}/instances/{instances}/natAddresses/{nataddress}`", +"location": "path", +"pattern": "^organizations/[^/]+/instances/[^/]+/natAddresses/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleCloudApigeeV1NatAddress" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists the NAT addresses for an Apigee instance. **Note:** Not supported for Apigee hybrid.", +"flatPath": "v1/organizations/{organizationsId}/instances/{instancesId}/natAddresses", +"httpMethod": "GET", +"id": "apigee.organizations.instances.natAddresses.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "Maximum number of natAddresses to return. Defaults to 25.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Page token, returned from a previous ListNatAddresses call, that you can use to retrieve the next page of content.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. Name of the instance. Use the following structure in your request: `organizations/{org}/instances/{instance}`", +"location": "path", +"pattern": "^organizations/[^/]+/instances/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/natAddresses", +"response": { +"$ref": "GoogleCloudApigeeV1ListNatAddressesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +}, +"keyvaluemaps": { +"methods": { +"create": { +"description": "Creates a key value map in an organization.", +"flatPath": "v1/organizations/{organizationsId}/keyvaluemaps", +"httpMethod": "POST", +"id": "apigee.organizations.keyvaluemaps.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. Name of the organization in which to create the key value map file. Use the following structure in your request: `organizations/{org}`", +"location": "path", +"pattern": "^organizations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/keyvaluemaps", +"request": { +"$ref": "GoogleCloudApigeeV1KeyValueMap" +}, +"response": { +"$ref": "GoogleCloudApigeeV1KeyValueMap" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a key value map from an organization.", +"flatPath": "v1/organizations/{organizationsId}/keyvaluemaps/{keyvaluemapsId}", +"httpMethod": "DELETE", +"id": "apigee.organizations.keyvaluemaps.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of the key value map. Use the following structure in your request: `organizations/{org}/keyvaluemaps/{keyvaluemap}`", +"location": "path", +"pattern": "^organizations/[^/]+/keyvaluemaps/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleCloudApigeeV1KeyValueMap" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Get the key value map scoped to an organization, environment, or API proxy.", +"flatPath": "v1/organizations/{organizationsId}/keyvaluemaps/{keyvaluemapsId}", +"httpMethod": "GET", +"id": "apigee.organizations.keyvaluemaps.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Scope as indicated by the URI in which to fetch the key value map. Use **one** of the following structures in your request: * `organizations/{organization}/apis/{api}/keyvaluemaps/{keyvaluemap}`. * `organizations/{organization}/environments/{environment}/keyvaluemaps/{keyvaluemap}` * `organizations/{organization}/keyvaluemaps/{keyvaluemap}`. If the KeyValueMap is under an API Proxy resource that has the `space` attribute set, IAM permissions are checked against the Space resource path. To learn more, read the [Apigee Spaces Overview](https://cloud.google.com/apigee/docs/api-platform/system-administration/spaces/apigee-spaces-overview).", +"location": "path", +"pattern": "^organizations/[^/]+/keyvaluemaps/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleCloudApigeeV1KeyValueMap" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"update": { +"description": "Update the key value map scoped to an organization, environment, or API proxy.", +"flatPath": "v1/organizations/{organizationsId}/keyvaluemaps/{keyvaluemapsId}", +"httpMethod": "PUT", +"id": "apigee.organizations.keyvaluemaps.update", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Scope as indicated by the URI in which to fetch the key value map. Use **one** of the following structures in your request: * `organizations/{organization}/apis/{api}/keyvaluemaps/{keyvaluemap}`. * `organizations/{organization}/environments/{environment}/keyvaluemaps/{keyvaluemap}` * `organizations/{organization}/keyvaluemaps/{keyvaluemap}`. If the KeyValueMap is under an API Proxy resource that has the `space` attribute set, IAM permissions are checked against the Space resource path. To learn more, read the [Apigee Spaces Overview](https://cloud.google.com/apigee/docs/api-platform/system-administration/spaces/apigee-spaces-overview).", +"location": "path", +"pattern": "^organizations/[^/]+/keyvaluemaps/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "GoogleCloudApigeeV1KeyValueMap" +}, +"response": { +"$ref": "GoogleCloudApigeeV1KeyValueMap" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"entries": { +"methods": { +"create": { +"description": "Creates key value entries in a key value map scoped to an organization, environment, or API proxy. **Note**: Supported for Apigee hybrid 1.8.x and higher.", +"flatPath": "v1/organizations/{organizationsId}/keyvaluemaps/{keyvaluemapsId}/entries", +"httpMethod": "POST", +"id": "apigee.organizations.keyvaluemaps.entries.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. Scope as indicated by the URI in which to create the key value map entry. Use **one** of the following structures in your request: * `organizations/{organization}/apis/{api}/keyvaluemaps/{keyvaluemap}`. * `organizations/{organization}/environments/{environment}/keyvaluemaps/{keyvaluemap}` * `organizations/{organization}/keyvaluemaps/{keyvaluemap}`. If the KeyValueMap is under an API Proxy resource that has the `space` attribute set, IAM permissions are checked against the Space resource path. To learn more, read the [Apigee Spaces Overview](https://cloud.google.com/apigee/docs/api-platform/system-administration/spaces/apigee-spaces-overview).", +"location": "path", +"pattern": "^organizations/[^/]+/keyvaluemaps/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/entries", +"request": { +"$ref": "GoogleCloudApigeeV1KeyValueEntry" +}, +"response": { +"$ref": "GoogleCloudApigeeV1KeyValueEntry" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a key value entry from a key value map scoped to an organization, environment, or API proxy. **Notes:** * After you delete the key value entry, the policy consuming the entry will continue to function with its cached values for a few minutes. This is expected behavior. * Supported for Apigee hybrid 1.8.x and higher.", +"flatPath": "v1/organizations/{organizationsId}/keyvaluemaps/{keyvaluemapsId}/entries/{entriesId}", +"httpMethod": "DELETE", +"id": "apigee.organizations.keyvaluemaps.entries.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Scope as indicated by the URI in which to delete the key value map entry. Use **one** of the following structures in your request: * `organizations/{organization}/apis/{api}/keyvaluemaps/{keyvaluemap}/entries/{entry}`. * `organizations/{organization}/environments/{environment}/keyvaluemaps/{keyvaluemap}/entries/{entry}` * `organizations/{organization}/keyvaluemaps/{keyvaluemap}/entries/{entry}`. If the KeyValueMap is under an API Proxy resource that has the `space` attribute set, IAM permissions are checked against the Space resource path. To learn more, read the [Apigee Spaces Overview](https://cloud.google.com/apigee/docs/api-platform/system-administration/spaces/apigee-spaces-overview).", +"location": "path", +"pattern": "^organizations/[^/]+/keyvaluemaps/[^/]+/entries/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleCloudApigeeV1KeyValueEntry" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Get the key value entry value for a key value map scoped to an organization, environment, or API proxy. **Note**: Supported for Apigee hybrid 1.8.x and higher.", +"flatPath": "v1/organizations/{organizationsId}/keyvaluemaps/{keyvaluemapsId}/entries/{entriesId}", +"httpMethod": "GET", +"id": "apigee.organizations.keyvaluemaps.entries.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Scope as indicated by the URI in which to fetch the key value map entry/value. Use **one** of the following structures in your request: * `organizations/{organization}/apis/{api}/keyvaluemaps/{keyvaluemap}/entries/{entry}`. * `organizations/{organization}/environments/{environment}/keyvaluemaps/{keyvaluemap}/entries/{entry}` * `organizations/{organization}/keyvaluemaps/{keyvaluemap}/entries/{entry}`. If the KeyValueMap is under an API Proxy resource that has the `space` attribute set, IAM permissions are checked against the Space resource path. To learn more, read the [Apigee Spaces Overview](https://cloud.google.com/apigee/docs/api-platform/system-administration/spaces/apigee-spaces-overview).", +"location": "path", +"pattern": "^organizations/[^/]+/keyvaluemaps/[^/]+/entries/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleCloudApigeeV1KeyValueEntry" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists key value entries for key values maps scoped to an organization, environment, or API proxy. **Note**: Supported for Apigee hybrid 1.8.x and higher.", +"flatPath": "v1/organizations/{organizationsId}/keyvaluemaps/{keyvaluemapsId}/entries", +"httpMethod": "GET", +"id": "apigee.organizations.keyvaluemaps.entries.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "Optional. Maximum number of key value entries to return. If unspecified, at most 100 entries will be returned.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. Page token. If provides, must be a valid key value entry returned from a previous call that can be used to retrieve the next page.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. Scope as indicated by the URI in which to list key value maps. Use **one** of the following structures in your request: * `organizations/{organization}/apis/{api}/keyvaluemaps/{keyvaluemap}`. * `organizations/{organization}/environments/{environment}/keyvaluemaps/{keyvaluemap}` * `organizations/{organization}/keyvaluemaps/{keyvaluemap}`. If the KeyValueMap is under an API Proxy resource that has the `space` attribute set, IAM permissions are checked against the Space resource path. To learn more, read the [Apigee Spaces Overview](https://cloud.google.com/apigee/docs/api-platform/system-administration/spaces/apigee-spaces-overview).", +"location": "path", +"pattern": "^organizations/[^/]+/keyvaluemaps/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/entries", +"response": { +"$ref": "GoogleCloudApigeeV1ListKeyValueEntriesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"update": { +"description": "Update key value entry scoped to an organization, environment, or API proxy for an existing key.", +"flatPath": "v1/organizations/{organizationsId}/keyvaluemaps/{keyvaluemapsId}/entries/{entriesId}", +"httpMethod": "PUT", +"id": "apigee.organizations.keyvaluemaps.entries.update", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Scope as indicated by the URI in which to create the key value map entry. Use **one** of the following structures in your request: * `organizations/{organization}/apis/{api}/keyvaluemaps/{keyvaluemap}`. * `organizations/{organization}/environments/{environment}/keyvaluemaps/{keyvaluemap}` * `organizations/{organization}/keyvaluemaps/{keyvaluemap}`. If the KeyValueMap is under an API Proxy resource that has the `space` attribute set, IAM permissions are checked against the Space resource path. To learn more, read the [Apigee Spaces Overview](https://cloud.google.com/apigee/docs/api-platform/system-administration/spaces/apigee-spaces-overview).", +"location": "path", +"pattern": "^organizations/[^/]+/keyvaluemaps/[^/]+/entries/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "GoogleCloudApigeeV1KeyValueEntry" +}, +"response": { +"$ref": "GoogleCloudApigeeV1KeyValueEntry" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +}, +"operations": { +"methods": { +"get": { +"description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", +"flatPath": "v1/organizations/{organizationsId}/operations/{operationsId}", +"httpMethod": "GET", +"id": "apigee.organizations.operations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource.", +"location": "path", +"pattern": "^organizations/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.", +"flatPath": "v1/organizations/{organizationsId}/operations", +"httpMethod": "GET", +"id": "apigee.organizations.operations.list", +"parameterOrder": [ +"name" +], +"parameters": { +"filter": { +"description": "The standard list filter.", +"location": "query", +"type": "string" +}, +"name": { +"description": "The name of the operation's parent resource.", +"location": "path", +"pattern": "^organizations/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The standard list page size.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The standard list page token.", +"location": "query", +"type": "string" +}, +"returnPartialSuccess": { +"description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `\"projects/example/locations/-\"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1/{+name}/operations", +"response": { +"$ref": "GoogleLongrunningListOperationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"optimizedHostStats": { +"methods": { +"get": { +"description": "Similar to GetHostStats except that the response is less verbose.", +"flatPath": "v1/organizations/{organizationsId}/optimizedHostStats/{optimizedHostStatsId}", +"httpMethod": "GET", +"id": "apigee.organizations.optimizedHostStats.get", +"parameterOrder": [ +"name" +], +"parameters": { +"accuracy": { +"description": "No longer used by Apigee. Supported for backwards compatibility.", +"location": "query", +"type": "string" +}, +"envgroupHostname": { +"description": "Required. Hostname for which the interactive query will be executed.", +"location": "query", +"type": "string" +}, +"filter": { +"description": "Filter that enables you to drill-down on specific dimension values.", +"location": "query", +"type": "string" +}, +"limit": { +"description": "Maximum number of result items to return.", +"location": "query", +"type": "string" +}, +"name": { +"description": "Required. Resource name for which the interactive query will be executed. Use the following format in your request: `organizations/{organization_id}/optimizedHostStats/{dimensions}` Dimensions let you view metrics in meaningful groupings, such as `apiproxy`, `target_host`. The value of dimensions should be a comma-separated list as shown below: `organizations/{org}/optimizedHostStats/apiproxy,request_verb`", +"location": "path", +"pattern": "^organizations/[^/]+/optimizedHostStats/.*$", +"required": true, +"type": "string" +}, +"offset": { +"description": "Offset value. Use `offset` with `limit` to enable pagination of results. For example, to display results 11-20, set limit to `10` and offset to `10`.", +"location": "query", +"type": "string" +}, +"realtime": { +"description": "No longer used by Apigee. Supported for backwards compatibility.", +"location": "query", +"type": "boolean" +}, +"select": { +"description": "Required. Comma-separated list of metrics. For example: `sum(message_count),sum(error_count)`", +"location": "query", +"type": "string" +}, +"sort": { +"description": "Flag that specifies whether the sort order should be ascending or descending. Valid values include `DESC` and `ASC`.", +"location": "query", +"type": "string" +}, +"sortby": { +"description": "Comma-separated list of metrics used to sort the final result.", +"location": "query", +"type": "string" +}, +"timeRange": { +"description": "Required. Time interval for the interactive query. Time range is specified in GMT as `start~end`. For example: `04/15/2017 00:00~05/15/2017 23:59`.", +"location": "query", +"type": "string" +}, +"timeUnit": { +"description": "Granularity of metrics returned. Valid values include: `second`, `minute`, `hour`, `day`, `week`, or `month`.", +"location": "query", +"type": "string" +}, +"topk": { +"description": "Top number of results to return. For example, to return the top 5 results, set `topk=5`.", +"location": "query", +"type": "string" +}, +"tsAscending": { +"description": "Flag that specifies whether to list timestamps in ascending (`true`) or descending (`false`) order. Apigee recommends that you set this value to `true` if you are using `sortby` with `sort=DESC`.", +"location": "query", +"type": "boolean" +}, +"tzo": { +"description": "Timezone offset value.", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleCloudApigeeV1OptimizedStats" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"reports": { +"methods": { +"create": { +"description": "Creates a Custom Report for an Organization. A Custom Report provides Apigee Customers to create custom dashboards in addition to the standard dashboards which are provided. The Custom Report in its simplest form contains specifications about metrics, dimensions and filters. It is important to note that the custom report by itself does not provide an executable entity. The Edge UI converts the custom report definition into an analytics query and displays the result in a chart.", +"flatPath": "v1/organizations/{organizationsId}/reports", +"httpMethod": "POST", +"id": "apigee.organizations.reports.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The parent organization name under which the Custom Report will be created. Must be of the form: `organizations/{organization_id}/reports`", +"location": "path", +"pattern": "^organizations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/reports", +"request": { +"$ref": "GoogleCloudApigeeV1CustomReport" +}, +"response": { +"$ref": "GoogleCloudApigeeV1CustomReport" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes an existing custom report definition", +"flatPath": "v1/organizations/{organizationsId}/reports/{reportsId}", +"httpMethod": "DELETE", +"id": "apigee.organizations.reports.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Custom Report name of the form: `organizations/{organization_id}/reports/{report_name}`", +"location": "path", +"pattern": "^organizations/[^/]+/reports/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleCloudApigeeV1DeleteCustomReportResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Retrieve a custom report definition.", +"flatPath": "v1/organizations/{organizationsId}/reports/{reportsId}", +"httpMethod": "GET", +"id": "apigee.organizations.reports.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Custom Report name of the form: `organizations/{organization_id}/reports/{report_name}`", +"location": "path", +"pattern": "^organizations/[^/]+/reports/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleCloudApigeeV1CustomReport" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Return a list of Custom Reports", +"flatPath": "v1/organizations/{organizationsId}/reports", +"httpMethod": "GET", +"id": "apigee.organizations.reports.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"expand": { +"description": "Set to 'true' to get expanded details about each custom report.", +"location": "query", +"type": "boolean" +}, +"parent": { +"description": "Required. The parent organization name under which the API product will be listed `organizations/{organization_id}/reports`", +"location": "path", +"pattern": "^organizations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/reports", +"response": { +"$ref": "GoogleCloudApigeeV1ListCustomReportsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"update": { +"description": "Update an existing custom report definition", +"flatPath": "v1/organizations/{organizationsId}/reports/{reportsId}", +"httpMethod": "PUT", +"id": "apigee.organizations.reports.update", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Custom Report name of the form: `organizations/{organization_id}/reports/{report_name}`", +"location": "path", +"pattern": "^organizations/[^/]+/reports/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "GoogleCloudApigeeV1CustomReport" +}, +"response": { +"$ref": "GoogleCloudApigeeV1CustomReport" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"securityAssessmentResults": { +"methods": { +"batchCompute": { +"description": "Compute RAV2 security scores for a set of resources.", +"flatPath": "v1/organizations/{organizationsId}/securityAssessmentResults:batchCompute", +"httpMethod": "POST", +"id": "apigee.organizations.securityAssessmentResults.batchCompute", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of the organization for which the score needs to be computed in the following format: `organizations/{org}/securityAssessmentResults`", +"location": "path", +"pattern": "^organizations/[^/]+/securityAssessmentResults$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:batchCompute", +"request": { +"$ref": "GoogleCloudApigeeV1BatchComputeSecurityAssessmentResultsRequest" +}, +"response": { +"$ref": "GoogleCloudApigeeV1BatchComputeSecurityAssessmentResultsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"securityFeedback": { +"methods": { +"create": { +"description": "Creates a new report containing customer feedback.", +"flatPath": "v1/organizations/{organizationsId}/securityFeedback", +"httpMethod": "POST", +"id": "apigee.organizations.securityFeedback.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. Name of the organization. Use the following structure in your request: `organizations/{org}`.", +"location": "path", +"pattern": "^organizations/[^/]+$", +"required": true, +"type": "string" +}, +"securityFeedbackId": { +"description": "Optional. The id for this feedback report. If not provided, it will be set to a system-generated UUID.", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+parent}/securityFeedback", +"request": { +"$ref": "GoogleCloudApigeeV1SecurityFeedback" +}, +"response": { +"$ref": "GoogleCloudApigeeV1SecurityFeedback" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a specific feedback report. Used for \"undo\" of a feedback submission.", +"flatPath": "v1/organizations/{organizationsId}/securityFeedback/{securityFeedbackId}", +"httpMethod": "DELETE", +"id": "apigee.organizations.securityFeedback.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of the SecurityFeedback to delete. Use the following structure in your request: `organizations/{org}/securityFeedback/{feedback_id}`", +"location": "path", +"pattern": "^organizations/[^/]+/securityFeedback/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets a specific customer feedback report.", +"flatPath": "v1/organizations/{organizationsId}/securityFeedback/{securityFeedbackId}", +"httpMethod": "GET", +"id": "apigee.organizations.securityFeedback.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of the SecurityFeedback. Format: `organizations/{org}/securityFeedback/{feedback_id}` Example: organizations/apigee-organization-name/securityFeedback/feedback-id", +"location": "path", +"pattern": "^organizations/[^/]+/securityFeedback/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleCloudApigeeV1SecurityFeedback" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists all feedback reports which have already been submitted.", +"flatPath": "v1/organizations/{organizationsId}/securityFeedback", +"httpMethod": "GET", +"id": "apigee.organizations.securityFeedback.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "Optional. The maximum number of feedback reports to return. The service may return fewer than this value. LINT.IfChange(documented_page_size_limits) If unspecified, at most 10 feedback reports will be returned. The maximum value is 100; values above 100 will be coerced to 100. LINT.ThenChange( //depot/google3/edge/sense/boq/service/v1/securityfeedback/securityfeedback_rpc.go:page_size_limits )", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. A page token, received from a previous `ListSecurityFeedback` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListSecurityFeedback` must match the call that provided the page token.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. Name of the organization. Format: `organizations/{org}`. Example: organizations/apigee-organization-name/securityFeedback", +"location": "path", +"pattern": "^organizations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/securityFeedback", +"response": { +"$ref": "GoogleCloudApigeeV1ListSecurityFeedbackResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates a specific feedback report.", +"flatPath": "v1/organizations/{organizationsId}/securityFeedback/{securityFeedbackId}", +"httpMethod": "PATCH", +"id": "apigee.organizations.securityFeedback.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Output only. Identifier. The feedback name is intended to be a system-generated uuid.", +"location": "path", +"pattern": "^organizations/[^/]+/securityFeedback/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Optional. The list of fields to update.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "GoogleCloudApigeeV1SecurityFeedback" +}, +"response": { +"$ref": "GoogleCloudApigeeV1SecurityFeedback" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"securityMonitoringConditions": { +"methods": { +"create": { +"description": "Create a security monitoring condition.", +"flatPath": "v1/organizations/{organizationsId}/securityMonitoringConditions", +"httpMethod": "POST", +"id": "apigee.organizations.securityMonitoringConditions.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The parent resource name. Format: `organizations/{org}`", +"location": "path", +"pattern": "^organizations/[^/]+$", +"required": true, +"type": "string" +}, +"securityMonitoringConditionId": { +"description": "Optional. Optional: The security monitoring condition id. If not specified, a monitoring condition uuid will be generated by the backend. This value should be 4-63 characters, and valid characters are /a-z-/.", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+parent}/securityMonitoringConditions", +"request": { +"$ref": "GoogleCloudApigeeV1SecurityMonitoringCondition" +}, +"response": { +"$ref": "GoogleCloudApigeeV1SecurityMonitoringCondition" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Delete a security monitoring condition.", +"flatPath": "v1/organizations/{organizationsId}/securityMonitoringConditions/{securityMonitoringConditionsId}", +"httpMethod": "DELETE", +"id": "apigee.organizations.securityMonitoringConditions.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the security monitoring condition to delete. Format: `organizations/{org}/securityMonitoringConditions/{security_monitoring_condition}`", +"location": "path", +"pattern": "^organizations/[^/]+/securityMonitoringConditions/[^/]+$", +"required": true, +"type": "string" +}, +"riskAssessmentType": { +"description": "Optional. The risk assessment type of the security monitoring condition. Defaults to ADVANCED_API_SECURITY.", +"enum": [ +"RISK_ASSESSMENT_TYPE_UNSPECIFIED", +"APIGEE", +"API_HUB" +], +"enumDescriptions": [ +"Risk assessment type is not specified.", +"Risk assessment type is Apigee.", +"Risk assessment type is API Hub." +], +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Get a security monitoring condition.", +"flatPath": "v1/organizations/{organizationsId}/securityMonitoringConditions/{securityMonitoringConditionsId}", +"httpMethod": "GET", +"id": "apigee.organizations.securityMonitoringConditions.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the security monitoring condition to get. Format: `organizations/{org}/securityMonitoringConditions/{security_monitoring_condition}`", +"location": "path", +"pattern": "^organizations/[^/]+/securityMonitoringConditions/[^/]+$", +"required": true, +"type": "string" +}, +"riskAssessmentType": { +"description": "Optional. The risk assessment type of the security monitoring condition. Defaults to ADVANCED_API_SECURITY.", +"enum": [ +"RISK_ASSESSMENT_TYPE_UNSPECIFIED", +"APIGEE", +"API_HUB" +], +"enumDescriptions": [ +"Risk assessment type is not specified.", +"Risk assessment type is Apigee.", +"Risk assessment type is API Hub." +], +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleCloudApigeeV1SecurityMonitoringCondition" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "List security monitoring conditions.", +"flatPath": "v1/organizations/{organizationsId}/securityMonitoringConditions", +"httpMethod": "GET", +"id": "apigee.organizations.securityMonitoringConditions.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Optional. Filter for the monitoring conditions. When RiskAssessmentType is APIGEE, monitoring conditions can be filtered by profile and scope. For example: `profile=profile1 AND scope=env1` When RiskAssessmentType is API_HUB, monitoring conditions can be filtered by profile and api_hub_gateway. For example: `profile=profile1 AND api_hub_gateway=gateway1`", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Optional. The maximum number of monitoring conditions to return.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. A page token, received from a previous `ListSecurityMonitoringConditions` call. Provide this to retrieve the subsequent page.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. For a specific organization, list all the security monitoring conditions. Format: `organizations/{org}`", +"location": "path", +"pattern": "^organizations/[^/]+$", +"required": true, +"type": "string" +}, +"riskAssessmentType": { +"description": "Optional. The risk assessment type of the security monitoring condition. Defaults to ADVANCED_API_SECURITY.", +"enum": [ +"RISK_ASSESSMENT_TYPE_UNSPECIFIED", +"APIGEE", +"API_HUB" +], +"enumDescriptions": [ +"Risk assessment type is not specified.", +"Risk assessment type is Apigee.", +"Risk assessment type is API Hub." +], +"location": "query", +"type": "string" +} +}, +"path": "v1/{+parent}/securityMonitoringConditions", +"response": { +"$ref": "GoogleCloudApigeeV1ListSecurityMonitoringConditionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Update a security monitoring condition.", +"flatPath": "v1/organizations/{organizationsId}/securityMonitoringConditions/{securityMonitoringConditionsId}", +"httpMethod": "PATCH", +"id": "apigee.organizations.securityMonitoringConditions.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Identifier. Name of the security monitoring condition resource. Format: organizations/{org}/securityMonitoringConditions/{security_monitoring_condition}", +"location": "path", +"pattern": "^organizations/[^/]+/securityMonitoringConditions/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Optional. The list of fields to update. Valid fields to update are `include_all_resources` and `include`.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "GoogleCloudApigeeV1SecurityMonitoringCondition" +}, +"response": { +"$ref": "GoogleCloudApigeeV1SecurityMonitoringCondition" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"securityProfiles": { +"methods": { +"create": { +"description": "CreateSecurityProfile create a new custom security profile.", +"flatPath": "v1/organizations/{organizationsId}/securityProfiles", +"httpMethod": "POST", +"id": "apigee.organizations.securityProfiles.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. Name of organization. Format: organizations/{org}", +"location": "path", +"pattern": "^organizations/[^/]+$", +"required": true, +"type": "string" +}, +"securityProfileId": { +"description": "Required. The ID to use for the SecurityProfile, which will become the final component of the action's resource name. This value should be 1-63 characters and validated by \"(^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$)\".", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+parent}/securityProfiles", +"request": { +"$ref": "GoogleCloudApigeeV1SecurityProfile" +}, +"response": { +"$ref": "GoogleCloudApigeeV1SecurityProfile" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "DeleteSecurityProfile delete a profile with all its revisions.", +"flatPath": "v1/organizations/{organizationsId}/securityProfiles/{securityProfilesId}", +"httpMethod": "DELETE", +"id": "apigee.organizations.securityProfiles.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of profile. Format: organizations/{org}/securityProfiles/{profile}", +"location": "path", +"pattern": "^organizations/[^/]+/securityProfiles/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "GetSecurityProfile gets the specified security profile. Returns NOT_FOUND if security profile is not present for the specified organization.", +"flatPath": "v1/organizations/{organizationsId}/securityProfiles/{securityProfilesId}", +"httpMethod": "GET", +"id": "apigee.organizations.securityProfiles.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Security profile in the following format: `organizations/{org}/securityProfiles/{profile}'. Profile may optionally contain revision ID. If revision ID is not provided, the response will contain latest revision by default. Example: organizations/testOrg/securityProfiles/testProfile@5", +"location": "path", +"pattern": "^organizations/[^/]+/securityProfiles/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleCloudApigeeV1SecurityProfile" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "ListSecurityProfiles lists all the security profiles associated with the org including attached and unattached profiles.", +"flatPath": "v1/organizations/{organizationsId}/securityProfiles", +"httpMethod": "GET", +"id": "apigee.organizations.securityProfiles.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "The maximum number of profiles to return. The service may return fewer than this value. If unspecified, at most 50 profiles will be returned.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A page token, received from a previous `ListSecurityProfiles` call. Provide this to retrieve the subsequent page.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. For a specific organization, list of all the security profiles. Format: `organizations/{org}`", +"location": "path", +"pattern": "^organizations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/securityProfiles", +"response": { +"$ref": "GoogleCloudApigeeV1ListSecurityProfilesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"listRevisions": { +"description": "ListSecurityProfileRevisions lists all the revisions of the security profile.", +"flatPath": "v1/organizations/{organizationsId}/securityProfiles/{securityProfilesId}:listRevisions", +"httpMethod": "GET", +"id": "apigee.organizations.securityProfiles.listRevisions", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. For a specific profile, list all the revisions. Format: `organizations/{org}/securityProfiles/{profile}`", +"location": "path", +"pattern": "^organizations/[^/]+/securityProfiles/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The maximum number of profile revisions to return. The service may return fewer than this value. If unspecified, at most 50 revisions will be returned.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A page token, received from a previous `ListSecurityProfileRevisions` call. Provide this to retrieve the subsequent page.", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}:listRevisions", +"response": { +"$ref": "GoogleCloudApigeeV1ListSecurityProfileRevisionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "UpdateSecurityProfile update the metadata of security profile.", +"flatPath": "v1/organizations/{organizationsId}/securityProfiles/{securityProfilesId}", +"httpMethod": "PATCH", +"id": "apigee.organizations.securityProfiles.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Immutable. Name of the security profile resource. Format: organizations/{org}/securityProfiles/{profile}", +"location": "path", +"pattern": "^organizations/[^/]+/securityProfiles/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Required. The list of fields to update.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "GoogleCloudApigeeV1SecurityProfile" +}, +"response": { +"$ref": "GoogleCloudApigeeV1SecurityProfile" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"environments": { +"methods": { +"computeEnvironmentScores": { +"description": "ComputeEnvironmentScores calculates scores for requested time range for the specified security profile and environment.", +"flatPath": "v1/organizations/{organizationsId}/securityProfiles/{securityProfilesId}/environments/{environmentsId}:computeEnvironmentScores", +"httpMethod": "POST", +"id": "apigee.organizations.securityProfiles.environments.computeEnvironmentScores", +"parameterOrder": [ +"profileEnvironment" +], +"parameters": { +"profileEnvironment": { +"description": "Required. Name of organization and environment and profile id for which score needs to be computed. Format: organizations/{org}/securityProfiles/{profile}/environments/{env}", +"location": "path", +"pattern": "^organizations/[^/]+/securityProfiles/[^/]+/environments/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+profileEnvironment}:computeEnvironmentScores", +"request": { +"$ref": "GoogleCloudApigeeV1ComputeEnvironmentScoresRequest" +}, +"response": { +"$ref": "GoogleCloudApigeeV1ComputeEnvironmentScoresResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"create": { +"description": "CreateSecurityProfileEnvironmentAssociation creates profile environment association i.e. attaches environment to security profile.", +"flatPath": "v1/organizations/{organizationsId}/securityProfiles/{securityProfilesId}/environments", +"httpMethod": "POST", +"id": "apigee.organizations.securityProfiles.environments.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. Name of organization and security profile ID. Format: organizations/{org}/securityProfiles/{profile}", +"location": "path", +"pattern": "^organizations/[^/]+/securityProfiles/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/environments", +"request": { +"$ref": "GoogleCloudApigeeV1SecurityProfileEnvironmentAssociation" +}, +"response": { +"$ref": "GoogleCloudApigeeV1SecurityProfileEnvironmentAssociation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "DeleteSecurityProfileEnvironmentAssociation removes profile environment association i.e. detaches environment from security profile.", +"flatPath": "v1/organizations/{organizationsId}/securityProfiles/{securityProfilesId}/environments/{environmentsId}", +"httpMethod": "DELETE", +"id": "apigee.organizations.securityProfiles.environments.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the environment attachment to delete. Format: organizations/{org}/securityProfiles/{profile}/environments/{env}", +"location": "path", +"pattern": "^organizations/[^/]+/securityProfiles/[^/]+/environments/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +}, +"securityProfilesV2": { +"methods": { +"create": { +"description": "Create a security profile v2.", +"flatPath": "v1/organizations/{organizationsId}/securityProfilesV2", +"httpMethod": "POST", +"id": "apigee.organizations.securityProfilesV2.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The parent resource name. Format: `organizations/{org}`", +"location": "path", +"pattern": "^organizations/[^/]+$", +"required": true, +"type": "string" +}, +"securityProfileV2Id": { +"description": "Required. The security profile id.", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+parent}/securityProfilesV2", +"request": { +"$ref": "GoogleCloudApigeeV1SecurityProfileV2" +}, +"response": { +"$ref": "GoogleCloudApigeeV1SecurityProfileV2" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Delete a security profile v2.", +"flatPath": "v1/organizations/{organizationsId}/securityProfilesV2/{securityProfilesV2Id}", +"httpMethod": "DELETE", +"id": "apigee.organizations.securityProfilesV2.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the security profile v2 to delete. Format: `organizations/{org}/securityProfilesV2/{profile}`", +"location": "path", +"pattern": "^organizations/[^/]+/securityProfilesV2/[^/]+$", +"required": true, +"type": "string" +}, +"riskAssessmentType": { +"description": "Optional. The risk assessment type of the security profile. Defaults to ADVANCED_API_SECURITY.", +"enum": [ +"RISK_ASSESSMENT_TYPE_UNSPECIFIED", +"APIGEE", +"API_HUB" +], +"enumDescriptions": [ +"Risk assessment type is not specified.", +"Risk assessment type is Apigee.", +"Risk assessment type is API Hub." +], +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Get a security profile v2.", +"flatPath": "v1/organizations/{organizationsId}/securityProfilesV2/{securityProfilesV2Id}", +"httpMethod": "GET", +"id": "apigee.organizations.securityProfilesV2.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the security profile v2 to get. Format: `organizations/{org}/securityProfilesV2/{profile}`", +"location": "path", +"pattern": "^organizations/[^/]+/securityProfilesV2/[^/]+$", +"required": true, +"type": "string" +}, +"riskAssessmentType": { +"description": "Optional. The risk assessment type of the security profile. Defaults to ADVANCED_API_SECURITY.", +"enum": [ +"RISK_ASSESSMENT_TYPE_UNSPECIFIED", +"APIGEE", +"API_HUB" +], +"enumDescriptions": [ +"Risk assessment type is not specified.", +"Risk assessment type is Apigee.", +"Risk assessment type is API Hub." +], +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleCloudApigeeV1SecurityProfileV2" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "List security profiles v2.", +"flatPath": "v1/organizations/{organizationsId}/securityProfilesV2", +"httpMethod": "GET", +"id": "apigee.organizations.securityProfilesV2.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "Optional. The maximum number of profiles to return", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. A page token, received from a previous `ListSecurityProfilesV2` call. Provide this to retrieve the subsequent page.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. For a specific organization, list of all the security profiles. Format: `organizations/{org}`", +"location": "path", +"pattern": "^organizations/[^/]+$", +"required": true, +"type": "string" +}, +"riskAssessmentType": { +"description": "Optional. The risk assessment type of the security profiles. Defaults to ADVANCED_API_SECURITY.", +"enum": [ +"RISK_ASSESSMENT_TYPE_UNSPECIFIED", +"APIGEE", +"API_HUB" +], +"enumDescriptions": [ +"Risk assessment type is not specified.", +"Risk assessment type is Apigee.", +"Risk assessment type is API Hub." +], +"location": "query", +"type": "string" +} +}, +"path": "v1/{+parent}/securityProfilesV2", +"response": { +"$ref": "GoogleCloudApigeeV1ListSecurityProfilesV2Response" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Update a security profile V2.", +"flatPath": "v1/organizations/{organizationsId}/securityProfilesV2/{securityProfilesV2Id}", +"httpMethod": "PATCH", +"id": "apigee.organizations.securityProfilesV2.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Identifier. Name of the security profile v2 resource. Format: organizations/{org}/securityProfilesV2/{profile}", +"location": "path", +"pattern": "^organizations/[^/]+/securityProfilesV2/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Optional. The list of fields to update. Valid fields to update are `description` and `profileAssessmentConfigs`.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "GoogleCloudApigeeV1SecurityProfileV2" +}, +"response": { +"$ref": "GoogleCloudApigeeV1SecurityProfileV2" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"sharedflows": { +"methods": { +"create": { +"description": "Uploads a ZIP-formatted shared flow configuration bundle to an organization. If the shared flow already exists, this creates a new revision of it. If the shared flow does not exist, this creates it. Once imported, the shared flow revision must be deployed before it can be accessed at runtime. The size limit of a shared flow bundle is 15 MB.", +"flatPath": "v1/organizations/{organizationsId}/sharedflows", +"httpMethod": "POST", +"id": "apigee.organizations.sharedflows.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"action": { +"description": "Required. Must be set to either `import` or `validate`.", +"location": "query", +"type": "string" +}, +"name": { +"description": "Required. The name to give the shared flow", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The name of the parent organization under which to create the shared flow. Must be of the form: `organizations/{organization_id}` If the resource has the `space` attribute set, IAM permissions are checked against the Space resource path. To learn more, read the [Apigee Spaces Overview](https://cloud.google.com/apigee/docs/api-platform/system-administration/spaces/apigee-spaces-overview).", +"location": "path", +"pattern": "^organizations/[^/]+$", +"required": true, +"type": "string" +}, +"space": { +"description": "Optional. The ID of the space to associated with this shared flow. Any IAM policies applied to the space will affect access to this shared flow. Note that this field is only respected when creating a new shared flow. It has no effect when creating a new revision for an existing shared flow.", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+parent}/sharedflows", +"request": { +"$ref": "GoogleApiHttpBody" +}, +"response": { +"$ref": "GoogleCloudApigeeV1SharedFlowRevision" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a shared flow and all it's revisions. The shared flow must be undeployed before you can delete it.", +"flatPath": "v1/organizations/{organizationsId}/sharedflows/{sharedflowsId}", +"httpMethod": "DELETE", +"id": "apigee.organizations.sharedflows.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. shared flow name of the form: `organizations/{organization_id}/sharedflows/{shared_flow_id}` If the resource has the `space` attribute set, IAM permissions are checked against the Space resource path. To learn more, read the [Apigee Spaces Overview](https://cloud.google.com/apigee/docs/api-platform/system-administration/spaces/apigee-spaces-overview).", +"location": "path", +"pattern": "^organizations/[^/]+/sharedflows/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleCloudApigeeV1SharedFlow" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets a shared flow by name, including a list of its revisions.", +"flatPath": "v1/organizations/{organizationsId}/sharedflows/{sharedflowsId}", +"httpMethod": "GET", +"id": "apigee.organizations.sharedflows.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the shared flow to get. Must be of the form: `organizations/{organization_id}/sharedflows/{shared_flow_id}` If the resource has the `space` attribute set, IAM permissions are checked against the Space resource path. To learn more, read the [Apigee Spaces Overview](https://cloud.google.com/apigee/docs/api-platform/system-administration/spaces/apigee-spaces-overview).", +"location": "path", +"pattern": "^organizations/[^/]+/sharedflows/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleCloudApigeeV1SharedFlow" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists all shared flows in the organization. If the resource has the `space` attribute set, the response may not return all resources. To learn more, read the [Apigee Spaces Overview](https://cloud.google.com/apigee/docs/api-platform/system-administration/spaces/apigee-spaces-overview).", +"flatPath": "v1/organizations/{organizationsId}/sharedflows", +"httpMethod": "GET", +"id": "apigee.organizations.sharedflows.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"includeMetaData": { +"description": "Indicates whether to include shared flow metadata in the response.", +"location": "query", +"type": "boolean" +}, +"includeRevisions": { +"description": "Indicates whether to include a list of revisions in the response.", +"location": "query", +"type": "boolean" +}, +"parent": { +"description": "Required. The name of the parent organization under which to get shared flows. Must be of the form: `organizations/{organization_id}` If the resource has the `space` attribute set, IAM permissions are checked against the Space resource path. To learn more, read the [Apigee Spaces Overview](https://cloud.google.com/apigee/docs/api-platform/system-administration/spaces/apigee-spaces-overview).", +"location": "path", +"pattern": "^organizations/[^/]+$", +"required": true, +"type": "string" +}, +"space": { +"description": "Optional. The space ID used to filter the list of shared flows (optional). If unspecified, all shared flows in the organization will be listed. To learn how Spaces can be used to manage resources, read the [Apigee Spaces Overview](https://cloud.google.com/apigee/docs/api-platform/system-administration/spaces/apigee-spaces-overview).", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+parent}/sharedflows", +"response": { +"$ref": "GoogleCloudApigeeV1ListSharedFlowsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"move": { +"description": "Moves an shared flow to a different space.", +"flatPath": "v1/organizations/{organizationsId}/sharedflows/{sharedflowsId}:move", +"httpMethod": "POST", +"id": "apigee.organizations.sharedflows.move", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Shared Flow to move in the following format: `organizations/{org}/sharedflows/{shared_flow}`", +"location": "path", +"pattern": "^organizations/[^/]+/sharedflows/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:move", +"request": { +"$ref": "GoogleCloudApigeeV1MoveSharedFlowRequest" +}, +"response": { +"$ref": "GoogleCloudApigeeV1SharedFlow" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"deployments": { +"methods": { +"list": { +"description": "Lists all deployments of a shared flow.", +"flatPath": "v1/organizations/{organizationsId}/sharedflows/{sharedflowsId}/deployments", +"httpMethod": "GET", +"id": "apigee.organizations.sharedflows.deployments.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. Name of the shared flow for which to return deployment information in the following format: `organizations/{org}/sharedflows/{sharedflow}` If the shared flow resource has the `space` attribute set, IAM permissions are checked differently . To learn more, read the [Apigee Spaces Overview](https://cloud.google.com/apigee/docs/api-platform/system-administration/spaces/apigee-spaces-overview).", +"location": "path", +"pattern": "^organizations/[^/]+/sharedflows/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/deployments", +"response": { +"$ref": "GoogleCloudApigeeV1ListDeploymentsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"revisions": { +"methods": { +"delete": { +"description": "Deletes a shared flow and all associated policies, resources, and revisions. You must undeploy the shared flow before deleting it.", +"flatPath": "v1/organizations/{organizationsId}/sharedflows/{sharedflowsId}/revisions/{revisionsId}", +"httpMethod": "DELETE", +"id": "apigee.organizations.sharedflows.revisions.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the shared flow revision to delete. Must be of the form: `organizations/{organization_id}/sharedflows/{shared_flow_id}/revisions/{revision_id}` If the Shared Flow resource has the `space` attribute set, IAM permissions are checked against the Space resource path. To learn more, read the [Apigee Spaces Overview](https://cloud.google.com/apigee/docs/api-platform/system-administration/spaces/apigee-spaces-overview).", +"location": "path", +"pattern": "^organizations/[^/]+/sharedflows/[^/]+/revisions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleCloudApigeeV1SharedFlowRevision" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets a revision of a shared flow. To download the shared flow configuration bundle for the specified revision as a zip file, set the `format` query parameter to `bundle`. If you are using curl, specify `-o filename.zip` to save the output to a file; otherwise, it displays to `stdout`. Then, develop the shared flow configuration locally and upload the updated sharedFlow configuration revision, as described in [updateSharedFlowRevision](updateSharedFlowRevision).", +"flatPath": "v1/organizations/{organizationsId}/sharedflows/{sharedflowsId}/revisions/{revisionsId}", +"httpMethod": "GET", +"id": "apigee.organizations.sharedflows.revisions.get", +"parameterOrder": [ +"name" +], +"parameters": { +"format": { +"description": "Specify `bundle` to export the contents of the shared flow bundle. Otherwise, the bundle metadata is returned.", +"location": "query", +"type": "string" +}, +"name": { +"description": "Required. The name of the shared flow revision to get. Must be of the form: `organizations/{organization_id}/sharedflows/{shared_flow_id}/revisions/{revision_id}` If the Shared Flow resource has the `space` attribute set, IAM permissions are checked against the Space resource path. To learn more, read the [Apigee Spaces Overview](https://cloud.google.com/apigee/docs/api-platform/system-administration/spaces/apigee-spaces-overview).", +"location": "path", +"pattern": "^organizations/[^/]+/sharedflows/[^/]+/revisions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleApiHttpBody" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"updateSharedFlowRevision": { +"description": "Updates a shared flow revision. This operation is only allowed on revisions which have never been deployed. After deployment a revision becomes immutable, even if it becomes undeployed. The payload is a ZIP-formatted shared flow. Content type must be either multipart/form-data or application/octet-stream.", +"flatPath": "v1/organizations/{organizationsId}/sharedflows/{sharedflowsId}/revisions/{revisionsId}", +"httpMethod": "POST", +"id": "apigee.organizations.sharedflows.revisions.updateSharedFlowRevision", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the shared flow revision to update. Must be of the form: `organizations/{organization_id}/sharedflows/{shared_flow_id}/revisions/{revision_id}` If the resource has the `space` attribute set, IAM permissions are checked against the Space resource path. To learn more, read the [Apigee Spaces Overview](https://cloud.google.com/apigee/docs/api-platform/system-administration/spaces/apigee-spaces-overview).", +"location": "path", +"pattern": "^organizations/[^/]+/sharedflows/[^/]+/revisions/[^/]+$", +"required": true, +"type": "string" +}, +"validate": { +"description": "Ignored. All uploads are validated regardless of the value of this field. It is kept for compatibility with existing APIs. Must be `true` or `false` if provided.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "GoogleApiHttpBody" +}, +"response": { +"$ref": "GoogleCloudApigeeV1SharedFlowRevision" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"deployments": { +"methods": { +"list": { +"description": "Lists all deployments of a shared flow revision.", +"flatPath": "v1/organizations/{organizationsId}/sharedflows/{sharedflowsId}/revisions/{revisionsId}/deployments", +"httpMethod": "GET", +"id": "apigee.organizations.sharedflows.revisions.deployments.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. Name of the API proxy revision for which to return deployment information in the following format: `organizations/{org}/sharedflows/{sharedflow}/revisions/{rev}`. If the shared flow resource has the `space` attribute set, IAM permissions are checked differently . To learn more, read the [Apigee Spaces Overview](https://cloud.google.com/apigee/docs/api-platform/system-administration/spaces/apigee-spaces-overview).", +"location": "path", +"pattern": "^organizations/[^/]+/sharedflows/[^/]+/revisions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/deployments", +"response": { +"$ref": "GoogleCloudApigeeV1ListDeploymentsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +} +} +}, +"sites": { +"resources": { +"apicategories": { +"methods": { +"create": { +"description": "Creates a new API category.", +"flatPath": "v1/organizations/{organizationsId}/sites/{sitesId}/apicategories", +"httpMethod": "POST", +"id": "apigee.organizations.sites.apicategories.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. Name of the portal. Use the following structure in your request: `organizations/{org}/sites/{site}`", +"location": "path", +"pattern": "^organizations/[^/]+/sites/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/apicategories", +"request": { +"$ref": "GoogleCloudApigeeV1ApiCategory" +}, +"response": { +"$ref": "GoogleCloudApigeeV1ApiCategoryResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes an API category.", +"flatPath": "v1/organizations/{organizationsId}/sites/{sitesId}/apicategories/{apicategoriesId}", +"httpMethod": "DELETE", +"id": "apigee.organizations.sites.apicategories.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of the category. Use the following structure in your request: `organizations/{org}/sites/{site}/apicategories/{apicategory}`", +"location": "path", +"pattern": "^organizations/[^/]+/sites/[^/]+/apicategories/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleCloudApigeeV1DeleteResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets an API category.", +"flatPath": "v1/organizations/{organizationsId}/sites/{sitesId}/apicategories/{apicategoriesId}", +"httpMethod": "GET", +"id": "apigee.organizations.sites.apicategories.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of the category. Use the following structure in your request: `organizations/{org}/sites/{site}/apicategories/{apicategory}`", +"location": "path", +"pattern": "^organizations/[^/]+/sites/[^/]+/apicategories/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleCloudApigeeV1ApiCategoryResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Returns the API categories associated with a portal.", +"flatPath": "v1/organizations/{organizationsId}/sites/{sitesId}/apicategories", +"httpMethod": "GET", +"id": "apigee.organizations.sites.apicategories.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. Name of the portal. Use the following structure in your request: `organizations/{org}/sites/{site}`", +"location": "path", +"pattern": "^organizations/[^/]+/sites/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/apicategories", +"response": { +"$ref": "GoogleCloudApigeeV1ListApiCategoriesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates an API category.", +"flatPath": "v1/organizations/{organizationsId}/sites/{sitesId}/apicategories/{apicategoriesId}", +"httpMethod": "PATCH", +"id": "apigee.organizations.sites.apicategories.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of the category. Use the following structure in your request: `organizations/{org}/sites/{site}/apicategories/{apicategory}`", +"location": "path", +"pattern": "^organizations/[^/]+/sites/[^/]+/apicategories/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "GoogleCloudApigeeV1ApiCategory" +}, +"response": { +"$ref": "GoogleCloudApigeeV1ApiCategoryResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"apidocs": { +"methods": { +"create": { +"description": "Creates a new catalog item.", +"flatPath": "v1/organizations/{organizationsId}/sites/{sitesId}/apidocs", +"httpMethod": "POST", +"id": "apigee.organizations.sites.apidocs.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. Name of the portal. Use the following structure in your request: `organizations/{org}/sites/{site}`", +"location": "path", +"pattern": "^organizations/[^/]+/sites/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/apidocs", +"request": { +"$ref": "GoogleCloudApigeeV1ApiDoc" +}, +"response": { +"$ref": "GoogleCloudApigeeV1ApiDocResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a catalog item.", +"flatPath": "v1/organizations/{organizationsId}/sites/{sitesId}/apidocs/{apidocsId}", +"httpMethod": "DELETE", +"id": "apigee.organizations.sites.apidocs.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of the catalog item. Use the following structure in your request: `organizations/{org}/sites/{site}/apidocs/{apidoc}`", +"location": "path", +"pattern": "^organizations/[^/]+/sites/[^/]+/apidocs/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleCloudApigeeV1DeleteResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets a catalog item.", +"flatPath": "v1/organizations/{organizationsId}/sites/{sitesId}/apidocs/{apidocsId}", +"httpMethod": "GET", +"id": "apigee.organizations.sites.apidocs.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of the catalog item. Use the following structure in your request: `organizations/{org}/sites/{site}/apidocs/{apidoc}`", +"location": "path", +"pattern": "^organizations/[^/]+/sites/[^/]+/apidocs/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleCloudApigeeV1ApiDocResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"getDocumentation": { +"description": "Gets the documentation for the specified catalog item.", +"flatPath": "v1/organizations/{organizationsId}/sites/{sitesId}/apidocs/{apidocsId}/documentation", +"httpMethod": "GET", +"id": "apigee.organizations.sites.apidocs.getDocumentation", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Resource name of the catalog item documentation. Use the following structure in your request: `organizations/{org}/sites/{site}/apidocs/{apidoc}/documentation`", +"location": "path", +"pattern": "^organizations/[^/]+/sites/[^/]+/apidocs/[^/]+/documentation$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleCloudApigeeV1ApiDocDocumentationResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Returns the catalog items associated with a portal.", +"flatPath": "v1/organizations/{organizationsId}/sites/{sitesId}/apidocs", +"httpMethod": "GET", +"id": "apigee.organizations.sites.apidocs.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "Optional. The maximum number of items to return. The service may return fewer than this value. If unspecified, at most 25 books will be returned. The maximum value is 100; values above 100 will be coerced to 100.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. A page token, received from a previous `ListApiDocs` call. Provide this to retrieve the subsequent page.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. Name of the portal. Use the following structure in your request: `organizations/{org}/sites/{site}`", +"location": "path", +"pattern": "^organizations/[^/]+/sites/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/apidocs", +"response": { +"$ref": "GoogleCloudApigeeV1ListApiDocsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"update": { +"description": "Updates a catalog item.", +"flatPath": "v1/organizations/{organizationsId}/sites/{sitesId}/apidocs/{apidocsId}", +"httpMethod": "PUT", +"id": "apigee.organizations.sites.apidocs.update", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of the catalog item. Use the following structure in your request: `organizations/{org}/sites/{site}/apidocs/{apidoc}`", +"location": "path", +"pattern": "^organizations/[^/]+/sites/[^/]+/apidocs/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "GoogleCloudApigeeV1ApiDoc" +}, +"response": { +"$ref": "GoogleCloudApigeeV1ApiDocResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"updateDocumentation": { +"description": "Updates the documentation for the specified catalog item. Note that the documentation file contents will not be populated in the return message.", +"flatPath": "v1/organizations/{organizationsId}/sites/{sitesId}/apidocs/{apidocsId}/documentation", +"httpMethod": "PATCH", +"id": "apigee.organizations.sites.apidocs.updateDocumentation", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Resource name of the catalog item documentation. Use the following structure in your request: `organizations/{org}/sites/{site}/apidocs/{apidoc}/documentation`", +"location": "path", +"pattern": "^organizations/[^/]+/sites/[^/]+/apidocs/[^/]+/documentation$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "GoogleCloudApigeeV1ApiDocDocumentation" +}, +"response": { +"$ref": "GoogleCloudApigeeV1ApiDocDocumentationResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +}, +"spaces": { +"methods": { +"create": { +"description": "Create a space under an organization.", +"flatPath": "v1/organizations/{organizationsId}/spaces", +"httpMethod": "POST", +"id": "apigee.organizations.spaces.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. Name of the Google Cloud project in which to associate the Apigee space. Pass the information as a query parameter using the following structure in your request: `organizations/`", +"location": "path", +"pattern": "^organizations/[^/]+$", +"required": true, +"type": "string" +}, +"spaceId": { +"description": "Required. Resource ID of the space.", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+parent}/spaces", +"request": { +"$ref": "GoogleCloudApigeeV1Space" +}, +"response": { +"$ref": "GoogleCloudApigeeV1Space" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes an organization space.", +"flatPath": "v1/organizations/{organizationsId}/spaces/{spacesId}", +"httpMethod": "DELETE", +"id": "apigee.organizations.spaces.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Apigee organization space name in the following format: `organizations/{org}/spaces/{space}`", +"location": "path", +"pattern": "^organizations/[^/]+/spaces/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Get a space under an Organization.", +"flatPath": "v1/organizations/{organizationsId}/spaces/{spacesId}", +"httpMethod": "GET", +"id": "apigee.organizations.spaces.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Apigee organization space name in the following format: `organizations/{org}/spaces/{space}`", +"location": "path", +"pattern": "^organizations/[^/]+/spaces/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleCloudApigeeV1Space" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"getIamPolicy": { +"description": "Callers must have apigee.spaces.getIamPolicy.", +"flatPath": "v1/organizations/{organizationsId}/spaces/{spacesId}:getIamPolicy", +"httpMethod": "GET", +"id": "apigee.organizations.spaces.getIamPolicy", +"parameterOrder": [ +"resource" +], +"parameters": { +"options.requestedPolicyVersion": { +"description": "Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).", +"format": "int32", +"location": "query", +"type": "integer" +}, +"resource": { +"description": "REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", +"location": "path", +"pattern": "^organizations/[^/]+/spaces/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+resource}:getIamPolicy", +"response": { +"$ref": "GoogleIamV1Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists spaces under an organization.", +"flatPath": "v1/organizations/{organizationsId}/spaces", +"httpMethod": "GET", +"id": "apigee.organizations.spaces.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "Optional. The maximum number of spaces to return. The service may return fewer than this value. If unspecified, at most 50 spaces will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. A page token, received from a previous `ListSpaces` call. Provide this to retrieve the subsequent page. When paginating, all parameters must match the original call.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. Use the following structure in your request: `organizations`", +"location": "path", +"pattern": "^organizations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/spaces", +"response": { +"$ref": "GoogleCloudApigeeV1ListSpacesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates a space.", +"flatPath": "v1/organizations/{organizationsId}/spaces/{spacesId}", +"httpMethod": "PATCH", +"id": "apigee.organizations.spaces.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of the space in the following format: `organizations/{org}/spaces/{space_id}`.", +"location": "path", +"pattern": "^organizations/[^/]+/spaces/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Required. List of fields to be updated. Fields that can be updated: display_name.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "GoogleCloudApigeeV1Space" +}, +"response": { +"$ref": "GoogleCloudApigeeV1Space" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"setIamPolicy": { +"description": "IAM META APIs Callers must have apigee.spaces.setIamPolicy.", +"flatPath": "v1/organizations/{organizationsId}/spaces/{spacesId}:setIamPolicy", +"httpMethod": "POST", +"id": "apigee.organizations.spaces.setIamPolicy", +"parameterOrder": [ +"resource" +], +"parameters": { +"resource": { +"description": "REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", +"location": "path", +"pattern": "^organizations/[^/]+/spaces/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+resource}:setIamPolicy", +"request": { +"$ref": "GoogleIamV1SetIamPolicyRequest" +}, +"response": { +"$ref": "GoogleIamV1Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"testIamPermissions": { +"description": "Callers don't need any permissions.", +"flatPath": "v1/organizations/{organizationsId}/spaces/{spacesId}:testIamPermissions", +"httpMethod": "POST", +"id": "apigee.organizations.spaces.testIamPermissions", +"parameterOrder": [ +"resource" +], +"parameters": { +"resource": { +"description": "REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", +"location": "path", +"pattern": "^organizations/[^/]+/spaces/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+resource}:testIamPermissions", +"request": { +"$ref": "GoogleIamV1TestIamPermissionsRequest" +}, +"response": { +"$ref": "GoogleIamV1TestIamPermissionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +}, +"projects": { +"methods": { +"provisionOrganization": { +"description": "Provisions a new Apigee organization with a functioning runtime. This is the standard way to create trial organizations for a free Apigee trial.", +"flatPath": "v1/projects/{projectsId}:provisionOrganization", +"httpMethod": "POST", +"id": "apigee.projects.provisionOrganization", +"parameterOrder": [ +"project" +], +"parameters": { +"project": { +"description": "Required. Name of the GCP project with which to associate the Apigee organization.", +"location": "path", +"pattern": "^projects/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+project}:provisionOrganization", +"request": { +"$ref": "GoogleCloudApigeeV1ProvisionOrganizationRequest" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +}, +"revision": "20260218", +"rootUrl": "https://apigee.googleapis.com/", +"schemas": { +"ApiservingMcpMcpToolDataHandlingProfile": { +"description": "Profile describing the data handling characteristics of an MCP tool. When used within the McpTool.meta field, this message should be packed into a google.protobuf.Any and associated with the key: \"google.com/tool.profiles/data_handling\"", +"id": "ApiservingMcpMcpToolDataHandlingProfile", +"properties": { +"inputDataAccessLevel": { +"description": "// The data access level of the tool's inputs.", +"enum": [ +"DATA_ACCESS_LEVEL_UNSPECIFIED", +"DATA_ACCESS_LEVEL_PUBLIC", +"DATA_ACCESS_LEVEL_CONFIDENTIAL", +"DATA_ACCESS_LEVEL_NEED_TO_KNOW", +"DATA_ACCESS_LEVEL_PII", +"DATA_ACCESS_LEVEL_USER", +"DATA_ACCESS_LEVEL_NO_DATA_ACCESS" +], +"enumDescriptions": [ +"The default value. This value is unused.", +"Public data.", +"Confidential data.", +"Need-to-know data.", +"Personally Identifiable Information (PII) data.", +"User data.", +"The tool does not access any data." +], +"type": "string" +}, +"outputDataAccessLevel": { +"description": "The data access level of the tool's outputs.", +"enum": [ +"DATA_ACCESS_LEVEL_UNSPECIFIED", +"DATA_ACCESS_LEVEL_PUBLIC", +"DATA_ACCESS_LEVEL_CONFIDENTIAL", +"DATA_ACCESS_LEVEL_NEED_TO_KNOW", +"DATA_ACCESS_LEVEL_PII", +"DATA_ACCESS_LEVEL_USER", +"DATA_ACCESS_LEVEL_NO_DATA_ACCESS" +], +"enumDescriptions": [ +"The default value. This value is unused.", +"Public data.", +"Confidential data.", +"Need-to-know data.", +"Personally Identifiable Information (PII) data.", +"User data.", +"The tool does not access any data." +], +"type": "string" +} +}, +"type": "object" +}, +"ApiservingMcpMcpToolLifecycleProfile": { +"description": "Profile describing the lifecycle stage of an MCP tool. When used within the McpTool.meta field, this message should be packed into a google.protobuf.Any and associated with the key: \"google.com/tool.profiles/lifecycle\"", +"id": "ApiservingMcpMcpToolLifecycleProfile", +"properties": { +"launchState": { +"description": "Output only. The current launch state of the MCP tool.", +"enum": [ +"LAUNCH_STATE_UNSPECIFIED", +"LAUNCH_STATE_DEVELOPMENT", +"LAUNCH_STATE_PRODUCTION_PREVIEW", +"LAUNCH_STATE_GENERAL_AVAILABILITY" +], +"enumDescriptions": [ +"The default value. This value is unused.", +"The tool is currently in development.", +"The tool is in production preview.", +"The tool is generally available." +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"EdgeConfigstoreBundleBadBundle": { +"description": "Describes why a bundle is invalid. Intended for use in error details.", +"id": "EdgeConfigstoreBundleBadBundle", +"properties": { +"violations": { +"description": "Describes all precondition violations.", +"items": { +"$ref": "EdgeConfigstoreBundleBadBundleViolation" +}, +"type": "array" +} +}, +"type": "object" +}, +"EdgeConfigstoreBundleBadBundleViolation": { +"description": "A message type used to describe a single bundle validation error.", +"id": "EdgeConfigstoreBundleBadBundleViolation", +"properties": { +"description": { +"description": "A description of why the bundle is invalid and how to fix it.", +"type": "string" +}, +"filename": { +"description": "The filename (including relative path from the bundle root) in which the error occurred.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleApiHttpBody": { +"description": "Message that represents an arbitrary HTTP body. It should only be used for payload formats that can't be represented as JSON, such as raw binary or an HTML page. This message can be used both in streaming and non-streaming API methods in the request as well as the response. It can be used as a top-level request field, which is convenient if one wants to extract parameters from either the URL or HTTP template into the request fields and also want access to the raw HTTP body. Example: message GetResourceRequest { // A unique request id. string request_id = 1; // The raw HTTP body is bound to this field. google.api.HttpBody http_body = 2; } service ResourceService { rpc GetResource(GetResourceRequest) returns (google.api.HttpBody); rpc UpdateResource(google.api.HttpBody) returns (google.protobuf.Empty); } Example with streaming methods: service CaldavService { rpc GetCalendar(stream google.api.HttpBody) returns (stream google.api.HttpBody); rpc UpdateCalendar(stream google.api.HttpBody) returns (stream google.api.HttpBody); } Use of this type only changes how the request and response bodies are handled, all other features will continue to work unchanged.", +"id": "GoogleApiHttpBody", +"properties": { +"contentType": { +"description": "The HTTP Content-Type header value specifying the content type of the body.", +"type": "string" +}, +"data": { +"description": "The HTTP request/response body as raw binary.", +"format": "byte", +"type": "string" +}, +"extensions": { +"description": "Application specific response metadata. Must be set in the first response for streaming APIs.", +"items": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"type": "object" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudApigeeV1APIProductAssociation": { +"description": "APIProductAssociation has the API product and its administrative state association.", +"id": "GoogleCloudApigeeV1APIProductAssociation", +"properties": { +"apiproduct": { +"description": "API product to be associated with the credential.", +"type": "string" +}, +"status": { +"description": "The API product credential associated status. Valid values are `approved` or `revoked`.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudApigeeV1Access": { +"id": "GoogleCloudApigeeV1Access", +"properties": { +"Get": { +"$ref": "GoogleCloudApigeeV1AccessGet" +}, +"Remove": { +"$ref": "GoogleCloudApigeeV1AccessRemove" +}, +"Set": { +"$ref": "GoogleCloudApigeeV1AccessSet" +} +}, +"type": "object" +}, +"GoogleCloudApigeeV1AccessGet": { +"description": "Get action. For example, \"Get\" : { \"name\" : \"target.name\", \"value\" : \"default\" }", +"id": "GoogleCloudApigeeV1AccessGet", +"properties": { +"name": { +"type": "string" +}, +"value": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudApigeeV1AccessLoggingConfig": { +"description": "Access logging configuration enables customers to ship the access logs from the tenant projects to their own project's cloud logging. The feature is at the instance level ad disabled by default. It can be enabled during CreateInstance or UpdateInstance.", +"id": "GoogleCloudApigeeV1AccessLoggingConfig", +"properties": { +"enabled": { +"description": "Optional. Boolean flag that specifies whether the customer access log feature is enabled.", +"type": "boolean" +}, +"filter": { +"description": "Optional. Ship the access log entries that match the status_code defined in the filter. The status_code is the only expected/supported filter field. (Ex: status_code) The filter will parse it to the Common Expression Language semantics for expression evaluation to build the filter condition. (Ex: \"filter\": status_code >= 200 && status_code < 300 )", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudApigeeV1AccessRemove": { +"description": "Remove action. For example, \"Remove\" : { \"name\" : \"target.name\", \"success\" : true }", +"id": "GoogleCloudApigeeV1AccessRemove", +"properties": { +"name": { +"type": "string" +}, +"success": { +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleCloudApigeeV1AccessSet": { +"description": "Set action. For example, \"Set\" : { \"name\" : \"target.name\", \"success\" : true, \"value\" : \"default\" }", +"id": "GoogleCloudApigeeV1AccessSet", +"properties": { +"name": { +"type": "string" +}, +"success": { +"type": "boolean" +}, +"value": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudApigeeV1ActivateNatAddressRequest": { +"description": "Request for ActivateNatAddressRequest. Activate the nat address request.", +"id": "GoogleCloudApigeeV1ActivateNatAddressRequest", +"properties": {}, +"type": "object" +}, +"GoogleCloudApigeeV1AddonsConfig": { +"description": "Add-on configurations for the Apigee organization.", +"id": "GoogleCloudApigeeV1AddonsConfig", +"properties": { +"advancedApiOpsConfig": { +"$ref": "GoogleCloudApigeeV1AdvancedApiOpsConfig", +"description": "Configuration for the Advanced API Ops add-on." +}, +"analyticsConfig": { +"$ref": "GoogleCloudApigeeV1AnalyticsConfig", +"description": "Configuration for the Analytics add-on. Only used in organizations.environments.addonsConfig." +}, +"apiSecurityConfig": { +"$ref": "GoogleCloudApigeeV1ApiSecurityConfig", +"description": "Configuration for the API Security add-on." +}, +"connectorsPlatformConfig": { +"$ref": "GoogleCloudApigeeV1ConnectorsPlatformConfig", +"description": "Configuration for the Connectors Platform add-on." +}, +"integrationConfig": { +"$ref": "GoogleCloudApigeeV1IntegrationConfig", +"description": "Configuration for the Integration add-on." +}, +"monetizationConfig": { +"$ref": "GoogleCloudApigeeV1MonetizationConfig", +"description": "Configuration for the Monetization add-on." +} +}, +"type": "object" +}, +"GoogleCloudApigeeV1AdjustAppGroupBalanceRequest": { +"description": "Request for AdjustAppGroupBalance.", +"id": "GoogleCloudApigeeV1AdjustAppGroupBalanceRequest", +"properties": { +"adjustment": { +"$ref": "GoogleTypeMoney", +"description": "Required. * A positive value of `adjustment` means that that the API provider wants to adjust the balance for an under-charged AppGroup i.e. the balance of the AppGroup will decrease. * A negative value of `adjustment` is not supported. Use credit balance API instead." +} +}, +"type": "object" +}, +"GoogleCloudApigeeV1AdjustDeveloperBalanceRequest": { +"description": "Request for AdjustDeveloperBalance.", +"id": "GoogleCloudApigeeV1AdjustDeveloperBalanceRequest", +"properties": { +"adjustment": { +"$ref": "GoogleTypeMoney", +"description": "* A positive value of `adjustment` means that that the API provider wants to adjust the balance for an under-charged developer i.e. the balance of the developer will decrease. * A negative value of `adjustment` means that that the API provider wants to adjust the balance for an over-charged developer i.e. the balance of the developer will increase. NOTE: An adjustment cannot increase the balance of the developer beyond the balance as of the most recent credit. For example, if a developer's balance is updated to be $100, and they spend $10, a negative adjustment can only increase the balance of the developer to $100." +} +}, +"type": "object" +}, +"GoogleCloudApigeeV1AdvancedApiOpsConfig": { +"description": "Configuration for the Advanced API Ops add-on.", +"id": "GoogleCloudApigeeV1AdvancedApiOpsConfig", +"properties": { +"enabled": { +"description": "Flag that specifies whether the Advanced API Ops add-on is enabled.", +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleCloudApigeeV1Alias": { +"description": "Reference to a certificate or key/certificate pair.", +"id": "GoogleCloudApigeeV1Alias", +"properties": { +"alias": { +"description": "Resource ID for this alias. Values must match the regular expression `[^/]{1,255}`.", +"type": "string" +}, +"certsInfo": { +"$ref": "GoogleCloudApigeeV1Certificate", +"description": "Chain of certificates under this alias." +}, +"type": { +"description": "Type of alias.", +"enum": [ +"ALIAS_TYPE_UNSPECIFIED", +"CERT", +"KEY_CERT" +], +"enumDescriptions": [ +"Alias type is not specified.", +"Certificate.", +"Key/certificate pair." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudApigeeV1AliasRevisionConfig": { +"id": "GoogleCloudApigeeV1AliasRevisionConfig", +"properties": { +"location": { +"description": "Location of the alias file. For example, a Google Cloud Storage URI.", +"type": "string" +}, +"name": { +"description": "Name of the alias revision included in the keystore in the following format: `organizations/{org}/environments/{env}/keystores/{keystore}/aliases/{alias}/revisions/{rev}`", +"type": "string" +}, +"type": { +"enum": [ +"ALIAS_TYPE_UNSPECIFIED", +"CERT", +"KEY_CERT" +], +"enumDescriptions": [ +"Alias type is not specified.", +"Certificate.", +"Key/certificate pair." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudApigeeV1AnalyticsConfig": { +"description": "Configuration for the Analytics add-on.", +"id": "GoogleCloudApigeeV1AnalyticsConfig", +"properties": { +"enabled": { +"description": "Whether the Analytics add-on is enabled.", +"type": "boolean" +}, +"expireTimeMillis": { +"description": "Output only. Time at which the Analytics add-on expires in milliseconds since epoch. If unspecified, the add-on will never expire.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"state": { +"description": "Output only. The state of the Analytics add-on.", +"enum": [ +"ADDON_STATE_UNSPECIFIED", +"ENABLING", +"ENABLED", +"DISABLING", +"DISABLED" +], +"enumDescriptions": [ +"Default value.", +"Add-on is in progress of enabling.", +"Add-on is fully enabled and ready to use.", +"Add-on is in progress of disabling.", +"Add-on is fully disabled." +], +"readOnly": true, +"type": "string" +}, +"updateTime": { +"description": "Output only. The latest update time.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudApigeeV1ApiCategory": { +"description": "`ApiCategory` represents an API category. [Catalog items](/apigee/docs/reference/apis/apigee/rest/v1/organizations.sites.apidocs) can be tagged with API categories; users viewing the API catalog in the portal will have the option to browse the catalog by category.", +"id": "GoogleCloudApigeeV1ApiCategory", +"properties": { +"id": { +"description": "ID of the category (a UUID).", +"type": "string" +}, +"name": { +"description": "Name of the category.", +"type": "string" +}, +"siteId": { +"description": "Name of the portal.", +"type": "string" +}, +"updateTime": { +"description": "Time the category was last modified in milliseconds since epoch.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudApigeeV1ApiCategoryResponse": { +"description": "The API category resource wrapped with response status, error_code, etc.", +"id": "GoogleCloudApigeeV1ApiCategoryResponse", +"properties": { +"data": { +"$ref": "GoogleCloudApigeeV1ApiCategory", +"description": "The API category resource." +}, +"errorCode": { +"description": "Unique error code for the request, if any.", +"type": "string" +}, +"message": { +"description": "Description of the operation.", +"type": "string" +}, +"requestId": { +"description": "Unique ID of the request.", +"type": "string" +}, +"status": { +"description": "Status of the operation.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudApigeeV1ApiDebugSession": { +"description": "Session carries the debug session id and its creation time.", +"id": "GoogleCloudApigeeV1ApiDebugSession", +"properties": { +"apiProxyRevisionId": { +"description": "The revision ID of the deployed API proxy.", +"type": "string" +}, +"createTime": { +"description": "The first transaction creation timestamp in millisecond, recorded by UAP.", +"format": "google-datetime", +"type": "string" +}, +"environmentId": { +"description": "The environment ID of the deployed API proxy.", +"type": "string" +}, +"id": { +"description": "The debug session ID.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudApigeeV1ApiDoc": { +"description": "`ApiDoc` represents an API catalog item. Catalog items are used in two ways in a portal: - Users can browse and interact with a visual representation of the API documentation - The `api_product_name` field provides a link to a backing [API product] (/apigee/docs/reference/apis/apigee/rest/v1/organizations.apiproducts). Through this link, portal users can create and manage developer apps linked to one or more API products.", +"id": "GoogleCloudApigeeV1ApiDoc", +"properties": { +"anonAllowed": { +"description": "Optional. Boolean flag that manages user access to the catalog item. When true, the catalog item has public visibility and can be viewed anonymously; otherwise, only registered users may view it. Note: when the parent portal is enrolled in the [audience management feature](https://cloud.google.com/apigee/docs/api-platform/publish/portal/portal-audience#enrolling_in_the_beta_release_of_the_audience_management_feature), and this flag is set to false, visibility is set to an indeterminate state and must be explicitly specified in the management UI (see [Manage the visibility of an API in your portal](https://cloud.google.com/apigee/docs/api-platform/publish/portal/publish-apis#visibility)). Additionally, when enrolled in the audience management feature, updates to this flag will be ignored as visibility permissions must be updated in the management UI.", +"type": "boolean" +}, +"apiProductName": { +"description": "Required. Immutable. The `name` field of the associated [API product](/apigee/docs/reference/apis/apigee/rest/v1/organizations.apiproducts). A portal may have only one catalog item associated with a given API product.", +"type": "string" +}, +"categoryIds": { +"description": "Optional. The IDs of the API categories to which this catalog item belongs.", +"items": { +"type": "string" +}, +"type": "array" +}, +"description": { +"description": "Optional. Description of the catalog item. Max length is 10,000 characters.", +"type": "string" +}, +"edgeAPIProductName": { +"description": "Optional. Immutable. DEPRECATED: use the `apiProductName` field instead", +"type": "string" +}, +"graphqlEndpointUrl": { +"deprecated": true, +"description": "Optional. DEPRECATED: manage documentation through the `getDocumentation` and `updateDocumentation` methods", +"type": "string" +}, +"graphqlSchema": { +"deprecated": true, +"description": "Optional. DEPRECATED: manage documentation through the `getDocumentation` and `updateDocumentation` methods", +"type": "string" +}, +"graphqlSchemaDisplayName": { +"deprecated": true, +"description": "Optional. DEPRECATED: manage documentation through the `getDocumentation` and `updateDocumentation` methods", +"type": "string" +}, +"id": { +"description": "Output only. The ID of the catalog item.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"imageUrl": { +"description": "Optional. Location of the image used for the catalog item in the catalog. This can be either an image with an external URL or a file path for [image files stored in the portal](/apigee/docs/api-platform/publish/portal/portal-files\"), for example, `/files/book-tree.jpg`. When specifying the URL of an external image, the image won't be uploaded to your assets; additionally, loading the image in the integrated portal will be subject to its availability, which may be blocked or restricted by [content security policies](/apigee/docs/api-platform/publish/portal/csp). Max length of file path is 2,083 characters.", +"type": "string" +}, +"modified": { +"description": "Output only. Time the catalog item was last modified in milliseconds since epoch.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"published": { +"description": "Optional. Denotes whether the catalog item is published to the portal or is in a draft state. When the parent portal is enrolled in the [audience management feature](https://cloud.google.com/apigee/docs/api-platform/publish/portal/portal-audience#enrolling_in_the_beta_release_of_the_audience_management_feature), the visibility can be set to public on creation by setting the anonAllowed flag to true or further managed in the management UI (see [Manage the visibility of an API in your portal](https://cloud.google.com/apigee/docs/api-platform/publish/portal/publish-apis#visibility)) before it can be visible to any users. If not enrolled in the audience management feature, the visibility is managed by the `anonAllowed` flag.", +"type": "boolean" +}, +"requireCallbackUrl": { +"description": "Optional. Whether a callback URL is required when this catalog item's API product is enabled in a developer app. When true, a portal user will be required to input a URL when managing the app (this is typically used for the app's OAuth flow).", +"type": "boolean" +}, +"siteId": { +"description": "Output only. The ID of the parent portal.", +"readOnly": true, +"type": "string" +}, +"specId": { +"deprecated": true, +"description": "Optional. DEPRECATED: DO NOT USE", +"type": "string" +}, +"title": { +"description": "Required. The user-facing name of the catalog item. `title` must be a non-empty string with a max length of 255 characters.", +"type": "string" +}, +"visibility": { +"description": "Optional. DEPRECATED: use the `published` field instead", +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleCloudApigeeV1ApiDocDocumentation": { +"description": "The documentation for a catalog item.", +"id": "GoogleCloudApigeeV1ApiDocDocumentation", +"properties": { +"asyncApiDocumentation": { +"$ref": "GoogleCloudApigeeV1AsyncApiDocumentation", +"description": "Optional. AsyncAPI Specification documentation." +}, +"graphqlDocumentation": { +"$ref": "GoogleCloudApigeeV1GraphqlDocumentation", +"description": "Optional. GraphQL documentation." +}, +"oasDocumentation": { +"$ref": "GoogleCloudApigeeV1OASDocumentation", +"description": "Optional. OpenAPI Specification documentation." +} +}, +"type": "object" +}, +"GoogleCloudApigeeV1ApiDocDocumentationResponse": { +"description": "The catalog item documentation wrapped with response status, error_code, etc.", +"id": "GoogleCloudApigeeV1ApiDocDocumentationResponse", +"properties": { +"data": { +"$ref": "GoogleCloudApigeeV1ApiDocDocumentation", +"description": "Output only. The documentation resource.", +"readOnly": true +}, +"errorCode": { +"description": "Output only. Unique error code for the request, if any.", +"readOnly": true, +"type": "string" +}, +"message": { +"description": "Output only. Description of the operation.", +"readOnly": true, +"type": "string" +}, +"requestId": { +"description": "Output only. Unique ID of the request.", +"readOnly": true, +"type": "string" +}, +"status": { +"description": "Output only. Status of the operation.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudApigeeV1ApiDocResponse": { +"description": "The catalog item resource wrapped with response status, error_code, etc.", +"id": "GoogleCloudApigeeV1ApiDocResponse", +"properties": { +"data": { +"$ref": "GoogleCloudApigeeV1ApiDoc", +"description": "The catalog item resource." +}, +"errorCode": { +"description": "Unique error code for the request, if any.", +"type": "string" +}, +"message": { +"description": "Description of the operation.", +"type": "string" +}, +"requestId": { +"description": "Unique ID of the request.", +"type": "string" +}, +"status": { +"description": "Status of the operation.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudApigeeV1ApiProduct": { +"id": "GoogleCloudApigeeV1ApiProduct", +"properties": { +"apiResources": { +"description": "Comma-separated list of API resources to be bundled in the API product. By default, the resource paths are mapped from the `proxy.pathsuffix` variable. The proxy path suffix is defined as the URI fragment following the ProxyEndpoint base path. For example, if the `apiResources` element is defined to be `/forecastrss` and the base path defined for the API proxy is `/weather`, then only requests to `/weather/forecastrss` are permitted by the API product. You can select a specific path, or you can select all subpaths with the following wildcard: - `/**`: Indicates that all sub-URIs are included. - `/*` : Indicates that only URIs one level down are included. By default, / supports the same resources as /** as well as the base path defined by the API proxy. For example, if the base path of the API proxy is `/v1/weatherapikey`, then the API product supports requests to `/v1/weatherapikey` and to any sub-URIs, such as `/v1/weatherapikey/forecastrss`, `/v1/weatherapikey/region/CA`, and so on. For more information, see Managing API products.", +"items": { +"type": "string" +}, +"type": "array" +}, +"approvalType": { +"description": "Flag that specifies how API keys are approved to access the APIs defined by the API product. If set to `manual`, the consumer key is generated and returned in \"pending\" state. In this case, the API keys won't work until they have been explicitly approved. If set to `auto`, the consumer key is generated and returned in \"approved\" state and can be used immediately. **Note:** Typically, `auto` is used to provide access to free or trial API products that provide limited quota or capabilities.", +"type": "string" +}, +"attributes": { +"description": "Array of attributes that may be used to extend the default API product profile with customer-specific metadata. You can specify a maximum of 18 attributes. Use this property to specify the access level of the API product as either `public`, `private`, or `internal`. Only products marked `public` are available to developers in the Apigee developer portal. For example, you can set a product to `internal` while it is in development and then change access to `public` when it is ready to release on the portal. API products marked as `private` do not appear on the portal, but can be accessed by external developers.", +"items": { +"$ref": "GoogleCloudApigeeV1Attribute" +}, +"type": "array" +}, +"createdAt": { +"description": "Response only. Creation time of this environment as milliseconds since epoch.", +"format": "int64", +"type": "string" +}, +"description": { +"description": "Description of the API product. Include key information about the API product that is not captured by other fields.", +"type": "string" +}, +"displayName": { +"description": "Name displayed in the UI or developer portal to developers registering for API access.", +"type": "string" +}, +"environments": { +"description": "Comma-separated list of environment names to which the API product is bound. Requests to environments that are not listed are rejected. By specifying one or more environments, you can bind the resources listed in the API product to a specific environment, preventing developers from accessing those resources through API proxies deployed in another environment. This setting is used, for example, to prevent resources associated with API proxies in `prod` from being accessed by API proxies deployed in `test`.", +"items": { +"type": "string" +}, +"type": "array" +}, +"graphqlOperationGroup": { +"$ref": "GoogleCloudApigeeV1GraphQLOperationGroup", +"description": "Configuration used to group Apigee proxies or remote services with graphQL operation name, graphQL operation type and quotas. This grouping allows us to precisely set quota for a particular combination of graphQL name and operation type for a particular proxy request. If graphQL name is not set, this would imply quota will be applied on all graphQL requests matching the operation type." +}, +"grpcOperationGroup": { +"$ref": "GoogleCloudApigeeV1GrpcOperationGroup", +"description": "Optional. Configuration used to group Apigee proxies with gRPC services and method names. This grouping allows us to set quota for a particular proxy with the gRPC service name and method. If a method name is not set, this implies quota and authorization are applied to all gRPC methods implemented by that proxy for that particular gRPC service." +}, +"lastModifiedAt": { +"description": "Response only. Modified time of this environment as milliseconds since epoch.", +"format": "int64", +"type": "string" +}, +"llmOperationGroup": { +"$ref": "GoogleCloudApigeeV1LlmOperationGroup", +"description": "Optional. Configuration used to group Apigee proxies with resources, method types, LLM model and quotas. The resource refers to the resource URI (excluding the base path). With this grouping, the API product creator is able to fine-tune and give precise control over which REST methods have access to specific resources, specific LLM model and how many calls can be made (using the `quota` setting). **Note:** The `api_resources` setting cannot be specified for both the API product and llm operation group; otherwise the call will fail." +}, +"llmQuota": { +"description": "Optional. Number of LLM tokens permitted per app by this API product for the specified `llm_quota_interval` and `llm_quota_time_unit`. For example, an `llm_quota` of 50,000, for an `llm_quota_interval` of 12 and an `llm_quota_time_unit` of hours means 50,000 llm tokens are allowed to be used every 12 hours.", +"type": "string" +}, +"llmQuotaInterval": { +"description": "Optional. Time interval over which the number of tokens from LLM responses is calculated.", +"type": "string" +}, +"llmQuotaTimeUnit": { +"description": "Optional. Time unit defined for the `llm_quota_interval`. Valid values include `minute`, `hour`, `day`, or `month`.", +"type": "string" +}, +"name": { +"description": "Internal name of the API product. Characters you can use in the name are restricted to: `A-Z0-9._\\-$ %`. **Note:** The internal name cannot be edited when updating the API product.", +"type": "string" +}, +"operationGroup": { +"$ref": "GoogleCloudApigeeV1OperationGroup", +"description": "Configuration used to group Apigee proxies or remote services with resources, method types, and quotas. The resource refers to the resource URI (excluding the base path). With this grouping, the API product creator is able to fine-tune and give precise control over which REST methods have access to specific resources and how many calls can be made (using the `quota` setting). **Note:** The `api_resources` setting cannot be specified for both the API product and operation group; otherwise the call will fail." +}, +"proxies": { +"description": "Comma-separated list of API proxy names to which this API product is bound. By specifying API proxies, you can associate resources in the API product with specific API proxies, preventing developers from accessing those resources through other API proxies. Apigee rejects requests to API proxies that are not listed. **Note:** The API proxy names must already exist in the specified environment as they will be validated upon creation.", +"items": { +"type": "string" +}, +"type": "array" +}, +"quota": { +"description": "Number of request messages permitted per app by this API product for the specified `quotaInterval` and `quotaTimeUnit`. For example, a `quota` of 50, for a `quotaInterval` of 12 and a `quotaTimeUnit` of hours means 50 requests are allowed every 12 hours.", +"type": "string" +}, +"quotaCounterScope": { +"description": "Scope of the quota decides how the quota counter gets applied and evaluate for quota violation. If the Scope is set as PROXY, then all the operations defined for the APIproduct that are associated with the same proxy will share the same quota counter set at the APIproduct level, making it a global counter at a proxy level. If the Scope is set as OPERATION, then each operations get the counter set at the API product dedicated, making it a local counter. Note that, the QuotaCounterScope applies only when an operation does not have dedicated quota set for itself.", +"enum": [ +"QUOTA_COUNTER_SCOPE_UNSPECIFIED", +"PROXY", +"OPERATION", +"PRODUCT" +], +"enumDescriptions": [ +"When quota is not explicitly defined for each operation(REST/GraphQL), the limits set at product level will be used as a local counter for quota evaluation by all the operations, independent of proxy association.", +"When quota is not explicitly defined for each operation(REST/GraphQL), set at product level will be used as a global counter for quota evaluation by all the operations associated with a particular proxy.", +"When quota is not explicitly defined for each operation(REST/GraphQL), the limits set at product level will be used as a local counter for quota evaluation by all the operations, independent of proxy association. This behavior mimics the same as QUOTA_COUNTER_SCOPE_UNSPECIFIED.", +"When quota is not explicitly defined for each operation(REST/GraphQL), the limits set at product level will be used as a global counter for quota evaluation by all the operations." +], +"type": "string" +}, +"quotaInterval": { +"description": "Time interval over which the number of request messages is calculated.", +"type": "string" +}, +"quotaTimeUnit": { +"description": "Time unit defined for the `quotaInterval`. Valid values include `minute`, `hour`, `day`, or `month`.", +"type": "string" +}, +"scopes": { +"description": "Comma-separated list of OAuth scopes that are validated at runtime. Apigee validates that the scopes in any access token presented match the scopes defined in the OAuth policy associated with the API product.", +"items": { +"type": "string" +}, +"type": "array" +}, +"space": { +"description": "Optional. The resource ID of the parent Space. If not set, the parent resource will be the Organization. To learn how Spaces can be used to manage resources, read the [Apigee Spaces Overview](https://cloud.google.com/apigee/docs/api-platform/system-administration/spaces/apigee-spaces-overview).", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudApigeeV1ApiProductRef": { +"id": "GoogleCloudApigeeV1ApiProductRef", +"properties": { +"apiproduct": { +"description": "Name of the API product.", +"type": "string" +}, +"status": { +"description": "Status of the API product. Valid values are `approved` or `revoked`.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudApigeeV1ApiProxy": { +"description": "Metadata describing the API proxy", +"id": "GoogleCloudApigeeV1ApiProxy", +"properties": { +"apiProxyType": { +"description": "Output only. The type of the API proxy.", +"enum": [ +"API_PROXY_TYPE_UNSPECIFIED", +"PROGRAMMABLE", +"CONFIGURABLE" +], +"enumDescriptions": [ +"API proxy type not specified.", +"Programmable API Proxies enable you to develop APIs with highly flexible behavior using bundled policy configuration and one or more programming languages to describe complex sequential and/or conditional flows of logic.", +"Configurable API Proxies enable you to develop efficient APIs using simple configuration while complex execution control flow logic is handled by Apigee. This type only works with the ARCHIVE deployment type and cannot be combined with the PROXY deployment type." +], +"readOnly": true, +"type": "string" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "User labels applied to this API Proxy.", +"type": "object" +}, +"latestRevisionId": { +"description": "Output only. The id of the most recently created revision for this api proxy.", +"readOnly": true, +"type": "string" +}, +"metaData": { +"$ref": "GoogleCloudApigeeV1EntityMetadata", +"description": "Output only. Metadata describing the API proxy.", +"readOnly": true +}, +"name": { +"description": "Output only. Name of the API proxy.", +"readOnly": true, +"type": "string" +}, +"readOnly": { +"description": "Output only. Whether this proxy is read-only. A read-only proxy cannot have new revisions created through calls to CreateApiProxyRevision. A proxy is read-only if it was generated by an archive.", +"readOnly": true, +"type": "boolean" +}, +"revision": { +"description": "Output only. List of revisions defined for the API proxy.", +"items": { +"type": "string" +}, +"readOnly": true, +"type": "array" +}, +"space": { +"description": "Optional. The id of the space this proxy is associated with. Any IAM policies applied to the space will control access to this proxy. To learn how Spaces can be used to manage resources, read the [Apigee Spaces Overview](https://cloud.google.com/apigee/docs/api-platform/system-administration/spaces/apigee-spaces-overview).", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudApigeeV1ApiProxyRevision": { +"description": "API proxy revision.", +"id": "GoogleCloudApigeeV1ApiProxyRevision", +"properties": { +"archive": { +"description": "Output only. The archive that generated this proxy revision. This field is only present on proxy revisions that were generated by an archive. Proxies generated by archives cannot be updated, deleted, or deployed to other environments. Format: `organizations/*/environments/*/archiveDeployments/*`", +"readOnly": true, +"type": "string" +}, +"basepaths": { +"description": "Base URL of the API proxy.", +"items": { +"type": "string" +}, +"type": "array" +}, +"configurationVersion": { +"$ref": "GoogleCloudApigeeV1ConfigVersion", +"description": "Version of the API proxy configuration schema to which the API proxy conforms. Currently, the only supported value is 4.0 (`majorVersion.minorVersion`). This setting may be used in the future to track the evolution of the API proxy format." +}, +"contextInfo": { +"description": "Revision number, app name, and organization for the API proxy.", +"type": "string" +}, +"createdAt": { +"description": "Time that the API proxy revision was created in milliseconds since epoch.", +"format": "int64", +"type": "string" +}, +"description": { +"description": "Description of the API proxy revision.", +"type": "string" +}, +"displayName": { +"description": "Human-readable name of the API proxy.", +"type": "string" +}, +"entityMetaDataAsProperties": { +"additionalProperties": { +"type": "string" +}, +"description": "Metadata describing the API proxy revision as a key-value map.", +"type": "object" +}, +"hasExtensiblePolicy": { +"description": "Output only. This field will be marked as true if revision contains any policies marked as extensible.", +"readOnly": true, +"type": "boolean" +}, +"integrationEndpoints": { +"description": "List of IntegrationEndpoints in the '/integration-endpoints' directory of the API proxy. This is a 'manifest' setting designed to provide visibility into the contents of the API proxy.", +"items": { +"type": "string" +}, +"type": "array" +}, +"lastModifiedAt": { +"description": "Time that the API proxy revision was last modified in milliseconds since epoch.", +"format": "int64", +"type": "string" +}, +"name": { +"description": "Name of the API proxy.", +"type": "string" +}, +"policies": { +"description": "List of policy names included in the API proxy revision..", +"items": { +"type": "string" +}, +"type": "array" +}, +"proxies": { +"description": "List of proxy names included in the API proxy revision.", +"items": { +"type": "string" +}, +"type": "array" +}, +"proxyEndpoints": { +"description": "List of ProxyEndpoints in the `/proxies` directory of the API proxy. Typically, this element is included only when the API proxy was created using the Edge UI. This is a 'manifest' setting designed to provide visibility into the contents of the API proxy.", +"items": { +"type": "string" +}, +"type": "array" +}, +"resourceFiles": { +"$ref": "GoogleCloudApigeeV1ResourceFiles", +"description": "List of resource files included in the API proxy revision." +}, +"resources": { +"description": "List of the resources included in the API proxy revision formatted as \"{type}://{name}\".", +"items": { +"type": "string" +}, +"type": "array" +}, +"revision": { +"description": "API proxy revision.", +"type": "string" +}, +"sharedFlows": { +"description": "List of the shared flows included in the API proxy revision.", +"items": { +"type": "string" +}, +"type": "array" +}, +"spec": { +"description": "OpenAPI Specification that is associated with the API proxy. The value is set to a URL or to a path in the specification store.", +"type": "string" +}, +"targetEndpoints": { +"description": "List of TargetEndpoints in the `/targets` directory of the API proxy. Typically, this element is included only when the API proxy was created using the Edge UI. This is a 'manifest' setting designed to provide visibility into the contents of the API proxy.", +"items": { +"type": "string" +}, +"type": "array" +}, +"targetServers": { +"description": "List of TargetServers referenced in any TargetEndpoint in the API proxy. Typically, you will see this element only when the API proxy was created using the Edge UI. This is a 'manifest' setting designed to provide visibility into the contents of the API proxy.", +"items": { +"type": "string" +}, +"type": "array" +}, +"targets": { +"description": "List of the targets included in the API proxy revision.", +"items": { +"type": "string" +}, +"type": "array" +}, +"teams": { +"description": "List of the teams included in the API proxy revision.", +"items": { +"type": "string" +}, +"type": "array" +}, +"type": { +"description": "Type. Set to `Application`. Maintained for compatibility with the Apigee Edge API.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudApigeeV1ApiSecurityConfig": { +"description": "Configurations of the API Security add-on.", +"id": "GoogleCloudApigeeV1ApiSecurityConfig", +"properties": { +"enabled": { +"description": "Flag that specifies whether the API security add-on is enabled.", +"type": "boolean" +}, +"expiresAt": { +"description": "Output only. Time at which the API Security add-on expires in milliseconds since epoch. If unspecified, the add-on will never expire.", +"format": "int64", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudApigeeV1ApiSecurityRuntimeConfig": { +"description": "Response for GetApiSecurityRuntimeConfig[EnvironmentService.GetApiSecurityRuntimeConfig].", +"id": "GoogleCloudApigeeV1ApiSecurityRuntimeConfig", +"properties": { +"location": { +"description": "A list of up to 5 Cloud Storage Blobs that contain SecurityActions.", +"items": { +"type": "string" +}, +"type": "array" +}, +"name": { +"description": "Name of the environment API Security Runtime configuration resource. Format: `organizations/{org}/environments/{env}/apiSecurityRuntimeConfig`", +"type": "string" +}, +"revisionId": { +"description": "Revision ID of the API Security Runtime configuration. The higher the value, the more recently the configuration was deployed.", +"format": "int64", +"type": "string" +}, +"uid": { +"description": "Unique ID for the API Security Runtime configuration. The ID will only change if the environment is deleted and recreated.", +"type": "string" +}, +"updateTime": { +"description": "Time that the API Security Runtime configuration was updated.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudApigeeV1ApimServiceExtension": { +"description": "APIM Service Extension is a resource under an Apigee Organization that is used to create APIM Service Extension to route traffic to existing X instances.", +"id": "GoogleCloudApigeeV1ApimServiceExtension", +"properties": { +"createTime": { +"description": "Output only. The time that this resource was created on the server.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"extensionProcessor": { +"description": "Required. Name of the proxy deployed in the Apigee X instance.", +"type": "string" +}, +"extensions": { +"description": "Optional. List of extensions that are part of the service extension. Refer to https://cloud.google.com/service-extensions/docs/quotas#limits for any limits.", +"items": { +"$ref": "GoogleCloudApigeeV1ApimServiceExtensionExtension" +}, +"type": "array" +}, +"lbForwardingRule": { +"description": "Required. Name of the Google Cloud LB forwarding rule. Format: projects/{project}/regions/{region}/forwardingRules/{forwarding_rule} projects/{project}/global/forwardingRules/{forwarding_rule}", +"type": "string" +}, +"name": { +"description": "Identifier. unique name of the APIM service extension. The name must conform with RFC-1034, is restricted to lower-cased letters, numbers and hyphens, and can have a maximum length of 63 characters. Additionally, the first character must be a letter and the last a letter or a number.", +"type": "string" +}, +"network": { +"description": "Required. The network where the forwarding rule is created. Format: projects/{project}/global/networks/{network}", +"type": "string" +}, +"networkConfigs": { +"description": "Required. List of network configurations for the APIM service extension.", +"items": { +"$ref": "GoogleCloudApigeeV1ApimServiceExtensionNetworkConfig" +}, +"type": "array" +}, +"state": { +"description": "Output only. State of the APIM service extension. Values other than `ACTIVE` mean the resource is not ready to use.", +"enum": [ +"STATE_UNSPECIFIED", +"CREATING", +"ACTIVE", +"DELETING", +"UPDATING" +], +"enumDescriptions": [ +"Resource is in an unspecified state.", +"Resource is being created.", +"Resource is provisioned and ready to use.", +"The resource is being deleted.", +"The resource is being updated." +], +"readOnly": true, +"type": "string" +}, +"updateTime": { +"description": "Output only. The time that this resource was updated on the server.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudApigeeV1ApimServiceExtensionExtension": { +"description": "Extension configuration for Apigee extension processor service extension.", +"id": "GoogleCloudApigeeV1ApimServiceExtensionExtension", +"properties": { +"failOpen": { +"description": "Optional. Whether this request should fail open.", +"type": "boolean" +}, +"hostname": { +"description": "Required. One of the hostnames of Apigee EnvGroup where the proxy is deployed. This hostname (i.e FDQN) will be used to route traffic from the specified forwarding rule to the environment in Apigee X instance where the proxy is deployed for handling extension traffic. Format: ^([a-zA-Z0-9. _-])+$", +"type": "string" +}, +"matchCondition": { +"description": "Optional. Match Condition for CEL expression. Refer to https://cloud.google.com/service-extensions/docs/cel-matcher-language-reference for more details.", +"type": "string" +}, +"name": { +"description": "Required. Name of the `LbTrafficExtension` resource. The name must conform with RFC-1034, is restricted to lower-cased letters, numbers and hyphens, and can have a maximum length of 63 characters. Additionally, the first character must be a letter and the last a letter or a number.", +"type": "string" +}, +"supportedEvents": { +"description": "Optional. Supported events for the Service Extension. If not specified, all events are supported.", +"items": { +"enum": [ +"SUPPORTED_EVENT_UNSPECIFIED", +"REQUEST_HEADERS", +"REQUEST_BODY", +"RESPONSE_HEADERS", +"RESPONSE_BODY", +"REQUEST_TRAILERS", +"RESPONSE_TRAILERS" +], +"enumDescriptions": [ +"Unspecified event.", +"Request headers event.", +"Request body event.", +"Response headers event.", +"Response body event.", +"Request trailers event.", +"Response trailers event." +], +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudApigeeV1ApimServiceExtensionNetworkConfig": { +"description": "Network configuration for the APIM service extension.", +"id": "GoogleCloudApigeeV1ApimServiceExtensionNetworkConfig", +"properties": { +"region": { +"description": "Required. The region for the PSC NEG.", +"type": "string" +}, +"subnet": { +"description": "Required. The subnet for the PSC NEG. Format: projects/{project}/regions/{region}/subnetworks/{subnet}", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudApigeeV1App": { +"id": "GoogleCloudApigeeV1App", +"properties": { +"apiProducts": { +"description": "List of API products associated with the app.", +"items": { +"$ref": "GoogleCloudApigeeV1ApiProductRef" +}, +"type": "array" +}, +"appGroup": { +"description": "Name of the AppGroup", +"type": "string" +}, +"appId": { +"description": "ID of the app.", +"type": "string" +}, +"attributes": { +"description": "List of attributes.", +"items": { +"$ref": "GoogleCloudApigeeV1Attribute" +}, +"type": "array" +}, +"callbackUrl": { +"description": "Callback URL used by OAuth 2.0 authorization servers to communicate authorization codes back to apps.", +"type": "string" +}, +"companyName": { +"description": "Name of the company that owns the app.", +"type": "string" +}, +"createdAt": { +"description": "Output only. Unix time when the app was created.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"credentials": { +"description": "Output only. Set of credentials for the app. Credentials are API key/secret pairs associated with API products.", +"items": { +"$ref": "GoogleCloudApigeeV1Credential" +}, +"readOnly": true, +"type": "array" +}, +"developerEmail": { +"description": "Email of the developer.", +"type": "string" +}, +"developerId": { +"description": "ID of the developer.", +"type": "string" +}, +"keyExpiresIn": { +"description": "Duration, in milliseconds, of the consumer key that will be generated for the app. The default value, -1, indicates an infinite validity period. Once set, the expiration can't be updated. json key: keyExpiresIn", +"format": "int64", +"type": "string" +}, +"lastModifiedAt": { +"description": "Output only. Last modified time as milliseconds since epoch.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"name": { +"description": "Name of the app.", +"type": "string" +}, +"scopes": { +"description": "Scopes to apply to the app. The specified scope names must already exist on the API product that you associate with the app.", +"items": { +"type": "string" +}, +"type": "array" +}, +"status": { +"description": "Status of the credential.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudApigeeV1AppGroup": { +"description": "AppGroup contains the request/response fields representing the logical grouping of apps. Note that appgroup_id, create_time and update_time cannot be changed by the user, and gets updated by the system. The name and the organization once provided cannot be edited subsequently.", +"id": "GoogleCloudApigeeV1AppGroup", +"properties": { +"appGroupId": { +"description": "Output only. Internal identifier that cannot be edited", +"readOnly": true, +"type": "string" +}, +"attributes": { +"description": "A list of attributes", +"items": { +"$ref": "GoogleCloudApigeeV1Attribute" +}, +"type": "array" +}, +"channelId": { +"description": "channel identifier identifies the owner maintaing this grouping.", +"type": "string" +}, +"channelUri": { +"description": "A reference to the associated storefront/marketplace.", +"type": "string" +}, +"createdAt": { +"description": "Output only. Created time as milliseconds since epoch.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"displayName": { +"description": "app group name displayed in the UI", +"type": "string" +}, +"email": { +"description": "Optional. Email of the AppGroup.", +"type": "string" +}, +"lastModifiedAt": { +"description": "Output only. Modified time as milliseconds since epoch.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"name": { +"description": "Immutable. Name of the AppGroup. Characters you can use in the name are restricted to: A-Z0-9._\\-$ %.", +"type": "string" +}, +"organization": { +"description": "Immutable. the org the app group is created", +"type": "string" +}, +"status": { +"description": "Valid values are `active` or `inactive`. Note that the status of the AppGroup should be updated via UpdateAppGroupRequest by setting the action as `active` or `inactive`.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudApigeeV1AppGroupApp": { +"description": "Response for [GetAppGroupApp].[AppGroupApps.GetAppGroupApp], [CreateAppGroupAppRequest].[AppGroupApp.CreateAppGroupAppRequest] and [DeleteAppGroupApp].[AppGroupApp.DeleteAppGroupApp]", +"id": "GoogleCloudApigeeV1AppGroupApp", +"properties": { +"apiProducts": { +"description": "List of API products associated with the AppGroup app.", +"items": { +"type": "string" +}, +"type": "array" +}, +"appGroup": { +"description": "Immutable. Name of the parent AppGroup whose resource name format is of syntax (organizations/*/appgroups/*).", +"type": "string" +}, +"appId": { +"description": "Immutable. ID of the AppGroup app.", +"type": "string" +}, +"attributes": { +"description": "List of attributes for the AppGroup app.", +"items": { +"$ref": "GoogleCloudApigeeV1Attribute" +}, +"type": "array" +}, +"callbackUrl": { +"description": "Callback URL used by OAuth 2.0 authorization servers to communicate authorization codes back to AppGroup apps.", +"type": "string" +}, +"createdAt": { +"description": "Output only. Time the AppGroup app was created in milliseconds since epoch.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"credentials": { +"description": "Output only. Set of credentials for the AppGroup app consisting of the consumer key/secret pairs associated with the API products.", +"items": { +"$ref": "GoogleCloudApigeeV1Credential" +}, +"readOnly": true, +"type": "array" +}, +"keyExpiresIn": { +"description": "Immutable. Expiration time, in seconds, for the consumer key that is generated for the AppGroup app. If not set or left to the default value of `-1`, the API key never expires. The expiration time can't be updated after it is set.", +"format": "int64", +"type": "string" +}, +"lastModifiedAt": { +"description": "Output only. Time the AppGroup app was modified in milliseconds since epoch.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"name": { +"description": "Immutable. Name of the AppGroup app whose resource name format is of syntax (organizations/*/appgroups/*/apps/*).", +"type": "string" +}, +"scopes": { +"description": "Scopes to apply to the AppGroup app. The specified scopes must already exist for the API product that you associate with the AppGroup app.", +"items": { +"type": "string" +}, +"type": "array" +}, +"status": { +"description": "Status of the App. Valid values include `approved` or `revoked`.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudApigeeV1AppGroupAppKey": { +"description": "AppGroupAppKey contains all the information associated with the credentials.", +"id": "GoogleCloudApigeeV1AppGroupAppKey", +"properties": { +"apiProducts": { +"description": "Output only. List of API products and its status for which the credential can be used. **Note**: Use UpdateAppGroupAppKeyApiProductRequest API to make the association after the consumer key and secret are created.", +"items": { +"$ref": "GoogleCloudApigeeV1APIProductAssociation" +}, +"readOnly": true, +"type": "array" +}, +"attributes": { +"description": "List of attributes associated with the credential.", +"items": { +"$ref": "GoogleCloudApigeeV1Attribute" +}, +"type": "array" +}, +"consumerKey": { +"description": "Immutable. Consumer key.", +"type": "string" +}, +"consumerSecret": { +"description": "Secret key.", +"type": "string" +}, +"expiresAt": { +"description": "Output only. Time the AppGroup app expires in milliseconds since epoch.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"expiresInSeconds": { +"description": "Immutable. Expiration time, in seconds, for the consumer key. If not set or left to the default value of `-1`, the API key never expires. The expiration time can't be updated after it is set.", +"format": "int64", +"type": "string" +}, +"issuedAt": { +"description": "Output only. Time the AppGroup app was created in milliseconds since epoch.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"scopes": { +"description": "Scopes to apply to the app. The specified scope names must already be defined for the API product that you associate with the app.", +"items": { +"type": "string" +}, +"type": "array" +}, +"status": { +"description": "Status of the credential. Valid values include `approved` or `revoked`.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudApigeeV1AppGroupBalance": { +"description": "AppGroupBalance for the AppGroup.", +"id": "GoogleCloudApigeeV1AppGroupBalance", +"properties": { +"wallets": { +"description": "Output only. List of all wallets. Each individual wallet stores the account balance for a particular currency.", +"items": { +"$ref": "GoogleCloudApigeeV1AppGroupBalanceWallet" +}, +"readOnly": true, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudApigeeV1AppGroupBalanceWallet": { +"description": "Wallet used to manage an account balance for a particular currency.", +"id": "GoogleCloudApigeeV1AppGroupBalanceWallet", +"properties": { +"balance": { +"$ref": "GoogleTypeMoney", +"description": "Current remaining balance of the AppGroup for a particular currency." +}, +"lastCreditTime": { +"description": "Output only. Time at which the AppGroup last added credit to the account in milliseconds since epoch.", +"format": "int64", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudApigeeV1AppGroupMonetizationConfig": { +"description": "Monetization configuration for the AppGroup.", +"id": "GoogleCloudApigeeV1AppGroupMonetizationConfig", +"properties": { +"billingType": { +"description": "Required. Billing type.", +"enum": [ +"BILLING_TYPE_UNSPECIFIED", +"PREPAID", +"POSTPAID" +], +"enumDescriptions": [ +"The default/unset value.", +"AppGroup pays in advance for the use of APIs and the charged amount is deducted from their account balance.", +"AppGroup does not maintain an account balance. The API provider bills the AppGroup for API usage." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudApigeeV1AppGroupSubscription": { +"description": "AppGroup Subscription details.", +"id": "GoogleCloudApigeeV1AppGroupSubscription", +"properties": { +"apiproduct": { +"description": "Required. Name of the API product for which the appgroup is purchasing a subscription.", +"type": "string" +}, +"createdAt": { +"description": "Output only. Time when the API product subscription was created in milliseconds since epoch.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"endTime": { +"description": "Output only. Time when the API product subscription ends in milliseconds since epoch.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"lastModifiedAt": { +"description": "Output only. Time when the API product subscription was last modified in milliseconds since epoch.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"name": { +"description": "Output only. Name of the API product subscription.", +"readOnly": true, +"type": "string" +}, +"startTime": { +"description": "Output only. Time when the API product subscription starts in milliseconds since epoch.", +"format": "int64", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudApigeeV1ArchiveDeployment": { +"description": "Archive Deployment information.", +"id": "GoogleCloudApigeeV1ArchiveDeployment", +"properties": { +"createdAt": { +"description": "Output only. The time at which the Archive Deployment was created in milliseconds since the epoch.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"gcsUri": { +"description": "Input only. The Google Cloud Storage signed URL returned from GenerateUploadUrl and used to upload the Archive zip file.", +"type": "string" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "User-supplied key-value pairs used to organize ArchiveDeployments. Label keys must be between 1 and 63 characters long, have a UTF-8 encoding of maximum 128 bytes, and must conform to the following PCRE regular expression: \\p{Ll}\\p{Lo}{0,62} Label values must be between 1 and 63 characters long, have a UTF-8 encoding of maximum 128 bytes, and must conform to the following PCRE regular expression: [\\p{Ll}\\p{Lo}\\p{N}_-]{0,63} No more than 64 labels can be associated with a given store.", +"type": "object" +}, +"name": { +"description": "Name of the Archive Deployment in the following format: `organizations/{org}/environments/{env}/archiveDeployments/{id}`.", +"type": "string" +}, +"operation": { +"description": "Output only. A reference to the LRO that created this Archive Deployment in the following format: `organizations/{org}/operations/{id}`", +"readOnly": true, +"type": "string" +}, +"updatedAt": { +"description": "Output only. The time at which the Archive Deployment was updated in milliseconds since the epoch.", +"format": "int64", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudApigeeV1AsyncApiDocumentation": { +"description": "AsyncAPI Specification documentation for a catalog item.", +"id": "GoogleCloudApigeeV1AsyncApiDocumentation", +"properties": { +"spec": { +"$ref": "GoogleCloudApigeeV1DocumentationFile", +"description": "Required. The documentation file contents for the AsyncAPI Specification. JSON and YAML file formats are supported." +} +}, +"type": "object" +}, +"GoogleCloudApigeeV1AsyncQuery": { +"id": "GoogleCloudApigeeV1AsyncQuery", +"properties": { +"created": { +"description": "Creation time of the query.", +"type": "string" +}, +"envgroupHostname": { +"description": "Hostname is available only when query is executed at host level.", +"type": "string" +}, +"error": { +"description": "Error is set when query fails.", +"type": "string" +}, +"executionTime": { +"description": "ExecutionTime is available only after the query is completed.", +"type": "string" +}, +"name": { +"description": "Asynchronous Query Name.", +"type": "string" +}, +"queryParams": { +"$ref": "GoogleCloudApigeeV1QueryMetadata", +"description": "Contains information like metrics, dimenstions etc of the AsyncQuery." +}, +"reportDefinitionId": { +"description": "Asynchronous Report ID.", +"type": "string" +}, +"result": { +"$ref": "GoogleCloudApigeeV1AsyncQueryResult", +"description": "Result is available only after the query is completed." +}, +"resultFileSize": { +"description": "ResultFileSize is available only after the query is completed.", +"type": "string" +}, +"resultRows": { +"description": "ResultRows is available only after the query is completed.", +"format": "int64", +"type": "string" +}, +"self": { +"description": "Self link of the query. Example: `/organizations/myorg/environments/myenv/queries/9cfc0d85-0f30-46d6-ae6f-318d0cb961bd` or following format if query is running at host level: `/organizations/myorg/hostQueries/9cfc0d85-0f30-46d6-ae6f-318d0cb961bd`", +"type": "string" +}, +"state": { +"description": "Query state could be \"enqueued\", \"running\", \"completed\", \"failed\".", +"type": "string" +}, +"updated": { +"description": "Last updated timestamp for the query.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudApigeeV1AsyncQueryResult": { +"id": "GoogleCloudApigeeV1AsyncQueryResult", +"properties": { +"expires": { +"description": "Query result will be unaccessable after this time.", +"type": "string" +}, +"self": { +"description": "Self link of the query results. Example: `/organizations/myorg/environments/myenv/queries/9cfc0d85-0f30-46d6-ae6f-318d0cb961bd/result` or following format if query is running at host level: `/organizations/myorg/hostQueries/9cfc0d85-0f30-46d6-ae6f-318d0cb961bd/result`", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudApigeeV1AsyncQueryResultView": { +"id": "GoogleCloudApigeeV1AsyncQueryResultView", +"properties": { +"code": { +"description": "Error code when there is a failure.", +"format": "int32", +"type": "integer" +}, +"error": { +"description": "Error message when there is a failure.", +"type": "string" +}, +"metadata": { +"$ref": "GoogleCloudApigeeV1QueryMetadata", +"description": "Metadata contains information like metrics, dimenstions etc of the AsyncQuery." +}, +"rows": { +"description": "Rows of query result. Each row is a JSON object. Example: {sum(message_count): 1, developer_app: \"(not set)\",\u2026}", +"items": { +"type": "any" +}, +"type": "array" +}, +"state": { +"description": "State of retrieving ResultView.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudApigeeV1Attribute": { +"description": "Key-value pair to store extra metadata.", +"id": "GoogleCloudApigeeV1Attribute", +"properties": { +"name": { +"description": "API key of the attribute.", +"type": "string" +}, +"value": { +"description": "Value of the attribute.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudApigeeV1Attributes": { +"id": "GoogleCloudApigeeV1Attributes", +"properties": { +"attribute": { +"description": "List of attributes.", +"items": { +"$ref": "GoogleCloudApigeeV1Attribute" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudApigeeV1BatchComputeSecurityAssessmentResultsRequest": { +"description": "Request for BatchComputeSecurityAssessmentResults.", +"id": "GoogleCloudApigeeV1BatchComputeSecurityAssessmentResultsRequest", +"properties": { +"apiHubApis": { +"$ref": "GoogleCloudApigeeV1BatchComputeSecurityAssessmentResultsRequestApiHubApiArray", +"description": "An array of API Hub APIs to assess. A maximum of 1 API can be assessed." +}, +"apiHubGateways": { +"$ref": "GoogleCloudApigeeV1BatchComputeSecurityAssessmentResultsRequestApiHubGatewayArray", +"description": "An array of API Hub Gateways to assess. A maximum of 3 gateways can be assessed." +}, +"include": { +"$ref": "GoogleCloudApigeeV1BatchComputeSecurityAssessmentResultsRequestResourceArray", +"description": "Include only these resources." +}, +"includeAllResources": { +"$ref": "GoogleCloudApigeeV1BatchComputeSecurityAssessmentResultsRequestIncludeAll", +"description": "Include all resources under the scope." +}, +"pageSize": { +"description": "Optional. The maximum number of results to return. The service may return fewer than this value. If unspecified, at most 50 results will be returned.", +"format": "int32", +"type": "integer" +}, +"pageToken": { +"description": "Optional. A page token, received from a previous `BatchComputeSecurityAssessmentResults` call. Provide this to retrieve the subsequent page.", +"type": "string" +}, +"profile": { +"description": "Required. Name of the profile that is used for computation.", +"type": "string" +}, +"scope": { +"description": "Optional. Scope of the resources for the computation. When computing scores for Apigee proxies, the scope should be set to the environment of the resources. When computing scores for API Hub deployments, api_hub_scope should be set instead.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudApigeeV1BatchComputeSecurityAssessmentResultsRequestApiHubApiArray": { +"description": "Message for the array of API Hub APIs.", +"id": "GoogleCloudApigeeV1BatchComputeSecurityAssessmentResultsRequestApiHubApiArray", +"properties": { +"apis": { +"description": "Required. The array of API Hub API IDs. Format: `projects/{project}/locations/{location}/apis/{api}`", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudApigeeV1BatchComputeSecurityAssessmentResultsRequestApiHubGatewayArray": { +"description": "Message for the array of API Hub Gateways.", +"id": "GoogleCloudApigeeV1BatchComputeSecurityAssessmentResultsRequestApiHubGatewayArray", +"properties": { +"gateways": { +"description": "Required. The array of API Hub Gateway IDs. Format: `projects/{project}/locations/{location}/plugins/{plugin}/instances/{instance}`", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudApigeeV1BatchComputeSecurityAssessmentResultsRequestIncludeAll": { +"description": "Message for include_all_resources option.", +"id": "GoogleCloudApigeeV1BatchComputeSecurityAssessmentResultsRequestIncludeAll", +"properties": {}, +"type": "object" +}, +"GoogleCloudApigeeV1BatchComputeSecurityAssessmentResultsRequestResourceArray": { +"description": "Message for the array of resources. For Apigee, the proxies are resources.", +"id": "GoogleCloudApigeeV1BatchComputeSecurityAssessmentResultsRequestResourceArray", +"properties": { +"resources": { +"description": "Required. The array of resources. For Apigee, the proxies are resources.", +"items": { +"$ref": "GoogleCloudApigeeV1BatchComputeSecurityAssessmentResultsRequestResourceArrayResource" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudApigeeV1BatchComputeSecurityAssessmentResultsRequestResourceArrayResource": { +"description": "Resource for which we are computing security assessment.", +"id": "GoogleCloudApigeeV1BatchComputeSecurityAssessmentResultsRequestResourceArrayResource", +"properties": { +"name": { +"description": "Required. Name of this resource. For an Apigee API Proxy, this should be the id of the API proxy. For an API Hub Deployment, this should be the id of the deployment.", +"type": "string" +}, +"type": { +"description": "Required. Type of this resource.", +"enum": [ +"RESOURCE_TYPE_UNSPECIFIED", +"API_PROXY", +"API_HUB_DEPLOYMENT" +], +"enumDescriptions": [ +"ResourceType not specified.", +"Resource is an Apigee Proxy.", +"Resource is an API Hub deployment." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudApigeeV1BatchComputeSecurityAssessmentResultsResponse": { +"description": "Response for BatchComputeSecurityAssessmentResults.", +"id": "GoogleCloudApigeeV1BatchComputeSecurityAssessmentResultsResponse", +"properties": { +"assessmentTime": { +"description": "The time of the assessment api call.", +"format": "google-datetime", +"type": "string" +}, +"nextPageToken": { +"description": "A token that can be sent as `page_token` to retrieve the next page. If this field is blank, there are no subsequent pages.", +"type": "string" +}, +"securityAssessmentResults": { +"description": "Default sort order is by resource name in alphabetic order.", +"items": { +"$ref": "GoogleCloudApigeeV1SecurityAssessmentResult" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudApigeeV1BatchUpdateSecurityIncidentsRequest": { +"description": "Request for BatchUpdateSecurityIncident.", +"id": "GoogleCloudApigeeV1BatchUpdateSecurityIncidentsRequest", +"properties": { +"requests": { +"description": "Optional. Required. The request message specifying the resources to update. A maximum of 1000 can be modified in a batch.", +"items": { +"$ref": "GoogleCloudApigeeV1UpdateSecurityIncidentRequest" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudApigeeV1BatchUpdateSecurityIncidentsResponse": { +"description": "Response for BatchUpdateSecurityIncident.", +"id": "GoogleCloudApigeeV1BatchUpdateSecurityIncidentsResponse", +"properties": { +"securityIncidents": { +"description": "Output only. Updated security incidents", +"items": { +"$ref": "GoogleCloudApigeeV1SecurityIncident" +}, +"readOnly": true, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudApigeeV1CanaryEvaluation": { +"description": "CanaryEvaluation represents the canary analysis between two versions of the runtime that is serving requests.", +"id": "GoogleCloudApigeeV1CanaryEvaluation", +"properties": { +"control": { +"description": "Required. The stable version that is serving requests.", +"type": "string" +}, +"createTime": { +"description": "Output only. Create time of the canary evaluation.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"endTime": { +"description": "Required. End time for the evaluation's analysis.", +"format": "google-datetime", +"type": "string" +}, +"metricLabels": { +"$ref": "GoogleCloudApigeeV1CanaryEvaluationMetricLabels", +"description": "Required. Labels used to filter the metrics used for a canary evaluation." +}, +"name": { +"description": "Output only. Name of the canary evalution.", +"readOnly": true, +"type": "string" +}, +"startTime": { +"description": "Required. Start time for the canary evaluation's analysis.", +"format": "google-datetime", +"type": "string" +}, +"state": { +"description": "Output only. The current state of the canary evaluation.", +"enum": [ +"STATE_UNSPECIFIED", +"RUNNING", +"SUCCEEDED" +], +"enumDescriptions": [ +"No state has been specified.", +"The canary evaluation is still in progress.", +"The canary evaluation has finished." +], +"readOnly": true, +"type": "string" +}, +"treatment": { +"description": "Required. The newer version that is serving requests.", +"type": "string" +}, +"verdict": { +"description": "Output only. The resulting verdict of the canary evaluations: NONE, PASS, or FAIL.", +"enum": [ +"VERDICT_UNSPECIFIED", +"NONE", +"FAIL", +"PASS" +], +"enumDescriptions": [ +"Verdict is not available yet.", +"No verdict reached.", +"Evaluation is not good.", +"Evaluation is good." +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudApigeeV1CanaryEvaluationMetricLabels": { +"description": "Labels that can be used to filter Apigee metrics.", +"id": "GoogleCloudApigeeV1CanaryEvaluationMetricLabels", +"properties": { +"env": { +"description": "The environment ID associated with the metrics.", +"type": "string" +}, +"instance_id": { +"description": "Required. The instance ID associated with the metrics. In Apigee Hybrid, the value is configured during installation.", +"type": "string" +}, +"location": { +"description": "Required. The location associated with the metrics.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudApigeeV1CertInfo": { +"description": "X.509 certificate as defined in RFC 5280.", +"id": "GoogleCloudApigeeV1CertInfo", +"properties": { +"basicConstraints": { +"description": "X.509 basic constraints extension.", +"type": "string" +}, +"expiryDate": { +"description": "X.509 `notAfter` validity period in milliseconds since epoch.", +"format": "int64", +"type": "string" +}, +"isValid": { +"description": "Flag that specifies whether the certificate is valid. Flag is set to `Yes` if the certificate is valid, `No` if expired, or `Not yet` if not yet valid.", +"type": "string" +}, +"issuer": { +"description": "X.509 issuer.", +"type": "string" +}, +"publicKey": { +"description": "Public key component of the X.509 subject public key info.", +"type": "string" +}, +"serialNumber": { +"description": "X.509 serial number.", +"type": "string" +}, +"sigAlgName": { +"description": "X.509 signatureAlgorithm.", +"type": "string" +}, +"subject": { +"description": "X.509 subject.", +"type": "string" +}, +"subjectAlternativeNames": { +"description": "X.509 subject alternative names (SANs) extension.", +"items": { +"type": "string" +}, +"type": "array" +}, +"validFrom": { +"description": "X.509 `notBefore` validity period in milliseconds since epoch.", +"format": "int64", +"type": "string" +}, +"version": { +"description": "X.509 version.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"GoogleCloudApigeeV1Certificate": { +"id": "GoogleCloudApigeeV1Certificate", +"properties": { +"certInfo": { +"description": "Chain of certificates under this name.", +"items": { +"$ref": "GoogleCloudApigeeV1CertInfo" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudApigeeV1CommonNameConfig": { +"id": "GoogleCloudApigeeV1CommonNameConfig", +"properties": { +"matchWildCards": { +"type": "boolean" +}, +"name": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudApigeeV1ComputeEnvironmentScoresRequest": { +"description": "Request for ComputeEnvironmentScores.", +"id": "GoogleCloudApigeeV1ComputeEnvironmentScoresRequest", +"properties": { +"filters": { +"description": "Optional. Filters are used to filter scored components. Return all the components if no filter is mentioned. Example: [{ \"scorePath\": \"/org@myorg/envgroup@myenvgroup/env@myenv/proxies/proxy@myproxy/source\" }, { \"scorePath\": \"/org@myorg/envgroup@myenvgroup/env@myenv/proxies/proxy@myproxy/target\", }] This will return components with path: \"/org@myorg/envgroup@myenvgroup/env@myenv/proxies/proxy@myproxy/source\" OR \"/org@myorg/envgroup@myenvgroup/env@myenv/proxies/proxy@myproxy/target\"", +"items": { +"$ref": "GoogleCloudApigeeV1ComputeEnvironmentScoresRequestFilter" +}, +"type": "array" +}, +"pageSize": { +"description": "Optional. The maximum number of subcomponents to be returned in a single page. The service may return fewer than this value. If unspecified, at most 100 subcomponents will be returned in a single page.", +"format": "int32", +"type": "integer" +}, +"pageToken": { +"description": "Optional. A token that can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.", +"type": "string" +}, +"timeRange": { +"$ref": "GoogleTypeInterval", +"description": "Required. Time range for score calculation. At most 14 days of scores will be returned, and both the start and end dates must be within the last 90 days." +} +}, +"type": "object" +}, +"GoogleCloudApigeeV1ComputeEnvironmentScoresRequestFilter": { +"description": "Filter scores by component path. Used custom filter instead of AIP-160 as the use cases are highly constrained and predictable.", +"id": "GoogleCloudApigeeV1ComputeEnvironmentScoresRequestFilter", +"properties": { +"scorePath": { +"description": "Optional. Return scores for this component. Example: \"/org@myorg/envgroup@myenvgroup/env@myenv/proxies/proxy@myproxy/source\"", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudApigeeV1ComputeEnvironmentScoresResponse": { +"description": "Response for ComputeEnvironmentScores.", +"id": "GoogleCloudApigeeV1ComputeEnvironmentScoresResponse", +"properties": { +"nextPageToken": { +"description": "A page token, received from a previous `ComputeScore` call. Provide this to retrieve the subsequent page.", +"type": "string" +}, +"scores": { +"description": "List of scores. One score per day.", +"items": { +"$ref": "GoogleCloudApigeeV1Score" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudApigeeV1ConfigVersion": { +"description": "Version of the API proxy configuration schema. Currently, only 4.0 is supported.", +"id": "GoogleCloudApigeeV1ConfigVersion", +"properties": { +"majorVersion": { +"description": "Major version of the API proxy configuration schema.", +"format": "int32", +"type": "integer" +}, +"minorVersion": { +"description": "Minor version of the API proxy configuration schema.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"GoogleCloudApigeeV1ConnectorsPlatformConfig": { +"description": "Configuration for the Connectors Platform add-on.", +"id": "GoogleCloudApigeeV1ConnectorsPlatformConfig", +"properties": { +"enabled": { +"description": "Flag that specifies whether the Connectors Platform add-on is enabled.", +"type": "boolean" +}, +"expiresAt": { +"description": "Output only. Time at which the Connectors Platform add-on expires in milliseconds since epoch. If unspecified, the add-on will never expire.", +"format": "int64", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudApigeeV1ControlPlaneAccess": { +"description": "ControlPlaneAccess is the request body and response body of UpdateControlPlaneAccess. and the response body of GetControlPlaneAccess. The input identities contains an array of service accounts to grant access to the respective control plane resource, with each service account specified using the following format: `serviceAccount:`***service-account-name***. The ***service-account-name*** is formatted like an email address. For example: `my-control-plane-service_account@my_project_id.iam.gserviceaccount.com` You might specify multiple service accounts, for example, if you have multiple environments and wish to assign a unique service account to each one.", +"id": "GoogleCloudApigeeV1ControlPlaneAccess", +"properties": { +"analyticsPublisherIdentities": { +"description": "Optional. Array of service accounts authorized to publish analytics data to the control plane (for the Message Processor component).", +"items": { +"type": "string" +}, +"type": "array" +}, +"name": { +"description": "Identifier. The resource name of the ControlPlaneAccess. Format: \"organizations/{org}/controlPlaneAccess\"", +"type": "string" +}, +"synchronizerIdentities": { +"description": "Optional. Array of service accounts to grant access to control plane resources (for the Synchronizer component). The service accounts must have **Apigee Synchronizer Manager** role. See also [Create service accounts](https://cloud.google.com/apigee/docs/hybrid/latest/sa-about#create-the-service-accounts).", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudApigeeV1Credential": { +"id": "GoogleCloudApigeeV1Credential", +"properties": { +"apiProducts": { +"description": "List of API products this credential can be used for.", +"items": { +"$ref": "GoogleCloudApigeeV1ApiProductRef" +}, +"type": "array" +}, +"attributes": { +"description": "List of attributes associated with this credential.", +"items": { +"$ref": "GoogleCloudApigeeV1Attribute" +}, +"type": "array" +}, +"consumerKey": { +"description": "Consumer key.", +"type": "string" +}, +"consumerSecret": { +"description": "Secret key.", +"type": "string" +}, +"expiresAt": { +"description": "Time the credential will expire in milliseconds since epoch.", +"format": "int64", +"type": "string" +}, +"issuedAt": { +"description": "Time the credential was issued in milliseconds since epoch.", +"format": "int64", +"type": "string" +}, +"scopes": { +"description": "List of scopes to apply to the app. Specified scopes must already exist on the API product that you associate with the app.", +"items": { +"type": "string" +}, +"type": "array" +}, +"status": { +"description": "Status of the credential. Valid values include `approved` or `revoked`.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudApigeeV1CreditAppGroupBalanceRequest": { +"description": "Request for CreditAppGroupBalance.", +"id": "GoogleCloudApigeeV1CreditAppGroupBalanceRequest", +"properties": { +"transactionAmount": { +"$ref": "GoogleTypeMoney", +"description": "Required. The amount of money to be credited. The wallet corresponding to the currency specified within `transaction_amount` will be updated. For example, if you specified `currency_code` within `transaction_amount` as \"USD\", then the amount would be added to the wallet which has the \"USD\" currency or if no such wallet exists, a new wallet will be created with the \"USD\" currency." +}, +"transactionId": { +"description": "Required. Each transaction_id uniquely identifies a credit balance request. If multiple requests are received with the same transaction_id, only one of them will be considered.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudApigeeV1CreditDeveloperBalanceRequest": { +"description": "Request for CreditDeveloperBalance.", +"id": "GoogleCloudApigeeV1CreditDeveloperBalanceRequest", +"properties": { +"transactionAmount": { +"$ref": "GoogleTypeMoney", +"description": "The amount of money to be credited. The wallet corresponding to the currency specified within `transaction_amount` will be updated. For example, if you specified `currency_code` within `transaction_amount` as \"USD\", then the amount would be added to the wallet which has the \"USD\" currency or if no such wallet exists, a new wallet will be created with the \"USD\" currency." +}, +"transactionId": { +"description": "Each transaction_id uniquely identifies a credit balance request. If multiple requests are received with the same transaction_id, only one of them will be considered.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudApigeeV1CustomReport": { +"id": "GoogleCloudApigeeV1CustomReport", +"properties": { +"chartType": { +"description": "This field contains the chart type for the report", +"type": "string" +}, +"comments": { +"description": "Legacy field: not used. This field contains a list of comments associated with custom report", +"items": { +"type": "string" +}, +"type": "array" +}, +"createdAt": { +"description": "Output only. Unix time when the app was created json key: createdAt", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"dimensions": { +"description": "This contains the list of dimensions for the report", +"items": { +"type": "string" +}, +"type": "array" +}, +"displayName": { +"description": "This is the display name for the report", +"type": "string" +}, +"environment": { +"description": "Output only. Environment name", +"readOnly": true, +"type": "string" +}, +"filter": { +"description": "This field contains the filter expression", +"type": "string" +}, +"fromTime": { +"description": "Legacy field: not used. Contains the from time for the report", +"type": "string" +}, +"lastModifiedAt": { +"description": "Output only. Modified time of this entity as milliseconds since epoch. json key: lastModifiedAt", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"lastViewedAt": { +"description": "Output only. Last viewed time of this entity as milliseconds since epoch", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"limit": { +"description": "Legacy field: not used This field contains the limit for the result retrieved", +"type": "string" +}, +"metrics": { +"description": "Required. This contains the list of metrics", +"items": { +"$ref": "GoogleCloudApigeeV1CustomReportMetric" +}, +"type": "array" +}, +"name": { +"description": "Required. Unique identifier for the report T his is a legacy field used to encode custom report unique id", +"type": "string" +}, +"offset": { +"description": "Legacy field: not used. This field contains the offset for the data", +"type": "string" +}, +"organization": { +"description": "Output only. Organization name", +"readOnly": true, +"type": "string" +}, +"properties": { +"description": "This field contains report properties such as ui metadata etc.", +"items": { +"$ref": "GoogleCloudApigeeV1ReportProperty" +}, +"type": "array" +}, +"sortByCols": { +"description": "Legacy field: not used much. Contains the list of sort by columns", +"items": { +"type": "string" +}, +"type": "array" +}, +"sortOrder": { +"description": "Legacy field: not used much. Contains the sort order for the sort columns", +"type": "string" +}, +"tags": { +"description": "Legacy field: not used. This field contains a list of tags associated with custom report", +"items": { +"type": "string" +}, +"type": "array" +}, +"timeUnit": { +"description": "This field contains the time unit of aggregation for the report", +"type": "string" +}, +"toTime": { +"description": "Legacy field: not used. Contains the end time for the report", +"type": "string" +}, +"topk": { +"description": "Legacy field: not used. This field contains the top k parameter value for restricting the result", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudApigeeV1CustomReportMetric": { +"description": "This encapsulates a metric property of the form sum(message_count) where name is message_count and function is sum", +"id": "GoogleCloudApigeeV1CustomReportMetric", +"properties": { +"function": { +"description": "aggregate function", +"type": "string" +}, +"name": { +"description": "name of the metric", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudApigeeV1DataCollector": { +"description": "Data collector configuration.", +"id": "GoogleCloudApigeeV1DataCollector", +"properties": { +"createdAt": { +"description": "Output only. The time at which the data collector was created in milliseconds since the epoch.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"description": { +"description": "A description of the data collector.", +"type": "string" +}, +"lastModifiedAt": { +"description": "Output only. The time at which the Data Collector was last updated in milliseconds since the epoch.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"name": { +"description": "ID of the data collector. Must begin with `dc_`.", +"type": "string" +}, +"type": { +"description": "Immutable. The type of data this data collector will collect.", +"enum": [ +"TYPE_UNSPECIFIED", +"INTEGER", +"FLOAT", +"STRING", +"BOOLEAN", +"DATETIME" +], +"enumDescriptions": [ +"For future compatibility.", +"For integer values.", +"For float values.", +"For string values.", +"For boolean values.", +"For datetime values." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudApigeeV1DataCollectorConfig": { +"description": "Data collector and its configuration.", +"id": "GoogleCloudApigeeV1DataCollectorConfig", +"properties": { +"name": { +"description": "Name of the data collector in the following format: `organizations/{org}/datacollectors/{datacollector}`", +"type": "string" +}, +"type": { +"description": "Data type accepted by the data collector.", +"enum": [ +"TYPE_UNSPECIFIED", +"INTEGER", +"FLOAT", +"STRING", +"BOOLEAN", +"DATETIME" +], +"enumDescriptions": [ +"For future compatibility.", +"For integer values.", +"For float values.", +"For string values.", +"For boolean values.", +"For datetime values." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudApigeeV1Datastore": { +"description": "The data store defines the connection to export data repository (Cloud Storage, BigQuery), including the credentials used to access the data repository.", +"id": "GoogleCloudApigeeV1Datastore", +"properties": { +"createTime": { +"description": "Output only. Datastore create time, in milliseconds since the epoch of 1970-01-01T00:00:00Z", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"datastoreConfig": { +"$ref": "GoogleCloudApigeeV1DatastoreConfig", +"description": "Datastore Configurations." +}, +"displayName": { +"description": "Required. Display name in UI", +"type": "string" +}, +"lastUpdateTime": { +"description": "Output only. Datastore last update time, in milliseconds since the epoch of 1970-01-01T00:00:00Z", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"org": { +"description": "Output only. Organization that the datastore belongs to", +"readOnly": true, +"type": "string" +}, +"self": { +"description": "Output only. Resource link of Datastore. Example: `/organizations/{org}/analytics/datastores/{uuid}`", +"readOnly": true, +"type": "string" +}, +"targetType": { +"description": "Destination storage type. Supported types `gcs` or `bigquery`.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudApigeeV1DatastoreConfig": { +"description": "Configuration detail for datastore", +"id": "GoogleCloudApigeeV1DatastoreConfig", +"properties": { +"bucketName": { +"description": "Name of the Cloud Storage bucket. Required for `gcs` target_type.", +"type": "string" +}, +"datasetName": { +"description": "BigQuery dataset name Required for `bigquery` target_type.", +"type": "string" +}, +"path": { +"description": "Path of Cloud Storage bucket Required for `gcs` target_type.", +"type": "string" +}, +"projectId": { +"description": "Required. Google Cloud project in which the datastore exists", +"type": "string" +}, +"tablePrefix": { +"description": "Prefix of BigQuery table Required for `bigquery` target_type.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudApigeeV1DateRange": { +"description": "Date range of the data to export.", +"id": "GoogleCloudApigeeV1DateRange", +"properties": { +"end": { +"description": "Required. End date (exclusive) of the data to export in the format `yyyy-mm-dd`. The date range ends at 00:00:00 UTC on the end date- which will not be in the output.", +"type": "string" +}, +"start": { +"description": "Required. Start date of the data to export in the format `yyyy-mm-dd`. The date range begins at 00:00:00 UTC on the start date.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudApigeeV1DebugMask": { +"id": "GoogleCloudApigeeV1DebugMask", +"properties": { +"faultJSONPaths": { +"description": "List of JSON paths that specify the JSON elements to be filtered from JSON payloads in error flows.", +"items": { +"type": "string" +}, +"type": "array" +}, +"faultXPaths": { +"description": "List of XPaths that specify the XML elements to be filtered from XML payloads in error flows.", +"items": { +"type": "string" +}, +"type": "array" +}, +"name": { +"description": "Name of the debug mask.", +"type": "string" +}, +"namespaces": { +"additionalProperties": { +"type": "string" +}, +"description": "Map of namespaces to URIs.", +"type": "object" +}, +"requestJSONPaths": { +"description": "List of JSON paths that specify the JSON elements to be filtered from JSON request message payloads.", +"items": { +"type": "string" +}, +"type": "array" +}, +"requestXPaths": { +"description": "List of XPaths that specify the XML elements to be filtered from XML request message payloads.", +"items": { +"type": "string" +}, +"type": "array" +}, +"responseJSONPaths": { +"description": "List of JSON paths that specify the JSON elements to be filtered from JSON response message payloads.", +"items": { +"type": "string" +}, +"type": "array" +}, +"responseXPaths": { +"description": "List of XPaths that specify the XML elements to be filtered from XML response message payloads.", +"items": { +"type": "string" +}, +"type": "array" +}, +"variables": { +"description": "List of variables that should be masked from the debug output.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudApigeeV1DebugSession": { +"id": "GoogleCloudApigeeV1DebugSession", +"properties": { +"count": { +"description": "Optional. The number of request to be traced. Min = 1, Max = 15, Default = 10.", +"format": "int32", +"type": "integer" +}, +"createTime": { +"description": "Output only. The first transaction creation timestamp, recorded by UAP.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"filter": { +"description": "Optional. A conditional statement which is evaluated against the request message to determine if it should be traced. Syntax matches that of on API Proxy bundle flow Condition.", +"type": "string" +}, +"name": { +"description": "A unique ID for this DebugSession.", +"type": "string" +}, +"timeout": { +"description": "Optional. The time in seconds after which this DebugSession should end. This value will override the value in query param, if both are provided.", +"format": "int64", +"type": "string" +}, +"tracesize": { +"description": "Optional. The maximum number of bytes captured from the response payload. Min = 0, Max = 5120, Default = 5120.", +"format": "int32", +"type": "integer" +}, +"validity": { +"description": "Optional. The length of time, in seconds, that this debug session is valid, starting from when it's received in the control plane. Min = 1, Max = 15, Default = 10.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"GoogleCloudApigeeV1DebugSessionTransaction": { +"description": "A transaction contains all of the debug information of the entire message flow of an API call processed by the runtime plane. The information is collected and recorded at critical points of the message flow in the runtime apiproxy.", +"id": "GoogleCloudApigeeV1DebugSessionTransaction", +"properties": { +"completed": { +"description": "Flag indicating whether a transaction is completed or not", +"type": "boolean" +}, +"point": { +"description": "List of debug data collected by runtime plane at various defined points in the flow.", +"items": { +"$ref": "GoogleCloudApigeeV1Point" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudApigeeV1DeleteCustomReportResponse": { +"id": "GoogleCloudApigeeV1DeleteCustomReportResponse", +"properties": { +"message": { +"description": "The response contains only a message field.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudApigeeV1DeleteResponse": { +"description": "Response for certain delete operations.", +"id": "GoogleCloudApigeeV1DeleteResponse", +"properties": { +"errorCode": { +"description": "Unique error code for the request, if any.", +"type": "string" +}, +"gcpResource": { +"description": "Google Cloud name of deleted resource.", +"type": "string" +}, +"message": { +"description": "Description of the operation.", +"type": "string" +}, +"requestId": { +"description": "Unique ID of the request.", +"type": "string" +}, +"status": { +"description": "Status of the operation.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudApigeeV1Deployment": { +"description": "Deployment represents a deployment of an API proxy or shared flow.", +"id": "GoogleCloudApigeeV1Deployment", +"properties": { +"apiProxy": { +"description": "API proxy.", +"type": "string" +}, +"deployStartTime": { +"description": "Time the API proxy was marked `deployed` in the control plane in millisconds since epoch.", +"format": "int64", +"type": "string" +}, +"environment": { +"description": "Environment.", +"type": "string" +}, +"errors": { +"description": "Errors reported for this deployment. Populated only when state == ERROR. **Note**: This field is displayed only when viewing deployment status.", +"items": { +"$ref": "GoogleRpcStatus" +}, +"type": "array" +}, +"instances": { +"description": "Status reported by each runtime instance. **Note**: This field is displayed only when viewing deployment status.", +"items": { +"$ref": "GoogleCloudApigeeV1InstanceDeploymentStatus" +}, +"type": "array" +}, +"pods": { +"description": "Status reported by runtime pods. **Note**: **This field is deprecated**. Runtime versions 1.3 and above report instance level status rather than pod status.", +"items": { +"$ref": "GoogleCloudApigeeV1PodStatus" +}, +"type": "array" +}, +"proxyDeploymentType": { +"description": "Output only. The type of the deployment (standard or extensible) Deployed proxy revision will be marked as extensible in following 2 cases. 1. The deployed proxy revision uses extensible policies. 2. If a environment supports flowhooks and flow hook is configured.", +"enum": [ +"PROXY_DEPLOYMENT_TYPE_UNSPECIFIED", +"STANDARD", +"EXTENSIBLE" +], +"enumDescriptions": [ +"Default value till public preview. After public preview this value should not be returned.", +"Deployment will be of type Standard if only Standard proxies are used", +"Proxy will be of type Extensible if deployments uses one or more Extensible proxies" +], +"readOnly": true, +"type": "string" +}, +"revision": { +"description": "API proxy revision.", +"type": "string" +}, +"routeConflicts": { +"description": "Conflicts in the desired state routing configuration. The presence of conflicts does not cause the state to be `ERROR`, but it will mean that some of the deployment's base paths are not routed to its environment. If the conflicts change, the state will transition to `PROGRESSING` until the latest configuration is rolled out to all instances. **Note**: This field is displayed only when viewing deployment status.", +"items": { +"$ref": "GoogleCloudApigeeV1DeploymentChangeReportRoutingConflict" +}, +"type": "array" +}, +"serviceAccount": { +"description": "The full resource name of Cloud IAM Service Account that this deployment is using, eg, `projects/-/serviceAccounts/{email}`.", +"type": "string" +}, +"state": { +"description": "Current state of the deployment. **Note**: This field is displayed only when viewing deployment status.", +"enum": [ +"RUNTIME_STATE_UNSPECIFIED", +"READY", +"PROGRESSING", +"ERROR" +], +"enumDescriptions": [ +"This value should never be returned.", +"Runtime has loaded the deployment.", +"Deployment is not fully ready in the runtime.", +"Encountered an error with the deployment that requires intervention." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudApigeeV1DeploymentChangeReport": { +"description": "Response for GenerateDeployChangeReport and GenerateUndeployChangeReport. This report contains any validation failures that would cause the deployment to be rejected, as well changes and conflicts in routing that may occur due to the new deployment. The existence of a routing warning does not necessarily imply that the deployment request is bad, if the desired state of the deployment request is to effect a routing change. The primary purposes of the routing messages are: 1) To inform users of routing changes that may have an effect on traffic currently being routed to other existing deployments. 2) To warn users if some base path in the proxy will not receive traffic due to an existing deployment having already claimed that base path. The presence of routing conflicts/changes will not cause non-dry-run DeployApiProxy/UndeployApiProxy requests to be rejected.", +"id": "GoogleCloudApigeeV1DeploymentChangeReport", +"properties": { +"routingChanges": { +"description": "All routing changes that may result from a deployment request.", +"items": { +"$ref": "GoogleCloudApigeeV1DeploymentChangeReportRoutingChange" +}, +"type": "array" +}, +"routingConflicts": { +"description": "All base path conflicts detected for a deployment request.", +"items": { +"$ref": "GoogleCloudApigeeV1DeploymentChangeReportRoutingConflict" +}, +"type": "array" +}, +"validationErrors": { +"$ref": "GoogleRpcPreconditionFailure", +"description": "Validation errors that would cause the deployment change request to be rejected." +} +}, +"type": "object" +}, +"GoogleCloudApigeeV1DeploymentChangeReportRoutingChange": { +"description": "Describes a potential routing change that may occur as a result of some deployment operation.", +"id": "GoogleCloudApigeeV1DeploymentChangeReportRoutingChange", +"properties": { +"description": { +"description": "Human-readable description of this routing change.", +"type": "string" +}, +"environmentGroup": { +"description": "Name of the environment group affected by this routing change.", +"type": "string" +}, +"fromDeployment": { +"$ref": "GoogleCloudApigeeV1DeploymentChangeReportRoutingDeployment", +"description": "Base path/deployment that may stop receiving some traffic." +}, +"shouldSequenceRollout": { +"description": "Set to `true` if using sequenced rollout would make this routing change safer. **Note**: This does not necessarily imply that automated sequenced rollout mode is supported for the operation.", +"type": "boolean" +}, +"toDeployment": { +"$ref": "GoogleCloudApigeeV1DeploymentChangeReportRoutingDeployment", +"description": "Base path/deployment that may start receiving that traffic. May be null if no deployment is able to receive the traffic." +} +}, +"type": "object" +}, +"GoogleCloudApigeeV1DeploymentChangeReportRoutingConflict": { +"description": "Describes a routing conflict that may cause a deployment not to receive traffic at some base path.", +"id": "GoogleCloudApigeeV1DeploymentChangeReportRoutingConflict", +"properties": { +"conflictingDeployment": { +"$ref": "GoogleCloudApigeeV1DeploymentChangeReportRoutingDeployment", +"description": "Existing base path/deployment causing the conflict." +}, +"description": { +"description": "Human-readable description of this conflict.", +"type": "string" +}, +"environmentGroup": { +"description": "Name of the environment group in which this conflict exists.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudApigeeV1DeploymentChangeReportRoutingDeployment": { +"description": "Tuple representing a base path and the deployment containing it.", +"id": "GoogleCloudApigeeV1DeploymentChangeReportRoutingDeployment", +"properties": { +"apiProxy": { +"description": "Name of the deployed API proxy revision containing the base path.", +"type": "string" +}, +"basepath": { +"description": "Base path receiving traffic.", +"type": "string" +}, +"environment": { +"description": "Name of the environment in which the proxy is deployed.", +"type": "string" +}, +"revision": { +"description": "Name of the deployed API proxy revision containing the base path.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudApigeeV1DeploymentConfig": { +"description": "NEXT ID: 11", +"id": "GoogleCloudApigeeV1DeploymentConfig", +"properties": { +"attributes": { +"additionalProperties": { +"type": "string" +}, +"description": "Additional key-value metadata for the deployment.", +"type": "object" +}, +"basePath": { +"description": "Base path where the application will be hosted. Defaults to \"/\".", +"type": "string" +}, +"deploymentGroups": { +"description": "The list of deployment groups in which this proxy should be deployed. Not currently populated for shared flows.", +"items": { +"type": "string" +}, +"type": "array" +}, +"endpoints": { +"additionalProperties": { +"type": "string" +}, +"description": "A mapping from basepaths to proxy endpoint names in this proxy. Not populated for shared flows.", +"type": "object" +}, +"location": { +"description": "Location of the API proxy bundle as a URI.", +"type": "string" +}, +"name": { +"description": "Name of the API or shared flow revision to be deployed in the following format: `organizations/{org}/apis/{api}/revisions/{rev}` or `organizations/{org}/sharedflows/{sharedflow}/revisions/{rev}`", +"type": "string" +}, +"proxyUid": { +"description": "Unique ID of the API proxy revision.", +"type": "string" +}, +"serviceAccount": { +"description": "The service account identity associated with this deployment. If non-empty, will be in the following format: `projects/-/serviceAccounts/{account_email}`", +"type": "string" +}, +"uid": { +"description": "Unique ID. The ID will only change if the deployment is deleted and recreated.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudApigeeV1DeploymentGroupConfig": { +"description": "DeploymentGroupConfig represents a deployment group that should be present in a particular environment.", +"id": "GoogleCloudApigeeV1DeploymentGroupConfig", +"properties": { +"deploymentGroupType": { +"description": "Type of the deployment group, which will be either Standard or Extensible.", +"enum": [ +"DEPLOYMENT_GROUP_TYPE_UNSPECIFIED", +"STANDARD", +"EXTENSIBLE" +], +"enumDescriptions": [ +"Unspecified type", +"Standard type", +"Extensible Type" +], +"type": "string" +}, +"name": { +"description": "Name of the deployment group in the following format: `organizations/{org}/environments/{env}/deploymentGroups/{group}`.", +"type": "string" +}, +"revisionId": { +"description": "Revision number which can be used by the runtime to detect if the deployment group has changed between two versions.", +"format": "int64", +"type": "string" +}, +"uid": { +"description": "Unique ID. The ID will only change if the deployment group is deleted and recreated.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudApigeeV1Developer": { +"id": "GoogleCloudApigeeV1Developer", +"properties": { +"accessType": { +"description": "Access type.", +"type": "string" +}, +"appFamily": { +"description": "Developer app family.", +"type": "string" +}, +"apps": { +"description": "List of apps associated with the developer.", +"items": { +"type": "string" +}, +"type": "array" +}, +"attributes": { +"description": "Optional. Developer attributes (name/value pairs). The custom attribute limit is 18.", +"items": { +"$ref": "GoogleCloudApigeeV1Attribute" +}, +"type": "array" +}, +"companies": { +"description": "List of companies associated with the developer.", +"items": { +"type": "string" +}, +"type": "array" +}, +"createdAt": { +"description": "Output only. Time at which the developer was created in milliseconds since epoch.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"developerId": { +"description": "ID of the developer. **Note**: IDs are generated internally by Apigee and are not guaranteed to stay the same over time.", +"type": "string" +}, +"email": { +"description": "Required. Email address of the developer. This value is used to uniquely identify the developer in Apigee hybrid. Note that the email address has to be in lowercase only.", +"type": "string" +}, +"firstName": { +"description": "Required. First name of the developer.", +"type": "string" +}, +"lastModifiedAt": { +"description": "Output only. Time at which the developer was last modified in milliseconds since epoch.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"lastName": { +"description": "Required. Last name of the developer.", +"type": "string" +}, +"organizationName": { +"description": "Output only. Name of the Apigee organization in which the developer resides.", +"readOnly": true, +"type": "string" +}, +"status": { +"description": "Output only. Status of the developer. Valid values are `active` and `inactive`.", +"readOnly": true, +"type": "string" +}, +"userName": { +"description": "Required. User name of the developer. Not used by Apigee hybrid.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudApigeeV1DeveloperApp": { +"id": "GoogleCloudApigeeV1DeveloperApp", +"properties": { +"apiProducts": { +"description": "List of API products associated with the developer app.", +"items": { +"type": "string" +}, +"type": "array" +}, +"appFamily": { +"description": "Developer app family.", +"type": "string" +}, +"appId": { +"description": "ID of the developer app. This ID is not user specified but is automatically generated on app creation. appId is a UUID.", +"type": "string" +}, +"attributes": { +"description": "List of attributes for the developer app.", +"items": { +"$ref": "GoogleCloudApigeeV1Attribute" +}, +"type": "array" +}, +"callbackUrl": { +"description": "Callback URL used by OAuth 2.0 authorization servers to communicate authorization codes back to developer apps.", +"type": "string" +}, +"createdAt": { +"description": "Output only. Time the developer app was created in milliseconds since epoch.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"credentials": { +"description": "Output only. Set of credentials for the developer app consisting of the consumer key/secret pairs associated with the API products.", +"items": { +"$ref": "GoogleCloudApigeeV1Credential" +}, +"readOnly": true, +"type": "array" +}, +"developerId": { +"description": "ID of the developer.", +"type": "string" +}, +"keyExpiresIn": { +"description": "Expiration time, in milliseconds, for the consumer key that is generated for the developer app. If not set or left to the default value of `-1`, the API key never expires. The expiration time can't be updated after it is set.", +"format": "int64", +"type": "string" +}, +"lastModifiedAt": { +"description": "Output only. Time the developer app was modified in milliseconds since epoch.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"name": { +"description": "Name of the developer app.", +"type": "string" +}, +"scopes": { +"description": "Scopes to apply to the developer app. The specified scopes must already exist for the API product that you associate with the developer app.", +"items": { +"type": "string" +}, +"type": "array" +}, +"status": { +"description": "Status of the credential. Valid values include `approved` or `revoked`.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudApigeeV1DeveloperAppKey": { +"id": "GoogleCloudApigeeV1DeveloperAppKey", +"properties": { +"apiProducts": { +"description": "List of API products for which the credential can be used. **Note**: Do not specify the list of API products when creating a consumer key and secret for a developer app. Instead, use the UpdateDeveloperAppKey API to make the association after the consumer key and secret are created.", +"items": { +"type": "any" +}, +"type": "array" +}, +"attributes": { +"description": "List of attributes associated with the credential.", +"items": { +"$ref": "GoogleCloudApigeeV1Attribute" +}, +"type": "array" +}, +"consumerKey": { +"description": "Consumer key.", +"type": "string" +}, +"consumerSecret": { +"description": "Secret key.", +"type": "string" +}, +"expiresAt": { +"description": "Time the developer app expires in milliseconds since epoch.", +"format": "int64", +"type": "string" +}, +"expiresInSeconds": { +"description": "Input only. Expiration time, in seconds, for the consumer key. If not set or left to the default value of `-1`, the API key never expires. The expiration time can't be updated after it is set.", +"format": "int64", +"type": "string" +}, +"issuedAt": { +"description": "Time the developer app was created in milliseconds since epoch.", +"format": "int64", +"type": "string" +}, +"scopes": { +"description": "Scopes to apply to the app. The specified scope names must already be defined for the API product that you associate with the app.", +"items": { +"type": "string" +}, +"type": "array" +}, +"status": { +"description": "Status of the credential. Valid values include `approved` or `revoked`.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudApigeeV1DeveloperBalance": { +"description": "Account balance for the developer.", +"id": "GoogleCloudApigeeV1DeveloperBalance", +"properties": { +"wallets": { +"description": "Output only. List of all wallets. Each individual wallet stores the account balance for a particular currency.", +"items": { +"$ref": "GoogleCloudApigeeV1DeveloperBalanceWallet" +}, +"readOnly": true, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudApigeeV1DeveloperBalanceWallet": { +"description": "Wallet used to manage an account balance for a particular currency.", +"id": "GoogleCloudApigeeV1DeveloperBalanceWallet", +"properties": { +"balance": { +"$ref": "GoogleTypeMoney", +"description": "Current remaining balance of the developer for a particular currency." +}, +"lastCreditTime": { +"description": "Output only. Time at which the developer last added credit to the account in milliseconds since epoch.", +"format": "int64", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudApigeeV1DeveloperMonetizationConfig": { +"description": "Monetization configuration for the developer.", +"id": "GoogleCloudApigeeV1DeveloperMonetizationConfig", +"properties": { +"billingType": { +"description": "Billing type.", +"enum": [ +"BILLING_TYPE_UNSPECIFIED", +"PREPAID", +"POSTPAID" +], +"enumDescriptions": [ +"The default/unset value.", +"Developer pays in advance for the use of APIs and the charged amount is deducted from their account balance.", +"Developer does not maintain an account balance. The API provider bills the developer for API usage." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudApigeeV1DeveloperSubscription": { +"description": "Structure of a DeveloperSubscription.", +"id": "GoogleCloudApigeeV1DeveloperSubscription", +"properties": { +"apiproduct": { +"description": "Name of the API product for which the developer is purchasing a subscription.", +"type": "string" +}, +"createdAt": { +"description": "Output only. Time when the API product subscription was created in milliseconds since epoch.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"endTime": { +"description": "Time when the API product subscription ends in milliseconds since epoch.", +"format": "int64", +"type": "string" +}, +"lastModifiedAt": { +"description": "Output only. Time when the API product subscription was last modified in milliseconds since epoch.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"name": { +"description": "Output only. Name of the API product subscription.", +"readOnly": true, +"type": "string" +}, +"startTime": { +"description": "Time when the API product subscription starts in milliseconds since epoch.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudApigeeV1DimensionMetric": { +"description": "Encapsulates a metric grouped by dimension.", +"id": "GoogleCloudApigeeV1DimensionMetric", +"properties": { +"individualNames": { +"description": "Individual dimension names. E.g. [\"dim1_name\", \"dim2_name\"].", +"items": { +"type": "string" +}, +"type": "array" +}, +"metrics": { +"description": "List of metrics.", +"items": { +"$ref": "GoogleCloudApigeeV1Metric" +}, +"type": "array" +}, +"name": { +"deprecated": true, +"description": "Comma joined dimension names. E.g. \"dim1_name,dim2_name\". Deprecated. If name already has comma before join, we may get wrong splits. Please use individual_names.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudApigeeV1DisableSecurityActionRequest": { +"description": "Message to disable an enabled SecurityAction.", +"id": "GoogleCloudApigeeV1DisableSecurityActionRequest", +"properties": {}, +"type": "object" +}, +"GoogleCloudApigeeV1DnsZone": { +"description": "A DNS zone is a resource under an Apigee organization that is used to create a DNS peering with Apigee's network. DNS peering will let Apigee instances resolve the hostnames created in a peered network.", +"id": "GoogleCloudApigeeV1DnsZone", +"properties": { +"createTime": { +"description": "Output only. The time that this resource was created on the server.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"description": { +"description": "Required. Description of the resource. String of at most 1024 characters associated with this resource for the user's convenience.", +"type": "string" +}, +"domain": { +"description": "Required. The domain name for hosts in this private zone, for instance \"example.com.\".", +"type": "string" +}, +"name": { +"description": "Identifier. Unique name for the resource. Defined by the server Format: \"organizations/{organization}/dnsZones/{dns_zone}\".", +"type": "string" +}, +"peeringConfig": { +"$ref": "GoogleCloudApigeeV1DnsZonePeeringConfig", +"description": "DNS PEERING zone configuration." +}, +"state": { +"description": "Output only. State of the DNS Peering. Values other than `ACTIVE` mean the resource is not ready to use.", +"enum": [ +"STATE_UNSPECIFIED", +"CREATING", +"ACTIVE", +"DELETING", +"UPDATING" +], +"enumDescriptions": [ +"Resource is in an unspecified state.", +"Resource is being created.", +"Resource is provisioned and ready to use.", +"The resource is being deleted.", +"The resource is being updated." +], +"readOnly": true, +"type": "string" +}, +"updateTime": { +"description": "Output only. The time that this resource was updated on the server.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudApigeeV1DnsZonePeeringConfig": { +"description": "Fields for DNS PEERING zone.", +"id": "GoogleCloudApigeeV1DnsZonePeeringConfig", +"properties": { +"targetNetworkId": { +"description": "Required. The VPC network where the records for that private DNS zone's namespace are available. Apigee will be performing DNS peering with this VPC network.", +"type": "string" +}, +"targetProjectId": { +"description": "Required. The ID of the project that contains the producer VPC network.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudApigeeV1DocumentationFile": { +"description": "Documentation file contents for a catalog item.", +"id": "GoogleCloudApigeeV1DocumentationFile", +"properties": { +"contents": { +"description": "Required. The file contents. The max size is 4 MB.", +"format": "byte", +"type": "string" +}, +"displayName": { +"description": "Required. A display name for the file, shown in the management UI. Max length is 255 characters.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudApigeeV1EnableSecurityActionRequest": { +"description": "Message to enable a disabled SecurityAction.", +"id": "GoogleCloudApigeeV1EnableSecurityActionRequest", +"properties": {}, +"type": "object" +}, +"GoogleCloudApigeeV1EndpointAttachment": { +"description": "Apigee endpoint attachment. For more information, see [Southbound networking patterns] (https://cloud.google.com/apigee/docs/api-platform/architecture/southbound-networking-patterns-endpoints).", +"id": "GoogleCloudApigeeV1EndpointAttachment", +"properties": { +"connectionState": { +"description": "Output only. State of the endpoint attachment connection to the service attachment.", +"enum": [ +"CONNECTION_STATE_UNSPECIFIED", +"UNAVAILABLE", +"PENDING", +"ACCEPTED", +"REJECTED", +"CLOSED", +"FROZEN", +"NEEDS_ATTENTION", +"ACCEPTED_LIMITED_CAPACITY" +], +"enumDescriptions": [ +"The connection state has not been set.", +"The connection state is unavailable at this time, possibly because the endpoint attachment is currently being provisioned.", +"The connection is pending acceptance by the PSC producer.", +"The connection has been accepted by the PSC producer.", +"The connection has been rejected by the PSC producer.", +"The connection has been closed by the PSC producer and will not serve traffic going forward.", +"The connection has been frozen by the PSC producer and will not serve traffic.", +"The connection has been accepted by the PSC producer, but it is not ready to serve the traffic due to producer side issues.", +"The connection has been accepted by the PSC producer, but it will only serve capacity limited traffic. The producer needs to take further actions to increase capacity for this connection." +], +"readOnly": true, +"type": "string" +}, +"host": { +"description": "Output only. Host that can be used in either the HTTP target endpoint directly or as the host in target server.", +"readOnly": true, +"type": "string" +}, +"location": { +"description": "Required. Location of the endpoint attachment.", +"type": "string" +}, +"name": { +"description": "Name of the endpoint attachment. Use the following structure in your request: `organizations/{org}/endpointAttachments/{endpoint_attachment}`", +"type": "string" +}, +"serviceAttachment": { +"description": "Format: projects/*/regions/*/serviceAttachments/*", +"type": "string" +}, +"state": { +"description": "Output only. State of the endpoint attachment. Values other than `ACTIVE` mean the resource is not ready to use.", +"enum": [ +"STATE_UNSPECIFIED", +"CREATING", +"ACTIVE", +"DELETING", +"UPDATING" +], +"enumDescriptions": [ +"Resource is in an unspecified state.", +"Resource is being created.", +"Resource is provisioned and ready to use.", +"The resource is being deleted.", +"The resource is being updated." +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudApigeeV1EndpointChainingRule": { +"description": "EndpointChainingRule specifies the proxies contained in a particular deployment group, so that other deployment groups can find them in chaining calls.", +"id": "GoogleCloudApigeeV1EndpointChainingRule", +"properties": { +"deploymentGroup": { +"description": "The deployment group to target for cross-shard chaining calls to these proxies.", +"type": "string" +}, +"proxyIds": { +"description": "List of proxy ids which may be found in the given deployment group.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudApigeeV1EntityMetadata": { +"description": "Metadata common to many entities in this API.", +"id": "GoogleCloudApigeeV1EntityMetadata", +"properties": { +"createdAt": { +"description": "Time at which the API proxy was created, in milliseconds since epoch.", +"format": "int64", +"type": "string" +}, +"lastModifiedAt": { +"description": "Time at which the API proxy was most recently modified, in milliseconds since epoch.", +"format": "int64", +"type": "string" +}, +"subType": { +"description": "The type of entity described", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudApigeeV1Environment": { +"id": "GoogleCloudApigeeV1Environment", +"properties": { +"apiProxyType": { +"description": "Optional. API Proxy type supported by the environment. The type can be set when creating the Environment and cannot be changed.", +"enum": [ +"API_PROXY_TYPE_UNSPECIFIED", +"PROGRAMMABLE", +"CONFIGURABLE" +], +"enumDescriptions": [ +"API proxy type not specified.", +"Programmable API Proxies enable you to develop APIs with highly flexible behavior using bundled policy configuration and one or more programming languages to describe complex sequential and/or conditional flows of logic.", +"Configurable API Proxies enable you to develop efficient APIs using simple configuration while complex execution control flow logic is handled by Apigee. This type only works with the ARCHIVE deployment type and cannot be combined with the PROXY deployment type." +], +"type": "string" +}, +"clientIpResolutionConfig": { +"$ref": "GoogleCloudApigeeV1EnvironmentClientIPResolutionConfig", +"description": "Optional. The algorithm to resolve IP. This will affect Analytics, API Security, and other features that use the client ip. To remove a client ip resolution config, update the field to an empty value. Example: '{ \"clientIpResolutionConfig\" = {} }' For more information, see: https://cloud.google.com/apigee/docs/api-platform/system-administration/client-ip-resolution." +}, +"createdAt": { +"description": "Output only. Creation time of this environment as milliseconds since epoch.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"deploymentType": { +"description": "Optional. Deployment type supported by the environment. The deployment type can be set when creating the environment and cannot be changed. When you enable archive deployment, you will be **prevented from performing** a [subset of actions](/apigee/docs/api-platform/local-development/overview#prevented-actions) within the environment, including: * Managing the deployment of API proxy or shared flow revisions * Creating, updating, or deleting resource files * Creating, updating, or deleting target servers", +"enum": [ +"DEPLOYMENT_TYPE_UNSPECIFIED", +"PROXY", +"ARCHIVE" +], +"enumDescriptions": [ +"Deployment type not specified.", +"Proxy deployment enables you to develop and deploy API proxies using Apigee on Google Cloud. This cannot currently be combined with the CONFIGURABLE API proxy type.", +"Archive deployment enables you to develop API proxies locally then deploy an archive of your API proxy configuration to an environment in Apigee on Google Cloud. You will be prevented from performing a [subset of actions](/apigee/docs/api-platform/local-development/overview#prevented-actions) within the environment." +], +"type": "string" +}, +"description": { +"description": "Optional. Description of the environment.", +"type": "string" +}, +"displayName": { +"description": "Optional. Display name for this environment.", +"type": "string" +}, +"forwardProxyUri": { +"description": "Optional. URI of the forward proxy to be applied to the runtime instances in this environment. Must be in the format of {scheme}://{hostname}:{port}. Note that the only supported scheme is \"http\". The port must be supplied. To remove a forward proxy setting, update the field to an empty value. Note: At this time, PUT operations to add forwardProxyUri to an existing environment fail if the environment has nodeConfig set up. To successfully add the forwardProxyUri setting in this case, include the NodeConfig details with the request.", +"type": "string" +}, +"hasAttachedFlowHooks": { +"type": "boolean" +}, +"lastModifiedAt": { +"description": "Output only. Last modification time of this environment as milliseconds since epoch.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"name": { +"description": "Required. Name of the environment. Values must match the regular expression `^[.\\\\p{Alnum}-_]{1,255}$`", +"type": "string" +}, +"nodeConfig": { +"$ref": "GoogleCloudApigeeV1NodeConfig", +"description": "Optional. NodeConfig of the environment." +}, +"properties": { +"$ref": "GoogleCloudApigeeV1Properties", +"description": "Optional. Key-value pairs that may be used for customizing the environment." +}, +"state": { +"description": "Output only. State of the environment. Values other than ACTIVE means the resource is not ready to use.", +"enum": [ +"STATE_UNSPECIFIED", +"CREATING", +"ACTIVE", +"DELETING", +"UPDATING" +], +"enumDescriptions": [ +"Resource is in an unspecified state.", +"Resource is being created.", +"Resource is provisioned and ready to use.", +"The resource is being deleted.", +"The resource is being updated." +], +"readOnly": true, +"type": "string" +}, +"type": { +"description": "Optional. EnvironmentType selected for the environment.", +"enum": [ +"ENVIRONMENT_TYPE_UNSPECIFIED", +"BASE", +"INTERMEDIATE", +"COMPREHENSIVE" +], +"enumDescriptions": [ +"Environment type not specified.", +"This is the default type. Base environment has limited capacity and capabilities and are usually used when you are getting started with Apigee or while experimenting. Refer to Apigee's public documentation for more details.", +"Intermediate environment supports API management features and higher capacity than Base environment. Refer to Apigee's public documentation for more details.", +"Comprehensive environment supports advanced capabilites and even higher capacity than Intermediate environment. Refer to Apigee's public documentation for more details." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudApigeeV1EnvironmentClientIPResolutionConfig": { +"description": "Configuration for resolving the client ip.", +"id": "GoogleCloudApigeeV1EnvironmentClientIPResolutionConfig", +"properties": { +"headerIndexAlgorithm": { +"$ref": "GoogleCloudApigeeV1EnvironmentClientIPResolutionConfigHeaderIndexAlgorithm", +"description": "Resolves the client ip based on a custom header." +} +}, +"type": "object" +}, +"GoogleCloudApigeeV1EnvironmentClientIPResolutionConfigHeaderIndexAlgorithm": { +"description": "Resolves the client ip based on a custom header.", +"id": "GoogleCloudApigeeV1EnvironmentClientIPResolutionConfigHeaderIndexAlgorithm", +"properties": { +"ipHeaderIndex": { +"description": "Required. The index of the ip in the header. Positive indices 0, 1, 2, 3 chooses indices from the left (first ips) Negative indices -1, -2, -3 chooses indices from the right (last ips)", +"format": "int32", +"type": "integer" +}, +"ipHeaderName": { +"description": "Required. The name of the header to extract the client ip from. We are currently only supporting the X-Forwarded-For header.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudApigeeV1EnvironmentConfig": { +"id": "GoogleCloudApigeeV1EnvironmentConfig", +"properties": { +"addonsConfig": { +"$ref": "GoogleCloudApigeeV1RuntimeAddonsConfig", +"description": "The latest runtime configurations for add-ons." +}, +"arcConfigLocation": { +"description": "The location for the config blob of API Runtime Control, aka Envoy Adapter, for op-based authentication as a URI, e.g. a Cloud Storage URI. This is only used by Envoy-based gateways.", +"type": "string" +}, +"clientIpResolutionConfig": { +"$ref": "GoogleCloudApigeeV1EnvironmentConfigClientIPResolutionConfig", +"description": "The algorithm to resolve IP." +}, +"createTime": { +"description": "Time that the environment configuration was created.", +"format": "google-datetime", +"type": "string" +}, +"dataCollectors": { +"description": "List of data collectors used by the deployments in the environment.", +"items": { +"$ref": "GoogleCloudApigeeV1DataCollectorConfig" +}, +"type": "array" +}, +"debugMask": { +"$ref": "GoogleCloudApigeeV1DebugMask", +"description": "Debug mask that applies to all deployments in the environment." +}, +"deploymentGroups": { +"description": "List of deployment groups in the environment.", +"items": { +"$ref": "GoogleCloudApigeeV1DeploymentGroupConfig" +}, +"type": "array" +}, +"deployments": { +"description": "List of deployments in the environment.", +"items": { +"$ref": "GoogleCloudApigeeV1DeploymentConfig" +}, +"type": "array" +}, +"envScopedRevisionId": { +"description": "Revision ID for environment-scoped resources (e.g. target servers, keystores) in this config. This ID will increment any time a resource not scoped to a deployment group changes.", +"format": "int64", +"type": "string" +}, +"featureFlags": { +"additionalProperties": { +"type": "string" +}, +"description": "Feature flags inherited from the organization and environment.", +"type": "object" +}, +"flowhooks": { +"description": "List of flow hooks in the environment.", +"items": { +"$ref": "GoogleCloudApigeeV1FlowHookConfig" +}, +"type": "array" +}, +"forwardProxyUri": { +"description": "The forward proxy's url to be used by the runtime. When set, runtime will send requests to the target via the given forward proxy. This is only used by programmable gateways.", +"type": "string" +}, +"gatewayConfigLocation": { +"description": "The location for the gateway config blob as a URI, e.g. a Cloud Storage URI. This is only used by Envoy-based gateways.", +"type": "string" +}, +"keystores": { +"description": "List of keystores in the environment.", +"items": { +"$ref": "GoogleCloudApigeeV1KeystoreConfig" +}, +"type": "array" +}, +"name": { +"description": "Name of the environment configuration in the following format: `organizations/{org}/environments/{env}/configs/{config}`", +"type": "string" +}, +"provider": { +"description": "Used by the Control plane to add context information to help detect the source of the document during diagnostics and debugging.", +"type": "string" +}, +"pubsubTopic": { +"description": "Name of the PubSub topic for the environment.", +"type": "string" +}, +"resourceReferences": { +"description": "List of resource references in the environment.", +"items": { +"$ref": "GoogleCloudApigeeV1ReferenceConfig" +}, +"type": "array" +}, +"resources": { +"description": "List of resource versions in the environment.", +"items": { +"$ref": "GoogleCloudApigeeV1ResourceConfig" +}, +"type": "array" +}, +"revisionId": { +"description": "Revision ID of the environment configuration. The higher the value, the more recently the configuration was deployed.", +"format": "int64", +"type": "string" +}, +"sequenceNumber": { +"description": "DEPRECATED: Use revision_id.", +"format": "int64", +"type": "string" +}, +"targets": { +"description": "List of target servers in the environment. Disabled target servers are not displayed.", +"items": { +"$ref": "GoogleCloudApigeeV1TargetServerConfig" +}, +"type": "array" +}, +"traceConfig": { +"$ref": "GoogleCloudApigeeV1RuntimeTraceConfig", +"description": "Trace configurations. Contains config for the environment and config overrides for specific API proxies." +}, +"uid": { +"description": "Unique ID for the environment configuration. The ID will only change if the environment is deleted and recreated.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudApigeeV1EnvironmentConfigClientIPResolutionConfig": { +"description": "Configuration for resolving the client ip.", +"id": "GoogleCloudApigeeV1EnvironmentConfigClientIPResolutionConfig", +"properties": { +"headerIndexAlgorithm": { +"$ref": "GoogleCloudApigeeV1EnvironmentConfigClientIPResolutionConfigHeaderIndexAlgorithm", +"description": "Resolves the client ip based on a custom header." +} +}, +"type": "object" +}, +"GoogleCloudApigeeV1EnvironmentConfigClientIPResolutionConfigHeaderIndexAlgorithm": { +"description": "Resolves the client ip based on a custom header.", +"id": "GoogleCloudApigeeV1EnvironmentConfigClientIPResolutionConfigHeaderIndexAlgorithm", +"properties": { +"ipHeaderIndex": { +"description": "The index of the ip in the header. (By default, value is 0 if missing)", +"format": "int32", +"type": "integer" +}, +"ipHeaderName": { +"description": "The name of the header to extract the client ip from.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudApigeeV1EnvironmentGroup": { +"description": "EnvironmentGroup configuration. An environment group is used to group one or more Apigee environments under a single host name.", +"id": "GoogleCloudApigeeV1EnvironmentGroup", +"properties": { +"createdAt": { +"description": "Output only. The time at which the environment group was created as milliseconds since epoch.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"hostnames": { +"description": "Required. Host names for this environment group.", +"items": { +"type": "string" +}, +"type": "array" +}, +"lastModifiedAt": { +"description": "Output only. The time at which the environment group was last updated as milliseconds since epoch.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"name": { +"description": "ID of the environment group.", +"type": "string" +}, +"state": { +"description": "Output only. State of the environment group. Values other than ACTIVE means the resource is not ready to use.", +"enum": [ +"STATE_UNSPECIFIED", +"CREATING", +"ACTIVE", +"DELETING", +"UPDATING" +], +"enumDescriptions": [ +"Resource is in an unspecified state.", +"Resource is being created.", +"Resource is provisioned and ready to use.", +"The resource is being deleted.", +"The resource is being updated." +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudApigeeV1EnvironmentGroupAttachment": { +"description": "EnvironmentGroupAttachment is a resource which defines an attachment of an environment to an environment group.", +"id": "GoogleCloudApigeeV1EnvironmentGroupAttachment", +"properties": { +"createdAt": { +"description": "Output only. The time at which the environment group attachment was created as milliseconds since epoch.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"environment": { +"description": "Required. ID of the attached environment.", +"type": "string" +}, +"environmentGroupId": { +"description": "Output only. ID of the environment group.", +"readOnly": true, +"type": "string" +}, +"name": { +"description": "ID of the environment group attachment.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudApigeeV1EnvironmentGroupConfig": { +"description": "EnvironmentGroupConfig is a revisioned snapshot of an EnvironmentGroup and its associated routing rules.", +"id": "GoogleCloudApigeeV1EnvironmentGroupConfig", +"properties": { +"endpointChainingRules": { +"description": "A list of proxies in each deployment group for proxy chaining calls.", +"items": { +"$ref": "GoogleCloudApigeeV1EndpointChainingRule" +}, +"type": "array" +}, +"hostnames": { +"description": "Host names for the environment group.", +"items": { +"type": "string" +}, +"type": "array" +}, +"location": { +"description": "When this message appears in the top-level IngressConfig, this field will be populated in lieu of the inlined routing_rules and hostnames fields. Some URL for downloading the full EnvironmentGroupConfig for this group.", +"type": "string" +}, +"name": { +"description": "Name of the environment group in the following format: `organizations/{org}/envgroups/{envgroup}`.", +"type": "string" +}, +"revisionId": { +"description": "Revision id that defines the ordering of the EnvironmentGroupConfig resource. The higher the revision, the more recently the configuration was deployed.", +"format": "int64", +"type": "string" +}, +"routingRules": { +"description": "Ordered list of routing rules defining how traffic to this environment group's hostnames should be routed to different environments.", +"items": { +"$ref": "GoogleCloudApigeeV1RoutingRule" +}, +"type": "array" +}, +"uid": { +"description": "A unique id for the environment group config that will only change if the environment group is deleted and recreated.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudApigeeV1ExpireAppGroupSubscriptionRequest": { +"description": "Request for ExpireAppGroupSubscription.", +"id": "GoogleCloudApigeeV1ExpireAppGroupSubscriptionRequest", +"properties": {}, +"type": "object" +}, +"GoogleCloudApigeeV1ExpireDeveloperSubscriptionRequest": { +"description": "Request for ExpireDeveloperSubscription.", +"id": "GoogleCloudApigeeV1ExpireDeveloperSubscriptionRequest", +"properties": {}, +"type": "object" +}, +"GoogleCloudApigeeV1Export": { +"description": "Details of an export job.", +"id": "GoogleCloudApigeeV1Export", +"properties": { +"created": { +"description": "Output only. Time the export job was created.", +"readOnly": true, +"type": "string" +}, +"datastoreName": { +"description": "Name of the datastore that is the destination of the export job [datastore]", +"type": "string" +}, +"description": { +"description": "Description of the export job.", +"type": "string" +}, +"error": { +"description": "Output only. Error is set when export fails", +"readOnly": true, +"type": "string" +}, +"executionTime": { +"description": "Output only. Execution time for this export job. If the job is still in progress, it will be set to the amount of time that has elapsed since`created`, in seconds. Else, it will set to (`updated` - `created`), in seconds.", +"readOnly": true, +"type": "string" +}, +"name": { +"description": "Display name of the export job.", +"type": "string" +}, +"self": { +"description": "Output only. Self link of the export job. A URI that can be used to retrieve the status of an export job. Example: `/organizations/myorg/environments/myenv/analytics/exports/9cfc0d85-0f30-46d6-ae6f-318d0cb961bd`", +"readOnly": true, +"type": "string" +}, +"state": { +"description": "Output only. Status of the export job. Valid values include `enqueued`, `running`, `completed`, and `failed`.", +"readOnly": true, +"type": "string" +}, +"updated": { +"description": "Output only. Time the export job was last updated.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudApigeeV1ExportRequest": { +"description": "Request body for [CreateExportRequest]", +"id": "GoogleCloudApigeeV1ExportRequest", +"properties": { +"csvDelimiter": { +"description": "Optional. Delimiter used in the CSV file, if `outputFormat` is set to `csv`. Defaults to the `,` (comma) character. Supported delimiter characters include comma (`,`), pipe (`|`), and tab (`\\t`).", +"type": "string" +}, +"datastoreName": { +"description": "Required. Name of the preconfigured datastore.", +"type": "string" +}, +"dateRange": { +"$ref": "GoogleCloudApigeeV1DateRange", +"description": "Required. Date range of the data to export." +}, +"description": { +"description": "Optional. Description of the export job.", +"type": "string" +}, +"name": { +"description": "Required. Display name of the export job.", +"type": "string" +}, +"outputFormat": { +"description": "Optional. Output format of the export. Valid values include: `csv` or `json`. Defaults to `json`. Note: Configure the delimiter for CSV output using the `csvDelimiter` property.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudApigeeV1FlowHook": { +"id": "GoogleCloudApigeeV1FlowHook", +"properties": { +"continueOnError": { +"description": "Optional. Flag that specifies whether execution should continue if the flow hook throws an exception. Set to `true` to continue execution. Set to `false` to stop execution if the flow hook throws an exception. Defaults to `true`.", +"type": "boolean" +}, +"description": { +"description": "Description of the flow hook.", +"type": "string" +}, +"flowHookPoint": { +"description": "Output only. Where in the API call flow the flow hook is invoked. Must be one of `PreProxyFlowHook`, `PostProxyFlowHook`, `PreTargetFlowHook`, or `PostTargetFlowHook`.", +"readOnly": true, +"type": "string" +}, +"sharedFlow": { +"description": "Shared flow attached to this flow hook, or empty if there is none attached.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudApigeeV1FlowHookConfig": { +"id": "GoogleCloudApigeeV1FlowHookConfig", +"properties": { +"continueOnError": { +"description": "Flag that specifies whether the flow should abort after an error in the flow hook. Defaults to `true` (continue on error).", +"type": "boolean" +}, +"name": { +"description": "Name of the flow hook in the following format: `organizations/{org}/environments/{env}/flowhooks/{point}`. Valid `point` values include: `PreProxyFlowHook`, `PostProxyFlowHook`, `PreTargetFlowHook`, and `PostTargetFlowHook`", +"type": "string" +}, +"sharedFlowName": { +"description": "Name of the shared flow to invoke in the following format: `organizations/{org}/sharedflows/{sharedflow}`", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudApigeeV1GenerateDownloadUrlRequest": { +"description": "Request for GenerateDownloadUrl method.", +"id": "GoogleCloudApigeeV1GenerateDownloadUrlRequest", +"properties": {}, +"type": "object" +}, +"GoogleCloudApigeeV1GenerateDownloadUrlResponse": { +"description": "Response for GenerateDownloadUrl method.", +"id": "GoogleCloudApigeeV1GenerateDownloadUrlResponse", +"properties": { +"downloadUri": { +"description": "The Google Cloud Storage signed URL that can be used to download the Archive zip file.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudApigeeV1GenerateUploadUrlRequest": { +"description": "Request for GenerateUploadUrl method.", +"id": "GoogleCloudApigeeV1GenerateUploadUrlRequest", +"properties": {}, +"type": "object" +}, +"GoogleCloudApigeeV1GenerateUploadUrlResponse": { +"description": "Response for GenerateUploadUrl method.", +"id": "GoogleCloudApigeeV1GenerateUploadUrlResponse", +"properties": { +"uploadUri": { +"description": "The Google Cloud Storage signed URL that can be used to upload a new Archive zip file.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudApigeeV1GetAsyncQueryResultUrlResponse": { +"description": "The response for GetAsyncQueryResultUrl", +"id": "GoogleCloudApigeeV1GetAsyncQueryResultUrlResponse", +"properties": { +"urls": { +"description": "The list of Signed URLs generated by the CreateAsyncQuery request", +"items": { +"$ref": "GoogleCloudApigeeV1GetAsyncQueryResultUrlResponseURLInfo" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudApigeeV1GetAsyncQueryResultUrlResponseURLInfo": { +"description": "A Signed URL and the relevant metadata associated with it.", +"id": "GoogleCloudApigeeV1GetAsyncQueryResultUrlResponseURLInfo", +"properties": { +"md5": { +"description": "The MD5 Hash of the JSON data", +"type": "string" +}, +"sizeBytes": { +"description": "The size of the returned file in bytes", +"format": "int64", +"type": "string" +}, +"uri": { +"description": "The signed URL of the JSON data. Will be of the form `https://storage.googleapis.com/example-bucket/cat.jpeg?X-Goog-Algorithm= GOOG4-RSA-SHA256&X-Goog-Credential=example%40example-project.iam.gserviceaccount .com%2F20181026%2Fus-central1%2Fstorage%2Fgoog4_request&X-Goog-Date=20181026T18 1309Z&X-Goog-Expires=900&X-Goog-SignedHeaders=host&X-Goog-Signature=247a2aa45f16 9edf4d187d54e7cc46e4731b1e6273242c4f4c39a1d2507a0e58706e25e3a85a7dbb891d62afa849 6def8e260c1db863d9ace85ff0a184b894b117fe46d1225c82f2aa19efd52cf21d3e2022b3b868dc c1aca2741951ed5bf3bb25a34f5e9316a2841e8ff4c530b22ceaa1c5ce09c7cbb5732631510c2058 0e61723f5594de3aea497f195456a2ff2bdd0d13bad47289d8611b6f9cfeef0c46c91a455b94e90a 66924f722292d21e24d31dcfb38ce0c0f353ffa5a9756fc2a9f2b40bc2113206a81e324fc4fd6823 a29163fa845c8ae7eca1fcf6e5bb48b3200983c56c5ca81fffb151cca7402beddfc4a76b13344703 2ea7abedc098d2eb14a7`", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudApigeeV1GetSyncAuthorizationRequest": { +"description": "Request for GetSyncAuthorization.", +"id": "GoogleCloudApigeeV1GetSyncAuthorizationRequest", +"properties": {}, +"type": "object" +}, +"GoogleCloudApigeeV1GraphQLOperation": { +"description": "Represents the pairing of GraphQL operation types and the GraphQL operation name.", +"id": "GoogleCloudApigeeV1GraphQLOperation", +"properties": { +"operation": { +"description": "GraphQL operation name. The name and operation type will be used to apply quotas. If no name is specified, the quota will be applied to all GraphQL operations irrespective of their operation names in the payload.", +"type": "string" +}, +"operationTypes": { +"description": "Required. GraphQL operation types. Valid values include `query` or `mutation`. **Note**: Apigee does not currently support `subscription` types.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudApigeeV1GraphQLOperationConfig": { +"description": "Binds the resources in a proxy or remote service with the GraphQL operation and its associated quota enforcement.", +"id": "GoogleCloudApigeeV1GraphQLOperationConfig", +"properties": { +"apiSource": { +"description": "Required. Name of the API proxy endpoint or remote service with which the GraphQL operation and quota are associated.", +"type": "string" +}, +"attributes": { +"description": "Custom attributes associated with the operation.", +"items": { +"$ref": "GoogleCloudApigeeV1Attribute" +}, +"type": "array" +}, +"operations": { +"description": "Required. List of GraphQL name/operation type pairs for the proxy or remote service to which quota will be applied. If only operation types are specified, the quota will be applied to all GraphQL requests irrespective of the GraphQL name. **Note**: Currently, you can specify only a single GraphQLOperation. Specifying more than one will cause the operation to fail.", +"items": { +"$ref": "GoogleCloudApigeeV1GraphQLOperation" +}, +"type": "array" +}, +"quota": { +"$ref": "GoogleCloudApigeeV1Quota", +"description": "Quota parameters to be enforced for the resources, methods, and API source combination. If none are specified, quota enforcement will not be done." +} +}, +"type": "object" +}, +"GoogleCloudApigeeV1GraphQLOperationGroup": { +"description": "List of graphQL operation configuration details associated with Apigee API proxies or remote services. Remote services are non-Apigee proxies, such as Istio-Envoy.", +"id": "GoogleCloudApigeeV1GraphQLOperationGroup", +"properties": { +"operationConfigType": { +"description": "Flag that specifies whether the configuration is for Apigee API proxy or a remote service. Valid values include `proxy` or `remoteservice`. Defaults to `proxy`. Set to `proxy` when Apigee API proxies are associated with the API product. Set to `remoteservice` when non-Apigee proxies like Istio-Envoy are associated with the API product.", +"type": "string" +}, +"operationConfigs": { +"description": "Required. List of operation configurations for either Apigee API proxies or other remote services that are associated with this API product.", +"items": { +"$ref": "GoogleCloudApigeeV1GraphQLOperationConfig" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudApigeeV1GraphqlDocumentation": { +"description": "GraphQL documentation for a catalog item.", +"id": "GoogleCloudApigeeV1GraphqlDocumentation", +"properties": { +"endpointUri": { +"description": "Required. The GraphQL endpoint URI to be queried by API consumers. Max length is 2,083 characters.", +"type": "string" +}, +"schema": { +"$ref": "GoogleCloudApigeeV1DocumentationFile", +"description": "Required. The documentation file contents for the GraphQL schema." +} +}, +"type": "object" +}, +"GoogleCloudApigeeV1GrpcOperationConfig": { +"description": "Binds the resources in a proxy or remote service with the gRPC operation and its associated quota enforcement.", +"id": "GoogleCloudApigeeV1GrpcOperationConfig", +"properties": { +"apiSource": { +"description": "Required. Name of the API proxy with which the gRPC operation and quota are associated.", +"type": "string" +}, +"attributes": { +"description": "Custom attributes associated with the operation.", +"items": { +"$ref": "GoogleCloudApigeeV1Attribute" +}, +"type": "array" +}, +"methods": { +"description": "List of unqualified gRPC method names for the proxy to which quota will be applied. If this field is empty, the Quota will apply to all operations on the gRPC service defined on the proxy. Example: Given a proxy that is configured to serve com.petstore.PetService, the methods com.petstore.PetService.ListPets and com.petstore.PetService.GetPet would be specified here as simply [\"ListPets\", \"GetPet\"].", +"items": { +"type": "string" +}, +"type": "array" +}, +"quota": { +"$ref": "GoogleCloudApigeeV1Quota", +"description": "Quota parameters to be enforced for the methods and API source combination. If none are specified, quota enforcement will not be done." +}, +"service": { +"description": "Required. gRPC Service name associated to be associated with the API proxy, on which quota rules can be applied upon.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudApigeeV1GrpcOperationGroup": { +"description": "List of gRPC operation configuration details associated with Apigee API proxies.", +"id": "GoogleCloudApigeeV1GrpcOperationGroup", +"properties": { +"operationConfigs": { +"description": "Required. List of operation configurations for either Apigee API proxies that are associated with this API product.", +"items": { +"$ref": "GoogleCloudApigeeV1GrpcOperationConfig" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudApigeeV1IngressConfig": { +"id": "GoogleCloudApigeeV1IngressConfig", +"properties": { +"environmentGroups": { +"description": "List of environment groups in the organization.", +"items": { +"$ref": "GoogleCloudApigeeV1EnvironmentGroupConfig" +}, +"type": "array" +}, +"name": { +"description": "Name of the resource in the following format: `organizations/{org}/deployedIngressConfig`.", +"type": "string" +}, +"revisionCreateTime": { +"description": "Time at which the IngressConfig revision was created.", +"format": "google-datetime", +"type": "string" +}, +"revisionId": { +"description": "Revision id that defines the ordering on IngressConfig resources. The higher the revision, the more recently the configuration was deployed.", +"format": "int64", +"type": "string" +}, +"uid": { +"description": "A unique id for the ingress config that will only change if the organization is deleted and recreated.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudApigeeV1Instance": { +"description": "Apigee runtime instance.", +"id": "GoogleCloudApigeeV1Instance", +"properties": { +"accessLoggingConfig": { +"$ref": "GoogleCloudApigeeV1AccessLoggingConfig", +"description": "Optional. Access logging configuration enables the access logging feature at the instance. Apigee customers can enable access logging to ship the access logs to their own project's cloud logging." +}, +"consumerAcceptList": { +"description": "Optional. Customer accept list represents the list of projects (id/number) on customer side that can privately connect to the service attachment. It is an optional field which the customers can provide during the instance creation. By default, the customer project associated with the Apigee organization will be included to the list.", +"items": { +"type": "string" +}, +"type": "array" +}, +"createdAt": { +"description": "Output only. Time the instance was created in milliseconds since epoch.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"description": { +"description": "Optional. Description of the instance.", +"type": "string" +}, +"diskEncryptionKeyName": { +"description": "Optional. Customer Managed Encryption Key (CMEK) used for disk and volume encryption. If not specified, a Google-Managed encryption key will be used. Use the following format: `projects/([^/]+)/locations/([^/]+)/keyRings/([^/]+)/cryptoKeys/([^/]+)`", +"type": "string" +}, +"displayName": { +"description": "Optional. Display name for the instance.", +"type": "string" +}, +"host": { +"description": "Output only. Internal hostname or IP address of the Apigee endpoint used by clients to connect to the service.", +"readOnly": true, +"type": "string" +}, +"ipRange": { +"description": "Optional. Comma-separated list of CIDR blocks of length 22 and/or 28 used to create the Apigee instance. Providing CIDR ranges is optional. You can provide just /22 or /28 or both (or neither). Ranges you provide should be freely available as part of a larger named range you have allocated to the Service Networking peering. If this parameter is not provided, Apigee automatically requests an available /22 and /28 CIDR block from Service Networking. Use the /22 CIDR block for configuring your firewall needs to allow traffic from Apigee. Input formats: `a.b.c.d/22` or `e.f.g.h/28` or `a.b.c.d/22,e.f.g.h/28`", +"type": "string" +}, +"isVersionLocked": { +"description": "Output only. Indicates whether the instance is version locked. If true, the instance will not be updated by automated runtime rollouts. This is only supported for Apigee X instances.", +"readOnly": true, +"type": "boolean" +}, +"lastModifiedAt": { +"description": "Output only. Time the instance was last modified in milliseconds since epoch.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"location": { +"description": "Required. Compute Engine location where the instance resides.", +"type": "string" +}, +"maintenanceUpdatePolicy": { +"$ref": "GoogleCloudApigeeV1MaintenanceUpdatePolicy", +"description": "Optional. Apigee customers can set the preferred window to perform maintenance on the instance (day of the week and time of day)." +}, +"name": { +"description": "Required. Resource ID of the instance. Values must match the regular expression `^a-z{0,30}[a-z\\d]$`.", +"type": "string" +}, +"peeringCidrRange": { +"deprecated": true, +"description": "Optional. Size of the CIDR block range that will be reserved by the instance. PAID organizations support `SLASH_16` to `SLASH_20` and defaults to `SLASH_16`. Evaluation organizations support only `SLASH_23`.", +"enum": [ +"CIDR_RANGE_UNSPECIFIED", +"SLASH_16", +"SLASH_17", +"SLASH_18", +"SLASH_19", +"SLASH_20", +"SLASH_22", +"SLASH_23" +], +"enumDescriptions": [ +"Range not specified.", +"`/16` CIDR range.", +"`/17` CIDR range.", +"`/18` CIDR range.", +"`/19` CIDR range.", +"`/20` CIDR range.", +"`/22` CIDR range. Supported for evaluation only.", +"`/23` CIDR range. Supported for evaluation only." +], +"type": "string" +}, +"port": { +"description": "Output only. Port number of the exposed Apigee endpoint.", +"readOnly": true, +"type": "string" +}, +"runtimeVersion": { +"description": "Output only. Version of the runtime system running in the instance. The runtime system is the set of components that serve the API Proxy traffic in your Environments.", +"readOnly": true, +"type": "string" +}, +"scheduledMaintenance": { +"$ref": "GoogleCloudApigeeV1ScheduledMaintenance", +"description": "Output only. Time and date of the scheduled maintenance for this instance. This field is only populated for instances that have opted into Maintenance Window and if there is an upcoming maintenance. Cleared once the maintenance is complete.", +"readOnly": true +}, +"serviceAttachment": { +"description": "Output only. Resource name of the service attachment created for the instance in the format: `projects/*/regions/*/serviceAttachments/*` Apigee customers can privately forward traffic to this service attachment using the PSC endpoints.", +"readOnly": true, +"type": "string" +}, +"state": { +"description": "Output only. State of the instance. Values other than `ACTIVE` means the resource is not ready to use.", +"enum": [ +"STATE_UNSPECIFIED", +"CREATING", +"ACTIVE", +"DELETING", +"UPDATING" +], +"enumDescriptions": [ +"Resource is in an unspecified state.", +"Resource is being created.", +"Resource is provisioned and ready to use.", +"The resource is being deleted.", +"The resource is being updated." +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudApigeeV1InstanceAttachment": { +"description": "InstanceAttachment represents the installation of an environment onto an instance.", +"id": "GoogleCloudApigeeV1InstanceAttachment", +"properties": { +"createdAt": { +"description": "Output only. Time the attachment was created in milliseconds since epoch.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"environment": { +"description": "ID of the attached environment.", +"type": "string" +}, +"name": { +"description": "Output only. ID of the attachment.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudApigeeV1InstanceDeploymentStatus": { +"description": "The status of a deployment as reported by a single instance.", +"id": "GoogleCloudApigeeV1InstanceDeploymentStatus", +"properties": { +"deployedRevisions": { +"description": "Revisions currently deployed in MPs.", +"items": { +"$ref": "GoogleCloudApigeeV1InstanceDeploymentStatusDeployedRevision" +}, +"type": "array" +}, +"deployedRoutes": { +"description": "Current routes deployed in the ingress routing table. A route which is missing will appear in `missing_routes`.", +"items": { +"$ref": "GoogleCloudApigeeV1InstanceDeploymentStatusDeployedRoute" +}, +"type": "array" +}, +"instance": { +"description": "ID of the instance reporting the status.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudApigeeV1InstanceDeploymentStatusDeployedRevision": { +"description": "Revisions deployed in the MPs.", +"id": "GoogleCloudApigeeV1InstanceDeploymentStatusDeployedRevision", +"properties": { +"percentage": { +"description": "Percentage of MP replicas reporting this revision.", +"format": "int32", +"type": "integer" +}, +"revision": { +"description": "API proxy revision reported as deployed.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudApigeeV1InstanceDeploymentStatusDeployedRoute": { +"description": "Route deployed in the ingress routing table.", +"id": "GoogleCloudApigeeV1InstanceDeploymentStatusDeployedRoute", +"properties": { +"basepath": { +"description": "Base path in the routing table.", +"type": "string" +}, +"envgroup": { +"description": "Environment group where this route is installed.", +"type": "string" +}, +"environment": { +"description": "Destination environment. This will be empty if the route is not yet reported.", +"type": "string" +}, +"percentage": { +"description": "Percentage of ingress replicas reporting this route.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"GoogleCloudApigeeV1IntegrationConfig": { +"description": "Configuration for the Integration add-on.", +"id": "GoogleCloudApigeeV1IntegrationConfig", +"properties": { +"enabled": { +"description": "Flag that specifies whether the Integration add-on is enabled.", +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleCloudApigeeV1KeyAliasReference": { +"id": "GoogleCloudApigeeV1KeyAliasReference", +"properties": { +"aliasId": { +"description": "Alias ID. Must exist in the keystore referred to by the reference.", +"type": "string" +}, +"reference": { +"description": "Reference name in the following format: `organizations/{org}/environments/{env}/references/{reference}`", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudApigeeV1KeyValueEntry": { +"description": "Key value map pair where the value represents the data associated with the corresponding key. **Note**: Supported for Apigee hybrid 1.8.x and higher.", +"id": "GoogleCloudApigeeV1KeyValueEntry", +"properties": { +"name": { +"description": "Resource URI that can be used to identify the scope of the key value map entries.", +"type": "string" +}, +"value": { +"description": "Required. Data or payload that is being retrieved and associated with the unique key.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudApigeeV1KeyValueMap": { +"description": "Collection of key/value string pairs.", +"id": "GoogleCloudApigeeV1KeyValueMap", +"properties": { +"encrypted": { +"description": "Required. Flag that specifies whether entry values will be encrypted. This field is retained for backward compatibility and the value of encrypted will always be `true`. Apigee X and hybrid do not support unencrypted key value maps.", +"type": "boolean" +}, +"maskedValues": { +"description": "Optional. Flag that specifies whether entry values will be masked when returned.", +"type": "boolean" +}, +"name": { +"description": "Required. ID of the key value map.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudApigeeV1Keystore": { +"description": "Datastore for Certificates and Aliases.", +"id": "GoogleCloudApigeeV1Keystore", +"properties": { +"aliases": { +"description": "Output only. Aliases in this keystore.", +"items": { +"type": "string" +}, +"readOnly": true, +"type": "array" +}, +"name": { +"description": "Required. Resource ID for this keystore. Values must match the regular expression `[\\w[:space:].-]{1,255}`.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudApigeeV1KeystoreConfig": { +"id": "GoogleCloudApigeeV1KeystoreConfig", +"properties": { +"aliases": { +"description": "Aliases in the keystore.", +"items": { +"$ref": "GoogleCloudApigeeV1AliasRevisionConfig" +}, +"type": "array" +}, +"name": { +"description": "Resource name in the following format: `organizations/{org}/environments/{env}/keystores/{keystore}`", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudApigeeV1ListApiCategoriesResponse": { +"description": "The response for `ListApiCategoriesRequest`. Next ID: 6", +"id": "GoogleCloudApigeeV1ListApiCategoriesResponse", +"properties": { +"data": { +"description": "The API category resources.", +"items": { +"$ref": "GoogleCloudApigeeV1ApiCategory" +}, +"type": "array" +}, +"errorCode": { +"description": "Unique error code for the request, if any.", +"type": "string" +}, +"message": { +"description": "Description of the operation.", +"type": "string" +}, +"requestId": { +"description": "Unique ID of the request.", +"type": "string" +}, +"status": { +"description": "Status of the operation.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudApigeeV1ListApiDebugSessionsResponse": { +"description": "Response for ListApiDebugSessions.", +"id": "GoogleCloudApigeeV1ListApiDebugSessionsResponse", +"properties": { +"nextPageToken": { +"description": "Page token that you can include in a ListApiDebugSessionsRequest to retrieve the next page. If omitted, no subsequent pages exist.", +"type": "string" +}, +"sessions": { +"description": "Session info that includes debug session ID, environment ID, api proxy revision ID and the first transaction creation timestamp.", +"items": { +"$ref": "GoogleCloudApigeeV1ApiDebugSession" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudApigeeV1ListApiDocsResponse": { +"id": "GoogleCloudApigeeV1ListApiDocsResponse", +"properties": { +"data": { +"description": "The catalog item resources.", +"items": { +"$ref": "GoogleCloudApigeeV1ApiDoc" +}, +"type": "array" +}, +"errorCode": { +"description": "Unique error code for the request, if any.", +"type": "string" +}, +"message": { +"description": "Description of the operation.", +"type": "string" +}, +"nextPageToken": { +"description": "A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.", +"type": "string" +}, +"requestId": { +"description": "Unique ID of the request.", +"type": "string" +}, +"status": { +"description": "Status of the operation.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudApigeeV1ListApiProductsResponse": { +"id": "GoogleCloudApigeeV1ListApiProductsResponse", +"properties": { +"apiProduct": { +"description": "Lists all API product names defined for an organization.", +"items": { +"$ref": "GoogleCloudApigeeV1ApiProduct" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudApigeeV1ListApiProxiesResponse": { +"id": "GoogleCloudApigeeV1ListApiProxiesResponse", +"properties": { +"proxies": { +"items": { +"$ref": "GoogleCloudApigeeV1ApiProxy" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudApigeeV1ListApimServiceExtensionsResponse": { +"description": "Response for list service extensions.", +"id": "GoogleCloudApigeeV1ListApimServiceExtensionsResponse", +"properties": { +"apimServiceExtensions": { +"description": "service extension in a given organization.", +"items": { +"$ref": "GoogleCloudApigeeV1ApimServiceExtension" +}, +"type": "array" +}, +"nextPageToken": { +"description": "Page token that you can include in an `ListApimServiceExtensions` request to retrieve the next page. If omitted, no subsequent pages exist.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudApigeeV1ListAppGroupAppsResponse": { +"description": "Response for ListAppGroupApps", +"id": "GoogleCloudApigeeV1ListAppGroupAppsResponse", +"properties": { +"appGroupApps": { +"description": "List of AppGroup apps and their credentials.", +"items": { +"$ref": "GoogleCloudApigeeV1AppGroupApp" +}, +"type": "array" +}, +"nextPageToken": { +"description": "Token that can be sent as `next_page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudApigeeV1ListAppGroupSubscriptionsResponse": { +"description": "Response for ListAppGroupSubscriptions.", +"id": "GoogleCloudApigeeV1ListAppGroupSubscriptionsResponse", +"properties": { +"appGroupSubscriptions": { +"description": "The list of subscriptions for an AppGroup.", +"items": { +"$ref": "GoogleCloudApigeeV1AppGroupSubscription" +}, +"type": "array" +}, +"nextPageToken": { +"description": "Value that can be sent as `pageToken` to retrieve the next page of content. If this field is omitted, there are no subsequent pages.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudApigeeV1ListAppGroupsResponse": { +"description": "ListAppGroupsResponse contains the 0 or more AppGroups, along with the optional page token and the total count of apps.", +"id": "GoogleCloudApigeeV1ListAppGroupsResponse", +"properties": { +"appGroups": { +"description": "List of AppGroups.", +"items": { +"$ref": "GoogleCloudApigeeV1AppGroup" +}, +"type": "array" +}, +"nextPageToken": { +"description": "Token that can be sent as `next_page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.", +"type": "string" +}, +"totalSize": { +"description": "Total count of AppGroups.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"GoogleCloudApigeeV1ListAppsResponse": { +"id": "GoogleCloudApigeeV1ListAppsResponse", +"properties": { +"app": { +"items": { +"$ref": "GoogleCloudApigeeV1App" +}, +"type": "array" +}, +"nextPageToken": { +"description": "Token that can be sent as `next_page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.", +"type": "string" +}, +"totalSize": { +"description": "Total count of Apps.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"GoogleCloudApigeeV1ListArchiveDeploymentsResponse": { +"description": "Response for ListArchiveDeployments method.", +"id": "GoogleCloudApigeeV1ListArchiveDeploymentsResponse", +"properties": { +"archiveDeployments": { +"description": "Archive Deployments in the specified environment.", +"items": { +"$ref": "GoogleCloudApigeeV1ArchiveDeployment" +}, +"type": "array" +}, +"nextPageToken": { +"description": "Page token that you can include in a ListArchiveDeployments request to retrieve the next page. If omitted, no subsequent pages exist.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudApigeeV1ListAsyncQueriesResponse": { +"description": "The response for ListAsyncQueries.", +"id": "GoogleCloudApigeeV1ListAsyncQueriesResponse", +"properties": { +"queries": { +"description": "The asynchronous queries belong to requested resource name.", +"items": { +"$ref": "GoogleCloudApigeeV1AsyncQuery" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudApigeeV1ListCustomReportsResponse": { +"description": "This message encapsulates a list of custom report definitions", +"id": "GoogleCloudApigeeV1ListCustomReportsResponse", +"properties": { +"qualifier": { +"items": { +"$ref": "GoogleCloudApigeeV1CustomReport" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudApigeeV1ListDataCollectorsResponse": { +"description": "Response for ListDataCollectors.", +"id": "GoogleCloudApigeeV1ListDataCollectorsResponse", +"properties": { +"dataCollectors": { +"description": "Data collectors in the specified organization.", +"items": { +"$ref": "GoogleCloudApigeeV1DataCollector" +}, +"type": "array" +}, +"nextPageToken": { +"description": "Page token that you can include in a ListDataCollectors request to retrieve the next page. If omitted, no subsequent pages exist.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudApigeeV1ListDatastoresResponse": { +"description": "The response for ListDatastores", +"id": "GoogleCloudApigeeV1ListDatastoresResponse", +"properties": { +"datastores": { +"description": "A list of datastores", +"items": { +"$ref": "GoogleCloudApigeeV1Datastore" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudApigeeV1ListDebugSessionsResponse": { +"id": "GoogleCloudApigeeV1ListDebugSessionsResponse", +"properties": { +"nextPageToken": { +"description": "Page token that you can include in a ListDebugSessionsRequest to retrieve the next page. If omitted, no subsequent pages exist.", +"type": "string" +}, +"sessions": { +"description": "Session info that includes debug session ID and the first transaction creation timestamp.", +"items": { +"$ref": "GoogleCloudApigeeV1Session" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudApigeeV1ListDeploymentsResponse": { +"id": "GoogleCloudApigeeV1ListDeploymentsResponse", +"properties": { +"deployments": { +"description": "List of deployments.", +"items": { +"$ref": "GoogleCloudApigeeV1Deployment" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudApigeeV1ListDeveloperAppsResponse": { +"id": "GoogleCloudApigeeV1ListDeveloperAppsResponse", +"properties": { +"app": { +"description": "List of developer apps and their credentials.", +"items": { +"$ref": "GoogleCloudApigeeV1DeveloperApp" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudApigeeV1ListDeveloperSubscriptionsResponse": { +"description": "Response for ListDeveloperSubscriptions.", +"id": "GoogleCloudApigeeV1ListDeveloperSubscriptionsResponse", +"properties": { +"developerSubscriptions": { +"description": "List of all subscriptions.", +"items": { +"$ref": "GoogleCloudApigeeV1DeveloperSubscription" +}, +"type": "array" +}, +"nextStartKey": { +"description": "Value that can be sent as `startKey` to retrieve the next page of content. If this field is omitted, there are no subsequent pages.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudApigeeV1ListDnsZonesResponse": { +"description": "Response for list DNS zones.", +"id": "GoogleCloudApigeeV1ListDnsZonesResponse", +"properties": { +"dnsZones": { +"description": "DNS zones in a given organization.", +"items": { +"$ref": "GoogleCloudApigeeV1DnsZone" +}, +"type": "array" +}, +"nextPageToken": { +"description": "Page token that you can include in an `ListDnsZones` request to retrieve the next page. If omitted, no subsequent pages exist.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudApigeeV1ListEndpointAttachmentsResponse": { +"description": "Response for ListEndpointAttachments method.", +"id": "GoogleCloudApigeeV1ListEndpointAttachmentsResponse", +"properties": { +"endpointAttachments": { +"description": "Endpoint attachments in the specified organization.", +"items": { +"$ref": "GoogleCloudApigeeV1EndpointAttachment" +}, +"type": "array" +}, +"nextPageToken": { +"description": "Page token that you can include in an `ListEndpointAttachments` request to retrieve the next page. If omitted, no subsequent pages exist.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudApigeeV1ListEnvironmentGroupAttachmentsResponse": { +"description": "Response for ListEnvironmentGroupAttachments.", +"id": "GoogleCloudApigeeV1ListEnvironmentGroupAttachmentsResponse", +"properties": { +"environmentGroupAttachments": { +"description": "EnvironmentGroupAttachments for the specified environment group.", +"items": { +"$ref": "GoogleCloudApigeeV1EnvironmentGroupAttachment" +}, +"type": "array" +}, +"nextPageToken": { +"description": "Page token that you can include in a ListEnvironmentGroupAttachments request to retrieve the next page. If omitted, no subsequent pages exist.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudApigeeV1ListEnvironmentGroupsResponse": { +"description": "Response for ListEnvironmentGroups.", +"id": "GoogleCloudApigeeV1ListEnvironmentGroupsResponse", +"properties": { +"environmentGroups": { +"description": "EnvironmentGroups in the specified organization.", +"items": { +"$ref": "GoogleCloudApigeeV1EnvironmentGroup" +}, +"type": "array" +}, +"nextPageToken": { +"description": "Page token that you can include in a ListEnvironmentGroups request to retrieve the next page. If omitted, no subsequent pages exist.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudApigeeV1ListEnvironmentResourcesResponse": { +"description": "Response for ListEnvironmentResources", +"id": "GoogleCloudApigeeV1ListEnvironmentResourcesResponse", +"properties": { +"resourceFile": { +"description": "List of resources files.", +"items": { +"$ref": "GoogleCloudApigeeV1ResourceFile" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudApigeeV1ListExportsResponse": { +"description": "The response for ListExports", +"id": "GoogleCloudApigeeV1ListExportsResponse", +"properties": { +"exports": { +"description": "Details of the export jobs.", +"items": { +"$ref": "GoogleCloudApigeeV1Export" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudApigeeV1ListHybridIssuersResponse": { +"id": "GoogleCloudApigeeV1ListHybridIssuersResponse", +"properties": { +"issuers": { +"description": "Lists of hybrid services and its trusted issuer email ids.", +"items": { +"$ref": "GoogleCloudApigeeV1ServiceIssuersMapping" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudApigeeV1ListInstanceAttachmentsResponse": { +"description": "Response for ListInstanceAttachments.", +"id": "GoogleCloudApigeeV1ListInstanceAttachmentsResponse", +"properties": { +"attachments": { +"description": "Attachments for the instance.", +"items": { +"$ref": "GoogleCloudApigeeV1InstanceAttachment" +}, +"type": "array" +}, +"nextPageToken": { +"description": "Page token that you can include in a ListInstanceAttachments request to retrieve the next page of content. If omitted, no subsequent pages exist.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudApigeeV1ListInstancesResponse": { +"description": "Response for ListInstances.", +"id": "GoogleCloudApigeeV1ListInstancesResponse", +"properties": { +"instances": { +"description": "Instances in the specified organization.", +"items": { +"$ref": "GoogleCloudApigeeV1Instance" +}, +"type": "array" +}, +"nextPageToken": { +"description": "Page token that you can include in a ListInstance request to retrieve the next page of content. If omitted, no subsequent pages exist.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudApigeeV1ListKeyValueEntriesResponse": { +"description": "The request structure for listing key value map keys and its corresponding values.", +"id": "GoogleCloudApigeeV1ListKeyValueEntriesResponse", +"properties": { +"keyValueEntries": { +"description": "One or more key value map keys and values.", +"items": { +"$ref": "GoogleCloudApigeeV1KeyValueEntry" +}, +"type": "array" +}, +"nextPageToken": { +"description": "Token that can be sent as `next_page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudApigeeV1ListNatAddressesResponse": { +"description": "Response for ListNatAddresses.", +"id": "GoogleCloudApigeeV1ListNatAddressesResponse", +"properties": { +"natAddresses": { +"description": "List of NAT Addresses for the instance.", +"items": { +"$ref": "GoogleCloudApigeeV1NatAddress" +}, +"type": "array" +}, +"nextPageToken": { +"description": "Page token that you can include in a ListNatAddresses request to retrieve the next page of content. If omitted, no subsequent pages exist.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudApigeeV1ListOfDevelopersResponse": { +"id": "GoogleCloudApigeeV1ListOfDevelopersResponse", +"properties": { +"developer": { +"description": "List of developers.", +"items": { +"$ref": "GoogleCloudApigeeV1Developer" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudApigeeV1ListOrganizationsResponse": { +"id": "GoogleCloudApigeeV1ListOrganizationsResponse", +"properties": { +"organizations": { +"description": "List of Apigee organizations and associated Google Cloud projects.", +"items": { +"$ref": "GoogleCloudApigeeV1OrganizationProjectMapping" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudApigeeV1ListRatePlansResponse": { +"description": "Response for ListRatePlans.", +"id": "GoogleCloudApigeeV1ListRatePlansResponse", +"properties": { +"nextStartKey": { +"description": "Value that can be sent as `startKey` to retrieve the next page of content. If this field is omitted, there are no subsequent pages.", +"type": "string" +}, +"ratePlans": { +"description": "List of rate plans in an organization.", +"items": { +"$ref": "GoogleCloudApigeeV1RatePlan" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudApigeeV1ListSecurityActionsResponse": { +"description": "Contains a list of SecurityActions in response to a ListSecurityActionRequest.", +"id": "GoogleCloudApigeeV1ListSecurityActionsResponse", +"properties": { +"nextPageToken": { +"description": "A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.", +"type": "string" +}, +"securityActions": { +"description": "The SecurityActions for the specified environment.", +"items": { +"$ref": "GoogleCloudApigeeV1SecurityAction" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudApigeeV1ListSecurityFeedbackResponse": { +"description": "Response for ListSecurityFeedback", +"id": "GoogleCloudApigeeV1ListSecurityFeedbackResponse", +"properties": { +"nextPageToken": { +"description": "A token that can be sent as `page_token` in `ListSecurityFeedbackRequest` to retrieve the next page. If this field is omitted, there are no subsequent pages.", +"type": "string" +}, +"securityFeedback": { +"description": "List of SecurityFeedback reports.", +"items": { +"$ref": "GoogleCloudApigeeV1SecurityFeedback" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudApigeeV1ListSecurityIncidentsResponse": { +"description": "Response for ListSecurityIncidents.", +"id": "GoogleCloudApigeeV1ListSecurityIncidentsResponse", +"properties": { +"nextPageToken": { +"description": "A token that can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.", +"type": "string" +}, +"securityIncidents": { +"description": "List of security incidents in the organization", +"items": { +"$ref": "GoogleCloudApigeeV1SecurityIncident" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudApigeeV1ListSecurityMonitoringConditionsResponse": { +"description": "Response for ListSecurityMonitoringConditions.", +"id": "GoogleCloudApigeeV1ListSecurityMonitoringConditionsResponse", +"properties": { +"nextPageToken": { +"description": "A token that can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.", +"type": "string" +}, +"securityMonitoringConditions": { +"description": "List of security monitoring conditions in the organization.", +"items": { +"$ref": "GoogleCloudApigeeV1SecurityMonitoringCondition" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudApigeeV1ListSecurityProfileRevisionsResponse": { +"description": "Response for ListSecurityProfileRevisions.", +"id": "GoogleCloudApigeeV1ListSecurityProfileRevisionsResponse", +"properties": { +"nextPageToken": { +"description": "A token that can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.", +"type": "string" +}, +"securityProfiles": { +"description": "List of security profile revisions. The revisions may be attached or unattached to any environment.", +"items": { +"$ref": "GoogleCloudApigeeV1SecurityProfile" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudApigeeV1ListSecurityProfilesResponse": { +"description": "Response for ListSecurityProfiles.", +"id": "GoogleCloudApigeeV1ListSecurityProfilesResponse", +"properties": { +"nextPageToken": { +"description": "A token that can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.", +"type": "string" +}, +"securityProfiles": { +"description": "List of security profiles in the organization. The profiles may be attached or unattached to any environment. This will return latest revision of each profile.", +"items": { +"$ref": "GoogleCloudApigeeV1SecurityProfile" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudApigeeV1ListSecurityProfilesV2Response": { +"description": "Response for ListSecurityProfilesV2.", +"id": "GoogleCloudApigeeV1ListSecurityProfilesV2Response", +"properties": { +"nextPageToken": { +"description": "A token that can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.", +"type": "string" +}, +"securityProfilesV2": { +"description": "List of security profiles in the organization.", +"items": { +"$ref": "GoogleCloudApigeeV1SecurityProfileV2" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudApigeeV1ListSecurityReportsResponse": { +"description": "The response for SecurityReports.", +"id": "GoogleCloudApigeeV1ListSecurityReportsResponse", +"properties": { +"nextPageToken": { +"description": "If the number of security reports exceeded the page size requested, the token can be used to fetch the next page in a subsequent call. If the response is the last page and there are no more reports to return this field is left empty.", +"type": "string" +}, +"securityReports": { +"description": "The security reports belong to requested resource name.", +"items": { +"$ref": "GoogleCloudApigeeV1SecurityReport" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudApigeeV1ListSharedFlowsResponse": { +"id": "GoogleCloudApigeeV1ListSharedFlowsResponse", +"properties": { +"sharedFlows": { +"items": { +"$ref": "GoogleCloudApigeeV1SharedFlow" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudApigeeV1ListSpacesResponse": { +"description": "A response to a ListSpaces request containing the list of organization spaces and a page token for the next page.", +"id": "GoogleCloudApigeeV1ListSpacesResponse", +"properties": { +"nextPageToken": { +"description": "A token that can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.", +"type": "string" +}, +"spaces": { +"description": "List of Apigee organization spaces.", +"items": { +"$ref": "GoogleCloudApigeeV1Space" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudApigeeV1ListTraceConfigOverridesResponse": { +"description": "Response for ListTraceConfigOverrides.", +"id": "GoogleCloudApigeeV1ListTraceConfigOverridesResponse", +"properties": { +"nextPageToken": { +"description": "Token value that can be passed as `page_token` to retrieve the next page of content.", +"type": "string" +}, +"traceConfigOverrides": { +"description": "List all trace configuration overrides in an environment.", +"items": { +"$ref": "GoogleCloudApigeeV1TraceConfigOverride" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudApigeeV1LlmOperation": { +"description": "Represents the pairing of REST resource path, model and the actions (verbs) allowed on the resource path.", +"id": "GoogleCloudApigeeV1LlmOperation", +"properties": { +"methods": { +"description": "Optional. methods refers to the REST verbs as in https://httpwg.org/specs/rfc9110.html For example: GET, POST, PUT, DELETE, etc. They need to be in uppercase. When none specified, all verb types are allowed.", +"items": { +"type": "string" +}, +"type": "array" +}, +"model": { +"description": "Required. LLM model name associated with the API proxy", +"type": "string" +}, +"resource": { +"description": "Required. REST resource path associated with the API proxy or remote service.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudApigeeV1LlmOperationConfig": { +"description": "Binds the resources in an API proxy or remote service with the allowed REST methods and associated quota enforcement.", +"id": "GoogleCloudApigeeV1LlmOperationConfig", +"properties": { +"apiSource": { +"description": "Required. Name of the API proxy or remote service with which the resources, methods, and quota are associated.", +"type": "string" +}, +"attributes": { +"description": "Optional. Custom attributes associated with the operation.", +"items": { +"$ref": "GoogleCloudApigeeV1Attribute" +}, +"type": "array" +}, +"llmOperations": { +"description": "Required. List of resource/method/model for the API proxy to which quota will applied. **Note**: Currently, you can specify only a single resource/method/model mapping. The call will fail if more than one resource/method/model mappings are provided.", +"items": { +"$ref": "GoogleCloudApigeeV1LlmOperation" +}, +"type": "array" +}, +"llmTokenQuota": { +"$ref": "GoogleCloudApigeeV1LlmTokenQuota", +"description": "Required. LLM token Quota parameters to be enforced for the resources, methods, and API source & LLM model combination. If none are specified, quota enforcement will not be done." +} +}, +"type": "object" +}, +"GoogleCloudApigeeV1LlmOperationGroup": { +"description": "List of LLM operation configuration details associated with Apigee API proxies.", +"id": "GoogleCloudApigeeV1LlmOperationGroup", +"properties": { +"operationConfigs": { +"description": "Required. List of LLM operation configurations for either Apigee API proxies that are associated with this API product.", +"items": { +"$ref": "GoogleCloudApigeeV1LlmOperationConfig" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudApigeeV1LlmTokenQuota": { +"description": "LLM Token Quota contains the essential parameters needed that can be applied on the resources, methods, models, API source combination associated with this API product. While LLM Token Quota is optional, setting it prevents requests from exceeding the provisioned parameters.", +"id": "GoogleCloudApigeeV1LlmTokenQuota", +"properties": { +"interval": { +"description": "Required. Time interval over which the number of request messages is calculated.", +"type": "string" +}, +"limit": { +"description": "Required. Upper limit of LLM tokens allowed for the time interval and time unit specified. Requests exceeding this limit will be rejected.", +"type": "string" +}, +"timeUnit": { +"description": "Optional. Time unit defined for the `interval`. Valid values include `minute`, `hour`, `day`, or `month`. If `limit` and `interval` are valid, the default value is `hour`; otherwise, the default is null.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudApigeeV1MaintenanceUpdatePolicy": { +"description": "MaintenanceUpdatePolicy specifies the preferred window to perform maintenance on the instance (day of the week and time of day).", +"id": "GoogleCloudApigeeV1MaintenanceUpdatePolicy", +"properties": { +"maintenanceChannel": { +"description": "Optional. Maintenance channel to specify relative scheduling for maintenance.", +"enum": [ +"MAINTENANCE_CHANNEL_UNSPECIFIED", +"WEEK1", +"WEEK2" +], +"enumDescriptions": [ +"Unspecified maintenance channel.", +"Receive 1 weeks notice before maintenance occurs", +"Receive 2 weeks notice before maintenance occurs" +], +"type": "string" +}, +"maintenanceWindows": { +"description": "Optional. Preferred windows to perform maintenance. Currently limited to 1.", +"items": { +"$ref": "GoogleCloudApigeeV1MaintenanceUpdatePolicyMaintenanceWindow" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudApigeeV1MaintenanceUpdatePolicyMaintenanceWindow": { +"description": "MaintenanceWindow specifies the preferred day of the week and time of day to perform maintenance.", +"id": "GoogleCloudApigeeV1MaintenanceUpdatePolicyMaintenanceWindow", +"properties": { +"day": { +"description": "Required. Preferred day of the week for maintenance, e.g. MONDAY, TUESDAY, etc.", +"enum": [ +"DAY_OF_WEEK_UNSPECIFIED", +"MONDAY", +"TUESDAY", +"WEDNESDAY", +"THURSDAY", +"FRIDAY", +"SATURDAY", +"SUNDAY" +], +"enumDescriptions": [ +"The day of the week is unspecified.", +"Monday", +"Tuesday", +"Wednesday", +"Thursday", +"Friday", +"Saturday", +"Sunday" +], +"type": "string" +}, +"startTime": { +"$ref": "GoogleTypeTimeOfDay", +"description": "Required. The start time (UTC) of the maintenance window." +} +}, +"type": "object" +}, +"GoogleCloudApigeeV1Metadata": { +"description": "Encapsulates additional information about query execution.", +"id": "GoogleCloudApigeeV1Metadata", +"properties": { +"errors": { +"description": "List of error messages as strings.", +"items": { +"type": "string" +}, +"type": "array" +}, +"notices": { +"description": "List of additional information such as data source, if result was truncated. For example: ``` \"notices\": [ \"Source:Postgres\", \"PG Host:uappg0rw.e2e.apigeeks.net\", \"query served by:4b64601e-40de-4eb1-bfb9-eeee7ac929ed\", \"Table used: edge.api.uapgroup2.agg_api\" ]```", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudApigeeV1Metric": { +"description": "Encapsulates the metric data point. For example: ```{ \"name\": \"sum(message_count)\", \"values\" : [ { \"timestamp\": 1549004400000, \"value\": \"39.0\" }, { \"timestamp\" : 1548997200000, \"value\" : \"0.0\" } ] }``` or ```{ \"name\": \"sum(message_count)\", \"values\" : [\"39.0\"] }```", +"id": "GoogleCloudApigeeV1Metric", +"properties": { +"name": { +"description": "Metric name.", +"type": "string" +}, +"values": { +"description": "List of metric values. Possible value formats include: `\"values\":[\"39.0\"]` or `\"values\":[ { \"value\": \"39.0\", \"timestamp\": 1232434354} ]`", +"items": { +"type": "any" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudApigeeV1MetricAggregation": { +"description": "The optionally aggregated metric to query with its ordering.", +"id": "GoogleCloudApigeeV1MetricAggregation", +"properties": { +"aggregation": { +"description": "Aggregation function associated with the metric.", +"enum": [ +"AGGREGATION_FUNCTION_UNSPECIFIED", +"AVG", +"SUM", +"MIN", +"MAX", +"COUNT_DISTINCT" +], +"enumDescriptions": [ +"Unspecified Aggregation function.", +"Average.", +"Summation.", +"Min.", +"Max.", +"Count distinct" +], +"type": "string" +}, +"name": { +"description": "Name of the metric", +"type": "string" +}, +"order": { +"description": "Ordering for this aggregation in the result. For time series this is ignored since the ordering of points depends only on the timestamp, not the values.", +"enum": [ +"ORDER_UNSPECIFIED", +"ASCENDING", +"DESCENDING" +], +"enumDescriptions": [ +"Unspecified order. Default is Descending.", +"Ascending sort order.", +"Descending sort order." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudApigeeV1MonetizationConfig": { +"description": "Configuration for the Monetization add-on.", +"id": "GoogleCloudApigeeV1MonetizationConfig", +"properties": { +"enabled": { +"description": "Flag that specifies whether the Monetization add-on is enabled.", +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleCloudApigeeV1MoveApiProductRequest": { +"description": "Moves API product to a different space.", +"id": "GoogleCloudApigeeV1MoveApiProductRequest", +"properties": { +"space": { +"description": "Optional. Resource ID of the space to move the API product to. If unspecified, the API product will be moved to the organization level.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudApigeeV1MoveApiProxyRequest": { +"description": "Moves an API Proxy to a different Space.", +"id": "GoogleCloudApigeeV1MoveApiProxyRequest", +"properties": { +"space": { +"description": "Optional. Resource ID of the space to move the proxy to. If unspecified, the proxy will be moved to the organization level.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudApigeeV1MoveSharedFlowRequest": { +"description": "Moves a Shared Flow to a different space.", +"id": "GoogleCloudApigeeV1MoveSharedFlowRequest", +"properties": { +"space": { +"description": "Optional. Resource ID of the space to move the shared flow to. If unspecified, the shared flow will be moved to the organization level.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudApigeeV1NatAddress": { +"description": "Apigee NAT(network address translation) address. A NAT address is a static external IP address used for Internet egress traffic.", +"id": "GoogleCloudApigeeV1NatAddress", +"properties": { +"ipAddress": { +"description": "Output only. The static IPV4 address.", +"readOnly": true, +"type": "string" +}, +"name": { +"description": "Required. Resource ID of the NAT address.", +"type": "string" +}, +"state": { +"description": "Output only. State of the nat address.", +"enum": [ +"STATE_UNSPECIFIED", +"CREATING", +"RESERVED", +"ACTIVE", +"DELETING" +], +"enumDescriptions": [ +"The resource is in an unspecified state.", +"The NAT address is being created.", +"The NAT address is reserved but not yet used for Internet egress.", +"The NAT address is active and used for Internet egress.", +"The NAT address is being deleted." +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudApigeeV1NodeConfig": { +"description": "NodeConfig for setting the min/max number of nodes associated with the environment.", +"id": "GoogleCloudApigeeV1NodeConfig", +"properties": { +"currentAggregateNodeCount": { +"description": "Output only. The current total number of gateway nodes that each environment currently has across all instances.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"maxNodeCount": { +"description": "Optional. The maximum total number of gateway nodes that the is reserved for all instances that has the specified environment. If not specified, the default is determined by the recommended maximum number of nodes for that gateway.", +"format": "int64", +"type": "string" +}, +"minNodeCount": { +"description": "Optional. The minimum total number of gateway nodes that the is reserved for all instances that has the specified environment. If not specified, the default is determined by the recommended minimum number of nodes for that gateway.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudApigeeV1OASDocumentation": { +"description": "OpenAPI Specification documentation for a catalog item.", +"id": "GoogleCloudApigeeV1OASDocumentation", +"properties": { +"format": { +"description": "Output only. The format of the input specification file contents.", +"enum": [ +"FORMAT_UNSPECIFIED", +"YAML", +"JSON" +], +"enumDescriptions": [ +"The format is not available.", +"YAML format.", +"JSON format." +], +"readOnly": true, +"type": "string" +}, +"spec": { +"$ref": "GoogleCloudApigeeV1DocumentationFile", +"description": "Required. The documentation file contents for the OpenAPI Specification. JSON and YAML file formats are supported." +} +}, +"type": "object" +}, +"GoogleCloudApigeeV1Operation": { +"description": "Represents the pairing of REST resource path and the actions (verbs) allowed on the resource path.", +"id": "GoogleCloudApigeeV1Operation", +"properties": { +"methods": { +"description": "methods refers to the REST verbs as in https://www.w3.org/Protocols/rfc2616/rfc2616-sec9.html. When none specified, all verb types are allowed.", +"items": { +"type": "string" +}, +"type": "array" +}, +"resource": { +"description": "Required. REST resource path associated with the API proxy or remote service.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudApigeeV1OperationConfig": { +"description": "Binds the resources in an API proxy or remote service with the allowed REST methods and associated quota enforcement.", +"id": "GoogleCloudApigeeV1OperationConfig", +"properties": { +"apiSource": { +"description": "Required. Name of the API proxy or remote service with which the resources, methods, and quota are associated.", +"type": "string" +}, +"attributes": { +"description": "Custom attributes associated with the operation.", +"items": { +"$ref": "GoogleCloudApigeeV1Attribute" +}, +"type": "array" +}, +"operations": { +"description": "List of resource/method pairs for the API proxy or remote service to which quota will applied. **Note**: Currently, you can specify only a single resource/method pair. The call will fail if more than one resource/method pair is provided.", +"items": { +"$ref": "GoogleCloudApigeeV1Operation" +}, +"type": "array" +}, +"quota": { +"$ref": "GoogleCloudApigeeV1Quota", +"description": "Quota parameters to be enforced for the resources, methods, and API source combination. If none are specified, quota enforcement will not be done." +} +}, +"type": "object" +}, +"GoogleCloudApigeeV1OperationGroup": { +"description": "List of operation configuration details associated with Apigee API proxies or remote services. Remote services are non-Apigee proxies, such as Istio-Envoy.", +"id": "GoogleCloudApigeeV1OperationGroup", +"properties": { +"operationConfigType": { +"description": "Flag that specifes whether the configuration is for Apigee API proxy or a remote service. Valid values include `proxy` or `remoteservice`. Defaults to `proxy`. Set to `proxy` when Apigee API proxies are associated with the API product. Set to `remoteservice` when non-Apigee proxies like Istio-Envoy are associated with the API product.", +"type": "string" +}, +"operationConfigs": { +"description": "Required. List of operation configurations for either Apigee API proxies or other remote services that are associated with this API product.", +"items": { +"$ref": "GoogleCloudApigeeV1OperationConfig" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudApigeeV1OperationMetadata": { +"description": "Metadata describing an Operation.", +"id": "GoogleCloudApigeeV1OperationMetadata", +"properties": { +"operationType": { +"enum": [ +"OPERATION_TYPE_UNSPECIFIED", +"INSERT", +"DELETE", +"UPDATE" +], +"enumDescriptions": [ +"", +"", +"", +"" +], +"type": "string" +}, +"progress": { +"$ref": "GoogleCloudApigeeV1OperationMetadataProgress", +"description": "Progress of the operation." +}, +"state": { +"enum": [ +"STATE_UNSPECIFIED", +"NOT_STARTED", +"IN_PROGRESS", +"FINISHED" +], +"enumDescriptions": [ +"", +"", +"", +"" +], +"type": "string" +}, +"targetResourceName": { +"description": "Name of the resource for which the operation is operating on.", +"type": "string" +}, +"warnings": { +"description": "Warnings encountered while executing the operation.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudApigeeV1OperationMetadataProgress": { +"description": "Information about operation progress.", +"id": "GoogleCloudApigeeV1OperationMetadataProgress", +"properties": { +"description": { +"description": "Description of the operation's progress.", +"type": "string" +}, +"details": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"description": "The additional details of the progress.", +"type": "object" +}, +"percentDone": { +"description": "The percentage of the operation progress.", +"format": "int32", +"type": "integer" +}, +"state": { +"description": "State of the operation.", +"enum": [ +"STATE_UNSPECIFIED", +"NOT_STARTED", +"IN_PROGRESS", +"FINISHED" +], +"enumDescriptions": [ +"", +"", +"", +"" +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudApigeeV1OptimizedStats": { +"description": "Encapsulates a response format for JavaScript Optimized Scenario.", +"id": "GoogleCloudApigeeV1OptimizedStats", +"properties": { +"Response": { +"$ref": "GoogleCloudApigeeV1OptimizedStatsResponse", +"description": "Wraps the `stats` response for JavaScript Optimized Scenario with a response key. For example: ```{ \"Response\": { \"TimeUnit\": [], \"metaData\": { \"errors\": [], \"notices\": [ \"Source:Postgres\", \"Table used: edge.api.aaxgroup001.agg_api\", \"PG Host:ruappg08-ro.production.apigeeks.net\", \"query served by:80c4ebca-6a10-4a2e-8faf-c60c1ee306ca\" ] }, \"resultTruncated\": false, \"stats\": { \"data\": [ { \"identifier\": { \"names\": [ \"apiproxy\" ], \"values\": [ \"sirjee\" ] }, \"metric\": [ { \"env\": \"prod\", \"name\": \"sum(message_count)\", \"values\": [ 36.0 ] }, { \"env\": \"prod\", \"name\": \"sum(is_error)\", \"values\": [ 36.0 ] } ] } ] } } }```" +} +}, +"type": "object" +}, +"GoogleCloudApigeeV1OptimizedStatsNode": { +"description": "Encapsulates a data node as represented below: ``` { \"identifier\": { \"names\": [ \"apiproxy\" ], \"values\": [ \"sirjee\" ] }, \"metric\": [ { \"env\": \"prod\", \"name\": \"sum(message_count)\", \"values\": [ 36.0 ] } ] }``` or ``` { \"env\": \"prod\", \"name\": \"sum(message_count)\", \"values\": [ 36.0 ] }``` Depending on whether a dimension is present in the query or not the data node type can be a simple metric value or dimension identifier with list of metrics.", +"id": "GoogleCloudApigeeV1OptimizedStatsNode", +"properties": { +"data": { +"description": "List of data values.", +"items": { +"type": "any" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudApigeeV1OptimizedStatsResponse": { +"description": "Encapsulates a response format for JavaScript Optimized Scenario.", +"id": "GoogleCloudApigeeV1OptimizedStatsResponse", +"properties": { +"TimeUnit": { +"description": "List of time unit values. Time unit refers to an epoch timestamp value.", +"items": { +"format": "int64", +"type": "string" +}, +"type": "array" +}, +"metaData": { +"$ref": "GoogleCloudApigeeV1Metadata", +"description": "Metadata information about the query executed." +}, +"resultTruncated": { +"description": "Boolean flag that indicates whether the results were truncated based on the limit parameter.", +"type": "boolean" +}, +"stats": { +"$ref": "GoogleCloudApigeeV1OptimizedStatsNode", +"description": "`stats` results." +} +}, +"type": "object" +}, +"GoogleCloudApigeeV1Organization": { +"id": "GoogleCloudApigeeV1Organization", +"properties": { +"addonsConfig": { +"$ref": "GoogleCloudApigeeV1AddonsConfig", +"description": "Optional. Addon configurations of the Apigee organization." +}, +"analyticsRegion": { +"deprecated": true, +"description": "Required. DEPRECATED: This field will eventually be deprecated and replaced with a differently-named field. Primary Google Cloud region for analytics data storage. For valid values, see [Create an Apigee organization](https://cloud.google.com/apigee/docs/api-platform/get-started/create-org).", +"type": "string" +}, +"apiConsumerDataEncryptionKeyName": { +"description": "Optional. Cloud KMS key name used for encrypting API consumer data. If not specified or [BillingType](#BillingType) is `EVALUATION`, a Google-Managed encryption key will be used. Format: `projects/*/locations/*/keyRings/*/cryptoKeys/*`", +"type": "string" +}, +"apiConsumerDataLocation": { +"description": "Optional. This field is needed only for customers using non-default data residency regions. Apigee stores some control plane data only in single region. This field determines which single region Apigee should use. For example: \"us-west1\" when control plane is in US or \"europe-west2\" when control plane is in EU.", +"type": "string" +}, +"apigeeProjectId": { +"description": "Output only. Apigee Project ID associated with the organization. Use this project to allowlist Apigee in the Service Attachment when using private service connect with Apigee.", +"readOnly": true, +"type": "string" +}, +"attributes": { +"description": "Not used by Apigee.", +"items": { +"type": "string" +}, +"type": "array" +}, +"authorizedNetwork": { +"description": "Optional. Compute Engine network used for Service Networking to be peered with Apigee runtime instances. See [Getting started with the Service Networking API](https://cloud.google.com/service-infrastructure/docs/service-networking/getting-started). Valid only when [RuntimeType](#RuntimeType) is set to `CLOUD`. The value must be set before the creation of a runtime instance and can be updated only when there are no runtime instances. For example: `default`. When changing authorizedNetwork, you must reconfigure VPC peering. After VPC peering with previous network is deleted, [run the following command](https://cloud.google.com/sdk/gcloud/reference/services/vpc-peerings/delete): `gcloud services vpc-peerings delete --network=NETWORK`, where `NETWORK` is the name of the previous network. This will delete the previous Service Networking. Otherwise, you will get the following error: `The resource 'projects/...-tp' is already linked to another shared VPC host 'projects/...-tp`. Apigee also supports shared VPC (that is, the host network project is not the same as the one that is peering with Apigee). See [Shared VPC overview](https://cloud.google.com/vpc/docs/shared-vpc). To use a shared VPC network, use the following format: `projects/{host-project-id}/{region}/networks/{network-name}`. For example: `projects/my-sharedvpc-host/global/networks/mynetwork` **Note:** Not supported for Apigee hybrid.", +"type": "string" +}, +"billingType": { +"description": "Optional. Billing type of the Apigee organization. See [Apigee pricing](https://cloud.google.com/apigee/pricing).", +"enum": [ +"BILLING_TYPE_UNSPECIFIED", +"SUBSCRIPTION", +"EVALUATION", +"PAYG" +], +"enumDescriptions": [ +"Billing type not specified.", +"A pre-paid subscription to Apigee.", +"Free and limited access to Apigee for evaluation purposes only.", +"Access to Apigee using a Pay-As-You-Go plan." +], +"type": "string" +}, +"caCertificate": { +"deprecated": true, +"description": "Output only. Deprecated: Use `ca_certificates` instead. Base64-encoded public certificate for the root CA of the Apigee organization. Valid only when [RuntimeType](#RuntimeType) is `CLOUD`.", +"format": "byte", +"readOnly": true, +"type": "string" +}, +"caCertificates": { +"description": "Output only. Base64-encoded public certificates for the root CA of the Apigee organization. Valid only when [RuntimeType](#RuntimeType) is `CLOUD`. Multiple certificates are used to support certificate rotation.", +"items": { +"format": "byte", +"type": "string" +}, +"readOnly": true, +"type": "array" +}, +"controlPlaneEncryptionKeyName": { +"description": "Optional. Cloud KMS key name used for encrypting control plane data that is stored in a multi region. Only used for the data residency region \"US\" or \"EU\". If not specified or [BillingType](#BillingType) is `EVALUATION`, a Google-Managed encryption key will be used. Format: `projects/*/locations/*/keyRings/*/cryptoKeys/*`", +"type": "string" +}, +"createdAt": { +"description": "Output only. Time that the Apigee organization was created in milliseconds since epoch.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"customerName": { +"description": "Not used by Apigee.", +"type": "string" +}, +"description": { +"description": "Optional. Description of the Apigee organization.", +"type": "string" +}, +"disableVpcPeering": { +"description": "Optional. Flag that specifies whether the VPC Peering through Private Google Access should be disabled between the consumer network and Apigee. Valid only when RuntimeType is set to CLOUD. Required if an authorizedNetwork on the consumer project is not provided, in which case the flag should be set to true. The value must be set before the creation of any Apigee runtime instance and can be updated only when there are no runtime instances. **Note:** Apigee will be deprecating the vpc peering model that requires you to provide 'authorizedNetwork', by making the non-peering model as the default way of provisioning Apigee organization in future. So, this will be a temporary flag to enable the transition. Not supported for Apigee hybrid.", +"type": "boolean" +}, +"displayName": { +"description": "Optional. Display name for the Apigee organization. Unused, but reserved for future use.", +"type": "string" +}, +"environments": { +"description": "Output only. List of environments in the Apigee organization.", +"items": { +"type": "string" +}, +"readOnly": true, +"type": "array" +}, +"expiresAt": { +"description": "Output only. Time that the Apigee organization is scheduled for deletion.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"lastModifiedAt": { +"description": "Output only. Time that the Apigee organization was last modified in milliseconds since epoch.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"name": { +"description": "Output only. Name of the Apigee organization.", +"readOnly": true, +"type": "string" +}, +"networkEgressRestricted": { +"description": "Optional. Flag that specifies if internet egress is restricted for VPC Service Controls. Valid only when runtime_type is `CLOUD` and disable_vpc_peering is `true`.", +"type": "boolean" +}, +"portalDisabled": { +"description": "Optional. Configuration for the Portals settings.", +"type": "boolean" +}, +"projectId": { +"description": "Output only. Project ID associated with the Apigee organization.", +"readOnly": true, +"type": "string" +}, +"properties": { +"$ref": "GoogleCloudApigeeV1Properties", +"description": "Optional. Properties defined in the Apigee organization profile." +}, +"runtimeDatabaseEncryptionKeyName": { +"description": "Optional. Cloud KMS key name used for encrypting the data that is stored and replicated across runtime instances. Update is not allowed after the organization is created. If not specified or [RuntimeType](#RuntimeType) is `TRIAL`, a Google-Managed encryption key will be used. For example: \"projects/foo/locations/us/keyRings/bar/cryptoKeys/baz\". **Note:** Not supported for Apigee hybrid.", +"type": "string" +}, +"runtimeType": { +"description": "Required. Runtime type of the Apigee organization based on the Apigee subscription purchased.", +"enum": [ +"RUNTIME_TYPE_UNSPECIFIED", +"CLOUD", +"HYBRID" +], +"enumDescriptions": [ +"Runtime type not specified.", +"Google-managed Apigee runtime.", +"User-managed Apigee hybrid runtime." +], +"type": "string" +}, +"state": { +"description": "Output only. State of the organization. Values other than ACTIVE means the resource is not ready to use.", +"enum": [ +"STATE_UNSPECIFIED", +"CREATING", +"ACTIVE", +"DELETING", +"UPDATING" +], +"enumDescriptions": [ +"Resource is in an unspecified state.", +"Resource is being created.", +"Resource is provisioned and ready to use.", +"The resource is being deleted.", +"The resource is being updated." +], +"readOnly": true, +"type": "string" +}, +"subscriptionPlan": { +"description": "Output only. Subscription plan that the customer has purchased. Output only.", +"enum": [ +"SUBSCRIPTION_PLAN_UNSPECIFIED", +"SUBSCRIPTION_2021", +"SUBSCRIPTION_2024" +], +"enumDescriptions": [ +"Subscription plan not specified.", +"Traditional subscription plan.", +"New subscription plan that provides standard proxy and scaled proxy implementation." +], +"readOnly": true, +"type": "string" +}, +"subscriptionType": { +"deprecated": true, +"description": "Output only. DEPRECATED: This will eventually be replaced by BillingType. Subscription type of the Apigee organization. Valid values include trial (free, limited, and for evaluation purposes only) or paid (full subscription has been purchased). See [Apigee pricing](https://cloud.google.com/apigee/pricing/).", +"enum": [ +"SUBSCRIPTION_TYPE_UNSPECIFIED", +"PAID", +"TRIAL" +], +"enumDescriptions": [ +"Subscription type not specified.", +"Full subscription to Apigee has been purchased.", +"Subscription to Apigee is free, limited, and used for evaluation purposes only." +], +"readOnly": true, +"type": "string" +}, +"type": { +"description": "Not used by Apigee.", +"enum": [ +"TYPE_UNSPECIFIED", +"TYPE_TRIAL", +"TYPE_PAID", +"TYPE_INTERNAL" +], +"enumDescriptions": [ +"Subscription type not specified.", +"Subscription to Apigee is free, limited, and used for evaluation purposes only.", +"Full subscription to Apigee has been purchased. See [Apigee pricing](https://cloud.google.com/apigee/pricing/).", +"For internal users only." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudApigeeV1OrganizationProjectMapping": { +"id": "GoogleCloudApigeeV1OrganizationProjectMapping", +"properties": { +"location": { +"description": "Output only. The Google Cloud region where control plane data is located. For more information, see https://cloud.google.com/about/locations/.", +"readOnly": true, +"type": "string" +}, +"organization": { +"description": "Name of the Apigee organization.", +"type": "string" +}, +"projectId": { +"description": "Google Cloud project associated with the Apigee organization", +"type": "string" +}, +"projectIds": { +"deprecated": true, +"description": "DEPRECATED: Use `project_id`. An Apigee Organization is mapped to a single project.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudApigeeV1PodStatus": { +"id": "GoogleCloudApigeeV1PodStatus", +"properties": { +"appVersion": { +"description": "Version of the application running in the pod.", +"type": "string" +}, +"deploymentStatus": { +"description": "Status of the deployment. Valid values include: - `deployed`: Successful. - `error` : Failed. - `pending` : Pod has not yet reported on the deployment.", +"type": "string" +}, +"deploymentStatusTime": { +"description": "Time the deployment status was reported in milliseconds since epoch.", +"format": "int64", +"type": "string" +}, +"deploymentTime": { +"description": "Time the proxy was deployed in milliseconds since epoch.", +"format": "int64", +"type": "string" +}, +"podName": { +"description": "Name of the pod which is reporting the status.", +"type": "string" +}, +"podStatus": { +"description": "Overall status of the pod (not this specific deployment). Valid values include: - `active`: Up to date. - `stale` : Recently out of date. Pods that have not reported status in a long time are excluded from the output.", +"type": "string" +}, +"podStatusTime": { +"description": "Time the pod status was reported in milliseconds since epoch.", +"format": "int64", +"type": "string" +}, +"statusCode": { +"description": "Code associated with the deployment status.", +"type": "string" +}, +"statusCodeDetails": { +"description": "Human-readable message associated with the status code.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudApigeeV1Point": { +"description": "Point is a group of information collected by runtime plane at critical points of the message flow of the processed API request. This is a list of supported point IDs, categorized to three major buckets. For each category, debug points that we are currently supporting are listed below: - Flow status debug points: StateChange FlowInfo Condition Execution DebugMask Error - Flow control debug points: FlowCallout Paused Resumed FlowReturn BreakFlow Error - Runtime debug points: ScriptExecutor FlowCalloutStepDefinition CustomTarget StepDefinition Oauth2ServicePoint RaiseFault NodeJS The detail information of the given debug point is stored in a list of results.", +"id": "GoogleCloudApigeeV1Point", +"properties": { +"id": { +"description": "Name of a step in the transaction.", +"type": "string" +}, +"results": { +"description": "List of results extracted from a given debug point.", +"items": { +"$ref": "GoogleCloudApigeeV1Result" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudApigeeV1ProfileConfig": { +"description": "ProfileConfig defines a set of categories and policies which will be used to compute security score.", +"id": "GoogleCloudApigeeV1ProfileConfig", +"properties": { +"categories": { +"description": "List of categories of profile config.", +"items": { +"$ref": "GoogleCloudApigeeV1ProfileConfigCategory" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudApigeeV1ProfileConfigAbuse": { +"description": "Checks for abuse, which includes any requests sent to the API for purposes other than what it is intended for, such as high volumes of requests, data scraping, and abuse related to authorization.", +"id": "GoogleCloudApigeeV1ProfileConfigAbuse", +"properties": {}, +"type": "object" +}, +"GoogleCloudApigeeV1ProfileConfigAuthorization": { +"description": "By default, following policies will be included: - JWS - JWT - OAuth - BasicAuth - APIKey", +"id": "GoogleCloudApigeeV1ProfileConfigAuthorization", +"properties": {}, +"type": "object" +}, +"GoogleCloudApigeeV1ProfileConfigCORS": { +"description": "Checks to see if you have CORS policy in place.", +"id": "GoogleCloudApigeeV1ProfileConfigCORS", +"properties": {}, +"type": "object" +}, +"GoogleCloudApigeeV1ProfileConfigCategory": { +"description": "Advanced API Security provides security profile that scores the following categories.", +"id": "GoogleCloudApigeeV1ProfileConfigCategory", +"properties": { +"abuse": { +"$ref": "GoogleCloudApigeeV1ProfileConfigAbuse", +"description": "Checks for abuse, which includes any requests sent to the API for purposes other than what it is intended for, such as high volumes of requests, data scraping, and abuse related to authorization." +}, +"authorization": { +"$ref": "GoogleCloudApigeeV1ProfileConfigAuthorization", +"description": "Checks to see if you have an authorization policy in place." +}, +"cors": { +"$ref": "GoogleCloudApigeeV1ProfileConfigCORS", +"description": "Checks to see if you have CORS policy in place." +}, +"mediation": { +"$ref": "GoogleCloudApigeeV1ProfileConfigMediation", +"description": "Checks to see if you have a mediation policy in place." +}, +"mtls": { +"$ref": "GoogleCloudApigeeV1ProfileConfigMTLS", +"description": "Checks to see if you have configured mTLS for the target server." +}, +"threat": { +"$ref": "GoogleCloudApigeeV1ProfileConfigThreat", +"description": "Checks to see if you have a threat protection policy in place." +} +}, +"type": "object" +}, +"GoogleCloudApigeeV1ProfileConfigMTLS": { +"description": "Checks to see if you have configured mTLS for the target server.", +"id": "GoogleCloudApigeeV1ProfileConfigMTLS", +"properties": {}, +"type": "object" +}, +"GoogleCloudApigeeV1ProfileConfigMediation": { +"description": "By default, following policies will be included: - OASValidation - SOAPMessageValidation", +"id": "GoogleCloudApigeeV1ProfileConfigMediation", +"properties": {}, +"type": "object" +}, +"GoogleCloudApigeeV1ProfileConfigThreat": { +"description": "By default, following policies will be included: - XMLThreatProtection - JSONThreatProtection", +"id": "GoogleCloudApigeeV1ProfileConfigThreat", +"properties": {}, +"type": "object" +}, +"GoogleCloudApigeeV1Properties": { +"description": "Message for compatibility with legacy Edge specification for Java Properties object in JSON.", +"id": "GoogleCloudApigeeV1Properties", +"properties": { +"property": { +"description": "List of all properties in the object", +"items": { +"$ref": "GoogleCloudApigeeV1Property" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudApigeeV1Property": { +"description": "A single property entry in the Properties message.", +"id": "GoogleCloudApigeeV1Property", +"properties": { +"name": { +"description": "The property key", +"type": "string" +}, +"value": { +"description": "The property value", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudApigeeV1ProvisionOrganizationRequest": { +"description": "Request for ProvisionOrganization.", +"id": "GoogleCloudApigeeV1ProvisionOrganizationRequest", +"properties": { +"analyticsRegion": { +"description": "Primary Cloud Platform region for analytics data storage. For valid values, see [Create an organization](https://cloud.google.com/apigee/docs/hybrid/latest/precog-provision). Defaults to `us-west1`.", +"type": "string" +}, +"authorizedNetwork": { +"description": "Compute Engine network used for Service Networking to be peered with Apigee runtime instances. See [Getting started with the Service Networking API](https://cloud.google.com/service-infrastructure/docs/service-networking/getting-started). Apigee also supports shared VPC (that is, the host network project is not the same as the one that is peering with Apigee). See [Shared VPC overview](https://cloud.google.com/vpc/docs/shared-vpc). To use a shared VPC network, use the following format: `projects/{host-project-id}/{region}/networks/{network-name}`. For example: `projects/my-sharedvpc-host/global/networks/mynetwork`", +"type": "string" +}, +"disableVpcPeering": { +"description": "Optional. Flag that specifies whether the VPC Peering through Private Google Access should be disabled between the consumer network and Apigee. Required if an authorizedNetwork on the consumer project is not provided, in which case the flag should be set to true. The value must be set before the creation of any Apigee runtime instance and can be updated only when there are no runtime instances. **Note:** Apigee will be deprecating the vpc peering model that requires you to provide 'authorizedNetwork', by making the non-peering model as the default way of provisioning Apigee organization in future. So, this will be a temporary flag to enable the transition. Not supported for Apigee hybrid.", +"type": "boolean" +}, +"runtimeLocation": { +"description": "Cloud Platform location for the runtime instance. Defaults to zone `us-west1-a`. If a region is provided, `EVAL` organizations will use the region for automatically selecting a zone for the runtime instance.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudApigeeV1Query": { +"id": "GoogleCloudApigeeV1Query", +"properties": { +"csvDelimiter": { +"description": "Delimiter used in the CSV file, if `outputFormat` is set to `csv`. Defaults to the `,` (comma) character. Supported delimiter characters include comma (`,`), pipe (`|`), and tab (`\\t`).", +"type": "string" +}, +"dimensions": { +"description": "A list of dimensions. https://docs.apigee.com/api-platform/analytics/analytics-reference#dimensions", +"items": { +"type": "string" +}, +"type": "array" +}, +"envgroupHostname": { +"description": "Hostname needs to be specified if query intends to run at host level. This field is only allowed when query is submitted by CreateHostAsyncQuery where analytics data will be grouped by organization and hostname.", +"type": "string" +}, +"filter": { +"description": "Boolean expression that can be used to filter data. Filter expressions can be combined using AND/OR terms and should be fully parenthesized to avoid ambiguity. See Analytics metrics, dimensions, and filters reference https://docs.apigee.com/api-platform/analytics/analytics-reference for more information on the fields available to filter on. For more information on the tokens that you use to build filter expressions, see Filter expression syntax. https://docs.apigee.com/api-platform/analytics/asynch-reports-api#filter-expression-syntax", +"type": "string" +}, +"groupByTimeUnit": { +"description": "Time unit used to group the result set. Valid values include: second, minute, hour, day, week, or month. If a query includes groupByTimeUnit, then the result is an aggregation based on the specified time unit and the resultant timestamp does not include milliseconds precision. If a query omits groupByTimeUnit, then the resultant timestamp includes milliseconds precision.", +"type": "string" +}, +"limit": { +"description": "Maximum number of rows that can be returned in the result.", +"format": "int32", +"type": "integer" +}, +"metrics": { +"description": "A list of Metrics.", +"items": { +"$ref": "GoogleCloudApigeeV1QueryMetric" +}, +"type": "array" +}, +"name": { +"description": "Asynchronous Query Name.", +"type": "string" +}, +"outputFormat": { +"description": "Valid values include: `csv` or `json`. Defaults to `json`. Note: Configure the delimiter for CSV output using the csvDelimiter property.", +"type": "string" +}, +"reportDefinitionId": { +"description": "Asynchronous Report ID.", +"type": "string" +}, +"timeRange": { +"description": "Required. Time range for the query. Can use the following predefined strings to specify the time range: `last60minutes` `last24hours` `last7days` Or, specify the timeRange as a structure describing start and end timestamps in the ISO format: yyyy-mm-ddThh:mm:ssZ. Example: \"timeRange\": { \"start\": \"2018-07-29T00:13:00Z\", \"end\": \"2018-08-01T00:18:00Z\" }", +"type": "any" +} +}, +"type": "object" +}, +"GoogleCloudApigeeV1QueryMetadata": { +"id": "GoogleCloudApigeeV1QueryMetadata", +"properties": { +"dimensions": { +"description": "Dimensions of the AsyncQuery.", +"items": { +"type": "string" +}, +"type": "array" +}, +"endTimestamp": { +"description": "End timestamp of the query range.", +"type": "string" +}, +"metrics": { +"description": "Metrics of the AsyncQuery. Example: [\"name:message_count,func:sum,alias:sum_message_count\"]", +"items": { +"type": "string" +}, +"type": "array" +}, +"outputFormat": { +"description": "Output format.", +"type": "string" +}, +"startTimestamp": { +"description": "Start timestamp of the query range.", +"type": "string" +}, +"timeUnit": { +"description": "Query GroupBy time unit.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudApigeeV1QueryMetric": { +"description": "More info about Metric: https://docs.apigee.com/api-platform/analytics/analytics-reference#metrics", +"id": "GoogleCloudApigeeV1QueryMetric", +"properties": { +"alias": { +"description": "Alias for the metric. Alias will be used to replace metric name in query results.", +"type": "string" +}, +"function": { +"description": "Aggregation function: avg, min, max, or sum.", +"type": "string" +}, +"name": { +"description": "Required. Metric name.", +"type": "string" +}, +"operator": { +"description": "One of `+`, `-`, `/`, `%`, `*`.", +"type": "string" +}, +"value": { +"description": "Operand value should be provided when operator is set.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudApigeeV1QueryTabularStatsRequest": { +"description": "Request payload representing the query to be run for fetching security statistics as rows.", +"id": "GoogleCloudApigeeV1QueryTabularStatsRequest", +"properties": { +"dimensions": { +"description": "Required. List of dimension names to group the aggregations by.", +"items": { +"type": "string" +}, +"type": "array" +}, +"filter": { +"description": "Filter further on specific dimension values. Follows the same grammar as custom report's filter expressions. Example, apiproxy eq 'foobar'. https://cloud.google.com/apigee/docs/api-platform/analytics/analytics-reference#filters", +"type": "string" +}, +"metrics": { +"description": "Required. List of metrics and their aggregations.", +"items": { +"$ref": "GoogleCloudApigeeV1MetricAggregation" +}, +"type": "array" +}, +"pageSize": { +"description": "Page size represents the number of rows.", +"format": "int32", +"type": "integer" +}, +"pageToken": { +"description": "Identifies a sequence of rows.", +"type": "string" +}, +"timeRange": { +"$ref": "GoogleTypeInterval", +"description": "Time range for the stats." +} +}, +"type": "object" +}, +"GoogleCloudApigeeV1QueryTabularStatsResponse": { +"description": "Encapsulates two kinds of stats that are results of the dimensions and aggregations requested. - Tabular rows. - Time series data. Example of tabular rows, Represents security stats results as a row of flat values.", +"id": "GoogleCloudApigeeV1QueryTabularStatsResponse", +"properties": { +"columns": { +"description": "Column names corresponding to the same order as the inner values in the stats field.", +"items": { +"type": "string" +}, +"type": "array" +}, +"nextPageToken": { +"description": "Next page token.", +"type": "string" +}, +"values": { +"description": "Resultant rows from the executed query.", +"items": { +"items": { +"type": "any" +}, +"type": "array" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudApigeeV1QueryTimeSeriesStatsRequest": { +"description": "QueryTimeSeriesStatsRequest represents a query that returns a collection of time series sequences grouped by their values.", +"id": "GoogleCloudApigeeV1QueryTimeSeriesStatsRequest", +"properties": { +"dimensions": { +"description": "List of dimension names to group the aggregations by. If no dimensions are passed, a single trend line representing the requested metric aggregations grouped by environment is returned.", +"items": { +"type": "string" +}, +"type": "array" +}, +"filter": { +"description": "Filter further on specific dimension values. Follows the same grammar as custom report's filter expressions. Example, apiproxy eq 'foobar'. https://cloud.google.com/apigee/docs/api-platform/analytics/analytics-reference#filters", +"type": "string" +}, +"metrics": { +"description": "Required. List of metrics and their aggregations.", +"items": { +"$ref": "GoogleCloudApigeeV1MetricAggregation" +}, +"type": "array" +}, +"pageSize": { +"description": "Page size represents the number of time series sequences, one per unique set of dimensions and their values.", +"format": "int32", +"type": "integer" +}, +"pageToken": { +"description": "Page token stands for a specific collection of time series sequences.", +"type": "string" +}, +"timeRange": { +"$ref": "GoogleTypeInterval", +"description": "Required. Time range for the stats." +}, +"timestampOrder": { +"description": "Order the sequences in increasing or decreasing order of timestamps. Default is descending order of timestamps (latest first).", +"enum": [ +"ORDER_UNSPECIFIED", +"ASCENDING", +"DESCENDING" +], +"enumDescriptions": [ +"Unspecified order. Default is Descending.", +"Ascending sort order.", +"Descending sort order." +], +"type": "string" +}, +"windowSize": { +"description": "Time buckets to group the stats by.", +"enum": [ +"WINDOW_SIZE_UNSPECIFIED", +"MINUTE", +"HOUR", +"DAY", +"MONTH" +], +"enumDescriptions": [ +"Unspecified window size. Default is 1 hour.", +"1 Minute window", +"1 Hour window", +"1 Day window", +"1 Month window" +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudApigeeV1QueryTimeSeriesStatsResponse": { +"description": "Represents security stats result as a collection of time series sequences.", +"id": "GoogleCloudApigeeV1QueryTimeSeriesStatsResponse", +"properties": { +"columns": { +"description": "Column names corresponding to the same order as the inner values in the stats field.", +"items": { +"type": "string" +}, +"type": "array" +}, +"nextPageToken": { +"description": "Next page token.", +"type": "string" +}, +"values": { +"description": "Results of the query returned as a JSON array.", +"items": { +"$ref": "GoogleCloudApigeeV1QueryTimeSeriesStatsResponseSequence" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudApigeeV1QueryTimeSeriesStatsResponseSequence": { +"description": "A sequence of time series.", +"id": "GoogleCloudApigeeV1QueryTimeSeriesStatsResponseSequence", +"properties": { +"dimensions": { +"additionalProperties": { +"type": "string" +}, +"description": "Map of dimensions and their values that uniquely identifies a time series sequence.", +"type": "object" +}, +"points": { +"description": "List of points. First value of each inner list is a timestamp.", +"items": { +"items": { +"type": "any" +}, +"type": "array" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudApigeeV1Quota": { +"description": "Quota contains the essential parameters needed that can be applied on the resources, methods, API source combination associated with this API product. While Quota is optional, setting it prevents requests from exceeding the provisioned parameters.", +"id": "GoogleCloudApigeeV1Quota", +"properties": { +"interval": { +"description": "Required. Time interval over which the number of request messages is calculated.", +"type": "string" +}, +"limit": { +"description": "Required. Upper limit allowed for the time interval and time unit specified. Requests exceeding this limit will be rejected.", +"type": "string" +}, +"timeUnit": { +"description": "Time unit defined for the `interval`. Valid values include `minute`, `hour`, `day`, or `month`. If `limit` and `interval` are valid, the default value is `hour`; otherwise, the default is null.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudApigeeV1RatePlan": { +"description": "Rate plan details.", +"id": "GoogleCloudApigeeV1RatePlan", +"properties": { +"apiproduct": { +"description": "Name of the API product that the rate plan is associated with.", +"type": "string" +}, +"billingPeriod": { +"description": "Frequency at which the customer will be billed.", +"enum": [ +"BILLING_PERIOD_UNSPECIFIED", +"WEEKLY", +"MONTHLY" +], +"enumDescriptions": [ +"Billing period not specified.", +"Weekly billing period. **Note**: Not supported by Apigee at this time.", +"Monthly billing period." +], +"type": "string" +}, +"consumptionPricingRates": { +"description": "API call volume ranges and the fees charged when the total number of API calls is within a given range. The method used to calculate the final fee depends on the selected pricing model. For example, if the pricing model is `BANDED` and the ranges are defined as follows: ``` { \"start\": 1, \"end\": 100, \"fee\": 2 }, { \"start\": 101, \"end\": 200, \"fee\": 1.50 }, { \"start\": 201, \"end\": 0, \"fee\": 1 }, } ``` Then the following fees would be charged based on the total number of API calls (assuming the currency selected is `USD`): * 50 calls cost 50 x $2 = $100 * 150 calls cost 100 x $2 + 50 x $1.5 = $275 * 250 calls cost 100 x $2 + 100 x $1.5 + 50 x $1 = $400 * 500 calls cost 100 x $2 + 100 x $1.5 + 300 x $1 = $650", +"items": { +"$ref": "GoogleCloudApigeeV1RateRange" +}, +"type": "array" +}, +"consumptionPricingType": { +"description": "Pricing model used for consumption-based charges.", +"enum": [ +"CONSUMPTION_PRICING_TYPE_UNSPECIFIED", +"FIXED_PER_UNIT", +"BANDED", +"TIERED", +"STAIRSTEP" +], +"enumDescriptions": [ +"Pricing model not specified. This is the default.", +"Fixed rate charged for each API call.", +"Variable rate charged for each API call based on price tiers. Example: * 1-100 calls cost $2 per call * 101-200 calls cost $1.50 per call * 201-300 calls cost $1 per call * Total price for 50 calls: 50 x $2 = $100 * Total price for 150 calls: 100 x $2 + 50 x $1.5 = $275 * Total price for 250 calls: 100 x $2 + 100 x $1.5 + 50 x $1 = $400.", +"**Note**: Not supported by Apigee at this time.", +"**Note**: Not supported by Apigee at this time." +], +"type": "string" +}, +"createdAt": { +"description": "Output only. Time that the rate plan was created in milliseconds since epoch.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"currencyCode": { +"description": "Currency to be used for billing. Consists of a three-letter code as defined by the [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) standard.", +"type": "string" +}, +"description": { +"description": "Description of the rate plan.", +"type": "string" +}, +"displayName": { +"description": "Display name of the rate plan.", +"type": "string" +}, +"endTime": { +"description": "Time when the rate plan will expire in milliseconds since epoch. Set to 0 or `null` to indicate that the rate plan should never expire.", +"format": "int64", +"type": "string" +}, +"fixedFeeFrequency": { +"description": "Frequency at which the fixed fee is charged.", +"format": "int32", +"type": "integer" +}, +"fixedRecurringFee": { +"$ref": "GoogleTypeMoney", +"description": "Fixed amount that is charged at a defined interval and billed in advance of use of the API product. The fee will be prorated for the first billing period." +}, +"lastModifiedAt": { +"description": "Output only. Time the rate plan was last modified in milliseconds since epoch.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"name": { +"description": "Output only. Name of the rate plan.", +"readOnly": true, +"type": "string" +}, +"paymentFundingModel": { +"deprecated": true, +"description": "DEPRECATED: This field is no longer supported and will eventually be removed when Apigee Hybrid 1.5/1.6 is no longer supported. Instead, use the `billingType` field inside `DeveloperMonetizationConfig` resource. Flag that specifies the billing account type, prepaid or postpaid.", +"enum": [ +"PAYMENT_FUNDING_MODEL_UNSPECIFIED", +"PREPAID", +"POSTPAID" +], +"enumDescriptions": [ +"Billing account type not specified.", +"Prepaid billing account type. Developer pays in advance for the use of your API products. Funds are deducted from their prepaid account balance. **Note**: Not supported by Apigee at this time.", +"Postpaid billing account type. Developer is billed through an invoice after using your API products." +], +"type": "string" +}, +"revenueShareRates": { +"description": "Details of the revenue sharing model.", +"items": { +"$ref": "GoogleCloudApigeeV1RevenueShareRange" +}, +"type": "array" +}, +"revenueShareType": { +"description": "Method used to calculate the revenue that is shared with developers.", +"enum": [ +"REVENUE_SHARE_TYPE_UNSPECIFIED", +"FIXED", +"VOLUME_BANDED" +], +"enumDescriptions": [ +"Revenue share type is not specified.", +"Fixed percentage of the total revenue will be shared. The percentage to be shared can be configured by the API provider.", +"Amount of revenue shared depends on the number of API calls. The API call volume ranges and the revenue share percentage for each volume can be configured by the API provider. **Note**: Not supported by Apigee at this time." +], +"type": "string" +}, +"setupFee": { +"$ref": "GoogleTypeMoney", +"description": "Initial, one-time fee paid when purchasing the API product." +}, +"startTime": { +"description": "Time when the rate plan becomes active in milliseconds since epoch.", +"format": "int64", +"type": "string" +}, +"state": { +"description": "Current state of the rate plan (draft or published).", +"enum": [ +"STATE_UNSPECIFIED", +"DRAFT", +"PUBLISHED" +], +"enumDescriptions": [ +"State of the rate plan is not specified.", +"Rate plan is in draft mode and only visible to API providers.", +"Rate plan is published and will become visible to developers for the configured duration (between `startTime` and `endTime`)." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudApigeeV1RateRange": { +"description": "API call volume range and the fees charged when the total number of API calls is within the range.", +"id": "GoogleCloudApigeeV1RateRange", +"properties": { +"end": { +"description": "Ending value of the range. Set to 0 or `null` for the last range of values.", +"format": "int64", +"type": "string" +}, +"fee": { +"$ref": "GoogleTypeMoney", +"description": "Fee to charge when total number of API calls falls within this range." +}, +"start": { +"description": "Starting value of the range. Set to 0 or `null` for the initial range of values.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudApigeeV1Reference": { +"description": "A Reference configuration. References must refer to a keystore that also exists in the parent environment.", +"id": "GoogleCloudApigeeV1Reference", +"properties": { +"description": { +"description": "Optional. A human-readable description of this reference.", +"type": "string" +}, +"name": { +"description": "Required. The resource id of this reference. Values must match the regular expression [\\w\\s\\-.]+.", +"type": "string" +}, +"refers": { +"description": "Required. The id of the resource to which this reference refers. Must be the id of a resource that exists in the parent environment and is of the given resource_type.", +"type": "string" +}, +"resourceType": { +"description": "The type of resource referred to by this reference. Valid values are 'KeyStore' or 'TrustStore'.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudApigeeV1ReferenceConfig": { +"id": "GoogleCloudApigeeV1ReferenceConfig", +"properties": { +"name": { +"description": "Name of the reference in the following format: `organizations/{org}/environments/{env}/references/{reference}`", +"type": "string" +}, +"resourceName": { +"description": "Name of the referenced resource in the following format: `organizations/{org}/environments/{env}/keystores/{keystore}` Only references to keystore resources are supported.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudApigeeV1ReportInstanceStatusRequest": { +"description": "Request for ReportInstanceStatus.", +"id": "GoogleCloudApigeeV1ReportInstanceStatusRequest", +"properties": { +"instanceUid": { +"description": "A unique ID for the instance which is guaranteed to be unique in case the user installs multiple hybrid runtimes with the same instance ID.", +"type": "string" +}, +"reportTime": { +"description": "The time the report was generated in the runtime. Used to prevent an old status from overwriting a newer one. An instance should space out it's status reports so that clock skew does not play a factor.", +"format": "google-datetime", +"type": "string" +}, +"resources": { +"description": "Status for config resources", +"items": { +"$ref": "GoogleCloudApigeeV1ResourceStatus" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudApigeeV1ReportInstanceStatusResponse": { +"description": "Placeholder for future enhancements to status reporting protocol", +"id": "GoogleCloudApigeeV1ReportInstanceStatusResponse", +"properties": {}, +"type": "object" +}, +"GoogleCloudApigeeV1ReportProperty": { +"id": "GoogleCloudApigeeV1ReportProperty", +"properties": { +"property": { +"description": "name of the property", +"type": "string" +}, +"value": { +"description": "property values", +"items": { +"$ref": "GoogleCloudApigeeV1Attribute" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudApigeeV1ResourceConfig": { +"id": "GoogleCloudApigeeV1ResourceConfig", +"properties": { +"location": { +"description": "Location of the resource as a URI.", +"type": "string" +}, +"name": { +"description": "Resource name in the following format: `organizations/{org}/environments/{env}/resourcefiles/{type}/{file}/revisions/{rev}` Only environment-scoped resource files are supported.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudApigeeV1ResourceFile": { +"description": "Metadata about a resource file.", +"id": "GoogleCloudApigeeV1ResourceFile", +"properties": { +"name": { +"description": "ID of the resource file.", +"type": "string" +}, +"type": { +"description": "Resource file type. {{ resource_file_type }}", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudApigeeV1ResourceFiles": { +"description": "List of resource files.", +"id": "GoogleCloudApigeeV1ResourceFiles", +"properties": { +"resourceFile": { +"description": "List of resource files.", +"items": { +"$ref": "GoogleCloudApigeeV1ResourceFile" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudApigeeV1ResourceStatus": { +"description": "The status of a resource loaded in the runtime.", +"id": "GoogleCloudApigeeV1ResourceStatus", +"properties": { +"resource": { +"description": "The resource name. Currently only two resources are supported: EnvironmentGroup - organizations/{org}/envgroups/{envgroup} EnvironmentConfig - organizations/{org}/environments/{environment}/deployedConfig", +"type": "string" +}, +"revisions": { +"description": "Revisions of the resource currently deployed in the instance.", +"items": { +"$ref": "GoogleCloudApigeeV1RevisionStatus" +}, +"type": "array" +}, +"totalReplicas": { +"description": "The total number of replicas that should have this resource.", +"format": "int32", +"type": "integer" +}, +"uid": { +"description": "The uid of the resource. In the unexpected case that the instance has multiple uids for the same name, they should be reported under separate ResourceStatuses.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudApigeeV1Result": { +"description": "Result is short for \"action result\", could be different types identified by \"action_result\" field. Supported types: 1. DebugInfo : generic debug info collected by runtime recorded as a list of properties. For example, the contents could be virtual host info, state change result, or execution metadata. Required fields : properties, timestamp 2. RequestMessage: information of a http request. Contains headers, request URI and http methods type.Required fields : headers, uri, verb 3. ResponseMessage: information of a http response. Contains headers, reason phrase and http status code. Required fields : headers, reasonPhrase, statusCode 4. ErrorMessage: information of a http error message. Contains detail error message, reason phrase and status code. Required fields : content, headers, reasonPhrase, statusCode 5. VariableAccess: a list of variable access actions, can be Get, Set and Remove. Required fields : accessList", +"id": "GoogleCloudApigeeV1Result", +"properties": { +"ActionResult": { +"description": "Type of the action result. Can be one of the five: DebugInfo, RequestMessage, ResponseMessage, ErrorMessage, VariableAccess", +"type": "string" +}, +"accessList": { +"description": "A list of variable access actions agaist the api proxy. Supported values: Get, Set, Remove.", +"items": { +"$ref": "GoogleCloudApigeeV1Access" +}, +"type": "array" +}, +"content": { +"description": "Error message content. for example, \"content\" : \"{\\\"fault\\\":{\\\"faultstring\\\":\\\"API timed out\\\",\\\"detail\\\":{\\\"errorcode\\\":\\\"flow.APITimedOut\\\"}}}\"", +"type": "string" +}, +"headers": { +"description": "A list of HTTP headers. for example, '\"headers\" : [ { \"name\" : \"Content-Length\", \"value\" : \"83\" }, { \"name\" : \"Content-Type\", \"value\" : \"application/json\" } ]'", +"items": { +"$ref": "GoogleCloudApigeeV1Property" +}, +"type": "array" +}, +"properties": { +"$ref": "GoogleCloudApigeeV1Properties", +"description": "Name value pairs used for DebugInfo ActionResult." +}, +"reasonPhrase": { +"description": "HTTP response phrase", +"type": "string" +}, +"statusCode": { +"description": "HTTP response code", +"type": "string" +}, +"timestamp": { +"description": "Timestamp of when the result is recorded. Its format is dd-mm-yy hh:mm:ss:xxx. For example, `\"timestamp\" : \"12-08-19 00:31:59:960\"`", +"type": "string" +}, +"uRI": { +"description": "The relative path of the api proxy. for example, `\"uRI\" : \"/iloveapis\"`", +"type": "string" +}, +"verb": { +"description": "HTTP method verb", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudApigeeV1RevenueShareRange": { +"description": "API call volume range and the percentage of revenue to share with the developer when the total number of API calls is within the range.", +"id": "GoogleCloudApigeeV1RevenueShareRange", +"properties": { +"end": { +"description": "Ending value of the range. Set to 0 or `null` for the last range of values.", +"format": "int64", +"type": "string" +}, +"sharePercentage": { +"description": "Percentage of the revenue to be shared with the developer. For example, to share 21 percent of the total revenue with the developer, set this value to 21. Specify a decimal number with a maximum of two digits following the decimal point.", +"format": "double", +"type": "number" +}, +"start": { +"description": "Starting value of the range. Set to 0 or `null` for the initial range of values.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudApigeeV1RevisionStatus": { +"description": "The status of a specific resource revision.", +"id": "GoogleCloudApigeeV1RevisionStatus", +"properties": { +"errors": { +"description": "Errors reported when attempting to load this revision.", +"items": { +"$ref": "GoogleCloudApigeeV1UpdateError" +}, +"type": "array" +}, +"jsonSpec": { +"description": "The json content of the resource revision. Large specs should be sent individually via the spec field to avoid hitting request size limits.", +"type": "string" +}, +"replicas": { +"description": "The number of replicas that have successfully loaded this revision.", +"format": "int32", +"type": "integer" +}, +"revisionId": { +"description": "The revision of the resource.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudApigeeV1RoutingRule": { +"id": "GoogleCloudApigeeV1RoutingRule", +"properties": { +"basepath": { +"description": "URI path prefix used to route to the specified environment. May contain one or more wildcards. For example, path segments consisting of a single `*` character will match any string.", +"type": "string" +}, +"deploymentGroup": { +"description": "Name of a deployment group in an environment bound to the environment group in the following format: `organizations/{org}/environment/{env}/deploymentGroups/{group}` Only one of environment or deployment_group will be set.", +"type": "string" +}, +"envGroupRevision": { +"description": "The env group config revision_id when this rule was added or last updated. This value is set when the rule is created and will only update if the the environment_id changes. It is used to determine if the runtime is up to date with respect to this rule. This field is omitted from the IngressConfig unless the GetDeployedIngressConfig API is called with view=FULL.", +"format": "int64", +"type": "string" +}, +"environment": { +"description": "Name of an environment bound to the environment group in the following format: `organizations/{org}/environments/{env}`. Only one of environment or deployment_group will be set.", +"type": "string" +}, +"otherTargets": { +"description": "Conflicting targets, which will be resource names specifying either deployment groups or environments.", +"items": { +"type": "string" +}, +"type": "array" +}, +"receiver": { +"description": "The resource name of the proxy revision that is receiving this basepath in the following format: `organizations/{org}/apis/{api}/revisions/{rev}`. This field is omitted from the IngressConfig unless the GetDeployedIngressConfig API is called with view=FULL.", +"type": "string" +}, +"updateTime": { +"description": "The unix timestamp when this rule was updated. This is updated whenever env_group_revision is updated. This field is omitted from the IngressConfig unless the GetDeployedIngressConfig API is called with view=FULL.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudApigeeV1RuntimeAddonsConfig": { +"description": "RuntimeAddonsConfig defines the runtime configurations for add-ons in an environment.", +"id": "GoogleCloudApigeeV1RuntimeAddonsConfig", +"properties": { +"analyticsConfig": { +"$ref": "GoogleCloudApigeeV1RuntimeAnalyticsConfig", +"description": "Runtime configuration for Analytics add-on." +}, +"apiSecurityConfig": { +"$ref": "GoogleCloudApigeeV1RuntimeApiSecurityConfig", +"description": "Runtime configuration for API Security add-on." +}, +"name": { +"description": "Name of the addons config in the format: `organizations/{org}/environments/{env}/addonsConfig`", +"type": "string" +}, +"revisionId": { +"description": "Revision number used by the runtime to detect config changes.", +"type": "string" +}, +"uid": { +"description": "UID is to detect if config is recreated after deletion. The add-on config will only be deleted when the environment itself gets deleted, thus it will always be the same as the UID of EnvironmentConfig.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudApigeeV1RuntimeAnalyticsConfig": { +"description": "Runtime configuration for the Analytics add-on.", +"id": "GoogleCloudApigeeV1RuntimeAnalyticsConfig", +"properties": { +"billingPipelineEnabled": { +"description": "If Runtime should send billing data to AX or not.", +"type": "boolean" +}, +"enabled": { +"description": "If the Analytics is enabled or not.", +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleCloudApigeeV1RuntimeApiSecurityConfig": { +"description": "Runtime configuration for the API Security add-on.", +"id": "GoogleCloudApigeeV1RuntimeApiSecurityConfig", +"properties": { +"enabled": { +"description": "If the API Security is enabled or not.", +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleCloudApigeeV1RuntimeConfig": { +"description": "Runtime configuration for the organization. Response for GetRuntimeConfig.", +"id": "GoogleCloudApigeeV1RuntimeConfig", +"properties": { +"analyticsBucket": { +"description": "Cloud Storage bucket used for uploading Analytics records.", +"type": "string" +}, +"name": { +"description": "Name of the resource in the following format: `organizations/{org}/runtimeConfig`.", +"type": "string" +}, +"tenantProjectId": { +"description": "Output only. Tenant project ID associated with the Apigee organization. The tenant project is used to host Google-managed resources that are dedicated to this Apigee organization. Clients have limited access to resources within the tenant project used to support Apigee runtime instances. Access to the tenant project is managed using SetSyncAuthorization. It can be empty if the tenant project hasn't been created yet.", +"readOnly": true, +"type": "string" +}, +"traceBucket": { +"description": "Cloud Storage bucket used for uploading Trace records.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudApigeeV1RuntimeTraceConfig": { +"description": "NEXT ID: 9 RuntimeTraceConfig defines the configurations for distributed trace in an environment.", +"id": "GoogleCloudApigeeV1RuntimeTraceConfig", +"properties": { +"endpoint": { +"description": "Endpoint of the exporter.", +"type": "string" +}, +"exporter": { +"description": "Exporter that is used to view the distributed trace captured using OpenCensus. An exporter sends traces to any backend that is capable of consuming them. Recorded spans can be exported by registered exporters.", +"enum": [ +"EXPORTER_UNSPECIFIED", +"JAEGER", +"CLOUD_TRACE", +"OPEN_TELEMETRY_COLLECTOR" +], +"enumDescriptions": [ +"Exporter unspecified", +"Jaeger exporter", +"Cloudtrace exporter", +"Open Telemetry Collector" +], +"type": "string" +}, +"name": { +"description": "Name of the trace config in the following format: `organizations/{org}/environment/{env}/traceConfig`", +"type": "string" +}, +"openTelemetryProtocolEnabled": { +"description": "If `true`, the runtime uses OpenTelemetry Protocol (OTLP) to send trace data. Configuration Requirements (if `open_telemetry_protocol_enabled` is `true`): - Allowed `Exporter`s: `CLOUD_TRACE` or `OPEN_TELEMETRY_COLLECTOR`. - If `Exporter` is `OPEN_TELEMETRY_COLLECTOR`: - `endpoint` refers to a valid OTLP collector URL. - If `Exporter` is `CLOUD_TRACE`: - `endpoint` refers to a valid project ID", +"type": "boolean" +}, +"overrides": { +"description": "List of trace configuration overrides for spicific API proxies.", +"items": { +"$ref": "GoogleCloudApigeeV1RuntimeTraceConfigOverride" +}, +"type": "array" +}, +"revisionCreateTime": { +"description": "The timestamp that the revision was created or updated.", +"format": "google-datetime", +"type": "string" +}, +"revisionId": { +"description": "Revision number which can be used by the runtime to detect if the trace config has changed between two versions.", +"type": "string" +}, +"samplingConfig": { +"$ref": "GoogleCloudApigeeV1RuntimeTraceSamplingConfig", +"description": "Trace configuration for all API proxies in an environment." +} +}, +"type": "object" +}, +"GoogleCloudApigeeV1RuntimeTraceConfigOverride": { +"description": "NEXT ID: 8 Trace configuration override for a specific API proxy in an environment.", +"id": "GoogleCloudApigeeV1RuntimeTraceConfigOverride", +"properties": { +"apiProxy": { +"description": "Name of the API proxy that will have its trace configuration overridden following format: `organizations/{org}/apis/{api}`", +"type": "string" +}, +"name": { +"description": "Name of the trace config override in the following format: `organizations/{org}/environment/{env}/traceConfig/overrides/{override}`", +"type": "string" +}, +"openTelemetryProtocolEnabled": { +"description": "If `true`, the runtime uses OpenTelemetry Protocol (OTLP) to send trace data. Configuration Requirements (if `open_telemetry_protocol_enabled` is `true`): - Allowed `Exporter`s: `CLOUD_TRACE` or `OPEN_TELEMETRY_COLLECTOR`. - If `Exporter` is `OPEN_TELEMETRY_COLLECTOR`: - `endpoint` refers to a valid OTLP collector URL. - If `Exporter` is `CLOUD_TRACE`: - `endpoint` refers to a valid project ID", +"type": "boolean" +}, +"revisionCreateTime": { +"description": "The timestamp that the revision was created or updated.", +"format": "google-datetime", +"type": "string" +}, +"revisionId": { +"description": "Revision number which can be used by the runtime to detect if the trace config override has changed between two versions.", +"type": "string" +}, +"samplingConfig": { +"$ref": "GoogleCloudApigeeV1RuntimeTraceSamplingConfig", +"description": "Trace configuration override for a specific API proxy in an environment." +}, +"uid": { +"description": "Unique ID for the configuration override. The ID will only change if the override is deleted and recreated. Corresponds to name's \"override\" field.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudApigeeV1RuntimeTraceSamplingConfig": { +"description": "NEXT ID: 3 RuntimeTraceSamplingConfig represents the detail settings of distributed tracing. Only the fields that are defined in the distributed trace configuration can be overridden using the distribute trace configuration override APIs.", +"id": "GoogleCloudApigeeV1RuntimeTraceSamplingConfig", +"properties": { +"sampler": { +"description": "Sampler of distributed tracing. OFF is the default value.", +"enum": [ +"SAMPLER_UNSPECIFIED", +"OFF", +"PROBABILITY" +], +"enumDescriptions": [ +"Sampler unspecified.", +"OFF means distributed trace is disabled, or the sampling probability is 0.", +"PROBABILITY means traces are captured on a probability that defined by sampling_rate. The sampling rate is limited to 0 to 0.5 when this is set." +], +"type": "string" +}, +"samplingRate": { +"description": "Field sampling rate. This value is only applicable when using the PROBABILITY sampler. The supported values are > 0 and <= 0.5.", +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"GoogleCloudApigeeV1ScheduledMaintenance": { +"description": "Scheduled maintenance information for an instance.", +"id": "GoogleCloudApigeeV1ScheduledMaintenance", +"properties": { +"startTime": { +"description": "Output only. The start time (UTC) of the scheduled maintenance.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudApigeeV1Schema": { +"description": "Response for Schema call", +"id": "GoogleCloudApigeeV1Schema", +"properties": { +"dimensions": { +"description": "List of schema fields grouped as dimensions.", +"items": { +"$ref": "GoogleCloudApigeeV1SchemaSchemaElement" +}, +"type": "array" +}, +"meta": { +"description": "Additional metadata associated with schema. This is a legacy field and usually consists of an empty array of strings.", +"items": { +"type": "string" +}, +"type": "array" +}, +"metrics": { +"description": "List of schema fields grouped as dimensions that can be used with an aggregate function such as `sum`, `avg`, `min`, and `max`.", +"items": { +"$ref": "GoogleCloudApigeeV1SchemaSchemaElement" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudApigeeV1SchemaSchemaElement": { +"description": "Message type for the schema element", +"id": "GoogleCloudApigeeV1SchemaSchemaElement", +"properties": { +"name": { +"description": "Name of the field.", +"type": "string" +}, +"properties": { +"$ref": "GoogleCloudApigeeV1SchemaSchemaProperty", +"description": "Properties for the schema field. For example: { \"createTime\": \"2016-02-26T10:23:09.592Z\", \"custom\": \"false\", \"type\": \"string\" }" +} +}, +"type": "object" +}, +"GoogleCloudApigeeV1SchemaSchemaProperty": { +"description": "Properties for the schema field.", +"id": "GoogleCloudApigeeV1SchemaSchemaProperty", +"properties": { +"createTime": { +"description": "Time the field was created in RFC3339 string form. For example: `2016-02-26T10:23:09.592Z`.", +"type": "string" +}, +"custom": { +"description": "Flag that specifies whether the field is standard in the dataset or a custom field created by the customer. `true` indicates that it is a custom field.", +"type": "string" +}, +"type": { +"description": "Data type of the field.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudApigeeV1Score": { +"description": "Represents Security Score.", +"id": "GoogleCloudApigeeV1Score", +"properties": { +"component": { +"$ref": "GoogleCloudApigeeV1ScoreComponent", +"description": "Component containing score, recommendations and actions." +}, +"subcomponents": { +"description": "List of all the drilldown score components.", +"items": { +"$ref": "GoogleCloudApigeeV1ScoreComponent" +}, +"type": "array" +}, +"timeRange": { +"$ref": "GoogleTypeInterval", +"description": "Start and end time for the score." +} +}, +"type": "object" +}, +"GoogleCloudApigeeV1ScoreComponent": { +"description": "Component is an individual security element that is scored.", +"id": "GoogleCloudApigeeV1ScoreComponent", +"properties": { +"calculateTime": { +"description": "Time when score was calculated.", +"format": "google-datetime", +"type": "string" +}, +"dataCaptureTime": { +"description": "Time in the requested time period when data was last captured to compute the score.", +"format": "google-datetime", +"type": "string" +}, +"drilldownPaths": { +"description": "List of paths for next components.", +"items": { +"type": "string" +}, +"type": "array" +}, +"recommendations": { +"description": "List of recommendations to improve API security.", +"items": { +"$ref": "GoogleCloudApigeeV1ScoreComponentRecommendation" +}, +"type": "array" +}, +"score": { +"description": "Score for the component.", +"format": "int32", +"type": "integer" +}, +"scorePath": { +"description": "Path of the component. Example: /org@myorg/envgroup@myenvgroup/proxies/proxy@myproxy", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudApigeeV1ScoreComponentRecommendation": { +"description": "Recommendation based on security concerns and score.", +"id": "GoogleCloudApigeeV1ScoreComponentRecommendation", +"properties": { +"actions": { +"description": "Actions for the recommendation to improve the security score.", +"items": { +"$ref": "GoogleCloudApigeeV1ScoreComponentRecommendationAction" +}, +"type": "array" +}, +"description": { +"description": "Description of the recommendation.", +"type": "string" +}, +"impact": { +"description": "Potential impact of this recommendation on the overall score. This denotes how important this recommendation is to improve the score.", +"format": "int32", +"type": "integer" +}, +"title": { +"description": "Title represents recommendation title.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudApigeeV1ScoreComponentRecommendationAction": { +"description": "Action to improve security score.", +"id": "GoogleCloudApigeeV1ScoreComponentRecommendationAction", +"properties": { +"actionContext": { +"$ref": "GoogleCloudApigeeV1ScoreComponentRecommendationActionActionContext", +"description": "Action context for the action." +}, +"description": { +"description": "Description of the action.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudApigeeV1ScoreComponentRecommendationActionActionContext": { +"description": "Action context are all the relevant details for the action.", +"id": "GoogleCloudApigeeV1ScoreComponentRecommendationActionActionContext", +"properties": { +"documentationLink": { +"description": "Documentation link for the action.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudApigeeV1SecurityAction": { +"description": "A SecurityAction is rule that can be enforced at an environment level. The result is one of: - A denied API call - An explicitly allowed API call - A flagged API call (HTTP headers added before the target receives it) At least one condition is required to create a SecurityAction.", +"id": "GoogleCloudApigeeV1SecurityAction", +"properties": { +"allow": { +"$ref": "GoogleCloudApigeeV1SecurityActionAllow", +"description": "Allow a request through if it matches this SecurityAction." +}, +"apiProxies": { +"description": "Optional. If unset, this would apply to all proxies in the environment. If set, this action is enforced only if at least one proxy in the repeated list is deployed at the time of enforcement. If set, several restrictions are enforced on SecurityActions. There can be at most 100 enabled actions with proxies set in an env. Several other restrictions apply on conditions and are detailed later.", +"items": { +"type": "string" +}, +"type": "array" +}, +"conditionConfig": { +"$ref": "GoogleCloudApigeeV1SecurityActionConditionConfig", +"description": "Required. A valid SecurityAction must contain at least one condition." +}, +"createTime": { +"description": "Output only. The create time for this SecurityAction.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"deny": { +"$ref": "GoogleCloudApigeeV1SecurityActionDeny", +"description": "Deny a request through if it matches this SecurityAction." +}, +"description": { +"description": "Optional. An optional user provided description of the SecurityAction.", +"type": "string" +}, +"expireTime": { +"description": "The expiration for this SecurityAction.", +"format": "google-datetime", +"type": "string" +}, +"flag": { +"$ref": "GoogleCloudApigeeV1SecurityActionFlag", +"description": "Flag a request through if it matches this SecurityAction." +}, +"name": { +"description": "Immutable. This field is ignored during creation as per AIP-133. Please set the `security_action_id` field in the CreateSecurityActionRequest when creating a new SecurityAction. Format: organizations/{org}/environments/{env}/securityActions/{security_action}", +"type": "string" +}, +"state": { +"description": "Required. Only an ENABLED SecurityAction is enforced. An ENABLED SecurityAction past its expiration time will not be enforced.", +"enum": [ +"STATE_UNSPECIFIED", +"ENABLED", +"DISABLED" +], +"enumDescriptions": [ +"The default value. This only exists for forward compatibility. A create request with this value will be rejected.", +"An ENABLED SecurityAction is actively enforced if the `expiration_time` is in the future.", +"A disabled SecurityAction is never enforced." +], +"type": "string" +}, +"ttl": { +"description": "Input only. The TTL for this SecurityAction.", +"format": "google-duration", +"type": "string" +}, +"updateTime": { +"description": "Output only. The update time for this SecurityAction. This reflects when this SecurityAction changed states.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudApigeeV1SecurityActionAllow": { +"description": "Message that should be set in case of an Allow Action. This does not have any fields.", +"id": "GoogleCloudApigeeV1SecurityActionAllow", +"properties": {}, +"type": "object" +}, +"GoogleCloudApigeeV1SecurityActionConditionConfig": { +"description": "The following are a list of conditions. A valid SecurityAction must contain at least one condition. Within a condition, each element is ORed. Across conditions elements are ANDed. For example if a SecurityAction has the following: ip_address_ranges: [\"ip1\", \"ip2\"] and bot_reasons: [\"Flooder\", \"Robot Abuser\"] then this is interpreted as: enforce the action if the incoming request has ((ip_address_ranges = \"ip1\" OR ip_address_ranges = \"ip2\") AND (bot_reasons=\"Flooder\" OR bot_reasons=\"Robot Abuser\")). Conditions other than ip_address_ranges and bot_reasons cannot be ANDed.", +"id": "GoogleCloudApigeeV1SecurityActionConditionConfig", +"properties": { +"accessTokens": { +"description": "Optional. A list of access_tokens. Limit 1000 per action.", +"items": { +"type": "string" +}, +"type": "array" +}, +"apiKeys": { +"description": "Optional. A list of API keys. Limit 1000 per action.", +"items": { +"type": "string" +}, +"type": "array" +}, +"apiProducts": { +"description": "Optional. A list of API Products. Limit 1000 per action.", +"items": { +"type": "string" +}, +"type": "array" +}, +"asns": { +"description": "Optional. A list of ASN numbers to act on, e.g. 23. https://en.wikipedia.org/wiki/Autonomous_system_(Internet) This uses int64 instead of uint32 because of https://linter.aip.dev/141/forbidden-types.", +"items": { +"format": "int64", +"type": "string" +}, +"type": "array" +}, +"botReasons": { +"description": "Optional. A list of Bot Reasons. Current options: Flooder, Brute Guessor, Static Content Scraper, OAuth Abuser, Robot Abuser, TorListRule, Advanced Anomaly Detection, Advanced API Scraper, Search Engine Crawlers, Public Clouds, Public Cloud AWS, Public Cloud Azure, and Public Cloud Google.", +"items": { +"type": "string" +}, +"type": "array" +}, +"developerApps": { +"description": "Optional. A list of developer apps. Limit 1000 per action.", +"items": { +"type": "string" +}, +"type": "array" +}, +"developers": { +"description": "Optional. A list of developers. Limit 1000 per action.", +"items": { +"type": "string" +}, +"type": "array" +}, +"httpMethods": { +"description": "Optional. Act only on particular HTTP methods. E.g. A read-only API can block POST/PUT/DELETE methods. Accepted values are: GET, HEAD, POST, PUT, DELETE, CONNECT, OPTIONS, TRACE and PATCH.", +"items": { +"type": "string" +}, +"type": "array" +}, +"ipAddressRanges": { +"description": "Optional. A list of IP addresses. This could be either IPv4 or IPv6. Limited to 100 per action.", +"items": { +"type": "string" +}, +"type": "array" +}, +"regionCodes": { +"description": "Optional. A list of countries/region codes to act on, e.g. US. This follows https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2.", +"items": { +"type": "string" +}, +"type": "array" +}, +"userAgents": { +"description": "Optional. A list of user agents to deny. We look for exact matches. Limit 50 per action.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudApigeeV1SecurityActionDeny": { +"description": "Message that should be set in case of a Deny Action.", +"id": "GoogleCloudApigeeV1SecurityActionDeny", +"properties": { +"responseCode": { +"description": "Optional. The HTTP response code if the Action = DENY.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"GoogleCloudApigeeV1SecurityActionFlag": { +"description": "The message that should be set in the case of a Flag action.", +"id": "GoogleCloudApigeeV1SecurityActionFlag", +"properties": { +"headers": { +"description": "Optional. A list of HTTP headers to be sent to the target in case of a FLAG SecurityAction. Limit 5 headers per SecurityAction. At least one is mandatory.", +"items": { +"$ref": "GoogleCloudApigeeV1SecurityActionHttpHeader" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudApigeeV1SecurityActionHttpHeader": { +"description": "An HTTP header.", +"id": "GoogleCloudApigeeV1SecurityActionHttpHeader", +"properties": { +"name": { +"description": "The header name to be sent to the target.", +"type": "string" +}, +"value": { +"description": "The header value to be sent to the target.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudApigeeV1SecurityActionsConfig": { +"description": "SecurityActionsConfig reflects the current state of the SecurityActions feature. This is a singleton resource: https://google.aip.dev/156", +"id": "GoogleCloudApigeeV1SecurityActionsConfig", +"properties": { +"enabled": { +"description": "The flag that controls whether this feature is enabled. This is `unset` by default. When this flag is `false`, even if individual rules are enabled, no SecurityActions will be enforced.", +"type": "boolean" +}, +"name": { +"description": "This is a singleton resource, the name will always be set by SecurityActions and any user input will be ignored. The name is always: `organizations/{org}/environments/{env}/security_actions_config`", +"type": "string" +}, +"updateTime": { +"description": "Output only. The update time for configuration.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudApigeeV1SecurityAssessmentResult": { +"description": "The security assessment result for one resource.", +"id": "GoogleCloudApigeeV1SecurityAssessmentResult", +"properties": { +"createTime": { +"description": "The time of the assessment of this resource. This could lag behind `assessment_time` due to caching within the backend.", +"format": "google-datetime", +"type": "string" +}, +"error": { +"$ref": "GoogleRpcStatus", +"description": "The error status if scoring fails." +}, +"resource": { +"$ref": "GoogleCloudApigeeV1SecurityAssessmentResultResource", +"description": "The assessed resource." +}, +"scoringResult": { +"$ref": "GoogleCloudApigeeV1SecurityAssessmentResultScoringResult", +"description": "The result of the assessment." +} +}, +"type": "object" +}, +"GoogleCloudApigeeV1SecurityAssessmentResultResource": { +"description": "Resource for which we are computing security assessment.", +"id": "GoogleCloudApigeeV1SecurityAssessmentResultResource", +"properties": { +"apiHubDeploymentDetails": { +"$ref": "GoogleCloudApigeeV1SecurityAssessmentResultResourceApiHubDeploymentDetails", +"description": "Output only. Additional details for the API Hub deployment.", +"readOnly": true +}, +"apiHubGatewayType": { +"description": "Optional. ", +"enum": [ +"API_HUB_GATEWAY_TYPE_UNSPECIFIED", +"APIGEE_X", +"APIGEE_HYBRID", +"APIGEE_EDGE", +"APIGEE_OPDK" +], +"enumDescriptions": [ +"Gateway type is not specified.", +"Gateway is Apigee X for API Hub.", +"Gateway is Apigee Hybrid for API Hub.", +"Gateway is Apigee Edge for API Hub.", +"Gateway is Apigee OPDK for API Hub." +], +"type": "string" +}, +"name": { +"description": "Required. Name of this resource. For an Apigee API Proxy, this should be the id of the API proxy. For an API Hub Deployment, this should be the id of the deployment.", +"type": "string" +}, +"resourceRevisionId": { +"description": "The revision id for the resource. In case of Apigee, this is proxy revision id.", +"type": "string" +}, +"type": { +"description": "Required. Type of this resource.", +"enum": [ +"RESOURCE_TYPE_UNSPECIFIED", +"API_PROXY", +"API_HUB_DEPLOYMENT" +], +"enumDescriptions": [ +"ResourceType not specified.", +"Resource is an Apigee Proxy.", +"Resource is an API Hub deployment." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudApigeeV1SecurityAssessmentResultResourceApiHubDeploymentDetails": { +"description": "Additional details if the resource is an API Hub deployment.", +"id": "GoogleCloudApigeeV1SecurityAssessmentResultResourceApiHubDeploymentDetails", +"properties": { +"displayName": { +"description": "The display name of the API Hub deployment.", +"type": "string" +}, +"gateway": { +"description": "The gateway for the API Hub deployment. Format: `projects/{project}/locations/{location}/plugins/{plugin}/instances/{instance}`", +"type": "string" +}, +"gatewayType": { +"description": "The gateway type for the API Hub deployment.", +"enum": [ +"API_HUB_GATEWAY_TYPE_UNSPECIFIED", +"APIGEE_X", +"APIGEE_HYBRID", +"APIGEE_EDGE", +"APIGEE_OPDK" +], +"enumDescriptions": [ +"Gateway type is not specified.", +"Gateway is Apigee X for API Hub.", +"Gateway is Apigee Hybrid for API Hub.", +"Gateway is Apigee Edge for API Hub.", +"Gateway is Apigee OPDK for API Hub." +], +"type": "string" +}, +"resourceUri": { +"description": "The resource uri for the API Hub deployment.", +"type": "string" +}, +"sourceProject": { +"description": "The source project for the API Hub deployment.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudApigeeV1SecurityAssessmentResultScoringResult": { +"description": "The result of the assessment.", +"id": "GoogleCloudApigeeV1SecurityAssessmentResultScoringResult", +"properties": { +"assessmentRecommendations": { +"additionalProperties": { +"$ref": "GoogleCloudApigeeV1SecurityAssessmentResultScoringResultAssessmentRecommendation" +}, +"description": "The recommendations of the assessment. The key is the \"name\" of the assessment (not display_name), and the value are the recommendations.", +"type": "object" +}, +"dataUpdateTime": { +"description": "The time when resource data was last fetched for this resource. This time may be different than when the resource was actually updated due to lag in data collection.", +"format": "google-datetime", +"type": "string" +}, +"failedAssessmentPerWeight": { +"additionalProperties": { +"format": "int32", +"type": "integer" +}, +"description": "The number of failed assessments grouped by its weight. Keys are one of the following: \"MAJOR\", \"MODERATE\", \"MINOR\".", +"type": "object" +}, +"score": { +"description": "The security score of the assessment.", +"format": "int32", +"type": "integer" +}, +"severity": { +"enum": [ +"SEVERITY_UNSPECIFIED", +"LOW", +"MEDIUM", +"HIGH", +"MINIMAL" +], +"enumDescriptions": [ +"Severity is not defined.", +"Severity is low.", +"Severity is medium.", +"Severity is high.", +"Severity is minimal" +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudApigeeV1SecurityAssessmentResultScoringResultAssessmentRecommendation": { +"description": "The message format of a recommendation from the assessment.", +"id": "GoogleCloudApigeeV1SecurityAssessmentResultScoringResultAssessmentRecommendation", +"properties": { +"displayName": { +"description": "The display name of the assessment.", +"type": "string" +}, +"recommendations": { +"description": "The recommended steps of the assessment.", +"items": { +"$ref": "GoogleCloudApigeeV1SecurityAssessmentResultScoringResultAssessmentRecommendationRecommendation" +}, +"type": "array" +}, +"scoreImpact": { +"description": "Score impact indicates the impact on the overall score if the assessment were to pass.", +"format": "int32", +"type": "integer" +}, +"verdict": { +"description": "Verdict indicates the assessment result.", +"enum": [ +"VERDICT_UNSPECIFIED", +"PASS", +"FAIL", +"NOT_APPLICABLE" +], +"enumDescriptions": [ +"The verdict is unspecified.", +"The assessment has passed.", +"The assessment has failed.", +"The verdict is not applicable." +], +"type": "string" +}, +"weight": { +"description": "The weight of the assessment which was set in the profile.", +"enum": [ +"WEIGHT_UNSPECIFIED", +"MINOR", +"MODERATE", +"MAJOR" +], +"enumDescriptions": [ +"The weight is unspecified.", +"The weight is minor.", +"The weight is moderate.", +"The weight is major." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudApigeeV1SecurityAssessmentResultScoringResultAssessmentRecommendationRecommendation": { +"description": "The format of the assessment recommendation.", +"id": "GoogleCloudApigeeV1SecurityAssessmentResultScoringResultAssessmentRecommendationRecommendation", +"properties": { +"description": { +"description": "The description of the recommendation.", +"type": "string" +}, +"link": { +"$ref": "GoogleCloudApigeeV1SecurityAssessmentResultScoringResultAssessmentRecommendationRecommendationLink", +"description": "The link for the recommendation." +} +}, +"type": "object" +}, +"GoogleCloudApigeeV1SecurityAssessmentResultScoringResultAssessmentRecommendationRecommendationLink": { +"description": "The format for a link in the recommendation.", +"id": "GoogleCloudApigeeV1SecurityAssessmentResultScoringResultAssessmentRecommendationRecommendationLink", +"properties": { +"text": { +"description": "The text of the url. (ie: \"Learn more\")", +"type": "string" +}, +"uri": { +"description": "The link itself.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudApigeeV1SecurityFeedback": { +"description": "Represents a feedback report from an Advanced API Security customer.", +"id": "GoogleCloudApigeeV1SecurityFeedback", +"properties": { +"comment": { +"description": "Optional. Optional text the user can provide for additional, unstructured context.", +"type": "string" +}, +"createTime": { +"description": "Output only. The time when this specific feedback id was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"displayName": { +"description": "Optional. The display name of the feedback.", +"type": "string" +}, +"feedbackContexts": { +"description": "Required. One or more attribute/value pairs for constraining the feedback.", +"items": { +"$ref": "GoogleCloudApigeeV1SecurityFeedbackFeedbackContext" +}, +"type": "array" +}, +"feedbackType": { +"description": "Required. The type of feedback being submitted.", +"enum": [ +"FEEDBACK_TYPE_UNSPECIFIED", +"EXCLUDED_DETECTION" +], +"enumDescriptions": [ +"Unspecified feedback type.", +"Feedback identifying attributes to be excluded from detections." +], +"type": "string" +}, +"name": { +"description": "Output only. Identifier. The feedback name is intended to be a system-generated uuid.", +"readOnly": true, +"type": "string" +}, +"reason": { +"description": "Optional. The reason for the feedback.", +"enum": [ +"REASON_UNSPECIFIED", +"INTERNAL_SYSTEM", +"NON_RISK_CLIENT", +"NAT", +"PENETRATION_TEST", +"OTHER" +], +"enumDescriptions": [ +"Unspecified reason.", +"The feedback is created for an internal system.", +"The feedback is created for a non-risk client.", +"The feedback is created for to label NAT.", +"The feedback is created for a penetration test.", +"The feedback is created for other reasons." +], +"type": "string" +}, +"updateTime": { +"description": "Output only. The time when this specific feedback id was updated.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudApigeeV1SecurityFeedbackFeedbackContext": { +"description": "FeedbackContext captures the intent of the submitted feedback.", +"id": "GoogleCloudApigeeV1SecurityFeedbackFeedbackContext", +"properties": { +"attribute": { +"description": "Required. The attribute the user is providing feedback about.", +"enum": [ +"ATTRIBUTE_UNSPECIFIED", +"ATTRIBUTE_ENVIRONMENTS", +"ATTRIBUTE_IP_ADDRESS_RANGES" +], +"enumDescriptions": [ +"Unspecified attribute.", +"Values will be a list of environments.", +"Values will be a list of IP addresses. This could be either IPv4 or IPv6." +], +"type": "string" +}, +"values": { +"description": "Required. The values of the attribute the user is providing feedback about.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudApigeeV1SecurityIncident": { +"description": "Represents an SecurityIncident resource.", +"id": "GoogleCloudApigeeV1SecurityIncident", +"properties": { +"detectionTypes": { +"description": "Output only. Detection types which are part of the incident. Examples: Flooder, OAuth Abuser, Static Content Scraper, Anomaly Detection.", +"items": { +"type": "string" +}, +"readOnly": true, +"type": "array" +}, +"displayName": { +"description": "Optional. Display name of the security incident.", +"type": "string" +}, +"firstDetectedTime": { +"description": "Output only. The time when events associated with the incident were first detected.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"lastDetectedTime": { +"description": "Output only. The time when events associated with the incident were last detected.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"lastObservabilityChangeTime": { +"description": "Output only. The time when the incident observability was last changed.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"name": { +"description": "Immutable. Name of the security incident resource. Format: organizations/{org}/environments/{environment}/securityIncidents/{incident} Example: organizations/apigee-org/environments/dev/securityIncidents/1234-5678-9101-1111", +"type": "string" +}, +"observability": { +"description": "Optional. Indicates if the user archived this incident.", +"enum": [ +"OBSERVABILITY_UNSPECIFIED", +"ACTIVE", +"ARCHIVED" +], +"enumDescriptions": [ +"The incident observability is unspecified.", +"The incident is currently active. Can change to this status from archived.", +"The incident is currently archived and was archived by the customer." +], +"type": "string" +}, +"riskLevel": { +"description": "Output only. Risk level of the incident.", +"enum": [ +"RISK_LEVEL_UNSPECIFIED", +"LOW", +"MODERATE", +"SEVERE" +], +"enumDescriptions": [ +"Risk Level Unspecified.", +"Risk level of the incident is low.", +"Risk level of the incident is moderate.", +"Risk level of the incident is severe." +], +"readOnly": true, +"type": "string" +}, +"trafficCount": { +"description": "Total traffic detected as part of the incident.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudApigeeV1SecurityMonitoringCondition": { +"description": "Security monitoring condition for risk assessment version 2.", +"id": "GoogleCloudApigeeV1SecurityMonitoringCondition", +"properties": { +"apiHubGateway": { +"description": "Optional. The API Hub gateway monitored by the security monitoring condition. This should only be set if risk_assessment_type is API_HUB. Format: `projects/{project}/locations/{location}/plugins/{plugin}/instances/{instance}`", +"type": "string" +}, +"createTime": { +"description": "Output only. The time of the security monitoring condition creation.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"include": { +"$ref": "GoogleCloudApigeeV1BatchComputeSecurityAssessmentResultsRequestResourceArray", +"description": "Include only these resources." +}, +"includeAllResources": { +"$ref": "GoogleCloudApigeeV1BatchComputeSecurityAssessmentResultsRequestIncludeAll", +"description": "Include all resources under the scope." +}, +"name": { +"description": "Identifier. Name of the security monitoring condition resource. Format: organizations/{org}/securityMonitoringConditions/{security_monitoring_condition}", +"type": "string" +}, +"profile": { +"description": "Required. ID of security profile of the security monitoring condition.", +"type": "string" +}, +"riskAssessmentType": { +"description": "Optional. The risk assessment type of the security monitoring condition. Defaults to ADVANCED_API_SECURITY.", +"enum": [ +"RISK_ASSESSMENT_TYPE_UNSPECIFIED", +"APIGEE", +"API_HUB" +], +"enumDescriptions": [ +"Risk assessment type is not specified.", +"Risk assessment type is Apigee.", +"Risk assessment type is API Hub." +], +"type": "string" +}, +"scope": { +"description": "Optional. Scope of the security monitoring condition. When RiskAssessmentType is APIGEE, the scope should be set to the environment of the resources. When RiskAssessmentType is API_HUB, the scope should not be set.", +"type": "string" +}, +"totalDeployedResources": { +"description": "Output only. Total number of deployed resources within scope.", +"format": "int32", +"readOnly": true, +"type": "integer" +}, +"totalMonitoredResources": { +"description": "Output only. Total number of monitored resources within this condition.", +"format": "int32", +"readOnly": true, +"type": "integer" +}, +"updateTime": { +"description": "Output only. The time of the security monitoring condition update.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudApigeeV1SecurityProfile": { +"description": "Represents a SecurityProfile resource.", +"id": "GoogleCloudApigeeV1SecurityProfile", +"properties": { +"description": { +"description": "Description of the security profile.", +"type": "string" +}, +"displayName": { +"deprecated": true, +"description": "DEPRECATED: DO NOT USE Display name of the security profile.", +"type": "string" +}, +"environments": { +"description": "List of environments attached to security profile.", +"items": { +"$ref": "GoogleCloudApigeeV1SecurityProfileEnvironment" +}, +"type": "array" +}, +"maxScore": { +"description": "Output only. Maximum security score that can be generated by this profile.", +"format": "int32", +"readOnly": true, +"type": "integer" +}, +"minScore": { +"description": "Output only. Minimum security score that can be generated by this profile.", +"format": "int32", +"readOnly": true, +"type": "integer" +}, +"name": { +"description": "Immutable. Name of the security profile resource. Format: organizations/{org}/securityProfiles/{profile}", +"type": "string" +}, +"profileConfig": { +"$ref": "GoogleCloudApigeeV1ProfileConfig", +"description": "Required. Customized profile configuration that computes the security score." +}, +"revisionCreateTime": { +"description": "Output only. The time when revision was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"revisionId": { +"description": "Output only. Revision ID of the security profile.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"revisionPublishTime": { +"deprecated": true, +"description": "Output only. DEPRECATED: DO NOT USE The time when revision was published. Once published, the security profile revision cannot be updated further and can be attached to environments.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"revisionUpdateTime": { +"description": "Output only. The time when revision was updated.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"scoringConfigs": { +"description": "List of profile scoring configs in this revision.", +"items": { +"$ref": "GoogleCloudApigeeV1SecurityProfileScoringConfig" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudApigeeV1SecurityProfileEnvironment": { +"description": "Environment information of attached environments. Scoring an environment is enabled only if it is attached to a security profile.", +"id": "GoogleCloudApigeeV1SecurityProfileEnvironment", +"properties": { +"attachTime": { +"description": "Output only. Time at which environment was attached to the security profile.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"environment": { +"description": "Output only. Name of the environment.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudApigeeV1SecurityProfileEnvironmentAssociation": { +"description": "Represents a SecurityProfileEnvironmentAssociation resource.", +"id": "GoogleCloudApigeeV1SecurityProfileEnvironmentAssociation", +"properties": { +"attachTime": { +"description": "Output only. The time when environment was attached to the security profile.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"name": { +"description": "Immutable. Name of the environment that the profile is attached to.", +"type": "string" +}, +"securityProfileRevisionId": { +"deprecated": true, +"description": "DEPRECATED: DO NOT USE Revision ID of the security profile.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudApigeeV1SecurityProfileScoringConfig": { +"description": "Security configurations to manage scoring.", +"id": "GoogleCloudApigeeV1SecurityProfileScoringConfig", +"properties": { +"description": { +"description": "Description of the config.", +"type": "string" +}, +"scorePath": { +"description": "Path of the component config used for scoring.", +"type": "string" +}, +"title": { +"description": "Title of the config.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudApigeeV1SecurityProfileV2": { +"description": "Security profile for risk assessment version 2.", +"id": "GoogleCloudApigeeV1SecurityProfileV2", +"properties": { +"createTime": { +"description": "Output only. The time of the security profile creation.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"description": { +"description": "Optional. The description of the security profile.", +"type": "string" +}, +"googleDefined": { +"description": "Output only. Whether the security profile is google defined.", +"readOnly": true, +"type": "boolean" +}, +"name": { +"description": "Identifier. Name of the security profile v2 resource. Format: organizations/{org}/securityProfilesV2/{profile}", +"type": "string" +}, +"profileAssessmentConfigs": { +"additionalProperties": { +"$ref": "GoogleCloudApigeeV1SecurityProfileV2ProfileAssessmentConfig" +}, +"description": "Required. The configuration for each assessment in this profile. Key is the name/id of the assessment.", +"type": "object" +}, +"riskAssessmentType": { +"description": "Optional. The risk assessment type of the security profile. Defaults to ADVANCED_API_SECURITY.", +"enum": [ +"RISK_ASSESSMENT_TYPE_UNSPECIFIED", +"APIGEE", +"API_HUB" +], +"enumDescriptions": [ +"Risk assessment type is not specified.", +"Risk assessment type is Apigee.", +"Risk assessment type is API Hub." +], +"type": "string" +}, +"updateTime": { +"description": "Output only. The time of the security profile update.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudApigeeV1SecurityProfileV2ProfileAssessmentConfig": { +"description": "The configuration definition for a specific assessment.", +"id": "GoogleCloudApigeeV1SecurityProfileV2ProfileAssessmentConfig", +"properties": { +"include": { +"$ref": "GoogleCloudApigeeV1SecurityProfileV2ProfileAssessmentConfigApiHubGatewayTypeArray", +"description": "Include only these Gateway Types." +}, +"weight": { +"description": "The weight of the assessment.", +"enum": [ +"WEIGHT_UNSPECIFIED", +"MINOR", +"MODERATE", +"MAJOR" +], +"enumDescriptions": [ +"The weight is unspecified.", +"The weight is minor.", +"The weight is moderate.", +"The weight is major." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudApigeeV1SecurityProfileV2ProfileAssessmentConfigApiHubGatewayTypeArray": { +"description": "Message for the array of API Hub Gateway Types.", +"id": "GoogleCloudApigeeV1SecurityProfileV2ProfileAssessmentConfigApiHubGatewayTypeArray", +"properties": { +"gatewayTypes": { +"description": "Required. The array of API Hub Gateway Types.", +"items": { +"enum": [ +"API_HUB_GATEWAY_TYPE_UNSPECIFIED", +"APIGEE_X", +"APIGEE_HYBRID", +"APIGEE_EDGE", +"APIGEE_OPDK" +], +"enumDescriptions": [ +"Gateway type is not specified.", +"Gateway is Apigee X for API Hub.", +"Gateway is Apigee Hybrid for API Hub.", +"Gateway is Apigee Edge for API Hub.", +"Gateway is Apigee OPDK for API Hub." +], +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudApigeeV1SecurityReport": { +"description": "SecurityReport saves all the information about the created security report.", +"id": "GoogleCloudApigeeV1SecurityReport", +"properties": { +"created": { +"description": "Creation time of the query.", +"type": "string" +}, +"displayName": { +"description": "Display Name specified by the user.", +"type": "string" +}, +"envgroupHostname": { +"description": "Hostname is available only when query is executed at host level.", +"type": "string" +}, +"error": { +"description": "Error is set when query fails.", +"type": "string" +}, +"executionTime": { +"description": "ExecutionTime is available only after the query is completed.", +"type": "string" +}, +"queryParams": { +"$ref": "GoogleCloudApigeeV1SecurityReportMetadata", +"description": "Contains information like metrics, dimenstions etc of the Security Report." +}, +"reportDefinitionId": { +"description": "Report Definition ID.", +"type": "string" +}, +"result": { +"$ref": "GoogleCloudApigeeV1SecurityReportResultMetadata", +"description": "Result is available only after the query is completed." +}, +"resultFileSize": { +"description": "ResultFileSize is available only after the query is completed.", +"type": "string" +}, +"resultRows": { +"description": "ResultRows is available only after the query is completed.", +"format": "int64", +"type": "string" +}, +"self": { +"description": "Self link of the query. Example: `/organizations/myorg/environments/myenv/securityReports/9cfc0d85-0f30-46d6-ae6f-318d0cb961bd` or following format if query is running at host level: `/organizations/myorg/hostSecurityReports/9cfc0d85-0f30-46d6-ae6f-318d0cb961bd`", +"type": "string" +}, +"state": { +"description": "Query state could be \"enqueued\", \"running\", \"completed\", \"expired\" and \"failed\".", +"type": "string" +}, +"updated": { +"description": "Output only. Last updated timestamp for the query.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudApigeeV1SecurityReportMetadata": { +"description": "Metadata for the security report.", +"id": "GoogleCloudApigeeV1SecurityReportMetadata", +"properties": { +"dimensions": { +"description": "Dimensions of the SecurityReport.", +"items": { +"type": "string" +}, +"type": "array" +}, +"endTimestamp": { +"description": "End timestamp of the query range.", +"format": "google-datetime", +"type": "string" +}, +"metrics": { +"description": "Metrics of the SecurityReport. Example: [\"name:bot_count,func:sum,alias:sum_bot_count\"]", +"items": { +"type": "string" +}, +"type": "array" +}, +"mimeType": { +"description": "MIME type / Output format.", +"type": "string" +}, +"startTimestamp": { +"description": "Start timestamp of the query range.", +"format": "google-datetime", +"type": "string" +}, +"timeUnit": { +"description": "Query GroupBy time unit. Example: \"seconds\", \"minute\", \"hour\"", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudApigeeV1SecurityReportQuery": { +"description": "Body structure when user makes a request to create a security report.", +"id": "GoogleCloudApigeeV1SecurityReportQuery", +"properties": { +"csvDelimiter": { +"description": "Delimiter used in the CSV file, if `outputFormat` is set to `csv`. Defaults to the `,` (comma) character. Supported delimiter characters include comma (`,`), pipe (`|`), and tab (`\\t`).", +"type": "string" +}, +"dimensions": { +"description": "A list of dimensions. https://docs.apigee.com/api-platform/analytics/analytics-reference#dimensions", +"items": { +"type": "string" +}, +"type": "array" +}, +"displayName": { +"description": "Security Report display name which users can specify.", +"type": "string" +}, +"envgroupHostname": { +"description": "Hostname needs to be specified if query intends to run at host level. This field is only allowed when query is submitted by CreateHostSecurityReport where analytics data will be grouped by organization and hostname.", +"type": "string" +}, +"filter": { +"description": "Boolean expression that can be used to filter data. Filter expressions can be combined using AND/OR terms and should be fully parenthesized to avoid ambiguity. See Analytics metrics, dimensions, and filters reference https://docs.apigee.com/api-platform/analytics/analytics-reference for more information on the fields available to filter on. For more information on the tokens that you use to build filter expressions, see Filter expression syntax. https://docs.apigee.com/api-platform/analytics/asynch-reports-api#filter-expression-syntax", +"type": "string" +}, +"groupByTimeUnit": { +"description": "Time unit used to group the result set. Valid values include: second, minute, hour, day, week, or month. If a query includes groupByTimeUnit, then the result is an aggregation based on the specified time unit and the resultant timestamp does not include milliseconds precision. If a query omits groupByTimeUnit, then the resultant timestamp includes milliseconds precision.", +"type": "string" +}, +"limit": { +"description": "Maximum number of rows that can be returned in the result.", +"format": "int32", +"type": "integer" +}, +"metrics": { +"description": "A list of Metrics.", +"items": { +"$ref": "GoogleCloudApigeeV1SecurityReportQueryMetric" +}, +"type": "array" +}, +"mimeType": { +"description": "Valid values include: `csv` or `json`. Defaults to `json`. Note: Configure the delimiter for CSV output using the csvDelimiter property.", +"type": "string" +}, +"reportDefinitionId": { +"description": "Report Definition ID.", +"type": "string" +}, +"timeRange": { +"description": "Required. Time range for the query. Can use the following predefined strings to specify the time range: `last60minutes` `last24hours` `last7days` Or, specify the timeRange as a structure describing start and end timestamps in the ISO format: yyyy-mm-ddThh:mm:ssZ. Example: \"timeRange\": { \"start\": \"2018-07-29T00:13:00Z\", \"end\": \"2018-08-01T00:18:00Z\" }", +"type": "any" +} +}, +"type": "object" +}, +"GoogleCloudApigeeV1SecurityReportQueryMetric": { +"description": "Metric of the Query", +"id": "GoogleCloudApigeeV1SecurityReportQueryMetric", +"properties": { +"aggregationFunction": { +"description": "Aggregation function: avg, min, max, or sum.", +"type": "string" +}, +"alias": { +"description": "Alias for the metric. Alias will be used to replace metric name in query results.", +"type": "string" +}, +"name": { +"description": "Required. Metric name.", +"type": "string" +}, +"operator": { +"description": "One of `+`, `-`, `/`, `%`, `*`.", +"type": "string" +}, +"value": { +"description": "Operand value should be provided when operator is set.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudApigeeV1SecurityReportResultMetadata": { +"description": "Contains informations about the security report results.", +"id": "GoogleCloudApigeeV1SecurityReportResultMetadata", +"properties": { +"expires": { +"description": "Output only. Expire_time is set to 7 days after report creation. Query result will be unaccessable after this time. Example: \"2021-05-04T13:38:52-07:00\"", +"readOnly": true, +"type": "string" +}, +"self": { +"description": "Self link of the query results. Example: `/organizations/myorg/environments/myenv/securityReports/9cfc0d85-0f30-46d6-ae6f-318d0cb961bd/result` or following format if query is running at host level: `/organizations/myorg/hostSecurityReports/9cfc0d85-0f30-46d6-ae6f-318d0cb961bd/result`", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudApigeeV1SecurityReportResultView": { +"description": "The response for security report result view APIs.", +"id": "GoogleCloudApigeeV1SecurityReportResultView", +"properties": { +"code": { +"description": "Error code when there is a failure.", +"format": "int32", +"type": "integer" +}, +"error": { +"description": "Error message when there is a failure.", +"type": "string" +}, +"metadata": { +"$ref": "GoogleCloudApigeeV1SecurityReportMetadata", +"description": "Metadata contains information like metrics, dimenstions etc of the security report." +}, +"rows": { +"description": "Rows of security report result. Each row is a JSON object. Example: {sum(message_count): 1, developer_app: \"(not set)\",\u2026}", +"items": { +"type": "any" +}, +"type": "array" +}, +"state": { +"description": "State of retrieving ResultView.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudApigeeV1SecuritySettings": { +"description": "SecuritySettings reflects the current state of the SecuritySettings feature.", +"id": "GoogleCloudApigeeV1SecuritySettings", +"properties": { +"mlRetrainingFeedbackEnabled": { +"description": "Optional. If true the user consents to the use of ML models for Abuse detection.", +"type": "boolean" +}, +"name": { +"description": "Identifier. Full resource name is always `organizations/{org}/securitySettings`.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudApigeeV1ServiceIssuersMapping": { +"id": "GoogleCloudApigeeV1ServiceIssuersMapping", +"properties": { +"emailIds": { +"description": "List of trusted issuer email ids.", +"items": { +"type": "string" +}, +"type": "array" +}, +"service": { +"description": "String indicating the Apigee service name.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudApigeeV1Session": { +"description": "Session carries the debug session id and its creation time.", +"id": "GoogleCloudApigeeV1Session", +"properties": { +"id": { +"description": "The debug session ID.", +"type": "string" +}, +"timestampMs": { +"description": "The first transaction creation timestamp in millisecond, recorded by UAP.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudApigeeV1SetAddonEnablementRequest": { +"description": "Request for SetAddonEnablement.", +"id": "GoogleCloudApigeeV1SetAddonEnablementRequest", +"properties": { +"analyticsEnabled": { +"description": "If the Analytics should be enabled in the environment.", +"type": "boolean" +}, +"apiSecurityEnabled": { +"description": "If the API Security should be enabled in the environment.", +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleCloudApigeeV1SetAddonsRequest": { +"description": "Request for SetAddons.", +"id": "GoogleCloudApigeeV1SetAddonsRequest", +"properties": { +"addonsConfig": { +"$ref": "GoogleCloudApigeeV1AddonsConfig", +"description": "Required. Add-on configurations." +} +}, +"type": "object" +}, +"GoogleCloudApigeeV1SharedFlow": { +"description": "The metadata describing a shared flow", +"id": "GoogleCloudApigeeV1SharedFlow", +"properties": { +"latestRevisionId": { +"description": "The id of the most recently created revision for this shared flow.", +"type": "string" +}, +"metaData": { +"$ref": "GoogleCloudApigeeV1EntityMetadata", +"description": "Metadata describing the shared flow." +}, +"name": { +"description": "The ID of the shared flow.", +"type": "string" +}, +"revision": { +"description": "A list of revisions of this shared flow.", +"items": { +"type": "string" +}, +"type": "array" +}, +"space": { +"description": "Optional. The ID of the space associated with this shared flow. Any IAM policies applied to the space will control access to this shared flow. To learn how Spaces can be used to manage resources, read the [Apigee Spaces Overview](https://cloud.google.com/apigee/docs/api-platform/system-administration/spaces/apigee-spaces-overview).", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudApigeeV1SharedFlowRevision": { +"description": "The metadata describing a shared flow revision.", +"id": "GoogleCloudApigeeV1SharedFlowRevision", +"properties": { +"configurationVersion": { +"$ref": "GoogleCloudApigeeV1ConfigVersion", +"description": "The version of the configuration schema to which this shared flow conforms. The only supported value currently is majorVersion 4 and minorVersion 0. This setting may be used in the future to enable evolution of the shared flow format." +}, +"contextInfo": { +"description": "A textual description of the shared flow revision.", +"type": "string" +}, +"createdAt": { +"description": "Time at which this shared flow revision was created, in milliseconds since epoch.", +"format": "int64", +"type": "string" +}, +"description": { +"description": "Description of the shared flow revision.", +"type": "string" +}, +"displayName": { +"description": "The human readable name of this shared flow.", +"type": "string" +}, +"entityMetaDataAsProperties": { +"additionalProperties": { +"type": "string" +}, +"description": "A Key-Value map of metadata about this shared flow revision.", +"type": "object" +}, +"lastModifiedAt": { +"description": "Time at which this shared flow revision was most recently modified, in milliseconds since epoch.", +"format": "int64", +"type": "string" +}, +"name": { +"description": "The resource ID of the parent shared flow.", +"type": "string" +}, +"policies": { +"description": "A list of policy names included in this shared flow revision.", +"items": { +"type": "string" +}, +"type": "array" +}, +"resourceFiles": { +"$ref": "GoogleCloudApigeeV1ResourceFiles", +"description": "The resource files included in this shared flow revision." +}, +"resources": { +"description": "A list of the resources included in this shared flow revision formatted as \"{type}://{name}\".", +"items": { +"type": "string" +}, +"type": "array" +}, +"revision": { +"description": "The resource ID of this revision.", +"type": "string" +}, +"sharedFlows": { +"description": "A list of the shared flow names included in this shared flow revision.", +"items": { +"type": "string" +}, +"type": "array" +}, +"type": { +"description": "The string \"Application\"", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudApigeeV1Space": { +"description": "Organization space resource.", +"id": "GoogleCloudApigeeV1Space", +"properties": { +"createTime": { +"description": "Output only. Create timestamp of the space.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"displayName": { +"description": "Optional. Display name of the space.", +"type": "string" +}, +"name": { +"description": "Output only. Identifier. Id of the space. This field is used as the resource name, and must follow [AIP-122](https://google.aip.dev/122) guidelines.", +"readOnly": true, +"type": "string" +}, +"updateTime": { +"description": "Output only. Last modified timestamp of the space.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudApigeeV1Stats": { +"description": "Encapsulates a `stats` response.", +"id": "GoogleCloudApigeeV1Stats", +"properties": { +"environments": { +"description": "List of query results on the environment level.", +"items": { +"$ref": "GoogleCloudApigeeV1StatsEnvironmentStats" +}, +"type": "array" +}, +"hosts": { +"description": "List of query results grouped by host.", +"items": { +"$ref": "GoogleCloudApigeeV1StatsHostStats" +}, +"type": "array" +}, +"metaData": { +"$ref": "GoogleCloudApigeeV1Metadata", +"description": "Metadata information." +} +}, +"type": "object" +}, +"GoogleCloudApigeeV1StatsEnvironmentStats": { +"description": "Encapsulates the environment wrapper: ``` \"environments\": [ { \"metrics\": [ { \"name\": \"sum(message_count)\", \"values\": [ \"2.52056245E8\" ] } ], \"name\": \"prod\" } ]```", +"id": "GoogleCloudApigeeV1StatsEnvironmentStats", +"properties": { +"dimensions": { +"description": "List of metrics grouped under dimensions.", +"items": { +"$ref": "GoogleCloudApigeeV1DimensionMetric" +}, +"type": "array" +}, +"metrics": { +"description": "In the final response, only one of the following fields will be present based on the dimensions provided. If no dimensions are provided, then only top-level metrics is provided. If dimensions are included, then there will be a top-level dimensions field under environments which will contain metrics values and the dimension name. Example: ``` \"environments\": [ { \"dimensions\": [ { \"metrics\": [ { \"name\": \"sum(message_count)\", \"values\": [ \"2.14049521E8\" ] } ], \"name\": \"nit_proxy\" } ], \"name\": \"prod\" } ]``` or ```\"environments\": [ { \"metrics\": [ { \"name\": \"sum(message_count)\", \"values\": [ \"2.19026331E8\" ] } ], \"name\": \"prod\" } ]``` List of metric values.", +"items": { +"$ref": "GoogleCloudApigeeV1Metric" +}, +"type": "array" +}, +"name": { +"description": "Name of the environment.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudApigeeV1StatsHostStats": { +"description": "Encapsulates the hostname wrapper: ``` \"hosts\": [ { \"metrics\": [ { \"name\": \"sum(message_count)\", \"values\": [ \"2.52056245E8\" ] } ], \"name\": \"example.com\" } ]```", +"id": "GoogleCloudApigeeV1StatsHostStats", +"properties": { +"dimensions": { +"description": "List of metrics grouped under dimensions.", +"items": { +"$ref": "GoogleCloudApigeeV1DimensionMetric" +}, +"type": "array" +}, +"metrics": { +"description": "In the final response, only one of the following fields will be present based on the dimensions provided. If no dimensions are provided, then only the top-level metrics are provided. If dimensions are included, then there will be a top-level dimensions field under hostnames which will contain metrics values and the dimension name. Example: ``` \"hosts\": [ { \"dimensions\": [ { \"metrics\": [ { \"name\": \"sum(message_count)\", \"values\": [ \"2.14049521E8\" ] } ], \"name\": \"nit_proxy\" } ], \"name\": \"example.com\" } ]``` OR ```\"hosts\": [ { \"metrics\": [ { \"name\": \"sum(message_count)\", \"values\": [ \"2.19026331E8\" ] } ], \"name\": \"example.com\" } ]``` List of metric values.", +"items": { +"$ref": "GoogleCloudApigeeV1Metric" +}, +"type": "array" +}, +"name": { +"description": "Hostname used in query.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudApigeeV1Subscription": { +"description": "Pub/Sub subscription of an environment.", +"id": "GoogleCloudApigeeV1Subscription", +"properties": { +"name": { +"description": "Full name of the Pub/Sub subcription. Use the following structure in your request: `subscription \"projects/foo/subscription/bar\"`", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudApigeeV1SyncAuthorization": { +"id": "GoogleCloudApigeeV1SyncAuthorization", +"properties": { +"etag": { +"description": "Entity tag (ETag) used for optimistic concurrency control as a way to help prevent simultaneous updates from overwriting each other. For example, when you call [getSyncAuthorization](organizations/getSyncAuthorization) an ETag is returned in the response. Pass that ETag when calling the [setSyncAuthorization](organizations/setSyncAuthorization) to ensure that you are updating the correct version. If you don't pass the ETag in the call to `setSyncAuthorization`, then the existing authorization is overwritten indiscriminately. **Note**: We strongly recommend that you use the ETag in the read-modify-write cycle to avoid race conditions.", +"format": "byte", +"type": "string" +}, +"identities": { +"description": "Required. Array of service accounts to grant access to control plane resources, each specified using the following format: `serviceAccount:` service-account-name. The service-account-name is formatted like an email address. For example: `my-synchronizer-manager-service_account@my_project_id.iam.gserviceaccount.com` You might specify multiple service accounts, for example, if you have multiple environments and wish to assign a unique service account to each one. The service accounts must have **Apigee Synchronizer Manager** role. See also [Create service accounts](https://cloud.google.com/apigee/docs/hybrid/latest/sa-about#create-the-service-accounts).", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudApigeeV1TargetServer": { +"description": "TargetServer configuration. TargetServers are used to decouple a proxy TargetEndpoint HTTPTargetConnections from concrete URLs for backend services.", +"id": "GoogleCloudApigeeV1TargetServer", +"properties": { +"description": { +"description": "Optional. A human-readable description of this TargetServer.", +"type": "string" +}, +"host": { +"description": "Required. The host name this target connects to. Value must be a valid hostname as described by RFC-1123.", +"type": "string" +}, +"isEnabled": { +"description": "Optional. Enabling/disabling a TargetServer is useful when TargetServers are used in load balancing configurations, and one or more TargetServers need to taken out of rotation periodically. Defaults to true.", +"type": "boolean" +}, +"name": { +"description": "Required. The resource id of this target server. Values must match the regular expression ", +"type": "string" +}, +"port": { +"description": "Required. The port number this target connects to on the given host. Value must be between 1 and 65535, inclusive.", +"format": "int32", +"type": "integer" +}, +"protocol": { +"description": "Immutable. The protocol used by this TargetServer.", +"enum": [ +"PROTOCOL_UNSPECIFIED", +"HTTP", +"HTTP2", +"GRPC_TARGET", +"GRPC", +"EXTERNAL_CALLOUT" +], +"enumDescriptions": [ +"UNSPECIFIED defaults to HTTP for backwards compatibility.", +"The TargetServer uses HTTP.", +"The TargetSever uses HTTP2.", +"The TargetServer uses GRPC.", +"GRPC TargetServer to be used in ExternalCallout Policy. Prefer to use EXTERNAL_CALLOUT instead. TODO(b/266125112) deprecate once EXTERNAL _CALLOUT generally available.", +"The TargetServer is to be used in the ExternalCallout Policy" +], +"type": "string" +}, +"sSLInfo": { +"$ref": "GoogleCloudApigeeV1TlsInfo", +"description": "Optional. Specifies TLS configuration info for this TargetServer. The JSON name is `sSLInfo` for legacy/backwards compatibility reasons -- Edge originally supported SSL, and the name is still used for TLS configuration." +} +}, +"type": "object" +}, +"GoogleCloudApigeeV1TargetServerConfig": { +"id": "GoogleCloudApigeeV1TargetServerConfig", +"properties": { +"enabled": { +"description": "Whether the target server is enabled. An empty/omitted value for this field should be interpreted as true.", +"type": "boolean" +}, +"host": { +"description": "Host name of the target server.", +"type": "string" +}, +"name": { +"description": "Target server revision name in the following format: `organizations/{org}/environments/{env}/targetservers/{targetserver}/revisions/{rev}`", +"type": "string" +}, +"port": { +"description": "Port number for the target server.", +"format": "int32", +"type": "integer" +}, +"protocol": { +"description": "The protocol used by this target server.", +"enum": [ +"PROTOCOL_UNSPECIFIED", +"HTTP", +"HTTP2", +"GRPC_TARGET", +"GRPC", +"EXTERNAL_CALLOUT" +], +"enumDescriptions": [ +"UNSPECIFIED defaults to HTTP for backwards compatibility.", +"The TargetServer uses HTTP.", +"The TargetSever uses HTTP2.", +"The TargetServer uses GRPC.", +"GRPC TargetServer to be used in ExternalCallout Policy. Prefer to use EXTERNAL_CALLOUT instead. TODO(b/266125112) deprecate once EXTERNAL _CALLOUT generally available.", +"The TargetServer is to be used in the ExternalCallout Policy" +], +"type": "string" +}, +"tlsInfo": { +"$ref": "GoogleCloudApigeeV1TlsInfoConfig", +"description": "TLS settings for the target server." +} +}, +"type": "object" +}, +"GoogleCloudApigeeV1TestDatastoreResponse": { +"description": "The response for TestDatastore", +"id": "GoogleCloudApigeeV1TestDatastoreResponse", +"properties": { +"error": { +"description": "Output only. Error message of test connection failure", +"readOnly": true, +"type": "string" +}, +"state": { +"description": "Output only. It could be `completed` or `failed`", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudApigeeV1TlsInfo": { +"description": "TLS configuration information for virtual hosts and TargetServers.", +"id": "GoogleCloudApigeeV1TlsInfo", +"properties": { +"ciphers": { +"description": "The SSL/TLS cipher suites to be used. For programmable proxies, it must be one of the cipher suite names listed in: http://docs.oracle.com/javase/8/docs/technotes/guides/security/StandardNames.html#ciphersuites. For configurable proxies, it must follow the configuration specified in: https://commondatastorage.googleapis.com/chromium-boringssl-docs/ssl.h.html#Cipher-suite-configuration. This setting has no effect for configurable proxies when negotiating TLS 1.3.", +"items": { +"type": "string" +}, +"type": "array" +}, +"clientAuthEnabled": { +"description": "Optional. Enables two-way TLS.", +"type": "boolean" +}, +"commonName": { +"$ref": "GoogleCloudApigeeV1TlsInfoCommonName", +"description": "The TLS Common Name of the certificate." +}, +"enabled": { +"description": "Required. Enables TLS. If false, neither one-way nor two-way TLS will be enabled.", +"type": "boolean" +}, +"enforce": { +"description": "TLS is strictly enforced.", +"type": "boolean" +}, +"ignoreValidationErrors": { +"description": "If true, Edge ignores TLS certificate errors. Valid when configuring TLS for target servers and target endpoints, and when configuring virtual hosts that use 2-way TLS. When used with a target endpoint/target server, if the backend system uses SNI and returns a cert with a subject Distinguished Name (DN) that does not match the hostname, there is no way to ignore the error and the connection fails.", +"type": "boolean" +}, +"keyAlias": { +"description": "Required if `client_auth_enabled` is true. The resource ID for the alias containing the private key and cert.", +"type": "string" +}, +"keyStore": { +"description": "Required if `client_auth_enabled` is true. The resource ID of the keystore.", +"type": "string" +}, +"protocols": { +"description": "The TLS versioins to be used.", +"items": { +"type": "string" +}, +"type": "array" +}, +"trustStore": { +"description": "The resource ID of the truststore.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudApigeeV1TlsInfoCommonName": { +"id": "GoogleCloudApigeeV1TlsInfoCommonName", +"properties": { +"value": { +"description": "The TLS Common Name string of the certificate.", +"type": "string" +}, +"wildcardMatch": { +"description": "Indicates whether the cert should be matched against as a wildcard cert.", +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleCloudApigeeV1TlsInfoConfig": { +"id": "GoogleCloudApigeeV1TlsInfoConfig", +"properties": { +"ciphers": { +"description": "List of ciphers that are granted access.", +"items": { +"type": "string" +}, +"type": "array" +}, +"clientAuthEnabled": { +"description": "Flag that specifies whether client-side authentication is enabled for the target server. Enables two-way TLS.", +"type": "boolean" +}, +"commonName": { +"$ref": "GoogleCloudApigeeV1CommonNameConfig", +"description": "Common name to validate the target server against." +}, +"enabled": { +"description": "Flag that specifies whether one-way TLS is enabled. Set to `true` to enable one-way TLS.", +"type": "boolean" +}, +"enforce": { +"description": "Flag that enforces TLS settings", +"type": "boolean" +}, +"ignoreValidationErrors": { +"description": "Flag that specifies whether to ignore TLS certificate validation errors. Set to `true` to ignore errors.", +"type": "boolean" +}, +"keyAlias": { +"description": "Name of the alias used for client-side authentication in the following format: `organizations/{org}/environments/{env}/keystores/{keystore}/aliases/{alias}`", +"type": "string" +}, +"keyAliasReference": { +"$ref": "GoogleCloudApigeeV1KeyAliasReference", +"description": "Reference name and alias pair to use for client-side authentication." +}, +"protocols": { +"description": "List of TLS protocols that are granted access.", +"items": { +"type": "string" +}, +"type": "array" +}, +"trustStore": { +"description": "Name of the keystore or keystore reference containing trusted certificates for the server in the following format: `organizations/{org}/environments/{env}/keystores/{keystore}` or `organizations/{org}/environments/{env}/references/{reference}`", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudApigeeV1TraceConfig": { +"description": "TraceConfig defines the configurations in an environment of distributed trace.", +"id": "GoogleCloudApigeeV1TraceConfig", +"properties": { +"endpoint": { +"description": "Required. Endpoint of the exporter.", +"type": "string" +}, +"exporter": { +"description": "Required. Exporter that is used to view the distributed trace captured using OpenCensus. An exporter sends traces to any backend that is capable of consuming them. Recorded spans can be exported by registered exporters.", +"enum": [ +"EXPORTER_UNSPECIFIED", +"JAEGER", +"CLOUD_TRACE", +"OPEN_TELEMETRY_COLLECTOR" +], +"enumDescriptions": [ +"Exporter unspecified", +"Jaeger exporter", +"Cloudtrace exporter", +"Open Telemetry Collector" +], +"type": "string" +}, +"samplingConfig": { +"$ref": "GoogleCloudApigeeV1TraceSamplingConfig", +"description": "Distributed trace configuration for all API proxies in an environment. You can also override the configuration for a specific API proxy using the distributed trace configuration overrides API." +} +}, +"type": "object" +}, +"GoogleCloudApigeeV1TraceConfigOverride": { +"description": "A representation of a configuration override.", +"id": "GoogleCloudApigeeV1TraceConfigOverride", +"properties": { +"apiProxy": { +"description": "ID of the API proxy that will have its trace configuration overridden.", +"type": "string" +}, +"name": { +"description": "ID of the trace configuration override specified as a system-generated UUID.", +"type": "string" +}, +"samplingConfig": { +"$ref": "GoogleCloudApigeeV1TraceSamplingConfig", +"description": "Trace configuration to override." +} +}, +"type": "object" +}, +"GoogleCloudApigeeV1TraceSamplingConfig": { +"description": "TraceSamplingConfig represents the detail settings of distributed tracing. Only the fields that are defined in the distributed trace configuration can be overridden using the distribute trace configuration override APIs.", +"id": "GoogleCloudApigeeV1TraceSamplingConfig", +"properties": { +"sampler": { +"description": "Sampler of distributed tracing. OFF is the default value.", +"enum": [ +"SAMPLER_UNSPECIFIED", +"OFF", +"PROBABILITY" +], +"enumDescriptions": [ +"Sampler unspecified.", +"OFF means distributed trace is disabled, or the sampling probability is 0.", +"PROBABILITY means traces are captured on a probability that defined by sampling_rate. The sampling rate is limited to 0 to 0.5 when this is set." +], +"type": "string" +}, +"samplingRate": { +"description": "Field sampling rate. This value is only applicable when using the PROBABILITY sampler. The supported values are > 0 and <= 0.5.", +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"GoogleCloudApigeeV1UpdateAppGroupAppKeyRequest": { +"description": "Request for UpdateAppGroupAppKey", +"id": "GoogleCloudApigeeV1UpdateAppGroupAppKeyRequest", +"properties": { +"action": { +"description": "Approve or revoke the consumer key by setting this value to `approve` or `revoke` respectively. The `Content-Type` header, if set, must be set to `application/octet-stream`, with empty body.", +"type": "string" +}, +"apiProducts": { +"description": "The list of API products that will be associated with the credential. This list will be appended to the existing list of associated API Products for this App Key. Duplicates will be ignored.", +"items": { +"type": "string" +}, +"type": "array" +}, +"appGroupAppKey": { +"$ref": "GoogleCloudApigeeV1AppGroupAppKey", +"description": "Note that only Scopes and Attributes of the AppGroupAppKey can be amended. Scopes and Attributes mentioned in the request will be inserted and the existing scopes and attributes will be removed." +} +}, +"type": "object" +}, +"GoogleCloudApigeeV1UpdateError": { +"description": "Details on why a resource update failed in the runtime.", +"id": "GoogleCloudApigeeV1UpdateError", +"properties": { +"code": { +"description": "Status code.", +"enum": [ +"OK", +"CANCELLED", +"UNKNOWN", +"INVALID_ARGUMENT", +"DEADLINE_EXCEEDED", +"NOT_FOUND", +"ALREADY_EXISTS", +"PERMISSION_DENIED", +"UNAUTHENTICATED", +"RESOURCE_EXHAUSTED", +"FAILED_PRECONDITION", +"ABORTED", +"OUT_OF_RANGE", +"UNIMPLEMENTED", +"INTERNAL", +"UNAVAILABLE", +"DATA_LOSS" +], +"enumDescriptions": [ +"Not an error; returned on success. HTTP Mapping: 200 OK", +"The operation was cancelled, typically by the caller. HTTP Mapping: 499 Client Closed Request", +"Unknown error. For example, this error may be returned when a `Status` value received from another address space belongs to an error space that is not known in this address space. Also errors raised by APIs that do not return enough error information may be converted to this error. HTTP Mapping: 500 Internal Server Error", +"The client specified an invalid argument. Note that this differs from `FAILED_PRECONDITION`. `INVALID_ARGUMENT` indicates arguments that are problematic regardless of the state of the system (e.g., a malformed file name). HTTP Mapping: 400 Bad Request", +"The deadline expired before the operation could complete. For operations that change the state of the system, this error may be returned even if the operation has completed successfully. For example, a successful response from a server could have been delayed long enough for the deadline to expire. HTTP Mapping: 504 Gateway Timeout", +"Some requested entity (e.g., file or directory) was not found. Note to server developers: if a request is denied for an entire class of users, such as gradual feature rollout or undocumented allowlist, `NOT_FOUND` may be used. If a request is denied for some users within a class of users, such as user-based access control, `PERMISSION_DENIED` must be used. HTTP Mapping: 404 Not Found", +"The entity that a client attempted to create (e.g., file or directory) already exists. HTTP Mapping: 409 Conflict", +"The caller does not have permission to execute the specified operation. `PERMISSION_DENIED` must not be used for rejections caused by exhausting some resource (use `RESOURCE_EXHAUSTED` instead for those errors). `PERMISSION_DENIED` must not be used if the caller can not be identified (use `UNAUTHENTICATED` instead for those errors). This error code does not imply the request is valid or the requested entity exists or satisfies other pre-conditions. HTTP Mapping: 403 Forbidden", +"The request does not have valid authentication credentials for the operation. HTTP Mapping: 401 Unauthorized", +"Some resource has been exhausted, perhaps a per-user quota, or perhaps the entire file system is out of space. HTTP Mapping: 429 Too Many Requests", +"The operation was rejected because the system is not in a state required for the operation's execution. For example, the directory to be deleted is non-empty, an rmdir operation is applied to a non-directory, etc. Service implementors can use the following guidelines to decide between `FAILED_PRECONDITION`, `ABORTED`, and `UNAVAILABLE`: (a) Use `UNAVAILABLE` if the client can retry just the failing call. (b) Use `ABORTED` if the client should retry at a higher level. For example, when a client-specified test-and-set fails, indicating the client should restart a read-modify-write sequence. (c) Use `FAILED_PRECONDITION` if the client should not retry until the system state has been explicitly fixed. For example, if an \"rmdir\" fails because the directory is non-empty, `FAILED_PRECONDITION` should be returned since the client should not retry unless the files are deleted from the directory. HTTP Mapping: 400 Bad Request", +"The operation was aborted, typically due to a concurrency issue such as a sequencer check failure or transaction abort. See the guidelines above for deciding between `FAILED_PRECONDITION`, `ABORTED`, and `UNAVAILABLE`. HTTP Mapping: 409 Conflict", +"The operation was attempted past the valid range. E.g., seeking or reading past end-of-file. Unlike `INVALID_ARGUMENT`, this error indicates a problem that may be fixed if the system state changes. For example, a 32-bit file system will generate `INVALID_ARGUMENT` if asked to read at an offset that is not in the range [0,2^32-1], but it will generate `OUT_OF_RANGE` if asked to read from an offset past the current file size. There is a fair bit of overlap between `FAILED_PRECONDITION` and `OUT_OF_RANGE`. We recommend using `OUT_OF_RANGE` (the more specific error) when it applies so that callers who are iterating through a space can easily look for an `OUT_OF_RANGE` error to detect when they are done. HTTP Mapping: 400 Bad Request", +"The operation is not implemented or is not supported/enabled in this service. HTTP Mapping: 501 Not Implemented", +"Internal errors. This means that some invariants expected by the underlying system have been broken. This error code is reserved for serious errors. HTTP Mapping: 500 Internal Server Error", +"The service is currently unavailable. This is most likely a transient condition, which can be corrected by retrying with a backoff. Note that it is not always safe to retry non-idempotent operations. See the guidelines above for deciding between `FAILED_PRECONDITION`, `ABORTED`, and `UNAVAILABLE`. HTTP Mapping: 503 Service Unavailable", +"Unrecoverable data loss or corruption. HTTP Mapping: 500 Internal Server Error" +], +"type": "string" +}, +"message": { +"description": "User-friendly error message.", +"type": "string" +}, +"resource": { +"description": "The sub resource specific to this error (e.g. a proxy deployed within the EnvironmentConfig). If empty the error refers to the top level resource.", +"type": "string" +}, +"type": { +"description": "A string that uniquely identifies the type of error. This provides a more reliable means to deduplicate errors across revisions and instances.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudApigeeV1UpdateSecurityIncidentRequest": { +"description": "Request for UpdateSecurityIncident.", +"id": "GoogleCloudApigeeV1UpdateSecurityIncidentRequest", +"properties": { +"securityIncident": { +"$ref": "GoogleCloudApigeeV1SecurityIncident", +"description": "Required. The security incident to update. Must contain all existing populated fields of the current incident." +}, +"updateMask": { +"description": "Required. The list of fields to update. Allowed fields are: LINT.IfChange(allowed_update_fields_comment) - observability LINT.ThenChange()", +"format": "google-fieldmask", +"type": "string" +} +}, +"type": "object" +}, +"GoogleIamV1AuditConfig": { +"description": "Specifies the audit configuration for a service. The configuration determines which permission types are logged, and what identities, if any, are exempted from logging. An AuditConfig must have one or more AuditLogConfigs. If there are AuditConfigs for both `allServices` and a specific service, the union of the two AuditConfigs is used for that service: the log_types specified in each AuditConfig are enabled, and the exempted_members in each AuditLogConfig are exempted. Example Policy with multiple AuditConfigs: { \"audit_configs\": [ { \"service\": \"allServices\", \"audit_log_configs\": [ { \"log_type\": \"DATA_READ\", \"exempted_members\": [ \"user:jose@example.com\" ] }, { \"log_type\": \"DATA_WRITE\" }, { \"log_type\": \"ADMIN_READ\" } ] }, { \"service\": \"sampleservice.googleapis.com\", \"audit_log_configs\": [ { \"log_type\": \"DATA_READ\" }, { \"log_type\": \"DATA_WRITE\", \"exempted_members\": [ \"user:aliya@example.com\" ] } ] } ] } For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also exempts `jose@example.com` from DATA_READ logging, and `aliya@example.com` from DATA_WRITE logging.", +"id": "GoogleIamV1AuditConfig", +"properties": { +"auditLogConfigs": { +"description": "The configuration for logging of each type of permission.", +"items": { +"$ref": "GoogleIamV1AuditLogConfig" +}, +"type": "array" +}, +"service": { +"description": "Specifies a service that will be enabled for audit logging. For example, `storage.googleapis.com`, `cloudsql.googleapis.com`. `allServices` is a special value that covers all services.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleIamV1AuditLogConfig": { +"description": "Provides the configuration for logging a type of permissions. Example: { \"audit_log_configs\": [ { \"log_type\": \"DATA_READ\", \"exempted_members\": [ \"user:jose@example.com\" ] }, { \"log_type\": \"DATA_WRITE\" } ] } This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting jose@example.com from DATA_READ logging.", +"id": "GoogleIamV1AuditLogConfig", +"properties": { +"exemptedMembers": { +"description": "Specifies the identities that do not cause logging for this type of permission. Follows the same format of Binding.members.", +"items": { +"type": "string" +}, +"type": "array" +}, +"logType": { +"description": "The log type that this config enables.", +"enum": [ +"LOG_TYPE_UNSPECIFIED", +"ADMIN_READ", +"DATA_WRITE", +"DATA_READ" +], +"enumDescriptions": [ +"Default case. Should never be this.", +"Admin reads. Example: CloudIAM getIamPolicy", +"Data writes. Example: CloudSQL Users create", +"Data reads. Example: CloudSQL Users list" +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleIamV1Binding": { +"description": "Associates `members`, or principals, with a `role`.", +"id": "GoogleIamV1Binding", +"properties": { +"condition": { +"$ref": "GoogleTypeExpr", +"description": "The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies)." +}, +"members": { +"description": "Specifies the principals requesting access for a Google Cloud resource. `members` can have the following values: * `allUsers`: A special identifier that represents anyone who is on the internet; with or without a Google account. * `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service account. Does not include identities that come from external identity providers (IdPs) through identity federation. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `group:{emailid}`: An email address that represents a Google group. For example, `admins@example.com`. * `domain:{domain}`: The G Suite domain (primary) that represents all the users of that domain. For example, `google.com` or `example.com`. * `principal://iam.googleapis.com/locations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}`: A single identity in a workforce identity pool. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/group/{group_id}`: All workforce identities in a group. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/attribute.{attribute_name}/{attribute_value}`: All workforce identities with a specific attribute value. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/*`: All identities in a workforce identity pool. * `principal://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/subject/{subject_attribute_value}`: A single identity in a workload identity pool. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/group/{group_id}`: A workload identity pool group. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/attribute.{attribute_name}/{attribute_value}`: All identities in a workload identity pool with a certain attribute. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/*`: All identities in a workload identity pool. * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a user that has been recently deleted. For example, `alice@example.com?uid=123456789012345678901`. If the user is recovered, this value reverts to `user:{emailid}` and the recovered user retains the role in the binding. * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a service account that has been recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the service account is undeleted, this value reverts to `serviceAccount:{emailid}` and the undeleted service account retains the role in the binding. * `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a Google group that has been recently deleted. For example, `admins@example.com?uid=123456789012345678901`. If the group is recovered, this value reverts to `group:{emailid}` and the recovered group retains the role in the binding. * `deleted:principal://iam.googleapis.com/locations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}`: Deleted single identity in a workforce identity pool. For example, `deleted:principal://iam.googleapis.com/locations/global/workforcePools/my-pool-id/subject/my-subject-attribute-value`.", +"items": { +"type": "string" +}, +"type": "array" +}, +"role": { +"description": "Role that is assigned to the list of `members`, or principals. For example, `roles/viewer`, `roles/editor`, or `roles/owner`. For an overview of the IAM roles and permissions, see the [IAM documentation](https://cloud.google.com/iam/docs/roles-overview). For a list of the available pre-defined roles, see [here](https://cloud.google.com/iam/docs/understanding-roles).", +"type": "string" +} +}, +"type": "object" +}, +"GoogleIamV1Policy": { +"description": "An Identity and Access Management (IAM) policy, which specifies access controls for Google Cloud resources. A `Policy` is a collection of `bindings`. A `binding` binds one or more `members`, or principals, to a single `role`. Principals can be user accounts, service accounts, Google groups, and domains (such as G Suite). A `role` is a named list of permissions; each `role` can be an IAM predefined role or a user-created custom role. For some types of Google Cloud resources, a `binding` can also specify a `condition`, which is a logical expression that allows access to a resource only if the expression evaluates to `true`. A condition can add constraints based on attributes of the request, the resource, or both. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). **JSON example:** ``` { \"bindings\": [ { \"role\": \"roles/resourcemanager.organizationAdmin\", \"members\": [ \"user:mike@example.com\", \"group:admins@example.com\", \"domain:google.com\", \"serviceAccount:my-project-id@appspot.gserviceaccount.com\" ] }, { \"role\": \"roles/resourcemanager.organizationViewer\", \"members\": [ \"user:eve@example.com\" ], \"condition\": { \"title\": \"expirable access\", \"description\": \"Does not grant access after Sep 2020\", \"expression\": \"request.time < timestamp('2020-10-01T00:00:00.000Z')\", } } ], \"etag\": \"BwWWja0YfJA=\", \"version\": 3 } ``` **YAML example:** ``` bindings: - members: - user:mike@example.com - group:admins@example.com - domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.com role: roles/resourcemanager.organizationViewer condition: title: expirable access description: Does not grant access after Sep 2020 expression: request.time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 ``` For a description of IAM and its features, see the [IAM documentation](https://cloud.google.com/iam/docs/).", +"id": "GoogleIamV1Policy", +"properties": { +"auditConfigs": { +"description": "Specifies cloud audit logging configuration for this policy.", +"items": { +"$ref": "GoogleIamV1AuditConfig" +}, +"type": "array" +}, +"bindings": { +"description": "Associates a list of `members`, or principals, with a `role`. Optionally, may specify a `condition` that determines how and when the `bindings` are applied. Each of the `bindings` must contain at least one principal. The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250 of these principals can be Google groups. Each occurrence of a principal counts towards these limits. For example, if the `bindings` grant 50 different roles to `user:alice@example.com`, and not to any other principal, then you can add another 1,450 principals to the `bindings` in the `Policy`.", +"items": { +"$ref": "GoogleIamV1Binding" +}, +"type": "array" +}, +"etag": { +"description": "`etag` is used for optimistic concurrency control as a way to help prevent simultaneous updates of a policy from overwriting each other. It is strongly suggested that systems make use of the `etag` in the read-modify-write cycle to perform policy updates in order to avoid race conditions: An `etag` is returned in the response to `getIamPolicy`, and systems are expected to put that etag in the request to `setIamPolicy` to ensure that their change will be applied to the same version of the policy. **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost.", +"format": "byte", +"type": "string" +}, +"version": { +"description": "Specifies the format of the policy. Valid values are `0`, `1`, and `3`. Requests that specify an invalid value are rejected. Any operation that affects conditional role bindings must specify version `3`. This requirement applies to the following operations: * Getting a policy that includes a conditional role binding * Adding a conditional role binding to a policy * Changing a conditional role binding in a policy * Removing any role binding, with or without a condition, from a policy that includes conditions **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost. If a policy does not include any conditions, operations on that policy may specify any valid version or leave the field unset. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"GoogleIamV1SetIamPolicyRequest": { +"description": "Request message for `SetIamPolicy` method.", +"id": "GoogleIamV1SetIamPolicyRequest", +"properties": { +"policy": { +"$ref": "GoogleIamV1Policy", +"description": "REQUIRED: The complete policy to be applied to the `resource`. The size of the policy is limited to a few 10s of KB. An empty policy is a valid policy but certain Google Cloud services (such as Projects) might reject them." +}, +"updateMask": { +"description": "OPTIONAL: A FieldMask specifying which fields of the policy to modify. Only the fields in the mask will be modified. If no mask is provided, the following default mask is used: `paths: \"bindings, etag\"`", +"format": "google-fieldmask", +"type": "string" +} +}, +"type": "object" +}, +"GoogleIamV1TestIamPermissionsRequest": { +"description": "Request message for `TestIamPermissions` method.", +"id": "GoogleIamV1TestIamPermissionsRequest", +"properties": { +"permissions": { +"description": "The set of permissions to check for the `resource`. Permissions with wildcards (such as `*` or `storage.*`) are not allowed. For more information see [IAM Overview](https://cloud.google.com/iam/docs/overview#permissions).", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleIamV1TestIamPermissionsResponse": { +"description": "Response message for `TestIamPermissions` method.", +"id": "GoogleIamV1TestIamPermissionsResponse", +"properties": { +"permissions": { +"description": "A subset of `TestPermissionsRequest.permissions` that the caller is allowed.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleLongrunningListOperationsResponse": { +"description": "The response message for Operations.ListOperations.", +"id": "GoogleLongrunningListOperationsResponse", +"properties": { +"nextPageToken": { +"description": "The standard List next-page token.", +"type": "string" +}, +"operations": { +"description": "A list of operations that matches the specified filter in the request.", +"items": { +"$ref": "GoogleLongrunningOperation" +}, +"type": "array" +}, +"unreachable": { +"description": "Unordered list. Unreachable resources. Populated when the request sets `ListOperationsRequest.return_partial_success` and reads across collections. For example, when attempting to list all resources across all supported locations.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleLongrunningOperation": { +"description": "This resource represents a long-running operation that is the result of a network API call.", +"id": "GoogleLongrunningOperation", +"properties": { +"done": { +"description": "If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.", +"type": "boolean" +}, +"error": { +"$ref": "GoogleRpcStatus", +"description": "The error result of the operation in case of failure or cancellation." +}, +"metadata": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.", +"type": "object" +}, +"name": { +"description": "The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.", +"type": "string" +}, +"response": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "The normal, successful response of the operation. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.", +"type": "object" +} +}, +"type": "object" +}, +"GoogleProtobufEmpty": { +"description": "A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }", +"id": "GoogleProtobufEmpty", +"properties": {}, +"type": "object" +}, +"GoogleRpcPreconditionFailure": { +"description": "Describes what preconditions have failed. For example, if an RPC failed because it required the Terms of Service to be acknowledged, it could list the terms of service violation in the PreconditionFailure message.", +"id": "GoogleRpcPreconditionFailure", +"properties": { +"violations": { +"description": "Describes all precondition violations.", +"items": { +"$ref": "GoogleRpcPreconditionFailureViolation" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleRpcPreconditionFailureViolation": { +"description": "A message type used to describe a single precondition failure.", +"id": "GoogleRpcPreconditionFailureViolation", +"properties": { +"description": { +"description": "A description of how the precondition failed. Developers can use this description to understand how to fix the failure. For example: \"Terms of service not accepted\".", +"type": "string" +}, +"subject": { +"description": "The subject, relative to the type, that failed. For example, \"google.com/cloud\" relative to the \"TOS\" type would indicate which terms of service is being referenced.", +"type": "string" +}, +"type": { +"description": "The type of PreconditionFailure. We recommend using a service-specific enum type to define the supported precondition violation subjects. For example, \"TOS\" for \"Terms of Service violation\".", +"type": "string" +} +}, +"type": "object" +}, +"GoogleRpcStatus": { +"description": "The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors).", +"id": "GoogleRpcStatus", +"properties": { +"code": { +"description": "The status code, which should be an enum value of google.rpc.Code.", +"format": "int32", +"type": "integer" +}, +"details": { +"description": "A list of messages that carry the error details. There is a common set of message types for APIs to use.", +"items": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleTypeExpr": { +"description": "Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: \"Summary size limit\" description: \"Determines if a summary is less than 100 chars\" expression: \"document.summary.size() < 100\" Example (Equality): title: \"Requestor is owner\" description: \"Determines if requestor is the document owner\" expression: \"document.owner == request.auth.claims.email\" Example (Logic): title: \"Public documents\" description: \"Determine whether the document should be publicly visible\" expression: \"document.type != 'private' && document.type != 'internal'\" Example (Data Manipulation): title: \"Notification string\" description: \"Create a notification string with a timestamp.\" expression: \"'New message received at ' + string(document.create_time)\" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information.", +"id": "GoogleTypeExpr", +"properties": { +"description": { +"description": "Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI.", +"type": "string" +}, +"expression": { +"description": "Textual representation of an expression in Common Expression Language syntax.", +"type": "string" +}, +"location": { +"description": "Optional. String indicating the location of the expression for error reporting, e.g. a file name and a position in the file.", +"type": "string" +}, +"title": { +"description": "Optional. Title for the expression, i.e. a short string describing its purpose. This can be used e.g. in UIs which allow to enter the expression.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleTypeInterval": { +"description": "Represents a time interval, encoded as a Timestamp start (inclusive) and a Timestamp end (exclusive). The start must be less than or equal to the end. When the start equals the end, the interval is empty (matches no time). When both start and end are unspecified, the interval matches any time.", +"id": "GoogleTypeInterval", +"properties": { +"endTime": { +"description": "Optional. Exclusive end of the interval. If specified, a Timestamp matching this interval will have to be before the end.", +"format": "google-datetime", +"type": "string" +}, +"startTime": { +"description": "Optional. Inclusive start of the interval. If specified, a Timestamp matching this interval will have to be the same or after the start.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"GoogleTypeMoney": { +"description": "Represents an amount of money with its currency type.", +"id": "GoogleTypeMoney", +"properties": { +"currencyCode": { +"description": "The three-letter currency code defined in ISO 4217.", +"type": "string" +}, +"nanos": { +"description": "Number of nano (10^-9) units of the amount. The value must be between -999,999,999 and +999,999,999 inclusive. If `units` is positive, `nanos` must be positive or zero. If `units` is zero, `nanos` can be positive, zero, or negative. If `units` is negative, `nanos` must be negative or zero. For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000.", +"format": "int32", +"type": "integer" +}, +"units": { +"description": "The whole units of the amount. For example if `currencyCode` is `\"USD\"`, then 1 unit is one US dollar.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"GoogleTypeTimeOfDay": { +"description": "Represents a time of day. The date and time zone are either not significant or are specified elsewhere. An API may choose to allow leap seconds. Related types are google.type.Date and `google.protobuf.Timestamp`.", +"id": "GoogleTypeTimeOfDay", +"properties": { +"hours": { +"description": "Hours of a day in 24 hour format. Must be greater than or equal to 0 and typically must be less than or equal to 23. An API may choose to allow the value \"24:00:00\" for scenarios like business closing time.", +"format": "int32", +"type": "integer" +}, +"minutes": { +"description": "Minutes of an hour. Must be greater than or equal to 0 and less than or equal to 59.", +"format": "int32", +"type": "integer" +}, +"nanos": { +"description": "Fractions of seconds, in nanoseconds. Must be greater than or equal to 0 and less than or equal to 999,999,999.", +"format": "int32", +"type": "integer" +}, +"seconds": { +"description": "Seconds of a minute. Must be greater than or equal to 0 and typically must be less than or equal to 59. An API may allow the value 60 if it allows leap-seconds.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +} +}, +"servicePath": "", +"title": "Apigee API", +"version": "v1", +"version_module": true +} \ No newline at end of file diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/apphub.v1.json b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/apphub.v1.json new file mode 100644 index 0000000000000000000000000000000000000000..76d82d5a0f94d1daca1669a5c9fdd0cf9c6b7d00 --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/apphub.v1.json @@ -0,0 +1,2765 @@ +{ +"auth": { +"oauth2": { +"scopes": { +"https://www.googleapis.com/auth/cloud-platform": { +"description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." +} +} +} +}, +"basePath": "", +"baseUrl": "https://apphub.googleapis.com/", +"batchPath": "batch", +"canonicalName": "App Hub", +"description": "App Hub lets you build, operate, and manage applications on Google Cloud.", +"discoveryVersion": "v1", +"documentationLink": "https://cloud.google.com/app-hub/docs/", +"fullyEncodeReservedExpansion": true, +"icons": { +"x16": "http://www.google.com/images/icons/product/search-16.gif", +"x32": "http://www.google.com/images/icons/product/search-32.gif" +}, +"id": "apphub:v1", +"kind": "discovery#restDescription", +"mtlsRootUrl": "https://apphub.mtls.googleapis.com/", +"name": "apphub", +"ownerDomain": "google.com", +"ownerName": "Google", +"parameters": { +"$.xgafv": { +"description": "V1 error format.", +"enum": [ +"1", +"2" +], +"enumDescriptions": [ +"v1 error format", +"v2 error format" +], +"location": "query", +"type": "string" +}, +"access_token": { +"description": "OAuth access token.", +"location": "query", +"type": "string" +}, +"alt": { +"default": "json", +"description": "Data format for response.", +"enum": [ +"json", +"media", +"proto" +], +"enumDescriptions": [ +"Responses with Content-Type of application/json", +"Media download with context-dependent Content-Type", +"Responses with Content-Type of application/x-protobuf" +], +"location": "query", +"type": "string" +}, +"callback": { +"description": "JSONP", +"location": "query", +"type": "string" +}, +"fields": { +"description": "Selector specifying which fields to include in a partial response.", +"location": "query", +"type": "string" +}, +"key": { +"description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", +"location": "query", +"type": "string" +}, +"oauth_token": { +"description": "OAuth 2.0 token for the current user.", +"location": "query", +"type": "string" +}, +"prettyPrint": { +"default": "true", +"description": "Returns response with indentations and line breaks.", +"location": "query", +"type": "boolean" +}, +"quotaUser": { +"description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.", +"location": "query", +"type": "string" +}, +"uploadType": { +"description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", +"location": "query", +"type": "string" +}, +"upload_protocol": { +"description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", +"location": "query", +"type": "string" +} +}, +"protocol": "rest", +"resources": { +"projects": { +"resources": { +"locations": { +"methods": { +"detachServiceProjectAttachment": { +"description": "Detaches a service project from a host project. You can call this API from any service project without needing access to the host project that it is attached to.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}:detachServiceProjectAttachment", +"httpMethod": "POST", +"id": "apphub.projects.locations.detachServiceProjectAttachment", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Service project id and location to detach from a host project. Only global location is supported. Expected format: `projects/{project}/locations/{location}`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:detachServiceProjectAttachment", +"request": { +"$ref": "DetachServiceProjectAttachmentRequest" +}, +"response": { +"$ref": "DetachServiceProjectAttachmentResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets information about a location.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}", +"httpMethod": "GET", +"id": "apphub.projects.locations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Resource name for the location.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Location" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"getBoundary": { +"description": "Gets a Boundary.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/boundary", +"httpMethod": "GET", +"id": "apphub.projects.locations.getBoundary", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the boundary to retrieve. Format: `projects/{project}/locations/{location}/boundary`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/boundary$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Boundary" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists information about the supported locations for this service. This method can be called in two ways: * **List all public locations:** Use the path `GET /v1/locations`. * **List project-visible locations:** Use the path `GET /v1/projects/{project_id}/locations`. This may include public locations as well as private or other locations specifically visible to the project.", +"flatPath": "v1/projects/{projectsId}/locations", +"httpMethod": "GET", +"id": "apphub.projects.locations.list", +"parameterOrder": [ +"name" +], +"parameters": { +"extraLocationTypes": { +"description": "Optional. Do not use this field. It is unsupported and is ignored unless explicitly documented otherwise. This is primarily for internal usage.", +"location": "query", +"repeated": true, +"type": "string" +}, +"filter": { +"description": "A filter to narrow down results to a preferred subset. The filtering language accepts strings like `\"displayName=tokyo\"`, and is documented in more detail in [AIP-160](https://google.aip.dev/160).", +"location": "query", +"type": "string" +}, +"name": { +"description": "The resource that owns the locations collection, if applicable.", +"location": "path", +"pattern": "^projects/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The maximum number of results to return. If not set, the service selects a default.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A page token received from the `next_page_token` field in the response. Send that page token to receive the subsequent page.", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}/locations", +"response": { +"$ref": "ListLocationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"lookupServiceProjectAttachment": { +"description": "Lists a service project attachment for a given service project. You can call this API from any project to find if it is attached to a host project.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}:lookupServiceProjectAttachment", +"httpMethod": "GET", +"id": "apphub.projects.locations.lookupServiceProjectAttachment", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Service project ID and location to lookup service project attachment for. Only global location is supported. Expected format: `projects/{project}/locations/{location}`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:lookupServiceProjectAttachment", +"response": { +"$ref": "LookupServiceProjectAttachmentResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"updateBoundary": { +"description": "Updates a Boundary.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/boundary", +"httpMethod": "PATCH", +"id": "apphub.projects.locations.updateBoundary", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Identifier. The resource name of the boundary. Format: \"projects/{project}/locations/{location}/boundary\"", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/boundary$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"updateMask": { +"description": "Required. Field mask is used to specify the fields to be overwritten in the Boundary resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "Boundary" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"applications": { +"methods": { +"create": { +"description": "Creates an Application in a host project and location.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/applications", +"httpMethod": "POST", +"id": "apphub.projects.locations.applications.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"applicationId": { +"description": "Required. The Application identifier. Must contain only lowercase letters, numbers or hyphens, with the first character a letter, the last a letter or a number, and a 63 character maximum.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. Project and location to create Application in. Expected format: `projects/{project}/locations/{location}`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+parent}/applications", +"request": { +"$ref": "Application" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes an Application in a host project and location.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/applications/{applicationsId}", +"httpMethod": "DELETE", +"id": "apphub.projects.locations.applications.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Fully qualified name of the Application to delete. Expected format: `projects/{project}/locations/{location}/applications/{application}`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/applications/[^/]+$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes after the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets an Application in a host project and location.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/applications/{applicationsId}", +"httpMethod": "GET", +"id": "apphub.projects.locations.applications.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Fully qualified name of the Application to fetch. Expected format: `projects/{project}/locations/{location}/applications/{application}`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/applications/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Application" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"getIamPolicy": { +"description": "Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/applications/{applicationsId}:getIamPolicy", +"httpMethod": "GET", +"id": "apphub.projects.locations.applications.getIamPolicy", +"parameterOrder": [ +"resource" +], +"parameters": { +"options.requestedPolicyVersion": { +"description": "Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).", +"format": "int32", +"location": "query", +"type": "integer" +}, +"resource": { +"description": "REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/applications/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+resource}:getIamPolicy", +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists Applications in a host project and location.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/applications", +"httpMethod": "GET", +"id": "apphub.projects.locations.applications.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Optional. Filtering results.", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "Optional. Hint for how to order the results.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Optional. Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. A token identifying a page of results the server should return.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. Project and location to list Applications on. Expected format: `projects/{project}/locations/{location}`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/applications", +"response": { +"$ref": "ListApplicationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates an Application in a host project and location.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/applications/{applicationsId}", +"httpMethod": "PATCH", +"id": "apphub.projects.locations.applications.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Identifier. The resource name of an Application. Format: `\"projects/{host-project-id}/locations/{location}/applications/{application-id}\"`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/applications/[^/]+$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"updateMask": { +"description": "Required. Field mask is used to specify the fields to be overwritten in the Application resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. The API changes the values of the fields as specified in the update_mask. The API ignores the values of all fields not covered by the update_mask. You can also unset a field by not specifying it in the updated message, but adding the field to the mask. This clears whatever value the field previously had.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "Application" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"setIamPolicy": { +"description": "Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/applications/{applicationsId}:setIamPolicy", +"httpMethod": "POST", +"id": "apphub.projects.locations.applications.setIamPolicy", +"parameterOrder": [ +"resource" +], +"parameters": { +"resource": { +"description": "REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/applications/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+resource}:setIamPolicy", +"request": { +"$ref": "SetIamPolicyRequest" +}, +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"testIamPermissions": { +"description": "Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may \"fail open\" without warning.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/applications/{applicationsId}:testIamPermissions", +"httpMethod": "POST", +"id": "apphub.projects.locations.applications.testIamPermissions", +"parameterOrder": [ +"resource" +], +"parameters": { +"resource": { +"description": "REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/applications/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+resource}:testIamPermissions", +"request": { +"$ref": "TestIamPermissionsRequest" +}, +"response": { +"$ref": "TestIamPermissionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"services": { +"methods": { +"create": { +"description": "Creates a Service in an Application.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/applications/{applicationsId}/services", +"httpMethod": "POST", +"id": "apphub.projects.locations.applications.services.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. Fully qualified name of the parent Application to create the Service in. Expected format: `projects/{project}/locations/{location}/applications/{application}`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/applications/[^/]+$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"serviceId": { +"description": "Required. The Service identifier. Must contain only lowercase letters, numbers or hyphens, with the first character a letter, the last a letter or a number, and a 63 character maximum.", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+parent}/services", +"request": { +"$ref": "Service" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a Service from an Application.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/applications/{applicationsId}/services/{servicesId}", +"httpMethod": "DELETE", +"id": "apphub.projects.locations.applications.services.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Fully qualified name of the Service to delete from an Application. Expected format: `projects/{project}/locations/{location}/applications/{application}/services/{service}`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/applications/[^/]+/services/[^/]+$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes after the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets a Service in an Application.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/applications/{applicationsId}/services/{servicesId}", +"httpMethod": "GET", +"id": "apphub.projects.locations.applications.services.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Fully qualified name of the Service to fetch. Expected format: `projects/{project}/locations/{location}/applications/{application}/services/{service}`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/applications/[^/]+/services/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Service" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists Services in an Application.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/applications/{applicationsId}/services", +"httpMethod": "GET", +"id": "apphub.projects.locations.applications.services.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Optional. Filtering results", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "Optional. Hint for how to order the results", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Optional. Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. A token identifying a page of results the server should return.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. Fully qualified name of the parent Application to list Services for. Expected format: `projects/{project}/locations/{location}/applications/{application}`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/applications/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/services", +"response": { +"$ref": "ListServicesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates a Service in an Application.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/applications/{applicationsId}/services/{servicesId}", +"httpMethod": "PATCH", +"id": "apphub.projects.locations.applications.services.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Identifier. The resource name of a Service. Format: `\"projects/{host-project-id}/locations/{location}/applications/{application-id}/services/{service-id}\"`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/applications/[^/]+/services/[^/]+$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"updateMask": { +"description": "Required. Field mask is used to specify the fields to be overwritten in the Service resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. The API changes the values of the fields as specified in the update_mask. The API ignores the values of all fields not covered by the update_mask. You can also unset a field by not specifying it in the updated message, but adding the field to the mask. This clears whatever value the field previously had.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "Service" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"workloads": { +"methods": { +"create": { +"description": "Creates a Workload in an Application.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/applications/{applicationsId}/workloads", +"httpMethod": "POST", +"id": "apphub.projects.locations.applications.workloads.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. Fully qualified name of the Application to create Workload in. Expected format: `projects/{project}/locations/{location}/applications/{application}`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/applications/[^/]+$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"workloadId": { +"description": "Required. The Workload identifier. Must contain only lowercase letters, numbers or hyphens, with the first character a letter, the last a letter or a number, and a 63 character maximum.", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+parent}/workloads", +"request": { +"$ref": "Workload" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a Workload from an Application.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/applications/{applicationsId}/workloads/{workloadsId}", +"httpMethod": "DELETE", +"id": "apphub.projects.locations.applications.workloads.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Fully qualified name of the Workload to delete from an Application. Expected format: `projects/{project}/locations/{location}/applications/{application}/workloads/{workload}`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/applications/[^/]+/workloads/[^/]+$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes after the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets a Workload in an Application.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/applications/{applicationsId}/workloads/{workloadsId}", +"httpMethod": "GET", +"id": "apphub.projects.locations.applications.workloads.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Fully qualified name of the Workload to fetch. Expected format: `projects/{project}/locations/{location}/applications/{application}/workloads/{workload}`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/applications/[^/]+/workloads/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Workload" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists Workloads in an Application.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/applications/{applicationsId}/workloads", +"httpMethod": "GET", +"id": "apphub.projects.locations.applications.workloads.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Optional. Filtering results.", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "Optional. Hint for how to order the results.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Optional. Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. A token identifying a page of results the server should return.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. Fully qualified name of the parent Application to list Workloads for. Expected format: `projects/{project}/locations/{location}/applications/{application}`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/applications/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/workloads", +"response": { +"$ref": "ListWorkloadsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates a Workload in an Application.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/applications/{applicationsId}/workloads/{workloadsId}", +"httpMethod": "PATCH", +"id": "apphub.projects.locations.applications.workloads.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Identifier. The resource name of the Workload. Format: `\"projects/{host-project-id}/locations/{location}/applications/{application-id}/workloads/{workload-id}\"`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/applications/[^/]+/workloads/[^/]+$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"updateMask": { +"description": "Required. Field mask is used to specify the fields to be overwritten in the Workload resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. The API changes the values of the fields as specified in the update_mask. The API ignores the values of all fields not covered by the update_mask. You can also unset a field by not specifying it in the updated message, but adding the field to the mask. This clears whatever value the field previously had.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "Workload" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +}, +"discoveredServices": { +"methods": { +"get": { +"description": "Gets a Discovered Service in a host project and location.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/discoveredServices/{discoveredServicesId}", +"httpMethod": "GET", +"id": "apphub.projects.locations.discoveredServices.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Fully qualified name of the Discovered Service to fetch. Expected format: `projects/{project}/locations/{location}/discoveredServices/{discoveredService}`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/discoveredServices/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "DiscoveredService" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists Discovered Services that can be added to an Application in a host project and location.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/discoveredServices", +"httpMethod": "GET", +"id": "apphub.projects.locations.discoveredServices.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Optional. Filtering results.", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "Optional. Hint for how to order the results.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Optional. Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. A token identifying a page of results the server should return.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. Project and location to list Discovered Services on. Expected format: `projects/{project}/locations/{location}`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/discoveredServices", +"response": { +"$ref": "ListDiscoveredServicesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"lookup": { +"description": "Lists a Discovered Service in a host project and location, with a given resource URI.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/discoveredServices:lookup", +"httpMethod": "GET", +"id": "apphub.projects.locations.discoveredServices.lookup", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. Host project ID and location to lookup Discovered Service in. Expected format: `projects/{project}/locations/{location}`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +}, +"uri": { +"description": "Required. Resource URI to find DiscoveredService for. Accepts both project number and project ID and does translation when needed.", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+parent}/discoveredServices:lookup", +"response": { +"$ref": "LookupDiscoveredServiceResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"discoveredWorkloads": { +"methods": { +"get": { +"description": "Gets a Discovered Workload in a host project and location.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/discoveredWorkloads/{discoveredWorkloadsId}", +"httpMethod": "GET", +"id": "apphub.projects.locations.discoveredWorkloads.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Fully qualified name of the Discovered Workload to fetch. Expected format: `projects/{project}/locations/{location}/discoveredWorkloads/{discoveredWorkload}`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/discoveredWorkloads/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "DiscoveredWorkload" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists Discovered Workloads that can be added to an Application in a host project and location.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/discoveredWorkloads", +"httpMethod": "GET", +"id": "apphub.projects.locations.discoveredWorkloads.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Optional. Filtering results.", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "Optional. Hint for how to order the results.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Optional. Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. A token identifying a page of results the server should return.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. Project and location to list Discovered Workloads on. Expected format: `projects/{project}/locations/{location}`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/discoveredWorkloads", +"response": { +"$ref": "ListDiscoveredWorkloadsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"lookup": { +"description": "Lists a Discovered Workload in a host project and location, with a given resource URI.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/discoveredWorkloads:lookup", +"httpMethod": "GET", +"id": "apphub.projects.locations.discoveredWorkloads.lookup", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. Host project ID and location to lookup Discovered Workload in. Expected format: `projects/{project}/locations/{location}`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +}, +"uri": { +"description": "Required. Resource URI to find Discovered Workload for. Accepts both project number and project ID and does translation when needed.", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+parent}/discoveredWorkloads:lookup", +"response": { +"$ref": "LookupDiscoveredWorkloadResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"extendedMetadataSchemas": { +"methods": { +"get": { +"description": "Gets an Extended Metadata Schema.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/extendedMetadataSchemas/{extendedMetadataSchemasId}", +"httpMethod": "GET", +"id": "apphub.projects.locations.extendedMetadataSchemas.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Schema resource name. Format: `projects/{project}/locations/{location}/extendedMetadataSchemas/{extended_metadata_schema}`. `{extended_metadata_schema}` has the format `\"apphub.googleapis.com/{SchemaName}\"`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/extendedMetadataSchemas/.*$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "ExtendedMetadataSchema" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists Extended Metadata Schemas available in a host project and location.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/extendedMetadataSchemas", +"httpMethod": "GET", +"id": "apphub.projects.locations.extendedMetadataSchemas.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "Optional. Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. A token identifying a page of results the server should return.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. Project and location to list Extended Metadata Schemas on. Expected format: `projects/{project}/locations/{location}`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/extendedMetadataSchemas", +"response": { +"$ref": "ListExtendedMetadataSchemasResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"operations": { +"methods": { +"cancel": { +"description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}:cancel", +"httpMethod": "POST", +"id": "apphub.projects.locations.operations.cancel", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be cancelled.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:cancel", +"request": { +"$ref": "CancelOperationRequest" +}, +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}", +"httpMethod": "DELETE", +"id": "apphub.projects.locations.operations.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be deleted.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}", +"httpMethod": "GET", +"id": "apphub.projects.locations.operations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/operations", +"httpMethod": "GET", +"id": "apphub.projects.locations.operations.list", +"parameterOrder": [ +"name" +], +"parameters": { +"filter": { +"description": "The standard list filter.", +"location": "query", +"type": "string" +}, +"name": { +"description": "The name of the operation's parent resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The standard list page size.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The standard list page token.", +"location": "query", +"type": "string" +}, +"returnPartialSuccess": { +"description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `\"projects/example/locations/-\"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1/{+name}/operations", +"response": { +"$ref": "ListOperationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"serviceProjectAttachments": { +"methods": { +"create": { +"description": "Attaches a service project to the host project.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/serviceProjectAttachments", +"httpMethod": "POST", +"id": "apphub.projects.locations.serviceProjectAttachments.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. Host project ID and location to which service project is being attached. Only global location is supported. Expected format: `projects/{project}/locations/{location}`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"serviceProjectAttachmentId": { +"description": "Required. The service project attachment identifier must contain the project id of the service project specified in the service_project_attachment.service_project field.", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+parent}/serviceProjectAttachments", +"request": { +"$ref": "ServiceProjectAttachment" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a service project attachment.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/serviceProjectAttachments/{serviceProjectAttachmentsId}", +"httpMethod": "DELETE", +"id": "apphub.projects.locations.serviceProjectAttachments.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Fully qualified name of the service project attachment to delete. Expected format: `projects/{project}/locations/{location}/serviceProjectAttachments/{serviceProjectAttachment}`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/serviceProjectAttachments/[^/]+$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes after the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets a service project attachment.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/serviceProjectAttachments/{serviceProjectAttachmentsId}", +"httpMethod": "GET", +"id": "apphub.projects.locations.serviceProjectAttachments.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Fully qualified name of the service project attachment to retrieve. Expected format: `projects/{project}/locations/{location}/serviceProjectAttachments/{serviceProjectAttachment}`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/serviceProjectAttachments/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "ServiceProjectAttachment" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists service projects attached to the host project.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/serviceProjectAttachments", +"httpMethod": "GET", +"id": "apphub.projects.locations.serviceProjectAttachments.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Optional. Filtering results.", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "Optional. Hint for how to order the results.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Optional. Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. A token identifying a page of results the server should return.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. Host project ID and location to list service project attachments. Only global location is supported. Expected format: `projects/{project}/locations/{location}`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/serviceProjectAttachments", +"response": { +"$ref": "ListServiceProjectAttachmentsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +} +} +} +}, +"revision": "20260204", +"rootUrl": "https://apphub.googleapis.com/", +"schemas": { +"Application": { +"description": "Application defines the governance boundary for App Hub entities that perform a logical end-to-end business function. App Hub supports application level IAM permission to align with governance requirements.", +"id": "Application", +"properties": { +"attributes": { +"$ref": "Attributes", +"description": "Optional. Consumer provided attributes." +}, +"createTime": { +"description": "Output only. Create time.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"description": { +"description": "Optional. User-defined description of an Application. Can have a maximum length of 2048 characters.", +"type": "string" +}, +"displayName": { +"description": "Optional. User-defined name for the Application. Can have a maximum length of 63 characters.", +"type": "string" +}, +"name": { +"description": "Identifier. The resource name of an Application. Format: `\"projects/{host-project-id}/locations/{location}/applications/{application-id}\"`", +"type": "string" +}, +"scope": { +"$ref": "Scope", +"description": "Required. Immutable. Defines what data can be included into this Application. Limits which Services and Workloads can be registered." +}, +"state": { +"description": "Output only. Application state.", +"enum": [ +"STATE_UNSPECIFIED", +"CREATING", +"ACTIVE", +"DELETING" +], +"enumDescriptions": [ +"Unspecified state.", +"The Application is being created.", +"The Application is ready to register Services and Workloads.", +"The Application is being deleted." +], +"readOnly": true, +"type": "string" +}, +"uid": { +"description": "Output only. A universally unique identifier (in UUID4 format) for the `Application`.", +"readOnly": true, +"type": "string" +}, +"updateTime": { +"description": "Output only. Update time.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"Attributes": { +"description": "Consumer provided attributes.", +"id": "Attributes", +"properties": { +"businessOwners": { +"description": "Optional. Business team that ensures user needs are met and value is delivered", +"items": { +"$ref": "ContactInfo" +}, +"type": "array" +}, +"criticality": { +"$ref": "Criticality", +"description": "Optional. User-defined criticality information." +}, +"developerOwners": { +"description": "Optional. Developer team that owns development and coding.", +"items": { +"$ref": "ContactInfo" +}, +"type": "array" +}, +"environment": { +"$ref": "Environment", +"description": "Optional. User-defined environment information." +}, +"operatorOwners": { +"description": "Optional. Operator team that ensures runtime and operations.", +"items": { +"$ref": "ContactInfo" +}, +"type": "array" +} +}, +"type": "object" +}, +"AuditConfig": { +"description": "Specifies the audit configuration for a service. The configuration determines which permission types are logged, and what identities, if any, are exempted from logging. An AuditConfig must have one or more AuditLogConfigs. If there are AuditConfigs for both `allServices` and a specific service, the union of the two AuditConfigs is used for that service: the log_types specified in each AuditConfig are enabled, and the exempted_members in each AuditLogConfig are exempted. Example Policy with multiple AuditConfigs: { \"audit_configs\": [ { \"service\": \"allServices\", \"audit_log_configs\": [ { \"log_type\": \"DATA_READ\", \"exempted_members\": [ \"user:jose@example.com\" ] }, { \"log_type\": \"DATA_WRITE\" }, { \"log_type\": \"ADMIN_READ\" } ] }, { \"service\": \"sampleservice.googleapis.com\", \"audit_log_configs\": [ { \"log_type\": \"DATA_READ\" }, { \"log_type\": \"DATA_WRITE\", \"exempted_members\": [ \"user:aliya@example.com\" ] } ] } ] } For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also exempts `jose@example.com` from DATA_READ logging, and `aliya@example.com` from DATA_WRITE logging.", +"id": "AuditConfig", +"properties": { +"auditLogConfigs": { +"description": "The configuration for logging of each type of permission.", +"items": { +"$ref": "AuditLogConfig" +}, +"type": "array" +}, +"service": { +"description": "Specifies a service that will be enabled for audit logging. For example, `storage.googleapis.com`, `cloudsql.googleapis.com`. `allServices` is a special value that covers all services.", +"type": "string" +} +}, +"type": "object" +}, +"AuditLogConfig": { +"description": "Provides the configuration for logging a type of permissions. Example: { \"audit_log_configs\": [ { \"log_type\": \"DATA_READ\", \"exempted_members\": [ \"user:jose@example.com\" ] }, { \"log_type\": \"DATA_WRITE\" } ] } This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting jose@example.com from DATA_READ logging.", +"id": "AuditLogConfig", +"properties": { +"exemptedMembers": { +"description": "Specifies the identities that do not cause logging for this type of permission. Follows the same format of Binding.members.", +"items": { +"type": "string" +}, +"type": "array" +}, +"logType": { +"description": "The log type that this config enables.", +"enum": [ +"LOG_TYPE_UNSPECIFIED", +"ADMIN_READ", +"DATA_WRITE", +"DATA_READ" +], +"enumDescriptions": [ +"Default case. Should never be this.", +"Admin reads. Example: CloudIAM getIamPolicy", +"Data writes. Example: CloudSQL Users create", +"Data reads. Example: CloudSQL Users list" +], +"type": "string" +} +}, +"type": "object" +}, +"Binding": { +"description": "Associates `members`, or principals, with a `role`.", +"id": "Binding", +"properties": { +"condition": { +"$ref": "Expr", +"description": "The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies)." +}, +"members": { +"description": "Specifies the principals requesting access for a Google Cloud resource. `members` can have the following values: * `allUsers`: A special identifier that represents anyone who is on the internet; with or without a Google account. * `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service account. Does not include identities that come from external identity providers (IdPs) through identity federation. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `group:{emailid}`: An email address that represents a Google group. For example, `admins@example.com`. * `domain:{domain}`: The G Suite domain (primary) that represents all the users of that domain. For example, `google.com` or `example.com`. * `principal://iam.googleapis.com/locations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}`: A single identity in a workforce identity pool. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/group/{group_id}`: All workforce identities in a group. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/attribute.{attribute_name}/{attribute_value}`: All workforce identities with a specific attribute value. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/*`: All identities in a workforce identity pool. * `principal://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/subject/{subject_attribute_value}`: A single identity in a workload identity pool. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/group/{group_id}`: A workload identity pool group. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/attribute.{attribute_name}/{attribute_value}`: All identities in a workload identity pool with a certain attribute. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/*`: All identities in a workload identity pool. * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a user that has been recently deleted. For example, `alice@example.com?uid=123456789012345678901`. If the user is recovered, this value reverts to `user:{emailid}` and the recovered user retains the role in the binding. * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a service account that has been recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the service account is undeleted, this value reverts to `serviceAccount:{emailid}` and the undeleted service account retains the role in the binding. * `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a Google group that has been recently deleted. For example, `admins@example.com?uid=123456789012345678901`. If the group is recovered, this value reverts to `group:{emailid}` and the recovered group retains the role in the binding. * `deleted:principal://iam.googleapis.com/locations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}`: Deleted single identity in a workforce identity pool. For example, `deleted:principal://iam.googleapis.com/locations/global/workforcePools/my-pool-id/subject/my-subject-attribute-value`.", +"items": { +"type": "string" +}, +"type": "array" +}, +"role": { +"description": "Role that is assigned to the list of `members`, or principals. For example, `roles/viewer`, `roles/editor`, or `roles/owner`. For an overview of the IAM roles and permissions, see the [IAM documentation](https://cloud.google.com/iam/docs/roles-overview). For a list of the available pre-defined roles, see [here](https://cloud.google.com/iam/docs/understanding-roles).", +"type": "string" +} +}, +"type": "object" +}, +"Boundary": { +"description": "Application management boundary.", +"id": "Boundary", +"properties": { +"createTime": { +"description": "Output only. Create time.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"crmNode": { +"description": "Optional. The resource name of the CRM node being attached to the boundary. Format: `projects/{project-number}` or `projects/{project-id}`", +"type": "string" +}, +"name": { +"description": "Identifier. The resource name of the boundary. Format: \"projects/{project}/locations/{location}/boundary\"", +"type": "string" +}, +"type": { +"description": "Output only. Boundary type.", +"enum": [ +"TYPE_UNSPECIFIED", +"AUTOMATIC", +"MANUAL", +"MANAGED_AUTOMATIC" +], +"enumDescriptions": [ +"Unspecified type.", +"The Boundary automatically includes all descendants of the CRM node.", +"The list of projects within the Boundary is managed by the user.", +"The Boundary automatically includes all descendants of the CRM node, which is set via App Management folder capability." +], +"readOnly": true, +"type": "string" +}, +"updateTime": { +"description": "Output only. Update time.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"CancelOperationRequest": { +"description": "The request message for Operations.CancelOperation.", +"id": "CancelOperationRequest", +"properties": {}, +"type": "object" +}, +"ContactInfo": { +"description": "Contact information of stakeholders.", +"id": "ContactInfo", +"properties": { +"displayName": { +"description": "Optional. Contact's name. Can have a maximum length of 63 characters.", +"type": "string" +}, +"email": { +"description": "Required. Email address of the contacts.", +"type": "string" +} +}, +"type": "object" +}, +"Criticality": { +"description": "Criticality of the Application, Service, or Workload", +"id": "Criticality", +"properties": { +"type": { +"description": "Required. Criticality Type.", +"enum": [ +"TYPE_UNSPECIFIED", +"MISSION_CRITICAL", +"HIGH", +"MEDIUM", +"LOW" +], +"enumDescriptions": [ +"Unspecified type.", +"Mission critical service, application or workload.", +"High impact.", +"Medium impact.", +"Low impact." +], +"type": "string" +} +}, +"type": "object" +}, +"DetachServiceProjectAttachmentRequest": { +"description": "Request for DetachServiceProjectAttachment.", +"id": "DetachServiceProjectAttachmentRequest", +"properties": {}, +"type": "object" +}, +"DetachServiceProjectAttachmentResponse": { +"description": "Response for DetachServiceProjectAttachment.", +"id": "DetachServiceProjectAttachmentResponse", +"properties": {}, +"type": "object" +}, +"DiscoveredService": { +"description": "DiscoveredService is a network or API interface that exposes some functionality to clients for consumption over the network. A discovered service can be registered to a App Hub service.", +"id": "DiscoveredService", +"properties": { +"name": { +"description": "Identifier. The resource name of the discovered service. Format: `\"projects/{host-project-id}/locations/{location}/discoveredServices/{uuid}\"`", +"type": "string" +}, +"serviceProperties": { +"$ref": "ServiceProperties", +"description": "Output only. Properties of an underlying compute resource that can comprise a Service. These are immutable.", +"readOnly": true +}, +"serviceReference": { +"$ref": "ServiceReference", +"description": "Output only. Reference to an underlying networking resource that can comprise a Service. These are immutable.", +"readOnly": true +} +}, +"type": "object" +}, +"DiscoveredWorkload": { +"description": "DiscoveredWorkload is a binary deployment (such as managed instance groups (MIGs) and GKE deployments) that performs the smallest logical subset of business functionality. A discovered workload can be registered to an App Hub Workload.", +"id": "DiscoveredWorkload", +"properties": { +"name": { +"description": "Identifier. The resource name of the discovered workload. Format: `\"projects/{host-project-id}/locations/{location}/discoveredWorkloads/{uuid}\"`", +"type": "string" +}, +"workloadProperties": { +"$ref": "WorkloadProperties", +"description": "Output only. Properties of an underlying compute resource represented by the Workload. These are immutable.", +"readOnly": true +}, +"workloadReference": { +"$ref": "WorkloadReference", +"description": "Output only. Reference of an underlying compute resource represented by the Workload. These are immutable.", +"readOnly": true +} +}, +"type": "object" +}, +"Empty": { +"description": "A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }", +"id": "Empty", +"properties": {}, +"type": "object" +}, +"Environment": { +"description": "Environment of the Application, Service, or Workload", +"id": "Environment", +"properties": { +"type": { +"description": "Required. Environment Type.", +"enum": [ +"TYPE_UNSPECIFIED", +"PRODUCTION", +"STAGING", +"TEST", +"DEVELOPMENT" +], +"enumDescriptions": [ +"Unspecified type.", +"Production environment.", +"Staging environment.", +"Test environment.", +"Development environment." +], +"type": "string" +} +}, +"type": "object" +}, +"Expr": { +"description": "Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: \"Summary size limit\" description: \"Determines if a summary is less than 100 chars\" expression: \"document.summary.size() < 100\" Example (Equality): title: \"Requestor is owner\" description: \"Determines if requestor is the document owner\" expression: \"document.owner == request.auth.claims.email\" Example (Logic): title: \"Public documents\" description: \"Determine whether the document should be publicly visible\" expression: \"document.type != 'private' && document.type != 'internal'\" Example (Data Manipulation): title: \"Notification string\" description: \"Create a notification string with a timestamp.\" expression: \"'New message received at ' + string(document.create_time)\" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information.", +"id": "Expr", +"properties": { +"description": { +"description": "Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI.", +"type": "string" +}, +"expression": { +"description": "Textual representation of an expression in Common Expression Language syntax.", +"type": "string" +}, +"location": { +"description": "Optional. String indicating the location of the expression for error reporting, e.g. a file name and a position in the file.", +"type": "string" +}, +"title": { +"description": "Optional. Title for the expression, i.e. a short string describing its purpose. This can be used e.g. in UIs which allow to enter the expression.", +"type": "string" +} +}, +"type": "object" +}, +"ExtendedMetadata": { +"description": "Additional metadata for a Service or Workload.", +"id": "ExtendedMetadata", +"properties": { +"metadataStruct": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"description": "Output only. The metadata contents.", +"readOnly": true, +"type": "object" +} +}, +"type": "object" +}, +"ExtendedMetadataSchema": { +"description": "ExtendedMetadataSchema represents a schema for extended metadata of a service or workload.", +"id": "ExtendedMetadataSchema", +"properties": { +"jsonSchema": { +"description": "Output only. The JSON schema as a string.", +"readOnly": true, +"type": "string" +}, +"name": { +"description": "Identifier. Resource name of the schema. Format: projects//locations//extendedMetadataSchemas/", +"type": "string" +}, +"schemaVersion": { +"description": "Output only. The version of the schema. New versions are required to be backwards compatible.", +"format": "int64", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"FunctionalType": { +"description": "The functional type of a service or workload.", +"id": "FunctionalType", +"properties": { +"type": { +"description": "Output only. The functional type of a service or workload.", +"enum": [ +"TYPE_UNSPECIFIED", +"AGENT", +"MCP_SERVER" +], +"enumDescriptions": [ +"Unspecified type.", +"Agent type.", +"MCP Server type." +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"Identity": { +"description": "The identity associated with a service or workload.", +"id": "Identity", +"properties": { +"principal": { +"description": "Output only. The principal of the identity. Supported formats: * `sa://my-sa@PROJECT_ID.iam.gserviceaccount.com` for GCP Service Account * `principal://POOL_ID.global.PROJECT_NUMBER.workload.id.goog/ns/NAMESPACE_ID/sa/MANAGED_IDENTITY_ID` for Managed Workload Identity", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"ListApplicationsResponse": { +"description": "Response for ListApplications.", +"id": "ListApplicationsResponse", +"properties": { +"applications": { +"description": "List of Applications.", +"items": { +"$ref": "Application" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A token identifying a page of results the server should return.", +"type": "string" +}, +"unreachable": { +"description": "Locations that could not be reached.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListDiscoveredServicesResponse": { +"description": "Response for ListDiscoveredServices.", +"id": "ListDiscoveredServicesResponse", +"properties": { +"discoveredServices": { +"description": "List of Discovered Services.", +"items": { +"$ref": "DiscoveredService" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A token identifying a page of results the server should return.", +"type": "string" +}, +"unreachable": { +"description": "Locations that could not be reached.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListDiscoveredWorkloadsResponse": { +"description": "Response for ListDiscoveredWorkloads.", +"id": "ListDiscoveredWorkloadsResponse", +"properties": { +"discoveredWorkloads": { +"description": "List of Discovered Workloads.", +"items": { +"$ref": "DiscoveredWorkload" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A token identifying a page of results the server should return.", +"type": "string" +}, +"unreachable": { +"description": "Locations that could not be reached.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListExtendedMetadataSchemasResponse": { +"description": "Response for ListExtendedMetadataSchemas.", +"id": "ListExtendedMetadataSchemasResponse", +"properties": { +"extendedMetadataSchemas": { +"description": "List of Extended Metadata Schemas.", +"items": { +"$ref": "ExtendedMetadataSchema" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A token identifying a page of results the server should return.", +"type": "string" +} +}, +"type": "object" +}, +"ListLocationsResponse": { +"description": "The response message for Locations.ListLocations.", +"id": "ListLocationsResponse", +"properties": { +"locations": { +"description": "A list of locations that matches the specified filter in the request.", +"items": { +"$ref": "Location" +}, +"type": "array" +}, +"nextPageToken": { +"description": "The standard List next-page token.", +"type": "string" +} +}, +"type": "object" +}, +"ListOperationsResponse": { +"description": "The response message for Operations.ListOperations.", +"id": "ListOperationsResponse", +"properties": { +"nextPageToken": { +"description": "The standard List next-page token.", +"type": "string" +}, +"operations": { +"description": "A list of operations that matches the specified filter in the request.", +"items": { +"$ref": "Operation" +}, +"type": "array" +}, +"unreachable": { +"description": "Unordered list. Unreachable resources. Populated when the request sets `ListOperationsRequest.return_partial_success` and reads across collections. For example, when attempting to list all resources across all supported locations.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListServiceProjectAttachmentsResponse": { +"description": "Response for ListServiceProjectAttachments.", +"id": "ListServiceProjectAttachmentsResponse", +"properties": { +"nextPageToken": { +"description": "A token identifying a page of results the server should return.", +"type": "string" +}, +"serviceProjectAttachments": { +"description": "List of service project attachments.", +"items": { +"$ref": "ServiceProjectAttachment" +}, +"type": "array" +}, +"unreachable": { +"description": "Locations that could not be reached.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListServicesResponse": { +"description": "Response for ListServices.", +"id": "ListServicesResponse", +"properties": { +"nextPageToken": { +"description": "A token identifying a page of results the server should return.", +"type": "string" +}, +"services": { +"description": "List of Services.", +"items": { +"$ref": "Service" +}, +"type": "array" +}, +"unreachable": { +"description": "Locations that could not be reached.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListWorkloadsResponse": { +"description": "Response for ListWorkloads.", +"id": "ListWorkloadsResponse", +"properties": { +"nextPageToken": { +"description": "A token identifying a page of results the server should return.", +"type": "string" +}, +"unreachable": { +"description": "Locations that could not be reached.", +"items": { +"type": "string" +}, +"type": "array" +}, +"workloads": { +"description": "List of Workloads.", +"items": { +"$ref": "Workload" +}, +"type": "array" +} +}, +"type": "object" +}, +"Location": { +"description": "A resource that represents a Google Cloud location.", +"id": "Location", +"properties": { +"displayName": { +"description": "The friendly name for this location, typically a nearby city name. For example, \"Tokyo\".", +"type": "string" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Cross-service attributes for the location. For example {\"cloud.googleapis.com/region\": \"us-east1\"}", +"type": "object" +}, +"locationId": { +"description": "The canonical id for this location. For example: `\"us-east1\"`.", +"type": "string" +}, +"metadata": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "Service-specific metadata. For example the available capacity at the given location.", +"type": "object" +}, +"name": { +"description": "Resource name for the location, which may vary between implementations. For example: `\"projects/example-project/locations/us-east1\"`", +"type": "string" +} +}, +"type": "object" +}, +"LookupDiscoveredServiceResponse": { +"description": "Response for LookupDiscoveredService.", +"id": "LookupDiscoveredServiceResponse", +"properties": { +"discoveredService": { +"$ref": "DiscoveredService", +"description": "Discovered Service if exists, empty otherwise." +} +}, +"type": "object" +}, +"LookupDiscoveredWorkloadResponse": { +"description": "Response for LookupDiscoveredWorkload.", +"id": "LookupDiscoveredWorkloadResponse", +"properties": { +"discoveredWorkload": { +"$ref": "DiscoveredWorkload", +"description": "Discovered Workload if exists, empty otherwise." +} +}, +"type": "object" +}, +"LookupServiceProjectAttachmentResponse": { +"description": "Response for LookupServiceProjectAttachment.", +"id": "LookupServiceProjectAttachmentResponse", +"properties": { +"serviceProjectAttachment": { +"$ref": "ServiceProjectAttachment", +"description": "Service project attachment for a project if exists, empty otherwise." +} +}, +"type": "object" +}, +"Operation": { +"description": "This resource represents a long-running operation that is the result of a network API call.", +"id": "Operation", +"properties": { +"done": { +"description": "If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.", +"type": "boolean" +}, +"error": { +"$ref": "Status", +"description": "The error result of the operation in case of failure or cancellation." +}, +"metadata": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.", +"type": "object" +}, +"name": { +"description": "The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.", +"type": "string" +}, +"response": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "The normal, successful response of the operation. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.", +"type": "object" +} +}, +"type": "object" +}, +"OperationMetadata": { +"description": "Represents the metadata of the long-running operation.", +"id": "OperationMetadata", +"properties": { +"apiVersion": { +"description": "Output only. API version used to start the operation.", +"readOnly": true, +"type": "string" +}, +"createTime": { +"description": "Output only. The time the operation was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"endTime": { +"description": "Output only. The time the operation finished running.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"requestedCancellation": { +"description": "Output only. Identifies whether the user has requested cancellation of the operation. Operations that have been cancelled successfully have google.longrunning.Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.", +"readOnly": true, +"type": "boolean" +}, +"statusMessage": { +"description": "Output only. Human-readable status of the operation, if any.", +"readOnly": true, +"type": "string" +}, +"target": { +"description": "Output only. Server-defined resource path for the target of the operation.", +"readOnly": true, +"type": "string" +}, +"verb": { +"description": "Output only. Name of the verb executed by the operation.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"Policy": { +"description": "An Identity and Access Management (IAM) policy, which specifies access controls for Google Cloud resources. A `Policy` is a collection of `bindings`. A `binding` binds one or more `members`, or principals, to a single `role`. Principals can be user accounts, service accounts, Google groups, and domains (such as G Suite). A `role` is a named list of permissions; each `role` can be an IAM predefined role or a user-created custom role. For some types of Google Cloud resources, a `binding` can also specify a `condition`, which is a logical expression that allows access to a resource only if the expression evaluates to `true`. A condition can add constraints based on attributes of the request, the resource, or both. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). **JSON example:** ``` { \"bindings\": [ { \"role\": \"roles/resourcemanager.organizationAdmin\", \"members\": [ \"user:mike@example.com\", \"group:admins@example.com\", \"domain:google.com\", \"serviceAccount:my-project-id@appspot.gserviceaccount.com\" ] }, { \"role\": \"roles/resourcemanager.organizationViewer\", \"members\": [ \"user:eve@example.com\" ], \"condition\": { \"title\": \"expirable access\", \"description\": \"Does not grant access after Sep 2020\", \"expression\": \"request.time < timestamp('2020-10-01T00:00:00.000Z')\", } } ], \"etag\": \"BwWWja0YfJA=\", \"version\": 3 } ``` **YAML example:** ``` bindings: - members: - user:mike@example.com - group:admins@example.com - domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.com role: roles/resourcemanager.organizationViewer condition: title: expirable access description: Does not grant access after Sep 2020 expression: request.time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 ``` For a description of IAM and its features, see the [IAM documentation](https://cloud.google.com/iam/docs/).", +"id": "Policy", +"properties": { +"auditConfigs": { +"description": "Specifies cloud audit logging configuration for this policy.", +"items": { +"$ref": "AuditConfig" +}, +"type": "array" +}, +"bindings": { +"description": "Associates a list of `members`, or principals, with a `role`. Optionally, may specify a `condition` that determines how and when the `bindings` are applied. Each of the `bindings` must contain at least one principal. The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250 of these principals can be Google groups. Each occurrence of a principal counts towards these limits. For example, if the `bindings` grant 50 different roles to `user:alice@example.com`, and not to any other principal, then you can add another 1,450 principals to the `bindings` in the `Policy`.", +"items": { +"$ref": "Binding" +}, +"type": "array" +}, +"etag": { +"description": "`etag` is used for optimistic concurrency control as a way to help prevent simultaneous updates of a policy from overwriting each other. It is strongly suggested that systems make use of the `etag` in the read-modify-write cycle to perform policy updates in order to avoid race conditions: An `etag` is returned in the response to `getIamPolicy`, and systems are expected to put that etag in the request to `setIamPolicy` to ensure that their change will be applied to the same version of the policy. **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost.", +"format": "byte", +"type": "string" +}, +"version": { +"description": "Specifies the format of the policy. Valid values are `0`, `1`, and `3`. Requests that specify an invalid value are rejected. Any operation that affects conditional role bindings must specify version `3`. This requirement applies to the following operations: * Getting a policy that includes a conditional role binding * Adding a conditional role binding to a policy * Changing a conditional role binding in a policy * Removing any role binding, with or without a condition, from a policy that includes conditions **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost. If a policy does not include any conditions, operations on that policy may specify any valid version or leave the field unset. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"ReconciliationOperationMetadata": { +"description": "Operation metadata returned by the CLH during resource state reconciliation.", +"id": "ReconciliationOperationMetadata", +"properties": { +"deleteResource": { +"deprecated": true, +"description": "DEPRECATED. Use exclusive_action instead.", +"type": "boolean" +}, +"exclusiveAction": { +"description": "Excluisive action returned by the CLH.", +"enum": [ +"UNKNOWN_REPAIR_ACTION", +"DELETE", +"RETRY" +], +"enumDeprecated": [ +false, +true, +false +], +"enumDescriptions": [ +"Unknown repair action.", +"The resource has to be deleted. When using this bit, the CLH should fail the operation. DEPRECATED. Instead use DELETE_RESOURCE OperationSignal in SideChannel.", +"This resource could not be repaired but the repair should be tried again at a later time. This can happen if there is a dependency that needs to be resolved first- e.g. if a parent resource must be repaired before a child resource." +], +"type": "string" +} +}, +"type": "object" +}, +"RegistrationType": { +"description": "The registration type of a service.", +"id": "RegistrationType", +"properties": { +"type": { +"description": "Output only. The registration type of a service.", +"enum": [ +"TYPE_UNSPECIFIED", +"EXCLUSIVE", +"SHARED" +], +"enumDescriptions": [ +"Unspecified registration type. Defaults to EXCLUSIVE.", +"The service can only be registered to one application.", +"The service can be registered to multiple applications." +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"Scope": { +"description": "Scope of an application.", +"id": "Scope", +"properties": { +"type": { +"description": "Required. Scope Type.", +"enum": [ +"TYPE_UNSPECIFIED", +"REGIONAL", +"GLOBAL" +], +"enumDescriptions": [ +"Unspecified type.", +"Regional type.", +"Global type." +], +"type": "string" +} +}, +"type": "object" +}, +"Service": { +"description": "Service is an App Hub data model that contains a discovered service, which represents a network or API interface that exposes some functionality to clients for consumption over the network.", +"id": "Service", +"properties": { +"attributes": { +"$ref": "Attributes", +"description": "Optional. Consumer provided attributes." +}, +"createTime": { +"description": "Output only. Create time.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"description": { +"description": "Optional. User-defined description of a Service. Can have a maximum length of 2048 characters.", +"type": "string" +}, +"discoveredService": { +"description": "Required. Immutable. The resource name of the original discovered service.", +"type": "string" +}, +"displayName": { +"description": "Optional. User-defined name for the Service. Can have a maximum length of 63 characters.", +"type": "string" +}, +"name": { +"description": "Identifier. The resource name of a Service. Format: `\"projects/{host-project-id}/locations/{location}/applications/{application-id}/services/{service-id}\"`", +"type": "string" +}, +"serviceProperties": { +"$ref": "ServiceProperties", +"description": "Output only. Properties of an underlying compute resource that can comprise a Service. These are immutable.", +"readOnly": true +}, +"serviceReference": { +"$ref": "ServiceReference", +"description": "Output only. Reference to an underlying networking resource that can comprise a Service. These are immutable.", +"readOnly": true +}, +"state": { +"description": "Output only. Service state.", +"enum": [ +"STATE_UNSPECIFIED", +"CREATING", +"ACTIVE", +"DELETING", +"DETACHED" +], +"enumDescriptions": [ +"Unspecified state.", +"The service is being created.", +"The service is ready.", +"The service is being deleted.", +"The underlying networking resources have been deleted." +], +"readOnly": true, +"type": "string" +}, +"uid": { +"description": "Output only. A universally unique identifier (UUID) for the `Service` in the UUID4 format.", +"readOnly": true, +"type": "string" +}, +"updateTime": { +"description": "Output only. Update time.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"ServiceProjectAttachment": { +"description": "ServiceProjectAttachment represents an attachment from a service project to a host project. Service projects contain the underlying cloud infrastructure resources, and expose these resources to the host project through a ServiceProjectAttachment. With the attachments, the host project can provide an aggregated view of resources across all service projects.", +"id": "ServiceProjectAttachment", +"properties": { +"createTime": { +"description": "Output only. Create time.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"name": { +"description": "Identifier. The resource name of a ServiceProjectAttachment. Format: `\"projects/{host-project-id}/locations/global/serviceProjectAttachments/{service-project-id}.\"`", +"type": "string" +}, +"serviceProject": { +"description": "Required. Immutable. Service project name in the format: `\"projects/abc\"` or `\"projects/123\"`. As input, project name with either project id or number are accepted. As output, this field will contain project number.", +"type": "string" +}, +"state": { +"description": "Output only. ServiceProjectAttachment state.", +"enum": [ +"STATE_UNSPECIFIED", +"CREATING", +"ACTIVE", +"DELETING" +], +"enumDescriptions": [ +"Unspecified state.", +"The ServiceProjectAttachment is being created.", +"The ServiceProjectAttachment is ready. This means Services and Workloads under the corresponding ServiceProjectAttachment is ready for registration.", +"The ServiceProjectAttachment is being deleted." +], +"readOnly": true, +"type": "string" +}, +"uid": { +"description": "Output only. A globally unique identifier (in UUID4 format) for the `ServiceProjectAttachment`.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"ServiceProperties": { +"description": "Properties of an underlying cloud resource that can comprise a Service.", +"id": "ServiceProperties", +"properties": { +"extendedMetadata": { +"additionalProperties": { +"$ref": "ExtendedMetadata" +}, +"description": "Output only. Additional metadata specific to the resource type. The key is a string that identifies the type of metadata and the value is the metadata contents specific to that type. Key format: `apphub.googleapis.com/{metadataType}`", +"readOnly": true, +"type": "object" +}, +"functionalType": { +"$ref": "FunctionalType", +"description": "Output only. The type of the service.", +"readOnly": true +}, +"gcpProject": { +"description": "Output only. The service project identifier that the underlying cloud resource resides in.", +"readOnly": true, +"type": "string" +}, +"identity": { +"$ref": "Identity", +"description": "Output only. The identity associated with the service.", +"readOnly": true +}, +"location": { +"description": "Output only. The location that the underlying resource resides in, for example, us-west1.", +"readOnly": true, +"type": "string" +}, +"registrationType": { +"$ref": "RegistrationType", +"description": "Output only. The registration type of the service.", +"readOnly": true +}, +"zone": { +"description": "Output only. The location that the underlying resource resides in if it is zonal, for example, us-west1-a).", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"ServiceReference": { +"description": "Reference to an underlying networking resource that can comprise a Service.", +"id": "ServiceReference", +"properties": { +"uri": { +"description": "Output only. The underlying resource URI. For example, URI of Forwarding Rule, URL Map, and Backend Service.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"SetIamPolicyRequest": { +"description": "Request message for `SetIamPolicy` method.", +"id": "SetIamPolicyRequest", +"properties": { +"policy": { +"$ref": "Policy", +"description": "REQUIRED: The complete policy to be applied to the `resource`. The size of the policy is limited to a few 10s of KB. An empty policy is a valid policy but certain Google Cloud services (such as Projects) might reject them." +}, +"updateMask": { +"description": "OPTIONAL: A FieldMask specifying which fields of the policy to modify. Only the fields in the mask will be modified. If no mask is provided, the following default mask is used: `paths: \"bindings, etag\"`", +"format": "google-fieldmask", +"type": "string" +} +}, +"type": "object" +}, +"Status": { +"description": "The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors).", +"id": "Status", +"properties": { +"code": { +"description": "The status code, which should be an enum value of google.rpc.Code.", +"format": "int32", +"type": "integer" +}, +"details": { +"description": "A list of messages that carry the error details. There is a common set of message types for APIs to use.", +"items": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.", +"type": "string" +} +}, +"type": "object" +}, +"TestIamPermissionsRequest": { +"description": "Request message for `TestIamPermissions` method.", +"id": "TestIamPermissionsRequest", +"properties": { +"permissions": { +"description": "The set of permissions to check for the `resource`. Permissions with wildcards (such as `*` or `storage.*`) are not allowed. For more information see [IAM Overview](https://cloud.google.com/iam/docs/overview#permissions).", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"TestIamPermissionsResponse": { +"description": "Response message for `TestIamPermissions` method.", +"id": "TestIamPermissionsResponse", +"properties": { +"permissions": { +"description": "A subset of `TestPermissionsRequest.permissions` that the caller is allowed.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"Workload": { +"description": "Workload is an App Hub data model that contains a discovered workload, which represents a binary deployment (such as managed instance groups (MIGs) and GKE deployments) that performs the smallest logical subset of business functionality.", +"id": "Workload", +"properties": { +"attributes": { +"$ref": "Attributes", +"description": "Optional. Consumer provided attributes." +}, +"createTime": { +"description": "Output only. Create time.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"description": { +"description": "Optional. User-defined description of a Workload. Can have a maximum length of 2048 characters.", +"type": "string" +}, +"discoveredWorkload": { +"description": "Required. Immutable. The resource name of the original discovered workload.", +"type": "string" +}, +"displayName": { +"description": "Optional. User-defined name for the Workload. Can have a maximum length of 63 characters.", +"type": "string" +}, +"name": { +"description": "Identifier. The resource name of the Workload. Format: `\"projects/{host-project-id}/locations/{location}/applications/{application-id}/workloads/{workload-id}\"`", +"type": "string" +}, +"state": { +"description": "Output only. Workload state.", +"enum": [ +"STATE_UNSPECIFIED", +"CREATING", +"ACTIVE", +"DELETING", +"DETACHED" +], +"enumDescriptions": [ +"Unspecified state.", +"The Workload is being created.", +"The Workload is ready.", +"The Workload is being deleted.", +"The underlying compute resources have been deleted." +], +"readOnly": true, +"type": "string" +}, +"uid": { +"description": "Output only. A universally unique identifier (UUID) for the `Workload` in the UUID4 format.", +"readOnly": true, +"type": "string" +}, +"updateTime": { +"description": "Output only. Update time.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"workloadProperties": { +"$ref": "WorkloadProperties", +"description": "Output only. Properties of an underlying compute resource represented by the Workload. These are immutable.", +"readOnly": true +}, +"workloadReference": { +"$ref": "WorkloadReference", +"description": "Output only. Reference of an underlying compute resource represented by the Workload. These are immutable.", +"readOnly": true +} +}, +"type": "object" +}, +"WorkloadProperties": { +"description": "Properties of an underlying compute resource represented by the Workload.", +"id": "WorkloadProperties", +"properties": { +"extendedMetadata": { +"additionalProperties": { +"$ref": "ExtendedMetadata" +}, +"description": "Output only. Additional metadata specific to the resource type. The key is a string that identifies the type of metadata and the value is the metadata contents specific to that type. Key format: `apphub.googleapis.com/{metadataType}`", +"readOnly": true, +"type": "object" +}, +"functionalType": { +"$ref": "FunctionalType", +"description": "Output only. The type of the workload.", +"readOnly": true +}, +"gcpProject": { +"description": "Output only. The service project identifier that the underlying cloud resource resides in. Empty for non-cloud resources.", +"readOnly": true, +"type": "string" +}, +"identity": { +"$ref": "Identity", +"description": "Output only. The identity associated with the workload.", +"readOnly": true +}, +"location": { +"description": "Output only. The location that the underlying compute resource resides in (for example, us-west1).", +"readOnly": true, +"type": "string" +}, +"zone": { +"description": "Output only. The location that the underlying compute resource resides in if it is zonal (for example, us-west1-a).", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"WorkloadReference": { +"description": "Reference of an underlying compute resource represented by the Workload.", +"id": "WorkloadReference", +"properties": { +"uri": { +"description": "Output only. The underlying compute resource uri.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +} +}, +"servicePath": "", +"title": "App Hub API", +"version": "v1", +"version_module": true +} \ No newline at end of file diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/apphub.v1alpha.json b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/apphub.v1alpha.json new file mode 100644 index 0000000000000000000000000000000000000000..3921280362e8af44acac03ba9e50f778bb4f533f --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/apphub.v1alpha.json @@ -0,0 +1,2911 @@ +{ +"auth": { +"oauth2": { +"scopes": { +"https://www.googleapis.com/auth/cloud-platform": { +"description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." +} +} +} +}, +"basePath": "", +"baseUrl": "https://apphub.googleapis.com/", +"batchPath": "batch", +"canonicalName": "App Hub", +"description": "App Hub lets you build, operate, and manage applications on Google Cloud.", +"discoveryVersion": "v1", +"documentationLink": "https://cloud.google.com/app-hub/docs/", +"fullyEncodeReservedExpansion": true, +"icons": { +"x16": "http://www.google.com/images/icons/product/search-16.gif", +"x32": "http://www.google.com/images/icons/product/search-32.gif" +}, +"id": "apphub:v1alpha", +"kind": "discovery#restDescription", +"mtlsRootUrl": "https://apphub.mtls.googleapis.com/", +"name": "apphub", +"ownerDomain": "google.com", +"ownerName": "Google", +"parameters": { +"$.xgafv": { +"description": "V1 error format.", +"enum": [ +"1", +"2" +], +"enumDescriptions": [ +"v1 error format", +"v2 error format" +], +"location": "query", +"type": "string" +}, +"access_token": { +"description": "OAuth access token.", +"location": "query", +"type": "string" +}, +"alt": { +"default": "json", +"description": "Data format for response.", +"enum": [ +"json", +"media", +"proto" +], +"enumDescriptions": [ +"Responses with Content-Type of application/json", +"Media download with context-dependent Content-Type", +"Responses with Content-Type of application/x-protobuf" +], +"location": "query", +"type": "string" +}, +"callback": { +"description": "JSONP", +"location": "query", +"type": "string" +}, +"fields": { +"description": "Selector specifying which fields to include in a partial response.", +"location": "query", +"type": "string" +}, +"key": { +"description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", +"location": "query", +"type": "string" +}, +"oauth_token": { +"description": "OAuth 2.0 token for the current user.", +"location": "query", +"type": "string" +}, +"prettyPrint": { +"default": "true", +"description": "Returns response with indentations and line breaks.", +"location": "query", +"type": "boolean" +}, +"quotaUser": { +"description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.", +"location": "query", +"type": "string" +}, +"uploadType": { +"description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", +"location": "query", +"type": "string" +}, +"upload_protocol": { +"description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", +"location": "query", +"type": "string" +} +}, +"protocol": "rest", +"resources": { +"projects": { +"resources": { +"locations": { +"methods": { +"detachServiceProjectAttachment": { +"description": "Detaches a service project from a host project. You can call this API from any service project without needing access to the host project that it is attached to.", +"flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}:detachServiceProjectAttachment", +"httpMethod": "POST", +"id": "apphub.projects.locations.detachServiceProjectAttachment", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Service project id and location to detach from a host project. Only global location is supported. Expected format: `projects/{project}/locations/{location}`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha/{+name}:detachServiceProjectAttachment", +"request": { +"$ref": "DetachServiceProjectAttachmentRequest" +}, +"response": { +"$ref": "DetachServiceProjectAttachmentResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets information about a location.", +"flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}", +"httpMethod": "GET", +"id": "apphub.projects.locations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Resource name for the location.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha/{+name}", +"response": { +"$ref": "Location" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"getBoundary": { +"description": "Gets a Boundary.", +"flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/boundary", +"httpMethod": "GET", +"id": "apphub.projects.locations.getBoundary", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the boundary to retrieve. Format: `projects/{project}/locations/{location}/boundary`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/boundary$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha/{+name}", +"response": { +"$ref": "Boundary" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists information about the supported locations for this service. This method can be called in two ways: * **List all public locations:** Use the path `GET /v1/locations`. * **List project-visible locations:** Use the path `GET /v1/projects/{project_id}/locations`. This may include public locations as well as private or other locations specifically visible to the project.", +"flatPath": "v1alpha/projects/{projectsId}/locations", +"httpMethod": "GET", +"id": "apphub.projects.locations.list", +"parameterOrder": [ +"name" +], +"parameters": { +"extraLocationTypes": { +"description": "Optional. Do not use this field. It is unsupported and is ignored unless explicitly documented otherwise. This is primarily for internal usage.", +"location": "query", +"repeated": true, +"type": "string" +}, +"filter": { +"description": "A filter to narrow down results to a preferred subset. The filtering language accepts strings like `\"displayName=tokyo\"`, and is documented in more detail in [AIP-160](https://google.aip.dev/160).", +"location": "query", +"type": "string" +}, +"name": { +"description": "The resource that owns the locations collection, if applicable.", +"location": "path", +"pattern": "^projects/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The maximum number of results to return. If not set, the service selects a default.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A page token received from the `next_page_token` field in the response. Send that page token to receive the subsequent page.", +"location": "query", +"type": "string" +} +}, +"path": "v1alpha/{+name}/locations", +"response": { +"$ref": "ListLocationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"lookupServiceProjectAttachment": { +"description": "Lists a service project attachment for a given service project. You can call this API from any project to find if it is attached to a host project.", +"flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}:lookupServiceProjectAttachment", +"httpMethod": "GET", +"id": "apphub.projects.locations.lookupServiceProjectAttachment", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Service project ID and location to lookup service project attachment for. Only global location is supported. Expected format: `projects/{project}/locations/{location}`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha/{+name}:lookupServiceProjectAttachment", +"response": { +"$ref": "LookupServiceProjectAttachmentResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"updateBoundary": { +"description": "Updates a Boundary.", +"flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/boundary", +"httpMethod": "PATCH", +"id": "apphub.projects.locations.updateBoundary", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Identifier. The resource name of the boundary. Format: \"projects/{project}/locations/{location}/boundary\"", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/boundary$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"updateMask": { +"description": "Required. Field mask is used to specify the fields to be overwritten in the Boundary resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1alpha/{+name}", +"request": { +"$ref": "Boundary" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"applications": { +"methods": { +"create": { +"description": "Creates an Application in a host project and location.", +"flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/applications", +"httpMethod": "POST", +"id": "apphub.projects.locations.applications.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"applicationId": { +"description": "Required. The Application identifier. Must contain only lowercase letters, numbers or hyphens, with the first character a letter, the last a letter or a number, and a 63 character maximum.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. Project and location to create Application in. Expected format: `projects/{project}/locations/{location}`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "v1alpha/{+parent}/applications", +"request": { +"$ref": "Application" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes an Application in a host project and location.", +"flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/applications/{applicationsId}", +"httpMethod": "DELETE", +"id": "apphub.projects.locations.applications.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Fully qualified name of the Application to delete. Expected format: `projects/{project}/locations/{location}/applications/{application}`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/applications/[^/]+$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes after the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "v1alpha/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets an Application in a host project and location.", +"flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/applications/{applicationsId}", +"httpMethod": "GET", +"id": "apphub.projects.locations.applications.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Fully qualified name of the Application to fetch. Expected format: `projects/{project}/locations/{location}/applications/{application}`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/applications/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha/{+name}", +"response": { +"$ref": "Application" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"getIamPolicy": { +"description": "Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.", +"flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/applications/{applicationsId}:getIamPolicy", +"httpMethod": "GET", +"id": "apphub.projects.locations.applications.getIamPolicy", +"parameterOrder": [ +"resource" +], +"parameters": { +"options.requestedPolicyVersion": { +"description": "Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).", +"format": "int32", +"location": "query", +"type": "integer" +}, +"resource": { +"description": "REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/applications/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha/{+resource}:getIamPolicy", +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists Applications in a host project and location.", +"flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/applications", +"httpMethod": "GET", +"id": "apphub.projects.locations.applications.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Optional. Filtering results.", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "Optional. Hint for how to order the results.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Optional. Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. A token identifying a page of results the server should return.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. Project and location to list Applications on. Expected format: `projects/{project}/locations/{location}`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha/{+parent}/applications", +"response": { +"$ref": "ListApplicationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates an Application in a host project and location.", +"flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/applications/{applicationsId}", +"httpMethod": "PATCH", +"id": "apphub.projects.locations.applications.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Identifier. The resource name of an Application. Format: `\"projects/{host-project-id}/locations/{location}/applications/{application-id}\"`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/applications/[^/]+$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"updateMask": { +"description": "Required. Field mask is used to specify the fields to be overwritten in the Application resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. The API changes the values of the fields as specified in the update_mask. The API ignores the values of all fields not covered by the update_mask. You can also unset a field by not specifying it in the updated message, but adding the field to the mask. This clears whatever value the field previously had.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1alpha/{+name}", +"request": { +"$ref": "Application" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"setIamPolicy": { +"description": "Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.", +"flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/applications/{applicationsId}:setIamPolicy", +"httpMethod": "POST", +"id": "apphub.projects.locations.applications.setIamPolicy", +"parameterOrder": [ +"resource" +], +"parameters": { +"resource": { +"description": "REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/applications/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha/{+resource}:setIamPolicy", +"request": { +"$ref": "SetIamPolicyRequest" +}, +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"testIamPermissions": { +"description": "Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may \"fail open\" without warning.", +"flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/applications/{applicationsId}:testIamPermissions", +"httpMethod": "POST", +"id": "apphub.projects.locations.applications.testIamPermissions", +"parameterOrder": [ +"resource" +], +"parameters": { +"resource": { +"description": "REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/applications/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha/{+resource}:testIamPermissions", +"request": { +"$ref": "TestIamPermissionsRequest" +}, +"response": { +"$ref": "TestIamPermissionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"services": { +"methods": { +"create": { +"description": "Creates a Service in an Application.", +"flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/applications/{applicationsId}/services", +"httpMethod": "POST", +"id": "apphub.projects.locations.applications.services.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. Fully qualified name of the parent Application to create the Service in. Expected format: `projects/{project}/locations/{location}/applications/{application}`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/applications/[^/]+$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"serviceId": { +"description": "Required. The Service identifier. Must contain only lowercase letters, numbers or hyphens, with the first character a letter, the last a letter or a number, and a 63 character maximum.", +"location": "query", +"type": "string" +} +}, +"path": "v1alpha/{+parent}/services", +"request": { +"$ref": "Service" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a Service from an Application.", +"flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/applications/{applicationsId}/services/{servicesId}", +"httpMethod": "DELETE", +"id": "apphub.projects.locations.applications.services.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Fully qualified name of the Service to delete from an Application. Expected format: `projects/{project}/locations/{location}/applications/{application}/services/{service}`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/applications/[^/]+/services/[^/]+$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes after the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "v1alpha/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets a Service in an Application.", +"flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/applications/{applicationsId}/services/{servicesId}", +"httpMethod": "GET", +"id": "apphub.projects.locations.applications.services.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Fully qualified name of the Service to fetch. Expected format: `projects/{project}/locations/{location}/applications/{application}/services/{service}`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/applications/[^/]+/services/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha/{+name}", +"response": { +"$ref": "Service" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists Services in an Application.", +"flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/applications/{applicationsId}/services", +"httpMethod": "GET", +"id": "apphub.projects.locations.applications.services.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Optional. Filtering results", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "Optional. Hint for how to order the results", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Optional. Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. A token identifying a page of results the server should return.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. Fully qualified name of the parent Application to list Services for. Expected format: `projects/{project}/locations/{location}/applications/{application}`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/applications/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha/{+parent}/services", +"response": { +"$ref": "ListServicesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates a Service in an Application.", +"flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/applications/{applicationsId}/services/{servicesId}", +"httpMethod": "PATCH", +"id": "apphub.projects.locations.applications.services.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Identifier. The resource name of a Service. Format: `\"projects/{host-project-id}/locations/{location}/applications/{application-id}/services/{service-id}\"`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/applications/[^/]+/services/[^/]+$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"updateMask": { +"description": "Required. Field mask is used to specify the fields to be overwritten in the Service resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. The API changes the values of the fields as specified in the update_mask. The API ignores the values of all fields not covered by the update_mask. You can also unset a field by not specifying it in the updated message, but adding the field to the mask. This clears whatever value the field previously had.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1alpha/{+name}", +"request": { +"$ref": "Service" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"workloads": { +"methods": { +"create": { +"description": "Creates a Workload in an Application.", +"flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/applications/{applicationsId}/workloads", +"httpMethod": "POST", +"id": "apphub.projects.locations.applications.workloads.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. Fully qualified name of the Application to create Workload in. Expected format: `projects/{project}/locations/{location}/applications/{application}`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/applications/[^/]+$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"workloadId": { +"description": "Required. The Workload identifier. Must contain only lowercase letters, numbers or hyphens, with the first character a letter, the last a letter or a number, and a 63 character maximum.", +"location": "query", +"type": "string" +} +}, +"path": "v1alpha/{+parent}/workloads", +"request": { +"$ref": "Workload" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a Workload from an Application.", +"flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/applications/{applicationsId}/workloads/{workloadsId}", +"httpMethod": "DELETE", +"id": "apphub.projects.locations.applications.workloads.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Fully qualified name of the Workload to delete from an Application. Expected format: `projects/{project}/locations/{location}/applications/{application}/workloads/{workload}`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/applications/[^/]+/workloads/[^/]+$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes after the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "v1alpha/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets a Workload in an Application.", +"flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/applications/{applicationsId}/workloads/{workloadsId}", +"httpMethod": "GET", +"id": "apphub.projects.locations.applications.workloads.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Fully qualified name of the Workload to fetch. Expected format: `projects/{project}/locations/{location}/applications/{application}/workloads/{workload}`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/applications/[^/]+/workloads/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha/{+name}", +"response": { +"$ref": "Workload" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists Workloads in an Application.", +"flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/applications/{applicationsId}/workloads", +"httpMethod": "GET", +"id": "apphub.projects.locations.applications.workloads.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Optional. Filtering results.", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "Optional. Hint for how to order the results.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Optional. Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. A token identifying a page of results the server should return.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. Fully qualified name of the parent Application to list Workloads for. Expected format: `projects/{project}/locations/{location}/applications/{application}`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/applications/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha/{+parent}/workloads", +"response": { +"$ref": "ListWorkloadsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates a Workload in an Application.", +"flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/applications/{applicationsId}/workloads/{workloadsId}", +"httpMethod": "PATCH", +"id": "apphub.projects.locations.applications.workloads.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Identifier. The resource name of the Workload. Format: `\"projects/{host-project-id}/locations/{location}/applications/{application-id}/workloads/{workload-id}\"`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/applications/[^/]+/workloads/[^/]+$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"updateMask": { +"description": "Required. Field mask is used to specify the fields to be overwritten in the Workload resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. The API changes the values of the fields as specified in the update_mask. The API ignores the values of all fields not covered by the update_mask. You can also unset a field by not specifying it in the updated message, but adding the field to the mask. This clears whatever value the field previously had.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1alpha/{+name}", +"request": { +"$ref": "Workload" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +}, +"discoveredServices": { +"methods": { +"findUnregistered": { +"description": "Finds unregistered services in a host project and location.", +"flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/discoveredServices:findUnregistered", +"httpMethod": "GET", +"id": "apphub.projects.locations.discoveredServices.findUnregistered", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Optional. Filtering results.", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "Optional. Hint for how to order the results.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Optional. Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. A token identifying a page of results the server should return.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. Project and location to find unregistered Discovered Services on. Expected format: `projects/{project}/locations/{location}`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha/{+parent}/discoveredServices:findUnregistered", +"response": { +"$ref": "FindUnregisteredServicesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets a Discovered Service in a host project and location.", +"flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/discoveredServices/{discoveredServicesId}", +"httpMethod": "GET", +"id": "apphub.projects.locations.discoveredServices.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Fully qualified name of the Discovered Service to fetch. Expected format: `projects/{project}/locations/{location}/discoveredServices/{discoveredService}`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/discoveredServices/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha/{+name}", +"response": { +"$ref": "DiscoveredService" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists Discovered Services that can be added to an Application in a host project and location.", +"flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/discoveredServices", +"httpMethod": "GET", +"id": "apphub.projects.locations.discoveredServices.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Optional. Filtering results.", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "Optional. Hint for how to order the results.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Optional. Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. A token identifying a page of results the server should return.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. Project and location to list Discovered Services on. Expected format: `projects/{project}/locations/{location}`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha/{+parent}/discoveredServices", +"response": { +"$ref": "ListDiscoveredServicesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"lookup": { +"description": "Lists a Discovered Service in a host project and location, with a given resource URI.", +"flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/discoveredServices:lookup", +"httpMethod": "GET", +"id": "apphub.projects.locations.discoveredServices.lookup", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. Host project ID and location to lookup Discovered Service in. Expected format: `projects/{project}/locations/{location}`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +}, +"uri": { +"description": "Required. Resource URI to find DiscoveredService for. Accepts both project number and project ID and does translation when needed.", +"location": "query", +"type": "string" +} +}, +"path": "v1alpha/{+parent}/discoveredServices:lookup", +"response": { +"$ref": "LookupDiscoveredServiceResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"discoveredWorkloads": { +"methods": { +"findUnregistered": { +"description": "Finds unregistered workloads in a host project and location.", +"flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/discoveredWorkloads:findUnregistered", +"httpMethod": "GET", +"id": "apphub.projects.locations.discoveredWorkloads.findUnregistered", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Optional. Filtering results.", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "Optional. Hint for how to order the results.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Optional. Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. A token identifying a page of results the server should return.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. Project and location to find unregistered Discovered Workloads on. Expected format: `projects/{project}/locations/{location}`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha/{+parent}/discoveredWorkloads:findUnregistered", +"response": { +"$ref": "FindUnregisteredWorkloadsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets a Discovered Workload in a host project and location.", +"flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/discoveredWorkloads/{discoveredWorkloadsId}", +"httpMethod": "GET", +"id": "apphub.projects.locations.discoveredWorkloads.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Fully qualified name of the Discovered Workload to fetch. Expected format: `projects/{project}/locations/{location}/discoveredWorkloads/{discoveredWorkload}`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/discoveredWorkloads/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha/{+name}", +"response": { +"$ref": "DiscoveredWorkload" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists Discovered Workloads that can be added to an Application in a host project and location.", +"flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/discoveredWorkloads", +"httpMethod": "GET", +"id": "apphub.projects.locations.discoveredWorkloads.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Optional. Filtering results.", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "Optional. Hint for how to order the results.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Optional. Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. A token identifying a page of results the server should return.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. Project and location to list Discovered Workloads on. Expected format: `projects/{project}/locations/{location}`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha/{+parent}/discoveredWorkloads", +"response": { +"$ref": "ListDiscoveredWorkloadsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"lookup": { +"description": "Lists a Discovered Workload in a host project and location, with a given resource URI.", +"flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/discoveredWorkloads:lookup", +"httpMethod": "GET", +"id": "apphub.projects.locations.discoveredWorkloads.lookup", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. Host project ID and location to lookup Discovered Workload in. Expected format: `projects/{project}/locations/{location}`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +}, +"uri": { +"description": "Required. Resource URI to find Discovered Workload for. Accepts both project number and project ID and does translation when needed.", +"location": "query", +"type": "string" +} +}, +"path": "v1alpha/{+parent}/discoveredWorkloads:lookup", +"response": { +"$ref": "LookupDiscoveredWorkloadResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"extendedMetadataSchemas": { +"methods": { +"get": { +"description": "Gets an Extended Metadata Schema.", +"flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/extendedMetadataSchemas/{extendedMetadataSchemasId}", +"httpMethod": "GET", +"id": "apphub.projects.locations.extendedMetadataSchemas.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Schema resource name. Format: `projects/{project}/locations/{location}/extendedMetadataSchemas/{extended_metadata_schema}`. `{extended_metadata_schema}` has the format `\"apphub.googleapis.com/{SchemaName}\"`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/extendedMetadataSchemas/.*$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha/{+name}", +"response": { +"$ref": "ExtendedMetadataSchema" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists Extended Metadata Schemas available in a host project and location.", +"flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/extendedMetadataSchemas", +"httpMethod": "GET", +"id": "apphub.projects.locations.extendedMetadataSchemas.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "Optional. Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. A token identifying a page of results the server should return.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. Project and location to list Extended Metadata Schemas on. Expected format: `projects/{project}/locations/{location}`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha/{+parent}/extendedMetadataSchemas", +"response": { +"$ref": "ListExtendedMetadataSchemasResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"operations": { +"methods": { +"cancel": { +"description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.", +"flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}:cancel", +"httpMethod": "POST", +"id": "apphub.projects.locations.operations.cancel", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be cancelled.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha/{+name}:cancel", +"request": { +"$ref": "CancelOperationRequest" +}, +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.", +"flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}", +"httpMethod": "DELETE", +"id": "apphub.projects.locations.operations.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be deleted.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha/{+name}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", +"flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}", +"httpMethod": "GET", +"id": "apphub.projects.locations.operations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.", +"flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/operations", +"httpMethod": "GET", +"id": "apphub.projects.locations.operations.list", +"parameterOrder": [ +"name" +], +"parameters": { +"filter": { +"description": "The standard list filter.", +"location": "query", +"type": "string" +}, +"name": { +"description": "The name of the operation's parent resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The standard list page size.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The standard list page token.", +"location": "query", +"type": "string" +}, +"returnPartialSuccess": { +"description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `\"projects/example/locations/-\"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1alpha/{+name}/operations", +"response": { +"$ref": "ListOperationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"serviceProjectAttachments": { +"methods": { +"create": { +"description": "Attaches a service project to the host project.", +"flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/serviceProjectAttachments", +"httpMethod": "POST", +"id": "apphub.projects.locations.serviceProjectAttachments.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. Host project ID and location to which service project is being attached. Only global location is supported. Expected format: `projects/{project}/locations/{location}`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"serviceProjectAttachmentId": { +"description": "Required. The service project attachment identifier must contain the project id of the service project specified in the service_project_attachment.service_project field.", +"location": "query", +"type": "string" +} +}, +"path": "v1alpha/{+parent}/serviceProjectAttachments", +"request": { +"$ref": "ServiceProjectAttachment" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a service project attachment.", +"flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/serviceProjectAttachments/{serviceProjectAttachmentsId}", +"httpMethod": "DELETE", +"id": "apphub.projects.locations.serviceProjectAttachments.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Fully qualified name of the service project attachment to delete. Expected format: `projects/{project}/locations/{location}/serviceProjectAttachments/{serviceProjectAttachment}`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/serviceProjectAttachments/[^/]+$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes after the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "v1alpha/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets a service project attachment.", +"flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/serviceProjectAttachments/{serviceProjectAttachmentsId}", +"httpMethod": "GET", +"id": "apphub.projects.locations.serviceProjectAttachments.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Fully qualified name of the service project attachment to retrieve. Expected format: `projects/{project}/locations/{location}/serviceProjectAttachments/{serviceProjectAttachment}`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/serviceProjectAttachments/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha/{+name}", +"response": { +"$ref": "ServiceProjectAttachment" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists service projects attached to the host project.", +"flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/serviceProjectAttachments", +"httpMethod": "GET", +"id": "apphub.projects.locations.serviceProjectAttachments.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Optional. Filtering results.", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "Optional. Hint for how to order the results.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Optional. Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. A token identifying a page of results the server should return.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. Host project ID and location to list service project attachments. Only global location is supported. Expected format: `projects/{project}/locations/{location}`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha/{+parent}/serviceProjectAttachments", +"response": { +"$ref": "ListServiceProjectAttachmentsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +} +} +} +}, +"revision": "20260204", +"rootUrl": "https://apphub.googleapis.com/", +"schemas": { +"Application": { +"description": "Application defines the governance boundary for App Hub entities that perform a logical end-to-end business function. App Hub supports application level IAM permission to align with governance requirements.", +"id": "Application", +"properties": { +"attributes": { +"$ref": "Attributes", +"description": "Optional. Consumer provided attributes." +}, +"createTime": { +"description": "Output only. Create time.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"description": { +"description": "Optional. User-defined description of an Application. Can have a maximum length of 2048 characters.", +"type": "string" +}, +"displayName": { +"description": "Optional. User-defined name for the Application. Can have a maximum length of 63 characters.", +"type": "string" +}, +"name": { +"description": "Identifier. The resource name of an Application. Format: `\"projects/{host-project-id}/locations/{location}/applications/{application-id}\"`", +"type": "string" +}, +"scope": { +"$ref": "Scope", +"description": "Required. Immutable. Defines what data can be included into this Application. Limits which Services and Workloads can be registered." +}, +"state": { +"description": "Output only. Application state.", +"enum": [ +"STATE_UNSPECIFIED", +"CREATING", +"ACTIVE", +"DELETING" +], +"enumDescriptions": [ +"Unspecified state.", +"The Application is being created.", +"The Application is ready to register Services and Workloads.", +"The Application is being deleted." +], +"readOnly": true, +"type": "string" +}, +"uid": { +"description": "Output only. A universally unique identifier (in UUID4 format) for the `Application`.", +"readOnly": true, +"type": "string" +}, +"updateTime": { +"description": "Output only. Update time.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"Attributes": { +"description": "Consumer provided attributes.", +"id": "Attributes", +"properties": { +"businessOwners": { +"description": "Optional. Business team that ensures user needs are met and value is delivered", +"items": { +"$ref": "ContactInfo" +}, +"type": "array" +}, +"criticality": { +"$ref": "Criticality", +"description": "Optional. User-defined criticality information." +}, +"developerOwners": { +"description": "Optional. Developer team that owns development and coding.", +"items": { +"$ref": "ContactInfo" +}, +"type": "array" +}, +"environment": { +"$ref": "Environment", +"description": "Optional. User-defined environment information." +}, +"operatorOwners": { +"description": "Optional. Operator team that ensures runtime and operations.", +"items": { +"$ref": "ContactInfo" +}, +"type": "array" +} +}, +"type": "object" +}, +"AuditConfig": { +"description": "Specifies the audit configuration for a service. The configuration determines which permission types are logged, and what identities, if any, are exempted from logging. An AuditConfig must have one or more AuditLogConfigs. If there are AuditConfigs for both `allServices` and a specific service, the union of the two AuditConfigs is used for that service: the log_types specified in each AuditConfig are enabled, and the exempted_members in each AuditLogConfig are exempted. Example Policy with multiple AuditConfigs: { \"audit_configs\": [ { \"service\": \"allServices\", \"audit_log_configs\": [ { \"log_type\": \"DATA_READ\", \"exempted_members\": [ \"user:jose@example.com\" ] }, { \"log_type\": \"DATA_WRITE\" }, { \"log_type\": \"ADMIN_READ\" } ] }, { \"service\": \"sampleservice.googleapis.com\", \"audit_log_configs\": [ { \"log_type\": \"DATA_READ\" }, { \"log_type\": \"DATA_WRITE\", \"exempted_members\": [ \"user:aliya@example.com\" ] } ] } ] } For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also exempts `jose@example.com` from DATA_READ logging, and `aliya@example.com` from DATA_WRITE logging.", +"id": "AuditConfig", +"properties": { +"auditLogConfigs": { +"description": "The configuration for logging of each type of permission.", +"items": { +"$ref": "AuditLogConfig" +}, +"type": "array" +}, +"service": { +"description": "Specifies a service that will be enabled for audit logging. For example, `storage.googleapis.com`, `cloudsql.googleapis.com`. `allServices` is a special value that covers all services.", +"type": "string" +} +}, +"type": "object" +}, +"AuditLogConfig": { +"description": "Provides the configuration for logging a type of permissions. Example: { \"audit_log_configs\": [ { \"log_type\": \"DATA_READ\", \"exempted_members\": [ \"user:jose@example.com\" ] }, { \"log_type\": \"DATA_WRITE\" } ] } This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting jose@example.com from DATA_READ logging.", +"id": "AuditLogConfig", +"properties": { +"exemptedMembers": { +"description": "Specifies the identities that do not cause logging for this type of permission. Follows the same format of Binding.members.", +"items": { +"type": "string" +}, +"type": "array" +}, +"logType": { +"description": "The log type that this config enables.", +"enum": [ +"LOG_TYPE_UNSPECIFIED", +"ADMIN_READ", +"DATA_WRITE", +"DATA_READ" +], +"enumDescriptions": [ +"Default case. Should never be this.", +"Admin reads. Example: CloudIAM getIamPolicy", +"Data writes. Example: CloudSQL Users create", +"Data reads. Example: CloudSQL Users list" +], +"type": "string" +} +}, +"type": "object" +}, +"Binding": { +"description": "Associates `members`, or principals, with a `role`.", +"id": "Binding", +"properties": { +"condition": { +"$ref": "Expr", +"description": "The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies)." +}, +"members": { +"description": "Specifies the principals requesting access for a Google Cloud resource. `members` can have the following values: * `allUsers`: A special identifier that represents anyone who is on the internet; with or without a Google account. * `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service account. Does not include identities that come from external identity providers (IdPs) through identity federation. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `group:{emailid}`: An email address that represents a Google group. For example, `admins@example.com`. * `domain:{domain}`: The G Suite domain (primary) that represents all the users of that domain. For example, `google.com` or `example.com`. * `principal://iam.googleapis.com/locations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}`: A single identity in a workforce identity pool. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/group/{group_id}`: All workforce identities in a group. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/attribute.{attribute_name}/{attribute_value}`: All workforce identities with a specific attribute value. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/*`: All identities in a workforce identity pool. * `principal://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/subject/{subject_attribute_value}`: A single identity in a workload identity pool. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/group/{group_id}`: A workload identity pool group. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/attribute.{attribute_name}/{attribute_value}`: All identities in a workload identity pool with a certain attribute. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/*`: All identities in a workload identity pool. * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a user that has been recently deleted. For example, `alice@example.com?uid=123456789012345678901`. If the user is recovered, this value reverts to `user:{emailid}` and the recovered user retains the role in the binding. * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a service account that has been recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the service account is undeleted, this value reverts to `serviceAccount:{emailid}` and the undeleted service account retains the role in the binding. * `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a Google group that has been recently deleted. For example, `admins@example.com?uid=123456789012345678901`. If the group is recovered, this value reverts to `group:{emailid}` and the recovered group retains the role in the binding. * `deleted:principal://iam.googleapis.com/locations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}`: Deleted single identity in a workforce identity pool. For example, `deleted:principal://iam.googleapis.com/locations/global/workforcePools/my-pool-id/subject/my-subject-attribute-value`.", +"items": { +"type": "string" +}, +"type": "array" +}, +"role": { +"description": "Role that is assigned to the list of `members`, or principals. For example, `roles/viewer`, `roles/editor`, or `roles/owner`. For an overview of the IAM roles and permissions, see the [IAM documentation](https://cloud.google.com/iam/docs/roles-overview). For a list of the available pre-defined roles, see [here](https://cloud.google.com/iam/docs/understanding-roles).", +"type": "string" +} +}, +"type": "object" +}, +"Boundary": { +"description": "Application management boundary.", +"id": "Boundary", +"properties": { +"createTime": { +"description": "Output only. Create time.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"crmNode": { +"description": "Optional. The resource name of the CRM node being attached to the boundary. Format: `projects/{project-number}` or `projects/{project-id}`", +"type": "string" +}, +"name": { +"description": "Identifier. The resource name of the boundary. Format: \"projects/{project}/locations/{location}/boundary\"", +"type": "string" +}, +"type": { +"description": "Output only. Boundary type.", +"enum": [ +"TYPE_UNSPECIFIED", +"AUTOMATIC", +"MANUAL", +"MANAGED_AUTOMATIC" +], +"enumDescriptions": [ +"Unspecified type.", +"The Boundary automatically includes all descendants of the CRM node.", +"The list of projects within the Boundary is managed by the user.", +"The Boundary automatically includes all descendants of the CRM node, which is set via App Management folder capability." +], +"readOnly": true, +"type": "string" +}, +"updateTime": { +"description": "Output only. Update time.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"CancelOperationRequest": { +"description": "The request message for Operations.CancelOperation.", +"id": "CancelOperationRequest", +"properties": {}, +"type": "object" +}, +"Channel": { +"description": "Separate message to accommodate custom formats across IRC and Slack.", +"id": "Channel", +"properties": { +"uri": { +"description": "Required. URI of the channel.", +"type": "string" +} +}, +"type": "object" +}, +"ContactInfo": { +"description": "Contact information of stakeholders.", +"id": "ContactInfo", +"properties": { +"channel": { +"$ref": "Channel", +"description": "Optional. Communication channel of the contacts." +}, +"displayName": { +"description": "Optional. Contact's name. Can have a maximum length of 63 characters.", +"type": "string" +}, +"email": { +"description": "Required. Email address of the contacts.", +"type": "string" +} +}, +"type": "object" +}, +"Criticality": { +"description": "Criticality of the Application, Service, or Workload", +"id": "Criticality", +"properties": { +"level": { +"deprecated": true, +"description": "Optional. Criticality level. Can contain only lowercase letters, numeric characters, underscores, and dashes. Can have a maximum length of 63 characters. Deprecated: Please refer to type instead.", +"type": "string" +}, +"missionCritical": { +"deprecated": true, +"description": "Optional. Indicates mission-critical Application, Service, or Workload. Deprecated: Please refer to type instead.", +"type": "boolean" +}, +"type": { +"description": "Required. Criticality Type.", +"enum": [ +"TYPE_UNSPECIFIED", +"MISSION_CRITICAL", +"HIGH", +"MEDIUM", +"LOW" +], +"enumDescriptions": [ +"Unspecified type.", +"Mission critical service, application or workload.", +"High impact.", +"Medium impact.", +"Low impact." +], +"type": "string" +} +}, +"type": "object" +}, +"DetachServiceProjectAttachmentRequest": { +"description": "Request for DetachServiceProjectAttachment.", +"id": "DetachServiceProjectAttachmentRequest", +"properties": {}, +"type": "object" +}, +"DetachServiceProjectAttachmentResponse": { +"description": "Response for DetachServiceProjectAttachment.", +"id": "DetachServiceProjectAttachmentResponse", +"properties": {}, +"type": "object" +}, +"DiscoveredService": { +"description": "DiscoveredService is a network or API interface that exposes some functionality to clients for consumption over the network. A discovered service can be registered to a App Hub service.", +"id": "DiscoveredService", +"properties": { +"name": { +"description": "Identifier. The resource name of the discovered service. Format: `\"projects/{host-project-id}/locations/{location}/discoveredServices/{uuid}\"`", +"type": "string" +}, +"serviceProperties": { +"$ref": "ServiceProperties", +"description": "Output only. Properties of an underlying compute resource that can comprise a Service. These are immutable.", +"readOnly": true +}, +"serviceReference": { +"$ref": "ServiceReference", +"description": "Output only. Reference to an underlying networking resource that can comprise a Service. These are immutable.", +"readOnly": true +} +}, +"type": "object" +}, +"DiscoveredWorkload": { +"description": "DiscoveredWorkload is a binary deployment (such as managed instance groups (MIGs) and GKE deployments) that performs the smallest logical subset of business functionality. A discovered workload can be registered to an App Hub Workload.", +"id": "DiscoveredWorkload", +"properties": { +"name": { +"description": "Identifier. The resource name of the discovered workload. Format: `\"projects/{host-project-id}/locations/{location}/discoveredWorkloads/{uuid}\"`", +"type": "string" +}, +"workloadProperties": { +"$ref": "WorkloadProperties", +"description": "Output only. Properties of an underlying compute resource represented by the Workload. These are immutable.", +"readOnly": true +}, +"workloadReference": { +"$ref": "WorkloadReference", +"description": "Output only. Reference of an underlying compute resource represented by the Workload. These are immutable.", +"readOnly": true +} +}, +"type": "object" +}, +"Empty": { +"description": "A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }", +"id": "Empty", +"properties": {}, +"type": "object" +}, +"Environment": { +"description": "Environment of the Application, Service, or Workload", +"id": "Environment", +"properties": { +"environment": { +"deprecated": true, +"description": "Optional. Environment name. Can contain only lowercase letters, numeric characters, underscores, and dashes. Can have a maximum length of 63 characters. Deprecated: Please refer to type instead.", +"type": "string" +}, +"type": { +"description": "Required. Environment Type.", +"enum": [ +"TYPE_UNSPECIFIED", +"PRODUCTION", +"STAGING", +"TEST", +"DEVELOPMENT" +], +"enumDescriptions": [ +"Unspecified type.", +"Production environment.", +"Staging environment.", +"Test environment.", +"Development environment." +], +"type": "string" +} +}, +"type": "object" +}, +"Expr": { +"description": "Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: \"Summary size limit\" description: \"Determines if a summary is less than 100 chars\" expression: \"document.summary.size() < 100\" Example (Equality): title: \"Requestor is owner\" description: \"Determines if requestor is the document owner\" expression: \"document.owner == request.auth.claims.email\" Example (Logic): title: \"Public documents\" description: \"Determine whether the document should be publicly visible\" expression: \"document.type != 'private' && document.type != 'internal'\" Example (Data Manipulation): title: \"Notification string\" description: \"Create a notification string with a timestamp.\" expression: \"'New message received at ' + string(document.create_time)\" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information.", +"id": "Expr", +"properties": { +"description": { +"description": "Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI.", +"type": "string" +}, +"expression": { +"description": "Textual representation of an expression in Common Expression Language syntax.", +"type": "string" +}, +"location": { +"description": "Optional. String indicating the location of the expression for error reporting, e.g. a file name and a position in the file.", +"type": "string" +}, +"title": { +"description": "Optional. Title for the expression, i.e. a short string describing its purpose. This can be used e.g. in UIs which allow to enter the expression.", +"type": "string" +} +}, +"type": "object" +}, +"ExtendedMetadata": { +"description": "Additional metadata for a Service or Workload.", +"id": "ExtendedMetadata", +"properties": { +"metadataStruct": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"description": "Output only. The metadata contents.", +"readOnly": true, +"type": "object" +} +}, +"type": "object" +}, +"ExtendedMetadataSchema": { +"description": "ExtendedMetadataSchema represents a schema for extended metadata of a service or workload.", +"id": "ExtendedMetadataSchema", +"properties": { +"jsonSchema": { +"description": "Output only. The JSON schema as a string.", +"readOnly": true, +"type": "string" +}, +"name": { +"description": "Identifier. Resource name of the schema. Format: projects//locations//extendedMetadataSchemas/", +"type": "string" +}, +"schemaVersion": { +"description": "Output only. The version of the schema. New versions are required to be backwards compatible.", +"format": "int64", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"FindUnregisteredServicesResponse": { +"description": "Response for FindUnregisteredServices.", +"id": "FindUnregisteredServicesResponse", +"properties": { +"discoveredServices": { +"description": "List of Discovered Services.", +"items": { +"$ref": "DiscoveredService" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A token identifying a page of results the server should return.", +"type": "string" +}, +"unreachable": { +"description": "Locations that could not be reached.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"FindUnregisteredWorkloadsResponse": { +"description": "Response for FindUnregisteredWorkloads.", +"id": "FindUnregisteredWorkloadsResponse", +"properties": { +"discoveredWorkloads": { +"description": "List of Discovered Workloads.", +"items": { +"$ref": "DiscoveredWorkload" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A token identifying a page of results the server should return.", +"type": "string" +}, +"unreachable": { +"description": "Locations that could not be reached.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"FunctionalType": { +"description": "The functional type of a service or workload.", +"id": "FunctionalType", +"properties": { +"type": { +"description": "Output only. The functional type of a service or workload.", +"enum": [ +"TYPE_UNSPECIFIED", +"AGENT", +"MCP_SERVER" +], +"enumDescriptions": [ +"Unspecified type.", +"Agent type.", +"MCP Server type." +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"Identity": { +"description": "The identity associated with a service or workload.", +"id": "Identity", +"properties": { +"principal": { +"description": "Output only. The principal of the identity. Supported formats: * `sa://my-sa@PROJECT_ID.iam.gserviceaccount.com` for GCP Service Account * `principal://POOL_ID.global.PROJECT_NUMBER.workload.id.goog/ns/NAMESPACE_ID/sa/MANAGED_IDENTITY_ID` for Managed Workload Identity", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"ListApplicationsResponse": { +"description": "Response for ListApplications.", +"id": "ListApplicationsResponse", +"properties": { +"applications": { +"description": "List of Applications.", +"items": { +"$ref": "Application" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A token identifying a page of results the server should return.", +"type": "string" +}, +"unreachable": { +"description": "Locations that could not be reached.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListDiscoveredServicesResponse": { +"description": "Response for ListDiscoveredServices.", +"id": "ListDiscoveredServicesResponse", +"properties": { +"discoveredServices": { +"description": "List of Discovered Services.", +"items": { +"$ref": "DiscoveredService" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A token identifying a page of results the server should return.", +"type": "string" +}, +"unreachable": { +"description": "Locations that could not be reached.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListDiscoveredWorkloadsResponse": { +"description": "Response for ListDiscoveredWorkloads.", +"id": "ListDiscoveredWorkloadsResponse", +"properties": { +"discoveredWorkloads": { +"description": "List of Discovered Workloads.", +"items": { +"$ref": "DiscoveredWorkload" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A token identifying a page of results the server should return.", +"type": "string" +}, +"unreachable": { +"description": "Locations that could not be reached.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListExtendedMetadataSchemasResponse": { +"description": "Response for ListExtendedMetadataSchemas.", +"id": "ListExtendedMetadataSchemasResponse", +"properties": { +"extendedMetadataSchemas": { +"description": "List of Extended Metadata Schemas.", +"items": { +"$ref": "ExtendedMetadataSchema" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A token identifying a page of results the server should return.", +"type": "string" +} +}, +"type": "object" +}, +"ListLocationsResponse": { +"description": "The response message for Locations.ListLocations.", +"id": "ListLocationsResponse", +"properties": { +"locations": { +"description": "A list of locations that matches the specified filter in the request.", +"items": { +"$ref": "Location" +}, +"type": "array" +}, +"nextPageToken": { +"description": "The standard List next-page token.", +"type": "string" +} +}, +"type": "object" +}, +"ListOperationsResponse": { +"description": "The response message for Operations.ListOperations.", +"id": "ListOperationsResponse", +"properties": { +"nextPageToken": { +"description": "The standard List next-page token.", +"type": "string" +}, +"operations": { +"description": "A list of operations that matches the specified filter in the request.", +"items": { +"$ref": "Operation" +}, +"type": "array" +}, +"unreachable": { +"description": "Unordered list. Unreachable resources. Populated when the request sets `ListOperationsRequest.return_partial_success` and reads across collections. For example, when attempting to list all resources across all supported locations.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListServiceProjectAttachmentsResponse": { +"description": "Response for ListServiceProjectAttachments.", +"id": "ListServiceProjectAttachmentsResponse", +"properties": { +"nextPageToken": { +"description": "A token identifying a page of results the server should return.", +"type": "string" +}, +"serviceProjectAttachments": { +"description": "List of service project attachments.", +"items": { +"$ref": "ServiceProjectAttachment" +}, +"type": "array" +}, +"unreachable": { +"description": "Locations that could not be reached.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListServicesResponse": { +"description": "Response for ListServices.", +"id": "ListServicesResponse", +"properties": { +"nextPageToken": { +"description": "A token identifying a page of results the server should return.", +"type": "string" +}, +"services": { +"description": "List of Services.", +"items": { +"$ref": "Service" +}, +"type": "array" +}, +"unreachable": { +"description": "Locations that could not be reached.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListWorkloadsResponse": { +"description": "Response for ListWorkloads.", +"id": "ListWorkloadsResponse", +"properties": { +"nextPageToken": { +"description": "A token identifying a page of results the server should return.", +"type": "string" +}, +"unreachable": { +"description": "Locations that could not be reached.", +"items": { +"type": "string" +}, +"type": "array" +}, +"workloads": { +"description": "List of Workloads.", +"items": { +"$ref": "Workload" +}, +"type": "array" +} +}, +"type": "object" +}, +"Location": { +"description": "A resource that represents a Google Cloud location.", +"id": "Location", +"properties": { +"displayName": { +"description": "The friendly name for this location, typically a nearby city name. For example, \"Tokyo\".", +"type": "string" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Cross-service attributes for the location. For example {\"cloud.googleapis.com/region\": \"us-east1\"}", +"type": "object" +}, +"locationId": { +"description": "The canonical id for this location. For example: `\"us-east1\"`.", +"type": "string" +}, +"metadata": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "Service-specific metadata. For example the available capacity at the given location.", +"type": "object" +}, +"name": { +"description": "Resource name for the location, which may vary between implementations. For example: `\"projects/example-project/locations/us-east1\"`", +"type": "string" +} +}, +"type": "object" +}, +"LookupDiscoveredServiceResponse": { +"description": "Response for LookupDiscoveredService.", +"id": "LookupDiscoveredServiceResponse", +"properties": { +"discoveredService": { +"$ref": "DiscoveredService", +"description": "Discovered Service if exists, empty otherwise." +} +}, +"type": "object" +}, +"LookupDiscoveredWorkloadResponse": { +"description": "Response for LookupDiscoveredWorkload.", +"id": "LookupDiscoveredWorkloadResponse", +"properties": { +"discoveredWorkload": { +"$ref": "DiscoveredWorkload", +"description": "Discovered Workload if exists, empty otherwise." +} +}, +"type": "object" +}, +"LookupServiceProjectAttachmentResponse": { +"description": "Response for LookupServiceProjectAttachment.", +"id": "LookupServiceProjectAttachmentResponse", +"properties": { +"serviceProjectAttachment": { +"$ref": "ServiceProjectAttachment", +"description": "Service project attachment for a project if exists, empty otherwise." +} +}, +"type": "object" +}, +"Operation": { +"description": "This resource represents a long-running operation that is the result of a network API call.", +"id": "Operation", +"properties": { +"done": { +"description": "If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.", +"type": "boolean" +}, +"error": { +"$ref": "Status", +"description": "The error result of the operation in case of failure or cancellation." +}, +"metadata": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.", +"type": "object" +}, +"name": { +"description": "The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.", +"type": "string" +}, +"response": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "The normal, successful response of the operation. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.", +"type": "object" +} +}, +"type": "object" +}, +"OperationMetadata": { +"description": "Represents the metadata of the long-running operation.", +"id": "OperationMetadata", +"properties": { +"apiVersion": { +"description": "Output only. API version used to start the operation.", +"readOnly": true, +"type": "string" +}, +"createTime": { +"description": "Output only. The time the operation was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"endTime": { +"description": "Output only. The time the operation finished running.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"requestedCancellation": { +"description": "Output only. Identifies whether the user has requested cancellation of the operation. Operations that have been cancelled successfully have google.longrunning.Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.", +"readOnly": true, +"type": "boolean" +}, +"statusMessage": { +"description": "Output only. Human-readable status of the operation, if any.", +"readOnly": true, +"type": "string" +}, +"target": { +"description": "Output only. Server-defined resource path for the target of the operation.", +"readOnly": true, +"type": "string" +}, +"verb": { +"description": "Output only. Name of the verb executed by the operation.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"Policy": { +"description": "An Identity and Access Management (IAM) policy, which specifies access controls for Google Cloud resources. A `Policy` is a collection of `bindings`. A `binding` binds one or more `members`, or principals, to a single `role`. Principals can be user accounts, service accounts, Google groups, and domains (such as G Suite). A `role` is a named list of permissions; each `role` can be an IAM predefined role or a user-created custom role. For some types of Google Cloud resources, a `binding` can also specify a `condition`, which is a logical expression that allows access to a resource only if the expression evaluates to `true`. A condition can add constraints based on attributes of the request, the resource, or both. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). **JSON example:** ``` { \"bindings\": [ { \"role\": \"roles/resourcemanager.organizationAdmin\", \"members\": [ \"user:mike@example.com\", \"group:admins@example.com\", \"domain:google.com\", \"serviceAccount:my-project-id@appspot.gserviceaccount.com\" ] }, { \"role\": \"roles/resourcemanager.organizationViewer\", \"members\": [ \"user:eve@example.com\" ], \"condition\": { \"title\": \"expirable access\", \"description\": \"Does not grant access after Sep 2020\", \"expression\": \"request.time < timestamp('2020-10-01T00:00:00.000Z')\", } } ], \"etag\": \"BwWWja0YfJA=\", \"version\": 3 } ``` **YAML example:** ``` bindings: - members: - user:mike@example.com - group:admins@example.com - domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.com role: roles/resourcemanager.organizationViewer condition: title: expirable access description: Does not grant access after Sep 2020 expression: request.time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 ``` For a description of IAM and its features, see the [IAM documentation](https://cloud.google.com/iam/docs/).", +"id": "Policy", +"properties": { +"auditConfigs": { +"description": "Specifies cloud audit logging configuration for this policy.", +"items": { +"$ref": "AuditConfig" +}, +"type": "array" +}, +"bindings": { +"description": "Associates a list of `members`, or principals, with a `role`. Optionally, may specify a `condition` that determines how and when the `bindings` are applied. Each of the `bindings` must contain at least one principal. The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250 of these principals can be Google groups. Each occurrence of a principal counts towards these limits. For example, if the `bindings` grant 50 different roles to `user:alice@example.com`, and not to any other principal, then you can add another 1,450 principals to the `bindings` in the `Policy`.", +"items": { +"$ref": "Binding" +}, +"type": "array" +}, +"etag": { +"description": "`etag` is used for optimistic concurrency control as a way to help prevent simultaneous updates of a policy from overwriting each other. It is strongly suggested that systems make use of the `etag` in the read-modify-write cycle to perform policy updates in order to avoid race conditions: An `etag` is returned in the response to `getIamPolicy`, and systems are expected to put that etag in the request to `setIamPolicy` to ensure that their change will be applied to the same version of the policy. **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost.", +"format": "byte", +"type": "string" +}, +"version": { +"description": "Specifies the format of the policy. Valid values are `0`, `1`, and `3`. Requests that specify an invalid value are rejected. Any operation that affects conditional role bindings must specify version `3`. This requirement applies to the following operations: * Getting a policy that includes a conditional role binding * Adding a conditional role binding to a policy * Changing a conditional role binding in a policy * Removing any role binding, with or without a condition, from a policy that includes conditions **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost. If a policy does not include any conditions, operations on that policy may specify any valid version or leave the field unset. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"RegistrationType": { +"description": "The registration type of a service.", +"id": "RegistrationType", +"properties": { +"type": { +"description": "Output only. The registration type of a service.", +"enum": [ +"TYPE_UNSPECIFIED", +"EXCLUSIVE", +"SHARED" +], +"enumDescriptions": [ +"Unspecified registration type. Defaults to EXCLUSIVE.", +"The service can only be registered to one application.", +"The service can be registered to multiple applications." +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"Scope": { +"description": "Scope of an application.", +"id": "Scope", +"properties": { +"type": { +"description": "Required. Scope Type.", +"enum": [ +"TYPE_UNSPECIFIED", +"REGIONAL", +"GLOBAL" +], +"enumDescriptions": [ +"Unspecified type.", +"Regional type.", +"Global type." +], +"type": "string" +} +}, +"type": "object" +}, +"Service": { +"description": "Service is an App Hub data model that contains a discovered service, which represents a network or API interface that exposes some functionality to clients for consumption over the network.", +"id": "Service", +"properties": { +"attributes": { +"$ref": "Attributes", +"description": "Optional. Consumer provided attributes." +}, +"createTime": { +"description": "Output only. Create time.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"description": { +"description": "Optional. User-defined description of a Service. Can have a maximum length of 2048 characters.", +"type": "string" +}, +"discoveredService": { +"description": "Required. Immutable. The resource name of the original discovered service.", +"type": "string" +}, +"displayName": { +"description": "Optional. User-defined name for the Service. Can have a maximum length of 63 characters.", +"type": "string" +}, +"name": { +"description": "Identifier. The resource name of a Service. Format: `\"projects/{host-project-id}/locations/{location}/applications/{application-id}/services/{service-id}\"`", +"type": "string" +}, +"serviceProperties": { +"$ref": "ServiceProperties", +"description": "Output only. Properties of an underlying compute resource that can comprise a Service. These are immutable.", +"readOnly": true +}, +"serviceReference": { +"$ref": "ServiceReference", +"description": "Output only. Reference to an underlying networking resource that can comprise a Service. These are immutable.", +"readOnly": true +}, +"state": { +"description": "Output only. Service state.", +"enum": [ +"STATE_UNSPECIFIED", +"CREATING", +"ACTIVE", +"DELETING", +"DETACHED" +], +"enumDescriptions": [ +"Unspecified state.", +"The service is being created.", +"The service is ready.", +"The service is being deleted.", +"The underlying networking resources have been deleted." +], +"readOnly": true, +"type": "string" +}, +"uid": { +"description": "Output only. A universally unique identifier (UUID) for the `Service` in the UUID4 format.", +"readOnly": true, +"type": "string" +}, +"updateTime": { +"description": "Output only. Update time.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"ServiceProjectAttachment": { +"description": "ServiceProjectAttachment represents an attachment from a service project to a host project. Service projects contain the underlying cloud infrastructure resources, and expose these resources to the host project through a ServiceProjectAttachment. With the attachments, the host project can provide an aggregated view of resources across all service projects.", +"id": "ServiceProjectAttachment", +"properties": { +"createTime": { +"description": "Output only. Create time.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"name": { +"description": "Identifier. The resource name of a ServiceProjectAttachment. Format: `\"projects/{host-project-id}/locations/global/serviceProjectAttachments/{service-project-id}.\"`", +"type": "string" +}, +"serviceProject": { +"description": "Required. Immutable. Service project name in the format: `\"projects/abc\"` or `\"projects/123\"`. As input, project name with either project id or number are accepted. As output, this field will contain project number.", +"type": "string" +}, +"state": { +"description": "Output only. ServiceProjectAttachment state.", +"enum": [ +"STATE_UNSPECIFIED", +"CREATING", +"ACTIVE", +"DELETING" +], +"enumDescriptions": [ +"Unspecified state.", +"The ServiceProjectAttachment is being created.", +"The ServiceProjectAttachment is ready. This means Services and Workloads under the corresponding ServiceProjectAttachment is ready for registration.", +"The ServiceProjectAttachment is being deleted." +], +"readOnly": true, +"type": "string" +}, +"uid": { +"description": "Output only. A globally unique identifier (in UUID4 format) for the `ServiceProjectAttachment`.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"ServiceProperties": { +"description": "Properties of an underlying cloud resource that can comprise a Service.", +"id": "ServiceProperties", +"properties": { +"extendedMetadata": { +"additionalProperties": { +"$ref": "ExtendedMetadata" +}, +"description": "Output only. Additional metadata specific to the resource type. The key is a string that identifies the type of metadata and the value is the metadata contents specific to that type. Key format: `apphub.googleapis.com/{metadataType}`", +"readOnly": true, +"type": "object" +}, +"functionalType": { +"$ref": "FunctionalType", +"description": "Output only. The type of the service.", +"readOnly": true +}, +"gcpProject": { +"description": "Output only. The service project identifier that the underlying cloud resource resides in.", +"readOnly": true, +"type": "string" +}, +"identity": { +"$ref": "Identity", +"description": "Output only. The identity associated with the service.", +"readOnly": true +}, +"location": { +"description": "Output only. The location that the underlying resource resides in, for example, us-west1.", +"readOnly": true, +"type": "string" +}, +"registrationType": { +"$ref": "RegistrationType", +"description": "Output only. The registration type of the service.", +"readOnly": true +}, +"zone": { +"description": "Output only. The location that the underlying resource resides in if it is zonal, for example, us-west1-a).", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"ServiceReference": { +"description": "Reference to an underlying networking resource that can comprise a Service.", +"id": "ServiceReference", +"properties": { +"path": { +"description": "Output only. Additional path under the resource URI (demultiplexing one resource URI into multiple entries). Smallest unit a policy can be attached to. Examples: URL Map path entry.", +"readOnly": true, +"type": "string" +}, +"uri": { +"description": "Output only. The underlying resource URI. For example, URI of Forwarding Rule, URL Map, and Backend Service.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"SetIamPolicyRequest": { +"description": "Request message for `SetIamPolicy` method.", +"id": "SetIamPolicyRequest", +"properties": { +"policy": { +"$ref": "Policy", +"description": "REQUIRED: The complete policy to be applied to the `resource`. The size of the policy is limited to a few 10s of KB. An empty policy is a valid policy but certain Google Cloud services (such as Projects) might reject them." +}, +"updateMask": { +"description": "OPTIONAL: A FieldMask specifying which fields of the policy to modify. Only the fields in the mask will be modified. If no mask is provided, the following default mask is used: `paths: \"bindings, etag\"`", +"format": "google-fieldmask", +"type": "string" +} +}, +"type": "object" +}, +"Status": { +"description": "The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors).", +"id": "Status", +"properties": { +"code": { +"description": "The status code, which should be an enum value of google.rpc.Code.", +"format": "int32", +"type": "integer" +}, +"details": { +"description": "A list of messages that carry the error details. There is a common set of message types for APIs to use.", +"items": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.", +"type": "string" +} +}, +"type": "object" +}, +"TestIamPermissionsRequest": { +"description": "Request message for `TestIamPermissions` method.", +"id": "TestIamPermissionsRequest", +"properties": { +"permissions": { +"description": "The set of permissions to check for the `resource`. Permissions with wildcards (such as `*` or `storage.*`) are not allowed. For more information see [IAM Overview](https://cloud.google.com/iam/docs/overview#permissions).", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"TestIamPermissionsResponse": { +"description": "Response message for `TestIamPermissions` method.", +"id": "TestIamPermissionsResponse", +"properties": { +"permissions": { +"description": "A subset of `TestPermissionsRequest.permissions` that the caller is allowed.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"Workload": { +"description": "Workload is an App Hub data model that contains a discovered workload, which represents a binary deployment (such as managed instance groups (MIGs) and GKE deployments) that performs the smallest logical subset of business functionality.", +"id": "Workload", +"properties": { +"attributes": { +"$ref": "Attributes", +"description": "Optional. Consumer provided attributes." +}, +"createTime": { +"description": "Output only. Create time.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"description": { +"description": "Optional. User-defined description of a Workload. Can have a maximum length of 2048 characters.", +"type": "string" +}, +"discoveredWorkload": { +"description": "Required. Immutable. The resource name of the original discovered workload.", +"type": "string" +}, +"displayName": { +"description": "Optional. User-defined name for the Workload. Can have a maximum length of 63 characters.", +"type": "string" +}, +"name": { +"description": "Identifier. The resource name of the Workload. Format: `\"projects/{host-project-id}/locations/{location}/applications/{application-id}/workloads/{workload-id}\"`", +"type": "string" +}, +"state": { +"description": "Output only. Workload state.", +"enum": [ +"STATE_UNSPECIFIED", +"CREATING", +"ACTIVE", +"DELETING", +"DETACHED" +], +"enumDescriptions": [ +"Unspecified state.", +"The Workload is being created.", +"The Workload is ready.", +"The Workload is being deleted.", +"The underlying compute resources have been deleted." +], +"readOnly": true, +"type": "string" +}, +"uid": { +"description": "Output only. A universally unique identifier (UUID) for the `Workload` in the UUID4 format.", +"readOnly": true, +"type": "string" +}, +"updateTime": { +"description": "Output only. Update time.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"workloadProperties": { +"$ref": "WorkloadProperties", +"description": "Output only. Properties of an underlying compute resource represented by the Workload. These are immutable.", +"readOnly": true +}, +"workloadReference": { +"$ref": "WorkloadReference", +"description": "Output only. Reference of an underlying compute resource represented by the Workload. These are immutable.", +"readOnly": true +} +}, +"type": "object" +}, +"WorkloadProperties": { +"description": "Properties of an underlying compute resource represented by the Workload.", +"id": "WorkloadProperties", +"properties": { +"extendedMetadata": { +"additionalProperties": { +"$ref": "ExtendedMetadata" +}, +"description": "Output only. Additional metadata specific to the resource type. The key is a string that identifies the type of metadata and the value is the metadata contents specific to that type. Key format: `apphub.googleapis.com/{metadataType}`", +"readOnly": true, +"type": "object" +}, +"functionalType": { +"$ref": "FunctionalType", +"description": "Output only. The type of the workload.", +"readOnly": true +}, +"gcpProject": { +"description": "Output only. The service project identifier that the underlying cloud resource resides in. Empty for non-cloud resources.", +"readOnly": true, +"type": "string" +}, +"identity": { +"$ref": "Identity", +"description": "Output only. The identity associated with the workload.", +"readOnly": true +}, +"location": { +"description": "Output only. The location that the underlying compute resource resides in (for example, us-west1).", +"readOnly": true, +"type": "string" +}, +"zone": { +"description": "Output only. The location that the underlying compute resource resides in if it is zonal (for example, us-west1-a).", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"WorkloadReference": { +"description": "Reference of an underlying compute resource represented by the Workload.", +"id": "WorkloadReference", +"properties": { +"uri": { +"description": "Output only. The underlying compute resource uri.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +} +}, +"servicePath": "", +"title": "App Hub API", +"version": "v1alpha", +"version_module": true +} \ No newline at end of file diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/areainsights.v1.json b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/areainsights.v1.json new file mode 100644 index 0000000000000000000000000000000000000000..a6363d4c99c628884a4be9223f7519c66426f9fc --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/areainsights.v1.json @@ -0,0 +1,402 @@ +{ +"auth": { +"oauth2": { +"scopes": { +"https://www.googleapis.com/auth/cloud-platform": { +"description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." +} +} +} +}, +"basePath": "", +"baseUrl": "https://areainsights.googleapis.com/", +"batchPath": "batch", +"canonicalName": "Area Insights", +"description": "Places Aggregate API.", +"discoveryVersion": "v1", +"documentationLink": "https://developers.google.com/maps/documentation/places-aggregate/overview", +"fullyEncodeReservedExpansion": true, +"icons": { +"x16": "http://www.google.com/images/icons/product/search-16.gif", +"x32": "http://www.google.com/images/icons/product/search-32.gif" +}, +"id": "areainsights:v1", +"kind": "discovery#restDescription", +"mtlsRootUrl": "https://areainsights.mtls.googleapis.com/", +"name": "areainsights", +"ownerDomain": "google.com", +"ownerName": "Google", +"parameters": { +"$.xgafv": { +"description": "V1 error format.", +"enum": [ +"1", +"2" +], +"enumDescriptions": [ +"v1 error format", +"v2 error format" +], +"location": "query", +"type": "string" +}, +"access_token": { +"description": "OAuth access token.", +"location": "query", +"type": "string" +}, +"alt": { +"default": "json", +"description": "Data format for response.", +"enum": [ +"json", +"media", +"proto" +], +"enumDescriptions": [ +"Responses with Content-Type of application/json", +"Media download with context-dependent Content-Type", +"Responses with Content-Type of application/x-protobuf" +], +"location": "query", +"type": "string" +}, +"callback": { +"description": "JSONP", +"location": "query", +"type": "string" +}, +"fields": { +"description": "Selector specifying which fields to include in a partial response.", +"location": "query", +"type": "string" +}, +"key": { +"description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", +"location": "query", +"type": "string" +}, +"oauth_token": { +"description": "OAuth 2.0 token for the current user.", +"location": "query", +"type": "string" +}, +"prettyPrint": { +"default": "true", +"description": "Returns response with indentations and line breaks.", +"location": "query", +"type": "boolean" +}, +"quotaUser": { +"description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.", +"location": "query", +"type": "string" +}, +"uploadType": { +"description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", +"location": "query", +"type": "string" +}, +"upload_protocol": { +"description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", +"location": "query", +"type": "string" +} +}, +"protocol": "rest", +"resources": { +"v1": { +"methods": { +"computeInsights": { +"description": "This method lets you retrieve insights about areas using a variety of filter such as: area, place type, operating status, price level and ratings. Currently \"count\" and \"places\" insights are supported. With \"count\" insights you can answer questions such as \"How many restaurant are located in California that are operational, are inexpensive and have an average rating of at least 4 stars\" (see `insight` enum for more details). With \"places\" insights, you can determine which places match the requested filter. Clients can then use those place resource names to fetch more details about each individual place using the Places API.", +"flatPath": "v1:computeInsights", +"httpMethod": "POST", +"id": "areainsights.computeInsights", +"parameterOrder": [], +"parameters": {}, +"path": "v1:computeInsights", +"request": { +"$ref": "ComputeInsightsRequest" +}, +"response": { +"$ref": "ComputeInsightsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +}, +"revision": "20250622", +"rootUrl": "https://areainsights.googleapis.com/", +"schemas": { +"Circle": { +"description": "A circle is defined by a center point and radius in meters.", +"id": "Circle", +"properties": { +"latLng": { +"$ref": "LatLng", +"description": "The latitude and longitude of the center of the circle." +}, +"place": { +"description": "**Format:** Must be in the format `places/PLACE_ID`, where `PLACE_ID` is the unique identifier of a place. For example: `places/ChIJgUbEo8cfqokR5lP9_Wh_DaM`.", +"type": "string" +}, +"radius": { +"description": "Optional. The radius of the circle in meters", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"ComputeInsightsRequest": { +"description": "Request for the ComputeInsights RPC.", +"id": "ComputeInsightsRequest", +"properties": { +"filter": { +"$ref": "Filter", +"description": "Required. Insight filter." +}, +"insights": { +"description": "Required. Insights to compute. Currently only INSIGHT_COUNT and INSIGHT_PLACES are supported.", +"items": { +"enum": [ +"INSIGHT_UNSPECIFIED", +"INSIGHT_COUNT", +"INSIGHT_PLACES" +], +"enumDescriptions": [ +"Not Specified.", +"Count insight. When this insight is specified ComputeInsights returns the number of places that match the specified filter criteria. Example request: ``` { \"insights\": [\"INSIGHT_COUNT\"], \"filter\": { \"locationFilter\": { \"region\": { \"place\": \"places/ChIJPV4oX_65j4ARVW8IJ6IJUYs\" } }, \"typeFilter\": { \"includedTypes\": [\"restaurant\"] }, \"operatingStatus\": [\"OPERATING_STATUS_OPERATIONAL\"], \"priceLevels\": [ \"PRICE_LEVEL_FREE\", \"PRICE_LEVEL_INEXPENSIVE\" ], \"ratingFilter\": { \"minRating\": 4.0 } } } ``` Example response: ``` { \"count\": 1234 } ```", +"Return Places When this insight is specified ComputeInsights returns places IDs that match the specified filter criteria. Example request: ``` { \"insights\": [\"INSIGHT_PLACES\"], \"filter\": { \"locationFilter\": { \"region\": { \"place\": \"places/ChIJPV4oX_65j4ARVW8IJ6IJUYs\" } }, \"typeFilter\": { \"includedTypes\": [\"restaurant\"] }, \"operatingStatus\": [\"OPERATING_STATUS_OPERATIONAL\"], \"priceLevels\": [ \"PRICE_LEVEL_FREE\", \"PRICE_LEVEL_INEXPENSIVE\" ], \"ratingFilter\": { \"minRating\": 4.0 } } } ``` Example response: ``` { \"placeInsights\": [ {\"place\": \"places/ABC\"}, {\"place\": \"places/PQR\"}, {\"place\": \"places/XYZ\"} ] } ```" +], +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ComputeInsightsResponse": { +"description": "Response for the ComputeInsights RPC.", +"id": "ComputeInsightsResponse", +"properties": { +"count": { +"description": "Result for Insights.INSIGHT_COUNT.", +"format": "int64", +"type": "string" +}, +"placeInsights": { +"description": "Result for Insights.INSIGHT_PLACES.", +"items": { +"$ref": "PlaceInsight" +}, +"type": "array" +} +}, +"type": "object" +}, +"CustomArea": { +"description": "Custom Area.", +"id": "CustomArea", +"properties": { +"polygon": { +"$ref": "Polygon", +"description": "Required. The custom area represented as a polygon" +} +}, +"type": "object" +}, +"Filter": { +"description": "Filters for the ComputeInsights RPC.", +"id": "Filter", +"properties": { +"locationFilter": { +"$ref": "LocationFilter", +"description": "Required. Restricts results to places which are located in the area specified by location filters." +}, +"operatingStatus": { +"description": "Optional. Restricts results to places whose operating status is included on this list. If operating_status is not set, OPERATING_STATUS_OPERATIONAL is used as default.", +"items": { +"enum": [ +"OPERATING_STATUS_UNSPECIFIED", +"OPERATING_STATUS_OPERATIONAL", +"OPERATING_STATUS_PERMANENTLY_CLOSED", +"OPERATING_STATUS_TEMPORARILY_CLOSED" +], +"enumDescriptions": [ +"Not specified. This value should not be used.", +"The place is operational and its open during its defined hours.", +"The Place is no longer in business.", +"The place is temporarily closed and expected to reopen in the future." +], +"type": "string" +}, +"type": "array" +}, +"priceLevels": { +"description": "Optional. Restricts results to places whose price level is included on this list. If `price_levels` is not set, all price levels are included in the results.", +"items": { +"enum": [ +"PRICE_LEVEL_UNSPECIFIED", +"PRICE_LEVEL_FREE", +"PRICE_LEVEL_INEXPENSIVE", +"PRICE_LEVEL_MODERATE", +"PRICE_LEVEL_EXPENSIVE", +"PRICE_LEVEL_VERY_EXPENSIVE" +], +"enumDescriptions": [ +"Not specified. This value should not be used.", +"Place provides free services.", +"Place provides inexpensive services.", +"Place provides moderately priced services.", +"Place provides expensive services.", +"Place provides very expensive services." +], +"type": "string" +}, +"type": "array" +}, +"ratingFilter": { +"$ref": "RatingFilter", +"description": "Optional. Restricts results to places whose average user ratings are in the range specified by rating_filter. If rating_filter is not set, all ratings are included in the result." +}, +"typeFilter": { +"$ref": "TypeFilter", +"description": "Required. Place type filters." +} +}, +"type": "object" +}, +"LatLng": { +"description": "An object that represents a latitude/longitude pair. This is expressed as a pair of doubles to represent degrees latitude and degrees longitude. Unless specified otherwise, this object must conform to the WGS84 standard. Values must be within normalized ranges.", +"id": "LatLng", +"properties": { +"latitude": { +"description": "The latitude in degrees. It must be in the range [-90.0, +90.0].", +"format": "double", +"type": "number" +}, +"longitude": { +"description": "The longitude in degrees. It must be in the range [-180.0, +180.0].", +"format": "double", +"type": "number" +} +}, +"type": "object" +}, +"LocationFilter": { +"description": "Location filters. Specifies the area of interest for the insight.", +"id": "LocationFilter", +"properties": { +"circle": { +"$ref": "Circle", +"description": "Area as a circle." +}, +"customArea": { +"$ref": "CustomArea", +"description": "Custom area specified by a polygon." +}, +"region": { +"$ref": "Region", +"description": "Area as region." +} +}, +"type": "object" +}, +"PlaceInsight": { +"description": "Holds information about a place", +"id": "PlaceInsight", +"properties": { +"place": { +"description": "The unique identifier of the place. This resource name can be used to retrieve details about the place using the [Places API](https://developers.google.com/maps/documentation/places/web-service/reference/rest/v1/places/get).", +"type": "string" +} +}, +"type": "object" +}, +"Polygon": { +"description": "A polygon is represented by a series of connected coordinates in an counterclockwise ordered sequence. The coordinates form a closed loop and define a filled region. The first and last coordinates are equivalent, and they must contain identical values. The format is a simplified version of GeoJSON polygons (we only support one counterclockwise exterior ring).", +"id": "Polygon", +"properties": { +"coordinates": { +"description": "Optional. The coordinates that define the polygon.", +"items": { +"$ref": "LatLng" +}, +"type": "array" +} +}, +"type": "object" +}, +"RatingFilter": { +"description": "Average user rating filters.", +"id": "RatingFilter", +"properties": { +"maxRating": { +"description": "Optional. Restricts results to places whose average user rating is strictly less than or equal to max_rating. Values must be between 1.0 and 5.0.", +"format": "float", +"type": "number" +}, +"minRating": { +"description": "Optional. Restricts results to places whose average user rating is greater than or equal to min_rating. Values must be between 1.0 and 5.0.", +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"Region": { +"description": "A region is a geographic boundary such as: cities, postal codes, counties, states, etc.", +"id": "Region", +"properties": { +"place": { +"description": "The [place ID](https://developers.google.com/maps/documentation/places/web-service/place-id) of the geographic region. Not all region types are supported; see documentation for details. **Format:** Must be in the format `places/PLACE_ID`, where `PLACE_ID` is the unique identifier of a place. For example: `places/ChIJPV4oX_65j4ARVW8IJ6IJUYs`.", +"type": "string" +} +}, +"type": "object" +}, +"TypeFilter": { +"description": "Place type filters. Only Place types from [Table a](https://developers.google.com/maps/documentation/places/web-service/place-types#table-a) are supported. A place can only have a single primary type associated with it. For example, the primary type might be \"mexican_restaurant\" or \"steak_house\". Use included_primary_types and excluded_primary_types to filter the results on a place's primary type. A place can also have multiple type values associated with it. For example a restaurant might have the following types: \"seafood_restaurant\", \"restaurant\", \"food\", \"point_of_interest\", \"establishment\". Use included_types and excluded_types to filter the results on the list of types associated with a place. If a search is specified with multiple type restrictions, only places that satisfy all of the restrictions are returned. For example, if you specify {\"included_types\": [\"restaurant\"], \"excluded_primary_types\": [\"steak_house\"]}, the returned places provide \"restaurant\" related services but do not operate primarily as a \"steak_house\". If there are any conflicting types, i.e. a type appears in both included_types and excluded_types types or included_primary_types and excluded_primary_types, an INVALID_ARGUMENT error is returned. One of included_types or included_primary_types must be set.", +"id": "TypeFilter", +"properties": { +"excludedPrimaryTypes": { +"description": "Optional. Excluded primary Place types.", +"items": { +"type": "string" +}, +"type": "array" +}, +"excludedTypes": { +"description": "Optional. Excluded Place types.", +"items": { +"type": "string" +}, +"type": "array" +}, +"includedPrimaryTypes": { +"description": "Optional. Included primary Place types.", +"items": { +"type": "string" +}, +"type": "array" +}, +"includedTypes": { +"description": "Optional. Included Place types.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +} +}, +"servicePath": "", +"title": "Places Aggregate API", +"version": "v1", +"version_module": true +} \ No newline at end of file diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/assuredworkloads.v1.json b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/assuredworkloads.v1.json new file mode 100644 index 0000000000000000000000000000000000000000..f506441ef0ac079e95fa23c3b7050e84acde8070 --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/assuredworkloads.v1.json @@ -0,0 +1,2226 @@ +{ +"auth": { +"oauth2": { +"scopes": { +"https://www.googleapis.com/auth/cloud-platform": { +"description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." +} +} +} +}, +"basePath": "", +"baseUrl": "https://assuredworkloads.googleapis.com/", +"batchPath": "batch", +"canonicalName": "Assuredworkloads", +"description": "", +"discoveryVersion": "v1", +"documentationLink": "https://cloud.google.com/learnmoreurl", +"fullyEncodeReservedExpansion": true, +"icons": { +"x16": "http://www.google.com/images/icons/product/search-16.gif", +"x32": "http://www.google.com/images/icons/product/search-32.gif" +}, +"id": "assuredworkloads:v1", +"kind": "discovery#restDescription", +"mtlsRootUrl": "https://assuredworkloads.mtls.googleapis.com/", +"name": "assuredworkloads", +"ownerDomain": "google.com", +"ownerName": "Google", +"parameters": { +"$.xgafv": { +"description": "V1 error format.", +"enum": [ +"1", +"2" +], +"enumDescriptions": [ +"v1 error format", +"v2 error format" +], +"location": "query", +"type": "string" +}, +"access_token": { +"description": "OAuth access token.", +"location": "query", +"type": "string" +}, +"alt": { +"default": "json", +"description": "Data format for response.", +"enum": [ +"json", +"media", +"proto" +], +"enumDescriptions": [ +"Responses with Content-Type of application/json", +"Media download with context-dependent Content-Type", +"Responses with Content-Type of application/x-protobuf" +], +"location": "query", +"type": "string" +}, +"callback": { +"description": "JSONP", +"location": "query", +"type": "string" +}, +"fields": { +"description": "Selector specifying which fields to include in a partial response.", +"location": "query", +"type": "string" +}, +"key": { +"description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", +"location": "query", +"type": "string" +}, +"oauth_token": { +"description": "OAuth 2.0 token for the current user.", +"location": "query", +"type": "string" +}, +"prettyPrint": { +"default": "true", +"description": "Returns response with indentations and line breaks.", +"location": "query", +"type": "boolean" +}, +"quotaUser": { +"description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.", +"location": "query", +"type": "string" +}, +"uploadType": { +"description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", +"location": "query", +"type": "string" +}, +"upload_protocol": { +"description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", +"location": "query", +"type": "string" +} +}, +"protocol": "rest", +"resources": { +"organizations": { +"resources": { +"locations": { +"resources": { +"operations": { +"methods": { +"get": { +"description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", +"flatPath": "v1/organizations/{organizationsId}/locations/{locationsId}/operations/{operationsId}", +"httpMethod": "GET", +"id": "assuredworkloads.organizations.locations.operations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource.", +"location": "path", +"pattern": "^organizations/[^/]+/locations/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.", +"flatPath": "v1/organizations/{organizationsId}/locations/{locationsId}/operations", +"httpMethod": "GET", +"id": "assuredworkloads.organizations.locations.operations.list", +"parameterOrder": [ +"name" +], +"parameters": { +"filter": { +"description": "The standard list filter.", +"location": "query", +"type": "string" +}, +"name": { +"description": "The name of the operation's parent resource.", +"location": "path", +"pattern": "^organizations/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The standard list page size.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The standard list page token.", +"location": "query", +"type": "string" +}, +"returnPartialSuccess": { +"description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `\"projects/example/locations/-\"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1/{+name}/operations", +"response": { +"$ref": "GoogleLongrunningListOperationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"workloads": { +"methods": { +"analyzeWorkloadMove": { +"description": "Analyzes a hypothetical move of a source resource to a target workload to surface compliance risks. The analysis is best effort and is not guaranteed to be exhaustive.", +"flatPath": "v1/organizations/{organizationsId}/locations/{locationsId}/workloads/{workloadsId}:analyzeWorkloadMove", +"httpMethod": "GET", +"id": "assuredworkloads.organizations.locations.workloads.analyzeWorkloadMove", +"parameterOrder": [ +"target" +], +"parameters": { +"assetTypes": { +"description": "Optional. List of asset types to be analyzed, including and under the source resource. If empty, all assets are analyzed. The complete list of asset types is available [here](https://cloud.google.com/asset-inventory/docs/supported-asset-types).", +"location": "query", +"repeated": true, +"type": "string" +}, +"pageSize": { +"description": "Optional. Page size. If a value is not specified, the default value of 10 is used. The maximum value is 50.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. The page token from the previous response. It needs to be passed in the second and following requests.", +"location": "query", +"type": "string" +}, +"project": { +"description": "The source type is a project. Specify the project's relative resource name, formatted as either a project number or a project ID: \"projects/{PROJECT_NUMBER}\" or \"projects/{PROJECT_ID}\" For example: \"projects/951040570662\" when specifying a project number, or \"projects/my-project-123\" when specifying a project ID.", +"location": "query", +"type": "string" +}, +"target": { +"description": "Required. The resource ID of the folder-based destination workload. This workload is where the source resource will hypothetically be moved to. Specify the workload's relative resource name, formatted as: \"organizations/{ORGANIZATION_ID}/locations/{LOCATION_ID}/workloads/{WORKLOAD_ID}\" For example: \"organizations/123/locations/us-east1/workloads/assured-workload-2\"", +"location": "path", +"pattern": "^organizations/[^/]+/locations/[^/]+/workloads/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+target}:analyzeWorkloadMove", +"response": { +"$ref": "GoogleCloudAssuredworkloadsV1AnalyzeWorkloadMoveResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"create": { +"description": "Creates Assured Workload.", +"flatPath": "v1/organizations/{organizationsId}/locations/{locationsId}/workloads", +"httpMethod": "POST", +"id": "assuredworkloads.organizations.locations.workloads.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"externalId": { +"description": "Optional. A identifier associated with the workload and underlying projects which allows for the break down of billing costs for a workload. The value provided for the identifier will add a label to the workload and contained projects with the identifier as the value.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The resource name of the new Workload's parent. Must be of the form `organizations/{org_id}/locations/{location_id}`.", +"location": "path", +"pattern": "^organizations/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/workloads", +"request": { +"$ref": "GoogleCloudAssuredworkloadsV1Workload" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes the workload. Make sure that workload's direct children are already in a deleted state, otherwise the request will fail with a FAILED_PRECONDITION error. In addition to assuredworkloads.workload.delete permission, the user should also have orgpolicy.policy.set permission on the deleted folder to remove Assured Workloads OrgPolicies.", +"flatPath": "v1/organizations/{organizationsId}/locations/{locationsId}/workloads/{workloadsId}", +"httpMethod": "DELETE", +"id": "assuredworkloads.organizations.locations.workloads.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"etag": { +"description": "Optional. The etag of the workload. If this is provided, it must match the server's etag.", +"location": "query", +"type": "string" +}, +"name": { +"description": "Required. The `name` field is used to identify the workload. Format: organizations/{org_id}/locations/{location_id}/workloads/{workload_id}", +"location": "path", +"pattern": "^organizations/[^/]+/locations/[^/]+/workloads/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"enableComplianceUpdates": { +"description": "This endpoint enables Assured Workloads service to offer compliance updates for the folder based assured workload. It sets up an Assured Workloads Service Agent, having permissions to read compliance controls (for example: Org Policies) applied on the workload. The caller must have `resourcemanager.folders.getIamPolicy` and `resourcemanager.folders.setIamPolicy` permissions on the assured workload folder.", +"flatPath": "v1/organizations/{organizationsId}/locations/{locationsId}/workloads/{workloadsId}:enableComplianceUpdates", +"httpMethod": "PUT", +"id": "assuredworkloads.organizations.locations.workloads.enableComplianceUpdates", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The `name` field is used to identify the workload. Format: organizations/{org_id}/locations/{location_id}/workloads/{workload_id}", +"location": "path", +"pattern": "^organizations/[^/]+/locations/[^/]+/workloads/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:enableComplianceUpdates", +"response": { +"$ref": "GoogleCloudAssuredworkloadsV1EnableComplianceUpdatesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"enableResourceMonitoring": { +"description": "Enable resource violation monitoring for a workload.", +"flatPath": "v1/organizations/{organizationsId}/locations/{locationsId}/workloads/{workloadsId}:enableResourceMonitoring", +"httpMethod": "POST", +"id": "assuredworkloads.organizations.locations.workloads.enableResourceMonitoring", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The `name` field is used to identify the workload. Format: organizations/{org_id}/locations/{location_id}/workloads/{workload_id}", +"location": "path", +"pattern": "^organizations/[^/]+/locations/[^/]+/workloads/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:enableResourceMonitoring", +"response": { +"$ref": "GoogleCloudAssuredworkloadsV1EnableResourceMonitoringResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets Assured Workload associated with a CRM Node", +"flatPath": "v1/organizations/{organizationsId}/locations/{locationsId}/workloads/{workloadsId}", +"httpMethod": "GET", +"id": "assuredworkloads.organizations.locations.workloads.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the Workload to fetch. This is the workloads's relative path in the API, formatted as \"organizations/{organization_id}/locations/{location_id}/workloads/{workload_id}\". For example, \"organizations/123/locations/us-east1/workloads/assured-workload-1\".", +"location": "path", +"pattern": "^organizations/[^/]+/locations/[^/]+/workloads/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleCloudAssuredworkloadsV1Workload" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists Assured Workloads under a CRM Node.", +"flatPath": "v1/organizations/{organizationsId}/locations/{locationsId}/workloads", +"httpMethod": "GET", +"id": "assuredworkloads.organizations.locations.workloads.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "A custom filter for filtering by properties of a workload. At this time, only filtering by labels is supported.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Page size.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Page token returned from previous request. Page token contains context from previous request. Page token needs to be passed in the second and following requests.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. Parent Resource to list workloads from. Must be of the form `organizations/{org_id}/locations/{location}`.", +"location": "path", +"pattern": "^organizations/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/workloads", +"response": { +"$ref": "GoogleCloudAssuredworkloadsV1ListWorkloadsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"mutatePartnerPermissions": { +"description": "Update the permissions settings for an existing partner workload. For force updates don't set etag field in the Workload. Only one update operation per workload can be in progress.", +"flatPath": "v1/organizations/{organizationsId}/locations/{locationsId}/workloads/{workloadsId}:mutatePartnerPermissions", +"httpMethod": "PATCH", +"id": "assuredworkloads.organizations.locations.workloads.mutatePartnerPermissions", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The `name` field is used to identify the workload. Format: organizations/{org_id}/locations/{location_id}/workloads/{workload_id}", +"location": "path", +"pattern": "^organizations/[^/]+/locations/[^/]+/workloads/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:mutatePartnerPermissions", +"request": { +"$ref": "GoogleCloudAssuredworkloadsV1MutatePartnerPermissionsRequest" +}, +"response": { +"$ref": "GoogleCloudAssuredworkloadsV1Workload" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates an existing workload. Currently allows updating of workload display_name and labels. For force updates don't set etag field in the Workload. Only one update operation per workload can be in progress.", +"flatPath": "v1/organizations/{organizationsId}/locations/{locationsId}/workloads/{workloadsId}", +"httpMethod": "PATCH", +"id": "assuredworkloads.organizations.locations.workloads.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Optional. The resource name of the workload. Format: organizations/{organization}/locations/{location}/workloads/{workload} Read-only.", +"location": "path", +"pattern": "^organizations/[^/]+/locations/[^/]+/workloads/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Required. The list of fields to be updated.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "GoogleCloudAssuredworkloadsV1Workload" +}, +"response": { +"$ref": "GoogleCloudAssuredworkloadsV1Workload" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"restrictAllowedResources": { +"description": "Restrict the list of resources allowed in the Workload environment. The current list of allowed products can be found at https://cloud.google.com/assured-workloads/docs/supported-products In addition to assuredworkloads.workload.update permission, the user should also have orgpolicy.policy.set permission on the folder resource to use this functionality.", +"flatPath": "v1/organizations/{organizationsId}/locations/{locationsId}/workloads/{workloadsId}:restrictAllowedResources", +"httpMethod": "POST", +"id": "assuredworkloads.organizations.locations.workloads.restrictAllowedResources", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the Workload. This is the workloads's relative path in the API, formatted as \"organizations/{organization_id}/locations/{location_id}/workloads/{workload_id}\". For example, \"organizations/123/locations/us-east1/workloads/assured-workload-1\".", +"location": "path", +"pattern": "^organizations/[^/]+/locations/[^/]+/workloads/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:restrictAllowedResources", +"request": { +"$ref": "GoogleCloudAssuredworkloadsV1RestrictAllowedResourcesRequest" +}, +"response": { +"$ref": "GoogleCloudAssuredworkloadsV1RestrictAllowedResourcesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"updates": { +"methods": { +"apply": { +"description": "This endpoint creates a new operation to apply the given update.", +"flatPath": "v1/organizations/{organizationsId}/locations/{locationsId}/workloads/{workloadsId}/updates/{updatesId}:apply", +"httpMethod": "POST", +"id": "assuredworkloads.organizations.locations.workloads.updates.apply", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the update. Format: organizations/{org_id}/locations/{location_id}/workloads/{workload_id}/updates/{update_id}", +"location": "path", +"pattern": "^organizations/[^/]+/locations/[^/]+/workloads/[^/]+/updates/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:apply", +"request": { +"$ref": "GoogleCloudAssuredworkloadsV1ApplyWorkloadUpdateRequest" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "This endpoint lists all updates for the given workload.", +"flatPath": "v1/organizations/{organizationsId}/locations/{locationsId}/workloads/{workloadsId}/updates", +"httpMethod": "GET", +"id": "assuredworkloads.organizations.locations.workloads.updates.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "Page size. The default value is 20 and the max allowed value is 100.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Page token returned from previous request.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. organizations/{org_id}/locations/{location_id}/workloads/{workload_id}", +"location": "path", +"pattern": "^organizations/[^/]+/locations/[^/]+/workloads/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/updates", +"response": { +"$ref": "GoogleCloudAssuredworkloadsV1ListWorkloadUpdatesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"violations": { +"methods": { +"acknowledge": { +"description": "Acknowledges an existing violation. By acknowledging a violation, users acknowledge the existence of a compliance violation in their workload and decide to ignore it due to a valid business justification. Acknowledgement is a permanent operation and it cannot be reverted.", +"flatPath": "v1/organizations/{organizationsId}/locations/{locationsId}/workloads/{workloadsId}/violations/{violationsId}:acknowledge", +"httpMethod": "POST", +"id": "assuredworkloads.organizations.locations.workloads.violations.acknowledge", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the Violation to acknowledge. Format: organizations/{organization}/locations/{location}/workloads/{workload}/violations/{violation}", +"location": "path", +"pattern": "^organizations/[^/]+/locations/[^/]+/workloads/[^/]+/violations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:acknowledge", +"request": { +"$ref": "GoogleCloudAssuredworkloadsV1AcknowledgeViolationRequest" +}, +"response": { +"$ref": "GoogleCloudAssuredworkloadsV1AcknowledgeViolationResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Retrieves Assured Workload Violation based on ID.", +"flatPath": "v1/organizations/{organizationsId}/locations/{locationsId}/workloads/{workloadsId}/violations/{violationsId}", +"httpMethod": "GET", +"id": "assuredworkloads.organizations.locations.workloads.violations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the Violation to fetch (ie. Violation.name). Format: organizations/{organization}/locations/{location}/workloads/{workload}/violations/{violation}", +"location": "path", +"pattern": "^organizations/[^/]+/locations/[^/]+/workloads/[^/]+/violations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleCloudAssuredworkloadsV1Violation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists the Violations in the AssuredWorkload Environment. Callers may also choose to read across multiple Workloads as per [AIP-159](https://google.aip.dev/159) by using '-' (the hyphen or dash character) as a wildcard character instead of workload-id in the parent. Format `organizations/{org_id}/locations/{location}/workloads/-`", +"flatPath": "v1/organizations/{organizationsId}/locations/{locationsId}/workloads/{workloadsId}/violations", +"httpMethod": "GET", +"id": "assuredworkloads.organizations.locations.workloads.violations.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Optional. A custom filter for filtering by the Violations properties.", +"location": "query", +"type": "string" +}, +"interval.endTime": { +"description": "The end of the time window.", +"format": "google-datetime", +"location": "query", +"type": "string" +}, +"interval.startTime": { +"description": "The start of the time window.", +"format": "google-datetime", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Optional. Page size.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. Page token returned from previous request.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The Workload name. Format `organizations/{org_id}/locations/{location}/workloads/{workload}`.", +"location": "path", +"pattern": "^organizations/[^/]+/locations/[^/]+/workloads/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/violations", +"response": { +"$ref": "GoogleCloudAssuredworkloadsV1ListViolationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +} +} +} +} +} +}, +"revision": "20260129", +"rootUrl": "https://assuredworkloads.googleapis.com/", +"schemas": { +"GoogleCloudAssuredworkloadsV1AcknowledgeViolationRequest": { +"description": "Request for acknowledging the violation", +"id": "GoogleCloudAssuredworkloadsV1AcknowledgeViolationRequest", +"properties": { +"acknowledgeType": { +"description": "Optional. Acknowledge type of specified violation.", +"enum": [ +"ACKNOWLEDGE_TYPE_UNSPECIFIED", +"SINGLE_VIOLATION", +"EXISTING_CHILD_RESOURCE_VIOLATIONS" +], +"enumDescriptions": [ +"Acknowledge type unspecified.", +"Acknowledge only the specific violation.", +"Acknowledge specified orgPolicy violation and also associated resource violations." +], +"type": "string" +}, +"comment": { +"description": "Required. Business justification explaining the need for violation acknowledgement", +"type": "string" +}, +"nonCompliantOrgPolicy": { +"deprecated": true, +"description": "Optional. This field is deprecated and will be removed in future version of the API. Name of the OrgPolicy which was modified with non-compliant change and resulted in this violation. Format: projects/{project_number}/policies/{constraint_name} folders/{folder_id}/policies/{constraint_name} organizations/{organization_id}/policies/{constraint_name}", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAssuredworkloadsV1AcknowledgeViolationResponse": { +"description": "Response for violation acknowledgement", +"id": "GoogleCloudAssuredworkloadsV1AcknowledgeViolationResponse", +"properties": {}, +"type": "object" +}, +"GoogleCloudAssuredworkloadsV1AnalyzeWorkloadMoveResponse": { +"description": "Response containing the analysis results for the hypothetical resource move.", +"id": "GoogleCloudAssuredworkloadsV1AnalyzeWorkloadMoveResponse", +"properties": { +"assetMoveAnalyses": { +"description": "List of analysis results for each asset in scope.", +"items": { +"$ref": "GoogleCloudAssuredworkloadsV1AssetMoveAnalysis" +}, +"type": "array" +}, +"nextPageToken": { +"description": "The next page token. Is empty if the last page is reached.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAssuredworkloadsV1ApplyWorkloadUpdateOperationMetadata": { +"description": "Operation metadata to give request details of ApplyWorkloadUpdate.", +"id": "GoogleCloudAssuredworkloadsV1ApplyWorkloadUpdateOperationMetadata", +"properties": { +"action": { +"description": "Optional. The time the operation was created.", +"enum": [ +"WORKLOAD_UPDATE_ACTION_UNSPECIFIED", +"APPLY" +], +"enumDescriptions": [ +"Unspecified value.", +"The update is applied." +], +"type": "string" +}, +"createTime": { +"description": "Optional. Output only. The time the operation was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"updateName": { +"description": "Required. The resource name of the update", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAssuredworkloadsV1ApplyWorkloadUpdateRequest": { +"description": "Request to apply update to a workload.", +"id": "GoogleCloudAssuredworkloadsV1ApplyWorkloadUpdateRequest", +"properties": { +"action": { +"description": "The action to be performed on the update.", +"enum": [ +"WORKLOAD_UPDATE_ACTION_UNSPECIFIED", +"APPLY" +], +"enumDescriptions": [ +"Unspecified value.", +"The update is applied." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAssuredworkloadsV1ApplyWorkloadUpdateResponse": { +"description": "Response for ApplyWorkloadUpdate endpoint.", +"id": "GoogleCloudAssuredworkloadsV1ApplyWorkloadUpdateResponse", +"properties": { +"appliedUpdate": { +"$ref": "GoogleCloudAssuredworkloadsV1WorkloadUpdate", +"description": "The update that was applied." +} +}, +"type": "object" +}, +"GoogleCloudAssuredworkloadsV1AssetMoveAnalysis": { +"description": "Represents move analysis results for an asset.", +"id": "GoogleCloudAssuredworkloadsV1AssetMoveAnalysis", +"properties": { +"analysisGroups": { +"description": "List of eligible analyses performed for the asset.", +"items": { +"$ref": "GoogleCloudAssuredworkloadsV1MoveAnalysisGroup" +}, +"type": "array" +}, +"asset": { +"description": "The full resource name of the asset being analyzed. Example: //compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1", +"type": "string" +}, +"assetType": { +"description": "Type of the asset being analyzed. Possible values will be among the ones listed [here](https://cloud.google.com/asset-inventory/docs/supported-asset-types).", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAssuredworkloadsV1CreateWorkloadOperationMetadata": { +"description": "Operation metadata to give request details of CreateWorkload.", +"id": "GoogleCloudAssuredworkloadsV1CreateWorkloadOperationMetadata", +"properties": { +"complianceRegime": { +"description": "Optional. Compliance controls that should be applied to the resources managed by the workload.", +"enum": [ +"COMPLIANCE_REGIME_UNSPECIFIED", +"IL4", +"CJIS", +"FEDRAMP_HIGH", +"FEDRAMP_MODERATE", +"US_REGIONAL_ACCESS", +"HIPAA", +"HITRUST", +"EU_REGIONS_AND_SUPPORT", +"CA_REGIONS_AND_SUPPORT", +"ITAR", +"AU_REGIONS_AND_US_SUPPORT", +"ASSURED_WORKLOADS_FOR_PARTNERS", +"ISR_REGIONS", +"ISR_REGIONS_AND_SUPPORT", +"CA_PROTECTED_B", +"IL5", +"IL2", +"JP_REGIONS_AND_SUPPORT", +"KSA_REGIONS_AND_SUPPORT_WITH_SOVEREIGNTY_CONTROLS", +"REGIONAL_CONTROLS", +"HEALTHCARE_AND_LIFE_SCIENCES_CONTROLS", +"HEALTHCARE_AND_LIFE_SCIENCES_CONTROLS_US_SUPPORT", +"IRS_1075", +"CANADA_CONTROLLED_GOODS", +"AUSTRALIA_DATA_BOUNDARY_AND_SUPPORT", +"CANADA_DATA_BOUNDARY_AND_SUPPORT", +"DATA_BOUNDARY_FOR_CANADA_CONTROLLED_GOODS", +"DATA_BOUNDARY_FOR_CANADA_PROTECTED_B", +"DATA_BOUNDARY_FOR_CJIS", +"DATA_BOUNDARY_FOR_FEDRAMP_HIGH", +"DATA_BOUNDARY_FOR_FEDRAMP_MODERATE", +"DATA_BOUNDARY_FOR_IL2", +"DATA_BOUNDARY_FOR_IL4", +"DATA_BOUNDARY_FOR_IL5", +"DATA_BOUNDARY_FOR_IRS_PUBLICATION_1075", +"DATA_BOUNDARY_FOR_ITAR", +"EU_DATA_BOUNDARY_AND_SUPPORT", +"ISRAEL_DATA_BOUNDARY_AND_SUPPORT", +"US_DATA_BOUNDARY_AND_SUPPORT", +"US_DATA_BOUNDARY_FOR_HEALTHCARE_AND_LIFE_SCIENCES", +"US_DATA_BOUNDARY_FOR_HEALTHCARE_AND_LIFE_SCIENCES_WITH_SUPPORT", +"KSA_DATA_BOUNDARY_WITH_ACCESS_JUSTIFICATIONS", +"REGIONAL_DATA_BOUNDARY", +"JAPAN_DATA_BOUNDARY" +], +"enumDeprecated": [ +false, +false, +false, +false, +false, +false, +true, +true, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false +], +"enumDescriptions": [ +"Unknown compliance regime.", +"Information protection as per DoD IL4 requirements.", +"Criminal Justice Information Services (CJIS) Security policies.", +"FedRAMP High data protection controls", +"FedRAMP Moderate data protection controls", +"Assured Workloads For US Regions data protection controls", +"[DEPRECATED] Health Insurance Portability and Accountability Act controls", +"[DEPRECATED] Health Information Trust Alliance controls", +"Assured Workloads For EU Regions and Support controls", +"Assured Workloads For Canada Regions and Support controls", +"International Traffic in Arms Regulations", +"Assured Workloads for Australia Regions and Support controls", +"Assured Workloads for Partners;", +"Assured Workloads for Israel Regions", +"Assured Workloads for Israel Regions", +"Assured Workloads for Canada Protected B regime", +"Information protection as per DoD IL5 requirements.", +"Information protection as per DoD IL2 requirements.", +"Assured Workloads for Japan Regions", +"Assured Workloads Sovereign Controls KSA", +"Assured Workloads for Regional Controls", +"Healthcare and Life Science Controls", +"Healthcare and Life Science Controls with US Support", +"Internal Revenue Service 1075 controls", +"Canada Controlled Goods", +"Australia Data Boundary and Support", +"Canada Data Boundary and Support", +"Data Boundary for Canada Controlled Goods", +"Data Boundary for Canada Protected B", +"Data Boundary for CJIS", +"Data Boundary for FedRAMP High", +"Data Boundary for FedRAMP Moderate", +"Data Boundary for IL2", +"Data Boundary for IL4", +"Data Boundary for IL5", +"Data Boundary for IRS Publication 1075", +"Data Boundary for ITAR", +"Data Boundary for EU Regions and Support", +"Data Boundary for Israel Regions", +"Data Boundary for US Regions and Support", +"Data Boundary for US Healthcare and Life Sciences", +"Data Boundary for US Healthcare and Life Sciences with Support", +"KSA Data Boundary with Access Justifications", +"Regional Data Boundary", +"JAPAN Data Boundary" +], +"type": "string" +}, +"createTime": { +"description": "Optional. Time when the operation was created.", +"format": "google-datetime", +"type": "string" +}, +"displayName": { +"description": "Optional. The display name of the workload.", +"type": "string" +}, +"parent": { +"description": "Optional. The parent of the workload.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAssuredworkloadsV1EnableComplianceUpdatesResponse": { +"description": "Response for EnableComplianceUpdates endpoint.", +"id": "GoogleCloudAssuredworkloadsV1EnableComplianceUpdatesResponse", +"properties": {}, +"type": "object" +}, +"GoogleCloudAssuredworkloadsV1EnableResourceMonitoringResponse": { +"description": "Response for EnableResourceMonitoring endpoint.", +"id": "GoogleCloudAssuredworkloadsV1EnableResourceMonitoringResponse", +"properties": {}, +"type": "object" +}, +"GoogleCloudAssuredworkloadsV1ListViolationsResponse": { +"description": "Response of ListViolations endpoint.", +"id": "GoogleCloudAssuredworkloadsV1ListViolationsResponse", +"properties": { +"nextPageToken": { +"description": "The next page token. Returns empty if reached the last page.", +"type": "string" +}, +"violations": { +"description": "List of Violations under a Workload.", +"items": { +"$ref": "GoogleCloudAssuredworkloadsV1Violation" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudAssuredworkloadsV1ListWorkloadUpdatesResponse": { +"description": "Response of listing the compliance updates per workload with pagination.", +"id": "GoogleCloudAssuredworkloadsV1ListWorkloadUpdatesResponse", +"properties": { +"nextPageToken": { +"description": "The next page token. Return empty if reached the last page.", +"type": "string" +}, +"workloadUpdates": { +"description": "The list of workload updates for a given workload.", +"items": { +"$ref": "GoogleCloudAssuredworkloadsV1WorkloadUpdate" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudAssuredworkloadsV1ListWorkloadsResponse": { +"description": "Response of ListWorkloads endpoint.", +"id": "GoogleCloudAssuredworkloadsV1ListWorkloadsResponse", +"properties": { +"nextPageToken": { +"description": "The next page token. Return empty if reached the last page.", +"type": "string" +}, +"workloads": { +"description": "List of Workloads under a given parent.", +"items": { +"$ref": "GoogleCloudAssuredworkloadsV1Workload" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudAssuredworkloadsV1MoveAnalysisGroup": { +"description": "Represents a logical group of checks performed for an asset. If successful, the group contains the analysis result, otherwise it contains an error with the failure reason.", +"id": "GoogleCloudAssuredworkloadsV1MoveAnalysisGroup", +"properties": { +"analysisResult": { +"$ref": "GoogleCloudAssuredworkloadsV1MoveAnalysisResult", +"description": "Result of a successful analysis." +}, +"displayName": { +"description": "Name of the analysis group.", +"type": "string" +}, +"error": { +"$ref": "GoogleRpcStatus", +"description": "Error details for a failed analysis." +} +}, +"type": "object" +}, +"GoogleCloudAssuredworkloadsV1MoveAnalysisResult": { +"description": "Represents the successful move analysis results for a group.", +"id": "GoogleCloudAssuredworkloadsV1MoveAnalysisResult", +"properties": { +"blockers": { +"description": "List of blockers. If not resolved, these will result in compliance violations in the target.", +"items": { +"$ref": "GoogleCloudAssuredworkloadsV1MoveImpact" +}, +"type": "array" +}, +"warnings": { +"description": "List of warnings. These are risks that may or may not result in compliance violations.", +"items": { +"$ref": "GoogleCloudAssuredworkloadsV1MoveImpact" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudAssuredworkloadsV1MoveImpact": { +"description": "Represents the impact of moving the asset to the target.", +"id": "GoogleCloudAssuredworkloadsV1MoveImpact", +"properties": { +"detail": { +"description": "Explanation of the impact.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAssuredworkloadsV1MutatePartnerPermissionsRequest": { +"description": "Request for updating permission settings for a partner workload.", +"id": "GoogleCloudAssuredworkloadsV1MutatePartnerPermissionsRequest", +"properties": { +"etag": { +"description": "Optional. The etag of the workload. If this is provided, it must match the server's etag.", +"type": "string" +}, +"partnerPermissions": { +"$ref": "GoogleCloudAssuredworkloadsV1WorkloadPartnerPermissions", +"description": "Required. The partner permissions to be updated." +}, +"updateMask": { +"description": "Required. The list of fields to be updated. E.g. update_mask { paths: \"partner_permissions.data_logs_viewer\"}", +"format": "google-fieldmask", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAssuredworkloadsV1OrgPolicy": { +"description": "This assured workload service object is used to represent the org policy attached to a resource. It servces the same purpose as the orgpolicy.v2.Policy object but with functionality that is limited to what is supported by Assured Workloads(e.g. only one rule under one OrgPolicy object, no conditions, etc).", +"id": "GoogleCloudAssuredworkloadsV1OrgPolicy", +"properties": { +"constraint": { +"description": "The constraint name of the OrgPolicy. e.g. \"constraints/gcp.resourceLocations\".", +"type": "string" +}, +"inherit": { +"description": "If `inherit` is true, policy rules of the lowest ancestor in the resource hierarchy chain are inherited. If it is false, policy rules are not inherited.", +"type": "boolean" +}, +"reset": { +"description": "Ignores policies set above this resource and restores to the `constraint_default` value. `reset` can only be true when `rules` is empty and `inherit` is false.", +"type": "boolean" +}, +"resource": { +"description": "Resource that the OrgPolicy attaches to. Format: folders/123\" projects/123\".", +"type": "string" +}, +"rule": { +"$ref": "GoogleCloudAssuredworkloadsV1OrgPolicyPolicyRule", +"description": "The rule of the OrgPolicy." +} +}, +"type": "object" +}, +"GoogleCloudAssuredworkloadsV1OrgPolicyPolicyRule": { +"description": "A rule used to express this policy.", +"id": "GoogleCloudAssuredworkloadsV1OrgPolicyPolicyRule", +"properties": { +"allowAll": { +"description": "ListPolicy only when all values are allowed.", +"type": "boolean" +}, +"denyAll": { +"description": "ListPolicy only when all values are denied.", +"type": "boolean" +}, +"enforce": { +"description": "BooleanPolicy only.", +"type": "boolean" +}, +"values": { +"$ref": "GoogleCloudAssuredworkloadsV1OrgPolicyPolicyRuleStringValues", +"description": "ListPolicy only when custom values are specified." +} +}, +"type": "object" +}, +"GoogleCloudAssuredworkloadsV1OrgPolicyPolicyRuleStringValues": { +"description": "The values allowed for a ListPolicy.", +"id": "GoogleCloudAssuredworkloadsV1OrgPolicyPolicyRuleStringValues", +"properties": { +"allowedValues": { +"description": "List of values allowed at this resource.", +"items": { +"type": "string" +}, +"type": "array" +}, +"deniedValues": { +"description": "List of values denied at this resource.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudAssuredworkloadsV1OrgPolicyUpdate": { +"description": "Represents an update for an org policy control applied on an Assured Workload resource. The inherited org policy is not considered.", +"id": "GoogleCloudAssuredworkloadsV1OrgPolicyUpdate", +"properties": { +"appliedPolicy": { +"$ref": "GoogleCloudAssuredworkloadsV1OrgPolicy", +"description": "The org policy currently applied on the assured workload resource." +}, +"suggestedPolicy": { +"$ref": "GoogleCloudAssuredworkloadsV1OrgPolicy", +"description": "The suggested org policy that replaces the applied policy." +} +}, +"type": "object" +}, +"GoogleCloudAssuredworkloadsV1RestrictAllowedResourcesRequest": { +"description": "Request for restricting list of available resources in Workload environment.", +"id": "GoogleCloudAssuredworkloadsV1RestrictAllowedResourcesRequest", +"properties": { +"restrictionType": { +"description": "Required. The type of restriction for using gcp products in the Workload environment.", +"enum": [ +"RESTRICTION_TYPE_UNSPECIFIED", +"ALLOW_ALL_GCP_RESOURCES", +"ALLOW_COMPLIANT_RESOURCES", +"APPEND_COMPLIANT_RESOURCES" +], +"enumDescriptions": [ +"Unknown restriction type.", +"Allow the use all of all gcp products, irrespective of the compliance posture. This effectively removes gcp.restrictServiceUsage OrgPolicy on the AssuredWorkloads Folder.", +"Based on Workload's compliance regime, allowed list changes. See - https://cloud.google.com/assured-workloads/docs/supported-products for the list of supported resources.", +"Similar to ALLOW_COMPLIANT_RESOURCES but adds the list of compliant resources to the existing list of compliant resources. Effective org-policy of the Folder is considered to ensure there is no disruption to the existing customer workflows." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAssuredworkloadsV1RestrictAllowedResourcesResponse": { +"description": "Response for restricting the list of allowed resources.", +"id": "GoogleCloudAssuredworkloadsV1RestrictAllowedResourcesResponse", +"properties": {}, +"type": "object" +}, +"GoogleCloudAssuredworkloadsV1UpdateDetails": { +"description": "The details of the update.", +"id": "GoogleCloudAssuredworkloadsV1UpdateDetails", +"properties": { +"orgPolicyUpdate": { +"$ref": "GoogleCloudAssuredworkloadsV1OrgPolicyUpdate", +"description": "Update to one org policy, e.g. gcp.resourceLocation." +} +}, +"type": "object" +}, +"GoogleCloudAssuredworkloadsV1Violation": { +"description": "Workload monitoring Violation.", +"id": "GoogleCloudAssuredworkloadsV1Violation", +"properties": { +"acknowledged": { +"description": "A boolean that indicates if the violation is acknowledged", +"type": "boolean" +}, +"acknowledgementTime": { +"description": "Optional. Timestamp when this violation was acknowledged first. Check exception_contexts to find the last time the violation was acknowledged when there are more than one violations. This field will be absent when acknowledged field is marked as false.", +"format": "google-datetime", +"type": "string" +}, +"associatedOrgPolicyViolationId": { +"description": "Optional. Output only. Violation Id of the org-policy violation due to which the resource violation is caused. Empty for org-policy violations.", +"readOnly": true, +"type": "string" +}, +"auditLogLink": { +"description": "Output only. Immutable. Audit Log Link for violated resource Format: https://console.cloud.google.com/logs/query;query={logName}{protoPayload.resourceName}{timeRange}{folder}", +"readOnly": true, +"type": "string" +}, +"beginTime": { +"description": "Output only. Time of the event which triggered the Violation.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"category": { +"description": "Output only. Category under which this violation is mapped. e.g. Location, Service Usage, Access, Encryption, etc.", +"readOnly": true, +"type": "string" +}, +"description": { +"description": "Output only. Description for the Violation. e.g. OrgPolicy gcp.resourceLocations has non compliant value.", +"readOnly": true, +"type": "string" +}, +"exceptionAuditLogLink": { +"description": "Output only. Immutable. Audit Log link to find business justification provided for violation exception. Format: https://console.cloud.google.com/logs/query;query={logName}{protoPayload.resourceName}{protoPayload.methodName}{timeRange}{organization}", +"readOnly": true, +"type": "string" +}, +"exceptionContexts": { +"description": "Output only. List of all the exception detail added for the violation.", +"items": { +"$ref": "GoogleCloudAssuredworkloadsV1ViolationExceptionContext" +}, +"readOnly": true, +"type": "array" +}, +"name": { +"description": "Output only. Immutable. Name of the Violation. Format: organizations/{organization}/locations/{location}/workloads/{workload_id}/violations/{violations_id}", +"readOnly": true, +"type": "string" +}, +"nonCompliantOrgPolicy": { +"description": "Output only. Immutable. Name of the OrgPolicy which was modified with non-compliant change and resulted this violation. Format: projects/{project_number}/policies/{constraint_name} folders/{folder_id}/policies/{constraint_name} organizations/{organization_id}/policies/{constraint_name}", +"readOnly": true, +"type": "string" +}, +"orgPolicyConstraint": { +"deprecated": true, +"description": "Output only. Immutable. The org-policy-constraint that was incorrectly changed, which resulted in this violation.", +"readOnly": true, +"type": "string" +}, +"parentProjectNumber": { +"description": "Optional. Output only. Parent project number where resource is present. Empty for org-policy violations.", +"readOnly": true, +"type": "string" +}, +"remediation": { +"$ref": "GoogleCloudAssuredworkloadsV1ViolationRemediation", +"description": "Output only. Compliance violation remediation", +"readOnly": true +}, +"resolveTime": { +"description": "Output only. Time of the event which fixed the Violation. If the violation is ACTIVE this will be empty.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"resourceName": { +"description": "Optional. Output only. Name of the resource like //storage.googleapis.com/myprojectxyz-testbucket. Empty for org-policy violations.", +"readOnly": true, +"type": "string" +}, +"resourceType": { +"description": "Optional. Output only. Type of the resource like compute.googleapis.com/Disk, etc. Empty for org-policy violations.", +"readOnly": true, +"type": "string" +}, +"state": { +"description": "Output only. State of the violation", +"enum": [ +"STATE_UNSPECIFIED", +"RESOLVED", +"UNRESOLVED", +"EXCEPTION" +], +"enumDescriptions": [ +"Unspecified state.", +"Violation is resolved.", +"Violation is Unresolved", +"Violation is Exception" +], +"readOnly": true, +"type": "string" +}, +"updateTime": { +"description": "Output only. The last time when the Violation record was updated.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"violationType": { +"description": "Output only. Type of the violation", +"enum": [ +"VIOLATION_TYPE_UNSPECIFIED", +"ORG_POLICY", +"RESOURCE" +], +"enumDescriptions": [ +"Unspecified type.", +"Org Policy Violation.", +"Resource Violation." +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAssuredworkloadsV1ViolationExceptionContext": { +"description": "Violation exception detail.", +"id": "GoogleCloudAssuredworkloadsV1ViolationExceptionContext", +"properties": { +"acknowledgementTime": { +"description": "Timestamp when the violation was acknowledged.", +"format": "google-datetime", +"type": "string" +}, +"comment": { +"description": "Business justification provided towards the acknowledgement of the violation.", +"type": "string" +}, +"userName": { +"description": "Name of the user (or service account) who acknowledged the violation.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAssuredworkloadsV1ViolationRemediation": { +"description": "Represents remediation guidance to resolve compliance violation for AssuredWorkload", +"id": "GoogleCloudAssuredworkloadsV1ViolationRemediation", +"properties": { +"compliantValues": { +"description": "Values that can resolve the violation For example: for list org policy violations, this will either be the list of allowed or denied values", +"items": { +"type": "string" +}, +"type": "array" +}, +"instructions": { +"$ref": "GoogleCloudAssuredworkloadsV1ViolationRemediationInstructions", +"description": "Required. Remediation instructions to resolve violations" +}, +"remediationType": { +"description": "Output only. Reemediation type based on the type of org policy values violated", +"enum": [ +"REMEDIATION_TYPE_UNSPECIFIED", +"REMEDIATION_BOOLEAN_ORG_POLICY_VIOLATION", +"REMEDIATION_LIST_ALLOWED_VALUES_ORG_POLICY_VIOLATION", +"REMEDIATION_LIST_DENIED_VALUES_ORG_POLICY_VIOLATION", +"REMEDIATION_RESTRICT_CMEK_CRYPTO_KEY_PROJECTS_ORG_POLICY_VIOLATION", +"REMEDIATION_RESOURCE_VIOLATION", +"REMEDIATION_RESOURCE_VIOLATION_NON_CMEK_SERVICES" +], +"enumDescriptions": [ +"Unspecified remediation type", +"Remediation type for boolean org policy", +"Remediation type for list org policy which have allowed values in the monitoring rule", +"Remediation type for list org policy which have denied values in the monitoring rule", +"Remediation type for gcp.restrictCmekCryptoKeyProjects", +"Remediation type for resource violation.", +"Remediation type for resource violation due to gcp.restrictNonCmekServices" +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAssuredworkloadsV1ViolationRemediationInstructions": { +"description": "Instructions to remediate violation", +"id": "GoogleCloudAssuredworkloadsV1ViolationRemediationInstructions", +"properties": { +"consoleInstructions": { +"$ref": "GoogleCloudAssuredworkloadsV1ViolationRemediationInstructionsConsole", +"description": "Remediation instructions to resolve violation via cloud console" +}, +"gcloudInstructions": { +"$ref": "GoogleCloudAssuredworkloadsV1ViolationRemediationInstructionsGcloud", +"description": "Remediation instructions to resolve violation via gcloud cli" +} +}, +"type": "object" +}, +"GoogleCloudAssuredworkloadsV1ViolationRemediationInstructionsConsole": { +"description": "Remediation instructions to resolve violation via cloud console", +"id": "GoogleCloudAssuredworkloadsV1ViolationRemediationInstructionsConsole", +"properties": { +"additionalLinks": { +"description": "Additional urls for more information about steps", +"items": { +"type": "string" +}, +"type": "array" +}, +"consoleUris": { +"description": "Link to console page where violations can be resolved", +"items": { +"type": "string" +}, +"type": "array" +}, +"steps": { +"description": "Steps to resolve violation via cloud console", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudAssuredworkloadsV1ViolationRemediationInstructionsGcloud": { +"description": "Remediation instructions to resolve violation via gcloud cli", +"id": "GoogleCloudAssuredworkloadsV1ViolationRemediationInstructionsGcloud", +"properties": { +"additionalLinks": { +"description": "Additional urls for more information about steps", +"items": { +"type": "string" +}, +"type": "array" +}, +"gcloudCommands": { +"description": "Gcloud command to resolve violation", +"items": { +"type": "string" +}, +"type": "array" +}, +"steps": { +"description": "Steps to resolve violation via gcloud cli", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudAssuredworkloadsV1Workload": { +"description": "A Workload object for managing highly regulated workloads of cloud customers.", +"id": "GoogleCloudAssuredworkloadsV1Workload", +"properties": { +"billingAccount": { +"description": "Optional. The billing account used for the resources which are direct children of workload. This billing account is initially associated with the resources created as part of Workload creation. After the initial creation of these resources, the customer can change the assigned billing account. The resource name has the form `billingAccounts/{billing_account_id}`. For example, `billingAccounts/012345-567890-ABCDEF`.", +"type": "string" +}, +"complianceRegime": { +"description": "Required. Immutable. Compliance Regime associated with this workload.", +"enum": [ +"COMPLIANCE_REGIME_UNSPECIFIED", +"IL4", +"CJIS", +"FEDRAMP_HIGH", +"FEDRAMP_MODERATE", +"US_REGIONAL_ACCESS", +"HIPAA", +"HITRUST", +"EU_REGIONS_AND_SUPPORT", +"CA_REGIONS_AND_SUPPORT", +"ITAR", +"AU_REGIONS_AND_US_SUPPORT", +"ASSURED_WORKLOADS_FOR_PARTNERS", +"ISR_REGIONS", +"ISR_REGIONS_AND_SUPPORT", +"CA_PROTECTED_B", +"IL5", +"IL2", +"JP_REGIONS_AND_SUPPORT", +"KSA_REGIONS_AND_SUPPORT_WITH_SOVEREIGNTY_CONTROLS", +"REGIONAL_CONTROLS", +"HEALTHCARE_AND_LIFE_SCIENCES_CONTROLS", +"HEALTHCARE_AND_LIFE_SCIENCES_CONTROLS_US_SUPPORT", +"IRS_1075", +"CANADA_CONTROLLED_GOODS", +"AUSTRALIA_DATA_BOUNDARY_AND_SUPPORT", +"CANADA_DATA_BOUNDARY_AND_SUPPORT", +"DATA_BOUNDARY_FOR_CANADA_CONTROLLED_GOODS", +"DATA_BOUNDARY_FOR_CANADA_PROTECTED_B", +"DATA_BOUNDARY_FOR_CJIS", +"DATA_BOUNDARY_FOR_FEDRAMP_HIGH", +"DATA_BOUNDARY_FOR_FEDRAMP_MODERATE", +"DATA_BOUNDARY_FOR_IL2", +"DATA_BOUNDARY_FOR_IL4", +"DATA_BOUNDARY_FOR_IL5", +"DATA_BOUNDARY_FOR_IRS_PUBLICATION_1075", +"DATA_BOUNDARY_FOR_ITAR", +"EU_DATA_BOUNDARY_AND_SUPPORT", +"ISRAEL_DATA_BOUNDARY_AND_SUPPORT", +"US_DATA_BOUNDARY_AND_SUPPORT", +"US_DATA_BOUNDARY_FOR_HEALTHCARE_AND_LIFE_SCIENCES", +"US_DATA_BOUNDARY_FOR_HEALTHCARE_AND_LIFE_SCIENCES_WITH_SUPPORT", +"KSA_DATA_BOUNDARY_WITH_ACCESS_JUSTIFICATIONS", +"REGIONAL_DATA_BOUNDARY", +"JAPAN_DATA_BOUNDARY" +], +"enumDeprecated": [ +false, +false, +false, +false, +false, +false, +true, +true, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false +], +"enumDescriptions": [ +"Unknown compliance regime.", +"Information protection as per DoD IL4 requirements.", +"Criminal Justice Information Services (CJIS) Security policies.", +"FedRAMP High data protection controls", +"FedRAMP Moderate data protection controls", +"Assured Workloads For US Regions data protection controls", +"[DEPRECATED] Health Insurance Portability and Accountability Act controls", +"[DEPRECATED] Health Information Trust Alliance controls", +"Assured Workloads For EU Regions and Support controls", +"Assured Workloads For Canada Regions and Support controls", +"International Traffic in Arms Regulations", +"Assured Workloads for Australia Regions and Support controls", +"Assured Workloads for Partners;", +"Assured Workloads for Israel Regions", +"Assured Workloads for Israel Regions", +"Assured Workloads for Canada Protected B regime", +"Information protection as per DoD IL5 requirements.", +"Information protection as per DoD IL2 requirements.", +"Assured Workloads for Japan Regions", +"Assured Workloads Sovereign Controls KSA", +"Assured Workloads for Regional Controls", +"Healthcare and Life Science Controls", +"Healthcare and Life Science Controls with US Support", +"Internal Revenue Service 1075 controls", +"Canada Controlled Goods", +"Australia Data Boundary and Support", +"Canada Data Boundary and Support", +"Data Boundary for Canada Controlled Goods", +"Data Boundary for Canada Protected B", +"Data Boundary for CJIS", +"Data Boundary for FedRAMP High", +"Data Boundary for FedRAMP Moderate", +"Data Boundary for IL2", +"Data Boundary for IL4", +"Data Boundary for IL5", +"Data Boundary for IRS Publication 1075", +"Data Boundary for ITAR", +"Data Boundary for EU Regions and Support", +"Data Boundary for Israel Regions", +"Data Boundary for US Regions and Support", +"Data Boundary for US Healthcare and Life Sciences", +"Data Boundary for US Healthcare and Life Sciences with Support", +"KSA Data Boundary with Access Justifications", +"Regional Data Boundary", +"JAPAN Data Boundary" +], +"type": "string" +}, +"complianceStatus": { +"$ref": "GoogleCloudAssuredworkloadsV1WorkloadComplianceStatus", +"description": "Output only. Count of active Violations in the Workload.", +"readOnly": true +}, +"compliantButDisallowedServices": { +"description": "Output only. Urls for services which are compliant for this Assured Workload, but which are currently disallowed by the ResourceUsageRestriction org policy. Invoke RestrictAllowedResources endpoint to allow your project developers to use these services in their environment.", +"items": { +"type": "string" +}, +"readOnly": true, +"type": "array" +}, +"createTime": { +"description": "Output only. Immutable. The Workload creation timestamp.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"displayName": { +"description": "Required. The user-assigned display name of the Workload. When present it must be between 4 to 30 characters. Allowed characters are: lowercase and uppercase letters, numbers, hyphen, and spaces. Example: My Workload", +"type": "string" +}, +"ekmProvisioningResponse": { +"$ref": "GoogleCloudAssuredworkloadsV1WorkloadEkmProvisioningResponse", +"description": "Output only. Represents the Ekm Provisioning State of the given workload.", +"readOnly": true +}, +"enableSovereignControls": { +"description": "Optional. Indicates the sovereignty status of the given workload. Currently meant to be used by Europe/Canada customers.", +"type": "boolean" +}, +"etag": { +"description": "Optional. ETag of the workload, it is calculated on the basis of the Workload contents. It will be used in Update & Delete operations.", +"type": "string" +}, +"kajEnrollmentState": { +"description": "Output only. Represents the KAJ enrollment state of the given workload.", +"enum": [ +"KAJ_ENROLLMENT_STATE_UNSPECIFIED", +"KAJ_ENROLLMENT_STATE_PENDING", +"KAJ_ENROLLMENT_STATE_COMPLETE" +], +"enumDescriptions": [ +"Default State for KAJ Enrollment.", +"Pending State for KAJ Enrollment.", +"Complete State for KAJ Enrollment." +], +"readOnly": true, +"type": "string" +}, +"kmsSettings": { +"$ref": "GoogleCloudAssuredworkloadsV1WorkloadKMSSettings", +"deprecated": true, +"description": "Input only. Settings used to create a CMEK crypto key. When set, a project with a KMS CMEK key is provisioned. This field is deprecated as of Feb 28, 2022. In order to create a Keyring, callers should specify, ENCRYPTION_KEYS_PROJECT or KEYRING in ResourceSettings.resource_type field." +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. Labels applied to the workload.", +"type": "object" +}, +"name": { +"description": "Optional. The resource name of the workload. Format: organizations/{organization}/locations/{location}/workloads/{workload} Read-only.", +"type": "string" +}, +"partner": { +"description": "Optional. Partner regime associated with this workload.", +"enum": [ +"PARTNER_UNSPECIFIED", +"LOCAL_CONTROLS_BY_S3NS", +"SOVEREIGN_CONTROLS_BY_T_SYSTEMS", +"SOVEREIGN_CONTROLS_BY_SIA_MINSAIT", +"SOVEREIGN_CONTROLS_BY_PSN", +"SOVEREIGN_CONTROLS_BY_CNTXT", +"SOVEREIGN_CONTROLS_BY_CNTXT_NO_EKM", +"SPAIN_DATA_BOUNDARY_BY_TELEFONICA" +], +"enumDescriptions": [ +"", +"Enum representing S3NS (Thales) partner.", +"Enum representing T_SYSTEM (TSI) partner.", +"Enum representing SIA_MINSAIT (Indra) partner.", +"Enum representing PSN (TIM) partner.", +"Enum representing CNTXT (Kingdom of Saudi Arabia) partner.", +"Enum representing CNTXT (Kingdom of Saudi Arabia) partner offering without EKM.", +"Enum representing Telefonica (Spain) partner." +], +"type": "string" +}, +"partnerPermissions": { +"$ref": "GoogleCloudAssuredworkloadsV1WorkloadPartnerPermissions", +"description": "Optional. Permissions granted to the AW Partner SA account for the customer workload" +}, +"partnerServicesBillingAccount": { +"description": "Optional. Billing account necessary for purchasing services from Sovereign Partners. This field is required for creating SIA/PSN/CNTXT partner workloads. The caller should have 'billing.resourceAssociations.create' IAM permission on this billing-account. The format of this string is billingAccounts/AAAAAA-BBBBBB-CCCCCC", +"type": "string" +}, +"provisionedResourcesParent": { +"description": "Input only. The parent resource for the resources managed by this Assured Workload. May be either empty or a folder resource which is a child of the Workload parent. If not specified all resources are created under the parent organization. Format: folders/{folder_id}", +"type": "string" +}, +"resourceMonitoringEnabled": { +"description": "Output only. Indicates whether resource monitoring is enabled for workload or not. It is true when Resource feed is subscribed to AWM topic and AWM Service Agent Role is binded to AW Service Account for resource Assured workload.", +"readOnly": true, +"type": "boolean" +}, +"resourceSettings": { +"description": "Input only. Resource properties that are used to customize workload resources. These properties (such as custom project id) will be used to create workload resources if possible. This field is optional.", +"items": { +"$ref": "GoogleCloudAssuredworkloadsV1WorkloadResourceSettings" +}, +"type": "array" +}, +"resources": { +"description": "Output only. The resources associated with this workload. These resources will be created when creating the workload. If any of the projects already exist, the workload creation will fail. Always read only.", +"items": { +"$ref": "GoogleCloudAssuredworkloadsV1WorkloadResourceInfo" +}, +"readOnly": true, +"type": "array" +}, +"saaEnrollmentResponse": { +"$ref": "GoogleCloudAssuredworkloadsV1WorkloadSaaEnrollmentResponse", +"description": "Output only. Represents the SAA enrollment response of the given workload. SAA enrollment response is queried during GetWorkload call. In failure cases, user friendly error message is shown in SAA details page.", +"readOnly": true +}, +"violationNotificationsEnabled": { +"description": "Optional. Indicates whether the e-mail notification for a violation is enabled for a workload. This value will be by default True, and if not present will be considered as true. This should only be updated via updateWorkload call. Any Changes to this field during the createWorkload call will not be honored. This will always be true while creating the workload.", +"type": "boolean" +}, +"workloadOptions": { +"$ref": "GoogleCloudAssuredworkloadsV1WorkloadWorkloadOptions", +"description": "Optional. Options to be set for the given created workload." +} +}, +"type": "object" +}, +"GoogleCloudAssuredworkloadsV1WorkloadComplianceStatus": { +"description": "Represents the Compliance Status of this workload", +"id": "GoogleCloudAssuredworkloadsV1WorkloadComplianceStatus", +"properties": { +"acknowledgedResourceViolationCount": { +"description": "Number of current resource violations which are not acknowledged.", +"format": "int32", +"type": "integer" +}, +"acknowledgedViolationCount": { +"description": "Number of current orgPolicy violations which are acknowledged.", +"format": "int32", +"type": "integer" +}, +"activeResourceViolationCount": { +"description": "Number of current resource violations which are acknowledged.", +"format": "int32", +"type": "integer" +}, +"activeViolationCount": { +"description": "Number of current orgPolicy violations which are not acknowledged.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"GoogleCloudAssuredworkloadsV1WorkloadEkmProvisioningResponse": { +"description": "External key management systems(EKM) Provisioning response", +"id": "GoogleCloudAssuredworkloadsV1WorkloadEkmProvisioningResponse", +"properties": { +"ekmProvisioningErrorDomain": { +"description": "Indicates Ekm provisioning error if any.", +"enum": [ +"EKM_PROVISIONING_ERROR_DOMAIN_UNSPECIFIED", +"UNSPECIFIED_ERROR", +"GOOGLE_SERVER_ERROR", +"EXTERNAL_USER_ERROR", +"EXTERNAL_PARTNER_ERROR", +"TIMEOUT_ERROR" +], +"enumDescriptions": [ +"No error domain", +"Error but domain is unspecified.", +"Internal logic breaks within provisioning code.", +"Error occurred with the customer not granting permission/creating resource.", +"Error occurred within the partner's provisioning cluster.", +"Resource wasn't provisioned in the required 7 day time period" +], +"type": "string" +}, +"ekmProvisioningErrorMapping": { +"description": "Detailed error message if Ekm provisioning fails", +"enum": [ +"EKM_PROVISIONING_ERROR_MAPPING_UNSPECIFIED", +"INVALID_SERVICE_ACCOUNT", +"MISSING_METRICS_SCOPE_ADMIN_PERMISSION", +"MISSING_EKM_CONNECTION_ADMIN_PERMISSION" +], +"enumDescriptions": [ +"Error is unspecified.", +"Service account is used is invalid.", +"Iam permission monitoring.MetricsScopeAdmin wasn't applied.", +"Iam permission cloudkms.ekmConnectionsAdmin wasn't applied." +], +"type": "string" +}, +"ekmProvisioningState": { +"description": "Output only. Indicates Ekm enrollment Provisioning of a given workload.", +"enum": [ +"EKM_PROVISIONING_STATE_UNSPECIFIED", +"EKM_PROVISIONING_STATE_PENDING", +"EKM_PROVISIONING_STATE_FAILED", +"EKM_PROVISIONING_STATE_COMPLETED" +], +"enumDescriptions": [ +"Default State for Ekm Provisioning", +"Pending State for Ekm Provisioning", +"Failed State for Ekm Provisioning", +"Completed State for Ekm Provisioning" +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAssuredworkloadsV1WorkloadKMSSettings": { +"deprecated": true, +"description": "Settings specific to the Key Management Service.", +"id": "GoogleCloudAssuredworkloadsV1WorkloadKMSSettings", +"properties": { +"nextRotationTime": { +"description": "Required. Input only. Immutable. The time at which the Key Management Service will automatically create a new version of the crypto key and mark it as the primary.", +"format": "google-datetime", +"type": "string" +}, +"rotationPeriod": { +"description": "Required. Input only. Immutable. [next_rotation_time] will be advanced by this period when the Key Management Service automatically rotates a key. Must be at least 24 hours and at most 876,000 hours.", +"format": "google-duration", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAssuredworkloadsV1WorkloadPartnerPermissions": { +"description": "Permissions granted to the AW Partner SA account for the customer workload", +"id": "GoogleCloudAssuredworkloadsV1WorkloadPartnerPermissions", +"properties": { +"accessTransparencyLogsSupportCaseViewer": { +"description": "Optional. Allow partner to view support case details for an AXT log", +"type": "boolean" +}, +"assuredWorkloadsMonitoring": { +"description": "Optional. Allow partner to view violation alerts.", +"type": "boolean" +}, +"dataLogsViewer": { +"description": "Optional. Allow the partner to view inspectability logs and monitoring violations.", +"type": "boolean" +}, +"serviceAccessApprover": { +"description": "Optional. Allow partner to view access approval logs.", +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleCloudAssuredworkloadsV1WorkloadResourceInfo": { +"description": "Represent the resources that are children of this Workload.", +"id": "GoogleCloudAssuredworkloadsV1WorkloadResourceInfo", +"properties": { +"resourceId": { +"description": "Output only. Resource identifier. For a project this represents project_number.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"resourceType": { +"description": "Indicates the type of resource.", +"enum": [ +"RESOURCE_TYPE_UNSPECIFIED", +"CONSUMER_PROJECT", +"CONSUMER_FOLDER", +"ENCRYPTION_KEYS_PROJECT", +"KEYRING" +], +"enumDeprecated": [ +false, +true, +false, +false, +false +], +"enumDescriptions": [ +"Unknown resource type.", +"Deprecated. Existing workloads will continue to support this, but new CreateWorkloadRequests should not specify this as an input value.", +"Consumer Folder.", +"Consumer project containing encryption keys.", +"Keyring resource that hosts encryption keys." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAssuredworkloadsV1WorkloadResourceSettings": { +"description": "Represent the custom settings for the resources to be created.", +"id": "GoogleCloudAssuredworkloadsV1WorkloadResourceSettings", +"properties": { +"displayName": { +"description": "User-assigned resource display name. If not empty it will be used to create a resource with the specified name.", +"type": "string" +}, +"resourceId": { +"description": "Resource identifier. For a project this represents project_id. If the project is already taken, the workload creation will fail. For KeyRing, this represents the keyring_id. For a folder, don't set this value as folder_id is assigned by Google.", +"type": "string" +}, +"resourceType": { +"description": "Indicates the type of resource. This field should be specified to correspond the id to the right project type (CONSUMER_PROJECT or ENCRYPTION_KEYS_PROJECT)", +"enum": [ +"RESOURCE_TYPE_UNSPECIFIED", +"CONSUMER_PROJECT", +"CONSUMER_FOLDER", +"ENCRYPTION_KEYS_PROJECT", +"KEYRING" +], +"enumDeprecated": [ +false, +true, +false, +false, +false +], +"enumDescriptions": [ +"Unknown resource type.", +"Deprecated. Existing workloads will continue to support this, but new CreateWorkloadRequests should not specify this as an input value.", +"Consumer Folder.", +"Consumer project containing encryption keys.", +"Keyring resource that hosts encryption keys." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAssuredworkloadsV1WorkloadSaaEnrollmentResponse": { +"description": "Signed Access Approvals (SAA) enrollment response.", +"id": "GoogleCloudAssuredworkloadsV1WorkloadSaaEnrollmentResponse", +"properties": { +"setupErrors": { +"description": "Indicates SAA enrollment setup error if any.", +"items": { +"enum": [ +"SETUP_ERROR_UNSPECIFIED", +"ERROR_INVALID_BASE_SETUP", +"ERROR_MISSING_EXTERNAL_SIGNING_KEY", +"ERROR_NOT_ALL_SERVICES_ENROLLED", +"ERROR_SETUP_CHECK_FAILED" +], +"enumDescriptions": [ +"Unspecified.", +"Invalid states for all customers, to be redirected to AA UI for additional details.", +"Returned when there is not an EKM key configured.", +"Returned when there are no enrolled services or the customer is enrolled in CAA only for a subset of services.", +"Returned when exception was encountered during evaluation of other criteria." +], +"type": "string" +}, +"type": "array" +}, +"setupStatus": { +"description": "Output only. Indicates SAA enrollment status of a given workload.", +"enum": [ +"SETUP_STATE_UNSPECIFIED", +"STATUS_PENDING", +"STATUS_COMPLETE" +], +"enumDescriptions": [ +"Unspecified.", +"SAA enrollment pending.", +"SAA enrollment comopleted." +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAssuredworkloadsV1WorkloadUpdate": { +"description": "A workload update is a change to the workload's compliance configuration.", +"id": "GoogleCloudAssuredworkloadsV1WorkloadUpdate", +"properties": { +"createTime": { +"description": "The time the update was created.", +"format": "google-datetime", +"type": "string" +}, +"details": { +"$ref": "GoogleCloudAssuredworkloadsV1UpdateDetails", +"description": "The details of the update." +}, +"name": { +"description": "Output only. Immutable. Identifier. Resource name of the WorkloadUpdate. Format: organizations/{organization}/locations/{location}/workloads/{workload}/updates/{update}", +"readOnly": true, +"type": "string" +}, +"state": { +"description": "Output only. The state of the update.", +"enum": [ +"STATE_UNSPECIFIED", +"AVAILABLE", +"APPLIED", +"WITHDRAWN" +], +"enumDescriptions": [ +"Unspecified.", +"The update is available to be applied.", +"The update has been applied.", +"The update has been withdrawn by the service." +], +"readOnly": true, +"type": "string" +}, +"updateTime": { +"description": "The time the update was last updated.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAssuredworkloadsV1WorkloadWorkloadOptions": { +"description": "Options to be set for the given created workload.", +"id": "GoogleCloudAssuredworkloadsV1WorkloadWorkloadOptions", +"properties": { +"kajEnrollmentType": { +"description": "Optional. Specifies type of KAJ Enrollment if provided.", +"enum": [ +"KAJ_ENROLLMENT_TYPE_UNSPECIFIED", +"KEY_ACCESS_TRANSPARENCY_OFF" +], +"enumDescriptions": [ +"KAJ Enrollment type is unspecified", +"KAT sets External, Hardware, and Software key feature logging only to TRUE." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleLongrunningListOperationsResponse": { +"description": "The response message for Operations.ListOperations.", +"id": "GoogleLongrunningListOperationsResponse", +"properties": { +"nextPageToken": { +"description": "The standard List next-page token.", +"type": "string" +}, +"operations": { +"description": "A list of operations that matches the specified filter in the request.", +"items": { +"$ref": "GoogleLongrunningOperation" +}, +"type": "array" +}, +"unreachable": { +"description": "Unordered list. Unreachable resources. Populated when the request sets `ListOperationsRequest.return_partial_success` and reads across collections. For example, when attempting to list all resources across all supported locations.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleLongrunningOperation": { +"description": "This resource represents a long-running operation that is the result of a network API call.", +"id": "GoogleLongrunningOperation", +"properties": { +"done": { +"description": "If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.", +"type": "boolean" +}, +"error": { +"$ref": "GoogleRpcStatus", +"description": "The error result of the operation in case of failure or cancellation." +}, +"metadata": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.", +"type": "object" +}, +"name": { +"description": "The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.", +"type": "string" +}, +"response": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "The normal, successful response of the operation. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.", +"type": "object" +} +}, +"type": "object" +}, +"GoogleProtobufEmpty": { +"description": "A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }", +"id": "GoogleProtobufEmpty", +"properties": {}, +"type": "object" +}, +"GoogleRpcStatus": { +"description": "The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors).", +"id": "GoogleRpcStatus", +"properties": { +"code": { +"description": "The status code, which should be an enum value of google.rpc.Code.", +"format": "int32", +"type": "integer" +}, +"details": { +"description": "A list of messages that carry the error details. There is a common set of message types for APIs to use.", +"items": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.", +"type": "string" +} +}, +"type": "object" +} +}, +"servicePath": "", +"title": "Assured Workloads API", +"version": "v1", +"version_module": true +} \ No newline at end of file diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/assuredworkloads.v1beta1.json b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/assuredworkloads.v1beta1.json new file mode 100644 index 0000000000000000000000000000000000000000..b41ea139e4083a656cb4664b43e33058ee29fe61 --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/assuredworkloads.v1beta1.json @@ -0,0 +1,2264 @@ +{ +"auth": { +"oauth2": { +"scopes": { +"https://www.googleapis.com/auth/cloud-platform": { +"description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." +} +} +} +}, +"basePath": "", +"baseUrl": "https://assuredworkloads.googleapis.com/", +"batchPath": "batch", +"canonicalName": "Assuredworkloads", +"description": "", +"discoveryVersion": "v1", +"documentationLink": "https://cloud.google.com/learnmoreurl", +"fullyEncodeReservedExpansion": true, +"icons": { +"x16": "http://www.google.com/images/icons/product/search-16.gif", +"x32": "http://www.google.com/images/icons/product/search-32.gif" +}, +"id": "assuredworkloads:v1beta1", +"kind": "discovery#restDescription", +"mtlsRootUrl": "https://assuredworkloads.mtls.googleapis.com/", +"name": "assuredworkloads", +"ownerDomain": "google.com", +"ownerName": "Google", +"parameters": { +"$.xgafv": { +"description": "V1 error format.", +"enum": [ +"1", +"2" +], +"enumDescriptions": [ +"v1 error format", +"v2 error format" +], +"location": "query", +"type": "string" +}, +"access_token": { +"description": "OAuth access token.", +"location": "query", +"type": "string" +}, +"alt": { +"default": "json", +"description": "Data format for response.", +"enum": [ +"json", +"media", +"proto" +], +"enumDescriptions": [ +"Responses with Content-Type of application/json", +"Media download with context-dependent Content-Type", +"Responses with Content-Type of application/x-protobuf" +], +"location": "query", +"type": "string" +}, +"callback": { +"description": "JSONP", +"location": "query", +"type": "string" +}, +"fields": { +"description": "Selector specifying which fields to include in a partial response.", +"location": "query", +"type": "string" +}, +"key": { +"description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", +"location": "query", +"type": "string" +}, +"oauth_token": { +"description": "OAuth 2.0 token for the current user.", +"location": "query", +"type": "string" +}, +"prettyPrint": { +"default": "true", +"description": "Returns response with indentations and line breaks.", +"location": "query", +"type": "boolean" +}, +"quotaUser": { +"description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.", +"location": "query", +"type": "string" +}, +"uploadType": { +"description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", +"location": "query", +"type": "string" +}, +"upload_protocol": { +"description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", +"location": "query", +"type": "string" +} +}, +"protocol": "rest", +"resources": { +"organizations": { +"resources": { +"locations": { +"resources": { +"operations": { +"methods": { +"get": { +"description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", +"flatPath": "v1beta1/organizations/{organizationsId}/locations/{locationsId}/operations/{operationsId}", +"httpMethod": "GET", +"id": "assuredworkloads.organizations.locations.operations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource.", +"location": "path", +"pattern": "^organizations/[^/]+/locations/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+name}", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.", +"flatPath": "v1beta1/organizations/{organizationsId}/locations/{locationsId}/operations", +"httpMethod": "GET", +"id": "assuredworkloads.organizations.locations.operations.list", +"parameterOrder": [ +"name" +], +"parameters": { +"filter": { +"description": "The standard list filter.", +"location": "query", +"type": "string" +}, +"name": { +"description": "The name of the operation's parent resource.", +"location": "path", +"pattern": "^organizations/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The standard list page size.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The standard list page token.", +"location": "query", +"type": "string" +}, +"returnPartialSuccess": { +"description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `\"projects/example/locations/-\"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1beta1/{+name}/operations", +"response": { +"$ref": "GoogleLongrunningListOperationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"workloads": { +"methods": { +"analyzeWorkloadMove": { +"description": "Analyzes a hypothetical move of a source resource to a target workload to surface compliance risks. The analysis is best effort and is not guaranteed to be exhaustive.", +"flatPath": "v1beta1/organizations/{organizationsId}/locations/{locationsId}/workloads/{workloadsId}:analyzeWorkloadMove", +"httpMethod": "GET", +"id": "assuredworkloads.organizations.locations.workloads.analyzeWorkloadMove", +"parameterOrder": [ +"target" +], +"parameters": { +"assetTypes": { +"description": "Optional. List of asset types to be analyzed, including and under the source resource. If empty, all assets are analyzed. The complete list of asset types is available [here](https://cloud.google.com/asset-inventory/docs/supported-asset-types).", +"location": "query", +"repeated": true, +"type": "string" +}, +"pageSize": { +"description": "Optional. Page size. If a value is not specified, the default value of 10 is used. The maximum value is 50.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. The page token from the previous response. It needs to be passed in the second and following requests.", +"location": "query", +"type": "string" +}, +"project": { +"description": "The source type is a project. Specify the project's relative resource name, formatted as either a project number or a project ID: \"projects/{PROJECT_NUMBER}\" or \"projects/{PROJECT_ID}\" For example: \"projects/951040570662\" when specifying a project number, or \"projects/my-project-123\" when specifying a project ID.", +"location": "query", +"type": "string" +}, +"target": { +"description": "Required. The resource ID of the folder-based destination workload. This workload is where the source resource will hypothetically be moved to. Specify the workload's relative resource name, formatted as: \"organizations/{ORGANIZATION_ID}/locations/{LOCATION_ID}/workloads/{WORKLOAD_ID}\" For example: \"organizations/123/locations/us-east1/workloads/assured-workload-2\"", +"location": "path", +"pattern": "^organizations/[^/]+/locations/[^/]+/workloads/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+target}:analyzeWorkloadMove", +"response": { +"$ref": "GoogleCloudAssuredworkloadsV1beta1AnalyzeWorkloadMoveResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"create": { +"description": "Creates Assured Workload.", +"flatPath": "v1beta1/organizations/{organizationsId}/locations/{locationsId}/workloads", +"httpMethod": "POST", +"id": "assuredworkloads.organizations.locations.workloads.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"externalId": { +"description": "Optional. A identifier associated with the workload and underlying projects which allows for the break down of billing costs for a workload. The value provided for the identifier will add a label to the workload and contained projects with the identifier as the value.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The resource name of the new Workload's parent. Must be of the form `organizations/{org_id}/locations/{location_id}`.", +"location": "path", +"pattern": "^organizations/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+parent}/workloads", +"request": { +"$ref": "GoogleCloudAssuredworkloadsV1beta1Workload" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes the workload. Make sure that workload's direct children are already in a deleted state, otherwise the request will fail with a FAILED_PRECONDITION error. In addition to assuredworkloads.workload.delete permission, the user should also have orgpolicy.policy.set permission on the deleted folder to remove Assured Workloads OrgPolicies.", +"flatPath": "v1beta1/organizations/{organizationsId}/locations/{locationsId}/workloads/{workloadsId}", +"httpMethod": "DELETE", +"id": "assuredworkloads.organizations.locations.workloads.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"etag": { +"description": "Optional. The etag of the workload. If this is provided, it must match the server's etag.", +"location": "query", +"type": "string" +}, +"name": { +"description": "Required. The `name` field is used to identify the workload. Format: organizations/{org_id}/locations/{location_id}/workloads/{workload_id}", +"location": "path", +"pattern": "^organizations/[^/]+/locations/[^/]+/workloads/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+name}", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"enableComplianceUpdates": { +"description": "This endpoint enables Assured Workloads service to offer compliance updates for the folder based assured workload. It sets up an Assured Workloads Service Agent, having permissions to read compliance controls (for example: Org Policies) applied on the workload. The caller must have `resourcemanager.folders.getIamPolicy` and `resourcemanager.folders.setIamPolicy` permissions on the assured workload folder.", +"flatPath": "v1beta1/organizations/{organizationsId}/locations/{locationsId}/workloads/{workloadsId}:enableComplianceUpdates", +"httpMethod": "PUT", +"id": "assuredworkloads.organizations.locations.workloads.enableComplianceUpdates", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The `name` field is used to identify the workload. Format: organizations/{org_id}/locations/{location_id}/workloads/{workload_id}", +"location": "path", +"pattern": "^organizations/[^/]+/locations/[^/]+/workloads/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+name}:enableComplianceUpdates", +"response": { +"$ref": "GoogleCloudAssuredworkloadsV1beta1EnableComplianceUpdatesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"enableResourceMonitoring": { +"description": "Enable resource violation monitoring for a workload.", +"flatPath": "v1beta1/organizations/{organizationsId}/locations/{locationsId}/workloads/{workloadsId}:enableResourceMonitoring", +"httpMethod": "POST", +"id": "assuredworkloads.organizations.locations.workloads.enableResourceMonitoring", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The `name` field is used to identify the workload. Format: organizations/{org_id}/locations/{location_id}/workloads/{workload_id}", +"location": "path", +"pattern": "^organizations/[^/]+/locations/[^/]+/workloads/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+name}:enableResourceMonitoring", +"response": { +"$ref": "GoogleCloudAssuredworkloadsV1beta1EnableResourceMonitoringResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets Assured Workload associated with a CRM Node", +"flatPath": "v1beta1/organizations/{organizationsId}/locations/{locationsId}/workloads/{workloadsId}", +"httpMethod": "GET", +"id": "assuredworkloads.organizations.locations.workloads.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the Workload to fetch. This is the workloads's relative path in the API, formatted as \"organizations/{organization_id}/locations/{location_id}/workloads/{workload_id}\". For example, \"organizations/123/locations/us-east1/workloads/assured-workload-1\".", +"location": "path", +"pattern": "^organizations/[^/]+/locations/[^/]+/workloads/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+name}", +"response": { +"$ref": "GoogleCloudAssuredworkloadsV1beta1Workload" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists Assured Workloads under a CRM Node.", +"flatPath": "v1beta1/organizations/{organizationsId}/locations/{locationsId}/workloads", +"httpMethod": "GET", +"id": "assuredworkloads.organizations.locations.workloads.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "A custom filter for filtering by properties of a workload. At this time, only filtering by labels is supported.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Page size.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Page token returned from previous request. Page token contains context from previous request. Page token needs to be passed in the second and following requests.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. Parent Resource to list workloads from. Must be of the form `organizations/{org_id}/locations/{location}`.", +"location": "path", +"pattern": "^organizations/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+parent}/workloads", +"response": { +"$ref": "GoogleCloudAssuredworkloadsV1beta1ListWorkloadsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates an existing workload. Currently allows updating of workload display_name and labels. For force updates don't set etag field in the Workload. Only one update operation per workload can be in progress.", +"flatPath": "v1beta1/organizations/{organizationsId}/locations/{locationsId}/workloads/{workloadsId}", +"httpMethod": "PATCH", +"id": "assuredworkloads.organizations.locations.workloads.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Optional. The resource name of the workload. Format: organizations/{organization}/locations/{location}/workloads/{workload} Read-only.", +"location": "path", +"pattern": "^organizations/[^/]+/locations/[^/]+/workloads/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Required. The list of fields to be updated.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1beta1/{+name}", +"request": { +"$ref": "GoogleCloudAssuredworkloadsV1beta1Workload" +}, +"response": { +"$ref": "GoogleCloudAssuredworkloadsV1beta1Workload" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"restrictAllowedResources": { +"description": "Restrict the list of resources allowed in the Workload environment. The current list of allowed products can be found at https://cloud.google.com/assured-workloads/docs/supported-products In addition to assuredworkloads.workload.update permission, the user should also have orgpolicy.policy.set permission on the folder resource to use this functionality.", +"flatPath": "v1beta1/organizations/{organizationsId}/locations/{locationsId}/workloads/{workloadsId}:restrictAllowedResources", +"httpMethod": "POST", +"id": "assuredworkloads.organizations.locations.workloads.restrictAllowedResources", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the Workload. This is the workloads's relative path in the API, formatted as \"organizations/{organization_id}/locations/{location_id}/workloads/{workload_id}\". For example, \"organizations/123/locations/us-east1/workloads/assured-workload-1\".", +"location": "path", +"pattern": "^organizations/[^/]+/locations/[^/]+/workloads/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+name}:restrictAllowedResources", +"request": { +"$ref": "GoogleCloudAssuredworkloadsV1beta1RestrictAllowedResourcesRequest" +}, +"response": { +"$ref": "GoogleCloudAssuredworkloadsV1beta1RestrictAllowedResourcesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"updates": { +"methods": { +"apply": { +"description": "This endpoint creates a new operation to apply the given update.", +"flatPath": "v1beta1/organizations/{organizationsId}/locations/{locationsId}/workloads/{workloadsId}/updates/{updatesId}:apply", +"httpMethod": "POST", +"id": "assuredworkloads.organizations.locations.workloads.updates.apply", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the update. Format: organizations/{org_id}/locations/{location_id}/workloads/{workload_id}/updates/{update_id}", +"location": "path", +"pattern": "^organizations/[^/]+/locations/[^/]+/workloads/[^/]+/updates/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+name}:apply", +"request": { +"$ref": "GoogleCloudAssuredworkloadsV1beta1ApplyWorkloadUpdateRequest" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "This endpoint lists all updates for the given workload.", +"flatPath": "v1beta1/organizations/{organizationsId}/locations/{locationsId}/workloads/{workloadsId}/updates", +"httpMethod": "GET", +"id": "assuredworkloads.organizations.locations.workloads.updates.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "Page size. The default value is 20 and the max allowed value is 100.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Page token returned from previous request.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. organizations/{org_id}/locations/{location_id}/workloads/{workload_id}", +"location": "path", +"pattern": "^organizations/[^/]+/locations/[^/]+/workloads/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+parent}/updates", +"response": { +"$ref": "GoogleCloudAssuredworkloadsV1beta1ListWorkloadUpdatesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"violations": { +"methods": { +"acknowledge": { +"description": "Acknowledges an existing violation. By acknowledging a violation, users acknowledge the existence of a compliance violation in their workload and decide to ignore it due to a valid business justification. Acknowledgement is a permanent operation and it cannot be reverted.", +"flatPath": "v1beta1/organizations/{organizationsId}/locations/{locationsId}/workloads/{workloadsId}/violations/{violationsId}:acknowledge", +"httpMethod": "POST", +"id": "assuredworkloads.organizations.locations.workloads.violations.acknowledge", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the Violation to acknowledge. Format: organizations/{organization}/locations/{location}/workloads/{workload}/violations/{violation}", +"location": "path", +"pattern": "^organizations/[^/]+/locations/[^/]+/workloads/[^/]+/violations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+name}:acknowledge", +"request": { +"$ref": "GoogleCloudAssuredworkloadsV1beta1AcknowledgeViolationRequest" +}, +"response": { +"$ref": "GoogleCloudAssuredworkloadsV1beta1AcknowledgeViolationResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Retrieves Assured Workload Violation based on ID.", +"flatPath": "v1beta1/organizations/{organizationsId}/locations/{locationsId}/workloads/{workloadsId}/violations/{violationsId}", +"httpMethod": "GET", +"id": "assuredworkloads.organizations.locations.workloads.violations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the Violation to fetch (ie. Violation.name). Format: organizations/{organization}/locations/{location}/workloads/{workload}/violations/{violation}", +"location": "path", +"pattern": "^organizations/[^/]+/locations/[^/]+/workloads/[^/]+/violations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+name}", +"response": { +"$ref": "GoogleCloudAssuredworkloadsV1beta1Violation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists the Violations in the AssuredWorkload Environment. Callers may also choose to read across multiple Workloads as per [AIP-159](https://google.aip.dev/159) by using '-' (the hyphen or dash character) as a wildcard character instead of workload-id in the parent. Format `organizations/{org_id}/locations/{location}/workloads/-`", +"flatPath": "v1beta1/organizations/{organizationsId}/locations/{locationsId}/workloads/{workloadsId}/violations", +"httpMethod": "GET", +"id": "assuredworkloads.organizations.locations.workloads.violations.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Optional. A custom filter for filtering by the Violations properties.", +"location": "query", +"type": "string" +}, +"interval.endTime": { +"description": "The end of the time window.", +"format": "google-datetime", +"location": "query", +"type": "string" +}, +"interval.startTime": { +"description": "The start of the time window.", +"format": "google-datetime", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Optional. Page size.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. Page token returned from previous request.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The Workload name. Format `organizations/{org_id}/locations/{location}/workloads/{workload}`.", +"location": "path", +"pattern": "^organizations/[^/]+/locations/[^/]+/workloads/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+parent}/violations", +"response": { +"$ref": "GoogleCloudAssuredworkloadsV1beta1ListViolationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +} +} +} +} +} +}, +"revision": "20260129", +"rootUrl": "https://assuredworkloads.googleapis.com/", +"schemas": { +"GoogleCloudAssuredworkloadsV1beta1AcknowledgeViolationRequest": { +"description": "Request for acknowledging the violation", +"id": "GoogleCloudAssuredworkloadsV1beta1AcknowledgeViolationRequest", +"properties": { +"acknowledgeType": { +"description": "Optional. Acknowledge type of specified violation.", +"enum": [ +"ACKNOWLEDGE_TYPE_UNSPECIFIED", +"SINGLE_VIOLATION", +"EXISTING_CHILD_RESOURCE_VIOLATIONS" +], +"enumDescriptions": [ +"Acknowledge type unspecified.", +"Acknowledge only the specific violation.", +"Acknowledge specified orgPolicy violation and also associated resource violations." +], +"type": "string" +}, +"comment": { +"description": "Required. Business justification explaining the need for violation acknowledgement", +"type": "string" +}, +"nonCompliantOrgPolicy": { +"deprecated": true, +"description": "Optional. This field is deprecated and will be removed in future version of the API. Name of the OrgPolicy which was modified with non-compliant change and resulted in this violation. Format: projects/{project_number}/policies/{constraint_name} folders/{folder_id}/policies/{constraint_name} organizations/{organization_id}/policies/{constraint_name}", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAssuredworkloadsV1beta1AcknowledgeViolationResponse": { +"description": "Response for violation acknowledgement", +"id": "GoogleCloudAssuredworkloadsV1beta1AcknowledgeViolationResponse", +"properties": {}, +"type": "object" +}, +"GoogleCloudAssuredworkloadsV1beta1AnalyzeWorkloadMoveResponse": { +"description": "Response containing the analysis results for the hypothetical resource move.", +"id": "GoogleCloudAssuredworkloadsV1beta1AnalyzeWorkloadMoveResponse", +"properties": { +"assetMoveAnalyses": { +"description": "List of analysis results for each asset in scope.", +"items": { +"$ref": "GoogleCloudAssuredworkloadsV1beta1AssetMoveAnalysis" +}, +"type": "array" +}, +"nextPageToken": { +"description": "The next page token. Is empty if the last page is reached.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAssuredworkloadsV1beta1ApplyWorkloadUpdateOperationMetadata": { +"description": "Operation metadata to give request details of ApplyWorkloadUpdate.", +"id": "GoogleCloudAssuredworkloadsV1beta1ApplyWorkloadUpdateOperationMetadata", +"properties": { +"action": { +"description": "Optional. The time the operation was created.", +"enum": [ +"WORKLOAD_UPDATE_ACTION_UNSPECIFIED", +"APPLY" +], +"enumDescriptions": [ +"Unspecified value.", +"The update is applied." +], +"type": "string" +}, +"createTime": { +"description": "Optional. Output only. The time the operation was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"updateName": { +"description": "Required. The resource name of the update", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAssuredworkloadsV1beta1ApplyWorkloadUpdateRequest": { +"description": "Request to apply update to a workload.", +"id": "GoogleCloudAssuredworkloadsV1beta1ApplyWorkloadUpdateRequest", +"properties": { +"action": { +"description": "The action to be performed on the update.", +"enum": [ +"WORKLOAD_UPDATE_ACTION_UNSPECIFIED", +"APPLY" +], +"enumDescriptions": [ +"Unspecified value.", +"The update is applied." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAssuredworkloadsV1beta1ApplyWorkloadUpdateResponse": { +"description": "Response for ApplyWorkloadUpdate endpoint.", +"id": "GoogleCloudAssuredworkloadsV1beta1ApplyWorkloadUpdateResponse", +"properties": { +"appliedUpdate": { +"$ref": "GoogleCloudAssuredworkloadsV1beta1WorkloadUpdate", +"description": "The update that was applied." +} +}, +"type": "object" +}, +"GoogleCloudAssuredworkloadsV1beta1AssetMoveAnalysis": { +"description": "Represents move analysis results for an asset.", +"id": "GoogleCloudAssuredworkloadsV1beta1AssetMoveAnalysis", +"properties": { +"analysisGroups": { +"description": "List of eligible analyses performed for the asset.", +"items": { +"$ref": "GoogleCloudAssuredworkloadsV1beta1MoveAnalysisGroup" +}, +"type": "array" +}, +"asset": { +"description": "The full resource name of the asset being analyzed. Example: //compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1", +"type": "string" +}, +"assetType": { +"description": "Type of the asset being analyzed. Possible values will be among the ones listed [here](https://cloud.google.com/asset-inventory/docs/supported-asset-types).", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAssuredworkloadsV1beta1CreateWorkloadOperationMetadata": { +"description": "Operation metadata to give request details of CreateWorkload.", +"id": "GoogleCloudAssuredworkloadsV1beta1CreateWorkloadOperationMetadata", +"properties": { +"complianceRegime": { +"description": "Optional. Compliance controls that should be applied to the resources managed by the workload.", +"enum": [ +"COMPLIANCE_REGIME_UNSPECIFIED", +"IL4", +"CJIS", +"FEDRAMP_HIGH", +"FEDRAMP_MODERATE", +"US_REGIONAL_ACCESS", +"HIPAA", +"HITRUST", +"EU_REGIONS_AND_SUPPORT", +"CA_REGIONS_AND_SUPPORT", +"ITAR", +"AU_REGIONS_AND_US_SUPPORT", +"ASSURED_WORKLOADS_FOR_PARTNERS", +"ISR_REGIONS", +"ISR_REGIONS_AND_SUPPORT", +"CA_PROTECTED_B", +"IL5", +"IL2", +"JP_REGIONS_AND_SUPPORT", +"KSA_REGIONS_AND_SUPPORT_WITH_SOVEREIGNTY_CONTROLS", +"REGIONAL_CONTROLS", +"HEALTHCARE_AND_LIFE_SCIENCES_CONTROLS", +"HEALTHCARE_AND_LIFE_SCIENCES_CONTROLS_US_SUPPORT", +"IRS_1075", +"CANADA_CONTROLLED_GOODS", +"AUSTRALIA_DATA_BOUNDARY_AND_SUPPORT", +"CANADA_DATA_BOUNDARY_AND_SUPPORT", +"DATA_BOUNDARY_FOR_CANADA_CONTROLLED_GOODS", +"DATA_BOUNDARY_FOR_CANADA_PROTECTED_B", +"DATA_BOUNDARY_FOR_CJIS", +"DATA_BOUNDARY_FOR_FEDRAMP_HIGH", +"DATA_BOUNDARY_FOR_FEDRAMP_MODERATE", +"DATA_BOUNDARY_FOR_IL2", +"DATA_BOUNDARY_FOR_IL4", +"DATA_BOUNDARY_FOR_IL5", +"DATA_BOUNDARY_FOR_IRS_PUBLICATION_1075", +"DATA_BOUNDARY_FOR_ITAR", +"EU_DATA_BOUNDARY_AND_SUPPORT", +"ISRAEL_DATA_BOUNDARY_AND_SUPPORT", +"US_DATA_BOUNDARY_AND_SUPPORT", +"US_DATA_BOUNDARY_FOR_HEALTHCARE_AND_LIFE_SCIENCES", +"US_DATA_BOUNDARY_FOR_HEALTHCARE_AND_LIFE_SCIENCES_WITH_SUPPORT", +"KSA_DATA_BOUNDARY_WITH_ACCESS_JUSTIFICATIONS", +"REGIONAL_DATA_BOUNDARY", +"JAPAN_DATA_BOUNDARY" +], +"enumDeprecated": [ +false, +false, +false, +false, +false, +false, +true, +true, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false +], +"enumDescriptions": [ +"Unknown compliance regime.", +"Information protection as per DoD IL4 requirements.", +"Criminal Justice Information Services (CJIS) Security policies.", +"FedRAMP High data protection controls", +"FedRAMP Moderate data protection controls", +"Assured Workloads For US Regions data protection controls", +"[DEPRECATED] Health Insurance Portability and Accountability Act controls", +"[DEPRECATED] Health Information Trust Alliance controls", +"Assured Workloads For EU Regions and Support controls", +"Assured Workloads For Canada Regions and Support controls", +"International Traffic in Arms Regulations", +"Assured Workloads for Australia Regions and Support controls", +"Assured Workloads for Partners;", +"Assured Workloads for Israel Regions", +"Assured Workloads for Israel Regions", +"Assured Workloads for Canada Protected B regime", +"Information protection as per DoD IL5 requirements.", +"Information protection as per DoD IL2 requirements.", +"Assured Workloads for Japan Regions", +"Assured Workloads Sovereign Controls KSA", +"Assured Workloads for Regional Controls", +"Healthcare and Life Science Controls", +"Healthcare and Life Science Controls with US Support", +"Internal Revenue Service 1075 controls", +"Canada Controlled Goods", +"Australia Data Boundary and Support", +"Canada Data Boundary and Support", +"Data Boundary for Canada Controlled Goods", +"Data Boundary for Canada Protected B", +"Data Boundary for CJIS", +"Data Boundary for FedRAMP High", +"Data Boundary for FedRAMP Moderate", +"Data Boundary for IL2", +"Data Boundary for IL4", +"Data Boundary for IL5", +"Data Boundary for IRS Publication 1075", +"Data Boundary for ITAR", +"Data Boundary for EU Regions and Support", +"Data Boundary for Israel Regions", +"Data Boundary for US Regions and Support", +"Data Boundary for US Healthcare and Life Sciences", +"Data Boundary for US Healthcare and Life Sciences with Support", +"KSA Data Boundary with Access Justifications", +"Regional Data Boundary", +"JAPAN Data Boundary" +], +"type": "string" +}, +"createTime": { +"description": "Optional. Time when the operation was created.", +"format": "google-datetime", +"type": "string" +}, +"displayName": { +"description": "Optional. The display name of the workload.", +"type": "string" +}, +"parent": { +"description": "Optional. The parent of the workload.", +"type": "string" +}, +"resourceSettings": { +"description": "Optional. Resource properties in the input that are used for creating/customizing workload resources.", +"items": { +"$ref": "GoogleCloudAssuredworkloadsV1beta1WorkloadResourceSettings" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudAssuredworkloadsV1beta1EnableComplianceUpdatesResponse": { +"description": "Response for EnableComplianceUpdates endpoint.", +"id": "GoogleCloudAssuredworkloadsV1beta1EnableComplianceUpdatesResponse", +"properties": {}, +"type": "object" +}, +"GoogleCloudAssuredworkloadsV1beta1EnableResourceMonitoringResponse": { +"description": "Response for EnableResourceMonitoring endpoint.", +"id": "GoogleCloudAssuredworkloadsV1beta1EnableResourceMonitoringResponse", +"properties": {}, +"type": "object" +}, +"GoogleCloudAssuredworkloadsV1beta1ListViolationsResponse": { +"description": "Response of ListViolations endpoint.", +"id": "GoogleCloudAssuredworkloadsV1beta1ListViolationsResponse", +"properties": { +"nextPageToken": { +"description": "The next page token. Returns empty if reached the last page.", +"type": "string" +}, +"violations": { +"description": "List of Violations under a Workload.", +"items": { +"$ref": "GoogleCloudAssuredworkloadsV1beta1Violation" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudAssuredworkloadsV1beta1ListWorkloadUpdatesResponse": { +"description": "Response of listing the compliance updates per workload with pagination.", +"id": "GoogleCloudAssuredworkloadsV1beta1ListWorkloadUpdatesResponse", +"properties": { +"nextPageToken": { +"description": "The next page token. Return empty if reached the last page.", +"type": "string" +}, +"workloadUpdates": { +"description": "The list of workload updates for a given workload.", +"items": { +"$ref": "GoogleCloudAssuredworkloadsV1beta1WorkloadUpdate" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudAssuredworkloadsV1beta1ListWorkloadsResponse": { +"description": "Response of ListWorkloads endpoint.", +"id": "GoogleCloudAssuredworkloadsV1beta1ListWorkloadsResponse", +"properties": { +"nextPageToken": { +"description": "The next page token. Return empty if reached the last page.", +"type": "string" +}, +"workloads": { +"description": "List of Workloads under a given parent.", +"items": { +"$ref": "GoogleCloudAssuredworkloadsV1beta1Workload" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudAssuredworkloadsV1beta1MoveAnalysisGroup": { +"description": "Represents a logical group of checks performed for an asset. If successful, the group contains the analysis result, otherwise it contains an error with the failure reason.", +"id": "GoogleCloudAssuredworkloadsV1beta1MoveAnalysisGroup", +"properties": { +"analysisResult": { +"$ref": "GoogleCloudAssuredworkloadsV1beta1MoveAnalysisResult", +"description": "Result of a successful analysis." +}, +"displayName": { +"description": "Name of the analysis group.", +"type": "string" +}, +"error": { +"$ref": "GoogleRpcStatus", +"description": "Error details for a failed analysis." +} +}, +"type": "object" +}, +"GoogleCloudAssuredworkloadsV1beta1MoveAnalysisResult": { +"description": "Represents the successful move analysis results for a group.", +"id": "GoogleCloudAssuredworkloadsV1beta1MoveAnalysisResult", +"properties": { +"blockers": { +"description": "List of blockers. If not resolved, these will result in compliance violations in the target.", +"items": { +"$ref": "GoogleCloudAssuredworkloadsV1beta1MoveImpact" +}, +"type": "array" +}, +"warnings": { +"description": "List of warnings. These are risks that may or may not result in compliance violations.", +"items": { +"$ref": "GoogleCloudAssuredworkloadsV1beta1MoveImpact" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudAssuredworkloadsV1beta1MoveImpact": { +"description": "Represents the impact of moving the asset to the target.", +"id": "GoogleCloudAssuredworkloadsV1beta1MoveImpact", +"properties": { +"detail": { +"description": "Explanation of the impact.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAssuredworkloadsV1beta1OrgPolicy": { +"description": "This assured workload service object is used to represent the org policy attached to a resource. It servces the same purpose as the orgpolicy.v2.Policy object but with functionality that is limited to what is supported by Assured Workloads(e.g. only one rule under one OrgPolicy object, no conditions, etc).", +"id": "GoogleCloudAssuredworkloadsV1beta1OrgPolicy", +"properties": { +"constraint": { +"description": "The constraint name of the OrgPolicy. e.g. \"constraints/gcp.resourceLocations\".", +"type": "string" +}, +"inherit": { +"description": "If `inherit` is true, policy rules of the lowest ancestor in the resource hierarchy chain are inherited. If it is false, policy rules are not inherited.", +"type": "boolean" +}, +"reset": { +"description": "Ignores policies set above this resource and restores to the `constraint_default` value. `reset` can only be true when `rules` is empty and `inherit` is false.", +"type": "boolean" +}, +"resource": { +"description": "Resource that the OrgPolicy attaches to. Format: folders/123\" projects/123\".", +"type": "string" +}, +"rule": { +"$ref": "GoogleCloudAssuredworkloadsV1beta1OrgPolicyPolicyRule", +"description": "The rule of the OrgPolicy." +} +}, +"type": "object" +}, +"GoogleCloudAssuredworkloadsV1beta1OrgPolicyPolicyRule": { +"description": "A rule used to express this policy.", +"id": "GoogleCloudAssuredworkloadsV1beta1OrgPolicyPolicyRule", +"properties": { +"allowAll": { +"description": "ListPolicy only when all values are allowed.", +"type": "boolean" +}, +"denyAll": { +"description": "ListPolicy only when all values are denied.", +"type": "boolean" +}, +"enforce": { +"description": "BooleanPolicy only.", +"type": "boolean" +}, +"values": { +"$ref": "GoogleCloudAssuredworkloadsV1beta1OrgPolicyPolicyRuleStringValues", +"description": "ListPolicy only when custom values are specified." +} +}, +"type": "object" +}, +"GoogleCloudAssuredworkloadsV1beta1OrgPolicyPolicyRuleStringValues": { +"description": "The values allowed for a ListPolicy.", +"id": "GoogleCloudAssuredworkloadsV1beta1OrgPolicyPolicyRuleStringValues", +"properties": { +"allowedValues": { +"description": "List of values allowed at this resource.", +"items": { +"type": "string" +}, +"type": "array" +}, +"deniedValues": { +"description": "List of values denied at this resource.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudAssuredworkloadsV1beta1OrgPolicyUpdate": { +"description": "Represents an update for an org policy control applied on an Assured Workload resource. The inherited org policy is not considered.", +"id": "GoogleCloudAssuredworkloadsV1beta1OrgPolicyUpdate", +"properties": { +"appliedPolicy": { +"$ref": "GoogleCloudAssuredworkloadsV1beta1OrgPolicy", +"description": "The org policy currently applied on the assured workload resource." +}, +"suggestedPolicy": { +"$ref": "GoogleCloudAssuredworkloadsV1beta1OrgPolicy", +"description": "The suggested org policy that replaces the applied policy." +} +}, +"type": "object" +}, +"GoogleCloudAssuredworkloadsV1beta1RestrictAllowedResourcesRequest": { +"description": "Request for restricting list of available resources in Workload environment.", +"id": "GoogleCloudAssuredworkloadsV1beta1RestrictAllowedResourcesRequest", +"properties": { +"restrictionType": { +"description": "Required. The type of restriction for using gcp products in the Workload environment.", +"enum": [ +"RESTRICTION_TYPE_UNSPECIFIED", +"ALLOW_ALL_GCP_RESOURCES", +"ALLOW_COMPLIANT_RESOURCES", +"APPEND_COMPLIANT_RESOURCES" +], +"enumDescriptions": [ +"Unknown restriction type.", +"Allow the use all of all gcp products, irrespective of the compliance posture. This effectively removes gcp.restrictServiceUsage OrgPolicy on the AssuredWorkloads Folder.", +"Based on Workload's compliance regime, allowed list changes. See - https://cloud.google.com/assured-workloads/docs/supported-products for the list of supported resources.", +"Similar to ALLOW_COMPLIANT_RESOURCES but adds the list of compliant resources to the existing list of compliant resources. Effective org-policy of the Folder is considered to ensure there is no disruption to the existing customer workflows." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAssuredworkloadsV1beta1RestrictAllowedResourcesResponse": { +"description": "Response for restricting the list of allowed resources.", +"id": "GoogleCloudAssuredworkloadsV1beta1RestrictAllowedResourcesResponse", +"properties": {}, +"type": "object" +}, +"GoogleCloudAssuredworkloadsV1beta1UpdateDetails": { +"description": "The details of the update.", +"id": "GoogleCloudAssuredworkloadsV1beta1UpdateDetails", +"properties": { +"orgPolicyUpdate": { +"$ref": "GoogleCloudAssuredworkloadsV1beta1OrgPolicyUpdate", +"description": "Update to one org policy, e.g. gcp.resourceLocation." +} +}, +"type": "object" +}, +"GoogleCloudAssuredworkloadsV1beta1Violation": { +"description": "Workload monitoring Violation.", +"id": "GoogleCloudAssuredworkloadsV1beta1Violation", +"properties": { +"acknowledged": { +"description": "A boolean that indicates if the violation is acknowledged", +"type": "boolean" +}, +"acknowledgementTime": { +"description": "Optional. Timestamp when this violation was acknowledged first. Check exception_contexts to find the last time the violation was acknowledged when there are more than one violations. This field will be absent when acknowledged field is marked as false.", +"format": "google-datetime", +"type": "string" +}, +"associatedOrgPolicyViolationId": { +"description": "Optional. Output only. Violation Id of the org-policy violation due to which the resource violation is caused. Empty for org-policy violations.", +"readOnly": true, +"type": "string" +}, +"auditLogLink": { +"description": "Output only. Immutable. Audit Log Link for violated resource Format: https://console.cloud.google.com/logs/query;query={logName}{protoPayload.resourceName}{timeRange}{folder}", +"readOnly": true, +"type": "string" +}, +"beginTime": { +"description": "Output only. Time of the event which triggered the Violation.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"category": { +"description": "Output only. Category under which this violation is mapped. e.g. Location, Service Usage, Access, Encryption, etc.", +"readOnly": true, +"type": "string" +}, +"description": { +"description": "Output only. Description for the Violation. e.g. OrgPolicy gcp.resourceLocations has non compliant value.", +"readOnly": true, +"type": "string" +}, +"exceptionAuditLogLink": { +"description": "Output only. Immutable. Audit Log link to find business justification provided for violation exception. Format: https://console.cloud.google.com/logs/query;query={logName}{protoPayload.resourceName}{protoPayload.methodName}{timeRange}{organization}", +"readOnly": true, +"type": "string" +}, +"exceptionContexts": { +"description": "Output only. List of all the exception detail added for the violation.", +"items": { +"$ref": "GoogleCloudAssuredworkloadsV1beta1ViolationExceptionContext" +}, +"readOnly": true, +"type": "array" +}, +"name": { +"description": "Output only. Immutable. Name of the Violation. Format: organizations/{organization}/locations/{location}/workloads/{workload_id}/violations/{violations_id}", +"readOnly": true, +"type": "string" +}, +"nonCompliantOrgPolicy": { +"description": "Output only. Immutable. Name of the OrgPolicy which was modified with non-compliant change and resulted this violation. Format: projects/{project_number}/policies/{constraint_name} folders/{folder_id}/policies/{constraint_name} organizations/{organization_id}/policies/{constraint_name}", +"readOnly": true, +"type": "string" +}, +"orgPolicyConstraint": { +"deprecated": true, +"description": "Output only. Immutable. The org-policy-constraint that was incorrectly changed, which resulted in this violation.", +"readOnly": true, +"type": "string" +}, +"parentProjectNumber": { +"description": "Optional. Output only. Parent project number where resource is present. Empty for org-policy violations.", +"readOnly": true, +"type": "string" +}, +"remediation": { +"$ref": "GoogleCloudAssuredworkloadsV1beta1ViolationRemediation", +"description": "Output only. Compliance violation remediation", +"readOnly": true +}, +"resolveTime": { +"description": "Output only. Time of the event which fixed the Violation. If the violation is ACTIVE this will be empty.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"resourceName": { +"description": "Optional. Output only. Name of the resource like //storage.googleapis.com/myprojectxyz-testbucket. Empty for org-policy violations.", +"readOnly": true, +"type": "string" +}, +"resourceType": { +"description": "Optional. Output only. Type of the resource like compute.googleapis.com/Disk, etc. Empty for org-policy violations.", +"readOnly": true, +"type": "string" +}, +"state": { +"description": "Output only. State of the violation", +"enum": [ +"STATE_UNSPECIFIED", +"RESOLVED", +"UNRESOLVED", +"EXCEPTION" +], +"enumDescriptions": [ +"Unspecified state.", +"Violation is resolved.", +"Violation is Unresolved", +"Violation is Exception" +], +"readOnly": true, +"type": "string" +}, +"updateTime": { +"description": "Output only. The last time when the Violation record was updated.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"violationType": { +"description": "Output only. Type of the violation", +"enum": [ +"VIOLATION_TYPE_UNSPECIFIED", +"ORG_POLICY", +"RESOURCE" +], +"enumDescriptions": [ +"Unspecified type.", +"Org Policy Violation.", +"Resource Violation." +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAssuredworkloadsV1beta1ViolationExceptionContext": { +"description": "Violation exception detail.", +"id": "GoogleCloudAssuredworkloadsV1beta1ViolationExceptionContext", +"properties": { +"acknowledgementTime": { +"description": "Timestamp when the violation was acknowledged.", +"format": "google-datetime", +"type": "string" +}, +"comment": { +"description": "Business justification provided towards the acknowledgement of the violation.", +"type": "string" +}, +"userName": { +"description": "Name of the user (or service account) who acknowledged the violation.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAssuredworkloadsV1beta1ViolationRemediation": { +"description": "Represents remediation guidance to resolve compliance violation for AssuredWorkload", +"id": "GoogleCloudAssuredworkloadsV1beta1ViolationRemediation", +"properties": { +"compliantValues": { +"description": "Values that can resolve the violation For example: for list org policy violations, this will either be the list of allowed or denied values", +"items": { +"type": "string" +}, +"type": "array" +}, +"instructions": { +"$ref": "GoogleCloudAssuredworkloadsV1beta1ViolationRemediationInstructions", +"description": "Required. Remediation instructions to resolve violations" +}, +"remediationType": { +"description": "Output only. Reemediation type based on the type of org policy values violated", +"enum": [ +"REMEDIATION_TYPE_UNSPECIFIED", +"REMEDIATION_BOOLEAN_ORG_POLICY_VIOLATION", +"REMEDIATION_LIST_ALLOWED_VALUES_ORG_POLICY_VIOLATION", +"REMEDIATION_LIST_DENIED_VALUES_ORG_POLICY_VIOLATION", +"REMEDIATION_RESTRICT_CMEK_CRYPTO_KEY_PROJECTS_ORG_POLICY_VIOLATION", +"REMEDIATION_RESOURCE_VIOLATION", +"REMEDIATION_RESOURCE_VIOLATION_NON_CMEK_SERVICES" +], +"enumDescriptions": [ +"Unspecified remediation type", +"Remediation type for boolean org policy", +"Remediation type for list org policy which have allowed values in the monitoring rule", +"Remediation type for list org policy which have denied values in the monitoring rule", +"Remediation type for gcp.restrictCmekCryptoKeyProjects", +"Remediation type for resource violation.", +"Remediation type for resource violation due to gcp.restrictNonCmekServices" +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAssuredworkloadsV1beta1ViolationRemediationInstructions": { +"description": "Instructions to remediate violation", +"id": "GoogleCloudAssuredworkloadsV1beta1ViolationRemediationInstructions", +"properties": { +"consoleInstructions": { +"$ref": "GoogleCloudAssuredworkloadsV1beta1ViolationRemediationInstructionsConsole", +"description": "Remediation instructions to resolve violation via cloud console" +}, +"gcloudInstructions": { +"$ref": "GoogleCloudAssuredworkloadsV1beta1ViolationRemediationInstructionsGcloud", +"description": "Remediation instructions to resolve violation via gcloud cli" +} +}, +"type": "object" +}, +"GoogleCloudAssuredworkloadsV1beta1ViolationRemediationInstructionsConsole": { +"description": "Remediation instructions to resolve violation via cloud console", +"id": "GoogleCloudAssuredworkloadsV1beta1ViolationRemediationInstructionsConsole", +"properties": { +"additionalLinks": { +"description": "Additional urls for more information about steps", +"items": { +"type": "string" +}, +"type": "array" +}, +"consoleUris": { +"description": "Link to console page where violations can be resolved", +"items": { +"type": "string" +}, +"type": "array" +}, +"steps": { +"description": "Steps to resolve violation via cloud console", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudAssuredworkloadsV1beta1ViolationRemediationInstructionsGcloud": { +"description": "Remediation instructions to resolve violation via gcloud cli", +"id": "GoogleCloudAssuredworkloadsV1beta1ViolationRemediationInstructionsGcloud", +"properties": { +"additionalLinks": { +"description": "Additional urls for more information about steps", +"items": { +"type": "string" +}, +"type": "array" +}, +"gcloudCommands": { +"description": "Gcloud command to resolve violation", +"items": { +"type": "string" +}, +"type": "array" +}, +"steps": { +"description": "Steps to resolve violation via gcloud cli", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudAssuredworkloadsV1beta1Workload": { +"description": "A Workload object for managing highly regulated workloads of cloud customers.", +"id": "GoogleCloudAssuredworkloadsV1beta1Workload", +"properties": { +"availableUpdates": { +"description": "Output only. The number of updates available for the workload.", +"format": "int32", +"readOnly": true, +"type": "integer" +}, +"billingAccount": { +"description": "Optional. The billing account used for the resources which are direct children of workload. This billing account is initially associated with the resources created as part of Workload creation. After the initial creation of these resources, the customer can change the assigned billing account. The resource name has the form `billingAccounts/{billing_account_id}`. For example, `billingAccounts/012345-567890-ABCDEF`.", +"type": "string" +}, +"cjisSettings": { +"$ref": "GoogleCloudAssuredworkloadsV1beta1WorkloadCJISSettings", +"deprecated": true, +"description": "Input only. Immutable. Settings specific to resources needed for CJIS." +}, +"complianceRegime": { +"description": "Required. Immutable. Compliance Regime associated with this workload.", +"enum": [ +"COMPLIANCE_REGIME_UNSPECIFIED", +"IL4", +"CJIS", +"FEDRAMP_HIGH", +"FEDRAMP_MODERATE", +"US_REGIONAL_ACCESS", +"HIPAA", +"HITRUST", +"EU_REGIONS_AND_SUPPORT", +"CA_REGIONS_AND_SUPPORT", +"ITAR", +"AU_REGIONS_AND_US_SUPPORT", +"ASSURED_WORKLOADS_FOR_PARTNERS", +"ISR_REGIONS", +"ISR_REGIONS_AND_SUPPORT", +"CA_PROTECTED_B", +"IL5", +"IL2", +"JP_REGIONS_AND_SUPPORT", +"KSA_REGIONS_AND_SUPPORT_WITH_SOVEREIGNTY_CONTROLS", +"REGIONAL_CONTROLS", +"HEALTHCARE_AND_LIFE_SCIENCES_CONTROLS", +"HEALTHCARE_AND_LIFE_SCIENCES_CONTROLS_US_SUPPORT", +"IRS_1075", +"CANADA_CONTROLLED_GOODS", +"AUSTRALIA_DATA_BOUNDARY_AND_SUPPORT", +"CANADA_DATA_BOUNDARY_AND_SUPPORT", +"DATA_BOUNDARY_FOR_CANADA_CONTROLLED_GOODS", +"DATA_BOUNDARY_FOR_CANADA_PROTECTED_B", +"DATA_BOUNDARY_FOR_CJIS", +"DATA_BOUNDARY_FOR_FEDRAMP_HIGH", +"DATA_BOUNDARY_FOR_FEDRAMP_MODERATE", +"DATA_BOUNDARY_FOR_IL2", +"DATA_BOUNDARY_FOR_IL4", +"DATA_BOUNDARY_FOR_IL5", +"DATA_BOUNDARY_FOR_IRS_PUBLICATION_1075", +"DATA_BOUNDARY_FOR_ITAR", +"EU_DATA_BOUNDARY_AND_SUPPORT", +"ISRAEL_DATA_BOUNDARY_AND_SUPPORT", +"US_DATA_BOUNDARY_AND_SUPPORT", +"US_DATA_BOUNDARY_FOR_HEALTHCARE_AND_LIFE_SCIENCES", +"US_DATA_BOUNDARY_FOR_HEALTHCARE_AND_LIFE_SCIENCES_WITH_SUPPORT", +"KSA_DATA_BOUNDARY_WITH_ACCESS_JUSTIFICATIONS", +"REGIONAL_DATA_BOUNDARY", +"JAPAN_DATA_BOUNDARY" +], +"enumDeprecated": [ +false, +false, +false, +false, +false, +false, +true, +true, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false +], +"enumDescriptions": [ +"Unknown compliance regime.", +"Information protection as per DoD IL4 requirements.", +"Criminal Justice Information Services (CJIS) Security policies.", +"FedRAMP High data protection controls", +"FedRAMP Moderate data protection controls", +"Assured Workloads For US Regions data protection controls", +"[DEPRECATED] Health Insurance Portability and Accountability Act controls", +"[DEPRECATED] Health Information Trust Alliance controls", +"Assured Workloads For EU Regions and Support controls", +"Assured Workloads For Canada Regions and Support controls", +"International Traffic in Arms Regulations", +"Assured Workloads for Australia Regions and Support controls", +"Assured Workloads for Partners;", +"Assured Workloads for Israel Regions", +"Assured Workloads for Israel Regions", +"Assured Workloads for Canada Protected B regime", +"Information protection as per DoD IL5 requirements.", +"Information protection as per DoD IL2 requirements.", +"Assured Workloads for Japan Regions", +"Assured Workloads Sovereign Controls KSA", +"Assured Workloads for Regional Controls", +"Healthcare and Life Science Controls", +"Healthcare and Life Science Controls with US Support", +"Internal Revenue Service 1075 controls", +"Canada Controlled Goods", +"Australia Data Boundary and Support", +"Canada Data Boundary and Support", +"Data Boundary for Canada Controlled Goods", +"Data Boundary for Canada Protected B", +"Data Boundary for CJIS", +"Data Boundary for FedRAMP High", +"Data Boundary for FedRAMP Moderate", +"Data Boundary for IL2", +"Data Boundary for IL4", +"Data Boundary for IL5", +"Data Boundary for IRS Publication 1075", +"Data Boundary for ITAR", +"Data Boundary for EU Regions and Support", +"Data Boundary for Israel Regions", +"Data Boundary for US Regions and Support", +"Data Boundary for US Healthcare and Life Sciences", +"Data Boundary for US Healthcare and Life Sciences with Support", +"KSA Data Boundary with Access Justifications", +"Regional Data Boundary", +"JAPAN Data Boundary" +], +"type": "string" +}, +"complianceStatus": { +"$ref": "GoogleCloudAssuredworkloadsV1beta1WorkloadComplianceStatus", +"description": "Output only. Count of active Violations in the Workload.", +"readOnly": true +}, +"complianceUpdatesEnabled": { +"description": "Output only. Indicates whether the compliance updates feature is enabled for a workload. The compliance updates feature can be enabled via the EnableComplianceUpdates endpoint.", +"readOnly": true, +"type": "boolean" +}, +"compliantButDisallowedServices": { +"description": "Output only. Urls for services which are compliant for this Assured Workload, but which are currently disallowed by the ResourceUsageRestriction org policy. Invoke RestrictAllowedResources endpoint to allow your project developers to use these services in their environment.", +"items": { +"type": "string" +}, +"readOnly": true, +"type": "array" +}, +"createTime": { +"description": "Output only. Immutable. The Workload creation timestamp.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"displayName": { +"description": "Required. The user-assigned display name of the Workload. When present it must be between 4 to 30 characters. Allowed characters are: lowercase and uppercase letters, numbers, hyphen, and spaces. Example: My Workload", +"type": "string" +}, +"ekmProvisioningResponse": { +"$ref": "GoogleCloudAssuredworkloadsV1beta1WorkloadEkmProvisioningResponse", +"description": "Output only. Represents the Ekm Provisioning State of the given workload.", +"readOnly": true +}, +"enableSovereignControls": { +"description": "Optional. Indicates the sovereignty status of the given workload. Currently meant to be used by Europe/Canada customers.", +"type": "boolean" +}, +"etag": { +"description": "Optional. ETag of the workload, it is calculated on the basis of the Workload contents. It will be used in Update & Delete operations.", +"type": "string" +}, +"fedrampHighSettings": { +"$ref": "GoogleCloudAssuredworkloadsV1beta1WorkloadFedrampHighSettings", +"deprecated": true, +"description": "Input only. Immutable. Settings specific to resources needed for FedRAMP High." +}, +"fedrampModerateSettings": { +"$ref": "GoogleCloudAssuredworkloadsV1beta1WorkloadFedrampModerateSettings", +"deprecated": true, +"description": "Input only. Immutable. Settings specific to resources needed for FedRAMP Moderate." +}, +"il4Settings": { +"$ref": "GoogleCloudAssuredworkloadsV1beta1WorkloadIL4Settings", +"deprecated": true, +"description": "Input only. Immutable. Settings specific to resources needed for IL4." +}, +"kajEnrollmentState": { +"description": "Output only. Represents the KAJ enrollment state of the given workload.", +"enum": [ +"KAJ_ENROLLMENT_STATE_UNSPECIFIED", +"KAJ_ENROLLMENT_STATE_PENDING", +"KAJ_ENROLLMENT_STATE_COMPLETE" +], +"enumDescriptions": [ +"Default State for KAJ Enrollment.", +"Pending State for KAJ Enrollment.", +"Complete State for KAJ Enrollment." +], +"readOnly": true, +"type": "string" +}, +"kmsSettings": { +"$ref": "GoogleCloudAssuredworkloadsV1beta1WorkloadKMSSettings", +"deprecated": true, +"description": "Input only. Settings used to create a CMEK crypto key. When set, a project with a KMS CMEK key is provisioned. This field is deprecated as of Feb 28, 2022. In order to create a Keyring, callers should specify, ENCRYPTION_KEYS_PROJECT or KEYRING in ResourceSettings.resource_type field." +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. Labels applied to the workload.", +"type": "object" +}, +"name": { +"description": "Optional. The resource name of the workload. Format: organizations/{organization}/locations/{location}/workloads/{workload} Read-only.", +"type": "string" +}, +"partner": { +"description": "Optional. Partner regime associated with this workload.", +"enum": [ +"PARTNER_UNSPECIFIED", +"LOCAL_CONTROLS_BY_S3NS", +"SOVEREIGN_CONTROLS_BY_T_SYSTEMS", +"SOVEREIGN_CONTROLS_BY_SIA_MINSAIT", +"SOVEREIGN_CONTROLS_BY_PSN", +"SOVEREIGN_CONTROLS_BY_CNTXT", +"SOVEREIGN_CONTROLS_BY_CNTXT_NO_EKM", +"SPAIN_DATA_BOUNDARY_BY_TELEFONICA" +], +"enumDescriptions": [ +"", +"Enum representing S3NS (Thales) partner.", +"Enum representing T_SYSTEM (TSI) partner.", +"Enum representing SIA_MINSAIT (Indra) partner.", +"Enum representing PSN (TIM) partner.", +"Enum representing CNTXT (Kingdom of Saudi Arabia) partner.", +"Enum representing CNTXT (Kingdom of Saudi Arabia) partner offering without EKM.", +"Enum representing Telefonica (Spain) partner." +], +"type": "string" +}, +"partnerPermissions": { +"$ref": "GoogleCloudAssuredworkloadsV1beta1WorkloadPartnerPermissions", +"description": "Optional. Permissions granted to the AW Partner SA account for the customer workload" +}, +"partnerServicesBillingAccount": { +"description": "Optional. Billing account necessary for purchasing services from Sovereign Partners. This field is required for creating SIA/PSN/CNTXT partner workloads. The caller should have 'billing.resourceAssociations.create' IAM permission on this billing-account. The format of this string is billingAccounts/AAAAAA-BBBBBB-CCCCCC", +"type": "string" +}, +"provisionedResourcesParent": { +"description": "Input only. The parent resource for the resources managed by this Assured Workload. May be either empty or a folder resource which is a child of the Workload parent. If not specified all resources are created under the parent organization. Format: folders/{folder_id}", +"type": "string" +}, +"resourceMonitoringEnabled": { +"description": "Output only. Indicates whether resource monitoring is enabled for workload or not. It is true when Resource feed is subscribed to AWM topic and AWM Service Agent Role is binded to AW Service Account for resource Assured workload.", +"readOnly": true, +"type": "boolean" +}, +"resourceSettings": { +"description": "Input only. Resource properties that are used to customize workload resources. These properties (such as custom project id) will be used to create workload resources if possible. This field is optional.", +"items": { +"$ref": "GoogleCloudAssuredworkloadsV1beta1WorkloadResourceSettings" +}, +"type": "array" +}, +"resources": { +"description": "Output only. The resources associated with this workload. These resources will be created when creating the workload. If any of the projects already exist, the workload creation will fail. Always read only.", +"items": { +"$ref": "GoogleCloudAssuredworkloadsV1beta1WorkloadResourceInfo" +}, +"readOnly": true, +"type": "array" +}, +"saaEnrollmentResponse": { +"$ref": "GoogleCloudAssuredworkloadsV1beta1WorkloadSaaEnrollmentResponse", +"description": "Output only. Represents the SAA enrollment response of the given workload. SAA enrollment response is queried during GetWorkload call. In failure cases, user friendly error message is shown in SAA details page.", +"readOnly": true +}, +"violationNotificationsEnabled": { +"description": "Optional. Indicates whether the e-mail notification for a violation is enabled for a workload. This value will be by default True, and if not present will be considered as true. This should only be updated via updateWorkload call. Any Changes to this field during the createWorkload call will not be honored. This will always be true while creating the workload.", +"type": "boolean" +}, +"workloadOptions": { +"$ref": "GoogleCloudAssuredworkloadsV1beta1WorkloadWorkloadOptions", +"description": "Optional. Options to be set for the given created workload." +} +}, +"type": "object" +}, +"GoogleCloudAssuredworkloadsV1beta1WorkloadCJISSettings": { +"deprecated": true, +"description": "Settings specific to resources needed for CJIS.", +"id": "GoogleCloudAssuredworkloadsV1beta1WorkloadCJISSettings", +"properties": { +"kmsSettings": { +"$ref": "GoogleCloudAssuredworkloadsV1beta1WorkloadKMSSettings", +"description": "Input only. Immutable. Settings used to create a CMEK crypto key." +} +}, +"type": "object" +}, +"GoogleCloudAssuredworkloadsV1beta1WorkloadComplianceStatus": { +"description": "Represents the Compliance Status of this workload", +"id": "GoogleCloudAssuredworkloadsV1beta1WorkloadComplianceStatus", +"properties": { +"acknowledgedResourceViolationCount": { +"description": "Number of current resource violations which are not acknowledged.", +"format": "int32", +"type": "integer" +}, +"acknowledgedViolationCount": { +"description": "Number of current orgPolicy violations which are acknowledged.", +"format": "int32", +"type": "integer" +}, +"activeResourceViolationCount": { +"description": "Number of current resource violations which are acknowledged.", +"format": "int32", +"type": "integer" +}, +"activeViolationCount": { +"description": "Number of current orgPolicy violations which are not acknowledged.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"GoogleCloudAssuredworkloadsV1beta1WorkloadEkmProvisioningResponse": { +"description": "External key management systems(EKM) Provisioning response", +"id": "GoogleCloudAssuredworkloadsV1beta1WorkloadEkmProvisioningResponse", +"properties": { +"ekmProvisioningErrorDomain": { +"description": "Indicates Ekm provisioning error if any.", +"enum": [ +"EKM_PROVISIONING_ERROR_DOMAIN_UNSPECIFIED", +"UNSPECIFIED_ERROR", +"GOOGLE_SERVER_ERROR", +"EXTERNAL_USER_ERROR", +"EXTERNAL_PARTNER_ERROR", +"TIMEOUT_ERROR" +], +"enumDescriptions": [ +"No error domain", +"Error but domain is unspecified.", +"Internal logic breaks within provisioning code.", +"Error occurred with the customer not granting permission/creating resource.", +"Error occurred within the partner's provisioning cluster.", +"Resource wasn't provisioned in the required 7 day time period" +], +"type": "string" +}, +"ekmProvisioningErrorMapping": { +"description": "Detailed error message if Ekm provisioning fails", +"enum": [ +"EKM_PROVISIONING_ERROR_MAPPING_UNSPECIFIED", +"INVALID_SERVICE_ACCOUNT", +"MISSING_METRICS_SCOPE_ADMIN_PERMISSION", +"MISSING_EKM_CONNECTION_ADMIN_PERMISSION" +], +"enumDescriptions": [ +"Error is unspecified.", +"Service account is used is invalid.", +"Iam permission monitoring.MetricsScopeAdmin wasn't applied.", +"Iam permission cloudkms.ekmConnectionsAdmin wasn't applied." +], +"type": "string" +}, +"ekmProvisioningState": { +"description": "Output only. Indicates Ekm enrollment Provisioning of a given workload.", +"enum": [ +"EKM_PROVISIONING_STATE_UNSPECIFIED", +"EKM_PROVISIONING_STATE_PENDING", +"EKM_PROVISIONING_STATE_FAILED", +"EKM_PROVISIONING_STATE_COMPLETED" +], +"enumDescriptions": [ +"Default State for Ekm Provisioning", +"Pending State for Ekm Provisioning", +"Failed State for Ekm Provisioning", +"Completed State for Ekm Provisioning" +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAssuredworkloadsV1beta1WorkloadFedrampHighSettings": { +"deprecated": true, +"description": "Settings specific to resources needed for FedRAMP High.", +"id": "GoogleCloudAssuredworkloadsV1beta1WorkloadFedrampHighSettings", +"properties": { +"kmsSettings": { +"$ref": "GoogleCloudAssuredworkloadsV1beta1WorkloadKMSSettings", +"description": "Input only. Immutable. Settings used to create a CMEK crypto key." +} +}, +"type": "object" +}, +"GoogleCloudAssuredworkloadsV1beta1WorkloadFedrampModerateSettings": { +"deprecated": true, +"description": "Settings specific to resources needed for FedRAMP Moderate.", +"id": "GoogleCloudAssuredworkloadsV1beta1WorkloadFedrampModerateSettings", +"properties": { +"kmsSettings": { +"$ref": "GoogleCloudAssuredworkloadsV1beta1WorkloadKMSSettings", +"description": "Input only. Immutable. Settings used to create a CMEK crypto key." +} +}, +"type": "object" +}, +"GoogleCloudAssuredworkloadsV1beta1WorkloadIL4Settings": { +"deprecated": true, +"description": "Settings specific to resources needed for IL4.", +"id": "GoogleCloudAssuredworkloadsV1beta1WorkloadIL4Settings", +"properties": { +"kmsSettings": { +"$ref": "GoogleCloudAssuredworkloadsV1beta1WorkloadKMSSettings", +"description": "Input only. Immutable. Settings used to create a CMEK crypto key." +} +}, +"type": "object" +}, +"GoogleCloudAssuredworkloadsV1beta1WorkloadKMSSettings": { +"deprecated": true, +"description": "Settings specific to the Key Management Service.", +"id": "GoogleCloudAssuredworkloadsV1beta1WorkloadKMSSettings", +"properties": { +"nextRotationTime": { +"description": "Required. Input only. Immutable. The time at which the Key Management Service will automatically create a new version of the crypto key and mark it as the primary.", +"format": "google-datetime", +"type": "string" +}, +"rotationPeriod": { +"description": "Required. Input only. Immutable. [next_rotation_time] will be advanced by this period when the Key Management Service automatically rotates a key. Must be at least 24 hours and at most 876,000 hours.", +"format": "google-duration", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAssuredworkloadsV1beta1WorkloadPartnerPermissions": { +"description": "Permissions granted to the AW Partner SA account for the customer workload", +"id": "GoogleCloudAssuredworkloadsV1beta1WorkloadPartnerPermissions", +"properties": { +"accessTransparencyLogsSupportCaseViewer": { +"description": "Optional. Allow partner to view support case details for an AXT log", +"type": "boolean" +}, +"assuredWorkloadsMonitoring": { +"description": "Optional. Allow partner to view violation alerts.", +"type": "boolean" +}, +"dataLogsViewer": { +"description": "Optional. Allow the partner to view inspectability logs and monitoring violations.", +"type": "boolean" +}, +"serviceAccessApprover": { +"description": "Optional. Allow partner to view access approval logs.", +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleCloudAssuredworkloadsV1beta1WorkloadResourceInfo": { +"description": "Represent the resources that are children of this Workload.", +"id": "GoogleCloudAssuredworkloadsV1beta1WorkloadResourceInfo", +"properties": { +"resourceId": { +"description": "Output only. Resource identifier. For a project this represents project_number.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"resourceType": { +"description": "Indicates the type of resource.", +"enum": [ +"RESOURCE_TYPE_UNSPECIFIED", +"CONSUMER_PROJECT", +"CONSUMER_FOLDER", +"ENCRYPTION_KEYS_PROJECT", +"KEYRING" +], +"enumDeprecated": [ +false, +true, +false, +false, +false +], +"enumDescriptions": [ +"Unknown resource type.", +"Deprecated. Existing workloads will continue to support this, but new CreateWorkloadRequests should not specify this as an input value.", +"Consumer Folder.", +"Consumer project containing encryption keys.", +"Keyring resource that hosts encryption keys." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAssuredworkloadsV1beta1WorkloadResourceSettings": { +"description": "Represent the custom settings for the resources to be created.", +"id": "GoogleCloudAssuredworkloadsV1beta1WorkloadResourceSettings", +"properties": { +"displayName": { +"description": "User-assigned resource display name. If not empty it will be used to create a resource with the specified name.", +"type": "string" +}, +"resourceId": { +"description": "Resource identifier. For a project this represents project_id. If the project is already taken, the workload creation will fail. For KeyRing, this represents the keyring_id. For a folder, don't set this value as folder_id is assigned by Google.", +"type": "string" +}, +"resourceType": { +"description": "Indicates the type of resource. This field should be specified to correspond the id to the right project type (CONSUMER_PROJECT or ENCRYPTION_KEYS_PROJECT)", +"enum": [ +"RESOURCE_TYPE_UNSPECIFIED", +"CONSUMER_PROJECT", +"CONSUMER_FOLDER", +"ENCRYPTION_KEYS_PROJECT", +"KEYRING" +], +"enumDeprecated": [ +false, +true, +false, +false, +false +], +"enumDescriptions": [ +"Unknown resource type.", +"Deprecated. Existing workloads will continue to support this, but new CreateWorkloadRequests should not specify this as an input value.", +"Consumer Folder.", +"Consumer project containing encryption keys.", +"Keyring resource that hosts encryption keys." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAssuredworkloadsV1beta1WorkloadSaaEnrollmentResponse": { +"description": "Signed Access Approvals (SAA) enrollment response.", +"id": "GoogleCloudAssuredworkloadsV1beta1WorkloadSaaEnrollmentResponse", +"properties": { +"setupErrors": { +"description": "Indicates SAA enrollment setup error if any.", +"items": { +"enum": [ +"SETUP_ERROR_UNSPECIFIED", +"ERROR_INVALID_BASE_SETUP", +"ERROR_MISSING_EXTERNAL_SIGNING_KEY", +"ERROR_NOT_ALL_SERVICES_ENROLLED", +"ERROR_SETUP_CHECK_FAILED" +], +"enumDescriptions": [ +"Unspecified.", +"Invalid states for all customers, to be redirected to AA UI for additional details.", +"Returned when there is not an EKM key configured.", +"Returned when there are no enrolled services or the customer is enrolled in CAA only for a subset of services.", +"Returned when exception was encountered during evaluation of other criteria." +], +"type": "string" +}, +"type": "array" +}, +"setupStatus": { +"description": "Output only. Indicates SAA enrollment status of a given workload.", +"enum": [ +"SETUP_STATE_UNSPECIFIED", +"STATUS_PENDING", +"STATUS_COMPLETE" +], +"enumDescriptions": [ +"Unspecified.", +"SAA enrollment pending.", +"SAA enrollment comopleted." +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAssuredworkloadsV1beta1WorkloadUpdate": { +"description": "A workload update is a change to the workload's compliance configuration.", +"id": "GoogleCloudAssuredworkloadsV1beta1WorkloadUpdate", +"properties": { +"createTime": { +"description": "The time the update was created.", +"format": "google-datetime", +"type": "string" +}, +"details": { +"$ref": "GoogleCloudAssuredworkloadsV1beta1UpdateDetails", +"description": "The details of the update." +}, +"name": { +"description": "Output only. Immutable. Identifier. Resource name of the WorkloadUpdate. Format: organizations/{organization}/locations/{location}/workloads/{workload}/updates/{update}", +"readOnly": true, +"type": "string" +}, +"state": { +"description": "Output only. The state of the update.", +"enum": [ +"STATE_UNSPECIFIED", +"AVAILABLE", +"APPLIED", +"WITHDRAWN" +], +"enumDescriptions": [ +"Unspecified.", +"The update is available to be applied.", +"The update has been applied.", +"The update has been withdrawn by the service." +], +"readOnly": true, +"type": "string" +}, +"updateTime": { +"description": "The time the update was last updated.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAssuredworkloadsV1beta1WorkloadWorkloadOptions": { +"description": "Options to be set for the given created workload.", +"id": "GoogleCloudAssuredworkloadsV1beta1WorkloadWorkloadOptions", +"properties": { +"kajEnrollmentType": { +"description": "Optional. Specifies type of KAJ Enrollment if provided.", +"enum": [ +"KAJ_ENROLLMENT_TYPE_UNSPECIFIED", +"KEY_ACCESS_TRANSPARENCY_OFF" +], +"enumDescriptions": [ +"KAJ Enrollment type is unspecified", +"KAT sets External, Hardware, and Software key feature logging only to TRUE." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleLongrunningListOperationsResponse": { +"description": "The response message for Operations.ListOperations.", +"id": "GoogleLongrunningListOperationsResponse", +"properties": { +"nextPageToken": { +"description": "The standard List next-page token.", +"type": "string" +}, +"operations": { +"description": "A list of operations that matches the specified filter in the request.", +"items": { +"$ref": "GoogleLongrunningOperation" +}, +"type": "array" +}, +"unreachable": { +"description": "Unordered list. Unreachable resources. Populated when the request sets `ListOperationsRequest.return_partial_success` and reads across collections. For example, when attempting to list all resources across all supported locations.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleLongrunningOperation": { +"description": "This resource represents a long-running operation that is the result of a network API call.", +"id": "GoogleLongrunningOperation", +"properties": { +"done": { +"description": "If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.", +"type": "boolean" +}, +"error": { +"$ref": "GoogleRpcStatus", +"description": "The error result of the operation in case of failure or cancellation." +}, +"metadata": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.", +"type": "object" +}, +"name": { +"description": "The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.", +"type": "string" +}, +"response": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "The normal, successful response of the operation. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.", +"type": "object" +} +}, +"type": "object" +}, +"GoogleProtobufEmpty": { +"description": "A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }", +"id": "GoogleProtobufEmpty", +"properties": {}, +"type": "object" +}, +"GoogleRpcStatus": { +"description": "The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors).", +"id": "GoogleRpcStatus", +"properties": { +"code": { +"description": "The status code, which should be an enum value of google.rpc.Code.", +"format": "int32", +"type": "integer" +}, +"details": { +"description": "A list of messages that carry the error details. There is a common set of message types for APIs to use.", +"items": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.", +"type": "string" +} +}, +"type": "object" +} +}, +"servicePath": "", +"title": "Assured Workloads API", +"version": "v1beta1", +"version_module": true +} \ No newline at end of file diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/authorizedbuyersmarketplace.v1.json b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/authorizedbuyersmarketplace.v1.json new file mode 100644 index 0000000000000000000000000000000000000000..25c6eb627cb059415b054d36c8970a18a49ee17f --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/authorizedbuyersmarketplace.v1.json @@ -0,0 +1,3329 @@ +{ +"auth": { +"oauth2": { +"scopes": { +"https://www.googleapis.com/auth/authorized-buyers-marketplace": { +"description": "See, create, edit, and delete your Authorized Buyers Marketplace entities." +} +} +} +}, +"basePath": "", +"baseUrl": "https://authorizedbuyersmarketplace.googleapis.com/", +"batchPath": "batch", +"canonicalName": "Authorized Buyers Marketplace", +"description": "The Authorized Buyers Marketplace API lets buyers programmatically discover inventory; propose, retrieve and negotiate deals with publishers.", +"discoveryVersion": "v1", +"documentationLink": "https://developers.google.com/authorized-buyers/apis/marketplace/reference/rest/", +"fullyEncodeReservedExpansion": true, +"icons": { +"x16": "http://www.google.com/images/icons/product/search-16.gif", +"x32": "http://www.google.com/images/icons/product/search-32.gif" +}, +"id": "authorizedbuyersmarketplace:v1", +"kind": "discovery#restDescription", +"mtlsRootUrl": "https://authorizedbuyersmarketplace.mtls.googleapis.com/", +"name": "authorizedbuyersmarketplace", +"ownerDomain": "google.com", +"ownerName": "Google", +"parameters": { +"$.xgafv": { +"description": "V1 error format.", +"enum": [ +"1", +"2" +], +"enumDescriptions": [ +"v1 error format", +"v2 error format" +], +"location": "query", +"type": "string" +}, +"access_token": { +"description": "OAuth access token.", +"location": "query", +"type": "string" +}, +"alt": { +"default": "json", +"description": "Data format for response.", +"enum": [ +"json", +"media", +"proto" +], +"enumDescriptions": [ +"Responses with Content-Type of application/json", +"Media download with context-dependent Content-Type", +"Responses with Content-Type of application/x-protobuf" +], +"location": "query", +"type": "string" +}, +"callback": { +"description": "JSONP", +"location": "query", +"type": "string" +}, +"fields": { +"description": "Selector specifying which fields to include in a partial response.", +"location": "query", +"type": "string" +}, +"key": { +"description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", +"location": "query", +"type": "string" +}, +"oauth_token": { +"description": "OAuth 2.0 token for the current user.", +"location": "query", +"type": "string" +}, +"prettyPrint": { +"default": "true", +"description": "Returns response with indentations and line breaks.", +"location": "query", +"type": "boolean" +}, +"quotaUser": { +"description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.", +"location": "query", +"type": "string" +}, +"uploadType": { +"description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", +"location": "query", +"type": "string" +}, +"upload_protocol": { +"description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", +"location": "query", +"type": "string" +} +}, +"protocol": "rest", +"resources": { +"bidders": { +"resources": { +"auctionPackages": { +"methods": { +"list": { +"description": "List the auction packages. Buyers can use the URL path \"/v1/buyers/{accountId}/auctionPackages\" to list auction packages for the current buyer and its clients. Bidders can use the URL path \"/v1/bidders/{accountId}/auctionPackages\" to list auction packages for the bidder, its media planners, its buyers, and all their clients.", +"flatPath": "v1/bidders/{biddersId}/auctionPackages", +"httpMethod": "GET", +"id": "authorizedbuyersmarketplace.bidders.auctionPackages.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Optional. Optional query string using the [Cloud API list filtering syntax](/authorized-buyers/apis/guides/list-filters). Only supported when parent is bidder. Supported columns for filtering are: * displayName * createTime * updateTime * eligibleSeatIds", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "Optional. An optional query string to sort auction packages using the [Cloud API sorting syntax](https://cloud.google.com/apis/design/design_patterns#sorting_order). If no sort order is specified, results will be returned in an arbitrary order. Only supported when parent is bidder. Supported columns for sorting are: * displayName * createTime * updateTime", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Requested page size. The server may return fewer results than requested. Max allowed page size is 500.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The page token as returned. ListAuctionPackagesResponse.nextPageToken", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. Name of the parent buyer that can access the auction package. Format: `buyers/{accountId}`. When used with a bidder account, the auction packages that the bidder, its media planners, its buyers and clients are subscribed to will be listed, in the format `bidders/{accountId}`.", +"location": "path", +"pattern": "^bidders/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/auctionPackages", +"response": { +"$ref": "ListAuctionPackagesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/authorized-buyers-marketplace" +] +} +} +}, +"finalizedDeals": { +"methods": { +"list": { +"description": "Lists finalized deals. Use the URL path \"/v1/buyers/{accountId}/finalizedDeals\" to list finalized deals for the current buyer and its clients. Bidders can use the URL path \"/v1/bidders/{accountId}/finalizedDeals\" to list finalized deals for the bidder, its buyers and all their clients.", +"flatPath": "v1/bidders/{biddersId}/finalizedDeals", +"httpMethod": "GET", +"id": "authorizedbuyersmarketplace.bidders.finalizedDeals.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Optional query string using the [Cloud API list filtering syntax](https://developers.google.com/authorized-buyers/apis/guides/list-filters) Supported columns for filtering are: * deal.displayName * deal.dealType * deal.createTime * deal.updateTime * deal.flightStartTime * deal.flightEndTime * deal.eligibleSeatIds * dealServingStatus", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "An optional query string to sort finalized deals using the [Cloud API sorting syntax](https://cloud.google.com/apis/design/design_patterns#sorting_order). If no sort order is specified, results will be returned in an arbitrary order. Supported columns for sorting are: * deal.displayName * deal.createTime * deal.updateTime * deal.flightStartTime * deal.flightEndTime * rtbMetrics.bidRequests7Days * rtbMetrics.bids7Days * rtbMetrics.adImpressions7Days * rtbMetrics.bidRate7Days * rtbMetrics.filteredBidRate7Days * rtbMetrics.mustBidRateCurrentMonth", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Requested page size. The server may return fewer results than requested. If requested more than 500, the server will return 500 results per page. If unspecified, the server will pick a default page size of 100.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The page token as returned from ListFinalizedDealsResponse.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The buyer to list the finalized deals for, in the format: `buyers/{accountId}`. When used to list finalized deals for a bidder, its buyers and clients, in the format `bidders/{accountId}`.", +"location": "path", +"pattern": "^bidders/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/finalizedDeals", +"response": { +"$ref": "ListFinalizedDealsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/authorized-buyers-marketplace" +] +}, +"setReadyToServe": { +"description": "Sets the given finalized deal as ready to serve. By default, deals are set as ready to serve as soon as they're finalized. If you want to opt out of the default behavior, and manually indicate that deals are ready to serve, ask your Technical Account Manager to add you to the allowlist. If you choose to use this method, finalized deals belonging to the bidder and its child seats don't start serving until after you call `setReadyToServe`, and after the deals become active. For example, you can use this method to delay receiving bid requests until your creative is ready. In addition, bidders can use the URL path \"/v1/bidders/{accountId}/finalizedDeals/{dealId}\" to set ready to serve for the finalized deals belong to itself, its child seats and all their clients. This method only applies to programmatic guaranteed deals.", +"flatPath": "v1/bidders/{biddersId}/finalizedDeals/{finalizedDealsId}:setReadyToServe", +"httpMethod": "POST", +"id": "authorizedbuyersmarketplace.bidders.finalizedDeals.setReadyToServe", +"parameterOrder": [ +"deal" +], +"parameters": { +"deal": { +"description": "Required. Format: `buyers/{accountId}/finalizedDeals/{dealId}` or `bidders/{accountId}/finalizedDeals/{dealId}`", +"location": "path", +"pattern": "^bidders/[^/]+/finalizedDeals/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+deal}:setReadyToServe", +"request": { +"$ref": "SetReadyToServeRequest" +}, +"response": { +"$ref": "FinalizedDeal" +}, +"scopes": [ +"https://www.googleapis.com/auth/authorized-buyers-marketplace" +] +} +} +} +} +}, +"buyers": { +"resources": { +"auctionPackages": { +"methods": { +"get": { +"description": "Gets an auction package given its name.", +"flatPath": "v1/buyers/{buyersId}/auctionPackages/{auctionPackagesId}", +"httpMethod": "GET", +"id": "authorizedbuyersmarketplace.buyers.auctionPackages.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of auction package to get. Format: `buyers/{accountId}/auctionPackages/{auctionPackageId}`", +"location": "path", +"pattern": "^buyers/[^/]+/auctionPackages/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "AuctionPackage" +}, +"scopes": [ +"https://www.googleapis.com/auth/authorized-buyers-marketplace" +] +}, +"list": { +"description": "List the auction packages. Buyers can use the URL path \"/v1/buyers/{accountId}/auctionPackages\" to list auction packages for the current buyer and its clients. Bidders can use the URL path \"/v1/bidders/{accountId}/auctionPackages\" to list auction packages for the bidder, its media planners, its buyers, and all their clients.", +"flatPath": "v1/buyers/{buyersId}/auctionPackages", +"httpMethod": "GET", +"id": "authorizedbuyersmarketplace.buyers.auctionPackages.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Optional. Optional query string using the [Cloud API list filtering syntax](/authorized-buyers/apis/guides/list-filters). Only supported when parent is bidder. Supported columns for filtering are: * displayName * createTime * updateTime * eligibleSeatIds", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "Optional. An optional query string to sort auction packages using the [Cloud API sorting syntax](https://cloud.google.com/apis/design/design_patterns#sorting_order). If no sort order is specified, results will be returned in an arbitrary order. Only supported when parent is bidder. Supported columns for sorting are: * displayName * createTime * updateTime", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Requested page size. The server may return fewer results than requested. Max allowed page size is 500.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The page token as returned. ListAuctionPackagesResponse.nextPageToken", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. Name of the parent buyer that can access the auction package. Format: `buyers/{accountId}`. When used with a bidder account, the auction packages that the bidder, its media planners, its buyers and clients are subscribed to will be listed, in the format `bidders/{accountId}`.", +"location": "path", +"pattern": "^buyers/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/auctionPackages", +"response": { +"$ref": "ListAuctionPackagesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/authorized-buyers-marketplace" +] +}, +"subscribe": { +"description": "Subscribe to the auction package for the specified buyer. Once subscribed, the bidder will receive a call out for inventory matching the auction package targeting criteria with the auction package deal ID and the specified buyer.", +"flatPath": "v1/buyers/{buyersId}/auctionPackages/{auctionPackagesId}:subscribe", +"httpMethod": "POST", +"id": "authorizedbuyersmarketplace.buyers.auctionPackages.subscribe", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of the auction package. Format: `buyers/{accountId}/auctionPackages/{auctionPackageId}`", +"location": "path", +"pattern": "^buyers/[^/]+/auctionPackages/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:subscribe", +"request": { +"$ref": "SubscribeAuctionPackageRequest" +}, +"response": { +"$ref": "AuctionPackage" +}, +"scopes": [ +"https://www.googleapis.com/auth/authorized-buyers-marketplace" +] +}, +"subscribeClients": { +"description": "Subscribe the specified clients of the buyer to the auction package. If a client in the list does not belong to the buyer, an error response will be returned, and all of the following clients in the list will not be subscribed. Subscribing an already subscribed client will have no effect.", +"flatPath": "v1/buyers/{buyersId}/auctionPackages/{auctionPackagesId}:subscribeClients", +"httpMethod": "POST", +"id": "authorizedbuyersmarketplace.buyers.auctionPackages.subscribeClients", +"parameterOrder": [ +"auctionPackage" +], +"parameters": { +"auctionPackage": { +"description": "Required. Name of the auction package. Format: `buyers/{accountId}/auctionPackages/{auctionPackageId}`", +"location": "path", +"pattern": "^buyers/[^/]+/auctionPackages/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+auctionPackage}:subscribeClients", +"request": { +"$ref": "SubscribeClientsRequest" +}, +"response": { +"$ref": "AuctionPackage" +}, +"scopes": [ +"https://www.googleapis.com/auth/authorized-buyers-marketplace" +] +}, +"unsubscribe": { +"description": "Unsubscribe from the auction package for the specified buyer. Once unsubscribed, the bidder will no longer receive a call out for the auction package deal ID and the specified buyer.", +"flatPath": "v1/buyers/{buyersId}/auctionPackages/{auctionPackagesId}:unsubscribe", +"httpMethod": "POST", +"id": "authorizedbuyersmarketplace.buyers.auctionPackages.unsubscribe", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of the auction package. Format: `buyers/{accountId}/auctionPackages/{auctionPackageId}`", +"location": "path", +"pattern": "^buyers/[^/]+/auctionPackages/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:unsubscribe", +"request": { +"$ref": "UnsubscribeAuctionPackageRequest" +}, +"response": { +"$ref": "AuctionPackage" +}, +"scopes": [ +"https://www.googleapis.com/auth/authorized-buyers-marketplace" +] +}, +"unsubscribeClients": { +"description": "Unsubscribe from the auction package for the specified clients of the buyer. Unsubscribing a client that is not subscribed will have no effect.", +"flatPath": "v1/buyers/{buyersId}/auctionPackages/{auctionPackagesId}:unsubscribeClients", +"httpMethod": "POST", +"id": "authorizedbuyersmarketplace.buyers.auctionPackages.unsubscribeClients", +"parameterOrder": [ +"auctionPackage" +], +"parameters": { +"auctionPackage": { +"description": "Required. Name of the auction package. Format: `buyers/{accountId}/auctionPackages/{auctionPackageId}`", +"location": "path", +"pattern": "^buyers/[^/]+/auctionPackages/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+auctionPackage}:unsubscribeClients", +"request": { +"$ref": "UnsubscribeClientsRequest" +}, +"response": { +"$ref": "AuctionPackage" +}, +"scopes": [ +"https://www.googleapis.com/auth/authorized-buyers-marketplace" +] +} +} +}, +"clients": { +"methods": { +"activate": { +"description": "Activates an existing client. The state of the client will be updated to \"ACTIVE\". This method has no effect if the client is already in \"ACTIVE\" state.", +"flatPath": "v1/buyers/{buyersId}/clients/{clientsId}:activate", +"httpMethod": "POST", +"id": "authorizedbuyersmarketplace.buyers.clients.activate", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Format: `buyers/{buyerAccountId}/clients/{clientAccountId}`", +"location": "path", +"pattern": "^buyers/[^/]+/clients/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:activate", +"request": { +"$ref": "ActivateClientRequest" +}, +"response": { +"$ref": "Client" +}, +"scopes": [ +"https://www.googleapis.com/auth/authorized-buyers-marketplace" +] +}, +"create": { +"description": "Creates a new client.", +"flatPath": "v1/buyers/{buyersId}/clients", +"httpMethod": "POST", +"id": "authorizedbuyersmarketplace.buyers.clients.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The name of the buyer. Format: `buyers/{accountId}`", +"location": "path", +"pattern": "^buyers/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/clients", +"request": { +"$ref": "Client" +}, +"response": { +"$ref": "Client" +}, +"scopes": [ +"https://www.googleapis.com/auth/authorized-buyers-marketplace" +] +}, +"deactivate": { +"description": "Deactivates an existing client. The state of the client will be updated to \"INACTIVE\". This method has no effect if the client is already in \"INACTIVE\" state.", +"flatPath": "v1/buyers/{buyersId}/clients/{clientsId}:deactivate", +"httpMethod": "POST", +"id": "authorizedbuyersmarketplace.buyers.clients.deactivate", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Format: `buyers/{buyerAccountId}/clients/{clientAccountId}`", +"location": "path", +"pattern": "^buyers/[^/]+/clients/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:deactivate", +"request": { +"$ref": "DeactivateClientRequest" +}, +"response": { +"$ref": "Client" +}, +"scopes": [ +"https://www.googleapis.com/auth/authorized-buyers-marketplace" +] +}, +"get": { +"description": "Gets a client with a given resource name.", +"flatPath": "v1/buyers/{buyersId}/clients/{clientsId}", +"httpMethod": "GET", +"id": "authorizedbuyersmarketplace.buyers.clients.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Format: `buyers/{accountId}/clients/{clientAccountId}`", +"location": "path", +"pattern": "^buyers/[^/]+/clients/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Client" +}, +"scopes": [ +"https://www.googleapis.com/auth/authorized-buyers-marketplace" +] +}, +"list": { +"description": "Lists all the clients for the current buyer.", +"flatPath": "v1/buyers/{buyersId}/clients", +"httpMethod": "GET", +"id": "authorizedbuyersmarketplace.buyers.clients.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Query string using the [Filtering Syntax](https://developers.google.com/authorized-buyers/apis/guides/list-filters) Supported fields for filtering are: * partnerClientId Use this field to filter the clients by the partnerClientId. For example, if the partnerClientId of the client is \"1234\", the value of this field should be `partnerClientId = \"1234\"`, in order to get only the client whose partnerClientId is \"1234\" in the response.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Requested page size. If left blank, a default page size of 500 will be applied.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A token identifying a page of results the server should return. Typically, this is the value of ListClientsResponse.nextPageToken returned from the previous call to the list method.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The name of the buyer. Format: `buyers/{accountId}`", +"location": "path", +"pattern": "^buyers/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/clients", +"response": { +"$ref": "ListClientsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/authorized-buyers-marketplace" +] +}, +"patch": { +"description": "Updates an existing client.", +"flatPath": "v1/buyers/{buyersId}/clients/{clientsId}", +"httpMethod": "PATCH", +"id": "authorizedbuyersmarketplace.buyers.clients.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Output only. The resource name of the client. Format: `buyers/{accountId}/clients/{clientAccountId}`", +"location": "path", +"pattern": "^buyers/[^/]+/clients/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "List of fields to be updated. If empty or unspecified, the service will update all fields populated in the update request excluding the output only fields and primitive fields with default value. Note that explicit field mask is required in order to reset a primitive field back to its default value, for example, false for boolean fields, 0 for integer fields. A special field mask consisting of a single path \"*\" can be used to indicate full replacement(the equivalent of PUT method), updatable fields unset or unspecified in the input will be cleared or set to default value. Output only fields will be ignored regardless of the value of updateMask.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "Client" +}, +"response": { +"$ref": "Client" +}, +"scopes": [ +"https://www.googleapis.com/auth/authorized-buyers-marketplace" +] +} +}, +"resources": { +"users": { +"methods": { +"activate": { +"description": "Activates an existing client user. The state of the client user will be updated from \"INACTIVE\" to \"ACTIVE\". This method has no effect if the client user is already in \"ACTIVE\" state. An error will be returned if the client user to activate is still in \"INVITED\" state.", +"flatPath": "v1/buyers/{buyersId}/clients/{clientsId}/users/{usersId}:activate", +"httpMethod": "POST", +"id": "authorizedbuyersmarketplace.buyers.clients.users.activate", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Format: `buyers/{buyerAccountId}/clients/{clientAccountId}/clientUsers/{userId}`", +"location": "path", +"pattern": "^buyers/[^/]+/clients/[^/]+/users/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:activate", +"request": { +"$ref": "ActivateClientUserRequest" +}, +"response": { +"$ref": "ClientUser" +}, +"scopes": [ +"https://www.googleapis.com/auth/authorized-buyers-marketplace" +] +}, +"create": { +"description": "Creates a new client user in \"INVITED\" state. An email invitation will be sent to the new user, once accepted the user will become active.", +"flatPath": "v1/buyers/{buyersId}/clients/{clientsId}/users", +"httpMethod": "POST", +"id": "authorizedbuyersmarketplace.buyers.clients.users.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The name of the client. Format: `buyers/{accountId}/clients/{clientAccountId}`", +"location": "path", +"pattern": "^buyers/[^/]+/clients/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/users", +"request": { +"$ref": "ClientUser" +}, +"response": { +"$ref": "ClientUser" +}, +"scopes": [ +"https://www.googleapis.com/auth/authorized-buyers-marketplace" +] +}, +"deactivate": { +"description": "Deactivates an existing client user. The state of the client user will be updated from \"ACTIVE\" to \"INACTIVE\". This method has no effect if the client user is already in \"INACTIVE\" state. An error will be returned if the client user to deactivate is still in \"INVITED\" state.", +"flatPath": "v1/buyers/{buyersId}/clients/{clientsId}/users/{usersId}:deactivate", +"httpMethod": "POST", +"id": "authorizedbuyersmarketplace.buyers.clients.users.deactivate", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Format: `buyers/{buyerAccountId}/clients/{clientAccountId}/clientUsers/{userId}`", +"location": "path", +"pattern": "^buyers/[^/]+/clients/[^/]+/users/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:deactivate", +"request": { +"$ref": "DeactivateClientUserRequest" +}, +"response": { +"$ref": "ClientUser" +}, +"scopes": [ +"https://www.googleapis.com/auth/authorized-buyers-marketplace" +] +}, +"delete": { +"description": "Deletes an existing client user. The client user will lose access to the Authorized Buyers UI. Note that if a client user is deleted, the user's access to the UI can't be restored unless a new client user is created and activated.", +"flatPath": "v1/buyers/{buyersId}/clients/{clientsId}/users/{usersId}", +"httpMethod": "DELETE", +"id": "authorizedbuyersmarketplace.buyers.clients.users.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Format: `buyers/{buyerAccountId}/clients/{clientAccountId}/clientUsers/{userId}`", +"location": "path", +"pattern": "^buyers/[^/]+/clients/[^/]+/users/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/authorized-buyers-marketplace" +] +}, +"get": { +"description": "Retrieves an existing client user.", +"flatPath": "v1/buyers/{buyersId}/clients/{clientsId}/users/{usersId}", +"httpMethod": "GET", +"id": "authorizedbuyersmarketplace.buyers.clients.users.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Format: `buyers/{buyerAccountId}/clients/{clientAccountId}/clientUsers/{userId}`", +"location": "path", +"pattern": "^buyers/[^/]+/clients/[^/]+/users/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "ClientUser" +}, +"scopes": [ +"https://www.googleapis.com/auth/authorized-buyers-marketplace" +] +}, +"list": { +"description": "Lists all client users for a specified client.", +"flatPath": "v1/buyers/{buyersId}/clients/{clientsId}/users", +"httpMethod": "GET", +"id": "authorizedbuyersmarketplace.buyers.clients.users.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "Requested page size. If left blank, a default page size of 500 will be applied.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A token identifying a page of results the server should return. Typically, this is the value of ListClientUsersResponse.nextPageToken returned from the previous call to the list method.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The name of the client. Format: `buyers/{buyerAccountId}/clients/{clientAccountId}`", +"location": "path", +"pattern": "^buyers/[^/]+/clients/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/users", +"response": { +"$ref": "ListClientUsersResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/authorized-buyers-marketplace" +] +} +} +} +} +}, +"finalizedDeals": { +"methods": { +"addCreative": { +"description": "Add creative to be used in the bidding process for a finalized deal. For programmatic guaranteed deals, it's recommended that you associate at least one approved creative with the deal before calling SetReadyToServe, to help reduce the number of bid responses filtered because they don't contain approved creatives. Creatives successfully added to a deal can be found in the Realtime-bidding Creatives API creative.deal_ids. This method only applies to programmatic guaranteed deals. Maximum number of 1000 creatives can be added to a finalized deal.", +"flatPath": "v1/buyers/{buyersId}/finalizedDeals/{finalizedDealsId}:addCreative", +"httpMethod": "POST", +"id": "authorizedbuyersmarketplace.buyers.finalizedDeals.addCreative", +"parameterOrder": [ +"deal" +], +"parameters": { +"deal": { +"description": "Required. Name of the finalized deal in the format of: `buyers/{accountId}/finalizedDeals/{dealId}`", +"location": "path", +"pattern": "^buyers/[^/]+/finalizedDeals/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+deal}:addCreative", +"request": { +"$ref": "AddCreativeRequest" +}, +"response": { +"$ref": "FinalizedDeal" +}, +"scopes": [ +"https://www.googleapis.com/auth/authorized-buyers-marketplace" +] +}, +"get": { +"description": "Gets a finalized deal given its name.", +"flatPath": "v1/buyers/{buyersId}/finalizedDeals/{finalizedDealsId}", +"httpMethod": "GET", +"id": "authorizedbuyersmarketplace.buyers.finalizedDeals.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Format: `buyers/{accountId}/finalizedDeals/{dealId}`", +"location": "path", +"pattern": "^buyers/[^/]+/finalizedDeals/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "FinalizedDeal" +}, +"scopes": [ +"https://www.googleapis.com/auth/authorized-buyers-marketplace" +] +}, +"list": { +"description": "Lists finalized deals. Use the URL path \"/v1/buyers/{accountId}/finalizedDeals\" to list finalized deals for the current buyer and its clients. Bidders can use the URL path \"/v1/bidders/{accountId}/finalizedDeals\" to list finalized deals for the bidder, its buyers and all their clients.", +"flatPath": "v1/buyers/{buyersId}/finalizedDeals", +"httpMethod": "GET", +"id": "authorizedbuyersmarketplace.buyers.finalizedDeals.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Optional query string using the [Cloud API list filtering syntax](https://developers.google.com/authorized-buyers/apis/guides/list-filters) Supported columns for filtering are: * deal.displayName * deal.dealType * deal.createTime * deal.updateTime * deal.flightStartTime * deal.flightEndTime * deal.eligibleSeatIds * dealServingStatus", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "An optional query string to sort finalized deals using the [Cloud API sorting syntax](https://cloud.google.com/apis/design/design_patterns#sorting_order). If no sort order is specified, results will be returned in an arbitrary order. Supported columns for sorting are: * deal.displayName * deal.createTime * deal.updateTime * deal.flightStartTime * deal.flightEndTime * rtbMetrics.bidRequests7Days * rtbMetrics.bids7Days * rtbMetrics.adImpressions7Days * rtbMetrics.bidRate7Days * rtbMetrics.filteredBidRate7Days * rtbMetrics.mustBidRateCurrentMonth", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Requested page size. The server may return fewer results than requested. If requested more than 500, the server will return 500 results per page. If unspecified, the server will pick a default page size of 100.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The page token as returned from ListFinalizedDealsResponse.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The buyer to list the finalized deals for, in the format: `buyers/{accountId}`. When used to list finalized deals for a bidder, its buyers and clients, in the format `bidders/{accountId}`.", +"location": "path", +"pattern": "^buyers/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/finalizedDeals", +"response": { +"$ref": "ListFinalizedDealsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/authorized-buyers-marketplace" +] +}, +"pause": { +"description": "Pauses serving of the given finalized deal. This call only pauses the serving status, and does not affect other fields of the finalized deal. Calling this method for an already paused deal has no effect. This method only applies to programmatic guaranteed deals and preferred deals.", +"flatPath": "v1/buyers/{buyersId}/finalizedDeals/{finalizedDealsId}:pause", +"httpMethod": "POST", +"id": "authorizedbuyersmarketplace.buyers.finalizedDeals.pause", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Format: `buyers/{accountId}/finalizedDeals/{dealId}`", +"location": "path", +"pattern": "^buyers/[^/]+/finalizedDeals/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:pause", +"request": { +"$ref": "PauseFinalizedDealRequest" +}, +"response": { +"$ref": "FinalizedDeal" +}, +"scopes": [ +"https://www.googleapis.com/auth/authorized-buyers-marketplace" +] +}, +"resume": { +"description": "Resumes serving of the given finalized deal. Calling this method for an running deal has no effect. If a deal is initially paused by the seller, calling this method will not resume serving of the deal until the seller also resumes the deal. This method only applies to programmatic guaranteed deals and preferred deals.", +"flatPath": "v1/buyers/{buyersId}/finalizedDeals/{finalizedDealsId}:resume", +"httpMethod": "POST", +"id": "authorizedbuyersmarketplace.buyers.finalizedDeals.resume", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Format: `buyers/{accountId}/finalizedDeals/{dealId}`", +"location": "path", +"pattern": "^buyers/[^/]+/finalizedDeals/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:resume", +"request": { +"$ref": "ResumeFinalizedDealRequest" +}, +"response": { +"$ref": "FinalizedDeal" +}, +"scopes": [ +"https://www.googleapis.com/auth/authorized-buyers-marketplace" +] +}, +"setReadyToServe": { +"description": "Sets the given finalized deal as ready to serve. By default, deals are set as ready to serve as soon as they're finalized. If you want to opt out of the default behavior, and manually indicate that deals are ready to serve, ask your Technical Account Manager to add you to the allowlist. If you choose to use this method, finalized deals belonging to the bidder and its child seats don't start serving until after you call `setReadyToServe`, and after the deals become active. For example, you can use this method to delay receiving bid requests until your creative is ready. In addition, bidders can use the URL path \"/v1/bidders/{accountId}/finalizedDeals/{dealId}\" to set ready to serve for the finalized deals belong to itself, its child seats and all their clients. This method only applies to programmatic guaranteed deals.", +"flatPath": "v1/buyers/{buyersId}/finalizedDeals/{finalizedDealsId}:setReadyToServe", +"httpMethod": "POST", +"id": "authorizedbuyersmarketplace.buyers.finalizedDeals.setReadyToServe", +"parameterOrder": [ +"deal" +], +"parameters": { +"deal": { +"description": "Required. Format: `buyers/{accountId}/finalizedDeals/{dealId}` or `bidders/{accountId}/finalizedDeals/{dealId}`", +"location": "path", +"pattern": "^buyers/[^/]+/finalizedDeals/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+deal}:setReadyToServe", +"request": { +"$ref": "SetReadyToServeRequest" +}, +"response": { +"$ref": "FinalizedDeal" +}, +"scopes": [ +"https://www.googleapis.com/auth/authorized-buyers-marketplace" +] +} +} +}, +"proposals": { +"methods": { +"accept": { +"description": "Accepts the proposal at the given revision number. If the revision number in the request is behind the latest from the server, an error message will be returned. This call updates the Proposal.state from `BUYER_ACCEPTANCE_REQUESTED` to `FINALIZED`; it has no side effect if the Proposal.state is already `FINALIZED` and throws exception if the Proposal.state is not either `BUYER_ACCEPTANCE_REQUESTED` or `FINALIZED`. Accepting a proposal means the buyer understands and accepts the Proposal.terms_and_conditions proposed by the seller.", +"flatPath": "v1/buyers/{buyersId}/proposals/{proposalsId}:accept", +"httpMethod": "POST", +"id": "authorizedbuyersmarketplace.buyers.proposals.accept", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Name of the proposal. Format: `buyers/{accountId}/proposals/{proposalId}`", +"location": "path", +"pattern": "^buyers/[^/]+/proposals/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:accept", +"request": { +"$ref": "AcceptProposalRequest" +}, +"response": { +"$ref": "Proposal" +}, +"scopes": [ +"https://www.googleapis.com/auth/authorized-buyers-marketplace" +] +}, +"addNote": { +"description": "Creates a note for this proposal and sends to the seller. This method is not supported for proposals with DealType set to 'PRIVATE_AUCTION'.", +"flatPath": "v1/buyers/{buyersId}/proposals/{proposalsId}:addNote", +"httpMethod": "POST", +"id": "authorizedbuyersmarketplace.buyers.proposals.addNote", +"parameterOrder": [ +"proposal" +], +"parameters": { +"proposal": { +"description": "Name of the proposal. Format: `buyers/{accountId}/proposals/{proposalId}`", +"location": "path", +"pattern": "^buyers/[^/]+/proposals/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+proposal}:addNote", +"request": { +"$ref": "AddNoteRequest" +}, +"response": { +"$ref": "Proposal" +}, +"scopes": [ +"https://www.googleapis.com/auth/authorized-buyers-marketplace" +] +}, +"cancelNegotiation": { +"description": "Cancels an ongoing negotiation on a proposal. This does not cancel or end serving for the deals if the proposal has been finalized. If the proposal has not been finalized before, calling this method will set the Proposal.state to `TERMINATED` and increment the Proposal.proposal_revision. If the proposal has been finalized before and is under renegotiation now, calling this method will reset the Proposal.state to `FINALIZED` and increment the Proposal.proposal_revision. This method does not support private auction proposals whose Proposal.deal_type is 'PRIVATE_AUCTION'.", +"flatPath": "v1/buyers/{buyersId}/proposals/{proposalsId}:cancelNegotiation", +"httpMethod": "POST", +"id": "authorizedbuyersmarketplace.buyers.proposals.cancelNegotiation", +"parameterOrder": [ +"proposal" +], +"parameters": { +"proposal": { +"description": "Name of the proposal. Format: `buyers/{accountId}/proposals/{proposalId}`", +"location": "path", +"pattern": "^buyers/[^/]+/proposals/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+proposal}:cancelNegotiation", +"request": { +"$ref": "CancelNegotiationRequest" +}, +"response": { +"$ref": "Proposal" +}, +"scopes": [ +"https://www.googleapis.com/auth/authorized-buyers-marketplace" +] +}, +"get": { +"description": "Gets a proposal using its resource name. The proposal is returned at the latest revision.", +"flatPath": "v1/buyers/{buyersId}/proposals/{proposalsId}", +"httpMethod": "GET", +"id": "authorizedbuyersmarketplace.buyers.proposals.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of the proposal. Format: `buyers/{accountId}/proposals/{proposalId}`", +"location": "path", +"pattern": "^buyers/[^/]+/proposals/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Proposal" +}, +"scopes": [ +"https://www.googleapis.com/auth/authorized-buyers-marketplace" +] +}, +"list": { +"description": "Lists proposals. A filter expression using [Cloud API list filtering syntax](https://developers.google.com/authorized-buyers/apis/guides/list-filters) may be specified to filter the results.", +"flatPath": "v1/buyers/{buyersId}/proposals", +"httpMethod": "GET", +"id": "authorizedbuyersmarketplace.buyers.proposals.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Optional query string using the [Cloud API list filtering syntax](https://developers.google.com/authorized-buyers/apis/guides/list-filters) Supported columns for filtering are: * displayName * dealType * updateTime * state", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Requested page size. The server may return fewer results than requested. If unspecified, the server will put a size of 500.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The page token as returned from ListProposalsResponse.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. Parent that owns the collection of proposals Format: `buyers/{accountId}`", +"location": "path", +"pattern": "^buyers/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/proposals", +"response": { +"$ref": "ListProposalsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/authorized-buyers-marketplace" +] +}, +"patch": { +"description": "Updates the proposal at the given revision number. If the revision number in the request is behind the latest one kept in the server, an error message will be returned. See FieldMask for how to use FieldMask. Only fields specified in the UpdateProposalRequest.update_mask will be updated; Fields noted as 'Immutable' or 'Output only' yet specified in the UpdateProposalRequest.update_mask will be ignored and left unchanged. Updating a private auction proposal is only allowed for buyer private data, all other fields are immutable.", +"flatPath": "v1/buyers/{buyersId}/proposals/{proposalsId}", +"httpMethod": "PATCH", +"id": "authorizedbuyersmarketplace.buyers.proposals.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Immutable. The name of the proposal serving as a unique identifier. Format: buyers/{accountId}/proposals/{proposalId}", +"location": "path", +"pattern": "^buyers/[^/]+/proposals/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "List of fields to be updated. If empty or unspecified, the service will update all fields populated in the update request excluding the output only fields and primitive fields with default value. Note that explicit field mask is required in order to reset a primitive field back to its default value, for example, false for boolean fields, 0 for integer fields. A special field mask consisting of a single path \"*\" can be used to indicate full replacement(the equivalent of PUT method), updatable fields unset or unspecified in the input will be cleared or set to default value. Output only fields will be ignored regardless of the value of updateMask.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "Proposal" +}, +"response": { +"$ref": "Proposal" +}, +"scopes": [ +"https://www.googleapis.com/auth/authorized-buyers-marketplace" +] +}, +"sendRfp": { +"description": "Sends a request for proposal (RFP) to a publisher to initiate the negotiation regarding certain inventory. In the RFP, buyers can specify the deal type, deal terms, start and end dates, targeting, and a message to the publisher. Once the RFP is sent, a proposal in `SELLER_REVIEW_REQUESTED` state will be created and returned in the response. The publisher may review your request and respond with detailed deals in the proposal.", +"flatPath": "v1/buyers/{buyersId}/proposals:sendRfp", +"httpMethod": "POST", +"id": "authorizedbuyersmarketplace.buyers.proposals.sendRfp", +"parameterOrder": [ +"buyer" +], +"parameters": { +"buyer": { +"description": "Required. The current buyer who is sending the RFP in the format: `buyers/{accountId}`.", +"location": "path", +"pattern": "^buyers/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+buyer}/proposals:sendRfp", +"request": { +"$ref": "SendRfpRequest" +}, +"response": { +"$ref": "Proposal" +}, +"scopes": [ +"https://www.googleapis.com/auth/authorized-buyers-marketplace" +] +} +}, +"resources": { +"deals": { +"methods": { +"batchUpdate": { +"description": "Batch updates multiple deals in the same proposal.", +"flatPath": "v1/buyers/{buyersId}/proposals/{proposalsId}/deals:batchUpdate", +"httpMethod": "POST", +"id": "authorizedbuyersmarketplace.buyers.proposals.deals.batchUpdate", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The name of the proposal containing the deals to batch update. Format: buyers/{accountId}/proposals/{proposalId}", +"location": "path", +"pattern": "^buyers/[^/]+/proposals/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/deals:batchUpdate", +"request": { +"$ref": "BatchUpdateDealsRequest" +}, +"response": { +"$ref": "BatchUpdateDealsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/authorized-buyers-marketplace" +] +}, +"get": { +"description": "Gets a deal given its name. The deal is returned at its head revision.", +"flatPath": "v1/buyers/{buyersId}/proposals/{proposalsId}/deals/{dealsId}", +"httpMethod": "GET", +"id": "authorizedbuyersmarketplace.buyers.proposals.deals.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Format: buyers/{accountId}/proposals/{proposalId}/deals/{dealId}", +"location": "path", +"pattern": "^buyers/[^/]+/proposals/[^/]+/deals/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Deal" +}, +"scopes": [ +"https://www.googleapis.com/auth/authorized-buyers-marketplace" +] +}, +"list": { +"description": "Lists all deals in a proposal. To retrieve only the finalized revision deals regardless if a deal is being renegotiated, see the FinalizedDeals resource.", +"flatPath": "v1/buyers/{buyersId}/proposals/{proposalsId}/deals", +"httpMethod": "GET", +"id": "authorizedbuyersmarketplace.buyers.proposals.deals.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "Requested page size. The server may return fewer results than requested. If requested more than 500, the server will return 500 results per page. If unspecified, the server will pick a default page size of 100.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The page token as returned from ListDealsResponse.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The name of the proposal containing the deals to retrieve. Format: buyers/{accountId}/proposals/{proposalId}", +"location": "path", +"pattern": "^buyers/[^/]+/proposals/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/deals", +"response": { +"$ref": "ListDealsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/authorized-buyers-marketplace" +] +}, +"patch": { +"description": "Updates the given deal at the buyer known revision number. If the server revision has advanced since the passed-in proposal.proposal_revision an ABORTED error message will be returned. The revision number is incremented by the server whenever the proposal or its constituent deals are updated. Note: The revision number is kept at a proposal level. The buyer of the API is expected to keep track of the revision number after the last update operation and send it in as part of the next update request. This way, if there are further changes on the server (for example, seller making new updates), then the server can detect conflicts and reject the proposed changes.", +"flatPath": "v1/buyers/{buyersId}/proposals/{proposalsId}/deals/{dealsId}", +"httpMethod": "PATCH", +"id": "authorizedbuyersmarketplace.buyers.proposals.deals.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Immutable. The unique identifier of the deal. Auto-generated by the server when a deal is created. Format: buyers/{accountId}/proposals/{proposalId}/deals/{dealId}", +"location": "path", +"pattern": "^buyers/[^/]+/proposals/[^/]+/deals/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "List of fields to be updated. If empty or unspecified, the service will update all fields populated in the update request excluding the output only fields and primitive fields with default value. Note that explicit field mask is required in order to reset a primitive field back to its default value, for example, false for boolean fields, 0 for integer fields. A special field mask consisting of a single path \"*\" can be used to indicate full replacement(the equivalent of PUT method), updatable fields unset or unspecified in the input will be cleared or set to default value. Output only fields will be ignored regardless of the value of updateMask.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "Deal" +}, +"response": { +"$ref": "Deal" +}, +"scopes": [ +"https://www.googleapis.com/auth/authorized-buyers-marketplace" +] +} +} +} +} +}, +"publisherProfiles": { +"methods": { +"get": { +"description": "Gets the requested publisher profile by name.", +"flatPath": "v1/buyers/{buyersId}/publisherProfiles/{publisherProfilesId}", +"httpMethod": "GET", +"id": "authorizedbuyersmarketplace.buyers.publisherProfiles.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of the publisher profile. Format: `buyers/{buyerId}/publisherProfiles/{publisherProfileId}`", +"location": "path", +"pattern": "^buyers/[^/]+/publisherProfiles/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "PublisherProfile" +}, +"scopes": [ +"https://www.googleapis.com/auth/authorized-buyers-marketplace" +] +}, +"list": { +"description": "Lists publisher profiles. The returned publisher profiles aren't in any defined order. The order of the results might change. A new publisher profile can appear in any place in the list of returned results.", +"flatPath": "v1/buyers/{buyersId}/publisherProfiles", +"httpMethod": "GET", +"id": "authorizedbuyersmarketplace.buyers.publisherProfiles.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Optional query string using the [Cloud API list filtering] (https://developers.google.com/authorized-buyers/apis/guides/list-filters) syntax.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Requested page size. The server may return fewer results than requested. If requested more than 500, the server will return 500 results per page. If unspecified, the server will pick a default page size of 100.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The page token as returned from a previous ListPublisherProfilesResponse.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. Parent that owns the collection of publisher profiles Format: `buyers/{buyerId}`", +"location": "path", +"pattern": "^buyers/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/publisherProfiles", +"response": { +"$ref": "ListPublisherProfilesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/authorized-buyers-marketplace" +] +} +} +} +} +} +}, +"revision": "20251211", +"rootUrl": "https://authorizedbuyersmarketplace.googleapis.com/", +"schemas": { +"AcceptProposalRequest": { +"description": "Request to accept a proposal. Accepting a proposal implies acceptance of the publisher terms_and_conditions, if any.", +"id": "AcceptProposalRequest", +"properties": { +"proposalRevision": { +"description": "The last known client revision number of the proposal.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"ActivateClientRequest": { +"description": "Request message for activating a client.", +"id": "ActivateClientRequest", +"properties": {}, +"type": "object" +}, +"ActivateClientUserRequest": { +"description": "Request message for activating a client user.", +"id": "ActivateClientUserRequest", +"properties": {}, +"type": "object" +}, +"AdSize": { +"description": "Represents size of a single ad slot, or a creative.", +"id": "AdSize", +"properties": { +"height": { +"description": "The height of the ad slot in pixels. This field will be present only when size type is `PIXEL`.", +"format": "int64", +"type": "string" +}, +"type": { +"description": "The type of the ad slot size.", +"enum": [ +"TYPE_UNSPECIFIED", +"PIXEL", +"INTERSTITIAL", +"NATIVE", +"FLUID" +], +"enumDescriptions": [ +"A placeholder for an undefined size type.", +"Ad slot with size specified by height and width in pixels.", +"Special size to describe an interstitial ad slot.", +"Native (mobile) ads rendered by the publisher.", +"Fluid size (responsive size) can be resized automatically with the change of outside environment." +], +"type": "string" +}, +"width": { +"description": "The width of the ad slot in pixels. This field will be present only when size type is `PIXEL`.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"AddCreativeRequest": { +"description": "Request message for adding creative to be used in the bidding process for the finalized deal.", +"id": "AddCreativeRequest", +"properties": { +"creative": { +"description": "Name of the creative to add to the finalized deal, in the format `buyers/{buyerAccountId}/creatives/{creativeId}`. See creative.name.", +"type": "string" +} +}, +"type": "object" +}, +"AddNoteRequest": { +"description": "Request to add a note.", +"id": "AddNoteRequest", +"properties": { +"note": { +"$ref": "Note", +"description": "The note to add." +} +}, +"type": "object" +}, +"AuctionPackage": { +"description": "Defines a segment of inventory that buyer wants to buy. It's created by buyer and could be shared with multiple buyers.", +"id": "AuctionPackage", +"properties": { +"createTime": { +"description": "Output only. Time the auction package was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"creator": { +"description": "Output only. The buyer that created this auction package. Format: `buyers/{buyerAccountId}`", +"readOnly": true, +"type": "string" +}, +"dealOwnerSeatId": { +"description": "Output only. If set, this field contains the DSP specific seat id set by the media planner account that is considered the owner of this deal. The seat ID is in the calling DSP's namespace.", +"readOnly": true, +"type": "string" +}, +"description": { +"description": "Output only. A description of the auction package.", +"readOnly": true, +"type": "string" +}, +"displayName": { +"description": "The display_name assigned to the auction package.", +"type": "string" +}, +"eligibleSeatIds": { +"description": "Output only. If set, this field identifies a seat that the media planner selected as the owner of this auction package. This is a seat ID in the DSP's namespace that was provided to the media planner.", +"items": { +"type": "string" +}, +"readOnly": true, +"type": "array" +}, +"floorPriceCpm": { +"$ref": "Money", +"description": "Output only. The minimum price a buyer has to bid to compete in this auction package. If this is field is not populated, there is no floor price.", +"readOnly": true +}, +"name": { +"description": "Immutable. The unique identifier for the auction package. Format: `buyers/{accountId}/auctionPackages/{auctionPackageId}` The auction_package_id part of name is sent in the BidRequest to all RTB bidders and is returned as deal_id by the bidder in the BidResponse.", +"type": "string" +}, +"subscribedBuyers": { +"description": "Output only. The list of buyers that are subscribed to the AuctionPackage. This field is only populated when calling as a bidder. Format: `buyers/{buyerAccountId}`", +"items": { +"type": "string" +}, +"readOnly": true, +"type": "array" +}, +"subscribedClients": { +"description": "Output only. When calling as a buyer, the list of clients of the current buyer that are subscribed to the AuctionPackage. When calling as a bidder, the list of clients that are subscribed to the AuctionPackage owned by the bidder or its buyers. Format: `buyers/{buyerAccountId}/clients/{clientAccountId}`", +"items": { +"type": "string" +}, +"readOnly": true, +"type": "array" +}, +"subscribedMediaPlanners": { +"description": "Output only. The list of media planners that are subscribed to the AuctionPackage. This field is only populated when calling as a bidder.", +"items": { +"$ref": "MediaPlanner" +}, +"readOnly": true, +"type": "array" +}, +"updateTime": { +"description": "Output only. Time the auction package was last updated. This value is only increased when this auction package is updated but never when a buyer subscribed.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"BatchUpdateDealsRequest": { +"description": "Request message for batch updating deals.", +"id": "BatchUpdateDealsRequest", +"properties": { +"requests": { +"description": "Required. List of request messages to update deals.", +"items": { +"$ref": "UpdateDealRequest" +}, +"type": "array" +} +}, +"type": "object" +}, +"BatchUpdateDealsResponse": { +"description": "Response message for batch updating deals.", +"id": "BatchUpdateDealsResponse", +"properties": { +"deals": { +"description": "Deals updated.", +"items": { +"$ref": "Deal" +}, +"type": "array" +} +}, +"type": "object" +}, +"CancelNegotiationRequest": { +"description": "Request to cancel an ongoing negotiation.", +"id": "CancelNegotiationRequest", +"properties": {}, +"type": "object" +}, +"Client": { +"description": "A client represents an agency, a brand, or an advertiser customer of the buyer. Based on the client's role, its client users will have varying levels of restricted access to the Marketplace and certain other sections of the Authorized Buyers UI.", +"id": "Client", +"properties": { +"displayName": { +"description": "Required. Display name shown to publishers. Must be unique for clients without partnerClientId specified. Maximum length of 255 characters is allowed.", +"type": "string" +}, +"name": { +"description": "Output only. The resource name of the client. Format: `buyers/{accountId}/clients/{clientAccountId}`", +"readOnly": true, +"type": "string" +}, +"partnerClientId": { +"description": "Arbitrary unique identifier provided by the buyer. This field can be used to associate a client with an identifier in the namespace of the buyer, lookup clients by that identifier and verify whether an Authorized Buyers account of the client already exists. If present, must be unique across all the clients.", +"type": "string" +}, +"role": { +"description": "Required. The role assigned to the client. Each role implies a set of permissions granted to the client.", +"enum": [ +"CLIENT_ROLE_UNSPECIFIED", +"CLIENT_DEAL_VIEWER", +"CLIENT_DEAL_NEGOTIATOR", +"CLIENT_DEAL_APPROVER" +], +"enumDescriptions": [ +"A placeholder for an undefined client role. This value should never be specified in user input for create or update method, otherwise an error will be returned.", +"Users associated with this client role can only view proposals and deals in the Marketplace UI. They cannot negotiate or approve proposals and deals sent from publishers or send RFP to publishers.", +"Users associated with this client role can view and negotiate on the proposals and deals in the Marketplace UI sent from publishers and send RFP to publishers, but cannot approve the proposals and deals by themselves. The buyer can approve the proposals and deals on behalf of the client.", +"Users associated with this client role can view, negotiate and approve proposals and deals in the Marketplace UI and send RFP to publishers." +], +"type": "string" +}, +"sellerVisible": { +"description": "Whether the client will be visible to sellers.", +"type": "boolean" +}, +"state": { +"description": "Output only. The state of the client.", +"enum": [ +"STATE_UNSPECIFIED", +"ACTIVE", +"INACTIVE" +], +"enumDescriptions": [ +"A placeholder for an undefined client state. Should not be used.", +"A client that is currently active and allowed to access the Authorized Buyers UI.", +"A client that is currently inactive and not allowed to access the Authorized Buyers UI." +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"ClientUser": { +"description": "A user of a client who has restricted access to the Marketplace and certain other sections of the Authorized Buyers UI based on the role granted to the associated client.", +"id": "ClientUser", +"properties": { +"email": { +"description": "Required. The client user's email address that has to be unique across all users for the same client.", +"type": "string" +}, +"name": { +"description": "Output only. The resource name of the client user. Format: `buyers/{accountId}/clients/{clientAccountId}/users/{userId}`", +"readOnly": true, +"type": "string" +}, +"state": { +"description": "Output only. The state of the client user.", +"enum": [ +"STATE_UNSPECIFIED", +"INVITED", +"ACTIVE", +"INACTIVE" +], +"enumDescriptions": [ +"A placeholder for an undefined user state.", +"A user who was created but hasn't accepted the invitation yet, not allowed to access the Authorized Buyers UI.", +"A user that is currently active and allowed to access the Authorized Buyers UI.", +"A user that is currently inactive and not allowed to access the Authorized Buyers UI." +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"Contact": { +"description": "Contains information on how a buyer or seller can be reached.", +"id": "Contact", +"properties": { +"displayName": { +"description": "The display_name of the contact.", +"type": "string" +}, +"email": { +"description": "Email address for the contact.", +"type": "string" +} +}, +"type": "object" +}, +"CreativeRequirements": { +"description": "Message captures data about the creatives in the deal.", +"id": "CreativeRequirements", +"properties": { +"creativeFormat": { +"description": "Output only. The format of the creative, only applicable for programmatic guaranteed and preferred deals.", +"enum": [ +"CREATIVE_FORMAT_UNSPECIFIED", +"DISPLAY", +"VIDEO", +"AUDIO" +], +"enumDescriptions": [ +"A placeholder for an unspecified creative format.", +"Banner creatives such as image or HTML5 assets.", +"Video creatives that can be played in a video player.", +"Audio creatives that can play during audio content or point to a third party ad server." +], +"readOnly": true, +"type": "string" +}, +"creativePreApprovalPolicy": { +"description": "Output only. Specifies the creative pre-approval policy.", +"enum": [ +"CREATIVE_PRE_APPROVAL_POLICY_UNSPECIFIED", +"SELLER_PRE_APPROVAL_REQUIRED", +"SELLER_PRE_APPROVAL_NOT_REQUIRED" +], +"enumDescriptions": [ +"A placeholder for an undefined creative pre-approval policy.", +"The seller needs to approve each creative before it can serve.", +"The seller does not need to approve each creative before it can serve." +], +"readOnly": true, +"type": "string" +}, +"creativeSafeFrameCompatibility": { +"description": "Output only. Specifies whether the creative is safeFrame compatible.", +"enum": [ +"CREATIVE_SAFE_FRAME_COMPATIBILITY_UNSPECIFIED", +"COMPATIBLE", +"INCOMPATIBLE" +], +"enumDescriptions": [ +"A placeholder for an undefined creative safe-frame compatibility.", +"The creatives need to be compatible with the safe frame option.", +"The creatives can be incompatible with the safe frame option." +], +"readOnly": true, +"type": "string" +}, +"maxAdDurationMs": { +"description": "Output only. The max duration of the video creative in milliseconds. only applicable for deals with video creatives.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"programmaticCreativeSource": { +"description": "Output only. Specifies the creative source for programmatic deals. PUBLISHER means creative is provided by seller and ADVERTISER means creative is provided by the buyer.", +"enum": [ +"PROGRAMMATIC_CREATIVE_SOURCE_UNSPECIFIED", +"ADVERTISER", +"PUBLISHER" +], +"enumDescriptions": [ +"A placeholder for an undefined programmatic creative source.", +"The advertiser provides the creatives.", +"The publisher provides the creatives to be served." +], +"readOnly": true, +"type": "string" +}, +"skippableAdType": { +"description": "Output only. Skippable video ads allow viewers to skip ads after 5 seconds. Only applicable for deals with video creatives.", +"enum": [ +"SKIPPABLE_AD_TYPE_UNSPECIFIED", +"SKIPPABLE", +"INSTREAM_SELECT", +"NOT_SKIPPABLE", +"ANY" +], +"enumDescriptions": [ +"A placeholder for an unspecified skippable ad type.", +"Video ad that can be skipped after 5 seconds. This value will appear in RTB bid requests as SkippableBidRequestType::REQUIRE_SKIPPABLE.", +"Video ad that can be skipped after 5 seconds, and is counted as engaged view after 30 seconds. The creative is hosted on YouTube only, and viewcount of the YouTube video increments after the engaged view. This value will appear in RTB bid requests as SkippableBidRequestType::REQUIRE_SKIPPABLE.", +"This video ad is not skippable. This value will appear in RTB bid requests as SkippableBidRequestType::BLOCK_SKIPPABLE.", +"This video ad can be skipped after 5 seconds or not-skippable. This value will appear in RTB bid requests as SkippableBidRequestType::ALLOW_SKIPPABLE." +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"CriteriaTargeting": { +"description": "Generic targeting used for targeting dimensions that contains a list of included and excluded numeric IDs. This cannot be filtered using list filter syntax.", +"id": "CriteriaTargeting", +"properties": { +"excludedCriteriaIds": { +"description": "A list of numeric IDs to be excluded.", +"items": { +"format": "int64", +"type": "string" +}, +"type": "array" +}, +"targetedCriteriaIds": { +"description": "A list of numeric IDs to be included.", +"items": { +"format": "int64", +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"DayPart": { +"description": "Defines targeting for a period of time on a specific week day.", +"id": "DayPart", +"properties": { +"dayOfWeek": { +"description": "Day of week for the period.", +"enum": [ +"DAY_OF_WEEK_UNSPECIFIED", +"MONDAY", +"TUESDAY", +"WEDNESDAY", +"THURSDAY", +"FRIDAY", +"SATURDAY", +"SUNDAY" +], +"enumDescriptions": [ +"The day of the week is unspecified.", +"Monday", +"Tuesday", +"Wednesday", +"Thursday", +"Friday", +"Saturday", +"Sunday" +], +"type": "string" +}, +"endTime": { +"$ref": "TimeOfDay", +"description": "Hours in 24 hour time between 0 and 24, inclusive. Note: 24 is logically equivalent to 0, but is supported since in some cases there may need to be differentiation made between midnight on one day and midnight on the next day. Accepted values for minutes are [0, 15, 30, 45]. 0 is the only acceptable minute value for hour 24. Seconds and nanos are ignored." +}, +"startTime": { +"$ref": "TimeOfDay", +"description": "Hours in 24 hour time between 0 and 24, inclusive. Note: 24 is logically equivalent to 0, but is supported since in some cases there may need to be differentiation made between midnight on one day and midnight on the next day. Accepted values for minutes are [0, 15, 30, 45]. 0 is the only acceptable minute value for hour 24. Seconds and nanos are ignored." +} +}, +"type": "object" +}, +"DayPartTargeting": { +"description": "Represents Daypart targeting.", +"id": "DayPartTargeting", +"properties": { +"dayParts": { +"description": "The targeted weekdays and times", +"items": { +"$ref": "DayPart" +}, +"type": "array" +}, +"timeZoneType": { +"description": "The time zone type of the day parts", +"enum": [ +"TIME_ZONE_TYPE_UNSPECIFIED", +"SELLER", +"USER" +], +"enumDescriptions": [ +"Default value. This field is unused.", +"The publisher's time zone", +"The user's time zone" +], +"type": "string" +} +}, +"type": "object" +}, +"DeactivateClientRequest": { +"description": "Request message for disabling a client.", +"id": "DeactivateClientRequest", +"properties": {}, +"type": "object" +}, +"DeactivateClientUserRequest": { +"description": "Request message for deactivating a client user.", +"id": "DeactivateClientUserRequest", +"properties": {}, +"type": "object" +}, +"Deal": { +"description": "A deal represents a segment of inventory for displaying ads that contains the terms and targeting information that is used for serving as well as the deal stats and status. Note: A proposal may contain multiple deals.", +"id": "Deal", +"properties": { +"billedBuyer": { +"description": "Output only. When the client field is populated, this field refers to the buyer who creates and manages the client buyer and gets billed on behalf of the client buyer; when the buyer field is populated, this field is the same value as buyer; when the deal belongs to a media planner account, this field will be empty. Format : `buyers/{buyerAccountId}`", +"readOnly": true, +"type": "string" +}, +"buyer": { +"description": "Output only. Refers to a buyer in Real-time Bidding API's Buyer resource. Format: `buyers/{buyerAccountId}`", +"readOnly": true, +"type": "string" +}, +"buyerPermissionType": { +"description": "Output only. The buyer permission type of the deal.", +"enum": [ +"BUYER_PERMISSION_TYPE_UNSPECIFIED", +"NEGOTIATOR_ONLY", +"BIDDER" +], +"enumDescriptions": [ +"A placeholder for an undefined buyer permission type.", +"Only the [Deal.negotiating_buyer] can transact on the deal.", +"All buyers under the [Deal.negotiating_buyer]'s bidder can transact on the deal." +], +"readOnly": true, +"type": "string" +}, +"client": { +"description": "Output only. Refers to a Client. Format: `buyers/{buyerAccountId}/clients/{clientAccountid}`", +"readOnly": true, +"type": "string" +}, +"createTime": { +"description": "Output only. The time of the deal creation.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"creativeRequirements": { +"$ref": "CreativeRequirements", +"description": "Output only. Metadata about the creatives of this deal.", +"readOnly": true +}, +"dealType": { +"description": "Output only. Type of deal.", +"enum": [ +"DEAL_TYPE_UNSPECIFIED", +"PREFERRED_DEAL", +"PRIVATE_AUCTION", +"PROGRAMMATIC_GUARANTEED" +], +"enumDescriptions": [ +"Default, unspecified deal type.", +"Preferred deals.", +"Private auction deals.", +"Programmatic guaranteed deals." +], +"readOnly": true, +"type": "string" +}, +"deliveryControl": { +"$ref": "DeliveryControl", +"description": "Output only. Specifies the pacing set by the publisher.", +"readOnly": true +}, +"description": { +"description": "Output only. Free text description for the deal terms.", +"readOnly": true, +"type": "string" +}, +"displayName": { +"description": "Output only. The name of the deal. Maximum length of 255 unicode characters is allowed. Control characters are not allowed. Buyers cannot update this field. Note: Not to be confused with name, which is a unique identifier of the deal.", +"readOnly": true, +"type": "string" +}, +"eligibleSeatIds": { +"description": "Output only. If set, this field contains the list of DSP specific seat ids set by media planners that are eligible to transact on this deal. The seat ID is in the calling DSP's namespace.", +"items": { +"type": "string" +}, +"readOnly": true, +"type": "array" +}, +"estimatedGrossSpend": { +"$ref": "Money", +"description": "Specified by buyers in request for proposal (RFP) to notify publisher the total estimated spend for the proposal. Publishers will receive this information and send back proposed deals accordingly." +}, +"flightEndTime": { +"description": "Proposed flight end time of the deal. This will generally be stored in a granularity of a second. A value is not necessary for Private Auction deals.", +"format": "google-datetime", +"type": "string" +}, +"flightStartTime": { +"description": "Proposed flight start time of the deal. This will generally be stored in the granularity of one second since deal serving starts at seconds boundary. Any time specified with more granularity (for example, in milliseconds) will be truncated towards the start of time in seconds.", +"format": "google-datetime", +"type": "string" +}, +"mediaPlanner": { +"$ref": "MediaPlanner", +"description": "Output only. Refers to a buyer in Real-time Bidding API's Buyer resource. This field represents a media planner (For example, agency or big advertiser).", +"readOnly": true +}, +"name": { +"description": "Immutable. The unique identifier of the deal. Auto-generated by the server when a deal is created. Format: buyers/{accountId}/proposals/{proposalId}/deals/{dealId}", +"type": "string" +}, +"preferredDealTerms": { +"$ref": "PreferredDealTerms", +"description": "The terms for preferred deals." +}, +"privateAuctionTerms": { +"$ref": "PrivateAuctionTerms", +"description": "The terms for private auction deals." +}, +"programmaticGuaranteedTerms": { +"$ref": "ProgrammaticGuaranteedTerms", +"description": "The terms for programmatic guaranteed deals." +}, +"proposalRevision": { +"description": "Output only. The revision number for the proposal and is the same value as proposal.proposal_revision. Each update to deal causes the proposal revision number to auto-increment. The buyer keeps track of the last revision number they know of and pass it in when making an update. If the head revision number on the server has since incremented, then an ABORTED error is returned during the update operation to let the buyer know that a subsequent update was made.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"publisherProfile": { +"description": "Immutable. Reference to the seller on the deal. Format: `buyers/{buyerAccountId}/publisherProfiles/{publisherProfileId}`", +"type": "string" +}, +"sellerTimeZone": { +"$ref": "TimeZone", +"description": "Output only. Time zone of the seller used to mark the boundaries of a day for daypart targeting and CPD billing.", +"readOnly": true +}, +"targeting": { +"$ref": "MarketplaceTargeting", +"description": "Specifies the subset of inventory targeted by the deal. Can be updated by the buyer before the deal is finalized." +}, +"updateTime": { +"description": "Output only. The time when the deal was last updated.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"DealPausingInfo": { +"description": "Information related to deal pausing.", +"id": "DealPausingInfo", +"properties": { +"pauseReason": { +"description": "The reason for the pausing of the deal; empty for active deals.", +"type": "string" +}, +"pauseRole": { +"description": "The party that first paused the deal; unspecified for active deals.", +"enum": [ +"BUYER_SELLER_ROLE_UNSPECIFIED", +"BUYER", +"SELLER" +], +"enumDescriptions": [ +"A placeholder for an undefined buyer/seller role.", +"Specifies the role as buyer.", +"Specifies the role as seller." +], +"type": "string" +}, +"pausingConsented": { +"description": "Whether pausing is consented between buyer and seller for the deal.", +"type": "boolean" +} +}, +"type": "object" +}, +"DeliveryControl": { +"description": "Message contains details about how the deal will be paced.", +"id": "DeliveryControl", +"properties": { +"companionDeliveryType": { +"description": "Output only. Specifies roadblocking in a main companion lineitem.", +"enum": [ +"COMPANION_DELIVERY_TYPE_UNSPECIFIED", +"DELIVERY_OPTIONAL", +"DELIVERY_AT_LEAST_ONE", +"DELIVERY_ALL" +], +"enumDescriptions": [ +"A placeholder for an unspecified companion delivery type.", +"Companions are not required to serve a creative set. The creative set can serve an inventory that has zero or more matching companions.", +"At least one companion must be served in order for the creative set to be used.", +"All companions in the set must be served in order for the creative set to be used. This can still serve to inventory that has more companions than can be filled." +], +"readOnly": true, +"type": "string" +}, +"creativeRotationType": { +"description": "Output only. Specifies strategy to use for selecting a creative when multiple creatives of the same size are available.", +"enum": [ +"CREATIVE_ROTATION_TYPE_UNSPECIFIED", +"ROTATION_EVEN", +"ROTATION_OPTIMIZED", +"ROTATION_MANUAL", +"ROTATION_SEQUENTIAL" +], +"enumDescriptions": [ +"Creatives are displayed roughly the same number of times over the duration of the deal.", +"Creatives are displayed roughly the same number of times over the duration of the deal.", +"Creatives are served roughly proportionally to their performance.", +"Creatives are served roughly proportionally to their weights.", +"Creatives are served exactly in sequential order, also known as Storyboarding." +], +"readOnly": true, +"type": "string" +}, +"deliveryRateType": { +"description": "Output only. Specifies how the impression delivery will be paced.", +"enum": [ +"DELIVERY_RATE_TYPE_UNSPECIFIED", +"EVENLY", +"FRONT_LOADED", +"AS_FAST_AS_POSSIBLE" +], +"enumDescriptions": [ +"A placeholder for an undefined delivery rate type.", +"Impressions are served uniformly over the life of the deal.", +"Impressions are served front-loaded.", +"Impressions are served as fast as possible." +], +"readOnly": true, +"type": "string" +}, +"frequencyCap": { +"description": "Output only. Specifies any frequency caps. Cannot be filtered within ListDealsRequest.", +"items": { +"$ref": "FrequencyCap" +}, +"readOnly": true, +"type": "array" +}, +"roadblockingType": { +"description": "Output only. Specifies the roadblocking type in display creatives.", +"enum": [ +"ROADBLOCKING_TYPE_UNSPECIFIED", +"ONLY_ONE", +"ONE_OR_MORE", +"AS_MANY_AS_POSSIBLE", +"ALL_ROADBLOCK", +"CREATIVE_SET" +], +"enumDescriptions": [ +"A placeholder for an unspecified roadblocking type.", +"Only one creative from a deal can serve per ad request. https://support.google.com/admanager/answer/177277.", +"Any number of creatives from a deal can serve together per ad request.", +"As many creatives from a deal as can fit on a page will serve. This could mean anywhere from one to all of a deal's creatives given the size constraints of ad slots on a page.", +"All or none of the creatives from a deal will serve.", +"A main/companion creative set roadblocking type." +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"Empty": { +"description": "A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }", +"id": "Empty", +"properties": {}, +"type": "object" +}, +"FinalizedDeal": { +"description": "A finalized deal is a snapshot of the deal when both buyer and seller accept the deal. The buyer or seller can update the deal after it's been finalized and renegotiate on the deal targeting, terms and other fields, while at the same time the finalized snapshot of the deal can still be retrieved using this API. The finalized deal contains a copy of the deal as it existed when most recently finalized, as well as fields related to deal serving such as pause/resume status, RTB metrics, and more.", +"id": "FinalizedDeal", +"properties": { +"deal": { +"$ref": "Deal", +"description": "A copy of the Deal made upon finalization. During renegotiation, this will reflect the last finalized deal before renegotiation was initiated." +}, +"dealPausingInfo": { +"$ref": "DealPausingInfo", +"description": "Information related to deal pausing for the deal." +}, +"dealServingStatus": { +"description": "Serving status of the deal.", +"enum": [ +"DEAL_SERVING_STATUS_UNSPECIFIED", +"ACTIVE", +"ENDED", +"PAUSED_BY_BUYER", +"PAUSED_BY_SELLER" +], +"enumDescriptions": [ +"Unspecified.", +"The deal is actively serving or ready to serve when the start date is reached.", +"The deal serving has ended.", +"The deal serving is paused by buyer.", +"The deal serving is paused by seller." +], +"type": "string" +}, +"name": { +"description": "The resource name of the finalized deal. Format: `buyers/{accountId}/finalizedDeals/{finalizedDealId}`", +"type": "string" +}, +"readyToServe": { +"description": "Whether the Programmatic Guaranteed deal is ready for serving.", +"type": "boolean" +}, +"rtbMetrics": { +"$ref": "RtbMetrics", +"description": "Real-time bidding metrics for this deal." +} +}, +"type": "object" +}, +"FirstPartyMobileApplicationTargeting": { +"description": "Represents a list of targeted and excluded mobile application IDs that publishers own. Android App ID, for example, com.google.android.apps.maps, can be found in Google Play Store URL. iOS App ID (which is a number) can be found at the end of iTunes store URL. First party mobile applications is either included or excluded.", +"id": "FirstPartyMobileApplicationTargeting", +"properties": { +"excludedAppIds": { +"description": "A list of application IDs to be excluded.", +"items": { +"type": "string" +}, +"type": "array" +}, +"targetedAppIds": { +"description": "A list of application IDs to be included.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"FrequencyCap": { +"description": "Message contains details about publisher-set frequency caps of the delivery.", +"id": "FrequencyCap", +"properties": { +"maxImpressions": { +"description": "The maximum number of impressions that can be served to a user within the specified time period.", +"format": "int32", +"type": "integer" +}, +"timeUnitType": { +"description": "The time unit. Along with num_time_units defines the amount of time over which impressions per user are counted and capped.", +"enum": [ +"TIME_UNIT_TYPE_UNSPECIFIED", +"MINUTE", +"HOUR", +"DAY", +"WEEK", +"MONTH", +"LIFETIME", +"POD", +"STREAM" +], +"enumDescriptions": [ +"A placeholder for an undefined time unit type. This just indicates the variable with this value hasn't been initialized.", +"Minute unit.", +"Hour unit.", +"Day unit.", +"Week unit.", +"Month unit.", +"Lifecycle/Lifetime unit.", +"Pod unit.", +"Stream unit." +], +"type": "string" +}, +"timeUnitsCount": { +"description": "The amount of time, in the units specified by time_unit_type. Defines the amount of time over which impressions per user are counted and capped.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"InventorySizeTargeting": { +"description": "Represents the size of an ad unit that can be targeted on a bid request.", +"id": "InventorySizeTargeting", +"properties": { +"excludedInventorySizes": { +"description": "A list of inventory sizes to be excluded.", +"items": { +"$ref": "AdSize" +}, +"type": "array" +}, +"targetedInventorySizes": { +"description": "A list of inventory sizes to be included.", +"items": { +"$ref": "AdSize" +}, +"type": "array" +} +}, +"type": "object" +}, +"InventoryTypeTargeting": { +"description": "Targeting of the inventory types a bid request can originate from.", +"id": "InventoryTypeTargeting", +"properties": { +"inventoryTypes": { +"description": "The list of targeted inventory types for the bid request.", +"items": { +"enum": [ +"INVENTORY_TYPE_UNSPECIFIED", +"BROWSER", +"MOBILE_APP", +"VIDEO_PLAYER" +], +"enumDescriptions": [ +"Unspecified inventory type", +"Desktop or mobile web browser excluding ads inside a video player", +"Mobile apps other than video players and web browsers", +"Instream video and audio" +], +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListAuctionPackagesResponse": { +"description": "Response message for listing auction packages.", +"id": "ListAuctionPackagesResponse", +"properties": { +"auctionPackages": { +"description": "The list of auction packages.", +"items": { +"$ref": "AuctionPackage" +}, +"type": "array" +}, +"nextPageToken": { +"description": "Continuation token for fetching the next page of results. Pass this value in the ListAuctionPackagesRequest.pageToken field in the subsequent call to the `ListAuctionPackages` method to retrieve the next page of results.", +"type": "string" +} +}, +"type": "object" +}, +"ListClientUsersResponse": { +"description": "Response message for the list method.", +"id": "ListClientUsersResponse", +"properties": { +"clientUsers": { +"description": "The returned list of client users.", +"items": { +"$ref": "ClientUser" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A token to retrieve the next page of results. Pass this value in the ListClientUsersRequest.pageToken field in the subsequent call to the list method to retrieve the next page of results.", +"type": "string" +} +}, +"type": "object" +}, +"ListClientsResponse": { +"description": "Response message for the list method.", +"id": "ListClientsResponse", +"properties": { +"clients": { +"description": "The returned list of clients.", +"items": { +"$ref": "Client" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A token to retrieve the next page of results. Pass this value in the ListClientsRequest.pageToken field in the subsequent call to the list method to retrieve the next page of results.", +"type": "string" +} +}, +"type": "object" +}, +"ListDealsResponse": { +"description": "Response message for listing deals in a proposal.", +"id": "ListDealsResponse", +"properties": { +"deals": { +"description": "The list of deals.", +"items": { +"$ref": "Deal" +}, +"type": "array" +}, +"nextPageToken": { +"description": "Token to fetch the next page of results.", +"type": "string" +} +}, +"type": "object" +}, +"ListFinalizedDealsResponse": { +"description": "Response message for listing finalized deals.", +"id": "ListFinalizedDealsResponse", +"properties": { +"finalizedDeals": { +"description": "The list of finalized deals.", +"items": { +"$ref": "FinalizedDeal" +}, +"type": "array" +}, +"nextPageToken": { +"description": "Token to fetch the next page of results.", +"type": "string" +} +}, +"type": "object" +}, +"ListProposalsResponse": { +"description": "Response message for listing proposals.", +"id": "ListProposalsResponse", +"properties": { +"nextPageToken": { +"description": "Continuation token for fetching the next page of results.", +"type": "string" +}, +"proposals": { +"description": "The list of proposals.", +"items": { +"$ref": "Proposal" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListPublisherProfilesResponse": { +"description": "Response message for profiles visible to the buyer.", +"id": "ListPublisherProfilesResponse", +"properties": { +"nextPageToken": { +"description": "Token to fetch the next page of results.", +"type": "string" +}, +"publisherProfiles": { +"description": "The list of matching publisher profiles.", +"items": { +"$ref": "PublisherProfile" +}, +"type": "array" +} +}, +"type": "object" +}, +"MarketplaceTargeting": { +"description": "Targeting represents different criteria that can be used to target deals or auction packages. For example, they can choose to target inventory only if the user is in the US. Multiple types of targeting are always applied as a logical AND, unless noted otherwise.", +"id": "MarketplaceTargeting", +"properties": { +"daypartTargeting": { +"$ref": "DayPartTargeting", +"description": "Daypart targeting information." +}, +"excludedSensitiveCategoryIds": { +"description": "Output only. The sensitive content category label IDs excluded. Refer to this file https://storage.googleapis.com/adx-rtb-dictionaries/content-labels.txt for category IDs.", +"items": { +"format": "int64", +"type": "string" +}, +"readOnly": true, +"type": "array" +}, +"geoTargeting": { +"$ref": "CriteriaTargeting", +"description": "Output only. Geo criteria IDs to be included/excluded.", +"readOnly": true +}, +"inventorySizeTargeting": { +"$ref": "InventorySizeTargeting", +"description": "Output only. Inventory sizes to be included/excluded.", +"readOnly": true +}, +"inventoryTypeTargeting": { +"$ref": "InventoryTypeTargeting", +"description": "Output only. Inventory type targeting information.", +"readOnly": true +}, +"placementTargeting": { +"$ref": "PlacementTargeting", +"description": "Output only. Placement targeting information, for example, URL, mobile applications.", +"readOnly": true +}, +"technologyTargeting": { +"$ref": "TechnologyTargeting", +"description": "Output only. Technology targeting information, for example, operating system, device category.", +"readOnly": true +}, +"userListTargeting": { +"$ref": "CriteriaTargeting", +"description": "Buyer user list targeting information. User lists can be uploaded using https://developers.google.com/authorized-buyers/rtb/bulk-uploader." +}, +"verticalTargeting": { +"$ref": "CriteriaTargeting", +"description": "Output only. The verticals included or excluded as defined in https://developers.google.com/authorized-buyers/rtb/downloads/publisher-verticals", +"readOnly": true +}, +"videoTargeting": { +"$ref": "VideoTargeting", +"description": "Output only. Video targeting information.", +"readOnly": true +} +}, +"type": "object" +}, +"MediaPlanner": { +"description": "Represents a media planner account.", +"id": "MediaPlanner", +"properties": { +"accountId": { +"deprecated": true, +"description": "Output only. Account ID of the media planner.", +"readOnly": true, +"type": "string" +}, +"ancestorNames": { +"description": "Output only. The ancestor names of the media planner. Format: `mediaPlanners/{mediaPlannerAccountId}` Can be used to filter the response of the mediaPlanners.list method.", +"items": { +"type": "string" +}, +"readOnly": true, +"type": "array" +}, +"displayName": { +"description": "Output only. The display name of the media planner. Can be used to filter the response of the mediaPlanners.list method.", +"readOnly": true, +"type": "string" +}, +"name": { +"description": "Identifier. The unique resource name of the media planner. Format: `mediaPlanners/{mediaPlannerAccountId}` Can be used to filter the response of the mediaPlanners.list method.", +"type": "string" +} +}, +"type": "object" +}, +"MobileApplicationTargeting": { +"description": "Mobile application targeting settings.", +"id": "MobileApplicationTargeting", +"properties": { +"firstPartyTargeting": { +"$ref": "FirstPartyMobileApplicationTargeting", +"description": "Publisher owned apps to be targeted or excluded by the publisher to display the ads in." +} +}, +"type": "object" +}, +"Money": { +"description": "Represents an amount of money with its currency type.", +"id": "Money", +"properties": { +"currencyCode": { +"description": "The three-letter currency code defined in ISO 4217.", +"type": "string" +}, +"nanos": { +"description": "Number of nano (10^-9) units of the amount. The value must be between -999,999,999 and +999,999,999 inclusive. If `units` is positive, `nanos` must be positive or zero. If `units` is zero, `nanos` can be positive, zero, or negative. If `units` is negative, `nanos` must be negative or zero. For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000.", +"format": "int32", +"type": "integer" +}, +"units": { +"description": "The whole units of the amount. For example if `currencyCode` is `\"USD\"`, then 1 unit is one US dollar.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"Note": { +"description": "A text note attached to the proposal to facilitate the communication between buyers and sellers.", +"id": "Note", +"properties": { +"createTime": { +"description": "Output only. When this note was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"creatorRole": { +"description": "Output only. The role who created the note.", +"enum": [ +"BUYER_SELLER_ROLE_UNSPECIFIED", +"BUYER", +"SELLER" +], +"enumDescriptions": [ +"A placeholder for an undefined buyer/seller role.", +"Specifies the role as buyer.", +"Specifies the role as seller." +], +"readOnly": true, +"type": "string" +}, +"note": { +"description": "The text of the note. Maximum length is 1024 characters.", +"type": "string" +} +}, +"type": "object" +}, +"OperatingSystemTargeting": { +"description": "Represents targeting information for operating systems.", +"id": "OperatingSystemTargeting", +"properties": { +"operatingSystemCriteria": { +"$ref": "CriteriaTargeting", +"description": "IDs of operating systems to be included/excluded." +}, +"operatingSystemVersionCriteria": { +"$ref": "CriteriaTargeting", +"description": "IDs of operating system versions to be included/excluded." +} +}, +"type": "object" +}, +"PauseFinalizedDealRequest": { +"description": "Request message for pausing a finalized deal.", +"id": "PauseFinalizedDealRequest", +"properties": { +"reason": { +"description": "The reason to pause the finalized deal, will be displayed to the seller. Maximum length is 1000 characters.", +"type": "string" +} +}, +"type": "object" +}, +"PlacementTargeting": { +"description": "Represents targeting about where the ads can appear, for example, certain sites or mobile applications. Different placement targeting types will be logically OR'ed.", +"id": "PlacementTargeting", +"properties": { +"mobileApplicationTargeting": { +"$ref": "MobileApplicationTargeting", +"description": "Mobile application targeting information in a deal. This doesn't apply to Auction Packages." +}, +"uriTargeting": { +"$ref": "UriTargeting", +"description": "URLs to be included/excluded." +} +}, +"type": "object" +}, +"PreferredDealTerms": { +"description": "Pricing terms for Preferred Deals.", +"id": "PreferredDealTerms", +"properties": { +"fixedPrice": { +"$ref": "Price", +"description": "Fixed price for the deal." +} +}, +"type": "object" +}, +"Price": { +"description": "Represents a price and a pricing type for a deal.", +"id": "Price", +"properties": { +"amount": { +"$ref": "Money", +"description": "The actual price with currency specified." +}, +"type": { +"description": "The pricing type for the deal.", +"enum": [ +"TYPE_UNSPECIFIED", +"CPM", +"CPD" +], +"enumDescriptions": [ +"A placeholder for an undefined pricing type. If the pricing type is unspecified, CPM will be used instead.", +"Cost per thousand impressions.", +"Cost per day." +], +"type": "string" +} +}, +"type": "object" +}, +"PrivateAuctionTerms": { +"description": "Pricing terms for Private Auctions.", +"id": "PrivateAuctionTerms", +"properties": { +"floorPrice": { +"$ref": "Price", +"description": "The minimum price buyer has to bid to compete in the private auction." +}, +"openAuctionAllowed": { +"description": "Output only. True if open auction buyers are allowed to compete with invited buyers in this private auction.", +"readOnly": true, +"type": "boolean" +} +}, +"type": "object" +}, +"PrivateData": { +"description": "Buyers are allowed to store certain types of private data in a proposal.", +"id": "PrivateData", +"properties": { +"referenceId": { +"description": "A buyer specified reference ID. This can be queried in the list operations (max-length: 1024 unicode code units).", +"type": "string" +} +}, +"type": "object" +}, +"ProgrammaticGuaranteedTerms": { +"description": "Pricing terms for Programmatic Guaranteed Deals.", +"id": "ProgrammaticGuaranteedTerms", +"properties": { +"fixedPrice": { +"$ref": "Price", +"description": "Fixed price for the deal." +}, +"guaranteedLooks": { +"description": "Count of guaranteed looks. For CPD deals, buyer changes to guaranteed_looks will be ignored.", +"format": "int64", +"type": "string" +}, +"impressionCap": { +"description": "The lifetime impression cap for CPM Sponsorship deals. Deal will stop serving when cap is reached.", +"format": "int64", +"type": "string" +}, +"minimumDailyLooks": { +"description": "Daily minimum looks for CPD deal types. For CPD deals, buyer should negotiate on this field instead of guaranteed_looks.", +"format": "int64", +"type": "string" +}, +"percentShareOfVoice": { +"description": "For sponsorship deals, this is the percentage of the seller's eligible impressions that the deal will serve until the cap is reached. Valid value is within range 0~100.", +"format": "int64", +"type": "string" +}, +"reservationType": { +"description": "The reservation type for a Programmatic Guaranteed deal. This indicates whether the number of impressions is fixed, or a percent of available impressions. If not specified, the default reservation type is STANDARD.", +"enum": [ +"RESERVATION_TYPE_UNSPECIFIED", +"STANDARD", +"SPONSORSHIP" +], +"enumDescriptions": [ +"An unspecified reservation type.", +"Non-sponsorship deal.", +"Sponsorship deals don't have impression goal (guaranteed_looks) and they are served based on the flight dates. For CPM Sponsorship deals, impression_cap is the lifetime impression limit." +], +"type": "string" +} +}, +"type": "object" +}, +"Proposal": { +"description": "Represents a proposal in the Marketplace. A proposal is the unit of negotiation between a seller and a buyer.", +"id": "Proposal", +"properties": { +"billedBuyer": { +"description": "Output only. When the client field is populated, this field refers to the buyer who creates and manages the client buyer and gets billed on behalf of the client buyer; when the buyer field is populated, this field is the same value as buyer. Format : `buyers/{buyerAccountId}`", +"readOnly": true, +"type": "string" +}, +"buyer": { +"description": "Output only. Refers to a buyer in The Realtime-bidding API. Format: `buyers/{buyerAccountId}`", +"readOnly": true, +"type": "string" +}, +"buyerContacts": { +"description": "Contact information for the buyer.", +"items": { +"$ref": "Contact" +}, +"type": "array" +}, +"buyerPrivateData": { +"$ref": "PrivateData", +"description": "Buyer private data (hidden from seller)." +}, +"client": { +"description": "Output only. Refers to a Client. Format: `buyers/{buyerAccountId}/clients/{clientAccountid}`", +"readOnly": true, +"type": "string" +}, +"dealType": { +"description": "Output only. Type of deal the proposal contains.", +"enum": [ +"DEAL_TYPE_UNSPECIFIED", +"PREFERRED_DEAL", +"PRIVATE_AUCTION", +"PROGRAMMATIC_GUARANTEED" +], +"enumDescriptions": [ +"Default, unspecified deal type.", +"Preferred deals.", +"Private auction deals.", +"Programmatic guaranteed deals." +], +"readOnly": true, +"type": "string" +}, +"displayName": { +"description": "Output only. The descriptive name for the proposal. Maximum length of 255 unicode characters is allowed. Control characters are not allowed. Buyers cannot update this field. Note: Not to be confused with name, which is a unique identifier of the proposal.", +"readOnly": true, +"type": "string" +}, +"isRenegotiating": { +"description": "Output only. True if the proposal was previously finalized and is now being renegotiated.", +"readOnly": true, +"type": "boolean" +}, +"lastUpdaterOrCommentorRole": { +"description": "Output only. The role of the last user that either updated the proposal or left a comment.", +"enum": [ +"BUYER_SELLER_ROLE_UNSPECIFIED", +"BUYER", +"SELLER" +], +"enumDescriptions": [ +"A placeholder for an undefined buyer/seller role.", +"Specifies the role as buyer.", +"Specifies the role as seller." +], +"readOnly": true, +"type": "string" +}, +"name": { +"description": "Immutable. The name of the proposal serving as a unique identifier. Format: buyers/{accountId}/proposals/{proposalId}", +"type": "string" +}, +"notes": { +"description": "A list of notes from the buyer and the seller attached to this proposal.", +"items": { +"$ref": "Note" +}, +"type": "array" +}, +"originatorRole": { +"description": "Output only. Indicates whether the buyer/seller created the proposal.", +"enum": [ +"BUYER_SELLER_ROLE_UNSPECIFIED", +"BUYER", +"SELLER" +], +"enumDescriptions": [ +"A placeholder for an undefined buyer/seller role.", +"Specifies the role as buyer.", +"Specifies the role as seller." +], +"readOnly": true, +"type": "string" +}, +"pausingConsented": { +"description": "Whether pausing is allowed for the proposal. This is a negotiable term between buyers and publishers.", +"type": "boolean" +}, +"proposalRevision": { +"description": "Output only. The revision number for the proposal. Each update to the proposal or deal causes the proposal revision number to auto-increment. The buyer keeps track of the last revision number they know of and pass it in when making an update. If the head revision number on the server has since incremented, then an ABORTED error is returned during the update operation to let the buyer know that a subsequent update was made.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"publisherProfile": { +"description": "Immutable. Reference to the seller on the proposal. Format: `buyers/{buyerAccountId}/publisherProfiles/{publisherProfileId}` Note: This field may be set only when creating the resource. Modifying this field while updating the resource will result in an error.", +"type": "string" +}, +"sellerContacts": { +"description": "Output only. Contact information for the seller.", +"items": { +"$ref": "Contact" +}, +"readOnly": true, +"type": "array" +}, +"state": { +"description": "Output only. Indicates the state of the proposal.", +"enum": [ +"STATE_UNSPECIFIED", +"BUYER_REVIEW_REQUESTED", +"SELLER_REVIEW_REQUESTED", +"BUYER_ACCEPTANCE_REQUESTED", +"FINALIZED", +"TERMINATED" +], +"enumDescriptions": [ +"Unspecified proposal state", +"When a proposal is waiting for buyer to review.", +"When the proposal is waiting for the seller to review.", +"When the seller accepted the proposal and sent it to the buyer for review.", +"When both buyer and seller has accepted the proposal", +"When either buyer or seller has cancelled the proposal" +], +"readOnly": true, +"type": "string" +}, +"termsAndConditions": { +"description": "Output only. The terms and conditions associated with this proposal. Accepting a proposal implies acceptance of this field. This is created by the seller, the buyer can only view it.", +"readOnly": true, +"type": "string" +}, +"updateTime": { +"description": "Output only. The time when the proposal was last revised.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"PublisherProfile": { +"description": "The values in the publisher profile are supplied by the publisher. All fields are not filterable unless stated otherwise.", +"id": "PublisherProfile", +"properties": { +"audienceDescription": { +"description": "Description on the publisher's audience.", +"type": "string" +}, +"directDealsContact": { +"description": "Contact information for direct reservation deals. This is free text entered by the publisher and may include information like names, phone numbers and email addresses.", +"type": "string" +}, +"displayName": { +"description": "Display name of the publisher profile. Can be used to filter the response of the publisherProfiles.list method.", +"type": "string" +}, +"domains": { +"description": "The list of domains represented in this publisher profile. Empty if this is a parent profile. These are top private domains, meaning that these will not contain a string like \"photos.google.co.uk/123\", but will instead contain \"google.co.uk\". Can be used to filter the response of the publisherProfiles.list method.", +"items": { +"type": "string" +}, +"type": "array" +}, +"isParent": { +"description": "Indicates if this profile is the parent profile of the seller. A parent profile represents all the inventory from the seller, as opposed to child profile that is created to brand a portion of inventory. One seller has only one parent publisher profile, and can have multiple child profiles. See https://support.google.com/admanager/answer/6035806 for details. Can be used to filter the response of the publisherProfiles.list method by setting the filter to \"is_parent: true\".", +"type": "boolean" +}, +"logoUrl": { +"description": "A Google public URL to the logo for this publisher profile. The logo is stored as a PNG, JPG, or GIF image.", +"type": "string" +}, +"mediaKitUrl": { +"description": "URL to additional marketing and sales materials.", +"type": "string" +}, +"mobileApps": { +"description": "The list of apps represented in this publisher profile. Empty if this is a parent profile.", +"items": { +"$ref": "PublisherProfileMobileApplication" +}, +"type": "array" +}, +"name": { +"description": "Name of the publisher profile. Format: `buyers/{buyer}/publisherProfiles/{publisher_profile}`", +"type": "string" +}, +"overview": { +"description": "Overview of the publisher.", +"type": "string" +}, +"pitchStatement": { +"description": "Statement explaining what's unique about publisher's business, and why buyers should partner with the publisher.", +"type": "string" +}, +"programmaticDealsContact": { +"description": "Contact information for programmatic deals. This is free text entered by the publisher and may include information like names, phone numbers and email addresses.", +"type": "string" +}, +"publisherCode": { +"description": "A unique identifying code for the seller. This value is the same for all of the seller's parent and child publisher profiles. Can be used to filter the response of the publisherProfiles.list method.", +"type": "string" +}, +"samplePageUrl": { +"description": "URL to a sample content page.", +"type": "string" +}, +"topHeadlines": { +"description": "Up to three key metrics and rankings. For example, \"#1 Mobile News Site for 20 Straight Months\".", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"PublisherProfileMobileApplication": { +"description": "A mobile application that contains a external app ID, name, and app store.", +"id": "PublisherProfileMobileApplication", +"properties": { +"appStore": { +"description": "The app store the app belongs to. Can be used to filter the response of the publisherProfiles.list method.", +"enum": [ +"APP_STORE_TYPE_UNSPECIFIED", +"APPLE_ITUNES", +"GOOGLE_PLAY", +"ROKU", +"AMAZON_FIRE_TV", +"PLAYSTATION", +"XBOX", +"SAMSUNG_TV", +"AMAZON", +"OPPO", +"SAMSUNG", +"VIVO", +"XIAOMI", +"LG_TV" +], +"enumDescriptions": [ +"A placeholder for an unknown app store.", +"Apple iTunes", +"Google Play", +"Roku", +"Amazon Fire TV", +"PlayStation", +"Xbox", +"Samsung TV", +"Amazon Appstore", +"OPPO App Market", +"Samsung Galaxy Store", +"VIVO App Store", +"Xiaomi GetApps", +"LG TV" +], +"type": "string" +}, +"externalAppId": { +"description": "The external ID for the app from its app store. Can be used to filter the response of the publisherProfiles.list method.", +"type": "string" +}, +"name": { +"description": "The name of the app.", +"type": "string" +} +}, +"type": "object" +}, +"ResumeFinalizedDealRequest": { +"description": "Request message for resuming a finalized deal.", +"id": "ResumeFinalizedDealRequest", +"properties": {}, +"type": "object" +}, +"RtbMetrics": { +"description": "Real-time bidding metrics. For what each metric means refer to [Report metrics](https://support.google.com/adxbuyer/answer/6115195#report-metrics)", +"id": "RtbMetrics", +"properties": { +"adImpressions7Days": { +"description": "Ad impressions in last 7 days.", +"format": "int64", +"type": "string" +}, +"bidRate7Days": { +"description": "Bid rate in last 7 days, calculated by (bids / bid requests).", +"format": "double", +"type": "number" +}, +"bidRequests7Days": { +"description": "Bid requests in last 7 days.", +"format": "int64", +"type": "string" +}, +"bids7Days": { +"description": "Bids in last 7 days.", +"format": "int64", +"type": "string" +}, +"filteredBidRate7Days": { +"description": "Filtered bid rate in last 7 days, calculated by (filtered bids / bids).", +"format": "double", +"type": "number" +}, +"mustBidRateCurrentMonth": { +"description": "Must bid rate for current month.", +"format": "double", +"type": "number" +} +}, +"type": "object" +}, +"SendRfpRequest": { +"description": "Request to send an RFP. All fields in this request are proposed to publisher and subject to changes by publisher during later negotiation.", +"id": "SendRfpRequest", +"properties": { +"buyerContacts": { +"description": "Contact information for the buyer.", +"items": { +"$ref": "Contact" +}, +"type": "array" +}, +"client": { +"description": "If the current buyer is sending the RFP on behalf of its client, use this field to specify the name of the client in the format: `buyers/{accountId}/clients/{clientAccountid}`.", +"type": "string" +}, +"displayName": { +"description": "Required. The display name of the proposal being created by this RFP.", +"type": "string" +}, +"estimatedGrossSpend": { +"$ref": "Money", +"description": "Specified by buyers in request for proposal (RFP) to notify publisher the total estimated spend for the proposal. Publishers will receive this information and send back proposed deals accordingly." +}, +"flightEndTime": { +"description": "Required. Proposed flight end time of the RFP. A timestamp in RFC3339 UTC \"Zulu\" format. Note that the specified value will be truncated to a granularity of one second.", +"format": "google-datetime", +"type": "string" +}, +"flightStartTime": { +"description": "Required. Proposed flight start time of the RFP. A timestamp in RFC3339 UTC \"Zulu\" format. Note that the specified value will be truncated to a granularity of one second.", +"format": "google-datetime", +"type": "string" +}, +"geoTargeting": { +"$ref": "CriteriaTargeting", +"description": "Geo criteria IDs to be targeted. Refer to Geo tables." +}, +"inventorySizeTargeting": { +"$ref": "InventorySizeTargeting", +"description": "Inventory sizes to be targeted. Only PIXEL inventory size type is supported." +}, +"note": { +"description": "A message that is sent to the publisher. Maximum length is 1024 characters.", +"type": "string" +}, +"preferredDealTerms": { +"$ref": "PreferredDealTerms", +"description": "The terms for preferred deals." +}, +"programmaticGuaranteedTerms": { +"$ref": "ProgrammaticGuaranteedTerms", +"description": "The terms for programmatic guaranteed deals." +}, +"publisherProfile": { +"description": "Required. The profile of the publisher who will receive this RFP in the format: `buyers/{accountId}/publisherProfiles/{publisherProfileId}`.", +"type": "string" +} +}, +"type": "object" +}, +"SetReadyToServeRequest": { +"description": "Request message for setting ready to serve for a finalized deal.", +"id": "SetReadyToServeRequest", +"properties": {}, +"type": "object" +}, +"SubscribeAuctionPackageRequest": { +"description": "Request message for SubscribeAuctionPackage.", +"id": "SubscribeAuctionPackageRequest", +"properties": {}, +"type": "object" +}, +"SubscribeClientsRequest": { +"description": "Request message for SubscribeAuctionPackageClients.", +"id": "SubscribeClientsRequest", +"properties": { +"clients": { +"description": "Optional. A list of client buyers to subscribe to the auction package, with client buyer in the format `buyers/{accountId}/clients/{clientAccountId}`. The current buyer will be subscribed to the auction package regardless of the list contents if not already.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"TechnologyTargeting": { +"description": "Represents targeting about various types of technology.", +"id": "TechnologyTargeting", +"properties": { +"deviceCapabilityTargeting": { +"$ref": "CriteriaTargeting", +"description": "IDs of device capabilities to be included/excluded." +}, +"deviceCategoryTargeting": { +"$ref": "CriteriaTargeting", +"description": "IDs of device categories to be included/excluded." +}, +"operatingSystemTargeting": { +"$ref": "OperatingSystemTargeting", +"description": "Operating system related targeting information." +} +}, +"type": "object" +}, +"TimeOfDay": { +"description": "Represents a time of day. The date and time zone are either not significant or are specified elsewhere. An API may choose to allow leap seconds. Related types are google.type.Date and `google.protobuf.Timestamp`.", +"id": "TimeOfDay", +"properties": { +"hours": { +"description": "Hours of a day in 24 hour format. Must be greater than or equal to 0 and typically must be less than or equal to 23. An API may choose to allow the value \"24:00:00\" for scenarios like business closing time.", +"format": "int32", +"type": "integer" +}, +"minutes": { +"description": "Minutes of an hour. Must be greater than or equal to 0 and less than or equal to 59.", +"format": "int32", +"type": "integer" +}, +"nanos": { +"description": "Fractions of seconds, in nanoseconds. Must be greater than or equal to 0 and less than or equal to 999,999,999.", +"format": "int32", +"type": "integer" +}, +"seconds": { +"description": "Seconds of a minute. Must be greater than or equal to 0 and typically must be less than or equal to 59. An API may allow the value 60 if it allows leap-seconds.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"TimeZone": { +"description": "Represents a time zone from the [IANA Time Zone Database](https://www.iana.org/time-zones).", +"id": "TimeZone", +"properties": { +"id": { +"description": "IANA Time Zone Database time zone. For example \"America/New_York\".", +"type": "string" +}, +"version": { +"description": "Optional. IANA Time Zone Database version number. For example \"2019a\".", +"type": "string" +} +}, +"type": "object" +}, +"UnsubscribeAuctionPackageRequest": { +"description": "Request message for UnsubscribeAuctionPackage.", +"id": "UnsubscribeAuctionPackageRequest", +"properties": {}, +"type": "object" +}, +"UnsubscribeClientsRequest": { +"description": "Request message for UnsubscribeAuctionPackage.", +"id": "UnsubscribeClientsRequest", +"properties": { +"clients": { +"description": "Optional. A list of client buyers to unsubscribe from the auction package, with client buyer in the format `buyers/{accountId}/clients/{clientAccountId}`.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"UpdateDealRequest": { +"description": "Request message for updating the deal at the given revision number.", +"id": "UpdateDealRequest", +"properties": { +"deal": { +"$ref": "Deal", +"description": "Required. The deal to update. The deal's `name` field is used to identify the deal to be updated. Note: proposal_revision will have to be provided within the resource or else an error will be thrown. Format: buyers/{accountId}/proposals/{proposalId}/deals/{dealId}" +}, +"updateMask": { +"description": "List of fields to be updated. If empty or unspecified, the service will update all fields populated in the update request excluding the output only fields and primitive fields with default value. Note that explicit field mask is required in order to reset a primitive field back to its default value, for example, false for boolean fields, 0 for integer fields. A special field mask consisting of a single path \"*\" can be used to indicate full replacement(the equivalent of PUT method), updatable fields unset or unspecified in the input will be cleared or set to default value. Output only fields will be ignored regardless of the value of updateMask.", +"format": "google-fieldmask", +"type": "string" +} +}, +"type": "object" +}, +"UriTargeting": { +"description": "Represents a list of targeted and excluded URLs (for example, google.com). For Private Auction Deals, URLs are either included or excluded. For Programmatic Guaranteed and Preferred Deals, this doesn't apply.", +"id": "UriTargeting", +"properties": { +"excludedUris": { +"description": "A list of URLs to be excluded.", +"items": { +"type": "string" +}, +"type": "array" +}, +"targetedUris": { +"description": "A list of URLs to be included.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"VideoTargeting": { +"description": "Represents targeting information about video.", +"id": "VideoTargeting", +"properties": { +"excludedPositionTypes": { +"description": "A list of video positions to be excluded. When this field is populated, the targeted_position_types field must be empty.", +"items": { +"enum": [ +"POSITION_TYPE_UNSPECIFIED", +"PREROLL", +"MIDROLL", +"POSTROLL" +], +"enumDescriptions": [ +"A placeholder for an undefined video position.", +"Ad is played before the video.", +"Ad is played during the video.", +"Ad is played after the video." +], +"type": "string" +}, +"type": "array" +}, +"targetedPositionTypes": { +"description": "A list of video positions to be included. When this field is populated, the excluded_position_types field must be empty.", +"items": { +"enum": [ +"POSITION_TYPE_UNSPECIFIED", +"PREROLL", +"MIDROLL", +"POSTROLL" +], +"enumDescriptions": [ +"A placeholder for an undefined video position.", +"Ad is played before the video.", +"Ad is played during the video.", +"Ad is played after the video." +], +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +} +}, +"servicePath": "", +"title": "Authorized Buyers Marketplace API", +"version": "v1", +"version_module": true +} \ No newline at end of file diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/authorizedbuyersmarketplace.v1alpha.json b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/authorizedbuyersmarketplace.v1alpha.json new file mode 100644 index 0000000000000000000000000000000000000000..a88295404d61f8c09acf53ec6de3bd19f21756b3 --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/authorizedbuyersmarketplace.v1alpha.json @@ -0,0 +1,4411 @@ +{ +"auth": { +"oauth2": { +"scopes": { +"https://www.googleapis.com/auth/authorized-buyers-marketplace": { +"description": "See, create, edit, and delete your Authorized Buyers Marketplace entities." +} +} +} +}, +"basePath": "", +"baseUrl": "https://authorizedbuyersmarketplace.googleapis.com/", +"batchPath": "batch", +"canonicalName": "Authorized Buyers Marketplace", +"description": "The Authorized Buyers Marketplace API lets buyers programmatically discover inventory; propose, retrieve and negotiate deals with publishers.", +"discoveryVersion": "v1", +"documentationLink": "https://developers.google.com/authorized-buyers/apis/marketplace/reference/rest/", +"fullyEncodeReservedExpansion": true, +"icons": { +"x16": "http://www.google.com/images/icons/product/search-16.gif", +"x32": "http://www.google.com/images/icons/product/search-32.gif" +}, +"id": "authorizedbuyersmarketplace:v1alpha", +"kind": "discovery#restDescription", +"mtlsRootUrl": "https://authorizedbuyersmarketplace.mtls.googleapis.com/", +"name": "authorizedbuyersmarketplace", +"ownerDomain": "google.com", +"ownerName": "Google", +"parameters": { +"$.xgafv": { +"description": "V1 error format.", +"enum": [ +"1", +"2" +], +"enumDescriptions": [ +"v1 error format", +"v2 error format" +], +"location": "query", +"type": "string" +}, +"access_token": { +"description": "OAuth access token.", +"location": "query", +"type": "string" +}, +"alt": { +"default": "json", +"description": "Data format for response.", +"enum": [ +"json", +"media", +"proto" +], +"enumDescriptions": [ +"Responses with Content-Type of application/json", +"Media download with context-dependent Content-Type", +"Responses with Content-Type of application/x-protobuf" +], +"location": "query", +"type": "string" +}, +"callback": { +"description": "JSONP", +"location": "query", +"type": "string" +}, +"fields": { +"description": "Selector specifying which fields to include in a partial response.", +"location": "query", +"type": "string" +}, +"key": { +"description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", +"location": "query", +"type": "string" +}, +"oauth_token": { +"description": "OAuth 2.0 token for the current user.", +"location": "query", +"type": "string" +}, +"prettyPrint": { +"default": "true", +"description": "Returns response with indentations and line breaks.", +"location": "query", +"type": "boolean" +}, +"quotaUser": { +"description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.", +"location": "query", +"type": "string" +}, +"uploadType": { +"description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", +"location": "query", +"type": "string" +}, +"upload_protocol": { +"description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", +"location": "query", +"type": "string" +} +}, +"protocol": "rest", +"resources": { +"bidders": { +"resources": { +"auctionPackages": { +"methods": { +"list": { +"description": "List the auction packages. Buyers can use the URL path \"/v1alpha/buyers/{accountId}/auctionPackages\" to list auction packages for the current buyer and its clients. Bidders can use the URL path \"/v1alpha/bidders/{accountId}/auctionPackages\" to list auction packages for the bidder, its media planners, its buyers, and all their clients.", +"flatPath": "v1alpha/bidders/{biddersId}/auctionPackages", +"httpMethod": "GET", +"id": "authorizedbuyersmarketplace.bidders.auctionPackages.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Optional. Optional query string using the [Cloud API list filtering syntax](/authorized-buyers/apis/guides/list-filters). Only supported when parent is bidder. Supported columns for filtering are: * displayName * createTime * updateTime * eligibleSeatIds", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "Optional. An optional query string to sort auction packages using the [Cloud API sorting syntax](https://cloud.google.com/apis/design/design_patterns#sorting_order). If no sort order is specified, results will be returned in an arbitrary order. Only supported when parent is bidder. Supported columns for sorting are: * displayName * createTime * updateTime", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Requested page size. The server may return fewer results than requested. Max allowed page size is 500.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The page token as returned. ListAuctionPackagesResponse.nextPageToken", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. Name of the parent buyer that can access the auction package. Format: `buyers/{accountId}`. When used with a bidder account, the auction packages that the bidder, its media planners, its buyers and clients are subscribed to will be listed, in the format `bidders/{accountId}`.", +"location": "path", +"pattern": "^bidders/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha/{+parent}/auctionPackages", +"response": { +"$ref": "ListAuctionPackagesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/authorized-buyers-marketplace" +] +} +} +}, +"finalizedDeals": { +"methods": { +"list": { +"description": "Lists finalized deals. Use the URL path \"/v1alpha/buyers/{accountId}/finalizedDeals\" to list finalized deals for the current buyer and its clients. Bidders can use the URL path \"/v1alpha/bidders/{accountId}/finalizedDeals\" to list finalized deals for the bidder, its buyers and all their clients.", +"flatPath": "v1alpha/bidders/{biddersId}/finalizedDeals", +"httpMethod": "GET", +"id": "authorizedbuyersmarketplace.bidders.finalizedDeals.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Optional query string using the [Cloud API list filtering syntax](https://developers.google.com/authorized-buyers/apis/guides/list-filters) Supported columns for filtering are: * deal.displayName * deal.dealType * deal.createTime * deal.updateTime * deal.flightStartTime * deal.flightEndTime * deal.eligibleSeatIds * dealServingStatus", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "An optional query string to sort finalized deals using the [Cloud API sorting syntax](https://cloud.google.com/apis/design/design_patterns#sorting_order). If no sort order is specified, results will be returned in an arbitrary order. Supported columns for sorting are: * deal.displayName * deal.createTime * deal.updateTime * deal.flightStartTime * deal.flightEndTime * rtbMetrics.bidRequests7Days * rtbMetrics.bids7Days * rtbMetrics.adImpressions7Days * rtbMetrics.bidRate7Days * rtbMetrics.filteredBidRate7Days * rtbMetrics.mustBidRateCurrentMonth", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Requested page size. The server may return fewer results than requested. If requested more than 500, the server will return 500 results per page. If unspecified, the server will pick a default page size of 100.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The page token as returned from ListFinalizedDealsResponse.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The buyer to list the finalized deals for, in the format: `buyers/{accountId}`. When used to list finalized deals for a bidder, its buyers and clients, in the format `bidders/{accountId}`.", +"location": "path", +"pattern": "^bidders/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha/{+parent}/finalizedDeals", +"response": { +"$ref": "ListFinalizedDealsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/authorized-buyers-marketplace" +] +}, +"setReadyToServe": { +"description": "Sets the given finalized deal as ready to serve. By default, deals are set as ready to serve as soon as they're finalized. If you want to opt out of the default behavior, and manually indicate that deals are ready to serve, ask your Technical Account Manager to add you to the allowlist. If you choose to use this method, finalized deals belonging to the bidder and its child seats don't start serving until after you call `setReadyToServe`, and after the deals become active. For example, you can use this method to delay receiving bid requests until your creative is ready. In addition, bidders can use the URL path \"/v1alpha/bidders/{accountId}/finalizedDeals/{dealId}\" to set ready to serve for the finalized deals belong to itself, its child seats and all their clients. This method only applies to programmatic guaranteed deals.", +"flatPath": "v1alpha/bidders/{biddersId}/finalizedDeals/{finalizedDealsId}:setReadyToServe", +"httpMethod": "POST", +"id": "authorizedbuyersmarketplace.bidders.finalizedDeals.setReadyToServe", +"parameterOrder": [ +"deal" +], +"parameters": { +"deal": { +"description": "Required. Format: `buyers/{accountId}/finalizedDeals/{dealId}` or `bidders/{accountId}/finalizedDeals/{dealId}`", +"location": "path", +"pattern": "^bidders/[^/]+/finalizedDeals/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha/{+deal}:setReadyToServe", +"request": { +"$ref": "SetReadyToServeRequest" +}, +"response": { +"$ref": "FinalizedDeal" +}, +"scopes": [ +"https://www.googleapis.com/auth/authorized-buyers-marketplace" +] +} +} +} +} +}, +"buyers": { +"resources": { +"auctionPackages": { +"methods": { +"get": { +"description": "Gets an auction package given its name.", +"flatPath": "v1alpha/buyers/{buyersId}/auctionPackages/{auctionPackagesId}", +"httpMethod": "GET", +"id": "authorizedbuyersmarketplace.buyers.auctionPackages.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of auction package to get. Format: `buyers/{accountId}/auctionPackages/{auctionPackageId}`", +"location": "path", +"pattern": "^buyers/[^/]+/auctionPackages/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha/{+name}", +"response": { +"$ref": "AuctionPackage" +}, +"scopes": [ +"https://www.googleapis.com/auth/authorized-buyers-marketplace" +] +}, +"list": { +"description": "List the auction packages. Buyers can use the URL path \"/v1alpha/buyers/{accountId}/auctionPackages\" to list auction packages for the current buyer and its clients. Bidders can use the URL path \"/v1alpha/bidders/{accountId}/auctionPackages\" to list auction packages for the bidder, its media planners, its buyers, and all their clients.", +"flatPath": "v1alpha/buyers/{buyersId}/auctionPackages", +"httpMethod": "GET", +"id": "authorizedbuyersmarketplace.buyers.auctionPackages.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Optional. Optional query string using the [Cloud API list filtering syntax](/authorized-buyers/apis/guides/list-filters). Only supported when parent is bidder. Supported columns for filtering are: * displayName * createTime * updateTime * eligibleSeatIds", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "Optional. An optional query string to sort auction packages using the [Cloud API sorting syntax](https://cloud.google.com/apis/design/design_patterns#sorting_order). If no sort order is specified, results will be returned in an arbitrary order. Only supported when parent is bidder. Supported columns for sorting are: * displayName * createTime * updateTime", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Requested page size. The server may return fewer results than requested. Max allowed page size is 500.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The page token as returned. ListAuctionPackagesResponse.nextPageToken", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. Name of the parent buyer that can access the auction package. Format: `buyers/{accountId}`. When used with a bidder account, the auction packages that the bidder, its media planners, its buyers and clients are subscribed to will be listed, in the format `bidders/{accountId}`.", +"location": "path", +"pattern": "^buyers/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha/{+parent}/auctionPackages", +"response": { +"$ref": "ListAuctionPackagesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/authorized-buyers-marketplace" +] +}, +"subscribe": { +"description": "Subscribe to the auction package for the specified buyer. Once subscribed, the bidder will receive a call out for inventory matching the auction package targeting criteria with the auction package deal ID and the specified buyer.", +"flatPath": "v1alpha/buyers/{buyersId}/auctionPackages/{auctionPackagesId}:subscribe", +"httpMethod": "POST", +"id": "authorizedbuyersmarketplace.buyers.auctionPackages.subscribe", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of the auction package. Format: `buyers/{accountId}/auctionPackages/{auctionPackageId}`", +"location": "path", +"pattern": "^buyers/[^/]+/auctionPackages/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha/{+name}:subscribe", +"request": { +"$ref": "SubscribeAuctionPackageRequest" +}, +"response": { +"$ref": "AuctionPackage" +}, +"scopes": [ +"https://www.googleapis.com/auth/authorized-buyers-marketplace" +] +}, +"subscribeClients": { +"description": "Subscribe the specified clients of the buyer to the auction package. If a client in the list does not belong to the buyer, an error response will be returned, and all of the following clients in the list will not be subscribed. Subscribing an already subscribed client will have no effect.", +"flatPath": "v1alpha/buyers/{buyersId}/auctionPackages/{auctionPackagesId}:subscribeClients", +"httpMethod": "POST", +"id": "authorizedbuyersmarketplace.buyers.auctionPackages.subscribeClients", +"parameterOrder": [ +"auctionPackage" +], +"parameters": { +"auctionPackage": { +"description": "Required. Name of the auction package. Format: `buyers/{accountId}/auctionPackages/{auctionPackageId}`", +"location": "path", +"pattern": "^buyers/[^/]+/auctionPackages/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha/{+auctionPackage}:subscribeClients", +"request": { +"$ref": "SubscribeClientsRequest" +}, +"response": { +"$ref": "AuctionPackage" +}, +"scopes": [ +"https://www.googleapis.com/auth/authorized-buyers-marketplace" +] +}, +"unsubscribe": { +"description": "Unsubscribe from the auction package for the specified buyer. Once unsubscribed, the bidder will no longer receive a call out for the auction package deal ID and the specified buyer.", +"flatPath": "v1alpha/buyers/{buyersId}/auctionPackages/{auctionPackagesId}:unsubscribe", +"httpMethod": "POST", +"id": "authorizedbuyersmarketplace.buyers.auctionPackages.unsubscribe", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of the auction package. Format: `buyers/{accountId}/auctionPackages/{auctionPackageId}`", +"location": "path", +"pattern": "^buyers/[^/]+/auctionPackages/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha/{+name}:unsubscribe", +"request": { +"$ref": "UnsubscribeAuctionPackageRequest" +}, +"response": { +"$ref": "AuctionPackage" +}, +"scopes": [ +"https://www.googleapis.com/auth/authorized-buyers-marketplace" +] +}, +"unsubscribeClients": { +"description": "Unsubscribe from the auction package for the specified clients of the buyer. Unsubscribing a client that is not subscribed will have no effect.", +"flatPath": "v1alpha/buyers/{buyersId}/auctionPackages/{auctionPackagesId}:unsubscribeClients", +"httpMethod": "POST", +"id": "authorizedbuyersmarketplace.buyers.auctionPackages.unsubscribeClients", +"parameterOrder": [ +"auctionPackage" +], +"parameters": { +"auctionPackage": { +"description": "Required. Name of the auction package. Format: `buyers/{accountId}/auctionPackages/{auctionPackageId}`", +"location": "path", +"pattern": "^buyers/[^/]+/auctionPackages/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha/{+auctionPackage}:unsubscribeClients", +"request": { +"$ref": "UnsubscribeClientsRequest" +}, +"response": { +"$ref": "AuctionPackage" +}, +"scopes": [ +"https://www.googleapis.com/auth/authorized-buyers-marketplace" +] +} +} +}, +"clients": { +"methods": { +"activate": { +"description": "Activates an existing client. The state of the client will be updated to \"ACTIVE\". This method has no effect if the client is already in \"ACTIVE\" state.", +"flatPath": "v1alpha/buyers/{buyersId}/clients/{clientsId}:activate", +"httpMethod": "POST", +"id": "authorizedbuyersmarketplace.buyers.clients.activate", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Format: `buyers/{buyerAccountId}/clients/{clientAccountId}`", +"location": "path", +"pattern": "^buyers/[^/]+/clients/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha/{+name}:activate", +"request": { +"$ref": "ActivateClientRequest" +}, +"response": { +"$ref": "Client" +}, +"scopes": [ +"https://www.googleapis.com/auth/authorized-buyers-marketplace" +] +}, +"create": { +"description": "Creates a new client.", +"flatPath": "v1alpha/buyers/{buyersId}/clients", +"httpMethod": "POST", +"id": "authorizedbuyersmarketplace.buyers.clients.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The name of the buyer. Format: `buyers/{accountId}`", +"location": "path", +"pattern": "^buyers/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha/{+parent}/clients", +"request": { +"$ref": "Client" +}, +"response": { +"$ref": "Client" +}, +"scopes": [ +"https://www.googleapis.com/auth/authorized-buyers-marketplace" +] +}, +"deactivate": { +"description": "Deactivates an existing client. The state of the client will be updated to \"INACTIVE\". This method has no effect if the client is already in \"INACTIVE\" state.", +"flatPath": "v1alpha/buyers/{buyersId}/clients/{clientsId}:deactivate", +"httpMethod": "POST", +"id": "authorizedbuyersmarketplace.buyers.clients.deactivate", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Format: `buyers/{buyerAccountId}/clients/{clientAccountId}`", +"location": "path", +"pattern": "^buyers/[^/]+/clients/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha/{+name}:deactivate", +"request": { +"$ref": "DeactivateClientRequest" +}, +"response": { +"$ref": "Client" +}, +"scopes": [ +"https://www.googleapis.com/auth/authorized-buyers-marketplace" +] +}, +"get": { +"description": "Gets a client with a given resource name.", +"flatPath": "v1alpha/buyers/{buyersId}/clients/{clientsId}", +"httpMethod": "GET", +"id": "authorizedbuyersmarketplace.buyers.clients.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Format: `buyers/{accountId}/clients/{clientAccountId}`", +"location": "path", +"pattern": "^buyers/[^/]+/clients/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha/{+name}", +"response": { +"$ref": "Client" +}, +"scopes": [ +"https://www.googleapis.com/auth/authorized-buyers-marketplace" +] +}, +"list": { +"description": "Lists all the clients for the current buyer.", +"flatPath": "v1alpha/buyers/{buyersId}/clients", +"httpMethod": "GET", +"id": "authorizedbuyersmarketplace.buyers.clients.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Query string using the [Filtering Syntax](https://developers.google.com/authorized-buyers/apis/guides/list-filters) Supported fields for filtering are: * partnerClientId Use this field to filter the clients by the partnerClientId. For example, if the partnerClientId of the client is \"1234\", the value of this field should be `partnerClientId = \"1234\"`, in order to get only the client whose partnerClientId is \"1234\" in the response.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Requested page size. If left blank, a default page size of 500 will be applied.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A token identifying a page of results the server should return. Typically, this is the value of ListClientsResponse.nextPageToken returned from the previous call to the list method.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The name of the buyer. Format: `buyers/{accountId}`", +"location": "path", +"pattern": "^buyers/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha/{+parent}/clients", +"response": { +"$ref": "ListClientsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/authorized-buyers-marketplace" +] +}, +"patch": { +"description": "Updates an existing client.", +"flatPath": "v1alpha/buyers/{buyersId}/clients/{clientsId}", +"httpMethod": "PATCH", +"id": "authorizedbuyersmarketplace.buyers.clients.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Output only. The resource name of the client. Format: `buyers/{accountId}/clients/{clientAccountId}`", +"location": "path", +"pattern": "^buyers/[^/]+/clients/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "List of fields to be updated. If empty or unspecified, the service will update all fields populated in the update request excluding the output only fields and primitive fields with default value. Note that explicit field mask is required in order to reset a primitive field back to its default value, for example, false for boolean fields, 0 for integer fields. A special field mask consisting of a single path \"*\" can be used to indicate full replacement(the equivalent of PUT method), updatable fields unset or unspecified in the input will be cleared or set to default value. Output only fields will be ignored regardless of the value of updateMask.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1alpha/{+name}", +"request": { +"$ref": "Client" +}, +"response": { +"$ref": "Client" +}, +"scopes": [ +"https://www.googleapis.com/auth/authorized-buyers-marketplace" +] +} +}, +"resources": { +"users": { +"methods": { +"activate": { +"description": "Activates an existing client user. The state of the client user will be updated from \"INACTIVE\" to \"ACTIVE\". This method has no effect if the client user is already in \"ACTIVE\" state. An error will be returned if the client user to activate is still in \"INVITED\" state.", +"flatPath": "v1alpha/buyers/{buyersId}/clients/{clientsId}/users/{usersId}:activate", +"httpMethod": "POST", +"id": "authorizedbuyersmarketplace.buyers.clients.users.activate", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Format: `buyers/{buyerAccountId}/clients/{clientAccountId}/clientUsers/{userId}`", +"location": "path", +"pattern": "^buyers/[^/]+/clients/[^/]+/users/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha/{+name}:activate", +"request": { +"$ref": "ActivateClientUserRequest" +}, +"response": { +"$ref": "ClientUser" +}, +"scopes": [ +"https://www.googleapis.com/auth/authorized-buyers-marketplace" +] +}, +"create": { +"description": "Creates a new client user in \"INVITED\" state. An email invitation will be sent to the new user, once accepted the user will become active.", +"flatPath": "v1alpha/buyers/{buyersId}/clients/{clientsId}/users", +"httpMethod": "POST", +"id": "authorizedbuyersmarketplace.buyers.clients.users.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The name of the client. Format: `buyers/{accountId}/clients/{clientAccountId}`", +"location": "path", +"pattern": "^buyers/[^/]+/clients/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha/{+parent}/users", +"request": { +"$ref": "ClientUser" +}, +"response": { +"$ref": "ClientUser" +}, +"scopes": [ +"https://www.googleapis.com/auth/authorized-buyers-marketplace" +] +}, +"deactivate": { +"description": "Deactivates an existing client user. The state of the client user will be updated from \"ACTIVE\" to \"INACTIVE\". This method has no effect if the client user is already in \"INACTIVE\" state. An error will be returned if the client user to deactivate is still in \"INVITED\" state.", +"flatPath": "v1alpha/buyers/{buyersId}/clients/{clientsId}/users/{usersId}:deactivate", +"httpMethod": "POST", +"id": "authorizedbuyersmarketplace.buyers.clients.users.deactivate", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Format: `buyers/{buyerAccountId}/clients/{clientAccountId}/clientUsers/{userId}`", +"location": "path", +"pattern": "^buyers/[^/]+/clients/[^/]+/users/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha/{+name}:deactivate", +"request": { +"$ref": "DeactivateClientUserRequest" +}, +"response": { +"$ref": "ClientUser" +}, +"scopes": [ +"https://www.googleapis.com/auth/authorized-buyers-marketplace" +] +}, +"delete": { +"description": "Deletes an existing client user. The client user will lose access to the Authorized Buyers UI. Note that if a client user is deleted, the user's access to the UI can't be restored unless a new client user is created and activated.", +"flatPath": "v1alpha/buyers/{buyersId}/clients/{clientsId}/users/{usersId}", +"httpMethod": "DELETE", +"id": "authorizedbuyersmarketplace.buyers.clients.users.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Format: `buyers/{buyerAccountId}/clients/{clientAccountId}/clientUsers/{userId}`", +"location": "path", +"pattern": "^buyers/[^/]+/clients/[^/]+/users/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha/{+name}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/authorized-buyers-marketplace" +] +}, +"get": { +"description": "Retrieves an existing client user.", +"flatPath": "v1alpha/buyers/{buyersId}/clients/{clientsId}/users/{usersId}", +"httpMethod": "GET", +"id": "authorizedbuyersmarketplace.buyers.clients.users.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Format: `buyers/{buyerAccountId}/clients/{clientAccountId}/clientUsers/{userId}`", +"location": "path", +"pattern": "^buyers/[^/]+/clients/[^/]+/users/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha/{+name}", +"response": { +"$ref": "ClientUser" +}, +"scopes": [ +"https://www.googleapis.com/auth/authorized-buyers-marketplace" +] +}, +"list": { +"description": "Lists all client users for a specified client.", +"flatPath": "v1alpha/buyers/{buyersId}/clients/{clientsId}/users", +"httpMethod": "GET", +"id": "authorizedbuyersmarketplace.buyers.clients.users.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "Requested page size. If left blank, a default page size of 500 will be applied.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A token identifying a page of results the server should return. Typically, this is the value of ListClientUsersResponse.nextPageToken returned from the previous call to the list method.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The name of the client. Format: `buyers/{buyerAccountId}/clients/{clientAccountId}`", +"location": "path", +"pattern": "^buyers/[^/]+/clients/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha/{+parent}/users", +"response": { +"$ref": "ListClientUsersResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/authorized-buyers-marketplace" +] +} +} +} +} +}, +"dataSegments": { +"methods": { +"activate": { +"description": "Activates a data segment.", +"flatPath": "v1alpha/buyers/{buyersId}/dataSegments/{dataSegmentsId}:activate", +"httpMethod": "POST", +"id": "authorizedbuyersmarketplace.buyers.dataSegments.activate", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of data segment to activate. v1alpha format: `buyers/{accountId}/dataSegments/{curatorDataSegmentId}` v1beta format: `curators/{accountId}/dataSegments/{curatorDataSegmentId}`", +"location": "path", +"pattern": "^buyers/[^/]+/dataSegments/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha/{+name}:activate", +"request": { +"$ref": "ActivateDataSegmentRequest" +}, +"response": { +"$ref": "DataSegment" +}, +"scopes": [ +"https://www.googleapis.com/auth/authorized-buyers-marketplace" +] +}, +"create": { +"description": "Creates a data segment owned by the listed curator. The data segment will be created in the `ACTIVE` state, meaning it will be immediately available for buyers to use in preferred deals, private auction deals, and auction packages.", +"flatPath": "v1alpha/buyers/{buyersId}/dataSegments", +"httpMethod": "POST", +"id": "authorizedbuyersmarketplace.buyers.dataSegments.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The parent resource where this data segment will be created. v1alpha format: `buyers/{accountId}` v1beta format: `curators/{accountId}`", +"location": "path", +"pattern": "^buyers/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha/{+parent}/dataSegments", +"request": { +"$ref": "DataSegment" +}, +"response": { +"$ref": "DataSegment" +}, +"scopes": [ +"https://www.googleapis.com/auth/authorized-buyers-marketplace" +] +}, +"deactivate": { +"description": "Deactivates a data segment.", +"flatPath": "v1alpha/buyers/{buyersId}/dataSegments/{dataSegmentsId}:deactivate", +"httpMethod": "POST", +"id": "authorizedbuyersmarketplace.buyers.dataSegments.deactivate", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of data segment to deactivate. v1alpha format: `buyers/{accountId}/dataSegments/{curatorDataSegmentId}` v1beta format: `curators/{accountId}/dataSegments/{curatorDataSegmentId}`", +"location": "path", +"pattern": "^buyers/[^/]+/dataSegments/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha/{+name}:deactivate", +"request": { +"$ref": "DeactivateDataSegmentRequest" +}, +"response": { +"$ref": "DataSegment" +}, +"scopes": [ +"https://www.googleapis.com/auth/authorized-buyers-marketplace" +] +}, +"get": { +"description": "Gets a data segment given its name.", +"flatPath": "v1alpha/buyers/{buyersId}/dataSegments/{dataSegmentsId}", +"httpMethod": "GET", +"id": "authorizedbuyersmarketplace.buyers.dataSegments.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of data segment to get. v1alpha format: `buyers/{accountId}/dataSegments/{curatorDataSegmentId}` v1beta format: `curators/{accountId}/dataSegments/{curatorDataSegmentId}`", +"location": "path", +"pattern": "^buyers/[^/]+/dataSegments/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha/{+name}", +"response": { +"$ref": "DataSegment" +}, +"scopes": [ +"https://www.googleapis.com/auth/authorized-buyers-marketplace" +] +}, +"list": { +"description": "List the data segments owned by a curator.", +"flatPath": "v1alpha/buyers/{buyersId}/dataSegments", +"httpMethod": "GET", +"id": "authorizedbuyersmarketplace.buyers.dataSegments.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "Optional. Requested page size. The server may return fewer results than requested. Max allowed page size is 500. If unspecified, the server will default to 500.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. The page token as returned. ListDataSegmentsResponse.nextPageToken", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. Name of the parent curator that can access the data segment. v1alpha format: `buyers/{accountId}` v1beta format: `curators/{accountId}`", +"location": "path", +"pattern": "^buyers/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha/{+parent}/dataSegments", +"response": { +"$ref": "ListDataSegmentsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/authorized-buyers-marketplace" +] +}, +"patch": { +"description": "Updates a data segment.", +"flatPath": "v1alpha/buyers/{buyersId}/dataSegments/{dataSegmentsId}", +"httpMethod": "PATCH", +"id": "authorizedbuyersmarketplace.buyers.dataSegments.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Immutable. Identifier. The unique identifier for the data segment. Account ID corresponds to the account ID that created the segment. v1alpha format: `buyers/{accountId}/dataSegments/{curatorDataSegmentId}` v1beta format: `curators/{curatorAccountId}/dataSegments/{curatorDataSegmentId}`", +"location": "path", +"pattern": "^buyers/[^/]+/dataSegments/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Optional. List of fields to be updated. If empty or unspecified, the service will update all fields populated in the update request excluding the output only fields and primitive fields with default value. Note that explicit field mask is required in order to reset a primitive field back to its default value, for example, false for boolean fields, 0 for integer fields. A special field mask consisting of a single path \"*\" can be used to indicate full replacement(the equivalent of PUT method), updatable fields unset or unspecified in the input will be cleared or set to default value. Output only fields will be ignored regardless of the value of updateMask.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1alpha/{+name}", +"request": { +"$ref": "DataSegment" +}, +"response": { +"$ref": "DataSegment" +}, +"scopes": [ +"https://www.googleapis.com/auth/authorized-buyers-marketplace" +] +} +} +}, +"finalizedDeals": { +"methods": { +"addCreative": { +"description": "Add creative to be used in the bidding process for a finalized deal. For programmatic guaranteed deals, it's recommended that you associate at least one approved creative with the deal before calling SetReadyToServe, to help reduce the number of bid responses filtered because they don't contain approved creatives. Creatives successfully added to a deal can be found in the Realtime-bidding Creatives API creative.deal_ids. This method only applies to programmatic guaranteed deals. Maximum number of 1000 creatives can be added to a finalized deal.", +"flatPath": "v1alpha/buyers/{buyersId}/finalizedDeals/{finalizedDealsId}:addCreative", +"httpMethod": "POST", +"id": "authorizedbuyersmarketplace.buyers.finalizedDeals.addCreative", +"parameterOrder": [ +"deal" +], +"parameters": { +"deal": { +"description": "Required. Name of the finalized deal in the format of: `buyers/{accountId}/finalizedDeals/{dealId}`", +"location": "path", +"pattern": "^buyers/[^/]+/finalizedDeals/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha/{+deal}:addCreative", +"request": { +"$ref": "AddCreativeRequest" +}, +"response": { +"$ref": "FinalizedDeal" +}, +"scopes": [ +"https://www.googleapis.com/auth/authorized-buyers-marketplace" +] +}, +"get": { +"description": "Gets a finalized deal given its name.", +"flatPath": "v1alpha/buyers/{buyersId}/finalizedDeals/{finalizedDealsId}", +"httpMethod": "GET", +"id": "authorizedbuyersmarketplace.buyers.finalizedDeals.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Format: `buyers/{accountId}/finalizedDeals/{dealId}`", +"location": "path", +"pattern": "^buyers/[^/]+/finalizedDeals/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha/{+name}", +"response": { +"$ref": "FinalizedDeal" +}, +"scopes": [ +"https://www.googleapis.com/auth/authorized-buyers-marketplace" +] +}, +"list": { +"description": "Lists finalized deals. Use the URL path \"/v1alpha/buyers/{accountId}/finalizedDeals\" to list finalized deals for the current buyer and its clients. Bidders can use the URL path \"/v1alpha/bidders/{accountId}/finalizedDeals\" to list finalized deals for the bidder, its buyers and all their clients.", +"flatPath": "v1alpha/buyers/{buyersId}/finalizedDeals", +"httpMethod": "GET", +"id": "authorizedbuyersmarketplace.buyers.finalizedDeals.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Optional query string using the [Cloud API list filtering syntax](https://developers.google.com/authorized-buyers/apis/guides/list-filters) Supported columns for filtering are: * deal.displayName * deal.dealType * deal.createTime * deal.updateTime * deal.flightStartTime * deal.flightEndTime * deal.eligibleSeatIds * dealServingStatus", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "An optional query string to sort finalized deals using the [Cloud API sorting syntax](https://cloud.google.com/apis/design/design_patterns#sorting_order). If no sort order is specified, results will be returned in an arbitrary order. Supported columns for sorting are: * deal.displayName * deal.createTime * deal.updateTime * deal.flightStartTime * deal.flightEndTime * rtbMetrics.bidRequests7Days * rtbMetrics.bids7Days * rtbMetrics.adImpressions7Days * rtbMetrics.bidRate7Days * rtbMetrics.filteredBidRate7Days * rtbMetrics.mustBidRateCurrentMonth", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Requested page size. The server may return fewer results than requested. If requested more than 500, the server will return 500 results per page. If unspecified, the server will pick a default page size of 100.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The page token as returned from ListFinalizedDealsResponse.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The buyer to list the finalized deals for, in the format: `buyers/{accountId}`. When used to list finalized deals for a bidder, its buyers and clients, in the format `bidders/{accountId}`.", +"location": "path", +"pattern": "^buyers/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha/{+parent}/finalizedDeals", +"response": { +"$ref": "ListFinalizedDealsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/authorized-buyers-marketplace" +] +}, +"pause": { +"description": "Pauses serving of the given finalized deal. This call only pauses the serving status, and does not affect other fields of the finalized deal. Calling this method for an already paused deal has no effect. This method only applies to programmatic guaranteed deals and preferred deals.", +"flatPath": "v1alpha/buyers/{buyersId}/finalizedDeals/{finalizedDealsId}:pause", +"httpMethod": "POST", +"id": "authorizedbuyersmarketplace.buyers.finalizedDeals.pause", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Format: `buyers/{accountId}/finalizedDeals/{dealId}`", +"location": "path", +"pattern": "^buyers/[^/]+/finalizedDeals/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha/{+name}:pause", +"request": { +"$ref": "PauseFinalizedDealRequest" +}, +"response": { +"$ref": "FinalizedDeal" +}, +"scopes": [ +"https://www.googleapis.com/auth/authorized-buyers-marketplace" +] +}, +"resume": { +"description": "Resumes serving of the given finalized deal. Calling this method for an running deal has no effect. If a deal is initially paused by the seller, calling this method will not resume serving of the deal until the seller also resumes the deal. This method only applies to programmatic guaranteed deals and preferred deals.", +"flatPath": "v1alpha/buyers/{buyersId}/finalizedDeals/{finalizedDealsId}:resume", +"httpMethod": "POST", +"id": "authorizedbuyersmarketplace.buyers.finalizedDeals.resume", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Format: `buyers/{accountId}/finalizedDeals/{dealId}`", +"location": "path", +"pattern": "^buyers/[^/]+/finalizedDeals/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha/{+name}:resume", +"request": { +"$ref": "ResumeFinalizedDealRequest" +}, +"response": { +"$ref": "FinalizedDeal" +}, +"scopes": [ +"https://www.googleapis.com/auth/authorized-buyers-marketplace" +] +}, +"setReadyToServe": { +"description": "Sets the given finalized deal as ready to serve. By default, deals are set as ready to serve as soon as they're finalized. If you want to opt out of the default behavior, and manually indicate that deals are ready to serve, ask your Technical Account Manager to add you to the allowlist. If you choose to use this method, finalized deals belonging to the bidder and its child seats don't start serving until after you call `setReadyToServe`, and after the deals become active. For example, you can use this method to delay receiving bid requests until your creative is ready. In addition, bidders can use the URL path \"/v1alpha/bidders/{accountId}/finalizedDeals/{dealId}\" to set ready to serve for the finalized deals belong to itself, its child seats and all their clients. This method only applies to programmatic guaranteed deals.", +"flatPath": "v1alpha/buyers/{buyersId}/finalizedDeals/{finalizedDealsId}:setReadyToServe", +"httpMethod": "POST", +"id": "authorizedbuyersmarketplace.buyers.finalizedDeals.setReadyToServe", +"parameterOrder": [ +"deal" +], +"parameters": { +"deal": { +"description": "Required. Format: `buyers/{accountId}/finalizedDeals/{dealId}` or `bidders/{accountId}/finalizedDeals/{dealId}`", +"location": "path", +"pattern": "^buyers/[^/]+/finalizedDeals/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha/{+deal}:setReadyToServe", +"request": { +"$ref": "SetReadyToServeRequest" +}, +"response": { +"$ref": "FinalizedDeal" +}, +"scopes": [ +"https://www.googleapis.com/auth/authorized-buyers-marketplace" +] +} +} +}, +"proposals": { +"methods": { +"accept": { +"description": "Accepts the proposal at the given revision number. If the revision number in the request is behind the latest from the server, an error message will be returned. This call updates the Proposal.state from `BUYER_ACCEPTANCE_REQUESTED` to `FINALIZED`; it has no side effect if the Proposal.state is already `FINALIZED` and throws exception if the Proposal.state is not either `BUYER_ACCEPTANCE_REQUESTED` or `FINALIZED`. Accepting a proposal means the buyer understands and accepts the Proposal.terms_and_conditions proposed by the seller.", +"flatPath": "v1alpha/buyers/{buyersId}/proposals/{proposalsId}:accept", +"httpMethod": "POST", +"id": "authorizedbuyersmarketplace.buyers.proposals.accept", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Name of the proposal. Format: `buyers/{accountId}/proposals/{proposalId}`", +"location": "path", +"pattern": "^buyers/[^/]+/proposals/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha/{+name}:accept", +"request": { +"$ref": "AcceptProposalRequest" +}, +"response": { +"$ref": "Proposal" +}, +"scopes": [ +"https://www.googleapis.com/auth/authorized-buyers-marketplace" +] +}, +"addNote": { +"description": "Creates a note for this proposal and sends to the seller. This method is not supported for proposals with DealType set to 'PRIVATE_AUCTION'.", +"flatPath": "v1alpha/buyers/{buyersId}/proposals/{proposalsId}:addNote", +"httpMethod": "POST", +"id": "authorizedbuyersmarketplace.buyers.proposals.addNote", +"parameterOrder": [ +"proposal" +], +"parameters": { +"proposal": { +"description": "Name of the proposal. Format: `buyers/{accountId}/proposals/{proposalId}`", +"location": "path", +"pattern": "^buyers/[^/]+/proposals/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha/{+proposal}:addNote", +"request": { +"$ref": "AddNoteRequest" +}, +"response": { +"$ref": "Proposal" +}, +"scopes": [ +"https://www.googleapis.com/auth/authorized-buyers-marketplace" +] +}, +"cancelNegotiation": { +"description": "Cancels an ongoing negotiation on a proposal. This does not cancel or end serving for the deals if the proposal has been finalized. If the proposal has not been finalized before, calling this method will set the Proposal.state to `TERMINATED` and increment the Proposal.proposal_revision. If the proposal has been finalized before and is under renegotiation now, calling this method will reset the Proposal.state to `FINALIZED` and increment the Proposal.proposal_revision. This method does not support private auction proposals whose Proposal.deal_type is 'PRIVATE_AUCTION'.", +"flatPath": "v1alpha/buyers/{buyersId}/proposals/{proposalsId}:cancelNegotiation", +"httpMethod": "POST", +"id": "authorizedbuyersmarketplace.buyers.proposals.cancelNegotiation", +"parameterOrder": [ +"proposal" +], +"parameters": { +"proposal": { +"description": "Name of the proposal. Format: `buyers/{accountId}/proposals/{proposalId}`", +"location": "path", +"pattern": "^buyers/[^/]+/proposals/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha/{+proposal}:cancelNegotiation", +"request": { +"$ref": "CancelNegotiationRequest" +}, +"response": { +"$ref": "Proposal" +}, +"scopes": [ +"https://www.googleapis.com/auth/authorized-buyers-marketplace" +] +}, +"get": { +"description": "Gets a proposal using its resource name. The proposal is returned at the latest revision.", +"flatPath": "v1alpha/buyers/{buyersId}/proposals/{proposalsId}", +"httpMethod": "GET", +"id": "authorizedbuyersmarketplace.buyers.proposals.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of the proposal. Format: `buyers/{accountId}/proposals/{proposalId}`", +"location": "path", +"pattern": "^buyers/[^/]+/proposals/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha/{+name}", +"response": { +"$ref": "Proposal" +}, +"scopes": [ +"https://www.googleapis.com/auth/authorized-buyers-marketplace" +] +}, +"list": { +"description": "Lists proposals. A filter expression using [Cloud API list filtering syntax](https://developers.google.com/authorized-buyers/apis/guides/list-filters) may be specified to filter the results.", +"flatPath": "v1alpha/buyers/{buyersId}/proposals", +"httpMethod": "GET", +"id": "authorizedbuyersmarketplace.buyers.proposals.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Optional query string using the [Cloud API list filtering syntax](https://developers.google.com/authorized-buyers/apis/guides/list-filters) Supported columns for filtering are: * displayName * dealType * updateTime * state", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Requested page size. The server may return fewer results than requested. If unspecified, the server will put a size of 500.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The page token as returned from ListProposalsResponse.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. Parent that owns the collection of proposals Format: `buyers/{accountId}`", +"location": "path", +"pattern": "^buyers/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha/{+parent}/proposals", +"response": { +"$ref": "ListProposalsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/authorized-buyers-marketplace" +] +}, +"patch": { +"description": "Updates the proposal at the given revision number. If the revision number in the request is behind the latest one kept in the server, an error message will be returned. See FieldMask for how to use FieldMask. Only fields specified in the UpdateProposalRequest.update_mask will be updated; Fields noted as 'Immutable' or 'Output only' yet specified in the UpdateProposalRequest.update_mask will be ignored and left unchanged. Updating a private auction proposal is only allowed for buyer private data, all other fields are immutable.", +"flatPath": "v1alpha/buyers/{buyersId}/proposals/{proposalsId}", +"httpMethod": "PATCH", +"id": "authorizedbuyersmarketplace.buyers.proposals.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Immutable. The name of the proposal serving as a unique identifier. Format: buyers/{accountId}/proposals/{proposalId}", +"location": "path", +"pattern": "^buyers/[^/]+/proposals/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "List of fields to be updated. If empty or unspecified, the service will update all fields populated in the update request excluding the output only fields and primitive fields with default value. Note that explicit field mask is required in order to reset a primitive field back to its default value, for example, false for boolean fields, 0 for integer fields. A special field mask consisting of a single path \"*\" can be used to indicate full replacement(the equivalent of PUT method), updatable fields unset or unspecified in the input will be cleared or set to default value. Output only fields will be ignored regardless of the value of updateMask.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1alpha/{+name}", +"request": { +"$ref": "Proposal" +}, +"response": { +"$ref": "Proposal" +}, +"scopes": [ +"https://www.googleapis.com/auth/authorized-buyers-marketplace" +] +}, +"sendRfp": { +"description": "Sends a request for proposal (RFP) to a publisher to initiate the negotiation regarding certain inventory. In the RFP, buyers can specify the deal type, deal terms, start and end dates, targeting, and a message to the publisher. Once the RFP is sent, a proposal in `SELLER_REVIEW_REQUESTED` state will be created and returned in the response. The publisher may review your request and respond with detailed deals in the proposal.", +"flatPath": "v1alpha/buyers/{buyersId}/proposals:sendRfp", +"httpMethod": "POST", +"id": "authorizedbuyersmarketplace.buyers.proposals.sendRfp", +"parameterOrder": [ +"buyer" +], +"parameters": { +"buyer": { +"description": "Required. The current buyer who is sending the RFP in the format: `buyers/{accountId}`.", +"location": "path", +"pattern": "^buyers/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha/{+buyer}/proposals:sendRfp", +"request": { +"$ref": "SendRfpRequest" +}, +"response": { +"$ref": "Proposal" +}, +"scopes": [ +"https://www.googleapis.com/auth/authorized-buyers-marketplace" +] +} +}, +"resources": { +"deals": { +"methods": { +"batchUpdate": { +"description": "Batch updates multiple deals in the same proposal.", +"flatPath": "v1alpha/buyers/{buyersId}/proposals/{proposalsId}/deals:batchUpdate", +"httpMethod": "POST", +"id": "authorizedbuyersmarketplace.buyers.proposals.deals.batchUpdate", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The name of the proposal containing the deals to batch update. Format: buyers/{accountId}/proposals/{proposalId}", +"location": "path", +"pattern": "^buyers/[^/]+/proposals/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha/{+parent}/deals:batchUpdate", +"request": { +"$ref": "BatchUpdateDealsRequest" +}, +"response": { +"$ref": "BatchUpdateDealsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/authorized-buyers-marketplace" +] +}, +"get": { +"description": "Gets a deal given its name. The deal is returned at its head revision.", +"flatPath": "v1alpha/buyers/{buyersId}/proposals/{proposalsId}/deals/{dealsId}", +"httpMethod": "GET", +"id": "authorizedbuyersmarketplace.buyers.proposals.deals.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Format: buyers/{accountId}/proposals/{proposalId}/deals/{dealId}", +"location": "path", +"pattern": "^buyers/[^/]+/proposals/[^/]+/deals/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha/{+name}", +"response": { +"$ref": "Deal" +}, +"scopes": [ +"https://www.googleapis.com/auth/authorized-buyers-marketplace" +] +}, +"list": { +"description": "Lists all deals in a proposal. To retrieve only the finalized revision deals regardless if a deal is being renegotiated, see the FinalizedDeals resource.", +"flatPath": "v1alpha/buyers/{buyersId}/proposals/{proposalsId}/deals", +"httpMethod": "GET", +"id": "authorizedbuyersmarketplace.buyers.proposals.deals.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "Requested page size. The server may return fewer results than requested. If requested more than 500, the server will return 500 results per page. If unspecified, the server will pick a default page size of 100.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The page token as returned from ListDealsResponse.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The name of the proposal containing the deals to retrieve. Format: buyers/{accountId}/proposals/{proposalId}", +"location": "path", +"pattern": "^buyers/[^/]+/proposals/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha/{+parent}/deals", +"response": { +"$ref": "ListDealsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/authorized-buyers-marketplace" +] +}, +"patch": { +"description": "Updates the given deal at the buyer known revision number. If the server revision has advanced since the passed-in proposal.proposal_revision an ABORTED error message will be returned. The revision number is incremented by the server whenever the proposal or its constituent deals are updated. Note: The revision number is kept at a proposal level. The buyer of the API is expected to keep track of the revision number after the last update operation and send it in as part of the next update request. This way, if there are further changes on the server (for example, seller making new updates), then the server can detect conflicts and reject the proposed changes.", +"flatPath": "v1alpha/buyers/{buyersId}/proposals/{proposalsId}/deals/{dealsId}", +"httpMethod": "PATCH", +"id": "authorizedbuyersmarketplace.buyers.proposals.deals.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Immutable. The unique identifier of the deal. Auto-generated by the server when a deal is created. Format: buyers/{accountId}/proposals/{proposalId}/deals/{dealId}", +"location": "path", +"pattern": "^buyers/[^/]+/proposals/[^/]+/deals/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "List of fields to be updated. If empty or unspecified, the service will update all fields populated in the update request excluding the output only fields and primitive fields with default value. Note that explicit field mask is required in order to reset a primitive field back to its default value, for example, false for boolean fields, 0 for integer fields. A special field mask consisting of a single path \"*\" can be used to indicate full replacement(the equivalent of PUT method), updatable fields unset or unspecified in the input will be cleared or set to default value. Output only fields will be ignored regardless of the value of updateMask.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1alpha/{+name}", +"request": { +"$ref": "Deal" +}, +"response": { +"$ref": "Deal" +}, +"scopes": [ +"https://www.googleapis.com/auth/authorized-buyers-marketplace" +] +} +} +} +} +}, +"publisherProfiles": { +"methods": { +"get": { +"description": "Gets the requested publisher profile by name.", +"flatPath": "v1alpha/buyers/{buyersId}/publisherProfiles/{publisherProfilesId}", +"httpMethod": "GET", +"id": "authorizedbuyersmarketplace.buyers.publisherProfiles.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of the publisher profile. Format: `buyers/{buyerId}/publisherProfiles/{publisherProfileId}`", +"location": "path", +"pattern": "^buyers/[^/]+/publisherProfiles/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha/{+name}", +"response": { +"$ref": "PublisherProfile" +}, +"scopes": [ +"https://www.googleapis.com/auth/authorized-buyers-marketplace" +] +}, +"list": { +"description": "Lists publisher profiles. The returned publisher profiles aren't in any defined order. The order of the results might change. A new publisher profile can appear in any place in the list of returned results.", +"flatPath": "v1alpha/buyers/{buyersId}/publisherProfiles", +"httpMethod": "GET", +"id": "authorizedbuyersmarketplace.buyers.publisherProfiles.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Optional query string using the [Cloud API list filtering] (https://developers.google.com/authorized-buyers/apis/guides/list-filters) syntax.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Requested page size. The server may return fewer results than requested. If requested more than 500, the server will return 500 results per page. If unspecified, the server will pick a default page size of 100.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The page token as returned from a previous ListPublisherProfilesResponse.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. Parent that owns the collection of publisher profiles Format: `buyers/{buyerId}`", +"location": "path", +"pattern": "^buyers/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha/{+parent}/publisherProfiles", +"response": { +"$ref": "ListPublisherProfilesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/authorized-buyers-marketplace" +] +} +} +} +} +}, +"curators": { +"resources": { +"curatedPackages": { +"methods": { +"activate": { +"description": "Activates an existing curated package.", +"flatPath": "v1alpha/curators/{curatorsId}/curatedPackages/{curatedPackagesId}:activate", +"httpMethod": "POST", +"id": "authorizedbuyersmarketplace.curators.curatedPackages.activate", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the curated package to activate. Format: `curators/{accountId}/curatedPackages/{curatedPackageId}`", +"location": "path", +"pattern": "^curators/[^/]+/curatedPackages/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha/{+name}:activate", +"request": { +"$ref": "ActivateCuratedPackageRequest" +}, +"response": { +"$ref": "CuratedPackage" +}, +"scopes": [ +"https://www.googleapis.com/auth/authorized-buyers-marketplace" +] +}, +"create": { +"description": "Creates a new curated package.", +"flatPath": "v1alpha/curators/{curatorsId}/curatedPackages", +"httpMethod": "POST", +"id": "authorizedbuyersmarketplace.curators.curatedPackages.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The parent curator account where this curated package will be created. Format: `curators/{accountId}`", +"location": "path", +"pattern": "^curators/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha/{+parent}/curatedPackages", +"request": { +"$ref": "CuratedPackage" +}, +"response": { +"$ref": "CuratedPackage" +}, +"scopes": [ +"https://www.googleapis.com/auth/authorized-buyers-marketplace" +] +}, +"deactivate": { +"description": "Deactivates an existing curated package.", +"flatPath": "v1alpha/curators/{curatorsId}/curatedPackages/{curatedPackagesId}:deactivate", +"httpMethod": "POST", +"id": "authorizedbuyersmarketplace.curators.curatedPackages.deactivate", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the curated package to deactivate. Format: `curators/{accountId}/curatedPackages/{curatedPackageId}`", +"location": "path", +"pattern": "^curators/[^/]+/curatedPackages/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha/{+name}:deactivate", +"request": { +"$ref": "DeactivateCuratedPackageRequest" +}, +"response": { +"$ref": "CuratedPackage" +}, +"scopes": [ +"https://www.googleapis.com/auth/authorized-buyers-marketplace" +] +}, +"get": { +"description": "Gets a curated package given its resource name.", +"flatPath": "v1alpha/curators/{curatorsId}/curatedPackages/{curatedPackagesId}", +"httpMethod": "GET", +"id": "authorizedbuyersmarketplace.curators.curatedPackages.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the curated package to retrieve. Format: `curators/{accountId}/curatedPackages/{curatedPackageId}`", +"location": "path", +"pattern": "^curators/[^/]+/curatedPackages/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha/{+name}", +"response": { +"$ref": "CuratedPackage" +}, +"scopes": [ +"https://www.googleapis.com/auth/authorized-buyers-marketplace" +] +}, +"list": { +"description": "Lists curated packages owned by the specified curator.", +"flatPath": "v1alpha/curators/{curatorsId}/curatedPackages", +"httpMethod": "GET", +"id": "authorizedbuyersmarketplace.curators.curatedPackages.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Optional. Optional query string using the [Cloud API list filtering syntax](/authorized-buyers/apis/guides/list-filters). Supported columns for filtering are: * displayName * createTime * updateTime * state * feeCpm.currencyCode * feeCpm.units * feeCpm.nanos * floorPriceCpm.currencyCode * floorPriceCpm.units * floorPriceCpm.nanos", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Optional. Requested page size. The server may return fewer results than requested. Max allowed page size is 500. If unspecified, the server will default to 500.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. A page token, received from a previous `ListCuratedPackages` call. Provide this to retrieve the subsequent page.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent curator account which owns this collection of curated packages. Format: `curators/{accountId}`", +"location": "path", +"pattern": "^curators/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha/{+parent}/curatedPackages", +"response": { +"$ref": "ListCuratedPackagesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/authorized-buyers-marketplace" +] +}, +"patch": { +"description": "Updates an existing curated package.", +"flatPath": "v1alpha/curators/{curatorsId}/curatedPackages/{curatedPackagesId}", +"httpMethod": "PATCH", +"id": "authorizedbuyersmarketplace.curators.curatedPackages.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Identifier. The unique resource name for the curated package. Format: `curators/{accountId}/curatedPackages/{curatedPackageId}`", +"location": "path", +"pattern": "^curators/[^/]+/curatedPackages/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Optional. List of fields to be updated. If empty or unspecified, the service will update all fields populated in the update request excluding the output only fields and primitive fields with default value. Note that explicit field mask is required in order to reset a primitive field back to its default value, for example, false for boolean fields, 0 for integer fields. A special field mask consisting of a single path \"*\" can be used to indicate full replacement (the equivalent of PUT method), updatable fields unset or unspecified in the input will be cleared or set to default value. Output only fields will be ignored regardless of the value of updateMask.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1alpha/{+name}", +"request": { +"$ref": "CuratedPackage" +}, +"response": { +"$ref": "CuratedPackage" +}, +"scopes": [ +"https://www.googleapis.com/auth/authorized-buyers-marketplace" +] +} +} +} +} +}, +"mediaPlanners": { +"methods": { +"list": { +"description": "Lists all media planner accounts that the caller has access to. For curators, this will return all media planners that have accepted curator terms. For other accounts, attempting to list media planners will return an error.", +"flatPath": "v1alpha/mediaPlanners", +"httpMethod": "GET", +"id": "authorizedbuyersmarketplace.mediaPlanners.list", +"parameterOrder": [], +"parameters": { +"filter": { +"description": "Optional query string using the [Cloud API list filtering syntax](/authorized-buyers/apis/guides/list-filters). Supported columns for filtering are: * `name` * `displayName` * `ancestorNames`", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "The maximum number of media planners to return. If unspecified, at most 100 media planners will be returned. The maximum value is 500; values above 500 will be coerced to 500.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A token identifying a page of results the server should return. This value is received from a previous `ListMediaPlanners` call in ListMediaPlannersResponse.nextPageToken.", +"location": "query", +"type": "string" +} +}, +"path": "v1alpha/mediaPlanners", +"response": { +"$ref": "ListMediaPlannersResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/authorized-buyers-marketplace" +] +} +} +} +}, +"revision": "20251211", +"rootUrl": "https://authorizedbuyersmarketplace.googleapis.com/", +"schemas": { +"AcceptProposalRequest": { +"description": "Request to accept a proposal. Accepting a proposal implies acceptance of the publisher terms_and_conditions, if any.", +"id": "AcceptProposalRequest", +"properties": { +"proposalRevision": { +"description": "The last known client revision number of the proposal.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"AccessControlSettings": { +"description": "Settings for controlling access to a curated package.", +"id": "AccessControlSettings", +"properties": { +"allowlistedMediaPlanners": { +"description": "Required. Immutable. The list of media planners that are explicitly granted access to the curated package. Eligible media planners can be found in the mediaPlanners.list method. Only a single media planner may be allowlisted at this time. Format: `mediaPlanners/{mediaPlannerAccountId}`", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ActivateClientRequest": { +"description": "Request message for activating a client.", +"id": "ActivateClientRequest", +"properties": {}, +"type": "object" +}, +"ActivateClientUserRequest": { +"description": "Request message for activating a client user.", +"id": "ActivateClientUserRequest", +"properties": {}, +"type": "object" +}, +"ActivateCuratedPackageRequest": { +"description": "Request message for ActivateCuratedPackage.", +"id": "ActivateCuratedPackageRequest", +"properties": {}, +"type": "object" +}, +"ActivateDataSegmentRequest": { +"description": "Request message for activating a data segment", +"id": "ActivateDataSegmentRequest", +"properties": {}, +"type": "object" +}, +"AdSize": { +"description": "Represents size of a single ad slot, or a creative.", +"id": "AdSize", +"properties": { +"height": { +"description": "The height of the ad slot in pixels. This field will be present only when size type is `PIXEL`.", +"format": "int64", +"type": "string" +}, +"type": { +"description": "The type of the ad slot size.", +"enum": [ +"TYPE_UNSPECIFIED", +"PIXEL", +"INTERSTITIAL", +"NATIVE", +"FLUID" +], +"enumDescriptions": [ +"A placeholder for an undefined size type.", +"Ad slot with size specified by height and width in pixels.", +"Special size to describe an interstitial ad slot.", +"Native (mobile) ads rendered by the publisher.", +"Fluid size (responsive size) can be resized automatically with the change of outside environment." +], +"type": "string" +}, +"width": { +"description": "The width of the ad slot in pixels. This field will be present only when size type is `PIXEL`.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"AddCreativeRequest": { +"description": "Request message for adding creative to be used in the bidding process for the finalized deal.", +"id": "AddCreativeRequest", +"properties": { +"creative": { +"description": "Name of the creative to add to the finalized deal, in the format `buyers/{buyerAccountId}/creatives/{creativeId}`. See creative.name.", +"type": "string" +} +}, +"type": "object" +}, +"AddNoteRequest": { +"description": "Request to add a note.", +"id": "AddNoteRequest", +"properties": { +"note": { +"$ref": "Note", +"description": "The note to add." +} +}, +"type": "object" +}, +"AuctionPackage": { +"description": "Defines a segment of inventory that buyer wants to buy. It's created by buyer and could be shared with multiple buyers.", +"id": "AuctionPackage", +"properties": { +"createTime": { +"description": "Output only. Time the auction package was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"creator": { +"description": "Output only. The buyer that created this auction package. Format: `buyers/{buyerAccountId}`", +"readOnly": true, +"type": "string" +}, +"dealOwnerSeatId": { +"description": "Output only. If set, this field contains the DSP specific seat id set by the media planner account that is considered the owner of this deal. The seat ID is in the calling DSP's namespace.", +"readOnly": true, +"type": "string" +}, +"description": { +"description": "Output only. A description of the auction package.", +"readOnly": true, +"type": "string" +}, +"displayName": { +"description": "The display_name assigned to the auction package.", +"type": "string" +}, +"eligibleSeatIds": { +"description": "Output only. If set, this field identifies a seat that the media planner selected as the owner of this auction package. This is a seat ID in the DSP's namespace that was provided to the media planner.", +"items": { +"type": "string" +}, +"readOnly": true, +"type": "array" +}, +"floorPriceCpm": { +"$ref": "Money", +"description": "Output only. The minimum price a buyer has to bid to compete in this auction package. If this is field is not populated, there is no floor price.", +"readOnly": true +}, +"name": { +"description": "Immutable. The unique identifier for the auction package. Format: `buyers/{accountId}/auctionPackages/{auctionPackageId}` The auction_package_id part of name is sent in the BidRequest to all RTB bidders and is returned as deal_id by the bidder in the BidResponse.", +"type": "string" +}, +"subscribedBuyers": { +"description": "Output only. The list of buyers that are subscribed to the AuctionPackage. This field is only populated when calling as a bidder. Format: `buyers/{buyerAccountId}`", +"items": { +"type": "string" +}, +"readOnly": true, +"type": "array" +}, +"subscribedClients": { +"description": "Output only. When calling as a buyer, the list of clients of the current buyer that are subscribed to the AuctionPackage. When calling as a bidder, the list of clients that are subscribed to the AuctionPackage owned by the bidder or its buyers. Format: `buyers/{buyerAccountId}/clients/{clientAccountId}`", +"items": { +"type": "string" +}, +"readOnly": true, +"type": "array" +}, +"subscribedMediaPlanners": { +"description": "Output only. The list of media planners that are subscribed to the AuctionPackage. This field is only populated when calling as a bidder.", +"items": { +"$ref": "MediaPlanner" +}, +"readOnly": true, +"type": "array" +}, +"updateTime": { +"description": "Output only. Time the auction package was last updated. This value is only increased when this auction package is updated but never when a buyer subscribed.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"BatchUpdateDealsRequest": { +"description": "Request message for batch updating deals.", +"id": "BatchUpdateDealsRequest", +"properties": { +"requests": { +"description": "Required. List of request messages to update deals.", +"items": { +"$ref": "UpdateDealRequest" +}, +"type": "array" +} +}, +"type": "object" +}, +"BatchUpdateDealsResponse": { +"description": "Response message for batch updating deals.", +"id": "BatchUpdateDealsResponse", +"properties": { +"deals": { +"description": "Deals updated.", +"items": { +"$ref": "Deal" +}, +"type": "array" +} +}, +"type": "object" +}, +"CancelNegotiationRequest": { +"description": "Request to cancel an ongoing negotiation.", +"id": "CancelNegotiationRequest", +"properties": {}, +"type": "object" +}, +"Client": { +"description": "A client represents an agency, a brand, or an advertiser customer of the buyer. Based on the client's role, its client users will have varying levels of restricted access to the Marketplace and certain other sections of the Authorized Buyers UI.", +"id": "Client", +"properties": { +"displayName": { +"description": "Required. Display name shown to publishers. Must be unique for clients without partnerClientId specified. Maximum length of 255 characters is allowed.", +"type": "string" +}, +"name": { +"description": "Output only. The resource name of the client. Format: `buyers/{accountId}/clients/{clientAccountId}`", +"readOnly": true, +"type": "string" +}, +"partnerClientId": { +"description": "Arbitrary unique identifier provided by the buyer. This field can be used to associate a client with an identifier in the namespace of the buyer, lookup clients by that identifier and verify whether an Authorized Buyers account of the client already exists. If present, must be unique across all the clients.", +"type": "string" +}, +"role": { +"description": "Required. The role assigned to the client. Each role implies a set of permissions granted to the client.", +"enum": [ +"CLIENT_ROLE_UNSPECIFIED", +"CLIENT_DEAL_VIEWER", +"CLIENT_DEAL_NEGOTIATOR", +"CLIENT_DEAL_APPROVER" +], +"enumDescriptions": [ +"A placeholder for an undefined client role. This value should never be specified in user input for create or update method, otherwise an error will be returned.", +"Users associated with this client role can only view proposals and deals in the Marketplace UI. They cannot negotiate or approve proposals and deals sent from publishers or send RFP to publishers.", +"Users associated with this client role can view and negotiate on the proposals and deals in the Marketplace UI sent from publishers and send RFP to publishers, but cannot approve the proposals and deals by themselves. The buyer can approve the proposals and deals on behalf of the client.", +"Users associated with this client role can view, negotiate and approve proposals and deals in the Marketplace UI and send RFP to publishers." +], +"type": "string" +}, +"sellerVisible": { +"description": "Whether the client will be visible to sellers.", +"type": "boolean" +}, +"state": { +"description": "Output only. The state of the client.", +"enum": [ +"STATE_UNSPECIFIED", +"ACTIVE", +"INACTIVE" +], +"enumDescriptions": [ +"A placeholder for an undefined client state. Should not be used.", +"A client that is currently active and allowed to access the Authorized Buyers UI.", +"A client that is currently inactive and not allowed to access the Authorized Buyers UI." +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"ClientUser": { +"description": "A user of a client who has restricted access to the Marketplace and certain other sections of the Authorized Buyers UI based on the role granted to the associated client.", +"id": "ClientUser", +"properties": { +"email": { +"description": "Required. The client user's email address that has to be unique across all users for the same client.", +"type": "string" +}, +"name": { +"description": "Output only. The resource name of the client user. Format: `buyers/{accountId}/clients/{clientAccountId}/users/{userId}`", +"readOnly": true, +"type": "string" +}, +"state": { +"description": "Output only. The state of the client user.", +"enum": [ +"STATE_UNSPECIFIED", +"INVITED", +"ACTIVE", +"INACTIVE" +], +"enumDescriptions": [ +"A placeholder for an undefined user state.", +"A user who was created but hasn't accepted the invitation yet, not allowed to access the Authorized Buyers UI.", +"A user that is currently active and allowed to access the Authorized Buyers UI.", +"A user that is currently inactive and not allowed to access the Authorized Buyers UI." +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"Contact": { +"description": "Contains information on how a buyer or seller can be reached.", +"id": "Contact", +"properties": { +"displayName": { +"description": "The display_name of the contact.", +"type": "string" +}, +"email": { +"description": "Email address for the contact.", +"type": "string" +} +}, +"type": "object" +}, +"CreativeRequirements": { +"description": "Message captures data about the creatives in the deal.", +"id": "CreativeRequirements", +"properties": { +"creativeFormat": { +"description": "Output only. The format of the creative, only applicable for programmatic guaranteed and preferred deals.", +"enum": [ +"CREATIVE_FORMAT_UNSPECIFIED", +"DISPLAY", +"VIDEO", +"AUDIO" +], +"enumDescriptions": [ +"A placeholder for an unspecified creative format.", +"Banner creatives such as image or HTML5 assets.", +"Video creatives that can be played in a video player.", +"Audio creatives that can play during audio content or point to a third party ad server." +], +"readOnly": true, +"type": "string" +}, +"creativePreApprovalPolicy": { +"description": "Output only. Specifies the creative pre-approval policy.", +"enum": [ +"CREATIVE_PRE_APPROVAL_POLICY_UNSPECIFIED", +"SELLER_PRE_APPROVAL_REQUIRED", +"SELLER_PRE_APPROVAL_NOT_REQUIRED" +], +"enumDescriptions": [ +"A placeholder for an undefined creative pre-approval policy.", +"The seller needs to approve each creative before it can serve.", +"The seller does not need to approve each creative before it can serve." +], +"readOnly": true, +"type": "string" +}, +"creativeSafeFrameCompatibility": { +"description": "Output only. Specifies whether the creative is safeFrame compatible.", +"enum": [ +"CREATIVE_SAFE_FRAME_COMPATIBILITY_UNSPECIFIED", +"COMPATIBLE", +"INCOMPATIBLE" +], +"enumDescriptions": [ +"A placeholder for an undefined creative safe-frame compatibility.", +"The creatives need to be compatible with the safe frame option.", +"The creatives can be incompatible with the safe frame option." +], +"readOnly": true, +"type": "string" +}, +"maxAdDurationMs": { +"description": "Output only. The max duration of the video creative in milliseconds. only applicable for deals with video creatives.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"programmaticCreativeSource": { +"description": "Output only. Specifies the creative source for programmatic deals. PUBLISHER means creative is provided by seller and ADVERTISER means creative is provided by the buyer.", +"enum": [ +"PROGRAMMATIC_CREATIVE_SOURCE_UNSPECIFIED", +"ADVERTISER", +"PUBLISHER" +], +"enumDescriptions": [ +"A placeholder for an undefined programmatic creative source.", +"The advertiser provides the creatives.", +"The publisher provides the creatives to be served." +], +"readOnly": true, +"type": "string" +}, +"skippableAdType": { +"description": "Output only. Skippable video ads allow viewers to skip ads after 5 seconds. Only applicable for deals with video creatives.", +"enum": [ +"SKIPPABLE_AD_TYPE_UNSPECIFIED", +"SKIPPABLE", +"INSTREAM_SELECT", +"NOT_SKIPPABLE", +"ANY" +], +"enumDescriptions": [ +"A placeholder for an unspecified skippable ad type.", +"Video ad that can be skipped after 5 seconds. This value will appear in RTB bid requests as SkippableBidRequestType::REQUIRE_SKIPPABLE.", +"Video ad that can be skipped after 5 seconds, and is counted as engaged view after 30 seconds. The creative is hosted on YouTube only, and viewcount of the YouTube video increments after the engaged view. This value will appear in RTB bid requests as SkippableBidRequestType::REQUIRE_SKIPPABLE.", +"This video ad is not skippable. This value will appear in RTB bid requests as SkippableBidRequestType::BLOCK_SKIPPABLE.", +"This video ad can be skipped after 5 seconds or not-skippable. This value will appear in RTB bid requests as SkippableBidRequestType::ALLOW_SKIPPABLE." +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"CriteriaTargeting": { +"description": "Generic targeting used for targeting dimensions that contains a list of included and excluded numeric IDs. This cannot be filtered using list filter syntax.", +"id": "CriteriaTargeting", +"properties": { +"excludedCriteriaIds": { +"description": "A list of numeric IDs to be excluded.", +"items": { +"format": "int64", +"type": "string" +}, +"type": "array" +}, +"targetedCriteriaIds": { +"description": "A list of numeric IDs to be included.", +"items": { +"format": "int64", +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"CuratedPackage": { +"description": "Represents a curated package of inventory created and managed by a Curator.", +"id": "CuratedPackage", +"properties": { +"accessSettings": { +"$ref": "AccessControlSettings", +"description": "Required. Settings for controlling access to the curated package. Access to this curated package is limited to the allowlisted media planners and the creator. Buyers and bidders can not be allowlisted for or have direct access to this resource." +}, +"createTime": { +"description": "Output only. The timestamp when the curated package was created. Can be used to filter the response of the curatedPackages.list method.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"description": { +"description": "Optional. A description of the curated package, provided by the curator.", +"type": "string" +}, +"displayName": { +"description": "Required. The display name assigned to the curated package by the curator. Can be used to filter the response of the curatedPackages.list method.", +"type": "string" +}, +"feeCpm": { +"$ref": "Money", +"description": "Optional. The CPM fee charged by the curator to buyers using this curated package. Can be used to filter the response of the curatedPackages.list method." +}, +"floorPriceCpm": { +"$ref": "Money", +"description": "Optional. The minimum CPM a buyer has to bid to participate in auctions for inventory in this curated package. Can be used to filter the response of the curatedPackages.list method." +}, +"name": { +"description": "Identifier. The unique resource name for the curated package. Format: `curators/{accountId}/curatedPackages/{curatedPackageId}`", +"type": "string" +}, +"state": { +"description": "Output only. The state of the curated package. Can be used to filter the response of the curatedPackages.list method.", +"enum": [ +"STATE_UNSPECIFIED", +"ACTIVE", +"INACTIVE" +], +"enumDescriptions": [ +"Default value.", +"The curated package is active.", +"The curated package is inactive." +], +"readOnly": true, +"type": "string" +}, +"targeting": { +"$ref": "PackageTargeting", +"description": "Optional. Targeting criteria for the curated package." +}, +"updateTime": { +"description": "Output only. The timestamp when the curated package was last updated. Can be used to filter the response of the curatedPackages.list method.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"DataSegment": { +"description": "Defines an identifier for a segment of inventory that can be targeted by curators or media planners in the deals or auction packages UI. Curation of inventory is done by curators on external platforms.", +"id": "DataSegment", +"properties": { +"cpmFee": { +"$ref": "Money", +"description": "Optional. A fixed fee charged per thousand impressions. Once set, the currency code cannot be changed." +}, +"createTime": { +"description": "Output only. Time the data segment was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"name": { +"description": "Immutable. Identifier. The unique identifier for the data segment. Account ID corresponds to the account ID that created the segment. v1alpha format: `buyers/{accountId}/dataSegments/{curatorDataSegmentId}` v1beta format: `curators/{curatorAccountId}/dataSegments/{curatorDataSegmentId}`", +"type": "string" +}, +"state": { +"description": "Output only. The state of the data segment.", +"enum": [ +"STATE_UNSPECIFIED", +"ACTIVE", +"INACTIVE" +], +"enumDescriptions": [ +"Default value.", +"The data segment is active.", +"The data segment is inactive." +], +"readOnly": true, +"type": "string" +}, +"updateTime": { +"description": "Output only. Time the data segment was last updated.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"DayPart": { +"description": "Defines targeting for a period of time on a specific week day.", +"id": "DayPart", +"properties": { +"dayOfWeek": { +"description": "Day of week for the period.", +"enum": [ +"DAY_OF_WEEK_UNSPECIFIED", +"MONDAY", +"TUESDAY", +"WEDNESDAY", +"THURSDAY", +"FRIDAY", +"SATURDAY", +"SUNDAY" +], +"enumDescriptions": [ +"The day of the week is unspecified.", +"Monday", +"Tuesday", +"Wednesday", +"Thursday", +"Friday", +"Saturday", +"Sunday" +], +"type": "string" +}, +"endTime": { +"$ref": "TimeOfDay", +"description": "Hours in 24 hour time between 0 and 24, inclusive. Note: 24 is logically equivalent to 0, but is supported since in some cases there may need to be differentiation made between midnight on one day and midnight on the next day. Accepted values for minutes are [0, 15, 30, 45]. 0 is the only acceptable minute value for hour 24. Seconds and nanos are ignored." +}, +"startTime": { +"$ref": "TimeOfDay", +"description": "Hours in 24 hour time between 0 and 24, inclusive. Note: 24 is logically equivalent to 0, but is supported since in some cases there may need to be differentiation made between midnight on one day and midnight on the next day. Accepted values for minutes are [0, 15, 30, 45]. 0 is the only acceptable minute value for hour 24. Seconds and nanos are ignored." +} +}, +"type": "object" +}, +"DayPartTargeting": { +"description": "Represents Daypart targeting.", +"id": "DayPartTargeting", +"properties": { +"dayParts": { +"description": "The targeted weekdays and times", +"items": { +"$ref": "DayPart" +}, +"type": "array" +}, +"timeZoneType": { +"description": "The time zone type of the day parts", +"enum": [ +"TIME_ZONE_TYPE_UNSPECIFIED", +"SELLER", +"USER" +], +"enumDescriptions": [ +"Default value. This field is unused.", +"The publisher's time zone", +"The user's time zone" +], +"type": "string" +} +}, +"type": "object" +}, +"DeactivateClientRequest": { +"description": "Request message for disabling a client.", +"id": "DeactivateClientRequest", +"properties": {}, +"type": "object" +}, +"DeactivateClientUserRequest": { +"description": "Request message for deactivating a client user.", +"id": "DeactivateClientUserRequest", +"properties": {}, +"type": "object" +}, +"DeactivateCuratedPackageRequest": { +"description": "Request message for DeactivateCuratedPackage.", +"id": "DeactivateCuratedPackageRequest", +"properties": {}, +"type": "object" +}, +"DeactivateDataSegmentRequest": { +"description": "Request message for deactivating a data segment", +"id": "DeactivateDataSegmentRequest", +"properties": {}, +"type": "object" +}, +"Deal": { +"description": "A deal represents a segment of inventory for displaying ads that contains the terms and targeting information that is used for serving as well as the deal stats and status. Note: A proposal may contain multiple deals.", +"id": "Deal", +"properties": { +"billedBuyer": { +"description": "Output only. When the client field is populated, this field refers to the buyer who creates and manages the client buyer and gets billed on behalf of the client buyer; when the buyer field is populated, this field is the same value as buyer; when the deal belongs to a media planner account, this field will be empty. Format : `buyers/{buyerAccountId}`", +"readOnly": true, +"type": "string" +}, +"buyer": { +"description": "Output only. Refers to a buyer in Real-time Bidding API's Buyer resource. Format: `buyers/{buyerAccountId}`", +"readOnly": true, +"type": "string" +}, +"buyerPermissionType": { +"description": "Output only. The buyer permission type of the deal.", +"enum": [ +"BUYER_PERMISSION_TYPE_UNSPECIFIED", +"NEGOTIATOR_ONLY", +"BIDDER" +], +"enumDescriptions": [ +"A placeholder for an undefined buyer permission type.", +"Only the [Deal.negotiating_buyer] can transact on the deal.", +"All buyers under the [Deal.negotiating_buyer]'s bidder can transact on the deal." +], +"readOnly": true, +"type": "string" +}, +"client": { +"description": "Output only. Refers to a Client. Format: `buyers/{buyerAccountId}/clients/{clientAccountid}`", +"readOnly": true, +"type": "string" +}, +"createTime": { +"description": "Output only. The time of the deal creation.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"creativeRequirements": { +"$ref": "CreativeRequirements", +"description": "Output only. Metadata about the creatives of this deal.", +"readOnly": true +}, +"dealType": { +"description": "Output only. Type of deal.", +"enum": [ +"DEAL_TYPE_UNSPECIFIED", +"PREFERRED_DEAL", +"PRIVATE_AUCTION", +"PROGRAMMATIC_GUARANTEED" +], +"enumDescriptions": [ +"Default, unspecified deal type.", +"Preferred deals.", +"Private auction deals.", +"Programmatic guaranteed deals." +], +"readOnly": true, +"type": "string" +}, +"deliveryControl": { +"$ref": "DeliveryControl", +"description": "Output only. Specifies the pacing set by the publisher.", +"readOnly": true +}, +"description": { +"description": "Output only. Free text description for the deal terms.", +"readOnly": true, +"type": "string" +}, +"displayName": { +"description": "Output only. The name of the deal. Maximum length of 255 unicode characters is allowed. Control characters are not allowed. Buyers cannot update this field. Note: Not to be confused with name, which is a unique identifier of the deal.", +"readOnly": true, +"type": "string" +}, +"eligibleSeatIds": { +"description": "Output only. If set, this field contains the list of DSP specific seat ids set by media planners that are eligible to transact on this deal. The seat ID is in the calling DSP's namespace.", +"items": { +"type": "string" +}, +"readOnly": true, +"type": "array" +}, +"estimatedGrossSpend": { +"$ref": "Money", +"description": "Specified by buyers in request for proposal (RFP) to notify publisher the total estimated spend for the proposal. Publishers will receive this information and send back proposed deals accordingly." +}, +"flightEndTime": { +"description": "Proposed flight end time of the deal. This will generally be stored in a granularity of a second. A value is not necessary for Private Auction deals.", +"format": "google-datetime", +"type": "string" +}, +"flightStartTime": { +"description": "Proposed flight start time of the deal. This will generally be stored in the granularity of one second since deal serving starts at seconds boundary. Any time specified with more granularity (for example, in milliseconds) will be truncated towards the start of time in seconds.", +"format": "google-datetime", +"type": "string" +}, +"mediaPlanner": { +"$ref": "MediaPlanner", +"description": "Output only. Refers to a buyer in Real-time Bidding API's Buyer resource. This field represents a media planner (For example, agency or big advertiser).", +"readOnly": true +}, +"name": { +"description": "Immutable. The unique identifier of the deal. Auto-generated by the server when a deal is created. Format: buyers/{accountId}/proposals/{proposalId}/deals/{dealId}", +"type": "string" +}, +"preferredDealTerms": { +"$ref": "PreferredDealTerms", +"description": "The terms for preferred deals." +}, +"privateAuctionTerms": { +"$ref": "PrivateAuctionTerms", +"description": "The terms for private auction deals." +}, +"programmaticGuaranteedTerms": { +"$ref": "ProgrammaticGuaranteedTerms", +"description": "The terms for programmatic guaranteed deals." +}, +"proposalRevision": { +"description": "Output only. The revision number for the proposal and is the same value as proposal.proposal_revision. Each update to deal causes the proposal revision number to auto-increment. The buyer keeps track of the last revision number they know of and pass it in when making an update. If the head revision number on the server has since incremented, then an ABORTED error is returned during the update operation to let the buyer know that a subsequent update was made.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"publisherProfile": { +"description": "Immutable. Reference to the seller on the deal. Format: `buyers/{buyerAccountId}/publisherProfiles/{publisherProfileId}`", +"type": "string" +}, +"sellerTimeZone": { +"$ref": "TimeZone", +"description": "Output only. Time zone of the seller used to mark the boundaries of a day for daypart targeting and CPD billing.", +"readOnly": true +}, +"targeting": { +"$ref": "MarketplaceTargeting", +"description": "Specifies the subset of inventory targeted by the deal. Can be updated by the buyer before the deal is finalized." +}, +"updateTime": { +"description": "Output only. The time when the deal was last updated.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"DealPausingInfo": { +"description": "Information related to deal pausing.", +"id": "DealPausingInfo", +"properties": { +"pauseReason": { +"description": "The reason for the pausing of the deal; empty for active deals.", +"type": "string" +}, +"pauseRole": { +"description": "The party that first paused the deal; unspecified for active deals.", +"enum": [ +"BUYER_SELLER_ROLE_UNSPECIFIED", +"BUYER", +"SELLER" +], +"enumDescriptions": [ +"A placeholder for an undefined buyer/seller role.", +"Specifies the role as buyer.", +"Specifies the role as seller." +], +"type": "string" +}, +"pausingConsented": { +"description": "Whether pausing is consented between buyer and seller for the deal.", +"type": "boolean" +} +}, +"type": "object" +}, +"DeliveryControl": { +"description": "Message contains details about how the deal will be paced.", +"id": "DeliveryControl", +"properties": { +"companionDeliveryType": { +"description": "Output only. Specifies roadblocking in a main companion lineitem.", +"enum": [ +"COMPANION_DELIVERY_TYPE_UNSPECIFIED", +"DELIVERY_OPTIONAL", +"DELIVERY_AT_LEAST_ONE", +"DELIVERY_ALL" +], +"enumDescriptions": [ +"A placeholder for an unspecified companion delivery type.", +"Companions are not required to serve a creative set. The creative set can serve an inventory that has zero or more matching companions.", +"At least one companion must be served in order for the creative set to be used.", +"All companions in the set must be served in order for the creative set to be used. This can still serve to inventory that has more companions than can be filled." +], +"readOnly": true, +"type": "string" +}, +"creativeRotationType": { +"description": "Output only. Specifies strategy to use for selecting a creative when multiple creatives of the same size are available.", +"enum": [ +"CREATIVE_ROTATION_TYPE_UNSPECIFIED", +"ROTATION_EVEN", +"ROTATION_OPTIMIZED", +"ROTATION_MANUAL", +"ROTATION_SEQUENTIAL" +], +"enumDescriptions": [ +"Creatives are displayed roughly the same number of times over the duration of the deal.", +"Creatives are displayed roughly the same number of times over the duration of the deal.", +"Creatives are served roughly proportionally to their performance.", +"Creatives are served roughly proportionally to their weights.", +"Creatives are served exactly in sequential order, also known as Storyboarding." +], +"readOnly": true, +"type": "string" +}, +"deliveryRateType": { +"description": "Output only. Specifies how the impression delivery will be paced.", +"enum": [ +"DELIVERY_RATE_TYPE_UNSPECIFIED", +"EVENLY", +"FRONT_LOADED", +"AS_FAST_AS_POSSIBLE" +], +"enumDescriptions": [ +"A placeholder for an undefined delivery rate type.", +"Impressions are served uniformly over the life of the deal.", +"Impressions are served front-loaded.", +"Impressions are served as fast as possible." +], +"readOnly": true, +"type": "string" +}, +"frequencyCap": { +"description": "Output only. Specifies any frequency caps. Cannot be filtered within ListDealsRequest.", +"items": { +"$ref": "FrequencyCap" +}, +"readOnly": true, +"type": "array" +}, +"roadblockingType": { +"description": "Output only. Specifies the roadblocking type in display creatives.", +"enum": [ +"ROADBLOCKING_TYPE_UNSPECIFIED", +"ONLY_ONE", +"ONE_OR_MORE", +"AS_MANY_AS_POSSIBLE", +"ALL_ROADBLOCK", +"CREATIVE_SET" +], +"enumDescriptions": [ +"A placeholder for an unspecified roadblocking type.", +"Only one creative from a deal can serve per ad request. https://support.google.com/admanager/answer/177277.", +"Any number of creatives from a deal can serve together per ad request.", +"As many creatives from a deal as can fit on a page will serve. This could mean anywhere from one to all of a deal's creatives given the size constraints of ad slots on a page.", +"All or none of the creatives from a deal will serve.", +"A main/companion creative set roadblocking type." +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"Empty": { +"description": "A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }", +"id": "Empty", +"properties": {}, +"type": "object" +}, +"FinalizedDeal": { +"description": "A finalized deal is a snapshot of the deal when both buyer and seller accept the deal. The buyer or seller can update the deal after it's been finalized and renegotiate on the deal targeting, terms and other fields, while at the same time the finalized snapshot of the deal can still be retrieved using this API. The finalized deal contains a copy of the deal as it existed when most recently finalized, as well as fields related to deal serving such as pause/resume status, RTB metrics, and more.", +"id": "FinalizedDeal", +"properties": { +"deal": { +"$ref": "Deal", +"description": "A copy of the Deal made upon finalization. During renegotiation, this will reflect the last finalized deal before renegotiation was initiated." +}, +"dealPausingInfo": { +"$ref": "DealPausingInfo", +"description": "Information related to deal pausing for the deal." +}, +"dealServingStatus": { +"description": "Serving status of the deal.", +"enum": [ +"DEAL_SERVING_STATUS_UNSPECIFIED", +"ACTIVE", +"ENDED", +"PAUSED_BY_BUYER", +"PAUSED_BY_SELLER" +], +"enumDescriptions": [ +"Unspecified.", +"The deal is actively serving or ready to serve when the start date is reached.", +"The deal serving has ended.", +"The deal serving is paused by buyer.", +"The deal serving is paused by seller." +], +"type": "string" +}, +"name": { +"description": "The resource name of the finalized deal. Format: `buyers/{accountId}/finalizedDeals/{finalizedDealId}`", +"type": "string" +}, +"readyToServe": { +"description": "Whether the Programmatic Guaranteed deal is ready for serving.", +"type": "boolean" +}, +"rtbMetrics": { +"$ref": "RtbMetrics", +"description": "Real-time bidding metrics for this deal." +} +}, +"type": "object" +}, +"FirstPartyMobileApplicationTargeting": { +"description": "Represents a list of targeted and excluded mobile application IDs that publishers own. Android App ID, for example, com.google.android.apps.maps, can be found in Google Play Store URL. iOS App ID (which is a number) can be found at the end of iTunes store URL. First party mobile applications is either included or excluded.", +"id": "FirstPartyMobileApplicationTargeting", +"properties": { +"excludedAppIds": { +"description": "A list of application IDs to be excluded.", +"items": { +"type": "string" +}, +"type": "array" +}, +"targetedAppIds": { +"description": "A list of application IDs to be included.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"FrequencyCap": { +"description": "Message contains details about publisher-set frequency caps of the delivery.", +"id": "FrequencyCap", +"properties": { +"maxImpressions": { +"description": "The maximum number of impressions that can be served to a user within the specified time period.", +"format": "int32", +"type": "integer" +}, +"timeUnitType": { +"description": "The time unit. Along with num_time_units defines the amount of time over which impressions per user are counted and capped.", +"enum": [ +"TIME_UNIT_TYPE_UNSPECIFIED", +"MINUTE", +"HOUR", +"DAY", +"WEEK", +"MONTH", +"LIFETIME", +"POD", +"STREAM" +], +"enumDescriptions": [ +"A placeholder for an undefined time unit type. This just indicates the variable with this value hasn't been initialized.", +"Minute unit.", +"Hour unit.", +"Day unit.", +"Week unit.", +"Month unit.", +"Lifecycle/Lifetime unit.", +"Pod unit.", +"Stream unit." +], +"type": "string" +}, +"timeUnitsCount": { +"description": "The amount of time, in the units specified by time_unit_type. Defines the amount of time over which impressions per user are counted and capped.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"InventorySizeTargeting": { +"description": "Represents the size of an ad unit that can be targeted on a bid request.", +"id": "InventorySizeTargeting", +"properties": { +"excludedInventorySizes": { +"description": "A list of inventory sizes to be excluded.", +"items": { +"$ref": "AdSize" +}, +"type": "array" +}, +"targetedInventorySizes": { +"description": "A list of inventory sizes to be included.", +"items": { +"$ref": "AdSize" +}, +"type": "array" +} +}, +"type": "object" +}, +"InventoryTypeTargeting": { +"description": "Targeting of the inventory types a bid request can originate from.", +"id": "InventoryTypeTargeting", +"properties": { +"inventoryTypes": { +"description": "The list of targeted inventory types for the bid request.", +"items": { +"enum": [ +"INVENTORY_TYPE_UNSPECIFIED", +"BROWSER", +"MOBILE_APP", +"VIDEO_PLAYER" +], +"enumDescriptions": [ +"Unspecified inventory type", +"Desktop or mobile web browser excluding ads inside a video player", +"Mobile apps other than video players and web browsers", +"Instream video and audio" +], +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListAuctionPackagesResponse": { +"description": "Response message for listing auction packages.", +"id": "ListAuctionPackagesResponse", +"properties": { +"auctionPackages": { +"description": "The list of auction packages.", +"items": { +"$ref": "AuctionPackage" +}, +"type": "array" +}, +"nextPageToken": { +"description": "Continuation token for fetching the next page of results. Pass this value in the ListAuctionPackagesRequest.pageToken field in the subsequent call to the `ListAuctionPackages` method to retrieve the next page of results.", +"type": "string" +} +}, +"type": "object" +}, +"ListClientUsersResponse": { +"description": "Response message for the list method.", +"id": "ListClientUsersResponse", +"properties": { +"clientUsers": { +"description": "The returned list of client users.", +"items": { +"$ref": "ClientUser" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A token to retrieve the next page of results. Pass this value in the ListClientUsersRequest.pageToken field in the subsequent call to the list method to retrieve the next page of results.", +"type": "string" +} +}, +"type": "object" +}, +"ListClientsResponse": { +"description": "Response message for the list method.", +"id": "ListClientsResponse", +"properties": { +"clients": { +"description": "The returned list of clients.", +"items": { +"$ref": "Client" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A token to retrieve the next page of results. Pass this value in the ListClientsRequest.pageToken field in the subsequent call to the list method to retrieve the next page of results.", +"type": "string" +} +}, +"type": "object" +}, +"ListCuratedPackagesResponse": { +"description": "Response message for ListCuratedPackages.", +"id": "ListCuratedPackagesResponse", +"properties": { +"curatedPackages": { +"description": "The list of curated packages.", +"items": { +"$ref": "CuratedPackage" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A token to retrieve the next page of results. Pass this value in the ListCuratedPackagesRequest.pageToken field in the subsequent call to `ListCuratedPackages` method to retrieve the next page of results. If empty, then there are no more results.", +"type": "string" +} +}, +"type": "object" +}, +"ListDataSegmentsResponse": { +"description": "Response message for listing data segments.", +"id": "ListDataSegmentsResponse", +"properties": { +"dataSegments": { +"description": "The list of data segments.", +"items": { +"$ref": "DataSegment" +}, +"type": "array" +}, +"nextPageToken": { +"description": "Continuation token for fetching the next page of results. Pass this value in the ListDataSegmentsRequest.pageToken field in the subsequent call to the `ListDataSegments` method to retrieve the next page of results.", +"type": "string" +} +}, +"type": "object" +}, +"ListDealsResponse": { +"description": "Response message for listing deals in a proposal.", +"id": "ListDealsResponse", +"properties": { +"deals": { +"description": "The list of deals.", +"items": { +"$ref": "Deal" +}, +"type": "array" +}, +"nextPageToken": { +"description": "Token to fetch the next page of results.", +"type": "string" +} +}, +"type": "object" +}, +"ListFinalizedDealsResponse": { +"description": "Response message for listing finalized deals.", +"id": "ListFinalizedDealsResponse", +"properties": { +"finalizedDeals": { +"description": "The list of finalized deals.", +"items": { +"$ref": "FinalizedDeal" +}, +"type": "array" +}, +"nextPageToken": { +"description": "Token to fetch the next page of results.", +"type": "string" +} +}, +"type": "object" +}, +"ListMediaPlannersResponse": { +"description": "A response containing media planner account information.", +"id": "ListMediaPlannersResponse", +"properties": { +"mediaPlanners": { +"description": "List of media planners.", +"items": { +"$ref": "MediaPlanner" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A token which can be passed to a subsequent call to the `ListMediaPlanners` method to retrieve the next page of results in ListMediaPlannersRequest.pageToken.", +"type": "string" +} +}, +"type": "object" +}, +"ListProposalsResponse": { +"description": "Response message for listing proposals.", +"id": "ListProposalsResponse", +"properties": { +"nextPageToken": { +"description": "Continuation token for fetching the next page of results.", +"type": "string" +}, +"proposals": { +"description": "The list of proposals.", +"items": { +"$ref": "Proposal" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListPublisherProfilesResponse": { +"description": "Response message for profiles visible to the buyer.", +"id": "ListPublisherProfilesResponse", +"properties": { +"nextPageToken": { +"description": "Token to fetch the next page of results.", +"type": "string" +}, +"publisherProfiles": { +"description": "The list of matching publisher profiles.", +"items": { +"$ref": "PublisherProfile" +}, +"type": "array" +} +}, +"type": "object" +}, +"MarketplaceTargeting": { +"description": "Targeting represents different criteria that can be used to target deals or auction packages. For example, they can choose to target inventory only if the user is in the US. Multiple types of targeting are always applied as a logical AND, unless noted otherwise.", +"id": "MarketplaceTargeting", +"properties": { +"daypartTargeting": { +"$ref": "DayPartTargeting", +"description": "Daypart targeting information." +}, +"excludedSensitiveCategoryIds": { +"description": "Output only. The sensitive content category label IDs excluded. Refer to this file https://storage.googleapis.com/adx-rtb-dictionaries/content-labels.txt for category IDs.", +"items": { +"format": "int64", +"type": "string" +}, +"readOnly": true, +"type": "array" +}, +"geoTargeting": { +"$ref": "CriteriaTargeting", +"description": "Output only. Geo criteria IDs to be included/excluded.", +"readOnly": true +}, +"inventorySizeTargeting": { +"$ref": "InventorySizeTargeting", +"description": "Output only. Inventory sizes to be included/excluded.", +"readOnly": true +}, +"inventoryTypeTargeting": { +"$ref": "InventoryTypeTargeting", +"description": "Output only. Inventory type targeting information.", +"readOnly": true +}, +"placementTargeting": { +"$ref": "PlacementTargeting", +"description": "Output only. Placement targeting information, for example, URL, mobile applications.", +"readOnly": true +}, +"technologyTargeting": { +"$ref": "TechnologyTargeting", +"description": "Output only. Technology targeting information, for example, operating system, device category.", +"readOnly": true +}, +"userListTargeting": { +"$ref": "CriteriaTargeting", +"description": "Buyer user list targeting information. User lists can be uploaded using https://developers.google.com/authorized-buyers/rtb/bulk-uploader." +}, +"verticalTargeting": { +"$ref": "CriteriaTargeting", +"description": "Output only. The verticals included or excluded as defined in https://developers.google.com/authorized-buyers/rtb/downloads/publisher-verticals", +"readOnly": true +}, +"videoTargeting": { +"$ref": "VideoTargeting", +"description": "Output only. Video targeting information.", +"readOnly": true +} +}, +"type": "object" +}, +"MediaPlanner": { +"description": "Represents a media planner account.", +"id": "MediaPlanner", +"properties": { +"accountId": { +"deprecated": true, +"description": "Output only. Account ID of the media planner.", +"readOnly": true, +"type": "string" +}, +"ancestorNames": { +"description": "Output only. The ancestor names of the media planner. Format: `mediaPlanners/{mediaPlannerAccountId}` Can be used to filter the response of the mediaPlanners.list method.", +"items": { +"type": "string" +}, +"readOnly": true, +"type": "array" +}, +"displayName": { +"description": "Output only. The display name of the media planner. Can be used to filter the response of the mediaPlanners.list method.", +"readOnly": true, +"type": "string" +}, +"name": { +"description": "Identifier. The unique resource name of the media planner. Format: `mediaPlanners/{mediaPlannerAccountId}` Can be used to filter the response of the mediaPlanners.list method.", +"type": "string" +} +}, +"type": "object" +}, +"MobileApplicationTargeting": { +"description": "Mobile application targeting settings.", +"id": "MobileApplicationTargeting", +"properties": { +"firstPartyTargeting": { +"$ref": "FirstPartyMobileApplicationTargeting", +"description": "Publisher owned apps to be targeted or excluded by the publisher to display the ads in." +} +}, +"type": "object" +}, +"Money": { +"description": "Represents an amount of money with its currency type.", +"id": "Money", +"properties": { +"currencyCode": { +"description": "The three-letter currency code defined in ISO 4217.", +"type": "string" +}, +"nanos": { +"description": "Number of nano (10^-9) units of the amount. The value must be between -999,999,999 and +999,999,999 inclusive. If `units` is positive, `nanos` must be positive or zero. If `units` is zero, `nanos` can be positive, zero, or negative. If `units` is negative, `nanos` must be negative or zero. For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000.", +"format": "int32", +"type": "integer" +}, +"units": { +"description": "The whole units of the amount. For example if `currencyCode` is `\"USD\"`, then 1 unit is one US dollar.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"Note": { +"description": "A text note attached to the proposal to facilitate the communication between buyers and sellers.", +"id": "Note", +"properties": { +"createTime": { +"description": "Output only. When this note was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"creatorRole": { +"description": "Output only. The role who created the note.", +"enum": [ +"BUYER_SELLER_ROLE_UNSPECIFIED", +"BUYER", +"SELLER" +], +"enumDescriptions": [ +"A placeholder for an undefined buyer/seller role.", +"Specifies the role as buyer.", +"Specifies the role as seller." +], +"readOnly": true, +"type": "string" +}, +"note": { +"description": "The text of the note. Maximum length is 1024 characters.", +"type": "string" +} +}, +"type": "object" +}, +"OperatingSystemTargeting": { +"description": "Represents targeting information for operating systems.", +"id": "OperatingSystemTargeting", +"properties": { +"operatingSystemCriteria": { +"$ref": "CriteriaTargeting", +"description": "IDs of operating systems to be included/excluded." +}, +"operatingSystemVersionCriteria": { +"$ref": "CriteriaTargeting", +"description": "IDs of operating system versions to be included/excluded." +} +}, +"type": "object" +}, +"PackagePlacementTargeting": { +"description": "Represents targeting about where the ads can appear, for example, certain sites or mobile applications. Different placement targeting types will be logically OR'ed.", +"id": "PackagePlacementTargeting", +"properties": { +"includedMobileAppCategoryTargeting": { +"description": "Optional. The list of targeted mobile app categories.", +"items": { +"format": "int64", +"type": "string" +}, +"type": "array" +}, +"mobileAppTargeting": { +"$ref": "StringTargetingDimension", +"description": "Optional. The list of targeted or excluded mobile application IDs that publishers own. Currently, only Android and Apple apps are supported. Android App ID, for example, com.google.android.apps.maps, can be found in Google Play Store URL. iOS App ID (which is a number) can be found at the end of iTunes store URL. First party mobile applications is either included or excluded." +}, +"uriTargeting": { +"$ref": "StringTargetingDimension", +"description": "Optional. The list of targeted or excluded URLs. The domains should have the http/https stripped (for example, google.com), and can contain a max of 5 paths per url." +} +}, +"type": "object" +}, +"PackagePublisherProvidedSignalsTargeting": { +"description": "Represents targeting about publisher provided signals. Different publisher provided signals types will be logically OR'ed.", +"id": "PackagePublisherProvidedSignalsTargeting", +"properties": { +"audienceTargeting": { +"$ref": "TaxonomyTargeting", +"description": "Optional. The list of targeted or excluded audience IDs. Based off of IAB Audience Taxonomy version 1.1 (https://github.com/InteractiveAdvertisingBureau/Taxonomies/blob/main/Audience%20Taxonomies/Audience%20Taxonomy%201.1.tsv)" +}, +"contentTargeting": { +"$ref": "TaxonomyTargeting", +"description": "Optional. The list of targeted or excluded content IDs. Based off of IAB Content Taxonomy version 2.2 (https://github.com/InteractiveAdvertisingBureau/Taxonomies/blob/main/Content%20Taxonomies/Content%20Taxonomy%202.2.tsv)" +}, +"videoAndAudioSignalsTargeting": { +"$ref": "StringTargetingDimension", +"description": "Optional. The list of targeted and excluded video and audio signals IDs. These are additional signals supported by publisher provided signals." +} +}, +"type": "object" +}, +"PackageTargeting": { +"description": "Targeting criteria for curated and auction packages.", +"id": "PackageTargeting", +"properties": { +"geoTargeting": { +"$ref": "CriteriaTargeting", +"description": "Optional. The geo criteria IDs to be included or excluded as defined in https://storage.googleapis.com/adx-rtb-dictionaries/geo-table.csv. If unset, inventory will be targeted regardless of geo." +}, +"includedAcceleratedMobilePageType": { +"description": "Optional. The targeted accelerated mobile page type. If unset, inventory will be targeted regardless of AMP status.", +"enum": [ +"ACCELERATED_MOBILE_PAGE_TYPE_UNSPECIFIED", +"ACCELERATED_MOBILE_PAGE_TYPE_NON_AMP", +"ACCELERATED_MOBILE_PAGE_TYPE_AMP", +"ACCELERATED_MOBILE_PAGE_TYPE_AMP_STORY" +], +"enumDescriptions": [ +"Default value. Should not be used in targeting specifications.", +"Targets inventory on standard web pages not using any AMP framework.", +"Targets inventory on pages built using the core AMP HTML framework.", +"Targets inventory on pages using the AMP Story (STAMP) format, which is optimized for visual storytelling (e.g., tappable full-screen experiences)." +], +"type": "string" +}, +"includedAdSizes": { +"description": "Optional. The list of ad sizes to target. If unset, inventory will be targeted regardless of ad size. Curated packages supports `PIXEL` and `INTERSTITIAL` ad sizes.", +"items": { +"$ref": "AdSize" +}, +"type": "array" +}, +"includedAuthorizedSellerStatuses": { +"description": "Optional. The included list of targeted authorized seller statuses. If empty, inventory will be targeted regardless of seller status.", +"items": { +"enum": [ +"AUTHORIZED_SELLER_STATUS_UNSPECIFIED", +"AUTHORIZED_SELLER_STATUS_DIRECT", +"AUTHORIZED_SELLER_STATUS_RESELLER" +], +"enumDescriptions": [ +"Default value. Should not be used in targeting specifications.", +"Targets inventory where the seller is declared as 'DIRECT'. This indicates the publisher (content owner) directly controls the seller account and has a direct business contract with the advertising system for this account.", +"Targets inventory where the seller is declared as 'RESELLER'. This indicates the publisher has authorized another entity to operate the listed seller account and resell their ad space." +], +"type": "string" +}, +"type": "array" +}, +"includedCreativeFormat": { +"description": "Optional. The creative format to target. If unset, all creative markup types are targeted.", +"enum": [ +"CREATIVE_FORMAT_UNSPECIFIED", +"CREATIVE_FORMAT_DISPLAY", +"CREATIVE_FORMAT_VIDEO", +"CREATIVE_FORMAT_AUDIO" +], +"enumDescriptions": [ +"Default value. Should not be used in targeting specifications.", +"Targets ad slots intended for HTML display creatives.", +"Targets ad slots intended for video creatives.", +"Targets ad slots intended for audio creatives." +], +"type": "string" +}, +"includedDataSegments": { +"description": "Optional. The active data segments to be targeted. If unset, inventory will be targeted regardless of data segments. Format: `curators/{account_id}/dataSegments/{data_segment_id}`", +"items": { +"type": "string" +}, +"type": "array" +}, +"includedDeviceTypes": { +"description": "Optional. The list of included device types to target. If empty, all device types are targeted.", +"items": { +"enum": [ +"DEVICE_TYPE_UNSPECIFIED", +"DEVICE_TYPE_PERSONAL_COMPUTER", +"DEVICE_TYPE_CONNECTED_TV", +"DEVICE_TYPE_PHONE", +"DEVICE_TYPE_TABLET" +], +"enumDescriptions": [ +"Default value. Should not be used in targeting specifications.", +"Targets desktop or laptop computers.", +"Targets connected TVs: devices that stream TV content, including smart TVs, gaming consoles, and streaming boxes/sticks.", +"Targets high-end mobile devices.", +"Targets tablet devices." +], +"type": "string" +}, +"type": "array" +}, +"includedEnvironment": { +"description": "Optional. The environment to target. If unspecified, all environments are targeted.", +"enum": [ +"ENVIRONMENT_UNSPECIFIED", +"ENVIRONMENT_SITE", +"ENVIRONMENT_APP" +], +"enumDescriptions": [ +"Default value. Should not be used in targeting specifications.", +"Targets inventory rendered within an ad-supported website.", +"Targets inventory within a mobile application." +], +"type": "string" +}, +"includedNativeInventoryTypes": { +"description": "Optional. The targeted native inventory types. If empty, inventory will be targeted regardless of native inventory type.", +"items": { +"enum": [ +"NATIVE_INVENTORY_TYPE_UNSPECIFIED", +"NATIVE_INVENTORY_TYPE_NATIVE_ONLY", +"NATIVE_INVENTORY_TYPE_NATIVE_OR_BANNER" +], +"enumDescriptions": [ +"Default value. Should not be used in targeting specifications.", +"Targets ad slots that *only* accept and render native ads.", +"Targets ad slots that accept and render either native or banner ads." +], +"type": "string" +}, +"type": "array" +}, +"includedOpenMeasurementTypes": { +"description": "Optional. The list of targeted open measurement types. If empty, inventory will be targeted regardless of Open Measurement support.", +"items": { +"enum": [ +"OPEN_MEASUREMENT_TYPE_UNSPECIFIED", +"OPEN_MEASUREMENT_TYPE_OMID_V1" +], +"enumDescriptions": [ +"Default value. Should not be used in targeting specifications.", +"Targets inventory that supports the v1 Open Measurement Interface Definition (OMID)." +], +"type": "string" +}, +"type": "array" +}, +"includedRestrictedCategories": { +"description": "Optional. The list of targeted restricted categories. If empty, inventory will be targeted regardless of restricted categories.", +"items": { +"enum": [ +"RESTRICTED_CATEGORY_UNSPECIFIED", +"RESTRICTED_CATEGORY_ALCOHOL", +"RESTRICTED_CATEGORY_GAMBLING" +], +"enumDescriptions": [ +"Default value. Should not be used in targeting specifications.", +"Targets inventory where alcohol ads are allowed by the publisher.", +"Targets inventory where gambling ads are allowed by the publisher." +], +"type": "string" +}, +"type": "array" +}, +"includedRewardedType": { +"description": "Optional. The targeted rewarded type. If unset, inventory will be targeted regardless of rewarded type.", +"enum": [ +"REWARDED_TYPE_UNSPECIFIED", +"REWARDED_TYPE_NON_REWARDED", +"REWARDED_TYPE_REWARDED" +], +"enumDescriptions": [ +"Default value. Should not be used in targeting specifications.", +"Targets inventory that does NOT offer an explicit reward to the user for watching or interacting with the ad.", +"Targets inventory that offers a reward to the user in exchange for watching or engaging with the ad." +], +"type": "string" +}, +"languageTargeting": { +"$ref": "StringTargetingDimension", +"description": "Optional. The languages to target. If unset, inventory will be targeted regardless of language. See https://developers.google.com/google-ads/api/data/codes-formats#languages for the list of supported language codes." +}, +"minimumPredictedClickThroughRatePercentageMillis": { +"description": "Optional. The targeted minimum predicted click through rate, ranging in values [10, 10000] (0.01% - 10%). A value of 50 means that the configuration will only match adslots for which we predict at least 0.05% click through rate. An unset value indicates inventory will be targeted regardless of predicted click through rate.", +"format": "int64", +"type": "string" +}, +"minimumPredictedViewabilityPercentage": { +"description": "Optional. The targeted minimum predicted viewability percentage. This value must be a multiple of 10 between 10 and 90 (inclusive). For example, 10 is valid, but 0, 15, and 100 are not. A value of 10 means that the configuration will only match adslots for which we predict at least 10% viewability. An unset value indicates inventory will be targeted regardless of predicted viewability.", +"format": "int64", +"type": "string" +}, +"placementTargeting": { +"$ref": "PackagePlacementTargeting", +"description": "Optional. Placement targeting information, for example, URL, mobile applications." +}, +"publisherProvidedSignalsTargeting": { +"$ref": "PackagePublisherProvidedSignalsTargeting", +"description": "Optional. The publisher provided signals to target. If unset, inventory will be targeted regardless of publisher provided signals." +}, +"publisherTargeting": { +"$ref": "StringTargetingDimension", +"description": "Optional. The targeted publishers. If unset, inventory will be targeted regardless of publisher. Publishers are identified by their publisher ID from ads.txt / app-ads.txt. See https://iabtechlab.com/ads-txt/ and https://iabtechlab.com/app-ads-txt/ for more details." +}, +"verticalTargeting": { +"$ref": "CriteriaTargeting", +"description": "Optional. The verticals included or excluded as defined in https://developers.google.com/authorized-buyers/rtb/downloads/publisher-verticals. If unset, inventory will be targeted regardless of vertical." +}, +"videoTargeting": { +"$ref": "PackageVideoTargeting", +"description": "Optional. Video specific targeting criteria." +} +}, +"type": "object" +}, +"PackageVideoTargeting": { +"description": "Video specific targeting criteria.", +"id": "PackageVideoTargeting", +"properties": { +"includedContentDeliveryMethod": { +"description": "Optional. The targeted video delivery method. If unset, inventory will be targeted regardless of video delivery method.", +"enum": [ +"CONTENT_DELIVERY_METHOD_UNSPECIFIED", +"CONTENT_DELIVERY_METHOD_STREAMING", +"CONTENT_DELIVERY_METHOD_PROGRESSIVE" +], +"enumDescriptions": [ +"Default value. Should not be used in targeting specifications.", +"Targets video content that is being broadcast live.", +"Targets video content that is transferred incrementally as client's playback requires." +], +"type": "string" +}, +"includedMaximumAdDurationTargeting": { +"description": "Optional. The targeted maximum video ad duration. If unset, inventory will be targeted regardless of maximum video ad duration.", +"enum": [ +"MAXIMUM_VIDEO_AD_DURATION_UNSPECIFIED", +"MAXIMUM_VIDEO_AD_DURATION_FIFTEEN_SECONDS", +"MAXIMUM_VIDEO_AD_DURATION_TWENTY_SECONDS", +"MAXIMUM_VIDEO_AD_DURATION_THIRTY_SECONDS", +"MAXIMUM_VIDEO_AD_DURATION_SIXTY_SECONDS", +"MAXIMUM_VIDEO_AD_DURATION_NINETY_SECONDS", +"MAXIMUM_VIDEO_AD_DURATION_ONE_HUNDRED_TWENTY_SECONDS" +], +"enumDescriptions": [ +"Default value. Should not be used in targeting specifications.", +"Applies to video ads with a duration up to 15 seconds (0 < duration <= 15s).", +"Applies to video ads with a duration up to 20 seconds (0 < duration <= 20s).", +"Applies to video ads with a duration up to 30 seconds (0 < duration <= 30s).", +"Applies to video ads with a duration up to 60 seconds (0 < duration <= 60s).", +"Applies to video ads with a duration up to 90 seconds (0 < duration <= 90s).", +"Applies to video ads with a duration up to 120 seconds (0 < duration <= 120s)." +], +"type": "string" +}, +"includedMimeTypes": { +"description": "Optional. The list of targeted video mime types using the IANA published MIME type strings (https://www.iana.org/assignments/media-types/media-types.xhtml). If empty, inventory will be targeted regardless of video mime type.", +"items": { +"enum": [ +"VIDEO_MIME_TYPE_UNSPECIFIED", +"VIDEO_MIME_TYPE_THREEGPP", +"VIDEO_MIME_TYPE_APPLICATION_MPEGURL", +"VIDEO_MIME_TYPE_MP4", +"VIDEO_MIME_TYPE_APPLICATION_MPEGDASH", +"VIDEO_MIME_TYPE_APPLICATION_JAVASCRIPT", +"VIDEO_MIME_TYPE_WEBM" +], +"enumDescriptions": [ +"Default value. Should not be used in targeting specifications.", +"3GPP container format used on 3G phones.", +"HLS/M3U8", +"MPEG-4 container typically with H.264 codec.", +"DASH.", +"JavaScript (used for VPAID ads).", +"WebM container assuming VP9 codec." +], +"type": "string" +}, +"type": "array" +}, +"includedPlaybackMethods": { +"description": "Optional. The list of targeted video playback methods. If empty, inventory will be targeted regardless of video playback method.", +"items": { +"enum": [ +"PLAYBACK_METHOD_UNSPECIFIED", +"PLAYBACK_METHOD_AUTO_PLAY_SOUND_ON", +"PLAYBACK_METHOD_AUTO_PLAY_SOUND_OFF", +"PLAYBACK_METHOD_CLICK_TO_PLAY" +], +"enumDescriptions": [ +"Unspecified video playback method. Should not be used.", +"Playback starts automatically when the page/content loads.", +"Playback starts automatically when the page/content loads, but with sound off.", +"Playback is initiated by a user action (e.g., clicking a play button)." +], +"type": "string" +}, +"type": "array" +}, +"includedPlayerSizeTargeting": { +"$ref": "VideoPlayerSizeTargeting", +"description": "Optional. The targeted video player size. If unset, inventory will be targeted regardless of video player size." +}, +"includedPositionTypes": { +"description": "Optional. The targeted video ad position types. If empty, inventory will be targeted regardless of video ad position type.", +"items": { +"enum": [ +"POSITION_TYPE_UNSPECIFIED", +"POSITION_TYPE_MIDROLL", +"POSITION_TYPE_POSTROLL", +"POSITION_TYPE_PREROLL" +], +"enumDescriptions": [ +"Default value. Should not be used in targeting specifications.", +"The ad is played in the middle of the video content.", +"The ad is played after the video content.", +"The ad is played before the video content." +], +"type": "string" +}, +"type": "array" +}, +"minimumPredictedCompletionRatePercentage": { +"description": "Optional. The targeted minimum predicted completion rate percentage. This value must be a multiple of 10 between 10 and 90 (inclusive). For example, 10 is valid, but 0, 15, and 100 are not. A value of 10 means that the configuration will only match adslots for which we predict at least 10% completion rate. An unset value indicates inventory will be targeted regardless of predicted completion rate.", +"format": "int64", +"type": "string" +}, +"plcmtTargeting": { +"$ref": "VideoPlcmtTargeting", +"description": "Optional. The targeted video plcmt types. If unset, inventory will be targeted regardless of video plcmt type." +} +}, +"type": "object" +}, +"PauseFinalizedDealRequest": { +"description": "Request message for pausing a finalized deal.", +"id": "PauseFinalizedDealRequest", +"properties": { +"reason": { +"description": "The reason to pause the finalized deal, will be displayed to the seller. Maximum length is 1000 characters.", +"type": "string" +} +}, +"type": "object" +}, +"PlacementTargeting": { +"description": "Represents targeting about where the ads can appear, for example, certain sites or mobile applications. Different placement targeting types will be logically OR'ed.", +"id": "PlacementTargeting", +"properties": { +"mobileApplicationTargeting": { +"$ref": "MobileApplicationTargeting", +"description": "Mobile application targeting information in a deal. This doesn't apply to Auction Packages." +}, +"uriTargeting": { +"$ref": "UriTargeting", +"description": "URLs to be included/excluded." +} +}, +"type": "object" +}, +"PreferredDealTerms": { +"description": "Pricing terms for Preferred Deals.", +"id": "PreferredDealTerms", +"properties": { +"fixedPrice": { +"$ref": "Price", +"description": "Fixed price for the deal." +} +}, +"type": "object" +}, +"Price": { +"description": "Represents a price and a pricing type for a deal.", +"id": "Price", +"properties": { +"amount": { +"$ref": "Money", +"description": "The actual price with currency specified." +}, +"type": { +"description": "The pricing type for the deal.", +"enum": [ +"TYPE_UNSPECIFIED", +"CPM", +"CPD" +], +"enumDescriptions": [ +"A placeholder for an undefined pricing type. If the pricing type is unspecified, CPM will be used instead.", +"Cost per thousand impressions.", +"Cost per day." +], +"type": "string" +} +}, +"type": "object" +}, +"PrivateAuctionTerms": { +"description": "Pricing terms for Private Auctions.", +"id": "PrivateAuctionTerms", +"properties": { +"floorPrice": { +"$ref": "Price", +"description": "The minimum price buyer has to bid to compete in the private auction." +}, +"openAuctionAllowed": { +"description": "Output only. True if open auction buyers are allowed to compete with invited buyers in this private auction.", +"readOnly": true, +"type": "boolean" +} +}, +"type": "object" +}, +"PrivateData": { +"description": "Buyers are allowed to store certain types of private data in a proposal.", +"id": "PrivateData", +"properties": { +"referenceId": { +"description": "A buyer specified reference ID. This can be queried in the list operations (max-length: 1024 unicode code units).", +"type": "string" +} +}, +"type": "object" +}, +"ProgrammaticGuaranteedTerms": { +"description": "Pricing terms for Programmatic Guaranteed Deals.", +"id": "ProgrammaticGuaranteedTerms", +"properties": { +"fixedPrice": { +"$ref": "Price", +"description": "Fixed price for the deal." +}, +"guaranteedLooks": { +"description": "Count of guaranteed looks. For CPD deals, buyer changes to guaranteed_looks will be ignored.", +"format": "int64", +"type": "string" +}, +"impressionCap": { +"description": "The lifetime impression cap for CPM Sponsorship deals. Deal will stop serving when cap is reached.", +"format": "int64", +"type": "string" +}, +"minimumDailyLooks": { +"description": "Daily minimum looks for CPD deal types. For CPD deals, buyer should negotiate on this field instead of guaranteed_looks.", +"format": "int64", +"type": "string" +}, +"percentShareOfVoice": { +"description": "For sponsorship deals, this is the percentage of the seller's eligible impressions that the deal will serve until the cap is reached. Valid value is within range 0~100.", +"format": "int64", +"type": "string" +}, +"reservationType": { +"description": "The reservation type for a Programmatic Guaranteed deal. This indicates whether the number of impressions is fixed, or a percent of available impressions. If not specified, the default reservation type is STANDARD.", +"enum": [ +"RESERVATION_TYPE_UNSPECIFIED", +"STANDARD", +"SPONSORSHIP" +], +"enumDescriptions": [ +"An unspecified reservation type.", +"Non-sponsorship deal.", +"Sponsorship deals don't have impression goal (guaranteed_looks) and they are served based on the flight dates. For CPM Sponsorship deals, impression_cap is the lifetime impression limit." +], +"type": "string" +} +}, +"type": "object" +}, +"Proposal": { +"description": "Represents a proposal in the Marketplace. A proposal is the unit of negotiation between a seller and a buyer.", +"id": "Proposal", +"properties": { +"billedBuyer": { +"description": "Output only. When the client field is populated, this field refers to the buyer who creates and manages the client buyer and gets billed on behalf of the client buyer; when the buyer field is populated, this field is the same value as buyer. Format : `buyers/{buyerAccountId}`", +"readOnly": true, +"type": "string" +}, +"buyer": { +"description": "Output only. Refers to a buyer in The Realtime-bidding API. Format: `buyers/{buyerAccountId}`", +"readOnly": true, +"type": "string" +}, +"buyerContacts": { +"description": "Contact information for the buyer.", +"items": { +"$ref": "Contact" +}, +"type": "array" +}, +"buyerPrivateData": { +"$ref": "PrivateData", +"description": "Buyer private data (hidden from seller)." +}, +"client": { +"description": "Output only. Refers to a Client. Format: `buyers/{buyerAccountId}/clients/{clientAccountid}`", +"readOnly": true, +"type": "string" +}, +"dealType": { +"description": "Output only. Type of deal the proposal contains.", +"enum": [ +"DEAL_TYPE_UNSPECIFIED", +"PREFERRED_DEAL", +"PRIVATE_AUCTION", +"PROGRAMMATIC_GUARANTEED" +], +"enumDescriptions": [ +"Default, unspecified deal type.", +"Preferred deals.", +"Private auction deals.", +"Programmatic guaranteed deals." +], +"readOnly": true, +"type": "string" +}, +"displayName": { +"description": "Output only. The descriptive name for the proposal. Maximum length of 255 unicode characters is allowed. Control characters are not allowed. Buyers cannot update this field. Note: Not to be confused with name, which is a unique identifier of the proposal.", +"readOnly": true, +"type": "string" +}, +"isRenegotiating": { +"description": "Output only. True if the proposal was previously finalized and is now being renegotiated.", +"readOnly": true, +"type": "boolean" +}, +"lastUpdaterOrCommentorRole": { +"description": "Output only. The role of the last user that either updated the proposal or left a comment.", +"enum": [ +"BUYER_SELLER_ROLE_UNSPECIFIED", +"BUYER", +"SELLER" +], +"enumDescriptions": [ +"A placeholder for an undefined buyer/seller role.", +"Specifies the role as buyer.", +"Specifies the role as seller." +], +"readOnly": true, +"type": "string" +}, +"name": { +"description": "Immutable. The name of the proposal serving as a unique identifier. Format: buyers/{accountId}/proposals/{proposalId}", +"type": "string" +}, +"notes": { +"description": "A list of notes from the buyer and the seller attached to this proposal.", +"items": { +"$ref": "Note" +}, +"type": "array" +}, +"originatorRole": { +"description": "Output only. Indicates whether the buyer/seller created the proposal.", +"enum": [ +"BUYER_SELLER_ROLE_UNSPECIFIED", +"BUYER", +"SELLER" +], +"enumDescriptions": [ +"A placeholder for an undefined buyer/seller role.", +"Specifies the role as buyer.", +"Specifies the role as seller." +], +"readOnly": true, +"type": "string" +}, +"pausingConsented": { +"description": "Whether pausing is allowed for the proposal. This is a negotiable term between buyers and publishers.", +"type": "boolean" +}, +"proposalRevision": { +"description": "Output only. The revision number for the proposal. Each update to the proposal or deal causes the proposal revision number to auto-increment. The buyer keeps track of the last revision number they know of and pass it in when making an update. If the head revision number on the server has since incremented, then an ABORTED error is returned during the update operation to let the buyer know that a subsequent update was made.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"publisherProfile": { +"description": "Immutable. Reference to the seller on the proposal. Format: `buyers/{buyerAccountId}/publisherProfiles/{publisherProfileId}` Note: This field may be set only when creating the resource. Modifying this field while updating the resource will result in an error.", +"type": "string" +}, +"sellerContacts": { +"description": "Output only. Contact information for the seller.", +"items": { +"$ref": "Contact" +}, +"readOnly": true, +"type": "array" +}, +"state": { +"description": "Output only. Indicates the state of the proposal.", +"enum": [ +"STATE_UNSPECIFIED", +"BUYER_REVIEW_REQUESTED", +"SELLER_REVIEW_REQUESTED", +"BUYER_ACCEPTANCE_REQUESTED", +"FINALIZED", +"TERMINATED" +], +"enumDescriptions": [ +"Unspecified proposal state", +"When a proposal is waiting for buyer to review.", +"When the proposal is waiting for the seller to review.", +"When the seller accepted the proposal and sent it to the buyer for review.", +"When both buyer and seller has accepted the proposal", +"When either buyer or seller has cancelled the proposal" +], +"readOnly": true, +"type": "string" +}, +"termsAndConditions": { +"description": "Output only. The terms and conditions associated with this proposal. Accepting a proposal implies acceptance of this field. This is created by the seller, the buyer can only view it.", +"readOnly": true, +"type": "string" +}, +"updateTime": { +"description": "Output only. The time when the proposal was last revised.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"PublisherProfile": { +"description": "The values in the publisher profile are supplied by the publisher. All fields are not filterable unless stated otherwise.", +"id": "PublisherProfile", +"properties": { +"audienceDescription": { +"description": "Description on the publisher's audience.", +"type": "string" +}, +"directDealsContact": { +"description": "Contact information for direct reservation deals. This is free text entered by the publisher and may include information like names, phone numbers and email addresses.", +"type": "string" +}, +"displayName": { +"description": "Display name of the publisher profile. Can be used to filter the response of the publisherProfiles.list method.", +"type": "string" +}, +"domains": { +"description": "The list of domains represented in this publisher profile. Empty if this is a parent profile. These are top private domains, meaning that these will not contain a string like \"photos.google.co.uk/123\", but will instead contain \"google.co.uk\". Can be used to filter the response of the publisherProfiles.list method.", +"items": { +"type": "string" +}, +"type": "array" +}, +"isParent": { +"description": "Indicates if this profile is the parent profile of the seller. A parent profile represents all the inventory from the seller, as opposed to child profile that is created to brand a portion of inventory. One seller has only one parent publisher profile, and can have multiple child profiles. See https://support.google.com/admanager/answer/6035806 for details. Can be used to filter the response of the publisherProfiles.list method by setting the filter to \"is_parent: true\".", +"type": "boolean" +}, +"logoUrl": { +"description": "A Google public URL to the logo for this publisher profile. The logo is stored as a PNG, JPG, or GIF image.", +"type": "string" +}, +"mediaKitUrl": { +"description": "URL to additional marketing and sales materials.", +"type": "string" +}, +"mobileApps": { +"description": "The list of apps represented in this publisher profile. Empty if this is a parent profile.", +"items": { +"$ref": "PublisherProfileMobileApplication" +}, +"type": "array" +}, +"name": { +"description": "Name of the publisher profile. Format: `buyers/{buyer}/publisherProfiles/{publisher_profile}`", +"type": "string" +}, +"overview": { +"description": "Overview of the publisher.", +"type": "string" +}, +"pitchStatement": { +"description": "Statement explaining what's unique about publisher's business, and why buyers should partner with the publisher.", +"type": "string" +}, +"programmaticDealsContact": { +"description": "Contact information for programmatic deals. This is free text entered by the publisher and may include information like names, phone numbers and email addresses.", +"type": "string" +}, +"publisherCode": { +"description": "A unique identifying code for the seller. This value is the same for all of the seller's parent and child publisher profiles. Can be used to filter the response of the publisherProfiles.list method.", +"type": "string" +}, +"samplePageUrl": { +"description": "URL to a sample content page.", +"type": "string" +}, +"topHeadlines": { +"description": "Up to three key metrics and rankings. For example, \"#1 Mobile News Site for 20 Straight Months\".", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"PublisherProfileMobileApplication": { +"description": "A mobile application that contains a external app ID, name, and app store.", +"id": "PublisherProfileMobileApplication", +"properties": { +"appStore": { +"description": "The app store the app belongs to. Can be used to filter the response of the publisherProfiles.list method.", +"enum": [ +"APP_STORE_TYPE_UNSPECIFIED", +"APPLE_ITUNES", +"GOOGLE_PLAY", +"ROKU", +"AMAZON_FIRE_TV", +"PLAYSTATION", +"XBOX", +"SAMSUNG_TV", +"AMAZON", +"OPPO", +"SAMSUNG", +"VIVO", +"XIAOMI", +"LG_TV" +], +"enumDescriptions": [ +"A placeholder for an unknown app store.", +"Apple iTunes", +"Google Play", +"Roku", +"Amazon Fire TV", +"PlayStation", +"Xbox", +"Samsung TV", +"Amazon Appstore", +"OPPO App Market", +"Samsung Galaxy Store", +"VIVO App Store", +"Xiaomi GetApps", +"LG TV" +], +"type": "string" +}, +"externalAppId": { +"description": "The external ID for the app from its app store. Can be used to filter the response of the publisherProfiles.list method.", +"type": "string" +}, +"name": { +"description": "The name of the app.", +"type": "string" +} +}, +"type": "object" +}, +"ResumeFinalizedDealRequest": { +"description": "Request message for resuming a finalized deal.", +"id": "ResumeFinalizedDealRequest", +"properties": {}, +"type": "object" +}, +"RtbMetrics": { +"description": "Real-time bidding metrics. For what each metric means refer to [Report metrics](https://support.google.com/adxbuyer/answer/6115195#report-metrics)", +"id": "RtbMetrics", +"properties": { +"adImpressions7Days": { +"description": "Ad impressions in last 7 days.", +"format": "int64", +"type": "string" +}, +"bidRate7Days": { +"description": "Bid rate in last 7 days, calculated by (bids / bid requests).", +"format": "double", +"type": "number" +}, +"bidRequests7Days": { +"description": "Bid requests in last 7 days.", +"format": "int64", +"type": "string" +}, +"bids7Days": { +"description": "Bids in last 7 days.", +"format": "int64", +"type": "string" +}, +"filteredBidRate7Days": { +"description": "Filtered bid rate in last 7 days, calculated by (filtered bids / bids).", +"format": "double", +"type": "number" +}, +"mustBidRateCurrentMonth": { +"description": "Must bid rate for current month.", +"format": "double", +"type": "number" +} +}, +"type": "object" +}, +"SendRfpRequest": { +"description": "Request to send an RFP. All fields in this request are proposed to publisher and subject to changes by publisher during later negotiation.", +"id": "SendRfpRequest", +"properties": { +"buyerContacts": { +"description": "Contact information for the buyer.", +"items": { +"$ref": "Contact" +}, +"type": "array" +}, +"client": { +"description": "If the current buyer is sending the RFP on behalf of its client, use this field to specify the name of the client in the format: `buyers/{accountId}/clients/{clientAccountid}`.", +"type": "string" +}, +"displayName": { +"description": "Required. The display name of the proposal being created by this RFP.", +"type": "string" +}, +"estimatedGrossSpend": { +"$ref": "Money", +"description": "Specified by buyers in request for proposal (RFP) to notify publisher the total estimated spend for the proposal. Publishers will receive this information and send back proposed deals accordingly." +}, +"flightEndTime": { +"description": "Required. Proposed flight end time of the RFP. A timestamp in RFC3339 UTC \"Zulu\" format. Note that the specified value will be truncated to a granularity of one second.", +"format": "google-datetime", +"type": "string" +}, +"flightStartTime": { +"description": "Required. Proposed flight start time of the RFP. A timestamp in RFC3339 UTC \"Zulu\" format. Note that the specified value will be truncated to a granularity of one second.", +"format": "google-datetime", +"type": "string" +}, +"geoTargeting": { +"$ref": "CriteriaTargeting", +"description": "Geo criteria IDs to be targeted. Refer to Geo tables." +}, +"inventorySizeTargeting": { +"$ref": "InventorySizeTargeting", +"description": "Inventory sizes to be targeted. Only PIXEL inventory size type is supported." +}, +"note": { +"description": "A message that is sent to the publisher. Maximum length is 1024 characters.", +"type": "string" +}, +"preferredDealTerms": { +"$ref": "PreferredDealTerms", +"description": "The terms for preferred deals." +}, +"programmaticGuaranteedTerms": { +"$ref": "ProgrammaticGuaranteedTerms", +"description": "The terms for programmatic guaranteed deals." +}, +"publisherProfile": { +"description": "Required. The profile of the publisher who will receive this RFP in the format: `buyers/{accountId}/publisherProfiles/{publisherProfileId}`.", +"type": "string" +} +}, +"type": "object" +}, +"SetReadyToServeRequest": { +"description": "Request message for setting ready to serve for a finalized deal.", +"id": "SetReadyToServeRequest", +"properties": {}, +"type": "object" +}, +"StringTargetingDimension": { +"description": "Generic targeting with string values.", +"id": "StringTargetingDimension", +"properties": { +"selectionType": { +"description": "Required. How the items in this list should be targeted.", +"enum": [ +"SELECTION_TYPE_UNSPECIFIED", +"SELECTION_TYPE_INCLUDE", +"SELECTION_TYPE_EXCLUDE" +], +"enumDescriptions": [ +"Unspecified selection type. Should not be used.", +"The values in the targeting dimension are included.", +"The values in the targeting dimension are excluded." +], +"type": "string" +}, +"values": { +"description": "Required. The values specified.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"SubscribeAuctionPackageRequest": { +"description": "Request message for SubscribeAuctionPackage.", +"id": "SubscribeAuctionPackageRequest", +"properties": {}, +"type": "object" +}, +"SubscribeClientsRequest": { +"description": "Request message for SubscribeAuctionPackageClients.", +"id": "SubscribeClientsRequest", +"properties": { +"clients": { +"description": "Optional. A list of client buyers to subscribe to the auction package, with client buyer in the format `buyers/{accountId}/clients/{clientAccountId}`. The current buyer will be subscribed to the auction package regardless of the list contents if not already.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"TaxonomyTargeting": { +"description": "Defines targeting criteria for handling the IAB audience and content Taxonomy ID space.", +"id": "TaxonomyTargeting", +"properties": { +"excludedTaxonomyIds": { +"description": "Optional. The list of excluded content taxonomy IDs.", +"items": { +"type": "string" +}, +"type": "array" +}, +"targetedTaxonomyIds": { +"description": "Optional. The list of targeted content taxonomy IDs.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"TechnologyTargeting": { +"description": "Represents targeting about various types of technology.", +"id": "TechnologyTargeting", +"properties": { +"deviceCapabilityTargeting": { +"$ref": "CriteriaTargeting", +"description": "IDs of device capabilities to be included/excluded." +}, +"deviceCategoryTargeting": { +"$ref": "CriteriaTargeting", +"description": "IDs of device categories to be included/excluded." +}, +"operatingSystemTargeting": { +"$ref": "OperatingSystemTargeting", +"description": "Operating system related targeting information." +} +}, +"type": "object" +}, +"TimeOfDay": { +"description": "Represents a time of day. The date and time zone are either not significant or are specified elsewhere. An API may choose to allow leap seconds. Related types are google.type.Date and `google.protobuf.Timestamp`.", +"id": "TimeOfDay", +"properties": { +"hours": { +"description": "Hours of a day in 24 hour format. Must be greater than or equal to 0 and typically must be less than or equal to 23. An API may choose to allow the value \"24:00:00\" for scenarios like business closing time.", +"format": "int32", +"type": "integer" +}, +"minutes": { +"description": "Minutes of an hour. Must be greater than or equal to 0 and less than or equal to 59.", +"format": "int32", +"type": "integer" +}, +"nanos": { +"description": "Fractions of seconds, in nanoseconds. Must be greater than or equal to 0 and less than or equal to 999,999,999.", +"format": "int32", +"type": "integer" +}, +"seconds": { +"description": "Seconds of a minute. Must be greater than or equal to 0 and typically must be less than or equal to 59. An API may allow the value 60 if it allows leap-seconds.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"TimeZone": { +"description": "Represents a time zone from the [IANA Time Zone Database](https://www.iana.org/time-zones).", +"id": "TimeZone", +"properties": { +"id": { +"description": "IANA Time Zone Database time zone. For example \"America/New_York\".", +"type": "string" +}, +"version": { +"description": "Optional. IANA Time Zone Database version number. For example \"2019a\".", +"type": "string" +} +}, +"type": "object" +}, +"UnsubscribeAuctionPackageRequest": { +"description": "Request message for UnsubscribeAuctionPackage.", +"id": "UnsubscribeAuctionPackageRequest", +"properties": {}, +"type": "object" +}, +"UnsubscribeClientsRequest": { +"description": "Request message for UnsubscribeAuctionPackage.", +"id": "UnsubscribeClientsRequest", +"properties": { +"clients": { +"description": "Optional. A list of client buyers to unsubscribe from the auction package, with client buyer in the format `buyers/{accountId}/clients/{clientAccountId}`.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"UpdateDealRequest": { +"description": "Request message for updating the deal at the given revision number.", +"id": "UpdateDealRequest", +"properties": { +"deal": { +"$ref": "Deal", +"description": "Required. The deal to update. The deal's `name` field is used to identify the deal to be updated. Note: proposal_revision will have to be provided within the resource or else an error will be thrown. Format: buyers/{accountId}/proposals/{proposalId}/deals/{dealId}" +}, +"updateMask": { +"description": "List of fields to be updated. If empty or unspecified, the service will update all fields populated in the update request excluding the output only fields and primitive fields with default value. Note that explicit field mask is required in order to reset a primitive field back to its default value, for example, false for boolean fields, 0 for integer fields. A special field mask consisting of a single path \"*\" can be used to indicate full replacement(the equivalent of PUT method), updatable fields unset or unspecified in the input will be cleared or set to default value. Output only fields will be ignored regardless of the value of updateMask.", +"format": "google-fieldmask", +"type": "string" +} +}, +"type": "object" +}, +"UriTargeting": { +"description": "Represents a list of targeted and excluded URLs (for example, google.com). For Private Auction Deals, URLs are either included or excluded. For Programmatic Guaranteed and Preferred Deals, this doesn't apply.", +"id": "UriTargeting", +"properties": { +"excludedUris": { +"description": "A list of URLs to be excluded.", +"items": { +"type": "string" +}, +"type": "array" +}, +"targetedUris": { +"description": "A list of URLs to be included.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"VideoPlayerSizeTargeting": { +"description": "Represents the size of the video player that can be targeted. Both width and height are required to be set to non-zero values.", +"id": "VideoPlayerSizeTargeting", +"properties": { +"minimumHeight": { +"description": "Required. The minimum height of the video player in pixels.", +"format": "int64", +"type": "string" +}, +"minimumWidth": { +"description": "Required. The minimum width of the video player in pixels.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"VideoPlcmtTargeting": { +"description": "Defines targeting criteria based on the video placement type, often corresponding to the IAB OpenRTB 'plcmt' field.", +"id": "VideoPlcmtTargeting", +"properties": { +"selectionType": { +"description": "Required. The selection type for the list of video plcmts.", +"enum": [ +"SELECTION_TYPE_UNSPECIFIED", +"SELECTION_TYPE_INCLUDE", +"SELECTION_TYPE_EXCLUDE" +], +"enumDescriptions": [ +"Unspecified selection type. Should not be used.", +"The values in the targeting dimension are included.", +"The values in the targeting dimension are excluded." +], +"type": "string" +}, +"videoPlcmtTypes": { +"description": "Required. The list of targeted video plcmts types. If empty, inventory will be targeted regardless of video plcmt type.", +"items": { +"enum": [ +"VIDEO_PLCMT_TYPE_UNSPECIFIED", +"INSTREAM", +"ACCOMPANYING_CONTENT", +"INTERSTITIAL", +"NO_CONTENT" +], +"enumDescriptions": [ +"Default value. Should not be used in targeting specifications.", +"Pre-roll, mid-roll, and post-roll ads that are played before, during or after the streaming video content that the consumer has requested. Instream video must be set to \u201csound on\u201d by default at player start, or have explicitly clear user intent to watch the video content. While there may be other content surrounding the player, the video content must be the focus of the user\u2019s visit. It should remain the primary content on the page and the only video player in-view capable of audio when playing. If the player converts to floating/sticky, subsequent ad calls should accurately convey the updated player size.", +"Pre-roll, mid-roll, and post-roll ads that are played before, during, or after streaming video content. The video player loads and plays before, between, or after paragraphs of text or graphical content, and starts playing only when it enters the viewport. Accompanying content should only start playback upon entering the viewport. It may convert to a floating/sticky player as it scrolls off the page.", +"Video ads that are played without video content. During playback, it must be the primary focus of the page and take up the majority of the viewport and cannot be scrolled out of view. This can be in placements like in-app video or slideshows.", +"Video ads that are played without streaming video content. This can be in placements like slideshows, native feeds, in-content or sticky/floating." +], +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"VideoTargeting": { +"description": "Represents targeting information about video.", +"id": "VideoTargeting", +"properties": { +"excludedPositionTypes": { +"description": "A list of video positions to be excluded. When this field is populated, the targeted_position_types field must be empty.", +"items": { +"enum": [ +"POSITION_TYPE_UNSPECIFIED", +"PREROLL", +"MIDROLL", +"POSTROLL" +], +"enumDescriptions": [ +"A placeholder for an undefined video position.", +"Ad is played before the video.", +"Ad is played during the video.", +"Ad is played after the video." +], +"type": "string" +}, +"type": "array" +}, +"targetedPositionTypes": { +"description": "A list of video positions to be included. When this field is populated, the excluded_position_types field must be empty.", +"items": { +"enum": [ +"POSITION_TYPE_UNSPECIFIED", +"PREROLL", +"MIDROLL", +"POSTROLL" +], +"enumDescriptions": [ +"A placeholder for an undefined video position.", +"Ad is played before the video.", +"Ad is played during the video.", +"Ad is played after the video." +], +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +} +}, +"servicePath": "", +"title": "Authorized Buyers Marketplace API", +"version": "v1alpha", +"version_module": true +} \ No newline at end of file diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/authorizedbuyersmarketplace.v1beta.json b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/authorizedbuyersmarketplace.v1beta.json new file mode 100644 index 0000000000000000000000000000000000000000..3c6432792ce68935690808549e3195d6e117494a --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/authorizedbuyersmarketplace.v1beta.json @@ -0,0 +1,1308 @@ +{ +"auth": { +"oauth2": { +"scopes": { +"https://www.googleapis.com/auth/authorized-buyers-marketplace": { +"description": "See, create, edit, and delete your Authorized Buyers Marketplace entities." +} +} +} +}, +"basePath": "", +"baseUrl": "https://authorizedbuyersmarketplace.googleapis.com/", +"batchPath": "batch", +"canonicalName": "Authorized Buyers Marketplace", +"description": "The Authorized Buyers Marketplace API lets buyers programmatically discover inventory; propose, retrieve and negotiate deals with publishers.", +"discoveryVersion": "v1", +"documentationLink": "https://developers.google.com/authorized-buyers/apis/marketplace/reference/rest/", +"fullyEncodeReservedExpansion": true, +"icons": { +"x16": "http://www.google.com/images/icons/product/search-16.gif", +"x32": "http://www.google.com/images/icons/product/search-32.gif" +}, +"id": "authorizedbuyersmarketplace:v1beta", +"kind": "discovery#restDescription", +"mtlsRootUrl": "https://authorizedbuyersmarketplace.mtls.googleapis.com/", +"name": "authorizedbuyersmarketplace", +"ownerDomain": "google.com", +"ownerName": "Google", +"parameters": { +"$.xgafv": { +"description": "V1 error format.", +"enum": [ +"1", +"2" +], +"enumDescriptions": [ +"v1 error format", +"v2 error format" +], +"location": "query", +"type": "string" +}, +"access_token": { +"description": "OAuth access token.", +"location": "query", +"type": "string" +}, +"alt": { +"default": "json", +"description": "Data format for response.", +"enum": [ +"json", +"media", +"proto" +], +"enumDescriptions": [ +"Responses with Content-Type of application/json", +"Media download with context-dependent Content-Type", +"Responses with Content-Type of application/x-protobuf" +], +"location": "query", +"type": "string" +}, +"callback": { +"description": "JSONP", +"location": "query", +"type": "string" +}, +"fields": { +"description": "Selector specifying which fields to include in a partial response.", +"location": "query", +"type": "string" +}, +"key": { +"description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", +"location": "query", +"type": "string" +}, +"oauth_token": { +"description": "OAuth 2.0 token for the current user.", +"location": "query", +"type": "string" +}, +"prettyPrint": { +"default": "true", +"description": "Returns response with indentations and line breaks.", +"location": "query", +"type": "boolean" +}, +"quotaUser": { +"description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.", +"location": "query", +"type": "string" +}, +"uploadType": { +"description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", +"location": "query", +"type": "string" +}, +"upload_protocol": { +"description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", +"location": "query", +"type": "string" +} +}, +"protocol": "rest", +"resources": { +"curators": { +"resources": { +"curatedPackages": { +"methods": { +"activate": { +"description": "Activates an existing curated package.", +"flatPath": "v1beta/curators/{curatorsId}/curatedPackages/{curatedPackagesId}:activate", +"httpMethod": "POST", +"id": "authorizedbuyersmarketplace.curators.curatedPackages.activate", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the curated package to activate. Format: `curators/{accountId}/curatedPackages/{curatedPackageId}`", +"location": "path", +"pattern": "^curators/[^/]+/curatedPackages/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta/{+name}:activate", +"request": { +"$ref": "ActivateCuratedPackageRequest" +}, +"response": { +"$ref": "CuratedPackage" +}, +"scopes": [ +"https://www.googleapis.com/auth/authorized-buyers-marketplace" +] +}, +"create": { +"description": "Creates a new curated package.", +"flatPath": "v1beta/curators/{curatorsId}/curatedPackages", +"httpMethod": "POST", +"id": "authorizedbuyersmarketplace.curators.curatedPackages.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The parent curator account where this curated package will be created. Format: `curators/{accountId}`", +"location": "path", +"pattern": "^curators/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta/{+parent}/curatedPackages", +"request": { +"$ref": "CuratedPackage" +}, +"response": { +"$ref": "CuratedPackage" +}, +"scopes": [ +"https://www.googleapis.com/auth/authorized-buyers-marketplace" +] +}, +"deactivate": { +"description": "Deactivates an existing curated package.", +"flatPath": "v1beta/curators/{curatorsId}/curatedPackages/{curatedPackagesId}:deactivate", +"httpMethod": "POST", +"id": "authorizedbuyersmarketplace.curators.curatedPackages.deactivate", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the curated package to deactivate. Format: `curators/{accountId}/curatedPackages/{curatedPackageId}`", +"location": "path", +"pattern": "^curators/[^/]+/curatedPackages/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta/{+name}:deactivate", +"request": { +"$ref": "DeactivateCuratedPackageRequest" +}, +"response": { +"$ref": "CuratedPackage" +}, +"scopes": [ +"https://www.googleapis.com/auth/authorized-buyers-marketplace" +] +}, +"get": { +"description": "Gets a curated package given its resource name.", +"flatPath": "v1beta/curators/{curatorsId}/curatedPackages/{curatedPackagesId}", +"httpMethod": "GET", +"id": "authorizedbuyersmarketplace.curators.curatedPackages.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the curated package to retrieve. Format: `curators/{accountId}/curatedPackages/{curatedPackageId}`", +"location": "path", +"pattern": "^curators/[^/]+/curatedPackages/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta/{+name}", +"response": { +"$ref": "CuratedPackage" +}, +"scopes": [ +"https://www.googleapis.com/auth/authorized-buyers-marketplace" +] +}, +"list": { +"description": "Lists curated packages owned by the specified curator.", +"flatPath": "v1beta/curators/{curatorsId}/curatedPackages", +"httpMethod": "GET", +"id": "authorizedbuyersmarketplace.curators.curatedPackages.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Optional. Optional query string using the [Cloud API list filtering syntax](/authorized-buyers/apis/guides/list-filters). Supported columns for filtering are: * displayName * createTime * updateTime * state * feeCpm.currencyCode * feeCpm.units * feeCpm.nanos * floorPriceCpm.currencyCode * floorPriceCpm.units * floorPriceCpm.nanos", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Optional. Requested page size. The server may return fewer results than requested. Max allowed page size is 500. If unspecified, the server will default to 500.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. A page token, received from a previous `ListCuratedPackages` call. Provide this to retrieve the subsequent page.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent curator account which owns this collection of curated packages. Format: `curators/{accountId}`", +"location": "path", +"pattern": "^curators/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta/{+parent}/curatedPackages", +"response": { +"$ref": "ListCuratedPackagesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/authorized-buyers-marketplace" +] +}, +"patch": { +"description": "Updates an existing curated package.", +"flatPath": "v1beta/curators/{curatorsId}/curatedPackages/{curatedPackagesId}", +"httpMethod": "PATCH", +"id": "authorizedbuyersmarketplace.curators.curatedPackages.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Identifier. The unique resource name for the curated package. Format: `curators/{accountId}/curatedPackages/{curatedPackageId}`", +"location": "path", +"pattern": "^curators/[^/]+/curatedPackages/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Optional. List of fields to be updated. If empty or unspecified, the service will update all fields populated in the update request excluding the output only fields and primitive fields with default value. Note that explicit field mask is required in order to reset a primitive field back to its default value, for example, false for boolean fields, 0 for integer fields. A special field mask consisting of a single path \"*\" can be used to indicate full replacement (the equivalent of PUT method), updatable fields unset or unspecified in the input will be cleared or set to default value. Output only fields will be ignored regardless of the value of updateMask.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1beta/{+name}", +"request": { +"$ref": "CuratedPackage" +}, +"response": { +"$ref": "CuratedPackage" +}, +"scopes": [ +"https://www.googleapis.com/auth/authorized-buyers-marketplace" +] +} +} +}, +"dataSegments": { +"methods": { +"activate": { +"description": "Activates a data segment.", +"flatPath": "v1beta/curators/{curatorsId}/dataSegments/{dataSegmentsId}:activate", +"httpMethod": "POST", +"id": "authorizedbuyersmarketplace.curators.dataSegments.activate", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of data segment to activate. v1alpha format: `buyers/{accountId}/dataSegments/{curatorDataSegmentId}` v1beta format: `curators/{accountId}/dataSegments/{curatorDataSegmentId}`", +"location": "path", +"pattern": "^curators/[^/]+/dataSegments/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta/{+name}:activate", +"request": { +"$ref": "ActivateDataSegmentRequest" +}, +"response": { +"$ref": "DataSegment" +}, +"scopes": [ +"https://www.googleapis.com/auth/authorized-buyers-marketplace" +] +}, +"create": { +"description": "Creates a data segment owned by the listed curator. The data segment will be created in the `ACTIVE` state, meaning it will be immediately available for buyers to use in preferred deals, private auction deals, and auction packages.", +"flatPath": "v1beta/curators/{curatorsId}/dataSegments", +"httpMethod": "POST", +"id": "authorizedbuyersmarketplace.curators.dataSegments.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The parent resource where this data segment will be created. v1alpha format: `buyers/{accountId}` v1beta format: `curators/{accountId}`", +"location": "path", +"pattern": "^curators/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta/{+parent}/dataSegments", +"request": { +"$ref": "DataSegment" +}, +"response": { +"$ref": "DataSegment" +}, +"scopes": [ +"https://www.googleapis.com/auth/authorized-buyers-marketplace" +] +}, +"deactivate": { +"description": "Deactivates a data segment.", +"flatPath": "v1beta/curators/{curatorsId}/dataSegments/{dataSegmentsId}:deactivate", +"httpMethod": "POST", +"id": "authorizedbuyersmarketplace.curators.dataSegments.deactivate", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of data segment to deactivate. v1alpha format: `buyers/{accountId}/dataSegments/{curatorDataSegmentId}` v1beta format: `curators/{accountId}/dataSegments/{curatorDataSegmentId}`", +"location": "path", +"pattern": "^curators/[^/]+/dataSegments/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta/{+name}:deactivate", +"request": { +"$ref": "DeactivateDataSegmentRequest" +}, +"response": { +"$ref": "DataSegment" +}, +"scopes": [ +"https://www.googleapis.com/auth/authorized-buyers-marketplace" +] +}, +"get": { +"description": "Gets a data segment given its name.", +"flatPath": "v1beta/curators/{curatorsId}/dataSegments/{dataSegmentsId}", +"httpMethod": "GET", +"id": "authorizedbuyersmarketplace.curators.dataSegments.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of data segment to get. v1alpha format: `buyers/{accountId}/dataSegments/{curatorDataSegmentId}` v1beta format: `curators/{accountId}/dataSegments/{curatorDataSegmentId}`", +"location": "path", +"pattern": "^curators/[^/]+/dataSegments/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta/{+name}", +"response": { +"$ref": "DataSegment" +}, +"scopes": [ +"https://www.googleapis.com/auth/authorized-buyers-marketplace" +] +}, +"list": { +"description": "List the data segments owned by a curator.", +"flatPath": "v1beta/curators/{curatorsId}/dataSegments", +"httpMethod": "GET", +"id": "authorizedbuyersmarketplace.curators.dataSegments.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "Optional. Requested page size. The server may return fewer results than requested. Max allowed page size is 500. If unspecified, the server will default to 500.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. The page token as returned. ListDataSegmentsResponse.nextPageToken", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. Name of the parent curator that can access the data segment. v1alpha format: `buyers/{accountId}` v1beta format: `curators/{accountId}`", +"location": "path", +"pattern": "^curators/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta/{+parent}/dataSegments", +"response": { +"$ref": "ListDataSegmentsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/authorized-buyers-marketplace" +] +}, +"patch": { +"description": "Updates a data segment.", +"flatPath": "v1beta/curators/{curatorsId}/dataSegments/{dataSegmentsId}", +"httpMethod": "PATCH", +"id": "authorizedbuyersmarketplace.curators.dataSegments.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Immutable. Identifier. The unique identifier for the data segment. Account ID corresponds to the account ID that created the segment. v1alpha format: `buyers/{accountId}/dataSegments/{curatorDataSegmentId}` v1beta format: `curators/{curatorAccountId}/dataSegments/{curatorDataSegmentId}`", +"location": "path", +"pattern": "^curators/[^/]+/dataSegments/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Optional. List of fields to be updated. If empty or unspecified, the service will update all fields populated in the update request excluding the output only fields and primitive fields with default value. Note that explicit field mask is required in order to reset a primitive field back to its default value, for example, false for boolean fields, 0 for integer fields. A special field mask consisting of a single path \"*\" can be used to indicate full replacement(the equivalent of PUT method), updatable fields unset or unspecified in the input will be cleared or set to default value. Output only fields will be ignored regardless of the value of updateMask.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1beta/{+name}", +"request": { +"$ref": "DataSegment" +}, +"response": { +"$ref": "DataSegment" +}, +"scopes": [ +"https://www.googleapis.com/auth/authorized-buyers-marketplace" +] +} +} +} +} +}, +"mediaPlanners": { +"methods": { +"list": { +"description": "Lists all media planner accounts that the caller has access to. For curators, this will return all media planners that have accepted curator terms. For other accounts, attempting to list media planners will return an error.", +"flatPath": "v1beta/mediaPlanners", +"httpMethod": "GET", +"id": "authorizedbuyersmarketplace.mediaPlanners.list", +"parameterOrder": [], +"parameters": { +"filter": { +"description": "Optional query string using the [Cloud API list filtering syntax](/authorized-buyers/apis/guides/list-filters). Supported columns for filtering are: * `name` * `displayName` * `ancestorNames`", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "The maximum number of media planners to return. If unspecified, at most 100 media planners will be returned. The maximum value is 500; values above 500 will be coerced to 500.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A token identifying a page of results the server should return. This value is received from a previous `ListMediaPlanners` call in ListMediaPlannersResponse.nextPageToken.", +"location": "query", +"type": "string" +} +}, +"path": "v1beta/mediaPlanners", +"response": { +"$ref": "ListMediaPlannersResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/authorized-buyers-marketplace" +] +} +} +} +}, +"revision": "20251211", +"rootUrl": "https://authorizedbuyersmarketplace.googleapis.com/", +"schemas": { +"AccessControlSettings": { +"description": "Settings for controlling access to a curated package.", +"id": "AccessControlSettings", +"properties": { +"allowlistedMediaPlanners": { +"description": "Required. Immutable. The list of media planners that are explicitly granted access to the curated package. Eligible media planners can be found in the mediaPlanners.list method. Only a single media planner may be allowlisted at this time. Format: `mediaPlanners/{mediaPlannerAccountId}`", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ActivateCuratedPackageRequest": { +"description": "Request message for ActivateCuratedPackage.", +"id": "ActivateCuratedPackageRequest", +"properties": {}, +"type": "object" +}, +"ActivateDataSegmentRequest": { +"description": "Request message for activating a data segment", +"id": "ActivateDataSegmentRequest", +"properties": {}, +"type": "object" +}, +"AdSize": { +"description": "Represents size of a single ad slot, or a creative.", +"id": "AdSize", +"properties": { +"height": { +"description": "The height of the ad slot in pixels. This field will be present only when size type is `PIXEL`.", +"format": "int64", +"type": "string" +}, +"type": { +"description": "The type of the ad slot size.", +"enum": [ +"TYPE_UNSPECIFIED", +"PIXEL", +"INTERSTITIAL", +"NATIVE", +"FLUID" +], +"enumDescriptions": [ +"A placeholder for an undefined size type.", +"Ad slot with size specified by height and width in pixels.", +"Special size to describe an interstitial ad slot.", +"Native (mobile) ads rendered by the publisher.", +"Fluid size (responsive size) can be resized automatically with the change of outside environment." +], +"type": "string" +}, +"width": { +"description": "The width of the ad slot in pixels. This field will be present only when size type is `PIXEL`.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"CriteriaTargeting": { +"description": "Generic targeting used for targeting dimensions that contains a list of included and excluded numeric IDs. This cannot be filtered using list filter syntax.", +"id": "CriteriaTargeting", +"properties": { +"excludedCriteriaIds": { +"description": "A list of numeric IDs to be excluded.", +"items": { +"format": "int64", +"type": "string" +}, +"type": "array" +}, +"targetedCriteriaIds": { +"description": "A list of numeric IDs to be included.", +"items": { +"format": "int64", +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"CuratedPackage": { +"description": "Represents a curated package of inventory created and managed by a Curator.", +"id": "CuratedPackage", +"properties": { +"accessSettings": { +"$ref": "AccessControlSettings", +"description": "Required. Settings for controlling access to the curated package. Access to this curated package is limited to the allowlisted media planners and the creator. Buyers and bidders can not be allowlisted for or have direct access to this resource." +}, +"createTime": { +"description": "Output only. The timestamp when the curated package was created. Can be used to filter the response of the curatedPackages.list method.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"description": { +"description": "Optional. A description of the curated package, provided by the curator.", +"type": "string" +}, +"displayName": { +"description": "Required. The display name assigned to the curated package by the curator. Can be used to filter the response of the curatedPackages.list method.", +"type": "string" +}, +"feeCpm": { +"$ref": "Money", +"description": "Optional. The CPM fee charged by the curator to buyers using this curated package. Can be used to filter the response of the curatedPackages.list method." +}, +"floorPriceCpm": { +"$ref": "Money", +"description": "Optional. The minimum CPM a buyer has to bid to participate in auctions for inventory in this curated package. Can be used to filter the response of the curatedPackages.list method." +}, +"name": { +"description": "Identifier. The unique resource name for the curated package. Format: `curators/{accountId}/curatedPackages/{curatedPackageId}`", +"type": "string" +}, +"state": { +"description": "Output only. The state of the curated package. Can be used to filter the response of the curatedPackages.list method.", +"enum": [ +"STATE_UNSPECIFIED", +"ACTIVE", +"INACTIVE" +], +"enumDescriptions": [ +"Default value.", +"The curated package is active.", +"The curated package is inactive." +], +"readOnly": true, +"type": "string" +}, +"targeting": { +"$ref": "PackageTargeting", +"description": "Optional. Targeting criteria for the curated package." +}, +"updateTime": { +"description": "Output only. The timestamp when the curated package was last updated. Can be used to filter the response of the curatedPackages.list method.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"DataSegment": { +"description": "Defines an identifier for a segment of inventory that can be targeted by curators or media planners in the deals or auction packages UI. Curation of inventory is done by curators on external platforms.", +"id": "DataSegment", +"properties": { +"cpmFee": { +"$ref": "Money", +"description": "Optional. A fixed fee charged per thousand impressions. Once set, the currency code cannot be changed." +}, +"createTime": { +"description": "Output only. Time the data segment was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"name": { +"description": "Immutable. Identifier. The unique identifier for the data segment. Account ID corresponds to the account ID that created the segment. v1alpha format: `buyers/{accountId}/dataSegments/{curatorDataSegmentId}` v1beta format: `curators/{curatorAccountId}/dataSegments/{curatorDataSegmentId}`", +"type": "string" +}, +"state": { +"description": "Output only. The state of the data segment.", +"enum": [ +"STATE_UNSPECIFIED", +"ACTIVE", +"INACTIVE" +], +"enumDescriptions": [ +"Default value.", +"The data segment is active.", +"The data segment is inactive." +], +"readOnly": true, +"type": "string" +}, +"updateTime": { +"description": "Output only. Time the data segment was last updated.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"DeactivateCuratedPackageRequest": { +"description": "Request message for DeactivateCuratedPackage.", +"id": "DeactivateCuratedPackageRequest", +"properties": {}, +"type": "object" +}, +"DeactivateDataSegmentRequest": { +"description": "Request message for deactivating a data segment", +"id": "DeactivateDataSegmentRequest", +"properties": {}, +"type": "object" +}, +"ListCuratedPackagesResponse": { +"description": "Response message for ListCuratedPackages.", +"id": "ListCuratedPackagesResponse", +"properties": { +"curatedPackages": { +"description": "The list of curated packages.", +"items": { +"$ref": "CuratedPackage" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A token to retrieve the next page of results. Pass this value in the ListCuratedPackagesRequest.pageToken field in the subsequent call to `ListCuratedPackages` method to retrieve the next page of results. If empty, then there are no more results.", +"type": "string" +} +}, +"type": "object" +}, +"ListDataSegmentsResponse": { +"description": "Response message for listing data segments.", +"id": "ListDataSegmentsResponse", +"properties": { +"dataSegments": { +"description": "The list of data segments.", +"items": { +"$ref": "DataSegment" +}, +"type": "array" +}, +"nextPageToken": { +"description": "Continuation token for fetching the next page of results. Pass this value in the ListDataSegmentsRequest.pageToken field in the subsequent call to the `ListDataSegments` method to retrieve the next page of results.", +"type": "string" +} +}, +"type": "object" +}, +"ListMediaPlannersResponse": { +"description": "A response containing media planner account information.", +"id": "ListMediaPlannersResponse", +"properties": { +"mediaPlanners": { +"description": "List of media planners.", +"items": { +"$ref": "MediaPlanner" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A token which can be passed to a subsequent call to the `ListMediaPlanners` method to retrieve the next page of results in ListMediaPlannersRequest.pageToken.", +"type": "string" +} +}, +"type": "object" +}, +"MediaPlanner": { +"description": "Represents a media planner account.", +"id": "MediaPlanner", +"properties": { +"accountId": { +"deprecated": true, +"description": "Output only. Account ID of the media planner.", +"readOnly": true, +"type": "string" +}, +"ancestorNames": { +"description": "Output only. The ancestor names of the media planner. Format: `mediaPlanners/{mediaPlannerAccountId}` Can be used to filter the response of the mediaPlanners.list method.", +"items": { +"type": "string" +}, +"readOnly": true, +"type": "array" +}, +"displayName": { +"description": "Output only. The display name of the media planner. Can be used to filter the response of the mediaPlanners.list method.", +"readOnly": true, +"type": "string" +}, +"name": { +"description": "Identifier. The unique resource name of the media planner. Format: `mediaPlanners/{mediaPlannerAccountId}` Can be used to filter the response of the mediaPlanners.list method.", +"type": "string" +} +}, +"type": "object" +}, +"Money": { +"description": "Represents an amount of money with its currency type.", +"id": "Money", +"properties": { +"currencyCode": { +"description": "The three-letter currency code defined in ISO 4217.", +"type": "string" +}, +"nanos": { +"description": "Number of nano (10^-9) units of the amount. The value must be between -999,999,999 and +999,999,999 inclusive. If `units` is positive, `nanos` must be positive or zero. If `units` is zero, `nanos` can be positive, zero, or negative. If `units` is negative, `nanos` must be negative or zero. For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000.", +"format": "int32", +"type": "integer" +}, +"units": { +"description": "The whole units of the amount. For example if `currencyCode` is `\"USD\"`, then 1 unit is one US dollar.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"PackagePlacementTargeting": { +"description": "Represents targeting about where the ads can appear, for example, certain sites or mobile applications. Different placement targeting types will be logically OR'ed.", +"id": "PackagePlacementTargeting", +"properties": { +"includedMobileAppCategoryTargeting": { +"description": "Optional. The list of targeted mobile app categories.", +"items": { +"format": "int64", +"type": "string" +}, +"type": "array" +}, +"mobileAppTargeting": { +"$ref": "StringTargetingDimension", +"description": "Optional. The list of targeted or excluded mobile application IDs that publishers own. Currently, only Android and Apple apps are supported. Android App ID, for example, com.google.android.apps.maps, can be found in Google Play Store URL. iOS App ID (which is a number) can be found at the end of iTunes store URL. First party mobile applications is either included or excluded." +}, +"uriTargeting": { +"$ref": "StringTargetingDimension", +"description": "Optional. The list of targeted or excluded URLs. The domains should have the http/https stripped (for example, google.com), and can contain a max of 5 paths per url." +} +}, +"type": "object" +}, +"PackagePublisherProvidedSignalsTargeting": { +"description": "Represents targeting about publisher provided signals. Different publisher provided signals types will be logically OR'ed.", +"id": "PackagePublisherProvidedSignalsTargeting", +"properties": { +"audienceTargeting": { +"$ref": "TaxonomyTargeting", +"description": "Optional. The list of targeted or excluded audience IDs. Based off of IAB Audience Taxonomy version 1.1 (https://github.com/InteractiveAdvertisingBureau/Taxonomies/blob/main/Audience%20Taxonomies/Audience%20Taxonomy%201.1.tsv)" +}, +"contentTargeting": { +"$ref": "TaxonomyTargeting", +"description": "Optional. The list of targeted or excluded content IDs. Based off of IAB Content Taxonomy version 2.2 (https://github.com/InteractiveAdvertisingBureau/Taxonomies/blob/main/Content%20Taxonomies/Content%20Taxonomy%202.2.tsv)" +}, +"videoAndAudioSignalsTargeting": { +"$ref": "StringTargetingDimension", +"description": "Optional. The list of targeted and excluded video and audio signals IDs. These are additional signals supported by publisher provided signals." +} +}, +"type": "object" +}, +"PackageTargeting": { +"description": "Targeting criteria for curated and auction packages.", +"id": "PackageTargeting", +"properties": { +"geoTargeting": { +"$ref": "CriteriaTargeting", +"description": "Optional. The geo criteria IDs to be included or excluded as defined in https://storage.googleapis.com/adx-rtb-dictionaries/geo-table.csv. If unset, inventory will be targeted regardless of geo." +}, +"includedAcceleratedMobilePageType": { +"description": "Optional. The targeted accelerated mobile page type. If unset, inventory will be targeted regardless of AMP status.", +"enum": [ +"ACCELERATED_MOBILE_PAGE_TYPE_UNSPECIFIED", +"ACCELERATED_MOBILE_PAGE_TYPE_NON_AMP", +"ACCELERATED_MOBILE_PAGE_TYPE_AMP", +"ACCELERATED_MOBILE_PAGE_TYPE_AMP_STORY" +], +"enumDescriptions": [ +"Default value. Should not be used in targeting specifications.", +"Targets inventory on standard web pages not using any AMP framework.", +"Targets inventory on pages built using the core AMP HTML framework.", +"Targets inventory on pages using the AMP Story (STAMP) format, which is optimized for visual storytelling (e.g., tappable full-screen experiences)." +], +"type": "string" +}, +"includedAdSizes": { +"description": "Optional. The list of ad sizes to target. If unset, inventory will be targeted regardless of ad size. Curated packages supports `PIXEL` and `INTERSTITIAL` ad sizes.", +"items": { +"$ref": "AdSize" +}, +"type": "array" +}, +"includedAuthorizedSellerStatuses": { +"description": "Optional. The included list of targeted authorized seller statuses. If empty, inventory will be targeted regardless of seller status.", +"items": { +"enum": [ +"AUTHORIZED_SELLER_STATUS_UNSPECIFIED", +"AUTHORIZED_SELLER_STATUS_DIRECT", +"AUTHORIZED_SELLER_STATUS_RESELLER" +], +"enumDescriptions": [ +"Default value. Should not be used in targeting specifications.", +"Targets inventory where the seller is declared as 'DIRECT'. This indicates the publisher (content owner) directly controls the seller account and has a direct business contract with the advertising system for this account.", +"Targets inventory where the seller is declared as 'RESELLER'. This indicates the publisher has authorized another entity to operate the listed seller account and resell their ad space." +], +"type": "string" +}, +"type": "array" +}, +"includedCreativeFormat": { +"description": "Optional. The creative format to target. If unset, all creative markup types are targeted.", +"enum": [ +"CREATIVE_FORMAT_UNSPECIFIED", +"CREATIVE_FORMAT_DISPLAY", +"CREATIVE_FORMAT_VIDEO", +"CREATIVE_FORMAT_AUDIO" +], +"enumDescriptions": [ +"Default value. Should not be used in targeting specifications.", +"Targets ad slots intended for HTML display creatives.", +"Targets ad slots intended for video creatives.", +"Targets ad slots intended for audio creatives." +], +"type": "string" +}, +"includedDataSegments": { +"description": "Optional. The active data segments to be targeted. If unset, inventory will be targeted regardless of data segments. Format: `curators/{account_id}/dataSegments/{data_segment_id}`", +"items": { +"type": "string" +}, +"type": "array" +}, +"includedDeviceTypes": { +"description": "Optional. The list of included device types to target. If empty, all device types are targeted.", +"items": { +"enum": [ +"DEVICE_TYPE_UNSPECIFIED", +"DEVICE_TYPE_PERSONAL_COMPUTER", +"DEVICE_TYPE_CONNECTED_TV", +"DEVICE_TYPE_PHONE", +"DEVICE_TYPE_TABLET" +], +"enumDescriptions": [ +"Default value. Should not be used in targeting specifications.", +"Targets desktop or laptop computers.", +"Targets connected TVs: devices that stream TV content, including smart TVs, gaming consoles, and streaming boxes/sticks.", +"Targets high-end mobile devices.", +"Targets tablet devices." +], +"type": "string" +}, +"type": "array" +}, +"includedEnvironment": { +"description": "Optional. The environment to target. If unspecified, all environments are targeted.", +"enum": [ +"ENVIRONMENT_UNSPECIFIED", +"ENVIRONMENT_SITE", +"ENVIRONMENT_APP" +], +"enumDescriptions": [ +"Default value. Should not be used in targeting specifications.", +"Targets inventory rendered within an ad-supported website.", +"Targets inventory within a mobile application." +], +"type": "string" +}, +"includedNativeInventoryTypes": { +"description": "Optional. The targeted native inventory types. If empty, inventory will be targeted regardless of native inventory type.", +"items": { +"enum": [ +"NATIVE_INVENTORY_TYPE_UNSPECIFIED", +"NATIVE_INVENTORY_TYPE_NATIVE_ONLY", +"NATIVE_INVENTORY_TYPE_NATIVE_OR_BANNER" +], +"enumDescriptions": [ +"Default value. Should not be used in targeting specifications.", +"Targets ad slots that *only* accept and render native ads.", +"Targets ad slots that accept and render either native or banner ads." +], +"type": "string" +}, +"type": "array" +}, +"includedOpenMeasurementTypes": { +"description": "Optional. The list of targeted open measurement types. If empty, inventory will be targeted regardless of Open Measurement support.", +"items": { +"enum": [ +"OPEN_MEASUREMENT_TYPE_UNSPECIFIED", +"OPEN_MEASUREMENT_TYPE_OMID_V1" +], +"enumDescriptions": [ +"Default value. Should not be used in targeting specifications.", +"Targets inventory that supports the v1 Open Measurement Interface Definition (OMID)." +], +"type": "string" +}, +"type": "array" +}, +"includedRestrictedCategories": { +"description": "Optional. The list of targeted restricted categories. If empty, inventory will be targeted regardless of restricted categories.", +"items": { +"enum": [ +"RESTRICTED_CATEGORY_UNSPECIFIED", +"RESTRICTED_CATEGORY_ALCOHOL", +"RESTRICTED_CATEGORY_GAMBLING" +], +"enumDescriptions": [ +"Default value. Should not be used in targeting specifications.", +"Targets inventory where alcohol ads are allowed by the publisher.", +"Targets inventory where gambling ads are allowed by the publisher." +], +"type": "string" +}, +"type": "array" +}, +"includedRewardedType": { +"description": "Optional. The targeted rewarded type. If unset, inventory will be targeted regardless of rewarded type.", +"enum": [ +"REWARDED_TYPE_UNSPECIFIED", +"REWARDED_TYPE_NON_REWARDED", +"REWARDED_TYPE_REWARDED" +], +"enumDescriptions": [ +"Default value. Should not be used in targeting specifications.", +"Targets inventory that does NOT offer an explicit reward to the user for watching or interacting with the ad.", +"Targets inventory that offers a reward to the user in exchange for watching or engaging with the ad." +], +"type": "string" +}, +"languageTargeting": { +"$ref": "StringTargetingDimension", +"description": "Optional. The languages to target. If unset, inventory will be targeted regardless of language. See https://developers.google.com/google-ads/api/data/codes-formats#languages for the list of supported language codes." +}, +"minimumPredictedClickThroughRatePercentageMillis": { +"description": "Optional. The targeted minimum predicted click through rate, ranging in values [10, 10000] (0.01% - 10%). A value of 50 means that the configuration will only match adslots for which we predict at least 0.05% click through rate. An unset value indicates inventory will be targeted regardless of predicted click through rate.", +"format": "int64", +"type": "string" +}, +"minimumPredictedViewabilityPercentage": { +"description": "Optional. The targeted minimum predicted viewability percentage. This value must be a multiple of 10 between 10 and 90 (inclusive). For example, 10 is valid, but 0, 15, and 100 are not. A value of 10 means that the configuration will only match adslots for which we predict at least 10% viewability. An unset value indicates inventory will be targeted regardless of predicted viewability.", +"format": "int64", +"type": "string" +}, +"placementTargeting": { +"$ref": "PackagePlacementTargeting", +"description": "Optional. Placement targeting information, for example, URL, mobile applications." +}, +"publisherProvidedSignalsTargeting": { +"$ref": "PackagePublisherProvidedSignalsTargeting", +"description": "Optional. The publisher provided signals to target. If unset, inventory will be targeted regardless of publisher provided signals." +}, +"publisherTargeting": { +"$ref": "StringTargetingDimension", +"description": "Optional. The targeted publishers. If unset, inventory will be targeted regardless of publisher. Publishers are identified by their publisher ID from ads.txt / app-ads.txt. See https://iabtechlab.com/ads-txt/ and https://iabtechlab.com/app-ads-txt/ for more details." +}, +"verticalTargeting": { +"$ref": "CriteriaTargeting", +"description": "Optional. The verticals included or excluded as defined in https://developers.google.com/authorized-buyers/rtb/downloads/publisher-verticals. If unset, inventory will be targeted regardless of vertical." +}, +"videoTargeting": { +"$ref": "PackageVideoTargeting", +"description": "Optional. Video specific targeting criteria." +} +}, +"type": "object" +}, +"PackageVideoTargeting": { +"description": "Video specific targeting criteria.", +"id": "PackageVideoTargeting", +"properties": { +"includedContentDeliveryMethod": { +"description": "Optional. The targeted video delivery method. If unset, inventory will be targeted regardless of video delivery method.", +"enum": [ +"CONTENT_DELIVERY_METHOD_UNSPECIFIED", +"CONTENT_DELIVERY_METHOD_STREAMING", +"CONTENT_DELIVERY_METHOD_PROGRESSIVE" +], +"enumDescriptions": [ +"Default value. Should not be used in targeting specifications.", +"Targets video content that is being broadcast live.", +"Targets video content that is transferred incrementally as client's playback requires." +], +"type": "string" +}, +"includedMaximumAdDurationTargeting": { +"description": "Optional. The targeted maximum video ad duration. If unset, inventory will be targeted regardless of maximum video ad duration.", +"enum": [ +"MAXIMUM_VIDEO_AD_DURATION_UNSPECIFIED", +"MAXIMUM_VIDEO_AD_DURATION_FIFTEEN_SECONDS", +"MAXIMUM_VIDEO_AD_DURATION_TWENTY_SECONDS", +"MAXIMUM_VIDEO_AD_DURATION_THIRTY_SECONDS", +"MAXIMUM_VIDEO_AD_DURATION_SIXTY_SECONDS", +"MAXIMUM_VIDEO_AD_DURATION_NINETY_SECONDS", +"MAXIMUM_VIDEO_AD_DURATION_ONE_HUNDRED_TWENTY_SECONDS" +], +"enumDescriptions": [ +"Default value. Should not be used in targeting specifications.", +"Applies to video ads with a duration up to 15 seconds (0 < duration <= 15s).", +"Applies to video ads with a duration up to 20 seconds (0 < duration <= 20s).", +"Applies to video ads with a duration up to 30 seconds (0 < duration <= 30s).", +"Applies to video ads with a duration up to 60 seconds (0 < duration <= 60s).", +"Applies to video ads with a duration up to 90 seconds (0 < duration <= 90s).", +"Applies to video ads with a duration up to 120 seconds (0 < duration <= 120s)." +], +"type": "string" +}, +"includedMimeTypes": { +"description": "Optional. The list of targeted video mime types using the IANA published MIME type strings (https://www.iana.org/assignments/media-types/media-types.xhtml). If empty, inventory will be targeted regardless of video mime type.", +"items": { +"enum": [ +"VIDEO_MIME_TYPE_UNSPECIFIED", +"VIDEO_MIME_TYPE_THREEGPP", +"VIDEO_MIME_TYPE_APPLICATION_MPEGURL", +"VIDEO_MIME_TYPE_MP4", +"VIDEO_MIME_TYPE_APPLICATION_MPEGDASH", +"VIDEO_MIME_TYPE_APPLICATION_JAVASCRIPT", +"VIDEO_MIME_TYPE_WEBM" +], +"enumDescriptions": [ +"Default value. Should not be used in targeting specifications.", +"3GPP container format used on 3G phones.", +"HLS/M3U8", +"MPEG-4 container typically with H.264 codec.", +"DASH.", +"JavaScript (used for VPAID ads).", +"WebM container assuming VP9 codec." +], +"type": "string" +}, +"type": "array" +}, +"includedPlaybackMethods": { +"description": "Optional. The list of targeted video playback methods. If empty, inventory will be targeted regardless of video playback method.", +"items": { +"enum": [ +"PLAYBACK_METHOD_UNSPECIFIED", +"PLAYBACK_METHOD_AUTO_PLAY_SOUND_ON", +"PLAYBACK_METHOD_AUTO_PLAY_SOUND_OFF", +"PLAYBACK_METHOD_CLICK_TO_PLAY" +], +"enumDescriptions": [ +"Unspecified video playback method. Should not be used.", +"Playback starts automatically when the page/content loads.", +"Playback starts automatically when the page/content loads, but with sound off.", +"Playback is initiated by a user action (e.g., clicking a play button)." +], +"type": "string" +}, +"type": "array" +}, +"includedPlayerSizeTargeting": { +"$ref": "VideoPlayerSizeTargeting", +"description": "Optional. The targeted video player size. If unset, inventory will be targeted regardless of video player size." +}, +"includedPositionTypes": { +"description": "Optional. The targeted video ad position types. If empty, inventory will be targeted regardless of video ad position type.", +"items": { +"enum": [ +"POSITION_TYPE_UNSPECIFIED", +"POSITION_TYPE_MIDROLL", +"POSITION_TYPE_POSTROLL", +"POSITION_TYPE_PREROLL" +], +"enumDescriptions": [ +"Default value. Should not be used in targeting specifications.", +"The ad is played in the middle of the video content.", +"The ad is played after the video content.", +"The ad is played before the video content." +], +"type": "string" +}, +"type": "array" +}, +"minimumPredictedCompletionRatePercentage": { +"description": "Optional. The targeted minimum predicted completion rate percentage. This value must be a multiple of 10 between 10 and 90 (inclusive). For example, 10 is valid, but 0, 15, and 100 are not. A value of 10 means that the configuration will only match adslots for which we predict at least 10% completion rate. An unset value indicates inventory will be targeted regardless of predicted completion rate.", +"format": "int64", +"type": "string" +}, +"plcmtTargeting": { +"$ref": "VideoPlcmtTargeting", +"description": "Optional. The targeted video plcmt types. If unset, inventory will be targeted regardless of video plcmt type." +} +}, +"type": "object" +}, +"StringTargetingDimension": { +"description": "Generic targeting with string values.", +"id": "StringTargetingDimension", +"properties": { +"selectionType": { +"description": "Required. How the items in this list should be targeted.", +"enum": [ +"SELECTION_TYPE_UNSPECIFIED", +"SELECTION_TYPE_INCLUDE", +"SELECTION_TYPE_EXCLUDE" +], +"enumDescriptions": [ +"Unspecified selection type. Should not be used.", +"The values in the targeting dimension are included.", +"The values in the targeting dimension are excluded." +], +"type": "string" +}, +"values": { +"description": "Required. The values specified.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"TaxonomyTargeting": { +"description": "Defines targeting criteria for handling the IAB audience and content Taxonomy ID space.", +"id": "TaxonomyTargeting", +"properties": { +"excludedTaxonomyIds": { +"description": "Optional. The list of excluded content taxonomy IDs.", +"items": { +"type": "string" +}, +"type": "array" +}, +"targetedTaxonomyIds": { +"description": "Optional. The list of targeted content taxonomy IDs.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"VideoPlayerSizeTargeting": { +"description": "Represents the size of the video player that can be targeted. Both width and height are required to be set to non-zero values.", +"id": "VideoPlayerSizeTargeting", +"properties": { +"minimumHeight": { +"description": "Required. The minimum height of the video player in pixels.", +"format": "int64", +"type": "string" +}, +"minimumWidth": { +"description": "Required. The minimum width of the video player in pixels.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"VideoPlcmtTargeting": { +"description": "Defines targeting criteria based on the video placement type, often corresponding to the IAB OpenRTB 'plcmt' field.", +"id": "VideoPlcmtTargeting", +"properties": { +"selectionType": { +"description": "Required. The selection type for the list of video plcmts.", +"enum": [ +"SELECTION_TYPE_UNSPECIFIED", +"SELECTION_TYPE_INCLUDE", +"SELECTION_TYPE_EXCLUDE" +], +"enumDescriptions": [ +"Unspecified selection type. Should not be used.", +"The values in the targeting dimension are included.", +"The values in the targeting dimension are excluded." +], +"type": "string" +}, +"videoPlcmtTypes": { +"description": "Required. The list of targeted video plcmts types. If empty, inventory will be targeted regardless of video plcmt type.", +"items": { +"enum": [ +"VIDEO_PLCMT_TYPE_UNSPECIFIED", +"INSTREAM", +"ACCOMPANYING_CONTENT", +"INTERSTITIAL", +"NO_CONTENT" +], +"enumDescriptions": [ +"Default value. Should not be used in targeting specifications.", +"Pre-roll, mid-roll, and post-roll ads that are played before, during or after the streaming video content that the consumer has requested. Instream video must be set to \u201csound on\u201d by default at player start, or have explicitly clear user intent to watch the video content. While there may be other content surrounding the player, the video content must be the focus of the user\u2019s visit. It should remain the primary content on the page and the only video player in-view capable of audio when playing. If the player converts to floating/sticky, subsequent ad calls should accurately convey the updated player size.", +"Pre-roll, mid-roll, and post-roll ads that are played before, during, or after streaming video content. The video player loads and plays before, between, or after paragraphs of text or graphical content, and starts playing only when it enters the viewport. Accompanying content should only start playback upon entering the viewport. It may convert to a floating/sticky player as it scrolls off the page.", +"Video ads that are played without video content. During playback, it must be the primary focus of the page and take up the majority of the viewport and cannot be scrolled out of view. This can be in placements like in-app video or slideshows.", +"Video ads that are played without streaming video content. This can be in placements like slideshows, native feeds, in-content or sticky/floating." +], +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +} +}, +"servicePath": "", +"title": "Authorized Buyers Marketplace API", +"version": "v1beta", +"version_module": true +} \ No newline at end of file diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/baremetalsolution.v2.json b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/baremetalsolution.v2.json new file mode 100644 index 0000000000000000000000000000000000000000..fde83de195795aec5af8a713d6d0aa75b5e93376 --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/baremetalsolution.v2.json @@ -0,0 +1,3959 @@ +{ +"auth": { +"oauth2": { +"scopes": { +"https://www.googleapis.com/auth/cloud-platform": { +"description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." +} +} +} +}, +"basePath": "", +"baseUrl": "https://baremetalsolution.googleapis.com/", +"batchPath": "batch", +"description": "Provides ways to manage Bare Metal Solution hardware installed in a regional extension located near a Google Cloud data center.", +"discoveryVersion": "v1", +"documentationLink": "https://cloud.google.com/bare-metal", +"fullyEncodeReservedExpansion": true, +"icons": { +"x16": "http://www.google.com/images/icons/product/search-16.gif", +"x32": "http://www.google.com/images/icons/product/search-32.gif" +}, +"id": "baremetalsolution:v2", +"kind": "discovery#restDescription", +"mtlsRootUrl": "https://baremetalsolution.mtls.googleapis.com/", +"name": "baremetalsolution", +"ownerDomain": "google.com", +"ownerName": "Google", +"parameters": { +"$.xgafv": { +"description": "V1 error format.", +"enum": [ +"1", +"2" +], +"enumDescriptions": [ +"v1 error format", +"v2 error format" +], +"location": "query", +"type": "string" +}, +"access_token": { +"description": "OAuth access token.", +"location": "query", +"type": "string" +}, +"alt": { +"default": "json", +"description": "Data format for response.", +"enum": [ +"json", +"media", +"proto" +], +"enumDescriptions": [ +"Responses with Content-Type of application/json", +"Media download with context-dependent Content-Type", +"Responses with Content-Type of application/x-protobuf" +], +"location": "query", +"type": "string" +}, +"callback": { +"description": "JSONP", +"location": "query", +"type": "string" +}, +"fields": { +"description": "Selector specifying which fields to include in a partial response.", +"location": "query", +"type": "string" +}, +"key": { +"description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", +"location": "query", +"type": "string" +}, +"oauth_token": { +"description": "OAuth 2.0 token for the current user.", +"location": "query", +"type": "string" +}, +"prettyPrint": { +"default": "true", +"description": "Returns response with indentations and line breaks.", +"location": "query", +"type": "boolean" +}, +"quotaUser": { +"description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.", +"location": "query", +"type": "string" +}, +"uploadType": { +"description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", +"location": "query", +"type": "string" +}, +"upload_protocol": { +"description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", +"location": "query", +"type": "string" +} +}, +"protocol": "rest", +"resources": { +"projects": { +"resources": { +"locations": { +"methods": { +"get": { +"description": "Gets information about a location.", +"flatPath": "v2/projects/{projectsId}/locations/{locationsId}", +"httpMethod": "GET", +"id": "baremetalsolution.projects.locations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Resource name for the location.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+name}", +"response": { +"$ref": "Location" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists information about the supported locations for this service. This method can be called in two ways: * **List all public locations:** Use the path `GET /v1/locations`. * **List project-visible locations:** Use the path `GET /v1/projects/{project_id}/locations`. This may include public locations as well as private or other locations specifically visible to the project.", +"flatPath": "v2/projects/{projectsId}/locations", +"httpMethod": "GET", +"id": "baremetalsolution.projects.locations.list", +"parameterOrder": [ +"name" +], +"parameters": { +"extraLocationTypes": { +"description": "Optional. Do not use this field. It is unsupported and is ignored unless explicitly documented otherwise. This is primarily for internal usage.", +"location": "query", +"repeated": true, +"type": "string" +}, +"filter": { +"description": "A filter to narrow down results to a preferred subset. The filtering language accepts strings like `\"displayName=tokyo\"`, and is documented in more detail in [AIP-160](https://google.aip.dev/160).", +"location": "query", +"type": "string" +}, +"name": { +"description": "The resource that owns the locations collection, if applicable.", +"location": "path", +"pattern": "^projects/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The maximum number of results to return. If not set, the service selects a default.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A page token received from the `next_page_token` field in the response. Send that page token to receive the subsequent page.", +"location": "query", +"type": "string" +} +}, +"path": "v2/{+name}/locations", +"response": { +"$ref": "ListLocationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"instances": { +"methods": { +"detachLun": { +"description": "Detach LUN from Instance.", +"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/instances/{instancesId}:detachLun", +"httpMethod": "POST", +"id": "baremetalsolution.projects.locations.instances.detachLun", +"parameterOrder": [ +"instance" +], +"parameters": { +"instance": { +"description": "Required. Name of the instance.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/instances/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+instance}:detachLun", +"request": { +"$ref": "DetachLunRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"disableHyperthreading": { +"description": "Perform disable hyperthreading operation on a single server.", +"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/instances/{instancesId}:disableHyperthreading", +"httpMethod": "POST", +"id": "baremetalsolution.projects.locations.instances.disableHyperthreading", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The `name` field is used to identify the instance. Format: projects/{project}/locations/{location}/instances/{instance}", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/instances/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+name}:disableHyperthreading", +"request": { +"$ref": "DisableHyperthreadingRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"disableInteractiveSerialConsole": { +"description": "Disable the interactive serial console feature on an instance.", +"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/instances/{instancesId}:disableInteractiveSerialConsole", +"httpMethod": "POST", +"id": "baremetalsolution.projects.locations.instances.disableInteractiveSerialConsole", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of the resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/instances/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+name}:disableInteractiveSerialConsole", +"request": { +"$ref": "DisableInteractiveSerialConsoleRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"enableHyperthreading": { +"description": "Perform enable hyperthreading operation on a single server.", +"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/instances/{instancesId}:enableHyperthreading", +"httpMethod": "POST", +"id": "baremetalsolution.projects.locations.instances.enableHyperthreading", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The `name` field is used to identify the instance. Format: projects/{project}/locations/{location}/instances/{instance}", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/instances/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+name}:enableHyperthreading", +"request": { +"$ref": "EnableHyperthreadingRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"enableInteractiveSerialConsole": { +"description": "Enable the interactive serial console feature on an instance.", +"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/instances/{instancesId}:enableInteractiveSerialConsole", +"httpMethod": "POST", +"id": "baremetalsolution.projects.locations.instances.enableInteractiveSerialConsole", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of the resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/instances/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+name}:enableInteractiveSerialConsole", +"request": { +"$ref": "EnableInteractiveSerialConsoleRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Get details about a single server.", +"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/instances/{instancesId}", +"httpMethod": "GET", +"id": "baremetalsolution.projects.locations.instances.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of the resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/instances/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+name}", +"response": { +"$ref": "Instance" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "List servers in a given project and location.", +"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/instances", +"httpMethod": "GET", +"id": "baremetalsolution.projects.locations.instances.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "List filter.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Requested page size. Server may return fewer items than requested. If unspecified, the server will pick an appropriate default.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A token identifying a page of results from the server.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. Parent value for ListInstancesRequest.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+parent}/instances", +"response": { +"$ref": "ListInstancesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"loadAuthInfo": { +"description": "Load auth info for a server.", +"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/instances/{instancesId}:loadAuthInfo", +"httpMethod": "GET", +"id": "baremetalsolution.projects.locations.instances.loadAuthInfo", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of the server.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/instances/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+name}:loadAuthInfo", +"response": { +"$ref": "LoadInstanceAuthInfoResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Update details of a single server.", +"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/instances/{instancesId}", +"httpMethod": "PATCH", +"id": "baremetalsolution.projects.locations.instances.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Immutable. The resource name of this `Instance`. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. Format: `projects/{project}/locations/{location}/instances/{instance}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/instances/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "The list of fields to update. The currently supported fields are: `labels` `hyperthreading_enabled` `os_image` `ssh_keys` `kms_key_version`", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v2/{+name}", +"request": { +"$ref": "Instance" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"reimage": { +"description": "Perform reimage operation on a single server.", +"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/instances/{instancesId}:reimage", +"httpMethod": "POST", +"id": "baremetalsolution.projects.locations.instances.reimage", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The `name` field is used to identify the instance. Format: projects/{project}/locations/{location}/instances/{instance}", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/instances/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+name}:reimage", +"request": { +"$ref": "ReimageInstanceRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"rename": { +"description": "RenameInstance sets a new name for an instance. Use with caution, previous names become immediately invalidated.", +"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/instances/{instancesId}:rename", +"httpMethod": "POST", +"id": "baremetalsolution.projects.locations.instances.rename", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The `name` field is used to identify the instance. Format: projects/{project}/locations/{location}/instances/{instance}", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/instances/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+name}:rename", +"request": { +"$ref": "RenameInstanceRequest" +}, +"response": { +"$ref": "Instance" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"reset": { +"description": "Perform an ungraceful, hard reset on a server. Equivalent to shutting the power off and then turning it back on.", +"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/instances/{instancesId}:reset", +"httpMethod": "POST", +"id": "baremetalsolution.projects.locations.instances.reset", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of the resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/instances/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+name}:reset", +"request": { +"$ref": "ResetInstanceRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"start": { +"description": "Starts a server that was shutdown.", +"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/instances/{instancesId}:start", +"httpMethod": "POST", +"id": "baremetalsolution.projects.locations.instances.start", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of the resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/instances/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+name}:start", +"request": { +"$ref": "StartInstanceRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"stop": { +"description": "Stop a running server.", +"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/instances/{instancesId}:stop", +"httpMethod": "POST", +"id": "baremetalsolution.projects.locations.instances.stop", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of the resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/instances/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+name}:stop", +"request": { +"$ref": "StopInstanceRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"networks": { +"methods": { +"get": { +"description": "Get details of a single network.", +"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/networks/{networksId}", +"httpMethod": "GET", +"id": "baremetalsolution.projects.locations.networks.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of the resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/networks/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+name}", +"response": { +"$ref": "Network" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "List network in a given project and location.", +"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/networks", +"httpMethod": "GET", +"id": "baremetalsolution.projects.locations.networks.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "List filter.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Requested page size. The server might return fewer items than requested. If unspecified, server will pick an appropriate default.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A token identifying a page of results from the server.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. Parent value for ListNetworksRequest.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+parent}/networks", +"response": { +"$ref": "ListNetworksResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"listNetworkUsage": { +"description": "List all Networks (and used IPs for each Network) in the vendor account associated with the specified project.", +"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/networks:listNetworkUsage", +"httpMethod": "GET", +"id": "baremetalsolution.projects.locations.networks.listNetworkUsage", +"parameterOrder": [ +"location" +], +"parameters": { +"location": { +"description": "Required. Parent value (project and location).", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+location}/networks:listNetworkUsage", +"response": { +"$ref": "ListNetworkUsageResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Update details of a single network.", +"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/networks/{networksId}", +"httpMethod": "PATCH", +"id": "baremetalsolution.projects.locations.networks.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Output only. The resource name of this `Network`. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. Format: `projects/{project}/locations/{location}/networks/{network}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/networks/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "The list of fields to update. The only currently supported fields are: `labels`, `reservations`, `vrf.vlan_attachments`", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v2/{+name}", +"request": { +"$ref": "Network" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"rename": { +"description": "RenameNetwork sets a new name for a network. Use with caution, previous names become immediately invalidated.", +"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/networks/{networksId}:rename", +"httpMethod": "POST", +"id": "baremetalsolution.projects.locations.networks.rename", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The `name` field is used to identify the network. Format: projects/{project}/locations/{location}/networks/{network}", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/networks/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+name}:rename", +"request": { +"$ref": "RenameNetworkRequest" +}, +"response": { +"$ref": "Network" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"nfsShares": { +"methods": { +"create": { +"description": "Create an NFS share.", +"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/nfsShares", +"httpMethod": "POST", +"id": "baremetalsolution.projects.locations.nfsShares.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The parent project and location.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+parent}/nfsShares", +"request": { +"$ref": "NfsShare" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Delete an NFS share. The underlying volume is automatically deleted.", +"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/nfsShares/{nfsSharesId}", +"httpMethod": "DELETE", +"id": "baremetalsolution.projects.locations.nfsShares.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the NFS share to delete.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/nfsShares/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Get details of a single NFS share.", +"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/nfsShares/{nfsSharesId}", +"httpMethod": "GET", +"id": "baremetalsolution.projects.locations.nfsShares.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of the resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/nfsShares/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+name}", +"response": { +"$ref": "NfsShare" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "List NFS shares.", +"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/nfsShares", +"httpMethod": "GET", +"id": "baremetalsolution.projects.locations.nfsShares.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "List filter.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Requested page size. The server might return fewer items than requested. If unspecified, server will pick an appropriate default.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A token identifying a page of results from the server.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. Parent value for ListNfsSharesRequest.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+parent}/nfsShares", +"response": { +"$ref": "ListNfsSharesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Update details of a single NFS share.", +"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/nfsShares/{nfsSharesId}", +"httpMethod": "PATCH", +"id": "baremetalsolution.projects.locations.nfsShares.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Immutable. The name of the NFS share.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/nfsShares/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "The list of fields to update. The only currently supported fields are: `labels` `allowed_clients`", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v2/{+name}", +"request": { +"$ref": "NfsShare" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"rename": { +"description": "RenameNfsShare sets a new name for an nfsshare. Use with caution, previous names become immediately invalidated.", +"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/nfsShares/{nfsSharesId}:rename", +"httpMethod": "POST", +"id": "baremetalsolution.projects.locations.nfsShares.rename", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The `name` field is used to identify the nfsshare. Format: projects/{project}/locations/{location}/nfsshares/{nfsshare}", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/nfsShares/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+name}:rename", +"request": { +"$ref": "RenameNfsShareRequest" +}, +"response": { +"$ref": "NfsShare" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"operations": { +"methods": { +"get": { +"description": "Get details about an operation.", +"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}", +"httpMethod": "GET", +"id": "baremetalsolution.projects.locations.operations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/operations/.*$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"osImages": { +"methods": { +"get": { +"description": "Get details of a single OS image.", +"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/osImages/{osImagesId}", +"httpMethod": "GET", +"id": "baremetalsolution.projects.locations.osImages.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of the OS image.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/osImages/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+name}", +"response": { +"$ref": "OSImage" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Retrieves the list of OS images which are currently approved.", +"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/osImages", +"httpMethod": "GET", +"id": "baremetalsolution.projects.locations.osImages.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "Requested page size. The server might return fewer items than requested. If unspecified, server will pick an appropriate default. Notice that page_size field is not supported and won't be respected in the API request for now, will be updated when pagination is supported.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A token identifying a page of results from the server.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. Parent value for ListOSImagesRequest.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+parent}/osImages", +"response": { +"$ref": "ListOSImagesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"provisioningConfigs": { +"methods": { +"create": { +"description": "Create new ProvisioningConfig.", +"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/provisioningConfigs", +"httpMethod": "POST", +"id": "baremetalsolution.projects.locations.provisioningConfigs.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"email": { +"description": "Optional. Email provided to send a confirmation with provisioning config to.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent project and location containing the ProvisioningConfig.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+parent}/provisioningConfigs", +"request": { +"$ref": "ProvisioningConfig" +}, +"response": { +"$ref": "ProvisioningConfig" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Get ProvisioningConfig by name.", +"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/provisioningConfigs/{provisioningConfigsId}", +"httpMethod": "GET", +"id": "baremetalsolution.projects.locations.provisioningConfigs.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of the ProvisioningConfig.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/provisioningConfigs/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+name}", +"response": { +"$ref": "ProvisioningConfig" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Update existing ProvisioningConfig.", +"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/provisioningConfigs/{provisioningConfigsId}", +"httpMethod": "PATCH", +"id": "baremetalsolution.projects.locations.provisioningConfigs.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"email": { +"description": "Optional. Email provided to send a confirmation with provisioning config to.", +"location": "query", +"type": "string" +}, +"name": { +"description": "Output only. The system-generated name of the provisioning config. This follows the UUID format.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/provisioningConfigs/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Required. The list of fields to update.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v2/{+name}", +"request": { +"$ref": "ProvisioningConfig" +}, +"response": { +"$ref": "ProvisioningConfig" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"submit": { +"description": "Submit a provisioning configuration for a given project.", +"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/provisioningConfigs:submit", +"httpMethod": "POST", +"id": "baremetalsolution.projects.locations.provisioningConfigs.submit", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The parent project and location containing the ProvisioningConfig.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+parent}/provisioningConfigs:submit", +"request": { +"$ref": "SubmitProvisioningConfigRequest" +}, +"response": { +"$ref": "SubmitProvisioningConfigResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"provisioningQuotas": { +"methods": { +"list": { +"description": "List the budget details to provision resources on a given project.", +"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/provisioningQuotas", +"httpMethod": "GET", +"id": "baremetalsolution.projects.locations.provisioningQuotas.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "Requested page size. The server might return fewer items than requested. If unspecified, server will pick an appropriate default. Notice that page_size field is not supported and won't be respected in the API request for now, will be updated when pagination is supported.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A token identifying a page of results from the server.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. Parent value for ListProvisioningQuotasRequest.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+parent}/provisioningQuotas", +"response": { +"$ref": "ListProvisioningQuotasResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"sshKeys": { +"methods": { +"create": { +"description": "Register a public SSH key in the specified project for use with the interactive serial console feature.", +"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/sshKeys", +"httpMethod": "POST", +"id": "baremetalsolution.projects.locations.sshKeys.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The parent containing the SSH keys.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +}, +"sshKeyId": { +"description": "Required. The ID to use for the key, which will become the final component of the key's resource name. This value must match the regex: [a-zA-Z0-9@.\\-_]{1,64}", +"location": "query", +"type": "string" +} +}, +"path": "v2/{+parent}/sshKeys", +"request": { +"$ref": "SSHKey" +}, +"response": { +"$ref": "SSHKey" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a public SSH key registered in the specified project.", +"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/sshKeys/{sshKeysId}", +"httpMethod": "DELETE", +"id": "baremetalsolution.projects.locations.sshKeys.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the SSH key to delete. Currently, the only valid value for the location is \"global\".", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/sshKeys/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+name}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists the public SSH keys registered for the specified project. These SSH keys are used only for the interactive serial console feature.", +"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/sshKeys", +"httpMethod": "GET", +"id": "baremetalsolution.projects.locations.sshKeys.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "The maximum number of items to return.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The next_page_token value returned from a previous List request, if any.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent containing the SSH keys. Currently, the only valid value for the location is \"global\".", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+parent}/sshKeys", +"response": { +"$ref": "ListSSHKeysResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"volumes": { +"methods": { +"evict": { +"description": "Skips volume's cooloff and deletes it now. Volume must be in cooloff state.", +"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/volumes/{volumesId}:evict", +"httpMethod": "POST", +"id": "baremetalsolution.projects.locations.volumes.evict", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the Volume.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/volumes/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+name}:evict", +"request": { +"$ref": "EvictVolumeRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Get details of a single storage volume.", +"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/volumes/{volumesId}", +"httpMethod": "GET", +"id": "baremetalsolution.projects.locations.volumes.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of the resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/volumes/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+name}", +"response": { +"$ref": "Volume" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "List storage volumes in a given project and location.", +"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/volumes", +"httpMethod": "GET", +"id": "baremetalsolution.projects.locations.volumes.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "List filter.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Requested page size. The server might return fewer items than requested. If unspecified, server will pick an appropriate default.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A token identifying a page of results from the server.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. Parent value for ListVolumesRequest.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+parent}/volumes", +"response": { +"$ref": "ListVolumesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Update details of a single storage volume.", +"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/volumes/{volumesId}", +"httpMethod": "PATCH", +"id": "baremetalsolution.projects.locations.volumes.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Output only. The resource name of this `Volume`. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. Format: `projects/{project}/locations/{location}/volumes/{volume}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/volumes/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "The list of fields to update. The only currently supported fields are: 'labels'", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v2/{+name}", +"request": { +"$ref": "Volume" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"rename": { +"description": "RenameVolume sets a new name for a volume. Use with caution, previous names become immediately invalidated.", +"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/volumes/{volumesId}:rename", +"httpMethod": "POST", +"id": "baremetalsolution.projects.locations.volumes.rename", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The `name` field is used to identify the volume. Format: projects/{project}/locations/{location}/volumes/{volume}", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/volumes/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+name}:rename", +"request": { +"$ref": "RenameVolumeRequest" +}, +"response": { +"$ref": "Volume" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"resize": { +"description": "Emergency Volume resize.", +"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/volumes/{volumesId}:resize", +"httpMethod": "POST", +"id": "baremetalsolution.projects.locations.volumes.resize", +"parameterOrder": [ +"volume" +], +"parameters": { +"volume": { +"description": "Required. Volume to resize.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/volumes/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+volume}:resize", +"request": { +"$ref": "ResizeVolumeRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"luns": { +"methods": { +"evict": { +"description": "Skips lun's cooloff and deletes it now. Lun must be in cooloff state.", +"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/volumes/{volumesId}/luns/{lunsId}:evict", +"httpMethod": "POST", +"id": "baremetalsolution.projects.locations.volumes.luns.evict", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the lun.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/volumes/[^/]+/luns/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+name}:evict", +"request": { +"$ref": "EvictLunRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Get details of a single storage logical unit number(LUN).", +"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/volumes/{volumesId}/luns/{lunsId}", +"httpMethod": "GET", +"id": "baremetalsolution.projects.locations.volumes.luns.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of the resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/volumes/[^/]+/luns/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+name}", +"response": { +"$ref": "Lun" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "List storage volume luns for given storage volume.", +"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/volumes/{volumesId}/luns", +"httpMethod": "GET", +"id": "baremetalsolution.projects.locations.volumes.luns.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "Requested page size. The server might return fewer items than requested. If unspecified, server will pick an appropriate default.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A token identifying a page of results from the server.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. Parent value for ListLunsRequest.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/volumes/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+parent}/luns", +"response": { +"$ref": "ListLunsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"snapshots": { +"methods": { +"create": { +"description": "Takes a snapshot of a boot volume. Returns INVALID_ARGUMENT if called for a non-boot volume.", +"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/volumes/{volumesId}/snapshots", +"httpMethod": "POST", +"id": "baremetalsolution.projects.locations.volumes.snapshots.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The volume to snapshot.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/volumes/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+parent}/snapshots", +"request": { +"$ref": "VolumeSnapshot" +}, +"response": { +"$ref": "VolumeSnapshot" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a volume snapshot. Returns INVALID_ARGUMENT if called for a non-boot volume.", +"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/volumes/{volumesId}/snapshots/{snapshotsId}", +"httpMethod": "DELETE", +"id": "baremetalsolution.projects.locations.volumes.snapshots.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the snapshot to delete.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/volumes/[^/]+/snapshots/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+name}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Returns the specified snapshot resource. Returns INVALID_ARGUMENT if called for a non-boot volume.", +"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/volumes/{volumesId}/snapshots/{snapshotsId}", +"httpMethod": "GET", +"id": "baremetalsolution.projects.locations.volumes.snapshots.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the snapshot.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/volumes/[^/]+/snapshots/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+name}", +"response": { +"$ref": "VolumeSnapshot" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Retrieves the list of snapshots for the specified volume. Returns a response with an empty list of snapshots if called for a non-boot volume.", +"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/volumes/{volumesId}/snapshots", +"httpMethod": "GET", +"id": "baremetalsolution.projects.locations.volumes.snapshots.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "Requested page size. The server might return fewer items than requested. If unspecified, server will pick an appropriate default.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A token identifying a page of results from the server.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. Parent value for ListVolumesRequest.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/volumes/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+parent}/snapshots", +"response": { +"$ref": "ListVolumeSnapshotsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"restoreVolumeSnapshot": { +"description": "Uses the specified snapshot to restore its parent volume. Returns INVALID_ARGUMENT if called for a non-boot volume.", +"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/volumes/{volumesId}/snapshots/{snapshotsId}:restoreVolumeSnapshot", +"httpMethod": "POST", +"id": "baremetalsolution.projects.locations.volumes.snapshots.restoreVolumeSnapshot", +"parameterOrder": [ +"volumeSnapshot" +], +"parameters": { +"volumeSnapshot": { +"description": "Required. Name of the snapshot which will be used to restore its parent volume.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/volumes/[^/]+/snapshots/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+volumeSnapshot}:restoreVolumeSnapshot", +"request": { +"$ref": "RestoreVolumeSnapshotRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +} +} +} +} +} +}, +"revision": "20260128", +"rootUrl": "https://baremetalsolution.googleapis.com/", +"schemas": { +"AllowedClient": { +"description": "Represents an 'access point' for the share.", +"id": "AllowedClient", +"properties": { +"allowDev": { +"description": "Allow dev flag. Which controls whether to allow creation of devices.", +"type": "boolean" +}, +"allowSuid": { +"description": "Allow the setuid flag.", +"type": "boolean" +}, +"allowedClientsCidr": { +"description": "The subnet of IP addresses permitted to access the share.", +"type": "string" +}, +"mountPermissions": { +"description": "Mount permissions.", +"enum": [ +"MOUNT_PERMISSIONS_UNSPECIFIED", +"READ", +"READ_WRITE" +], +"enumDescriptions": [ +"Permissions were not specified.", +"NFS share can be mount with read-only permissions.", +"NFS share can be mount with read-write permissions." +], +"type": "string" +}, +"network": { +"description": "The network the access point sits on.", +"type": "string" +}, +"nfsPath": { +"description": "Output only. The path to access NFS, in format shareIP:/InstanceID InstanceID is the generated ID instead of customer provided name. example like \"10.0.0.0:/g123456789-nfs001\"", +"readOnly": true, +"type": "string" +}, +"noRootSquash": { +"description": "Disable root squashing, which is a feature of NFS. Root squash is a special mapping of the remote superuser (root) identity when using identity authentication.", +"type": "boolean" +}, +"shareIp": { +"description": "Output only. The IP address of the share on this network. Assigned automatically during provisioning based on the network's services_cidr.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"DetachLunRequest": { +"description": "Message for detach specific LUN from an Instance.", +"id": "DetachLunRequest", +"properties": { +"lun": { +"description": "Required. Name of the Lun to detach.", +"type": "string" +}, +"skipReboot": { +"description": "If true, performs lun unmapping without instance reboot.", +"type": "boolean" +} +}, +"type": "object" +}, +"DisableHyperthreadingRequest": { +"description": "Message requesting to perform disable hyperthreading operation on a server.", +"id": "DisableHyperthreadingRequest", +"properties": {}, +"type": "object" +}, +"DisableInteractiveSerialConsoleRequest": { +"description": "Message for disabling the interactive serial console on an instance.", +"id": "DisableInteractiveSerialConsoleRequest", +"properties": {}, +"type": "object" +}, +"DisableInteractiveSerialConsoleResponse": { +"description": "Message for response of DisableInteractiveSerialConsole.", +"id": "DisableInteractiveSerialConsoleResponse", +"properties": {}, +"type": "object" +}, +"Empty": { +"description": "A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }", +"id": "Empty", +"properties": {}, +"type": "object" +}, +"EnableHyperthreadingRequest": { +"description": "Message requesting to perform enable hyperthreading operation on a server.", +"id": "EnableHyperthreadingRequest", +"properties": {}, +"type": "object" +}, +"EnableInteractiveSerialConsoleRequest": { +"description": "Message for enabling the interactive serial console on an instance.", +"id": "EnableInteractiveSerialConsoleRequest", +"properties": {}, +"type": "object" +}, +"EnableInteractiveSerialConsoleResponse": { +"description": "Message for response of EnableInteractiveSerialConsole.", +"id": "EnableInteractiveSerialConsoleResponse", +"properties": {}, +"type": "object" +}, +"EvictLunRequest": { +"description": "Request for skip lun cooloff and delete it.", +"id": "EvictLunRequest", +"properties": {}, +"type": "object" +}, +"EvictVolumeRequest": { +"description": "Request for skip volume cooloff and delete it.", +"id": "EvictVolumeRequest", +"properties": {}, +"type": "object" +}, +"GoogleCloudBaremetalsolutionV2LogicalInterface": { +"description": "Each logical interface represents a logical abstraction of the underlying physical interface (for eg. bond, nic) of the instance. Each logical interface can effectively map to multiple network-IP pairs and still be mapped to one underlying physical interface.", +"id": "GoogleCloudBaremetalsolutionV2LogicalInterface", +"properties": { +"interfaceIndex": { +"deprecated": true, +"description": "The index of the logical interface mapping to the index of the hardware bond or nic on the chosen network template. This field is deprecated.", +"format": "int32", +"type": "integer" +}, +"logicalNetworkInterfaces": { +"description": "List of logical network interfaces within a logical interface.", +"items": { +"$ref": "LogicalNetworkInterface" +}, +"type": "array" +}, +"name": { +"description": "Interface name. This is of syntax or and forms part of the network template name.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudBaremetalsolutionV2ServerNetworkTemplateLogicalInterface": { +"description": "Logical interface.", +"id": "GoogleCloudBaremetalsolutionV2ServerNetworkTemplateLogicalInterface", +"properties": { +"name": { +"description": "Interface name. This is not a globally unique identifier. Name is unique only inside the ServerNetworkTemplate. This is of syntax or and forms part of the network template name.", +"type": "string" +}, +"required": { +"description": "If true, interface must have network connected.", +"type": "boolean" +}, +"type": { +"description": "Interface type.", +"enum": [ +"INTERFACE_TYPE_UNSPECIFIED", +"BOND", +"NIC" +], +"enumDescriptions": [ +"Unspecified value.", +"Bond interface type.", +"NIC interface type." +], +"type": "string" +} +}, +"type": "object" +}, +"Instance": { +"description": "A server.", +"id": "Instance", +"properties": { +"createTime": { +"description": "Output only. Create a time stamp.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"firmwareVersion": { +"description": "Output only. The firmware version for the instance.", +"readOnly": true, +"type": "string" +}, +"hyperthreadingEnabled": { +"description": "True if you enable hyperthreading for the server, otherwise false. The default value is false.", +"type": "boolean" +}, +"id": { +"description": "Output only. An identifier for the `Instance`, generated by the backend.", +"readOnly": true, +"type": "string" +}, +"interactiveSerialConsoleEnabled": { +"description": "Output only. True if the interactive serial console feature is enabled for the instance, false otherwise. The default value is false.", +"readOnly": true, +"type": "boolean" +}, +"kmsKeyVersion": { +"description": "Optional. Name of the KMS crypto key version used to encrypt the initial passwords. The key has to have ASYMMETRIC_DECRYPT purpose. Format is `projects/{project}/locations/{location}/keyRings/{keyring}/cryptoKeys/{key}/cryptoKeyVersions/{version}`.", +"type": "string" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Labels as key value pairs.", +"type": "object" +}, +"logicalInterfaces": { +"description": "List of logical interfaces for the instance. The number of logical interfaces will be the same as number of hardware bond/nic on the chosen network template. For the non-multivlan configurations (for eg, existing servers) that use existing default network template (bondaa-bondaa), both the Instance.networks field and the Instance.logical_interfaces fields will be filled to ensure backward compatibility. For the others, only Instance.logical_interfaces will be filled.", +"items": { +"$ref": "GoogleCloudBaremetalsolutionV2LogicalInterface" +}, +"type": "array" +}, +"loginInfo": { +"description": "Output only. Text field about info for logging in.", +"readOnly": true, +"type": "string" +}, +"luns": { +"description": "Immutable. List of LUNs associated with this server.", +"items": { +"$ref": "Lun" +}, +"type": "array" +}, +"machineType": { +"description": "Immutable. The server type. [Available server types](https://cloud.google.com/bare-metal/docs/bms-planning#server_configurations)", +"type": "string" +}, +"name": { +"description": "Immutable. The resource name of this `Instance`. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. Format: `projects/{project}/locations/{location}/instances/{instance}`", +"type": "string" +}, +"networkTemplate": { +"description": "Instance network template name. For eg, bondaa-bondaa, bondab-nic, etc. Generally, the template name follows the syntax of \"bond\" or \"nic\".", +"type": "string" +}, +"networks": { +"description": "Output only. List of networks associated with this server.", +"items": { +"$ref": "Network" +}, +"readOnly": true, +"type": "array" +}, +"osImage": { +"description": "The OS image currently installed on the server.", +"type": "string" +}, +"pod": { +"description": "Immutable. Pod name. Pod is an independent part of infrastructure. Instance can only be connected to the assets (networks, volumes) allocated in the same pod.", +"type": "string" +}, +"sshKeys": { +"description": "Optional. List of SSH Keys used during instance provisioning.", +"items": { +"type": "string" +}, +"type": "array" +}, +"state": { +"description": "Output only. The state of the server.", +"enum": [ +"STATE_UNSPECIFIED", +"PROVISIONING", +"RUNNING", +"DELETED", +"UPDATING", +"STARTING", +"STOPPING", +"SHUTDOWN" +], +"enumDescriptions": [ +"The server is in an unknown state.", +"The server is being provisioned.", +"The server is running.", +"The server has been deleted.", +"The server is being updated.", +"The server is starting.", +"The server is stopping.", +"The server is shutdown." +], +"readOnly": true, +"type": "string" +}, +"updateTime": { +"description": "Output only. Update a time stamp.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"volumes": { +"description": "Input only. List of Volumes to attach to this Instance on creation. This field won't be populated in Get/List responses.", +"items": { +"$ref": "Volume" +}, +"type": "array" +}, +"workloadProfile": { +"description": "The workload profile for the instance.", +"enum": [ +"WORKLOAD_PROFILE_UNSPECIFIED", +"WORKLOAD_PROFILE_GENERIC", +"WORKLOAD_PROFILE_HANA" +], +"enumDescriptions": [ +"The workload profile is in an unknown state.", +"The workload profile is generic.", +"The workload profile is hana." +], +"type": "string" +} +}, +"type": "object" +}, +"InstanceConfig": { +"description": "Configuration parameters for a new instance.", +"id": "InstanceConfig", +"properties": { +"accountNetworksEnabled": { +"description": "If true networks can be from different projects of the same vendor account.", +"type": "boolean" +}, +"clientNetwork": { +"$ref": "NetworkAddress", +"deprecated": true, +"description": "Client network address. Filled if InstanceConfig.multivlan_config is false." +}, +"hyperthreading": { +"description": "Whether the instance should be provisioned with Hyperthreading enabled.", +"type": "boolean" +}, +"id": { +"deprecated": true, +"description": "A transient unique identifier to identify an instance within an ProvisioningConfig request.", +"type": "string" +}, +"instanceType": { +"description": "Instance type. [Available types](https://cloud.google.com/bare-metal/docs/bms-planning#server_configurations)", +"type": "string" +}, +"kmsKeyVersion": { +"description": "Name of the KMS crypto key version used to encrypt the initial passwords. The key has to have ASYMMETRIC_DECRYPT purpose.", +"type": "string" +}, +"logicalInterfaces": { +"description": "List of logical interfaces for the instance. The number of logical interfaces will be the same as number of hardware bond/nic on the chosen network template. Filled if InstanceConfig.multivlan_config is true.", +"items": { +"$ref": "GoogleCloudBaremetalsolutionV2LogicalInterface" +}, +"type": "array" +}, +"name": { +"description": "The name of the instance config.", +"type": "string" +}, +"networkConfig": { +"description": "The type of network configuration on the instance.", +"enum": [ +"NETWORKCONFIG_UNSPECIFIED", +"SINGLE_VLAN", +"MULTI_VLAN" +], +"enumDescriptions": [ +"The unspecified network configuration.", +"Instance part of single client network and single private network.", +"Instance part of multiple (or single) client networks and private networks." +], +"type": "string" +}, +"networkTemplate": { +"description": "Server network template name. Filled if InstanceConfig.multivlan_config is true.", +"type": "string" +}, +"osImage": { +"description": "OS image to initialize the instance. [Available images](https://cloud.google.com/bare-metal/docs/bms-planning#server_configurations)", +"type": "string" +}, +"privateNetwork": { +"$ref": "NetworkAddress", +"deprecated": true, +"description": "Private network address, if any. Filled if InstanceConfig.multivlan_config is false." +}, +"sshKeyNames": { +"description": "Optional. List of names of ssh keys used to provision the instance.", +"items": { +"type": "string" +}, +"type": "array" +}, +"userNote": { +"description": "User note field, it can be used by customers to add additional information for the BMS Ops team .", +"type": "string" +} +}, +"type": "object" +}, +"InstanceQuota": { +"description": "A resource budget.", +"id": "InstanceQuota", +"properties": { +"availableMachineCount": { +"description": "Number of machines than can be created for the given location and instance_type.", +"format": "int32", +"type": "integer" +}, +"gcpService": { +"description": "The gcp service of the provisioning quota.", +"type": "string" +}, +"instanceType": { +"deprecated": true, +"description": "Instance type. Deprecated: use gcp_service.", +"type": "string" +}, +"location": { +"description": "Location where the quota applies.", +"type": "string" +}, +"name": { +"description": "Output only. The name of the instance quota.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"IntakeVlanAttachment": { +"description": "A GCP vlan attachment.", +"id": "IntakeVlanAttachment", +"properties": { +"id": { +"description": "Identifier of the VLAN attachment.", +"type": "string" +}, +"pairingKey": { +"description": "Attachment pairing key.", +"type": "string" +} +}, +"type": "object" +}, +"ListInstancesResponse": { +"description": "Response message for the list of servers.", +"id": "ListInstancesResponse", +"properties": { +"instances": { +"description": "The list of servers.", +"items": { +"$ref": "Instance" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A token identifying a page of results from the server.", +"type": "string" +}, +"unreachable": { +"description": "Locations that could not be reached.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListLocationsResponse": { +"description": "The response message for Locations.ListLocations.", +"id": "ListLocationsResponse", +"properties": { +"locations": { +"description": "A list of locations that matches the specified filter in the request.", +"items": { +"$ref": "Location" +}, +"type": "array" +}, +"nextPageToken": { +"description": "The standard List next-page token.", +"type": "string" +} +}, +"type": "object" +}, +"ListLunsResponse": { +"description": "Response message containing the list of storage volume luns.", +"id": "ListLunsResponse", +"properties": { +"luns": { +"description": "The list of luns.", +"items": { +"$ref": "Lun" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A token identifying a page of results from the server.", +"type": "string" +}, +"unreachable": { +"description": "Locations that could not be reached.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListNetworkUsageResponse": { +"description": "Response with Networks with IPs", +"id": "ListNetworkUsageResponse", +"properties": { +"networks": { +"description": "Networks with IPs.", +"items": { +"$ref": "NetworkUsage" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListNetworksResponse": { +"description": "Response message containing the list of networks.", +"id": "ListNetworksResponse", +"properties": { +"networks": { +"description": "The list of networks.", +"items": { +"$ref": "Network" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A token identifying a page of results from the server.", +"type": "string" +}, +"unreachable": { +"description": "Locations that could not be reached.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListNfsSharesResponse": { +"description": "Response message containing the list of NFS shares.", +"id": "ListNfsSharesResponse", +"properties": { +"nextPageToken": { +"description": "A token identifying a page of results from the server.", +"type": "string" +}, +"nfsShares": { +"description": "The list of NFS shares.", +"items": { +"$ref": "NfsShare" +}, +"type": "array" +}, +"unreachable": { +"description": "Locations that could not be reached.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListOSImagesResponse": { +"description": "Request for getting all available OS images.", +"id": "ListOSImagesResponse", +"properties": { +"nextPageToken": { +"description": "Token to retrieve the next page of results, or empty if there are no more results in the list.", +"type": "string" +}, +"osImages": { +"description": "The OS images available.", +"items": { +"$ref": "OSImage" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListProvisioningQuotasResponse": { +"description": "Response message for the list of provisioning quotas.", +"id": "ListProvisioningQuotasResponse", +"properties": { +"nextPageToken": { +"description": "Token to retrieve the next page of results, or empty if there are no more results in the list.", +"type": "string" +}, +"provisioningQuotas": { +"description": "The provisioning quotas registered in this project.", +"items": { +"$ref": "ProvisioningQuota" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListSSHKeysResponse": { +"description": "Message for response of ListSSHKeys.", +"id": "ListSSHKeysResponse", +"properties": { +"nextPageToken": { +"description": "Token to retrieve the next page of results, or empty if there are no more results in the list.", +"type": "string" +}, +"sshKeys": { +"description": "The SSH keys registered in the project.", +"items": { +"$ref": "SSHKey" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListVolumeSnapshotsResponse": { +"description": "Response message containing the list of volume snapshots.", +"id": "ListVolumeSnapshotsResponse", +"properties": { +"nextPageToken": { +"description": "A token identifying a page of results from the server.", +"type": "string" +}, +"unreachable": { +"description": "Locations that could not be reached.", +"items": { +"type": "string" +}, +"type": "array" +}, +"volumeSnapshots": { +"description": "The list of snapshots.", +"items": { +"$ref": "VolumeSnapshot" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListVolumesResponse": { +"description": "Response message containing the list of storage volumes.", +"id": "ListVolumesResponse", +"properties": { +"nextPageToken": { +"description": "A token identifying a page of results from the server.", +"type": "string" +}, +"unreachable": { +"description": "Locations that could not be reached.", +"items": { +"type": "string" +}, +"type": "array" +}, +"volumes": { +"description": "The list of storage volumes.", +"items": { +"$ref": "Volume" +}, +"type": "array" +} +}, +"type": "object" +}, +"LoadInstanceAuthInfoResponse": { +"description": "Response for LoadInstanceAuthInfo.", +"id": "LoadInstanceAuthInfoResponse", +"properties": { +"sshKeys": { +"description": "List of ssh keys.", +"items": { +"$ref": "SSHKey" +}, +"type": "array" +}, +"userAccounts": { +"additionalProperties": { +"$ref": "UserAccount" +}, +"description": "Map of username to the user account info.", +"type": "object" +} +}, +"type": "object" +}, +"Location": { +"description": "A resource that represents a Google Cloud location.", +"id": "Location", +"properties": { +"displayName": { +"description": "The friendly name for this location, typically a nearby city name. For example, \"Tokyo\".", +"type": "string" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Cross-service attributes for the location. For example {\"cloud.googleapis.com/region\": \"us-east1\"}", +"type": "object" +}, +"locationId": { +"description": "The canonical id for this location. For example: `\"us-east1\"`.", +"type": "string" +}, +"metadata": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "Service-specific metadata. For example the available capacity at the given location.", +"type": "object" +}, +"name": { +"description": "Resource name for the location, which may vary between implementations. For example: `\"projects/example-project/locations/us-east1\"`", +"type": "string" +} +}, +"type": "object" +}, +"LogicalNetworkInterface": { +"description": "Each logical network interface is effectively a network and IP pair.", +"id": "LogicalNetworkInterface", +"properties": { +"defaultGateway": { +"description": "Whether this interface is the default gateway for the instance. Only one interface can be the default gateway for the instance.", +"type": "boolean" +}, +"id": { +"description": "An identifier for the `Network`, generated by the backend.", +"type": "string" +}, +"ipAddress": { +"description": "IP address in the network", +"type": "string" +}, +"network": { +"description": "Name of the network", +"type": "string" +}, +"networkType": { +"description": "Type of network.", +"enum": [ +"TYPE_UNSPECIFIED", +"CLIENT", +"PRIVATE" +], +"enumDescriptions": [ +"Unspecified value.", +"Client network, a network peered to a Google Cloud VPC.", +"Private network, a network local to the Bare Metal Solution environment." +], +"type": "string" +} +}, +"type": "object" +}, +"Lun": { +"description": "A storage volume logical unit number (LUN).", +"id": "Lun", +"properties": { +"bootLun": { +"description": "Display if this LUN is a boot LUN.", +"type": "boolean" +}, +"expireTime": { +"description": "Output only. Time after which LUN will be fully deleted. It is filled only for LUNs in COOL_OFF state.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"id": { +"description": "An identifier for the LUN, generated by the backend.", +"type": "string" +}, +"instances": { +"description": "Output only. Instances this Lun is attached to.", +"items": { +"type": "string" +}, +"readOnly": true, +"type": "array" +}, +"multiprotocolType": { +"description": "The LUN multiprotocol type ensures the characteristics of the LUN are optimized for each operating system.", +"enum": [ +"MULTIPROTOCOL_TYPE_UNSPECIFIED", +"LINUX" +], +"enumDescriptions": [ +"Server has no OS specified.", +"Server with Linux OS." +], +"type": "string" +}, +"name": { +"description": "Output only. The name of the LUN.", +"readOnly": true, +"type": "string" +}, +"shareable": { +"description": "Display if this LUN can be shared between multiple physical servers.", +"type": "boolean" +}, +"sizeGb": { +"description": "The size of this LUN, in GiB.", +"format": "int64", +"type": "string" +}, +"state": { +"description": "The state of this storage volume.", +"enum": [ +"STATE_UNSPECIFIED", +"CREATING", +"UPDATING", +"READY", +"DELETING", +"COOL_OFF" +], +"enumDescriptions": [ +"The LUN is in an unknown state.", +"The LUN is being created.", +"The LUN is being updated.", +"The LUN is ready for use.", +"The LUN has been requested to be deleted.", +"The LUN is in cool off state. It will be deleted after `expire_time`." +], +"type": "string" +}, +"storageType": { +"description": "The storage type for this LUN.", +"enum": [ +"STORAGE_TYPE_UNSPECIFIED", +"SSD", +"HDD" +], +"enumDescriptions": [ +"The storage type for this LUN is unknown.", +"This storage type for this LUN is SSD.", +"This storage type for this LUN is HDD." +], +"type": "string" +}, +"storageVolume": { +"description": "Display the storage volume for this LUN.", +"type": "string" +}, +"wwid": { +"description": "The WWID for this LUN.", +"type": "string" +} +}, +"type": "object" +}, +"LunRange": { +"description": "A LUN(Logical Unit Number) range.", +"id": "LunRange", +"properties": { +"quantity": { +"description": "Number of LUNs to create.", +"format": "int32", +"type": "integer" +}, +"sizeGb": { +"description": "The requested size of each LUN, in GB.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"Network": { +"description": "A Network.", +"id": "Network", +"properties": { +"cidr": { +"description": "The cidr of the Network.", +"type": "string" +}, +"gatewayIp": { +"description": "Output only. Gateway ip address.", +"readOnly": true, +"type": "string" +}, +"id": { +"description": "An identifier for the `Network`, generated by the backend.", +"type": "string" +}, +"ipAddress": { +"description": "IP address configured.", +"type": "string" +}, +"jumboFramesEnabled": { +"description": "Whether network uses standard frames or jumbo ones.", +"type": "boolean" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Labels as key value pairs.", +"type": "object" +}, +"macAddress": { +"description": "List of physical interfaces.", +"items": { +"type": "string" +}, +"type": "array" +}, +"mountPoints": { +"description": "Input only. List of mount points to attach the network to.", +"items": { +"$ref": "NetworkMountPoint" +}, +"type": "array" +}, +"name": { +"description": "Output only. The resource name of this `Network`. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. Format: `projects/{project}/locations/{location}/networks/{network}`", +"readOnly": true, +"type": "string" +}, +"pod": { +"description": "Immutable. Pod name. Pod is an independent part of infrastructure. Network can only be connected to the assets (instances, nfsshares) allocated in the same pod.", +"type": "string" +}, +"reservations": { +"description": "List of IP address reservations in this network. When updating this field, an error will be generated if a reservation conflicts with an IP address already allocated to a physical server.", +"items": { +"$ref": "NetworkAddressReservation" +}, +"type": "array" +}, +"servicesCidr": { +"description": "IP range for reserved for services (e.g. NFS).", +"type": "string" +}, +"state": { +"description": "The Network state.", +"enum": [ +"STATE_UNSPECIFIED", +"PROVISIONING", +"PROVISIONED", +"DEPROVISIONING", +"UPDATING" +], +"enumDescriptions": [ +"The Network is in an unknown state.", +"The Network is provisioning.", +"The Network has been provisioned.", +"The Network is being deprovisioned.", +"The Network is being updated." +], +"type": "string" +}, +"type": { +"description": "The type of this network.", +"enum": [ +"TYPE_UNSPECIFIED", +"CLIENT", +"PRIVATE" +], +"enumDescriptions": [ +"Unspecified value.", +"Client network, a network peered to a Google Cloud VPC.", +"Private network, a network local to the Bare Metal Solution environment." +], +"type": "string" +}, +"vlanId": { +"description": "The vlan id of the Network.", +"type": "string" +}, +"vrf": { +"$ref": "VRF", +"description": "The Vrf for the Network. Use this only if a new Vrf needs to be created." +}, +"vrfAttachment": { +"description": "Optional. The name of a pre-existing Vrf that the network should be attached to. Format is `vrfs/{vrf}`.", +"type": "string" +} +}, +"type": "object" +}, +"NetworkAddress": { +"description": "A network.", +"id": "NetworkAddress", +"properties": { +"address": { +"description": "IPv4 address to be assigned to the server.", +"type": "string" +}, +"existingNetworkId": { +"description": "Name of the existing network to use.", +"type": "string" +}, +"networkId": { +"description": "Id of the network to use, within the same ProvisioningConfig request.", +"type": "string" +} +}, +"type": "object" +}, +"NetworkAddressReservation": { +"description": "A reservation of one or more addresses in a network.", +"id": "NetworkAddressReservation", +"properties": { +"endAddress": { +"description": "The last address of this reservation block, inclusive. I.e., for cases when reservations are only single addresses, end_address and start_address will be the same. Must be specified as a single IPv4 address, e.g. 10.1.2.2.", +"type": "string" +}, +"note": { +"description": "A note about this reservation, intended for human consumption.", +"type": "string" +}, +"startAddress": { +"description": "The first address of this reservation block. Must be specified as a single IPv4 address, e.g. 10.1.2.2.", +"type": "string" +} +}, +"type": "object" +}, +"NetworkConfig": { +"description": "Configuration parameters for a new network.", +"id": "NetworkConfig", +"properties": { +"bandwidth": { +"description": "Interconnect bandwidth. Set only when type is CLIENT.", +"enum": [ +"BANDWIDTH_UNSPECIFIED", +"BW_1_GBPS", +"BW_2_GBPS", +"BW_5_GBPS", +"BW_10_GBPS" +], +"enumDescriptions": [ +"Unspecified value.", +"1 Gbps.", +"2 Gbps.", +"5 Gbps.", +"10 Gbps." +], +"type": "string" +}, +"cidr": { +"description": "CIDR range of the network.", +"type": "string" +}, +"gcpService": { +"description": "The GCP service of the network. Available gcp_service are in https://cloud.google.com/bare-metal/docs/bms-planning.", +"type": "string" +}, +"id": { +"description": "A transient unique identifier to identify a volume within an ProvisioningConfig request.", +"type": "string" +}, +"jumboFramesEnabled": { +"description": "The JumboFramesEnabled option for customer to set.", +"type": "boolean" +}, +"name": { +"description": "Output only. The name of the network config.", +"readOnly": true, +"type": "string" +}, +"serviceCidr": { +"description": "Service CIDR, if any.", +"enum": [ +"SERVICE_CIDR_UNSPECIFIED", +"DISABLED", +"HIGH_26", +"HIGH_27", +"HIGH_28" +], +"enumDescriptions": [ +"Unspecified value.", +"Services are disabled for the given network.", +"Use the highest /26 block of the network to host services.", +"Use the highest /27 block of the network to host services.", +"Use the highest /28 block of the network to host services." +], +"type": "string" +}, +"type": { +"description": "The type of this network, either Client or Private.", +"enum": [ +"TYPE_UNSPECIFIED", +"CLIENT", +"PRIVATE" +], +"enumDescriptions": [ +"Unspecified value.", +"Client network, that is a network peered to a GCP VPC.", +"Private network, that is a network local to the BMS POD." +], +"type": "string" +}, +"userNote": { +"description": "User note field, it can be used by customers to add additional information for the BMS Ops team .", +"type": "string" +}, +"vlanAttachments": { +"description": "List of VLAN attachments. As of now there are always 2 attachments, but it is going to change in the future (multi vlan). Use only one of vlan_attachments or vrf", +"items": { +"$ref": "IntakeVlanAttachment" +}, +"type": "array" +}, +"vlanSameProject": { +"description": "Whether the VLAN attachment pair is located in the same project.", +"type": "boolean" +}, +"vrf": { +"description": "Optional. The name of a pre-existing Vrf that the network should be attached to. Format is `vrfs/{vrf}`. If vrf is specified, vlan_attachments must be empty.", +"type": "string" +} +}, +"type": "object" +}, +"NetworkMountPoint": { +"description": "Mount point for a network.", +"id": "NetworkMountPoint", +"properties": { +"defaultGateway": { +"description": "Network should be a default gateway.", +"type": "boolean" +}, +"instance": { +"description": "Instance to attach network to.", +"type": "string" +}, +"ipAddress": { +"description": "Ip address of the server.", +"type": "string" +}, +"logicalInterface": { +"description": "Logical interface to detach from.", +"type": "string" +} +}, +"type": "object" +}, +"NetworkUsage": { +"description": "Network with all used IP addresses.", +"id": "NetworkUsage", +"properties": { +"network": { +"$ref": "Network", +"description": "Network." +}, +"usedIps": { +"description": "All used IP addresses in this network.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"NfsExport": { +"description": "A NFS export entry.", +"id": "NfsExport", +"properties": { +"allowDev": { +"description": "Allow dev flag in NfsShare AllowedClientsRequest.", +"type": "boolean" +}, +"allowSuid": { +"description": "Allow the setuid flag.", +"type": "boolean" +}, +"cidr": { +"description": "A CIDR range.", +"type": "string" +}, +"machineId": { +"description": "Either a single machine, identified by an ID, or a comma-separated list of machine IDs.", +"type": "string" +}, +"networkId": { +"description": "Network to use to publish the export.", +"type": "string" +}, +"noRootSquash": { +"description": "Disable root squashing, which is a feature of NFS. Root squash is a special mapping of the remote superuser (root) identity when using identity authentication.", +"type": "boolean" +}, +"permissions": { +"description": "Export permissions.", +"enum": [ +"PERMISSIONS_UNSPECIFIED", +"READ_ONLY", +"READ_WRITE" +], +"enumDescriptions": [ +"Unspecified value.", +"Read-only permission.", +"Read-write permission." +], +"type": "string" +} +}, +"type": "object" +}, +"NfsShare": { +"description": "An NFS share.", +"id": "NfsShare", +"properties": { +"allowedClients": { +"description": "List of allowed access points.", +"items": { +"$ref": "AllowedClient" +}, +"type": "array" +}, +"id": { +"description": "Output only. An identifier for the NFS share, generated by the backend. This is the same value as nfs_share_id and will replace it in the future.", +"readOnly": true, +"type": "string" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Labels as key value pairs.", +"type": "object" +}, +"name": { +"description": "Immutable. The name of the NFS share.", +"type": "string" +}, +"nfsShareId": { +"description": "Output only. An identifier for the NFS share, generated by the backend. This field will be deprecated in the future, use `id` instead.", +"readOnly": true, +"type": "string" +}, +"pod": { +"description": "Immutable. Pod name. Pod is an independent part of infrastructure. NFSShare can only be connected to the assets (networks, instances) allocated in the same pod.", +"type": "string" +}, +"requestedSizeGib": { +"description": "The requested size, in GiB.", +"format": "int64", +"type": "string" +}, +"state": { +"description": "Output only. The state of the NFS share.", +"enum": [ +"STATE_UNSPECIFIED", +"PROVISIONED", +"CREATING", +"UPDATING", +"DELETING" +], +"enumDescriptions": [ +"The share is in an unknown state.", +"The share has been provisioned.", +"The NFS Share is being created.", +"The NFS Share is being updated.", +"The NFS Share has been requested to be deleted." +], +"readOnly": true, +"type": "string" +}, +"storageType": { +"description": "Immutable. The storage type of the underlying volume.", +"enum": [ +"STORAGE_TYPE_UNSPECIFIED", +"SSD", +"HDD" +], +"enumDescriptions": [ +"The storage type for this volume is unknown.", +"The storage type for this volume is SSD.", +"This storage type for this volume is HDD." +], +"type": "string" +}, +"volume": { +"description": "Output only. The underlying volume of the share. Created automatically during provisioning.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"OSImage": { +"description": "Operation System image.", +"id": "OSImage", +"properties": { +"applicableInstanceTypes": { +"description": "Instance types this image is applicable to. [Available types](https://cloud.google.com/bare-metal/docs/bms-planning#server_configurations)", +"items": { +"type": "string" +}, +"type": "array" +}, +"code": { +"description": "OS Image code.", +"type": "string" +}, +"description": { +"description": "OS Image description.", +"type": "string" +}, +"name": { +"description": "Output only. OS Image's unique name.", +"readOnly": true, +"type": "string" +}, +"supportedNetworkTemplates": { +"description": "Network templates that can be used with this OS Image.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"Operation": { +"description": "This resource represents a long-running operation that is the result of a network API call.", +"id": "Operation", +"properties": { +"done": { +"description": "If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.", +"type": "boolean" +}, +"error": { +"$ref": "Status", +"description": "The error result of the operation in case of failure or cancellation." +}, +"metadata": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.", +"type": "object" +}, +"name": { +"description": "The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.", +"type": "string" +}, +"response": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "The normal, successful response of the operation. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.", +"type": "object" +} +}, +"type": "object" +}, +"ProvisioningConfig": { +"description": "A provisioning configuration.", +"id": "ProvisioningConfig", +"properties": { +"cloudConsoleUri": { +"description": "Output only. URI to Cloud Console UI view of this provisioning config.", +"readOnly": true, +"type": "string" +}, +"customId": { +"description": "Optional. The user-defined identifier of the provisioning config.", +"type": "string" +}, +"email": { +"deprecated": true, +"description": "Email provided to send a confirmation with provisioning config to. Deprecated in favour of email field in request messages.", +"type": "string" +}, +"handoverServiceAccount": { +"description": "A service account to enable customers to access instance credentials upon handover.", +"type": "string" +}, +"instances": { +"description": "Instances to be created.", +"items": { +"$ref": "InstanceConfig" +}, +"type": "array" +}, +"location": { +"description": "Optional. Location name of this ProvisioningConfig. It is optional only for Intake UI transition period.", +"type": "string" +}, +"name": { +"description": "Output only. The system-generated name of the provisioning config. This follows the UUID format.", +"readOnly": true, +"type": "string" +}, +"networks": { +"description": "Networks to be created.", +"items": { +"$ref": "NetworkConfig" +}, +"type": "array" +}, +"pod": { +"description": "Optional. Pod name. Pod is an independent part of infrastructure. Instance can be connected to the assets (networks, volumes, nfsshares) allocated in the same pod only.", +"type": "string" +}, +"state": { +"description": "Output only. State of ProvisioningConfig.", +"enum": [ +"STATE_UNSPECIFIED", +"DRAFT", +"SUBMITTED", +"PROVISIONING", +"PROVISIONED", +"VALIDATED", +"CANCELLED", +"FAILED" +], +"enumDescriptions": [ +"State wasn't specified.", +"ProvisioningConfig is a draft and can be freely modified.", +"ProvisioningConfig was already submitted and cannot be modified.", +"ProvisioningConfig was in the provisioning state. Initially this state comes from the work order table in big query when SNOW is used. Later this field can be set by the work order API.", +"ProvisioningConfig was provisioned, meaning the resources exist.", +"ProvisioningConfig was validated. A validation tool will be run to set this state.", +"ProvisioningConfig was canceled.", +"The request is submitted for provisioning, with error return." +], +"readOnly": true, +"type": "string" +}, +"statusMessage": { +"description": "Optional status messages associated with the FAILED state.", +"type": "string" +}, +"ticketId": { +"description": "A generated ticket id to track provisioning request.", +"type": "string" +}, +"updateTime": { +"description": "Output only. Last update timestamp.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"volumes": { +"description": "Volumes to be created.", +"items": { +"$ref": "VolumeConfig" +}, +"type": "array" +}, +"vpcScEnabled": { +"description": "If true, VPC SC is enabled for the cluster.", +"type": "boolean" +} +}, +"type": "object" +}, +"ProvisioningQuota": { +"description": "A provisioning quota for a given project.", +"id": "ProvisioningQuota", +"properties": { +"assetType": { +"description": "The asset type of this provisioning quota.", +"enum": [ +"ASSET_TYPE_UNSPECIFIED", +"ASSET_TYPE_SERVER", +"ASSET_TYPE_STORAGE", +"ASSET_TYPE_NETWORK" +], +"enumDescriptions": [ +"The unspecified type.", +"The server asset type.", +"The storage asset type.", +"The network asset type." +], +"type": "string" +}, +"availableCount": { +"description": "The available count of the provisioning quota.", +"format": "int32", +"type": "integer" +}, +"gcpService": { +"description": "The gcp service of the provisioning quota.", +"type": "string" +}, +"instanceQuota": { +"$ref": "InstanceQuota", +"description": "Instance quota." +}, +"location": { +"description": "The specific location of the provisioining quota.", +"type": "string" +}, +"name": { +"description": "Output only. The name of the provisioning quota.", +"readOnly": true, +"type": "string" +}, +"networkBandwidth": { +"description": "Network bandwidth, Gbps", +"format": "int64", +"type": "string" +}, +"serverCount": { +"description": "Server count.", +"format": "int64", +"type": "string" +}, +"storageGib": { +"description": "Storage size (GB).", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"QosPolicy": { +"description": "QOS policy parameters.", +"id": "QosPolicy", +"properties": { +"bandwidthGbps": { +"description": "The bandwidth permitted by the QOS policy, in gbps.", +"format": "double", +"type": "number" +} +}, +"type": "object" +}, +"ReimageInstanceRequest": { +"description": "Message requesting to perform reimage operation on a server.", +"id": "ReimageInstanceRequest", +"properties": { +"kmsKeyVersion": { +"description": "Optional. Name of the KMS crypto key version used to encrypt the initial passwords. The key has to have ASYMMETRIC_DECRYPT purpose. Format is `projects/{project}/locations/{location}/keyRings/{keyring}/cryptoKeys/{key}/cryptoKeyVersions/{version}`.", +"type": "string" +}, +"osImage": { +"description": "Required. The OS image code of the image which will be used in the reimage operation.", +"type": "string" +}, +"sshKeys": { +"description": "Optional. List of SSH Keys used during reimaging an instance.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"RenameInstanceRequest": { +"description": "Message requesting rename of a server.", +"id": "RenameInstanceRequest", +"properties": { +"newInstanceId": { +"description": "Required. The new `id` of the instance.", +"type": "string" +} +}, +"type": "object" +}, +"RenameNetworkRequest": { +"description": "Message requesting rename of a server.", +"id": "RenameNetworkRequest", +"properties": { +"newNetworkId": { +"description": "Required. The new `id` of the network.", +"type": "string" +} +}, +"type": "object" +}, +"RenameNfsShareRequest": { +"description": "Message requesting rename of a server.", +"id": "RenameNfsShareRequest", +"properties": { +"newNfsshareId": { +"description": "Required. The new `id` of the nfsshare.", +"type": "string" +} +}, +"type": "object" +}, +"RenameVolumeRequest": { +"description": "Message requesting rename of a server.", +"id": "RenameVolumeRequest", +"properties": { +"newVolumeId": { +"description": "Required. The new `id` of the volume.", +"type": "string" +} +}, +"type": "object" +}, +"ResetInstanceRequest": { +"description": "Message requesting to reset a server.", +"id": "ResetInstanceRequest", +"properties": {}, +"type": "object" +}, +"ResetInstanceResponse": { +"description": "Response message from resetting a server.", +"id": "ResetInstanceResponse", +"properties": {}, +"type": "object" +}, +"ResizeVolumeRequest": { +"description": "Request for emergency resize Volume.", +"id": "ResizeVolumeRequest", +"properties": { +"sizeGib": { +"description": "New Volume size, in GiB.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"RestoreVolumeSnapshotRequest": { +"description": "Message for restoring a volume snapshot.", +"id": "RestoreVolumeSnapshotRequest", +"properties": {}, +"type": "object" +}, +"SSHKey": { +"description": "An SSH key, used for authorizing with the interactive serial console feature.", +"id": "SSHKey", +"properties": { +"name": { +"description": "Output only. The name of this SSH key. Currently, the only valid value for the location is \"global\".", +"readOnly": true, +"type": "string" +}, +"publicKey": { +"description": "The public SSH key. This must be in OpenSSH .authorized_keys format.", +"type": "string" +} +}, +"type": "object" +}, +"ServerNetworkTemplate": { +"description": "Network template.", +"id": "ServerNetworkTemplate", +"properties": { +"applicableInstanceTypes": { +"description": "Instance types this template is applicable to.", +"items": { +"type": "string" +}, +"type": "array" +}, +"logicalInterfaces": { +"description": "Logical interfaces.", +"items": { +"$ref": "GoogleCloudBaremetalsolutionV2ServerNetworkTemplateLogicalInterface" +}, +"type": "array" +}, +"name": { +"description": "Output only. Template's unique name. The full resource name follows the pattern: `projects/{project}/locations/{location}/serverNetworkTemplate/{server_network_template}` Generally, the {server_network_template} follows the syntax of \"bond\" or \"nic\".", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"SnapshotReservationDetail": { +"description": "Details about snapshot space reservation and usage on the storage volume.", +"id": "SnapshotReservationDetail", +"properties": { +"reservedSpaceGib": { +"description": "The space on this storage volume reserved for snapshots, shown in GiB.", +"format": "int64", +"type": "string" +}, +"reservedSpacePercent": { +"description": "Percent of the total Volume size reserved for snapshot copies. Enabling snapshots requires reserving 20% or more of the storage volume space for snapshots. Maximum reserved space for snapshots is 40%. Setting this field will effectively set snapshot_enabled to true.", +"format": "int32", +"type": "integer" +}, +"reservedSpaceRemainingGib": { +"description": "The amount, in GiB, of available space in this storage volume's reserved snapshot space.", +"format": "int64", +"type": "string" +}, +"reservedSpaceUsedPercent": { +"description": "The percent of snapshot space on this storage volume actually being used by the snapshot copies. This value might be higher than 100% if the snapshot copies have overflowed into the data portion of the storage volume.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"StartInstanceRequest": { +"description": "Message requesting to start a server.", +"id": "StartInstanceRequest", +"properties": {}, +"type": "object" +}, +"StartInstanceResponse": { +"description": "Response message from starting a server.", +"id": "StartInstanceResponse", +"properties": {}, +"type": "object" +}, +"Status": { +"description": "The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors).", +"id": "Status", +"properties": { +"code": { +"description": "The status code, which should be an enum value of google.rpc.Code.", +"format": "int32", +"type": "integer" +}, +"details": { +"description": "A list of messages that carry the error details. There is a common set of message types for APIs to use.", +"items": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.", +"type": "string" +} +}, +"type": "object" +}, +"StopInstanceRequest": { +"description": "Message requesting to stop a server.", +"id": "StopInstanceRequest", +"properties": {}, +"type": "object" +}, +"StopInstanceResponse": { +"description": "Response message from stopping a server.", +"id": "StopInstanceResponse", +"properties": {}, +"type": "object" +}, +"SubmitProvisioningConfigRequest": { +"description": "Request for SubmitProvisioningConfig.", +"id": "SubmitProvisioningConfigRequest", +"properties": { +"email": { +"description": "Optional. Email provided to send a confirmation with provisioning config to.", +"type": "string" +}, +"provisioningConfig": { +"$ref": "ProvisioningConfig", +"description": "Required. The ProvisioningConfig to create." +} +}, +"type": "object" +}, +"SubmitProvisioningConfigResponse": { +"description": "Response for SubmitProvisioningConfig.", +"id": "SubmitProvisioningConfigResponse", +"properties": { +"provisioningConfig": { +"$ref": "ProvisioningConfig", +"description": "The submitted provisioning config." +} +}, +"type": "object" +}, +"UserAccount": { +"description": "User account provisioned for the customer.", +"id": "UserAccount", +"properties": { +"encryptedPassword": { +"description": "Encrypted initial password value.", +"type": "string" +}, +"kmsKeyVersion": { +"description": "KMS CryptoKey Version used to encrypt the password.", +"type": "string" +} +}, +"type": "object" +}, +"VRF": { +"description": "A network VRF.", +"id": "VRF", +"properties": { +"name": { +"description": "The name of the VRF.", +"type": "string" +}, +"qosPolicy": { +"$ref": "QosPolicy", +"description": "The QOS policy applied to this VRF. The value is only meaningful when all the vlan attachments have the same QoS. This field should not be used for new integrations, use vlan attachment level qos instead. The field is left for backward-compatibility." +}, +"state": { +"description": "The possible state of VRF.", +"enum": [ +"STATE_UNSPECIFIED", +"PROVISIONING", +"PROVISIONED" +], +"enumDescriptions": [ +"The unspecified state.", +"The vrf is provisioning.", +"The vrf is provisioned." +], +"type": "string" +}, +"vlanAttachments": { +"description": "The list of VLAN attachments for the VRF.", +"items": { +"$ref": "VlanAttachment" +}, +"type": "array" +} +}, +"type": "object" +}, +"VlanAttachment": { +"description": "VLAN attachment details.", +"id": "VlanAttachment", +"properties": { +"id": { +"description": "Immutable. The identifier of the attachment within vrf.", +"type": "string" +}, +"interconnectAttachment": { +"description": "Optional. The name of the vlan attachment within vrf. This is of the form projects/{project_number}/regions/{region}/interconnectAttachments/{interconnect_attachment}", +"type": "string" +}, +"pairingKey": { +"description": "Input only. Pairing key.", +"type": "string" +}, +"peerIp": { +"description": "The peer IP of the attachment.", +"type": "string" +}, +"peerVlanId": { +"description": "The peer vlan ID of the attachment.", +"format": "int64", +"type": "string" +}, +"qosPolicy": { +"$ref": "QosPolicy", +"description": "The QOS policy applied to this VLAN attachment. This value should be preferred to using qos at vrf level." +}, +"routerIp": { +"description": "The router IP of the attachment.", +"type": "string" +} +}, +"type": "object" +}, +"Volume": { +"description": "A storage volume.", +"id": "Volume", +"properties": { +"attached": { +"description": "Output only. Is the Volume attached at at least one instance. This field is a lightweight counterpart of `instances` field. It is filled in List responses as well.", +"readOnly": true, +"type": "boolean" +}, +"autoGrownSizeGib": { +"description": "The size, in GiB, that this storage volume has expanded as a result of an auto grow policy. In the absence of auto-grow, the value is 0.", +"format": "int64", +"type": "string" +}, +"bootVolume": { +"description": "Output only. Whether this volume is a boot volume. A boot volume is one which contains a boot LUN.", +"readOnly": true, +"type": "boolean" +}, +"currentSizeGib": { +"description": "The current size of this storage volume, in GiB, including space reserved for snapshots. This size might be different than the requested size if the storage volume has been configured with auto grow or auto shrink.", +"format": "int64", +"type": "string" +}, +"emergencySizeGib": { +"description": "Additional emergency size that was requested for this Volume, in GiB. current_size_gib includes this value.", +"format": "int64", +"type": "string" +}, +"expireTime": { +"description": "Output only. Time after which volume will be fully deleted. It is filled only for volumes in COOLOFF state.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"id": { +"description": "An identifier for the `Volume`, generated by the backend.", +"type": "string" +}, +"instances": { +"description": "Output only. Instances this Volume is attached to. This field is set only in Get requests.", +"items": { +"type": "string" +}, +"readOnly": true, +"type": "array" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Labels as key value pairs.", +"type": "object" +}, +"maxSizeGib": { +"description": "Maximum size volume can be expanded to in case of evergency, in GiB.", +"format": "int64", +"type": "string" +}, +"name": { +"description": "Output only. The resource name of this `Volume`. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. Format: `projects/{project}/locations/{location}/volumes/{volume}`", +"readOnly": true, +"type": "string" +}, +"notes": { +"description": "Input only. User-specified notes for new Volume. Used to provision Volumes that require manual intervention.", +"type": "string" +}, +"originallyRequestedSizeGib": { +"description": "Originally requested size, in GiB.", +"format": "int64", +"type": "string" +}, +"performanceTier": { +"description": "Immutable. Performance tier of the Volume. Default is SHARED.", +"enum": [ +"VOLUME_PERFORMANCE_TIER_UNSPECIFIED", +"VOLUME_PERFORMANCE_TIER_SHARED", +"VOLUME_PERFORMANCE_TIER_ASSIGNED", +"VOLUME_PERFORMANCE_TIER_HT", +"VOLUME_PERFORMANCE_TIER_QOS2_PERFORMANCE" +], +"enumDescriptions": [ +"Value is not specified.", +"Regular volumes, shared aggregates.", +"Assigned aggregates.", +"High throughput aggregates.", +"QoS 2.0 high performance storage." +], +"type": "string" +}, +"pod": { +"description": "Immutable. Pod name. Pod is an independent part of infrastructure. Volume can only be connected to the instances allocated in the same pod.", +"type": "string" +}, +"protocol": { +"description": "Output only. Storage protocol for the Volume.", +"enum": [ +"PROTOCOL_UNSPECIFIED", +"FIBRE_CHANNEL", +"NFS" +], +"enumDescriptions": [ +"Value is not specified.", +"Fibre Channel protocol.", +"NFS protocol means Volume is a NFS Share volume. Such volumes cannot be manipulated via Volumes API." +], +"readOnly": true, +"type": "string" +}, +"remainingSpaceGib": { +"description": "The space remaining in the storage volume for new LUNs, in GiB, excluding space reserved for snapshots.", +"format": "int64", +"type": "string" +}, +"requestedSizeGib": { +"description": "The requested size of this storage volume, in GiB.", +"format": "int64", +"type": "string" +}, +"snapshotAutoDeleteBehavior": { +"description": "The behavior to use when snapshot reserved space is full.", +"enum": [ +"SNAPSHOT_AUTO_DELETE_BEHAVIOR_UNSPECIFIED", +"DISABLED", +"OLDEST_FIRST", +"NEWEST_FIRST" +], +"enumDescriptions": [ +"The unspecified behavior.", +"Don't delete any snapshots. This disables new snapshot creation, as long as the snapshot reserved space is full.", +"Delete the oldest snapshots first.", +"Delete the newest snapshots first." +], +"type": "string" +}, +"snapshotEnabled": { +"description": "Whether snapshots are enabled.", +"type": "boolean" +}, +"snapshotReservationDetail": { +"$ref": "SnapshotReservationDetail", +"description": "Details about snapshot space reservation and usage on the storage volume." +}, +"state": { +"description": "The state of this storage volume.", +"enum": [ +"STATE_UNSPECIFIED", +"CREATING", +"READY", +"DELETING", +"UPDATING", +"COOL_OFF" +], +"enumDescriptions": [ +"The storage volume is in an unknown state.", +"The storage volume is being created.", +"The storage volume is ready for use.", +"The storage volume has been requested to be deleted.", +"The storage volume is being updated.", +"The storage volume is in cool off state. It will be deleted after `expire_time`." +], +"type": "string" +}, +"storageType": { +"description": "The storage type for this volume.", +"enum": [ +"STORAGE_TYPE_UNSPECIFIED", +"SSD", +"HDD" +], +"enumDescriptions": [ +"The storage type for this volume is unknown.", +"The storage type for this volume is SSD.", +"This storage type for this volume is HDD." +], +"type": "string" +}, +"workloadProfile": { +"description": "The workload profile for the volume.", +"enum": [ +"WORKLOAD_PROFILE_UNSPECIFIED", +"GENERIC", +"HANA" +], +"enumDescriptions": [ +"The workload profile is in an unknown state.", +"The workload profile is generic.", +"The workload profile is hana." +], +"type": "string" +} +}, +"type": "object" +}, +"VolumeConfig": { +"description": "Configuration parameters for a new volume.", +"id": "VolumeConfig", +"properties": { +"gcpService": { +"description": "The GCP service of the storage volume. Available gcp_service are in https://cloud.google.com/bare-metal/docs/bms-planning.", +"type": "string" +}, +"id": { +"description": "A transient unique identifier to identify a volume within an ProvisioningConfig request.", +"type": "string" +}, +"lunRanges": { +"description": "LUN ranges to be configured. Set only when protocol is PROTOCOL_FC.", +"items": { +"$ref": "LunRange" +}, +"type": "array" +}, +"machineIds": { +"description": "Machine ids connected to this volume. Set only when protocol is PROTOCOL_FC.", +"items": { +"type": "string" +}, +"type": "array" +}, +"name": { +"description": "Output only. The name of the volume config.", +"readOnly": true, +"type": "string" +}, +"nfsExports": { +"description": "NFS exports. Set only when protocol is PROTOCOL_NFS.", +"items": { +"$ref": "NfsExport" +}, +"type": "array" +}, +"performanceTier": { +"description": "Performance tier of the Volume. Default is SHARED.", +"enum": [ +"VOLUME_PERFORMANCE_TIER_UNSPECIFIED", +"VOLUME_PERFORMANCE_TIER_SHARED", +"VOLUME_PERFORMANCE_TIER_ASSIGNED", +"VOLUME_PERFORMANCE_TIER_HT", +"VOLUME_PERFORMANCE_TIER_QOS2_PERFORMANCE" +], +"enumDescriptions": [ +"Value is not specified.", +"Regular volumes, shared aggregates.", +"Assigned aggregates.", +"High throughput aggregates.", +"QoS 2.0 high performance storage." +], +"type": "string" +}, +"protocol": { +"description": "Volume protocol.", +"enum": [ +"PROTOCOL_UNSPECIFIED", +"PROTOCOL_FC", +"PROTOCOL_NFS" +], +"enumDescriptions": [ +"Unspecified value.", +"Fibre channel.", +"Network file system." +], +"type": "string" +}, +"sizeGb": { +"description": "The requested size of this volume, in GB.", +"format": "int32", +"type": "integer" +}, +"snapshotsEnabled": { +"description": "Whether snapshots should be enabled.", +"type": "boolean" +}, +"type": { +"description": "The type of this Volume.", +"enum": [ +"TYPE_UNSPECIFIED", +"FLASH", +"DISK" +], +"enumDescriptions": [ +"The unspecified type.", +"This Volume is on flash.", +"This Volume is on disk." +], +"type": "string" +}, +"userNote": { +"description": "User note field, it can be used by customers to add additional information for the BMS Ops team .", +"type": "string" +} +}, +"type": "object" +}, +"VolumeSnapshot": { +"description": "A snapshot of a volume. Only boot volumes can have snapshots.", +"id": "VolumeSnapshot", +"properties": { +"createTime": { +"description": "Output only. The creation time of the snapshot.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"description": { +"description": "The description of the snapshot.", +"type": "string" +}, +"id": { +"description": "Output only. An identifier for the snapshot, generated by the backend.", +"readOnly": true, +"type": "string" +}, +"name": { +"description": "The name of the snapshot.", +"type": "string" +}, +"storageVolume": { +"description": "Output only. The name of the volume which this snapshot belongs to.", +"readOnly": true, +"type": "string" +}, +"type": { +"description": "Output only. The type of the snapshot which indicates whether it was scheduled or manual/ad-hoc.", +"enum": [ +"SNAPSHOT_TYPE_UNSPECIFIED", +"AD_HOC", +"SCHEDULED" +], +"enumDescriptions": [ +"Type is not specified.", +"Snapshot was taken manually by user.", +"Snapshot was taken automatically as a part of a snapshot schedule." +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +} +}, +"servicePath": "", +"title": "Bare Metal Solution API", +"version": "v2", +"version_module": true +} \ No newline at end of file diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/batch.v1.json b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/batch.v1.json new file mode 100644 index 0000000000000000000000000000000000000000..126a6cd20fdd37256e09c21b5c58e0791a9ac8c7 --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/batch.v1.json @@ -0,0 +1,2407 @@ +{ +"auth": { +"oauth2": { +"scopes": { +"https://www.googleapis.com/auth/cloud-platform": { +"description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." +} +} +} +}, +"basePath": "", +"baseUrl": "https://batch.googleapis.com/", +"batchPath": "batch", +"canonicalName": "Batch", +"description": "An API to manage the running of Batch resources on Google Cloud Platform.", +"discoveryVersion": "v1", +"documentationLink": "https://cloud.google.com/batch/", +"fullyEncodeReservedExpansion": true, +"icons": { +"x16": "http://www.google.com/images/icons/product/search-16.gif", +"x32": "http://www.google.com/images/icons/product/search-32.gif" +}, +"id": "batch:v1", +"kind": "discovery#restDescription", +"mtlsRootUrl": "https://batch.mtls.googleapis.com/", +"name": "batch", +"ownerDomain": "google.com", +"ownerName": "Google", +"parameters": { +"$.xgafv": { +"description": "V1 error format.", +"enum": [ +"1", +"2" +], +"enumDescriptions": [ +"v1 error format", +"v2 error format" +], +"location": "query", +"type": "string" +}, +"access_token": { +"description": "OAuth access token.", +"location": "query", +"type": "string" +}, +"alt": { +"default": "json", +"description": "Data format for response.", +"enum": [ +"json", +"media", +"proto" +], +"enumDescriptions": [ +"Responses with Content-Type of application/json", +"Media download with context-dependent Content-Type", +"Responses with Content-Type of application/x-protobuf" +], +"location": "query", +"type": "string" +}, +"callback": { +"description": "JSONP", +"location": "query", +"type": "string" +}, +"fields": { +"description": "Selector specifying which fields to include in a partial response.", +"location": "query", +"type": "string" +}, +"key": { +"description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", +"location": "query", +"type": "string" +}, +"oauth_token": { +"description": "OAuth 2.0 token for the current user.", +"location": "query", +"type": "string" +}, +"prettyPrint": { +"default": "true", +"description": "Returns response with indentations and line breaks.", +"location": "query", +"type": "boolean" +}, +"quotaUser": { +"description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.", +"location": "query", +"type": "string" +}, +"uploadType": { +"description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", +"location": "query", +"type": "string" +}, +"upload_protocol": { +"description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", +"location": "query", +"type": "string" +} +}, +"protocol": "rest", +"resources": { +"projects": { +"resources": { +"locations": { +"methods": { +"get": { +"description": "Gets information about a location.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}", +"httpMethod": "GET", +"id": "batch.projects.locations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Resource name for the location.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Location" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists information about the supported locations for this service.", +"flatPath": "v1/projects/{projectsId}/locations", +"httpMethod": "GET", +"id": "batch.projects.locations.list", +"parameterOrder": [ +"name" +], +"parameters": { +"extraLocationTypes": { +"description": "Optional. Do not use this field. It is unsupported and is ignored unless explicitly documented otherwise. This is primarily for internal usage.", +"location": "query", +"repeated": true, +"type": "string" +}, +"filter": { +"description": "A filter to narrow down results to a preferred subset. The filtering language accepts strings like `\"displayName=tokyo\"`, and is documented in more detail in [AIP-160](https://google.aip.dev/160).", +"location": "query", +"type": "string" +}, +"name": { +"description": "The resource that owns the locations collection, if applicable.", +"location": "path", +"pattern": "^projects/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The maximum number of results to return. If not set, the service selects a default.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A page token received from the `next_page_token` field in the response. Send that page token to receive the subsequent page.", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}/locations", +"response": { +"$ref": "ListLocationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"jobs": { +"methods": { +"cancel": { +"description": "Cancel a Job.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/jobs/{jobsId}:cancel", +"httpMethod": "POST", +"id": "batch.projects.locations.jobs.cancel", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Job name.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/jobs/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:cancel", +"request": { +"$ref": "CancelJobRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"create": { +"description": "Create a Job.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/jobs", +"httpMethod": "POST", +"id": "batch.projects.locations.jobs.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"jobId": { +"description": "ID used to uniquely identify the Job within its parent scope. This field should contain at most 63 characters and must start with lowercase characters. Only lowercase characters, numbers and '-' are accepted. The '-' character cannot be the first or the last one. A system generated ID will be used if the field is not set. The job.name field in the request will be ignored and the created resource name of the Job will be \"{parent}/jobs/{job_id}\".", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent resource name where the Job will be created. Pattern: \"projects/{project}/locations/{location}\"", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+parent}/jobs", +"request": { +"$ref": "Job" +}, +"response": { +"$ref": "Job" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Delete a Job.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/jobs/{jobsId}", +"httpMethod": "DELETE", +"id": "batch.projects.locations.jobs.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Job name.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/jobs/[^/]+$", +"required": true, +"type": "string" +}, +"reason": { +"description": "Optional. Reason for this deletion.", +"location": "query", +"type": "string" +}, +"requestId": { +"description": "Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes after the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Get a Job specified by its resource name.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/jobs/{jobsId}", +"httpMethod": "GET", +"id": "batch.projects.locations.jobs.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Job name.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/jobs/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Job" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "List all Jobs for a project within a region.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/jobs", +"httpMethod": "GET", +"id": "batch.projects.locations.jobs.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "List filter.", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "Optional. Sort results. Supported are \"name\", \"name desc\", \"create_time\", and \"create_time desc\".", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Page size.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Page token.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Parent path.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/jobs", +"response": { +"$ref": "ListJobsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"taskGroups": { +"resources": { +"tasks": { +"methods": { +"get": { +"description": "Return a single Task.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/jobs/{jobsId}/taskGroups/{taskGroupsId}/tasks/{tasksId}", +"httpMethod": "GET", +"id": "batch.projects.locations.jobs.taskGroups.tasks.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Task name.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/jobs/[^/]+/taskGroups/[^/]+/tasks/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Task" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "List Tasks associated with a job.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/jobs/{jobsId}/taskGroups/{taskGroupsId}/tasks", +"httpMethod": "GET", +"id": "batch.projects.locations.jobs.taskGroups.tasks.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Task filter, null filter matches all Tasks. Filter string should be of the format State=TaskStatus.State e.g. State=RUNNING", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Page size.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Page token.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. Name of a TaskGroup from which Tasks are being requested. Pattern: \"projects/{project}/locations/{location}/jobs/{job}/taskGroups/{task_group}\"", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/jobs/[^/]+/taskGroups/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/tasks", +"response": { +"$ref": "ListTasksResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +} +} +}, +"operations": { +"methods": { +"cancel": { +"description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}:cancel", +"httpMethod": "POST", +"id": "batch.projects.locations.operations.cancel", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be cancelled.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:cancel", +"request": { +"$ref": "CancelOperationRequest" +}, +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}", +"httpMethod": "DELETE", +"id": "batch.projects.locations.operations.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be deleted.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}", +"httpMethod": "GET", +"id": "batch.projects.locations.operations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/operations", +"httpMethod": "GET", +"id": "batch.projects.locations.operations.list", +"parameterOrder": [ +"name" +], +"parameters": { +"filter": { +"description": "The standard list filter.", +"location": "query", +"type": "string" +}, +"name": { +"description": "The name of the operation's parent resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The standard list page size.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The standard list page token.", +"location": "query", +"type": "string" +}, +"returnPartialSuccess": { +"description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `\"projects/example/locations/-\"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1/{+name}/operations", +"response": { +"$ref": "ListOperationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"state": { +"methods": { +"report": { +"description": "Report agent's state, e.g. agent status and tasks information", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/state:report", +"httpMethod": "POST", +"id": "batch.projects.locations.state.report", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. Format: projects/{project}/locations/{location} {project} should be a project number.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/state:report", +"request": { +"$ref": "ReportAgentStateRequest" +}, +"response": { +"$ref": "ReportAgentStateResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +} +} +} +}, +"revision": "20251112", +"rootUrl": "https://batch.googleapis.com/", +"schemas": { +"Accelerator": { +"description": "Accelerator describes Compute Engine accelerators to be attached to the VM.", +"id": "Accelerator", +"properties": { +"count": { +"description": "The number of accelerators of this type.", +"format": "int64", +"type": "string" +}, +"driverVersion": { +"description": "Optional. The NVIDIA GPU driver version that should be installed for this type. You can define the specific driver version such as \"470.103.01\", following the driver version requirements in https://cloud.google.com/compute/docs/gpus/install-drivers-gpu#minimum-driver. Batch will install the specific accelerator driver if qualified.", +"type": "string" +}, +"installGpuDrivers": { +"deprecated": true, +"description": "Deprecated: please use instances[0].install_gpu_drivers instead.", +"type": "boolean" +}, +"type": { +"description": "The accelerator type. For example, \"nvidia-tesla-t4\". See `gcloud compute accelerator-types list`.", +"type": "string" +} +}, +"type": "object" +}, +"ActionCondition": { +"description": "Conditions for actions to deal with task failures.", +"id": "ActionCondition", +"properties": { +"exitCodes": { +"description": "Exit codes of a task execution. If there are more than 1 exit codes, when task executes with any of the exit code in the list, the condition is met and the action will be executed.", +"items": { +"format": "int32", +"type": "integer" +}, +"type": "array" +} +}, +"type": "object" +}, +"AgentContainer": { +"description": "Container runnable representation on the agent side.", +"id": "AgentContainer", +"properties": { +"commands": { +"description": "Overrides the `CMD` specified in the container. If there is an ENTRYPOINT (either in the container image or with the entrypoint field below) then commands are appended as arguments to the ENTRYPOINT.", +"items": { +"type": "string" +}, +"type": "array" +}, +"entrypoint": { +"description": "Overrides the `ENTRYPOINT` specified in the container.", +"type": "string" +}, +"imageUri": { +"description": "The URI to pull the container image from.", +"type": "string" +}, +"options": { +"description": "Arbitrary additional options to include in the \"docker run\" command when running this container, e.g. \"--network host\".", +"type": "string" +}, +"volumes": { +"description": "Volumes to mount (bind mount) from the host machine files or directories into the container, formatted to match docker run's --volume option, e.g. /foo:/bar, or /foo:/bar:ro", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"AgentEnvironment": { +"description": "AgentEnvironment is the Environment representation between Agent and CLH communication. The environment is used in both task level and agent level.", +"id": "AgentEnvironment", +"properties": { +"encryptedVariables": { +"$ref": "AgentKMSEnvMap", +"description": "An encrypted JSON dictionary where the key/value pairs correspond to environment variable names and their values." +}, +"secretVariables": { +"additionalProperties": { +"type": "string" +}, +"description": "A map of environment variable names to Secret Manager secret names. The VM will access the named secrets to set the value of each environment variable.", +"type": "object" +}, +"variables": { +"additionalProperties": { +"type": "string" +}, +"description": "A map of environment variable names to values.", +"type": "object" +} +}, +"type": "object" +}, +"AgentInfo": { +"description": "VM Agent Info.", +"id": "AgentInfo", +"properties": { +"jobId": { +"description": "Optional. The assigned Job ID", +"type": "string" +}, +"reportTime": { +"description": "When the AgentInfo is generated.", +"format": "google-datetime", +"type": "string" +}, +"state": { +"description": "Agent state.", +"enum": [ +"AGENT_STATE_UNSPECIFIED", +"AGENT_STARTING", +"AGENT_RUNNING", +"AGENT_STOPPED" +], +"enumDescriptions": [ +"Unspecified state.", +"The agent is starting on the VM instance.", +"The agent is running. The agent in the RUNNING state can never go back to the STARTING state.", +"The agent has stopped, either on request or due to a failure." +], +"type": "string" +}, +"taskGroupId": { +"description": "The assigned task group ID.", +"type": "string" +}, +"tasks": { +"description": "Task Info.", +"items": { +"$ref": "AgentTaskInfo" +}, +"type": "array" +} +}, +"type": "object" +}, +"AgentKMSEnvMap": { +"description": "AgentKMSEnvMap contains the encrypted key/value pair to be used in the environment on the Agent side.", +"id": "AgentKMSEnvMap", +"properties": { +"cipherText": { +"description": "The value of the cipherText response from the `encrypt` method.", +"type": "string" +}, +"keyName": { +"description": "The name of the KMS key that will be used to decrypt the cipher text.", +"type": "string" +} +}, +"type": "object" +}, +"AgentMetadata": { +"description": "VM Agent Metadata.", +"id": "AgentMetadata", +"properties": { +"creationTime": { +"deprecated": true, +"description": "When the VM agent started. Use agent_startup_time instead.", +"format": "google-datetime", +"type": "string" +}, +"creator": { +"description": "Full name of the entity that created this vm. For MIG, this path is: projects/{project}/regions/{region}/InstanceGroupManagers/{igm} The value is retrieved from the vm metadata key of \"created-by\".", +"type": "string" +}, +"imageVersion": { +"description": "image version for the VM that this agent is installed on.", +"type": "string" +}, +"instance": { +"description": "GCP instance name (go/instance-name).", +"type": "string" +}, +"instanceId": { +"description": "GCP instance ID (go/instance-id).", +"format": "uint64", +"type": "string" +}, +"instancePreemptionNoticeReceived": { +"description": "If the GCP instance has received preemption notice.", +"type": "boolean" +}, +"machineType": { +"description": "Optional. machine type of the VM", +"type": "string" +}, +"osRelease": { +"additionalProperties": { +"type": "string" +}, +"description": "parsed contents of /etc/os-release", +"type": "object" +}, +"version": { +"description": "agent binary version running on VM", +"type": "string" +}, +"zone": { +"description": "Agent zone.", +"type": "string" +} +}, +"type": "object" +}, +"AgentScript": { +"description": "Script runnable representation on the agent side.", +"id": "AgentScript", +"properties": { +"path": { +"description": "Script file path on the host VM. To specify an interpreter, please add a `#!`(also known as [shebang line](https://en.wikipedia.org/wiki/Shebang_(Unix))) as the first line of the file.(For example, to execute the script using bash, `#!/bin/bash` should be the first line of the file. To execute the script using`Python3`, `#!/usr/bin/env python3` should be the first line of the file.) Otherwise, the file will by default be executed by `/bin/sh`.", +"type": "string" +}, +"text": { +"description": "Shell script text. To specify an interpreter, please add a `#!\\n` at the beginning of the text.(For example, to execute the script using bash, `#!/bin/bash\\n` should be added. To execute the script using`Python3`, `#!/usr/bin/env python3\\n` should be added.) Otherwise, the script will by default be executed by `/bin/sh`.", +"type": "string" +} +}, +"type": "object" +}, +"AgentTask": { +"description": "TODO(b/182501497) The message needs to be redefined when the Agent API server updates data in storage per the backend design.", +"id": "AgentTask", +"properties": { +"agentTaskSpec": { +"$ref": "AgentTaskSpec", +"description": "AgentTaskSpec is the taskSpec representation between Agent and CLH communication. This field will replace the TaskSpec field above in future to have a better separation between user-facaing API and internal API." +}, +"intendedState": { +"description": "The intended state of the task.", +"enum": [ +"INTENDED_STATE_UNSPECIFIED", +"ASSIGNED", +"CANCELLED", +"DELETED" +], +"enumDescriptions": [ +"Unspecified state.", +"Assigned state (includes running and finished).", +"The agent should cancel the execution of this task.", +"Delete task from agent storage, stop reporting its state." +], +"type": "string" +}, +"reachedBarrier": { +"description": "The highest barrier reached by all tasks in the task's TaskGroup.", +"format": "int64", +"type": "string" +}, +"spec": { +"$ref": "TaskSpec", +"description": "Task Spec. This field will be replaced by agent_task_spec below in future." +}, +"status": { +"$ref": "TaskStatus", +"description": "Task status." +}, +"task": { +"description": "Task name.", +"type": "string" +}, +"taskSource": { +"description": "TaskSource represents the source of the task.", +"enum": [ +"TASK_SOURCE_UNSPECIFIED", +"BATCH_INTERNAL", +"USER" +], +"enumDescriptions": [ +"Unspecified task source.", +"The AgentTask from this source is generated by Batch server. E.g. all the VMActions are from this source. When Batch Agent execute AgentTask from BATCH_INTERNAL, it will log stdout/err with \"batch_agent_logs\" log name.", +"The AgentTask from this source is provided by Batch users. When Batch Agent execute AgentTask from USER, it will log stdout/err with \"batch_task_logs\" log name." +], +"type": "string" +} +}, +"type": "object" +}, +"AgentTaskInfo": { +"description": "Task Info", +"id": "AgentTaskInfo", +"properties": { +"runnable": { +"description": "The highest index of a runnable started by the agent for this task. The runnables are indexed from 1. Value 0 is undefined.", +"format": "int64", +"type": "string" +}, +"taskId": { +"description": "ID of the Task", +"type": "string" +}, +"taskStatus": { +"$ref": "TaskStatus", +"description": "The status of the Task. If we need agent specific fields we should fork the public TaskStatus into an agent specific one. Or add them below." +} +}, +"type": "object" +}, +"AgentTaskLoggingOption": { +"description": "AgentTaskLoggingOption contains the options for the logging of the task.", +"id": "AgentTaskLoggingOption", +"properties": { +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Labels to be added to the log entry. Now only cloud logging is supported.", +"type": "object" +} +}, +"type": "object" +}, +"AgentTaskRunnable": { +"description": "AgentTaskRunnable is the Runnable representation between Agent and CLH communication.", +"id": "AgentTaskRunnable", +"properties": { +"alwaysRun": { +"description": "By default, after a Runnable fails, no further Runnable are executed. This flag indicates that this Runnable must be run even if the Task has already failed. This is useful for Runnables that copy output files off of the VM or for debugging. The always_run flag does not override the Task's overall max_run_duration. If the max_run_duration has expired then no further Runnables will execute, not even always_run Runnables.", +"type": "boolean" +}, +"background": { +"description": "This flag allows a Runnable to continue running in the background while the Task executes subsequent Runnables. This is useful to provide services to other Runnables (or to provide debugging support tools like SSH servers).", +"type": "boolean" +}, +"container": { +"$ref": "AgentContainer", +"description": "Container runnable." +}, +"environment": { +"$ref": "AgentEnvironment", +"description": "Environment variables for this Runnable (overrides variables set for the whole Task or TaskGroup)." +}, +"ignoreExitStatus": { +"description": "Normally, a non-zero exit status causes the Task to fail. This flag allows execution of other Runnables to continue instead.", +"type": "boolean" +}, +"script": { +"$ref": "AgentScript", +"description": "Script runnable." +}, +"timeout": { +"description": "Timeout for this Runnable.", +"format": "google-duration", +"type": "string" +} +}, +"type": "object" +}, +"AgentTaskSpec": { +"description": "AgentTaskSpec is the user's TaskSpec representation between Agent and CLH communication.", +"id": "AgentTaskSpec", +"properties": { +"environment": { +"$ref": "AgentEnvironment", +"description": "Environment variables to set before running the Task." +}, +"loggingOption": { +"$ref": "AgentTaskLoggingOption", +"description": "Logging option for the task." +}, +"maxRunDuration": { +"description": "Maximum duration the task should run before being automatically retried (if enabled) or automatically failed. Format the value of this field as a time limit in seconds followed by `s`\u2014for example, `3600s` for 1 hour. The field accepts any value between 0 and the maximum listed for the `Duration` field type at https://protobuf.dev/reference/protobuf/google.protobuf/#duration; however, the actual maximum run time for a job will be limited to the maximum run time for a job listed at https://cloud.google.com/batch/quotas#max-job-duration.", +"format": "google-duration", +"type": "string" +}, +"runnables": { +"description": "AgentTaskRunnable is runanbles that will be executed on the agent.", +"items": { +"$ref": "AgentTaskRunnable" +}, +"type": "array" +}, +"userAccount": { +"$ref": "AgentTaskUserAccount", +"description": "User account on the VM to run the runnables in the agentTaskSpec. If not set, the runnable will be run under root user." +} +}, +"type": "object" +}, +"AgentTaskUserAccount": { +"description": "AgentTaskUserAccount contains the information of a POSIX account on the guest os which is used to execute the runnables.", +"id": "AgentTaskUserAccount", +"properties": { +"gid": { +"description": "gid id an unique identifier of the POSIX account group corresponding to the user account.", +"format": "int64", +"type": "string" +}, +"uid": { +"description": "uid is an unique identifier of the POSIX account corresponding to the user account.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"AgentTimingInfo": { +"description": "VM timing information", +"id": "AgentTimingInfo", +"properties": { +"agentStartupTime": { +"description": "Agent startup time", +"format": "google-datetime", +"type": "string" +}, +"bootTime": { +"description": "Boot timestamp of the VM OS", +"format": "google-datetime", +"type": "string" +}, +"scriptStartupTime": { +"description": "Startup time of the Batch VM script.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"AllocationPolicy": { +"description": "A Job's resource allocation policy describes when, where, and how compute resources should be allocated for the Job.", +"id": "AllocationPolicy", +"properties": { +"instances": { +"description": "Describe instances that can be created by this AllocationPolicy. Only instances[0] is supported now.", +"items": { +"$ref": "InstancePolicyOrTemplate" +}, +"type": "array" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Custom labels to apply to the job and all the Compute Engine resources that both are created by this allocation policy and support labels. Use labels to group and describe the resources they are applied to. Batch automatically applies predefined labels and supports multiple `labels` fields for each job, which each let you apply custom labels to various resources. Label names that start with \"goog-\" or \"google-\" are reserved for predefined labels. For more information about labels with Batch, see [Organize resources using labels](https://cloud.google.com/batch/docs/organize-resources-using-labels).", +"type": "object" +}, +"location": { +"$ref": "LocationPolicy", +"description": "Location where compute resources should be allocated for the Job." +}, +"network": { +"$ref": "NetworkPolicy", +"description": "The network policy. If you define an instance template in the `InstancePolicyOrTemplate` field, Batch will use the network settings in the instance template instead of this field." +}, +"placement": { +"$ref": "PlacementPolicy", +"description": "The placement policy." +}, +"serviceAccount": { +"$ref": "ServiceAccount", +"description": "Defines the service account for Batch-created VMs. If omitted, the [default Compute Engine service account](https://cloud.google.com/compute/docs/access/service-accounts#default_service_account) is used. Must match the service account specified in any used instance template configured in the Batch job. Includes the following fields: * email: The service account's email address. If not set, the default Compute Engine service account is used. * scopes: Additional OAuth scopes to grant the service account, beyond the default cloud-platform scope. (list of strings)" +}, +"tags": { +"description": "Optional. Tags applied to the VM instances. The tags identify valid sources or targets for network firewalls. Each tag must be 1-63 characters long, and comply with [RFC1035](https://www.ietf.org/rfc/rfc1035.txt).", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"AttachedDisk": { +"description": "A new or an existing persistent disk (PD) or a local ssd attached to a VM instance.", +"id": "AttachedDisk", +"properties": { +"deviceName": { +"description": "Device name that the guest operating system will see. It is used by Runnable.volumes field to mount disks. So please specify the device_name if you want Batch to help mount the disk, and it should match the device_name field in volumes.", +"type": "string" +}, +"existingDisk": { +"description": "Name of an existing PD.", +"type": "string" +}, +"newDisk": { +"$ref": "Disk" +} +}, +"type": "object" +}, +"Barrier": { +"description": "A barrier runnable automatically blocks the execution of subsequent runnables until all the tasks in the task group reach the barrier.", +"id": "Barrier", +"properties": { +"name": { +"description": "Barriers are identified by their index in runnable list. Names are not required, but if present should be an identifier.", +"type": "string" +} +}, +"type": "object" +}, +"CancelJobRequest": { +"description": "CancelJob Request.", +"id": "CancelJobRequest", +"properties": { +"requestId": { +"description": "Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes after the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", +"type": "string" +} +}, +"type": "object" +}, +"CancelOperationRequest": { +"description": "The request message for Operations.CancelOperation.", +"id": "CancelOperationRequest", +"properties": {}, +"type": "object" +}, +"CloudLoggingOption": { +"description": "`CloudLoggingOption` contains additional settings for Cloud Logging logs generated by Batch job.", +"id": "CloudLoggingOption", +"properties": { +"useGenericTaskMonitoredResource": { +"description": "Optional. Set this field to `true` to change the [monitored resource type](https://cloud.google.com/monitoring/api/resources) for Cloud Logging logs generated by this Batch job from the [`batch.googleapis.com/Job`](https://cloud.google.com/monitoring/api/resources#tag_batch.googleapis.com/Job) type to the formerly used [`generic_task`](https://cloud.google.com/monitoring/api/resources#tag_generic_task) type.", +"type": "boolean" +} +}, +"type": "object" +}, +"ComputeResource": { +"description": "Compute resource requirements. ComputeResource defines the amount of resources required for each task. Make sure your tasks have enough resources to successfully run. If you also define the types of resources for a job to use with the [InstancePolicyOrTemplate](https://cloud.google.com/batch/docs/reference/rest/v1/projects.locations.jobs#instancepolicyortemplate) field, make sure both fields are compatible with each other.", +"id": "ComputeResource", +"properties": { +"bootDiskMib": { +"description": "Extra boot disk size in MiB for each task.", +"format": "int64", +"type": "string" +}, +"cpuMilli": { +"description": "The milliCPU count. `cpuMilli` defines the amount of CPU resources per task in milliCPU units. For example, `1000` corresponds to 1 vCPU per task. If undefined, the default value is `2000`. If you also define the VM's machine type using the `machineType` in [InstancePolicy](https://cloud.google.com/batch/docs/reference/rest/v1/projects.locations.jobs#instancepolicy) field or inside the `instanceTemplate` in the [InstancePolicyOrTemplate](https://cloud.google.com/batch/docs/reference/rest/v1/projects.locations.jobs#instancepolicyortemplate) field, make sure the CPU resources for both fields are compatible with each other and with how many tasks you want to allow to run on the same VM at the same time. For example, if you specify the `n2-standard-2` machine type, which has 2 vCPUs each, you are recommended to set `cpuMilli` no more than `2000`, or you are recommended to run two tasks on the same VM if you set `cpuMilli` to `1000` or less.", +"format": "int64", +"type": "string" +}, +"memoryMib": { +"description": "Memory in MiB. `memoryMib` defines the amount of memory per task in MiB units. If undefined, the default value is `2000`. If you also define the VM's machine type using the `machineType` in [InstancePolicy](https://cloud.google.com/batch/docs/reference/rest/v1/projects.locations.jobs#instancepolicy) field or inside the `instanceTemplate` in the [InstancePolicyOrTemplate](https://cloud.google.com/batch/docs/reference/rest/v1/projects.locations.jobs#instancepolicyortemplate) field, make sure the memory resources for both fields are compatible with each other and with how many tasks you want to allow to run on the same VM at the same time. For example, if you specify the `n2-standard-2` machine type, which has 8 GiB each, you are recommended to set `memoryMib` to no more than `8192`, or you are recommended to run two tasks on the same VM if you set `memoryMib` to `4096` or less.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"Container": { +"description": "Container runnable.", +"id": "Container", +"properties": { +"blockExternalNetwork": { +"description": "If set to true, external network access to and from container will be blocked, containers that are with block_external_network as true can still communicate with each other, network cannot be specified in the `container.options` field.", +"type": "boolean" +}, +"commands": { +"description": "Required for some container images. Overrides the `CMD` specified in the container. If there is an `ENTRYPOINT` (either in the container image or with the `entrypoint` field below) then these commands are appended as arguments to the `ENTRYPOINT`.", +"items": { +"type": "string" +}, +"type": "array" +}, +"enableImageStreaming": { +"description": "Optional. If set to true, this container runnable uses Image streaming. Use Image streaming to allow the runnable to initialize without waiting for the entire container image to download, which can significantly reduce startup time for large container images. When `enableImageStreaming` is set to true, the container runtime is [containerd](https://containerd.io/) instead of Docker. Additionally, this container runnable only supports the following `container` subfields: `imageUri`, `commands[]`, `entrypoint`, and `volumes[]`; any other `container` subfields are ignored. For more information about the requirements and limitations for using Image streaming with Batch, see the [`image-streaming` sample on GitHub](https://github.com/GoogleCloudPlatform/batch-samples/tree/main/api-samples/image-streaming).", +"type": "boolean" +}, +"entrypoint": { +"description": "Required for some container images. Overrides the `ENTRYPOINT` specified in the container.", +"type": "string" +}, +"imageUri": { +"description": "Required. The URI to pull the container image from.", +"type": "string" +}, +"options": { +"description": "Required for some container images. Arbitrary additional options to include in the `docker run` command when running this container\u2014for example, `--network host`. For the `--volume` option, use the `volumes` field for the container.", +"type": "string" +}, +"password": { +"description": "Required if the container image is from a private Docker registry. The password to login to the Docker registry that contains the image. For security, it is strongly recommended to specify an encrypted password by using a Secret Manager secret: `projects/*/secrets/*/versions/*`. Warning: If you specify the password using plain text, you risk the password being exposed to any users who can view the job or its logs. To avoid this risk, specify a secret that contains the password instead. Learn more about [Secret Manager](https://cloud.google.com/secret-manager/docs/) and [using Secret Manager with Batch](https://cloud.google.com/batch/docs/create-run-job-secret-manager).", +"type": "string" +}, +"username": { +"description": "Required if the container image is from a private Docker registry. The username to login to the Docker registry that contains the image. You can either specify the username directly by using plain text or specify an encrypted username by using a Secret Manager secret: `projects/*/secrets/*/versions/*`. However, using a secret is recommended for enhanced security. Caution: If you specify the username using plain text, you risk the username being exposed to any users who can view the job or its logs. To avoid this risk, specify a secret that contains the username instead. Learn more about [Secret Manager](https://cloud.google.com/secret-manager/docs/) and [using Secret Manager with Batch](https://cloud.google.com/batch/docs/create-run-job-secret-manager).", +"type": "string" +}, +"volumes": { +"description": "Volumes to mount (bind mount) from the host machine files or directories into the container, formatted to match `--volume` option for the `docker run` command\u2014for example, `/foo:/bar` or `/foo:/bar:ro`. If the `TaskSpec.Volumes` field is specified but this field is not, Batch will mount each volume from the host machine to the container with the same mount path by default. In this case, the default mount option for containers will be read-only (`ro`) for existing persistent disks and read-write (`rw`) for other volume types, regardless of the original mount options specified in `TaskSpec.Volumes`. If you need different mount settings, you can explicitly configure them in this field.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"Disk": { +"description": "A new persistent disk or a local ssd. A VM can only have one local SSD setting but multiple local SSD partitions. See https://cloud.google.com/compute/docs/disks#pdspecs and https://cloud.google.com/compute/docs/disks#localssds.", +"id": "Disk", +"properties": { +"diskInterface": { +"description": "Local SSDs are available through both \"SCSI\" and \"NVMe\" interfaces. If not indicated, \"NVMe\" will be the default one for local ssds. This field is ignored for persistent disks as the interface is chosen automatically. See https://cloud.google.com/compute/docs/disks/persistent-disks#choose_an_interface.", +"type": "string" +}, +"image": { +"description": "URL for a VM image to use as the data source for this disk. For example, the following are all valid URLs: * Specify the image by its family name: projects/{project}/global/images/family/{image_family} * Specify the image version: projects/{project}/global/images/{image_version} You can also use Batch customized image in short names. The following image values are supported for a boot disk: * `batch-debian`: use Batch Debian images. * `batch-cos`: use Batch Container-Optimized images. * `batch-hpc-rocky`: use Batch HPC Rocky Linux images.", +"type": "string" +}, +"sizeGb": { +"description": "Disk size in GB. **Non-Boot Disk**: If the `type` specifies a persistent disk, this field is ignored if `data_source` is set as `image` or `snapshot`. If the `type` specifies a local SSD, this field should be a multiple of 375 GB, otherwise, the final size will be the next greater multiple of 375 GB. **Boot Disk**: Batch will calculate the boot disk size based on source image and task requirements if you do not speicify the size. If both this field and the `boot_disk_mib` field in task spec's `compute_resource` are defined, Batch will only honor this field. Also, this field should be no smaller than the source disk's size when the `data_source` is set as `snapshot` or `image`. For example, if you set an image as the `data_source` field and the image's default disk size 30 GB, you can only use this field to make the disk larger or equal to 30 GB.", +"format": "int64", +"type": "string" +}, +"snapshot": { +"description": "Name of a snapshot used as the data source. Snapshot is not supported as boot disk now.", +"type": "string" +}, +"type": { +"description": "Disk type as shown in `gcloud compute disk-types list`. For example, local SSD uses type \"local-ssd\". Persistent disks and boot disks use \"pd-balanced\", \"pd-extreme\", \"pd-ssd\" or \"pd-standard\". If not specified, \"pd-standard\" will be used as the default type for non-boot disks, \"pd-balanced\" will be used as the default type for boot disks.", +"type": "string" +} +}, +"type": "object" +}, +"Empty": { +"description": "A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }", +"id": "Empty", +"properties": {}, +"type": "object" +}, +"Environment": { +"description": "An Environment describes a collection of environment variables to set when executing Tasks.", +"id": "Environment", +"properties": { +"encryptedVariables": { +"$ref": "KMSEnvMap", +"description": "An encrypted JSON dictionary where the key/value pairs correspond to environment variable names and their values." +}, +"secretVariables": { +"additionalProperties": { +"type": "string" +}, +"description": "A map of environment variable names to Secret Manager secret names. The VM will access the named secrets to set the value of each environment variable.", +"type": "object" +}, +"variables": { +"additionalProperties": { +"type": "string" +}, +"description": "A map of environment variable names to values.", +"type": "object" +} +}, +"type": "object" +}, +"GCS": { +"description": "Represents a Google Cloud Storage volume.", +"id": "GCS", +"properties": { +"remotePath": { +"description": "Remote path, either a bucket name or a subdirectory of a bucket, e.g.: bucket_name, bucket_name/subdirectory/", +"type": "string" +} +}, +"type": "object" +}, +"InstancePolicy": { +"description": "InstancePolicy describes an instance type and resources attached to each VM created by this InstancePolicy.", +"id": "InstancePolicy", +"properties": { +"accelerators": { +"description": "The accelerators attached to each VM instance.", +"items": { +"$ref": "Accelerator" +}, +"type": "array" +}, +"bootDisk": { +"$ref": "Disk", +"description": "Boot disk to be created and attached to each VM by this InstancePolicy. Boot disk will be deleted when the VM is deleted. Batch API now only supports booting from image." +}, +"disks": { +"description": "Non-boot disks to be attached for each VM created by this InstancePolicy. New disks will be deleted when the VM is deleted. A non-boot disk is a disk that can be of a device with a file system or a raw storage drive that is not ready for data storage and accessing.", +"items": { +"$ref": "AttachedDisk" +}, +"type": "array" +}, +"machineType": { +"description": "The Compute Engine machine type.", +"type": "string" +}, +"minCpuPlatform": { +"description": "The minimum CPU platform. See https://cloud.google.com/compute/docs/instances/specify-min-cpu-platform.", +"type": "string" +}, +"provisioningModel": { +"description": "The provisioning model.", +"enum": [ +"PROVISIONING_MODEL_UNSPECIFIED", +"STANDARD", +"SPOT", +"PREEMPTIBLE", +"RESERVATION_BOUND", +"FLEX_START" +], +"enumDeprecated": [ +false, +false, +false, +true, +false, +false +], +"enumDescriptions": [ +"Unspecified.", +"Standard VM.", +"SPOT VM.", +"Preemptible VM (PVM). Above SPOT VM is the preferable model for preemptible VM instances: the old preemptible VM model (indicated by this field) is the older model, and has been migrated to use the SPOT model as the underlying technology. This old model will still be supported.", +"Bound to the lifecycle of the reservation in which it is provisioned.", +"Instance is provisioned with DWS Flex Start and has limited max run duration." +], +"type": "string" +}, +"reservation": { +"description": "Optional. If not specified (default), VMs will consume any applicable reservation. If \"NO_RESERVATION\" is specified, VMs will not consume any reservation. Otherwise, if specified, VMs will consume only the specified reservation.", +"type": "string" +} +}, +"type": "object" +}, +"InstancePolicyOrTemplate": { +"description": "InstancePolicyOrTemplate lets you define the type of resources to use for this job either with an InstancePolicy or an instance template. If undefined, Batch picks the type of VM to use and doesn't include optional VM resources such as GPUs and extra disks.", +"id": "InstancePolicyOrTemplate", +"properties": { +"blockProjectSshKeys": { +"description": "Optional. Set this field to `true` if you want Batch to block project-level SSH keys from accessing this job's VMs. Alternatively, you can configure the job to specify a VM instance template that blocks project-level SSH keys. In either case, Batch blocks project-level SSH keys while creating the VMs for this job. Batch allows project-level SSH keys for a job's VMs only if all the following are true: + This field is undefined or set to `false`. + The job's VM instance template (if any) doesn't block project-level SSH keys. Notably, you can override this behavior by manually updating a VM to block or allow project-level SSH keys. For more information about blocking project-level SSH keys, see the Compute Engine documentation: https://cloud.google.com/compute/docs/connect/restrict-ssh-keys#block-keys", +"type": "boolean" +}, +"installGpuDrivers": { +"description": "Set this field true if you want Batch to help fetch drivers from a third party location and install them for GPUs specified in `policy.accelerators` or `instance_template` on your behalf. Default is false. For Container-Optimized Image cases, Batch will install the accelerator driver following milestones of https://cloud.google.com/container-optimized-os/docs/release-notes. For non Container-Optimized Image cases, following https://github.com/GoogleCloudPlatform/compute-gpu-installation/blob/main/linux/install_gpu_driver.py.", +"type": "boolean" +}, +"installOpsAgent": { +"description": "Optional. Set this field true if you want Batch to install Ops Agent on your behalf. Default is false.", +"type": "boolean" +}, +"instanceTemplate": { +"description": "Name of an instance template used to create VMs. Named the field as 'instance_template' instead of 'template' to avoid C++ keyword conflict. Batch only supports global instance templates from the same project as the job. You can specify the global instance template as a full or partial URL.", +"type": "string" +}, +"policy": { +"$ref": "InstancePolicy", +"description": "InstancePolicy." +} +}, +"type": "object" +}, +"InstanceStatus": { +"description": "VM instance status.", +"id": "InstanceStatus", +"properties": { +"bootDisk": { +"$ref": "Disk", +"description": "The VM boot disk." +}, +"machineType": { +"description": "The Compute Engine machine type.", +"type": "string" +}, +"provisioningModel": { +"description": "The VM instance provisioning model.", +"enum": [ +"PROVISIONING_MODEL_UNSPECIFIED", +"STANDARD", +"SPOT", +"PREEMPTIBLE", +"RESERVATION_BOUND", +"FLEX_START" +], +"enumDeprecated": [ +false, +false, +false, +true, +false, +false +], +"enumDescriptions": [ +"Unspecified.", +"Standard VM.", +"SPOT VM.", +"Preemptible VM (PVM). Above SPOT VM is the preferable model for preemptible VM instances: the old preemptible VM model (indicated by this field) is the older model, and has been migrated to use the SPOT model as the underlying technology. This old model will still be supported.", +"Bound to the lifecycle of the reservation in which it is provisioned.", +"Instance is provisioned with DWS Flex Start and has limited max run duration." +], +"type": "string" +}, +"taskPack": { +"description": "The max number of tasks can be assigned to this instance type.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"Job": { +"description": "The Cloud Batch Job description.", +"id": "Job", +"properties": { +"allocationPolicy": { +"$ref": "AllocationPolicy", +"description": "Compute resource allocation for all TaskGroups in the Job." +}, +"createTime": { +"description": "Output only. When the Job was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Custom labels to apply to the job and any Cloud Logging [LogEntry](https://cloud.google.com/logging/docs/reference/v2/rest/v2/LogEntry) that it generates. Use labels to group and describe the resources they are applied to. Batch automatically applies predefined labels and supports multiple `labels` fields for each job, which each let you apply custom labels to various resources. Label names that start with \"goog-\" or \"google-\" are reserved for predefined labels. For more information about labels with Batch, see [Organize resources using labels](https://cloud.google.com/batch/docs/organize-resources-using-labels).", +"type": "object" +}, +"logsPolicy": { +"$ref": "LogsPolicy", +"description": "Log preservation policy for the Job." +}, +"name": { +"description": "Output only. Job name. For example: \"projects/123456/locations/us-central1/jobs/job01\".", +"readOnly": true, +"type": "string" +}, +"notifications": { +"description": "Notification configurations.", +"items": { +"$ref": "JobNotification" +}, +"type": "array" +}, +"priority": { +"description": "Priority of the Job. The valid value range is [0, 100). Default value is 0. Higher value indicates higher priority. A job with higher priority value is more likely to run earlier if all other requirements are satisfied.", +"format": "int64", +"type": "string" +}, +"status": { +"$ref": "JobStatus", +"description": "Output only. Job status. It is read only for users.", +"readOnly": true +}, +"taskGroups": { +"description": "Required. TaskGroups in the Job. Only one TaskGroup is supported now.", +"items": { +"$ref": "TaskGroup" +}, +"type": "array" +}, +"uid": { +"description": "Output only. A system generated unique ID for the Job.", +"readOnly": true, +"type": "string" +}, +"updateTime": { +"description": "Output only. The last time the Job was updated.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"JobNotification": { +"description": "Notification configurations.", +"id": "JobNotification", +"properties": { +"message": { +"$ref": "Message", +"description": "The attribute requirements of messages to be sent to this Pub/Sub topic. Without this field, no message will be sent." +}, +"pubsubTopic": { +"description": "The Pub/Sub topic where notifications for the job, like state changes, will be published. If undefined, no Pub/Sub notifications are sent for this job. Specify the topic using the following format: `projects/{project}/topics/{topic}`. Notably, if you want to specify a Pub/Sub topic that is in a different project than the job, your administrator must grant your project's Batch service agent permission to publish to that topic. For more information about configuring Pub/Sub notifications for a job, see https://cloud.google.com/batch/docs/enable-notifications.", +"type": "string" +} +}, +"type": "object" +}, +"JobStatus": { +"description": "Job status.", +"id": "JobStatus", +"properties": { +"runDuration": { +"description": "The duration of time that the Job spent in status RUNNING.", +"format": "google-duration", +"type": "string" +}, +"state": { +"description": "Job state", +"enum": [ +"STATE_UNSPECIFIED", +"QUEUED", +"SCHEDULED", +"RUNNING", +"SUCCEEDED", +"FAILED", +"DELETION_IN_PROGRESS", +"CANCELLATION_IN_PROGRESS", +"CANCELLED" +], +"enumDescriptions": [ +"Job state unspecified.", +"Job is admitted (validated and persisted) and waiting for resources.", +"Job is scheduled to run as soon as resource allocation is ready. The resource allocation may happen at a later time but with a high chance to succeed.", +"Resource allocation has been successful. At least one Task in the Job is RUNNING.", +"All Tasks in the Job have finished successfully.", +"At least one Task in the Job has failed.", +"The Job will be deleted, but has not been deleted yet. Typically this is because resources used by the Job are still being cleaned up.", +"The Job cancellation is in progress, this is because the resources used by the Job are still being cleaned up.", +"The Job has been cancelled, the task executions were stopped and the resources were cleaned up." +], +"type": "string" +}, +"statusEvents": { +"description": "Job status events", +"items": { +"$ref": "StatusEvent" +}, +"type": "array" +}, +"taskGroups": { +"additionalProperties": { +"$ref": "TaskGroupStatus" +}, +"description": "Aggregated task status for each TaskGroup in the Job. The map key is TaskGroup ID.", +"type": "object" +} +}, +"type": "object" +}, +"KMSEnvMap": { +"id": "KMSEnvMap", +"properties": { +"cipherText": { +"description": "The value of the cipherText response from the `encrypt` method.", +"type": "string" +}, +"keyName": { +"description": "The name of the KMS key that will be used to decrypt the cipher text.", +"type": "string" +} +}, +"type": "object" +}, +"LifecyclePolicy": { +"description": "LifecyclePolicy describes how to deal with task failures based on different conditions.", +"id": "LifecyclePolicy", +"properties": { +"action": { +"description": "Action to execute when ActionCondition is true. When RETRY_TASK is specified, we will retry failed tasks if we notice any exit code match and fail tasks if no match is found. Likewise, when FAIL_TASK is specified, we will fail tasks if we notice any exit code match and retry tasks if no match is found.", +"enum": [ +"ACTION_UNSPECIFIED", +"RETRY_TASK", +"FAIL_TASK" +], +"enumDescriptions": [ +"Action unspecified.", +"Action that tasks in the group will be scheduled to re-execute.", +"Action that tasks in the group will be stopped immediately." +], +"type": "string" +}, +"actionCondition": { +"$ref": "ActionCondition", +"description": "Conditions that decide why a task failure is dealt with a specific action." +} +}, +"type": "object" +}, +"ListJobsResponse": { +"description": "ListJob Response.", +"id": "ListJobsResponse", +"properties": { +"jobs": { +"description": "Jobs.", +"items": { +"$ref": "Job" +}, +"type": "array" +}, +"nextPageToken": { +"description": "Next page token.", +"type": "string" +}, +"unreachable": { +"description": "Locations that could not be reached.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListLocationsResponse": { +"description": "The response message for Locations.ListLocations.", +"id": "ListLocationsResponse", +"properties": { +"locations": { +"description": "A list of locations that matches the specified filter in the request.", +"items": { +"$ref": "Location" +}, +"type": "array" +}, +"nextPageToken": { +"description": "The standard List next-page token.", +"type": "string" +} +}, +"type": "object" +}, +"ListOperationsResponse": { +"description": "The response message for Operations.ListOperations.", +"id": "ListOperationsResponse", +"properties": { +"nextPageToken": { +"description": "The standard List next-page token.", +"type": "string" +}, +"operations": { +"description": "A list of operations that matches the specified filter in the request.", +"items": { +"$ref": "Operation" +}, +"type": "array" +}, +"unreachable": { +"description": "Unordered list. Unreachable resources. Populated when the request sets `ListOperationsRequest.return_partial_success` and reads across collections. For example, when attempting to list all resources across all supported locations.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListTasksResponse": { +"description": "ListTasks Response.", +"id": "ListTasksResponse", +"properties": { +"nextPageToken": { +"description": "Next page token.", +"type": "string" +}, +"tasks": { +"description": "Tasks.", +"items": { +"$ref": "Task" +}, +"type": "array" +}, +"unreachable": { +"description": "Locations that could not be reached.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"Location": { +"description": "A resource that represents a Google Cloud location.", +"id": "Location", +"properties": { +"displayName": { +"description": "The friendly name for this location, typically a nearby city name. For example, \"Tokyo\".", +"type": "string" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Cross-service attributes for the location. For example {\"cloud.googleapis.com/region\": \"us-east1\"}", +"type": "object" +}, +"locationId": { +"description": "The canonical id for this location. For example: `\"us-east1\"`.", +"type": "string" +}, +"metadata": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "Service-specific metadata. For example the available capacity at the given location.", +"type": "object" +}, +"name": { +"description": "Resource name for the location, which may vary between implementations. For example: `\"projects/example-project/locations/us-east1\"`", +"type": "string" +} +}, +"type": "object" +}, +"LocationPolicy": { +"id": "LocationPolicy", +"properties": { +"allowedLocations": { +"description": "A list of allowed location names represented by internal URLs. Each location can be a region or a zone. Only one region or multiple zones in one region is supported now. For example, [\"regions/us-central1\"] allow VMs in any zones in region us-central1. [\"zones/us-central1-a\", \"zones/us-central1-c\"] only allow VMs in zones us-central1-a and us-central1-c. Mixing locations from different regions would cause errors. For example, [\"regions/us-central1\", \"zones/us-central1-a\", \"zones/us-central1-b\", \"zones/us-west1-a\"] contains locations from two distinct regions: us-central1 and us-west1. This combination will trigger an error.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"LogsPolicy": { +"description": "LogsPolicy describes if and how a job's logs are preserved. Logs include information that is automatically written by the Batch service agent and any information that you configured the job's runnables to write to the `stdout` or `stderr` streams.", +"id": "LogsPolicy", +"properties": { +"cloudLoggingOption": { +"$ref": "CloudLoggingOption", +"description": "Optional. When `destination` is set to `CLOUD_LOGGING`, you can optionally set this field to configure additional settings for Cloud Logging." +}, +"destination": { +"description": "If and where logs should be saved.", +"enum": [ +"DESTINATION_UNSPECIFIED", +"CLOUD_LOGGING", +"PATH" +], +"enumDescriptions": [ +"(Default) Logs are not preserved.", +"Logs are streamed to Cloud Logging. Optionally, you can configure additional settings in the `cloudLoggingOption` field.", +"Logs are saved to the file path specified in the `logsPath` field." +], +"type": "string" +}, +"logsPath": { +"description": "When `destination` is set to `PATH`, you must set this field to the path where you want logs to be saved. This path can point to a local directory on the VM or (if congifured) a directory under the mount path of any Cloud Storage bucket, network file system (NFS), or writable persistent disk that is mounted to the job. For example, if the job has a bucket with `mountPath` set to `/mnt/disks/my-bucket`, you can write logs to the root directory of the `remotePath` of that bucket by setting this field to `/mnt/disks/my-bucket/`.", +"type": "string" +} +}, +"type": "object" +}, +"Message": { +"description": "Message details. Describe the conditions under which messages will be sent. If no attribute is defined, no message will be sent by default. One message should specify either the job or the task level attributes, but not both. For example, job level: JOB_STATE_CHANGED and/or a specified new_job_state; task level: TASK_STATE_CHANGED and/or a specified new_task_state.", +"id": "Message", +"properties": { +"newJobState": { +"description": "The new job state.", +"enum": [ +"STATE_UNSPECIFIED", +"QUEUED", +"SCHEDULED", +"RUNNING", +"SUCCEEDED", +"FAILED", +"DELETION_IN_PROGRESS", +"CANCELLATION_IN_PROGRESS", +"CANCELLED" +], +"enumDescriptions": [ +"Job state unspecified.", +"Job is admitted (validated and persisted) and waiting for resources.", +"Job is scheduled to run as soon as resource allocation is ready. The resource allocation may happen at a later time but with a high chance to succeed.", +"Resource allocation has been successful. At least one Task in the Job is RUNNING.", +"All Tasks in the Job have finished successfully.", +"At least one Task in the Job has failed.", +"The Job will be deleted, but has not been deleted yet. Typically this is because resources used by the Job are still being cleaned up.", +"The Job cancellation is in progress, this is because the resources used by the Job are still being cleaned up.", +"The Job has been cancelled, the task executions were stopped and the resources were cleaned up." +], +"type": "string" +}, +"newTaskState": { +"description": "The new task state.", +"enum": [ +"STATE_UNSPECIFIED", +"PENDING", +"ASSIGNED", +"RUNNING", +"FAILED", +"SUCCEEDED", +"UNEXECUTED" +], +"enumDescriptions": [ +"Unknown state.", +"The Task is created and waiting for resources.", +"The Task is assigned to at least one VM.", +"The Task is running.", +"The Task has failed.", +"The Task has succeeded.", +"The Task has not been executed when the Job finishes." +], +"type": "string" +}, +"type": { +"description": "The message type.", +"enum": [ +"TYPE_UNSPECIFIED", +"JOB_STATE_CHANGED", +"TASK_STATE_CHANGED" +], +"enumDescriptions": [ +"Unspecified.", +"Notify users that the job state has changed.", +"Notify users that the task state has changed." +], +"type": "string" +} +}, +"type": "object" +}, +"NFS": { +"description": "Represents an NFS volume.", +"id": "NFS", +"properties": { +"remotePath": { +"description": "Remote source path exported from the NFS, e.g., \"/share\".", +"type": "string" +}, +"server": { +"description": "The IP address of the NFS.", +"type": "string" +} +}, +"type": "object" +}, +"NetworkInterface": { +"description": "A network interface.", +"id": "NetworkInterface", +"properties": { +"network": { +"description": "The URL of an existing network resource. You can specify the network as a full or partial URL. For example, the following are all valid URLs: * https://www.googleapis.com/compute/v1/projects/{project}/global/networks/{network} * projects/{project}/global/networks/{network} * global/networks/{network}", +"type": "string" +}, +"noExternalIpAddress": { +"description": "Default is false (with an external IP address). Required if no external public IP address is attached to the VM. If no external public IP address, additional configuration is required to allow the VM to access Google Services. See https://cloud.google.com/vpc/docs/configure-private-google-access and https://cloud.google.com/nat/docs/gce-example#create-nat for more information.", +"type": "boolean" +}, +"subnetwork": { +"description": "The URL of an existing subnetwork resource in the network. You can specify the subnetwork as a full or partial URL. For example, the following are all valid URLs: * https://www.googleapis.com/compute/v1/projects/{project}/regions/{region}/subnetworks/{subnetwork} * projects/{project}/regions/{region}/subnetworks/{subnetwork} * regions/{region}/subnetworks/{subnetwork}", +"type": "string" +} +}, +"type": "object" +}, +"NetworkPolicy": { +"description": "NetworkPolicy describes VM instance network configurations.", +"id": "NetworkPolicy", +"properties": { +"networkInterfaces": { +"description": "Network configurations.", +"items": { +"$ref": "NetworkInterface" +}, +"type": "array" +} +}, +"type": "object" +}, +"Operation": { +"description": "This resource represents a long-running operation that is the result of a network API call.", +"id": "Operation", +"properties": { +"done": { +"description": "If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.", +"type": "boolean" +}, +"error": { +"$ref": "Status", +"description": "The error result of the operation in case of failure or cancellation." +}, +"metadata": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.", +"type": "object" +}, +"name": { +"description": "The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.", +"type": "string" +}, +"response": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "The normal, successful response of the operation. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.", +"type": "object" +} +}, +"type": "object" +}, +"OperationMetadata": { +"description": "Represents the metadata of the long-running operation.", +"id": "OperationMetadata", +"properties": { +"apiVersion": { +"description": "Output only. API version used to start the operation.", +"readOnly": true, +"type": "string" +}, +"createTime": { +"description": "Output only. The time the operation was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"endTime": { +"description": "Output only. The time the operation finished running.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"requestedCancellation": { +"description": "Output only. Identifies whether the user has requested cancellation of the operation. Operations that have successfully been cancelled have google.longrunning.Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.", +"readOnly": true, +"type": "boolean" +}, +"statusMessage": { +"description": "Output only. Human-readable status of the operation, if any.", +"readOnly": true, +"type": "string" +}, +"target": { +"description": "Output only. Server-defined resource path for the target of the operation.", +"readOnly": true, +"type": "string" +}, +"verb": { +"description": "Output only. Name of the verb executed by the operation.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"PlacementPolicy": { +"description": "PlacementPolicy describes a group placement policy for the VMs controlled by this AllocationPolicy.", +"id": "PlacementPolicy", +"properties": { +"collocation": { +"description": "UNSPECIFIED vs. COLLOCATED (default UNSPECIFIED). Use COLLOCATED when you want VMs to be located close to each other for low network latency between the VMs. No placement policy will be generated when collocation is UNSPECIFIED.", +"type": "string" +}, +"maxDistance": { +"description": "When specified, causes the job to fail if more than max_distance logical switches are required between VMs. Batch uses the most compact possible placement of VMs even when max_distance is not specified. An explicit max_distance makes that level of compactness a strict requirement. Not yet implemented", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"ReportAgentStateRequest": { +"description": "Request to report agent's state. The Request itself implies the agent is healthy.", +"id": "ReportAgentStateRequest", +"properties": { +"agentInfo": { +"$ref": "AgentInfo", +"description": "Agent info." +}, +"agentTimingInfo": { +"$ref": "AgentTimingInfo", +"description": "Agent timing info." +}, +"metadata": { +"$ref": "AgentMetadata", +"description": "Agent metadata." +} +}, +"type": "object" +}, +"ReportAgentStateResponse": { +"description": "Response to ReportAgentStateRequest.", +"id": "ReportAgentStateResponse", +"properties": { +"defaultReportInterval": { +"description": "Default report interval override", +"format": "google-duration", +"type": "string" +}, +"minReportInterval": { +"description": "Minimum report interval override", +"format": "google-duration", +"type": "string" +}, +"tasks": { +"description": "Tasks assigned to the agent", +"items": { +"$ref": "AgentTask" +}, +"type": "array" +}, +"useBatchMonitoredResource": { +"description": "If true, the cloud logging for batch agent will use batch.googleapis.com/Job as monitored resource for Batch job related logging.", +"type": "boolean" +} +}, +"type": "object" +}, +"Runnable": { +"description": "Runnable describes instructions for executing a specific script or container as part of a Task.", +"id": "Runnable", +"properties": { +"alwaysRun": { +"description": "By default, after a Runnable fails, no further Runnable are executed. This flag indicates that this Runnable must be run even if the Task has already failed. This is useful for Runnables that copy output files off of the VM or for debugging. The always_run flag does not override the Task's overall max_run_duration. If the max_run_duration has expired then no further Runnables will execute, not even always_run Runnables.", +"type": "boolean" +}, +"background": { +"description": "Normally, a runnable that doesn't exit causes its task to fail. However, you can set this field to `true` to configure a background runnable. Background runnables are allowed continue running in the background while the task executes subsequent runnables. For example, background runnables are useful for providing services to other runnables or providing debugging-support tools like SSH servers. Specifically, background runnables are killed automatically (if they have not already exited) a short time after all foreground runnables have completed. Even though this is likely to result in a non-zero exit status for the background runnable, these automatic kills are not treated as task failures.", +"type": "boolean" +}, +"barrier": { +"$ref": "Barrier", +"description": "Barrier runnable." +}, +"container": { +"$ref": "Container", +"description": "Container runnable." +}, +"displayName": { +"description": "Optional. DisplayName is an optional field that can be provided by the caller. If provided, it will be used in logs and other outputs to identify the script, making it easier for users to understand the logs. If not provided the index of the runnable will be used for outputs.", +"type": "string" +}, +"environment": { +"$ref": "Environment", +"description": "Environment variables for this Runnable (overrides variables set for the whole Task or TaskGroup)." +}, +"ignoreExitStatus": { +"description": "Normally, a runnable that returns a non-zero exit status fails and causes the task to fail. However, you can set this field to `true` to allow the task to continue executing its other runnables even if this runnable fails.", +"type": "boolean" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Labels for this Runnable.", +"type": "object" +}, +"script": { +"$ref": "Script", +"description": "Script runnable." +}, +"timeout": { +"description": "Timeout for this Runnable.", +"format": "google-duration", +"type": "string" +} +}, +"type": "object" +}, +"Script": { +"description": "Script runnable.", +"id": "Script", +"properties": { +"path": { +"description": "The path to a script file that is accessible from the host VM(s). Unless the script file supports the default `#!/bin/sh` shell interpreter, you must specify an interpreter by including a [shebang line](https://en.wikipedia.org/wiki/Shebang_(Unix) as the first line of the file. For example, to execute the script using bash, include `#!/bin/bash` as the first line of the file. Alternatively, to execute the script using Python3, include `#!/usr/bin/env python3` as the first line of the file.", +"type": "string" +}, +"text": { +"description": "The text for a script. Unless the script text supports the default `#!/bin/sh` shell interpreter, you must specify an interpreter by including a [shebang line](https://en.wikipedia.org/wiki/Shebang_(Unix) at the beginning of the text. For example, to execute the script using bash, include `#!/bin/bash\\n` at the beginning of the text. Alternatively, to execute the script using Python3, include `#!/usr/bin/env python3\\n` at the beginning of the text.", +"type": "string" +} +}, +"type": "object" +}, +"ServiceAccount": { +"description": "Carries information about a Google Cloud service account.", +"id": "ServiceAccount", +"properties": { +"email": { +"description": "Email address of the service account.", +"type": "string" +}, +"scopes": { +"description": "List of scopes to be enabled for this service account.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"Status": { +"description": "The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors).", +"id": "Status", +"properties": { +"code": { +"description": "The status code, which should be an enum value of google.rpc.Code.", +"format": "int32", +"type": "integer" +}, +"details": { +"description": "A list of messages that carry the error details. There is a common set of message types for APIs to use.", +"items": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.", +"type": "string" +} +}, +"type": "object" +}, +"StatusEvent": { +"description": "Status event.", +"id": "StatusEvent", +"properties": { +"description": { +"description": "Description of the event.", +"type": "string" +}, +"eventTime": { +"description": "The time this event occurred.", +"format": "google-datetime", +"type": "string" +}, +"taskExecution": { +"$ref": "TaskExecution", +"description": "Task Execution. This field is only defined for task-level status events where the task fails." +}, +"taskState": { +"description": "Task State. This field is only defined for task-level status events.", +"enum": [ +"STATE_UNSPECIFIED", +"PENDING", +"ASSIGNED", +"RUNNING", +"FAILED", +"SUCCEEDED", +"UNEXECUTED" +], +"enumDescriptions": [ +"Unknown state.", +"The Task is created and waiting for resources.", +"The Task is assigned to at least one VM.", +"The Task is running.", +"The Task has failed.", +"The Task has succeeded.", +"The Task has not been executed when the Job finishes." +], +"type": "string" +}, +"type": { +"description": "Type of the event.", +"type": "string" +} +}, +"type": "object" +}, +"Task": { +"description": "A Cloud Batch task.", +"id": "Task", +"properties": { +"name": { +"description": "Task name. The name is generated from the parent TaskGroup name and 'id' field. For example: \"projects/123456/locations/us-west1/jobs/job01/taskGroups/group01/tasks/task01\".", +"type": "string" +}, +"status": { +"$ref": "TaskStatus", +"description": "Task Status." +} +}, +"type": "object" +}, +"TaskExecution": { +"description": "This Task Execution field includes detail information for task execution procedures, based on StatusEvent types.", +"id": "TaskExecution", +"properties": { +"exitCode": { +"description": "The exit code of a finished task. If the task succeeded, the exit code will be 0. If the task failed but not due to the following reasons, the exit code will be 50000. Otherwise, it can be from different sources: * Batch known failures: https://cloud.google.com/batch/docs/troubleshooting#reserved-exit-codes. * Batch runnable execution failures; you can rely on Batch logs to further diagnose: https://cloud.google.com/batch/docs/analyze-job-using-logs. If there are multiple runnables failures, Batch only exposes the first error.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"TaskGroup": { +"description": "A TaskGroup defines one or more Tasks that all share the same TaskSpec.", +"id": "TaskGroup", +"properties": { +"name": { +"description": "Output only. TaskGroup name. The system generates this field based on parent Job name. For example: \"projects/123456/locations/us-west1/jobs/job01/taskGroups/group01\".", +"readOnly": true, +"type": "string" +}, +"parallelism": { +"description": "Max number of tasks that can run in parallel. Default to min(task_count, parallel tasks per job limit). See: [Job Limits](https://cloud.google.com/batch/quotas#job_limits). Field parallelism must be 1 if the scheduling_policy is IN_ORDER.", +"format": "int64", +"type": "string" +}, +"permissiveSsh": { +"description": "When true, Batch will configure SSH to allow passwordless login between VMs running the Batch tasks in the same TaskGroup.", +"type": "boolean" +}, +"requireHostsFile": { +"description": "When true, Batch will populate a file with a list of all VMs assigned to the TaskGroup and set the BATCH_HOSTS_FILE environment variable to the path of that file. Defaults to false. The host file supports up to 1000 VMs.", +"type": "boolean" +}, +"runAsNonRoot": { +"description": "Optional. If not set or set to false, Batch uses the root user to execute runnables. If set to true, Batch runs the runnables using a non-root user. Currently, the non-root user Batch used is generated by OS Login. For more information, see [About OS Login](https://cloud.google.com/compute/docs/oslogin).", +"type": "boolean" +}, +"schedulingPolicy": { +"description": "Scheduling policy for Tasks in the TaskGroup. The default value is AS_SOON_AS_POSSIBLE.", +"enum": [ +"SCHEDULING_POLICY_UNSPECIFIED", +"AS_SOON_AS_POSSIBLE", +"IN_ORDER" +], +"enumDescriptions": [ +"Unspecified.", +"Run Tasks as soon as resources are available. Tasks might be executed in parallel depending on parallelism and task_count values.", +"Run Tasks sequentially with increased task index." +], +"type": "string" +}, +"taskCount": { +"description": "Number of Tasks in the TaskGroup. Default is 1.", +"format": "int64", +"type": "string" +}, +"taskCountPerNode": { +"description": "Max number of tasks that can be run on a VM at the same time. If not specified, the system will decide a value based on available compute resources on a VM and task requirements.", +"format": "int64", +"type": "string" +}, +"taskEnvironments": { +"description": "An array of environment variable mappings, which are passed to Tasks with matching indices. If task_environments is used then task_count should not be specified in the request (and will be ignored). Task count will be the length of task_environments. Tasks get a BATCH_TASK_INDEX and BATCH_TASK_COUNT environment variable, in addition to any environment variables set in task_environments, specifying the number of Tasks in the Task's parent TaskGroup, and the specific Task's index in the TaskGroup (0 through BATCH_TASK_COUNT - 1).", +"items": { +"$ref": "Environment" +}, +"type": "array" +}, +"taskSpec": { +"$ref": "TaskSpec", +"description": "Required. Tasks in the group share the same task spec." +} +}, +"type": "object" +}, +"TaskGroupStatus": { +"description": "Aggregated task status for a TaskGroup.", +"id": "TaskGroupStatus", +"properties": { +"counts": { +"additionalProperties": { +"format": "int64", +"type": "string" +}, +"description": "Count of task in each state in the TaskGroup. The map key is task state name.", +"type": "object" +}, +"instances": { +"description": "Status of instances allocated for the TaskGroup.", +"items": { +"$ref": "InstanceStatus" +}, +"type": "array" +} +}, +"type": "object" +}, +"TaskSpec": { +"description": "Spec of a task", +"id": "TaskSpec", +"properties": { +"computeResource": { +"$ref": "ComputeResource", +"description": "ComputeResource requirements." +}, +"environment": { +"$ref": "Environment", +"description": "Environment variables to set before running the Task." +}, +"environments": { +"additionalProperties": { +"type": "string" +}, +"deprecated": true, +"description": "Deprecated: please use environment(non-plural) instead.", +"type": "object" +}, +"lifecyclePolicies": { +"description": "Lifecycle management schema when any task in a task group is failed. Currently we only support one lifecycle policy. When the lifecycle policy condition is met, the action in the policy will execute. If task execution result does not meet with the defined lifecycle policy, we consider it as the default policy. Default policy means if the exit code is 0, exit task. If task ends with non-zero exit code, retry the task with max_retry_count.", +"items": { +"$ref": "LifecyclePolicy" +}, +"type": "array" +}, +"maxRetryCount": { +"description": "Maximum number of retries on failures. The default, 0, which means never retry. The valid value range is [0, 10].", +"format": "int32", +"type": "integer" +}, +"maxRunDuration": { +"description": "Maximum duration the task should run before being automatically retried (if enabled) or automatically failed. Format the value of this field as a time limit in seconds followed by `s`\u2014for example, `3600s` for 1 hour. The field accepts any value between 0 and the maximum listed for the `Duration` field type at https://protobuf.dev/reference/protobuf/google.protobuf/#duration; however, the actual maximum run time for a job will be limited to the maximum run time for a job listed at https://cloud.google.com/batch/quotas#max-job-duration.", +"format": "google-duration", +"type": "string" +}, +"runnables": { +"description": "Required. The sequence of one or more runnables (executable scripts, executable containers, and/or barriers) for each task in this task group to run. Each task runs this list of runnables in order. For a task to succeed, all of its script and container runnables each must meet at least one of the following conditions: + The runnable exited with a zero status. + The runnable didn't finish, but you enabled its `background` subfield. + The runnable exited with a non-zero status, but you enabled its `ignore_exit_status` subfield.", +"items": { +"$ref": "Runnable" +}, +"type": "array" +}, +"volumes": { +"description": "Volumes to mount before running Tasks using this TaskSpec.", +"items": { +"$ref": "Volume" +}, +"type": "array" +} +}, +"type": "object" +}, +"TaskStatus": { +"description": "Status of a task.", +"id": "TaskStatus", +"properties": { +"state": { +"description": "Task state.", +"enum": [ +"STATE_UNSPECIFIED", +"PENDING", +"ASSIGNED", +"RUNNING", +"FAILED", +"SUCCEEDED", +"UNEXECUTED" +], +"enumDescriptions": [ +"Unknown state.", +"The Task is created and waiting for resources.", +"The Task is assigned to at least one VM.", +"The Task is running.", +"The Task has failed.", +"The Task has succeeded.", +"The Task has not been executed when the Job finishes." +], +"type": "string" +}, +"statusEvents": { +"description": "Detailed info about why the state is reached.", +"items": { +"$ref": "StatusEvent" +}, +"type": "array" +} +}, +"type": "object" +}, +"Volume": { +"description": "Volume describes a volume and parameters for it to be mounted to a VM.", +"id": "Volume", +"properties": { +"deviceName": { +"description": "Device name of an attached disk volume, which should align with a device_name specified by job.allocation_policy.instances[0].policy.disks[i].device_name or defined by the given instance template in job.allocation_policy.instances[0].instance_template.", +"type": "string" +}, +"gcs": { +"$ref": "GCS", +"description": "A Google Cloud Storage (GCS) volume." +}, +"mountOptions": { +"description": "Mount options vary based on the type of storage volume: * For a Cloud Storage bucket, all the mount options provided by the [`gcsfuse` tool](https://cloud.google.com/storage/docs/gcsfuse-cli) are supported. * For an existing persistent disk, all mount options provided by the [`mount` command](https://man7.org/linux/man-pages/man8/mount.8.html) except writing are supported. This is due to restrictions of [multi-writer mode](https://cloud.google.com/compute/docs/disks/sharing-disks-between-vms). * For any other disk or a Network File System (NFS), all the mount options provided by the `mount` command are supported.", +"items": { +"type": "string" +}, +"type": "array" +}, +"mountPath": { +"description": "The mount path for the volume, e.g. /mnt/disks/share.", +"type": "string" +}, +"nfs": { +"$ref": "NFS", +"description": "A Network File System (NFS) volume. For example, a Filestore file share." +} +}, +"type": "object" +} +}, +"servicePath": "", +"title": "Batch API", +"version": "v1", +"version_module": true +} \ No newline at end of file diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/beyondcorp.v1.json b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/beyondcorp.v1.json new file mode 100644 index 0000000000000000000000000000000000000000..11c23b409daabb7694575ca688fa48775896ff26 --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/beyondcorp.v1.json @@ -0,0 +1,4105 @@ +{ +"auth": { +"oauth2": { +"scopes": { +"https://www.googleapis.com/auth/cloud-platform": { +"description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." +} +} +} +}, +"basePath": "", +"baseUrl": "https://beyondcorp.googleapis.com/", +"batchPath": "batch", +"canonicalName": "BeyondCorp", +"description": "Chrome Enterprise Premium is a secure enterprise browsing solution that provides secure access to applications and resources, and offers integrated threat and data protection. It adds an extra layer of security to safeguard your Chrome browser environment, including Data Loss Prevention (DLP), real-time URL and file scanning, and Context-Aware Access for SaaS and web apps.", +"discoveryVersion": "v1", +"documentationLink": "https://cloud.google.com/", +"fullyEncodeReservedExpansion": true, +"icons": { +"x16": "http://www.google.com/images/icons/product/search-16.gif", +"x32": "http://www.google.com/images/icons/product/search-32.gif" +}, +"id": "beyondcorp:v1", +"kind": "discovery#restDescription", +"mtlsRootUrl": "https://beyondcorp.mtls.googleapis.com/", +"name": "beyondcorp", +"ownerDomain": "google.com", +"ownerName": "Google", +"parameters": { +"$.xgafv": { +"description": "V1 error format.", +"enum": [ +"1", +"2" +], +"enumDescriptions": [ +"v1 error format", +"v2 error format" +], +"location": "query", +"type": "string" +}, +"access_token": { +"description": "OAuth access token.", +"location": "query", +"type": "string" +}, +"alt": { +"default": "json", +"description": "Data format for response.", +"enum": [ +"json", +"media", +"proto" +], +"enumDescriptions": [ +"Responses with Content-Type of application/json", +"Media download with context-dependent Content-Type", +"Responses with Content-Type of application/x-protobuf" +], +"location": "query", +"type": "string" +}, +"callback": { +"description": "JSONP", +"location": "query", +"type": "string" +}, +"fields": { +"description": "Selector specifying which fields to include in a partial response.", +"location": "query", +"type": "string" +}, +"key": { +"description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", +"location": "query", +"type": "string" +}, +"oauth_token": { +"description": "OAuth 2.0 token for the current user.", +"location": "query", +"type": "string" +}, +"prettyPrint": { +"default": "true", +"description": "Returns response with indentations and line breaks.", +"location": "query", +"type": "boolean" +}, +"quotaUser": { +"description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.", +"location": "query", +"type": "string" +}, +"uploadType": { +"description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", +"location": "query", +"type": "string" +}, +"upload_protocol": { +"description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", +"location": "query", +"type": "string" +} +}, +"protocol": "rest", +"resources": { +"organizations": { +"resources": { +"locations": { +"resources": { +"operations": { +"methods": { +"cancel": { +"description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.", +"flatPath": "v1/organizations/{organizationsId}/locations/{locationsId}/operations/{operationsId}:cancel", +"httpMethod": "POST", +"id": "beyondcorp.organizations.locations.operations.cancel", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be cancelled.", +"location": "path", +"pattern": "^organizations/[^/]+/locations/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:cancel", +"request": { +"$ref": "GoogleLongrunningCancelOperationRequest" +}, +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.", +"flatPath": "v1/organizations/{organizationsId}/locations/{locationsId}/operations/{operationsId}", +"httpMethod": "DELETE", +"id": "beyondcorp.organizations.locations.operations.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be deleted.", +"location": "path", +"pattern": "^organizations/[^/]+/locations/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", +"flatPath": "v1/organizations/{organizationsId}/locations/{locationsId}/operations/{operationsId}", +"httpMethod": "GET", +"id": "beyondcorp.organizations.locations.operations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource.", +"location": "path", +"pattern": "^organizations/[^/]+/locations/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.", +"flatPath": "v1/organizations/{organizationsId}/locations/{locationsId}/operations", +"httpMethod": "GET", +"id": "beyondcorp.organizations.locations.operations.list", +"parameterOrder": [ +"name" +], +"parameters": { +"filter": { +"description": "The standard list filter.", +"location": "query", +"type": "string" +}, +"name": { +"description": "The name of the operation's parent resource.", +"location": "path", +"pattern": "^organizations/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The standard list page size.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The standard list page token.", +"location": "query", +"type": "string" +}, +"returnPartialSuccess": { +"description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `\"projects/example/locations/-\"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1/{+name}/operations", +"response": { +"$ref": "GoogleLongrunningListOperationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +} +} +}, +"projects": { +"resources": { +"locations": { +"methods": { +"get": { +"description": "Gets information about a location.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}", +"httpMethod": "GET", +"id": "beyondcorp.projects.locations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Resource name for the location.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleCloudLocationLocation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists information about the supported locations for this service. This method can be called in two ways: * **List all public locations:** Use the path `GET /v1/locations`. * **List project-visible locations:** Use the path `GET /v1/projects/{project_id}/locations`. This may include public locations as well as private or other locations specifically visible to the project.", +"flatPath": "v1/projects/{projectsId}/locations", +"httpMethod": "GET", +"id": "beyondcorp.projects.locations.list", +"parameterOrder": [ +"name" +], +"parameters": { +"extraLocationTypes": { +"description": "Optional. Do not use this field. It is unsupported and is ignored unless explicitly documented otherwise. This is primarily for internal usage.", +"location": "query", +"repeated": true, +"type": "string" +}, +"filter": { +"description": "A filter to narrow down results to a preferred subset. The filtering language accepts strings like `\"displayName=tokyo\"`, and is documented in more detail in [AIP-160](https://google.aip.dev/160).", +"location": "query", +"type": "string" +}, +"name": { +"description": "The resource that owns the locations collection, if applicable.", +"location": "path", +"pattern": "^projects/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The maximum number of results to return. If not set, the service selects a default.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A page token received from the `next_page_token` field in the response. Send that page token to receive the subsequent page.", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}/locations", +"response": { +"$ref": "GoogleCloudLocationListLocationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"appConnections": { +"methods": { +"create": { +"description": "Creates a new AppConnection in a given project and location.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/appConnections", +"httpMethod": "POST", +"id": "beyondcorp.projects.locations.appConnections.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"appConnectionId": { +"description": "Optional. User-settable AppConnection resource ID. * Must start with a letter. * Must contain between 4-63 characters from `/a-z-/`. * Must end with a number or a letter.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The resource project name of the AppConnection location using the form: `projects/{project_id}/locations/{location_id}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"validateOnly": { +"description": "Optional. If set, validates request by executing a dry-run which would not alter the resource in any way.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1/{+parent}/appConnections", +"request": { +"$ref": "GoogleCloudBeyondcorpAppconnectionsV1AppConnection" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a single AppConnection.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/appConnections/{appConnectionsId}", +"httpMethod": "DELETE", +"id": "beyondcorp.projects.locations.appConnections.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. BeyondCorp Connector name using the form: `projects/{project_id}/locations/{location_id}/appConnections/{app_connection_id}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/appConnections/[^/]+$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes after the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"validateOnly": { +"description": "Optional. If set, validates request by executing a dry-run which would not alter the resource in any way.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets details of a single AppConnection.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/appConnections/{appConnectionsId}", +"httpMethod": "GET", +"id": "beyondcorp.projects.locations.appConnections.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. BeyondCorp AppConnection name using the form: `projects/{project_id}/locations/{location_id}/appConnections/{app_connection_id}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/appConnections/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleCloudBeyondcorpAppconnectionsV1AppConnection" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"getIamPolicy": { +"description": "Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/appConnections/{appConnectionsId}:getIamPolicy", +"httpMethod": "GET", +"id": "beyondcorp.projects.locations.appConnections.getIamPolicy", +"parameterOrder": [ +"resource" +], +"parameters": { +"options.requestedPolicyVersion": { +"description": "Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).", +"format": "int32", +"location": "query", +"type": "integer" +}, +"resource": { +"description": "REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/appConnections/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+resource}:getIamPolicy", +"response": { +"$ref": "GoogleIamV1Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists AppConnections in a given project and location.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/appConnections", +"httpMethod": "GET", +"id": "beyondcorp.projects.locations.appConnections.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Optional. A filter specifying constraints of a list operation.", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "Optional. Specifies the ordering of results. See [Sorting order](https://cloud.google.com/apis/design/design_patterns#sorting_order) for more information.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Optional. The maximum number of items to return. If not specified, a default value of 50 will be used by the service. Regardless of the page_size value, the response may include a partial list and a caller should only rely on response's next_page_token to determine if there are more instances left to be queried.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. The next_page_token value returned from a previous ListAppConnectionsRequest, if any.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The resource name of the AppConnection location using the form: `projects/{project_id}/locations/{location_id}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/appConnections", +"response": { +"$ref": "GoogleCloudBeyondcorpAppconnectionsV1ListAppConnectionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates the parameters of a single AppConnection.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/appConnections/{appConnectionsId}", +"httpMethod": "PATCH", +"id": "beyondcorp.projects.locations.appConnections.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"allowMissing": { +"description": "Optional. If set as true, will create the resource if it is not found.", +"location": "query", +"type": "boolean" +}, +"name": { +"description": "Required. Unique resource name of the AppConnection. The name is ignored when creating a AppConnection.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/appConnections/[^/]+$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"updateMask": { +"description": "Required. Mask of fields to update. At least one path must be supplied in this field. The elements of the repeated paths field may only include these fields from [BeyondCorp.AppConnection]: * `labels` * `display_name` * `application_endpoint` * `connectors`", +"format": "google-fieldmask", +"location": "query", +"type": "string" +}, +"validateOnly": { +"description": "Optional. If set, validates request by executing a dry-run which would not alter the resource in any way.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "GoogleCloudBeyondcorpAppconnectionsV1AppConnection" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"resolve": { +"description": "Resolves AppConnections details for a given AppConnector. An internal method called by a connector to find AppConnections to connect to.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/appConnections:resolve", +"httpMethod": "GET", +"id": "beyondcorp.projects.locations.appConnections.resolve", +"parameterOrder": [ +"parent" +], +"parameters": { +"appConnectorId": { +"description": "Required. BeyondCorp Connector name of the connector associated with those AppConnections using the form: `projects/{project_id}/locations/{location_id}/appConnectors/{app_connector_id}`", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Optional. The maximum number of items to return. If not specified, a default value of 50 will be used by the service. Regardless of the page_size value, the response may include a partial list and a caller should only rely on response's next_page_token to determine if there are more instances left to be queried.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. The next_page_token value returned from a previous ResolveAppConnectionsResponse, if any.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The resource name of the AppConnection location using the form: `projects/{project_id}/locations/{location_id}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/appConnections:resolve", +"response": { +"$ref": "GoogleCloudBeyondcorpAppconnectionsV1ResolveAppConnectionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"setIamPolicy": { +"description": "Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/appConnections/{appConnectionsId}:setIamPolicy", +"httpMethod": "POST", +"id": "beyondcorp.projects.locations.appConnections.setIamPolicy", +"parameterOrder": [ +"resource" +], +"parameters": { +"resource": { +"description": "REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/appConnections/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+resource}:setIamPolicy", +"request": { +"$ref": "GoogleIamV1SetIamPolicyRequest" +}, +"response": { +"$ref": "GoogleIamV1Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"testIamPermissions": { +"description": "Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may \"fail open\" without warning.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/appConnections/{appConnectionsId}:testIamPermissions", +"httpMethod": "POST", +"id": "beyondcorp.projects.locations.appConnections.testIamPermissions", +"parameterOrder": [ +"resource" +], +"parameters": { +"resource": { +"description": "REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/appConnections/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+resource}:testIamPermissions", +"request": { +"$ref": "GoogleIamV1TestIamPermissionsRequest" +}, +"response": { +"$ref": "GoogleIamV1TestIamPermissionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"appConnectors": { +"methods": { +"create": { +"description": "Creates a new AppConnector in a given project and location.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/appConnectors", +"httpMethod": "POST", +"id": "beyondcorp.projects.locations.appConnectors.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"appConnectorId": { +"description": "Optional. User-settable AppConnector resource ID. * Must start with a letter. * Must contain between 4-63 characters from `/a-z-/`. * Must end with a number or a letter.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The resource project name of the AppConnector location using the form: `projects/{project_id}/locations/{location_id}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"validateOnly": { +"description": "Optional. If set, validates request by executing a dry-run which would not alter the resource in any way.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1/{+parent}/appConnectors", +"request": { +"$ref": "GoogleCloudBeyondcorpAppconnectorsV1AppConnector" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a single AppConnector.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/appConnectors/{appConnectorsId}", +"httpMethod": "DELETE", +"id": "beyondcorp.projects.locations.appConnectors.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. BeyondCorp AppConnector name using the form: `projects/{project_id}/locations/{location_id}/appConnectors/{app_connector_id}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/appConnectors/[^/]+$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes after the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"validateOnly": { +"description": "Optional. If set, validates request by executing a dry-run which would not alter the resource in any way.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets details of a single AppConnector.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/appConnectors/{appConnectorsId}", +"httpMethod": "GET", +"id": "beyondcorp.projects.locations.appConnectors.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. BeyondCorp AppConnector name using the form: `projects/{project_id}/locations/{location_id}/appConnectors/{app_connector_id}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/appConnectors/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleCloudBeyondcorpAppconnectorsV1AppConnector" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"getIamPolicy": { +"description": "Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/appConnectors/{appConnectorsId}:getIamPolicy", +"httpMethod": "GET", +"id": "beyondcorp.projects.locations.appConnectors.getIamPolicy", +"parameterOrder": [ +"resource" +], +"parameters": { +"options.requestedPolicyVersion": { +"description": "Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).", +"format": "int32", +"location": "query", +"type": "integer" +}, +"resource": { +"description": "REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/appConnectors/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+resource}:getIamPolicy", +"response": { +"$ref": "GoogleIamV1Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists AppConnectors in a given project and location.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/appConnectors", +"httpMethod": "GET", +"id": "beyondcorp.projects.locations.appConnectors.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Optional. A filter specifying constraints of a list operation.", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "Optional. Specifies the ordering of results. See [Sorting order](https://cloud.google.com/apis/design/design_patterns#sorting_order) for more information.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Optional. The maximum number of items to return. If not specified, a default value of 50 will be used by the service. Regardless of the page_size value, the response may include a partial list and a caller should only rely on response's next_page_token to determine if there are more instances left to be queried.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. The next_page_token value returned from a previous ListAppConnectorsRequest, if any.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The resource name of the AppConnector location using the form: `projects/{project_id}/locations/{location_id}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/appConnectors", +"response": { +"$ref": "GoogleCloudBeyondcorpAppconnectorsV1ListAppConnectorsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates the parameters of a single AppConnector.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/appConnectors/{appConnectorsId}", +"httpMethod": "PATCH", +"id": "beyondcorp.projects.locations.appConnectors.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Unique resource name of the AppConnector. The name is ignored when creating a AppConnector.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/appConnectors/[^/]+$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"updateMask": { +"description": "Required. Mask of fields to update. At least one path must be supplied in this field. The elements of the repeated paths field may only include these fields from [BeyondCorp.AppConnector]: * `labels` * `display_name`", +"format": "google-fieldmask", +"location": "query", +"type": "string" +}, +"validateOnly": { +"description": "Optional. If set, validates request by executing a dry-run which would not alter the resource in any way.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "GoogleCloudBeyondcorpAppconnectorsV1AppConnector" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"reportStatus": { +"description": "Report status for a given connector.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/appConnectors/{appConnectorsId}:reportStatus", +"httpMethod": "POST", +"id": "beyondcorp.projects.locations.appConnectors.reportStatus", +"parameterOrder": [ +"appConnector" +], +"parameters": { +"appConnector": { +"description": "Required. BeyondCorp Connector name using the form: `projects/{project_id}/locations/{location_id}/connectors/{connector}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/appConnectors/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+appConnector}:reportStatus", +"request": { +"$ref": "GoogleCloudBeyondcorpAppconnectorsV1ReportStatusRequest" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"resolveInstanceConfig": { +"description": "Gets instance configuration for a given AppConnector. An internal method called by a AppConnector to get its container config.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/appConnectors/{appConnectorsId}:resolveInstanceConfig", +"httpMethod": "GET", +"id": "beyondcorp.projects.locations.appConnectors.resolveInstanceConfig", +"parameterOrder": [ +"appConnector" +], +"parameters": { +"appConnector": { +"description": "Required. BeyondCorp AppConnector name using the form: `projects/{project_id}/locations/{location_id}/appConnectors/{app_connector}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/appConnectors/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+appConnector}:resolveInstanceConfig", +"response": { +"$ref": "GoogleCloudBeyondcorpAppconnectorsV1ResolveInstanceConfigResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"setIamPolicy": { +"description": "Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/appConnectors/{appConnectorsId}:setIamPolicy", +"httpMethod": "POST", +"id": "beyondcorp.projects.locations.appConnectors.setIamPolicy", +"parameterOrder": [ +"resource" +], +"parameters": { +"resource": { +"description": "REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/appConnectors/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+resource}:setIamPolicy", +"request": { +"$ref": "GoogleIamV1SetIamPolicyRequest" +}, +"response": { +"$ref": "GoogleIamV1Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"testIamPermissions": { +"description": "Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may \"fail open\" without warning.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/appConnectors/{appConnectorsId}:testIamPermissions", +"httpMethod": "POST", +"id": "beyondcorp.projects.locations.appConnectors.testIamPermissions", +"parameterOrder": [ +"resource" +], +"parameters": { +"resource": { +"description": "REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/appConnectors/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+resource}:testIamPermissions", +"request": { +"$ref": "GoogleIamV1TestIamPermissionsRequest" +}, +"response": { +"$ref": "GoogleIamV1TestIamPermissionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"appGateways": { +"methods": { +"create": { +"description": "Creates a new AppGateway in a given project and location.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/appGateways", +"httpMethod": "POST", +"id": "beyondcorp.projects.locations.appGateways.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"appGatewayId": { +"description": "Optional. User-settable AppGateway resource ID. * Must start with a letter. * Must contain between 4-63 characters from `/a-z-/`. * Must end with a number or a letter.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The resource project name of the AppGateway location using the form: `projects/{project_id}/locations/{location_id}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"validateOnly": { +"description": "Optional. If set, validates request by executing a dry-run which would not alter the resource in any way.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1/{+parent}/appGateways", +"request": { +"$ref": "AppGateway" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a single AppGateway.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/appGateways/{appGatewaysId}", +"httpMethod": "DELETE", +"id": "beyondcorp.projects.locations.appGateways.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. BeyondCorp AppGateway name using the form: `projects/{project_id}/locations/{location_id}/appGateways/{app_gateway_id}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/appGateways/[^/]+$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes after the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"validateOnly": { +"description": "Optional. If set, validates request by executing a dry-run which would not alter the resource in any way.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets details of a single AppGateway.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/appGateways/{appGatewaysId}", +"httpMethod": "GET", +"id": "beyondcorp.projects.locations.appGateways.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. BeyondCorp AppGateway name using the form: `projects/{project_id}/locations/{location_id}/appGateways/{app_gateway_id}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/appGateways/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "AppGateway" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"getIamPolicy": { +"description": "Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/appGateways/{appGatewaysId}:getIamPolicy", +"httpMethod": "GET", +"id": "beyondcorp.projects.locations.appGateways.getIamPolicy", +"parameterOrder": [ +"resource" +], +"parameters": { +"options.requestedPolicyVersion": { +"description": "Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).", +"format": "int32", +"location": "query", +"type": "integer" +}, +"resource": { +"description": "REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/appGateways/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+resource}:getIamPolicy", +"response": { +"$ref": "GoogleIamV1Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists AppGateways in a given project and location.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/appGateways", +"httpMethod": "GET", +"id": "beyondcorp.projects.locations.appGateways.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Optional. A filter specifying constraints of a list operation.", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "Optional. Specifies the ordering of results. See [Sorting order](https://cloud.google.com/apis/design/design_patterns#sorting_order) for more information.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Optional. The maximum number of items to return. If not specified, a default value of 50 will be used by the service. Regardless of the page_size value, the response may include a partial list and a caller should only rely on response's next_page_token to determine if there are more instances left to be queried.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. The next_page_token value returned from a previous ListAppGatewaysRequest, if any.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The resource name of the AppGateway location using the form: `projects/{project_id}/locations/{location_id}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/appGateways", +"response": { +"$ref": "ListAppGatewaysResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"setIamPolicy": { +"description": "Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/appGateways/{appGatewaysId}:setIamPolicy", +"httpMethod": "POST", +"id": "beyondcorp.projects.locations.appGateways.setIamPolicy", +"parameterOrder": [ +"resource" +], +"parameters": { +"resource": { +"description": "REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/appGateways/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+resource}:setIamPolicy", +"request": { +"$ref": "GoogleIamV1SetIamPolicyRequest" +}, +"response": { +"$ref": "GoogleIamV1Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"testIamPermissions": { +"description": "Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may \"fail open\" without warning.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/appGateways/{appGatewaysId}:testIamPermissions", +"httpMethod": "POST", +"id": "beyondcorp.projects.locations.appGateways.testIamPermissions", +"parameterOrder": [ +"resource" +], +"parameters": { +"resource": { +"description": "REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/appGateways/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+resource}:testIamPermissions", +"request": { +"$ref": "GoogleIamV1TestIamPermissionsRequest" +}, +"response": { +"$ref": "GoogleIamV1TestIamPermissionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"operations": { +"methods": { +"cancel": { +"description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}:cancel", +"httpMethod": "POST", +"id": "beyondcorp.projects.locations.operations.cancel", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be cancelled.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:cancel", +"request": { +"$ref": "GoogleLongrunningCancelOperationRequest" +}, +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}", +"httpMethod": "DELETE", +"id": "beyondcorp.projects.locations.operations.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be deleted.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}", +"httpMethod": "GET", +"id": "beyondcorp.projects.locations.operations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/operations", +"httpMethod": "GET", +"id": "beyondcorp.projects.locations.operations.list", +"parameterOrder": [ +"name" +], +"parameters": { +"filter": { +"description": "The standard list filter.", +"location": "query", +"type": "string" +}, +"name": { +"description": "The name of the operation's parent resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The standard list page size.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The standard list page token.", +"location": "query", +"type": "string" +}, +"returnPartialSuccess": { +"description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `\"projects/example/locations/-\"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1/{+name}/operations", +"response": { +"$ref": "GoogleLongrunningListOperationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"securityGateways": { +"methods": { +"create": { +"description": "Creates a new Security Gateway in a given project and location.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/securityGateways", +"httpMethod": "POST", +"id": "beyondcorp.projects.locations.securityGateways.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The resource project name of the SecurityGateway location using the form: `projects/{project_id}/locations/{location_id}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request.", +"location": "query", +"type": "string" +}, +"securityGatewayId": { +"description": "Optional. User-settable SecurityGateway resource ID. * Must start with a letter. * Must contain between 4-63 characters from `/a-z-/`. * Must end with a number or letter.", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+parent}/securityGateways", +"request": { +"$ref": "GoogleCloudBeyondcorpSecuritygatewaysV1SecurityGateway" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a single SecurityGateway.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/securityGateways/{securityGatewaysId}", +"httpMethod": "DELETE", +"id": "beyondcorp.projects.locations.securityGateways.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. BeyondCorp SecurityGateway name using the form: `projects/{project_id}/locations/{location_id}/securityGateways/{security_gateway_id}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/securityGateways/[^/]+$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes after the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"validateOnly": { +"description": "Optional. If set, validates request by executing a dry-run which would not alter the resource in any way.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets details of a single SecurityGateway.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/securityGateways/{securityGatewaysId}", +"httpMethod": "GET", +"id": "beyondcorp.projects.locations.securityGateways.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the PartnerTenant using the form: `projects/{project_id}/locations/{location_id}/securityGateway/{security_gateway_id}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/securityGateways/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleCloudBeyondcorpSecuritygatewaysV1SecurityGateway" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"getIamPolicy": { +"description": "Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/securityGateways/{securityGatewaysId}:getIamPolicy", +"httpMethod": "GET", +"id": "beyondcorp.projects.locations.securityGateways.getIamPolicy", +"parameterOrder": [ +"resource" +], +"parameters": { +"options.requestedPolicyVersion": { +"description": "Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).", +"format": "int32", +"location": "query", +"type": "integer" +}, +"resource": { +"description": "REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/securityGateways/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+resource}:getIamPolicy", +"response": { +"$ref": "GoogleIamV1Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists SecurityGateways in a given project and location.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/securityGateways", +"httpMethod": "GET", +"id": "beyondcorp.projects.locations.securityGateways.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Optional. A filter specifying constraints of a list operation. All fields in the SecurityGateway message are supported. For example, the following query will return the SecurityGateway with displayName \"test-security-gateway\" For more information, please refer to https://google.aip.dev/160.", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "Optional. Specifies the ordering of results. See [Sorting order](https://cloud.google.com/apis/design/design_patterns#sorting_order) for more information.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Optional. The maximum number of items to return. If not specified, a default value of 50 will be used by the service. Regardless of the page_size value, the response may include a partial list and a caller should only rely on response's next_page_token to determine if there are more instances left to be queried.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. The next_page_token value returned from a previous ListSecurityGatewayRequest, if any.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent location to which the resources belong. `projects/{project_id}/locations/{location_id}/`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/securityGateways", +"response": { +"$ref": "GoogleCloudBeyondcorpSecuritygatewaysV1ListSecurityGatewaysResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates the parameters of a single SecurityGateway.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/securityGateways/{securityGatewaysId}", +"httpMethod": "PATCH", +"id": "beyondcorp.projects.locations.securityGateways.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Identifier. Name of the resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/securityGateways/[^/]+$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes after the first request. For example, consider a situation where you make an initial request and the request timed out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"updateMask": { +"description": "Optional. Mutable fields include: display_name, hubs.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "GoogleCloudBeyondcorpSecuritygatewaysV1SecurityGateway" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"setIamPolicy": { +"description": "Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/securityGateways/{securityGatewaysId}:setIamPolicy", +"httpMethod": "POST", +"id": "beyondcorp.projects.locations.securityGateways.setIamPolicy", +"parameterOrder": [ +"resource" +], +"parameters": { +"resource": { +"description": "REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/securityGateways/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+resource}:setIamPolicy", +"request": { +"$ref": "GoogleIamV1SetIamPolicyRequest" +}, +"response": { +"$ref": "GoogleIamV1Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"testIamPermissions": { +"description": "Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may \"fail open\" without warning.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/securityGateways/{securityGatewaysId}:testIamPermissions", +"httpMethod": "POST", +"id": "beyondcorp.projects.locations.securityGateways.testIamPermissions", +"parameterOrder": [ +"resource" +], +"parameters": { +"resource": { +"description": "REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/securityGateways/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+resource}:testIamPermissions", +"request": { +"$ref": "GoogleIamV1TestIamPermissionsRequest" +}, +"response": { +"$ref": "GoogleIamV1TestIamPermissionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"applications": { +"methods": { +"create": { +"description": "Creates a new Application in a given project and location.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/securityGateways/{securityGatewaysId}/applications", +"httpMethod": "POST", +"id": "beyondcorp.projects.locations.securityGateways.applications.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"applicationId": { +"description": "Optional. User-settable Application resource ID. * Must start with a letter. * Must contain between 4-63 characters from `/a-z-/`. * Must end with a number or letter.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The resource name of the parent SecurityGateway using the form: `projects/{project_id}/locations/global/securityGateways/{security_gateway_id}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/securityGateways/[^/]+$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request.", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+parent}/applications", +"request": { +"$ref": "GoogleCloudBeyondcorpSecuritygatewaysV1Application" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a single application.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/securityGateways/{securityGatewaysId}/applications/{applicationsId}", +"httpMethod": "DELETE", +"id": "beyondcorp.projects.locations.securityGateways.applications.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of the resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/securityGateways/[^/]+/applications/[^/]+$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes after the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"validateOnly": { +"description": "Optional. If set, validates request by executing a dry-run which would not alter the resource in any way.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets details of a single Application.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/securityGateways/{securityGatewaysId}/applications/{applicationsId}", +"httpMethod": "GET", +"id": "beyondcorp.projects.locations.securityGateways.applications.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the Application using the form: `projects/{project_id}/locations/global/securityGateway/{security_gateway_id}/applications/{application_id}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/securityGateways/[^/]+/applications/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleCloudBeyondcorpSecuritygatewaysV1Application" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"getIamPolicy": { +"description": "Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/securityGateways/{securityGatewaysId}/applications/{applicationsId}:getIamPolicy", +"httpMethod": "GET", +"id": "beyondcorp.projects.locations.securityGateways.applications.getIamPolicy", +"parameterOrder": [ +"resource" +], +"parameters": { +"options.requestedPolicyVersion": { +"description": "Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).", +"format": "int32", +"location": "query", +"type": "integer" +}, +"resource": { +"description": "REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/securityGateways/[^/]+/applications/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+resource}:getIamPolicy", +"response": { +"$ref": "GoogleIamV1Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists Applications in a given project and location.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/securityGateways/{securityGatewaysId}/applications", +"httpMethod": "GET", +"id": "beyondcorp.projects.locations.securityGateways.applications.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Optional. A filter specifying constraints of a list operation. All fields in the Application message are supported. For example, the following query will return the Application with displayName \"test-application\" For more information, please refer to https://google.aip.dev/160.", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "Optional. Specifies the ordering of results. See [Sorting order](https://cloud.google.com/apis/design/design_patterns#sorting_order) for more information.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Optional. The maximum number of items to return. If not specified, a default value of 50 will be used by the service. Regardless of the page_size value, the response may include a partial list and a caller should only rely on response's next_page_token to determine if there are more instances left to be queried.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. The next_page_token value returned from a previous ListApplicationsRequest, if any.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent location to which the resources belong. `projects/{project_id}/locations/global/securityGateways/{security_gateway_id}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/securityGateways/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/applications", +"response": { +"$ref": "GoogleCloudBeyondcorpSecuritygatewaysV1ListApplicationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates the parameters of a single Application.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/securityGateways/{securityGatewaysId}/applications/{applicationsId}", +"httpMethod": "PATCH", +"id": "beyondcorp.projects.locations.securityGateways.applications.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Identifier. Name of the resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/securityGateways/[^/]+/applications/[^/]+$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes after the first request. For example, consider a situation where you make an initial request and the request timed out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"updateMask": { +"description": "Optional. Mutable fields include: display_name.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "GoogleCloudBeyondcorpSecuritygatewaysV1Application" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"setIamPolicy": { +"description": "Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/securityGateways/{securityGatewaysId}/applications/{applicationsId}:setIamPolicy", +"httpMethod": "POST", +"id": "beyondcorp.projects.locations.securityGateways.applications.setIamPolicy", +"parameterOrder": [ +"resource" +], +"parameters": { +"resource": { +"description": "REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/securityGateways/[^/]+/applications/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+resource}:setIamPolicy", +"request": { +"$ref": "GoogleIamV1SetIamPolicyRequest" +}, +"response": { +"$ref": "GoogleIamV1Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"testIamPermissions": { +"description": "Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may \"fail open\" without warning.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/securityGateways/{securityGatewaysId}/applications/{applicationsId}:testIamPermissions", +"httpMethod": "POST", +"id": "beyondcorp.projects.locations.securityGateways.applications.testIamPermissions", +"parameterOrder": [ +"resource" +], +"parameters": { +"resource": { +"description": "REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/securityGateways/[^/]+/applications/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+resource}:testIamPermissions", +"request": { +"$ref": "GoogleIamV1TestIamPermissionsRequest" +}, +"response": { +"$ref": "GoogleIamV1TestIamPermissionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +} +} +} +} +} +}, +"revision": "20260128", +"rootUrl": "https://beyondcorp.googleapis.com/", +"schemas": { +"AllocatedConnection": { +"description": "Allocated connection of the AppGateway.", +"id": "AllocatedConnection", +"properties": { +"ingressPort": { +"description": "Required. The ingress port of an allocated connection", +"format": "int32", +"type": "integer" +}, +"pscUri": { +"description": "Required. The PSC uri of an allocated connection", +"type": "string" +} +}, +"type": "object" +}, +"AppGateway": { +"description": "A BeyondCorp AppGateway resource represents a BeyondCorp protected AppGateway to a remote application. It creates all the necessary GCP components needed for creating a BeyondCorp protected AppGateway. Multiple connectors can be authorised for a single AppGateway.", +"id": "AppGateway", +"properties": { +"allocatedConnections": { +"description": "Output only. A list of connections allocated for the Gateway", +"items": { +"$ref": "AllocatedConnection" +}, +"readOnly": true, +"type": "array" +}, +"createTime": { +"description": "Output only. Timestamp when the resource was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"displayName": { +"description": "Optional. An arbitrary user-provided name for the AppGateway. Cannot exceed 64 characters.", +"type": "string" +}, +"hostType": { +"description": "Required. The type of hosting used by the AppGateway.", +"enum": [ +"HOST_TYPE_UNSPECIFIED", +"GCP_REGIONAL_MIG" +], +"enumDescriptions": [ +"Default value. This value is unused.", +"AppGateway hosted in a GCP regional managed instance group." +], +"type": "string" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. Resource labels to represent user provided metadata.", +"type": "object" +}, +"name": { +"description": "Required. Unique resource name of the AppGateway. The name is ignored when creating an AppGateway.", +"type": "string" +}, +"satisfiesPzi": { +"description": "Output only. Reserved for future use.", +"readOnly": true, +"type": "boolean" +}, +"satisfiesPzs": { +"description": "Output only. Reserved for future use.", +"readOnly": true, +"type": "boolean" +}, +"state": { +"description": "Output only. The current state of the AppGateway.", +"enum": [ +"STATE_UNSPECIFIED", +"CREATING", +"CREATED", +"UPDATING", +"DELETING", +"DOWN" +], +"enumDescriptions": [ +"Default value. This value is unused.", +"AppGateway is being created.", +"AppGateway has been created.", +"AppGateway's configuration is being updated.", +"AppGateway is being deleted.", +"AppGateway is down and may be restored in the future. This happens when CCFE sends ProjectState = OFF." +], +"readOnly": true, +"type": "string" +}, +"type": { +"description": "Required. The type of network connectivity used by the AppGateway.", +"enum": [ +"TYPE_UNSPECIFIED", +"TCP_PROXY" +], +"enumDescriptions": [ +"Default value. This value is unused.", +"TCP Proxy based BeyondCorp Connection. API will default to this if unset." +], +"type": "string" +}, +"uid": { +"description": "Output only. A unique identifier for the instance generated by the system.", +"readOnly": true, +"type": "string" +}, +"updateTime": { +"description": "Output only. Timestamp when the resource was last modified.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"uri": { +"description": "Output only. Server-defined URI for this resource.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"AppGatewayOperationMetadata": { +"description": "Represents the metadata of the long-running operation.", +"id": "AppGatewayOperationMetadata", +"properties": { +"apiVersion": { +"description": "Output only. API version used to start the operation.", +"readOnly": true, +"type": "string" +}, +"createTime": { +"description": "Output only. The time the operation was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"endTime": { +"description": "Output only. The time the operation finished running.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"requestedCancellation": { +"description": "Output only. Identifies whether the user has requested cancellation of the operation. Operations that have successfully been cancelled have google.longrunning.Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.", +"readOnly": true, +"type": "boolean" +}, +"statusMessage": { +"description": "Output only. Human-readable status of the operation, if any.", +"readOnly": true, +"type": "string" +}, +"target": { +"description": "Output only. Server-defined resource path for the target of the operation.", +"readOnly": true, +"type": "string" +}, +"verb": { +"description": "Output only. Name of the verb executed by the operation.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"CloudSecurityZerotrustApplinkAppConnectorProtoConnectionConfig": { +"description": "ConnectionConfig represents a Connection Configuration object.", +"id": "CloudSecurityZerotrustApplinkAppConnectorProtoConnectionConfig", +"properties": { +"applicationEndpoint": { +"description": "application_endpoint is the endpoint of the application the form of host:port. For example, \"localhost:80\".", +"type": "string" +}, +"applicationName": { +"description": "application_name represents the given name of the application the connection is connecting with.", +"type": "string" +}, +"gateway": { +"description": "gateway lists all instances running a gateway in GCP. They all connect to a connector on the host.", +"items": { +"$ref": "CloudSecurityZerotrustApplinkAppConnectorProtoGateway" +}, +"type": "array" +}, +"name": { +"description": "name is the unique ID for each connection. TODO(b/190732451) returns connection name from user-specified name in config. Now, name = ${application_name}:${application_endpoint}", +"type": "string" +}, +"project": { +"description": "project represents the consumer project the connection belongs to.", +"type": "string" +}, +"tunnelsPerGateway": { +"description": "tunnels_per_gateway reflects the number of tunnels between a connector and a gateway.", +"format": "uint32", +"type": "integer" +}, +"userPort": { +"description": "user_port specifies the reserved port on gateways for user connections.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"CloudSecurityZerotrustApplinkAppConnectorProtoConnectorDetails": { +"description": "ConnectorDetails reflects the details of a connector.", +"id": "CloudSecurityZerotrustApplinkAppConnectorProtoConnectorDetails", +"properties": {}, +"type": "object" +}, +"CloudSecurityZerotrustApplinkAppConnectorProtoGateway": { +"description": "Gateway represents a GCE VM Instance endpoint for use by IAP TCP.", +"id": "CloudSecurityZerotrustApplinkAppConnectorProtoGateway", +"properties": { +"interface": { +"description": "interface specifies the network interface of the gateway to connect to.", +"type": "string" +}, +"name": { +"description": "name is the name of an instance running a gateway. It is the unique ID for a gateway. All gateways under the same connection have the same prefix. It is derived from the gateway URL. For example, name=${instance} assuming a gateway URL. https://www.googleapis.com/compute/${version}/projects/${project}/zones/${zone}/instances/${instance}", +"type": "string" +}, +"port": { +"description": "port specifies the port of the gateway for tunnel connections from the connectors.", +"format": "uint32", +"type": "integer" +}, +"project": { +"description": "project is the tenant project the gateway belongs to. Different from the project in the connection, it is a BeyondCorpAPI internally created project to manage all the gateways. It is sharing the same network with the consumer project user owned. It is derived from the gateway URL. For example, project=${project} assuming a gateway URL. https://www.googleapis.com/compute/${version}/projects/${project}/zones/${zone}/instances/${instance}", +"type": "string" +}, +"selfLink": { +"description": "self_link is the gateway URL in the form https://www.googleapis.com/compute/${version}/projects/${project}/zones/${zone}/instances/${instance}", +"type": "string" +}, +"zone": { +"description": "zone represents the zone the instance belongs. It is derived from the gateway URL. For example, zone=${zone} assuming a gateway URL. https://www.googleapis.com/compute/${version}/projects/${project}/zones/${zone}/instances/${instance}", +"type": "string" +} +}, +"type": "object" +}, +"CloudSecurityZerotrustApplinkLogagentProtoLogAgentDetails": { +"description": "LogAgentDetails reflects the details of a log agent.", +"id": "CloudSecurityZerotrustApplinkLogagentProtoLogAgentDetails", +"properties": {}, +"type": "object" +}, +"Empty": { +"description": "A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }", +"id": "Empty", +"properties": {}, +"type": "object" +}, +"GoogleCloudBeyondcorpAppconnectionsV1AppConnection": { +"description": "A BeyondCorp AppConnection resource represents a BeyondCorp protected AppConnection to a remote application. It creates all the necessary GCP components needed for creating a BeyondCorp protected AppConnection. Multiple connectors can be authorised for a single AppConnection.", +"id": "GoogleCloudBeyondcorpAppconnectionsV1AppConnection", +"properties": { +"applicationEndpoint": { +"$ref": "GoogleCloudBeyondcorpAppconnectionsV1AppConnectionApplicationEndpoint", +"description": "Required. Address of the remote application endpoint for the BeyondCorp AppConnection." +}, +"connectors": { +"description": "Optional. List of [google.cloud.beyondcorp.v1main.Connector.name] that are authorised to be associated with this AppConnection.", +"items": { +"type": "string" +}, +"type": "array" +}, +"createTime": { +"description": "Output only. Timestamp when the resource was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"displayName": { +"description": "Optional. An arbitrary user-provided name for the AppConnection. Cannot exceed 64 characters.", +"type": "string" +}, +"gateway": { +"$ref": "GoogleCloudBeyondcorpAppconnectionsV1AppConnectionGateway", +"description": "Optional. Gateway used by the AppConnection." +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. Resource labels to represent user provided metadata.", +"type": "object" +}, +"name": { +"description": "Required. Unique resource name of the AppConnection. The name is ignored when creating a AppConnection.", +"type": "string" +}, +"satisfiesPzi": { +"description": "Output only. Reserved for future use.", +"readOnly": true, +"type": "boolean" +}, +"satisfiesPzs": { +"description": "Output only. Reserved for future use.", +"readOnly": true, +"type": "boolean" +}, +"state": { +"description": "Output only. The current state of the AppConnection.", +"enum": [ +"STATE_UNSPECIFIED", +"CREATING", +"CREATED", +"UPDATING", +"DELETING", +"DOWN" +], +"enumDescriptions": [ +"Default value. This value is unused.", +"AppConnection is being created.", +"AppConnection has been created.", +"AppConnection's configuration is being updated.", +"AppConnection is being deleted.", +"AppConnection is down and may be restored in the future. This happens when CCFE sends ProjectState = OFF." +], +"readOnly": true, +"type": "string" +}, +"type": { +"description": "Required. The type of network connectivity used by the AppConnection.", +"enum": [ +"TYPE_UNSPECIFIED", +"TCP_PROXY" +], +"enumDescriptions": [ +"Default value. This value is unused.", +"TCP Proxy based BeyondCorp AppConnection. API will default to this if unset." +], +"type": "string" +}, +"uid": { +"description": "Output only. A unique identifier for the instance generated by the system.", +"readOnly": true, +"type": "string" +}, +"updateTime": { +"description": "Output only. Timestamp when the resource was last modified.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudBeyondcorpAppconnectionsV1AppConnectionApplicationEndpoint": { +"description": "ApplicationEndpoint represents a remote application endpoint.", +"id": "GoogleCloudBeyondcorpAppconnectionsV1AppConnectionApplicationEndpoint", +"properties": { +"host": { +"description": "Required. Hostname or IP address of the remote application endpoint.", +"type": "string" +}, +"port": { +"description": "Required. Port of the remote application endpoint.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"GoogleCloudBeyondcorpAppconnectionsV1AppConnectionGateway": { +"description": "Gateway represents a user facing component that serves as an entrance to enable connectivity.", +"id": "GoogleCloudBeyondcorpAppconnectionsV1AppConnectionGateway", +"properties": { +"appGateway": { +"description": "Required. AppGateway name in following format: `projects/{project_id}/locations/{location_id}/appgateways/{gateway_id}`", +"type": "string" +}, +"ingressPort": { +"description": "Output only. Ingress port reserved on the gateways for this AppConnection, if not specified or zero, the default port is 19443.", +"format": "int32", +"readOnly": true, +"type": "integer" +}, +"l7psc": { +"description": "Output only. L7 private service connection for this resource.", +"readOnly": true, +"type": "string" +}, +"type": { +"description": "Required. The type of hosting used by the gateway.", +"enum": [ +"TYPE_UNSPECIFIED", +"GCP_REGIONAL_MIG" +], +"enumDescriptions": [ +"Default value. This value is unused.", +"Gateway hosted in a GCP regional managed instance group." +], +"type": "string" +}, +"uri": { +"description": "Output only. Server-defined URI for this resource.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudBeyondcorpAppconnectionsV1AppConnectionOperationMetadata": { +"description": "Represents the metadata of the long-running operation.", +"id": "GoogleCloudBeyondcorpAppconnectionsV1AppConnectionOperationMetadata", +"properties": { +"apiVersion": { +"description": "Output only. API version used to start the operation.", +"readOnly": true, +"type": "string" +}, +"createTime": { +"description": "Output only. The time the operation was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"endTime": { +"description": "Output only. The time the operation finished running.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"requestedCancellation": { +"description": "Output only. Identifies whether the user has requested cancellation of the operation. Operations that have successfully been cancelled have google.longrunning.Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.", +"readOnly": true, +"type": "boolean" +}, +"statusMessage": { +"description": "Output only. Human-readable status of the operation, if any.", +"readOnly": true, +"type": "string" +}, +"target": { +"description": "Output only. Server-defined resource path for the target of the operation.", +"readOnly": true, +"type": "string" +}, +"verb": { +"description": "Output only. Name of the verb executed by the operation.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudBeyondcorpAppconnectionsV1ListAppConnectionsResponse": { +"description": "Response message for BeyondCorp.ListAppConnections.", +"id": "GoogleCloudBeyondcorpAppconnectionsV1ListAppConnectionsResponse", +"properties": { +"appConnections": { +"description": "A list of BeyondCorp AppConnections in the project.", +"items": { +"$ref": "GoogleCloudBeyondcorpAppconnectionsV1AppConnection" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A token to retrieve the next page of results, or empty if there are no more results in the list.", +"type": "string" +}, +"unreachable": { +"description": "A list of locations that could not be reached.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudBeyondcorpAppconnectionsV1ResolveAppConnectionsResponse": { +"description": "Response message for BeyondCorp.ResolveAppConnections.", +"id": "GoogleCloudBeyondcorpAppconnectionsV1ResolveAppConnectionsResponse", +"properties": { +"appConnectionDetails": { +"description": "A list of BeyondCorp AppConnections with details in the project.", +"items": { +"$ref": "GoogleCloudBeyondcorpAppconnectionsV1ResolveAppConnectionsResponseAppConnectionDetails" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A token to retrieve the next page of results, or empty if there are no more results in the list.", +"type": "string" +}, +"unreachable": { +"description": "A list of locations that could not be reached.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudBeyondcorpAppconnectionsV1ResolveAppConnectionsResponseAppConnectionDetails": { +"description": "Details of the AppConnection.", +"id": "GoogleCloudBeyondcorpAppconnectionsV1ResolveAppConnectionsResponseAppConnectionDetails", +"properties": { +"appConnection": { +"$ref": "GoogleCloudBeyondcorpAppconnectionsV1AppConnection", +"description": "A BeyondCorp AppConnection in the project." +}, +"recentMigVms": { +"description": "If type=GCP_REGIONAL_MIG, contains most recent VM instances, like `https://www.googleapis.com/compute/v1/projects/{project_id}/zones/{zone_id}/instances/{instance_id}`.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudBeyondcorpAppconnectionsV1alphaAppConnectionOperationMetadata": { +"description": "Represents the metadata of the long-running operation.", +"id": "GoogleCloudBeyondcorpAppconnectionsV1alphaAppConnectionOperationMetadata", +"properties": { +"apiVersion": { +"description": "Output only. API version used to start the operation.", +"readOnly": true, +"type": "string" +}, +"createTime": { +"description": "Output only. The time the operation was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"endTime": { +"description": "Output only. The time the operation finished running.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"requestedCancellation": { +"description": "Output only. Identifies whether the user has requested cancellation of the operation. Operations that have successfully been cancelled have google.longrunning.Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.", +"readOnly": true, +"type": "boolean" +}, +"statusMessage": { +"description": "Output only. Human-readable status of the operation, if any.", +"readOnly": true, +"type": "string" +}, +"target": { +"description": "Output only. Server-defined resource path for the target of the operation.", +"readOnly": true, +"type": "string" +}, +"verb": { +"description": "Output only. Name of the verb executed by the operation.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudBeyondcorpAppconnectorsV1AppConnector": { +"description": "A BeyondCorp connector resource that represents an application facing component deployed proximal to and with direct access to the application instances. It is used to establish connectivity between the remote enterprise environment and GCP. It initiates connections to the applications and can proxy the data from users over the connection.", +"id": "GoogleCloudBeyondcorpAppconnectorsV1AppConnector", +"properties": { +"createTime": { +"description": "Output only. Timestamp when the resource was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"displayName": { +"description": "Optional. An arbitrary user-provided name for the AppConnector. Cannot exceed 64 characters.", +"type": "string" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. Resource labels to represent user provided metadata.", +"type": "object" +}, +"name": { +"description": "Required. Unique resource name of the AppConnector. The name is ignored when creating a AppConnector.", +"type": "string" +}, +"principalInfo": { +"$ref": "GoogleCloudBeyondcorpAppconnectorsV1AppConnectorPrincipalInfo", +"description": "Required. Principal information about the Identity of the AppConnector." +}, +"resourceInfo": { +"$ref": "GoogleCloudBeyondcorpAppconnectorsV1ResourceInfo", +"description": "Optional. Resource info of the connector." +}, +"state": { +"description": "Output only. The current state of the AppConnector.", +"enum": [ +"STATE_UNSPECIFIED", +"CREATING", +"CREATED", +"UPDATING", +"DELETING", +"DOWN" +], +"enumDescriptions": [ +"Default value. This value is unused.", +"AppConnector is being created.", +"AppConnector has been created.", +"AppConnector's configuration is being updated.", +"AppConnector is being deleted.", +"AppConnector is down and may be restored in the future. This happens when CCFE sends ProjectState = OFF." +], +"readOnly": true, +"type": "string" +}, +"uid": { +"description": "Output only. A unique identifier for the instance generated by the system.", +"readOnly": true, +"type": "string" +}, +"updateTime": { +"description": "Output only. Timestamp when the resource was last modified.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudBeyondcorpAppconnectorsV1AppConnectorInstanceConfig": { +"description": "AppConnectorInstanceConfig defines the instance config of a AppConnector.", +"id": "GoogleCloudBeyondcorpAppconnectorsV1AppConnectorInstanceConfig", +"properties": { +"imageConfig": { +"$ref": "GoogleCloudBeyondcorpAppconnectorsV1ImageConfig", +"description": "ImageConfig defines the GCR images to run for the remote agent's control plane." +}, +"instanceConfig": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "The SLM instance agent configuration.", +"type": "object" +}, +"notificationConfig": { +"$ref": "GoogleCloudBeyondcorpAppconnectorsV1NotificationConfig", +"description": "NotificationConfig defines the notification mechanism that the remote instance should subscribe to in order to receive notification." +}, +"sequenceNumber": { +"description": "Required. A monotonically increasing number generated and maintained by the API provider. Every time a config changes in the backend, the sequenceNumber should be bumped up to reflect the change.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudBeyondcorpAppconnectorsV1AppConnectorOperationMetadata": { +"description": "Represents the metadata of the long-running operation.", +"id": "GoogleCloudBeyondcorpAppconnectorsV1AppConnectorOperationMetadata", +"properties": { +"apiVersion": { +"description": "Output only. API version used to start the operation.", +"readOnly": true, +"type": "string" +}, +"createTime": { +"description": "Output only. The time the operation was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"endTime": { +"description": "Output only. The time the operation finished running.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"requestedCancellation": { +"description": "Output only. Identifies whether the user has requested cancellation of the operation. Operations that have successfully been cancelled have google.longrunning.Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.", +"readOnly": true, +"type": "boolean" +}, +"statusMessage": { +"description": "Output only. Human-readable status of the operation, if any.", +"readOnly": true, +"type": "string" +}, +"target": { +"description": "Output only. Server-defined resource path for the target of the operation.", +"readOnly": true, +"type": "string" +}, +"verb": { +"description": "Output only. Name of the verb executed by the operation.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudBeyondcorpAppconnectorsV1AppConnectorPrincipalInfo": { +"description": "PrincipalInfo represents an Identity oneof.", +"id": "GoogleCloudBeyondcorpAppconnectorsV1AppConnectorPrincipalInfo", +"properties": { +"serviceAccount": { +"$ref": "GoogleCloudBeyondcorpAppconnectorsV1AppConnectorPrincipalInfoServiceAccount", +"description": "A GCP service account." +} +}, +"type": "object" +}, +"GoogleCloudBeyondcorpAppconnectorsV1AppConnectorPrincipalInfoServiceAccount": { +"description": "ServiceAccount represents a GCP service account.", +"id": "GoogleCloudBeyondcorpAppconnectorsV1AppConnectorPrincipalInfoServiceAccount", +"properties": { +"email": { +"description": "Email address of the service account.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudBeyondcorpAppconnectorsV1ContainerHealthDetails": { +"description": "ContainerHealthDetails reflects the health details of a container.", +"id": "GoogleCloudBeyondcorpAppconnectorsV1ContainerHealthDetails", +"properties": { +"currentConfigVersion": { +"description": "The version of the current config.", +"type": "string" +}, +"errorMsg": { +"description": "The latest error message.", +"type": "string" +}, +"expectedConfigVersion": { +"description": "The version of the expected config.", +"type": "string" +}, +"extendedStatus": { +"additionalProperties": { +"type": "string" +}, +"description": "The extended status. Such as ExitCode, StartedAt, FinishedAt, etc.", +"type": "object" +} +}, +"type": "object" +}, +"GoogleCloudBeyondcorpAppconnectorsV1ImageConfig": { +"description": "ImageConfig defines the control plane images to run.", +"id": "GoogleCloudBeyondcorpAppconnectorsV1ImageConfig", +"properties": { +"stableImage": { +"description": "The stable image that the remote agent will fallback to if the target image fails. Format would be a gcr image path, e.g.: gcr.io/PROJECT-ID/my-image:tag1", +"type": "string" +}, +"targetImage": { +"description": "The initial image the remote agent will attempt to run for the control plane. Format would be a gcr image path, e.g.: gcr.io/PROJECT-ID/my-image:tag1", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudBeyondcorpAppconnectorsV1ListAppConnectorsResponse": { +"description": "Response message for BeyondCorp.ListAppConnectors.", +"id": "GoogleCloudBeyondcorpAppconnectorsV1ListAppConnectorsResponse", +"properties": { +"appConnectors": { +"description": "A list of BeyondCorp AppConnectors in the project.", +"items": { +"$ref": "GoogleCloudBeyondcorpAppconnectorsV1AppConnector" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A token to retrieve the next page of results, or empty if there are no more results in the list.", +"type": "string" +}, +"unreachable": { +"description": "A list of locations that could not be reached.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudBeyondcorpAppconnectorsV1NotificationConfig": { +"description": "NotificationConfig defines the mechanisms to notify instance agent.", +"id": "GoogleCloudBeyondcorpAppconnectorsV1NotificationConfig", +"properties": { +"pubsubNotification": { +"$ref": "GoogleCloudBeyondcorpAppconnectorsV1NotificationConfigCloudPubSubNotificationConfig", +"description": "Cloud Pub/Sub Configuration to receive notifications." +} +}, +"type": "object" +}, +"GoogleCloudBeyondcorpAppconnectorsV1NotificationConfigCloudPubSubNotificationConfig": { +"description": "The configuration for Pub/Sub messaging for the AppConnector.", +"id": "GoogleCloudBeyondcorpAppconnectorsV1NotificationConfigCloudPubSubNotificationConfig", +"properties": { +"pubsubSubscription": { +"description": "The Pub/Sub subscription the AppConnector uses to receive notifications.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudBeyondcorpAppconnectorsV1RemoteAgentDetails": { +"description": "RemoteAgentDetails reflects the details of a remote agent.", +"id": "GoogleCloudBeyondcorpAppconnectorsV1RemoteAgentDetails", +"properties": {}, +"type": "object" +}, +"GoogleCloudBeyondcorpAppconnectorsV1ReportStatusRequest": { +"description": "Request report the connector status.", +"id": "GoogleCloudBeyondcorpAppconnectorsV1ReportStatusRequest", +"properties": { +"requestId": { +"description": "Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", +"type": "string" +}, +"resourceInfo": { +"$ref": "GoogleCloudBeyondcorpAppconnectorsV1ResourceInfo", +"description": "Required. Resource info of the connector." +}, +"validateOnly": { +"description": "Optional. If set, validates request by executing a dry-run which would not alter the resource in any way.", +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleCloudBeyondcorpAppconnectorsV1ResolveInstanceConfigResponse": { +"description": "Response message for BeyondCorp.ResolveInstanceConfig.", +"id": "GoogleCloudBeyondcorpAppconnectorsV1ResolveInstanceConfigResponse", +"properties": { +"instanceConfig": { +"$ref": "GoogleCloudBeyondcorpAppconnectorsV1AppConnectorInstanceConfig", +"description": "AppConnectorInstanceConfig." +} +}, +"type": "object" +}, +"GoogleCloudBeyondcorpAppconnectorsV1ResourceInfo": { +"description": "ResourceInfo represents the information/status of an app connector resource. Such as: - remote_agent - container - runtime - appgateway - appconnector - appconnection - tunnel - logagent", +"id": "GoogleCloudBeyondcorpAppconnectorsV1ResourceInfo", +"properties": { +"id": { +"description": "Required. Unique Id for the resource.", +"type": "string" +}, +"resource": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "Specific details for the resource. This is for internal use only.", +"type": "object" +}, +"status": { +"description": "Overall health status. Overall status is derived based on the status of each sub level resources.", +"enum": [ +"HEALTH_STATUS_UNSPECIFIED", +"HEALTHY", +"UNHEALTHY", +"UNRESPONSIVE", +"DEGRADED" +], +"enumDescriptions": [ +"Health status is unknown: not initialized or failed to retrieve.", +"The resource is healthy.", +"The resource is unhealthy.", +"The resource is unresponsive.", +"Some sub-resources are UNHEALTHY." +], +"type": "string" +}, +"sub": { +"description": "List of Info for the sub level resources.", +"items": { +"$ref": "GoogleCloudBeyondcorpAppconnectorsV1ResourceInfo" +}, +"type": "array" +}, +"time": { +"description": "The timestamp to collect the info. It is suggested to be set by the topmost level resource only.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudBeyondcorpAppconnectorsV1alphaAppConnectorOperationMetadata": { +"description": "Represents the metadata of the long-running operation.", +"id": "GoogleCloudBeyondcorpAppconnectorsV1alphaAppConnectorOperationMetadata", +"properties": { +"apiVersion": { +"description": "Output only. API version used to start the operation.", +"readOnly": true, +"type": "string" +}, +"createTime": { +"description": "Output only. The time the operation was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"endTime": { +"description": "Output only. The time the operation finished running.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"requestedCancellation": { +"description": "Output only. Identifies whether the user has requested cancellation of the operation. Operations that have successfully been cancelled have google.longrunning.Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.", +"readOnly": true, +"type": "boolean" +}, +"statusMessage": { +"description": "Output only. Human-readable status of the operation, if any.", +"readOnly": true, +"type": "string" +}, +"target": { +"description": "Output only. Server-defined resource path for the target of the operation.", +"readOnly": true, +"type": "string" +}, +"verb": { +"description": "Output only. Name of the verb executed by the operation.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudBeyondcorpAppconnectorsV1alphaContainerHealthDetails": { +"description": "ContainerHealthDetails reflects the health details of a container.", +"id": "GoogleCloudBeyondcorpAppconnectorsV1alphaContainerHealthDetails", +"properties": { +"currentConfigVersion": { +"description": "The version of the current config.", +"type": "string" +}, +"errorMsg": { +"description": "The latest error message.", +"type": "string" +}, +"expectedConfigVersion": { +"description": "The version of the expected config.", +"type": "string" +}, +"extendedStatus": { +"additionalProperties": { +"type": "string" +}, +"description": "The extended status. Such as ExitCode, StartedAt, FinishedAt, etc.", +"type": "object" +} +}, +"type": "object" +}, +"GoogleCloudBeyondcorpAppconnectorsV1alphaRemoteAgentDetails": { +"description": "RemoteAgentDetails reflects the details of a remote agent.", +"id": "GoogleCloudBeyondcorpAppconnectorsV1alphaRemoteAgentDetails", +"properties": {}, +"type": "object" +}, +"GoogleCloudBeyondcorpAppgatewaysV1alphaAppGatewayOperationMetadata": { +"description": "Represents the metadata of the long-running operation.", +"id": "GoogleCloudBeyondcorpAppgatewaysV1alphaAppGatewayOperationMetadata", +"properties": { +"apiVersion": { +"description": "Output only. API version used to start the operation.", +"readOnly": true, +"type": "string" +}, +"createTime": { +"description": "Output only. The time the operation was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"endTime": { +"description": "Output only. The time the operation finished running.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"requestedCancellation": { +"description": "Output only. Identifies whether the user has requested cancellation of the operation. Operations that have successfully been cancelled have google.longrunning.Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.", +"readOnly": true, +"type": "boolean" +}, +"statusMessage": { +"description": "Output only. Human-readable status of the operation, if any.", +"readOnly": true, +"type": "string" +}, +"target": { +"description": "Output only. Server-defined resource path for the target of the operation.", +"readOnly": true, +"type": "string" +}, +"verb": { +"description": "Output only. Name of the verb executed by the operation.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudBeyondcorpConnectionsV1alphaConnectionOperationMetadata": { +"description": "Represents the metadata of the long-running operation.", +"id": "GoogleCloudBeyondcorpConnectionsV1alphaConnectionOperationMetadata", +"properties": { +"apiVersion": { +"description": "Output only. API version used to start the operation.", +"readOnly": true, +"type": "string" +}, +"createTime": { +"description": "Output only. The time the operation was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"endTime": { +"description": "Output only. The time the operation finished running.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"requestedCancellation": { +"description": "Output only. Identifies whether the user has requested cancellation of the operation. Operations that have successfully been cancelled have Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.", +"readOnly": true, +"type": "boolean" +}, +"statusMessage": { +"description": "Output only. Human-readable status of the operation, if any.", +"readOnly": true, +"type": "string" +}, +"target": { +"description": "Output only. Server-defined resource path for the target of the operation.", +"readOnly": true, +"type": "string" +}, +"verb": { +"description": "Output only. Name of the verb executed by the operation.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudBeyondcorpConnectorsV1alphaConnectorOperationMetadata": { +"description": "Represents the metadata of the long-running operation.", +"id": "GoogleCloudBeyondcorpConnectorsV1alphaConnectorOperationMetadata", +"properties": { +"apiVersion": { +"description": "Output only. API version used to start the operation.", +"readOnly": true, +"type": "string" +}, +"createTime": { +"description": "Output only. The time the operation was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"endTime": { +"description": "Output only. The time the operation finished running.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"requestedCancellation": { +"description": "Output only. Identifies whether the user has requested cancellation of the operation. Operations that have successfully been cancelled have Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.", +"readOnly": true, +"type": "boolean" +}, +"statusMessage": { +"description": "Output only. Human-readable status of the operation, if any.", +"readOnly": true, +"type": "string" +}, +"target": { +"description": "Output only. Server-defined resource path for the target of the operation.", +"readOnly": true, +"type": "string" +}, +"verb": { +"description": "Output only. Name of the verb executed by the operation.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudBeyondcorpConnectorsV1alphaContainerHealthDetails": { +"description": "ContainerHealthDetails reflects the health details of a container.", +"id": "GoogleCloudBeyondcorpConnectorsV1alphaContainerHealthDetails", +"properties": { +"currentConfigVersion": { +"description": "The version of the current config.", +"type": "string" +}, +"errorMsg": { +"description": "The latest error message.", +"type": "string" +}, +"expectedConfigVersion": { +"description": "The version of the expected config.", +"type": "string" +}, +"extendedStatus": { +"additionalProperties": { +"type": "string" +}, +"description": "The extended status. Such as ExitCode, StartedAt, FinishedAt, etc.", +"type": "object" +} +}, +"type": "object" +}, +"GoogleCloudBeyondcorpConnectorsV1alphaRemoteAgentDetails": { +"description": "RemoteAgentDetails reflects the details of a remote agent.", +"id": "GoogleCloudBeyondcorpConnectorsV1alphaRemoteAgentDetails", +"properties": {}, +"type": "object" +}, +"GoogleCloudBeyondcorpPartnerservicesV1alphaPartnerServiceOperationMetadata": { +"deprecated": true, +"description": "Represents the metadata of the long-running operation.", +"id": "GoogleCloudBeyondcorpPartnerservicesV1alphaPartnerServiceOperationMetadata", +"properties": { +"apiVersion": { +"description": "Output only. API version used to start the operation.", +"readOnly": true, +"type": "string" +}, +"createTime": { +"description": "Output only. The time the operation was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"endTime": { +"description": "Output only. The time the operation finished running.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"requestedCancellation": { +"description": "Output only. Identifies whether the caller has requested cancellation of the operation. Operations that have successfully been cancelled have Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.", +"readOnly": true, +"type": "boolean" +}, +"statusMessage": { +"description": "Output only. Human-readable status of the operation, if any.", +"readOnly": true, +"type": "string" +}, +"target": { +"description": "Output only. Server-defined resource path for the target of the operation.", +"readOnly": true, +"type": "string" +}, +"verb": { +"description": "Output only. Name of the verb executed by the operation.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudBeyondcorpPartnerservicesV1mainPartnerServiceOperationMetadata": { +"deprecated": true, +"description": "Represents the metadata of the long-running operation.", +"id": "GoogleCloudBeyondcorpPartnerservicesV1mainPartnerServiceOperationMetadata", +"properties": { +"apiVersion": { +"description": "Output only. API version used to start the operation.", +"readOnly": true, +"type": "string" +}, +"createTime": { +"description": "Output only. The time the operation was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"endTime": { +"description": "Output only. The time the operation finished running.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"requestedCancellation": { +"description": "Output only. Identifies whether the caller has requested cancellation of the operation. Operations that have successfully been cancelled have Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.", +"readOnly": true, +"type": "boolean" +}, +"statusMessage": { +"description": "Output only. Human-readable status of the operation, if any.", +"readOnly": true, +"type": "string" +}, +"target": { +"description": "Output only. Server-defined resource path for the target of the operation.", +"readOnly": true, +"type": "string" +}, +"verb": { +"description": "Output only. Name of the verb executed by the operation.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudBeyondcorpSecuritygatewaysV1Application": { +"description": "The information about an application resource.", +"id": "GoogleCloudBeyondcorpSecuritygatewaysV1Application", +"properties": { +"createTime": { +"description": "Output only. Timestamp when the resource was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"displayName": { +"description": "Optional. An arbitrary user-provided name for the application resource. Cannot exceed 64 characters.", +"type": "string" +}, +"endpointMatchers": { +"description": "Optional. An array of conditions to match the application's network endpoint. Each element in the array is an EndpointMatcher object, which defines a specific combination of a hostname pattern and one or more ports. The application is considered matched if at least one of the EndpointMatcher conditions in this array is met (the conditions are combined using OR logic). Each EndpointMatcher must contain a hostname pattern, such as \"example.com\", and one or more port numbers specified as a string, such as \"443\". Hostname and port number examples: \"*.example.com\", \"443\" \"example.com\" and \"22\" \"example.com\" and \"22,33\"", +"items": { +"$ref": "GoogleCloudBeyondcorpSecuritygatewaysV1EndpointMatcher" +}, +"type": "array" +}, +"name": { +"description": "Identifier. Name of the resource.", +"type": "string" +}, +"schema": { +"description": "Optional. Type of the external application.", +"enum": [ +"SCHEMA_UNSPECIFIED", +"PROXY_GATEWAY", +"API_GATEWAY" +], +"enumDescriptions": [ +"Default value. This value is unused.", +"Proxy which routes traffic to actual applications, like Netscaler Gateway.", +"Service Discovery API endpoint when Service Discovery is enabled in Gateway." +], +"type": "string" +}, +"updateTime": { +"description": "Output only. Timestamp when the resource was last modified.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"upstreams": { +"description": "Optional. Which upstream resources to forward traffic to.", +"items": { +"$ref": "GoogleCloudBeyondcorpSecuritygatewaysV1ApplicationUpstream" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudBeyondcorpSecuritygatewaysV1ApplicationUpstream": { +"description": "Which upstream resource to forward traffic to.", +"id": "GoogleCloudBeyondcorpSecuritygatewaysV1ApplicationUpstream", +"properties": { +"egressPolicy": { +"$ref": "GoogleCloudBeyondcorpSecuritygatewaysV1EgressPolicy", +"description": "Optional. Routing policy information." +}, +"external": { +"$ref": "GoogleCloudBeyondcorpSecuritygatewaysV1ApplicationUpstreamExternal", +"description": "List of the external endpoints to forward traffic to." +}, +"network": { +"$ref": "GoogleCloudBeyondcorpSecuritygatewaysV1ApplicationUpstreamNetwork", +"description": "Network to forward traffic to." +}, +"proxyProtocol": { +"$ref": "GoogleCloudBeyondcorpSecuritygatewaysV1ProxyProtocolConfig", +"description": "Optional. Enables proxy protocol configuration for the upstream." +} +}, +"type": "object" +}, +"GoogleCloudBeyondcorpSecuritygatewaysV1ApplicationUpstreamExternal": { +"description": "Endpoints to forward traffic to.", +"id": "GoogleCloudBeyondcorpSecuritygatewaysV1ApplicationUpstreamExternal", +"properties": { +"endpoints": { +"description": "Required. List of the endpoints to forward traffic to.", +"items": { +"$ref": "GoogleCloudBeyondcorpSecuritygatewaysV1Endpoint" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudBeyondcorpSecuritygatewaysV1ApplicationUpstreamNetwork": { +"description": "Network to forward traffic to.", +"id": "GoogleCloudBeyondcorpSecuritygatewaysV1ApplicationUpstreamNetwork", +"properties": { +"name": { +"description": "Required. Network name is of the format: `projects/{project}/global/networks/{network}", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudBeyondcorpSecuritygatewaysV1ContextualHeaders": { +"description": "Contextual headers configuration.", +"id": "GoogleCloudBeyondcorpSecuritygatewaysV1ContextualHeaders", +"properties": { +"deviceInfo": { +"$ref": "GoogleCloudBeyondcorpSecuritygatewaysV1ContextualHeadersDelegatedDeviceInfo", +"description": "Optional. The device information configuration." +}, +"groupInfo": { +"$ref": "GoogleCloudBeyondcorpSecuritygatewaysV1ContextualHeadersDelegatedGroupInfo", +"description": "Optional. Group details." +}, +"outputType": { +"description": "Optional. Default output type for all enabled headers.", +"enum": [ +"OUTPUT_TYPE_UNSPECIFIED", +"PROTOBUF", +"JSON", +"NONE" +], +"enumDescriptions": [ +"The unspecified output type.", +"Protobuf output type.", +"JSON output type.", +"Explicitly disable header output." +], +"type": "string" +}, +"userInfo": { +"$ref": "GoogleCloudBeyondcorpSecuritygatewaysV1ContextualHeadersDelegatedUserInfo", +"description": "Optional. User details." +} +}, +"type": "object" +}, +"GoogleCloudBeyondcorpSecuritygatewaysV1ContextualHeadersDelegatedDeviceInfo": { +"description": "The delegated device information configuration.", +"id": "GoogleCloudBeyondcorpSecuritygatewaysV1ContextualHeadersDelegatedDeviceInfo", +"properties": { +"outputType": { +"description": "Optional. The output type details for the delegated device.", +"enum": [ +"OUTPUT_TYPE_UNSPECIFIED", +"PROTOBUF", +"JSON", +"NONE" +], +"enumDescriptions": [ +"The unspecified output type.", +"Protobuf output type.", +"JSON output type.", +"Explicitly disable header output." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudBeyondcorpSecuritygatewaysV1ContextualHeadersDelegatedGroupInfo": { +"description": "The delegated group configuration details.", +"id": "GoogleCloudBeyondcorpSecuritygatewaysV1ContextualHeadersDelegatedGroupInfo", +"properties": { +"outputType": { +"description": "Optional. The output type of the delegated group information.", +"enum": [ +"OUTPUT_TYPE_UNSPECIFIED", +"PROTOBUF", +"JSON", +"NONE" +], +"enumDescriptions": [ +"The unspecified output type.", +"Protobuf output type.", +"JSON output type.", +"Explicitly disable header output." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudBeyondcorpSecuritygatewaysV1ContextualHeadersDelegatedUserInfo": { +"description": "The configuration information for the delegated user.", +"id": "GoogleCloudBeyondcorpSecuritygatewaysV1ContextualHeadersDelegatedUserInfo", +"properties": { +"outputType": { +"description": "Optional. The delegated user's information.", +"enum": [ +"OUTPUT_TYPE_UNSPECIFIED", +"PROTOBUF", +"JSON", +"NONE" +], +"enumDescriptions": [ +"The unspecified output type.", +"Protobuf output type.", +"JSON output type.", +"Explicitly disable header output." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudBeyondcorpSecuritygatewaysV1EgressPolicy": { +"description": "Routing policy information.", +"id": "GoogleCloudBeyondcorpSecuritygatewaysV1EgressPolicy", +"properties": { +"regions": { +"description": "Required. List of the regions where the application sends traffic.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudBeyondcorpSecuritygatewaysV1Endpoint": { +"description": "Internet Gateway endpoint to forward traffic to.", +"id": "GoogleCloudBeyondcorpSecuritygatewaysV1Endpoint", +"properties": { +"hostname": { +"description": "Required. Hostname of the endpoint.", +"type": "string" +}, +"port": { +"description": "Required. Port of the endpoint.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"GoogleCloudBeyondcorpSecuritygatewaysV1EndpointMatcher": { +"description": "EndpointMatcher contains the information of the endpoint that will match the application.", +"id": "GoogleCloudBeyondcorpSecuritygatewaysV1EndpointMatcher", +"properties": { +"hostname": { +"description": "Required. Hostname of the application.", +"type": "string" +}, +"ports": { +"description": "Required. The ports of the application.", +"items": { +"format": "int32", +"type": "integer" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudBeyondcorpSecuritygatewaysV1Hub": { +"description": "The Hub message contains information pertaining to the regional data path deployments.", +"id": "GoogleCloudBeyondcorpSecuritygatewaysV1Hub", +"properties": { +"internetGateway": { +"$ref": "GoogleCloudBeyondcorpSecuritygatewaysV1InternetGateway", +"description": "Optional. Internet Gateway configuration." +} +}, +"type": "object" +}, +"GoogleCloudBeyondcorpSecuritygatewaysV1InternetGateway": { +"description": "Represents the Internet Gateway configuration.", +"id": "GoogleCloudBeyondcorpSecuritygatewaysV1InternetGateway", +"properties": { +"assignedIps": { +"description": "Output only. List of IP addresses assigned to the Cloud NAT.", +"items": { +"type": "string" +}, +"readOnly": true, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudBeyondcorpSecuritygatewaysV1ListApplicationsResponse": { +"description": "Message for response to listing Applications.", +"id": "GoogleCloudBeyondcorpSecuritygatewaysV1ListApplicationsResponse", +"properties": { +"applications": { +"description": "A list of BeyondCorp Application in the project.", +"items": { +"$ref": "GoogleCloudBeyondcorpSecuritygatewaysV1Application" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A token to retrieve the next page of results, or empty if there are no more results in the list.", +"type": "string" +}, +"unreachable": { +"description": "A list of locations that could not be reached.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudBeyondcorpSecuritygatewaysV1ListSecurityGatewaysResponse": { +"description": "Message for response to listing SecurityGateways.", +"id": "GoogleCloudBeyondcorpSecuritygatewaysV1ListSecurityGatewaysResponse", +"properties": { +"nextPageToken": { +"description": "A token to retrieve the next page of results, or empty if there are no more results in the list.", +"type": "string" +}, +"securityGateways": { +"description": "A list of BeyondCorp SecurityGateway in the project.", +"items": { +"$ref": "GoogleCloudBeyondcorpSecuritygatewaysV1SecurityGateway" +}, +"type": "array" +}, +"unreachable": { +"description": "A list of locations that could not be reached.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudBeyondcorpSecuritygatewaysV1ProxyProtocolConfig": { +"description": "The configuration for the proxy.", +"id": "GoogleCloudBeyondcorpSecuritygatewaysV1ProxyProtocolConfig", +"properties": { +"allowedClientHeaders": { +"description": "Optional. List of the allowed client header names.", +"items": { +"type": "string" +}, +"type": "array" +}, +"clientIp": { +"description": "Optional. Client IP configuration. The client IP address is included if true.", +"type": "boolean" +}, +"contextualHeaders": { +"$ref": "GoogleCloudBeyondcorpSecuritygatewaysV1ContextualHeaders", +"description": "Optional. Configuration for the contextual headers." +}, +"gatewayIdentity": { +"description": "Optional. The security gateway identity configuration.", +"enum": [ +"GATEWAY_IDENTITY_UNSPECIFIED", +"RESOURCE_NAME" +], +"enumDescriptions": [ +"Unspecified gateway identity.", +"Resource name for gateway identity, in the format: projects/{project_id}/locations/{location_id}/securityGateways/{security_gateway_id}" +], +"type": "string" +}, +"metadataHeaders": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. Custom resource specific headers along with the values. The names should conform to RFC 9110: >Field names can contain alphanumeric characters, hyphens, and periods, can contain only ASCII-printable characters and tabs, and must start with a letter.", +"type": "object" +} +}, +"type": "object" +}, +"GoogleCloudBeyondcorpSecuritygatewaysV1SecurityGateway": { +"description": "The information about a security gateway resource.", +"id": "GoogleCloudBeyondcorpSecuritygatewaysV1SecurityGateway", +"properties": { +"createTime": { +"description": "Output only. Timestamp when the resource was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"delegatingServiceAccount": { +"description": "Output only. Service account used for operations that involve resources in consumer projects.", +"readOnly": true, +"type": "string" +}, +"displayName": { +"description": "Optional. An arbitrary user-provided name for the SecurityGateway. Cannot exceed 64 characters.", +"type": "string" +}, +"externalIps": { +"description": "Output only. IP addresses that will be used for establishing connection to the endpoints.", +"items": { +"type": "string" +}, +"readOnly": true, +"type": "array" +}, +"hubs": { +"additionalProperties": { +"$ref": "GoogleCloudBeyondcorpSecuritygatewaysV1Hub" +}, +"description": "Optional. Map of Hubs that represents regional data path deployment with GCP region as a key.", +"type": "object" +}, +"name": { +"description": "Identifier. Name of the resource.", +"type": "string" +}, +"proxyProtocolConfig": { +"$ref": "GoogleCloudBeyondcorpSecuritygatewaysV1ProxyProtocolConfig", +"description": "Optional. Shared proxy configuration for all apps." +}, +"serviceDiscovery": { +"$ref": "GoogleCloudBeyondcorpSecuritygatewaysV1ServiceDiscovery", +"description": "Optional. Settings related to the Service Discovery." +}, +"state": { +"description": "Output only. The operational state of the SecurityGateway.", +"enum": [ +"STATE_UNSPECIFIED", +"CREATING", +"UPDATING", +"DELETING", +"RUNNING", +"DOWN", +"ERROR" +], +"enumDescriptions": [ +"Default value. This value is unused.", +"SecurityGateway is being created.", +"SecurityGateway is being updated.", +"SecurityGateway is being deleted.", +"SecurityGateway is running.", +"SecurityGateway is down and may be restored in the future.", +"SecurityGateway encountered an error and is in an indeterministic state." +], +"readOnly": true, +"type": "string" +}, +"updateTime": { +"description": "Output only. Timestamp when the resource was last modified.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudBeyondcorpSecuritygatewaysV1SecurityGatewayOperationMetadata": { +"description": "Represents the metadata of the long-running operation.", +"id": "GoogleCloudBeyondcorpSecuritygatewaysV1SecurityGatewayOperationMetadata", +"properties": { +"apiVersion": { +"description": "Output only. API version used to start the operation.", +"readOnly": true, +"type": "string" +}, +"createTime": { +"description": "Output only. The time the operation was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"endTime": { +"description": "Output only. The time the operation finished running.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"requestedCancellation": { +"description": "Output only. Identifies whether the user has requested cancellation of the operation. Operations that have been cancelled successfully have Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.", +"readOnly": true, +"type": "boolean" +}, +"statusMessage": { +"description": "Output only. Human-readable status of the operation, if any.", +"readOnly": true, +"type": "string" +}, +"target": { +"description": "Output only. Server-defined resource path for the target of the operation.", +"readOnly": true, +"type": "string" +}, +"verb": { +"description": "Output only. Name of the verb executed by the operation.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudBeyondcorpSecuritygatewaysV1ServiceDiscovery": { +"description": "Settings related to the Service Discovery.", +"id": "GoogleCloudBeyondcorpSecuritygatewaysV1ServiceDiscovery", +"properties": { +"apiGateway": { +"$ref": "GoogleCloudBeyondcorpSecuritygatewaysV1ServiceDiscoveryApiGateway", +"description": "Required. External API configuration." +} +}, +"type": "object" +}, +"GoogleCloudBeyondcorpSecuritygatewaysV1ServiceDiscoveryApiGateway": { +"description": "If Service Discovery is done through API, defines its settings.", +"id": "GoogleCloudBeyondcorpSecuritygatewaysV1ServiceDiscoveryApiGateway", +"properties": { +"resourceOverride": { +"$ref": "GoogleCloudBeyondcorpSecuritygatewaysV1ServiceDiscoveryApiGatewayOperationDescriptor", +"description": "Required. Enables fetching resource model updates to alter service behavior per Chrome profile." +} +}, +"type": "object" +}, +"GoogleCloudBeyondcorpSecuritygatewaysV1ServiceDiscoveryApiGatewayOperationDescriptor": { +"description": "API operation descriptor.", +"id": "GoogleCloudBeyondcorpSecuritygatewaysV1ServiceDiscoveryApiGatewayOperationDescriptor", +"properties": { +"path": { +"description": "Required. Contains the URI path fragment where HTTP request is sent.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudBeyondcorpSecuritygatewaysV1alphaSecurityGatewayOperationMetadata": { +"description": "Represents the metadata of the long-running operation.", +"id": "GoogleCloudBeyondcorpSecuritygatewaysV1alphaSecurityGatewayOperationMetadata", +"properties": { +"apiVersion": { +"description": "Output only. API version used to start the operation.", +"readOnly": true, +"type": "string" +}, +"createTime": { +"description": "Output only. The time the operation was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"endTime": { +"description": "Output only. The time the operation finished running.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"requestedCancellation": { +"description": "Output only. Identifies whether the user has requested cancellation of the operation. Operations that have been cancelled successfully have Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.", +"readOnly": true, +"type": "boolean" +}, +"statusMessage": { +"description": "Output only. Human-readable status of the operation, if any.", +"readOnly": true, +"type": "string" +}, +"target": { +"description": "Output only. Server-defined resource path for the target of the operation.", +"readOnly": true, +"type": "string" +}, +"verb": { +"description": "Output only. Name of the verb executed by the operation.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudLocationListLocationsResponse": { +"description": "The response message for Locations.ListLocations.", +"id": "GoogleCloudLocationListLocationsResponse", +"properties": { +"locations": { +"description": "A list of locations that matches the specified filter in the request.", +"items": { +"$ref": "GoogleCloudLocationLocation" +}, +"type": "array" +}, +"nextPageToken": { +"description": "The standard List next-page token.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudLocationLocation": { +"description": "A resource that represents a Google Cloud location.", +"id": "GoogleCloudLocationLocation", +"properties": { +"displayName": { +"description": "The friendly name for this location, typically a nearby city name. For example, \"Tokyo\".", +"type": "string" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Cross-service attributes for the location. For example {\"cloud.googleapis.com/region\": \"us-east1\"}", +"type": "object" +}, +"locationId": { +"description": "The canonical id for this location. For example: `\"us-east1\"`.", +"type": "string" +}, +"metadata": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "Service-specific metadata. For example the available capacity at the given location.", +"type": "object" +}, +"name": { +"description": "Resource name for the location, which may vary between implementations. For example: `\"projects/example-project/locations/us-east1\"`", +"type": "string" +} +}, +"type": "object" +}, +"GoogleIamV1AuditConfig": { +"description": "Specifies the audit configuration for a service. The configuration determines which permission types are logged, and what identities, if any, are exempted from logging. An AuditConfig must have one or more AuditLogConfigs. If there are AuditConfigs for both `allServices` and a specific service, the union of the two AuditConfigs is used for that service: the log_types specified in each AuditConfig are enabled, and the exempted_members in each AuditLogConfig are exempted. Example Policy with multiple AuditConfigs: { \"audit_configs\": [ { \"service\": \"allServices\", \"audit_log_configs\": [ { \"log_type\": \"DATA_READ\", \"exempted_members\": [ \"user:jose@example.com\" ] }, { \"log_type\": \"DATA_WRITE\" }, { \"log_type\": \"ADMIN_READ\" } ] }, { \"service\": \"sampleservice.googleapis.com\", \"audit_log_configs\": [ { \"log_type\": \"DATA_READ\" }, { \"log_type\": \"DATA_WRITE\", \"exempted_members\": [ \"user:aliya@example.com\" ] } ] } ] } For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also exempts `jose@example.com` from DATA_READ logging, and `aliya@example.com` from DATA_WRITE logging.", +"id": "GoogleIamV1AuditConfig", +"properties": { +"auditLogConfigs": { +"description": "The configuration for logging of each type of permission.", +"items": { +"$ref": "GoogleIamV1AuditLogConfig" +}, +"type": "array" +}, +"service": { +"description": "Specifies a service that will be enabled for audit logging. For example, `storage.googleapis.com`, `cloudsql.googleapis.com`. `allServices` is a special value that covers all services.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleIamV1AuditLogConfig": { +"description": "Provides the configuration for logging a type of permissions. Example: { \"audit_log_configs\": [ { \"log_type\": \"DATA_READ\", \"exempted_members\": [ \"user:jose@example.com\" ] }, { \"log_type\": \"DATA_WRITE\" } ] } This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting jose@example.com from DATA_READ logging.", +"id": "GoogleIamV1AuditLogConfig", +"properties": { +"exemptedMembers": { +"description": "Specifies the identities that do not cause logging for this type of permission. Follows the same format of Binding.members.", +"items": { +"type": "string" +}, +"type": "array" +}, +"logType": { +"description": "The log type that this config enables.", +"enum": [ +"LOG_TYPE_UNSPECIFIED", +"ADMIN_READ", +"DATA_WRITE", +"DATA_READ" +], +"enumDescriptions": [ +"Default case. Should never be this.", +"Admin reads. Example: CloudIAM getIamPolicy", +"Data writes. Example: CloudSQL Users create", +"Data reads. Example: CloudSQL Users list" +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleIamV1Binding": { +"description": "Associates `members`, or principals, with a `role`.", +"id": "GoogleIamV1Binding", +"properties": { +"condition": { +"$ref": "GoogleTypeExpr", +"description": "The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies)." +}, +"members": { +"description": "Specifies the principals requesting access for a Google Cloud resource. `members` can have the following values: * `allUsers`: A special identifier that represents anyone who is on the internet; with or without a Google account. * `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service account. Does not include identities that come from external identity providers (IdPs) through identity federation. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `group:{emailid}`: An email address that represents a Google group. For example, `admins@example.com`. * `domain:{domain}`: The G Suite domain (primary) that represents all the users of that domain. For example, `google.com` or `example.com`. * `principal://iam.googleapis.com/locations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}`: A single identity in a workforce identity pool. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/group/{group_id}`: All workforce identities in a group. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/attribute.{attribute_name}/{attribute_value}`: All workforce identities with a specific attribute value. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/*`: All identities in a workforce identity pool. * `principal://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/subject/{subject_attribute_value}`: A single identity in a workload identity pool. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/group/{group_id}`: A workload identity pool group. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/attribute.{attribute_name}/{attribute_value}`: All identities in a workload identity pool with a certain attribute. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/*`: All identities in a workload identity pool. * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a user that has been recently deleted. For example, `alice@example.com?uid=123456789012345678901`. If the user is recovered, this value reverts to `user:{emailid}` and the recovered user retains the role in the binding. * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a service account that has been recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the service account is undeleted, this value reverts to `serviceAccount:{emailid}` and the undeleted service account retains the role in the binding. * `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a Google group that has been recently deleted. For example, `admins@example.com?uid=123456789012345678901`. If the group is recovered, this value reverts to `group:{emailid}` and the recovered group retains the role in the binding. * `deleted:principal://iam.googleapis.com/locations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}`: Deleted single identity in a workforce identity pool. For example, `deleted:principal://iam.googleapis.com/locations/global/workforcePools/my-pool-id/subject/my-subject-attribute-value`.", +"items": { +"type": "string" +}, +"type": "array" +}, +"role": { +"description": "Role that is assigned to the list of `members`, or principals. For example, `roles/viewer`, `roles/editor`, or `roles/owner`. For an overview of the IAM roles and permissions, see the [IAM documentation](https://cloud.google.com/iam/docs/roles-overview). For a list of the available pre-defined roles, see [here](https://cloud.google.com/iam/docs/understanding-roles).", +"type": "string" +} +}, +"type": "object" +}, +"GoogleIamV1Policy": { +"description": "An Identity and Access Management (IAM) policy, which specifies access controls for Google Cloud resources. A `Policy` is a collection of `bindings`. A `binding` binds one or more `members`, or principals, to a single `role`. Principals can be user accounts, service accounts, Google groups, and domains (such as G Suite). A `role` is a named list of permissions; each `role` can be an IAM predefined role or a user-created custom role. For some types of Google Cloud resources, a `binding` can also specify a `condition`, which is a logical expression that allows access to a resource only if the expression evaluates to `true`. A condition can add constraints based on attributes of the request, the resource, or both. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). **JSON example:** ``` { \"bindings\": [ { \"role\": \"roles/resourcemanager.organizationAdmin\", \"members\": [ \"user:mike@example.com\", \"group:admins@example.com\", \"domain:google.com\", \"serviceAccount:my-project-id@appspot.gserviceaccount.com\" ] }, { \"role\": \"roles/resourcemanager.organizationViewer\", \"members\": [ \"user:eve@example.com\" ], \"condition\": { \"title\": \"expirable access\", \"description\": \"Does not grant access after Sep 2020\", \"expression\": \"request.time < timestamp('2020-10-01T00:00:00.000Z')\", } } ], \"etag\": \"BwWWja0YfJA=\", \"version\": 3 } ``` **YAML example:** ``` bindings: - members: - user:mike@example.com - group:admins@example.com - domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.com role: roles/resourcemanager.organizationViewer condition: title: expirable access description: Does not grant access after Sep 2020 expression: request.time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 ``` For a description of IAM and its features, see the [IAM documentation](https://cloud.google.com/iam/docs/).", +"id": "GoogleIamV1Policy", +"properties": { +"auditConfigs": { +"description": "Specifies cloud audit logging configuration for this policy.", +"items": { +"$ref": "GoogleIamV1AuditConfig" +}, +"type": "array" +}, +"bindings": { +"description": "Associates a list of `members`, or principals, with a `role`. Optionally, may specify a `condition` that determines how and when the `bindings` are applied. Each of the `bindings` must contain at least one principal. The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250 of these principals can be Google groups. Each occurrence of a principal counts towards these limits. For example, if the `bindings` grant 50 different roles to `user:alice@example.com`, and not to any other principal, then you can add another 1,450 principals to the `bindings` in the `Policy`.", +"items": { +"$ref": "GoogleIamV1Binding" +}, +"type": "array" +}, +"etag": { +"description": "`etag` is used for optimistic concurrency control as a way to help prevent simultaneous updates of a policy from overwriting each other. It is strongly suggested that systems make use of the `etag` in the read-modify-write cycle to perform policy updates in order to avoid race conditions: An `etag` is returned in the response to `getIamPolicy`, and systems are expected to put that etag in the request to `setIamPolicy` to ensure that their change will be applied to the same version of the policy. **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost.", +"format": "byte", +"type": "string" +}, +"version": { +"description": "Specifies the format of the policy. Valid values are `0`, `1`, and `3`. Requests that specify an invalid value are rejected. Any operation that affects conditional role bindings must specify version `3`. This requirement applies to the following operations: * Getting a policy that includes a conditional role binding * Adding a conditional role binding to a policy * Changing a conditional role binding in a policy * Removing any role binding, with or without a condition, from a policy that includes conditions **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost. If a policy does not include any conditions, operations on that policy may specify any valid version or leave the field unset. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"GoogleIamV1SetIamPolicyRequest": { +"description": "Request message for `SetIamPolicy` method.", +"id": "GoogleIamV1SetIamPolicyRequest", +"properties": { +"policy": { +"$ref": "GoogleIamV1Policy", +"description": "REQUIRED: The complete policy to be applied to the `resource`. The size of the policy is limited to a few 10s of KB. An empty policy is a valid policy but certain Google Cloud services (such as Projects) might reject them." +}, +"updateMask": { +"description": "OPTIONAL: A FieldMask specifying which fields of the policy to modify. Only the fields in the mask will be modified. If no mask is provided, the following default mask is used: `paths: \"bindings, etag\"`", +"format": "google-fieldmask", +"type": "string" +} +}, +"type": "object" +}, +"GoogleIamV1TestIamPermissionsRequest": { +"description": "Request message for `TestIamPermissions` method.", +"id": "GoogleIamV1TestIamPermissionsRequest", +"properties": { +"permissions": { +"description": "The set of permissions to check for the `resource`. Permissions with wildcards (such as `*` or `storage.*`) are not allowed. For more information see [IAM Overview](https://cloud.google.com/iam/docs/overview#permissions).", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleIamV1TestIamPermissionsResponse": { +"description": "Response message for `TestIamPermissions` method.", +"id": "GoogleIamV1TestIamPermissionsResponse", +"properties": { +"permissions": { +"description": "A subset of `TestPermissionsRequest.permissions` that the caller is allowed.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleLongrunningCancelOperationRequest": { +"description": "The request message for Operations.CancelOperation.", +"id": "GoogleLongrunningCancelOperationRequest", +"properties": {}, +"type": "object" +}, +"GoogleLongrunningListOperationsResponse": { +"description": "The response message for Operations.ListOperations.", +"id": "GoogleLongrunningListOperationsResponse", +"properties": { +"nextPageToken": { +"description": "The standard List next-page token.", +"type": "string" +}, +"operations": { +"description": "A list of operations that matches the specified filter in the request.", +"items": { +"$ref": "GoogleLongrunningOperation" +}, +"type": "array" +}, +"unreachable": { +"description": "Unordered list. Unreachable resources. Populated when the request sets `ListOperationsRequest.return_partial_success` and reads across collections. For example, when attempting to list all resources across all supported locations.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleLongrunningOperation": { +"description": "This resource represents a long-running operation that is the result of a network API call.", +"id": "GoogleLongrunningOperation", +"properties": { +"done": { +"description": "If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.", +"type": "boolean" +}, +"error": { +"$ref": "GoogleRpcStatus", +"description": "The error result of the operation in case of failure or cancellation." +}, +"metadata": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.", +"type": "object" +}, +"name": { +"description": "The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.", +"type": "string" +}, +"response": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "The normal, successful response of the operation. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.", +"type": "object" +} +}, +"type": "object" +}, +"GoogleRpcStatus": { +"description": "The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors).", +"id": "GoogleRpcStatus", +"properties": { +"code": { +"description": "The status code, which should be an enum value of google.rpc.Code.", +"format": "int32", +"type": "integer" +}, +"details": { +"description": "A list of messages that carry the error details. There is a common set of message types for APIs to use.", +"items": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleTypeExpr": { +"description": "Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: \"Summary size limit\" description: \"Determines if a summary is less than 100 chars\" expression: \"document.summary.size() < 100\" Example (Equality): title: \"Requestor is owner\" description: \"Determines if requestor is the document owner\" expression: \"document.owner == request.auth.claims.email\" Example (Logic): title: \"Public documents\" description: \"Determine whether the document should be publicly visible\" expression: \"document.type != 'private' && document.type != 'internal'\" Example (Data Manipulation): title: \"Notification string\" description: \"Create a notification string with a timestamp.\" expression: \"'New message received at ' + string(document.create_time)\" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information.", +"id": "GoogleTypeExpr", +"properties": { +"description": { +"description": "Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI.", +"type": "string" +}, +"expression": { +"description": "Textual representation of an expression in Common Expression Language syntax.", +"type": "string" +}, +"location": { +"description": "Optional. String indicating the location of the expression for error reporting, e.g. a file name and a position in the file.", +"type": "string" +}, +"title": { +"description": "Optional. Title for the expression, i.e. a short string describing its purpose. This can be used e.g. in UIs which allow to enter the expression.", +"type": "string" +} +}, +"type": "object" +}, +"ListAppGatewaysResponse": { +"description": "Response message for BeyondCorp.ListAppGateways.", +"id": "ListAppGatewaysResponse", +"properties": { +"appGateways": { +"description": "A list of BeyondCorp AppGateways in the project.", +"items": { +"$ref": "AppGateway" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A token to retrieve the next page of results, or empty if there are no more results in the list.", +"type": "string" +}, +"unreachable": { +"description": "A list of locations that could not be reached.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"Tunnelv1ProtoTunnelerError": { +"description": "TunnelerError is an error proto for errors returned by the connection manager.", +"id": "Tunnelv1ProtoTunnelerError", +"properties": { +"err": { +"description": "Original raw error", +"type": "string" +}, +"retryable": { +"description": "retryable isn't used for now, but we may want to reuse it in the future.", +"type": "boolean" +} +}, +"type": "object" +}, +"Tunnelv1ProtoTunnelerInfo": { +"description": "TunnelerInfo contains metadata about tunneler launched by connection manager.", +"id": "Tunnelv1ProtoTunnelerInfo", +"properties": { +"backoffRetryCount": { +"description": "backoff_retry_count stores the number of times the tunneler has been retried by tunManager for current backoff sequence. Gets reset to 0 if time difference between 2 consecutive retries exceeds backoffRetryResetTime.", +"format": "uint32", +"type": "integer" +}, +"id": { +"description": "id is the unique id of a tunneler.", +"type": "string" +}, +"latestErr": { +"$ref": "Tunnelv1ProtoTunnelerError", +"description": "latest_err stores the Error for the latest tunneler failure. Gets reset everytime the tunneler is retried by tunManager." +}, +"latestRetryTime": { +"description": "latest_retry_time stores the time when the tunneler was last restarted.", +"format": "google-datetime", +"type": "string" +}, +"totalRetryCount": { +"description": "total_retry_count stores the total number of times the tunneler has been retried by tunManager.", +"format": "uint32", +"type": "integer" +} +}, +"type": "object" +} +}, +"servicePath": "", +"title": "BeyondCorp API", +"version": "v1", +"version_module": true +} \ No newline at end of file diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/biglake.v1.json b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/biglake.v1.json new file mode 100644 index 0000000000000000000000000000000000000000..bf5f6f7d7fd55d07f31c6b4d35078344669646b6 --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/biglake.v1.json @@ -0,0 +1,1364 @@ +{ +"auth": { +"oauth2": { +"scopes": { +"https://www.googleapis.com/auth/bigquery": { +"description": "View and manage your data in Google BigQuery and see the email address for your Google Account" +}, +"https://www.googleapis.com/auth/cloud-platform": { +"description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." +} +} +} +}, +"basePath": "", +"baseUrl": "https://biglake.googleapis.com/", +"batchPath": "batch", +"canonicalName": "BigLake Service", +"description": "The BigLake API provides access to BigLake Metastore, a serverless, fully managed, and highly available metastore for open-source data that can be used for querying Apache Iceberg tables in BigQuery.", +"discoveryVersion": "v1", +"documentationLink": "https://cloud.google.com/bigquery/", +"fullyEncodeReservedExpansion": true, +"icons": { +"x16": "http://www.google.com/images/icons/product/search-16.gif", +"x32": "http://www.google.com/images/icons/product/search-32.gif" +}, +"id": "biglake:v1", +"kind": "discovery#restDescription", +"mtlsRootUrl": "https://biglake.mtls.googleapis.com/", +"name": "biglake", +"ownerDomain": "google.com", +"ownerName": "Google", +"parameters": { +"$.xgafv": { +"description": "V1 error format.", +"enum": [ +"1", +"2" +], +"enumDescriptions": [ +"v1 error format", +"v2 error format" +], +"location": "query", +"type": "string" +}, +"access_token": { +"description": "OAuth access token.", +"location": "query", +"type": "string" +}, +"alt": { +"default": "json", +"description": "Data format for response.", +"enum": [ +"json", +"media", +"proto" +], +"enumDescriptions": [ +"Responses with Content-Type of application/json", +"Media download with context-dependent Content-Type", +"Responses with Content-Type of application/x-protobuf" +], +"location": "query", +"type": "string" +}, +"callback": { +"description": "JSONP", +"location": "query", +"type": "string" +}, +"fields": { +"description": "Selector specifying which fields to include in a partial response.", +"location": "query", +"type": "string" +}, +"key": { +"description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", +"location": "query", +"type": "string" +}, +"oauth_token": { +"description": "OAuth 2.0 token for the current user.", +"location": "query", +"type": "string" +}, +"prettyPrint": { +"default": "true", +"description": "Returns response with indentations and line breaks.", +"location": "query", +"type": "boolean" +}, +"quotaUser": { +"description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.", +"location": "query", +"type": "string" +}, +"uploadType": { +"description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", +"location": "query", +"type": "string" +}, +"upload_protocol": { +"description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", +"location": "query", +"type": "string" +} +}, +"protocol": "rest", +"resources": { +"projects": { +"resources": { +"catalogs": { +"methods": { +"getIamPolicy": { +"description": "Gets the IAM policy for the specified Catalog.", +"flatPath": "v1/projects/{projectsId}/catalogs/{catalogsId}:getIamPolicy", +"httpMethod": "GET", +"id": "biglake.projects.catalogs.getIamPolicy", +"parameterOrder": [ +"resource" +], +"parameters": { +"options.requestedPolicyVersion": { +"description": "Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).", +"format": "int32", +"location": "query", +"type": "integer" +}, +"resource": { +"description": "REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", +"location": "path", +"pattern": "^projects/[^/]+/catalogs/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+resource}:getIamPolicy", +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/bigquery", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"setIamPolicy": { +"description": "Sets the IAM policy for the specified catalog.", +"flatPath": "v1/projects/{projectsId}/catalogs/{catalogsId}:setIamPolicy", +"httpMethod": "POST", +"id": "biglake.projects.catalogs.setIamPolicy", +"parameterOrder": [ +"resource" +], +"parameters": { +"resource": { +"description": "REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", +"location": "path", +"pattern": "^projects/[^/]+/catalogs/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+resource}:setIamPolicy", +"request": { +"$ref": "SetIamPolicyRequest" +}, +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/bigquery", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"testIamPermissions": { +"description": "Tests the IAM permissions for the specified catalog.", +"flatPath": "v1/projects/{projectsId}/catalogs/{catalogsId}:testIamPermissions", +"httpMethod": "POST", +"id": "biglake.projects.catalogs.testIamPermissions", +"parameterOrder": [ +"resource" +], +"parameters": { +"resource": { +"description": "REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", +"location": "path", +"pattern": "^projects/[^/]+/catalogs/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+resource}:testIamPermissions", +"request": { +"$ref": "TestIamPermissionsRequest" +}, +"response": { +"$ref": "TestIamPermissionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/bigquery", +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"namespaces": { +"methods": { +"getIamPolicy": { +"description": "Gets the IAM policy for the specified Catalog.", +"flatPath": "v1/projects/{projectsId}/catalogs/{catalogsId}/namespaces/{namespacesId}:getIamPolicy", +"httpMethod": "GET", +"id": "biglake.projects.catalogs.namespaces.getIamPolicy", +"parameterOrder": [ +"resource" +], +"parameters": { +"options.requestedPolicyVersion": { +"description": "Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).", +"format": "int32", +"location": "query", +"type": "integer" +}, +"resource": { +"description": "REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", +"location": "path", +"pattern": "^projects/[^/]+/catalogs/[^/]+/namespaces/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+resource}:getIamPolicy", +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/bigquery", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"setIamPolicy": { +"description": "Sets the IAM policy for the specified catalog.", +"flatPath": "v1/projects/{projectsId}/catalogs/{catalogsId}/namespaces/{namespacesId}:setIamPolicy", +"httpMethod": "POST", +"id": "biglake.projects.catalogs.namespaces.setIamPolicy", +"parameterOrder": [ +"resource" +], +"parameters": { +"resource": { +"description": "REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", +"location": "path", +"pattern": "^projects/[^/]+/catalogs/[^/]+/namespaces/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+resource}:setIamPolicy", +"request": { +"$ref": "SetIamPolicyRequest" +}, +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/bigquery", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"testIamPermissions": { +"description": "Tests the IAM permissions for the specified namespace.", +"flatPath": "v1/projects/{projectsId}/catalogs/{catalogsId}/namespaces/{namespacesId}:testIamPermissions", +"httpMethod": "POST", +"id": "biglake.projects.catalogs.namespaces.testIamPermissions", +"parameterOrder": [ +"resource" +], +"parameters": { +"resource": { +"description": "REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", +"location": "path", +"pattern": "^projects/[^/]+/catalogs/[^/]+/namespaces/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+resource}:testIamPermissions", +"request": { +"$ref": "TestIamPermissionsRequest" +}, +"response": { +"$ref": "TestIamPermissionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/bigquery", +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"tables": { +"methods": { +"getIamPolicy": { +"description": "Gets the IAM policy for the specified Catalog.", +"flatPath": "v1/projects/{projectsId}/catalogs/{catalogsId}/namespaces/{namespacesId}/tables/{tablesId}:getIamPolicy", +"httpMethod": "GET", +"id": "biglake.projects.catalogs.namespaces.tables.getIamPolicy", +"parameterOrder": [ +"resource" +], +"parameters": { +"options.requestedPolicyVersion": { +"description": "Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).", +"format": "int32", +"location": "query", +"type": "integer" +}, +"resource": { +"description": "REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", +"location": "path", +"pattern": "^projects/[^/]+/catalogs/[^/]+/namespaces/[^/]+/tables/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+resource}:getIamPolicy", +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/bigquery", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"setIamPolicy": { +"description": "Sets the IAM policy for the specified catalog.", +"flatPath": "v1/projects/{projectsId}/catalogs/{catalogsId}/namespaces/{namespacesId}/tables/{tablesId}:setIamPolicy", +"httpMethod": "POST", +"id": "biglake.projects.catalogs.namespaces.tables.setIamPolicy", +"parameterOrder": [ +"resource" +], +"parameters": { +"resource": { +"description": "REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", +"location": "path", +"pattern": "^projects/[^/]+/catalogs/[^/]+/namespaces/[^/]+/tables/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+resource}:setIamPolicy", +"request": { +"$ref": "SetIamPolicyRequest" +}, +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/bigquery", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"testIamPermissions": { +"description": "Tests the IAM permissions for the specified table.", +"flatPath": "v1/projects/{projectsId}/catalogs/{catalogsId}/namespaces/{namespacesId}/tables/{tablesId}:testIamPermissions", +"httpMethod": "POST", +"id": "biglake.projects.catalogs.namespaces.tables.testIamPermissions", +"parameterOrder": [ +"resource" +], +"parameters": { +"resource": { +"description": "REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", +"location": "path", +"pattern": "^projects/[^/]+/catalogs/[^/]+/namespaces/[^/]+/tables/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+resource}:testIamPermissions", +"request": { +"$ref": "TestIamPermissionsRequest" +}, +"response": { +"$ref": "TestIamPermissionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/bigquery", +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +} +} +}, +"locations": { +"resources": { +"catalogs": { +"methods": { +"create": { +"description": "Creates a new catalog.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/catalogs", +"httpMethod": "POST", +"id": "biglake.projects.locations.catalogs.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"catalogId": { +"description": "Required. The ID to use for the catalog, which will become the final component of the catalog's resource name.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent resource where this catalog will be created. Format: projects/{project_id_or_number}/locations/{location_id}", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/catalogs", +"request": { +"$ref": "Catalog" +}, +"response": { +"$ref": "Catalog" +}, +"scopes": [ +"https://www.googleapis.com/auth/bigquery", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes an existing catalog specified by the catalog ID.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/catalogs/{catalogsId}", +"httpMethod": "DELETE", +"id": "biglake.projects.locations.catalogs.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the catalog to delete. Format: projects/{project_id_or_number}/locations/{location_id}/catalogs/{catalog_id}", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/catalogs/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Catalog" +}, +"scopes": [ +"https://www.googleapis.com/auth/bigquery", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets the catalog specified by the resource name.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/catalogs/{catalogsId}", +"httpMethod": "GET", +"id": "biglake.projects.locations.catalogs.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the catalog to retrieve. Format: projects/{project_id_or_number}/locations/{location_id}/catalogs/{catalog_id}", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/catalogs/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Catalog" +}, +"scopes": [ +"https://www.googleapis.com/auth/bigquery", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "List all catalogs in a specified project.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/catalogs", +"httpMethod": "GET", +"id": "biglake.projects.locations.catalogs.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "The maximum number of catalogs to return. The service may return fewer than this value. If unspecified, at most 50 catalogs will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A page token, received from a previous `ListCatalogs` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListCatalogs` must match the call that provided the page token.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent, which owns this collection of catalogs. Format: projects/{project_id_or_number}/locations/{location_id}", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/catalogs", +"response": { +"$ref": "ListCatalogsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/bigquery", +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"databases": { +"methods": { +"create": { +"description": "Creates a new database.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/catalogs/{catalogsId}/databases", +"httpMethod": "POST", +"id": "biglake.projects.locations.catalogs.databases.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"databaseId": { +"description": "Required. The ID to use for the database, which will become the final component of the database's resource name.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent resource where this database will be created. Format: projects/{project_id_or_number}/locations/{location_id}/catalogs/{catalog_id}", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/catalogs/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/databases", +"request": { +"$ref": "Database" +}, +"response": { +"$ref": "Database" +}, +"scopes": [ +"https://www.googleapis.com/auth/bigquery", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes an existing database specified by the database ID.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/catalogs/{catalogsId}/databases/{databasesId}", +"httpMethod": "DELETE", +"id": "biglake.projects.locations.catalogs.databases.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the database to delete. Format: projects/{project_id_or_number}/locations/{location_id}/catalogs/{catalog_id}/databases/{database_id}", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/catalogs/[^/]+/databases/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Database" +}, +"scopes": [ +"https://www.googleapis.com/auth/bigquery", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets the database specified by the resource name.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/catalogs/{catalogsId}/databases/{databasesId}", +"httpMethod": "GET", +"id": "biglake.projects.locations.catalogs.databases.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the database to retrieve. Format: projects/{project_id_or_number}/locations/{location_id}/catalogs/{catalog_id}/databases/{database_id}", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/catalogs/[^/]+/databases/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Database" +}, +"scopes": [ +"https://www.googleapis.com/auth/bigquery", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "List all databases in a specified catalog.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/catalogs/{catalogsId}/databases", +"httpMethod": "GET", +"id": "biglake.projects.locations.catalogs.databases.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "The maximum number of databases to return. The service may return fewer than this value. If unspecified, at most 50 databases will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A page token, received from a previous `ListDatabases` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListDatabases` must match the call that provided the page token.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent, which owns this collection of databases. Format: projects/{project_id_or_number}/locations/{location_id}/catalogs/{catalog_id}", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/catalogs/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/databases", +"response": { +"$ref": "ListDatabasesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/bigquery", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates an existing database specified by the database ID.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/catalogs/{catalogsId}/databases/{databasesId}", +"httpMethod": "PATCH", +"id": "biglake.projects.locations.catalogs.databases.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Output only. The resource name. Format: projects/{project_id_or_number}/locations/{location_id}/catalogs/{catalog_id}/databases/{database_id}", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/catalogs/[^/]+/databases/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "The list of fields to update. For the `FieldMask` definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask If not set, defaults to all of the fields that are allowed to update.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "Database" +}, +"response": { +"$ref": "Database" +}, +"scopes": [ +"https://www.googleapis.com/auth/bigquery", +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"tables": { +"methods": { +"create": { +"description": "Creates a new table.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/catalogs/{catalogsId}/databases/{databasesId}/tables", +"httpMethod": "POST", +"id": "biglake.projects.locations.catalogs.databases.tables.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The parent resource where this table will be created. Format: projects/{project_id_or_number}/locations/{location_id}/catalogs/{catalog_id}/databases/{database_id}", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/catalogs/[^/]+/databases/[^/]+$", +"required": true, +"type": "string" +}, +"tableId": { +"description": "Required. The ID to use for the table, which will become the final component of the table's resource name.", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+parent}/tables", +"request": { +"$ref": "Table" +}, +"response": { +"$ref": "Table" +}, +"scopes": [ +"https://www.googleapis.com/auth/bigquery", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes an existing table specified by the table ID.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/catalogs/{catalogsId}/databases/{databasesId}/tables/{tablesId}", +"httpMethod": "DELETE", +"id": "biglake.projects.locations.catalogs.databases.tables.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the table to delete. Format: projects/{project_id_or_number}/locations/{location_id}/catalogs/{catalog_id}/databases/{database_id}/tables/{table_id}", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/catalogs/[^/]+/databases/[^/]+/tables/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Table" +}, +"scopes": [ +"https://www.googleapis.com/auth/bigquery", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets the table specified by the resource name.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/catalogs/{catalogsId}/databases/{databasesId}/tables/{tablesId}", +"httpMethod": "GET", +"id": "biglake.projects.locations.catalogs.databases.tables.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the table to retrieve. Format: projects/{project_id_or_number}/locations/{location_id}/catalogs/{catalog_id}/databases/{database_id}/tables/{table_id}", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/catalogs/[^/]+/databases/[^/]+/tables/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Table" +}, +"scopes": [ +"https://www.googleapis.com/auth/bigquery", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "List all tables in a specified database.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/catalogs/{catalogsId}/databases/{databasesId}/tables", +"httpMethod": "GET", +"id": "biglake.projects.locations.catalogs.databases.tables.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "The maximum number of tables to return. The service may return fewer than this value. If unspecified, at most 50 tables will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A page token, received from a previous `ListTables` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListTables` must match the call that provided the page token.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent, which owns this collection of tables. Format: projects/{project_id_or_number}/locations/{location_id}/catalogs/{catalog_id}/databases/{database_id}", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/catalogs/[^/]+/databases/[^/]+$", +"required": true, +"type": "string" +}, +"view": { +"description": "The view for the returned tables.", +"enum": [ +"TABLE_VIEW_UNSPECIFIED", +"BASIC", +"FULL" +], +"enumDescriptions": [ +"Default value. The API will default to the BASIC view.", +"Include only table names. This is the default value.", +"Include everything." +], +"location": "query", +"type": "string" +} +}, +"path": "v1/{+parent}/tables", +"response": { +"$ref": "ListTablesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/bigquery", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates an existing table specified by the table ID.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/catalogs/{catalogsId}/databases/{databasesId}/tables/{tablesId}", +"httpMethod": "PATCH", +"id": "biglake.projects.locations.catalogs.databases.tables.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Output only. The resource name. Format: projects/{project_id_or_number}/locations/{location_id}/catalogs/{catalog_id}/databases/{database_id}/tables/{table_id}", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/catalogs/[^/]+/databases/[^/]+/tables/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "The list of fields to update. For the `FieldMask` definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask If not set, defaults to all of the fields that are allowed to update.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "Table" +}, +"response": { +"$ref": "Table" +}, +"scopes": [ +"https://www.googleapis.com/auth/bigquery", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"rename": { +"description": "Renames an existing table specified by the table ID.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/catalogs/{catalogsId}/databases/{databasesId}/tables/{tablesId}:rename", +"httpMethod": "POST", +"id": "biglake.projects.locations.catalogs.databases.tables.rename", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The table's `name` field is used to identify the table to rename. Format: projects/{project_id_or_number}/locations/{location_id}/catalogs/{catalog_id}/databases/{database_id}/tables/{table_id}", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/catalogs/[^/]+/databases/[^/]+/tables/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:rename", +"request": { +"$ref": "RenameTableRequest" +}, +"response": { +"$ref": "Table" +}, +"scopes": [ +"https://www.googleapis.com/auth/bigquery", +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +} +} +} +} +} +} +} +}, +"revision": "20260209", +"rootUrl": "https://biglake.googleapis.com/", +"schemas": { +"AuditConfig": { +"description": "Specifies the audit configuration for a service. The configuration determines which permission types are logged, and what identities, if any, are exempted from logging. An AuditConfig must have one or more AuditLogConfigs. If there are AuditConfigs for both `allServices` and a specific service, the union of the two AuditConfigs is used for that service: the log_types specified in each AuditConfig are enabled, and the exempted_members in each AuditLogConfig are exempted. Example Policy with multiple AuditConfigs: { \"audit_configs\": [ { \"service\": \"allServices\", \"audit_log_configs\": [ { \"log_type\": \"DATA_READ\", \"exempted_members\": [ \"user:jose@example.com\" ] }, { \"log_type\": \"DATA_WRITE\" }, { \"log_type\": \"ADMIN_READ\" } ] }, { \"service\": \"sampleservice.googleapis.com\", \"audit_log_configs\": [ { \"log_type\": \"DATA_READ\" }, { \"log_type\": \"DATA_WRITE\", \"exempted_members\": [ \"user:aliya@example.com\" ] } ] } ] } For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also exempts `jose@example.com` from DATA_READ logging, and `aliya@example.com` from DATA_WRITE logging.", +"id": "AuditConfig", +"properties": { +"auditLogConfigs": { +"description": "The configuration for logging of each type of permission.", +"items": { +"$ref": "AuditLogConfig" +}, +"type": "array" +}, +"service": { +"description": "Specifies a service that will be enabled for audit logging. For example, `storage.googleapis.com`, `cloudsql.googleapis.com`. `allServices` is a special value that covers all services.", +"type": "string" +} +}, +"type": "object" +}, +"AuditLogConfig": { +"description": "Provides the configuration for logging a type of permissions. Example: { \"audit_log_configs\": [ { \"log_type\": \"DATA_READ\", \"exempted_members\": [ \"user:jose@example.com\" ] }, { \"log_type\": \"DATA_WRITE\" } ] } This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting jose@example.com from DATA_READ logging.", +"id": "AuditLogConfig", +"properties": { +"exemptedMembers": { +"description": "Specifies the identities that do not cause logging for this type of permission. Follows the same format of Binding.members.", +"items": { +"type": "string" +}, +"type": "array" +}, +"logType": { +"description": "The log type that this config enables.", +"enum": [ +"LOG_TYPE_UNSPECIFIED", +"ADMIN_READ", +"DATA_WRITE", +"DATA_READ" +], +"enumDescriptions": [ +"Default case. Should never be this.", +"Admin reads. Example: CloudIAM getIamPolicy", +"Data writes. Example: CloudSQL Users create", +"Data reads. Example: CloudSQL Users list" +], +"type": "string" +} +}, +"type": "object" +}, +"Binding": { +"description": "Associates `members`, or principals, with a `role`.", +"id": "Binding", +"properties": { +"condition": { +"$ref": "Expr", +"description": "The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies)." +}, +"members": { +"description": "Specifies the principals requesting access for a Google Cloud resource. `members` can have the following values: * `allUsers`: A special identifier that represents anyone who is on the internet; with or without a Google account. * `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service account. Does not include identities that come from external identity providers (IdPs) through identity federation. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `group:{emailid}`: An email address that represents a Google group. For example, `admins@example.com`. * `domain:{domain}`: The G Suite domain (primary) that represents all the users of that domain. For example, `google.com` or `example.com`. * `principal://iam.googleapis.com/locations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}`: A single identity in a workforce identity pool. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/group/{group_id}`: All workforce identities in a group. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/attribute.{attribute_name}/{attribute_value}`: All workforce identities with a specific attribute value. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/*`: All identities in a workforce identity pool. * `principal://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/subject/{subject_attribute_value}`: A single identity in a workload identity pool. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/group/{group_id}`: A workload identity pool group. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/attribute.{attribute_name}/{attribute_value}`: All identities in a workload identity pool with a certain attribute. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/*`: All identities in a workload identity pool. * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a user that has been recently deleted. For example, `alice@example.com?uid=123456789012345678901`. If the user is recovered, this value reverts to `user:{emailid}` and the recovered user retains the role in the binding. * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a service account that has been recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the service account is undeleted, this value reverts to `serviceAccount:{emailid}` and the undeleted service account retains the role in the binding. * `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a Google group that has been recently deleted. For example, `admins@example.com?uid=123456789012345678901`. If the group is recovered, this value reverts to `group:{emailid}` and the recovered group retains the role in the binding. * `deleted:principal://iam.googleapis.com/locations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}`: Deleted single identity in a workforce identity pool. For example, `deleted:principal://iam.googleapis.com/locations/global/workforcePools/my-pool-id/subject/my-subject-attribute-value`.", +"items": { +"type": "string" +}, +"type": "array" +}, +"role": { +"description": "Role that is assigned to the list of `members`, or principals. For example, `roles/viewer`, `roles/editor`, or `roles/owner`. For an overview of the IAM roles and permissions, see the [IAM documentation](https://cloud.google.com/iam/docs/roles-overview). For a list of the available pre-defined roles, see [here](https://cloud.google.com/iam/docs/understanding-roles).", +"type": "string" +} +}, +"type": "object" +}, +"Catalog": { +"description": "Catalog is the container of databases.", +"id": "Catalog", +"properties": { +"createTime": { +"description": "Output only. The creation time of the catalog.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"deleteTime": { +"description": "Output only. The deletion time of the catalog. Only set after the catalog is deleted.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"expireTime": { +"description": "Output only. The time when this catalog is considered expired. Only set after the catalog is deleted.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"name": { +"description": "Output only. The resource name. Format: projects/{project_id_or_number}/locations/{location_id}/catalogs/{catalog_id}", +"readOnly": true, +"type": "string" +}, +"updateTime": { +"description": "Output only. The last modification time of the catalog.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"Database": { +"description": "Database is the container of tables.", +"id": "Database", +"properties": { +"createTime": { +"description": "Output only. The creation time of the database.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"deleteTime": { +"description": "Output only. The deletion time of the database. Only set after the database is deleted.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"expireTime": { +"description": "Output only. The time when this database is considered expired. Only set after the database is deleted.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"hiveOptions": { +"$ref": "HiveDatabaseOptions", +"description": "Options of a Hive database." +}, +"name": { +"description": "Output only. The resource name. Format: projects/{project_id_or_number}/locations/{location_id}/catalogs/{catalog_id}/databases/{database_id}", +"readOnly": true, +"type": "string" +}, +"type": { +"description": "The database type.", +"enum": [ +"TYPE_UNSPECIFIED", +"HIVE" +], +"enumDescriptions": [ +"The type is not specified.", +"Represents a database storing tables compatible with Hive Metastore tables." +], +"type": "string" +}, +"updateTime": { +"description": "Output only. The last modification time of the database.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"Expr": { +"description": "Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: \"Summary size limit\" description: \"Determines if a summary is less than 100 chars\" expression: \"document.summary.size() < 100\" Example (Equality): title: \"Requestor is owner\" description: \"Determines if requestor is the document owner\" expression: \"document.owner == request.auth.claims.email\" Example (Logic): title: \"Public documents\" description: \"Determine whether the document should be publicly visible\" expression: \"document.type != 'private' && document.type != 'internal'\" Example (Data Manipulation): title: \"Notification string\" description: \"Create a notification string with a timestamp.\" expression: \"'New message received at ' + string(document.create_time)\" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information.", +"id": "Expr", +"properties": { +"description": { +"description": "Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI.", +"type": "string" +}, +"expression": { +"description": "Textual representation of an expression in Common Expression Language syntax.", +"type": "string" +}, +"location": { +"description": "Optional. String indicating the location of the expression for error reporting, e.g. a file name and a position in the file.", +"type": "string" +}, +"title": { +"description": "Optional. Title for the expression, i.e. a short string describing its purpose. This can be used e.g. in UIs which allow to enter the expression.", +"type": "string" +} +}, +"type": "object" +}, +"HiveDatabaseOptions": { +"description": "Options of a Hive database.", +"id": "HiveDatabaseOptions", +"properties": { +"locationUri": { +"description": "Cloud Storage folder URI where the database data is stored, starting with \"gs://\".", +"type": "string" +}, +"parameters": { +"additionalProperties": { +"type": "string" +}, +"description": "Stores user supplied Hive database parameters.", +"type": "object" +} +}, +"type": "object" +}, +"HiveTableOptions": { +"description": "Options of a Hive table.", +"id": "HiveTableOptions", +"properties": { +"parameters": { +"additionalProperties": { +"type": "string" +}, +"description": "Stores user supplied Hive table parameters.", +"type": "object" +}, +"storageDescriptor": { +"$ref": "StorageDescriptor", +"description": "Stores physical storage information of the data." +}, +"tableType": { +"description": "Hive table type. For example, MANAGED_TABLE, EXTERNAL_TABLE.", +"type": "string" +} +}, +"type": "object" +}, +"ListCatalogsResponse": { +"description": "Response message for the ListCatalogs method.", +"id": "ListCatalogsResponse", +"properties": { +"catalogs": { +"description": "The catalogs from the specified project.", +"items": { +"$ref": "Catalog" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.", +"type": "string" +} +}, +"type": "object" +}, +"ListDatabasesResponse": { +"description": "Response message for the ListDatabases method.", +"id": "ListDatabasesResponse", +"properties": { +"databases": { +"description": "The databases from the specified catalog.", +"items": { +"$ref": "Database" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.", +"type": "string" +} +}, +"type": "object" +}, +"ListTablesResponse": { +"description": "Response message for the ListTables method.", +"id": "ListTablesResponse", +"properties": { +"nextPageToken": { +"description": "A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.", +"type": "string" +}, +"tables": { +"description": "The tables from the specified database.", +"items": { +"$ref": "Table" +}, +"type": "array" +} +}, +"type": "object" +}, +"Policy": { +"description": "An Identity and Access Management (IAM) policy, which specifies access controls for Google Cloud resources. A `Policy` is a collection of `bindings`. A `binding` binds one or more `members`, or principals, to a single `role`. Principals can be user accounts, service accounts, Google groups, and domains (such as G Suite). A `role` is a named list of permissions; each `role` can be an IAM predefined role or a user-created custom role. For some types of Google Cloud resources, a `binding` can also specify a `condition`, which is a logical expression that allows access to a resource only if the expression evaluates to `true`. A condition can add constraints based on attributes of the request, the resource, or both. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). **JSON example:** ``` { \"bindings\": [ { \"role\": \"roles/resourcemanager.organizationAdmin\", \"members\": [ \"user:mike@example.com\", \"group:admins@example.com\", \"domain:google.com\", \"serviceAccount:my-project-id@appspot.gserviceaccount.com\" ] }, { \"role\": \"roles/resourcemanager.organizationViewer\", \"members\": [ \"user:eve@example.com\" ], \"condition\": { \"title\": \"expirable access\", \"description\": \"Does not grant access after Sep 2020\", \"expression\": \"request.time < timestamp('2020-10-01T00:00:00.000Z')\", } } ], \"etag\": \"BwWWja0YfJA=\", \"version\": 3 } ``` **YAML example:** ``` bindings: - members: - user:mike@example.com - group:admins@example.com - domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.com role: roles/resourcemanager.organizationViewer condition: title: expirable access description: Does not grant access after Sep 2020 expression: request.time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 ``` For a description of IAM and its features, see the [IAM documentation](https://cloud.google.com/iam/docs/).", +"id": "Policy", +"properties": { +"auditConfigs": { +"description": "Specifies cloud audit logging configuration for this policy.", +"items": { +"$ref": "AuditConfig" +}, +"type": "array" +}, +"bindings": { +"description": "Associates a list of `members`, or principals, with a `role`. Optionally, may specify a `condition` that determines how and when the `bindings` are applied. Each of the `bindings` must contain at least one principal. The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250 of these principals can be Google groups. Each occurrence of a principal counts towards these limits. For example, if the `bindings` grant 50 different roles to `user:alice@example.com`, and not to any other principal, then you can add another 1,450 principals to the `bindings` in the `Policy`.", +"items": { +"$ref": "Binding" +}, +"type": "array" +}, +"etag": { +"description": "`etag` is used for optimistic concurrency control as a way to help prevent simultaneous updates of a policy from overwriting each other. It is strongly suggested that systems make use of the `etag` in the read-modify-write cycle to perform policy updates in order to avoid race conditions: An `etag` is returned in the response to `getIamPolicy`, and systems are expected to put that etag in the request to `setIamPolicy` to ensure that their change will be applied to the same version of the policy. **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost.", +"format": "byte", +"type": "string" +}, +"version": { +"description": "Specifies the format of the policy. Valid values are `0`, `1`, and `3`. Requests that specify an invalid value are rejected. Any operation that affects conditional role bindings must specify version `3`. This requirement applies to the following operations: * Getting a policy that includes a conditional role binding * Adding a conditional role binding to a policy * Changing a conditional role binding in a policy * Removing any role binding, with or without a condition, from a policy that includes conditions **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost. If a policy does not include any conditions, operations on that policy may specify any valid version or leave the field unset. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"RenameTableRequest": { +"description": "Request message for the RenameTable method in MetastoreService", +"id": "RenameTableRequest", +"properties": { +"newName": { +"description": "Required. The new `name` for the specified table, must be in the same database. Format: projects/{project_id_or_number}/locations/{location_id}/catalogs/{catalog_id}/databases/{database_id}/tables/{table_id}", +"type": "string" +} +}, +"type": "object" +}, +"SerDeInfo": { +"description": "Serializer and deserializer information.", +"id": "SerDeInfo", +"properties": { +"serializationLib": { +"description": "The fully qualified Java class name of the serialization library.", +"type": "string" +} +}, +"type": "object" +}, +"SetIamPolicyRequest": { +"description": "Request message for `SetIamPolicy` method.", +"id": "SetIamPolicyRequest", +"properties": { +"policy": { +"$ref": "Policy", +"description": "REQUIRED: The complete policy to be applied to the `resource`. The size of the policy is limited to a few 10s of KB. An empty policy is a valid policy but certain Google Cloud services (such as Projects) might reject them." +}, +"updateMask": { +"description": "OPTIONAL: A FieldMask specifying which fields of the policy to modify. Only the fields in the mask will be modified. If no mask is provided, the following default mask is used: `paths: \"bindings, etag\"`", +"format": "google-fieldmask", +"type": "string" +} +}, +"type": "object" +}, +"StorageDescriptor": { +"description": "Stores physical storage information of the data.", +"id": "StorageDescriptor", +"properties": { +"inputFormat": { +"description": "The fully qualified Java class name of the input format.", +"type": "string" +}, +"locationUri": { +"description": "Cloud Storage folder URI where the table data is stored, starting with \"gs://\".", +"type": "string" +}, +"outputFormat": { +"description": "The fully qualified Java class name of the output format.", +"type": "string" +}, +"serdeInfo": { +"$ref": "SerDeInfo", +"description": "Serializer and deserializer information." +} +}, +"type": "object" +}, +"Table": { +"description": "Represents a table.", +"id": "Table", +"properties": { +"createTime": { +"description": "Output only. The creation time of the table.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"deleteTime": { +"description": "Output only. The deletion time of the table. Only set after the table is deleted.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"etag": { +"description": "The checksum of a table object computed by the server based on the value of other fields. It may be sent on update requests to ensure the client has an up-to-date value before proceeding. It is only checked for update table operations.", +"type": "string" +}, +"expireTime": { +"description": "Output only. The time when this table is considered expired. Only set after the table is deleted.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"hiveOptions": { +"$ref": "HiveTableOptions", +"description": "Options of a Hive table." +}, +"name": { +"description": "Output only. The resource name. Format: projects/{project_id_or_number}/locations/{location_id}/catalogs/{catalog_id}/databases/{database_id}/tables/{table_id}", +"readOnly": true, +"type": "string" +}, +"type": { +"description": "The table type.", +"enum": [ +"TYPE_UNSPECIFIED", +"HIVE" +], +"enumDescriptions": [ +"The type is not specified.", +"Represents a table compatible with Hive Metastore tables." +], +"type": "string" +}, +"updateTime": { +"description": "Output only. The last modification time of the table.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"TestIamPermissionsRequest": { +"description": "Request message for `TestIamPermissions` method.", +"id": "TestIamPermissionsRequest", +"properties": { +"permissions": { +"description": "The set of permissions to check for the `resource`. Permissions with wildcards (such as `*` or `storage.*`) are not allowed. For more information see [IAM Overview](https://cloud.google.com/iam/docs/overview#permissions).", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"TestIamPermissionsResponse": { +"description": "Response message for `TestIamPermissions` method.", +"id": "TestIamPermissionsResponse", +"properties": { +"permissions": { +"description": "A subset of `TestPermissionsRequest.permissions` that the caller is allowed.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +} +}, +"servicePath": "", +"title": "BigLake API", +"version": "v1", +"version_module": true +} \ No newline at end of file diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/bigquery.v2.json b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/bigquery.v2.json new file mode 100644 index 0000000000000000000000000000000000000000..7f512ff72efd190267cd9bbd174ee064151e58b3 --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/bigquery.v2.json @@ -0,0 +1,11397 @@ +{ +"auth": { +"oauth2": { +"scopes": { +"https://www.googleapis.com/auth/bigquery": { +"description": "View and manage your data in Google BigQuery and see the email address for your Google Account" +}, +"https://www.googleapis.com/auth/bigquery.insertdata": { +"description": "Insert data into Google BigQuery" +}, +"https://www.googleapis.com/auth/cloud-platform": { +"description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." +}, +"https://www.googleapis.com/auth/cloud-platform.read-only": { +"description": "View your data across Google Cloud services and see the email address of your Google Account" +}, +"https://www.googleapis.com/auth/devstorage.full_control": { +"description": "Manage your data and permissions in Cloud Storage and see the email address for your Google Account" +}, +"https://www.googleapis.com/auth/devstorage.read_only": { +"description": "View your data in Google Cloud Storage" +}, +"https://www.googleapis.com/auth/devstorage.read_write": { +"description": "Manage your data in Cloud Storage and see the email address of your Google Account" +} +} +} +}, +"basePath": "/bigquery/v2/", +"baseUrl": "https://bigquery.googleapis.com/bigquery/v2/", +"batchPath": "batch/bigquery/v2", +"canonicalName": "Bigquery", +"description": "A data platform for customers to create, manage, share and query data.", +"discoveryVersion": "v1", +"documentationLink": "https://cloud.google.com/bigquery/", +"endpoints": [ +{ +"description": "Regional Endpoint", +"endpointUrl": "https://bigquery.asia-south1.rep.googleapis.com/", +"location": "asia-south1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://bigquery.asia-south2.rep.googleapis.com/", +"location": "asia-south2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://bigquery.europe-west1.rep.googleapis.com/", +"location": "europe-west1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://bigquery.europe-west2.rep.googleapis.com/", +"location": "europe-west2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://bigquery.europe-west3.rep.googleapis.com/", +"location": "europe-west3" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://bigquery.europe-west4.rep.googleapis.com/", +"location": "europe-west4" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://bigquery.europe-west6.rep.googleapis.com/", +"location": "europe-west6" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://bigquery.europe-west8.rep.googleapis.com/", +"location": "europe-west8" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://bigquery.europe-west9.rep.googleapis.com/", +"location": "europe-west9" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://bigquery.me-central2.rep.googleapis.com/", +"location": "me-central2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://bigquery.northamerica-northeast1.rep.googleapis.com/", +"location": "northamerica-northeast1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://bigquery.northamerica-northeast2.rep.googleapis.com/", +"location": "northamerica-northeast2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://bigquery.us-central1.rep.googleapis.com/", +"location": "us-central1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://bigquery.us-central2.rep.googleapis.com/", +"location": "us-central2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://bigquery.us-east1.rep.googleapis.com/", +"location": "us-east1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://bigquery.us-east4.rep.googleapis.com/", +"location": "us-east4" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://bigquery.us-east5.rep.googleapis.com/", +"location": "us-east5" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://bigquery.us-east7.rep.googleapis.com/", +"location": "us-east7" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://bigquery.us-south1.rep.googleapis.com/", +"location": "us-south1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://bigquery.us-west1.rep.googleapis.com/", +"location": "us-west1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://bigquery.us-west2.rep.googleapis.com/", +"location": "us-west2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://bigquery.us-west3.rep.googleapis.com/", +"location": "us-west3" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://bigquery.us-west4.rep.googleapis.com/", +"location": "us-west4" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://bigquery.us-west8.rep.googleapis.com/", +"location": "us-west8" +} +], +"fullyEncodeReservedExpansion": true, +"icons": { +"x16": "http://www.google.com/images/icons/product/search-16.gif", +"x32": "http://www.google.com/images/icons/product/search-32.gif" +}, +"id": "bigquery:v2", +"kind": "discovery#restDescription", +"mtlsRootUrl": "https://bigquery.mtls.googleapis.com/", +"name": "bigquery", +"ownerDomain": "google.com", +"ownerName": "Google", +"parameters": { +"$.xgafv": { +"description": "V1 error format.", +"enum": [ +"1", +"2" +], +"enumDescriptions": [ +"v1 error format", +"v2 error format" +], +"location": "query", +"type": "string" +}, +"access_token": { +"description": "OAuth access token.", +"location": "query", +"type": "string" +}, +"alt": { +"default": "json", +"description": "Data format for response.", +"enum": [ +"json", +"media", +"proto" +], +"enumDescriptions": [ +"Responses with Content-Type of application/json", +"Media download with context-dependent Content-Type", +"Responses with Content-Type of application/x-protobuf" +], +"location": "query", +"type": "string" +}, +"callback": { +"description": "JSONP", +"location": "query", +"type": "string" +}, +"fields": { +"description": "Selector specifying which fields to include in a partial response.", +"location": "query", +"type": "string" +}, +"key": { +"description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", +"location": "query", +"type": "string" +}, +"oauth_token": { +"description": "OAuth 2.0 token for the current user.", +"location": "query", +"type": "string" +}, +"prettyPrint": { +"default": "true", +"description": "Returns response with indentations and line breaks.", +"location": "query", +"type": "boolean" +}, +"quotaUser": { +"description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.", +"location": "query", +"type": "string" +}, +"uploadType": { +"description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", +"location": "query", +"type": "string" +}, +"upload_protocol": { +"description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", +"location": "query", +"type": "string" +} +}, +"protocol": "rest", +"resources": { +"datasets": { +"methods": { +"delete": { +"description": "Deletes the dataset specified by the datasetId value. Before you can delete a dataset, you must delete all its tables, either manually or by specifying deleteContents. Immediately after deletion, you can create another dataset with the same name.", +"flatPath": "projects/{projectsId}/datasets/{datasetsId}", +"httpMethod": "DELETE", +"id": "bigquery.datasets.delete", +"parameterOrder": [ +"projectId", +"datasetId" +], +"parameters": { +"datasetId": { +"description": "Required. Dataset ID of dataset being deleted", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"deleteContents": { +"description": "If True, delete all the tables in the dataset. If False and the dataset contains tables, the request will fail. Default is False", +"location": "query", +"type": "boolean" +}, +"projectId": { +"description": "Required. Project ID of the dataset being deleted", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "projects/{+projectId}/datasets/{+datasetId}", +"scopes": [ +"https://www.googleapis.com/auth/bigquery", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Returns the dataset specified by datasetID.", +"flatPath": "projects/{projectsId}/datasets/{datasetsId}", +"httpMethod": "GET", +"id": "bigquery.datasets.get", +"parameterOrder": [ +"projectId", +"datasetId" +], +"parameters": { +"accessPolicyVersion": { +"description": "Optional. The version of the access policy schema to fetch. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for conditional access policy binding in datasets must specify version 3. Dataset with no conditional role bindings in access policy may specify any valid value or leave the field unset. This field will be mapped to [IAM Policy version] (https://cloud.google.com/iam/docs/policies#versions) and will be used to fetch policy from IAM. If unset or if 0 or 1 value is used for dataset with conditional bindings, access entry with condition will have role string appended by 'withcond' string followed by a hash value. For example : { \"access\": [ { \"role\": \"roles/bigquery.dataViewer_with_conditionalbinding_7a34awqsda\", \"userByEmail\": \"user@example.com\", } ] } Please refer https://cloud.google.com/iam/docs/troubleshooting-withcond for more details.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"datasetId": { +"description": "Required. Dataset ID of the requested dataset", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"datasetView": { +"description": "Optional. Specifies the view that determines which dataset information is returned. By default, metadata and ACL information are returned.", +"enum": [ +"DATASET_VIEW_UNSPECIFIED", +"METADATA", +"ACL", +"FULL" +], +"enumDescriptions": [ +"The default value. Default to the FULL view.", +"View metadata information for the dataset, such as friendlyName, description, labels, etc.", +"View ACL information for the dataset, which defines dataset access for one or more entities.", +"View both dataset metadata and ACL information." +], +"location": "query", +"type": "string" +}, +"projectId": { +"description": "Required. Project ID of the requested dataset", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "projects/{+projectId}/datasets/{+datasetId}", +"response": { +"$ref": "Dataset" +}, +"scopes": [ +"https://www.googleapis.com/auth/bigquery", +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only" +] +}, +"insert": { +"description": "Creates a new empty dataset.", +"flatPath": "projects/{projectsId}/datasets", +"httpMethod": "POST", +"id": "bigquery.datasets.insert", +"parameterOrder": [ +"projectId" +], +"parameters": { +"accessPolicyVersion": { +"description": "Optional. The version of the provided access policy schema. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. This version refers to the schema version of the access policy and not the version of access policy. This field's value can be equal or more than the access policy schema provided in the request. For example, * Requests with conditional access policy binding in datasets must specify version 3. * But dataset with no conditional role bindings in access policy may specify any valid value or leave the field unset. If unset or if 0 or 1 value is used for dataset with conditional bindings, request will be rejected. This field will be mapped to IAM Policy version (https://cloud.google.com/iam/docs/policies#versions) and will be used to set policy in IAM.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"projectId": { +"description": "Required. Project ID of the new dataset", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "projects/{+projectId}/datasets", +"request": { +"$ref": "Dataset" +}, +"response": { +"$ref": "Dataset" +}, +"scopes": [ +"https://www.googleapis.com/auth/bigquery", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists all datasets in the specified project to which the user has been granted the READER dataset role.", +"flatPath": "projects/{projectsId}/datasets", +"httpMethod": "GET", +"id": "bigquery.datasets.list", +"parameterOrder": [ +"projectId" +], +"parameters": { +"all": { +"description": "Whether to list all datasets, including hidden ones", +"location": "query", +"type": "boolean" +}, +"filter": { +"description": "An expression for filtering the results of the request by label. The syntax is `labels.[:]`. Multiple filters can be AND-ed together by connecting with a space. Example: `labels.department:receiving labels.active`. See [Filtering datasets using labels](https://cloud.google.com/bigquery/docs/filtering-labels#filtering_datasets_using_labels) for details.", +"location": "query", +"type": "string" +}, +"maxResults": { +"description": "The maximum number of results to return in a single response page. Leverage the page tokens to iterate through the entire collection.", +"format": "uint32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Page token, returned by a previous call, to request the next page of results", +"location": "query", +"type": "string" +}, +"projectId": { +"description": "Required. Project ID of the datasets to be listed", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "projects/{+projectId}/datasets", +"response": { +"$ref": "DatasetList" +}, +"scopes": [ +"https://www.googleapis.com/auth/bigquery", +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only" +] +}, +"patch": { +"description": "Updates information in an existing dataset. The update method replaces the entire dataset resource, whereas the patch method only replaces fields that are provided in the submitted dataset resource. This method supports RFC5789 patch semantics.", +"flatPath": "projects/{projectsId}/datasets/{datasetsId}", +"httpMethod": "PATCH", +"id": "bigquery.datasets.patch", +"parameterOrder": [ +"projectId", +"datasetId" +], +"parameters": { +"accessPolicyVersion": { +"description": "Optional. The version of the provided access policy schema. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. This version refers to the schema version of the access policy and not the version of access policy. This field's value can be equal or more than the access policy schema provided in the request. For example, * Operations updating conditional access policy binding in datasets must specify version 3. Some of the operations are : - Adding a new access policy entry with condition. - Removing an access policy entry with condition. - Updating an access policy entry with condition. * But dataset with no conditional role bindings in access policy may specify any valid value or leave the field unset. If unset or if 0 or 1 value is used for dataset with conditional bindings, request will be rejected. This field will be mapped to IAM Policy version (https://cloud.google.com/iam/docs/policies#versions) and will be used to set policy in IAM.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"datasetId": { +"description": "Required. Dataset ID of the dataset being updated", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"projectId": { +"description": "Required. Project ID of the dataset being updated", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"updateMode": { +"description": "Optional. Specifies the fields of dataset that update/patch operation is targeting By default, both metadata and ACL fields are updated.", +"enum": [ +"UPDATE_MODE_UNSPECIFIED", +"UPDATE_METADATA", +"UPDATE_ACL", +"UPDATE_FULL" +], +"enumDescriptions": [ +"The default value. Default to the UPDATE_FULL.", +"Includes metadata information for the dataset, such as friendlyName, description, labels, etc.", +"Includes ACL information for the dataset, which defines dataset access for one or more entities.", +"Includes both dataset metadata and ACL information." +], +"location": "query", +"type": "string" +} +}, +"path": "projects/{+projectId}/datasets/{+datasetId}", +"request": { +"$ref": "Dataset" +}, +"response": { +"$ref": "Dataset" +}, +"scopes": [ +"https://www.googleapis.com/auth/bigquery", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"undelete": { +"description": "Undeletes a dataset which is within time travel window based on datasetId. If a time is specified, the dataset version deleted at that time is undeleted, else the last live version is undeleted.", +"flatPath": "projects/{projectsId}/datasets/{datasetsId}:undelete", +"httpMethod": "POST", +"id": "bigquery.datasets.undelete", +"parameterOrder": [ +"projectId", +"datasetId" +], +"parameters": { +"datasetId": { +"description": "Required. Dataset ID of dataset being deleted", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"projectId": { +"description": "Required. Project ID of the dataset to be undeleted", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "projects/{+projectId}/datasets/{+datasetId}:undelete", +"request": { +"$ref": "UndeleteDatasetRequest" +}, +"response": { +"$ref": "Dataset" +}, +"scopes": [ +"https://www.googleapis.com/auth/bigquery", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"update": { +"description": "Updates information in an existing dataset. The update method replaces the entire dataset resource, whereas the patch method only replaces fields that are provided in the submitted dataset resource.", +"flatPath": "projects/{projectsId}/datasets/{datasetsId}", +"httpMethod": "PUT", +"id": "bigquery.datasets.update", +"parameterOrder": [ +"projectId", +"datasetId" +], +"parameters": { +"accessPolicyVersion": { +"description": "Optional. The version of the provided access policy schema. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. This version refers to the schema version of the access policy and not the version of access policy. This field's value can be equal or more than the access policy schema provided in the request. For example, * Operations updating conditional access policy binding in datasets must specify version 3. Some of the operations are : - Adding a new access policy entry with condition. - Removing an access policy entry with condition. - Updating an access policy entry with condition. * But dataset with no conditional role bindings in access policy may specify any valid value or leave the field unset. If unset or if 0 or 1 value is used for dataset with conditional bindings, request will be rejected. This field will be mapped to IAM Policy version (https://cloud.google.com/iam/docs/policies#versions) and will be used to set policy in IAM.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"datasetId": { +"description": "Required. Dataset ID of the dataset being updated", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"projectId": { +"description": "Required. Project ID of the dataset being updated", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"updateMode": { +"description": "Optional. Specifies the fields of dataset that update/patch operation is targeting By default, both metadata and ACL fields are updated.", +"enum": [ +"UPDATE_MODE_UNSPECIFIED", +"UPDATE_METADATA", +"UPDATE_ACL", +"UPDATE_FULL" +], +"enumDescriptions": [ +"The default value. Default to the UPDATE_FULL.", +"Includes metadata information for the dataset, such as friendlyName, description, labels, etc.", +"Includes ACL information for the dataset, which defines dataset access for one or more entities.", +"Includes both dataset metadata and ACL information." +], +"location": "query", +"type": "string" +} +}, +"path": "projects/{+projectId}/datasets/{+datasetId}", +"request": { +"$ref": "Dataset" +}, +"response": { +"$ref": "Dataset" +}, +"scopes": [ +"https://www.googleapis.com/auth/bigquery", +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"jobs": { +"methods": { +"cancel": { +"description": "Requests that a job be cancelled. This call will return immediately, and the client will need to poll for the job status to see if the cancel completed successfully. Cancelled jobs may still incur costs.", +"flatPath": "projects/{projectsId}/jobs/{jobsId}/cancel", +"httpMethod": "POST", +"id": "bigquery.jobs.cancel", +"parameterOrder": [ +"projectId", +"jobId" +], +"parameters": { +"jobId": { +"description": "Required. Job ID of the job to cancel", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"location": { +"description": "The geographic location of the job. You must [specify the location](https://cloud.google.com/bigquery/docs/locations#specify_locations) to run the job for the following scenarios: * If the location to run a job is not in the `us` or the `eu` multi-regional location * If the job's location is in a single region (for example, `us-central1`)", +"location": "query", +"type": "string" +}, +"projectId": { +"description": "Required. Project ID of the job to cancel", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "projects/{+projectId}/jobs/{+jobId}/cancel", +"response": { +"$ref": "JobCancelResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/bigquery", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Requests the deletion of the metadata of a job. This call returns when the job's metadata is deleted.", +"flatPath": "projects/{projectsId}/jobs/{jobsId}/delete", +"httpMethod": "DELETE", +"id": "bigquery.jobs.delete", +"parameterOrder": [ +"projectId", +"jobId" +], +"parameters": { +"jobId": { +"description": "Required. Job ID of the job for which metadata is to be deleted. If this is a parent job which has child jobs, the metadata from all child jobs will be deleted as well. Direct deletion of the metadata of child jobs is not allowed.", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"location": { +"description": "The geographic location of the job. Required. For more information, see how to [specify locations](https://cloud.google.com/bigquery/docs/locations#specify_locations).", +"location": "query", +"type": "string" +}, +"projectId": { +"description": "Required. Project ID of the job for which metadata is to be deleted.", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "projects/{+projectId}/jobs/{+jobId}/delete", +"scopes": [ +"https://www.googleapis.com/auth/bigquery", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Returns information about a specific job. Job information is available for a six month period after creation. Requires that you're the person who ran the job, or have the Is Owner project role.", +"flatPath": "projects/{projectsId}/jobs/{jobsId}", +"httpMethod": "GET", +"id": "bigquery.jobs.get", +"parameterOrder": [ +"projectId", +"jobId" +], +"parameters": { +"jobId": { +"description": "Required. Job ID of the requested job.", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"location": { +"description": "The geographic location of the job. You must specify the location to run the job for the following scenarios: * If the location to run a job is not in the `us` or the `eu` multi-regional location * If the job's location is in a single region (for example, `us-central1`) For more information, see how to [specify locations](https://cloud.google.com/bigquery/docs/locations#specify_locations).", +"location": "query", +"type": "string" +}, +"projectId": { +"description": "Required. Project ID of the requested job.", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "projects/{+projectId}/jobs/{+jobId}", +"response": { +"$ref": "Job" +}, +"scopes": [ +"https://www.googleapis.com/auth/bigquery", +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only" +] +}, +"getQueryResults": { +"description": "RPC to get the results of a query job.", +"flatPath": "projects/{projectsId}/queries/{queriesId}", +"httpMethod": "GET", +"id": "bigquery.jobs.getQueryResults", +"parameterOrder": [ +"projectId", +"jobId" +], +"parameters": { +"formatOptions.timestampOutputFormat": { +"description": "Optional. The API output format for a timestamp. This offers more explicit control over the timestamp output format as compared to the existing `use_int64_timestamp` option.", +"enum": [ +"TIMESTAMP_OUTPUT_FORMAT_UNSPECIFIED", +"FLOAT64", +"INT64", +"ISO8601_STRING" +], +"enumDescriptions": [ +"Corresponds to default API output behavior, which is FLOAT64.", +"Timestamp is output as float64 seconds since Unix epoch.", +"Timestamp is output as int64 microseconds since Unix epoch.", +"Timestamp is output as ISO 8601 String (\"YYYY-MM-DDTHH:MM:SS.FFFFFFFFFFFFZ\")." +], +"location": "query", +"type": "string" +}, +"formatOptions.useInt64Timestamp": { +"description": "Optional. Output timestamp as usec int64. Default is false.", +"location": "query", +"type": "boolean" +}, +"jobId": { +"description": "Required. Job ID of the query job.", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"location": { +"description": "The geographic location of the job. You must specify the location to run the job for the following scenarios: * If the location to run a job is not in the `us` or the `eu` multi-regional location * If the job's location is in a single region (for example, `us-central1`) For more information, see how to [specify locations](https://cloud.google.com/bigquery/docs/locations#specify_locations).", +"location": "query", +"type": "string" +}, +"maxResults": { +"description": "Maximum number of results to read.", +"format": "uint32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Page token, returned by a previous call, to request the next page of results.", +"location": "query", +"type": "string" +}, +"projectId": { +"description": "Required. Project ID of the query job.", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"startIndex": { +"description": "Zero-based index of the starting row.", +"format": "uint64", +"location": "query", +"type": "string" +}, +"timeoutMs": { +"description": "Optional: Specifies the maximum amount of time, in milliseconds, that the client is willing to wait for the query to complete. By default, this limit is 10 seconds (10,000 milliseconds). If the query is complete, the jobComplete field in the response is true. If the query has not yet completed, jobComplete is false. You can request a longer timeout period in the timeoutMs field. However, the call is not guaranteed to wait for the specified timeout; it typically returns after around 200 seconds (200,000 milliseconds), even if the query is not complete. If jobComplete is false, you can continue to wait for the query to complete by calling the getQueryResults method until the jobComplete field in the getQueryResults response is true.", +"format": "uint32", +"location": "query", +"type": "integer" +} +}, +"path": "projects/{+projectId}/queries/{+jobId}", +"response": { +"$ref": "GetQueryResultsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/bigquery", +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only" +] +}, +"insert": { +"description": "Starts a new asynchronous job. This API has two different kinds of endpoint URIs, as this method supports a variety of use cases. * The *Metadata* URI is used for most interactions, as it accepts the job configuration directly. * The *Upload* URI is ONLY for the case when you're sending both a load job configuration and a data stream together. In this case, the Upload URI accepts the job configuration and the data as two distinct multipart MIME parts.", +"flatPath": "projects/{projectsId}/jobs", +"httpMethod": "POST", +"id": "bigquery.jobs.insert", +"mediaUpload": { +"accept": [ +"*/*" +], +"protocols": { +"resumable": { +"multipart": true, +"path": "/resumable/upload/bigquery/v2/projects/{+projectId}/jobs" +}, +"simple": { +"multipart": true, +"path": "/upload/bigquery/v2/projects/{+projectId}/jobs" +} +} +}, +"parameterOrder": [ +"projectId" +], +"parameters": { +"projectId": { +"description": "Project ID of project that will be billed for the job.", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "projects/{+projectId}/jobs", +"request": { +"$ref": "Job" +}, +"response": { +"$ref": "Job" +}, +"scopes": [ +"https://www.googleapis.com/auth/bigquery", +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/devstorage.full_control", +"https://www.googleapis.com/auth/devstorage.read_only", +"https://www.googleapis.com/auth/devstorage.read_write" +], +"supportsMediaUpload": true +}, +"list": { +"description": "Lists all jobs that you started in the specified project. Job information is available for a six month period after creation. The job list is sorted in reverse chronological order, by job creation time. Requires the Can View project role, or the Is Owner project role if you set the allUsers property.", +"flatPath": "projects/{projectsId}/jobs", +"httpMethod": "GET", +"id": "bigquery.jobs.list", +"parameterOrder": [ +"projectId" +], +"parameters": { +"allUsers": { +"description": "Whether to display jobs owned by all users in the project. Default False.", +"location": "query", +"type": "boolean" +}, +"maxCreationTime": { +"description": "Max value for job creation time, in milliseconds since the POSIX epoch. If set, only jobs created before or at this timestamp are returned.", +"format": "uint64", +"location": "query", +"type": "string" +}, +"maxResults": { +"description": "The maximum number of results to return in a single response page. Leverage the page tokens to iterate through the entire collection.", +"format": "uint32", +"location": "query", +"type": "integer" +}, +"minCreationTime": { +"description": "Min value for job creation time, in milliseconds since the POSIX epoch. If set, only jobs created after or at this timestamp are returned.", +"format": "uint64", +"location": "query", +"type": "string" +}, +"pageToken": { +"description": "Page token, returned by a previous call, to request the next page of results.", +"location": "query", +"type": "string" +}, +"parentJobId": { +"description": "If set, show only child jobs of the specified parent. Otherwise, show all top-level jobs.", +"location": "query", +"type": "string" +}, +"projectId": { +"description": "Project ID of the jobs to list.", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"projection": { +"description": "Restrict information returned to a set of selected fields", +"enum": [ +"full", +"minimal" +], +"enumDescriptions": [ +"Includes all job data", +"Does not include the job configuration" +], +"location": "query", +"type": "string" +}, +"stateFilter": { +"description": "Filter for job state", +"enum": [ +"done", +"pending", +"running" +], +"enumDescriptions": [ +"Finished jobs", +"Pending jobs", +"Running jobs" +], +"location": "query", +"repeated": true, +"type": "string" +} +}, +"path": "projects/{+projectId}/jobs", +"response": { +"$ref": "JobList" +}, +"scopes": [ +"https://www.googleapis.com/auth/bigquery", +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only" +] +}, +"query": { +"description": "Runs a BigQuery SQL query synchronously and returns query results if the query completes within a specified timeout.", +"flatPath": "projects/{projectsId}/queries", +"httpMethod": "POST", +"id": "bigquery.jobs.query", +"parameterOrder": [ +"projectId" +], +"parameters": { +"projectId": { +"description": "Required. Project ID of the query request.", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "projects/{+projectId}/queries", +"request": { +"$ref": "QueryRequest" +}, +"response": { +"$ref": "QueryResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/bigquery", +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only" +] +} +} +}, +"models": { +"methods": { +"delete": { +"description": "Deletes the model specified by modelId from the dataset.", +"flatPath": "projects/{projectsId}/datasets/{datasetsId}/models/{modelsId}", +"httpMethod": "DELETE", +"id": "bigquery.models.delete", +"parameterOrder": [ +"projectId", +"datasetId", +"modelId" +], +"parameters": { +"datasetId": { +"description": "Required. Dataset ID of the model to delete.", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"modelId": { +"description": "Required. Model ID of the model to delete.", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"projectId": { +"description": "Required. Project ID of the model to delete.", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "projects/{+projectId}/datasets/{+datasetId}/models/{+modelId}", +"scopes": [ +"https://www.googleapis.com/auth/bigquery", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets the specified model resource by model ID.", +"flatPath": "projects/{projectsId}/datasets/{datasetsId}/models/{modelsId}", +"httpMethod": "GET", +"id": "bigquery.models.get", +"parameterOrder": [ +"projectId", +"datasetId", +"modelId" +], +"parameters": { +"datasetId": { +"description": "Required. Dataset ID of the requested model.", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"modelId": { +"description": "Required. Model ID of the requested model.", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"projectId": { +"description": "Required. Project ID of the requested model.", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "projects/{+projectId}/datasets/{+datasetId}/models/{+modelId}", +"response": { +"$ref": "Model" +}, +"scopes": [ +"https://www.googleapis.com/auth/bigquery", +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only" +] +}, +"list": { +"description": "Lists all models in the specified dataset. Requires the READER dataset role. After retrieving the list of models, you can get information about a particular model by calling the models.get method.", +"flatPath": "projects/{projectsId}/datasets/{datasetsId}/models", +"httpMethod": "GET", +"id": "bigquery.models.list", +"parameterOrder": [ +"projectId", +"datasetId" +], +"parameters": { +"datasetId": { +"description": "Required. Dataset ID of the models to list.", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"maxResults": { +"description": "The maximum number of results to return in a single response page. Leverage the page tokens to iterate through the entire collection.", +"format": "uint32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Page token, returned by a previous call to request the next page of results", +"location": "query", +"type": "string" +}, +"projectId": { +"description": "Required. Project ID of the models to list.", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "projects/{+projectId}/datasets/{+datasetId}/models", +"response": { +"$ref": "ListModelsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/bigquery", +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only" +] +}, +"patch": { +"description": "Patch specific fields in the specified model.", +"flatPath": "projects/{projectsId}/datasets/{datasetsId}/models/{modelsId}", +"httpMethod": "PATCH", +"id": "bigquery.models.patch", +"parameterOrder": [ +"projectId", +"datasetId", +"modelId" +], +"parameters": { +"datasetId": { +"description": "Required. Dataset ID of the model to patch.", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"modelId": { +"description": "Required. Model ID of the model to patch.", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"projectId": { +"description": "Required. Project ID of the model to patch.", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "projects/{+projectId}/datasets/{+datasetId}/models/{+modelId}", +"request": { +"$ref": "Model" +}, +"response": { +"$ref": "Model" +}, +"scopes": [ +"https://www.googleapis.com/auth/bigquery", +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"projects": { +"methods": { +"getServiceAccount": { +"description": "RPC to get the service account for a project used for interactions with Google Cloud KMS", +"flatPath": "projects/{projectsId}/serviceAccount", +"httpMethod": "GET", +"id": "bigquery.projects.getServiceAccount", +"parameterOrder": [ +"projectId" +], +"parameters": { +"projectId": { +"description": "Required. ID of the project.", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "projects/{+projectId}/serviceAccount", +"response": { +"$ref": "GetServiceAccountResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/bigquery", +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only" +] +}, +"list": { +"description": "RPC to list projects to which the user has been granted any project role. Users of this method are encouraged to consider the [Resource Manager](https://cloud.google.com/resource-manager/docs/) API, which provides the underlying data for this method and has more capabilities.", +"flatPath": "projects", +"httpMethod": "GET", +"id": "bigquery.projects.list", +"parameterOrder": [], +"parameters": { +"maxResults": { +"description": "`maxResults` unset returns all results, up to 50 per page. Additionally, the number of projects in a page may be fewer than `maxResults` because projects are retrieved and then filtered to only projects with the BigQuery API enabled.", +"format": "uint32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Page token, returned by a previous call, to request the next page of results. If not present, no further pages are present.", +"location": "query", +"type": "string" +} +}, +"path": "projects", +"response": { +"$ref": "ProjectList" +}, +"scopes": [ +"https://www.googleapis.com/auth/bigquery", +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only" +] +} +} +}, +"routines": { +"methods": { +"delete": { +"description": "Deletes the routine specified by routineId from the dataset.", +"flatPath": "projects/{projectsId}/datasets/{datasetsId}/routines/{routinesId}", +"httpMethod": "DELETE", +"id": "bigquery.routines.delete", +"parameterOrder": [ +"projectId", +"datasetId", +"routineId" +], +"parameters": { +"datasetId": { +"description": "Required. Dataset ID of the routine to delete", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"projectId": { +"description": "Required. Project ID of the routine to delete", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"routineId": { +"description": "Required. Routine ID of the routine to delete", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "projects/{+projectId}/datasets/{+datasetId}/routines/{+routineId}", +"scopes": [ +"https://www.googleapis.com/auth/bigquery", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets the specified routine resource by routine ID.", +"flatPath": "projects/{projectsId}/datasets/{datasetsId}/routines/{routinesId}", +"httpMethod": "GET", +"id": "bigquery.routines.get", +"parameterOrder": [ +"projectId", +"datasetId", +"routineId" +], +"parameters": { +"datasetId": { +"description": "Required. Dataset ID of the requested routine", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"projectId": { +"description": "Required. Project ID of the requested routine", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"readMask": { +"description": "If set, only the Routine fields in the field mask are returned in the response. If unset, all Routine fields are returned.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +}, +"routineId": { +"description": "Required. Routine ID of the requested routine", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "projects/{+projectId}/datasets/{+datasetId}/routines/{+routineId}", +"response": { +"$ref": "Routine" +}, +"scopes": [ +"https://www.googleapis.com/auth/bigquery", +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only" +] +}, +"getIamPolicy": { +"description": "Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.", +"flatPath": "projects/{projectsId}/datasets/{datasetsId}/routines/{routinesId}:getIamPolicy", +"httpMethod": "POST", +"id": "bigquery.routines.getIamPolicy", +"parameterOrder": [ +"resource" +], +"parameters": { +"resource": { +"description": "REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", +"location": "path", +"pattern": "^projects/[^/]+/datasets/[^/]+/routines/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "{+resource}:getIamPolicy", +"request": { +"$ref": "GetIamPolicyRequest" +}, +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/bigquery", +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only" +] +}, +"insert": { +"description": "Creates a new routine in the dataset.", +"flatPath": "projects/{projectsId}/datasets/{datasetsId}/routines", +"httpMethod": "POST", +"id": "bigquery.routines.insert", +"parameterOrder": [ +"projectId", +"datasetId" +], +"parameters": { +"datasetId": { +"description": "Required. Dataset ID of the new routine", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"projectId": { +"description": "Required. Project ID of the new routine", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "projects/{+projectId}/datasets/{+datasetId}/routines", +"request": { +"$ref": "Routine" +}, +"response": { +"$ref": "Routine" +}, +"scopes": [ +"https://www.googleapis.com/auth/bigquery", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists all routines in the specified dataset. Requires the READER dataset role.", +"flatPath": "projects/{projectsId}/datasets/{datasetsId}/routines", +"httpMethod": "GET", +"id": "bigquery.routines.list", +"parameterOrder": [ +"projectId", +"datasetId" +], +"parameters": { +"datasetId": { +"description": "Required. Dataset ID of the routines to list", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"filter": { +"description": "If set, then only the Routines matching this filter are returned. The supported format is `routineType:{RoutineType}`, where `{RoutineType}` is a RoutineType enum. For example: `routineType:SCALAR_FUNCTION`.", +"location": "query", +"type": "string" +}, +"maxResults": { +"description": "The maximum number of results to return in a single response page. Leverage the page tokens to iterate through the entire collection.", +"format": "uint32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Page token, returned by a previous call, to request the next page of results", +"location": "query", +"type": "string" +}, +"projectId": { +"description": "Required. Project ID of the routines to list", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"readMask": { +"description": "If set, then only the Routine fields in the field mask, as well as project_id, dataset_id and routine_id, are returned in the response. If unset, then the following Routine fields are returned: etag, project_id, dataset_id, routine_id, routine_type, creation_time, last_modified_time, and language.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "projects/{+projectId}/datasets/{+datasetId}/routines", +"response": { +"$ref": "ListRoutinesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/bigquery", +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only" +] +}, +"setIamPolicy": { +"description": "Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.", +"flatPath": "projects/{projectsId}/datasets/{datasetsId}/routines/{routinesId}:setIamPolicy", +"httpMethod": "POST", +"id": "bigquery.routines.setIamPolicy", +"parameterOrder": [ +"resource" +], +"parameters": { +"resource": { +"description": "REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", +"location": "path", +"pattern": "^projects/[^/]+/datasets/[^/]+/routines/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "{+resource}:setIamPolicy", +"request": { +"$ref": "SetIamPolicyRequest" +}, +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/bigquery", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"testIamPermissions": { +"description": "Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may \"fail open\" without warning.", +"flatPath": "projects/{projectsId}/datasets/{datasetsId}/routines/{routinesId}:testIamPermissions", +"httpMethod": "POST", +"id": "bigquery.routines.testIamPermissions", +"parameterOrder": [ +"resource" +], +"parameters": { +"resource": { +"description": "REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", +"location": "path", +"pattern": "^projects/[^/]+/datasets/[^/]+/routines/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "{+resource}:testIamPermissions", +"request": { +"$ref": "TestIamPermissionsRequest" +}, +"response": { +"$ref": "TestIamPermissionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/bigquery", +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only" +] +}, +"update": { +"description": "Updates information in an existing routine. The update method replaces the entire Routine resource.", +"flatPath": "projects/{projectsId}/datasets/{datasetsId}/routines/{routinesId}", +"httpMethod": "PUT", +"id": "bigquery.routines.update", +"parameterOrder": [ +"projectId", +"datasetId", +"routineId" +], +"parameters": { +"datasetId": { +"description": "Required. Dataset ID of the routine to update", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"projectId": { +"description": "Required. Project ID of the routine to update", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"routineId": { +"description": "Required. Routine ID of the routine to update", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "projects/{+projectId}/datasets/{+datasetId}/routines/{+routineId}", +"request": { +"$ref": "Routine" +}, +"response": { +"$ref": "Routine" +}, +"scopes": [ +"https://www.googleapis.com/auth/bigquery", +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"rowAccessPolicies": { +"methods": { +"batchDelete": { +"description": "Deletes provided row access policies.", +"flatPath": "projects/{projectsId}/datasets/{datasetsId}/tables/{tablesId}/rowAccessPolicies:batchDelete", +"httpMethod": "POST", +"id": "bigquery.rowAccessPolicies.batchDelete", +"parameterOrder": [ +"projectId", +"datasetId", +"tableId" +], +"parameters": { +"datasetId": { +"description": "Required. Dataset ID of the table to delete the row access policies.", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"projectId": { +"description": "Required. Project ID of the table to delete the row access policies.", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"tableId": { +"description": "Required. Table ID of the table to delete the row access policies.", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "projects/{+projectId}/datasets/{+datasetId}/tables/{+tableId}/rowAccessPolicies:batchDelete", +"request": { +"$ref": "BatchDeleteRowAccessPoliciesRequest" +}, +"scopes": [ +"https://www.googleapis.com/auth/bigquery", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a row access policy.", +"flatPath": "projects/{projectsId}/datasets/{datasetsId}/tables/{tablesId}/rowAccessPolicies/{rowAccessPoliciesId}", +"httpMethod": "DELETE", +"id": "bigquery.rowAccessPolicies.delete", +"parameterOrder": [ +"projectId", +"datasetId", +"tableId", +"policyId" +], +"parameters": { +"datasetId": { +"description": "Required. Dataset ID of the table to delete the row access policy.", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"force": { +"description": "If set to true, it deletes the row access policy even if it's the last row access policy on the table and the deletion will widen the access rather narrowing it.", +"location": "query", +"type": "boolean" +}, +"policyId": { +"description": "Required. Policy ID of the row access policy.", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"projectId": { +"description": "Required. Project ID of the table to delete the row access policy.", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"tableId": { +"description": "Required. Table ID of the table to delete the row access policy.", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "projects/{+projectId}/datasets/{+datasetId}/tables/{+tableId}/rowAccessPolicies/{+policyId}", +"scopes": [ +"https://www.googleapis.com/auth/bigquery", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets the specified row access policy by policy ID.", +"flatPath": "projects/{projectsId}/datasets/{datasetsId}/tables/{tablesId}/rowAccessPolicies/{rowAccessPoliciesId}", +"httpMethod": "GET", +"id": "bigquery.rowAccessPolicies.get", +"parameterOrder": [ +"projectId", +"datasetId", +"tableId", +"policyId" +], +"parameters": { +"datasetId": { +"description": "Required. Dataset ID of the table to get the row access policy.", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"policyId": { +"description": "Required. Policy ID of the row access policy.", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"projectId": { +"description": "Required. Project ID of the table to get the row access policy.", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"tableId": { +"description": "Required. Table ID of the table to get the row access policy.", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "projects/{+projectId}/datasets/{+datasetId}/tables/{+tableId}/rowAccessPolicies/{+policyId}", +"response": { +"$ref": "RowAccessPolicy" +}, +"scopes": [ +"https://www.googleapis.com/auth/bigquery", +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only" +] +}, +"getIamPolicy": { +"description": "Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.", +"flatPath": "projects/{projectsId}/datasets/{datasetsId}/tables/{tablesId}/rowAccessPolicies/{rowAccessPoliciesId}:getIamPolicy", +"httpMethod": "POST", +"id": "bigquery.rowAccessPolicies.getIamPolicy", +"parameterOrder": [ +"resource" +], +"parameters": { +"resource": { +"description": "REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", +"location": "path", +"pattern": "^projects/[^/]+/datasets/[^/]+/tables/[^/]+/rowAccessPolicies/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "{+resource}:getIamPolicy", +"request": { +"$ref": "GetIamPolicyRequest" +}, +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/bigquery", +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only" +] +}, +"insert": { +"description": "Creates a row access policy.", +"flatPath": "projects/{projectsId}/datasets/{datasetsId}/tables/{tablesId}/rowAccessPolicies", +"httpMethod": "POST", +"id": "bigquery.rowAccessPolicies.insert", +"parameterOrder": [ +"projectId", +"datasetId", +"tableId" +], +"parameters": { +"datasetId": { +"description": "Required. Dataset ID of the table to get the row access policy.", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"projectId": { +"description": "Required. Project ID of the table to get the row access policy.", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"tableId": { +"description": "Required. Table ID of the table to get the row access policy.", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "projects/{+projectId}/datasets/{+datasetId}/tables/{+tableId}/rowAccessPolicies", +"request": { +"$ref": "RowAccessPolicy" +}, +"response": { +"$ref": "RowAccessPolicy" +}, +"scopes": [ +"https://www.googleapis.com/auth/bigquery", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists all row access policies on the specified table.", +"flatPath": "projects/{projectsId}/datasets/{datasetsId}/tables/{tablesId}/rowAccessPolicies", +"httpMethod": "GET", +"id": "bigquery.rowAccessPolicies.list", +"parameterOrder": [ +"projectId", +"datasetId", +"tableId" +], +"parameters": { +"datasetId": { +"description": "Required. Dataset ID of row access policies to list.", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The maximum number of results to return in a single response page. Leverage the page tokens to iterate through the entire collection.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Page token, returned by a previous call, to request the next page of results.", +"location": "query", +"type": "string" +}, +"projectId": { +"description": "Required. Project ID of the row access policies to list.", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"tableId": { +"description": "Required. Table ID of the table to list row access policies.", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "projects/{+projectId}/datasets/{+datasetId}/tables/{+tableId}/rowAccessPolicies", +"response": { +"$ref": "ListRowAccessPoliciesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/bigquery", +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only" +] +}, +"testIamPermissions": { +"description": "Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may \"fail open\" without warning.", +"flatPath": "projects/{projectsId}/datasets/{datasetsId}/tables/{tablesId}/rowAccessPolicies/{rowAccessPoliciesId}:testIamPermissions", +"httpMethod": "POST", +"id": "bigquery.rowAccessPolicies.testIamPermissions", +"parameterOrder": [ +"resource" +], +"parameters": { +"resource": { +"description": "REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", +"location": "path", +"pattern": "^projects/[^/]+/datasets/[^/]+/tables/[^/]+/rowAccessPolicies/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "{+resource}:testIamPermissions", +"request": { +"$ref": "TestIamPermissionsRequest" +}, +"response": { +"$ref": "TestIamPermissionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/bigquery", +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only" +] +}, +"update": { +"description": "Updates a row access policy.", +"flatPath": "projects/{projectsId}/datasets/{datasetsId}/tables/{tablesId}/rowAccessPolicies/{rowAccessPoliciesId}", +"httpMethod": "PUT", +"id": "bigquery.rowAccessPolicies.update", +"parameterOrder": [ +"projectId", +"datasetId", +"tableId", +"policyId" +], +"parameters": { +"datasetId": { +"description": "Required. Dataset ID of the table to get the row access policy.", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"policyId": { +"description": "Required. Policy ID of the row access policy.", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"projectId": { +"description": "Required. Project ID of the table to get the row access policy.", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"tableId": { +"description": "Required. Table ID of the table to get the row access policy.", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "projects/{+projectId}/datasets/{+datasetId}/tables/{+tableId}/rowAccessPolicies/{+policyId}", +"request": { +"$ref": "RowAccessPolicy" +}, +"response": { +"$ref": "RowAccessPolicy" +}, +"scopes": [ +"https://www.googleapis.com/auth/bigquery", +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"tabledata": { +"methods": { +"insertAll": { +"description": "Streams data into BigQuery one record at a time without needing to run a load job.", +"flatPath": "projects/{projectsId}/datasets/{datasetsId}/tables/{tablesId}/insertAll", +"httpMethod": "POST", +"id": "bigquery.tabledata.insertAll", +"parameterOrder": [ +"projectId", +"datasetId", +"tableId" +], +"parameters": { +"datasetId": { +"description": "Required. Dataset ID of the destination.", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"projectId": { +"description": "Required. Project ID of the destination.", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"tableId": { +"description": "Required. Table ID of the destination.", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "projects/{+projectId}/datasets/{+datasetId}/tables/{+tableId}/insertAll", +"request": { +"$ref": "TableDataInsertAllRequest" +}, +"response": { +"$ref": "TableDataInsertAllResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/bigquery", +"https://www.googleapis.com/auth/bigquery.insertdata", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "List the content of a table in rows.", +"flatPath": "projects/{projectsId}/datasets/{datasetsId}/tables/{tablesId}/data", +"httpMethod": "GET", +"id": "bigquery.tabledata.list", +"parameterOrder": [ +"projectId", +"datasetId", +"tableId" +], +"parameters": { +"datasetId": { +"description": "Required. Dataset id of the table to list.", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"formatOptions.timestampOutputFormat": { +"description": "Optional. The API output format for a timestamp. This offers more explicit control over the timestamp output format as compared to the existing `use_int64_timestamp` option.", +"enum": [ +"TIMESTAMP_OUTPUT_FORMAT_UNSPECIFIED", +"FLOAT64", +"INT64", +"ISO8601_STRING" +], +"enumDescriptions": [ +"Corresponds to default API output behavior, which is FLOAT64.", +"Timestamp is output as float64 seconds since Unix epoch.", +"Timestamp is output as int64 microseconds since Unix epoch.", +"Timestamp is output as ISO 8601 String (\"YYYY-MM-DDTHH:MM:SS.FFFFFFFFFFFFZ\")." +], +"location": "query", +"type": "string" +}, +"formatOptions.useInt64Timestamp": { +"description": "Optional. Output timestamp as usec int64. Default is false.", +"location": "query", +"type": "boolean" +}, +"maxResults": { +"description": "Row limit of the table.", +"format": "uint32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "To retrieve the next page of table data, set this field to the string provided in the pageToken field of the response body from your previous call to tabledata.list.", +"location": "query", +"type": "string" +}, +"projectId": { +"description": "Required. Project id of the table to list.", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"selectedFields": { +"description": "Subset of fields to return, supports select into sub fields. Example: selected_fields = \"a,e.d.f\";", +"location": "query", +"type": "string" +}, +"startIndex": { +"description": "Start row index of the table.", +"format": "uint64", +"location": "query", +"type": "string" +}, +"tableId": { +"description": "Required. Table id of the table to list.", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "projects/{+projectId}/datasets/{+datasetId}/tables/{+tableId}/data", +"response": { +"$ref": "TableDataList" +}, +"scopes": [ +"https://www.googleapis.com/auth/bigquery", +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only" +] +} +} +}, +"tables": { +"methods": { +"delete": { +"description": "Deletes the table specified by tableId from the dataset. If the table contains data, all the data will be deleted.", +"flatPath": "projects/{projectsId}/datasets/{datasetsId}/tables/{tablesId}", +"httpMethod": "DELETE", +"id": "bigquery.tables.delete", +"parameterOrder": [ +"projectId", +"datasetId", +"tableId" +], +"parameters": { +"datasetId": { +"description": "Required. Dataset ID of the table to delete", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"projectId": { +"description": "Required. Project ID of the table to delete", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"tableId": { +"description": "Required. Table ID of the table to delete", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "projects/{+projectId}/datasets/{+datasetId}/tables/{+tableId}", +"scopes": [ +"https://www.googleapis.com/auth/bigquery", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets the specified table resource by table ID. This method does not return the data in the table, it only returns the table resource, which describes the structure of this table.", +"flatPath": "projects/{projectsId}/datasets/{datasetsId}/tables/{tablesId}", +"httpMethod": "GET", +"id": "bigquery.tables.get", +"parameterOrder": [ +"projectId", +"datasetId", +"tableId" +], +"parameters": { +"datasetId": { +"description": "Required. Dataset ID of the requested table", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"projectId": { +"description": "Required. Project ID of the requested table", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"selectedFields": { +"description": "List of table schema fields to return (comma-separated). If unspecified, all fields are returned. A fieldMask cannot be used here because the fields will automatically be converted from camelCase to snake_case and the conversion will fail if there are underscores. Since these are fields in BigQuery table schemas, underscores are allowed.", +"location": "query", +"type": "string" +}, +"tableId": { +"description": "Required. Table ID of the requested table", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"view": { +"description": "Optional. Specifies the view that determines which table information is returned. By default, basic table information and storage statistics (STORAGE_STATS) are returned.", +"enum": [ +"TABLE_METADATA_VIEW_UNSPECIFIED", +"BASIC", +"STORAGE_STATS", +"FULL" +], +"enumDescriptions": [ +"The default value. Default to the STORAGE_STATS view.", +"Includes basic table information including schema and partitioning specification. This view does not include storage statistics such as numRows or numBytes. This view is significantly more efficient and should be used to support high query rates.", +"Includes all information in the BASIC view as well as storage statistics (numBytes, numLongTermBytes, numRows and lastModifiedTime).", +"Includes all table information, including storage statistics. It returns same information as STORAGE_STATS view, but may contain additional information in the future." +], +"location": "query", +"type": "string" +} +}, +"path": "projects/{+projectId}/datasets/{+datasetId}/tables/{+tableId}", +"response": { +"$ref": "Table" +}, +"scopes": [ +"https://www.googleapis.com/auth/bigquery", +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only" +] +}, +"getIamPolicy": { +"description": "Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.", +"flatPath": "projects/{projectsId}/datasets/{datasetsId}/tables/{tablesId}:getIamPolicy", +"httpMethod": "POST", +"id": "bigquery.tables.getIamPolicy", +"parameterOrder": [ +"resource" +], +"parameters": { +"resource": { +"description": "REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", +"location": "path", +"pattern": "^projects/[^/]+/datasets/[^/]+/tables/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "{+resource}:getIamPolicy", +"request": { +"$ref": "GetIamPolicyRequest" +}, +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/bigquery", +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only" +] +}, +"insert": { +"description": "Creates a new, empty table in the dataset.", +"flatPath": "projects/{projectsId}/datasets/{datasetsId}/tables", +"httpMethod": "POST", +"id": "bigquery.tables.insert", +"parameterOrder": [ +"projectId", +"datasetId" +], +"parameters": { +"datasetId": { +"description": "Required. Dataset ID of the new table", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"projectId": { +"description": "Required. Project ID of the new table", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "projects/{+projectId}/datasets/{+datasetId}/tables", +"request": { +"$ref": "Table" +}, +"response": { +"$ref": "Table" +}, +"scopes": [ +"https://www.googleapis.com/auth/bigquery", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists all tables in the specified dataset. Requires the READER dataset role.", +"flatPath": "projects/{projectsId}/datasets/{datasetsId}/tables", +"httpMethod": "GET", +"id": "bigquery.tables.list", +"parameterOrder": [ +"projectId", +"datasetId" +], +"parameters": { +"datasetId": { +"description": "Required. Dataset ID of the tables to list", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"maxResults": { +"description": "The maximum number of results to return in a single response page. Leverage the page tokens to iterate through the entire collection.", +"format": "uint32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Page token, returned by a previous call, to request the next page of results", +"location": "query", +"type": "string" +}, +"projectId": { +"description": "Required. Project ID of the tables to list", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "projects/{+projectId}/datasets/{+datasetId}/tables", +"response": { +"$ref": "TableList" +}, +"scopes": [ +"https://www.googleapis.com/auth/bigquery", +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only" +] +}, +"patch": { +"description": "Updates information in an existing table. The update method replaces the entire table resource, whereas the patch method only replaces fields that are provided in the submitted table resource. This method supports RFC5789 patch semantics.", +"flatPath": "projects/{projectsId}/datasets/{datasetsId}/tables/{tablesId}", +"httpMethod": "PATCH", +"id": "bigquery.tables.patch", +"parameterOrder": [ +"projectId", +"datasetId", +"tableId" +], +"parameters": { +"autodetect_schema": { +"description": "Optional. When true will autodetect schema, else will keep original schema", +"location": "query", +"type": "boolean" +}, +"datasetId": { +"description": "Required. Dataset ID of the table to update", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"projectId": { +"description": "Required. Project ID of the table to update", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"tableId": { +"description": "Required. Table ID of the table to update", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "projects/{+projectId}/datasets/{+datasetId}/tables/{+tableId}", +"request": { +"$ref": "Table" +}, +"response": { +"$ref": "Table" +}, +"scopes": [ +"https://www.googleapis.com/auth/bigquery", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"setIamPolicy": { +"description": "Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.", +"flatPath": "projects/{projectsId}/datasets/{datasetsId}/tables/{tablesId}:setIamPolicy", +"httpMethod": "POST", +"id": "bigquery.tables.setIamPolicy", +"parameterOrder": [ +"resource" +], +"parameters": { +"resource": { +"description": "REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", +"location": "path", +"pattern": "^projects/[^/]+/datasets/[^/]+/tables/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "{+resource}:setIamPolicy", +"request": { +"$ref": "SetIamPolicyRequest" +}, +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/bigquery", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"testIamPermissions": { +"description": "Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may \"fail open\" without warning.", +"flatPath": "projects/{projectsId}/datasets/{datasetsId}/tables/{tablesId}:testIamPermissions", +"httpMethod": "POST", +"id": "bigquery.tables.testIamPermissions", +"parameterOrder": [ +"resource" +], +"parameters": { +"resource": { +"description": "REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", +"location": "path", +"pattern": "^projects/[^/]+/datasets/[^/]+/tables/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "{+resource}:testIamPermissions", +"request": { +"$ref": "TestIamPermissionsRequest" +}, +"response": { +"$ref": "TestIamPermissionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/bigquery", +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only" +] +}, +"update": { +"description": "Updates information in an existing table. The update method replaces the entire Table resource, whereas the patch method only replaces fields that are provided in the submitted Table resource.", +"flatPath": "projects/{projectsId}/datasets/{datasetsId}/tables/{tablesId}", +"httpMethod": "PUT", +"id": "bigquery.tables.update", +"parameterOrder": [ +"projectId", +"datasetId", +"tableId" +], +"parameters": { +"autodetect_schema": { +"description": "Optional. When true will autodetect schema, else will keep original schema", +"location": "query", +"type": "boolean" +}, +"datasetId": { +"description": "Required. Dataset ID of the table to update", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"projectId": { +"description": "Required. Project ID of the table to update", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"tableId": { +"description": "Required. Table ID of the table to update", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "projects/{+projectId}/datasets/{+datasetId}/tables/{+tableId}", +"request": { +"$ref": "Table" +}, +"response": { +"$ref": "Table" +}, +"scopes": [ +"https://www.googleapis.com/auth/bigquery", +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +}, +"revision": "20260211", +"rootUrl": "https://bigquery.googleapis.com/", +"schemas": { +"AggregateClassificationMetrics": { +"description": "Aggregate metrics for classification/classifier models. For multi-class models, the metrics are either macro-averaged or micro-averaged. When macro-averaged, the metrics are calculated for each label and then an unweighted average is taken of those values. When micro-averaged, the metric is calculated globally by counting the total number of correctly predicted rows.", +"id": "AggregateClassificationMetrics", +"properties": { +"accuracy": { +"description": "Accuracy is the fraction of predictions given the correct label. For multiclass this is a micro-averaged metric.", +"format": "double", +"type": "number" +}, +"f1Score": { +"description": "The F1 score is an average of recall and precision. For multiclass this is a macro-averaged metric.", +"format": "double", +"type": "number" +}, +"logLoss": { +"description": "Logarithmic Loss. For multiclass this is a macro-averaged metric.", +"format": "double", +"type": "number" +}, +"precision": { +"description": "Precision is the fraction of actual positive predictions that had positive actual labels. For multiclass this is a macro-averaged metric treating each class as a binary classifier.", +"format": "double", +"type": "number" +}, +"recall": { +"description": "Recall is the fraction of actual positive labels that were given a positive prediction. For multiclass this is a macro-averaged metric.", +"format": "double", +"type": "number" +}, +"rocAuc": { +"description": "Area Under a ROC Curve. For multiclass this is a macro-averaged metric.", +"format": "double", +"type": "number" +}, +"threshold": { +"description": "Threshold at which the metrics are computed. For binary classification models this is the positive class threshold. For multi-class classification models this is the confidence threshold.", +"format": "double", +"type": "number" +} +}, +"type": "object" +}, +"AggregationThresholdPolicy": { +"description": "Represents privacy policy associated with \"aggregation threshold\" method.", +"id": "AggregationThresholdPolicy", +"properties": { +"privacyUnitColumns": { +"description": "Optional. The privacy unit column(s) associated with this policy. For now, only one column per data source object (table, view) is allowed as a privacy unit column. Representing as a repeated field in metadata for extensibility to multiple columns in future. Duplicates and Repeated struct fields are not allowed. For nested fields, use dot notation (\"outer.inner\")", +"items": { +"type": "string" +}, +"type": "array" +}, +"threshold": { +"description": "Optional. The threshold for the \"aggregation threshold\" policy.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"Argument": { +"description": "Input/output argument of a function or a stored procedure.", +"id": "Argument", +"properties": { +"argumentKind": { +"description": "Optional. Defaults to FIXED_TYPE.", +"enum": [ +"ARGUMENT_KIND_UNSPECIFIED", +"FIXED_TYPE", +"ANY_TYPE" +], +"enumDescriptions": [ +"Default value.", +"The argument is a variable with fully specified type, which can be a struct or an array, but not a table.", +"The argument is any type, including struct or array, but not a table." +], +"type": "string" +}, +"dataType": { +"$ref": "StandardSqlDataType", +"description": "Set if argument_kind == FIXED_TYPE." +}, +"isAggregate": { +"description": "Optional. Whether the argument is an aggregate function parameter. Must be Unset for routine types other than AGGREGATE_FUNCTION. For AGGREGATE_FUNCTION, if set to false, it is equivalent to adding \"NOT AGGREGATE\" clause in DDL; Otherwise, it is equivalent to omitting \"NOT AGGREGATE\" clause in DDL.", +"type": "boolean" +}, +"mode": { +"description": "Optional. Specifies whether the argument is input or output. Can be set for procedures only.", +"enum": [ +"MODE_UNSPECIFIED", +"IN", +"OUT", +"INOUT" +], +"enumDescriptions": [ +"Default value.", +"The argument is input-only.", +"The argument is output-only.", +"The argument is both an input and an output." +], +"type": "string" +}, +"name": { +"description": "Optional. The name of this argument. Can be absent for function return argument.", +"type": "string" +} +}, +"type": "object" +}, +"ArimaCoefficients": { +"description": "Arima coefficients.", +"id": "ArimaCoefficients", +"properties": { +"autoRegressiveCoefficients": { +"description": "Auto-regressive coefficients, an array of double.", +"items": { +"format": "double", +"type": "number" +}, +"type": "array" +}, +"interceptCoefficient": { +"description": "Intercept coefficient, just a double not an array.", +"format": "double", +"type": "number" +}, +"movingAverageCoefficients": { +"description": "Moving-average coefficients, an array of double.", +"items": { +"format": "double", +"type": "number" +}, +"type": "array" +} +}, +"type": "object" +}, +"ArimaFittingMetrics": { +"description": "ARIMA model fitting metrics.", +"id": "ArimaFittingMetrics", +"properties": { +"aic": { +"description": "AIC.", +"format": "double", +"type": "number" +}, +"logLikelihood": { +"description": "Log-likelihood.", +"format": "double", +"type": "number" +}, +"variance": { +"description": "Variance.", +"format": "double", +"type": "number" +} +}, +"type": "object" +}, +"ArimaForecastingMetrics": { +"description": "Model evaluation metrics for ARIMA forecasting models.", +"id": "ArimaForecastingMetrics", +"properties": { +"arimaFittingMetrics": { +"deprecated": true, +"description": "Arima model fitting metrics.", +"items": { +"$ref": "ArimaFittingMetrics" +}, +"type": "array" +}, +"arimaSingleModelForecastingMetrics": { +"description": "Repeated as there can be many metric sets (one for each model) in auto-arima and the large-scale case.", +"items": { +"$ref": "ArimaSingleModelForecastingMetrics" +}, +"type": "array" +}, +"hasDrift": { +"deprecated": true, +"description": "Whether Arima model fitted with drift or not. It is always false when d is not 1.", +"items": { +"type": "boolean" +}, +"type": "array" +}, +"nonSeasonalOrder": { +"deprecated": true, +"description": "Non-seasonal order.", +"items": { +"$ref": "ArimaOrder" +}, +"type": "array" +}, +"seasonalPeriods": { +"deprecated": true, +"description": "Seasonal periods. Repeated because multiple periods are supported for one time series.", +"items": { +"enum": [ +"SEASONAL_PERIOD_TYPE_UNSPECIFIED", +"NO_SEASONALITY", +"DAILY", +"WEEKLY", +"MONTHLY", +"QUARTERLY", +"YEARLY", +"HOURLY" +], +"enumDescriptions": [ +"Unspecified seasonal period.", +"No seasonality", +"Daily period, 24 hours.", +"Weekly period, 7 days.", +"Monthly period, 30 days or irregular.", +"Quarterly period, 90 days or irregular.", +"Yearly period, 365 days or irregular.", +"Hourly period, 1 hour." +], +"type": "string" +}, +"type": "array" +}, +"timeSeriesId": { +"deprecated": true, +"description": "Id to differentiate different time series for the large-scale case.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ArimaModelInfo": { +"description": "Arima model information.", +"id": "ArimaModelInfo", +"properties": { +"arimaCoefficients": { +"$ref": "ArimaCoefficients", +"description": "Arima coefficients." +}, +"arimaFittingMetrics": { +"$ref": "ArimaFittingMetrics", +"description": "Arima fitting metrics." +}, +"hasDrift": { +"description": "Whether Arima model fitted with drift or not. It is always false when d is not 1.", +"type": "boolean" +}, +"hasHolidayEffect": { +"description": "If true, holiday_effect is a part of time series decomposition result.", +"type": "boolean" +}, +"hasSpikesAndDips": { +"description": "If true, spikes_and_dips is a part of time series decomposition result.", +"type": "boolean" +}, +"hasStepChanges": { +"description": "If true, step_changes is a part of time series decomposition result.", +"type": "boolean" +}, +"nonSeasonalOrder": { +"$ref": "ArimaOrder", +"description": "Non-seasonal order." +}, +"seasonalPeriods": { +"description": "Seasonal periods. Repeated because multiple periods are supported for one time series.", +"items": { +"enum": [ +"SEASONAL_PERIOD_TYPE_UNSPECIFIED", +"NO_SEASONALITY", +"DAILY", +"WEEKLY", +"MONTHLY", +"QUARTERLY", +"YEARLY", +"HOURLY" +], +"enumDescriptions": [ +"Unspecified seasonal period.", +"No seasonality", +"Daily period, 24 hours.", +"Weekly period, 7 days.", +"Monthly period, 30 days or irregular.", +"Quarterly period, 90 days or irregular.", +"Yearly period, 365 days or irregular.", +"Hourly period, 1 hour." +], +"type": "string" +}, +"type": "array" +}, +"timeSeriesId": { +"description": "The time_series_id value for this time series. It will be one of the unique values from the time_series_id_column specified during ARIMA model training. Only present when time_series_id_column training option was used.", +"type": "string" +}, +"timeSeriesIds": { +"description": "The tuple of time_series_ids identifying this time series. It will be one of the unique tuples of values present in the time_series_id_columns specified during ARIMA model training. Only present when time_series_id_columns training option was used and the order of values here are same as the order of time_series_id_columns.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ArimaOrder": { +"description": "Arima order, can be used for both non-seasonal and seasonal parts.", +"id": "ArimaOrder", +"properties": { +"d": { +"description": "Order of the differencing part.", +"format": "int64", +"type": "string" +}, +"p": { +"description": "Order of the autoregressive part.", +"format": "int64", +"type": "string" +}, +"q": { +"description": "Order of the moving-average part.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"ArimaResult": { +"description": "(Auto-)arima fitting result. Wrap everything in ArimaResult for easier refactoring if we want to use model-specific iteration results.", +"id": "ArimaResult", +"properties": { +"arimaModelInfo": { +"description": "This message is repeated because there are multiple arima models fitted in auto-arima. For non-auto-arima model, its size is one.", +"items": { +"$ref": "ArimaModelInfo" +}, +"type": "array" +}, +"seasonalPeriods": { +"description": "Seasonal periods. Repeated because multiple periods are supported for one time series.", +"items": { +"enum": [ +"SEASONAL_PERIOD_TYPE_UNSPECIFIED", +"NO_SEASONALITY", +"DAILY", +"WEEKLY", +"MONTHLY", +"QUARTERLY", +"YEARLY", +"HOURLY" +], +"enumDescriptions": [ +"Unspecified seasonal period.", +"No seasonality", +"Daily period, 24 hours.", +"Weekly period, 7 days.", +"Monthly period, 30 days or irregular.", +"Quarterly period, 90 days or irregular.", +"Yearly period, 365 days or irregular.", +"Hourly period, 1 hour." +], +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ArimaSingleModelForecastingMetrics": { +"description": "Model evaluation metrics for a single ARIMA forecasting model.", +"id": "ArimaSingleModelForecastingMetrics", +"properties": { +"arimaFittingMetrics": { +"$ref": "ArimaFittingMetrics", +"description": "Arima fitting metrics." +}, +"hasDrift": { +"description": "Is arima model fitted with drift or not. It is always false when d is not 1.", +"type": "boolean" +}, +"hasHolidayEffect": { +"description": "If true, holiday_effect is a part of time series decomposition result.", +"type": "boolean" +}, +"hasSpikesAndDips": { +"description": "If true, spikes_and_dips is a part of time series decomposition result.", +"type": "boolean" +}, +"hasStepChanges": { +"description": "If true, step_changes is a part of time series decomposition result.", +"type": "boolean" +}, +"nonSeasonalOrder": { +"$ref": "ArimaOrder", +"description": "Non-seasonal order." +}, +"seasonalPeriods": { +"description": "Seasonal periods. Repeated because multiple periods are supported for one time series.", +"items": { +"enum": [ +"SEASONAL_PERIOD_TYPE_UNSPECIFIED", +"NO_SEASONALITY", +"DAILY", +"WEEKLY", +"MONTHLY", +"QUARTERLY", +"YEARLY", +"HOURLY" +], +"enumDescriptions": [ +"Unspecified seasonal period.", +"No seasonality", +"Daily period, 24 hours.", +"Weekly period, 7 days.", +"Monthly period, 30 days or irregular.", +"Quarterly period, 90 days or irregular.", +"Yearly period, 365 days or irregular.", +"Hourly period, 1 hour." +], +"type": "string" +}, +"type": "array" +}, +"timeSeriesId": { +"description": "The time_series_id value for this time series. It will be one of the unique values from the time_series_id_column specified during ARIMA model training. Only present when time_series_id_column training option was used.", +"type": "string" +}, +"timeSeriesIds": { +"description": "The tuple of time_series_ids identifying this time series. It will be one of the unique tuples of values present in the time_series_id_columns specified during ARIMA model training. Only present when time_series_id_columns training option was used and the order of values here are same as the order of time_series_id_columns.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"AuditConfig": { +"description": "Specifies the audit configuration for a service. The configuration determines which permission types are logged, and what identities, if any, are exempted from logging. An AuditConfig must have one or more AuditLogConfigs. If there are AuditConfigs for both `allServices` and a specific service, the union of the two AuditConfigs is used for that service: the log_types specified in each AuditConfig are enabled, and the exempted_members in each AuditLogConfig are exempted. Example Policy with multiple AuditConfigs: { \"audit_configs\": [ { \"service\": \"allServices\", \"audit_log_configs\": [ { \"log_type\": \"DATA_READ\", \"exempted_members\": [ \"user:jose@example.com\" ] }, { \"log_type\": \"DATA_WRITE\" }, { \"log_type\": \"ADMIN_READ\" } ] }, { \"service\": \"sampleservice.googleapis.com\", \"audit_log_configs\": [ { \"log_type\": \"DATA_READ\" }, { \"log_type\": \"DATA_WRITE\", \"exempted_members\": [ \"user:aliya@example.com\" ] } ] } ] } For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also exempts `jose@example.com` from DATA_READ logging, and `aliya@example.com` from DATA_WRITE logging.", +"id": "AuditConfig", +"properties": { +"auditLogConfigs": { +"description": "The configuration for logging of each type of permission.", +"items": { +"$ref": "AuditLogConfig" +}, +"type": "array" +}, +"service": { +"description": "Specifies a service that will be enabled for audit logging. For example, `storage.googleapis.com`, `cloudsql.googleapis.com`. `allServices` is a special value that covers all services.", +"type": "string" +} +}, +"type": "object" +}, +"AuditLogConfig": { +"description": "Provides the configuration for logging a type of permissions. Example: { \"audit_log_configs\": [ { \"log_type\": \"DATA_READ\", \"exempted_members\": [ \"user:jose@example.com\" ] }, { \"log_type\": \"DATA_WRITE\" } ] } This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting jose@example.com from DATA_READ logging.", +"id": "AuditLogConfig", +"properties": { +"exemptedMembers": { +"description": "Specifies the identities that do not cause logging for this type of permission. Follows the same format of Binding.members.", +"items": { +"type": "string" +}, +"type": "array" +}, +"logType": { +"description": "The log type that this config enables.", +"enum": [ +"LOG_TYPE_UNSPECIFIED", +"ADMIN_READ", +"DATA_WRITE", +"DATA_READ" +], +"enumDescriptions": [ +"Default case. Should never be this.", +"Admin reads. Example: CloudIAM getIamPolicy", +"Data writes. Example: CloudSQL Users create", +"Data reads. Example: CloudSQL Users list" +], +"type": "string" +} +}, +"type": "object" +}, +"AvroOptions": { +"description": "Options for external data sources.", +"id": "AvroOptions", +"properties": { +"useAvroLogicalTypes": { +"description": "Optional. If sourceFormat is set to \"AVRO\", indicates whether to interpret logical types as the corresponding BigQuery data type (for example, TIMESTAMP), instead of using the raw type (for example, INTEGER).", +"type": "boolean" +} +}, +"type": "object" +}, +"BatchDeleteRowAccessPoliciesRequest": { +"description": "Request message for the BatchDeleteRowAccessPoliciesRequest method.", +"id": "BatchDeleteRowAccessPoliciesRequest", +"properties": { +"force": { +"description": "If set to true, it deletes the row access policy even if it's the last row access policy on the table and the deletion will widen the access rather narrowing it.", +"type": "boolean" +}, +"policyIds": { +"description": "Required. Policy IDs of the row access policies.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"BiEngineReason": { +"description": "Reason why BI Engine didn't accelerate the query (or sub-query).", +"id": "BiEngineReason", +"properties": { +"code": { +"description": "Output only. High-level BI Engine reason for partial or disabled acceleration", +"enum": [ +"CODE_UNSPECIFIED", +"NO_RESERVATION", +"INSUFFICIENT_RESERVATION", +"UNSUPPORTED_SQL_TEXT", +"INPUT_TOO_LARGE", +"OTHER_REASON", +"TABLE_EXCLUDED" +], +"enumDescriptions": [ +"BiEngineReason not specified.", +"No reservation available for BI Engine acceleration.", +"Not enough memory available for BI Engine acceleration.", +"This particular SQL text is not supported for acceleration by BI Engine.", +"Input too large for acceleration by BI Engine.", +"Catch-all code for all other cases for partial or disabled acceleration.", +"One or more tables were not eligible for BI Engine acceleration." +], +"readOnly": true, +"type": "string" +}, +"message": { +"description": "Output only. Free form human-readable reason for partial or disabled acceleration.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"BiEngineStatistics": { +"description": "Statistics for a BI Engine specific query. Populated as part of JobStatistics2", +"id": "BiEngineStatistics", +"properties": { +"accelerationMode": { +"description": "Output only. Specifies which mode of BI Engine acceleration was performed (if any).", +"enum": [ +"BI_ENGINE_ACCELERATION_MODE_UNSPECIFIED", +"BI_ENGINE_DISABLED", +"PARTIAL_INPUT", +"FULL_INPUT", +"FULL_QUERY" +], +"enumDescriptions": [ +"BiEngineMode type not specified.", +"BI Engine acceleration was attempted but disabled. bi_engine_reasons specifies a more detailed reason.", +"Some inputs were accelerated using BI Engine. See bi_engine_reasons for why parts of the query were not accelerated.", +"All of the query inputs were accelerated using BI Engine.", +"All of the query was accelerated using BI Engine." +], +"readOnly": true, +"type": "string" +}, +"biEngineMode": { +"description": "Output only. Specifies which mode of BI Engine acceleration was performed (if any).", +"enum": [ +"ACCELERATION_MODE_UNSPECIFIED", +"DISABLED", +"PARTIAL", +"FULL" +], +"enumDescriptions": [ +"BiEngineMode type not specified.", +"BI Engine disabled the acceleration. bi_engine_reasons specifies a more detailed reason.", +"Part of the query was accelerated using BI Engine. See bi_engine_reasons for why parts of the query were not accelerated.", +"All of the query was accelerated using BI Engine." +], +"readOnly": true, +"type": "string" +}, +"biEngineReasons": { +"description": "In case of DISABLED or PARTIAL bi_engine_mode, these contain the explanatory reasons as to why BI Engine could not accelerate. In case the full query was accelerated, this field is not populated.", +"items": { +"$ref": "BiEngineReason" +}, +"type": "array" +} +}, +"type": "object" +}, +"BigLakeConfiguration": { +"description": "Configuration for BigQuery tables for Apache Iceberg (formerly BigLake managed tables.)", +"id": "BigLakeConfiguration", +"properties": { +"connectionId": { +"description": "Optional. The connection specifying the credentials to be used to read and write to external storage, such as Cloud Storage. The connection_id can have the form `{project}.{location}.{connection_id}` or `projects/{project}/locations/{location}/connections/{connection_id}\".", +"type": "string" +}, +"fileFormat": { +"description": "Optional. The file format the table data is stored in.", +"enum": [ +"FILE_FORMAT_UNSPECIFIED", +"PARQUET" +], +"enumDescriptions": [ +"Default Value.", +"Apache Parquet format." +], +"type": "string" +}, +"storageUri": { +"description": "Optional. The fully qualified location prefix of the external folder where table data is stored. The '*' wildcard character is not allowed. The URI should be in the format `gs://bucket/path_to_table/`", +"type": "string" +}, +"tableFormat": { +"description": "Optional. The table format the metadata only snapshots are stored in.", +"enum": [ +"TABLE_FORMAT_UNSPECIFIED", +"ICEBERG" +], +"enumDescriptions": [ +"Default Value.", +"Apache Iceberg format." +], +"type": "string" +} +}, +"type": "object" +}, +"BigQueryModelTraining": { +"id": "BigQueryModelTraining", +"properties": { +"currentIteration": { +"description": "Deprecated.", +"format": "int32", +"type": "integer" +}, +"expectedTotalIterations": { +"description": "Deprecated.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"BigtableColumn": { +"description": "Information related to a Bigtable column.", +"id": "BigtableColumn", +"properties": { +"encoding": { +"description": "Optional. The encoding of the values when the type is not STRING. Acceptable encoding values are: TEXT - indicates values are alphanumeric text strings. BINARY - indicates values are encoded using HBase Bytes.toBytes family of functions. PROTO_BINARY - indicates values are encoded using serialized proto messages. This can only be used in combination with JSON type. 'encoding' can also be set at the column family level. However, the setting at this level takes precedence if 'encoding' is set at both levels.", +"type": "string" +}, +"fieldName": { +"description": "Optional. If the qualifier is not a valid BigQuery field identifier i.e. does not match a-zA-Z*, a valid identifier must be provided as the column field name and is used as field name in queries.", +"type": "string" +}, +"onlyReadLatest": { +"description": "Optional. If this is set, only the latest version of value in this column are exposed. 'onlyReadLatest' can also be set at the column family level. However, the setting at this level takes precedence if 'onlyReadLatest' is set at both levels.", +"type": "boolean" +}, +"protoConfig": { +"$ref": "BigtableProtoConfig", +"description": "Optional. Protobuf-specific configurations, only takes effect when the encoding is PROTO_BINARY." +}, +"qualifierEncoded": { +"description": "[Required] Qualifier of the column. Columns in the parent column family that has this exact qualifier are exposed as `.` field. If the qualifier is valid UTF-8 string, it can be specified in the qualifier_string field. Otherwise, a base-64 encoded value must be set to qualifier_encoded. The column field name is the same as the column qualifier. However, if the qualifier is not a valid BigQuery field identifier i.e. does not match a-zA-Z*, a valid identifier must be provided as field_name.", +"format": "byte", +"type": "string" +}, +"qualifierString": { +"description": "Qualifier string.", +"type": "string" +}, +"type": { +"description": "Optional. The type to convert the value in cells of this column. The values are expected to be encoded using HBase Bytes.toBytes function when using the BINARY encoding value. Following BigQuery types are allowed (case-sensitive): * BYTES * STRING * INTEGER * FLOAT * BOOLEAN * JSON Default type is BYTES. 'type' can also be set at the column family level. However, the setting at this level takes precedence if 'type' is set at both levels.", +"type": "string" +} +}, +"type": "object" +}, +"BigtableColumnFamily": { +"description": "Information related to a Bigtable column family.", +"id": "BigtableColumnFamily", +"properties": { +"columns": { +"description": "Optional. Lists of columns that should be exposed as individual fields as opposed to a list of (column name, value) pairs. All columns whose qualifier matches a qualifier in this list can be accessed as `.`. Other columns can be accessed as a list through the `.Column` field.", +"items": { +"$ref": "BigtableColumn" +}, +"type": "array" +}, +"encoding": { +"description": "Optional. The encoding of the values when the type is not STRING. Acceptable encoding values are: TEXT - indicates values are alphanumeric text strings. BINARY - indicates values are encoded using HBase Bytes.toBytes family of functions. PROTO_BINARY - indicates values are encoded using serialized proto messages. This can only be used in combination with JSON type. This can be overridden for a specific column by listing that column in 'columns' and specifying an encoding for it.", +"type": "string" +}, +"familyId": { +"description": "Identifier of the column family.", +"type": "string" +}, +"onlyReadLatest": { +"description": "Optional. If this is set only the latest version of value are exposed for all columns in this column family. This can be overridden for a specific column by listing that column in 'columns' and specifying a different setting for that column.", +"type": "boolean" +}, +"protoConfig": { +"$ref": "BigtableProtoConfig", +"description": "Optional. Protobuf-specific configurations, only takes effect when the encoding is PROTO_BINARY." +}, +"type": { +"description": "Optional. The type to convert the value in cells of this column family. The values are expected to be encoded using HBase Bytes.toBytes function when using the BINARY encoding value. Following BigQuery types are allowed (case-sensitive): * BYTES * STRING * INTEGER * FLOAT * BOOLEAN * JSON Default type is BYTES. This can be overridden for a specific column by listing that column in 'columns' and specifying a type for it.", +"type": "string" +} +}, +"type": "object" +}, +"BigtableOptions": { +"description": "Options specific to Google Cloud Bigtable data sources.", +"id": "BigtableOptions", +"properties": { +"columnFamilies": { +"description": "Optional. List of column families to expose in the table schema along with their types. This list restricts the column families that can be referenced in queries and specifies their value types. You can use this list to do type conversions - see the 'type' field for more details. If you leave this list empty, all column families are present in the table schema and their values are read as BYTES. During a query only the column families referenced in that query are read from Bigtable.", +"items": { +"$ref": "BigtableColumnFamily" +}, +"type": "array" +}, +"ignoreUnspecifiedColumnFamilies": { +"description": "Optional. If field is true, then the column families that are not specified in columnFamilies list are not exposed in the table schema. Otherwise, they are read with BYTES type values. The default value is false.", +"type": "boolean" +}, +"outputColumnFamiliesAsJson": { +"description": "Optional. If field is true, then each column family will be read as a single JSON column. Otherwise they are read as a repeated cell structure containing timestamp/value tuples. The default value is false.", +"type": "boolean" +}, +"readRowkeyAsString": { +"description": "Optional. If field is true, then the rowkey column families will be read and converted to string. Otherwise they are read with BYTES type values and users need to manually cast them with CAST if necessary. The default value is false.", +"type": "boolean" +} +}, +"type": "object" +}, +"BigtableProtoConfig": { +"description": "Information related to a Bigtable protobuf column.", +"id": "BigtableProtoConfig", +"properties": { +"protoMessageName": { +"description": "Optional. The fully qualified proto message name of the protobuf. In the format of \"foo.bar.Message\".", +"type": "string" +}, +"schemaBundleId": { +"description": "Optional. The ID of the Bigtable SchemaBundle resource associated with this protobuf. The ID should be referred to within the parent table, e.g., `foo` rather than `projects/{project}/instances/{instance}/tables/{table}/schemaBundles/foo`. See [more details on Bigtable SchemaBundles](https://docs.cloud.google.com/bigtable/docs/create-manage-protobuf-schemas).", +"type": "string" +} +}, +"type": "object" +}, +"BinaryClassificationMetrics": { +"description": "Evaluation metrics for binary classification/classifier models.", +"id": "BinaryClassificationMetrics", +"properties": { +"aggregateClassificationMetrics": { +"$ref": "AggregateClassificationMetrics", +"description": "Aggregate classification metrics." +}, +"binaryConfusionMatrixList": { +"description": "Binary confusion matrix at multiple thresholds.", +"items": { +"$ref": "BinaryConfusionMatrix" +}, +"type": "array" +}, +"negativeLabel": { +"description": "Label representing the negative class.", +"type": "string" +}, +"positiveLabel": { +"description": "Label representing the positive class.", +"type": "string" +} +}, +"type": "object" +}, +"BinaryConfusionMatrix": { +"description": "Confusion matrix for binary classification models.", +"id": "BinaryConfusionMatrix", +"properties": { +"accuracy": { +"description": "The fraction of predictions given the correct label.", +"format": "double", +"type": "number" +}, +"f1Score": { +"description": "The equally weighted average of recall and precision.", +"format": "double", +"type": "number" +}, +"falseNegatives": { +"description": "Number of false samples predicted as false.", +"format": "int64", +"type": "string" +}, +"falsePositives": { +"description": "Number of false samples predicted as true.", +"format": "int64", +"type": "string" +}, +"positiveClassThreshold": { +"description": "Threshold value used when computing each of the following metric.", +"format": "double", +"type": "number" +}, +"precision": { +"description": "The fraction of actual positive predictions that had positive actual labels.", +"format": "double", +"type": "number" +}, +"recall": { +"description": "The fraction of actual positive labels that were given a positive prediction.", +"format": "double", +"type": "number" +}, +"trueNegatives": { +"description": "Number of true samples predicted as false.", +"format": "int64", +"type": "string" +}, +"truePositives": { +"description": "Number of true samples predicted as true.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"Binding": { +"description": "Associates `members`, or principals, with a `role`.", +"id": "Binding", +"properties": { +"condition": { +"$ref": "Expr", +"description": "The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies)." +}, +"members": { +"description": "Specifies the principals requesting access for a Google Cloud resource. `members` can have the following values: * `allUsers`: A special identifier that represents anyone who is on the internet; with or without a Google account. * `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service account. Does not include identities that come from external identity providers (IdPs) through identity federation. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `group:{emailid}`: An email address that represents a Google group. For example, `admins@example.com`. * `domain:{domain}`: The G Suite domain (primary) that represents all the users of that domain. For example, `google.com` or `example.com`. * `principal://iam.googleapis.com/locations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}`: A single identity in a workforce identity pool. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/group/{group_id}`: All workforce identities in a group. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/attribute.{attribute_name}/{attribute_value}`: All workforce identities with a specific attribute value. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/*`: All identities in a workforce identity pool. * `principal://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/subject/{subject_attribute_value}`: A single identity in a workload identity pool. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/group/{group_id}`: A workload identity pool group. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/attribute.{attribute_name}/{attribute_value}`: All identities in a workload identity pool with a certain attribute. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/*`: All identities in a workload identity pool. * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a user that has been recently deleted. For example, `alice@example.com?uid=123456789012345678901`. If the user is recovered, this value reverts to `user:{emailid}` and the recovered user retains the role in the binding. * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a service account that has been recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the service account is undeleted, this value reverts to `serviceAccount:{emailid}` and the undeleted service account retains the role in the binding. * `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a Google group that has been recently deleted. For example, `admins@example.com?uid=123456789012345678901`. If the group is recovered, this value reverts to `group:{emailid}` and the recovered group retains the role in the binding. * `deleted:principal://iam.googleapis.com/locations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}`: Deleted single identity in a workforce identity pool. For example, `deleted:principal://iam.googleapis.com/locations/global/workforcePools/my-pool-id/subject/my-subject-attribute-value`.", +"items": { +"type": "string" +}, +"type": "array" +}, +"role": { +"description": "Role that is assigned to the list of `members`, or principals. For example, `roles/viewer`, `roles/editor`, or `roles/owner`. For an overview of the IAM roles and permissions, see the [IAM documentation](https://cloud.google.com/iam/docs/roles-overview). For a list of the available pre-defined roles, see [here](https://cloud.google.com/iam/docs/understanding-roles).", +"type": "string" +} +}, +"type": "object" +}, +"BqmlIterationResult": { +"id": "BqmlIterationResult", +"properties": { +"durationMs": { +"description": "Deprecated.", +"format": "int64", +"type": "string" +}, +"evalLoss": { +"description": "Deprecated.", +"format": "double", +"type": "number" +}, +"index": { +"description": "Deprecated.", +"format": "int32", +"type": "integer" +}, +"learnRate": { +"description": "Deprecated.", +"format": "double", +"type": "number" +}, +"trainingLoss": { +"description": "Deprecated.", +"format": "double", +"type": "number" +} +}, +"type": "object" +}, +"BqmlTrainingRun": { +"id": "BqmlTrainingRun", +"properties": { +"iterationResults": { +"description": "Deprecated.", +"items": { +"$ref": "BqmlIterationResult" +}, +"type": "array" +}, +"startTime": { +"description": "Deprecated.", +"format": "date-time", +"type": "string" +}, +"state": { +"description": "Deprecated.", +"type": "string" +}, +"trainingOptions": { +"description": "Deprecated.", +"properties": { +"earlyStop": { +"type": "boolean" +}, +"l1Reg": { +"format": "double", +"type": "number" +}, +"l2Reg": { +"format": "double", +"type": "number" +}, +"learnRate": { +"format": "double", +"type": "number" +}, +"learnRateStrategy": { +"type": "string" +}, +"lineSearchInitLearnRate": { +"format": "double", +"type": "number" +}, +"maxIteration": { +"format": "int64", +"type": "string" +}, +"minRelProgress": { +"format": "double", +"type": "number" +}, +"warmStart": { +"type": "boolean" +} +}, +"type": "object" +} +}, +"type": "object" +}, +"CategoricalValue": { +"description": "Representative value of a categorical feature.", +"id": "CategoricalValue", +"properties": { +"categoryCounts": { +"description": "Counts of all categories for the categorical feature. If there are more than ten categories, we return top ten (by count) and return one more CategoryCount with category \"_OTHER_\" and count as aggregate counts of remaining categories.", +"items": { +"$ref": "CategoryCount" +}, +"type": "array" +} +}, +"type": "object" +}, +"CategoryCount": { +"description": "Represents the count of a single category within the cluster.", +"id": "CategoryCount", +"properties": { +"category": { +"description": "The name of category.", +"type": "string" +}, +"count": { +"description": "The count of training samples matching the category within the cluster.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"CloneDefinition": { +"description": "Information about base table and clone time of a table clone.", +"id": "CloneDefinition", +"properties": { +"baseTableReference": { +"$ref": "TableReference", +"description": "Required. Reference describing the ID of the table that was cloned." +}, +"cloneTime": { +"description": "Required. The time at which the base table was cloned. This value is reported in the JSON response using RFC3339 format.", +"format": "date-time", +"type": "string" +} +}, +"type": "object" +}, +"Cluster": { +"description": "Message containing the information about one cluster.", +"id": "Cluster", +"properties": { +"centroidId": { +"description": "Centroid id.", +"format": "int64", +"type": "string" +}, +"count": { +"description": "Count of training data rows that were assigned to this cluster.", +"format": "int64", +"type": "string" +}, +"featureValues": { +"description": "Values of highly variant features for this cluster.", +"items": { +"$ref": "FeatureValue" +}, +"type": "array" +} +}, +"type": "object" +}, +"ClusterInfo": { +"description": "Information about a single cluster for clustering model.", +"id": "ClusterInfo", +"properties": { +"centroidId": { +"description": "Centroid id.", +"format": "int64", +"type": "string" +}, +"clusterRadius": { +"description": "Cluster radius, the average distance from centroid to each point assigned to the cluster.", +"format": "double", +"type": "number" +}, +"clusterSize": { +"description": "Cluster size, the total number of points assigned to the cluster.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"Clustering": { +"description": "Configures table clustering.", +"id": "Clustering", +"properties": { +"fields": { +"description": "One or more fields on which data should be clustered. Only top-level, non-repeated, simple-type fields are supported. The ordering of the clustering fields should be prioritized from most to least important for filtering purposes. For additional information, see [Introduction to clustered tables](https://cloud.google.com/bigquery/docs/clustered-tables#limitations).", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ClusteringMetrics": { +"description": "Evaluation metrics for clustering models.", +"id": "ClusteringMetrics", +"properties": { +"clusters": { +"description": "Information for all clusters.", +"items": { +"$ref": "Cluster" +}, +"type": "array" +}, +"daviesBouldinIndex": { +"description": "Davies-Bouldin index.", +"format": "double", +"type": "number" +}, +"meanSquaredDistance": { +"description": "Mean of squared distances between each sample to its cluster centroid.", +"format": "double", +"type": "number" +} +}, +"type": "object" +}, +"ConfusionMatrix": { +"description": "Confusion matrix for multi-class classification models.", +"id": "ConfusionMatrix", +"properties": { +"confidenceThreshold": { +"description": "Confidence threshold used when computing the entries of the confusion matrix.", +"format": "double", +"type": "number" +}, +"rows": { +"description": "One row per actual label.", +"items": { +"$ref": "Row" +}, +"type": "array" +} +}, +"type": "object" +}, +"ConnectionProperty": { +"description": "A connection-level property to customize query behavior. Under JDBC, these correspond directly to connection properties passed to the DriverManager. Under ODBC, these correspond to properties in the connection string. Currently supported connection properties: * **dataset_project_id**: represents the default project for datasets that are used in the query. Setting the system variable `@@dataset_project_id` achieves the same behavior. For more information about system variables, see: https://cloud.google.com/bigquery/docs/reference/system-variables * **time_zone**: represents the default timezone used to run the query. * **session_id**: associates the query with a given session. * **query_label**: associates the query with a given job label. If set, all subsequent queries in a script or session will have this label. For the format in which a you can specify a query label, see labels in the JobConfiguration resource type: https://cloud.google.com/bigquery/docs/reference/rest/v2/Job#jobconfiguration * **service_account**: indicates the service account to use to run a continuous query. If set, the query job uses the service account to access Google Cloud resources. Service account access is bounded by the IAM permissions that you have granted to the service account. Additional properties are allowed, but ignored. Specifying multiple connection properties with the same key returns an error.", +"id": "ConnectionProperty", +"properties": { +"key": { +"description": "The key of the property to set.", +"type": "string" +}, +"value": { +"description": "The value of the property to set.", +"type": "string" +} +}, +"type": "object" +}, +"CsvOptions": { +"description": "Information related to a CSV data source.", +"id": "CsvOptions", +"properties": { +"allowJaggedRows": { +"description": "Optional. Indicates if BigQuery should accept rows that are missing trailing optional columns. If true, BigQuery treats missing trailing columns as null values. If false, records with missing trailing columns are treated as bad records, and if there are too many bad records, an invalid error is returned in the job result. The default value is false.", +"type": "boolean" +}, +"allowQuotedNewlines": { +"description": "Optional. Indicates if BigQuery should allow quoted data sections that contain newline characters in a CSV file. The default value is false.", +"type": "boolean" +}, +"encoding": { +"description": "Optional. The character encoding of the data. The supported values are UTF-8, ISO-8859-1, UTF-16BE, UTF-16LE, UTF-32BE, and UTF-32LE. The default value is UTF-8. BigQuery decodes the data after the raw, binary data has been split using the values of the quote and fieldDelimiter properties.", +"type": "string" +}, +"fieldDelimiter": { +"description": "Optional. The separator character for fields in a CSV file. The separator is interpreted as a single byte. For files encoded in ISO-8859-1, any single character can be used as a separator. For files encoded in UTF-8, characters represented in decimal range 1-127 (U+0001-U+007F) can be used without any modification. UTF-8 characters encoded with multiple bytes (i.e. U+0080 and above) will have only the first byte used for separating fields. The remaining bytes will be treated as a part of the field. BigQuery also supports the escape sequence \"\\t\" (U+0009) to specify a tab separator. The default value is comma (\",\", U+002C).", +"type": "string" +}, +"nullMarker": { +"description": "Optional. Specifies a string that represents a null value in a CSV file. For example, if you specify \"\\N\", BigQuery interprets \"\\N\" as a null value when querying a CSV file. The default value is the empty string. If you set this property to a custom value, BigQuery throws an error if an empty string is present for all data types except for STRING and BYTE. For STRING and BYTE columns, BigQuery interprets the empty string as an empty value.", +"type": "string" +}, +"nullMarkers": { +"description": "Optional. A list of strings represented as SQL NULL value in a CSV file. null_marker and null_markers can't be set at the same time. If null_marker is set, null_markers has to be not set. If null_markers is set, null_marker has to be not set. If both null_marker and null_markers are set at the same time, a user error would be thrown. Any strings listed in null_markers, including empty string would be interpreted as SQL NULL. This applies to all column types.", +"items": { +"type": "string" +}, +"type": "array" +}, +"preserveAsciiControlCharacters": { +"description": "Optional. Indicates if the embedded ASCII control characters (the first 32 characters in the ASCII-table, from '\\x00' to '\\x1F') are preserved.", +"type": "boolean" +}, +"quote": { +"default": "\"", +"description": "Optional. The value that is used to quote data sections in a CSV file. BigQuery converts the string to ISO-8859-1 encoding, and then uses the first byte of the encoded string to split the data in its raw, binary state. The default value is a double-quote (\"). If your data does not contain quoted sections, set the property value to an empty string. If your data contains quoted newline characters, you must also set the allowQuotedNewlines property to true. To include the specific quote character within a quoted value, precede it with an additional matching quote character. For example, if you want to escape the default character ' \" ', use ' \"\" '.", +"pattern": ".?", +"type": "string" +}, +"skipLeadingRows": { +"description": "Optional. The number of rows at the top of a CSV file that BigQuery will skip when reading the data. The default value is 0. This property is useful if you have header rows in the file that should be skipped. When autodetect is on, the behavior is the following: * skipLeadingRows unspecified - Autodetect tries to detect headers in the first row. If they are not detected, the row is read as data. Otherwise data is read starting from the second row. * skipLeadingRows is 0 - Instructs autodetect that there are no headers and data should be read starting from the first row. * skipLeadingRows = N > 0 - Autodetect skips N-1 rows and tries to detect headers in row N. If headers are not detected, row N is just skipped. Otherwise row N is used to extract column names for the detected schema.", +"format": "int64", +"type": "string" +}, +"sourceColumnMatch": { +"description": "Optional. Controls the strategy used to match loaded columns to the schema. If not set, a sensible default is chosen based on how the schema is provided. If autodetect is used, then columns are matched by name. Otherwise, columns are matched by position. This is done to keep the behavior backward-compatible. Acceptable values are: POSITION - matches by position. This assumes that the columns are ordered the same way as the schema. NAME - matches by name. This reads the header row as column names and reorders columns to match the field names in the schema.", +"type": "string" +} +}, +"type": "object" +}, +"DataFormatOptions": { +"description": "Options for data format adjustments.", +"id": "DataFormatOptions", +"properties": { +"timestampOutputFormat": { +"description": "Optional. The API output format for a timestamp. This offers more explicit control over the timestamp output format as compared to the existing `use_int64_timestamp` option.", +"enum": [ +"TIMESTAMP_OUTPUT_FORMAT_UNSPECIFIED", +"FLOAT64", +"INT64", +"ISO8601_STRING" +], +"enumDescriptions": [ +"Corresponds to default API output behavior, which is FLOAT64.", +"Timestamp is output as float64 seconds since Unix epoch.", +"Timestamp is output as int64 microseconds since Unix epoch.", +"Timestamp is output as ISO 8601 String (\"YYYY-MM-DDTHH:MM:SS.FFFFFFFFFFFFZ\")." +], +"type": "string" +}, +"useInt64Timestamp": { +"description": "Optional. Output timestamp as usec int64. Default is false.", +"type": "boolean" +} +}, +"type": "object" +}, +"DataMaskingStatistics": { +"description": "Statistics for data-masking.", +"id": "DataMaskingStatistics", +"properties": { +"dataMaskingApplied": { +"description": "Whether any accessed data was protected by the data masking.", +"type": "boolean" +} +}, +"type": "object" +}, +"DataPolicyOption": { +"description": "Data policy option. For more information, see [Mask data by applying data policies to a column](https://docs.cloud.google.com/bigquery/docs/column-data-masking#data-policies-on-column).", +"id": "DataPolicyOption", +"properties": { +"name": { +"description": "Data policy resource name in the form of projects/project_id/locations/location_id/dataPolicies/data_policy_id.", +"type": "string" +} +}, +"type": "object" +}, +"DataSplitResult": { +"description": "Data split result. This contains references to the training and evaluation data tables that were used to train the model.", +"id": "DataSplitResult", +"properties": { +"evaluationTable": { +"$ref": "TableReference", +"description": "Table reference of the evaluation data after split." +}, +"testTable": { +"$ref": "TableReference", +"description": "Table reference of the test data after split." +}, +"trainingTable": { +"$ref": "TableReference", +"description": "Table reference of the training data after split." +} +}, +"type": "object" +}, +"Dataset": { +"description": "Represents a BigQuery dataset.", +"id": "Dataset", +"properties": { +"access": { +"description": "Optional. An array of objects that define dataset access for one or more entities. You can set this property when inserting or updating a dataset in order to control who is allowed to access the data. If unspecified at dataset creation time, BigQuery adds default dataset access for the following entities: access.specialGroup: projectReaders; access.role: READER; access.specialGroup: projectWriters; access.role: WRITER; access.specialGroup: projectOwners; access.role: OWNER; access.userByEmail: [dataset creator email]; access.role: OWNER; If you patch a dataset, then this field is overwritten by the patched dataset's access field. To add entities, you must supply the entire existing access array in addition to any new entities that you want to add.", +"items": { +"description": "An object that defines dataset access for an entity.", +"properties": { +"condition": { +"$ref": "Expr", +"description": "Optional. condition for the binding. If CEL expression in this field is true, this access binding will be considered" +}, +"dataset": { +"$ref": "DatasetAccessEntry", +"description": "[Pick one] A grant authorizing all resources of a particular type in a particular dataset access to this dataset. Only views are supported for now. The role field is not required when this field is set. If that dataset is deleted and re-created, its access needs to be granted again via an update operation." +}, +"domain": { +"description": "[Pick one] A domain to grant access to. Any users signed in with the domain specified will be granted the specified access. Example: \"example.com\". Maps to IAM policy member \"domain:DOMAIN\".", +"type": "string" +}, +"groupByEmail": { +"description": "[Pick one] An email address of a Google Group to grant access to. Maps to IAM policy member \"group:GROUP\".", +"type": "string" +}, +"iamMember": { +"description": "[Pick one] Some other type of member that appears in the IAM Policy but isn't a user, group, domain, or special group.", +"type": "string" +}, +"role": { +"description": "An IAM role ID that should be granted to the user, group, or domain specified in this access entry. The following legacy mappings will be applied: * `OWNER`: `roles/bigquery.dataOwner` * `WRITER`: `roles/bigquery.dataEditor` * `READER`: `roles/bigquery.dataViewer` This field will accept any of the above formats, but will return only the legacy format. For example, if you set this field to \"roles/bigquery.dataOwner\", it will be returned back as \"OWNER\".", +"type": "string" +}, +"routine": { +"$ref": "RoutineReference", +"description": "[Pick one] A routine from a different dataset to grant access to. Queries executed against that routine will have read access to views/tables/routines in this dataset. Only UDF is supported for now. The role field is not required when this field is set. If that routine is updated by any user, access to the routine needs to be granted again via an update operation." +}, +"specialGroup": { +"description": "[Pick one] A special group to grant access to. Possible values include: * projectOwners: Owners of the enclosing project. * projectReaders: Readers of the enclosing project. * projectWriters: Writers of the enclosing project. * allAuthenticatedUsers: All authenticated BigQuery users. Maps to similarly-named IAM members.", +"type": "string" +}, +"userByEmail": { +"description": "[Pick one] An email address of a user to grant access to. For example: fred@example.com. Maps to IAM policy member \"user:EMAIL\" or \"serviceAccount:EMAIL\".", +"type": "string" +}, +"view": { +"$ref": "TableReference", +"description": "[Pick one] A view from a different dataset to grant access to. Queries executed against that view will have read access to views/tables/routines in this dataset. The role field is not required when this field is set. If that view is updated by any user, access to the view needs to be granted again via an update operation." +} +}, +"type": "object" +}, +"type": "array" +}, +"creationTime": { +"description": "Output only. The time when this dataset was created, in milliseconds since the epoch.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"datasetReference": { +"$ref": "DatasetReference", +"description": "Required. A reference that identifies the dataset." +}, +"defaultCollation": { +"description": "Optional. Defines the default collation specification of future tables created in the dataset. If a table is created in this dataset without table-level default collation, then the table inherits the dataset default collation, which is applied to the string fields that do not have explicit collation specified. A change to this field affects only tables created afterwards, and does not alter the existing tables. The following values are supported: * 'und:ci': undetermined locale, case insensitive. * '': empty string. Default to case-sensitive behavior.", +"type": "string" +}, +"defaultEncryptionConfiguration": { +"$ref": "EncryptionConfiguration", +"description": "The default encryption key for all tables in the dataset. After this property is set, the encryption key of all newly-created tables in the dataset is set to this value unless the table creation request or query explicitly overrides the key." +}, +"defaultPartitionExpirationMs": { +"description": "This default partition expiration, expressed in milliseconds. When new time-partitioned tables are created in a dataset where this property is set, the table will inherit this value, propagated as the `TimePartitioning.expirationMs` property on the new table. If you set `TimePartitioning.expirationMs` explicitly when creating a table, the `defaultPartitionExpirationMs` of the containing dataset is ignored. When creating a partitioned table, if `defaultPartitionExpirationMs` is set, the `defaultTableExpirationMs` value is ignored and the table will not be inherit a table expiration deadline.", +"format": "int64", +"type": "string" +}, +"defaultRoundingMode": { +"description": "Optional. Defines the default rounding mode specification of new tables created within this dataset. During table creation, if this field is specified, the table within this dataset will inherit the default rounding mode of the dataset. Setting the default rounding mode on a table overrides this option. Existing tables in the dataset are unaffected. If columns are defined during that table creation, they will immediately inherit the table's default rounding mode, unless otherwise specified.", +"enum": [ +"ROUNDING_MODE_UNSPECIFIED", +"ROUND_HALF_AWAY_FROM_ZERO", +"ROUND_HALF_EVEN" +], +"enumDescriptions": [ +"Unspecified will default to using ROUND_HALF_AWAY_FROM_ZERO.", +"ROUND_HALF_AWAY_FROM_ZERO rounds half values away from zero when applying precision and scale upon writing of NUMERIC and BIGNUMERIC values. For Scale: 0 1.1, 1.2, 1.3, 1.4 => 1 1.5, 1.6, 1.7, 1.8, 1.9 => 2", +"ROUND_HALF_EVEN rounds half values to the nearest even value when applying precision and scale upon writing of NUMERIC and BIGNUMERIC values. For Scale: 0 1.1, 1.2, 1.3, 1.4 => 1 1.5 => 2 1.6, 1.7, 1.8, 1.9 => 2 2.5 => 2" +], +"type": "string" +}, +"defaultTableExpirationMs": { +"description": "Optional. The default lifetime of all tables in the dataset, in milliseconds. The minimum lifetime value is 3600000 milliseconds (one hour). To clear an existing default expiration with a PATCH request, set to 0. Once this property is set, all newly-created tables in the dataset will have an expirationTime property set to the creation time plus the value in this property, and changing the value will only affect new tables, not existing ones. When the expirationTime for a given table is reached, that table will be deleted automatically. If a table's expirationTime is modified or removed before the table expires, or if you provide an explicit expirationTime when creating a table, that value takes precedence over the default expiration time indicated by this property.", +"format": "int64", +"type": "string" +}, +"description": { +"description": "Optional. A user-friendly description of the dataset.", +"type": "string" +}, +"etag": { +"description": "Output only. A hash of the resource.", +"readOnly": true, +"type": "string" +}, +"externalCatalogDatasetOptions": { +"$ref": "ExternalCatalogDatasetOptions", +"description": "Optional. Options defining open source compatible datasets living in the BigQuery catalog. Contains metadata of open source database, schema or namespace represented by the current dataset." +}, +"externalDatasetReference": { +"$ref": "ExternalDatasetReference", +"description": "Optional. Reference to a read-only external dataset defined in data catalogs outside of BigQuery. Filled out when the dataset type is EXTERNAL." +}, +"friendlyName": { +"description": "Optional. A descriptive name for the dataset.", +"type": "string" +}, +"id": { +"description": "Output only. The fully-qualified unique name of the dataset in the format projectId:datasetId. The dataset name without the project name is given in the datasetId field. When creating a new dataset, leave this field blank, and instead specify the datasetId field.", +"readOnly": true, +"type": "string" +}, +"isCaseInsensitive": { +"description": "Optional. TRUE if the dataset and its table names are case-insensitive, otherwise FALSE. By default, this is FALSE, which means the dataset and its table names are case-sensitive. This field does not affect routine references.", +"type": "boolean" +}, +"kind": { +"default": "bigquery#dataset", +"description": "Output only. The resource type.", +"readOnly": true, +"type": "string" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "The labels associated with this dataset. You can use these to organize and group your datasets. You can set this property when inserting or updating a dataset. See [Creating and Updating Dataset Labels](https://cloud.google.com/bigquery/docs/creating-managing-labels#creating_and_updating_dataset_labels) for more information.", +"type": "object" +}, +"lastModifiedTime": { +"description": "Output only. The date when this dataset was last modified, in milliseconds since the epoch.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"linkedDatasetMetadata": { +"$ref": "LinkedDatasetMetadata", +"description": "Output only. Metadata about the LinkedDataset. Filled out when the dataset type is LINKED.", +"readOnly": true +}, +"linkedDatasetSource": { +"$ref": "LinkedDatasetSource", +"description": "Optional. The source dataset reference when the dataset is of type LINKED. For all other dataset types it is not set. This field cannot be updated once it is set. Any attempt to update this field using Update and Patch API Operations will be ignored." +}, +"location": { +"description": "The geographic location where the dataset should reside. See https://cloud.google.com/bigquery/docs/locations for supported locations.", +"type": "string" +}, +"maxTimeTravelHours": { +"description": "Optional. Defines the time travel window in hours. The value can be from 48 to 168 hours (2 to 7 days). The default value is 168 hours if this is not set.", +"format": "int64", +"type": "string" +}, +"resourceTags": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. The [tags](https://cloud.google.com/bigquery/docs/tags) attached to this dataset. Tag keys are globally unique. Tag key is expected to be in the namespaced format, for example \"123456789012/environment\" where 123456789012 is the ID of the parent organization or project resource for this tag key. Tag value is expected to be the short name, for example \"Production\". See [Tag definitions](https://cloud.google.com/iam/docs/tags-access-control#definitions) for more details.", +"type": "object" +}, +"restrictions": { +"$ref": "RestrictionConfig", +"description": "Optional. Output only. Restriction config for all tables and dataset. If set, restrict certain accesses on the dataset and all its tables based on the config. See [Data egress](https://cloud.google.com/bigquery/docs/analytics-hub-introduction#data_egress) for more details.", +"readOnly": true +}, +"satisfiesPzi": { +"description": "Output only. Reserved for future use.", +"readOnly": true, +"type": "boolean" +}, +"satisfiesPzs": { +"description": "Output only. Reserved for future use.", +"readOnly": true, +"type": "boolean" +}, +"selfLink": { +"description": "Output only. A URL that can be used to access the resource again. You can use this URL in Get or Update requests to the resource.", +"readOnly": true, +"type": "string" +}, +"storageBillingModel": { +"description": "Optional. Updates storage_billing_model for the dataset.", +"enum": [ +"STORAGE_BILLING_MODEL_UNSPECIFIED", +"LOGICAL", +"PHYSICAL" +], +"enumDescriptions": [ +"Value not set.", +"Billing for logical bytes.", +"Billing for physical bytes." +], +"type": "string" +}, +"tags": { +"deprecated": true, +"description": "Output only. Tags for the dataset. To provide tags as inputs, use the `resourceTags` field.", +"items": { +"description": "A global tag managed by Resource Manager. https://cloud.google.com/iam/docs/tags-access-control#definitions", +"properties": { +"tagKey": { +"description": "Required. The namespaced friendly name of the tag key, e.g. \"12345/environment\" where 12345 is org id.", +"type": "string" +}, +"tagValue": { +"description": "Required. The friendly short name of the tag value, e.g. \"production\".", +"type": "string" +} +}, +"type": "object" +}, +"readOnly": true, +"type": "array" +}, +"type": { +"description": "Output only. Same as `type` in `ListFormatDataset`. The type of the dataset, one of: * DEFAULT - only accessible by owner and authorized accounts, * PUBLIC - accessible by everyone, * LINKED - linked dataset, * EXTERNAL - dataset with definition in external metadata catalog.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"DatasetAccessEntry": { +"description": "Grants all resources of particular types in a particular dataset read access to the current dataset. Similar to how individually authorized views work, updates to any resource granted through its dataset (including creation of new resources) requires read permission to referenced resources, plus write permission to the authorizing dataset.", +"id": "DatasetAccessEntry", +"properties": { +"dataset": { +"$ref": "DatasetReference", +"description": "The dataset this entry applies to" +}, +"targetTypes": { +"description": "Which resources in the dataset this entry applies to. Currently, only views are supported, but additional target types may be added in the future.", +"items": { +"enum": [ +"TARGET_TYPE_UNSPECIFIED", +"VIEWS", +"ROUTINES" +], +"enumDescriptions": [ +"Do not use. You must set a target type explicitly.", +"This entry applies to views in the dataset.", +"This entry applies to routines in the dataset." +], +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"DatasetList": { +"description": "Response format for a page of results when listing datasets.", +"id": "DatasetList", +"properties": { +"datasets": { +"description": "An array of the dataset resources in the project. Each resource contains basic information. For full information about a particular dataset resource, use the Datasets: get method. This property is omitted when there are no datasets in the project.", +"items": { +"description": "A dataset resource with only a subset of fields, to be returned in a list of datasets.", +"properties": { +"datasetReference": { +"$ref": "DatasetReference", +"description": "The dataset reference. Use this property to access specific parts of the dataset's ID, such as project ID or dataset ID." +}, +"externalDatasetReference": { +"$ref": "ExternalDatasetReference", +"description": "Output only. Reference to a read-only external dataset defined in data catalogs outside of BigQuery. Filled out when the dataset type is EXTERNAL.", +"readOnly": true +}, +"friendlyName": { +"description": "An alternate name for the dataset. The friendly name is purely decorative in nature.", +"type": "string" +}, +"id": { +"description": "The fully-qualified, unique, opaque ID of the dataset.", +"type": "string" +}, +"kind": { +"description": "The resource type. This property always returns the value \"bigquery#dataset\"", +"type": "string" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "The labels associated with this dataset. You can use these to organize and group your datasets.", +"type": "object" +}, +"location": { +"description": "The geographic location where the dataset resides.", +"type": "string" +} +}, +"type": "object" +}, +"type": "array" +}, +"etag": { +"description": "Output only. A hash value of the results page. You can use this property to determine if the page has changed since the last request.", +"readOnly": true, +"type": "string" +}, +"kind": { +"default": "bigquery#datasetList", +"description": "Output only. The resource type. This property always returns the value \"bigquery#datasetList\"", +"readOnly": true, +"type": "string" +}, +"nextPageToken": { +"description": "A token that can be used to request the next results page. This property is omitted on the final results page.", +"type": "string" +}, +"unreachable": { +"description": "A list of skipped locations that were unreachable. For more information about BigQuery locations, see: https://cloud.google.com/bigquery/docs/locations. Example: \"europe-west5\"", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"DatasetReference": { +"description": "Identifier for a dataset.", +"id": "DatasetReference", +"properties": { +"datasetId": { +"description": "Required. A unique ID for this dataset, without the project name. The ID must contain only letters (a-z, A-Z), numbers (0-9), or underscores (_). The maximum length is 1,024 characters.", +"type": "string" +}, +"projectId": { +"description": "Optional. The ID of the project containing this dataset.", +"type": "string" +} +}, +"type": "object" +}, +"DestinationTableProperties": { +"description": "Properties for the destination table.", +"id": "DestinationTableProperties", +"properties": { +"description": { +"description": "Optional. The description for the destination table. This will only be used if the destination table is newly created. If the table already exists and a value different than the current description is provided, the job will fail.", +"type": "string" +}, +"expirationTime": { +"description": "Internal use only.", +"format": "date-time", +"type": "string" +}, +"friendlyName": { +"description": "Optional. Friendly name for the destination table. If the table already exists, it should be same as the existing friendly name.", +"type": "string" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. The labels associated with this table. You can use these to organize and group your tables. This will only be used if the destination table is newly created. If the table already exists and labels are different than the current labels are provided, the job will fail.", +"type": "object" +} +}, +"type": "object" +}, +"DifferentialPrivacyPolicy": { +"description": "Represents privacy policy associated with \"differential privacy\" method.", +"id": "DifferentialPrivacyPolicy", +"properties": { +"deltaBudget": { +"description": "Optional. The total delta budget for all queries against the privacy-protected view. Each subscriber query against this view charges the amount of delta that is pre-defined by the contributor through the privacy policy delta_per_query field. If there is sufficient budget, then the subscriber query attempts to complete. It might still fail due to other reasons, in which case the charge is refunded. If there is insufficient budget the query is rejected. There might be multiple charge attempts if a single query references multiple views. In this case there must be sufficient budget for all charges or the query is rejected and charges are refunded in best effort. The budget does not have a refresh policy and can only be updated via ALTER VIEW or circumvented by creating a new view that can be queried with a fresh budget.", +"format": "double", +"type": "number" +}, +"deltaBudgetRemaining": { +"description": "Output only. The delta budget remaining. If budget is exhausted, no more queries are allowed. Note that the budget for queries that are in progress is deducted before the query executes. If the query fails or is cancelled then the budget is refunded. In this case the amount of budget remaining can increase.", +"format": "double", +"readOnly": true, +"type": "number" +}, +"deltaPerQuery": { +"description": "Optional. The delta value that is used per query. Delta represents the probability that any row will fail to be epsilon differentially private. Indicates the risk associated with exposing aggregate rows in the result of a query.", +"format": "double", +"type": "number" +}, +"epsilonBudget": { +"description": "Optional. The total epsilon budget for all queries against the privacy-protected view. Each subscriber query against this view charges the amount of epsilon they request in their query. If there is sufficient budget, then the subscriber query attempts to complete. It might still fail due to other reasons, in which case the charge is refunded. If there is insufficient budget the query is rejected. There might be multiple charge attempts if a single query references multiple views. In this case there must be sufficient budget for all charges or the query is rejected and charges are refunded in best effort. The budget does not have a refresh policy and can only be updated via ALTER VIEW or circumvented by creating a new view that can be queried with a fresh budget.", +"format": "double", +"type": "number" +}, +"epsilonBudgetRemaining": { +"description": "Output only. The epsilon budget remaining. If budget is exhausted, no more queries are allowed. Note that the budget for queries that are in progress is deducted before the query executes. If the query fails or is cancelled then the budget is refunded. In this case the amount of budget remaining can increase.", +"format": "double", +"readOnly": true, +"type": "number" +}, +"maxEpsilonPerQuery": { +"description": "Optional. The maximum epsilon value that a query can consume. If the subscriber specifies epsilon as a parameter in a SELECT query, it must be less than or equal to this value. The epsilon parameter controls the amount of noise that is added to the groups \u2014 a higher epsilon means less noise.", +"format": "double", +"type": "number" +}, +"maxGroupsContributed": { +"description": "Optional. The maximum groups contributed value that is used per query. Represents the maximum number of groups to which each protected entity can contribute. Changing this value does not improve or worsen privacy. The best value for accuracy and utility depends on the query and data.", +"format": "int64", +"type": "string" +}, +"privacyUnitColumn": { +"description": "Optional. The privacy unit column associated with this policy. Differential privacy policies can only have one privacy unit column per data source object (table, view).", +"type": "string" +} +}, +"type": "object" +}, +"DimensionalityReductionMetrics": { +"description": "Model evaluation metrics for dimensionality reduction models.", +"id": "DimensionalityReductionMetrics", +"properties": { +"totalExplainedVarianceRatio": { +"description": "Total percentage of variance explained by the selected principal components.", +"format": "double", +"type": "number" +} +}, +"type": "object" +}, +"DmlStatistics": { +"description": "Detailed statistics for DML statements", +"id": "DmlStatistics", +"properties": { +"deletedRowCount": { +"description": "Output only. Number of deleted Rows. populated by DML DELETE, MERGE and TRUNCATE statements.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"insertedRowCount": { +"description": "Output only. Number of inserted Rows. Populated by DML INSERT and MERGE statements", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"updatedRowCount": { +"description": "Output only. Number of updated Rows. Populated by DML UPDATE and MERGE statements.", +"format": "int64", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"DoubleCandidates": { +"description": "Discrete candidates of a double hyperparameter.", +"id": "DoubleCandidates", +"properties": { +"candidates": { +"description": "Candidates for the double parameter in increasing order.", +"items": { +"format": "double", +"type": "number" +}, +"type": "array" +} +}, +"type": "object" +}, +"DoubleHparamSearchSpace": { +"description": "Search space for a double hyperparameter.", +"id": "DoubleHparamSearchSpace", +"properties": { +"candidates": { +"$ref": "DoubleCandidates", +"description": "Candidates of the double hyperparameter." +}, +"range": { +"$ref": "DoubleRange", +"description": "Range of the double hyperparameter." +} +}, +"type": "object" +}, +"DoubleRange": { +"description": "Range of a double hyperparameter.", +"id": "DoubleRange", +"properties": { +"max": { +"description": "Max value of the double parameter.", +"format": "double", +"type": "number" +}, +"min": { +"description": "Min value of the double parameter.", +"format": "double", +"type": "number" +} +}, +"type": "object" +}, +"EncryptionConfiguration": { +"description": "Configuration for Cloud KMS encryption settings.", +"id": "EncryptionConfiguration", +"properties": { +"kmsKeyName": { +"description": "Optional. Describes the Cloud KMS encryption key that will be used to protect destination BigQuery table. The BigQuery Service Account associated with your project requires access to this encryption key.", +"type": "string" +} +}, +"type": "object" +}, +"Entry": { +"description": "A single entry in the confusion matrix.", +"id": "Entry", +"properties": { +"itemCount": { +"description": "Number of items being predicted as this label.", +"format": "int64", +"type": "string" +}, +"predictedLabel": { +"description": "The predicted label. For confidence_threshold > 0, we will also add an entry indicating the number of items under the confidence threshold.", +"type": "string" +} +}, +"type": "object" +}, +"ErrorProto": { +"description": "Error details.", +"id": "ErrorProto", +"properties": { +"debugInfo": { +"description": "Debugging information. This property is internal to Google and should not be used.", +"type": "string" +}, +"location": { +"description": "Specifies where the error occurred, if present.", +"type": "string" +}, +"message": { +"description": "A human-readable description of the error.", +"type": "string" +}, +"reason": { +"description": "A short error code that summarizes the error.", +"type": "string" +} +}, +"type": "object" +}, +"EvaluationMetrics": { +"description": "Evaluation metrics of a model. These are either computed on all training data or just the eval data based on whether eval data was used during training. These are not present for imported models.", +"id": "EvaluationMetrics", +"properties": { +"arimaForecastingMetrics": { +"$ref": "ArimaForecastingMetrics", +"description": "Populated for ARIMA models." +}, +"binaryClassificationMetrics": { +"$ref": "BinaryClassificationMetrics", +"description": "Populated for binary classification/classifier models." +}, +"clusteringMetrics": { +"$ref": "ClusteringMetrics", +"description": "Populated for clustering models." +}, +"dimensionalityReductionMetrics": { +"$ref": "DimensionalityReductionMetrics", +"description": "Evaluation metrics when the model is a dimensionality reduction model, which currently includes PCA." +}, +"multiClassClassificationMetrics": { +"$ref": "MultiClassClassificationMetrics", +"description": "Populated for multi-class classification/classifier models." +}, +"rankingMetrics": { +"$ref": "RankingMetrics", +"description": "Populated for implicit feedback type matrix factorization models." +}, +"regressionMetrics": { +"$ref": "RegressionMetrics", +"description": "Populated for regression models and explicit feedback type matrix factorization models." +} +}, +"type": "object" +}, +"ExplainQueryStage": { +"description": "A single stage of query execution.", +"id": "ExplainQueryStage", +"properties": { +"completedParallelInputs": { +"description": "Number of parallel input segments completed.", +"format": "int64", +"type": "string" +}, +"computeMode": { +"description": "Output only. Compute mode for this stage.", +"enum": [ +"COMPUTE_MODE_UNSPECIFIED", +"BIGQUERY", +"BI_ENGINE" +], +"enumDescriptions": [ +"ComputeMode type not specified.", +"This stage was processed using BigQuery slots.", +"This stage was processed using BI Engine compute." +], +"readOnly": true, +"type": "string" +}, +"computeMsAvg": { +"description": "Milliseconds the average shard spent on CPU-bound tasks.", +"format": "int64", +"type": "string" +}, +"computeMsMax": { +"description": "Milliseconds the slowest shard spent on CPU-bound tasks.", +"format": "int64", +"type": "string" +}, +"computeRatioAvg": { +"description": "Relative amount of time the average shard spent on CPU-bound tasks.", +"format": "double", +"type": "number" +}, +"computeRatioMax": { +"description": "Relative amount of time the slowest shard spent on CPU-bound tasks.", +"format": "double", +"type": "number" +}, +"endMs": { +"description": "Stage end time represented as milliseconds since the epoch.", +"format": "int64", +"type": "string" +}, +"id": { +"description": "Unique ID for the stage within the plan.", +"format": "int64", +"type": "string" +}, +"inputStages": { +"description": "IDs for stages that are inputs to this stage.", +"items": { +"format": "int64", +"type": "string" +}, +"type": "array" +}, +"name": { +"description": "Human-readable name for the stage.", +"type": "string" +}, +"parallelInputs": { +"description": "Number of parallel input segments to be processed", +"format": "int64", +"type": "string" +}, +"readMsAvg": { +"description": "Milliseconds the average shard spent reading input.", +"format": "int64", +"type": "string" +}, +"readMsMax": { +"description": "Milliseconds the slowest shard spent reading input.", +"format": "int64", +"type": "string" +}, +"readRatioAvg": { +"description": "Relative amount of time the average shard spent reading input.", +"format": "double", +"type": "number" +}, +"readRatioMax": { +"description": "Relative amount of time the slowest shard spent reading input.", +"format": "double", +"type": "number" +}, +"recordsRead": { +"description": "Number of records read into the stage.", +"format": "int64", +"type": "string" +}, +"recordsWritten": { +"description": "Number of records written by the stage.", +"format": "int64", +"type": "string" +}, +"shuffleOutputBytes": { +"description": "Total number of bytes written to shuffle.", +"format": "int64", +"type": "string" +}, +"shuffleOutputBytesSpilled": { +"description": "Total number of bytes written to shuffle and spilled to disk.", +"format": "int64", +"type": "string" +}, +"slotMs": { +"description": "Slot-milliseconds used by the stage.", +"format": "int64", +"type": "string" +}, +"startMs": { +"description": "Stage start time represented as milliseconds since the epoch.", +"format": "int64", +"type": "string" +}, +"status": { +"description": "Current status for this stage.", +"type": "string" +}, +"steps": { +"description": "List of operations within the stage in dependency order (approximately chronological).", +"items": { +"$ref": "ExplainQueryStep" +}, +"type": "array" +}, +"waitMsAvg": { +"description": "Milliseconds the average shard spent waiting to be scheduled.", +"format": "int64", +"type": "string" +}, +"waitMsMax": { +"description": "Milliseconds the slowest shard spent waiting to be scheduled.", +"format": "int64", +"type": "string" +}, +"waitRatioAvg": { +"description": "Relative amount of time the average shard spent waiting to be scheduled.", +"format": "double", +"type": "number" +}, +"waitRatioMax": { +"description": "Relative amount of time the slowest shard spent waiting to be scheduled.", +"format": "double", +"type": "number" +}, +"writeMsAvg": { +"description": "Milliseconds the average shard spent on writing output.", +"format": "int64", +"type": "string" +}, +"writeMsMax": { +"description": "Milliseconds the slowest shard spent on writing output.", +"format": "int64", +"type": "string" +}, +"writeRatioAvg": { +"description": "Relative amount of time the average shard spent on writing output.", +"format": "double", +"type": "number" +}, +"writeRatioMax": { +"description": "Relative amount of time the slowest shard spent on writing output.", +"format": "double", +"type": "number" +} +}, +"type": "object" +}, +"ExplainQueryStep": { +"description": "An operation within a stage.", +"id": "ExplainQueryStep", +"properties": { +"kind": { +"description": "Machine-readable operation type.", +"type": "string" +}, +"substeps": { +"description": "Human-readable description of the step(s).", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"Explanation": { +"description": "Explanation for a single feature.", +"id": "Explanation", +"properties": { +"attribution": { +"description": "Attribution of feature.", +"format": "double", +"type": "number" +}, +"featureName": { +"description": "The full feature name. For non-numerical features, will be formatted like `.`. Overall size of feature name will always be truncated to first 120 characters.", +"type": "string" +} +}, +"type": "object" +}, +"ExportDataStatistics": { +"description": "Statistics for the EXPORT DATA statement as part of Query Job. EXTRACT JOB statistics are populated in JobStatistics4.", +"id": "ExportDataStatistics", +"properties": { +"fileCount": { +"description": "Number of destination files generated in case of EXPORT DATA statement only.", +"format": "int64", +"type": "string" +}, +"rowCount": { +"description": "[Alpha] Number of destination rows generated in case of EXPORT DATA statement only.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"Expr": { +"description": "Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: \"Summary size limit\" description: \"Determines if a summary is less than 100 chars\" expression: \"document.summary.size() < 100\" Example (Equality): title: \"Requestor is owner\" description: \"Determines if requestor is the document owner\" expression: \"document.owner == request.auth.claims.email\" Example (Logic): title: \"Public documents\" description: \"Determine whether the document should be publicly visible\" expression: \"document.type != 'private' && document.type != 'internal'\" Example (Data Manipulation): title: \"Notification string\" description: \"Create a notification string with a timestamp.\" expression: \"'New message received at ' + string(document.create_time)\" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information.", +"id": "Expr", +"properties": { +"description": { +"description": "Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI.", +"type": "string" +}, +"expression": { +"description": "Textual representation of an expression in Common Expression Language syntax.", +"type": "string" +}, +"location": { +"description": "Optional. String indicating the location of the expression for error reporting, e.g. a file name and a position in the file.", +"type": "string" +}, +"title": { +"description": "Optional. Title for the expression, i.e. a short string describing its purpose. This can be used e.g. in UIs which allow to enter the expression.", +"type": "string" +} +}, +"type": "object" +}, +"ExternalCatalogDatasetOptions": { +"description": "Options defining open source compatible datasets living in the BigQuery catalog. Contains metadata of open source database, schema, or namespace represented by the current dataset.", +"id": "ExternalCatalogDatasetOptions", +"properties": { +"defaultStorageLocationUri": { +"description": "Optional. The storage location URI for all tables in the dataset. Equivalent to hive metastore's database locationUri. Maximum length of 1024 characters.", +"type": "string" +}, +"parameters": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. A map of key value pairs defining the parameters and properties of the open source schema. Maximum size of 2MiB.", +"type": "object" +} +}, +"type": "object" +}, +"ExternalCatalogTableOptions": { +"description": "Metadata about open source compatible table. The fields contained in these options correspond to Hive metastore's table-level properties.", +"id": "ExternalCatalogTableOptions", +"properties": { +"connectionId": { +"description": "Optional. A connection ID that specifies the credentials to be used to read external storage, such as Azure Blob, Cloud Storage, or Amazon S3. This connection is needed to read the open source table from BigQuery. The connection_id format must be either `..` or `projects//locations//connections/`.", +"type": "string" +}, +"parameters": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. A map of the key-value pairs defining the parameters and properties of the open source table. Corresponds with Hive metastore table parameters. Maximum size of 4MiB.", +"type": "object" +}, +"storageDescriptor": { +"$ref": "StorageDescriptor", +"description": "Optional. A storage descriptor containing information about the physical storage of this table." +} +}, +"type": "object" +}, +"ExternalDataConfiguration": { +"id": "ExternalDataConfiguration", +"properties": { +"autodetect": { +"description": "Try to detect schema and format options automatically. Any option specified explicitly will be honored.", +"type": "boolean" +}, +"avroOptions": { +"$ref": "AvroOptions", +"description": "Optional. Additional properties to set if sourceFormat is set to AVRO." +}, +"bigtableOptions": { +"$ref": "BigtableOptions", +"description": "Optional. Additional options if sourceFormat is set to BIGTABLE." +}, +"compression": { +"description": "Optional. The compression type of the data source. Possible values include GZIP and NONE. The default value is NONE. This setting is ignored for Google Cloud Bigtable, Google Cloud Datastore backups, Avro, ORC and Parquet formats. An empty string is an invalid value.", +"type": "string" +}, +"connectionId": { +"description": "Optional. The connection specifying the credentials to be used to read external storage, such as Azure Blob, Cloud Storage, or S3. The connection_id can have the form `{project_id}.{location_id};{connection_id}` or `projects/{project_id}/locations/{location_id}/connections/{connection_id}`.", +"type": "string" +}, +"csvOptions": { +"$ref": "CsvOptions", +"description": "Optional. Additional properties to set if sourceFormat is set to CSV." +}, +"dateFormat": { +"description": "Optional. Format used to parse DATE values. Supports C-style and SQL-style values.", +"type": "string" +}, +"datetimeFormat": { +"description": "Optional. Format used to parse DATETIME values. Supports C-style and SQL-style values.", +"type": "string" +}, +"decimalTargetTypes": { +"description": "Defines the list of possible SQL data types to which the source decimal values are converted. This list and the precision and the scale parameters of the decimal field determine the target type. In the order of NUMERIC, BIGNUMERIC, and STRING, a type is picked if it is in the specified list and if it supports the precision and the scale. STRING supports all precision and scale values. If none of the listed types supports the precision and the scale, the type supporting the widest range in the specified list is picked, and if a value exceeds the supported range when reading the data, an error will be thrown. Example: Suppose the value of this field is [\"NUMERIC\", \"BIGNUMERIC\"]. If (precision,scale) is: * (38,9) -> NUMERIC; * (39,9) -> BIGNUMERIC (NUMERIC cannot hold 30 integer digits); * (38,10) -> BIGNUMERIC (NUMERIC cannot hold 10 fractional digits); * (76,38) -> BIGNUMERIC; * (77,38) -> BIGNUMERIC (error if value exceeds supported range). This field cannot contain duplicate types. The order of the types in this field is ignored. For example, [\"BIGNUMERIC\", \"NUMERIC\"] is the same as [\"NUMERIC\", \"BIGNUMERIC\"] and NUMERIC always takes precedence over BIGNUMERIC. Defaults to [\"NUMERIC\", \"STRING\"] for ORC and [\"NUMERIC\"] for the other file formats.", +"items": { +"enum": [ +"DECIMAL_TARGET_TYPE_UNSPECIFIED", +"NUMERIC", +"BIGNUMERIC", +"STRING" +], +"enumDescriptions": [ +"Invalid type.", +"Decimal values could be converted to NUMERIC type.", +"Decimal values could be converted to BIGNUMERIC type.", +"Decimal values could be converted to STRING type." +], +"type": "string" +}, +"type": "array" +}, +"fileSetSpecType": { +"description": "Optional. Specifies how source URIs are interpreted for constructing the file set to load. By default source URIs are expanded against the underlying storage. Other options include specifying manifest files. Only applicable to object storage systems.", +"enum": [ +"FILE_SET_SPEC_TYPE_FILE_SYSTEM_MATCH", +"FILE_SET_SPEC_TYPE_NEW_LINE_DELIMITED_MANIFEST" +], +"enumDescriptions": [ +"This option expands source URIs by listing files from the object store. It is the default behavior if FileSetSpecType is not set.", +"This option indicates that the provided URIs are newline-delimited manifest files, with one URI per line. Wildcard URIs are not supported." +], +"type": "string" +}, +"googleSheetsOptions": { +"$ref": "GoogleSheetsOptions", +"description": "Optional. Additional options if sourceFormat is set to GOOGLE_SHEETS." +}, +"hivePartitioningOptions": { +"$ref": "HivePartitioningOptions", +"description": "Optional. When set, configures hive partitioning support. Not all storage formats support hive partitioning -- requesting hive partitioning on an unsupported format will lead to an error, as will providing an invalid specification." +}, +"ignoreUnknownValues": { +"description": "Optional. Indicates if BigQuery should allow extra values that are not represented in the table schema. If true, the extra values are ignored. If false, records with extra columns are treated as bad records, and if there are too many bad records, an invalid error is returned in the job result. The default value is false. The sourceFormat property determines what BigQuery treats as an extra value: CSV: Trailing columns JSON: Named values that don't match any column names Google Cloud Bigtable: This setting is ignored. Google Cloud Datastore backups: This setting is ignored. Avro: This setting is ignored. ORC: This setting is ignored. Parquet: This setting is ignored.", +"type": "boolean" +}, +"jsonExtension": { +"description": "Optional. Load option to be used together with source_format newline-delimited JSON to indicate that a variant of JSON is being loaded. To load newline-delimited GeoJSON, specify GEOJSON (and source_format must be set to NEWLINE_DELIMITED_JSON).", +"enum": [ +"JSON_EXTENSION_UNSPECIFIED", +"GEOJSON" +], +"enumDescriptions": [ +"The default if provided value is not one included in the enum, or the value is not specified. The source format is parsed without any modification.", +"Use GeoJSON variant of JSON. See https://tools.ietf.org/html/rfc7946." +], +"type": "string" +}, +"jsonOptions": { +"$ref": "JsonOptions", +"description": "Optional. Additional properties to set if sourceFormat is set to JSON." +}, +"maxBadRecords": { +"description": "Optional. The maximum number of bad records that BigQuery can ignore when reading data. If the number of bad records exceeds this value, an invalid error is returned in the job result. The default value is 0, which requires that all records are valid. This setting is ignored for Google Cloud Bigtable, Google Cloud Datastore backups, Avro, ORC and Parquet formats.", +"format": "int32", +"type": "integer" +}, +"metadataCacheMode": { +"description": "Optional. Metadata Cache Mode for the table. Set this to enable caching of metadata from external data source.", +"enum": [ +"METADATA_CACHE_MODE_UNSPECIFIED", +"AUTOMATIC", +"MANUAL" +], +"enumDescriptions": [ +"Unspecified metadata cache mode.", +"Set this mode to trigger automatic background refresh of metadata cache from the external source. Queries will use the latest available cache version within the table's maxStaleness interval.", +"Set this mode to enable triggering manual refresh of the metadata cache from external source. Queries will use the latest manually triggered cache version within the table's maxStaleness interval." +], +"type": "string" +}, +"objectMetadata": { +"description": "Optional. ObjectMetadata is used to create Object Tables. Object Tables contain a listing of objects (with their metadata) found at the source_uris. If ObjectMetadata is set, source_format should be omitted. Currently SIMPLE is the only supported Object Metadata type.", +"enum": [ +"OBJECT_METADATA_UNSPECIFIED", +"DIRECTORY", +"SIMPLE" +], +"enumDescriptions": [ +"Unspecified by default.", +"A synonym for `SIMPLE`.", +"Directory listing of objects." +], +"type": "string" +}, +"parquetOptions": { +"$ref": "ParquetOptions", +"description": "Optional. Additional properties to set if sourceFormat is set to PARQUET." +}, +"referenceFileSchemaUri": { +"description": "Optional. When creating an external table, the user can provide a reference file with the table schema. This is enabled for the following formats: AVRO, PARQUET, ORC.", +"type": "string" +}, +"schema": { +"$ref": "TableSchema", +"description": "Optional. The schema for the data. Schema is required for CSV and JSON formats if autodetect is not on. Schema is disallowed for Google Cloud Bigtable, Cloud Datastore backups, Avro, ORC and Parquet formats." +}, +"sourceFormat": { +"description": "[Required] The data format. For CSV files, specify \"CSV\". For Google sheets, specify \"GOOGLE_SHEETS\". For newline-delimited JSON, specify \"NEWLINE_DELIMITED_JSON\". For Avro files, specify \"AVRO\". For Google Cloud Datastore backups, specify \"DATASTORE_BACKUP\". For Apache Iceberg tables, specify \"ICEBERG\". For ORC files, specify \"ORC\". For Parquet files, specify \"PARQUET\". [Beta] For Google Cloud Bigtable, specify \"BIGTABLE\".", +"type": "string" +}, +"sourceUris": { +"description": "[Required] The fully-qualified URIs that point to your data in Google Cloud. For Google Cloud Storage URIs: Each URI can contain one '*' wildcard character and it must come after the 'bucket' name. Size limits related to load jobs apply to external data sources. For Google Cloud Bigtable URIs: Exactly one URI can be specified and it has be a fully specified and valid HTTPS URL for a Google Cloud Bigtable table. For Google Cloud Datastore backups, exactly one URI can be specified. Also, the '*' wildcard character is not allowed.", +"items": { +"type": "string" +}, +"type": "array" +}, +"timeFormat": { +"description": "Optional. Format used to parse TIME values. Supports C-style and SQL-style values.", +"type": "string" +}, +"timeZone": { +"description": "Optional. Time zone used when parsing timestamp values that do not have specific time zone information (e.g. 2024-04-20 12:34:56). The expected format is a IANA timezone string (e.g. America/Los_Angeles).", +"type": "string" +}, +"timestampFormat": { +"description": "Optional. Format used to parse TIMESTAMP values. Supports C-style and SQL-style values.", +"type": "string" +}, +"timestampTargetPrecision": { +"description": "Precisions (maximum number of total digits in base 10) for seconds of TIMESTAMP types that are allowed to the destination table for autodetection mode. Available for the formats: CSV. For the CSV Format, Possible values include: Not Specified, [], or [6]: timestamp(6) for all auto detected TIMESTAMP columns [6, 12]: timestamp(6) for all auto detected TIMESTAMP columns that have less than 6 digits of subseconds. timestamp(12) for all auto detected TIMESTAMP columns that have more than 6 digits of subseconds. [12]: timestamp(12) for all auto detected TIMESTAMP columns. The order of the elements in this array is ignored. Inputs that have higher precision than the highest target precision in this array will be truncated.", +"items": { +"format": "int32", +"type": "integer" +}, +"type": "array" +} +}, +"type": "object" +}, +"ExternalDatasetReference": { +"description": "Configures the access a dataset defined in an external metadata storage.", +"id": "ExternalDatasetReference", +"properties": { +"connection": { +"description": "Required. The connection id that is used to access the external_source. Format: projects/{project_id}/locations/{location_id}/connections/{connection_id}", +"type": "string" +}, +"externalSource": { +"description": "Required. External source that backs this dataset.", +"type": "string" +} +}, +"type": "object" +}, +"ExternalRuntimeOptions": { +"description": "Options for the runtime of the external system.", +"id": "ExternalRuntimeOptions", +"properties": { +"containerCpu": { +"description": "Optional. Amount of CPU provisioned for a Python UDF container instance. For more information, see [Configure container limits for Python UDFs](https://cloud.google.com/bigquery/docs/user-defined-functions-python#configure-container-limits)", +"format": "double", +"type": "number" +}, +"containerMemory": { +"description": "Optional. Amount of memory provisioned for a Python UDF container instance. Format: {number}{unit} where unit is one of \"M\", \"G\", \"Mi\" and \"Gi\" (e.g. 1G, 512Mi). If not specified, the default value is 512Mi. For more information, see [Configure container limits for Python UDFs](https://cloud.google.com/bigquery/docs/user-defined-functions-python#configure-container-limits)", +"type": "string" +}, +"maxBatchingRows": { +"description": "Optional. Maximum number of rows in each batch sent to the external runtime. If absent or if 0, BigQuery dynamically decides the number of rows in a batch.", +"format": "int64", +"type": "string" +}, +"runtimeConnection": { +"description": "Optional. Fully qualified name of the connection whose service account will be used to execute the code in the container. Format: ```\"projects/{project_id}/locations/{location_id}/connections/{connection_id}\"```", +"type": "string" +}, +"runtimeVersion": { +"description": "Optional. Language runtime version. Example: `python-3.11`.", +"type": "string" +} +}, +"type": "object" +}, +"ExternalServiceCost": { +"description": "The external service cost is a portion of the total cost, these costs are not additive with total_bytes_billed. Moreover, this field only track external service costs that will show up as BigQuery costs (e.g. training BigQuery ML job with google cloud CAIP or Automl Tables services), not other costs which may be accrued by running the query (e.g. reading from Bigtable or Cloud Storage). The external service costs with different billing sku (e.g. CAIP job is charged based on VM usage) are converted to BigQuery billed_bytes and slot_ms with equivalent amount of US dollars. Services may not directly correlate to these metrics, but these are the equivalents for billing purposes. Output only.", +"id": "ExternalServiceCost", +"properties": { +"billingMethod": { +"description": "The billing method used for the external job. This field, set to `SERVICES_SKU`, is only used when billing under the services SKU. Otherwise, it is unspecified for backward compatibility.", +"type": "string" +}, +"bytesBilled": { +"description": "External service cost in terms of bigquery bytes billed.", +"format": "int64", +"type": "string" +}, +"bytesProcessed": { +"description": "External service cost in terms of bigquery bytes processed.", +"format": "int64", +"type": "string" +}, +"externalService": { +"description": "External service name.", +"type": "string" +}, +"reservedSlotCount": { +"description": "Non-preemptable reserved slots used for external job. For example, reserved slots for Cloua AI Platform job are the VM usages converted to BigQuery slot with equivalent mount of price.", +"format": "int64", +"type": "string" +}, +"slotMs": { +"description": "External service cost in terms of bigquery slot milliseconds.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"FeatureValue": { +"description": "Representative value of a single feature within the cluster.", +"id": "FeatureValue", +"properties": { +"categoricalValue": { +"$ref": "CategoricalValue", +"description": "The categorical feature value." +}, +"featureColumn": { +"description": "The feature column name.", +"type": "string" +}, +"numericalValue": { +"description": "The numerical feature value. This is the centroid value for this feature.", +"format": "double", +"type": "number" +} +}, +"type": "object" +}, +"ForeignTypeInfo": { +"description": "Metadata about the foreign data type definition such as the system in which the type is defined.", +"id": "ForeignTypeInfo", +"properties": { +"typeSystem": { +"description": "Required. Specifies the system which defines the foreign data type.", +"enum": [ +"TYPE_SYSTEM_UNSPECIFIED", +"HIVE" +], +"enumDescriptions": [ +"TypeSystem not specified.", +"Represents Hive data types." +], +"type": "string" +} +}, +"type": "object" +}, +"ForeignViewDefinition": { +"description": "A view can be represented in multiple ways. Each representation has its own dialect. This message stores the metadata required for these representations.", +"id": "ForeignViewDefinition", +"properties": { +"dialect": { +"description": "Optional. Represents the dialect of the query.", +"type": "string" +}, +"query": { +"description": "Required. The query that defines the view.", +"type": "string" +} +}, +"type": "object" +}, +"GetIamPolicyRequest": { +"description": "Request message for `GetIamPolicy` method.", +"id": "GetIamPolicyRequest", +"properties": { +"options": { +"$ref": "GetPolicyOptions", +"description": "OPTIONAL: A `GetPolicyOptions` object for specifying options to `GetIamPolicy`." +} +}, +"type": "object" +}, +"GetPolicyOptions": { +"description": "Encapsulates settings provided to GetIamPolicy.", +"id": "GetPolicyOptions", +"properties": { +"requestedPolicyVersion": { +"description": "Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"GetQueryResultsResponse": { +"description": "Response object of GetQueryResults.", +"id": "GetQueryResultsResponse", +"properties": { +"cacheHit": { +"description": "Whether the query result was fetched from the query cache.", +"type": "boolean" +}, +"errors": { +"description": "Output only. The first errors or warnings encountered during the running of the job. The final message includes the number of errors that caused the process to stop. Errors here do not necessarily mean that the job has completed or was unsuccessful. For more information about error messages, see [Error messages](https://cloud.google.com/bigquery/docs/error-messages).", +"items": { +"$ref": "ErrorProto" +}, +"readOnly": true, +"type": "array" +}, +"etag": { +"description": "A hash of this response.", +"type": "string" +}, +"jobComplete": { +"description": "Whether the query has completed or not. If rows or totalRows are present, this will always be true. If this is false, totalRows will not be available.", +"type": "boolean" +}, +"jobReference": { +"$ref": "JobReference", +"description": "Reference to the BigQuery Job that was created to run the query. This field will be present even if the original request timed out, in which case GetQueryResults can be used to read the results once the query has completed. Since this API only returns the first page of results, subsequent pages can be fetched via the same mechanism (GetQueryResults)." +}, +"kind": { +"default": "bigquery#getQueryResultsResponse", +"description": "The resource type of the response.", +"type": "string" +}, +"numDmlAffectedRows": { +"description": "Output only. The number of rows affected by a DML statement. Present only for DML statements INSERT, UPDATE or DELETE.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"pageToken": { +"description": "A token used for paging results. When this token is non-empty, it indicates additional results are available.", +"type": "string" +}, +"rows": { +"description": "An object with as many results as can be contained within the maximum permitted reply size. To get any additional rows, you can call GetQueryResults and specify the jobReference returned above. Present only when the query completes successfully. The REST-based representation of this data leverages a series of JSON f,v objects for indicating fields and values.", +"items": { +"$ref": "TableRow" +}, +"type": "array" +}, +"schema": { +"$ref": "TableSchema", +"description": "The schema of the results. Present only when the query completes successfully." +}, +"totalBytesProcessed": { +"description": "The total number of bytes processed for this query.", +"format": "int64", +"type": "string" +}, +"totalRows": { +"description": "The total number of rows in the complete query result set, which can be more than the number of rows in this single page of results. Present only when the query completes successfully.", +"format": "uint64", +"type": "string" +} +}, +"type": "object" +}, +"GetServiceAccountResponse": { +"description": "Response object of GetServiceAccount", +"id": "GetServiceAccountResponse", +"properties": { +"email": { +"description": "The service account email address.", +"type": "string" +}, +"kind": { +"default": "bigquery#getServiceAccountResponse", +"description": "The resource type of the response.", +"type": "string" +} +}, +"type": "object" +}, +"GlobalExplanation": { +"description": "Global explanations containing the top most important features after training.", +"id": "GlobalExplanation", +"properties": { +"classLabel": { +"description": "Class label for this set of global explanations. Will be empty/null for binary logistic and linear regression models. Sorted alphabetically in descending order.", +"type": "string" +}, +"explanations": { +"description": "A list of the top global explanations. Sorted by absolute value of attribution in descending order.", +"items": { +"$ref": "Explanation" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleSheetsOptions": { +"description": "Options specific to Google Sheets data sources.", +"id": "GoogleSheetsOptions", +"properties": { +"range": { +"description": "Optional. Range of a sheet to query from. Only used when non-empty. Typical format: sheet_name!top_left_cell_id:bottom_right_cell_id For example: sheet1!A1:B20", +"type": "string" +}, +"skipLeadingRows": { +"description": "Optional. The number of rows at the top of a sheet that BigQuery will skip when reading the data. The default value is 0. This property is useful if you have header rows that should be skipped. When autodetect is on, the behavior is the following: * skipLeadingRows unspecified - Autodetect tries to detect headers in the first row. If they are not detected, the row is read as data. Otherwise data is read starting from the second row. * skipLeadingRows is 0 - Instructs autodetect that there are no headers and data should be read starting from the first row. * skipLeadingRows = N > 0 - Autodetect skips N-1 rows and tries to detect headers in row N. If headers are not detected, row N is just skipped. Otherwise row N is used to extract column names for the detected schema.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"HighCardinalityJoin": { +"description": "High cardinality join detailed information.", +"id": "HighCardinalityJoin", +"properties": { +"leftRows": { +"description": "Output only. Count of left input rows.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"outputRows": { +"description": "Output only. Count of the output rows.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"rightRows": { +"description": "Output only. Count of right input rows.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"stepIndex": { +"description": "Output only. The index of the join operator in the ExplainQueryStep lists.", +"format": "int32", +"readOnly": true, +"type": "integer" +} +}, +"type": "object" +}, +"HivePartitioningOptions": { +"description": "Options for configuring hive partitioning detect.", +"id": "HivePartitioningOptions", +"properties": { +"fields": { +"description": "Output only. For permanent external tables, this field is populated with the hive partition keys in the order they were inferred. The types of the partition keys can be deduced by checking the table schema (which will include the partition keys). Not every API will populate this field in the output. For example, Tables.Get will populate it, but Tables.List will not contain this field.", +"items": { +"type": "string" +}, +"readOnly": true, +"type": "array" +}, +"mode": { +"description": "Optional. When set, what mode of hive partitioning to use when reading data. The following modes are supported: * AUTO: automatically infer partition key name(s) and type(s). * STRINGS: automatically infer partition key name(s). All types are strings. * CUSTOM: partition key schema is encoded in the source URI prefix. Not all storage formats support hive partitioning. Requesting hive partitioning on an unsupported format will lead to an error. Currently supported formats are: JSON, CSV, ORC, Avro and Parquet.", +"type": "string" +}, +"requirePartitionFilter": { +"default": "false", +"description": "Optional. If set to true, queries over this table require a partition filter that can be used for partition elimination to be specified. Note that this field should only be true when creating a permanent external table or querying a temporary external table. Hive-partitioned loads with require_partition_filter explicitly set to true will fail.", +"type": "boolean" +}, +"sourceUriPrefix": { +"description": "Optional. When hive partition detection is requested, a common prefix for all source uris must be required. The prefix must end immediately before the partition key encoding begins. For example, consider files following this data layout: gs://bucket/path_to_table/dt=2019-06-01/country=USA/id=7/file.avro gs://bucket/path_to_table/dt=2019-05-31/country=CA/id=3/file.avro When hive partitioning is requested with either AUTO or STRINGS detection, the common prefix can be either of gs://bucket/path_to_table or gs://bucket/path_to_table/. CUSTOM detection requires encoding the partitioning schema immediately after the common prefix. For CUSTOM, any of * gs://bucket/path_to_table/{dt:DATE}/{country:STRING}/{id:INTEGER} * gs://bucket/path_to_table/{dt:STRING}/{country:STRING}/{id:INTEGER} * gs://bucket/path_to_table/{dt:DATE}/{country:STRING}/{id:STRING} would all be valid source URI prefixes.", +"type": "string" +} +}, +"type": "object" +}, +"HparamSearchSpaces": { +"description": "Hyperparameter search spaces. These should be a subset of training_options.", +"id": "HparamSearchSpaces", +"properties": { +"activationFn": { +"$ref": "StringHparamSearchSpace", +"description": "Activation functions of neural network models." +}, +"batchSize": { +"$ref": "IntHparamSearchSpace", +"description": "Mini batch sample size." +}, +"boosterType": { +"$ref": "StringHparamSearchSpace", +"description": "Booster type for boosted tree models." +}, +"colsampleBylevel": { +"$ref": "DoubleHparamSearchSpace", +"description": "Subsample ratio of columns for each level for boosted tree models." +}, +"colsampleBynode": { +"$ref": "DoubleHparamSearchSpace", +"description": "Subsample ratio of columns for each node(split) for boosted tree models." +}, +"colsampleBytree": { +"$ref": "DoubleHparamSearchSpace", +"description": "Subsample ratio of columns when constructing each tree for boosted tree models." +}, +"dartNormalizeType": { +"$ref": "StringHparamSearchSpace", +"description": "Dart normalization type for boosted tree models." +}, +"dropout": { +"$ref": "DoubleHparamSearchSpace", +"description": "Dropout probability for dnn model training and boosted tree models using dart booster." +}, +"hiddenUnits": { +"$ref": "IntArrayHparamSearchSpace", +"description": "Hidden units for neural network models." +}, +"l1Reg": { +"$ref": "DoubleHparamSearchSpace", +"description": "L1 regularization coefficient." +}, +"l2Reg": { +"$ref": "DoubleHparamSearchSpace", +"description": "L2 regularization coefficient." +}, +"learnRate": { +"$ref": "DoubleHparamSearchSpace", +"description": "Learning rate of training jobs." +}, +"maxTreeDepth": { +"$ref": "IntHparamSearchSpace", +"description": "Maximum depth of a tree for boosted tree models." +}, +"minSplitLoss": { +"$ref": "DoubleHparamSearchSpace", +"description": "Minimum split loss for boosted tree models." +}, +"minTreeChildWeight": { +"$ref": "IntHparamSearchSpace", +"description": "Minimum sum of instance weight needed in a child for boosted tree models." +}, +"numClusters": { +"$ref": "IntHparamSearchSpace", +"description": "Number of clusters for k-means." +}, +"numFactors": { +"$ref": "IntHparamSearchSpace", +"description": "Number of latent factors to train on." +}, +"numParallelTree": { +"$ref": "IntHparamSearchSpace", +"description": "Number of parallel trees for boosted tree models." +}, +"optimizer": { +"$ref": "StringHparamSearchSpace", +"description": "Optimizer of TF models." +}, +"subsample": { +"$ref": "DoubleHparamSearchSpace", +"description": "Subsample the training data to grow tree to prevent overfitting for boosted tree models." +}, +"treeMethod": { +"$ref": "StringHparamSearchSpace", +"description": "Tree construction algorithm for boosted tree models." +}, +"walsAlpha": { +"$ref": "DoubleHparamSearchSpace", +"description": "Hyperparameter for matrix factoration when implicit feedback type is specified." +} +}, +"type": "object" +}, +"HparamTuningTrial": { +"description": "Training info of a trial in [hyperparameter tuning](https://cloud.google.com/bigquery-ml/docs/reference/standard-sql/bigqueryml-syntax-hp-tuning-overview) models.", +"id": "HparamTuningTrial", +"properties": { +"endTimeMs": { +"description": "Ending time of the trial.", +"format": "int64", +"type": "string" +}, +"errorMessage": { +"description": "Error message for FAILED and INFEASIBLE trial.", +"type": "string" +}, +"evalLoss": { +"description": "Loss computed on the eval data at the end of trial.", +"format": "double", +"type": "number" +}, +"evaluationMetrics": { +"$ref": "EvaluationMetrics", +"description": "Evaluation metrics of this trial calculated on the test data. Empty in Job API." +}, +"hparamTuningEvaluationMetrics": { +"$ref": "EvaluationMetrics", +"description": "Hyperparameter tuning evaluation metrics of this trial calculated on the eval data. Unlike evaluation_metrics, only the fields corresponding to the hparam_tuning_objectives are set." +}, +"hparams": { +"$ref": "TrainingOptions", +"description": "The hyperprameters selected for this trial." +}, +"startTimeMs": { +"description": "Starting time of the trial.", +"format": "int64", +"type": "string" +}, +"status": { +"description": "The status of the trial.", +"enum": [ +"TRIAL_STATUS_UNSPECIFIED", +"NOT_STARTED", +"RUNNING", +"SUCCEEDED", +"FAILED", +"INFEASIBLE", +"STOPPED_EARLY" +], +"enumDescriptions": [ +"Default value.", +"Scheduled but not started.", +"Running state.", +"The trial succeeded.", +"The trial failed.", +"The trial is infeasible due to the invalid params.", +"Trial stopped early because it's not promising." +], +"type": "string" +}, +"trainingLoss": { +"description": "Loss computed on the training data at the end of trial.", +"format": "double", +"type": "number" +}, +"trialId": { +"description": "1-based index of the trial.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"IncrementalResultStats": { +"description": "Statistics related to Incremental Query Results. Populated as part of JobStatistics2. This feature is not yet available.", +"id": "IncrementalResultStats", +"properties": { +"disabledReason": { +"description": "Output only. Reason why incremental query results are/were not written by the query.", +"enum": [ +"DISABLED_REASON_UNSPECIFIED", +"OTHER", +"UNSUPPORTED_OPERATOR" +], +"enumDescriptions": [ +"Disabled reason not specified.", +"Incremental results are/were disabled for reasons not covered by the other enum values, e.g. runtime issues.", +"Query includes an operation that is not supported." +], +"readOnly": true, +"type": "string" +}, +"disabledReasonDetails": { +"description": "Output only. Additional human-readable clarification, if available, for DisabledReason.", +"readOnly": true, +"type": "string" +}, +"firstIncrementalRowTime": { +"description": "Output only. The time at which the first incremental result was written. If the query needed to restart internally, this only describes the final attempt.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"incrementalRowCount": { +"description": "Output only. Number of rows that were in the latest result set before query completion.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"lastIncrementalRowTime": { +"description": "Output only. The time at which the last incremental result was written. Does not include the final result written after query completion.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"resultSetLastModifyTime": { +"description": "Output only. The time at which the result table's contents were modified. May be absent if no results have been written or the query has completed.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"resultSetLastReplaceTime": { +"description": "Output only. The time at which the result table's contents were completely replaced. May be absent if no results have been written or the query has completed.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"IndexPruningStats": { +"description": "Statistics for index pruning.", +"id": "IndexPruningStats", +"properties": { +"baseTable": { +"$ref": "TableReference", +"description": "The base table reference." +}, +"indexId": { +"description": "The index id.", +"type": "string" +}, +"postIndexPruningParallelInputCount": { +"description": "The number of parallel inputs after index pruning.", +"format": "int64", +"type": "string" +}, +"preIndexPruningParallelInputCount": { +"description": "The number of parallel inputs before index pruning.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"IndexUnusedReason": { +"description": "Reason about why no search index was used in the search query (or sub-query).", +"id": "IndexUnusedReason", +"properties": { +"baseTable": { +"$ref": "TableReference", +"description": "Specifies the base table involved in the reason that no search index was used." +}, +"code": { +"description": "Specifies the high-level reason for the scenario when no search index was used.", +"enum": [ +"CODE_UNSPECIFIED", +"INDEX_CONFIG_NOT_AVAILABLE", +"PENDING_INDEX_CREATION", +"BASE_TABLE_TRUNCATED", +"INDEX_CONFIG_MODIFIED", +"TIME_TRAVEL_QUERY", +"NO_PRUNING_POWER", +"UNINDEXED_SEARCH_FIELDS", +"UNSUPPORTED_SEARCH_PATTERN", +"OPTIMIZED_WITH_MATERIALIZED_VIEW", +"SECURED_BY_DATA_MASKING", +"MISMATCHED_TEXT_ANALYZER", +"BASE_TABLE_TOO_SMALL", +"BASE_TABLE_TOO_LARGE", +"ESTIMATED_PERFORMANCE_GAIN_TOO_LOW", +"COLUMN_METADATA_INDEX_NOT_USED", +"NOT_SUPPORTED_IN_STANDARD_EDITION", +"INDEX_SUPPRESSED_BY_FUNCTION_OPTION", +"QUERY_CACHE_HIT", +"STALE_INDEX", +"INTERNAL_ERROR", +"OTHER_REASON" +], +"enumDescriptions": [ +"Code not specified.", +"Indicates the search index configuration has not been created.", +"Indicates the search index creation has not been completed.", +"Indicates the base table has been truncated (rows have been removed from table with TRUNCATE TABLE statement) since the last time the search index was refreshed.", +"Indicates the search index configuration has been changed since the last time the search index was refreshed.", +"Indicates the search query accesses data at a timestamp before the last time the search index was refreshed.", +"Indicates the usage of search index will not contribute to any pruning improvement for the search function, e.g. when the search predicate is in a disjunction with other non-search predicates.", +"Indicates the search index does not cover all fields in the search function.", +"Indicates the search index does not support the given search query pattern.", +"Indicates the query has been optimized by using a materialized view.", +"Indicates the query has been secured by data masking, and thus search indexes are not applicable.", +"Indicates that the search index and the search function call do not have the same text analyzer.", +"Indicates the base table is too small (below a certain threshold). The index does not provide noticeable search performance gains when the base table is too small.", +"Indicates that the total size of indexed base tables in your organization exceeds your region's limit and the index is not used in the query. To index larger base tables, you can use your own reservation for index-management jobs.", +"Indicates that the estimated performance gain from using the search index is too low for the given search query.", +"Indicates that the column metadata index (which the search index depends on) is not used. User can refer to the [column metadata index usage](https://cloud.google.com/bigquery/docs/metadata-indexing-managed-tables#view_column_metadata_index_usage) for more details on why it was not used.", +"Indicates that search indexes can not be used for search query with STANDARD edition.", +"Indicates that an option in the search function that cannot make use of the index has been selected.", +"Indicates that the query was cached, and thus the search index was not used.", +"The index cannot be used in the search query because it is stale.", +"Indicates an internal error that causes the search index to be unused.", +"Indicates that the reason search indexes cannot be used in the query is not covered by any of the other IndexUnusedReason options." +], +"type": "string" +}, +"indexName": { +"description": "Specifies the name of the unused search index, if available.", +"type": "string" +}, +"message": { +"description": "Free form human-readable reason for the scenario when no search index was used.", +"type": "string" +} +}, +"type": "object" +}, +"InputDataChange": { +"description": "Details about the input data change insight.", +"id": "InputDataChange", +"properties": { +"recordsReadDiffPercentage": { +"description": "Output only. Records read difference percentage compared to a previous run.", +"format": "float", +"readOnly": true, +"type": "number" +} +}, +"type": "object" +}, +"IntArray": { +"description": "An array of int.", +"id": "IntArray", +"properties": { +"elements": { +"description": "Elements in the int array.", +"items": { +"format": "int64", +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"IntArrayHparamSearchSpace": { +"description": "Search space for int array.", +"id": "IntArrayHparamSearchSpace", +"properties": { +"candidates": { +"description": "Candidates for the int array parameter.", +"items": { +"$ref": "IntArray" +}, +"type": "array" +} +}, +"type": "object" +}, +"IntCandidates": { +"description": "Discrete candidates of an int hyperparameter.", +"id": "IntCandidates", +"properties": { +"candidates": { +"description": "Candidates for the int parameter in increasing order.", +"items": { +"format": "int64", +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"IntHparamSearchSpace": { +"description": "Search space for an int hyperparameter.", +"id": "IntHparamSearchSpace", +"properties": { +"candidates": { +"$ref": "IntCandidates", +"description": "Candidates of the int hyperparameter." +}, +"range": { +"$ref": "IntRange", +"description": "Range of the int hyperparameter." +} +}, +"type": "object" +}, +"IntRange": { +"description": "Range of an int hyperparameter.", +"id": "IntRange", +"properties": { +"max": { +"description": "Max value of the int parameter.", +"format": "int64", +"type": "string" +}, +"min": { +"description": "Min value of the int parameter.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"IterationResult": { +"description": "Information about a single iteration of the training run.", +"id": "IterationResult", +"properties": { +"arimaResult": { +"$ref": "ArimaResult", +"description": "Arima result." +}, +"clusterInfos": { +"description": "Information about top clusters for clustering models.", +"items": { +"$ref": "ClusterInfo" +}, +"type": "array" +}, +"durationMs": { +"description": "Time taken to run the iteration in milliseconds.", +"format": "int64", +"type": "string" +}, +"evalLoss": { +"description": "Loss computed on the eval data at the end of iteration.", +"format": "double", +"type": "number" +}, +"index": { +"description": "Index of the iteration, 0 based.", +"format": "int32", +"type": "integer" +}, +"learnRate": { +"description": "Learn rate used for this iteration.", +"format": "double", +"type": "number" +}, +"principalComponentInfos": { +"description": "The information of the principal components.", +"items": { +"$ref": "PrincipalComponentInfo" +}, +"type": "array" +}, +"trainingLoss": { +"description": "Loss computed on the training data at the end of iteration.", +"format": "double", +"type": "number" +} +}, +"type": "object" +}, +"Job": { +"id": "Job", +"properties": { +"configuration": { +"$ref": "JobConfiguration", +"description": "Required. Describes the job configuration." +}, +"etag": { +"description": "Output only. A hash of this resource.", +"readOnly": true, +"type": "string" +}, +"id": { +"description": "Output only. Opaque ID field of the job.", +"readOnly": true, +"type": "string" +}, +"jobCreationReason": { +"$ref": "JobCreationReason", +"description": "Output only. The reason why a Job was created.", +"readOnly": true +}, +"jobReference": { +"$ref": "JobReference", +"description": "Optional. Reference describing the unique-per-user name of the job." +}, +"kind": { +"default": "bigquery#job", +"description": "Output only. The type of the resource.", +"readOnly": true, +"type": "string" +}, +"principal_subject": { +"description": "Output only. [Full-projection-only] String representation of identity of requesting party. Populated for both first- and third-party identities. Only present for APIs that support third-party identities.", +"readOnly": true, +"type": "string" +}, +"selfLink": { +"description": "Output only. A URL that can be used to access the resource again.", +"readOnly": true, +"type": "string" +}, +"statistics": { +"$ref": "JobStatistics", +"description": "Output only. Information about the job, including starting time and ending time of the job.", +"readOnly": true +}, +"status": { +"$ref": "JobStatus", +"description": "Output only. The status of this job. Examine this value when polling an asynchronous job to see if the job is complete.", +"readOnly": true +}, +"user_email": { +"description": "Output only. Email address of the user who ran the job.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"JobCancelResponse": { +"description": "Describes format of a jobs cancellation response.", +"id": "JobCancelResponse", +"properties": { +"job": { +"$ref": "Job", +"description": "The final state of the job." +}, +"kind": { +"default": "bigquery#jobCancelResponse", +"description": "The resource type of the response.", +"type": "string" +} +}, +"type": "object" +}, +"JobConfiguration": { +"id": "JobConfiguration", +"properties": { +"copy": { +"$ref": "JobConfigurationTableCopy", +"description": "[Pick one] Copies a table." +}, +"dryRun": { +"description": "Optional. If set, don't actually run this job. A valid query will return a mostly empty response with some processing statistics, while an invalid query will return the same error it would if it wasn't a dry run. Behavior of non-query jobs is undefined.", +"type": "boolean" +}, +"extract": { +"$ref": "JobConfigurationExtract", +"description": "[Pick one] Configures an extract job." +}, +"jobTimeoutMs": { +"description": "Optional. Job timeout in milliseconds relative to the job creation time. If this time limit is exceeded, BigQuery attempts to stop the job, but might not always succeed in canceling it before the job completes. For example, a job that takes more than 60 seconds to complete has a better chance of being stopped than a job that takes 10 seconds to complete.", +"format": "int64", +"type": "string" +}, +"jobType": { +"description": "Output only. The type of the job. Can be QUERY, LOAD, EXTRACT, COPY or UNKNOWN.", +"type": "string" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "The labels associated with this job. You can use these to organize and group your jobs. Label keys and values can be no longer than 63 characters, can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. Label values are optional. Label keys must start with a letter and each label in the list must have a different key.", +"type": "object" +}, +"load": { +"$ref": "JobConfigurationLoad", +"description": "[Pick one] Configures a load job." +}, +"maxSlots": { +"description": "Optional. A target limit on the rate of slot consumption by this job. If set to a value > 0, BigQuery will attempt to limit the rate of slot consumption by this job to keep it below the configured limit, even if the job is eligible for more slots based on fair scheduling. The unused slots will be available for other jobs and queries to use. Note: This feature is not yet generally available.", +"format": "int32", +"type": "integer" +}, +"query": { +"$ref": "JobConfigurationQuery", +"description": "[Pick one] Configures a query job." +}, +"reservation": { +"description": "Optional. The reservation that job would use. User can specify a reservation to execute the job. If reservation is not set, reservation is determined based on the rules defined by the reservation assignments. The expected format is `projects/{project}/locations/{location}/reservations/{reservation}`.", +"type": "string" +} +}, +"type": "object" +}, +"JobConfigurationExtract": { +"description": "JobConfigurationExtract configures a job that exports data from a BigQuery table into Google Cloud Storage.", +"id": "JobConfigurationExtract", +"properties": { +"compression": { +"description": "Optional. The compression type to use for exported files. Possible values include DEFLATE, GZIP, NONE, SNAPPY, and ZSTD. The default value is NONE. Not all compression formats are support for all file formats. DEFLATE is only supported for Avro. ZSTD is only supported for Parquet. Not applicable when extracting models.", +"type": "string" +}, +"destinationFormat": { +"description": "Optional. The exported file format. Possible values include CSV, NEWLINE_DELIMITED_JSON, PARQUET, or AVRO for tables and ML_TF_SAVED_MODEL or ML_XGBOOST_BOOSTER for models. The default value for tables is CSV. Tables with nested or repeated fields cannot be exported as CSV. The default value for models is ML_TF_SAVED_MODEL.", +"type": "string" +}, +"destinationUri": { +"description": "[Pick one] DEPRECATED: Use destinationUris instead, passing only one URI as necessary. The fully-qualified Google Cloud Storage URI where the extracted table should be written.", +"type": "string" +}, +"destinationUris": { +"description": "[Pick one] A list of fully-qualified Google Cloud Storage URIs where the extracted table should be written.", +"items": { +"type": "string" +}, +"type": "array" +}, +"fieldDelimiter": { +"description": "Optional. When extracting data in CSV format, this defines the delimiter to use between fields in the exported data. Default is ','. Not applicable when extracting models.", +"type": "string" +}, +"modelExtractOptions": { +"$ref": "ModelExtractOptions", +"description": "Optional. Model extract options only applicable when extracting models." +}, +"printHeader": { +"default": "true", +"description": "Optional. Whether to print out a header row in the results. Default is true. Not applicable when extracting models.", +"type": "boolean" +}, +"sourceModel": { +"$ref": "ModelReference", +"description": "A reference to the model being exported." +}, +"sourceTable": { +"$ref": "TableReference", +"description": "A reference to the table being exported." +}, +"useAvroLogicalTypes": { +"description": "Whether to use logical types when extracting to AVRO format. Not applicable when extracting models.", +"type": "boolean" +} +}, +"type": "object" +}, +"JobConfigurationLoad": { +"description": "JobConfigurationLoad contains the configuration properties for loading data into a destination table.", +"id": "JobConfigurationLoad", +"properties": { +"allowJaggedRows": { +"description": "Optional. Accept rows that are missing trailing optional columns. The missing values are treated as nulls. If false, records with missing trailing columns are treated as bad records, and if there are too many bad records, an invalid error is returned in the job result. The default value is false. Only applicable to CSV, ignored for other formats.", +"type": "boolean" +}, +"allowQuotedNewlines": { +"description": "Indicates if BigQuery should allow quoted data sections that contain newline characters in a CSV file. The default value is false.", +"type": "boolean" +}, +"autodetect": { +"description": "Optional. Indicates if we should automatically infer the options and schema for CSV and JSON sources.", +"type": "boolean" +}, +"clustering": { +"$ref": "Clustering", +"description": "Clustering specification for the destination table." +}, +"columnNameCharacterMap": { +"description": "Optional. Character map supported for column names in CSV/Parquet loads. Defaults to STRICT and can be overridden by Project Config Service. Using this option with unsupporting load formats will result in an error.", +"enum": [ +"COLUMN_NAME_CHARACTER_MAP_UNSPECIFIED", +"STRICT", +"V1", +"V2" +], +"enumDescriptions": [ +"Unspecified column name character map.", +"Support flexible column name and reject invalid column names.", +"Support alphanumeric + underscore characters and names must start with a letter or underscore. Invalid column names will be normalized.", +"Support flexible column name. Invalid column names will be normalized." +], +"type": "string" +}, +"connectionProperties": { +"description": "Optional. Connection properties which can modify the load job behavior. Currently, only the 'session_id' connection property is supported, and is used to resolve _SESSION appearing as the dataset id.", +"items": { +"$ref": "ConnectionProperty" +}, +"type": "array" +}, +"copyFilesOnly": { +"description": "Optional. [Experimental] Configures the load job to copy files directly to the destination BigLake managed table, bypassing file content reading and rewriting. Copying files only is supported when all the following are true: * `source_uris` are located in the same Cloud Storage location as the destination table's `storage_uri` location. * `source_format` is `PARQUET`. * `destination_table` is an existing BigLake managed table. The table's schema does not have flexible column names. The table's columns do not have type parameters other than precision and scale. * No options other than the above are specified.", +"type": "boolean" +}, +"createDisposition": { +"description": "Optional. Specifies whether the job is allowed to create new tables. The following values are supported: * CREATE_IF_NEEDED: If the table does not exist, BigQuery creates the table. * CREATE_NEVER: The table must already exist. If it does not, a 'notFound' error is returned in the job result. The default value is CREATE_IF_NEEDED. Creation, truncation and append actions occur as one atomic update upon job completion.", +"type": "string" +}, +"createSession": { +"description": "Optional. If this property is true, the job creates a new session using a randomly generated session_id. To continue using a created session with subsequent queries, pass the existing session identifier as a `ConnectionProperty` value. The session identifier is returned as part of the `SessionInfo` message within the query statistics. The new session's location will be set to `Job.JobReference.location` if it is present, otherwise it's set to the default location based on existing routing logic.", +"type": "boolean" +}, +"dateFormat": { +"description": "Optional. Date format used for parsing DATE values.", +"type": "string" +}, +"datetimeFormat": { +"description": "Optional. Date format used for parsing DATETIME values.", +"type": "string" +}, +"decimalTargetTypes": { +"description": "Defines the list of possible SQL data types to which the source decimal values are converted. This list and the precision and the scale parameters of the decimal field determine the target type. In the order of NUMERIC, BIGNUMERIC, and STRING, a type is picked if it is in the specified list and if it supports the precision and the scale. STRING supports all precision and scale values. If none of the listed types supports the precision and the scale, the type supporting the widest range in the specified list is picked, and if a value exceeds the supported range when reading the data, an error will be thrown. Example: Suppose the value of this field is [\"NUMERIC\", \"BIGNUMERIC\"]. If (precision,scale) is: * (38,9) -> NUMERIC; * (39,9) -> BIGNUMERIC (NUMERIC cannot hold 30 integer digits); * (38,10) -> BIGNUMERIC (NUMERIC cannot hold 10 fractional digits); * (76,38) -> BIGNUMERIC; * (77,38) -> BIGNUMERIC (error if value exceeds supported range). This field cannot contain duplicate types. The order of the types in this field is ignored. For example, [\"BIGNUMERIC\", \"NUMERIC\"] is the same as [\"NUMERIC\", \"BIGNUMERIC\"] and NUMERIC always takes precedence over BIGNUMERIC. Defaults to [\"NUMERIC\", \"STRING\"] for ORC and [\"NUMERIC\"] for the other file formats.", +"items": { +"enum": [ +"DECIMAL_TARGET_TYPE_UNSPECIFIED", +"NUMERIC", +"BIGNUMERIC", +"STRING" +], +"enumDescriptions": [ +"Invalid type.", +"Decimal values could be converted to NUMERIC type.", +"Decimal values could be converted to BIGNUMERIC type.", +"Decimal values could be converted to STRING type." +], +"type": "string" +}, +"type": "array" +}, +"destinationEncryptionConfiguration": { +"$ref": "EncryptionConfiguration", +"description": "Custom encryption configuration (e.g., Cloud KMS keys)" +}, +"destinationTable": { +"$ref": "TableReference", +"description": "[Required] The destination table to load the data into." +}, +"destinationTableProperties": { +"$ref": "DestinationTableProperties", +"description": "Optional. [Experimental] Properties with which to create the destination table if it is new." +}, +"encoding": { +"description": "Optional. The character encoding of the data. The supported values are UTF-8, ISO-8859-1, UTF-16BE, UTF-16LE, UTF-32BE, and UTF-32LE. The default value is UTF-8. BigQuery decodes the data after the raw, binary data has been split using the values of the `quote` and `fieldDelimiter` properties. If you don't specify an encoding, or if you specify a UTF-8 encoding when the CSV file is not UTF-8 encoded, BigQuery attempts to convert the data to UTF-8. Generally, your data loads successfully, but it may not match byte-for-byte what you expect. To avoid this, specify the correct encoding by using the `--encoding` flag. If BigQuery can't convert a character other than the ASCII `0` character, BigQuery converts the character to the standard Unicode replacement character: \ufffd.", +"type": "string" +}, +"fieldDelimiter": { +"description": "Optional. The separator character for fields in a CSV file. The separator is interpreted as a single byte. For files encoded in ISO-8859-1, any single character can be used as a separator. For files encoded in UTF-8, characters represented in decimal range 1-127 (U+0001-U+007F) can be used without any modification. UTF-8 characters encoded with multiple bytes (i.e. U+0080 and above) will have only the first byte used for separating fields. The remaining bytes will be treated as a part of the field. BigQuery also supports the escape sequence \"\\t\" (U+0009) to specify a tab separator. The default value is comma (\",\", U+002C).", +"type": "string" +}, +"fileSetSpecType": { +"description": "Optional. Specifies how source URIs are interpreted for constructing the file set to load. By default, source URIs are expanded against the underlying storage. You can also specify manifest files to control how the file set is constructed. This option is only applicable to object storage systems.", +"enum": [ +"FILE_SET_SPEC_TYPE_FILE_SYSTEM_MATCH", +"FILE_SET_SPEC_TYPE_NEW_LINE_DELIMITED_MANIFEST" +], +"enumDescriptions": [ +"This option expands source URIs by listing files from the object store. It is the default behavior if FileSetSpecType is not set.", +"This option indicates that the provided URIs are newline-delimited manifest files, with one URI per line. Wildcard URIs are not supported." +], +"type": "string" +}, +"hivePartitioningOptions": { +"$ref": "HivePartitioningOptions", +"description": "Optional. When set, configures hive partitioning support. Not all storage formats support hive partitioning -- requesting hive partitioning on an unsupported format will lead to an error, as will providing an invalid specification." +}, +"ignoreUnknownValues": { +"description": "Optional. Indicates if BigQuery should allow extra values that are not represented in the table schema. If true, the extra values are ignored. If false, records with extra columns are treated as bad records, and if there are too many bad records, an invalid error is returned in the job result. The default value is false. The sourceFormat property determines what BigQuery treats as an extra value: CSV: Trailing columns JSON: Named values that don't match any column names in the table schema Avro, Parquet, ORC: Fields in the file schema that don't exist in the table schema.", +"type": "boolean" +}, +"jsonExtension": { +"description": "Optional. Load option to be used together with source_format newline-delimited JSON to indicate that a variant of JSON is being loaded. To load newline-delimited GeoJSON, specify GEOJSON (and source_format must be set to NEWLINE_DELIMITED_JSON).", +"enum": [ +"JSON_EXTENSION_UNSPECIFIED", +"GEOJSON" +], +"enumDescriptions": [ +"The default if provided value is not one included in the enum, or the value is not specified. The source format is parsed without any modification.", +"Use GeoJSON variant of JSON. See https://tools.ietf.org/html/rfc7946." +], +"type": "string" +}, +"maxBadRecords": { +"description": "Optional. The maximum number of bad records that BigQuery can ignore when running the job. If the number of bad records exceeds this value, an invalid error is returned in the job result. The default value is 0, which requires that all records are valid. This is only supported for CSV and NEWLINE_DELIMITED_JSON file formats.", +"format": "int32", +"type": "integer" +}, +"nullMarker": { +"description": "Optional. Specifies a string that represents a null value in a CSV file. For example, if you specify \"\\N\", BigQuery interprets \"\\N\" as a null value when loading a CSV file. The default value is the empty string. If you set this property to a custom value, BigQuery throws an error if an empty string is present for all data types except for STRING and BYTE. For STRING and BYTE columns, BigQuery interprets the empty string as an empty value.", +"type": "string" +}, +"nullMarkers": { +"description": "Optional. A list of strings represented as SQL NULL value in a CSV file. null_marker and null_markers can't be set at the same time. If null_marker is set, null_markers has to be not set. If null_markers is set, null_marker has to be not set. If both null_marker and null_markers are set at the same time, a user error would be thrown. Any strings listed in null_markers, including empty string would be interpreted as SQL NULL. This applies to all column types.", +"items": { +"type": "string" +}, +"type": "array" +}, +"parquetOptions": { +"$ref": "ParquetOptions", +"description": "Optional. Additional properties to set if sourceFormat is set to PARQUET." +}, +"preserveAsciiControlCharacters": { +"description": "Optional. When sourceFormat is set to \"CSV\", this indicates whether the embedded ASCII control characters (the first 32 characters in the ASCII-table, from '\\x00' to '\\x1F') are preserved.", +"type": "boolean" +}, +"projectionFields": { +"description": "If sourceFormat is set to \"DATASTORE_BACKUP\", indicates which entity properties to load into BigQuery from a Cloud Datastore backup. Property names are case sensitive and must be top-level properties. If no properties are specified, BigQuery loads all properties. If any named property isn't found in the Cloud Datastore backup, an invalid error is returned in the job result.", +"items": { +"type": "string" +}, +"type": "array" +}, +"quote": { +"default": "\"", +"description": "Optional. The value that is used to quote data sections in a CSV file. BigQuery converts the string to ISO-8859-1 encoding, and then uses the first byte of the encoded string to split the data in its raw, binary state. The default value is a double-quote ('\"'). If your data does not contain quoted sections, set the property value to an empty string. If your data contains quoted newline characters, you must also set the allowQuotedNewlines property to true. To include the specific quote character within a quoted value, precede it with an additional matching quote character. For example, if you want to escape the default character ' \" ', use ' \"\" '. @default \"", +"pattern": ".?", +"type": "string" +}, +"rangePartitioning": { +"$ref": "RangePartitioning", +"description": "Range partitioning specification for the destination table. Only one of timePartitioning and rangePartitioning should be specified." +}, +"referenceFileSchemaUri": { +"description": "Optional. The user can provide a reference file with the reader schema. This file is only loaded if it is part of source URIs, but is not loaded otherwise. It is enabled for the following formats: AVRO, PARQUET, ORC.", +"type": "string" +}, +"schema": { +"$ref": "TableSchema", +"description": "Optional. The schema for the destination table. The schema can be omitted if the destination table already exists, or if you're loading data from Google Cloud Datastore." +}, +"schemaInline": { +"description": "[Deprecated] The inline schema. For CSV schemas, specify as \"Field1:Type1[,Field2:Type2]*\". For example, \"foo:STRING, bar:INTEGER, baz:FLOAT\".", +"type": "string" +}, +"schemaInlineFormat": { +"description": "[Deprecated] The format of the schemaInline property.", +"type": "string" +}, +"schemaUpdateOptions": { +"description": "Allows the schema of the destination table to be updated as a side effect of the load job if a schema is autodetected or supplied in the job configuration. Schema update options are supported in three cases: when writeDisposition is WRITE_APPEND; when writeDisposition is WRITE_TRUNCATE_DATA; when writeDisposition is WRITE_TRUNCATE and the destination table is a partition of a table, specified by partition decorators. For normal tables, WRITE_TRUNCATE will always overwrite the schema. One or more of the following values are specified: * ALLOW_FIELD_ADDITION: allow adding a nullable field to the schema. * ALLOW_FIELD_RELAXATION: allow relaxing a required field in the original schema to nullable.", +"items": { +"type": "string" +}, +"type": "array" +}, +"skipLeadingRows": { +"description": "Optional. The number of rows at the top of a CSV file that BigQuery will skip when loading the data. The default value is 0. This property is useful if you have header rows in the file that should be skipped. When autodetect is on, the behavior is the following: * skipLeadingRows unspecified - Autodetect tries to detect headers in the first row. If they are not detected, the row is read as data. Otherwise data is read starting from the second row. * skipLeadingRows is 0 - Instructs autodetect that there are no headers and data should be read starting from the first row. * skipLeadingRows = N > 0 - Autodetect skips N-1 rows and tries to detect headers in row N. If headers are not detected, row N is just skipped. Otherwise row N is used to extract column names for the detected schema.", +"format": "int32", +"type": "integer" +}, +"sourceColumnMatch": { +"description": "Optional. Controls the strategy used to match loaded columns to the schema. If not set, a sensible default is chosen based on how the schema is provided. If autodetect is used, then columns are matched by name. Otherwise, columns are matched by position. This is done to keep the behavior backward-compatible.", +"enum": [ +"SOURCE_COLUMN_MATCH_UNSPECIFIED", +"POSITION", +"NAME" +], +"enumDescriptions": [ +"Uses sensible defaults based on how the schema is provided. If autodetect is used, then columns are matched by name. Otherwise, columns are matched by position. This is done to keep the behavior backward-compatible.", +"Matches by position. This assumes that the columns are ordered the same way as the schema.", +"Matches by name. This reads the header row as column names and reorders columns to match the field names in the schema." +], +"type": "string" +}, +"sourceFormat": { +"description": "Optional. The format of the data files. For CSV files, specify \"CSV\". For datastore backups, specify \"DATASTORE_BACKUP\". For newline-delimited JSON, specify \"NEWLINE_DELIMITED_JSON\". For Avro, specify \"AVRO\". For parquet, specify \"PARQUET\". For orc, specify \"ORC\". The default value is CSV.", +"type": "string" +}, +"sourceUris": { +"description": "[Required] The fully-qualified URIs that point to your data in Google Cloud. For Google Cloud Storage URIs: Each URI can contain one '*' wildcard character and it must come after the 'bucket' name. Size limits related to load jobs apply to external data sources. For Google Cloud Bigtable URIs: Exactly one URI can be specified and it has be a fully specified and valid HTTPS URL for a Google Cloud Bigtable table. For Google Cloud Datastore backups: Exactly one URI can be specified. Also, the '*' wildcard character is not allowed.", +"items": { +"type": "string" +}, +"type": "array" +}, +"timeFormat": { +"description": "Optional. Date format used for parsing TIME values.", +"type": "string" +}, +"timePartitioning": { +"$ref": "TimePartitioning", +"description": "Time-based partitioning specification for the destination table. Only one of timePartitioning and rangePartitioning should be specified." +}, +"timeZone": { +"description": "Optional. Default time zone that will apply when parsing timestamp values that have no specific time zone.", +"type": "string" +}, +"timestampFormat": { +"description": "Optional. Date format used for parsing TIMESTAMP values.", +"type": "string" +}, +"timestampTargetPrecision": { +"description": "Precisions (maximum number of total digits in base 10) for seconds of TIMESTAMP types that are allowed to the destination table for autodetection mode. Available for the formats: CSV. For the CSV Format, Possible values include: Not Specified, [], or [6]: timestamp(6) for all auto detected TIMESTAMP columns [6, 12]: timestamp(6) for all auto detected TIMESTAMP columns that have less than 6 digits of subseconds. timestamp(12) for all auto detected TIMESTAMP columns that have more than 6 digits of subseconds. [12]: timestamp(12) for all auto detected TIMESTAMP columns. The order of the elements in this array is ignored. Inputs that have higher precision than the highest target precision in this array will be truncated.", +"items": { +"format": "int32", +"type": "integer" +}, +"type": "array" +}, +"useAvroLogicalTypes": { +"description": "Optional. If sourceFormat is set to \"AVRO\", indicates whether to interpret logical types as the corresponding BigQuery data type (for example, TIMESTAMP), instead of using the raw type (for example, INTEGER).", +"type": "boolean" +}, +"writeDisposition": { +"description": "Optional. Specifies the action that occurs if the destination table already exists. The following values are supported: * WRITE_TRUNCATE: If the table already exists, BigQuery overwrites the data, removes the constraints and uses the schema from the load job. * WRITE_TRUNCATE_DATA: If the table already exists, BigQuery overwrites the data, but keeps the constraints and schema of the existing table. * WRITE_APPEND: If the table already exists, BigQuery appends the data to the table. * WRITE_EMPTY: If the table already exists and contains data, a 'duplicate' error is returned in the job result. The default value is WRITE_APPEND. Each action is atomic and only occurs if BigQuery is able to complete the job successfully. Creation, truncation and append actions occur as one atomic update upon job completion.", +"type": "string" +} +}, +"type": "object" +}, +"JobConfigurationQuery": { +"description": "JobConfigurationQuery configures a BigQuery query job.", +"id": "JobConfigurationQuery", +"properties": { +"allowLargeResults": { +"default": "false", +"description": "Optional. If true and query uses legacy SQL dialect, allows the query to produce arbitrarily large result tables at a slight cost in performance. Requires destinationTable to be set. For GoogleSQL queries, this flag is ignored and large results are always allowed. However, you must still set destinationTable when result size exceeds the allowed maximum response size.", +"type": "boolean" +}, +"clustering": { +"$ref": "Clustering", +"description": "Clustering specification for the destination table." +}, +"connectionProperties": { +"description": "Connection properties which can modify the query behavior.", +"items": { +"$ref": "ConnectionProperty" +}, +"type": "array" +}, +"continuous": { +"description": "[Optional] Specifies whether the query should be executed as a continuous query. The default value is false.", +"type": "boolean" +}, +"createDisposition": { +"description": "Optional. Specifies whether the job is allowed to create new tables. The following values are supported: * CREATE_IF_NEEDED: If the table does not exist, BigQuery creates the table. * CREATE_NEVER: The table must already exist. If it does not, a 'notFound' error is returned in the job result. The default value is CREATE_IF_NEEDED. Creation, truncation and append actions occur as one atomic update upon job completion.", +"type": "string" +}, +"createSession": { +"description": "If this property is true, the job creates a new session using a randomly generated session_id. To continue using a created session with subsequent queries, pass the existing session identifier as a `ConnectionProperty` value. The session identifier is returned as part of the `SessionInfo` message within the query statistics. The new session's location will be set to `Job.JobReference.location` if it is present, otherwise it's set to the default location based on existing routing logic.", +"type": "boolean" +}, +"defaultDataset": { +"$ref": "DatasetReference", +"description": "Optional. Specifies the default dataset to use for unqualified table names in the query. This setting does not alter behavior of unqualified dataset names. Setting the system variable `@@dataset_id` achieves the same behavior. See https://cloud.google.com/bigquery/docs/reference/system-variables for more information on system variables." +}, +"destinationEncryptionConfiguration": { +"$ref": "EncryptionConfiguration", +"description": "Custom encryption configuration (e.g., Cloud KMS keys)" +}, +"destinationTable": { +"$ref": "TableReference", +"description": "Optional. Describes the table where the query results should be stored. This property must be set for large results that exceed the maximum response size. For queries that produce anonymous (cached) results, this field will be populated by BigQuery." +}, +"flattenResults": { +"default": "true", +"description": "Optional. If true and query uses legacy SQL dialect, flattens all nested and repeated fields in the query results. allowLargeResults must be true if this is set to false. For GoogleSQL queries, this flag is ignored and results are never flattened.", +"type": "boolean" +}, +"maximumBillingTier": { +"default": "1", +"description": "Optional. [Deprecated] Maximum billing tier allowed for this query. The billing tier controls the amount of compute resources allotted to the query, and multiplies the on-demand cost of the query accordingly. A query that runs within its allotted resources will succeed and indicate its billing tier in statistics.query.billingTier, but if the query exceeds its allotted resources, it will fail with billingTierLimitExceeded. WARNING: The billed byte amount can be multiplied by an amount up to this number! Most users should not need to alter this setting, and we recommend that you avoid introducing new uses of it.", +"format": "int32", +"type": "integer" +}, +"maximumBytesBilled": { +"description": "Limits the bytes billed for this job. Queries that will have bytes billed beyond this limit will fail (without incurring a charge). If unspecified, this will be set to your project default.", +"format": "int64", +"type": "string" +}, +"parameterMode": { +"description": "GoogleSQL only. Set to POSITIONAL to use positional (?) query parameters or to NAMED to use named (@myparam) query parameters in this query.", +"type": "string" +}, +"preserveNulls": { +"description": "[Deprecated] This property is deprecated.", +"type": "boolean" +}, +"priority": { +"description": "Optional. Specifies a priority for the query. Possible values include INTERACTIVE and BATCH. The default value is INTERACTIVE.", +"type": "string" +}, +"query": { +"description": "[Required] SQL query text to execute. The useLegacySql field can be used to indicate whether the query uses legacy SQL or GoogleSQL.", +"type": "string" +}, +"queryParameters": { +"description": "Query parameters for GoogleSQL queries.", +"items": { +"$ref": "QueryParameter" +}, +"type": "array" +}, +"rangePartitioning": { +"$ref": "RangePartitioning", +"description": "Range partitioning specification for the destination table. Only one of timePartitioning and rangePartitioning should be specified." +}, +"schemaUpdateOptions": { +"description": "Allows the schema of the destination table to be updated as a side effect of the query job. Schema update options are supported in three cases: when writeDisposition is WRITE_APPEND; when writeDisposition is WRITE_TRUNCATE_DATA; when writeDisposition is WRITE_TRUNCATE and the destination table is a partition of a table, specified by partition decorators. For normal tables, WRITE_TRUNCATE will always overwrite the schema. One or more of the following values are specified: * ALLOW_FIELD_ADDITION: allow adding a nullable field to the schema. * ALLOW_FIELD_RELAXATION: allow relaxing a required field in the original schema to nullable.", +"items": { +"type": "string" +}, +"type": "array" +}, +"scriptOptions": { +"$ref": "ScriptOptions", +"description": "Options controlling the execution of scripts." +}, +"systemVariables": { +"$ref": "SystemVariables", +"description": "Output only. System variables for GoogleSQL queries. A system variable is output if the variable is settable and its value differs from the system default. \"@@\" prefix is not included in the name of the System variables.", +"readOnly": true +}, +"tableDefinitions": { +"additionalProperties": { +"$ref": "ExternalDataConfiguration" +}, +"description": "Optional. You can specify external table definitions, which operate as ephemeral tables that can be queried. These definitions are configured using a JSON map, where the string key represents the table identifier, and the value is the corresponding external data configuration object.", +"type": "object" +}, +"timePartitioning": { +"$ref": "TimePartitioning", +"description": "Time-based partitioning specification for the destination table. Only one of timePartitioning and rangePartitioning should be specified." +}, +"useLegacySql": { +"default": "true", +"description": "Optional. Specifies whether to use BigQuery's legacy SQL dialect for this query. The default value is true. If set to false, the query uses BigQuery's [GoogleSQL](https://docs.cloud.google.com/bigquery/docs/introduction-sql). When useLegacySql is set to false, the value of flattenResults is ignored; query will be run as if flattenResults is false.", +"type": "boolean" +}, +"useQueryCache": { +"default": "true", +"description": "Optional. Whether to look for the result in the query cache. The query cache is a best-effort cache that will be flushed whenever tables in the query are modified. Moreover, the query cache is only available when a query does not have a destination table specified. The default value is true.", +"type": "boolean" +}, +"userDefinedFunctionResources": { +"description": "Describes user-defined function resources used in the query.", +"items": { +"$ref": "UserDefinedFunctionResource" +}, +"type": "array" +}, +"writeDisposition": { +"description": "Optional. Specifies the action that occurs if the destination table already exists. The following values are supported: * WRITE_TRUNCATE: If the table already exists, BigQuery overwrites the data, removes the constraints, and uses the schema from the query result. * WRITE_TRUNCATE_DATA: If the table already exists, BigQuery overwrites the data, but keeps the constraints and schema of the existing table. * WRITE_APPEND: If the table already exists, BigQuery appends the data to the table. * WRITE_EMPTY: If the table already exists and contains data, a 'duplicate' error is returned in the job result. The default value is WRITE_EMPTY. Each action is atomic and only occurs if BigQuery is able to complete the job successfully. Creation, truncation and append actions occur as one atomic update upon job completion.", +"type": "string" +}, +"writeIncrementalResults": { +"description": "Optional. This is only supported for a SELECT query using a temporary table. If set, the query is allowed to write results incrementally to the temporary result table. This may incur a performance penalty. This option cannot be used with Legacy SQL. This feature is not yet available.", +"type": "boolean" +} +}, +"type": "object" +}, +"JobConfigurationTableCopy": { +"description": "JobConfigurationTableCopy configures a job that copies data from one table to another. For more information on copying tables, see [Copy a table](https://cloud.google.com/bigquery/docs/managing-tables#copy-table).", +"id": "JobConfigurationTableCopy", +"properties": { +"createDisposition": { +"description": "Optional. Specifies whether the job is allowed to create new tables. The following values are supported: * CREATE_IF_NEEDED: If the table does not exist, BigQuery creates the table. * CREATE_NEVER: The table must already exist. If it does not, a 'notFound' error is returned in the job result. The default value is CREATE_IF_NEEDED. Creation, truncation and append actions occur as one atomic update upon job completion.", +"type": "string" +}, +"destinationEncryptionConfiguration": { +"$ref": "EncryptionConfiguration", +"description": "Custom encryption configuration (e.g., Cloud KMS keys)." +}, +"destinationExpirationTime": { +"description": "Optional. The time when the destination table expires. Expired tables will be deleted and their storage reclaimed.", +"format": "google-datetime", +"type": "string" +}, +"destinationTable": { +"$ref": "TableReference", +"description": "[Required] The destination table." +}, +"operationType": { +"description": "Optional. Supported operation types in table copy job.", +"enum": [ +"OPERATION_TYPE_UNSPECIFIED", +"COPY", +"SNAPSHOT", +"RESTORE", +"CLONE" +], +"enumDescriptions": [ +"Unspecified operation type.", +"The source and destination table have the same table type.", +"The source table type is TABLE and the destination table type is SNAPSHOT.", +"The source table type is SNAPSHOT and the destination table type is TABLE.", +"The source and destination table have the same table type, but only bill for unique data." +], +"type": "string" +}, +"sourceTable": { +"$ref": "TableReference", +"description": "[Pick one] Source table to copy." +}, +"sourceTables": { +"description": "[Pick one] Source tables to copy.", +"items": { +"$ref": "TableReference" +}, +"type": "array" +}, +"writeDisposition": { +"description": "Optional. Specifies the action that occurs if the destination table already exists. The following values are supported: * WRITE_TRUNCATE: If the table already exists, BigQuery overwrites the table data and uses the schema and table constraints from the source table. * WRITE_APPEND: If the table already exists, BigQuery appends the data to the table. * WRITE_EMPTY: If the table already exists and contains data, a 'duplicate' error is returned in the job result. The default value is WRITE_EMPTY. Each action is atomic and only occurs if BigQuery is able to complete the job successfully. Creation, truncation and append actions occur as one atomic update upon job completion.", +"type": "string" +} +}, +"type": "object" +}, +"JobCreationReason": { +"description": "Reason about why a Job was created from a [`jobs.query`](https://cloud.google.com/bigquery/docs/reference/rest/v2/jobs/query) method when used with `JOB_CREATION_OPTIONAL` Job creation mode. For [`jobs.insert`](https://cloud.google.com/bigquery/docs/reference/rest/v2/jobs/insert) method calls it will always be `REQUESTED`.", +"id": "JobCreationReason", +"properties": { +"code": { +"description": "Output only. Specifies the high level reason why a Job was created.", +"enum": [ +"CODE_UNSPECIFIED", +"REQUESTED", +"LONG_RUNNING", +"LARGE_RESULTS", +"OTHER" +], +"enumDescriptions": [ +"Reason is not specified.", +"Job creation was requested.", +"The query request ran beyond a system defined timeout specified by the [timeoutMs field in the QueryRequest](https://cloud.google.com/bigquery/docs/reference/rest/v2/jobs/query#queryrequest). As a result it was considered a long running operation for which a job was created.", +"The results from the query cannot fit in the response.", +"BigQuery has determined that the query needs to be executed as a Job." +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"JobList": { +"description": "JobList is the response format for a jobs.list call.", +"id": "JobList", +"properties": { +"etag": { +"description": "A hash of this page of results.", +"type": "string" +}, +"jobs": { +"description": "List of jobs that were requested.", +"items": { +"description": "ListFormatJob is a partial projection of job information returned as part of a jobs.list response.", +"properties": { +"configuration": { +"$ref": "JobConfiguration", +"description": "Required. Describes the job configuration." +}, +"errorResult": { +"$ref": "ErrorProto", +"description": "A result object that will be present only if the job has failed." +}, +"id": { +"description": "Unique opaque ID of the job.", +"type": "string" +}, +"jobReference": { +"$ref": "JobReference", +"description": "Unique opaque ID of the job." +}, +"kind": { +"description": "The resource type.", +"type": "string" +}, +"principal_subject": { +"description": "[Full-projection-only] String representation of identity of requesting party. Populated for both first- and third-party identities. Only present for APIs that support third-party identities.", +"type": "string" +}, +"state": { +"description": "Running state of the job. When the state is DONE, errorResult can be checked to determine whether the job succeeded or failed.", +"type": "string" +}, +"statistics": { +"$ref": "JobStatistics", +"description": "Output only. Information about the job, including starting time and ending time of the job.", +"readOnly": true +}, +"status": { +"$ref": "JobStatus", +"description": "[Full-projection-only] Describes the status of this job." +}, +"user_email": { +"description": "[Full-projection-only] Email address of the user who ran the job.", +"type": "string" +} +}, +"type": "object" +}, +"type": "array" +}, +"kind": { +"default": "bigquery#jobList", +"description": "The resource type of the response.", +"type": "string" +}, +"nextPageToken": { +"description": "A token to request the next page of results.", +"type": "string" +}, +"unreachable": { +"description": "A list of skipped locations that were unreachable. For more information about BigQuery locations, see: https://cloud.google.com/bigquery/docs/locations. Example: \"europe-west5\"", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"JobReference": { +"description": "A job reference is a fully qualified identifier for referring to a job.", +"id": "JobReference", +"properties": { +"jobId": { +"description": "Required. The ID of the job. The ID must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), or dashes (-). The maximum length is 1,024 characters.", +"type": "string" +}, +"location": { +"description": "Optional. The geographic location of the job. The default value is US. For more information about BigQuery locations, see: https://cloud.google.com/bigquery/docs/locations", +"type": "string" +}, +"projectId": { +"description": "Required. The ID of the project containing this job.", +"type": "string" +} +}, +"type": "object" +}, +"JobStatistics": { +"description": "Statistics for a single job execution.", +"id": "JobStatistics", +"properties": { +"completionRatio": { +"description": "Output only. [TrustedTester] Job progress (0.0 -> 1.0) for LOAD and EXTRACT jobs.", +"format": "double", +"readOnly": true, +"type": "number" +}, +"copy": { +"$ref": "JobStatistics5", +"description": "Output only. Statistics for a copy job.", +"readOnly": true +}, +"creationTime": { +"description": "Output only. Creation time of this job, in milliseconds since the epoch. This field will be present on all jobs.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"dataMaskingStatistics": { +"$ref": "DataMaskingStatistics", +"description": "Output only. Statistics for data-masking. Present only for query and extract jobs.", +"readOnly": true +}, +"edition": { +"description": "Output only. Name of edition corresponding to the reservation for this job at the time of this update.", +"enum": [ +"RESERVATION_EDITION_UNSPECIFIED", +"STANDARD", +"ENTERPRISE", +"ENTERPRISE_PLUS" +], +"enumDescriptions": [ +"Default value, which will be treated as ENTERPRISE.", +"Standard edition.", +"Enterprise edition.", +"Enterprise Plus edition." +], +"readOnly": true, +"type": "string" +}, +"endTime": { +"description": "Output only. End time of this job, in milliseconds since the epoch. This field will be present whenever a job is in the DONE state.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"extract": { +"$ref": "JobStatistics4", +"description": "Output only. Statistics for an extract job.", +"readOnly": true +}, +"finalExecutionDurationMs": { +"description": "Output only. The duration in milliseconds of the execution of the final attempt of this job, as BigQuery may internally re-attempt to execute the job.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"load": { +"$ref": "JobStatistics3", +"description": "Output only. Statistics for a load job.", +"readOnly": true +}, +"numChildJobs": { +"description": "Output only. Number of child jobs executed.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"parentJobId": { +"description": "Output only. If this is a child job, specifies the job ID of the parent.", +"readOnly": true, +"type": "string" +}, +"query": { +"$ref": "JobStatistics2", +"description": "Output only. Statistics for a query job.", +"readOnly": true +}, +"quotaDeferments": { +"description": "Output only. Quotas which delayed this job's start time.", +"items": { +"type": "string" +}, +"readOnly": true, +"type": "array" +}, +"reservationGroupPath": { +"description": "Output only. The reservation group path of the reservation assigned to this job. This field has a limit of 10 nested reservation groups. This is to maintain consistency between reservatins info schema and jobs info schema. The first reservation group is the root reservation group and the last is the leaf or lowest level reservation group.", +"items": { +"type": "string" +}, +"readOnly": true, +"type": "array" +}, +"reservationUsage": { +"deprecated": true, +"description": "Output only. Job resource usage breakdown by reservation. This field reported misleading information and will no longer be populated.", +"items": { +"description": "Job resource usage breakdown by reservation.", +"properties": { +"name": { +"description": "Reservation name or \"unreserved\" for on-demand resource usage and multi-statement queries.", +"type": "string" +}, +"slotMs": { +"description": "Total slot milliseconds used by the reservation for a particular job.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"readOnly": true, +"type": "array" +}, +"reservation_id": { +"description": "Output only. Name of the primary reservation assigned to this job. Note that this could be different than reservations reported in the reservation usage field if parent reservations were used to execute this job.", +"readOnly": true, +"type": "string" +}, +"rowLevelSecurityStatistics": { +"$ref": "RowLevelSecurityStatistics", +"description": "Output only. Statistics for row-level security. Present only for query and extract jobs.", +"readOnly": true +}, +"scriptStatistics": { +"$ref": "ScriptStatistics", +"description": "Output only. If this a child job of a script, specifies information about the context of this job within the script.", +"readOnly": true +}, +"sessionInfo": { +"$ref": "SessionInfo", +"description": "Output only. Information of the session if this job is part of one.", +"readOnly": true +}, +"startTime": { +"description": "Output only. Start time of this job, in milliseconds since the epoch. This field will be present when the job transitions from the PENDING state to either RUNNING or DONE.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"totalBytesProcessed": { +"description": "Output only. Total bytes processed for the job.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"totalSlotMs": { +"description": "Output only. Slot-milliseconds for the job.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"transactionInfo": { +"$ref": "TransactionInfo", +"description": "Output only. [Alpha] Information of the multi-statement transaction if this job is part of one. This property is only expected on a child job or a job that is in a session. A script parent job is not part of the transaction started in the script.", +"readOnly": true +} +}, +"type": "object" +}, +"JobStatistics2": { +"description": "Statistics for a query job.", +"id": "JobStatistics2", +"properties": { +"biEngineStatistics": { +"$ref": "BiEngineStatistics", +"description": "Output only. BI Engine specific Statistics.", +"readOnly": true +}, +"billingTier": { +"description": "Output only. Billing tier for the job. This is a BigQuery-specific concept which is not related to the Google Cloud notion of \"free tier\". The value here is a measure of the query's resource consumption relative to the amount of data scanned. For on-demand queries, the limit is 100, and all queries within this limit are billed at the standard on-demand rates. On-demand queries that exceed this limit will fail with a billingTierLimitExceeded error.", +"format": "int32", +"readOnly": true, +"type": "integer" +}, +"cacheHit": { +"description": "Output only. Whether the query result was fetched from the query cache.", +"readOnly": true, +"type": "boolean" +}, +"dclTargetDataset": { +"$ref": "DatasetReference", +"description": "Output only. Referenced dataset for DCL statement.", +"readOnly": true +}, +"dclTargetTable": { +"$ref": "TableReference", +"description": "Output only. Referenced table for DCL statement.", +"readOnly": true +}, +"dclTargetView": { +"$ref": "TableReference", +"description": "Output only. Referenced view for DCL statement.", +"readOnly": true +}, +"ddlAffectedRowAccessPolicyCount": { +"description": "Output only. The number of row access policies affected by a DDL statement. Present only for DROP ALL ROW ACCESS POLICIES queries.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"ddlDestinationTable": { +"$ref": "TableReference", +"description": "Output only. The table after rename. Present only for ALTER TABLE RENAME TO query.", +"readOnly": true +}, +"ddlOperationPerformed": { +"description": "Output only. The DDL operation performed, possibly dependent on the pre-existence of the DDL target.", +"readOnly": true, +"type": "string" +}, +"ddlTargetDataset": { +"$ref": "DatasetReference", +"description": "Output only. The DDL target dataset. Present only for CREATE/ALTER/DROP SCHEMA(dataset) queries.", +"readOnly": true +}, +"ddlTargetRoutine": { +"$ref": "RoutineReference", +"description": "Output only. [Beta] The DDL target routine. Present only for CREATE/DROP FUNCTION/PROCEDURE queries.", +"readOnly": true +}, +"ddlTargetRowAccessPolicy": { +"$ref": "RowAccessPolicyReference", +"description": "Output only. The DDL target row access policy. Present only for CREATE/DROP ROW ACCESS POLICY queries.", +"readOnly": true +}, +"ddlTargetTable": { +"$ref": "TableReference", +"description": "Output only. The DDL target table. Present only for CREATE/DROP TABLE/VIEW and DROP ALL ROW ACCESS POLICIES queries.", +"readOnly": true +}, +"dmlStats": { +"$ref": "DmlStatistics", +"description": "Output only. Detailed statistics for DML statements INSERT, UPDATE, DELETE, MERGE or TRUNCATE.", +"readOnly": true +}, +"estimatedBytesProcessed": { +"description": "Output only. The original estimate of bytes processed for the job.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"exportDataStatistics": { +"$ref": "ExportDataStatistics", +"description": "Output only. Stats for EXPORT DATA statement.", +"readOnly": true +}, +"externalServiceCosts": { +"description": "Output only. Job cost breakdown as bigquery internal cost and external service costs.", +"items": { +"$ref": "ExternalServiceCost" +}, +"readOnly": true, +"type": "array" +}, +"incrementalResultStats": { +"$ref": "IncrementalResultStats", +"description": "Output only. Statistics related to incremental query results, if enabled for the query. This feature is not yet available.", +"readOnly": true +}, +"loadQueryStatistics": { +"$ref": "LoadQueryStatistics", +"description": "Output only. Statistics for a LOAD query.", +"readOnly": true +}, +"materializedViewStatistics": { +"$ref": "MaterializedViewStatistics", +"description": "Output only. Statistics of materialized views of a query job.", +"readOnly": true +}, +"metadataCacheStatistics": { +"$ref": "MetadataCacheStatistics", +"description": "Output only. Statistics of metadata cache usage in a query for BigLake tables.", +"readOnly": true +}, +"mlStatistics": { +"$ref": "MlStatistics", +"description": "Output only. Statistics of a BigQuery ML training job.", +"readOnly": true +}, +"modelTraining": { +"$ref": "BigQueryModelTraining", +"description": "Deprecated." +}, +"modelTrainingCurrentIteration": { +"description": "Deprecated.", +"format": "int32", +"type": "integer" +}, +"modelTrainingExpectedTotalIteration": { +"description": "Deprecated.", +"format": "int64", +"type": "string" +}, +"numDmlAffectedRows": { +"description": "Output only. The number of rows affected by a DML statement. Present only for DML statements INSERT, UPDATE or DELETE.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"performanceInsights": { +"$ref": "PerformanceInsights", +"description": "Output only. Performance insights.", +"readOnly": true +}, +"queryInfo": { +"$ref": "QueryInfo", +"description": "Output only. Query optimization information for a QUERY job.", +"readOnly": true +}, +"queryPlan": { +"description": "Output only. Describes execution plan for the query.", +"items": { +"$ref": "ExplainQueryStage" +}, +"readOnly": true, +"type": "array" +}, +"referencedRoutines": { +"description": "Output only. Referenced routines for the job.", +"items": { +"$ref": "RoutineReference" +}, +"readOnly": true, +"type": "array" +}, +"referencedTables": { +"description": "Output only. Referenced tables for the job.", +"items": { +"$ref": "TableReference" +}, +"readOnly": true, +"type": "array" +}, +"reservationUsage": { +"deprecated": true, +"description": "Output only. Job resource usage breakdown by reservation. This field reported misleading information and will no longer be populated.", +"items": { +"description": "Job resource usage breakdown by reservation.", +"properties": { +"name": { +"description": "Reservation name or \"unreserved\" for on-demand resource usage and multi-statement queries.", +"type": "string" +}, +"slotMs": { +"description": "Total slot milliseconds used by the reservation for a particular job.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"readOnly": true, +"type": "array" +}, +"schema": { +"$ref": "TableSchema", +"description": "Output only. The schema of the results. Present only for successful dry run of non-legacy SQL queries.", +"readOnly": true +}, +"searchStatistics": { +"$ref": "SearchStatistics", +"description": "Output only. Search query specific statistics.", +"readOnly": true +}, +"sparkStatistics": { +"$ref": "SparkStatistics", +"description": "Output only. Statistics of a Spark procedure job.", +"readOnly": true +}, +"statementType": { +"description": "Output only. The type of query statement, if valid. Possible values: * `SELECT`: [`SELECT`](https://cloud.google.com/bigquery/docs/reference/standard-sql/query-syntax#select_list) statement. * `ASSERT`: [`ASSERT`](https://cloud.google.com/bigquery/docs/reference/standard-sql/debugging-statements#assert) statement. * `INSERT`: [`INSERT`](https://cloud.google.com/bigquery/docs/reference/standard-sql/dml-syntax#insert_statement) statement. * `UPDATE`: [`UPDATE`](https://cloud.google.com/bigquery/docs/reference/standard-sql/dml-syntax#update_statement) statement. * `DELETE`: [`DELETE`](https://cloud.google.com/bigquery/docs/reference/standard-sql/data-manipulation-language) statement. * `MERGE`: [`MERGE`](https://cloud.google.com/bigquery/docs/reference/standard-sql/data-manipulation-language) statement. * `CREATE_TABLE`: [`CREATE TABLE`](https://cloud.google.com/bigquery/docs/reference/standard-sql/data-definition-language#create_table_statement) statement, without `AS SELECT`. * `CREATE_TABLE_AS_SELECT`: [`CREATE TABLE AS SELECT`](https://cloud.google.com/bigquery/docs/reference/standard-sql/data-definition-language#create_table_statement) statement. * `CREATE_VIEW`: [`CREATE VIEW`](https://cloud.google.com/bigquery/docs/reference/standard-sql/data-definition-language#create_view_statement) statement. * `CREATE_MODEL`: [`CREATE MODEL`](https://cloud.google.com/bigquery-ml/docs/reference/standard-sql/bigqueryml-syntax-create#create_model_statement) statement. * `CREATE_MATERIALIZED_VIEW`: [`CREATE MATERIALIZED VIEW`](https://cloud.google.com/bigquery/docs/reference/standard-sql/data-definition-language#create_materialized_view_statement) statement. * `CREATE_FUNCTION`: [`CREATE FUNCTION`](https://cloud.google.com/bigquery/docs/reference/standard-sql/data-definition-language#create_function_statement) statement. * `CREATE_TABLE_FUNCTION`: [`CREATE TABLE FUNCTION`](https://cloud.google.com/bigquery/docs/reference/standard-sql/data-definition-language#create_table_function_statement) statement. * `CREATE_PROCEDURE`: [`CREATE PROCEDURE`](https://cloud.google.com/bigquery/docs/reference/standard-sql/data-definition-language#create_procedure) statement. * `CREATE_ROW_ACCESS_POLICY`: [`CREATE ROW ACCESS POLICY`](https://cloud.google.com/bigquery/docs/reference/standard-sql/data-definition-language#create_row_access_policy_statement) statement. * `CREATE_SCHEMA`: [`CREATE SCHEMA`](https://cloud.google.com/bigquery/docs/reference/standard-sql/data-definition-language#create_schema_statement) statement. * `CREATE_SNAPSHOT_TABLE`: [`CREATE SNAPSHOT TABLE`](https://cloud.google.com/bigquery/docs/reference/standard-sql/data-definition-language#create_snapshot_table_statement) statement. * `CREATE_SEARCH_INDEX`: [`CREATE SEARCH INDEX`](https://cloud.google.com/bigquery/docs/reference/standard-sql/data-definition-language#create_search_index_statement) statement. * `DROP_TABLE`: [`DROP TABLE`](https://cloud.google.com/bigquery/docs/reference/standard-sql/data-definition-language#drop_table_statement) statement. * `DROP_EXTERNAL_TABLE`: [`DROP EXTERNAL TABLE`](https://cloud.google.com/bigquery/docs/reference/standard-sql/data-definition-language#drop_external_table_statement) statement. * `DROP_VIEW`: [`DROP VIEW`](https://cloud.google.com/bigquery/docs/reference/standard-sql/data-definition-language#drop_view_statement) statement. * `DROP_MODEL`: [`DROP MODEL`](https://cloud.google.com/bigquery-ml/docs/reference/standard-sql/bigqueryml-syntax-drop-model) statement. * `DROP_MATERIALIZED_VIEW`: [`DROP MATERIALIZED VIEW`](https://cloud.google.com/bigquery/docs/reference/standard-sql/data-definition-language#drop_materialized_view_statement) statement. * `DROP_FUNCTION` : [`DROP FUNCTION`](https://cloud.google.com/bigquery/docs/reference/standard-sql/data-definition-language#drop_function_statement) statement. * `DROP_TABLE_FUNCTION` : [`DROP TABLE FUNCTION`](https://cloud.google.com/bigquery/docs/reference/standard-sql/data-definition-language#drop_table_function) statement. * `DROP_PROCEDURE`: [`DROP PROCEDURE`](https://cloud.google.com/bigquery/docs/reference/standard-sql/data-definition-language#drop_procedure_statement) statement. * `DROP_SEARCH_INDEX`: [`DROP SEARCH INDEX`](https://cloud.google.com/bigquery/docs/reference/standard-sql/data-definition-language#drop_search_index) statement. * `DROP_SCHEMA`: [`DROP SCHEMA`](https://cloud.google.com/bigquery/docs/reference/standard-sql/data-definition-language#drop_schema_statement) statement. * `DROP_SNAPSHOT_TABLE`: [`DROP SNAPSHOT TABLE`](https://cloud.google.com/bigquery/docs/reference/standard-sql/data-definition-language#drop_snapshot_table_statement) statement. * `DROP_ROW_ACCESS_POLICY`: [`DROP [ALL] ROW ACCESS POLICY|POLICIES`](https://cloud.google.com/bigquery/docs/reference/standard-sql/data-definition-language#drop_row_access_policy_statement) statement. * `ALTER_TABLE`: [`ALTER TABLE`](https://cloud.google.com/bigquery/docs/reference/standard-sql/data-definition-language#alter_table_set_options_statement) statement. * `ALTER_VIEW`: [`ALTER VIEW`](https://cloud.google.com/bigquery/docs/reference/standard-sql/data-definition-language#alter_view_set_options_statement) statement. * `ALTER_MATERIALIZED_VIEW`: [`ALTER MATERIALIZED VIEW`](https://cloud.google.com/bigquery/docs/reference/standard-sql/data-definition-language#alter_materialized_view_set_options_statement) statement. * `ALTER_SCHEMA`: [`ALTER SCHEMA`](https://cloud.google.com/bigquery/docs/reference/standard-sql/data-definition-language#alter_schema_set_options_statement) statement. * `SCRIPT`: [`SCRIPT`](https://cloud.google.com/bigquery/docs/reference/standard-sql/procedural-language). * `TRUNCATE_TABLE`: [`TRUNCATE TABLE`](https://cloud.google.com/bigquery/docs/reference/standard-sql/dml-syntax#truncate_table_statement) statement. * `CREATE_EXTERNAL_TABLE`: [`CREATE EXTERNAL TABLE`](https://cloud.google.com/bigquery/docs/reference/standard-sql/data-definition-language#create_external_table_statement) statement. * `EXPORT_DATA`: [`EXPORT DATA`](https://cloud.google.com/bigquery/docs/reference/standard-sql/other-statements#export_data_statement) statement. * `EXPORT_MODEL`: [`EXPORT MODEL`](https://cloud.google.com/bigquery-ml/docs/reference/standard-sql/bigqueryml-syntax-export-model) statement. * `LOAD_DATA`: [`LOAD DATA`](https://cloud.google.com/bigquery/docs/reference/standard-sql/other-statements#load_data_statement) statement. * `CALL`: [`CALL`](https://cloud.google.com/bigquery/docs/reference/standard-sql/procedural-language#call) statement.", +"readOnly": true, +"type": "string" +}, +"timeline": { +"description": "Output only. Describes a timeline of job execution.", +"items": { +"$ref": "QueryTimelineSample" +}, +"readOnly": true, +"type": "array" +}, +"totalBytesBilled": { +"description": "Output only. If the project is configured to use on-demand pricing, then this field contains the total bytes billed for the job. If the project is configured to use flat-rate pricing, then you are not billed for bytes and this field is informational only.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"totalBytesProcessed": { +"description": "Output only. Total bytes processed for the job.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"totalBytesProcessedAccuracy": { +"description": "Output only. For dry-run jobs, totalBytesProcessed is an estimate and this field specifies the accuracy of the estimate. Possible values can be: UNKNOWN: accuracy of the estimate is unknown. PRECISE: estimate is precise. LOWER_BOUND: estimate is lower bound of what the query would cost. UPPER_BOUND: estimate is upper bound of what the query would cost.", +"readOnly": true, +"type": "string" +}, +"totalPartitionsProcessed": { +"description": "Output only. Total number of partitions processed from all partitioned tables referenced in the job.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"totalServicesSkuSlotMs": { +"description": "Output only. Total slot milliseconds for the job that ran on external services and billed on the services SKU. This field is only populated for jobs that have external service costs, and is the total of the usage for costs whose billing method is `\"SERVICES_SKU\"`.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"totalSlotMs": { +"description": "Output only. Slot-milliseconds for the job.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"transferredBytes": { +"description": "Output only. Total bytes transferred for cross-cloud queries such as Cross Cloud Transfer and CREATE TABLE AS SELECT (CTAS).", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"undeclaredQueryParameters": { +"description": "Output only. GoogleSQL only: list of undeclared query parameters detected during a dry run validation.", +"items": { +"$ref": "QueryParameter" +}, +"readOnly": true, +"type": "array" +}, +"vectorSearchStatistics": { +"$ref": "VectorSearchStatistics", +"description": "Output only. Vector Search query specific statistics.", +"readOnly": true +} +}, +"type": "object" +}, +"JobStatistics3": { +"description": "Statistics for a load job.", +"id": "JobStatistics3", +"properties": { +"badRecords": { +"description": "Output only. The number of bad records encountered. Note that if the job has failed because of more bad records encountered than the maximum allowed in the load job configuration, then this number can be less than the total number of bad records present in the input data.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"inputFileBytes": { +"description": "Output only. Number of bytes of source data in a load job.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"inputFiles": { +"description": "Output only. Number of source files in a load job.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"outputBytes": { +"description": "Output only. Size of the loaded data in bytes. Note that while a load job is in the running state, this value may change.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"outputRows": { +"description": "Output only. Number of rows imported in a load job. Note that while an import job is in the running state, this value may change.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"timeline": { +"description": "Output only. Describes a timeline of job execution.", +"items": { +"$ref": "QueryTimelineSample" +}, +"readOnly": true, +"type": "array" +} +}, +"type": "object" +}, +"JobStatistics4": { +"description": "Statistics for an extract job.", +"id": "JobStatistics4", +"properties": { +"destinationUriFileCounts": { +"description": "Output only. Number of files per destination URI or URI pattern specified in the extract configuration. These values will be in the same order as the URIs specified in the 'destinationUris' field.", +"items": { +"format": "int64", +"type": "string" +}, +"readOnly": true, +"type": "array" +}, +"inputBytes": { +"description": "Output only. Number of user bytes extracted into the result. This is the byte count as computed by BigQuery for billing purposes and doesn't have any relationship with the number of actual result bytes extracted in the desired format.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"timeline": { +"description": "Output only. Describes a timeline of job execution.", +"items": { +"$ref": "QueryTimelineSample" +}, +"readOnly": true, +"type": "array" +} +}, +"type": "object" +}, +"JobStatistics5": { +"description": "Statistics for a copy job.", +"id": "JobStatistics5", +"properties": { +"copiedLogicalBytes": { +"description": "Output only. Number of logical bytes copied to the destination table.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"copiedRows": { +"description": "Output only. Number of rows copied to the destination table.", +"format": "int64", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"JobStatus": { +"id": "JobStatus", +"properties": { +"errorResult": { +"$ref": "ErrorProto", +"description": "Output only. Final error result of the job. If present, indicates that the job has completed and was unsuccessful.", +"readOnly": true +}, +"errors": { +"description": "Output only. The first errors encountered during the running of the job. The final message includes the number of errors that caused the process to stop. Errors here do not necessarily mean that the job has not completed or was unsuccessful.", +"items": { +"$ref": "ErrorProto" +}, +"readOnly": true, +"type": "array" +}, +"state": { +"description": "Output only. Running state of the job. Valid states include 'PENDING', 'RUNNING', and 'DONE'.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"JoinRestrictionPolicy": { +"description": "Represents privacy policy associated with \"join restrictions\". Join restriction gives data providers the ability to enforce joins on the 'join_allowed_columns' when data is queried from a privacy protected view.", +"id": "JoinRestrictionPolicy", +"properties": { +"joinAllowedColumns": { +"description": "Optional. The only columns that joins are allowed on. This field is must be specified for join_conditions JOIN_ANY and JOIN_ALL and it cannot be set for JOIN_BLOCKED.", +"items": { +"type": "string" +}, +"type": "array" +}, +"joinCondition": { +"description": "Optional. Specifies if a join is required or not on queries for the view. Default is JOIN_CONDITION_UNSPECIFIED.", +"enum": [ +"JOIN_CONDITION_UNSPECIFIED", +"JOIN_ANY", +"JOIN_ALL", +"JOIN_NOT_REQUIRED", +"JOIN_BLOCKED" +], +"enumDescriptions": [ +"A join is neither required nor restricted on any column. Default value.", +"A join is required on at least one of the specified columns.", +"A join is required on all specified columns.", +"A join is not required, but if present it is only permitted on 'join_allowed_columns'", +"Joins are blocked for all queries." +], +"type": "string" +} +}, +"type": "object" +}, +"JsonObject": { +"additionalProperties": { +"$ref": "JsonValue" +}, +"description": "Represents a single JSON object.", +"id": "JsonObject", +"type": "object" +}, +"JsonOptions": { +"description": "Json Options for load and make external tables.", +"id": "JsonOptions", +"properties": { +"encoding": { +"description": "Optional. The character encoding of the data. The supported values are UTF-8, UTF-16BE, UTF-16LE, UTF-32BE, and UTF-32LE. The default value is UTF-8.", +"type": "string" +} +}, +"type": "object" +}, +"JsonValue": { +"id": "JsonValue", +"type": "any" +}, +"LinkedDatasetMetadata": { +"description": "Metadata about the Linked Dataset.", +"id": "LinkedDatasetMetadata", +"properties": { +"linkState": { +"description": "Output only. Specifies whether Linked Dataset is currently in a linked state or not.", +"enum": [ +"LINK_STATE_UNSPECIFIED", +"LINKED", +"UNLINKED" +], +"enumDescriptions": [ +"The default value. Default to the LINKED state.", +"Normal Linked Dataset state. Data is queryable via the Linked Dataset.", +"Data publisher or owner has unlinked this Linked Dataset. It means you can no longer query or see the data in the Linked Dataset." +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"LinkedDatasetSource": { +"description": "A dataset source type which refers to another BigQuery dataset.", +"id": "LinkedDatasetSource", +"properties": { +"sourceDataset": { +"$ref": "DatasetReference", +"description": "The source dataset reference contains project numbers and not project ids." +} +}, +"type": "object" +}, +"ListModelsResponse": { +"description": "Response format for a single page when listing BigQuery ML models.", +"id": "ListModelsResponse", +"properties": { +"models": { +"description": "Models in the requested dataset. Only the following fields are populated: model_reference, model_type, creation_time, last_modified_time and labels.", +"items": { +"$ref": "Model" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A token to request the next page of results.", +"type": "string" +} +}, +"type": "object" +}, +"ListRoutinesResponse": { +"description": "Describes the format of a single result page when listing routines.", +"id": "ListRoutinesResponse", +"properties": { +"nextPageToken": { +"description": "A token to request the next page of results.", +"type": "string" +}, +"routines": { +"description": "Routines in the requested dataset. Unless read_mask is set in the request, only the following fields are populated: etag, project_id, dataset_id, routine_id, routine_type, creation_time, last_modified_time, language, and remote_function_options.", +"items": { +"$ref": "Routine" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListRowAccessPoliciesResponse": { +"description": "Response message for the ListRowAccessPolicies method.", +"id": "ListRowAccessPoliciesResponse", +"properties": { +"nextPageToken": { +"description": "A token to request the next page of results.", +"type": "string" +}, +"rowAccessPolicies": { +"description": "Row access policies on the requested table.", +"items": { +"$ref": "RowAccessPolicy" +}, +"type": "array" +} +}, +"type": "object" +}, +"LoadQueryStatistics": { +"description": "Statistics for a LOAD query.", +"id": "LoadQueryStatistics", +"properties": { +"badRecords": { +"description": "Output only. The number of bad records encountered while processing a LOAD query. Note that if the job has failed because of more bad records encountered than the maximum allowed in the load job configuration, then this number can be less than the total number of bad records present in the input data.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"bytesTransferred": { +"deprecated": true, +"description": "Output only. This field is deprecated. The number of bytes of source data copied over the network for a `LOAD` query. `transferred_bytes` has the canonical value for physical transferred bytes, which is used for BigQuery Omni billing.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"inputFileBytes": { +"description": "Output only. Number of bytes of source data in a LOAD query.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"inputFiles": { +"description": "Output only. Number of source files in a LOAD query.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"outputBytes": { +"description": "Output only. Size of the loaded data in bytes. Note that while a LOAD query is in the running state, this value may change.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"outputRows": { +"description": "Output only. Number of rows imported in a LOAD query. Note that while a LOAD query is in the running state, this value may change.", +"format": "int64", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"LocationMetadata": { +"description": "BigQuery-specific metadata about a location. This will be set on google.cloud.location.Location.metadata in Cloud Location API responses.", +"id": "LocationMetadata", +"properties": { +"legacyLocationId": { +"description": "The legacy BigQuery location ID, e.g. \u201cEU\u201d for the \u201ceurope\u201d location. This is for any API consumers that need the legacy \u201cUS\u201d and \u201cEU\u201d locations.", +"type": "string" +} +}, +"type": "object" +}, +"MaterializedView": { +"description": "A materialized view considered for a query job.", +"id": "MaterializedView", +"properties": { +"chosen": { +"description": "Whether the materialized view is chosen for the query. A materialized view can be chosen to rewrite multiple parts of the same query. If a materialized view is chosen to rewrite any part of the query, then this field is true, even if the materialized view was not chosen to rewrite others parts.", +"type": "boolean" +}, +"estimatedBytesSaved": { +"description": "If present, specifies a best-effort estimation of the bytes saved by using the materialized view rather than its base tables.", +"format": "int64", +"type": "string" +}, +"rejectedReason": { +"description": "If present, specifies the reason why the materialized view was not chosen for the query.", +"enum": [ +"REJECTED_REASON_UNSPECIFIED", +"NO_DATA", +"COST", +"BASE_TABLE_TRUNCATED", +"BASE_TABLE_DATA_CHANGE", +"BASE_TABLE_PARTITION_EXPIRATION_CHANGE", +"BASE_TABLE_EXPIRED_PARTITION", +"BASE_TABLE_INCOMPATIBLE_METADATA_CHANGE", +"TIME_ZONE", +"OUT_OF_TIME_TRAVEL_WINDOW", +"BASE_TABLE_FINE_GRAINED_SECURITY_POLICY", +"BASE_TABLE_TOO_STALE" +], +"enumDescriptions": [ +"Default unspecified value.", +"View has no cached data because it has not refreshed yet.", +"The estimated cost of the view is more expensive than another view or the base table. Note: The estimate cost might not match the billed cost.", +"View has no cached data because a base table is truncated.", +"View is invalidated because of a data change in one or more base tables. It could be any recent change if the [`maxStaleness`](https://cloud.google.com/bigquery/docs/reference/rest/v2/tables#Table.FIELDS.max_staleness) option is not set for the view, or otherwise any change outside of the staleness window.", +"View is invalidated because a base table's partition expiration has changed.", +"View is invalidated because a base table's partition has expired.", +"View is invalidated because a base table has an incompatible metadata change.", +"View is invalidated because it was refreshed with a time zone other than that of the current job.", +"View is outside the time travel window.", +"View is inaccessible to the user because of a fine-grained security policy on one of its base tables.", +"One of the view's base tables is too stale. For example, the cached metadata of a BigLake external table needs to be updated." +], +"type": "string" +}, +"tableReference": { +"$ref": "TableReference", +"description": "The candidate materialized view." +} +}, +"type": "object" +}, +"MaterializedViewDefinition": { +"description": "Definition and configuration of a materialized view.", +"id": "MaterializedViewDefinition", +"properties": { +"allowNonIncrementalDefinition": { +"description": "Optional. This option declares the intention to construct a materialized view that isn't refreshed incrementally. Non-incremental materialized views support an expanded range of SQL queries. The `allow_non_incremental_definition` option can't be changed after the materialized view is created.", +"type": "boolean" +}, +"enableRefresh": { +"description": "Optional. Enable automatic refresh of the materialized view when the base table is updated. The default value is \"true\".", +"type": "boolean" +}, +"lastRefreshTime": { +"description": "Output only. The time when this materialized view was last refreshed, in milliseconds since the epoch.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"maxStaleness": { +"description": "[Optional] Max staleness of data that could be returned when materizlized view is queried (formatted as Google SQL Interval type).", +"format": "byte", +"type": "string" +}, +"query": { +"description": "Required. A query whose results are persisted.", +"type": "string" +}, +"refreshIntervalMs": { +"description": "Optional. The maximum frequency at which this materialized view will be refreshed. The default value is \"1800000\" (30 minutes).", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"MaterializedViewStatistics": { +"description": "Statistics of materialized views considered in a query job.", +"id": "MaterializedViewStatistics", +"properties": { +"materializedView": { +"description": "Materialized views considered for the query job. Only certain materialized views are used. For a detailed list, see the child message. If many materialized views are considered, then the list might be incomplete.", +"items": { +"$ref": "MaterializedView" +}, +"type": "array" +} +}, +"type": "object" +}, +"MaterializedViewStatus": { +"description": "Status of a materialized view. The last refresh timestamp status is omitted here, but is present in the MaterializedViewDefinition message.", +"id": "MaterializedViewStatus", +"properties": { +"lastRefreshStatus": { +"$ref": "ErrorProto", +"description": "Output only. Error result of the last automatic refresh. If present, indicates that the last automatic refresh was unsuccessful.", +"readOnly": true +}, +"refreshWatermark": { +"description": "Output only. Refresh watermark of materialized view. The base tables' data were collected into the materialized view cache until this time.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"MetadataCacheStatistics": { +"description": "Statistics for metadata caching in queried tables.", +"id": "MetadataCacheStatistics", +"properties": { +"tableMetadataCacheUsage": { +"description": "Set for the Metadata caching eligible tables referenced in the query.", +"items": { +"$ref": "TableMetadataCacheUsage" +}, +"type": "array" +} +}, +"type": "object" +}, +"MlStatistics": { +"description": "Job statistics specific to a BigQuery ML training job.", +"id": "MlStatistics", +"properties": { +"hparamTrials": { +"description": "Output only. Trials of a [hyperparameter tuning job](https://cloud.google.com/bigquery-ml/docs/reference/standard-sql/bigqueryml-syntax-hp-tuning-overview) sorted by trial_id.", +"items": { +"$ref": "HparamTuningTrial" +}, +"readOnly": true, +"type": "array" +}, +"iterationResults": { +"description": "Results for all completed iterations. Empty for [hyperparameter tuning jobs](https://cloud.google.com/bigquery-ml/docs/reference/standard-sql/bigqueryml-syntax-hp-tuning-overview).", +"items": { +"$ref": "IterationResult" +}, +"type": "array" +}, +"maxIterations": { +"description": "Output only. Maximum number of iterations specified as max_iterations in the 'CREATE MODEL' query. The actual number of iterations may be less than this number due to early stop.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"modelType": { +"description": "Output only. The type of the model that is being trained.", +"enum": [ +"MODEL_TYPE_UNSPECIFIED", +"LINEAR_REGRESSION", +"LOGISTIC_REGRESSION", +"KMEANS", +"MATRIX_FACTORIZATION", +"DNN_CLASSIFIER", +"TENSORFLOW", +"DNN_REGRESSOR", +"XGBOOST", +"BOOSTED_TREE_REGRESSOR", +"BOOSTED_TREE_CLASSIFIER", +"ARIMA", +"AUTOML_REGRESSOR", +"AUTOML_CLASSIFIER", +"PCA", +"DNN_LINEAR_COMBINED_CLASSIFIER", +"DNN_LINEAR_COMBINED_REGRESSOR", +"AUTOENCODER", +"ARIMA_PLUS", +"ARIMA_PLUS_XREG", +"RANDOM_FOREST_REGRESSOR", +"RANDOM_FOREST_CLASSIFIER", +"TENSORFLOW_LITE", +"ONNX", +"TRANSFORM_ONLY", +"CONTRIBUTION_ANALYSIS" +], +"enumDescriptions": [ +"Default value.", +"Linear regression model.", +"Logistic regression based classification model.", +"K-means clustering model.", +"Matrix factorization model.", +"DNN classifier model.", +"An imported TensorFlow model.", +"DNN regressor model.", +"An imported XGBoost model.", +"Boosted tree regressor model.", +"Boosted tree classifier model.", +"ARIMA model.", +"AutoML Tables regression model.", +"AutoML Tables classification model.", +"Prinpical Component Analysis model.", +"Wide-and-deep classifier model.", +"Wide-and-deep regressor model.", +"Autoencoder model.", +"New name for the ARIMA model.", +"ARIMA with external regressors.", +"Random forest regressor model.", +"Random forest classifier model.", +"An imported TensorFlow Lite model.", +"An imported ONNX model.", +"Model to capture the columns and logic in the TRANSFORM clause along with statistics useful for ML analytic functions.", +"The contribution analysis model." +], +"readOnly": true, +"type": "string" +}, +"trainingType": { +"description": "Output only. Training type of the job.", +"enum": [ +"TRAINING_TYPE_UNSPECIFIED", +"SINGLE_TRAINING", +"HPARAM_TUNING" +], +"enumDescriptions": [ +"Unspecified training type.", +"Single training with fixed parameter space.", +"[Hyperparameter tuning training](https://cloud.google.com/bigquery-ml/docs/reference/standard-sql/bigqueryml-syntax-hp-tuning-overview)." +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"Model": { +"id": "Model", +"properties": { +"bestTrialId": { +"deprecated": true, +"description": "The best trial_id across all training runs.", +"format": "int64", +"type": "string" +}, +"creationTime": { +"description": "Output only. The time when this model was created, in millisecs since the epoch.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"defaultTrialId": { +"description": "Output only. The default trial_id to use in TVFs when the trial_id is not passed in. For single-objective [hyperparameter tuning](https://cloud.google.com/bigquery-ml/docs/reference/standard-sql/bigqueryml-syntax-hp-tuning-overview) models, this is the best trial ID. For multi-objective [hyperparameter tuning](https://cloud.google.com/bigquery-ml/docs/reference/standard-sql/bigqueryml-syntax-hp-tuning-overview) models, this is the smallest trial ID among all Pareto optimal trials.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"description": { +"description": "Optional. A user-friendly description of this model.", +"type": "string" +}, +"encryptionConfiguration": { +"$ref": "EncryptionConfiguration", +"description": "Custom encryption configuration (e.g., Cloud KMS keys). This shows the encryption configuration of the model data while stored in BigQuery storage. This field can be used with PatchModel to update encryption key for an already encrypted model." +}, +"etag": { +"description": "Output only. A hash of this resource.", +"readOnly": true, +"type": "string" +}, +"expirationTime": { +"description": "Optional. The time when this model expires, in milliseconds since the epoch. If not present, the model will persist indefinitely. Expired models will be deleted and their storage reclaimed. The defaultTableExpirationMs property of the encapsulating dataset can be used to set a default expirationTime on newly created models.", +"format": "int64", +"type": "string" +}, +"featureColumns": { +"description": "Output only. Input feature columns for the model inference. If the model is trained with TRANSFORM clause, these are the input of the TRANSFORM clause.", +"items": { +"$ref": "StandardSqlField" +}, +"readOnly": true, +"type": "array" +}, +"friendlyName": { +"description": "Optional. A descriptive name for this model.", +"type": "string" +}, +"hparamSearchSpaces": { +"$ref": "HparamSearchSpaces", +"description": "Output only. All hyperparameter search spaces in this model.", +"readOnly": true +}, +"hparamTrials": { +"description": "Output only. Trials of a [hyperparameter tuning](https://cloud.google.com/bigquery-ml/docs/reference/standard-sql/bigqueryml-syntax-hp-tuning-overview) model sorted by trial_id.", +"items": { +"$ref": "HparamTuningTrial" +}, +"readOnly": true, +"type": "array" +}, +"labelColumns": { +"description": "Output only. Label columns that were used to train this model. The output of the model will have a \"predicted_\" prefix to these columns.", +"items": { +"$ref": "StandardSqlField" +}, +"readOnly": true, +"type": "array" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "The labels associated with this model. You can use these to organize and group your models. Label keys and values can be no longer than 63 characters, can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. Label values are optional. Label keys must start with a letter and each label in the list must have a different key.", +"type": "object" +}, +"lastModifiedTime": { +"description": "Output only. The time when this model was last modified, in millisecs since the epoch.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"location": { +"description": "Output only. The geographic location where the model resides. This value is inherited from the dataset.", +"readOnly": true, +"type": "string" +}, +"modelReference": { +"$ref": "ModelReference", +"description": "Required. Unique identifier for this model." +}, +"modelType": { +"description": "Output only. Type of the model resource.", +"enum": [ +"MODEL_TYPE_UNSPECIFIED", +"LINEAR_REGRESSION", +"LOGISTIC_REGRESSION", +"KMEANS", +"MATRIX_FACTORIZATION", +"DNN_CLASSIFIER", +"TENSORFLOW", +"DNN_REGRESSOR", +"XGBOOST", +"BOOSTED_TREE_REGRESSOR", +"BOOSTED_TREE_CLASSIFIER", +"ARIMA", +"AUTOML_REGRESSOR", +"AUTOML_CLASSIFIER", +"PCA", +"DNN_LINEAR_COMBINED_CLASSIFIER", +"DNN_LINEAR_COMBINED_REGRESSOR", +"AUTOENCODER", +"ARIMA_PLUS", +"ARIMA_PLUS_XREG", +"RANDOM_FOREST_REGRESSOR", +"RANDOM_FOREST_CLASSIFIER", +"TENSORFLOW_LITE", +"ONNX", +"TRANSFORM_ONLY", +"CONTRIBUTION_ANALYSIS" +], +"enumDescriptions": [ +"Default value.", +"Linear regression model.", +"Logistic regression based classification model.", +"K-means clustering model.", +"Matrix factorization model.", +"DNN classifier model.", +"An imported TensorFlow model.", +"DNN regressor model.", +"An imported XGBoost model.", +"Boosted tree regressor model.", +"Boosted tree classifier model.", +"ARIMA model.", +"AutoML Tables regression model.", +"AutoML Tables classification model.", +"Prinpical Component Analysis model.", +"Wide-and-deep classifier model.", +"Wide-and-deep regressor model.", +"Autoencoder model.", +"New name for the ARIMA model.", +"ARIMA with external regressors.", +"Random forest regressor model.", +"Random forest classifier model.", +"An imported TensorFlow Lite model.", +"An imported ONNX model.", +"Model to capture the columns and logic in the TRANSFORM clause along with statistics useful for ML analytic functions.", +"The contribution analysis model." +], +"readOnly": true, +"type": "string" +}, +"optimalTrialIds": { +"description": "Output only. For single-objective [hyperparameter tuning](https://cloud.google.com/bigquery-ml/docs/reference/standard-sql/bigqueryml-syntax-hp-tuning-overview) models, it only contains the best trial. For multi-objective [hyperparameter tuning](https://cloud.google.com/bigquery-ml/docs/reference/standard-sql/bigqueryml-syntax-hp-tuning-overview) models, it contains all Pareto optimal trials sorted by trial_id.", +"items": { +"format": "int64", +"type": "string" +}, +"readOnly": true, +"type": "array" +}, +"remoteModelInfo": { +"$ref": "RemoteModelInfo", +"description": "Output only. Remote model info", +"readOnly": true +}, +"trainingRuns": { +"description": "Information for all training runs in increasing order of start_time.", +"items": { +"$ref": "TrainingRun" +}, +"type": "array" +}, +"transformColumns": { +"description": "Output only. This field will be populated if a TRANSFORM clause was used to train a model. TRANSFORM clause (if used) takes feature_columns as input and outputs transform_columns. transform_columns then are used to train the model.", +"items": { +"$ref": "TransformColumn" +}, +"readOnly": true, +"type": "array" +} +}, +"type": "object" +}, +"ModelDefinition": { +"id": "ModelDefinition", +"properties": { +"modelOptions": { +"description": "Deprecated.", +"properties": { +"labels": { +"items": { +"type": "string" +}, +"type": "array" +}, +"lossType": { +"type": "string" +}, +"modelType": { +"type": "string" +} +}, +"type": "object" +}, +"trainingRuns": { +"description": "Deprecated.", +"items": { +"$ref": "BqmlTrainingRun" +}, +"type": "array" +} +}, +"type": "object" +}, +"ModelExtractOptions": { +"description": "Options related to model extraction.", +"id": "ModelExtractOptions", +"properties": { +"trialId": { +"description": "The 1-based ID of the trial to be exported from a hyperparameter tuning model. If not specified, the trial with id = [Model](https://cloud.google.com/bigquery/docs/reference/rest/v2/models#resource:-model).defaultTrialId is exported. This field is ignored for models not trained with hyperparameter tuning.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"ModelReference": { +"description": "Id path of a model.", +"id": "ModelReference", +"properties": { +"datasetId": { +"description": "Required. The ID of the dataset containing this model.", +"type": "string" +}, +"modelId": { +"description": "Required. The ID of the model. The ID must contain only letters (a-z, A-Z), numbers (0-9), or underscores (_). The maximum length is 1,024 characters.", +"type": "string" +}, +"projectId": { +"description": "Required. The ID of the project containing this model.", +"type": "string" +} +}, +"type": "object" +}, +"MultiClassClassificationMetrics": { +"description": "Evaluation metrics for multi-class classification/classifier models.", +"id": "MultiClassClassificationMetrics", +"properties": { +"aggregateClassificationMetrics": { +"$ref": "AggregateClassificationMetrics", +"description": "Aggregate classification metrics." +}, +"confusionMatrixList": { +"description": "Confusion matrix at different thresholds.", +"items": { +"$ref": "ConfusionMatrix" +}, +"type": "array" +} +}, +"type": "object" +}, +"ParquetOptions": { +"description": "Parquet Options for load and make external tables.", +"id": "ParquetOptions", +"properties": { +"enableListInference": { +"description": "Optional. Indicates whether to use schema inference specifically for Parquet LIST logical type.", +"type": "boolean" +}, +"enumAsString": { +"description": "Optional. Indicates whether to infer Parquet ENUM logical type as STRING instead of BYTES by default.", +"type": "boolean" +}, +"mapTargetType": { +"description": "Optional. Indicates how to represent a Parquet map if present.", +"enum": [ +"MAP_TARGET_TYPE_UNSPECIFIED", +"ARRAY_OF_STRUCT" +], +"enumDescriptions": [ +"In this mode, the map will have the following schema: struct map_field_name { repeated struct key_value { key value } }.", +"In this mode, the map will have the following schema: repeated struct map_field_name { key value }." +], +"type": "string" +} +}, +"type": "object" +}, +"PartitionSkew": { +"description": "Partition skew detailed information.", +"id": "PartitionSkew", +"properties": { +"skewSources": { +"description": "Output only. Source stages which produce skewed data.", +"items": { +"$ref": "SkewSource" +}, +"readOnly": true, +"type": "array" +} +}, +"type": "object" +}, +"PartitionedColumn": { +"description": "The partitioning column information.", +"id": "PartitionedColumn", +"properties": { +"field": { +"description": "Required. The name of the partition column.", +"type": "string" +} +}, +"type": "object" +}, +"PartitioningDefinition": { +"description": "The partitioning information, which includes managed table, external table and metastore partitioned table partition information.", +"id": "PartitioningDefinition", +"properties": { +"partitionedColumn": { +"description": "Optional. Details about each partitioning column. This field is output only for all partitioning types other than metastore partitioned tables. BigQuery native tables only support 1 partitioning column. Other table types may support 0, 1 or more partitioning columns. For metastore partitioned tables, the order must match the definition order in the Hive Metastore, where it must match the physical layout of the table. For example, CREATE TABLE a_table(id BIGINT, name STRING) PARTITIONED BY (city STRING, state STRING). In this case the values must be ['city', 'state'] in that order.", +"items": { +"$ref": "PartitionedColumn" +}, +"type": "array" +} +}, +"type": "object" +}, +"PerformanceInsights": { +"description": "Performance insights for the job.", +"id": "PerformanceInsights", +"properties": { +"avgPreviousExecutionMs": { +"description": "Output only. Average execution ms of previous runs. Indicates the job ran slow compared to previous executions. To find previous executions, use INFORMATION_SCHEMA tables and filter jobs with same query hash.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"stagePerformanceChangeInsights": { +"description": "Output only. Query stage performance insights compared to previous runs, for diagnosing performance regression.", +"items": { +"$ref": "StagePerformanceChangeInsight" +}, +"readOnly": true, +"type": "array" +}, +"stagePerformanceStandaloneInsights": { +"description": "Output only. Standalone query stage performance insights, for exploring potential improvements.", +"items": { +"$ref": "StagePerformanceStandaloneInsight" +}, +"readOnly": true, +"type": "array" +} +}, +"type": "object" +}, +"Policy": { +"description": "An Identity and Access Management (IAM) policy, which specifies access controls for Google Cloud resources. A `Policy` is a collection of `bindings`. A `binding` binds one or more `members`, or principals, to a single `role`. Principals can be user accounts, service accounts, Google groups, and domains (such as G Suite). A `role` is a named list of permissions; each `role` can be an IAM predefined role or a user-created custom role. For some types of Google Cloud resources, a `binding` can also specify a `condition`, which is a logical expression that allows access to a resource only if the expression evaluates to `true`. A condition can add constraints based on attributes of the request, the resource, or both. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). **JSON example:** ``` { \"bindings\": [ { \"role\": \"roles/resourcemanager.organizationAdmin\", \"members\": [ \"user:mike@example.com\", \"group:admins@example.com\", \"domain:google.com\", \"serviceAccount:my-project-id@appspot.gserviceaccount.com\" ] }, { \"role\": \"roles/resourcemanager.organizationViewer\", \"members\": [ \"user:eve@example.com\" ], \"condition\": { \"title\": \"expirable access\", \"description\": \"Does not grant access after Sep 2020\", \"expression\": \"request.time < timestamp('2020-10-01T00:00:00.000Z')\", } } ], \"etag\": \"BwWWja0YfJA=\", \"version\": 3 } ``` **YAML example:** ``` bindings: - members: - user:mike@example.com - group:admins@example.com - domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.com role: roles/resourcemanager.organizationViewer condition: title: expirable access description: Does not grant access after Sep 2020 expression: request.time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 ``` For a description of IAM and its features, see the [IAM documentation](https://cloud.google.com/iam/docs/).", +"id": "Policy", +"properties": { +"auditConfigs": { +"description": "Specifies cloud audit logging configuration for this policy.", +"items": { +"$ref": "AuditConfig" +}, +"type": "array" +}, +"bindings": { +"description": "Associates a list of `members`, or principals, with a `role`. Optionally, may specify a `condition` that determines how and when the `bindings` are applied. Each of the `bindings` must contain at least one principal. The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250 of these principals can be Google groups. Each occurrence of a principal counts towards these limits. For example, if the `bindings` grant 50 different roles to `user:alice@example.com`, and not to any other principal, then you can add another 1,450 principals to the `bindings` in the `Policy`.", +"items": { +"$ref": "Binding" +}, +"type": "array" +}, +"etag": { +"description": "`etag` is used for optimistic concurrency control as a way to help prevent simultaneous updates of a policy from overwriting each other. It is strongly suggested that systems make use of the `etag` in the read-modify-write cycle to perform policy updates in order to avoid race conditions: An `etag` is returned in the response to `getIamPolicy`, and systems are expected to put that etag in the request to `setIamPolicy` to ensure that their change will be applied to the same version of the policy. **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost.", +"format": "byte", +"type": "string" +}, +"version": { +"description": "Specifies the format of the policy. Valid values are `0`, `1`, and `3`. Requests that specify an invalid value are rejected. Any operation that affects conditional role bindings must specify version `3`. This requirement applies to the following operations: * Getting a policy that includes a conditional role binding * Adding a conditional role binding to a policy * Changing a conditional role binding in a policy * Removing any role binding, with or without a condition, from a policy that includes conditions **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost. If a policy does not include any conditions, operations on that policy may specify any valid version or leave the field unset. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"PrincipalComponentInfo": { +"description": "Principal component infos, used only for eigen decomposition based models, e.g., PCA. Ordered by explained_variance in the descending order.", +"id": "PrincipalComponentInfo", +"properties": { +"cumulativeExplainedVarianceRatio": { +"description": "The explained_variance is pre-ordered in the descending order to compute the cumulative explained variance ratio.", +"format": "double", +"type": "number" +}, +"explainedVariance": { +"description": "Explained variance by this principal component, which is simply the eigenvalue.", +"format": "double", +"type": "number" +}, +"explainedVarianceRatio": { +"description": "Explained_variance over the total explained variance.", +"format": "double", +"type": "number" +}, +"principalComponentId": { +"description": "Id of the principal component.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"PrivacyPolicy": { +"description": "Represents privacy policy that contains the privacy requirements specified by the data owner. Currently, this is only supported on views.", +"id": "PrivacyPolicy", +"properties": { +"aggregationThresholdPolicy": { +"$ref": "AggregationThresholdPolicy", +"description": "Optional. Policy used for aggregation thresholds." +}, +"differentialPrivacyPolicy": { +"$ref": "DifferentialPrivacyPolicy", +"description": "Optional. Policy used for differential privacy." +}, +"joinRestrictionPolicy": { +"$ref": "JoinRestrictionPolicy", +"description": "Optional. Join restriction policy is outside of the one of policies, since this policy can be set along with other policies. This policy gives data providers the ability to enforce joins on the 'join_allowed_columns' when data is queried from a privacy protected view." +} +}, +"type": "object" +}, +"ProjectList": { +"description": "Response object of ListProjects", +"id": "ProjectList", +"properties": { +"etag": { +"description": "A hash of the page of results.", +"type": "string" +}, +"kind": { +"default": "bigquery#projectList", +"description": "The resource type of the response.", +"type": "string" +}, +"nextPageToken": { +"description": "Use this token to request the next page of results.", +"type": "string" +}, +"projects": { +"description": "Projects to which the user has at least READ access.", +"items": { +"description": "Information about a single project.", +"properties": { +"friendlyName": { +"description": "A descriptive name for this project. A wrapper is used here because friendlyName can be set to the empty string.", +"type": "string" +}, +"id": { +"description": "An opaque ID of this project.", +"type": "string" +}, +"kind": { +"description": "The resource type.", +"type": "string" +}, +"numericId": { +"description": "The numeric ID of this project.", +"format": "uint64", +"type": "string" +}, +"projectReference": { +"$ref": "ProjectReference", +"description": "A unique reference to this project." +} +}, +"type": "object" +}, +"type": "array" +}, +"totalItems": { +"description": "The total number of projects in the page. A wrapper is used here because the field should still be in the response when the value is 0.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"ProjectReference": { +"description": "A unique reference to a project.", +"id": "ProjectReference", +"properties": { +"projectId": { +"description": "Required. ID of the project. Can be either the numeric ID or the assigned ID of the project.", +"type": "string" +} +}, +"type": "object" +}, +"PruningStats": { +"description": "The column metadata index pruning statistics.", +"id": "PruningStats", +"properties": { +"postCmetaPruningParallelInputCount": { +"description": "The number of parallel inputs matched.", +"format": "int64", +"type": "string" +}, +"postCmetaPruningPartitionCount": { +"description": "The number of partitions matched.", +"format": "int64", +"type": "string" +}, +"preCmetaPruningParallelInputCount": { +"description": "The number of parallel inputs scanned.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"PythonOptions": { +"description": "Options for a user-defined Python function.", +"id": "PythonOptions", +"properties": { +"entryPoint": { +"description": "Required. The name of the function defined in Python code as the entry point when the Python UDF is invoked.", +"type": "string" +}, +"packages": { +"description": "Optional. A list of Python package names along with versions to be installed. Example: [\"pandas>=2.1\", \"google-cloud-translate==3.11\"]. For more information, see [Use third-party packages](https://cloud.google.com/bigquery/docs/user-defined-functions-python#third-party-packages).", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"QueryInfo": { +"description": "Query optimization information for a QUERY job.", +"id": "QueryInfo", +"properties": { +"optimizationDetails": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"description": "Output only. Information about query optimizations.", +"readOnly": true, +"type": "object" +} +}, +"type": "object" +}, +"QueryParameter": { +"description": "A parameter given to a query.", +"id": "QueryParameter", +"properties": { +"name": { +"description": "Optional. If unset, this is a positional parameter. Otherwise, should be unique within a query.", +"type": "string" +}, +"parameterType": { +"$ref": "QueryParameterType", +"description": "Required. The type of this parameter." +}, +"parameterValue": { +"$ref": "QueryParameterValue", +"description": "Required. The value of this parameter." +} +}, +"type": "object" +}, +"QueryParameterType": { +"description": "The type of a query parameter.", +"id": "QueryParameterType", +"properties": { +"arrayType": { +"$ref": "QueryParameterType", +"description": "Optional. The type of the array's elements, if this is an array." +}, +"rangeElementType": { +"$ref": "QueryParameterType", +"description": "Optional. The element type of the range, if this is a range." +}, +"structTypes": { +"description": "Optional. The types of the fields of this struct, in order, if this is a struct.", +"items": { +"description": "The type of a struct parameter.", +"properties": { +"description": { +"description": "Optional. Human-oriented description of the field.", +"type": "string" +}, +"name": { +"description": "Optional. The name of this field.", +"type": "string" +}, +"type": { +"$ref": "QueryParameterType", +"description": "Required. The type of this field." +} +}, +"type": "object" +}, +"type": "array" +}, +"timestampPrecision": { +"default": "6", +"description": "Optional. Precision (maximum number of total digits in base 10) for seconds of TIMESTAMP type. Possible values include: * 6 (Default, for TIMESTAMP type with microsecond precision) * 12 (For TIMESTAMP type with picosecond precision)", +"format": "int64", +"type": "string" +}, +"type": { +"description": "Required. The top level type of this field.", +"type": "string" +} +}, +"type": "object" +}, +"QueryParameterValue": { +"description": "The value of a query parameter.", +"id": "QueryParameterValue", +"properties": { +"arrayValues": { +"description": "Optional. The array values, if this is an array type.", +"items": { +"$ref": "QueryParameterValue" +}, +"type": "array" +}, +"rangeValue": { +"$ref": "RangeValue", +"description": "Optional. The range value, if this is a range type." +}, +"structValues": { +"additionalProperties": { +"$ref": "QueryParameterValue" +}, +"description": "The struct field values.", +"type": "object" +}, +"value": { +"description": "Optional. The value of this value, if a simple scalar type.", +"type": "string" +} +}, +"type": "object" +}, +"QueryRequest": { +"description": "Describes the format of the jobs.query request.", +"id": "QueryRequest", +"properties": { +"connectionProperties": { +"description": "Optional. Connection properties which can modify the query behavior.", +"items": { +"$ref": "ConnectionProperty" +}, +"type": "array" +}, +"continuous": { +"description": "[Optional] Specifies whether the query should be executed as a continuous query. The default value is false.", +"type": "boolean" +}, +"createSession": { +"description": "Optional. If true, creates a new session using a randomly generated session_id. If false, runs query with an existing session_id passed in ConnectionProperty, otherwise runs query in non-session mode. The session location will be set to QueryRequest.location if it is present, otherwise it's set to the default location based on existing routing logic.", +"type": "boolean" +}, +"defaultDataset": { +"$ref": "DatasetReference", +"description": "Optional. Specifies the default datasetId and projectId to assume for any unqualified table names in the query. If not set, all table names in the query string must be qualified in the format 'datasetId.tableId'." +}, +"destinationEncryptionConfiguration": { +"$ref": "EncryptionConfiguration", +"description": "Optional. Custom encryption configuration (e.g., Cloud KMS keys)" +}, +"dryRun": { +"description": "Optional. If set to true, BigQuery doesn't run the job. Instead, if the query is valid, BigQuery returns statistics about the job such as how many bytes would be processed. If the query is invalid, an error returns. The default value is false.", +"type": "boolean" +}, +"formatOptions": { +"$ref": "DataFormatOptions", +"description": "Optional. Output format adjustments." +}, +"jobCreationMode": { +"description": "Optional. If not set, jobs are always required. If set, the query request will follow the behavior described JobCreationMode.", +"enum": [ +"JOB_CREATION_MODE_UNSPECIFIED", +"JOB_CREATION_REQUIRED", +"JOB_CREATION_OPTIONAL" +], +"enumDescriptions": [ +"If unspecified JOB_CREATION_REQUIRED is the default.", +"Default. Job creation is always required.", +"Job creation is optional. Returning immediate results is prioritized. BigQuery will automatically determine if a Job needs to be created. The conditions under which BigQuery can decide to not create a Job are subject to change. If Job creation is required, JOB_CREATION_REQUIRED mode should be used, which is the default." +], +"type": "string" +}, +"jobTimeoutMs": { +"description": "Optional. Job timeout in milliseconds. If this time limit is exceeded, BigQuery will attempt to stop a longer job, but may not always succeed in canceling it before the job completes. For example, a job that takes more than 60 seconds to complete has a better chance of being stopped than a job that takes 10 seconds to complete. This timeout applies to the query even if a job does not need to be created.", +"format": "int64", +"type": "string" +}, +"kind": { +"default": "bigquery#queryRequest", +"description": "The resource type of the request.", +"type": "string" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. The labels associated with this query. Labels can be used to organize and group query jobs. Label keys and values can be no longer than 63 characters, can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. Label keys must start with a letter and each label in the list must have a different key.", +"type": "object" +}, +"location": { +"description": "The geographic location where the job should run. For more information, see how to [specify locations](https://cloud.google.com/bigquery/docs/locations#specify_locations).", +"type": "string" +}, +"maxResults": { +"description": "Optional. The maximum number of rows of data to return per page of results. Setting this flag to a small value such as 1000 and then paging through results might improve reliability when the query result set is large. In addition to this limit, responses are also limited to 10 MB. By default, there is no maximum row count, and only the byte limit applies.", +"format": "uint32", +"type": "integer" +}, +"maxSlots": { +"description": "Optional. A target limit on the rate of slot consumption by this query. If set to a value > 0, BigQuery will attempt to limit the rate of slot consumption by this query to keep it below the configured limit, even if the query is eligible for more slots based on fair scheduling. The unused slots will be available for other jobs and queries to use. Note: This feature is not yet generally available.", +"format": "int32", +"type": "integer" +}, +"maximumBytesBilled": { +"description": "Optional. Limits the bytes billed for this query. Queries with bytes billed above this limit will fail (without incurring a charge). If unspecified, the project default is used.", +"format": "int64", +"type": "string" +}, +"parameterMode": { +"description": "GoogleSQL only. Set to POSITIONAL to use positional (?) query parameters or to NAMED to use named (@myparam) query parameters in this query.", +"type": "string" +}, +"preserveNulls": { +"deprecated": true, +"description": "This property is deprecated.", +"type": "boolean" +}, +"query": { +"description": "Required. A query string to execute, using Google Standard SQL or legacy SQL syntax. Example: \"SELECT COUNT(f1) FROM myProjectId.myDatasetId.myTableId\".", +"type": "string" +}, +"queryParameters": { +"description": "Query parameters for GoogleSQL queries.", +"items": { +"$ref": "QueryParameter" +}, +"type": "array" +}, +"requestId": { +"description": "Optional. A unique user provided identifier to ensure idempotent behavior for queries. Note that this is different from the job_id. It has the following properties: 1. It is case-sensitive, limited to up to 36 ASCII characters. A UUID is recommended. 2. Read only queries can ignore this token since they are nullipotent by definition. 3. For the purposes of idempotency ensured by the request_id, a request is considered duplicate of another only if they have the same request_id and are actually duplicates. When determining whether a request is a duplicate of another request, all parameters in the request that may affect the result are considered. For example, query, connection_properties, query_parameters, use_legacy_sql are parameters that affect the result and are considered when determining whether a request is a duplicate, but properties like timeout_ms don't affect the result and are thus not considered. Dry run query requests are never considered duplicate of another request. 4. When a duplicate mutating query request is detected, it returns: a. the results of the mutation if it completes successfully within the timeout. b. the running operation if it is still in progress at the end of the timeout. 5. Its lifetime is limited to 15 minutes. In other words, if two requests are sent with the same request_id, but more than 15 minutes apart, idempotency is not guaranteed.", +"type": "string" +}, +"reservation": { +"description": "Optional. The reservation that jobs.query request would use. User can specify a reservation to execute the job.query. The expected format is `projects/{project}/locations/{location}/reservations/{reservation}`.", +"type": "string" +}, +"timeoutMs": { +"description": "Optional. Optional: Specifies the maximum amount of time, in milliseconds, that the client is willing to wait for the query to complete. By default, this limit is 10 seconds (10,000 milliseconds). If the query is complete, the jobComplete field in the response is true. If the query has not yet completed, jobComplete is false. You can request a longer timeout period in the timeoutMs field. However, the call is not guaranteed to wait for the specified timeout; it typically returns after around 200 seconds (200,000 milliseconds), even if the query is not complete. If jobComplete is false, you can continue to wait for the query to complete by calling the getQueryResults method until the jobComplete field in the getQueryResults response is true.", +"format": "uint32", +"type": "integer" +}, +"useLegacySql": { +"default": "true", +"description": "Specifies whether to use BigQuery's legacy SQL dialect for this query. The default value is true. If set to false, the query uses BigQuery's [GoogleSQL](https://docs.cloud.google.com/bigquery/docs/introduction-sql). When useLegacySql is set to false, the value of flattenResults is ignored; query will be run as if flattenResults is false.", +"type": "boolean" +}, +"useQueryCache": { +"default": "true", +"description": "Optional. Whether to look for the result in the query cache. The query cache is a best-effort cache that will be flushed whenever tables in the query are modified. The default value is true.", +"type": "boolean" +}, +"writeIncrementalResults": { +"description": "Optional. This is only supported for SELECT query. If set, the query is allowed to write results incrementally to the temporary result table. This may incur a performance penalty. This option cannot be used with Legacy SQL. This feature is not yet available.", +"type": "boolean" +} +}, +"type": "object" +}, +"QueryResponse": { +"id": "QueryResponse", +"properties": { +"cacheHit": { +"description": "Whether the query result was fetched from the query cache.", +"type": "boolean" +}, +"creationTime": { +"description": "Output only. Creation time of this query, in milliseconds since the epoch. This field will be present on all queries.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"dmlStats": { +"$ref": "DmlStatistics", +"description": "Output only. Detailed statistics for DML statements INSERT, UPDATE, DELETE, MERGE or TRUNCATE.", +"readOnly": true +}, +"endTime": { +"description": "Output only. End time of this query, in milliseconds since the epoch. This field will be present whenever a query job is in the DONE state.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"errors": { +"description": "Output only. The first errors or warnings encountered during the running of the job. The final message includes the number of errors that caused the process to stop. Errors here do not necessarily mean that the job has completed or was unsuccessful. For more information about error messages, see [Error messages](https://cloud.google.com/bigquery/docs/error-messages).", +"items": { +"$ref": "ErrorProto" +}, +"readOnly": true, +"type": "array" +}, +"jobComplete": { +"description": "Whether the query has completed or not. If rows or totalRows are present, this will always be true. If this is false, totalRows will not be available.", +"type": "boolean" +}, +"jobCreationReason": { +"$ref": "JobCreationReason", +"description": "Optional. The reason why a Job was created. Only relevant when a job_reference is present in the response. If job_reference is not present it will always be unset." +}, +"jobReference": { +"$ref": "JobReference", +"description": "Reference to the Job that was created to run the query. This field will be present even if the original request timed out, in which case GetQueryResults can be used to read the results once the query has completed. Since this API only returns the first page of results, subsequent pages can be fetched via the same mechanism (GetQueryResults). If job_creation_mode was set to `JOB_CREATION_OPTIONAL` and the query completes without creating a job, this field will be empty." +}, +"kind": { +"default": "bigquery#queryResponse", +"description": "The resource type.", +"type": "string" +}, +"location": { +"description": "Output only. The geographic location of the query. For more information about BigQuery locations, see: https://cloud.google.com/bigquery/docs/locations", +"readOnly": true, +"type": "string" +}, +"numDmlAffectedRows": { +"description": "Output only. The number of rows affected by a DML statement. Present only for DML statements INSERT, UPDATE or DELETE.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"pageToken": { +"description": "A token used for paging results. A non-empty token indicates that additional results are available. To see additional results, query the [`jobs.getQueryResults`](https://cloud.google.com/bigquery/docs/reference/rest/v2/jobs/getQueryResults) method. For more information, see [Paging through table data](https://cloud.google.com/bigquery/docs/paging-results).", +"type": "string" +}, +"queryId": { +"description": "Auto-generated ID for the query.", +"type": "string" +}, +"rows": { +"description": "An object with as many results as can be contained within the maximum permitted reply size. To get any additional rows, you can call GetQueryResults and specify the jobReference returned above.", +"items": { +"$ref": "TableRow" +}, +"type": "array" +}, +"schema": { +"$ref": "TableSchema", +"description": "The schema of the results. Present only when the query completes successfully." +}, +"sessionInfo": { +"$ref": "SessionInfo", +"description": "Output only. Information of the session if this job is part of one.", +"readOnly": true +}, +"startTime": { +"description": "Output only. Start time of this query, in milliseconds since the epoch. This field will be present when the query job transitions from the PENDING state to either RUNNING or DONE.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"totalBytesBilled": { +"description": "Output only. If the project is configured to use on-demand pricing, then this field contains the total bytes billed for the job. If the project is configured to use flat-rate pricing, then you are not billed for bytes and this field is informational only.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"totalBytesProcessed": { +"description": "The total number of bytes processed for this query. If this query was a dry run, this is the number of bytes that would be processed if the query were run.", +"format": "int64", +"type": "string" +}, +"totalRows": { +"description": "The total number of rows in the complete query result set, which can be more than the number of rows in this single page of results.", +"format": "uint64", +"type": "string" +}, +"totalSlotMs": { +"description": "Output only. Number of slot ms the user is actually billed for.", +"format": "int64", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"QueryTimelineSample": { +"description": "Summary of the state of query execution at a given time.", +"id": "QueryTimelineSample", +"properties": { +"activeUnits": { +"description": "Total number of active workers. This does not correspond directly to slot usage. This is the largest value observed since the last sample.", +"format": "int64", +"type": "string" +}, +"completedUnits": { +"description": "Total parallel units of work completed by this query.", +"format": "int64", +"type": "string" +}, +"elapsedMs": { +"description": "Milliseconds elapsed since the start of query execution.", +"format": "int64", +"type": "string" +}, +"estimatedRunnableUnits": { +"description": "Units of work that can be scheduled immediately. Providing additional slots for these units of work will accelerate the query, if no other query in the reservation needs additional slots.", +"format": "int64", +"type": "string" +}, +"pendingUnits": { +"description": "Total units of work remaining for the query. This number can be revised (increased or decreased) while the query is running.", +"format": "int64", +"type": "string" +}, +"shuffleRamUsageRatio": { +"description": "Total shuffle usage ratio in shuffle RAM per reservation of this query. This will be provided for reservation customers only.", +"format": "double", +"type": "number" +}, +"totalSlotMs": { +"description": "Cumulative slot-ms consumed by the query.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"RangePartitioning": { +"id": "RangePartitioning", +"properties": { +"field": { +"description": "Required. The name of the column to partition the table on. It must be a top-level, INT64 column whose mode is NULLABLE or REQUIRED.", +"type": "string" +}, +"range": { +"description": "[Experimental] Defines the ranges for range partitioning.", +"properties": { +"end": { +"description": "[Experimental] The end of range partitioning, exclusive.", +"format": "int64", +"type": "string" +}, +"interval": { +"description": "[Experimental] The width of each interval.", +"format": "int64", +"type": "string" +}, +"start": { +"description": "[Experimental] The start of range partitioning, inclusive.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +} +}, +"type": "object" +}, +"RangeValue": { +"description": "Represents the value of a range.", +"id": "RangeValue", +"properties": { +"end": { +"$ref": "QueryParameterValue", +"description": "Optional. The end value of the range. A missing value represents an unbounded end." +}, +"start": { +"$ref": "QueryParameterValue", +"description": "Optional. The start value of the range. A missing value represents an unbounded start." +} +}, +"type": "object" +}, +"RankingMetrics": { +"description": "Evaluation metrics used by weighted-ALS models specified by feedback_type=implicit.", +"id": "RankingMetrics", +"properties": { +"averageRank": { +"description": "Determines the goodness of a ranking by computing the percentile rank from the predicted confidence and dividing it by the original rank.", +"format": "double", +"type": "number" +}, +"meanAveragePrecision": { +"description": "Calculates a precision per user for all the items by ranking them and then averages all the precisions across all the users.", +"format": "double", +"type": "number" +}, +"meanSquaredError": { +"description": "Similar to the mean squared error computed in regression and explicit recommendation models except instead of computing the rating directly, the output from evaluate is computed against a preference which is 1 or 0 depending on if the rating exists or not.", +"format": "double", +"type": "number" +}, +"normalizedDiscountedCumulativeGain": { +"description": "A metric to determine the goodness of a ranking calculated from the predicted confidence by comparing it to an ideal rank measured by the original ratings.", +"format": "double", +"type": "number" +} +}, +"type": "object" +}, +"RegressionMetrics": { +"description": "Evaluation metrics for regression and explicit feedback type matrix factorization models.", +"id": "RegressionMetrics", +"properties": { +"meanAbsoluteError": { +"description": "Mean absolute error.", +"format": "double", +"type": "number" +}, +"meanSquaredError": { +"description": "Mean squared error.", +"format": "double", +"type": "number" +}, +"meanSquaredLogError": { +"description": "Mean squared log error.", +"format": "double", +"type": "number" +}, +"medianAbsoluteError": { +"description": "Median absolute error.", +"format": "double", +"type": "number" +}, +"rSquared": { +"description": "R^2 score. This corresponds to r2_score in ML.EVALUATE.", +"format": "double", +"type": "number" +} +}, +"type": "object" +}, +"RemoteFunctionOptions": { +"description": "Options for a remote user-defined function.", +"id": "RemoteFunctionOptions", +"properties": { +"connection": { +"description": "Fully qualified name of the user-provided connection object which holds the authentication information to send requests to the remote service. Format: ```\"projects/{projectId}/locations/{locationId}/connections/{connectionId}\"```", +"type": "string" +}, +"endpoint": { +"description": "Endpoint of the user-provided remote service, e.g. ```https://us-east1-my_gcf_project.cloudfunctions.net/remote_add```", +"type": "string" +}, +"maxBatchingRows": { +"description": "Max number of rows in each batch sent to the remote service. If absent or if 0, BigQuery dynamically decides the number of rows in a batch.", +"format": "int64", +"type": "string" +}, +"userDefinedContext": { +"additionalProperties": { +"type": "string" +}, +"description": "User-defined context as a set of key/value pairs, which will be sent as function invocation context together with batched arguments in the requests to the remote service. The total number of bytes of keys and values must be less than 8KB.", +"type": "object" +} +}, +"type": "object" +}, +"RemoteModelInfo": { +"description": "Remote Model Info", +"id": "RemoteModelInfo", +"properties": { +"connection": { +"description": "Output only. Fully qualified name of the user-provided connection object of the remote model. Format: ```\"projects/{project_id}/locations/{location_id}/connections/{connection_id}\"```", +"readOnly": true, +"type": "string" +}, +"endpoint": { +"description": "Output only. The endpoint for remote model.", +"readOnly": true, +"type": "string" +}, +"maxBatchingRows": { +"description": "Output only. Max number of rows in each batch sent to the remote service. If unset, the number of rows in each batch is set dynamically.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"remoteModelVersion": { +"description": "Output only. The model version for LLM.", +"readOnly": true, +"type": "string" +}, +"remoteServiceType": { +"description": "Output only. The remote service type for remote model.", +"enum": [ +"REMOTE_SERVICE_TYPE_UNSPECIFIED", +"CLOUD_AI_TRANSLATE_V3", +"CLOUD_AI_VISION_V1", +"CLOUD_AI_NATURAL_LANGUAGE_V1", +"CLOUD_AI_SPEECH_TO_TEXT_V2" +], +"enumDescriptions": [ +"Unspecified remote service type.", +"V3 Cloud AI Translation API. See more details at [Cloud Translation API] (https://cloud.google.com/translate/docs/reference/rest).", +"V1 Cloud AI Vision API See more details at [Cloud Vision API] (https://cloud.google.com/vision/docs/reference/rest).", +"V1 Cloud AI Natural Language API. See more details at [REST Resource: documents](https://cloud.google.com/natural-language/docs/reference/rest/v1/documents).", +"V2 Speech-to-Text API. See more details at [Google Cloud Speech-to-Text V2 API](https://cloud.google.com/speech-to-text/v2/docs)" +], +"readOnly": true, +"type": "string" +}, +"speechRecognizer": { +"description": "Output only. The name of the speech recognizer to use for speech recognition. The expected format is `projects/{project}/locations/{location}/recognizers/{recognizer}`. Customers can specify this field at model creation. If not specified, a default recognizer `projects/{model project}/locations/global/recognizers/_` will be used. See more details at [recognizers](https://cloud.google.com/speech-to-text/v2/docs/reference/rest/v2/projects.locations.recognizers)", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"RestrictionConfig": { +"id": "RestrictionConfig", +"properties": { +"type": { +"description": "Output only. Specifies the type of dataset/table restriction.", +"enum": [ +"RESTRICTION_TYPE_UNSPECIFIED", +"RESTRICTED_DATA_EGRESS" +], +"enumDescriptions": [ +"Should never be used.", +"Restrict data egress. See [Data egress](https://cloud.google.com/bigquery/docs/analytics-hub-introduction#data_egress) for more details." +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"Routine": { +"description": "A user-defined function or a stored procedure.", +"id": "Routine", +"properties": { +"arguments": { +"description": "Optional.", +"items": { +"$ref": "Argument" +}, +"type": "array" +}, +"creationTime": { +"description": "Output only. The time when this routine was created, in milliseconds since the epoch.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"dataGovernanceType": { +"description": "Optional. If set to `DATA_MASKING`, the function is validated and made available as a masking function. For more information, see [Create custom masking routines](https://cloud.google.com/bigquery/docs/user-defined-functions#custom-mask).", +"enum": [ +"DATA_GOVERNANCE_TYPE_UNSPECIFIED", +"DATA_MASKING" +], +"enumDescriptions": [ +"The data governance type is unspecified.", +"The data governance type is data masking." +], +"type": "string" +}, +"definitionBody": { +"description": "Required. The body of the routine. For functions, this is the expression in the AS clause. If `language = \"SQL\"`, it is the substring inside (but excluding) the parentheses. For example, for the function created with the following statement: `CREATE FUNCTION JoinLines(x string, y string) as (concat(x, \"\\n\", y))` The definition_body is `concat(x, \"\\n\", y)` (\\n is not replaced with linebreak). If `language=\"JAVASCRIPT\"`, it is the evaluated string in the AS clause. For example, for the function created with the following statement: `CREATE FUNCTION f() RETURNS STRING LANGUAGE js AS 'return \"\\n\";\\n'` The definition_body is `return \"\\n\";\\n` Note that both \\n are replaced with linebreaks. If `definition_body` references another routine, then that routine must be fully qualified with its project ID.", +"type": "string" +}, +"description": { +"description": "Optional. The description of the routine, if defined.", +"type": "string" +}, +"determinismLevel": { +"description": "Optional. The determinism level of the JavaScript UDF, if defined.", +"enum": [ +"DETERMINISM_LEVEL_UNSPECIFIED", +"DETERMINISTIC", +"NOT_DETERMINISTIC" +], +"enumDescriptions": [ +"The determinism of the UDF is unspecified.", +"The UDF is deterministic, meaning that 2 function calls with the same inputs always produce the same result, even across 2 query runs.", +"The UDF is not deterministic." +], +"type": "string" +}, +"etag": { +"description": "Output only. A hash of this resource.", +"readOnly": true, +"type": "string" +}, +"externalRuntimeOptions": { +"$ref": "ExternalRuntimeOptions", +"description": "Optional. Options for the runtime of the external system executing the routine. This field is only applicable for Python UDFs. [Preview](https://cloud.google.com/products/#product-launch-stages)" +}, +"importedLibraries": { +"description": "Optional. If language = \"JAVASCRIPT\", this field stores the path of the imported JAVASCRIPT libraries.", +"items": { +"type": "string" +}, +"type": "array" +}, +"language": { +"description": "Optional. Defaults to \"SQL\" if remote_function_options field is absent, not set otherwise.", +"enum": [ +"LANGUAGE_UNSPECIFIED", +"SQL", +"JAVASCRIPT", +"PYTHON", +"JAVA", +"SCALA" +], +"enumDescriptions": [ +"Default value.", +"SQL language.", +"JavaScript language.", +"Python language.", +"Java language.", +"Scala language." +], +"type": "string" +}, +"lastModifiedTime": { +"description": "Output only. The time when this routine was last modified, in milliseconds since the epoch.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"pythonOptions": { +"$ref": "PythonOptions", +"description": "Optional. Options for the Python UDF. [Preview](https://cloud.google.com/products/#product-launch-stages)" +}, +"remoteFunctionOptions": { +"$ref": "RemoteFunctionOptions", +"description": "Optional. Remote function specific options." +}, +"returnTableType": { +"$ref": "StandardSqlTableType", +"description": "Optional. Can be set only if routine_type = \"TABLE_VALUED_FUNCTION\". If absent, the return table type is inferred from definition_body at query time in each query that references this routine. If present, then the columns in the evaluated table result will be cast to match the column types specified in return table type, at query time." +}, +"returnType": { +"$ref": "StandardSqlDataType", +"description": "Optional if language = \"SQL\"; required otherwise. Cannot be set if routine_type = \"TABLE_VALUED_FUNCTION\". If absent, the return type is inferred from definition_body at query time in each query that references this routine. If present, then the evaluated result will be cast to the specified returned type at query time. For example, for the functions created with the following statements: * `CREATE FUNCTION Add(x FLOAT64, y FLOAT64) RETURNS FLOAT64 AS (x + y);` * `CREATE FUNCTION Increment(x FLOAT64) AS (Add(x, 1));` * `CREATE FUNCTION Decrement(x FLOAT64) RETURNS FLOAT64 AS (Add(x, -1));` The return_type is `{type_kind: \"FLOAT64\"}` for `Add` and `Decrement`, and is absent for `Increment` (inferred as FLOAT64 at query time). Suppose the function `Add` is replaced by `CREATE OR REPLACE FUNCTION Add(x INT64, y INT64) AS (x + y);` Then the inferred return type of `Increment` is automatically changed to INT64 at query time, while the return type of `Decrement` remains FLOAT64." +}, +"routineReference": { +"$ref": "RoutineReference", +"description": "Required. Reference describing the ID of this routine." +}, +"routineType": { +"description": "Required. The type of routine.", +"enum": [ +"ROUTINE_TYPE_UNSPECIFIED", +"SCALAR_FUNCTION", +"PROCEDURE", +"TABLE_VALUED_FUNCTION", +"AGGREGATE_FUNCTION" +], +"enumDescriptions": [ +"Default value.", +"Non-built-in persistent scalar function.", +"Stored procedure.", +"Non-built-in persistent TVF.", +"Non-built-in persistent aggregate function." +], +"type": "string" +}, +"securityMode": { +"description": "Optional. The security mode of the routine, if defined. If not defined, the security mode is automatically determined from the routine's configuration.", +"enum": [ +"SECURITY_MODE_UNSPECIFIED", +"DEFINER", +"INVOKER" +], +"enumDescriptions": [ +"The security mode of the routine is unspecified.", +"The routine is to be executed with the privileges of the user who defines it.", +"The routine is to be executed with the privileges of the user who invokes it." +], +"type": "string" +}, +"sparkOptions": { +"$ref": "SparkOptions", +"description": "Optional. Spark specific options." +}, +"strictMode": { +"description": "Optional. Use this option to catch many common errors. Error checking is not exhaustive, and successfully creating a procedure doesn't guarantee that the procedure will successfully execute at runtime. If `strictMode` is set to `TRUE`, the procedure body is further checked for errors such as non-existent tables or columns. The `CREATE PROCEDURE` statement fails if the body fails any of these checks. If `strictMode` is set to `FALSE`, the procedure body is checked only for syntax. For procedures that invoke themselves recursively, specify `strictMode=FALSE` to avoid non-existent procedure errors during validation. Default value is `TRUE`.", +"type": "boolean" +} +}, +"type": "object" +}, +"RoutineReference": { +"description": "Id path of a routine.", +"id": "RoutineReference", +"properties": { +"datasetId": { +"description": "Required. The ID of the dataset containing this routine.", +"type": "string" +}, +"projectId": { +"description": "Required. The ID of the project containing this routine.", +"type": "string" +}, +"routineId": { +"description": "Required. The ID of the routine. The ID must contain only letters (a-z, A-Z), numbers (0-9), or underscores (_). The maximum length is 256 characters.", +"type": "string" +} +}, +"type": "object" +}, +"Row": { +"description": "A single row in the confusion matrix.", +"id": "Row", +"properties": { +"actualLabel": { +"description": "The original label of this row.", +"type": "string" +}, +"entries": { +"description": "Info describing predicted label distribution.", +"items": { +"$ref": "Entry" +}, +"type": "array" +} +}, +"type": "object" +}, +"RowAccessPolicy": { +"description": "Represents access on a subset of rows on the specified table, defined by its filter predicate. Access to the subset of rows is controlled by its IAM policy.", +"id": "RowAccessPolicy", +"properties": { +"creationTime": { +"description": "Output only. The time when this row access policy was created, in milliseconds since the epoch.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"etag": { +"description": "Output only. A hash of this resource.", +"readOnly": true, +"type": "string" +}, +"filterPredicate": { +"description": "Required. A SQL boolean expression that represents the rows defined by this row access policy, similar to the boolean expression in a WHERE clause of a SELECT query on a table. References to other tables, routines, and temporary functions are not supported. Examples: region=\"EU\" date_field = CAST('2019-9-27' as DATE) nullable_field is not NULL numeric_field BETWEEN 1.0 AND 5.0", +"type": "string" +}, +"grantees": { +"description": "Optional. Input only. The optional list of iam_member users or groups that specifies the initial members that the row-level access policy should be created with. grantees types: - \"user:alice@example.com\": An email address that represents a specific Google account. - \"serviceAccount:my-other-app@appspot.gserviceaccount.com\": An email address that represents a service account. - \"group:admins@example.com\": An email address that represents a Google group. - \"domain:example.com\":The Google Workspace domain (primary) that represents all the users of that domain. - \"allAuthenticatedUsers\": A special identifier that represents all service accounts and all users on the internet who have authenticated with a Google Account. This identifier includes accounts that aren't connected to a Google Workspace or Cloud Identity domain, such as personal Gmail accounts. Users who aren't authenticated, such as anonymous visitors, aren't included. - \"allUsers\":A special identifier that represents anyone who is on the internet, including authenticated and unauthenticated users. Because BigQuery requires authentication before a user can access the service, allUsers includes only authenticated users.", +"items": { +"type": "string" +}, +"type": "array" +}, +"lastModifiedTime": { +"description": "Output only. The time when this row access policy was last modified, in milliseconds since the epoch.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"rowAccessPolicyReference": { +"$ref": "RowAccessPolicyReference", +"description": "Required. Reference describing the ID of this row access policy." +} +}, +"type": "object" +}, +"RowAccessPolicyReference": { +"description": "Id path of a row access policy.", +"id": "RowAccessPolicyReference", +"properties": { +"datasetId": { +"description": "Required. The ID of the dataset containing this row access policy.", +"type": "string" +}, +"policyId": { +"description": "Required. The ID of the row access policy. The ID must contain only letters (a-z, A-Z), numbers (0-9), or underscores (_). The maximum length is 256 characters.", +"type": "string" +}, +"projectId": { +"description": "Required. The ID of the project containing this row access policy.", +"type": "string" +}, +"tableId": { +"description": "Required. The ID of the table containing this row access policy.", +"type": "string" +} +}, +"type": "object" +}, +"RowLevelSecurityStatistics": { +"description": "Statistics for row-level security.", +"id": "RowLevelSecurityStatistics", +"properties": { +"rowLevelSecurityApplied": { +"description": "Whether any accessed data was protected by row access policies.", +"type": "boolean" +} +}, +"type": "object" +}, +"ScriptOptions": { +"description": "Options related to script execution.", +"id": "ScriptOptions", +"properties": { +"keyResultStatement": { +"description": "Determines which statement in the script represents the \"key result\", used to populate the schema and query results of the script job. Default is LAST.", +"enum": [ +"KEY_RESULT_STATEMENT_KIND_UNSPECIFIED", +"LAST", +"FIRST_SELECT" +], +"enumDescriptions": [ +"Default value.", +"The last result determines the key result.", +"The first SELECT statement determines the key result." +], +"type": "string" +}, +"statementByteBudget": { +"description": "Limit on the number of bytes billed per statement. Exceeding this budget results in an error.", +"format": "int64", +"type": "string" +}, +"statementTimeoutMs": { +"description": "Timeout period for each statement in a script.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"ScriptStackFrame": { +"description": "Represents the location of the statement/expression being evaluated. Line and column numbers are defined as follows: - Line and column numbers start with one. That is, line 1 column 1 denotes the start of the script. - When inside a stored procedure, all line/column numbers are relative to the procedure body, not the script in which the procedure was defined. - Start/end positions exclude leading/trailing comments and whitespace. The end position always ends with a \";\", when present. - Multi-byte Unicode characters are treated as just one column. - If the original script (or procedure definition) contains TAB characters, a tab \"snaps\" the indentation forward to the nearest multiple of 8 characters, plus 1. For example, a TAB on column 1, 2, 3, 4, 5, 6 , or 8 will advance the next character to column 9. A TAB on column 9, 10, 11, 12, 13, 14, 15, or 16 will advance the next character to column 17.", +"id": "ScriptStackFrame", +"properties": { +"endColumn": { +"description": "Output only. One-based end column.", +"format": "int32", +"readOnly": true, +"type": "integer" +}, +"endLine": { +"description": "Output only. One-based end line.", +"format": "int32", +"readOnly": true, +"type": "integer" +}, +"procedureId": { +"description": "Output only. Name of the active procedure, empty if in a top-level script.", +"readOnly": true, +"type": "string" +}, +"startColumn": { +"description": "Output only. One-based start column.", +"format": "int32", +"readOnly": true, +"type": "integer" +}, +"startLine": { +"description": "Output only. One-based start line.", +"format": "int32", +"readOnly": true, +"type": "integer" +}, +"text": { +"description": "Output only. Text of the current statement/expression.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"ScriptStatistics": { +"description": "Job statistics specific to the child job of a script.", +"id": "ScriptStatistics", +"properties": { +"evaluationKind": { +"description": "Whether this child job was a statement or expression.", +"enum": [ +"EVALUATION_KIND_UNSPECIFIED", +"STATEMENT", +"EXPRESSION" +], +"enumDescriptions": [ +"Default value.", +"The statement appears directly in the script.", +"The statement evaluates an expression that appears in the script." +], +"type": "string" +}, +"stackFrames": { +"description": "Stack trace showing the line/column/procedure name of each frame on the stack at the point where the current evaluation happened. The leaf frame is first, the primary script is last. Never empty.", +"items": { +"$ref": "ScriptStackFrame" +}, +"type": "array" +} +}, +"type": "object" +}, +"SearchStatistics": { +"description": "Statistics for a search query. Populated as part of JobStatistics2.", +"id": "SearchStatistics", +"properties": { +"indexPruningStats": { +"description": "Search index pruning statistics, one for each base table that has a search index. If a base table does not have a search index or the index does not help with pruning on the base table, then there is no pruning statistics for that table.", +"items": { +"$ref": "IndexPruningStats" +}, +"type": "array" +}, +"indexUnusedReasons": { +"description": "When `indexUsageMode` is `UNUSED` or `PARTIALLY_USED`, this field explains why indexes were not used in all or part of the search query. If `indexUsageMode` is `FULLY_USED`, this field is not populated.", +"items": { +"$ref": "IndexUnusedReason" +}, +"type": "array" +}, +"indexUsageMode": { +"description": "Specifies the index usage mode for the query.", +"enum": [ +"INDEX_USAGE_MODE_UNSPECIFIED", +"UNUSED", +"PARTIALLY_USED", +"FULLY_USED" +], +"enumDescriptions": [ +"Index usage mode not specified.", +"No search indexes were used in the search query. See [`indexUnusedReasons`] (/bigquery/docs/reference/rest/v2/Job#IndexUnusedReason) for detailed reasons.", +"Part of the search query used search indexes. See [`indexUnusedReasons`] (/bigquery/docs/reference/rest/v2/Job#IndexUnusedReason) for why other parts of the query did not use search indexes.", +"The entire search query used search indexes." +], +"type": "string" +} +}, +"type": "object" +}, +"SerDeInfo": { +"description": "Serializer and deserializer information.", +"id": "SerDeInfo", +"properties": { +"name": { +"description": "Optional. Name of the SerDe. The maximum length is 256 characters.", +"type": "string" +}, +"parameters": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. Key-value pairs that define the initialization parameters for the serialization library. Maximum size 10 Kib.", +"type": "object" +}, +"serializationLibrary": { +"description": "Required. Specifies a fully-qualified class name of the serialization library that is responsible for the translation of data between table representation and the underlying low-level input and output format structures. The maximum length is 256 characters.", +"type": "string" +} +}, +"type": "object" +}, +"SessionInfo": { +"description": "[Preview] Information related to sessions.", +"id": "SessionInfo", +"properties": { +"sessionId": { +"description": "Output only. The id of the session.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"SetIamPolicyRequest": { +"description": "Request message for `SetIamPolicy` method.", +"id": "SetIamPolicyRequest", +"properties": { +"policy": { +"$ref": "Policy", +"description": "REQUIRED: The complete policy to be applied to the `resource`. The size of the policy is limited to a few 10s of KB. An empty policy is a valid policy but certain Google Cloud services (such as Projects) might reject them." +}, +"updateMask": { +"description": "OPTIONAL: A FieldMask specifying which fields of the policy to modify. Only the fields in the mask will be modified. If no mask is provided, the following default mask is used: `paths: \"bindings, etag\"`", +"format": "google-fieldmask", +"type": "string" +} +}, +"type": "object" +}, +"SkewSource": { +"description": "Details about source stages which produce skewed data.", +"id": "SkewSource", +"properties": { +"stageId": { +"description": "Output only. Stage id of the skew source stage.", +"format": "int64", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"SnapshotDefinition": { +"description": "Information about base table and snapshot time of the snapshot.", +"id": "SnapshotDefinition", +"properties": { +"baseTableReference": { +"$ref": "TableReference", +"description": "Required. Reference describing the ID of the table that was snapshot." +}, +"snapshotTime": { +"description": "Required. The time at which the base table was snapshot. This value is reported in the JSON response using RFC3339 format.", +"format": "date-time", +"type": "string" +} +}, +"type": "object" +}, +"SparkLoggingInfo": { +"description": "Spark job logs can be filtered by these fields in Cloud Logging.", +"id": "SparkLoggingInfo", +"properties": { +"projectId": { +"description": "Output only. Project ID where the Spark logs were written.", +"readOnly": true, +"type": "string" +}, +"resourceType": { +"description": "Output only. Resource type used for logging.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"SparkOptions": { +"description": "Options for a user-defined Spark routine.", +"id": "SparkOptions", +"properties": { +"archiveUris": { +"description": "Archive files to be extracted into the working directory of each executor. For more information about Apache Spark, see [Apache Spark](https://spark.apache.org/docs/latest/index.html).", +"items": { +"type": "string" +}, +"type": "array" +}, +"connection": { +"description": "Fully qualified name of the user-provided Spark connection object. Format: ```\"projects/{project_id}/locations/{location_id}/connections/{connection_id}\"```", +"type": "string" +}, +"containerImage": { +"description": "Custom container image for the runtime environment.", +"type": "string" +}, +"fileUris": { +"description": "Files to be placed in the working directory of each executor. For more information about Apache Spark, see [Apache Spark](https://spark.apache.org/docs/latest/index.html).", +"items": { +"type": "string" +}, +"type": "array" +}, +"jarUris": { +"description": "JARs to include on the driver and executor CLASSPATH. For more information about Apache Spark, see [Apache Spark](https://spark.apache.org/docs/latest/index.html).", +"items": { +"type": "string" +}, +"type": "array" +}, +"mainClass": { +"description": "The fully qualified name of a class in jar_uris, for example, com.example.wordcount. Exactly one of main_class and main_jar_uri field should be set for Java/Scala language type.", +"type": "string" +}, +"mainFileUri": { +"description": "The main file/jar URI of the Spark application. Exactly one of the definition_body field and the main_file_uri field must be set for Python. Exactly one of main_class and main_file_uri field should be set for Java/Scala language type.", +"type": "string" +}, +"properties": { +"additionalProperties": { +"type": "string" +}, +"description": "Configuration properties as a set of key/value pairs, which will be passed on to the Spark application. For more information, see [Apache Spark](https://spark.apache.org/docs/latest/index.html) and the [procedure option list](https://cloud.google.com/bigquery/docs/reference/standard-sql/data-definition-language#procedure_option_list).", +"type": "object" +}, +"pyFileUris": { +"description": "Python files to be placed on the PYTHONPATH for PySpark application. Supported file types: `.py`, `.egg`, and `.zip`. For more information about Apache Spark, see [Apache Spark](https://spark.apache.org/docs/latest/index.html).", +"items": { +"type": "string" +}, +"type": "array" +}, +"runtimeVersion": { +"description": "Runtime version. If not specified, the default runtime version is used.", +"type": "string" +} +}, +"type": "object" +}, +"SparkStatistics": { +"description": "Statistics for a BigSpark query. Populated as part of JobStatistics2", +"id": "SparkStatistics", +"properties": { +"endpoints": { +"additionalProperties": { +"type": "string" +}, +"description": "Output only. Endpoints returned from Dataproc. Key list: - history_server_endpoint: A link to Spark job UI.", +"readOnly": true, +"type": "object" +}, +"gcsStagingBucket": { +"description": "Output only. The Google Cloud Storage bucket that is used as the default file system by the Spark application. This field is only filled when the Spark procedure uses the invoker security mode. The `gcsStagingBucket` bucket is inferred from the `@@spark_proc_properties.staging_bucket` system variable (if it is provided). Otherwise, BigQuery creates a default staging bucket for the job and returns the bucket name in this field. Example: * `gs://[bucket_name]`", +"readOnly": true, +"type": "string" +}, +"kmsKeyName": { +"description": "Output only. The Cloud KMS encryption key that is used to protect the resources created by the Spark job. If the Spark procedure uses the invoker security mode, the Cloud KMS encryption key is either inferred from the provided system variable, `@@spark_proc_properties.kms_key_name`, or the default key of the BigQuery job's project (if the CMEK organization policy is enforced). Otherwise, the Cloud KMS key is either inferred from the Spark connection associated with the procedure (if it is provided), or from the default key of the Spark connection's project if the CMEK organization policy is enforced. Example: * `projects/[kms_project_id]/locations/[region]/keyRings/[key_region]/cryptoKeys/[key]`", +"readOnly": true, +"type": "string" +}, +"loggingInfo": { +"$ref": "SparkLoggingInfo", +"description": "Output only. Logging info is used to generate a link to Cloud Logging.", +"readOnly": true +}, +"sparkJobId": { +"description": "Output only. Spark job ID if a Spark job is created successfully.", +"readOnly": true, +"type": "string" +}, +"sparkJobLocation": { +"description": "Output only. Location where the Spark job is executed. A location is selected by BigQueury for jobs configured to run in a multi-region.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"StagePerformanceChangeInsight": { +"description": "Performance insights compared to the previous executions for a specific stage.", +"id": "StagePerformanceChangeInsight", +"properties": { +"inputDataChange": { +"$ref": "InputDataChange", +"description": "Output only. Input data change insight of the query stage.", +"readOnly": true +}, +"stageId": { +"description": "Output only. The stage id that the insight mapped to.", +"format": "int64", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"StagePerformanceStandaloneInsight": { +"description": "Standalone performance insights for a specific stage.", +"id": "StagePerformanceStandaloneInsight", +"properties": { +"biEngineReasons": { +"description": "Output only. If present, the stage had the following reasons for being disqualified from BI Engine execution.", +"items": { +"$ref": "BiEngineReason" +}, +"readOnly": true, +"type": "array" +}, +"highCardinalityJoins": { +"description": "Output only. High cardinality joins in the stage.", +"items": { +"$ref": "HighCardinalityJoin" +}, +"readOnly": true, +"type": "array" +}, +"insufficientShuffleQuota": { +"description": "Output only. True if the stage has insufficient shuffle quota.", +"readOnly": true, +"type": "boolean" +}, +"partitionSkew": { +"$ref": "PartitionSkew", +"description": "Output only. Partition skew in the stage.", +"readOnly": true +}, +"slotContention": { +"description": "Output only. True if the stage has a slot contention issue.", +"readOnly": true, +"type": "boolean" +}, +"stageId": { +"description": "Output only. The stage id that the insight mapped to.", +"format": "int64", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"StandardSqlDataType": { +"description": "The data type of a variable such as a function argument. Examples include: * INT64: `{\"typeKind\": \"INT64\"}` * ARRAY: { \"typeKind\": \"ARRAY\", \"arrayElementType\": {\"typeKind\": \"STRING\"} } * STRUCT>: { \"typeKind\": \"STRUCT\", \"structType\": { \"fields\": [ { \"name\": \"x\", \"type\": {\"typeKind\": \"STRING\"} }, { \"name\": \"y\", \"type\": { \"typeKind\": \"ARRAY\", \"arrayElementType\": {\"typeKind\": \"DATE\"} } } ] } } * RANGE: { \"typeKind\": \"RANGE\", \"rangeElementType\": {\"typeKind\": \"DATE\"} }", +"id": "StandardSqlDataType", +"properties": { +"arrayElementType": { +"$ref": "StandardSqlDataType", +"description": "The type of the array's elements, if type_kind = \"ARRAY\"." +}, +"rangeElementType": { +"$ref": "StandardSqlDataType", +"description": "The type of the range's elements, if type_kind = \"RANGE\"." +}, +"structType": { +"$ref": "StandardSqlStructType", +"description": "The fields of this struct, in order, if type_kind = \"STRUCT\"." +}, +"typeKind": { +"description": "Required. The top level type of this field. Can be any GoogleSQL data type (e.g., \"INT64\", \"DATE\", \"ARRAY\").", +"enum": [ +"TYPE_KIND_UNSPECIFIED", +"INT64", +"BOOL", +"FLOAT64", +"STRING", +"BYTES", +"TIMESTAMP", +"DATE", +"TIME", +"DATETIME", +"INTERVAL", +"GEOGRAPHY", +"NUMERIC", +"BIGNUMERIC", +"JSON", +"ARRAY", +"STRUCT", +"RANGE" +], +"enumDescriptions": [ +"Invalid type.", +"Encoded as a string in decimal format.", +"Encoded as a boolean \"false\" or \"true\".", +"Encoded as a number, or string \"NaN\", \"Infinity\" or \"-Infinity\".", +"Encoded as a string value.", +"Encoded as a base64 string per RFC 4648, section 4.", +"Encoded as an RFC 3339 timestamp with mandatory \"Z\" time zone string: 1985-04-12T23:20:50.52Z", +"Encoded as RFC 3339 full-date format string: 1985-04-12", +"Encoded as RFC 3339 partial-time format string: 23:20:50.52", +"Encoded as RFC 3339 full-date \"T\" partial-time: 1985-04-12T23:20:50.52", +"Encoded as fully qualified 3 part: 0-5 15 2:30:45.6", +"Encoded as WKT", +"Encoded as a decimal string.", +"Encoded as a decimal string.", +"Encoded as a string.", +"Encoded as a list with types matching Type.array_type.", +"Encoded as a list with fields of type Type.struct_type[i]. List is used because a JSON object cannot have duplicate field names.", +"Encoded as a pair with types matching range_element_type. Pairs must begin with \"[\", end with \")\", and be separated by \", \"." +], +"type": "string" +} +}, +"type": "object" +}, +"StandardSqlField": { +"description": "A field or a column.", +"id": "StandardSqlField", +"properties": { +"name": { +"description": "Optional. The name of this field. Can be absent for struct fields.", +"type": "string" +}, +"type": { +"$ref": "StandardSqlDataType", +"description": "Optional. The type of this parameter. Absent if not explicitly specified (e.g., CREATE FUNCTION statement can omit the return type; in this case the output parameter does not have this \"type\" field)." +} +}, +"type": "object" +}, +"StandardSqlStructType": { +"description": "The representation of a SQL STRUCT type.", +"id": "StandardSqlStructType", +"properties": { +"fields": { +"description": "Fields within the struct.", +"items": { +"$ref": "StandardSqlField" +}, +"type": "array" +} +}, +"type": "object" +}, +"StandardSqlTableType": { +"description": "A table type", +"id": "StandardSqlTableType", +"properties": { +"columns": { +"description": "The columns in this table type", +"items": { +"$ref": "StandardSqlField" +}, +"type": "array" +} +}, +"type": "object" +}, +"StorageDescriptor": { +"description": "Contains information about how a table's data is stored and accessed by open source query engines.", +"id": "StorageDescriptor", +"properties": { +"inputFormat": { +"description": "Optional. Specifies the fully qualified class name of the InputFormat (e.g. \"org.apache.hadoop.hive.ql.io.orc.OrcInputFormat\"). The maximum length is 128 characters.", +"type": "string" +}, +"locationUri": { +"description": "Optional. The physical location of the table (e.g. `gs://spark-dataproc-data/pangea-data/case_sensitive/` or `gs://spark-dataproc-data/pangea-data/*`). The maximum length is 2056 bytes.", +"type": "string" +}, +"outputFormat": { +"description": "Optional. Specifies the fully qualified class name of the OutputFormat (e.g. \"org.apache.hadoop.hive.ql.io.orc.OrcOutputFormat\"). The maximum length is 128 characters.", +"type": "string" +}, +"serdeInfo": { +"$ref": "SerDeInfo", +"description": "Optional. Serializer and deserializer information." +} +}, +"type": "object" +}, +"StoredColumnsUnusedReason": { +"description": "If the stored column was not used, explain why.", +"id": "StoredColumnsUnusedReason", +"properties": { +"code": { +"description": "Specifies the high-level reason for the unused scenario, each reason must have a code associated.", +"enum": [ +"CODE_UNSPECIFIED", +"STORED_COLUMNS_COVER_INSUFFICIENT", +"BASE_TABLE_HAS_RLS", +"BASE_TABLE_HAS_CLS", +"UNSUPPORTED_PREFILTER", +"INTERNAL_ERROR", +"OTHER_REASON" +], +"enumDescriptions": [ +"Default value.", +"If stored columns do not fully cover the columns.", +"If the base table has RLS (Row Level Security).", +"If the base table has CLS (Column Level Security).", +"If the provided prefilter is not supported.", +"If an internal error is preventing stored columns from being used.", +"Indicates that the reason stored columns cannot be used in the query is not covered by any of the other StoredColumnsUnusedReason options." +], +"type": "string" +}, +"message": { +"description": "Specifies the detailed description for the scenario.", +"type": "string" +}, +"uncoveredColumns": { +"description": "Specifies which columns were not covered by the stored columns for the specified code up to 20 columns. This is populated when the code is STORED_COLUMNS_COVER_INSUFFICIENT and BASE_TABLE_HAS_CLS.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"StoredColumnsUsage": { +"description": "Indicates the stored columns usage in the query.", +"id": "StoredColumnsUsage", +"properties": { +"baseTable": { +"$ref": "TableReference", +"description": "Specifies the base table." +}, +"isQueryAccelerated": { +"description": "Specifies whether the query was accelerated with stored columns.", +"type": "boolean" +}, +"storedColumnsUnusedReasons": { +"description": "If stored columns were not used, explain why.", +"items": { +"$ref": "StoredColumnsUnusedReason" +}, +"type": "array" +} +}, +"type": "object" +}, +"Streamingbuffer": { +"id": "Streamingbuffer", +"properties": { +"estimatedBytes": { +"description": "Output only. A lower-bound estimate of the number of bytes currently in the streaming buffer.", +"format": "uint64", +"readOnly": true, +"type": "string" +}, +"estimatedRows": { +"description": "Output only. A lower-bound estimate of the number of rows currently in the streaming buffer.", +"format": "uint64", +"readOnly": true, +"type": "string" +}, +"oldestEntryTime": { +"description": "Output only. Contains the timestamp of the oldest entry in the streaming buffer, in milliseconds since the epoch, if the streaming buffer is available.", +"format": "uint64", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"StringHparamSearchSpace": { +"description": "Search space for string and enum.", +"id": "StringHparamSearchSpace", +"properties": { +"candidates": { +"description": "Canididates for the string or enum parameter in lower case.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"SystemVariables": { +"description": "System variables given to a query.", +"id": "SystemVariables", +"properties": { +"types": { +"additionalProperties": { +"$ref": "StandardSqlDataType" +}, +"description": "Output only. Data type for each system variable.", +"readOnly": true, +"type": "object" +}, +"values": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"description": "Output only. Value for each system variable.", +"readOnly": true, +"type": "object" +} +}, +"type": "object" +}, +"Table": { +"id": "Table", +"properties": { +"biglakeConfiguration": { +"$ref": "BigLakeConfiguration", +"description": "Optional. Specifies the configuration of a BigQuery table for Apache Iceberg." +}, +"cloneDefinition": { +"$ref": "CloneDefinition", +"description": "Output only. Contains information about the clone. This value is set via the clone operation.", +"readOnly": true +}, +"clustering": { +"$ref": "Clustering", +"description": "Clustering specification for the table. Must be specified with time-based partitioning, data in the table will be first partitioned and subsequently clustered." +}, +"creationTime": { +"description": "Output only. The time when this table was created, in milliseconds since the epoch.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"defaultCollation": { +"description": "Optional. Defines the default collation specification of new STRING fields in the table. During table creation or update, if a STRING field is added to this table without explicit collation specified, then the table inherits the table default collation. A change to this field affects only fields added afterwards, and does not alter the existing fields. The following values are supported: * 'und:ci': undetermined locale, case insensitive. * '': empty string. Default to case-sensitive behavior.", +"type": "string" +}, +"defaultRoundingMode": { +"description": "Optional. Defines the default rounding mode specification of new decimal fields (NUMERIC OR BIGNUMERIC) in the table. During table creation or update, if a decimal field is added to this table without an explicit rounding mode specified, then the field inherits the table default rounding mode. Changing this field doesn't affect existing fields.", +"enum": [ +"ROUNDING_MODE_UNSPECIFIED", +"ROUND_HALF_AWAY_FROM_ZERO", +"ROUND_HALF_EVEN" +], +"enumDescriptions": [ +"Unspecified will default to using ROUND_HALF_AWAY_FROM_ZERO.", +"ROUND_HALF_AWAY_FROM_ZERO rounds half values away from zero when applying precision and scale upon writing of NUMERIC and BIGNUMERIC values. For Scale: 0 1.1, 1.2, 1.3, 1.4 => 1 1.5, 1.6, 1.7, 1.8, 1.9 => 2", +"ROUND_HALF_EVEN rounds half values to the nearest even value when applying precision and scale upon writing of NUMERIC and BIGNUMERIC values. For Scale: 0 1.1, 1.2, 1.3, 1.4 => 1 1.5 => 2 1.6, 1.7, 1.8, 1.9 => 2 2.5 => 2" +], +"type": "string" +}, +"description": { +"description": "Optional. A user-friendly description of this table.", +"type": "string" +}, +"encryptionConfiguration": { +"$ref": "EncryptionConfiguration", +"description": "Custom encryption configuration (e.g., Cloud KMS keys)." +}, +"etag": { +"description": "Output only. A hash of this resource.", +"readOnly": true, +"type": "string" +}, +"expirationTime": { +"description": "Optional. The time when this table expires, in milliseconds since the epoch. If not present, the table will persist indefinitely. Expired tables will be deleted and their storage reclaimed. The defaultTableExpirationMs property of the encapsulating dataset can be used to set a default expirationTime on newly created tables.", +"format": "int64", +"type": "string" +}, +"externalCatalogTableOptions": { +"$ref": "ExternalCatalogTableOptions", +"description": "Optional. Options defining open source compatible table." +}, +"externalDataConfiguration": { +"$ref": "ExternalDataConfiguration", +"description": "Optional. Describes the data format, location, and other properties of a table stored outside of BigQuery. By defining these properties, the data source can then be queried as if it were a standard BigQuery table." +}, +"friendlyName": { +"description": "Optional. A descriptive name for this table.", +"type": "string" +}, +"id": { +"description": "Output only. An opaque ID uniquely identifying the table.", +"readOnly": true, +"type": "string" +}, +"kind": { +"default": "bigquery#table", +"description": "The type of resource ID.", +"type": "string" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "The labels associated with this table. You can use these to organize and group your tables. Label keys and values can be no longer than 63 characters, can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. Label values are optional. Label keys must start with a letter and each label in the list must have a different key.", +"type": "object" +}, +"lastModifiedTime": { +"description": "Output only. The time when this table was last modified, in milliseconds since the epoch.", +"format": "uint64", +"readOnly": true, +"type": "string" +}, +"location": { +"description": "Output only. The geographic location where the table resides. This value is inherited from the dataset.", +"readOnly": true, +"type": "string" +}, +"managedTableType": { +"description": "Optional. If set, overrides the default managed table type configured in the dataset.", +"enum": [ +"MANAGED_TABLE_TYPE_UNSPECIFIED", +"NATIVE", +"BIGLAKE" +], +"enumDescriptions": [ +"No managed table type specified.", +"The managed table is a native BigQuery table.", +"The managed table is a BigLake table for Apache Iceberg in BigQuery." +], +"type": "string" +}, +"materializedView": { +"$ref": "MaterializedViewDefinition", +"description": "Optional. The materialized view definition." +}, +"materializedViewStatus": { +"$ref": "MaterializedViewStatus", +"description": "Output only. The materialized view status.", +"readOnly": true +}, +"maxStaleness": { +"description": "Optional. The maximum staleness of data that could be returned when the table (or stale MV) is queried. Staleness encoded as a string encoding of sql IntervalValue type.", +"type": "string" +}, +"model": { +"$ref": "ModelDefinition", +"description": "Deprecated." +}, +"numActiveLogicalBytes": { +"description": "Output only. Number of logical bytes that are less than 90 days old.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"numActivePhysicalBytes": { +"description": "Output only. Number of physical bytes less than 90 days old. This data is not kept in real time, and might be delayed by a few seconds to a few minutes.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"numBytes": { +"description": "Output only. The size of this table in logical bytes, excluding any data in the streaming buffer.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"numCurrentPhysicalBytes": { +"description": "Output only. Number of physical bytes used by current live data storage. This data is not kept in real time, and might be delayed by a few seconds to a few minutes.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"numLongTermBytes": { +"description": "Output only. The number of logical bytes in the table that are considered \"long-term storage\".", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"numLongTermLogicalBytes": { +"description": "Output only. Number of logical bytes that are more than 90 days old.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"numLongTermPhysicalBytes": { +"description": "Output only. Number of physical bytes more than 90 days old. This data is not kept in real time, and might be delayed by a few seconds to a few minutes.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"numPartitions": { +"description": "Output only. The number of partitions present in the table or materialized view. This data is not kept in real time, and might be delayed by a few seconds to a few minutes.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"numPhysicalBytes": { +"description": "Output only. The physical size of this table in bytes. This includes storage used for time travel.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"numRows": { +"description": "Output only. The number of rows of data in this table, excluding any data in the streaming buffer.", +"format": "uint64", +"readOnly": true, +"type": "string" +}, +"numTimeTravelPhysicalBytes": { +"description": "Output only. Number of physical bytes used by time travel storage (deleted or changed data). This data is not kept in real time, and might be delayed by a few seconds to a few minutes.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"numTotalLogicalBytes": { +"description": "Output only. Total number of logical bytes in the table or materialized view.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"numTotalPhysicalBytes": { +"description": "Output only. The physical size of this table in bytes. This also includes storage used for time travel. This data is not kept in real time, and might be delayed by a few seconds to a few minutes.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"partitionDefinition": { +"$ref": "PartitioningDefinition", +"description": "Optional. The partition information for all table formats, including managed partitioned tables, hive partitioned tables, iceberg partitioned, and metastore partitioned tables. This field is only populated for metastore partitioned tables. For other table formats, this is an output only field." +}, +"rangePartitioning": { +"$ref": "RangePartitioning", +"description": "If specified, configures range partitioning for this table." +}, +"replicas": { +"description": "Optional. Output only. Table references of all replicas currently active on the table.", +"items": { +"$ref": "TableReference" +}, +"readOnly": true, +"type": "array" +}, +"requirePartitionFilter": { +"default": "false", +"description": "Optional. If set to true, queries over this table require a partition filter that can be used for partition elimination to be specified.", +"type": "boolean" +}, +"resourceTags": { +"additionalProperties": { +"type": "string" +}, +"description": "[Optional] The tags associated with this table. Tag keys are globally unique. See additional information on [tags](https://cloud.google.com/iam/docs/tags-access-control#definitions). An object containing a list of \"key\": value pairs. The key is the namespaced friendly name of the tag key, e.g. \"12345/environment\" where 12345 is parent id. The value is the friendly short name of the tag value, e.g. \"production\".", +"type": "object" +}, +"restrictions": { +"$ref": "RestrictionConfig", +"description": "Optional. Output only. Restriction config for table. If set, restrict certain accesses on the table based on the config. See [Data egress](https://cloud.google.com/bigquery/docs/analytics-hub-introduction#data_egress) for more details.", +"readOnly": true +}, +"schema": { +"$ref": "TableSchema", +"description": "Optional. Describes the schema of this table." +}, +"selfLink": { +"description": "Output only. A URL that can be used to access this resource again.", +"readOnly": true, +"type": "string" +}, +"snapshotDefinition": { +"$ref": "SnapshotDefinition", +"description": "Output only. Contains information about the snapshot. This value is set via snapshot creation.", +"readOnly": true +}, +"streamingBuffer": { +"$ref": "Streamingbuffer", +"description": "Output only. Contains information regarding this table's streaming buffer, if one is present. This field will be absent if the table is not being streamed to or if there is no data in the streaming buffer.", +"readOnly": true +}, +"tableConstraints": { +"$ref": "TableConstraints", +"description": "Optional. Tables Primary Key and Foreign Key information" +}, +"tableReference": { +"$ref": "TableReference", +"description": "Required. Reference describing the ID of this table." +}, +"tableReplicationInfo": { +"$ref": "TableReplicationInfo", +"description": "Optional. Table replication info for table created `AS REPLICA` DDL like: `CREATE MATERIALIZED VIEW mv1 AS REPLICA OF src_mv`" +}, +"timePartitioning": { +"$ref": "TimePartitioning", +"description": "If specified, configures time-based partitioning for this table." +}, +"type": { +"description": "Output only. Describes the table type. The following values are supported: * `TABLE`: A normal BigQuery table. * `VIEW`: A virtual table defined by a SQL query. * `EXTERNAL`: A table that references data stored in an external storage system, such as Google Cloud Storage. * `MATERIALIZED_VIEW`: A precomputed view defined by a SQL query. * `SNAPSHOT`: An immutable BigQuery table that preserves the contents of a base table at a particular time. See additional information on [table snapshots](https://cloud.google.com/bigquery/docs/table-snapshots-intro). The default value is `TABLE`.", +"readOnly": true, +"type": "string" +}, +"view": { +"$ref": "ViewDefinition", +"description": "Optional. The view definition." +} +}, +"type": "object" +}, +"TableCell": { +"id": "TableCell", +"properties": { +"v": { +"type": "any" +} +}, +"type": "object" +}, +"TableConstraints": { +"description": "The TableConstraints defines the primary key and foreign key.", +"id": "TableConstraints", +"properties": { +"foreignKeys": { +"description": "Optional. Present only if the table has a foreign key. The foreign key is not enforced.", +"items": { +"description": "Represents a foreign key constraint on a table's columns.", +"properties": { +"columnReferences": { +"description": "Required. The columns that compose the foreign key.", +"items": { +"description": "The pair of the foreign key column and primary key column.", +"properties": { +"referencedColumn": { +"description": "Required. The column in the primary key that are referenced by the referencing_column.", +"type": "string" +}, +"referencingColumn": { +"description": "Required. The column that composes the foreign key.", +"type": "string" +} +}, +"type": "object" +}, +"type": "array" +}, +"name": { +"description": "Optional. Set only if the foreign key constraint is named.", +"type": "string" +}, +"referencedTable": { +"properties": { +"datasetId": { +"type": "string" +}, +"projectId": { +"type": "string" +}, +"tableId": { +"type": "string" +} +}, +"type": "object" +} +}, +"type": "object" +}, +"type": "array" +}, +"primaryKey": { +"description": "Represents the primary key constraint on a table's columns.", +"properties": { +"columns": { +"description": "Required. The columns that are composed of the primary key constraint.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +} +}, +"type": "object" +}, +"TableDataInsertAllRequest": { +"description": "Request for sending a single streaming insert.", +"id": "TableDataInsertAllRequest", +"properties": { +"ignoreUnknownValues": { +"description": "Optional. Accept rows that contain values that do not match the schema. The unknown values are ignored. Default is false, which treats unknown values as errors.", +"type": "boolean" +}, +"kind": { +"default": "bigquery#tableDataInsertAllRequest", +"description": "Optional. The resource type of the response. The value is not checked at the backend. Historically, it has been set to \"bigquery#tableDataInsertAllRequest\" but you are not required to set it.", +"type": "string" +}, +"rows": { +"items": { +"description": "Data for a single insertion row.", +"properties": { +"insertId": { +"description": "Insertion ID for best-effort deduplication. This feature is not recommended, and users seeking stronger insertion semantics are encouraged to use other mechanisms such as the BigQuery Write API.", +"type": "string" +}, +"json": { +"$ref": "JsonObject", +"description": "Data for a single row." +} +}, +"type": "object" +}, +"type": "array" +}, +"skipInvalidRows": { +"description": "Optional. Insert all valid rows of a request, even if invalid rows exist. The default value is false, which causes the entire request to fail if any invalid rows exist.", +"type": "boolean" +}, +"templateSuffix": { +"description": "Optional. If specified, treats the destination table as a base template, and inserts the rows into an instance table named \"{destination}{templateSuffix}\". BigQuery will manage creation of the instance table, using the schema of the base template table. See https://cloud.google.com/bigquery/streaming-data-into-bigquery#template-tables for considerations when working with templates tables.", +"type": "string" +}, +"traceId": { +"description": "Optional. Unique request trace id. Used for debugging purposes only. It is case-sensitive, limited to up to 36 ASCII characters. A UUID is recommended.", +"type": "string" +} +}, +"type": "object" +}, +"TableDataInsertAllResponse": { +"description": "Describes the format of a streaming insert response.", +"id": "TableDataInsertAllResponse", +"properties": { +"insertErrors": { +"description": "Describes specific errors encountered while processing the request.", +"items": { +"description": "Error details about a single row's insertion.", +"properties": { +"errors": { +"description": "Error information for the row indicated by the index property.", +"items": { +"$ref": "ErrorProto" +}, +"type": "array" +}, +"index": { +"description": "The index of the row that error applies to.", +"format": "uint32", +"type": "integer" +} +}, +"type": "object" +}, +"type": "array" +}, +"kind": { +"default": "bigquery#tableDataInsertAllResponse", +"description": "Returns \"bigquery#tableDataInsertAllResponse\".", +"type": "string" +} +}, +"type": "object" +}, +"TableDataList": { +"id": "TableDataList", +"properties": { +"etag": { +"description": "A hash of this page of results.", +"type": "string" +}, +"kind": { +"default": "bigquery#tableDataList", +"description": "The resource type of the response.", +"type": "string" +}, +"pageToken": { +"description": "A token used for paging results. Providing this token instead of the startIndex parameter can help you retrieve stable results when an underlying table is changing.", +"type": "string" +}, +"rows": { +"description": "Rows of results.", +"items": { +"$ref": "TableRow" +}, +"type": "array" +}, +"totalRows": { +"description": "Total rows of the entire table. In order to show default value 0 we have to present it as string.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"TableFieldSchema": { +"description": "A field in TableSchema", +"id": "TableFieldSchema", +"properties": { +"categories": { +"description": "Deprecated.", +"properties": { +"names": { +"description": "Deprecated.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"collation": { +"description": "Optional. Field collation can be set only when the type of field is STRING. The following values are supported: * 'und:ci': undetermined locale, case insensitive. * '': empty string. Default to case-sensitive behavior.", +"type": "string" +}, +"dataPolicies": { +"description": "Optional. Data policies attached to this field, used for field-level access control.", +"items": { +"$ref": "DataPolicyOption" +}, +"type": "array" +}, +"defaultValueExpression": { +"description": "Optional. A SQL expression to specify the [default value] (https://cloud.google.com/bigquery/docs/default-values) for this field.", +"type": "string" +}, +"description": { +"description": "Optional. The field description. The maximum length is 1,024 characters.", +"type": "string" +}, +"fields": { +"description": "Optional. Describes the nested schema fields if the type property is set to RECORD.", +"items": { +"$ref": "TableFieldSchema" +}, +"type": "array" +}, +"foreignTypeDefinition": { +"description": "Optional. Definition of the foreign data type. Only valid for top-level schema fields (not nested fields). If the type is FOREIGN, this field is required.", +"type": "string" +}, +"maxLength": { +"description": "Optional. Maximum length of values of this field for STRINGS or BYTES. If max_length is not specified, no maximum length constraint is imposed on this field. If type = \"STRING\", then max_length represents the maximum UTF-8 length of strings in this field. If type = \"BYTES\", then max_length represents the maximum number of bytes in this field. It is invalid to set this field if type \u2260 \"STRING\" and \u2260 \"BYTES\".", +"format": "int64", +"type": "string" +}, +"mode": { +"description": "Optional. The field mode. Possible values include NULLABLE, REQUIRED and REPEATED. The default value is NULLABLE.", +"type": "string" +}, +"name": { +"description": "Required. The field name. The name must contain only letters (a-z, A-Z), numbers (0-9), or underscores (_), and must start with a letter or underscore. The maximum length is 300 characters.", +"type": "string" +}, +"policyTags": { +"description": "Optional. The policy tags attached to this field, used for field-level access control. If not set, defaults to empty policy_tags.", +"properties": { +"names": { +"description": "A list of policy tag resource names. For example, \"projects/1/locations/eu/taxonomies/2/policyTags/3\". At most 1 policy tag is currently allowed.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"precision": { +"description": "Optional. Precision (maximum number of total digits in base 10) and scale (maximum number of digits in the fractional part in base 10) constraints for values of this field for NUMERIC or BIGNUMERIC. It is invalid to set precision or scale if type \u2260 \"NUMERIC\" and \u2260 \"BIGNUMERIC\". If precision and scale are not specified, no value range constraint is imposed on this field insofar as values are permitted by the type. Values of this NUMERIC or BIGNUMERIC field must be in this range when: * Precision (P) and scale (S) are specified: [-10P-S + 10-S, 10P-S - 10-S] * Precision (P) is specified but not scale (and thus scale is interpreted to be equal to zero): [-10P + 1, 10P - 1]. Acceptable values for precision and scale if both are specified: * If type = \"NUMERIC\": 1 \u2264 precision - scale \u2264 29 and 0 \u2264 scale \u2264 9. * If type = \"BIGNUMERIC\": 1 \u2264 precision - scale \u2264 38 and 0 \u2264 scale \u2264 38. Acceptable values for precision if only precision is specified but not scale (and thus scale is interpreted to be equal to zero): * If type = \"NUMERIC\": 1 \u2264 precision \u2264 29. * If type = \"BIGNUMERIC\": 1 \u2264 precision \u2264 38. If scale is specified but not precision, then it is invalid.", +"format": "int64", +"type": "string" +}, +"rangeElementType": { +"description": "Represents the type of a field element.", +"properties": { +"type": { +"description": "Required. The type of a field element. For more information, see TableFieldSchema.type.", +"type": "string" +} +}, +"type": "object" +}, +"roundingMode": { +"description": "Optional. Specifies the rounding mode to be used when storing values of NUMERIC and BIGNUMERIC type.", +"enum": [ +"ROUNDING_MODE_UNSPECIFIED", +"ROUND_HALF_AWAY_FROM_ZERO", +"ROUND_HALF_EVEN" +], +"enumDescriptions": [ +"Unspecified will default to using ROUND_HALF_AWAY_FROM_ZERO.", +"ROUND_HALF_AWAY_FROM_ZERO rounds half values away from zero when applying precision and scale upon writing of NUMERIC and BIGNUMERIC values. For Scale: 0 1.1, 1.2, 1.3, 1.4 => 1 1.5, 1.6, 1.7, 1.8, 1.9 => 2", +"ROUND_HALF_EVEN rounds half values to the nearest even value when applying precision and scale upon writing of NUMERIC and BIGNUMERIC values. For Scale: 0 1.1, 1.2, 1.3, 1.4 => 1 1.5 => 2 1.6, 1.7, 1.8, 1.9 => 2 2.5 => 2" +], +"type": "string" +}, +"scale": { +"description": "Optional. See documentation for precision.", +"format": "int64", +"type": "string" +}, +"timestampPrecision": { +"default": "6", +"description": "Optional. Precision (maximum number of total digits in base 10) for seconds of TIMESTAMP type. Possible values include: * 6 (Default, for TIMESTAMP type with microsecond precision) * 12 (For TIMESTAMP type with picosecond precision)", +"format": "int64", +"type": "string" +}, +"type": { +"description": "Required. The field data type. Possible values include: * STRING * BYTES * INTEGER (or INT64) * FLOAT (or FLOAT64) * BOOLEAN (or BOOL) * TIMESTAMP * DATE * TIME * DATETIME * GEOGRAPHY * NUMERIC * BIGNUMERIC * JSON * RECORD (or STRUCT) * RANGE Use of RECORD/STRUCT indicates that the field contains a nested schema.", +"type": "string" +} +}, +"type": "object" +}, +"TableList": { +"description": "Partial projection of the metadata for a given table in a list response.", +"id": "TableList", +"properties": { +"etag": { +"description": "A hash of this page of results.", +"type": "string" +}, +"kind": { +"default": "bigquery#tableList", +"description": "The type of list.", +"type": "string" +}, +"nextPageToken": { +"description": "A token to request the next page of results.", +"type": "string" +}, +"tables": { +"description": "Tables in the requested dataset.", +"items": { +"properties": { +"clustering": { +"$ref": "Clustering", +"description": "Clustering specification for this table, if configured." +}, +"creationTime": { +"description": "Output only. The time when this table was created, in milliseconds since the epoch.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"expirationTime": { +"description": "The time when this table expires, in milliseconds since the epoch. If not present, the table will persist indefinitely. Expired tables will be deleted and their storage reclaimed.", +"format": "int64", +"type": "string" +}, +"friendlyName": { +"description": "The user-friendly name for this table.", +"type": "string" +}, +"id": { +"description": "An opaque ID of the table.", +"type": "string" +}, +"kind": { +"description": "The resource type.", +"type": "string" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "The labels associated with this table. You can use these to organize and group your tables.", +"type": "object" +}, +"rangePartitioning": { +"$ref": "RangePartitioning", +"description": "The range partitioning for this table." +}, +"requirePartitionFilter": { +"default": "false", +"description": "Optional. If set to true, queries including this table must specify a partition filter. This filter is used for partition elimination.", +"type": "boolean" +}, +"tableReference": { +"$ref": "TableReference", +"description": "A reference uniquely identifying table." +}, +"timePartitioning": { +"$ref": "TimePartitioning", +"description": "The time-based partitioning for this table." +}, +"type": { +"description": "The type of table.", +"type": "string" +}, +"view": { +"description": "Information about a logical view.", +"properties": { +"privacyPolicy": { +"$ref": "PrivacyPolicy", +"description": "Specifies the privacy policy for the view." +}, +"useLegacySql": { +"description": "True if view is defined in legacy SQL dialect, false if in GoogleSQL.", +"type": "boolean" +} +}, +"type": "object" +} +}, +"type": "object" +}, +"type": "array" +}, +"totalItems": { +"description": "The total number of tables in the dataset.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"TableMetadataCacheUsage": { +"description": "Table level detail on the usage of metadata caching. Only set for Metadata caching eligible tables referenced in the query.", +"id": "TableMetadataCacheUsage", +"properties": { +"explanation": { +"description": "Free form human-readable reason metadata caching was unused for the job.", +"type": "string" +}, +"pruningStats": { +"$ref": "PruningStats", +"description": "The column metadata index pruning statistics." +}, +"staleness": { +"description": "Duration since last refresh as of this job for managed tables (indicates metadata cache staleness as seen by this job).", +"format": "google-duration", +"type": "string" +}, +"tableReference": { +"$ref": "TableReference", +"description": "Metadata caching eligible table referenced in the query." +}, +"tableType": { +"description": "[Table type](https://cloud.google.com/bigquery/docs/reference/rest/v2/tables#Table.FIELDS.type).", +"type": "string" +}, +"unusedReason": { +"description": "Reason for not using metadata caching for the table.", +"enum": [ +"UNUSED_REASON_UNSPECIFIED", +"EXCEEDED_MAX_STALENESS", +"METADATA_CACHING_NOT_ENABLED", +"OTHER_REASON" +], +"enumDescriptions": [ +"Unused reasons not specified.", +"Metadata cache was outside the table's maxStaleness.", +"Metadata caching feature is not enabled. [Update BigLake tables] (/bigquery/docs/create-cloud-storage-table-biglake#update-biglake-tables) to enable the metadata caching.", +"Other unknown reason." +], +"type": "string" +} +}, +"type": "object" +}, +"TableReference": { +"id": "TableReference", +"properties": { +"datasetId": { +"description": "Required. The ID of the dataset containing this table.", +"type": "string" +}, +"projectId": { +"description": "Required. The ID of the project containing this table.", +"type": "string" +}, +"tableId": { +"description": "Required. The ID of the table. The ID can contain Unicode characters in category L (letter), M (mark), N (number), Pc (connector, including underscore), Pd (dash), and Zs (space). For more information, see [General Category](https://wikipedia.org/wiki/Unicode_character_property#General_Category). The maximum length is 1,024 characters. Certain operations allow suffixing of the table ID with a partition decorator, such as `sample_table$20190123`.", +"type": "string" +} +}, +"type": "object" +}, +"TableReplicationInfo": { +"description": "Replication info of a table created using `AS REPLICA` DDL like: `CREATE MATERIALIZED VIEW mv1 AS REPLICA OF src_mv`", +"id": "TableReplicationInfo", +"properties": { +"replicatedSourceLastRefreshTime": { +"description": "Optional. Output only. If source is a materialized view, this field signifies the last refresh time of the source.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"replicationError": { +"$ref": "ErrorProto", +"description": "Optional. Output only. Replication error that will permanently stopped table replication.", +"readOnly": true +}, +"replicationIntervalMs": { +"description": "Optional. Specifies the interval at which the source table is polled for updates. It's Optional. If not specified, default replication interval would be applied.", +"format": "int64", +"type": "string" +}, +"replicationStatus": { +"description": "Optional. Output only. Replication status of configured replication.", +"enum": [ +"REPLICATION_STATUS_UNSPECIFIED", +"ACTIVE", +"SOURCE_DELETED", +"PERMISSION_DENIED", +"UNSUPPORTED_CONFIGURATION" +], +"enumDescriptions": [ +"Default value.", +"Replication is Active with no errors.", +"Source object is deleted.", +"Source revoked replication permissions.", +"Source configuration doesn\u2019t allow replication." +], +"readOnly": true, +"type": "string" +}, +"sourceTable": { +"$ref": "TableReference", +"description": "Required. Source table reference that is replicated." +} +}, +"type": "object" +}, +"TableRow": { +"id": "TableRow", +"properties": { +"f": { +"description": "Represents a single row in the result set, consisting of one or more fields.", +"items": { +"$ref": "TableCell" +}, +"type": "array" +} +}, +"type": "object" +}, +"TableSchema": { +"description": "Schema of a table", +"id": "TableSchema", +"properties": { +"fields": { +"description": "Describes the fields in a table.", +"items": { +"$ref": "TableFieldSchema" +}, +"type": "array" +}, +"foreignTypeInfo": { +"$ref": "ForeignTypeInfo", +"description": "Optional. Specifies metadata of the foreign data type definition in field schema (TableFieldSchema.foreign_type_definition)." +} +}, +"type": "object" +}, +"TestIamPermissionsRequest": { +"description": "Request message for `TestIamPermissions` method.", +"id": "TestIamPermissionsRequest", +"properties": { +"permissions": { +"description": "The set of permissions to check for the `resource`. Permissions with wildcards (such as `*` or `storage.*`) are not allowed. For more information see [IAM Overview](https://cloud.google.com/iam/docs/overview#permissions).", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"TestIamPermissionsResponse": { +"description": "Response message for `TestIamPermissions` method.", +"id": "TestIamPermissionsResponse", +"properties": { +"permissions": { +"description": "A subset of `TestPermissionsRequest.permissions` that the caller is allowed.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"TimePartitioning": { +"id": "TimePartitioning", +"properties": { +"expirationMs": { +"description": "Optional. Number of milliseconds for which to keep the storage for a partition. A wrapper is used here because 0 is an invalid value.", +"format": "int64", +"type": "string" +}, +"field": { +"description": "Optional. If not set, the table is partitioned by pseudo column '_PARTITIONTIME'; if set, the table is partitioned by this field. The field must be a top-level TIMESTAMP or DATE field. Its mode must be NULLABLE or REQUIRED. A wrapper is used here because an empty string is an invalid value.", +"type": "string" +}, +"requirePartitionFilter": { +"default": "false", +"deprecated": true, +"description": "If set to true, queries over this table require a partition filter that can be used for partition elimination to be specified. This field is deprecated; please set the field with the same name on the table itself instead. This field needs a wrapper because we want to output the default value, false, if the user explicitly set it.", +"type": "boolean" +}, +"type": { +"description": "Required. The supported types are DAY, HOUR, MONTH, and YEAR, which will generate one partition per day, hour, month, and year, respectively.", +"type": "string" +} +}, +"type": "object" +}, +"TrainingOptions": { +"description": "Options used in model training.", +"id": "TrainingOptions", +"properties": { +"activationFn": { +"description": "Activation function of the neural nets.", +"type": "string" +}, +"adjustStepChanges": { +"description": "If true, detect step changes and make data adjustment in the input time series.", +"type": "boolean" +}, +"approxGlobalFeatureContrib": { +"description": "Whether to use approximate feature contribution method in XGBoost model explanation for global explain.", +"type": "boolean" +}, +"autoArima": { +"description": "Whether to enable auto ARIMA or not.", +"type": "boolean" +}, +"autoArimaMaxOrder": { +"description": "The max value of the sum of non-seasonal p and q.", +"format": "int64", +"type": "string" +}, +"autoArimaMinOrder": { +"description": "The min value of the sum of non-seasonal p and q.", +"format": "int64", +"type": "string" +}, +"autoClassWeights": { +"description": "Whether to calculate class weights automatically based on the popularity of each label.", +"type": "boolean" +}, +"batchSize": { +"description": "Batch size for dnn models.", +"format": "int64", +"type": "string" +}, +"boosterType": { +"description": "Booster type for boosted tree models.", +"enum": [ +"BOOSTER_TYPE_UNSPECIFIED", +"GBTREE", +"DART" +], +"enumDescriptions": [ +"Unspecified booster type.", +"Gbtree booster.", +"Dart booster." +], +"type": "string" +}, +"budgetHours": { +"description": "Budget in hours for AutoML training.", +"format": "double", +"type": "number" +}, +"calculatePValues": { +"description": "Whether or not p-value test should be computed for this model. Only available for linear and logistic regression models.", +"type": "boolean" +}, +"categoryEncodingMethod": { +"description": "Categorical feature encoding method.", +"enum": [ +"ENCODING_METHOD_UNSPECIFIED", +"ONE_HOT_ENCODING", +"LABEL_ENCODING", +"DUMMY_ENCODING" +], +"enumDescriptions": [ +"Unspecified encoding method.", +"Applies one-hot encoding.", +"Applies label encoding.", +"Applies dummy encoding." +], +"type": "string" +}, +"cleanSpikesAndDips": { +"description": "If true, clean spikes and dips in the input time series.", +"type": "boolean" +}, +"colorSpace": { +"description": "Enums for color space, used for processing images in Object Table. See more details at https://www.tensorflow.org/io/tutorials/colorspace.", +"enum": [ +"COLOR_SPACE_UNSPECIFIED", +"RGB", +"HSV", +"YIQ", +"YUV", +"GRAYSCALE" +], +"enumDescriptions": [ +"Unspecified color space", +"RGB", +"HSV", +"YIQ", +"YUV", +"GRAYSCALE" +], +"type": "string" +}, +"colsampleBylevel": { +"description": "Subsample ratio of columns for each level for boosted tree models.", +"format": "double", +"type": "number" +}, +"colsampleBynode": { +"description": "Subsample ratio of columns for each node(split) for boosted tree models.", +"format": "double", +"type": "number" +}, +"colsampleBytree": { +"description": "Subsample ratio of columns when constructing each tree for boosted tree models.", +"format": "double", +"type": "number" +}, +"contributionMetric": { +"description": "The contribution metric. Applies to contribution analysis models. Allowed formats supported are for summable and summable ratio contribution metrics. These include expressions such as `SUM(x)` or `SUM(x)/SUM(y)`, where x and y are column names from the base table.", +"type": "string" +}, +"dartNormalizeType": { +"description": "Type of normalization algorithm for boosted tree models using dart booster.", +"enum": [ +"DART_NORMALIZE_TYPE_UNSPECIFIED", +"TREE", +"FOREST" +], +"enumDescriptions": [ +"Unspecified dart normalize type.", +"New trees have the same weight of each of dropped trees.", +"New trees have the same weight of sum of dropped trees." +], +"type": "string" +}, +"dataFrequency": { +"description": "The data frequency of a time series.", +"enum": [ +"DATA_FREQUENCY_UNSPECIFIED", +"AUTO_FREQUENCY", +"YEARLY", +"QUARTERLY", +"MONTHLY", +"WEEKLY", +"DAILY", +"HOURLY", +"PER_MINUTE" +], +"enumDescriptions": [ +"Default value.", +"Automatically inferred from timestamps.", +"Yearly data.", +"Quarterly data.", +"Monthly data.", +"Weekly data.", +"Daily data.", +"Hourly data.", +"Per-minute data." +], +"type": "string" +}, +"dataSplitColumn": { +"description": "The column to split data with. This column won't be used as a feature. 1. When data_split_method is CUSTOM, the corresponding column should be boolean. The rows with true value tag are eval data, and the false are training data. 2. When data_split_method is SEQ, the first DATA_SPLIT_EVAL_FRACTION rows (from smallest to largest) in the corresponding column are used as training data, and the rest are eval data. It respects the order in Orderable data types: https://cloud.google.com/bigquery/docs/reference/standard-sql/data-types#data_type_properties", +"type": "string" +}, +"dataSplitEvalFraction": { +"description": "The fraction of evaluation data over the whole input data. The rest of data will be used as training data. The format should be double. Accurate to two decimal places. Default value is 0.2.", +"format": "double", +"type": "number" +}, +"dataSplitMethod": { +"description": "The data split type for training and evaluation, e.g. RANDOM.", +"enum": [ +"DATA_SPLIT_METHOD_UNSPECIFIED", +"RANDOM", +"CUSTOM", +"SEQUENTIAL", +"NO_SPLIT", +"AUTO_SPLIT" +], +"enumDescriptions": [ +"Default value.", +"Splits data randomly.", +"Splits data with the user provided tags.", +"Splits data sequentially.", +"Data split will be skipped.", +"Splits data automatically: Uses NO_SPLIT if the data size is small. Otherwise uses RANDOM." +], +"type": "string" +}, +"decomposeTimeSeries": { +"description": "If true, perform decompose time series and save the results.", +"type": "boolean" +}, +"dimensionIdColumns": { +"description": "Optional. Names of the columns to slice on. Applies to contribution analysis models.", +"items": { +"type": "string" +}, +"type": "array" +}, +"distanceType": { +"description": "Distance type for clustering models.", +"enum": [ +"DISTANCE_TYPE_UNSPECIFIED", +"EUCLIDEAN", +"COSINE" +], +"enumDescriptions": [ +"Default value.", +"Eculidean distance.", +"Cosine distance." +], +"type": "string" +}, +"dropout": { +"description": "Dropout probability for dnn models.", +"format": "double", +"type": "number" +}, +"earlyStop": { +"description": "Whether to stop early when the loss doesn't improve significantly any more (compared to min_relative_progress). Used only for iterative training algorithms.", +"type": "boolean" +}, +"enableGlobalExplain": { +"description": "If true, enable global explanation during training.", +"type": "boolean" +}, +"endpointIdleTtl": { +"description": "The idle TTL of the endpoint before the resources get destroyed. The default value is 6.5 hours.", +"format": "google-duration", +"type": "string" +}, +"feedbackType": { +"description": "Feedback type that specifies which algorithm to run for matrix factorization.", +"enum": [ +"FEEDBACK_TYPE_UNSPECIFIED", +"IMPLICIT", +"EXPLICIT" +], +"enumDescriptions": [ +"Default value.", +"Use weighted-als for implicit feedback problems.", +"Use nonweighted-als for explicit feedback problems." +], +"type": "string" +}, +"fitIntercept": { +"description": "Whether the model should include intercept during model training.", +"type": "boolean" +}, +"forecastLimitLowerBound": { +"description": "The forecast limit lower bound that was used during ARIMA model training with limits. To see more details of the algorithm: https://otexts.com/fpp2/limits.html", +"format": "double", +"type": "number" +}, +"forecastLimitUpperBound": { +"description": "The forecast limit upper bound that was used during ARIMA model training with limits.", +"format": "double", +"type": "number" +}, +"hiddenUnits": { +"description": "Hidden units for dnn models.", +"items": { +"format": "int64", +"type": "string" +}, +"type": "array" +}, +"holidayRegion": { +"description": "The geographical region based on which the holidays are considered in time series modeling. If a valid value is specified, then holiday effects modeling is enabled.", +"enum": [ +"HOLIDAY_REGION_UNSPECIFIED", +"GLOBAL", +"NA", +"JAPAC", +"EMEA", +"LAC", +"AE", +"AR", +"AT", +"AU", +"BE", +"BR", +"CA", +"CH", +"CL", +"CN", +"CO", +"CS", +"CZ", +"DE", +"DK", +"DZ", +"EC", +"EE", +"EG", +"ES", +"FI", +"FR", +"GB", +"GR", +"HK", +"HU", +"ID", +"IE", +"IL", +"IN", +"IR", +"IT", +"JP", +"KR", +"LV", +"MA", +"MX", +"MY", +"NG", +"NL", +"NO", +"NZ", +"PE", +"PH", +"PK", +"PL", +"PT", +"RO", +"RS", +"RU", +"SA", +"SE", +"SG", +"SI", +"SK", +"TH", +"TR", +"TW", +"UA", +"US", +"VE", +"VN", +"ZA" +], +"enumDescriptions": [ +"Holiday region unspecified.", +"Global.", +"North America.", +"Japan and Asia Pacific: Korea, Greater China, India, Australia, and New Zealand.", +"Europe, the Middle East and Africa.", +"Latin America and the Caribbean.", +"United Arab Emirates", +"Argentina", +"Austria", +"Australia", +"Belgium", +"Brazil", +"Canada", +"Switzerland", +"Chile", +"China", +"Colombia", +"Czechoslovakia", +"Czech Republic", +"Germany", +"Denmark", +"Algeria", +"Ecuador", +"Estonia", +"Egypt", +"Spain", +"Finland", +"France", +"Great Britain (United Kingdom)", +"Greece", +"Hong Kong", +"Hungary", +"Indonesia", +"Ireland", +"Israel", +"India", +"Iran", +"Italy", +"Japan", +"Korea (South)", +"Latvia", +"Morocco", +"Mexico", +"Malaysia", +"Nigeria", +"Netherlands", +"Norway", +"New Zealand", +"Peru", +"Philippines", +"Pakistan", +"Poland", +"Portugal", +"Romania", +"Serbia", +"Russian Federation", +"Saudi Arabia", +"Sweden", +"Singapore", +"Slovenia", +"Slovakia", +"Thailand", +"Turkey", +"Taiwan", +"Ukraine", +"United States", +"Venezuela", +"Vietnam", +"South Africa" +], +"type": "string" +}, +"holidayRegions": { +"description": "A list of geographical regions that are used for time series modeling.", +"items": { +"enum": [ +"HOLIDAY_REGION_UNSPECIFIED", +"GLOBAL", +"NA", +"JAPAC", +"EMEA", +"LAC", +"AE", +"AR", +"AT", +"AU", +"BE", +"BR", +"CA", +"CH", +"CL", +"CN", +"CO", +"CS", +"CZ", +"DE", +"DK", +"DZ", +"EC", +"EE", +"EG", +"ES", +"FI", +"FR", +"GB", +"GR", +"HK", +"HU", +"ID", +"IE", +"IL", +"IN", +"IR", +"IT", +"JP", +"KR", +"LV", +"MA", +"MX", +"MY", +"NG", +"NL", +"NO", +"NZ", +"PE", +"PH", +"PK", +"PL", +"PT", +"RO", +"RS", +"RU", +"SA", +"SE", +"SG", +"SI", +"SK", +"TH", +"TR", +"TW", +"UA", +"US", +"VE", +"VN", +"ZA" +], +"enumDescriptions": [ +"Holiday region unspecified.", +"Global.", +"North America.", +"Japan and Asia Pacific: Korea, Greater China, India, Australia, and New Zealand.", +"Europe, the Middle East and Africa.", +"Latin America and the Caribbean.", +"United Arab Emirates", +"Argentina", +"Austria", +"Australia", +"Belgium", +"Brazil", +"Canada", +"Switzerland", +"Chile", +"China", +"Colombia", +"Czechoslovakia", +"Czech Republic", +"Germany", +"Denmark", +"Algeria", +"Ecuador", +"Estonia", +"Egypt", +"Spain", +"Finland", +"France", +"Great Britain (United Kingdom)", +"Greece", +"Hong Kong", +"Hungary", +"Indonesia", +"Ireland", +"Israel", +"India", +"Iran", +"Italy", +"Japan", +"Korea (South)", +"Latvia", +"Morocco", +"Mexico", +"Malaysia", +"Nigeria", +"Netherlands", +"Norway", +"New Zealand", +"Peru", +"Philippines", +"Pakistan", +"Poland", +"Portugal", +"Romania", +"Serbia", +"Russian Federation", +"Saudi Arabia", +"Sweden", +"Singapore", +"Slovenia", +"Slovakia", +"Thailand", +"Turkey", +"Taiwan", +"Ukraine", +"United States", +"Venezuela", +"Vietnam", +"South Africa" +], +"type": "string" +}, +"type": "array" +}, +"horizon": { +"description": "The number of periods ahead that need to be forecasted.", +"format": "int64", +"type": "string" +}, +"hparamTuningObjectives": { +"description": "The target evaluation metrics to optimize the hyperparameters for.", +"items": { +"enum": [ +"HPARAM_TUNING_OBJECTIVE_UNSPECIFIED", +"MEAN_ABSOLUTE_ERROR", +"MEAN_SQUARED_ERROR", +"MEAN_SQUARED_LOG_ERROR", +"MEDIAN_ABSOLUTE_ERROR", +"R_SQUARED", +"EXPLAINED_VARIANCE", +"PRECISION", +"RECALL", +"ACCURACY", +"F1_SCORE", +"LOG_LOSS", +"ROC_AUC", +"DAVIES_BOULDIN_INDEX", +"MEAN_AVERAGE_PRECISION", +"NORMALIZED_DISCOUNTED_CUMULATIVE_GAIN", +"AVERAGE_RANK" +], +"enumDescriptions": [ +"Unspecified evaluation metric.", +"Mean absolute error. mean_absolute_error = AVG(ABS(label - predicted))", +"Mean squared error. mean_squared_error = AVG(POW(label - predicted, 2))", +"Mean squared log error. mean_squared_log_error = AVG(POW(LN(1 + label) - LN(1 + predicted), 2))", +"Mean absolute error. median_absolute_error = APPROX_QUANTILES(absolute_error, 2)[OFFSET(1)]", +"R^2 score. This corresponds to r2_score in ML.EVALUATE. r_squared = 1 - SUM(squared_error)/(COUNT(label)*VAR_POP(label))", +"Explained variance. explained_variance = 1 - VAR_POP(label_error)/VAR_POP(label)", +"Precision is the fraction of actual positive predictions that had positive actual labels. For multiclass this is a macro-averaged metric treating each class as a binary classifier.", +"Recall is the fraction of actual positive labels that were given a positive prediction. For multiclass this is a macro-averaged metric.", +"Accuracy is the fraction of predictions given the correct label. For multiclass this is a globally micro-averaged metric.", +"The F1 score is an average of recall and precision. For multiclass this is a macro-averaged metric.", +"Logarithmic Loss. For multiclass this is a macro-averaged metric.", +"Area Under an ROC Curve. For multiclass this is a macro-averaged metric.", +"Davies-Bouldin Index.", +"Mean Average Precision.", +"Normalized Discounted Cumulative Gain.", +"Average Rank." +], +"type": "string" +}, +"type": "array" +}, +"huggingFaceModelId": { +"description": "The id of a Hugging Face model. For example, `google/gemma-2-2b-it`.", +"type": "string" +}, +"includeDrift": { +"description": "Include drift when fitting an ARIMA model.", +"type": "boolean" +}, +"initialLearnRate": { +"description": "Specifies the initial learning rate for the line search learn rate strategy.", +"format": "double", +"type": "number" +}, +"inputLabelColumns": { +"description": "Name of input label columns in training data.", +"items": { +"type": "string" +}, +"type": "array" +}, +"instanceWeightColumn": { +"description": "Name of the instance weight column for training data. This column isn't be used as a feature.", +"type": "string" +}, +"integratedGradientsNumSteps": { +"description": "Number of integral steps for the integrated gradients explain method.", +"format": "int64", +"type": "string" +}, +"isTestColumn": { +"description": "Name of the column used to determine the rows corresponding to control and test. Applies to contribution analysis models.", +"type": "string" +}, +"itemColumn": { +"description": "Item column specified for matrix factorization models.", +"type": "string" +}, +"kmeansInitializationColumn": { +"description": "The column used to provide the initial centroids for kmeans algorithm when kmeans_initialization_method is CUSTOM.", +"type": "string" +}, +"kmeansInitializationMethod": { +"description": "The method used to initialize the centroids for kmeans algorithm.", +"enum": [ +"KMEANS_INITIALIZATION_METHOD_UNSPECIFIED", +"RANDOM", +"CUSTOM", +"KMEANS_PLUS_PLUS" +], +"enumDescriptions": [ +"Unspecified initialization method.", +"Initializes the centroids randomly.", +"Initializes the centroids using data specified in kmeans_initialization_column.", +"Initializes with kmeans++." +], +"type": "string" +}, +"l1RegActivation": { +"description": "L1 regularization coefficient to activations.", +"format": "double", +"type": "number" +}, +"l1Regularization": { +"description": "L1 regularization coefficient.", +"format": "double", +"type": "number" +}, +"l2Regularization": { +"description": "L2 regularization coefficient.", +"format": "double", +"type": "number" +}, +"labelClassWeights": { +"additionalProperties": { +"format": "double", +"type": "number" +}, +"description": "Weights associated with each label class, for rebalancing the training data. Only applicable for classification models.", +"type": "object" +}, +"learnRate": { +"description": "Learning rate in training. Used only for iterative training algorithms.", +"format": "double", +"type": "number" +}, +"learnRateStrategy": { +"description": "The strategy to determine learn rate for the current iteration.", +"enum": [ +"LEARN_RATE_STRATEGY_UNSPECIFIED", +"LINE_SEARCH", +"CONSTANT" +], +"enumDescriptions": [ +"Default value.", +"Use line search to determine learning rate.", +"Use a constant learning rate." +], +"type": "string" +}, +"lossType": { +"description": "Type of loss function used during training run.", +"enum": [ +"LOSS_TYPE_UNSPECIFIED", +"MEAN_SQUARED_LOSS", +"MEAN_LOG_LOSS" +], +"enumDescriptions": [ +"Default value.", +"Mean squared loss, used for linear regression.", +"Mean log loss, used for logistic regression." +], +"type": "string" +}, +"machineType": { +"description": "The type of the machine used to deploy and serve the model.", +"type": "string" +}, +"maxIterations": { +"description": "The maximum number of iterations in training. Used only for iterative training algorithms.", +"format": "int64", +"type": "string" +}, +"maxParallelTrials": { +"description": "Maximum number of trials to run in parallel.", +"format": "int64", +"type": "string" +}, +"maxReplicaCount": { +"description": "The maximum number of machine replicas that will be deployed on an endpoint. The default value is equal to min_replica_count.", +"format": "int64", +"type": "string" +}, +"maxTimeSeriesLength": { +"description": "The maximum number of time points in a time series that can be used in modeling the trend component of the time series. Don't use this option with the `timeSeriesLengthFraction` or `minTimeSeriesLength` options.", +"format": "int64", +"type": "string" +}, +"maxTreeDepth": { +"description": "Maximum depth of a tree for boosted tree models.", +"format": "int64", +"type": "string" +}, +"minAprioriSupport": { +"description": "The apriori support minimum. Applies to contribution analysis models.", +"format": "double", +"type": "number" +}, +"minRelativeProgress": { +"description": "When early_stop is true, stops training when accuracy improvement is less than 'min_relative_progress'. Used only for iterative training algorithms.", +"format": "double", +"type": "number" +}, +"minReplicaCount": { +"description": "The minimum number of machine replicas that will be always deployed on an endpoint. This value must be greater than or equal to 1. The default value is 1.", +"format": "int64", +"type": "string" +}, +"minSplitLoss": { +"description": "Minimum split loss for boosted tree models.", +"format": "double", +"type": "number" +}, +"minTimeSeriesLength": { +"description": "The minimum number of time points in a time series that are used in modeling the trend component of the time series. If you use this option you must also set the `timeSeriesLengthFraction` option. This training option ensures that enough time points are available when you use `timeSeriesLengthFraction` in trend modeling. This is particularly important when forecasting multiple time series in a single query using `timeSeriesIdColumn`. If the total number of time points is less than the `minTimeSeriesLength` value, then the query uses all available time points.", +"format": "int64", +"type": "string" +}, +"minTreeChildWeight": { +"description": "Minimum sum of instance weight needed in a child for boosted tree models.", +"format": "int64", +"type": "string" +}, +"modelGardenModelName": { +"description": "The name of a Vertex model garden publisher model. Format is `publishers/{publisher}/models/{model}@{optional_version_id}`.", +"type": "string" +}, +"modelRegistry": { +"description": "The model registry.", +"enum": [ +"MODEL_REGISTRY_UNSPECIFIED", +"VERTEX_AI" +], +"enumDescriptions": [ +"Default value.", +"Vertex AI." +], +"type": "string" +}, +"modelUri": { +"description": "Google Cloud Storage URI from which the model was imported. Only applicable for imported models.", +"type": "string" +}, +"nonSeasonalOrder": { +"$ref": "ArimaOrder", +"description": "A specification of the non-seasonal part of the ARIMA model: the three components (p, d, q) are the AR order, the degree of differencing, and the MA order." +}, +"numClusters": { +"description": "Number of clusters for clustering models.", +"format": "int64", +"type": "string" +}, +"numFactors": { +"description": "Num factors specified for matrix factorization models.", +"format": "int64", +"type": "string" +}, +"numParallelTree": { +"description": "Number of parallel trees constructed during each iteration for boosted tree models.", +"format": "int64", +"type": "string" +}, +"numPrincipalComponents": { +"description": "Number of principal components to keep in the PCA model. Must be <= the number of features.", +"format": "int64", +"type": "string" +}, +"numTrials": { +"description": "Number of trials to run this hyperparameter tuning job.", +"format": "int64", +"type": "string" +}, +"optimizationStrategy": { +"description": "Optimization strategy for training linear regression models.", +"enum": [ +"OPTIMIZATION_STRATEGY_UNSPECIFIED", +"BATCH_GRADIENT_DESCENT", +"NORMAL_EQUATION" +], +"enumDescriptions": [ +"Default value.", +"Uses an iterative batch gradient descent algorithm.", +"Uses a normal equation to solve linear regression problem." +], +"type": "string" +}, +"optimizer": { +"description": "Optimizer used for training the neural nets.", +"type": "string" +}, +"pcaExplainedVarianceRatio": { +"description": "The minimum ratio of cumulative explained variance that needs to be given by the PCA model.", +"format": "double", +"type": "number" +}, +"pcaSolver": { +"description": "The solver for PCA.", +"enum": [ +"UNSPECIFIED", +"FULL", +"RANDOMIZED", +"AUTO" +], +"enumDescriptions": [ +"Default value.", +"Full eigen-decoposition.", +"Randomized SVD.", +"Auto." +], +"type": "string" +}, +"reservationAffinityKey": { +"description": "Corresponds to the label key of a reservation resource used by Vertex AI. To target a SPECIFIC_RESERVATION by name, use `compute.googleapis.com/reservation-name` as the key and specify the name of your reservation as its value.", +"type": "string" +}, +"reservationAffinityType": { +"description": "Specifies the reservation affinity type used to configure a Vertex AI resource. The default value is `NO_RESERVATION`.", +"enum": [ +"RESERVATION_AFFINITY_TYPE_UNSPECIFIED", +"NO_RESERVATION", +"ANY_RESERVATION", +"SPECIFIC_RESERVATION" +], +"enumDescriptions": [ +"Default value.", +"No reservation.", +"Any reservation.", +"Specific reservation." +], +"type": "string" +}, +"reservationAffinityValues": { +"description": "Corresponds to the label values of a reservation resource used by Vertex AI. This must be the full resource name of the reservation or reservation block.", +"items": { +"type": "string" +}, +"type": "array" +}, +"sampledShapleyNumPaths": { +"description": "Number of paths for the sampled Shapley explain method.", +"format": "int64", +"type": "string" +}, +"scaleFeatures": { +"description": "If true, scale the feature values by dividing the feature standard deviation. Currently only apply to PCA.", +"type": "boolean" +}, +"standardizeFeatures": { +"description": "Whether to standardize numerical features. Default to true.", +"type": "boolean" +}, +"subsample": { +"description": "Subsample fraction of the training data to grow tree to prevent overfitting for boosted tree models.", +"format": "double", +"type": "number" +}, +"tfVersion": { +"description": "Based on the selected TF version, the corresponding docker image is used to train external models.", +"type": "string" +}, +"timeSeriesDataColumn": { +"description": "Column to be designated as time series data for ARIMA model.", +"type": "string" +}, +"timeSeriesIdColumn": { +"description": "The time series id column that was used during ARIMA model training.", +"type": "string" +}, +"timeSeriesIdColumns": { +"description": "The time series id columns that were used during ARIMA model training.", +"items": { +"type": "string" +}, +"type": "array" +}, +"timeSeriesLengthFraction": { +"description": "The fraction of the interpolated length of the time series that's used to model the time series trend component. All of the time points of the time series are used to model the non-trend component. This training option accelerates modeling training without sacrificing much forecasting accuracy. You can use this option with `minTimeSeriesLength` but not with `maxTimeSeriesLength`.", +"format": "double", +"type": "number" +}, +"timeSeriesTimestampColumn": { +"description": "Column to be designated as time series timestamp for ARIMA model.", +"type": "string" +}, +"treeMethod": { +"description": "Tree construction algorithm for boosted tree models.", +"enum": [ +"TREE_METHOD_UNSPECIFIED", +"AUTO", +"EXACT", +"APPROX", +"HIST" +], +"enumDescriptions": [ +"Unspecified tree method.", +"Use heuristic to choose the fastest method.", +"Exact greedy algorithm.", +"Approximate greedy algorithm using quantile sketch and gradient histogram.", +"Fast histogram optimized approximate greedy algorithm." +], +"type": "string" +}, +"trendSmoothingWindowSize": { +"description": "Smoothing window size for the trend component. When a positive value is specified, a center moving average smoothing is applied on the history trend. When the smoothing window is out of the boundary at the beginning or the end of the trend, the first element or the last element is padded to fill the smoothing window before the average is applied.", +"format": "int64", +"type": "string" +}, +"userColumn": { +"description": "User column specified for matrix factorization models.", +"type": "string" +}, +"vertexAiModelVersionAliases": { +"description": "The version aliases to apply in Vertex AI model registry. Always overwrite if the version aliases exists in a existing model.", +"items": { +"type": "string" +}, +"type": "array" +}, +"walsAlpha": { +"description": "Hyperparameter for matrix factoration when implicit feedback type is specified.", +"format": "double", +"type": "number" +}, +"warmStart": { +"description": "Whether to train a model from the last checkpoint.", +"type": "boolean" +}, +"xgboostVersion": { +"description": "User-selected XGBoost versions for training of XGBoost models.", +"type": "string" +} +}, +"type": "object" +}, +"TrainingRun": { +"description": "Information about a single training query run for the model.", +"id": "TrainingRun", +"properties": { +"classLevelGlobalExplanations": { +"description": "Output only. Global explanation contains the explanation of top features on the class level. Applies to classification models only.", +"items": { +"$ref": "GlobalExplanation" +}, +"readOnly": true, +"type": "array" +}, +"dataSplitResult": { +"$ref": "DataSplitResult", +"description": "Output only. Data split result of the training run. Only set when the input data is actually split.", +"readOnly": true +}, +"evaluationMetrics": { +"$ref": "EvaluationMetrics", +"description": "Output only. The evaluation metrics over training/eval data that were computed at the end of training.", +"readOnly": true +}, +"modelLevelGlobalExplanation": { +"$ref": "GlobalExplanation", +"description": "Output only. Global explanation contains the explanation of top features on the model level. Applies to both regression and classification models.", +"readOnly": true +}, +"results": { +"description": "Output only. Output of each iteration run, results.size() <= max_iterations.", +"items": { +"$ref": "IterationResult" +}, +"readOnly": true, +"type": "array" +}, +"startTime": { +"description": "Output only. The start time of this training run.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"trainingOptions": { +"$ref": "TrainingOptions", +"description": "Output only. Options that were used for this training run, includes user specified and default options that were used.", +"readOnly": true +}, +"trainingStartTime": { +"deprecated": true, +"description": "Output only. The start time of this training run, in milliseconds since epoch.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"vertexAiModelId": { +"description": "The model id in the [Vertex AI Model Registry](https://cloud.google.com/vertex-ai/docs/model-registry/introduction) for this training run.", +"type": "string" +}, +"vertexAiModelVersion": { +"description": "Output only. The model version in the [Vertex AI Model Registry](https://cloud.google.com/vertex-ai/docs/model-registry/introduction) for this training run.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"TransactionInfo": { +"description": "[Alpha] Information of a multi-statement transaction.", +"id": "TransactionInfo", +"properties": { +"transactionId": { +"description": "Output only. [Alpha] Id of the transaction.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"TransformColumn": { +"description": "Information about a single transform column.", +"id": "TransformColumn", +"properties": { +"name": { +"description": "Output only. Name of the column.", +"readOnly": true, +"type": "string" +}, +"transformSql": { +"description": "Output only. The SQL expression used in the column transform.", +"readOnly": true, +"type": "string" +}, +"type": { +"$ref": "StandardSqlDataType", +"description": "Output only. Data type of the column after the transform.", +"readOnly": true +} +}, +"type": "object" +}, +"UndeleteDatasetRequest": { +"description": "Request format for undeleting a dataset.", +"id": "UndeleteDatasetRequest", +"properties": { +"deletionTime": { +"description": "Optional. The exact time when the dataset was deleted. If not specified, the most recently deleted version is undeleted. Undeleting a dataset using deletion time is not supported.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"UserDefinedFunctionResource": { +"description": " This is used for defining User Defined Function (UDF) resources only when using legacy SQL. Users of GoogleSQL should leverage either DDL (e.g. CREATE [TEMPORARY] FUNCTION ... ) or the Routines API to define UDF resources. For additional information on migrating, see: https://cloud.google.com/bigquery/docs/reference/standard-sql/migrating-from-legacy-sql#differences_in_user-defined_javascript_functions", +"id": "UserDefinedFunctionResource", +"properties": { +"inlineCode": { +"description": "[Pick one] An inline resource that contains code for a user-defined function (UDF). Providing a inline code resource is equivalent to providing a URI for a file containing the same code.", +"type": "string" +}, +"resourceUri": { +"description": "[Pick one] A code resource to load from a Google Cloud Storage URI (gs://bucket/path).", +"type": "string" +} +}, +"type": "object" +}, +"VectorSearchStatistics": { +"description": "Statistics for a vector search query. Populated as part of JobStatistics2.", +"id": "VectorSearchStatistics", +"properties": { +"indexUnusedReasons": { +"description": "When `indexUsageMode` is `UNUSED` or `PARTIALLY_USED`, this field explains why indexes were not used in all or part of the vector search query. If `indexUsageMode` is `FULLY_USED`, this field is not populated.", +"items": { +"$ref": "IndexUnusedReason" +}, +"type": "array" +}, +"indexUsageMode": { +"description": "Specifies the index usage mode for the query.", +"enum": [ +"INDEX_USAGE_MODE_UNSPECIFIED", +"UNUSED", +"PARTIALLY_USED", +"FULLY_USED" +], +"enumDescriptions": [ +"Index usage mode not specified.", +"No vector indexes were used in the vector search query. See [`indexUnusedReasons`] (/bigquery/docs/reference/rest/v2/Job#IndexUnusedReason) for detailed reasons.", +"Part of the vector search query used vector indexes. See [`indexUnusedReasons`] (/bigquery/docs/reference/rest/v2/Job#IndexUnusedReason) for why other parts of the query did not use vector indexes.", +"The entire vector search query used vector indexes." +], +"type": "string" +}, +"storedColumnsUsages": { +"description": "Specifies the usage of stored columns in the query when stored columns are used in the query.", +"items": { +"$ref": "StoredColumnsUsage" +}, +"type": "array" +} +}, +"type": "object" +}, +"ViewDefinition": { +"description": "Describes the definition of a logical view.", +"id": "ViewDefinition", +"properties": { +"foreignDefinitions": { +"description": "Optional. Foreign view representations.", +"items": { +"$ref": "ForeignViewDefinition" +}, +"type": "array" +}, +"privacyPolicy": { +"$ref": "PrivacyPolicy", +"description": "Optional. Specifies the privacy policy for the view." +}, +"query": { +"description": "Required. A query that BigQuery executes when the view is referenced.", +"type": "string" +}, +"useExplicitColumnNames": { +"description": "True if the column names are explicitly specified. For example by using the 'CREATE VIEW v(c1, c2) AS ...' syntax. Can only be set for GoogleSQL views.", +"type": "boolean" +}, +"useLegacySql": { +"description": "Specifies whether to use BigQuery's legacy SQL for this view. The default value is true. If set to false, the view uses BigQuery's [GoogleSQL](https://docs.cloud.google.com/bigquery/docs/introduction-sql). Queries and views that reference this view must use the same flag value. A wrapper is used here because the default value is True.", +"type": "boolean" +}, +"userDefinedFunctionResources": { +"description": "Describes user-defined function resources used in the query.", +"items": { +"$ref": "UserDefinedFunctionResource" +}, +"type": "array" +} +}, +"type": "object" +} +}, +"servicePath": "bigquery/v2/", +"title": "BigQuery API", +"version": "v2" +} \ No newline at end of file diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/bigqueryconnection.v1.json b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/bigqueryconnection.v1.json new file mode 100644 index 0000000000000000000000000000000000000000..b20918df1a5228d99511defd5fef39703547d88d --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/bigqueryconnection.v1.json @@ -0,0 +1,1020 @@ +{ +"auth": { +"oauth2": { +"scopes": { +"https://www.googleapis.com/auth/bigquery": { +"description": "View and manage your data in Google BigQuery and see the email address for your Google Account" +}, +"https://www.googleapis.com/auth/cloud-platform": { +"description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." +} +} +} +}, +"basePath": "", +"baseUrl": "https://bigqueryconnection.googleapis.com/", +"batchPath": "batch", +"canonicalName": "BigQuery Connection Service", +"description": "Allows users to manage BigQuery connections to external data sources.", +"discoveryVersion": "v1", +"documentationLink": "https://cloud.google.com/bigquery/docs/connections-api-intro", +"fullyEncodeReservedExpansion": true, +"icons": { +"x16": "http://www.google.com/images/icons/product/search-16.gif", +"x32": "http://www.google.com/images/icons/product/search-32.gif" +}, +"id": "bigqueryconnection:v1", +"kind": "discovery#restDescription", +"mtlsRootUrl": "https://bigqueryconnection.mtls.googleapis.com/", +"name": "bigqueryconnection", +"ownerDomain": "google.com", +"ownerName": "Google", +"parameters": { +"$.xgafv": { +"description": "V1 error format.", +"enum": [ +"1", +"2" +], +"enumDescriptions": [ +"v1 error format", +"v2 error format" +], +"location": "query", +"type": "string" +}, +"access_token": { +"description": "OAuth access token.", +"location": "query", +"type": "string" +}, +"alt": { +"default": "json", +"description": "Data format for response.", +"enum": [ +"json", +"media", +"proto" +], +"enumDescriptions": [ +"Responses with Content-Type of application/json", +"Media download with context-dependent Content-Type", +"Responses with Content-Type of application/x-protobuf" +], +"location": "query", +"type": "string" +}, +"callback": { +"description": "JSONP", +"location": "query", +"type": "string" +}, +"fields": { +"description": "Selector specifying which fields to include in a partial response.", +"location": "query", +"type": "string" +}, +"key": { +"description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", +"location": "query", +"type": "string" +}, +"oauth_token": { +"description": "OAuth 2.0 token for the current user.", +"location": "query", +"type": "string" +}, +"prettyPrint": { +"default": "true", +"description": "Returns response with indentations and line breaks.", +"location": "query", +"type": "boolean" +}, +"quotaUser": { +"description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.", +"location": "query", +"type": "string" +}, +"uploadType": { +"description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", +"location": "query", +"type": "string" +}, +"upload_protocol": { +"description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", +"location": "query", +"type": "string" +} +}, +"protocol": "rest", +"resources": { +"projects": { +"resources": { +"locations": { +"resources": { +"connections": { +"methods": { +"create": { +"description": "Creates a new connection.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/connections", +"httpMethod": "POST", +"id": "bigqueryconnection.projects.locations.connections.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"connectionId": { +"description": "Optional. Connection id that should be assigned to the created connection.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. Parent resource name. Must be in the format `projects/{project_id}/locations/{location_id}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/connections", +"request": { +"$ref": "Connection" +}, +"response": { +"$ref": "Connection" +}, +"scopes": [ +"https://www.googleapis.com/auth/bigquery", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes connection and associated credential.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/connections/{connectionsId}", +"httpMethod": "DELETE", +"id": "bigqueryconnection.projects.locations.connections.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of the deleted connection, for example: `projects/{project_id}/locations/{location_id}/connections/{connection_id}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/connections/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/bigquery", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Returns specified connection.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/connections/{connectionsId}", +"httpMethod": "GET", +"id": "bigqueryconnection.projects.locations.connections.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of the requested connection, for example: `projects/{project_id}/locations/{location_id}/connections/{connection_id}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/connections/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Connection" +}, +"scopes": [ +"https://www.googleapis.com/auth/bigquery", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"getIamPolicy": { +"description": "Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/connections/{connectionsId}:getIamPolicy", +"httpMethod": "POST", +"id": "bigqueryconnection.projects.locations.connections.getIamPolicy", +"parameterOrder": [ +"resource" +], +"parameters": { +"resource": { +"description": "REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/connections/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+resource}:getIamPolicy", +"request": { +"$ref": "GetIamPolicyRequest" +}, +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/bigquery", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Returns a list of connections in the given project.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/connections", +"httpMethod": "GET", +"id": "bigqueryconnection.projects.locations.connections.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "Required. Page size.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Page token.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. Parent resource name. Must be in the form: `projects/{project_id}/locations/{location_id}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/connections", +"response": { +"$ref": "ListConnectionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/bigquery", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates the specified connection. For security reasons, also resets credential if connection properties are in the update field mask.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/connections/{connectionsId}", +"httpMethod": "PATCH", +"id": "bigqueryconnection.projects.locations.connections.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of the connection to update, for example: `projects/{project_id}/locations/{location_id}/connections/{connection_id}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/connections/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Required. Update mask for the connection fields to be updated.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "Connection" +}, +"response": { +"$ref": "Connection" +}, +"scopes": [ +"https://www.googleapis.com/auth/bigquery", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"setIamPolicy": { +"description": "Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/connections/{connectionsId}:setIamPolicy", +"httpMethod": "POST", +"id": "bigqueryconnection.projects.locations.connections.setIamPolicy", +"parameterOrder": [ +"resource" +], +"parameters": { +"resource": { +"description": "REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/connections/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+resource}:setIamPolicy", +"request": { +"$ref": "SetIamPolicyRequest" +}, +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/bigquery", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"testIamPermissions": { +"description": "Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may \"fail open\" without warning.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/connections/{connectionsId}:testIamPermissions", +"httpMethod": "POST", +"id": "bigqueryconnection.projects.locations.connections.testIamPermissions", +"parameterOrder": [ +"resource" +], +"parameters": { +"resource": { +"description": "REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/connections/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+resource}:testIamPermissions", +"request": { +"$ref": "TestIamPermissionsRequest" +}, +"response": { +"$ref": "TestIamPermissionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/bigquery", +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +} +} +} +}, +"revision": "20240727", +"rootUrl": "https://bigqueryconnection.googleapis.com/", +"schemas": { +"AuditConfig": { +"description": "Specifies the audit configuration for a service. The configuration determines which permission types are logged, and what identities, if any, are exempted from logging. An AuditConfig must have one or more AuditLogConfigs. If there are AuditConfigs for both `allServices` and a specific service, the union of the two AuditConfigs is used for that service: the log_types specified in each AuditConfig are enabled, and the exempted_members in each AuditLogConfig are exempted. Example Policy with multiple AuditConfigs: { \"audit_configs\": [ { \"service\": \"allServices\", \"audit_log_configs\": [ { \"log_type\": \"DATA_READ\", \"exempted_members\": [ \"user:jose@example.com\" ] }, { \"log_type\": \"DATA_WRITE\" }, { \"log_type\": \"ADMIN_READ\" } ] }, { \"service\": \"sampleservice.googleapis.com\", \"audit_log_configs\": [ { \"log_type\": \"DATA_READ\" }, { \"log_type\": \"DATA_WRITE\", \"exempted_members\": [ \"user:aliya@example.com\" ] } ] } ] } For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also exempts `jose@example.com` from DATA_READ logging, and `aliya@example.com` from DATA_WRITE logging.", +"id": "AuditConfig", +"properties": { +"auditLogConfigs": { +"description": "The configuration for logging of each type of permission.", +"items": { +"$ref": "AuditLogConfig" +}, +"type": "array" +}, +"service": { +"description": "Specifies a service that will be enabled for audit logging. For example, `storage.googleapis.com`, `cloudsql.googleapis.com`. `allServices` is a special value that covers all services.", +"type": "string" +} +}, +"type": "object" +}, +"AuditLogConfig": { +"description": "Provides the configuration for logging a type of permissions. Example: { \"audit_log_configs\": [ { \"log_type\": \"DATA_READ\", \"exempted_members\": [ \"user:jose@example.com\" ] }, { \"log_type\": \"DATA_WRITE\" } ] } This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting jose@example.com from DATA_READ logging.", +"id": "AuditLogConfig", +"properties": { +"exemptedMembers": { +"description": "Specifies the identities that do not cause logging for this type of permission. Follows the same format of Binding.members.", +"items": { +"type": "string" +}, +"type": "array" +}, +"logType": { +"description": "The log type that this config enables.", +"enum": [ +"LOG_TYPE_UNSPECIFIED", +"ADMIN_READ", +"DATA_WRITE", +"DATA_READ" +], +"enumDescriptions": [ +"Default case. Should never be this.", +"Admin reads. Example: CloudIAM getIamPolicy", +"Data writes. Example: CloudSQL Users create", +"Data reads. Example: CloudSQL Users list" +], +"type": "string" +} +}, +"type": "object" +}, +"AwsAccessRole": { +"description": "Authentication method for Amazon Web Services (AWS) that uses Google owned Google service account to assume into customer's AWS IAM Role.", +"id": "AwsAccessRole", +"properties": { +"iamRoleId": { +"description": "The user\u2019s AWS IAM Role that trusts the Google-owned AWS IAM user Connection.", +"type": "string" +}, +"identity": { +"description": "A unique Google-owned and Google-generated identity for the Connection. This identity will be used to access the user's AWS IAM Role.", +"type": "string" +} +}, +"type": "object" +}, +"AwsProperties": { +"description": "Connection properties specific to Amazon Web Services (AWS).", +"id": "AwsProperties", +"properties": { +"accessRole": { +"$ref": "AwsAccessRole", +"description": "Authentication using Google owned service account to assume into customer's AWS IAM Role." +} +}, +"type": "object" +}, +"AzureProperties": { +"description": "Container for connection properties specific to Azure.", +"id": "AzureProperties", +"properties": { +"application": { +"description": "Output only. The name of the Azure Active Directory Application.", +"readOnly": true, +"type": "string" +}, +"clientId": { +"description": "Output only. The client id of the Azure Active Directory Application.", +"readOnly": true, +"type": "string" +}, +"customerTenantId": { +"description": "The id of customer's directory that host the data.", +"type": "string" +}, +"federatedApplicationClientId": { +"description": "The client ID of the user's Azure Active Directory Application used for a federated connection.", +"type": "string" +}, +"identity": { +"description": "Output only. A unique Google-owned and Google-generated identity for the Connection. This identity will be used to access the user's Azure Active Directory Application.", +"readOnly": true, +"type": "string" +}, +"objectId": { +"description": "Output only. The object id of the Azure Active Directory Application.", +"readOnly": true, +"type": "string" +}, +"redirectUri": { +"description": "The URL user will be redirected to after granting consent during connection setup.", +"type": "string" +} +}, +"type": "object" +}, +"Binding": { +"description": "Associates `members`, or principals, with a `role`.", +"id": "Binding", +"properties": { +"condition": { +"$ref": "Expr", +"description": "The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies)." +}, +"members": { +"description": "Specifies the principals requesting access for a Google Cloud resource. `members` can have the following values: * `allUsers`: A special identifier that represents anyone who is on the internet; with or without a Google account. * `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service account. Does not include identities that come from external identity providers (IdPs) through identity federation. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `group:{emailid}`: An email address that represents a Google group. For example, `admins@example.com`. * `domain:{domain}`: The G Suite domain (primary) that represents all the users of that domain. For example, `google.com` or `example.com`. * `principal://iam.googleapis.com/locations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}`: A single identity in a workforce identity pool. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/group/{group_id}`: All workforce identities in a group. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/attribute.{attribute_name}/{attribute_value}`: All workforce identities with a specific attribute value. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/*`: All identities in a workforce identity pool. * `principal://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/subject/{subject_attribute_value}`: A single identity in a workload identity pool. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/group/{group_id}`: A workload identity pool group. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/attribute.{attribute_name}/{attribute_value}`: All identities in a workload identity pool with a certain attribute. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/*`: All identities in a workload identity pool. * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a user that has been recently deleted. For example, `alice@example.com?uid=123456789012345678901`. If the user is recovered, this value reverts to `user:{emailid}` and the recovered user retains the role in the binding. * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a service account that has been recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the service account is undeleted, this value reverts to `serviceAccount:{emailid}` and the undeleted service account retains the role in the binding. * `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a Google group that has been recently deleted. For example, `admins@example.com?uid=123456789012345678901`. If the group is recovered, this value reverts to `group:{emailid}` and the recovered group retains the role in the binding. * `deleted:principal://iam.googleapis.com/locations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}`: Deleted single identity in a workforce identity pool. For example, `deleted:principal://iam.googleapis.com/locations/global/workforcePools/my-pool-id/subject/my-subject-attribute-value`.", +"items": { +"type": "string" +}, +"type": "array" +}, +"role": { +"description": "Role that is assigned to the list of `members`, or principals. For example, `roles/viewer`, `roles/editor`, or `roles/owner`. For an overview of the IAM roles and permissions, see the [IAM documentation](https://cloud.google.com/iam/docs/roles-overview). For a list of the available pre-defined roles, see [here](https://cloud.google.com/iam/docs/understanding-roles).", +"type": "string" +} +}, +"type": "object" +}, +"CloudResourceProperties": { +"description": "Container for connection properties for delegation of access to GCP resources.", +"id": "CloudResourceProperties", +"properties": { +"serviceAccountId": { +"description": "Output only. The account ID of the service created for the purpose of this connection. The service account does not have any permissions associated with it when it is created. After creation, customers delegate permissions to the service account. When the connection is used in the context of an operation in BigQuery, the service account will be used to connect to the desired resources in GCP. The account ID is in the form of: @gcp-sa-bigquery-cloudresource.iam.gserviceaccount.com", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"CloudSpannerProperties": { +"description": "Connection properties specific to Cloud Spanner.", +"id": "CloudSpannerProperties", +"properties": { +"database": { +"description": "Cloud Spanner database in the form `project/instance/database'", +"type": "string" +}, +"databaseRole": { +"description": "Optional. Cloud Spanner database role for fine-grained access control. The Cloud Spanner admin should have provisioned the database role with appropriate permissions, such as `SELECT` and `INSERT`. Other users should only use roles provided by their Cloud Spanner admins. For more details, see [About fine-grained access control] (https://cloud.google.com/spanner/docs/fgac-about). REQUIRES: The database role name must start with a letter, and can only contain letters, numbers, and underscores.", +"type": "string" +}, +"maxParallelism": { +"description": "Allows setting max parallelism per query when executing on Spanner independent compute resources. If unspecified, default values of parallelism are chosen that are dependent on the Cloud Spanner instance configuration. REQUIRES: `use_parallelism` must be set. REQUIRES: `use_data_boost` must be set.", +"format": "int32", +"type": "integer" +}, +"useDataBoost": { +"description": "If set, the request will be executed via Spanner independent compute resources. REQUIRES: `use_parallelism` must be set.", +"type": "boolean" +}, +"useParallelism": { +"description": "If parallelism should be used when reading from Cloud Spanner", +"type": "boolean" +}, +"useServerlessAnalytics": { +"deprecated": true, +"description": "Deprecated: prefer use_data_boost instead. If the serverless analytics service should be used to read data from Cloud Spanner. Note: `use_parallelism` must be set when using serverless analytics.", +"type": "boolean" +} +}, +"type": "object" +}, +"CloudSqlCredential": { +"description": "Credential info for the Cloud SQL.", +"id": "CloudSqlCredential", +"properties": { +"password": { +"description": "The password for the credential.", +"type": "string" +}, +"username": { +"description": "The username for the credential.", +"type": "string" +} +}, +"type": "object" +}, +"CloudSqlProperties": { +"description": "Connection properties specific to the Cloud SQL.", +"id": "CloudSqlProperties", +"properties": { +"credential": { +"$ref": "CloudSqlCredential", +"description": "Input only. Cloud SQL credential." +}, +"database": { +"description": "Database name.", +"type": "string" +}, +"instanceId": { +"description": "Cloud SQL instance ID in the form `project:location:instance`.", +"type": "string" +}, +"serviceAccountId": { +"description": "Output only. The account ID of the service used for the purpose of this connection. When the connection is used in the context of an operation in BigQuery, this service account will serve as the identity being used for connecting to the CloudSQL instance specified in this connection.", +"readOnly": true, +"type": "string" +}, +"type": { +"description": "Type of the Cloud SQL database.", +"enum": [ +"DATABASE_TYPE_UNSPECIFIED", +"POSTGRES", +"MYSQL" +], +"enumDescriptions": [ +"Unspecified database type.", +"Cloud SQL for PostgreSQL.", +"Cloud SQL for MySQL." +], +"type": "string" +} +}, +"type": "object" +}, +"Connection": { +"description": "Configuration parameters to establish connection with an external data source, except the credential attributes.", +"id": "Connection", +"properties": { +"aws": { +"$ref": "AwsProperties", +"description": "Amazon Web Services (AWS) properties." +}, +"azure": { +"$ref": "AzureProperties", +"description": "Azure properties." +}, +"cloudResource": { +"$ref": "CloudResourceProperties", +"description": "Cloud Resource properties." +}, +"cloudSpanner": { +"$ref": "CloudSpannerProperties", +"description": "Cloud Spanner properties." +}, +"cloudSql": { +"$ref": "CloudSqlProperties", +"description": "Cloud SQL properties." +}, +"configuration": { +"$ref": "ConnectorConfiguration", +"description": "Optional. Connector configuration." +}, +"creationTime": { +"description": "Output only. The creation timestamp of the connection.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"description": { +"description": "User provided description.", +"type": "string" +}, +"friendlyName": { +"description": "User provided display name for the connection.", +"type": "string" +}, +"hasCredential": { +"description": "Output only. True, if credential is configured for this connection.", +"readOnly": true, +"type": "boolean" +}, +"kmsKeyName": { +"description": "Optional. The Cloud KMS key that is used for credentials encryption. If omitted, internal Google owned encryption keys are used. Example: `projects/[kms_project_id]/locations/[region]/keyRings/[key_region]/cryptoKeys/[key]`", +"type": "string" +}, +"lastModifiedTime": { +"description": "Output only. The last update timestamp of the connection.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"name": { +"description": "Output only. The resource name of the connection in the form of: `projects/{project_id}/locations/{location_id}/connections/{connection_id}`", +"readOnly": true, +"type": "string" +}, +"salesforceDataCloud": { +"$ref": "SalesforceDataCloudProperties", +"description": "Optional. Salesforce DataCloud properties. This field is intended for use only by Salesforce partner projects. This field contains properties for your Salesforce DataCloud connection." +}, +"spark": { +"$ref": "SparkProperties", +"description": "Spark properties." +} +}, +"type": "object" +}, +"ConnectorConfiguration": { +"description": "Represents concrete parameter values for Connector Configuration.", +"id": "ConnectorConfiguration", +"properties": { +"asset": { +"$ref": "ConnectorConfigurationAsset", +"description": "Data asset." +}, +"authentication": { +"$ref": "ConnectorConfigurationAuthentication", +"description": "Client authentication." +}, +"connectorId": { +"description": "Required. Immutable. The ID of the Connector these parameters are configured for.", +"type": "string" +}, +"endpoint": { +"$ref": "ConnectorConfigurationEndpoint", +"description": "Specifies how to reach the remote system this connection is pointing to." +}, +"network": { +"$ref": "ConnectorConfigurationNetwork", +"description": "Networking configuration." +} +}, +"type": "object" +}, +"ConnectorConfigurationAsset": { +"description": "Data Asset - a resource within instance of the system, reachable under specified endpoint. For example a database name in a SQL DB.", +"id": "ConnectorConfigurationAsset", +"properties": { +"database": { +"description": "Name of the database.", +"type": "string" +}, +"googleCloudResource": { +"description": "Full Google Cloud resource name - https://cloud.google.com/apis/design/resource_names#full_resource_name. Example: `//library.googleapis.com/shelves/shelf1/books/book2`", +"type": "string" +} +}, +"type": "object" +}, +"ConnectorConfigurationAuthentication": { +"description": "Client authentication.", +"id": "ConnectorConfigurationAuthentication", +"properties": { +"serviceAccount": { +"description": "Output only. Google-managed service account associated with this connection, e.g., `service-{project_number}@gcp-sa-bigqueryconnection.iam.gserviceaccount.com`. BigQuery jobs using this connection will act as `service_account` identity while connecting to the datasource.", +"readOnly": true, +"type": "string" +}, +"usernamePassword": { +"$ref": "ConnectorConfigurationUsernamePassword", +"description": "Username/password authentication." +} +}, +"type": "object" +}, +"ConnectorConfigurationEndpoint": { +"description": "Remote endpoint specification.", +"id": "ConnectorConfigurationEndpoint", +"properties": { +"hostPort": { +"description": "Host and port in a format of `hostname:port` as defined in https://www.ietf.org/rfc/rfc3986.html#section-3.2.2 and https://www.ietf.org/rfc/rfc3986.html#section-3.2.3.", +"type": "string" +} +}, +"type": "object" +}, +"ConnectorConfigurationNetwork": { +"description": "Network related configuration.", +"id": "ConnectorConfigurationNetwork", +"properties": { +"privateServiceConnect": { +"$ref": "ConnectorConfigurationPrivateServiceConnect", +"description": "Private Service Connect networking configuration." +} +}, +"type": "object" +}, +"ConnectorConfigurationPrivateServiceConnect": { +"description": "Private Service Connect configuration.", +"id": "ConnectorConfigurationPrivateServiceConnect", +"properties": { +"networkAttachment": { +"description": "Required. Network Attachment name in the format of `projects/{project}/regions/{region}/networkAttachments/{networkattachment}`.", +"type": "string" +} +}, +"type": "object" +}, +"ConnectorConfigurationSecret": { +"description": "Secret value parameter.", +"id": "ConnectorConfigurationSecret", +"properties": { +"plaintext": { +"description": "Input only. Secret as plaintext.", +"type": "string" +}, +"secretType": { +"description": "Output only. Indicates type of secret. Can be used to check type of stored secret value even if it's `INPUT_ONLY`.", +"enum": [ +"SECRET_TYPE_UNSPECIFIED", +"PLAINTEXT" +], +"enumDescriptions": [ +"", +"" +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"ConnectorConfigurationUsernamePassword": { +"description": "Username and Password authentication.", +"id": "ConnectorConfigurationUsernamePassword", +"properties": { +"password": { +"$ref": "ConnectorConfigurationSecret", +"description": "Required. Password." +}, +"username": { +"description": "Required. Username.", +"type": "string" +} +}, +"type": "object" +}, +"Empty": { +"description": "A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }", +"id": "Empty", +"properties": {}, +"type": "object" +}, +"Expr": { +"description": "Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: \"Summary size limit\" description: \"Determines if a summary is less than 100 chars\" expression: \"document.summary.size() < 100\" Example (Equality): title: \"Requestor is owner\" description: \"Determines if requestor is the document owner\" expression: \"document.owner == request.auth.claims.email\" Example (Logic): title: \"Public documents\" description: \"Determine whether the document should be publicly visible\" expression: \"document.type != 'private' && document.type != 'internal'\" Example (Data Manipulation): title: \"Notification string\" description: \"Create a notification string with a timestamp.\" expression: \"'New message received at ' + string(document.create_time)\" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information.", +"id": "Expr", +"properties": { +"description": { +"description": "Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI.", +"type": "string" +}, +"expression": { +"description": "Textual representation of an expression in Common Expression Language syntax.", +"type": "string" +}, +"location": { +"description": "Optional. String indicating the location of the expression for error reporting, e.g. a file name and a position in the file.", +"type": "string" +}, +"title": { +"description": "Optional. Title for the expression, i.e. a short string describing its purpose. This can be used e.g. in UIs which allow to enter the expression.", +"type": "string" +} +}, +"type": "object" +}, +"GetIamPolicyRequest": { +"description": "Request message for `GetIamPolicy` method.", +"id": "GetIamPolicyRequest", +"properties": { +"options": { +"$ref": "GetPolicyOptions", +"description": "OPTIONAL: A `GetPolicyOptions` object for specifying options to `GetIamPolicy`." +} +}, +"type": "object" +}, +"GetPolicyOptions": { +"description": "Encapsulates settings provided to GetIamPolicy.", +"id": "GetPolicyOptions", +"properties": { +"requestedPolicyVersion": { +"description": "Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"ListConnectionsResponse": { +"description": "The response for ConnectionService.ListConnections.", +"id": "ListConnectionsResponse", +"properties": { +"connections": { +"description": "List of connections.", +"items": { +"$ref": "Connection" +}, +"type": "array" +}, +"nextPageToken": { +"description": "Next page token.", +"type": "string" +} +}, +"type": "object" +}, +"MetastoreServiceConfig": { +"description": "Configuration of the Dataproc Metastore Service.", +"id": "MetastoreServiceConfig", +"properties": { +"metastoreService": { +"description": "Optional. Resource name of an existing Dataproc Metastore service. Example: * `projects/[project_id]/locations/[region]/services/[service_id]`", +"type": "string" +} +}, +"type": "object" +}, +"Policy": { +"description": "An Identity and Access Management (IAM) policy, which specifies access controls for Google Cloud resources. A `Policy` is a collection of `bindings`. A `binding` binds one or more `members`, or principals, to a single `role`. Principals can be user accounts, service accounts, Google groups, and domains (such as G Suite). A `role` is a named list of permissions; each `role` can be an IAM predefined role or a user-created custom role. For some types of Google Cloud resources, a `binding` can also specify a `condition`, which is a logical expression that allows access to a resource only if the expression evaluates to `true`. A condition can add constraints based on attributes of the request, the resource, or both. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). **JSON example:** ``` { \"bindings\": [ { \"role\": \"roles/resourcemanager.organizationAdmin\", \"members\": [ \"user:mike@example.com\", \"group:admins@example.com\", \"domain:google.com\", \"serviceAccount:my-project-id@appspot.gserviceaccount.com\" ] }, { \"role\": \"roles/resourcemanager.organizationViewer\", \"members\": [ \"user:eve@example.com\" ], \"condition\": { \"title\": \"expirable access\", \"description\": \"Does not grant access after Sep 2020\", \"expression\": \"request.time < timestamp('2020-10-01T00:00:00.000Z')\", } } ], \"etag\": \"BwWWja0YfJA=\", \"version\": 3 } ``` **YAML example:** ``` bindings: - members: - user:mike@example.com - group:admins@example.com - domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.com role: roles/resourcemanager.organizationViewer condition: title: expirable access description: Does not grant access after Sep 2020 expression: request.time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 ``` For a description of IAM and its features, see the [IAM documentation](https://cloud.google.com/iam/docs/).", +"id": "Policy", +"properties": { +"auditConfigs": { +"description": "Specifies cloud audit logging configuration for this policy.", +"items": { +"$ref": "AuditConfig" +}, +"type": "array" +}, +"bindings": { +"description": "Associates a list of `members`, or principals, with a `role`. Optionally, may specify a `condition` that determines how and when the `bindings` are applied. Each of the `bindings` must contain at least one principal. The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250 of these principals can be Google groups. Each occurrence of a principal counts towards these limits. For example, if the `bindings` grant 50 different roles to `user:alice@example.com`, and not to any other principal, then you can add another 1,450 principals to the `bindings` in the `Policy`.", +"items": { +"$ref": "Binding" +}, +"type": "array" +}, +"etag": { +"description": "`etag` is used for optimistic concurrency control as a way to help prevent simultaneous updates of a policy from overwriting each other. It is strongly suggested that systems make use of the `etag` in the read-modify-write cycle to perform policy updates in order to avoid race conditions: An `etag` is returned in the response to `getIamPolicy`, and systems are expected to put that etag in the request to `setIamPolicy` to ensure that their change will be applied to the same version of the policy. **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost.", +"format": "byte", +"type": "string" +}, +"version": { +"description": "Specifies the format of the policy. Valid values are `0`, `1`, and `3`. Requests that specify an invalid value are rejected. Any operation that affects conditional role bindings must specify version `3`. This requirement applies to the following operations: * Getting a policy that includes a conditional role binding * Adding a conditional role binding to a policy * Changing a conditional role binding in a policy * Removing any role binding, with or without a condition, from a policy that includes conditions **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost. If a policy does not include any conditions, operations on that policy may specify any valid version or leave the field unset. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"SalesforceDataCloudProperties": { +"description": "Connection properties specific to Salesforce DataCloud. This is intended for use only by Salesforce partner projects.", +"id": "SalesforceDataCloudProperties", +"properties": { +"identity": { +"description": "Output only. A unique Google-owned and Google-generated service account identity for the connection.", +"readOnly": true, +"type": "string" +}, +"instanceUri": { +"description": "The URL to the user's Salesforce DataCloud instance.", +"type": "string" +}, +"tenantId": { +"description": "The ID of the user's Salesforce tenant.", +"type": "string" +} +}, +"type": "object" +}, +"SetIamPolicyRequest": { +"description": "Request message for `SetIamPolicy` method.", +"id": "SetIamPolicyRequest", +"properties": { +"policy": { +"$ref": "Policy", +"description": "REQUIRED: The complete policy to be applied to the `resource`. The size of the policy is limited to a few 10s of KB. An empty policy is a valid policy but certain Google Cloud services (such as Projects) might reject them." +}, +"updateMask": { +"description": "OPTIONAL: A FieldMask specifying which fields of the policy to modify. Only the fields in the mask will be modified. If no mask is provided, the following default mask is used: `paths: \"bindings, etag\"`", +"format": "google-fieldmask", +"type": "string" +} +}, +"type": "object" +}, +"SparkHistoryServerConfig": { +"description": "Configuration of the Spark History Server.", +"id": "SparkHistoryServerConfig", +"properties": { +"dataprocCluster": { +"description": "Optional. Resource name of an existing Dataproc Cluster to act as a Spark History Server for the connection. Example: * `projects/[project_id]/regions/[region]/clusters/[cluster_name]`", +"type": "string" +} +}, +"type": "object" +}, +"SparkProperties": { +"description": "Container for connection properties to execute stored procedures for Apache Spark.", +"id": "SparkProperties", +"properties": { +"metastoreServiceConfig": { +"$ref": "MetastoreServiceConfig", +"description": "Optional. Dataproc Metastore Service configuration for the connection." +}, +"serviceAccountId": { +"description": "Output only. The account ID of the service created for the purpose of this connection. The service account does not have any permissions associated with it when it is created. After creation, customers delegate permissions to the service account. When the connection is used in the context of a stored procedure for Apache Spark in BigQuery, the service account is used to connect to the desired resources in Google Cloud. The account ID is in the form of: bqcx--@gcp-sa-bigquery-consp.iam.gserviceaccount.com", +"readOnly": true, +"type": "string" +}, +"sparkHistoryServerConfig": { +"$ref": "SparkHistoryServerConfig", +"description": "Optional. Spark History Server configuration for the connection." +} +}, +"type": "object" +}, +"TestIamPermissionsRequest": { +"description": "Request message for `TestIamPermissions` method.", +"id": "TestIamPermissionsRequest", +"properties": { +"permissions": { +"description": "The set of permissions to check for the `resource`. Permissions with wildcards (such as `*` or `storage.*`) are not allowed. For more information see [IAM Overview](https://cloud.google.com/iam/docs/overview#permissions).", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"TestIamPermissionsResponse": { +"description": "Response message for `TestIamPermissions` method.", +"id": "TestIamPermissionsResponse", +"properties": { +"permissions": { +"description": "A subset of `TestPermissionsRequest.permissions` that the caller is allowed.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +} +}, +"servicePath": "", +"title": "BigQuery Connection API", +"version": "v1", +"version_module": true +} \ No newline at end of file diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/bigqueryconnection.v1beta1.json b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/bigqueryconnection.v1beta1.json new file mode 100644 index 0000000000000000000000000000000000000000..fdc2533ca082f9e84506a67e71503cdb1b5dd366 --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/bigqueryconnection.v1beta1.json @@ -0,0 +1,725 @@ +{ +"auth": { +"oauth2": { +"scopes": { +"https://www.googleapis.com/auth/bigquery": { +"description": "View and manage your data in Google BigQuery and see the email address for your Google Account" +}, +"https://www.googleapis.com/auth/cloud-platform": { +"description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." +} +} +} +}, +"basePath": "", +"baseUrl": "https://bigqueryconnection.googleapis.com/", +"batchPath": "batch", +"canonicalName": "BigQuery Connection Service", +"description": "Allows users to manage BigQuery connections to external data sources.", +"discoveryVersion": "v1", +"documentationLink": "https://cloud.google.com/bigquery/docs/connections-api-intro", +"fullyEncodeReservedExpansion": true, +"icons": { +"x16": "http://www.google.com/images/icons/product/search-16.gif", +"x32": "http://www.google.com/images/icons/product/search-32.gif" +}, +"id": "bigqueryconnection:v1beta1", +"kind": "discovery#restDescription", +"mtlsRootUrl": "https://bigqueryconnection.mtls.googleapis.com/", +"name": "bigqueryconnection", +"ownerDomain": "google.com", +"ownerName": "Google", +"parameters": { +"$.xgafv": { +"description": "V1 error format.", +"enum": [ +"1", +"2" +], +"enumDescriptions": [ +"v1 error format", +"v2 error format" +], +"location": "query", +"type": "string" +}, +"access_token": { +"description": "OAuth access token.", +"location": "query", +"type": "string" +}, +"alt": { +"default": "json", +"description": "Data format for response.", +"enum": [ +"json", +"media", +"proto" +], +"enumDescriptions": [ +"Responses with Content-Type of application/json", +"Media download with context-dependent Content-Type", +"Responses with Content-Type of application/x-protobuf" +], +"location": "query", +"type": "string" +}, +"callback": { +"description": "JSONP", +"location": "query", +"type": "string" +}, +"fields": { +"description": "Selector specifying which fields to include in a partial response.", +"location": "query", +"type": "string" +}, +"key": { +"description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", +"location": "query", +"type": "string" +}, +"oauth_token": { +"description": "OAuth 2.0 token for the current user.", +"location": "query", +"type": "string" +}, +"prettyPrint": { +"default": "true", +"description": "Returns response with indentations and line breaks.", +"location": "query", +"type": "boolean" +}, +"quotaUser": { +"description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.", +"location": "query", +"type": "string" +}, +"uploadType": { +"description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", +"location": "query", +"type": "string" +}, +"upload_protocol": { +"description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", +"location": "query", +"type": "string" +} +}, +"protocol": "rest", +"resources": { +"projects": { +"resources": { +"locations": { +"resources": { +"connections": { +"methods": { +"create": { +"description": "Creates a new connection.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/connections", +"httpMethod": "POST", +"id": "bigqueryconnection.projects.locations.connections.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"connectionId": { +"description": "Optional. Connection id that should be assigned to the created connection.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. Parent resource name. Must be in the format `projects/{project_id}/locations/{location_id}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+parent}/connections", +"request": { +"$ref": "Connection" +}, +"response": { +"$ref": "Connection" +}, +"scopes": [ +"https://www.googleapis.com/auth/bigquery", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes connection and associated credential.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/connections/{connectionsId}", +"httpMethod": "DELETE", +"id": "bigqueryconnection.projects.locations.connections.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of the deleted connection, for example: `projects/{project_id}/locations/{location_id}/connections/{connection_id}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/connections/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+name}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/bigquery", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Returns specified connection.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/connections/{connectionsId}", +"httpMethod": "GET", +"id": "bigqueryconnection.projects.locations.connections.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of the requested connection, for example: `projects/{project_id}/locations/{location_id}/connections/{connection_id}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/connections/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+name}", +"response": { +"$ref": "Connection" +}, +"scopes": [ +"https://www.googleapis.com/auth/bigquery", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"getIamPolicy": { +"description": "Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/connections/{connectionsId}:getIamPolicy", +"httpMethod": "POST", +"id": "bigqueryconnection.projects.locations.connections.getIamPolicy", +"parameterOrder": [ +"resource" +], +"parameters": { +"resource": { +"description": "REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/connections/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+resource}:getIamPolicy", +"request": { +"$ref": "GetIamPolicyRequest" +}, +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/bigquery", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Returns a list of connections in the given project.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/connections", +"httpMethod": "GET", +"id": "bigqueryconnection.projects.locations.connections.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"maxResults": { +"description": "Required. Maximum number of results per page.", +"format": "uint32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Page token.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. Parent resource name. Must be in the form: `projects/{project_id}/locations/{location_id}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+parent}/connections", +"response": { +"$ref": "ListConnectionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/bigquery", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates the specified connection. For security reasons, also resets credential if connection properties are in the update field mask.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/connections/{connectionsId}", +"httpMethod": "PATCH", +"id": "bigqueryconnection.projects.locations.connections.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of the connection to update, for example: `projects/{project_id}/locations/{location_id}/connections/{connection_id}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/connections/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Required. Update mask for the connection fields to be updated.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1beta1/{+name}", +"request": { +"$ref": "Connection" +}, +"response": { +"$ref": "Connection" +}, +"scopes": [ +"https://www.googleapis.com/auth/bigquery", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"setIamPolicy": { +"description": "Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/connections/{connectionsId}:setIamPolicy", +"httpMethod": "POST", +"id": "bigqueryconnection.projects.locations.connections.setIamPolicy", +"parameterOrder": [ +"resource" +], +"parameters": { +"resource": { +"description": "REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/connections/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+resource}:setIamPolicy", +"request": { +"$ref": "SetIamPolicyRequest" +}, +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/bigquery", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"testIamPermissions": { +"description": "Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may \"fail open\" without warning.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/connections/{connectionsId}:testIamPermissions", +"httpMethod": "POST", +"id": "bigqueryconnection.projects.locations.connections.testIamPermissions", +"parameterOrder": [ +"resource" +], +"parameters": { +"resource": { +"description": "REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/connections/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+resource}:testIamPermissions", +"request": { +"$ref": "TestIamPermissionsRequest" +}, +"response": { +"$ref": "TestIamPermissionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/bigquery", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"updateCredential": { +"description": "Sets the credential for the specified connection.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/connections/{connectionsId}/credential", +"httpMethod": "PATCH", +"id": "bigqueryconnection.projects.locations.connections.updateCredential", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of the connection, for example: `projects/{project_id}/locations/{location_id}/connections/{connection_id}/credential`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/connections/[^/]+/credential$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+name}", +"request": { +"$ref": "ConnectionCredential" +}, +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/bigquery", +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +} +} +} +}, +"revision": "20240623", +"rootUrl": "https://bigqueryconnection.googleapis.com/", +"schemas": { +"AuditConfig": { +"description": "Specifies the audit configuration for a service. The configuration determines which permission types are logged, and what identities, if any, are exempted from logging. An AuditConfig must have one or more AuditLogConfigs. If there are AuditConfigs for both `allServices` and a specific service, the union of the two AuditConfigs is used for that service: the log_types specified in each AuditConfig are enabled, and the exempted_members in each AuditLogConfig are exempted. Example Policy with multiple AuditConfigs: { \"audit_configs\": [ { \"service\": \"allServices\", \"audit_log_configs\": [ { \"log_type\": \"DATA_READ\", \"exempted_members\": [ \"user:jose@example.com\" ] }, { \"log_type\": \"DATA_WRITE\" }, { \"log_type\": \"ADMIN_READ\" } ] }, { \"service\": \"sampleservice.googleapis.com\", \"audit_log_configs\": [ { \"log_type\": \"DATA_READ\" }, { \"log_type\": \"DATA_WRITE\", \"exempted_members\": [ \"user:aliya@example.com\" ] } ] } ] } For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also exempts `jose@example.com` from DATA_READ logging, and `aliya@example.com` from DATA_WRITE logging.", +"id": "AuditConfig", +"properties": { +"auditLogConfigs": { +"description": "The configuration for logging of each type of permission.", +"items": { +"$ref": "AuditLogConfig" +}, +"type": "array" +}, +"service": { +"description": "Specifies a service that will be enabled for audit logging. For example, `storage.googleapis.com`, `cloudsql.googleapis.com`. `allServices` is a special value that covers all services.", +"type": "string" +} +}, +"type": "object" +}, +"AuditLogConfig": { +"description": "Provides the configuration for logging a type of permissions. Example: { \"audit_log_configs\": [ { \"log_type\": \"DATA_READ\", \"exempted_members\": [ \"user:jose@example.com\" ] }, { \"log_type\": \"DATA_WRITE\" } ] } This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting jose@example.com from DATA_READ logging.", +"id": "AuditLogConfig", +"properties": { +"exemptedMembers": { +"description": "Specifies the identities that do not cause logging for this type of permission. Follows the same format of Binding.members.", +"items": { +"type": "string" +}, +"type": "array" +}, +"logType": { +"description": "The log type that this config enables.", +"enum": [ +"LOG_TYPE_UNSPECIFIED", +"ADMIN_READ", +"DATA_WRITE", +"DATA_READ" +], +"enumDescriptions": [ +"Default case. Should never be this.", +"Admin reads. Example: CloudIAM getIamPolicy", +"Data writes. Example: CloudSQL Users create", +"Data reads. Example: CloudSQL Users list" +], +"type": "string" +} +}, +"type": "object" +}, +"Binding": { +"description": "Associates `members`, or principals, with a `role`.", +"id": "Binding", +"properties": { +"condition": { +"$ref": "Expr", +"description": "The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies)." +}, +"members": { +"description": "Specifies the principals requesting access for a Google Cloud resource. `members` can have the following values: * `allUsers`: A special identifier that represents anyone who is on the internet; with or without a Google account. * `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service account. Does not include identities that come from external identity providers (IdPs) through identity federation. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `group:{emailid}`: An email address that represents a Google group. For example, `admins@example.com`. * `domain:{domain}`: The G Suite domain (primary) that represents all the users of that domain. For example, `google.com` or `example.com`. * `principal://iam.googleapis.com/locations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}`: A single identity in a workforce identity pool. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/group/{group_id}`: All workforce identities in a group. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/attribute.{attribute_name}/{attribute_value}`: All workforce identities with a specific attribute value. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/*`: All identities in a workforce identity pool. * `principal://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/subject/{subject_attribute_value}`: A single identity in a workload identity pool. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/group/{group_id}`: A workload identity pool group. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/attribute.{attribute_name}/{attribute_value}`: All identities in a workload identity pool with a certain attribute. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/*`: All identities in a workload identity pool. * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a user that has been recently deleted. For example, `alice@example.com?uid=123456789012345678901`. If the user is recovered, this value reverts to `user:{emailid}` and the recovered user retains the role in the binding. * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a service account that has been recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the service account is undeleted, this value reverts to `serviceAccount:{emailid}` and the undeleted service account retains the role in the binding. * `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a Google group that has been recently deleted. For example, `admins@example.com?uid=123456789012345678901`. If the group is recovered, this value reverts to `group:{emailid}` and the recovered group retains the role in the binding. * `deleted:principal://iam.googleapis.com/locations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}`: Deleted single identity in a workforce identity pool. For example, `deleted:principal://iam.googleapis.com/locations/global/workforcePools/my-pool-id/subject/my-subject-attribute-value`.", +"items": { +"type": "string" +}, +"type": "array" +}, +"role": { +"description": "Role that is assigned to the list of `members`, or principals. For example, `roles/viewer`, `roles/editor`, or `roles/owner`. For an overview of the IAM roles and permissions, see the [IAM documentation](https://cloud.google.com/iam/docs/roles-overview). For a list of the available pre-defined roles, see [here](https://cloud.google.com/iam/docs/understanding-roles).", +"type": "string" +} +}, +"type": "object" +}, +"CloudSqlCredential": { +"description": "Credential info for the Cloud SQL.", +"id": "CloudSqlCredential", +"properties": { +"password": { +"description": "The password for the credential.", +"type": "string" +}, +"username": { +"description": "The username for the credential.", +"type": "string" +} +}, +"type": "object" +}, +"CloudSqlProperties": { +"description": "Connection properties specific to the Cloud SQL.", +"id": "CloudSqlProperties", +"properties": { +"credential": { +"$ref": "CloudSqlCredential", +"description": "Input only. Cloud SQL credential." +}, +"database": { +"description": "Database name.", +"type": "string" +}, +"instanceId": { +"description": "Cloud SQL instance ID in the form `project:location:instance`.", +"type": "string" +}, +"serviceAccountId": { +"description": "Output only. The account ID of the service used for the purpose of this connection. When the connection is used in the context of an operation in BigQuery, this service account will serve as the identity being used for connecting to the CloudSQL instance specified in this connection.", +"readOnly": true, +"type": "string" +}, +"type": { +"description": "Type of the Cloud SQL database.", +"enum": [ +"DATABASE_TYPE_UNSPECIFIED", +"POSTGRES", +"MYSQL" +], +"enumDescriptions": [ +"Unspecified database type.", +"Cloud SQL for PostgreSQL.", +"Cloud SQL for MySQL." +], +"type": "string" +} +}, +"type": "object" +}, +"Connection": { +"description": "Configuration parameters to establish connection with an external data source, except the credential attributes.", +"id": "Connection", +"properties": { +"cloudSql": { +"$ref": "CloudSqlProperties", +"description": "Cloud SQL properties." +}, +"creationTime": { +"description": "Output only. The creation timestamp of the connection.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"description": { +"description": "User provided description.", +"type": "string" +}, +"friendlyName": { +"description": "User provided display name for the connection.", +"type": "string" +}, +"hasCredential": { +"description": "Output only. True, if credential is configured for this connection.", +"readOnly": true, +"type": "boolean" +}, +"lastModifiedTime": { +"description": "Output only. The last update timestamp of the connection.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"name": { +"description": "The resource name of the connection in the form of: `projects/{project_id}/locations/{location_id}/connections/{connection_id}`", +"type": "string" +} +}, +"type": "object" +}, +"ConnectionCredential": { +"description": "Credential to use with a connection.", +"id": "ConnectionCredential", +"properties": { +"cloudSql": { +"$ref": "CloudSqlCredential", +"description": "Credential for Cloud SQL database." +} +}, +"type": "object" +}, +"Empty": { +"description": "A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }", +"id": "Empty", +"properties": {}, +"type": "object" +}, +"Expr": { +"description": "Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: \"Summary size limit\" description: \"Determines if a summary is less than 100 chars\" expression: \"document.summary.size() < 100\" Example (Equality): title: \"Requestor is owner\" description: \"Determines if requestor is the document owner\" expression: \"document.owner == request.auth.claims.email\" Example (Logic): title: \"Public documents\" description: \"Determine whether the document should be publicly visible\" expression: \"document.type != 'private' && document.type != 'internal'\" Example (Data Manipulation): title: \"Notification string\" description: \"Create a notification string with a timestamp.\" expression: \"'New message received at ' + string(document.create_time)\" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information.", +"id": "Expr", +"properties": { +"description": { +"description": "Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI.", +"type": "string" +}, +"expression": { +"description": "Textual representation of an expression in Common Expression Language syntax.", +"type": "string" +}, +"location": { +"description": "Optional. String indicating the location of the expression for error reporting, e.g. a file name and a position in the file.", +"type": "string" +}, +"title": { +"description": "Optional. Title for the expression, i.e. a short string describing its purpose. This can be used e.g. in UIs which allow to enter the expression.", +"type": "string" +} +}, +"type": "object" +}, +"GetIamPolicyRequest": { +"description": "Request message for `GetIamPolicy` method.", +"id": "GetIamPolicyRequest", +"properties": { +"options": { +"$ref": "GetPolicyOptions", +"description": "OPTIONAL: A `GetPolicyOptions` object for specifying options to `GetIamPolicy`." +} +}, +"type": "object" +}, +"GetPolicyOptions": { +"description": "Encapsulates settings provided to GetIamPolicy.", +"id": "GetPolicyOptions", +"properties": { +"requestedPolicyVersion": { +"description": "Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"ListConnectionsResponse": { +"description": "The response for ConnectionService.ListConnections.", +"id": "ListConnectionsResponse", +"properties": { +"connections": { +"description": "List of connections.", +"items": { +"$ref": "Connection" +}, +"type": "array" +}, +"nextPageToken": { +"description": "Next page token.", +"type": "string" +} +}, +"type": "object" +}, +"Policy": { +"description": "An Identity and Access Management (IAM) policy, which specifies access controls for Google Cloud resources. A `Policy` is a collection of `bindings`. A `binding` binds one or more `members`, or principals, to a single `role`. Principals can be user accounts, service accounts, Google groups, and domains (such as G Suite). A `role` is a named list of permissions; each `role` can be an IAM predefined role or a user-created custom role. For some types of Google Cloud resources, a `binding` can also specify a `condition`, which is a logical expression that allows access to a resource only if the expression evaluates to `true`. A condition can add constraints based on attributes of the request, the resource, or both. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). **JSON example:** ``` { \"bindings\": [ { \"role\": \"roles/resourcemanager.organizationAdmin\", \"members\": [ \"user:mike@example.com\", \"group:admins@example.com\", \"domain:google.com\", \"serviceAccount:my-project-id@appspot.gserviceaccount.com\" ] }, { \"role\": \"roles/resourcemanager.organizationViewer\", \"members\": [ \"user:eve@example.com\" ], \"condition\": { \"title\": \"expirable access\", \"description\": \"Does not grant access after Sep 2020\", \"expression\": \"request.time < timestamp('2020-10-01T00:00:00.000Z')\", } } ], \"etag\": \"BwWWja0YfJA=\", \"version\": 3 } ``` **YAML example:** ``` bindings: - members: - user:mike@example.com - group:admins@example.com - domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.com role: roles/resourcemanager.organizationViewer condition: title: expirable access description: Does not grant access after Sep 2020 expression: request.time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 ``` For a description of IAM and its features, see the [IAM documentation](https://cloud.google.com/iam/docs/).", +"id": "Policy", +"properties": { +"auditConfigs": { +"description": "Specifies cloud audit logging configuration for this policy.", +"items": { +"$ref": "AuditConfig" +}, +"type": "array" +}, +"bindings": { +"description": "Associates a list of `members`, or principals, with a `role`. Optionally, may specify a `condition` that determines how and when the `bindings` are applied. Each of the `bindings` must contain at least one principal. The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250 of these principals can be Google groups. Each occurrence of a principal counts towards these limits. For example, if the `bindings` grant 50 different roles to `user:alice@example.com`, and not to any other principal, then you can add another 1,450 principals to the `bindings` in the `Policy`.", +"items": { +"$ref": "Binding" +}, +"type": "array" +}, +"etag": { +"description": "`etag` is used for optimistic concurrency control as a way to help prevent simultaneous updates of a policy from overwriting each other. It is strongly suggested that systems make use of the `etag` in the read-modify-write cycle to perform policy updates in order to avoid race conditions: An `etag` is returned in the response to `getIamPolicy`, and systems are expected to put that etag in the request to `setIamPolicy` to ensure that their change will be applied to the same version of the policy. **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost.", +"format": "byte", +"type": "string" +}, +"version": { +"description": "Specifies the format of the policy. Valid values are `0`, `1`, and `3`. Requests that specify an invalid value are rejected. Any operation that affects conditional role bindings must specify version `3`. This requirement applies to the following operations: * Getting a policy that includes a conditional role binding * Adding a conditional role binding to a policy * Changing a conditional role binding in a policy * Removing any role binding, with or without a condition, from a policy that includes conditions **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost. If a policy does not include any conditions, operations on that policy may specify any valid version or leave the field unset. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"SetIamPolicyRequest": { +"description": "Request message for `SetIamPolicy` method.", +"id": "SetIamPolicyRequest", +"properties": { +"policy": { +"$ref": "Policy", +"description": "REQUIRED: The complete policy to be applied to the `resource`. The size of the policy is limited to a few 10s of KB. An empty policy is a valid policy but certain Google Cloud services (such as Projects) might reject them." +}, +"updateMask": { +"description": "OPTIONAL: A FieldMask specifying which fields of the policy to modify. Only the fields in the mask will be modified. If no mask is provided, the following default mask is used: `paths: \"bindings, etag\"`", +"format": "google-fieldmask", +"type": "string" +} +}, +"type": "object" +}, +"TestIamPermissionsRequest": { +"description": "Request message for `TestIamPermissions` method.", +"id": "TestIamPermissionsRequest", +"properties": { +"permissions": { +"description": "The set of permissions to check for the `resource`. Permissions with wildcards (such as `*` or `storage.*`) are not allowed. For more information see [IAM Overview](https://cloud.google.com/iam/docs/overview#permissions).", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"TestIamPermissionsResponse": { +"description": "Response message for `TestIamPermissions` method.", +"id": "TestIamPermissionsResponse", +"properties": { +"permissions": { +"description": "A subset of `TestPermissionsRequest.permissions` that the caller is allowed.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +} +}, +"servicePath": "", +"title": "BigQuery Connection API", +"version": "v1beta1", +"version_module": true +} \ No newline at end of file diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/bigquerydatapolicy.v2.json b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/bigquerydatapolicy.v2.json new file mode 100644 index 0000000000000000000000000000000000000000..7c20c47a002eb8f7062129e80f7ddc9709fe19ce --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/bigquerydatapolicy.v2.json @@ -0,0 +1,802 @@ +{ +"auth": { +"oauth2": { +"scopes": { +"https://www.googleapis.com/auth/bigquery": { +"description": "View and manage your data in Google BigQuery and see the email address for your Google Account" +}, +"https://www.googleapis.com/auth/cloud-platform": { +"description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." +} +} +} +}, +"basePath": "", +"baseUrl": "https://bigquerydatapolicy.googleapis.com/", +"batchPath": "batch", +"canonicalName": "BigQuery DataPolicy Service", +"description": "Allows users to manage BigQuery data policies.", +"discoveryVersion": "v1", +"documentationLink": "https://cloud.google.com/bigquery/docs/column-data-masking", +"fullyEncodeReservedExpansion": true, +"icons": { +"x16": "http://www.google.com/images/icons/product/search-16.gif", +"x32": "http://www.google.com/images/icons/product/search-32.gif" +}, +"id": "bigquerydatapolicy:v2", +"kind": "discovery#restDescription", +"mtlsRootUrl": "https://bigquerydatapolicy.mtls.googleapis.com/", +"name": "bigquerydatapolicy", +"ownerDomain": "google.com", +"ownerName": "Google", +"parameters": { +"$.xgafv": { +"description": "V1 error format.", +"enum": [ +"1", +"2" +], +"enumDescriptions": [ +"v1 error format", +"v2 error format" +], +"location": "query", +"type": "string" +}, +"access_token": { +"description": "OAuth access token.", +"location": "query", +"type": "string" +}, +"alt": { +"default": "json", +"description": "Data format for response.", +"enum": [ +"json", +"media", +"proto" +], +"enumDescriptions": [ +"Responses with Content-Type of application/json", +"Media download with context-dependent Content-Type", +"Responses with Content-Type of application/x-protobuf" +], +"location": "query", +"type": "string" +}, +"callback": { +"description": "JSONP", +"location": "query", +"type": "string" +}, +"fields": { +"description": "Selector specifying which fields to include in a partial response.", +"location": "query", +"type": "string" +}, +"key": { +"description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", +"location": "query", +"type": "string" +}, +"oauth_token": { +"description": "OAuth 2.0 token for the current user.", +"location": "query", +"type": "string" +}, +"prettyPrint": { +"default": "true", +"description": "Returns response with indentations and line breaks.", +"location": "query", +"type": "boolean" +}, +"quotaUser": { +"description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.", +"location": "query", +"type": "string" +}, +"uploadType": { +"description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", +"location": "query", +"type": "string" +}, +"upload_protocol": { +"description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", +"location": "query", +"type": "string" +} +}, +"protocol": "rest", +"resources": { +"projects": { +"resources": { +"locations": { +"resources": { +"dataPolicies": { +"methods": { +"addGrantees": { +"description": "Adds new grantees to a data policy. The new grantees will be added to the existing grantees. If the request contains a duplicate grantee, the grantee will be ignored. If the request contains a grantee that already exists, the grantee will be ignored.", +"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/dataPolicies/{dataPoliciesId}:addGrantees", +"httpMethod": "POST", +"id": "bigquerydatapolicy.projects.locations.dataPolicies.addGrantees", +"parameterOrder": [ +"dataPolicy" +], +"parameters": { +"dataPolicy": { +"description": "Required. Resource name of this data policy, in the format of `projects/{project_number}/locations/{location_id}/dataPolicies/{data_policy_id}`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/dataPolicies/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+dataPolicy}:addGrantees", +"request": { +"$ref": "AddGranteesRequest" +}, +"response": { +"$ref": "DataPolicy" +}, +"scopes": [ +"https://www.googleapis.com/auth/bigquery", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"create": { +"description": "Creates a new data policy under a project with the given `data_policy_id` (used as the display name), and data policy type.", +"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/dataPolicies", +"httpMethod": "POST", +"id": "bigquerydatapolicy.projects.locations.dataPolicies.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. Resource name of the project that the data policy will belong to. The format is `projects/{project_number}/locations/{location_id}`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+parent}/dataPolicies", +"request": { +"$ref": "CreateDataPolicyRequest" +}, +"response": { +"$ref": "DataPolicy" +}, +"scopes": [ +"https://www.googleapis.com/auth/bigquery", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes the data policy specified by its resource name.", +"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/dataPolicies/{dataPoliciesId}", +"httpMethod": "DELETE", +"id": "bigquerydatapolicy.projects.locations.dataPolicies.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Resource name of the data policy to delete. Format is `projects/{project_number}/locations/{location_id}/dataPolicies/{id}`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/dataPolicies/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+name}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/bigquery", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets the data policy specified by its resource name.", +"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/dataPolicies/{dataPoliciesId}", +"httpMethod": "GET", +"id": "bigquerydatapolicy.projects.locations.dataPolicies.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Resource name of the requested data policy. Format is `projects/{project_number}/locations/{location_id}/dataPolicies/{id}`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/dataPolicies/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+name}", +"response": { +"$ref": "DataPolicy" +}, +"scopes": [ +"https://www.googleapis.com/auth/bigquery", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"getIamPolicy": { +"description": "Gets the IAM policy for the specified data policy.", +"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/dataPolicies/{dataPoliciesId}:getIamPolicy", +"httpMethod": "POST", +"id": "bigquerydatapolicy.projects.locations.dataPolicies.getIamPolicy", +"parameterOrder": [ +"resource" +], +"parameters": { +"resource": { +"description": "REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/dataPolicies/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+resource}:getIamPolicy", +"request": { +"$ref": "GetIamPolicyRequest" +}, +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/bigquery", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "List all of the data policies in the specified parent project.", +"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/dataPolicies", +"httpMethod": "GET", +"id": "bigquerydatapolicy.projects.locations.dataPolicies.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Optional. Filters the data policies by policy tags that they are associated with. Currently filter only supports \"policy_tag\" based filtering and OR based predicates. Sample filter can be \"policy_tag: projects/1/locations/us/taxonomies/2/policyTags/3\". You may also use wildcard such as \"policy_tag: projects/1/locations/us/taxonomies/2*\". Please note that OR predicates cannot be used with wildcard filters.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Optional. The maximum number of data policies to return. Must be a value between 1 and 1000. If not set, defaults to 50.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. The `nextPageToken` value returned from a previous list request, if any. If not set, defaults to an empty string.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. Resource name of the project for which to list data policies. Format is `projects/{project_number}/locations/{location_id}`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+parent}/dataPolicies", +"response": { +"$ref": "ListDataPoliciesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/bigquery", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates the metadata for an existing data policy. The target data policy can be specified by the resource name.", +"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/dataPolicies/{dataPoliciesId}", +"httpMethod": "PATCH", +"id": "bigquerydatapolicy.projects.locations.dataPolicies.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"allowMissing": { +"description": "Optional. If set to true, and the data policy is not found, a new data policy will be created. In this situation, update_mask is ignored.", +"location": "query", +"type": "boolean" +}, +"name": { +"description": "Identifier. Resource name of this data policy, in the format of `projects/{project_number}/locations/{location_id}/dataPolicies/{data_policy_id}`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/dataPolicies/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Optional. The update mask applies to the resource. For the `FieldMask` definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask If not set, defaults to all of the fields that are allowed to update. Updates to the `name` and `dataPolicyId` fields are not allowed.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v2/{+name}", +"request": { +"$ref": "DataPolicy" +}, +"response": { +"$ref": "DataPolicy" +}, +"scopes": [ +"https://www.googleapis.com/auth/bigquery", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"removeGrantees": { +"description": "Removes grantees from a data policy. The grantees will be removed from the existing grantees. If the request contains a grantee that does not exist, the grantee will be ignored.", +"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/dataPolicies/{dataPoliciesId}:removeGrantees", +"httpMethod": "POST", +"id": "bigquerydatapolicy.projects.locations.dataPolicies.removeGrantees", +"parameterOrder": [ +"dataPolicy" +], +"parameters": { +"dataPolicy": { +"description": "Required. Resource name of this data policy, in the format of `projects/{project_number}/locations/{location_id}/dataPolicies/{data_policy_id}`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/dataPolicies/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+dataPolicy}:removeGrantees", +"request": { +"$ref": "RemoveGranteesRequest" +}, +"response": { +"$ref": "DataPolicy" +}, +"scopes": [ +"https://www.googleapis.com/auth/bigquery", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"setIamPolicy": { +"description": "Sets the IAM policy for the specified data policy.", +"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/dataPolicies/{dataPoliciesId}:setIamPolicy", +"httpMethod": "POST", +"id": "bigquerydatapolicy.projects.locations.dataPolicies.setIamPolicy", +"parameterOrder": [ +"resource" +], +"parameters": { +"resource": { +"description": "REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/dataPolicies/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+resource}:setIamPolicy", +"request": { +"$ref": "SetIamPolicyRequest" +}, +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/bigquery", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"testIamPermissions": { +"description": "Returns the caller's permission on the specified data policy resource.", +"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/dataPolicies/{dataPoliciesId}:testIamPermissions", +"httpMethod": "POST", +"id": "bigquerydatapolicy.projects.locations.dataPolicies.testIamPermissions", +"parameterOrder": [ +"resource" +], +"parameters": { +"resource": { +"description": "REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/dataPolicies/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+resource}:testIamPermissions", +"request": { +"$ref": "TestIamPermissionsRequest" +}, +"response": { +"$ref": "TestIamPermissionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/bigquery", +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +} +} +} +}, +"revision": "20251001", +"rootUrl": "https://bigquerydatapolicy.googleapis.com/", +"schemas": { +"AddGranteesRequest": { +"description": "Request message for the AddGrantees method.", +"id": "AddGranteesRequest", +"properties": { +"grantees": { +"description": "Required. IAM principal that should be granted Fine Grained Access to the underlying data goverened by the data policy. The target data policy is determined by the `data_policy` field. Uses the [IAM V2 principal syntax](https://cloud.google.com/iam/docs/principal-identifiers#v2). Supported principal types: * User * Group * Service account", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"AuditConfig": { +"description": "Specifies the audit configuration for a service. The configuration determines which permission types are logged, and what identities, if any, are exempted from logging. An AuditConfig must have one or more AuditLogConfigs. If there are AuditConfigs for both `allServices` and a specific service, the union of the two AuditConfigs is used for that service: the log_types specified in each AuditConfig are enabled, and the exempted_members in each AuditLogConfig are exempted. Example Policy with multiple AuditConfigs: { \"audit_configs\": [ { \"service\": \"allServices\", \"audit_log_configs\": [ { \"log_type\": \"DATA_READ\", \"exempted_members\": [ \"user:jose@example.com\" ] }, { \"log_type\": \"DATA_WRITE\" }, { \"log_type\": \"ADMIN_READ\" } ] }, { \"service\": \"sampleservice.googleapis.com\", \"audit_log_configs\": [ { \"log_type\": \"DATA_READ\" }, { \"log_type\": \"DATA_WRITE\", \"exempted_members\": [ \"user:aliya@example.com\" ] } ] } ] } For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also exempts `jose@example.com` from DATA_READ logging, and `aliya@example.com` from DATA_WRITE logging.", +"id": "AuditConfig", +"properties": { +"auditLogConfigs": { +"description": "The configuration for logging of each type of permission.", +"items": { +"$ref": "AuditLogConfig" +}, +"type": "array" +}, +"service": { +"description": "Specifies a service that will be enabled for audit logging. For example, `storage.googleapis.com`, `cloudsql.googleapis.com`. `allServices` is a special value that covers all services.", +"type": "string" +} +}, +"type": "object" +}, +"AuditLogConfig": { +"description": "Provides the configuration for logging a type of permissions. Example: { \"audit_log_configs\": [ { \"log_type\": \"DATA_READ\", \"exempted_members\": [ \"user:jose@example.com\" ] }, { \"log_type\": \"DATA_WRITE\" } ] } This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting jose@example.com from DATA_READ logging.", +"id": "AuditLogConfig", +"properties": { +"exemptedMembers": { +"description": "Specifies the identities that do not cause logging for this type of permission. Follows the same format of Binding.members.", +"items": { +"type": "string" +}, +"type": "array" +}, +"logType": { +"description": "The log type that this config enables.", +"enum": [ +"LOG_TYPE_UNSPECIFIED", +"ADMIN_READ", +"DATA_WRITE", +"DATA_READ" +], +"enumDescriptions": [ +"Default case. Should never be this.", +"Admin reads. Example: CloudIAM getIamPolicy", +"Data writes. Example: CloudSQL Users create", +"Data reads. Example: CloudSQL Users list" +], +"type": "string" +} +}, +"type": "object" +}, +"Binding": { +"description": "Associates `members`, or principals, with a `role`.", +"id": "Binding", +"properties": { +"condition": { +"$ref": "Expr", +"description": "The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies)." +}, +"members": { +"description": "Specifies the principals requesting access for a Google Cloud resource. `members` can have the following values: * `allUsers`: A special identifier that represents anyone who is on the internet; with or without a Google account. * `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service account. Does not include identities that come from external identity providers (IdPs) through identity federation. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `group:{emailid}`: An email address that represents a Google group. For example, `admins@example.com`. * `domain:{domain}`: The G Suite domain (primary) that represents all the users of that domain. For example, `google.com` or `example.com`. * `principal://iam.googleapis.com/locations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}`: A single identity in a workforce identity pool. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/group/{group_id}`: All workforce identities in a group. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/attribute.{attribute_name}/{attribute_value}`: All workforce identities with a specific attribute value. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/*`: All identities in a workforce identity pool. * `principal://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/subject/{subject_attribute_value}`: A single identity in a workload identity pool. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/group/{group_id}`: A workload identity pool group. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/attribute.{attribute_name}/{attribute_value}`: All identities in a workload identity pool with a certain attribute. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/*`: All identities in a workload identity pool. * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a user that has been recently deleted. For example, `alice@example.com?uid=123456789012345678901`. If the user is recovered, this value reverts to `user:{emailid}` and the recovered user retains the role in the binding. * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a service account that has been recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the service account is undeleted, this value reverts to `serviceAccount:{emailid}` and the undeleted service account retains the role in the binding. * `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a Google group that has been recently deleted. For example, `admins@example.com?uid=123456789012345678901`. If the group is recovered, this value reverts to `group:{emailid}` and the recovered group retains the role in the binding. * `deleted:principal://iam.googleapis.com/locations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}`: Deleted single identity in a workforce identity pool. For example, `deleted:principal://iam.googleapis.com/locations/global/workforcePools/my-pool-id/subject/my-subject-attribute-value`.", +"items": { +"type": "string" +}, +"type": "array" +}, +"role": { +"description": "Role that is assigned to the list of `members`, or principals. For example, `roles/viewer`, `roles/editor`, or `roles/owner`. For an overview of the IAM roles and permissions, see the [IAM documentation](https://cloud.google.com/iam/docs/roles-overview). For a list of the available pre-defined roles, see [here](https://cloud.google.com/iam/docs/understanding-roles).", +"type": "string" +} +}, +"type": "object" +}, +"CreateDataPolicyRequest": { +"description": "Request message for the CreateDataPolicy method.", +"id": "CreateDataPolicyRequest", +"properties": { +"dataPolicy": { +"$ref": "DataPolicy", +"description": "Required. The data policy to create. The `name` field does not need to be provided for the data policy creation." +}, +"dataPolicyId": { +"description": "Required. User-assigned (human readable) ID of the data policy that needs to be unique within a project. Used as {data_policy_id} in part of the resource name.", +"type": "string" +} +}, +"type": "object" +}, +"DataMaskingPolicy": { +"description": "The policy used to specify data masking rule.", +"id": "DataMaskingPolicy", +"properties": { +"predefinedExpression": { +"description": "Optional. A predefined masking expression.", +"enum": [ +"PREDEFINED_EXPRESSION_UNSPECIFIED", +"SHA256", +"ALWAYS_NULL", +"DEFAULT_MASKING_VALUE", +"LAST_FOUR_CHARACTERS", +"FIRST_FOUR_CHARACTERS", +"EMAIL_MASK", +"DATE_YEAR_MASK", +"RANDOM_HASH" +], +"enumDescriptions": [ +"Default, unspecified predefined expression. No masking will take place since no expression is specified.", +"Masking expression to replace data with SHA-256 hash.", +"Masking expression to replace data with NULLs.", +"Masking expression to replace data with their default masking values. The default masking values for each type listed as below: * STRING: \"\" * BYTES: b'' * INTEGER: 0 * FLOAT: 0.0 * NUMERIC: 0 * BOOLEAN: FALSE * TIMESTAMP: 1970-01-01 00:00:00 UTC * DATE: 1970-01-01 * TIME: 00:00:00 * DATETIME: 1970-01-01T00:00:00 * GEOGRAPHY: POINT(0 0) * BIGNUMERIC: 0 * ARRAY: [] * STRUCT: NOT_APPLICABLE * JSON: NULL", +"Masking expression shows the last four characters of text. The masking behavior is as follows: * If text length > 4 characters: Replace text with XXXXX, append last four characters of original text. * If text length <= 4 characters: Apply SHA-256 hash.", +"Masking expression shows the first four characters of text. The masking behavior is as follows: * If text length > 4 characters: Replace text with XXXXX, prepend first four characters of original text. * If text length <= 4 characters: Apply SHA-256 hash.", +"Masking expression for email addresses. The masking behavior is as follows: * Syntax-valid email address: Replace username with XXXXX. For example, cloudysanfrancisco@gmail.com becomes XXXXX@gmail.com. * Syntax-invalid email address: Apply SHA-256 hash. For more information, see [Email mask](https://cloud.google.com/bigquery/docs/column-data-masking-intro#masking_options).", +"Masking expression to only show the *year* of `Date`, `DateTime` and `TimeStamp`. For example, with the year 2076: * DATE : 2076-01-01 * DATETIME : 2076-01-01T00:00:00 * TIMESTAMP : 2076-01-01 00:00:00 UTC Truncation occurs according to the UTC time zone. To change this, adjust the default time zone using the `time_zone` system variable. For more information, see [System variables reference](https://cloud.google.com/bigquery/docs/reference/system-variables).", +"Masking expression that uses hashing to mask column data. It differs from SHA256 in that a unique random value is generated for each query and is added to the hash input, resulting in the hash / masked result to be different for each query. Hence the name \"random hash\"." +], +"type": "string" +}, +"routine": { +"description": "Optional. The name of the BigQuery routine that contains the custom masking routine, in the format of `projects/{project_number}/datasets/{dataset_id}/routines/{routine_id}`.", +"type": "string" +} +}, +"type": "object" +}, +"DataPolicy": { +"description": "Represents the label-policy binding.", +"id": "DataPolicy", +"properties": { +"dataMaskingPolicy": { +"$ref": "DataMaskingPolicy", +"description": "Optional. The data masking policy that specifies the data masking rule to use. It must be set if the data policy type is DATA_MASKING_POLICY." +}, +"dataPolicyId": { +"description": "Output only. User-assigned (human readable) ID of the data policy that needs to be unique within a project. Used as {data_policy_id} in part of the resource name.", +"readOnly": true, +"type": "string" +}, +"dataPolicyType": { +"description": "Required. Type of data policy.", +"enum": [ +"DATA_POLICY_TYPE_UNSPECIFIED", +"DATA_MASKING_POLICY", +"RAW_DATA_ACCESS_POLICY", +"COLUMN_LEVEL_SECURITY_POLICY" +], +"enumDescriptions": [ +"Default value for the data policy type. This should not be used.", +"Used to create a data policy for data masking.", +"Used to create a data policy for raw data access.", +"Used to create a data policy for column-level security, without data masking. This is deprecated in V2 api and only present to support GET and LIST operations for V1 data policies in V2 api." +], +"type": "string" +}, +"etag": { +"description": "The etag for this Data Policy. This field is used for UpdateDataPolicy calls. If Data Policy exists, this field is required and must match the server's etag. It will also be populated in the response of GetDataPolicy, CreateDataPolicy, and UpdateDataPolicy calls.", +"type": "string" +}, +"grantees": { +"description": "Optional. The list of IAM principals that have Fine Grained Access to the underlying data goverened by this data policy. Uses the [IAM V2 principal syntax](https://cloud.google.com/iam/docs/principal-identifiers#v2) Only supports principal types users, groups, serviceaccounts, cloudidentity. This field is supported in V2 Data Policy only. In case of V1 data policies (i.e. verion = 1 and policy_tag is set), this field is not populated.", +"items": { +"type": "string" +}, +"type": "array" +}, +"name": { +"description": "Identifier. Resource name of this data policy, in the format of `projects/{project_number}/locations/{location_id}/dataPolicies/{data_policy_id}`.", +"type": "string" +}, +"policyTag": { +"description": "Output only. Policy tag resource name, in the format of `projects/{project_number}/locations/{location_id}/taxonomies/{taxonomy_id}/policyTags/{policyTag_id}`. policy_tag is supported only for V1 data policies.", +"readOnly": true, +"type": "string" +}, +"version": { +"description": "Output only. The version of the Data Policy resource.", +"enum": [ +"VERSION_UNSPECIFIED", +"V1", +"V2" +], +"enumDescriptions": [ +"Default value for the data policy version. This should not be used.", +"V1 data policy version. V1 Data Policies will be present in V2 List api response, but can not be created/updated/deleted from V2 api.", +"V2 data policy version." +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"Empty": { +"description": "A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }", +"id": "Empty", +"properties": {}, +"type": "object" +}, +"Expr": { +"description": "Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: \"Summary size limit\" description: \"Determines if a summary is less than 100 chars\" expression: \"document.summary.size() < 100\" Example (Equality): title: \"Requestor is owner\" description: \"Determines if requestor is the document owner\" expression: \"document.owner == request.auth.claims.email\" Example (Logic): title: \"Public documents\" description: \"Determine whether the document should be publicly visible\" expression: \"document.type != 'private' && document.type != 'internal'\" Example (Data Manipulation): title: \"Notification string\" description: \"Create a notification string with a timestamp.\" expression: \"'New message received at ' + string(document.create_time)\" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information.", +"id": "Expr", +"properties": { +"description": { +"description": "Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI.", +"type": "string" +}, +"expression": { +"description": "Textual representation of an expression in Common Expression Language syntax.", +"type": "string" +}, +"location": { +"description": "Optional. String indicating the location of the expression for error reporting, e.g. a file name and a position in the file.", +"type": "string" +}, +"title": { +"description": "Optional. Title for the expression, i.e. a short string describing its purpose. This can be used e.g. in UIs which allow to enter the expression.", +"type": "string" +} +}, +"type": "object" +}, +"GetIamPolicyRequest": { +"description": "Request message for `GetIamPolicy` method.", +"id": "GetIamPolicyRequest", +"properties": { +"options": { +"$ref": "GetPolicyOptions", +"description": "OPTIONAL: A `GetPolicyOptions` object for specifying options to `GetIamPolicy`." +} +}, +"type": "object" +}, +"GetPolicyOptions": { +"description": "Encapsulates settings provided to GetIamPolicy.", +"id": "GetPolicyOptions", +"properties": { +"requestedPolicyVersion": { +"description": "Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"ListDataPoliciesResponse": { +"description": "Response message for the ListDataPolicies method.", +"id": "ListDataPoliciesResponse", +"properties": { +"dataPolicies": { +"description": "Data policies that belong to the requested project.", +"items": { +"$ref": "DataPolicy" +}, +"type": "array" +}, +"nextPageToken": { +"description": "Token used to retrieve the next page of results, or empty if there are no more results.", +"type": "string" +} +}, +"type": "object" +}, +"Policy": { +"description": "An Identity and Access Management (IAM) policy, which specifies access controls for Google Cloud resources. A `Policy` is a collection of `bindings`. A `binding` binds one or more `members`, or principals, to a single `role`. Principals can be user accounts, service accounts, Google groups, and domains (such as G Suite). A `role` is a named list of permissions; each `role` can be an IAM predefined role or a user-created custom role. For some types of Google Cloud resources, a `binding` can also specify a `condition`, which is a logical expression that allows access to a resource only if the expression evaluates to `true`. A condition can add constraints based on attributes of the request, the resource, or both. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). **JSON example:** ``` { \"bindings\": [ { \"role\": \"roles/resourcemanager.organizationAdmin\", \"members\": [ \"user:mike@example.com\", \"group:admins@example.com\", \"domain:google.com\", \"serviceAccount:my-project-id@appspot.gserviceaccount.com\" ] }, { \"role\": \"roles/resourcemanager.organizationViewer\", \"members\": [ \"user:eve@example.com\" ], \"condition\": { \"title\": \"expirable access\", \"description\": \"Does not grant access after Sep 2020\", \"expression\": \"request.time < timestamp('2020-10-01T00:00:00.000Z')\", } } ], \"etag\": \"BwWWja0YfJA=\", \"version\": 3 } ``` **YAML example:** ``` bindings: - members: - user:mike@example.com - group:admins@example.com - domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.com role: roles/resourcemanager.organizationViewer condition: title: expirable access description: Does not grant access after Sep 2020 expression: request.time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 ``` For a description of IAM and its features, see the [IAM documentation](https://cloud.google.com/iam/docs/).", +"id": "Policy", +"properties": { +"auditConfigs": { +"description": "Specifies cloud audit logging configuration for this policy.", +"items": { +"$ref": "AuditConfig" +}, +"type": "array" +}, +"bindings": { +"description": "Associates a list of `members`, or principals, with a `role`. Optionally, may specify a `condition` that determines how and when the `bindings` are applied. Each of the `bindings` must contain at least one principal. The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250 of these principals can be Google groups. Each occurrence of a principal counts towards these limits. For example, if the `bindings` grant 50 different roles to `user:alice@example.com`, and not to any other principal, then you can add another 1,450 principals to the `bindings` in the `Policy`.", +"items": { +"$ref": "Binding" +}, +"type": "array" +}, +"etag": { +"description": "`etag` is used for optimistic concurrency control as a way to help prevent simultaneous updates of a policy from overwriting each other. It is strongly suggested that systems make use of the `etag` in the read-modify-write cycle to perform policy updates in order to avoid race conditions: An `etag` is returned in the response to `getIamPolicy`, and systems are expected to put that etag in the request to `setIamPolicy` to ensure that their change will be applied to the same version of the policy. **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost.", +"format": "byte", +"type": "string" +}, +"version": { +"description": "Specifies the format of the policy. Valid values are `0`, `1`, and `3`. Requests that specify an invalid value are rejected. Any operation that affects conditional role bindings must specify version `3`. This requirement applies to the following operations: * Getting a policy that includes a conditional role binding * Adding a conditional role binding to a policy * Changing a conditional role binding in a policy * Removing any role binding, with or without a condition, from a policy that includes conditions **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost. If a policy does not include any conditions, operations on that policy may specify any valid version or leave the field unset. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"RemoveGranteesRequest": { +"description": "Request message for the RemoveGrantees method.", +"id": "RemoveGranteesRequest", +"properties": { +"grantees": { +"description": "Required. IAM principal that should be revoked from Fine Grained Access to the underlying data goverened by the data policy. The target data policy is determined by the `data_policy` field. Uses the [IAM V2 principal syntax](https://cloud.google.com/iam/docs/principal-identifiers#v2). Supported principal types: * User * Group * Service account", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"SetIamPolicyRequest": { +"description": "Request message for `SetIamPolicy` method.", +"id": "SetIamPolicyRequest", +"properties": { +"policy": { +"$ref": "Policy", +"description": "REQUIRED: The complete policy to be applied to the `resource`. The size of the policy is limited to a few 10s of KB. An empty policy is a valid policy but certain Google Cloud services (such as Projects) might reject them." +}, +"updateMask": { +"description": "OPTIONAL: A FieldMask specifying which fields of the policy to modify. Only the fields in the mask will be modified. If no mask is provided, the following default mask is used: `paths: \"bindings, etag\"`", +"format": "google-fieldmask", +"type": "string" +} +}, +"type": "object" +}, +"TestIamPermissionsRequest": { +"description": "Request message for `TestIamPermissions` method.", +"id": "TestIamPermissionsRequest", +"properties": { +"permissions": { +"description": "The set of permissions to check for the `resource`. Permissions with wildcards (such as `*` or `storage.*`) are not allowed. For more information see [IAM Overview](https://cloud.google.com/iam/docs/overview#permissions).", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"TestIamPermissionsResponse": { +"description": "Response message for `TestIamPermissions` method.", +"id": "TestIamPermissionsResponse", +"properties": { +"permissions": { +"description": "A subset of `TestPermissionsRequest.permissions` that the caller is allowed.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +} +}, +"servicePath": "", +"title": "BigQuery Data Policy API", +"version": "v2", +"version_module": true +} \ No newline at end of file diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/bigqueryreservation.v1alpha2.json b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/bigqueryreservation.v1alpha2.json new file mode 100644 index 0000000000000000000000000000000000000000..70c662846b24256695a231aa7c3a176ae82d64b1 --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/bigqueryreservation.v1alpha2.json @@ -0,0 +1,904 @@ +{ + "description": "A service to modify your BigQuery flat-rate reservations.", + "documentationLink": "https://cloud.google.com/bigquery/", + "parameters": { + "$.xgafv": { + "enum": [ + "1", + "2" + ], + "location": "query", + "enumDescriptions": [ + "v1 error format", + "v2 error format" + ], + "description": "V1 error format.", + "type": "string" + }, + "fields": { + "description": "Selector specifying which fields to include in a partial response.", + "type": "string", + "location": "query" + }, + "callback": { + "location": "query", + "type": "string", + "description": "JSONP" + }, + "quotaUser": { + "description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.", + "type": "string", + "location": "query" + }, + "oauth_token": { + "description": "OAuth 2.0 token for the current user.", + "location": "query", + "type": "string" + }, + "uploadType": { + "location": "query", + "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", + "type": "string" + }, + "key": { + "description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", + "type": "string", + "location": "query" + }, + "alt": { + "location": "query", + "description": "Data format for response.", + "enum": [ + "json", + "media", + "proto" + ], + "default": "json", + "enumDescriptions": [ + "Responses with Content-Type of application/json", + "Media download with context-dependent Content-Type", + "Responses with Content-Type of application/x-protobuf" + ], + "type": "string" + }, + "upload_protocol": { + "location": "query", + "description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", + "type": "string" + }, + "access_token": { + "description": "OAuth access token.", + "type": "string", + "location": "query" + }, + "prettyPrint": { + "default": "true", + "description": "Returns response with indentations and line breaks.", + "type": "boolean", + "location": "query" + } + }, + "ownerName": "Google", + "batchPath": "batch", + "revision": "20200801", + "title": "BigQuery Reservation API", + "schemas": { + "ListSlotPoolsResponse": { + "description": "The response for ReservationService.ListSlotPools.", + "type": "object", + "id": "ListSlotPoolsResponse", + "properties": { + "nextPageToken": { + "description": "Token to retrieve the next page of results, or empty if there are no more results in the list.", + "type": "string" + }, + "slotPools": { + "items": { + "$ref": "SlotPool" + }, + "type": "array", + "description": "List of slot pools visible to the user." + } + } + }, + "ReservationGrant": { + "id": "ReservationGrant", + "type": "object", + "description": "A ReservationGrant allows a project to submit jobs of a certain type using slots from the specified reservation.", + "properties": { + "grantee": { + "description": "The resource which will use the reservation. E.g. projects/myproject, folders/123, organizations/456.", + "type": "string" + }, + "name": { + "type": "string", + "description": "Output only. Name of the resource. E.g.: projects/myproject/locations/eu/reservationGrants/123." + }, + "state": { + "enum": [ + "STATE_UNSPECIFIED", + "PENDING", + "ACTIVE" + ], + "enumDescriptions": [ + "Invalid state value.", + "Queries from grantee will be executed as on-demand, if related ReservationGrant is pending.", + "ReservationGrant is ready." + ], + "description": "Output only. State of the ReservationGrant.", + "type": "string", + "readOnly": true + }, + "reservation": { + "description": "Resource name of the reservation. E.g., projects/myproject/locations/eu/reservations/my_reservation. This reservation must be in the same location as the grant. This reservation should belong to the same parent project.", + "type": "string" + }, + "jobType": { + "type": "string", + "description": "Which type of jobs will use the reservation.", + "enum": [ + "JOB_TYPE_UNSPECIFIED", + "PIPELINE", + "QUERY" + ], + "enumDescriptions": [ + "Invalid type. Requests with this value will be rejected with error code `google.rpc.Code.INVALID_ARGUMENT`.", + "Pipeline (load/export) jobs from the project will use the reservation.", + "Query jobs from the project will use the reservation." + ] + } + } + }, + "Operation": { + "description": "This resource represents a long-running operation that is the result of a network API call.", + "id": "Operation", + "type": "object", + "properties": { + "response": { + "description": "The normal response of the operation in case of success. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.", + "type": "object", + "additionalProperties": { + "type": "any", + "description": "Properties of the object. Contains field @type with type URL." + } + }, + "done": { + "type": "boolean", + "description": "If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available." + }, + "error": { + "$ref": "Status", + "description": "The error result of the operation in case of failure or cancellation." + }, + "metadata": { + "type": "object", + "additionalProperties": { + "description": "Properties of the object. Contains field @type with type URL.", + "type": "any" + }, + "description": "Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any." + }, + "name": { + "type": "string", + "description": "The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`." + } + } + }, + "Status": { + "type": "object", + "properties": { + "message": { + "description": "A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.", + "type": "string" + }, + "code": { + "description": "The status code, which should be an enum value of google.rpc.Code.", + "format": "int32", + "type": "integer" + }, + "details": { + "type": "array", + "description": "A list of messages that carry the error details. There is a common set of message types for APIs to use.", + "items": { + "additionalProperties": { + "description": "Properties of the object. Contains field @type with type URL.", + "type": "any" + }, + "type": "object" + } + } + }, + "description": "The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors).", + "id": "Status" + }, + "ListReservationsResponse": { + "description": "The response for ReservationService.ListReservations.", + "properties": { + "nextPageToken": { + "type": "string", + "description": "Token to retrieve the next page of results, or empty if there are no more results in the list." + }, + "reservations": { + "type": "array", + "items": { + "$ref": "Reservation" + }, + "description": "List of reservations visible to the user." + } + }, + "type": "object", + "id": "ListReservationsResponse" + }, + "Reservation": { + "id": "Reservation", + "description": "A reservation is a mechanism used to guarantee slots to users.", + "type": "object", + "properties": { + "name": { + "description": "The resource name of the reservation, e.g., \"projects/*/locations/*/reservations/dev/team/product\". Reservation names (e.g., \"dev/team/product\") exceeding a depth of six will fail with `google.rpc.Code.INVALID_ARGUMENT`.", + "type": "string" + }, + "useParentReservation": { + "description": "If true, any query using this reservation will also be submitted to the parent reservation. This allows the query to share the additional slot capacity of the parent with other queries in the parent reservation. If the parent also has this field set to true, then this process will continue until it encounters a reservation for which this is false. If false, a query using this reservation will execute with the maximum slot capacity as specified above. If not specified, default value is true. Ignored for top-level reservation.", + "type": "boolean" + }, + "slotCapacity": { + "format": "int64", + "type": "string", + "description": "Maximum slots available to this reservation and its children. A slot is a unit of computational power in BigQuery, and serves as the unit of parallelism. In a scan of a multi-partitioned table, a single slot operates on a single partition of the table. If the new reservation's slot capacity exceed the parent's slot capacity or if total slot capacity of the new reservation and its siblings exceeds the parent's slot capacity, the request will fail with `google.rpc.Code.RESOURCE_EXHAUSTED`." + } + } + }, + "SlotPool": { + "type": "object", + "id": "SlotPool", + "properties": { + "state": { + "type": "string", + "enumDescriptions": [ + "Invalid state value.", + "Slot pool is pending provisioning. Pending slot pool does not contribute to the parent's slot_capacity.", + "Once slots are provisioned, slot pool becomes active. slot_count is added to the parent's slot_capacity.", + "Slot pool is failed to be activated by the backend." + ], + "description": "Output only.", + "enum": [ + "STATE_UNSPECIFIED", + "PENDING", + "ACTIVE", + "FAILED" + ] + }, + "plan": { + "description": "Slot pool commitment plan.", + "type": "string", + "enum": [ + "COMMITMENT_PLAN_UNSPECIFIED", + "FLEX", + "TRIAL", + "MONTHLY", + "ANNUAL" + ], + "enumDescriptions": [ + "Invalid plan value. Requests with this value will be rejected with error code `google.rpc.Code.INVALID_ARGUMENT`.", + "Slot pool can be removed at any point, even after becoming ACTIVE.", + "Trial commitments have a committed period of 182 days after becoming ACTIVE. After that, they are converted to a new commitment based on the renewal_plan. Default renewal_plan for Trial commitment is Flex so that it can be deleted right after committed period ends.", + "Slot pool cannot be removed for 30 days after becoming ACTIVE.", + "Slot pool cannot be removed for 365 days after becoming ACTIVE. Note: annual commitments are automatically downgraded to monthly after 365 days." + ] + }, + "name": { + "type": "string", + "description": "Output only. The resource name of the slot pool, e.g., projects/myproject/locations/us-central1/reservations/myreservation/slotPools/123" + }, + "slotCount": { + "format": "int64", + "description": "Number of slots in this pool.", + "type": "string" + }, + "failureStatus": { + "description": "Output only. For FAILED slot pool, provides the reason of failure.", + "readOnly": true, + "$ref": "Status" + }, + "commitmentEndTime": { + "description": "Output only. The end of the commitment period. Slot pool cannot be removed before commitment_end_time. It is applicable only for ACTIVE slot pools and is computed as a combination of the plan and the time when the slot pool became ACTIVE.", + "type": "string", + "format": "google-datetime" + } + }, + "description": "Slot pool is a way to purchase slots with some minimum committed period of usage. Slot pool is immutable and cannot be deleted until the end of the commitment period. After the end of the commitment period, slots are still available but can be freely removed any time. Annual commitments will automatically be downgraded to monthly after the commitment ends. A slot pool resource exists as a child resource of a top-level reservation. Sum of all the ACTIVE pools slot_count is always equal to the reservation slot_capacity." + }, + "CreateSlotPoolMetadata": { + "id": "CreateSlotPoolMetadata", + "properties": { + "slotPool": { + "description": "Resource name of the slot pool that is being created. E.g., projects/myproject/locations/us-central1/reservations/foo/slotPools/123", + "type": "string" + } + }, + "type": "object", + "description": "The metadata for operation returned from ReservationService.CreateSlotPool." + }, + "SearchReservationGrantsResponse": { + "type": "object", + "id": "SearchReservationGrantsResponse", + "properties": { + "nextPageToken": { + "type": "string", + "description": "Token to retrieve the next page of results, or empty if there are no more results in the list." + }, + "reservationGrants": { + "description": "List of reservation grants visible to the user.", + "items": { + "$ref": "ReservationGrant" + }, + "type": "array" + } + }, + "description": "The response for ReservationService.SearchReservationGrants." + }, + "Empty": { + "properties": {}, + "type": "object", + "description": "A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); } The JSON representation for `Empty` is empty JSON object `{}`.", + "id": "Empty" + }, + "ListReservationGrantsResponse": { + "type": "object", + "properties": { + "nextPageToken": { + "description": "Token to retrieve the next page of results, or empty if there are no more results in the list.", + "type": "string" + }, + "reservationGrants": { + "type": "array", + "description": "List of reservation grants visible to the user.", + "items": { + "$ref": "ReservationGrant" + } + } + }, + "id": "ListReservationGrantsResponse", + "description": "The response for ReservationService.ListReservationGrants." + } + }, + "kind": "discovery#restDescription", + "canonicalName": "BigQuery Reservation", + "auth": { + "oauth2": { + "scopes": { + "https://www.googleapis.com/auth/bigquery": { + "description": "View and manage your data in Google BigQuery" + }, + "https://www.googleapis.com/auth/cloud-platform": { + "description": "View and manage your data across Google Cloud Platform services" + } + } + } + }, + "protocol": "rest", + "version_module": true, + "version": "v1alpha2", + "resources": { + "projects": { + "resources": { + "locations": { + "methods": { + "searchReservationGrants": { + "flatPath": "v1alpha2/projects/{projectsId}/locations/{locationsId}:SearchReservationGrants", + "parameters": { + "pageSize": { + "description": "The maximum number of items to return.", + "type": "integer", + "location": "query", + "format": "int32" + }, + "parent": { + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+$", + "description": "The parent resource name (containing project and location), which owns the grants. e.g.: \"projects/myproject/locations/us-central1\".", + "required": true, + "type": "string" + }, + "pageToken": { + "location": "query", + "description": "The next_page_token value returned from a previous List request, if any.", + "type": "string" + }, + "query": { + "location": "query", + "description": "Please specify resource name as grantee in the query. e.g., \"grantee=projects/myproject\" \"grantee=folders/123\" \"grantee=organizations/456\"", + "type": "string" + } + }, + "id": "bigqueryreservation.projects.locations.searchReservationGrants", + "path": "v1alpha2/{+parent}:SearchReservationGrants", + "scopes": [ + "https://www.googleapis.com/auth/bigquery", + "https://www.googleapis.com/auth/cloud-platform" + ], + "description": "Look up grants for a specified resource for a particular region. If the request is about a project: 1) Grants created on the project will be returned if they exist. 2) Otherwise grants created on the closest ancestor will be returned. 3) Grants for different JobTypes will all be returned. Same logic applies if the request is about a folder. If the request is about an organization, then grants created on the organization will be returned (organization doesn't have ancestors). Comparing to ListReservationGrants, there are two behavior differences: 1) permission on the grantee will be verified in this API. 2) Hierarchy lookup (project-\u003efolder-\u003eorganization) happens in this API.", + "parameterOrder": [ + "parent" + ], + "response": { + "$ref": "SearchReservationGrantsResponse" + }, + "httpMethod": "GET" + } + }, + "resources": { + "reservations": { + "methods": { + "createReservation": { + "parameterOrder": [ + "parent" + ], + "id": "bigqueryreservation.projects.locations.reservations.createReservation", + "httpMethod": "POST", + "description": "Creates a new reservation resource. Multiple reservations are created if the ancestor reservations do not exist.", + "request": { + "$ref": "Reservation" + }, + "flatPath": "v1alpha2/projects/{projectsId}/locations/{locationsId}/reservations/{reservationsId}", + "path": "v1alpha2/{+parent}", + "response": { + "$ref": "Reservation" + }, + "parameters": { + "parent": { + "pattern": "^projects/[^/]+/locations/[^/]+/reservations/.*$", + "type": "string", + "description": "Project, location, and (optionally) reservation name. E.g., projects/myproject/locations/us-central1/reservations/parent", + "required": true, + "location": "path" + }, + "reservationId": { + "type": "string", + "location": "query", + "description": "The reservation ID relative to the parent, e.g., \"dev\". This field must only contain alphanumeric characters." + } + }, + "scopes": [ + "https://www.googleapis.com/auth/bigquery", + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "create": { + "httpMethod": "POST", + "flatPath": "v1alpha2/projects/{projectsId}/locations/{locationsId}/reservations", + "scopes": [ + "https://www.googleapis.com/auth/bigquery", + "https://www.googleapis.com/auth/cloud-platform" + ], + "response": { + "$ref": "Reservation" + }, + "request": { + "$ref": "Reservation" + }, + "parameterOrder": [ + "parent" + ], + "path": "v1alpha2/{+parent}/reservations", + "id": "bigqueryreservation.projects.locations.reservations.create", + "description": "Creates a new reservation resource. Multiple reservations are created if the ancestor reservations do not exist.", + "parameters": { + "reservationId": { + "description": "The reservation ID relative to the parent, e.g., \"dev\". This field must only contain alphanumeric characters.", + "location": "query", + "type": "string" + }, + "parent": { + "type": "string", + "pattern": "^projects/[^/]+/locations/[^/]+$", + "description": "Project, location, and (optionally) reservation name. E.g., projects/myproject/locations/us-central1/reservations/parent", + "required": true, + "location": "path" + } + } + }, + "delete": { + "response": { + "$ref": "Empty" + }, + "parameterOrder": [ + "name" + ], + "path": "v1alpha2/{+name}", + "parameters": { + "name": { + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/reservations/.*$", + "type": "string", + "required": true, + "description": "Resource name of the reservation to retrieve. E.g., projects/myproject/locations/us-central1/reservations/my_reservation" + }, + "force": { + "type": "boolean", + "location": "query", + "description": "If true, deletes all the child reservations of the given reservation. Otherwise, attempting to delete a reservation that has child reservations will fail with error code `google.rpc.Code.FAILED_PRECONDITION`." + } + }, + "httpMethod": "DELETE", + "scopes": [ + "https://www.googleapis.com/auth/bigquery", + "https://www.googleapis.com/auth/cloud-platform" + ], + "id": "bigqueryreservation.projects.locations.reservations.delete", + "description": "Deletes a reservation. Returns `google.rpc.Code.FAILED_PRECONDITION` in the following cases: 1. When reservation has child reservations. This check can be bypassed by setting DeleteReservationRequest.force flag to true. 2. When top-level reservation with slot pools is being deleted.", + "flatPath": "v1alpha2/projects/{projectsId}/locations/{locationsId}/reservations/{reservationsId}" + }, + "patch": { + "request": { + "$ref": "Reservation" + }, + "parameterOrder": [ + "name" + ], + "id": "bigqueryreservation.projects.locations.reservations.patch", + "path": "v1alpha2/{+name}", + "flatPath": "v1alpha2/projects/{projectsId}/locations/{locationsId}/reservations/{reservationsId}/{reservationsId1}", + "httpMethod": "PATCH", + "scopes": [ + "https://www.googleapis.com/auth/bigquery", + "https://www.googleapis.com/auth/cloud-platform" + ], + "parameters": { + "updateMask": { + "location": "query", + "format": "google-fieldmask", + "description": "Standard field mask for the set of fields to be updated.", + "type": "string" + }, + "name": { + "pattern": "^projects/[^/]+/locations/[^/]+/reservations/[^/]+/.*$", + "type": "string", + "location": "path", + "description": "The resource name of the reservation, e.g., \"projects/*/locations/*/reservations/dev/team/product\". Reservation names (e.g., \"dev/team/product\") exceeding a depth of six will fail with `google.rpc.Code.INVALID_ARGUMENT`.", + "required": true + } + }, + "response": { + "$ref": "Reservation" + }, + "description": "Updates an existing reservation resource. Applicable only for child reservations." + }, + "list": { + "path": "v1alpha2/{+parent}/reservations", + "response": { + "$ref": "ListReservationsResponse" + }, + "parameters": { + "parent": { + "description": "The parent resource name containing project and location, e.g.: \"projects/myproject/locations/us-central1\"", + "pattern": "^projects/[^/]+/locations/[^/]+$", + "required": true, + "location": "path", + "type": "string" + }, + "filter": { + "type": "string", + "description": "Can be used to filter out reservations based on names, capacity, etc, e.g.: filter=\"reservation.slot_capacity \u003e 200\" filter=\"reservation.name = \\\"*dev/*\\\"\" Advanced filtering syntax can be [here](https://cloud.google.com/logging/docs/view/advanced-filters).", + "location": "query" + }, + "pageToken": { + "type": "string", + "location": "query", + "description": "The next_page_token value returned from a previous List request, if any." + }, + "pageSize": { + "location": "query", + "type": "integer", + "format": "int32", + "description": "The maximum number of items to return." + } + }, + "parameterOrder": [ + "parent" + ], + "description": "Lists all the reservations for the project in the specified location.", + "id": "bigqueryreservation.projects.locations.reservations.list", + "scopes": [ + "https://www.googleapis.com/auth/bigquery", + "https://www.googleapis.com/auth/cloud-platform" + ], + "httpMethod": "GET", + "flatPath": "v1alpha2/projects/{projectsId}/locations/{locationsId}/reservations" + }, + "get": { + "scopes": [ + "https://www.googleapis.com/auth/bigquery", + "https://www.googleapis.com/auth/cloud-platform" + ], + "id": "bigqueryreservation.projects.locations.reservations.get", + "path": "v1alpha2/{+name}", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "type": "string", + "pattern": "^projects/[^/]+/locations/[^/]+/reservations/.*$", + "description": "Resource name of the reservation to retrieve. E.g., projects/myproject/locations/us-central1/reservations/path/to/reserv", + "required": true, + "location": "path" + } + }, + "description": "Returns information about the reservation.", + "httpMethod": "GET", + "response": { + "$ref": "Reservation" + }, + "flatPath": "v1alpha2/projects/{projectsId}/locations/{locationsId}/reservations/{reservationsId}" + } + }, + "resources": { + "slotPools": { + "methods": { + "get": { + "path": "v1alpha2/{+name}", + "flatPath": "v1alpha2/projects/{projectsId}/locations/{locationsId}/reservations/{reservationsId}/slotPools/{slotPoolsId}", + "scopes": [ + "https://www.googleapis.com/auth/bigquery", + "https://www.googleapis.com/auth/cloud-platform" + ], + "response": { + "$ref": "SlotPool" + }, + "parameters": { + "name": { + "location": "path", + "required": true, + "type": "string", + "pattern": "^projects/[^/]+/locations/[^/]+/reservations/[^/]+/slotPools/[^/]+$", + "description": "Resource name of the slot pool to retrieve. E.g., projects/myproject/locations/us-central1/reservations/my_reservation/slotPools/123" + } + }, + "id": "bigqueryreservation.projects.locations.reservations.slotPools.get", + "httpMethod": "GET", + "description": "Returns information about the slot pool.", + "parameterOrder": [ + "name" + ] + }, + "list": { + "flatPath": "v1alpha2/projects/{projectsId}/locations/{locationsId}/reservations/{reservationsId}/slotPools", + "parameters": { + "pageToken": { + "location": "query", + "type": "string", + "description": "The next_page_token value returned from a previous List request, if any." + }, + "parent": { + "required": true, + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/reservations/[^/]+$", + "description": "Resource name of the parent reservation. Only top-level reservations can have slot pools. E.g., projects/myproject/locations/us-central1/reservations/my_reservation", + "type": "string" + }, + "pageSize": { + "type": "integer", + "format": "int32", + "description": "The maximum number of items to return.", + "location": "query" + } + }, + "description": "Lists all the slot pools for the reservation.", + "scopes": [ + "https://www.googleapis.com/auth/bigquery", + "https://www.googleapis.com/auth/cloud-platform" + ], + "path": "v1alpha2/{+parent}/slotPools", + "id": "bigqueryreservation.projects.locations.reservations.slotPools.list", + "parameterOrder": [ + "parent" + ], + "httpMethod": "GET", + "response": { + "$ref": "ListSlotPoolsResponse" + } + }, + "delete": { + "httpMethod": "DELETE", + "flatPath": "v1alpha2/projects/{projectsId}/locations/{locationsId}/reservations/{reservationsId}/slotPools/{slotPoolsId}", + "path": "v1alpha2/{+name}", + "description": "Deletes a slot pool. Attempting to delete slot pool before its commitment_end_time will fail with the error code `google.rpc.Code.FAILED_PRECONDITION`.", + "scopes": [ + "https://www.googleapis.com/auth/bigquery", + "https://www.googleapis.com/auth/cloud-platform" + ], + "id": "bigqueryreservation.projects.locations.reservations.slotPools.delete", + "response": { + "$ref": "Empty" + }, + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "required": true, + "description": "Resource name of the slot pool to delete. E.g., projects/myproject/locations/us-central1/reservations/my_reservation/slotPools/123", + "type": "string", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/reservations/[^/]+/slotPools/[^/]+$" + } + } + } + } + } + } + }, + "operations": { + "methods": { + "cancel": { + "parameters": { + "name": { + "type": "string", + "required": true, + "location": "path", + "description": "The name of the operation resource to be cancelled.", + "pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$" + } + }, + "id": "bigqueryreservation.projects.locations.operations.cancel", + "response": { + "$ref": "Empty" + }, + "httpMethod": "POST", + "parameterOrder": [ + "name" + ], + "scopes": [ + "https://www.googleapis.com/auth/bigquery", + "https://www.googleapis.com/auth/cloud-platform" + ], + "description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.", + "path": "v1alpha2/{+name}:cancel", + "flatPath": "v1alpha2/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}:cancel" + }, + "get": { + "id": "bigqueryreservation.projects.locations.operations.get", + "response": { + "$ref": "Operation" + }, + "path": "v1alpha2/{+name}", + "scopes": [ + "https://www.googleapis.com/auth/bigquery", + "https://www.googleapis.com/auth/cloud-platform" + ], + "parameters": { + "name": { + "description": "The name of the operation resource.", + "location": "path", + "required": true, + "pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$", + "type": "string" + } + }, + "flatPath": "v1alpha2/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}", + "httpMethod": "GET", + "description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", + "parameterOrder": [ + "name" + ] + } + } + }, + "reservationGrants": { + "methods": { + "list": { + "response": { + "$ref": "ListReservationGrantsResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/bigquery", + "https://www.googleapis.com/auth/cloud-platform" + ], + "parameters": { + "pageToken": { + "type": "string", + "location": "query", + "description": "The next_page_token value returned from a previous List request, if any." + }, + "parent": { + "pattern": "^projects/[^/]+/locations/[^/]+$", + "required": true, + "location": "path", + "type": "string", + "description": "The parent resource name e.g.: projects/myproject/location/eu." + }, + "pageSize": { + "type": "integer", + "format": "int32", + "location": "query", + "description": "The maximum number of items to return." + } + }, + "parameterOrder": [ + "parent" + ], + "flatPath": "v1alpha2/projects/{projectsId}/locations/{locationsId}/reservationGrants", + "httpMethod": "GET", + "path": "v1alpha2/{+parent}/reservationGrants", + "description": "Lists reservation grants. Only explicitly created grants will be returned. E.g: organizationA contains project1 and project2. Reservation res1 exists. CreateReservationGrant was invoked previously and following grants were created explicitly: Then this API will just return the above two grants for reservation res1, and no expansion/merge will happen.", + "id": "bigqueryreservation.projects.locations.reservationGrants.list" + }, + "create": { + "httpMethod": "POST", + "path": "v1alpha2/{+parent}/reservationGrants", + "id": "bigqueryreservation.projects.locations.reservationGrants.create", + "flatPath": "v1alpha2/projects/{projectsId}/locations/{locationsId}/reservationGrants", + "description": "Returns `google.rpc.Code.PERMISSION_DENIED` if user does not have 'bigquery.admin' permissions on the project using the reservation and the project that owns this reservation. Returns `google.rpc.Code.INVALID_ARGUMENT` when location of the grant does not match location of the reservation.", + "request": { + "$ref": "ReservationGrant" + }, + "parameters": { + "parent": { + "description": "The parent resource name of the reservation grant E.g.: projects/myproject/location/eu.", + "required": true, + "location": "path", + "type": "string", + "pattern": "^projects/[^/]+/locations/[^/]+$" + } + }, + "scopes": [ + "https://www.googleapis.com/auth/bigquery", + "https://www.googleapis.com/auth/cloud-platform" + ], + "parameterOrder": [ + "parent" + ], + "response": { + "$ref": "ReservationGrant" + } + }, + "delete": { + "response": { + "$ref": "Empty" + }, + "description": "Deletes a reservation grant. No expansion will happen. E.g: organizationA contains project1 and project2. Reservation res1 exists. CreateReservationGrant was invoked previously and following grants were created explicitly: Then deletion of won't affect . After deletion of , queries from project1 will still use res1, while queries from project2 will use on-demand mode.", + "path": "v1alpha2/{+name}", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "type": "string", + "description": "Name of the resource, e.g.: projects/myproject/locations/eu/reservationGrants/123", + "location": "path", + "required": true, + "pattern": "^projects/[^/]+/locations/[^/]+/reservationGrants/[^/]+$" + } + }, + "httpMethod": "DELETE", + "scopes": [ + "https://www.googleapis.com/auth/bigquery", + "https://www.googleapis.com/auth/cloud-platform" + ], + "flatPath": "v1alpha2/projects/{projectsId}/locations/{locationsId}/reservationGrants/{reservationGrantsId}", + "id": "bigqueryreservation.projects.locations.reservationGrants.delete" + } + } + } + } + } + } + } + }, + "name": "bigqueryreservation", + "servicePath": "", + "fullyEncodeReservedExpansion": true, + "baseUrl": "https://bigqueryreservation.googleapis.com/", + "basePath": "", + "id": "bigqueryreservation:v1alpha2", + "icons": { + "x16": "http://www.google.com/images/icons/product/search-16.gif", + "x32": "http://www.google.com/images/icons/product/search-32.gif" + }, + "rootUrl": "https://bigqueryreservation.googleapis.com/", + "mtlsRootUrl": "https://bigqueryreservation.mtls.googleapis.com/", + "ownerDomain": "google.com", + "discoveryVersion": "v1" +} diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/bigtableadmin.v1.json b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/bigtableadmin.v1.json new file mode 100644 index 0000000000000000000000000000000000000000..e4ebac15b5fb050a29f008b60c24914daf6aaef7 --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/bigtableadmin.v1.json @@ -0,0 +1,762 @@ +{ + "basePath": "", + "baseUrl": "https://bigtableadmin.googleapis.com/", + "batchPath": "batch", + "canonicalName": "Bigtable Admin", + "description": "Administer your Cloud Bigtable tables and instances.", + "discoveryVersion": "v1", + "documentationLink": "https://cloud.google.com/bigtable/", + "fullyEncodeReservedExpansion": true, + "icons": { + "x16": "http://www.google.com/images/icons/product/search-16.gif", + "x32": "http://www.google.com/images/icons/product/search-32.gif" + }, + "id": "bigtableadmin:v1", + "kind": "discovery#restDescription", + "mtlsRootUrl": "https://bigtableadmin.mtls.googleapis.com/", + "name": "bigtableadmin", + "ownerDomain": "google.com", + "ownerName": "Google", + "parameters": { + "$.xgafv": { + "description": "V1 error format.", + "enum": [ + "1", + "2" + ], + "enumDescriptions": [ + "v1 error format", + "v2 error format" + ], + "location": "query", + "type": "string" + }, + "access_token": { + "description": "OAuth access token.", + "location": "query", + "type": "string" + }, + "alt": { + "default": "json", + "description": "Data format for response.", + "enum": [ + "json", + "media", + "proto" + ], + "enumDescriptions": [ + "Responses with Content-Type of application/json", + "Media download with context-dependent Content-Type", + "Responses with Content-Type of application/x-protobuf" + ], + "location": "query", + "type": "string" + }, + "callback": { + "description": "JSONP", + "location": "query", + "type": "string" + }, + "fields": { + "description": "Selector specifying which fields to include in a partial response.", + "location": "query", + "type": "string" + }, + "key": { + "description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", + "location": "query", + "type": "string" + }, + "oauth_token": { + "description": "OAuth 2.0 token for the current user.", + "location": "query", + "type": "string" + }, + "prettyPrint": { + "default": "true", + "description": "Returns response with indentations and line breaks.", + "location": "query", + "type": "boolean" + }, + "quotaUser": { + "description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.", + "location": "query", + "type": "string" + }, + "uploadType": { + "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", + "location": "query", + "type": "string" + }, + "upload_protocol": { + "description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", + "location": "query", + "type": "string" + } + }, + "protocol": "rest", + "resources": {}, + "revision": "20220103", + "rootUrl": "https://bigtableadmin.googleapis.com/", + "schemas": { + "AutoscalingLimits": { + "description": "Limits for the number of nodes a Cluster can autoscale up/down to.", + "id": "AutoscalingLimits", + "properties": { + "maxServeNodes": { + "description": "Required. Maximum number of nodes to scale up to.", + "format": "int32", + "type": "integer" + }, + "minServeNodes": { + "description": "Required. Minimum number of nodes to scale down to.", + "format": "int32", + "type": "integer" + } + }, + "type": "object" + }, + "AutoscalingTargets": { + "description": "The Autoscaling targets for a Cluster. These determine the recommended nodes.", + "id": "AutoscalingTargets", + "properties": { + "cpuUtilizationPercent": { + "description": "The cpu utilization that the Autoscaler should be trying to achieve. This number is on a scale from 0 (no utilization) to 100 (total utilization).", + "format": "int32", + "type": "integer" + } + }, + "type": "object" + }, + "Backup": { + "description": "A backup of a Cloud Bigtable table.", + "id": "Backup", + "properties": { + "encryptionInfo": { + "$ref": "EncryptionInfo", + "description": "Output only. The encryption information for the backup.", + "readOnly": true + }, + "endTime": { + "description": "Output only. `end_time` is the time that the backup was finished. The row data in the backup will be no newer than this timestamp.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + }, + "expireTime": { + "description": "Required. The expiration time of the backup, with microseconds granularity that must be at least 6 hours and at most 30 days from the time the request is received. Once the `expire_time` has passed, Cloud Bigtable will delete the backup and free the resources used by the backup.", + "format": "google-datetime", + "type": "string" + }, + "name": { + "description": "A globally unique identifier for the backup which cannot be changed. Values are of the form `projects/{project}/instances/{instance}/clusters/{cluster}/ backups/_a-zA-Z0-9*` The final segment of the name must be between 1 and 50 characters in length. The backup is stored in the cluster identified by the prefix of the backup name of the form `projects/{project}/instances/{instance}/clusters/{cluster}`.", + "type": "string" + }, + "sizeBytes": { + "description": "Output only. Size of the backup in bytes.", + "format": "int64", + "readOnly": true, + "type": "string" + }, + "sourceTable": { + "description": "Required. Immutable. Name of the table from which this backup was created. This needs to be in the same instance as the backup. Values are of the form `projects/{project}/instances/{instance}/tables/{source_table}`.", + "type": "string" + }, + "startTime": { + "description": "Output only. `start_time` is the time that the backup was started (i.e. approximately the time the CreateBackup request is received). The row data in this backup will be no older than this timestamp.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + }, + "state": { + "description": "Output only. The current state of the backup.", + "enum": [ + "STATE_UNSPECIFIED", + "CREATING", + "READY" + ], + "enumDescriptions": [ + "Not specified.", + "The pending backup is still being created. Operations on the backup may fail with `FAILED_PRECONDITION` in this state.", + "The backup is complete and ready for use." + ], + "readOnly": true, + "type": "string" + } + }, + "type": "object" + }, + "BackupInfo": { + "description": "Information about a backup.", + "id": "BackupInfo", + "properties": { + "backup": { + "description": "Output only. Name of the backup.", + "readOnly": true, + "type": "string" + }, + "endTime": { + "description": "Output only. This time that the backup was finished. Row data in the backup will be no newer than this timestamp.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + }, + "sourceTable": { + "description": "Output only. Name of the table the backup was created from.", + "readOnly": true, + "type": "string" + }, + "startTime": { + "description": "Output only. The time that the backup was started. Row data in the backup will be no older than this timestamp.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + } + }, + "type": "object" + }, + "Cluster": { + "description": "A resizable group of nodes in a particular cloud location, capable of serving all Tables in the parent Instance.", + "id": "Cluster", + "properties": { + "clusterConfig": { + "$ref": "ClusterConfig", + "description": "Configuration for this cluster." + }, + "defaultStorageType": { + "description": "Immutable. The type of storage used by this cluster to serve its parent instance's tables, unless explicitly overridden.", + "enum": [ + "STORAGE_TYPE_UNSPECIFIED", + "SSD", + "HDD" + ], + "enumDescriptions": [ + "The user did not specify a storage type.", + "Flash (SSD) storage should be used.", + "Magnetic drive (HDD) storage should be used." + ], + "type": "string" + }, + "encryptionConfig": { + "$ref": "EncryptionConfig", + "description": "Immutable. The encryption configuration for CMEK-protected clusters." + }, + "location": { + "description": "Immutable. The location where this cluster's nodes and storage reside. For best performance, clients should be located as close as possible to this cluster. Currently only zones are supported, so values should be of the form `projects/{project}/locations/{zone}`.", + "type": "string" + }, + "name": { + "description": "The unique name of the cluster. Values are of the form `projects/{project}/instances/{instance}/clusters/a-z*`.", + "type": "string" + }, + "serveNodes": { + "description": "The number of nodes allocated to this cluster. More nodes enable higher throughput and more consistent performance.", + "format": "int32", + "type": "integer" + }, + "state": { + "description": "Output only. The current state of the cluster.", + "enum": [ + "STATE_NOT_KNOWN", + "READY", + "CREATING", + "RESIZING", + "DISABLED" + ], + "enumDescriptions": [ + "The state of the cluster could not be determined.", + "The cluster has been successfully created and is ready to serve requests.", + "The cluster is currently being created, and may be destroyed if the creation process encounters an error. A cluster may not be able to serve requests while being created.", + "The cluster is currently being resized, and may revert to its previous node count if the process encounters an error. A cluster is still capable of serving requests while being resized, but may exhibit performance as if its number of allocated nodes is between the starting and requested states.", + "The cluster has no backing nodes. The data (tables) still exist, but no operations can be performed on the cluster." + ], + "readOnly": true, + "type": "string" + } + }, + "type": "object" + }, + "ClusterAutoscalingConfig": { + "description": "Autoscaling config for a cluster.", + "id": "ClusterAutoscalingConfig", + "properties": { + "autoscalingLimits": { + "$ref": "AutoscalingLimits", + "description": "Required. Autoscaling limits for this cluster." + }, + "autoscalingTargets": { + "$ref": "AutoscalingTargets", + "description": "Required. Autoscaling targets for this cluster." + } + }, + "type": "object" + }, + "ClusterConfig": { + "description": "Configuration for a cluster.", + "id": "ClusterConfig", + "properties": { + "clusterAutoscalingConfig": { + "$ref": "ClusterAutoscalingConfig", + "description": "Autoscaling configuration for this cluster." + } + }, + "type": "object" + }, + "CreateBackupMetadata": { + "description": "Metadata type for the operation returned by CreateBackup.", + "id": "CreateBackupMetadata", + "properties": { + "endTime": { + "description": "If set, the time at which this operation finished or was cancelled.", + "format": "google-datetime", + "type": "string" + }, + "name": { + "description": "The name of the backup being created.", + "type": "string" + }, + "sourceTable": { + "description": "The name of the table the backup is created from.", + "type": "string" + }, + "startTime": { + "description": "The time at which this operation started.", + "format": "google-datetime", + "type": "string" + } + }, + "type": "object" + }, + "CreateClusterMetadata": { + "description": "The metadata for the Operation returned by CreateCluster.", + "id": "CreateClusterMetadata", + "properties": { + "finishTime": { + "description": "The time at which the operation failed or was completed successfully.", + "format": "google-datetime", + "type": "string" + }, + "originalRequest": { + "$ref": "CreateClusterRequest", + "description": "The request that prompted the initiation of this CreateCluster operation." + }, + "requestTime": { + "description": "The time at which the original request was received.", + "format": "google-datetime", + "type": "string" + }, + "tables": { + "additionalProperties": { + "$ref": "TableProgress" + }, + "description": "Keys: the full `name` of each table that existed in the instance when CreateCluster was first called, i.e. `projects//instances//tables/`. Any table added to the instance by a later API call will be created in the new cluster by that API call, not this one. Values: information on how much of a table's data has been copied to the newly-created cluster so far.", + "type": "object" + } + }, + "type": "object" + }, + "CreateClusterRequest": { + "description": "Request message for BigtableInstanceAdmin.CreateCluster.", + "id": "CreateClusterRequest", + "properties": { + "cluster": { + "$ref": "Cluster", + "description": "Required. The cluster to be created. Fields marked `OutputOnly` must be left blank." + }, + "clusterId": { + "description": "Required. The ID to be used when referring to the new cluster within its instance, e.g., just `mycluster` rather than `projects/myproject/instances/myinstance/clusters/mycluster`.", + "type": "string" + }, + "parent": { + "description": "Required. The unique name of the instance in which to create the new cluster. Values are of the form `projects/{project}/instances/{instance}`.", + "type": "string" + } + }, + "type": "object" + }, + "CreateInstanceMetadata": { + "description": "The metadata for the Operation returned by CreateInstance.", + "id": "CreateInstanceMetadata", + "properties": { + "finishTime": { + "description": "The time at which the operation failed or was completed successfully.", + "format": "google-datetime", + "type": "string" + }, + "originalRequest": { + "$ref": "CreateInstanceRequest", + "description": "The request that prompted the initiation of this CreateInstance operation." + }, + "requestTime": { + "description": "The time at which the original request was received.", + "format": "google-datetime", + "type": "string" + } + }, + "type": "object" + }, + "CreateInstanceRequest": { + "description": "Request message for BigtableInstanceAdmin.CreateInstance.", + "id": "CreateInstanceRequest", + "properties": { + "clusters": { + "additionalProperties": { + "$ref": "Cluster" + }, + "description": "Required. The clusters to be created within the instance, mapped by desired cluster ID, e.g., just `mycluster` rather than `projects/myproject/instances/myinstance/clusters/mycluster`. Fields marked `OutputOnly` must be left blank. Currently, at most four clusters can be specified.", + "type": "object" + }, + "instance": { + "$ref": "Instance", + "description": "Required. The instance to create. Fields marked `OutputOnly` must be left blank." + }, + "instanceId": { + "description": "Required. The ID to be used when referring to the new instance within its project, e.g., just `myinstance` rather than `projects/myproject/instances/myinstance`.", + "type": "string" + }, + "parent": { + "description": "Required. The unique name of the project in which to create the new instance. Values are of the form `projects/{project}`.", + "type": "string" + } + }, + "type": "object" + }, + "EncryptionConfig": { + "description": "Cloud Key Management Service (Cloud KMS) settings for a CMEK-protected cluster.", + "id": "EncryptionConfig", + "properties": { + "kmsKeyName": { + "description": "Describes the Cloud KMS encryption key that will be used to protect the destination Bigtable cluster. The requirements for this key are: 1) The Cloud Bigtable service account associated with the project that contains this cluster must be granted the `cloudkms.cryptoKeyEncrypterDecrypter` role on the CMEK key. 2) Only regional keys can be used and the region of the CMEK key must match the region of the cluster. 3) All clusters within an instance must use the same CMEK key. Values are of the form `projects/{project}/locations/{location}/keyRings/{keyring}/cryptoKeys/{key}`", + "type": "string" + } + }, + "type": "object" + }, + "EncryptionInfo": { + "description": "Encryption information for a given resource. If this resource is protected with customer managed encryption, the in-use Cloud Key Management Service (Cloud KMS) key version is specified along with its status.", + "id": "EncryptionInfo", + "properties": { + "encryptionStatus": { + "$ref": "Status", + "description": "Output only. The status of encrypt/decrypt calls on underlying data for this resource. Regardless of status, the existing data is always encrypted at rest.", + "readOnly": true + }, + "encryptionType": { + "description": "Output only. The type of encryption used to protect this resource.", + "enum": [ + "ENCRYPTION_TYPE_UNSPECIFIED", + "GOOGLE_DEFAULT_ENCRYPTION", + "CUSTOMER_MANAGED_ENCRYPTION" + ], + "enumDescriptions": [ + "Encryption type was not specified, though data at rest remains encrypted.", + "The data backing this resource is encrypted at rest with a key that is fully managed by Google. No key version or status will be populated. This is the default state.", + "The data backing this resource is encrypted at rest with a key that is managed by the customer. The in-use version of the key and its status are populated for CMEK-protected tables. CMEK-protected backups are pinned to the key version that was in use at the time the backup was taken. This key version is populated but its status is not tracked and is reported as `UNKNOWN`." + ], + "readOnly": true, + "type": "string" + }, + "kmsKeyVersion": { + "description": "Output only. The version of the Cloud KMS key specified in the parent cluster that is in use for the data underlying this table.", + "readOnly": true, + "type": "string" + } + }, + "type": "object" + }, + "Instance": { + "description": "A collection of Bigtable Tables and the resources that serve them. All tables in an instance are served from all Clusters in the instance.", + "id": "Instance", + "properties": { + "createTime": { + "description": "Output only. A server-assigned timestamp representing when this Instance was created. For instances created before this field was added (August 2021), this value is `seconds: 0, nanos: 1`.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + }, + "displayName": { + "description": "Required. The descriptive name for this instance as it appears in UIs. Can be changed at any time, but should be kept globally unique to avoid confusion.", + "type": "string" + }, + "labels": { + "additionalProperties": { + "type": "string" + }, + "description": "Required. Labels are a flexible and lightweight mechanism for organizing cloud resources into groups that reflect a customer's organizational needs and deployment strategies. They can be used to filter resources and aggregate metrics. * Label keys must be between 1 and 63 characters long and must conform to the regular expression: `\\p{Ll}\\p{Lo}{0,62}`. * Label values must be between 0 and 63 characters long and must conform to the regular expression: `[\\p{Ll}\\p{Lo}\\p{N}_-]{0,63}`. * No more than 64 labels can be associated with a given resource. * Keys and values must both be under 128 bytes.", + "type": "object" + }, + "name": { + "description": "The unique name of the instance. Values are of the form `projects/{project}/instances/a-z+[a-z0-9]`.", + "type": "string" + }, + "state": { + "description": "Output only. The current state of the instance.", + "enum": [ + "STATE_NOT_KNOWN", + "READY", + "CREATING" + ], + "enumDescriptions": [ + "The state of the instance could not be determined.", + "The instance has been successfully created and can serve requests to its tables.", + "The instance is currently being created, and may be destroyed if the creation process encounters an error." + ], + "readOnly": true, + "type": "string" + }, + "type": { + "description": "Required. The type of the instance. Defaults to `PRODUCTION`.", + "enum": [ + "TYPE_UNSPECIFIED", + "PRODUCTION", + "DEVELOPMENT" + ], + "enumDescriptions": [ + "The type of the instance is unspecified. If set when creating an instance, a `PRODUCTION` instance will be created. If set when updating an instance, the type will be left unchanged.", + "An instance meant for production use. `serve_nodes` must be set on the cluster.", + "DEPRECATED: Prefer PRODUCTION for all use cases, as it no longer enforces a higher minimum node count than DEVELOPMENT." + ], + "type": "string" + } + }, + "type": "object" + }, + "OperationProgress": { + "description": "Encapsulates progress related information for a Cloud Bigtable long running operation.", + "id": "OperationProgress", + "properties": { + "endTime": { + "description": "If set, the time at which this operation failed or was completed successfully.", + "format": "google-datetime", + "type": "string" + }, + "progressPercent": { + "description": "Percent completion of the operation. Values are between 0 and 100 inclusive.", + "format": "int32", + "type": "integer" + }, + "startTime": { + "description": "Time the request was received.", + "format": "google-datetime", + "type": "string" + } + }, + "type": "object" + }, + "OptimizeRestoredTableMetadata": { + "description": "Metadata type for the long-running operation used to track the progress of optimizations performed on a newly restored table. This long-running operation is automatically created by the system after the successful completion of a table restore, and cannot be cancelled.", + "id": "OptimizeRestoredTableMetadata", + "properties": { + "name": { + "description": "Name of the restored table being optimized.", + "type": "string" + }, + "progress": { + "$ref": "OperationProgress", + "description": "The progress of the post-restore optimizations." + } + }, + "type": "object" + }, + "PartialUpdateClusterMetadata": { + "description": "The metadata for the Operation returned by PartialUpdateCluster.", + "id": "PartialUpdateClusterMetadata", + "properties": { + "finishTime": { + "description": "The time at which the operation failed or was completed successfully.", + "format": "google-datetime", + "type": "string" + }, + "originalRequest": { + "$ref": "PartialUpdateClusterRequest", + "description": "The original request for PartialUpdateCluster." + }, + "requestTime": { + "description": "The time at which the original request was received.", + "format": "google-datetime", + "type": "string" + } + }, + "type": "object" + }, + "PartialUpdateClusterRequest": { + "description": "Request message for BigtableInstanceAdmin.PartialUpdateCluster.", + "id": "PartialUpdateClusterRequest", + "properties": { + "cluster": { + "$ref": "Cluster", + "description": "Required. The Cluster which contains the partial updates to be applied, subject to the update_mask." + }, + "updateMask": { + "description": "Required. The subset of Cluster fields which should be replaced.", + "format": "google-fieldmask", + "type": "string" + } + }, + "type": "object" + }, + "PartialUpdateInstanceRequest": { + "description": "Request message for BigtableInstanceAdmin.PartialUpdateInstance.", + "id": "PartialUpdateInstanceRequest", + "properties": { + "instance": { + "$ref": "Instance", + "description": "Required. The Instance which will (partially) replace the current value." + }, + "updateMask": { + "description": "Required. The subset of Instance fields which should be replaced. Must be explicitly set.", + "format": "google-fieldmask", + "type": "string" + } + }, + "type": "object" + }, + "RestoreTableMetadata": { + "description": "Metadata type for the long-running operation returned by RestoreTable.", + "id": "RestoreTableMetadata", + "properties": { + "backupInfo": { + "$ref": "BackupInfo" + }, + "name": { + "description": "Name of the table being created and restored to.", + "type": "string" + }, + "optimizeTableOperationName": { + "description": "If exists, the name of the long-running operation that will be used to track the post-restore optimization process to optimize the performance of the restored table. The metadata type of the long-running operation is OptimizeRestoreTableMetadata. The response type is Empty. This long-running operation may be automatically created by the system if applicable after the RestoreTable long-running operation completes successfully. This operation may not be created if the table is already optimized or the restore was not successful.", + "type": "string" + }, + "progress": { + "$ref": "OperationProgress", + "description": "The progress of the RestoreTable operation." + }, + "sourceType": { + "description": "The type of the restore source.", + "enum": [ + "RESTORE_SOURCE_TYPE_UNSPECIFIED", + "BACKUP" + ], + "enumDescriptions": [ + "No restore associated.", + "A backup was used as the source of the restore." + ], + "type": "string" + } + }, + "type": "object" + }, + "Status": { + "description": "The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors).", + "id": "Status", + "properties": { + "code": { + "description": "The status code, which should be an enum value of google.rpc.Code.", + "format": "int32", + "type": "integer" + }, + "details": { + "description": "A list of messages that carry the error details. There is a common set of message types for APIs to use.", + "items": { + "additionalProperties": { + "description": "Properties of the object. Contains field @type with type URL.", + "type": "any" + }, + "type": "object" + }, + "type": "array" + }, + "message": { + "description": "A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.", + "type": "string" + } + }, + "type": "object" + }, + "TableProgress": { + "description": "Progress info for copying a table's data to the new cluster.", + "id": "TableProgress", + "properties": { + "estimatedCopiedBytes": { + "description": "Estimate of the number of bytes copied so far for this table. This will eventually reach 'estimated_size_bytes' unless the table copy is CANCELLED.", + "format": "int64", + "type": "string" + }, + "estimatedSizeBytes": { + "description": "Estimate of the size of the table to be copied.", + "format": "int64", + "type": "string" + }, + "state": { + "enum": [ + "STATE_UNSPECIFIED", + "PENDING", + "COPYING", + "COMPLETED", + "CANCELLED" + ], + "enumDescriptions": [ + "", + "The table has not yet begun copying to the new cluster.", + "The table is actively being copied to the new cluster.", + "The table has been fully copied to the new cluster.", + "The table was deleted before it finished copying to the new cluster. Note that tables deleted after completion will stay marked as COMPLETED, not CANCELLED." + ], + "type": "string" + } + }, + "type": "object" + }, + "UpdateAppProfileMetadata": { + "description": "The metadata for the Operation returned by UpdateAppProfile.", + "id": "UpdateAppProfileMetadata", + "properties": {}, + "type": "object" + }, + "UpdateClusterMetadata": { + "description": "The metadata for the Operation returned by UpdateCluster.", + "id": "UpdateClusterMetadata", + "properties": { + "finishTime": { + "description": "The time at which the operation failed or was completed successfully.", + "format": "google-datetime", + "type": "string" + }, + "originalRequest": { + "$ref": "Cluster", + "description": "The request that prompted the initiation of this UpdateCluster operation." + }, + "requestTime": { + "description": "The time at which the original request was received.", + "format": "google-datetime", + "type": "string" + } + }, + "type": "object" + }, + "UpdateInstanceMetadata": { + "description": "The metadata for the Operation returned by UpdateInstance.", + "id": "UpdateInstanceMetadata", + "properties": { + "finishTime": { + "description": "The time at which the operation failed or was completed successfully.", + "format": "google-datetime", + "type": "string" + }, + "originalRequest": { + "$ref": "PartialUpdateInstanceRequest", + "description": "The request that prompted the initiation of this UpdateInstance operation." + }, + "requestTime": { + "description": "The time at which the original request was received.", + "format": "google-datetime", + "type": "string" + } + }, + "type": "object" + } + }, + "servicePath": "", + "title": "Cloud Bigtable Admin API", + "version": "v1", + "version_module": true +} \ No newline at end of file diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/billingbudgets.v1beta1.json b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/billingbudgets.v1beta1.json new file mode 100644 index 0000000000000000000000000000000000000000..d95dc943d65ed7dc823c1b7d970a39ab18022c2b --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/billingbudgets.v1beta1.json @@ -0,0 +1,606 @@ +{ +"auth": { +"oauth2": { +"scopes": { +"https://www.googleapis.com/auth/cloud-billing": { +"description": "View and manage your Google Cloud Platform billing accounts" +}, +"https://www.googleapis.com/auth/cloud-platform": { +"description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." +} +} +} +}, +"basePath": "", +"baseUrl": "https://billingbudgets.googleapis.com/", +"batchPath": "batch", +"canonicalName": "CloudBillingBudget", +"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.", +"discoveryVersion": "v1", +"documentationLink": "https://cloud.google.com/billing/docs/how-to/budget-api-overview", +"fullyEncodeReservedExpansion": true, +"icons": { +"x16": "http://www.google.com/images/icons/product/search-16.gif", +"x32": "http://www.google.com/images/icons/product/search-32.gif" +}, +"id": "billingbudgets:v1beta1", +"kind": "discovery#restDescription", +"mtlsRootUrl": "https://billingbudgets.mtls.googleapis.com/", +"name": "billingbudgets", +"ownerDomain": "google.com", +"ownerName": "Google", +"parameters": { +"$.xgafv": { +"description": "V1 error format.", +"enum": [ +"1", +"2" +], +"enumDescriptions": [ +"v1 error format", +"v2 error format" +], +"location": "query", +"type": "string" +}, +"access_token": { +"description": "OAuth access token.", +"location": "query", +"type": "string" +}, +"alt": { +"default": "json", +"description": "Data format for response.", +"enum": [ +"json", +"media", +"proto" +], +"enumDescriptions": [ +"Responses with Content-Type of application/json", +"Media download with context-dependent Content-Type", +"Responses with Content-Type of application/x-protobuf" +], +"location": "query", +"type": "string" +}, +"callback": { +"description": "JSONP", +"location": "query", +"type": "string" +}, +"fields": { +"description": "Selector specifying which fields to include in a partial response.", +"location": "query", +"type": "string" +}, +"key": { +"description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", +"location": "query", +"type": "string" +}, +"oauth_token": { +"description": "OAuth 2.0 token for the current user.", +"location": "query", +"type": "string" +}, +"prettyPrint": { +"default": "true", +"description": "Returns response with indentations and line breaks.", +"location": "query", +"type": "boolean" +}, +"quotaUser": { +"description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.", +"location": "query", +"type": "string" +}, +"uploadType": { +"description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", +"location": "query", +"type": "string" +}, +"upload_protocol": { +"description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", +"location": "query", +"type": "string" +} +}, +"protocol": "rest", +"resources": { +"billingAccounts": { +"resources": { +"budgets": { +"methods": { +"create": { +"description": "Creates a new budget. See [Quotas and limits](https://cloud.google.com/billing/quotas) for more information on the limits of the number of budgets you can create.", +"flatPath": "v1beta1/billingAccounts/{billingAccountsId}/budgets", +"httpMethod": "POST", +"id": "billingbudgets.billingAccounts.budgets.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The name of the billing account to create the budget in. Values are of the form `billingAccounts/{billingAccountId}`.", +"location": "path", +"pattern": "^billingAccounts/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+parent}/budgets", +"request": { +"$ref": "GoogleCloudBillingBudgetsV1beta1CreateBudgetRequest" +}, +"response": { +"$ref": "GoogleCloudBillingBudgetsV1beta1Budget" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-billing", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a budget. Returns successfully if already deleted.", +"flatPath": "v1beta1/billingAccounts/{billingAccountsId}/budgets/{budgetsId}", +"httpMethod": "DELETE", +"id": "billingbudgets.billingAccounts.budgets.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of the budget to delete. Values are of the form `billingAccounts/{billingAccountId}/budgets/{budgetId}`.", +"location": "path", +"pattern": "^billingAccounts/[^/]+/budgets/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+name}", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-billing", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Returns a budget. WARNING: There are some fields exposed on the Google Cloud Console that aren't available on this API. When reading from the API, you will not see these fields in the return value, though they may have been set in the Cloud Console.", +"flatPath": "v1beta1/billingAccounts/{billingAccountsId}/budgets/{budgetsId}", +"httpMethod": "GET", +"id": "billingbudgets.billingAccounts.budgets.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of budget to get. Values are of the form `billingAccounts/{billingAccountId}/budgets/{budgetId}`.", +"location": "path", +"pattern": "^billingAccounts/[^/]+/budgets/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+name}", +"response": { +"$ref": "GoogleCloudBillingBudgetsV1beta1Budget" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-billing", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Returns a list of budgets for a billing account. WARNING: There are some fields exposed on the Google Cloud Console that aren't available on this API. When reading from the API, you will not see these fields in the return value, though they may have been set in the Cloud Console.", +"flatPath": "v1beta1/billingAccounts/{billingAccountsId}/budgets", +"httpMethod": "GET", +"id": "billingbudgets.billingAccounts.budgets.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "Optional. The maximum number of budgets to return per page. The default and maximum value are 100.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. The value returned by the last `ListBudgetsResponse` which indicates that this is a continuation of a prior `ListBudgets` call, and that the system should return the next page of data.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. Name of billing account to list budgets under. Values are of the form `billingAccounts/{billingAccountId}`.", +"location": "path", +"pattern": "^billingAccounts/[^/]+$", +"required": true, +"type": "string" +}, +"scope": { +"description": "Optional. Set the scope of the budgets to be returned, in the format of the resource name. The scope of a budget is the cost that it tracks, such as costs for a single project, or the costs for all projects in a folder. Only project scope (in the format of \"projects/project-id\" or \"projects/123\") is supported in this field. When this field is set to a project's resource name, the budgets returned are tracking the costs for that project.", +"location": "query", +"type": "string" +} +}, +"path": "v1beta1/{+parent}/budgets", +"response": { +"$ref": "GoogleCloudBillingBudgetsV1beta1ListBudgetsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-billing", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates a budget and returns the updated budget. WARNING: There are some fields exposed on the Google Cloud Console that aren't available on this API. Budget fields that are not exposed in this API will not be changed by this method.", +"flatPath": "v1beta1/billingAccounts/{billingAccountsId}/budgets/{budgetsId}", +"httpMethod": "PATCH", +"id": "billingbudgets.billingAccounts.budgets.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Output only. Resource name of the budget. The resource name implies the scope of a budget. Values are of the form `billingAccounts/{billingAccountId}/budgets/{budgetId}`.", +"location": "path", +"pattern": "^billingAccounts/[^/]+/budgets/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+name}", +"request": { +"$ref": "GoogleCloudBillingBudgetsV1beta1UpdateBudgetRequest" +}, +"response": { +"$ref": "GoogleCloudBillingBudgetsV1beta1Budget" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-billing", +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +} +}, +"revision": "20240707", +"rootUrl": "https://billingbudgets.googleapis.com/", +"schemas": { +"GoogleCloudBillingBudgetsV1beta1AllUpdatesRule": { +"description": "AllUpdatesRule defines notifications that are sent based on budget spend and thresholds.", +"id": "GoogleCloudBillingBudgetsV1beta1AllUpdatesRule", +"properties": { +"disableDefaultIamRecipients": { +"description": "Optional. When set to true, disables default notifications sent when a threshold is exceeded. Default notifications are sent to those with Billing Account Administrator and Billing Account User IAM roles for the target account.", +"type": "boolean" +}, +"enableProjectLevelRecipients": { +"description": "Optional. When set to true, and when the budget has a single project configured, notifications will be sent to project level recipients of that project. This field will be ignored if the budget has multiple or no project configured. Currently, project level recipients are the users with `Owner` role on a cloud project.", +"type": "boolean" +}, +"monitoringNotificationChannels": { +"description": "Optional. Targets to send notifications to when a threshold is exceeded. This is in addition to default recipients who have billing account IAM roles. The value is the full REST resource name of a monitoring notification channel with the form `projects/{project_id}/notificationChannels/{channel_id}`. A maximum of 5 channels are allowed. See https://cloud.google.com/billing/docs/how-to/budgets-notification-recipients for more details.", +"items": { +"type": "string" +}, +"type": "array" +}, +"pubsubTopic": { +"description": "Optional. The name of the Pub/Sub topic where budget related messages will be published, in the form `projects/{project_id}/topics/{topic_id}`. Updates are sent at regular intervals to the topic. The topic needs to be created before the budget is created; see https://cloud.google.com/billing/docs/how-to/budgets-programmatic-notifications for more details. Caller is expected to have `pubsub.topics.setIamPolicy` permission on the topic when it's set for a budget, otherwise, the API call will fail with PERMISSION_DENIED. See https://cloud.google.com/billing/docs/how-to/budgets-programmatic-notifications#permissions_required_for_this_task for more details on Pub/Sub roles and permissions.", +"type": "string" +}, +"schemaVersion": { +"description": "Optional. Required when AllUpdatesRule.pubsub_topic is set. The schema version of the notification sent to AllUpdatesRule.pubsub_topic. Only \"1.0\" is accepted. It represents the JSON schema as defined in https://cloud.google.com/billing/docs/how-to/budgets-programmatic-notifications#notification_format.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudBillingBudgetsV1beta1Budget": { +"description": "A budget is a plan that describes what you expect to spend on Cloud projects, plus the rules to execute as spend is tracked against that plan, (for example, send an alert when 90% of the target spend is met). The budget time period is configurable, with options such as month (default), quarter, year, or custom time period.", +"id": "GoogleCloudBillingBudgetsV1beta1Budget", +"properties": { +"allUpdatesRule": { +"$ref": "GoogleCloudBillingBudgetsV1beta1AllUpdatesRule", +"description": "Optional. Rules to apply to notifications sent based on budget spend and thresholds." +}, +"amount": { +"$ref": "GoogleCloudBillingBudgetsV1beta1BudgetAmount", +"description": "Required. Budgeted amount." +}, +"budgetFilter": { +"$ref": "GoogleCloudBillingBudgetsV1beta1Filter", +"description": "Optional. Filters that define which resources are used to compute the actual spend against the budget amount, such as projects, services, and the budget's time period, as well as other filters." +}, +"displayName": { +"description": "User data for display name in UI. Validation: <= 60 chars.", +"type": "string" +}, +"etag": { +"description": "Optional. Etag to validate that the object is unchanged for a read-modify-write operation. An empty etag will cause an update to overwrite other changes.", +"type": "string" +}, +"name": { +"description": "Output only. Resource name of the budget. The resource name implies the scope of a budget. Values are of the form `billingAccounts/{billingAccountId}/budgets/{budgetId}`.", +"readOnly": true, +"type": "string" +}, +"ownershipScope": { +"enum": [ +"OWNERSHIP_SCOPE_UNSPECIFIED", +"ALL_USERS", +"BILLING_ACCOUNT" +], +"enumDescriptions": [ +"Unspecified ownership scope, same as ALL_USERS.", +"The Budget is fully accessible to both billing account users and resource users, provided that they have the required IAM permissions.", +"Only billing account users have full access to the `Budget`, resource-level users have read-only access, provided that they have the required IAM permissions." +], +"type": "string" +}, +"thresholdRules": { +"description": "Optional. Rules that trigger alerts (notifications of thresholds being crossed) when spend exceeds the specified percentages of the budget. Optional for `pubsubTopic` notifications. Required if using email notifications.", +"items": { +"$ref": "GoogleCloudBillingBudgetsV1beta1ThresholdRule" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudBillingBudgetsV1beta1BudgetAmount": { +"description": "The budgeted amount for each usage period.", +"id": "GoogleCloudBillingBudgetsV1beta1BudgetAmount", +"properties": { +"lastPeriodAmount": { +"$ref": "GoogleCloudBillingBudgetsV1beta1LastPeriodAmount", +"description": "Use the last period's actual spend as the budget for the present period. LastPeriodAmount can only be set when the budget's time period is a Filter.calendar_period. It cannot be set in combination with Filter.custom_period." +}, +"specifiedAmount": { +"$ref": "GoogleTypeMoney", +"description": "A specified amount to use as the budget. `currency_code` is optional. If specified when creating a budget, it must match the currency of the billing account. If specified when updating a budget, it must match the currency_code of the existing budget. The `currency_code` is provided on output." +} +}, +"type": "object" +}, +"GoogleCloudBillingBudgetsV1beta1CreateBudgetRequest": { +"description": "Request for CreateBudget", +"id": "GoogleCloudBillingBudgetsV1beta1CreateBudgetRequest", +"properties": { +"budget": { +"$ref": "GoogleCloudBillingBudgetsV1beta1Budget", +"description": "Required. Budget to create." +} +}, +"type": "object" +}, +"GoogleCloudBillingBudgetsV1beta1CustomPeriod": { +"description": "All date times begin at 12 AM US and Canadian Pacific Time (UTC-8).", +"id": "GoogleCloudBillingBudgetsV1beta1CustomPeriod", +"properties": { +"endDate": { +"$ref": "GoogleTypeDate", +"description": "Optional. The end date of the time period. Budgets with elapsed end date won't be processed. If unset, specifies to track all usage incurred since the start_date." +}, +"startDate": { +"$ref": "GoogleTypeDate", +"description": "Required. The start date must be after January 1, 2017." +} +}, +"type": "object" +}, +"GoogleCloudBillingBudgetsV1beta1Filter": { +"description": "A filter for a budget, limiting the scope of the cost to calculate.", +"id": "GoogleCloudBillingBudgetsV1beta1Filter", +"properties": { +"calendarPeriod": { +"description": "Optional. Specifies to track usage for recurring calendar period. For example, assume that CalendarPeriod.QUARTER is set. The budget will track usage from April 1 to June 30, when the current calendar month is April, May, June. After that, it will track usage from July 1 to September 30 when the current calendar month is July, August, September, so on.", +"enum": [ +"CALENDAR_PERIOD_UNSPECIFIED", +"MONTH", +"QUARTER", +"YEAR" +], +"enumDescriptions": [ +"Calendar period is unset. This is the default if the budget is for a custom time period (CustomPeriod).", +"A month. Month starts on the first day of each month, such as January 1, February 1, March 1, and so on.", +"A quarter. Quarters start on dates January 1, April 1, July 1, and October 1 of each year.", +"A year. Year starts on January 1." +], +"type": "string" +}, +"creditTypes": { +"description": "Optional. If Filter.credit_types_treatment is INCLUDE_SPECIFIED_CREDITS, this is a list of credit types to be subtracted from gross cost to determine the spend for threshold calculations. See [a list of acceptable credit type values](https://cloud.google.com/billing/docs/how-to/export-data-bigquery-tables#credits-type). If Filter.credit_types_treatment is **not** INCLUDE_SPECIFIED_CREDITS, this field must be empty.", +"items": { +"type": "string" +}, +"type": "array" +}, +"creditTypesTreatment": { +"description": "Optional. If not set, default behavior is `INCLUDE_ALL_CREDITS`.", +"enum": [ +"CREDIT_TYPES_TREATMENT_UNSPECIFIED", +"INCLUDE_ALL_CREDITS", +"EXCLUDE_ALL_CREDITS", +"INCLUDE_SPECIFIED_CREDITS" +], +"enumDescriptions": [ +"", +"All types of credit are subtracted from the gross cost to determine the spend for threshold calculations.", +"All types of credit are added to the net cost to determine the spend for threshold calculations.", +"[Credit types](https://cloud.google.com/billing/docs/how-to/export-data-bigquery-tables#credits-type) specified in the credit_types field are subtracted from the gross cost to determine the spend for threshold calculations." +], +"type": "string" +}, +"customPeriod": { +"$ref": "GoogleCloudBillingBudgetsV1beta1CustomPeriod", +"description": "Optional. Specifies to track usage from any start date (required) to any end date (optional). This time period is static, it does not recur." +}, +"labels": { +"additionalProperties": { +"items": { +"type": "any" +}, +"type": "array" +}, +"description": "Optional. A single label and value pair specifying that usage from only this set of labeled resources should be included in the budget. If omitted, the report will include all labeled and unlabeled usage. An object containing a single `\"key\": value` pair. Example: `{ \"name\": \"wrench\" }`. _Currently, multiple entries or multiple values per entry are not allowed._", +"type": "object" +}, +"projects": { +"description": "Optional. A set of projects of the form `projects/{project}`, specifying that usage from only this set of projects should be included in the budget. If omitted, the report will include all usage for the billing account, regardless of which project the usage occurred on.", +"items": { +"type": "string" +}, +"type": "array" +}, +"resourceAncestors": { +"description": "Optional. A set of folder and organization names of the form `folders/{folderId}` or `organizations/{organizationId}`, specifying that usage from only this set of folders and organizations should be included in the budget. If omitted, the budget includes all usage that the billing account pays for. If the folder or organization contains projects that are paid for by a different Cloud Billing account, the budget *doesn't* apply to those projects.", +"items": { +"type": "string" +}, +"type": "array" +}, +"services": { +"description": "Optional. A set of services of the form `services/{service_id}`, specifying that usage from only this set of services should be included in the budget. If omitted, the report will include usage for all the services. The service names are available through the Catalog API: https://cloud.google.com/billing/v1/how-tos/catalog-api.", +"items": { +"type": "string" +}, +"type": "array" +}, +"subaccounts": { +"description": "Optional. A set of subaccounts of the form `billingAccounts/{account_id}`, specifying that usage from only this set of subaccounts should be included in the budget. If a subaccount is set to the name of the parent account, usage from the parent account will be included. If omitted, the report will include usage from the parent account and all subaccounts, if they exist.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudBillingBudgetsV1beta1LastPeriodAmount": { +"description": "Describes a budget amount targeted to the last Filter.calendar_period spend. At this time, the amount is automatically 100% of the last calendar period's spend; that is, there are no other options yet. Future configuration options will be described here (for example, configuring a percentage of last period's spend). LastPeriodAmount cannot be set for a budget configured with a Filter.custom_period.", +"id": "GoogleCloudBillingBudgetsV1beta1LastPeriodAmount", +"properties": {}, +"type": "object" +}, +"GoogleCloudBillingBudgetsV1beta1ListBudgetsResponse": { +"description": "Response for ListBudgets", +"id": "GoogleCloudBillingBudgetsV1beta1ListBudgetsResponse", +"properties": { +"budgets": { +"description": "List of the budgets owned by the requested billing account.", +"items": { +"$ref": "GoogleCloudBillingBudgetsV1beta1Budget" +}, +"type": "array" +}, +"nextPageToken": { +"description": "If not empty, indicates that there may be more budgets that match the request; this value should be passed in a new `ListBudgetsRequest`.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudBillingBudgetsV1beta1ThresholdRule": { +"description": "ThresholdRule contains the definition of a threshold. Threshold rules define the triggering events used to generate a budget notification email. When a threshold is crossed (spend exceeds the specified percentages of the budget), budget alert emails are sent to the email recipients you specify in the [NotificationsRule](#notificationsrule). Threshold rules also affect the fields included in the [JSON data object](https://cloud.google.com/billing/docs/how-to/budgets-programmatic-notifications#notification_format) sent to a Pub/Sub topic. Threshold rules are _required_ if using email notifications. Threshold rules are _optional_ if only setting a [`pubsubTopic` NotificationsRule](#NotificationsRule), unless you want your JSON data object to include data about the thresholds you set. For more information, see [set budget threshold rules and actions](https://cloud.google.com/billing/docs/how-to/budgets#budget-actions).", +"id": "GoogleCloudBillingBudgetsV1beta1ThresholdRule", +"properties": { +"spendBasis": { +"description": "Optional. The type of basis used to determine if spend has passed the threshold. Behavior defaults to CURRENT_SPEND if not set.", +"enum": [ +"BASIS_UNSPECIFIED", +"CURRENT_SPEND", +"FORECASTED_SPEND" +], +"enumDescriptions": [ +"Unspecified threshold basis.", +"Use current spend as the basis for comparison against the threshold.", +"Use forecasted spend for the period as the basis for comparison against the threshold. FORECASTED_SPEND can only be set when the budget's time period is a Filter.calendar_period. It cannot be set in combination with Filter.custom_period." +], +"type": "string" +}, +"thresholdPercent": { +"description": "Required. Send an alert when this threshold is exceeded. This is a 1.0-based percentage, so 0.5 = 50%. Validation: non-negative number.", +"format": "double", +"type": "number" +} +}, +"type": "object" +}, +"GoogleCloudBillingBudgetsV1beta1UpdateBudgetRequest": { +"description": "Request for UpdateBudget", +"id": "GoogleCloudBillingBudgetsV1beta1UpdateBudgetRequest", +"properties": { +"budget": { +"$ref": "GoogleCloudBillingBudgetsV1beta1Budget", +"description": "Required. The updated budget object. The budget to update is specified by the budget name in the budget." +}, +"updateMask": { +"description": "Optional. Indicates which fields in the provided budget to update. Read-only fields (such as `name`) cannot be changed. If this is not provided, then only fields with non-default values from the request are updated. See https://developers.google.com/protocol-buffers/docs/proto3#default for more details about default values.", +"format": "google-fieldmask", +"type": "string" +} +}, +"type": "object" +}, +"GoogleProtobufEmpty": { +"description": "A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }", +"id": "GoogleProtobufEmpty", +"properties": {}, +"type": "object" +}, +"GoogleTypeDate": { +"description": "Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following: * A full date, with non-zero year, month, and day values. * A month and day, with a zero year (for example, an anniversary). * A year on its own, with a zero month and a zero day. * A year and month, with a zero day (for example, a credit card expiration date). Related types: * google.type.TimeOfDay * google.type.DateTime * google.protobuf.Timestamp", +"id": "GoogleTypeDate", +"properties": { +"day": { +"description": "Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn't significant.", +"format": "int32", +"type": "integer" +}, +"month": { +"description": "Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.", +"format": "int32", +"type": "integer" +}, +"year": { +"description": "Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"GoogleTypeMoney": { +"description": "Represents an amount of money with its currency type.", +"id": "GoogleTypeMoney", +"properties": { +"currencyCode": { +"description": "The three-letter currency code defined in ISO 4217.", +"type": "string" +}, +"nanos": { +"description": "Number of nano (10^-9) units of the amount. The value must be between -999,999,999 and +999,999,999 inclusive. If `units` is positive, `nanos` must be positive or zero. If `units` is zero, `nanos` can be positive, zero, or negative. If `units` is negative, `nanos` must be negative or zero. For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000.", +"format": "int32", +"type": "integer" +}, +"units": { +"description": "The whole units of the amount. For example if `currencyCode` is `\"USD\"`, then 1 unit is one US dollar.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +} +}, +"servicePath": "", +"title": "Cloud Billing Budget API", +"version": "v1beta1", +"version_module": true +} \ No newline at end of file diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/binaryauthorization.v1.json b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/binaryauthorization.v1.json new file mode 100644 index 0000000000000000000000000000000000000000..b971d679fe15989bf210089b367f9a9d9d96f280 --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/binaryauthorization.v1.json @@ -0,0 +1,1930 @@ +{ +"auth": { +"oauth2": { +"scopes": { +"https://www.googleapis.com/auth/cloud-platform": { +"description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." +} +} +} +}, +"basePath": "", +"baseUrl": "https://binaryauthorization.googleapis.com/", +"batchPath": "batch", +"canonicalName": "Binary Authorization", +"description": "The management interface for Binary Authorization, a service that provides policy-based deployment validation and control for images deployed to Google Kubernetes Engine (GKE), Anthos Service Mesh, Anthos Clusters, and Cloud Run. ", +"discoveryVersion": "v1", +"documentationLink": "https://cloud.google.com/binary-authorization/", +"fullyEncodeReservedExpansion": true, +"icons": { +"x16": "http://www.google.com/images/icons/product/search-16.gif", +"x32": "http://www.google.com/images/icons/product/search-32.gif" +}, +"id": "binaryauthorization:v1", +"kind": "discovery#restDescription", +"mtlsRootUrl": "https://binaryauthorization.mtls.googleapis.com/", +"name": "binaryauthorization", +"ownerDomain": "google.com", +"ownerName": "Google", +"parameters": { +"$.xgafv": { +"description": "V1 error format.", +"enum": [ +"1", +"2" +], +"enumDescriptions": [ +"v1 error format", +"v2 error format" +], +"location": "query", +"type": "string" +}, +"access_token": { +"description": "OAuth access token.", +"location": "query", +"type": "string" +}, +"alt": { +"default": "json", +"description": "Data format for response.", +"enum": [ +"json", +"media", +"proto" +], +"enumDescriptions": [ +"Responses with Content-Type of application/json", +"Media download with context-dependent Content-Type", +"Responses with Content-Type of application/x-protobuf" +], +"location": "query", +"type": "string" +}, +"callback": { +"description": "JSONP", +"location": "query", +"type": "string" +}, +"fields": { +"description": "Selector specifying which fields to include in a partial response.", +"location": "query", +"type": "string" +}, +"key": { +"description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", +"location": "query", +"type": "string" +}, +"oauth_token": { +"description": "OAuth 2.0 token for the current user.", +"location": "query", +"type": "string" +}, +"prettyPrint": { +"default": "true", +"description": "Returns response with indentations and line breaks.", +"location": "query", +"type": "boolean" +}, +"quotaUser": { +"description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.", +"location": "query", +"type": "string" +}, +"uploadType": { +"description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", +"location": "query", +"type": "string" +}, +"upload_protocol": { +"description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", +"location": "query", +"type": "string" +} +}, +"protocol": "rest", +"resources": { +"projects": { +"methods": { +"getPolicy": { +"description": "A policy specifies the attestors that must attest to a container image, before the project is allowed to deploy that image. There is at most one policy per project. All image admission requests are permitted if a project has no policy. Gets the policy for this project. Returns a default policy if the project does not have one.", +"flatPath": "v1/projects/{projectsId}/policy", +"httpMethod": "GET", +"id": "binaryauthorization.projects.getPolicy", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the policy to retrieve, in the format `projects/*/policy`.", +"location": "path", +"pattern": "^projects/[^/]+/policy$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"updatePolicy": { +"description": "Creates or updates a project's policy, and returns a copy of the new policy. A policy is always updated as a whole, to avoid race conditions with concurrent policy enforcement (or management!) requests. Returns `NOT_FOUND` if the project does not exist, `INVALID_ARGUMENT` if the request is malformed.", +"flatPath": "v1/projects/{projectsId}/policy", +"httpMethod": "PUT", +"id": "binaryauthorization.projects.updatePolicy", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Output only. The resource name, in the format `projects/*/policy`. There is at most one policy per project.", +"location": "path", +"pattern": "^projects/[^/]+/policy$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "Policy" +}, +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"attestors": { +"methods": { +"create": { +"description": "Creates an attestor, and returns a copy of the new attestor. Returns `NOT_FOUND` if the project does not exist, `INVALID_ARGUMENT` if the request is malformed, `ALREADY_EXISTS` if the attestor already exists.", +"flatPath": "v1/projects/{projectsId}/attestors", +"httpMethod": "POST", +"id": "binaryauthorization.projects.attestors.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"attestorId": { +"description": "Required. The attestors ID.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent of this attestor.", +"location": "path", +"pattern": "^projects/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/attestors", +"request": { +"$ref": "Attestor" +}, +"response": { +"$ref": "Attestor" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes an attestor. Returns `NOT_FOUND` if the attestor does not exist.", +"flatPath": "v1/projects/{projectsId}/attestors/{attestorsId}", +"httpMethod": "DELETE", +"id": "binaryauthorization.projects.attestors.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the attestors to delete, in the format `projects/*/attestors/*`.", +"location": "path", +"pattern": "^projects/[^/]+/attestors/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets an attestor. Returns `NOT_FOUND` if the attestor does not exist.", +"flatPath": "v1/projects/{projectsId}/attestors/{attestorsId}", +"httpMethod": "GET", +"id": "binaryauthorization.projects.attestors.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the attestor to retrieve, in the format `projects/*/attestors/*`.", +"location": "path", +"pattern": "^projects/[^/]+/attestors/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Attestor" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"getIamPolicy": { +"description": "Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.", +"flatPath": "v1/projects/{projectsId}/attestors/{attestorsId}:getIamPolicy", +"httpMethod": "GET", +"id": "binaryauthorization.projects.attestors.getIamPolicy", +"parameterOrder": [ +"resource" +], +"parameters": { +"options.requestedPolicyVersion": { +"description": "Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).", +"format": "int32", +"location": "query", +"type": "integer" +}, +"resource": { +"description": "REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", +"location": "path", +"pattern": "^projects/[^/]+/attestors/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+resource}:getIamPolicy", +"response": { +"$ref": "IamPolicy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists attestors. Returns `INVALID_ARGUMENT` if the project does not exist.", +"flatPath": "v1/projects/{projectsId}/attestors", +"httpMethod": "GET", +"id": "binaryauthorization.projects.attestors.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "Requested page size. The server may return fewer results than requested. If unspecified, the server will pick an appropriate default.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A token identifying a page of results the server should return. Typically, this is the value of ListAttestorsResponse.next_page_token returned from the previous call to the `ListAttestors` method.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The resource name of the project associated with the attestors, in the format `projects/*`.", +"location": "path", +"pattern": "^projects/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/attestors", +"response": { +"$ref": "ListAttestorsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"setIamPolicy": { +"description": "Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.", +"flatPath": "v1/projects/{projectsId}/attestors/{attestorsId}:setIamPolicy", +"httpMethod": "POST", +"id": "binaryauthorization.projects.attestors.setIamPolicy", +"parameterOrder": [ +"resource" +], +"parameters": { +"resource": { +"description": "REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", +"location": "path", +"pattern": "^projects/[^/]+/attestors/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+resource}:setIamPolicy", +"request": { +"$ref": "SetIamPolicyRequest" +}, +"response": { +"$ref": "IamPolicy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"testIamPermissions": { +"description": "Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may \"fail open\" without warning.", +"flatPath": "v1/projects/{projectsId}/attestors/{attestorsId}:testIamPermissions", +"httpMethod": "POST", +"id": "binaryauthorization.projects.attestors.testIamPermissions", +"parameterOrder": [ +"resource" +], +"parameters": { +"resource": { +"description": "REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", +"location": "path", +"pattern": "^projects/[^/]+/attestors/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+resource}:testIamPermissions", +"request": { +"$ref": "TestIamPermissionsRequest" +}, +"response": { +"$ref": "TestIamPermissionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"update": { +"description": "Updates an attestor. Returns `NOT_FOUND` if the attestor does not exist.", +"flatPath": "v1/projects/{projectsId}/attestors/{attestorsId}", +"httpMethod": "PUT", +"id": "binaryauthorization.projects.attestors.update", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name, in the format: `projects/*/attestors/*`. This field may not be updated.", +"location": "path", +"pattern": "^projects/[^/]+/attestors/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "Attestor" +}, +"response": { +"$ref": "Attestor" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"validateAttestationOccurrence": { +"description": "Returns whether the given `Attestation` for the given image URI was signed by the given `Attestor`", +"flatPath": "v1/projects/{projectsId}/attestors/{attestorsId}:validateAttestationOccurrence", +"httpMethod": "POST", +"id": "binaryauthorization.projects.attestors.validateAttestationOccurrence", +"parameterOrder": [ +"attestor" +], +"parameters": { +"attestor": { +"description": "Required. The resource name of the Attestor of the occurrence, in the format `projects/*/attestors/*`.", +"location": "path", +"pattern": "^projects/[^/]+/attestors/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+attestor}:validateAttestationOccurrence", +"request": { +"$ref": "ValidateAttestationOccurrenceRequest" +}, +"response": { +"$ref": "ValidateAttestationOccurrenceResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"platforms": { +"resources": { +"gke": { +"resources": { +"policies": { +"methods": { +"evaluate": { +"description": "Evaluates a Kubernetes object versus a GKE platform policy. Returns `NOT_FOUND` if the policy doesn't exist, `INVALID_ARGUMENT` if the policy or request is malformed and `PERMISSION_DENIED` if the client does not have sufficient permissions.", +"flatPath": "v1/projects/{projectsId}/platforms/gke/policies/{policiesId}:evaluate", +"httpMethod": "POST", +"id": "binaryauthorization.projects.platforms.gke.policies.evaluate", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the platform policy to evaluate in the format `projects/*/platforms/*/policies/*`.", +"location": "path", +"pattern": "^projects/[^/]+/platforms/gke/policies/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:evaluate", +"request": { +"$ref": "EvaluateGkePolicyRequest" +}, +"response": { +"$ref": "EvaluateGkePolicyResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +}, +"policies": { +"methods": { +"create": { +"description": "Creates a platform policy, and returns a copy of it. Returns `NOT_FOUND` if the project or platform doesn't exist, `INVALID_ARGUMENT` if the request is malformed, `ALREADY_EXISTS` if the policy already exists, and `INVALID_ARGUMENT` if the policy contains a platform-specific policy that does not match the platform value specified in the URL.", +"flatPath": "v1/projects/{projectsId}/platforms/{platformsId}/policies", +"httpMethod": "POST", +"id": "binaryauthorization.projects.platforms.policies.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The parent of this platform policy.", +"location": "path", +"pattern": "^projects/[^/]+/platforms/[^/]+$", +"required": true, +"type": "string" +}, +"policyId": { +"description": "Required. The platform policy ID.", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+parent}/policies", +"request": { +"$ref": "PlatformPolicy" +}, +"response": { +"$ref": "PlatformPolicy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a platform policy. Returns `NOT_FOUND` if the policy doesn't exist.", +"flatPath": "v1/projects/{projectsId}/platforms/{platformsId}/policies/{policiesId}", +"httpMethod": "DELETE", +"id": "binaryauthorization.projects.platforms.policies.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"etag": { +"description": "Optional. Used to prevent deleting the policy when another request has updated it since it was retrieved.", +"location": "query", +"type": "string" +}, +"name": { +"description": "Required. The name of the platform policy to delete, in the format `projects/*/platforms/*/policies/*`.", +"location": "path", +"pattern": "^projects/[^/]+/platforms/[^/]+/policies/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets a platform policy. Returns `NOT_FOUND` if the policy doesn't exist.", +"flatPath": "v1/projects/{projectsId}/platforms/{platformsId}/policies/{policiesId}", +"httpMethod": "GET", +"id": "binaryauthorization.projects.platforms.policies.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the platform policy to retrieve in the format `projects/*/platforms/*/policies/*`.", +"location": "path", +"pattern": "^projects/[^/]+/platforms/[^/]+/policies/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "PlatformPolicy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists platform policies owned by a project in the specified platform. Returns `INVALID_ARGUMENT` if the project or the platform doesn't exist.", +"flatPath": "v1/projects/{projectsId}/platforms/{platformsId}/policies", +"httpMethod": "GET", +"id": "binaryauthorization.projects.platforms.policies.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "Requested page size. The server may return fewer results than requested. If unspecified, the server picks an appropriate default.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A token identifying a page of results the server should return. Typically, this is the value of ListPlatformPoliciesResponse.next_page_token returned from the previous call to the `ListPlatformPolicies` method.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The resource name of the platform associated with the platform policies using the format `projects/*/platforms/*`.", +"location": "path", +"pattern": "^projects/[^/]+/platforms/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/policies", +"response": { +"$ref": "ListPlatformPoliciesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"replacePlatformPolicy": { +"description": "Replaces a platform policy. Returns `NOT_FOUND` if the policy doesn't exist.", +"flatPath": "v1/projects/{projectsId}/platforms/{platformsId}/policies/{policiesId}", +"httpMethod": "PUT", +"id": "binaryauthorization.projects.platforms.policies.replacePlatformPolicy", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Output only. The relative resource name of the Binary Authorization platform policy, in the form of `projects/*/platforms/*/policies/*`.", +"location": "path", +"pattern": "^projects/[^/]+/platforms/[^/]+/policies/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "PlatformPolicy" +}, +"response": { +"$ref": "PlatformPolicy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +}, +"policy": { +"methods": { +"getIamPolicy": { +"description": "Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.", +"flatPath": "v1/projects/{projectsId}/policy:getIamPolicy", +"httpMethod": "GET", +"id": "binaryauthorization.projects.policy.getIamPolicy", +"parameterOrder": [ +"resource" +], +"parameters": { +"options.requestedPolicyVersion": { +"description": "Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).", +"format": "int32", +"location": "query", +"type": "integer" +}, +"resource": { +"description": "REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", +"location": "path", +"pattern": "^projects/[^/]+/policy$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+resource}:getIamPolicy", +"response": { +"$ref": "IamPolicy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"setIamPolicy": { +"description": "Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.", +"flatPath": "v1/projects/{projectsId}/policy:setIamPolicy", +"httpMethod": "POST", +"id": "binaryauthorization.projects.policy.setIamPolicy", +"parameterOrder": [ +"resource" +], +"parameters": { +"resource": { +"description": "REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", +"location": "path", +"pattern": "^projects/[^/]+/policy$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+resource}:setIamPolicy", +"request": { +"$ref": "SetIamPolicyRequest" +}, +"response": { +"$ref": "IamPolicy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"testIamPermissions": { +"description": "Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may \"fail open\" without warning.", +"flatPath": "v1/projects/{projectsId}/policy:testIamPermissions", +"httpMethod": "POST", +"id": "binaryauthorization.projects.policy.testIamPermissions", +"parameterOrder": [ +"resource" +], +"parameters": { +"resource": { +"description": "REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", +"location": "path", +"pattern": "^projects/[^/]+/policy$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+resource}:testIamPermissions", +"request": { +"$ref": "TestIamPermissionsRequest" +}, +"response": { +"$ref": "TestIamPermissionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +}, +"systempolicy": { +"methods": { +"getPolicy": { +"description": "Gets the current system policy in the specified location.", +"flatPath": "v1/locations/{locationsId}/policy", +"httpMethod": "GET", +"id": "binaryauthorization.systempolicy.getPolicy", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name, in the format `locations/*/policy`. Note that the system policy is not associated with a project.", +"location": "path", +"pattern": "^locations/[^/]+/policy$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +}, +"revision": "20250311", +"rootUrl": "https://binaryauthorization.googleapis.com/", +"schemas": { +"AdmissionRule": { +"description": "An admission rule specifies either that all container images used in a pod creation request must be attested to by one or more attestors, that all pod creations will be allowed, or that all pod creations will be denied. Images matching an admission allowlist pattern are exempted from admission rules and will never block a pod creation.", +"id": "AdmissionRule", +"properties": { +"enforcementMode": { +"description": "Required. The action when a pod creation is denied by the admission rule.", +"enum": [ +"ENFORCEMENT_MODE_UNSPECIFIED", +"ENFORCED_BLOCK_AND_AUDIT_LOG", +"DRYRUN_AUDIT_LOG_ONLY" +], +"enumDescriptions": [ +"Do not use.", +"Enforce the admission rule by blocking the pod creation.", +"Dryrun mode: Audit logging only. This will allow the pod creation as if the admission request had specified break-glass." +], +"type": "string" +}, +"evaluationMode": { +"description": "Required. How this admission rule will be evaluated.", +"enum": [ +"EVALUATION_MODE_UNSPECIFIED", +"ALWAYS_ALLOW", +"REQUIRE_ATTESTATION", +"ALWAYS_DENY" +], +"enumDescriptions": [ +"Do not use.", +"This rule allows all pod creations.", +"This rule allows a pod creation if all the attestors listed in `require_attestations_by` have valid attestations for all of the images in the pod spec.", +"This rule denies all pod creations." +], +"type": "string" +}, +"requireAttestationsBy": { +"description": "Optional. The resource names of the attestors that must attest to a container image, in the format `projects/*/attestors/*`. Each attestor must exist before a policy can reference it. To add an attestor to a policy the principal issuing the policy change request must be able to read the attestor resource. Note: this field must be non-empty when the `evaluation_mode` field specifies `REQUIRE_ATTESTATION`, otherwise it must be empty.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"AdmissionWhitelistPattern": { +"description": "An admission allowlist pattern exempts images from checks by admission rules.", +"id": "AdmissionWhitelistPattern", +"properties": { +"namePattern": { +"description": "An image name pattern to allowlist, in the form `registry/path/to/image`. This supports a trailing `*` wildcard, but this is allowed only in text after the `registry/` part. This also supports a trailing `**` wildcard which matches subdirectories of a given entry.", +"type": "string" +} +}, +"type": "object" +}, +"AllowlistResult": { +"description": "Result of evaluating an image name allowlist.", +"id": "AllowlistResult", +"properties": { +"matchedPattern": { +"description": "The allowlist pattern that the image matched.", +"type": "string" +} +}, +"type": "object" +}, +"AttestationAuthenticator": { +"description": "An attestation authenticator that will be used to verify attestations. Typically this is just a set of public keys. Conceptually, an authenticator can be treated as always returning either \"authenticated\" or \"not authenticated\" when presented with a signed attestation (almost always assumed to be a [DSSE](https://github.com/secure-systems-lab/dsse) attestation). The details of how an authenticator makes this decision are specific to the type of 'authenticator' that this message wraps.", +"id": "AttestationAuthenticator", +"properties": { +"displayName": { +"description": "Optional. A user-provided name for this `AttestationAuthenticator`. This field has no effect on the policy evaluation behavior except to improve readability of messages in evaluation results.", +"type": "string" +}, +"pkixPublicKeySet": { +"$ref": "PkixPublicKeySet", +"description": "Optional. A set of raw PKIX SubjectPublicKeyInfo format public keys. If any public key in the set validates the attestation signature, then the signature is considered authenticated (i.e. any one key is sufficient to authenticate)." +} +}, +"type": "object" +}, +"AttestationOccurrence": { +"description": "Occurrence that represents a single \"attestation\". The authenticity of an attestation can be verified using the attached signature. If the verifier trusts the public key of the signer, then verifying the signature is sufficient to establish trust. In this circumstance, the authority to which this attestation is attached is primarily useful for lookup (how to find this attestation if you already know the authority and artifact to be verified) and intent (for which authority this attestation was intended to sign.", +"id": "AttestationOccurrence", +"properties": { +"jwts": { +"description": "One or more JWTs encoding a self-contained attestation. Each JWT encodes the payload that it verifies within the JWT itself. Verifier implementation SHOULD ignore the `serialized_payload` field when verifying these JWTs. If only JWTs are present on this AttestationOccurrence, then the `serialized_payload` SHOULD be left empty. Each JWT SHOULD encode a claim specific to the `resource_uri` of this Occurrence, but this is not validated by Grafeas metadata API implementations. The JWT itself is opaque to Grafeas.", +"items": { +"$ref": "Jwt" +}, +"type": "array" +}, +"serializedPayload": { +"description": "Required. The serialized payload that is verified by one or more `signatures`.", +"format": "byte", +"type": "string" +}, +"signatures": { +"description": "One or more signatures over `serialized_payload`. Verifier implementations should consider this attestation message verified if at least one `signature` verifies `serialized_payload`. See `Signature` in common.proto for more details on signature structure and verification.", +"items": { +"$ref": "Signature" +}, +"type": "array" +} +}, +"type": "object" +}, +"AttestationSource": { +"description": "Specifies the locations for fetching the provenance attestations.", +"id": "AttestationSource", +"properties": { +"containerAnalysisAttestationProjects": { +"description": "The IDs of the Google Cloud projects that store the SLSA attestations as Container Analysis Occurrences, in the format `projects/[PROJECT_ID]`. Maximum number of `container_analysis_attestation_projects` allowed in each `AttestationSource` is 10.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"Attestor": { +"description": "An attestor that attests to container image artifacts. An existing attestor cannot be modified except where indicated.", +"id": "Attestor", +"properties": { +"description": { +"description": "Optional. A descriptive comment. This field may be updated. The field may be displayed in chooser dialogs.", +"type": "string" +}, +"etag": { +"description": "Optional. A checksum, returned by the server, that can be sent on update requests to ensure the attestor has an up-to-date value before attempting to update it. See https://google.aip.dev/154.", +"type": "string" +}, +"name": { +"description": "Required. The resource name, in the format: `projects/*/attestors/*`. This field may not be updated.", +"type": "string" +}, +"updateTime": { +"description": "Output only. Time when the attestor was last updated.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"userOwnedGrafeasNote": { +"$ref": "UserOwnedGrafeasNote", +"description": "This specifies how an attestation will be read, and how it will be used during policy enforcement." +} +}, +"type": "object" +}, +"AttestorPublicKey": { +"description": "An attestor public key that will be used to verify attestations signed by this attestor.", +"id": "AttestorPublicKey", +"properties": { +"asciiArmoredPgpPublicKey": { +"description": "ASCII-armored representation of a PGP public key, as the entire output by the command `gpg --export --armor foo@example.com` (either LF or CRLF line endings). When using this field, `id` should be left blank. The Binary Authorization API handlers will calculate the ID and fill it in automatically. Binary Authorization computes this ID as the OpenPGP RFC4880 V4 fingerprint, represented as upper-case hex. If `id` is provided by the caller, it will be overwritten by the API-calculated ID.", +"type": "string" +}, +"comment": { +"description": "Optional. A descriptive comment. This field may be updated.", +"type": "string" +}, +"id": { +"description": "The ID of this public key. Signatures verified by Binary Authorization must include the ID of the public key that can be used to verify them, and that ID must match the contents of this field exactly. Additional restrictions on this field can be imposed based on which public key type is encapsulated. See the documentation on `public_key` cases below for details.", +"type": "string" +}, +"pkixPublicKey": { +"$ref": "PkixPublicKey", +"description": "A raw PKIX SubjectPublicKeyInfo format public key. NOTE: `id` may be explicitly provided by the caller when using this type of public key, but it MUST be a valid RFC3986 URI. If `id` is left blank, a default one will be computed based on the digest of the DER encoding of the public key." +} +}, +"type": "object" +}, +"Binding": { +"description": "Associates `members`, or principals, with a `role`.", +"id": "Binding", +"properties": { +"condition": { +"$ref": "Expr", +"description": "The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies)." +}, +"members": { +"description": "Specifies the principals requesting access for a Google Cloud resource. `members` can have the following values: * `allUsers`: A special identifier that represents anyone who is on the internet; with or without a Google account. * `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service account. Does not include identities that come from external identity providers (IdPs) through identity federation. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `group:{emailid}`: An email address that represents a Google group. For example, `admins@example.com`. * `domain:{domain}`: The G Suite domain (primary) that represents all the users of that domain. For example, `google.com` or `example.com`. * `principal://iam.googleapis.com/locations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}`: A single identity in a workforce identity pool. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/group/{group_id}`: All workforce identities in a group. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/attribute.{attribute_name}/{attribute_value}`: All workforce identities with a specific attribute value. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/*`: All identities in a workforce identity pool. * `principal://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/subject/{subject_attribute_value}`: A single identity in a workload identity pool. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/group/{group_id}`: A workload identity pool group. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/attribute.{attribute_name}/{attribute_value}`: All identities in a workload identity pool with a certain attribute. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/*`: All identities in a workload identity pool. * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a user that has been recently deleted. For example, `alice@example.com?uid=123456789012345678901`. If the user is recovered, this value reverts to `user:{emailid}` and the recovered user retains the role in the binding. * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a service account that has been recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the service account is undeleted, this value reverts to `serviceAccount:{emailid}` and the undeleted service account retains the role in the binding. * `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a Google group that has been recently deleted. For example, `admins@example.com?uid=123456789012345678901`. If the group is recovered, this value reverts to `group:{emailid}` and the recovered group retains the role in the binding. * `deleted:principal://iam.googleapis.com/locations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}`: Deleted single identity in a workforce identity pool. For example, `deleted:principal://iam.googleapis.com/locations/global/workforcePools/my-pool-id/subject/my-subject-attribute-value`.", +"items": { +"type": "string" +}, +"type": "array" +}, +"role": { +"description": "Role that is assigned to the list of `members`, or principals. For example, `roles/viewer`, `roles/editor`, or `roles/owner`. For an overview of the IAM roles and permissions, see the [IAM documentation](https://cloud.google.com/iam/docs/roles-overview). For a list of the available pre-defined roles, see [here](https://cloud.google.com/iam/docs/understanding-roles).", +"type": "string" +} +}, +"type": "object" +}, +"Check": { +"description": "A single check to perform against a Pod. Checks are grouped into `CheckSet` objects, which are defined by the top-level policy.", +"id": "Check", +"properties": { +"alwaysDeny": { +"description": "Optional. A special-case check that always denies. Note that this still only applies when the scope of the `CheckSet` applies and the image isn't exempted by an image allowlist. This check is primarily useful for testing, or to set the default behavior for all unmatched scopes to \"deny\".", +"type": "boolean" +}, +"displayName": { +"description": "Optional. A user-provided name for this check. This field has no effect on the policy evaluation behavior except to improve readability of messages in evaluation results.", +"type": "string" +}, +"imageAllowlist": { +"$ref": "ImageAllowlist", +"description": "Optional. Images exempted from this check. If any of the patterns match the image url, the check will not be evaluated." +}, +"imageFreshnessCheck": { +"$ref": "ImageFreshnessCheck", +"description": "Optional. Require that an image is no older than a configured expiration time. Image age is determined by its upload time." +}, +"sigstoreSignatureCheck": { +"$ref": "SigstoreSignatureCheck", +"description": "Optional. Require that an image was signed by Cosign with a trusted key. This check requires that both the image and signature are stored in Artifact Registry." +}, +"simpleSigningAttestationCheck": { +"$ref": "SimpleSigningAttestationCheck", +"description": "Optional. Require a SimpleSigning-type attestation for every image in the deployment." +}, +"slsaCheck": { +"$ref": "SlsaCheck", +"description": "Optional. Require that an image was built by a trusted builder (such as Google Cloud Build), meets requirements for Supply chain Levels for Software Artifacts (SLSA), and was built from a trusted source code repostitory." +}, +"trustedDirectoryCheck": { +"$ref": "TrustedDirectoryCheck", +"description": "Optional. Require that an image lives in a trusted directory." +}, +"vulnerabilityCheck": { +"$ref": "VulnerabilityCheck", +"description": "Optional. Require that an image does not contain vulnerabilities that violate the configured rules, such as based on severity levels." +} +}, +"type": "object" +}, +"CheckResult": { +"description": "Result of evaluating one check.", +"id": "CheckResult", +"properties": { +"allowlistResult": { +"$ref": "AllowlistResult", +"description": "If the image was exempted by an allow_pattern in the check, contains the pattern that the image name matched." +}, +"displayName": { +"description": "The name of the check.", +"type": "string" +}, +"evaluationResult": { +"$ref": "EvaluationResult", +"description": "If a check was evaluated, contains the result of the check." +}, +"explanation": { +"description": "Explanation of this check result.", +"type": "string" +}, +"index": { +"description": "The index of the check.", +"format": "int64", +"type": "string" +}, +"type": { +"description": "The type of the check.", +"type": "string" +} +}, +"type": "object" +}, +"CheckResults": { +"description": "Result of evaluating one or more checks.", +"id": "CheckResults", +"properties": { +"results": { +"description": "Per-check details.", +"items": { +"$ref": "CheckResult" +}, +"type": "array" +} +}, +"type": "object" +}, +"CheckSet": { +"description": "A conjunction of policy checks, scoped to a particular namespace or Kubernetes service account. In order for evaluation of a `CheckSet` to return \"allowed\" for a given image in a given Pod, one of the following conditions must be satisfied: * The image is explicitly exempted by an entry in `image_allowlist`, OR * ALL of the `checks` evaluate to \"allowed\".", +"id": "CheckSet", +"properties": { +"checks": { +"description": "Optional. The checks to apply. The ultimate result of evaluating the check set will be \"allow\" if and only if every check in `checks` evaluates to \"allow\". If `checks` is empty, the default behavior is \"always allow\".", +"items": { +"$ref": "Check" +}, +"type": "array" +}, +"displayName": { +"description": "Optional. A user-provided name for this `CheckSet`. This field has no effect on the policy evaluation behavior except to improve readability of messages in evaluation results.", +"type": "string" +}, +"imageAllowlist": { +"$ref": "ImageAllowlist", +"description": "Optional. Images exempted from this `CheckSet`. If any of the patterns match the image being evaluated, no checks in the `CheckSet` will be evaluated." +}, +"scope": { +"$ref": "Scope", +"description": "Optional. The scope to which this `CheckSet` applies. If unset or an empty string (the default), applies to all namespaces and service accounts. See the `Scope` message documentation for details on scoping rules." +} +}, +"type": "object" +}, +"CheckSetResult": { +"description": "Result of evaluating one check set.", +"id": "CheckSetResult", +"properties": { +"allowlistResult": { +"$ref": "AllowlistResult", +"description": "If the image was exempted by an allow_pattern in the check set, contains the pattern that the image name matched." +}, +"checkResults": { +"$ref": "CheckResults", +"description": "If checks were evaluated, contains the results of evaluating each check." +}, +"displayName": { +"description": "The name of the check set.", +"type": "string" +}, +"explanation": { +"description": "Explanation of this check set result. Only populated if no checks were evaluated.", +"type": "string" +}, +"index": { +"description": "The index of the check set.", +"format": "int64", +"type": "string" +}, +"scope": { +"$ref": "Scope", +"description": "The scope of the check set." +} +}, +"type": "object" +}, +"Empty": { +"description": "A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }", +"id": "Empty", +"properties": {}, +"type": "object" +}, +"EvaluateGkePolicyRequest": { +"description": "Request message for PlatformPolicyEvaluationService.EvaluateGkePolicy.", +"id": "EvaluateGkePolicyRequest", +"properties": { +"resource": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"description": "Required. JSON or YAML blob representing a Kubernetes resource.", +"type": "object" +} +}, +"type": "object" +}, +"EvaluateGkePolicyResponse": { +"description": "Response message for PlatformPolicyEvaluationService.EvaluateGkePolicy.", +"id": "EvaluateGkePolicyResponse", +"properties": { +"results": { +"description": "Evaluation result for each Pod contained in the request.", +"items": { +"$ref": "PodResult" +}, +"type": "array" +}, +"verdict": { +"description": "The result of evaluating all Pods in the request.", +"enum": [ +"VERDICT_UNSPECIFIED", +"CONFORMANT", +"NON_CONFORMANT", +"ERROR" +], +"enumDescriptions": [ +"Not specified. This should never be used.", +"All Pods in the request conform to the policy.", +"At least one Pod does not conform to the policy.", +"Encountered at least one error evaluating a Pod and all other Pods conform to the policy. Non-conformance has precedence over errors." +], +"type": "string" +} +}, +"type": "object" +}, +"EvaluationResult": { +"description": "Result of evaluating one check.", +"id": "EvaluationResult", +"properties": { +"verdict": { +"description": "The result of evaluating this check.", +"enum": [ +"CHECK_VERDICT_UNSPECIFIED", +"CONFORMANT", +"NON_CONFORMANT", +"ERROR" +], +"enumDescriptions": [ +"Not specified. This should never be used.", +"The check was successfully evaluated and the image satisfied the check.", +"The check was successfully evaluated and the image did not satisfy the check.", +"The check was not successfully evaluated." +], +"type": "string" +} +}, +"type": "object" +}, +"Expr": { +"description": "Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: \"Summary size limit\" description: \"Determines if a summary is less than 100 chars\" expression: \"document.summary.size() < 100\" Example (Equality): title: \"Requestor is owner\" description: \"Determines if requestor is the document owner\" expression: \"document.owner == request.auth.claims.email\" Example (Logic): title: \"Public documents\" description: \"Determine whether the document should be publicly visible\" expression: \"document.type != 'private' && document.type != 'internal'\" Example (Data Manipulation): title: \"Notification string\" description: \"Create a notification string with a timestamp.\" expression: \"'New message received at ' + string(document.create_time)\" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information.", +"id": "Expr", +"properties": { +"description": { +"description": "Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI.", +"type": "string" +}, +"expression": { +"description": "Textual representation of an expression in Common Expression Language syntax.", +"type": "string" +}, +"location": { +"description": "Optional. String indicating the location of the expression for error reporting, e.g. a file name and a position in the file.", +"type": "string" +}, +"title": { +"description": "Optional. Title for the expression, i.e. a short string describing its purpose. This can be used e.g. in UIs which allow to enter the expression.", +"type": "string" +} +}, +"type": "object" +}, +"GkePolicy": { +"description": "A Binary Authorization policy for a GKE cluster. This is one type of policy that can occur as a `PlatformPolicy`.", +"id": "GkePolicy", +"properties": { +"checkSets": { +"description": "Optional. The `CheckSet` objects to apply, scoped by namespace or namespace and service account. Exactly one `CheckSet` will be evaluated for a given Pod (unless the list is empty, in which case the behavior is \"always allow\"). If multiple `CheckSet` objects have scopes that match the namespace and service account of the Pod being evaluated, only the `CheckSet` with the MOST SPECIFIC scope will match. `CheckSet` objects must be listed in order of decreasing specificity, i.e. if a scope matches a given service account (which must include the namespace), it must come before a `CheckSet` with a scope matching just that namespace. This property is enforced by server-side validation. The purpose of this restriction is to ensure that if more than one `CheckSet` matches a given Pod, the `CheckSet` that will be evaluated will always be the first in the list to match (because if any other matches, it must be less specific). If `check_sets` is empty, the default behavior is to allow all images. If `check_sets` is non-empty, the last `check_sets` entry must always be a `CheckSet` with no scope set, i.e. a catchall to handle any situation not caught by the preceding `CheckSet` objects.", +"items": { +"$ref": "CheckSet" +}, +"type": "array" +}, +"imageAllowlist": { +"$ref": "ImageAllowlist", +"description": "Optional. Images exempted from this policy. If any of the patterns match the image being evaluated, the rest of the policy will not be evaluated." +} +}, +"type": "object" +}, +"IamPolicy": { +"description": "An Identity and Access Management (IAM) policy, which specifies access controls for Google Cloud resources. A `Policy` is a collection of `bindings`. A `binding` binds one or more `members`, or principals, to a single `role`. Principals can be user accounts, service accounts, Google groups, and domains (such as G Suite). A `role` is a named list of permissions; each `role` can be an IAM predefined role or a user-created custom role. For some types of Google Cloud resources, a `binding` can also specify a `condition`, which is a logical expression that allows access to a resource only if the expression evaluates to `true`. A condition can add constraints based on attributes of the request, the resource, or both. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). **JSON example:** ``` { \"bindings\": [ { \"role\": \"roles/resourcemanager.organizationAdmin\", \"members\": [ \"user:mike@example.com\", \"group:admins@example.com\", \"domain:google.com\", \"serviceAccount:my-project-id@appspot.gserviceaccount.com\" ] }, { \"role\": \"roles/resourcemanager.organizationViewer\", \"members\": [ \"user:eve@example.com\" ], \"condition\": { \"title\": \"expirable access\", \"description\": \"Does not grant access after Sep 2020\", \"expression\": \"request.time < timestamp('2020-10-01T00:00:00.000Z')\", } } ], \"etag\": \"BwWWja0YfJA=\", \"version\": 3 } ``` **YAML example:** ``` bindings: - members: - user:mike@example.com - group:admins@example.com - domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.com role: roles/resourcemanager.organizationViewer condition: title: expirable access description: Does not grant access after Sep 2020 expression: request.time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 ``` For a description of IAM and its features, see the [IAM documentation](https://cloud.google.com/iam/docs/).", +"id": "IamPolicy", +"properties": { +"bindings": { +"description": "Associates a list of `members`, or principals, with a `role`. Optionally, may specify a `condition` that determines how and when the `bindings` are applied. Each of the `bindings` must contain at least one principal. The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250 of these principals can be Google groups. Each occurrence of a principal counts towards these limits. For example, if the `bindings` grant 50 different roles to `user:alice@example.com`, and not to any other principal, then you can add another 1,450 principals to the `bindings` in the `Policy`.", +"items": { +"$ref": "Binding" +}, +"type": "array" +}, +"etag": { +"description": "`etag` is used for optimistic concurrency control as a way to help prevent simultaneous updates of a policy from overwriting each other. It is strongly suggested that systems make use of the `etag` in the read-modify-write cycle to perform policy updates in order to avoid race conditions: An `etag` is returned in the response to `getIamPolicy`, and systems are expected to put that etag in the request to `setIamPolicy` to ensure that their change will be applied to the same version of the policy. **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost.", +"format": "byte", +"type": "string" +}, +"version": { +"description": "Specifies the format of the policy. Valid values are `0`, `1`, and `3`. Requests that specify an invalid value are rejected. Any operation that affects conditional role bindings must specify version `3`. This requirement applies to the following operations: * Getting a policy that includes a conditional role binding * Adding a conditional role binding to a policy * Changing a conditional role binding in a policy * Removing any role binding, with or without a condition, from a policy that includes conditions **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost. If a policy does not include any conditions, operations on that policy may specify any valid version or leave the field unset. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"ImageAllowlist": { +"description": "Images that are exempted from normal checks based on name pattern only.", +"id": "ImageAllowlist", +"properties": { +"allowPattern": { +"description": "Required. A disjunction of image patterns to allow. If any of these patterns match, then the image is considered exempted by this allowlist.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ImageFreshnessCheck": { +"description": "An image freshness check, which rejects images that were uploaded before the set number of days ago to the supported repositories.", +"id": "ImageFreshnessCheck", +"properties": { +"maxUploadAgeDays": { +"description": "Required. The max number of days that is allowed since the image was uploaded. Must be greater than zero.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"ImageResult": { +"description": "Result of evaluating one image.", +"id": "ImageResult", +"properties": { +"allowlistResult": { +"$ref": "AllowlistResult", +"description": "If the image was exempted by a top-level allow_pattern, contains the allowlist pattern that the image name matched." +}, +"checkSetResult": { +"$ref": "CheckSetResult", +"description": "If a check set was evaluated, contains the result of the check set. Empty if there were no check sets." +}, +"explanation": { +"description": "Explanation of this image result. Only populated if no check sets were evaluated.", +"type": "string" +}, +"imageUri": { +"description": "Image URI from the request.", +"type": "string" +}, +"verdict": { +"description": "The result of evaluating this image.", +"enum": [ +"IMAGE_VERDICT_UNSPECIFIED", +"CONFORMANT", +"NON_CONFORMANT", +"ERROR" +], +"enumDescriptions": [ +"Not specified. This should never be used.", +"Image conforms to the policy.", +"Image does not conform to the policy.", +"Error evaluating the image. Non-conformance has precedence over errors." +], +"type": "string" +} +}, +"type": "object" +}, +"Jwt": { +"id": "Jwt", +"properties": { +"compactJwt": { +"description": "The compact encoding of a JWS, which is always three base64 encoded strings joined by periods. For details, see: https://tools.ietf.org/html/rfc7515.html#section-3.1", +"type": "string" +} +}, +"type": "object" +}, +"ListAttestorsResponse": { +"description": "Response message for BinauthzManagementServiceV1.ListAttestors.", +"id": "ListAttestorsResponse", +"properties": { +"attestors": { +"description": "The list of attestors.", +"items": { +"$ref": "Attestor" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A token to retrieve the next page of results. Pass this value in the ListAttestorsRequest.page_token field in the subsequent call to the `ListAttestors` method to retrieve the next page of results.", +"type": "string" +} +}, +"type": "object" +}, +"ListPlatformPoliciesResponse": { +"description": "Response message for PlatformPolicyManagementService.ListPlatformPolicies.", +"id": "ListPlatformPoliciesResponse", +"properties": { +"nextPageToken": { +"description": "A token to retrieve the next page of results. Pass this value in the ListPlatformPoliciesRequest.page_token field in the subsequent call to the `ListPlatformPolicies` method to retrieve the next page of results.", +"type": "string" +}, +"platformPolicies": { +"description": "The list of platform policies.", +"items": { +"$ref": "PlatformPolicy" +}, +"type": "array" +} +}, +"type": "object" +}, +"PkixPublicKey": { +"description": "A public key in the PkixPublicKey [format](https://tools.ietf.org/html/rfc5280#section-4.1.2.7). Public keys of this type are typically textually encoded using the PEM format.", +"id": "PkixPublicKey", +"properties": { +"keyId": { +"description": "Optional. The ID of this public key. Signatures verified by Binary Authorization must include the ID of the public key that can be used to verify them. The ID must match exactly contents of the `key_id` field exactly. The ID may be explicitly provided by the caller, but it MUST be a valid RFC3986 URI. If `key_id` is left blank and this `PkixPublicKey` is not used in the context of a wrapper (see next paragraph), a default key ID will be computed based on the digest of the DER encoding of the public key. If this `PkixPublicKey` is used in the context of a wrapper that has its own notion of key ID (e.g. `AttestorPublicKey`), then this field can either match that value exactly, or be left blank, in which case it behaves exactly as though it is equal to that wrapper value.", +"type": "string" +}, +"publicKeyPem": { +"description": "A PEM-encoded public key, as described in https://tools.ietf.org/html/rfc7468#section-13", +"type": "string" +}, +"signatureAlgorithm": { +"description": "The signature algorithm used to verify a message against a signature using this key. These signature algorithm must match the structure and any object identifiers encoded in `public_key_pem` (i.e. this algorithm must match that of the public key).", +"enum": [ +"SIGNATURE_ALGORITHM_UNSPECIFIED", +"RSA_PSS_2048_SHA256", +"RSA_SIGN_PSS_2048_SHA256", +"RSA_PSS_3072_SHA256", +"RSA_SIGN_PSS_3072_SHA256", +"RSA_PSS_4096_SHA256", +"RSA_SIGN_PSS_4096_SHA256", +"RSA_PSS_4096_SHA512", +"RSA_SIGN_PSS_4096_SHA512", +"RSA_SIGN_PKCS1_2048_SHA256", +"RSA_SIGN_PKCS1_3072_SHA256", +"RSA_SIGN_PKCS1_4096_SHA256", +"RSA_SIGN_PKCS1_4096_SHA512", +"ECDSA_P256_SHA256", +"EC_SIGN_P256_SHA256", +"ECDSA_P384_SHA384", +"EC_SIGN_P384_SHA384", +"ECDSA_P521_SHA512", +"EC_SIGN_P521_SHA512" +], +"enumDescriptions": [ +"Not specified.", +"RSASSA-PSS 2048 bit key with a SHA256 digest.", +"RSASSA-PSS 2048 bit key with a SHA256 digest.", +"RSASSA-PSS 3072 bit key with a SHA256 digest.", +"RSASSA-PSS 3072 bit key with a SHA256 digest.", +"RSASSA-PSS 4096 bit key with a SHA256 digest.", +"RSASSA-PSS 4096 bit key with a SHA256 digest.", +"RSASSA-PSS 4096 bit key with a SHA512 digest.", +"RSASSA-PSS 4096 bit key with a SHA512 digest.", +"RSASSA-PKCS1-v1_5 with a 2048 bit key and a SHA256 digest.", +"RSASSA-PKCS1-v1_5 with a 3072 bit key and a SHA256 digest.", +"RSASSA-PKCS1-v1_5 with a 4096 bit key and a SHA256 digest.", +"RSASSA-PKCS1-v1_5 with a 4096 bit key and a SHA512 digest.", +"ECDSA on the NIST P-256 curve with a SHA256 digest.", +"ECDSA on the NIST P-256 curve with a SHA256 digest.", +"ECDSA on the NIST P-384 curve with a SHA384 digest.", +"ECDSA on the NIST P-384 curve with a SHA384 digest.", +"ECDSA on the NIST P-521 curve with a SHA512 digest.", +"ECDSA on the NIST P-521 curve with a SHA512 digest." +], +"type": "string" +} +}, +"type": "object" +}, +"PkixPublicKeySet": { +"description": "A bundle of PKIX public keys, used to authenticate attestation signatures. Generally, a signature is considered to be authenticated by a `PkixPublicKeySet` if any of the public keys verify it (i.e. it is an \"OR\" of the keys).", +"id": "PkixPublicKeySet", +"properties": { +"pkixPublicKeys": { +"description": "Required. `pkix_public_keys` must have at least one entry.", +"items": { +"$ref": "PkixPublicKey" +}, +"type": "array" +} +}, +"type": "object" +}, +"PlatformPolicy": { +"description": "A Binary Authorization platform policy for deployments on various platforms.", +"id": "PlatformPolicy", +"properties": { +"description": { +"description": "Optional. A description comment about the policy.", +"type": "string" +}, +"etag": { +"description": "Optional. Used to prevent updating the policy when another request has updated it since it was retrieved.", +"type": "string" +}, +"gkePolicy": { +"$ref": "GkePolicy", +"description": "Optional. GKE platform-specific policy." +}, +"name": { +"description": "Output only. The relative resource name of the Binary Authorization platform policy, in the form of `projects/*/platforms/*/policies/*`.", +"readOnly": true, +"type": "string" +}, +"updateTime": { +"description": "Output only. Time when the policy was last updated.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"PodResult": { +"description": "Result of evaluating the whole GKE policy for one Pod.", +"id": "PodResult", +"properties": { +"imageResults": { +"description": "Per-image details.", +"items": { +"$ref": "ImageResult" +}, +"type": "array" +}, +"kubernetesNamespace": { +"description": "The Kubernetes namespace of the Pod.", +"type": "string" +}, +"kubernetesServiceAccount": { +"description": "The Kubernetes service account of the Pod.", +"type": "string" +}, +"podName": { +"description": "The name of the Pod.", +"type": "string" +}, +"verdict": { +"description": "The result of evaluating this Pod.", +"enum": [ +"POD_VERDICT_UNSPECIFIED", +"CONFORMANT", +"NON_CONFORMANT", +"ERROR" +], +"enumDescriptions": [ +"Not specified. This should never be used.", +"All images conform to the policy.", +"At least one image does not conform to the policy.", +"Encountered at least one error evaluating an image and all other images with non-error verdicts conform to the policy. Non-conformance has precedence over errors." +], +"type": "string" +} +}, +"type": "object" +}, +"Policy": { +"description": "A policy for container image binary authorization.", +"id": "Policy", +"properties": { +"admissionWhitelistPatterns": { +"description": "Optional. Admission policy allowlisting. A matching admission request will always be permitted. This feature is typically used to exclude Google or third-party infrastructure images from Binary Authorization policies.", +"items": { +"$ref": "AdmissionWhitelistPattern" +}, +"type": "array" +}, +"clusterAdmissionRules": { +"additionalProperties": { +"$ref": "AdmissionRule" +}, +"description": "Optional. A valid policy has only one of the following rule maps non-empty, i.e. only one of `cluster_admission_rules`, `kubernetes_namespace_admission_rules`, `kubernetes_service_account_admission_rules`, or `istio_service_identity_admission_rules` can be non-empty. Per-cluster admission rules. Cluster spec format: `location.clusterId`. There can be at most one admission rule per cluster spec. A `location` is either a compute zone (e.g. us-central1-a) or a region (e.g. us-central1). For `clusterId` syntax restrictions see https://cloud.google.com/container-engine/reference/rest/v1/projects.zones.clusters.", +"type": "object" +}, +"defaultAdmissionRule": { +"$ref": "AdmissionRule", +"description": "Required. Default admission rule for a cluster without a per-cluster, per- kubernetes-service-account, or per-istio-service-identity admission rule." +}, +"description": { +"description": "Optional. A descriptive comment.", +"type": "string" +}, +"etag": { +"description": "Optional. A checksum, returned by the server, that can be sent on update requests to ensure the policy has an up-to-date value before attempting to update it. See https://google.aip.dev/154.", +"type": "string" +}, +"globalPolicyEvaluationMode": { +"description": "Optional. Controls the evaluation of a Google-maintained global admission policy for common system-level images. Images not covered by the global policy will be subject to the project admission policy. This setting has no effect when specified inside a global admission policy.", +"enum": [ +"GLOBAL_POLICY_EVALUATION_MODE_UNSPECIFIED", +"ENABLE", +"DISABLE" +], +"enumDescriptions": [ +"Not specified: `DISABLE` is assumed.", +"Enables system policy evaluation.", +"Disables system policy evaluation." +], +"type": "string" +}, +"istioServiceIdentityAdmissionRules": { +"additionalProperties": { +"$ref": "AdmissionRule" +}, +"description": "Optional. Per-istio-service-identity admission rules. Istio service identity spec format: `spiffe:///ns//sa/` or `/ns//sa/` e.g. `spiffe://example.com/ns/test-ns/sa/default`", +"type": "object" +}, +"kubernetesNamespaceAdmissionRules": { +"additionalProperties": { +"$ref": "AdmissionRule" +}, +"description": "Optional. Per-kubernetes-namespace admission rules. K8s namespace spec format: `[a-z.-]+`, e.g. `some-namespace`", +"type": "object" +}, +"kubernetesServiceAccountAdmissionRules": { +"additionalProperties": { +"$ref": "AdmissionRule" +}, +"description": "Optional. Per-kubernetes-service-account admission rules. Service account spec format: `namespace:serviceaccount`. e.g. `test-ns:default`", +"type": "object" +}, +"name": { +"description": "Output only. The resource name, in the format `projects/*/policy`. There is at most one policy per project.", +"readOnly": true, +"type": "string" +}, +"updateTime": { +"description": "Output only. Time when the policy was last updated.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"Scope": { +"description": "A scope specifier for `CheckSet` objects.", +"id": "Scope", +"properties": { +"kubernetesNamespace": { +"description": "Optional. Matches all Kubernetes service accounts in the provided namespace, unless a more specific `kubernetes_service_account` scope already matched.", +"type": "string" +}, +"kubernetesServiceAccount": { +"description": "Optional. Matches a single Kubernetes service account, e.g. `my-namespace:my-service-account`. `kubernetes_service_account` scope is always more specific than `kubernetes_namespace` scope for the same namespace.", +"type": "string" +} +}, +"type": "object" +}, +"SetIamPolicyRequest": { +"description": "Request message for `SetIamPolicy` method.", +"id": "SetIamPolicyRequest", +"properties": { +"policy": { +"$ref": "IamPolicy", +"description": "REQUIRED: The complete policy to be applied to the `resource`. The size of the policy is limited to a few 10s of KB. An empty policy is a valid policy but certain Google Cloud services (such as Projects) might reject them." +} +}, +"type": "object" +}, +"Signature": { +"description": "Verifiers (e.g. Kritis implementations) MUST verify signatures with respect to the trust anchors defined in policy (e.g. a Kritis policy). Typically this means that the verifier has been configured with a map from `public_key_id` to public key material (and any required parameters, e.g. signing algorithm). In particular, verification implementations MUST NOT treat the signature `public_key_id` as anything more than a key lookup hint. The `public_key_id` DOES NOT validate or authenticate a public key; it only provides a mechanism for quickly selecting a public key ALREADY CONFIGURED on the verifier through a trusted channel. Verification implementations MUST reject signatures in any of the following circumstances: * The `public_key_id` is not recognized by the verifier. * The public key that `public_key_id` refers to does not verify the signature with respect to the payload. The `signature` contents SHOULD NOT be \"attached\" (where the payload is included with the serialized `signature` bytes). Verifiers MUST ignore any \"attached\" payload and only verify signatures with respect to explicitly provided payload (e.g. a `payload` field on the proto message that holds this Signature, or the canonical serialization of the proto message that holds this signature).", +"id": "Signature", +"properties": { +"publicKeyId": { +"description": "The identifier for the public key that verifies this signature. * The `public_key_id` is required. * The `public_key_id` SHOULD be an RFC3986 conformant URI. * When possible, the `public_key_id` SHOULD be an immutable reference, such as a cryptographic digest. Examples of valid `public_key_id`s: OpenPGP V4 public key fingerprint: * \"openpgp4fpr:74FAF3B861BDA0870C7B6DEF607E48D2A663AEEA\" See https://www.iana.org/assignments/uri-schemes/prov/openpgp4fpr for more details on this scheme. RFC6920 digest-named SubjectPublicKeyInfo (digest of the DER serialization): * \"ni:///sha-256;cD9o9Cq6LG3jD0iKXqEi_vdjJGecm_iXkbqVoScViaU\" * \"nih:///sha-256;703f68f42aba2c6de30f488a5ea122fef76324679c9bf89791ba95a1271589a5\"", +"type": "string" +}, +"signature": { +"description": "The content of the signature, an opaque bytestring. The payload that this signature verifies MUST be unambiguously provided with the Signature during verification. A wrapper message might provide the payload explicitly. Alternatively, a message might have a canonical serialization that can always be unambiguously computed to derive the payload.", +"format": "byte", +"type": "string" +} +}, +"type": "object" +}, +"SigstoreAuthority": { +"description": "A Sigstore authority, used to verify signatures that are created by Sigstore. An authority is analogous to an attestation authenticator, verifying that a signature is valid or invalid.", +"id": "SigstoreAuthority", +"properties": { +"displayName": { +"description": "Optional. A user-provided name for this `SigstoreAuthority`. This field has no effect on the policy evaluation behavior except to improve readability of messages in evaluation results.", +"type": "string" +}, +"publicKeySet": { +"$ref": "SigstorePublicKeySet", +"description": "Required. A simple set of public keys. A signature is considered valid if any keys in the set validate the signature." +} +}, +"type": "object" +}, +"SigstorePublicKey": { +"description": "A Sigstore public key. `SigstorePublicKey` is the public key material used to authenticate Sigstore signatures.", +"id": "SigstorePublicKey", +"properties": { +"publicKeyPem": { +"description": "The public key material in PEM format.", +"type": "string" +} +}, +"type": "object" +}, +"SigstorePublicKeySet": { +"description": "A bundle of Sigstore public keys, used to verify Sigstore signatures. A signature is authenticated by a `SigstorePublicKeySet` if any of the keys verify it.", +"id": "SigstorePublicKeySet", +"properties": { +"publicKeys": { +"description": "Required. `public_keys` must have at least one entry.", +"items": { +"$ref": "SigstorePublicKey" +}, +"type": "array" +} +}, +"type": "object" +}, +"SigstoreSignatureCheck": { +"description": "A Sigstore signature check, which verifies the Sigstore signature associated with an image.", +"id": "SigstoreSignatureCheck", +"properties": { +"sigstoreAuthorities": { +"description": "Required. The authorities required by this check to verify the signature. A signature only needs to be verified by one authority to pass the check.", +"items": { +"$ref": "SigstoreAuthority" +}, +"type": "array" +} +}, +"type": "object" +}, +"SimpleSigningAttestationCheck": { +"description": "Require a signed [DSSE](https://github.com/secure-systems-lab/dsse) attestation with type SimpleSigning.", +"id": "SimpleSigningAttestationCheck", +"properties": { +"attestationAuthenticators": { +"description": "Required. The authenticators required by this check to verify an attestation. Typically this is one or more PKIX public keys for signature verification. Only one authenticator needs to consider an attestation verified in order for an attestation to be considered fully authenticated. In otherwords, this list of authenticators is an \"OR\" of the authenticator results. At least one authenticator is required.", +"items": { +"$ref": "AttestationAuthenticator" +}, +"type": "array" +}, +"containerAnalysisAttestationProjects": { +"description": "Optional. The projects where attestations are stored as Container Analysis Occurrences, in the format `projects/[PROJECT_ID]`. Only one attestation needs to successfully verify an image for this check to pass, so a single verified attestation found in any of `container_analysis_attestation_projects` is sufficient for the check to pass. A project ID must be used, not a project number. When fetching Occurrences from Container Analysis, only `AttestationOccurrence` kinds are considered. In the future, additional Occurrence kinds may be added to the query. Maximum number of `container_analysis_attestation_projects` allowed in each `SimpleSigningAttestationCheck` is 10.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"SlsaCheck": { +"description": "A SLSA provenance attestation check, which ensures that images are built by a trusted builder using source code from its trusted repositories only.", +"id": "SlsaCheck", +"properties": { +"rules": { +"description": "Specifies a list of verification rules for the SLSA attestations. An image is considered compliant with the SlsaCheck if any of the rules are satisfied.", +"items": { +"$ref": "VerificationRule" +}, +"type": "array" +} +}, +"type": "object" +}, +"TestIamPermissionsRequest": { +"description": "Request message for `TestIamPermissions` method.", +"id": "TestIamPermissionsRequest", +"properties": { +"permissions": { +"description": "The set of permissions to check for the `resource`. Permissions with wildcards (such as `*` or `storage.*`) are not allowed. For more information see [IAM Overview](https://cloud.google.com/iam/docs/overview#permissions).", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"TestIamPermissionsResponse": { +"description": "Response message for `TestIamPermissions` method.", +"id": "TestIamPermissionsResponse", +"properties": { +"permissions": { +"description": "A subset of `TestPermissionsRequest.permissions` that the caller is allowed.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"TrustedDirectoryCheck": { +"description": "A trusted directory check, which rejects images that do not come from the set of user-configured trusted directories.", +"id": "TrustedDirectoryCheck", +"properties": { +"trustedDirPatterns": { +"description": "Required. List of trusted directory patterns. A pattern is in the form \"registry/path/to/directory\". The registry domain part is defined as two or more dot-separated words, e.g., `us.pkg.dev`, or `gcr.io`. Additionally, `*` can be used in three ways as wildcards: 1. leading `*` to match varying prefixes in registry subdomain (useful for location prefixes); 2. trailing `*` after registry/ to match varying endings; 3. trailing `**` after registry/ to match \"/\" as well. For example: -- `gcr.io/my-project/my-repo` is valid to match a single directory -- `*-docker.pkg.dev/my-project/my-repo` or `*.gcr.io/my-project` are valid to match varying prefixes -- `gcr.io/my-project/*` will match all direct directories in `my-project` -- `gcr.io/my-project/**` would match all directories in `my-project` -- `gcr.i*` is not allowed since the registry is not completely specified -- `sub*domain.gcr.io/nginx` is not valid because only leading `*` or trailing `*` are allowed. -- `*pkg.dev/my-project/my-repo` is not valid because leading `*` can only match subdomain -- `**-docker.pkg.dev` is not valid because one leading `*` is allowed, and that it cannot match `/`", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"UserOwnedGrafeasNote": { +"description": "An user owned Grafeas note references a Grafeas Attestation.Authority Note created by the user.", +"id": "UserOwnedGrafeasNote", +"properties": { +"delegationServiceAccountEmail": { +"description": "Output only. This field will contain the service account email address that this attestor will use as the principal when querying Container Analysis. Attestor administrators must grant this service account the IAM role needed to read attestations from the note_reference in Container Analysis (`containeranalysis.notes.occurrences.viewer`). This email address is fixed for the lifetime of the attestor, but callers should not make any other assumptions about the service account email; future versions may use an email based on a different naming pattern.", +"readOnly": true, +"type": "string" +}, +"noteReference": { +"description": "Required. The Grafeas resource name of a Attestation.Authority Note, created by the user, in the format: `projects/[PROJECT_ID]/notes/*`. This field may not be updated. A project ID must be used, not a project number. An attestation by this attestor is stored as a Grafeas Attestation.Authority Occurrence that names a container image and that links to this Note. Grafeas is an external dependency.", +"type": "string" +}, +"publicKeys": { +"description": "Optional. Public keys that verify attestations signed by this attestor. This field may be updated. If this field is non-empty, one of the specified public keys must verify that an attestation was signed by this attestor for the image specified in the admission request. If this field is empty, this attestor always returns that no valid attestations exist.", +"items": { +"$ref": "AttestorPublicKey" +}, +"type": "array" +} +}, +"type": "object" +}, +"ValidateAttestationOccurrenceRequest": { +"description": "Request message for ValidationHelperV1.ValidateAttestationOccurrence.", +"id": "ValidateAttestationOccurrenceRequest", +"properties": { +"attestation": { +"$ref": "AttestationOccurrence", +"description": "Required. An AttestationOccurrence to be checked that it can be verified by the `Attestor`. It does not have to be an existing entity in Container Analysis. It must otherwise be a valid `AttestationOccurrence`." +}, +"occurrenceNote": { +"description": "Required. The resource name of the Note to which the containing Occurrence is associated.", +"type": "string" +}, +"occurrenceResourceUri": { +"description": "Required. The URI of the artifact (e.g. container image) that is the subject of the containing Occurrence.", +"type": "string" +} +}, +"type": "object" +}, +"ValidateAttestationOccurrenceResponse": { +"description": "Response message for ValidationHelperV1.ValidateAttestationOccurrence.", +"id": "ValidateAttestationOccurrenceResponse", +"properties": { +"denialReason": { +"description": "The reason for denial if the Attestation couldn't be validated.", +"type": "string" +}, +"result": { +"description": "The result of the Attestation validation.", +"enum": [ +"RESULT_UNSPECIFIED", +"VERIFIED", +"ATTESTATION_NOT_VERIFIABLE" +], +"enumDescriptions": [ +"Unspecified.", +"The Attestation was able to verified by the Attestor.", +"The Attestation was not able to verified by the Attestor." +], +"type": "string" +} +}, +"type": "object" +}, +"VerificationRule": { +"description": "Specifies verification rules for evaluating the SLSA attestations including: which builders to trust, where to fetch the SLSA attestations generated by those builders, and other builder-specific evaluation rules such as which source repositories are trusted. An image is considered verified by the rule if any of the fetched SLSA attestations is verified.", +"id": "VerificationRule", +"properties": { +"attestationSource": { +"$ref": "AttestationSource", +"description": "Specifies where to fetch the provenances attestations generated by the builder (group)." +}, +"configBasedBuildRequired": { +"description": "If true, require the image to be built from a top-level configuration. `trusted_source_repo_patterns` specifies the repositories containing this configuration.", +"type": "boolean" +}, +"customConstraints": { +"description": "Optional. A CEL expression for specifying custom constraints on the provenance payload. This can be used when users want to specify expectations on provenance fields that are not covered by the general check. For example, users can use this field to require that certain parameters should never be used during the build process.", +"type": "string" +}, +"trustedBuilder": { +"description": "Each verification rule is used for evaluation against provenances generated by a specific builder (group). For some of the builders, such as the Google Cloud Build, users don't need to explicitly specify their roots of trust in the policy since the evaluation service can automatically fetch them based on the builder (group).", +"enum": [ +"BUILDER_UNSPECIFIED", +"GOOGLE_CLOUD_BUILD" +], +"enumDescriptions": [ +"Should never happen.", +"The whole Google Cloud Build (GCB) builder group, including all GCB builder types." +], +"type": "string" +}, +"trustedSourceRepoPatterns": { +"description": "List of trusted source code repository URL patterns. These patterns match the full repository URL without its scheme (e.g. `https://`). The patterns must not include schemes. For example, the pattern `source.cloud.google.com/my-project/my-repo-name` matches the following URLs: - `source.cloud.google.com/my-project/my-repo-name` - `git+ssh://source.cloud.google.com/my-project/my-repo-name` - `https://source.cloud.google.com/my-project/my-repo-name` A pattern matches a URL either exactly or with `*` wildcards. `*` can be used in only two ways: 1. trailing `*` after hosturi/ to match varying endings; 2. trailing `**` after hosturi/ to match `/` as well. `*` and `**` can only be used as wildcards and can only occur at the end of the pattern after a `/`. (So it's not possible to match a URL that contains literal `*`.) For example: - `github.com/my-project/my-repo` is valid to match a single repo - `github.com/my-project/*` will match all direct repos in `my-project` - `github.com/**` matches all repos in GitHub", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"VulnerabilityCheck": { +"description": "An image vulnerability check, which rejects images that violate the configured vulnerability rules.", +"id": "VulnerabilityCheck", +"properties": { +"allowedCves": { +"description": "Optional. A list of specific CVEs to ignore even if the vulnerability level violates `maximumUnfixableSeverity` or `maximumFixableSeverity`. CVEs are listed in the format of Container Analysis note id. For example: - CVE-2021-20305 - CVE-2020-10543 The CVEs are applicable regardless of note provider project, e.g., an entry of `CVE-2021-20305` will allow vulnerabilities with a note name of either `projects/goog-vulnz/notes/CVE-2021-20305` or `projects/CUSTOM-PROJECT/notes/CVE-2021-20305`.", +"items": { +"type": "string" +}, +"type": "array" +}, +"blockedCves": { +"description": "Optional. A list of specific CVEs to always raise warnings about even if the vulnerability level meets `maximumUnfixableSeverity` or `maximumFixableSeverity`. CVEs are listed in the format of Container Analysis note id. For example: - CVE-2021-20305 - CVE-2020-10543 The CVEs are applicable regardless of note provider project, e.g., an entry of `CVE-2021-20305` will block vulnerabilities with a note name of either `projects/goog-vulnz/notes/CVE-2021-20305` or `projects/CUSTOM-PROJECT/notes/CVE-2021-20305`.", +"items": { +"type": "string" +}, +"type": "array" +}, +"containerAnalysisVulnerabilityProjects": { +"description": "Optional. The projects where vulnerabilities are stored as Container Analysis Occurrences. Each project is expressed in the resource format of `projects/[PROJECT_ID]`, e.g., `projects/my-gcp-project`. An attempt will be made for each project to fetch vulnerabilities, and all valid vulnerabilities will be used to check against the vulnerability policy. If no valid scan is found in all projects configured here, an error will be returned for the check. Maximum number of `container_analysis_vulnerability_projects` allowed in each `VulnerabilityCheck` is 10.", +"items": { +"type": "string" +}, +"type": "array" +}, +"maximumFixableSeverity": { +"description": "Required. The threshold for severity for which a fix is currently available. This field is required and must be set.", +"enum": [ +"MAXIMUM_ALLOWED_SEVERITY_UNSPECIFIED", +"BLOCK_ALL", +"MINIMAL", +"LOW", +"MEDIUM", +"HIGH", +"CRITICAL", +"ALLOW_ALL" +], +"enumDescriptions": [ +"Not specified.", +"Block any vulnerability.", +"Allow only minimal severity.", +"Allow only low severity and lower.", +"Allow medium severity and lower.", +"Allow high severity and lower.", +"Allow critical severity and lower.", +"Allow all severity, even vulnerability with unspecified severity." +], +"type": "string" +}, +"maximumUnfixableSeverity": { +"description": "Required. The threshold for severity for which a fix isn't currently available. This field is required and must be set.", +"enum": [ +"MAXIMUM_ALLOWED_SEVERITY_UNSPECIFIED", +"BLOCK_ALL", +"MINIMAL", +"LOW", +"MEDIUM", +"HIGH", +"CRITICAL", +"ALLOW_ALL" +], +"enumDescriptions": [ +"Not specified.", +"Block any vulnerability.", +"Allow only minimal severity.", +"Allow only low severity and lower.", +"Allow medium severity and lower.", +"Allow high severity and lower.", +"Allow critical severity and lower.", +"Allow all severity, even vulnerability with unspecified severity." +], +"type": "string" +} +}, +"type": "object" +} +}, +"servicePath": "", +"title": "Binary Authorization API", +"version": "v1", +"version_module": true +} \ No newline at end of file diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/binaryauthorization.v1beta1.json b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/binaryauthorization.v1beta1.json new file mode 100644 index 0000000000000000000000000000000000000000..6b84d35acb0553ee2b5641c82079b4f428629215 --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/binaryauthorization.v1beta1.json @@ -0,0 +1,1055 @@ +{ +"auth": { +"oauth2": { +"scopes": { +"https://www.googleapis.com/auth/cloud-platform": { +"description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." +} +} +} +}, +"basePath": "", +"baseUrl": "https://binaryauthorization.googleapis.com/", +"batchPath": "batch", +"canonicalName": "Binary Authorization", +"description": "The management interface for Binary Authorization, a service that provides policy-based deployment validation and control for images deployed to Google Kubernetes Engine (GKE), Anthos Service Mesh, Anthos Clusters, and Cloud Run. ", +"discoveryVersion": "v1", +"documentationLink": "https://cloud.google.com/binary-authorization/", +"fullyEncodeReservedExpansion": true, +"icons": { +"x16": "http://www.google.com/images/icons/product/search-16.gif", +"x32": "http://www.google.com/images/icons/product/search-32.gif" +}, +"id": "binaryauthorization:v1beta1", +"kind": "discovery#restDescription", +"mtlsRootUrl": "https://binaryauthorization.mtls.googleapis.com/", +"name": "binaryauthorization", +"ownerDomain": "google.com", +"ownerName": "Google", +"parameters": { +"$.xgafv": { +"description": "V1 error format.", +"enum": [ +"1", +"2" +], +"enumDescriptions": [ +"v1 error format", +"v2 error format" +], +"location": "query", +"type": "string" +}, +"access_token": { +"description": "OAuth access token.", +"location": "query", +"type": "string" +}, +"alt": { +"default": "json", +"description": "Data format for response.", +"enum": [ +"json", +"media", +"proto" +], +"enumDescriptions": [ +"Responses with Content-Type of application/json", +"Media download with context-dependent Content-Type", +"Responses with Content-Type of application/x-protobuf" +], +"location": "query", +"type": "string" +}, +"callback": { +"description": "JSONP", +"location": "query", +"type": "string" +}, +"fields": { +"description": "Selector specifying which fields to include in a partial response.", +"location": "query", +"type": "string" +}, +"key": { +"description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", +"location": "query", +"type": "string" +}, +"oauth_token": { +"description": "OAuth 2.0 token for the current user.", +"location": "query", +"type": "string" +}, +"prettyPrint": { +"default": "true", +"description": "Returns response with indentations and line breaks.", +"location": "query", +"type": "boolean" +}, +"quotaUser": { +"description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.", +"location": "query", +"type": "string" +}, +"uploadType": { +"description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", +"location": "query", +"type": "string" +}, +"upload_protocol": { +"description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", +"location": "query", +"type": "string" +} +}, +"protocol": "rest", +"resources": { +"projects": { +"methods": { +"getPolicy": { +"description": "A policy specifies the attestors that must attest to a container image, before the project is allowed to deploy that image. There is at most one policy per project. All image admission requests are permitted if a project has no policy. Gets the policy for this project. Returns a default policy if the project does not have one.", +"flatPath": "v1beta1/projects/{projectsId}/policy", +"httpMethod": "GET", +"id": "binaryauthorization.projects.getPolicy", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the policy to retrieve, in the format `projects/*/policy`.", +"location": "path", +"pattern": "^projects/[^/]+/policy$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+name}", +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"updatePolicy": { +"description": "Creates or updates a project's policy, and returns a copy of the new policy. A policy is always updated as a whole, to avoid race conditions with concurrent policy enforcement (or management!) requests. Returns NOT_FOUND if the project does not exist, INVALID_ARGUMENT if the request is malformed.", +"flatPath": "v1beta1/projects/{projectsId}/policy", +"httpMethod": "PUT", +"id": "binaryauthorization.projects.updatePolicy", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Output only. The resource name, in the format `projects/*/policy`. There is at most one policy per project.", +"location": "path", +"pattern": "^projects/[^/]+/policy$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+name}", +"request": { +"$ref": "Policy" +}, +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"attestors": { +"methods": { +"create": { +"description": "Creates an attestor, and returns a copy of the new attestor. Returns NOT_FOUND if the project does not exist, INVALID_ARGUMENT if the request is malformed, ALREADY_EXISTS if the attestor already exists.", +"flatPath": "v1beta1/projects/{projectsId}/attestors", +"httpMethod": "POST", +"id": "binaryauthorization.projects.attestors.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"attestorId": { +"description": "Required. The attestors ID.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent of this attestor.", +"location": "path", +"pattern": "^projects/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+parent}/attestors", +"request": { +"$ref": "Attestor" +}, +"response": { +"$ref": "Attestor" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes an attestor. Returns NOT_FOUND if the attestor does not exist.", +"flatPath": "v1beta1/projects/{projectsId}/attestors/{attestorsId}", +"httpMethod": "DELETE", +"id": "binaryauthorization.projects.attestors.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the attestors to delete, in the format `projects/*/attestors/*`.", +"location": "path", +"pattern": "^projects/[^/]+/attestors/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+name}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets an attestor. Returns NOT_FOUND if the attestor does not exist.", +"flatPath": "v1beta1/projects/{projectsId}/attestors/{attestorsId}", +"httpMethod": "GET", +"id": "binaryauthorization.projects.attestors.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the attestor to retrieve, in the format `projects/*/attestors/*`.", +"location": "path", +"pattern": "^projects/[^/]+/attestors/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+name}", +"response": { +"$ref": "Attestor" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"getIamPolicy": { +"description": "Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.", +"flatPath": "v1beta1/projects/{projectsId}/attestors/{attestorsId}:getIamPolicy", +"httpMethod": "GET", +"id": "binaryauthorization.projects.attestors.getIamPolicy", +"parameterOrder": [ +"resource" +], +"parameters": { +"options.requestedPolicyVersion": { +"description": "Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).", +"format": "int32", +"location": "query", +"type": "integer" +}, +"resource": { +"description": "REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", +"location": "path", +"pattern": "^projects/[^/]+/attestors/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+resource}:getIamPolicy", +"response": { +"$ref": "IamPolicy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists attestors. Returns INVALID_ARGUMENT if the project does not exist.", +"flatPath": "v1beta1/projects/{projectsId}/attestors", +"httpMethod": "GET", +"id": "binaryauthorization.projects.attestors.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "Requested page size. The server may return fewer results than requested. If unspecified, the server will pick an appropriate default.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A token identifying a page of results the server should return. Typically, this is the value of ListAttestorsResponse.next_page_token returned from the previous call to the `ListAttestors` method.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The resource name of the project associated with the attestors, in the format `projects/*`.", +"location": "path", +"pattern": "^projects/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+parent}/attestors", +"response": { +"$ref": "ListAttestorsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"setIamPolicy": { +"description": "Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.", +"flatPath": "v1beta1/projects/{projectsId}/attestors/{attestorsId}:setIamPolicy", +"httpMethod": "POST", +"id": "binaryauthorization.projects.attestors.setIamPolicy", +"parameterOrder": [ +"resource" +], +"parameters": { +"resource": { +"description": "REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", +"location": "path", +"pattern": "^projects/[^/]+/attestors/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+resource}:setIamPolicy", +"request": { +"$ref": "SetIamPolicyRequest" +}, +"response": { +"$ref": "IamPolicy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"testIamPermissions": { +"description": "Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may \"fail open\" without warning.", +"flatPath": "v1beta1/projects/{projectsId}/attestors/{attestorsId}:testIamPermissions", +"httpMethod": "POST", +"id": "binaryauthorization.projects.attestors.testIamPermissions", +"parameterOrder": [ +"resource" +], +"parameters": { +"resource": { +"description": "REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", +"location": "path", +"pattern": "^projects/[^/]+/attestors/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+resource}:testIamPermissions", +"request": { +"$ref": "TestIamPermissionsRequest" +}, +"response": { +"$ref": "TestIamPermissionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"update": { +"description": "Updates an attestor. Returns NOT_FOUND if the attestor does not exist.", +"flatPath": "v1beta1/projects/{projectsId}/attestors/{attestorsId}", +"httpMethod": "PUT", +"id": "binaryauthorization.projects.attestors.update", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name, in the format: `projects/*/attestors/*`. This field may not be updated.", +"location": "path", +"pattern": "^projects/[^/]+/attestors/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+name}", +"request": { +"$ref": "Attestor" +}, +"response": { +"$ref": "Attestor" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"validateAttestationOccurrence": { +"description": "Returns whether the given `Attestation` for the given image URI was signed by the given `Attestor`", +"flatPath": "v1beta1/projects/{projectsId}/attestors/{attestorsId}:validateAttestationOccurrence", +"httpMethod": "POST", +"id": "binaryauthorization.projects.attestors.validateAttestationOccurrence", +"parameterOrder": [ +"attestor" +], +"parameters": { +"attestor": { +"description": "Required. The resource name of the Attestor of the occurrence, in the format `projects/*/attestors/*`.", +"location": "path", +"pattern": "^projects/[^/]+/attestors/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+attestor}:validateAttestationOccurrence", +"request": { +"$ref": "ValidateAttestationOccurrenceRequest" +}, +"response": { +"$ref": "ValidateAttestationOccurrenceResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"policy": { +"methods": { +"getIamPolicy": { +"description": "Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.", +"flatPath": "v1beta1/projects/{projectsId}/policy:getIamPolicy", +"httpMethod": "GET", +"id": "binaryauthorization.projects.policy.getIamPolicy", +"parameterOrder": [ +"resource" +], +"parameters": { +"options.requestedPolicyVersion": { +"description": "Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).", +"format": "int32", +"location": "query", +"type": "integer" +}, +"resource": { +"description": "REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", +"location": "path", +"pattern": "^projects/[^/]+/policy$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+resource}:getIamPolicy", +"response": { +"$ref": "IamPolicy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"setIamPolicy": { +"description": "Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.", +"flatPath": "v1beta1/projects/{projectsId}/policy:setIamPolicy", +"httpMethod": "POST", +"id": "binaryauthorization.projects.policy.setIamPolicy", +"parameterOrder": [ +"resource" +], +"parameters": { +"resource": { +"description": "REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", +"location": "path", +"pattern": "^projects/[^/]+/policy$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+resource}:setIamPolicy", +"request": { +"$ref": "SetIamPolicyRequest" +}, +"response": { +"$ref": "IamPolicy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"testIamPermissions": { +"description": "Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may \"fail open\" without warning.", +"flatPath": "v1beta1/projects/{projectsId}/policy:testIamPermissions", +"httpMethod": "POST", +"id": "binaryauthorization.projects.policy.testIamPermissions", +"parameterOrder": [ +"resource" +], +"parameters": { +"resource": { +"description": "REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", +"location": "path", +"pattern": "^projects/[^/]+/policy$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+resource}:testIamPermissions", +"request": { +"$ref": "TestIamPermissionsRequest" +}, +"response": { +"$ref": "TestIamPermissionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +}, +"systempolicy": { +"methods": { +"getPolicy": { +"description": "Gets the current system policy in the specified location.", +"flatPath": "v1beta1/locations/{locationsId}/policy", +"httpMethod": "GET", +"id": "binaryauthorization.systempolicy.getPolicy", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name, in the format `locations/*/policy`. Note that the system policy is not associated with a project.", +"location": "path", +"pattern": "^locations/[^/]+/policy$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+name}", +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +}, +"revision": "20241018", +"rootUrl": "https://binaryauthorization.googleapis.com/", +"schemas": { +"AdmissionRule": { +"description": "An admission rule specifies either that all container images used in a pod creation request must be attested to by one or more attestors, that all pod creations will be allowed, or that all pod creations will be denied. Images matching an admission allowlist pattern are exempted from admission rules and will never block a pod creation.", +"id": "AdmissionRule", +"properties": { +"enforcementMode": { +"description": "Required. The action when a pod creation is denied by the admission rule.", +"enum": [ +"ENFORCEMENT_MODE_UNSPECIFIED", +"ENFORCED_BLOCK_AND_AUDIT_LOG", +"DRYRUN_AUDIT_LOG_ONLY" +], +"enumDescriptions": [ +"Do not use.", +"Enforce the admission rule by blocking the pod creation.", +"Dryrun mode: Audit logging only. This will allow the pod creation as if the admission request had specified break-glass." +], +"type": "string" +}, +"evaluationMode": { +"description": "Required. How this admission rule will be evaluated.", +"enum": [ +"EVALUATION_MODE_UNSPECIFIED", +"ALWAYS_ALLOW", +"REQUIRE_ATTESTATION", +"ALWAYS_DENY" +], +"enumDescriptions": [ +"Do not use.", +"This rule allows all all pod creations.", +"This rule allows a pod creation if all the attestors listed in `require_attestations_by` have valid attestations for all of the images in the pod spec.", +"This rule denies all pod creations." +], +"type": "string" +}, +"requireAttestationsBy": { +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"AdmissionWhitelistPattern": { +"description": "An admission allowlist pattern exempts images from checks by admission rules.", +"id": "AdmissionWhitelistPattern", +"properties": { +"namePattern": { +"description": "An image name pattern to allowlist, in the form `registry/path/to/image`. This supports a trailing `*` as a wildcard, but this is allowed only in text after the `registry/` part. `*` wildcard does not match `/`, i.e., `gcr.io/nginx*` matches `gcr.io/nginx@latest`, but it does not match `gcr.io/nginx/image`. This also supports a trailing `**` wildcard which matches subdirectories, i.e., `gcr.io/nginx**` matches `gcr.io/nginx/image`.", +"type": "string" +} +}, +"type": "object" +}, +"AttestationOccurrence": { +"description": "Occurrence that represents a single \"attestation\". The authenticity of an attestation can be verified using the attached signature. If the verifier trusts the public key of the signer, then verifying the signature is sufficient to establish trust. In this circumstance, the authority to which this attestation is attached is primarily useful for lookup (how to find this attestation if you already know the authority and artifact to be verified) and intent (for which authority this attestation was intended to sign.", +"id": "AttestationOccurrence", +"properties": { +"jwts": { +"description": "One or more JWTs encoding a self-contained attestation. Each JWT encodes the payload that it verifies within the JWT itself. Verifier implementation SHOULD ignore the `serialized_payload` field when verifying these JWTs. If only JWTs are present on this AttestationOccurrence, then the `serialized_payload` SHOULD be left empty. Each JWT SHOULD encode a claim specific to the `resource_uri` of this Occurrence, but this is not validated by Grafeas metadata API implementations. The JWT itself is opaque to Grafeas.", +"items": { +"$ref": "Jwt" +}, +"type": "array" +}, +"serializedPayload": { +"description": "Required. The serialized payload that is verified by one or more `signatures`.", +"format": "byte", +"type": "string" +}, +"signatures": { +"description": "One or more signatures over `serialized_payload`. Verifier implementations should consider this attestation message verified if at least one `signature` verifies `serialized_payload`. See `Signature` in common.proto for more details on signature structure and verification.", +"items": { +"$ref": "Signature" +}, +"type": "array" +} +}, +"type": "object" +}, +"Attestor": { +"description": "An attestor that attests to container image artifacts. An existing attestor cannot be modified except where indicated.", +"id": "Attestor", +"properties": { +"description": { +"description": "Optional. A descriptive comment. This field may be updated. The field may be displayed in chooser dialogs.", +"type": "string" +}, +"etag": { +"description": "Optional. A checksum, returned by the server, that can be sent on update requests to ensure the attestor has an up-to-date value before attempting to update it. See https://google.aip.dev/154.", +"type": "string" +}, +"name": { +"description": "Required. The resource name, in the format: `projects/*/attestors/*`. This field may not be updated.", +"type": "string" +}, +"updateTime": { +"description": "Output only. Time when the attestor was last updated.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"userOwnedDrydockNote": { +"$ref": "UserOwnedDrydockNote", +"description": "A Drydock ATTESTATION_AUTHORITY Note, created by the user." +} +}, +"type": "object" +}, +"AttestorPublicKey": { +"description": "An attestor public key that will be used to verify attestations signed by this attestor.", +"id": "AttestorPublicKey", +"properties": { +"asciiArmoredPgpPublicKey": { +"description": "ASCII-armored representation of a PGP public key, as the entire output by the command `gpg --export --armor foo@example.com` (either LF or CRLF line endings). When using this field, `id` should be left blank. The BinAuthz API handlers will calculate the ID and fill it in automatically. BinAuthz computes this ID as the OpenPGP RFC4880 V4 fingerprint, represented as upper-case hex. If `id` is provided by the caller, it will be overwritten by the API-calculated ID.", +"type": "string" +}, +"comment": { +"description": "Optional. A descriptive comment. This field may be updated.", +"type": "string" +}, +"id": { +"description": "The ID of this public key. Signatures verified by BinAuthz must include the ID of the public key that can be used to verify them, and that ID must match the contents of this field exactly. Additional restrictions on this field can be imposed based on which public key type is encapsulated. See the documentation on `public_key` cases below for details.", +"type": "string" +}, +"pkixPublicKey": { +"$ref": "PkixPublicKey", +"description": "A raw PKIX SubjectPublicKeyInfo format public key. NOTE: `id` may be explicitly provided by the caller when using this type of public key, but it MUST be a valid RFC3986 URI. If `id` is left blank, a default one will be computed based on the digest of the DER encoding of the public key." +} +}, +"type": "object" +}, +"Binding": { +"description": "Associates `members`, or principals, with a `role`.", +"id": "Binding", +"properties": { +"condition": { +"$ref": "Expr", +"description": "The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies)." +}, +"members": { +"description": "Specifies the principals requesting access for a Google Cloud resource. `members` can have the following values: * `allUsers`: A special identifier that represents anyone who is on the internet; with or without a Google account. * `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service account. Does not include identities that come from external identity providers (IdPs) through identity federation. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `group:{emailid}`: An email address that represents a Google group. For example, `admins@example.com`. * `domain:{domain}`: The G Suite domain (primary) that represents all the users of that domain. For example, `google.com` or `example.com`. * `principal://iam.googleapis.com/locations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}`: A single identity in a workforce identity pool. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/group/{group_id}`: All workforce identities in a group. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/attribute.{attribute_name}/{attribute_value}`: All workforce identities with a specific attribute value. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/*`: All identities in a workforce identity pool. * `principal://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/subject/{subject_attribute_value}`: A single identity in a workload identity pool. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/group/{group_id}`: A workload identity pool group. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/attribute.{attribute_name}/{attribute_value}`: All identities in a workload identity pool with a certain attribute. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/*`: All identities in a workload identity pool. * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a user that has been recently deleted. For example, `alice@example.com?uid=123456789012345678901`. If the user is recovered, this value reverts to `user:{emailid}` and the recovered user retains the role in the binding. * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a service account that has been recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the service account is undeleted, this value reverts to `serviceAccount:{emailid}` and the undeleted service account retains the role in the binding. * `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a Google group that has been recently deleted. For example, `admins@example.com?uid=123456789012345678901`. If the group is recovered, this value reverts to `group:{emailid}` and the recovered group retains the role in the binding. * `deleted:principal://iam.googleapis.com/locations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}`: Deleted single identity in a workforce identity pool. For example, `deleted:principal://iam.googleapis.com/locations/global/workforcePools/my-pool-id/subject/my-subject-attribute-value`.", +"items": { +"type": "string" +}, +"type": "array" +}, +"role": { +"description": "Role that is assigned to the list of `members`, or principals. For example, `roles/viewer`, `roles/editor`, or `roles/owner`. For an overview of the IAM roles and permissions, see the [IAM documentation](https://cloud.google.com/iam/docs/roles-overview). For a list of the available pre-defined roles, see [here](https://cloud.google.com/iam/docs/understanding-roles).", +"type": "string" +} +}, +"type": "object" +}, +"Empty": { +"description": "A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }", +"id": "Empty", +"properties": {}, +"type": "object" +}, +"Expr": { +"description": "Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: \"Summary size limit\" description: \"Determines if a summary is less than 100 chars\" expression: \"document.summary.size() < 100\" Example (Equality): title: \"Requestor is owner\" description: \"Determines if requestor is the document owner\" expression: \"document.owner == request.auth.claims.email\" Example (Logic): title: \"Public documents\" description: \"Determine whether the document should be publicly visible\" expression: \"document.type != 'private' && document.type != 'internal'\" Example (Data Manipulation): title: \"Notification string\" description: \"Create a notification string with a timestamp.\" expression: \"'New message received at ' + string(document.create_time)\" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information.", +"id": "Expr", +"properties": { +"description": { +"description": "Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI.", +"type": "string" +}, +"expression": { +"description": "Textual representation of an expression in Common Expression Language syntax.", +"type": "string" +}, +"location": { +"description": "Optional. String indicating the location of the expression for error reporting, e.g. a file name and a position in the file.", +"type": "string" +}, +"title": { +"description": "Optional. Title for the expression, i.e. a short string describing its purpose. This can be used e.g. in UIs which allow to enter the expression.", +"type": "string" +} +}, +"type": "object" +}, +"IamPolicy": { +"description": "An Identity and Access Management (IAM) policy, which specifies access controls for Google Cloud resources. A `Policy` is a collection of `bindings`. A `binding` binds one or more `members`, or principals, to a single `role`. Principals can be user accounts, service accounts, Google groups, and domains (such as G Suite). A `role` is a named list of permissions; each `role` can be an IAM predefined role or a user-created custom role. For some types of Google Cloud resources, a `binding` can also specify a `condition`, which is a logical expression that allows access to a resource only if the expression evaluates to `true`. A condition can add constraints based on attributes of the request, the resource, or both. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). **JSON example:** ``` { \"bindings\": [ { \"role\": \"roles/resourcemanager.organizationAdmin\", \"members\": [ \"user:mike@example.com\", \"group:admins@example.com\", \"domain:google.com\", \"serviceAccount:my-project-id@appspot.gserviceaccount.com\" ] }, { \"role\": \"roles/resourcemanager.organizationViewer\", \"members\": [ \"user:eve@example.com\" ], \"condition\": { \"title\": \"expirable access\", \"description\": \"Does not grant access after Sep 2020\", \"expression\": \"request.time < timestamp('2020-10-01T00:00:00.000Z')\", } } ], \"etag\": \"BwWWja0YfJA=\", \"version\": 3 } ``` **YAML example:** ``` bindings: - members: - user:mike@example.com - group:admins@example.com - domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.com role: roles/resourcemanager.organizationViewer condition: title: expirable access description: Does not grant access after Sep 2020 expression: request.time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 ``` For a description of IAM and its features, see the [IAM documentation](https://cloud.google.com/iam/docs/).", +"id": "IamPolicy", +"properties": { +"bindings": { +"description": "Associates a list of `members`, or principals, with a `role`. Optionally, may specify a `condition` that determines how and when the `bindings` are applied. Each of the `bindings` must contain at least one principal. The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250 of these principals can be Google groups. Each occurrence of a principal counts towards these limits. For example, if the `bindings` grant 50 different roles to `user:alice@example.com`, and not to any other principal, then you can add another 1,450 principals to the `bindings` in the `Policy`.", +"items": { +"$ref": "Binding" +}, +"type": "array" +}, +"etag": { +"description": "`etag` is used for optimistic concurrency control as a way to help prevent simultaneous updates of a policy from overwriting each other. It is strongly suggested that systems make use of the `etag` in the read-modify-write cycle to perform policy updates in order to avoid race conditions: An `etag` is returned in the response to `getIamPolicy`, and systems are expected to put that etag in the request to `setIamPolicy` to ensure that their change will be applied to the same version of the policy. **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost.", +"format": "byte", +"type": "string" +}, +"version": { +"description": "Specifies the format of the policy. Valid values are `0`, `1`, and `3`. Requests that specify an invalid value are rejected. Any operation that affects conditional role bindings must specify version `3`. This requirement applies to the following operations: * Getting a policy that includes a conditional role binding * Adding a conditional role binding to a policy * Changing a conditional role binding in a policy * Removing any role binding, with or without a condition, from a policy that includes conditions **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost. If a policy does not include any conditions, operations on that policy may specify any valid version or leave the field unset. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"Jwt": { +"id": "Jwt", +"properties": { +"compactJwt": { +"description": "The compact encoding of a JWS, which is always three base64 encoded strings joined by periods. For details, see: https://tools.ietf.org/html/rfc7515.html#section-3.1", +"type": "string" +} +}, +"type": "object" +}, +"ListAttestorsResponse": { +"description": "Response message for BinauthzManagementService.ListAttestors.", +"id": "ListAttestorsResponse", +"properties": { +"attestors": { +"description": "The list of attestors.", +"items": { +"$ref": "Attestor" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A token to retrieve the next page of results. Pass this value in the ListAttestorsRequest.page_token field in the subsequent call to the `ListAttestors` method to retrieve the next page of results.", +"type": "string" +} +}, +"type": "object" +}, +"PkixPublicKey": { +"description": "A public key in the PkixPublicKey format (see https://tools.ietf.org/html/rfc5280#section-4.1.2.7 for details). Public keys of this type are typically textually encoded using the PEM format.", +"id": "PkixPublicKey", +"properties": { +"publicKeyPem": { +"description": "A PEM-encoded public key, as described in https://tools.ietf.org/html/rfc7468#section-13", +"type": "string" +}, +"signatureAlgorithm": { +"description": "The signature algorithm used to verify a message against a signature using this key. These signature algorithm must match the structure and any object identifiers encoded in `public_key_pem` (i.e. this algorithm must match that of the public key).", +"enum": [ +"SIGNATURE_ALGORITHM_UNSPECIFIED", +"RSA_PSS_2048_SHA256", +"RSA_SIGN_PSS_2048_SHA256", +"RSA_PSS_3072_SHA256", +"RSA_SIGN_PSS_3072_SHA256", +"RSA_PSS_4096_SHA256", +"RSA_SIGN_PSS_4096_SHA256", +"RSA_PSS_4096_SHA512", +"RSA_SIGN_PSS_4096_SHA512", +"RSA_SIGN_PKCS1_2048_SHA256", +"RSA_SIGN_PKCS1_3072_SHA256", +"RSA_SIGN_PKCS1_4096_SHA256", +"RSA_SIGN_PKCS1_4096_SHA512", +"ECDSA_P256_SHA256", +"EC_SIGN_P256_SHA256", +"ECDSA_P384_SHA384", +"EC_SIGN_P384_SHA384", +"ECDSA_P521_SHA512", +"EC_SIGN_P521_SHA512" +], +"enumDescriptions": [ +"Not specified.", +"RSASSA-PSS 2048 bit key with a SHA256 digest.", +"RSASSA-PSS 2048 bit key with a SHA256 digest.", +"RSASSA-PSS 3072 bit key with a SHA256 digest.", +"RSASSA-PSS 3072 bit key with a SHA256 digest.", +"RSASSA-PSS 4096 bit key with a SHA256 digest.", +"RSASSA-PSS 4096 bit key with a SHA256 digest.", +"RSASSA-PSS 4096 bit key with a SHA512 digest.", +"RSASSA-PSS 4096 bit key with a SHA512 digest.", +"RSASSA-PKCS1-v1_5 with a 2048 bit key and a SHA256 digest.", +"RSASSA-PKCS1-v1_5 with a 3072 bit key and a SHA256 digest.", +"RSASSA-PKCS1-v1_5 with a 4096 bit key and a SHA256 digest.", +"RSASSA-PKCS1-v1_5 with a 4096 bit key and a SHA512 digest.", +"ECDSA on the NIST P-256 curve with a SHA256 digest.", +"ECDSA on the NIST P-256 curve with a SHA256 digest.", +"ECDSA on the NIST P-384 curve with a SHA384 digest.", +"ECDSA on the NIST P-384 curve with a SHA384 digest.", +"ECDSA on the NIST P-521 curve with a SHA512 digest.", +"ECDSA on the NIST P-521 curve with a SHA512 digest." +], +"type": "string" +} +}, +"type": "object" +}, +"Policy": { +"description": "A policy for Binary Authorization.", +"id": "Policy", +"properties": { +"admissionWhitelistPatterns": { +"description": "Optional. Admission policy allowlisting. A matching admission request will always be permitted. This feature is typically used to exclude Google or third-party infrastructure images from Binary Authorization policies.", +"items": { +"$ref": "AdmissionWhitelistPattern" +}, +"type": "array" +}, +"clusterAdmissionRules": { +"additionalProperties": { +"$ref": "AdmissionRule" +}, +"description": "Optional. Per-cluster admission rules. Cluster spec format: `location.clusterId`. There can be at most one admission rule per cluster spec. A `location` is either a compute zone (e.g. us-central1-a) or a region (e.g. us-central1). For `clusterId` syntax restrictions see https://cloud.google.com/container-engine/reference/rest/v1/projects.zones.clusters.", +"type": "object" +}, +"defaultAdmissionRule": { +"$ref": "AdmissionRule", +"description": "Required. Default admission rule for a cluster without a per-cluster, per- kubernetes-service-account, or per-istio-service-identity admission rule." +}, +"description": { +"description": "Optional. A descriptive comment.", +"type": "string" +}, +"etag": { +"description": "Optional. A checksum, returned by the server, that can be sent on update requests to ensure the policy has an up-to-date value before attempting to update it. See https://google.aip.dev/154.", +"type": "string" +}, +"globalPolicyEvaluationMode": { +"description": "Optional. Controls the evaluation of a Google-maintained global admission policy for common system-level images. Images not covered by the global policy will be subject to the project admission policy. This setting has no effect when specified inside a global admission policy.", +"enum": [ +"GLOBAL_POLICY_EVALUATION_MODE_UNSPECIFIED", +"ENABLE", +"DISABLE" +], +"enumDescriptions": [ +"Not specified: DISABLE is assumed.", +"Enables system policy evaluation.", +"Disables system policy evaluation." +], +"type": "string" +}, +"istioServiceIdentityAdmissionRules": { +"additionalProperties": { +"$ref": "AdmissionRule" +}, +"description": "Optional. Per-istio-service-identity admission rules. Istio service identity spec format: `spiffe:///ns//sa/` or `/ns//sa/` e.g. `spiffe://example.com/ns/test-ns/sa/default`", +"type": "object" +}, +"kubernetesNamespaceAdmissionRules": { +"additionalProperties": { +"$ref": "AdmissionRule" +}, +"description": "Optional. Per-kubernetes-namespace admission rules. K8s namespace spec format: `[a-z.-]+`, e.g. `some-namespace`", +"type": "object" +}, +"kubernetesServiceAccountAdmissionRules": { +"additionalProperties": { +"$ref": "AdmissionRule" +}, +"description": "Optional. Per-kubernetes-service-account admission rules. Service account spec format: `namespace:serviceaccount`. e.g. `test-ns:default`", +"type": "object" +}, +"name": { +"description": "Output only. The resource name, in the format `projects/*/policy`. There is at most one policy per project.", +"readOnly": true, +"type": "string" +}, +"updateTime": { +"description": "Output only. Time when the policy was last updated.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"SetIamPolicyRequest": { +"description": "Request message for `SetIamPolicy` method.", +"id": "SetIamPolicyRequest", +"properties": { +"policy": { +"$ref": "IamPolicy", +"description": "REQUIRED: The complete policy to be applied to the `resource`. The size of the policy is limited to a few 10s of KB. An empty policy is a valid policy but certain Google Cloud services (such as Projects) might reject them." +} +}, +"type": "object" +}, +"Signature": { +"description": "Verifiers (e.g. Kritis implementations) MUST verify signatures with respect to the trust anchors defined in policy (e.g. a Kritis policy). Typically this means that the verifier has been configured with a map from `public_key_id` to public key material (and any required parameters, e.g. signing algorithm). In particular, verification implementations MUST NOT treat the signature `public_key_id` as anything more than a key lookup hint. The `public_key_id` DOES NOT validate or authenticate a public key; it only provides a mechanism for quickly selecting a public key ALREADY CONFIGURED on the verifier through a trusted channel. Verification implementations MUST reject signatures in any of the following circumstances: * The `public_key_id` is not recognized by the verifier. * The public key that `public_key_id` refers to does not verify the signature with respect to the payload. The `signature` contents SHOULD NOT be \"attached\" (where the payload is included with the serialized `signature` bytes). Verifiers MUST ignore any \"attached\" payload and only verify signatures with respect to explicitly provided payload (e.g. a `payload` field on the proto message that holds this Signature, or the canonical serialization of the proto message that holds this signature).", +"id": "Signature", +"properties": { +"publicKeyId": { +"description": "The identifier for the public key that verifies this signature. * The `public_key_id` is required. * The `public_key_id` SHOULD be an RFC3986 conformant URI. * When possible, the `public_key_id` SHOULD be an immutable reference, such as a cryptographic digest. Examples of valid `public_key_id`s: OpenPGP V4 public key fingerprint: * \"openpgp4fpr:74FAF3B861BDA0870C7B6DEF607E48D2A663AEEA\" See https://www.iana.org/assignments/uri-schemes/prov/openpgp4fpr for more details on this scheme. RFC6920 digest-named SubjectPublicKeyInfo (digest of the DER serialization): * \"ni:///sha-256;cD9o9Cq6LG3jD0iKXqEi_vdjJGecm_iXkbqVoScViaU\" * \"nih:///sha-256;703f68f42aba2c6de30f488a5ea122fef76324679c9bf89791ba95a1271589a5\"", +"type": "string" +}, +"signature": { +"description": "The content of the signature, an opaque bytestring. The payload that this signature verifies MUST be unambiguously provided with the Signature during verification. A wrapper message might provide the payload explicitly. Alternatively, a message might have a canonical serialization that can always be unambiguously computed to derive the payload.", +"format": "byte", +"type": "string" +} +}, +"type": "object" +}, +"TestIamPermissionsRequest": { +"description": "Request message for `TestIamPermissions` method.", +"id": "TestIamPermissionsRequest", +"properties": { +"permissions": { +"description": "The set of permissions to check for the `resource`. Permissions with wildcards (such as `*` or `storage.*`) are not allowed. For more information see [IAM Overview](https://cloud.google.com/iam/docs/overview#permissions).", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"TestIamPermissionsResponse": { +"description": "Response message for `TestIamPermissions` method.", +"id": "TestIamPermissionsResponse", +"properties": { +"permissions": { +"description": "A subset of `TestPermissionsRequest.permissions` that the caller is allowed.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"UserOwnedDrydockNote": { +"description": "An user owned drydock note references a Drydock ATTESTATION_AUTHORITY Note created by the user.", +"id": "UserOwnedDrydockNote", +"properties": { +"delegationServiceAccountEmail": { +"description": "Output only. This field will contain the service account email address that this Attestor will use as the principal when querying Container Analysis. Attestor administrators must grant this service account the IAM role needed to read attestations from the note_reference in Container Analysis (`containeranalysis.notes.occurrences.viewer`). This email address is fixed for the lifetime of the Attestor, but callers should not make any other assumptions about the service account email; future versions may use an email based on a different naming pattern.", +"readOnly": true, +"type": "string" +}, +"noteReference": { +"description": "Required. The Drydock resource name of a ATTESTATION_AUTHORITY Note, created by the user, in the format: `projects/*/notes/*` (or the legacy `providers/*/notes/*`). This field may not be updated. An attestation by this attestor is stored as a Drydock ATTESTATION_AUTHORITY Occurrence that names a container image and that links to this Note. Drydock is an external dependency.", +"type": "string" +}, +"publicKeys": { +"description": "Optional. Public keys that verify attestations signed by this attestor. This field may be updated. If this field is non-empty, one of the specified public keys must verify that an attestation was signed by this attestor for the image specified in the admission request. If this field is empty, this attestor always returns that no valid attestations exist.", +"items": { +"$ref": "AttestorPublicKey" +}, +"type": "array" +} +}, +"type": "object" +}, +"ValidateAttestationOccurrenceRequest": { +"description": "Request message for ValidationHelperV1.ValidateAttestationOccurrence.", +"id": "ValidateAttestationOccurrenceRequest", +"properties": { +"attestation": { +"$ref": "AttestationOccurrence", +"description": "Required. An AttestationOccurrence to be checked that it can be verified by the `Attestor`. It does not have to be an existing entity in Container Analysis. It must otherwise be a valid `AttestationOccurrence`." +}, +"occurrenceNote": { +"description": "Required. The resource name of the Note to which the containing Occurrence is associated.", +"type": "string" +}, +"occurrenceResourceUri": { +"description": "Required. The URI of the artifact (e.g. container image) that is the subject of the containing Occurrence.", +"type": "string" +} +}, +"type": "object" +}, +"ValidateAttestationOccurrenceResponse": { +"description": "Response message for ValidationHelperV1.ValidateAttestationOccurrence.", +"id": "ValidateAttestationOccurrenceResponse", +"properties": { +"denialReason": { +"description": "The reason for denial if the Attestation couldn't be validated.", +"type": "string" +}, +"result": { +"description": "The result of the Attestation validation.", +"enum": [ +"RESULT_UNSPECIFIED", +"VERIFIED", +"ATTESTATION_NOT_VERIFIABLE" +], +"enumDescriptions": [ +"Unspecified.", +"The Attestation was able to verified by the Attestor.", +"The Attestation was not able to verified by the Attestor." +], +"type": "string" +} +}, +"type": "object" +} +}, +"servicePath": "", +"title": "Binary Authorization API", +"version": "v1beta1", +"version_module": true +} \ No newline at end of file diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/books.v1.json b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/books.v1.json new file mode 100644 index 0000000000000000000000000000000000000000..3bea337c4ac90e4734b9185bb06420176a51702d --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/books.v1.json @@ -0,0 +1,5012 @@ +{ +"auth": { +"oauth2": { +"scopes": { +"https://www.googleapis.com/auth/books": { +"description": "Manage your books" +} +} +} +}, +"basePath": "", +"baseUrl": "https://books.googleapis.com/", +"batchPath": "batch", +"description": "The Google Books API allows clients to access the Google Books repository.", +"discoveryVersion": "v1", +"documentationLink": "https://code.google.com/apis/books/docs/v1/getting_started.html", +"fullyEncodeReservedExpansion": true, +"icons": { +"x16": "http://www.google.com/images/icons/product/search-16.gif", +"x32": "http://www.google.com/images/icons/product/search-32.gif" +}, +"id": "books:v1", +"kind": "discovery#restDescription", +"mtlsRootUrl": "https://books.mtls.googleapis.com/", +"name": "books", +"ownerDomain": "google.com", +"ownerName": "Google", +"parameters": { +"$.xgafv": { +"description": "V1 error format.", +"enum": [ +"1", +"2" +], +"enumDescriptions": [ +"v1 error format", +"v2 error format" +], +"location": "query", +"type": "string" +}, +"access_token": { +"description": "OAuth access token.", +"location": "query", +"type": "string" +}, +"alt": { +"default": "json", +"description": "Data format for response.", +"enum": [ +"json", +"media", +"proto" +], +"enumDescriptions": [ +"Responses with Content-Type of application/json", +"Media download with context-dependent Content-Type", +"Responses with Content-Type of application/x-protobuf" +], +"location": "query", +"type": "string" +}, +"callback": { +"description": "JSONP", +"location": "query", +"type": "string" +}, +"fields": { +"description": "Selector specifying which fields to include in a partial response.", +"location": "query", +"type": "string" +}, +"key": { +"description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", +"location": "query", +"type": "string" +}, +"oauth_token": { +"description": "OAuth 2.0 token for the current user.", +"location": "query", +"type": "string" +}, +"prettyPrint": { +"default": "true", +"description": "Returns response with indentations and line breaks.", +"location": "query", +"type": "boolean" +}, +"quotaUser": { +"description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.", +"location": "query", +"type": "string" +}, +"uploadType": { +"description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", +"location": "query", +"type": "string" +}, +"upload_protocol": { +"description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", +"location": "query", +"type": "string" +} +}, +"protocol": "rest", +"resources": { +"bookshelves": { +"methods": { +"get": { +"description": "Retrieves metadata for a specific bookshelf for the specified user.", +"flatPath": "books/v1/users/{userId}/bookshelves/{shelf}", +"httpMethod": "GET", +"id": "books.bookshelves.get", +"parameterOrder": [ +"userId", +"shelf" +], +"parameters": { +"shelf": { +"description": "ID of bookshelf to retrieve.", +"location": "path", +"required": true, +"type": "string" +}, +"source": { +"description": "String to identify the originator of this request.", +"location": "query", +"type": "string" +}, +"userId": { +"description": "ID of user for whom to retrieve bookshelves.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "books/v1/users/{userId}/bookshelves/{shelf}", +"response": { +"$ref": "Bookshelf" +}, +"scopes": [ +"https://www.googleapis.com/auth/books" +] +}, +"list": { +"description": "Retrieves a list of public bookshelves for the specified user.", +"flatPath": "books/v1/users/{userId}/bookshelves", +"httpMethod": "GET", +"id": "books.bookshelves.list", +"parameterOrder": [ +"userId" +], +"parameters": { +"source": { +"description": "String to identify the originator of this request.", +"location": "query", +"type": "string" +}, +"userId": { +"description": "ID of user for whom to retrieve bookshelves.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "books/v1/users/{userId}/bookshelves", +"response": { +"$ref": "Bookshelves" +}, +"scopes": [ +"https://www.googleapis.com/auth/books" +] +} +}, +"resources": { +"volumes": { +"methods": { +"list": { +"description": "Retrieves volumes in a specific bookshelf for the specified user.", +"flatPath": "books/v1/users/{userId}/bookshelves/{shelf}/volumes", +"httpMethod": "GET", +"id": "books.bookshelves.volumes.list", +"parameterOrder": [ +"userId", +"shelf" +], +"parameters": { +"maxResults": { +"description": "Maximum number of results to return", +"format": "uint32", +"location": "query", +"minimum": "0", +"type": "integer" +}, +"shelf": { +"description": "ID of bookshelf to retrieve volumes.", +"location": "path", +"required": true, +"type": "string" +}, +"showPreorders": { +"description": "Set to true to show pre-ordered books. Defaults to false.", +"location": "query", +"type": "boolean" +}, +"source": { +"description": "String to identify the originator of this request.", +"location": "query", +"type": "string" +}, +"startIndex": { +"description": "Index of the first element to return (starts at 0)", +"format": "uint32", +"location": "query", +"minimum": "0", +"type": "integer" +}, +"userId": { +"description": "ID of user for whom to retrieve bookshelf volumes.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "books/v1/users/{userId}/bookshelves/{shelf}/volumes", +"response": { +"$ref": "Volumes" +}, +"scopes": [ +"https://www.googleapis.com/auth/books" +] +} +} +} +} +}, +"cloudloading": { +"methods": { +"addBook": { +"description": "Add a user-upload volume and triggers processing.", +"flatPath": "books/v1/cloudloading/addBook", +"httpMethod": "POST", +"id": "books.cloudloading.addBook", +"parameterOrder": [], +"parameters": { +"drive_document_id": { +"description": "A drive document id. The upload_client_token must not be set.", +"location": "query", +"type": "string" +}, +"mime_type": { +"description": "The document MIME type. It can be set only if the drive_document_id is set.", +"location": "query", +"type": "string" +}, +"name": { +"description": "The document name. It can be set only if the drive_document_id is set.", +"location": "query", +"type": "string" +}, +"upload_client_token": { +"description": "Scotty upload token.", +"location": "query", +"type": "string" +} +}, +"path": "books/v1/cloudloading/addBook", +"response": { +"$ref": "BooksCloudloadingResource" +}, +"scopes": [ +"https://www.googleapis.com/auth/books" +] +}, +"deleteBook": { +"description": "Remove the book and its contents", +"flatPath": "books/v1/cloudloading/deleteBook", +"httpMethod": "POST", +"id": "books.cloudloading.deleteBook", +"parameterOrder": [ +"volumeId" +], +"parameters": { +"volumeId": { +"description": "The id of the book to be removed.", +"location": "query", +"required": true, +"type": "string" +} +}, +"path": "books/v1/cloudloading/deleteBook", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/books" +] +}, +"updateBook": { +"description": "Updates a user-upload volume.", +"flatPath": "books/v1/cloudloading/updateBook", +"httpMethod": "POST", +"id": "books.cloudloading.updateBook", +"parameterOrder": [], +"parameters": {}, +"path": "books/v1/cloudloading/updateBook", +"request": { +"$ref": "BooksCloudloadingResource" +}, +"response": { +"$ref": "BooksCloudloadingResource" +}, +"scopes": [ +"https://www.googleapis.com/auth/books" +] +} +} +}, +"dictionary": { +"methods": { +"listOfflineMetadata": { +"description": "Returns a list of offline dictionary metadata available", +"flatPath": "books/v1/dictionary/listOfflineMetadata", +"httpMethod": "GET", +"id": "books.dictionary.listOfflineMetadata", +"parameterOrder": [ +"cpksver" +], +"parameters": { +"cpksver": { +"description": "The device/version ID from which to request the data.", +"location": "query", +"required": true, +"type": "string" +} +}, +"path": "books/v1/dictionary/listOfflineMetadata", +"response": { +"$ref": "Metadata" +}, +"scopes": [ +"https://www.googleapis.com/auth/books" +] +} +} +}, +"familysharing": { +"methods": { +"getFamilyInfo": { +"description": "Gets information regarding the family that the user is part of.", +"flatPath": "books/v1/familysharing/getFamilyInfo", +"httpMethod": "GET", +"id": "books.familysharing.getFamilyInfo", +"parameterOrder": [], +"parameters": { +"source": { +"description": "String to identify the originator of this request.", +"location": "query", +"type": "string" +} +}, +"path": "books/v1/familysharing/getFamilyInfo", +"response": { +"$ref": "FamilyInfo" +}, +"scopes": [ +"https://www.googleapis.com/auth/books" +] +}, +"share": { +"description": "Initiates sharing of the content with the user's family. Empty response indicates success.", +"flatPath": "books/v1/familysharing/share", +"httpMethod": "POST", +"id": "books.familysharing.share", +"parameterOrder": [], +"parameters": { +"docId": { +"description": "The docid to share.", +"location": "query", +"type": "string" +}, +"source": { +"description": "String to identify the originator of this request.", +"location": "query", +"type": "string" +}, +"volumeId": { +"description": "The volume to share.", +"location": "query", +"type": "string" +} +}, +"path": "books/v1/familysharing/share", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/books" +] +}, +"unshare": { +"description": "Initiates revoking content that has already been shared with the user's family. Empty response indicates success.", +"flatPath": "books/v1/familysharing/unshare", +"httpMethod": "POST", +"id": "books.familysharing.unshare", +"parameterOrder": [], +"parameters": { +"docId": { +"description": "The docid to unshare.", +"location": "query", +"type": "string" +}, +"source": { +"description": "String to identify the originator of this request.", +"location": "query", +"type": "string" +}, +"volumeId": { +"description": "The volume to unshare.", +"location": "query", +"type": "string" +} +}, +"path": "books/v1/familysharing/unshare", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/books" +] +} +} +}, +"layers": { +"methods": { +"get": { +"description": "Gets the layer summary for a volume.", +"flatPath": "books/v1/volumes/{volumeId}/layersummary/{summaryId}", +"httpMethod": "GET", +"id": "books.layers.get", +"parameterOrder": [ +"volumeId", +"summaryId" +], +"parameters": { +"contentVersion": { +"description": "The content version for the requested volume.", +"location": "query", +"type": "string" +}, +"source": { +"description": "String to identify the originator of this request.", +"location": "query", +"type": "string" +}, +"summaryId": { +"description": "The ID for the layer to get the summary for.", +"location": "path", +"required": true, +"type": "string" +}, +"volumeId": { +"description": "The volume to retrieve layers for.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "books/v1/volumes/{volumeId}/layersummary/{summaryId}", +"response": { +"$ref": "Layersummary" +}, +"scopes": [ +"https://www.googleapis.com/auth/books" +] +}, +"list": { +"description": "List the layer summaries for a volume.", +"flatPath": "books/v1/volumes/{volumeId}/layersummary", +"httpMethod": "GET", +"id": "books.layers.list", +"parameterOrder": [ +"volumeId" +], +"parameters": { +"contentVersion": { +"description": "The content version for the requested volume.", +"location": "query", +"type": "string" +}, +"maxResults": { +"description": "Maximum number of results to return", +"format": "uint32", +"location": "query", +"maximum": "200", +"minimum": "0", +"type": "integer" +}, +"pageToken": { +"description": "The value of the nextToken from the previous page.", +"location": "query", +"type": "string" +}, +"source": { +"description": "String to identify the originator of this request.", +"location": "query", +"type": "string" +}, +"volumeId": { +"description": "The volume to retrieve layers for.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "books/v1/volumes/{volumeId}/layersummary", +"response": { +"$ref": "Layersummaries" +}, +"scopes": [ +"https://www.googleapis.com/auth/books" +] +} +}, +"resources": { +"annotationData": { +"methods": { +"get": { +"description": "Gets the annotation data.", +"flatPath": "books/v1/volumes/{volumeId}/layers/{layerId}/data/{annotationDataId}", +"httpMethod": "GET", +"id": "books.layers.annotationData.get", +"parameterOrder": [ +"volumeId", +"layerId", +"annotationDataId", +"contentVersion" +], +"parameters": { +"allowWebDefinitions": { +"description": "For the dictionary layer. Whether or not to allow web definitions.", +"location": "query", +"type": "boolean" +}, +"annotationDataId": { +"description": "The ID of the annotation data to retrieve.", +"location": "path", +"required": true, +"type": "string" +}, +"contentVersion": { +"description": "The content version for the volume you are trying to retrieve.", +"location": "query", +"required": true, +"type": "string" +}, +"h": { +"description": "The requested pixel height for any images. If height is provided width must also be provided.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"layerId": { +"description": "The ID for the layer to get the annotations.", +"location": "path", +"required": true, +"type": "string" +}, +"locale": { +"description": "The locale information for the data. ISO-639-1 language and ISO-3166-1 country code. Ex: 'en_US'.", +"location": "query", +"type": "string" +}, +"scale": { +"description": "The requested scale for the image.", +"format": "int32", +"location": "query", +"minimum": "0", +"type": "integer" +}, +"source": { +"description": "String to identify the originator of this request.", +"location": "query", +"type": "string" +}, +"volumeId": { +"description": "The volume to retrieve annotations for.", +"location": "path", +"required": true, +"type": "string" +}, +"w": { +"description": "The requested pixel width for any images. If width is provided height must also be provided.", +"format": "int32", +"location": "query", +"type": "integer" +} +}, +"path": "books/v1/volumes/{volumeId}/layers/{layerId}/data/{annotationDataId}", +"response": { +"$ref": "DictionaryAnnotationdata" +}, +"scopes": [ +"https://www.googleapis.com/auth/books" +] +}, +"list": { +"description": "Gets the annotation data for a volume and layer.", +"flatPath": "books/v1/volumes/{volumeId}/layers/{layerId}/data", +"httpMethod": "GET", +"id": "books.layers.annotationData.list", +"parameterOrder": [ +"volumeId", +"layerId", +"contentVersion" +], +"parameters": { +"annotationDataId": { +"description": "The list of Annotation Data Ids to retrieve. Pagination is ignored if this is set.", +"location": "query", +"repeated": true, +"type": "string" +}, +"contentVersion": { +"description": "The content version for the requested volume.", +"location": "query", +"required": true, +"type": "string" +}, +"h": { +"description": "The requested pixel height for any images. If height is provided width must also be provided.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"layerId": { +"description": "The ID for the layer to get the annotation data.", +"location": "path", +"required": true, +"type": "string" +}, +"locale": { +"description": "The locale information for the data. ISO-639-1 language and ISO-3166-1 country code. Ex: 'en_US'.", +"location": "query", +"type": "string" +}, +"maxResults": { +"description": "Maximum number of results to return", +"format": "uint32", +"location": "query", +"maximum": "200", +"minimum": "0", +"type": "integer" +}, +"pageToken": { +"description": "The value of the nextToken from the previous page.", +"location": "query", +"type": "string" +}, +"scale": { +"description": "The requested scale for the image.", +"format": "int32", +"location": "query", +"minimum": "0", +"type": "integer" +}, +"source": { +"description": "String to identify the originator of this request.", +"location": "query", +"type": "string" +}, +"updatedMax": { +"description": "RFC 3339 timestamp to restrict to items updated prior to this timestamp (exclusive).", +"location": "query", +"type": "string" +}, +"updatedMin": { +"description": "RFC 3339 timestamp to restrict to items updated since this timestamp (inclusive).", +"location": "query", +"type": "string" +}, +"volumeId": { +"description": "The volume to retrieve annotation data for.", +"location": "path", +"required": true, +"type": "string" +}, +"w": { +"description": "The requested pixel width for any images. If width is provided height must also be provided.", +"format": "int32", +"location": "query", +"type": "integer" +} +}, +"path": "books/v1/volumes/{volumeId}/layers/{layerId}/data", +"response": { +"$ref": "Annotationsdata" +}, +"scopes": [ +"https://www.googleapis.com/auth/books" +] +} +} +}, +"volumeAnnotations": { +"methods": { +"get": { +"description": "Gets the volume annotation.", +"flatPath": "books/v1/volumes/{volumeId}/layers/{layerId}/annotations/{annotationId}", +"httpMethod": "GET", +"id": "books.layers.volumeAnnotations.get", +"parameterOrder": [ +"volumeId", +"layerId", +"annotationId" +], +"parameters": { +"annotationId": { +"description": "The ID of the volume annotation to retrieve.", +"location": "path", +"required": true, +"type": "string" +}, +"layerId": { +"description": "The ID for the layer to get the annotations.", +"location": "path", +"required": true, +"type": "string" +}, +"locale": { +"description": "The locale information for the data. ISO-639-1 language and ISO-3166-1 country code. Ex: 'en_US'.", +"location": "query", +"type": "string" +}, +"source": { +"description": "String to identify the originator of this request.", +"location": "query", +"type": "string" +}, +"volumeId": { +"description": "The volume to retrieve annotations for.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "books/v1/volumes/{volumeId}/layers/{layerId}/annotations/{annotationId}", +"response": { +"$ref": "Volumeannotation" +}, +"scopes": [ +"https://www.googleapis.com/auth/books" +] +}, +"list": { +"description": "Gets the volume annotations for a volume and layer.", +"flatPath": "books/v1/volumes/{volumeId}/layers/{layerId}", +"httpMethod": "GET", +"id": "books.layers.volumeAnnotations.list", +"parameterOrder": [ +"volumeId", +"layerId", +"contentVersion" +], +"parameters": { +"contentVersion": { +"description": "The content version for the requested volume.", +"location": "query", +"required": true, +"type": "string" +}, +"endOffset": { +"description": "The end offset to end retrieving data from.", +"location": "query", +"type": "string" +}, +"endPosition": { +"description": "The end position to end retrieving data from.", +"location": "query", +"type": "string" +}, +"layerId": { +"description": "The ID for the layer to get the annotations.", +"location": "path", +"required": true, +"type": "string" +}, +"locale": { +"description": "The locale information for the data. ISO-639-1 language and ISO-3166-1 country code. Ex: 'en_US'.", +"location": "query", +"type": "string" +}, +"maxResults": { +"description": "Maximum number of results to return", +"format": "uint32", +"location": "query", +"maximum": "200", +"minimum": "0", +"type": "integer" +}, +"pageToken": { +"description": "The value of the nextToken from the previous page.", +"location": "query", +"type": "string" +}, +"showDeleted": { +"description": "Set to true to return deleted annotations. updatedMin must be in the request to use this. Defaults to false.", +"location": "query", +"type": "boolean" +}, +"source": { +"description": "String to identify the originator of this request.", +"location": "query", +"type": "string" +}, +"startOffset": { +"description": "The start offset to start retrieving data from.", +"location": "query", +"type": "string" +}, +"startPosition": { +"description": "The start position to start retrieving data from.", +"location": "query", +"type": "string" +}, +"updatedMax": { +"description": "RFC 3339 timestamp to restrict to items updated prior to this timestamp (exclusive).", +"location": "query", +"type": "string" +}, +"updatedMin": { +"description": "RFC 3339 timestamp to restrict to items updated since this timestamp (inclusive).", +"location": "query", +"type": "string" +}, +"volumeAnnotationsVersion": { +"description": "The version of the volume annotations that you are requesting.", +"location": "query", +"type": "string" +}, +"volumeId": { +"description": "The volume to retrieve annotations for.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "books/v1/volumes/{volumeId}/layers/{layerId}", +"response": { +"$ref": "Volumeannotations" +}, +"scopes": [ +"https://www.googleapis.com/auth/books" +] +} +} +} +} +}, +"myconfig": { +"methods": { +"getUserSettings": { +"description": "Gets the current settings for the user.", +"flatPath": "books/v1/myconfig/getUserSettings", +"httpMethod": "GET", +"id": "books.myconfig.getUserSettings", +"parameterOrder": [], +"parameters": { +"country": { +"description": "Unused. Added only to workaround TEX mandatory request template requirement", +"location": "query", +"type": "string" +} +}, +"path": "books/v1/myconfig/getUserSettings", +"response": { +"$ref": "Usersettings" +}, +"scopes": [ +"https://www.googleapis.com/auth/books" +] +}, +"releaseDownloadAccess": { +"description": "Release downloaded content access restriction.", +"flatPath": "books/v1/myconfig/releaseDownloadAccess", +"httpMethod": "POST", +"id": "books.myconfig.releaseDownloadAccess", +"parameterOrder": [ +"cpksver", +"volumeIds" +], +"parameters": { +"cpksver": { +"description": "The device/version ID from which to release the restriction.", +"location": "query", +"required": true, +"type": "string" +}, +"locale": { +"description": "ISO-639-1, ISO-3166-1 codes for message localization, i.e. en_US.", +"location": "query", +"type": "string" +}, +"source": { +"description": "String to identify the originator of this request.", +"location": "query", +"type": "string" +}, +"volumeIds": { +"description": "The volume(s) to release restrictions for.", +"location": "query", +"repeated": true, +"required": true, +"type": "string" +} +}, +"path": "books/v1/myconfig/releaseDownloadAccess", +"response": { +"$ref": "DownloadAccesses" +}, +"scopes": [ +"https://www.googleapis.com/auth/books" +] +}, +"requestAccess": { +"description": "Request concurrent and download access restrictions.", +"flatPath": "books/v1/myconfig/requestAccess", +"httpMethod": "POST", +"id": "books.myconfig.requestAccess", +"parameterOrder": [ +"cpksver", +"nonce", +"source", +"volumeId" +], +"parameters": { +"cpksver": { +"description": "The device/version ID from which to request the restrictions.", +"location": "query", +"required": true, +"type": "string" +}, +"licenseTypes": { +"description": "The type of access license to request. If not specified, the default is BOTH.", +"enum": [ +"LICENSE_TYPES_UNDEFINED", +"BOTH", +"CONCURRENT", +"DOWNLOAD" +], +"enumDescriptions": [ +"", +"Both concurrent and download licenses.", +"Concurrent access license.", +"Offline download access license." +], +"location": "query", +"type": "string" +}, +"locale": { +"description": "ISO-639-1, ISO-3166-1 codes for message localization, i.e. en_US.", +"location": "query", +"type": "string" +}, +"nonce": { +"description": "The client nonce value.", +"location": "query", +"required": true, +"type": "string" +}, +"source": { +"description": "String to identify the originator of this request.", +"location": "query", +"required": true, +"type": "string" +}, +"volumeId": { +"description": "The volume to request concurrent/download restrictions for.", +"location": "query", +"required": true, +"type": "string" +} +}, +"path": "books/v1/myconfig/requestAccess", +"response": { +"$ref": "RequestAccessData" +}, +"scopes": [ +"https://www.googleapis.com/auth/books" +] +}, +"syncVolumeLicenses": { +"description": "Request downloaded content access for specified volumes on the My eBooks shelf.", +"flatPath": "books/v1/myconfig/syncVolumeLicenses", +"httpMethod": "POST", +"id": "books.myconfig.syncVolumeLicenses", +"parameterOrder": [ +"cpksver", +"nonce", +"source" +], +"parameters": { +"cpksver": { +"description": "The device/version ID from which to release the restriction.", +"location": "query", +"required": true, +"type": "string" +}, +"features": { +"description": "List of features supported by the client, i.e., 'RENTALS'", +"enum": [ +"FEATURES_UNDEFINED", +"RENTALS" +], +"enumDescriptions": [ +"", +"Client supports rentals." +], +"location": "query", +"repeated": true, +"type": "string" +}, +"includeNonComicsSeries": { +"description": "Set to true to include non-comics series. Defaults to false.", +"location": "query", +"type": "boolean" +}, +"locale": { +"description": "ISO-639-1, ISO-3166-1 codes for message localization, i.e. en_US.", +"location": "query", +"type": "string" +}, +"nonce": { +"description": "The client nonce value.", +"location": "query", +"required": true, +"type": "string" +}, +"showPreorders": { +"description": "Set to true to show pre-ordered books. Defaults to false.", +"location": "query", +"type": "boolean" +}, +"source": { +"description": "String to identify the originator of this request.", +"location": "query", +"required": true, +"type": "string" +}, +"volumeIds": { +"description": "The volume(s) to request download restrictions for.", +"location": "query", +"repeated": true, +"type": "string" +} +}, +"path": "books/v1/myconfig/syncVolumeLicenses", +"response": { +"$ref": "Volumes" +}, +"scopes": [ +"https://www.googleapis.com/auth/books" +] +}, +"updateUserSettings": { +"description": "Sets the settings for the user. If a sub-object is specified, it will overwrite the existing sub-object stored in the server. Unspecified sub-objects will retain the existing value.", +"flatPath": "books/v1/myconfig/updateUserSettings", +"httpMethod": "POST", +"id": "books.myconfig.updateUserSettings", +"parameterOrder": [], +"parameters": {}, +"path": "books/v1/myconfig/updateUserSettings", +"request": { +"$ref": "Usersettings" +}, +"response": { +"$ref": "Usersettings" +}, +"scopes": [ +"https://www.googleapis.com/auth/books" +] +} +} +}, +"mylibrary": { +"resources": { +"annotations": { +"methods": { +"delete": { +"description": "Deletes an annotation.", +"flatPath": "books/v1/mylibrary/annotations/{annotationId}", +"httpMethod": "DELETE", +"id": "books.mylibrary.annotations.delete", +"parameterOrder": [ +"annotationId" +], +"parameters": { +"annotationId": { +"description": "The ID for the annotation to delete.", +"location": "path", +"required": true, +"type": "string" +}, +"source": { +"description": "String to identify the originator of this request.", +"location": "query", +"type": "string" +} +}, +"path": "books/v1/mylibrary/annotations/{annotationId}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/books" +] +}, +"insert": { +"description": "Inserts a new annotation.", +"flatPath": "books/v1/mylibrary/annotations", +"httpMethod": "POST", +"id": "books.mylibrary.annotations.insert", +"parameterOrder": [], +"parameters": { +"annotationId": { +"description": "The ID for the annotation to insert.", +"location": "query", +"type": "string" +}, +"country": { +"description": "ISO-3166-1 code to override the IP-based location.", +"location": "query", +"type": "string" +}, +"showOnlySummaryInResponse": { +"description": "Requests that only the summary of the specified layer be provided in the response.", +"location": "query", +"type": "boolean" +}, +"source": { +"description": "String to identify the originator of this request.", +"location": "query", +"type": "string" +} +}, +"path": "books/v1/mylibrary/annotations", +"request": { +"$ref": "Annotation" +}, +"response": { +"$ref": "Annotation" +}, +"scopes": [ +"https://www.googleapis.com/auth/books" +] +}, +"list": { +"description": "Retrieves a list of annotations, possibly filtered.", +"flatPath": "books/v1/mylibrary/annotations", +"httpMethod": "GET", +"id": "books.mylibrary.annotations.list", +"parameterOrder": [], +"parameters": { +"contentVersion": { +"description": "The content version for the requested volume.", +"location": "query", +"type": "string" +}, +"layerId": { +"description": "The layer ID to limit annotation by.", +"location": "query", +"type": "string" +}, +"layerIds": { +"description": "The layer ID(s) to limit annotation by.", +"location": "query", +"repeated": true, +"type": "string" +}, +"maxResults": { +"description": "Maximum number of results to return", +"format": "uint32", +"location": "query", +"maximum": "40", +"minimum": "0", +"type": "integer" +}, +"pageToken": { +"description": "The value of the nextToken from the previous page.", +"location": "query", +"type": "string" +}, +"showDeleted": { +"description": "Set to true to return deleted annotations. updatedMin must be in the request to use this. Defaults to false.", +"location": "query", +"type": "boolean" +}, +"source": { +"description": "String to identify the originator of this request.", +"location": "query", +"type": "string" +}, +"updatedMax": { +"description": "RFC 3339 timestamp to restrict to items updated prior to this timestamp (exclusive).", +"location": "query", +"type": "string" +}, +"updatedMin": { +"description": "RFC 3339 timestamp to restrict to items updated since this timestamp (inclusive).", +"location": "query", +"type": "string" +}, +"volumeId": { +"description": "The volume to restrict annotations to.", +"location": "query", +"type": "string" +} +}, +"path": "books/v1/mylibrary/annotations", +"response": { +"$ref": "Annotations" +}, +"scopes": [ +"https://www.googleapis.com/auth/books" +] +}, +"summary": { +"description": "Gets the summary of specified layers.", +"flatPath": "books/v1/mylibrary/annotations/summary", +"httpMethod": "POST", +"id": "books.mylibrary.annotations.summary", +"parameterOrder": [ +"layerIds", +"volumeId" +], +"parameters": { +"layerIds": { +"description": "Array of layer IDs to get the summary for.", +"location": "query", +"repeated": true, +"required": true, +"type": "string" +}, +"source": { +"description": "Optional. String to identify the originator of this request.", +"location": "query", +"type": "string" +}, +"volumeId": { +"description": "Volume id to get the summary for.", +"location": "query", +"required": true, +"type": "string" +} +}, +"path": "books/v1/mylibrary/annotations/summary", +"response": { +"$ref": "AnnotationsSummary" +}, +"scopes": [ +"https://www.googleapis.com/auth/books" +] +}, +"update": { +"description": "Updates an existing annotation.", +"flatPath": "books/v1/mylibrary/annotations/{annotationId}", +"httpMethod": "PUT", +"id": "books.mylibrary.annotations.update", +"parameterOrder": [ +"annotationId" +], +"parameters": { +"annotationId": { +"description": "The ID for the annotation to update.", +"location": "path", +"required": true, +"type": "string" +}, +"source": { +"description": "String to identify the originator of this request.", +"location": "query", +"type": "string" +} +}, +"path": "books/v1/mylibrary/annotations/{annotationId}", +"request": { +"$ref": "Annotation" +}, +"response": { +"$ref": "Annotation" +}, +"scopes": [ +"https://www.googleapis.com/auth/books" +] +} +} +}, +"bookshelves": { +"methods": { +"addVolume": { +"description": "Adds a volume to a bookshelf.", +"flatPath": "books/v1/mylibrary/bookshelves/{shelf}/addVolume", +"httpMethod": "POST", +"id": "books.mylibrary.bookshelves.addVolume", +"parameterOrder": [ +"shelf", +"volumeId" +], +"parameters": { +"reason": { +"description": "The reason for which the book is added to the library.", +"enum": [ +"REASON_UNDEFINED", +"IOS_PREX", +"IOS_SEARCH", +"ONBOARDING" +], +"enumDescriptions": [ +"", +"Volumes added from the PREX flow on iOS.", +"Volumes added from the Search flow on iOS.", +"Volumes added from the Onboarding flow." +], +"location": "query", +"type": "string" +}, +"shelf": { +"description": "ID of bookshelf to which to add a volume.", +"location": "path", +"required": true, +"type": "string" +}, +"source": { +"description": "String to identify the originator of this request.", +"location": "query", +"type": "string" +}, +"volumeId": { +"description": "ID of volume to add.", +"location": "query", +"required": true, +"type": "string" +} +}, +"path": "books/v1/mylibrary/bookshelves/{shelf}/addVolume", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/books" +] +}, +"clearVolumes": { +"description": "Clears all volumes from a bookshelf.", +"flatPath": "books/v1/mylibrary/bookshelves/{shelf}/clearVolumes", +"httpMethod": "POST", +"id": "books.mylibrary.bookshelves.clearVolumes", +"parameterOrder": [ +"shelf" +], +"parameters": { +"shelf": { +"description": "ID of bookshelf from which to remove a volume.", +"location": "path", +"required": true, +"type": "string" +}, +"source": { +"description": "String to identify the originator of this request.", +"location": "query", +"type": "string" +} +}, +"path": "books/v1/mylibrary/bookshelves/{shelf}/clearVolumes", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/books" +] +}, +"get": { +"description": "Retrieves metadata for a specific bookshelf belonging to the authenticated user.", +"flatPath": "books/v1/mylibrary/bookshelves/{shelf}", +"httpMethod": "GET", +"id": "books.mylibrary.bookshelves.get", +"parameterOrder": [ +"shelf" +], +"parameters": { +"shelf": { +"description": "ID of bookshelf to retrieve.", +"location": "path", +"required": true, +"type": "string" +}, +"source": { +"description": "String to identify the originator of this request.", +"location": "query", +"type": "string" +} +}, +"path": "books/v1/mylibrary/bookshelves/{shelf}", +"response": { +"$ref": "Bookshelf" +}, +"scopes": [ +"https://www.googleapis.com/auth/books" +] +}, +"list": { +"description": "Retrieves a list of bookshelves belonging to the authenticated user.", +"flatPath": "books/v1/mylibrary/bookshelves", +"httpMethod": "GET", +"id": "books.mylibrary.bookshelves.list", +"parameterOrder": [], +"parameters": { +"source": { +"description": "String to identify the originator of this request.", +"location": "query", +"type": "string" +} +}, +"path": "books/v1/mylibrary/bookshelves", +"response": { +"$ref": "Bookshelves" +}, +"scopes": [ +"https://www.googleapis.com/auth/books" +] +}, +"moveVolume": { +"description": "Moves a volume within a bookshelf.", +"flatPath": "books/v1/mylibrary/bookshelves/{shelf}/moveVolume", +"httpMethod": "POST", +"id": "books.mylibrary.bookshelves.moveVolume", +"parameterOrder": [ +"shelf", +"volumeId", +"volumePosition" +], +"parameters": { +"shelf": { +"description": "ID of bookshelf with the volume.", +"location": "path", +"required": true, +"type": "string" +}, +"source": { +"description": "String to identify the originator of this request.", +"location": "query", +"type": "string" +}, +"volumeId": { +"description": "ID of volume to move.", +"location": "query", +"required": true, +"type": "string" +}, +"volumePosition": { +"description": "Position on shelf to move the item (0 puts the item before the current first item, 1 puts it between the first and the second and so on.)", +"format": "int32", +"location": "query", +"required": true, +"type": "integer" +} +}, +"path": "books/v1/mylibrary/bookshelves/{shelf}/moveVolume", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/books" +] +}, +"removeVolume": { +"description": "Removes a volume from a bookshelf.", +"flatPath": "books/v1/mylibrary/bookshelves/{shelf}/removeVolume", +"httpMethod": "POST", +"id": "books.mylibrary.bookshelves.removeVolume", +"parameterOrder": [ +"shelf", +"volumeId" +], +"parameters": { +"reason": { +"description": "The reason for which the book is removed from the library.", +"enum": [ +"REASON_UNDEFINED", +"ONBOARDING" +], +"enumDescriptions": [ +"", +"Samples removed from the Onboarding flow." +], +"location": "query", +"type": "string" +}, +"shelf": { +"description": "ID of bookshelf from which to remove a volume.", +"location": "path", +"required": true, +"type": "string" +}, +"source": { +"description": "String to identify the originator of this request.", +"location": "query", +"type": "string" +}, +"volumeId": { +"description": "ID of volume to remove.", +"location": "query", +"required": true, +"type": "string" +} +}, +"path": "books/v1/mylibrary/bookshelves/{shelf}/removeVolume", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/books" +] +} +}, +"resources": { +"volumes": { +"methods": { +"list": { +"description": "Gets volume information for volumes on a bookshelf.", +"flatPath": "books/v1/mylibrary/bookshelves/{shelf}/volumes", +"httpMethod": "GET", +"id": "books.mylibrary.bookshelves.volumes.list", +"parameterOrder": [ +"shelf" +], +"parameters": { +"country": { +"description": "ISO-3166-1 code to override the IP-based location.", +"location": "query", +"type": "string" +}, +"maxResults": { +"description": "Maximum number of results to return", +"format": "uint32", +"location": "query", +"minimum": "0", +"type": "integer" +}, +"projection": { +"description": "Restrict information returned to a set of selected fields.", +"enum": [ +"PROJECTION_UNDEFINED", +"FULL", +"LITE" +], +"enumDescriptions": [ +"", +"Includes all volume data.", +"Includes a subset of fields in volumeInfo and accessInfo." +], +"location": "query", +"type": "string" +}, +"q": { +"description": "Full-text search query string in this bookshelf.", +"location": "query", +"type": "string" +}, +"shelf": { +"description": "The bookshelf ID or name retrieve volumes for.", +"location": "path", +"required": true, +"type": "string" +}, +"showPreorders": { +"description": "Set to true to show pre-ordered books. Defaults to false.", +"location": "query", +"type": "boolean" +}, +"source": { +"description": "String to identify the originator of this request.", +"location": "query", +"type": "string" +}, +"startIndex": { +"description": "Index of the first element to return (starts at 0)", +"format": "uint32", +"location": "query", +"minimum": "0", +"type": "integer" +} +}, +"path": "books/v1/mylibrary/bookshelves/{shelf}/volumes", +"response": { +"$ref": "Volumes" +}, +"scopes": [ +"https://www.googleapis.com/auth/books" +] +} +} +} +} +}, +"readingpositions": { +"methods": { +"get": { +"description": "Retrieves my reading position information for a volume.", +"flatPath": "books/v1/mylibrary/readingpositions/{volumeId}", +"httpMethod": "GET", +"id": "books.mylibrary.readingpositions.get", +"parameterOrder": [ +"volumeId" +], +"parameters": { +"contentVersion": { +"description": "Volume content version for which this reading position is requested.", +"location": "query", +"type": "string" +}, +"source": { +"description": "String to identify the originator of this request.", +"location": "query", +"type": "string" +}, +"volumeId": { +"description": "ID of volume for which to retrieve a reading position.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "books/v1/mylibrary/readingpositions/{volumeId}", +"response": { +"$ref": "ReadingPosition" +}, +"scopes": [ +"https://www.googleapis.com/auth/books" +] +}, +"setPosition": { +"description": "Sets my reading position information for a volume.", +"flatPath": "books/v1/mylibrary/readingpositions/{volumeId}/setPosition", +"httpMethod": "POST", +"id": "books.mylibrary.readingpositions.setPosition", +"parameterOrder": [ +"volumeId", +"position", +"timestamp" +], +"parameters": { +"action": { +"description": "Action that caused this reading position to be set.", +"enum": [ +"ACTION_UNDEFINED", +"bookmark", +"chapter", +"next-page", +"prev-page", +"scroll", +"search" +], +"enumDescriptions": [ +"", +"User chose bookmark within volume.", +"User selected chapter from list.", +"Next page event.", +"Previous page event.", +"User navigated to page.", +"User chose search results within volume." +], +"location": "query", +"type": "string" +}, +"contentVersion": { +"description": "Volume content version for which this reading position applies.", +"location": "query", +"type": "string" +}, +"deviceCookie": { +"description": "Random persistent device cookie optional on set position.", +"location": "query", +"type": "string" +}, +"position": { +"description": "Position string for the new volume reading position.", +"location": "query", +"required": true, +"type": "string" +}, +"source": { +"description": "String to identify the originator of this request.", +"location": "query", +"type": "string" +}, +"timestamp": { +"description": "RFC 3339 UTC format timestamp associated with this reading position.", +"location": "query", +"required": true, +"type": "string" +}, +"volumeId": { +"description": "ID of volume for which to update the reading position.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "books/v1/mylibrary/readingpositions/{volumeId}/setPosition", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/books" +] +} +} +} +} +}, +"notification": { +"methods": { +"get": { +"description": "Returns notification details for a given notification id.", +"flatPath": "books/v1/notification/get", +"httpMethod": "GET", +"id": "books.notification.get", +"parameterOrder": [ +"notification_id" +], +"parameters": { +"locale": { +"description": "ISO-639-1 language and ISO-3166-1 country code. Ex: 'en_US'. Used for generating notification title and body.", +"location": "query", +"type": "string" +}, +"notification_id": { +"description": "String to identify the notification.", +"location": "query", +"required": true, +"type": "string" +}, +"source": { +"description": "String to identify the originator of this request.", +"location": "query", +"type": "string" +} +}, +"path": "books/v1/notification/get", +"response": { +"$ref": "Notification" +}, +"scopes": [ +"https://www.googleapis.com/auth/books" +] +} +} +}, +"onboarding": { +"methods": { +"listCategories": { +"description": "List categories for onboarding experience.", +"flatPath": "books/v1/onboarding/listCategories", +"httpMethod": "GET", +"id": "books.onboarding.listCategories", +"parameterOrder": [], +"parameters": { +"locale": { +"description": "ISO-639-1 language and ISO-3166-1 country code. Default is en-US if unset.", +"location": "query", +"type": "string" +} +}, +"path": "books/v1/onboarding/listCategories", +"response": { +"$ref": "Category" +}, +"scopes": [ +"https://www.googleapis.com/auth/books" +] +}, +"listCategoryVolumes": { +"description": "List available volumes under categories for onboarding experience.", +"flatPath": "books/v1/onboarding/listCategoryVolumes", +"httpMethod": "GET", +"id": "books.onboarding.listCategoryVolumes", +"parameterOrder": [], +"parameters": { +"categoryId": { +"description": "List of category ids requested.", +"location": "query", +"repeated": true, +"type": "string" +}, +"locale": { +"description": "ISO-639-1 language and ISO-3166-1 country code. Default is en-US if unset.", +"location": "query", +"type": "string" +}, +"maxAllowedMaturityRating": { +"description": "The maximum allowed maturity rating of returned volumes. Books with a higher maturity rating are filtered out.", +"enum": [ +"MAX_ALLOWED_MATURITY_RATING_UNDEFINED", +"MATURE", +"not-mature" +], +"enumDescriptions": [ +"", +"Show books which are rated mature or lower.", +"Show books which are rated not mature." +], +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Number of maximum results per page to be included in the response.", +"format": "uint32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The value of the nextToken from the previous page.", +"location": "query", +"type": "string" +} +}, +"path": "books/v1/onboarding/listCategoryVolumes", +"response": { +"$ref": "Volume2" +}, +"scopes": [ +"https://www.googleapis.com/auth/books" +] +} +} +}, +"personalizedstream": { +"methods": { +"get": { +"description": "Returns a stream of personalized book clusters", +"flatPath": "books/v1/personalizedstream/get", +"httpMethod": "GET", +"id": "books.personalizedstream.get", +"parameterOrder": [], +"parameters": { +"locale": { +"description": "ISO-639-1 language and ISO-3166-1 country code. Ex: 'en_US'. Used for generating recommendations.", +"location": "query", +"type": "string" +}, +"maxAllowedMaturityRating": { +"description": "The maximum allowed maturity rating of returned recommendations. Books with a higher maturity rating are filtered out.", +"enum": [ +"MAX_ALLOWED_MATURITY_RATING_UNDEFINED", +"MATURE", +"not-mature" +], +"enumDescriptions": [ +"", +"Show books which are rated mature or lower.", +"Show books which are rated not mature." +], +"location": "query", +"type": "string" +}, +"source": { +"description": "String to identify the originator of this request.", +"location": "query", +"type": "string" +} +}, +"path": "books/v1/personalizedstream/get", +"response": { +"$ref": "Discoveryclusters" +}, +"scopes": [ +"https://www.googleapis.com/auth/books" +] +} +} +}, +"promooffer": { +"methods": { +"accept": { +"description": "Accepts the promo offer.", +"flatPath": "books/v1/promooffer/accept", +"httpMethod": "POST", +"id": "books.promooffer.accept", +"parameterOrder": [], +"parameters": { +"androidId": { +"description": "device android_id", +"location": "query", +"type": "string" +}, +"device": { +"description": "device device", +"location": "query", +"type": "string" +}, +"manufacturer": { +"description": "device manufacturer", +"location": "query", +"type": "string" +}, +"model": { +"description": "device model", +"location": "query", +"type": "string" +}, +"offerId": { +"location": "query", +"type": "string" +}, +"product": { +"description": "device product", +"location": "query", +"type": "string" +}, +"serial": { +"description": "device serial", +"location": "query", +"type": "string" +}, +"volumeId": { +"description": "Volume id to exercise the offer", +"location": "query", +"type": "string" +} +}, +"path": "books/v1/promooffer/accept", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/books" +] +}, +"dismiss": { +"description": "Marks the promo offer as dismissed.", +"flatPath": "books/v1/promooffer/dismiss", +"httpMethod": "POST", +"id": "books.promooffer.dismiss", +"parameterOrder": [], +"parameters": { +"androidId": { +"description": "device android_id", +"location": "query", +"type": "string" +}, +"device": { +"description": "device device", +"location": "query", +"type": "string" +}, +"manufacturer": { +"description": "device manufacturer", +"location": "query", +"type": "string" +}, +"model": { +"description": "device model", +"location": "query", +"type": "string" +}, +"offerId": { +"description": "Offer to dimiss", +"location": "query", +"type": "string" +}, +"product": { +"description": "device product", +"location": "query", +"type": "string" +}, +"serial": { +"description": "device serial", +"location": "query", +"type": "string" +} +}, +"path": "books/v1/promooffer/dismiss", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/books" +] +}, +"get": { +"description": "Returns a list of promo offers available to the user", +"flatPath": "books/v1/promooffer/get", +"httpMethod": "GET", +"id": "books.promooffer.get", +"parameterOrder": [], +"parameters": { +"androidId": { +"description": "device android_id", +"location": "query", +"type": "string" +}, +"device": { +"description": "device device", +"location": "query", +"type": "string" +}, +"manufacturer": { +"description": "device manufacturer", +"location": "query", +"type": "string" +}, +"model": { +"description": "device model", +"location": "query", +"type": "string" +}, +"product": { +"description": "device product", +"location": "query", +"type": "string" +}, +"serial": { +"description": "device serial", +"location": "query", +"type": "string" +} +}, +"path": "books/v1/promooffer/get", +"response": { +"$ref": "Offers" +}, +"scopes": [ +"https://www.googleapis.com/auth/books" +] +} +} +}, +"series": { +"methods": { +"get": { +"description": "Returns Series metadata for the given series ids.", +"flatPath": "books/v1/series/get", +"httpMethod": "GET", +"id": "books.series.get", +"parameterOrder": [ +"series_id" +], +"parameters": { +"series_id": { +"description": "String that identifies the series", +"location": "query", +"repeated": true, +"required": true, +"type": "string" +} +}, +"path": "books/v1/series/get", +"response": { +"$ref": "Series" +}, +"scopes": [ +"https://www.googleapis.com/auth/books" +] +} +}, +"resources": { +"membership": { +"methods": { +"get": { +"description": "Returns Series membership data given the series id.", +"flatPath": "books/v1/series/membership/get", +"httpMethod": "GET", +"id": "books.series.membership.get", +"parameterOrder": [ +"series_id" +], +"parameters": { +"page_size": { +"description": "Number of maximum results per page to be included in the response.", +"format": "uint32", +"location": "query", +"type": "integer" +}, +"page_token": { +"description": "The value of the nextToken from the previous page.", +"location": "query", +"type": "string" +}, +"series_id": { +"description": "String that identifies the series", +"location": "query", +"required": true, +"type": "string" +} +}, +"path": "books/v1/series/membership/get", +"response": { +"$ref": "Seriesmembership" +}, +"scopes": [ +"https://www.googleapis.com/auth/books" +] +} +} +} +} +}, +"volumes": { +"methods": { +"get": { +"description": "Gets volume information for a single volume.", +"flatPath": "books/v1/volumes/{volumeId}", +"httpMethod": "GET", +"id": "books.volumes.get", +"parameterOrder": [ +"volumeId" +], +"parameters": { +"country": { +"description": "ISO-3166-1 code to override the IP-based location.", +"location": "query", +"type": "string" +}, +"includeNonComicsSeries": { +"description": "Set to true to include non-comics series. Defaults to false.", +"location": "query", +"type": "boolean" +}, +"partner": { +"description": "Brand results for partner ID.", +"location": "query", +"type": "string" +}, +"projection": { +"description": "Restrict information returned to a set of selected fields.", +"enum": [ +"PROJECTION_UNDEFINED", +"FULL", +"LITE" +], +"enumDescriptions": [ +"", +"Includes all volume data.", +"Includes a subset of fields in volumeInfo and accessInfo." +], +"location": "query", +"type": "string" +}, +"source": { +"description": "string to identify the originator of this request.", +"location": "query", +"type": "string" +}, +"user_library_consistent_read": { +"location": "query", +"type": "boolean" +}, +"volumeId": { +"description": "ID of volume to retrieve.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "books/v1/volumes/{volumeId}", +"response": { +"$ref": "Volume" +}, +"scopes": [ +"https://www.googleapis.com/auth/books" +] +}, +"list": { +"description": "Performs a book search.", +"flatPath": "books/v1/volumes", +"httpMethod": "GET", +"id": "books.volumes.list", +"parameterOrder": [ +"q" +], +"parameters": { +"download": { +"description": "Restrict to volumes by download availability.", +"enum": [ +"DOWNLOAD_UNDEFINED", +"EPUB" +], +"enumDescriptions": [ +"", +"All volumes with epub." +], +"location": "query", +"type": "string" +}, +"filter": { +"description": "Filter search results.", +"enum": [ +"FILTER_UNDEFINED", +"ebooks", +"free-ebooks", +"full", +"paid-ebooks", +"partial" +], +"enumDescriptions": [ +"", +"All Google eBooks.", +"Google eBook with full volume text viewability.", +"Public can view entire volume text.", +"Google eBook with a price.", +"Public able to see parts of text." +], +"location": "query", +"type": "string" +}, +"langRestrict": { +"description": "Restrict results to books with this language code.", +"location": "query", +"type": "string" +}, +"libraryRestrict": { +"description": "Restrict search to this user's library.", +"enum": [ +"LIBRARY_RESTRICT_UNDEFINED", +"my-library", +"no-restrict" +], +"enumDescriptions": [ +"", +"Restrict to the user's library, any shelf.", +"Do not restrict based on user's library." +], +"location": "query", +"type": "string" +}, +"maxAllowedMaturityRating": { +"description": "The maximum allowed maturity rating of returned recommendations. Books with a higher maturity rating are filtered out.", +"enum": [ +"MAX_ALLOWED_MATURITY_RATING_UNDEFINED", +"MATURE", +"not-mature" +], +"enumDescriptions": [ +"", +"Show books which are rated mature or lower.", +"Show books which are rated not mature." +], +"location": "query", +"type": "string" +}, +"maxResults": { +"description": "Maximum number of results to return.", +"format": "uint32", +"location": "query", +"maximum": "40", +"minimum": "0", +"type": "integer" +}, +"orderBy": { +"description": "Sort search results.", +"enum": [ +"ORDER_BY_UNDEFINED", +"newest", +"relevance" +], +"enumDescriptions": [ +"", +"Most recently published.", +"Relevance to search terms." +], +"location": "query", +"type": "string" +}, +"partner": { +"description": "Restrict and brand results for partner ID.", +"location": "query", +"type": "string" +}, +"printType": { +"description": "Restrict to books or magazines.", +"enum": [ +"PRINT_TYPE_UNDEFINED", +"ALL", +"BOOKS", +"MAGAZINES" +], +"enumDescriptions": [ +"", +"All volume content types.", +"Just books.", +"Just magazines." +], +"location": "query", +"type": "string" +}, +"projection": { +"description": "Restrict information returned to a set of selected fields.", +"enum": [ +"PROJECTION_UNDEFINED", +"FULL", +"LITE" +], +"enumDescriptions": [ +"", +"Includes all volume data.", +"Includes a subset of fields in volumeInfo and accessInfo." +], +"location": "query", +"type": "string" +}, +"q": { +"description": "Full-text search query string.", +"location": "query", +"required": true, +"type": "string" +}, +"showPreorders": { +"description": "Set to true to show books available for preorder. Defaults to false.", +"location": "query", +"type": "boolean" +}, +"source": { +"description": "String to identify the originator of this request.", +"location": "query", +"type": "string" +}, +"startIndex": { +"description": "Index of the first result to return (starts at 0)", +"format": "uint32", +"location": "query", +"minimum": "0", +"type": "integer" +} +}, +"path": "books/v1/volumes", +"response": { +"$ref": "Volumes" +}, +"scopes": [ +"https://www.googleapis.com/auth/books" +] +} +}, +"resources": { +"associated": { +"methods": { +"list": { +"description": "Return a list of associated books.", +"flatPath": "books/v1/volumes/{volumeId}/associated", +"httpMethod": "GET", +"id": "books.volumes.associated.list", +"parameterOrder": [ +"volumeId" +], +"parameters": { +"association": { +"description": "Association type.", +"enum": [ +"ASSOCIATION_UNDEFINED", +"end-of-sample", +"end-of-volume", +"related-for-play" +], +"enumDescriptions": [ +"", +"Recommendations for display end-of-sample.", +"Recommendations for display end-of-volume.", +"Related volumes for Play Store." +], +"location": "query", +"type": "string" +}, +"locale": { +"description": "ISO-639-1 language and ISO-3166-1 country code. Ex: 'en_US'. Used for generating recommendations.", +"location": "query", +"type": "string" +}, +"maxAllowedMaturityRating": { +"description": "The maximum allowed maturity rating of returned recommendations. Books with a higher maturity rating are filtered out.", +"enum": [ +"MAX_ALLOWED_MATURITY_RATING_UNDEFINED", +"MATURE", +"not-mature" +], +"enumDescriptions": [ +"", +"Show books which are rated mature or lower.", +"Show books which are rated not mature." +], +"location": "query", +"type": "string" +}, +"source": { +"description": "String to identify the originator of this request.", +"location": "query", +"type": "string" +}, +"volumeId": { +"description": "ID of the source volume.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "books/v1/volumes/{volumeId}/associated", +"response": { +"$ref": "Volumes" +}, +"scopes": [ +"https://www.googleapis.com/auth/books" +] +} +} +}, +"mybooks": { +"methods": { +"list": { +"description": "Return a list of books in My Library.", +"flatPath": "books/v1/volumes/mybooks", +"httpMethod": "GET", +"id": "books.volumes.mybooks.list", +"parameterOrder": [], +"parameters": { +"acquireMethod": { +"description": "How the book was acquired", +"enum": [ +"ACQUIRE_METHOD_UNDEFINED", +"FAMILY_SHARED", +"PREORDERED", +"PREVIOUSLY_RENTED", +"PUBLIC_DOMAIN", +"PURCHASED", +"RENTED", +"SAMPLE", +"UPLOADED" +], +"enumDescriptions": [ +"", +"Books acquired via Family Sharing", +"Preordered books (not yet available)", +"User-rented books past their expiration time", +"Public domain books", +"Purchased books", +"User-rented books", +"Sample books", +"User uploaded books" +], +"location": "query", +"repeated": true, +"type": "string" +}, +"country": { +"description": "ISO-3166-1 code to override the IP-based location.", +"location": "query", +"type": "string" +}, +"locale": { +"description": "ISO-639-1 language and ISO-3166-1 country code. Ex:'en_US'. Used for generating recommendations.", +"location": "query", +"type": "string" +}, +"maxResults": { +"description": "Maximum number of results to return.", +"format": "uint32", +"location": "query", +"maximum": "100", +"minimum": "0", +"type": "integer" +}, +"processingState": { +"description": "The processing state of the user uploaded volumes to be returned. Applicable only if the UPLOADED is specified in the acquireMethod.", +"enum": [ +"PROCESSING_STATE_UNDEFINED", +"COMPLETED_FAILED", +"COMPLETED_SUCCESS", +"RUNNING" +], +"enumDescriptions": [ +"", +"The volume processing hase failed.", +"The volume processing was completed.", +"The volume processing is not completed." +], +"location": "query", +"repeated": true, +"type": "string" +}, +"source": { +"description": "String to identify the originator of this request.", +"location": "query", +"type": "string" +}, +"startIndex": { +"description": "Index of the first result to return (starts at 0)", +"format": "uint32", +"location": "query", +"minimum": "0", +"type": "integer" +} +}, +"path": "books/v1/volumes/mybooks", +"response": { +"$ref": "Volumes" +}, +"scopes": [ +"https://www.googleapis.com/auth/books" +] +} +} +}, +"recommended": { +"methods": { +"list": { +"description": "Return a list of recommended books for the current user.", +"flatPath": "books/v1/volumes/recommended", +"httpMethod": "GET", +"id": "books.volumes.recommended.list", +"parameterOrder": [], +"parameters": { +"locale": { +"description": "ISO-639-1 language and ISO-3166-1 country code. Ex: 'en_US'. Used for generating recommendations.", +"location": "query", +"type": "string" +}, +"maxAllowedMaturityRating": { +"description": "The maximum allowed maturity rating of returned recommendations. Books with a higher maturity rating are filtered out.", +"enum": [ +"MAX_ALLOWED_MATURITY_RATING_UNDEFINED", +"MATURE", +"not-mature" +], +"enumDescriptions": [ +"", +"Show books which are rated mature or lower.", +"Show books which are rated not mature." +], +"location": "query", +"type": "string" +}, +"source": { +"description": "String to identify the originator of this request.", +"location": "query", +"type": "string" +} +}, +"path": "books/v1/volumes/recommended", +"response": { +"$ref": "Volumes" +}, +"scopes": [ +"https://www.googleapis.com/auth/books" +] +}, +"rate": { +"description": "Rate a recommended book for the current user.", +"flatPath": "books/v1/volumes/recommended/rate", +"httpMethod": "POST", +"id": "books.volumes.recommended.rate", +"parameterOrder": [ +"rating", +"volumeId" +], +"parameters": { +"locale": { +"description": "ISO-639-1 language and ISO-3166-1 country code. Ex: 'en_US'. Used for generating recommendations.", +"location": "query", +"type": "string" +}, +"rating": { +"description": "Rating to be given to the volume.", +"enum": [ +"RATING_UNDEFINED", +"HAVE_IT", +"NOT_INTERESTED" +], +"enumDescriptions": [ +"", +"Rating indicating a dismissal due to ownership.", +"Rating indicating a negative dismissal of a volume." +], +"location": "query", +"required": true, +"type": "string" +}, +"source": { +"description": "String to identify the originator of this request.", +"location": "query", +"type": "string" +}, +"volumeId": { +"description": "ID of the source volume.", +"location": "query", +"required": true, +"type": "string" +} +}, +"path": "books/v1/volumes/recommended/rate", +"response": { +"$ref": "BooksVolumesRecommendedRateResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/books" +] +} +} +}, +"useruploaded": { +"methods": { +"list": { +"description": "Return a list of books uploaded by the current user.", +"flatPath": "books/v1/volumes/useruploaded", +"httpMethod": "GET", +"id": "books.volumes.useruploaded.list", +"parameterOrder": [], +"parameters": { +"locale": { +"description": "ISO-639-1 language and ISO-3166-1 country code. Ex: 'en_US'. Used for generating recommendations.", +"location": "query", +"type": "string" +}, +"maxResults": { +"description": "Maximum number of results to return.", +"format": "uint32", +"location": "query", +"maximum": "40", +"minimum": "0", +"type": "integer" +}, +"processingState": { +"description": "The processing state of the user uploaded volumes to be returned.", +"enum": [ +"PROCESSING_STATE_UNDEFINED", +"COMPLETED_FAILED", +"COMPLETED_SUCCESS", +"RUNNING" +], +"enumDescriptions": [ +"", +"The volume processing hase failed.", +"The volume processing was completed.", +"The volume processing is not completed." +], +"location": "query", +"repeated": true, +"type": "string" +}, +"source": { +"description": "String to identify the originator of this request.", +"location": "query", +"type": "string" +}, +"startIndex": { +"description": "Index of the first result to return (starts at 0)", +"format": "uint32", +"location": "query", +"minimum": "0", +"type": "integer" +}, +"volumeId": { +"description": "The ids of the volumes to be returned. If not specified all that match the processingState are returned.", +"location": "query", +"repeated": true, +"type": "string" +} +}, +"path": "books/v1/volumes/useruploaded", +"response": { +"$ref": "Volumes" +}, +"scopes": [ +"https://www.googleapis.com/auth/books" +] +} +} +} +} +} +}, +"revision": "20240625", +"rootUrl": "https://books.googleapis.com/", +"schemas": { +"Annotation": { +"id": "Annotation", +"properties": { +"afterSelectedText": { +"description": "Anchor text after excerpt. For requests, if the user bookmarked a screen that has no flowing text on it, then this field should be empty.", +"type": "string" +}, +"beforeSelectedText": { +"description": "Anchor text before excerpt. For requests, if the user bookmarked a screen that has no flowing text on it, then this field should be empty.", +"type": "string" +}, +"clientVersionRanges": { +"description": "Selection ranges sent from the client.", +"properties": { +"cfiRange": { +"$ref": "BooksAnnotationsRange", +"description": "Range in CFI format for this annotation sent by client." +}, +"contentVersion": { +"description": "Content version the client sent in.", +"type": "string" +}, +"gbImageRange": { +"$ref": "BooksAnnotationsRange", +"description": "Range in GB image format for this annotation sent by client." +}, +"gbTextRange": { +"$ref": "BooksAnnotationsRange", +"description": "Range in GB text format for this annotation sent by client." +}, +"imageCfiRange": { +"$ref": "BooksAnnotationsRange", +"description": "Range in image CFI format for this annotation sent by client." +} +}, +"type": "object" +}, +"created": { +"description": "Timestamp for the created time of this annotation.", +"type": "string" +}, +"currentVersionRanges": { +"description": "Selection ranges for the most recent content version.", +"properties": { +"cfiRange": { +"$ref": "BooksAnnotationsRange", +"description": "Range in CFI format for this annotation for version above." +}, +"contentVersion": { +"description": "Content version applicable to ranges below.", +"type": "string" +}, +"gbImageRange": { +"$ref": "BooksAnnotationsRange", +"description": "Range in GB image format for this annotation for version above." +}, +"gbTextRange": { +"$ref": "BooksAnnotationsRange", +"description": "Range in GB text format for this annotation for version above." +}, +"imageCfiRange": { +"$ref": "BooksAnnotationsRange", +"description": "Range in image CFI format for this annotation for version above." +} +}, +"type": "object" +}, +"data": { +"description": "User-created data for this annotation.", +"type": "string" +}, +"deleted": { +"description": "Indicates that this annotation is deleted.", +"type": "boolean" +}, +"highlightStyle": { +"description": "The highlight style for this annotation.", +"type": "string" +}, +"id": { +"description": "Id of this annotation, in the form of a GUID.", +"type": "string" +}, +"kind": { +"description": "Resource type.", +"type": "string" +}, +"layerId": { +"description": "The layer this annotation is for.", +"type": "string" +}, +"layerSummary": { +"properties": { +"allowedCharacterCount": { +"description": "Maximum allowed characters on this layer, especially for the \"copy\" layer.", +"format": "int32", +"type": "integer" +}, +"limitType": { +"description": "Type of limitation on this layer. \"limited\" or \"unlimited\" for the \"copy\" layer.", +"type": "string" +}, +"remainingCharacterCount": { +"description": "Remaining allowed characters on this layer, especially for the \"copy\" layer.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"pageIds": { +"description": "Pages that this annotation spans.", +"items": { +"type": "string" +}, +"type": "array" +}, +"selectedText": { +"description": "Excerpt from the volume.", +"type": "string" +}, +"selfLink": { +"description": "URL to this resource.", +"type": "string" +}, +"updated": { +"description": "Timestamp for the last time this annotation was modified.", +"type": "string" +}, +"volumeId": { +"description": "The volume that this annotation belongs to.", +"type": "string" +} +}, +"type": "object" +}, +"Annotations": { +"id": "Annotations", +"properties": { +"items": { +"description": "A list of annotations.", +"items": { +"$ref": "Annotation" +}, +"type": "array" +}, +"kind": { +"description": "Resource type.", +"type": "string" +}, +"nextPageToken": { +"description": "Token to pass in for pagination for the next page. This will not be present if this request does not have more results.", +"type": "string" +}, +"totalItems": { +"description": "Total number of annotations found. This may be greater than the number of notes returned in this response if results have been paginated.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"AnnotationsSummary": { +"id": "AnnotationsSummary", +"properties": { +"kind": { +"type": "string" +}, +"layers": { +"items": { +"properties": { +"allowedCharacterCount": { +"format": "int32", +"type": "integer" +}, +"layerId": { +"type": "string" +}, +"limitType": { +"type": "string" +}, +"remainingCharacterCount": { +"format": "int32", +"type": "integer" +}, +"updated": { +"type": "string" +} +}, +"type": "object" +}, +"type": "array" +} +}, +"type": "object" +}, +"Annotationsdata": { +"id": "Annotationsdata", +"properties": { +"items": { +"description": "A list of Annotation Data.", +"items": { +"$ref": "GeoAnnotationdata" +}, +"type": "array" +}, +"kind": { +"description": "Resource type", +"type": "string" +}, +"nextPageToken": { +"description": "Token to pass in for pagination for the next page. This will not be present if this request does not have more results.", +"type": "string" +}, +"totalItems": { +"description": "The total number of volume annotations found.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"BooksAnnotationsRange": { +"id": "BooksAnnotationsRange", +"properties": { +"endOffset": { +"description": "The offset from the ending position.", +"type": "string" +}, +"endPosition": { +"description": "The ending position for the range.", +"type": "string" +}, +"startOffset": { +"description": "The offset from the starting position.", +"type": "string" +}, +"startPosition": { +"description": "The starting position for the range.", +"type": "string" +} +}, +"type": "object" +}, +"BooksCloudloadingResource": { +"id": "BooksCloudloadingResource", +"properties": { +"author": { +"type": "string" +}, +"processingState": { +"type": "string" +}, +"title": { +"type": "string" +}, +"volumeId": { +"type": "string" +} +}, +"type": "object" +}, +"BooksVolumesRecommendedRateResponse": { +"id": "BooksVolumesRecommendedRateResponse", +"properties": { +"consistency_token": { +"type": "string" +} +}, +"type": "object" +}, +"Bookshelf": { +"id": "Bookshelf", +"properties": { +"access": { +"description": "Whether this bookshelf is PUBLIC or PRIVATE.", +"type": "string" +}, +"created": { +"description": "Created time for this bookshelf (formatted UTC timestamp with millisecond resolution).", +"type": "string" +}, +"description": { +"description": "Description of this bookshelf.", +"type": "string" +}, +"id": { +"description": "Id of this bookshelf, only unique by user.", +"format": "int32", +"type": "integer" +}, +"kind": { +"description": "Resource type for bookshelf metadata.", +"type": "string" +}, +"selfLink": { +"description": "URL to this resource.", +"type": "string" +}, +"title": { +"description": "Title of this bookshelf.", +"type": "string" +}, +"updated": { +"description": "Last modified time of this bookshelf (formatted UTC timestamp with millisecond resolution).", +"type": "string" +}, +"volumeCount": { +"description": "Number of volumes in this bookshelf.", +"format": "int32", +"type": "integer" +}, +"volumesLastUpdated": { +"description": "Last time a volume was added or removed from this bookshelf (formatted UTC timestamp with millisecond resolution).", +"type": "string" +} +}, +"type": "object" +}, +"Bookshelves": { +"id": "Bookshelves", +"properties": { +"items": { +"description": "A list of bookshelves.", +"items": { +"$ref": "Bookshelf" +}, +"type": "array" +}, +"kind": { +"description": "Resource type.", +"type": "string" +} +}, +"type": "object" +}, +"Category": { +"id": "Category", +"properties": { +"items": { +"description": "A list of onboarding categories.", +"items": { +"properties": { +"badgeUrl": { +"type": "string" +}, +"categoryId": { +"type": "string" +}, +"name": { +"type": "string" +} +}, +"type": "object" +}, +"type": "array" +}, +"kind": { +"description": "Resource type.", +"type": "string" +} +}, +"type": "object" +}, +"ConcurrentAccessRestriction": { +"id": "ConcurrentAccessRestriction", +"properties": { +"deviceAllowed": { +"description": "Whether access is granted for this (user, device, volume).", +"type": "boolean" +}, +"kind": { +"description": "Resource type.", +"type": "string" +}, +"maxConcurrentDevices": { +"description": "The maximum number of concurrent access licenses for this volume.", +"format": "int32", +"type": "integer" +}, +"message": { +"description": "Error/warning message.", +"type": "string" +}, +"nonce": { +"description": "Client nonce for verification. Download access and client-validation only.", +"type": "string" +}, +"reasonCode": { +"description": "Error/warning reason code.", +"type": "string" +}, +"restricted": { +"description": "Whether this volume has any concurrent access restrictions.", +"type": "boolean" +}, +"signature": { +"description": "Response signature.", +"type": "string" +}, +"source": { +"description": "Client app identifier for verification. Download access and client-validation only.", +"type": "string" +}, +"timeWindowSeconds": { +"description": "Time in seconds for license auto-expiration.", +"format": "int32", +"type": "integer" +}, +"volumeId": { +"description": "Identifies the volume for which this entry applies.", +"type": "string" +} +}, +"type": "object" +}, +"DictionaryAnnotationdata": { +"id": "DictionaryAnnotationdata", +"properties": { +"annotationType": { +"description": "The type of annotation this data is for.", +"type": "string" +}, +"data": { +"$ref": "Dictlayerdata", +"description": "JSON encoded data for this dictionary annotation data. Emitted with name 'data' in JSON output. Either this or geo_data will be populated." +}, +"encodedData": { +"description": "Base64 encoded data for this annotation data.", +"format": "byte", +"type": "string" +}, +"id": { +"description": "Unique id for this annotation data.", +"type": "string" +}, +"kind": { +"description": "Resource Type", +"type": "string" +}, +"layerId": { +"description": "The Layer id for this data. *", +"type": "string" +}, +"selfLink": { +"description": "URL for this resource. *", +"type": "string" +}, +"updated": { +"description": "Timestamp for the last time this data was updated. (RFC 3339 UTC date-time format).", +"type": "string" +}, +"volumeId": { +"description": "The volume id for this data. *", +"type": "string" +} +}, +"type": "object" +}, +"Dictlayerdata": { +"id": "Dictlayerdata", +"properties": { +"common": { +"properties": { +"title": { +"description": "The display title and localized canonical name to use when searching for this entity on Google search.", +"type": "string" +} +}, +"type": "object" +}, +"dict": { +"properties": { +"source": { +"description": "The source, url and attribution for this dictionary data.", +"properties": { +"attribution": { +"type": "string" +}, +"url": { +"type": "string" +} +}, +"type": "object" +}, +"words": { +"items": { +"properties": { +"derivatives": { +"items": { +"properties": { +"source": { +"properties": { +"attribution": { +"type": "string" +}, +"url": { +"type": "string" +} +}, +"type": "object" +}, +"text": { +"type": "string" +} +}, +"type": "object" +}, +"type": "array" +}, +"examples": { +"items": { +"properties": { +"source": { +"properties": { +"attribution": { +"type": "string" +}, +"url": { +"type": "string" +} +}, +"type": "object" +}, +"text": { +"type": "string" +} +}, +"type": "object" +}, +"type": "array" +}, +"senses": { +"items": { +"properties": { +"conjugations": { +"items": { +"properties": { +"type": { +"type": "string" +}, +"value": { +"type": "string" +} +}, +"type": "object" +}, +"type": "array" +}, +"definitions": { +"items": { +"properties": { +"definition": { +"type": "string" +}, +"examples": { +"items": { +"properties": { +"source": { +"properties": { +"attribution": { +"type": "string" +}, +"url": { +"type": "string" +} +}, +"type": "object" +}, +"text": { +"type": "string" +} +}, +"type": "object" +}, +"type": "array" +} +}, +"type": "object" +}, +"type": "array" +}, +"partOfSpeech": { +"type": "string" +}, +"pronunciation": { +"type": "string" +}, +"pronunciationUrl": { +"type": "string" +}, +"source": { +"properties": { +"attribution": { +"type": "string" +}, +"url": { +"type": "string" +} +}, +"type": "object" +}, +"syllabification": { +"type": "string" +}, +"synonyms": { +"items": { +"properties": { +"source": { +"properties": { +"attribution": { +"type": "string" +}, +"url": { +"type": "string" +} +}, +"type": "object" +}, +"text": { +"type": "string" +} +}, +"type": "object" +}, +"type": "array" +} +}, +"type": "object" +}, +"type": "array" +}, +"source": { +"description": "The words with different meanings but not related words, e.g. \"go\" (game) and \"go\" (verb).", +"properties": { +"attribution": { +"type": "string" +}, +"url": { +"type": "string" +} +}, +"type": "object" +} +}, +"type": "object" +}, +"type": "array" +} +}, +"type": "object" +}, +"kind": { +"type": "string" +} +}, +"type": "object" +}, +"Discoveryclusters": { +"id": "Discoveryclusters", +"properties": { +"clusters": { +"items": { +"properties": { +"banner_with_content_container": { +"properties": { +"fillColorArgb": { +"type": "string" +}, +"imageUrl": { +"type": "string" +}, +"maskColorArgb": { +"type": "string" +}, +"moreButtonText": { +"type": "string" +}, +"moreButtonUrl": { +"type": "string" +}, +"textColorArgb": { +"type": "string" +} +}, +"type": "object" +}, +"subTitle": { +"type": "string" +}, +"title": { +"type": "string" +}, +"totalVolumes": { +"format": "int32", +"type": "integer" +}, +"uid": { +"type": "string" +}, +"volumes": { +"items": { +"$ref": "Volume" +}, +"type": "array" +} +}, +"type": "object" +}, +"type": "array" +}, +"kind": { +"description": "Resorce type.", +"type": "string" +}, +"totalClusters": { +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"DownloadAccessRestriction": { +"id": "DownloadAccessRestriction", +"properties": { +"deviceAllowed": { +"description": "If restricted, whether access is granted for this (user, device, volume).", +"type": "boolean" +}, +"downloadsAcquired": { +"description": "If restricted, the number of content download licenses already acquired (including the requesting client, if licensed).", +"format": "int32", +"type": "integer" +}, +"justAcquired": { +"description": "If deviceAllowed, whether access was just acquired with this request.", +"type": "boolean" +}, +"kind": { +"description": "Resource type.", +"type": "string" +}, +"maxDownloadDevices": { +"description": "If restricted, the maximum number of content download licenses for this volume.", +"format": "int32", +"type": "integer" +}, +"message": { +"description": "Error/warning message.", +"type": "string" +}, +"nonce": { +"description": "Client nonce for verification. Download access and client-validation only.", +"type": "string" +}, +"reasonCode": { +"description": "Error/warning reason code. Additional codes may be added in the future. 0 OK 100 ACCESS_DENIED_PUBLISHER_LIMIT 101 ACCESS_DENIED_LIMIT 200 WARNING_USED_LAST_ACCESS", +"type": "string" +}, +"restricted": { +"description": "Whether this volume has any download access restrictions.", +"type": "boolean" +}, +"signature": { +"description": "Response signature.", +"type": "string" +}, +"source": { +"description": "Client app identifier for verification. Download access and client-validation only.", +"type": "string" +}, +"volumeId": { +"description": "Identifies the volume for which this entry applies.", +"type": "string" +} +}, +"type": "object" +}, +"DownloadAccesses": { +"id": "DownloadAccesses", +"properties": { +"downloadAccessList": { +"description": "A list of download access responses.", +"items": { +"$ref": "DownloadAccessRestriction" +}, +"type": "array" +}, +"kind": { +"description": "Resource type.", +"type": "string" +} +}, +"type": "object" +}, +"Empty": { +"description": "A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }", +"id": "Empty", +"properties": {}, +"type": "object" +}, +"FamilyInfo": { +"id": "FamilyInfo", +"properties": { +"kind": { +"description": "Resource type.", +"type": "string" +}, +"membership": { +"description": "Family membership info of the user that made the request.", +"properties": { +"acquirePermission": { +"description": "Restrictions on user buying and acquiring content.", +"type": "string" +}, +"ageGroup": { +"description": "The age group of the user.", +"type": "string" +}, +"allowedMaturityRating": { +"description": "The maximum allowed maturity rating for the user.", +"type": "string" +}, +"isInFamily": { +"type": "boolean" +}, +"role": { +"description": "The role of the user in the family.", +"type": "string" +} +}, +"type": "object" +} +}, +"type": "object" +}, +"GeoAnnotationdata": { +"id": "GeoAnnotationdata", +"properties": { +"annotationType": { +"description": "The type of annotation this data is for.", +"type": "string" +}, +"data": { +"$ref": "Geolayerdata", +"description": "JSON encoded data for this geo annotation data. Emitted with name 'data' in JSON output. Either this or dict_data will be populated." +}, +"encodedData": { +"description": "Base64 encoded data for this annotation data.", +"format": "byte", +"type": "string" +}, +"id": { +"description": "Unique id for this annotation data.", +"type": "string" +}, +"kind": { +"description": "Resource Type", +"type": "string" +}, +"layerId": { +"description": "The Layer id for this data. *", +"type": "string" +}, +"selfLink": { +"description": "URL for this resource. *", +"type": "string" +}, +"updated": { +"description": "Timestamp for the last time this data was updated. (RFC 3339 UTC date-time format).", +"type": "string" +}, +"volumeId": { +"description": "The volume id for this data. *", +"type": "string" +} +}, +"type": "object" +}, +"Geolayerdata": { +"id": "Geolayerdata", +"properties": { +"common": { +"properties": { +"lang": { +"description": "The language of the information url and description.", +"type": "string" +}, +"previewImageUrl": { +"description": "The URL for the preview image information.", +"type": "string" +}, +"snippet": { +"description": "The description for this location.", +"type": "string" +}, +"snippetUrl": { +"description": "The URL for information for this location. Ex: wikipedia link.", +"type": "string" +}, +"title": { +"description": "The display title and localized canonical name to use when searching for this entity on Google search.", +"type": "string" +} +}, +"type": "object" +}, +"geo": { +"properties": { +"boundary": { +"description": "The boundary of the location as a set of loops containing pairs of latitude, longitude coordinates.", +"items": { +"type": "string" +}, +"type": "array" +}, +"cachePolicy": { +"description": "The cache policy active for this data. EX: UNRESTRICTED, RESTRICTED, NEVER", +"type": "string" +}, +"countryCode": { +"description": "The country code of the location.", +"type": "string" +}, +"latitude": { +"description": "The latitude of the location.", +"format": "double", +"type": "number" +}, +"longitude": { +"description": "The longitude of the location.", +"format": "double", +"type": "number" +}, +"mapType": { +"description": "The type of map that should be used for this location. EX: HYBRID, ROADMAP, SATELLITE, TERRAIN", +"type": "string" +}, +"viewport": { +"description": "The viewport for showing this location. This is a latitude, longitude rectangle.", +"properties": { +"hi": { +"properties": { +"latitude": { +"format": "double", +"type": "number" +}, +"longitude": { +"format": "double", +"type": "number" +} +}, +"type": "object" +}, +"lo": { +"properties": { +"latitude": { +"format": "double", +"type": "number" +}, +"longitude": { +"format": "double", +"type": "number" +} +}, +"type": "object" +} +}, +"type": "object" +}, +"zoom": { +"description": "The Zoom level to use for the map. Zoom levels between 0 (the lowest zoom level, in which the entire world can be seen on one map) to 21+ (down to individual buildings). See: https: //developers.google.com/maps/documentation/staticmaps/#Zoomlevels", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"kind": { +"type": "string" +} +}, +"type": "object" +}, +"Layersummaries": { +"id": "Layersummaries", +"properties": { +"items": { +"description": "A list of layer summary items.", +"items": { +"$ref": "Layersummary" +}, +"type": "array" +}, +"kind": { +"description": "Resource type.", +"type": "string" +}, +"totalItems": { +"description": "The total number of layer summaries found.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"Layersummary": { +"id": "Layersummary", +"properties": { +"annotationCount": { +"description": "The number of annotations for this layer.", +"format": "int32", +"type": "integer" +}, +"annotationTypes": { +"description": "The list of annotation types contained for this layer.", +"items": { +"type": "string" +}, +"type": "array" +}, +"annotationsDataLink": { +"description": "Link to get data for this annotation.", +"type": "string" +}, +"annotationsLink": { +"description": "The link to get the annotations for this layer.", +"type": "string" +}, +"contentVersion": { +"description": "The content version this resource is for.", +"type": "string" +}, +"dataCount": { +"description": "The number of data items for this layer.", +"format": "int32", +"type": "integer" +}, +"id": { +"description": "Unique id of this layer summary.", +"type": "string" +}, +"kind": { +"description": "Resource Type", +"type": "string" +}, +"layerId": { +"description": "The layer id for this summary.", +"type": "string" +}, +"selfLink": { +"description": "URL to this resource.", +"type": "string" +}, +"updated": { +"description": "Timestamp for the last time an item in this layer was updated. (RFC 3339 UTC date-time format).", +"type": "string" +}, +"volumeAnnotationsVersion": { +"description": "The current version of this layer's volume annotations. Note that this version applies only to the data in the books.layers.volumeAnnotations.* responses. The actual annotation data is versioned separately.", +"type": "string" +}, +"volumeId": { +"description": "The volume id this resource is for.", +"type": "string" +} +}, +"type": "object" +}, +"Metadata": { +"id": "Metadata", +"properties": { +"items": { +"description": "A list of offline dictionary metadata.", +"items": { +"properties": { +"download_url": { +"type": "string" +}, +"encrypted_key": { +"type": "string" +}, +"language": { +"type": "string" +}, +"size": { +"format": "int64", +"type": "string" +}, +"version": { +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"type": "array" +}, +"kind": { +"description": "Resource type.", +"type": "string" +} +}, +"type": "object" +}, +"Notification": { +"id": "Notification", +"properties": { +"body": { +"type": "string" +}, +"crmExperimentIds": { +"description": "The list of crm experiment ids.", +"items": { +"format": "int64", +"type": "string" +}, +"type": "array" +}, +"doc_id": { +"type": "string" +}, +"doc_type": { +"type": "string" +}, +"dont_show_notification": { +"type": "boolean" +}, +"iconUrl": { +"type": "string" +}, +"is_document_mature": { +"type": "boolean" +}, +"kind": { +"description": "Resource type.", +"type": "string" +}, +"notificationGroup": { +"type": "string" +}, +"notification_type": { +"type": "string" +}, +"pcampaign_id": { +"type": "string" +}, +"reason": { +"type": "string" +}, +"show_notification_settings_action": { +"type": "boolean" +}, +"targetUrl": { +"type": "string" +}, +"timeToExpireMs": { +"format": "int64", +"type": "string" +}, +"title": { +"type": "string" +} +}, +"type": "object" +}, +"Offers": { +"id": "Offers", +"properties": { +"items": { +"description": "A list of offers.", +"items": { +"properties": { +"artUrl": { +"type": "string" +}, +"gservicesKey": { +"type": "string" +}, +"id": { +"type": "string" +}, +"items": { +"items": { +"properties": { +"author": { +"type": "string" +}, +"canonicalVolumeLink": { +"type": "string" +}, +"coverUrl": { +"type": "string" +}, +"description": { +"type": "string" +}, +"title": { +"type": "string" +}, +"volumeId": { +"type": "string" +} +}, +"type": "object" +}, +"type": "array" +} +}, +"type": "object" +}, +"type": "array" +}, +"kind": { +"description": "Resource type.", +"type": "string" +} +}, +"type": "object" +}, +"ReadingPosition": { +"id": "ReadingPosition", +"properties": { +"epubCfiPosition": { +"description": "Position in an EPUB as a CFI.", +"type": "string" +}, +"gbImagePosition": { +"description": "Position in a volume for image-based content.", +"type": "string" +}, +"gbTextPosition": { +"description": "Position in a volume for text-based content.", +"type": "string" +}, +"kind": { +"description": "Resource type for a reading position.", +"type": "string" +}, +"pdfPosition": { +"description": "Position in a PDF file.", +"type": "string" +}, +"updated": { +"description": "Timestamp when this reading position was last updated (formatted UTC timestamp with millisecond resolution).", +"type": "string" +}, +"volumeId": { +"description": "Volume id associated with this reading position.", +"type": "string" +} +}, +"type": "object" +}, +"RequestAccessData": { +"id": "RequestAccessData", +"properties": { +"concurrentAccess": { +"$ref": "ConcurrentAccessRestriction", +"description": "A concurrent access response." +}, +"downloadAccess": { +"$ref": "DownloadAccessRestriction", +"description": "A download access response." +}, +"kind": { +"description": "Resource type.", +"type": "string" +} +}, +"type": "object" +}, +"Review": { +"id": "Review", +"properties": { +"author": { +"description": "Author of this review.", +"properties": { +"displayName": { +"description": "Name of this person.", +"type": "string" +} +}, +"type": "object" +}, +"content": { +"description": "Review text.", +"type": "string" +}, +"date": { +"description": "Date of this review.", +"type": "string" +}, +"fullTextUrl": { +"description": "URL for the full review text, for reviews gathered from the web.", +"type": "string" +}, +"kind": { +"description": "Resource type for a review.", +"type": "string" +}, +"rating": { +"description": "Star rating for this review. Possible values are ONE, TWO, THREE, FOUR, FIVE or NOT_RATED.", +"type": "string" +}, +"source": { +"description": "Information regarding the source of this review, when the review is not from a Google Books user.", +"properties": { +"description": { +"description": "Name of the source.", +"type": "string" +}, +"extraDescription": { +"description": "Extra text about the source of the review.", +"type": "string" +}, +"url": { +"description": "URL of the source of the review.", +"type": "string" +} +}, +"type": "object" +}, +"title": { +"description": "Title for this review.", +"type": "string" +}, +"type": { +"description": "Source type for this review. Possible values are EDITORIAL, WEB_USER or GOOGLE_USER.", +"type": "string" +}, +"volumeId": { +"description": "Volume that this review is for.", +"type": "string" +} +}, +"type": "object" +}, +"Series": { +"id": "Series", +"properties": { +"kind": { +"description": "Resource type.", +"type": "string" +}, +"series": { +"items": { +"properties": { +"bannerImageUrl": { +"type": "string" +}, +"eligibleForSubscription": { +"type": "boolean" +}, +"imageUrl": { +"type": "string" +}, +"isComplete": { +"type": "boolean" +}, +"seriesFormatType": { +"type": "string" +}, +"seriesId": { +"type": "string" +}, +"seriesSubscriptionReleaseInfo": { +"properties": { +"cancelTime": { +"type": "string" +}, +"currentReleaseInfo": { +"properties": { +"amountInMicros": { +"format": "double", +"type": "number" +}, +"currencyCode": { +"type": "string" +}, +"releaseNumber": { +"type": "string" +}, +"releaseTime": { +"type": "string" +} +}, +"type": "object" +}, +"nextReleaseInfo": { +"properties": { +"amountInMicros": { +"format": "double", +"type": "number" +}, +"currencyCode": { +"type": "string" +}, +"releaseNumber": { +"type": "string" +}, +"releaseTime": { +"type": "string" +} +}, +"type": "object" +}, +"seriesSubscriptionType": { +"type": "string" +} +}, +"type": "object" +}, +"seriesType": { +"type": "string" +}, +"subscriptionId": { +"type": "string" +}, +"title": { +"type": "string" +} +}, +"type": "object" +}, +"type": "array" +} +}, +"type": "object" +}, +"Seriesmembership": { +"id": "Seriesmembership", +"properties": { +"kind": { +"description": "Resorce type.", +"type": "string" +}, +"member": { +"items": { +"$ref": "Volume" +}, +"type": "array" +}, +"nextPageToken": { +"type": "string" +} +}, +"type": "object" +}, +"Usersettings": { +"id": "Usersettings", +"properties": { +"kind": { +"description": "Resource type.", +"type": "string" +}, +"notesExport": { +"description": "User settings in sub-objects, each for different purposes.", +"properties": { +"folderName": { +"type": "string" +}, +"isEnabled": { +"type": "boolean" +} +}, +"type": "object" +}, +"notification": { +"properties": { +"matchMyInterests": { +"properties": { +"opted_state": { +"type": "string" +} +}, +"type": "object" +}, +"moreFromAuthors": { +"properties": { +"opted_state": { +"type": "string" +} +}, +"type": "object" +}, +"moreFromSeries": { +"properties": { +"opted_state": { +"type": "string" +} +}, +"type": "object" +}, +"priceDrop": { +"properties": { +"opted_state": { +"type": "string" +} +}, +"type": "object" +}, +"rewardExpirations": { +"properties": { +"opted_state": { +"type": "string" +} +}, +"type": "object" +} +}, +"type": "object" +} +}, +"type": "object" +}, +"Volume": { +"id": "Volume", +"properties": { +"accessInfo": { +"description": "Any information about a volume related to reading or obtaining that volume text. This information can depend on country (books may be public domain in one country but not in another, e.g.).", +"properties": { +"accessViewStatus": { +"description": "Combines the access and viewability of this volume into a single status field for this user. Values can be FULL_PURCHASED, FULL_PUBLIC_DOMAIN, SAMPLE or NONE. (In LITE projection.)", +"type": "string" +}, +"country": { +"description": "The two-letter ISO_3166-1 country code for which this access information is valid. (In LITE projection.)", +"type": "string" +}, +"downloadAccess": { +"$ref": "DownloadAccessRestriction", +"description": "Information about a volume's download license access restrictions." +}, +"driveImportedContentLink": { +"description": "URL to the Google Drive viewer if this volume is uploaded by the user by selecting the file from Google Drive.", +"type": "string" +}, +"embeddable": { +"description": "Whether this volume can be embedded in a viewport using the Embedded Viewer API.", +"type": "boolean" +}, +"epub": { +"description": "Information about epub content. (In LITE projection.)", +"properties": { +"acsTokenLink": { +"description": "URL to retrieve ACS token for epub download. (In LITE projection.)", +"type": "string" +}, +"downloadLink": { +"description": "URL to download epub. (In LITE projection.)", +"type": "string" +}, +"isAvailable": { +"description": "Is a flowing text epub available either as public domain or for purchase. (In LITE projection.)", +"type": "boolean" +} +}, +"type": "object" +}, +"explicitOfflineLicenseManagement": { +"description": "Whether this volume requires that the client explicitly request offline download license rather than have it done automatically when loading the content, if the client supports it.", +"type": "boolean" +}, +"pdf": { +"description": "Information about pdf content. (In LITE projection.)", +"properties": { +"acsTokenLink": { +"description": "URL to retrieve ACS token for pdf download. (In LITE projection.)", +"type": "string" +}, +"downloadLink": { +"description": "URL to download pdf. (In LITE projection.)", +"type": "string" +}, +"isAvailable": { +"description": "Is a scanned image pdf available either as public domain or for purchase. (In LITE projection.)", +"type": "boolean" +} +}, +"type": "object" +}, +"publicDomain": { +"description": "Whether or not this book is public domain in the country listed above.", +"type": "boolean" +}, +"quoteSharingAllowed": { +"description": "Whether quote sharing is allowed for this volume.", +"type": "boolean" +}, +"textToSpeechPermission": { +"description": "Whether text-to-speech is permitted for this volume. Values can be ALLOWED, ALLOWED_FOR_ACCESSIBILITY, or NOT_ALLOWED.", +"type": "string" +}, +"viewOrderUrl": { +"description": "For ordered but not yet processed orders, we give a URL that can be used to go to the appropriate Google Wallet page.", +"type": "string" +}, +"viewability": { +"description": "The read access of a volume. Possible values are PARTIAL, ALL_PAGES, NO_PAGES or UNKNOWN. This value depends on the country listed above. A value of PARTIAL means that the publisher has allowed some portion of the volume to be viewed publicly, without purchase. This can apply to eBooks as well as non-eBooks. Public domain books will always have a value of ALL_PAGES.", +"type": "string" +}, +"webReaderLink": { +"description": "URL to read this volume on the Google Books site. Link will not allow users to read non-viewable volumes.", +"type": "string" +} +}, +"type": "object" +}, +"etag": { +"description": "Opaque identifier for a specific version of a volume resource. (In LITE projection)", +"type": "string" +}, +"id": { +"description": "Unique identifier for a volume. (In LITE projection.)", +"type": "string" +}, +"kind": { +"description": "Resource type for a volume. (In LITE projection.)", +"type": "string" +}, +"layerInfo": { +"description": "What layers exist in this volume and high level information about them.", +"properties": { +"layers": { +"description": "A layer should appear here if and only if the layer exists for this book.", +"items": { +"properties": { +"layerId": { +"description": "The layer id of this layer (e.g. \"geo\").", +"type": "string" +}, +"volumeAnnotationsVersion": { +"description": "The current version of this layer's volume annotations. Note that this version applies only to the data in the books.layers.volumeAnnotations.* responses. The actual annotation data is versioned separately.", +"type": "string" +} +}, +"type": "object" +}, +"type": "array" +} +}, +"type": "object" +}, +"recommendedInfo": { +"description": "Recommendation related information for this volume.", +"properties": { +"explanation": { +"description": "A text explaining why this volume is recommended.", +"type": "string" +} +}, +"type": "object" +}, +"saleInfo": { +"description": "Any information about a volume related to the eBookstore and/or purchaseability. This information can depend on the country where the request originates from (i.e. books may not be for sale in certain countries).", +"properties": { +"buyLink": { +"description": "URL to purchase this volume on the Google Books site. (In LITE projection)", +"type": "string" +}, +"country": { +"description": "The two-letter ISO_3166-1 country code for which this sale information is valid. (In LITE projection.)", +"type": "string" +}, +"isEbook": { +"description": "Whether or not this volume is an eBook (can be added to the My eBooks shelf).", +"type": "boolean" +}, +"listPrice": { +"description": "Suggested retail price. (In LITE projection.)", +"properties": { +"amount": { +"description": "Amount in the currency listed below. (In LITE projection.)", +"format": "double", +"type": "number" +}, +"currencyCode": { +"description": "An ISO 4217, three-letter currency code. (In LITE projection.)", +"type": "string" +} +}, +"type": "object" +}, +"offers": { +"description": "Offers available for this volume (sales and rentals).", +"items": { +"properties": { +"finskyOfferType": { +"description": "The finsky offer type (e.g., PURCHASE=0 RENTAL=3)", +"format": "int32", +"type": "integer" +}, +"giftable": { +"description": "Indicates whether the offer is giftable.", +"type": "boolean" +}, +"listPrice": { +"description": "Offer list (=undiscounted) price in Micros.", +"properties": { +"amountInMicros": { +"format": "double", +"type": "number" +}, +"currencyCode": { +"type": "string" +} +}, +"type": "object" +}, +"rentalDuration": { +"description": "The rental duration (for rental offers only).", +"properties": { +"count": { +"format": "double", +"type": "number" +}, +"unit": { +"type": "string" +} +}, +"type": "object" +}, +"retailPrice": { +"description": "Offer retail (=discounted) price in Micros", +"properties": { +"amountInMicros": { +"format": "double", +"type": "number" +}, +"currencyCode": { +"type": "string" +} +}, +"type": "object" +} +}, +"type": "object" +}, +"type": "array" +}, +"onSaleDate": { +"description": "The date on which this book is available for sale.", +"type": "string" +}, +"retailPrice": { +"description": "The actual selling price of the book. This is the same as the suggested retail or list price unless there are offers or discounts on this volume. (In LITE projection.)", +"properties": { +"amount": { +"description": "Amount in the currency listed below. (In LITE projection.)", +"format": "double", +"type": "number" +}, +"currencyCode": { +"description": "An ISO 4217, three-letter currency code. (In LITE projection.)", +"type": "string" +} +}, +"type": "object" +}, +"saleability": { +"description": "Whether or not this book is available for sale or offered for free in the Google eBookstore for the country listed above. Possible values are FOR_SALE, FOR_RENTAL_ONLY, FOR_SALE_AND_RENTAL, FREE, NOT_FOR_SALE, or FOR_PREORDER.", +"type": "string" +} +}, +"type": "object" +}, +"searchInfo": { +"description": "Search result information related to this volume.", +"properties": { +"textSnippet": { +"description": "A text snippet containing the search query.", +"type": "string" +} +}, +"type": "object" +}, +"selfLink": { +"description": "URL to this resource. (In LITE projection.)", +"type": "string" +}, +"userInfo": { +"description": "User specific information related to this volume. (e.g. page this user last read or whether they purchased this book)", +"properties": { +"acquiredTime": { +"description": "Timestamp when this volume was acquired by the user. (RFC 3339 UTC date-time format) Acquiring includes purchase, user upload, receiving family sharing, etc.", +"type": "string" +}, +"acquisitionType": { +"description": "How this volume was acquired.", +"format": "int32", +"type": "integer" +}, +"copy": { +"description": "Copy/Paste accounting information.", +"properties": { +"allowedCharacterCount": { +"format": "int32", +"type": "integer" +}, +"limitType": { +"type": "string" +}, +"remainingCharacterCount": { +"format": "int32", +"type": "integer" +}, +"updated": { +"type": "string" +} +}, +"type": "object" +}, +"entitlementType": { +"description": "Whether this volume is purchased, sample, pd download etc.", +"format": "int32", +"type": "integer" +}, +"familySharing": { +"description": "Information on the ability to share with the family.", +"properties": { +"familyRole": { +"description": "The role of the user in the family.", +"type": "string" +}, +"isSharingAllowed": { +"description": "Whether or not this volume can be shared with the family by the user. This includes sharing eligibility of both the volume and the user. If the value is true, the user can initiate a family sharing action.", +"type": "boolean" +}, +"isSharingDisabledByFop": { +"description": "Whether or not sharing this volume is temporarily disabled due to issues with the Family Wallet.", +"type": "boolean" +} +}, +"type": "object" +}, +"isFamilySharedFromUser": { +"description": "Whether or not the user shared this volume with the family.", +"type": "boolean" +}, +"isFamilySharedToUser": { +"description": "Whether or not the user received this volume through family sharing.", +"type": "boolean" +}, +"isFamilySharingAllowed": { +"description": "Deprecated: Replaced by familySharing.", +"type": "boolean" +}, +"isFamilySharingDisabledByFop": { +"description": "Deprecated: Replaced by familySharing.", +"type": "boolean" +}, +"isInMyBooks": { +"description": "Whether or not this volume is currently in \"my books.\"", +"type": "boolean" +}, +"isPreordered": { +"description": "Whether or not this volume was pre-ordered by the authenticated user making the request. (In LITE projection.)", +"type": "boolean" +}, +"isPurchased": { +"description": "Whether or not this volume was purchased by the authenticated user making the request. (In LITE projection.)", +"type": "boolean" +}, +"isUploaded": { +"description": "Whether or not this volume was user uploaded.", +"type": "boolean" +}, +"readingPosition": { +"$ref": "ReadingPosition", +"description": "The user's current reading position in the volume, if one is available. (In LITE projection.)" +}, +"rentalPeriod": { +"description": "Period during this book is/was a valid rental.", +"properties": { +"endUtcSec": { +"format": "int64", +"type": "string" +}, +"startUtcSec": { +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"rentalState": { +"description": "Whether this book is an active or an expired rental.", +"type": "string" +}, +"review": { +"$ref": "Review", +"description": "This user's review of this volume, if one exists." +}, +"updated": { +"description": "Timestamp when this volume was last modified by a user action, such as a reading position update, volume purchase or writing a review. (RFC 3339 UTC date-time format).", +"type": "string" +}, +"userUploadedVolumeInfo": { +"properties": { +"processingState": { +"type": "string" +} +}, +"type": "object" +} +}, +"type": "object" +}, +"volumeInfo": { +"description": "General volume information.", +"properties": { +"allowAnonLogging": { +"description": "Whether anonymous logging should be allowed.", +"type": "boolean" +}, +"authors": { +"description": "The names of the authors and/or editors for this volume. (In LITE projection)", +"items": { +"type": "string" +}, +"type": "array" +}, +"averageRating": { +"description": "The mean review rating for this volume. (min = 1.0, max = 5.0)", +"format": "double", +"type": "number" +}, +"canonicalVolumeLink": { +"description": "Canonical URL for a volume. (In LITE projection.)", +"type": "string" +}, +"categories": { +"description": "A list of subject categories, such as \"Fiction\", \"Suspense\", etc.", +"items": { +"type": "string" +}, +"type": "array" +}, +"comicsContent": { +"description": "Whether the volume has comics content.", +"type": "boolean" +}, +"contentVersion": { +"description": "An identifier for the version of the volume content (text & images). (In LITE projection)", +"type": "string" +}, +"description": { +"description": "A synopsis of the volume. The text of the description is formatted in HTML and includes simple formatting elements, such as b, i, and br tags. (In LITE projection.)", +"type": "string" +}, +"dimensions": { +"description": "Physical dimensions of this volume.", +"properties": { +"height": { +"description": "Height or length of this volume (in cm).", +"type": "string" +}, +"thickness": { +"description": "Thickness of this volume (in cm).", +"type": "string" +}, +"width": { +"description": "Width of this volume (in cm).", +"type": "string" +} +}, +"type": "object" +}, +"imageLinks": { +"description": "A list of image links for all the sizes that are available. (In LITE projection.)", +"properties": { +"extraLarge": { +"description": "Image link for extra large size (width of ~1280 pixels). (In LITE projection)", +"type": "string" +}, +"large": { +"description": "Image link for large size (width of ~800 pixels). (In LITE projection)", +"type": "string" +}, +"medium": { +"description": "Image link for medium size (width of ~575 pixels). (In LITE projection)", +"type": "string" +}, +"small": { +"description": "Image link for small size (width of ~300 pixels). (In LITE projection)", +"type": "string" +}, +"smallThumbnail": { +"description": "Image link for small thumbnail size (width of ~80 pixels). (In LITE projection)", +"type": "string" +}, +"thumbnail": { +"description": "Image link for thumbnail size (width of ~128 pixels). (In LITE projection)", +"type": "string" +} +}, +"type": "object" +}, +"industryIdentifiers": { +"description": "Industry standard identifiers for this volume.", +"items": { +"properties": { +"identifier": { +"description": "Industry specific volume identifier.", +"type": "string" +}, +"type": { +"description": "Identifier type. Possible values are ISBN_10, ISBN_13, ISSN and OTHER.", +"type": "string" +} +}, +"type": "object" +}, +"type": "array" +}, +"infoLink": { +"description": "URL to view information about this volume on the Google Books site. (In LITE projection)", +"type": "string" +}, +"language": { +"description": "Best language for this volume (based on content). It is the two-letter ISO 639-1 code such as 'fr', 'en', etc.", +"type": "string" +}, +"mainCategory": { +"description": "The main category to which this volume belongs. It will be the category from the categories list returned below that has the highest weight.", +"type": "string" +}, +"maturityRating": { +"type": "string" +}, +"pageCount": { +"description": "Total number of pages as per publisher metadata.", +"format": "int32", +"type": "integer" +}, +"panelizationSummary": { +"description": "A top-level summary of the panelization info in this volume.", +"properties": { +"containsEpubBubbles": { +"type": "boolean" +}, +"containsImageBubbles": { +"type": "boolean" +}, +"epubBubbleVersion": { +"type": "string" +}, +"imageBubbleVersion": { +"type": "string" +} +}, +"type": "object" +}, +"previewLink": { +"description": "URL to preview this volume on the Google Books site.", +"type": "string" +}, +"printType": { +"description": "Type of publication of this volume. Possible values are BOOK or MAGAZINE.", +"type": "string" +}, +"printedPageCount": { +"description": "Total number of printed pages in generated pdf representation.", +"format": "int32", +"type": "integer" +}, +"publishedDate": { +"description": "Date of publication. (In LITE projection.)", +"type": "string" +}, +"publisher": { +"description": "Publisher of this volume. (In LITE projection.)", +"type": "string" +}, +"ratingsCount": { +"description": "The number of review ratings for this volume.", +"format": "int32", +"type": "integer" +}, +"readingModes": { +"description": "The reading modes available for this volume.", +"properties": { +"image": { +"type": "boolean" +}, +"text": { +"type": "boolean" +} +}, +"type": "object" +}, +"samplePageCount": { +"description": "Total number of sample pages as per publisher metadata.", +"format": "int32", +"type": "integer" +}, +"seriesInfo": { +"$ref": "Volumeseriesinfo" +}, +"subtitle": { +"description": "Volume subtitle. (In LITE projection.)", +"type": "string" +}, +"title": { +"description": "Volume title. (In LITE projection.)", +"type": "string" +} +}, +"type": "object" +} +}, +"type": "object" +}, +"Volume2": { +"id": "Volume2", +"properties": { +"items": { +"description": "A list of volumes.", +"items": { +"$ref": "Volume" +}, +"type": "array" +}, +"kind": { +"description": "Resource type.", +"type": "string" +}, +"nextPageToken": { +"type": "string" +} +}, +"type": "object" +}, +"Volumeannotation": { +"id": "Volumeannotation", +"properties": { +"annotationDataId": { +"description": "The annotation data id for this volume annotation.", +"type": "string" +}, +"annotationDataLink": { +"description": "Link to get data for this annotation.", +"type": "string" +}, +"annotationType": { +"description": "The type of annotation this is.", +"type": "string" +}, +"contentRanges": { +"description": "The content ranges to identify the selected text.", +"properties": { +"cfiRange": { +"$ref": "BooksAnnotationsRange", +"description": "Range in CFI format for this annotation for version above." +}, +"contentVersion": { +"description": "Content version applicable to ranges below.", +"type": "string" +}, +"gbImageRange": { +"$ref": "BooksAnnotationsRange", +"description": "Range in GB image format for this annotation for version above." +}, +"gbTextRange": { +"$ref": "BooksAnnotationsRange", +"description": "Range in GB text format for this annotation for version above." +} +}, +"type": "object" +}, +"data": { +"description": "Data for this annotation.", +"type": "string" +}, +"deleted": { +"description": "Indicates that this annotation is deleted.", +"type": "boolean" +}, +"id": { +"description": "Unique id of this volume annotation.", +"type": "string" +}, +"kind": { +"description": "Resource Type", +"type": "string" +}, +"layerId": { +"description": "The Layer this annotation is for.", +"type": "string" +}, +"pageIds": { +"description": "Pages the annotation spans.", +"items": { +"type": "string" +}, +"type": "array" +}, +"selectedText": { +"description": "Excerpt from the volume.", +"type": "string" +}, +"selfLink": { +"description": "URL to this resource.", +"type": "string" +}, +"updated": { +"description": "Timestamp for the last time this anntoation was updated. (RFC 3339 UTC date-time format).", +"type": "string" +}, +"volumeId": { +"description": "The Volume this annotation is for.", +"type": "string" +} +}, +"type": "object" +}, +"Volumeannotations": { +"id": "Volumeannotations", +"properties": { +"items": { +"description": "A list of volume annotations.", +"items": { +"$ref": "Volumeannotation" +}, +"type": "array" +}, +"kind": { +"description": "Resource type", +"type": "string" +}, +"nextPageToken": { +"description": "Token to pass in for pagination for the next page. This will not be present if this request does not have more results.", +"type": "string" +}, +"totalItems": { +"description": "The total number of volume annotations found.", +"format": "int32", +"type": "integer" +}, +"version": { +"description": "The version string for all of the volume annotations in this layer (not just the ones in this response). Note: the version string doesn't apply to the annotation data, just the information in this response (e.g. the location of annotations in the book).", +"type": "string" +} +}, +"type": "object" +}, +"Volumes": { +"id": "Volumes", +"properties": { +"items": { +"description": "A list of volumes.", +"items": { +"$ref": "Volume" +}, +"type": "array" +}, +"kind": { +"description": "Resource type.", +"type": "string" +}, +"totalItems": { +"description": "Total number of volumes found. This might be greater than the number of volumes returned in this response if results have been paginated.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"Volumeseriesinfo": { +"id": "Volumeseriesinfo", +"properties": { +"bookDisplayNumber": { +"description": "The display number string. This should be used only for display purposes and the actual sequence should be inferred from the below orderNumber.", +"type": "string" +}, +"kind": { +"description": "Resource type.", +"type": "string" +}, +"shortSeriesBookTitle": { +"description": "Short book title in the context of the series.", +"type": "string" +}, +"volumeSeries": { +"items": { +"properties": { +"issue": { +"description": "List of issues. Applicable only for Collection Edition and Omnibus.", +"items": { +"properties": { +"issueDisplayNumber": { +"type": "string" +}, +"issueOrderNumber": { +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"type": "array" +}, +"orderNumber": { +"description": "The book order number in the series.", +"format": "int32", +"type": "integer" +}, +"seriesBookType": { +"description": "The book type in the context of series. Examples - Single Issue, Collection Edition, etc.", +"type": "string" +}, +"seriesId": { +"description": "The series id.", +"type": "string" +} +}, +"type": "object" +}, +"type": "array" +} +}, +"type": "object" +} +}, +"servicePath": "", +"title": "Books API", +"version": "v1", +"version_module": true +} \ No newline at end of file diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/certificatemanager.v1.json b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/certificatemanager.v1.json new file mode 100644 index 0000000000000000000000000000000000000000..d6db33149b6e3adb254fded1233a1a7bb9a8aca6 --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/certificatemanager.v1.json @@ -0,0 +1,2500 @@ +{ +"auth": { +"oauth2": { +"scopes": { +"https://www.googleapis.com/auth/cloud-platform": { +"description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." +} +} +} +}, +"basePath": "", +"baseUrl": "https://certificatemanager.googleapis.com/", +"batchPath": "batch", +"canonicalName": "Certificate Manager", +"description": "", +"discoveryVersion": "v1", +"documentationLink": "https://cloud.google.com/certificate-manager", +"fullyEncodeReservedExpansion": true, +"icons": { +"x16": "http://www.google.com/images/icons/product/search-16.gif", +"x32": "http://www.google.com/images/icons/product/search-32.gif" +}, +"id": "certificatemanager:v1", +"kind": "discovery#restDescription", +"mtlsRootUrl": "https://certificatemanager.mtls.googleapis.com/", +"name": "certificatemanager", +"ownerDomain": "google.com", +"ownerName": "Google", +"parameters": { +"$.xgafv": { +"description": "V1 error format.", +"enum": [ +"1", +"2" +], +"enumDescriptions": [ +"v1 error format", +"v2 error format" +], +"location": "query", +"type": "string" +}, +"access_token": { +"description": "OAuth access token.", +"location": "query", +"type": "string" +}, +"alt": { +"default": "json", +"description": "Data format for response.", +"enum": [ +"json", +"media", +"proto" +], +"enumDescriptions": [ +"Responses with Content-Type of application/json", +"Media download with context-dependent Content-Type", +"Responses with Content-Type of application/x-protobuf" +], +"location": "query", +"type": "string" +}, +"callback": { +"description": "JSONP", +"location": "query", +"type": "string" +}, +"fields": { +"description": "Selector specifying which fields to include in a partial response.", +"location": "query", +"type": "string" +}, +"key": { +"description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", +"location": "query", +"type": "string" +}, +"oauth_token": { +"description": "OAuth 2.0 token for the current user.", +"location": "query", +"type": "string" +}, +"prettyPrint": { +"default": "true", +"description": "Returns response with indentations and line breaks.", +"location": "query", +"type": "boolean" +}, +"quotaUser": { +"description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.", +"location": "query", +"type": "string" +}, +"uploadType": { +"description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", +"location": "query", +"type": "string" +}, +"upload_protocol": { +"description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", +"location": "query", +"type": "string" +} +}, +"protocol": "rest", +"resources": { +"projects": { +"resources": { +"locations": { +"methods": { +"get": { +"description": "Gets information about a location.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}", +"httpMethod": "GET", +"id": "certificatemanager.projects.locations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Resource name for the location.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Location" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists information about the supported locations for this service. This method can be called in two ways: * **List all public locations:** Use the path `GET /v1/locations`. * **List project-visible locations:** Use the path `GET /v1/projects/{project_id}/locations`. This may include public locations as well as private or other locations specifically visible to the project.", +"flatPath": "v1/projects/{projectsId}/locations", +"httpMethod": "GET", +"id": "certificatemanager.projects.locations.list", +"parameterOrder": [ +"name" +], +"parameters": { +"extraLocationTypes": { +"description": "Optional. Do not use this field. It is unsupported and is ignored unless explicitly documented otherwise. This is primarily for internal usage.", +"location": "query", +"repeated": true, +"type": "string" +}, +"filter": { +"description": "A filter to narrow down results to a preferred subset. The filtering language accepts strings like `\"displayName=tokyo\"`, and is documented in more detail in [AIP-160](https://google.aip.dev/160).", +"location": "query", +"type": "string" +}, +"name": { +"description": "The resource that owns the locations collection, if applicable.", +"location": "path", +"pattern": "^projects/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The maximum number of results to return. If not set, the service selects a default.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A page token received from the `next_page_token` field in the response. Send that page token to receive the subsequent page.", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}/locations", +"response": { +"$ref": "ListLocationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"certificateIssuanceConfigs": { +"methods": { +"create": { +"description": "Creates a new CertificateIssuanceConfig in a given project and location.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/certificateIssuanceConfigs", +"httpMethod": "POST", +"id": "certificatemanager.projects.locations.certificateIssuanceConfigs.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"certificateIssuanceConfigId": { +"description": "Required. A user-provided name of the certificate config.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent resource of the certificate issuance config. Must be in the format `projects/*/locations/*`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/certificateIssuanceConfigs", +"request": { +"$ref": "CertificateIssuanceConfig" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a single CertificateIssuanceConfig.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/certificateIssuanceConfigs/{certificateIssuanceConfigsId}", +"httpMethod": "DELETE", +"id": "certificatemanager.projects.locations.certificateIssuanceConfigs.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. A name of the certificate issuance config to delete. Must be in the format `projects/*/locations/*/certificateIssuanceConfigs/*`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/certificateIssuanceConfigs/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets details of a single CertificateIssuanceConfig.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/certificateIssuanceConfigs/{certificateIssuanceConfigsId}", +"httpMethod": "GET", +"id": "certificatemanager.projects.locations.certificateIssuanceConfigs.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. A name of the certificate issuance config to describe. Must be in the format `projects/*/locations/*/certificateIssuanceConfigs/*`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/certificateIssuanceConfigs/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "CertificateIssuanceConfig" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists CertificateIssuanceConfigs in a given project and location.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/certificateIssuanceConfigs", +"httpMethod": "GET", +"id": "certificatemanager.projects.locations.certificateIssuanceConfigs.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Optional. Filter expression to restrict the Certificates Configs returned.", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "Optional. A list of Certificate Config field names used to specify the order of the returned results. The default sorting order is ascending. To specify descending order for a field, add a suffix `\" desc\"`.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Optional. Maximum number of certificate configs to return per call.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. The value returned by the last `ListCertificateIssuanceConfigsResponse`. Indicates that this is a continuation of a prior `ListCertificateIssuanceConfigs` call, and that the system should return the next page of data.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The project and location from which the certificate should be listed, specified in the format `projects/*/locations/*`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/certificateIssuanceConfigs", +"response": { +"$ref": "ListCertificateIssuanceConfigsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates a CertificateIssuanceConfig.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/certificateIssuanceConfigs/{certificateIssuanceConfigsId}", +"httpMethod": "PATCH", +"id": "certificatemanager.projects.locations.certificateIssuanceConfigs.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Identifier. A user-defined name of the certificate issuance config. CertificateIssuanceConfig names must be unique globally and match pattern `projects/*/locations/*/certificateIssuanceConfigs/*`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/certificateIssuanceConfigs/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Required. The update mask applies to the resource. For the `FieldMask` definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "CertificateIssuanceConfig" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"certificateMaps": { +"methods": { +"create": { +"description": "Creates a new CertificateMap in a given project and location.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/certificateMaps", +"httpMethod": "POST", +"id": "certificatemanager.projects.locations.certificateMaps.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"certificateMapId": { +"description": "Required. A user-provided name of the certificate map.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent resource of the certificate map. Must be in the format `projects/*/locations/*`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/certificateMaps", +"request": { +"$ref": "CertificateMap" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a single CertificateMap. A Certificate Map can't be deleted if it contains Certificate Map Entries. Remove all the entries from the map before calling this method.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/certificateMaps/{certificateMapsId}", +"httpMethod": "DELETE", +"id": "certificatemanager.projects.locations.certificateMaps.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. A name of the certificate map to delete. Must be in the format `projects/*/locations/*/certificateMaps/*`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/certificateMaps/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets details of a single CertificateMap.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/certificateMaps/{certificateMapsId}", +"httpMethod": "GET", +"id": "certificatemanager.projects.locations.certificateMaps.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. A name of the certificate map to describe. Must be in the format `projects/*/locations/*/certificateMaps/*`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/certificateMaps/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "CertificateMap" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists CertificateMaps in a given project and location.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/certificateMaps", +"httpMethod": "GET", +"id": "certificatemanager.projects.locations.certificateMaps.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Optional. Filter expression to restrict the Certificates Maps returned.", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "Optional. A list of Certificate Map field names used to specify the order of the returned results. The default sorting order is ascending. To specify descending order for a field, add a suffix `\" desc\"`.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Optional. Maximum number of certificate maps to return per call.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. The value returned by the last `ListCertificateMapsResponse`. Indicates that this is a continuation of a prior `ListCertificateMaps` call, and that the system should return the next page of data.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The project and location from which the certificate maps should be listed, specified in the format `projects/*/locations/*`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/certificateMaps", +"response": { +"$ref": "ListCertificateMapsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates a CertificateMap.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/certificateMaps/{certificateMapsId}", +"httpMethod": "PATCH", +"id": "certificatemanager.projects.locations.certificateMaps.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Identifier. A user-defined name of the Certificate Map. Certificate Map names must be unique globally and match pattern `projects/*/locations/*/certificateMaps/*`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/certificateMaps/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Required. The update mask applies to the resource. For the `FieldMask` definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "CertificateMap" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"certificateMapEntries": { +"methods": { +"create": { +"description": "Creates a new CertificateMapEntry in a given project and location.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/certificateMaps/{certificateMapsId}/certificateMapEntries", +"httpMethod": "POST", +"id": "certificatemanager.projects.locations.certificateMaps.certificateMapEntries.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"certificateMapEntryId": { +"description": "Required. A user-provided name of the certificate map entry.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent resource of the certificate map entry. Must be in the format `projects/*/locations/*/certificateMaps/*`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/certificateMaps/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/certificateMapEntries", +"request": { +"$ref": "CertificateMapEntry" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a single CertificateMapEntry.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/certificateMaps/{certificateMapsId}/certificateMapEntries/{certificateMapEntriesId}", +"httpMethod": "DELETE", +"id": "certificatemanager.projects.locations.certificateMaps.certificateMapEntries.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. A name of the certificate map entry to delete. Must be in the format `projects/*/locations/*/certificateMaps/*/certificateMapEntries/*`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/certificateMaps/[^/]+/certificateMapEntries/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets details of a single CertificateMapEntry.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/certificateMaps/{certificateMapsId}/certificateMapEntries/{certificateMapEntriesId}", +"httpMethod": "GET", +"id": "certificatemanager.projects.locations.certificateMaps.certificateMapEntries.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. A name of the certificate map entry to describe. Must be in the format `projects/*/locations/*/certificateMaps/*/certificateMapEntries/*`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/certificateMaps/[^/]+/certificateMapEntries/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "CertificateMapEntry" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists CertificateMapEntries in a given project and location.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/certificateMaps/{certificateMapsId}/certificateMapEntries", +"httpMethod": "GET", +"id": "certificatemanager.projects.locations.certificateMaps.certificateMapEntries.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Optional. Filter expression to restrict the returned Certificate Map Entries.", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "Optional. A list of Certificate Map Entry field names used to specify the order of the returned results. The default sorting order is ascending. To specify descending order for a field, add a suffix `\" desc\"`.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Optional. Maximum number of certificate map entries to return. The service may return fewer than this value. If unspecified, at most 50 certificate map entries will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. The value returned by the last `ListCertificateMapEntriesResponse`. Indicates that this is a continuation of a prior `ListCertificateMapEntries` call, and that the system should return the next page of data.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The project, location and certificate map from which the certificate map entries should be listed, specified in the format `projects/*/locations/*/certificateMaps/*`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/certificateMaps/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/certificateMapEntries", +"response": { +"$ref": "ListCertificateMapEntriesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates a CertificateMapEntry.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/certificateMaps/{certificateMapsId}/certificateMapEntries/{certificateMapEntriesId}", +"httpMethod": "PATCH", +"id": "certificatemanager.projects.locations.certificateMaps.certificateMapEntries.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Identifier. A user-defined name of the Certificate Map Entry. Certificate Map Entry names must be unique globally and match pattern `projects/*/locations/*/certificateMaps/*/certificateMapEntries/*`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/certificateMaps/[^/]+/certificateMapEntries/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Required. The update mask applies to the resource. For the `FieldMask` definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "CertificateMapEntry" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +}, +"certificates": { +"methods": { +"create": { +"description": "Creates a new Certificate in a given project and location.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/certificates", +"httpMethod": "POST", +"id": "certificatemanager.projects.locations.certificates.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"certificateId": { +"description": "Required. A user-provided name of the certificate.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent resource of the certificate. Must be in the format `projects/*/locations/*`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/certificates", +"request": { +"$ref": "Certificate" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a single Certificate.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/certificates/{certificatesId}", +"httpMethod": "DELETE", +"id": "certificatemanager.projects.locations.certificates.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. A name of the certificate to delete. Must be in the format `projects/*/locations/*/certificates/*`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/certificates/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets details of a single Certificate.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/certificates/{certificatesId}", +"httpMethod": "GET", +"id": "certificatemanager.projects.locations.certificates.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. A name of the certificate to describe. Must be in the format `projects/*/locations/*/certificates/*`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/certificates/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Certificate" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists Certificates in a given project and location.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/certificates", +"httpMethod": "GET", +"id": "certificatemanager.projects.locations.certificates.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Optional. Filter expression to restrict the Certificates returned.", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "Optional. A list of Certificate field names used to specify the order of the returned results. The default sorting order is ascending. To specify descending order for a field, add a suffix `\" desc\"`.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Optional. Maximum number of certificates to return per call.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. The value returned by the last `ListCertificatesResponse`. Indicates that this is a continuation of a prior `ListCertificates` call, and that the system should return the next page of data.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The project and location from which the certificate should be listed, specified in the format `projects/*/locations/*`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/certificates", +"response": { +"$ref": "ListCertificatesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates a Certificate.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/certificates/{certificatesId}", +"httpMethod": "PATCH", +"id": "certificatemanager.projects.locations.certificates.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Identifier. A user-defined name of the certificate. Certificate names must be unique globally and match pattern `projects/*/locations/*/certificates/*`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/certificates/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Required. The update mask applies to the resource. For the `FieldMask` definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "Certificate" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"dnsAuthorizations": { +"methods": { +"create": { +"description": "Creates a new DnsAuthorization in a given project and location.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/dnsAuthorizations", +"httpMethod": "POST", +"id": "certificatemanager.projects.locations.dnsAuthorizations.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"dnsAuthorizationId": { +"description": "Required. A user-provided name of the dns authorization.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent resource of the dns authorization. Must be in the format `projects/*/locations/*`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/dnsAuthorizations", +"request": { +"$ref": "DnsAuthorization" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a single DnsAuthorization.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/dnsAuthorizations/{dnsAuthorizationsId}", +"httpMethod": "DELETE", +"id": "certificatemanager.projects.locations.dnsAuthorizations.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. A name of the dns authorization to delete. Must be in the format `projects/*/locations/*/dnsAuthorizations/*`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/dnsAuthorizations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets details of a single DnsAuthorization.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/dnsAuthorizations/{dnsAuthorizationsId}", +"httpMethod": "GET", +"id": "certificatemanager.projects.locations.dnsAuthorizations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. A name of the dns authorization to describe. Must be in the format `projects/*/locations/*/dnsAuthorizations/*`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/dnsAuthorizations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "DnsAuthorization" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists DnsAuthorizations in a given project and location.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/dnsAuthorizations", +"httpMethod": "GET", +"id": "certificatemanager.projects.locations.dnsAuthorizations.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Optional. Filter expression to restrict the Dns Authorizations returned.", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "Optional. A list of Dns Authorization field names used to specify the order of the returned results. The default sorting order is ascending. To specify descending order for a field, add a suffix `\" desc\"`.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Optional. Maximum number of dns authorizations to return per call.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. The value returned by the last `ListDnsAuthorizationsResponse`. Indicates that this is a continuation of a prior `ListDnsAuthorizations` call, and that the system should return the next page of data.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The project and location from which the dns authorizations should be listed, specified in the format `projects/*/locations/*`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/dnsAuthorizations", +"response": { +"$ref": "ListDnsAuthorizationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates a DnsAuthorization.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/dnsAuthorizations/{dnsAuthorizationsId}", +"httpMethod": "PATCH", +"id": "certificatemanager.projects.locations.dnsAuthorizations.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Identifier. A user-defined name of the dns authorization. DnsAuthorization names must be unique globally and match pattern `projects/*/locations/*/dnsAuthorizations/*`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/dnsAuthorizations/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Required. The update mask applies to the resource. For the `FieldMask` definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "DnsAuthorization" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"operations": { +"methods": { +"cancel": { +"description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}:cancel", +"httpMethod": "POST", +"id": "certificatemanager.projects.locations.operations.cancel", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be cancelled.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:cancel", +"request": { +"$ref": "CancelOperationRequest" +}, +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}", +"httpMethod": "DELETE", +"id": "certificatemanager.projects.locations.operations.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be deleted.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}", +"httpMethod": "GET", +"id": "certificatemanager.projects.locations.operations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/operations", +"httpMethod": "GET", +"id": "certificatemanager.projects.locations.operations.list", +"parameterOrder": [ +"name" +], +"parameters": { +"filter": { +"description": "The standard list filter.", +"location": "query", +"type": "string" +}, +"name": { +"description": "The name of the operation's parent resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The standard list page size.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The standard list page token.", +"location": "query", +"type": "string" +}, +"returnPartialSuccess": { +"description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `\"projects/example/locations/-\"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1/{+name}/operations", +"response": { +"$ref": "ListOperationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"trustConfigs": { +"methods": { +"create": { +"description": "Creates a new TrustConfig in a given project and location.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/trustConfigs", +"httpMethod": "POST", +"id": "certificatemanager.projects.locations.trustConfigs.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The parent resource of the TrustConfig. Must be in the format `projects/*/locations/*`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +}, +"trustConfigId": { +"description": "Required. A user-provided name of the TrustConfig. Must match the regexp `[a-z0-9-]{1,63}`.", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+parent}/trustConfigs", +"request": { +"$ref": "TrustConfig" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a single TrustConfig.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/trustConfigs/{trustConfigsId}", +"httpMethod": "DELETE", +"id": "certificatemanager.projects.locations.trustConfigs.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"etag": { +"description": "Optional. The current etag of the TrustConfig. If an etag is provided and does not match the current etag of the resource, deletion will be blocked and an ABORTED error will be returned.", +"location": "query", +"type": "string" +}, +"name": { +"description": "Required. A name of the TrustConfig to delete. Must be in the format `projects/*/locations/*/trustConfigs/*`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/trustConfigs/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets details of a single TrustConfig.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/trustConfigs/{trustConfigsId}", +"httpMethod": "GET", +"id": "certificatemanager.projects.locations.trustConfigs.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. A name of the TrustConfig to describe. Must be in the format `projects/*/locations/*/trustConfigs/*`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/trustConfigs/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "TrustConfig" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists TrustConfigs in a given project and location.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/trustConfigs", +"httpMethod": "GET", +"id": "certificatemanager.projects.locations.trustConfigs.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Optional. Filter expression to restrict the TrustConfigs returned.", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "Optional. A list of TrustConfig field names used to specify the order of the returned results. The default sorting order is ascending. To specify descending order for a field, add a suffix `\" desc\"`.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Optional. Maximum number of TrustConfigs to return per call.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. The value returned by the last `ListTrustConfigsResponse`. Indicates that this is a continuation of a prior `ListTrustConfigs` call, and that the system should return the next page of data.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The project and location from which the TrustConfigs should be listed, specified in the format `projects/*/locations/*`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/trustConfigs", +"response": { +"$ref": "ListTrustConfigsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates a TrustConfig.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/trustConfigs/{trustConfigsId}", +"httpMethod": "PATCH", +"id": "certificatemanager.projects.locations.trustConfigs.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Identifier. A user-defined name of the trust config. TrustConfig names must be unique globally and match pattern `projects/*/locations/*/trustConfigs/*`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/trustConfigs/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Required. The update mask applies to the resource. For the `FieldMask` definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "TrustConfig" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +} +} +} +}, +"revision": "20260204", +"rootUrl": "https://certificatemanager.googleapis.com/", +"schemas": { +"AllowlistedCertificate": { +"description": "Defines an allowlisted certificate.", +"id": "AllowlistedCertificate", +"properties": { +"pemCertificate": { +"description": "Required. PEM certificate that is allowlisted. The certificate can be up to 5k bytes, and must be a parseable X.509 certificate.", +"type": "string" +} +}, +"type": "object" +}, +"AuthorizationAttemptInfo": { +"description": "State of the latest attempt to authorize a domain for certificate issuance.", +"id": "AuthorizationAttemptInfo", +"properties": { +"attemptTime": { +"description": "Output only. The timestamp, when the authorization attempt was made.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"details": { +"description": "Output only. Human readable explanation for reaching the state. Provided to help address the configuration issues. Not guaranteed to be stable. For programmatic access use FailureReason enum.", +"readOnly": true, +"type": "string" +}, +"domain": { +"description": "Output only. Domain name of the authorization attempt.", +"readOnly": true, +"type": "string" +}, +"failureReason": { +"description": "Output only. Reason for failure of the authorization attempt for the domain.", +"enum": [ +"FAILURE_REASON_UNSPECIFIED", +"CONFIG", +"CAA", +"RATE_LIMITED" +], +"enumDescriptions": [ +"FailureReason is unspecified.", +"There was a problem with the user's DNS or load balancer configuration for this domain.", +"Certificate issuance forbidden by an explicit CAA record for the domain or a failure to check CAA records for the domain.", +"Reached a CA or internal rate-limit for the domain, e.g. for certificates per top-level private domain." +], +"readOnly": true, +"type": "string" +}, +"state": { +"description": "Output only. State of the domain for managed certificate issuance.", +"enum": [ +"STATE_UNSPECIFIED", +"AUTHORIZING", +"AUTHORIZED", +"FAILED" +], +"enumDescriptions": [ +"State is unspecified.", +"Certificate provisioning for this domain is under way. Google Cloud will attempt to authorize the domain.", +"A managed certificate can be provisioned, no issues for this domain.", +"Attempt to authorize the domain failed. This prevents the Managed Certificate from being issued. See `failure_reason` and `details` fields for more information." +], +"readOnly": true, +"type": "string" +}, +"troubleshooting": { +"$ref": "Troubleshooting", +"description": "Output only. Troubleshooting information for the authorization attempt. This field is only populated if the authorization attempt failed.", +"readOnly": true +} +}, +"type": "object" +}, +"CNAME": { +"description": "CNAME troubleshooting information.", +"id": "CNAME", +"properties": { +"expectedData": { +"description": "Output only. The expected value of the CNAME record for the domain, equals to `dns_resource_record.data` in the corresponding `DnsAuthorization`.", +"readOnly": true, +"type": "string" +}, +"name": { +"description": "Output only. The name of the CNAME record for the domain, equals to `dns_resource_record.name` in the corresponding `DnsAuthorization`.", +"readOnly": true, +"type": "string" +}, +"resolvedData": { +"description": "Output only. The resolved CNAME chain. Empty list if the CNAME record for `CNAME.name` is not found. Otherwise the first item is the value of the CNAME record for `CNAME.name`. If the CNAME chain is longer, the second item is the value of the CNAME record for the first item, and so on.", +"items": { +"type": "string" +}, +"readOnly": true, +"type": "array" +} +}, +"type": "object" +}, +"CancelOperationRequest": { +"description": "The request message for Operations.CancelOperation.", +"id": "CancelOperationRequest", +"properties": {}, +"type": "object" +}, +"Certificate": { +"description": "Defines TLS certificate.", +"id": "Certificate", +"properties": { +"createTime": { +"description": "Output only. The creation timestamp of a Certificate.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"description": { +"description": "Optional. One or more paragraphs of text description of a certificate.", +"type": "string" +}, +"expireTime": { +"description": "Output only. The expiry timestamp of a Certificate.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. Set of labels associated with a Certificate.", +"type": "object" +}, +"managed": { +"$ref": "ManagedCertificate", +"description": "If set, contains configuration and state of a managed certificate." +}, +"managedIdentity": { +"$ref": "ManagedIdentityCertificate", +"description": "If set, contains configuration and state of a managed identity certificate." +}, +"name": { +"description": "Identifier. A user-defined name of the certificate. Certificate names must be unique globally and match pattern `projects/*/locations/*/certificates/*`.", +"type": "string" +}, +"pemCertificate": { +"description": "Output only. The PEM-encoded certificate chain.", +"readOnly": true, +"type": "string" +}, +"sanDnsnames": { +"description": "Output only. The list of Subject Alternative Names of dnsName type defined in the certificate (see RFC 5280 4.2.1.6). Managed certificates that haven't been provisioned yet have this field populated with a value of the managed.domains field.", +"items": { +"type": "string" +}, +"readOnly": true, +"type": "array" +}, +"scope": { +"description": "Optional. Immutable. The scope of the certificate.", +"enum": [ +"DEFAULT", +"EDGE_CACHE", +"ALL_REGIONS", +"CLIENT_AUTH" +], +"enumDescriptions": [ +"Use the DEFAULT scope if you plan to use the certificate with global external Application Load Balancer, global external proxy Network Load Balancer, or any of the regional Google Cloud services.", +"Use the EDGE_CACHE scope if you plan to use the certificate with Media CDN. The certificates are served from Edge Points of Presence. See https://cloud.google.com/vpc/docs/edge-locations.", +"Use the ALL_REGIONS scope if you plan to use the certificate with cross-region internal Application Load Balancer. The certificates are served from all Google Cloud regions. See https://cloud.google.com/compute/docs/regions-zones.", +"Associated with certificates used as client certificates in Backend mTLS." +], +"type": "string" +}, +"selfManaged": { +"$ref": "SelfManagedCertificate", +"description": "If set, defines data of a self-managed certificate." +}, +"updateTime": { +"description": "Output only. The last update timestamp of a Certificate.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"usedBy": { +"description": "Output only. The list of resources that use this Certificate.", +"items": { +"$ref": "UsedBy" +}, +"readOnly": true, +"type": "array" +} +}, +"type": "object" +}, +"CertificateAuthorityConfig": { +"description": "The CA that issues the workload certificate. It includes CA address, type, authentication to CA service, etc.", +"id": "CertificateAuthorityConfig", +"properties": { +"certificateAuthorityServiceConfig": { +"$ref": "CertificateAuthorityServiceConfig", +"description": "Defines a CertificateAuthorityServiceConfig." +} +}, +"type": "object" +}, +"CertificateAuthorityServiceConfig": { +"description": "Contains information required to contact CA service.", +"id": "CertificateAuthorityServiceConfig", +"properties": { +"caPool": { +"description": "Required. A CA pool resource used to issue a certificate. The CA pool string has a relative resource path following the form \"projects/{project}/locations/{location}/caPools/{ca_pool}\".", +"type": "string" +} +}, +"type": "object" +}, +"CertificateIssuanceConfig": { +"description": "CertificateIssuanceConfig specifies how to issue and manage a certificate.", +"id": "CertificateIssuanceConfig", +"properties": { +"certificateAuthorityConfig": { +"$ref": "CertificateAuthorityConfig", +"description": "Required. The CA that issues the workload certificate. It includes the CA address, type, authentication to CA service, etc." +}, +"createTime": { +"description": "Output only. The creation timestamp of a CertificateIssuanceConfig.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"description": { +"description": "Optional. One or more paragraphs of text description of a CertificateIssuanceConfig.", +"type": "string" +}, +"keyAlgorithm": { +"description": "Required. The key algorithm to use when generating the private key.", +"enum": [ +"KEY_ALGORITHM_UNSPECIFIED", +"RSA_2048", +"ECDSA_P256" +], +"enumDescriptions": [ +"Unspecified key algorithm.", +"Specifies RSA with a 2048-bit modulus.", +"Specifies ECDSA with curve P256." +], +"type": "string" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. Set of labels associated with a CertificateIssuanceConfig.", +"type": "object" +}, +"lifetime": { +"description": "Required. Workload certificate lifetime requested.", +"format": "google-duration", +"type": "string" +}, +"name": { +"description": "Identifier. A user-defined name of the certificate issuance config. CertificateIssuanceConfig names must be unique globally and match pattern `projects/*/locations/*/certificateIssuanceConfigs/*`.", +"type": "string" +}, +"rotationWindowPercentage": { +"description": "Required. Specifies the percentage of elapsed time of the certificate lifetime to wait before renewing the certificate. Must be a number between 1-99, inclusive.", +"format": "int32", +"type": "integer" +}, +"updateTime": { +"description": "Output only. The last update timestamp of a CertificateIssuanceConfig.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"CertificateMap": { +"description": "Defines a collection of certificate configurations.", +"id": "CertificateMap", +"properties": { +"createTime": { +"description": "Output only. The creation timestamp of a Certificate Map.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"description": { +"description": "Optional. One or more paragraphs of text description of a certificate map.", +"type": "string" +}, +"gclbTargets": { +"description": "Output only. A list of GCLB targets that use this Certificate Map. A Target Proxy is only present on this list if it's attached to a Forwarding Rule.", +"items": { +"$ref": "GclbTarget" +}, +"readOnly": true, +"type": "array" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. Set of labels associated with a Certificate Map.", +"type": "object" +}, +"name": { +"description": "Identifier. A user-defined name of the Certificate Map. Certificate Map names must be unique globally and match pattern `projects/*/locations/*/certificateMaps/*`.", +"type": "string" +}, +"updateTime": { +"description": "Output only. The update timestamp of a Certificate Map.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"CertificateMapEntry": { +"description": "Defines a certificate map entry.", +"id": "CertificateMapEntry", +"properties": { +"certificates": { +"description": "Optional. A set of Certificates defines for the given `hostname`. There can be defined up to four certificates in each Certificate Map Entry. Each certificate must match pattern `projects/*/locations/*/certificates/*`.", +"items": { +"type": "string" +}, +"type": "array" +}, +"createTime": { +"description": "Output only. The creation timestamp of a Certificate Map Entry.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"description": { +"description": "Optional. One or more paragraphs of text description of a certificate map entry.", +"type": "string" +}, +"hostname": { +"description": "A Hostname (FQDN, e.g. `example.com`) or a wildcard hostname expression (`*.example.com`) for a set of hostnames with common suffix. Used as Server Name Indication (SNI) for selecting a proper certificate.", +"type": "string" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. Set of labels associated with a Certificate Map Entry.", +"type": "object" +}, +"matcher": { +"description": "A predefined matcher for particular cases, other than SNI selection.", +"enum": [ +"MATCHER_UNSPECIFIED", +"PRIMARY" +], +"enumDescriptions": [ +"A matcher has't been recognized.", +"A primary certificate that is served when SNI wasn't specified in the request or SNI couldn't be found in the map." +], +"type": "string" +}, +"name": { +"description": "Identifier. A user-defined name of the Certificate Map Entry. Certificate Map Entry names must be unique globally and match pattern `projects/*/locations/*/certificateMaps/*/certificateMapEntries/*`.", +"type": "string" +}, +"state": { +"description": "Output only. A serving state of this Certificate Map Entry.", +"enum": [ +"SERVING_STATE_UNSPECIFIED", +"ACTIVE", +"PENDING" +], +"enumDescriptions": [ +"The status is undefined.", +"The configuration is serving.", +"Update is in progress. Some frontends may serve this configuration." +], +"readOnly": true, +"type": "string" +}, +"updateTime": { +"description": "Output only. The update timestamp of a Certificate Map Entry.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"DnsAuthorization": { +"description": "A DnsAuthorization resource describes a way to perform domain authorization for certificate issuance.", +"id": "DnsAuthorization", +"properties": { +"createTime": { +"description": "Output only. The creation timestamp of a DnsAuthorization.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"description": { +"description": "Optional. One or more paragraphs of text description of a DnsAuthorization.", +"type": "string" +}, +"dnsResourceRecord": { +"$ref": "DnsResourceRecord", +"description": "Output only. DNS Resource Record that needs to be added to DNS configuration.", +"readOnly": true +}, +"domain": { +"description": "Required. Immutable. A domain that is being authorized. A DnsAuthorization resource covers a single domain and its wildcard, e.g. authorization for `example.com` can be used to issue certificates for `example.com` and `*.example.com`.", +"type": "string" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. Set of labels associated with a DnsAuthorization.", +"type": "object" +}, +"name": { +"description": "Identifier. A user-defined name of the dns authorization. DnsAuthorization names must be unique globally and match pattern `projects/*/locations/*/dnsAuthorizations/*`.", +"type": "string" +}, +"type": { +"description": "Optional. Immutable. Type of DnsAuthorization. If unset during resource creation the following default will be used: - in location `global`: FIXED_RECORD, - in other locations: PER_PROJECT_RECORD.", +"enum": [ +"TYPE_UNSPECIFIED", +"FIXED_RECORD", +"PER_PROJECT_RECORD" +], +"enumDescriptions": [ +"Type is unspecified.", +"FIXED_RECORD DNS authorization uses DNS-01 validation method.", +"PER_PROJECT_RECORD DNS authorization allows for independent management of Google-managed certificates with DNS authorization across multiple projects." +], +"type": "string" +}, +"updateTime": { +"description": "Output only. The last update timestamp of a DnsAuthorization.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"DnsResourceRecord": { +"description": "The structure describing the DNS Resource Record that needs to be added to DNS configuration for the authorization to be usable by certificate.", +"id": "DnsResourceRecord", +"properties": { +"data": { +"description": "Output only. Data of the DNS Resource Record.", +"readOnly": true, +"type": "string" +}, +"name": { +"description": "Output only. Fully qualified name of the DNS Resource Record. e.g. `_acme-challenge.example.com`", +"readOnly": true, +"type": "string" +}, +"type": { +"description": "Output only. Type of the DNS Resource Record. Currently always set to \"CNAME\".", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"Empty": { +"description": "A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }", +"id": "Empty", +"properties": {}, +"type": "object" +}, +"GclbTarget": { +"description": "Describes a Target Proxy that uses this Certificate Map.", +"id": "GclbTarget", +"properties": { +"ipConfigs": { +"description": "Output only. IP configurations for this Target Proxy where the Certificate Map is serving.", +"items": { +"$ref": "IpConfig" +}, +"readOnly": true, +"type": "array" +}, +"targetHttpsProxy": { +"description": "Output only. This field returns the resource name in the following format: `//compute.googleapis.com/projects/*/global/targetHttpsProxies/*`.", +"readOnly": true, +"type": "string" +}, +"targetSslProxy": { +"description": "Output only. This field returns the resource name in the following format: `//compute.googleapis.com/projects/*/global/targetSslProxies/*`.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"IPs": { +"description": "IPs troubleshooting information.", +"id": "IPs", +"properties": { +"resolved": { +"description": "Output only. The list of IP addresses resolved from the domain's A/AAAA records. Can contain both ipv4 and ipv6 addresses.", +"items": { +"type": "string" +}, +"readOnly": true, +"type": "array" +}, +"serving": { +"description": "Output only. The list of IP addresses, where the certificate is attached and port 443 is open.", +"items": { +"type": "string" +}, +"readOnly": true, +"type": "array" +}, +"servingOnAltPorts": { +"description": "Output only. The list of IP addresses, where the certificate is attached, but port 443 is not open.", +"items": { +"type": "string" +}, +"readOnly": true, +"type": "array" +} +}, +"type": "object" +}, +"IntermediateCA": { +"description": "Defines an intermediate CA.", +"id": "IntermediateCA", +"properties": { +"pemCertificate": { +"description": "PEM intermediate certificate used for building up paths for validation. Each certificate provided in PEM format may occupy up to 5kB.", +"type": "string" +} +}, +"type": "object" +}, +"IpConfig": { +"description": "Defines IP configuration where this Certificate Map is serving.", +"id": "IpConfig", +"properties": { +"ipAddress": { +"description": "Output only. An external IP address.", +"readOnly": true, +"type": "string" +}, +"ports": { +"description": "Output only. Ports.", +"items": { +"format": "uint32", +"type": "integer" +}, +"readOnly": true, +"type": "array" +} +}, +"type": "object" +}, +"ListCertificateIssuanceConfigsResponse": { +"description": "Response for the `ListCertificateIssuanceConfigs` method.", +"id": "ListCertificateIssuanceConfigsResponse", +"properties": { +"certificateIssuanceConfigs": { +"description": "A list of certificate configs for the parent resource.", +"items": { +"$ref": "CertificateIssuanceConfig" +}, +"type": "array" +}, +"nextPageToken": { +"description": "If there might be more results than those appearing in this response, then `next_page_token` is included. To get the next set of results, call this method again using the value of `next_page_token` as `page_token`.", +"type": "string" +}, +"unreachable": { +"description": "Locations that could not be reached.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListCertificateMapEntriesResponse": { +"description": "Response for the `ListCertificateMapEntries` method.", +"id": "ListCertificateMapEntriesResponse", +"properties": { +"certificateMapEntries": { +"description": "A list of certificate map entries for the parent resource.", +"items": { +"$ref": "CertificateMapEntry" +}, +"type": "array" +}, +"nextPageToken": { +"description": "If there might be more results than those appearing in this response, then `next_page_token` is included. To get the next set of results, call this method again using the value of `next_page_token` as `page_token`.", +"type": "string" +}, +"unreachable": { +"description": "Locations that could not be reached.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListCertificateMapsResponse": { +"description": "Response for the `ListCertificateMaps` method.", +"id": "ListCertificateMapsResponse", +"properties": { +"certificateMaps": { +"description": "A list of certificate maps for the parent resource.", +"items": { +"$ref": "CertificateMap" +}, +"type": "array" +}, +"nextPageToken": { +"description": "If there might be more results than those appearing in this response, then `next_page_token` is included. To get the next set of results, call this method again using the value of `next_page_token` as `page_token`.", +"type": "string" +}, +"unreachable": { +"description": "Locations that could not be reached.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListCertificatesResponse": { +"description": "Response for the `ListCertificates` method.", +"id": "ListCertificatesResponse", +"properties": { +"certificates": { +"description": "A list of certificates for the parent resource.", +"items": { +"$ref": "Certificate" +}, +"type": "array" +}, +"nextPageToken": { +"description": "If there might be more results than those appearing in this response, then `next_page_token` is included. To get the next set of results, call this method again using the value of `next_page_token` as `page_token`.", +"type": "string" +}, +"unreachable": { +"description": "A list of locations that could not be reached.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListDnsAuthorizationsResponse": { +"description": "Response for the `ListDnsAuthorizations` method.", +"id": "ListDnsAuthorizationsResponse", +"properties": { +"dnsAuthorizations": { +"description": "A list of dns authorizations for the parent resource.", +"items": { +"$ref": "DnsAuthorization" +}, +"type": "array" +}, +"nextPageToken": { +"description": "If there might be more results than those appearing in this response, then `next_page_token` is included. To get the next set of results, call this method again using the value of `next_page_token` as `page_token`.", +"type": "string" +}, +"unreachable": { +"description": "Locations that could not be reached.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListLocationsResponse": { +"description": "The response message for Locations.ListLocations.", +"id": "ListLocationsResponse", +"properties": { +"locations": { +"description": "A list of locations that matches the specified filter in the request.", +"items": { +"$ref": "Location" +}, +"type": "array" +}, +"nextPageToken": { +"description": "The standard List next-page token.", +"type": "string" +} +}, +"type": "object" +}, +"ListOperationsResponse": { +"description": "The response message for Operations.ListOperations.", +"id": "ListOperationsResponse", +"properties": { +"nextPageToken": { +"description": "The standard List next-page token.", +"type": "string" +}, +"operations": { +"description": "A list of operations that matches the specified filter in the request.", +"items": { +"$ref": "Operation" +}, +"type": "array" +}, +"unreachable": { +"description": "Unordered list. Unreachable resources. Populated when the request sets `ListOperationsRequest.return_partial_success` and reads across collections. For example, when attempting to list all resources across all supported locations.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListTrustConfigsResponse": { +"description": "Response for the `ListTrustConfigs` method.", +"id": "ListTrustConfigsResponse", +"properties": { +"nextPageToken": { +"description": "If there might be more results than those appearing in this response, then `next_page_token` is included. To get the next set of results, call this method again using the value of `next_page_token` as `page_token`.", +"type": "string" +}, +"trustConfigs": { +"description": "A list of TrustConfigs for the parent resource.", +"items": { +"$ref": "TrustConfig" +}, +"type": "array" +}, +"unreachable": { +"description": "Locations that could not be reached.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"Location": { +"description": "A resource that represents a Google Cloud location.", +"id": "Location", +"properties": { +"displayName": { +"description": "The friendly name for this location, typically a nearby city name. For example, \"Tokyo\".", +"type": "string" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Cross-service attributes for the location. For example {\"cloud.googleapis.com/region\": \"us-east1\"}", +"type": "object" +}, +"locationId": { +"description": "The canonical id for this location. For example: `\"us-east1\"`.", +"type": "string" +}, +"metadata": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "Service-specific metadata. For example the available capacity at the given location.", +"type": "object" +}, +"name": { +"description": "Resource name for the location, which may vary between implementations. For example: `\"projects/example-project/locations/us-east1\"`", +"type": "string" +} +}, +"type": "object" +}, +"ManagedCertificate": { +"description": "Configuration and state of a Managed Certificate. Certificate Manager provisions and renews Managed Certificates automatically, for as long as it's authorized to do so.", +"id": "ManagedCertificate", +"properties": { +"authorizationAttemptInfo": { +"description": "Output only. Detailed state of the latest authorization attempt for each domain specified for managed certificate resource.", +"items": { +"$ref": "AuthorizationAttemptInfo" +}, +"readOnly": true, +"type": "array" +}, +"dnsAuthorizations": { +"description": "Optional. Immutable. Authorizations that will be used for performing domain authorization.", +"items": { +"type": "string" +}, +"type": "array" +}, +"domains": { +"description": "Optional. Immutable. The domains for which a managed SSL certificate will be generated. Wildcard domains are only supported with DNS challenge resolution.", +"items": { +"type": "string" +}, +"type": "array" +}, +"issuanceConfig": { +"description": "Optional. Immutable. The resource name for a CertificateIssuanceConfig used to configure private PKI certificates in the format `projects/*/locations/*/certificateIssuanceConfigs/*`. If this field is not set, the certificates will instead be publicly signed as documented at https://cloud.google.com/load-balancing/docs/ssl-certificates/google-managed-certs#caa.", +"type": "string" +}, +"provisioningIssue": { +"$ref": "ProvisioningIssue", +"description": "Output only. Information about issues with provisioning a Managed Certificate.", +"readOnly": true +}, +"state": { +"description": "Output only. State of the managed certificate resource.", +"enum": [ +"STATE_UNSPECIFIED", +"PROVISIONING", +"FAILED", +"ACTIVE" +], +"enumDescriptions": [ +"State is unspecified.", +"Certificate Manager attempts to provision or renew the certificate. If the process takes longer than expected, consult the `provisioning_issue` field.", +"Multiple certificate provisioning attempts failed and Certificate Manager gave up. To try again, delete and create a new managed Certificate resource. For details see the `provisioning_issue` field.", +"The certificate management is working, and a certificate has been provisioned." +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"ManagedIdentityCertificate": { +"description": "Configuration and state of a Managed Identity Certificate. Certificate Manager provisions and renews Managed Identity Certificates automatically, for as long as it's authorized to do so.", +"id": "ManagedIdentityCertificate", +"properties": { +"identity": { +"description": "Required. Immutable. SPIFFE ID of the Managed Identity used for this certificate.", +"type": "string" +}, +"provisioningIssue": { +"$ref": "ProvisioningIssue", +"description": "Output only. Information about issues with provisioning a managed certificate.", +"readOnly": true +}, +"state": { +"description": "Output only. State of the managed certificate resource.", +"enum": [ +"STATE_UNSPECIFIED", +"PROVISIONING", +"FAILED", +"ACTIVE" +], +"enumDescriptions": [ +"State is unspecified.", +"Certificate Manager attempts to provision or renew the certificate. If the process takes longer than expected, consult the `provisioning_issue` field.", +"Multiple certificate provisioning attempts failed and Certificate Manager gave up. To try again, delete and create a new managed Certificate resource. For details see the `provisioning_issue` field.", +"The certificate management is working, and a certificate has been provisioned." +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"Operation": { +"description": "This resource represents a long-running operation that is the result of a network API call.", +"id": "Operation", +"properties": { +"done": { +"description": "If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.", +"type": "boolean" +}, +"error": { +"$ref": "Status", +"description": "The error result of the operation in case of failure or cancellation." +}, +"metadata": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.", +"type": "object" +}, +"name": { +"description": "The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.", +"type": "string" +}, +"response": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "The normal, successful response of the operation. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.", +"type": "object" +} +}, +"type": "object" +}, +"OperationMetadata": { +"description": "Represents the metadata of the long-running operation. Output only.", +"id": "OperationMetadata", +"properties": { +"apiVersion": { +"description": "API version used to start the operation.", +"type": "string" +}, +"createTime": { +"description": "The time the operation was created.", +"format": "google-datetime", +"type": "string" +}, +"endTime": { +"description": "The time the operation finished running.", +"format": "google-datetime", +"type": "string" +}, +"requestedCancellation": { +"description": "Identifies whether the user has requested cancellation of the operation. Operations that have successfully been cancelled have google.longrunning.Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.", +"type": "boolean" +}, +"statusMessage": { +"description": "Human-readable status of the operation, if any.", +"type": "string" +}, +"target": { +"description": "Server-defined resource path for the target of the operation.", +"type": "string" +}, +"verb": { +"description": "Name of the verb executed by the operation.", +"type": "string" +} +}, +"type": "object" +}, +"ProvisioningIssue": { +"description": "Information about issues with provisioning a Managed Certificate.", +"id": "ProvisioningIssue", +"properties": { +"details": { +"description": "Output only. Human readable explanation about the issue. Provided to help address the configuration issues. Not guaranteed to be stable. For programmatic access use Reason enum.", +"readOnly": true, +"type": "string" +}, +"reason": { +"description": "Output only. Reason for provisioning failures.", +"enum": [ +"REASON_UNSPECIFIED", +"AUTHORIZATION_ISSUE", +"RATE_LIMITED" +], +"enumDescriptions": [ +"Reason is unspecified.", +"Certificate provisioning failed due to an issue with one or more of the domains on the certificate. For details of which domains failed, consult the `authorization_attempt_info` field.", +"Exceeded Certificate Authority quotas or internal rate limits of the system. Provisioning may take longer to complete." +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"SelfManagedCertificate": { +"description": "Certificate data for a SelfManaged Certificate. SelfManaged Certificates are uploaded by the user. Updating such certificates before they expire remains the user's responsibility.", +"id": "SelfManagedCertificate", +"properties": { +"pemCertificate": { +"description": "Optional. Input only. The PEM-encoded certificate chain. Leaf certificate comes first, followed by intermediate ones if any.", +"type": "string" +}, +"pemPrivateKey": { +"description": "Optional. Input only. The PEM-encoded private key of the leaf certificate.", +"type": "string" +} +}, +"type": "object" +}, +"Status": { +"description": "The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors).", +"id": "Status", +"properties": { +"code": { +"description": "The status code, which should be an enum value of google.rpc.Code.", +"format": "int32", +"type": "integer" +}, +"details": { +"description": "A list of messages that carry the error details. There is a common set of message types for APIs to use.", +"items": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.", +"type": "string" +} +}, +"type": "object" +}, +"Troubleshooting": { +"description": "Troubleshooting information for the authorization attempt.", +"id": "Troubleshooting", +"properties": { +"cname": { +"$ref": "CNAME", +"description": "Output only. CNAME troubleshooting information.", +"readOnly": true +}, +"ips": { +"$ref": "IPs", +"description": "Output only. IPs troubleshooting information.", +"readOnly": true +}, +"issues": { +"description": "Output only. The list of issues discovered during the authorization attempt.", +"items": { +"enum": [ +"ISSUE_UNSPECIFIED", +"CNAME_MISMATCH", +"RESOLVED_TO_NOT_SERVING", +"RESOLVED_TO_SERVING_ON_ALT_PORTS", +"NO_RESOLVED_IPS", +"CERTIFICATE_NOT_ATTACHED" +], +"enumDescriptions": [ +"Issue is unspecified.", +"The resolved CNAME value doesn't match the expected CNAME.", +"Domain has A/AAAA records that point to IPs, where the certificate is not attached.", +"Domain has A/AAAA records that point to IPs, where the certificate is attached, but port 443 is not open.", +"Domain doesn't have any A/AAAA records.", +"Certificate is not configured to be served from any IPs (e.g. Certificate is not attached to any load balancer)." +], +"type": "string" +}, +"readOnly": true, +"type": "array" +} +}, +"type": "object" +}, +"TrustAnchor": { +"description": "Defines a trust anchor.", +"id": "TrustAnchor", +"properties": { +"pemCertificate": { +"description": "PEM root certificate of the PKI used for validation. Each certificate provided in PEM format may occupy up to 5kB.", +"type": "string" +} +}, +"type": "object" +}, +"TrustConfig": { +"description": "Defines a trust config.", +"id": "TrustConfig", +"properties": { +"allowlistedCertificates": { +"description": "Optional. A certificate matching an allowlisted certificate is always considered valid as long as the certificate is parseable, proof of private key possession is established, and constraints on the certificate's SAN field are met.", +"items": { +"$ref": "AllowlistedCertificate" +}, +"type": "array" +}, +"createTime": { +"description": "Output only. The creation timestamp of a TrustConfig.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"description": { +"description": "Optional. One or more paragraphs of text description of a TrustConfig.", +"type": "string" +}, +"etag": { +"description": "This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.", +"type": "string" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. Set of labels associated with a TrustConfig.", +"type": "object" +}, +"name": { +"description": "Identifier. A user-defined name of the trust config. TrustConfig names must be unique globally and match pattern `projects/*/locations/*/trustConfigs/*`.", +"type": "string" +}, +"spiffeTrustStores": { +"additionalProperties": { +"$ref": "TrustStore" +}, +"description": "Optional. Defines a mapping from a trust domain to a TrustStore. This is used for SPIFFE certificate validation.", +"type": "object" +}, +"trustStores": { +"description": "Optional. Set of trust stores to perform validation against. This field is supported when TrustConfig is configured with Load Balancers, currently not supported for SPIFFE certificate validation. Only one TrustStore specified is currently allowed.", +"items": { +"$ref": "TrustStore" +}, +"type": "array" +}, +"updateTime": { +"description": "Output only. The last update timestamp of a TrustConfig.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"TrustStore": { +"description": "Defines a trust store.", +"id": "TrustStore", +"properties": { +"intermediateCas": { +"description": "Optional. Set of intermediate CA certificates used for the path building phase of chain validation. The field is currently not supported if TrustConfig is used for the workload certificate feature.", +"items": { +"$ref": "IntermediateCA" +}, +"type": "array" +}, +"trustAnchors": { +"description": "Optional. List of Trust Anchors to be used while performing validation against a given TrustStore.", +"items": { +"$ref": "TrustAnchor" +}, +"type": "array" +} +}, +"type": "object" +}, +"UsedBy": { +"description": "Defines a resource that uses the certificate.", +"id": "UsedBy", +"properties": { +"name": { +"description": "Output only. Full name of the resource https://google.aip.dev/122#full-resource-names, e.g. `//certificatemanager.googleapis.com/projects/*/locations/*/certificateMaps/*/certificateMapEntries/*` or `//compute.googleapis.com/projects/*/locations/*/targetHttpsProxies/*`.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +} +}, +"servicePath": "", +"title": "Certificate Manager API", +"version": "v1", +"version_module": true +} \ No newline at end of file diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/chromepolicy.v1.json b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/chromepolicy.v1.json new file mode 100644 index 0000000000000000000000000000000000000000..712ca71ef57555f87e9f79ede1198e24c0d8aac8 --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/chromepolicy.v1.json @@ -0,0 +1,1845 @@ +{ +"auth": { +"oauth2": { +"scopes": { +"https://www.googleapis.com/auth/chrome.management.policy": { +"description": "See, edit, create or delete policies applied to ChromeOS and Chrome Browsers managed within your organization" +}, +"https://www.googleapis.com/auth/chrome.management.policy.readonly": { +"description": "See policies applied to ChromeOS and Chrome Browsers managed within your organization" +} +} +} +}, +"basePath": "", +"baseUrl": "https://chromepolicy.googleapis.com/", +"batchPath": "batch", +"canonicalName": "Chrome Policy", +"description": "The Chrome Policy API is a suite of services that allows Chrome administrators to control the policies applied to their managed Chrome OS devices and Chrome browsers.", +"discoveryVersion": "v1", +"documentationLink": "http://developers.google.com/chrome/policy", +"fullyEncodeReservedExpansion": true, +"icons": { +"x16": "http://www.google.com/images/icons/product/search-16.gif", +"x32": "http://www.google.com/images/icons/product/search-32.gif" +}, +"id": "chromepolicy:v1", +"kind": "discovery#restDescription", +"mtlsRootUrl": "https://chromepolicy.mtls.googleapis.com/", +"name": "chromepolicy", +"ownerDomain": "google.com", +"ownerName": "Google", +"parameters": { +"$.xgafv": { +"description": "V1 error format.", +"enum": [ +"1", +"2" +], +"enumDescriptions": [ +"v1 error format", +"v2 error format" +], +"location": "query", +"type": "string" +}, +"access_token": { +"description": "OAuth access token.", +"location": "query", +"type": "string" +}, +"alt": { +"default": "json", +"description": "Data format for response.", +"enum": [ +"json", +"media", +"proto" +], +"enumDescriptions": [ +"Responses with Content-Type of application/json", +"Media download with context-dependent Content-Type", +"Responses with Content-Type of application/x-protobuf" +], +"location": "query", +"type": "string" +}, +"callback": { +"description": "JSONP", +"location": "query", +"type": "string" +}, +"fields": { +"description": "Selector specifying which fields to include in a partial response.", +"location": "query", +"type": "string" +}, +"key": { +"description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", +"location": "query", +"type": "string" +}, +"oauth_token": { +"description": "OAuth 2.0 token for the current user.", +"location": "query", +"type": "string" +}, +"prettyPrint": { +"default": "true", +"description": "Returns response with indentations and line breaks.", +"location": "query", +"type": "boolean" +}, +"quotaUser": { +"description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.", +"location": "query", +"type": "string" +}, +"uploadType": { +"description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", +"location": "query", +"type": "string" +}, +"upload_protocol": { +"description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", +"location": "query", +"type": "string" +} +}, +"protocol": "rest", +"resources": { +"customers": { +"resources": { +"policies": { +"methods": { +"resolve": { +"description": "Gets the resolved policy values for a list of policies that match a search query.", +"flatPath": "v1/customers/{customersId}/policies:resolve", +"httpMethod": "POST", +"id": "chromepolicy.customers.policies.resolve", +"parameterOrder": [ +"customer" +], +"parameters": { +"customer": { +"description": "ID of the G Suite account or literal \"my_customer\" for the customer associated to the request.", +"location": "path", +"pattern": "^customers/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+customer}/policies:resolve", +"request": { +"$ref": "GoogleChromePolicyVersionsV1ResolveRequest" +}, +"response": { +"$ref": "GoogleChromePolicyVersionsV1ResolveResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/chrome.management.policy", +"https://www.googleapis.com/auth/chrome.management.policy.readonly" +] +} +}, +"resources": { +"groups": { +"methods": { +"batchDelete": { +"description": "Delete multiple policy values that are applied to a specific group. All targets must have the same target format. That is to say that they must point to the same target resource and must have the same keys specified in `additionalTargetKeyNames`, though the values for those keys may be different. On failure the request will return the error details as part of the google.rpc.Status.", +"flatPath": "v1/customers/{customersId}/policies/groups:batchDelete", +"httpMethod": "POST", +"id": "chromepolicy.customers.policies.groups.batchDelete", +"parameterOrder": [ +"customer" +], +"parameters": { +"customer": { +"description": "ID of the Google Workspace account or literal \"my_customer\" for the customer associated to the request.", +"location": "path", +"pattern": "^customers/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+customer}/policies/groups:batchDelete", +"request": { +"$ref": "GoogleChromePolicyVersionsV1BatchDeleteGroupPoliciesRequest" +}, +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/chrome.management.policy" +] +}, +"batchModify": { +"description": "Modify multiple policy values that are applied to a specific group. All targets must have the same target format. That is to say that they must point to the same target resource and must have the same keys specified in `additionalTargetKeyNames`, though the values for those keys may be different. On failure the request will return the error details as part of the google.rpc.Status.", +"flatPath": "v1/customers/{customersId}/policies/groups:batchModify", +"httpMethod": "POST", +"id": "chromepolicy.customers.policies.groups.batchModify", +"parameterOrder": [ +"customer" +], +"parameters": { +"customer": { +"description": "ID of the Google Workspace account or literal \"my_customer\" for the customer associated to the request.", +"location": "path", +"pattern": "^customers/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+customer}/policies/groups:batchModify", +"request": { +"$ref": "GoogleChromePolicyVersionsV1BatchModifyGroupPoliciesRequest" +}, +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/chrome.management.policy" +] +}, +"listGroupPriorityOrdering": { +"description": "Retrieve a group priority ordering for an app. The target app must be supplied in `additionalTargetKeyNames` in the PolicyTargetKey. On failure the request will return the error details as part of the google.rpc.Status.", +"flatPath": "v1/customers/{customersId}/policies/groups:listGroupPriorityOrdering", +"httpMethod": "POST", +"id": "chromepolicy.customers.policies.groups.listGroupPriorityOrdering", +"parameterOrder": [ +"customer" +], +"parameters": { +"customer": { +"description": "Required. ID of the Google Workspace account or literal \"my_customer\" for the customer associated to the request.", +"location": "path", +"pattern": "^customers/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+customer}/policies/groups:listGroupPriorityOrdering", +"request": { +"$ref": "GoogleChromePolicyVersionsV1ListGroupPriorityOrderingRequest" +}, +"response": { +"$ref": "GoogleChromePolicyVersionsV1ListGroupPriorityOrderingResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/chrome.management.policy", +"https://www.googleapis.com/auth/chrome.management.policy.readonly" +] +}, +"updateGroupPriorityOrdering": { +"description": "Update a group priority ordering for an app. The target app must be supplied in `additionalTargetKeyNames` in the PolicyTargetKey. On failure the request will return the error details as part of the google.rpc.Status.", +"flatPath": "v1/customers/{customersId}/policies/groups:updateGroupPriorityOrdering", +"httpMethod": "POST", +"id": "chromepolicy.customers.policies.groups.updateGroupPriorityOrdering", +"parameterOrder": [ +"customer" +], +"parameters": { +"customer": { +"description": "Required. ID of the Google Workspace account or literal \"my_customer\" for the customer associated to the request.", +"location": "path", +"pattern": "^customers/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+customer}/policies/groups:updateGroupPriorityOrdering", +"request": { +"$ref": "GoogleChromePolicyVersionsV1UpdateGroupPriorityOrderingRequest" +}, +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/chrome.management.policy" +] +} +} +}, +"networks": { +"methods": { +"defineCertificate": { +"description": "Creates a certificate at a specified OU for a customer.", +"flatPath": "v1/customers/{customersId}/policies/networks:defineCertificate", +"httpMethod": "POST", +"id": "chromepolicy.customers.policies.networks.defineCertificate", +"parameterOrder": [ +"customer" +], +"parameters": { +"customer": { +"description": "Required. The customer for which the certificate will apply.", +"location": "path", +"pattern": "^customers/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+customer}/policies/networks:defineCertificate", +"request": { +"$ref": "GoogleChromePolicyVersionsV1DefineCertificateRequest" +}, +"response": { +"$ref": "GoogleChromePolicyVersionsV1DefineCertificateResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/chrome.management.policy" +] +}, +"defineNetwork": { +"description": "Define a new network.", +"flatPath": "v1/customers/{customersId}/policies/networks:defineNetwork", +"httpMethod": "POST", +"id": "chromepolicy.customers.policies.networks.defineNetwork", +"parameterOrder": [ +"customer" +], +"parameters": { +"customer": { +"description": "Required. The customer who will own this new network.", +"location": "path", +"pattern": "^customers/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+customer}/policies/networks:defineNetwork", +"request": { +"$ref": "GoogleChromePolicyVersionsV1DefineNetworkRequest" +}, +"response": { +"$ref": "GoogleChromePolicyVersionsV1DefineNetworkResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/chrome.management.policy" +] +}, +"removeCertificate": { +"description": "Remove an existing certificate by guid.", +"flatPath": "v1/customers/{customersId}/policies/networks:removeCertificate", +"httpMethod": "POST", +"id": "chromepolicy.customers.policies.networks.removeCertificate", +"parameterOrder": [ +"customer" +], +"parameters": { +"customer": { +"description": "Required. The customer whose certificate will be removed.", +"location": "path", +"pattern": "^customers/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+customer}/policies/networks:removeCertificate", +"request": { +"$ref": "GoogleChromePolicyVersionsV1RemoveCertificateRequest" +}, +"response": { +"$ref": "GoogleChromePolicyVersionsV1RemoveCertificateResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/chrome.management.policy" +] +}, +"removeNetwork": { +"description": "Remove an existing network by guid.", +"flatPath": "v1/customers/{customersId}/policies/networks:removeNetwork", +"httpMethod": "POST", +"id": "chromepolicy.customers.policies.networks.removeNetwork", +"parameterOrder": [ +"customer" +], +"parameters": { +"customer": { +"description": "Required. The customer whose network will be removed.", +"location": "path", +"pattern": "^customers/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+customer}/policies/networks:removeNetwork", +"request": { +"$ref": "GoogleChromePolicyVersionsV1RemoveNetworkRequest" +}, +"response": { +"$ref": "GoogleChromePolicyVersionsV1RemoveNetworkResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/chrome.management.policy" +] +} +} +}, +"orgunits": { +"methods": { +"batchInherit": { +"description": "Modify multiple policy values that are applied to a specific org unit so that they now inherit the value from a parent (if applicable). All targets must have the same target format. That is to say that they must point to the same target resource and must have the same keys specified in `additionalTargetKeyNames`, though the values for those keys may be different. On failure the request will return the error details as part of the google.rpc.Status.", +"flatPath": "v1/customers/{customersId}/policies/orgunits:batchInherit", +"httpMethod": "POST", +"id": "chromepolicy.customers.policies.orgunits.batchInherit", +"parameterOrder": [ +"customer" +], +"parameters": { +"customer": { +"description": "ID of the G Suite account or literal \"my_customer\" for the customer associated to the request.", +"location": "path", +"pattern": "^customers/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+customer}/policies/orgunits:batchInherit", +"request": { +"$ref": "GoogleChromePolicyVersionsV1BatchInheritOrgUnitPoliciesRequest" +}, +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/chrome.management.policy" +] +}, +"batchModify": { +"description": "Modify multiple policy values that are applied to a specific org unit. All targets must have the same target format. That is to say that they must point to the same target resource and must have the same keys specified in `additionalTargetKeyNames`, though the values for those keys may be different. On failure the request will return the error details as part of the google.rpc.Status.", +"flatPath": "v1/customers/{customersId}/policies/orgunits:batchModify", +"httpMethod": "POST", +"id": "chromepolicy.customers.policies.orgunits.batchModify", +"parameterOrder": [ +"customer" +], +"parameters": { +"customer": { +"description": "ID of the G Suite account or literal \"my_customer\" for the customer associated to the request.", +"location": "path", +"pattern": "^customers/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+customer}/policies/orgunits:batchModify", +"request": { +"$ref": "GoogleChromePolicyVersionsV1BatchModifyOrgUnitPoliciesRequest" +}, +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/chrome.management.policy" +] +} +} +} +} +}, +"policySchemas": { +"methods": { +"get": { +"description": "Get a specific policy schema for a customer by its resource name.", +"flatPath": "v1/customers/{customersId}/policySchemas/{policySchemasId}", +"httpMethod": "GET", +"id": "chromepolicy.customers.policySchemas.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The policy schema resource name to query.", +"location": "path", +"pattern": "^customers/[^/]+/policySchemas/.*$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleChromePolicyVersionsV1PolicySchema" +}, +"scopes": [ +"https://www.googleapis.com/auth/chrome.management.policy", +"https://www.googleapis.com/auth/chrome.management.policy.readonly" +] +}, +"list": { +"description": "Gets a list of policy schemas that match a specified filter value for a given customer.", +"flatPath": "v1/customers/{customersId}/policySchemas", +"httpMethod": "GET", +"id": "chromepolicy.customers.policySchemas.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "The schema filter used to find a particular schema based on fields like its resource name, description and `additionalTargetKeyNames`.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "The maximum number of policy schemas to return, defaults to 100 and has a maximum of 1000.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The page token used to retrieve a specific page of the listing request.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The customer for which the listing request will apply.", +"location": "path", +"pattern": "^customers/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/policySchemas", +"response": { +"$ref": "GoogleChromePolicyVersionsV1ListPolicySchemasResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/chrome.management.policy", +"https://www.googleapis.com/auth/chrome.management.policy.readonly" +] +} +} +} +} +}, +"media": { +"methods": { +"upload": { +"description": "Creates an enterprise file from the content provided by user. Returns a public download url for end user.", +"flatPath": "v1/customers/{customersId}/policies/files:uploadPolicyFile", +"httpMethod": "POST", +"id": "chromepolicy.media.upload", +"mediaUpload": { +"accept": [ +"*/*" +], +"protocols": { +"simple": { +"multipart": true, +"path": "/upload/v1/{+customer}/policies/files:uploadPolicyFile" +} +} +}, +"parameterOrder": [ +"customer" +], +"parameters": { +"customer": { +"description": "Required. The customer for which the file upload will apply.", +"location": "path", +"pattern": "^customers/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+customer}/policies/files:uploadPolicyFile", +"request": { +"$ref": "GoogleChromePolicyVersionsV1UploadPolicyFileRequest" +}, +"response": { +"$ref": "GoogleChromePolicyVersionsV1UploadPolicyFileResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/chrome.management.policy" +], +"supportsMediaUpload": true +} +} +} +}, +"revision": "20250504", +"rootUrl": "https://chromepolicy.googleapis.com/", +"schemas": { +"GoogleChromePolicyVersionsV1AdditionalTargetKeyName": { +"description": "Additional key names that will be used to identify the target of the policy value.", +"id": "GoogleChromePolicyVersionsV1AdditionalTargetKeyName", +"properties": { +"key": { +"description": "Key name.", +"type": "string" +}, +"keyDescription": { +"description": "Key description.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleChromePolicyVersionsV1BatchDeleteGroupPoliciesRequest": { +"description": "Request message for specifying that multiple policy values will be deleted.", +"id": "GoogleChromePolicyVersionsV1BatchDeleteGroupPoliciesRequest", +"properties": { +"requests": { +"description": "List of policies that will be deleted as defined by the `requests`. All requests in the list must follow these restrictions: 1. All schemas in the list must have the same root namespace. 2. All `policyTargetKey.targetResource` values must point to a group resource. 3. All `policyTargetKey` values must have the same `app_id` key name in the `additionalTargetKeys`. 4. No two modification requests can reference the same `policySchema` + ` policyTargetKey` pair. ", +"items": { +"$ref": "GoogleChromePolicyVersionsV1DeleteGroupPolicyRequest" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleChromePolicyVersionsV1BatchInheritOrgUnitPoliciesRequest": { +"description": "Request message for specifying that multiple policy values inherit their value from their parents.", +"id": "GoogleChromePolicyVersionsV1BatchInheritOrgUnitPoliciesRequest", +"properties": { +"requests": { +"description": "List of policies that have to inherit their values as defined by the `requests`. All requests in the list must follow these restrictions: 1. All schemas in the list must have the same root namespace. 2. All `policyTargetKey.targetResource` values must point to an org unit resource. 3. All `policyTargetKey` values must have the same key names in the ` additionalTargetKeys`. This also means if one of the targets has an empty `additionalTargetKeys` map, all of the targets must have an empty `additionalTargetKeys` map. 4. No two modification requests can reference the same `policySchema` + ` policyTargetKey` pair. ", +"items": { +"$ref": "GoogleChromePolicyVersionsV1InheritOrgUnitPolicyRequest" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleChromePolicyVersionsV1BatchModifyGroupPoliciesRequest": { +"description": "Request message for modifying multiple policy values for a specific group-based target.", +"id": "GoogleChromePolicyVersionsV1BatchModifyGroupPoliciesRequest", +"properties": { +"requests": { +"description": "List of policies to modify as defined by the `requests`. All requests in the list must follow these restrictions: 1. All schemas in the list must have the same root namespace. 2. All `policyTargetKey.targetResource` values must point to a group resource. 3. All `policyTargetKey` values must have the same `app_id` key name in the `additionalTargetKeys`. 4. No two modification requests can reference the same `policySchema` + ` policyTargetKey` pair. ", +"items": { +"$ref": "GoogleChromePolicyVersionsV1ModifyGroupPolicyRequest" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleChromePolicyVersionsV1BatchModifyOrgUnitPoliciesRequest": { +"description": "Request message for modifying multiple policy values for a specific target.", +"id": "GoogleChromePolicyVersionsV1BatchModifyOrgUnitPoliciesRequest", +"properties": { +"requests": { +"description": "List of policies to modify as defined by the `requests`. All requests in the list must follow these restrictions: 1. All schemas in the list must have the same root namespace. 2. All `policyTargetKey.targetResource` values must point to an org unit resource. 3. All `policyTargetKey` values must have the same key names in the ` additionalTargetKeys`. This also means if one of the targets has an empty `additionalTargetKeys` map, all of the targets must have an empty `additionalTargetKeys` map. 4. No two modification requests can reference the same `policySchema` + ` policyTargetKey` pair. ", +"items": { +"$ref": "GoogleChromePolicyVersionsV1ModifyOrgUnitPolicyRequest" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleChromePolicyVersionsV1CertificateReference": { +"description": "Error information for removing of a specific certificate on a specific target. A reference to a certificate.", +"id": "GoogleChromePolicyVersionsV1CertificateReference", +"properties": { +"network": { +"description": "Output only. The name of the referencing network.", +"readOnly": true, +"type": "string" +}, +"orgUnitId": { +"description": "Output only. The obfuscated id of the org unit the referencing network is in.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleChromePolicyVersionsV1DefineCertificateRequest": { +"description": "Request object for creating a certificate.", +"id": "GoogleChromePolicyVersionsV1DefineCertificateRequest", +"properties": { +"ceritificateName": { +"description": "Optional. The optional name of the certificate. If not specified, the certificate issuer will be used as the name.", +"type": "string" +}, +"certificate": { +"description": "Required. The raw contents of the .PEM, .CRT, or .CER file.", +"type": "string" +}, +"settings": { +"description": "Optional. Certificate settings within the chrome.networks.certificates namespace.", +"items": { +"$ref": "GoogleChromePolicyVersionsV1NetworkSetting" +}, +"type": "array" +}, +"targetResource": { +"description": "Required. The target resource on which this certificate is applied. The following resources are supported: * Organizational Unit (\"orgunits/{orgunit_id}\")", +"type": "string" +} +}, +"type": "object" +}, +"GoogleChromePolicyVersionsV1DefineCertificateResponse": { +"description": "Response object for creating a certificate.", +"id": "GoogleChromePolicyVersionsV1DefineCertificateResponse", +"properties": { +"networkId": { +"description": "The guid of the certificate created by the action.", +"type": "string" +}, +"settings": { +"description": "the affiliated settings of the certificate (NOT IMPLEMENTED)", +"items": { +"$ref": "GoogleChromePolicyVersionsV1NetworkSetting" +}, +"type": "array" +}, +"targetResource": { +"description": "the resource at which the certificate is defined.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleChromePolicyVersionsV1DefineNetworkRequest": { +"description": "Request object for creating a new network.", +"id": "GoogleChromePolicyVersionsV1DefineNetworkRequest", +"properties": { +"name": { +"description": "Required. Name of the new created network.", +"type": "string" +}, +"settings": { +"description": "Required. Detailed network settings.", +"items": { +"$ref": "GoogleChromePolicyVersionsV1NetworkSetting" +}, +"type": "array" +}, +"targetResource": { +"description": "Required. The target resource on which this new network will be defined. The following resources are supported: * Organizational Unit (\"orgunits/{orgunit_id}\")", +"type": "string" +} +}, +"type": "object" +}, +"GoogleChromePolicyVersionsV1DefineNetworkResponse": { +"description": "Response object for creating a network.", +"id": "GoogleChromePolicyVersionsV1DefineNetworkResponse", +"properties": { +"networkId": { +"description": "Network ID of the new created network.", +"type": "string" +}, +"settings": { +"description": "Detailed network settings of the new created network", +"items": { +"$ref": "GoogleChromePolicyVersionsV1NetworkSetting" +}, +"type": "array" +}, +"targetResource": { +"description": "The target resource on which this new network will be defined. The following resources are supported: * Organizational Unit (\"orgunits/{orgunit_id}\")", +"type": "string" +} +}, +"type": "object" +}, +"GoogleChromePolicyVersionsV1DeleteGroupPolicyRequest": { +"description": "Request parameters for deleting the policy value of a specific group target.", +"id": "GoogleChromePolicyVersionsV1DeleteGroupPolicyRequest", +"properties": { +"policySchema": { +"description": "The fully qualified name of the policy schema that is being inherited.", +"type": "string" +}, +"policyTargetKey": { +"$ref": "GoogleChromePolicyVersionsV1PolicyTargetKey", +"description": "Required. The key of the target for which we want to modify a policy. The target resource must point to a Group." +} +}, +"type": "object" +}, +"GoogleChromePolicyVersionsV1FieldConstraints": { +"description": "Information about any range constraints.", +"id": "GoogleChromePolicyVersionsV1FieldConstraints", +"properties": { +"numericRangeConstraint": { +"$ref": "GoogleChromePolicyVersionsV1NumericRangeConstraint", +"description": "The allowed range for numeric fields." +}, +"uploadedFileConstraints": { +"$ref": "GoogleChromePolicyVersionsV1UploadedFileConstraints", +"description": "Constraints on the uploaded file of a file policy. If present, this policy requires a URL that can be fetched by uploading a file with the constraints specified in this proto." +} +}, +"type": "object" +}, +"GoogleChromePolicyVersionsV1InheritOrgUnitPolicyRequest": { +"description": "Request parameters for inheriting policy value of a specific org unit target from the policy value of its parent org unit.", +"id": "GoogleChromePolicyVersionsV1InheritOrgUnitPolicyRequest", +"properties": { +"policySchema": { +"description": "The fully qualified name of the policy schema that is being inherited.", +"type": "string" +}, +"policyTargetKey": { +"$ref": "GoogleChromePolicyVersionsV1PolicyTargetKey", +"description": "Required. The key of the target for which we want to modify a policy. The target resource must point to an Org Unit." +} +}, +"type": "object" +}, +"GoogleChromePolicyVersionsV1ListGroupPriorityOrderingRequest": { +"description": "Request message for listing the group priority ordering of an app.", +"id": "GoogleChromePolicyVersionsV1ListGroupPriorityOrderingRequest", +"properties": { +"policyNamespace": { +"description": "The namespace of the policy type for the request.", +"type": "string" +}, +"policySchema": { +"description": "The schema name of the policy for the request.", +"type": "string" +}, +"policyTargetKey": { +"$ref": "GoogleChromePolicyVersionsV1PolicyTargetKey", +"description": "Required. The key of the target for which we want to retrieve the group priority ordering. The target resource must point to an app." +} +}, +"type": "object" +}, +"GoogleChromePolicyVersionsV1ListGroupPriorityOrderingResponse": { +"description": "Response message for listing the group priority ordering of an app.", +"id": "GoogleChromePolicyVersionsV1ListGroupPriorityOrderingResponse", +"properties": { +"groupIds": { +"description": "Output only. The group IDs, in priority ordering.", +"items": { +"type": "string" +}, +"readOnly": true, +"type": "array" +}, +"policyNamespace": { +"description": "Output only. The namespace of the policy type of the group IDs.", +"readOnly": true, +"type": "string" +}, +"policySchema": { +"description": "Output only. The schema name of the policy for the group IDs.", +"readOnly": true, +"type": "string" +}, +"policyTargetKey": { +"$ref": "GoogleChromePolicyVersionsV1PolicyTargetKey", +"description": "Output only. The target resource for which the group priority ordering has been retrieved.", +"readOnly": true +} +}, +"type": "object" +}, +"GoogleChromePolicyVersionsV1ListPolicySchemasResponse": { +"description": "Response message for listing policy schemas that match a filter.", +"id": "GoogleChromePolicyVersionsV1ListPolicySchemasResponse", +"properties": { +"nextPageToken": { +"description": "The page token used to get the next page of policy schemas.", +"type": "string" +}, +"policySchemas": { +"description": "The list of policy schemas that match the query.", +"items": { +"$ref": "GoogleChromePolicyVersionsV1PolicySchema" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleChromePolicyVersionsV1ModifyGroupPolicyRequest": { +"description": "Request parameters for modifying a policy value for a specific group target.", +"id": "GoogleChromePolicyVersionsV1ModifyGroupPolicyRequest", +"properties": { +"policyTargetKey": { +"$ref": "GoogleChromePolicyVersionsV1PolicyTargetKey", +"description": "Required. The key of the target for which we want to modify a policy. The target resource must point to a Group." +}, +"policyValue": { +"$ref": "GoogleChromePolicyVersionsV1PolicyValue", +"description": "The new value for the policy." +}, +"updateMask": { +"description": "Required. Policy fields to update. Only fields in this mask will be updated; other fields in `policy_value` will be ignored (even if they have values). If a field is in this list it must have a value in 'policy_value'.", +"format": "google-fieldmask", +"type": "string" +} +}, +"type": "object" +}, +"GoogleChromePolicyVersionsV1ModifyOrgUnitPolicyRequest": { +"description": "Request parameters for modifying a policy value for a specific org unit target.", +"id": "GoogleChromePolicyVersionsV1ModifyOrgUnitPolicyRequest", +"properties": { +"policyTargetKey": { +"$ref": "GoogleChromePolicyVersionsV1PolicyTargetKey", +"description": "Required. The key of the target for which we want to modify a policy. The target resource must point to an Org Unit." +}, +"policyValue": { +"$ref": "GoogleChromePolicyVersionsV1PolicyValue", +"description": "The new value for the policy." +}, +"updateMask": { +"description": "Required. Policy fields to update. Only fields in this mask will be updated; other fields in `policy_value` will be ignored (even if they have values). If a field is in this list it must have a value in 'policy_value'.", +"format": "google-fieldmask", +"type": "string" +} +}, +"type": "object" +}, +"GoogleChromePolicyVersionsV1NetworkSetting": { +"description": "A network setting contains network configurations. It adheres to the PolicyAPI formats defined under the namespace chrome.networks.{wifi/ethernet/cellular/vpn}.Details", +"id": "GoogleChromePolicyVersionsV1NetworkSetting", +"properties": { +"policySchema": { +"description": "The fully qualified name of the network setting.", +"type": "string" +}, +"value": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"description": "The value of the network setting.", +"type": "object" +} +}, +"type": "object" +}, +"GoogleChromePolicyVersionsV1NumericRangeConstraint": { +"description": "A constraint on upper and/or lower bounds, with at least one being set.", +"id": "GoogleChromePolicyVersionsV1NumericRangeConstraint", +"properties": { +"maximum": { +"description": "Maximum value.", +"format": "int64", +"type": "string" +}, +"minimum": { +"description": "Minimum value.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"GoogleChromePolicyVersionsV1PolicyApiLifecycle": { +"description": "Lifecycle information.", +"id": "GoogleChromePolicyVersionsV1PolicyApiLifecycle", +"properties": { +"deprecatedInFavorOf": { +"description": "In the event that this policy was deprecated in favor of another policy, the fully qualified namespace(s) of the new policies as they will show in PolicyAPI. Could only be set if policy_api_lifecycle_stage is API_DEPRECATED.", +"items": { +"type": "string" +}, +"type": "array" +}, +"description": { +"description": "Description about current life cycle.", +"type": "string" +}, +"endSupport": { +"$ref": "GoogleTypeDate", +"description": "End supporting date for current policy. Attempting to modify a policy after its end support date will result in a Bad Request (400 error). Could only be set if policy_api_lifecycle_stage is API_DEPRECATED." +}, +"policyApiLifecycleStage": { +"description": "Indicates current life cycle stage of the policy API.", +"enum": [ +"API_UNSPECIFIED", +"API_PREVIEW", +"API_DEVELOPMENT", +"API_CURRENT", +"API_DEPRECATED" +], +"enumDescriptions": [ +"Policy Api Lifecycle is Unspecified.", +"Policy is not working yet, but giving developers heads up on format. This stage can transfer to API_DEVELOPEMNT or API_CURRENT.", +"Policy can change format in backward incompatible way (breaking change). This stage can transfer to API_CURRENT or API_DEPRECATED. This could be used for policies launched only to TTs or launched to selected customers for emergency usage.", +"Policy in official format. Policy can change format in backward compatible way (non-breaking change). Example: this policy can introduce a new field, which is considered non-breaking change, when field masks are properly utilized. This stage can transfer to API_DEPRECATED.", +"Please stop using this policy. This policy is deprecated and may/will be removed in the future. Most likely a new policy was introduced to replace this one." +], +"type": "string" +}, +"scheduledToDeprecatePolicies": { +"description": "Corresponding to deprecated_in_favor_of, the fully qualified namespace(s) of the old policies that will be deprecated because of introduction of this policy.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleChromePolicyVersionsV1PolicyModificationError": { +"description": "Error information for a modification request of a specific policy on a specific target.", +"id": "GoogleChromePolicyVersionsV1PolicyModificationError", +"properties": { +"errors": { +"description": "Output only. The non-field errors related to the modification.", +"items": { +"type": "string" +}, +"readOnly": true, +"type": "array" +}, +"fieldErrors": { +"description": "Output only. The error messages related to the modification.", +"items": { +"$ref": "GoogleChromePolicyVersionsV1PolicyModificationFieldError" +}, +"readOnly": true, +"type": "array" +}, +"policySchema": { +"description": "Output only. The specific policy schema modification that had an error.", +"readOnly": true, +"type": "string" +}, +"policyTargetKey": { +"$ref": "GoogleChromePolicyVersionsV1PolicyTargetKey", +"description": "Output only. The specific policy target modification that had error.", +"readOnly": true +} +}, +"type": "object" +}, +"GoogleChromePolicyVersionsV1PolicyModificationErrorDetails": { +"description": "Details of the errors encountered during a policy modification request. This message will be returned as part of the details of a google.rpc.Status returned to the user when there is an error in their request.", +"id": "GoogleChromePolicyVersionsV1PolicyModificationErrorDetails", +"properties": { +"modificationErrors": { +"description": "Output only. List of specific policy modifications errors that may have occurred during a modifying request.", +"items": { +"$ref": "GoogleChromePolicyVersionsV1PolicyModificationError" +}, +"readOnly": true, +"type": "array" +} +}, +"type": "object" +}, +"GoogleChromePolicyVersionsV1PolicyModificationFieldError": { +"description": "Error information for a modification request of a specific field on a specific policy.", +"id": "GoogleChromePolicyVersionsV1PolicyModificationFieldError", +"properties": { +"error": { +"description": "Output only. The error message related to the field.", +"readOnly": true, +"type": "string" +}, +"field": { +"description": "Output only. The name of the field with the error.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleChromePolicyVersionsV1PolicySchema": { +"description": "Resource representing a policy schema.", +"id": "GoogleChromePolicyVersionsV1PolicySchema", +"properties": { +"accessRestrictions": { +"description": "Output only. Specific access restrictions related to this policy.", +"items": { +"type": "string" +}, +"readOnly": true, +"type": "array" +}, +"additionalTargetKeyNames": { +"description": "Output only. Additional key names that will be used to identify the target of the policy value. When specifying a `policyTargetKey`, each of the additional keys specified here will have to be included in the `additionalTargetKeys` map.", +"items": { +"$ref": "GoogleChromePolicyVersionsV1AdditionalTargetKeyName" +}, +"readOnly": true, +"type": "array" +}, +"categoryTitle": { +"description": "Title of the category in which a setting belongs.", +"type": "string" +}, +"definition": { +"$ref": "Proto2FileDescriptorProto", +"description": "Schema definition using proto descriptor." +}, +"fieldDescriptions": { +"description": "Output only. Detailed description of each field that is part of the schema. Fields are suggested to be displayed by the ordering in this list, not by field number.", +"items": { +"$ref": "GoogleChromePolicyVersionsV1PolicySchemaFieldDescription" +}, +"readOnly": true, +"type": "array" +}, +"name": { +"description": "Format: name=customers/{customer}/policySchemas/{schema_namespace}", +"type": "string" +}, +"notices": { +"description": "Output only. Special notice messages related to setting certain values in certain fields in the schema.", +"items": { +"$ref": "GoogleChromePolicyVersionsV1PolicySchemaNoticeDescription" +}, +"readOnly": true, +"type": "array" +}, +"policyApiLifecycle": { +"$ref": "GoogleChromePolicyVersionsV1PolicyApiLifecycle", +"description": "Output only. Current lifecycle information.", +"readOnly": true +}, +"policyDescription": { +"description": "Output only. Description about the policy schema for user consumption.", +"readOnly": true, +"type": "string" +}, +"schemaName": { +"description": "Output only. The fully qualified name of the policy schema. This value is used to fill the field `policy_schema` in PolicyValue when calling BatchInheritOrgUnitPolicies BatchModifyOrgUnitPolicies BatchModifyGroupPolicies or BatchDeleteGroupPolicies.", +"readOnly": true, +"type": "string" +}, +"supportUri": { +"description": "Output only. URI to related support article for this schema.", +"readOnly": true, +"type": "string" +}, +"supportedPlatforms": { +"description": "Output only. List indicates that the policy will only apply to devices/users on these platforms.", +"items": { +"enum": [ +"PLATFORM_UNSPECIFIED", +"CHROME_OS", +"CHROME_BROWSER", +"CHROME_BROWSER_FOR_ANDROID", +"CHROME_BROWSER_FOR_IOS" +], +"enumDescriptions": [ +"Unspecified platform.", +"ChromeOS.", +"Chrome Browser for OSX/Windows/Linux.", +"Chrome Browser for Android.", +"Chrome Browser for iOS." +], +"type": "string" +}, +"readOnly": true, +"type": "array" +}, +"validTargetResources": { +"description": "Output only. Information about applicable target resources for the policy.", +"items": { +"enum": [ +"TARGET_RESOURCE_UNSPECIFIED", +"ORG_UNIT", +"GROUP" +], +"enumDescriptions": [ +"Unspecified target resource.", +"Organizational Unit target resource.", +"Group target resource." +], +"type": "string" +}, +"readOnly": true, +"type": "array" +} +}, +"type": "object" +}, +"GoogleChromePolicyVersionsV1PolicySchemaFieldDependencies": { +"description": "The field and the value it must have for another field to be allowed to be set.", +"id": "GoogleChromePolicyVersionsV1PolicySchemaFieldDependencies", +"properties": { +"sourceField": { +"description": "The source field which this field depends on.", +"type": "string" +}, +"sourceFieldValue": { +"description": "The value which the source field must have for this field to be allowed to be set.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleChromePolicyVersionsV1PolicySchemaFieldDescription": { +"description": "Provides detailed information for a particular field that is part of a PolicySchema.", +"id": "GoogleChromePolicyVersionsV1PolicySchemaFieldDescription", +"properties": { +"defaultValue": { +"description": "Output only. Client default if the policy is unset.", +"readOnly": true, +"type": "any" +}, +"description": { +"deprecated": true, +"description": "Deprecated. Use name and field_description instead. The description for the field.", +"type": "string" +}, +"field": { +"description": "Output only. The name of the field for associated with this description.", +"readOnly": true, +"type": "string" +}, +"fieldConstraints": { +"$ref": "GoogleChromePolicyVersionsV1FieldConstraints", +"description": "Output only. Information on any input constraints associated on the values for the field.", +"readOnly": true +}, +"fieldDependencies": { +"description": "Output only. Provides a list of fields and values. At least one of the fields must have the corresponding value in order for this field to be allowed to be set.", +"items": { +"$ref": "GoogleChromePolicyVersionsV1PolicySchemaFieldDependencies" +}, +"readOnly": true, +"type": "array" +}, +"fieldDescription": { +"description": "Output only. The description of the field.", +"readOnly": true, +"type": "string" +}, +"inputConstraint": { +"description": "Output only. Any input constraints associated on the values for the field.", +"readOnly": true, +"type": "string" +}, +"knownValueDescriptions": { +"description": "Output only. If the field has a set of known values, this field will provide a description for these values.", +"items": { +"$ref": "GoogleChromePolicyVersionsV1PolicySchemaFieldKnownValueDescription" +}, +"readOnly": true, +"type": "array" +}, +"name": { +"description": "Output only. The name of the field.", +"readOnly": true, +"type": "string" +}, +"nestedFieldDescriptions": { +"description": "Output only. Provides the description of the fields nested in this field, if the field is a message type that defines multiple fields. Fields are suggested to be displayed by the ordering in this list, not by field number.", +"items": { +"$ref": "GoogleChromePolicyVersionsV1PolicySchemaFieldDescription" +}, +"readOnly": true, +"type": "array" +}, +"requiredItems": { +"description": "Output only. Provides a list of fields that are required to be set if this field has a certain value.", +"items": { +"$ref": "GoogleChromePolicyVersionsV1PolicySchemaRequiredItems" +}, +"readOnly": true, +"type": "array" +} +}, +"type": "object" +}, +"GoogleChromePolicyVersionsV1PolicySchemaFieldKnownValueDescription": { +"description": "Provides detailed information about a known value that is allowed for a particular field in a PolicySchema.", +"id": "GoogleChromePolicyVersionsV1PolicySchemaFieldKnownValueDescription", +"properties": { +"description": { +"description": "Output only. Additional description for this value.", +"readOnly": true, +"type": "string" +}, +"fieldDependencies": { +"description": "Output only. Field conditions required for this value to be valid.", +"items": { +"$ref": "GoogleChromePolicyVersionsV1PolicySchemaFieldDependencies" +}, +"readOnly": true, +"type": "array" +}, +"value": { +"description": "Output only. The string represenstation of the value that can be set for the field.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleChromePolicyVersionsV1PolicySchemaNoticeDescription": { +"description": "Provides special notice messages related to a particular value in a field that is part of a PolicySchema.", +"id": "GoogleChromePolicyVersionsV1PolicySchemaNoticeDescription", +"properties": { +"acknowledgementRequired": { +"description": "Output only. Whether the user needs to acknowledge the notice message before the value can be set.", +"readOnly": true, +"type": "boolean" +}, +"field": { +"description": "Output only. The field name associated with the notice.", +"readOnly": true, +"type": "string" +}, +"noticeMessage": { +"description": "Output only. The notice message associate with the value of the field.", +"readOnly": true, +"type": "string" +}, +"noticeValue": { +"description": "Output only. The value of the field that has a notice. When setting the field to this value, the user may be required to acknowledge the notice message in order for the value to be set.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleChromePolicyVersionsV1PolicySchemaRequiredItems": { +"description": "The fields that will become required based on the value of this field.", +"id": "GoogleChromePolicyVersionsV1PolicySchemaRequiredItems", +"properties": { +"fieldConditions": { +"description": "The value(s) of the field that provoke required field enforcement. An empty field_conditions implies that any value assigned to this field will provoke required field enforcement.", +"items": { +"type": "string" +}, +"type": "array" +}, +"requiredFields": { +"description": "The fields that are required as a consequence of the field conditions.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleChromePolicyVersionsV1PolicyTargetKey": { +"description": "The key used to identify the target on which the policy will be applied.", +"id": "GoogleChromePolicyVersionsV1PolicyTargetKey", +"properties": { +"additionalTargetKeys": { +"additionalProperties": { +"type": "string" +}, +"description": "Map containing the additional target key name and value pairs used to further identify the target of the policy.", +"type": "object" +}, +"targetResource": { +"description": "The target resource on which this policy is applied. The following resources are supported: * Organizational Unit (\"orgunits/{orgunit_id}\") * Group (\"groups/{group_id}\")", +"type": "string" +} +}, +"type": "object" +}, +"GoogleChromePolicyVersionsV1PolicyValue": { +"description": "A particular value for a policy managed by the service.", +"id": "GoogleChromePolicyVersionsV1PolicyValue", +"properties": { +"policySchema": { +"description": "The fully qualified name of the policy schema associated with this policy.", +"type": "string" +}, +"value": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"description": "The value of the policy that is compatible with the schema that it is associated with.", +"type": "object" +} +}, +"type": "object" +}, +"GoogleChromePolicyVersionsV1RemoveCertificateErrorDetails": { +"description": "Details of the errors encountered during a remove certificate request. This message will be returned as part of the details of a google.rpc.Status returned to the user when there is an error in their request.", +"id": "GoogleChromePolicyVersionsV1RemoveCertificateErrorDetails", +"properties": { +"certificateReferences": { +"description": "Output only. If the certificate was not removed, a list of references to the certificate that prevented it from being removed. Only unreferenced certificates can be removed.", +"items": { +"$ref": "GoogleChromePolicyVersionsV1CertificateReference" +}, +"readOnly": true, +"type": "array" +} +}, +"type": "object" +}, +"GoogleChromePolicyVersionsV1RemoveCertificateRequest": { +"description": "Request object for removing a certificate.", +"id": "GoogleChromePolicyVersionsV1RemoveCertificateRequest", +"properties": { +"networkId": { +"description": "Required. The GUID of the certificate to remove.", +"type": "string" +}, +"targetResource": { +"description": "Required. The target resource on which this certificate will be removed. The following resources are supported: * Organizational Unit (\"orgunits/{orgunit_id}\")", +"type": "string" +} +}, +"type": "object" +}, +"GoogleChromePolicyVersionsV1RemoveCertificateResponse": { +"description": "Response object for removing a certificate.", +"id": "GoogleChromePolicyVersionsV1RemoveCertificateResponse", +"properties": {}, +"type": "object" +}, +"GoogleChromePolicyVersionsV1RemoveNetworkRequest": { +"description": "Request object for removing a network", +"id": "GoogleChromePolicyVersionsV1RemoveNetworkRequest", +"properties": { +"networkId": { +"description": "Required. The GUID of the network to remove.", +"type": "string" +}, +"targetResource": { +"description": "Required. The target resource on which this network will be removed. The following resources are supported: * Organizational Unit (\"orgunits/{orgunit_id}\")", +"type": "string" +} +}, +"type": "object" +}, +"GoogleChromePolicyVersionsV1RemoveNetworkResponse": { +"description": "Response object for removing a network.", +"id": "GoogleChromePolicyVersionsV1RemoveNetworkResponse", +"properties": {}, +"type": "object" +}, +"GoogleChromePolicyVersionsV1ResolveRequest": { +"description": "Request message for getting the resolved policy value for a specific target.", +"id": "GoogleChromePolicyVersionsV1ResolveRequest", +"properties": { +"pageSize": { +"description": "The maximum number of policies to return, defaults to 100 and has a maximum of 1000.", +"format": "int32", +"type": "integer" +}, +"pageToken": { +"description": "The page token used to retrieve a specific page of the request.", +"type": "string" +}, +"policySchemaFilter": { +"description": "Required. The schema filter to apply to the resolve request. Specify a schema name to view a particular schema, for example: chrome.users.ShowLogoutButton Wildcards are supported, but only in the leaf portion of the schema name. Wildcards cannot be used in namespace directly. Please read https://developers.google.com/chrome/policy/guides/policy-schemas for details on schema namespaces. For example: Valid: \"chrome.users.*\", \"chrome.users.apps.*\", \"chrome.printers.*\" Invalid: \"*\", \"*.users\", \"chrome.*\", \"chrome.*.apps.*\"", +"type": "string" +}, +"policyTargetKey": { +"$ref": "GoogleChromePolicyVersionsV1PolicyTargetKey", +"description": "Required. The key of the target resource on which the policies should be resolved." +} +}, +"type": "object" +}, +"GoogleChromePolicyVersionsV1ResolveResponse": { +"description": "Response message for getting the resolved policy value for a specific target.", +"id": "GoogleChromePolicyVersionsV1ResolveResponse", +"properties": { +"nextPageToken": { +"description": "The page token used to get the next set of resolved policies found by the request.", +"type": "string" +}, +"resolvedPolicies": { +"description": "The list of resolved policies found by the resolve request.", +"items": { +"$ref": "GoogleChromePolicyVersionsV1ResolvedPolicy" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleChromePolicyVersionsV1ResolvedPolicy": { +"description": "The resolved value of a policy for a given target.", +"id": "GoogleChromePolicyVersionsV1ResolvedPolicy", +"properties": { +"addedSourceKey": { +"$ref": "GoogleChromePolicyVersionsV1PolicyTargetKey", +"description": "Output only. The added source key establishes at which level an entity was explicitly added for management. This is useful for certain type of policies that are only applied if they are explicitly added for management. For example: apps and networks. An entity can only be deleted from management in an Organizational Unit that it was explicitly added to. If this is not present it means that the policy is managed without the need to explicitly add an entity, for example: standard user or device policies.", +"readOnly": true +}, +"sourceKey": { +"$ref": "GoogleChromePolicyVersionsV1PolicyTargetKey", +"description": "Output only. The source resource from which this policy value is obtained. May be the same as `targetKey` if the policy is directly modified on the target, otherwise it would be another resource from which the policy gets its value (if applicable). If not present, the source is the default value for the customer.", +"readOnly": true +}, +"targetKey": { +"$ref": "GoogleChromePolicyVersionsV1PolicyTargetKey", +"description": "Output only. The target resource for which the resolved policy value applies.", +"readOnly": true +}, +"value": { +"$ref": "GoogleChromePolicyVersionsV1PolicyValue", +"description": "Output only. The resolved value of the policy.", +"readOnly": true +} +}, +"type": "object" +}, +"GoogleChromePolicyVersionsV1UpdateGroupPriorityOrderingRequest": { +"description": "Request message for updating the group priority ordering of an app.", +"id": "GoogleChromePolicyVersionsV1UpdateGroupPriorityOrderingRequest", +"properties": { +"groupIds": { +"description": "Required. The group IDs, in desired priority ordering.", +"items": { +"type": "string" +}, +"type": "array" +}, +"policyNamespace": { +"description": "The namespace of the policy type for the request.", +"type": "string" +}, +"policySchema": { +"description": "The schema name of the policy for the request.", +"type": "string" +}, +"policyTargetKey": { +"$ref": "GoogleChromePolicyVersionsV1PolicyTargetKey", +"description": "Required. The key of the target for which we want to update the group priority ordering. The target resource must point to an app." +} +}, +"type": "object" +}, +"GoogleChromePolicyVersionsV1UploadPolicyFileRequest": { +"description": "Request message for uploading a file for a policy.", +"id": "GoogleChromePolicyVersionsV1UploadPolicyFileRequest", +"properties": { +"policyField": { +"description": "Required. The fully qualified policy schema and field name this file is uploaded for. This information will be used to validate the content type of the file.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleChromePolicyVersionsV1UploadPolicyFileResponse": { +"description": "Response message for downloading an uploaded file.", +"id": "GoogleChromePolicyVersionsV1UploadPolicyFileResponse", +"properties": { +"downloadUri": { +"description": "The uri for end user to download the file.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleChromePolicyVersionsV1UploadedFileConstraints": { +"description": "Constraints on the uploaded file of a file policy.", +"id": "GoogleChromePolicyVersionsV1UploadedFileConstraints", +"properties": { +"sizeLimitBytes": { +"description": "The size limit of uploaded files for a setting, in bytes.", +"format": "int64", +"type": "string" +}, +"supportedContentTypes": { +"description": "File types that can be uploaded for a setting.", +"items": { +"enum": [ +"CONTENT_TYPE_UNSPECIFIED", +"CONTENT_TYPE_PLAIN_TEXT", +"CONTENT_TYPE_HTML", +"CONTENT_TYPE_IMAGE_JPEG", +"CONTENT_TYPE_IMAGE_GIF", +"CONTENT_TYPE_IMAGE_PNG", +"CONTENT_TYPE_JSON", +"CONTENT_TYPE_ZIP", +"CONTENT_TYPE_GZIP", +"CONTENT_TYPE_CSV", +"CONTENT_TYPE_YAML", +"CONTENT_TYPE_IMAGE_WEBP" +], +"enumDescriptions": [ +"Unspecified content type.", +"Plain text.", +"HTML.", +"JPEG.", +"GIF.", +"PNG.", +"JSON.", +"ZIP.", +"GZIP.", +"CSV.", +"YAML.", +"WEBP." +], +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleProtobufEmpty": { +"description": "A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }", +"id": "GoogleProtobufEmpty", +"properties": {}, +"type": "object" +}, +"GoogleTypeDate": { +"description": "Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following: * A full date, with non-zero year, month, and day values. * A month and day, with a zero year (for example, an anniversary). * A year on its own, with a zero month and a zero day. * A year and month, with a zero day (for example, a credit card expiration date). Related types: * google.type.TimeOfDay * google.type.DateTime * google.protobuf.Timestamp", +"id": "GoogleTypeDate", +"properties": { +"day": { +"description": "Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn't significant.", +"format": "int32", +"type": "integer" +}, +"month": { +"description": "Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.", +"format": "int32", +"type": "integer" +}, +"year": { +"description": "Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"Proto2DescriptorProto": { +"description": "Describes a message type.", +"id": "Proto2DescriptorProto", +"properties": { +"enumType": { +"items": { +"$ref": "Proto2EnumDescriptorProto" +}, +"type": "array" +}, +"field": { +"items": { +"$ref": "Proto2FieldDescriptorProto" +}, +"type": "array" +}, +"name": { +"type": "string" +}, +"nestedType": { +"items": { +"$ref": "Proto2DescriptorProto" +}, +"type": "array" +}, +"oneofDecl": { +"items": { +"$ref": "Proto2OneofDescriptorProto" +}, +"type": "array" +}, +"visibility": { +"description": "Support for `export` and `local` keywords on enums.", +"enum": [ +"VISIBILITY_UNSET", +"VISIBILITY_LOCAL", +"VISIBILITY_EXPORT" +], +"enumDescriptions": [ +"", +"", +"" +], +"type": "string" +} +}, +"type": "object" +}, +"Proto2EnumDescriptorProto": { +"description": "Describes an enum type.", +"id": "Proto2EnumDescriptorProto", +"properties": { +"name": { +"type": "string" +}, +"value": { +"items": { +"$ref": "Proto2EnumValueDescriptorProto" +}, +"type": "array" +}, +"visibility": { +"description": "Support for `export` and `local` keywords on enums.", +"enum": [ +"VISIBILITY_UNSET", +"VISIBILITY_LOCAL", +"VISIBILITY_EXPORT" +], +"enumDescriptions": [ +"", +"", +"" +], +"type": "string" +} +}, +"type": "object" +}, +"Proto2EnumValueDescriptorProto": { +"description": "Describes a value within an enum.", +"id": "Proto2EnumValueDescriptorProto", +"properties": { +"name": { +"type": "string" +}, +"number": { +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"Proto2FieldDescriptorProto": { +"description": "Describes a field within a message.", +"id": "Proto2FieldDescriptorProto", +"properties": { +"defaultValue": { +"description": "For numeric types, contains the original text representation of the value. For booleans, \"true\" or \"false\". For strings, contains the default text contents (not escaped in any way). For bytes, contains the C escaped value. All bytes >= 128 are escaped.", +"type": "string" +}, +"jsonName": { +"description": "JSON name of this field. The value is set by protocol compiler. If the user has set a \"json_name\" option on this field, that option's value will be used. Otherwise, it's deduced from the field's name by converting it to camelCase.", +"type": "string" +}, +"label": { +"enum": [ +"LABEL_OPTIONAL", +"LABEL_REPEATED", +"LABEL_REQUIRED" +], +"enumDescriptions": [ +"0 is reserved for errors", +"", +"The required label is only allowed in proto2. In proto3 and Editions it's explicitly prohibited. In Editions, the `field_presence` feature can be used to get this behavior." +], +"type": "string" +}, +"name": { +"type": "string" +}, +"number": { +"format": "int32", +"type": "integer" +}, +"oneofIndex": { +"description": "If set, gives the index of a oneof in the containing type's oneof_decl list. This field is a member of that oneof.", +"format": "int32", +"type": "integer" +}, +"proto3Optional": { +"description": "If true, this is a proto3 \"optional\". When a proto3 field is optional, it tracks presence regardless of field type. When proto3_optional is true, this field must belong to a oneof to signal to old proto3 clients that presence is tracked for this field. This oneof is known as a \"synthetic\" oneof, and this field must be its sole member (each proto3 optional field gets its own synthetic oneof). Synthetic oneofs exist in the descriptor only, and do not generate any API. Synthetic oneofs must be ordered after all \"real\" oneofs. For message fields, proto3_optional doesn't create any semantic change, since non-repeated message fields always track presence. However it still indicates the semantic detail of whether the user wrote \"optional\" or not. This can be useful for round-tripping the .proto file. For consistency we give message fields a synthetic oneof also, even though it is not required to track presence. This is especially important because the parser can't tell if a field is a message or an enum, so it must always create a synthetic oneof. Proto2 optional fields do not set this flag, because they already indicate optional with `LABEL_OPTIONAL`.", +"type": "boolean" +}, +"type": { +"description": "If type_name is set, this need not be set. If both this and type_name are set, this must be one of TYPE_ENUM, TYPE_MESSAGE or TYPE_GROUP.", +"enum": [ +"TYPE_DOUBLE", +"TYPE_FLOAT", +"TYPE_INT64", +"TYPE_UINT64", +"TYPE_INT32", +"TYPE_FIXED64", +"TYPE_FIXED32", +"TYPE_BOOL", +"TYPE_STRING", +"TYPE_GROUP", +"TYPE_MESSAGE", +"TYPE_BYTES", +"TYPE_UINT32", +"TYPE_ENUM", +"TYPE_SFIXED32", +"TYPE_SFIXED64", +"TYPE_SINT32", +"TYPE_SINT64" +], +"enumDescriptions": [ +"0 is reserved for errors. Order is weird for historical reasons.", +"", +"Not ZigZag encoded. Negative numbers take 10 bytes. Use TYPE_SINT64 if negative values are likely.", +"", +"Not ZigZag encoded. Negative numbers take 10 bytes. Use TYPE_SINT32 if negative values are likely.", +"", +"", +"", +"", +"Tag-delimited aggregate. Group type is deprecated and not supported after proto2. However, Proto3 implementations should still be able to parse the group wire format and treat group fields as unknown fields. In Editions, the group wire format can be enabled via the `message_encoding` feature.", +"Length-delimited aggregate.", +"New in version 2.", +"", +"", +"", +"", +"Uses ZigZag encoding.", +"Uses ZigZag encoding." +], +"type": "string" +}, +"typeName": { +"description": "For message and enum types, this is the name of the type. If the name starts with a '.', it is fully-qualified. Otherwise, C++-like scoping rules are used to find the type (i.e. first the nested types within this message are searched, then within the parent, on up to the root namespace).", +"type": "string" +} +}, +"type": "object" +}, +"Proto2FileDescriptorProto": { +"description": "Describes a complete .proto file.", +"id": "Proto2FileDescriptorProto", +"properties": { +"editionDeprecated": { +"deprecated": true, +"description": "copybara:strip_begin TODO(b/297898292) Deprecate and remove this field in favor of enums. copybara:strip_end", +"type": "string" +}, +"enumType": { +"items": { +"$ref": "Proto2EnumDescriptorProto" +}, +"type": "array" +}, +"messageType": { +"description": "All top-level definitions in this file.", +"items": { +"$ref": "Proto2DescriptorProto" +}, +"type": "array" +}, +"name": { +"description": "file name, relative to root of source tree", +"type": "string" +}, +"optionDependency": { +"description": "Names of files imported by this file purely for the purpose of providing option extensions. These are excluded from the dependency list above.", +"items": { +"type": "string" +}, +"type": "array" +}, +"package": { +"description": "e.g. \"foo\", \"foo.bar\", etc.", +"type": "string" +}, +"syntax": { +"description": "The syntax of the proto file. The supported values are \"proto2\", \"proto3\", and \"editions\". If `edition` is present, this value must be \"editions\". WARNING: This field should only be used by protobuf plugins or special cases like the proto compiler. Other uses are discouraged and developers should rely on the protoreflect APIs for their client language.", +"type": "string" +} +}, +"type": "object" +}, +"Proto2OneofDescriptorProto": { +"description": "Describes a oneof.", +"id": "Proto2OneofDescriptorProto", +"properties": { +"name": { +"type": "string" +} +}, +"type": "object" +} +}, +"servicePath": "", +"title": "Chrome Policy API", +"version": "v1", +"version_module": true +} \ No newline at end of file diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/chromeuxreport.v1.json b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/chromeuxreport.v1.json new file mode 100644 index 0000000000000000000000000000000000000000..6de9231789b728f931b0582394c4eed9250e349a --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/chromeuxreport.v1.json @@ -0,0 +1,555 @@ +{ +"basePath": "", +"baseUrl": "https://chromeuxreport.googleapis.com/", +"batchPath": "batch", +"canonicalName": "Chrome UX Report", +"description": "The Chrome UX Report API lets you view real user experience data for millions of websites. ", +"discoveryVersion": "v1", +"documentationLink": "https://developers.google.com/web/tools/chrome-user-experience-report/api/reference", +"fullyEncodeReservedExpansion": true, +"icons": { +"x16": "http://www.google.com/images/icons/product/search-16.gif", +"x32": "http://www.google.com/images/icons/product/search-32.gif" +}, +"id": "chromeuxreport:v1", +"kind": "discovery#restDescription", +"mtlsRootUrl": "https://chromeuxreport.mtls.googleapis.com/", +"name": "chromeuxreport", +"ownerDomain": "google.com", +"ownerName": "Google", +"parameters": { +"$.xgafv": { +"description": "V1 error format.", +"enum": [ +"1", +"2" +], +"enumDescriptions": [ +"v1 error format", +"v2 error format" +], +"location": "query", +"type": "string" +}, +"access_token": { +"description": "OAuth access token.", +"location": "query", +"type": "string" +}, +"alt": { +"default": "json", +"description": "Data format for response.", +"enum": [ +"json", +"media", +"proto" +], +"enumDescriptions": [ +"Responses with Content-Type of application/json", +"Media download with context-dependent Content-Type", +"Responses with Content-Type of application/x-protobuf" +], +"location": "query", +"type": "string" +}, +"callback": { +"description": "JSONP", +"location": "query", +"type": "string" +}, +"fields": { +"description": "Selector specifying which fields to include in a partial response.", +"location": "query", +"type": "string" +}, +"key": { +"description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", +"location": "query", +"type": "string" +}, +"oauth_token": { +"description": "OAuth 2.0 token for the current user.", +"location": "query", +"type": "string" +}, +"prettyPrint": { +"default": "true", +"description": "Returns response with indentations and line breaks.", +"location": "query", +"type": "boolean" +}, +"quotaUser": { +"description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.", +"location": "query", +"type": "string" +}, +"uploadType": { +"description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", +"location": "query", +"type": "string" +}, +"upload_protocol": { +"description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", +"location": "query", +"type": "string" +} +}, +"protocol": "rest", +"resources": { +"records": { +"methods": { +"queryHistoryRecord": { +"description": "Queries the Chrome User Experience Report for a timeseries `history record` for a given site. Returns a `history record` that contains one or more `metric timeseries` corresponding to performance data about the requested site.", +"flatPath": "v1/records:queryHistoryRecord", +"httpMethod": "POST", +"id": "chromeuxreport.records.queryHistoryRecord", +"parameterOrder": [], +"parameters": {}, +"path": "v1/records:queryHistoryRecord", +"request": { +"$ref": "QueryHistoryRequest" +}, +"response": { +"$ref": "QueryHistoryResponse" +} +}, +"queryRecord": { +"description": "Queries the Chrome User Experience for a single `record` for a given site. Returns a `record` that contains one or more `metrics` corresponding to performance data about the requested site.", +"flatPath": "v1/records:queryRecord", +"httpMethod": "POST", +"id": "chromeuxreport.records.queryRecord", +"parameterOrder": [], +"parameters": {}, +"path": "v1/records:queryRecord", +"request": { +"$ref": "QueryRequest" +}, +"response": { +"$ref": "QueryResponse" +} +} +} +} +}, +"revision": "20250409", +"rootUrl": "https://chromeuxreport.googleapis.com/", +"schemas": { +"Bin": { +"description": "A bin is a discrete portion of data spanning from start to end, or if no end is given, then from start to +inf. A bin's start and end values are given in the value type of the metric it represents. For example, \"first contentful paint\" is measured in milliseconds and exposed as ints, therefore its metric bins will use int32s for its start and end types. However, \"cumulative layout shift\" is measured in unitless decimals and is exposed as a decimal encoded as a string, therefore its metric bins will use strings for its value type.", +"id": "Bin", +"properties": { +"density": { +"description": "The proportion of users that experienced this bin's value for the given metric.", +"type": "any" +}, +"end": { +"description": "End is the end of the data bin. If end is not populated, then the bin has no end and is valid from start to +inf.", +"type": "any" +}, +"start": { +"description": "Start is the beginning of the data bin.", +"type": "any" +} +}, +"type": "object" +}, +"CollectionPeriod": { +"description": "The collection period is a date range which includes the `first` and `last` day.", +"id": "CollectionPeriod", +"properties": { +"firstDate": { +"$ref": "Date", +"description": "The first day in the collection period, inclusive." +}, +"lastDate": { +"$ref": "Date", +"description": "The last day in the collection period, inclusive." +} +}, +"type": "object" +}, +"Date": { +"description": "Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following: * A full date, with non-zero year, month, and day values. * A month and day, with a zero year (for example, an anniversary). * A year on its own, with a zero month and a zero day. * A year and month, with a zero day (for example, a credit card expiration date). Related types: * google.type.TimeOfDay * google.type.DateTime * google.protobuf.Timestamp", +"id": "Date", +"properties": { +"day": { +"description": "Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn't significant.", +"format": "int32", +"type": "integer" +}, +"month": { +"description": "Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.", +"format": "int32", +"type": "integer" +}, +"year": { +"description": "Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"FractionTimeseries": { +"description": "For enum metrics, provides fraction timeseries which add up to approximately 1.0 per entry (k-th element into the repeated fractions field for any k <= len) across fraction_timeseries.", +"id": "FractionTimeseries", +"properties": { +"fractions": { +"description": "Values between 0.0 and 1.0 (inclusive) and NaN.", +"items": { +"format": "double", +"type": "number" +}, +"type": "array" +} +}, +"type": "object" +}, +"HistoryKey": { +"description": "Key defines all the dimensions that identify this record as unique.", +"id": "HistoryKey", +"properties": { +"formFactor": { +"description": "The form factor is the device class that all users used to access the site for this record. If the form factor is unspecified, then aggregated data over all form factors will be returned.", +"enum": [ +"ALL_FORM_FACTORS", +"PHONE", +"DESKTOP", +"TABLET" +], +"enumDescriptions": [ +"The default value, representing all device classes.", +"The device class representing a \"mobile\"/\"phone\" sized client.", +"The device class representing a \"desktop\"/\"laptop\" type full size client.", +"The device class representing a \"tablet\" type client." +], +"type": "string" +}, +"origin": { +"description": "Origin specifies the origin that this record is for. Note: When specifying an origin, data for loads under this origin over all pages are aggregated into origin level user experience data.", +"type": "string" +}, +"url": { +"description": "Url specifies a specific url that this record is for. This url should be normalized, following the normalization actions taken in the request to increase the chances of successful lookup. Note: When specifying a \"url\" only data for that specific url will be aggregated.", +"type": "string" +} +}, +"type": "object" +}, +"HistoryRecord": { +"description": "HistoryRecord is a timeseries of Chrome UX Report data. It contains user experience statistics for a single url pattern and a set of dimensions.", +"id": "HistoryRecord", +"properties": { +"collectionPeriods": { +"description": "The collection periods indicate when each of the data points reflected in the time series data in metrics was collected. Note that all the time series share the same collection periods, and it is enforced in the CrUX pipeline that every time series has the same number of data points.", +"items": { +"$ref": "CollectionPeriod" +}, +"type": "array" +}, +"key": { +"$ref": "HistoryKey", +"description": "Key defines all of the unique querying parameters needed to look up a user experience history record." +}, +"metrics": { +"additionalProperties": { +"$ref": "MetricTimeseries" +}, +"description": "Metrics is the map of user experience time series data available for the record defined in the key field. Metrics are keyed on the metric name. Allowed key values: [\"first_contentful_paint\", \"first_input_delay\", \"largest_contentful_paint\", \"cumulative_layout_shift\", \"experimental_time_to_first_byte\", \"experimental_interaction_to_next_paint\"]", +"type": "object" +} +}, +"type": "object" +}, +"Key": { +"description": "Key defines all the dimensions that identify this record as unique.", +"id": "Key", +"properties": { +"effectiveConnectionType": { +"description": "The effective connection type is the general connection class that all users experienced for this record. This field uses the values [\"offline\", \"slow-2G\", \"2G\", \"3G\", \"4G\"] as specified in: https://wicg.github.io/netinfo/#effective-connection-types If the effective connection type is unspecified, then aggregated data over all effective connection types will be returned.", +"type": "string" +}, +"formFactor": { +"description": "The form factor is the device class that all users used to access the site for this record. If the form factor is unspecified, then aggregated data over all form factors will be returned.", +"enum": [ +"ALL_FORM_FACTORS", +"PHONE", +"DESKTOP", +"TABLET" +], +"enumDescriptions": [ +"The default value, representing all device classes.", +"The device class representing a \"mobile\"/\"phone\" sized client.", +"The device class representing a \"desktop\"/\"laptop\" type full size client.", +"The device class representing a \"tablet\" type client." +], +"type": "string" +}, +"origin": { +"description": "Origin specifies the origin that this record is for. Note: When specifying an origin, data for loads under this origin over all pages are aggregated into origin level user experience data.", +"type": "string" +}, +"url": { +"description": "Url specifies a specific url that this record is for. Note: When specifying a \"url\" only data for that specific url will be aggregated.", +"type": "string" +} +}, +"type": "object" +}, +"Metric": { +"description": "A `metric` is a set of user experience data for a single web performance metric, like \"first contentful paint\". It contains a summary histogram of real world Chrome usage as a series of `bins`.", +"id": "Metric", +"properties": { +"fractions": { +"additionalProperties": { +"format": "double", +"type": "number" +}, +"description": "For enum metrics, provides fractions which add up to approximately 1.0.", +"type": "object" +}, +"histogram": { +"description": "The histogram of user experiences for a metric. The histogram will have at least one bin and the densities of all bins will add up to ~1.", +"items": { +"$ref": "Bin" +}, +"type": "array" +}, +"percentiles": { +"$ref": "Percentiles", +"description": "Commonly useful percentiles of the Metric. The value type for the percentiles will be the same as the value types given for the Histogram bins." +} +}, +"type": "object" +}, +"MetricTimeseries": { +"description": "A `metric timeseries` is a set of user experience data for a single web performance metric, like \"first contentful paint\". It contains a summary histogram of real world Chrome usage as a series of `bins`, where each bin has density values for a particular time period.", +"id": "MetricTimeseries", +"properties": { +"fractionTimeseries": { +"additionalProperties": { +"$ref": "FractionTimeseries" +}, +"description": "Mapping from labels to timeseries of fractions attributed to this label.", +"type": "object" +}, +"histogramTimeseries": { +"description": "The histogram of user experiences for a metric. The histogram will have at least one bin and the densities of all bins will add up to ~1, for each timeseries entry.", +"items": { +"$ref": "TimeseriesBin" +}, +"type": "array" +}, +"percentilesTimeseries": { +"$ref": "TimeseriesPercentiles", +"description": "Commonly useful percentiles of the Metric. The value type for the percentiles will be the same as the value types given for the Histogram bins." +} +}, +"type": "object" +}, +"Percentiles": { +"description": "Percentiles contains synthetic values of a metric at a given statistical percentile. These are used for estimating a metric's value as experienced by a percentage of users out of the total number of users.", +"id": "Percentiles", +"properties": { +"p75": { +"description": "75% of users experienced the given metric at or below this value.", +"type": "any" +} +}, +"type": "object" +}, +"QueryHistoryRequest": { +"description": "Request payload sent by a physical web client. This request includes all necessary context to load a particular user experience history record.", +"id": "QueryHistoryRequest", +"properties": { +"collectionPeriodCount": { +"description": "The number of collection periods to return. If not specified, the default is 25. If present, must be in the range [1, 40].", +"format": "int32", +"type": "integer" +}, +"formFactor": { +"description": "The form factor is a query dimension that specifies the device class that the record's data should belong to. Note: If no form factor is specified, then a special record with aggregated data over all form factors will be returned.", +"enum": [ +"ALL_FORM_FACTORS", +"PHONE", +"DESKTOP", +"TABLET" +], +"enumDescriptions": [ +"The default value, representing all device classes.", +"The device class representing a \"mobile\"/\"phone\" sized client.", +"The device class representing a \"desktop\"/\"laptop\" type full size client.", +"The device class representing a \"tablet\" type client." +], +"type": "string" +}, +"metrics": { +"description": "The metrics that should be included in the response. If none are specified then any metrics found will be returned. Allowed values: [\"first_contentful_paint\", \"first_input_delay\", \"largest_contentful_paint\", \"cumulative_layout_shift\", \"experimental_time_to_first_byte\", \"experimental_interaction_to_next_paint\"]", +"items": { +"type": "string" +}, +"type": "array" +}, +"origin": { +"description": "The url pattern \"origin\" refers to a url pattern that is the origin of a website. Examples: \"https://example.com\", \"https://cloud.google.com\"", +"type": "string" +}, +"url": { +"description": "The url pattern \"url\" refers to a url pattern that is any arbitrary url. Examples: \"https://example.com/\", \"https://cloud.google.com/why-google-cloud/\"", +"type": "string" +} +}, +"type": "object" +}, +"QueryHistoryResponse": { +"description": "Response payload sent back to a physical web client. This response contains the record found based on the identiers present in a `QueryHistoryRequest`. The returned response will have a history record, and sometimes details on normalization actions taken on the request that were necessary to make the request successful.", +"id": "QueryHistoryResponse", +"properties": { +"record": { +"$ref": "HistoryRecord", +"description": "The record that was found." +}, +"urlNormalizationDetails": { +"$ref": "UrlNormalization", +"description": "These are details about automated normalization actions that were taken in order to make the requested `url_pattern` valid." +} +}, +"type": "object" +}, +"QueryRequest": { +"description": "Request payload sent by a physical web client. This request includes all necessary context to load a particular user experience record.", +"id": "QueryRequest", +"properties": { +"effectiveConnectionType": { +"description": "The effective connection type is a query dimension that specifies the effective network class that the record's data should belong to. This field uses the values [\"offline\", \"slow-2G\", \"2G\", \"3G\", \"4G\"] as specified in: https://wicg.github.io/netinfo/#effective-connection-types Note: If no effective connection type is specified, then a special record with aggregated data over all effective connection types will be returned.", +"type": "string" +}, +"formFactor": { +"description": "The form factor is a query dimension that specifies the device class that the record's data should belong to. Note: If no form factor is specified, then a special record with aggregated data over all form factors will be returned.", +"enum": [ +"ALL_FORM_FACTORS", +"PHONE", +"DESKTOP", +"TABLET" +], +"enumDescriptions": [ +"The default value, representing all device classes.", +"The device class representing a \"mobile\"/\"phone\" sized client.", +"The device class representing a \"desktop\"/\"laptop\" type full size client.", +"The device class representing a \"tablet\" type client." +], +"type": "string" +}, +"metrics": { +"description": "The metrics that should be included in the response. If none are specified then any metrics found will be returned. Allowed values: [\"first_contentful_paint\", \"first_input_delay\", \"largest_contentful_paint\", \"cumulative_layout_shift\", \"experimental_time_to_first_byte\", \"experimental_interaction_to_next_paint\"]", +"items": { +"type": "string" +}, +"type": "array" +}, +"origin": { +"description": "The url pattern \"origin\" refers to a url pattern that is the origin of a website. Examples: \"https://example.com\", \"https://cloud.google.com\"", +"type": "string" +}, +"url": { +"description": "The url pattern \"url\" refers to a url pattern that is any arbitrary url. Examples: \"https://example.com/\", \"https://cloud.google.com/why-google-cloud/\"", +"type": "string" +} +}, +"type": "object" +}, +"QueryResponse": { +"description": "Response payload sent back to a physical web client. This response contains the record found based on the identiers present in a `QueryRequest`. The returned response will have a record, and sometimes details on normalization actions taken on the request that were necessary to make the request successful.", +"id": "QueryResponse", +"properties": { +"record": { +"$ref": "Record", +"description": "The record that was found." +}, +"urlNormalizationDetails": { +"$ref": "UrlNormalization", +"description": "These are details about automated normalization actions that were taken in order to make the requested `url_pattern` valid." +} +}, +"type": "object" +}, +"Record": { +"description": "Record is a single Chrome UX report data record. It contains use experience statistics for a single url pattern and set of dimensions.", +"id": "Record", +"properties": { +"collectionPeriod": { +"$ref": "CollectionPeriod", +"description": "The collection period indicates when the data reflected in this record was collected." +}, +"key": { +"$ref": "Key", +"description": "Key defines all of the unique querying parameters needed to look up a user experience record." +}, +"metrics": { +"additionalProperties": { +"$ref": "Metric" +}, +"description": "Metrics is the map of user experience data available for the record defined in the key field. Metrics are keyed on the metric name. Allowed key values: [\"first_contentful_paint\", \"first_input_delay\", \"largest_contentful_paint\", \"cumulative_layout_shift\", \"experimental_time_to_first_byte\", \"experimental_interaction_to_next_paint\"]", +"type": "object" +} +}, +"type": "object" +}, +"TimeseriesBin": { +"description": "A bin is a discrete portion of data spanning from start to end, or if no end is given, then from start to +inf. A bin's start and end values are given in the value type of the metric it represents. For example, \"first contentful paint\" is measured in milliseconds and exposed as ints, therefore its metric bins will use int32s for its start and end types. However, \"cumulative layout shift\" is measured in unitless decimals and is exposed as a decimal encoded as a string, therefore its metric bins will use strings for its value type.", +"id": "TimeseriesBin", +"properties": { +"densities": { +"description": "The proportion of users that experienced this bin's value for the given metric in a given collection period; the index for each of these entries corresponds to an entry in the CollectionPeriods field in the HistoryRecord message, which describes when the density was observed in the field. Thus, the length of this list of densities is equal to the length of the CollectionPeriods field in the HistoryRecord message.", +"items": { +"format": "double", +"type": "number" +}, +"type": "array" +}, +"end": { +"description": "End is the end of the data bin. If end is not populated, then the bin has no end and is valid from start to +inf.", +"type": "any" +}, +"start": { +"description": "Start is the beginning of the data bin.", +"type": "any" +} +}, +"type": "object" +}, +"TimeseriesPercentiles": { +"description": "Percentiles contains synthetic values of a metric at a given statistical percentile. These are used for estimating a metric's value as experienced by a percentage of users out of the total number of users.", +"id": "TimeseriesPercentiles", +"properties": { +"p75s": { +"description": "75% of users experienced the given metric at or below this value. The length of this list of densities is equal to the length of the CollectionPeriods field in the HistoryRecord message, which describes when the density was observed in the field.", +"items": { +"type": "any" +}, +"type": "array" +} +}, +"type": "object" +}, +"UrlNormalization": { +"description": "Object representing the normalization actions taken to normalize a url to achieve a higher chance of successful lookup. These are simple automated changes that are taken when looking up the provided `url_patten` would be known to fail. Complex actions like following redirects are not handled.", +"id": "UrlNormalization", +"properties": { +"normalizedUrl": { +"description": "The URL after any normalization actions. This is a valid user experience URL that could reasonably be looked up.", +"type": "string" +}, +"originalUrl": { +"description": "The original requested URL prior to any normalization actions.", +"type": "string" +} +}, +"type": "object" +} +}, +"servicePath": "", +"title": "Chrome UX Report API", +"version": "v1", +"version_module": true +} \ No newline at end of file diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/civicinfo.v2.json b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/civicinfo.v2.json new file mode 100644 index 0000000000000000000000000000000000000000..5a8bb2a7007dc6ad4fa638e7ad9c71609301202e --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/civicinfo.v2.json @@ -0,0 +1,1024 @@ +{ +"basePath": "", +"baseUrl": "https://civicinfo.googleapis.com/", +"batchPath": "batch", +"canonicalName": "Civic Info", +"description": "Provides polling places, early vote locations, contest data, election officials, and government representatives for U.S. residential addresses.", +"discoveryVersion": "v1", +"documentationLink": "https://developers.google.com/civic-information/", +"icons": { +"x16": "http://www.google.com/images/icons/product/search-16.gif", +"x32": "http://www.google.com/images/icons/product/search-32.gif" +}, +"id": "civicinfo:v2", +"kind": "discovery#restDescription", +"mtlsRootUrl": "https://civicinfo.mtls.googleapis.com/", +"name": "civicinfo", +"ownerDomain": "google.com", +"ownerName": "Google", +"parameters": { +"$.xgafv": { +"description": "V1 error format.", +"enum": [ +"1", +"2" +], +"enumDescriptions": [ +"v1 error format", +"v2 error format" +], +"location": "query", +"type": "string" +}, +"access_token": { +"description": "OAuth access token.", +"location": "query", +"type": "string" +}, +"alt": { +"default": "json", +"description": "Data format for response.", +"enum": [ +"json", +"media", +"proto" +], +"enumDescriptions": [ +"Responses with Content-Type of application/json", +"Media download with context-dependent Content-Type", +"Responses with Content-Type of application/x-protobuf" +], +"location": "query", +"type": "string" +}, +"callback": { +"description": "JSONP", +"location": "query", +"type": "string" +}, +"fields": { +"description": "Selector specifying which fields to include in a partial response.", +"location": "query", +"type": "string" +}, +"key": { +"description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", +"location": "query", +"type": "string" +}, +"oauth_token": { +"description": "OAuth 2.0 token for the current user.", +"location": "query", +"type": "string" +}, +"prettyPrint": { +"default": "true", +"description": "Returns response with indentations and line breaks.", +"location": "query", +"type": "boolean" +}, +"quotaUser": { +"description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.", +"location": "query", +"type": "string" +}, +"uploadType": { +"description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", +"location": "query", +"type": "string" +}, +"upload_protocol": { +"description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", +"location": "query", +"type": "string" +} +}, +"protocol": "rest", +"resources": { +"divisions": { +"methods": { +"queryDivisionByAddress": { +"description": "Lookup OCDIDs and names for divisions related to an address.", +"flatPath": "civicinfo/v2/divisionsByAddress", +"httpMethod": "GET", +"id": "civicinfo.divisions.queryDivisionByAddress", +"parameterOrder": [], +"parameters": { +"address": { +"location": "query", +"type": "string" +} +}, +"path": "civicinfo/v2/divisionsByAddress", +"response": { +"$ref": "CivicinfoApiprotosV2DivisionByAddressResponse" +} +}, +"search": { +"description": "Searches for political divisions by their natural name or OCD ID.", +"flatPath": "civicinfo/v2/divisions", +"httpMethod": "GET", +"id": "civicinfo.divisions.search", +"parameterOrder": [], +"parameters": { +"query": { +"description": "The search query. Queries can cover any parts of a OCD ID or a human readable division name. All words given in the query are treated as required patterns. In addition to that, most query operators of the Apache Lucene library are supported. See http://lucene.apache.org/core/2_9_4/queryparsersyntax.html", +"location": "query", +"type": "string" +} +}, +"path": "civicinfo/v2/divisions", +"response": { +"$ref": "CivicinfoApiprotosV2DivisionSearchResponse" +} +} +} +}, +"elections": { +"methods": { +"electionQuery": { +"description": "List of available elections to query.", +"flatPath": "civicinfo/v2/elections", +"httpMethod": "GET", +"id": "civicinfo.elections.electionQuery", +"parameterOrder": [], +"parameters": { +"productionDataOnly": { +"default": "true", +"description": "Whether to include data that has not been allowlisted yet", +"location": "query", +"type": "boolean" +} +}, +"path": "civicinfo/v2/elections", +"response": { +"$ref": "CivicinfoApiprotosV2ElectionsQueryResponse" +} +}, +"voterInfoQuery": { +"description": "Looks up information relevant to a voter based on the voter's registered address.", +"flatPath": "civicinfo/v2/voterinfo", +"httpMethod": "GET", +"id": "civicinfo.elections.voterInfoQuery", +"parameterOrder": [], +"parameters": { +"address": { +"description": "The registered address of the voter to look up.", +"location": "query", +"type": "string" +}, +"electionId": { +"default": "0", +"description": "The unique ID of the election to look up. A list of election IDs can be obtained at https://www.googleapis.com/civicinfo/{version}/elections. If no election ID is specified in the query and there is more than one election with data for the given voter, the additional elections are provided in the otherElections response field.", +"format": "int64", +"location": "query", +"type": "string" +}, +"officialOnly": { +"default": "false", +"description": "If set to true, only data from official state sources will be returned.", +"location": "query", +"type": "boolean" +}, +"productionDataOnly": { +"default": "true", +"description": "Whether to include data that has not been vetted yet. Should only be made available to internal IPs or trusted partners. This is a non-discoverable parameter in the One Platform API config.", +"location": "query", +"type": "boolean" +}, +"returnAllAvailableData": { +"default": "false", +"description": "If set to true, the query will return the success code and include any partial information when it is unable to determine a matching address or unable to determine the election for electionId=0 queries.", +"location": "query", +"type": "boolean" +} +}, +"path": "civicinfo/v2/voterinfo", +"response": { +"$ref": "CivicinfoApiprotosV2VoterInfoResponse" +} +} +} +} +}, +"revision": "20250708", +"rootUrl": "https://civicinfo.googleapis.com/", +"schemas": { +"CivicinfoApiprotosV2DivisionByAddressResponse": { +"id": "CivicinfoApiprotosV2DivisionByAddressResponse", +"properties": { +"divisions": { +"additionalProperties": { +"$ref": "CivicinfoSchemaV2GeographicDivision" +}, +"type": "object" +}, +"normalizedInput": { +"$ref": "CivicinfoSchemaV2SimpleAddressType", +"description": "The normalized version of the requested address." +} +}, +"type": "object" +}, +"CivicinfoApiprotosV2DivisionSearchResponse": { +"description": "The result of a division search query.", +"id": "CivicinfoApiprotosV2DivisionSearchResponse", +"properties": { +"kind": { +"default": "civicinfo#divisionSearchResponse", +"description": "Identifies what kind of resource this is. Value: the fixed string \"civicinfo#divisionSearchResponse\".", +"type": "string" +}, +"results": { +"items": { +"$ref": "CivicinfoApiprotosV2DivisionSearchResult" +}, +"type": "array" +} +}, +"type": "object" +}, +"CivicinfoApiprotosV2DivisionSearchResult": { +"description": "Represents a political geographic division that matches the requested query.", +"id": "CivicinfoApiprotosV2DivisionSearchResult", +"properties": { +"aliases": { +"description": "Other Open Civic Data identifiers that refer to the same division -- for example, those that refer to other political divisions whose boundaries are defined to be coterminous with this one. For example, ocd-division/country:us/state:wy will include an alias of ocd-division/country:us/state:wy/cd:1, since Wyoming has only one Congressional district.", +"items": { +"type": "string" +}, +"type": "array" +}, +"name": { +"description": "The name of the division.", +"type": "string" +}, +"ocdId": { +"description": "The unique Open Civic Data identifier for this division", +"type": "string" +} +}, +"type": "object" +}, +"CivicinfoApiprotosV2ElectionsQueryResponse": { +"description": "The list of elections available for this version of the API.", +"id": "CivicinfoApiprotosV2ElectionsQueryResponse", +"properties": { +"elections": { +"description": "A list of available elections", +"items": { +"$ref": "CivicinfoSchemaV2Election" +}, +"type": "array" +}, +"kind": { +"default": "civicinfo#electionsQueryResponse", +"description": "Identifies what kind of resource this is. Value: the fixed string \"civicinfo#electionsQueryResponse\".", +"type": "string" +} +}, +"type": "object" +}, +"CivicinfoApiprotosV2VoterInfoResponse": { +"description": "The result of a voter info lookup query.", +"id": "CivicinfoApiprotosV2VoterInfoResponse", +"properties": { +"contests": { +"description": "Contests that will appear on the voter's ballot.", +"items": { +"$ref": "CivicinfoSchemaV2Contest" +}, +"type": "array" +}, +"dropOffLocations": { +"description": "Locations where a voter is eligible to drop off a completed ballot. The voter must have received and completed a ballot prior to arriving at the location. The location may not have ballots available on the premises. These locations could be open on or before election day as indicated in the pollingHours field.", +"items": { +"$ref": "CivicinfoSchemaV2PollingLocation" +}, +"type": "array" +}, +"earlyVoteSites": { +"description": "Locations where the voter is eligible to vote early, prior to election day.", +"items": { +"$ref": "CivicinfoSchemaV2PollingLocation" +}, +"type": "array" +}, +"election": { +"$ref": "CivicinfoSchemaV2Election", +"description": "The election that was queried." +}, +"kind": { +"default": "civicinfo#voterInfoResponse", +"description": "Identifies what kind of resource this is. Value: the fixed string \"civicinfo#voterInfoResponse\".", +"type": "string" +}, +"mailOnly": { +"description": "Specifies whether voters in the precinct vote only by mailing their ballots (with the possible option of dropping off their ballots as well).", +"type": "boolean" +}, +"normalizedInput": { +"$ref": "CivicinfoSchemaV2SimpleAddressType", +"description": "The normalized version of the requested address" +}, +"otherElections": { +"description": "When there are multiple elections for a voter address, the otherElections field is populated in the API response and there are two possibilities: 1. If the earliest election is not the intended election, specify the election ID of the desired election in a second API request using the electionId field. 2. If these elections occur on the same day, the API doesn?t return any polling location, contest, or election official information to ensure that an additional query is made. For user-facing applications, we recommend displaying these elections to the user to disambiguate. A second API request using the electionId field should be made for the election that is relevant to the user.", +"items": { +"$ref": "CivicinfoSchemaV2Election" +}, +"type": "array" +}, +"pollingLocations": { +"description": "Locations where the voter is eligible to vote on election day.", +"items": { +"$ref": "CivicinfoSchemaV2PollingLocation" +}, +"type": "array" +}, +"precinctId": { +"type": "string" +}, +"precincts": { +"description": "The precincts that match this voter's address. Will only be returned for project IDs which have been allowlisted as \"partner projects\".", +"items": { +"$ref": "CivicinfoSchemaV2Precinct" +}, +"type": "array" +}, +"state": { +"description": "Local Election Information for the state that the voter votes in. For the US, there will only be one element in this array.", +"items": { +"$ref": "CivicinfoSchemaV2AdministrationRegion" +}, +"type": "array" +} +}, +"type": "object" +}, +"CivicinfoSchemaV2AdministrationRegion": { +"description": "Describes information about a regional election administrative area.", +"id": "CivicinfoSchemaV2AdministrationRegion", +"properties": { +"electionAdministrationBody": { +"$ref": "CivicinfoSchemaV2AdministrativeBody", +"description": "The election administration body for this area." +}, +"local_jurisdiction": { +"$ref": "CivicinfoSchemaV2AdministrationRegion", +"description": "The city or county that provides election information for this voter. This object can have the same elements as state." +}, +"name": { +"description": "The name of the jurisdiction.", +"type": "string" +}, +"sources": { +"description": "A list of sources for this area. If multiple sources are listed the data has been aggregated from those sources.", +"items": { +"$ref": "CivicinfoSchemaV2Source" +}, +"type": "array" +} +}, +"type": "object" +}, +"CivicinfoSchemaV2AdministrativeBody": { +"description": "Information about an election administrative body (e.g. County Board of Elections).", +"id": "CivicinfoSchemaV2AdministrativeBody", +"properties": { +"absenteeVotingInfoUrl": { +"description": "A URL provided by this administrative body for information on absentee voting.", +"type": "string" +}, +"ballotInfoUrl": { +"description": "A URL provided by this administrative body to give contest information to the voter.", +"type": "string" +}, +"correspondenceAddress": { +"$ref": "CivicinfoSchemaV2SimpleAddressType", +"description": "The mailing address of this administrative body." +}, +"electionInfoUrl": { +"description": "A URL provided by this administrative body for looking up general election information.", +"type": "string" +}, +"electionNoticeText": { +"description": "A last minute or emergency notification text provided by this administrative body.", +"type": "string" +}, +"electionNoticeUrl": { +"description": "A URL provided by this administrative body for additional information related to the last minute or emergency notification.", +"type": "string" +}, +"electionOfficials": { +"description": "The election officials for this election administrative body.", +"items": { +"$ref": "CivicinfoSchemaV2ElectionOfficial" +}, +"type": "array" +}, +"electionRegistrationConfirmationUrl": { +"description": "A URL provided by this administrative body for confirming that the voter is registered to vote.", +"type": "string" +}, +"electionRegistrationUrl": { +"description": "A URL provided by this administrative body for looking up how to register to vote.", +"type": "string" +}, +"electionRulesUrl": { +"description": "A URL provided by this administrative body describing election rules to the voter.", +"type": "string" +}, +"hoursOfOperation": { +"description": "A description of the hours of operation for this administrative body.", +"type": "string" +}, +"name": { +"description": "The name of this election administrative body.", +"type": "string" +}, +"physicalAddress": { +"$ref": "CivicinfoSchemaV2SimpleAddressType", +"description": "The physical address of this administrative body." +}, +"voter_services": { +"description": "A description of the services this administrative body may provide.", +"items": { +"type": "string" +}, +"type": "array" +}, +"votingLocationFinderUrl": { +"description": "A URL provided by this administrative body for looking up where to vote.", +"type": "string" +} +}, +"type": "object" +}, +"CivicinfoSchemaV2Candidate": { +"description": "Information about a candidate running for elected office.", +"id": "CivicinfoSchemaV2Candidate", +"properties": { +"candidateUrl": { +"description": "The URL for the candidate's campaign web site.", +"type": "string" +}, +"channels": { +"description": "A list of known (social) media channels for this candidate.", +"items": { +"$ref": "CivicinfoSchemaV2Channel" +}, +"type": "array" +}, +"email": { +"description": "The email address for the candidate's campaign.", +"type": "string" +}, +"name": { +"description": "The candidate's name. If this is a joint ticket it will indicate the name of the candidate at the top of a ticket followed by a / and that name of candidate at the bottom of the ticket. e.g. \"Mitt Romney / Paul Ryan\"", +"type": "string" +}, +"orderOnBallot": { +"description": "The order the candidate appears on the ballot for this contest.", +"format": "int64", +"type": "string" +}, +"party": { +"description": "The full name of the party the candidate is a member of.", +"type": "string" +}, +"phone": { +"description": "The voice phone number for the candidate's campaign office.", +"type": "string" +}, +"photoUrl": { +"description": "A URL for a photo of the candidate.", +"type": "string" +} +}, +"type": "object" +}, +"CivicinfoSchemaV2Channel": { +"description": "A social media or web channel for a candidate.", +"id": "CivicinfoSchemaV2Channel", +"properties": { +"id": { +"description": "The unique public identifier for the candidate's channel.", +"type": "string" +}, +"type": { +"description": "The type of channel. The following is a list of types of channels, but is not exhaustive. More channel types may be added at a later time. One of: GooglePlus, YouTube, Facebook, Twitter", +"type": "string" +} +}, +"type": "object" +}, +"CivicinfoSchemaV2Contest": { +"description": "Information about a contest that appears on a voter's ballot.", +"id": "CivicinfoSchemaV2Contest", +"properties": { +"ballotPlacement": { +"description": "A number specifying the position of this contest on the voter's ballot.", +"format": "int64", +"type": "string" +}, +"ballotTitle": { +"description": "The official title on the ballot for this contest, only where available.", +"type": "string" +}, +"candidates": { +"description": "The candidate choices for this contest.", +"items": { +"$ref": "CivicinfoSchemaV2Candidate" +}, +"type": "array" +}, +"district": { +"$ref": "CivicinfoSchemaV2ElectoralDistrict", +"description": "Information about the electoral district that this contest is in." +}, +"electorateSpecifications": { +"description": "A description of any additional eligibility requirements for voting in this contest.", +"type": "string" +}, +"level": { +"description": "The levels of government of the office for this contest. There may be more than one in cases where a jurisdiction effectively acts at two different levels of government; for example, the mayor of the District of Columbia acts at \"locality\" level, but also effectively at both \"administrative-area-2\" and \"administrative-area-1\".", +"items": { +"enum": [ +"international", +"country", +"administrativeArea1", +"regional", +"administrativeArea2", +"locality", +"subLocality1", +"subLocality2", +"special" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"", +"", +"", +"" +], +"type": "string" +}, +"type": "array" +}, +"numberElected": { +"description": "The number of candidates that will be elected to office in this contest.", +"format": "int64", +"type": "string" +}, +"numberVotingFor": { +"description": "The number of candidates that a voter may vote for in this contest.", +"format": "int64", +"type": "string" +}, +"office": { +"description": "The name of the office for this contest.", +"type": "string" +}, +"primaryParties": { +"description": "If this is a partisan election, the name of the party/parties it is for.", +"items": { +"type": "string" +}, +"type": "array" +}, +"referendumBallotResponses": { +"description": "The set of ballot responses for the referendum. A ballot response represents a line on the ballot. Common examples might include \"yes\" or \"no\" for referenda. This field is only populated for contests of type 'Referendum'.", +"items": { +"type": "string" +}, +"type": "array" +}, +"referendumBrief": { +"description": "Specifies a short summary of the referendum that is typically on the ballot below the title but above the text. This field is only populated for contests of type 'Referendum'.", +"type": "string" +}, +"referendumConStatement": { +"description": "A statement in opposition to the referendum. It does not necessarily appear on the ballot. This field is only populated for contests of type 'Referendum'.", +"type": "string" +}, +"referendumEffectOfAbstain": { +"description": "Specifies what effect abstaining (not voting) on the proposition will have (i.e. whether abstaining is considered a vote against it). This field is only populated for contests of type 'Referendum'.", +"type": "string" +}, +"referendumPassageThreshold": { +"description": "The threshold of votes that the referendum needs in order to pass, e.g. \"two-thirds\". This field is only populated for contests of type 'Referendum'.", +"type": "string" +}, +"referendumProStatement": { +"description": "A statement in favor of the referendum. It does not necessarily appear on the ballot. This field is only populated for contests of type 'Referendum'.", +"type": "string" +}, +"referendumSubtitle": { +"description": "A brief description of the referendum. This field is only populated for contests of type 'Referendum'.", +"type": "string" +}, +"referendumText": { +"description": "The full text of the referendum. This field is only populated for contests of type 'Referendum'.", +"type": "string" +}, +"referendumTitle": { +"description": "The title of the referendum (e.g. 'Proposition 42'). This field is only populated for contests of type 'Referendum'.", +"type": "string" +}, +"referendumUrl": { +"description": "A link to the referendum. This field is only populated for contests of type 'Referendum'.", +"type": "string" +}, +"roles": { +"description": "The roles which this office fulfills.", +"items": { +"enum": [ +"headOfState", +"headOfGovernment", +"deputyHeadOfGovernment", +"governmentOfficer", +"executiveCouncil", +"legislatorUpperBody", +"legislatorLowerBody", +"highestCourtJudge", +"judge", +"schoolBoard", +"specialPurposeOfficer", +"otherRole" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"" +], +"type": "string" +}, +"type": "array" +}, +"sources": { +"description": "A list of sources for this contest. If multiple sources are listed, the data has been aggregated from those sources.", +"items": { +"$ref": "CivicinfoSchemaV2Source" +}, +"type": "array" +}, +"special": { +"description": "\"Yes\" or \"No\" depending on whether this a contest being held outside the normal election cycle.", +"type": "string" +}, +"type": { +"description": "The type of contest. Usually this will be 'General', 'Primary', or 'Run-off' for contests with candidates. For referenda this will be 'Referendum'. For Retention contests this will typically be 'Retention'.", +"type": "string" +} +}, +"type": "object" +}, +"CivicinfoSchemaV2Election": { +"description": "Information about the election that was queried.", +"id": "CivicinfoSchemaV2Election", +"properties": { +"electionDay": { +"description": "Day of the election in YYYY-MM-DD format.", +"type": "string" +}, +"id": { +"description": "The unique ID of this election.", +"format": "int64", +"type": "string" +}, +"name": { +"description": "A displayable name for the election.", +"type": "string" +}, +"ocdDivisionId": { +"description": "The political division of the election. Represented as an OCD Division ID. Voters within these political jurisdictions are covered by this election. This is typically a state such as ocd-division/country:us/state:ca or for the midterms or general election the entire US (i.e. ocd-division/country:us).", +"type": "string" +}, +"shapeLookupBehavior": { +"enum": [ +"shapeLookupDefault", +"shapeLookupDisabled", +"shapeLookupEnabled" +], +"enumDescriptions": [ +"", +"", +"" +], +"type": "string" +} +}, +"type": "object" +}, +"CivicinfoSchemaV2ElectionOfficial": { +"description": "Information about individual election officials.", +"id": "CivicinfoSchemaV2ElectionOfficial", +"properties": { +"emailAddress": { +"description": "The email address of the election official.", +"type": "string" +}, +"faxNumber": { +"description": "The fax number of the election official.", +"type": "string" +}, +"name": { +"description": "The full name of the election official.", +"type": "string" +}, +"officePhoneNumber": { +"description": "The office phone number of the election official.", +"type": "string" +}, +"title": { +"description": "The title of the election official.", +"type": "string" +} +}, +"type": "object" +}, +"CivicinfoSchemaV2ElectoralDistrict": { +"description": "Describes the geographic scope of a contest.", +"id": "CivicinfoSchemaV2ElectoralDistrict", +"properties": { +"id": { +"description": "An identifier for this district, relative to its scope. For example, the 34th State Senate district would have id \"34\" and a scope of stateUpper.", +"type": "string" +}, +"name": { +"description": "The name of the district.", +"type": "string" +}, +"scope": { +"description": "The geographic scope of this district. If unspecified the district's geography is not known. One of: national, statewide, congressional, stateUpper, stateLower, countywide, judicial, schoolBoard, cityWide, township, countyCouncil, cityCouncil, ward, special", +"enum": [ +"statewide", +"congressional", +"stateUpper", +"stateLower", +"countywide", +"judicial", +"schoolBoard", +"citywide", +"special", +"countyCouncil", +"township", +"ward", +"cityCouncil", +"national" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"" +], +"type": "string" +} +}, +"type": "object" +}, +"CivicinfoSchemaV2GeographicDivision": { +"description": "Describes a political geography.", +"id": "CivicinfoSchemaV2GeographicDivision", +"properties": { +"alsoKnownAs": { +"description": "Any other valid OCD IDs that refer to the same division.\\n\\nBecause OCD IDs are meant to be human-readable and at least somewhat predictable, there are occasionally several identifiers for a single division. These identifiers are defined to be equivalent to one another, and one is always indicated as the primary identifier. The primary identifier will be returned in ocd_id above, and any other equivalent valid identifiers will be returned in this list.\\n\\nFor example, if this division's OCD ID is ocd-division/country:us/district:dc, this will contain ocd-division/country:us/state:dc.", +"items": { +"type": "string" +}, +"type": "array" +}, +"name": { +"description": "The name of the division.", +"type": "string" +}, +"officeIndices": { +"description": "List of indices in the offices array, one for each office elected from this division. Will only be present if includeOffices was true (or absent) in the request.", +"items": { +"format": "uint32", +"type": "integer" +}, +"type": "array" +} +}, +"type": "object" +}, +"CivicinfoSchemaV2PollingLocation": { +"description": "A location where a voter can vote. This may be an early vote site, an election day voting location, or a drop off location for a completed ballot.", +"id": "CivicinfoSchemaV2PollingLocation", +"properties": { +"address": { +"$ref": "CivicinfoSchemaV2SimpleAddressType", +"description": "The address of the location." +}, +"endDate": { +"description": "The last date that this early vote site or drop off location may be used. This field is not populated for polling locations.", +"type": "string" +}, +"latitude": { +"description": "Latitude of the location, in degrees north of the equator. Note this field may not be available for some locations.", +"format": "double", +"type": "number" +}, +"longitude": { +"description": "Longitude of the location, in degrees east of the Prime Meridian. Note this field may not be available for some locations.", +"format": "double", +"type": "number" +}, +"name": { +"description": "The name of the early vote site or drop off location. This field is not populated for polling locations.", +"type": "string" +}, +"notes": { +"description": "Notes about this location (e.g. accessibility ramp or entrance to use).", +"type": "string" +}, +"pollingHours": { +"description": "A description of when this location is open.", +"type": "string" +}, +"sources": { +"description": "A list of sources for this location. If multiple sources are listed the data has been aggregated from those sources.", +"items": { +"$ref": "CivicinfoSchemaV2Source" +}, +"type": "array" +}, +"startDate": { +"description": "The first date that this early vote site or drop off location may be used. This field is not populated for polling locations.", +"type": "string" +}, +"voterServices": { +"description": "The services provided by this early vote site or drop off location. This field is not populated for polling locations.", +"type": "string" +} +}, +"type": "object" +}, +"CivicinfoSchemaV2Precinct": { +"id": "CivicinfoSchemaV2Precinct", +"properties": { +"administrationRegionId": { +"description": "ID of the AdministrationRegion message for this precinct. Corresponds to LocalityId xml tag.", +"type": "string" +}, +"contestId": { +"description": "ID(s) of the Contest message(s) for this precinct.", +"items": { +"type": "string" +}, +"type": "array" +}, +"datasetId": { +"description": "Required. Dataset ID. What datasets our Precincts come from.", +"format": "int64", +"type": "string" +}, +"earlyVoteSiteId": { +"description": "ID(s) of the PollingLocation message(s) for this precinct.", +"items": { +"type": "string" +}, +"type": "array" +}, +"electoralDistrictId": { +"description": "ID(s) of the ElectoralDistrict message(s) for this precinct.", +"items": { +"type": "string" +}, +"type": "array" +}, +"id": { +"description": "Required. A unique identifier for this precinct.", +"type": "string" +}, +"mailOnly": { +"description": "Specifies if the precinct runs mail-only elections.", +"type": "boolean" +}, +"name": { +"description": "Required. The name of the precinct.", +"type": "string" +}, +"number": { +"description": "The number of the precinct.", +"type": "string" +}, +"ocdId": { +"description": "Encouraged. The OCD ID of the precinct", +"items": { +"type": "string" +}, +"type": "array" +}, +"pollingLocationId": { +"description": "ID(s) of the PollingLocation message(s) for this precinct.", +"items": { +"type": "string" +}, +"type": "array" +}, +"spatialBoundaryId": { +"description": "ID(s) of the SpatialBoundary message(s) for this precinct. Used to specify a geometrical boundary of the precinct.", +"items": { +"type": "string" +}, +"type": "array" +}, +"splitName": { +"description": "If present, this proto corresponds to one portion of split precinct. Other portions of this precinct are guaranteed to have the same `name`. If not present, this proto represents a full precicnt.", +"type": "string" +}, +"ward": { +"description": "Specifies the ward the precinct is contained within.", +"type": "string" +} +}, +"type": "object" +}, +"CivicinfoSchemaV2SimpleAddressType": { +"description": "A simple representation of an address.", +"id": "CivicinfoSchemaV2SimpleAddressType", +"properties": { +"addressLine": { +"items": { +"type": "string" +}, +"type": "array" +}, +"city": { +"description": "The city or town for the address.", +"type": "string" +}, +"line1": { +"description": "The street name and number of this address.", +"type": "string" +}, +"line2": { +"description": "The second line the address, if needed.", +"type": "string" +}, +"line3": { +"description": "The third line of the address, if needed.", +"type": "string" +}, +"locationName": { +"description": "The name of the location.", +"type": "string" +}, +"state": { +"description": "The US two letter state abbreviation of the address.", +"type": "string" +}, +"zip": { +"description": "The US Postal Zip Code of the address.", +"type": "string" +} +}, +"type": "object" +}, +"CivicinfoSchemaV2Source": { +"description": "Contains information about the data source for the element containing it.", +"id": "CivicinfoSchemaV2Source", +"properties": { +"name": { +"description": "The name of the data source.", +"type": "string" +}, +"official": { +"description": "Whether this data comes from an official government source.", +"type": "boolean" +} +}, +"type": "object" +} +}, +"servicePath": "", +"title": "Google Civic Information API", +"version": "v2", +"version_module": true +} \ No newline at end of file diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/classroom.v1.json b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/classroom.v1.json new file mode 100644 index 0000000000000000000000000000000000000000..d1237f8e1a348bbd037dff40e87b549b87cf23e3 --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/classroom.v1.json @@ -0,0 +1,6589 @@ +{ +"auth": { +"oauth2": { +"scopes": { +"https://www.googleapis.com/auth/classroom.addons.student": { +"description": "See and update its own attachments to posts in Google Classroom" +}, +"https://www.googleapis.com/auth/classroom.addons.teacher": { +"description": "See, create, and update its own attachments to posts in classes you teach in Google Classroom" +}, +"https://www.googleapis.com/auth/classroom.announcements": { +"description": "View and manage announcements in Google Classroom" +}, +"https://www.googleapis.com/auth/classroom.announcements.readonly": { +"description": "View announcements in Google Classroom" +}, +"https://www.googleapis.com/auth/classroom.courses": { +"description": "See, edit, create, and permanently delete your Google Classroom classes" +}, +"https://www.googleapis.com/auth/classroom.courses.readonly": { +"description": "View your Google Classroom classes" +}, +"https://www.googleapis.com/auth/classroom.coursework.me": { +"description": "See, create and edit coursework items including assignments, questions, and grades" +}, +"https://www.googleapis.com/auth/classroom.coursework.me.readonly": { +"description": "View your course work and grades in Google Classroom" +}, +"https://www.googleapis.com/auth/classroom.coursework.students": { +"description": "Manage course work and grades for students in the Google Classroom classes you teach and view the course work and grades for classes you administer" +}, +"https://www.googleapis.com/auth/classroom.coursework.students.readonly": { +"description": "View course work and grades for students in the Google Classroom classes you teach or administer" +}, +"https://www.googleapis.com/auth/classroom.courseworkmaterials": { +"description": "See, edit, and create classwork materials in Google Classroom" +}, +"https://www.googleapis.com/auth/classroom.courseworkmaterials.readonly": { +"description": "See all classwork materials for your Google Classroom classes" +}, +"https://www.googleapis.com/auth/classroom.guardianlinks.me.readonly": { +"description": "View your Google Classroom guardians" +}, +"https://www.googleapis.com/auth/classroom.guardianlinks.students": { +"description": "View and manage guardians for students in your Google Classroom classes" +}, +"https://www.googleapis.com/auth/classroom.guardianlinks.students.readonly": { +"description": "View guardians for students in your Google Classroom classes" +}, +"https://www.googleapis.com/auth/classroom.profile.emails": { +"description": "View the email addresses of people in your classes" +}, +"https://www.googleapis.com/auth/classroom.profile.photos": { +"description": "View the profile photos of people in your classes" +}, +"https://www.googleapis.com/auth/classroom.push-notifications": { +"description": "Receive notifications about your Google Classroom data" +}, +"https://www.googleapis.com/auth/classroom.rosters": { +"description": "Manage your Google Classroom class rosters" +}, +"https://www.googleapis.com/auth/classroom.rosters.readonly": { +"description": "View your Google Classroom class rosters" +}, +"https://www.googleapis.com/auth/classroom.student-submissions.me.readonly": { +"description": "View your course work and grades in Google Classroom" +}, +"https://www.googleapis.com/auth/classroom.student-submissions.students.readonly": { +"description": "View course work and grades for students in the Google Classroom classes you teach or administer" +}, +"https://www.googleapis.com/auth/classroom.topics": { +"description": "See, create, and edit topics in Google Classroom" +}, +"https://www.googleapis.com/auth/classroom.topics.readonly": { +"description": "View topics in Google Classroom" +} +} +} +}, +"basePath": "", +"baseUrl": "https://classroom.googleapis.com/", +"batchPath": "batch", +"description": "Manages classes, rosters, and invitations in Google Classroom.", +"discoveryVersion": "v1", +"documentationLink": "https://developers.google.com/workspace/classroom/", +"fullyEncodeReservedExpansion": true, +"icons": { +"x16": "http://www.google.com/images/icons/product/search-16.gif", +"x32": "http://www.google.com/images/icons/product/search-32.gif" +}, +"id": "classroom:v1", +"kind": "discovery#restDescription", +"mtlsRootUrl": "https://classroom.mtls.googleapis.com/", +"name": "classroom", +"ownerDomain": "google.com", +"ownerName": "Google", +"parameters": { +"$.xgafv": { +"description": "V1 error format.", +"enum": [ +"1", +"2" +], +"enumDescriptions": [ +"v1 error format", +"v2 error format" +], +"location": "query", +"type": "string" +}, +"access_token": { +"description": "OAuth access token.", +"location": "query", +"type": "string" +}, +"alt": { +"default": "json", +"description": "Data format for response.", +"enum": [ +"json", +"media", +"proto" +], +"enumDescriptions": [ +"Responses with Content-Type of application/json", +"Media download with context-dependent Content-Type", +"Responses with Content-Type of application/x-protobuf" +], +"location": "query", +"type": "string" +}, +"callback": { +"description": "JSONP", +"location": "query", +"type": "string" +}, +"fields": { +"description": "Selector specifying which fields to include in a partial response.", +"location": "query", +"type": "string" +}, +"key": { +"description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", +"location": "query", +"type": "string" +}, +"oauth_token": { +"description": "OAuth 2.0 token for the current user.", +"location": "query", +"type": "string" +}, +"prettyPrint": { +"default": "true", +"description": "Returns response with indentations and line breaks.", +"location": "query", +"type": "boolean" +}, +"quotaUser": { +"description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.", +"location": "query", +"type": "string" +}, +"uploadType": { +"description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", +"location": "query", +"type": "string" +}, +"upload_protocol": { +"description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", +"location": "query", +"type": "string" +} +}, +"protocol": "rest", +"resources": { +"courses": { +"methods": { +"create": { +"description": "Creates a course. The user specified in `ownerId` is the owner of the created course and added as a teacher. A non-admin requesting user can only create a course with themselves as the owner. Domain admins can create courses owned by any user within their domain. This method returns the following error codes: * `PERMISSION_DENIED` if the requesting user is not permitted to create courses or for access errors. * `NOT_FOUND` if the primary teacher is not a valid user. * `FAILED_PRECONDITION` if the course owner's account is disabled or for the following request errors: * UserCannotOwnCourse * UserGroupsMembershipLimitReached * CourseTitleCannotContainUrl * `ALREADY_EXISTS` if an alias was specified in the `id` and already exists.", +"flatPath": "v1/courses", +"httpMethod": "POST", +"id": "classroom.courses.create", +"parameterOrder": [], +"parameters": {}, +"path": "v1/courses", +"request": { +"$ref": "Course" +}, +"response": { +"$ref": "Course" +}, +"scopes": [ +"https://www.googleapis.com/auth/classroom.courses" +] +}, +"delete": { +"description": "Deletes a course. This method returns the following error codes: * `PERMISSION_DENIED` if the requesting user is not permitted to delete the requested course or for access errors. * `NOT_FOUND` if no course exists with the requested ID.", +"flatPath": "v1/courses/{id}", +"httpMethod": "DELETE", +"id": "classroom.courses.delete", +"parameterOrder": [ +"id" +], +"parameters": { +"id": { +"description": "Identifier of the course to delete. This identifier can be either the Classroom-assigned identifier or an alias.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v1/courses/{id}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/classroom.courses" +] +}, +"get": { +"description": "Returns a course. This method returns the following error codes: * `PERMISSION_DENIED` if the requesting user is not permitted to access the requested course or for access errors. * `NOT_FOUND` if no course exists with the requested ID.", +"flatPath": "v1/courses/{id}", +"httpMethod": "GET", +"id": "classroom.courses.get", +"parameterOrder": [ +"id" +], +"parameters": { +"id": { +"description": "Identifier of the course to return. This identifier can be either the Classroom-assigned identifier or an alias.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v1/courses/{id}", +"response": { +"$ref": "Course" +}, +"scopes": [ +"https://www.googleapis.com/auth/classroom.courses", +"https://www.googleapis.com/auth/classroom.courses.readonly" +] +}, +"getGradingPeriodSettings": { +"description": "Returns the grading period settings in a course. This method returns the following error codes: * `PERMISSION_DENIED` if the requesting user isn't permitted to access the grading period settings in the requested course or for access errors. * `NOT_FOUND` if the requested course does not exist.", +"flatPath": "v1/courses/{courseId}/gradingPeriodSettings", +"httpMethod": "GET", +"id": "classroom.courses.getGradingPeriodSettings", +"parameterOrder": [ +"courseId" +], +"parameters": { +"courseId": { +"description": "Required. The identifier of the course.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v1/courses/{courseId}/gradingPeriodSettings", +"response": { +"$ref": "GradingPeriodSettings" +}, +"scopes": [ +"https://www.googleapis.com/auth/classroom.courses", +"https://www.googleapis.com/auth/classroom.courses.readonly" +] +}, +"list": { +"description": "Returns a list of courses that the requesting user is permitted to view, restricted to those that match the request. Returned courses are ordered by creation time, with the most recently created coming first. This method returns the following error codes: * `PERMISSION_DENIED` for access errors. * `INVALID_ARGUMENT` if the query argument is malformed. * `NOT_FOUND` if any users specified in the query arguments do not exist.", +"flatPath": "v1/courses", +"httpMethod": "GET", +"id": "classroom.courses.list", +"parameterOrder": [], +"parameters": { +"courseStates": { +"description": "Restricts returned courses to those in one of the specified states The default value is ACTIVE, ARCHIVED, PROVISIONED, DECLINED.", +"enum": [ +"COURSE_STATE_UNSPECIFIED", +"ACTIVE", +"ARCHIVED", +"PROVISIONED", +"DECLINED", +"SUSPENDED" +], +"enumDescriptions": [ +"No course state. No returned Course message will use this value.", +"The course is active.", +"The course has been archived. You cannot modify it except to change it to a different state.", +"The course has been created, but not yet activated. It is accessible by the primary teacher and domain administrators, who may modify it or change it to the `ACTIVE` or `DECLINED` states. A course may only be changed to `PROVISIONED` if it is in the `DECLINED` state.", +"The course has been created, but declined. It is accessible by the course owner and domain administrators, though it will not be displayed in the web UI. You cannot modify the course except to change it to the `PROVISIONED` state. A course may only be changed to `DECLINED` if it is in the `PROVISIONED` state.", +"The course has been suspended. You cannot modify the course, and only the user identified by the `owner_id` can view the course. A course may be placed in this state if it potentially violates the Terms of Service." +], +"location": "query", +"repeated": true, +"type": "string" +}, +"pageSize": { +"description": "Maximum number of items to return. Zero or unspecified indicates that the server may assign a maximum. The server may return fewer than the specified number of results.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "nextPageToken value returned from a previous list call, indicating that the subsequent page of results should be returned. The list request must be otherwise identical to the one that resulted in this token.", +"location": "query", +"type": "string" +}, +"studentId": { +"description": "Restricts returned courses to those having a student with the specified identifier. The identifier can be one of the following: * the numeric identifier for the user * the email address of the user * the string literal `\"me\"`, indicating the requesting user", +"location": "query", +"type": "string" +}, +"teacherId": { +"description": "Restricts returned courses to those having a teacher with the specified identifier. The identifier can be one of the following: * the numeric identifier for the user * the email address of the user * the string literal `\"me\"`, indicating the requesting user", +"location": "query", +"type": "string" +} +}, +"path": "v1/courses", +"response": { +"$ref": "ListCoursesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/classroom.courses", +"https://www.googleapis.com/auth/classroom.courses.readonly" +] +}, +"patch": { +"description": "Updates one or more fields in a course. This method returns the following error codes: * `PERMISSION_DENIED` if the requesting user is not permitted to modify the requested course or for access errors. * `NOT_FOUND` if no course exists with the requested ID. * `INVALID_ARGUMENT` if invalid fields are specified in the update mask or if no update mask is supplied. * `FAILED_PRECONDITION` for the following request errors: * CourseNotModifiable * InactiveCourseOwner * IneligibleOwner * CourseTitleCannotContainUrl", +"flatPath": "v1/courses/{id}", +"httpMethod": "PATCH", +"id": "classroom.courses.patch", +"parameterOrder": [ +"id" +], +"parameters": { +"id": { +"description": "Identifier of the course to update. This identifier can be either the Classroom-assigned identifier or an alias.", +"location": "path", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Mask that identifies which fields on the course to update. This field is required to do an update. The update will fail if invalid fields are specified. The following fields are valid: * `courseState` * `description` * `descriptionHeading` * `name` * `ownerId` * `room` * `section` * `subject` Note: patches to ownerId are treated as being effective immediately, but in practice it may take some time for the ownership transfer of all affected resources to complete. When set in a query parameter, this field should be specified as `updateMask=,,...`", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/courses/{id}", +"request": { +"$ref": "Course" +}, +"response": { +"$ref": "Course" +}, +"scopes": [ +"https://www.googleapis.com/auth/classroom.courses" +] +}, +"update": { +"description": "Updates a course. This method returns the following error codes: * `PERMISSION_DENIED` if the requesting user is not permitted to modify the requested course or for access errors. * `NOT_FOUND` if no course exists with the requested ID. * `FAILED_PRECONDITION` for the following request errors: * CourseNotModifiable * CourseTitleCannotContainUrl", +"flatPath": "v1/courses/{id}", +"httpMethod": "PUT", +"id": "classroom.courses.update", +"parameterOrder": [ +"id" +], +"parameters": { +"id": { +"description": "Identifier of the course to update. This identifier can be either the Classroom-assigned identifier or an alias.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v1/courses/{id}", +"request": { +"$ref": "Course" +}, +"response": { +"$ref": "Course" +}, +"scopes": [ +"https://www.googleapis.com/auth/classroom.courses" +] +}, +"updateGradingPeriodSettings": { +"description": "Updates grading period settings of a course. Individual grading periods can be added, removed, or modified using this method. The requesting user and course owner must be eligible to modify Grading Periods. For details, see [licensing requirements](https://developers.google.com/workspace/classroom/grading-periods/manage-grading-periods#licensing_requirements). This method returns the following error codes: * `PERMISSION_DENIED` if the requesting user is not permitted to modify the grading period settings in a course or for access errors: * UserIneligibleToUpdateGradingPeriodSettings * `INVALID_ARGUMENT` if the request is malformed. * `NOT_FOUND` if the requested course does not exist.", +"flatPath": "v1/courses/{courseId}/gradingPeriodSettings", +"httpMethod": "PATCH", +"id": "classroom.courses.updateGradingPeriodSettings", +"parameterOrder": [ +"courseId" +], +"parameters": { +"courseId": { +"description": "Required. The identifier of the course.", +"location": "path", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Mask that identifies which fields in the GradingPeriodSettings to update. The GradingPeriodSettings `grading_periods` list will be fully replaced by the grading periods specified in the update request. For example: * Grading periods included in the list without an ID are considered additions, and a new ID will be assigned when the request is made. * Grading periods that currently exist, but are missing from the request will be considered deletions. * Grading periods with an existing ID and modified data are considered edits. Unmodified data will be left as is. * Grading periods included with an unknown ID will result in an error. The following fields may be specified: * `grading_periods` * `apply_to_existing_coursework`", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/courses/{courseId}/gradingPeriodSettings", +"request": { +"$ref": "GradingPeriodSettings" +}, +"response": { +"$ref": "GradingPeriodSettings" +}, +"scopes": [ +"https://www.googleapis.com/auth/classroom.courses" +] +} +}, +"resources": { +"aliases": { +"methods": { +"create": { +"description": "Creates an alias for a course. This method returns the following error codes: * `PERMISSION_DENIED` if the requesting user is not permitted to create the alias or for access errors. * `NOT_FOUND` if the course does not exist. * `ALREADY_EXISTS` if the alias already exists. * `FAILED_PRECONDITION` if the alias requested does not make sense for the requesting user or course (for example, if a user not in a domain attempts to access a domain-scoped alias).", +"flatPath": "v1/courses/{courseId}/aliases", +"httpMethod": "POST", +"id": "classroom.courses.aliases.create", +"parameterOrder": [ +"courseId" +], +"parameters": { +"courseId": { +"description": "Identifier of the course to alias. This identifier can be either the Classroom-assigned identifier or an alias.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v1/courses/{courseId}/aliases", +"request": { +"$ref": "CourseAlias" +}, +"response": { +"$ref": "CourseAlias" +}, +"scopes": [ +"https://www.googleapis.com/auth/classroom.courses" +] +}, +"delete": { +"description": "Deletes an alias of a course. This method returns the following error codes: * `PERMISSION_DENIED` if the requesting user is not permitted to remove the alias or for access errors. * `NOT_FOUND` if the alias does not exist. * `FAILED_PRECONDITION` if the alias requested does not make sense for the requesting user or course (for example, if a user not in a domain attempts to delete a domain-scoped alias).", +"flatPath": "v1/courses/{courseId}/aliases/{alias}", +"httpMethod": "DELETE", +"id": "classroom.courses.aliases.delete", +"parameterOrder": [ +"courseId", +"alias" +], +"parameters": { +"alias": { +"description": "Alias to delete. This may not be the Classroom-assigned identifier.", +"location": "path", +"required": true, +"type": "string" +}, +"courseId": { +"description": "Identifier of the course whose alias should be deleted. This identifier can be either the Classroom-assigned identifier or an alias.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v1/courses/{courseId}/aliases/{alias}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/classroom.courses" +] +}, +"list": { +"description": "Returns a list of aliases for a course. This method returns the following error codes: * `PERMISSION_DENIED` if the requesting user is not permitted to access the course or for access errors. * `NOT_FOUND` if the course does not exist.", +"flatPath": "v1/courses/{courseId}/aliases", +"httpMethod": "GET", +"id": "classroom.courses.aliases.list", +"parameterOrder": [ +"courseId" +], +"parameters": { +"courseId": { +"description": "The identifier of the course. This identifier can be either the Classroom-assigned identifier or an alias.", +"location": "path", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "Maximum number of items to return. Zero or unspecified indicates that the server may assign a maximum. The server may return fewer than the specified number of results.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "nextPageToken value returned from a previous list call, indicating that the subsequent page of results should be returned. The list request must be otherwise identical to the one that resulted in this token.", +"location": "query", +"type": "string" +} +}, +"path": "v1/courses/{courseId}/aliases", +"response": { +"$ref": "ListCourseAliasesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/classroom.courses", +"https://www.googleapis.com/auth/classroom.courses.readonly" +] +} +} +}, +"announcements": { +"methods": { +"create": { +"description": "Creates an announcement. This method returns the following error codes: * `PERMISSION_DENIED` if the requesting user is not permitted to access the requested course, create announcements in the requested course, share a Drive attachment, or for access errors. * `INVALID_ARGUMENT` if the request is malformed. * `NOT_FOUND` if the requested course does not exist. * `FAILED_PRECONDITION` for the following request error: * AttachmentNotVisible", +"flatPath": "v1/courses/{courseId}/announcements", +"httpMethod": "POST", +"id": "classroom.courses.announcements.create", +"parameterOrder": [ +"courseId" +], +"parameters": { +"courseId": { +"description": "Identifier of the course. This identifier can be either the Classroom-assigned identifier or an alias.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v1/courses/{courseId}/announcements", +"request": { +"$ref": "Announcement" +}, +"response": { +"$ref": "Announcement" +}, +"scopes": [ +"https://www.googleapis.com/auth/classroom.announcements" +] +}, +"delete": { +"description": "Deletes an announcement. This request must be made by the Developer Console project of the [OAuth client ID](https://support.google.com/cloud/answer/6158849) used to create the corresponding announcement item. This method returns the following error codes: * `PERMISSION_DENIED` if the requesting developer project did not create the corresponding announcement, if the requesting user is not permitted to delete the requested course or for access errors. * `FAILED_PRECONDITION` if the requested announcement has already been deleted. * `NOT_FOUND` if no course exists with the requested ID.", +"flatPath": "v1/courses/{courseId}/announcements/{id}", +"httpMethod": "DELETE", +"id": "classroom.courses.announcements.delete", +"parameterOrder": [ +"courseId", +"id" +], +"parameters": { +"courseId": { +"description": "Identifier of the course. This identifier can be either the Classroom-assigned identifier or an alias.", +"location": "path", +"required": true, +"type": "string" +}, +"id": { +"description": "Identifier of the announcement to delete. This identifier is a Classroom-assigned identifier.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v1/courses/{courseId}/announcements/{id}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/classroom.announcements" +] +}, +"get": { +"description": "Returns an announcement. This method returns the following error codes: * `PERMISSION_DENIED` if the requesting user is not permitted to access the requested course or announcement, or for access errors. * `INVALID_ARGUMENT` if the request is malformed. * `NOT_FOUND` if the requested course or announcement does not exist.", +"flatPath": "v1/courses/{courseId}/announcements/{id}", +"httpMethod": "GET", +"id": "classroom.courses.announcements.get", +"parameterOrder": [ +"courseId", +"id" +], +"parameters": { +"courseId": { +"description": "Identifier of the course. This identifier can be either the Classroom-assigned identifier or an alias.", +"location": "path", +"required": true, +"type": "string" +}, +"id": { +"description": "Identifier of the announcement.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v1/courses/{courseId}/announcements/{id}", +"response": { +"$ref": "Announcement" +}, +"scopes": [ +"https://www.googleapis.com/auth/classroom.announcements", +"https://www.googleapis.com/auth/classroom.announcements.readonly" +] +}, +"getAddOnContext": { +"description": "Gets metadata for Classroom add-ons in the context of a specific post. To maintain the integrity of its own data and permissions model, an add-on should call this to validate query parameters and the requesting user's role whenever the add-on is opened in an [iframe](https://developers.google.com/workspace/classroom/add-ons/get-started/iframes/iframes-overview). This method returns the following error codes: * `PERMISSION_DENIED` for access errors. * `INVALID_ARGUMENT` if the request is malformed. * `NOT_FOUND` if one of the identified resources does not exist.", +"flatPath": "v1/courses/{courseId}/announcements/{itemId}/addOnContext", +"httpMethod": "GET", +"id": "classroom.courses.announcements.getAddOnContext", +"parameterOrder": [ +"courseId", +"itemId" +], +"parameters": { +"addOnToken": { +"description": "Optional. Token that authorizes the request. The token is passed as a query parameter when the user is redirected from Classroom to the add-on's URL. The authorization token is required when neither of the following is true: * The add-on has attachments on the post. * The developer project issuing the request is the same project that created the post.", +"location": "query", +"type": "string" +}, +"attachmentId": { +"description": "Optional. The identifier of the attachment. This field is required for all requests except when the user is in the [Attachment Discovery iframe](https://developers.google.com/workspace/classroom/add-ons/get-started/iframes/attachment-discovery-iframe).", +"location": "query", +"type": "string" +}, +"courseId": { +"description": "Required. Identifier of the course.", +"location": "path", +"required": true, +"type": "string" +}, +"itemId": { +"description": "Identifier of the `Announcement`, `CourseWork`, or `CourseWorkMaterial` under which the attachment is attached. This field is required, but is not marked as such while we are migrating from post_id.", +"location": "path", +"required": true, +"type": "string" +}, +"postId": { +"deprecated": true, +"description": "Optional. Deprecated, use `item_id` instead.", +"location": "query", +"type": "string" +} +}, +"path": "v1/courses/{courseId}/announcements/{itemId}/addOnContext", +"response": { +"$ref": "AddOnContext" +}, +"scopes": [ +"https://www.googleapis.com/auth/classroom.addons.student", +"https://www.googleapis.com/auth/classroom.addons.teacher" +] +}, +"list": { +"description": "Returns a list of announcements that the requester is permitted to view. Course students may only view `PUBLISHED` announcements. Course teachers and domain administrators may view all announcements. This method returns the following error codes: * `PERMISSION_DENIED` if the requesting user is not permitted to access the requested course or for access errors. * `INVALID_ARGUMENT` if the request is malformed. * `NOT_FOUND` if the requested course does not exist.", +"flatPath": "v1/courses/{courseId}/announcements", +"httpMethod": "GET", +"id": "classroom.courses.announcements.list", +"parameterOrder": [ +"courseId" +], +"parameters": { +"announcementStates": { +"description": "Restriction on the `state` of announcements returned. If this argument is left unspecified, the default value is `PUBLISHED`.", +"enum": [ +"ANNOUNCEMENT_STATE_UNSPECIFIED", +"PUBLISHED", +"DRAFT", +"DELETED" +], +"enumDescriptions": [ +"No state specified. This is never returned.", +"Status for announcement that has been published. This is the default state.", +"Status for an announcement that is not yet published. Announcement in this state is visible only to course teachers and domain administrators.", +"Status for announcement that was published but is now deleted. Announcement in this state is visible only to course teachers and domain administrators. Announcement in this state is deleted after some time." +], +"location": "query", +"repeated": true, +"type": "string" +}, +"courseId": { +"description": "Identifier of the course. This identifier can be either the Classroom-assigned identifier or an alias.", +"location": "path", +"required": true, +"type": "string" +}, +"orderBy": { +"description": "Optional sort ordering for results. A comma-separated list of fields with an optional sort direction keyword. Supported field is `updateTime`. Supported direction keywords are `asc` and `desc`. If not specified, `updateTime desc` is the default behavior. Examples: `updateTime asc`, `updateTime`", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Maximum number of items to return. Zero or unspecified indicates that the server may assign a maximum. The server may return fewer than the specified number of results.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "nextPageToken value returned from a previous list call, indicating that the subsequent page of results should be returned. The list request must be otherwise identical to the one that resulted in this token.", +"location": "query", +"type": "string" +} +}, +"path": "v1/courses/{courseId}/announcements", +"response": { +"$ref": "ListAnnouncementsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/classroom.announcements", +"https://www.googleapis.com/auth/classroom.announcements.readonly" +] +}, +"modifyAssignees": { +"description": "Modifies assignee mode and options of an announcement. Only a teacher of the course that contains the announcement may call this method. This method returns the following error codes: * `PERMISSION_DENIED` if the requesting user is not permitted to access the requested course or course work or for access errors. * `INVALID_ARGUMENT` if the request is malformed. * `NOT_FOUND` if the requested course or course work does not exist. * `FAILED_PRECONDITION` for the following request error: * EmptyAssignees", +"flatPath": "v1/courses/{courseId}/announcements/{id}:modifyAssignees", +"httpMethod": "POST", +"id": "classroom.courses.announcements.modifyAssignees", +"parameterOrder": [ +"courseId", +"id" +], +"parameters": { +"courseId": { +"description": "Identifier of the course. This identifier can be either the Classroom-assigned identifier or an alias.", +"location": "path", +"required": true, +"type": "string" +}, +"id": { +"description": "Identifier of the announcement.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v1/courses/{courseId}/announcements/{id}:modifyAssignees", +"request": { +"$ref": "ModifyAnnouncementAssigneesRequest" +}, +"response": { +"$ref": "Announcement" +}, +"scopes": [ +"https://www.googleapis.com/auth/classroom.announcements" +] +}, +"patch": { +"description": "Updates one or more fields of an announcement. This method returns the following error codes: * `PERMISSION_DENIED` if the requesting developer project did not create the corresponding announcement or for access errors. * `INVALID_ARGUMENT` if the request is malformed. * `FAILED_PRECONDITION` if the requested announcement has already been deleted. * `NOT_FOUND` if the requested course or announcement does not exist", +"flatPath": "v1/courses/{courseId}/announcements/{id}", +"httpMethod": "PATCH", +"id": "classroom.courses.announcements.patch", +"parameterOrder": [ +"courseId", +"id" +], +"parameters": { +"courseId": { +"description": "Identifier of the course. This identifier can be either the Classroom-assigned identifier or an alias.", +"location": "path", +"required": true, +"type": "string" +}, +"id": { +"description": "Identifier of the announcement.", +"location": "path", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Mask that identifies which fields on the announcement to update. This field is required to do an update. The update fails if invalid fields are specified. If a field supports empty values, it can be cleared by specifying it in the update mask and not in the Announcement object. If a field that does not support empty values is included in the update mask and not set in the Announcement object, an `INVALID_ARGUMENT` error is returned. The following fields may be specified by teachers: * `text` * `state` * `scheduled_time`", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/courses/{courseId}/announcements/{id}", +"request": { +"$ref": "Announcement" +}, +"response": { +"$ref": "Announcement" +}, +"scopes": [ +"https://www.googleapis.com/auth/classroom.announcements" +] +} +}, +"resources": { +"addOnAttachments": { +"methods": { +"create": { +"description": "Creates an add-on attachment under a post. Requires the add-on to have permission to create new attachments on the post. This method returns the following error codes: * `PERMISSION_DENIED` for access errors. * `INVALID_ARGUMENT` if the request is malformed. * `NOT_FOUND` if one of the identified resources does not exist.", +"flatPath": "v1/courses/{courseId}/announcements/{itemId}/addOnAttachments", +"httpMethod": "POST", +"id": "classroom.courses.announcements.addOnAttachments.create", +"parameterOrder": [ +"courseId", +"itemId" +], +"parameters": { +"addOnToken": { +"description": "Optional. Token that authorizes the request. The token is passed as a query parameter when the user is redirected from Classroom to the add-on's URL. This authorization token is required for in-Classroom attachment creation but optional for partner-first attachment creation. Returns an error if not provided for partner-first attachment creation and the developer projects that created the attachment and its parent stream item do not match.", +"location": "query", +"type": "string" +}, +"courseId": { +"description": "Required. Identifier of the course.", +"location": "path", +"required": true, +"type": "string" +}, +"itemId": { +"description": "Identifier of the `Announcement`, `CourseWork`, or `CourseWorkMaterial` under which to create the attachment. This field is required, but is not marked as such while we are migrating from post_id.", +"location": "path", +"required": true, +"type": "string" +}, +"postId": { +"deprecated": true, +"description": "Optional. Deprecated, use `item_id` instead.", +"location": "query", +"type": "string" +} +}, +"path": "v1/courses/{courseId}/announcements/{itemId}/addOnAttachments", +"request": { +"$ref": "AddOnAttachment" +}, +"response": { +"$ref": "AddOnAttachment" +}, +"scopes": [ +"https://www.googleapis.com/auth/classroom.addons.teacher" +] +}, +"delete": { +"description": "Deletes an add-on attachment. Requires the add-on to have been the original creator of the attachment. This method returns the following error codes: * `PERMISSION_DENIED` for access errors. * `INVALID_ARGUMENT` if the request is malformed. * `NOT_FOUND` if one of the identified resources does not exist.", +"flatPath": "v1/courses/{courseId}/announcements/{itemId}/addOnAttachments/{attachmentId}", +"httpMethod": "DELETE", +"id": "classroom.courses.announcements.addOnAttachments.delete", +"parameterOrder": [ +"courseId", +"itemId", +"attachmentId" +], +"parameters": { +"attachmentId": { +"description": "Required. Identifier of the attachment.", +"location": "path", +"required": true, +"type": "string" +}, +"courseId": { +"description": "Required. Identifier of the course.", +"location": "path", +"required": true, +"type": "string" +}, +"itemId": { +"description": "Identifier of the `Announcement`, `CourseWork`, or `CourseWorkMaterial` under which the attachment is attached. This field is required, but is not marked as such while we are migrating from post_id.", +"location": "path", +"required": true, +"type": "string" +}, +"postId": { +"deprecated": true, +"description": "Optional. Deprecated, use `item_id` instead.", +"location": "query", +"type": "string" +} +}, +"path": "v1/courses/{courseId}/announcements/{itemId}/addOnAttachments/{attachmentId}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/classroom.addons.teacher" +] +}, +"get": { +"description": "Returns an add-on attachment. Requires the add-on requesting the attachment to be the original creator of the attachment. This method returns the following error codes: * `PERMISSION_DENIED` for access errors. * `INVALID_ARGUMENT` if the request is malformed. * `NOT_FOUND` if one of the identified resources does not exist.", +"flatPath": "v1/courses/{courseId}/announcements/{itemId}/addOnAttachments/{attachmentId}", +"httpMethod": "GET", +"id": "classroom.courses.announcements.addOnAttachments.get", +"parameterOrder": [ +"courseId", +"itemId", +"attachmentId" +], +"parameters": { +"attachmentId": { +"description": "Required. Identifier of the attachment.", +"location": "path", +"required": true, +"type": "string" +}, +"courseId": { +"description": "Required. Identifier of the course.", +"location": "path", +"required": true, +"type": "string" +}, +"itemId": { +"description": "Identifier of the `Announcement`, `CourseWork`, or `CourseWorkMaterial` under which the attachment is attached. This field is required, but is not marked as such while we are migrating from post_id.", +"location": "path", +"required": true, +"type": "string" +}, +"postId": { +"deprecated": true, +"description": "Optional. Deprecated, use `item_id` instead.", +"location": "query", +"type": "string" +} +}, +"path": "v1/courses/{courseId}/announcements/{itemId}/addOnAttachments/{attachmentId}", +"response": { +"$ref": "AddOnAttachment" +}, +"scopes": [ +"https://www.googleapis.com/auth/classroom.addons.student", +"https://www.googleapis.com/auth/classroom.addons.teacher" +] +}, +"list": { +"description": "Returns all attachments created by an add-on under the post. Requires the add-on to have active attachments on the post or have permission to create new attachments on the post. This method returns the following error codes: * `PERMISSION_DENIED` for access errors. * `INVALID_ARGUMENT` if the request is malformed. * `NOT_FOUND` if one of the identified resources does not exist.", +"flatPath": "v1/courses/{courseId}/announcements/{itemId}/addOnAttachments", +"httpMethod": "GET", +"id": "classroom.courses.announcements.addOnAttachments.list", +"parameterOrder": [ +"courseId", +"itemId" +], +"parameters": { +"courseId": { +"description": "Required. Identifier of the course.", +"location": "path", +"required": true, +"type": "string" +}, +"itemId": { +"description": "Identifier of the `Announcement`, `CourseWork`, or `CourseWorkMaterial` whose attachments should be enumerated. This field is required, but is not marked as such while we are migrating from post_id.", +"location": "path", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The maximum number of attachments to return. The service may return fewer than this value. If unspecified, at most 20 attachments will be returned. The maximum value is 20; values above 20 will be coerced to 20.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A page token, received from a previous `ListAddOnAttachments` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListAddOnAttachments` must match the call that provided the page token.", +"location": "query", +"type": "string" +}, +"postId": { +"deprecated": true, +"description": "Optional. Identifier of the post under the course whose attachments to enumerate. Deprecated, use `item_id` instead.", +"location": "query", +"type": "string" +} +}, +"path": "v1/courses/{courseId}/announcements/{itemId}/addOnAttachments", +"response": { +"$ref": "ListAddOnAttachmentsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/classroom.addons.student", +"https://www.googleapis.com/auth/classroom.addons.teacher" +] +}, +"patch": { +"description": "Updates an add-on attachment. Requires the add-on to have been the original creator of the attachment. This method returns the following error codes: * `PERMISSION_DENIED` for access errors. * `INVALID_ARGUMENT` if the request is malformed. * `NOT_FOUND` if one of the identified resources does not exist.", +"flatPath": "v1/courses/{courseId}/announcements/{itemId}/addOnAttachments/{attachmentId}", +"httpMethod": "PATCH", +"id": "classroom.courses.announcements.addOnAttachments.patch", +"parameterOrder": [ +"courseId", +"itemId", +"attachmentId" +], +"parameters": { +"attachmentId": { +"description": "Required. Identifier of the attachment.", +"location": "path", +"required": true, +"type": "string" +}, +"courseId": { +"description": "Required. Identifier of the course.", +"location": "path", +"required": true, +"type": "string" +}, +"itemId": { +"description": "Identifier of the post under which the attachment is attached.", +"location": "path", +"required": true, +"type": "string" +}, +"postId": { +"description": "Required. Identifier of the post under which the attachment is attached.", +"location": "query", +"type": "string" +}, +"updateMask": { +"description": "Required. Mask that identifies which fields on the attachment to update. The update fails if invalid fields are specified. If a field supports empty values, it can be cleared by specifying it in the update mask and not in the `AddOnAttachment` object. If a field that does not support empty values is included in the update mask and not set in the `AddOnAttachment` object, an `INVALID_ARGUMENT` error is returned. The following fields may be specified by teachers: * `title` * `teacher_view_uri` * `student_view_uri` * `student_work_review_uri` * `due_date` * `due_time` * `max_points`", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/courses/{courseId}/announcements/{itemId}/addOnAttachments/{attachmentId}", +"request": { +"$ref": "AddOnAttachment" +}, +"response": { +"$ref": "AddOnAttachment" +}, +"scopes": [ +"https://www.googleapis.com/auth/classroom.addons.teacher" +] +} +} +} +} +}, +"courseWork": { +"methods": { +"create": { +"description": "Creates course work. The resulting course work (and corresponding student submissions) are associated with the Developer Console project of the [OAuth client ID](https://support.google.com/cloud/answer/6158849) used to make the request. Classroom API requests to modify course work and student submissions must be made with an OAuth client ID from the associated Developer Console project. This method returns the following error codes: * `PERMISSION_DENIED` if the requesting user is not permitted to access the requested course, create course work in the requested course, share a Drive attachment, or for access errors. * `INVALID_ARGUMENT` if the request is malformed. * `NOT_FOUND` if the requested course does not exist. * `FAILED_PRECONDITION` for the following request error: * AttachmentNotVisible", +"flatPath": "v1/courses/{courseId}/courseWork", +"httpMethod": "POST", +"id": "classroom.courses.courseWork.create", +"parameterOrder": [ +"courseId" +], +"parameters": { +"courseId": { +"description": "Identifier of the course. This identifier can be either the Classroom-assigned identifier or an alias.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v1/courses/{courseId}/courseWork", +"request": { +"$ref": "CourseWork" +}, +"response": { +"$ref": "CourseWork" +}, +"scopes": [ +"https://www.googleapis.com/auth/classroom.coursework.students" +] +}, +"delete": { +"description": "Deletes a course work. This request must be made by the Developer Console project of the [OAuth client ID](https://support.google.com/cloud/answer/6158849) used to create the corresponding course work item. This method returns the following error codes: * `PERMISSION_DENIED` if the requesting developer project did not create the corresponding course work, if the requesting user is not permitted to delete the requested course or for access errors. * `FAILED_PRECONDITION` if the requested course work has already been deleted. * `NOT_FOUND` if no course exists with the requested ID.", +"flatPath": "v1/courses/{courseId}/courseWork/{id}", +"httpMethod": "DELETE", +"id": "classroom.courses.courseWork.delete", +"parameterOrder": [ +"courseId", +"id" +], +"parameters": { +"courseId": { +"description": "Identifier of the course. This identifier can be either the Classroom-assigned identifier or an alias.", +"location": "path", +"required": true, +"type": "string" +}, +"id": { +"description": "Identifier of the course work to delete. This identifier is a Classroom-assigned identifier.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v1/courses/{courseId}/courseWork/{id}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/classroom.coursework.students" +] +}, +"get": { +"description": "Returns course work. This method returns the following error codes: * `PERMISSION_DENIED` if the requesting user is not permitted to access the requested course or course work, or for access errors. * `INVALID_ARGUMENT` if the request is malformed. * `NOT_FOUND` if the requested course or course work does not exist.", +"flatPath": "v1/courses/{courseId}/courseWork/{id}", +"httpMethod": "GET", +"id": "classroom.courses.courseWork.get", +"parameterOrder": [ +"courseId", +"id" +], +"parameters": { +"courseId": { +"description": "Identifier of the course. This identifier can be either the Classroom-assigned identifier or an alias.", +"location": "path", +"required": true, +"type": "string" +}, +"id": { +"description": "Identifier of the course work.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v1/courses/{courseId}/courseWork/{id}", +"response": { +"$ref": "CourseWork" +}, +"scopes": [ +"https://www.googleapis.com/auth/classroom.coursework.me", +"https://www.googleapis.com/auth/classroom.coursework.me.readonly", +"https://www.googleapis.com/auth/classroom.coursework.students", +"https://www.googleapis.com/auth/classroom.coursework.students.readonly" +] +}, +"getAddOnContext": { +"description": "Gets metadata for Classroom add-ons in the context of a specific post. To maintain the integrity of its own data and permissions model, an add-on should call this to validate query parameters and the requesting user's role whenever the add-on is opened in an [iframe](https://developers.google.com/workspace/classroom/add-ons/get-started/iframes/iframes-overview). This method returns the following error codes: * `PERMISSION_DENIED` for access errors. * `INVALID_ARGUMENT` if the request is malformed. * `NOT_FOUND` if one of the identified resources does not exist.", +"flatPath": "v1/courses/{courseId}/courseWork/{itemId}/addOnContext", +"httpMethod": "GET", +"id": "classroom.courses.courseWork.getAddOnContext", +"parameterOrder": [ +"courseId", +"itemId" +], +"parameters": { +"addOnToken": { +"description": "Optional. Token that authorizes the request. The token is passed as a query parameter when the user is redirected from Classroom to the add-on's URL. The authorization token is required when neither of the following is true: * The add-on has attachments on the post. * The developer project issuing the request is the same project that created the post.", +"location": "query", +"type": "string" +}, +"attachmentId": { +"description": "Optional. The identifier of the attachment. This field is required for all requests except when the user is in the [Attachment Discovery iframe](https://developers.google.com/workspace/classroom/add-ons/get-started/iframes/attachment-discovery-iframe).", +"location": "query", +"type": "string" +}, +"courseId": { +"description": "Required. Identifier of the course.", +"location": "path", +"required": true, +"type": "string" +}, +"itemId": { +"description": "Identifier of the `Announcement`, `CourseWork`, or `CourseWorkMaterial` under which the attachment is attached. This field is required, but is not marked as such while we are migrating from post_id.", +"location": "path", +"required": true, +"type": "string" +}, +"postId": { +"deprecated": true, +"description": "Optional. Deprecated, use `item_id` instead.", +"location": "query", +"type": "string" +} +}, +"path": "v1/courses/{courseId}/courseWork/{itemId}/addOnContext", +"response": { +"$ref": "AddOnContext" +}, +"scopes": [ +"https://www.googleapis.com/auth/classroom.addons.student", +"https://www.googleapis.com/auth/classroom.addons.teacher" +] +}, +"list": { +"description": "Returns a list of course work that the requester is permitted to view. Course students may only view `PUBLISHED` course work. Course teachers and domain administrators may view all course work. This method returns the following error codes: * `PERMISSION_DENIED` if the requesting user is not permitted to access the requested course or for access errors. * `INVALID_ARGUMENT` if the request is malformed. * `NOT_FOUND` if the requested course does not exist.", +"flatPath": "v1/courses/{courseId}/courseWork", +"httpMethod": "GET", +"id": "classroom.courses.courseWork.list", +"parameterOrder": [ +"courseId" +], +"parameters": { +"courseId": { +"description": "Identifier of the course. This identifier can be either the Classroom-assigned identifier or an alias.", +"location": "path", +"required": true, +"type": "string" +}, +"courseWorkStates": { +"description": "Restriction on the work status to return. Only courseWork that matches is returned. If unspecified, items with a work status of `PUBLISHED` is returned.", +"enum": [ +"COURSE_WORK_STATE_UNSPECIFIED", +"PUBLISHED", +"DRAFT", +"DELETED" +], +"enumDescriptions": [ +"No state specified. This is never returned.", +"Status for work that has been published. This is the default state.", +"Status for work that is not yet published. Work in this state is visible only to course teachers and domain administrators.", +"Status for work that was published but is now deleted. Work in this state is visible only to course teachers and domain administrators. Work in this state is deleted after some time." +], +"location": "query", +"repeated": true, +"type": "string" +}, +"orderBy": { +"description": "Optional sort ordering for results. A comma-separated list of fields with an optional sort direction keyword. Supported fields are `updateTime` and `dueDate`. Supported direction keywords are `asc` and `desc`. If not specified, `updateTime desc` is the default behavior. Examples: `dueDate asc,updateTime desc`, `updateTime,dueDate desc`", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Maximum number of items to return. Zero or unspecified indicates that the server may assign a maximum. The server may return fewer than the specified number of results.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "nextPageToken value returned from a previous list call, indicating that the subsequent page of results should be returned. The list request must be otherwise identical to the one that resulted in this token.", +"location": "query", +"type": "string" +} +}, +"path": "v1/courses/{courseId}/courseWork", +"response": { +"$ref": "ListCourseWorkResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/classroom.coursework.me", +"https://www.googleapis.com/auth/classroom.coursework.me.readonly", +"https://www.googleapis.com/auth/classroom.coursework.students", +"https://www.googleapis.com/auth/classroom.coursework.students.readonly" +] +}, +"modifyAssignees": { +"description": "Modifies assignee mode and options of a coursework. Only a teacher of the course that contains the coursework may call this method. This method returns the following error codes: * `PERMISSION_DENIED` if the requesting user is not permitted to access the requested course or course work or for access errors. * `INVALID_ARGUMENT` if the request is malformed. * `NOT_FOUND` if the requested course or course work does not exist. * `FAILED_PRECONDITION` for the following request error: * EmptyAssignees", +"flatPath": "v1/courses/{courseId}/courseWork/{id}:modifyAssignees", +"httpMethod": "POST", +"id": "classroom.courses.courseWork.modifyAssignees", +"parameterOrder": [ +"courseId", +"id" +], +"parameters": { +"courseId": { +"description": "Identifier of the course. This identifier can be either the Classroom-assigned identifier or an alias.", +"location": "path", +"required": true, +"type": "string" +}, +"id": { +"description": "Identifier of the coursework.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v1/courses/{courseId}/courseWork/{id}:modifyAssignees", +"request": { +"$ref": "ModifyCourseWorkAssigneesRequest" +}, +"response": { +"$ref": "CourseWork" +}, +"scopes": [ +"https://www.googleapis.com/auth/classroom.coursework.students" +] +}, +"patch": { +"description": "Updates one or more fields of a course work. See google.classroom.v1.CourseWork for details of which fields may be updated and who may change them. This request must be made by the Developer Console project of the [OAuth client ID](https://support.google.com/cloud/answer/6158849) used to create the corresponding course work item. This method returns the following error codes: * `PERMISSION_DENIED` if the requesting developer project did not create the corresponding course work, if the user is not permitted to make the requested modification to the student submission, or for access errors. * `INVALID_ARGUMENT` if the request is malformed. * `FAILED_PRECONDITION` if the requested course work has already been deleted. * `NOT_FOUND` if the requested course or course work does not exist.", +"flatPath": "v1/courses/{courseId}/courseWork/{id}", +"httpMethod": "PATCH", +"id": "classroom.courses.courseWork.patch", +"parameterOrder": [ +"courseId", +"id" +], +"parameters": { +"courseId": { +"description": "Identifier of the course. This identifier can be either the Classroom-assigned identifier or an alias.", +"location": "path", +"required": true, +"type": "string" +}, +"id": { +"description": "Identifier of the course work.", +"location": "path", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Mask that identifies which fields on the course work to update. This field is required to do an update. The update fails if invalid fields are specified. If a field supports empty values, it can be cleared by specifying it in the update mask and not in the `CourseWork` object. If a field that does not support empty values is included in the update mask and not set in the `CourseWork` object, an `INVALID_ARGUMENT` error is returned. The following fields may be specified by teachers: * `title` * `description` * `state` * `due_date` * `due_time` * `max_points` * `scheduled_time` * `submission_modification_mode` * `topic_id` * `grading_period_id`", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/courses/{courseId}/courseWork/{id}", +"request": { +"$ref": "CourseWork" +}, +"response": { +"$ref": "CourseWork" +}, +"scopes": [ +"https://www.googleapis.com/auth/classroom.coursework.students" +] +}, +"updateRubric": { +"description": "Updates a rubric. See google.classroom.v1.Rubric for details of which fields can be updated. Rubric update capabilities are [limited](/classroom/rubrics/limitations) once grading has started. The requesting user and course owner must have rubrics creation capabilities. For details, see [licensing requirements](https://developers.google.com/workspace/classroom/rubrics/limitations#license-requirements). This request must be made by the Google Cloud console of the [OAuth client ID](https://support.google.com/cloud/answer/6158849) used to create the parent course work item. This method returns the following error codes: * `PERMISSION_DENIED` if the requesting developer project didn't create the corresponding course work, if the user isn't permitted to make the requested modification to the rubric, or for access errors. This error code is also returned if grading has already started on the rubric. * `INVALID_ARGUMENT` if the request is malformed and for the following request error: * `RubricCriteriaInvalidFormat` * `NOT_FOUND` if the requested course, course work, or rubric doesn't exist or if the user doesn't have access to the corresponding course work. * `INTERNAL` if grading has already started on the rubric.", +"flatPath": "v1/courses/{courseId}/courseWork/{courseWorkId}/rubric", +"httpMethod": "PATCH", +"id": "classroom.courses.courseWork.updateRubric", +"parameterOrder": [ +"courseId", +"courseWorkId" +], +"parameters": { +"courseId": { +"description": "Required. Identifier of the course.", +"location": "path", +"required": true, +"type": "string" +}, +"courseWorkId": { +"description": "Required. Identifier of the course work.", +"location": "path", +"required": true, +"type": "string" +}, +"id": { +"description": "Optional. Identifier of the rubric.", +"location": "query", +"type": "string" +}, +"updateMask": { +"description": "Optional. Mask that identifies which fields on the rubric to update. This field is required to do an update. The update fails if invalid fields are specified. There are multiple options to define the criteria of a rubric: the `source_spreadsheet_id` and the `criteria` list. Only one of these can be used at a time to define a rubric. The rubric `criteria` list is fully replaced by the rubric criteria specified in the update request. For example, if a criterion or level is missing from the request, it is deleted. New criteria and levels are added and an ID is assigned. Existing criteria and levels retain the previously assigned ID if the ID is specified in the request. The following fields can be specified by teachers: * `criteria` * `source_spreadsheet_id`", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/courses/{courseId}/courseWork/{courseWorkId}/rubric", +"request": { +"$ref": "Rubric" +}, +"response": { +"$ref": "Rubric" +}, +"scopes": [ +"https://www.googleapis.com/auth/classroom.coursework.students" +] +} +}, +"resources": { +"addOnAttachments": { +"methods": { +"create": { +"description": "Creates an add-on attachment under a post. Requires the add-on to have permission to create new attachments on the post. This method returns the following error codes: * `PERMISSION_DENIED` for access errors. * `INVALID_ARGUMENT` if the request is malformed. * `NOT_FOUND` if one of the identified resources does not exist.", +"flatPath": "v1/courses/{courseId}/courseWork/{itemId}/addOnAttachments", +"httpMethod": "POST", +"id": "classroom.courses.courseWork.addOnAttachments.create", +"parameterOrder": [ +"courseId", +"itemId" +], +"parameters": { +"addOnToken": { +"description": "Optional. Token that authorizes the request. The token is passed as a query parameter when the user is redirected from Classroom to the add-on's URL. This authorization token is required for in-Classroom attachment creation but optional for partner-first attachment creation. Returns an error if not provided for partner-first attachment creation and the developer projects that created the attachment and its parent stream item do not match.", +"location": "query", +"type": "string" +}, +"courseId": { +"description": "Required. Identifier of the course.", +"location": "path", +"required": true, +"type": "string" +}, +"itemId": { +"description": "Identifier of the `Announcement`, `CourseWork`, or `CourseWorkMaterial` under which to create the attachment. This field is required, but is not marked as such while we are migrating from post_id.", +"location": "path", +"required": true, +"type": "string" +}, +"postId": { +"deprecated": true, +"description": "Optional. Deprecated, use `item_id` instead.", +"location": "query", +"type": "string" +} +}, +"path": "v1/courses/{courseId}/courseWork/{itemId}/addOnAttachments", +"request": { +"$ref": "AddOnAttachment" +}, +"response": { +"$ref": "AddOnAttachment" +}, +"scopes": [ +"https://www.googleapis.com/auth/classroom.addons.teacher" +] +}, +"delete": { +"description": "Deletes an add-on attachment. Requires the add-on to have been the original creator of the attachment. This method returns the following error codes: * `PERMISSION_DENIED` for access errors. * `INVALID_ARGUMENT` if the request is malformed. * `NOT_FOUND` if one of the identified resources does not exist.", +"flatPath": "v1/courses/{courseId}/courseWork/{itemId}/addOnAttachments/{attachmentId}", +"httpMethod": "DELETE", +"id": "classroom.courses.courseWork.addOnAttachments.delete", +"parameterOrder": [ +"courseId", +"itemId", +"attachmentId" +], +"parameters": { +"attachmentId": { +"description": "Required. Identifier of the attachment.", +"location": "path", +"required": true, +"type": "string" +}, +"courseId": { +"description": "Required. Identifier of the course.", +"location": "path", +"required": true, +"type": "string" +}, +"itemId": { +"description": "Identifier of the `Announcement`, `CourseWork`, or `CourseWorkMaterial` under which the attachment is attached. This field is required, but is not marked as such while we are migrating from post_id.", +"location": "path", +"required": true, +"type": "string" +}, +"postId": { +"deprecated": true, +"description": "Optional. Deprecated, use `item_id` instead.", +"location": "query", +"type": "string" +} +}, +"path": "v1/courses/{courseId}/courseWork/{itemId}/addOnAttachments/{attachmentId}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/classroom.addons.teacher" +] +}, +"get": { +"description": "Returns an add-on attachment. Requires the add-on requesting the attachment to be the original creator of the attachment. This method returns the following error codes: * `PERMISSION_DENIED` for access errors. * `INVALID_ARGUMENT` if the request is malformed. * `NOT_FOUND` if one of the identified resources does not exist.", +"flatPath": "v1/courses/{courseId}/courseWork/{itemId}/addOnAttachments/{attachmentId}", +"httpMethod": "GET", +"id": "classroom.courses.courseWork.addOnAttachments.get", +"parameterOrder": [ +"courseId", +"itemId", +"attachmentId" +], +"parameters": { +"attachmentId": { +"description": "Required. Identifier of the attachment.", +"location": "path", +"required": true, +"type": "string" +}, +"courseId": { +"description": "Required. Identifier of the course.", +"location": "path", +"required": true, +"type": "string" +}, +"itemId": { +"description": "Identifier of the `Announcement`, `CourseWork`, or `CourseWorkMaterial` under which the attachment is attached. This field is required, but is not marked as such while we are migrating from post_id.", +"location": "path", +"required": true, +"type": "string" +}, +"postId": { +"deprecated": true, +"description": "Optional. Deprecated, use `item_id` instead.", +"location": "query", +"type": "string" +} +}, +"path": "v1/courses/{courseId}/courseWork/{itemId}/addOnAttachments/{attachmentId}", +"response": { +"$ref": "AddOnAttachment" +}, +"scopes": [ +"https://www.googleapis.com/auth/classroom.addons.student", +"https://www.googleapis.com/auth/classroom.addons.teacher" +] +}, +"list": { +"description": "Returns all attachments created by an add-on under the post. Requires the add-on to have active attachments on the post or have permission to create new attachments on the post. This method returns the following error codes: * `PERMISSION_DENIED` for access errors. * `INVALID_ARGUMENT` if the request is malformed. * `NOT_FOUND` if one of the identified resources does not exist.", +"flatPath": "v1/courses/{courseId}/courseWork/{itemId}/addOnAttachments", +"httpMethod": "GET", +"id": "classroom.courses.courseWork.addOnAttachments.list", +"parameterOrder": [ +"courseId", +"itemId" +], +"parameters": { +"courseId": { +"description": "Required. Identifier of the course.", +"location": "path", +"required": true, +"type": "string" +}, +"itemId": { +"description": "Identifier of the `Announcement`, `CourseWork`, or `CourseWorkMaterial` whose attachments should be enumerated. This field is required, but is not marked as such while we are migrating from post_id.", +"location": "path", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The maximum number of attachments to return. The service may return fewer than this value. If unspecified, at most 20 attachments will be returned. The maximum value is 20; values above 20 will be coerced to 20.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A page token, received from a previous `ListAddOnAttachments` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListAddOnAttachments` must match the call that provided the page token.", +"location": "query", +"type": "string" +}, +"postId": { +"deprecated": true, +"description": "Optional. Identifier of the post under the course whose attachments to enumerate. Deprecated, use `item_id` instead.", +"location": "query", +"type": "string" +} +}, +"path": "v1/courses/{courseId}/courseWork/{itemId}/addOnAttachments", +"response": { +"$ref": "ListAddOnAttachmentsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/classroom.addons.student", +"https://www.googleapis.com/auth/classroom.addons.teacher" +] +}, +"patch": { +"description": "Updates an add-on attachment. Requires the add-on to have been the original creator of the attachment. This method returns the following error codes: * `PERMISSION_DENIED` for access errors. * `INVALID_ARGUMENT` if the request is malformed. * `NOT_FOUND` if one of the identified resources does not exist.", +"flatPath": "v1/courses/{courseId}/courseWork/{itemId}/addOnAttachments/{attachmentId}", +"httpMethod": "PATCH", +"id": "classroom.courses.courseWork.addOnAttachments.patch", +"parameterOrder": [ +"courseId", +"itemId", +"attachmentId" +], +"parameters": { +"attachmentId": { +"description": "Required. Identifier of the attachment.", +"location": "path", +"required": true, +"type": "string" +}, +"courseId": { +"description": "Required. Identifier of the course.", +"location": "path", +"required": true, +"type": "string" +}, +"itemId": { +"description": "Identifier of the post under which the attachment is attached.", +"location": "path", +"required": true, +"type": "string" +}, +"postId": { +"description": "Required. Identifier of the post under which the attachment is attached.", +"location": "query", +"type": "string" +}, +"updateMask": { +"description": "Required. Mask that identifies which fields on the attachment to update. The update fails if invalid fields are specified. If a field supports empty values, it can be cleared by specifying it in the update mask and not in the `AddOnAttachment` object. If a field that does not support empty values is included in the update mask and not set in the `AddOnAttachment` object, an `INVALID_ARGUMENT` error is returned. The following fields may be specified by teachers: * `title` * `teacher_view_uri` * `student_view_uri` * `student_work_review_uri` * `due_date` * `due_time` * `max_points`", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/courses/{courseId}/courseWork/{itemId}/addOnAttachments/{attachmentId}", +"request": { +"$ref": "AddOnAttachment" +}, +"response": { +"$ref": "AddOnAttachment" +}, +"scopes": [ +"https://www.googleapis.com/auth/classroom.addons.teacher" +] +} +}, +"resources": { +"studentSubmissions": { +"methods": { +"get": { +"description": "Returns a student submission for an add-on attachment. This method returns the following error codes: * `PERMISSION_DENIED` for access errors. * `INVALID_ARGUMENT` if the request is malformed. * `NOT_FOUND` if one of the identified resources does not exist.", +"flatPath": "v1/courses/{courseId}/courseWork/{itemId}/addOnAttachments/{attachmentId}/studentSubmissions/{submissionId}", +"httpMethod": "GET", +"id": "classroom.courses.courseWork.addOnAttachments.studentSubmissions.get", +"parameterOrder": [ +"courseId", +"itemId", +"attachmentId", +"submissionId" +], +"parameters": { +"attachmentId": { +"description": "Required. Identifier of the attachment.", +"location": "path", +"required": true, +"type": "string" +}, +"courseId": { +"description": "Required. Identifier of the course.", +"location": "path", +"required": true, +"type": "string" +}, +"itemId": { +"description": "Identifier of the `Announcement`, `CourseWork`, or `CourseWorkMaterial` under which the attachment is attached. This field is required, but is not marked as such while we are migrating from post_id.", +"location": "path", +"required": true, +"type": "string" +}, +"postId": { +"deprecated": true, +"description": "Optional. Deprecated, use `item_id` instead.", +"location": "query", +"type": "string" +}, +"submissionId": { +"description": "Required. Identifier of the student\u2019s submission.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v1/courses/{courseId}/courseWork/{itemId}/addOnAttachments/{attachmentId}/studentSubmissions/{submissionId}", +"response": { +"$ref": "AddOnAttachmentStudentSubmission" +}, +"scopes": [ +"https://www.googleapis.com/auth/classroom.addons.student", +"https://www.googleapis.com/auth/classroom.addons.teacher", +"https://www.googleapis.com/auth/classroom.student-submissions.students.readonly" +] +}, +"patch": { +"description": "Updates data associated with an add-on attachment submission. Requires the add-on to have been the original creator of the attachment and the attachment to have a positive `max_points` value set. This method returns the following error codes: * `PERMISSION_DENIED` for access errors. * `INVALID_ARGUMENT` if the request is malformed. * `NOT_FOUND` if one of the identified resources does not exist.", +"flatPath": "v1/courses/{courseId}/courseWork/{itemId}/addOnAttachments/{attachmentId}/studentSubmissions/{submissionId}", +"httpMethod": "PATCH", +"id": "classroom.courses.courseWork.addOnAttachments.studentSubmissions.patch", +"parameterOrder": [ +"courseId", +"itemId", +"attachmentId", +"submissionId" +], +"parameters": { +"attachmentId": { +"description": "Required. Identifier of the attachment.", +"location": "path", +"required": true, +"type": "string" +}, +"courseId": { +"description": "Required. Identifier of the course.", +"location": "path", +"required": true, +"type": "string" +}, +"itemId": { +"description": "Identifier of the `Announcement`, `CourseWork`, or `CourseWorkMaterial` under which the attachment is attached. This field is required, but is not marked as such while we are migrating from post_id.", +"location": "path", +"required": true, +"type": "string" +}, +"postId": { +"deprecated": true, +"description": "Optional. Deprecated, use `item_id` instead.", +"location": "query", +"type": "string" +}, +"submissionId": { +"description": "Required. Identifier of the student's submission.", +"location": "path", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Required. Mask that identifies which fields on the attachment to update. The update fails if invalid fields are specified. If a field supports empty values, it can be cleared by specifying it in the update mask and not in the `AddOnAttachmentStudentSubmission` object. The following fields may be specified by teachers: * `points_earned`", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/courses/{courseId}/courseWork/{itemId}/addOnAttachments/{attachmentId}/studentSubmissions/{submissionId}", +"request": { +"$ref": "AddOnAttachmentStudentSubmission" +}, +"response": { +"$ref": "AddOnAttachmentStudentSubmission" +}, +"scopes": [ +"https://www.googleapis.com/auth/classroom.addons.teacher" +] +} +} +} +} +}, +"rubrics": { +"methods": { +"create": { +"description": "Creates a rubric. The requesting user and course owner must have rubrics creation capabilities. For details, see [licensing requirements](https://developers.google.com/workspace/classroom/rubrics/limitations#license-requirements). For further details, see [Rubrics structure and known limitations](/classroom/rubrics/limitations). This request must be made by the Google Cloud console of the [OAuth client ID](https://support.google.com/cloud/answer/6158849) used to create the parent course work item. This method returns the following error codes: * `PERMISSION_DENIED` if the requesting user isn't permitted to create rubrics for course work in the requested course. * `INTERNAL` if the request has insufficient OAuth scopes. * `INVALID_ARGUMENT` if the request is malformed and for the following request error: * `RubricCriteriaInvalidFormat` * `NOT_FOUND` if the requested course or course work don't exist or the user doesn't have access to the course or course work. * `FAILED_PRECONDITION` for the following request error: * `AttachmentNotVisible`", +"flatPath": "v1/courses/{courseId}/courseWork/{courseWorkId}/rubrics", +"httpMethod": "POST", +"id": "classroom.courses.courseWork.rubrics.create", +"parameterOrder": [ +"courseId", +"courseWorkId" +], +"parameters": { +"courseId": { +"description": "Required. Identifier of the course.", +"location": "path", +"required": true, +"type": "string" +}, +"courseWorkId": { +"description": "Required. Identifier of the course work.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v1/courses/{courseId}/courseWork/{courseWorkId}/rubrics", +"request": { +"$ref": "Rubric" +}, +"response": { +"$ref": "Rubric" +}, +"scopes": [ +"https://www.googleapis.com/auth/classroom.coursework.students" +] +}, +"delete": { +"description": "Deletes a rubric. The requesting user and course owner must have rubrics creation capabilities. For details, see [licensing requirements](https://developers.google.com/workspace/classroom/rubrics/limitations#license-requirements). This request must be made by the Google Cloud console of the [OAuth client ID](https://support.google.com/cloud/answer/6158849) used to create the corresponding rubric. This method returns the following error codes: * `PERMISSION_DENIED` if the requesting developer project didn't create the corresponding rubric, or if the requesting user isn't permitted to delete the requested rubric. * `NOT_FOUND` if no rubric exists with the requested ID or the user does not have access to the course, course work, or rubric. * `INVALID_ARGUMENT` if grading has already started on the rubric.", +"flatPath": "v1/courses/{courseId}/courseWork/{courseWorkId}/rubrics/{id}", +"httpMethod": "DELETE", +"id": "classroom.courses.courseWork.rubrics.delete", +"parameterOrder": [ +"courseId", +"courseWorkId", +"id" +], +"parameters": { +"courseId": { +"description": "Required. Identifier of the course.", +"location": "path", +"required": true, +"type": "string" +}, +"courseWorkId": { +"description": "Required. Identifier of the course work.", +"location": "path", +"required": true, +"type": "string" +}, +"id": { +"description": "Required. Identifier of the rubric.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v1/courses/{courseId}/courseWork/{courseWorkId}/rubrics/{id}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/classroom.coursework.students" +] +}, +"get": { +"description": "Returns a rubric. This method returns the following error codes: * `PERMISSION_DENIED` for access errors. * `INVALID_ARGUMENT` if the request is malformed. * `NOT_FOUND` if the requested course, course work, or rubric doesn't exist or if the user doesn't have access to the corresponding course work.", +"flatPath": "v1/courses/{courseId}/courseWork/{courseWorkId}/rubrics/{id}", +"httpMethod": "GET", +"id": "classroom.courses.courseWork.rubrics.get", +"parameterOrder": [ +"courseId", +"courseWorkId", +"id" +], +"parameters": { +"courseId": { +"description": "Required. Identifier of the course.", +"location": "path", +"required": true, +"type": "string" +}, +"courseWorkId": { +"description": "Required. Identifier of the course work.", +"location": "path", +"required": true, +"type": "string" +}, +"id": { +"description": "Required. Identifier of the rubric.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v1/courses/{courseId}/courseWork/{courseWorkId}/rubrics/{id}", +"response": { +"$ref": "Rubric" +}, +"scopes": [ +"https://www.googleapis.com/auth/classroom.coursework.me", +"https://www.googleapis.com/auth/classroom.coursework.me.readonly", +"https://www.googleapis.com/auth/classroom.coursework.students", +"https://www.googleapis.com/auth/classroom.coursework.students.readonly" +] +}, +"list": { +"description": "Returns a list of rubrics that the requester is permitted to view. This method returns the following error codes: * `PERMISSION_DENIED` for access errors. * `INVALID_ARGUMENT` if the request is malformed. * `NOT_FOUND` if the requested course or course work doesn't exist or if the user doesn't have access to the corresponding course work.", +"flatPath": "v1/courses/{courseId}/courseWork/{courseWorkId}/rubrics", +"httpMethod": "GET", +"id": "classroom.courses.courseWork.rubrics.list", +"parameterOrder": [ +"courseId", +"courseWorkId" +], +"parameters": { +"courseId": { +"description": "Required. Identifier of the course.", +"location": "path", +"required": true, +"type": "string" +}, +"courseWorkId": { +"description": "Required. Identifier of the course work.", +"location": "path", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The maximum number of rubrics to return. If unspecified, at most 1 rubric is returned. The maximum value is 1; values above 1 are coerced to 1.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "nextPageToken value returned from a previous list call, indicating that the subsequent page of results should be returned. The list request must be otherwise identical to the one that resulted in this token.", +"location": "query", +"type": "string" +} +}, +"path": "v1/courses/{courseId}/courseWork/{courseWorkId}/rubrics", +"response": { +"$ref": "ListRubricsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/classroom.coursework.me", +"https://www.googleapis.com/auth/classroom.coursework.me.readonly", +"https://www.googleapis.com/auth/classroom.coursework.students", +"https://www.googleapis.com/auth/classroom.coursework.students.readonly" +] +}, +"patch": { +"description": "Updates a rubric. See google.classroom.v1.Rubric for details of which fields can be updated. Rubric update capabilities are [limited](/classroom/rubrics/limitations) once grading has started. The requesting user and course owner must have rubrics creation capabilities. For details, see [licensing requirements](https://developers.google.com/workspace/classroom/rubrics/limitations#license-requirements). This request must be made by the Google Cloud console of the [OAuth client ID](https://support.google.com/cloud/answer/6158849) used to create the parent course work item. This method returns the following error codes: * `PERMISSION_DENIED` if the requesting developer project didn't create the corresponding course work, if the user isn't permitted to make the requested modification to the rubric, or for access errors. This error code is also returned if grading has already started on the rubric. * `INVALID_ARGUMENT` if the request is malformed and for the following request error: * `RubricCriteriaInvalidFormat` * `NOT_FOUND` if the requested course, course work, or rubric doesn't exist or if the user doesn't have access to the corresponding course work. * `INTERNAL` if grading has already started on the rubric.", +"flatPath": "v1/courses/{courseId}/courseWork/{courseWorkId}/rubrics/{id}", +"httpMethod": "PATCH", +"id": "classroom.courses.courseWork.rubrics.patch", +"parameterOrder": [ +"courseId", +"courseWorkId", +"id" +], +"parameters": { +"courseId": { +"description": "Required. Identifier of the course.", +"location": "path", +"required": true, +"type": "string" +}, +"courseWorkId": { +"description": "Required. Identifier of the course work.", +"location": "path", +"required": true, +"type": "string" +}, +"id": { +"description": "Optional. Identifier of the rubric.", +"location": "path", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Optional. Mask that identifies which fields on the rubric to update. This field is required to do an update. The update fails if invalid fields are specified. There are multiple options to define the criteria of a rubric: the `source_spreadsheet_id` and the `criteria` list. Only one of these can be used at a time to define a rubric. The rubric `criteria` list is fully replaced by the rubric criteria specified in the update request. For example, if a criterion or level is missing from the request, it is deleted. New criteria and levels are added and an ID is assigned. Existing criteria and levels retain the previously assigned ID if the ID is specified in the request. The following fields can be specified by teachers: * `criteria` * `source_spreadsheet_id`", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/courses/{courseId}/courseWork/{courseWorkId}/rubrics/{id}", +"request": { +"$ref": "Rubric" +}, +"response": { +"$ref": "Rubric" +}, +"scopes": [ +"https://www.googleapis.com/auth/classroom.coursework.students" +] +} +} +}, +"studentSubmissions": { +"methods": { +"get": { +"description": "Returns a student submission. * `PERMISSION_DENIED` if the requesting user is not permitted to access the requested course, course work, or student submission or for access errors. * `INVALID_ARGUMENT` if the request is malformed. * `NOT_FOUND` if the requested course, course work, or student submission does not exist.", +"flatPath": "v1/courses/{courseId}/courseWork/{courseWorkId}/studentSubmissions/{id}", +"httpMethod": "GET", +"id": "classroom.courses.courseWork.studentSubmissions.get", +"parameterOrder": [ +"courseId", +"courseWorkId", +"id" +], +"parameters": { +"courseId": { +"description": "Identifier of the course. This identifier can be either the Classroom-assigned identifier or an alias.", +"location": "path", +"required": true, +"type": "string" +}, +"courseWorkId": { +"description": "Identifier of the course work.", +"location": "path", +"required": true, +"type": "string" +}, +"id": { +"description": "Identifier of the student submission.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v1/courses/{courseId}/courseWork/{courseWorkId}/studentSubmissions/{id}", +"response": { +"$ref": "StudentSubmission" +}, +"scopes": [ +"https://www.googleapis.com/auth/classroom.coursework.me", +"https://www.googleapis.com/auth/classroom.coursework.me.readonly", +"https://www.googleapis.com/auth/classroom.coursework.students", +"https://www.googleapis.com/auth/classroom.coursework.students.readonly", +"https://www.googleapis.com/auth/classroom.student-submissions.me.readonly", +"https://www.googleapis.com/auth/classroom.student-submissions.students.readonly" +] +}, +"list": { +"description": "Returns a list of student submissions that the requester is permitted to view, factoring in the OAuth scopes of the request. A hyphen (`-`) may be specified as the `course_work_id` to include student submissions for multiple course work items. Course students may only view their own work. Course teachers and domain administrators may view all student submissions. This method returns the following error codes: * `PERMISSION_DENIED` if the requesting user is not permitted to access the requested course or course work, or for access errors. * `INVALID_ARGUMENT` if the request is malformed. * `NOT_FOUND` if the requested course does not exist.", +"flatPath": "v1/courses/{courseId}/courseWork/{courseWorkId}/studentSubmissions", +"httpMethod": "GET", +"id": "classroom.courses.courseWork.studentSubmissions.list", +"parameterOrder": [ +"courseId", +"courseWorkId" +], +"parameters": { +"courseId": { +"description": "Identifier of the course. This identifier can be either the Classroom-assigned identifier or an alias.", +"location": "path", +"required": true, +"type": "string" +}, +"courseWorkId": { +"description": "Identifier of the student work to request. This may be set to the string literal `\"-\"` to request student work for all course work in the specified course.", +"location": "path", +"required": true, +"type": "string" +}, +"late": { +"description": "Requested lateness value. If specified, returned student submissions are restricted by the requested value. If unspecified, submissions are returned regardless of `late` value.", +"enum": [ +"LATE_VALUES_UNSPECIFIED", +"LATE_ONLY", +"NOT_LATE_ONLY" +], +"enumDescriptions": [ +"No restriction on submission late values specified.", +"Return StudentSubmissions where late is true.", +"Return StudentSubmissions where late is false." +], +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Maximum number of items to return. Zero or unspecified indicates that the server may assign a maximum. The server may return fewer than the specified number of results.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "nextPageToken value returned from a previous list call, indicating that the subsequent page of results should be returned. The list request must be otherwise identical to the one that resulted in this token.", +"location": "query", +"type": "string" +}, +"states": { +"description": "Requested submission states. If specified, returned student submissions match one of the specified submission states.", +"enum": [ +"SUBMISSION_STATE_UNSPECIFIED", +"NEW", +"CREATED", +"TURNED_IN", +"RETURNED", +"RECLAIMED_BY_STUDENT" +], +"enumDescriptions": [ +"No state specified. This should never be returned.", +"The student has never accessed this submission. Attachments are not returned and timestamps is not set.", +"Has been created.", +"Has been turned in to the teacher.", +"Has been returned to the student.", +"Student chose to \"unsubmit\" the assignment." +], +"location": "query", +"repeated": true, +"type": "string" +}, +"userId": { +"description": "Optional argument to restrict returned student work to those owned by the student with the specified identifier. The identifier can be one of the following: * the numeric identifier for the user * the email address of the user * the string literal `\"me\"`, indicating the requesting user", +"location": "query", +"type": "string" +} +}, +"path": "v1/courses/{courseId}/courseWork/{courseWorkId}/studentSubmissions", +"response": { +"$ref": "ListStudentSubmissionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/classroom.coursework.me", +"https://www.googleapis.com/auth/classroom.coursework.me.readonly", +"https://www.googleapis.com/auth/classroom.coursework.students", +"https://www.googleapis.com/auth/classroom.coursework.students.readonly", +"https://www.googleapis.com/auth/classroom.student-submissions.me.readonly", +"https://www.googleapis.com/auth/classroom.student-submissions.students.readonly" +] +}, +"modifyAttachments": { +"description": "Modifies attachments of student submission. Attachments may only be added to student submissions belonging to course work objects with a `workType` of `ASSIGNMENT`. This request must be made by the Developer Console project of the [OAuth client ID](https://support.google.com/cloud/answer/6158849) used to create the corresponding course work item. This method returns the following error codes: * `PERMISSION_DENIED` if the requesting user is not permitted to access the requested course or course work, if the user is not permitted to modify attachments on the requested student submission, or for access errors. * `INVALID_ARGUMENT` if the request is malformed. * `NOT_FOUND` if the requested course, course work, or student submission does not exist.", +"flatPath": "v1/courses/{courseId}/courseWork/{courseWorkId}/studentSubmissions/{id}:modifyAttachments", +"httpMethod": "POST", +"id": "classroom.courses.courseWork.studentSubmissions.modifyAttachments", +"parameterOrder": [ +"courseId", +"courseWorkId", +"id" +], +"parameters": { +"courseId": { +"description": "Identifier of the course. This identifier can be either the Classroom-assigned identifier or an alias.", +"location": "path", +"required": true, +"type": "string" +}, +"courseWorkId": { +"description": "Identifier of the course work.", +"location": "path", +"required": true, +"type": "string" +}, +"id": { +"description": "Identifier of the student submission.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v1/courses/{courseId}/courseWork/{courseWorkId}/studentSubmissions/{id}:modifyAttachments", +"request": { +"$ref": "ModifyAttachmentsRequest" +}, +"response": { +"$ref": "StudentSubmission" +}, +"scopes": [ +"https://www.googleapis.com/auth/classroom.coursework.me", +"https://www.googleapis.com/auth/classroom.coursework.students" +] +}, +"patch": { +"description": "Updates one or more fields of a student submission. See google.classroom.v1.StudentSubmission for details of which fields may be updated and who may change them. This request must be made by the Developer Console project of the [OAuth client ID](https://support.google.com/cloud/answer/6158849) used to create the corresponding course work item. This method returns the following error codes: * `PERMISSION_DENIED` if the requesting developer project did not create the corresponding course work, if the user is not permitted to make the requested modification to the student submission, or for access errors. * `INVALID_ARGUMENT` if the request is malformed. * `NOT_FOUND` if the requested course, course work, or student submission does not exist.", +"flatPath": "v1/courses/{courseId}/courseWork/{courseWorkId}/studentSubmissions/{id}", +"httpMethod": "PATCH", +"id": "classroom.courses.courseWork.studentSubmissions.patch", +"parameterOrder": [ +"courseId", +"courseWorkId", +"id" +], +"parameters": { +"courseId": { +"description": "Identifier of the course. This identifier can be either the Classroom-assigned identifier or an alias.", +"location": "path", +"required": true, +"type": "string" +}, +"courseWorkId": { +"description": "Identifier of the course work.", +"location": "path", +"required": true, +"type": "string" +}, +"id": { +"description": "Identifier of the student submission.", +"location": "path", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Mask that identifies which fields on the student submission to update. This field is required to do an update. The update fails if invalid fields are specified. The following fields may be specified by teachers: * `draft_grade` * `assigned_grade`", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/courses/{courseId}/courseWork/{courseWorkId}/studentSubmissions/{id}", +"request": { +"$ref": "StudentSubmission" +}, +"response": { +"$ref": "StudentSubmission" +}, +"scopes": [ +"https://www.googleapis.com/auth/classroom.coursework.me", +"https://www.googleapis.com/auth/classroom.coursework.students" +] +}, +"reclaim": { +"description": "Reclaims a student submission on behalf of the student that owns it. Reclaiming a student submission transfers ownership of attached Drive files to the student and updates the submission state. Only the student that owns the requested student submission may call this method, and only for a student submission that has been turned in. This request must be made by the Developer Console project of the [OAuth client ID](https://support.google.com/cloud/answer/6158849) used to create the corresponding course work item. This method returns the following error codes: * `PERMISSION_DENIED` if the requesting user is not permitted to access the requested course or course work, unsubmit the requested student submission, or for access errors. * `FAILED_PRECONDITION` if the student submission has not been turned in. * `INVALID_ARGUMENT` if the request is malformed. * `NOT_FOUND` if the requested course, course work, or student submission does not exist.", +"flatPath": "v1/courses/{courseId}/courseWork/{courseWorkId}/studentSubmissions/{id}:reclaim", +"httpMethod": "POST", +"id": "classroom.courses.courseWork.studentSubmissions.reclaim", +"parameterOrder": [ +"courseId", +"courseWorkId", +"id" +], +"parameters": { +"courseId": { +"description": "Identifier of the course. This identifier can be either the Classroom-assigned identifier or an alias.", +"location": "path", +"required": true, +"type": "string" +}, +"courseWorkId": { +"description": "Identifier of the course work.", +"location": "path", +"required": true, +"type": "string" +}, +"id": { +"description": "Identifier of the student submission.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v1/courses/{courseId}/courseWork/{courseWorkId}/studentSubmissions/{id}:reclaim", +"request": { +"$ref": "ReclaimStudentSubmissionRequest" +}, +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/classroom.coursework.me" +] +}, +"return": { +"description": "Returns a student submission. Returning a student submission transfers ownership of attached Drive files to the student and may also update the submission state. Unlike the Classroom application, returning a student submission does not set assignedGrade to the draftGrade value. Only a teacher of the course that contains the requested student submission may call this method. This request must be made by the Developer Console project of the [OAuth client ID](https://support.google.com/cloud/answer/6158849) used to create the corresponding course work item. This method returns the following error codes: * `PERMISSION_DENIED` if the requesting user is not permitted to access the requested course or course work, return the requested student submission, or for access errors. * `INVALID_ARGUMENT` if the request is malformed. * `NOT_FOUND` if the requested course, course work, or student submission does not exist.", +"flatPath": "v1/courses/{courseId}/courseWork/{courseWorkId}/studentSubmissions/{id}:return", +"httpMethod": "POST", +"id": "classroom.courses.courseWork.studentSubmissions.return", +"parameterOrder": [ +"courseId", +"courseWorkId", +"id" +], +"parameters": { +"courseId": { +"description": "Identifier of the course. This identifier can be either the Classroom-assigned identifier or an alias.", +"location": "path", +"required": true, +"type": "string" +}, +"courseWorkId": { +"description": "Identifier of the course work.", +"location": "path", +"required": true, +"type": "string" +}, +"id": { +"description": "Identifier of the student submission.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v1/courses/{courseId}/courseWork/{courseWorkId}/studentSubmissions/{id}:return", +"request": { +"$ref": "ReturnStudentSubmissionRequest" +}, +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/classroom.coursework.students" +] +}, +"turnIn": { +"description": "Turns in a student submission. Turning in a student submission transfers ownership of attached Drive files to the teacher and may also update the submission state. This may only be called by the student that owns the specified student submission. This request must be made by the Developer Console project of the [OAuth client ID](https://support.google.com/cloud/answer/6158849) used to create the corresponding course work item. This method returns the following error codes: * `PERMISSION_DENIED` if the requesting user is not permitted to access the requested course or course work, turn in the requested student submission, or for access errors. * `INVALID_ARGUMENT` if the request is malformed. * `NOT_FOUND` if the requested course, course work, or student submission does not exist.", +"flatPath": "v1/courses/{courseId}/courseWork/{courseWorkId}/studentSubmissions/{id}:turnIn", +"httpMethod": "POST", +"id": "classroom.courses.courseWork.studentSubmissions.turnIn", +"parameterOrder": [ +"courseId", +"courseWorkId", +"id" +], +"parameters": { +"courseId": { +"description": "Identifier of the course. This identifier can be either the Classroom-assigned identifier or an alias.", +"location": "path", +"required": true, +"type": "string" +}, +"courseWorkId": { +"description": "Identifier of the course work.", +"location": "path", +"required": true, +"type": "string" +}, +"id": { +"description": "Identifier of the student submission.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v1/courses/{courseId}/courseWork/{courseWorkId}/studentSubmissions/{id}:turnIn", +"request": { +"$ref": "TurnInStudentSubmissionRequest" +}, +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/classroom.coursework.me" +] +} +} +} +} +}, +"courseWorkMaterials": { +"methods": { +"create": { +"description": "Creates a course work material. This method returns the following error codes: * `PERMISSION_DENIED` if the requesting user is not permitted to access the requested course, create course work material in the requested course, share a Drive attachment, or for access errors. * `INVALID_ARGUMENT` if the request is malformed or if more than 20 * materials are provided. * `NOT_FOUND` if the requested course does not exist. * `FAILED_PRECONDITION` for the following request error: * AttachmentNotVisible", +"flatPath": "v1/courses/{courseId}/courseWorkMaterials", +"httpMethod": "POST", +"id": "classroom.courses.courseWorkMaterials.create", +"parameterOrder": [ +"courseId" +], +"parameters": { +"courseId": { +"description": "Identifier of the course. This identifier can be either the Classroom-assigned identifier or an alias.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v1/courses/{courseId}/courseWorkMaterials", +"request": { +"$ref": "CourseWorkMaterial" +}, +"response": { +"$ref": "CourseWorkMaterial" +}, +"scopes": [ +"https://www.googleapis.com/auth/classroom.courseworkmaterials" +] +}, +"delete": { +"description": "Deletes a course work material. This request must be made by the Developer Console project of the [OAuth client ID](https://support.google.com/cloud/answer/6158849) used to create the corresponding course work material item. This method returns the following error codes: * `PERMISSION_DENIED` if the requesting developer project did not create the corresponding course work material, if the requesting user is not permitted to delete the requested course or for access errors. * `FAILED_PRECONDITION` if the requested course work material has already been deleted. * `NOT_FOUND` if no course exists with the requested ID.", +"flatPath": "v1/courses/{courseId}/courseWorkMaterials/{id}", +"httpMethod": "DELETE", +"id": "classroom.courses.courseWorkMaterials.delete", +"parameterOrder": [ +"courseId", +"id" +], +"parameters": { +"courseId": { +"description": "Identifier of the course. This identifier can be either the Classroom-assigned identifier or an alias.", +"location": "path", +"required": true, +"type": "string" +}, +"id": { +"description": "Identifier of the course work material to delete. This identifier is a Classroom-assigned identifier.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v1/courses/{courseId}/courseWorkMaterials/{id}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/classroom.courseworkmaterials" +] +}, +"get": { +"description": "Returns a course work material. This method returns the following error codes: * `PERMISSION_DENIED` if the requesting user is not permitted to access the requested course or course work material, or for access errors. * `INVALID_ARGUMENT` if the request is malformed. * `NOT_FOUND` if the requested course or course work material does not exist.", +"flatPath": "v1/courses/{courseId}/courseWorkMaterials/{id}", +"httpMethod": "GET", +"id": "classroom.courses.courseWorkMaterials.get", +"parameterOrder": [ +"courseId", +"id" +], +"parameters": { +"courseId": { +"description": "Identifier of the course. This identifier can be either the Classroom-assigned identifier or an alias.", +"location": "path", +"required": true, +"type": "string" +}, +"id": { +"description": "Identifier of the course work material.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v1/courses/{courseId}/courseWorkMaterials/{id}", +"response": { +"$ref": "CourseWorkMaterial" +}, +"scopes": [ +"https://www.googleapis.com/auth/classroom.courseworkmaterials", +"https://www.googleapis.com/auth/classroom.courseworkmaterials.readonly" +] +}, +"getAddOnContext": { +"description": "Gets metadata for Classroom add-ons in the context of a specific post. To maintain the integrity of its own data and permissions model, an add-on should call this to validate query parameters and the requesting user's role whenever the add-on is opened in an [iframe](https://developers.google.com/workspace/classroom/add-ons/get-started/iframes/iframes-overview). This method returns the following error codes: * `PERMISSION_DENIED` for access errors. * `INVALID_ARGUMENT` if the request is malformed. * `NOT_FOUND` if one of the identified resources does not exist.", +"flatPath": "v1/courses/{courseId}/courseWorkMaterials/{itemId}/addOnContext", +"httpMethod": "GET", +"id": "classroom.courses.courseWorkMaterials.getAddOnContext", +"parameterOrder": [ +"courseId", +"itemId" +], +"parameters": { +"addOnToken": { +"description": "Optional. Token that authorizes the request. The token is passed as a query parameter when the user is redirected from Classroom to the add-on's URL. The authorization token is required when neither of the following is true: * The add-on has attachments on the post. * The developer project issuing the request is the same project that created the post.", +"location": "query", +"type": "string" +}, +"attachmentId": { +"description": "Optional. The identifier of the attachment. This field is required for all requests except when the user is in the [Attachment Discovery iframe](https://developers.google.com/workspace/classroom/add-ons/get-started/iframes/attachment-discovery-iframe).", +"location": "query", +"type": "string" +}, +"courseId": { +"description": "Required. Identifier of the course.", +"location": "path", +"required": true, +"type": "string" +}, +"itemId": { +"description": "Identifier of the `Announcement`, `CourseWork`, or `CourseWorkMaterial` under which the attachment is attached. This field is required, but is not marked as such while we are migrating from post_id.", +"location": "path", +"required": true, +"type": "string" +}, +"postId": { +"deprecated": true, +"description": "Optional. Deprecated, use `item_id` instead.", +"location": "query", +"type": "string" +} +}, +"path": "v1/courses/{courseId}/courseWorkMaterials/{itemId}/addOnContext", +"response": { +"$ref": "AddOnContext" +}, +"scopes": [ +"https://www.googleapis.com/auth/classroom.addons.student", +"https://www.googleapis.com/auth/classroom.addons.teacher" +] +}, +"list": { +"description": "Returns a list of course work material that the requester is permitted to view. Course students may only view `PUBLISHED` course work material. Course teachers and domain administrators may view all course work material. This method returns the following error codes: * `PERMISSION_DENIED` if the requesting user is not permitted to access the requested course or for access errors. * `INVALID_ARGUMENT` if the request is malformed. * `NOT_FOUND` if the requested course does not exist.", +"flatPath": "v1/courses/{courseId}/courseWorkMaterials", +"httpMethod": "GET", +"id": "classroom.courses.courseWorkMaterials.list", +"parameterOrder": [ +"courseId" +], +"parameters": { +"courseId": { +"description": "Identifier of the course. This identifier can be either the Classroom-assigned identifier or an alias.", +"location": "path", +"required": true, +"type": "string" +}, +"courseWorkMaterialStates": { +"description": "Restriction on the work status to return. Only course work material that matches is returned. If unspecified, items with a work status of `PUBLISHED` is returned.", +"enum": [ +"COURSEWORK_MATERIAL_STATE_UNSPECIFIED", +"PUBLISHED", +"DRAFT", +"DELETED" +], +"enumDescriptions": [ +"No state specified. This is never returned.", +"Status for course work material that has been published. This is the default state.", +"Status for a course work material that is not yet published. Course work material in this state is visible only to course teachers and domain administrators.", +"Status for course work material that was published but is now deleted. Course work material in this state is visible only to course teachers and domain administrators. Course work material in this state is deleted after some time." +], +"location": "query", +"repeated": true, +"type": "string" +}, +"materialDriveId": { +"description": "Optional filtering for course work material with at least one Drive material whose ID matches the provided string. If `material_link` is also specified, course work material must have materials matching both filters.", +"location": "query", +"type": "string" +}, +"materialLink": { +"description": "Optional filtering for course work material with at least one link material whose URL partially matches the provided string.", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "Optional sort ordering for results. A comma-separated list of fields with an optional sort direction keyword. Supported field is `updateTime`. Supported direction keywords are `asc` and `desc`. If not specified, `updateTime desc` is the default behavior. Examples: `updateTime asc`, `updateTime`", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Maximum number of items to return. Zero or unspecified indicates that the server may assign a maximum. The server may return fewer than the specified number of results.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "nextPageToken value returned from a previous list call, indicating that the subsequent page of results should be returned. The list request must be otherwise identical to the one that resulted in this token.", +"location": "query", +"type": "string" +} +}, +"path": "v1/courses/{courseId}/courseWorkMaterials", +"response": { +"$ref": "ListCourseWorkMaterialResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/classroom.courseworkmaterials", +"https://www.googleapis.com/auth/classroom.courseworkmaterials.readonly" +] +}, +"patch": { +"description": "Updates one or more fields of a course work material. This method returns the following error codes: * `PERMISSION_DENIED` if the requesting developer project for access errors. * `INVALID_ARGUMENT` if the request is malformed. * `FAILED_PRECONDITION` if the requested course work material has already been deleted. * `NOT_FOUND` if the requested course or course work material does not exist", +"flatPath": "v1/courses/{courseId}/courseWorkMaterials/{id}", +"httpMethod": "PATCH", +"id": "classroom.courses.courseWorkMaterials.patch", +"parameterOrder": [ +"courseId", +"id" +], +"parameters": { +"courseId": { +"description": "Identifier of the course. This identifier can be either the Classroom-assigned identifier or an alias.", +"location": "path", +"required": true, +"type": "string" +}, +"id": { +"description": "Identifier of the course work material.", +"location": "path", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Mask that identifies which fields on the course work material to update. This field is required to do an update. The update fails if invalid fields are specified. If a field supports empty values, it can be cleared by specifying it in the update mask and not in the course work material object. If a field that does not support empty values is included in the update mask and not set in the course work material object, an `INVALID_ARGUMENT` error is returned. The following fields may be specified by teachers: * `title` * `description` * `state` * `scheduled_time` * `topic_id`", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/courses/{courseId}/courseWorkMaterials/{id}", +"request": { +"$ref": "CourseWorkMaterial" +}, +"response": { +"$ref": "CourseWorkMaterial" +}, +"scopes": [ +"https://www.googleapis.com/auth/classroom.courseworkmaterials" +] +} +}, +"resources": { +"addOnAttachments": { +"methods": { +"create": { +"description": "Creates an add-on attachment under a post. Requires the add-on to have permission to create new attachments on the post. This method returns the following error codes: * `PERMISSION_DENIED` for access errors. * `INVALID_ARGUMENT` if the request is malformed. * `NOT_FOUND` if one of the identified resources does not exist.", +"flatPath": "v1/courses/{courseId}/courseWorkMaterials/{itemId}/addOnAttachments", +"httpMethod": "POST", +"id": "classroom.courses.courseWorkMaterials.addOnAttachments.create", +"parameterOrder": [ +"courseId", +"itemId" +], +"parameters": { +"addOnToken": { +"description": "Optional. Token that authorizes the request. The token is passed as a query parameter when the user is redirected from Classroom to the add-on's URL. This authorization token is required for in-Classroom attachment creation but optional for partner-first attachment creation. Returns an error if not provided for partner-first attachment creation and the developer projects that created the attachment and its parent stream item do not match.", +"location": "query", +"type": "string" +}, +"courseId": { +"description": "Required. Identifier of the course.", +"location": "path", +"required": true, +"type": "string" +}, +"itemId": { +"description": "Identifier of the `Announcement`, `CourseWork`, or `CourseWorkMaterial` under which to create the attachment. This field is required, but is not marked as such while we are migrating from post_id.", +"location": "path", +"required": true, +"type": "string" +}, +"postId": { +"deprecated": true, +"description": "Optional. Deprecated, use `item_id` instead.", +"location": "query", +"type": "string" +} +}, +"path": "v1/courses/{courseId}/courseWorkMaterials/{itemId}/addOnAttachments", +"request": { +"$ref": "AddOnAttachment" +}, +"response": { +"$ref": "AddOnAttachment" +}, +"scopes": [ +"https://www.googleapis.com/auth/classroom.addons.teacher" +] +}, +"delete": { +"description": "Deletes an add-on attachment. Requires the add-on to have been the original creator of the attachment. This method returns the following error codes: * `PERMISSION_DENIED` for access errors. * `INVALID_ARGUMENT` if the request is malformed. * `NOT_FOUND` if one of the identified resources does not exist.", +"flatPath": "v1/courses/{courseId}/courseWorkMaterials/{itemId}/addOnAttachments/{attachmentId}", +"httpMethod": "DELETE", +"id": "classroom.courses.courseWorkMaterials.addOnAttachments.delete", +"parameterOrder": [ +"courseId", +"itemId", +"attachmentId" +], +"parameters": { +"attachmentId": { +"description": "Required. Identifier of the attachment.", +"location": "path", +"required": true, +"type": "string" +}, +"courseId": { +"description": "Required. Identifier of the course.", +"location": "path", +"required": true, +"type": "string" +}, +"itemId": { +"description": "Identifier of the `Announcement`, `CourseWork`, or `CourseWorkMaterial` under which the attachment is attached. This field is required, but is not marked as such while we are migrating from post_id.", +"location": "path", +"required": true, +"type": "string" +}, +"postId": { +"deprecated": true, +"description": "Optional. Deprecated, use `item_id` instead.", +"location": "query", +"type": "string" +} +}, +"path": "v1/courses/{courseId}/courseWorkMaterials/{itemId}/addOnAttachments/{attachmentId}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/classroom.addons.teacher" +] +}, +"get": { +"description": "Returns an add-on attachment. Requires the add-on requesting the attachment to be the original creator of the attachment. This method returns the following error codes: * `PERMISSION_DENIED` for access errors. * `INVALID_ARGUMENT` if the request is malformed. * `NOT_FOUND` if one of the identified resources does not exist.", +"flatPath": "v1/courses/{courseId}/courseWorkMaterials/{itemId}/addOnAttachments/{attachmentId}", +"httpMethod": "GET", +"id": "classroom.courses.courseWorkMaterials.addOnAttachments.get", +"parameterOrder": [ +"courseId", +"itemId", +"attachmentId" +], +"parameters": { +"attachmentId": { +"description": "Required. Identifier of the attachment.", +"location": "path", +"required": true, +"type": "string" +}, +"courseId": { +"description": "Required. Identifier of the course.", +"location": "path", +"required": true, +"type": "string" +}, +"itemId": { +"description": "Identifier of the `Announcement`, `CourseWork`, or `CourseWorkMaterial` under which the attachment is attached. This field is required, but is not marked as such while we are migrating from post_id.", +"location": "path", +"required": true, +"type": "string" +}, +"postId": { +"deprecated": true, +"description": "Optional. Deprecated, use `item_id` instead.", +"location": "query", +"type": "string" +} +}, +"path": "v1/courses/{courseId}/courseWorkMaterials/{itemId}/addOnAttachments/{attachmentId}", +"response": { +"$ref": "AddOnAttachment" +}, +"scopes": [ +"https://www.googleapis.com/auth/classroom.addons.student", +"https://www.googleapis.com/auth/classroom.addons.teacher" +] +}, +"list": { +"description": "Returns all attachments created by an add-on under the post. Requires the add-on to have active attachments on the post or have permission to create new attachments on the post. This method returns the following error codes: * `PERMISSION_DENIED` for access errors. * `INVALID_ARGUMENT` if the request is malformed. * `NOT_FOUND` if one of the identified resources does not exist.", +"flatPath": "v1/courses/{courseId}/courseWorkMaterials/{itemId}/addOnAttachments", +"httpMethod": "GET", +"id": "classroom.courses.courseWorkMaterials.addOnAttachments.list", +"parameterOrder": [ +"courseId", +"itemId" +], +"parameters": { +"courseId": { +"description": "Required. Identifier of the course.", +"location": "path", +"required": true, +"type": "string" +}, +"itemId": { +"description": "Identifier of the `Announcement`, `CourseWork`, or `CourseWorkMaterial` whose attachments should be enumerated. This field is required, but is not marked as such while we are migrating from post_id.", +"location": "path", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The maximum number of attachments to return. The service may return fewer than this value. If unspecified, at most 20 attachments will be returned. The maximum value is 20; values above 20 will be coerced to 20.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A page token, received from a previous `ListAddOnAttachments` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListAddOnAttachments` must match the call that provided the page token.", +"location": "query", +"type": "string" +}, +"postId": { +"deprecated": true, +"description": "Optional. Identifier of the post under the course whose attachments to enumerate. Deprecated, use `item_id` instead.", +"location": "query", +"type": "string" +} +}, +"path": "v1/courses/{courseId}/courseWorkMaterials/{itemId}/addOnAttachments", +"response": { +"$ref": "ListAddOnAttachmentsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/classroom.addons.student", +"https://www.googleapis.com/auth/classroom.addons.teacher" +] +}, +"patch": { +"description": "Updates an add-on attachment. Requires the add-on to have been the original creator of the attachment. This method returns the following error codes: * `PERMISSION_DENIED` for access errors. * `INVALID_ARGUMENT` if the request is malformed. * `NOT_FOUND` if one of the identified resources does not exist.", +"flatPath": "v1/courses/{courseId}/courseWorkMaterials/{itemId}/addOnAttachments/{attachmentId}", +"httpMethod": "PATCH", +"id": "classroom.courses.courseWorkMaterials.addOnAttachments.patch", +"parameterOrder": [ +"courseId", +"itemId", +"attachmentId" +], +"parameters": { +"attachmentId": { +"description": "Required. Identifier of the attachment.", +"location": "path", +"required": true, +"type": "string" +}, +"courseId": { +"description": "Required. Identifier of the course.", +"location": "path", +"required": true, +"type": "string" +}, +"itemId": { +"description": "Identifier of the post under which the attachment is attached.", +"location": "path", +"required": true, +"type": "string" +}, +"postId": { +"description": "Required. Identifier of the post under which the attachment is attached.", +"location": "query", +"type": "string" +}, +"updateMask": { +"description": "Required. Mask that identifies which fields on the attachment to update. The update fails if invalid fields are specified. If a field supports empty values, it can be cleared by specifying it in the update mask and not in the `AddOnAttachment` object. If a field that does not support empty values is included in the update mask and not set in the `AddOnAttachment` object, an `INVALID_ARGUMENT` error is returned. The following fields may be specified by teachers: * `title` * `teacher_view_uri` * `student_view_uri` * `student_work_review_uri` * `due_date` * `due_time` * `max_points`", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/courses/{courseId}/courseWorkMaterials/{itemId}/addOnAttachments/{attachmentId}", +"request": { +"$ref": "AddOnAttachment" +}, +"response": { +"$ref": "AddOnAttachment" +}, +"scopes": [ +"https://www.googleapis.com/auth/classroom.addons.teacher" +] +} +} +} +} +}, +"posts": { +"methods": { +"getAddOnContext": { +"description": "Gets metadata for Classroom add-ons in the context of a specific post. To maintain the integrity of its own data and permissions model, an add-on should call this to validate query parameters and the requesting user's role whenever the add-on is opened in an [iframe](https://developers.google.com/workspace/classroom/add-ons/get-started/iframes/iframes-overview). This method returns the following error codes: * `PERMISSION_DENIED` for access errors. * `INVALID_ARGUMENT` if the request is malformed. * `NOT_FOUND` if one of the identified resources does not exist.", +"flatPath": "v1/courses/{courseId}/posts/{postId}/addOnContext", +"httpMethod": "GET", +"id": "classroom.courses.posts.getAddOnContext", +"parameterOrder": [ +"courseId", +"postId" +], +"parameters": { +"addOnToken": { +"description": "Optional. Token that authorizes the request. The token is passed as a query parameter when the user is redirected from Classroom to the add-on's URL. The authorization token is required when neither of the following is true: * The add-on has attachments on the post. * The developer project issuing the request is the same project that created the post.", +"location": "query", +"type": "string" +}, +"attachmentId": { +"description": "Optional. The identifier of the attachment. This field is required for all requests except when the user is in the [Attachment Discovery iframe](https://developers.google.com/workspace/classroom/add-ons/get-started/iframes/attachment-discovery-iframe).", +"location": "query", +"type": "string" +}, +"courseId": { +"description": "Required. Identifier of the course.", +"location": "path", +"required": true, +"type": "string" +}, +"itemId": { +"description": "Identifier of the `Announcement`, `CourseWork`, or `CourseWorkMaterial` under which the attachment is attached. This field is required, but is not marked as such while we are migrating from post_id.", +"location": "query", +"type": "string" +}, +"postId": { +"description": "Optional. Deprecated, use `item_id` instead.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v1/courses/{courseId}/posts/{postId}/addOnContext", +"response": { +"$ref": "AddOnContext" +}, +"scopes": [ +"https://www.googleapis.com/auth/classroom.addons.student", +"https://www.googleapis.com/auth/classroom.addons.teacher" +] +} +}, +"resources": { +"addOnAttachments": { +"methods": { +"create": { +"description": "Creates an add-on attachment under a post. Requires the add-on to have permission to create new attachments on the post. This method returns the following error codes: * `PERMISSION_DENIED` for access errors. * `INVALID_ARGUMENT` if the request is malformed. * `NOT_FOUND` if one of the identified resources does not exist.", +"flatPath": "v1/courses/{courseId}/posts/{postId}/addOnAttachments", +"httpMethod": "POST", +"id": "classroom.courses.posts.addOnAttachments.create", +"parameterOrder": [ +"courseId", +"postId" +], +"parameters": { +"addOnToken": { +"description": "Optional. Token that authorizes the request. The token is passed as a query parameter when the user is redirected from Classroom to the add-on's URL. This authorization token is required for in-Classroom attachment creation but optional for partner-first attachment creation. Returns an error if not provided for partner-first attachment creation and the developer projects that created the attachment and its parent stream item do not match.", +"location": "query", +"type": "string" +}, +"courseId": { +"description": "Required. Identifier of the course.", +"location": "path", +"required": true, +"type": "string" +}, +"itemId": { +"description": "Identifier of the `Announcement`, `CourseWork`, or `CourseWorkMaterial` under which to create the attachment. This field is required, but is not marked as such while we are migrating from post_id.", +"location": "query", +"type": "string" +}, +"postId": { +"description": "Optional. Deprecated, use `item_id` instead.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v1/courses/{courseId}/posts/{postId}/addOnAttachments", +"request": { +"$ref": "AddOnAttachment" +}, +"response": { +"$ref": "AddOnAttachment" +}, +"scopes": [ +"https://www.googleapis.com/auth/classroom.addons.teacher" +] +}, +"delete": { +"description": "Deletes an add-on attachment. Requires the add-on to have been the original creator of the attachment. This method returns the following error codes: * `PERMISSION_DENIED` for access errors. * `INVALID_ARGUMENT` if the request is malformed. * `NOT_FOUND` if one of the identified resources does not exist.", +"flatPath": "v1/courses/{courseId}/posts/{postId}/addOnAttachments/{attachmentId}", +"httpMethod": "DELETE", +"id": "classroom.courses.posts.addOnAttachments.delete", +"parameterOrder": [ +"courseId", +"postId", +"attachmentId" +], +"parameters": { +"attachmentId": { +"description": "Required. Identifier of the attachment.", +"location": "path", +"required": true, +"type": "string" +}, +"courseId": { +"description": "Required. Identifier of the course.", +"location": "path", +"required": true, +"type": "string" +}, +"itemId": { +"description": "Identifier of the `Announcement`, `CourseWork`, or `CourseWorkMaterial` under which the attachment is attached. This field is required, but is not marked as such while we are migrating from post_id.", +"location": "query", +"type": "string" +}, +"postId": { +"description": "Optional. Deprecated, use `item_id` instead.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v1/courses/{courseId}/posts/{postId}/addOnAttachments/{attachmentId}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/classroom.addons.teacher" +] +}, +"get": { +"description": "Returns an add-on attachment. Requires the add-on requesting the attachment to be the original creator of the attachment. This method returns the following error codes: * `PERMISSION_DENIED` for access errors. * `INVALID_ARGUMENT` if the request is malformed. * `NOT_FOUND` if one of the identified resources does not exist.", +"flatPath": "v1/courses/{courseId}/posts/{postId}/addOnAttachments/{attachmentId}", +"httpMethod": "GET", +"id": "classroom.courses.posts.addOnAttachments.get", +"parameterOrder": [ +"courseId", +"postId", +"attachmentId" +], +"parameters": { +"attachmentId": { +"description": "Required. Identifier of the attachment.", +"location": "path", +"required": true, +"type": "string" +}, +"courseId": { +"description": "Required. Identifier of the course.", +"location": "path", +"required": true, +"type": "string" +}, +"itemId": { +"description": "Identifier of the `Announcement`, `CourseWork`, or `CourseWorkMaterial` under which the attachment is attached. This field is required, but is not marked as such while we are migrating from post_id.", +"location": "query", +"type": "string" +}, +"postId": { +"description": "Optional. Deprecated, use `item_id` instead.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v1/courses/{courseId}/posts/{postId}/addOnAttachments/{attachmentId}", +"response": { +"$ref": "AddOnAttachment" +}, +"scopes": [ +"https://www.googleapis.com/auth/classroom.addons.student", +"https://www.googleapis.com/auth/classroom.addons.teacher" +] +}, +"list": { +"description": "Returns all attachments created by an add-on under the post. Requires the add-on to have active attachments on the post or have permission to create new attachments on the post. This method returns the following error codes: * `PERMISSION_DENIED` for access errors. * `INVALID_ARGUMENT` if the request is malformed. * `NOT_FOUND` if one of the identified resources does not exist.", +"flatPath": "v1/courses/{courseId}/posts/{postId}/addOnAttachments", +"httpMethod": "GET", +"id": "classroom.courses.posts.addOnAttachments.list", +"parameterOrder": [ +"courseId", +"postId" +], +"parameters": { +"courseId": { +"description": "Required. Identifier of the course.", +"location": "path", +"required": true, +"type": "string" +}, +"itemId": { +"description": "Identifier of the `Announcement`, `CourseWork`, or `CourseWorkMaterial` whose attachments should be enumerated. This field is required, but is not marked as such while we are migrating from post_id.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "The maximum number of attachments to return. The service may return fewer than this value. If unspecified, at most 20 attachments will be returned. The maximum value is 20; values above 20 will be coerced to 20.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A page token, received from a previous `ListAddOnAttachments` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListAddOnAttachments` must match the call that provided the page token.", +"location": "query", +"type": "string" +}, +"postId": { +"description": "Optional. Identifier of the post under the course whose attachments to enumerate. Deprecated, use `item_id` instead.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v1/courses/{courseId}/posts/{postId}/addOnAttachments", +"response": { +"$ref": "ListAddOnAttachmentsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/classroom.addons.student", +"https://www.googleapis.com/auth/classroom.addons.teacher" +] +}, +"patch": { +"description": "Updates an add-on attachment. Requires the add-on to have been the original creator of the attachment. This method returns the following error codes: * `PERMISSION_DENIED` for access errors. * `INVALID_ARGUMENT` if the request is malformed. * `NOT_FOUND` if one of the identified resources does not exist.", +"flatPath": "v1/courses/{courseId}/posts/{postId}/addOnAttachments/{attachmentId}", +"httpMethod": "PATCH", +"id": "classroom.courses.posts.addOnAttachments.patch", +"parameterOrder": [ +"courseId", +"postId", +"attachmentId" +], +"parameters": { +"attachmentId": { +"description": "Required. Identifier of the attachment.", +"location": "path", +"required": true, +"type": "string" +}, +"courseId": { +"description": "Required. Identifier of the course.", +"location": "path", +"required": true, +"type": "string" +}, +"itemId": { +"description": "Identifier of the post under which the attachment is attached.", +"location": "query", +"type": "string" +}, +"postId": { +"description": "Required. Identifier of the post under which the attachment is attached.", +"location": "path", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Required. Mask that identifies which fields on the attachment to update. The update fails if invalid fields are specified. If a field supports empty values, it can be cleared by specifying it in the update mask and not in the `AddOnAttachment` object. If a field that does not support empty values is included in the update mask and not set in the `AddOnAttachment` object, an `INVALID_ARGUMENT` error is returned. The following fields may be specified by teachers: * `title` * `teacher_view_uri` * `student_view_uri` * `student_work_review_uri` * `due_date` * `due_time` * `max_points`", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/courses/{courseId}/posts/{postId}/addOnAttachments/{attachmentId}", +"request": { +"$ref": "AddOnAttachment" +}, +"response": { +"$ref": "AddOnAttachment" +}, +"scopes": [ +"https://www.googleapis.com/auth/classroom.addons.teacher" +] +} +}, +"resources": { +"studentSubmissions": { +"methods": { +"get": { +"description": "Returns a student submission for an add-on attachment. This method returns the following error codes: * `PERMISSION_DENIED` for access errors. * `INVALID_ARGUMENT` if the request is malformed. * `NOT_FOUND` if one of the identified resources does not exist.", +"flatPath": "v1/courses/{courseId}/posts/{postId}/addOnAttachments/{attachmentId}/studentSubmissions/{submissionId}", +"httpMethod": "GET", +"id": "classroom.courses.posts.addOnAttachments.studentSubmissions.get", +"parameterOrder": [ +"courseId", +"postId", +"attachmentId", +"submissionId" +], +"parameters": { +"attachmentId": { +"description": "Required. Identifier of the attachment.", +"location": "path", +"required": true, +"type": "string" +}, +"courseId": { +"description": "Required. Identifier of the course.", +"location": "path", +"required": true, +"type": "string" +}, +"itemId": { +"description": "Identifier of the `Announcement`, `CourseWork`, or `CourseWorkMaterial` under which the attachment is attached. This field is required, but is not marked as such while we are migrating from post_id.", +"location": "query", +"type": "string" +}, +"postId": { +"description": "Optional. Deprecated, use `item_id` instead.", +"location": "path", +"required": true, +"type": "string" +}, +"submissionId": { +"description": "Required. Identifier of the student\u2019s submission.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v1/courses/{courseId}/posts/{postId}/addOnAttachments/{attachmentId}/studentSubmissions/{submissionId}", +"response": { +"$ref": "AddOnAttachmentStudentSubmission" +}, +"scopes": [ +"https://www.googleapis.com/auth/classroom.addons.student", +"https://www.googleapis.com/auth/classroom.addons.teacher", +"https://www.googleapis.com/auth/classroom.student-submissions.students.readonly" +] +}, +"patch": { +"description": "Updates data associated with an add-on attachment submission. Requires the add-on to have been the original creator of the attachment and the attachment to have a positive `max_points` value set. This method returns the following error codes: * `PERMISSION_DENIED` for access errors. * `INVALID_ARGUMENT` if the request is malformed. * `NOT_FOUND` if one of the identified resources does not exist.", +"flatPath": "v1/courses/{courseId}/posts/{postId}/addOnAttachments/{attachmentId}/studentSubmissions/{submissionId}", +"httpMethod": "PATCH", +"id": "classroom.courses.posts.addOnAttachments.studentSubmissions.patch", +"parameterOrder": [ +"courseId", +"postId", +"attachmentId", +"submissionId" +], +"parameters": { +"attachmentId": { +"description": "Required. Identifier of the attachment.", +"location": "path", +"required": true, +"type": "string" +}, +"courseId": { +"description": "Required. Identifier of the course.", +"location": "path", +"required": true, +"type": "string" +}, +"itemId": { +"description": "Identifier of the `Announcement`, `CourseWork`, or `CourseWorkMaterial` under which the attachment is attached. This field is required, but is not marked as such while we are migrating from post_id.", +"location": "query", +"type": "string" +}, +"postId": { +"description": "Optional. Deprecated, use `item_id` instead.", +"location": "path", +"required": true, +"type": "string" +}, +"submissionId": { +"description": "Required. Identifier of the student's submission.", +"location": "path", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Required. Mask that identifies which fields on the attachment to update. The update fails if invalid fields are specified. If a field supports empty values, it can be cleared by specifying it in the update mask and not in the `AddOnAttachmentStudentSubmission` object. The following fields may be specified by teachers: * `points_earned`", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/courses/{courseId}/posts/{postId}/addOnAttachments/{attachmentId}/studentSubmissions/{submissionId}", +"request": { +"$ref": "AddOnAttachmentStudentSubmission" +}, +"response": { +"$ref": "AddOnAttachmentStudentSubmission" +}, +"scopes": [ +"https://www.googleapis.com/auth/classroom.addons.teacher" +] +} +} +} +} +} +} +}, +"studentGroups": { +"methods": { +"create": { +"description": "Creates a student group for a course. This method returns the following error codes: * `PERMISSION_DENIED` if the requesting user is not permitted to create the student group or for access errors. * `NOT_FOUND` if the course does not exist or the requesting user doesn't have access to the course. * `FAILED_PRECONDITION` if creating the student group would exceed the maximum number of student groups per course.", +"flatPath": "v1/courses/{courseId}/studentGroups", +"httpMethod": "POST", +"id": "classroom.courses.studentGroups.create", +"parameterOrder": [ +"courseId" +], +"parameters": { +"courseId": { +"description": "Required. The identifier of the course.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v1/courses/{courseId}/studentGroups", +"request": { +"$ref": "StudentGroup" +}, +"response": { +"$ref": "StudentGroup" +}, +"scopes": [ +"https://www.googleapis.com/auth/classroom.rosters" +] +}, +"delete": { +"description": "Deletes a student group. This method returns the following error codes: * `PERMISSION_DENIED` if the requesting user is not permitted to delete the requested student group or for access errors. * `NOT_FOUND` if the student group does not exist or the user does not have access to the student group.", +"flatPath": "v1/courses/{courseId}/studentGroups/{id}", +"httpMethod": "DELETE", +"id": "classroom.courses.studentGroups.delete", +"parameterOrder": [ +"courseId", +"id" +], +"parameters": { +"courseId": { +"description": "Required. The identifier of the course containing the student group to delete.", +"location": "path", +"required": true, +"type": "string" +}, +"id": { +"description": "Required. The identifier of the student group to delete.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v1/courses/{courseId}/studentGroups/{id}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/classroom.rosters" +] +}, +"list": { +"description": "Returns a list of groups in a course. This method returns the following error codes: * `NOT_FOUND` if the course does not exist.", +"flatPath": "v1/courses/{courseId}/studentGroups", +"httpMethod": "GET", +"id": "classroom.courses.studentGroups.list", +"parameterOrder": [ +"courseId" +], +"parameters": { +"courseId": { +"description": "Required. The identifier of the course.", +"location": "path", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "Maximum number of items to return. Zero or unspecified indicates that the server may assign a maximum, which is currently set to 75 items. The server may return fewer than the specified number of results.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "nextPageToken value returned from a previous list call, indicating that the subsequent page of results should be returned. The list request must be otherwise identical to the one that resulted in this token.", +"location": "query", +"type": "string" +} +}, +"path": "v1/courses/{courseId}/studentGroups", +"response": { +"$ref": "ListStudentGroupsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/classroom.rosters", +"https://www.googleapis.com/auth/classroom.rosters.readonly" +] +}, +"patch": { +"description": "Updates one or more fields in a student group. This method returns the following error codes: * `PERMISSION_DENIED` if the requesting user is not permitted to modify the requested student group or for access errors. * `NOT_FOUND` if the student group does not exist or the user does not have access to the student group. * `INVALID_ARGUMENT` if invalid fields are specified in the update mask or if no update mask is supplied.", +"flatPath": "v1/courses/{courseId}/studentGroups/{id}", +"httpMethod": "PATCH", +"id": "classroom.courses.studentGroups.patch", +"parameterOrder": [ +"courseId", +"id" +], +"parameters": { +"courseId": { +"description": "Required. Identifier of the course.", +"location": "path", +"required": true, +"type": "string" +}, +"id": { +"description": "Required. Identifier of the student group.", +"location": "path", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Required. Mask that identifies which fields on the student group to update. This field is required to do an update. The update fails if invalid fields are specified. The following fields can be specified by teachers: * `title`", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/courses/{courseId}/studentGroups/{id}", +"request": { +"$ref": "StudentGroup" +}, +"response": { +"$ref": "StudentGroup" +}, +"scopes": [ +"https://www.googleapis.com/auth/classroom.rosters" +] +} +}, +"resources": { +"studentGroupMembers": { +"methods": { +"create": { +"description": "Creates a student group member for a student group. This method returns the following error codes: * `PERMISSION_DENIED` if the requesting user is not permitted to create the student group or member for access errors. * `NOT_FOUND` if the student group does not exist or the user does not have access to the student group. * `ALREADY_EXISTS` if the student group member already exists. * `FAILED_PRECONDITION` if attempting to add a member to a student group that has reached its member limit.", +"flatPath": "v1/courses/{courseId}/studentGroups/{studentGroupId}/studentGroupMembers", +"httpMethod": "POST", +"id": "classroom.courses.studentGroups.studentGroupMembers.create", +"parameterOrder": [ +"courseId", +"studentGroupId" +], +"parameters": { +"courseId": { +"description": "Required. The identifier of the course.", +"location": "path", +"required": true, +"type": "string" +}, +"studentGroupId": { +"description": "Required. The identifier of the student group.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v1/courses/{courseId}/studentGroups/{studentGroupId}/studentGroupMembers", +"request": { +"$ref": "StudentGroupMember" +}, +"response": { +"$ref": "StudentGroupMember" +}, +"scopes": [ +"https://www.googleapis.com/auth/classroom.rosters" +] +}, +"delete": { +"description": "Deletes a student group member. This method returns the following error codes: * `PERMISSION_DENIED` if the requesting user is not permitted to delete the requested student group member or for access errors. * `NOT_FOUND` if the student group member does not exist or the user does not have access to the student group.", +"flatPath": "v1/courses/{courseId}/studentGroups/{studentGroupId}/studentGroupMembers/{userId}", +"httpMethod": "DELETE", +"id": "classroom.courses.studentGroups.studentGroupMembers.delete", +"parameterOrder": [ +"courseId", +"studentGroupId", +"userId" +], +"parameters": { +"courseId": { +"description": "Required. The identifier of the course containing the relevant student group.", +"location": "path", +"required": true, +"type": "string" +}, +"studentGroupId": { +"description": "Required. The identifier of the student group containing the student group member to delete.", +"location": "path", +"required": true, +"type": "string" +}, +"userId": { +"description": "Required. The identifier of the student group member to delete.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v1/courses/{courseId}/studentGroups/{studentGroupId}/studentGroupMembers/{userId}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/classroom.rosters" +] +}, +"list": { +"description": "Returns a list of students in a group. This method returns the following error codes: * `NOT_FOUND` if the course or student group does not exist.", +"flatPath": "v1/courses/{courseId}/studentGroups/{studentGroupId}/studentGroupMembers", +"httpMethod": "GET", +"id": "classroom.courses.studentGroups.studentGroupMembers.list", +"parameterOrder": [ +"courseId", +"studentGroupId" +], +"parameters": { +"courseId": { +"description": "Required. The identifier of the course.", +"location": "path", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "Maximum number of items to return. Zero or unspecified indicates that the server may assign a maximum. The server may return fewer than the specified number of results.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "nextPageToken value returned from a previous list call, indicating that the subsequent page of results should be returned. The list request must be otherwise identical to the one that resulted in this token.", +"location": "query", +"type": "string" +}, +"studentGroupId": { +"description": "Required. The identifier of the student group.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v1/courses/{courseId}/studentGroups/{studentGroupId}/studentGroupMembers", +"response": { +"$ref": "ListStudentGroupMembersResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/classroom.rosters", +"https://www.googleapis.com/auth/classroom.rosters.readonly" +] +} +} +} +} +}, +"students": { +"methods": { +"create": { +"description": "Adds a user as a student of a course. Domain administrators are permitted to [directly add](https://developers.google.com/workspace/classroom/guides/manage-users) users within their domain as students to courses within their domain. Students are permitted to add themselves to a course using an enrollment code. This method returns the following error codes: * `PERMISSION_DENIED` if the requesting user is not permitted to create students in this course or for access errors. * `NOT_FOUND` if the requested course ID does not exist. * `FAILED_PRECONDITION` if the requested user's account is disabled, for the following request errors: * CourseMemberLimitReached * CourseNotModifiable * UserGroupsMembershipLimitReached * InactiveCourseOwner * `ALREADY_EXISTS` if the user is already a student or teacher in the course.", +"flatPath": "v1/courses/{courseId}/students", +"httpMethod": "POST", +"id": "classroom.courses.students.create", +"parameterOrder": [ +"courseId" +], +"parameters": { +"courseId": { +"description": "Identifier of the course to create the student in. This identifier can be either the Classroom-assigned identifier or an alias.", +"location": "path", +"required": true, +"type": "string" +}, +"enrollmentCode": { +"description": "Enrollment code of the course to create the student in. This code is required if userId corresponds to the requesting user; it may be omitted if the requesting user has administrative permissions to create students for any user.", +"location": "query", +"type": "string" +} +}, +"path": "v1/courses/{courseId}/students", +"request": { +"$ref": "Student" +}, +"response": { +"$ref": "Student" +}, +"scopes": [ +"https://www.googleapis.com/auth/classroom.profile.emails", +"https://www.googleapis.com/auth/classroom.profile.photos", +"https://www.googleapis.com/auth/classroom.rosters" +] +}, +"delete": { +"description": "Deletes a student of a course. This method returns the following error codes: * `PERMISSION_DENIED` if the requesting user is not permitted to delete students of this course or for access errors. * `NOT_FOUND` if no student of this course has the requested ID or if the course does not exist.", +"flatPath": "v1/courses/{courseId}/students/{userId}", +"httpMethod": "DELETE", +"id": "classroom.courses.students.delete", +"parameterOrder": [ +"courseId", +"userId" +], +"parameters": { +"courseId": { +"description": "Identifier of the course. This identifier can be either the Classroom-assigned identifier or an alias.", +"location": "path", +"required": true, +"type": "string" +}, +"userId": { +"description": "Identifier of the student to delete. The identifier can be one of the following: * the numeric identifier for the user * the email address of the user * the string literal `\"me\"`, indicating the requesting user", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v1/courses/{courseId}/students/{userId}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/classroom.rosters" +] +}, +"get": { +"description": "Returns a student of a course. This method returns the following error codes: * `PERMISSION_DENIED` if the requesting user is not permitted to view students of this course or for access errors. * `NOT_FOUND` if no student of this course has the requested ID or if the course does not exist.", +"flatPath": "v1/courses/{courseId}/students/{userId}", +"httpMethod": "GET", +"id": "classroom.courses.students.get", +"parameterOrder": [ +"courseId", +"userId" +], +"parameters": { +"courseId": { +"description": "Identifier of the course. This identifier can be either the Classroom-assigned identifier or an alias.", +"location": "path", +"required": true, +"type": "string" +}, +"userId": { +"description": "Identifier of the student to return. The identifier can be one of the following: * the numeric identifier for the user * the email address of the user * the string literal `\"me\"`, indicating the requesting user", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v1/courses/{courseId}/students/{userId}", +"response": { +"$ref": "Student" +}, +"scopes": [ +"https://www.googleapis.com/auth/classroom.profile.emails", +"https://www.googleapis.com/auth/classroom.profile.photos", +"https://www.googleapis.com/auth/classroom.rosters", +"https://www.googleapis.com/auth/classroom.rosters.readonly" +] +}, +"list": { +"description": "Returns a list of students of this course that the requester is permitted to view. This method returns the following error codes: * `NOT_FOUND` if the course does not exist. * `PERMISSION_DENIED` for access errors.", +"flatPath": "v1/courses/{courseId}/students", +"httpMethod": "GET", +"id": "classroom.courses.students.list", +"parameterOrder": [ +"courseId" +], +"parameters": { +"courseId": { +"description": "Identifier of the course. This identifier can be either the Classroom-assigned identifier or an alias.", +"location": "path", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "Maximum number of items to return. The default is 30 if unspecified or `0`. The server may return fewer than the specified number of results.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "nextPageToken value returned from a previous list call, indicating that the subsequent page of results should be returned. The list request must be otherwise identical to the one that resulted in this token.", +"location": "query", +"type": "string" +} +}, +"path": "v1/courses/{courseId}/students", +"response": { +"$ref": "ListStudentsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/classroom.profile.emails", +"https://www.googleapis.com/auth/classroom.profile.photos", +"https://www.googleapis.com/auth/classroom.rosters", +"https://www.googleapis.com/auth/classroom.rosters.readonly" +] +} +} +}, +"teachers": { +"methods": { +"create": { +"description": "Creates a teacher of a course. Domain administrators are permitted to [directly add](https://developers.google.com/workspace/classroom/guides/manage-users) users within their domain as teachers to courses within their domain. Non-admin users should send an Invitation instead. This method returns the following error codes: * `PERMISSION_DENIED` if the requesting user is not permitted to create teachers in this course or for access errors. * `NOT_FOUND` if the requested course ID does not exist. * `FAILED_PRECONDITION` if the requested user's account is disabled, for the following request errors: * CourseMemberLimitReached * CourseNotModifiable * CourseTeacherLimitReached * UserGroupsMembershipLimitReached * InactiveCourseOwner * `ALREADY_EXISTS` if the user is already a teacher or student in the course.", +"flatPath": "v1/courses/{courseId}/teachers", +"httpMethod": "POST", +"id": "classroom.courses.teachers.create", +"parameterOrder": [ +"courseId" +], +"parameters": { +"courseId": { +"description": "Identifier of the course. This identifier can be either the Classroom-assigned identifier or an alias.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v1/courses/{courseId}/teachers", +"request": { +"$ref": "Teacher" +}, +"response": { +"$ref": "Teacher" +}, +"scopes": [ +"https://www.googleapis.com/auth/classroom.profile.emails", +"https://www.googleapis.com/auth/classroom.profile.photos", +"https://www.googleapis.com/auth/classroom.rosters" +] +}, +"delete": { +"description": "Removes the specified teacher from the specified course. This method returns the following error codes: * `PERMISSION_DENIED` if the requesting user is not permitted to delete teachers of this course or for access errors. * `NOT_FOUND` if no teacher of this course has the requested ID or if the course does not exist. * `FAILED_PRECONDITION` if the requested ID belongs to the primary teacher of this course. * `FAILED_PRECONDITION` if the requested ID belongs to the owner of the course Drive folder. * `FAILED_PRECONDITION` if the course no longer has an active owner.", +"flatPath": "v1/courses/{courseId}/teachers/{userId}", +"httpMethod": "DELETE", +"id": "classroom.courses.teachers.delete", +"parameterOrder": [ +"courseId", +"userId" +], +"parameters": { +"courseId": { +"description": "Identifier of the course. This identifier can be either the Classroom-assigned identifier or an alias.", +"location": "path", +"required": true, +"type": "string" +}, +"userId": { +"description": "Identifier of the teacher to delete. The identifier can be one of the following: * the numeric identifier for the user * the email address of the user * the string literal `\"me\"`, indicating the requesting user", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v1/courses/{courseId}/teachers/{userId}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/classroom.rosters" +] +}, +"get": { +"description": "Returns a teacher of a course. This method returns the following error codes: * `PERMISSION_DENIED` if the requesting user is not permitted to view teachers of this course or for access errors. * `NOT_FOUND` if no teacher of this course has the requested ID or if the course does not exist.", +"flatPath": "v1/courses/{courseId}/teachers/{userId}", +"httpMethod": "GET", +"id": "classroom.courses.teachers.get", +"parameterOrder": [ +"courseId", +"userId" +], +"parameters": { +"courseId": { +"description": "Identifier of the course. This identifier can be either the Classroom-assigned identifier or an alias.", +"location": "path", +"required": true, +"type": "string" +}, +"userId": { +"description": "Identifier of the teacher to return. The identifier can be one of the following: * the numeric identifier for the user * the email address of the user * the string literal `\"me\"`, indicating the requesting user", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v1/courses/{courseId}/teachers/{userId}", +"response": { +"$ref": "Teacher" +}, +"scopes": [ +"https://www.googleapis.com/auth/classroom.profile.emails", +"https://www.googleapis.com/auth/classroom.profile.photos", +"https://www.googleapis.com/auth/classroom.rosters", +"https://www.googleapis.com/auth/classroom.rosters.readonly" +] +}, +"list": { +"description": "Returns a list of teachers of this course that the requester is permitted to view. This method returns the following error codes: * `NOT_FOUND` if the course does not exist. * `PERMISSION_DENIED` for access errors.", +"flatPath": "v1/courses/{courseId}/teachers", +"httpMethod": "GET", +"id": "classroom.courses.teachers.list", +"parameterOrder": [ +"courseId" +], +"parameters": { +"courseId": { +"description": "Identifier of the course. This identifier can be either the Classroom-assigned identifier or an alias.", +"location": "path", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "Maximum number of items to return. The default is 30 if unspecified or `0`. The server may return fewer than the specified number of results.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "nextPageToken value returned from a previous list call, indicating that the subsequent page of results should be returned. The list request must be otherwise identical to the one that resulted in this token.", +"location": "query", +"type": "string" +} +}, +"path": "v1/courses/{courseId}/teachers", +"response": { +"$ref": "ListTeachersResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/classroom.profile.emails", +"https://www.googleapis.com/auth/classroom.profile.photos", +"https://www.googleapis.com/auth/classroom.rosters", +"https://www.googleapis.com/auth/classroom.rosters.readonly" +] +} +} +}, +"topics": { +"methods": { +"create": { +"description": "Creates a topic. This method returns the following error codes: * `PERMISSION_DENIED` if the requesting user is not permitted to access the requested course, create a topic in the requested course, or for access errors. * `INVALID_ARGUMENT` if the request is malformed. * `ALREADY_EXISTS` if there exists a topic in the course with the same name. * `FAILED_PRECONDITION` for the following request error: * CourseTopicLimitReached * `NOT_FOUND` if the requested course does not exist.", +"flatPath": "v1/courses/{courseId}/topics", +"httpMethod": "POST", +"id": "classroom.courses.topics.create", +"parameterOrder": [ +"courseId" +], +"parameters": { +"courseId": { +"description": "Identifier of the course. This identifier can be either the Classroom-assigned identifier or an alias.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v1/courses/{courseId}/topics", +"request": { +"$ref": "Topic" +}, +"response": { +"$ref": "Topic" +}, +"scopes": [ +"https://www.googleapis.com/auth/classroom.topics" +] +}, +"delete": { +"description": "Deletes a topic. This method returns the following error codes: * `PERMISSION_DENIED` if the requesting user is not allowed to delete the requested topic or for access errors. * `FAILED_PRECONDITION` if the requested topic has already been deleted. * `NOT_FOUND` if no course or topic exists with the requested ID.", +"flatPath": "v1/courses/{courseId}/topics/{id}", +"httpMethod": "DELETE", +"id": "classroom.courses.topics.delete", +"parameterOrder": [ +"courseId", +"id" +], +"parameters": { +"courseId": { +"description": "Identifier of the course. This identifier can be either the Classroom-assigned identifier or an alias.", +"location": "path", +"required": true, +"type": "string" +}, +"id": { +"description": "Identifier of the topic to delete.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v1/courses/{courseId}/topics/{id}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/classroom.topics" +] +}, +"get": { +"description": "Returns a topic. This method returns the following error codes: * `PERMISSION_DENIED` if the requesting user is not permitted to access the requested course or topic, or for access errors. * `INVALID_ARGUMENT` if the request is malformed. * `NOT_FOUND` if the requested course or topic does not exist.", +"flatPath": "v1/courses/{courseId}/topics/{id}", +"httpMethod": "GET", +"id": "classroom.courses.topics.get", +"parameterOrder": [ +"courseId", +"id" +], +"parameters": { +"courseId": { +"description": "Identifier of the course.", +"location": "path", +"required": true, +"type": "string" +}, +"id": { +"description": "Identifier of the topic.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v1/courses/{courseId}/topics/{id}", +"response": { +"$ref": "Topic" +}, +"scopes": [ +"https://www.googleapis.com/auth/classroom.topics", +"https://www.googleapis.com/auth/classroom.topics.readonly" +] +}, +"list": { +"description": "Returns the list of topics that the requester is permitted to view. This method returns the following error codes: * `PERMISSION_DENIED` if the requesting user is not permitted to access the requested course or for access errors. * `INVALID_ARGUMENT` if the request is malformed. * `NOT_FOUND` if the requested course does not exist.", +"flatPath": "v1/courses/{courseId}/topics", +"httpMethod": "GET", +"id": "classroom.courses.topics.list", +"parameterOrder": [ +"courseId" +], +"parameters": { +"courseId": { +"description": "Identifier of the course. This identifier can be either the Classroom-assigned identifier or an alias.", +"location": "path", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "Maximum number of items to return. Zero or unspecified indicates that the server may assign a maximum. The server may return fewer than the specified number of results.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "nextPageToken value returned from a previous list call, indicating that the subsequent page of results should be returned. The list request must be otherwise identical to the one that resulted in this token.", +"location": "query", +"type": "string" +} +}, +"path": "v1/courses/{courseId}/topics", +"response": { +"$ref": "ListTopicResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/classroom.topics", +"https://www.googleapis.com/auth/classroom.topics.readonly" +] +}, +"patch": { +"description": "Updates one or more fields of a topic. This method returns the following error codes: * `PERMISSION_DENIED` if the requesting developer project did not create the corresponding topic or for access errors. * `INVALID_ARGUMENT` if the request is malformed. * `FAILED_PRECONDITION` if there exists a topic in the course with the same name. * `NOT_FOUND` if the requested course or topic does not exist", +"flatPath": "v1/courses/{courseId}/topics/{id}", +"httpMethod": "PATCH", +"id": "classroom.courses.topics.patch", +"parameterOrder": [ +"courseId", +"id" +], +"parameters": { +"courseId": { +"description": "Identifier of the course. This identifier can be either the Classroom-assigned identifier or an alias.", +"location": "path", +"required": true, +"type": "string" +}, +"id": { +"description": "Identifier of the topic.", +"location": "path", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Mask that identifies which fields on the topic to update. This field is required to do an update. The update fails if invalid fields are specified. If a field supports empty values, it can be cleared by specifying it in the update mask and not in the Topic object. If a field that does not support empty values is included in the update mask and not set in the Topic object, an `INVALID_ARGUMENT` error is returned. The following fields may be specified: * `name`", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/courses/{courseId}/topics/{id}", +"request": { +"$ref": "Topic" +}, +"response": { +"$ref": "Topic" +}, +"scopes": [ +"https://www.googleapis.com/auth/classroom.topics" +] +} +} +} +} +}, +"invitations": { +"methods": { +"accept": { +"description": "Accepts an invitation, removing it and adding the invited user to the teachers or students (as appropriate) of the specified course. Only the invited user may accept an invitation. This method returns the following error codes: * `PERMISSION_DENIED` if the requesting user is not permitted to accept the requested invitation or for access errors. * `FAILED_PRECONDITION` for the following request errors: * CourseMemberLimitReached * CourseNotModifiable * CourseTeacherLimitReached * UserGroupsMembershipLimitReached * `NOT_FOUND` if no invitation exists with the requested ID.", +"flatPath": "v1/invitations/{id}:accept", +"httpMethod": "POST", +"id": "classroom.invitations.accept", +"parameterOrder": [ +"id" +], +"parameters": { +"id": { +"description": "Identifier of the invitation to accept.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v1/invitations/{id}:accept", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/classroom.rosters" +] +}, +"create": { +"description": "Creates an invitation. Only one invitation for a user and course may exist at a time. Delete and re-create an invitation to make changes. This method returns the following error codes: * `PERMISSION_DENIED` if the requesting user is not permitted to create invitations for this course or for access errors. * `NOT_FOUND` if the course or the user does not exist. * `FAILED_PRECONDITION`: * if the requested user's account is disabled. * if the user already has this role or a role with greater permissions. * for the following request errors: * IneligibleOwner * `ALREADY_EXISTS` if an invitation for the specified user and course already exists.", +"flatPath": "v1/invitations", +"httpMethod": "POST", +"id": "classroom.invitations.create", +"parameterOrder": [], +"parameters": {}, +"path": "v1/invitations", +"request": { +"$ref": "Invitation" +}, +"response": { +"$ref": "Invitation" +}, +"scopes": [ +"https://www.googleapis.com/auth/classroom.rosters" +] +}, +"delete": { +"description": "Deletes an invitation. This method returns the following error codes: * `PERMISSION_DENIED` if the requesting user is not permitted to delete the requested invitation or for access errors. * `NOT_FOUND` if no invitation exists with the requested ID.", +"flatPath": "v1/invitations/{id}", +"httpMethod": "DELETE", +"id": "classroom.invitations.delete", +"parameterOrder": [ +"id" +], +"parameters": { +"id": { +"description": "Identifier of the invitation to delete.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v1/invitations/{id}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/classroom.rosters" +] +}, +"get": { +"description": "Returns an invitation. This method returns the following error codes: * `PERMISSION_DENIED` if the requesting user is not permitted to view the requested invitation or for access errors. * `NOT_FOUND` if no invitation exists with the requested ID.", +"flatPath": "v1/invitations/{id}", +"httpMethod": "GET", +"id": "classroom.invitations.get", +"parameterOrder": [ +"id" +], +"parameters": { +"id": { +"description": "Identifier of the invitation to return.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v1/invitations/{id}", +"response": { +"$ref": "Invitation" +}, +"scopes": [ +"https://www.googleapis.com/auth/classroom.rosters", +"https://www.googleapis.com/auth/classroom.rosters.readonly" +] +}, +"list": { +"description": "Returns a list of invitations that the requesting user is permitted to view, restricted to those that match the list request. *Note:* At least one of `user_id` or `course_id` must be supplied. Both fields can be supplied. This method returns the following error codes: * `PERMISSION_DENIED` for access errors.", +"flatPath": "v1/invitations", +"httpMethod": "GET", +"id": "classroom.invitations.list", +"parameterOrder": [], +"parameters": { +"courseId": { +"description": "Restricts returned invitations to those for a course with the specified identifier.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Maximum number of items to return. The default is 500 if unspecified or `0`. The server may return fewer than the specified number of results.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "nextPageToken value returned from a previous list call, indicating that the subsequent page of results should be returned. The list request must be otherwise identical to the one that resulted in this token.", +"location": "query", +"type": "string" +}, +"userId": { +"description": "Restricts returned invitations to those for a specific user. The identifier can be one of the following: * the numeric identifier for the user * the email address of the user * the string literal `\"me\"`, indicating the requesting user", +"location": "query", +"type": "string" +} +}, +"path": "v1/invitations", +"response": { +"$ref": "ListInvitationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/classroom.rosters", +"https://www.googleapis.com/auth/classroom.rosters.readonly" +] +} +} +}, +"registrations": { +"methods": { +"create": { +"description": "Creates a `Registration`, causing Classroom to start sending notifications from the provided `feed` to the destination provided in `cloudPubSubTopic`. Returns the created `Registration`. Currently, this will be the same as the argument, but with server-assigned fields such as `expiry_time` and `id` filled in. Note that any value specified for the `expiry_time` or `id` fields will be ignored. While Classroom may validate the `cloudPubSubTopic` and return errors on a best effort basis, it is the caller's responsibility to ensure that it exists and that Classroom has permission to publish to it. This method may return the following error codes: * `PERMISSION_DENIED` if: * the authenticated user does not have permission to receive notifications from the requested field; or * the current user has not granted access to the current Cloud project with the appropriate scope for the requested feed. Note that domain-wide delegation of authority is not currently supported for this purpose. If the request has the appropriate scope, but no grant exists, a Request Errors is returned. * another access error is encountered. * `INVALID_ARGUMENT` if: * no `cloudPubsubTopic` is specified, or the specified `cloudPubsubTopic` is not valid; or * no `feed` is specified, or the specified `feed` is not valid. * `NOT_FOUND` if: * the specified `feed` cannot be located, or the requesting user does not have permission to determine whether or not it exists; or * the specified `cloudPubsubTopic` cannot be located, or Classroom has not been granted permission to publish to it.", +"flatPath": "v1/registrations", +"httpMethod": "POST", +"id": "classroom.registrations.create", +"parameterOrder": [], +"parameters": {}, +"path": "v1/registrations", +"request": { +"$ref": "Registration" +}, +"response": { +"$ref": "Registration" +}, +"scopes": [ +"https://www.googleapis.com/auth/classroom.push-notifications" +] +}, +"delete": { +"description": "Deletes a `Registration`, causing Classroom to stop sending notifications for that `Registration`.", +"flatPath": "v1/registrations/{registrationId}", +"httpMethod": "DELETE", +"id": "classroom.registrations.delete", +"parameterOrder": [ +"registrationId" +], +"parameters": { +"registrationId": { +"description": "The `registration_id` of the `Registration` to be deleted.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v1/registrations/{registrationId}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/classroom.push-notifications" +] +} +} +}, +"userProfiles": { +"methods": { +"get": { +"description": "Returns a user profile. This method returns the following error codes: * `PERMISSION_DENIED` if the requesting user is not permitted to access this user profile, if no profile exists with the requested ID, or for access errors.", +"flatPath": "v1/userProfiles/{userId}", +"httpMethod": "GET", +"id": "classroom.userProfiles.get", +"parameterOrder": [ +"userId" +], +"parameters": { +"userId": { +"description": "Identifier of the profile to return. The identifier can be one of the following: * the numeric identifier for the user * the email address of the user * the string literal `\"me\"`, indicating the requesting user", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v1/userProfiles/{userId}", +"response": { +"$ref": "UserProfile" +}, +"scopes": [ +"https://www.googleapis.com/auth/classroom.profile.emails", +"https://www.googleapis.com/auth/classroom.profile.photos", +"https://www.googleapis.com/auth/classroom.rosters", +"https://www.googleapis.com/auth/classroom.rosters.readonly" +] +} +}, +"resources": { +"guardianInvitations": { +"methods": { +"create": { +"description": "Creates a guardian invitation, and sends an email to the guardian asking them to confirm that they are the student's guardian. Once the guardian accepts the invitation, their `state` will change to `COMPLETED` and they will start receiving guardian notifications. A `Guardian` resource will also be created to represent the active guardian. The request object must have the `student_id` and `invited_email_address` fields set. Failing to set these fields, or setting any other fields in the request, will result in an error. This method returns the following error codes: * `PERMISSION_DENIED` if the current user does not have permission to manage guardians, if the guardian in question has already rejected too many requests for that student, if guardians are not enabled for the domain in question, or for other access errors. * `RESOURCE_EXHAUSTED` if the student or guardian has exceeded the guardian link limit. * `INVALID_ARGUMENT` if the guardian email address is not valid (for example, if it is too long), or if the format of the student ID provided cannot be recognized (it is not an email address, nor a `user_id` from this API). This error will also be returned if read-only fields are set, or if the `state` field is set to to a value other than `PENDING`. * `NOT_FOUND` if the student ID provided is a valid student ID, but Classroom has no record of that student. * `ALREADY_EXISTS` if there is already a pending guardian invitation for the student and `invited_email_address` provided, or if the provided `invited_email_address` matches the Google account of an existing `Guardian` for this user.", +"flatPath": "v1/userProfiles/{studentId}/guardianInvitations", +"httpMethod": "POST", +"id": "classroom.userProfiles.guardianInvitations.create", +"parameterOrder": [ +"studentId" +], +"parameters": { +"studentId": { +"description": "ID of the student (in standard format)", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v1/userProfiles/{studentId}/guardianInvitations", +"request": { +"$ref": "GuardianInvitation" +}, +"response": { +"$ref": "GuardianInvitation" +}, +"scopes": [ +"https://www.googleapis.com/auth/classroom.guardianlinks.students" +] +}, +"get": { +"description": "Returns a specific guardian invitation. This method returns the following error codes: * `PERMISSION_DENIED` if the requesting user is not permitted to view guardian invitations for the student identified by the `student_id`, if guardians are not enabled for the domain in question, or for other access errors. * `INVALID_ARGUMENT` if a `student_id` is specified, but its format cannot be recognized (it is not an email address, nor a `student_id` from the API, nor the literal string `me`). * `NOT_FOUND` if Classroom cannot find any record of the given student or `invitation_id`. May also be returned if the student exists, but the requesting user does not have access to see that student.", +"flatPath": "v1/userProfiles/{studentId}/guardianInvitations/{invitationId}", +"httpMethod": "GET", +"id": "classroom.userProfiles.guardianInvitations.get", +"parameterOrder": [ +"studentId", +"invitationId" +], +"parameters": { +"invitationId": { +"description": "The `id` field of the `GuardianInvitation` being requested.", +"location": "path", +"required": true, +"type": "string" +}, +"studentId": { +"description": "The ID of the student whose guardian invitation is being requested.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v1/userProfiles/{studentId}/guardianInvitations/{invitationId}", +"response": { +"$ref": "GuardianInvitation" +}, +"scopes": [ +"https://www.googleapis.com/auth/classroom.guardianlinks.students", +"https://www.googleapis.com/auth/classroom.guardianlinks.students.readonly" +] +}, +"list": { +"description": "Returns a list of guardian invitations that the requesting user is permitted to view, filtered by the parameters provided. This method returns the following error codes: * `PERMISSION_DENIED` if a `student_id` is specified, and the requesting user is not permitted to view guardian invitations for that student, if `\"-\"` is specified as the `student_id` and the user is not a domain administrator, if guardians are not enabled for the domain in question, or for other access errors. * `INVALID_ARGUMENT` if a `student_id` is specified, but its format cannot be recognized (it is not an email address, nor a `student_id` from the API, nor the literal string `me`). May also be returned if an invalid `page_token` or `state` is provided. * `NOT_FOUND` if a `student_id` is specified, and its format can be recognized, but Classroom has no record of that student.", +"flatPath": "v1/userProfiles/{studentId}/guardianInvitations", +"httpMethod": "GET", +"id": "classroom.userProfiles.guardianInvitations.list", +"parameterOrder": [ +"studentId" +], +"parameters": { +"invitedEmailAddress": { +"description": "If specified, only results with the specified `invited_email_address` are returned.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Maximum number of items to return. Zero or unspecified indicates that the server may assign a maximum. The server may return fewer than the specified number of results.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "nextPageToken value returned from a previous list call, indicating that the subsequent page of results should be returned. The list request must be otherwise identical to the one that resulted in this token.", +"location": "query", +"type": "string" +}, +"states": { +"description": "If specified, only results with the specified `state` values are returned. Otherwise, results with a `state` of `PENDING` are returned.", +"enum": [ +"GUARDIAN_INVITATION_STATE_UNSPECIFIED", +"PENDING", +"COMPLETE" +], +"enumDescriptions": [ +"Should never be returned.", +"The invitation is active and awaiting a response.", +"The invitation is no longer active. It may have been accepted, declined, withdrawn or it may have expired." +], +"location": "query", +"repeated": true, +"type": "string" +}, +"studentId": { +"description": "The ID of the student whose guardian invitations are to be returned. The identifier can be one of the following: * the numeric identifier for the user * the email address of the user * the string literal `\"me\"`, indicating the requesting user * the string literal `\"-\"`, indicating that results should be returned for all students that the requesting user is permitted to view guardian invitations.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v1/userProfiles/{studentId}/guardianInvitations", +"response": { +"$ref": "ListGuardianInvitationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/classroom.guardianlinks.students", +"https://www.googleapis.com/auth/classroom.guardianlinks.students.readonly" +] +}, +"patch": { +"description": "Modifies a guardian invitation. Currently, the only valid modification is to change the `state` from `PENDING` to `COMPLETE`. This has the effect of withdrawing the invitation. This method returns the following error codes: * `PERMISSION_DENIED` if the current user does not have permission to manage guardians, if guardians are not enabled for the domain in question or for other access errors. * `FAILED_PRECONDITION` if the guardian link is not in the `PENDING` state. * `INVALID_ARGUMENT` if the format of the student ID provided cannot be recognized (it is not an email address, nor a `user_id` from this API), or if the passed `GuardianInvitation` has a `state` other than `COMPLETE`, or if it modifies fields other than `state`. * `NOT_FOUND` if the student ID provided is a valid student ID, but Classroom has no record of that student, or if the `id` field does not refer to a guardian invitation known to Classroom.", +"flatPath": "v1/userProfiles/{studentId}/guardianInvitations/{invitationId}", +"httpMethod": "PATCH", +"id": "classroom.userProfiles.guardianInvitations.patch", +"parameterOrder": [ +"studentId", +"invitationId" +], +"parameters": { +"invitationId": { +"description": "The `id` field of the `GuardianInvitation` to be modified.", +"location": "path", +"required": true, +"type": "string" +}, +"studentId": { +"description": "The ID of the student whose guardian invitation is to be modified.", +"location": "path", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Mask that identifies which fields on the course to update. This field is required to do an update. The update fails if invalid fields are specified. The following fields are valid: * `state` When set in a query parameter, this field should be specified as `updateMask=,,...`", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/userProfiles/{studentId}/guardianInvitations/{invitationId}", +"request": { +"$ref": "GuardianInvitation" +}, +"response": { +"$ref": "GuardianInvitation" +}, +"scopes": [ +"https://www.googleapis.com/auth/classroom.guardianlinks.students" +] +} +} +}, +"guardians": { +"methods": { +"delete": { +"description": "Deletes a guardian. The guardian will no longer receive guardian notifications and the guardian will no longer be accessible via the API. This method returns the following error codes: * `PERMISSION_DENIED` if no user that matches the provided `student_id` is visible to the requesting user, if the requesting user is not permitted to manage guardians for the student identified by the `student_id`, if guardians are not enabled for the domain in question, or for other access errors. * `INVALID_ARGUMENT` if a `student_id` is specified, but its format cannot be recognized (it is not an email address, nor a `student_id` from the API). * `NOT_FOUND` if the requesting user is permitted to modify guardians for the requested `student_id`, but no `Guardian` record exists for that student with the provided `guardian_id`.", +"flatPath": "v1/userProfiles/{studentId}/guardians/{guardianId}", +"httpMethod": "DELETE", +"id": "classroom.userProfiles.guardians.delete", +"parameterOrder": [ +"studentId", +"guardianId" +], +"parameters": { +"guardianId": { +"description": "The `id` field from a `Guardian`.", +"location": "path", +"required": true, +"type": "string" +}, +"studentId": { +"description": "The student whose guardian is to be deleted. One of the following: * the numeric identifier for the user * the email address of the user * the string literal `\"me\"`, indicating the requesting user", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v1/userProfiles/{studentId}/guardians/{guardianId}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/classroom.guardianlinks.students" +] +}, +"get": { +"description": "Returns a specific guardian. This method returns the following error codes: * `PERMISSION_DENIED` if no user that matches the provided `student_id` is visible to the requesting user, if the requesting user is not permitted to view guardian information for the student identified by the `student_id`, if guardians are not enabled for the domain in question, or for other access errors. * `INVALID_ARGUMENT` if a `student_id` is specified, but its format cannot be recognized (it is not an email address, nor a `student_id` from the API, nor the literal string `me`). * `NOT_FOUND` if the requesting user is permitted to view guardians for the requested `student_id`, but no `Guardian` record exists for that student that matches the provided `guardian_id`.", +"flatPath": "v1/userProfiles/{studentId}/guardians/{guardianId}", +"httpMethod": "GET", +"id": "classroom.userProfiles.guardians.get", +"parameterOrder": [ +"studentId", +"guardianId" +], +"parameters": { +"guardianId": { +"description": "The `id` field from a `Guardian`.", +"location": "path", +"required": true, +"type": "string" +}, +"studentId": { +"description": "The student whose guardian is being requested. One of the following: * the numeric identifier for the user * the email address of the user * the string literal `\"me\"`, indicating the requesting user", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v1/userProfiles/{studentId}/guardians/{guardianId}", +"response": { +"$ref": "Guardian" +}, +"scopes": [ +"https://www.googleapis.com/auth/classroom.guardianlinks.me.readonly", +"https://www.googleapis.com/auth/classroom.guardianlinks.students", +"https://www.googleapis.com/auth/classroom.guardianlinks.students.readonly" +] +}, +"list": { +"description": "Returns a list of guardians that the requesting user is permitted to view, restricted to those that match the request. To list guardians for any student that the requesting user may view guardians for, use the literal character `-` for the student ID. This method returns the following error codes: * `PERMISSION_DENIED` if a `student_id` is specified, and the requesting user is not permitted to view guardian information for that student, if `\"-\"` is specified as the `student_id` and the user is not a domain administrator, if guardians are not enabled for the domain in question, if the `invited_email_address` filter is set by a user who is not a domain administrator, or for other access errors. * `INVALID_ARGUMENT` if a `student_id` is specified, but its format cannot be recognized (it is not an email address, nor a `student_id` from the API, nor the literal string `me`). May also be returned if an invalid `page_token` is provided. * `NOT_FOUND` if a `student_id` is specified, and its format can be recognized, but Classroom has no record of that student.", +"flatPath": "v1/userProfiles/{studentId}/guardians", +"httpMethod": "GET", +"id": "classroom.userProfiles.guardians.list", +"parameterOrder": [ +"studentId" +], +"parameters": { +"invitedEmailAddress": { +"description": "Filter results by the email address that the original invitation was sent to, resulting in this guardian link. This filter can only be used by domain administrators.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Maximum number of items to return. Zero or unspecified indicates that the server may assign a maximum. The server may return fewer than the specified number of results.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "nextPageToken value returned from a previous list call, indicating that the subsequent page of results should be returned. The list request must be otherwise identical to the one that resulted in this token.", +"location": "query", +"type": "string" +}, +"studentId": { +"description": "Filter results by the student who the guardian is linked to. The identifier can be one of the following: * the numeric identifier for the user * the email address of the user * the string literal `\"me\"`, indicating the requesting user * the string literal `\"-\"`, indicating that results should be returned for all students that the requesting user has access to view.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v1/userProfiles/{studentId}/guardians", +"response": { +"$ref": "ListGuardiansResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/classroom.guardianlinks.me.readonly", +"https://www.googleapis.com/auth/classroom.guardianlinks.students", +"https://www.googleapis.com/auth/classroom.guardianlinks.students.readonly" +] +} +} +} +} +} +}, +"revision": "20260111", +"rootUrl": "https://classroom.googleapis.com/", +"schemas": { +"AddOnAttachment": { +"description": "An add-on attachment on a post.", +"id": "AddOnAttachment", +"properties": { +"copyHistory": { +"description": "Output only. Identifiers of attachments that were previous copies of this attachment. If the attachment was previously copied by virtue of its parent post being copied, this enumerates the identifiers of attachments that were its previous copies in ascending chronological order of copy.", +"items": { +"$ref": "CopyHistory" +}, +"readOnly": true, +"type": "array" +}, +"courseId": { +"description": "Immutable. Identifier of the course.", +"type": "string" +}, +"dueDate": { +"$ref": "Date", +"description": "Date, in UTC, that work on this attachment is due. This must be specified if `due_time` is specified." +}, +"dueTime": { +"$ref": "TimeOfDay", +"description": "Time of day, in UTC, that work on this attachment is due. This must be specified if `due_date` is specified." +}, +"id": { +"description": "Immutable. Classroom-assigned identifier for this attachment, unique per post.", +"type": "string" +}, +"itemId": { +"description": "Immutable. Identifier of the `Announcement`, `CourseWork`, or `CourseWorkMaterial` under which the attachment is attached. Unique per course.", +"type": "string" +}, +"maxPoints": { +"description": "Maximum grade for this attachment. Can only be set if `studentWorkReviewUri` is set. Set to a non-zero value to indicate that the attachment supports grade passback. If set, this must be a non-negative integer value. When set to zero, the attachment will not support grade passback.", +"format": "double", +"type": "number" +}, +"postId": { +"deprecated": true, +"description": "Immutable. Deprecated, use `item_id` instead.", +"type": "string" +}, +"studentViewUri": { +"$ref": "EmbedUri", +"description": "Required. URI to show the student view of the attachment. The URI will be opened in an iframe with the `courseId`, `itemId`, `itemType`, and `attachmentId` query parameters set." +}, +"studentWorkReviewUri": { +"$ref": "EmbedUri", +"description": "URI for the teacher to see student work on the attachment, if applicable. The URI will be opened in an iframe with the `courseId`, `itemId`, `itemType`, `attachmentId`, and `submissionId` query parameters set. This is the same `submissionId` returned in the [`AddOnContext.studentContext`](//devsite.google.com/classroom/reference/rest/v1/AddOnContext#StudentContext) field when a student views the attachment. If the URI is omitted or removed, `max_points` will also be discarded." +}, +"teacherViewUri": { +"$ref": "EmbedUri", +"description": "Required. URI to show the teacher view of the attachment. The URI will be opened in an iframe with the `courseId`, `itemId`, `itemType`, and `attachmentId` query parameters set." +}, +"title": { +"description": "Required. Title of this attachment. The title must be between 1 and 1000 characters.", +"type": "string" +} +}, +"type": "object" +}, +"AddOnAttachmentStudentSubmission": { +"description": "Payload for grade update requests.", +"id": "AddOnAttachmentStudentSubmission", +"properties": { +"pointsEarned": { +"description": "Student grade on this attachment. If unset, no grade was set.", +"format": "double", +"type": "number" +}, +"postSubmissionState": { +"description": "Submission state of add-on attachment's parent post (i.e. assignment).", +"enum": [ +"SUBMISSION_STATE_UNSPECIFIED", +"NEW", +"CREATED", +"TURNED_IN", +"RETURNED", +"RECLAIMED_BY_STUDENT" +], +"enumDescriptions": [ +"No state specified. This should never be returned.", +"The student has never accessed this submission. Attachments are not returned and timestamps is not set.", +"Has been created.", +"Has been turned in to the teacher.", +"Has been returned to the student.", +"Student chose to \"unsubmit\" the assignment." +], +"type": "string" +} +}, +"type": "object" +}, +"AddOnContext": { +"description": "Attachment-relevant metadata for Classroom add-ons in the context of a specific post.", +"id": "AddOnContext", +"properties": { +"courseId": { +"description": "Immutable. Identifier of the course.", +"type": "string" +}, +"itemId": { +"description": "Immutable. Identifier of the `Announcement`, `CourseWork`, or `CourseWorkMaterial` under which the attachment is attached.", +"type": "string" +}, +"postId": { +"deprecated": true, +"description": "Immutable. Deprecated, use `item_id` instead.", +"type": "string" +}, +"studentContext": { +"$ref": "StudentContext", +"description": "Add-on context corresponding to the requesting user's role as a student. Its presence implies that the requesting user is a student in the course." +}, +"supportsStudentWork": { +"description": "Optional. Whether the post allows the teacher to see student work and passback grades.", +"type": "boolean" +}, +"teacherContext": { +"$ref": "TeacherContext", +"description": "Add-on context corresponding to the requesting user's role as a teacher. Its presence implies that the requesting user is a teacher in the course." +} +}, +"type": "object" +}, +"Announcement": { +"description": "Announcement created by a teacher for students of the course", +"id": "Announcement", +"properties": { +"alternateLink": { +"description": "Absolute link to this announcement in the Classroom web UI. This is only populated if `state` is `PUBLISHED`. Read-only.", +"type": "string" +}, +"assigneeMode": { +"description": "Assignee mode of the announcement. If unspecified, the default value is `ALL_STUDENTS`.", +"enum": [ +"ASSIGNEE_MODE_UNSPECIFIED", +"ALL_STUDENTS", +"INDIVIDUAL_STUDENTS" +], +"enumDescriptions": [ +"No mode specified. This is never returned.", +"All students can see the item. This is the default state.", +"A subset of the students can see the item." +], +"type": "string" +}, +"courseId": { +"description": "Identifier of the course. Read-only.", +"type": "string" +}, +"creationTime": { +"description": "Timestamp when this announcement was created. Read-only.", +"format": "google-datetime", +"type": "string" +}, +"creatorUserId": { +"description": "Identifier for the user that created the announcement. Read-only.", +"type": "string" +}, +"id": { +"description": "Classroom-assigned identifier of this announcement, unique per course. Read-only.", +"type": "string" +}, +"individualStudentsOptions": { +"$ref": "IndividualStudentsOptions", +"description": "Identifiers of students with access to the announcement. This field is set only if `assigneeMode` is `INDIVIDUAL_STUDENTS`. If the `assigneeMode` is `INDIVIDUAL_STUDENTS`, then only students specified in this field can see the announcement." +}, +"materials": { +"description": "Additional materials. Announcements must have no more than 20 material items.", +"items": { +"$ref": "Material" +}, +"type": "array" +}, +"scheduledTime": { +"description": "Optional timestamp when this announcement is scheduled to be published.", +"format": "google-datetime", +"type": "string" +}, +"state": { +"description": "Status of this announcement. If unspecified, the default state is `DRAFT`.", +"enum": [ +"ANNOUNCEMENT_STATE_UNSPECIFIED", +"PUBLISHED", +"DRAFT", +"DELETED" +], +"enumDescriptions": [ +"No state specified. This is never returned.", +"Status for announcement that has been published. This is the default state.", +"Status for an announcement that is not yet published. Announcement in this state is visible only to course teachers and domain administrators.", +"Status for announcement that was published but is now deleted. Announcement in this state is visible only to course teachers and domain administrators. Announcement in this state is deleted after some time." +], +"type": "string" +}, +"text": { +"description": "Description of this announcement. The text must be a valid UTF-8 string containing no more than 30,000 characters.", +"type": "string" +}, +"updateTime": { +"description": "Timestamp of the most recent change to this announcement. Read-only.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"Assignment": { +"description": "Additional details for assignments.", +"id": "Assignment", +"properties": { +"studentWorkFolder": { +"$ref": "DriveFolder", +"description": "Drive folder where attachments from student submissions are placed. This is only populated for course teachers and administrators." +} +}, +"type": "object" +}, +"AssignmentSubmission": { +"description": "Student work for an assignment.", +"id": "AssignmentSubmission", +"properties": { +"attachments": { +"description": "Attachments added by the student. Drive files that correspond to materials with a share mode of STUDENT_COPY may not exist yet if the student has not accessed the assignment in Classroom. Some attachment metadata is only populated if the requesting user has permission to access it. Identifier and alternate_link fields are always available, but others (for example, title) may not be.", +"items": { +"$ref": "Attachment" +}, +"type": "array" +} +}, +"type": "object" +}, +"Attachment": { +"description": "Attachment added to student assignment work. When creating attachments, setting the `form` field is not supported.", +"id": "Attachment", +"properties": { +"driveFile": { +"$ref": "DriveFile", +"description": "Google Drive file attachment." +}, +"form": { +"$ref": "Form", +"description": "Google Forms attachment." +}, +"link": { +"$ref": "Link", +"description": "Link attachment." +}, +"youTubeVideo": { +"$ref": "YouTubeVideo", +"description": "Youtube video attachment." +} +}, +"type": "object" +}, +"CloudPubsubTopic": { +"description": "A reference to a Cloud Pub/Sub topic. To register for notifications, the owner of the topic must grant `classroom-notifications@system.gserviceaccount.com` the `projects.topics.publish` permission.", +"id": "CloudPubsubTopic", +"properties": { +"topicName": { +"description": "The `name` field of a Cloud Pub/Sub [Topic](https://cloud.google.com/pubsub/docs/reference/rest/v1/projects.topics#Topic).", +"type": "string" +} +}, +"type": "object" +}, +"CopyHistory": { +"description": "Identifier of a previous copy of a given attachment.", +"id": "CopyHistory", +"properties": { +"attachmentId": { +"description": "Immutable. Identifier of the attachment.", +"type": "string" +}, +"courseId": { +"description": "Immutable. Identifier of the course.", +"type": "string" +}, +"itemId": { +"description": "Immutable. Identifier of the `Announcement`, `CourseWork`, or `CourseWorkMaterial` under which the attachment is attached.", +"type": "string" +}, +"postId": { +"deprecated": true, +"description": "Immutable. Deprecated, use `item_id` instead.", +"type": "string" +} +}, +"type": "object" +}, +"Course": { +"description": "A Course in Classroom.", +"id": "Course", +"properties": { +"alternateLink": { +"description": "Absolute link to this course in the Classroom web UI. Read-only.", +"type": "string" +}, +"calendarId": { +"description": "The Calendar ID for a calendar that all course members can see, to which Classroom adds events for course work and announcements in the course. The Calendar for a course is created asynchronously when the course is set to `CourseState.ACTIVE` for the first time (at creation time or when it is updated to `ACTIVE` through the UI or the API). The Calendar ID will not be populated until the creation process is completed. Read-only.", +"type": "string" +}, +"courseGroupEmail": { +"description": "The email address of a Google group containing all members of the course. This group does not accept email and can only be used for permissions. Read-only.", +"type": "string" +}, +"courseMaterialSets": { +"deprecated": true, +"description": "Sets of materials that appear on the \"about\" page of this course. Read-only.", +"items": { +"$ref": "CourseMaterialSet" +}, +"type": "array" +}, +"courseState": { +"description": "State of the course. If unspecified, the default state is `PROVISIONED`.", +"enum": [ +"COURSE_STATE_UNSPECIFIED", +"ACTIVE", +"ARCHIVED", +"PROVISIONED", +"DECLINED", +"SUSPENDED" +], +"enumDescriptions": [ +"No course state. No returned Course message will use this value.", +"The course is active.", +"The course has been archived. You cannot modify it except to change it to a different state.", +"The course has been created, but not yet activated. It is accessible by the primary teacher and domain administrators, who may modify it or change it to the `ACTIVE` or `DECLINED` states. A course may only be changed to `PROVISIONED` if it is in the `DECLINED` state.", +"The course has been created, but declined. It is accessible by the course owner and domain administrators, though it will not be displayed in the web UI. You cannot modify the course except to change it to the `PROVISIONED` state. A course may only be changed to `DECLINED` if it is in the `PROVISIONED` state.", +"The course has been suspended. You cannot modify the course, and only the user identified by the `owner_id` can view the course. A course may be placed in this state if it potentially violates the Terms of Service." +], +"type": "string" +}, +"creationTime": { +"description": "Creation time of the course. Specifying this field in a course update mask results in an error. Read-only.", +"format": "google-datetime", +"type": "string" +}, +"description": { +"description": "Optional description. For example, \"We'll be learning about the structure of living creatures from a combination of textbooks, guest lectures, and lab work. Expect to be excited!\" If set, this field must be a valid UTF-8 string and no longer than 30,000 characters.", +"type": "string" +}, +"descriptionHeading": { +"description": "Optional heading for the description. For example, \"Welcome to 10th Grade Biology.\" If set, this field must be a valid UTF-8 string and no longer than 3600 characters.", +"type": "string" +}, +"enrollmentCode": { +"description": "Enrollment code to use when joining this course. Specifying this field in a course update mask results in an error. Read-only.", +"type": "string" +}, +"gradebookSettings": { +"$ref": "GradebookSettings", +"description": "The gradebook settings that specify how a student's overall grade for the course will be calculated and who it will be displayed to. Read-only." +}, +"guardiansEnabled": { +"description": "Whether or not guardian notifications are enabled for this course. Read-only.", +"type": "boolean" +}, +"id": { +"description": "Identifier for this course assigned by Classroom. When creating a course, you may optionally set this identifier to an alias string in the request to create a corresponding alias. The `id` is still assigned by Classroom and cannot be updated after the course is created. Specifying this field in a course update mask results in an error.", +"type": "string" +}, +"name": { +"description": "Name of the course. For example, \"10th Grade Biology\". The name is required. It must be between 1 and 750 characters and a valid UTF-8 string.", +"type": "string" +}, +"ownerId": { +"description": "The identifier of the owner of a course. When specified as a parameter of a create course request, this field is required. The identifier can be one of the following: * the numeric identifier for the user * the email address of the user * the string literal `\"me\"`, indicating the requesting user This must be set in a create request. Admins can also specify this field in a patch course request to transfer ownership. In other contexts, it is read-only.", +"type": "string" +}, +"room": { +"description": "Optional room location. For example, \"301\". If set, this field must be a valid UTF-8 string and no longer than 650 characters.", +"type": "string" +}, +"section": { +"description": "Section of the course. For example, \"Period 2\". If set, this field must be a valid UTF-8 string and no longer than 2800 characters.", +"type": "string" +}, +"subject": { +"description": "Optional. The subject of the course.", +"type": "string" +}, +"teacherFolder": { +"$ref": "DriveFolder", +"description": "Information about a Drive Folder that is shared with all teachers of the course. This field will only be set for teachers of the course and domain administrators. Read-only." +}, +"teacherGroupEmail": { +"description": "The email address of a Google group containing all teachers of the course. This group does not accept email and can only be used for permissions. Read-only.", +"type": "string" +}, +"updateTime": { +"description": "Time of the most recent update to this course. Specifying this field in a course update mask results in an error. Read-only.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"CourseAlias": { +"description": "Alternative identifier for a course. An alias uniquely identifies a course. It must be unique within one of the following scopes: * domain: A domain-scoped alias is visible to all users within the alias creator's domain and can be created only by a domain admin. A domain-scoped alias is often used when a course has an identifier external to Classroom. * project: A project-scoped alias is visible to any request from an application using the Developer Console project ID that created the alias and can be created by any project. A project-scoped alias is often used when an application has alternative identifiers. A random value can also be used to avoid duplicate courses in the event of transmission failures, as retrying a request will return `ALREADY_EXISTS` if a previous one has succeeded.", +"id": "CourseAlias", +"properties": { +"alias": { +"description": "Alias string. The format of the string indicates the desired alias scoping. * `d:` indicates a domain-scoped alias. Example: `d:math_101` * `p:` indicates a project-scoped alias. Example: `p:abc123` This field has a maximum length of 256 characters.", +"type": "string" +} +}, +"type": "object" +}, +"CourseMaterial": { +"description": "A material attached to a course as part of a material set.", +"id": "CourseMaterial", +"properties": { +"driveFile": { +"$ref": "DriveFile", +"description": "Google Drive file attachment." +}, +"form": { +"$ref": "Form", +"description": "Google Forms attachment." +}, +"link": { +"$ref": "Link", +"description": "Link atatchment." +}, +"youTubeVideo": { +"$ref": "YouTubeVideo", +"description": "Youtube video attachment." +} +}, +"type": "object" +}, +"CourseMaterialSet": { +"description": "A set of materials that appears on the \"About\" page of the course. These materials might include a syllabus, schedule, or other background information relating to the course as a whole.", +"id": "CourseMaterialSet", +"properties": { +"materials": { +"description": "Materials attached to this set.", +"items": { +"$ref": "CourseMaterial" +}, +"type": "array" +}, +"title": { +"description": "Title for this set.", +"type": "string" +} +}, +"type": "object" +}, +"CourseRosterChangesInfo": { +"description": "Information about a `Feed` with a `feed_type` of `COURSE_ROSTER_CHANGES`.", +"id": "CourseRosterChangesInfo", +"properties": { +"courseId": { +"description": "The `course_id` of the course to subscribe to roster changes for.", +"type": "string" +} +}, +"type": "object" +}, +"CourseWork": { +"description": "Course work created by a teacher for students of the course.", +"id": "CourseWork", +"properties": { +"alternateLink": { +"description": "Absolute link to this course work in the Classroom web UI. This is only populated if `state` is `PUBLISHED`. Read-only.", +"type": "string" +}, +"assigneeMode": { +"description": "Assignee mode of the coursework. If unspecified, the default value is `ALL_STUDENTS`.", +"enum": [ +"ASSIGNEE_MODE_UNSPECIFIED", +"ALL_STUDENTS", +"INDIVIDUAL_STUDENTS" +], +"enumDescriptions": [ +"No mode specified. This is never returned.", +"All students can see the item. This is the default state.", +"A subset of the students can see the item." +], +"type": "string" +}, +"assignment": { +"$ref": "Assignment", +"description": "Assignment details. This is populated only when `work_type` is `ASSIGNMENT`. Read-only." +}, +"associatedWithDeveloper": { +"description": "Whether this course work item is associated with the Developer Console project making the request. See CreateCourseWork for more details. Read-only.", +"type": "boolean" +}, +"courseId": { +"description": "Identifier of the course. Read-only.", +"type": "string" +}, +"creationTime": { +"description": "Timestamp when this course work was created. Read-only.", +"format": "google-datetime", +"type": "string" +}, +"creatorUserId": { +"description": "Identifier for the user that created the coursework. Read-only.", +"type": "string" +}, +"description": { +"description": "Optional description of this course work. If set, the description must be a valid UTF-8 string containing no more than 30,000 characters.", +"type": "string" +}, +"dueDate": { +"$ref": "Date", +"description": "Optional date, in UTC, that submissions for this course work are due. This must be specified if `due_time` is specified." +}, +"dueTime": { +"$ref": "TimeOfDay", +"description": "Optional time of day, in UTC, that submissions for this course work are due. This must be specified if `due_date` is specified." +}, +"gradeCategory": { +"$ref": "GradeCategory", +"description": "The category that this coursework's grade contributes to. Present only when a category has been chosen for the coursework. May be used in calculating the overall grade. Read-only." +}, +"gradingPeriodId": { +"description": "Identifier of the grading period associated with the coursework. * At creation, if unspecified, the grading period ID will be set based on the `dueDate` (or `scheduledTime` if no `dueDate` is set). * To indicate no association to any grading period, set this field to an empty string (\"\"). * If specified, it must match an existing grading period ID in the course.", +"type": "string" +}, +"id": { +"description": "Classroom-assigned identifier of this course work, unique per course. Read-only.", +"type": "string" +}, +"individualStudentsOptions": { +"$ref": "IndividualStudentsOptions", +"description": "Identifiers of students with access to the coursework. This field is set only if `assigneeMode` is `INDIVIDUAL_STUDENTS`. If the `assigneeMode` is `INDIVIDUAL_STUDENTS`, then only students specified in this field are assigned the coursework." +}, +"materials": { +"description": "Additional materials. CourseWork must have no more than 20 material items.", +"items": { +"$ref": "Material" +}, +"type": "array" +}, +"maxPoints": { +"description": "Maximum grade for this course work. If zero or unspecified, this assignment is considered ungraded. This must be a non-negative integer value.", +"format": "double", +"type": "number" +}, +"multipleChoiceQuestion": { +"$ref": "MultipleChoiceQuestion", +"description": "Multiple choice question details. For read operations, this field is populated only when `work_type` is `MULTIPLE_CHOICE_QUESTION`. For write operations, this field must be specified when creating course work with a `work_type` of `MULTIPLE_CHOICE_QUESTION`, and it must not be set otherwise." +}, +"scheduledTime": { +"description": "Optional timestamp when this course work is scheduled to be published.", +"format": "google-datetime", +"type": "string" +}, +"state": { +"description": "Status of this course work. If unspecified, the default state is `DRAFT`.", +"enum": [ +"COURSE_WORK_STATE_UNSPECIFIED", +"PUBLISHED", +"DRAFT", +"DELETED" +], +"enumDescriptions": [ +"No state specified. This is never returned.", +"Status for work that has been published. This is the default state.", +"Status for work that is not yet published. Work in this state is visible only to course teachers and domain administrators.", +"Status for work that was published but is now deleted. Work in this state is visible only to course teachers and domain administrators. Work in this state is deleted after some time." +], +"type": "string" +}, +"submissionModificationMode": { +"description": "Setting to determine when students are allowed to modify submissions. If unspecified, the default value is `MODIFIABLE_UNTIL_TURNED_IN`.", +"enum": [ +"SUBMISSION_MODIFICATION_MODE_UNSPECIFIED", +"MODIFIABLE_UNTIL_TURNED_IN", +"MODIFIABLE" +], +"enumDescriptions": [ +"No modification mode specified. This is never returned.", +"Submissions can be modified before being turned in.", +"Submissions can be modified at any time." +], +"type": "string" +}, +"title": { +"description": "Title of this course work. The title must be a valid UTF-8 string containing between 1 and 3000 characters.", +"type": "string" +}, +"topicId": { +"description": "Identifier for the topic that this coursework is associated with. Must match an existing topic in the course.", +"type": "string" +}, +"updateTime": { +"description": "Timestamp of the most recent change to this course work. Read-only.", +"format": "google-datetime", +"type": "string" +}, +"workType": { +"description": "Type of this course work. The type is set when the course work is created and cannot be changed.", +"enum": [ +"COURSE_WORK_TYPE_UNSPECIFIED", +"ASSIGNMENT", +"SHORT_ANSWER_QUESTION", +"MULTIPLE_CHOICE_QUESTION" +], +"enumDescriptions": [ +"No work type specified. This is never returned.", +"An assignment.", +"A short answer question.", +"A multiple-choice question." +], +"type": "string" +} +}, +"type": "object" +}, +"CourseWorkChangesInfo": { +"description": "Information about a `Feed` with a `feed_type` of `COURSE_WORK_CHANGES`.", +"id": "CourseWorkChangesInfo", +"properties": { +"courseId": { +"description": "The `course_id` of the course to subscribe to work changes for.", +"type": "string" +} +}, +"type": "object" +}, +"CourseWorkMaterial": { +"description": "Course work material created by a teacher for students of the course", +"id": "CourseWorkMaterial", +"properties": { +"alternateLink": { +"description": "Absolute link to this course work material in the Classroom web UI. This is only populated if `state` is `PUBLISHED`. Read-only.", +"type": "string" +}, +"assigneeMode": { +"description": "Assignee mode of the course work material. If unspecified, the default value is `ALL_STUDENTS`.", +"enum": [ +"ASSIGNEE_MODE_UNSPECIFIED", +"ALL_STUDENTS", +"INDIVIDUAL_STUDENTS" +], +"enumDescriptions": [ +"No mode specified. This is never returned.", +"All students can see the item. This is the default state.", +"A subset of the students can see the item." +], +"type": "string" +}, +"courseId": { +"description": "Identifier of the course. Read-only.", +"type": "string" +}, +"creationTime": { +"description": "Timestamp when this course work material was created. Read-only.", +"format": "google-datetime", +"type": "string" +}, +"creatorUserId": { +"description": "Identifier for the user that created the course work material. Read-only.", +"type": "string" +}, +"description": { +"description": "Optional description of this course work material. The text must be a valid UTF-8 string containing no more than 30,000 characters.", +"type": "string" +}, +"id": { +"description": "Classroom-assigned identifier of this course work material, unique per course. Read-only.", +"type": "string" +}, +"individualStudentsOptions": { +"$ref": "IndividualStudentsOptions", +"description": "Identifiers of students with access to the course work material. This field is set only if `assigneeMode` is `INDIVIDUAL_STUDENTS`. If the `assigneeMode` is `INDIVIDUAL_STUDENTS`, then only students specified in this field can see the course work material." +}, +"materials": { +"description": "Additional materials. A course work material must have no more than 20 material items.", +"items": { +"$ref": "Material" +}, +"type": "array" +}, +"scheduledTime": { +"description": "Optional timestamp when this course work material is scheduled to be published.", +"format": "google-datetime", +"type": "string" +}, +"state": { +"description": "Status of this course work material. If unspecified, the default state is `DRAFT`.", +"enum": [ +"COURSEWORK_MATERIAL_STATE_UNSPECIFIED", +"PUBLISHED", +"DRAFT", +"DELETED" +], +"enumDescriptions": [ +"No state specified. This is never returned.", +"Status for course work material that has been published. This is the default state.", +"Status for a course work material that is not yet published. Course work material in this state is visible only to course teachers and domain administrators.", +"Status for course work material that was published but is now deleted. Course work material in this state is visible only to course teachers and domain administrators. Course work material in this state is deleted after some time." +], +"type": "string" +}, +"title": { +"description": "Title of this course work material. The title must be a valid UTF-8 string containing between 1 and 3000 characters.", +"type": "string" +}, +"topicId": { +"description": "Identifier for the topic that this course work material is associated with. Must match an existing topic in the course.", +"type": "string" +}, +"updateTime": { +"description": "Timestamp of the most recent change to this course work material. Read-only.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"Criterion": { +"description": "A rubric criterion. Each criterion is a dimension on which performance is rated.", +"id": "Criterion", +"properties": { +"description": { +"description": "The description of the criterion.", +"type": "string" +}, +"id": { +"description": "The criterion ID. On creation, an ID is assigned.", +"type": "string" +}, +"levels": { +"description": "The list of levels within this criterion.", +"items": { +"$ref": "Level" +}, +"type": "array" +}, +"title": { +"description": "The title of the criterion.", +"type": "string" +} +}, +"type": "object" +}, +"Date": { +"description": "Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following: * A full date, with non-zero year, month, and day values. * A month and day, with a zero year (for example, an anniversary). * A year on its own, with a zero month and a zero day. * A year and month, with a zero day (for example, a credit card expiration date). Related types: * google.type.TimeOfDay * google.type.DateTime * google.protobuf.Timestamp", +"id": "Date", +"properties": { +"day": { +"description": "Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn't significant.", +"format": "int32", +"type": "integer" +}, +"month": { +"description": "Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.", +"format": "int32", +"type": "integer" +}, +"year": { +"description": "Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"DriveFile": { +"description": "Representation of a Google Drive file.", +"id": "DriveFile", +"properties": { +"alternateLink": { +"description": "URL that can be used to access the Drive item. Read-only.", +"type": "string" +}, +"id": { +"description": "Drive API resource ID.", +"type": "string" +}, +"thumbnailUrl": { +"description": "URL of a thumbnail image of the Drive item. Read-only.", +"type": "string" +}, +"title": { +"description": "Title of the Drive item. Read-only.", +"type": "string" +} +}, +"type": "object" +}, +"DriveFolder": { +"description": "Representation of a Google Drive folder.", +"id": "DriveFolder", +"properties": { +"alternateLink": { +"description": "URL that can be used to access the Drive folder. Read-only.", +"type": "string" +}, +"id": { +"description": "Drive API resource ID.", +"type": "string" +}, +"title": { +"description": "Title of the Drive folder. Read-only.", +"type": "string" +} +}, +"type": "object" +}, +"EmbedUri": { +"description": "URI to be iframed after being populated with query parameters.", +"id": "EmbedUri", +"properties": { +"uri": { +"description": "Required. URI to be iframed after being populated with query parameters. This must be a valid UTF-8 string containing between 1 and 1800 characters.", +"type": "string" +} +}, +"type": "object" +}, +"Empty": { +"description": "A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }", +"id": "Empty", +"properties": {}, +"type": "object" +}, +"Feed": { +"description": "A class of notifications that an application can register to receive. For example: \"all roster changes for a domain\".", +"id": "Feed", +"properties": { +"courseRosterChangesInfo": { +"$ref": "CourseRosterChangesInfo", +"description": "Information about a `Feed` with a `feed_type` of `COURSE_ROSTER_CHANGES`. This field must be specified if `feed_type` is `COURSE_ROSTER_CHANGES`." +}, +"courseWorkChangesInfo": { +"$ref": "CourseWorkChangesInfo", +"description": "Information about a `Feed` with a `feed_type` of `COURSE_WORK_CHANGES`. This field must be specified if `feed_type` is `COURSE_WORK_CHANGES`." +}, +"feedType": { +"description": "The type of feed.", +"enum": [ +"FEED_TYPE_UNSPECIFIED", +"DOMAIN_ROSTER_CHANGES", +"COURSE_ROSTER_CHANGES", +"COURSE_WORK_CHANGES" +], +"enumDescriptions": [ +"Should never be returned or provided.", +"All roster changes for a particular domain. Notifications will be generated whenever a user joins or leaves a course. No notifications will be generated when an invitation is created or deleted, but notifications will be generated when a user joins a course by accepting an invitation.", +"All roster changes for a particular course. Notifications will be generated whenever a user joins or leaves a course. No notifications will be generated when an invitation is created or deleted, but notifications will be generated when a user joins a course by accepting an invitation.", +"All course work activity for a particular course. Notifications will be generated when a CourseWork or StudentSubmission object is created or modified. No notification will be generated when a StudentSubmission object is created in connection with the creation or modification of its parent CourseWork object (but a notification will be generated for that CourseWork object's creation or modification)." +], +"type": "string" +} +}, +"type": "object" +}, +"Form": { +"description": "Google Forms item.", +"id": "Form", +"properties": { +"formUrl": { +"description": "URL of the form.", +"type": "string" +}, +"responseUrl": { +"description": "URL of the form responses document. Only set if responses have been recorded and only when the requesting user is an editor of the form. Read-only.", +"type": "string" +}, +"thumbnailUrl": { +"description": "URL of a thumbnail image of the Form. Read-only.", +"type": "string" +}, +"title": { +"description": "Title of the Form. Read-only.", +"type": "string" +} +}, +"type": "object" +}, +"GeminiGem": { +"description": "Gemini Gem link.", +"id": "GeminiGem", +"properties": { +"id": { +"description": "Gems resource id.", +"type": "string" +}, +"title": { +"description": "Title of the Gem.", +"type": "string" +}, +"url": { +"description": "URL that can be used to access the Gem.", +"type": "string" +} +}, +"type": "object" +}, +"GlobalPermission": { +"description": "Global user permission description.", +"id": "GlobalPermission", +"properties": { +"permission": { +"description": "Permission value.", +"enum": [ +"PERMISSION_UNSPECIFIED", +"CREATE_COURSE" +], +"enumDescriptions": [ +"No permission is specified. This is not returned and is not a valid value.", +"User is permitted to create a course." +], +"type": "string" +} +}, +"type": "object" +}, +"GradeCategory": { +"description": "Details for a grade category in a course. Coursework may have zero or one grade category, and the category may be used in computing the overall grade. See the [help center article](https://support.google.com/edu/classroom/answer/9184995) for details.", +"id": "GradeCategory", +"properties": { +"defaultGradeDenominator": { +"description": "Default value of denominator. Only applicable when grade calculation type is TOTAL_POINTS.", +"format": "int32", +"type": "integer" +}, +"id": { +"description": "ID of the grade category.", +"type": "string" +}, +"name": { +"description": "Name of the grade category.", +"type": "string" +}, +"weight": { +"description": "The weight of the category average as part of overall average. A weight of 12.34% is represented as 123400 (100% is 1,000,000). The last two digits should always be zero since we use two decimal precision. Only applicable when grade calculation type is WEIGHTED_CATEGORIES.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"GradeHistory": { +"description": "The history of each grade on this submission.", +"id": "GradeHistory", +"properties": { +"actorUserId": { +"description": "The teacher who made the grade change.", +"type": "string" +}, +"gradeChangeType": { +"description": "The type of grade change at this time in the submission grade history.", +"enum": [ +"UNKNOWN_GRADE_CHANGE_TYPE", +"DRAFT_GRADE_POINTS_EARNED_CHANGE", +"ASSIGNED_GRADE_POINTS_EARNED_CHANGE", +"MAX_POINTS_CHANGE" +], +"enumDescriptions": [ +"No grade change type specified. This should never be returned.", +"A change in the numerator of the draft grade.", +"A change in the numerator of the assigned grade.", +"A change in the denominator of the grade." +], +"type": "string" +}, +"gradeTimestamp": { +"description": "When the grade of the submission was changed.", +"format": "google-datetime", +"type": "string" +}, +"maxPoints": { +"description": "The denominator of the grade at this time in the submission grade history.", +"format": "double", +"type": "number" +}, +"pointsEarned": { +"description": "The numerator of the grade at this time in the submission grade history.", +"format": "double", +"type": "number" +} +}, +"type": "object" +}, +"GradebookSettings": { +"description": "The gradebook settings for a course. See the [help center article](https://support.google.com/edu/classroom/answer/9184995) for details.", +"id": "GradebookSettings", +"properties": { +"calculationType": { +"description": "Indicates how the overall grade is calculated.", +"enum": [ +"CALCULATION_TYPE_UNSPECIFIED", +"TOTAL_POINTS", +"WEIGHTED_CATEGORIES" +], +"enumDescriptions": [ +"No method specified. This is never returned.", +"Overall grade is the sum of grades divided by the sum of total points regardless of category.", +"Overall grade is the weighted average by category." +], +"type": "string" +}, +"displaySetting": { +"description": "Indicates who can see the overall grade..", +"enum": [ +"DISPLAY_SETTING_UNSPECIFIED", +"SHOW_OVERALL_GRADE", +"HIDE_OVERALL_GRADE", +"SHOW_TEACHERS_ONLY" +], +"enumDescriptions": [ +"No setting specified. This is never returned.", +"Shows overall grade in the gradebook and student profile to both teachers and students.", +"Does not show overall grade in the gradebook or student profile.", +"Shows the overall grade to teachers in the gradebook and student profile. Hides from students in their student profile." +], +"type": "string" +}, +"gradeCategories": { +"description": "Grade categories that are available for coursework in the course.", +"items": { +"$ref": "GradeCategory" +}, +"type": "array" +} +}, +"type": "object" +}, +"GradingPeriod": { +"description": "An individual grading period. Grading periods must not have overlapping date ranges and must be listed in chronological order. For example, if the end_date of a grading period is 2024-01-25, then the start_date of the next grading period must be 2024-01-26 or later. Each grading period must have a unique title within a course.", +"id": "GradingPeriod", +"properties": { +"endDate": { +"$ref": "Date", +"description": "Required. End date, in UTC, of the grading period. Inclusive." +}, +"id": { +"description": "Output only. System generated grading period ID. Read-only.", +"readOnly": true, +"type": "string" +}, +"startDate": { +"$ref": "Date", +"description": "Required. Start date, in UTC, of the grading period. Inclusive." +}, +"title": { +"description": "Required. Title of the grading period. For example, \u201cSemester 1\u201d.", +"type": "string" +} +}, +"type": "object" +}, +"GradingPeriodSettings": { +"description": "Grading period settings that include all the individual grading periods in a course.", +"id": "GradingPeriodSettings", +"properties": { +"applyToExistingCoursework": { +"description": "Supports toggling the application of grading periods on existing stream items. Once set, this value is persisted meaning that it does not need to be set in every request to update `GradingPeriodSettings`. If not previously set, the default is False.", +"type": "boolean" +}, +"gradingPeriods": { +"description": "The list of grading periods in a specific course. Grading periods must not have overlapping date ranges and must be listed in chronological order. Each grading period must have a unique title within a course.", +"items": { +"$ref": "GradingPeriod" +}, +"type": "array" +} +}, +"type": "object" +}, +"Guardian": { +"description": "Association between a student and a guardian of that student. The guardian may receive information about the student's course work.", +"id": "Guardian", +"properties": { +"guardianId": { +"description": "Identifier for the guardian.", +"type": "string" +}, +"guardianProfile": { +"$ref": "UserProfile", +"description": "User profile for the guardian." +}, +"invitedEmailAddress": { +"description": "The email address to which the initial guardian invitation was sent. This field is only visible to domain administrators.", +"type": "string" +}, +"studentId": { +"description": "Identifier for the student to whom the guardian relationship applies.", +"type": "string" +} +}, +"type": "object" +}, +"GuardianInvitation": { +"description": "An invitation to become the guardian of a specified user, sent to a specified email address.", +"id": "GuardianInvitation", +"properties": { +"creationTime": { +"description": "The time that this invitation was created. Read-only.", +"format": "google-datetime", +"type": "string" +}, +"invitationId": { +"description": "Unique identifier for this invitation. Read-only.", +"type": "string" +}, +"invitedEmailAddress": { +"description": "Email address that the invitation was sent to. This field is only visible to domain administrators.", +"type": "string" +}, +"state": { +"description": "The state that this invitation is in.", +"enum": [ +"GUARDIAN_INVITATION_STATE_UNSPECIFIED", +"PENDING", +"COMPLETE" +], +"enumDescriptions": [ +"Should never be returned.", +"The invitation is active and awaiting a response.", +"The invitation is no longer active. It may have been accepted, declined, withdrawn or it may have expired." +], +"type": "string" +}, +"studentId": { +"description": "ID of the student (in standard format)", +"type": "string" +} +}, +"type": "object" +}, +"IndividualStudentsOptions": { +"description": "Assignee details about a coursework/announcement. This field is set if and only if `assigneeMode` is `INDIVIDUAL_STUDENTS`.", +"id": "IndividualStudentsOptions", +"properties": { +"studentIds": { +"description": "Identifiers for the students that have access to the coursework/announcement.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"Invitation": { +"description": "An invitation to join a course.", +"id": "Invitation", +"properties": { +"courseId": { +"description": "Identifier of the course to invite the user to.", +"type": "string" +}, +"id": { +"description": "Identifier assigned by Classroom. Read-only.", +"type": "string" +}, +"role": { +"description": "Role to invite the user to have. Must not be `COURSE_ROLE_UNSPECIFIED`.", +"enum": [ +"COURSE_ROLE_UNSPECIFIED", +"STUDENT", +"TEACHER", +"OWNER" +], +"enumDescriptions": [ +"No course role.", +"Student in the course.", +"Teacher of the course.", +"Owner of the course." +], +"type": "string" +}, +"userId": { +"description": "Identifier of the invited user. When specified as a parameter of a request, this identifier can be set to one of the following: * the numeric identifier for the user * the email address of the user * the string literal `\"me\"`, indicating the requesting user", +"type": "string" +} +}, +"type": "object" +}, +"Level": { +"description": "A level of the criterion.", +"id": "Level", +"properties": { +"description": { +"description": "The description of the level.", +"type": "string" +}, +"id": { +"description": "The level ID. On creation, an ID is assigned.", +"type": "string" +}, +"points": { +"description": "Optional points associated with this level. If set, all levels within the rubric must specify points and the value must be distinct across all levels within a single criterion. 0 is distinct from no points.", +"format": "double", +"type": "number" +}, +"title": { +"description": "The title of the level. If the level has no points set, title must be set.", +"type": "string" +} +}, +"type": "object" +}, +"Link": { +"description": "URL item.", +"id": "Link", +"properties": { +"thumbnailUrl": { +"description": "URL of a thumbnail image of the target URL. Read-only.", +"type": "string" +}, +"title": { +"description": "Title of the target of the URL. Read-only.", +"type": "string" +}, +"url": { +"description": "URL to link to. This must be a valid UTF-8 string containing between 1 and 2024 characters.", +"type": "string" +} +}, +"type": "object" +}, +"ListAddOnAttachmentsResponse": { +"description": "Response when listing add-on attachments.", +"id": "ListAddOnAttachmentsResponse", +"properties": { +"addOnAttachments": { +"description": "Attachments under the given post.", +"items": { +"$ref": "AddOnAttachment" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A token, which can be sent as `pageToken` to retrieve the next page. If this field is omitted, there are no subsequent pages.", +"type": "string" +} +}, +"type": "object" +}, +"ListAnnouncementsResponse": { +"description": "Response when listing course work.", +"id": "ListAnnouncementsResponse", +"properties": { +"announcements": { +"description": "Announcement items that match the request.", +"items": { +"$ref": "Announcement" +}, +"type": "array" +}, +"nextPageToken": { +"description": "Token identifying the next page of results to return. If empty, no further results are available.", +"type": "string" +} +}, +"type": "object" +}, +"ListCourseAliasesResponse": { +"description": "Response when listing course aliases.", +"id": "ListCourseAliasesResponse", +"properties": { +"aliases": { +"description": "The course aliases.", +"items": { +"$ref": "CourseAlias" +}, +"type": "array" +}, +"nextPageToken": { +"description": "Token identifying the next page of results to return. If empty, no further results are available.", +"type": "string" +} +}, +"type": "object" +}, +"ListCourseWorkMaterialResponse": { +"description": "Response when listing course work material.", +"id": "ListCourseWorkMaterialResponse", +"properties": { +"courseWorkMaterial": { +"description": "Course work material items that match the request.", +"items": { +"$ref": "CourseWorkMaterial" +}, +"type": "array" +}, +"nextPageToken": { +"description": "Token identifying the next page of results to return. If empty, no further results are available.", +"type": "string" +} +}, +"type": "object" +}, +"ListCourseWorkResponse": { +"description": "Response when listing course work.", +"id": "ListCourseWorkResponse", +"properties": { +"courseWork": { +"description": "Course work items that match the request.", +"items": { +"$ref": "CourseWork" +}, +"type": "array" +}, +"nextPageToken": { +"description": "Token identifying the next page of results to return. If empty, no further results are available.", +"type": "string" +} +}, +"type": "object" +}, +"ListCoursesResponse": { +"description": "Response when listing courses.", +"id": "ListCoursesResponse", +"properties": { +"courses": { +"description": "Courses that match the list request.", +"items": { +"$ref": "Course" +}, +"type": "array" +}, +"nextPageToken": { +"description": "Token identifying the next page of results to return. If empty, no further results are available.", +"type": "string" +} +}, +"type": "object" +}, +"ListGuardianInvitationsResponse": { +"description": "Response when listing guardian invitations.", +"id": "ListGuardianInvitationsResponse", +"properties": { +"guardianInvitations": { +"description": "Guardian invitations that matched the list request.", +"items": { +"$ref": "GuardianInvitation" +}, +"type": "array" +}, +"nextPageToken": { +"description": "Token identifying the next page of results to return. If empty, no further results are available.", +"type": "string" +} +}, +"type": "object" +}, +"ListGuardiansResponse": { +"description": "Response when listing guardians.", +"id": "ListGuardiansResponse", +"properties": { +"guardians": { +"description": "Guardians on this page of results that met the criteria specified in the request.", +"items": { +"$ref": "Guardian" +}, +"type": "array" +}, +"nextPageToken": { +"description": "Token identifying the next page of results to return. If empty, no further results are available.", +"type": "string" +} +}, +"type": "object" +}, +"ListInvitationsResponse": { +"description": "Response when listing invitations.", +"id": "ListInvitationsResponse", +"properties": { +"invitations": { +"description": "Invitations that match the list request.", +"items": { +"$ref": "Invitation" +}, +"type": "array" +}, +"nextPageToken": { +"description": "Token identifying the next page of results to return. If empty, no further results are available.", +"type": "string" +} +}, +"type": "object" +}, +"ListRubricsResponse": { +"description": "Response when listing rubrics.", +"id": "ListRubricsResponse", +"properties": { +"nextPageToken": { +"description": "Token identifying the next page of results to return. If empty, no further results are available.", +"type": "string" +}, +"rubrics": { +"description": "Rubrics that match the request.", +"items": { +"$ref": "Rubric" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListStudentGroupMembersResponse": { +"description": "Response when listing students in a group.", +"id": "ListStudentGroupMembersResponse", +"properties": { +"nextPageToken": { +"description": "Token identifying the next page of results to return. If empty, no further results are available.", +"type": "string" +}, +"studentGroupMembers": { +"description": "The student group members.", +"items": { +"$ref": "StudentGroupMember" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListStudentGroupsResponse": { +"description": "Response when listing student groups.", +"id": "ListStudentGroupsResponse", +"properties": { +"nextPageToken": { +"description": "Token identifying the next page of results to return. If empty, no further results are available.", +"type": "string" +}, +"studentGroups": { +"description": "The student groups.", +"items": { +"$ref": "StudentGroup" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListStudentSubmissionsResponse": { +"description": "Response when listing student submissions.", +"id": "ListStudentSubmissionsResponse", +"properties": { +"nextPageToken": { +"description": "Token identifying the next page of results to return. If empty, no further results are available.", +"type": "string" +}, +"studentSubmissions": { +"description": "Student work that matches the request.", +"items": { +"$ref": "StudentSubmission" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListStudentsResponse": { +"description": "Response when listing students.", +"id": "ListStudentsResponse", +"properties": { +"nextPageToken": { +"description": "Token identifying the next page of results to return. If empty, no further results are available.", +"type": "string" +}, +"students": { +"description": "Students who match the list request.", +"items": { +"$ref": "Student" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListTeachersResponse": { +"description": "Response when listing teachers.", +"id": "ListTeachersResponse", +"properties": { +"nextPageToken": { +"description": "Token identifying the next page of results to return. If empty, no further results are available.", +"type": "string" +}, +"teachers": { +"description": "Teachers who match the list request.", +"items": { +"$ref": "Teacher" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListTopicResponse": { +"description": "Response when listing topics.", +"id": "ListTopicResponse", +"properties": { +"nextPageToken": { +"description": "Token identifying the next page of results to return. If empty, no further results are available.", +"type": "string" +}, +"topic": { +"description": "Topic items that match the request.", +"items": { +"$ref": "Topic" +}, +"type": "array" +} +}, +"type": "object" +}, +"Material": { +"description": "Material attached to course work. When creating attachments, setting the `form`, `gem`, or `notebook` field is not supported.", +"id": "Material", +"properties": { +"driveFile": { +"$ref": "SharedDriveFile", +"description": "Google Drive file material." +}, +"form": { +"$ref": "Form", +"description": "Google Forms material. Read-only." +}, +"gem": { +"$ref": "GeminiGem", +"description": "Gemini Gem material. Read-only." +}, +"link": { +"$ref": "Link", +"description": "Link material. On creation, this is upgraded to a more appropriate type if possible, and this is reflected in the response." +}, +"notebook": { +"$ref": "NotebookLmNotebook", +"description": "NotebookLM Notebook material. Read-only." +}, +"youtubeVideo": { +"$ref": "YouTubeVideo", +"description": "YouTube video material." +} +}, +"type": "object" +}, +"ModifyAnnouncementAssigneesRequest": { +"description": "Request to modify assignee mode and options of an announcement.", +"id": "ModifyAnnouncementAssigneesRequest", +"properties": { +"assigneeMode": { +"description": "Mode of the announcement describing whether it is accessible by all students or specified individual students.", +"enum": [ +"ASSIGNEE_MODE_UNSPECIFIED", +"ALL_STUDENTS", +"INDIVIDUAL_STUDENTS" +], +"enumDescriptions": [ +"No mode specified. This is never returned.", +"All students can see the item. This is the default state.", +"A subset of the students can see the item." +], +"type": "string" +}, +"modifyIndividualStudentsOptions": { +"$ref": "ModifyIndividualStudentsOptions", +"description": "Set which students can view or cannot view the announcement. Must be specified only when `assigneeMode` is `INDIVIDUAL_STUDENTS`." +} +}, +"type": "object" +}, +"ModifyAttachmentsRequest": { +"description": "Request to modify the attachments of a student submission.", +"id": "ModifyAttachmentsRequest", +"properties": { +"addAttachments": { +"description": "Attachments to add. A student submission may not have more than 20 attachments. Form attachments are not supported.", +"items": { +"$ref": "Attachment" +}, +"type": "array" +} +}, +"type": "object" +}, +"ModifyCourseWorkAssigneesRequest": { +"description": "Request to modify assignee mode and options of a coursework.", +"id": "ModifyCourseWorkAssigneesRequest", +"properties": { +"assigneeMode": { +"description": "Mode of the coursework describing whether it will be assigned to all students or specified individual students.", +"enum": [ +"ASSIGNEE_MODE_UNSPECIFIED", +"ALL_STUDENTS", +"INDIVIDUAL_STUDENTS" +], +"enumDescriptions": [ +"No mode specified. This is never returned.", +"All students can see the item. This is the default state.", +"A subset of the students can see the item." +], +"type": "string" +}, +"modifyIndividualStudentsOptions": { +"$ref": "ModifyIndividualStudentsOptions", +"description": "Set which students are assigned or not assigned to the coursework. Must be specified only when `assigneeMode` is `INDIVIDUAL_STUDENTS`." +} +}, +"type": "object" +}, +"ModifyIndividualStudentsOptions": { +"description": "Contains fields to add or remove students from a course work or announcement where the `assigneeMode` is set to `INDIVIDUAL_STUDENTS`.", +"id": "ModifyIndividualStudentsOptions", +"properties": { +"addStudentIds": { +"description": "IDs of students to be added as having access to this coursework/announcement.", +"items": { +"type": "string" +}, +"type": "array" +}, +"removeStudentIds": { +"description": "IDs of students to be removed from having access to this coursework/announcement.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"MultipleChoiceQuestion": { +"description": "Additional details for multiple-choice questions.", +"id": "MultipleChoiceQuestion", +"properties": { +"choices": { +"description": "Possible choices.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"MultipleChoiceSubmission": { +"description": "Student work for a multiple-choice question.", +"id": "MultipleChoiceSubmission", +"properties": { +"answer": { +"description": "Student's select choice.", +"type": "string" +} +}, +"type": "object" +}, +"Name": { +"description": "Details of the user's name.", +"id": "Name", +"properties": { +"familyName": { +"description": "The user's last name. Read-only.", +"type": "string" +}, +"fullName": { +"description": "The user's full name formed by concatenating the first and last name values. Read-only.", +"type": "string" +}, +"givenName": { +"description": "The user's first name. Read-only.", +"type": "string" +} +}, +"type": "object" +}, +"NotebookLmNotebook": { +"description": "NotebookLM Notebook link.", +"id": "NotebookLmNotebook", +"properties": { +"id": { +"description": "Notebook resource id.", +"type": "string" +}, +"title": { +"description": "Title of the Notebook.", +"type": "string" +}, +"url": { +"description": "URL that can be used to access the Notebook.", +"type": "string" +} +}, +"type": "object" +}, +"ReclaimStudentSubmissionRequest": { +"description": "Request to reclaim a student submission.", +"id": "ReclaimStudentSubmissionRequest", +"properties": {}, +"type": "object" +}, +"Registration": { +"description": "An instruction to Classroom to send notifications from the `feed` to the provided destination.", +"id": "Registration", +"properties": { +"cloudPubsubTopic": { +"$ref": "CloudPubsubTopic", +"description": "The Cloud Pub/Sub topic that notifications are to be sent to." +}, +"expiryTime": { +"description": "The time until which the `Registration` is effective. This is a read-only field assigned by the server.", +"format": "google-datetime", +"type": "string" +}, +"feed": { +"$ref": "Feed", +"description": "Specification for the class of notifications that Classroom should deliver to the destination." +}, +"registrationId": { +"description": "A server-generated unique identifier for this `Registration`. Read-only.", +"type": "string" +} +}, +"type": "object" +}, +"ReturnStudentSubmissionRequest": { +"description": "Request to return a student submission.", +"id": "ReturnStudentSubmissionRequest", +"properties": {}, +"type": "object" +}, +"Rubric": { +"description": "The rubric of the course work. A rubric is a scoring guide used to evaluate student work and give feedback. For further details, see [Rubrics structure and known limitations](/classroom/rubrics/limitations).", +"id": "Rubric", +"properties": { +"courseId": { +"description": "Identifier of the course. Read-only.", +"type": "string" +}, +"courseWorkId": { +"description": "Identifier for the course work this corresponds to. Read-only.", +"type": "string" +}, +"creationTime": { +"description": "Output only. Timestamp when this rubric was created. Read-only.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"criteria": { +"description": "List of criteria. Each criterion is a dimension on which performance is rated.", +"items": { +"$ref": "Criterion" +}, +"type": "array" +}, +"id": { +"description": "Classroom-assigned identifier for the rubric. This is unique among rubrics for the relevant course work. Read-only.", +"type": "string" +}, +"sourceSpreadsheetId": { +"description": "Input only. Immutable. Google Sheets ID of the spreadsheet. This spreadsheet must contain formatted rubric settings. See [Create or reuse a rubric for an assignment](https://support.google.com/edu/classroom/answer/9335069). Use of this field requires the `https://www.googleapis.com/auth/spreadsheets.readonly` or `https://www.googleapis.com/auth/spreadsheets` scope.", +"type": "string" +}, +"updateTime": { +"description": "Output only. Timestamp of the most recent change to this rubric. Read-only.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"RubricGrade": { +"description": "A rubric grade set for the student submission. There is at most one entry per rubric criterion.", +"id": "RubricGrade", +"properties": { +"criterionId": { +"description": "Optional. Criterion ID.", +"type": "string" +}, +"levelId": { +"description": "Optional. Optional level ID of the selected level. If empty, no level was selected.", +"type": "string" +}, +"points": { +"description": "Optional. Optional points assigned for this criterion, typically based on the level. Levels might or might not have points. If unset, no points were set for this criterion.", +"format": "double", +"type": "number" +} +}, +"type": "object" +}, +"SharedDriveFile": { +"description": "Drive file that is used as material for course work.", +"id": "SharedDriveFile", +"properties": { +"driveFile": { +"$ref": "DriveFile", +"description": "Drive file details." +}, +"shareMode": { +"description": "Mechanism by which students access the Drive item.", +"enum": [ +"UNKNOWN_SHARE_MODE", +"VIEW", +"EDIT", +"STUDENT_COPY" +], +"enumDescriptions": [ +"No sharing mode specified. This should never be returned.", +"Students can view the shared file.", +"Students can edit the shared file.", +"Students have a personal copy of the shared file." +], +"type": "string" +} +}, +"type": "object" +}, +"ShortAnswerSubmission": { +"description": "Student work for a short answer question.", +"id": "ShortAnswerSubmission", +"properties": { +"answer": { +"description": "Student response to a short-answer question.", +"type": "string" +} +}, +"type": "object" +}, +"StateHistory": { +"description": "The history of each state this submission has been in.", +"id": "StateHistory", +"properties": { +"actorUserId": { +"description": "The teacher or student who made the change.", +"type": "string" +}, +"state": { +"description": "The workflow pipeline stage.", +"enum": [ +"STATE_UNSPECIFIED", +"CREATED", +"TURNED_IN", +"RETURNED", +"RECLAIMED_BY_STUDENT", +"STUDENT_EDITED_AFTER_TURN_IN" +], +"enumDescriptions": [ +"No state specified. This should never be returned.", +"The Submission has been created.", +"The student has turned in an assigned document, which may or may not be a template.", +"The teacher has returned the assigned document to the student.", +"The student turned in the assigned document, and then chose to \"unsubmit\" the assignment, giving the student control again as the owner.", +"The student edited their submission after turning it in. Currently, only used by Questions, when the student edits their answer." +], +"type": "string" +}, +"stateTimestamp": { +"description": "When the submission entered this state.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"Student": { +"description": "Student in a course.", +"id": "Student", +"properties": { +"courseId": { +"description": "Identifier of the course. Read-only.", +"type": "string" +}, +"profile": { +"$ref": "UserProfile", +"description": "Global user information for the student. Read-only." +}, +"studentWorkFolder": { +"$ref": "DriveFolder", +"description": "Information about a Drive Folder for this student's work in this course. Only visible to the student and domain administrators. Read-only." +}, +"userId": { +"description": "Identifier of the user. When specified as a parameter of a request, this identifier can be one of the following: * the numeric identifier for the user * the email address of the user * the string literal `\"me\"`, indicating the requesting user", +"type": "string" +} +}, +"type": "object" +}, +"StudentContext": { +"description": "Role-specific context if the requesting user is a student.", +"id": "StudentContext", +"properties": { +"submissionId": { +"description": "Requesting user's submission id to be used for grade passback and to identify the student when showing student work to the teacher. This is set exactly when `supportsStudentWork` is `true`.", +"type": "string" +} +}, +"type": "object" +}, +"StudentGroup": { +"description": "A student group in a course.", +"id": "StudentGroup", +"properties": { +"courseId": { +"description": "The identifier of the course.", +"type": "string" +}, +"id": { +"description": "The identifier of the student group.", +"type": "string" +}, +"title": { +"description": "The title of the student group.", +"type": "string" +} +}, +"type": "object" +}, +"StudentGroupMember": { +"description": "A student member in a student group.", +"id": "StudentGroupMember", +"properties": { +"courseId": { +"description": "The identifier of the course.", +"type": "string" +}, +"studentGroupId": { +"description": "The identifier of the student group.", +"type": "string" +}, +"userId": { +"description": "Identifier of the student.", +"type": "string" +} +}, +"type": "object" +}, +"StudentSubmission": { +"description": "Student submission for course work. `StudentSubmission` items are generated when a `CourseWork` item is created. Student submissions that have never been accessed (i.e. with `state` = NEW) may not have a creation time or update time.", +"id": "StudentSubmission", +"properties": { +"alternateLink": { +"description": "Absolute link to the submission in the Classroom web UI. Read-only.", +"type": "string" +}, +"assignedGrade": { +"description": "Optional grade. If unset, no grade was set. This value must be non-negative. Decimal (that is, non-integer) values are allowed, but are rounded to two decimal places. This may be modified only by course teachers.", +"format": "double", +"type": "number" +}, +"assignedRubricGrades": { +"additionalProperties": { +"$ref": "RubricGrade" +}, +"description": "Assigned rubric grades based on the rubric's Criteria. This map is empty if there is no rubric attached to this course work or if a rubric is attached, but no grades have been set on any Criteria. Entries are only populated for grades that have been set. Key: The rubric's criterion ID. Read-only.", +"type": "object" +}, +"assignmentSubmission": { +"$ref": "AssignmentSubmission", +"description": "Submission content when course_work_type is ASSIGNMENT. Students can modify this content using ModifyAttachments." +}, +"associatedWithDeveloper": { +"description": "Whether this student submission is associated with the Developer Console project making the request. See CreateCourseWork for more details. Read-only.", +"type": "boolean" +}, +"courseId": { +"description": "Identifier of the course. Read-only.", +"type": "string" +}, +"courseWorkId": { +"description": "Identifier for the course work this corresponds to. Read-only.", +"type": "string" +}, +"courseWorkType": { +"description": "Type of course work this submission is for. Read-only.", +"enum": [ +"COURSE_WORK_TYPE_UNSPECIFIED", +"ASSIGNMENT", +"SHORT_ANSWER_QUESTION", +"MULTIPLE_CHOICE_QUESTION" +], +"enumDescriptions": [ +"No work type specified. This is never returned.", +"An assignment.", +"A short answer question.", +"A multiple-choice question." +], +"type": "string" +}, +"creationTime": { +"description": "Creation time of this submission. This may be unset if the student has not accessed this item. Read-only.", +"format": "google-datetime", +"type": "string" +}, +"draftGrade": { +"description": "Optional pending grade. If unset, no grade was set. This value must be non-negative. Decimal (that is, non-integer) values are allowed, but are rounded to two decimal places. This is only visible to and modifiable by course teachers.", +"format": "double", +"type": "number" +}, +"draftRubricGrades": { +"additionalProperties": { +"$ref": "RubricGrade" +}, +"description": "Pending rubric grades based on the rubric's criteria. This map is empty if there is no rubric attached to this course work or if a rubric is attached, but no grades have been set on any criteria. Entries are only populated for grades that have been set. Key: The rubric's criterion ID. Read-only.", +"type": "object" +}, +"id": { +"description": "Classroom-assigned Identifier for the student submission. This is unique among submissions for the relevant course work. Read-only.", +"type": "string" +}, +"late": { +"description": "Whether this submission is late. Read-only.", +"type": "boolean" +}, +"multipleChoiceSubmission": { +"$ref": "MultipleChoiceSubmission", +"description": "Submission content when course_work_type is MULTIPLE_CHOICE_QUESTION." +}, +"shortAnswerSubmission": { +"$ref": "ShortAnswerSubmission", +"description": "Submission content when course_work_type is SHORT_ANSWER_QUESTION." +}, +"state": { +"description": "State of this submission. Read-only.", +"enum": [ +"SUBMISSION_STATE_UNSPECIFIED", +"NEW", +"CREATED", +"TURNED_IN", +"RETURNED", +"RECLAIMED_BY_STUDENT" +], +"enumDescriptions": [ +"No state specified. This should never be returned.", +"The student has never accessed this submission. Attachments are not returned and timestamps is not set.", +"Has been created.", +"Has been turned in to the teacher.", +"Has been returned to the student.", +"Student chose to \"unsubmit\" the assignment." +], +"type": "string" +}, +"submissionHistory": { +"description": "The history of the submission (includes state and grade histories). Read-only.", +"items": { +"$ref": "SubmissionHistory" +}, +"type": "array" +}, +"updateTime": { +"description": "Last update time of this submission. This may be unset if the student has not accessed this item. Read-only.", +"format": "google-datetime", +"type": "string" +}, +"userId": { +"description": "Identifier for the student that owns this submission. Read-only.", +"type": "string" +} +}, +"type": "object" +}, +"SubmissionHistory": { +"description": "The history of the submission. This currently includes state and grade histories.", +"id": "SubmissionHistory", +"properties": { +"gradeHistory": { +"$ref": "GradeHistory", +"description": "The grade history information of the submission, if present." +}, +"stateHistory": { +"$ref": "StateHistory", +"description": "The state history information of the submission, if present." +} +}, +"type": "object" +}, +"Teacher": { +"description": "Teacher of a course.", +"id": "Teacher", +"properties": { +"courseId": { +"description": "Identifier of the course. Read-only.", +"type": "string" +}, +"profile": { +"$ref": "UserProfile", +"description": "Global user information for the teacher. Read-only." +}, +"userId": { +"description": "Identifier of the user. When specified as a parameter of a request, this identifier can be one of the following: * the numeric identifier for the user * the email address of the user * the string literal `\"me\"`, indicating the requesting user", +"type": "string" +} +}, +"type": "object" +}, +"TeacherContext": { +"description": "Role-specific context if the requesting user is a teacher.", +"id": "TeacherContext", +"properties": {}, +"type": "object" +}, +"TimeOfDay": { +"description": "Represents a time of day. The date and time zone are either not significant or are specified elsewhere. An API may choose to allow leap seconds. Related types are google.type.Date and `google.protobuf.Timestamp`.", +"id": "TimeOfDay", +"properties": { +"hours": { +"description": "Hours of a day in 24 hour format. Must be greater than or equal to 0 and typically must be less than or equal to 23. An API may choose to allow the value \"24:00:00\" for scenarios like business closing time.", +"format": "int32", +"type": "integer" +}, +"minutes": { +"description": "Minutes of an hour. Must be greater than or equal to 0 and less than or equal to 59.", +"format": "int32", +"type": "integer" +}, +"nanos": { +"description": "Fractions of seconds, in nanoseconds. Must be greater than or equal to 0 and less than or equal to 999,999,999.", +"format": "int32", +"type": "integer" +}, +"seconds": { +"description": "Seconds of a minute. Must be greater than or equal to 0 and typically must be less than or equal to 59. An API may allow the value 60 if it allows leap-seconds.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"Topic": { +"description": "Topic created by a teacher for the course", +"id": "Topic", +"properties": { +"courseId": { +"description": "Identifier of the course. Read-only.", +"type": "string" +}, +"name": { +"description": "The name of the topic, generated by the user. Leading and trailing whitespaces, if any, are trimmed. Also, multiple consecutive whitespaces are collapsed into one inside the name. The result must be a non-empty string. Topic names are case sensitive, and must be no longer than 100 characters.", +"type": "string" +}, +"topicId": { +"description": "Unique identifier for the topic. Read-only.", +"type": "string" +}, +"updateTime": { +"description": "The time the topic was last updated by the system. Read-only.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"TurnInStudentSubmissionRequest": { +"description": "Request to turn in a student submission.", +"id": "TurnInStudentSubmissionRequest", +"properties": {}, +"type": "object" +}, +"UserProfile": { +"description": "Global information for a user.", +"id": "UserProfile", +"properties": { +"emailAddress": { +"description": "Email address of the user. Must request `https://www.googleapis.com/auth/classroom.profile.emails` scope for this field to be populated in a response body. Read-only.", +"type": "string" +}, +"id": { +"description": "Identifier of the user. Read-only.", +"type": "string" +}, +"name": { +"$ref": "Name", +"description": "Name of the user. Read-only." +}, +"permissions": { +"description": "Global permissions of the user. Read-only.", +"items": { +"$ref": "GlobalPermission" +}, +"type": "array" +}, +"photoUrl": { +"description": "URL of user's profile photo. Must request `https://www.googleapis.com/auth/classroom.profile.photos` scope for this field to be populated in a response body. Read-only.", +"type": "string" +}, +"verifiedTeacher": { +"description": "Represents whether a Google Workspace for Education user's domain administrator has explicitly verified them as being a teacher. This field is always false if the user is not a member of a Google Workspace for Education domain. Read-only", +"type": "boolean" +} +}, +"type": "object" +}, +"YouTubeVideo": { +"description": "YouTube video item.", +"id": "YouTubeVideo", +"properties": { +"alternateLink": { +"description": "URL that can be used to view the YouTube video. Read-only.", +"type": "string" +}, +"id": { +"description": "YouTube API resource ID.", +"type": "string" +}, +"thumbnailUrl": { +"description": "URL of a thumbnail image of the YouTube video. Read-only.", +"type": "string" +}, +"title": { +"description": "Title of the YouTube video. Read-only.", +"type": "string" +} +}, +"type": "object" +} +}, +"servicePath": "", +"title": "Google Classroom API", +"version": "v1" +} \ No newline at end of file diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/cloudasset.v1.json b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/cloudasset.v1.json new file mode 100644 index 0000000000000000000000000000000000000000..e58b6260e661c54435be9a3326b8dd9a69867bb9 --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/cloudasset.v1.json @@ -0,0 +1,4833 @@ +{ +"auth": { +"oauth2": { +"scopes": { +"https://www.googleapis.com/auth/cloud-platform": { +"description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." +} +} +} +}, +"basePath": "", +"baseUrl": "https://cloudasset.googleapis.com/", +"batchPath": "batch", +"canonicalName": "Cloud Asset", +"description": "The Cloud Asset API manages the history and inventory of Google Cloud resources.", +"discoveryVersion": "v1", +"documentationLink": "https://cloud.google.com/asset-inventory/docs/quickstart", +"fullyEncodeReservedExpansion": true, +"icons": { +"x16": "http://www.google.com/images/icons/product/search-16.gif", +"x32": "http://www.google.com/images/icons/product/search-32.gif" +}, +"id": "cloudasset:v1", +"kind": "discovery#restDescription", +"mtlsRootUrl": "https://cloudasset.mtls.googleapis.com/", +"name": "cloudasset", +"ownerDomain": "google.com", +"ownerName": "Google", +"parameters": { +"$.xgafv": { +"description": "V1 error format.", +"enum": [ +"1", +"2" +], +"enumDescriptions": [ +"v1 error format", +"v2 error format" +], +"location": "query", +"type": "string" +}, +"access_token": { +"description": "OAuth access token.", +"location": "query", +"type": "string" +}, +"alt": { +"default": "json", +"description": "Data format for response.", +"enum": [ +"json", +"media", +"proto" +], +"enumDescriptions": [ +"Responses with Content-Type of application/json", +"Media download with context-dependent Content-Type", +"Responses with Content-Type of application/x-protobuf" +], +"location": "query", +"type": "string" +}, +"callback": { +"description": "JSONP", +"location": "query", +"type": "string" +}, +"fields": { +"description": "Selector specifying which fields to include in a partial response.", +"location": "query", +"type": "string" +}, +"key": { +"description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", +"location": "query", +"type": "string" +}, +"oauth_token": { +"description": "OAuth 2.0 token for the current user.", +"location": "query", +"type": "string" +}, +"prettyPrint": { +"default": "true", +"description": "Returns response with indentations and line breaks.", +"location": "query", +"type": "boolean" +}, +"quotaUser": { +"description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.", +"location": "query", +"type": "string" +}, +"uploadType": { +"description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", +"location": "query", +"type": "string" +}, +"upload_protocol": { +"description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", +"location": "query", +"type": "string" +} +}, +"protocol": "rest", +"resources": { +"assets": { +"methods": { +"list": { +"description": "Lists assets with time and resource types and returns paged results in response.", +"flatPath": "v1/{v1Id}/{v1Id1}/assets", +"httpMethod": "GET", +"id": "cloudasset.assets.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"assetTypes": { +"description": "A list of asset types to take a snapshot for. For example: \"compute.googleapis.com/Disk\". Regular expression is also supported. For example: * \"compute.googleapis.com.*\" snapshots resources whose asset type starts with \"compute.googleapis.com\". * \".*Instance\" snapshots resources whose asset type ends with \"Instance\". * \".*Instance.*\" snapshots resources whose asset type contains \"Instance\". See [RE2](https://github.com/google/re2/wiki/Syntax) for all supported regular expression syntax. If the regular expression does not match any supported asset type, an INVALID_ARGUMENT error will be returned. If specified, only matching assets will be returned, otherwise, it will snapshot all asset types. See [Introduction to Cloud Asset Inventory](https://cloud.google.com/asset-inventory/docs/overview) for all supported asset types.", +"location": "query", +"repeated": true, +"type": "string" +}, +"contentType": { +"description": "Asset content type. If not specified, no content but the asset name will be returned.", +"enum": [ +"CONTENT_TYPE_UNSPECIFIED", +"RESOURCE", +"IAM_POLICY", +"ORG_POLICY", +"ACCESS_POLICY", +"OS_INVENTORY", +"RELATIONSHIP" +], +"enumDescriptions": [ +"Unspecified content type.", +"Resource metadata.", +"The actual IAM policy set on a resource.", +"The organization policy set on an asset.", +"The Access Context Manager policy set on an asset.", +"The runtime OS Inventory information.", +"The related resources." +], +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "The maximum number of assets to be returned in a single response. Default is 100, minimum is 1, and maximum is 1000.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The `next_page_token` returned from the previous `ListAssetsResponse`, or unspecified for the first `ListAssetsRequest`. It is a continuation of a prior `ListAssets` call, and the API should return the next page of assets.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. Name of the organization, folder, or project the assets belong to. Format: \"organizations/[organization-number]\" (such as \"organizations/123\"), \"projects/[project-id]\" (such as \"projects/my-project-id\"), \"projects/[project-number]\" (such as \"projects/12345\"), or \"folders/[folder-number]\" (such as \"folders/12345\").", +"location": "path", +"pattern": "^[^/]+/[^/]+$", +"required": true, +"type": "string" +}, +"readTime": { +"description": "Timestamp to take an asset snapshot. This can only be set to a timestamp between the current time and the current time minus 35 days (inclusive). If not specified, the current time will be used. Due to delays in resource data collection and indexing, there is a volatile window during which running the same query may get different results.", +"format": "google-datetime", +"location": "query", +"type": "string" +}, +"relationshipTypes": { +"description": "A list of relationship types to output, for example: `INSTANCE_TO_INSTANCEGROUP`. This field should only be specified if content_type=RELATIONSHIP. * If specified: it snapshots specified relationships. It returns an error if any of the [relationship_types] doesn't belong to the supported relationship types of the [asset_types] or if any of the [asset_types] doesn't belong to the source types of the [relationship_types]. * Otherwise: it snapshots the supported relationships for all [asset_types] or returns an error if any of the [asset_types] has no relationship support. An unspecified asset types field means all supported asset_types. See [Introduction to Cloud Asset Inventory](https://cloud.google.com/asset-inventory/docs/overview) for all supported asset types and relationship types.", +"location": "query", +"repeated": true, +"type": "string" +} +}, +"path": "v1/{+parent}/assets", +"response": { +"$ref": "ListAssetsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"effectiveIamPolicies": { +"methods": { +"batchGet": { +"description": "Gets effective IAM policies for a batch of resources.", +"flatPath": "v1/{v1Id}/{v1Id1}/effectiveIamPolicies:batchGet", +"httpMethod": "GET", +"id": "cloudasset.effectiveIamPolicies.batchGet", +"parameterOrder": [ +"scope" +], +"parameters": { +"names": { +"description": "Required. The names refer to the [full_resource_names] (https://cloud.google.com/asset-inventory/docs/resource-name-format) of the asset types [supported by search APIs](https://cloud.google.com/asset-inventory/docs/supported-asset-types). A maximum of 20 resources' effective policies can be retrieved in a batch.", +"location": "query", +"repeated": true, +"type": "string" +}, +"scope": { +"description": "Required. Only IAM policies on or below the scope will be returned. This can only be an organization number (such as \"organizations/123\"), a folder number (such as \"folders/123\"), a project ID (such as \"projects/my-project-id\"), or a project number (such as \"projects/12345\"). To know how to get organization ID, visit [here ](https://cloud.google.com/resource-manager/docs/creating-managing-organization#retrieving_your_organization_id). To know how to get folder or project ID, visit [here ](https://cloud.google.com/resource-manager/docs/creating-managing-folders#viewing_or_listing_folders_and_projects).", +"location": "path", +"pattern": "^[^/]+/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+scope}/effectiveIamPolicies:batchGet", +"response": { +"$ref": "BatchGetEffectiveIamPoliciesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"feeds": { +"methods": { +"create": { +"description": "Creates a feed in a parent project/folder/organization to listen to its asset updates.", +"flatPath": "v1/{v1Id}/{v1Id1}/feeds", +"httpMethod": "POST", +"id": "cloudasset.feeds.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The name of the project/folder/organization where this feed should be created in. It can only be an organization number (such as \"organizations/123\"), a folder number (such as \"folders/123\"), a project ID (such as \"projects/my-project-id\"), or a project number (such as \"projects/12345\").", +"location": "path", +"pattern": "^[^/]+/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/feeds", +"request": { +"$ref": "CreateFeedRequest" +}, +"response": { +"$ref": "Feed" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes an asset feed.", +"flatPath": "v1/{v1Id}/{v1Id1}/feeds/{feedsId}", +"httpMethod": "DELETE", +"id": "cloudasset.feeds.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the feed and it must be in the format of: projects/project_number/feeds/feed_id folders/folder_number/feeds/feed_id organizations/organization_number/feeds/feed_id", +"location": "path", +"pattern": "^[^/]+/[^/]+/feeds/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets details about an asset feed.", +"flatPath": "v1/{v1Id}/{v1Id1}/feeds/{feedsId}", +"httpMethod": "GET", +"id": "cloudasset.feeds.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the Feed and it must be in the format of: projects/project_number/feeds/feed_id folders/folder_number/feeds/feed_id organizations/organization_number/feeds/feed_id", +"location": "path", +"pattern": "^[^/]+/[^/]+/feeds/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Feed" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists all asset feeds in a parent project/folder/organization.", +"flatPath": "v1/{v1Id}/{v1Id1}/feeds", +"httpMethod": "GET", +"id": "cloudasset.feeds.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The parent project/folder/organization whose feeds are to be listed. It can only be using project/folder/organization number (such as \"folders/12345\")\", or a project ID (such as \"projects/my-project-id\").", +"location": "path", +"pattern": "^[^/]+/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/feeds", +"response": { +"$ref": "ListFeedsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates an asset feed configuration.", +"flatPath": "v1/{v1Id}/{v1Id1}/feeds/{feedsId}", +"httpMethod": "PATCH", +"id": "cloudasset.feeds.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The format will be projects/{project_number}/feeds/{client-assigned_feed_identifier} or folders/{folder_number}/feeds/{client-assigned_feed_identifier} or organizations/{organization_number}/feeds/{client-assigned_feed_identifier} The client-assigned feed identifier must be unique within the parent project/folder/organization.", +"location": "path", +"pattern": "^[^/]+/[^/]+/feeds/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "UpdateFeedRequest" +}, +"response": { +"$ref": "Feed" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"operations": { +"methods": { +"get": { +"description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", +"flatPath": "v1/{v1Id}/{v1Id1}/operations/{operationsId}/{operationsId1}", +"httpMethod": "GET", +"id": "cloudasset.operations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource.", +"location": "path", +"pattern": "^[^/]+/[^/]+/operations/[^/]+/.*$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"savedQueries": { +"methods": { +"create": { +"description": "Creates a saved query in a parent project/folder/organization.", +"flatPath": "v1/{v1Id}/{v1Id1}/savedQueries", +"httpMethod": "POST", +"id": "cloudasset.savedQueries.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The name of the project/folder/organization where this saved_query should be created in. It can only be an organization number (such as \"organizations/123\"), a folder number (such as \"folders/123\"), a project ID (such as \"projects/my-project-id\"), or a project number (such as \"projects/12345\").", +"location": "path", +"pattern": "^[^/]+/[^/]+$", +"required": true, +"type": "string" +}, +"savedQueryId": { +"description": "Required. The ID to use for the saved query, which must be unique in the specified parent. It will become the final component of the saved query's resource name. This value should be 4-63 characters, and valid characters are `a-z-`. Notice that this field is required in the saved query creation, and the `name` field of the `saved_query` will be ignored.", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+parent}/savedQueries", +"request": { +"$ref": "SavedQuery" +}, +"response": { +"$ref": "SavedQuery" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a saved query.", +"flatPath": "v1/{v1Id}/{v1Id1}/savedQueries/{savedQueriesId}", +"httpMethod": "DELETE", +"id": "cloudasset.savedQueries.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the saved query to delete. It must be in the format of: * projects/project_number/savedQueries/saved_query_id * folders/folder_number/savedQueries/saved_query_id * organizations/organization_number/savedQueries/saved_query_id", +"location": "path", +"pattern": "^[^/]+/[^/]+/savedQueries/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets details about a saved query.", +"flatPath": "v1/{v1Id}/{v1Id1}/savedQueries/{savedQueriesId}", +"httpMethod": "GET", +"id": "cloudasset.savedQueries.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the saved query and it must be in the format of: * projects/project_number/savedQueries/saved_query_id * folders/folder_number/savedQueries/saved_query_id * organizations/organization_number/savedQueries/saved_query_id", +"location": "path", +"pattern": "^[^/]+/[^/]+/savedQueries/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "SavedQuery" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists all saved queries in a parent project/folder/organization.", +"flatPath": "v1/{v1Id}/{v1Id1}/savedQueries", +"httpMethod": "GET", +"id": "cloudasset.savedQueries.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Optional. The expression to filter resources. The expression is a list of zero or more restrictions combined via logical operators `AND` and `OR`. When `AND` and `OR` are both used in the expression, parentheses must be appropriately used to group the combinations. The expression may also contain regular expressions. See https://google.aip.dev/160 for more information on the grammar.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Optional. The maximum number of saved queries to return per page. The service may return fewer than this value. If unspecified, at most 50 will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. A page token, received from a previous `ListSavedQueries` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListSavedQueries` must match the call that provided the page token.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent project/folder/organization whose savedQueries are to be listed. It can only be using project/folder/organization number (such as \"folders/12345\")\", or a project ID (such as \"projects/my-project-id\").", +"location": "path", +"pattern": "^[^/]+/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/savedQueries", +"response": { +"$ref": "ListSavedQueriesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates a saved query.", +"flatPath": "v1/{v1Id}/{v1Id1}/savedQueries/{savedQueriesId}", +"httpMethod": "PATCH", +"id": "cloudasset.savedQueries.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The resource name of the saved query. The format must be: * projects/project_number/savedQueries/saved_query_id * folders/folder_number/savedQueries/saved_query_id * organizations/organization_number/savedQueries/saved_query_id", +"location": "path", +"pattern": "^[^/]+/[^/]+/savedQueries/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Required. The list of fields to update.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "SavedQuery" +}, +"response": { +"$ref": "SavedQuery" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"v1": { +"methods": { +"analyzeIamPolicy": { +"description": "Analyzes IAM policies to answer which identities have what accesses on which resources.", +"flatPath": "v1/{v1Id}/{v1Id1}:analyzeIamPolicy", +"httpMethod": "GET", +"id": "cloudasset.analyzeIamPolicy", +"parameterOrder": [ +"scope" +], +"parameters": { +"analysisQuery.accessSelector.permissions": { +"description": "Optional. The permissions to appear in result.", +"location": "query", +"repeated": true, +"type": "string" +}, +"analysisQuery.accessSelector.roles": { +"description": "Optional. The roles to appear in result.", +"location": "query", +"repeated": true, +"type": "string" +}, +"analysisQuery.conditionContext.accessTime": { +"description": "The hypothetical access timestamp to evaluate IAM conditions. Note that this value must not be earlier than the current time; otherwise, an INVALID_ARGUMENT error will be returned.", +"format": "google-datetime", +"location": "query", +"type": "string" +}, +"analysisQuery.identitySelector.identity": { +"description": "Required. The identity appear in the form of principals in [IAM policy binding](https://cloud.google.com/iam/reference/rest/v1/Binding). The examples of supported forms are: \"user:mike@example.com\", \"group:admins@example.com\", \"domain:google.com\", \"serviceAccount:my-project-id@appspot.gserviceaccount.com\". Notice that wildcard characters (such as * and ?) are not supported. You must give a specific identity.", +"location": "query", +"type": "string" +}, +"analysisQuery.options.analyzeServiceAccountImpersonation": { +"description": "Optional. If true, the response will include access analysis from identities to resources via service account impersonation. This is a very expensive operation, because many derived queries will be executed. We highly recommend you use AssetService.AnalyzeIamPolicyLongrunning RPC instead. For example, if the request analyzes for which resources user A has permission P, and there's an IAM policy states user A has iam.serviceAccounts.getAccessToken permission to a service account SA, and there's another IAM policy states service account SA has permission P to a Google Cloud folder F, then user A potentially has access to the Google Cloud folder F. And those advanced analysis results will be included in AnalyzeIamPolicyResponse.service_account_impersonation_analysis. Another example, if the request analyzes for who has permission P to a Google Cloud folder F, and there's an IAM policy states user A has iam.serviceAccounts.actAs permission to a service account SA, and there's another IAM policy states service account SA has permission P to the Google Cloud folder F, then user A potentially has access to the Google Cloud folder F. And those advanced analysis results will be included in AnalyzeIamPolicyResponse.service_account_impersonation_analysis. Only the following permissions are considered in this analysis: * `iam.serviceAccounts.actAs` * `iam.serviceAccounts.signBlob` * `iam.serviceAccounts.signJwt` * `iam.serviceAccounts.getAccessToken` * `iam.serviceAccounts.getOpenIdToken` * `iam.serviceAccounts.implicitDelegation` Default is false.", +"location": "query", +"type": "boolean" +}, +"analysisQuery.options.expandGroups": { +"description": "Optional. If true, the identities section of the result will expand any Google groups appearing in an IAM policy binding. If IamPolicyAnalysisQuery.identity_selector is specified, the identity in the result will be determined by the selector, and this flag is not allowed to set. If true, the default max expansion per group is 1000 for AssetService.AnalyzeIamPolicy][]. Default is false.", +"location": "query", +"type": "boolean" +}, +"analysisQuery.options.expandResources": { +"description": "Optional. If true and IamPolicyAnalysisQuery.resource_selector is not specified, the resource section of the result will expand any resource attached to an IAM policy to include resources lower in the resource hierarchy. For example, if the request analyzes for which resources user A has permission P, and the results include an IAM policy with P on a Google Cloud folder, the results will also include resources in that folder with permission P. If true and IamPolicyAnalysisQuery.resource_selector is specified, the resource section of the result will expand the specified resource to include resources lower in the resource hierarchy. Only project or lower resources are supported. Folder and organization resources cannot be used together with this option. For example, if the request analyzes for which users have permission P on a Google Cloud project with this option enabled, the results will include all users who have permission P on that project or any lower resource. If true, the default max expansion per resource is 1000 for AssetService.AnalyzeIamPolicy][] and 100000 for AssetService.AnalyzeIamPolicyLongrunning][]. Default is false.", +"location": "query", +"type": "boolean" +}, +"analysisQuery.options.expandRoles": { +"description": "Optional. If true, the access section of result will expand any roles appearing in IAM policy bindings to include their permissions. If IamPolicyAnalysisQuery.access_selector is specified, the access section of the result will be determined by the selector, and this flag is not allowed to set. Default is false.", +"location": "query", +"type": "boolean" +}, +"analysisQuery.options.outputGroupEdges": { +"description": "Optional. If true, the result will output the relevant membership relationships between groups and other groups, and between groups and principals. Default is false.", +"location": "query", +"type": "boolean" +}, +"analysisQuery.options.outputResourceEdges": { +"description": "Optional. If true, the result will output the relevant parent/child relationships between resources. Default is false.", +"location": "query", +"type": "boolean" +}, +"analysisQuery.resourceSelector.fullResourceName": { +"description": "Required. The [full resource name] (https://cloud.google.com/asset-inventory/docs/resource-name-format) of a resource of [supported resource types](https://cloud.google.com/asset-inventory/docs/supported-asset-types#analyzable_asset_types).", +"location": "query", +"type": "string" +}, +"executionTimeout": { +"description": "Optional. Amount of time executable has to complete. See JSON representation of [Duration](https://developers.google.com/protocol-buffers/docs/proto3#json). If this field is set with a value less than the RPC deadline, and the execution of your query hasn't finished in the specified execution timeout, you will get a response with partial result. Otherwise, your query's execution will continue until the RPC deadline. If it's not finished until then, you will get a DEADLINE_EXCEEDED error. Default is empty.", +"format": "google-duration", +"location": "query", +"type": "string" +}, +"savedAnalysisQuery": { +"description": "Optional. The name of a saved query, which must be in the format of: * projects/project_number/savedQueries/saved_query_id * folders/folder_number/savedQueries/saved_query_id * organizations/organization_number/savedQueries/saved_query_id If both `analysis_query` and `saved_analysis_query` are provided, they will be merged together with the `saved_analysis_query` as base and the `analysis_query` as overrides. For more details of the merge behavior, refer to the [MergeFrom](https://developers.google.com/protocol-buffers/docs/reference/cpp/google.protobuf.message#Message.MergeFrom.details) page. Note that you cannot override primitive fields with default value, such as 0 or empty string, etc., because we use proto3, which doesn't support field presence yet.", +"location": "query", +"type": "string" +}, +"scope": { +"description": "Required. The relative name of the root asset. Only resources and IAM policies within the scope will be analyzed. This can only be an organization number (such as \"organizations/123\"), a folder number (such as \"folders/123\"), a project ID (such as \"projects/my-project-id\"), or a project number (such as \"projects/12345\"). To know how to get organization ID, visit [here ](https://cloud.google.com/resource-manager/docs/creating-managing-organization#retrieving_your_organization_id). To know how to get folder or project ID, visit [here ](https://cloud.google.com/resource-manager/docs/creating-managing-folders#viewing_or_listing_folders_and_projects).", +"location": "path", +"pattern": "^[^/]+/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+scope}:analyzeIamPolicy", +"response": { +"$ref": "AnalyzeIamPolicyResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"analyzeIamPolicyLongrunning": { +"description": "Analyzes IAM policies asynchronously to answer which identities have what accesses on which resources, and writes the analysis results to a Google Cloud Storage or a BigQuery destination. For Cloud Storage destination, the output format is the JSON format that represents a AnalyzeIamPolicyResponse. This method implements the google.longrunning.Operation, which allows you to track the operation status. We recommend intervals of at least 2 seconds with exponential backoff retry to poll the operation result. The metadata contains the metadata for the long-running operation.", +"flatPath": "v1/{v1Id}/{v1Id1}:analyzeIamPolicyLongrunning", +"httpMethod": "POST", +"id": "cloudasset.analyzeIamPolicyLongrunning", +"parameterOrder": [ +"scope" +], +"parameters": { +"scope": { +"description": "Required. The relative name of the root asset. Only resources and IAM policies within the scope will be analyzed. This can only be an organization number (such as \"organizations/123\"), a folder number (such as \"folders/123\"), a project ID (such as \"projects/my-project-id\"), or a project number (such as \"projects/12345\"). To know how to get organization ID, visit [here ](https://cloud.google.com/resource-manager/docs/creating-managing-organization#retrieving_your_organization_id). To know how to get folder or project ID, visit [here ](https://cloud.google.com/resource-manager/docs/creating-managing-folders#viewing_or_listing_folders_and_projects).", +"location": "path", +"pattern": "^[^/]+/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+scope}:analyzeIamPolicyLongrunning", +"request": { +"$ref": "AnalyzeIamPolicyLongrunningRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"analyzeMove": { +"description": "Analyze moving a resource to a specified destination without kicking off the actual move. The analysis is best effort depending on the user's permissions of viewing different hierarchical policies and configurations. The policies and configuration are subject to change before the actual resource migration takes place.", +"flatPath": "v1/{v1Id}/{v1Id1}:analyzeMove", +"httpMethod": "GET", +"id": "cloudasset.analyzeMove", +"parameterOrder": [ +"resource" +], +"parameters": { +"destinationParent": { +"description": "Required. Name of the Google Cloud folder or organization to reparent the target resource. The analysis will be performed against hypothetically moving the resource to this specified destination parent. This can only be a folder number (such as \"folders/123\") or an organization number (such as \"organizations/123\").", +"location": "query", +"type": "string" +}, +"resource": { +"description": "Required. Name of the resource to perform the analysis against. Only Google Cloud projects are supported as of today. Hence, this can only be a project ID (such as \"projects/my-project-id\") or a project number (such as \"projects/12345\").", +"location": "path", +"pattern": "^[^/]+/[^/]+$", +"required": true, +"type": "string" +}, +"view": { +"description": "Analysis view indicating what information should be included in the analysis response. If unspecified, the default view is FULL.", +"enum": [ +"ANALYSIS_VIEW_UNSPECIFIED", +"FULL", +"BASIC" +], +"enumDescriptions": [ +"The default/unset value. The API will default to the FULL view.", +"Full analysis including all level of impacts of the specified resource move.", +"Basic analysis only including blockers which will prevent the specified resource move at runtime." +], +"location": "query", +"type": "string" +} +}, +"path": "v1/{+resource}:analyzeMove", +"response": { +"$ref": "AnalyzeMoveResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"analyzeOrgPolicies": { +"description": "Analyzes organization policies under a scope.", +"flatPath": "v1/{v1Id}/{v1Id1}:analyzeOrgPolicies", +"httpMethod": "GET", +"id": "cloudasset.analyzeOrgPolicies", +"parameterOrder": [ +"scope" +], +"parameters": { +"constraint": { +"description": "Required. The name of the constraint to analyze organization policies for. The response only contains analyzed organization policies for the provided constraint.", +"location": "query", +"type": "string" +}, +"filter": { +"description": "The expression to filter AnalyzeOrgPoliciesResponse.org_policy_results. Filtering is currently available for bare literal values and the following fields: * consolidated_policy.attached_resource * consolidated_policy.rules.enforce When filtering by a specific field, the only supported operator is `=`. For example, filtering by consolidated_policy.attached_resource=\"//cloudresourcemanager.googleapis.com/folders/001\" will return all the Organization Policy results attached to \"folders/001\".", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "The maximum number of items to return per page. If unspecified, AnalyzeOrgPoliciesResponse.org_policy_results will contain 20 items with a maximum of 200.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The pagination token to retrieve the next page.", +"location": "query", +"type": "string" +}, +"scope": { +"description": "Required. The organization to scope the request. Only organization policies within the scope will be analyzed. * organizations/{ORGANIZATION_NUMBER} (e.g., \"organizations/123456\")", +"location": "path", +"pattern": "^[^/]+/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+scope}:analyzeOrgPolicies", +"response": { +"$ref": "AnalyzeOrgPoliciesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"analyzeOrgPolicyGovernedAssets": { +"description": "Analyzes organization policies governed assets (Google Cloud resources or policies) under a scope. This RPC supports custom constraints and the following canned constraints: * constraints/ainotebooks.accessMode * constraints/ainotebooks.disableFileDownloads * constraints/ainotebooks.disableRootAccess * constraints/ainotebooks.disableTerminal * constraints/ainotebooks.environmentOptions * constraints/ainotebooks.requireAutoUpgradeSchedule * constraints/ainotebooks.restrictVpcNetworks * constraints/compute.disableGuestAttributesAccess * constraints/compute.disableInstanceDataAccessApis * constraints/compute.disableNestedVirtualization * constraints/compute.disableSerialPortAccess * constraints/compute.disableSerialPortLogging * constraints/compute.disableVpcExternalIpv6 * constraints/compute.requireOsLogin * constraints/compute.requireShieldedVm * constraints/compute.restrictLoadBalancerCreationForTypes * constraints/compute.restrictProtocolForwardingCreationForTypes * constraints/compute.restrictXpnProjectLienRemoval * constraints/compute.setNewProjectDefaultToZonalDNSOnly * constraints/compute.skipDefaultNetworkCreation * constraints/compute.trustedImageProjects * constraints/compute.vmCanIpForward * constraints/compute.vmExternalIpAccess * constraints/gcp.detailedAuditLoggingMode * constraints/gcp.resourceLocations * constraints/iam.allowedPolicyMemberDomains * constraints/iam.automaticIamGrantsForDefaultServiceAccounts * constraints/iam.disableServiceAccountCreation * constraints/iam.disableServiceAccountKeyCreation * constraints/iam.disableServiceAccountKeyUpload * constraints/iam.restrictCrossProjectServiceAccountLienRemoval * constraints/iam.serviceAccountKeyExpiryHours * constraints/resourcemanager.accessBoundaries * constraints/resourcemanager.allowedExportDestinations * constraints/sql.restrictAuthorizedNetworks * constraints/sql.restrictNoncompliantDiagnosticDataAccess * constraints/sql.restrictNoncompliantResourceCreation * constraints/sql.restrictPublicIp * constraints/storage.publicAccessPrevention * constraints/storage.restrictAuthTypes * constraints/storage.uniformBucketLevelAccess This RPC only returns either resources of types [supported by search APIs](https://cloud.google.com/asset-inventory/docs/supported-asset-types) or IAM policies.", +"flatPath": "v1/{v1Id}/{v1Id1}:analyzeOrgPolicyGovernedAssets", +"httpMethod": "GET", +"id": "cloudasset.analyzeOrgPolicyGovernedAssets", +"parameterOrder": [ +"scope" +], +"parameters": { +"constraint": { +"description": "Required. The name of the constraint to analyze governed assets for. The analysis only contains analyzed organization policies for the provided constraint.", +"location": "query", +"type": "string" +}, +"filter": { +"description": "The expression to filter AnalyzeOrgPolicyGovernedAssetsResponse.governed_assets. For governed resources, filtering is currently available for bare literal values and the following fields: * governed_resource.project * governed_resource.folders * consolidated_policy.rules.enforce When filtering by `governed_resource.project` or `consolidated_policy.rules.enforce`, the only supported operator is `=`. When filtering by `governed_resource.folders`, the supported operators are `=` and `:`. For example, filtering by `governed_resource.project=\"projects/12345678\"` will return all the governed resources under \"projects/12345678\", including the project itself if applicable. For governed IAM policies, filtering is currently available for bare literal values and the following fields: * governed_iam_policy.project * governed_iam_policy.folders * consolidated_policy.rules.enforce When filtering by `governed_iam_policy.project` or `consolidated_policy.rules.enforce`, the only supported operator is `=`. When filtering by `governed_iam_policy.folders`, the supported operators are `=` and `:`. For example, filtering by `governed_iam_policy.folders:\"folders/12345678\"` will return all the governed IAM policies under \"folders/001\".", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "The maximum number of items to return per page. If unspecified, AnalyzeOrgPolicyGovernedAssetsResponse.governed_assets will contain 100 items with a maximum of 200.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The pagination token to retrieve the next page.", +"location": "query", +"type": "string" +}, +"scope": { +"description": "Required. The organization to scope the request. Only organization policies within the scope will be analyzed. The output assets will also be limited to the ones governed by those in-scope organization policies. * organizations/{ORGANIZATION_NUMBER} (e.g., \"organizations/123456\")", +"location": "path", +"pattern": "^[^/]+/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+scope}:analyzeOrgPolicyGovernedAssets", +"response": { +"$ref": "AnalyzeOrgPolicyGovernedAssetsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"analyzeOrgPolicyGovernedContainers": { +"description": "Analyzes organization policies governed containers (projects, folders or organization) under a scope.", +"flatPath": "v1/{v1Id}/{v1Id1}:analyzeOrgPolicyGovernedContainers", +"httpMethod": "GET", +"id": "cloudasset.analyzeOrgPolicyGovernedContainers", +"parameterOrder": [ +"scope" +], +"parameters": { +"constraint": { +"description": "Required. The name of the constraint to analyze governed containers for. The analysis only contains organization policies for the provided constraint.", +"location": "query", +"type": "string" +}, +"filter": { +"description": "The expression to filter AnalyzeOrgPolicyGovernedContainersResponse.governed_containers. Filtering is currently available for bare literal values and the following fields: * parent * consolidated_policy.rules.enforce When filtering by a specific field, the only supported operator is `=`. For example, filtering by parent=\"//cloudresourcemanager.googleapis.com/folders/001\" will return all the containers under \"folders/001\".", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "The maximum number of items to return per page. If unspecified, AnalyzeOrgPolicyGovernedContainersResponse.governed_containers will contain 100 items with a maximum of 200.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The pagination token to retrieve the next page.", +"location": "query", +"type": "string" +}, +"scope": { +"description": "Required. The organization to scope the request. Only organization policies within the scope will be analyzed. The output containers will also be limited to the ones governed by those in-scope organization policies. * organizations/{ORGANIZATION_NUMBER} (e.g., \"organizations/123456\")", +"location": "path", +"pattern": "^[^/]+/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+scope}:analyzeOrgPolicyGovernedContainers", +"response": { +"$ref": "AnalyzeOrgPolicyGovernedContainersResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"batchGetAssetsHistory": { +"description": "Batch gets the update history of assets that overlap a time window. For IAM_POLICY content, this API outputs history when the asset and its attached IAM POLICY both exist. This can create gaps in the output history. Otherwise, this API outputs history with asset in both non-delete or deleted status. If a specified asset does not exist, this API returns an INVALID_ARGUMENT error.", +"flatPath": "v1/{v1Id}/{v1Id1}:batchGetAssetsHistory", +"httpMethod": "GET", +"id": "cloudasset.batchGetAssetsHistory", +"parameterOrder": [ +"parent" +], +"parameters": { +"assetNames": { +"description": "A list of the full names of the assets. See: https://cloud.google.com/asset-inventory/docs/resource-name-format Example: `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`. The request becomes a no-op if the asset name list is empty, and the max size of the asset name list is 100 in one request.", +"location": "query", +"repeated": true, +"type": "string" +}, +"contentType": { +"description": "Optional. The content type.", +"enum": [ +"CONTENT_TYPE_UNSPECIFIED", +"RESOURCE", +"IAM_POLICY", +"ORG_POLICY", +"ACCESS_POLICY", +"OS_INVENTORY", +"RELATIONSHIP" +], +"enumDescriptions": [ +"Unspecified content type.", +"Resource metadata.", +"The actual IAM policy set on a resource.", +"The organization policy set on an asset.", +"The Access Context Manager policy set on an asset.", +"The runtime OS Inventory information.", +"The related resources." +], +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The relative name of the root asset. It can only be an organization number (such as \"organizations/123\"), a project ID (such as \"projects/my-project-id\")\", or a project number (such as \"projects/12345\").", +"location": "path", +"pattern": "^[^/]+/[^/]+$", +"required": true, +"type": "string" +}, +"readTimeWindow.endTime": { +"description": "End time of the time window (inclusive). If not specified, the current timestamp is used instead.", +"format": "google-datetime", +"location": "query", +"type": "string" +}, +"readTimeWindow.startTime": { +"description": "Start time of the time window (exclusive).", +"format": "google-datetime", +"location": "query", +"type": "string" +}, +"relationshipTypes": { +"description": "Optional. A list of relationship types to output, for example: `INSTANCE_TO_INSTANCEGROUP`. This field should only be specified if content_type=RELATIONSHIP. * If specified: it outputs specified relationships' history on the [asset_names]. It returns an error if any of the [relationship_types] doesn't belong to the supported relationship types of the [asset_names] or if any of the [asset_names]'s types doesn't belong to the source types of the [relationship_types]. * Otherwise: it outputs the supported relationships' history on the [asset_names] or returns an error if any of the [asset_names]'s types has no relationship support. See [Introduction to Cloud Asset Inventory](https://cloud.google.com/asset-inventory/docs/overview) for all supported asset types and relationship types.", +"location": "query", +"repeated": true, +"type": "string" +} +}, +"path": "v1/{+parent}:batchGetAssetsHistory", +"response": { +"$ref": "BatchGetAssetsHistoryResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"exportAssets": { +"description": "Exports assets with time and resource types to a given Cloud Storage location/BigQuery table. For Cloud Storage location destinations, the output format is newline-delimited JSON. Each line represents a google.cloud.asset.v1.Asset in the JSON format; for BigQuery table destinations, the output table stores the fields in asset Protobuf as columns. This API implements the google.longrunning.Operation API, which allows you to keep track of the export. We recommend intervals of at least 2 seconds with exponential retry to poll the export operation result. For regular-size resource parent, the export operation usually finishes within 5 minutes.", +"flatPath": "v1/{v1Id}/{v1Id1}:exportAssets", +"httpMethod": "POST", +"id": "cloudasset.exportAssets", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The relative name of the root asset. This can only be an organization number (such as \"organizations/123\"), a project ID (such as \"projects/my-project-id\"), or a project number (such as \"projects/12345\"), or a folder number (such as \"folders/123\").", +"location": "path", +"pattern": "^[^/]+/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}:exportAssets", +"request": { +"$ref": "ExportAssetsRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"queryAssets": { +"description": "Issue a job that queries assets using a SQL statement compatible with [BigQuery SQL](https://cloud.google.com/bigquery/docs/introduction-sql). If the query execution finishes within timeout and there's no pagination, the full query results will be returned in the `QueryAssetsResponse`. Otherwise, full query results can be obtained by issuing extra requests with the `job_reference` from the a previous `QueryAssets` call. Note, the query result has approximately 10 GB limitation enforced by [BigQuery](https://cloud.google.com/bigquery/docs/best-practices-performance-output). Queries return larger results will result in errors.", +"flatPath": "v1/{v1Id}/{v1Id1}:queryAssets", +"httpMethod": "POST", +"id": "cloudasset.queryAssets", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The relative name of the root asset. This can only be an organization number (such as \"organizations/123\"), a project ID (such as \"projects/my-project-id\"), or a project number (such as \"projects/12345\"), or a folder number (such as \"folders/123\"). Only assets belonging to the `parent` will be returned.", +"location": "path", +"pattern": "^[^/]+/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}:queryAssets", +"request": { +"$ref": "QueryAssetsRequest" +}, +"response": { +"$ref": "QueryAssetsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"searchAllIamPolicies": { +"description": "Searches all IAM policies within the specified scope, such as a project, folder, or organization. The caller must be granted the `cloudasset.assets.searchAllIamPolicies` permission on the desired scope, otherwise the request will be rejected.", +"flatPath": "v1/{v1Id}/{v1Id1}:searchAllIamPolicies", +"httpMethod": "GET", +"id": "cloudasset.searchAllIamPolicies", +"parameterOrder": [ +"scope" +], +"parameters": { +"assetTypes": { +"description": "Optional. A list of asset types that the IAM policies are attached to. If empty, it will search the IAM policies that are attached to all the asset types [supported by search APIs](https://cloud.google.com/asset-inventory/docs/supported-asset-types) Regular expressions are also supported. For example: * \"compute.googleapis.com.*\" snapshots IAM policies attached to asset type starts with \"compute.googleapis.com\". * \".*Instance\" snapshots IAM policies attached to asset type ends with \"Instance\". * \".*Instance.*\" snapshots IAM policies attached to asset type contains \"Instance\". See [RE2](https://github.com/google/re2/wiki/Syntax) for all supported regular expression syntax. If the regular expression does not match any supported asset type, an INVALID_ARGUMENT error will be returned.", +"location": "query", +"repeated": true, +"type": "string" +}, +"orderBy": { +"description": "Optional. A comma-separated list of fields specifying the sorting order of the results. The default order is ascending. Add \" DESC\" after the field name to indicate descending order. Redundant space characters are ignored. Example: \"assetType DESC, resource\". Only singular primitive fields in the response are sortable: * resource * assetType * project All the other fields such as repeated fields (e.g., `folders`) and non-primitive fields (e.g., `policy`) are not supported.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Optional. The page size for search result pagination. Page size is capped at 500 even if a larger value is given. If set to zero or a negative value, server will pick an appropriate default. Returned results may be fewer than requested. When this happens, there could be more results as long as `next_page_token` is returned.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. If present, retrieve the next batch of results from the preceding call to this method. `page_token` must be the value of `next_page_token` from the previous response. The values of all other method parameters must be identical to those in the previous call.", +"location": "query", +"type": "string" +}, +"query": { +"description": "Optional. The query statement. See [how to construct a query](https://cloud.google.com/asset-inventory/docs/searching-iam-policies#how_to_construct_a_query) for more information. If not specified or empty, it will search all the IAM policies within the specified `scope`. Note that the query string is compared against each IAM policy binding, including its principals, roles, and IAM conditions. The returned IAM policies will only contain the bindings that match your query. To learn more about the IAM policy structure, see the [IAM policy documentation](https://cloud.google.com/iam/help/allow-policies/structure). Examples: * `policy:amy@gmail.com` to find IAM policy bindings that specify user \"amy@gmail.com\". * `policy:roles/compute.admin` to find IAM policy bindings that specify the Compute Admin role. * `policy:comp*` to find IAM policy bindings that contain \"comp\" as a prefix of any word in the binding. * `policy.role.permissions:storage.buckets.update` to find IAM policy bindings that specify a role containing \"storage.buckets.update\" permission. Note that if callers don't have `iam.roles.get` access to a role's included permissions, policy bindings that specify this role will be dropped from the search results. * `policy.role.permissions:upd*` to find IAM policy bindings that specify a role containing \"upd\" as a prefix of any word in the role permission. Note that if callers don't have `iam.roles.get` access to a role's included permissions, policy bindings that specify this role will be dropped from the search results. * `resource:organizations/123456` to find IAM policy bindings that are set on \"organizations/123456\". * `resource=//cloudresourcemanager.googleapis.com/projects/myproject` to find IAM policy bindings that are set on the project named \"myproject\". * `Important` to find IAM policy bindings that contain \"Important\" as a word in any of the searchable fields (except for the included permissions). * `resource:(instance1 OR instance2) policy:amy` to find IAM policy bindings that are set on resources \"instance1\" or \"instance2\" and also specify user \"amy\". * `roles:roles/compute.admin` to find IAM policy bindings that specify the Compute Admin role. * `memberTypes:user` to find IAM policy bindings that contain the principal type \"user\".", +"location": "query", +"type": "string" +}, +"scope": { +"description": "Required. A scope can be a project, a folder, or an organization. The search is limited to the IAM policies within the `scope`. The caller must be granted the [`cloudasset.assets.searchAllIamPolicies`](https://cloud.google.com/asset-inventory/docs/access-control#required_permissions) permission on the desired scope. The allowed values are: * projects/{PROJECT_ID} (e.g., \"projects/foo-bar\") * projects/{PROJECT_NUMBER} (e.g., \"projects/12345678\") * folders/{FOLDER_NUMBER} (e.g., \"folders/1234567\") * organizations/{ORGANIZATION_NUMBER} (e.g., \"organizations/123456\")", +"location": "path", +"pattern": "^[^/]+/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+scope}:searchAllIamPolicies", +"response": { +"$ref": "SearchAllIamPoliciesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"searchAllResources": { +"description": "Searches all Google Cloud resources within the specified scope, such as a project, folder, or organization. The caller must be granted the `cloudasset.assets.searchAllResources` permission on the desired scope, otherwise the request will be rejected.", +"flatPath": "v1/{v1Id}/{v1Id1}:searchAllResources", +"httpMethod": "GET", +"id": "cloudasset.searchAllResources", +"parameterOrder": [ +"scope" +], +"parameters": { +"assetTypes": { +"description": "Optional. A list of asset types that this request searches for. If empty, it will search all the asset types [supported by search APIs](https://cloud.google.com/asset-inventory/docs/supported-asset-types). Regular expressions are also supported. For example: * \"compute.googleapis.com.*\" snapshots resources whose asset type starts with \"compute.googleapis.com\". * \".*Instance\" snapshots resources whose asset type ends with \"Instance\". * \".*Instance.*\" snapshots resources whose asset type contains \"Instance\". See [RE2](https://github.com/google/re2/wiki/Syntax) for all supported regular expression syntax. If the regular expression does not match any supported asset type, an INVALID_ARGUMENT error will be returned.", +"location": "query", +"repeated": true, +"type": "string" +}, +"orderBy": { +"description": "Optional. A comma-separated list of fields specifying the sorting order of the results. The default order is ascending. Add \" DESC\" after the field name to indicate descending order. Redundant space characters are ignored. Example: \"location DESC, name\". Only the following fields in the response are sortable: * name * assetType * project * displayName * description * location * createTime * updateTime * state * parentFullResourceName * parentAssetType", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Optional. The page size for search result pagination. Page size is capped at 500 even if a larger value is given. If set to zero or a negative value, server will pick an appropriate default. Returned results may be fewer than requested. When this happens, there could be more results as long as `next_page_token` is returned.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. If present, then retrieve the next batch of results from the preceding call to this method. `page_token` must be the value of `next_page_token` from the previous response. The values of all other method parameters, must be identical to those in the previous call.", +"location": "query", +"type": "string" +}, +"query": { +"description": "Optional. The query statement. See [how to construct a query](https://cloud.google.com/asset-inventory/docs/searching-resources#how_to_construct_a_query) for more information. If not specified or empty, it will search all the resources within the specified `scope`. Examples: * `name:Important` to find Google Cloud resources whose name contains `Important` as a word. * `name=Important` to find the Google Cloud resource whose name is exactly `Important`. * `displayName:Impor*` to find Google Cloud resources whose display name contains `Impor` as a prefix of any word in the field. * `location:us-west*` to find Google Cloud resources whose location contains both `us` and `west` as prefixes. * `labels:prod` to find Google Cloud resources whose labels contain `prod` as a key or value. * `labels.env:prod` to find Google Cloud resources that have a label `env` and its value is `prod`. * `labels.env:*` to find Google Cloud resources that have a label `env`. * `tagKeys:env` to find Google Cloud resources that have directly attached tags where the [`TagKey.namespacedName`](https://cloud.google.com/resource-manager/reference/rest/v3/tagKeys#resource:-tagkey) contains `env`. * `tagValues:prod*` to find Google Cloud resources that have directly attached tags where the [`TagValue.namespacedName`](https://cloud.google.com/resource-manager/reference/rest/v3/tagValues#resource:-tagvalue) contains a word prefixed by `prod`. * `tagValueIds=tagValues/123` to find Google Cloud resources that have directly attached tags where the [`TagValue.name`](https://cloud.google.com/resource-manager/reference/rest/v3/tagValues#resource:-tagvalue) is exactly `tagValues/123`. * `effectiveTagKeys:env` to find Google Cloud resources that have directly attached or inherited tags where the [`TagKey.namespacedName`](https://cloud.google.com/resource-manager/reference/rest/v3/tagKeys#resource:-tagkey) contains `env`. * `effectiveTagValues:prod*` to find Google Cloud resources that have directly attached or inherited tags where the [`TagValue.namespacedName`](https://cloud.google.com/resource-manager/reference/rest/v3/tagValues#resource:-tagvalue) contains a word prefixed by `prod`. * `effectiveTagValueIds=tagValues/123` to find Google Cloud resources that have directly attached or inherited tags where the [`TagValue.name`](https://cloud.google.com/resource-manager/reference/rest/v3/tagValues#resource:-tagvalue) is exactly `tagValues/123`. * `kmsKey:key` to find Google Cloud resources encrypted with a customer-managed encryption key whose name contains `key` as a word. This field is deprecated. Use the `kmsKeys` field to retrieve Cloud KMS key information. * `kmsKeys:key` to find Google Cloud resources encrypted with customer-managed encryption keys whose name contains the word `key`. * `relationships:instance-group-1` to find Google Cloud resources that have relationships with `instance-group-1` in the related resource name. * `relationships:INSTANCE_TO_INSTANCEGROUP` to find Compute Engine instances that have relationships of type `INSTANCE_TO_INSTANCEGROUP`. * `relationships.INSTANCE_TO_INSTANCEGROUP:instance-group-1` to find Compute Engine instances that have relationships with `instance-group-1` in the Compute Engine instance group resource name, for relationship type `INSTANCE_TO_INSTANCEGROUP`. * `sccSecurityMarks.key=value` to find Cloud resources that are attached with security marks whose key is `key` and value is `value`. * `sccSecurityMarks.key:*` to find Cloud resources that are attached with security marks whose key is `key`. * `state:ACTIVE` to find Google Cloud resources whose state contains `ACTIVE` as a word. * `NOT state:ACTIVE` to find Google Cloud resources whose state doesn't contain `ACTIVE` as a word. * `createTime<1609459200` to find Google Cloud resources that were created before `2021-01-01 00:00:00 UTC`. `1609459200` is the epoch timestamp of `2021-01-01 00:00:00 UTC` in seconds. * `updateTime>1609459200` to find Google Cloud resources that were updated after `2021-01-01 00:00:00 UTC`. `1609459200` is the epoch timestamp of `2021-01-01 00:00:00 UTC` in seconds. * `Important` to find Google Cloud resources that contain `Important` as a word in any of the searchable fields. * `Impor*` to find Google Cloud resources that contain `Impor` as a prefix of any word in any of the searchable fields. * `Important location:(us-west1 OR global)` to find Google Cloud resources that contain `Important` as a word in any of the searchable fields and are also located in the `us-west1` region or the `global` location.", +"location": "query", +"type": "string" +}, +"readMask": { +"description": "Optional. A comma-separated list of fields that you want returned in the results. The following fields are returned by default if not specified: * `name` * `assetType` * `project` * `folders` * `organization` * `displayName` * `description` * `location` * `labels` * `tags` * `effectiveTags` * `networkTags` * `kmsKeys` * `createTime` * `updateTime` * `state` * `additionalAttributes` * `parentFullResourceName` * `parentAssetType` Some fields of large size, such as `versionedResources`, `attachedResources`, `effectiveTags` etc., are not returned by default, but you can specify them in the `read_mask` parameter if you want to include them. If `\"*\"` is specified, all [available fields](https://cloud.google.com/asset-inventory/docs/reference/rest/v1/TopLevel/searchAllResources#resourcesearchresult) are returned. Examples: `\"name,location\"`, `\"name,versionedResources\"`, `\"*\"`. Any invalid field path will trigger INVALID_ARGUMENT error.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +}, +"scope": { +"description": "Required. A scope can be a project, a folder, or an organization. The search is limited to the resources within the `scope`. The caller must be granted the [`cloudasset.assets.searchAllResources`](https://cloud.google.com/asset-inventory/docs/access-control#required_permissions) permission on the desired scope. The allowed values are: * projects/{PROJECT_ID} (e.g., \"projects/foo-bar\") * projects/{PROJECT_NUMBER} (e.g., \"projects/12345678\") * folders/{FOLDER_NUMBER} (e.g., \"folders/1234567\") * organizations/{ORGANIZATION_NUMBER} (e.g., \"organizations/123456\")", +"location": "path", +"pattern": "^[^/]+/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+scope}:searchAllResources", +"response": { +"$ref": "SearchAllResourcesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +}, +"revision": "20260102", +"rootUrl": "https://cloudasset.googleapis.com/", +"schemas": { +"AccessSelector": { +"description": "Specifies roles and/or permissions to analyze, to determine both the identities possessing them and the resources they control. If multiple values are specified, results will include roles or permissions matching any of them. The total number of roles and permissions should be equal or less than 10.", +"id": "AccessSelector", +"properties": { +"permissions": { +"description": "Optional. The permissions to appear in result.", +"items": { +"type": "string" +}, +"type": "array" +}, +"roles": { +"description": "Optional. The roles to appear in result.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"AnalyzeIamPolicyLongrunningMetadata": { +"description": "Represents the metadata of the longrunning operation for the AnalyzeIamPolicyLongrunning RPC.", +"id": "AnalyzeIamPolicyLongrunningMetadata", +"properties": { +"createTime": { +"description": "Output only. The time the operation was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"AnalyzeIamPolicyLongrunningRequest": { +"description": "A request message for AssetService.AnalyzeIamPolicyLongrunning.", +"id": "AnalyzeIamPolicyLongrunningRequest", +"properties": { +"analysisQuery": { +"$ref": "IamPolicyAnalysisQuery", +"description": "Required. The request query." +}, +"outputConfig": { +"$ref": "IamPolicyAnalysisOutputConfig", +"description": "Required. Output configuration indicating where the results will be output to." +}, +"savedAnalysisQuery": { +"description": "Optional. The name of a saved query, which must be in the format of: * projects/project_number/savedQueries/saved_query_id * folders/folder_number/savedQueries/saved_query_id * organizations/organization_number/savedQueries/saved_query_id If both `analysis_query` and `saved_analysis_query` are provided, they will be merged together with the `saved_analysis_query` as base and the `analysis_query` as overrides. For more details of the merge behavior, refer to the [MergeFrom](https://developers.google.com/protocol-buffers/docs/reference/cpp/google.protobuf.message#Message.MergeFrom.details) doc. Note that you cannot override primitive fields with default value, such as 0 or empty string, etc., because we use proto3, which doesn't support field presence yet.", +"type": "string" +} +}, +"type": "object" +}, +"AnalyzeIamPolicyLongrunningResponse": { +"description": "A response message for AssetService.AnalyzeIamPolicyLongrunning.", +"id": "AnalyzeIamPolicyLongrunningResponse", +"properties": {}, +"type": "object" +}, +"AnalyzeIamPolicyResponse": { +"description": "A response message for AssetService.AnalyzeIamPolicy.", +"id": "AnalyzeIamPolicyResponse", +"properties": { +"fullyExplored": { +"description": "Represents whether all entries in the main_analysis and service_account_impersonation_analysis have been fully explored to answer the query in the request.", +"type": "boolean" +}, +"mainAnalysis": { +"$ref": "IamPolicyAnalysis", +"description": "The main analysis that matches the original request." +}, +"serviceAccountImpersonationAnalysis": { +"description": "The service account impersonation analysis if IamPolicyAnalysisQuery.Options.analyze_service_account_impersonation is enabled.", +"items": { +"$ref": "IamPolicyAnalysis" +}, +"type": "array" +} +}, +"type": "object" +}, +"AnalyzeMoveResponse": { +"description": "The response message for resource move analysis.", +"id": "AnalyzeMoveResponse", +"properties": { +"moveAnalysis": { +"description": "The list of analyses returned from performing the intended resource move analysis. The analysis is grouped by different Google Cloud services.", +"items": { +"$ref": "MoveAnalysis" +}, +"type": "array" +} +}, +"type": "object" +}, +"AnalyzeOrgPoliciesResponse": { +"description": "The response message for AssetService.AnalyzeOrgPolicies.", +"id": "AnalyzeOrgPoliciesResponse", +"properties": { +"constraint": { +"$ref": "AnalyzerOrgPolicyConstraint", +"description": "The definition of the constraint in the request." +}, +"nextPageToken": { +"description": "The page token to fetch the next page for AnalyzeOrgPoliciesResponse.org_policy_results.", +"type": "string" +}, +"orgPolicyResults": { +"description": "The organization policies under the AnalyzeOrgPoliciesRequest.scope with the AnalyzeOrgPoliciesRequest.constraint.", +"items": { +"$ref": "OrgPolicyResult" +}, +"type": "array" +} +}, +"type": "object" +}, +"AnalyzeOrgPolicyGovernedAssetsResponse": { +"description": "The response message for AssetService.AnalyzeOrgPolicyGovernedAssets.", +"id": "AnalyzeOrgPolicyGovernedAssetsResponse", +"properties": { +"constraint": { +"$ref": "AnalyzerOrgPolicyConstraint", +"description": "The definition of the constraint in the request." +}, +"governedAssets": { +"description": "The list of the analyzed governed assets.", +"items": { +"$ref": "GoogleCloudAssetV1AnalyzeOrgPolicyGovernedAssetsResponseGovernedAsset" +}, +"type": "array" +}, +"nextPageToken": { +"description": "The page token to fetch the next page for AnalyzeOrgPolicyGovernedAssetsResponse.governed_assets.", +"type": "string" +} +}, +"type": "object" +}, +"AnalyzeOrgPolicyGovernedContainersResponse": { +"description": "The response message for AssetService.AnalyzeOrgPolicyGovernedContainers.", +"id": "AnalyzeOrgPolicyGovernedContainersResponse", +"properties": { +"constraint": { +"$ref": "AnalyzerOrgPolicyConstraint", +"description": "The definition of the constraint in the request." +}, +"governedContainers": { +"description": "The list of the analyzed governed containers.", +"items": { +"$ref": "GoogleCloudAssetV1GovernedContainer" +}, +"type": "array" +}, +"nextPageToken": { +"description": "The page token to fetch the next page for AnalyzeOrgPolicyGovernedContainersResponse.governed_containers.", +"type": "string" +} +}, +"type": "object" +}, +"AnalyzerOrgPolicy": { +"description": "This organization policy message is a modified version of the one defined in the Organization Policy system. This message contains several fields defined in the original organization policy with some new fields for analysis purpose.", +"id": "AnalyzerOrgPolicy", +"properties": { +"appliedResource": { +"description": "The [full resource name] (https://cloud.google.com/asset-inventory/docs/resource-name-format) of an organization/folder/project resource where this organization policy applies to. For any user defined org policies, this field has the same value as the [attached_resource] field. Only for default policy, this field has the different value.", +"type": "string" +}, +"attachedResource": { +"description": "The [full resource name] (https://cloud.google.com/asset-inventory/docs/resource-name-format) of an organization/folder/project resource where this organization policy is set. Notice that some type of constraints are defined with default policy. This field will be empty for them.", +"type": "string" +}, +"inheritFromParent": { +"description": "If `inherit_from_parent` is true, Rules set higher up in the hierarchy (up to the closest root) are inherited and present in the effective policy. If it is false, then no rules are inherited, and this policy becomes the effective root for evaluation.", +"type": "boolean" +}, +"reset": { +"description": "Ignores policies set above this resource and restores the default behavior of the constraint at this resource. This field can be set in policies for either list or boolean constraints. If set, `rules` must be empty and `inherit_from_parent` must be set to false.", +"type": "boolean" +}, +"rules": { +"description": "List of rules for this organization policy.", +"items": { +"$ref": "GoogleCloudAssetV1Rule" +}, +"type": "array" +} +}, +"type": "object" +}, +"AnalyzerOrgPolicyConstraint": { +"description": "The organization policy constraint definition.", +"id": "AnalyzerOrgPolicyConstraint", +"properties": { +"customConstraint": { +"$ref": "GoogleCloudAssetV1CustomConstraint", +"description": "The definition of the custom constraint." +}, +"googleDefinedConstraint": { +"$ref": "GoogleCloudAssetV1Constraint", +"description": "The definition of the canned constraint defined by Google." +} +}, +"type": "object" +}, +"Asset": { +"description": "An asset in Google Cloud. An asset can be any resource in the Google Cloud [resource hierarchy](https://cloud.google.com/resource-manager/docs/cloud-platform-resource-hierarchy), a resource outside the Google Cloud resource hierarchy (such as Google Kubernetes Engine clusters and objects), or a policy (e.g. IAM policy), or a relationship (e.g. an INSTANCE_TO_INSTANCEGROUP relationship). See [Supported asset types](https://cloud.google.com/asset-inventory/docs/supported-asset-types) for more information.", +"id": "Asset", +"properties": { +"accessLevel": { +"$ref": "GoogleIdentityAccesscontextmanagerV1AccessLevel", +"description": "Also refer to the [access level user guide](https://cloud.google.com/access-context-manager/docs/overview#access-levels)." +}, +"accessPolicy": { +"$ref": "GoogleIdentityAccesscontextmanagerV1AccessPolicy", +"description": "Also refer to the [access policy user guide](https://cloud.google.com/access-context-manager/docs/overview#access-policies)." +}, +"ancestors": { +"description": "The ancestry path of an asset in Google Cloud [resource hierarchy](https://cloud.google.com/resource-manager/docs/cloud-platform-resource-hierarchy), represented as a list of relative resource names. An ancestry path starts with the closest ancestor in the hierarchy and ends at root. If the asset is a project, folder, or organization, the ancestry path starts from the asset itself. Example: `[\"projects/123456789\", \"folders/5432\", \"organizations/1234\"]`", +"items": { +"type": "string" +}, +"type": "array" +}, +"assetExceptions": { +"description": "The exceptions of a resource.", +"items": { +"$ref": "AssetException" +}, +"type": "array" +}, +"assetType": { +"description": "The type of the asset. Example: `compute.googleapis.com/Disk` See [Supported asset types](https://cloud.google.com/asset-inventory/docs/supported-asset-types) for more information.", +"type": "string" +}, +"iamPolicy": { +"$ref": "Policy", +"description": "A representation of the IAM policy set on a Google Cloud resource. There can be a maximum of one IAM policy set on any given resource. In addition, IAM policies inherit their granted access scope from any policies set on parent resources in the resource hierarchy. Therefore, the effectively policy is the union of both the policy set on this resource and each policy set on all of the resource's ancestry resource levels in the hierarchy. See [this topic](https://cloud.google.com/iam/help/allow-policies/inheritance) for more information." +}, +"name": { +"description": "The full name of the asset. Example: `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1` See [Resource names](https://cloud.google.com/apis/design/resource_names#full_resource_name) for more information.", +"type": "string" +}, +"orgPolicy": { +"description": "A representation of an [organization policy](https://cloud.google.com/resource-manager/docs/organization-policy/overview#organization_policy). There can be more than one organization policy with different constraints set on a given resource.", +"items": { +"$ref": "GoogleCloudOrgpolicyV1Policy" +}, +"type": "array" +}, +"osInventory": { +"$ref": "Inventory", +"description": "A representation of runtime OS Inventory information. See [this topic](https://cloud.google.com/compute/docs/instances/os-inventory-management) for more information." +}, +"relatedAsset": { +"$ref": "RelatedAsset", +"description": "One related asset of the current asset." +}, +"relatedAssets": { +"$ref": "RelatedAssets", +"deprecated": true, +"description": "DEPRECATED. This field only presents for the purpose of backward-compatibility. The server will never generate responses with this field. The related assets of the asset of one relationship type. One asset only represents one type of relationship." +}, +"resource": { +"$ref": "Resource", +"description": "A representation of the resource." +}, +"servicePerimeter": { +"$ref": "GoogleIdentityAccesscontextmanagerV1ServicePerimeter", +"description": "Also refer to the [service perimeter user guide](https://cloud.google.com/vpc-service-controls/docs/overview)." +}, +"updateTime": { +"description": "The last update timestamp of an asset. update_time is updated when create/update/delete operation is performed.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"AssetEnrichment": { +"description": "The enhanced metadata information for a resource.", +"id": "AssetEnrichment", +"properties": { +"resourceOwners": { +"$ref": "ResourceOwners", +"description": "The resource owners for a resource. Note that this field only contains the members that have \"roles/owner\" role in the resource's IAM Policy." +} +}, +"type": "object" +}, +"AssetException": { +"description": "An exception of an asset.", +"id": "AssetException", +"properties": { +"details": { +"description": "The details of the exception.", +"type": "string" +}, +"exceptionType": { +"description": "The type of exception.", +"enum": [ +"EXCEPTION_TYPE_UNSPECIFIED", +"TRUNCATION" +], +"enumDescriptions": [ +"exception_type is not applicable for the current asset.", +"The asset content is truncated." +], +"type": "string" +} +}, +"type": "object" +}, +"AttachedResource": { +"description": "Attached resource representation, which is defined by the corresponding service provider. It represents an attached resource's payload.", +"id": "AttachedResource", +"properties": { +"assetType": { +"description": "The type of this attached resource. Example: `osconfig.googleapis.com/Inventory` You can find the supported attached asset types of each resource in this table: `https://cloud.google.com/asset-inventory/docs/supported-asset-types`", +"type": "string" +}, +"versionedResources": { +"description": "Versioned resource representations of this attached resource. This is repeated because there could be multiple versions of the attached resource representations during version migration.", +"items": { +"$ref": "VersionedResource" +}, +"type": "array" +} +}, +"type": "object" +}, +"AuditConfig": { +"description": "Specifies the audit configuration for a service. The configuration determines which permission types are logged, and what identities, if any, are exempted from logging. An AuditConfig must have one or more AuditLogConfigs. If there are AuditConfigs for both `allServices` and a specific service, the union of the two AuditConfigs is used for that service: the log_types specified in each AuditConfig are enabled, and the exempted_members in each AuditLogConfig are exempted. Example Policy with multiple AuditConfigs: { \"audit_configs\": [ { \"service\": \"allServices\", \"audit_log_configs\": [ { \"log_type\": \"DATA_READ\", \"exempted_members\": [ \"user:jose@example.com\" ] }, { \"log_type\": \"DATA_WRITE\" }, { \"log_type\": \"ADMIN_READ\" } ] }, { \"service\": \"sampleservice.googleapis.com\", \"audit_log_configs\": [ { \"log_type\": \"DATA_READ\" }, { \"log_type\": \"DATA_WRITE\", \"exempted_members\": [ \"user:aliya@example.com\" ] } ] } ] } For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also exempts `jose@example.com` from DATA_READ logging, and `aliya@example.com` from DATA_WRITE logging.", +"id": "AuditConfig", +"properties": { +"auditLogConfigs": { +"description": "The configuration for logging of each type of permission.", +"items": { +"$ref": "AuditLogConfig" +}, +"type": "array" +}, +"service": { +"description": "Specifies a service that will be enabled for audit logging. For example, `storage.googleapis.com`, `cloudsql.googleapis.com`. `allServices` is a special value that covers all services.", +"type": "string" +} +}, +"type": "object" +}, +"AuditLogConfig": { +"description": "Provides the configuration for logging a type of permissions. Example: { \"audit_log_configs\": [ { \"log_type\": \"DATA_READ\", \"exempted_members\": [ \"user:jose@example.com\" ] }, { \"log_type\": \"DATA_WRITE\" } ] } This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting jose@example.com from DATA_READ logging.", +"id": "AuditLogConfig", +"properties": { +"exemptedMembers": { +"description": "Specifies the identities that do not cause logging for this type of permission. Follows the same format of Binding.members.", +"items": { +"type": "string" +}, +"type": "array" +}, +"logType": { +"description": "The log type that this config enables.", +"enum": [ +"LOG_TYPE_UNSPECIFIED", +"ADMIN_READ", +"DATA_WRITE", +"DATA_READ" +], +"enumDescriptions": [ +"Default case. Should never be this.", +"Admin reads. Example: CloudIAM getIamPolicy", +"Data writes. Example: CloudSQL Users create", +"Data reads. Example: CloudSQL Users list" +], +"type": "string" +} +}, +"type": "object" +}, +"BatchGetAssetsHistoryResponse": { +"description": "Batch get assets history response.", +"id": "BatchGetAssetsHistoryResponse", +"properties": { +"assets": { +"description": "A list of assets with valid time windows.", +"items": { +"$ref": "TemporalAsset" +}, +"type": "array" +} +}, +"type": "object" +}, +"BatchGetEffectiveIamPoliciesResponse": { +"description": "A response message for AssetService.BatchGetEffectiveIamPolicies.", +"id": "BatchGetEffectiveIamPoliciesResponse", +"properties": { +"policyResults": { +"description": "The effective policies for a batch of resources. Note that the results order is the same as the order of BatchGetEffectiveIamPoliciesRequest.names. When a resource does not have any effective IAM policies, its corresponding policy_result will contain empty EffectiveIamPolicy.policies.", +"items": { +"$ref": "EffectiveIamPolicy" +}, +"type": "array" +} +}, +"type": "object" +}, +"BigQueryDestination": { +"description": "A BigQuery destination for exporting assets to.", +"id": "BigQueryDestination", +"properties": { +"dataset": { +"description": "Required. The BigQuery dataset in format \"projects/projectId/datasets/datasetId\", to which the snapshot result should be exported. If this dataset does not exist, the export call returns an INVALID_ARGUMENT error. Setting the `contentType` for `exportAssets` determines the [schema](/asset-inventory/docs/exporting-to-bigquery#bigquery-schema) of the BigQuery table. Setting `separateTablesPerAssetType` to `TRUE` also influences the schema.", +"type": "string" +}, +"force": { +"description": "If the destination table already exists and this flag is `TRUE`, the table will be overwritten by the contents of assets snapshot. If the flag is `FALSE` or unset and the destination table already exists, the export call returns an INVALID_ARGUMENT error.", +"type": "boolean" +}, +"partitionSpec": { +"$ref": "PartitionSpec", +"description": "[partition_spec] determines whether to export to partitioned table(s) and how to partition the data. If [partition_spec] is unset or [partition_spec.partition_key] is unset or `PARTITION_KEY_UNSPECIFIED`, the snapshot results will be exported to non-partitioned table(s). [force] will decide whether to overwrite existing table(s). If [partition_spec] is specified. First, the snapshot results will be written to partitioned table(s) with two additional timestamp columns, readTime and requestTime, one of which will be the partition key. Secondly, in the case when any destination table already exists, it will first try to update existing table's schema as necessary by appending additional columns. Then, if [force] is `TRUE`, the corresponding partition will be overwritten by the snapshot results (data in different partitions will remain intact); if [force] is unset or `FALSE`, it will append the data. An error will be returned if the schema update or data appension fails." +}, +"separateTablesPerAssetType": { +"description": "If this flag is `TRUE`, the snapshot results will be written to one or multiple tables, each of which contains results of one asset type. The [force] and [partition_spec] fields will apply to each of them. Field [table] will be concatenated with \"_\" and the asset type names (see https://cloud.google.com/asset-inventory/docs/supported-asset-types for supported asset types) to construct per-asset-type table names, in which all non-alphanumeric characters like \".\" and \"/\" will be substituted by \"_\". Example: if field [table] is \"mytable\" and snapshot results contain \"storage.googleapis.com/Bucket\" assets, the corresponding table name will be \"mytable_storage_googleapis_com_Bucket\". If any of these tables does not exist, a new table with the concatenated name will be created. When [content_type] in the ExportAssetsRequest is `RESOURCE`, the schema of each table will include RECORD-type columns mapped to the nested fields in the Asset.resource.data field of that asset type (up to the 15 nested level BigQuery supports (https://cloud.google.com/bigquery/docs/nested-repeated#limitations)). The fields in >15 nested levels will be stored in JSON format string as a child column of its parent RECORD column. If error occurs when exporting to any table, the whole export call will return an error but the export results that already succeed will persist. Example: if exporting to table_type_A succeeds when exporting to table_type_B fails during one export call, the results in table_type_A will persist and there will not be partial results persisting in a table.", +"type": "boolean" +}, +"table": { +"description": "Required. The BigQuery table to which the snapshot result should be written. If this table does not exist, a new table with the given name will be created.", +"type": "string" +} +}, +"type": "object" +}, +"Binding": { +"description": "Associates `members`, or principals, with a `role`.", +"id": "Binding", +"properties": { +"condition": { +"$ref": "Expr", +"description": "The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies)." +}, +"members": { +"description": "Specifies the principals requesting access for a Google Cloud resource. `members` can have the following values: * `allUsers`: A special identifier that represents anyone who is on the internet; with or without a Google account. * `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service account. Does not include identities that come from external identity providers (IdPs) through identity federation. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `group:{emailid}`: An email address that represents a Google group. For example, `admins@example.com`. * `domain:{domain}`: The G Suite domain (primary) that represents all the users of that domain. For example, `google.com` or `example.com`. * `principal://iam.googleapis.com/locations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}`: A single identity in a workforce identity pool. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/group/{group_id}`: All workforce identities in a group. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/attribute.{attribute_name}/{attribute_value}`: All workforce identities with a specific attribute value. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/*`: All identities in a workforce identity pool. * `principal://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/subject/{subject_attribute_value}`: A single identity in a workload identity pool. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/group/{group_id}`: A workload identity pool group. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/attribute.{attribute_name}/{attribute_value}`: All identities in a workload identity pool with a certain attribute. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/*`: All identities in a workload identity pool. * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a user that has been recently deleted. For example, `alice@example.com?uid=123456789012345678901`. If the user is recovered, this value reverts to `user:{emailid}` and the recovered user retains the role in the binding. * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a service account that has been recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the service account is undeleted, this value reverts to `serviceAccount:{emailid}` and the undeleted service account retains the role in the binding. * `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a Google group that has been recently deleted. For example, `admins@example.com?uid=123456789012345678901`. If the group is recovered, this value reverts to `group:{emailid}` and the recovered group retains the role in the binding. * `deleted:principal://iam.googleapis.com/locations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}`: Deleted single identity in a workforce identity pool. For example, `deleted:principal://iam.googleapis.com/locations/global/workforcePools/my-pool-id/subject/my-subject-attribute-value`.", +"items": { +"type": "string" +}, +"type": "array" +}, +"role": { +"description": "Role that is assigned to the list of `members`, or principals. For example, `roles/viewer`, `roles/editor`, or `roles/owner`. For an overview of the IAM roles and permissions, see the [IAM documentation](https://cloud.google.com/iam/docs/roles-overview). For a list of the available pre-defined roles, see [here](https://cloud.google.com/iam/docs/understanding-roles).", +"type": "string" +} +}, +"type": "object" +}, +"ConditionContext": { +"description": "The IAM conditions context.", +"id": "ConditionContext", +"properties": { +"accessTime": { +"description": "The hypothetical access timestamp to evaluate IAM conditions. Note that this value must not be earlier than the current time; otherwise, an INVALID_ARGUMENT error will be returned.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"ConditionEvaluation": { +"description": "The condition evaluation.", +"id": "ConditionEvaluation", +"properties": { +"evaluationValue": { +"description": "The evaluation result.", +"enum": [ +"EVALUATION_VALUE_UNSPECIFIED", +"TRUE", +"FALSE", +"CONDITIONAL" +], +"enumDescriptions": [ +"Reserved for future use.", +"The evaluation result is `true`.", +"The evaluation result is `false`.", +"The evaluation result is `conditional` when the condition expression contains variables that are either missing input values or have not been supported by Policy Analyzer yet." +], +"type": "string" +} +}, +"type": "object" +}, +"CreateFeedRequest": { +"description": "Create asset feed request.", +"id": "CreateFeedRequest", +"properties": { +"feed": { +"$ref": "Feed", +"description": "Required. The feed details. The field `name` must be empty and it will be generated in the format of: projects/project_number/feeds/feed_id folders/folder_number/feeds/feed_id organizations/organization_number/feeds/feed_id" +}, +"feedId": { +"description": "Required. This is the client-assigned asset feed identifier and it needs to be unique under a specific parent project/folder/organization.", +"type": "string" +} +}, +"type": "object" +}, +"Date": { +"description": "Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following: * A full date, with non-zero year, month, and day values. * A month and day, with a zero year (for example, an anniversary). * A year on its own, with a zero month and a zero day. * A year and month, with a zero day (for example, a credit card expiration date). Related types: * google.type.TimeOfDay * google.type.DateTime * google.protobuf.Timestamp", +"id": "Date", +"properties": { +"day": { +"description": "Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn't significant.", +"format": "int32", +"type": "integer" +}, +"month": { +"description": "Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.", +"format": "int32", +"type": "integer" +}, +"year": { +"description": "Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"EffectiveIamPolicy": { +"description": "The effective IAM policies on one resource.", +"id": "EffectiveIamPolicy", +"properties": { +"fullResourceName": { +"description": "The [full_resource_name] (https://cloud.google.com/asset-inventory/docs/resource-name-format) for which the policies are computed. This is one of the BatchGetEffectiveIamPoliciesRequest.names the caller provides in the request.", +"type": "string" +}, +"policies": { +"description": "The effective policies for the full_resource_name. These policies include the policy set on the full_resource_name and those set on its parents and ancestors up to the BatchGetEffectiveIamPoliciesRequest.scope. Note that these policies are not filtered according to the resource type of the full_resource_name. These policies are hierarchically ordered by PolicyInfo.attached_resource starting from full_resource_name itself to its parents and ancestors, such that policies[i]'s PolicyInfo.attached_resource is the child of policies[i+1]'s PolicyInfo.attached_resource, if policies[i+1] exists.", +"items": { +"$ref": "PolicyInfo" +}, +"type": "array" +} +}, +"type": "object" +}, +"EffectiveTagDetails": { +"description": "The effective tags and the ancestor resources from which they were inherited.", +"id": "EffectiveTagDetails", +"properties": { +"attachedResource": { +"description": "The [full resource name](https://cloud.google.com/asset-inventory/docs/resource-name-format) of the ancestor from which effective_tags are inherited, according to [tag inheritance](https://cloud.google.com/resource-manager/docs/tags/tags-overview#inheritance).", +"type": "string" +}, +"effectiveTags": { +"description": "The effective tags inherited from the attached_resource. Note that tags with the same key but different values may attach to resources at a different hierarchy levels. The lower hierarchy tag value will overwrite the higher hierarchy tag value of the same tag key. In this case, the tag value at the higher hierarchy level will be removed. For more information, see [tag inheritance](https://cloud.google.com/resource-manager/docs/tags/tags-overview#inheritance).", +"items": { +"$ref": "Tag" +}, +"type": "array" +} +}, +"type": "object" +}, +"Empty": { +"description": "A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }", +"id": "Empty", +"properties": {}, +"type": "object" +}, +"Explanation": { +"description": "Explanation about the IAM policy search result.", +"id": "Explanation", +"properties": { +"matchedPermissions": { +"additionalProperties": { +"$ref": "Permissions" +}, +"description": "The map from roles to their included permissions that match the permission query (i.e., a query containing `policy.role.permissions:`). Example: if query `policy.role.permissions:compute.disk.get` matches a policy binding that contains owner role, the matched_permissions will be `{\"roles/owner\": [\"compute.disk.get\"]}`. The roles can also be found in the returned `policy` bindings. Note that the map is populated only for requests with permission queries.", +"type": "object" +} +}, +"type": "object" +}, +"ExportAssetsRequest": { +"description": "Export asset request.", +"id": "ExportAssetsRequest", +"properties": { +"assetTypes": { +"description": "A list of asset types to take a snapshot for. For example: \"compute.googleapis.com/Disk\". Regular expressions are also supported. For example: * \"compute.googleapis.com.*\" snapshots resources whose asset type starts with \"compute.googleapis.com\". * \".*Instance\" snapshots resources whose asset type ends with \"Instance\". * \".*Instance.*\" snapshots resources whose asset type contains \"Instance\". See [RE2](https://github.com/google/re2/wiki/Syntax) for all supported regular expression syntax. If the regular expression does not match any supported asset type, an INVALID_ARGUMENT error will be returned. If specified, only matching assets will be returned, otherwise, it will snapshot all asset types. See [Introduction to Cloud Asset Inventory](https://cloud.google.com/asset-inventory/docs/overview) for all supported asset types.", +"items": { +"type": "string" +}, +"type": "array" +}, +"contentType": { +"description": "Asset content type. If not specified, no content but the asset name will be returned.", +"enum": [ +"CONTENT_TYPE_UNSPECIFIED", +"RESOURCE", +"IAM_POLICY", +"ORG_POLICY", +"ACCESS_POLICY", +"OS_INVENTORY", +"RELATIONSHIP" +], +"enumDescriptions": [ +"Unspecified content type.", +"Resource metadata.", +"The actual IAM policy set on a resource.", +"The organization policy set on an asset.", +"The Access Context Manager policy set on an asset.", +"The runtime OS Inventory information.", +"The related resources." +], +"type": "string" +}, +"outputConfig": { +"$ref": "OutputConfig", +"description": "Required. Output configuration indicating where the results will be output to." +}, +"readTime": { +"description": "Timestamp to take an asset snapshot. This can only be set to a timestamp between the current time and the current time minus 35 days (inclusive). If not specified, the current time will be used. Due to delays in resource data collection and indexing, there is a volatile window during which running the same query may get different results.", +"format": "google-datetime", +"type": "string" +}, +"relationshipTypes": { +"description": "A list of relationship types to export, for example: `INSTANCE_TO_INSTANCEGROUP`. This field should only be specified if content_type=RELATIONSHIP. * If specified: it snapshots specified relationships. It returns an error if any of the [relationship_types] doesn't belong to the supported relationship types of the [asset_types] or if any of the [asset_types] doesn't belong to the source types of the [relationship_types]. * Otherwise: it snapshots the supported relationships for all [asset_types] or returns an error if any of the [asset_types] has no relationship support. An unspecified asset types field means all supported asset_types. See [Introduction to Cloud Asset Inventory](https://cloud.google.com/asset-inventory/docs/overview) for all supported asset types and relationship types.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"Expr": { +"description": "Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: \"Summary size limit\" description: \"Determines if a summary is less than 100 chars\" expression: \"document.summary.size() < 100\" Example (Equality): title: \"Requestor is owner\" description: \"Determines if requestor is the document owner\" expression: \"document.owner == request.auth.claims.email\" Example (Logic): title: \"Public documents\" description: \"Determine whether the document should be publicly visible\" expression: \"document.type != 'private' && document.type != 'internal'\" Example (Data Manipulation): title: \"Notification string\" description: \"Create a notification string with a timestamp.\" expression: \"'New message received at ' + string(document.create_time)\" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information.", +"id": "Expr", +"properties": { +"description": { +"description": "Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI.", +"type": "string" +}, +"expression": { +"description": "Textual representation of an expression in Common Expression Language syntax.", +"type": "string" +}, +"location": { +"description": "Optional. String indicating the location of the expression for error reporting, e.g. a file name and a position in the file.", +"type": "string" +}, +"title": { +"description": "Optional. Title for the expression, i.e. a short string describing its purpose. This can be used e.g. in UIs which allow to enter the expression.", +"type": "string" +} +}, +"type": "object" +}, +"Feed": { +"description": "An asset feed used to export asset updates to a destinations. An asset feed filter controls what updates are exported. The asset feed must be created within a project, organization, or folder. Supported destinations are: Pub/Sub topics.", +"id": "Feed", +"properties": { +"assetNames": { +"description": "A list of the full names of the assets to receive updates. You must specify either or both of asset_names and asset_types. Only asset updates matching specified asset_names or asset_types are exported to the feed. Example: `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`. For a list of the full names for supported asset types, see [Resource name format](/asset-inventory/docs/resource-name-format).", +"items": { +"type": "string" +}, +"type": "array" +}, +"assetTypes": { +"description": "A list of types of the assets to receive updates. You must specify either or both of asset_names and asset_types. Only asset updates matching specified asset_names or asset_types are exported to the feed. Example: `\"compute.googleapis.com/Disk\"` For a list of all supported asset types, see [Supported asset types](/asset-inventory/docs/supported-asset-types).", +"items": { +"type": "string" +}, +"type": "array" +}, +"condition": { +"$ref": "Expr", +"description": "A condition which determines whether an asset update should be published. If specified, an asset will be returned only when the expression evaluates to true. When set, `expression` field in the `Expr` must be a valid [CEL expression] (https://github.com/google/cel-spec) on a TemporalAsset with name `temporal_asset`. Example: a Feed with expression (\"temporal_asset.deleted == true\") will only publish Asset deletions. Other fields of `Expr` are optional. See our [user guide](https://cloud.google.com/asset-inventory/docs/monitoring-asset-changes-with-condition) for detailed instructions." +}, +"contentType": { +"description": "Asset content type. If not specified, no content but the asset name and type will be returned.", +"enum": [ +"CONTENT_TYPE_UNSPECIFIED", +"RESOURCE", +"IAM_POLICY", +"ORG_POLICY", +"ACCESS_POLICY", +"OS_INVENTORY", +"RELATIONSHIP" +], +"enumDescriptions": [ +"Unspecified content type.", +"Resource metadata.", +"The actual IAM policy set on a resource.", +"The organization policy set on an asset.", +"The Access Context Manager policy set on an asset.", +"The runtime OS Inventory information.", +"The related resources." +], +"type": "string" +}, +"feedOutputConfig": { +"$ref": "FeedOutputConfig", +"description": "Required. Feed output configuration defining where the asset updates are published to." +}, +"name": { +"description": "Required. The format will be projects/{project_number}/feeds/{client-assigned_feed_identifier} or folders/{folder_number}/feeds/{client-assigned_feed_identifier} or organizations/{organization_number}/feeds/{client-assigned_feed_identifier} The client-assigned feed identifier must be unique within the parent project/folder/organization.", +"type": "string" +}, +"relationshipTypes": { +"description": "A list of relationship types to output, for example: `INSTANCE_TO_INSTANCEGROUP`. This field should only be specified if content_type=RELATIONSHIP. * If specified: it outputs specified relationship updates on the [asset_names] or the [asset_types]. It returns an error if any of the [relationship_types] doesn't belong to the supported relationship types of the [asset_names] or [asset_types], or any of the [asset_names] or the [asset_types] doesn't belong to the source types of the [relationship_types]. * Otherwise: it outputs the supported relationships of the types of [asset_names] and [asset_types] or returns an error if any of the [asset_names] or the [asset_types] has no replationship support. See [Introduction to Cloud Asset Inventory](https://cloud.google.com/asset-inventory/docs/overview) for all supported asset types and relationship types.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"FeedOutputConfig": { +"description": "Output configuration for asset feed destination.", +"id": "FeedOutputConfig", +"properties": { +"pubsubDestination": { +"$ref": "PubsubDestination", +"description": "Destination on Pub/Sub." +} +}, +"type": "object" +}, +"GcsDestination": { +"description": "A Cloud Storage location.", +"id": "GcsDestination", +"properties": { +"uri": { +"description": "The URI of the Cloud Storage object. It's the same URI that is used by gsutil. Example: \"gs://bucket_name/object_name\". See [Viewing and Editing Object Metadata](https://cloud.google.com/storage/docs/viewing-editing-metadata) for more information. If the specified Cloud Storage object already exists and there is no [hold](https://cloud.google.com/storage/docs/object-holds), it will be overwritten with the exported result.", +"type": "string" +}, +"uriPrefix": { +"description": "The URI prefix of all generated Cloud Storage objects. Example: \"gs://bucket_name/object_name_prefix\". Each object URI is in format: \"gs://bucket_name/object_name_prefix// and only contains assets for that type. starts from 0. Example: \"gs://bucket_name/object_name_prefix/compute.googleapis.com/Disk/0\" is the first shard of output objects containing all compute.googleapis.com/Disk assets. An INVALID_ARGUMENT error will be returned if file with the same name \"gs://bucket_name/object_name_prefix\" already exists.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAssetV1Access": { +"description": "An IAM role or permission under analysis.", +"id": "GoogleCloudAssetV1Access", +"properties": { +"analysisState": { +"$ref": "IamPolicyAnalysisState", +"description": "The analysis state of this access." +}, +"permission": { +"description": "The permission.", +"type": "string" +}, +"role": { +"description": "The role.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAssetV1AccessControlList": { +"description": "An access control list, derived from the above IAM policy binding, which contains a set of resources and accesses. May include one item from each set to compose an access control entry. NOTICE that there could be multiple access control lists for one IAM policy binding. The access control lists are created based on resource and access combinations. For example, assume we have the following cases in one IAM policy binding: - Permission P1 and P2 apply to resource R1 and R2; - Permission P3 applies to resource R2 and R3; This will result in the following access control lists: - AccessControlList 1: [R1, R2], [P1, P2] - AccessControlList 2: [R2, R3], [P3]", +"id": "GoogleCloudAssetV1AccessControlList", +"properties": { +"accesses": { +"description": "The accesses that match one of the following conditions: - The access_selector, if it is specified in request; - Otherwise, access specifiers reachable from the policy binding's role.", +"items": { +"$ref": "GoogleCloudAssetV1Access" +}, +"type": "array" +}, +"conditionEvaluation": { +"$ref": "ConditionEvaluation", +"description": "Condition evaluation for this AccessControlList, if there is a condition defined in the above IAM policy binding." +}, +"resourceEdges": { +"description": "Resource edges of the graph starting from the policy attached resource to any descendant resources. The Edge.source_node contains the full resource name of a parent resource and Edge.target_node contains the full resource name of a child resource. This field is present only if the output_resource_edges option is enabled in request.", +"items": { +"$ref": "GoogleCloudAssetV1Edge" +}, +"type": "array" +}, +"resources": { +"description": "The resources that match one of the following conditions: - The resource_selector, if it is specified in request; - Otherwise, resources reachable from the policy attached resource.", +"items": { +"$ref": "GoogleCloudAssetV1Resource" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudAssetV1AnalyzeOrgPolicyGovernedAssetsResponseGovernedAsset": { +"description": "Represents a Google Cloud asset(resource or IAM policy) governed by the organization policies of the AnalyzeOrgPolicyGovernedAssetsRequest.constraint.", +"id": "GoogleCloudAssetV1AnalyzeOrgPolicyGovernedAssetsResponseGovernedAsset", +"properties": { +"consolidatedPolicy": { +"$ref": "AnalyzerOrgPolicy", +"description": "The consolidated policy for the analyzed asset. The consolidated policy is computed by merging and evaluating AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset.policy_bundle. The evaluation will respect the organization policy [hierarchy rules](https://cloud.google.com/resource-manager/docs/organization-policy/understanding-hierarchy)." +}, +"governedIamPolicy": { +"$ref": "GoogleCloudAssetV1AnalyzeOrgPolicyGovernedAssetsResponseGovernedIamPolicy", +"description": "An IAM policy governed by the organization policies of the AnalyzeOrgPolicyGovernedAssetsRequest.constraint." +}, +"governedResource": { +"$ref": "GoogleCloudAssetV1AnalyzeOrgPolicyGovernedAssetsResponseGovernedResource", +"description": "A Google Cloud resource governed by the organization policies of the AnalyzeOrgPolicyGovernedAssetsRequest.constraint." +}, +"policyBundle": { +"description": "The ordered list of all organization policies from the consolidated_policy.attached_resource to the scope specified in the request. If the constraint is defined with default policy, it will also appear in the list.", +"items": { +"$ref": "AnalyzerOrgPolicy" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudAssetV1AnalyzeOrgPolicyGovernedAssetsResponseGovernedIamPolicy": { +"description": "The IAM policies governed by the organization policies of the AnalyzeOrgPolicyGovernedAssetsRequest.constraint.", +"id": "GoogleCloudAssetV1AnalyzeOrgPolicyGovernedAssetsResponseGovernedIamPolicy", +"properties": { +"assetType": { +"description": "The asset type of the AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy.attached_resource. Example: `cloudresourcemanager.googleapis.com/Project` See [Cloud Asset Inventory Supported Asset Types](https://cloud.google.com/asset-inventory/docs/supported-asset-types) for all supported asset types.", +"type": "string" +}, +"attachedResource": { +"description": "The full resource name of the resource on which this IAM policy is set. Example: `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`. See [Cloud Asset Inventory Resource Name Format](https://cloud.google.com/asset-inventory/docs/resource-name-format) for more information.", +"type": "string" +}, +"folders": { +"description": "The folder(s) that this IAM policy belongs to, in the format of folders/{FOLDER_NUMBER}. This field is available when the IAM policy belongs (directly or cascadingly) to one or more folders.", +"items": { +"type": "string" +}, +"type": "array" +}, +"organization": { +"description": "The organization that this IAM policy belongs to, in the format of organizations/{ORGANIZATION_NUMBER}. This field is available when the IAM policy belongs (directly or cascadingly) to an organization.", +"type": "string" +}, +"policy": { +"$ref": "Policy", +"description": "The IAM policy directly set on the given resource." +}, +"project": { +"description": "The project that this IAM policy belongs to, in the format of projects/{PROJECT_NUMBER}. This field is available when the IAM policy belongs to a project.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAssetV1AnalyzeOrgPolicyGovernedAssetsResponseGovernedResource": { +"description": "The Google Cloud resources governed by the organization policies of the AnalyzeOrgPolicyGovernedAssetsRequest.constraint.", +"id": "GoogleCloudAssetV1AnalyzeOrgPolicyGovernedAssetsResponseGovernedResource", +"properties": { +"assetType": { +"description": "The asset type of the AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource.full_resource_name Example: `cloudresourcemanager.googleapis.com/Project` See [Cloud Asset Inventory Supported Asset Types](https://cloud.google.com/asset-inventory/docs/supported-asset-types) for all supported asset types.", +"type": "string" +}, +"effectiveTags": { +"description": "The effective tags on this resource.", +"items": { +"$ref": "EffectiveTagDetails" +}, +"type": "array" +}, +"folders": { +"description": "The folder(s) that this resource belongs to, in the format of folders/{FOLDER_NUMBER}. This field is available when the resource belongs (directly or cascadingly) to one or more folders.", +"items": { +"type": "string" +}, +"type": "array" +}, +"fullResourceName": { +"description": "The [full resource name] (https://cloud.google.com/asset-inventory/docs/resource-name-format) of the Google Cloud resource.", +"type": "string" +}, +"organization": { +"description": "The organization that this resource belongs to, in the format of organizations/{ORGANIZATION_NUMBER}. This field is available when the resource belongs (directly or cascadingly) to an organization.", +"type": "string" +}, +"parent": { +"description": "The [full resource name] (https://cloud.google.com/asset-inventory/docs/resource-name-format) of the parent of AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource.full_resource_name.", +"type": "string" +}, +"project": { +"description": "The project that this resource belongs to, in the format of projects/{PROJECT_NUMBER}. This field is available when the resource belongs to a project.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAssetV1BigQueryDestination": { +"description": "A BigQuery destination.", +"id": "GoogleCloudAssetV1BigQueryDestination", +"properties": { +"dataset": { +"description": "Required. The BigQuery dataset in format \"projects/projectId/datasets/datasetId\", to which the analysis results should be exported. If this dataset does not exist, the export call will return an INVALID_ARGUMENT error.", +"type": "string" +}, +"partitionKey": { +"description": "The partition key for BigQuery partitioned table.", +"enum": [ +"PARTITION_KEY_UNSPECIFIED", +"REQUEST_TIME" +], +"enumDescriptions": [ +"Unspecified partition key. Tables won't be partitioned using this option.", +"The time when the request is received. If specified as partition key, the result table(s) is partitioned by the RequestTime column, an additional timestamp column representing when the request was received." +], +"type": "string" +}, +"tablePrefix": { +"description": "Required. The prefix of the BigQuery tables to which the analysis results will be written. Tables will be created based on this table_prefix if not exist: * _analysis table will contain export operation's metadata. * _analysis_result will contain all the IamPolicyAnalysisResult. When [partition_key] is specified, both tables will be partitioned based on the [partition_key].", +"type": "string" +}, +"writeDisposition": { +"description": "Optional. Specifies the action that occurs if the destination table or partition already exists. The following values are supported: * WRITE_TRUNCATE: If the table or partition already exists, BigQuery overwrites the entire table or all the partitions data. * WRITE_APPEND: If the table or partition already exists, BigQuery appends the data to the table or the latest partition. * WRITE_EMPTY: If the table already exists and contains data, an error is returned. The default value is WRITE_APPEND. Each action is atomic and only occurs if BigQuery is able to complete the job successfully. Details are at https://cloud.google.com/bigquery/docs/loading-data-local#appending_to_or_overwriting_a_table_using_a_local_file.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAssetV1BooleanConstraint": { +"description": "A `Constraint` that is either enforced or not. For example a constraint `constraints/compute.disableSerialPortAccess`. If it is enforced on a VM instance, serial port connections will not be opened to that instance.", +"id": "GoogleCloudAssetV1BooleanConstraint", +"properties": {}, +"type": "object" +}, +"GoogleCloudAssetV1Constraint": { +"description": "The definition of a constraint.", +"id": "GoogleCloudAssetV1Constraint", +"properties": { +"booleanConstraint": { +"$ref": "GoogleCloudAssetV1BooleanConstraint", +"description": "Defines this constraint as being a BooleanConstraint." +}, +"constraintDefault": { +"description": "The evaluation behavior of this constraint in the absence of 'Policy'.", +"enum": [ +"CONSTRAINT_DEFAULT_UNSPECIFIED", +"ALLOW", +"DENY" +], +"enumDescriptions": [ +"This is only used for distinguishing unset values and should never be used.", +"Indicates that all values are allowed for list constraints. Indicates that enforcement is off for boolean constraints.", +"Indicates that all values are denied for list constraints. Indicates that enforcement is on for boolean constraints." +], +"type": "string" +}, +"description": { +"description": "Detailed description of what this `Constraint` controls as well as how and where it is enforced.", +"type": "string" +}, +"displayName": { +"description": "The human readable name of the constraint.", +"type": "string" +}, +"listConstraint": { +"$ref": "GoogleCloudAssetV1ListConstraint", +"description": "Defines this constraint as being a ListConstraint." +}, +"name": { +"description": "The unique name of the constraint. Format of the name should be * `constraints/{constraint_name}` For example, `constraints/compute.disableSerialPortAccess`.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAssetV1CustomConstraint": { +"description": "The definition of a custom constraint.", +"id": "GoogleCloudAssetV1CustomConstraint", +"properties": { +"actionType": { +"description": "Allow or deny type.", +"enum": [ +"ACTION_TYPE_UNSPECIFIED", +"ALLOW", +"DENY" +], +"enumDescriptions": [ +"Unspecified. Will results in user error.", +"Allowed action type.", +"Deny action type." +], +"type": "string" +}, +"condition": { +"description": "Organization Policy condition/expression. For example: `resource.instanceName.matches(\"(production|test)_(.+_)?[\\d]+\")'` or, `resource.management.auto_upgrade == true`", +"type": "string" +}, +"description": { +"description": "Detailed information about this custom policy constraint.", +"type": "string" +}, +"displayName": { +"description": "One line display name for the UI.", +"type": "string" +}, +"methodTypes": { +"description": "All the operations being applied for this constraint.", +"items": { +"enum": [ +"METHOD_TYPE_UNSPECIFIED", +"CREATE", +"UPDATE", +"DELETE", +"REMOVE_GRANT", +"GOVERN_TAGS" +], +"enumDescriptions": [ +"Unspecified. Will results in user error.", +"Constraint applied when creating the resource.", +"Constraint applied when updating the resource.", +"Constraint applied when deleting the resource.", +"Constraint applied when removing an IAM grant.", +"Constraint applied when enforcing forced tagging." +], +"type": "string" +}, +"type": "array" +}, +"name": { +"description": "Name of the constraint. This is unique within the organization. Format of the name should be * `organizations/{organization_id}/customConstraints/{custom_constraint_id}` Example : \"organizations/123/customConstraints/custom.createOnlyE2TypeVms\"", +"type": "string" +}, +"resourceTypes": { +"description": "The Resource Instance type on which this policy applies to. Format will be of the form : \"/\" Example: * `compute.googleapis.com/Instance`.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudAssetV1Edge": { +"description": "A directional edge.", +"id": "GoogleCloudAssetV1Edge", +"properties": { +"sourceNode": { +"description": "The source node of the edge. For example, it could be a full resource name for a resource node or an email of an identity.", +"type": "string" +}, +"targetNode": { +"description": "The target node of the edge. For example, it could be a full resource name for a resource node or an email of an identity.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAssetV1GcsDestination": { +"description": "A Cloud Storage location.", +"id": "GoogleCloudAssetV1GcsDestination", +"properties": { +"uri": { +"description": "Required. The URI of the Cloud Storage object. It's the same URI that is used by gsutil. Example: \"gs://bucket_name/object_name\". See [Viewing and Editing Object Metadata](https://cloud.google.com/storage/docs/viewing-editing-metadata) for more information. If the specified Cloud Storage object already exists and there is no [hold](https://cloud.google.com/storage/docs/object-holds), it will be overwritten with the analysis result.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAssetV1GovernedContainer": { +"description": "The organization/folder/project resource governed by organization policies of AnalyzeOrgPolicyGovernedContainersRequest.constraint.", +"id": "GoogleCloudAssetV1GovernedContainer", +"properties": { +"consolidatedPolicy": { +"$ref": "AnalyzerOrgPolicy", +"description": "The consolidated organization policy for the analyzed resource. The consolidated organization policy is computed by merging and evaluating AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer.policy_bundle. The evaluation will respect the organization policy [hierarchy rules](https://cloud.google.com/resource-manager/docs/organization-policy/understanding-hierarchy)." +}, +"effectiveTags": { +"description": "The effective tags on this resource.", +"items": { +"$ref": "EffectiveTagDetails" +}, +"type": "array" +}, +"folders": { +"description": "The folder(s) that this resource belongs to, in the format of folders/{FOLDER_NUMBER}. This field is available when the resource belongs (directly or cascadingly) to one or more folders.", +"items": { +"type": "string" +}, +"type": "array" +}, +"fullResourceName": { +"description": "The [full resource name] (https://cloud.google.com/asset-inventory/docs/resource-name-format) of an organization/folder/project resource.", +"type": "string" +}, +"organization": { +"description": "The organization that this resource belongs to, in the format of organizations/{ORGANIZATION_NUMBER}. This field is available when the resource belongs (directly or cascadingly) to an organization.", +"type": "string" +}, +"parent": { +"description": "The [full resource name] (https://cloud.google.com/asset-inventory/docs/resource-name-format) of the parent of AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer.full_resource_name.", +"type": "string" +}, +"policyBundle": { +"description": "The ordered list of all organization policies from the consolidated_policy.attached_resource. to the scope specified in the request. If the constraint is defined with default policy, it will also appear in the list.", +"items": { +"$ref": "AnalyzerOrgPolicy" +}, +"type": "array" +}, +"project": { +"description": "The project that this resource belongs to, in the format of projects/{PROJECT_NUMBER}. This field is available when the resource belongs to a project.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAssetV1Identity": { +"description": "An identity under analysis.", +"id": "GoogleCloudAssetV1Identity", +"properties": { +"analysisState": { +"$ref": "IamPolicyAnalysisState", +"description": "The analysis state of this identity." +}, +"name": { +"description": "The identity of members, formatted as appear in an [IAM policy binding](https://cloud.google.com/iam/reference/rest/v1/Binding). For example, they might be formatted like the following: - user:foo@google.com - group:group1@google.com - serviceAccount:s1@prj1.iam.gserviceaccount.com - projectOwner:some_project_id - domain:google.com - allUsers", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAssetV1IdentityList": { +"description": "The identities and group edges.", +"id": "GoogleCloudAssetV1IdentityList", +"properties": { +"groupEdges": { +"description": "Group identity edges of the graph starting from the binding's group members to any node of the identities. The Edge.source_node contains a group, such as `group:parent@google.com`. The Edge.target_node contains a member of the group, such as `group:child@google.com` or `user:foo@google.com`. This field is present only if the output_group_edges option is enabled in request.", +"items": { +"$ref": "GoogleCloudAssetV1Edge" +}, +"type": "array" +}, +"identities": { +"description": "Only the identities that match one of the following conditions will be presented: - The identity_selector, if it is specified in request; - Otherwise, identities reachable from the policy binding's members.", +"items": { +"$ref": "GoogleCloudAssetV1Identity" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudAssetV1ListConstraint": { +"description": "A `Constraint` that allows or disallows a list of string values, which are configured by an organization's policy administrator with a `Policy`.", +"id": "GoogleCloudAssetV1ListConstraint", +"properties": { +"supportsIn": { +"description": "Indicates whether values grouped into categories can be used in `Policy.allowed_values` and `Policy.denied_values`. For example, `\"in:Python\"` would match any value in the 'Python' group.", +"type": "boolean" +}, +"supportsUnder": { +"description": "Indicates whether subtrees of Cloud Resource Manager resource hierarchy can be used in `Policy.allowed_values` and `Policy.denied_values`. For example, `\"under:folders/123\"` would match any resource under the 'folders/123' folder.", +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleCloudAssetV1QueryAssetsOutputConfigBigQueryDestination": { +"description": "BigQuery destination.", +"id": "GoogleCloudAssetV1QueryAssetsOutputConfigBigQueryDestination", +"properties": { +"dataset": { +"description": "Required. The BigQuery dataset where the query results will be saved. It has the format of \"projects/{projectId}/datasets/{datasetId}\".", +"type": "string" +}, +"table": { +"description": "Required. The BigQuery table where the query results will be saved. If this table does not exist, a new table with the given name will be created.", +"type": "string" +}, +"writeDisposition": { +"description": "Specifies the action that occurs if the destination table or partition already exists. The following values are supported: * WRITE_TRUNCATE: If the table or partition already exists, BigQuery overwrites the entire table or all the partitions data. * WRITE_APPEND: If the table or partition already exists, BigQuery appends the data to the table or the latest partition. * WRITE_EMPTY: If the table already exists and contains data, a 'duplicate' error is returned in the job result. The default value is WRITE_EMPTY.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAssetV1Resource": { +"description": "A Google Cloud resource under analysis.", +"id": "GoogleCloudAssetV1Resource", +"properties": { +"analysisState": { +"$ref": "IamPolicyAnalysisState", +"description": "The analysis state of this resource." +}, +"fullResourceName": { +"description": "The [full resource name](https://cloud.google.com/asset-inventory/docs/resource-name-format)", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAssetV1Rule": { +"description": "This rule message is a customized version of the one defined in the Organization Policy system. In addition to the fields defined in the original organization policy, it contains additional field(s) under specific circumstances to support analysis results.", +"id": "GoogleCloudAssetV1Rule", +"properties": { +"allowAll": { +"description": "Setting this to true means that all values are allowed. This field can be set only in Policies for list constraints.", +"type": "boolean" +}, +"condition": { +"$ref": "Expr", +"description": "The evaluating condition for this rule." +}, +"conditionEvaluation": { +"$ref": "ConditionEvaluation", +"description": "The condition evaluation result for this rule. Only populated if it meets all the following criteria: * There is a condition defined for this rule. * This rule is within AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer.consolidated_policy, or AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset.consolidated_policy when the AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset has AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset.governed_resource." +}, +"denyAll": { +"description": "Setting this to true means that all values are denied. This field can be set only in Policies for list constraints.", +"type": "boolean" +}, +"enforce": { +"description": "If `true`, then the `Policy` is enforced. If `false`, then any configuration is acceptable. This field can be set only in Policies for boolean constraints.", +"type": "boolean" +}, +"values": { +"$ref": "GoogleCloudAssetV1StringValues", +"description": "List of values to be used for this policy rule. This field can be set only in policies for list constraints." +} +}, +"type": "object" +}, +"GoogleCloudAssetV1StringValues": { +"description": "The string values for the list constraints.", +"id": "GoogleCloudAssetV1StringValues", +"properties": { +"allowedValues": { +"description": "List of values allowed at this resource.", +"items": { +"type": "string" +}, +"type": "array" +}, +"deniedValues": { +"description": "List of values denied at this resource.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudAssetV1p7beta1Asset": { +"description": "An asset in Google Cloud. An asset can be any resource in the Google Cloud [resource hierarchy](https://cloud.google.com/resource-manager/docs/cloud-platform-resource-hierarchy), a resource outside the Google Cloud resource hierarchy (such as Google Kubernetes Engine clusters and objects), or a policy (e.g. IAM policy). See [Supported asset types](https://cloud.google.com/asset-inventory/docs/supported-asset-types) for more information.", +"id": "GoogleCloudAssetV1p7beta1Asset", +"properties": { +"accessLevel": { +"$ref": "GoogleIdentityAccesscontextmanagerV1AccessLevel", +"description": "Please also refer to the [access level user guide](https://cloud.google.com/access-context-manager/docs/overview#access-levels)." +}, +"accessPolicy": { +"$ref": "GoogleIdentityAccesscontextmanagerV1AccessPolicy", +"description": "Please also refer to the [access policy user guide](https://cloud.google.com/access-context-manager/docs/overview#access-policies)." +}, +"ancestors": { +"description": "The ancestry path of an asset in Google Cloud [resource hierarchy](https://cloud.google.com/resource-manager/docs/cloud-platform-resource-hierarchy), represented as a list of relative resource names. An ancestry path starts with the closest ancestor in the hierarchy and ends at root. If the asset is a project, folder, or organization, the ancestry path starts from the asset itself. Example: `[\"projects/123456789\", \"folders/5432\", \"organizations/1234\"]`", +"items": { +"type": "string" +}, +"type": "array" +}, +"assetType": { +"description": "The type of the asset. Example: `compute.googleapis.com/Disk` See [Supported asset types](https://cloud.google.com/asset-inventory/docs/supported-asset-types) for more information.", +"type": "string" +}, +"iamPolicy": { +"$ref": "Policy", +"description": "A representation of the IAM policy set on a Google Cloud resource. There can be a maximum of one IAM policy set on any given resource. In addition, IAM policies inherit their granted access scope from any policies set on parent resources in the resource hierarchy. Therefore, the effectively policy is the union of both the policy set on this resource and each policy set on all of the resource's ancestry resource levels in the hierarchy. See [this topic](https://cloud.google.com/iam/help/allow-policies/inheritance) for more information." +}, +"name": { +"description": "The full name of the asset. Example: `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1` See [Resource names](https://cloud.google.com/apis/design/resource_names#full_resource_name) for more information.", +"type": "string" +}, +"orgPolicy": { +"description": "A representation of an [organization policy](https://cloud.google.com/resource-manager/docs/organization-policy/overview#organization_policy). There can be more than one organization policy with different constraints set on a given resource.", +"items": { +"$ref": "GoogleCloudOrgpolicyV1Policy" +}, +"type": "array" +}, +"relatedAssets": { +"$ref": "GoogleCloudAssetV1p7beta1RelatedAssets", +"description": "The related assets of the asset of one relationship type. One asset only represents one type of relationship." +}, +"resource": { +"$ref": "GoogleCloudAssetV1p7beta1Resource", +"description": "A representation of the resource." +}, +"servicePerimeter": { +"$ref": "GoogleIdentityAccesscontextmanagerV1ServicePerimeter", +"description": "Please also refer to the [service perimeter user guide](https://cloud.google.com/vpc-service-controls/docs/overview)." +}, +"updateTime": { +"description": "The last update timestamp of an asset. update_time is updated when create/update/delete operation is performed.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAssetV1p7beta1RelatedAsset": { +"description": "An asset identify in Google Cloud which contains its name, type and ancestors. An asset can be any resource in the Google Cloud [resource hierarchy](https://cloud.google.com/resource-manager/docs/cloud-platform-resource-hierarchy), a resource outside the Google Cloud resource hierarchy (such as Google Kubernetes Engine clusters and objects), or a policy (e.g. IAM policy). See [Supported asset types](https://cloud.google.com/asset-inventory/docs/supported-asset-types) for more information.", +"id": "GoogleCloudAssetV1p7beta1RelatedAsset", +"properties": { +"ancestors": { +"description": "The ancestors of an asset in Google Cloud [resource hierarchy](https://cloud.google.com/resource-manager/docs/cloud-platform-resource-hierarchy), represented as a list of relative resource names. An ancestry path starts with the closest ancestor in the hierarchy and ends at root. Example: `[\"projects/123456789\", \"folders/5432\", \"organizations/1234\"]`", +"items": { +"type": "string" +}, +"type": "array" +}, +"asset": { +"description": "The full name of the asset. Example: `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1` See [Resource names](https://cloud.google.com/apis/design/resource_names#full_resource_name) for more information.", +"type": "string" +}, +"assetType": { +"description": "The type of the asset. Example: `compute.googleapis.com/Disk` See [Supported asset types](https://cloud.google.com/asset-inventory/docs/supported-asset-types) for more information.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAssetV1p7beta1RelatedAssets": { +"description": "The detailed related assets with the `relationship_type`.", +"id": "GoogleCloudAssetV1p7beta1RelatedAssets", +"properties": { +"assets": { +"description": "The peer resources of the relationship.", +"items": { +"$ref": "GoogleCloudAssetV1p7beta1RelatedAsset" +}, +"type": "array" +}, +"relationshipAttributes": { +"$ref": "GoogleCloudAssetV1p7beta1RelationshipAttributes", +"description": "The detailed relation attributes." +} +}, +"type": "object" +}, +"GoogleCloudAssetV1p7beta1RelationshipAttributes": { +"description": "The relationship attributes which include `type`, `source_resource_type`, `target_resource_type` and `action`.", +"id": "GoogleCloudAssetV1p7beta1RelationshipAttributes", +"properties": { +"action": { +"description": "The detail of the relationship, e.g. `contains`, `attaches`", +"type": "string" +}, +"sourceResourceType": { +"description": "The source asset type. Example: `compute.googleapis.com/Instance`", +"type": "string" +}, +"targetResourceType": { +"description": "The target asset type. Example: `compute.googleapis.com/Disk`", +"type": "string" +}, +"type": { +"description": "The unique identifier of the relationship type. Example: `INSTANCE_TO_INSTANCEGROUP`", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAssetV1p7beta1Resource": { +"description": "A representation of a Google Cloud resource.", +"id": "GoogleCloudAssetV1p7beta1Resource", +"properties": { +"data": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"description": "The content of the resource, in which some sensitive fields are removed and may not be present.", +"type": "object" +}, +"discoveryDocumentUri": { +"description": "The URL of the discovery document containing the resource's JSON schema. Example: `https://www.googleapis.com/discovery/v1/apis/compute/v1/rest` This value is unspecified for resources that do not have an API based on a discovery document, such as Cloud Bigtable.", +"type": "string" +}, +"discoveryName": { +"description": "The JSON schema name listed in the discovery document. Example: `Project` This value is unspecified for resources that do not have an API based on a discovery document, such as Cloud Bigtable.", +"type": "string" +}, +"location": { +"description": "The location of the resource in Google Cloud, such as its zone and region. For more information, see https://cloud.google.com/about/locations/.", +"type": "string" +}, +"parent": { +"description": "The full name of the immediate parent of this resource. See [Resource Names](https://cloud.google.com/apis/design/resource_names#full_resource_name) for more information. For Google Cloud assets, this value is the parent resource defined in the [IAM policy hierarchy](https://cloud.google.com/iam/docs/overview#policy_hierarchy). Example: `//cloudresourcemanager.googleapis.com/projects/my_project_123` For third-party assets, this field may be set differently.", +"type": "string" +}, +"resourceUrl": { +"description": "The REST URL for accessing the resource. An HTTP `GET` request using this URL returns the resource itself. Example: `https://cloudresourcemanager.googleapis.com/v1/projects/my-project-123` This value is unspecified for resources without a REST API.", +"type": "string" +}, +"version": { +"description": "The API version. Example: `v1`", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudOrgpolicyV1BooleanPolicy": { +"description": "Used in `policy_type` to specify how `boolean_policy` will behave at this resource.", +"id": "GoogleCloudOrgpolicyV1BooleanPolicy", +"properties": { +"enforced": { +"description": "If `true`, then the `Policy` is enforced. If `false`, then any configuration is acceptable. Suppose you have a `Constraint` `constraints/compute.disableSerialPortAccess` with `constraint_default` set to `ALLOW`. A `Policy` for that `Constraint` exhibits the following behavior: - If the `Policy` at this resource has enforced set to `false`, serial port connection attempts will be allowed. - If the `Policy` at this resource has enforced set to `true`, serial port connection attempts will be refused. - If the `Policy` at this resource is `RestoreDefault`, serial port connection attempts will be allowed. - If no `Policy` is set at this resource or anywhere higher in the resource hierarchy, serial port connection attempts will be allowed. - If no `Policy` is set at this resource, but one exists higher in the resource hierarchy, the behavior is as if the`Policy` were set at this resource. The following examples demonstrate the different possible layerings: Example 1 (nearest `Constraint` wins): `organizations/foo` has a `Policy` with: {enforced: false} `projects/bar` has no `Policy` set. The constraint at `projects/bar` and `organizations/foo` will not be enforced. Example 2 (enforcement gets replaced): `organizations/foo` has a `Policy` with: {enforced: false} `projects/bar` has a `Policy` with: {enforced: true} The constraint at `organizations/foo` is not enforced. The constraint at `projects/bar` is enforced. Example 3 (RestoreDefault): `organizations/foo` has a `Policy` with: {enforced: true} `projects/bar` has a `Policy` with: {RestoreDefault: {}} The constraint at `organizations/foo` is enforced. The constraint at `projects/bar` is not enforced, because `constraint_default` for the `Constraint` is `ALLOW`.", +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleCloudOrgpolicyV1ListPolicy": { +"description": "Used in `policy_type` to specify how `list_policy` behaves at this resource. `ListPolicy` can define specific values and subtrees of Cloud Resource Manager resource hierarchy (`Organizations`, `Folders`, `Projects`) that are allowed or denied by setting the `allowed_values` and `denied_values` fields. This is achieved by using the `under:` and optional `is:` prefixes. The `under:` prefix is used to denote resource subtree values. The `is:` prefix is used to denote specific values, and is required only if the value contains a \":\". Values prefixed with \"is:\" are treated the same as values with no prefix. Ancestry subtrees must be in one of the following formats: - \"projects/\", e.g. \"projects/tokyo-rain-123\" - \"folders/\", e.g. \"folders/1234\" - \"organizations/\", e.g. \"organizations/1234\" The `supports_under` field of the associated `Constraint` defines whether ancestry prefixes can be used. You can set `allowed_values` and `denied_values` in the same `Policy` if `all_values` is `ALL_VALUES_UNSPECIFIED`. `ALLOW` or `DENY` are used to allow or deny all values. If `all_values` is set to either `ALLOW` or `DENY`, `allowed_values` and `denied_values` must be unset.", +"id": "GoogleCloudOrgpolicyV1ListPolicy", +"properties": { +"allValues": { +"description": "The policy all_values state.", +"enum": [ +"ALL_VALUES_UNSPECIFIED", +"ALLOW", +"DENY" +], +"enumDescriptions": [ +"Indicates that allowed_values or denied_values must be set.", +"A policy with this set allows all values.", +"A policy with this set denies all values." +], +"type": "string" +}, +"allowedValues": { +"description": "List of values allowed at this resource. Can only be set if `all_values` is set to `ALL_VALUES_UNSPECIFIED`.", +"items": { +"type": "string" +}, +"type": "array" +}, +"deniedValues": { +"description": "List of values denied at this resource. Can only be set if `all_values` is set to `ALL_VALUES_UNSPECIFIED`.", +"items": { +"type": "string" +}, +"type": "array" +}, +"inheritFromParent": { +"description": "Determines the inheritance behavior for this `Policy`. By default, a `ListPolicy` set at a resource supersedes any `Policy` set anywhere up the resource hierarchy. However, if `inherit_from_parent` is set to `true`, then the values from the effective `Policy` of the parent resource are inherited, meaning the values set in this `Policy` are added to the values inherited up the hierarchy. Setting `Policy` hierarchies that inherit both allowed values and denied values isn't recommended in most circumstances to keep the configuration simple and understandable. However, it is possible to set a `Policy` with `allowed_values` set that inherits a `Policy` with `denied_values` set. In this case, the values that are allowed must be in `allowed_values` and not present in `denied_values`. For example, suppose you have a `Constraint` `constraints/serviceuser.services`, which has a `constraint_type` of `list_constraint`, and with `constraint_default` set to `ALLOW`. Suppose that at the Organization level, a `Policy` is applied that restricts the allowed API activations to {`E1`, `E2`}. Then, if a `Policy` is applied to a project below the Organization that has `inherit_from_parent` set to `false` and field all_values set to DENY, then an attempt to activate any API will be denied. The following examples demonstrate different possible layerings for `projects/bar` parented by `organizations/foo`: Example 1 (no inherited values): `organizations/foo` has a `Policy` with values: {allowed_values: \"E1\" allowed_values:\"E2\"} `projects/bar` has `inherit_from_parent` `false` and values: {allowed_values: \"E3\" allowed_values: \"E4\"} The accepted values at `organizations/foo` are `E1`, `E2`. The accepted values at `projects/bar` are `E3`, and `E4`. Example 2 (inherited values): `organizations/foo` has a `Policy` with values: {allowed_values: \"E1\" allowed_values:\"E2\"} `projects/bar` has a `Policy` with values: {value: \"E3\" value: \"E4\" inherit_from_parent: true} The accepted values at `organizations/foo` are `E1`, `E2`. The accepted values at `projects/bar` are `E1`, `E2`, `E3`, and `E4`. Example 3 (inheriting both allowed and denied values): `organizations/foo` has a `Policy` with values: {allowed_values: \"E1\" allowed_values: \"E2\"} `projects/bar` has a `Policy` with: {denied_values: \"E1\"} The accepted values at `organizations/foo` are `E1`, `E2`. The value accepted at `projects/bar` is `E2`. Example 4 (RestoreDefault): `organizations/foo` has a `Policy` with values: {allowed_values: \"E1\" allowed_values:\"E2\"} `projects/bar` has a `Policy` with values: {RestoreDefault: {}} The accepted values at `organizations/foo` are `E1`, `E2`. The accepted values at `projects/bar` are either all or none depending on the value of `constraint_default` (if `ALLOW`, all; if `DENY`, none). Example 5 (no policy inherits parent policy): `organizations/foo` has no `Policy` set. `projects/bar` has no `Policy` set. The accepted values at both levels are either all or none depending on the value of `constraint_default` (if `ALLOW`, all; if `DENY`, none). Example 6 (ListConstraint allowing all): `organizations/foo` has a `Policy` with values: {allowed_values: \"E1\" allowed_values: \"E2\"} `projects/bar` has a `Policy` with: {all: ALLOW} The accepted values at `organizations/foo` are `E1`, E2`. Any value is accepted at `projects/bar`. Example 7 (ListConstraint allowing none): `organizations/foo` has a `Policy` with values: {allowed_values: \"E1\" allowed_values: \"E2\"} `projects/bar` has a `Policy` with: {all: DENY} The accepted values at `organizations/foo` are `E1`, E2`. No value is accepted at `projects/bar`. Example 10 (allowed and denied subtrees of Resource Manager hierarchy): Given the following resource hierarchy O1->{F1, F2}; F1->{P1}; F2->{P2, P3}, `organizations/foo` has a `Policy` with values: {allowed_values: \"under:organizations/O1\"} `projects/bar` has a `Policy` with: {allowed_values: \"under:projects/P3\"} {denied_values: \"under:folders/F2\"} The accepted values at `organizations/foo` are `organizations/O1`, `folders/F1`, `folders/F2`, `projects/P1`, `projects/P2`, `projects/P3`. The accepted values at `projects/bar` are `organizations/O1`, `folders/F1`, `projects/P1`.", +"type": "boolean" +}, +"suggestedValue": { +"description": "Optional. The Google Cloud Console will try to default to a configuration that matches the value specified in this `Policy`. If `suggested_value` is not set, it will inherit the value specified higher in the hierarchy, unless `inherit_from_parent` is `false`.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudOrgpolicyV1Policy": { +"description": "Defines a Cloud Organization `Policy` which is used to specify `Constraints` for configurations of Cloud Platform resources.", +"id": "GoogleCloudOrgpolicyV1Policy", +"properties": { +"booleanPolicy": { +"$ref": "GoogleCloudOrgpolicyV1BooleanPolicy", +"description": "For boolean `Constraints`, whether to enforce the `Constraint` or not." +}, +"constraint": { +"description": "The name of the `Constraint` the `Policy` is configuring, for example, `constraints/serviceuser.services`. A [list of available constraints](/resource-manager/docs/organization-policy/org-policy-constraints) is available. Immutable after creation.", +"type": "string" +}, +"etag": { +"description": "An opaque tag indicating the current version of the `Policy`, used for concurrency control. When the `Policy` is returned from either a `GetPolicy` or a `ListOrgPolicy` request, this `etag` indicates the version of the current `Policy` to use when executing a read-modify-write loop. When the `Policy` is returned from a `GetEffectivePolicy` request, the `etag` will be unset. When the `Policy` is used in a `SetOrgPolicy` method, use the `etag` value that was returned from a `GetOrgPolicy` request as part of a read-modify-write loop for concurrency control. Not setting the `etag`in a `SetOrgPolicy` request will result in an unconditional write of the `Policy`.", +"format": "byte", +"type": "string" +}, +"listPolicy": { +"$ref": "GoogleCloudOrgpolicyV1ListPolicy", +"description": "List of values either allowed or disallowed." +}, +"restoreDefault": { +"$ref": "GoogleCloudOrgpolicyV1RestoreDefault", +"description": "Restores the default behavior of the constraint; independent of `Constraint` type." +}, +"updateTime": { +"description": "The time stamp the `Policy` was previously updated. This is set by the server, not specified by the caller, and represents the last time a call to `SetOrgPolicy` was made for that `Policy`. Any value set by the client will be ignored.", +"format": "google-datetime", +"type": "string" +}, +"version": { +"description": "Version of the `Policy`. Default version is 0;", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"GoogleCloudOrgpolicyV1RestoreDefault": { +"description": "Ignores policies set above this resource and restores the `constraint_default` enforcement behavior of the specific `Constraint` at this resource. Suppose that `constraint_default` is set to `ALLOW` for the `Constraint` `constraints/serviceuser.services`. Suppose that organization foo.com sets a `Policy` at their Organization resource node that restricts the allowed service activations to deny all service activations. They could then set a `Policy` with the `policy_type` `restore_default` on several experimental projects, restoring the `constraint_default` enforcement of the `Constraint` for only those projects, allowing those projects to have all services activated.", +"id": "GoogleCloudOrgpolicyV1RestoreDefault", +"properties": {}, +"type": "object" +}, +"GoogleIdentityAccesscontextmanagerV1AccessLevel": { +"description": "An `AccessLevel` is a label that can be applied to requests to Google Cloud services, along with a list of requirements necessary for the label to be applied.", +"id": "GoogleIdentityAccesscontextmanagerV1AccessLevel", +"properties": { +"basic": { +"$ref": "GoogleIdentityAccesscontextmanagerV1BasicLevel", +"description": "A `BasicLevel` composed of `Conditions`." +}, +"custom": { +"$ref": "GoogleIdentityAccesscontextmanagerV1CustomLevel", +"description": "A `CustomLevel` written in the Common Expression Language." +}, +"description": { +"description": "Description of the `AccessLevel` and its use. Does not affect behavior.", +"type": "string" +}, +"name": { +"description": "Identifier. Resource name for the `AccessLevel`. Format: `accessPolicies/{access_policy}/accessLevels/{access_level}`. The `access_level` component must begin with a letter, followed by alphanumeric characters or `_`. Its maximum length is 50 characters. After you create an `AccessLevel`, you cannot change its `name`.", +"type": "string" +}, +"title": { +"description": "Human readable title. Must be unique within the Policy.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleIdentityAccesscontextmanagerV1AccessPolicy": { +"description": "`AccessPolicy` is a container for `AccessLevels` (which define the necessary attributes to use Google Cloud services) and `ServicePerimeters` (which define regions of services able to freely pass data within a perimeter). An access policy is globally visible within an organization, and the restrictions it specifies apply to all projects within an organization.", +"id": "GoogleIdentityAccesscontextmanagerV1AccessPolicy", +"properties": { +"etag": { +"description": "Output only. An opaque identifier for the current version of the `AccessPolicy`. This will always be a strongly validated etag, meaning that two Access Policies will be identical if and only if their etags are identical. Clients should not expect this to be in any specific format.", +"readOnly": true, +"type": "string" +}, +"name": { +"description": "Output only. Identifier. Resource name of the `AccessPolicy`. Format: `accessPolicies/{access_policy}`", +"type": "string" +}, +"parent": { +"description": "Required. The parent of this `AccessPolicy` in the Cloud Resource Hierarchy. Currently immutable once created. Format: `organizations/{organization_id}`", +"type": "string" +}, +"scopes": { +"description": "The scopes of the AccessPolicy. Scopes define which resources a policy can restrict and where its resources can be referenced. For example, policy A with `scopes=[\"folders/123\"]` has the following behavior: - ServicePerimeter can only restrict projects within `folders/123`. - ServicePerimeter within policy A can only reference access levels defined within policy A. - Only one policy can include a given scope; thus, attempting to create a second policy which includes `folders/123` will result in an error. If no scopes are provided, then any resource within the organization can be restricted. Scopes cannot be modified after a policy is created. Policies can only have a single scope. Format: list of `folders/{folder_number}` or `projects/{project_number}`", +"items": { +"type": "string" +}, +"type": "array" +}, +"title": { +"description": "Required. Human readable title. Does not affect behavior.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleIdentityAccesscontextmanagerV1ApiOperation": { +"description": "Identification for an API Operation.", +"id": "GoogleIdentityAccesscontextmanagerV1ApiOperation", +"properties": { +"methodSelectors": { +"description": "API methods or permissions to allow. Method or permission must belong to the service specified by `service_name` field. A single MethodSelector entry with `*` specified for the `method` field will allow all methods AND permissions for the service specified in `service_name`.", +"items": { +"$ref": "GoogleIdentityAccesscontextmanagerV1MethodSelector" +}, +"type": "array" +}, +"serviceName": { +"description": "The name of the API whose methods or permissions the IngressPolicy or EgressPolicy want to allow. A single ApiOperation with `service_name` field set to `*` will allow all methods AND permissions for all services.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleIdentityAccesscontextmanagerV1BasicLevel": { +"description": "`BasicLevel` is an `AccessLevel` using a set of recommended features.", +"id": "GoogleIdentityAccesscontextmanagerV1BasicLevel", +"properties": { +"combiningFunction": { +"description": "How the `conditions` list should be combined to determine if a request is granted this `AccessLevel`. If AND is used, each `Condition` in `conditions` must be satisfied for the `AccessLevel` to be applied. If OR is used, at least one `Condition` in `conditions` must be satisfied for the `AccessLevel` to be applied. Default behavior is AND.", +"enum": [ +"AND", +"OR" +], +"enumDescriptions": [ +"All `Conditions` must be true for the `BasicLevel` to be true.", +"If at least one `Condition` is true, then the `BasicLevel` is true." +], +"type": "string" +}, +"conditions": { +"description": "Required. A list of requirements for the `AccessLevel` to be granted.", +"items": { +"$ref": "GoogleIdentityAccesscontextmanagerV1Condition" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleIdentityAccesscontextmanagerV1Condition": { +"description": "A condition necessary for an `AccessLevel` to be granted. The Condition is an AND over its fields. So a Condition is true if: 1) the request IP is from one of the listed subnetworks AND 2) the originating device complies with the listed device policy AND 3) all listed access levels are granted AND 4) the request was sent at a time allowed by the DateTimeRestriction.", +"id": "GoogleIdentityAccesscontextmanagerV1Condition", +"properties": { +"devicePolicy": { +"$ref": "GoogleIdentityAccesscontextmanagerV1DevicePolicy", +"description": "Device specific restrictions, all restrictions must hold for the Condition to be true. If not specified, all devices are allowed." +}, +"ipSubnetworks": { +"description": "CIDR block IP subnetwork specification. May be IPv4 or IPv6. Note that for a CIDR IP address block, the specified IP address portion must be properly truncated (i.e. all the host bits must be zero) or the input is considered malformed. For example, \"192.0.2.0/24\" is accepted but \"192.0.2.1/24\" is not. Similarly, for IPv6, \"2001:db8::/32\" is accepted whereas \"2001:db8::1/32\" is not. The originating IP of a request must be in one of the listed subnets in order for this Condition to be true. If empty, all IP addresses are allowed.", +"items": { +"type": "string" +}, +"type": "array" +}, +"members": { +"description": "The request must be made by one of the provided user or service accounts. Groups are not supported. Syntax: `user:{emailid}` `serviceAccount:{emailid}` If not specified, a request may come from any user.", +"items": { +"type": "string" +}, +"type": "array" +}, +"negate": { +"description": "Whether to negate the Condition. If true, the Condition becomes a NAND over its non-empty fields. Any non-empty field criteria evaluating to false will result in the Condition to be satisfied. Defaults to false.", +"type": "boolean" +}, +"regions": { +"description": "The request must originate from one of the provided countries/regions. Must be valid ISO 3166-1 alpha-2 codes.", +"items": { +"type": "string" +}, +"type": "array" +}, +"requiredAccessLevels": { +"description": "A list of other access levels defined in the same `Policy`, referenced by resource name. Referencing an `AccessLevel` which does not exist is an error. All access levels listed must be granted for the Condition to be true. Example: \"`accessPolicies/MY_POLICY/accessLevels/LEVEL_NAME\"`", +"items": { +"type": "string" +}, +"type": "array" +}, +"vpcNetworkSources": { +"description": "The request must originate from one of the provided VPC networks in Google Cloud. Cannot specify this field together with `ip_subnetworks`.", +"items": { +"$ref": "GoogleIdentityAccesscontextmanagerV1VpcNetworkSource" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleIdentityAccesscontextmanagerV1CustomLevel": { +"description": "`CustomLevel` is an `AccessLevel` using the Cloud Common Expression Language to represent the necessary conditions for the level to apply to a request. See CEL spec at: https://github.com/google/cel-spec", +"id": "GoogleIdentityAccesscontextmanagerV1CustomLevel", +"properties": { +"expr": { +"$ref": "Expr", +"description": "Required. A Cloud CEL expression evaluating to a boolean." +} +}, +"type": "object" +}, +"GoogleIdentityAccesscontextmanagerV1DevicePolicy": { +"description": "`DevicePolicy` specifies device specific restrictions necessary to acquire a given access level. A `DevicePolicy` specifies requirements for requests from devices to be granted access levels, it does not do any enforcement on the device. `DevicePolicy` acts as an AND over all specified fields, and each repeated field is an OR over its elements. Any unset fields are ignored. For example, if the proto is { os_type : DESKTOP_WINDOWS, os_type : DESKTOP_LINUX, encryption_status: ENCRYPTED}, then the DevicePolicy will be true for requests originating from encrypted Linux desktops and encrypted Windows desktops.", +"id": "GoogleIdentityAccesscontextmanagerV1DevicePolicy", +"properties": { +"allowedDeviceManagementLevels": { +"description": "Allowed device management levels, an empty list allows all management levels.", +"items": { +"enum": [ +"MANAGEMENT_UNSPECIFIED", +"NONE", +"BASIC", +"COMPLETE" +], +"enumDescriptions": [ +"The device's management level is not specified or not known.", +"The device is not managed.", +"Basic management is enabled, which is generally limited to monitoring and wiping the corporate account.", +"Complete device management. This includes more thorough monitoring and the ability to directly manage the device (such as remote wiping). This can be enabled through the Android Enterprise Platform." +], +"type": "string" +}, +"type": "array" +}, +"allowedEncryptionStatuses": { +"description": "Allowed encryptions statuses, an empty list allows all statuses.", +"items": { +"enum": [ +"ENCRYPTION_UNSPECIFIED", +"ENCRYPTION_UNSUPPORTED", +"UNENCRYPTED", +"ENCRYPTED" +], +"enumDescriptions": [ +"The encryption status of the device is not specified or not known.", +"The device does not support encryption.", +"The device supports encryption, but is currently unencrypted.", +"The device is encrypted." +], +"type": "string" +}, +"type": "array" +}, +"osConstraints": { +"description": "Allowed OS versions, an empty list allows all types and all versions.", +"items": { +"$ref": "GoogleIdentityAccesscontextmanagerV1OsConstraint" +}, +"type": "array" +}, +"requireAdminApproval": { +"description": "Whether the device needs to be approved by the customer admin.", +"type": "boolean" +}, +"requireCorpOwned": { +"description": "Whether the device needs to be corp owned.", +"type": "boolean" +}, +"requireScreenlock": { +"description": "Whether or not screenlock is required for the DevicePolicy to be true. Defaults to `false`.", +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleIdentityAccesscontextmanagerV1EgressFrom": { +"description": "Defines the conditions under which an EgressPolicy matches a request. Conditions based on information about the source of the request. Note that if the destination of the request is also protected by a ServicePerimeter, then that ServicePerimeter must have an IngressPolicy which allows access in order for this request to succeed.", +"id": "GoogleIdentityAccesscontextmanagerV1EgressFrom", +"properties": { +"identities": { +"description": "A list of identities that are allowed access through [EgressPolicy]. Identities can be an individual user, service account, Google group, or third-party identity. For third-party identity, only single identities are supported and other identity types are not supported. The `v1` identities that have the prefix `user`, `group`, `serviceAccount`, and `principal` in https://cloud.google.com/iam/docs/principal-identifiers#v1 are supported.", +"items": { +"type": "string" +}, +"type": "array" +}, +"identityType": { +"description": "Specifies the type of identities that are allowed access to outside the perimeter. If left unspecified, then members of `identities` field will be allowed access.", +"enum": [ +"IDENTITY_TYPE_UNSPECIFIED", +"ANY_IDENTITY", +"ANY_USER_ACCOUNT", +"ANY_SERVICE_ACCOUNT" +], +"enumDescriptions": [ +"No blanket identity group specified.", +"Authorize access from all identities outside the perimeter.", +"Authorize access from all human users outside the perimeter.", +"Authorize access from all service accounts outside the perimeter." +], +"type": "string" +}, +"sourceRestriction": { +"description": "Whether to enforce traffic restrictions based on `sources` field. If the `sources` fields is non-empty, then this field must be set to `SOURCE_RESTRICTION_ENABLED`.", +"enum": [ +"SOURCE_RESTRICTION_UNSPECIFIED", +"SOURCE_RESTRICTION_ENABLED", +"SOURCE_RESTRICTION_DISABLED" +], +"enumDescriptions": [ +"Enforcement preference unspecified, will not enforce traffic restrictions based on `sources` in EgressFrom.", +"Enforcement preference enabled, traffic restrictions will be enforced based on `sources` in EgressFrom.", +"Enforcement preference disabled, will not enforce traffic restrictions based on `sources` in EgressFrom." +], +"type": "string" +}, +"sources": { +"description": "Sources that this EgressPolicy authorizes access from. If this field is not empty, then `source_restriction` must be set to `SOURCE_RESTRICTION_ENABLED`.", +"items": { +"$ref": "GoogleIdentityAccesscontextmanagerV1EgressSource" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleIdentityAccesscontextmanagerV1EgressPolicy": { +"description": "Policy for egress from perimeter. EgressPolicies match requests based on `egress_from` and `egress_to` stanzas. For an EgressPolicy to match, both `egress_from` and `egress_to` stanzas must be matched. If an EgressPolicy matches a request, the request is allowed to span the ServicePerimeter boundary. For example, an EgressPolicy can be used to allow VMs on networks within the ServicePerimeter to access a defined set of projects outside the perimeter in certain contexts (e.g. to read data from a Cloud Storage bucket or query against a BigQuery dataset). EgressPolicies are concerned with the *resources* that a request relates as well as the API services and API actions being used. They do not related to the direction of data movement. More detailed documentation for this concept can be found in the descriptions of EgressFrom and EgressTo.", +"id": "GoogleIdentityAccesscontextmanagerV1EgressPolicy", +"properties": { +"egressFrom": { +"$ref": "GoogleIdentityAccesscontextmanagerV1EgressFrom", +"description": "Defines conditions on the source of a request causing this EgressPolicy to apply." +}, +"egressTo": { +"$ref": "GoogleIdentityAccesscontextmanagerV1EgressTo", +"description": "Defines the conditions on the ApiOperation and destination resources that cause this EgressPolicy to apply." +}, +"title": { +"description": "Optional. Human-readable title for the egress rule. The title must be unique within the perimeter and can not exceed 100 characters. Within the access policy, the combined length of all rule titles must not exceed 240,000 characters.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleIdentityAccesscontextmanagerV1EgressSource": { +"description": "The source that EgressPolicy authorizes access from inside the ServicePerimeter to somewhere outside the ServicePerimeter boundaries.", +"id": "GoogleIdentityAccesscontextmanagerV1EgressSource", +"properties": { +"accessLevel": { +"description": "An AccessLevel resource name that allows protected resources inside the ServicePerimeters to access outside the ServicePerimeter boundaries. AccessLevels listed must be in the same policy as this ServicePerimeter. Referencing a nonexistent AccessLevel will cause an error. If an AccessLevel name is not specified, only resources within the perimeter can be accessed through Google Cloud calls with request origins within the perimeter. Example: `accessPolicies/MY_POLICY/accessLevels/MY_LEVEL`. If a single `*` is specified for `access_level`, then all EgressSources will be allowed.", +"type": "string" +}, +"resource": { +"description": "A Google Cloud resource from the service perimeter that you want to allow to access data outside the perimeter. This field supports only projects. The project format is `projects/{project_number}`. You can't use `*` in this field to allow all Google Cloud resources.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleIdentityAccesscontextmanagerV1EgressTo": { +"description": "Defines the conditions under which an EgressPolicy matches a request. Conditions are based on information about the ApiOperation intended to be performed on the `resources` specified. Note that if the destination of the request is also protected by a ServicePerimeter, then that ServicePerimeter must have an IngressPolicy which allows access in order for this request to succeed. The request must match `operations` AND `resources` fields in order to be allowed egress out of the perimeter.", +"id": "GoogleIdentityAccesscontextmanagerV1EgressTo", +"properties": { +"externalResources": { +"description": "A list of external resources that are allowed to be accessed. Only AWS and Azure resources are supported. For Amazon S3, the supported formats are s3://BUCKET_NAME, s3a://BUCKET_NAME, and s3n://BUCKET_NAME. For Azure Storage, the supported format is azure://myaccount.blob.core.windows.net/CONTAINER_NAME. A request matches if it contains an external resource in this list (Example: s3://bucket/path). Currently '*' is not allowed.", +"items": { +"type": "string" +}, +"type": "array" +}, +"operations": { +"description": "A list of ApiOperations allowed to be performed by the sources specified in the corresponding EgressFrom. A request matches if it uses an operation/service in this list.", +"items": { +"$ref": "GoogleIdentityAccesscontextmanagerV1ApiOperation" +}, +"type": "array" +}, +"resources": { +"description": "A list of resources, currently only projects in the form `projects/`, that are allowed to be accessed by sources defined in the corresponding EgressFrom. A request matches if it contains a resource in this list. If `*` is specified for `resources`, then this EgressTo rule will authorize access to all resources outside the perimeter.", +"items": { +"type": "string" +}, +"type": "array" +}, +"roles": { +"description": "IAM roles that represent the set of operations that the sources specified in the corresponding EgressFrom. are allowed to perform in this ServicePerimeter.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleIdentityAccesscontextmanagerV1IngressFrom": { +"description": "Defines the conditions under which an IngressPolicy matches a request. Conditions are based on information about the source of the request. The request must satisfy what is defined in `sources` AND identity related fields in order to match.", +"id": "GoogleIdentityAccesscontextmanagerV1IngressFrom", +"properties": { +"identities": { +"description": "A list of identities that are allowed access through [IngressPolicy]. Identities can be an individual user, service account, Google group, or third-party identity. For third-party identity, only single identities are supported and other identity types are not supported. The `v1` identities that have the prefix `user`, `group`, `serviceAccount`, and `principal` in https://cloud.google.com/iam/docs/principal-identifiers#v1 are supported.", +"items": { +"type": "string" +}, +"type": "array" +}, +"identityType": { +"description": "Specifies the type of identities that are allowed access from outside the perimeter. If left unspecified, then members of `identities` field will be allowed access.", +"enum": [ +"IDENTITY_TYPE_UNSPECIFIED", +"ANY_IDENTITY", +"ANY_USER_ACCOUNT", +"ANY_SERVICE_ACCOUNT" +], +"enumDescriptions": [ +"No blanket identity group specified.", +"Authorize access from all identities outside the perimeter.", +"Authorize access from all human users outside the perimeter.", +"Authorize access from all service accounts outside the perimeter." +], +"type": "string" +}, +"sources": { +"description": "Sources that this IngressPolicy authorizes access from.", +"items": { +"$ref": "GoogleIdentityAccesscontextmanagerV1IngressSource" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleIdentityAccesscontextmanagerV1IngressPolicy": { +"description": "Policy for ingress into ServicePerimeter. IngressPolicies match requests based on `ingress_from` and `ingress_to` stanzas. For an ingress policy to match, both the `ingress_from` and `ingress_to` stanzas must be matched. If an IngressPolicy matches a request, the request is allowed through the perimeter boundary from outside the perimeter. For example, access from the internet can be allowed either based on an AccessLevel or, for traffic hosted on Google Cloud, the project of the source network. For access from private networks, using the project of the hosting network is required. Individual ingress policies can be limited by restricting which services and/or actions they match using the `ingress_to` field.", +"id": "GoogleIdentityAccesscontextmanagerV1IngressPolicy", +"properties": { +"ingressFrom": { +"$ref": "GoogleIdentityAccesscontextmanagerV1IngressFrom", +"description": "Defines the conditions on the source of a request causing this IngressPolicy to apply." +}, +"ingressTo": { +"$ref": "GoogleIdentityAccesscontextmanagerV1IngressTo", +"description": "Defines the conditions on the ApiOperation and request destination that cause this IngressPolicy to apply." +}, +"title": { +"description": "Optional. Human-readable title for the ingress rule. The title must be unique within the perimeter and can not exceed 100 characters. Within the access policy, the combined length of all rule titles must not exceed 240,000 characters.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleIdentityAccesscontextmanagerV1IngressSource": { +"description": "The source that IngressPolicy authorizes access from.", +"id": "GoogleIdentityAccesscontextmanagerV1IngressSource", +"properties": { +"accessLevel": { +"description": "An AccessLevel resource name that allow resources within the ServicePerimeters to be accessed from the internet. AccessLevels listed must be in the same policy as this ServicePerimeter. Referencing a nonexistent AccessLevel will cause an error. If no AccessLevel names are listed, resources within the perimeter can only be accessed via Google Cloud calls with request origins within the perimeter. Example: `accessPolicies/MY_POLICY/accessLevels/MY_LEVEL`. If a single `*` is specified for `access_level`, then all IngressSources will be allowed.", +"type": "string" +}, +"resource": { +"description": "A Google Cloud resource that is allowed to ingress the perimeter. Requests from these resources will be allowed to access perimeter data. Currently only projects and VPCs are allowed. Project format: `projects/{project_number}` VPC network format: `//compute.googleapis.com/projects/{PROJECT_ID}/global/networks/{NAME}`. The project may be in any Google Cloud organization, not just the organization that the perimeter is defined in. `*` is not allowed, the case of allowing all Google Cloud resources only is not supported.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleIdentityAccesscontextmanagerV1IngressTo": { +"description": "Defines the conditions under which an IngressPolicy matches a request. Conditions are based on information about the ApiOperation intended to be performed on the target resource of the request. The request must satisfy what is defined in `operations` AND `resources` in order to match.", +"id": "GoogleIdentityAccesscontextmanagerV1IngressTo", +"properties": { +"operations": { +"description": "A list of ApiOperations allowed to be performed by the sources specified in corresponding IngressFrom in this ServicePerimeter.", +"items": { +"$ref": "GoogleIdentityAccesscontextmanagerV1ApiOperation" +}, +"type": "array" +}, +"resources": { +"description": "A list of resources, currently only projects in the form `projects/`, protected by this ServicePerimeter that are allowed to be accessed by sources defined in the corresponding IngressFrom. If a single `*` is specified, then access to all resources inside the perimeter are allowed.", +"items": { +"type": "string" +}, +"type": "array" +}, +"roles": { +"description": "IAM roles that represent the set of operations that the sources specified in the corresponding IngressFrom are allowed to perform in this ServicePerimeter.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleIdentityAccesscontextmanagerV1MethodSelector": { +"description": "An allowed method or permission of a service specified in ApiOperation.", +"id": "GoogleIdentityAccesscontextmanagerV1MethodSelector", +"properties": { +"method": { +"description": "A valid method name for the corresponding `service_name` in ApiOperation. If `*` is used as the value for the `method`, then ALL methods and permissions are allowed.", +"type": "string" +}, +"permission": { +"description": "A valid Cloud IAM permission for the corresponding `service_name` in ApiOperation.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleIdentityAccesscontextmanagerV1OsConstraint": { +"description": "A restriction on the OS type and version of devices making requests.", +"id": "GoogleIdentityAccesscontextmanagerV1OsConstraint", +"properties": { +"minimumVersion": { +"description": "The minimum allowed OS version. If not set, any version of this OS satisfies the constraint. Format: `\"major.minor.patch\"`. Examples: `\"10.5.301\"`, `\"9.2.1\"`.", +"type": "string" +}, +"osType": { +"description": "Required. The allowed OS type.", +"enum": [ +"OS_UNSPECIFIED", +"DESKTOP_MAC", +"DESKTOP_WINDOWS", +"DESKTOP_LINUX", +"DESKTOP_CHROME_OS", +"ANDROID", +"IOS" +], +"enumDescriptions": [ +"The operating system of the device is not specified or not known.", +"A desktop Mac operating system.", +"A desktop Windows operating system.", +"A desktop Linux operating system.", +"A desktop ChromeOS operating system.", +"An Android operating system.", +"An iOS operating system." +], +"type": "string" +}, +"requireVerifiedChromeOs": { +"description": "Only allows requests from devices with a verified Chrome OS. Verifications includes requirements that the device is enterprise-managed, conformant to domain policies, and the caller has permission to call the API targeted by the request.", +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleIdentityAccesscontextmanagerV1ServicePerimeter": { +"description": "`ServicePerimeter` describes a set of Google Cloud resources which can freely import and export data amongst themselves, but not export outside of the `ServicePerimeter`. If a request with a source within this `ServicePerimeter` has a target outside of the `ServicePerimeter`, the request will be blocked. Otherwise the request is allowed. There are two types of Service Perimeter - Regular and Bridge. Regular Service Perimeters cannot overlap, a single Google Cloud project or VPC network can only belong to a single regular Service Perimeter. Service Perimeter Bridges can contain only Google Cloud projects as members, a single Google Cloud project may belong to multiple Service Perimeter Bridges.", +"id": "GoogleIdentityAccesscontextmanagerV1ServicePerimeter", +"properties": { +"description": { +"description": "Description of the `ServicePerimeter` and its use. Does not affect behavior.", +"type": "string" +}, +"etag": { +"description": "Optional. An opaque identifier for the current version of the `ServicePerimeter`. This identifier does not follow any specific format. If an etag is not provided, the operation will be performed as if a valid etag is provided.", +"type": "string" +}, +"name": { +"description": "Identifier. Resource name for the `ServicePerimeter`. Format: `accessPolicies/{access_policy}/servicePerimeters/{service_perimeter}`. The `service_perimeter` component must begin with a letter, followed by alphanumeric characters or `_`. After you create a `ServicePerimeter`, you cannot change its `name`.", +"type": "string" +}, +"perimeterType": { +"description": "Perimeter type indicator. A single project or VPC network is allowed to be a member of single regular perimeter, but multiple service perimeter bridges. A project cannot be a included in a perimeter bridge without being included in regular perimeter. For perimeter bridges, the restricted service list as well as access level lists must be empty.", +"enum": [ +"PERIMETER_TYPE_REGULAR", +"PERIMETER_TYPE_BRIDGE" +], +"enumDescriptions": [ +"Regular Perimeter. When no value is specified, the perimeter uses this type.", +"Perimeter Bridge." +], +"type": "string" +}, +"spec": { +"$ref": "GoogleIdentityAccesscontextmanagerV1ServicePerimeterConfig", +"description": "Proposed (or dry run) ServicePerimeter configuration. This configuration allows to specify and test ServicePerimeter configuration without enforcing actual access restrictions. Only allowed to be set when the \"use_explicit_dry_run_spec\" flag is set." +}, +"status": { +"$ref": "GoogleIdentityAccesscontextmanagerV1ServicePerimeterConfig", +"description": "Current ServicePerimeter configuration. Specifies sets of resources, restricted services and access levels that determine perimeter content and boundaries." +}, +"title": { +"description": "Human readable title. Must be unique within the Policy.", +"type": "string" +}, +"useExplicitDryRunSpec": { +"description": "Use explicit dry run spec flag. Ordinarily, a dry-run spec implicitly exists for all Service Perimeters, and that spec is identical to the status for those Service Perimeters. When this flag is set, it inhibits the generation of the implicit spec, thereby allowing the user to explicitly provide a configuration (\"spec\") to use in a dry-run version of the Service Perimeter. This allows the user to test changes to the enforced config (\"status\") without actually enforcing them. This testing is done through analyzing the differences between currently enforced and suggested restrictions. use_explicit_dry_run_spec must bet set to True if any of the fields in the spec are set to non-default values.", +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleIdentityAccesscontextmanagerV1ServicePerimeterConfig": { +"description": "`ServicePerimeterConfig` specifies a set of Google Cloud resources that describe specific Service Perimeter configuration.", +"id": "GoogleIdentityAccesscontextmanagerV1ServicePerimeterConfig", +"properties": { +"accessLevels": { +"description": "A list of `AccessLevel` resource names that allow resources within the `ServicePerimeter` to be accessed from the internet. `AccessLevels` listed must be in the same policy as this `ServicePerimeter`. Referencing a nonexistent `AccessLevel` is a syntax error. If no `AccessLevel` names are listed, resources within the perimeter can only be accessed via Google Cloud calls with request origins within the perimeter. Example: `\"accessPolicies/MY_POLICY/accessLevels/MY_LEVEL\"`. For Service Perimeter Bridge, must be empty.", +"items": { +"type": "string" +}, +"type": "array" +}, +"egressPolicies": { +"description": "List of EgressPolicies to apply to the perimeter. A perimeter may have multiple EgressPolicies, each of which is evaluated separately. Access is granted if any EgressPolicy grants it. Must be empty for a perimeter bridge.", +"items": { +"$ref": "GoogleIdentityAccesscontextmanagerV1EgressPolicy" +}, +"type": "array" +}, +"ingressPolicies": { +"description": "List of IngressPolicies to apply to the perimeter. A perimeter may have multiple IngressPolicies, each of which is evaluated separately. Access is granted if any Ingress Policy grants it. Must be empty for a perimeter bridge.", +"items": { +"$ref": "GoogleIdentityAccesscontextmanagerV1IngressPolicy" +}, +"type": "array" +}, +"resources": { +"description": "A list of Google Cloud resources that are inside of the service perimeter. Currently only projects and VPCs are allowed. Project format: `projects/{project_number}` VPC network format: `//compute.googleapis.com/projects/{PROJECT_ID}/global/networks/{NAME}`.", +"items": { +"type": "string" +}, +"type": "array" +}, +"restrictedServices": { +"description": "Google Cloud services that are subject to the Service Perimeter restrictions. For example, if `storage.googleapis.com` is specified, access to the storage buckets inside the perimeter must meet the perimeter's access restrictions.", +"items": { +"type": "string" +}, +"type": "array" +}, +"vpcAccessibleServices": { +"$ref": "GoogleIdentityAccesscontextmanagerV1VpcAccessibleServices", +"description": "Configuration for APIs allowed within Perimeter." +} +}, +"type": "object" +}, +"GoogleIdentityAccesscontextmanagerV1VpcAccessibleServices": { +"description": "Specifies how APIs are allowed to communicate within the Service Perimeter.", +"id": "GoogleIdentityAccesscontextmanagerV1VpcAccessibleServices", +"properties": { +"allowedServices": { +"description": "The list of APIs usable within the Service Perimeter. Must be empty unless 'enable_restriction' is True. You can specify a list of individual services, as well as include the 'RESTRICTED-SERVICES' value, which automatically includes all of the services protected by the perimeter.", +"items": { +"type": "string" +}, +"type": "array" +}, +"enableRestriction": { +"description": "Whether to restrict API calls within the Service Perimeter to the list of APIs specified in 'allowed_services'.", +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleIdentityAccesscontextmanagerV1VpcNetworkSource": { +"description": "The originating network source in Google Cloud.", +"id": "GoogleIdentityAccesscontextmanagerV1VpcNetworkSource", +"properties": { +"vpcSubnetwork": { +"$ref": "GoogleIdentityAccesscontextmanagerV1VpcSubNetwork", +"description": "Sub-segment ranges of a VPC network." +} +}, +"type": "object" +}, +"GoogleIdentityAccesscontextmanagerV1VpcSubNetwork": { +"description": "Sub-segment ranges inside of a VPC Network.", +"id": "GoogleIdentityAccesscontextmanagerV1VpcSubNetwork", +"properties": { +"network": { +"description": "Required. Network name. If the network is not part of the organization, the `compute.network.get` permission must be granted to the caller. Format: `//compute.googleapis.com/projects/{PROJECT_ID}/global/networks/{NETWORK_NAME}` Example: `//compute.googleapis.com/projects/my-project/global/networks/network-1`", +"type": "string" +}, +"vpcIpSubnetworks": { +"description": "CIDR block IP subnetwork specification. The IP address must be an IPv4 address and can be a public or private IP address. Note that for a CIDR IP address block, the specified IP address portion must be properly truncated (i.e. all the host bits must be zero) or the input is considered malformed. For example, \"192.0.2.0/24\" is accepted but \"192.0.2.1/24\" is not. If empty, all IP addresses are allowed.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"IamPolicyAnalysis": { +"description": "An analysis message to group the query and results.", +"id": "IamPolicyAnalysis", +"properties": { +"analysisQuery": { +"$ref": "IamPolicyAnalysisQuery", +"description": "The analysis query." +}, +"analysisResults": { +"description": "A list of IamPolicyAnalysisResult that matches the analysis query, or empty if no result is found.", +"items": { +"$ref": "IamPolicyAnalysisResult" +}, +"type": "array" +}, +"fullyExplored": { +"description": "Represents whether all entries in the analysis_results have been fully explored to answer the query.", +"type": "boolean" +}, +"nonCriticalErrors": { +"description": "A list of non-critical errors happened during the query handling.", +"items": { +"$ref": "IamPolicyAnalysisState" +}, +"type": "array" +} +}, +"type": "object" +}, +"IamPolicyAnalysisOutputConfig": { +"description": "Output configuration for export IAM policy analysis destination.", +"id": "IamPolicyAnalysisOutputConfig", +"properties": { +"bigqueryDestination": { +"$ref": "GoogleCloudAssetV1BigQueryDestination", +"description": "Destination on BigQuery." +}, +"gcsDestination": { +"$ref": "GoogleCloudAssetV1GcsDestination", +"description": "Destination on Cloud Storage." +} +}, +"type": "object" +}, +"IamPolicyAnalysisQuery": { +"description": "IAM policy analysis query message.", +"id": "IamPolicyAnalysisQuery", +"properties": { +"accessSelector": { +"$ref": "AccessSelector", +"description": "Optional. Specifies roles or permissions for analysis. This is optional." +}, +"conditionContext": { +"$ref": "ConditionContext", +"description": "Optional. The hypothetical context for IAM conditions evaluation." +}, +"identitySelector": { +"$ref": "IdentitySelector", +"description": "Optional. Specifies an identity for analysis." +}, +"options": { +"$ref": "Options", +"description": "Optional. The query options." +}, +"resourceSelector": { +"$ref": "ResourceSelector", +"description": "Optional. Specifies a resource for analysis." +}, +"scope": { +"description": "Required. The relative name of the root asset. Only resources and IAM policies within the scope will be analyzed. This can only be an organization number (such as \"organizations/123\"), a folder number (such as \"folders/123\"), a project ID (such as \"projects/my-project-id\"), or a project number (such as \"projects/12345\"). To know how to get organization ID, visit [here ](https://cloud.google.com/resource-manager/docs/creating-managing-organization#retrieving_your_organization_id). To know how to get folder or project ID, visit [here ](https://cloud.google.com/resource-manager/docs/creating-managing-folders#viewing_or_listing_folders_and_projects).", +"type": "string" +} +}, +"type": "object" +}, +"IamPolicyAnalysisResult": { +"description": "IAM Policy analysis result, consisting of one IAM policy binding and derived access control lists.", +"id": "IamPolicyAnalysisResult", +"properties": { +"accessControlLists": { +"description": "The access control lists derived from the iam_binding that match or potentially match resource and access selectors specified in the request.", +"items": { +"$ref": "GoogleCloudAssetV1AccessControlList" +}, +"type": "array" +}, +"attachedResourceFullName": { +"description": "The [full resource name](https://cloud.google.com/asset-inventory/docs/resource-name-format) of the resource to which the iam_binding policy attaches.", +"type": "string" +}, +"fullyExplored": { +"description": "Represents whether all analyses on the iam_binding have successfully finished.", +"type": "boolean" +}, +"iamBinding": { +"$ref": "Binding", +"description": "The IAM policy binding under analysis." +}, +"identityList": { +"$ref": "GoogleCloudAssetV1IdentityList", +"description": "The identity list derived from members of the iam_binding that match or potentially match identity selector specified in the request." +} +}, +"type": "object" +}, +"IamPolicyAnalysisState": { +"description": "Represents the detailed state of an entity under analysis, such as a resource, an identity or an access.", +"id": "IamPolicyAnalysisState", +"properties": { +"cause": { +"description": "The human-readable description of the cause of failure.", +"type": "string" +}, +"code": { +"description": "The Google standard error code that best describes the state. For example: - OK means the analysis on this entity has been successfully finished; - PERMISSION_DENIED means an access denied error is encountered; - DEADLINE_EXCEEDED means the analysis on this entity hasn't been started in time;", +"enum": [ +"OK", +"CANCELLED", +"UNKNOWN", +"INVALID_ARGUMENT", +"DEADLINE_EXCEEDED", +"NOT_FOUND", +"ALREADY_EXISTS", +"PERMISSION_DENIED", +"UNAUTHENTICATED", +"RESOURCE_EXHAUSTED", +"FAILED_PRECONDITION", +"ABORTED", +"OUT_OF_RANGE", +"UNIMPLEMENTED", +"INTERNAL", +"UNAVAILABLE", +"DATA_LOSS" +], +"enumDescriptions": [ +"Not an error; returned on success. HTTP Mapping: 200 OK", +"The operation was cancelled, typically by the caller. HTTP Mapping: 499 Client Closed Request", +"Unknown error. For example, this error may be returned when a `Status` value received from another address space belongs to an error space that is not known in this address space. Also errors raised by APIs that do not return enough error information may be converted to this error. HTTP Mapping: 500 Internal Server Error", +"The client specified an invalid argument. Note that this differs from `FAILED_PRECONDITION`. `INVALID_ARGUMENT` indicates arguments that are problematic regardless of the state of the system (e.g., a malformed file name). HTTP Mapping: 400 Bad Request", +"The deadline expired before the operation could complete. For operations that change the state of the system, this error may be returned even if the operation has completed successfully. For example, a successful response from a server could have been delayed long enough for the deadline to expire. HTTP Mapping: 504 Gateway Timeout", +"Some requested entity (e.g., file or directory) was not found. Note to server developers: if a request is denied for an entire class of users, such as gradual feature rollout or undocumented allowlist, `NOT_FOUND` may be used. If a request is denied for some users within a class of users, such as user-based access control, `PERMISSION_DENIED` must be used. HTTP Mapping: 404 Not Found", +"The entity that a client attempted to create (e.g., file or directory) already exists. HTTP Mapping: 409 Conflict", +"The caller does not have permission to execute the specified operation. `PERMISSION_DENIED` must not be used for rejections caused by exhausting some resource (use `RESOURCE_EXHAUSTED` instead for those errors). `PERMISSION_DENIED` must not be used if the caller can not be identified (use `UNAUTHENTICATED` instead for those errors). This error code does not imply the request is valid or the requested entity exists or satisfies other pre-conditions. HTTP Mapping: 403 Forbidden", +"The request does not have valid authentication credentials for the operation. HTTP Mapping: 401 Unauthorized", +"Some resource has been exhausted, perhaps a per-user quota, or perhaps the entire file system is out of space. HTTP Mapping: 429 Too Many Requests", +"The operation was rejected because the system is not in a state required for the operation's execution. For example, the directory to be deleted is non-empty, an rmdir operation is applied to a non-directory, etc. Service implementors can use the following guidelines to decide between `FAILED_PRECONDITION`, `ABORTED`, and `UNAVAILABLE`: (a) Use `UNAVAILABLE` if the client can retry just the failing call. (b) Use `ABORTED` if the client should retry at a higher level. For example, when a client-specified test-and-set fails, indicating the client should restart a read-modify-write sequence. (c) Use `FAILED_PRECONDITION` if the client should not retry until the system state has been explicitly fixed. For example, if an \"rmdir\" fails because the directory is non-empty, `FAILED_PRECONDITION` should be returned since the client should not retry unless the files are deleted from the directory. HTTP Mapping: 400 Bad Request", +"The operation was aborted, typically due to a concurrency issue such as a sequencer check failure or transaction abort. See the guidelines above for deciding between `FAILED_PRECONDITION`, `ABORTED`, and `UNAVAILABLE`. HTTP Mapping: 409 Conflict", +"The operation was attempted past the valid range. E.g., seeking or reading past end-of-file. Unlike `INVALID_ARGUMENT`, this error indicates a problem that may be fixed if the system state changes. For example, a 32-bit file system will generate `INVALID_ARGUMENT` if asked to read at an offset that is not in the range [0,2^32-1], but it will generate `OUT_OF_RANGE` if asked to read from an offset past the current file size. There is a fair bit of overlap between `FAILED_PRECONDITION` and `OUT_OF_RANGE`. We recommend using `OUT_OF_RANGE` (the more specific error) when it applies so that callers who are iterating through a space can easily look for an `OUT_OF_RANGE` error to detect when they are done. HTTP Mapping: 400 Bad Request", +"The operation is not implemented or is not supported/enabled in this service. HTTP Mapping: 501 Not Implemented", +"Internal errors. This means that some invariants expected by the underlying system have been broken. This error code is reserved for serious errors. HTTP Mapping: 500 Internal Server Error", +"The service is currently unavailable. This is most likely a transient condition, which can be corrected by retrying with a backoff. Note that it is not always safe to retry non-idempotent operations. See the guidelines above for deciding between `FAILED_PRECONDITION`, `ABORTED`, and `UNAVAILABLE`. HTTP Mapping: 503 Service Unavailable", +"Unrecoverable data loss or corruption. HTTP Mapping: 500 Internal Server Error" +], +"type": "string" +} +}, +"type": "object" +}, +"IamPolicySearchResult": { +"description": "A result of IAM Policy search, containing information of an IAM policy.", +"id": "IamPolicySearchResult", +"properties": { +"assetType": { +"description": "The type of the resource associated with this IAM policy. Example: `compute.googleapis.com/Disk`. To search against the `asset_type`: * specify the `asset_types` field in your search request.", +"type": "string" +}, +"explanation": { +"$ref": "Explanation", +"description": "Explanation about the IAM policy search result. It contains additional information to explain why the search result matches the query." +}, +"folders": { +"description": "The folder(s) that the IAM policy belongs to, in the form of folders/{FOLDER_NUMBER}. This field is available when the IAM policy belongs to one or more folders. To search against `folders`: * use a field query. Example: `folders:(123 OR 456)` * use a free text query. Example: `123` * specify the `scope` field as this folder in your search request.", +"items": { +"type": "string" +}, +"type": "array" +}, +"organization": { +"description": "The organization that the IAM policy belongs to, in the form of organizations/{ORGANIZATION_NUMBER}. This field is available when the IAM policy belongs to an organization. To search against `organization`: * use a field query. Example: `organization:123` * use a free text query. Example: `123` * specify the `scope` field as this organization in your search request.", +"type": "string" +}, +"policy": { +"$ref": "Policy", +"description": "The IAM policy directly set on the given resource. Note that the original IAM policy can contain multiple bindings. This only contains the bindings that match the given query. For queries that don't contain a constrain on policies (e.g., an empty query), this contains all the bindings. To search against the `policy` bindings: * use a field query: - query by the policy contained members. Example: `policy:amy@gmail.com` - query by the policy contained roles. Example: `policy:roles/compute.admin` - query by the policy contained roles' included permissions. Example: `policy.role.permissions:compute.instances.create`" +}, +"project": { +"description": "The project that the associated Google Cloud resource belongs to, in the form of projects/{PROJECT_NUMBER}. If an IAM policy is set on a resource (like VM instance, Cloud Storage bucket), the project field will indicate the project that contains the resource. If an IAM policy is set on a folder or organization, this field will be empty. To search against the `project`: * specify the `scope` field as this project in your search request.", +"type": "string" +}, +"resource": { +"description": "The full resource name of the resource associated with this IAM policy. Example: `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`. See [Cloud Asset Inventory Resource Name Format](https://cloud.google.com/asset-inventory/docs/resource-name-format) for more information. To search against the `resource`: * use a field query. Example: `resource:organizations/123`", +"type": "string" +} +}, +"type": "object" +}, +"IdentitySelector": { +"description": "Specifies an identity for which to determine resource access, based on roles assigned either directly to them or to the groups they belong to, directly or indirectly.", +"id": "IdentitySelector", +"properties": { +"identity": { +"description": "Required. The identity appear in the form of principals in [IAM policy binding](https://cloud.google.com/iam/reference/rest/v1/Binding). The examples of supported forms are: \"user:mike@example.com\", \"group:admins@example.com\", \"domain:google.com\", \"serviceAccount:my-project-id@appspot.gserviceaccount.com\". Notice that wildcard characters (such as * and ?) are not supported. You must give a specific identity.", +"type": "string" +} +}, +"type": "object" +}, +"Inventory": { +"description": "This API resource represents the available inventory data for a Compute Engine virtual machine (VM) instance at a given point in time. You can use this API resource to determine the inventory data of your VM. For more information, see [Information provided by OS inventory management](https://cloud.google.com/compute/docs/instances/os-inventory-management#data-collected).", +"id": "Inventory", +"properties": { +"items": { +"additionalProperties": { +"$ref": "Item" +}, +"description": "Inventory items related to the VM keyed by an opaque unique identifier for each inventory item. The identifier is unique to each distinct and addressable inventory item and will change, when there is a new package version.", +"type": "object" +}, +"name": { +"description": "Output only. The `Inventory` API resource name. Format: `projects/{project_number}/locations/{location}/instances/{instance_id}/inventory`", +"readOnly": true, +"type": "string" +}, +"osInfo": { +"$ref": "OsInfo", +"description": "Base level operating system information for the VM." +}, +"updateTime": { +"description": "Output only. Timestamp of the last reported inventory for the VM.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"Item": { +"description": "A single piece of inventory on a VM.", +"id": "Item", +"properties": { +"availablePackage": { +"$ref": "SoftwarePackage", +"description": "Software package available to be installed on the VM instance." +}, +"createTime": { +"description": "When this inventory item was first detected.", +"format": "google-datetime", +"type": "string" +}, +"id": { +"description": "Identifier for this item, unique across items for this VM.", +"type": "string" +}, +"installedPackage": { +"$ref": "SoftwarePackage", +"description": "Software package present on the VM instance." +}, +"originType": { +"description": "The origin of this inventory item.", +"enum": [ +"ORIGIN_TYPE_UNSPECIFIED", +"INVENTORY_REPORT" +], +"enumDescriptions": [ +"Invalid. An origin type must be specified.", +"This inventory item was discovered as the result of the agent reporting inventory via the reporting API." +], +"type": "string" +}, +"type": { +"description": "The specific type of inventory, correlating to its specific details.", +"enum": [ +"TYPE_UNSPECIFIED", +"INSTALLED_PACKAGE", +"AVAILABLE_PACKAGE" +], +"enumDescriptions": [ +"Invalid. A type must be specified.", +"This represents a package that is installed on the VM.", +"This represents an update that is available for a package." +], +"type": "string" +}, +"updateTime": { +"description": "When this inventory item was last modified.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"ListAssetsResponse": { +"description": "ListAssets response.", +"id": "ListAssetsResponse", +"properties": { +"assets": { +"description": "Assets.", +"items": { +"$ref": "Asset" +}, +"type": "array" +}, +"nextPageToken": { +"description": "Token to retrieve the next page of results. It expires 72 hours after the page token for the first page is generated. Set to empty if there are no remaining results.", +"type": "string" +}, +"readTime": { +"description": "Time the snapshot was taken.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"ListFeedsResponse": { +"id": "ListFeedsResponse", +"properties": { +"feeds": { +"description": "A list of feeds.", +"items": { +"$ref": "Feed" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListSavedQueriesResponse": { +"description": "Response of listing saved queries.", +"id": "ListSavedQueriesResponse", +"properties": { +"nextPageToken": { +"description": "A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.", +"type": "string" +}, +"savedQueries": { +"description": "A list of savedQueries.", +"items": { +"$ref": "SavedQuery" +}, +"type": "array" +} +}, +"type": "object" +}, +"MoveAnalysis": { +"description": "A message to group the analysis information.", +"id": "MoveAnalysis", +"properties": { +"analysis": { +"$ref": "MoveAnalysisResult", +"description": "Analysis result of moving the target resource." +}, +"displayName": { +"description": "The user friendly display name of the analysis. E.g. IAM, organization policy etc.", +"type": "string" +}, +"error": { +"$ref": "Status", +"description": "Description of error encountered when performing the analysis." +} +}, +"type": "object" +}, +"MoveAnalysisResult": { +"description": "An analysis result including blockers and warnings.", +"id": "MoveAnalysisResult", +"properties": { +"blockers": { +"description": "Blocking information that would prevent the target resource from moving to the specified destination at runtime.", +"items": { +"$ref": "MoveImpact" +}, +"type": "array" +}, +"warnings": { +"description": "Warning information indicating that moving the target resource to the specified destination might be unsafe. This can include important policy information and configuration changes, but will not block moves at runtime.", +"items": { +"$ref": "MoveImpact" +}, +"type": "array" +} +}, +"type": "object" +}, +"MoveImpact": { +"description": "A message to group impacts of moving the target resource.", +"id": "MoveImpact", +"properties": { +"detail": { +"description": "User friendly impact detail in a free form message.", +"type": "string" +} +}, +"type": "object" +}, +"Operation": { +"description": "This resource represents a long-running operation that is the result of a network API call.", +"id": "Operation", +"properties": { +"done": { +"description": "If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.", +"type": "boolean" +}, +"error": { +"$ref": "Status", +"description": "The error result of the operation in case of failure or cancellation." +}, +"metadata": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.", +"type": "object" +}, +"name": { +"description": "The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.", +"type": "string" +}, +"response": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "The normal, successful response of the operation. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.", +"type": "object" +} +}, +"type": "object" +}, +"Options": { +"description": "Contains query options.", +"id": "Options", +"properties": { +"analyzeServiceAccountImpersonation": { +"description": "Optional. If true, the response will include access analysis from identities to resources via service account impersonation. This is a very expensive operation, because many derived queries will be executed. We highly recommend you use AssetService.AnalyzeIamPolicyLongrunning RPC instead. For example, if the request analyzes for which resources user A has permission P, and there's an IAM policy states user A has iam.serviceAccounts.getAccessToken permission to a service account SA, and there's another IAM policy states service account SA has permission P to a Google Cloud folder F, then user A potentially has access to the Google Cloud folder F. And those advanced analysis results will be included in AnalyzeIamPolicyResponse.service_account_impersonation_analysis. Another example, if the request analyzes for who has permission P to a Google Cloud folder F, and there's an IAM policy states user A has iam.serviceAccounts.actAs permission to a service account SA, and there's another IAM policy states service account SA has permission P to the Google Cloud folder F, then user A potentially has access to the Google Cloud folder F. And those advanced analysis results will be included in AnalyzeIamPolicyResponse.service_account_impersonation_analysis. Only the following permissions are considered in this analysis: * `iam.serviceAccounts.actAs` * `iam.serviceAccounts.signBlob` * `iam.serviceAccounts.signJwt` * `iam.serviceAccounts.getAccessToken` * `iam.serviceAccounts.getOpenIdToken` * `iam.serviceAccounts.implicitDelegation` Default is false.", +"type": "boolean" +}, +"expandGroups": { +"description": "Optional. If true, the identities section of the result will expand any Google groups appearing in an IAM policy binding. If IamPolicyAnalysisQuery.identity_selector is specified, the identity in the result will be determined by the selector, and this flag is not allowed to set. If true, the default max expansion per group is 1000 for AssetService.AnalyzeIamPolicy][]. Default is false.", +"type": "boolean" +}, +"expandResources": { +"description": "Optional. If true and IamPolicyAnalysisQuery.resource_selector is not specified, the resource section of the result will expand any resource attached to an IAM policy to include resources lower in the resource hierarchy. For example, if the request analyzes for which resources user A has permission P, and the results include an IAM policy with P on a Google Cloud folder, the results will also include resources in that folder with permission P. If true and IamPolicyAnalysisQuery.resource_selector is specified, the resource section of the result will expand the specified resource to include resources lower in the resource hierarchy. Only project or lower resources are supported. Folder and organization resources cannot be used together with this option. For example, if the request analyzes for which users have permission P on a Google Cloud project with this option enabled, the results will include all users who have permission P on that project or any lower resource. If true, the default max expansion per resource is 1000 for AssetService.AnalyzeIamPolicy][] and 100000 for AssetService.AnalyzeIamPolicyLongrunning][]. Default is false.", +"type": "boolean" +}, +"expandRoles": { +"description": "Optional. If true, the access section of result will expand any roles appearing in IAM policy bindings to include their permissions. If IamPolicyAnalysisQuery.access_selector is specified, the access section of the result will be determined by the selector, and this flag is not allowed to set. Default is false.", +"type": "boolean" +}, +"outputGroupEdges": { +"description": "Optional. If true, the result will output the relevant membership relationships between groups and other groups, and between groups and principals. Default is false.", +"type": "boolean" +}, +"outputResourceEdges": { +"description": "Optional. If true, the result will output the relevant parent/child relationships between resources. Default is false.", +"type": "boolean" +} +}, +"type": "object" +}, +"OrgPolicyResult": { +"description": "The organization policy result to the query.", +"id": "OrgPolicyResult", +"properties": { +"consolidatedPolicy": { +"$ref": "AnalyzerOrgPolicy", +"description": "The consolidated organization policy for the analyzed resource. The consolidated organization policy is computed by merging and evaluating policy_bundle. The evaluation will respect the organization policy [hierarchy rules](https://cloud.google.com/resource-manager/docs/organization-policy/understanding-hierarchy)." +}, +"folders": { +"description": "The folder(s) that this consolidated policy belongs to, in the format of folders/{FOLDER_NUMBER}. This field is available when the consolidated policy belongs (directly or cascadingly) to one or more folders.", +"items": { +"type": "string" +}, +"type": "array" +}, +"organization": { +"description": "The organization that this consolidated policy belongs to, in the format of organizations/{ORGANIZATION_NUMBER}. This field is available when the consolidated policy belongs (directly or cascadingly) to an organization.", +"type": "string" +}, +"policyBundle": { +"description": "The ordered list of all organization policies from the consolidated_policy.attached_resource. to the scope specified in the request. If the constraint is defined with default policy, it will also appear in the list.", +"items": { +"$ref": "AnalyzerOrgPolicy" +}, +"type": "array" +}, +"project": { +"description": "The project that this consolidated policy belongs to, in the format of projects/{PROJECT_NUMBER}. This field is available when the consolidated policy belongs to a project.", +"type": "string" +} +}, +"type": "object" +}, +"OsInfo": { +"description": "Operating system information for the VM.", +"id": "OsInfo", +"properties": { +"architecture": { +"description": "The system architecture of the operating system.", +"type": "string" +}, +"hostname": { +"description": "The VM hostname.", +"type": "string" +}, +"kernelRelease": { +"description": "The kernel release of the operating system.", +"type": "string" +}, +"kernelVersion": { +"description": "The kernel version of the operating system.", +"type": "string" +}, +"longName": { +"description": "The operating system long name. For example 'Debian GNU/Linux 9' or 'Microsoft Window Server 2019 Datacenter'.", +"type": "string" +}, +"osconfigAgentVersion": { +"description": "The current version of the OS Config agent running on the VM.", +"type": "string" +}, +"shortName": { +"description": "The operating system short name. For example, 'windows' or 'debian'.", +"type": "string" +}, +"version": { +"description": "The version of the operating system.", +"type": "string" +} +}, +"type": "object" +}, +"OutputConfig": { +"description": "Output configuration for export assets destination.", +"id": "OutputConfig", +"properties": { +"bigqueryDestination": { +"$ref": "BigQueryDestination", +"description": "Destination on BigQuery. The output table stores the fields in asset Protobuf as columns in BigQuery." +}, +"gcsDestination": { +"$ref": "GcsDestination", +"description": "Destination on Cloud Storage." +} +}, +"type": "object" +}, +"PartitionSpec": { +"description": "Specifications of BigQuery partitioned table as export destination.", +"id": "PartitionSpec", +"properties": { +"partitionKey": { +"description": "The partition key for BigQuery partitioned table.", +"enum": [ +"PARTITION_KEY_UNSPECIFIED", +"READ_TIME", +"REQUEST_TIME" +], +"enumDescriptions": [ +"Unspecified partition key. If used, it means using non-partitioned table.", +"The time when the snapshot is taken. If specified as partition key, the result table(s) is partitioned by the additional timestamp column, readTime. If [read_time] in ExportAssetsRequest is specified, the readTime column's value will be the same as it. Otherwise, its value will be the current time that is used to take the snapshot.", +"The time when the request is received and started to be processed. If specified as partition key, the result table(s) is partitioned by the requestTime column, an additional timestamp column representing when the request was received." +], +"type": "string" +} +}, +"type": "object" +}, +"Permissions": { +"description": "IAM permissions", +"id": "Permissions", +"properties": { +"permissions": { +"description": "A list of permissions. A sample permission string: `compute.disk.get`.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"Policy": { +"description": "An Identity and Access Management (IAM) policy, which specifies access controls for Google Cloud resources. A `Policy` is a collection of `bindings`. A `binding` binds one or more `members`, or principals, to a single `role`. Principals can be user accounts, service accounts, Google groups, and domains (such as G Suite). A `role` is a named list of permissions; each `role` can be an IAM predefined role or a user-created custom role. For some types of Google Cloud resources, a `binding` can also specify a `condition`, which is a logical expression that allows access to a resource only if the expression evaluates to `true`. A condition can add constraints based on attributes of the request, the resource, or both. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). **JSON example:** ``` { \"bindings\": [ { \"role\": \"roles/resourcemanager.organizationAdmin\", \"members\": [ \"user:mike@example.com\", \"group:admins@example.com\", \"domain:google.com\", \"serviceAccount:my-project-id@appspot.gserviceaccount.com\" ] }, { \"role\": \"roles/resourcemanager.organizationViewer\", \"members\": [ \"user:eve@example.com\" ], \"condition\": { \"title\": \"expirable access\", \"description\": \"Does not grant access after Sep 2020\", \"expression\": \"request.time < timestamp('2020-10-01T00:00:00.000Z')\", } } ], \"etag\": \"BwWWja0YfJA=\", \"version\": 3 } ``` **YAML example:** ``` bindings: - members: - user:mike@example.com - group:admins@example.com - domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.com role: roles/resourcemanager.organizationViewer condition: title: expirable access description: Does not grant access after Sep 2020 expression: request.time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 ``` For a description of IAM and its features, see the [IAM documentation](https://cloud.google.com/iam/docs/).", +"id": "Policy", +"properties": { +"auditConfigs": { +"description": "Specifies cloud audit logging configuration for this policy.", +"items": { +"$ref": "AuditConfig" +}, +"type": "array" +}, +"bindings": { +"description": "Associates a list of `members`, or principals, with a `role`. Optionally, may specify a `condition` that determines how and when the `bindings` are applied. Each of the `bindings` must contain at least one principal. The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250 of these principals can be Google groups. Each occurrence of a principal counts towards these limits. For example, if the `bindings` grant 50 different roles to `user:alice@example.com`, and not to any other principal, then you can add another 1,450 principals to the `bindings` in the `Policy`.", +"items": { +"$ref": "Binding" +}, +"type": "array" +}, +"etag": { +"description": "`etag` is used for optimistic concurrency control as a way to help prevent simultaneous updates of a policy from overwriting each other. It is strongly suggested that systems make use of the `etag` in the read-modify-write cycle to perform policy updates in order to avoid race conditions: An `etag` is returned in the response to `getIamPolicy`, and systems are expected to put that etag in the request to `setIamPolicy` to ensure that their change will be applied to the same version of the policy. **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost.", +"format": "byte", +"type": "string" +}, +"version": { +"description": "Specifies the format of the policy. Valid values are `0`, `1`, and `3`. Requests that specify an invalid value are rejected. Any operation that affects conditional role bindings must specify version `3`. This requirement applies to the following operations: * Getting a policy that includes a conditional role binding * Adding a conditional role binding to a policy * Changing a conditional role binding in a policy * Removing any role binding, with or without a condition, from a policy that includes conditions **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost. If a policy does not include any conditions, operations on that policy may specify any valid version or leave the field unset. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"PolicyInfo": { +"description": "The IAM policy and its attached resource.", +"id": "PolicyInfo", +"properties": { +"attachedResource": { +"description": "The full resource name the policy is directly attached to.", +"type": "string" +}, +"policy": { +"$ref": "Policy", +"description": "The IAM policy that's directly attached to the attached_resource." +} +}, +"type": "object" +}, +"PubsubDestination": { +"description": "A Pub/Sub destination.", +"id": "PubsubDestination", +"properties": { +"topic": { +"description": "The name of the Pub/Sub topic to publish to. Example: `projects/PROJECT_ID/topics/TOPIC_ID`.", +"type": "string" +} +}, +"type": "object" +}, +"QueryAssetsOutputConfig": { +"description": "Output configuration query assets.", +"id": "QueryAssetsOutputConfig", +"properties": { +"bigqueryDestination": { +"$ref": "GoogleCloudAssetV1QueryAssetsOutputConfigBigQueryDestination", +"description": "BigQuery destination where the query results will be saved." +} +}, +"type": "object" +}, +"QueryAssetsRequest": { +"description": "QueryAssets request.", +"id": "QueryAssetsRequest", +"properties": { +"jobReference": { +"description": "Optional. Reference to the query job, which is from the `QueryAssetsResponse` of previous `QueryAssets` call.", +"type": "string" +}, +"outputConfig": { +"$ref": "QueryAssetsOutputConfig", +"description": "Optional. Destination where the query results will be saved. When this field is specified, the query results won't be saved in the [QueryAssetsResponse.query_result]. Instead [QueryAssetsResponse.output_config] will be set. Meanwhile, [QueryAssetsResponse.job_reference] will be set and can be used to check the status of the query job when passed to a following [QueryAssets] API call." +}, +"pageSize": { +"description": "Optional. The maximum number of rows to return in the results. Responses are limited to 10 MB and 1000 rows. By default, the maximum row count is 1000. When the byte or row count limit is reached, the rest of the query results will be paginated. The field will be ignored when [output_config] is specified.", +"format": "int32", +"type": "integer" +}, +"pageToken": { +"description": "Optional. A page token received from previous `QueryAssets`. The field will be ignored when [output_config] is specified.", +"type": "string" +}, +"readTime": { +"description": "Optional. Queries cloud assets as they appeared at the specified point in time.", +"format": "google-datetime", +"type": "string" +}, +"readTimeWindow": { +"$ref": "TimeWindow", +"description": "Optional. [start_time] is required. [start_time] must be less than [end_time] Defaults [end_time] to now if [start_time] is set and [end_time] isn't. Maximum permitted time range is 7 days." +}, +"statement": { +"description": "Optional. A SQL statement that's compatible with [BigQuery SQL](https://cloud.google.com/bigquery/docs/introduction-sql).", +"type": "string" +}, +"timeout": { +"description": "Optional. Specifies the maximum amount of time that the client is willing to wait for the query to complete. By default, this limit is 5 min for the first query, and 1 minute for the following queries. If the query is complete, the `done` field in the `QueryAssetsResponse` is true, otherwise false. Like BigQuery [jobs.query API](https://cloud.google.com/bigquery/docs/reference/rest/v2/jobs/query#queryrequest) The call is not guaranteed to wait for the specified timeout; it typically returns after around 200 seconds (200,000 milliseconds), even if the query is not complete. The field will be ignored when [output_config] is specified.", +"format": "google-duration", +"type": "string" +} +}, +"type": "object" +}, +"QueryAssetsResponse": { +"description": "QueryAssets response.", +"id": "QueryAssetsResponse", +"properties": { +"done": { +"description": "The query response, which can be either an `error` or a valid `response`. If `done` == `false` and the query result is being saved in an output, the output_config field will be set. If `done` == `true`, exactly one of `error`, `query_result` or `output_config` will be set. [done] is unset unless the [QueryAssetsResponse] contains a [QueryAssetsResponse.job_reference].", +"type": "boolean" +}, +"error": { +"$ref": "Status", +"description": "Error status." +}, +"jobReference": { +"description": "Reference to a query job.", +"type": "string" +}, +"outputConfig": { +"$ref": "QueryAssetsOutputConfig", +"description": "Output configuration, which indicates that instead of being returned in an API response on the fly, the query result will be saved in a specific output." +}, +"queryResult": { +"$ref": "QueryResult", +"description": "Result of the query." +} +}, +"type": "object" +}, +"QueryContent": { +"description": "The query content.", +"id": "QueryContent", +"properties": { +"iamPolicyAnalysisQuery": { +"$ref": "IamPolicyAnalysisQuery", +"description": "An IAM Policy Analysis query, which could be used in the AssetService.AnalyzeIamPolicy RPC or the AssetService.AnalyzeIamPolicyLongrunning RPC." +} +}, +"type": "object" +}, +"QueryResult": { +"description": "Execution results of the query. The result is formatted as rows represented by BigQuery compatible [schema]. When pagination is necessary, it will contains the page token to retrieve the results of following pages.", +"id": "QueryResult", +"properties": { +"nextPageToken": { +"description": "Token to retrieve the next page of the results.", +"type": "string" +}, +"rows": { +"description": "Each row hold a query result in the format of `Struct`.", +"items": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"type": "object" +}, +"type": "array" +}, +"schema": { +"$ref": "TableSchema", +"description": "Describes the format of the [rows]." +}, +"totalRows": { +"description": "Total rows of the whole query results.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"RelatedAsset": { +"description": "An asset identifier in Google Cloud which contains its name, type and ancestors. An asset can be any resource in the Google Cloud [resource hierarchy](https://cloud.google.com/resource-manager/docs/cloud-platform-resource-hierarchy), a resource outside the Google Cloud resource hierarchy (such as Google Kubernetes Engine clusters and objects), or a policy (e.g. IAM policy). See [Supported asset types](https://cloud.google.com/asset-inventory/docs/supported-asset-types) for more information.", +"id": "RelatedAsset", +"properties": { +"ancestors": { +"description": "The ancestors of an asset in Google Cloud [resource hierarchy](https://cloud.google.com/resource-manager/docs/cloud-platform-resource-hierarchy), represented as a list of relative resource names. An ancestry path starts with the closest ancestor in the hierarchy and ends at root. Example: `[\"projects/123456789\", \"folders/5432\", \"organizations/1234\"]`", +"items": { +"type": "string" +}, +"type": "array" +}, +"asset": { +"description": "The full name of the asset. Example: `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1` See [Resource names](https://cloud.google.com/apis/design/resource_names#full_resource_name) for more information.", +"type": "string" +}, +"assetType": { +"description": "The type of the asset. Example: `compute.googleapis.com/Disk` See [Supported asset types](https://cloud.google.com/asset-inventory/docs/supported-asset-types) for more information.", +"type": "string" +}, +"relationshipType": { +"description": "The unique identifier of the relationship type. Example: `INSTANCE_TO_INSTANCEGROUP`", +"type": "string" +} +}, +"type": "object" +}, +"RelatedAssets": { +"deprecated": true, +"description": "DEPRECATED. This message only presents for the purpose of backward-compatibility. The server will never populate this message in responses. The detailed related assets with the `relationship_type`.", +"id": "RelatedAssets", +"properties": { +"assets": { +"description": "The peer resources of the relationship.", +"items": { +"$ref": "RelatedAsset" +}, +"type": "array" +}, +"relationshipAttributes": { +"$ref": "RelationshipAttributes", +"description": "The detailed relationship attributes." +} +}, +"type": "object" +}, +"RelatedResource": { +"description": "The detailed related resource.", +"id": "RelatedResource", +"properties": { +"assetType": { +"description": "The type of the asset. Example: `compute.googleapis.com/Instance`", +"type": "string" +}, +"fullResourceName": { +"description": "The full resource name of the related resource. Example: `//compute.googleapis.com/projects/my_proj_123/zones/instance/instance123`", +"type": "string" +} +}, +"type": "object" +}, +"RelatedResources": { +"description": "The related resources of the primary resource.", +"id": "RelatedResources", +"properties": { +"relatedResources": { +"description": "The detailed related resources of the primary resource.", +"items": { +"$ref": "RelatedResource" +}, +"type": "array" +} +}, +"type": "object" +}, +"RelationshipAttributes": { +"deprecated": true, +"description": "DEPRECATED. This message only presents for the purpose of backward-compatibility. The server will never populate this message in responses. The relationship attributes which include `type`, `source_resource_type`, `target_resource_type` and `action`.", +"id": "RelationshipAttributes", +"properties": { +"action": { +"description": "The detail of the relationship, e.g. `contains`, `attaches`", +"type": "string" +}, +"sourceResourceType": { +"description": "The source asset type. Example: `compute.googleapis.com/Instance`", +"type": "string" +}, +"targetResourceType": { +"description": "The target asset type. Example: `compute.googleapis.com/Disk`", +"type": "string" +}, +"type": { +"description": "The unique identifier of the relationship type. Example: `INSTANCE_TO_INSTANCEGROUP`", +"type": "string" +} +}, +"type": "object" +}, +"Resource": { +"description": "A representation of a Google Cloud resource.", +"id": "Resource", +"properties": { +"data": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"description": "The content of the resource, in which some sensitive fields are removed and may not be present.", +"type": "object" +}, +"discoveryDocumentUri": { +"description": "The URL of the discovery document containing the resource's JSON schema. Example: `https://www.googleapis.com/discovery/v1/apis/compute/v1/rest` This value is unspecified for resources that do not have an API based on a discovery document, such as Cloud Bigtable.", +"type": "string" +}, +"discoveryName": { +"description": "The JSON schema name listed in the discovery document. Example: `Project` This value is unspecified for resources that do not have an API based on a discovery document, such as Cloud Bigtable.", +"type": "string" +}, +"location": { +"description": "The location of the resource in Google Cloud, such as its zone and region. For more information, see https://cloud.google.com/about/locations/.", +"type": "string" +}, +"parent": { +"description": "The full name of the immediate parent of this resource. See [Resource Names](https://cloud.google.com/apis/design/resource_names#full_resource_name) for more information. For Google Cloud assets, this value is the parent resource defined in the [IAM policy hierarchy](https://cloud.google.com/iam/docs/overview#policy_hierarchy). Example: `//cloudresourcemanager.googleapis.com/projects/my_project_123`", +"type": "string" +}, +"resourceUrl": { +"description": "The REST URL for accessing the resource. An HTTP `GET` request using this URL returns the resource itself. Example: `https://cloudresourcemanager.googleapis.com/v1/projects/my-project-123` This value is unspecified for resources without a REST API.", +"type": "string" +}, +"version": { +"description": "The API version. Example: `v1`", +"type": "string" +} +}, +"type": "object" +}, +"ResourceOwners": { +"description": "The resource owners information.", +"id": "ResourceOwners", +"properties": { +"resourceOwners": { +"description": "List of resource owners.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ResourceSearchResult": { +"description": "A result of Resource Search, containing information of a cloud resource.", +"id": "ResourceSearchResult", +"properties": { +"additionalAttributes": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"description": "The additional searchable attributes of this resource. The attributes may vary from one resource type to another. Examples: `projectId` for Project, `dnsName` for DNS ManagedZone. This field contains a subset of the resource metadata fields that are returned by the List or Get APIs provided by the corresponding Google Cloud service (e.g., Compute Engine). see [API references and supported searchable attributes](https://cloud.google.com/asset-inventory/docs/supported-asset-types) to see which fields are included. You can search values of these fields through free text search. However, you should not consume the field programically as the field names and values may change as the Google Cloud service updates to a new incompatible API version. To search against the `additional_attributes`: * Use a free text query to match the attributes values. Example: to search `additional_attributes = { dnsName: \"foobar\" }`, you can issue a query `foobar`.", +"type": "object" +}, +"assetType": { +"description": "The type of this resource. Example: `compute.googleapis.com/Disk`. To search against the `asset_type`: * Specify the `asset_type` field in your search request.", +"type": "string" +}, +"attachedResources": { +"description": "Attached resources of this resource. For example, an OSConfig Inventory is an attached resource of a Compute Instance. This field is repeated because a resource could have multiple attached resources. This `attached_resources` field is not searchable. Some attributes of the attached resources are exposed in `additional_attributes` field, so as to allow users to search on them.", +"items": { +"$ref": "AttachedResource" +}, +"type": "array" +}, +"createTime": { +"description": "The create timestamp of this resource, at which the resource was created. The granularity is in seconds. Timestamp.nanos will always be 0. This field is available only when the resource's Protobuf contains it. To search against `create_time`: * Use a field query. - value in seconds since unix epoch. Example: `createTime > 1609459200` - value in date string. Example: `createTime > 2021-01-01` - value in date-time string (must be quoted). Example: `createTime > \"2021-01-01T00:00:00\"`", +"format": "google-datetime", +"type": "string" +}, +"description": { +"description": "One or more paragraphs of text description of this resource. Maximum length could be up to 1M bytes. This field is available only when the resource's Protobuf contains it. To search against the `description`: * Use a field query. Example: `description:\"important instance\"` * Use a free text query. Example: `\"important instance\"`", +"type": "string" +}, +"displayName": { +"description": "The display name of this resource. This field is available only when the resource's Protobuf contains it. To search against the `display_name`: * Use a field query. Example: `displayName:\"My Instance\"` * Use a free text query. Example: `\"My Instance\"`", +"type": "string" +}, +"effectiveTags": { +"description": "The effective tags on this resource. All of the tags that are both attached to and inherited by a resource are collectively called the effective tags. For more information, see [tag inheritance](https://cloud.google.com/resource-manager/docs/tags/tags-overview#inheritance). To search against the `effective_tags`: * Use a field query. Example: - `effectiveTagKeys:\"123456789/env*\"` - `effectiveTagKeys=\"123456789/env\"` - `effectiveTagKeys:\"env\"` - `effectiveTagKeyIds=\"tagKeys/123\"` - `effectiveTagValues:\"env\"` - `effectiveTagValues:\"env/prod\"` - `effectiveTagValues:\"123456789/env/prod*\"` - `effectiveTagValues=\"123456789/env/prod\"` - `effectiveTagValueIds=\"tagValues/456\"`", +"items": { +"$ref": "EffectiveTagDetails" +}, +"type": "array" +}, +"enrichments": { +"description": "Enrichments of the asset. Currently supported enrichment types with SearchAllResources API: * RESOURCE_OWNERS The corresponding read masks in order to get the enrichment: * enrichments.resource_owners The corresponding required permissions: * cloudasset.assets.searchEnrichmentResourceOwners Example query to get resource owner enrichment: ``` scope: \"projects/my-project\" query: \"name: my-project\" assetTypes: \"cloudresourcemanager.googleapis.com/Project\" readMask: { paths: \"asset_type\" paths: \"name\" paths: \"enrichments.resource_owners\" } ```", +"items": { +"$ref": "AssetEnrichment" +}, +"type": "array" +}, +"folders": { +"description": "The folder(s) that this resource belongs to, in the form of folders/{FOLDER_NUMBER}. This field is available when the resource belongs to one or more folders. To search against `folders`: * Use a field query. Example: `folders:(123 OR 456)` * Use a free text query. Example: `123` * Specify the `scope` field as this folder in your search request.", +"items": { +"type": "string" +}, +"type": "array" +}, +"kmsKey": { +"deprecated": true, +"description": "The Cloud KMS [CryptoKey](https://cloud.google.com/kms/docs/reference/rest/v1/projects.locations.keyRings.cryptoKeys) name or [CryptoKeyVersion](https://cloud.google.com/kms/docs/reference/rest/v1/projects.locations.keyRings.cryptoKeys.cryptoKeyVersions) name. This field only presents for the purpose of backward compatibility. Use the `kms_keys` field to retrieve Cloud KMS key information. This field is available only when the resource's Protobuf contains it and will only be populated for [these resource types](https://cloud.google.com/asset-inventory/docs/legacy-field-names#resource_types_with_the_to_be_deprecated_kmskey_field) for backward compatible purposes. To search against the `kms_key`: * Use a field query. Example: `kmsKey:key` * Use a free text query. Example: `key`", +"type": "string" +}, +"kmsKeys": { +"description": "The Cloud KMS [CryptoKey](https://cloud.google.com/kms/docs/reference/rest/v1/projects.locations.keyRings.cryptoKeys) names or [CryptoKeyVersion](https://cloud.google.com/kms/docs/reference/rest/v1/projects.locations.keyRings.cryptoKeys.cryptoKeyVersions) names. This field is available only when the resource's Protobuf contains it. To search against the `kms_keys`: * Use a field query. Example: `kmsKeys:key` * Use a free text query. Example: `key`", +"items": { +"type": "string" +}, +"type": "array" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "User labels associated with this resource. See [Labelling and grouping Google Cloud resources](https://cloud.google.com/blog/products/gcp/labelling-and-grouping-your-google-cloud-platform-resources) for more information. This field is available only when the resource's Protobuf contains it. To search against the `labels`: * Use a field query: - query on any label's key or value. Example: `labels:prod` - query by a given label. Example: `labels.env:prod` - query by a given label's existence. Example: `labels.env:*` * Use a free text query. Example: `prod`", +"type": "object" +}, +"location": { +"description": "Location can be `global`, regional like `us-east1`, or zonal like `us-west1-b`. This field is available only when the resource's Protobuf contains it. To search against the `location`: * Use a field query. Example: `location:us-west*` * Use a free text query. Example: `us-west*`", +"type": "string" +}, +"name": { +"description": "The full resource name of this resource. Example: `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`. See [Cloud Asset Inventory Resource Name Format](https://cloud.google.com/asset-inventory/docs/resource-name-format) for more information. To search against the `name`: * Use a field query. Example: `name:instance1` * Use a free text query. Example: `instance1`", +"type": "string" +}, +"networkTags": { +"description": "Network tags associated with this resource. Like labels, network tags are a type of annotations used to group Google Cloud resources. See [Labelling Google Cloud resources](https://cloud.google.com/blog/products/gcp/labelling-and-grouping-your-google-cloud-platform-resources) for more information. This field is available only when the resource's Protobuf contains it. To search against the `network_tags`: * Use a field query. Example: `networkTags:internal` * Use a free text query. Example: `internal`", +"items": { +"type": "string" +}, +"type": "array" +}, +"organization": { +"description": "The organization that this resource belongs to, in the form of organizations/{ORGANIZATION_NUMBER}. This field is available when the resource belongs to an organization. To search against `organization`: * Use a field query. Example: `organization:123` * Use a free text query. Example: `123` * Specify the `scope` field as this organization in your search request.", +"type": "string" +}, +"parentAssetType": { +"description": "The type of this resource's immediate parent, if there is one. To search against the `parent_asset_type`: * Use a field query. Example: `parentAssetType:\"cloudresourcemanager.googleapis.com/Project\"` * Use a free text query. Example: `cloudresourcemanager.googleapis.com/Project`", +"type": "string" +}, +"parentFullResourceName": { +"description": "The full resource name of this resource's parent, if it has one. To search against the `parent_full_resource_name`: * Use a field query. Example: `parentFullResourceName:\"project-name\"` * Use a free text query. Example: `project-name`", +"type": "string" +}, +"project": { +"description": "The project that this resource belongs to, in the form of projects/{PROJECT_NUMBER}. This field is available when the resource belongs to a project. To search against `project`: * Use a field query. Example: `project:12345` * Use a free text query. Example: `12345` * Specify the `scope` field as this project in your search request.", +"type": "string" +}, +"relationships": { +"additionalProperties": { +"$ref": "RelatedResources" +}, +"description": "A map of related resources of this resource, keyed by the relationship type. A relationship type is in the format of {SourceType}_{ACTION}_{DestType}. Example: `DISK_TO_INSTANCE`, `DISK_TO_NETWORK`, `INSTANCE_TO_INSTANCEGROUP`. See [supported relationship types](https://cloud.google.com/asset-inventory/docs/supported-asset-types#supported_relationship_types).", +"type": "object" +}, +"sccSecurityMarks": { +"additionalProperties": { +"type": "string" +}, +"description": "The actual content of Security Command Center security marks associated with the asset. To search against SCC SecurityMarks field: * Use a field query: - query by a given key value pair. Example: `sccSecurityMarks.foo=bar` - query by a given key's existence. Example: `sccSecurityMarks.foo:*`", +"type": "object" +}, +"state": { +"description": "The state of this resource. Different resources types have different state definitions that are mapped from various fields of different resource types. This field is available only when the resource's Protobuf contains it. Example: If the resource is an instance provided by Compute Engine, its state will include PROVISIONING, STAGING, RUNNING, STOPPING, SUSPENDING, SUSPENDED, REPAIRING, and TERMINATED. See `status` definition in [API Reference](https://cloud.google.com/compute/docs/reference/rest/v1/instances). If the resource is a project provided by Resource Manager, its state will include LIFECYCLE_STATE_UNSPECIFIED, ACTIVE, DELETE_REQUESTED and DELETE_IN_PROGRESS. See `lifecycleState` definition in [API Reference](https://cloud.google.com/resource-manager/reference/rest/v1/projects). To search against the `state`: * Use a field query. Example: `state:RUNNING` * Use a free text query. Example: `RUNNING`", +"type": "string" +}, +"tagKeys": { +"deprecated": true, +"description": "This field is only present for the purpose of backward compatibility. Use the `tags` field instead. TagKey namespaced names, in the format of {ORG_ID}/{TAG_KEY_SHORT_NAME}. To search against the `tagKeys`: * Use a field query. Example: - `tagKeys:\"123456789/env*\"` - `tagKeys=\"123456789/env\"` - `tagKeys:\"env\"` * Use a free text query. Example: - `env`", +"items": { +"type": "string" +}, +"type": "array" +}, +"tagValueIds": { +"deprecated": true, +"description": "This field is only present for the purpose of backward compatibility. Use the `tags` field instead. TagValue IDs, in the format of tagValues/{TAG_VALUE_ID}. To search against the `tagValueIds`: * Use a field query. Example: - `tagValueIds=\"tagValues/456\"` * Use a free text query. Example: - `456`", +"items": { +"type": "string" +}, +"type": "array" +}, +"tagValues": { +"deprecated": true, +"description": "This field is only present for the purpose of backward compatibility. Use the `tags` field instead. TagValue namespaced names, in the format of {ORG_ID}/{TAG_KEY_SHORT_NAME}/{TAG_VALUE_SHORT_NAME}. To search against the `tagValues`: * Use a field query. Example: - `tagValues:\"env\"` - `tagValues:\"env/prod\"` - `tagValues:\"123456789/env/prod*\"` - `tagValues=\"123456789/env/prod\"` * Use a free text query. Example: - `prod`", +"items": { +"type": "string" +}, +"type": "array" +}, +"tags": { +"description": "The tags directly attached to this resource. To search against the `tags`: * Use a field query. Example: - `tagKeys:\"123456789/env*\"` - `tagKeys=\"123456789/env\"` - `tagKeys:\"env\"` - `tagKeyIds=\"tagKeys/123\"` - `tagValues:\"env\"` - `tagValues:\"env/prod\"` - `tagValues:\"123456789/env/prod*\"` - `tagValues=\"123456789/env/prod\"` - `tagValueIds=\"tagValues/456\"` * Use a free text query. Example: - `env/prod`", +"items": { +"$ref": "Tag" +}, +"type": "array" +}, +"updateTime": { +"description": "The last update timestamp of this resource, at which the resource was last modified or deleted. The granularity is in seconds. Timestamp.nanos will always be 0. This field is available only when the resource's Protobuf contains it. To search against `update_time`: * Use a field query. - value in seconds since unix epoch. Example: `updateTime < 1609459200` - value in date string. Example: `updateTime < 2021-01-01` - value in date-time string (must be quoted). Example: `updateTime < \"2021-01-01T00:00:00\"`", +"format": "google-datetime", +"type": "string" +}, +"versionedResources": { +"description": "Versioned resource representations of this resource. This is repeated because there could be multiple versions of resource representations during version migration. This `versioned_resources` field is not searchable. Some attributes of the resource representations are exposed in `additional_attributes` field, so as to allow users to search on them.", +"items": { +"$ref": "VersionedResource" +}, +"type": "array" +} +}, +"type": "object" +}, +"ResourceSelector": { +"description": "Specifies the resource to analyze for access policies, which may be set directly on the resource, or on ancestors such as organizations, folders or projects.", +"id": "ResourceSelector", +"properties": { +"fullResourceName": { +"description": "Required. The [full resource name] (https://cloud.google.com/asset-inventory/docs/resource-name-format) of a resource of [supported resource types](https://cloud.google.com/asset-inventory/docs/supported-asset-types#analyzable_asset_types).", +"type": "string" +} +}, +"type": "object" +}, +"SavedQuery": { +"description": "A saved query which can be shared with others or used later.", +"id": "SavedQuery", +"properties": { +"content": { +"$ref": "QueryContent", +"description": "The query content." +}, +"createTime": { +"description": "Output only. The create time of this saved query.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"creator": { +"description": "Output only. The account's email address who has created this saved query.", +"readOnly": true, +"type": "string" +}, +"description": { +"description": "The description of this saved query. This value should be fewer than 255 characters.", +"type": "string" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Labels applied on the resource. This value should not contain more than 10 entries. The key and value of each entry must be non-empty and fewer than 64 characters.", +"type": "object" +}, +"lastUpdateTime": { +"description": "Output only. The last update time of this saved query.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"lastUpdater": { +"description": "Output only. The account's email address who has updated this saved query most recently.", +"readOnly": true, +"type": "string" +}, +"name": { +"description": "The resource name of the saved query. The format must be: * projects/project_number/savedQueries/saved_query_id * folders/folder_number/savedQueries/saved_query_id * organizations/organization_number/savedQueries/saved_query_id", +"type": "string" +} +}, +"type": "object" +}, +"SearchAllIamPoliciesResponse": { +"description": "Search all IAM policies response.", +"id": "SearchAllIamPoliciesResponse", +"properties": { +"nextPageToken": { +"description": "Set if there are more results than those appearing in this response; to get the next set of results, call this method again, using this value as the `page_token`.", +"type": "string" +}, +"results": { +"description": "A list of IAM policies that match the search query. Related information such as the associated resource is returned along with the policy.", +"items": { +"$ref": "IamPolicySearchResult" +}, +"type": "array" +} +}, +"type": "object" +}, +"SearchAllResourcesResponse": { +"description": "Search all resources response.", +"id": "SearchAllResourcesResponse", +"properties": { +"nextPageToken": { +"description": "If there are more results than those appearing in this response, then `next_page_token` is included. To get the next set of results, call this method again using the value of `next_page_token` as `page_token`.", +"type": "string" +}, +"results": { +"description": "A list of Resources that match the search query. It contains the resource standard metadata information.", +"items": { +"$ref": "ResourceSearchResult" +}, +"type": "array" +} +}, +"type": "object" +}, +"SoftwarePackage": { +"description": "Software package information of the operating system.", +"id": "SoftwarePackage", +"properties": { +"aptPackage": { +"$ref": "VersionedPackage", +"description": "Details of an APT package. For details about the apt package manager, see https://wiki.debian.org/Apt." +}, +"cosPackage": { +"$ref": "VersionedPackage", +"description": "Details of a COS package." +}, +"googetPackage": { +"$ref": "VersionedPackage", +"description": "Details of a Googet package. For details about the googet package manager, see https://github.com/google/googet." +}, +"qfePackage": { +"$ref": "WindowsQuickFixEngineeringPackage", +"description": "Details of a Windows Quick Fix engineering package. See https://docs.microsoft.com/en-us/windows/win32/cimwin32prov/win32-quickfixengineering for info in Windows Quick Fix Engineering." +}, +"windowsApplication": { +"$ref": "WindowsApplication", +"description": "Details of Windows Application." +}, +"wuaPackage": { +"$ref": "WindowsUpdatePackage", +"description": "Details of a Windows Update package. See https://docs.microsoft.com/en-us/windows/win32/api/_wua/ for information about Windows Update." +}, +"yumPackage": { +"$ref": "VersionedPackage", +"description": "Yum package info. For details about the yum package manager, see https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/6/html/deployment_guide/ch-yum." +}, +"zypperPackage": { +"$ref": "VersionedPackage", +"description": "Details of a Zypper package. For details about the Zypper package manager, see https://en.opensuse.org/SDB:Zypper_manual." +}, +"zypperPatch": { +"$ref": "ZypperPatch", +"description": "Details of a Zypper patch. For details about the Zypper package manager, see https://en.opensuse.org/SDB:Zypper_manual." +} +}, +"type": "object" +}, +"Status": { +"description": "The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors).", +"id": "Status", +"properties": { +"code": { +"description": "The status code, which should be an enum value of google.rpc.Code.", +"format": "int32", +"type": "integer" +}, +"details": { +"description": "A list of messages that carry the error details. There is a common set of message types for APIs to use.", +"items": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.", +"type": "string" +} +}, +"type": "object" +}, +"TableFieldSchema": { +"description": "A field in TableSchema.", +"id": "TableFieldSchema", +"properties": { +"field": { +"description": "The field name. The name must contain only letters (a-z, A-Z), numbers (0-9), or underscores (_), and must start with a letter or underscore. The maximum length is 128 characters.", +"type": "string" +}, +"fields": { +"description": "Describes the nested schema fields if the type property is set to RECORD.", +"items": { +"$ref": "TableFieldSchema" +}, +"type": "array" +}, +"mode": { +"description": "The field mode. Possible values include NULLABLE, REQUIRED and REPEATED. The default value is NULLABLE.", +"type": "string" +}, +"type": { +"description": "The field data type. Possible values include * STRING * BYTES * INTEGER * FLOAT * BOOLEAN * TIMESTAMP * DATE * TIME * DATETIME * GEOGRAPHY, * NUMERIC, * BIGNUMERIC, * RECORD (where RECORD indicates that the field contains a nested schema).", +"type": "string" +} +}, +"type": "object" +}, +"TableSchema": { +"description": "BigQuery Compatible table schema.", +"id": "TableSchema", +"properties": { +"fields": { +"description": "Describes the fields in a table.", +"items": { +"$ref": "TableFieldSchema" +}, +"type": "array" +} +}, +"type": "object" +}, +"Tag": { +"description": "The key and value for a [tag](https://cloud.google.com/resource-manager/docs/tags/tags-overview).", +"id": "Tag", +"properties": { +"tagKey": { +"description": "TagKey namespaced name, in the format of {ORG_ID}/{TAG_KEY_SHORT_NAME}.", +"type": "string" +}, +"tagKeyId": { +"description": "TagKey ID, in the format of tagKeys/{TAG_KEY_ID}.", +"type": "string" +}, +"tagValue": { +"description": "TagValue namespaced name, in the format of {ORG_ID}/{TAG_KEY_SHORT_NAME}/{TAG_VALUE_SHORT_NAME}.", +"type": "string" +}, +"tagValueId": { +"description": "TagValue ID, in the format of tagValues/{TAG_VALUE_ID}.", +"type": "string" +} +}, +"type": "object" +}, +"TemporalAsset": { +"description": "An asset in Google Cloud and its temporal metadata, including the time window when it was observed and its status during that window.", +"id": "TemporalAsset", +"properties": { +"asset": { +"$ref": "Asset", +"description": "An asset in Google Cloud." +}, +"deleted": { +"description": "Whether the asset has been deleted or not.", +"type": "boolean" +}, +"priorAsset": { +"$ref": "Asset", +"description": "Prior copy of the asset. Populated if prior_asset_state is PRESENT. Currently this is only set for responses in Real-Time Feed." +}, +"priorAssetState": { +"description": "State of prior_asset.", +"enum": [ +"PRIOR_ASSET_STATE_UNSPECIFIED", +"PRESENT", +"INVALID", +"DOES_NOT_EXIST", +"DELETED" +], +"enumDescriptions": [ +"prior_asset is not applicable for the current asset.", +"prior_asset is populated correctly.", +"Failed to set prior_asset.", +"Current asset is the first known state.", +"prior_asset is a deletion." +], +"type": "string" +}, +"window": { +"$ref": "TimeWindow", +"description": "The time window when the asset data and state was observed." +} +}, +"type": "object" +}, +"TimeWindow": { +"description": "A time window specified by its `start_time` and `end_time`.", +"id": "TimeWindow", +"properties": { +"endTime": { +"description": "End time of the time window (inclusive). If not specified, the current timestamp is used instead.", +"format": "google-datetime", +"type": "string" +}, +"startTime": { +"description": "Start time of the time window (exclusive).", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"UpdateFeedRequest": { +"description": "Update asset feed request.", +"id": "UpdateFeedRequest", +"properties": { +"feed": { +"$ref": "Feed", +"description": "Required. The new values of feed details. It must match an existing feed and the field `name` must be in the format of: projects/project_number/feeds/feed_id or folders/folder_number/feeds/feed_id or organizations/organization_number/feeds/feed_id." +}, +"updateMask": { +"description": "Required. Only updates the `feed` fields indicated by this mask. The field mask must not be empty, and it must not contain fields that are immutable or only set by the server.", +"format": "google-fieldmask", +"type": "string" +} +}, +"type": "object" +}, +"VersionedPackage": { +"description": "Information related to the a standard versioned package. This includes package info for APT, Yum, Zypper, and Googet package managers.", +"id": "VersionedPackage", +"properties": { +"architecture": { +"description": "The system architecture this package is intended for.", +"type": "string" +}, +"packageName": { +"description": "The name of the package.", +"type": "string" +}, +"version": { +"description": "The version of the package.", +"type": "string" +} +}, +"type": "object" +}, +"VersionedResource": { +"description": "Resource representation as defined by the corresponding service providing the resource for a given API version.", +"id": "VersionedResource", +"properties": { +"assetExceptions": { +"description": "The exceptions of a resource.", +"items": { +"$ref": "AssetException" +}, +"type": "array" +}, +"resource": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"description": "JSON representation of the resource as defined by the corresponding service providing this resource. Example: If the resource is an instance provided by Compute Engine, this field will contain the JSON representation of the instance as defined by Compute Engine: `https://cloud.google.com/compute/docs/reference/rest/v1/instances`. You can find the resource definition for each supported resource type in this table: `https://cloud.google.com/asset-inventory/docs/supported-asset-types`", +"type": "object" +}, +"version": { +"description": "API version of the resource. Example: If the resource is an instance provided by Compute Engine v1 API as defined in `https://cloud.google.com/compute/docs/reference/rest/v1/instances`, version will be \"v1\".", +"type": "string" +} +}, +"type": "object" +}, +"WindowsApplication": { +"description": "Contains information about a Windows application that is retrieved from the Windows Registry. For more information about these fields, see: https://docs.microsoft.com/en-us/windows/win32/msi/uninstall-registry-key", +"id": "WindowsApplication", +"properties": { +"displayName": { +"description": "The name of the application or product.", +"type": "string" +}, +"displayVersion": { +"description": "The version of the product or application in string format.", +"type": "string" +}, +"helpLink": { +"description": "The internet address for technical support.", +"type": "string" +}, +"installDate": { +"$ref": "Date", +"description": "The last time this product received service. The value of this property is replaced each time a patch is applied or removed from the product or the command-line option is used to repair the product." +}, +"publisher": { +"description": "The name of the manufacturer for the product or application.", +"type": "string" +} +}, +"type": "object" +}, +"WindowsQuickFixEngineeringPackage": { +"description": "Information related to a Quick Fix Engineering package. Fields are taken from Windows QuickFixEngineering Interface and match the source names: https://docs.microsoft.com/en-us/windows/win32/cimwin32prov/win32-quickfixengineering", +"id": "WindowsQuickFixEngineeringPackage", +"properties": { +"caption": { +"description": "A short textual description of the QFE update.", +"type": "string" +}, +"description": { +"description": "A textual description of the QFE update.", +"type": "string" +}, +"hotFixId": { +"description": "Unique identifier associated with a particular QFE update.", +"type": "string" +}, +"installTime": { +"description": "Date that the QFE update was installed. Mapped from installed_on field.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"WindowsUpdateCategory": { +"description": "Categories specified by the Windows Update.", +"id": "WindowsUpdateCategory", +"properties": { +"id": { +"description": "The identifier of the windows update category.", +"type": "string" +}, +"name": { +"description": "The name of the windows update category.", +"type": "string" +} +}, +"type": "object" +}, +"WindowsUpdatePackage": { +"description": "Details related to a Windows Update package. Field data and names are taken from Windows Update API IUpdate Interface: https://docs.microsoft.com/en-us/windows/win32/api/_wua/ Descriptive fields like title, and description are localized based on the locale of the VM being updated.", +"id": "WindowsUpdatePackage", +"properties": { +"categories": { +"description": "The categories that are associated with this update package.", +"items": { +"$ref": "WindowsUpdateCategory" +}, +"type": "array" +}, +"description": { +"description": "The localized description of the update package.", +"type": "string" +}, +"kbArticleIds": { +"description": "A collection of Microsoft Knowledge Base article IDs that are associated with the update package.", +"items": { +"type": "string" +}, +"type": "array" +}, +"lastDeploymentChangeTime": { +"description": "The last published date of the update, in (UTC) date and time.", +"format": "google-datetime", +"type": "string" +}, +"moreInfoUrls": { +"description": "A collection of URLs that provide more information about the update package.", +"items": { +"type": "string" +}, +"type": "array" +}, +"revisionNumber": { +"description": "The revision number of this update package.", +"format": "int32", +"type": "integer" +}, +"supportUrl": { +"description": "A hyperlink to the language-specific support information for the update.", +"type": "string" +}, +"title": { +"description": "The localized title of the update package.", +"type": "string" +}, +"updateId": { +"description": "Gets the identifier of an update package. Stays the same across revisions.", +"type": "string" +} +}, +"type": "object" +}, +"ZypperPatch": { +"description": "Details related to a Zypper Patch.", +"id": "ZypperPatch", +"properties": { +"category": { +"description": "The category of the patch.", +"type": "string" +}, +"patchName": { +"description": "The name of the patch.", +"type": "string" +}, +"severity": { +"description": "The severity specified for this patch", +"type": "string" +}, +"summary": { +"description": "Any summary information provided about this patch.", +"type": "string" +} +}, +"type": "object" +} +}, +"servicePath": "", +"title": "Cloud Asset API", +"version": "v1", +"version_module": true +} \ No newline at end of file diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/cloudasset.v1beta1.json b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/cloudasset.v1beta1.json new file mode 100644 index 0000000000000000000000000000000000000000..82727bffcbed642edac7bdc27320b230dd1d1cd6 --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/cloudasset.v1beta1.json @@ -0,0 +1,1713 @@ +{ +"auth": { +"oauth2": { +"scopes": { +"https://www.googleapis.com/auth/cloud-platform": { +"description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." +} +} +} +}, +"basePath": "", +"baseUrl": "https://cloudasset.googleapis.com/", +"batchPath": "batch", +"canonicalName": "Cloud Asset", +"description": "The Cloud Asset API manages the history and inventory of Google Cloud resources.", +"discoveryVersion": "v1", +"documentationLink": "https://cloud.google.com/asset-inventory/docs/quickstart", +"fullyEncodeReservedExpansion": true, +"icons": { +"x16": "http://www.google.com/images/icons/product/search-16.gif", +"x32": "http://www.google.com/images/icons/product/search-32.gif" +}, +"id": "cloudasset:v1beta1", +"kind": "discovery#restDescription", +"mtlsRootUrl": "https://cloudasset.mtls.googleapis.com/", +"name": "cloudasset", +"ownerDomain": "google.com", +"ownerName": "Google", +"parameters": { +"$.xgafv": { +"description": "V1 error format.", +"enum": [ +"1", +"2" +], +"enumDescriptions": [ +"v1 error format", +"v2 error format" +], +"location": "query", +"type": "string" +}, +"access_token": { +"description": "OAuth access token.", +"location": "query", +"type": "string" +}, +"alt": { +"default": "json", +"description": "Data format for response.", +"enum": [ +"json", +"media", +"proto" +], +"enumDescriptions": [ +"Responses with Content-Type of application/json", +"Media download with context-dependent Content-Type", +"Responses with Content-Type of application/x-protobuf" +], +"location": "query", +"type": "string" +}, +"callback": { +"description": "JSONP", +"location": "query", +"type": "string" +}, +"fields": { +"description": "Selector specifying which fields to include in a partial response.", +"location": "query", +"type": "string" +}, +"key": { +"description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", +"location": "query", +"type": "string" +}, +"oauth_token": { +"description": "OAuth 2.0 token for the current user.", +"location": "query", +"type": "string" +}, +"prettyPrint": { +"default": "true", +"description": "Returns response with indentations and line breaks.", +"location": "query", +"type": "boolean" +}, +"quotaUser": { +"description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.", +"location": "query", +"type": "string" +}, +"uploadType": { +"description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", +"location": "query", +"type": "string" +}, +"upload_protocol": { +"description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", +"location": "query", +"type": "string" +} +}, +"protocol": "rest", +"resources": { +"folders": { +"methods": { +"exportAssets": { +"description": "Exports assets with time and resource types to a given Cloud Storage location. The output format is newline-delimited JSON. This API implements the google.longrunning.Operation API allowing you to keep track of the export. We recommend intervals of at least 2 seconds with exponential retry to poll the export operation result. For regular-size resource parent, the export operation usually finishes within 5 minutes.", +"flatPath": "v1beta1/folders/{foldersId}:exportAssets", +"httpMethod": "POST", +"id": "cloudasset.folders.exportAssets", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The relative name of the root asset. This can only be an organization number (such as \"organizations/123\"), a project ID (such as \"projects/my-project-id\"), a project number (such as \"projects/12345\"), or a folder number (such as \"folders/123\").", +"location": "path", +"pattern": "^folders/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+parent}:exportAssets", +"request": { +"$ref": "ExportAssetsRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"operations": { +"methods": { +"get": { +"description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", +"flatPath": "v1beta1/folders/{foldersId}/operations/{operationsId}/{operationsId1}", +"httpMethod": "GET", +"id": "cloudasset.folders.operations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource.", +"location": "path", +"pattern": "^folders/[^/]+/operations/[^/]+/.*$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +}, +"organizations": { +"methods": { +"batchGetAssetsHistory": { +"description": "Batch gets the update history of assets that overlap a time window. For IAM_POLICY content, this API outputs history when the asset and its attached IAM POLICY both exist. This can create gaps in the output history. Otherwise, this API outputs history with asset in both non-delete or deleted status. If a specified asset does not exist, this API returns an INVALID_ARGUMENT error.", +"flatPath": "v1beta1/organizations/{organizationsId}:batchGetAssetsHistory", +"httpMethod": "GET", +"id": "cloudasset.organizations.batchGetAssetsHistory", +"parameterOrder": [ +"parent" +], +"parameters": { +"assetNames": { +"description": "A list of the full names of the assets. For example: `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`. See [Resource Names](https://cloud.google.com/apis/design/resource_names#full_resource_name) for more info. The request becomes a no-op if the asset name list is empty, and the max size of the asset name list is 100 in one request.", +"location": "query", +"repeated": true, +"type": "string" +}, +"contentType": { +"description": "Optional. The content type.", +"enum": [ +"CONTENT_TYPE_UNSPECIFIED", +"RESOURCE", +"IAM_POLICY" +], +"enumDescriptions": [ +"Unspecified content type.", +"Resource metadata.", +"The actual IAM policy set on a resource." +], +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The relative name of the root asset. It can only be an organization number (such as \"organizations/123\"), a project ID (such as \"projects/my-project-id\")\", or a project number (such as \"projects/12345\").", +"location": "path", +"pattern": "^organizations/[^/]+$", +"required": true, +"type": "string" +}, +"readTimeWindow.endTime": { +"description": "End time of the time window (inclusive). If not specified, the current timestamp is used instead.", +"format": "google-datetime", +"location": "query", +"type": "string" +}, +"readTimeWindow.startTime": { +"description": "Start time of the time window (exclusive).", +"format": "google-datetime", +"location": "query", +"type": "string" +} +}, +"path": "v1beta1/{+parent}:batchGetAssetsHistory", +"response": { +"$ref": "BatchGetAssetsHistoryResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"exportAssets": { +"description": "Exports assets with time and resource types to a given Cloud Storage location. The output format is newline-delimited JSON. This API implements the google.longrunning.Operation API allowing you to keep track of the export. We recommend intervals of at least 2 seconds with exponential retry to poll the export operation result. For regular-size resource parent, the export operation usually finishes within 5 minutes.", +"flatPath": "v1beta1/organizations/{organizationsId}:exportAssets", +"httpMethod": "POST", +"id": "cloudasset.organizations.exportAssets", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The relative name of the root asset. This can only be an organization number (such as \"organizations/123\"), a project ID (such as \"projects/my-project-id\"), a project number (such as \"projects/12345\"), or a folder number (such as \"folders/123\").", +"location": "path", +"pattern": "^organizations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+parent}:exportAssets", +"request": { +"$ref": "ExportAssetsRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"operations": { +"methods": { +"get": { +"description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", +"flatPath": "v1beta1/organizations/{organizationsId}/operations/{operationsId}/{operationsId1}", +"httpMethod": "GET", +"id": "cloudasset.organizations.operations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource.", +"location": "path", +"pattern": "^organizations/[^/]+/operations/[^/]+/.*$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +}, +"projects": { +"methods": { +"batchGetAssetsHistory": { +"description": "Batch gets the update history of assets that overlap a time window. For IAM_POLICY content, this API outputs history when the asset and its attached IAM POLICY both exist. This can create gaps in the output history. Otherwise, this API outputs history with asset in both non-delete or deleted status. If a specified asset does not exist, this API returns an INVALID_ARGUMENT error.", +"flatPath": "v1beta1/projects/{projectsId}:batchGetAssetsHistory", +"httpMethod": "GET", +"id": "cloudasset.projects.batchGetAssetsHistory", +"parameterOrder": [ +"parent" +], +"parameters": { +"assetNames": { +"description": "A list of the full names of the assets. For example: `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`. See [Resource Names](https://cloud.google.com/apis/design/resource_names#full_resource_name) for more info. The request becomes a no-op if the asset name list is empty, and the max size of the asset name list is 100 in one request.", +"location": "query", +"repeated": true, +"type": "string" +}, +"contentType": { +"description": "Optional. The content type.", +"enum": [ +"CONTENT_TYPE_UNSPECIFIED", +"RESOURCE", +"IAM_POLICY" +], +"enumDescriptions": [ +"Unspecified content type.", +"Resource metadata.", +"The actual IAM policy set on a resource." +], +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The relative name of the root asset. It can only be an organization number (such as \"organizations/123\"), a project ID (such as \"projects/my-project-id\")\", or a project number (such as \"projects/12345\").", +"location": "path", +"pattern": "^projects/[^/]+$", +"required": true, +"type": "string" +}, +"readTimeWindow.endTime": { +"description": "End time of the time window (inclusive). If not specified, the current timestamp is used instead.", +"format": "google-datetime", +"location": "query", +"type": "string" +}, +"readTimeWindow.startTime": { +"description": "Start time of the time window (exclusive).", +"format": "google-datetime", +"location": "query", +"type": "string" +} +}, +"path": "v1beta1/{+parent}:batchGetAssetsHistory", +"response": { +"$ref": "BatchGetAssetsHistoryResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"exportAssets": { +"description": "Exports assets with time and resource types to a given Cloud Storage location. The output format is newline-delimited JSON. This API implements the google.longrunning.Operation API allowing you to keep track of the export. We recommend intervals of at least 2 seconds with exponential retry to poll the export operation result. For regular-size resource parent, the export operation usually finishes within 5 minutes.", +"flatPath": "v1beta1/projects/{projectsId}:exportAssets", +"httpMethod": "POST", +"id": "cloudasset.projects.exportAssets", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The relative name of the root asset. This can only be an organization number (such as \"organizations/123\"), a project ID (such as \"projects/my-project-id\"), a project number (such as \"projects/12345\"), or a folder number (such as \"folders/123\").", +"location": "path", +"pattern": "^projects/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+parent}:exportAssets", +"request": { +"$ref": "ExportAssetsRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"operations": { +"methods": { +"get": { +"description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", +"flatPath": "v1beta1/projects/{projectsId}/operations/{operationsId}/{operationsId1}", +"httpMethod": "GET", +"id": "cloudasset.projects.operations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource.", +"location": "path", +"pattern": "^projects/[^/]+/operations/[^/]+/.*$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +} +}, +"revision": "20250307", +"rootUrl": "https://cloudasset.googleapis.com/", +"schemas": { +"AnalyzeIamPolicyLongrunningMetadata": { +"description": "Represents the metadata of the longrunning operation for the AnalyzeIamPolicyLongrunning RPC.", +"id": "AnalyzeIamPolicyLongrunningMetadata", +"properties": { +"createTime": { +"description": "Output only. The time the operation was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"AnalyzeIamPolicyLongrunningResponse": { +"description": "A response message for AssetService.AnalyzeIamPolicyLongrunning.", +"id": "AnalyzeIamPolicyLongrunningResponse", +"properties": {}, +"type": "object" +}, +"Asset": { +"description": "An asset in Google Cloud. An asset can be any resource in the Google Cloud [resource hierarchy](https://cloud.google.com/resource-manager/docs/cloud-platform-resource-hierarchy), a resource outside the Google Cloud resource hierarchy (such as Google Kubernetes Engine clusters and objects), or a policy (e.g. IAM policy). See [Supported asset types](https://cloud.google.com/asset-inventory/docs/supported-asset-types) for more information.", +"id": "Asset", +"properties": { +"accessLevel": { +"$ref": "GoogleIdentityAccesscontextmanagerV1AccessLevel", +"description": "Please also refer to the [access level user guide](https://cloud.google.com/access-context-manager/docs/overview#access-levels)." +}, +"accessPolicy": { +"$ref": "GoogleIdentityAccesscontextmanagerV1AccessPolicy", +"description": "Please also refer to the [access policy user guide](https://cloud.google.com/access-context-manager/docs/overview#access-policies)." +}, +"assetType": { +"description": "The type of the asset. Example: `compute.googleapis.com/Disk` See [Supported asset types](https://cloud.google.com/asset-inventory/docs/supported-asset-types) for more information.", +"type": "string" +}, +"iamPolicy": { +"$ref": "Policy", +"description": "A representation of the IAM policy set on a Google Cloud resource. There can be a maximum of one IAM policy set on any given resource. In addition, IAM policies inherit their granted access scope from any policies set on parent resources in the resource hierarchy. Therefore, the effectively policy is the union of both the policy set on this resource and each policy set on all of the resource's ancestry resource levels in the hierarchy. See [this topic](https://cloud.google.com/iam/help/allow-policies/inheritance) for more information." +}, +"name": { +"description": "The full name of the asset. Example: `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1` See [Resource names](https://cloud.google.com/apis/design/resource_names#full_resource_name) for more information.", +"type": "string" +}, +"orgPolicy": { +"description": "A representation of an [organization policy](https://cloud.google.com/resource-manager/docs/organization-policy/overview#organization_policy). There can be more than one organization policy with different constraints set on a given resource.", +"items": { +"$ref": "GoogleCloudOrgpolicyV1Policy" +}, +"type": "array" +}, +"resource": { +"$ref": "Resource", +"description": "A representation of the resource." +}, +"servicePerimeter": { +"$ref": "GoogleIdentityAccesscontextmanagerV1ServicePerimeter", +"description": "Please also refer to the [service perimeter user guide](https://cloud.google.com/vpc-service-controls/docs/overview)." +} +}, +"type": "object" +}, +"AuditConfig": { +"description": "Specifies the audit configuration for a service. The configuration determines which permission types are logged, and what identities, if any, are exempted from logging. An AuditConfig must have one or more AuditLogConfigs. If there are AuditConfigs for both `allServices` and a specific service, the union of the two AuditConfigs is used for that service: the log_types specified in each AuditConfig are enabled, and the exempted_members in each AuditLogConfig are exempted. Example Policy with multiple AuditConfigs: { \"audit_configs\": [ { \"service\": \"allServices\", \"audit_log_configs\": [ { \"log_type\": \"DATA_READ\", \"exempted_members\": [ \"user:jose@example.com\" ] }, { \"log_type\": \"DATA_WRITE\" }, { \"log_type\": \"ADMIN_READ\" } ] }, { \"service\": \"sampleservice.googleapis.com\", \"audit_log_configs\": [ { \"log_type\": \"DATA_READ\" }, { \"log_type\": \"DATA_WRITE\", \"exempted_members\": [ \"user:aliya@example.com\" ] } ] } ] } For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also exempts `jose@example.com` from DATA_READ logging, and `aliya@example.com` from DATA_WRITE logging.", +"id": "AuditConfig", +"properties": { +"auditLogConfigs": { +"description": "The configuration for logging of each type of permission.", +"items": { +"$ref": "AuditLogConfig" +}, +"type": "array" +}, +"service": { +"description": "Specifies a service that will be enabled for audit logging. For example, `storage.googleapis.com`, `cloudsql.googleapis.com`. `allServices` is a special value that covers all services.", +"type": "string" +} +}, +"type": "object" +}, +"AuditLogConfig": { +"description": "Provides the configuration for logging a type of permissions. Example: { \"audit_log_configs\": [ { \"log_type\": \"DATA_READ\", \"exempted_members\": [ \"user:jose@example.com\" ] }, { \"log_type\": \"DATA_WRITE\" } ] } This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting jose@example.com from DATA_READ logging.", +"id": "AuditLogConfig", +"properties": { +"exemptedMembers": { +"description": "Specifies the identities that do not cause logging for this type of permission. Follows the same format of Binding.members.", +"items": { +"type": "string" +}, +"type": "array" +}, +"logType": { +"description": "The log type that this config enables.", +"enum": [ +"LOG_TYPE_UNSPECIFIED", +"ADMIN_READ", +"DATA_WRITE", +"DATA_READ" +], +"enumDescriptions": [ +"Default case. Should never be this.", +"Admin reads. Example: CloudIAM getIamPolicy", +"Data writes. Example: CloudSQL Users create", +"Data reads. Example: CloudSQL Users list" +], +"type": "string" +} +}, +"type": "object" +}, +"BatchGetAssetsHistoryResponse": { +"description": "Batch get assets history response.", +"id": "BatchGetAssetsHistoryResponse", +"properties": { +"assets": { +"description": "A list of assets with valid time windows.", +"items": { +"$ref": "TemporalAsset" +}, +"type": "array" +} +}, +"type": "object" +}, +"Binding": { +"description": "Associates `members`, or principals, with a `role`.", +"id": "Binding", +"properties": { +"condition": { +"$ref": "Expr", +"description": "The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies)." +}, +"members": { +"description": "Specifies the principals requesting access for a Google Cloud resource. `members` can have the following values: * `allUsers`: A special identifier that represents anyone who is on the internet; with or without a Google account. * `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service account. Does not include identities that come from external identity providers (IdPs) through identity federation. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `group:{emailid}`: An email address that represents a Google group. For example, `admins@example.com`. * `domain:{domain}`: The G Suite domain (primary) that represents all the users of that domain. For example, `google.com` or `example.com`. * `principal://iam.googleapis.com/locations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}`: A single identity in a workforce identity pool. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/group/{group_id}`: All workforce identities in a group. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/attribute.{attribute_name}/{attribute_value}`: All workforce identities with a specific attribute value. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/*`: All identities in a workforce identity pool. * `principal://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/subject/{subject_attribute_value}`: A single identity in a workload identity pool. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/group/{group_id}`: A workload identity pool group. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/attribute.{attribute_name}/{attribute_value}`: All identities in a workload identity pool with a certain attribute. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/*`: All identities in a workload identity pool. * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a user that has been recently deleted. For example, `alice@example.com?uid=123456789012345678901`. If the user is recovered, this value reverts to `user:{emailid}` and the recovered user retains the role in the binding. * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a service account that has been recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the service account is undeleted, this value reverts to `serviceAccount:{emailid}` and the undeleted service account retains the role in the binding. * `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a Google group that has been recently deleted. For example, `admins@example.com?uid=123456789012345678901`. If the group is recovered, this value reverts to `group:{emailid}` and the recovered group retains the role in the binding. * `deleted:principal://iam.googleapis.com/locations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}`: Deleted single identity in a workforce identity pool. For example, `deleted:principal://iam.googleapis.com/locations/global/workforcePools/my-pool-id/subject/my-subject-attribute-value`.", +"items": { +"type": "string" +}, +"type": "array" +}, +"role": { +"description": "Role that is assigned to the list of `members`, or principals. For example, `roles/viewer`, `roles/editor`, or `roles/owner`. For an overview of the IAM roles and permissions, see the [IAM documentation](https://cloud.google.com/iam/docs/roles-overview). For a list of the available pre-defined roles, see [here](https://cloud.google.com/iam/docs/understanding-roles).", +"type": "string" +} +}, +"type": "object" +}, +"ExportAssetsRequest": { +"description": "Export asset request.", +"id": "ExportAssetsRequest", +"properties": { +"assetTypes": { +"description": "A list of asset types of which to take a snapshot for. For example: \"google.compute.Disk\". If specified, only matching assets will be returned. See [Introduction to Cloud Asset Inventory](https://cloud.google.com/resource-manager/docs/cloud-asset-inventory/overview) for all supported asset types.", +"items": { +"type": "string" +}, +"type": "array" +}, +"contentType": { +"description": "Asset content type. If not specified, no content but the asset name will be returned.", +"enum": [ +"CONTENT_TYPE_UNSPECIFIED", +"RESOURCE", +"IAM_POLICY" +], +"enumDescriptions": [ +"Unspecified content type.", +"Resource metadata.", +"The actual IAM policy set on a resource." +], +"type": "string" +}, +"outputConfig": { +"$ref": "OutputConfig", +"description": "Required. Output configuration indicating where the results will be output to. All results will be in newline delimited JSON format." +}, +"readTime": { +"description": "Timestamp to take an asset snapshot. This can only be set to a timestamp between 2018-10-02 UTC (inclusive) and the current time. If not specified, the current time will be used. Due to delays in resource data collection and indexing, there is a volatile window during which running the same query may get different results.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"Expr": { +"description": "Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: \"Summary size limit\" description: \"Determines if a summary is less than 100 chars\" expression: \"document.summary.size() < 100\" Example (Equality): title: \"Requestor is owner\" description: \"Determines if requestor is the document owner\" expression: \"document.owner == request.auth.claims.email\" Example (Logic): title: \"Public documents\" description: \"Determine whether the document should be publicly visible\" expression: \"document.type != 'private' && document.type != 'internal'\" Example (Data Manipulation): title: \"Notification string\" description: \"Create a notification string with a timestamp.\" expression: \"'New message received at ' + string(document.create_time)\" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information.", +"id": "Expr", +"properties": { +"description": { +"description": "Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI.", +"type": "string" +}, +"expression": { +"description": "Textual representation of an expression in Common Expression Language syntax.", +"type": "string" +}, +"location": { +"description": "Optional. String indicating the location of the expression for error reporting, e.g. a file name and a position in the file.", +"type": "string" +}, +"title": { +"description": "Optional. Title for the expression, i.e. a short string describing its purpose. This can be used e.g. in UIs which allow to enter the expression.", +"type": "string" +} +}, +"type": "object" +}, +"GcsDestination": { +"description": "A Cloud Storage location.", +"id": "GcsDestination", +"properties": { +"uri": { +"description": "The URI of the Cloud Storage object. It's the same URI that is used by gsutil. For example: \"gs://bucket_name/object_name\". See [Viewing and Editing Object Metadata](https://cloud.google.com/storage/docs/viewing-editing-metadata) for more information.", +"type": "string" +}, +"uriPrefix": { +"description": "The URI prefix of all generated Cloud Storage objects. For example: \"gs://bucket_name/object_name_prefix\". Each object URI is in format: \"gs://bucket_name/object_name_prefix// and only contains assets for that type. starts from 0. For example: \"gs://bucket_name/object_name_prefix/google.compute.disk/0\" is the first shard of output objects containing all google.compute.disk assets. An INVALID_ARGUMENT error will be returned if file with the same name \"gs://bucket_name/object_name_prefix\" already exists.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAssetV1p7beta1Asset": { +"description": "An asset in Google Cloud. An asset can be any resource in the Google Cloud [resource hierarchy](https://cloud.google.com/resource-manager/docs/cloud-platform-resource-hierarchy), a resource outside the Google Cloud resource hierarchy (such as Google Kubernetes Engine clusters and objects), or a policy (e.g. IAM policy). See [Supported asset types](https://cloud.google.com/asset-inventory/docs/supported-asset-types) for more information.", +"id": "GoogleCloudAssetV1p7beta1Asset", +"properties": { +"accessLevel": { +"$ref": "GoogleIdentityAccesscontextmanagerV1AccessLevel", +"description": "Please also refer to the [access level user guide](https://cloud.google.com/access-context-manager/docs/overview#access-levels)." +}, +"accessPolicy": { +"$ref": "GoogleIdentityAccesscontextmanagerV1AccessPolicy", +"description": "Please also refer to the [access policy user guide](https://cloud.google.com/access-context-manager/docs/overview#access-policies)." +}, +"ancestors": { +"description": "The ancestry path of an asset in Google Cloud [resource hierarchy](https://cloud.google.com/resource-manager/docs/cloud-platform-resource-hierarchy), represented as a list of relative resource names. An ancestry path starts with the closest ancestor in the hierarchy and ends at root. If the asset is a project, folder, or organization, the ancestry path starts from the asset itself. Example: `[\"projects/123456789\", \"folders/5432\", \"organizations/1234\"]`", +"items": { +"type": "string" +}, +"type": "array" +}, +"assetType": { +"description": "The type of the asset. Example: `compute.googleapis.com/Disk` See [Supported asset types](https://cloud.google.com/asset-inventory/docs/supported-asset-types) for more information.", +"type": "string" +}, +"iamPolicy": { +"$ref": "Policy", +"description": "A representation of the IAM policy set on a Google Cloud resource. There can be a maximum of one IAM policy set on any given resource. In addition, IAM policies inherit their granted access scope from any policies set on parent resources in the resource hierarchy. Therefore, the effectively policy is the union of both the policy set on this resource and each policy set on all of the resource's ancestry resource levels in the hierarchy. See [this topic](https://cloud.google.com/iam/help/allow-policies/inheritance) for more information." +}, +"name": { +"description": "The full name of the asset. Example: `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1` See [Resource names](https://cloud.google.com/apis/design/resource_names#full_resource_name) for more information.", +"type": "string" +}, +"orgPolicy": { +"description": "A representation of an [organization policy](https://cloud.google.com/resource-manager/docs/organization-policy/overview#organization_policy). There can be more than one organization policy with different constraints set on a given resource.", +"items": { +"$ref": "GoogleCloudOrgpolicyV1Policy" +}, +"type": "array" +}, +"relatedAssets": { +"$ref": "GoogleCloudAssetV1p7beta1RelatedAssets", +"description": "The related assets of the asset of one relationship type. One asset only represents one type of relationship." +}, +"resource": { +"$ref": "GoogleCloudAssetV1p7beta1Resource", +"description": "A representation of the resource." +}, +"servicePerimeter": { +"$ref": "GoogleIdentityAccesscontextmanagerV1ServicePerimeter", +"description": "Please also refer to the [service perimeter user guide](https://cloud.google.com/vpc-service-controls/docs/overview)." +}, +"updateTime": { +"description": "The last update timestamp of an asset. update_time is updated when create/update/delete operation is performed.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAssetV1p7beta1RelatedAsset": { +"description": "An asset identify in Google Cloud which contains its name, type and ancestors. An asset can be any resource in the Google Cloud [resource hierarchy](https://cloud.google.com/resource-manager/docs/cloud-platform-resource-hierarchy), a resource outside the Google Cloud resource hierarchy (such as Google Kubernetes Engine clusters and objects), or a policy (e.g. IAM policy). See [Supported asset types](https://cloud.google.com/asset-inventory/docs/supported-asset-types) for more information.", +"id": "GoogleCloudAssetV1p7beta1RelatedAsset", +"properties": { +"ancestors": { +"description": "The ancestors of an asset in Google Cloud [resource hierarchy](https://cloud.google.com/resource-manager/docs/cloud-platform-resource-hierarchy), represented as a list of relative resource names. An ancestry path starts with the closest ancestor in the hierarchy and ends at root. Example: `[\"projects/123456789\", \"folders/5432\", \"organizations/1234\"]`", +"items": { +"type": "string" +}, +"type": "array" +}, +"asset": { +"description": "The full name of the asset. Example: `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1` See [Resource names](https://cloud.google.com/apis/design/resource_names#full_resource_name) for more information.", +"type": "string" +}, +"assetType": { +"description": "The type of the asset. Example: `compute.googleapis.com/Disk` See [Supported asset types](https://cloud.google.com/asset-inventory/docs/supported-asset-types) for more information.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAssetV1p7beta1RelatedAssets": { +"description": "The detailed related assets with the `relationship_type`.", +"id": "GoogleCloudAssetV1p7beta1RelatedAssets", +"properties": { +"assets": { +"description": "The peer resources of the relationship.", +"items": { +"$ref": "GoogleCloudAssetV1p7beta1RelatedAsset" +}, +"type": "array" +}, +"relationshipAttributes": { +"$ref": "GoogleCloudAssetV1p7beta1RelationshipAttributes", +"description": "The detailed relation attributes." +} +}, +"type": "object" +}, +"GoogleCloudAssetV1p7beta1RelationshipAttributes": { +"description": "The relationship attributes which include `type`, `source_resource_type`, `target_resource_type` and `action`.", +"id": "GoogleCloudAssetV1p7beta1RelationshipAttributes", +"properties": { +"action": { +"description": "The detail of the relationship, e.g. `contains`, `attaches`", +"type": "string" +}, +"sourceResourceType": { +"description": "The source asset type. Example: `compute.googleapis.com/Instance`", +"type": "string" +}, +"targetResourceType": { +"description": "The target asset type. Example: `compute.googleapis.com/Disk`", +"type": "string" +}, +"type": { +"description": "The unique identifier of the relationship type. Example: `INSTANCE_TO_INSTANCEGROUP`", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAssetV1p7beta1Resource": { +"description": "A representation of a Google Cloud resource.", +"id": "GoogleCloudAssetV1p7beta1Resource", +"properties": { +"data": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"description": "The content of the resource, in which some sensitive fields are removed and may not be present.", +"type": "object" +}, +"discoveryDocumentUri": { +"description": "The URL of the discovery document containing the resource's JSON schema. Example: `https://www.googleapis.com/discovery/v1/apis/compute/v1/rest` This value is unspecified for resources that do not have an API based on a discovery document, such as Cloud Bigtable.", +"type": "string" +}, +"discoveryName": { +"description": "The JSON schema name listed in the discovery document. Example: `Project` This value is unspecified for resources that do not have an API based on a discovery document, such as Cloud Bigtable.", +"type": "string" +}, +"location": { +"description": "The location of the resource in Google Cloud, such as its zone and region. For more information, see https://cloud.google.com/about/locations/.", +"type": "string" +}, +"parent": { +"description": "The full name of the immediate parent of this resource. See [Resource Names](https://cloud.google.com/apis/design/resource_names#full_resource_name) for more information. For Google Cloud assets, this value is the parent resource defined in the [IAM policy hierarchy](https://cloud.google.com/iam/docs/overview#policy_hierarchy). Example: `//cloudresourcemanager.googleapis.com/projects/my_project_123` For third-party assets, this field may be set differently.", +"type": "string" +}, +"resourceUrl": { +"description": "The REST URL for accessing the resource. An HTTP `GET` request using this URL returns the resource itself. Example: `https://cloudresourcemanager.googleapis.com/v1/projects/my-project-123` This value is unspecified for resources without a REST API.", +"type": "string" +}, +"version": { +"description": "The API version. Example: `v1`", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudOrgpolicyV1BooleanPolicy": { +"description": "Used in `policy_type` to specify how `boolean_policy` will behave at this resource.", +"id": "GoogleCloudOrgpolicyV1BooleanPolicy", +"properties": { +"enforced": { +"description": "If `true`, then the `Policy` is enforced. If `false`, then any configuration is acceptable. Suppose you have a `Constraint` `constraints/compute.disableSerialPortAccess` with `constraint_default` set to `ALLOW`. A `Policy` for that `Constraint` exhibits the following behavior: - If the `Policy` at this resource has enforced set to `false`, serial port connection attempts will be allowed. - If the `Policy` at this resource has enforced set to `true`, serial port connection attempts will be refused. - If the `Policy` at this resource is `RestoreDefault`, serial port connection attempts will be allowed. - If no `Policy` is set at this resource or anywhere higher in the resource hierarchy, serial port connection attempts will be allowed. - If no `Policy` is set at this resource, but one exists higher in the resource hierarchy, the behavior is as if the`Policy` were set at this resource. The following examples demonstrate the different possible layerings: Example 1 (nearest `Constraint` wins): `organizations/foo` has a `Policy` with: {enforced: false} `projects/bar` has no `Policy` set. The constraint at `projects/bar` and `organizations/foo` will not be enforced. Example 2 (enforcement gets replaced): `organizations/foo` has a `Policy` with: {enforced: false} `projects/bar` has a `Policy` with: {enforced: true} The constraint at `organizations/foo` is not enforced. The constraint at `projects/bar` is enforced. Example 3 (RestoreDefault): `organizations/foo` has a `Policy` with: {enforced: true} `projects/bar` has a `Policy` with: {RestoreDefault: {}} The constraint at `organizations/foo` is enforced. The constraint at `projects/bar` is not enforced, because `constraint_default` for the `Constraint` is `ALLOW`.", +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleCloudOrgpolicyV1ListPolicy": { +"description": "Used in `policy_type` to specify how `list_policy` behaves at this resource. `ListPolicy` can define specific values and subtrees of Cloud Resource Manager resource hierarchy (`Organizations`, `Folders`, `Projects`) that are allowed or denied by setting the `allowed_values` and `denied_values` fields. This is achieved by using the `under:` and optional `is:` prefixes. The `under:` prefix is used to denote resource subtree values. The `is:` prefix is used to denote specific values, and is required only if the value contains a \":\". Values prefixed with \"is:\" are treated the same as values with no prefix. Ancestry subtrees must be in one of the following formats: - \"projects/\", e.g. \"projects/tokyo-rain-123\" - \"folders/\", e.g. \"folders/1234\" - \"organizations/\", e.g. \"organizations/1234\" The `supports_under` field of the associated `Constraint` defines whether ancestry prefixes can be used. You can set `allowed_values` and `denied_values` in the same `Policy` if `all_values` is `ALL_VALUES_UNSPECIFIED`. `ALLOW` or `DENY` are used to allow or deny all values. If `all_values` is set to either `ALLOW` or `DENY`, `allowed_values` and `denied_values` must be unset.", +"id": "GoogleCloudOrgpolicyV1ListPolicy", +"properties": { +"allValues": { +"description": "The policy all_values state.", +"enum": [ +"ALL_VALUES_UNSPECIFIED", +"ALLOW", +"DENY" +], +"enumDescriptions": [ +"Indicates that allowed_values or denied_values must be set.", +"A policy with this set allows all values.", +"A policy with this set denies all values." +], +"type": "string" +}, +"allowedValues": { +"description": "List of values allowed at this resource. Can only be set if `all_values` is set to `ALL_VALUES_UNSPECIFIED`.", +"items": { +"type": "string" +}, +"type": "array" +}, +"deniedValues": { +"description": "List of values denied at this resource. Can only be set if `all_values` is set to `ALL_VALUES_UNSPECIFIED`.", +"items": { +"type": "string" +}, +"type": "array" +}, +"inheritFromParent": { +"description": "Determines the inheritance behavior for this `Policy`. By default, a `ListPolicy` set at a resource supersedes any `Policy` set anywhere up the resource hierarchy. However, if `inherit_from_parent` is set to `true`, then the values from the effective `Policy` of the parent resource are inherited, meaning the values set in this `Policy` are added to the values inherited up the hierarchy. Setting `Policy` hierarchies that inherit both allowed values and denied values isn't recommended in most circumstances to keep the configuration simple and understandable. However, it is possible to set a `Policy` with `allowed_values` set that inherits a `Policy` with `denied_values` set. In this case, the values that are allowed must be in `allowed_values` and not present in `denied_values`. For example, suppose you have a `Constraint` `constraints/serviceuser.services`, which has a `constraint_type` of `list_constraint`, and with `constraint_default` set to `ALLOW`. Suppose that at the Organization level, a `Policy` is applied that restricts the allowed API activations to {`E1`, `E2`}. Then, if a `Policy` is applied to a project below the Organization that has `inherit_from_parent` set to `false` and field all_values set to DENY, then an attempt to activate any API will be denied. The following examples demonstrate different possible layerings for `projects/bar` parented by `organizations/foo`: Example 1 (no inherited values): `organizations/foo` has a `Policy` with values: {allowed_values: \"E1\" allowed_values:\"E2\"} `projects/bar` has `inherit_from_parent` `false` and values: {allowed_values: \"E3\" allowed_values: \"E4\"} The accepted values at `organizations/foo` are `E1`, `E2`. The accepted values at `projects/bar` are `E3`, and `E4`. Example 2 (inherited values): `organizations/foo` has a `Policy` with values: {allowed_values: \"E1\" allowed_values:\"E2\"} `projects/bar` has a `Policy` with values: {value: \"E3\" value: \"E4\" inherit_from_parent: true} The accepted values at `organizations/foo` are `E1`, `E2`. The accepted values at `projects/bar` are `E1`, `E2`, `E3`, and `E4`. Example 3 (inheriting both allowed and denied values): `organizations/foo` has a `Policy` with values: {allowed_values: \"E1\" allowed_values: \"E2\"} `projects/bar` has a `Policy` with: {denied_values: \"E1\"} The accepted values at `organizations/foo` are `E1`, `E2`. The value accepted at `projects/bar` is `E2`. Example 4 (RestoreDefault): `organizations/foo` has a `Policy` with values: {allowed_values: \"E1\" allowed_values:\"E2\"} `projects/bar` has a `Policy` with values: {RestoreDefault: {}} The accepted values at `organizations/foo` are `E1`, `E2`. The accepted values at `projects/bar` are either all or none depending on the value of `constraint_default` (if `ALLOW`, all; if `DENY`, none). Example 5 (no policy inherits parent policy): `organizations/foo` has no `Policy` set. `projects/bar` has no `Policy` set. The accepted values at both levels are either all or none depending on the value of `constraint_default` (if `ALLOW`, all; if `DENY`, none). Example 6 (ListConstraint allowing all): `organizations/foo` has a `Policy` with values: {allowed_values: \"E1\" allowed_values: \"E2\"} `projects/bar` has a `Policy` with: {all: ALLOW} The accepted values at `organizations/foo` are `E1`, E2`. Any value is accepted at `projects/bar`. Example 7 (ListConstraint allowing none): `organizations/foo` has a `Policy` with values: {allowed_values: \"E1\" allowed_values: \"E2\"} `projects/bar` has a `Policy` with: {all: DENY} The accepted values at `organizations/foo` are `E1`, E2`. No value is accepted at `projects/bar`. Example 10 (allowed and denied subtrees of Resource Manager hierarchy): Given the following resource hierarchy O1->{F1, F2}; F1->{P1}; F2->{P2, P3}, `organizations/foo` has a `Policy` with values: {allowed_values: \"under:organizations/O1\"} `projects/bar` has a `Policy` with: {allowed_values: \"under:projects/P3\"} {denied_values: \"under:folders/F2\"} The accepted values at `organizations/foo` are `organizations/O1`, `folders/F1`, `folders/F2`, `projects/P1`, `projects/P2`, `projects/P3`. The accepted values at `projects/bar` are `organizations/O1`, `folders/F1`, `projects/P1`.", +"type": "boolean" +}, +"suggestedValue": { +"description": "Optional. The Google Cloud Console will try to default to a configuration that matches the value specified in this `Policy`. If `suggested_value` is not set, it will inherit the value specified higher in the hierarchy, unless `inherit_from_parent` is `false`.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudOrgpolicyV1Policy": { +"description": "Defines a Cloud Organization `Policy` which is used to specify `Constraints` for configurations of Cloud Platform resources.", +"id": "GoogleCloudOrgpolicyV1Policy", +"properties": { +"booleanPolicy": { +"$ref": "GoogleCloudOrgpolicyV1BooleanPolicy", +"description": "For boolean `Constraints`, whether to enforce the `Constraint` or not." +}, +"constraint": { +"description": "The name of the `Constraint` the `Policy` is configuring, for example, `constraints/serviceuser.services`. A [list of available constraints](/resource-manager/docs/organization-policy/org-policy-constraints) is available. Immutable after creation.", +"type": "string" +}, +"etag": { +"description": "An opaque tag indicating the current version of the `Policy`, used for concurrency control. When the `Policy` is returned from either a `GetPolicy` or a `ListOrgPolicy` request, this `etag` indicates the version of the current `Policy` to use when executing a read-modify-write loop. When the `Policy` is returned from a `GetEffectivePolicy` request, the `etag` will be unset. When the `Policy` is used in a `SetOrgPolicy` method, use the `etag` value that was returned from a `GetOrgPolicy` request as part of a read-modify-write loop for concurrency control. Not setting the `etag`in a `SetOrgPolicy` request will result in an unconditional write of the `Policy`.", +"format": "byte", +"type": "string" +}, +"listPolicy": { +"$ref": "GoogleCloudOrgpolicyV1ListPolicy", +"description": "List of values either allowed or disallowed." +}, +"restoreDefault": { +"$ref": "GoogleCloudOrgpolicyV1RestoreDefault", +"description": "Restores the default behavior of the constraint; independent of `Constraint` type." +}, +"updateTime": { +"description": "The time stamp the `Policy` was previously updated. This is set by the server, not specified by the caller, and represents the last time a call to `SetOrgPolicy` was made for that `Policy`. Any value set by the client will be ignored.", +"format": "google-datetime", +"type": "string" +}, +"version": { +"description": "Version of the `Policy`. Default version is 0;", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"GoogleCloudOrgpolicyV1RestoreDefault": { +"description": "Ignores policies set above this resource and restores the `constraint_default` enforcement behavior of the specific `Constraint` at this resource. Suppose that `constraint_default` is set to `ALLOW` for the `Constraint` `constraints/serviceuser.services`. Suppose that organization foo.com sets a `Policy` at their Organization resource node that restricts the allowed service activations to deny all service activations. They could then set a `Policy` with the `policy_type` `restore_default` on several experimental projects, restoring the `constraint_default` enforcement of the `Constraint` for only those projects, allowing those projects to have all services activated.", +"id": "GoogleCloudOrgpolicyV1RestoreDefault", +"properties": {}, +"type": "object" +}, +"GoogleIdentityAccesscontextmanagerV1AccessLevel": { +"description": "An `AccessLevel` is a label that can be applied to requests to Google Cloud services, along with a list of requirements necessary for the label to be applied.", +"id": "GoogleIdentityAccesscontextmanagerV1AccessLevel", +"properties": { +"basic": { +"$ref": "GoogleIdentityAccesscontextmanagerV1BasicLevel", +"description": "A `BasicLevel` composed of `Conditions`." +}, +"custom": { +"$ref": "GoogleIdentityAccesscontextmanagerV1CustomLevel", +"description": "A `CustomLevel` written in the Common Expression Language." +}, +"description": { +"description": "Description of the `AccessLevel` and its use. Does not affect behavior.", +"type": "string" +}, +"name": { +"description": "Identifier. Resource name for the `AccessLevel`. Format: `accessPolicies/{access_policy}/accessLevels/{access_level}`. The `access_level` component must begin with a letter, followed by alphanumeric characters or `_`. Its maximum length is 50 characters. After you create an `AccessLevel`, you cannot change its `name`.", +"type": "string" +}, +"title": { +"description": "Human readable title. Must be unique within the Policy.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleIdentityAccesscontextmanagerV1AccessPolicy": { +"description": "`AccessPolicy` is a container for `AccessLevels` (which define the necessary attributes to use Google Cloud services) and `ServicePerimeters` (which define regions of services able to freely pass data within a perimeter). An access policy is globally visible within an organization, and the restrictions it specifies apply to all projects within an organization.", +"id": "GoogleIdentityAccesscontextmanagerV1AccessPolicy", +"properties": { +"etag": { +"description": "Output only. An opaque identifier for the current version of the `AccessPolicy`. This will always be a strongly validated etag, meaning that two Access Policies will be identical if and only if their etags are identical. Clients should not expect this to be in any specific format.", +"readOnly": true, +"type": "string" +}, +"name": { +"description": "Output only. Identifier. Resource name of the `AccessPolicy`. Format: `accessPolicies/{access_policy}`", +"type": "string" +}, +"parent": { +"description": "Required. The parent of this `AccessPolicy` in the Cloud Resource Hierarchy. Currently immutable once created. Format: `organizations/{organization_id}`", +"type": "string" +}, +"scopes": { +"description": "The scopes of the AccessPolicy. Scopes define which resources a policy can restrict and where its resources can be referenced. For example, policy A with `scopes=[\"folders/123\"]` has the following behavior: - ServicePerimeter can only restrict projects within `folders/123`. - ServicePerimeter within policy A can only reference access levels defined within policy A. - Only one policy can include a given scope; thus, attempting to create a second policy which includes `folders/123` will result in an error. If no scopes are provided, then any resource within the organization can be restricted. Scopes cannot be modified after a policy is created. Policies can only have a single scope. Format: list of `folders/{folder_number}` or `projects/{project_number}`", +"items": { +"type": "string" +}, +"type": "array" +}, +"title": { +"description": "Required. Human readable title. Does not affect behavior.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleIdentityAccesscontextmanagerV1ApiOperation": { +"description": "Identification for an API Operation.", +"id": "GoogleIdentityAccesscontextmanagerV1ApiOperation", +"properties": { +"methodSelectors": { +"description": "API methods or permissions to allow. Method or permission must belong to the service specified by `service_name` field. A single MethodSelector entry with `*` specified for the `method` field will allow all methods AND permissions for the service specified in `service_name`.", +"items": { +"$ref": "GoogleIdentityAccesscontextmanagerV1MethodSelector" +}, +"type": "array" +}, +"serviceName": { +"description": "The name of the API whose methods or permissions the IngressPolicy or EgressPolicy want to allow. A single ApiOperation with `service_name` field set to `*` will allow all methods AND permissions for all services.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleIdentityAccesscontextmanagerV1BasicLevel": { +"description": "`BasicLevel` is an `AccessLevel` using a set of recommended features.", +"id": "GoogleIdentityAccesscontextmanagerV1BasicLevel", +"properties": { +"combiningFunction": { +"description": "How the `conditions` list should be combined to determine if a request is granted this `AccessLevel`. If AND is used, each `Condition` in `conditions` must be satisfied for the `AccessLevel` to be applied. If OR is used, at least one `Condition` in `conditions` must be satisfied for the `AccessLevel` to be applied. Default behavior is AND.", +"enum": [ +"AND", +"OR" +], +"enumDescriptions": [ +"All `Conditions` must be true for the `BasicLevel` to be true.", +"If at least one `Condition` is true, then the `BasicLevel` is true." +], +"type": "string" +}, +"conditions": { +"description": "Required. A list of requirements for the `AccessLevel` to be granted.", +"items": { +"$ref": "GoogleIdentityAccesscontextmanagerV1Condition" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleIdentityAccesscontextmanagerV1Condition": { +"description": "A condition necessary for an `AccessLevel` to be granted. The Condition is an AND over its fields. So a Condition is true if: 1) the request IP is from one of the listed subnetworks AND 2) the originating device complies with the listed device policy AND 3) all listed access levels are granted AND 4) the request was sent at a time allowed by the DateTimeRestriction.", +"id": "GoogleIdentityAccesscontextmanagerV1Condition", +"properties": { +"devicePolicy": { +"$ref": "GoogleIdentityAccesscontextmanagerV1DevicePolicy", +"description": "Device specific restrictions, all restrictions must hold for the Condition to be true. If not specified, all devices are allowed." +}, +"ipSubnetworks": { +"description": "CIDR block IP subnetwork specification. May be IPv4 or IPv6. Note that for a CIDR IP address block, the specified IP address portion must be properly truncated (i.e. all the host bits must be zero) or the input is considered malformed. For example, \"192.0.2.0/24\" is accepted but \"192.0.2.1/24\" is not. Similarly, for IPv6, \"2001:db8::/32\" is accepted whereas \"2001:db8::1/32\" is not. The originating IP of a request must be in one of the listed subnets in order for this Condition to be true. If empty, all IP addresses are allowed.", +"items": { +"type": "string" +}, +"type": "array" +}, +"members": { +"description": "The request must be made by one of the provided user or service accounts. Groups are not supported. Syntax: `user:{emailid}` `serviceAccount:{emailid}` If not specified, a request may come from any user.", +"items": { +"type": "string" +}, +"type": "array" +}, +"negate": { +"description": "Whether to negate the Condition. If true, the Condition becomes a NAND over its non-empty fields. Any non-empty field criteria evaluating to false will result in the Condition to be satisfied. Defaults to false.", +"type": "boolean" +}, +"regions": { +"description": "The request must originate from one of the provided countries/regions. Must be valid ISO 3166-1 alpha-2 codes.", +"items": { +"type": "string" +}, +"type": "array" +}, +"requiredAccessLevels": { +"description": "A list of other access levels defined in the same `Policy`, referenced by resource name. Referencing an `AccessLevel` which does not exist is an error. All access levels listed must be granted for the Condition to be true. Example: \"`accessPolicies/MY_POLICY/accessLevels/LEVEL_NAME\"`", +"items": { +"type": "string" +}, +"type": "array" +}, +"vpcNetworkSources": { +"description": "The request must originate from one of the provided VPC networks in Google Cloud. Cannot specify this field together with `ip_subnetworks`.", +"items": { +"$ref": "GoogleIdentityAccesscontextmanagerV1VpcNetworkSource" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleIdentityAccesscontextmanagerV1CustomLevel": { +"description": "`CustomLevel` is an `AccessLevel` using the Cloud Common Expression Language to represent the necessary conditions for the level to apply to a request. See CEL spec at: https://github.com/google/cel-spec", +"id": "GoogleIdentityAccesscontextmanagerV1CustomLevel", +"properties": { +"expr": { +"$ref": "Expr", +"description": "Required. A Cloud CEL expression evaluating to a boolean." +} +}, +"type": "object" +}, +"GoogleIdentityAccesscontextmanagerV1DevicePolicy": { +"description": "`DevicePolicy` specifies device specific restrictions necessary to acquire a given access level. A `DevicePolicy` specifies requirements for requests from devices to be granted access levels, it does not do any enforcement on the device. `DevicePolicy` acts as an AND over all specified fields, and each repeated field is an OR over its elements. Any unset fields are ignored. For example, if the proto is { os_type : DESKTOP_WINDOWS, os_type : DESKTOP_LINUX, encryption_status: ENCRYPTED}, then the DevicePolicy will be true for requests originating from encrypted Linux desktops and encrypted Windows desktops.", +"id": "GoogleIdentityAccesscontextmanagerV1DevicePolicy", +"properties": { +"allowedDeviceManagementLevels": { +"description": "Allowed device management levels, an empty list allows all management levels.", +"items": { +"enum": [ +"MANAGEMENT_UNSPECIFIED", +"NONE", +"BASIC", +"COMPLETE" +], +"enumDescriptions": [ +"The device's management level is not specified or not known.", +"The device is not managed.", +"Basic management is enabled, which is generally limited to monitoring and wiping the corporate account.", +"Complete device management. This includes more thorough monitoring and the ability to directly manage the device (such as remote wiping). This can be enabled through the Android Enterprise Platform." +], +"type": "string" +}, +"type": "array" +}, +"allowedEncryptionStatuses": { +"description": "Allowed encryptions statuses, an empty list allows all statuses.", +"items": { +"enum": [ +"ENCRYPTION_UNSPECIFIED", +"ENCRYPTION_UNSUPPORTED", +"UNENCRYPTED", +"ENCRYPTED" +], +"enumDescriptions": [ +"The encryption status of the device is not specified or not known.", +"The device does not support encryption.", +"The device supports encryption, but is currently unencrypted.", +"The device is encrypted." +], +"type": "string" +}, +"type": "array" +}, +"osConstraints": { +"description": "Allowed OS versions, an empty list allows all types and all versions.", +"items": { +"$ref": "GoogleIdentityAccesscontextmanagerV1OsConstraint" +}, +"type": "array" +}, +"requireAdminApproval": { +"description": "Whether the device needs to be approved by the customer admin.", +"type": "boolean" +}, +"requireCorpOwned": { +"description": "Whether the device needs to be corp owned.", +"type": "boolean" +}, +"requireScreenlock": { +"description": "Whether or not screenlock is required for the DevicePolicy to be true. Defaults to `false`.", +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleIdentityAccesscontextmanagerV1EgressFrom": { +"description": "Defines the conditions under which an EgressPolicy matches a request. Conditions based on information about the source of the request. Note that if the destination of the request is also protected by a ServicePerimeter, then that ServicePerimeter must have an IngressPolicy which allows access in order for this request to succeed.", +"id": "GoogleIdentityAccesscontextmanagerV1EgressFrom", +"properties": { +"identities": { +"description": "A list of identities that are allowed access through [EgressPolicy]. Identities can be an individual user, service account, Google group, or third-party identity. For third-party identity, only single identities are supported and other identity types are not supported. The `v1` identities that have the prefix `user`, `group`, `serviceAccount`, and `principal` in https://cloud.google.com/iam/docs/principal-identifiers#v1 are supported.", +"items": { +"type": "string" +}, +"type": "array" +}, +"identityType": { +"description": "Specifies the type of identities that are allowed access to outside the perimeter. If left unspecified, then members of `identities` field will be allowed access.", +"enum": [ +"IDENTITY_TYPE_UNSPECIFIED", +"ANY_IDENTITY", +"ANY_USER_ACCOUNT", +"ANY_SERVICE_ACCOUNT" +], +"enumDescriptions": [ +"No blanket identity group specified.", +"Authorize access from all identities outside the perimeter.", +"Authorize access from all human users outside the perimeter.", +"Authorize access from all service accounts outside the perimeter." +], +"type": "string" +}, +"sourceRestriction": { +"description": "Whether to enforce traffic restrictions based on `sources` field. If the `sources` fields is non-empty, then this field must be set to `SOURCE_RESTRICTION_ENABLED`.", +"enum": [ +"SOURCE_RESTRICTION_UNSPECIFIED", +"SOURCE_RESTRICTION_ENABLED", +"SOURCE_RESTRICTION_DISABLED" +], +"enumDescriptions": [ +"Enforcement preference unspecified, will not enforce traffic restrictions based on `sources` in EgressFrom.", +"Enforcement preference enabled, traffic restrictions will be enforced based on `sources` in EgressFrom.", +"Enforcement preference disabled, will not enforce traffic restrictions based on `sources` in EgressFrom." +], +"type": "string" +}, +"sources": { +"description": "Sources that this EgressPolicy authorizes access from. If this field is not empty, then `source_restriction` must be set to `SOURCE_RESTRICTION_ENABLED`.", +"items": { +"$ref": "GoogleIdentityAccesscontextmanagerV1EgressSource" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleIdentityAccesscontextmanagerV1EgressPolicy": { +"description": "Policy for egress from perimeter. EgressPolicies match requests based on `egress_from` and `egress_to` stanzas. For an EgressPolicy to match, both `egress_from` and `egress_to` stanzas must be matched. If an EgressPolicy matches a request, the request is allowed to span the ServicePerimeter boundary. For example, an EgressPolicy can be used to allow VMs on networks within the ServicePerimeter to access a defined set of projects outside the perimeter in certain contexts (e.g. to read data from a Cloud Storage bucket or query against a BigQuery dataset). EgressPolicies are concerned with the *resources* that a request relates as well as the API services and API actions being used. They do not related to the direction of data movement. More detailed documentation for this concept can be found in the descriptions of EgressFrom and EgressTo.", +"id": "GoogleIdentityAccesscontextmanagerV1EgressPolicy", +"properties": { +"egressFrom": { +"$ref": "GoogleIdentityAccesscontextmanagerV1EgressFrom", +"description": "Defines conditions on the source of a request causing this EgressPolicy to apply." +}, +"egressTo": { +"$ref": "GoogleIdentityAccesscontextmanagerV1EgressTo", +"description": "Defines the conditions on the ApiOperation and destination resources that cause this EgressPolicy to apply." +}, +"title": { +"description": "Optional. Human-readable title for the egress rule. The title must be unique within the perimeter and can not exceed 100 characters. Within the access policy, the combined length of all rule titles must not exceed 240,000 characters.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleIdentityAccesscontextmanagerV1EgressSource": { +"description": "The source that EgressPolicy authorizes access from inside the ServicePerimeter to somewhere outside the ServicePerimeter boundaries.", +"id": "GoogleIdentityAccesscontextmanagerV1EgressSource", +"properties": { +"accessLevel": { +"description": "An AccessLevel resource name that allows protected resources inside the ServicePerimeters to access outside the ServicePerimeter boundaries. AccessLevels listed must be in the same policy as this ServicePerimeter. Referencing a nonexistent AccessLevel will cause an error. If an AccessLevel name is not specified, only resources within the perimeter can be accessed through Google Cloud calls with request origins within the perimeter. Example: `accessPolicies/MY_POLICY/accessLevels/MY_LEVEL`. If a single `*` is specified for `access_level`, then all EgressSources will be allowed.", +"type": "string" +}, +"resource": { +"description": "A Google Cloud resource from the service perimeter that you want to allow to access data outside the perimeter. This field supports only projects. The project format is `projects/{project_number}`. You can't use `*` in this field to allow all Google Cloud resources.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleIdentityAccesscontextmanagerV1EgressTo": { +"description": "Defines the conditions under which an EgressPolicy matches a request. Conditions are based on information about the ApiOperation intended to be performed on the `resources` specified. Note that if the destination of the request is also protected by a ServicePerimeter, then that ServicePerimeter must have an IngressPolicy which allows access in order for this request to succeed. The request must match `operations` AND `resources` fields in order to be allowed egress out of the perimeter.", +"id": "GoogleIdentityAccesscontextmanagerV1EgressTo", +"properties": { +"externalResources": { +"description": "A list of external resources that are allowed to be accessed. Only AWS and Azure resources are supported. For Amazon S3, the supported formats are s3://BUCKET_NAME, s3a://BUCKET_NAME, and s3n://BUCKET_NAME. For Azure Storage, the supported format is azure://myaccount.blob.core.windows.net/CONTAINER_NAME. A request matches if it contains an external resource in this list (Example: s3://bucket/path). Currently '*' is not allowed.", +"items": { +"type": "string" +}, +"type": "array" +}, +"operations": { +"description": "A list of ApiOperations allowed to be performed by the sources specified in the corresponding EgressFrom. A request matches if it uses an operation/service in this list.", +"items": { +"$ref": "GoogleIdentityAccesscontextmanagerV1ApiOperation" +}, +"type": "array" +}, +"resources": { +"description": "A list of resources, currently only projects in the form `projects/`, that are allowed to be accessed by sources defined in the corresponding EgressFrom. A request matches if it contains a resource in this list. If `*` is specified for `resources`, then this EgressTo rule will authorize access to all resources outside the perimeter.", +"items": { +"type": "string" +}, +"type": "array" +}, +"roles": { +"description": "IAM roles that represent the set of operations that the sources specified in the corresponding EgressFrom. are allowed to perform in this ServicePerimeter.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleIdentityAccesscontextmanagerV1IngressFrom": { +"description": "Defines the conditions under which an IngressPolicy matches a request. Conditions are based on information about the source of the request. The request must satisfy what is defined in `sources` AND identity related fields in order to match.", +"id": "GoogleIdentityAccesscontextmanagerV1IngressFrom", +"properties": { +"identities": { +"description": "A list of identities that are allowed access through [IngressPolicy]. Identities can be an individual user, service account, Google group, or third-party identity. For third-party identity, only single identities are supported and other identity types are not supported. The `v1` identities that have the prefix `user`, `group`, `serviceAccount`, and `principal` in https://cloud.google.com/iam/docs/principal-identifiers#v1 are supported.", +"items": { +"type": "string" +}, +"type": "array" +}, +"identityType": { +"description": "Specifies the type of identities that are allowed access from outside the perimeter. If left unspecified, then members of `identities` field will be allowed access.", +"enum": [ +"IDENTITY_TYPE_UNSPECIFIED", +"ANY_IDENTITY", +"ANY_USER_ACCOUNT", +"ANY_SERVICE_ACCOUNT" +], +"enumDescriptions": [ +"No blanket identity group specified.", +"Authorize access from all identities outside the perimeter.", +"Authorize access from all human users outside the perimeter.", +"Authorize access from all service accounts outside the perimeter." +], +"type": "string" +}, +"sources": { +"description": "Sources that this IngressPolicy authorizes access from.", +"items": { +"$ref": "GoogleIdentityAccesscontextmanagerV1IngressSource" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleIdentityAccesscontextmanagerV1IngressPolicy": { +"description": "Policy for ingress into ServicePerimeter. IngressPolicies match requests based on `ingress_from` and `ingress_to` stanzas. For an ingress policy to match, both the `ingress_from` and `ingress_to` stanzas must be matched. If an IngressPolicy matches a request, the request is allowed through the perimeter boundary from outside the perimeter. For example, access from the internet can be allowed either based on an AccessLevel or, for traffic hosted on Google Cloud, the project of the source network. For access from private networks, using the project of the hosting network is required. Individual ingress policies can be limited by restricting which services and/or actions they match using the `ingress_to` field.", +"id": "GoogleIdentityAccesscontextmanagerV1IngressPolicy", +"properties": { +"ingressFrom": { +"$ref": "GoogleIdentityAccesscontextmanagerV1IngressFrom", +"description": "Defines the conditions on the source of a request causing this IngressPolicy to apply." +}, +"ingressTo": { +"$ref": "GoogleIdentityAccesscontextmanagerV1IngressTo", +"description": "Defines the conditions on the ApiOperation and request destination that cause this IngressPolicy to apply." +}, +"title": { +"description": "Optional. Human-readable title for the ingress rule. The title must be unique within the perimeter and can not exceed 100 characters. Within the access policy, the combined length of all rule titles must not exceed 240,000 characters.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleIdentityAccesscontextmanagerV1IngressSource": { +"description": "The source that IngressPolicy authorizes access from.", +"id": "GoogleIdentityAccesscontextmanagerV1IngressSource", +"properties": { +"accessLevel": { +"description": "An AccessLevel resource name that allow resources within the ServicePerimeters to be accessed from the internet. AccessLevels listed must be in the same policy as this ServicePerimeter. Referencing a nonexistent AccessLevel will cause an error. If no AccessLevel names are listed, resources within the perimeter can only be accessed via Google Cloud calls with request origins within the perimeter. Example: `accessPolicies/MY_POLICY/accessLevels/MY_LEVEL`. If a single `*` is specified for `access_level`, then all IngressSources will be allowed.", +"type": "string" +}, +"resource": { +"description": "A Google Cloud resource that is allowed to ingress the perimeter. Requests from these resources will be allowed to access perimeter data. Currently only projects and VPCs are allowed. Project format: `projects/{project_number}` VPC network format: `//compute.googleapis.com/projects/{PROJECT_ID}/global/networks/{NAME}`. The project may be in any Google Cloud organization, not just the organization that the perimeter is defined in. `*` is not allowed, the case of allowing all Google Cloud resources only is not supported.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleIdentityAccesscontextmanagerV1IngressTo": { +"description": "Defines the conditions under which an IngressPolicy matches a request. Conditions are based on information about the ApiOperation intended to be performed on the target resource of the request. The request must satisfy what is defined in `operations` AND `resources` in order to match.", +"id": "GoogleIdentityAccesscontextmanagerV1IngressTo", +"properties": { +"operations": { +"description": "A list of ApiOperations allowed to be performed by the sources specified in corresponding IngressFrom in this ServicePerimeter.", +"items": { +"$ref": "GoogleIdentityAccesscontextmanagerV1ApiOperation" +}, +"type": "array" +}, +"resources": { +"description": "A list of resources, currently only projects in the form `projects/`, protected by this ServicePerimeter that are allowed to be accessed by sources defined in the corresponding IngressFrom. If a single `*` is specified, then access to all resources inside the perimeter are allowed.", +"items": { +"type": "string" +}, +"type": "array" +}, +"roles": { +"description": "IAM roles that represent the set of operations that the sources specified in the corresponding IngressFrom are allowed to perform in this ServicePerimeter.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleIdentityAccesscontextmanagerV1MethodSelector": { +"description": "An allowed method or permission of a service specified in ApiOperation.", +"id": "GoogleIdentityAccesscontextmanagerV1MethodSelector", +"properties": { +"method": { +"description": "A valid method name for the corresponding `service_name` in ApiOperation. If `*` is used as the value for the `method`, then ALL methods and permissions are allowed.", +"type": "string" +}, +"permission": { +"description": "A valid Cloud IAM permission for the corresponding `service_name` in ApiOperation.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleIdentityAccesscontextmanagerV1OsConstraint": { +"description": "A restriction on the OS type and version of devices making requests.", +"id": "GoogleIdentityAccesscontextmanagerV1OsConstraint", +"properties": { +"minimumVersion": { +"description": "The minimum allowed OS version. If not set, any version of this OS satisfies the constraint. Format: `\"major.minor.patch\"`. Examples: `\"10.5.301\"`, `\"9.2.1\"`.", +"type": "string" +}, +"osType": { +"description": "Required. The allowed OS type.", +"enum": [ +"OS_UNSPECIFIED", +"DESKTOP_MAC", +"DESKTOP_WINDOWS", +"DESKTOP_LINUX", +"DESKTOP_CHROME_OS", +"ANDROID", +"IOS" +], +"enumDescriptions": [ +"The operating system of the device is not specified or not known.", +"A desktop Mac operating system.", +"A desktop Windows operating system.", +"A desktop Linux operating system.", +"A desktop ChromeOS operating system.", +"An Android operating system.", +"An iOS operating system." +], +"type": "string" +}, +"requireVerifiedChromeOs": { +"description": "Only allows requests from devices with a verified Chrome OS. Verifications includes requirements that the device is enterprise-managed, conformant to domain policies, and the caller has permission to call the API targeted by the request.", +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleIdentityAccesscontextmanagerV1ServicePerimeter": { +"description": "`ServicePerimeter` describes a set of Google Cloud resources which can freely import and export data amongst themselves, but not export outside of the `ServicePerimeter`. If a request with a source within this `ServicePerimeter` has a target outside of the `ServicePerimeter`, the request will be blocked. Otherwise the request is allowed. There are two types of Service Perimeter - Regular and Bridge. Regular Service Perimeters cannot overlap, a single Google Cloud project or VPC network can only belong to a single regular Service Perimeter. Service Perimeter Bridges can contain only Google Cloud projects as members, a single Google Cloud project may belong to multiple Service Perimeter Bridges.", +"id": "GoogleIdentityAccesscontextmanagerV1ServicePerimeter", +"properties": { +"description": { +"description": "Description of the `ServicePerimeter` and its use. Does not affect behavior.", +"type": "string" +}, +"etag": { +"description": "Optional. An opaque identifier for the current version of the `ServicePerimeter`. This identifier does not follow any specific format. If an etag is not provided, the operation will be performed as if a valid etag is provided.", +"type": "string" +}, +"name": { +"description": "Identifier. Resource name for the `ServicePerimeter`. Format: `accessPolicies/{access_policy}/servicePerimeters/{service_perimeter}`. The `service_perimeter` component must begin with a letter, followed by alphanumeric characters or `_`. After you create a `ServicePerimeter`, you cannot change its `name`.", +"type": "string" +}, +"perimeterType": { +"description": "Perimeter type indicator. A single project or VPC network is allowed to be a member of single regular perimeter, but multiple service perimeter bridges. A project cannot be a included in a perimeter bridge without being included in regular perimeter. For perimeter bridges, the restricted service list as well as access level lists must be empty.", +"enum": [ +"PERIMETER_TYPE_REGULAR", +"PERIMETER_TYPE_BRIDGE" +], +"enumDescriptions": [ +"Regular Perimeter. When no value is specified, the perimeter uses this type.", +"Perimeter Bridge." +], +"type": "string" +}, +"spec": { +"$ref": "GoogleIdentityAccesscontextmanagerV1ServicePerimeterConfig", +"description": "Proposed (or dry run) ServicePerimeter configuration. This configuration allows to specify and test ServicePerimeter configuration without enforcing actual access restrictions. Only allowed to be set when the \"use_explicit_dry_run_spec\" flag is set." +}, +"status": { +"$ref": "GoogleIdentityAccesscontextmanagerV1ServicePerimeterConfig", +"description": "Current ServicePerimeter configuration. Specifies sets of resources, restricted services and access levels that determine perimeter content and boundaries." +}, +"title": { +"description": "Human readable title. Must be unique within the Policy.", +"type": "string" +}, +"useExplicitDryRunSpec": { +"description": "Use explicit dry run spec flag. Ordinarily, a dry-run spec implicitly exists for all Service Perimeters, and that spec is identical to the status for those Service Perimeters. When this flag is set, it inhibits the generation of the implicit spec, thereby allowing the user to explicitly provide a configuration (\"spec\") to use in a dry-run version of the Service Perimeter. This allows the user to test changes to the enforced config (\"status\") without actually enforcing them. This testing is done through analyzing the differences between currently enforced and suggested restrictions. use_explicit_dry_run_spec must bet set to True if any of the fields in the spec are set to non-default values.", +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleIdentityAccesscontextmanagerV1ServicePerimeterConfig": { +"description": "`ServicePerimeterConfig` specifies a set of Google Cloud resources that describe specific Service Perimeter configuration.", +"id": "GoogleIdentityAccesscontextmanagerV1ServicePerimeterConfig", +"properties": { +"accessLevels": { +"description": "A list of `AccessLevel` resource names that allow resources within the `ServicePerimeter` to be accessed from the internet. `AccessLevels` listed must be in the same policy as this `ServicePerimeter`. Referencing a nonexistent `AccessLevel` is a syntax error. If no `AccessLevel` names are listed, resources within the perimeter can only be accessed via Google Cloud calls with request origins within the perimeter. Example: `\"accessPolicies/MY_POLICY/accessLevels/MY_LEVEL\"`. For Service Perimeter Bridge, must be empty.", +"items": { +"type": "string" +}, +"type": "array" +}, +"egressPolicies": { +"description": "List of EgressPolicies to apply to the perimeter. A perimeter may have multiple EgressPolicies, each of which is evaluated separately. Access is granted if any EgressPolicy grants it. Must be empty for a perimeter bridge.", +"items": { +"$ref": "GoogleIdentityAccesscontextmanagerV1EgressPolicy" +}, +"type": "array" +}, +"ingressPolicies": { +"description": "List of IngressPolicies to apply to the perimeter. A perimeter may have multiple IngressPolicies, each of which is evaluated separately. Access is granted if any Ingress Policy grants it. Must be empty for a perimeter bridge.", +"items": { +"$ref": "GoogleIdentityAccesscontextmanagerV1IngressPolicy" +}, +"type": "array" +}, +"resources": { +"description": "A list of Google Cloud resources that are inside of the service perimeter. Currently only projects and VPCs are allowed. Project format: `projects/{project_number}` VPC network format: `//compute.googleapis.com/projects/{PROJECT_ID}/global/networks/{NAME}`.", +"items": { +"type": "string" +}, +"type": "array" +}, +"restrictedServices": { +"description": "Google Cloud services that are subject to the Service Perimeter restrictions. For example, if `storage.googleapis.com` is specified, access to the storage buckets inside the perimeter must meet the perimeter's access restrictions.", +"items": { +"type": "string" +}, +"type": "array" +}, +"vpcAccessibleServices": { +"$ref": "GoogleIdentityAccesscontextmanagerV1VpcAccessibleServices", +"description": "Configuration for APIs allowed within Perimeter." +} +}, +"type": "object" +}, +"GoogleIdentityAccesscontextmanagerV1VpcAccessibleServices": { +"description": "Specifies how APIs are allowed to communicate within the Service Perimeter.", +"id": "GoogleIdentityAccesscontextmanagerV1VpcAccessibleServices", +"properties": { +"allowedServices": { +"description": "The list of APIs usable within the Service Perimeter. Must be empty unless 'enable_restriction' is True. You can specify a list of individual services, as well as include the 'RESTRICTED-SERVICES' value, which automatically includes all of the services protected by the perimeter.", +"items": { +"type": "string" +}, +"type": "array" +}, +"enableRestriction": { +"description": "Whether to restrict API calls within the Service Perimeter to the list of APIs specified in 'allowed_services'.", +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleIdentityAccesscontextmanagerV1VpcNetworkSource": { +"description": "The originating network source in Google Cloud.", +"id": "GoogleIdentityAccesscontextmanagerV1VpcNetworkSource", +"properties": { +"vpcSubnetwork": { +"$ref": "GoogleIdentityAccesscontextmanagerV1VpcSubNetwork", +"description": "Sub-segment ranges of a VPC network." +} +}, +"type": "object" +}, +"GoogleIdentityAccesscontextmanagerV1VpcSubNetwork": { +"description": "Sub-segment ranges inside of a VPC Network.", +"id": "GoogleIdentityAccesscontextmanagerV1VpcSubNetwork", +"properties": { +"network": { +"description": "Required. Network name. If the network is not part of the organization, the `compute.network.get` permission must be granted to the caller. Format: `//compute.googleapis.com/projects/{PROJECT_ID}/global/networks/{NETWORK_NAME}` Example: `//compute.googleapis.com/projects/my-project/global/networks/network-1`", +"type": "string" +}, +"vpcIpSubnetworks": { +"description": "CIDR block IP subnetwork specification. The IP address must be an IPv4 address and can be a public or private IP address. Note that for a CIDR IP address block, the specified IP address portion must be properly truncated (i.e. all the host bits must be zero) or the input is considered malformed. For example, \"192.0.2.0/24\" is accepted but \"192.0.2.1/24\" is not. If empty, all IP addresses are allowed.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"Operation": { +"description": "This resource represents a long-running operation that is the result of a network API call.", +"id": "Operation", +"properties": { +"done": { +"description": "If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.", +"type": "boolean" +}, +"error": { +"$ref": "Status", +"description": "The error result of the operation in case of failure or cancellation." +}, +"metadata": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.", +"type": "object" +}, +"name": { +"description": "The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.", +"type": "string" +}, +"response": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "The normal, successful response of the operation. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.", +"type": "object" +} +}, +"type": "object" +}, +"OutputConfig": { +"description": "Output configuration for export assets destination.", +"id": "OutputConfig", +"properties": { +"gcsDestination": { +"$ref": "GcsDestination", +"description": "Destination on Cloud Storage." +} +}, +"type": "object" +}, +"Policy": { +"description": "An Identity and Access Management (IAM) policy, which specifies access controls for Google Cloud resources. A `Policy` is a collection of `bindings`. A `binding` binds one or more `members`, or principals, to a single `role`. Principals can be user accounts, service accounts, Google groups, and domains (such as G Suite). A `role` is a named list of permissions; each `role` can be an IAM predefined role or a user-created custom role. For some types of Google Cloud resources, a `binding` can also specify a `condition`, which is a logical expression that allows access to a resource only if the expression evaluates to `true`. A condition can add constraints based on attributes of the request, the resource, or both. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). **JSON example:** ``` { \"bindings\": [ { \"role\": \"roles/resourcemanager.organizationAdmin\", \"members\": [ \"user:mike@example.com\", \"group:admins@example.com\", \"domain:google.com\", \"serviceAccount:my-project-id@appspot.gserviceaccount.com\" ] }, { \"role\": \"roles/resourcemanager.organizationViewer\", \"members\": [ \"user:eve@example.com\" ], \"condition\": { \"title\": \"expirable access\", \"description\": \"Does not grant access after Sep 2020\", \"expression\": \"request.time < timestamp('2020-10-01T00:00:00.000Z')\", } } ], \"etag\": \"BwWWja0YfJA=\", \"version\": 3 } ``` **YAML example:** ``` bindings: - members: - user:mike@example.com - group:admins@example.com - domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.com role: roles/resourcemanager.organizationViewer condition: title: expirable access description: Does not grant access after Sep 2020 expression: request.time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 ``` For a description of IAM and its features, see the [IAM documentation](https://cloud.google.com/iam/docs/).", +"id": "Policy", +"properties": { +"auditConfigs": { +"description": "Specifies cloud audit logging configuration for this policy.", +"items": { +"$ref": "AuditConfig" +}, +"type": "array" +}, +"bindings": { +"description": "Associates a list of `members`, or principals, with a `role`. Optionally, may specify a `condition` that determines how and when the `bindings` are applied. Each of the `bindings` must contain at least one principal. The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250 of these principals can be Google groups. Each occurrence of a principal counts towards these limits. For example, if the `bindings` grant 50 different roles to `user:alice@example.com`, and not to any other principal, then you can add another 1,450 principals to the `bindings` in the `Policy`.", +"items": { +"$ref": "Binding" +}, +"type": "array" +}, +"etag": { +"description": "`etag` is used for optimistic concurrency control as a way to help prevent simultaneous updates of a policy from overwriting each other. It is strongly suggested that systems make use of the `etag` in the read-modify-write cycle to perform policy updates in order to avoid race conditions: An `etag` is returned in the response to `getIamPolicy`, and systems are expected to put that etag in the request to `setIamPolicy` to ensure that their change will be applied to the same version of the policy. **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost.", +"format": "byte", +"type": "string" +}, +"version": { +"description": "Specifies the format of the policy. Valid values are `0`, `1`, and `3`. Requests that specify an invalid value are rejected. Any operation that affects conditional role bindings must specify version `3`. This requirement applies to the following operations: * Getting a policy that includes a conditional role binding * Adding a conditional role binding to a policy * Changing a conditional role binding in a policy * Removing any role binding, with or without a condition, from a policy that includes conditions **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost. If a policy does not include any conditions, operations on that policy may specify any valid version or leave the field unset. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"Resource": { +"description": "A representation of a Google Cloud resource.", +"id": "Resource", +"properties": { +"data": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"description": "The content of the resource, in which some sensitive fields are removed and may not be present.", +"type": "object" +}, +"discoveryDocumentUri": { +"description": "The URL of the discovery document containing the resource's JSON schema. Example: `https://www.googleapis.com/discovery/v1/apis/compute/v1/rest` This value is unspecified for resources that do not have an API based on a discovery document, such as Cloud Bigtable.", +"type": "string" +}, +"discoveryName": { +"description": "The JSON schema name listed in the discovery document. Example: `Project` This value is unspecified for resources that do not have an API based on a discovery document, such as Cloud Bigtable.", +"type": "string" +}, +"parent": { +"description": "The full name of the immediate parent of this resource. See [Resource Names](https://cloud.google.com/apis/design/resource_names#full_resource_name) for more information. For Google Cloud assets, this value is the parent resource defined in the [IAM policy hierarchy](https://cloud.google.com/iam/docs/overview#policy_hierarchy). Example: `//cloudresourcemanager.googleapis.com/projects/my_project_123` For third-party assets, this field may be set differently.", +"type": "string" +}, +"resourceUrl": { +"description": "The REST URL for accessing the resource. An HTTP `GET` request using this URL returns the resource itself. Example: `https://cloudresourcemanager.googleapis.com/v1/projects/my-project-123` This value is unspecified for resources without a REST API.", +"type": "string" +}, +"version": { +"description": "The API version. Example: `v1`", +"type": "string" +} +}, +"type": "object" +}, +"Status": { +"description": "The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors).", +"id": "Status", +"properties": { +"code": { +"description": "The status code, which should be an enum value of google.rpc.Code.", +"format": "int32", +"type": "integer" +}, +"details": { +"description": "A list of messages that carry the error details. There is a common set of message types for APIs to use.", +"items": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.", +"type": "string" +} +}, +"type": "object" +}, +"TemporalAsset": { +"description": "An asset in Google Cloud and its temporal metadata, including the time window when it was observed and its status during that window.", +"id": "TemporalAsset", +"properties": { +"asset": { +"$ref": "Asset", +"description": "An asset in Google Cloud." +}, +"deleted": { +"description": "Whether the asset has been deleted or not.", +"type": "boolean" +}, +"window": { +"$ref": "TimeWindow", +"description": "The time window when the asset data and state was observed." +} +}, +"type": "object" +}, +"TimeWindow": { +"description": "A time window specified by its `start_time` and `end_time`.", +"id": "TimeWindow", +"properties": { +"endTime": { +"description": "End time of the time window (inclusive). If not specified, the current timestamp is used instead.", +"format": "google-datetime", +"type": "string" +}, +"startTime": { +"description": "Start time of the time window (exclusive).", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +} +}, +"servicePath": "", +"title": "Cloud Asset API", +"version": "v1beta1", +"version_module": true +} \ No newline at end of file diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/cloudasset.v1p1beta1.json b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/cloudasset.v1p1beta1.json new file mode 100644 index 0000000000000000000000000000000000000000..bde6f5cc0ff6cc900acf5d21f3b84850becf7a0b --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/cloudasset.v1p1beta1.json @@ -0,0 +1,1396 @@ +{ +"auth": { +"oauth2": { +"scopes": { +"https://www.googleapis.com/auth/cloud-platform": { +"description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." +} +} +} +}, +"basePath": "", +"baseUrl": "https://cloudasset.googleapis.com/", +"batchPath": "batch", +"canonicalName": "Cloud Asset", +"description": "The Cloud Asset API manages the history and inventory of Google Cloud resources.", +"discoveryVersion": "v1", +"documentationLink": "https://cloud.google.com/asset-inventory/docs/quickstart", +"fullyEncodeReservedExpansion": true, +"icons": { +"x16": "http://www.google.com/images/icons/product/search-16.gif", +"x32": "http://www.google.com/images/icons/product/search-32.gif" +}, +"id": "cloudasset:v1p1beta1", +"kind": "discovery#restDescription", +"mtlsRootUrl": "https://cloudasset.mtls.googleapis.com/", +"name": "cloudasset", +"ownerDomain": "google.com", +"ownerName": "Google", +"parameters": { +"$.xgafv": { +"description": "V1 error format.", +"enum": [ +"1", +"2" +], +"enumDescriptions": [ +"v1 error format", +"v2 error format" +], +"location": "query", +"type": "string" +}, +"access_token": { +"description": "OAuth access token.", +"location": "query", +"type": "string" +}, +"alt": { +"default": "json", +"description": "Data format for response.", +"enum": [ +"json", +"media", +"proto" +], +"enumDescriptions": [ +"Responses with Content-Type of application/json", +"Media download with context-dependent Content-Type", +"Responses with Content-Type of application/x-protobuf" +], +"location": "query", +"type": "string" +}, +"callback": { +"description": "JSONP", +"location": "query", +"type": "string" +}, +"fields": { +"description": "Selector specifying which fields to include in a partial response.", +"location": "query", +"type": "string" +}, +"key": { +"description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", +"location": "query", +"type": "string" +}, +"oauth_token": { +"description": "OAuth 2.0 token for the current user.", +"location": "query", +"type": "string" +}, +"prettyPrint": { +"default": "true", +"description": "Returns response with indentations and line breaks.", +"location": "query", +"type": "boolean" +}, +"quotaUser": { +"description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.", +"location": "query", +"type": "string" +}, +"uploadType": { +"description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", +"location": "query", +"type": "string" +}, +"upload_protocol": { +"description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", +"location": "query", +"type": "string" +} +}, +"protocol": "rest", +"resources": { +"iamPolicies": { +"methods": { +"searchAll": { +"description": "Searches all the IAM policies within a given accessible Resource Manager scope (project/folder/organization). This RPC gives callers especially administrators the ability to search all the IAM policies within a scope, even if they don't have `.getIamPolicy` permission of all the IAM policies. Callers should have `cloudasset.assets.searchAllIamPolicies` permission on the requested scope, otherwise the request will be rejected.", +"flatPath": "v1p1beta1/{v1p1beta1Id}/{v1p1beta1Id1}/iamPolicies:searchAll", +"httpMethod": "GET", +"id": "cloudasset.iamPolicies.searchAll", +"parameterOrder": [ +"scope" +], +"parameters": { +"pageSize": { +"description": "Optional. The page size for search result pagination. Page size is capped at 500 even if a larger value is given. If set to zero, server will pick an appropriate default. Returned results may be fewer than requested. When this happens, there could be more results as long as `next_page_token` is returned.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. If present, retrieve the next batch of results from the preceding call to this method. `page_token` must be the value of `next_page_token` from the previous response. The values of all other method parameters must be identical to those in the previous call.", +"location": "query", +"type": "string" +}, +"query": { +"description": "Optional. The query statement. Examples: * \"policy:myuser@mydomain.com\" * \"policy:(myuser@mydomain.com viewer)\"", +"location": "query", +"type": "string" +}, +"scope": { +"description": "Required. The relative name of an asset. The search is limited to the resources within the `scope`. The allowed value must be: * Organization number (such as \"organizations/123\") * Folder number (such as \"folders/1234\") * Project number (such as \"projects/12345\") * Project ID (such as \"projects/abc\")", +"location": "path", +"pattern": "^[^/]+/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1p1beta1/{+scope}/iamPolicies:searchAll", +"response": { +"$ref": "SearchAllIamPoliciesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"resources": { +"methods": { +"searchAll": { +"description": "Searches all the resources within a given accessible Resource Manager scope (project/folder/organization). This RPC gives callers especially administrators the ability to search all the resources within a scope, even if they don't have `.get` permission of all the resources. Callers should have `cloudasset.assets.searchAllResources` permission on the requested scope, otherwise the request will be rejected.", +"flatPath": "v1p1beta1/{v1p1beta1Id}/{v1p1beta1Id1}/resources:searchAll", +"httpMethod": "GET", +"id": "cloudasset.resources.searchAll", +"parameterOrder": [ +"scope" +], +"parameters": { +"assetTypes": { +"description": "Optional. A list of asset types that this request searches for. If empty, it will search all the supported asset types.", +"location": "query", +"repeated": true, +"type": "string" +}, +"orderBy": { +"description": "Optional. A comma separated list of fields specifying the sorting order of the results. The default order is ascending. Add ` DESC` after the field name to indicate descending order. Redundant space characters are ignored. For example, ` location DESC , name `.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Optional. The page size for search result pagination. Page size is capped at 500 even if a larger value is given. If set to zero, server will pick an appropriate default. Returned results may be fewer than requested. When this happens, there could be more results as long as `next_page_token` is returned.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. If present, then retrieve the next batch of results from the preceding call to this method. `page_token` must be the value of `next_page_token` from the previous response. The values of all other method parameters, must be identical to those in the previous call.", +"location": "query", +"type": "string" +}, +"query": { +"description": "Optional. The query statement.", +"location": "query", +"type": "string" +}, +"scope": { +"description": "Required. The relative name of an asset. The search is limited to the resources within the `scope`. The allowed value must be: * Organization number (such as \"organizations/123\") * Folder number (such as \"folders/1234\") * Project number (such as \"projects/12345\") * Project ID (such as \"projects/abc\")", +"location": "path", +"pattern": "^[^/]+/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1p1beta1/{+scope}/resources:searchAll", +"response": { +"$ref": "SearchAllResourcesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +}, +"revision": "20250307", +"rootUrl": "https://cloudasset.googleapis.com/", +"schemas": { +"AnalyzeIamPolicyLongrunningMetadata": { +"description": "Represents the metadata of the longrunning operation for the AnalyzeIamPolicyLongrunning RPC.", +"id": "AnalyzeIamPolicyLongrunningMetadata", +"properties": { +"createTime": { +"description": "Output only. The time the operation was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"AnalyzeIamPolicyLongrunningResponse": { +"description": "A response message for AssetService.AnalyzeIamPolicyLongrunning.", +"id": "AnalyzeIamPolicyLongrunningResponse", +"properties": {}, +"type": "object" +}, +"AuditConfig": { +"description": "Specifies the audit configuration for a service. The configuration determines which permission types are logged, and what identities, if any, are exempted from logging. An AuditConfig must have one or more AuditLogConfigs. If there are AuditConfigs for both `allServices` and a specific service, the union of the two AuditConfigs is used for that service: the log_types specified in each AuditConfig are enabled, and the exempted_members in each AuditLogConfig are exempted. Example Policy with multiple AuditConfigs: { \"audit_configs\": [ { \"service\": \"allServices\", \"audit_log_configs\": [ { \"log_type\": \"DATA_READ\", \"exempted_members\": [ \"user:jose@example.com\" ] }, { \"log_type\": \"DATA_WRITE\" }, { \"log_type\": \"ADMIN_READ\" } ] }, { \"service\": \"sampleservice.googleapis.com\", \"audit_log_configs\": [ { \"log_type\": \"DATA_READ\" }, { \"log_type\": \"DATA_WRITE\", \"exempted_members\": [ \"user:aliya@example.com\" ] } ] } ] } For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also exempts `jose@example.com` from DATA_READ logging, and `aliya@example.com` from DATA_WRITE logging.", +"id": "AuditConfig", +"properties": { +"auditLogConfigs": { +"description": "The configuration for logging of each type of permission.", +"items": { +"$ref": "AuditLogConfig" +}, +"type": "array" +}, +"service": { +"description": "Specifies a service that will be enabled for audit logging. For example, `storage.googleapis.com`, `cloudsql.googleapis.com`. `allServices` is a special value that covers all services.", +"type": "string" +} +}, +"type": "object" +}, +"AuditLogConfig": { +"description": "Provides the configuration for logging a type of permissions. Example: { \"audit_log_configs\": [ { \"log_type\": \"DATA_READ\", \"exempted_members\": [ \"user:jose@example.com\" ] }, { \"log_type\": \"DATA_WRITE\" } ] } This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting jose@example.com from DATA_READ logging.", +"id": "AuditLogConfig", +"properties": { +"exemptedMembers": { +"description": "Specifies the identities that do not cause logging for this type of permission. Follows the same format of Binding.members.", +"items": { +"type": "string" +}, +"type": "array" +}, +"logType": { +"description": "The log type that this config enables.", +"enum": [ +"LOG_TYPE_UNSPECIFIED", +"ADMIN_READ", +"DATA_WRITE", +"DATA_READ" +], +"enumDescriptions": [ +"Default case. Should never be this.", +"Admin reads. Example: CloudIAM getIamPolicy", +"Data writes. Example: CloudSQL Users create", +"Data reads. Example: CloudSQL Users list" +], +"type": "string" +} +}, +"type": "object" +}, +"Binding": { +"description": "Associates `members`, or principals, with a `role`.", +"id": "Binding", +"properties": { +"condition": { +"$ref": "Expr", +"description": "The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies)." +}, +"members": { +"description": "Specifies the principals requesting access for a Google Cloud resource. `members` can have the following values: * `allUsers`: A special identifier that represents anyone who is on the internet; with or without a Google account. * `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service account. Does not include identities that come from external identity providers (IdPs) through identity federation. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `group:{emailid}`: An email address that represents a Google group. For example, `admins@example.com`. * `domain:{domain}`: The G Suite domain (primary) that represents all the users of that domain. For example, `google.com` or `example.com`. * `principal://iam.googleapis.com/locations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}`: A single identity in a workforce identity pool. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/group/{group_id}`: All workforce identities in a group. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/attribute.{attribute_name}/{attribute_value}`: All workforce identities with a specific attribute value. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/*`: All identities in a workforce identity pool. * `principal://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/subject/{subject_attribute_value}`: A single identity in a workload identity pool. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/group/{group_id}`: A workload identity pool group. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/attribute.{attribute_name}/{attribute_value}`: All identities in a workload identity pool with a certain attribute. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/*`: All identities in a workload identity pool. * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a user that has been recently deleted. For example, `alice@example.com?uid=123456789012345678901`. If the user is recovered, this value reverts to `user:{emailid}` and the recovered user retains the role in the binding. * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a service account that has been recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the service account is undeleted, this value reverts to `serviceAccount:{emailid}` and the undeleted service account retains the role in the binding. * `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a Google group that has been recently deleted. For example, `admins@example.com?uid=123456789012345678901`. If the group is recovered, this value reverts to `group:{emailid}` and the recovered group retains the role in the binding. * `deleted:principal://iam.googleapis.com/locations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}`: Deleted single identity in a workforce identity pool. For example, `deleted:principal://iam.googleapis.com/locations/global/workforcePools/my-pool-id/subject/my-subject-attribute-value`.", +"items": { +"type": "string" +}, +"type": "array" +}, +"role": { +"description": "Role that is assigned to the list of `members`, or principals. For example, `roles/viewer`, `roles/editor`, or `roles/owner`. For an overview of the IAM roles and permissions, see the [IAM documentation](https://cloud.google.com/iam/docs/roles-overview). For a list of the available pre-defined roles, see [here](https://cloud.google.com/iam/docs/understanding-roles).", +"type": "string" +} +}, +"type": "object" +}, +"Explanation": { +"description": "Explanation about the IAM policy search result.", +"id": "Explanation", +"properties": { +"matchedPermissions": { +"additionalProperties": { +"$ref": "Permissions" +}, +"description": "The map from roles to their included permission matching the permission query (e.g. containing `policy.role.permissions:`). Example role string: \"roles/compute.instanceAdmin\". The roles can also be found in the returned `policy` bindings. Note that the map is populated only if requesting with a permission query.", +"type": "object" +} +}, +"type": "object" +}, +"Expr": { +"description": "Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: \"Summary size limit\" description: \"Determines if a summary is less than 100 chars\" expression: \"document.summary.size() < 100\" Example (Equality): title: \"Requestor is owner\" description: \"Determines if requestor is the document owner\" expression: \"document.owner == request.auth.claims.email\" Example (Logic): title: \"Public documents\" description: \"Determine whether the document should be publicly visible\" expression: \"document.type != 'private' && document.type != 'internal'\" Example (Data Manipulation): title: \"Notification string\" description: \"Create a notification string with a timestamp.\" expression: \"'New message received at ' + string(document.create_time)\" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information.", +"id": "Expr", +"properties": { +"description": { +"description": "Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI.", +"type": "string" +}, +"expression": { +"description": "Textual representation of an expression in Common Expression Language syntax.", +"type": "string" +}, +"location": { +"description": "Optional. String indicating the location of the expression for error reporting, e.g. a file name and a position in the file.", +"type": "string" +}, +"title": { +"description": "Optional. Title for the expression, i.e. a short string describing its purpose. This can be used e.g. in UIs which allow to enter the expression.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAssetV1p7beta1Asset": { +"description": "An asset in Google Cloud. An asset can be any resource in the Google Cloud [resource hierarchy](https://cloud.google.com/resource-manager/docs/cloud-platform-resource-hierarchy), a resource outside the Google Cloud resource hierarchy (such as Google Kubernetes Engine clusters and objects), or a policy (e.g. IAM policy). See [Supported asset types](https://cloud.google.com/asset-inventory/docs/supported-asset-types) for more information.", +"id": "GoogleCloudAssetV1p7beta1Asset", +"properties": { +"accessLevel": { +"$ref": "GoogleIdentityAccesscontextmanagerV1AccessLevel", +"description": "Please also refer to the [access level user guide](https://cloud.google.com/access-context-manager/docs/overview#access-levels)." +}, +"accessPolicy": { +"$ref": "GoogleIdentityAccesscontextmanagerV1AccessPolicy", +"description": "Please also refer to the [access policy user guide](https://cloud.google.com/access-context-manager/docs/overview#access-policies)." +}, +"ancestors": { +"description": "The ancestry path of an asset in Google Cloud [resource hierarchy](https://cloud.google.com/resource-manager/docs/cloud-platform-resource-hierarchy), represented as a list of relative resource names. An ancestry path starts with the closest ancestor in the hierarchy and ends at root. If the asset is a project, folder, or organization, the ancestry path starts from the asset itself. Example: `[\"projects/123456789\", \"folders/5432\", \"organizations/1234\"]`", +"items": { +"type": "string" +}, +"type": "array" +}, +"assetType": { +"description": "The type of the asset. Example: `compute.googleapis.com/Disk` See [Supported asset types](https://cloud.google.com/asset-inventory/docs/supported-asset-types) for more information.", +"type": "string" +}, +"iamPolicy": { +"$ref": "Policy", +"description": "A representation of the IAM policy set on a Google Cloud resource. There can be a maximum of one IAM policy set on any given resource. In addition, IAM policies inherit their granted access scope from any policies set on parent resources in the resource hierarchy. Therefore, the effectively policy is the union of both the policy set on this resource and each policy set on all of the resource's ancestry resource levels in the hierarchy. See [this topic](https://cloud.google.com/iam/help/allow-policies/inheritance) for more information." +}, +"name": { +"description": "The full name of the asset. Example: `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1` See [Resource names](https://cloud.google.com/apis/design/resource_names#full_resource_name) for more information.", +"type": "string" +}, +"orgPolicy": { +"description": "A representation of an [organization policy](https://cloud.google.com/resource-manager/docs/organization-policy/overview#organization_policy). There can be more than one organization policy with different constraints set on a given resource.", +"items": { +"$ref": "GoogleCloudOrgpolicyV1Policy" +}, +"type": "array" +}, +"relatedAssets": { +"$ref": "GoogleCloudAssetV1p7beta1RelatedAssets", +"description": "The related assets of the asset of one relationship type. One asset only represents one type of relationship." +}, +"resource": { +"$ref": "GoogleCloudAssetV1p7beta1Resource", +"description": "A representation of the resource." +}, +"servicePerimeter": { +"$ref": "GoogleIdentityAccesscontextmanagerV1ServicePerimeter", +"description": "Please also refer to the [service perimeter user guide](https://cloud.google.com/vpc-service-controls/docs/overview)." +}, +"updateTime": { +"description": "The last update timestamp of an asset. update_time is updated when create/update/delete operation is performed.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAssetV1p7beta1RelatedAsset": { +"description": "An asset identify in Google Cloud which contains its name, type and ancestors. An asset can be any resource in the Google Cloud [resource hierarchy](https://cloud.google.com/resource-manager/docs/cloud-platform-resource-hierarchy), a resource outside the Google Cloud resource hierarchy (such as Google Kubernetes Engine clusters and objects), or a policy (e.g. IAM policy). See [Supported asset types](https://cloud.google.com/asset-inventory/docs/supported-asset-types) for more information.", +"id": "GoogleCloudAssetV1p7beta1RelatedAsset", +"properties": { +"ancestors": { +"description": "The ancestors of an asset in Google Cloud [resource hierarchy](https://cloud.google.com/resource-manager/docs/cloud-platform-resource-hierarchy), represented as a list of relative resource names. An ancestry path starts with the closest ancestor in the hierarchy and ends at root. Example: `[\"projects/123456789\", \"folders/5432\", \"organizations/1234\"]`", +"items": { +"type": "string" +}, +"type": "array" +}, +"asset": { +"description": "The full name of the asset. Example: `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1` See [Resource names](https://cloud.google.com/apis/design/resource_names#full_resource_name) for more information.", +"type": "string" +}, +"assetType": { +"description": "The type of the asset. Example: `compute.googleapis.com/Disk` See [Supported asset types](https://cloud.google.com/asset-inventory/docs/supported-asset-types) for more information.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAssetV1p7beta1RelatedAssets": { +"description": "The detailed related assets with the `relationship_type`.", +"id": "GoogleCloudAssetV1p7beta1RelatedAssets", +"properties": { +"assets": { +"description": "The peer resources of the relationship.", +"items": { +"$ref": "GoogleCloudAssetV1p7beta1RelatedAsset" +}, +"type": "array" +}, +"relationshipAttributes": { +"$ref": "GoogleCloudAssetV1p7beta1RelationshipAttributes", +"description": "The detailed relation attributes." +} +}, +"type": "object" +}, +"GoogleCloudAssetV1p7beta1RelationshipAttributes": { +"description": "The relationship attributes which include `type`, `source_resource_type`, `target_resource_type` and `action`.", +"id": "GoogleCloudAssetV1p7beta1RelationshipAttributes", +"properties": { +"action": { +"description": "The detail of the relationship, e.g. `contains`, `attaches`", +"type": "string" +}, +"sourceResourceType": { +"description": "The source asset type. Example: `compute.googleapis.com/Instance`", +"type": "string" +}, +"targetResourceType": { +"description": "The target asset type. Example: `compute.googleapis.com/Disk`", +"type": "string" +}, +"type": { +"description": "The unique identifier of the relationship type. Example: `INSTANCE_TO_INSTANCEGROUP`", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAssetV1p7beta1Resource": { +"description": "A representation of a Google Cloud resource.", +"id": "GoogleCloudAssetV1p7beta1Resource", +"properties": { +"data": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"description": "The content of the resource, in which some sensitive fields are removed and may not be present.", +"type": "object" +}, +"discoveryDocumentUri": { +"description": "The URL of the discovery document containing the resource's JSON schema. Example: `https://www.googleapis.com/discovery/v1/apis/compute/v1/rest` This value is unspecified for resources that do not have an API based on a discovery document, such as Cloud Bigtable.", +"type": "string" +}, +"discoveryName": { +"description": "The JSON schema name listed in the discovery document. Example: `Project` This value is unspecified for resources that do not have an API based on a discovery document, such as Cloud Bigtable.", +"type": "string" +}, +"location": { +"description": "The location of the resource in Google Cloud, such as its zone and region. For more information, see https://cloud.google.com/about/locations/.", +"type": "string" +}, +"parent": { +"description": "The full name of the immediate parent of this resource. See [Resource Names](https://cloud.google.com/apis/design/resource_names#full_resource_name) for more information. For Google Cloud assets, this value is the parent resource defined in the [IAM policy hierarchy](https://cloud.google.com/iam/docs/overview#policy_hierarchy). Example: `//cloudresourcemanager.googleapis.com/projects/my_project_123` For third-party assets, this field may be set differently.", +"type": "string" +}, +"resourceUrl": { +"description": "The REST URL for accessing the resource. An HTTP `GET` request using this URL returns the resource itself. Example: `https://cloudresourcemanager.googleapis.com/v1/projects/my-project-123` This value is unspecified for resources without a REST API.", +"type": "string" +}, +"version": { +"description": "The API version. Example: `v1`", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudOrgpolicyV1BooleanPolicy": { +"description": "Used in `policy_type` to specify how `boolean_policy` will behave at this resource.", +"id": "GoogleCloudOrgpolicyV1BooleanPolicy", +"properties": { +"enforced": { +"description": "If `true`, then the `Policy` is enforced. If `false`, then any configuration is acceptable. Suppose you have a `Constraint` `constraints/compute.disableSerialPortAccess` with `constraint_default` set to `ALLOW`. A `Policy` for that `Constraint` exhibits the following behavior: - If the `Policy` at this resource has enforced set to `false`, serial port connection attempts will be allowed. - If the `Policy` at this resource has enforced set to `true`, serial port connection attempts will be refused. - If the `Policy` at this resource is `RestoreDefault`, serial port connection attempts will be allowed. - If no `Policy` is set at this resource or anywhere higher in the resource hierarchy, serial port connection attempts will be allowed. - If no `Policy` is set at this resource, but one exists higher in the resource hierarchy, the behavior is as if the`Policy` were set at this resource. The following examples demonstrate the different possible layerings: Example 1 (nearest `Constraint` wins): `organizations/foo` has a `Policy` with: {enforced: false} `projects/bar` has no `Policy` set. The constraint at `projects/bar` and `organizations/foo` will not be enforced. Example 2 (enforcement gets replaced): `organizations/foo` has a `Policy` with: {enforced: false} `projects/bar` has a `Policy` with: {enforced: true} The constraint at `organizations/foo` is not enforced. The constraint at `projects/bar` is enforced. Example 3 (RestoreDefault): `organizations/foo` has a `Policy` with: {enforced: true} `projects/bar` has a `Policy` with: {RestoreDefault: {}} The constraint at `organizations/foo` is enforced. The constraint at `projects/bar` is not enforced, because `constraint_default` for the `Constraint` is `ALLOW`.", +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleCloudOrgpolicyV1ListPolicy": { +"description": "Used in `policy_type` to specify how `list_policy` behaves at this resource. `ListPolicy` can define specific values and subtrees of Cloud Resource Manager resource hierarchy (`Organizations`, `Folders`, `Projects`) that are allowed or denied by setting the `allowed_values` and `denied_values` fields. This is achieved by using the `under:` and optional `is:` prefixes. The `under:` prefix is used to denote resource subtree values. The `is:` prefix is used to denote specific values, and is required only if the value contains a \":\". Values prefixed with \"is:\" are treated the same as values with no prefix. Ancestry subtrees must be in one of the following formats: - \"projects/\", e.g. \"projects/tokyo-rain-123\" - \"folders/\", e.g. \"folders/1234\" - \"organizations/\", e.g. \"organizations/1234\" The `supports_under` field of the associated `Constraint` defines whether ancestry prefixes can be used. You can set `allowed_values` and `denied_values` in the same `Policy` if `all_values` is `ALL_VALUES_UNSPECIFIED`. `ALLOW` or `DENY` are used to allow or deny all values. If `all_values` is set to either `ALLOW` or `DENY`, `allowed_values` and `denied_values` must be unset.", +"id": "GoogleCloudOrgpolicyV1ListPolicy", +"properties": { +"allValues": { +"description": "The policy all_values state.", +"enum": [ +"ALL_VALUES_UNSPECIFIED", +"ALLOW", +"DENY" +], +"enumDescriptions": [ +"Indicates that allowed_values or denied_values must be set.", +"A policy with this set allows all values.", +"A policy with this set denies all values." +], +"type": "string" +}, +"allowedValues": { +"description": "List of values allowed at this resource. Can only be set if `all_values` is set to `ALL_VALUES_UNSPECIFIED`.", +"items": { +"type": "string" +}, +"type": "array" +}, +"deniedValues": { +"description": "List of values denied at this resource. Can only be set if `all_values` is set to `ALL_VALUES_UNSPECIFIED`.", +"items": { +"type": "string" +}, +"type": "array" +}, +"inheritFromParent": { +"description": "Determines the inheritance behavior for this `Policy`. By default, a `ListPolicy` set at a resource supersedes any `Policy` set anywhere up the resource hierarchy. However, if `inherit_from_parent` is set to `true`, then the values from the effective `Policy` of the parent resource are inherited, meaning the values set in this `Policy` are added to the values inherited up the hierarchy. Setting `Policy` hierarchies that inherit both allowed values and denied values isn't recommended in most circumstances to keep the configuration simple and understandable. However, it is possible to set a `Policy` with `allowed_values` set that inherits a `Policy` with `denied_values` set. In this case, the values that are allowed must be in `allowed_values` and not present in `denied_values`. For example, suppose you have a `Constraint` `constraints/serviceuser.services`, which has a `constraint_type` of `list_constraint`, and with `constraint_default` set to `ALLOW`. Suppose that at the Organization level, a `Policy` is applied that restricts the allowed API activations to {`E1`, `E2`}. Then, if a `Policy` is applied to a project below the Organization that has `inherit_from_parent` set to `false` and field all_values set to DENY, then an attempt to activate any API will be denied. The following examples demonstrate different possible layerings for `projects/bar` parented by `organizations/foo`: Example 1 (no inherited values): `organizations/foo` has a `Policy` with values: {allowed_values: \"E1\" allowed_values:\"E2\"} `projects/bar` has `inherit_from_parent` `false` and values: {allowed_values: \"E3\" allowed_values: \"E4\"} The accepted values at `organizations/foo` are `E1`, `E2`. The accepted values at `projects/bar` are `E3`, and `E4`. Example 2 (inherited values): `organizations/foo` has a `Policy` with values: {allowed_values: \"E1\" allowed_values:\"E2\"} `projects/bar` has a `Policy` with values: {value: \"E3\" value: \"E4\" inherit_from_parent: true} The accepted values at `organizations/foo` are `E1`, `E2`. The accepted values at `projects/bar` are `E1`, `E2`, `E3`, and `E4`. Example 3 (inheriting both allowed and denied values): `organizations/foo` has a `Policy` with values: {allowed_values: \"E1\" allowed_values: \"E2\"} `projects/bar` has a `Policy` with: {denied_values: \"E1\"} The accepted values at `organizations/foo` are `E1`, `E2`. The value accepted at `projects/bar` is `E2`. Example 4 (RestoreDefault): `organizations/foo` has a `Policy` with values: {allowed_values: \"E1\" allowed_values:\"E2\"} `projects/bar` has a `Policy` with values: {RestoreDefault: {}} The accepted values at `organizations/foo` are `E1`, `E2`. The accepted values at `projects/bar` are either all or none depending on the value of `constraint_default` (if `ALLOW`, all; if `DENY`, none). Example 5 (no policy inherits parent policy): `organizations/foo` has no `Policy` set. `projects/bar` has no `Policy` set. The accepted values at both levels are either all or none depending on the value of `constraint_default` (if `ALLOW`, all; if `DENY`, none). Example 6 (ListConstraint allowing all): `organizations/foo` has a `Policy` with values: {allowed_values: \"E1\" allowed_values: \"E2\"} `projects/bar` has a `Policy` with: {all: ALLOW} The accepted values at `organizations/foo` are `E1`, E2`. Any value is accepted at `projects/bar`. Example 7 (ListConstraint allowing none): `organizations/foo` has a `Policy` with values: {allowed_values: \"E1\" allowed_values: \"E2\"} `projects/bar` has a `Policy` with: {all: DENY} The accepted values at `organizations/foo` are `E1`, E2`. No value is accepted at `projects/bar`. Example 10 (allowed and denied subtrees of Resource Manager hierarchy): Given the following resource hierarchy O1->{F1, F2}; F1->{P1}; F2->{P2, P3}, `organizations/foo` has a `Policy` with values: {allowed_values: \"under:organizations/O1\"} `projects/bar` has a `Policy` with: {allowed_values: \"under:projects/P3\"} {denied_values: \"under:folders/F2\"} The accepted values at `organizations/foo` are `organizations/O1`, `folders/F1`, `folders/F2`, `projects/P1`, `projects/P2`, `projects/P3`. The accepted values at `projects/bar` are `organizations/O1`, `folders/F1`, `projects/P1`.", +"type": "boolean" +}, +"suggestedValue": { +"description": "Optional. The Google Cloud Console will try to default to a configuration that matches the value specified in this `Policy`. If `suggested_value` is not set, it will inherit the value specified higher in the hierarchy, unless `inherit_from_parent` is `false`.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudOrgpolicyV1Policy": { +"description": "Defines a Cloud Organization `Policy` which is used to specify `Constraints` for configurations of Cloud Platform resources.", +"id": "GoogleCloudOrgpolicyV1Policy", +"properties": { +"booleanPolicy": { +"$ref": "GoogleCloudOrgpolicyV1BooleanPolicy", +"description": "For boolean `Constraints`, whether to enforce the `Constraint` or not." +}, +"constraint": { +"description": "The name of the `Constraint` the `Policy` is configuring, for example, `constraints/serviceuser.services`. A [list of available constraints](/resource-manager/docs/organization-policy/org-policy-constraints) is available. Immutable after creation.", +"type": "string" +}, +"etag": { +"description": "An opaque tag indicating the current version of the `Policy`, used for concurrency control. When the `Policy` is returned from either a `GetPolicy` or a `ListOrgPolicy` request, this `etag` indicates the version of the current `Policy` to use when executing a read-modify-write loop. When the `Policy` is returned from a `GetEffectivePolicy` request, the `etag` will be unset. When the `Policy` is used in a `SetOrgPolicy` method, use the `etag` value that was returned from a `GetOrgPolicy` request as part of a read-modify-write loop for concurrency control. Not setting the `etag`in a `SetOrgPolicy` request will result in an unconditional write of the `Policy`.", +"format": "byte", +"type": "string" +}, +"listPolicy": { +"$ref": "GoogleCloudOrgpolicyV1ListPolicy", +"description": "List of values either allowed or disallowed." +}, +"restoreDefault": { +"$ref": "GoogleCloudOrgpolicyV1RestoreDefault", +"description": "Restores the default behavior of the constraint; independent of `Constraint` type." +}, +"updateTime": { +"description": "The time stamp the `Policy` was previously updated. This is set by the server, not specified by the caller, and represents the last time a call to `SetOrgPolicy` was made for that `Policy`. Any value set by the client will be ignored.", +"format": "google-datetime", +"type": "string" +}, +"version": { +"description": "Version of the `Policy`. Default version is 0;", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"GoogleCloudOrgpolicyV1RestoreDefault": { +"description": "Ignores policies set above this resource and restores the `constraint_default` enforcement behavior of the specific `Constraint` at this resource. Suppose that `constraint_default` is set to `ALLOW` for the `Constraint` `constraints/serviceuser.services`. Suppose that organization foo.com sets a `Policy` at their Organization resource node that restricts the allowed service activations to deny all service activations. They could then set a `Policy` with the `policy_type` `restore_default` on several experimental projects, restoring the `constraint_default` enforcement of the `Constraint` for only those projects, allowing those projects to have all services activated.", +"id": "GoogleCloudOrgpolicyV1RestoreDefault", +"properties": {}, +"type": "object" +}, +"GoogleIdentityAccesscontextmanagerV1AccessLevel": { +"description": "An `AccessLevel` is a label that can be applied to requests to Google Cloud services, along with a list of requirements necessary for the label to be applied.", +"id": "GoogleIdentityAccesscontextmanagerV1AccessLevel", +"properties": { +"basic": { +"$ref": "GoogleIdentityAccesscontextmanagerV1BasicLevel", +"description": "A `BasicLevel` composed of `Conditions`." +}, +"custom": { +"$ref": "GoogleIdentityAccesscontextmanagerV1CustomLevel", +"description": "A `CustomLevel` written in the Common Expression Language." +}, +"description": { +"description": "Description of the `AccessLevel` and its use. Does not affect behavior.", +"type": "string" +}, +"name": { +"description": "Identifier. Resource name for the `AccessLevel`. Format: `accessPolicies/{access_policy}/accessLevels/{access_level}`. The `access_level` component must begin with a letter, followed by alphanumeric characters or `_`. Its maximum length is 50 characters. After you create an `AccessLevel`, you cannot change its `name`.", +"type": "string" +}, +"title": { +"description": "Human readable title. Must be unique within the Policy.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleIdentityAccesscontextmanagerV1AccessPolicy": { +"description": "`AccessPolicy` is a container for `AccessLevels` (which define the necessary attributes to use Google Cloud services) and `ServicePerimeters` (which define regions of services able to freely pass data within a perimeter). An access policy is globally visible within an organization, and the restrictions it specifies apply to all projects within an organization.", +"id": "GoogleIdentityAccesscontextmanagerV1AccessPolicy", +"properties": { +"etag": { +"description": "Output only. An opaque identifier for the current version of the `AccessPolicy`. This will always be a strongly validated etag, meaning that two Access Policies will be identical if and only if their etags are identical. Clients should not expect this to be in any specific format.", +"readOnly": true, +"type": "string" +}, +"name": { +"description": "Output only. Identifier. Resource name of the `AccessPolicy`. Format: `accessPolicies/{access_policy}`", +"type": "string" +}, +"parent": { +"description": "Required. The parent of this `AccessPolicy` in the Cloud Resource Hierarchy. Currently immutable once created. Format: `organizations/{organization_id}`", +"type": "string" +}, +"scopes": { +"description": "The scopes of the AccessPolicy. Scopes define which resources a policy can restrict and where its resources can be referenced. For example, policy A with `scopes=[\"folders/123\"]` has the following behavior: - ServicePerimeter can only restrict projects within `folders/123`. - ServicePerimeter within policy A can only reference access levels defined within policy A. - Only one policy can include a given scope; thus, attempting to create a second policy which includes `folders/123` will result in an error. If no scopes are provided, then any resource within the organization can be restricted. Scopes cannot be modified after a policy is created. Policies can only have a single scope. Format: list of `folders/{folder_number}` or `projects/{project_number}`", +"items": { +"type": "string" +}, +"type": "array" +}, +"title": { +"description": "Required. Human readable title. Does not affect behavior.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleIdentityAccesscontextmanagerV1ApiOperation": { +"description": "Identification for an API Operation.", +"id": "GoogleIdentityAccesscontextmanagerV1ApiOperation", +"properties": { +"methodSelectors": { +"description": "API methods or permissions to allow. Method or permission must belong to the service specified by `service_name` field. A single MethodSelector entry with `*` specified for the `method` field will allow all methods AND permissions for the service specified in `service_name`.", +"items": { +"$ref": "GoogleIdentityAccesscontextmanagerV1MethodSelector" +}, +"type": "array" +}, +"serviceName": { +"description": "The name of the API whose methods or permissions the IngressPolicy or EgressPolicy want to allow. A single ApiOperation with `service_name` field set to `*` will allow all methods AND permissions for all services.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleIdentityAccesscontextmanagerV1BasicLevel": { +"description": "`BasicLevel` is an `AccessLevel` using a set of recommended features.", +"id": "GoogleIdentityAccesscontextmanagerV1BasicLevel", +"properties": { +"combiningFunction": { +"description": "How the `conditions` list should be combined to determine if a request is granted this `AccessLevel`. If AND is used, each `Condition` in `conditions` must be satisfied for the `AccessLevel` to be applied. If OR is used, at least one `Condition` in `conditions` must be satisfied for the `AccessLevel` to be applied. Default behavior is AND.", +"enum": [ +"AND", +"OR" +], +"enumDescriptions": [ +"All `Conditions` must be true for the `BasicLevel` to be true.", +"If at least one `Condition` is true, then the `BasicLevel` is true." +], +"type": "string" +}, +"conditions": { +"description": "Required. A list of requirements for the `AccessLevel` to be granted.", +"items": { +"$ref": "GoogleIdentityAccesscontextmanagerV1Condition" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleIdentityAccesscontextmanagerV1Condition": { +"description": "A condition necessary for an `AccessLevel` to be granted. The Condition is an AND over its fields. So a Condition is true if: 1) the request IP is from one of the listed subnetworks AND 2) the originating device complies with the listed device policy AND 3) all listed access levels are granted AND 4) the request was sent at a time allowed by the DateTimeRestriction.", +"id": "GoogleIdentityAccesscontextmanagerV1Condition", +"properties": { +"devicePolicy": { +"$ref": "GoogleIdentityAccesscontextmanagerV1DevicePolicy", +"description": "Device specific restrictions, all restrictions must hold for the Condition to be true. If not specified, all devices are allowed." +}, +"ipSubnetworks": { +"description": "CIDR block IP subnetwork specification. May be IPv4 or IPv6. Note that for a CIDR IP address block, the specified IP address portion must be properly truncated (i.e. all the host bits must be zero) or the input is considered malformed. For example, \"192.0.2.0/24\" is accepted but \"192.0.2.1/24\" is not. Similarly, for IPv6, \"2001:db8::/32\" is accepted whereas \"2001:db8::1/32\" is not. The originating IP of a request must be in one of the listed subnets in order for this Condition to be true. If empty, all IP addresses are allowed.", +"items": { +"type": "string" +}, +"type": "array" +}, +"members": { +"description": "The request must be made by one of the provided user or service accounts. Groups are not supported. Syntax: `user:{emailid}` `serviceAccount:{emailid}` If not specified, a request may come from any user.", +"items": { +"type": "string" +}, +"type": "array" +}, +"negate": { +"description": "Whether to negate the Condition. If true, the Condition becomes a NAND over its non-empty fields. Any non-empty field criteria evaluating to false will result in the Condition to be satisfied. Defaults to false.", +"type": "boolean" +}, +"regions": { +"description": "The request must originate from one of the provided countries/regions. Must be valid ISO 3166-1 alpha-2 codes.", +"items": { +"type": "string" +}, +"type": "array" +}, +"requiredAccessLevels": { +"description": "A list of other access levels defined in the same `Policy`, referenced by resource name. Referencing an `AccessLevel` which does not exist is an error. All access levels listed must be granted for the Condition to be true. Example: \"`accessPolicies/MY_POLICY/accessLevels/LEVEL_NAME\"`", +"items": { +"type": "string" +}, +"type": "array" +}, +"vpcNetworkSources": { +"description": "The request must originate from one of the provided VPC networks in Google Cloud. Cannot specify this field together with `ip_subnetworks`.", +"items": { +"$ref": "GoogleIdentityAccesscontextmanagerV1VpcNetworkSource" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleIdentityAccesscontextmanagerV1CustomLevel": { +"description": "`CustomLevel` is an `AccessLevel` using the Cloud Common Expression Language to represent the necessary conditions for the level to apply to a request. See CEL spec at: https://github.com/google/cel-spec", +"id": "GoogleIdentityAccesscontextmanagerV1CustomLevel", +"properties": { +"expr": { +"$ref": "Expr", +"description": "Required. A Cloud CEL expression evaluating to a boolean." +} +}, +"type": "object" +}, +"GoogleIdentityAccesscontextmanagerV1DevicePolicy": { +"description": "`DevicePolicy` specifies device specific restrictions necessary to acquire a given access level. A `DevicePolicy` specifies requirements for requests from devices to be granted access levels, it does not do any enforcement on the device. `DevicePolicy` acts as an AND over all specified fields, and each repeated field is an OR over its elements. Any unset fields are ignored. For example, if the proto is { os_type : DESKTOP_WINDOWS, os_type : DESKTOP_LINUX, encryption_status: ENCRYPTED}, then the DevicePolicy will be true for requests originating from encrypted Linux desktops and encrypted Windows desktops.", +"id": "GoogleIdentityAccesscontextmanagerV1DevicePolicy", +"properties": { +"allowedDeviceManagementLevels": { +"description": "Allowed device management levels, an empty list allows all management levels.", +"items": { +"enum": [ +"MANAGEMENT_UNSPECIFIED", +"NONE", +"BASIC", +"COMPLETE" +], +"enumDescriptions": [ +"The device's management level is not specified or not known.", +"The device is not managed.", +"Basic management is enabled, which is generally limited to monitoring and wiping the corporate account.", +"Complete device management. This includes more thorough monitoring and the ability to directly manage the device (such as remote wiping). This can be enabled through the Android Enterprise Platform." +], +"type": "string" +}, +"type": "array" +}, +"allowedEncryptionStatuses": { +"description": "Allowed encryptions statuses, an empty list allows all statuses.", +"items": { +"enum": [ +"ENCRYPTION_UNSPECIFIED", +"ENCRYPTION_UNSUPPORTED", +"UNENCRYPTED", +"ENCRYPTED" +], +"enumDescriptions": [ +"The encryption status of the device is not specified or not known.", +"The device does not support encryption.", +"The device supports encryption, but is currently unencrypted.", +"The device is encrypted." +], +"type": "string" +}, +"type": "array" +}, +"osConstraints": { +"description": "Allowed OS versions, an empty list allows all types and all versions.", +"items": { +"$ref": "GoogleIdentityAccesscontextmanagerV1OsConstraint" +}, +"type": "array" +}, +"requireAdminApproval": { +"description": "Whether the device needs to be approved by the customer admin.", +"type": "boolean" +}, +"requireCorpOwned": { +"description": "Whether the device needs to be corp owned.", +"type": "boolean" +}, +"requireScreenlock": { +"description": "Whether or not screenlock is required for the DevicePolicy to be true. Defaults to `false`.", +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleIdentityAccesscontextmanagerV1EgressFrom": { +"description": "Defines the conditions under which an EgressPolicy matches a request. Conditions based on information about the source of the request. Note that if the destination of the request is also protected by a ServicePerimeter, then that ServicePerimeter must have an IngressPolicy which allows access in order for this request to succeed.", +"id": "GoogleIdentityAccesscontextmanagerV1EgressFrom", +"properties": { +"identities": { +"description": "A list of identities that are allowed access through [EgressPolicy]. Identities can be an individual user, service account, Google group, or third-party identity. For third-party identity, only single identities are supported and other identity types are not supported. The `v1` identities that have the prefix `user`, `group`, `serviceAccount`, and `principal` in https://cloud.google.com/iam/docs/principal-identifiers#v1 are supported.", +"items": { +"type": "string" +}, +"type": "array" +}, +"identityType": { +"description": "Specifies the type of identities that are allowed access to outside the perimeter. If left unspecified, then members of `identities` field will be allowed access.", +"enum": [ +"IDENTITY_TYPE_UNSPECIFIED", +"ANY_IDENTITY", +"ANY_USER_ACCOUNT", +"ANY_SERVICE_ACCOUNT" +], +"enumDescriptions": [ +"No blanket identity group specified.", +"Authorize access from all identities outside the perimeter.", +"Authorize access from all human users outside the perimeter.", +"Authorize access from all service accounts outside the perimeter." +], +"type": "string" +}, +"sourceRestriction": { +"description": "Whether to enforce traffic restrictions based on `sources` field. If the `sources` fields is non-empty, then this field must be set to `SOURCE_RESTRICTION_ENABLED`.", +"enum": [ +"SOURCE_RESTRICTION_UNSPECIFIED", +"SOURCE_RESTRICTION_ENABLED", +"SOURCE_RESTRICTION_DISABLED" +], +"enumDescriptions": [ +"Enforcement preference unspecified, will not enforce traffic restrictions based on `sources` in EgressFrom.", +"Enforcement preference enabled, traffic restrictions will be enforced based on `sources` in EgressFrom.", +"Enforcement preference disabled, will not enforce traffic restrictions based on `sources` in EgressFrom." +], +"type": "string" +}, +"sources": { +"description": "Sources that this EgressPolicy authorizes access from. If this field is not empty, then `source_restriction` must be set to `SOURCE_RESTRICTION_ENABLED`.", +"items": { +"$ref": "GoogleIdentityAccesscontextmanagerV1EgressSource" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleIdentityAccesscontextmanagerV1EgressPolicy": { +"description": "Policy for egress from perimeter. EgressPolicies match requests based on `egress_from` and `egress_to` stanzas. For an EgressPolicy to match, both `egress_from` and `egress_to` stanzas must be matched. If an EgressPolicy matches a request, the request is allowed to span the ServicePerimeter boundary. For example, an EgressPolicy can be used to allow VMs on networks within the ServicePerimeter to access a defined set of projects outside the perimeter in certain contexts (e.g. to read data from a Cloud Storage bucket or query against a BigQuery dataset). EgressPolicies are concerned with the *resources* that a request relates as well as the API services and API actions being used. They do not related to the direction of data movement. More detailed documentation for this concept can be found in the descriptions of EgressFrom and EgressTo.", +"id": "GoogleIdentityAccesscontextmanagerV1EgressPolicy", +"properties": { +"egressFrom": { +"$ref": "GoogleIdentityAccesscontextmanagerV1EgressFrom", +"description": "Defines conditions on the source of a request causing this EgressPolicy to apply." +}, +"egressTo": { +"$ref": "GoogleIdentityAccesscontextmanagerV1EgressTo", +"description": "Defines the conditions on the ApiOperation and destination resources that cause this EgressPolicy to apply." +}, +"title": { +"description": "Optional. Human-readable title for the egress rule. The title must be unique within the perimeter and can not exceed 100 characters. Within the access policy, the combined length of all rule titles must not exceed 240,000 characters.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleIdentityAccesscontextmanagerV1EgressSource": { +"description": "The source that EgressPolicy authorizes access from inside the ServicePerimeter to somewhere outside the ServicePerimeter boundaries.", +"id": "GoogleIdentityAccesscontextmanagerV1EgressSource", +"properties": { +"accessLevel": { +"description": "An AccessLevel resource name that allows protected resources inside the ServicePerimeters to access outside the ServicePerimeter boundaries. AccessLevels listed must be in the same policy as this ServicePerimeter. Referencing a nonexistent AccessLevel will cause an error. If an AccessLevel name is not specified, only resources within the perimeter can be accessed through Google Cloud calls with request origins within the perimeter. Example: `accessPolicies/MY_POLICY/accessLevels/MY_LEVEL`. If a single `*` is specified for `access_level`, then all EgressSources will be allowed.", +"type": "string" +}, +"resource": { +"description": "A Google Cloud resource from the service perimeter that you want to allow to access data outside the perimeter. This field supports only projects. The project format is `projects/{project_number}`. You can't use `*` in this field to allow all Google Cloud resources.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleIdentityAccesscontextmanagerV1EgressTo": { +"description": "Defines the conditions under which an EgressPolicy matches a request. Conditions are based on information about the ApiOperation intended to be performed on the `resources` specified. Note that if the destination of the request is also protected by a ServicePerimeter, then that ServicePerimeter must have an IngressPolicy which allows access in order for this request to succeed. The request must match `operations` AND `resources` fields in order to be allowed egress out of the perimeter.", +"id": "GoogleIdentityAccesscontextmanagerV1EgressTo", +"properties": { +"externalResources": { +"description": "A list of external resources that are allowed to be accessed. Only AWS and Azure resources are supported. For Amazon S3, the supported formats are s3://BUCKET_NAME, s3a://BUCKET_NAME, and s3n://BUCKET_NAME. For Azure Storage, the supported format is azure://myaccount.blob.core.windows.net/CONTAINER_NAME. A request matches if it contains an external resource in this list (Example: s3://bucket/path). Currently '*' is not allowed.", +"items": { +"type": "string" +}, +"type": "array" +}, +"operations": { +"description": "A list of ApiOperations allowed to be performed by the sources specified in the corresponding EgressFrom. A request matches if it uses an operation/service in this list.", +"items": { +"$ref": "GoogleIdentityAccesscontextmanagerV1ApiOperation" +}, +"type": "array" +}, +"resources": { +"description": "A list of resources, currently only projects in the form `projects/`, that are allowed to be accessed by sources defined in the corresponding EgressFrom. A request matches if it contains a resource in this list. If `*` is specified for `resources`, then this EgressTo rule will authorize access to all resources outside the perimeter.", +"items": { +"type": "string" +}, +"type": "array" +}, +"roles": { +"description": "IAM roles that represent the set of operations that the sources specified in the corresponding EgressFrom. are allowed to perform in this ServicePerimeter.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleIdentityAccesscontextmanagerV1IngressFrom": { +"description": "Defines the conditions under which an IngressPolicy matches a request. Conditions are based on information about the source of the request. The request must satisfy what is defined in `sources` AND identity related fields in order to match.", +"id": "GoogleIdentityAccesscontextmanagerV1IngressFrom", +"properties": { +"identities": { +"description": "A list of identities that are allowed access through [IngressPolicy]. Identities can be an individual user, service account, Google group, or third-party identity. For third-party identity, only single identities are supported and other identity types are not supported. The `v1` identities that have the prefix `user`, `group`, `serviceAccount`, and `principal` in https://cloud.google.com/iam/docs/principal-identifiers#v1 are supported.", +"items": { +"type": "string" +}, +"type": "array" +}, +"identityType": { +"description": "Specifies the type of identities that are allowed access from outside the perimeter. If left unspecified, then members of `identities` field will be allowed access.", +"enum": [ +"IDENTITY_TYPE_UNSPECIFIED", +"ANY_IDENTITY", +"ANY_USER_ACCOUNT", +"ANY_SERVICE_ACCOUNT" +], +"enumDescriptions": [ +"No blanket identity group specified.", +"Authorize access from all identities outside the perimeter.", +"Authorize access from all human users outside the perimeter.", +"Authorize access from all service accounts outside the perimeter." +], +"type": "string" +}, +"sources": { +"description": "Sources that this IngressPolicy authorizes access from.", +"items": { +"$ref": "GoogleIdentityAccesscontextmanagerV1IngressSource" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleIdentityAccesscontextmanagerV1IngressPolicy": { +"description": "Policy for ingress into ServicePerimeter. IngressPolicies match requests based on `ingress_from` and `ingress_to` stanzas. For an ingress policy to match, both the `ingress_from` and `ingress_to` stanzas must be matched. If an IngressPolicy matches a request, the request is allowed through the perimeter boundary from outside the perimeter. For example, access from the internet can be allowed either based on an AccessLevel or, for traffic hosted on Google Cloud, the project of the source network. For access from private networks, using the project of the hosting network is required. Individual ingress policies can be limited by restricting which services and/or actions they match using the `ingress_to` field.", +"id": "GoogleIdentityAccesscontextmanagerV1IngressPolicy", +"properties": { +"ingressFrom": { +"$ref": "GoogleIdentityAccesscontextmanagerV1IngressFrom", +"description": "Defines the conditions on the source of a request causing this IngressPolicy to apply." +}, +"ingressTo": { +"$ref": "GoogleIdentityAccesscontextmanagerV1IngressTo", +"description": "Defines the conditions on the ApiOperation and request destination that cause this IngressPolicy to apply." +}, +"title": { +"description": "Optional. Human-readable title for the ingress rule. The title must be unique within the perimeter and can not exceed 100 characters. Within the access policy, the combined length of all rule titles must not exceed 240,000 characters.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleIdentityAccesscontextmanagerV1IngressSource": { +"description": "The source that IngressPolicy authorizes access from.", +"id": "GoogleIdentityAccesscontextmanagerV1IngressSource", +"properties": { +"accessLevel": { +"description": "An AccessLevel resource name that allow resources within the ServicePerimeters to be accessed from the internet. AccessLevels listed must be in the same policy as this ServicePerimeter. Referencing a nonexistent AccessLevel will cause an error. If no AccessLevel names are listed, resources within the perimeter can only be accessed via Google Cloud calls with request origins within the perimeter. Example: `accessPolicies/MY_POLICY/accessLevels/MY_LEVEL`. If a single `*` is specified for `access_level`, then all IngressSources will be allowed.", +"type": "string" +}, +"resource": { +"description": "A Google Cloud resource that is allowed to ingress the perimeter. Requests from these resources will be allowed to access perimeter data. Currently only projects and VPCs are allowed. Project format: `projects/{project_number}` VPC network format: `//compute.googleapis.com/projects/{PROJECT_ID}/global/networks/{NAME}`. The project may be in any Google Cloud organization, not just the organization that the perimeter is defined in. `*` is not allowed, the case of allowing all Google Cloud resources only is not supported.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleIdentityAccesscontextmanagerV1IngressTo": { +"description": "Defines the conditions under which an IngressPolicy matches a request. Conditions are based on information about the ApiOperation intended to be performed on the target resource of the request. The request must satisfy what is defined in `operations` AND `resources` in order to match.", +"id": "GoogleIdentityAccesscontextmanagerV1IngressTo", +"properties": { +"operations": { +"description": "A list of ApiOperations allowed to be performed by the sources specified in corresponding IngressFrom in this ServicePerimeter.", +"items": { +"$ref": "GoogleIdentityAccesscontextmanagerV1ApiOperation" +}, +"type": "array" +}, +"resources": { +"description": "A list of resources, currently only projects in the form `projects/`, protected by this ServicePerimeter that are allowed to be accessed by sources defined in the corresponding IngressFrom. If a single `*` is specified, then access to all resources inside the perimeter are allowed.", +"items": { +"type": "string" +}, +"type": "array" +}, +"roles": { +"description": "IAM roles that represent the set of operations that the sources specified in the corresponding IngressFrom are allowed to perform in this ServicePerimeter.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleIdentityAccesscontextmanagerV1MethodSelector": { +"description": "An allowed method or permission of a service specified in ApiOperation.", +"id": "GoogleIdentityAccesscontextmanagerV1MethodSelector", +"properties": { +"method": { +"description": "A valid method name for the corresponding `service_name` in ApiOperation. If `*` is used as the value for the `method`, then ALL methods and permissions are allowed.", +"type": "string" +}, +"permission": { +"description": "A valid Cloud IAM permission for the corresponding `service_name` in ApiOperation.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleIdentityAccesscontextmanagerV1OsConstraint": { +"description": "A restriction on the OS type and version of devices making requests.", +"id": "GoogleIdentityAccesscontextmanagerV1OsConstraint", +"properties": { +"minimumVersion": { +"description": "The minimum allowed OS version. If not set, any version of this OS satisfies the constraint. Format: `\"major.minor.patch\"`. Examples: `\"10.5.301\"`, `\"9.2.1\"`.", +"type": "string" +}, +"osType": { +"description": "Required. The allowed OS type.", +"enum": [ +"OS_UNSPECIFIED", +"DESKTOP_MAC", +"DESKTOP_WINDOWS", +"DESKTOP_LINUX", +"DESKTOP_CHROME_OS", +"ANDROID", +"IOS" +], +"enumDescriptions": [ +"The operating system of the device is not specified or not known.", +"A desktop Mac operating system.", +"A desktop Windows operating system.", +"A desktop Linux operating system.", +"A desktop ChromeOS operating system.", +"An Android operating system.", +"An iOS operating system." +], +"type": "string" +}, +"requireVerifiedChromeOs": { +"description": "Only allows requests from devices with a verified Chrome OS. Verifications includes requirements that the device is enterprise-managed, conformant to domain policies, and the caller has permission to call the API targeted by the request.", +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleIdentityAccesscontextmanagerV1ServicePerimeter": { +"description": "`ServicePerimeter` describes a set of Google Cloud resources which can freely import and export data amongst themselves, but not export outside of the `ServicePerimeter`. If a request with a source within this `ServicePerimeter` has a target outside of the `ServicePerimeter`, the request will be blocked. Otherwise the request is allowed. There are two types of Service Perimeter - Regular and Bridge. Regular Service Perimeters cannot overlap, a single Google Cloud project or VPC network can only belong to a single regular Service Perimeter. Service Perimeter Bridges can contain only Google Cloud projects as members, a single Google Cloud project may belong to multiple Service Perimeter Bridges.", +"id": "GoogleIdentityAccesscontextmanagerV1ServicePerimeter", +"properties": { +"description": { +"description": "Description of the `ServicePerimeter` and its use. Does not affect behavior.", +"type": "string" +}, +"etag": { +"description": "Optional. An opaque identifier for the current version of the `ServicePerimeter`. This identifier does not follow any specific format. If an etag is not provided, the operation will be performed as if a valid etag is provided.", +"type": "string" +}, +"name": { +"description": "Identifier. Resource name for the `ServicePerimeter`. Format: `accessPolicies/{access_policy}/servicePerimeters/{service_perimeter}`. The `service_perimeter` component must begin with a letter, followed by alphanumeric characters or `_`. After you create a `ServicePerimeter`, you cannot change its `name`.", +"type": "string" +}, +"perimeterType": { +"description": "Perimeter type indicator. A single project or VPC network is allowed to be a member of single regular perimeter, but multiple service perimeter bridges. A project cannot be a included in a perimeter bridge without being included in regular perimeter. For perimeter bridges, the restricted service list as well as access level lists must be empty.", +"enum": [ +"PERIMETER_TYPE_REGULAR", +"PERIMETER_TYPE_BRIDGE" +], +"enumDescriptions": [ +"Regular Perimeter. When no value is specified, the perimeter uses this type.", +"Perimeter Bridge." +], +"type": "string" +}, +"spec": { +"$ref": "GoogleIdentityAccesscontextmanagerV1ServicePerimeterConfig", +"description": "Proposed (or dry run) ServicePerimeter configuration. This configuration allows to specify and test ServicePerimeter configuration without enforcing actual access restrictions. Only allowed to be set when the \"use_explicit_dry_run_spec\" flag is set." +}, +"status": { +"$ref": "GoogleIdentityAccesscontextmanagerV1ServicePerimeterConfig", +"description": "Current ServicePerimeter configuration. Specifies sets of resources, restricted services and access levels that determine perimeter content and boundaries." +}, +"title": { +"description": "Human readable title. Must be unique within the Policy.", +"type": "string" +}, +"useExplicitDryRunSpec": { +"description": "Use explicit dry run spec flag. Ordinarily, a dry-run spec implicitly exists for all Service Perimeters, and that spec is identical to the status for those Service Perimeters. When this flag is set, it inhibits the generation of the implicit spec, thereby allowing the user to explicitly provide a configuration (\"spec\") to use in a dry-run version of the Service Perimeter. This allows the user to test changes to the enforced config (\"status\") without actually enforcing them. This testing is done through analyzing the differences between currently enforced and suggested restrictions. use_explicit_dry_run_spec must bet set to True if any of the fields in the spec are set to non-default values.", +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleIdentityAccesscontextmanagerV1ServicePerimeterConfig": { +"description": "`ServicePerimeterConfig` specifies a set of Google Cloud resources that describe specific Service Perimeter configuration.", +"id": "GoogleIdentityAccesscontextmanagerV1ServicePerimeterConfig", +"properties": { +"accessLevels": { +"description": "A list of `AccessLevel` resource names that allow resources within the `ServicePerimeter` to be accessed from the internet. `AccessLevels` listed must be in the same policy as this `ServicePerimeter`. Referencing a nonexistent `AccessLevel` is a syntax error. If no `AccessLevel` names are listed, resources within the perimeter can only be accessed via Google Cloud calls with request origins within the perimeter. Example: `\"accessPolicies/MY_POLICY/accessLevels/MY_LEVEL\"`. For Service Perimeter Bridge, must be empty.", +"items": { +"type": "string" +}, +"type": "array" +}, +"egressPolicies": { +"description": "List of EgressPolicies to apply to the perimeter. A perimeter may have multiple EgressPolicies, each of which is evaluated separately. Access is granted if any EgressPolicy grants it. Must be empty for a perimeter bridge.", +"items": { +"$ref": "GoogleIdentityAccesscontextmanagerV1EgressPolicy" +}, +"type": "array" +}, +"ingressPolicies": { +"description": "List of IngressPolicies to apply to the perimeter. A perimeter may have multiple IngressPolicies, each of which is evaluated separately. Access is granted if any Ingress Policy grants it. Must be empty for a perimeter bridge.", +"items": { +"$ref": "GoogleIdentityAccesscontextmanagerV1IngressPolicy" +}, +"type": "array" +}, +"resources": { +"description": "A list of Google Cloud resources that are inside of the service perimeter. Currently only projects and VPCs are allowed. Project format: `projects/{project_number}` VPC network format: `//compute.googleapis.com/projects/{PROJECT_ID}/global/networks/{NAME}`.", +"items": { +"type": "string" +}, +"type": "array" +}, +"restrictedServices": { +"description": "Google Cloud services that are subject to the Service Perimeter restrictions. For example, if `storage.googleapis.com` is specified, access to the storage buckets inside the perimeter must meet the perimeter's access restrictions.", +"items": { +"type": "string" +}, +"type": "array" +}, +"vpcAccessibleServices": { +"$ref": "GoogleIdentityAccesscontextmanagerV1VpcAccessibleServices", +"description": "Configuration for APIs allowed within Perimeter." +} +}, +"type": "object" +}, +"GoogleIdentityAccesscontextmanagerV1VpcAccessibleServices": { +"description": "Specifies how APIs are allowed to communicate within the Service Perimeter.", +"id": "GoogleIdentityAccesscontextmanagerV1VpcAccessibleServices", +"properties": { +"allowedServices": { +"description": "The list of APIs usable within the Service Perimeter. Must be empty unless 'enable_restriction' is True. You can specify a list of individual services, as well as include the 'RESTRICTED-SERVICES' value, which automatically includes all of the services protected by the perimeter.", +"items": { +"type": "string" +}, +"type": "array" +}, +"enableRestriction": { +"description": "Whether to restrict API calls within the Service Perimeter to the list of APIs specified in 'allowed_services'.", +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleIdentityAccesscontextmanagerV1VpcNetworkSource": { +"description": "The originating network source in Google Cloud.", +"id": "GoogleIdentityAccesscontextmanagerV1VpcNetworkSource", +"properties": { +"vpcSubnetwork": { +"$ref": "GoogleIdentityAccesscontextmanagerV1VpcSubNetwork", +"description": "Sub-segment ranges of a VPC network." +} +}, +"type": "object" +}, +"GoogleIdentityAccesscontextmanagerV1VpcSubNetwork": { +"description": "Sub-segment ranges inside of a VPC Network.", +"id": "GoogleIdentityAccesscontextmanagerV1VpcSubNetwork", +"properties": { +"network": { +"description": "Required. Network name. If the network is not part of the organization, the `compute.network.get` permission must be granted to the caller. Format: `//compute.googleapis.com/projects/{PROJECT_ID}/global/networks/{NETWORK_NAME}` Example: `//compute.googleapis.com/projects/my-project/global/networks/network-1`", +"type": "string" +}, +"vpcIpSubnetworks": { +"description": "CIDR block IP subnetwork specification. The IP address must be an IPv4 address and can be a public or private IP address. Note that for a CIDR IP address block, the specified IP address portion must be properly truncated (i.e. all the host bits must be zero) or the input is considered malformed. For example, \"192.0.2.0/24\" is accepted but \"192.0.2.1/24\" is not. If empty, all IP addresses are allowed.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"IamPolicySearchResult": { +"description": "The result for an IAM policy search.", +"id": "IamPolicySearchResult", +"properties": { +"explanation": { +"$ref": "Explanation", +"description": "Explanation about the IAM policy search result. It contains additional information that explains why the search result matches the query." +}, +"policy": { +"$ref": "Policy", +"description": "The IAM policy attached to the specified resource. Note that the original IAM policy can contain multiple bindings. This only contains the bindings that match the given query. For queries that don't contain a constraint on policies (e.g. an empty query), this contains all the bindings." +}, +"project": { +"description": "The project that the associated Google Cloud resource belongs to, in the form of `projects/{project_number}`. If an IAM policy is set on a resource -- such as a Compute Engine instance or a Cloud Storage bucket -- the project field will indicate the project that contains the resource. If an IAM policy is set on a folder or organization, the project field will be empty.", +"type": "string" +}, +"resource": { +"description": "The [full resource name](https://cloud.google.com/apis/design/resource_names#full_resource_name) of the resource associated with this IAM policy.", +"type": "string" +} +}, +"type": "object" +}, +"Permissions": { +"description": "IAM permissions.", +"id": "Permissions", +"properties": { +"permissions": { +"description": "A list of permissions. Example permission string: \"compute.disk.get\".", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"Policy": { +"description": "An Identity and Access Management (IAM) policy, which specifies access controls for Google Cloud resources. A `Policy` is a collection of `bindings`. A `binding` binds one or more `members`, or principals, to a single `role`. Principals can be user accounts, service accounts, Google groups, and domains (such as G Suite). A `role` is a named list of permissions; each `role` can be an IAM predefined role or a user-created custom role. For some types of Google Cloud resources, a `binding` can also specify a `condition`, which is a logical expression that allows access to a resource only if the expression evaluates to `true`. A condition can add constraints based on attributes of the request, the resource, or both. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). **JSON example:** ``` { \"bindings\": [ { \"role\": \"roles/resourcemanager.organizationAdmin\", \"members\": [ \"user:mike@example.com\", \"group:admins@example.com\", \"domain:google.com\", \"serviceAccount:my-project-id@appspot.gserviceaccount.com\" ] }, { \"role\": \"roles/resourcemanager.organizationViewer\", \"members\": [ \"user:eve@example.com\" ], \"condition\": { \"title\": \"expirable access\", \"description\": \"Does not grant access after Sep 2020\", \"expression\": \"request.time < timestamp('2020-10-01T00:00:00.000Z')\", } } ], \"etag\": \"BwWWja0YfJA=\", \"version\": 3 } ``` **YAML example:** ``` bindings: - members: - user:mike@example.com - group:admins@example.com - domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.com role: roles/resourcemanager.organizationViewer condition: title: expirable access description: Does not grant access after Sep 2020 expression: request.time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 ``` For a description of IAM and its features, see the [IAM documentation](https://cloud.google.com/iam/docs/).", +"id": "Policy", +"properties": { +"auditConfigs": { +"description": "Specifies cloud audit logging configuration for this policy.", +"items": { +"$ref": "AuditConfig" +}, +"type": "array" +}, +"bindings": { +"description": "Associates a list of `members`, or principals, with a `role`. Optionally, may specify a `condition` that determines how and when the `bindings` are applied. Each of the `bindings` must contain at least one principal. The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250 of these principals can be Google groups. Each occurrence of a principal counts towards these limits. For example, if the `bindings` grant 50 different roles to `user:alice@example.com`, and not to any other principal, then you can add another 1,450 principals to the `bindings` in the `Policy`.", +"items": { +"$ref": "Binding" +}, +"type": "array" +}, +"etag": { +"description": "`etag` is used for optimistic concurrency control as a way to help prevent simultaneous updates of a policy from overwriting each other. It is strongly suggested that systems make use of the `etag` in the read-modify-write cycle to perform policy updates in order to avoid race conditions: An `etag` is returned in the response to `getIamPolicy`, and systems are expected to put that etag in the request to `setIamPolicy` to ensure that their change will be applied to the same version of the policy. **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost.", +"format": "byte", +"type": "string" +}, +"version": { +"description": "Specifies the format of the policy. Valid values are `0`, `1`, and `3`. Requests that specify an invalid value are rejected. Any operation that affects conditional role bindings must specify version `3`. This requirement applies to the following operations: * Getting a policy that includes a conditional role binding * Adding a conditional role binding to a policy * Changing a conditional role binding in a policy * Removing any role binding, with or without a condition, from a policy that includes conditions **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost. If a policy does not include any conditions, operations on that policy may specify any valid version or leave the field unset. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"SearchAllIamPoliciesResponse": { +"description": "Search all IAM policies response.", +"id": "SearchAllIamPoliciesResponse", +"properties": { +"nextPageToken": { +"description": "Set if there are more results than those appearing in this response; to get the next set of results, call this method again, using this value as the `page_token`.", +"type": "string" +}, +"results": { +"description": "A list of IAM policies that match the search query. Related information such as the associated resource is returned along with the policy.", +"items": { +"$ref": "IamPolicySearchResult" +}, +"type": "array" +} +}, +"type": "object" +}, +"SearchAllResourcesResponse": { +"description": "Search all resources response.", +"id": "SearchAllResourcesResponse", +"properties": { +"nextPageToken": { +"description": "If there are more results than those appearing in this response, then `next_page_token` is included. To get the next set of results, call this method again using the value of `next_page_token` as `page_token`.", +"type": "string" +}, +"results": { +"description": "A list of resource that match the search query.", +"items": { +"$ref": "StandardResourceMetadata" +}, +"type": "array" +} +}, +"type": "object" +}, +"StandardResourceMetadata": { +"description": "The standard metadata of a cloud resource.", +"id": "StandardResourceMetadata", +"properties": { +"additionalAttributes": { +"description": "Additional searchable attributes of this resource. Informational only. The exact set of attributes is subject to change. For example: project id, DNS name etc.", +"items": { +"type": "string" +}, +"type": "array" +}, +"assetType": { +"description": "The type of this resource. For example: \"compute.googleapis.com/Disk\".", +"type": "string" +}, +"description": { +"description": "One or more paragraphs of text description of this resource. Maximum length could be up to 1M bytes.", +"type": "string" +}, +"displayName": { +"description": "The display name of this resource.", +"type": "string" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Labels associated with this resource. See [Labelling and grouping Google Cloud resources](https://cloud.google.com/blog/products/gcp/labelling-and-grouping-your-google-cloud-platform-resources) for more information.", +"type": "object" +}, +"location": { +"description": "Location can be \"global\", regional like \"us-east1\", or zonal like \"us-west1-b\".", +"type": "string" +}, +"name": { +"description": "The full resource name. For example: `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`. See [Resource Names](https://cloud.google.com/apis/design/resource_names#full_resource_name) for more information.", +"type": "string" +}, +"networkTags": { +"description": "Network tags associated with this resource. Like labels, network tags are a type of annotations used to group Google Cloud resources. See [Labelling Google Cloud resources](lhttps://cloud.google.com/blog/products/gcp/labelling-and-grouping-your-google-cloud-platform-resources) for more information.", +"items": { +"type": "string" +}, +"type": "array" +}, +"project": { +"description": "The project that this resource belongs to, in the form of `projects/{project_number}`.", +"type": "string" +} +}, +"type": "object" +} +}, +"servicePath": "", +"title": "Cloud Asset API", +"version": "v1p1beta1", +"version_module": true +} \ No newline at end of file diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/cloudasset.v1p4beta1.json b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/cloudasset.v1p4beta1.json new file mode 100644 index 0000000000000000000000000000000000000000..d14c8b5bd06cd1d8a68668c0e428a591cd4f7c91 --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/cloudasset.v1p4beta1.json @@ -0,0 +1,1618 @@ +{ + "auth": { + "oauth2": { + "scopes": { + "https://www.googleapis.com/auth/cloud-platform": { + "description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." + } + } + } + }, + "basePath": "", + "baseUrl": "https://cloudasset.googleapis.com/", + "batchPath": "batch", + "canonicalName": "Cloud Asset", + "description": "The cloud asset API manages the history and inventory of cloud resources.", + "discoveryVersion": "v1", + "documentationLink": "https://cloud.google.com/asset-inventory/docs/quickstart", + "fullyEncodeReservedExpansion": true, + "icons": { + "x16": "http://www.google.com/images/icons/product/search-16.gif", + "x32": "http://www.google.com/images/icons/product/search-32.gif" + }, + "id": "cloudasset:v1p4beta1", + "kind": "discovery#restDescription", + "mtlsRootUrl": "https://cloudasset.mtls.googleapis.com/", + "name": "cloudasset", + "ownerDomain": "google.com", + "ownerName": "Google", + "parameters": { + "$.xgafv": { + "description": "V1 error format.", + "enum": [ + "1", + "2" + ], + "enumDescriptions": [ + "v1 error format", + "v2 error format" + ], + "location": "query", + "type": "string" + }, + "access_token": { + "description": "OAuth access token.", + "location": "query", + "type": "string" + }, + "alt": { + "default": "json", + "description": "Data format for response.", + "enum": [ + "json", + "media", + "proto" + ], + "enumDescriptions": [ + "Responses with Content-Type of application/json", + "Media download with context-dependent Content-Type", + "Responses with Content-Type of application/x-protobuf" + ], + "location": "query", + "type": "string" + }, + "callback": { + "description": "JSONP", + "location": "query", + "type": "string" + }, + "fields": { + "description": "Selector specifying which fields to include in a partial response.", + "location": "query", + "type": "string" + }, + "key": { + "description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", + "location": "query", + "type": "string" + }, + "oauth_token": { + "description": "OAuth 2.0 token for the current user.", + "location": "query", + "type": "string" + }, + "prettyPrint": { + "default": "true", + "description": "Returns response with indentations and line breaks.", + "location": "query", + "type": "boolean" + }, + "quotaUser": { + "description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.", + "location": "query", + "type": "string" + }, + "uploadType": { + "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", + "location": "query", + "type": "string" + }, + "upload_protocol": { + "description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", + "location": "query", + "type": "string" + } + }, + "protocol": "rest", + "resources": { + "v1p4beta1": { + "methods": { + "analyzeIamPolicy": { + "description": "Analyzes IAM policies to answer which identities have what accesses on which resources.", + "flatPath": "v1p4beta1/{v1p4beta1Id}/{v1p4beta1Id1}:analyzeIamPolicy", + "httpMethod": "GET", + "id": "cloudasset.analyzeIamPolicy", + "parameterOrder": [ + "parent" + ], + "parameters": { + "analysisQuery.accessSelector.permissions": { + "description": "Optional. The permissions to appear in result.", + "location": "query", + "repeated": true, + "type": "string" + }, + "analysisQuery.accessSelector.roles": { + "description": "Optional. The roles to appear in result.", + "location": "query", + "repeated": true, + "type": "string" + }, + "analysisQuery.identitySelector.identity": { + "description": "Required. The identity appear in the form of members in [IAM policy binding](https://cloud.google.com/iam/reference/rest/v1/Binding). The examples of supported forms are: \"user:mike@example.com\", \"group:admins@example.com\", \"domain:google.com\", \"serviceAccount:my-project-id@appspot.gserviceaccount.com\". Notice that wildcard characters (such as * and ?) are not supported. You must give a specific identity.", + "location": "query", + "type": "string" + }, + "analysisQuery.resourceSelector.fullResourceName": { + "description": "Required. The [full resource name](https://cloud.google.com/asset-inventory/docs/resource-name-format) of a resource of [supported resource types](https://cloud.google.com/asset-inventory/docs/supported-asset-types#analyzable_asset_types).", + "location": "query", + "type": "string" + }, + "options.analyzeServiceAccountImpersonation": { + "description": "Optional. If true, the response will include access analysis from identities to resources via service account impersonation. This is a very expensive operation, because many derived queries will be executed. We highly recommend you use AssetService.ExportIamPolicyAnalysis rpc instead. For example, if the request analyzes for which resources user A has permission P, and there's an IAM policy states user A has iam.serviceAccounts.getAccessToken permission to a service account SA, and there's another IAM policy states service account SA has permission P to a GCP folder F, then user A potentially has access to the GCP folder F. And those advanced analysis results will be included in AnalyzeIamPolicyResponse.service_account_impersonation_analysis. Another example, if the request analyzes for who has permission P to a GCP folder F, and there's an IAM policy states user A has iam.serviceAccounts.actAs permission to a service account SA, and there's another IAM policy states service account SA has permission P to the GCP folder F, then user A potentially has access to the GCP folder F. And those advanced analysis results will be included in AnalyzeIamPolicyResponse.service_account_impersonation_analysis. Default is false.", + "location": "query", + "type": "boolean" + }, + "options.executionTimeout": { + "description": "Optional. Amount of time executable has to complete. See JSON representation of [Duration](https://developers.google.com/protocol-buffers/docs/proto3#json). If this field is set with a value less than the RPC deadline, and the execution of your query hasn't finished in the specified execution timeout, you will get a response with partial result. Otherwise, your query's execution will continue until the RPC deadline. If it's not finished until then, you will get a DEADLINE_EXCEEDED error. Default is empty.", + "format": "google-duration", + "location": "query", + "type": "string" + }, + "options.expandGroups": { + "description": "Optional. If true, the identities section of the result will expand any Google groups appearing in an IAM policy binding. If identity_selector is specified, the identity in the result will be determined by the selector, and this flag will have no effect. Default is false.", + "location": "query", + "type": "boolean" + }, + "options.expandResources": { + "description": "Optional. If true, the resource section of the result will expand any resource attached to an IAM policy to include resources lower in the resource hierarchy. For example, if the request analyzes for which resources user A has permission P, and the results include an IAM policy with P on a GCP folder, the results will also include resources in that folder with permission P. If resource_selector is specified, the resource section of the result will be determined by the selector, and this flag will have no effect. Default is false.", + "location": "query", + "type": "boolean" + }, + "options.expandRoles": { + "description": "Optional. If true, the access section of result will expand any roles appearing in IAM policy bindings to include their permissions. If access_selector is specified, the access section of the result will be determined by the selector, and this flag will have no effect. Default is false.", + "location": "query", + "type": "boolean" + }, + "options.outputGroupEdges": { + "description": "Optional. If true, the result will output group identity edges, starting from the binding's group members, to any expanded identities. Default is false.", + "location": "query", + "type": "boolean" + }, + "options.outputResourceEdges": { + "description": "Optional. If true, the result will output resource edges, starting from the policy attached resource, to any expanded resources. Default is false.", + "location": "query", + "type": "boolean" + }, + "parent": { + "description": "Required. The relative name of the root asset. Only resources and IAM policies within the parent will be analyzed. This can only be an organization number (such as \"organizations/123\"), a folder number (such as \"folders/123\"), a project ID (such as \"projects/my-project-id\"), or a project number (such as \"projects/12345\"). To know how to get organization id, visit [here ](https://cloud.google.com/resource-manager/docs/creating-managing-organization#retrieving_your_organization_id). To know how to get folder or project id, visit [here ](https://cloud.google.com/resource-manager/docs/creating-managing-folders#viewing_or_listing_folders_and_projects).", + "location": "path", + "pattern": "^[^/]+/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1p4beta1/{+parent}:analyzeIamPolicy", + "response": { + "$ref": "AnalyzeIamPolicyResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "exportIamPolicyAnalysis": { + "description": "Exports the answers of which identities have what accesses on which resources to a Google Cloud Storage destination. The output format is the JSON format that represents a AnalyzeIamPolicyResponse in the JSON format. This method implements the google.longrunning.Operation, which allows you to keep track of the export. We recommend intervals of at least 2 seconds with exponential retry to poll the export operation result. The metadata contains the request to help callers to map responses to requests.", + "flatPath": "v1p4beta1/{v1p4beta1Id}/{v1p4beta1Id1}:exportIamPolicyAnalysis", + "httpMethod": "POST", + "id": "cloudasset.exportIamPolicyAnalysis", + "parameterOrder": [ + "parent" + ], + "parameters": { + "parent": { + "description": "Required. The relative name of the root asset. Only resources and IAM policies within the parent will be analyzed. This can only be an organization number (such as \"organizations/123\"), a folder number (such as \"folders/123\"), a project ID (such as \"projects/my-project-id\"), or a project number (such as \"projects/12345\"). To know how to get organization id, visit [here ](https://cloud.google.com/resource-manager/docs/creating-managing-organization#retrieving_your_organization_id). To know how to get folder or project id, visit [here ](https://cloud.google.com/resource-manager/docs/creating-managing-folders#viewing_or_listing_folders_and_projects).", + "location": "path", + "pattern": "^[^/]+/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1p4beta1/{+parent}:exportIamPolicyAnalysis", + "request": { + "$ref": "ExportIamPolicyAnalysisRequest" + }, + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + } + } + } + }, + "revision": "20220610", + "rootUrl": "https://cloudasset.googleapis.com/", + "schemas": { + "AccessSelector": { + "description": "Specifies roles and/or permissions to analyze, to determine both the identities possessing them and the resources they control. If multiple values are specified, results will include identities and resources matching any of them. The total number of roles and permissions should be equal or less than 10.", + "id": "AccessSelector", + "properties": { + "permissions": { + "description": "Optional. The permissions to appear in result.", + "items": { + "type": "string" + }, + "type": "array" + }, + "roles": { + "description": "Optional. The roles to appear in result.", + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "AnalyzeIamPolicyLongrunningMetadata": { + "description": "Represents the metadata of the longrunning operation for the AnalyzeIamPolicyLongrunning rpc.", + "id": "AnalyzeIamPolicyLongrunningMetadata", + "properties": { + "createTime": { + "description": "Output only. The time the operation was created.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + } + }, + "type": "object" + }, + "AnalyzeIamPolicyLongrunningResponse": { + "description": "A response message for AssetService.AnalyzeIamPolicyLongrunning.", + "id": "AnalyzeIamPolicyLongrunningResponse", + "properties": {}, + "type": "object" + }, + "AnalyzeIamPolicyResponse": { + "description": "A response message for AssetService.AnalyzeIamPolicy.", + "id": "AnalyzeIamPolicyResponse", + "properties": { + "fullyExplored": { + "description": "Represents whether all entries in the main_analysis and service_account_impersonation_analysis have been fully explored to answer the query in the request.", + "type": "boolean" + }, + "mainAnalysis": { + "$ref": "IamPolicyAnalysis", + "description": "The main analysis that matches the original request." + }, + "nonCriticalErrors": { + "description": "A list of non-critical errors happened during the request handling to explain why `fully_explored` is false, or empty if no error happened.", + "items": { + "$ref": "GoogleCloudAssetV1p4beta1AnalysisState" + }, + "type": "array" + }, + "serviceAccountImpersonationAnalysis": { + "description": "The service account impersonation analysis if AnalyzeIamPolicyRequest.analyze_service_account_impersonation is enabled.", + "items": { + "$ref": "IamPolicyAnalysis" + }, + "type": "array" + } + }, + "type": "object" + }, + "AuditConfig": { + "description": "Specifies the audit configuration for a service. The configuration determines which permission types are logged, and what identities, if any, are exempted from logging. An AuditConfig must have one or more AuditLogConfigs. If there are AuditConfigs for both `allServices` and a specific service, the union of the two AuditConfigs is used for that service: the log_types specified in each AuditConfig are enabled, and the exempted_members in each AuditLogConfig are exempted. Example Policy with multiple AuditConfigs: { \"audit_configs\": [ { \"service\": \"allServices\", \"audit_log_configs\": [ { \"log_type\": \"DATA_READ\", \"exempted_members\": [ \"user:jose@example.com\" ] }, { \"log_type\": \"DATA_WRITE\" }, { \"log_type\": \"ADMIN_READ\" } ] }, { \"service\": \"sampleservice.googleapis.com\", \"audit_log_configs\": [ { \"log_type\": \"DATA_READ\" }, { \"log_type\": \"DATA_WRITE\", \"exempted_members\": [ \"user:aliya@example.com\" ] } ] } ] } For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also exempts `jose@example.com` from DATA_READ logging, and `aliya@example.com` from DATA_WRITE logging.", + "id": "AuditConfig", + "properties": { + "auditLogConfigs": { + "description": "The configuration for logging of each type of permission.", + "items": { + "$ref": "AuditLogConfig" + }, + "type": "array" + }, + "service": { + "description": "Specifies a service that will be enabled for audit logging. For example, `storage.googleapis.com`, `cloudsql.googleapis.com`. `allServices` is a special value that covers all services.", + "type": "string" + } + }, + "type": "object" + }, + "AuditLogConfig": { + "description": "Provides the configuration for logging a type of permissions. Example: { \"audit_log_configs\": [ { \"log_type\": \"DATA_READ\", \"exempted_members\": [ \"user:jose@example.com\" ] }, { \"log_type\": \"DATA_WRITE\" } ] } This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting jose@example.com from DATA_READ logging.", + "id": "AuditLogConfig", + "properties": { + "exemptedMembers": { + "description": "Specifies the identities that do not cause logging for this type of permission. Follows the same format of Binding.members.", + "items": { + "type": "string" + }, + "type": "array" + }, + "logType": { + "description": "The log type that this config enables.", + "enum": [ + "LOG_TYPE_UNSPECIFIED", + "ADMIN_READ", + "DATA_WRITE", + "DATA_READ" + ], + "enumDescriptions": [ + "Default case. Should never be this.", + "Admin reads. Example: CloudIAM getIamPolicy", + "Data writes. Example: CloudSQL Users create", + "Data reads. Example: CloudSQL Users list" + ], + "type": "string" + } + }, + "type": "object" + }, + "Binding": { + "description": "Associates `members`, or principals, with a `role`.", + "id": "Binding", + "properties": { + "condition": { + "$ref": "Expr", + "description": "The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies)." + }, + "members": { + "description": "Specifies the principals requesting access for a Google Cloud resource. `members` can have the following values: * `allUsers`: A special identifier that represents anyone who is on the internet; with or without a Google account. * `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service account. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `group:{emailid}`: An email address that represents a Google group. For example, `admins@example.com`. * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a user that has been recently deleted. For example, `alice@example.com?uid=123456789012345678901`. If the user is recovered, this value reverts to `user:{emailid}` and the recovered user retains the role in the binding. * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a service account that has been recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the service account is undeleted, this value reverts to `serviceAccount:{emailid}` and the undeleted service account retains the role in the binding. * `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a Google group that has been recently deleted. For example, `admins@example.com?uid=123456789012345678901`. If the group is recovered, this value reverts to `group:{emailid}` and the recovered group retains the role in the binding. * `domain:{domain}`: The G Suite domain (primary) that represents all the users of that domain. For example, `google.com` or `example.com`. ", + "items": { + "type": "string" + }, + "type": "array" + }, + "role": { + "description": "Role that is assigned to the list of `members`, or principals. For example, `roles/viewer`, `roles/editor`, or `roles/owner`.", + "type": "string" + } + }, + "type": "object" + }, + "ExportIamPolicyAnalysisRequest": { + "description": "A request message for AssetService.ExportIamPolicyAnalysis.", + "id": "ExportIamPolicyAnalysisRequest", + "properties": { + "analysisQuery": { + "$ref": "IamPolicyAnalysisQuery", + "description": "Required. The request query." + }, + "options": { + "$ref": "Options", + "description": "Optional. The request options." + }, + "outputConfig": { + "$ref": "IamPolicyAnalysisOutputConfig", + "description": "Required. Output configuration indicating where the results will be output to." + } + }, + "type": "object" + }, + "Expr": { + "description": "Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: \"Summary size limit\" description: \"Determines if a summary is less than 100 chars\" expression: \"document.summary.size() < 100\" Example (Equality): title: \"Requestor is owner\" description: \"Determines if requestor is the document owner\" expression: \"document.owner == request.auth.claims.email\" Example (Logic): title: \"Public documents\" description: \"Determine whether the document should be publicly visible\" expression: \"document.type != 'private' && document.type != 'internal'\" Example (Data Manipulation): title: \"Notification string\" description: \"Create a notification string with a timestamp.\" expression: \"'New message received at ' + string(document.create_time)\" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information.", + "id": "Expr", + "properties": { + "description": { + "description": "Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI.", + "type": "string" + }, + "expression": { + "description": "Textual representation of an expression in Common Expression Language syntax.", + "type": "string" + }, + "location": { + "description": "Optional. String indicating the location of the expression for error reporting, e.g. a file name and a position in the file.", + "type": "string" + }, + "title": { + "description": "Optional. Title for the expression, i.e. a short string describing its purpose. This can be used e.g. in UIs which allow to enter the expression.", + "type": "string" + } + }, + "type": "object" + }, + "GcsDestination": { + "description": "A Cloud Storage location.", + "id": "GcsDestination", + "properties": { + "uri": { + "description": "Required. The uri of the Cloud Storage object. It's the same uri that is used by gsutil. For example: \"gs://bucket_name/object_name\". See [Quickstart: Using the gsutil tool] (https://cloud.google.com/storage/docs/quickstart-gsutil) for examples.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudAssetV1p4beta1Access": { + "description": "An IAM role or permission under analysis.", + "id": "GoogleCloudAssetV1p4beta1Access", + "properties": { + "analysisState": { + "$ref": "GoogleCloudAssetV1p4beta1AnalysisState", + "description": "The analysis state of this access." + }, + "permission": { + "description": "The permission.", + "type": "string" + }, + "role": { + "description": "The role.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudAssetV1p4beta1AccessControlList": { + "description": "An access control list, derived from the above IAM policy binding, which contains a set of resources and accesses. May include one item from each set to compose an access control entry. NOTICE that there could be multiple access control lists for one IAM policy binding. The access control lists are created based on resource and access combinations. For example, assume we have the following cases in one IAM policy binding: - Permission P1 and P2 apply to resource R1 and R2; - Permission P3 applies to resource R2 and R3; This will result in the following access control lists: - AccessControlList 1: [R1, R2], [P1, P2] - AccessControlList 2: [R2, R3], [P3]", + "id": "GoogleCloudAssetV1p4beta1AccessControlList", + "properties": { + "accesses": { + "description": "The accesses that match one of the following conditions: - The access_selector, if it is specified in request; - Otherwise, access specifiers reachable from the policy binding's role.", + "items": { + "$ref": "GoogleCloudAssetV1p4beta1Access" + }, + "type": "array" + }, + "resourceEdges": { + "description": "Resource edges of the graph starting from the policy attached resource to any descendant resources. The Edge.source_node contains the full resource name of a parent resource and Edge.target_node contains the full resource name of a child resource. This field is present only if the output_resource_edges option is enabled in request.", + "items": { + "$ref": "GoogleCloudAssetV1p4beta1Edge" + }, + "type": "array" + }, + "resources": { + "description": "The resources that match one of the following conditions: - The resource_selector, if it is specified in request; - Otherwise, resources reachable from the policy attached resource.", + "items": { + "$ref": "GoogleCloudAssetV1p4beta1Resource" + }, + "type": "array" + } + }, + "type": "object" + }, + "GoogleCloudAssetV1p4beta1AnalysisState": { + "description": "Represents the detailed state of an entity under analysis, such as a resource, an identity or an access.", + "id": "GoogleCloudAssetV1p4beta1AnalysisState", + "properties": { + "cause": { + "description": "The human-readable description of the cause of failure.", + "type": "string" + }, + "code": { + "description": "The Google standard error code that best describes the state. For example: - OK means the analysis on this entity has been successfully finished; - PERMISSION_DENIED means an access denied error is encountered; - DEADLINE_EXCEEDED means the analysis on this entity hasn't been started in time;", + "enum": [ + "OK", + "CANCELLED", + "UNKNOWN", + "INVALID_ARGUMENT", + "DEADLINE_EXCEEDED", + "NOT_FOUND", + "ALREADY_EXISTS", + "PERMISSION_DENIED", + "UNAUTHENTICATED", + "RESOURCE_EXHAUSTED", + "FAILED_PRECONDITION", + "ABORTED", + "OUT_OF_RANGE", + "UNIMPLEMENTED", + "INTERNAL", + "UNAVAILABLE", + "DATA_LOSS" + ], + "enumDescriptions": [ + "Not an error; returned on success HTTP Mapping: 200 OK", + "The operation was cancelled, typically by the caller. HTTP Mapping: 499 Client Closed Request", + "Unknown error. For example, this error may be returned when a `Status` value received from another address space belongs to an error space that is not known in this address space. Also errors raised by APIs that do not return enough error information may be converted to this error. HTTP Mapping: 500 Internal Server Error", + "The client specified an invalid argument. Note that this differs from `FAILED_PRECONDITION`. `INVALID_ARGUMENT` indicates arguments that are problematic regardless of the state of the system (e.g., a malformed file name). HTTP Mapping: 400 Bad Request", + "The deadline expired before the operation could complete. For operations that change the state of the system, this error may be returned even if the operation has completed successfully. For example, a successful response from a server could have been delayed long enough for the deadline to expire. HTTP Mapping: 504 Gateway Timeout", + "Some requested entity (e.g., file or directory) was not found. Note to server developers: if a request is denied for an entire class of users, such as gradual feature rollout or undocumented allowlist, `NOT_FOUND` may be used. If a request is denied for some users within a class of users, such as user-based access control, `PERMISSION_DENIED` must be used. HTTP Mapping: 404 Not Found", + "The entity that a client attempted to create (e.g., file or directory) already exists. HTTP Mapping: 409 Conflict", + "The caller does not have permission to execute the specified operation. `PERMISSION_DENIED` must not be used for rejections caused by exhausting some resource (use `RESOURCE_EXHAUSTED` instead for those errors). `PERMISSION_DENIED` must not be used if the caller can not be identified (use `UNAUTHENTICATED` instead for those errors). This error code does not imply the request is valid or the requested entity exists or satisfies other pre-conditions. HTTP Mapping: 403 Forbidden", + "The request does not have valid authentication credentials for the operation. HTTP Mapping: 401 Unauthorized", + "Some resource has been exhausted, perhaps a per-user quota, or perhaps the entire file system is out of space. HTTP Mapping: 429 Too Many Requests", + "The operation was rejected because the system is not in a state required for the operation's execution. For example, the directory to be deleted is non-empty, an rmdir operation is applied to a non-directory, etc. Service implementors can use the following guidelines to decide between `FAILED_PRECONDITION`, `ABORTED`, and `UNAVAILABLE`: (a) Use `UNAVAILABLE` if the client can retry just the failing call. (b) Use `ABORTED` if the client should retry at a higher level. For example, when a client-specified test-and-set fails, indicating the client should restart a read-modify-write sequence. (c) Use `FAILED_PRECONDITION` if the client should not retry until the system state has been explicitly fixed. For example, if an \"rmdir\" fails because the directory is non-empty, `FAILED_PRECONDITION` should be returned since the client should not retry unless the files are deleted from the directory. HTTP Mapping: 400 Bad Request", + "The operation was aborted, typically due to a concurrency issue such as a sequencer check failure or transaction abort. See the guidelines above for deciding between `FAILED_PRECONDITION`, `ABORTED`, and `UNAVAILABLE`. HTTP Mapping: 409 Conflict", + "The operation was attempted past the valid range. E.g., seeking or reading past end-of-file. Unlike `INVALID_ARGUMENT`, this error indicates a problem that may be fixed if the system state changes. For example, a 32-bit file system will generate `INVALID_ARGUMENT` if asked to read at an offset that is not in the range [0,2^32-1], but it will generate `OUT_OF_RANGE` if asked to read from an offset past the current file size. There is a fair bit of overlap between `FAILED_PRECONDITION` and `OUT_OF_RANGE`. We recommend using `OUT_OF_RANGE` (the more specific error) when it applies so that callers who are iterating through a space can easily look for an `OUT_OF_RANGE` error to detect when they are done. HTTP Mapping: 400 Bad Request", + "The operation is not implemented or is not supported/enabled in this service. HTTP Mapping: 501 Not Implemented", + "Internal errors. This means that some invariants expected by the underlying system have been broken. This error code is reserved for serious errors. HTTP Mapping: 500 Internal Server Error", + "The service is currently unavailable. This is most likely a transient condition, which can be corrected by retrying with a backoff. Note that it is not always safe to retry non-idempotent operations. See the guidelines above for deciding between `FAILED_PRECONDITION`, `ABORTED`, and `UNAVAILABLE`. HTTP Mapping: 503 Service Unavailable", + "Unrecoverable data loss or corruption. HTTP Mapping: 500 Internal Server Error" + ], + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudAssetV1p4beta1Edge": { + "description": "A directional edge.", + "id": "GoogleCloudAssetV1p4beta1Edge", + "properties": { + "sourceNode": { + "description": "The source node of the edge.", + "type": "string" + }, + "targetNode": { + "description": "The target node of the edge.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudAssetV1p4beta1Identity": { + "description": "An identity under analysis.", + "id": "GoogleCloudAssetV1p4beta1Identity", + "properties": { + "analysisState": { + "$ref": "GoogleCloudAssetV1p4beta1AnalysisState", + "description": "The analysis state of this identity." + }, + "name": { + "description": "The identity name in any form of members appear in [IAM policy binding](https://cloud.google.com/iam/reference/rest/v1/Binding), such as: - user:foo@google.com - group:group1@google.com - serviceAccount:s1@prj1.iam.gserviceaccount.com - projectOwner:some_project_id - domain:google.com - allUsers - etc.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudAssetV1p4beta1IdentityList": { + "id": "GoogleCloudAssetV1p4beta1IdentityList", + "properties": { + "groupEdges": { + "description": "Group identity edges of the graph starting from the binding's group members to any node of the identities. The Edge.source_node contains a group, such as \"group:parent@google.com\". The Edge.target_node contains a member of the group, such as \"group:child@google.com\" or \"user:foo@google.com\". This field is present only if the output_group_edges option is enabled in request.", + "items": { + "$ref": "GoogleCloudAssetV1p4beta1Edge" + }, + "type": "array" + }, + "identities": { + "description": "Only the identities that match one of the following conditions will be presented: - The identity_selector, if it is specified in request; - Otherwise, identities reachable from the policy binding's members.", + "items": { + "$ref": "GoogleCloudAssetV1p4beta1Identity" + }, + "type": "array" + } + }, + "type": "object" + }, + "GoogleCloudAssetV1p4beta1Resource": { + "description": "A Google Cloud resource under analysis.", + "id": "GoogleCloudAssetV1p4beta1Resource", + "properties": { + "analysisState": { + "$ref": "GoogleCloudAssetV1p4beta1AnalysisState", + "description": "The analysis state of this resource." + }, + "fullResourceName": { + "description": "The [full resource name](https://cloud.google.com/asset-inventory/docs/resource-name-format)", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudAssetV1p7beta1Asset": { + "description": "An asset in Google Cloud. An asset can be any resource in the Google Cloud [resource hierarchy](https://cloud.google.com/resource-manager/docs/cloud-platform-resource-hierarchy), a resource outside the Google Cloud resource hierarchy (such as Google Kubernetes Engine clusters and objects), or a policy (e.g. Cloud IAM policy). See [Supported asset types](https://cloud.google.com/asset-inventory/docs/supported-asset-types) for more information.", + "id": "GoogleCloudAssetV1p7beta1Asset", + "properties": { + "accessLevel": { + "$ref": "GoogleIdentityAccesscontextmanagerV1AccessLevel", + "description": "Please also refer to the [access level user guide](https://cloud.google.com/access-context-manager/docs/overview#access-levels)." + }, + "accessPolicy": { + "$ref": "GoogleIdentityAccesscontextmanagerV1AccessPolicy", + "description": "Please also refer to the [access policy user guide](https://cloud.google.com/access-context-manager/docs/overview#access-policies)." + }, + "ancestors": { + "description": "The ancestry path of an asset in Google Cloud [resource hierarchy](https://cloud.google.com/resource-manager/docs/cloud-platform-resource-hierarchy), represented as a list of relative resource names. An ancestry path starts with the closest ancestor in the hierarchy and ends at root. If the asset is a project, folder, or organization, the ancestry path starts from the asset itself. Example: `[\"projects/123456789\", \"folders/5432\", \"organizations/1234\"]`", + "items": { + "type": "string" + }, + "type": "array" + }, + "assetType": { + "description": "The type of the asset. Example: `compute.googleapis.com/Disk` See [Supported asset types](https://cloud.google.com/asset-inventory/docs/supported-asset-types) for more information.", + "type": "string" + }, + "iamPolicy": { + "$ref": "Policy", + "description": "A representation of the Cloud IAM policy set on a Google Cloud resource. There can be a maximum of one Cloud IAM policy set on any given resource. In addition, Cloud IAM policies inherit their granted access scope from any policies set on parent resources in the resource hierarchy. Therefore, the effectively policy is the union of both the policy set on this resource and each policy set on all of the resource's ancestry resource levels in the hierarchy. See [this topic](https://cloud.google.com/iam/help/allow-policies/inheritance) for more information." + }, + "name": { + "description": "The full name of the asset. Example: `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1` See [Resource names](https://cloud.google.com/apis/design/resource_names#full_resource_name) for more information.", + "type": "string" + }, + "orgPolicy": { + "description": "A representation of an [organization policy](https://cloud.google.com/resource-manager/docs/organization-policy/overview#organization_policy). There can be more than one organization policy with different constraints set on a given resource.", + "items": { + "$ref": "GoogleCloudOrgpolicyV1Policy" + }, + "type": "array" + }, + "relatedAssets": { + "$ref": "GoogleCloudAssetV1p7beta1RelatedAssets", + "description": "The related assets of the asset of one relationship type. One asset only represents one type of relationship." + }, + "resource": { + "$ref": "GoogleCloudAssetV1p7beta1Resource", + "description": "A representation of the resource." + }, + "servicePerimeter": { + "$ref": "GoogleIdentityAccesscontextmanagerV1ServicePerimeter", + "description": "Please also refer to the [service perimeter user guide](https://cloud.google.com/vpc-service-controls/docs/overview)." + }, + "updateTime": { + "description": "The last update timestamp of an asset. update_time is updated when create/update/delete operation is performed.", + "format": "google-datetime", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudAssetV1p7beta1RelatedAsset": { + "description": "An asset identify in Google Cloud which contains its name, type and ancestors. An asset can be any resource in the Google Cloud [resource hierarchy](https://cloud.google.com/resource-manager/docs/cloud-platform-resource-hierarchy), a resource outside the Google Cloud resource hierarchy (such as Google Kubernetes Engine clusters and objects), or a policy (e.g. Cloud IAM policy). See [Supported asset types](https://cloud.google.com/asset-inventory/docs/supported-asset-types) for more information.", + "id": "GoogleCloudAssetV1p7beta1RelatedAsset", + "properties": { + "ancestors": { + "description": "The ancestors of an asset in Google Cloud [resource hierarchy](https://cloud.google.com/resource-manager/docs/cloud-platform-resource-hierarchy), represented as a list of relative resource names. An ancestry path starts with the closest ancestor in the hierarchy and ends at root. Example: `[\"projects/123456789\", \"folders/5432\", \"organizations/1234\"]`", + "items": { + "type": "string" + }, + "type": "array" + }, + "asset": { + "description": "The full name of the asset. Example: `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1` See [Resource names](https://cloud.google.com/apis/design/resource_names#full_resource_name) for more information.", + "type": "string" + }, + "assetType": { + "description": "The type of the asset. Example: `compute.googleapis.com/Disk` See [Supported asset types](https://cloud.google.com/asset-inventory/docs/supported-asset-types) for more information.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudAssetV1p7beta1RelatedAssets": { + "description": "The detailed related assets with the `relationship_type`.", + "id": "GoogleCloudAssetV1p7beta1RelatedAssets", + "properties": { + "assets": { + "description": "The peer resources of the relationship.", + "items": { + "$ref": "GoogleCloudAssetV1p7beta1RelatedAsset" + }, + "type": "array" + }, + "relationshipAttributes": { + "$ref": "GoogleCloudAssetV1p7beta1RelationshipAttributes", + "description": "The detailed relation attributes." + } + }, + "type": "object" + }, + "GoogleCloudAssetV1p7beta1RelationshipAttributes": { + "description": "The relationship attributes which include `type`, `source_resource_type`, `target_resource_type` and `action`.", + "id": "GoogleCloudAssetV1p7beta1RelationshipAttributes", + "properties": { + "action": { + "description": "The detail of the relationship, e.g. `contains`, `attaches`", + "type": "string" + }, + "sourceResourceType": { + "description": "The source asset type. Example: `compute.googleapis.com/Instance`", + "type": "string" + }, + "targetResourceType": { + "description": "The target asset type. Example: `compute.googleapis.com/Disk`", + "type": "string" + }, + "type": { + "description": "The unique identifier of the relationship type. Example: `INSTANCE_TO_INSTANCEGROUP`", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudAssetV1p7beta1Resource": { + "description": "A representation of a Google Cloud resource.", + "id": "GoogleCloudAssetV1p7beta1Resource", + "properties": { + "data": { + "additionalProperties": { + "description": "Properties of the object.", + "type": "any" + }, + "description": "The content of the resource, in which some sensitive fields are removed and may not be present.", + "type": "object" + }, + "discoveryDocumentUri": { + "description": "The URL of the discovery document containing the resource's JSON schema. Example: `https://www.googleapis.com/discovery/v1/apis/compute/v1/rest` This value is unspecified for resources that do not have an API based on a discovery document, such as Cloud Bigtable.", + "type": "string" + }, + "discoveryName": { + "description": "The JSON schema name listed in the discovery document. Example: `Project` This value is unspecified for resources that do not have an API based on a discovery document, such as Cloud Bigtable.", + "type": "string" + }, + "location": { + "description": "The location of the resource in Google Cloud, such as its zone and region. For more information, see https://cloud.google.com/about/locations/.", + "type": "string" + }, + "parent": { + "description": "The full name of the immediate parent of this resource. See [Resource Names](https://cloud.google.com/apis/design/resource_names#full_resource_name) for more information. For Google Cloud assets, this value is the parent resource defined in the [Cloud IAM policy hierarchy](https://cloud.google.com/iam/docs/overview#policy_hierarchy). Example: `//cloudresourcemanager.googleapis.com/projects/my_project_123` For third-party assets, this field may be set differently.", + "type": "string" + }, + "resourceUrl": { + "description": "The REST URL for accessing the resource. An HTTP `GET` request using this URL returns the resource itself. Example: `https://cloudresourcemanager.googleapis.com/v1/projects/my-project-123` This value is unspecified for resources without a REST API.", + "type": "string" + }, + "version": { + "description": "The API version. Example: `v1`", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudOrgpolicyV1BooleanPolicy": { + "description": "Used in `policy_type` to specify how `boolean_policy` will behave at this resource.", + "id": "GoogleCloudOrgpolicyV1BooleanPolicy", + "properties": { + "enforced": { + "description": "If `true`, then the `Policy` is enforced. If `false`, then any configuration is acceptable. Suppose you have a `Constraint` `constraints/compute.disableSerialPortAccess` with `constraint_default` set to `ALLOW`. A `Policy` for that `Constraint` exhibits the following behavior: - If the `Policy` at this resource has enforced set to `false`, serial port connection attempts will be allowed. - If the `Policy` at this resource has enforced set to `true`, serial port connection attempts will be refused. - If the `Policy` at this resource is `RestoreDefault`, serial port connection attempts will be allowed. - If no `Policy` is set at this resource or anywhere higher in the resource hierarchy, serial port connection attempts will be allowed. - If no `Policy` is set at this resource, but one exists higher in the resource hierarchy, the behavior is as if the`Policy` were set at this resource. The following examples demonstrate the different possible layerings: Example 1 (nearest `Constraint` wins): `organizations/foo` has a `Policy` with: {enforced: false} `projects/bar` has no `Policy` set. The constraint at `projects/bar` and `organizations/foo` will not be enforced. Example 2 (enforcement gets replaced): `organizations/foo` has a `Policy` with: {enforced: false} `projects/bar` has a `Policy` with: {enforced: true} The constraint at `organizations/foo` is not enforced. The constraint at `projects/bar` is enforced. Example 3 (RestoreDefault): `organizations/foo` has a `Policy` with: {enforced: true} `projects/bar` has a `Policy` with: {RestoreDefault: {}} The constraint at `organizations/foo` is enforced. The constraint at `projects/bar` is not enforced, because `constraint_default` for the `Constraint` is `ALLOW`.", + "type": "boolean" + } + }, + "type": "object" + }, + "GoogleCloudOrgpolicyV1ListPolicy": { + "description": "Used in `policy_type` to specify how `list_policy` behaves at this resource. `ListPolicy` can define specific values and subtrees of Cloud Resource Manager resource hierarchy (`Organizations`, `Folders`, `Projects`) that are allowed or denied by setting the `allowed_values` and `denied_values` fields. This is achieved by using the `under:` and optional `is:` prefixes. The `under:` prefix is used to denote resource subtree values. The `is:` prefix is used to denote specific values, and is required only if the value contains a \":\". Values prefixed with \"is:\" are treated the same as values with no prefix. Ancestry subtrees must be in one of the following formats: - \"projects/\", e.g. \"projects/tokyo-rain-123\" - \"folders/\", e.g. \"folders/1234\" - \"organizations/\", e.g. \"organizations/1234\" The `supports_under` field of the associated `Constraint` defines whether ancestry prefixes can be used. You can set `allowed_values` and `denied_values` in the same `Policy` if `all_values` is `ALL_VALUES_UNSPECIFIED`. `ALLOW` or `DENY` are used to allow or deny all values. If `all_values` is set to either `ALLOW` or `DENY`, `allowed_values` and `denied_values` must be unset.", + "id": "GoogleCloudOrgpolicyV1ListPolicy", + "properties": { + "allValues": { + "description": "The policy all_values state.", + "enum": [ + "ALL_VALUES_UNSPECIFIED", + "ALLOW", + "DENY" + ], + "enumDescriptions": [ + "Indicates that allowed_values or denied_values must be set.", + "A policy with this set allows all values.", + "A policy with this set denies all values." + ], + "type": "string" + }, + "allowedValues": { + "description": "List of values allowed at this resource. Can only be set if `all_values` is set to `ALL_VALUES_UNSPECIFIED`.", + "items": { + "type": "string" + }, + "type": "array" + }, + "deniedValues": { + "description": "List of values denied at this resource. Can only be set if `all_values` is set to `ALL_VALUES_UNSPECIFIED`.", + "items": { + "type": "string" + }, + "type": "array" + }, + "inheritFromParent": { + "description": "Determines the inheritance behavior for this `Policy`. By default, a `ListPolicy` set at a resource supersedes any `Policy` set anywhere up the resource hierarchy. However, if `inherit_from_parent` is set to `true`, then the values from the effective `Policy` of the parent resource are inherited, meaning the values set in this `Policy` are added to the values inherited up the hierarchy. Setting `Policy` hierarchies that inherit both allowed values and denied values isn't recommended in most circumstances to keep the configuration simple and understandable. However, it is possible to set a `Policy` with `allowed_values` set that inherits a `Policy` with `denied_values` set. In this case, the values that are allowed must be in `allowed_values` and not present in `denied_values`. For example, suppose you have a `Constraint` `constraints/serviceuser.services`, which has a `constraint_type` of `list_constraint`, and with `constraint_default` set to `ALLOW`. Suppose that at the Organization level, a `Policy` is applied that restricts the allowed API activations to {`E1`, `E2`}. Then, if a `Policy` is applied to a project below the Organization that has `inherit_from_parent` set to `false` and field all_values set to DENY, then an attempt to activate any API will be denied. The following examples demonstrate different possible layerings for `projects/bar` parented by `organizations/foo`: Example 1 (no inherited values): `organizations/foo` has a `Policy` with values: {allowed_values: \"E1\" allowed_values:\"E2\"} `projects/bar` has `inherit_from_parent` `false` and values: {allowed_values: \"E3\" allowed_values: \"E4\"} The accepted values at `organizations/foo` are `E1`, `E2`. The accepted values at `projects/bar` are `E3`, and `E4`. Example 2 (inherited values): `organizations/foo` has a `Policy` with values: {allowed_values: \"E1\" allowed_values:\"E2\"} `projects/bar` has a `Policy` with values: {value: \"E3\" value: \"E4\" inherit_from_parent: true} The accepted values at `organizations/foo` are `E1`, `E2`. The accepted values at `projects/bar` are `E1`, `E2`, `E3`, and `E4`. Example 3 (inheriting both allowed and denied values): `organizations/foo` has a `Policy` with values: {allowed_values: \"E1\" allowed_values: \"E2\"} `projects/bar` has a `Policy` with: {denied_values: \"E1\"} The accepted values at `organizations/foo` are `E1`, `E2`. The value accepted at `projects/bar` is `E2`. Example 4 (RestoreDefault): `organizations/foo` has a `Policy` with values: {allowed_values: \"E1\" allowed_values:\"E2\"} `projects/bar` has a `Policy` with values: {RestoreDefault: {}} The accepted values at `organizations/foo` are `E1`, `E2`. The accepted values at `projects/bar` are either all or none depending on the value of `constraint_default` (if `ALLOW`, all; if `DENY`, none). Example 5 (no policy inherits parent policy): `organizations/foo` has no `Policy` set. `projects/bar` has no `Policy` set. The accepted values at both levels are either all or none depending on the value of `constraint_default` (if `ALLOW`, all; if `DENY`, none). Example 6 (ListConstraint allowing all): `organizations/foo` has a `Policy` with values: {allowed_values: \"E1\" allowed_values: \"E2\"} `projects/bar` has a `Policy` with: {all: ALLOW} The accepted values at `organizations/foo` are `E1`, E2`. Any value is accepted at `projects/bar`. Example 7 (ListConstraint allowing none): `organizations/foo` has a `Policy` with values: {allowed_values: \"E1\" allowed_values: \"E2\"} `projects/bar` has a `Policy` with: {all: DENY} The accepted values at `organizations/foo` are `E1`, E2`. No value is accepted at `projects/bar`. Example 10 (allowed and denied subtrees of Resource Manager hierarchy): Given the following resource hierarchy O1->{F1, F2}; F1->{P1}; F2->{P2, P3}, `organizations/foo` has a `Policy` with values: {allowed_values: \"under:organizations/O1\"} `projects/bar` has a `Policy` with: {allowed_values: \"under:projects/P3\"} {denied_values: \"under:folders/F2\"} The accepted values at `organizations/foo` are `organizations/O1`, `folders/F1`, `folders/F2`, `projects/P1`, `projects/P2`, `projects/P3`. The accepted values at `projects/bar` are `organizations/O1`, `folders/F1`, `projects/P1`.", + "type": "boolean" + }, + "suggestedValue": { + "description": "Optional. The Google Cloud Console will try to default to a configuration that matches the value specified in this `Policy`. If `suggested_value` is not set, it will inherit the value specified higher in the hierarchy, unless `inherit_from_parent` is `false`.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudOrgpolicyV1Policy": { + "description": "Defines a Cloud Organization `Policy` which is used to specify `Constraints` for configurations of Cloud Platform resources.", + "id": "GoogleCloudOrgpolicyV1Policy", + "properties": { + "booleanPolicy": { + "$ref": "GoogleCloudOrgpolicyV1BooleanPolicy", + "description": "For boolean `Constraints`, whether to enforce the `Constraint` or not." + }, + "constraint": { + "description": "The name of the `Constraint` the `Policy` is configuring, for example, `constraints/serviceuser.services`. A [list of available constraints](/resource-manager/docs/organization-policy/org-policy-constraints) is available. Immutable after creation.", + "type": "string" + }, + "etag": { + "description": "An opaque tag indicating the current version of the `Policy`, used for concurrency control. When the `Policy` is returned from either a `GetPolicy` or a `ListOrgPolicy` request, this `etag` indicates the version of the current `Policy` to use when executing a read-modify-write loop. When the `Policy` is returned from a `GetEffectivePolicy` request, the `etag` will be unset. When the `Policy` is used in a `SetOrgPolicy` method, use the `etag` value that was returned from a `GetOrgPolicy` request as part of a read-modify-write loop for concurrency control. Not setting the `etag`in a `SetOrgPolicy` request will result in an unconditional write of the `Policy`.", + "format": "byte", + "type": "string" + }, + "listPolicy": { + "$ref": "GoogleCloudOrgpolicyV1ListPolicy", + "description": "List of values either allowed or disallowed." + }, + "restoreDefault": { + "$ref": "GoogleCloudOrgpolicyV1RestoreDefault", + "description": "Restores the default behavior of the constraint; independent of `Constraint` type." + }, + "updateTime": { + "description": "The time stamp the `Policy` was previously updated. This is set by the server, not specified by the caller, and represents the last time a call to `SetOrgPolicy` was made for that `Policy`. Any value set by the client will be ignored.", + "format": "google-datetime", + "type": "string" + }, + "version": { + "description": "Version of the `Policy`. Default version is 0;", + "format": "int32", + "type": "integer" + } + }, + "type": "object" + }, + "GoogleCloudOrgpolicyV1RestoreDefault": { + "description": "Ignores policies set above this resource and restores the `constraint_default` enforcement behavior of the specific `Constraint` at this resource. Suppose that `constraint_default` is set to `ALLOW` for the `Constraint` `constraints/serviceuser.services`. Suppose that organization foo.com sets a `Policy` at their Organization resource node that restricts the allowed service activations to deny all service activations. They could then set a `Policy` with the `policy_type` `restore_default` on several experimental projects, restoring the `constraint_default` enforcement of the `Constraint` for only those projects, allowing those projects to have all services activated.", + "id": "GoogleCloudOrgpolicyV1RestoreDefault", + "properties": {}, + "type": "object" + }, + "GoogleIdentityAccesscontextmanagerV1AccessLevel": { + "description": "An `AccessLevel` is a label that can be applied to requests to Google Cloud services, along with a list of requirements necessary for the label to be applied.", + "id": "GoogleIdentityAccesscontextmanagerV1AccessLevel", + "properties": { + "basic": { + "$ref": "GoogleIdentityAccesscontextmanagerV1BasicLevel", + "description": "A `BasicLevel` composed of `Conditions`." + }, + "custom": { + "$ref": "GoogleIdentityAccesscontextmanagerV1CustomLevel", + "description": "A `CustomLevel` written in the Common Expression Language." + }, + "description": { + "description": "Description of the `AccessLevel` and its use. Does not affect behavior.", + "type": "string" + }, + "name": { + "description": "Required. Resource name for the Access Level. The `short_name` component must begin with a letter and only include alphanumeric and '_'. Format: `accessPolicies/{access_policy}/accessLevels/{access_level}`. The maximum length of the `access_level` component is 50 characters.", + "type": "string" + }, + "title": { + "description": "Human readable title. Must be unique within the Policy.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleIdentityAccesscontextmanagerV1AccessPolicy": { + "description": "`AccessPolicy` is a container for `AccessLevels` (which define the necessary attributes to use Google Cloud services) and `ServicePerimeters` (which define regions of services able to freely pass data within a perimeter). An access policy is globally visible within an organization, and the restrictions it specifies apply to all projects within an organization.", + "id": "GoogleIdentityAccesscontextmanagerV1AccessPolicy", + "properties": { + "etag": { + "description": "Output only. An opaque identifier for the current version of the `AccessPolicy`. This will always be a strongly validated etag, meaning that two Access Polices will be identical if and only if their etags are identical. Clients should not expect this to be in any specific format.", + "type": "string" + }, + "name": { + "description": "Output only. Resource name of the `AccessPolicy`. Format: `accessPolicies/{access_policy}`", + "type": "string" + }, + "parent": { + "description": "Required. The parent of this `AccessPolicy` in the Cloud Resource Hierarchy. Currently immutable once created. Format: `organizations/{organization_id}`", + "type": "string" + }, + "scopes": { + "description": "The scopes of a policy define which resources an ACM policy can restrict, and where ACM resources can be referenced. For example, a policy with scopes=[\"folders/123\"] has the following behavior: - vpcsc perimeters can only restrict projects within folders/123 - access levels can only be referenced by resources within folders/123. If empty, there are no limitations on which resources can be restricted by an ACM policy, and there are no limitations on where ACM resources can be referenced. Only one policy can include a given scope (attempting to create a second policy which includes \"folders/123\" will result in an error). Currently, scopes cannot be modified after a policy is created. Currently, policies can only have a single scope. Format: list of `folders/{folder_number}` or `projects/{project_number}`", + "items": { + "type": "string" + }, + "type": "array" + }, + "title": { + "description": "Required. Human readable title. Does not affect behavior.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleIdentityAccesscontextmanagerV1ApiOperation": { + "description": "Identification for an API Operation.", + "id": "GoogleIdentityAccesscontextmanagerV1ApiOperation", + "properties": { + "methodSelectors": { + "description": "API methods or permissions to allow. Method or permission must belong to the service specified by `service_name` field. A single MethodSelector entry with `*` specified for the `method` field will allow all methods AND permissions for the service specified in `service_name`.", + "items": { + "$ref": "GoogleIdentityAccesscontextmanagerV1MethodSelector" + }, + "type": "array" + }, + "serviceName": { + "description": "The name of the API whose methods or permissions the IngressPolicy or EgressPolicy want to allow. A single ApiOperation with `service_name` field set to `*` will allow all methods AND permissions for all services.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleIdentityAccesscontextmanagerV1BasicLevel": { + "description": "`BasicLevel` is an `AccessLevel` using a set of recommended features.", + "id": "GoogleIdentityAccesscontextmanagerV1BasicLevel", + "properties": { + "combiningFunction": { + "description": "How the `conditions` list should be combined to determine if a request is granted this `AccessLevel`. If AND is used, each `Condition` in `conditions` must be satisfied for the `AccessLevel` to be applied. If OR is used, at least one `Condition` in `conditions` must be satisfied for the `AccessLevel` to be applied. Default behavior is AND.", + "enum": [ + "AND", + "OR" + ], + "enumDescriptions": [ + "All `Conditions` must be true for the `BasicLevel` to be true.", + "If at least one `Condition` is true, then the `BasicLevel` is true." + ], + "type": "string" + }, + "conditions": { + "description": "Required. A list of requirements for the `AccessLevel` to be granted.", + "items": { + "$ref": "GoogleIdentityAccesscontextmanagerV1Condition" + }, + "type": "array" + } + }, + "type": "object" + }, + "GoogleIdentityAccesscontextmanagerV1Condition": { + "description": "A condition necessary for an `AccessLevel` to be granted. The Condition is an AND over its fields. So a Condition is true if: 1) the request IP is from one of the listed subnetworks AND 2) the originating device complies with the listed device policy AND 3) all listed access levels are granted AND 4) the request was sent at a time allowed by the DateTimeRestriction.", + "id": "GoogleIdentityAccesscontextmanagerV1Condition", + "properties": { + "devicePolicy": { + "$ref": "GoogleIdentityAccesscontextmanagerV1DevicePolicy", + "description": "Device specific restrictions, all restrictions must hold for the Condition to be true. If not specified, all devices are allowed." + }, + "ipSubnetworks": { + "description": "CIDR block IP subnetwork specification. May be IPv4 or IPv6. Note that for a CIDR IP address block, the specified IP address portion must be properly truncated (i.e. all the host bits must be zero) or the input is considered malformed. For example, \"192.0.2.0/24\" is accepted but \"192.0.2.1/24\" is not. Similarly, for IPv6, \"2001:db8::/32\" is accepted whereas \"2001:db8::1/32\" is not. The originating IP of a request must be in one of the listed subnets in order for this Condition to be true. If empty, all IP addresses are allowed.", + "items": { + "type": "string" + }, + "type": "array" + }, + "members": { + "description": "The request must be made by one of the provided user or service accounts. Groups are not supported. Syntax: `user:{emailid}` `serviceAccount:{emailid}` If not specified, a request may come from any user.", + "items": { + "type": "string" + }, + "type": "array" + }, + "negate": { + "description": "Whether to negate the Condition. If true, the Condition becomes a NAND over its non-empty fields, each field must be false for the Condition overall to be satisfied. Defaults to false.", + "type": "boolean" + }, + "regions": { + "description": "The request must originate from one of the provided countries/regions. Must be valid ISO 3166-1 alpha-2 codes.", + "items": { + "type": "string" + }, + "type": "array" + }, + "requiredAccessLevels": { + "description": "A list of other access levels defined in the same `Policy`, referenced by resource name. Referencing an `AccessLevel` which does not exist is an error. All access levels listed must be granted for the Condition to be true. Example: \"`accessPolicies/MY_POLICY/accessLevels/LEVEL_NAME\"`", + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "GoogleIdentityAccesscontextmanagerV1CustomLevel": { + "description": "`CustomLevel` is an `AccessLevel` using the Cloud Common Expression Language to represent the necessary conditions for the level to apply to a request. See CEL spec at: https://github.com/google/cel-spec", + "id": "GoogleIdentityAccesscontextmanagerV1CustomLevel", + "properties": { + "expr": { + "$ref": "Expr", + "description": "Required. A Cloud CEL expression evaluating to a boolean." + } + }, + "type": "object" + }, + "GoogleIdentityAccesscontextmanagerV1DevicePolicy": { + "description": "`DevicePolicy` specifies device specific restrictions necessary to acquire a given access level. A `DevicePolicy` specifies requirements for requests from devices to be granted access levels, it does not do any enforcement on the device. `DevicePolicy` acts as an AND over all specified fields, and each repeated field is an OR over its elements. Any unset fields are ignored. For example, if the proto is { os_type : DESKTOP_WINDOWS, os_type : DESKTOP_LINUX, encryption_status: ENCRYPTED}, then the DevicePolicy will be true for requests originating from encrypted Linux desktops and encrypted Windows desktops.", + "id": "GoogleIdentityAccesscontextmanagerV1DevicePolicy", + "properties": { + "allowedDeviceManagementLevels": { + "description": "Allowed device management levels, an empty list allows all management levels.", + "items": { + "enum": [ + "MANAGEMENT_UNSPECIFIED", + "NONE", + "BASIC", + "COMPLETE" + ], + "enumDescriptions": [ + "The device's management level is not specified or not known.", + "The device is not managed.", + "Basic management is enabled, which is generally limited to monitoring and wiping the corporate account.", + "Complete device management. This includes more thorough monitoring and the ability to directly manage the device (such as remote wiping). This can be enabled through the Android Enterprise Platform." + ], + "type": "string" + }, + "type": "array" + }, + "allowedEncryptionStatuses": { + "description": "Allowed encryptions statuses, an empty list allows all statuses.", + "items": { + "enum": [ + "ENCRYPTION_UNSPECIFIED", + "ENCRYPTION_UNSUPPORTED", + "UNENCRYPTED", + "ENCRYPTED" + ], + "enumDescriptions": [ + "The encryption status of the device is not specified or not known.", + "The device does not support encryption.", + "The device supports encryption, but is currently unencrypted.", + "The device is encrypted." + ], + "type": "string" + }, + "type": "array" + }, + "osConstraints": { + "description": "Allowed OS versions, an empty list allows all types and all versions.", + "items": { + "$ref": "GoogleIdentityAccesscontextmanagerV1OsConstraint" + }, + "type": "array" + }, + "requireAdminApproval": { + "description": "Whether the device needs to be approved by the customer admin.", + "type": "boolean" + }, + "requireCorpOwned": { + "description": "Whether the device needs to be corp owned.", + "type": "boolean" + }, + "requireScreenlock": { + "description": "Whether or not screenlock is required for the DevicePolicy to be true. Defaults to `false`.", + "type": "boolean" + } + }, + "type": "object" + }, + "GoogleIdentityAccesscontextmanagerV1EgressFrom": { + "description": "Defines the conditions under which an EgressPolicy matches a request. Conditions based on information about the source of the request. Note that if the destination of the request is also protected by a ServicePerimeter, then that ServicePerimeter must have an IngressPolicy which allows access in order for this request to succeed.", + "id": "GoogleIdentityAccesscontextmanagerV1EgressFrom", + "properties": { + "identities": { + "description": "A list of identities that are allowed access through this [EgressPolicy]. Should be in the format of email address. The email address should represent individual user or service account only.", + "items": { + "type": "string" + }, + "type": "array" + }, + "identityType": { + "description": "Specifies the type of identities that are allowed access to outside the perimeter. If left unspecified, then members of `identities` field will be allowed access.", + "enum": [ + "IDENTITY_TYPE_UNSPECIFIED", + "ANY_IDENTITY", + "ANY_USER_ACCOUNT", + "ANY_SERVICE_ACCOUNT" + ], + "enumDescriptions": [ + "No blanket identity group specified.", + "Authorize access from all identities outside the perimeter.", + "Authorize access from all human users outside the perimeter.", + "Authorize access from all service accounts outside the perimeter." + ], + "type": "string" + } + }, + "type": "object" + }, + "GoogleIdentityAccesscontextmanagerV1EgressPolicy": { + "description": "Policy for egress from perimeter. EgressPolicies match requests based on `egress_from` and `egress_to` stanzas. For an EgressPolicy to match, both `egress_from` and `egress_to` stanzas must be matched. If an EgressPolicy matches a request, the request is allowed to span the ServicePerimeter boundary. For example, an EgressPolicy can be used to allow VMs on networks within the ServicePerimeter to access a defined set of projects outside the perimeter in certain contexts (e.g. to read data from a Cloud Storage bucket or query against a BigQuery dataset). EgressPolicies are concerned with the *resources* that a request relates as well as the API services and API actions being used. They do not related to the direction of data movement. More detailed documentation for this concept can be found in the descriptions of EgressFrom and EgressTo.", + "id": "GoogleIdentityAccesscontextmanagerV1EgressPolicy", + "properties": { + "egressFrom": { + "$ref": "GoogleIdentityAccesscontextmanagerV1EgressFrom", + "description": "Defines conditions on the source of a request causing this EgressPolicy to apply." + }, + "egressTo": { + "$ref": "GoogleIdentityAccesscontextmanagerV1EgressTo", + "description": "Defines the conditions on the ApiOperation and destination resources that cause this EgressPolicy to apply." + } + }, + "type": "object" + }, + "GoogleIdentityAccesscontextmanagerV1EgressTo": { + "description": "Defines the conditions under which an EgressPolicy matches a request. Conditions are based on information about the ApiOperation intended to be performed on the `resources` specified. Note that if the destination of the request is also protected by a ServicePerimeter, then that ServicePerimeter must have an IngressPolicy which allows access in order for this request to succeed. The request must match `operations` AND `resources` fields in order to be allowed egress out of the perimeter.", + "id": "GoogleIdentityAccesscontextmanagerV1EgressTo", + "properties": { + "externalResources": { + "description": "A list of external resources that are allowed to be accessed. A request matches if it contains an external resource in this list (Example: s3://bucket/path). Currently '*' is not allowed.", + "items": { + "type": "string" + }, + "type": "array" + }, + "operations": { + "description": "A list of ApiOperations allowed to be performed by the sources specified in the corresponding EgressFrom. A request matches if it uses an operation/service in this list.", + "items": { + "$ref": "GoogleIdentityAccesscontextmanagerV1ApiOperation" + }, + "type": "array" + }, + "resources": { + "description": "A list of resources, currently only projects in the form `projects/`, that are allowed to be accessed by sources defined in the corresponding EgressFrom. A request matches if it contains a resource in this list. If `*` is specified for `resources`, then this EgressTo rule will authorize access to all resources outside the perimeter.", + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "GoogleIdentityAccesscontextmanagerV1IngressFrom": { + "description": "Defines the conditions under which an IngressPolicy matches a request. Conditions are based on information about the source of the request. The request must satisfy what is defined in `sources` AND identity related fields in order to match.", + "id": "GoogleIdentityAccesscontextmanagerV1IngressFrom", + "properties": { + "identities": { + "description": "A list of identities that are allowed access through this ingress policy. Should be in the format of email address. The email address should represent individual user or service account only.", + "items": { + "type": "string" + }, + "type": "array" + }, + "identityType": { + "description": "Specifies the type of identities that are allowed access from outside the perimeter. If left unspecified, then members of `identities` field will be allowed access.", + "enum": [ + "IDENTITY_TYPE_UNSPECIFIED", + "ANY_IDENTITY", + "ANY_USER_ACCOUNT", + "ANY_SERVICE_ACCOUNT" + ], + "enumDescriptions": [ + "No blanket identity group specified.", + "Authorize access from all identities outside the perimeter.", + "Authorize access from all human users outside the perimeter.", + "Authorize access from all service accounts outside the perimeter." + ], + "type": "string" + }, + "sources": { + "description": "Sources that this IngressPolicy authorizes access from.", + "items": { + "$ref": "GoogleIdentityAccesscontextmanagerV1IngressSource" + }, + "type": "array" + } + }, + "type": "object" + }, + "GoogleIdentityAccesscontextmanagerV1IngressPolicy": { + "description": "Policy for ingress into ServicePerimeter. IngressPolicies match requests based on `ingress_from` and `ingress_to` stanzas. For an ingress policy to match, both the `ingress_from` and `ingress_to` stanzas must be matched. If an IngressPolicy matches a request, the request is allowed through the perimeter boundary from outside the perimeter. For example, access from the internet can be allowed either based on an AccessLevel or, for traffic hosted on Google Cloud, the project of the source network. For access from private networks, using the project of the hosting network is required. Individual ingress policies can be limited by restricting which services and/or actions they match using the `ingress_to` field.", + "id": "GoogleIdentityAccesscontextmanagerV1IngressPolicy", + "properties": { + "ingressFrom": { + "$ref": "GoogleIdentityAccesscontextmanagerV1IngressFrom", + "description": "Defines the conditions on the source of a request causing this IngressPolicy to apply." + }, + "ingressTo": { + "$ref": "GoogleIdentityAccesscontextmanagerV1IngressTo", + "description": "Defines the conditions on the ApiOperation and request destination that cause this IngressPolicy to apply." + } + }, + "type": "object" + }, + "GoogleIdentityAccesscontextmanagerV1IngressSource": { + "description": "The source that IngressPolicy authorizes access from.", + "id": "GoogleIdentityAccesscontextmanagerV1IngressSource", + "properties": { + "accessLevel": { + "description": "An AccessLevel resource name that allow resources within the ServicePerimeters to be accessed from the internet. AccessLevels listed must be in the same policy as this ServicePerimeter. Referencing a nonexistent AccessLevel will cause an error. If no AccessLevel names are listed, resources within the perimeter can only be accessed via Google Cloud calls with request origins within the perimeter. Example: `accessPolicies/MY_POLICY/accessLevels/MY_LEVEL`. If a single `*` is specified for `access_level`, then all IngressSources will be allowed.", + "type": "string" + }, + "resource": { + "description": "A Google Cloud resource that is allowed to ingress the perimeter. Requests from these resources will be allowed to access perimeter data. Currently only projects are allowed. Format: `projects/{project_number}` The project may be in any Google Cloud organization, not just the organization that the perimeter is defined in. `*` is not allowed, the case of allowing all Google Cloud resources only is not supported.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleIdentityAccesscontextmanagerV1IngressTo": { + "description": "Defines the conditions under which an IngressPolicy matches a request. Conditions are based on information about the ApiOperation intended to be performed on the target resource of the request. The request must satisfy what is defined in `operations` AND `resources` in order to match.", + "id": "GoogleIdentityAccesscontextmanagerV1IngressTo", + "properties": { + "operations": { + "description": "A list of ApiOperations allowed to be performed by the sources specified in corresponding IngressFrom in this ServicePerimeter.", + "items": { + "$ref": "GoogleIdentityAccesscontextmanagerV1ApiOperation" + }, + "type": "array" + }, + "resources": { + "description": "A list of resources, currently only projects in the form `projects/`, protected by this ServicePerimeter that are allowed to be accessed by sources defined in the corresponding IngressFrom. If a single `*` is specified, then access to all resources inside the perimeter are allowed.", + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "GoogleIdentityAccesscontextmanagerV1MethodSelector": { + "description": "An allowed method or permission of a service specified in ApiOperation.", + "id": "GoogleIdentityAccesscontextmanagerV1MethodSelector", + "properties": { + "method": { + "description": "Value for `method` should be a valid method name for the corresponding `service_name` in ApiOperation. If `*` used as value for `method`, then ALL methods and permissions are allowed.", + "type": "string" + }, + "permission": { + "description": "Value for `permission` should be a valid Cloud IAM permission for the corresponding `service_name` in ApiOperation.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleIdentityAccesscontextmanagerV1OsConstraint": { + "description": "A restriction on the OS type and version of devices making requests.", + "id": "GoogleIdentityAccesscontextmanagerV1OsConstraint", + "properties": { + "minimumVersion": { + "description": "The minimum allowed OS version. If not set, any version of this OS satisfies the constraint. Format: `\"major.minor.patch\"`. Examples: `\"10.5.301\"`, `\"9.2.1\"`.", + "type": "string" + }, + "osType": { + "description": "Required. The allowed OS type.", + "enum": [ + "OS_UNSPECIFIED", + "DESKTOP_MAC", + "DESKTOP_WINDOWS", + "DESKTOP_LINUX", + "DESKTOP_CHROME_OS", + "ANDROID", + "IOS" + ], + "enumDescriptions": [ + "The operating system of the device is not specified or not known.", + "A desktop Mac operating system.", + "A desktop Windows operating system.", + "A desktop Linux operating system.", + "A desktop ChromeOS operating system.", + "An Android operating system.", + "An iOS operating system." + ], + "type": "string" + }, + "requireVerifiedChromeOs": { + "description": "Only allows requests from devices with a verified Chrome OS. Verifications includes requirements that the device is enterprise-managed, conformant to domain policies, and the caller has permission to call the API targeted by the request.", + "type": "boolean" + } + }, + "type": "object" + }, + "GoogleIdentityAccesscontextmanagerV1ServicePerimeter": { + "description": "`ServicePerimeter` describes a set of Google Cloud resources which can freely import and export data amongst themselves, but not export outside of the `ServicePerimeter`. If a request with a source within this `ServicePerimeter` has a target outside of the `ServicePerimeter`, the request will be blocked. Otherwise the request is allowed. There are two types of Service Perimeter - Regular and Bridge. Regular Service Perimeters cannot overlap, a single Google Cloud project can only belong to a single regular Service Perimeter. Service Perimeter Bridges can contain only Google Cloud projects as members, a single Google Cloud project may belong to multiple Service Perimeter Bridges.", + "id": "GoogleIdentityAccesscontextmanagerV1ServicePerimeter", + "properties": { + "description": { + "description": "Description of the `ServicePerimeter` and its use. Does not affect behavior.", + "type": "string" + }, + "name": { + "description": "Required. Resource name for the ServicePerimeter. The `short_name` component must begin with a letter and only include alphanumeric and '_'. Format: `accessPolicies/{access_policy}/servicePerimeters/{service_perimeter}`", + "type": "string" + }, + "perimeterType": { + "description": "Perimeter type indicator. A single project is allowed to be a member of single regular perimeter, but multiple service perimeter bridges. A project cannot be a included in a perimeter bridge without being included in regular perimeter. For perimeter bridges, the restricted service list as well as access level lists must be empty.", + "enum": [ + "PERIMETER_TYPE_REGULAR", + "PERIMETER_TYPE_BRIDGE" + ], + "enumDescriptions": [ + "Regular Perimeter.", + "Perimeter Bridge." + ], + "type": "string" + }, + "spec": { + "$ref": "GoogleIdentityAccesscontextmanagerV1ServicePerimeterConfig", + "description": "Proposed (or dry run) ServicePerimeter configuration. This configuration allows to specify and test ServicePerimeter configuration without enforcing actual access restrictions. Only allowed to be set when the \"use_explicit_dry_run_spec\" flag is set." + }, + "status": { + "$ref": "GoogleIdentityAccesscontextmanagerV1ServicePerimeterConfig", + "description": "Current ServicePerimeter configuration. Specifies sets of resources, restricted services and access levels that determine perimeter content and boundaries." + }, + "title": { + "description": "Human readable title. Must be unique within the Policy.", + "type": "string" + }, + "useExplicitDryRunSpec": { + "description": "Use explicit dry run spec flag. Ordinarily, a dry-run spec implicitly exists for all Service Perimeters, and that spec is identical to the status for those Service Perimeters. When this flag is set, it inhibits the generation of the implicit spec, thereby allowing the user to explicitly provide a configuration (\"spec\") to use in a dry-run version of the Service Perimeter. This allows the user to test changes to the enforced config (\"status\") without actually enforcing them. This testing is done through analyzing the differences between currently enforced and suggested restrictions. use_explicit_dry_run_spec must bet set to True if any of the fields in the spec are set to non-default values.", + "type": "boolean" + } + }, + "type": "object" + }, + "GoogleIdentityAccesscontextmanagerV1ServicePerimeterConfig": { + "description": "`ServicePerimeterConfig` specifies a set of Google Cloud resources that describe specific Service Perimeter configuration.", + "id": "GoogleIdentityAccesscontextmanagerV1ServicePerimeterConfig", + "properties": { + "accessLevels": { + "description": "A list of `AccessLevel` resource names that allow resources within the `ServicePerimeter` to be accessed from the internet. `AccessLevels` listed must be in the same policy as this `ServicePerimeter`. Referencing a nonexistent `AccessLevel` is a syntax error. If no `AccessLevel` names are listed, resources within the perimeter can only be accessed via Google Cloud calls with request origins within the perimeter. Example: `\"accessPolicies/MY_POLICY/accessLevels/MY_LEVEL\"`. For Service Perimeter Bridge, must be empty.", + "items": { + "type": "string" + }, + "type": "array" + }, + "egressPolicies": { + "description": "List of EgressPolicies to apply to the perimeter. A perimeter may have multiple EgressPolicies, each of which is evaluated separately. Access is granted if any EgressPolicy grants it. Must be empty for a perimeter bridge.", + "items": { + "$ref": "GoogleIdentityAccesscontextmanagerV1EgressPolicy" + }, + "type": "array" + }, + "ingressPolicies": { + "description": "List of IngressPolicies to apply to the perimeter. A perimeter may have multiple IngressPolicies, each of which is evaluated separately. Access is granted if any Ingress Policy grants it. Must be empty for a perimeter bridge.", + "items": { + "$ref": "GoogleIdentityAccesscontextmanagerV1IngressPolicy" + }, + "type": "array" + }, + "resources": { + "description": "A list of Google Cloud resources that are inside of the service perimeter. Currently only projects are allowed. Format: `projects/{project_number}`", + "items": { + "type": "string" + }, + "type": "array" + }, + "restrictedServices": { + "description": "Google Cloud services that are subject to the Service Perimeter restrictions. For example, if `storage.googleapis.com` is specified, access to the storage buckets inside the perimeter must meet the perimeter's access restrictions.", + "items": { + "type": "string" + }, + "type": "array" + }, + "vpcAccessibleServices": { + "$ref": "GoogleIdentityAccesscontextmanagerV1VpcAccessibleServices", + "description": "Configuration for APIs allowed within Perimeter." + } + }, + "type": "object" + }, + "GoogleIdentityAccesscontextmanagerV1VpcAccessibleServices": { + "description": "Specifies how APIs are allowed to communicate within the Service Perimeter.", + "id": "GoogleIdentityAccesscontextmanagerV1VpcAccessibleServices", + "properties": { + "allowedServices": { + "description": "The list of APIs usable within the Service Perimeter. Must be empty unless 'enable_restriction' is True. You can specify a list of individual services, as well as include the 'RESTRICTED-SERVICES' value, which automatically includes all of the services protected by the perimeter.", + "items": { + "type": "string" + }, + "type": "array" + }, + "enableRestriction": { + "description": "Whether to restrict API calls within the Service Perimeter to the list of APIs specified in 'allowed_services'.", + "type": "boolean" + } + }, + "type": "object" + }, + "IamPolicyAnalysis": { + "description": "An analysis message to group the query and results.", + "id": "IamPolicyAnalysis", + "properties": { + "analysisQuery": { + "$ref": "IamPolicyAnalysisQuery", + "description": "The analysis query." + }, + "analysisResults": { + "description": "A list of IamPolicyAnalysisResult that matches the analysis query, or empty if no result is found.", + "items": { + "$ref": "IamPolicyAnalysisResult" + }, + "type": "array" + }, + "fullyExplored": { + "description": "Represents whether all entries in the analysis_results have been fully explored to answer the query.", + "type": "boolean" + } + }, + "type": "object" + }, + "IamPolicyAnalysisOutputConfig": { + "description": "Output configuration for export IAM policy analysis destination.", + "id": "IamPolicyAnalysisOutputConfig", + "properties": { + "gcsDestination": { + "$ref": "GcsDestination", + "description": "Destination on Cloud Storage." + } + }, + "type": "object" + }, + "IamPolicyAnalysisQuery": { + "description": "IAM policy analysis query message.", + "id": "IamPolicyAnalysisQuery", + "properties": { + "accessSelector": { + "$ref": "AccessSelector", + "description": "Optional. Specifies roles or permissions for analysis. This is optional." + }, + "identitySelector": { + "$ref": "IdentitySelector", + "description": "Optional. Specifies an identity for analysis." + }, + "parent": { + "description": "Required. The relative name of the root asset. Only resources and IAM policies within the parent will be analyzed. This can only be an organization number (such as \"organizations/123\"), a folder number (such as \"folders/123\"), a project ID (such as \"projects/my-project-id\"), or a project number (such as \"projects/12345\"). To know how to get organization id, visit [here ](https://cloud.google.com/resource-manager/docs/creating-managing-organization#retrieving_your_organization_id). To know how to get folder or project id, visit [here ](https://cloud.google.com/resource-manager/docs/creating-managing-folders#viewing_or_listing_folders_and_projects).", + "type": "string" + }, + "resourceSelector": { + "$ref": "ResourceSelector", + "description": "Optional. Specifies a resource for analysis." + } + }, + "type": "object" + }, + "IamPolicyAnalysisResult": { + "description": "IAM Policy analysis result, consisting of one IAM policy binding and derived access control lists.", + "id": "IamPolicyAnalysisResult", + "properties": { + "accessControlLists": { + "description": "The access control lists derived from the iam_binding that match or potentially match resource and access selectors specified in the request.", + "items": { + "$ref": "GoogleCloudAssetV1p4beta1AccessControlList" + }, + "type": "array" + }, + "attachedResourceFullName": { + "description": "The [full resource name](https://cloud.google.com/asset-inventory/docs/resource-name-format) of the resource to which the iam_binding policy attaches.", + "type": "string" + }, + "fullyExplored": { + "description": "Represents whether all analyses on the iam_binding have successfully finished.", + "type": "boolean" + }, + "iamBinding": { + "$ref": "Binding", + "description": "The Cloud IAM policy binding under analysis." + }, + "identityList": { + "$ref": "GoogleCloudAssetV1p4beta1IdentityList", + "description": "The identity list derived from members of the iam_binding that match or potentially match identity selector specified in the request." + } + }, + "type": "object" + }, + "IdentitySelector": { + "description": "Specifies an identity for which to determine resource access, based on roles assigned either directly to them or to the groups they belong to, directly or indirectly.", + "id": "IdentitySelector", + "properties": { + "identity": { + "description": "Required. The identity appear in the form of members in [IAM policy binding](https://cloud.google.com/iam/reference/rest/v1/Binding). The examples of supported forms are: \"user:mike@example.com\", \"group:admins@example.com\", \"domain:google.com\", \"serviceAccount:my-project-id@appspot.gserviceaccount.com\". Notice that wildcard characters (such as * and ?) are not supported. You must give a specific identity.", + "type": "string" + } + }, + "type": "object" + }, + "Operation": { + "description": "This resource represents a long-running operation that is the result of a network API call.", + "id": "Operation", + "properties": { + "done": { + "description": "If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.", + "type": "boolean" + }, + "error": { + "$ref": "Status", + "description": "The error result of the operation in case of failure or cancellation." + }, + "metadata": { + "additionalProperties": { + "description": "Properties of the object. Contains field @type with type URL.", + "type": "any" + }, + "description": "Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.", + "type": "object" + }, + "name": { + "description": "The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.", + "type": "string" + }, + "response": { + "additionalProperties": { + "description": "Properties of the object. Contains field @type with type URL.", + "type": "any" + }, + "description": "The normal response of the operation in case of success. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.", + "type": "object" + } + }, + "type": "object" + }, + "Options": { + "description": "Contains request options.", + "id": "Options", + "properties": { + "analyzeServiceAccountImpersonation": { + "description": "Optional. If true, the response will include access analysis from identities to resources via service account impersonation. This is a very expensive operation, because many derived queries will be executed. For example, if the request analyzes for which resources user A has permission P, and there's an IAM policy states user A has iam.serviceAccounts.getAccessToken permission to a service account SA, and there's another IAM policy states service account SA has permission P to a GCP folder F, then user A potentially has access to the GCP folder F. And those advanced analysis results will be included in AnalyzeIamPolicyResponse.service_account_impersonation_analysis. Another example, if the request analyzes for who has permission P to a GCP folder F, and there's an IAM policy states user A has iam.serviceAccounts.actAs permission to a service account SA, and there's another IAM policy states service account SA has permission P to the GCP folder F, then user A potentially has access to the GCP folder F. And those advanced analysis results will be included in AnalyzeIamPolicyResponse.service_account_impersonation_analysis. Default is false.", + "type": "boolean" + }, + "expandGroups": { + "description": "Optional. If true, the identities section of the result will expand any Google groups appearing in an IAM policy binding. If identity_selector is specified, the identity in the result will be determined by the selector, and this flag will have no effect. Default is false.", + "type": "boolean" + }, + "expandResources": { + "description": "Optional. If true, the resource section of the result will expand any resource attached to an IAM policy to include resources lower in the resource hierarchy. For example, if the request analyzes for which resources user A has permission P, and the results include an IAM policy with P on a GCP folder, the results will also include resources in that folder with permission P. If resource_selector is specified, the resource section of the result will be determined by the selector, and this flag will have no effect. Default is false.", + "type": "boolean" + }, + "expandRoles": { + "description": "Optional. If true, the access section of result will expand any roles appearing in IAM policy bindings to include their permissions. If access_selector is specified, the access section of the result will be determined by the selector, and this flag will have no effect. Default is false.", + "type": "boolean" + }, + "outputGroupEdges": { + "description": "Optional. If true, the result will output group identity edges, starting from the binding's group members, to any expanded identities. Default is false.", + "type": "boolean" + }, + "outputResourceEdges": { + "description": "Optional. If true, the result will output resource edges, starting from the policy attached resource, to any expanded resources. Default is false.", + "type": "boolean" + } + }, + "type": "object" + }, + "Policy": { + "description": "An Identity and Access Management (IAM) policy, which specifies access controls for Google Cloud resources. A `Policy` is a collection of `bindings`. A `binding` binds one or more `members`, or principals, to a single `role`. Principals can be user accounts, service accounts, Google groups, and domains (such as G Suite). A `role` is a named list of permissions; each `role` can be an IAM predefined role or a user-created custom role. For some types of Google Cloud resources, a `binding` can also specify a `condition`, which is a logical expression that allows access to a resource only if the expression evaluates to `true`. A condition can add constraints based on attributes of the request, the resource, or both. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). **JSON example:** { \"bindings\": [ { \"role\": \"roles/resourcemanager.organizationAdmin\", \"members\": [ \"user:mike@example.com\", \"group:admins@example.com\", \"domain:google.com\", \"serviceAccount:my-project-id@appspot.gserviceaccount.com\" ] }, { \"role\": \"roles/resourcemanager.organizationViewer\", \"members\": [ \"user:eve@example.com\" ], \"condition\": { \"title\": \"expirable access\", \"description\": \"Does not grant access after Sep 2020\", \"expression\": \"request.time < timestamp('2020-10-01T00:00:00.000Z')\", } } ], \"etag\": \"BwWWja0YfJA=\", \"version\": 3 } **YAML example:** bindings: - members: - user:mike@example.com - group:admins@example.com - domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.com role: roles/resourcemanager.organizationViewer condition: title: expirable access description: Does not grant access after Sep 2020 expression: request.time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For a description of IAM and its features, see the [IAM documentation](https://cloud.google.com/iam/docs/).", + "id": "Policy", + "properties": { + "auditConfigs": { + "description": "Specifies cloud audit logging configuration for this policy.", + "items": { + "$ref": "AuditConfig" + }, + "type": "array" + }, + "bindings": { + "description": "Associates a list of `members`, or principals, with a `role`. Optionally, may specify a `condition` that determines how and when the `bindings` are applied. Each of the `bindings` must contain at least one principal. The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250 of these principals can be Google groups. Each occurrence of a principal counts towards these limits. For example, if the `bindings` grant 50 different roles to `user:alice@example.com`, and not to any other principal, then you can add another 1,450 principals to the `bindings` in the `Policy`.", + "items": { + "$ref": "Binding" + }, + "type": "array" + }, + "etag": { + "description": "`etag` is used for optimistic concurrency control as a way to help prevent simultaneous updates of a policy from overwriting each other. It is strongly suggested that systems make use of the `etag` in the read-modify-write cycle to perform policy updates in order to avoid race conditions: An `etag` is returned in the response to `getIamPolicy`, and systems are expected to put that etag in the request to `setIamPolicy` to ensure that their change will be applied to the same version of the policy. **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost.", + "format": "byte", + "type": "string" + }, + "version": { + "description": "Specifies the format of the policy. Valid values are `0`, `1`, and `3`. Requests that specify an invalid value are rejected. Any operation that affects conditional role bindings must specify version `3`. This requirement applies to the following operations: * Getting a policy that includes a conditional role binding * Adding a conditional role binding to a policy * Changing a conditional role binding in a policy * Removing any role binding, with or without a condition, from a policy that includes conditions **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost. If a policy does not include any conditions, operations on that policy may specify any valid version or leave the field unset. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).", + "format": "int32", + "type": "integer" + } + }, + "type": "object" + }, + "ResourceSelector": { + "description": "Specifies the resource to analyze for access policies, which may be set directly on the resource, or on ancestors such as organizations, folders or projects.", + "id": "ResourceSelector", + "properties": { + "fullResourceName": { + "description": "Required. The [full resource name](https://cloud.google.com/asset-inventory/docs/resource-name-format) of a resource of [supported resource types](https://cloud.google.com/asset-inventory/docs/supported-asset-types#analyzable_asset_types).", + "type": "string" + } + }, + "type": "object" + }, + "Status": { + "description": "The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors).", + "id": "Status", + "properties": { + "code": { + "description": "The status code, which should be an enum value of google.rpc.Code.", + "format": "int32", + "type": "integer" + }, + "details": { + "description": "A list of messages that carry the error details. There is a common set of message types for APIs to use.", + "items": { + "additionalProperties": { + "description": "Properties of the object. Contains field @type with type URL.", + "type": "any" + }, + "type": "object" + }, + "type": "array" + }, + "message": { + "description": "A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.", + "type": "string" + } + }, + "type": "object" + } + }, + "servicePath": "", + "title": "Cloud Asset API", + "version": "v1p4beta1", + "version_module": true +} \ No newline at end of file diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/cloudasset.v1p5beta1.json b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/cloudasset.v1p5beta1.json new file mode 100644 index 0000000000000000000000000000000000000000..43dde8fb441972d1c5775efa5ce7646e346de988 --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/cloudasset.v1p5beta1.json @@ -0,0 +1,1334 @@ +{ +"auth": { +"oauth2": { +"scopes": { +"https://www.googleapis.com/auth/cloud-platform": { +"description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." +} +} +} +}, +"basePath": "", +"baseUrl": "https://cloudasset.googleapis.com/", +"batchPath": "batch", +"canonicalName": "Cloud Asset", +"description": "The Cloud Asset API manages the history and inventory of Google Cloud resources.", +"discoveryVersion": "v1", +"documentationLink": "https://cloud.google.com/asset-inventory/docs/quickstart", +"fullyEncodeReservedExpansion": true, +"icons": { +"x16": "http://www.google.com/images/icons/product/search-16.gif", +"x32": "http://www.google.com/images/icons/product/search-32.gif" +}, +"id": "cloudasset:v1p5beta1", +"kind": "discovery#restDescription", +"mtlsRootUrl": "https://cloudasset.mtls.googleapis.com/", +"name": "cloudasset", +"ownerDomain": "google.com", +"ownerName": "Google", +"parameters": { +"$.xgafv": { +"description": "V1 error format.", +"enum": [ +"1", +"2" +], +"enumDescriptions": [ +"v1 error format", +"v2 error format" +], +"location": "query", +"type": "string" +}, +"access_token": { +"description": "OAuth access token.", +"location": "query", +"type": "string" +}, +"alt": { +"default": "json", +"description": "Data format for response.", +"enum": [ +"json", +"media", +"proto" +], +"enumDescriptions": [ +"Responses with Content-Type of application/json", +"Media download with context-dependent Content-Type", +"Responses with Content-Type of application/x-protobuf" +], +"location": "query", +"type": "string" +}, +"callback": { +"description": "JSONP", +"location": "query", +"type": "string" +}, +"fields": { +"description": "Selector specifying which fields to include in a partial response.", +"location": "query", +"type": "string" +}, +"key": { +"description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", +"location": "query", +"type": "string" +}, +"oauth_token": { +"description": "OAuth 2.0 token for the current user.", +"location": "query", +"type": "string" +}, +"prettyPrint": { +"default": "true", +"description": "Returns response with indentations and line breaks.", +"location": "query", +"type": "boolean" +}, +"quotaUser": { +"description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.", +"location": "query", +"type": "string" +}, +"uploadType": { +"description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", +"location": "query", +"type": "string" +}, +"upload_protocol": { +"description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", +"location": "query", +"type": "string" +} +}, +"protocol": "rest", +"resources": { +"assets": { +"methods": { +"list": { +"description": "Lists assets with time and resource types and returns paged results in response.", +"flatPath": "v1p5beta1/{v1p5beta1Id}/{v1p5beta1Id1}/assets", +"httpMethod": "GET", +"id": "cloudasset.assets.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"assetTypes": { +"description": "A list of asset types to take a snapshot for. For example: \"compute.googleapis.com/Disk\". Regular expression is also supported. For example: * \"compute.googleapis.com.*\" snapshots resources whose asset type starts with \"compute.googleapis.com\". * \".*Instance\" snapshots resources whose asset type ends with \"Instance\". * \".*Instance.*\" snapshots resources whose asset type contains \"Instance\". See [RE2](https://github.com/google/re2/wiki/Syntax) for all supported regular expression syntax. If the regular expression does not match any supported asset type, an INVALID_ARGUMENT error will be returned. If specified, only matching assets will be returned, otherwise, it will snapshot all asset types. See [Introduction to Cloud Asset Inventory](https://cloud.google.com/asset-inventory/docs/overview) for all supported asset types.", +"location": "query", +"repeated": true, +"type": "string" +}, +"contentType": { +"description": "Asset content type. If not specified, no content but the asset name will be returned.", +"enum": [ +"CONTENT_TYPE_UNSPECIFIED", +"RESOURCE", +"IAM_POLICY", +"ORG_POLICY", +"ACCESS_POLICY" +], +"enumDescriptions": [ +"Unspecified content type.", +"Resource metadata.", +"The actual IAM policy set on a resource.", +"The organization policy set on an asset.", +"The Access Context Manager policy set on an asset." +], +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "The maximum number of assets to be returned in a single response. Default is 100, minimum is 1, and maximum is 1000.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The `next_page_token` returned from the previous `ListAssetsResponse`, or unspecified for the first `ListAssetsRequest`. It is a continuation of a prior `ListAssets` call, and the API should return the next page of assets.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. Name of the organization or project the assets belong to. Format: \"organizations/[organization-number]\" (such as \"organizations/123\"), \"projects/[project-id]\" (such as \"projects/my-project-id\"), or \"projects/[project-number]\" (such as \"projects/12345\").", +"location": "path", +"pattern": "^[^/]+/[^/]+$", +"required": true, +"type": "string" +}, +"readTime": { +"description": "Timestamp to take an asset snapshot. This can only be set to a timestamp between the current time and the current time minus 35 days (inclusive). If not specified, the current time will be used. Due to delays in resource data collection and indexing, there is a volatile window during which running the same query may get different results.", +"format": "google-datetime", +"location": "query", +"type": "string" +} +}, +"path": "v1p5beta1/{+parent}/assets", +"response": { +"$ref": "ListAssetsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +}, +"revision": "20250307", +"rootUrl": "https://cloudasset.googleapis.com/", +"schemas": { +"AnalyzeIamPolicyLongrunningMetadata": { +"description": "Represents the metadata of the longrunning operation for the AnalyzeIamPolicyLongrunning RPC.", +"id": "AnalyzeIamPolicyLongrunningMetadata", +"properties": { +"createTime": { +"description": "Output only. The time the operation was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"AnalyzeIamPolicyLongrunningResponse": { +"description": "A response message for AssetService.AnalyzeIamPolicyLongrunning.", +"id": "AnalyzeIamPolicyLongrunningResponse", +"properties": {}, +"type": "object" +}, +"Asset": { +"description": "An asset in Google Cloud. An asset can be any resource in the Google Cloud [resource hierarchy](https://cloud.google.com/resource-manager/docs/cloud-platform-resource-hierarchy), a resource outside the Google Cloud resource hierarchy (such as Google Kubernetes Engine clusters and objects), or a policy (e.g. IAM policy). See [Supported asset types](https://cloud.google.com/asset-inventory/docs/supported-asset-types) for more information.", +"id": "Asset", +"properties": { +"accessLevel": { +"$ref": "GoogleIdentityAccesscontextmanagerV1AccessLevel", +"description": "Please also refer to the [access level user guide](https://cloud.google.com/access-context-manager/docs/overview#access-levels)." +}, +"accessPolicy": { +"$ref": "GoogleIdentityAccesscontextmanagerV1AccessPolicy", +"description": "Please also refer to the [access policy user guide](https://cloud.google.com/access-context-manager/docs/overview#access-policies)." +}, +"ancestors": { +"description": "The ancestry path of an asset in Google Cloud [resource hierarchy](https://cloud.google.com/resource-manager/docs/cloud-platform-resource-hierarchy), represented as a list of relative resource names. An ancestry path starts with the closest ancestor in the hierarchy and ends at root. If the asset is a project, folder, or organization, the ancestry path starts from the asset itself. Example: `[\"projects/123456789\", \"folders/5432\", \"organizations/1234\"]`", +"items": { +"type": "string" +}, +"type": "array" +}, +"assetType": { +"description": "The type of the asset. Example: `compute.googleapis.com/Disk` See [Supported asset types](https://cloud.google.com/asset-inventory/docs/supported-asset-types) for more information.", +"type": "string" +}, +"iamPolicy": { +"$ref": "Policy", +"description": "A representation of the IAM policy set on a Google Cloud resource. There can be a maximum of one IAM policy set on any given resource. In addition, IAM policies inherit their granted access scope from any policies set on parent resources in the resource hierarchy. Therefore, the effectively policy is the union of both the policy set on this resource and each policy set on all of the resource's ancestry resource levels in the hierarchy. See [this topic](https://cloud.google.com/iam/help/allow-policies/inheritance) for more information." +}, +"name": { +"description": "The full name of the asset. Example: `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1` See [Resource names](https://cloud.google.com/apis/design/resource_names#full_resource_name) for more information.", +"type": "string" +}, +"orgPolicy": { +"description": "A representation of an [organization policy](https://cloud.google.com/resource-manager/docs/organization-policy/overview#organization_policy). There can be more than one organization policy with different constraints set on a given resource.", +"items": { +"$ref": "GoogleCloudOrgpolicyV1Policy" +}, +"type": "array" +}, +"resource": { +"$ref": "Resource", +"description": "A representation of the resource." +}, +"servicePerimeter": { +"$ref": "GoogleIdentityAccesscontextmanagerV1ServicePerimeter", +"description": "Please also refer to the [service perimeter user guide](https://cloud.google.com/vpc-service-controls/docs/overview)." +} +}, +"type": "object" +}, +"AuditConfig": { +"description": "Specifies the audit configuration for a service. The configuration determines which permission types are logged, and what identities, if any, are exempted from logging. An AuditConfig must have one or more AuditLogConfigs. If there are AuditConfigs for both `allServices` and a specific service, the union of the two AuditConfigs is used for that service: the log_types specified in each AuditConfig are enabled, and the exempted_members in each AuditLogConfig are exempted. Example Policy with multiple AuditConfigs: { \"audit_configs\": [ { \"service\": \"allServices\", \"audit_log_configs\": [ { \"log_type\": \"DATA_READ\", \"exempted_members\": [ \"user:jose@example.com\" ] }, { \"log_type\": \"DATA_WRITE\" }, { \"log_type\": \"ADMIN_READ\" } ] }, { \"service\": \"sampleservice.googleapis.com\", \"audit_log_configs\": [ { \"log_type\": \"DATA_READ\" }, { \"log_type\": \"DATA_WRITE\", \"exempted_members\": [ \"user:aliya@example.com\" ] } ] } ] } For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also exempts `jose@example.com` from DATA_READ logging, and `aliya@example.com` from DATA_WRITE logging.", +"id": "AuditConfig", +"properties": { +"auditLogConfigs": { +"description": "The configuration for logging of each type of permission.", +"items": { +"$ref": "AuditLogConfig" +}, +"type": "array" +}, +"service": { +"description": "Specifies a service that will be enabled for audit logging. For example, `storage.googleapis.com`, `cloudsql.googleapis.com`. `allServices` is a special value that covers all services.", +"type": "string" +} +}, +"type": "object" +}, +"AuditLogConfig": { +"description": "Provides the configuration for logging a type of permissions. Example: { \"audit_log_configs\": [ { \"log_type\": \"DATA_READ\", \"exempted_members\": [ \"user:jose@example.com\" ] }, { \"log_type\": \"DATA_WRITE\" } ] } This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting jose@example.com from DATA_READ logging.", +"id": "AuditLogConfig", +"properties": { +"exemptedMembers": { +"description": "Specifies the identities that do not cause logging for this type of permission. Follows the same format of Binding.members.", +"items": { +"type": "string" +}, +"type": "array" +}, +"logType": { +"description": "The log type that this config enables.", +"enum": [ +"LOG_TYPE_UNSPECIFIED", +"ADMIN_READ", +"DATA_WRITE", +"DATA_READ" +], +"enumDescriptions": [ +"Default case. Should never be this.", +"Admin reads. Example: CloudIAM getIamPolicy", +"Data writes. Example: CloudSQL Users create", +"Data reads. Example: CloudSQL Users list" +], +"type": "string" +} +}, +"type": "object" +}, +"Binding": { +"description": "Associates `members`, or principals, with a `role`.", +"id": "Binding", +"properties": { +"condition": { +"$ref": "Expr", +"description": "The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies)." +}, +"members": { +"description": "Specifies the principals requesting access for a Google Cloud resource. `members` can have the following values: * `allUsers`: A special identifier that represents anyone who is on the internet; with or without a Google account. * `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service account. Does not include identities that come from external identity providers (IdPs) through identity federation. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `group:{emailid}`: An email address that represents a Google group. For example, `admins@example.com`. * `domain:{domain}`: The G Suite domain (primary) that represents all the users of that domain. For example, `google.com` or `example.com`. * `principal://iam.googleapis.com/locations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}`: A single identity in a workforce identity pool. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/group/{group_id}`: All workforce identities in a group. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/attribute.{attribute_name}/{attribute_value}`: All workforce identities with a specific attribute value. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/*`: All identities in a workforce identity pool. * `principal://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/subject/{subject_attribute_value}`: A single identity in a workload identity pool. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/group/{group_id}`: A workload identity pool group. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/attribute.{attribute_name}/{attribute_value}`: All identities in a workload identity pool with a certain attribute. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/*`: All identities in a workload identity pool. * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a user that has been recently deleted. For example, `alice@example.com?uid=123456789012345678901`. If the user is recovered, this value reverts to `user:{emailid}` and the recovered user retains the role in the binding. * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a service account that has been recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the service account is undeleted, this value reverts to `serviceAccount:{emailid}` and the undeleted service account retains the role in the binding. * `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a Google group that has been recently deleted. For example, `admins@example.com?uid=123456789012345678901`. If the group is recovered, this value reverts to `group:{emailid}` and the recovered group retains the role in the binding. * `deleted:principal://iam.googleapis.com/locations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}`: Deleted single identity in a workforce identity pool. For example, `deleted:principal://iam.googleapis.com/locations/global/workforcePools/my-pool-id/subject/my-subject-attribute-value`.", +"items": { +"type": "string" +}, +"type": "array" +}, +"role": { +"description": "Role that is assigned to the list of `members`, or principals. For example, `roles/viewer`, `roles/editor`, or `roles/owner`. For an overview of the IAM roles and permissions, see the [IAM documentation](https://cloud.google.com/iam/docs/roles-overview). For a list of the available pre-defined roles, see [here](https://cloud.google.com/iam/docs/understanding-roles).", +"type": "string" +} +}, +"type": "object" +}, +"Expr": { +"description": "Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: \"Summary size limit\" description: \"Determines if a summary is less than 100 chars\" expression: \"document.summary.size() < 100\" Example (Equality): title: \"Requestor is owner\" description: \"Determines if requestor is the document owner\" expression: \"document.owner == request.auth.claims.email\" Example (Logic): title: \"Public documents\" description: \"Determine whether the document should be publicly visible\" expression: \"document.type != 'private' && document.type != 'internal'\" Example (Data Manipulation): title: \"Notification string\" description: \"Create a notification string with a timestamp.\" expression: \"'New message received at ' + string(document.create_time)\" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information.", +"id": "Expr", +"properties": { +"description": { +"description": "Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI.", +"type": "string" +}, +"expression": { +"description": "Textual representation of an expression in Common Expression Language syntax.", +"type": "string" +}, +"location": { +"description": "Optional. String indicating the location of the expression for error reporting, e.g. a file name and a position in the file.", +"type": "string" +}, +"title": { +"description": "Optional. Title for the expression, i.e. a short string describing its purpose. This can be used e.g. in UIs which allow to enter the expression.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAssetV1p7beta1Asset": { +"description": "An asset in Google Cloud. An asset can be any resource in the Google Cloud [resource hierarchy](https://cloud.google.com/resource-manager/docs/cloud-platform-resource-hierarchy), a resource outside the Google Cloud resource hierarchy (such as Google Kubernetes Engine clusters and objects), or a policy (e.g. IAM policy). See [Supported asset types](https://cloud.google.com/asset-inventory/docs/supported-asset-types) for more information.", +"id": "GoogleCloudAssetV1p7beta1Asset", +"properties": { +"accessLevel": { +"$ref": "GoogleIdentityAccesscontextmanagerV1AccessLevel", +"description": "Please also refer to the [access level user guide](https://cloud.google.com/access-context-manager/docs/overview#access-levels)." +}, +"accessPolicy": { +"$ref": "GoogleIdentityAccesscontextmanagerV1AccessPolicy", +"description": "Please also refer to the [access policy user guide](https://cloud.google.com/access-context-manager/docs/overview#access-policies)." +}, +"ancestors": { +"description": "The ancestry path of an asset in Google Cloud [resource hierarchy](https://cloud.google.com/resource-manager/docs/cloud-platform-resource-hierarchy), represented as a list of relative resource names. An ancestry path starts with the closest ancestor in the hierarchy and ends at root. If the asset is a project, folder, or organization, the ancestry path starts from the asset itself. Example: `[\"projects/123456789\", \"folders/5432\", \"organizations/1234\"]`", +"items": { +"type": "string" +}, +"type": "array" +}, +"assetType": { +"description": "The type of the asset. Example: `compute.googleapis.com/Disk` See [Supported asset types](https://cloud.google.com/asset-inventory/docs/supported-asset-types) for more information.", +"type": "string" +}, +"iamPolicy": { +"$ref": "Policy", +"description": "A representation of the IAM policy set on a Google Cloud resource. There can be a maximum of one IAM policy set on any given resource. In addition, IAM policies inherit their granted access scope from any policies set on parent resources in the resource hierarchy. Therefore, the effectively policy is the union of both the policy set on this resource and each policy set on all of the resource's ancestry resource levels in the hierarchy. See [this topic](https://cloud.google.com/iam/help/allow-policies/inheritance) for more information." +}, +"name": { +"description": "The full name of the asset. Example: `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1` See [Resource names](https://cloud.google.com/apis/design/resource_names#full_resource_name) for more information.", +"type": "string" +}, +"orgPolicy": { +"description": "A representation of an [organization policy](https://cloud.google.com/resource-manager/docs/organization-policy/overview#organization_policy). There can be more than one organization policy with different constraints set on a given resource.", +"items": { +"$ref": "GoogleCloudOrgpolicyV1Policy" +}, +"type": "array" +}, +"relatedAssets": { +"$ref": "GoogleCloudAssetV1p7beta1RelatedAssets", +"description": "The related assets of the asset of one relationship type. One asset only represents one type of relationship." +}, +"resource": { +"$ref": "GoogleCloudAssetV1p7beta1Resource", +"description": "A representation of the resource." +}, +"servicePerimeter": { +"$ref": "GoogleIdentityAccesscontextmanagerV1ServicePerimeter", +"description": "Please also refer to the [service perimeter user guide](https://cloud.google.com/vpc-service-controls/docs/overview)." +}, +"updateTime": { +"description": "The last update timestamp of an asset. update_time is updated when create/update/delete operation is performed.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAssetV1p7beta1RelatedAsset": { +"description": "An asset identify in Google Cloud which contains its name, type and ancestors. An asset can be any resource in the Google Cloud [resource hierarchy](https://cloud.google.com/resource-manager/docs/cloud-platform-resource-hierarchy), a resource outside the Google Cloud resource hierarchy (such as Google Kubernetes Engine clusters and objects), or a policy (e.g. IAM policy). See [Supported asset types](https://cloud.google.com/asset-inventory/docs/supported-asset-types) for more information.", +"id": "GoogleCloudAssetV1p7beta1RelatedAsset", +"properties": { +"ancestors": { +"description": "The ancestors of an asset in Google Cloud [resource hierarchy](https://cloud.google.com/resource-manager/docs/cloud-platform-resource-hierarchy), represented as a list of relative resource names. An ancestry path starts with the closest ancestor in the hierarchy and ends at root. Example: `[\"projects/123456789\", \"folders/5432\", \"organizations/1234\"]`", +"items": { +"type": "string" +}, +"type": "array" +}, +"asset": { +"description": "The full name of the asset. Example: `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1` See [Resource names](https://cloud.google.com/apis/design/resource_names#full_resource_name) for more information.", +"type": "string" +}, +"assetType": { +"description": "The type of the asset. Example: `compute.googleapis.com/Disk` See [Supported asset types](https://cloud.google.com/asset-inventory/docs/supported-asset-types) for more information.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAssetV1p7beta1RelatedAssets": { +"description": "The detailed related assets with the `relationship_type`.", +"id": "GoogleCloudAssetV1p7beta1RelatedAssets", +"properties": { +"assets": { +"description": "The peer resources of the relationship.", +"items": { +"$ref": "GoogleCloudAssetV1p7beta1RelatedAsset" +}, +"type": "array" +}, +"relationshipAttributes": { +"$ref": "GoogleCloudAssetV1p7beta1RelationshipAttributes", +"description": "The detailed relation attributes." +} +}, +"type": "object" +}, +"GoogleCloudAssetV1p7beta1RelationshipAttributes": { +"description": "The relationship attributes which include `type`, `source_resource_type`, `target_resource_type` and `action`.", +"id": "GoogleCloudAssetV1p7beta1RelationshipAttributes", +"properties": { +"action": { +"description": "The detail of the relationship, e.g. `contains`, `attaches`", +"type": "string" +}, +"sourceResourceType": { +"description": "The source asset type. Example: `compute.googleapis.com/Instance`", +"type": "string" +}, +"targetResourceType": { +"description": "The target asset type. Example: `compute.googleapis.com/Disk`", +"type": "string" +}, +"type": { +"description": "The unique identifier of the relationship type. Example: `INSTANCE_TO_INSTANCEGROUP`", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAssetV1p7beta1Resource": { +"description": "A representation of a Google Cloud resource.", +"id": "GoogleCloudAssetV1p7beta1Resource", +"properties": { +"data": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"description": "The content of the resource, in which some sensitive fields are removed and may not be present.", +"type": "object" +}, +"discoveryDocumentUri": { +"description": "The URL of the discovery document containing the resource's JSON schema. Example: `https://www.googleapis.com/discovery/v1/apis/compute/v1/rest` This value is unspecified for resources that do not have an API based on a discovery document, such as Cloud Bigtable.", +"type": "string" +}, +"discoveryName": { +"description": "The JSON schema name listed in the discovery document. Example: `Project` This value is unspecified for resources that do not have an API based on a discovery document, such as Cloud Bigtable.", +"type": "string" +}, +"location": { +"description": "The location of the resource in Google Cloud, such as its zone and region. For more information, see https://cloud.google.com/about/locations/.", +"type": "string" +}, +"parent": { +"description": "The full name of the immediate parent of this resource. See [Resource Names](https://cloud.google.com/apis/design/resource_names#full_resource_name) for more information. For Google Cloud assets, this value is the parent resource defined in the [IAM policy hierarchy](https://cloud.google.com/iam/docs/overview#policy_hierarchy). Example: `//cloudresourcemanager.googleapis.com/projects/my_project_123` For third-party assets, this field may be set differently.", +"type": "string" +}, +"resourceUrl": { +"description": "The REST URL for accessing the resource. An HTTP `GET` request using this URL returns the resource itself. Example: `https://cloudresourcemanager.googleapis.com/v1/projects/my-project-123` This value is unspecified for resources without a REST API.", +"type": "string" +}, +"version": { +"description": "The API version. Example: `v1`", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudOrgpolicyV1BooleanPolicy": { +"description": "Used in `policy_type` to specify how `boolean_policy` will behave at this resource.", +"id": "GoogleCloudOrgpolicyV1BooleanPolicy", +"properties": { +"enforced": { +"description": "If `true`, then the `Policy` is enforced. If `false`, then any configuration is acceptable. Suppose you have a `Constraint` `constraints/compute.disableSerialPortAccess` with `constraint_default` set to `ALLOW`. A `Policy` for that `Constraint` exhibits the following behavior: - If the `Policy` at this resource has enforced set to `false`, serial port connection attempts will be allowed. - If the `Policy` at this resource has enforced set to `true`, serial port connection attempts will be refused. - If the `Policy` at this resource is `RestoreDefault`, serial port connection attempts will be allowed. - If no `Policy` is set at this resource or anywhere higher in the resource hierarchy, serial port connection attempts will be allowed. - If no `Policy` is set at this resource, but one exists higher in the resource hierarchy, the behavior is as if the`Policy` were set at this resource. The following examples demonstrate the different possible layerings: Example 1 (nearest `Constraint` wins): `organizations/foo` has a `Policy` with: {enforced: false} `projects/bar` has no `Policy` set. The constraint at `projects/bar` and `organizations/foo` will not be enforced. Example 2 (enforcement gets replaced): `organizations/foo` has a `Policy` with: {enforced: false} `projects/bar` has a `Policy` with: {enforced: true} The constraint at `organizations/foo` is not enforced. The constraint at `projects/bar` is enforced. Example 3 (RestoreDefault): `organizations/foo` has a `Policy` with: {enforced: true} `projects/bar` has a `Policy` with: {RestoreDefault: {}} The constraint at `organizations/foo` is enforced. The constraint at `projects/bar` is not enforced, because `constraint_default` for the `Constraint` is `ALLOW`.", +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleCloudOrgpolicyV1ListPolicy": { +"description": "Used in `policy_type` to specify how `list_policy` behaves at this resource. `ListPolicy` can define specific values and subtrees of Cloud Resource Manager resource hierarchy (`Organizations`, `Folders`, `Projects`) that are allowed or denied by setting the `allowed_values` and `denied_values` fields. This is achieved by using the `under:` and optional `is:` prefixes. The `under:` prefix is used to denote resource subtree values. The `is:` prefix is used to denote specific values, and is required only if the value contains a \":\". Values prefixed with \"is:\" are treated the same as values with no prefix. Ancestry subtrees must be in one of the following formats: - \"projects/\", e.g. \"projects/tokyo-rain-123\" - \"folders/\", e.g. \"folders/1234\" - \"organizations/\", e.g. \"organizations/1234\" The `supports_under` field of the associated `Constraint` defines whether ancestry prefixes can be used. You can set `allowed_values` and `denied_values` in the same `Policy` if `all_values` is `ALL_VALUES_UNSPECIFIED`. `ALLOW` or `DENY` are used to allow or deny all values. If `all_values` is set to either `ALLOW` or `DENY`, `allowed_values` and `denied_values` must be unset.", +"id": "GoogleCloudOrgpolicyV1ListPolicy", +"properties": { +"allValues": { +"description": "The policy all_values state.", +"enum": [ +"ALL_VALUES_UNSPECIFIED", +"ALLOW", +"DENY" +], +"enumDescriptions": [ +"Indicates that allowed_values or denied_values must be set.", +"A policy with this set allows all values.", +"A policy with this set denies all values." +], +"type": "string" +}, +"allowedValues": { +"description": "List of values allowed at this resource. Can only be set if `all_values` is set to `ALL_VALUES_UNSPECIFIED`.", +"items": { +"type": "string" +}, +"type": "array" +}, +"deniedValues": { +"description": "List of values denied at this resource. Can only be set if `all_values` is set to `ALL_VALUES_UNSPECIFIED`.", +"items": { +"type": "string" +}, +"type": "array" +}, +"inheritFromParent": { +"description": "Determines the inheritance behavior for this `Policy`. By default, a `ListPolicy` set at a resource supersedes any `Policy` set anywhere up the resource hierarchy. However, if `inherit_from_parent` is set to `true`, then the values from the effective `Policy` of the parent resource are inherited, meaning the values set in this `Policy` are added to the values inherited up the hierarchy. Setting `Policy` hierarchies that inherit both allowed values and denied values isn't recommended in most circumstances to keep the configuration simple and understandable. However, it is possible to set a `Policy` with `allowed_values` set that inherits a `Policy` with `denied_values` set. In this case, the values that are allowed must be in `allowed_values` and not present in `denied_values`. For example, suppose you have a `Constraint` `constraints/serviceuser.services`, which has a `constraint_type` of `list_constraint`, and with `constraint_default` set to `ALLOW`. Suppose that at the Organization level, a `Policy` is applied that restricts the allowed API activations to {`E1`, `E2`}. Then, if a `Policy` is applied to a project below the Organization that has `inherit_from_parent` set to `false` and field all_values set to DENY, then an attempt to activate any API will be denied. The following examples demonstrate different possible layerings for `projects/bar` parented by `organizations/foo`: Example 1 (no inherited values): `organizations/foo` has a `Policy` with values: {allowed_values: \"E1\" allowed_values:\"E2\"} `projects/bar` has `inherit_from_parent` `false` and values: {allowed_values: \"E3\" allowed_values: \"E4\"} The accepted values at `organizations/foo` are `E1`, `E2`. The accepted values at `projects/bar` are `E3`, and `E4`. Example 2 (inherited values): `organizations/foo` has a `Policy` with values: {allowed_values: \"E1\" allowed_values:\"E2\"} `projects/bar` has a `Policy` with values: {value: \"E3\" value: \"E4\" inherit_from_parent: true} The accepted values at `organizations/foo` are `E1`, `E2`. The accepted values at `projects/bar` are `E1`, `E2`, `E3`, and `E4`. Example 3 (inheriting both allowed and denied values): `organizations/foo` has a `Policy` with values: {allowed_values: \"E1\" allowed_values: \"E2\"} `projects/bar` has a `Policy` with: {denied_values: \"E1\"} The accepted values at `organizations/foo` are `E1`, `E2`. The value accepted at `projects/bar` is `E2`. Example 4 (RestoreDefault): `organizations/foo` has a `Policy` with values: {allowed_values: \"E1\" allowed_values:\"E2\"} `projects/bar` has a `Policy` with values: {RestoreDefault: {}} The accepted values at `organizations/foo` are `E1`, `E2`. The accepted values at `projects/bar` are either all or none depending on the value of `constraint_default` (if `ALLOW`, all; if `DENY`, none). Example 5 (no policy inherits parent policy): `organizations/foo` has no `Policy` set. `projects/bar` has no `Policy` set. The accepted values at both levels are either all or none depending on the value of `constraint_default` (if `ALLOW`, all; if `DENY`, none). Example 6 (ListConstraint allowing all): `organizations/foo` has a `Policy` with values: {allowed_values: \"E1\" allowed_values: \"E2\"} `projects/bar` has a `Policy` with: {all: ALLOW} The accepted values at `organizations/foo` are `E1`, E2`. Any value is accepted at `projects/bar`. Example 7 (ListConstraint allowing none): `organizations/foo` has a `Policy` with values: {allowed_values: \"E1\" allowed_values: \"E2\"} `projects/bar` has a `Policy` with: {all: DENY} The accepted values at `organizations/foo` are `E1`, E2`. No value is accepted at `projects/bar`. Example 10 (allowed and denied subtrees of Resource Manager hierarchy): Given the following resource hierarchy O1->{F1, F2}; F1->{P1}; F2->{P2, P3}, `organizations/foo` has a `Policy` with values: {allowed_values: \"under:organizations/O1\"} `projects/bar` has a `Policy` with: {allowed_values: \"under:projects/P3\"} {denied_values: \"under:folders/F2\"} The accepted values at `organizations/foo` are `organizations/O1`, `folders/F1`, `folders/F2`, `projects/P1`, `projects/P2`, `projects/P3`. The accepted values at `projects/bar` are `organizations/O1`, `folders/F1`, `projects/P1`.", +"type": "boolean" +}, +"suggestedValue": { +"description": "Optional. The Google Cloud Console will try to default to a configuration that matches the value specified in this `Policy`. If `suggested_value` is not set, it will inherit the value specified higher in the hierarchy, unless `inherit_from_parent` is `false`.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudOrgpolicyV1Policy": { +"description": "Defines a Cloud Organization `Policy` which is used to specify `Constraints` for configurations of Cloud Platform resources.", +"id": "GoogleCloudOrgpolicyV1Policy", +"properties": { +"booleanPolicy": { +"$ref": "GoogleCloudOrgpolicyV1BooleanPolicy", +"description": "For boolean `Constraints`, whether to enforce the `Constraint` or not." +}, +"constraint": { +"description": "The name of the `Constraint` the `Policy` is configuring, for example, `constraints/serviceuser.services`. A [list of available constraints](/resource-manager/docs/organization-policy/org-policy-constraints) is available. Immutable after creation.", +"type": "string" +}, +"etag": { +"description": "An opaque tag indicating the current version of the `Policy`, used for concurrency control. When the `Policy` is returned from either a `GetPolicy` or a `ListOrgPolicy` request, this `etag` indicates the version of the current `Policy` to use when executing a read-modify-write loop. When the `Policy` is returned from a `GetEffectivePolicy` request, the `etag` will be unset. When the `Policy` is used in a `SetOrgPolicy` method, use the `etag` value that was returned from a `GetOrgPolicy` request as part of a read-modify-write loop for concurrency control. Not setting the `etag`in a `SetOrgPolicy` request will result in an unconditional write of the `Policy`.", +"format": "byte", +"type": "string" +}, +"listPolicy": { +"$ref": "GoogleCloudOrgpolicyV1ListPolicy", +"description": "List of values either allowed or disallowed." +}, +"restoreDefault": { +"$ref": "GoogleCloudOrgpolicyV1RestoreDefault", +"description": "Restores the default behavior of the constraint; independent of `Constraint` type." +}, +"updateTime": { +"description": "The time stamp the `Policy` was previously updated. This is set by the server, not specified by the caller, and represents the last time a call to `SetOrgPolicy` was made for that `Policy`. Any value set by the client will be ignored.", +"format": "google-datetime", +"type": "string" +}, +"version": { +"description": "Version of the `Policy`. Default version is 0;", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"GoogleCloudOrgpolicyV1RestoreDefault": { +"description": "Ignores policies set above this resource and restores the `constraint_default` enforcement behavior of the specific `Constraint` at this resource. Suppose that `constraint_default` is set to `ALLOW` for the `Constraint` `constraints/serviceuser.services`. Suppose that organization foo.com sets a `Policy` at their Organization resource node that restricts the allowed service activations to deny all service activations. They could then set a `Policy` with the `policy_type` `restore_default` on several experimental projects, restoring the `constraint_default` enforcement of the `Constraint` for only those projects, allowing those projects to have all services activated.", +"id": "GoogleCloudOrgpolicyV1RestoreDefault", +"properties": {}, +"type": "object" +}, +"GoogleIdentityAccesscontextmanagerV1AccessLevel": { +"description": "An `AccessLevel` is a label that can be applied to requests to Google Cloud services, along with a list of requirements necessary for the label to be applied.", +"id": "GoogleIdentityAccesscontextmanagerV1AccessLevel", +"properties": { +"basic": { +"$ref": "GoogleIdentityAccesscontextmanagerV1BasicLevel", +"description": "A `BasicLevel` composed of `Conditions`." +}, +"custom": { +"$ref": "GoogleIdentityAccesscontextmanagerV1CustomLevel", +"description": "A `CustomLevel` written in the Common Expression Language." +}, +"description": { +"description": "Description of the `AccessLevel` and its use. Does not affect behavior.", +"type": "string" +}, +"name": { +"description": "Identifier. Resource name for the `AccessLevel`. Format: `accessPolicies/{access_policy}/accessLevels/{access_level}`. The `access_level` component must begin with a letter, followed by alphanumeric characters or `_`. Its maximum length is 50 characters. After you create an `AccessLevel`, you cannot change its `name`.", +"type": "string" +}, +"title": { +"description": "Human readable title. Must be unique within the Policy.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleIdentityAccesscontextmanagerV1AccessPolicy": { +"description": "`AccessPolicy` is a container for `AccessLevels` (which define the necessary attributes to use Google Cloud services) and `ServicePerimeters` (which define regions of services able to freely pass data within a perimeter). An access policy is globally visible within an organization, and the restrictions it specifies apply to all projects within an organization.", +"id": "GoogleIdentityAccesscontextmanagerV1AccessPolicy", +"properties": { +"etag": { +"description": "Output only. An opaque identifier for the current version of the `AccessPolicy`. This will always be a strongly validated etag, meaning that two Access Policies will be identical if and only if their etags are identical. Clients should not expect this to be in any specific format.", +"readOnly": true, +"type": "string" +}, +"name": { +"description": "Output only. Identifier. Resource name of the `AccessPolicy`. Format: `accessPolicies/{access_policy}`", +"type": "string" +}, +"parent": { +"description": "Required. The parent of this `AccessPolicy` in the Cloud Resource Hierarchy. Currently immutable once created. Format: `organizations/{organization_id}`", +"type": "string" +}, +"scopes": { +"description": "The scopes of the AccessPolicy. Scopes define which resources a policy can restrict and where its resources can be referenced. For example, policy A with `scopes=[\"folders/123\"]` has the following behavior: - ServicePerimeter can only restrict projects within `folders/123`. - ServicePerimeter within policy A can only reference access levels defined within policy A. - Only one policy can include a given scope; thus, attempting to create a second policy which includes `folders/123` will result in an error. If no scopes are provided, then any resource within the organization can be restricted. Scopes cannot be modified after a policy is created. Policies can only have a single scope. Format: list of `folders/{folder_number}` or `projects/{project_number}`", +"items": { +"type": "string" +}, +"type": "array" +}, +"title": { +"description": "Required. Human readable title. Does not affect behavior.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleIdentityAccesscontextmanagerV1ApiOperation": { +"description": "Identification for an API Operation.", +"id": "GoogleIdentityAccesscontextmanagerV1ApiOperation", +"properties": { +"methodSelectors": { +"description": "API methods or permissions to allow. Method or permission must belong to the service specified by `service_name` field. A single MethodSelector entry with `*` specified for the `method` field will allow all methods AND permissions for the service specified in `service_name`.", +"items": { +"$ref": "GoogleIdentityAccesscontextmanagerV1MethodSelector" +}, +"type": "array" +}, +"serviceName": { +"description": "The name of the API whose methods or permissions the IngressPolicy or EgressPolicy want to allow. A single ApiOperation with `service_name` field set to `*` will allow all methods AND permissions for all services.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleIdentityAccesscontextmanagerV1BasicLevel": { +"description": "`BasicLevel` is an `AccessLevel` using a set of recommended features.", +"id": "GoogleIdentityAccesscontextmanagerV1BasicLevel", +"properties": { +"combiningFunction": { +"description": "How the `conditions` list should be combined to determine if a request is granted this `AccessLevel`. If AND is used, each `Condition` in `conditions` must be satisfied for the `AccessLevel` to be applied. If OR is used, at least one `Condition` in `conditions` must be satisfied for the `AccessLevel` to be applied. Default behavior is AND.", +"enum": [ +"AND", +"OR" +], +"enumDescriptions": [ +"All `Conditions` must be true for the `BasicLevel` to be true.", +"If at least one `Condition` is true, then the `BasicLevel` is true." +], +"type": "string" +}, +"conditions": { +"description": "Required. A list of requirements for the `AccessLevel` to be granted.", +"items": { +"$ref": "GoogleIdentityAccesscontextmanagerV1Condition" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleIdentityAccesscontextmanagerV1Condition": { +"description": "A condition necessary for an `AccessLevel` to be granted. The Condition is an AND over its fields. So a Condition is true if: 1) the request IP is from one of the listed subnetworks AND 2) the originating device complies with the listed device policy AND 3) all listed access levels are granted AND 4) the request was sent at a time allowed by the DateTimeRestriction.", +"id": "GoogleIdentityAccesscontextmanagerV1Condition", +"properties": { +"devicePolicy": { +"$ref": "GoogleIdentityAccesscontextmanagerV1DevicePolicy", +"description": "Device specific restrictions, all restrictions must hold for the Condition to be true. If not specified, all devices are allowed." +}, +"ipSubnetworks": { +"description": "CIDR block IP subnetwork specification. May be IPv4 or IPv6. Note that for a CIDR IP address block, the specified IP address portion must be properly truncated (i.e. all the host bits must be zero) or the input is considered malformed. For example, \"192.0.2.0/24\" is accepted but \"192.0.2.1/24\" is not. Similarly, for IPv6, \"2001:db8::/32\" is accepted whereas \"2001:db8::1/32\" is not. The originating IP of a request must be in one of the listed subnets in order for this Condition to be true. If empty, all IP addresses are allowed.", +"items": { +"type": "string" +}, +"type": "array" +}, +"members": { +"description": "The request must be made by one of the provided user or service accounts. Groups are not supported. Syntax: `user:{emailid}` `serviceAccount:{emailid}` If not specified, a request may come from any user.", +"items": { +"type": "string" +}, +"type": "array" +}, +"negate": { +"description": "Whether to negate the Condition. If true, the Condition becomes a NAND over its non-empty fields. Any non-empty field criteria evaluating to false will result in the Condition to be satisfied. Defaults to false.", +"type": "boolean" +}, +"regions": { +"description": "The request must originate from one of the provided countries/regions. Must be valid ISO 3166-1 alpha-2 codes.", +"items": { +"type": "string" +}, +"type": "array" +}, +"requiredAccessLevels": { +"description": "A list of other access levels defined in the same `Policy`, referenced by resource name. Referencing an `AccessLevel` which does not exist is an error. All access levels listed must be granted for the Condition to be true. Example: \"`accessPolicies/MY_POLICY/accessLevels/LEVEL_NAME\"`", +"items": { +"type": "string" +}, +"type": "array" +}, +"vpcNetworkSources": { +"description": "The request must originate from one of the provided VPC networks in Google Cloud. Cannot specify this field together with `ip_subnetworks`.", +"items": { +"$ref": "GoogleIdentityAccesscontextmanagerV1VpcNetworkSource" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleIdentityAccesscontextmanagerV1CustomLevel": { +"description": "`CustomLevel` is an `AccessLevel` using the Cloud Common Expression Language to represent the necessary conditions for the level to apply to a request. See CEL spec at: https://github.com/google/cel-spec", +"id": "GoogleIdentityAccesscontextmanagerV1CustomLevel", +"properties": { +"expr": { +"$ref": "Expr", +"description": "Required. A Cloud CEL expression evaluating to a boolean." +} +}, +"type": "object" +}, +"GoogleIdentityAccesscontextmanagerV1DevicePolicy": { +"description": "`DevicePolicy` specifies device specific restrictions necessary to acquire a given access level. A `DevicePolicy` specifies requirements for requests from devices to be granted access levels, it does not do any enforcement on the device. `DevicePolicy` acts as an AND over all specified fields, and each repeated field is an OR over its elements. Any unset fields are ignored. For example, if the proto is { os_type : DESKTOP_WINDOWS, os_type : DESKTOP_LINUX, encryption_status: ENCRYPTED}, then the DevicePolicy will be true for requests originating from encrypted Linux desktops and encrypted Windows desktops.", +"id": "GoogleIdentityAccesscontextmanagerV1DevicePolicy", +"properties": { +"allowedDeviceManagementLevels": { +"description": "Allowed device management levels, an empty list allows all management levels.", +"items": { +"enum": [ +"MANAGEMENT_UNSPECIFIED", +"NONE", +"BASIC", +"COMPLETE" +], +"enumDescriptions": [ +"The device's management level is not specified or not known.", +"The device is not managed.", +"Basic management is enabled, which is generally limited to monitoring and wiping the corporate account.", +"Complete device management. This includes more thorough monitoring and the ability to directly manage the device (such as remote wiping). This can be enabled through the Android Enterprise Platform." +], +"type": "string" +}, +"type": "array" +}, +"allowedEncryptionStatuses": { +"description": "Allowed encryptions statuses, an empty list allows all statuses.", +"items": { +"enum": [ +"ENCRYPTION_UNSPECIFIED", +"ENCRYPTION_UNSUPPORTED", +"UNENCRYPTED", +"ENCRYPTED" +], +"enumDescriptions": [ +"The encryption status of the device is not specified or not known.", +"The device does not support encryption.", +"The device supports encryption, but is currently unencrypted.", +"The device is encrypted." +], +"type": "string" +}, +"type": "array" +}, +"osConstraints": { +"description": "Allowed OS versions, an empty list allows all types and all versions.", +"items": { +"$ref": "GoogleIdentityAccesscontextmanagerV1OsConstraint" +}, +"type": "array" +}, +"requireAdminApproval": { +"description": "Whether the device needs to be approved by the customer admin.", +"type": "boolean" +}, +"requireCorpOwned": { +"description": "Whether the device needs to be corp owned.", +"type": "boolean" +}, +"requireScreenlock": { +"description": "Whether or not screenlock is required for the DevicePolicy to be true. Defaults to `false`.", +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleIdentityAccesscontextmanagerV1EgressFrom": { +"description": "Defines the conditions under which an EgressPolicy matches a request. Conditions based on information about the source of the request. Note that if the destination of the request is also protected by a ServicePerimeter, then that ServicePerimeter must have an IngressPolicy which allows access in order for this request to succeed.", +"id": "GoogleIdentityAccesscontextmanagerV1EgressFrom", +"properties": { +"identities": { +"description": "A list of identities that are allowed access through [EgressPolicy]. Identities can be an individual user, service account, Google group, or third-party identity. For third-party identity, only single identities are supported and other identity types are not supported. The `v1` identities that have the prefix `user`, `group`, `serviceAccount`, and `principal` in https://cloud.google.com/iam/docs/principal-identifiers#v1 are supported.", +"items": { +"type": "string" +}, +"type": "array" +}, +"identityType": { +"description": "Specifies the type of identities that are allowed access to outside the perimeter. If left unspecified, then members of `identities` field will be allowed access.", +"enum": [ +"IDENTITY_TYPE_UNSPECIFIED", +"ANY_IDENTITY", +"ANY_USER_ACCOUNT", +"ANY_SERVICE_ACCOUNT" +], +"enumDescriptions": [ +"No blanket identity group specified.", +"Authorize access from all identities outside the perimeter.", +"Authorize access from all human users outside the perimeter.", +"Authorize access from all service accounts outside the perimeter." +], +"type": "string" +}, +"sourceRestriction": { +"description": "Whether to enforce traffic restrictions based on `sources` field. If the `sources` fields is non-empty, then this field must be set to `SOURCE_RESTRICTION_ENABLED`.", +"enum": [ +"SOURCE_RESTRICTION_UNSPECIFIED", +"SOURCE_RESTRICTION_ENABLED", +"SOURCE_RESTRICTION_DISABLED" +], +"enumDescriptions": [ +"Enforcement preference unspecified, will not enforce traffic restrictions based on `sources` in EgressFrom.", +"Enforcement preference enabled, traffic restrictions will be enforced based on `sources` in EgressFrom.", +"Enforcement preference disabled, will not enforce traffic restrictions based on `sources` in EgressFrom." +], +"type": "string" +}, +"sources": { +"description": "Sources that this EgressPolicy authorizes access from. If this field is not empty, then `source_restriction` must be set to `SOURCE_RESTRICTION_ENABLED`.", +"items": { +"$ref": "GoogleIdentityAccesscontextmanagerV1EgressSource" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleIdentityAccesscontextmanagerV1EgressPolicy": { +"description": "Policy for egress from perimeter. EgressPolicies match requests based on `egress_from` and `egress_to` stanzas. For an EgressPolicy to match, both `egress_from` and `egress_to` stanzas must be matched. If an EgressPolicy matches a request, the request is allowed to span the ServicePerimeter boundary. For example, an EgressPolicy can be used to allow VMs on networks within the ServicePerimeter to access a defined set of projects outside the perimeter in certain contexts (e.g. to read data from a Cloud Storage bucket or query against a BigQuery dataset). EgressPolicies are concerned with the *resources* that a request relates as well as the API services and API actions being used. They do not related to the direction of data movement. More detailed documentation for this concept can be found in the descriptions of EgressFrom and EgressTo.", +"id": "GoogleIdentityAccesscontextmanagerV1EgressPolicy", +"properties": { +"egressFrom": { +"$ref": "GoogleIdentityAccesscontextmanagerV1EgressFrom", +"description": "Defines conditions on the source of a request causing this EgressPolicy to apply." +}, +"egressTo": { +"$ref": "GoogleIdentityAccesscontextmanagerV1EgressTo", +"description": "Defines the conditions on the ApiOperation and destination resources that cause this EgressPolicy to apply." +}, +"title": { +"description": "Optional. Human-readable title for the egress rule. The title must be unique within the perimeter and can not exceed 100 characters. Within the access policy, the combined length of all rule titles must not exceed 240,000 characters.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleIdentityAccesscontextmanagerV1EgressSource": { +"description": "The source that EgressPolicy authorizes access from inside the ServicePerimeter to somewhere outside the ServicePerimeter boundaries.", +"id": "GoogleIdentityAccesscontextmanagerV1EgressSource", +"properties": { +"accessLevel": { +"description": "An AccessLevel resource name that allows protected resources inside the ServicePerimeters to access outside the ServicePerimeter boundaries. AccessLevels listed must be in the same policy as this ServicePerimeter. Referencing a nonexistent AccessLevel will cause an error. If an AccessLevel name is not specified, only resources within the perimeter can be accessed through Google Cloud calls with request origins within the perimeter. Example: `accessPolicies/MY_POLICY/accessLevels/MY_LEVEL`. If a single `*` is specified for `access_level`, then all EgressSources will be allowed.", +"type": "string" +}, +"resource": { +"description": "A Google Cloud resource from the service perimeter that you want to allow to access data outside the perimeter. This field supports only projects. The project format is `projects/{project_number}`. You can't use `*` in this field to allow all Google Cloud resources.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleIdentityAccesscontextmanagerV1EgressTo": { +"description": "Defines the conditions under which an EgressPolicy matches a request. Conditions are based on information about the ApiOperation intended to be performed on the `resources` specified. Note that if the destination of the request is also protected by a ServicePerimeter, then that ServicePerimeter must have an IngressPolicy which allows access in order for this request to succeed. The request must match `operations` AND `resources` fields in order to be allowed egress out of the perimeter.", +"id": "GoogleIdentityAccesscontextmanagerV1EgressTo", +"properties": { +"externalResources": { +"description": "A list of external resources that are allowed to be accessed. Only AWS and Azure resources are supported. For Amazon S3, the supported formats are s3://BUCKET_NAME, s3a://BUCKET_NAME, and s3n://BUCKET_NAME. For Azure Storage, the supported format is azure://myaccount.blob.core.windows.net/CONTAINER_NAME. A request matches if it contains an external resource in this list (Example: s3://bucket/path). Currently '*' is not allowed.", +"items": { +"type": "string" +}, +"type": "array" +}, +"operations": { +"description": "A list of ApiOperations allowed to be performed by the sources specified in the corresponding EgressFrom. A request matches if it uses an operation/service in this list.", +"items": { +"$ref": "GoogleIdentityAccesscontextmanagerV1ApiOperation" +}, +"type": "array" +}, +"resources": { +"description": "A list of resources, currently only projects in the form `projects/`, that are allowed to be accessed by sources defined in the corresponding EgressFrom. A request matches if it contains a resource in this list. If `*` is specified for `resources`, then this EgressTo rule will authorize access to all resources outside the perimeter.", +"items": { +"type": "string" +}, +"type": "array" +}, +"roles": { +"description": "IAM roles that represent the set of operations that the sources specified in the corresponding EgressFrom. are allowed to perform in this ServicePerimeter.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleIdentityAccesscontextmanagerV1IngressFrom": { +"description": "Defines the conditions under which an IngressPolicy matches a request. Conditions are based on information about the source of the request. The request must satisfy what is defined in `sources` AND identity related fields in order to match.", +"id": "GoogleIdentityAccesscontextmanagerV1IngressFrom", +"properties": { +"identities": { +"description": "A list of identities that are allowed access through [IngressPolicy]. Identities can be an individual user, service account, Google group, or third-party identity. For third-party identity, only single identities are supported and other identity types are not supported. The `v1` identities that have the prefix `user`, `group`, `serviceAccount`, and `principal` in https://cloud.google.com/iam/docs/principal-identifiers#v1 are supported.", +"items": { +"type": "string" +}, +"type": "array" +}, +"identityType": { +"description": "Specifies the type of identities that are allowed access from outside the perimeter. If left unspecified, then members of `identities` field will be allowed access.", +"enum": [ +"IDENTITY_TYPE_UNSPECIFIED", +"ANY_IDENTITY", +"ANY_USER_ACCOUNT", +"ANY_SERVICE_ACCOUNT" +], +"enumDescriptions": [ +"No blanket identity group specified.", +"Authorize access from all identities outside the perimeter.", +"Authorize access from all human users outside the perimeter.", +"Authorize access from all service accounts outside the perimeter." +], +"type": "string" +}, +"sources": { +"description": "Sources that this IngressPolicy authorizes access from.", +"items": { +"$ref": "GoogleIdentityAccesscontextmanagerV1IngressSource" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleIdentityAccesscontextmanagerV1IngressPolicy": { +"description": "Policy for ingress into ServicePerimeter. IngressPolicies match requests based on `ingress_from` and `ingress_to` stanzas. For an ingress policy to match, both the `ingress_from` and `ingress_to` stanzas must be matched. If an IngressPolicy matches a request, the request is allowed through the perimeter boundary from outside the perimeter. For example, access from the internet can be allowed either based on an AccessLevel or, for traffic hosted on Google Cloud, the project of the source network. For access from private networks, using the project of the hosting network is required. Individual ingress policies can be limited by restricting which services and/or actions they match using the `ingress_to` field.", +"id": "GoogleIdentityAccesscontextmanagerV1IngressPolicy", +"properties": { +"ingressFrom": { +"$ref": "GoogleIdentityAccesscontextmanagerV1IngressFrom", +"description": "Defines the conditions on the source of a request causing this IngressPolicy to apply." +}, +"ingressTo": { +"$ref": "GoogleIdentityAccesscontextmanagerV1IngressTo", +"description": "Defines the conditions on the ApiOperation and request destination that cause this IngressPolicy to apply." +}, +"title": { +"description": "Optional. Human-readable title for the ingress rule. The title must be unique within the perimeter and can not exceed 100 characters. Within the access policy, the combined length of all rule titles must not exceed 240,000 characters.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleIdentityAccesscontextmanagerV1IngressSource": { +"description": "The source that IngressPolicy authorizes access from.", +"id": "GoogleIdentityAccesscontextmanagerV1IngressSource", +"properties": { +"accessLevel": { +"description": "An AccessLevel resource name that allow resources within the ServicePerimeters to be accessed from the internet. AccessLevels listed must be in the same policy as this ServicePerimeter. Referencing a nonexistent AccessLevel will cause an error. If no AccessLevel names are listed, resources within the perimeter can only be accessed via Google Cloud calls with request origins within the perimeter. Example: `accessPolicies/MY_POLICY/accessLevels/MY_LEVEL`. If a single `*` is specified for `access_level`, then all IngressSources will be allowed.", +"type": "string" +}, +"resource": { +"description": "A Google Cloud resource that is allowed to ingress the perimeter. Requests from these resources will be allowed to access perimeter data. Currently only projects and VPCs are allowed. Project format: `projects/{project_number}` VPC network format: `//compute.googleapis.com/projects/{PROJECT_ID}/global/networks/{NAME}`. The project may be in any Google Cloud organization, not just the organization that the perimeter is defined in. `*` is not allowed, the case of allowing all Google Cloud resources only is not supported.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleIdentityAccesscontextmanagerV1IngressTo": { +"description": "Defines the conditions under which an IngressPolicy matches a request. Conditions are based on information about the ApiOperation intended to be performed on the target resource of the request. The request must satisfy what is defined in `operations` AND `resources` in order to match.", +"id": "GoogleIdentityAccesscontextmanagerV1IngressTo", +"properties": { +"operations": { +"description": "A list of ApiOperations allowed to be performed by the sources specified in corresponding IngressFrom in this ServicePerimeter.", +"items": { +"$ref": "GoogleIdentityAccesscontextmanagerV1ApiOperation" +}, +"type": "array" +}, +"resources": { +"description": "A list of resources, currently only projects in the form `projects/`, protected by this ServicePerimeter that are allowed to be accessed by sources defined in the corresponding IngressFrom. If a single `*` is specified, then access to all resources inside the perimeter are allowed.", +"items": { +"type": "string" +}, +"type": "array" +}, +"roles": { +"description": "IAM roles that represent the set of operations that the sources specified in the corresponding IngressFrom are allowed to perform in this ServicePerimeter.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleIdentityAccesscontextmanagerV1MethodSelector": { +"description": "An allowed method or permission of a service specified in ApiOperation.", +"id": "GoogleIdentityAccesscontextmanagerV1MethodSelector", +"properties": { +"method": { +"description": "A valid method name for the corresponding `service_name` in ApiOperation. If `*` is used as the value for the `method`, then ALL methods and permissions are allowed.", +"type": "string" +}, +"permission": { +"description": "A valid Cloud IAM permission for the corresponding `service_name` in ApiOperation.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleIdentityAccesscontextmanagerV1OsConstraint": { +"description": "A restriction on the OS type and version of devices making requests.", +"id": "GoogleIdentityAccesscontextmanagerV1OsConstraint", +"properties": { +"minimumVersion": { +"description": "The minimum allowed OS version. If not set, any version of this OS satisfies the constraint. Format: `\"major.minor.patch\"`. Examples: `\"10.5.301\"`, `\"9.2.1\"`.", +"type": "string" +}, +"osType": { +"description": "Required. The allowed OS type.", +"enum": [ +"OS_UNSPECIFIED", +"DESKTOP_MAC", +"DESKTOP_WINDOWS", +"DESKTOP_LINUX", +"DESKTOP_CHROME_OS", +"ANDROID", +"IOS" +], +"enumDescriptions": [ +"The operating system of the device is not specified or not known.", +"A desktop Mac operating system.", +"A desktop Windows operating system.", +"A desktop Linux operating system.", +"A desktop ChromeOS operating system.", +"An Android operating system.", +"An iOS operating system." +], +"type": "string" +}, +"requireVerifiedChromeOs": { +"description": "Only allows requests from devices with a verified Chrome OS. Verifications includes requirements that the device is enterprise-managed, conformant to domain policies, and the caller has permission to call the API targeted by the request.", +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleIdentityAccesscontextmanagerV1ServicePerimeter": { +"description": "`ServicePerimeter` describes a set of Google Cloud resources which can freely import and export data amongst themselves, but not export outside of the `ServicePerimeter`. If a request with a source within this `ServicePerimeter` has a target outside of the `ServicePerimeter`, the request will be blocked. Otherwise the request is allowed. There are two types of Service Perimeter - Regular and Bridge. Regular Service Perimeters cannot overlap, a single Google Cloud project or VPC network can only belong to a single regular Service Perimeter. Service Perimeter Bridges can contain only Google Cloud projects as members, a single Google Cloud project may belong to multiple Service Perimeter Bridges.", +"id": "GoogleIdentityAccesscontextmanagerV1ServicePerimeter", +"properties": { +"description": { +"description": "Description of the `ServicePerimeter` and its use. Does not affect behavior.", +"type": "string" +}, +"etag": { +"description": "Optional. An opaque identifier for the current version of the `ServicePerimeter`. This identifier does not follow any specific format. If an etag is not provided, the operation will be performed as if a valid etag is provided.", +"type": "string" +}, +"name": { +"description": "Identifier. Resource name for the `ServicePerimeter`. Format: `accessPolicies/{access_policy}/servicePerimeters/{service_perimeter}`. The `service_perimeter` component must begin with a letter, followed by alphanumeric characters or `_`. After you create a `ServicePerimeter`, you cannot change its `name`.", +"type": "string" +}, +"perimeterType": { +"description": "Perimeter type indicator. A single project or VPC network is allowed to be a member of single regular perimeter, but multiple service perimeter bridges. A project cannot be a included in a perimeter bridge without being included in regular perimeter. For perimeter bridges, the restricted service list as well as access level lists must be empty.", +"enum": [ +"PERIMETER_TYPE_REGULAR", +"PERIMETER_TYPE_BRIDGE" +], +"enumDescriptions": [ +"Regular Perimeter. When no value is specified, the perimeter uses this type.", +"Perimeter Bridge." +], +"type": "string" +}, +"spec": { +"$ref": "GoogleIdentityAccesscontextmanagerV1ServicePerimeterConfig", +"description": "Proposed (or dry run) ServicePerimeter configuration. This configuration allows to specify and test ServicePerimeter configuration without enforcing actual access restrictions. Only allowed to be set when the \"use_explicit_dry_run_spec\" flag is set." +}, +"status": { +"$ref": "GoogleIdentityAccesscontextmanagerV1ServicePerimeterConfig", +"description": "Current ServicePerimeter configuration. Specifies sets of resources, restricted services and access levels that determine perimeter content and boundaries." +}, +"title": { +"description": "Human readable title. Must be unique within the Policy.", +"type": "string" +}, +"useExplicitDryRunSpec": { +"description": "Use explicit dry run spec flag. Ordinarily, a dry-run spec implicitly exists for all Service Perimeters, and that spec is identical to the status for those Service Perimeters. When this flag is set, it inhibits the generation of the implicit spec, thereby allowing the user to explicitly provide a configuration (\"spec\") to use in a dry-run version of the Service Perimeter. This allows the user to test changes to the enforced config (\"status\") without actually enforcing them. This testing is done through analyzing the differences between currently enforced and suggested restrictions. use_explicit_dry_run_spec must bet set to True if any of the fields in the spec are set to non-default values.", +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleIdentityAccesscontextmanagerV1ServicePerimeterConfig": { +"description": "`ServicePerimeterConfig` specifies a set of Google Cloud resources that describe specific Service Perimeter configuration.", +"id": "GoogleIdentityAccesscontextmanagerV1ServicePerimeterConfig", +"properties": { +"accessLevels": { +"description": "A list of `AccessLevel` resource names that allow resources within the `ServicePerimeter` to be accessed from the internet. `AccessLevels` listed must be in the same policy as this `ServicePerimeter`. Referencing a nonexistent `AccessLevel` is a syntax error. If no `AccessLevel` names are listed, resources within the perimeter can only be accessed via Google Cloud calls with request origins within the perimeter. Example: `\"accessPolicies/MY_POLICY/accessLevels/MY_LEVEL\"`. For Service Perimeter Bridge, must be empty.", +"items": { +"type": "string" +}, +"type": "array" +}, +"egressPolicies": { +"description": "List of EgressPolicies to apply to the perimeter. A perimeter may have multiple EgressPolicies, each of which is evaluated separately. Access is granted if any EgressPolicy grants it. Must be empty for a perimeter bridge.", +"items": { +"$ref": "GoogleIdentityAccesscontextmanagerV1EgressPolicy" +}, +"type": "array" +}, +"ingressPolicies": { +"description": "List of IngressPolicies to apply to the perimeter. A perimeter may have multiple IngressPolicies, each of which is evaluated separately. Access is granted if any Ingress Policy grants it. Must be empty for a perimeter bridge.", +"items": { +"$ref": "GoogleIdentityAccesscontextmanagerV1IngressPolicy" +}, +"type": "array" +}, +"resources": { +"description": "A list of Google Cloud resources that are inside of the service perimeter. Currently only projects and VPCs are allowed. Project format: `projects/{project_number}` VPC network format: `//compute.googleapis.com/projects/{PROJECT_ID}/global/networks/{NAME}`.", +"items": { +"type": "string" +}, +"type": "array" +}, +"restrictedServices": { +"description": "Google Cloud services that are subject to the Service Perimeter restrictions. For example, if `storage.googleapis.com` is specified, access to the storage buckets inside the perimeter must meet the perimeter's access restrictions.", +"items": { +"type": "string" +}, +"type": "array" +}, +"vpcAccessibleServices": { +"$ref": "GoogleIdentityAccesscontextmanagerV1VpcAccessibleServices", +"description": "Configuration for APIs allowed within Perimeter." +} +}, +"type": "object" +}, +"GoogleIdentityAccesscontextmanagerV1VpcAccessibleServices": { +"description": "Specifies how APIs are allowed to communicate within the Service Perimeter.", +"id": "GoogleIdentityAccesscontextmanagerV1VpcAccessibleServices", +"properties": { +"allowedServices": { +"description": "The list of APIs usable within the Service Perimeter. Must be empty unless 'enable_restriction' is True. You can specify a list of individual services, as well as include the 'RESTRICTED-SERVICES' value, which automatically includes all of the services protected by the perimeter.", +"items": { +"type": "string" +}, +"type": "array" +}, +"enableRestriction": { +"description": "Whether to restrict API calls within the Service Perimeter to the list of APIs specified in 'allowed_services'.", +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleIdentityAccesscontextmanagerV1VpcNetworkSource": { +"description": "The originating network source in Google Cloud.", +"id": "GoogleIdentityAccesscontextmanagerV1VpcNetworkSource", +"properties": { +"vpcSubnetwork": { +"$ref": "GoogleIdentityAccesscontextmanagerV1VpcSubNetwork", +"description": "Sub-segment ranges of a VPC network." +} +}, +"type": "object" +}, +"GoogleIdentityAccesscontextmanagerV1VpcSubNetwork": { +"description": "Sub-segment ranges inside of a VPC Network.", +"id": "GoogleIdentityAccesscontextmanagerV1VpcSubNetwork", +"properties": { +"network": { +"description": "Required. Network name. If the network is not part of the organization, the `compute.network.get` permission must be granted to the caller. Format: `//compute.googleapis.com/projects/{PROJECT_ID}/global/networks/{NETWORK_NAME}` Example: `//compute.googleapis.com/projects/my-project/global/networks/network-1`", +"type": "string" +}, +"vpcIpSubnetworks": { +"description": "CIDR block IP subnetwork specification. The IP address must be an IPv4 address and can be a public or private IP address. Note that for a CIDR IP address block, the specified IP address portion must be properly truncated (i.e. all the host bits must be zero) or the input is considered malformed. For example, \"192.0.2.0/24\" is accepted but \"192.0.2.1/24\" is not. If empty, all IP addresses are allowed.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListAssetsResponse": { +"description": "ListAssets response.", +"id": "ListAssetsResponse", +"properties": { +"assets": { +"description": "Assets.", +"items": { +"$ref": "Asset" +}, +"type": "array" +}, +"nextPageToken": { +"description": "Token to retrieve the next page of results. It expires 72 hours after the page token for the first page is generated. Set to empty if there are no remaining results.", +"type": "string" +}, +"readTime": { +"description": "Time the snapshot was taken.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"Policy": { +"description": "An Identity and Access Management (IAM) policy, which specifies access controls for Google Cloud resources. A `Policy` is a collection of `bindings`. A `binding` binds one or more `members`, or principals, to a single `role`. Principals can be user accounts, service accounts, Google groups, and domains (such as G Suite). A `role` is a named list of permissions; each `role` can be an IAM predefined role or a user-created custom role. For some types of Google Cloud resources, a `binding` can also specify a `condition`, which is a logical expression that allows access to a resource only if the expression evaluates to `true`. A condition can add constraints based on attributes of the request, the resource, or both. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). **JSON example:** ``` { \"bindings\": [ { \"role\": \"roles/resourcemanager.organizationAdmin\", \"members\": [ \"user:mike@example.com\", \"group:admins@example.com\", \"domain:google.com\", \"serviceAccount:my-project-id@appspot.gserviceaccount.com\" ] }, { \"role\": \"roles/resourcemanager.organizationViewer\", \"members\": [ \"user:eve@example.com\" ], \"condition\": { \"title\": \"expirable access\", \"description\": \"Does not grant access after Sep 2020\", \"expression\": \"request.time < timestamp('2020-10-01T00:00:00.000Z')\", } } ], \"etag\": \"BwWWja0YfJA=\", \"version\": 3 } ``` **YAML example:** ``` bindings: - members: - user:mike@example.com - group:admins@example.com - domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.com role: roles/resourcemanager.organizationViewer condition: title: expirable access description: Does not grant access after Sep 2020 expression: request.time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 ``` For a description of IAM and its features, see the [IAM documentation](https://cloud.google.com/iam/docs/).", +"id": "Policy", +"properties": { +"auditConfigs": { +"description": "Specifies cloud audit logging configuration for this policy.", +"items": { +"$ref": "AuditConfig" +}, +"type": "array" +}, +"bindings": { +"description": "Associates a list of `members`, or principals, with a `role`. Optionally, may specify a `condition` that determines how and when the `bindings` are applied. Each of the `bindings` must contain at least one principal. The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250 of these principals can be Google groups. Each occurrence of a principal counts towards these limits. For example, if the `bindings` grant 50 different roles to `user:alice@example.com`, and not to any other principal, then you can add another 1,450 principals to the `bindings` in the `Policy`.", +"items": { +"$ref": "Binding" +}, +"type": "array" +}, +"etag": { +"description": "`etag` is used for optimistic concurrency control as a way to help prevent simultaneous updates of a policy from overwriting each other. It is strongly suggested that systems make use of the `etag` in the read-modify-write cycle to perform policy updates in order to avoid race conditions: An `etag` is returned in the response to `getIamPolicy`, and systems are expected to put that etag in the request to `setIamPolicy` to ensure that their change will be applied to the same version of the policy. **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost.", +"format": "byte", +"type": "string" +}, +"version": { +"description": "Specifies the format of the policy. Valid values are `0`, `1`, and `3`. Requests that specify an invalid value are rejected. Any operation that affects conditional role bindings must specify version `3`. This requirement applies to the following operations: * Getting a policy that includes a conditional role binding * Adding a conditional role binding to a policy * Changing a conditional role binding in a policy * Removing any role binding, with or without a condition, from a policy that includes conditions **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost. If a policy does not include any conditions, operations on that policy may specify any valid version or leave the field unset. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"Resource": { +"description": "A representation of a Google Cloud resource.", +"id": "Resource", +"properties": { +"data": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"description": "The content of the resource, in which some sensitive fields are removed and may not be present.", +"type": "object" +}, +"discoveryDocumentUri": { +"description": "The URL of the discovery document containing the resource's JSON schema. Example: `https://www.googleapis.com/discovery/v1/apis/compute/v1/rest` This value is unspecified for resources that do not have an API based on a discovery document, such as Cloud Bigtable.", +"type": "string" +}, +"discoveryName": { +"description": "The JSON schema name listed in the discovery document. Example: `Project` This value is unspecified for resources that do not have an API based on a discovery document, such as Cloud Bigtable.", +"type": "string" +}, +"parent": { +"description": "The full name of the immediate parent of this resource. See [Resource Names](https://cloud.google.com/apis/design/resource_names#full_resource_name) for more information. For Google Cloud assets, this value is the parent resource defined in the [IAM policy hierarchy](https://cloud.google.com/iam/docs/overview#policy_hierarchy). Example: `//cloudresourcemanager.googleapis.com/projects/my_project_123` For third-party assets, this field may be set differently.", +"type": "string" +}, +"resourceUrl": { +"description": "The REST URL for accessing the resource. An HTTP `GET` request using this URL returns the resource itself. Example: `https://cloudresourcemanager.googleapis.com/v1/projects/my-project-123` This value is unspecified for resources without a REST API.", +"type": "string" +}, +"version": { +"description": "The API version. Example: \"v1\".", +"type": "string" +} +}, +"type": "object" +} +}, +"servicePath": "", +"title": "Cloud Asset API", +"version": "v1p5beta1", +"version_module": true +} \ No newline at end of file diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/cloudasset.v1p7beta1.json b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/cloudasset.v1p7beta1.json new file mode 100644 index 0000000000000000000000000000000000000000..d337b4adef97fdd11b67a435454202e85849983d --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/cloudasset.v1p7beta1.json @@ -0,0 +1,1407 @@ +{ +"auth": { +"oauth2": { +"scopes": { +"https://www.googleapis.com/auth/cloud-platform": { +"description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." +} +} +} +}, +"basePath": "", +"baseUrl": "https://cloudasset.googleapis.com/", +"batchPath": "batch", +"canonicalName": "Cloud Asset", +"description": "The Cloud Asset API manages the history and inventory of Google Cloud resources.", +"discoveryVersion": "v1", +"documentationLink": "https://cloud.google.com/asset-inventory/docs/quickstart", +"fullyEncodeReservedExpansion": true, +"icons": { +"x16": "http://www.google.com/images/icons/product/search-16.gif", +"x32": "http://www.google.com/images/icons/product/search-32.gif" +}, +"id": "cloudasset:v1p7beta1", +"kind": "discovery#restDescription", +"mtlsRootUrl": "https://cloudasset.mtls.googleapis.com/", +"name": "cloudasset", +"ownerDomain": "google.com", +"ownerName": "Google", +"parameters": { +"$.xgafv": { +"description": "V1 error format.", +"enum": [ +"1", +"2" +], +"enumDescriptions": [ +"v1 error format", +"v2 error format" +], +"location": "query", +"type": "string" +}, +"access_token": { +"description": "OAuth access token.", +"location": "query", +"type": "string" +}, +"alt": { +"default": "json", +"description": "Data format for response.", +"enum": [ +"json", +"media", +"proto" +], +"enumDescriptions": [ +"Responses with Content-Type of application/json", +"Media download with context-dependent Content-Type", +"Responses with Content-Type of application/x-protobuf" +], +"location": "query", +"type": "string" +}, +"callback": { +"description": "JSONP", +"location": "query", +"type": "string" +}, +"fields": { +"description": "Selector specifying which fields to include in a partial response.", +"location": "query", +"type": "string" +}, +"key": { +"description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", +"location": "query", +"type": "string" +}, +"oauth_token": { +"description": "OAuth 2.0 token for the current user.", +"location": "query", +"type": "string" +}, +"prettyPrint": { +"default": "true", +"description": "Returns response with indentations and line breaks.", +"location": "query", +"type": "boolean" +}, +"quotaUser": { +"description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.", +"location": "query", +"type": "string" +}, +"uploadType": { +"description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", +"location": "query", +"type": "string" +}, +"upload_protocol": { +"description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", +"location": "query", +"type": "string" +} +}, +"protocol": "rest", +"resources": { +"operations": { +"methods": { +"get": { +"description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", +"flatPath": "v1p7beta1/{v1p7beta1Id}/{v1p7beta1Id1}/operations/{operationsId}/{operationsId1}", +"httpMethod": "GET", +"id": "cloudasset.operations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource.", +"location": "path", +"pattern": "^[^/]+/[^/]+/operations/[^/]+/.*$", +"required": true, +"type": "string" +} +}, +"path": "v1p7beta1/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"v1p7beta1": { +"methods": { +"exportAssets": { +"description": "Exports assets with time and resource types to a given Cloud Storage location/BigQuery table. For Cloud Storage location destinations, the output format is newline-delimited JSON. Each line represents a google.cloud.asset.v1p7beta1.Asset in the JSON format; for BigQuery table destinations, the output table stores the fields in asset proto as columns. This API implements the google.longrunning.Operation API , which allows you to keep track of the export. We recommend intervals of at least 2 seconds with exponential retry to poll the export operation result. For regular-size resource parent, the export operation usually finishes within 5 minutes.", +"flatPath": "v1p7beta1/{v1p7beta1Id}/{v1p7beta1Id1}:exportAssets", +"httpMethod": "POST", +"id": "cloudasset.exportAssets", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The relative name of the root asset. This can only be an organization number (such as \"organizations/123\"), a project ID (such as \"projects/my-project-id\"), or a project number (such as \"projects/12345\"), or a folder number (such as \"folders/123\").", +"location": "path", +"pattern": "^[^/]+/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1p7beta1/{+parent}:exportAssets", +"request": { +"$ref": "GoogleCloudAssetV1p7beta1ExportAssetsRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +}, +"revision": "20250627", +"rootUrl": "https://cloudasset.googleapis.com/", +"schemas": { +"AnalyzeIamPolicyLongrunningMetadata": { +"description": "Represents the metadata of the longrunning operation for the AnalyzeIamPolicyLongrunning RPC.", +"id": "AnalyzeIamPolicyLongrunningMetadata", +"properties": { +"createTime": { +"description": "Output only. The time the operation was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"AnalyzeIamPolicyLongrunningResponse": { +"description": "A response message for AssetService.AnalyzeIamPolicyLongrunning.", +"id": "AnalyzeIamPolicyLongrunningResponse", +"properties": {}, +"type": "object" +}, +"AuditConfig": { +"description": "Specifies the audit configuration for a service. The configuration determines which permission types are logged, and what identities, if any, are exempted from logging. An AuditConfig must have one or more AuditLogConfigs. If there are AuditConfigs for both `allServices` and a specific service, the union of the two AuditConfigs is used for that service: the log_types specified in each AuditConfig are enabled, and the exempted_members in each AuditLogConfig are exempted. Example Policy with multiple AuditConfigs: { \"audit_configs\": [ { \"service\": \"allServices\", \"audit_log_configs\": [ { \"log_type\": \"DATA_READ\", \"exempted_members\": [ \"user:jose@example.com\" ] }, { \"log_type\": \"DATA_WRITE\" }, { \"log_type\": \"ADMIN_READ\" } ] }, { \"service\": \"sampleservice.googleapis.com\", \"audit_log_configs\": [ { \"log_type\": \"DATA_READ\" }, { \"log_type\": \"DATA_WRITE\", \"exempted_members\": [ \"user:aliya@example.com\" ] } ] } ] } For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also exempts `jose@example.com` from DATA_READ logging, and `aliya@example.com` from DATA_WRITE logging.", +"id": "AuditConfig", +"properties": { +"auditLogConfigs": { +"description": "The configuration for logging of each type of permission.", +"items": { +"$ref": "AuditLogConfig" +}, +"type": "array" +}, +"service": { +"description": "Specifies a service that will be enabled for audit logging. For example, `storage.googleapis.com`, `cloudsql.googleapis.com`. `allServices` is a special value that covers all services.", +"type": "string" +} +}, +"type": "object" +}, +"AuditLogConfig": { +"description": "Provides the configuration for logging a type of permissions. Example: { \"audit_log_configs\": [ { \"log_type\": \"DATA_READ\", \"exempted_members\": [ \"user:jose@example.com\" ] }, { \"log_type\": \"DATA_WRITE\" } ] } This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting jose@example.com from DATA_READ logging.", +"id": "AuditLogConfig", +"properties": { +"exemptedMembers": { +"description": "Specifies the identities that do not cause logging for this type of permission. Follows the same format of Binding.members.", +"items": { +"type": "string" +}, +"type": "array" +}, +"logType": { +"description": "The log type that this config enables.", +"enum": [ +"LOG_TYPE_UNSPECIFIED", +"ADMIN_READ", +"DATA_WRITE", +"DATA_READ" +], +"enumDescriptions": [ +"Default case. Should never be this.", +"Admin reads. Example: CloudIAM getIamPolicy", +"Data writes. Example: CloudSQL Users create", +"Data reads. Example: CloudSQL Users list" +], +"type": "string" +} +}, +"type": "object" +}, +"Binding": { +"description": "Associates `members`, or principals, with a `role`.", +"id": "Binding", +"properties": { +"condition": { +"$ref": "Expr", +"description": "The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies)." +}, +"members": { +"description": "Specifies the principals requesting access for a Google Cloud resource. `members` can have the following values: * `allUsers`: A special identifier that represents anyone who is on the internet; with or without a Google account. * `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service account. Does not include identities that come from external identity providers (IdPs) through identity federation. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `group:{emailid}`: An email address that represents a Google group. For example, `admins@example.com`. * `domain:{domain}`: The G Suite domain (primary) that represents all the users of that domain. For example, `google.com` or `example.com`. * `principal://iam.googleapis.com/locations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}`: A single identity in a workforce identity pool. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/group/{group_id}`: All workforce identities in a group. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/attribute.{attribute_name}/{attribute_value}`: All workforce identities with a specific attribute value. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/*`: All identities in a workforce identity pool. * `principal://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/subject/{subject_attribute_value}`: A single identity in a workload identity pool. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/group/{group_id}`: A workload identity pool group. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/attribute.{attribute_name}/{attribute_value}`: All identities in a workload identity pool with a certain attribute. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/*`: All identities in a workload identity pool. * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a user that has been recently deleted. For example, `alice@example.com?uid=123456789012345678901`. If the user is recovered, this value reverts to `user:{emailid}` and the recovered user retains the role in the binding. * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a service account that has been recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the service account is undeleted, this value reverts to `serviceAccount:{emailid}` and the undeleted service account retains the role in the binding. * `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a Google group that has been recently deleted. For example, `admins@example.com?uid=123456789012345678901`. If the group is recovered, this value reverts to `group:{emailid}` and the recovered group retains the role in the binding. * `deleted:principal://iam.googleapis.com/locations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}`: Deleted single identity in a workforce identity pool. For example, `deleted:principal://iam.googleapis.com/locations/global/workforcePools/my-pool-id/subject/my-subject-attribute-value`.", +"items": { +"type": "string" +}, +"type": "array" +}, +"role": { +"description": "Role that is assigned to the list of `members`, or principals. For example, `roles/viewer`, `roles/editor`, or `roles/owner`. For an overview of the IAM roles and permissions, see the [IAM documentation](https://cloud.google.com/iam/docs/roles-overview). For a list of the available pre-defined roles, see [here](https://cloud.google.com/iam/docs/understanding-roles).", +"type": "string" +} +}, +"type": "object" +}, +"Expr": { +"description": "Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: \"Summary size limit\" description: \"Determines if a summary is less than 100 chars\" expression: \"document.summary.size() < 100\" Example (Equality): title: \"Requestor is owner\" description: \"Determines if requestor is the document owner\" expression: \"document.owner == request.auth.claims.email\" Example (Logic): title: \"Public documents\" description: \"Determine whether the document should be publicly visible\" expression: \"document.type != 'private' && document.type != 'internal'\" Example (Data Manipulation): title: \"Notification string\" description: \"Create a notification string with a timestamp.\" expression: \"'New message received at ' + string(document.create_time)\" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information.", +"id": "Expr", +"properties": { +"description": { +"description": "Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI.", +"type": "string" +}, +"expression": { +"description": "Textual representation of an expression in Common Expression Language syntax.", +"type": "string" +}, +"location": { +"description": "Optional. String indicating the location of the expression for error reporting, e.g. a file name and a position in the file.", +"type": "string" +}, +"title": { +"description": "Optional. Title for the expression, i.e. a short string describing its purpose. This can be used e.g. in UIs which allow to enter the expression.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAssetV1p7beta1Asset": { +"description": "An asset in Google Cloud. An asset can be any resource in the Google Cloud [resource hierarchy](https://cloud.google.com/resource-manager/docs/cloud-platform-resource-hierarchy), a resource outside the Google Cloud resource hierarchy (such as Google Kubernetes Engine clusters and objects), or a policy (e.g. IAM policy). See [Supported asset types](https://cloud.google.com/asset-inventory/docs/supported-asset-types) for more information.", +"id": "GoogleCloudAssetV1p7beta1Asset", +"properties": { +"accessLevel": { +"$ref": "GoogleIdentityAccesscontextmanagerV1AccessLevel", +"description": "Please also refer to the [access level user guide](https://cloud.google.com/access-context-manager/docs/overview#access-levels)." +}, +"accessPolicy": { +"$ref": "GoogleIdentityAccesscontextmanagerV1AccessPolicy", +"description": "Please also refer to the [access policy user guide](https://cloud.google.com/access-context-manager/docs/overview#access-policies)." +}, +"ancestors": { +"description": "The ancestry path of an asset in Google Cloud [resource hierarchy](https://cloud.google.com/resource-manager/docs/cloud-platform-resource-hierarchy), represented as a list of relative resource names. An ancestry path starts with the closest ancestor in the hierarchy and ends at root. If the asset is a project, folder, or organization, the ancestry path starts from the asset itself. Example: `[\"projects/123456789\", \"folders/5432\", \"organizations/1234\"]`", +"items": { +"type": "string" +}, +"type": "array" +}, +"assetType": { +"description": "The type of the asset. Example: `compute.googleapis.com/Disk` See [Supported asset types](https://cloud.google.com/asset-inventory/docs/supported-asset-types) for more information.", +"type": "string" +}, +"iamPolicy": { +"$ref": "Policy", +"description": "A representation of the IAM policy set on a Google Cloud resource. There can be a maximum of one IAM policy set on any given resource. In addition, IAM policies inherit their granted access scope from any policies set on parent resources in the resource hierarchy. Therefore, the effectively policy is the union of both the policy set on this resource and each policy set on all of the resource's ancestry resource levels in the hierarchy. See [this topic](https://cloud.google.com/iam/help/allow-policies/inheritance) for more information." +}, +"name": { +"description": "The full name of the asset. Example: `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1` See [Resource names](https://cloud.google.com/apis/design/resource_names#full_resource_name) for more information.", +"type": "string" +}, +"orgPolicy": { +"description": "A representation of an [organization policy](https://cloud.google.com/resource-manager/docs/organization-policy/overview#organization_policy). There can be more than one organization policy with different constraints set on a given resource.", +"items": { +"$ref": "GoogleCloudOrgpolicyV1Policy" +}, +"type": "array" +}, +"relatedAssets": { +"$ref": "GoogleCloudAssetV1p7beta1RelatedAssets", +"description": "The related assets of the asset of one relationship type. One asset only represents one type of relationship." +}, +"resource": { +"$ref": "GoogleCloudAssetV1p7beta1Resource", +"description": "A representation of the resource." +}, +"servicePerimeter": { +"$ref": "GoogleIdentityAccesscontextmanagerV1ServicePerimeter", +"description": "Please also refer to the [service perimeter user guide](https://cloud.google.com/vpc-service-controls/docs/overview)." +}, +"updateTime": { +"description": "The last update timestamp of an asset. update_time is updated when create/update/delete operation is performed.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAssetV1p7beta1BigQueryDestination": { +"description": "A BigQuery destination for exporting assets to.", +"id": "GoogleCloudAssetV1p7beta1BigQueryDestination", +"properties": { +"dataset": { +"description": "Required. The BigQuery dataset in format \"projects/projectId/datasets/datasetId\", to which the snapshot result should be exported. If this dataset does not exist, the export call returns an INVALID_ARGUMENT error.", +"type": "string" +}, +"force": { +"description": "If the destination table already exists and this flag is `TRUE`, the table will be overwritten by the contents of assets snapshot. If the flag is `FALSE` or unset and the destination table already exists, the export call returns an INVALID_ARGUMENT error.", +"type": "boolean" +}, +"partitionSpec": { +"$ref": "GoogleCloudAssetV1p7beta1PartitionSpec", +"description": "[partition_spec] determines whether to export to partitioned table(s) and how to partition the data. If [partition_spec] is unset or [partition_spec.partition_key] is unset or `PARTITION_KEY_UNSPECIFIED`, the snapshot results will be exported to non-partitioned table(s). [force] will decide whether to overwrite existing table(s). If [partition_spec] is specified. First, the snapshot results will be written to partitioned table(s) with two additional timestamp columns, readTime and requestTime, one of which will be the partition key. Secondly, in the case when any destination table already exists, it will first try to update existing table's schema as necessary by appending additional columns. Then, if [force] is `TRUE`, the corresponding partition will be overwritten by the snapshot results (data in different partitions will remain intact); if [force] is unset or `FALSE`, it will append the data. An error will be returned if the schema update or data appension fails." +}, +"separateTablesPerAssetType": { +"description": "If this flag is `TRUE`, the snapshot results will be written to one or multiple tables, each of which contains results of one asset type. The [force] and [partition_spec] fields will apply to each of them. Field [table] will be concatenated with \"_\" and the asset type names (see https://cloud.google.com/asset-inventory/docs/supported-asset-types for supported asset types) to construct per-asset-type table names, in which all non-alphanumeric characters like \".\" and \"/\" will be substituted by \"_\". Example: if field [table] is \"mytable\" and snapshot results contain \"storage.googleapis.com/Bucket\" assets, the corresponding table name will be \"mytable_storage_googleapis_com_Bucket\". If any of these tables does not exist, a new table with the concatenated name will be created. When [content_type] in the ExportAssetsRequest is `RESOURCE`, the schema of each table will include RECORD-type columns mapped to the nested fields in the Asset.resource.data field of that asset type (up to the 15 nested level BigQuery supports (https://cloud.google.com/bigquery/docs/nested-repeated#limitations)). The fields in >15 nested levels will be stored in JSON format string as a child column of its parent RECORD column. If error occurs when exporting to any table, the whole export call will return an error but the export results that already succeed will persist. Example: if exporting to table_type_A succeeds when exporting to table_type_B fails during one export call, the results in table_type_A will persist and there will not be partial results persisting in a table.", +"type": "boolean" +}, +"table": { +"description": "Required. The BigQuery table to which the snapshot result should be written. If this table does not exist, a new table with the given name will be created.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAssetV1p7beta1ExportAssetsRequest": { +"description": "Export asset request.", +"id": "GoogleCloudAssetV1p7beta1ExportAssetsRequest", +"properties": { +"assetTypes": { +"description": "A list of asset types to take a snapshot for. For example: \"compute.googleapis.com/Disk\". Regular expressions are also supported. For example: * \"compute.googleapis.com.*\" snapshots resources whose asset type starts with \"compute.googleapis.com\". * \".*Instance\" snapshots resources whose asset type ends with \"Instance\". * \".*Instance.*\" snapshots resources whose asset type contains \"Instance\". See [RE2](https://github.com/google/re2/wiki/Syntax) for all supported regular expression syntax. If the regular expression does not match any supported asset type, an INVALID_ARGUMENT error will be returned. If specified, only matching assets will be returned, otherwise, it will snapshot all asset types. See [Introduction to Cloud Asset Inventory](https://cloud.google.com/asset-inventory/docs/overview) for all supported asset types.", +"items": { +"type": "string" +}, +"type": "array" +}, +"contentType": { +"description": "Asset content type. If not specified, no content but the asset name will be returned.", +"enum": [ +"CONTENT_TYPE_UNSPECIFIED", +"RESOURCE", +"IAM_POLICY", +"ORG_POLICY", +"ACCESS_POLICY", +"RELATIONSHIP" +], +"enumDescriptions": [ +"Unspecified content type.", +"Resource metadata.", +"The actual IAM policy set on a resource.", +"The organization policy set on an asset.", +"The Access Context Manager policy set on an asset.", +"The related resources." +], +"type": "string" +}, +"outputConfig": { +"$ref": "GoogleCloudAssetV1p7beta1OutputConfig", +"description": "Required. Output configuration indicating where the results will be output to." +}, +"readTime": { +"description": "Timestamp to take an asset snapshot. This can only be set to a timestamp between the current time and the current time minus 35 days (inclusive). If not specified, the current time will be used. Due to delays in resource data collection and indexing, there is a volatile window during which running the same query may get different results.", +"format": "google-datetime", +"type": "string" +}, +"relationshipTypes": { +"description": "A list of relationship types to export, for example: `INSTANCE_TO_INSTANCEGROUP`. This field should only be specified if content_type=RELATIONSHIP. If specified, it will snapshot [asset_types]' specified relationships, or give errors if any relationship_types' supported types are not in [asset_types]. If not specified, it will snapshot all [asset_types]' supported relationships. An unspecified [asset_types] field means all supported asset_types. See [Introduction to Cloud Asset Inventory](https://cloud.google.com/asset-inventory/docs/overview) for all supported asset types and relationship types.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudAssetV1p7beta1GcsDestination": { +"description": "A Cloud Storage location.", +"id": "GoogleCloudAssetV1p7beta1GcsDestination", +"properties": { +"uri": { +"description": "The URI of the Cloud Storage object. It's the same URI that is used by gsutil. Example: \"gs://bucket_name/object_name\". See [Viewing and Editing Object Metadata](https://cloud.google.com/storage/docs/viewing-editing-metadata) for more information.", +"type": "string" +}, +"uriPrefix": { +"description": "The URI prefix of all generated Cloud Storage objects. Example: \"gs://bucket_name/object_name_prefix\". Each object URI is in format: \"gs://bucket_name/object_name_prefix/{ASSET_TYPE}/{SHARD_NUMBER} and only contains assets for that type. starts from 0. Example: \"gs://bucket_name/object_name_prefix/compute.googleapis.com/Disk/0\" is the first shard of output objects containing all compute.googleapis.com/Disk assets. An INVALID_ARGUMENT error will be returned if file with the same name \"gs://bucket_name/object_name_prefix\" already exists.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAssetV1p7beta1OutputConfig": { +"description": "Output configuration for export assets destination.", +"id": "GoogleCloudAssetV1p7beta1OutputConfig", +"properties": { +"bigqueryDestination": { +"$ref": "GoogleCloudAssetV1p7beta1BigQueryDestination", +"description": "Destination on BigQuery. The output table stores the fields in asset proto as columns in BigQuery." +}, +"gcsDestination": { +"$ref": "GoogleCloudAssetV1p7beta1GcsDestination", +"description": "Destination on Cloud Storage." +} +}, +"type": "object" +}, +"GoogleCloudAssetV1p7beta1PartitionSpec": { +"description": "Specifications of BigQuery partitioned table as export destination.", +"id": "GoogleCloudAssetV1p7beta1PartitionSpec", +"properties": { +"partitionKey": { +"description": "The partition key for BigQuery partitioned table.", +"enum": [ +"PARTITION_KEY_UNSPECIFIED", +"READ_TIME", +"REQUEST_TIME" +], +"enumDescriptions": [ +"Unspecified partition key. If used, it means using non-partitioned table.", +"The time when the snapshot is taken. If specified as partition key, the result table(s) is partitioned by the additional timestamp column, readTime. If [read_time] in ExportAssetsRequest is specified, the readTime column's value will be the same as it. Otherwise, its value will be the current time that is used to take the snapshot.", +"The time when the request is received and started to be processed. If specified as partition key, the result table(s) is partitioned by the requestTime column, an additional timestamp column representing when the request was received." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAssetV1p7beta1RelatedAsset": { +"description": "An asset identify in Google Cloud which contains its name, type and ancestors. An asset can be any resource in the Google Cloud [resource hierarchy](https://cloud.google.com/resource-manager/docs/cloud-platform-resource-hierarchy), a resource outside the Google Cloud resource hierarchy (such as Google Kubernetes Engine clusters and objects), or a policy (e.g. IAM policy). See [Supported asset types](https://cloud.google.com/asset-inventory/docs/supported-asset-types) for more information.", +"id": "GoogleCloudAssetV1p7beta1RelatedAsset", +"properties": { +"ancestors": { +"description": "The ancestors of an asset in Google Cloud [resource hierarchy](https://cloud.google.com/resource-manager/docs/cloud-platform-resource-hierarchy), represented as a list of relative resource names. An ancestry path starts with the closest ancestor in the hierarchy and ends at root. Example: `[\"projects/123456789\", \"folders/5432\", \"organizations/1234\"]`", +"items": { +"type": "string" +}, +"type": "array" +}, +"asset": { +"description": "The full name of the asset. Example: `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1` See [Resource names](https://cloud.google.com/apis/design/resource_names#full_resource_name) for more information.", +"type": "string" +}, +"assetType": { +"description": "The type of the asset. Example: `compute.googleapis.com/Disk` See [Supported asset types](https://cloud.google.com/asset-inventory/docs/supported-asset-types) for more information.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAssetV1p7beta1RelatedAssets": { +"description": "The detailed related assets with the `relationship_type`.", +"id": "GoogleCloudAssetV1p7beta1RelatedAssets", +"properties": { +"assets": { +"description": "The peer resources of the relationship.", +"items": { +"$ref": "GoogleCloudAssetV1p7beta1RelatedAsset" +}, +"type": "array" +}, +"relationshipAttributes": { +"$ref": "GoogleCloudAssetV1p7beta1RelationshipAttributes", +"description": "The detailed relation attributes." +} +}, +"type": "object" +}, +"GoogleCloudAssetV1p7beta1RelationshipAttributes": { +"description": "The relationship attributes which include `type`, `source_resource_type`, `target_resource_type` and `action`.", +"id": "GoogleCloudAssetV1p7beta1RelationshipAttributes", +"properties": { +"action": { +"description": "The detail of the relationship, e.g. `contains`, `attaches`", +"type": "string" +}, +"sourceResourceType": { +"description": "The source asset type. Example: `compute.googleapis.com/Instance`", +"type": "string" +}, +"targetResourceType": { +"description": "The target asset type. Example: `compute.googleapis.com/Disk`", +"type": "string" +}, +"type": { +"description": "The unique identifier of the relationship type. Example: `INSTANCE_TO_INSTANCEGROUP`", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudAssetV1p7beta1Resource": { +"description": "A representation of a Google Cloud resource.", +"id": "GoogleCloudAssetV1p7beta1Resource", +"properties": { +"data": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"description": "The content of the resource, in which some sensitive fields are removed and may not be present.", +"type": "object" +}, +"discoveryDocumentUri": { +"description": "The URL of the discovery document containing the resource's JSON schema. Example: `https://www.googleapis.com/discovery/v1/apis/compute/v1/rest` This value is unspecified for resources that do not have an API based on a discovery document, such as Cloud Bigtable.", +"type": "string" +}, +"discoveryName": { +"description": "The JSON schema name listed in the discovery document. Example: `Project` This value is unspecified for resources that do not have an API based on a discovery document, such as Cloud Bigtable.", +"type": "string" +}, +"location": { +"description": "The location of the resource in Google Cloud, such as its zone and region. For more information, see https://cloud.google.com/about/locations/.", +"type": "string" +}, +"parent": { +"description": "The full name of the immediate parent of this resource. See [Resource Names](https://cloud.google.com/apis/design/resource_names#full_resource_name) for more information. For Google Cloud assets, this value is the parent resource defined in the [IAM policy hierarchy](https://cloud.google.com/iam/docs/overview#policy_hierarchy). Example: `//cloudresourcemanager.googleapis.com/projects/my_project_123` For third-party assets, this field may be set differently.", +"type": "string" +}, +"resourceUrl": { +"description": "The REST URL for accessing the resource. An HTTP `GET` request using this URL returns the resource itself. Example: `https://cloudresourcemanager.googleapis.com/v1/projects/my-project-123` This value is unspecified for resources without a REST API.", +"type": "string" +}, +"version": { +"description": "The API version. Example: `v1`", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudOrgpolicyV1BooleanPolicy": { +"description": "Used in `policy_type` to specify how `boolean_policy` will behave at this resource.", +"id": "GoogleCloudOrgpolicyV1BooleanPolicy", +"properties": { +"enforced": { +"description": "If `true`, then the `Policy` is enforced. If `false`, then any configuration is acceptable. Suppose you have a `Constraint` `constraints/compute.disableSerialPortAccess` with `constraint_default` set to `ALLOW`. A `Policy` for that `Constraint` exhibits the following behavior: - If the `Policy` at this resource has enforced set to `false`, serial port connection attempts will be allowed. - If the `Policy` at this resource has enforced set to `true`, serial port connection attempts will be refused. - If the `Policy` at this resource is `RestoreDefault`, serial port connection attempts will be allowed. - If no `Policy` is set at this resource or anywhere higher in the resource hierarchy, serial port connection attempts will be allowed. - If no `Policy` is set at this resource, but one exists higher in the resource hierarchy, the behavior is as if the`Policy` were set at this resource. The following examples demonstrate the different possible layerings: Example 1 (nearest `Constraint` wins): `organizations/foo` has a `Policy` with: {enforced: false} `projects/bar` has no `Policy` set. The constraint at `projects/bar` and `organizations/foo` will not be enforced. Example 2 (enforcement gets replaced): `organizations/foo` has a `Policy` with: {enforced: false} `projects/bar` has a `Policy` with: {enforced: true} The constraint at `organizations/foo` is not enforced. The constraint at `projects/bar` is enforced. Example 3 (RestoreDefault): `organizations/foo` has a `Policy` with: {enforced: true} `projects/bar` has a `Policy` with: {RestoreDefault: {}} The constraint at `organizations/foo` is enforced. The constraint at `projects/bar` is not enforced, because `constraint_default` for the `Constraint` is `ALLOW`.", +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleCloudOrgpolicyV1ListPolicy": { +"description": "Used in `policy_type` to specify how `list_policy` behaves at this resource. `ListPolicy` can define specific values and subtrees of Cloud Resource Manager resource hierarchy (`Organizations`, `Folders`, `Projects`) that are allowed or denied by setting the `allowed_values` and `denied_values` fields. This is achieved by using the `under:` and optional `is:` prefixes. The `under:` prefix is used to denote resource subtree values. The `is:` prefix is used to denote specific values, and is required only if the value contains a \":\". Values prefixed with \"is:\" are treated the same as values with no prefix. Ancestry subtrees must be in one of the following formats: - \"projects/\", e.g. \"projects/tokyo-rain-123\" - \"folders/\", e.g. \"folders/1234\" - \"organizations/\", e.g. \"organizations/1234\" The `supports_under` field of the associated `Constraint` defines whether ancestry prefixes can be used. You can set `allowed_values` and `denied_values` in the same `Policy` if `all_values` is `ALL_VALUES_UNSPECIFIED`. `ALLOW` or `DENY` are used to allow or deny all values. If `all_values` is set to either `ALLOW` or `DENY`, `allowed_values` and `denied_values` must be unset.", +"id": "GoogleCloudOrgpolicyV1ListPolicy", +"properties": { +"allValues": { +"description": "The policy all_values state.", +"enum": [ +"ALL_VALUES_UNSPECIFIED", +"ALLOW", +"DENY" +], +"enumDescriptions": [ +"Indicates that allowed_values or denied_values must be set.", +"A policy with this set allows all values.", +"A policy with this set denies all values." +], +"type": "string" +}, +"allowedValues": { +"description": "List of values allowed at this resource. Can only be set if `all_values` is set to `ALL_VALUES_UNSPECIFIED`.", +"items": { +"type": "string" +}, +"type": "array" +}, +"deniedValues": { +"description": "List of values denied at this resource. Can only be set if `all_values` is set to `ALL_VALUES_UNSPECIFIED`.", +"items": { +"type": "string" +}, +"type": "array" +}, +"inheritFromParent": { +"description": "Determines the inheritance behavior for this `Policy`. By default, a `ListPolicy` set at a resource supersedes any `Policy` set anywhere up the resource hierarchy. However, if `inherit_from_parent` is set to `true`, then the values from the effective `Policy` of the parent resource are inherited, meaning the values set in this `Policy` are added to the values inherited up the hierarchy. Setting `Policy` hierarchies that inherit both allowed values and denied values isn't recommended in most circumstances to keep the configuration simple and understandable. However, it is possible to set a `Policy` with `allowed_values` set that inherits a `Policy` with `denied_values` set. In this case, the values that are allowed must be in `allowed_values` and not present in `denied_values`. For example, suppose you have a `Constraint` `constraints/serviceuser.services`, which has a `constraint_type` of `list_constraint`, and with `constraint_default` set to `ALLOW`. Suppose that at the Organization level, a `Policy` is applied that restricts the allowed API activations to {`E1`, `E2`}. Then, if a `Policy` is applied to a project below the Organization that has `inherit_from_parent` set to `false` and field all_values set to DENY, then an attempt to activate any API will be denied. The following examples demonstrate different possible layerings for `projects/bar` parented by `organizations/foo`: Example 1 (no inherited values): `organizations/foo` has a `Policy` with values: {allowed_values: \"E1\" allowed_values:\"E2\"} `projects/bar` has `inherit_from_parent` `false` and values: {allowed_values: \"E3\" allowed_values: \"E4\"} The accepted values at `organizations/foo` are `E1`, `E2`. The accepted values at `projects/bar` are `E3`, and `E4`. Example 2 (inherited values): `organizations/foo` has a `Policy` with values: {allowed_values: \"E1\" allowed_values:\"E2\"} `projects/bar` has a `Policy` with values: {value: \"E3\" value: \"E4\" inherit_from_parent: true} The accepted values at `organizations/foo` are `E1`, `E2`. The accepted values at `projects/bar` are `E1`, `E2`, `E3`, and `E4`. Example 3 (inheriting both allowed and denied values): `organizations/foo` has a `Policy` with values: {allowed_values: \"E1\" allowed_values: \"E2\"} `projects/bar` has a `Policy` with: {denied_values: \"E1\"} The accepted values at `organizations/foo` are `E1`, `E2`. The value accepted at `projects/bar` is `E2`. Example 4 (RestoreDefault): `organizations/foo` has a `Policy` with values: {allowed_values: \"E1\" allowed_values:\"E2\"} `projects/bar` has a `Policy` with values: {RestoreDefault: {}} The accepted values at `organizations/foo` are `E1`, `E2`. The accepted values at `projects/bar` are either all or none depending on the value of `constraint_default` (if `ALLOW`, all; if `DENY`, none). Example 5 (no policy inherits parent policy): `organizations/foo` has no `Policy` set. `projects/bar` has no `Policy` set. The accepted values at both levels are either all or none depending on the value of `constraint_default` (if `ALLOW`, all; if `DENY`, none). Example 6 (ListConstraint allowing all): `organizations/foo` has a `Policy` with values: {allowed_values: \"E1\" allowed_values: \"E2\"} `projects/bar` has a `Policy` with: {all: ALLOW} The accepted values at `organizations/foo` are `E1`, E2`. Any value is accepted at `projects/bar`. Example 7 (ListConstraint allowing none): `organizations/foo` has a `Policy` with values: {allowed_values: \"E1\" allowed_values: \"E2\"} `projects/bar` has a `Policy` with: {all: DENY} The accepted values at `organizations/foo` are `E1`, E2`. No value is accepted at `projects/bar`. Example 10 (allowed and denied subtrees of Resource Manager hierarchy): Given the following resource hierarchy O1->{F1, F2}; F1->{P1}; F2->{P2, P3}, `organizations/foo` has a `Policy` with values: {allowed_values: \"under:organizations/O1\"} `projects/bar` has a `Policy` with: {allowed_values: \"under:projects/P3\"} {denied_values: \"under:folders/F2\"} The accepted values at `organizations/foo` are `organizations/O1`, `folders/F1`, `folders/F2`, `projects/P1`, `projects/P2`, `projects/P3`. The accepted values at `projects/bar` are `organizations/O1`, `folders/F1`, `projects/P1`.", +"type": "boolean" +}, +"suggestedValue": { +"description": "Optional. The Google Cloud Console will try to default to a configuration that matches the value specified in this `Policy`. If `suggested_value` is not set, it will inherit the value specified higher in the hierarchy, unless `inherit_from_parent` is `false`.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudOrgpolicyV1Policy": { +"description": "Defines a Cloud Organization `Policy` which is used to specify `Constraints` for configurations of Cloud Platform resources.", +"id": "GoogleCloudOrgpolicyV1Policy", +"properties": { +"booleanPolicy": { +"$ref": "GoogleCloudOrgpolicyV1BooleanPolicy", +"description": "For boolean `Constraints`, whether to enforce the `Constraint` or not." +}, +"constraint": { +"description": "The name of the `Constraint` the `Policy` is configuring, for example, `constraints/serviceuser.services`. A [list of available constraints](/resource-manager/docs/organization-policy/org-policy-constraints) is available. Immutable after creation.", +"type": "string" +}, +"etag": { +"description": "An opaque tag indicating the current version of the `Policy`, used for concurrency control. When the `Policy` is returned from either a `GetPolicy` or a `ListOrgPolicy` request, this `etag` indicates the version of the current `Policy` to use when executing a read-modify-write loop. When the `Policy` is returned from a `GetEffectivePolicy` request, the `etag` will be unset. When the `Policy` is used in a `SetOrgPolicy` method, use the `etag` value that was returned from a `GetOrgPolicy` request as part of a read-modify-write loop for concurrency control. Not setting the `etag`in a `SetOrgPolicy` request will result in an unconditional write of the `Policy`.", +"format": "byte", +"type": "string" +}, +"listPolicy": { +"$ref": "GoogleCloudOrgpolicyV1ListPolicy", +"description": "List of values either allowed or disallowed." +}, +"restoreDefault": { +"$ref": "GoogleCloudOrgpolicyV1RestoreDefault", +"description": "Restores the default behavior of the constraint; independent of `Constraint` type." +}, +"updateTime": { +"description": "The time stamp the `Policy` was previously updated. This is set by the server, not specified by the caller, and represents the last time a call to `SetOrgPolicy` was made for that `Policy`. Any value set by the client will be ignored.", +"format": "google-datetime", +"type": "string" +}, +"version": { +"description": "Version of the `Policy`. Default version is 0;", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"GoogleCloudOrgpolicyV1RestoreDefault": { +"description": "Ignores policies set above this resource and restores the `constraint_default` enforcement behavior of the specific `Constraint` at this resource. Suppose that `constraint_default` is set to `ALLOW` for the `Constraint` `constraints/serviceuser.services`. Suppose that organization foo.com sets a `Policy` at their Organization resource node that restricts the allowed service activations to deny all service activations. They could then set a `Policy` with the `policy_type` `restore_default` on several experimental projects, restoring the `constraint_default` enforcement of the `Constraint` for only those projects, allowing those projects to have all services activated.", +"id": "GoogleCloudOrgpolicyV1RestoreDefault", +"properties": {}, +"type": "object" +}, +"GoogleIdentityAccesscontextmanagerV1AccessLevel": { +"description": "An `AccessLevel` is a label that can be applied to requests to Google Cloud services, along with a list of requirements necessary for the label to be applied.", +"id": "GoogleIdentityAccesscontextmanagerV1AccessLevel", +"properties": { +"basic": { +"$ref": "GoogleIdentityAccesscontextmanagerV1BasicLevel", +"description": "A `BasicLevel` composed of `Conditions`." +}, +"custom": { +"$ref": "GoogleIdentityAccesscontextmanagerV1CustomLevel", +"description": "A `CustomLevel` written in the Common Expression Language." +}, +"description": { +"description": "Description of the `AccessLevel` and its use. Does not affect behavior.", +"type": "string" +}, +"name": { +"description": "Identifier. Resource name for the `AccessLevel`. Format: `accessPolicies/{access_policy}/accessLevels/{access_level}`. The `access_level` component must begin with a letter, followed by alphanumeric characters or `_`. Its maximum length is 50 characters. After you create an `AccessLevel`, you cannot change its `name`.", +"type": "string" +}, +"title": { +"description": "Human readable title. Must be unique within the Policy.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleIdentityAccesscontextmanagerV1AccessPolicy": { +"description": "`AccessPolicy` is a container for `AccessLevels` (which define the necessary attributes to use Google Cloud services) and `ServicePerimeters` (which define regions of services able to freely pass data within a perimeter). An access policy is globally visible within an organization, and the restrictions it specifies apply to all projects within an organization.", +"id": "GoogleIdentityAccesscontextmanagerV1AccessPolicy", +"properties": { +"etag": { +"description": "Output only. An opaque identifier for the current version of the `AccessPolicy`. This will always be a strongly validated etag, meaning that two Access Policies will be identical if and only if their etags are identical. Clients should not expect this to be in any specific format.", +"readOnly": true, +"type": "string" +}, +"name": { +"description": "Output only. Identifier. Resource name of the `AccessPolicy`. Format: `accessPolicies/{access_policy}`", +"type": "string" +}, +"parent": { +"description": "Required. The parent of this `AccessPolicy` in the Cloud Resource Hierarchy. Currently immutable once created. Format: `organizations/{organization_id}`", +"type": "string" +}, +"scopes": { +"description": "The scopes of the AccessPolicy. Scopes define which resources a policy can restrict and where its resources can be referenced. For example, policy A with `scopes=[\"folders/123\"]` has the following behavior: - ServicePerimeter can only restrict projects within `folders/123`. - ServicePerimeter within policy A can only reference access levels defined within policy A. - Only one policy can include a given scope; thus, attempting to create a second policy which includes `folders/123` will result in an error. If no scopes are provided, then any resource within the organization can be restricted. Scopes cannot be modified after a policy is created. Policies can only have a single scope. Format: list of `folders/{folder_number}` or `projects/{project_number}`", +"items": { +"type": "string" +}, +"type": "array" +}, +"title": { +"description": "Required. Human readable title. Does not affect behavior.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleIdentityAccesscontextmanagerV1ApiOperation": { +"description": "Identification for an API Operation.", +"id": "GoogleIdentityAccesscontextmanagerV1ApiOperation", +"properties": { +"methodSelectors": { +"description": "API methods or permissions to allow. Method or permission must belong to the service specified by `service_name` field. A single MethodSelector entry with `*` specified for the `method` field will allow all methods AND permissions for the service specified in `service_name`.", +"items": { +"$ref": "GoogleIdentityAccesscontextmanagerV1MethodSelector" +}, +"type": "array" +}, +"serviceName": { +"description": "The name of the API whose methods or permissions the IngressPolicy or EgressPolicy want to allow. A single ApiOperation with `service_name` field set to `*` will allow all methods AND permissions for all services.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleIdentityAccesscontextmanagerV1BasicLevel": { +"description": "`BasicLevel` is an `AccessLevel` using a set of recommended features.", +"id": "GoogleIdentityAccesscontextmanagerV1BasicLevel", +"properties": { +"combiningFunction": { +"description": "How the `conditions` list should be combined to determine if a request is granted this `AccessLevel`. If AND is used, each `Condition` in `conditions` must be satisfied for the `AccessLevel` to be applied. If OR is used, at least one `Condition` in `conditions` must be satisfied for the `AccessLevel` to be applied. Default behavior is AND.", +"enum": [ +"AND", +"OR" +], +"enumDescriptions": [ +"All `Conditions` must be true for the `BasicLevel` to be true.", +"If at least one `Condition` is true, then the `BasicLevel` is true." +], +"type": "string" +}, +"conditions": { +"description": "Required. A list of requirements for the `AccessLevel` to be granted.", +"items": { +"$ref": "GoogleIdentityAccesscontextmanagerV1Condition" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleIdentityAccesscontextmanagerV1Condition": { +"description": "A condition necessary for an `AccessLevel` to be granted. The Condition is an AND over its fields. So a Condition is true if: 1) the request IP is from one of the listed subnetworks AND 2) the originating device complies with the listed device policy AND 3) all listed access levels are granted AND 4) the request was sent at a time allowed by the DateTimeRestriction.", +"id": "GoogleIdentityAccesscontextmanagerV1Condition", +"properties": { +"devicePolicy": { +"$ref": "GoogleIdentityAccesscontextmanagerV1DevicePolicy", +"description": "Device specific restrictions, all restrictions must hold for the Condition to be true. If not specified, all devices are allowed." +}, +"ipSubnetworks": { +"description": "CIDR block IP subnetwork specification. May be IPv4 or IPv6. Note that for a CIDR IP address block, the specified IP address portion must be properly truncated (i.e. all the host bits must be zero) or the input is considered malformed. For example, \"192.0.2.0/24\" is accepted but \"192.0.2.1/24\" is not. Similarly, for IPv6, \"2001:db8::/32\" is accepted whereas \"2001:db8::1/32\" is not. The originating IP of a request must be in one of the listed subnets in order for this Condition to be true. If empty, all IP addresses are allowed.", +"items": { +"type": "string" +}, +"type": "array" +}, +"members": { +"description": "The request must be made by one of the provided user or service accounts. Groups are not supported. Syntax: `user:{emailid}` `serviceAccount:{emailid}` If not specified, a request may come from any user.", +"items": { +"type": "string" +}, +"type": "array" +}, +"negate": { +"description": "Whether to negate the Condition. If true, the Condition becomes a NAND over its non-empty fields. Any non-empty field criteria evaluating to false will result in the Condition to be satisfied. Defaults to false.", +"type": "boolean" +}, +"regions": { +"description": "The request must originate from one of the provided countries/regions. Must be valid ISO 3166-1 alpha-2 codes.", +"items": { +"type": "string" +}, +"type": "array" +}, +"requiredAccessLevels": { +"description": "A list of other access levels defined in the same `Policy`, referenced by resource name. Referencing an `AccessLevel` which does not exist is an error. All access levels listed must be granted for the Condition to be true. Example: \"`accessPolicies/MY_POLICY/accessLevels/LEVEL_NAME\"`", +"items": { +"type": "string" +}, +"type": "array" +}, +"vpcNetworkSources": { +"description": "The request must originate from one of the provided VPC networks in Google Cloud. Cannot specify this field together with `ip_subnetworks`.", +"items": { +"$ref": "GoogleIdentityAccesscontextmanagerV1VpcNetworkSource" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleIdentityAccesscontextmanagerV1CustomLevel": { +"description": "`CustomLevel` is an `AccessLevel` using the Cloud Common Expression Language to represent the necessary conditions for the level to apply to a request. See CEL spec at: https://github.com/google/cel-spec", +"id": "GoogleIdentityAccesscontextmanagerV1CustomLevel", +"properties": { +"expr": { +"$ref": "Expr", +"description": "Required. A Cloud CEL expression evaluating to a boolean." +} +}, +"type": "object" +}, +"GoogleIdentityAccesscontextmanagerV1DevicePolicy": { +"description": "`DevicePolicy` specifies device specific restrictions necessary to acquire a given access level. A `DevicePolicy` specifies requirements for requests from devices to be granted access levels, it does not do any enforcement on the device. `DevicePolicy` acts as an AND over all specified fields, and each repeated field is an OR over its elements. Any unset fields are ignored. For example, if the proto is { os_type : DESKTOP_WINDOWS, os_type : DESKTOP_LINUX, encryption_status: ENCRYPTED}, then the DevicePolicy will be true for requests originating from encrypted Linux desktops and encrypted Windows desktops.", +"id": "GoogleIdentityAccesscontextmanagerV1DevicePolicy", +"properties": { +"allowedDeviceManagementLevels": { +"description": "Allowed device management levels, an empty list allows all management levels.", +"items": { +"enum": [ +"MANAGEMENT_UNSPECIFIED", +"NONE", +"BASIC", +"COMPLETE" +], +"enumDescriptions": [ +"The device's management level is not specified or not known.", +"The device is not managed.", +"Basic management is enabled, which is generally limited to monitoring and wiping the corporate account.", +"Complete device management. This includes more thorough monitoring and the ability to directly manage the device (such as remote wiping). This can be enabled through the Android Enterprise Platform." +], +"type": "string" +}, +"type": "array" +}, +"allowedEncryptionStatuses": { +"description": "Allowed encryptions statuses, an empty list allows all statuses.", +"items": { +"enum": [ +"ENCRYPTION_UNSPECIFIED", +"ENCRYPTION_UNSUPPORTED", +"UNENCRYPTED", +"ENCRYPTED" +], +"enumDescriptions": [ +"The encryption status of the device is not specified or not known.", +"The device does not support encryption.", +"The device supports encryption, but is currently unencrypted.", +"The device is encrypted." +], +"type": "string" +}, +"type": "array" +}, +"osConstraints": { +"description": "Allowed OS versions, an empty list allows all types and all versions.", +"items": { +"$ref": "GoogleIdentityAccesscontextmanagerV1OsConstraint" +}, +"type": "array" +}, +"requireAdminApproval": { +"description": "Whether the device needs to be approved by the customer admin.", +"type": "boolean" +}, +"requireCorpOwned": { +"description": "Whether the device needs to be corp owned.", +"type": "boolean" +}, +"requireScreenlock": { +"description": "Whether or not screenlock is required for the DevicePolicy to be true. Defaults to `false`.", +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleIdentityAccesscontextmanagerV1EgressFrom": { +"description": "Defines the conditions under which an EgressPolicy matches a request. Conditions based on information about the source of the request. Note that if the destination of the request is also protected by a ServicePerimeter, then that ServicePerimeter must have an IngressPolicy which allows access in order for this request to succeed.", +"id": "GoogleIdentityAccesscontextmanagerV1EgressFrom", +"properties": { +"identities": { +"description": "A list of identities that are allowed access through [EgressPolicy]. Identities can be an individual user, service account, Google group, or third-party identity. For third-party identity, only single identities are supported and other identity types are not supported. The `v1` identities that have the prefix `user`, `group`, `serviceAccount`, and `principal` in https://cloud.google.com/iam/docs/principal-identifiers#v1 are supported.", +"items": { +"type": "string" +}, +"type": "array" +}, +"identityType": { +"description": "Specifies the type of identities that are allowed access to outside the perimeter. If left unspecified, then members of `identities` field will be allowed access.", +"enum": [ +"IDENTITY_TYPE_UNSPECIFIED", +"ANY_IDENTITY", +"ANY_USER_ACCOUNT", +"ANY_SERVICE_ACCOUNT" +], +"enumDescriptions": [ +"No blanket identity group specified.", +"Authorize access from all identities outside the perimeter.", +"Authorize access from all human users outside the perimeter.", +"Authorize access from all service accounts outside the perimeter." +], +"type": "string" +}, +"sourceRestriction": { +"description": "Whether to enforce traffic restrictions based on `sources` field. If the `sources` fields is non-empty, then this field must be set to `SOURCE_RESTRICTION_ENABLED`.", +"enum": [ +"SOURCE_RESTRICTION_UNSPECIFIED", +"SOURCE_RESTRICTION_ENABLED", +"SOURCE_RESTRICTION_DISABLED" +], +"enumDescriptions": [ +"Enforcement preference unspecified, will not enforce traffic restrictions based on `sources` in EgressFrom.", +"Enforcement preference enabled, traffic restrictions will be enforced based on `sources` in EgressFrom.", +"Enforcement preference disabled, will not enforce traffic restrictions based on `sources` in EgressFrom." +], +"type": "string" +}, +"sources": { +"description": "Sources that this EgressPolicy authorizes access from. If this field is not empty, then `source_restriction` must be set to `SOURCE_RESTRICTION_ENABLED`.", +"items": { +"$ref": "GoogleIdentityAccesscontextmanagerV1EgressSource" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleIdentityAccesscontextmanagerV1EgressPolicy": { +"description": "Policy for egress from perimeter. EgressPolicies match requests based on `egress_from` and `egress_to` stanzas. For an EgressPolicy to match, both `egress_from` and `egress_to` stanzas must be matched. If an EgressPolicy matches a request, the request is allowed to span the ServicePerimeter boundary. For example, an EgressPolicy can be used to allow VMs on networks within the ServicePerimeter to access a defined set of projects outside the perimeter in certain contexts (e.g. to read data from a Cloud Storage bucket or query against a BigQuery dataset). EgressPolicies are concerned with the *resources* that a request relates as well as the API services and API actions being used. They do not related to the direction of data movement. More detailed documentation for this concept can be found in the descriptions of EgressFrom and EgressTo.", +"id": "GoogleIdentityAccesscontextmanagerV1EgressPolicy", +"properties": { +"egressFrom": { +"$ref": "GoogleIdentityAccesscontextmanagerV1EgressFrom", +"description": "Defines conditions on the source of a request causing this EgressPolicy to apply." +}, +"egressTo": { +"$ref": "GoogleIdentityAccesscontextmanagerV1EgressTo", +"description": "Defines the conditions on the ApiOperation and destination resources that cause this EgressPolicy to apply." +}, +"title": { +"description": "Optional. Human-readable title for the egress rule. The title must be unique within the perimeter and can not exceed 100 characters. Within the access policy, the combined length of all rule titles must not exceed 240,000 characters.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleIdentityAccesscontextmanagerV1EgressSource": { +"description": "The source that EgressPolicy authorizes access from inside the ServicePerimeter to somewhere outside the ServicePerimeter boundaries.", +"id": "GoogleIdentityAccesscontextmanagerV1EgressSource", +"properties": { +"accessLevel": { +"description": "An AccessLevel resource name that allows protected resources inside the ServicePerimeters to access outside the ServicePerimeter boundaries. AccessLevels listed must be in the same policy as this ServicePerimeter. Referencing a nonexistent AccessLevel will cause an error. If an AccessLevel name is not specified, only resources within the perimeter can be accessed through Google Cloud calls with request origins within the perimeter. Example: `accessPolicies/MY_POLICY/accessLevels/MY_LEVEL`. If a single `*` is specified for `access_level`, then all EgressSources will be allowed.", +"type": "string" +}, +"resource": { +"description": "A Google Cloud resource from the service perimeter that you want to allow to access data outside the perimeter. This field supports only projects. The project format is `projects/{project_number}`. You can't use `*` in this field to allow all Google Cloud resources.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleIdentityAccesscontextmanagerV1EgressTo": { +"description": "Defines the conditions under which an EgressPolicy matches a request. Conditions are based on information about the ApiOperation intended to be performed on the `resources` specified. Note that if the destination of the request is also protected by a ServicePerimeter, then that ServicePerimeter must have an IngressPolicy which allows access in order for this request to succeed. The request must match `operations` AND `resources` fields in order to be allowed egress out of the perimeter.", +"id": "GoogleIdentityAccesscontextmanagerV1EgressTo", +"properties": { +"externalResources": { +"description": "A list of external resources that are allowed to be accessed. Only AWS and Azure resources are supported. For Amazon S3, the supported formats are s3://BUCKET_NAME, s3a://BUCKET_NAME, and s3n://BUCKET_NAME. For Azure Storage, the supported format is azure://myaccount.blob.core.windows.net/CONTAINER_NAME. A request matches if it contains an external resource in this list (Example: s3://bucket/path). Currently '*' is not allowed.", +"items": { +"type": "string" +}, +"type": "array" +}, +"operations": { +"description": "A list of ApiOperations allowed to be performed by the sources specified in the corresponding EgressFrom. A request matches if it uses an operation/service in this list.", +"items": { +"$ref": "GoogleIdentityAccesscontextmanagerV1ApiOperation" +}, +"type": "array" +}, +"resources": { +"description": "A list of resources, currently only projects in the form `projects/`, that are allowed to be accessed by sources defined in the corresponding EgressFrom. A request matches if it contains a resource in this list. If `*` is specified for `resources`, then this EgressTo rule will authorize access to all resources outside the perimeter.", +"items": { +"type": "string" +}, +"type": "array" +}, +"roles": { +"description": "IAM roles that represent the set of operations that the sources specified in the corresponding EgressFrom. are allowed to perform in this ServicePerimeter.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleIdentityAccesscontextmanagerV1IngressFrom": { +"description": "Defines the conditions under which an IngressPolicy matches a request. Conditions are based on information about the source of the request. The request must satisfy what is defined in `sources` AND identity related fields in order to match.", +"id": "GoogleIdentityAccesscontextmanagerV1IngressFrom", +"properties": { +"identities": { +"description": "A list of identities that are allowed access through [IngressPolicy]. Identities can be an individual user, service account, Google group, or third-party identity. For third-party identity, only single identities are supported and other identity types are not supported. The `v1` identities that have the prefix `user`, `group`, `serviceAccount`, and `principal` in https://cloud.google.com/iam/docs/principal-identifiers#v1 are supported.", +"items": { +"type": "string" +}, +"type": "array" +}, +"identityType": { +"description": "Specifies the type of identities that are allowed access from outside the perimeter. If left unspecified, then members of `identities` field will be allowed access.", +"enum": [ +"IDENTITY_TYPE_UNSPECIFIED", +"ANY_IDENTITY", +"ANY_USER_ACCOUNT", +"ANY_SERVICE_ACCOUNT" +], +"enumDescriptions": [ +"No blanket identity group specified.", +"Authorize access from all identities outside the perimeter.", +"Authorize access from all human users outside the perimeter.", +"Authorize access from all service accounts outside the perimeter." +], +"type": "string" +}, +"sources": { +"description": "Sources that this IngressPolicy authorizes access from.", +"items": { +"$ref": "GoogleIdentityAccesscontextmanagerV1IngressSource" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleIdentityAccesscontextmanagerV1IngressPolicy": { +"description": "Policy for ingress into ServicePerimeter. IngressPolicies match requests based on `ingress_from` and `ingress_to` stanzas. For an ingress policy to match, both the `ingress_from` and `ingress_to` stanzas must be matched. If an IngressPolicy matches a request, the request is allowed through the perimeter boundary from outside the perimeter. For example, access from the internet can be allowed either based on an AccessLevel or, for traffic hosted on Google Cloud, the project of the source network. For access from private networks, using the project of the hosting network is required. Individual ingress policies can be limited by restricting which services and/or actions they match using the `ingress_to` field.", +"id": "GoogleIdentityAccesscontextmanagerV1IngressPolicy", +"properties": { +"ingressFrom": { +"$ref": "GoogleIdentityAccesscontextmanagerV1IngressFrom", +"description": "Defines the conditions on the source of a request causing this IngressPolicy to apply." +}, +"ingressTo": { +"$ref": "GoogleIdentityAccesscontextmanagerV1IngressTo", +"description": "Defines the conditions on the ApiOperation and request destination that cause this IngressPolicy to apply." +}, +"title": { +"description": "Optional. Human-readable title for the ingress rule. The title must be unique within the perimeter and can not exceed 100 characters. Within the access policy, the combined length of all rule titles must not exceed 240,000 characters.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleIdentityAccesscontextmanagerV1IngressSource": { +"description": "The source that IngressPolicy authorizes access from.", +"id": "GoogleIdentityAccesscontextmanagerV1IngressSource", +"properties": { +"accessLevel": { +"description": "An AccessLevel resource name that allow resources within the ServicePerimeters to be accessed from the internet. AccessLevels listed must be in the same policy as this ServicePerimeter. Referencing a nonexistent AccessLevel will cause an error. If no AccessLevel names are listed, resources within the perimeter can only be accessed via Google Cloud calls with request origins within the perimeter. Example: `accessPolicies/MY_POLICY/accessLevels/MY_LEVEL`. If a single `*` is specified for `access_level`, then all IngressSources will be allowed.", +"type": "string" +}, +"resource": { +"description": "A Google Cloud resource that is allowed to ingress the perimeter. Requests from these resources will be allowed to access perimeter data. Currently only projects and VPCs are allowed. Project format: `projects/{project_number}` VPC network format: `//compute.googleapis.com/projects/{PROJECT_ID}/global/networks/{NAME}`. The project may be in any Google Cloud organization, not just the organization that the perimeter is defined in. `*` is not allowed, the case of allowing all Google Cloud resources only is not supported.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleIdentityAccesscontextmanagerV1IngressTo": { +"description": "Defines the conditions under which an IngressPolicy matches a request. Conditions are based on information about the ApiOperation intended to be performed on the target resource of the request. The request must satisfy what is defined in `operations` AND `resources` in order to match.", +"id": "GoogleIdentityAccesscontextmanagerV1IngressTo", +"properties": { +"operations": { +"description": "A list of ApiOperations allowed to be performed by the sources specified in corresponding IngressFrom in this ServicePerimeter.", +"items": { +"$ref": "GoogleIdentityAccesscontextmanagerV1ApiOperation" +}, +"type": "array" +}, +"resources": { +"description": "A list of resources, currently only projects in the form `projects/`, protected by this ServicePerimeter that are allowed to be accessed by sources defined in the corresponding IngressFrom. If a single `*` is specified, then access to all resources inside the perimeter are allowed.", +"items": { +"type": "string" +}, +"type": "array" +}, +"roles": { +"description": "IAM roles that represent the set of operations that the sources specified in the corresponding IngressFrom are allowed to perform in this ServicePerimeter.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleIdentityAccesscontextmanagerV1MethodSelector": { +"description": "An allowed method or permission of a service specified in ApiOperation.", +"id": "GoogleIdentityAccesscontextmanagerV1MethodSelector", +"properties": { +"method": { +"description": "A valid method name for the corresponding `service_name` in ApiOperation. If `*` is used as the value for the `method`, then ALL methods and permissions are allowed.", +"type": "string" +}, +"permission": { +"description": "A valid Cloud IAM permission for the corresponding `service_name` in ApiOperation.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleIdentityAccesscontextmanagerV1OsConstraint": { +"description": "A restriction on the OS type and version of devices making requests.", +"id": "GoogleIdentityAccesscontextmanagerV1OsConstraint", +"properties": { +"minimumVersion": { +"description": "The minimum allowed OS version. If not set, any version of this OS satisfies the constraint. Format: `\"major.minor.patch\"`. Examples: `\"10.5.301\"`, `\"9.2.1\"`.", +"type": "string" +}, +"osType": { +"description": "Required. The allowed OS type.", +"enum": [ +"OS_UNSPECIFIED", +"DESKTOP_MAC", +"DESKTOP_WINDOWS", +"DESKTOP_LINUX", +"DESKTOP_CHROME_OS", +"ANDROID", +"IOS" +], +"enumDescriptions": [ +"The operating system of the device is not specified or not known.", +"A desktop Mac operating system.", +"A desktop Windows operating system.", +"A desktop Linux operating system.", +"A desktop ChromeOS operating system.", +"An Android operating system.", +"An iOS operating system." +], +"type": "string" +}, +"requireVerifiedChromeOs": { +"description": "Only allows requests from devices with a verified Chrome OS. Verifications includes requirements that the device is enterprise-managed, conformant to domain policies, and the caller has permission to call the API targeted by the request.", +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleIdentityAccesscontextmanagerV1ServicePerimeter": { +"description": "`ServicePerimeter` describes a set of Google Cloud resources which can freely import and export data amongst themselves, but not export outside of the `ServicePerimeter`. If a request with a source within this `ServicePerimeter` has a target outside of the `ServicePerimeter`, the request will be blocked. Otherwise the request is allowed. There are two types of Service Perimeter - Regular and Bridge. Regular Service Perimeters cannot overlap, a single Google Cloud project or VPC network can only belong to a single regular Service Perimeter. Service Perimeter Bridges can contain only Google Cloud projects as members, a single Google Cloud project may belong to multiple Service Perimeter Bridges.", +"id": "GoogleIdentityAccesscontextmanagerV1ServicePerimeter", +"properties": { +"description": { +"description": "Description of the `ServicePerimeter` and its use. Does not affect behavior.", +"type": "string" +}, +"etag": { +"description": "Optional. An opaque identifier for the current version of the `ServicePerimeter`. This identifier does not follow any specific format. If an etag is not provided, the operation will be performed as if a valid etag is provided.", +"type": "string" +}, +"name": { +"description": "Identifier. Resource name for the `ServicePerimeter`. Format: `accessPolicies/{access_policy}/servicePerimeters/{service_perimeter}`. The `service_perimeter` component must begin with a letter, followed by alphanumeric characters or `_`. After you create a `ServicePerimeter`, you cannot change its `name`.", +"type": "string" +}, +"perimeterType": { +"description": "Perimeter type indicator. A single project or VPC network is allowed to be a member of single regular perimeter, but multiple service perimeter bridges. A project cannot be a included in a perimeter bridge without being included in regular perimeter. For perimeter bridges, the restricted service list as well as access level lists must be empty.", +"enum": [ +"PERIMETER_TYPE_REGULAR", +"PERIMETER_TYPE_BRIDGE" +], +"enumDescriptions": [ +"Regular Perimeter. When no value is specified, the perimeter uses this type.", +"Perimeter Bridge." +], +"type": "string" +}, +"spec": { +"$ref": "GoogleIdentityAccesscontextmanagerV1ServicePerimeterConfig", +"description": "Proposed (or dry run) ServicePerimeter configuration. This configuration allows to specify and test ServicePerimeter configuration without enforcing actual access restrictions. Only allowed to be set when the \"use_explicit_dry_run_spec\" flag is set." +}, +"status": { +"$ref": "GoogleIdentityAccesscontextmanagerV1ServicePerimeterConfig", +"description": "Current ServicePerimeter configuration. Specifies sets of resources, restricted services and access levels that determine perimeter content and boundaries." +}, +"title": { +"description": "Human readable title. Must be unique within the Policy.", +"type": "string" +}, +"useExplicitDryRunSpec": { +"description": "Use explicit dry run spec flag. Ordinarily, a dry-run spec implicitly exists for all Service Perimeters, and that spec is identical to the status for those Service Perimeters. When this flag is set, it inhibits the generation of the implicit spec, thereby allowing the user to explicitly provide a configuration (\"spec\") to use in a dry-run version of the Service Perimeter. This allows the user to test changes to the enforced config (\"status\") without actually enforcing them. This testing is done through analyzing the differences between currently enforced and suggested restrictions. use_explicit_dry_run_spec must bet set to True if any of the fields in the spec are set to non-default values.", +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleIdentityAccesscontextmanagerV1ServicePerimeterConfig": { +"description": "`ServicePerimeterConfig` specifies a set of Google Cloud resources that describe specific Service Perimeter configuration.", +"id": "GoogleIdentityAccesscontextmanagerV1ServicePerimeterConfig", +"properties": { +"accessLevels": { +"description": "A list of `AccessLevel` resource names that allow resources within the `ServicePerimeter` to be accessed from the internet. `AccessLevels` listed must be in the same policy as this `ServicePerimeter`. Referencing a nonexistent `AccessLevel` is a syntax error. If no `AccessLevel` names are listed, resources within the perimeter can only be accessed via Google Cloud calls with request origins within the perimeter. Example: `\"accessPolicies/MY_POLICY/accessLevels/MY_LEVEL\"`. For Service Perimeter Bridge, must be empty.", +"items": { +"type": "string" +}, +"type": "array" +}, +"egressPolicies": { +"description": "List of EgressPolicies to apply to the perimeter. A perimeter may have multiple EgressPolicies, each of which is evaluated separately. Access is granted if any EgressPolicy grants it. Must be empty for a perimeter bridge.", +"items": { +"$ref": "GoogleIdentityAccesscontextmanagerV1EgressPolicy" +}, +"type": "array" +}, +"ingressPolicies": { +"description": "List of IngressPolicies to apply to the perimeter. A perimeter may have multiple IngressPolicies, each of which is evaluated separately. Access is granted if any Ingress Policy grants it. Must be empty for a perimeter bridge.", +"items": { +"$ref": "GoogleIdentityAccesscontextmanagerV1IngressPolicy" +}, +"type": "array" +}, +"resources": { +"description": "A list of Google Cloud resources that are inside of the service perimeter. Currently only projects and VPCs are allowed. Project format: `projects/{project_number}` VPC network format: `//compute.googleapis.com/projects/{PROJECT_ID}/global/networks/{NAME}`.", +"items": { +"type": "string" +}, +"type": "array" +}, +"restrictedServices": { +"description": "Google Cloud services that are subject to the Service Perimeter restrictions. For example, if `storage.googleapis.com` is specified, access to the storage buckets inside the perimeter must meet the perimeter's access restrictions.", +"items": { +"type": "string" +}, +"type": "array" +}, +"vpcAccessibleServices": { +"$ref": "GoogleIdentityAccesscontextmanagerV1VpcAccessibleServices", +"description": "Configuration for APIs allowed within Perimeter." +} +}, +"type": "object" +}, +"GoogleIdentityAccesscontextmanagerV1VpcAccessibleServices": { +"description": "Specifies how APIs are allowed to communicate within the Service Perimeter.", +"id": "GoogleIdentityAccesscontextmanagerV1VpcAccessibleServices", +"properties": { +"allowedServices": { +"description": "The list of APIs usable within the Service Perimeter. Must be empty unless 'enable_restriction' is True. You can specify a list of individual services, as well as include the 'RESTRICTED-SERVICES' value, which automatically includes all of the services protected by the perimeter.", +"items": { +"type": "string" +}, +"type": "array" +}, +"enableRestriction": { +"description": "Whether to restrict API calls within the Service Perimeter to the list of APIs specified in 'allowed_services'.", +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleIdentityAccesscontextmanagerV1VpcNetworkSource": { +"description": "The originating network source in Google Cloud.", +"id": "GoogleIdentityAccesscontextmanagerV1VpcNetworkSource", +"properties": { +"vpcSubnetwork": { +"$ref": "GoogleIdentityAccesscontextmanagerV1VpcSubNetwork", +"description": "Sub-segment ranges of a VPC network." +} +}, +"type": "object" +}, +"GoogleIdentityAccesscontextmanagerV1VpcSubNetwork": { +"description": "Sub-segment ranges inside of a VPC Network.", +"id": "GoogleIdentityAccesscontextmanagerV1VpcSubNetwork", +"properties": { +"network": { +"description": "Required. Network name. If the network is not part of the organization, the `compute.network.get` permission must be granted to the caller. Format: `//compute.googleapis.com/projects/{PROJECT_ID}/global/networks/{NETWORK_NAME}` Example: `//compute.googleapis.com/projects/my-project/global/networks/network-1`", +"type": "string" +}, +"vpcIpSubnetworks": { +"description": "CIDR block IP subnetwork specification. The IP address must be an IPv4 address and can be a public or private IP address. Note that for a CIDR IP address block, the specified IP address portion must be properly truncated (i.e. all the host bits must be zero) or the input is considered malformed. For example, \"192.0.2.0/24\" is accepted but \"192.0.2.1/24\" is not. If empty, all IP addresses are allowed.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"Operation": { +"description": "This resource represents a long-running operation that is the result of a network API call.", +"id": "Operation", +"properties": { +"done": { +"description": "If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.", +"type": "boolean" +}, +"error": { +"$ref": "Status", +"description": "The error result of the operation in case of failure or cancellation." +}, +"metadata": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.", +"type": "object" +}, +"name": { +"description": "The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.", +"type": "string" +}, +"response": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "The normal, successful response of the operation. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.", +"type": "object" +} +}, +"type": "object" +}, +"Policy": { +"description": "An Identity and Access Management (IAM) policy, which specifies access controls for Google Cloud resources. A `Policy` is a collection of `bindings`. A `binding` binds one or more `members`, or principals, to a single `role`. Principals can be user accounts, service accounts, Google groups, and domains (such as G Suite). A `role` is a named list of permissions; each `role` can be an IAM predefined role or a user-created custom role. For some types of Google Cloud resources, a `binding` can also specify a `condition`, which is a logical expression that allows access to a resource only if the expression evaluates to `true`. A condition can add constraints based on attributes of the request, the resource, or both. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). **JSON example:** ``` { \"bindings\": [ { \"role\": \"roles/resourcemanager.organizationAdmin\", \"members\": [ \"user:mike@example.com\", \"group:admins@example.com\", \"domain:google.com\", \"serviceAccount:my-project-id@appspot.gserviceaccount.com\" ] }, { \"role\": \"roles/resourcemanager.organizationViewer\", \"members\": [ \"user:eve@example.com\" ], \"condition\": { \"title\": \"expirable access\", \"description\": \"Does not grant access after Sep 2020\", \"expression\": \"request.time < timestamp('2020-10-01T00:00:00.000Z')\", } } ], \"etag\": \"BwWWja0YfJA=\", \"version\": 3 } ``` **YAML example:** ``` bindings: - members: - user:mike@example.com - group:admins@example.com - domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.com role: roles/resourcemanager.organizationViewer condition: title: expirable access description: Does not grant access after Sep 2020 expression: request.time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 ``` For a description of IAM and its features, see the [IAM documentation](https://cloud.google.com/iam/docs/).", +"id": "Policy", +"properties": { +"auditConfigs": { +"description": "Specifies cloud audit logging configuration for this policy.", +"items": { +"$ref": "AuditConfig" +}, +"type": "array" +}, +"bindings": { +"description": "Associates a list of `members`, or principals, with a `role`. Optionally, may specify a `condition` that determines how and when the `bindings` are applied. Each of the `bindings` must contain at least one principal. The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250 of these principals can be Google groups. Each occurrence of a principal counts towards these limits. For example, if the `bindings` grant 50 different roles to `user:alice@example.com`, and not to any other principal, then you can add another 1,450 principals to the `bindings` in the `Policy`.", +"items": { +"$ref": "Binding" +}, +"type": "array" +}, +"etag": { +"description": "`etag` is used for optimistic concurrency control as a way to help prevent simultaneous updates of a policy from overwriting each other. It is strongly suggested that systems make use of the `etag` in the read-modify-write cycle to perform policy updates in order to avoid race conditions: An `etag` is returned in the response to `getIamPolicy`, and systems are expected to put that etag in the request to `setIamPolicy` to ensure that their change will be applied to the same version of the policy. **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost.", +"format": "byte", +"type": "string" +}, +"version": { +"description": "Specifies the format of the policy. Valid values are `0`, `1`, and `3`. Requests that specify an invalid value are rejected. Any operation that affects conditional role bindings must specify version `3`. This requirement applies to the following operations: * Getting a policy that includes a conditional role binding * Adding a conditional role binding to a policy * Changing a conditional role binding in a policy * Removing any role binding, with or without a condition, from a policy that includes conditions **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost. If a policy does not include any conditions, operations on that policy may specify any valid version or leave the field unset. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"Status": { +"description": "The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors).", +"id": "Status", +"properties": { +"code": { +"description": "The status code, which should be an enum value of google.rpc.Code.", +"format": "int32", +"type": "integer" +}, +"details": { +"description": "A list of messages that carry the error details. There is a common set of message types for APIs to use.", +"items": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.", +"type": "string" +} +}, +"type": "object" +} +}, +"servicePath": "", +"title": "Cloud Asset API", +"version": "v1p7beta1", +"version_module": true +} \ No newline at end of file diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/cloudbilling.v1.json b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/cloudbilling.v1.json new file mode 100644 index 0000000000000000000000000000000000000000..58959ceae92aa1bc9c72deb41d77c5fb17d00eb9 --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/cloudbilling.v1.json @@ -0,0 +1,1337 @@ +{ +"auth": { +"oauth2": { +"scopes": { +"https://www.googleapis.com/auth/cloud-billing": { +"description": "View and manage your Google Cloud Platform billing accounts" +}, +"https://www.googleapis.com/auth/cloud-billing.readonly": { +"description": "View your Google Cloud Platform billing accounts" +}, +"https://www.googleapis.com/auth/cloud-platform": { +"description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." +} +} +} +}, +"basePath": "", +"baseUrl": "https://cloudbilling.googleapis.com/", +"batchPath": "batch", +"canonicalName": "Cloudbilling", +"description": "Allows developers to manage billing for their Google Cloud Platform projects programmatically.", +"discoveryVersion": "v1", +"documentationLink": "https://cloud.google.com/billing/docs/apis", +"fullyEncodeReservedExpansion": true, +"icons": { +"x16": "http://www.google.com/images/icons/product/search-16.gif", +"x32": "http://www.google.com/images/icons/product/search-32.gif" +}, +"id": "cloudbilling:v1", +"kind": "discovery#restDescription", +"mtlsRootUrl": "https://cloudbilling.mtls.googleapis.com/", +"name": "cloudbilling", +"ownerDomain": "google.com", +"ownerName": "Google", +"parameters": { +"$.xgafv": { +"description": "V1 error format.", +"enum": [ +"1", +"2" +], +"enumDescriptions": [ +"v1 error format", +"v2 error format" +], +"location": "query", +"type": "string" +}, +"access_token": { +"description": "OAuth access token.", +"location": "query", +"type": "string" +}, +"alt": { +"default": "json", +"description": "Data format for response.", +"enum": [ +"json", +"media", +"proto" +], +"enumDescriptions": [ +"Responses with Content-Type of application/json", +"Media download with context-dependent Content-Type", +"Responses with Content-Type of application/x-protobuf" +], +"location": "query", +"type": "string" +}, +"callback": { +"description": "JSONP", +"location": "query", +"type": "string" +}, +"fields": { +"description": "Selector specifying which fields to include in a partial response.", +"location": "query", +"type": "string" +}, +"key": { +"description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", +"location": "query", +"type": "string" +}, +"oauth_token": { +"description": "OAuth 2.0 token for the current user.", +"location": "query", +"type": "string" +}, +"prettyPrint": { +"default": "true", +"description": "Returns response with indentations and line breaks.", +"location": "query", +"type": "boolean" +}, +"quotaUser": { +"description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.", +"location": "query", +"type": "string" +}, +"uploadType": { +"description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", +"location": "query", +"type": "string" +}, +"upload_protocol": { +"description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", +"location": "query", +"type": "string" +} +}, +"protocol": "rest", +"resources": { +"billingAccounts": { +"methods": { +"create": { +"description": "This method creates [billing subaccounts](https://cloud.google.com/billing/docs/concepts#subaccounts). Google Cloud resellers should use the Channel Services APIs, [accounts.customers.create](https://cloud.google.com/channel/docs/reference/rest/v1/accounts.customers/create) and [accounts.customers.entitlements.create](https://cloud.google.com/channel/docs/reference/rest/v1/accounts.customers.entitlements/create). When creating a subaccount, the current authenticated user must have the `billing.accounts.update` IAM permission on the parent account, which is typically given to billing account [administrators](https://cloud.google.com/billing/docs/how-to/billing-access). This method will return an error if the parent account has not been provisioned for subaccounts.", +"flatPath": "v1/billingAccounts", +"httpMethod": "POST", +"id": "cloudbilling.billingAccounts.create", +"parameterOrder": [], +"parameters": { +"parent": { +"description": "Optional. The parent to create a billing account from. Format: - `billingAccounts/{billing_account_id}`, for example, `billingAccounts/012345-567890-ABCDEF`", +"location": "query", +"type": "string" +} +}, +"path": "v1/billingAccounts", +"request": { +"$ref": "BillingAccount" +}, +"response": { +"$ref": "BillingAccount" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-billing", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets information about a billing account. The current authenticated user must be a [viewer of the billing account](https://cloud.google.com/billing/docs/how-to/billing-access).", +"flatPath": "v1/billingAccounts/{billingAccountsId}", +"httpMethod": "GET", +"id": "cloudbilling.billingAccounts.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the billing account to retrieve. For example, `billingAccounts/012345-567890-ABCDEF`.", +"location": "path", +"pattern": "^billingAccounts/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "BillingAccount" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-billing", +"https://www.googleapis.com/auth/cloud-billing.readonly", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"getIamPolicy": { +"description": "Gets the access control policy for a billing account. The caller must have the `billing.accounts.getIamPolicy` permission on the account, which is often given to billing account [viewers](https://cloud.google.com/billing/docs/how-to/billing-access).", +"flatPath": "v1/billingAccounts/{billingAccountsId}:getIamPolicy", +"httpMethod": "GET", +"id": "cloudbilling.billingAccounts.getIamPolicy", +"parameterOrder": [ +"resource" +], +"parameters": { +"options.requestedPolicyVersion": { +"description": "Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).", +"format": "int32", +"location": "query", +"type": "integer" +}, +"resource": { +"description": "REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", +"location": "path", +"pattern": "^billingAccounts/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+resource}:getIamPolicy", +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-billing", +"https://www.googleapis.com/auth/cloud-billing.readonly", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists the billing accounts that the current authenticated user has permission to [view](https://cloud.google.com/billing/docs/how-to/billing-access).", +"flatPath": "v1/billingAccounts", +"httpMethod": "GET", +"id": "cloudbilling.billingAccounts.list", +"parameterOrder": [], +"parameters": { +"filter": { +"description": "Options for how to filter the returned billing accounts. This only supports filtering for [subaccounts](https://cloud.google.com/billing/docs/concepts) under a single provided parent billing account. (for example, `master_billing_account=billingAccounts/012345-678901-ABCDEF`). Boolean algebra and other fields are not currently supported.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Requested page size. The maximum page size is 100; this is also the default.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A token identifying a page of results to return. This should be a `next_page_token` value returned from a previous `ListBillingAccounts` call. If unspecified, the first page of results is returned.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Optional. The parent resource to list billing accounts from. Format: - `organizations/{organization_id}`, for example, `organizations/12345678` - `billingAccounts/{billing_account_id}`, for example, `billingAccounts/012345-567890-ABCDEF`", +"location": "query", +"type": "string" +} +}, +"path": "v1/billingAccounts", +"response": { +"$ref": "ListBillingAccountsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-billing", +"https://www.googleapis.com/auth/cloud-billing.readonly", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"move": { +"description": "Changes which parent organization a billing account belongs to.", +"flatPath": "v1/billingAccounts/{billingAccountsId}:move", +"httpMethod": "POST", +"id": "cloudbilling.billingAccounts.move", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the billing account to move. Must be of the form `billingAccounts/{billing_account_id}`. The specified billing account cannot be a subaccount, since a subaccount always belongs to the same organization as its parent account.", +"location": "path", +"pattern": "^billingAccounts/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:move", +"request": { +"$ref": "MoveBillingAccountRequest" +}, +"response": { +"$ref": "BillingAccount" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-billing", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates a billing account's fields. Currently the only field that can be edited is `display_name`. The current authenticated user must have the `billing.accounts.update` IAM permission, which is typically given to the [administrator](https://cloud.google.com/billing/docs/how-to/billing-access) of the billing account.", +"flatPath": "v1/billingAccounts/{billingAccountsId}", +"httpMethod": "PATCH", +"id": "cloudbilling.billingAccounts.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the billing account resource to be updated.", +"location": "path", +"pattern": "^billingAccounts/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "The update mask applied to the resource. Only \"display_name\" is currently supported.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "BillingAccount" +}, +"response": { +"$ref": "BillingAccount" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-billing", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"setIamPolicy": { +"description": "Sets the access control policy for a billing account. Replaces any existing policy. The caller must have the `billing.accounts.setIamPolicy` permission on the account, which is often given to billing account [administrators](https://cloud.google.com/billing/docs/how-to/billing-access).", +"flatPath": "v1/billingAccounts/{billingAccountsId}:setIamPolicy", +"httpMethod": "POST", +"id": "cloudbilling.billingAccounts.setIamPolicy", +"parameterOrder": [ +"resource" +], +"parameters": { +"resource": { +"description": "REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", +"location": "path", +"pattern": "^billingAccounts/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+resource}:setIamPolicy", +"request": { +"$ref": "SetIamPolicyRequest" +}, +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-billing", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"testIamPermissions": { +"description": "Tests the access control policy for a billing account. This method takes the resource and a set of permissions as input and returns the subset of the input permissions that the caller is allowed for that resource.", +"flatPath": "v1/billingAccounts/{billingAccountsId}:testIamPermissions", +"httpMethod": "POST", +"id": "cloudbilling.billingAccounts.testIamPermissions", +"parameterOrder": [ +"resource" +], +"parameters": { +"resource": { +"description": "REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", +"location": "path", +"pattern": "^billingAccounts/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+resource}:testIamPermissions", +"request": { +"$ref": "TestIamPermissionsRequest" +}, +"response": { +"$ref": "TestIamPermissionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-billing", +"https://www.googleapis.com/auth/cloud-billing.readonly", +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"projects": { +"methods": { +"list": { +"description": "Lists the projects associated with a billing account. The current authenticated user must have the `billing.resourceAssociations.list` IAM permission, which is often given to billing account [viewers](https://cloud.google.com/billing/docs/how-to/billing-access).", +"flatPath": "v1/billingAccounts/{billingAccountsId}/projects", +"httpMethod": "GET", +"id": "cloudbilling.billingAccounts.projects.list", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the billing account associated with the projects that you want to list. For example, `billingAccounts/012345-567890-ABCDEF`.", +"location": "path", +"pattern": "^billingAccounts/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "Requested page size. The maximum page size is 100; this is also the default.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A token identifying a page of results to be returned. This should be a `next_page_token` value returned from a previous `ListProjectBillingInfo` call. If unspecified, the first page of results is returned.", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}/projects", +"response": { +"$ref": "ListProjectBillingInfoResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-billing", +"https://www.googleapis.com/auth/cloud-billing.readonly", +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"subAccounts": { +"methods": { +"create": { +"description": "This method creates [billing subaccounts](https://cloud.google.com/billing/docs/concepts#subaccounts). Google Cloud resellers should use the Channel Services APIs, [accounts.customers.create](https://cloud.google.com/channel/docs/reference/rest/v1/accounts.customers/create) and [accounts.customers.entitlements.create](https://cloud.google.com/channel/docs/reference/rest/v1/accounts.customers.entitlements/create). When creating a subaccount, the current authenticated user must have the `billing.accounts.update` IAM permission on the parent account, which is typically given to billing account [administrators](https://cloud.google.com/billing/docs/how-to/billing-access). This method will return an error if the parent account has not been provisioned for subaccounts.", +"flatPath": "v1/billingAccounts/{billingAccountsId}/subAccounts", +"httpMethod": "POST", +"id": "cloudbilling.billingAccounts.subAccounts.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Optional. The parent to create a billing account from. Format: - `billingAccounts/{billing_account_id}`, for example, `billingAccounts/012345-567890-ABCDEF`", +"location": "path", +"pattern": "^billingAccounts/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/subAccounts", +"request": { +"$ref": "BillingAccount" +}, +"response": { +"$ref": "BillingAccount" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-billing", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists the billing accounts that the current authenticated user has permission to [view](https://cloud.google.com/billing/docs/how-to/billing-access).", +"flatPath": "v1/billingAccounts/{billingAccountsId}/subAccounts", +"httpMethod": "GET", +"id": "cloudbilling.billingAccounts.subAccounts.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Options for how to filter the returned billing accounts. This only supports filtering for [subaccounts](https://cloud.google.com/billing/docs/concepts) under a single provided parent billing account. (for example, `master_billing_account=billingAccounts/012345-678901-ABCDEF`). Boolean algebra and other fields are not currently supported.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Requested page size. The maximum page size is 100; this is also the default.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A token identifying a page of results to return. This should be a `next_page_token` value returned from a previous `ListBillingAccounts` call. If unspecified, the first page of results is returned.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Optional. The parent resource to list billing accounts from. Format: - `organizations/{organization_id}`, for example, `organizations/12345678` - `billingAccounts/{billing_account_id}`, for example, `billingAccounts/012345-567890-ABCDEF`", +"location": "path", +"pattern": "^billingAccounts/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/subAccounts", +"response": { +"$ref": "ListBillingAccountsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-billing", +"https://www.googleapis.com/auth/cloud-billing.readonly", +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +}, +"organizations": { +"resources": { +"billingAccounts": { +"methods": { +"create": { +"description": "This method creates [billing subaccounts](https://cloud.google.com/billing/docs/concepts#subaccounts). Google Cloud resellers should use the Channel Services APIs, [accounts.customers.create](https://cloud.google.com/channel/docs/reference/rest/v1/accounts.customers/create) and [accounts.customers.entitlements.create](https://cloud.google.com/channel/docs/reference/rest/v1/accounts.customers.entitlements/create). When creating a subaccount, the current authenticated user must have the `billing.accounts.update` IAM permission on the parent account, which is typically given to billing account [administrators](https://cloud.google.com/billing/docs/how-to/billing-access). This method will return an error if the parent account has not been provisioned for subaccounts.", +"flatPath": "v1/organizations/{organizationsId}/billingAccounts", +"httpMethod": "POST", +"id": "cloudbilling.organizations.billingAccounts.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Optional. The parent to create a billing account from. Format: - `billingAccounts/{billing_account_id}`, for example, `billingAccounts/012345-567890-ABCDEF`", +"location": "path", +"pattern": "^organizations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/billingAccounts", +"request": { +"$ref": "BillingAccount" +}, +"response": { +"$ref": "BillingAccount" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-billing", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists the billing accounts that the current authenticated user has permission to [view](https://cloud.google.com/billing/docs/how-to/billing-access).", +"flatPath": "v1/organizations/{organizationsId}/billingAccounts", +"httpMethod": "GET", +"id": "cloudbilling.organizations.billingAccounts.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Options for how to filter the returned billing accounts. This only supports filtering for [subaccounts](https://cloud.google.com/billing/docs/concepts) under a single provided parent billing account. (for example, `master_billing_account=billingAccounts/012345-678901-ABCDEF`). Boolean algebra and other fields are not currently supported.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Requested page size. The maximum page size is 100; this is also the default.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A token identifying a page of results to return. This should be a `next_page_token` value returned from a previous `ListBillingAccounts` call. If unspecified, the first page of results is returned.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Optional. The parent resource to list billing accounts from. Format: - `organizations/{organization_id}`, for example, `organizations/12345678` - `billingAccounts/{billing_account_id}`, for example, `billingAccounts/012345-567890-ABCDEF`", +"location": "path", +"pattern": "^organizations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/billingAccounts", +"response": { +"$ref": "ListBillingAccountsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-billing", +"https://www.googleapis.com/auth/cloud-billing.readonly", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"move": { +"description": "Changes which parent organization a billing account belongs to.", +"flatPath": "v1/organizations/{organizationsId}/billingAccounts/{billingAccountsId}:move", +"httpMethod": "GET", +"id": "cloudbilling.organizations.billingAccounts.move", +"parameterOrder": [ +"destinationParent", +"name" +], +"parameters": { +"destinationParent": { +"description": "Required. The resource name of the Organization to move the billing account under. Must be of the form `organizations/{organization_id}`.", +"location": "path", +"pattern": "^organizations/[^/]+$", +"required": true, +"type": "string" +}, +"name": { +"description": "Required. The resource name of the billing account to move. Must be of the form `billingAccounts/{billing_account_id}`. The specified billing account cannot be a subaccount, since a subaccount always belongs to the same organization as its parent account.", +"location": "path", +"pattern": "^billingAccounts/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+destinationParent}/{+name}:move", +"response": { +"$ref": "BillingAccount" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-billing", +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +}, +"projects": { +"methods": { +"getBillingInfo": { +"description": "Gets the billing information for a project. The current authenticated user must have the `resourcemanager.projects.get` permission for the project, which can be granted by assigning the [Project Viewer](https://cloud.google.com/iam/docs/understanding-roles#predefined_roles) role.", +"flatPath": "v1/projects/{projectsId}/billingInfo", +"httpMethod": "GET", +"id": "cloudbilling.projects.getBillingInfo", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the project for which billing information is retrieved. For example, `projects/tokyo-rain-123`.", +"location": "path", +"pattern": "^projects/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}/billingInfo", +"response": { +"$ref": "ProjectBillingInfo" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-billing", +"https://www.googleapis.com/auth/cloud-billing.readonly", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"updateBillingInfo": { +"description": "Sets or updates the billing account associated with a project. You specify the new billing account by setting the `billing_account_name` in the `ProjectBillingInfo` resource to the resource name of a billing account. Associating a project with an open billing account enables billing on the project and allows charges for resource usage. If the project already had a billing account, this method changes the billing account used for resource usage charges. *Note:* Incurred charges that have not yet been reported in the transaction history of the Google Cloud Console might be billed to the new billing account, even if the charge occurred before the new billing account was assigned to the project. The current authenticated user must have ownership privileges for both the [project](https://cloud.google.com/docs/permissions-overview#h.bgs0oxofvnoo ) and the [billing account](https://cloud.google.com/billing/docs/how-to/billing-access). You can disable billing on the project by setting the `billing_account_name` field to empty. This action disassociates the current billing account from the project. Any billable activity of your in-use services will stop, and your application could stop functioning as expected. Any unbilled charges to date will be billed to the previously associated account. The current authenticated user must be either an owner of the project or an owner of the billing account for the project. Note that associating a project with a *closed* billing account will have much the same effect as disabling billing on the project: any paid resources used by the project will be shut down. Thus, unless you wish to disable billing, you should always call this method with the name of an *open* billing account.", +"flatPath": "v1/projects/{projectsId}/billingInfo", +"httpMethod": "PUT", +"id": "cloudbilling.projects.updateBillingInfo", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the project associated with the billing information that you want to update. For example, `projects/tokyo-rain-123`.", +"location": "path", +"pattern": "^projects/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}/billingInfo", +"request": { +"$ref": "ProjectBillingInfo" +}, +"response": { +"$ref": "ProjectBillingInfo" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-billing", +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"services": { +"methods": { +"list": { +"description": "Lists all public cloud services.", +"flatPath": "v1/services", +"httpMethod": "GET", +"id": "cloudbilling.services.list", +"parameterOrder": [], +"parameters": { +"pageSize": { +"description": "Requested page size. Defaults to 5000.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A token identifying a page of results to return. This should be a `next_page_token` value returned from a previous `ListServices` call. If unspecified, the first page of results is returned.", +"location": "query", +"type": "string" +} +}, +"path": "v1/services", +"response": { +"$ref": "ListServicesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-billing", +"https://www.googleapis.com/auth/cloud-billing.readonly", +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"skus": { +"methods": { +"list": { +"description": "Lists all publicly available SKUs for a given cloud service.", +"flatPath": "v1/services/{servicesId}/skus", +"httpMethod": "GET", +"id": "cloudbilling.services.skus.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"currencyCode": { +"description": "The ISO 4217 currency code for the pricing info in the response proto. Will use the conversion rate as of start_time. Optional. If not specified USD will be used.", +"location": "query", +"type": "string" +}, +"endTime": { +"description": "Optional exclusive end time of the time range for which the pricing versions will be returned. Timestamps in the future are not allowed. The time range has to be within a single calendar month in America/Los_Angeles timezone. Time range as a whole is optional. If not specified, the latest pricing will be returned (up to 12 hours old at most).", +"format": "google-datetime", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Requested page size. Defaults to 5000.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A token identifying a page of results to return. This should be a `next_page_token` value returned from a previous `ListSkus` call. If unspecified, the first page of results is returned.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The name of the service. Example: \"services/6F81-5844-456A\"", +"location": "path", +"pattern": "^services/[^/]+$", +"required": true, +"type": "string" +}, +"startTime": { +"description": "Optional inclusive start time of the time range for which the pricing versions will be returned. Timestamps in the future are not allowed. The time range has to be within a single calendar month in America/Los_Angeles timezone. Time range as a whole is optional. If not specified, the latest pricing will be returned (up to 12 hours old at most).", +"format": "google-datetime", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+parent}/skus", +"response": { +"$ref": "ListSkusResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-billing", +"https://www.googleapis.com/auth/cloud-billing.readonly", +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +} +}, +"revision": "20241011", +"rootUrl": "https://cloudbilling.googleapis.com/", +"schemas": { +"AggregationInfo": { +"description": "Represents the aggregation level and interval for pricing of a single SKU.", +"id": "AggregationInfo", +"properties": { +"aggregationCount": { +"description": "The number of intervals to aggregate over. Example: If aggregation_level is \"DAILY\" and aggregation_count is 14, aggregation will be over 14 days.", +"format": "int32", +"type": "integer" +}, +"aggregationInterval": { +"enum": [ +"AGGREGATION_INTERVAL_UNSPECIFIED", +"DAILY", +"MONTHLY" +], +"enumDescriptions": [ +"", +"", +"" +], +"type": "string" +}, +"aggregationLevel": { +"enum": [ +"AGGREGATION_LEVEL_UNSPECIFIED", +"ACCOUNT", +"PROJECT" +], +"enumDescriptions": [ +"", +"", +"" +], +"type": "string" +} +}, +"type": "object" +}, +"AuditConfig": { +"description": "Specifies the audit configuration for a service. The configuration determines which permission types are logged, and what identities, if any, are exempted from logging. An AuditConfig must have one or more AuditLogConfigs. If there are AuditConfigs for both `allServices` and a specific service, the union of the two AuditConfigs is used for that service: the log_types specified in each AuditConfig are enabled, and the exempted_members in each AuditLogConfig are exempted. Example Policy with multiple AuditConfigs: { \"audit_configs\": [ { \"service\": \"allServices\", \"audit_log_configs\": [ { \"log_type\": \"DATA_READ\", \"exempted_members\": [ \"user:jose@example.com\" ] }, { \"log_type\": \"DATA_WRITE\" }, { \"log_type\": \"ADMIN_READ\" } ] }, { \"service\": \"sampleservice.googleapis.com\", \"audit_log_configs\": [ { \"log_type\": \"DATA_READ\" }, { \"log_type\": \"DATA_WRITE\", \"exempted_members\": [ \"user:aliya@example.com\" ] } ] } ] } For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also exempts `jose@example.com` from DATA_READ logging, and `aliya@example.com` from DATA_WRITE logging.", +"id": "AuditConfig", +"properties": { +"auditLogConfigs": { +"description": "The configuration for logging of each type of permission.", +"items": { +"$ref": "AuditLogConfig" +}, +"type": "array" +}, +"service": { +"description": "Specifies a service that will be enabled for audit logging. For example, `storage.googleapis.com`, `cloudsql.googleapis.com`. `allServices` is a special value that covers all services.", +"type": "string" +} +}, +"type": "object" +}, +"AuditLogConfig": { +"description": "Provides the configuration for logging a type of permissions. Example: { \"audit_log_configs\": [ { \"log_type\": \"DATA_READ\", \"exempted_members\": [ \"user:jose@example.com\" ] }, { \"log_type\": \"DATA_WRITE\" } ] } This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting jose@example.com from DATA_READ logging.", +"id": "AuditLogConfig", +"properties": { +"exemptedMembers": { +"description": "Specifies the identities that do not cause logging for this type of permission. Follows the same format of Binding.members.", +"items": { +"type": "string" +}, +"type": "array" +}, +"logType": { +"description": "The log type that this config enables.", +"enum": [ +"LOG_TYPE_UNSPECIFIED", +"ADMIN_READ", +"DATA_WRITE", +"DATA_READ" +], +"enumDescriptions": [ +"Default case. Should never be this.", +"Admin reads. Example: CloudIAM getIamPolicy", +"Data writes. Example: CloudSQL Users create", +"Data reads. Example: CloudSQL Users list" +], +"type": "string" +} +}, +"type": "object" +}, +"BillingAccount": { +"description": "A billing account in the [Google Cloud Console](https://console.cloud.google.com/). You can assign a billing account to one or more projects.", +"id": "BillingAccount", +"properties": { +"currencyCode": { +"description": "Optional. The currency in which the billing account is billed and charged, represented as an ISO 4217 code such as `USD`. Billing account currency is determined at the time of billing account creation and cannot be updated subsequently, so this field should not be set on update requests. In addition, a subaccount always matches the currency of its parent billing account, so this field should not be set on subaccount creation requests. Clients can read this field to determine the currency of an existing billing account.", +"type": "string" +}, +"displayName": { +"description": "The display name given to the billing account, such as `My Billing Account`. This name is displayed in the Google Cloud Console.", +"type": "string" +}, +"masterBillingAccount": { +"description": "If this account is a [subaccount](https://cloud.google.com/billing/docs/concepts), then this will be the resource name of the parent billing account that it is being resold through. Otherwise this will be empty.", +"type": "string" +}, +"name": { +"description": "Output only. The resource name of the billing account. The resource name has the form `billingAccounts/{billing_account_id}`. For example, `billingAccounts/012345-567890-ABCDEF` would be the resource name for billing account `012345-567890-ABCDEF`.", +"readOnly": true, +"type": "string" +}, +"open": { +"description": "Output only. True if the billing account is open, and will therefore be charged for any usage on associated projects. False if the billing account is closed, and therefore projects associated with it are unable to use paid services.", +"readOnly": true, +"type": "boolean" +}, +"parent": { +"description": "Output only. The billing account's parent resource identifier. Use the `MoveBillingAccount` method to update the account's parent resource if it is a organization. Format: - `organizations/{organization_id}`, for example, `organizations/12345678` - `billingAccounts/{billing_account_id}`, for example, `billingAccounts/012345-567890-ABCDEF`", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"Binding": { +"description": "Associates `members`, or principals, with a `role`.", +"id": "Binding", +"properties": { +"condition": { +"$ref": "Expr", +"description": "The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies)." +}, +"members": { +"description": "Specifies the principals requesting access for a Google Cloud resource. `members` can have the following values: * `allUsers`: A special identifier that represents anyone who is on the internet; with or without a Google account. * `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service account. Does not include identities that come from external identity providers (IdPs) through identity federation. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `group:{emailid}`: An email address that represents a Google group. For example, `admins@example.com`. * `domain:{domain}`: The G Suite domain (primary) that represents all the users of that domain. For example, `google.com` or `example.com`. * `principal://iam.googleapis.com/locations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}`: A single identity in a workforce identity pool. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/group/{group_id}`: All workforce identities in a group. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/attribute.{attribute_name}/{attribute_value}`: All workforce identities with a specific attribute value. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/*`: All identities in a workforce identity pool. * `principal://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/subject/{subject_attribute_value}`: A single identity in a workload identity pool. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/group/{group_id}`: A workload identity pool group. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/attribute.{attribute_name}/{attribute_value}`: All identities in a workload identity pool with a certain attribute. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/*`: All identities in a workload identity pool. * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a user that has been recently deleted. For example, `alice@example.com?uid=123456789012345678901`. If the user is recovered, this value reverts to `user:{emailid}` and the recovered user retains the role in the binding. * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a service account that has been recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the service account is undeleted, this value reverts to `serviceAccount:{emailid}` and the undeleted service account retains the role in the binding. * `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a Google group that has been recently deleted. For example, `admins@example.com?uid=123456789012345678901`. If the group is recovered, this value reverts to `group:{emailid}` and the recovered group retains the role in the binding. * `deleted:principal://iam.googleapis.com/locations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}`: Deleted single identity in a workforce identity pool. For example, `deleted:principal://iam.googleapis.com/locations/global/workforcePools/my-pool-id/subject/my-subject-attribute-value`.", +"items": { +"type": "string" +}, +"type": "array" +}, +"role": { +"description": "Role that is assigned to the list of `members`, or principals. For example, `roles/viewer`, `roles/editor`, or `roles/owner`. For an overview of the IAM roles and permissions, see the [IAM documentation](https://cloud.google.com/iam/docs/roles-overview). For a list of the available pre-defined roles, see [here](https://cloud.google.com/iam/docs/understanding-roles).", +"type": "string" +} +}, +"type": "object" +}, +"Category": { +"description": "Represents the category hierarchy of a SKU.", +"id": "Category", +"properties": { +"resourceFamily": { +"description": "The type of product the SKU refers to. Example: \"Compute\", \"Storage\", \"Network\", \"ApplicationServices\" etc.", +"type": "string" +}, +"resourceGroup": { +"description": "A group classification for related SKUs. Example: \"RAM\", \"GPU\", \"Prediction\", \"Ops\", \"GoogleEgress\" etc.", +"type": "string" +}, +"serviceDisplayName": { +"description": "The display name of the service this SKU belongs to.", +"type": "string" +}, +"usageType": { +"description": "Represents how the SKU is consumed. Example: \"OnDemand\", \"Preemptible\", \"Commit1Mo\", \"Commit1Yr\" etc.", +"type": "string" +} +}, +"type": "object" +}, +"Expr": { +"description": "Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: \"Summary size limit\" description: \"Determines if a summary is less than 100 chars\" expression: \"document.summary.size() < 100\" Example (Equality): title: \"Requestor is owner\" description: \"Determines if requestor is the document owner\" expression: \"document.owner == request.auth.claims.email\" Example (Logic): title: \"Public documents\" description: \"Determine whether the document should be publicly visible\" expression: \"document.type != 'private' && document.type != 'internal'\" Example (Data Manipulation): title: \"Notification string\" description: \"Create a notification string with a timestamp.\" expression: \"'New message received at ' + string(document.create_time)\" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information.", +"id": "Expr", +"properties": { +"description": { +"description": "Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI.", +"type": "string" +}, +"expression": { +"description": "Textual representation of an expression in Common Expression Language syntax.", +"type": "string" +}, +"location": { +"description": "Optional. String indicating the location of the expression for error reporting, e.g. a file name and a position in the file.", +"type": "string" +}, +"title": { +"description": "Optional. Title for the expression, i.e. a short string describing its purpose. This can be used e.g. in UIs which allow to enter the expression.", +"type": "string" +} +}, +"type": "object" +}, +"GeoTaxonomy": { +"description": "Encapsulates the geographic taxonomy data for a sku.", +"id": "GeoTaxonomy", +"properties": { +"regions": { +"description": "The list of regions associated with a sku. Empty for Global skus, which are associated with all Google Cloud regions.", +"items": { +"type": "string" +}, +"type": "array" +}, +"type": { +"description": "The type of Geo Taxonomy: GLOBAL, REGIONAL, or MULTI_REGIONAL.", +"enum": [ +"TYPE_UNSPECIFIED", +"GLOBAL", +"REGIONAL", +"MULTI_REGIONAL" +], +"enumDescriptions": [ +"The type is not specified.", +"The sku is global in nature, e.g. a license sku. Global skus are available in all regions, and so have an empty region list.", +"The sku is available in a specific region, e.g. \"us-west2\".", +"The sku is associated with multiple regions, e.g. \"us-west2\" and \"us-east1\"." +], +"type": "string" +} +}, +"type": "object" +}, +"ListBillingAccountsResponse": { +"description": "Response message for `ListBillingAccounts`.", +"id": "ListBillingAccountsResponse", +"properties": { +"billingAccounts": { +"description": "A list of billing accounts.", +"items": { +"$ref": "BillingAccount" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A token to retrieve the next page of results. To retrieve the next page, call `ListBillingAccounts` again with the `page_token` field set to this value. This field is empty if there are no more results to retrieve.", +"type": "string" +} +}, +"type": "object" +}, +"ListProjectBillingInfoResponse": { +"description": "Request message for `ListProjectBillingInfoResponse`.", +"id": "ListProjectBillingInfoResponse", +"properties": { +"nextPageToken": { +"description": "A token to retrieve the next page of results. To retrieve the next page, call `ListProjectBillingInfo` again with the `page_token` field set to this value. This field is empty if there are no more results to retrieve.", +"type": "string" +}, +"projectBillingInfo": { +"description": "A list of `ProjectBillingInfo` resources representing the projects associated with the billing account.", +"items": { +"$ref": "ProjectBillingInfo" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListServicesResponse": { +"description": "Response message for `ListServices`.", +"id": "ListServicesResponse", +"properties": { +"nextPageToken": { +"description": "A token to retrieve the next page of results. To retrieve the next page, call `ListServices` again with the `page_token` field set to this value. This field is empty if there are no more results to retrieve.", +"type": "string" +}, +"services": { +"description": "A list of services.", +"items": { +"$ref": "Service" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListSkusResponse": { +"description": "Response message for `ListSkus`.", +"id": "ListSkusResponse", +"properties": { +"nextPageToken": { +"description": "A token to retrieve the next page of results. To retrieve the next page, call `ListSkus` again with the `page_token` field set to this value. This field is empty if there are no more results to retrieve.", +"type": "string" +}, +"skus": { +"description": "The list of public SKUs of the given service.", +"items": { +"$ref": "Sku" +}, +"type": "array" +} +}, +"type": "object" +}, +"Money": { +"description": "Represents an amount of money with its currency type.", +"id": "Money", +"properties": { +"currencyCode": { +"description": "The three-letter currency code defined in ISO 4217.", +"type": "string" +}, +"nanos": { +"description": "Number of nano (10^-9) units of the amount. The value must be between -999,999,999 and +999,999,999 inclusive. If `units` is positive, `nanos` must be positive or zero. If `units` is zero, `nanos` can be positive, zero, or negative. If `units` is negative, `nanos` must be negative or zero. For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000.", +"format": "int32", +"type": "integer" +}, +"units": { +"description": "The whole units of the amount. For example if `currencyCode` is `\"USD\"`, then 1 unit is one US dollar.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"MoveBillingAccountRequest": { +"description": "Request message for `MoveBillingAccount` RPC.", +"id": "MoveBillingAccountRequest", +"properties": { +"destinationParent": { +"description": "Required. The resource name of the Organization to move the billing account under. Must be of the form `organizations/{organization_id}`.", +"type": "string" +} +}, +"type": "object" +}, +"Policy": { +"description": "An Identity and Access Management (IAM) policy, which specifies access controls for Google Cloud resources. A `Policy` is a collection of `bindings`. A `binding` binds one or more `members`, or principals, to a single `role`. Principals can be user accounts, service accounts, Google groups, and domains (such as G Suite). A `role` is a named list of permissions; each `role` can be an IAM predefined role or a user-created custom role. For some types of Google Cloud resources, a `binding` can also specify a `condition`, which is a logical expression that allows access to a resource only if the expression evaluates to `true`. A condition can add constraints based on attributes of the request, the resource, or both. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). **JSON example:** ``` { \"bindings\": [ { \"role\": \"roles/resourcemanager.organizationAdmin\", \"members\": [ \"user:mike@example.com\", \"group:admins@example.com\", \"domain:google.com\", \"serviceAccount:my-project-id@appspot.gserviceaccount.com\" ] }, { \"role\": \"roles/resourcemanager.organizationViewer\", \"members\": [ \"user:eve@example.com\" ], \"condition\": { \"title\": \"expirable access\", \"description\": \"Does not grant access after Sep 2020\", \"expression\": \"request.time < timestamp('2020-10-01T00:00:00.000Z')\", } } ], \"etag\": \"BwWWja0YfJA=\", \"version\": 3 } ``` **YAML example:** ``` bindings: - members: - user:mike@example.com - group:admins@example.com - domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.com role: roles/resourcemanager.organizationViewer condition: title: expirable access description: Does not grant access after Sep 2020 expression: request.time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 ``` For a description of IAM and its features, see the [IAM documentation](https://cloud.google.com/iam/docs/).", +"id": "Policy", +"properties": { +"auditConfigs": { +"description": "Specifies cloud audit logging configuration for this policy.", +"items": { +"$ref": "AuditConfig" +}, +"type": "array" +}, +"bindings": { +"description": "Associates a list of `members`, or principals, with a `role`. Optionally, may specify a `condition` that determines how and when the `bindings` are applied. Each of the `bindings` must contain at least one principal. The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250 of these principals can be Google groups. Each occurrence of a principal counts towards these limits. For example, if the `bindings` grant 50 different roles to `user:alice@example.com`, and not to any other principal, then you can add another 1,450 principals to the `bindings` in the `Policy`.", +"items": { +"$ref": "Binding" +}, +"type": "array" +}, +"etag": { +"description": "`etag` is used for optimistic concurrency control as a way to help prevent simultaneous updates of a policy from overwriting each other. It is strongly suggested that systems make use of the `etag` in the read-modify-write cycle to perform policy updates in order to avoid race conditions: An `etag` is returned in the response to `getIamPolicy`, and systems are expected to put that etag in the request to `setIamPolicy` to ensure that their change will be applied to the same version of the policy. **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost.", +"format": "byte", +"type": "string" +}, +"version": { +"description": "Specifies the format of the policy. Valid values are `0`, `1`, and `3`. Requests that specify an invalid value are rejected. Any operation that affects conditional role bindings must specify version `3`. This requirement applies to the following operations: * Getting a policy that includes a conditional role binding * Adding a conditional role binding to a policy * Changing a conditional role binding in a policy * Removing any role binding, with or without a condition, from a policy that includes conditions **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost. If a policy does not include any conditions, operations on that policy may specify any valid version or leave the field unset. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"PricingExpression": { +"description": "Expresses a mathematical pricing formula. For Example:- `usage_unit: GBy` `tiered_rates:` `[start_usage_amount: 20, unit_price: $10]` `[start_usage_amount: 100, unit_price: $5]` The above expresses a pricing formula where the first 20GB is free, the next 80GB is priced at $10 per GB followed by $5 per GB for additional usage.", +"id": "PricingExpression", +"properties": { +"baseUnit": { +"description": "The base unit for the SKU which is the unit used in usage exports. Example: \"By\"", +"type": "string" +}, +"baseUnitConversionFactor": { +"description": "Conversion factor for converting from price per usage_unit to price per base_unit, and start_usage_amount to start_usage_amount in base_unit. unit_price / base_unit_conversion_factor = price per base_unit. start_usage_amount * base_unit_conversion_factor = start_usage_amount in base_unit.", +"format": "double", +"type": "number" +}, +"baseUnitDescription": { +"description": "The base unit in human readable form. Example: \"byte\".", +"type": "string" +}, +"displayQuantity": { +"description": "The recommended quantity of units for displaying pricing info. When displaying pricing info it is recommended to display: (unit_price * display_quantity) per display_quantity usage_unit. This field does not affect the pricing formula and is for display purposes only. Example: If the unit_price is \"0.0001 USD\", the usage_unit is \"GB\" and the display_quantity is \"1000\" then the recommended way of displaying the pricing info is \"0.10 USD per 1000 GB\"", +"format": "double", +"type": "number" +}, +"tieredRates": { +"description": "The list of tiered rates for this pricing. The total cost is computed by applying each of the tiered rates on usage. This repeated list is sorted by ascending order of start_usage_amount.", +"items": { +"$ref": "TierRate" +}, +"type": "array" +}, +"usageUnit": { +"description": "The short hand for unit of usage this pricing is specified in. Example: usage_unit of \"GiBy\" means that usage is specified in \"Gibi Byte\".", +"type": "string" +}, +"usageUnitDescription": { +"description": "The unit of usage in human readable form. Example: \"gibi byte\".", +"type": "string" +} +}, +"type": "object" +}, +"PricingInfo": { +"description": "Represents the pricing information for a SKU at a single point of time.", +"id": "PricingInfo", +"properties": { +"aggregationInfo": { +"$ref": "AggregationInfo", +"description": "Aggregation Info. This can be left unspecified if the pricing expression doesn't require aggregation." +}, +"currencyConversionRate": { +"description": "Conversion rate used for currency conversion, from USD to the currency specified in the request. This includes any surcharge collected for billing in non USD currency. If a currency is not specified in the request this defaults to 1.0. Example: USD * currency_conversion_rate = JPY", +"format": "double", +"type": "number" +}, +"effectiveTime": { +"description": "The timestamp from which this pricing was effective within the requested time range. This is guaranteed to be greater than or equal to the start_time field in the request and less than the end_time field in the request. If a time range was not specified in the request this field will be equivalent to a time within the last 12 hours, indicating the latest pricing info.", +"format": "google-datetime", +"type": "string" +}, +"pricingExpression": { +"$ref": "PricingExpression", +"description": "Expresses the pricing formula. See `PricingExpression` for an example." +}, +"summary": { +"description": "An optional human readable summary of the pricing information, has a maximum length of 256 characters.", +"type": "string" +} +}, +"type": "object" +}, +"ProjectBillingInfo": { +"description": "Encapsulation of billing information for a Google Cloud Console project. A project has at most one associated billing account at a time (but a billing account can be assigned to multiple projects).", +"id": "ProjectBillingInfo", +"properties": { +"billingAccountName": { +"description": "The resource name of the billing account associated with the project, if any. For example, `billingAccounts/012345-567890-ABCDEF`.", +"type": "string" +}, +"billingEnabled": { +"description": "Output only. True if the project is associated with an open billing account, to which usage on the project is charged. False if the project is associated with a closed billing account, or no billing account at all, and therefore cannot use paid services.", +"readOnly": true, +"type": "boolean" +}, +"name": { +"description": "Output only. The resource name for the `ProjectBillingInfo`; has the form `projects/{project_id}/billingInfo`. For example, the resource name for the billing information for project `tokyo-rain-123` would be `projects/tokyo-rain-123/billingInfo`.", +"readOnly": true, +"type": "string" +}, +"projectId": { +"description": "Output only. The ID of the project that this `ProjectBillingInfo` represents, such as `tokyo-rain-123`. This is a convenience field so that you don't need to parse the `name` field to obtain a project ID.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"Service": { +"description": "Encapsulates a single service in Google Cloud Platform.", +"id": "Service", +"properties": { +"businessEntityName": { +"description": "The business under which the service is offered. Ex. \"businessEntities/GCP\", \"businessEntities/Maps\"", +"type": "string" +}, +"displayName": { +"description": "A human readable display name for this service.", +"type": "string" +}, +"name": { +"description": "The resource name for the service. Example: \"services/6F81-5844-456A\"", +"type": "string" +}, +"serviceId": { +"description": "The identifier for the service. Example: \"6F81-5844-456A\"", +"type": "string" +} +}, +"type": "object" +}, +"SetIamPolicyRequest": { +"description": "Request message for `SetIamPolicy` method.", +"id": "SetIamPolicyRequest", +"properties": { +"policy": { +"$ref": "Policy", +"description": "REQUIRED: The complete policy to be applied to the `resource`. The size of the policy is limited to a few 10s of KB. An empty policy is a valid policy but certain Google Cloud services (such as Projects) might reject them." +}, +"updateMask": { +"description": "OPTIONAL: A FieldMask specifying which fields of the policy to modify. Only the fields in the mask will be modified. If no mask is provided, the following default mask is used: `paths: \"bindings, etag\"`", +"format": "google-fieldmask", +"type": "string" +} +}, +"type": "object" +}, +"Sku": { +"description": "Encapsulates a single SKU in Google Cloud", +"id": "Sku", +"properties": { +"category": { +"$ref": "Category", +"description": "The category hierarchy of this SKU, purely for organizational purpose." +}, +"description": { +"description": "A human readable description of the SKU, has a maximum length of 256 characters.", +"type": "string" +}, +"geoTaxonomy": { +"$ref": "GeoTaxonomy", +"description": "The geographic taxonomy for this sku." +}, +"name": { +"description": "The resource name for the SKU. Example: \"services/6F81-5844-456A/skus/D041-B8A1-6E0B\"", +"type": "string" +}, +"pricingInfo": { +"description": "A timeline of pricing info for this SKU in chronological order.", +"items": { +"$ref": "PricingInfo" +}, +"type": "array" +}, +"serviceProviderName": { +"description": "Identifies the service provider. This is 'Google' for first party services in Google Cloud Platform.", +"type": "string" +}, +"serviceRegions": { +"description": "List of service regions this SKU is offered at. Example: \"asia-east1\" Service regions can be found at https://cloud.google.com/about/locations/", +"items": { +"type": "string" +}, +"type": "array" +}, +"skuId": { +"description": "The identifier for the SKU. Example: \"D041-B8A1-6E0B\"", +"type": "string" +} +}, +"type": "object" +}, +"TestIamPermissionsRequest": { +"description": "Request message for `TestIamPermissions` method.", +"id": "TestIamPermissionsRequest", +"properties": { +"permissions": { +"description": "The set of permissions to check for the `resource`. Permissions with wildcards (such as `*` or `storage.*`) are not allowed. For more information see [IAM Overview](https://cloud.google.com/iam/docs/overview#permissions).", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"TestIamPermissionsResponse": { +"description": "Response message for `TestIamPermissions` method.", +"id": "TestIamPermissionsResponse", +"properties": { +"permissions": { +"description": "A subset of `TestPermissionsRequest.permissions` that the caller is allowed.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"TierRate": { +"description": "The price rate indicating starting usage and its corresponding price.", +"id": "TierRate", +"properties": { +"startUsageAmount": { +"description": "Usage is priced at this rate only after this amount. Example: start_usage_amount of 10 indicates that the usage will be priced at the unit_price after the first 10 usage_units.", +"format": "double", +"type": "number" +}, +"unitPrice": { +"$ref": "Money", +"description": "The price per unit of usage. Example: unit_price of amount $10 indicates that each unit will cost $10." +} +}, +"type": "object" +} +}, +"servicePath": "", +"title": "Cloud Billing API", +"version": "v1" +} \ No newline at end of file diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/cloudbuild.v1alpha2.json b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/cloudbuild.v1alpha2.json new file mode 100644 index 0000000000000000000000000000000000000000..df9964cb4f00a65bb54e652557bf1aea692347dd --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/cloudbuild.v1alpha2.json @@ -0,0 +1,2406 @@ +{ + "auth": { + "oauth2": { + "scopes": { + "https://www.googleapis.com/auth/cloud-platform": { + "description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." + } + } + } + }, + "basePath": "", + "baseUrl": "https://cloudbuild.googleapis.com/", + "batchPath": "batch", + "canonicalName": "Cloud Build", + "description": "Creates and manages builds on Google Cloud Platform.", + "discoveryVersion": "v1", + "documentationLink": "https://cloud.google.com/cloud-build/docs/", + "fullyEncodeReservedExpansion": true, + "icons": { + "x16": "http://www.google.com/images/icons/product/search-16.gif", + "x32": "http://www.google.com/images/icons/product/search-32.gif" + }, + "id": "cloudbuild:v1alpha2", + "kind": "discovery#restDescription", + "mtlsRootUrl": "https://cloudbuild.mtls.googleapis.com/", + "name": "cloudbuild", + "ownerDomain": "google.com", + "ownerName": "Google", + "parameters": { + "$.xgafv": { + "description": "V1 error format.", + "enum": [ + "1", + "2" + ], + "enumDescriptions": [ + "v1 error format", + "v2 error format" + ], + "location": "query", + "type": "string" + }, + "access_token": { + "description": "OAuth access token.", + "location": "query", + "type": "string" + }, + "alt": { + "default": "json", + "description": "Data format for response.", + "enum": [ + "json", + "media", + "proto" + ], + "enumDescriptions": [ + "Responses with Content-Type of application/json", + "Media download with context-dependent Content-Type", + "Responses with Content-Type of application/x-protobuf" + ], + "location": "query", + "type": "string" + }, + "callback": { + "description": "JSONP", + "location": "query", + "type": "string" + }, + "fields": { + "description": "Selector specifying which fields to include in a partial response.", + "location": "query", + "type": "string" + }, + "key": { + "description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", + "location": "query", + "type": "string" + }, + "oauth_token": { + "description": "OAuth 2.0 token for the current user.", + "location": "query", + "type": "string" + }, + "prettyPrint": { + "default": "true", + "description": "Returns response with indentations and line breaks.", + "location": "query", + "type": "boolean" + }, + "quotaUser": { + "description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.", + "location": "query", + "type": "string" + }, + "uploadType": { + "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", + "location": "query", + "type": "string" + }, + "upload_protocol": { + "description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", + "location": "query", + "type": "string" + } + }, + "protocol": "rest", + "resources": { + "projects": { + "resources": { + "locations": { + "resources": { + "operations": { + "methods": { + "cancel": { + "description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.", + "flatPath": "v1alpha2/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}:cancel", + "httpMethod": "POST", + "id": "cloudbuild.projects.locations.operations.cancel", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "The name of the operation resource to be cancelled.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1alpha2/{+name}:cancel", + "request": { + "$ref": "CancelOperationRequest" + }, + "response": { + "$ref": "Empty" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "get": { + "description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", + "flatPath": "v1alpha2/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}", + "httpMethod": "GET", + "id": "cloudbuild.projects.locations.operations.get", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "The name of the operation resource.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1alpha2/{+name}", + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + } + } + } + } + }, + "workerPools": { + "methods": { + "create": { + "description": "Creates a `WorkerPool` to run the builds, and returns the new worker pool.", + "flatPath": "v1alpha2/projects/{projectsId}/workerPools", + "httpMethod": "POST", + "id": "cloudbuild.projects.workerPools.create", + "parameterOrder": [ + "parent" + ], + "parameters": { + "parent": { + "description": "Required. The parent resource where this book will be created. Format: projects/{project}", + "location": "path", + "pattern": "^projects/[^/]+$", + "required": true, + "type": "string" + }, + "workerPoolId": { + "description": "Required. Immutable. The ID to use for the `WorkerPool`, which will become the final component of the resource name. This value should be 1-63 characters, and valid characters are /a-z-/.", + "location": "query", + "type": "string" + } + }, + "path": "v1alpha2/{+parent}/workerPools", + "request": { + "$ref": "WorkerPool" + }, + "response": { + "$ref": "WorkerPool" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "delete": { + "description": "Deletes a `WorkerPool`.", + "flatPath": "v1alpha2/projects/{projectsId}/workerPools/{workerPoolsId}", + "httpMethod": "DELETE", + "id": "cloudbuild.projects.workerPools.delete", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. The name of the `WorkerPool` to delete. Format: projects/{project}/workerPools/{workerPool}", + "location": "path", + "pattern": "^projects/[^/]+/workerPools/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1alpha2/{+name}", + "response": { + "$ref": "Empty" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "get": { + "description": "Returns details of a `WorkerPool`.", + "flatPath": "v1alpha2/projects/{projectsId}/workerPools/{workerPoolsId}", + "httpMethod": "GET", + "id": "cloudbuild.projects.workerPools.get", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. The name of the `WorkerPool` to retrieve. Format: projects/{project}/workerPools/{workerPool}", + "location": "path", + "pattern": "^projects/[^/]+/workerPools/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1alpha2/{+name}", + "response": { + "$ref": "WorkerPool" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "list": { + "description": "Lists `WorkerPool`s by project.", + "flatPath": "v1alpha2/projects/{projectsId}/workerPools", + "httpMethod": "GET", + "id": "cloudbuild.projects.workerPools.list", + "parameterOrder": [ + "parent" + ], + "parameters": { + "parent": { + "description": "Required. The parent, which owns this collection of `WorkerPools`. Format: projects/{project}", + "location": "path", + "pattern": "^projects/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1alpha2/{+parent}/workerPools", + "response": { + "$ref": "ListWorkerPoolsResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "patch": { + "description": "Updates a `WorkerPool`.", + "flatPath": "v1alpha2/projects/{projectsId}/workerPools/{workerPoolsId}", + "httpMethod": "PATCH", + "id": "cloudbuild.projects.workerPools.patch", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Output only. The resource name of the `WorkerPool`. Format of the name is `projects/{project_id}/workerPools/{worker_pool_id}`, where the value of {worker_pool_id} is provided in the CreateWorkerPool request.", + "location": "path", + "pattern": "^projects/[^/]+/workerPools/[^/]+$", + "required": true, + "type": "string" + }, + "updateMask": { + "description": "A mask specifying which fields in `WorkerPool` should be updated.", + "format": "google-fieldmask", + "location": "query", + "type": "string" + } + }, + "path": "v1alpha2/{+name}", + "request": { + "$ref": "WorkerPool" + }, + "response": { + "$ref": "WorkerPool" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + } + } + } + } + } + }, + "revision": "20230102", + "rootUrl": "https://cloudbuild.googleapis.com/", + "schemas": { + "ApprovalConfig": { + "description": "ApprovalConfig describes configuration for manual approval of a build.", + "id": "ApprovalConfig", + "properties": { + "approvalRequired": { + "description": "Whether or not approval is needed. If this is set on a build, it will become pending when created, and will need to be explicitly approved to start.", + "type": "boolean" + } + }, + "type": "object" + }, + "ApprovalResult": { + "description": "ApprovalResult describes the decision and associated metadata of a manual approval of a build.", + "id": "ApprovalResult", + "properties": { + "approvalTime": { + "description": "Output only. The time when the approval decision was made.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + }, + "approverAccount": { + "description": "Output only. Email of the user that called the ApproveBuild API to approve or reject a build at the time that the API was called.", + "readOnly": true, + "type": "string" + }, + "comment": { + "description": "Optional. An optional comment for this manual approval result.", + "type": "string" + }, + "decision": { + "description": "Required. The decision of this manual approval.", + "enum": [ + "DECISION_UNSPECIFIED", + "APPROVED", + "REJECTED" + ], + "enumDescriptions": [ + "Default enum type. This should not be used.", + "Build is approved.", + "Build is rejected." + ], + "type": "string" + }, + "url": { + "description": "Optional. An optional URL tied to this manual approval result. This field is essentially the same as comment, except that it will be rendered by the UI differently. An example use case is a link to an external job that approved this Build.", + "type": "string" + } + }, + "type": "object" + }, + "ArtifactObjects": { + "description": "Files in the workspace to upload to Cloud Storage upon successful completion of all build steps.", + "id": "ArtifactObjects", + "properties": { + "location": { + "description": "Cloud Storage bucket and optional object path, in the form \"gs://bucket/path/to/somewhere/\". (see [Bucket Name Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)). Files in the workspace matching any path pattern will be uploaded to Cloud Storage with this location as a prefix.", + "type": "string" + }, + "paths": { + "description": "Path globs used to match files in the build's workspace.", + "items": { + "type": "string" + }, + "type": "array" + }, + "timing": { + "$ref": "TimeSpan", + "description": "Output only. Stores timing information for pushing all artifact objects.", + "readOnly": true + } + }, + "type": "object" + }, + "ArtifactResult": { + "description": "An artifact that was uploaded during a build. This is a single record in the artifact manifest JSON file.", + "id": "ArtifactResult", + "properties": { + "fileHash": { + "description": "The file hash of the artifact.", + "items": { + "$ref": "FileHashes" + }, + "type": "array" + }, + "location": { + "description": "The path of an artifact in a Google Cloud Storage bucket, with the generation number. For example, `gs://mybucket/path/to/output.jar#generation`.", + "type": "string" + } + }, + "type": "object" + }, + "Artifacts": { + "description": "Artifacts produced by a build that should be uploaded upon successful completion of all build steps.", + "id": "Artifacts", + "properties": { + "images": { + "description": "A list of images to be pushed upon the successful completion of all build steps. The images will be pushed using the builder service account's credentials. The digests of the pushed images will be stored in the Build resource's results field. If any of the images fail to be pushed, the build is marked FAILURE.", + "items": { + "type": "string" + }, + "type": "array" + }, + "mavenArtifacts": { + "description": "A list of Maven artifacts to be uploaded to Artifact Registry upon successful completion of all build steps. Artifacts in the workspace matching specified paths globs will be uploaded to the specified Artifact Registry repository using the builder service account's credentials. If any artifacts fail to be pushed, the build is marked FAILURE.", + "items": { + "$ref": "MavenArtifact" + }, + "type": "array" + }, + "objects": { + "$ref": "ArtifactObjects", + "description": "A list of objects to be uploaded to Cloud Storage upon successful completion of all build steps. Files in the workspace matching specified paths globs will be uploaded to the specified Cloud Storage location using the builder service account's credentials. The location and generation of the uploaded objects will be stored in the Build resource's results field. If any objects fail to be pushed, the build is marked FAILURE." + }, + "pythonPackages": { + "description": "A list of Python packages to be uploaded to Artifact Registry upon successful completion of all build steps. The build service account credentials will be used to perform the upload. If any objects fail to be pushed, the build is marked FAILURE.", + "items": { + "$ref": "PythonPackage" + }, + "type": "array" + } + }, + "type": "object" + }, + "BatchCreateBitbucketServerConnectedRepositoriesResponse": { + "description": "Response of BatchCreateBitbucketServerConnectedRepositories RPC method including all successfully connected Bitbucket Server repositories.", + "id": "BatchCreateBitbucketServerConnectedRepositoriesResponse", + "properties": { + "bitbucketServerConnectedRepositories": { + "description": "The connected Bitbucket Server repositories.", + "items": { + "$ref": "BitbucketServerConnectedRepository" + }, + "type": "array" + } + }, + "type": "object" + }, + "BatchCreateBitbucketServerConnectedRepositoriesResponseMetadata": { + "description": "Metadata for `BatchCreateBitbucketServerConnectedRepositories` operation.", + "id": "BatchCreateBitbucketServerConnectedRepositoriesResponseMetadata", + "properties": { + "completeTime": { + "description": "Time the operation was completed.", + "format": "google-datetime", + "type": "string" + }, + "config": { + "description": "The name of the `BitbucketServerConfig` that added connected repositories. Format: `projects/{project}/locations/{location}/bitbucketServerConfigs/{config}`", + "type": "string" + }, + "createTime": { + "description": "Time the operation was created.", + "format": "google-datetime", + "type": "string" + } + }, + "type": "object" + }, + "BatchCreateGitLabConnectedRepositoriesResponse": { + "description": "Response of BatchCreateGitLabConnectedRepositories RPC method.", + "id": "BatchCreateGitLabConnectedRepositoriesResponse", + "properties": { + "gitlabConnectedRepositories": { + "description": "The GitLab connected repository requests' responses.", + "items": { + "$ref": "GitLabConnectedRepository" + }, + "type": "array" + } + }, + "type": "object" + }, + "BatchCreateGitLabConnectedRepositoriesResponseMetadata": { + "description": "Metadata for `BatchCreateGitLabConnectedRepositories` operation.", + "id": "BatchCreateGitLabConnectedRepositoriesResponseMetadata", + "properties": { + "completeTime": { + "description": "Time the operation was completed.", + "format": "google-datetime", + "type": "string" + }, + "config": { + "description": "The name of the `GitLabConfig` that added connected repositories. Format: `projects/{project}/locations/{location}/gitLabConfigs/{config}`", + "type": "string" + }, + "createTime": { + "description": "Time the operation was created.", + "format": "google-datetime", + "type": "string" + } + }, + "type": "object" + }, + "BatchCreateRepositoriesResponse": { + "description": "Message for response of creating repositories in batch.", + "id": "BatchCreateRepositoriesResponse", + "properties": { + "repositories": { + "description": "Repository resources created.", + "items": { + "$ref": "Repository" + }, + "type": "array" + } + }, + "type": "object" + }, + "BitbucketServerConnectedRepository": { + "description": "/ BitbucketServerConnectedRepository represents a connected Bitbucket Server / repository.", + "id": "BitbucketServerConnectedRepository", + "properties": { + "parent": { + "description": "The name of the `BitbucketServerConfig` that added connected repository. Format: `projects/{project}/locations/{location}/bitbucketServerConfigs/{config}`", + "type": "string" + }, + "repo": { + "$ref": "BitbucketServerRepositoryId", + "description": "The Bitbucket Server repositories to connect." + }, + "status": { + "$ref": "Status", + "description": "Output only. The status of the repo connection request.", + "readOnly": true + } + }, + "type": "object" + }, + "BitbucketServerRepositoryId": { + "description": "BitbucketServerRepositoryId identifies a specific repository hosted on a Bitbucket Server.", + "id": "BitbucketServerRepositoryId", + "properties": { + "projectKey": { + "description": "Required. Identifier for the project storing the repository.", + "type": "string" + }, + "repoSlug": { + "description": "Required. Identifier for the repository.", + "type": "string" + }, + "webhookId": { + "description": "Output only. The ID of the webhook that was created for receiving events from this repo. We only create and manage a single webhook for each repo.", + "format": "int32", + "readOnly": true, + "type": "integer" + } + }, + "type": "object" + }, + "Build": { + "description": "A build resource in the Cloud Build API. At a high level, a `Build` describes where to find source code, how to build it (for example, the builder image to run on the source), and where to store the built artifacts. Fields can include the following variables, which will be expanded when the build is created: - $PROJECT_ID: the project ID of the build. - $PROJECT_NUMBER: the project number of the build. - $LOCATION: the location/region of the build. - $BUILD_ID: the autogenerated ID of the build. - $REPO_NAME: the source repository name specified by RepoSource. - $BRANCH_NAME: the branch name specified by RepoSource. - $TAG_NAME: the tag name specified by RepoSource. - $REVISION_ID or $COMMIT_SHA: the commit SHA specified by RepoSource or resolved from the specified branch or tag. - $SHORT_SHA: first 7 characters of $REVISION_ID or $COMMIT_SHA.", + "id": "Build", + "properties": { + "approval": { + "$ref": "BuildApproval", + "description": "Output only. Describes this build's approval configuration, status, and result.", + "readOnly": true + }, + "artifacts": { + "$ref": "Artifacts", + "description": "Artifacts produced by the build that should be uploaded upon successful completion of all build steps." + }, + "availableSecrets": { + "$ref": "Secrets", + "description": "Secrets and secret environment variables." + }, + "buildTriggerId": { + "description": "Output only. The ID of the `BuildTrigger` that triggered this build, if it was triggered automatically.", + "readOnly": true, + "type": "string" + }, + "createTime": { + "description": "Output only. Time at which the request to create the build was received.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + }, + "failureInfo": { + "$ref": "FailureInfo", + "description": "Output only. Contains information about the build when status=FAILURE.", + "readOnly": true + }, + "finishTime": { + "description": "Output only. Time at which execution of the build was finished. The difference between finish_time and start_time is the duration of the build's execution.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + }, + "id": { + "description": "Output only. Unique identifier of the build.", + "readOnly": true, + "type": "string" + }, + "images": { + "description": "A list of images to be pushed upon the successful completion of all build steps. The images are pushed using the builder service account's credentials. The digests of the pushed images will be stored in the `Build` resource's results field. If any of the images fail to be pushed, the build status is marked `FAILURE`.", + "items": { + "type": "string" + }, + "type": "array" + }, + "logUrl": { + "description": "Output only. URL to logs for this build in Google Cloud Console.", + "readOnly": true, + "type": "string" + }, + "logsBucket": { + "description": "Google Cloud Storage bucket where logs should be written (see [Bucket Name Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)). Logs file names will be of the format `${logs_bucket}/log-${build_id}.txt`.", + "type": "string" + }, + "name": { + "description": "Output only. The 'Build' name with format: `projects/{project}/locations/{location}/builds/{build}`, where {build} is a unique identifier generated by the service.", + "readOnly": true, + "type": "string" + }, + "options": { + "$ref": "BuildOptions", + "description": "Special options for this build." + }, + "projectId": { + "description": "Output only. ID of the project.", + "readOnly": true, + "type": "string" + }, + "queueTtl": { + "description": "TTL in queue for this build. If provided and the build is enqueued longer than this value, the build will expire and the build status will be `EXPIRED`. The TTL starts ticking from create_time.", + "format": "google-duration", + "type": "string" + }, + "results": { + "$ref": "Results", + "description": "Output only. Results of the build.", + "readOnly": true + }, + "secrets": { + "description": "Secrets to decrypt using Cloud Key Management Service. Note: Secret Manager is the recommended technique for managing sensitive data with Cloud Build. Use `available_secrets` to configure builds to access secrets from Secret Manager. For instructions, see: https://cloud.google.com/cloud-build/docs/securing-builds/use-secrets", + "items": { + "$ref": "Secret" + }, + "type": "array" + }, + "serviceAccount": { + "description": "IAM service account whose credentials will be used at build runtime. Must be of the format `projects/{PROJECT_ID}/serviceAccounts/{ACCOUNT}`. ACCOUNT can be email address or uniqueId of the service account. ", + "type": "string" + }, + "source": { + "$ref": "Source", + "description": "The location of the source files to build." + }, + "sourceProvenance": { + "$ref": "SourceProvenance", + "description": "Output only. A permanent fixed identifier for source.", + "readOnly": true + }, + "startTime": { + "description": "Output only. Time at which execution of the build was started.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + }, + "status": { + "description": "Output only. Status of the build.", + "enum": [ + "STATUS_UNKNOWN", + "PENDING", + "QUEUED", + "WORKING", + "SUCCESS", + "FAILURE", + "INTERNAL_ERROR", + "TIMEOUT", + "CANCELLED", + "EXPIRED" + ], + "enumDescriptions": [ + "Status of the build is unknown.", + "Build has been created and is pending execution and queuing. It has not been queued.", + "Build or step is queued; work has not yet begun.", + "Build or step is being executed.", + "Build or step finished successfully.", + "Build or step failed to complete successfully.", + "Build or step failed due to an internal cause.", + "Build or step took longer than was allowed.", + "Build or step was canceled by a user.", + "Build was enqueued for longer than the value of `queue_ttl`." + ], + "readOnly": true, + "type": "string" + }, + "statusDetail": { + "description": "Output only. Customer-readable message about the current status.", + "readOnly": true, + "type": "string" + }, + "steps": { + "description": "Required. The operations to be performed on the workspace.", + "items": { + "$ref": "BuildStep" + }, + "type": "array" + }, + "substitutions": { + "additionalProperties": { + "type": "string" + }, + "description": "Substitutions data for `Build` resource.", + "type": "object" + }, + "tags": { + "description": "Tags for annotation of a `Build`. These are not docker tags.", + "items": { + "type": "string" + }, + "type": "array" + }, + "timeout": { + "description": "Amount of time that this build should be allowed to run, to second granularity. If this amount of time elapses, work on the build will cease and the build status will be `TIMEOUT`. `timeout` starts ticking from `startTime`. Default time is ten minutes.", + "format": "google-duration", + "type": "string" + }, + "timing": { + "additionalProperties": { + "$ref": "TimeSpan" + }, + "description": "Output only. Stores timing information for phases of the build. Valid keys are: * BUILD: time to execute all build steps. * PUSH: time to push all artifacts including docker images and non docker artifacts. * FETCHSOURCE: time to fetch source. * SETUPBUILD: time to set up build. If the build does not specify source or images, these keys will not be included.", + "readOnly": true, + "type": "object" + }, + "warnings": { + "description": "Output only. Non-fatal problems encountered during the execution of the build.", + "items": { + "$ref": "Warning" + }, + "readOnly": true, + "type": "array" + } + }, + "type": "object" + }, + "BuildApproval": { + "description": "BuildApproval describes a build's approval configuration, state, and result.", + "id": "BuildApproval", + "properties": { + "config": { + "$ref": "ApprovalConfig", + "description": "Output only. Configuration for manual approval of this build.", + "readOnly": true + }, + "result": { + "$ref": "ApprovalResult", + "description": "Output only. Result of manual approval for this Build.", + "readOnly": true + }, + "state": { + "description": "Output only. The state of this build's approval.", + "enum": [ + "STATE_UNSPECIFIED", + "PENDING", + "APPROVED", + "REJECTED", + "CANCELLED" + ], + "enumDescriptions": [ + "Default enum type. This should not be used.", + "Build approval is pending.", + "Build approval has been approved.", + "Build approval has been rejected.", + "Build was cancelled while it was still pending approval." + ], + "readOnly": true, + "type": "string" + } + }, + "type": "object" + }, + "BuildOperationMetadata": { + "description": "Metadata for build operations.", + "id": "BuildOperationMetadata", + "properties": { + "build": { + "$ref": "Build", + "description": "The build that the operation is tracking." + } + }, + "type": "object" + }, + "BuildOptions": { + "description": "Optional arguments to enable specific features of builds.", + "id": "BuildOptions", + "properties": { + "diskSizeGb": { + "description": "Requested disk size for the VM that runs the build. Note that this is *NOT* \"disk free\"; some of the space will be used by the operating system and build utilities. Also note that this is the minimum disk size that will be allocated for the build -- the build may run with a larger disk than requested. At present, the maximum disk size is 2000GB; builds that request more than the maximum are rejected with an error.", + "format": "int64", + "type": "string" + }, + "dynamicSubstitutions": { + "description": "Option to specify whether or not to apply bash style string operations to the substitutions. NOTE: this is always enabled for triggered builds and cannot be overridden in the build configuration file.", + "type": "boolean" + }, + "env": { + "description": "A list of global environment variable definitions that will exist for all build steps in this build. If a variable is defined in both globally and in a build step, the variable will use the build step value. The elements are of the form \"KEY=VALUE\" for the environment variable \"KEY\" being given the value \"VALUE\".", + "items": { + "type": "string" + }, + "type": "array" + }, + "logStreamingOption": { + "description": "Option to define build log streaming behavior to Google Cloud Storage.", + "enum": [ + "STREAM_DEFAULT", + "STREAM_ON", + "STREAM_OFF" + ], + "enumDescriptions": [ + "Service may automatically determine build log streaming behavior.", + "Build logs should be streamed to Google Cloud Storage.", + "Build logs should not be streamed to Google Cloud Storage; they will be written when the build is completed." + ], + "type": "string" + }, + "logging": { + "description": "Option to specify the logging mode, which determines if and where build logs are stored.", + "enum": [ + "LOGGING_UNSPECIFIED", + "LEGACY", + "GCS_ONLY", + "STACKDRIVER_ONLY", + "CLOUD_LOGGING_ONLY", + "NONE" + ], + "enumDescriptions": [ + "The service determines the logging mode. The default is `LEGACY`. Do not rely on the default logging behavior as it may change in the future.", + "Build logs are stored in Cloud Logging and Cloud Storage.", + "Build logs are stored in Cloud Storage.", + "This option is the same as CLOUD_LOGGING_ONLY.", + "Build logs are stored in Cloud Logging. Selecting this option will not allow [logs streaming](https://cloud.google.com/sdk/gcloud/reference/builds/log).", + "Turn off all logging. No build logs will be captured." + ], + "type": "string" + }, + "machineType": { + "description": "Compute Engine machine type on which to run the build.", + "enum": [ + "UNSPECIFIED", + "N1_HIGHCPU_8", + "N1_HIGHCPU_32", + "E2_HIGHCPU_8", + "E2_HIGHCPU_32" + ], + "enumDescriptions": [ + "Standard machine type.", + "Highcpu machine with 8 CPUs.", + "Highcpu machine with 32 CPUs.", + "Highcpu e2 machine with 8 CPUs.", + "Highcpu e2 machine with 32 CPUs." + ], + "type": "string" + }, + "pool": { + "$ref": "PoolOption", + "description": "Optional. Specification for execution on a `WorkerPool`. See [running builds in a private pool](https://cloud.google.com/build/docs/private-pools/run-builds-in-private-pool) for more information." + }, + "requestedVerifyOption": { + "description": "Requested verifiability options.", + "enum": [ + "NOT_VERIFIED", + "VERIFIED" + ], + "enumDescriptions": [ + "Not a verifiable build (the default).", + "Build must be verified." + ], + "type": "string" + }, + "secretEnv": { + "description": "A list of global environment variables, which are encrypted using a Cloud Key Management Service crypto key. These values must be specified in the build's `Secret`. These variables will be available to all build steps in this build.", + "items": { + "type": "string" + }, + "type": "array" + }, + "sourceProvenanceHash": { + "description": "Requested hash for SourceProvenance.", + "items": { + "enum": [ + "NONE", + "SHA256", + "MD5" + ], + "enumDescriptions": [ + "No hash requested.", + "Use a sha256 hash.", + "Use a md5 hash." + ], + "type": "string" + }, + "type": "array" + }, + "substitutionOption": { + "description": "Option to specify behavior when there is an error in the substitution checks. NOTE: this is always set to ALLOW_LOOSE for triggered builds and cannot be overridden in the build configuration file.", + "enum": [ + "MUST_MATCH", + "ALLOW_LOOSE" + ], + "enumDescriptions": [ + "Fails the build if error in substitutions checks, like missing a substitution in the template or in the map.", + "Do not fail the build if error in substitutions checks." + ], + "type": "string" + }, + "volumes": { + "description": "Global list of volumes to mount for ALL build steps Each volume is created as an empty volume prior to starting the build process. Upon completion of the build, volumes and their contents are discarded. Global volume names and paths cannot conflict with the volumes defined a build step. Using a global volume in a build with only one step is not valid as it is indicative of a build request with an incorrect configuration.", + "items": { + "$ref": "Volume" + }, + "type": "array" + }, + "workerPool": { + "description": "This field deprecated; please use `pool.name` instead.", + "type": "string" + } + }, + "type": "object" + }, + "BuildStep": { + "description": "A step in the build pipeline.", + "id": "BuildStep", + "properties": { + "allowExitCodes": { + "description": "Allow this build step to fail without failing the entire build if and only if the exit code is one of the specified codes. If allow_failure is also specified, this field will take precedence.", + "items": { + "format": "int32", + "type": "integer" + }, + "type": "array" + }, + "allowFailure": { + "description": "Allow this build step to fail without failing the entire build. If false, the entire build will fail if this step fails. Otherwise, the build will succeed, but this step will still have a failure status. Error information will be reported in the failure_detail field.", + "type": "boolean" + }, + "args": { + "description": "A list of arguments that will be presented to the step when it is started. If the image used to run the step's container has an entrypoint, the `args` are used as arguments to that entrypoint. If the image does not define an entrypoint, the first element in args is used as the entrypoint, and the remainder will be used as arguments.", + "items": { + "type": "string" + }, + "type": "array" + }, + "dir": { + "description": "Working directory to use when running this step's container. If this value is a relative path, it is relative to the build's working directory. If this value is absolute, it may be outside the build's working directory, in which case the contents of the path may not be persisted across build step executions, unless a `volume` for that path is specified. If the build specifies a `RepoSource` with `dir` and a step with a `dir`, which specifies an absolute path, the `RepoSource` `dir` is ignored for the step's execution.", + "type": "string" + }, + "entrypoint": { + "description": "Entrypoint to be used instead of the build step image's default entrypoint. If unset, the image's default entrypoint is used.", + "type": "string" + }, + "env": { + "description": "A list of environment variable definitions to be used when running a step. The elements are of the form \"KEY=VALUE\" for the environment variable \"KEY\" being given the value \"VALUE\".", + "items": { + "type": "string" + }, + "type": "array" + }, + "exitCode": { + "description": "Output only. Return code from running the step.", + "format": "int32", + "readOnly": true, + "type": "integer" + }, + "id": { + "description": "Unique identifier for this build step, used in `wait_for` to reference this build step as a dependency.", + "type": "string" + }, + "name": { + "description": "Required. The name of the container image that will run this particular build step. If the image is available in the host's Docker daemon's cache, it will be run directly. If not, the host will attempt to pull the image first, using the builder service account's credentials if necessary. The Docker daemon's cache will already have the latest versions of all of the officially supported build steps ([https://github.com/GoogleCloudPlatform/cloud-builders](https://github.com/GoogleCloudPlatform/cloud-builders)). The Docker daemon will also have cached many of the layers for some popular images, like \"ubuntu\", \"debian\", but they will be refreshed at the time you attempt to use them. If you built an image in a previous build step, it will be stored in the host's Docker daemon's cache and is available to use as the name for a later build step.", + "type": "string" + }, + "pullTiming": { + "$ref": "TimeSpan", + "description": "Output only. Stores timing information for pulling this build step's builder image only.", + "readOnly": true + }, + "script": { + "description": "A shell script to be executed in the step. When script is provided, the user cannot specify the entrypoint or args.", + "type": "string" + }, + "secretEnv": { + "description": "A list of environment variables which are encrypted using a Cloud Key Management Service crypto key. These values must be specified in the build's `Secret`.", + "items": { + "type": "string" + }, + "type": "array" + }, + "status": { + "description": "Output only. Status of the build step. At this time, build step status is only updated on build completion; step status is not updated in real-time as the build progresses.", + "enum": [ + "STATUS_UNKNOWN", + "PENDING", + "QUEUED", + "WORKING", + "SUCCESS", + "FAILURE", + "INTERNAL_ERROR", + "TIMEOUT", + "CANCELLED", + "EXPIRED" + ], + "enumDescriptions": [ + "Status of the build is unknown.", + "Build has been created and is pending execution and queuing. It has not been queued.", + "Build or step is queued; work has not yet begun.", + "Build or step is being executed.", + "Build or step finished successfully.", + "Build or step failed to complete successfully.", + "Build or step failed due to an internal cause.", + "Build or step took longer than was allowed.", + "Build or step was canceled by a user.", + "Build was enqueued for longer than the value of `queue_ttl`." + ], + "readOnly": true, + "type": "string" + }, + "timeout": { + "description": "Time limit for executing this build step. If not defined, the step has no time limit and will be allowed to continue to run until either it completes or the build itself times out.", + "format": "google-duration", + "type": "string" + }, + "timing": { + "$ref": "TimeSpan", + "description": "Output only. Stores timing information for executing this build step.", + "readOnly": true + }, + "volumes": { + "description": "List of volumes to mount into the build step. Each volume is created as an empty volume prior to execution of the build step. Upon completion of the build, volumes and their contents are discarded. Using a named volume in only one step is not valid as it is indicative of a build request with an incorrect configuration.", + "items": { + "$ref": "Volume" + }, + "type": "array" + }, + "waitFor": { + "description": "The ID(s) of the step(s) that this build step depends on. This build step will not start until all the build steps in `wait_for` have completed successfully. If `wait_for` is empty, this build step will start when all previous build steps in the `Build.Steps` list have completed successfully.", + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "BuiltImage": { + "description": "An image built by the pipeline.", + "id": "BuiltImage", + "properties": { + "digest": { + "description": "Docker Registry 2.0 digest.", + "type": "string" + }, + "name": { + "description": "Name used to push the container image to Google Container Registry, as presented to `docker push`.", + "type": "string" + }, + "pushTiming": { + "$ref": "TimeSpan", + "description": "Output only. Stores timing information for pushing the specified image.", + "readOnly": true + } + }, + "type": "object" + }, + "CancelOperationRequest": { + "description": "The request message for Operations.CancelOperation.", + "id": "CancelOperationRequest", + "properties": {}, + "type": "object" + }, + "CreateBitbucketServerConfigOperationMetadata": { + "description": "Metadata for `CreateBitbucketServerConfig` operation.", + "id": "CreateBitbucketServerConfigOperationMetadata", + "properties": { + "bitbucketServerConfig": { + "description": "The resource name of the BitbucketServerConfig to be created. Format: `projects/{project}/locations/{location}/bitbucketServerConfigs/{id}`.", + "type": "string" + }, + "completeTime": { + "description": "Time the operation was completed.", + "format": "google-datetime", + "type": "string" + }, + "createTime": { + "description": "Time the operation was created.", + "format": "google-datetime", + "type": "string" + } + }, + "type": "object" + }, + "CreateGitHubEnterpriseConfigOperationMetadata": { + "description": "Metadata for `CreateGithubEnterpriseConfig` operation.", + "id": "CreateGitHubEnterpriseConfigOperationMetadata", + "properties": { + "completeTime": { + "description": "Time the operation was completed.", + "format": "google-datetime", + "type": "string" + }, + "createTime": { + "description": "Time the operation was created.", + "format": "google-datetime", + "type": "string" + }, + "githubEnterpriseConfig": { + "description": "The resource name of the GitHubEnterprise to be created. Format: `projects/{project}/locations/{location}/githubEnterpriseConfigs/{id}`.", + "type": "string" + } + }, + "type": "object" + }, + "CreateGitLabConfigOperationMetadata": { + "description": "Metadata for `CreateGitLabConfig` operation.", + "id": "CreateGitLabConfigOperationMetadata", + "properties": { + "completeTime": { + "description": "Time the operation was completed.", + "format": "google-datetime", + "type": "string" + }, + "createTime": { + "description": "Time the operation was created.", + "format": "google-datetime", + "type": "string" + }, + "gitlabConfig": { + "description": "The resource name of the GitLabConfig to be created. Format: `projects/{project}/locations/{location}/gitlabConfigs/{id}`.", + "type": "string" + } + }, + "type": "object" + }, + "CreateWorkerPoolOperationMetadata": { + "description": "Metadata for the `CreateWorkerPool` operation.", + "id": "CreateWorkerPoolOperationMetadata", + "properties": { + "completeTime": { + "description": "Time the operation was completed.", + "format": "google-datetime", + "type": "string" + }, + "createTime": { + "description": "Time the operation was created.", + "format": "google-datetime", + "type": "string" + }, + "workerPool": { + "description": "The resource name of the `WorkerPool` to create. Format: `projects/{project}/locations/{location}/workerPools/{worker_pool}`.", + "type": "string" + } + }, + "type": "object" + }, + "DeleteBitbucketServerConfigOperationMetadata": { + "description": "Metadata for `DeleteBitbucketServerConfig` operation.", + "id": "DeleteBitbucketServerConfigOperationMetadata", + "properties": { + "bitbucketServerConfig": { + "description": "The resource name of the BitbucketServerConfig to be deleted. Format: `projects/{project}/locations/{location}/bitbucketServerConfigs/{id}`.", + "type": "string" + }, + "completeTime": { + "description": "Time the operation was completed.", + "format": "google-datetime", + "type": "string" + }, + "createTime": { + "description": "Time the operation was created.", + "format": "google-datetime", + "type": "string" + } + }, + "type": "object" + }, + "DeleteGitHubEnterpriseConfigOperationMetadata": { + "description": "Metadata for `DeleteGitHubEnterpriseConfig` operation.", + "id": "DeleteGitHubEnterpriseConfigOperationMetadata", + "properties": { + "completeTime": { + "description": "Time the operation was completed.", + "format": "google-datetime", + "type": "string" + }, + "createTime": { + "description": "Time the operation was created.", + "format": "google-datetime", + "type": "string" + }, + "githubEnterpriseConfig": { + "description": "The resource name of the GitHubEnterprise to be deleted. Format: `projects/{project}/locations/{location}/githubEnterpriseConfigs/{id}`.", + "type": "string" + } + }, + "type": "object" + }, + "DeleteGitLabConfigOperationMetadata": { + "description": "Metadata for `DeleteGitLabConfig` operation.", + "id": "DeleteGitLabConfigOperationMetadata", + "properties": { + "completeTime": { + "description": "Time the operation was completed.", + "format": "google-datetime", + "type": "string" + }, + "createTime": { + "description": "Time the operation was created.", + "format": "google-datetime", + "type": "string" + }, + "gitlabConfig": { + "description": "The resource name of the GitLabConfig to be created. Format: `projects/{project}/locations/{location}/gitlabConfigs/{id}`.", + "type": "string" + } + }, + "type": "object" + }, + "DeleteWorkerPoolOperationMetadata": { + "description": "Metadata for the `DeleteWorkerPool` operation.", + "id": "DeleteWorkerPoolOperationMetadata", + "properties": { + "completeTime": { + "description": "Time the operation was completed.", + "format": "google-datetime", + "type": "string" + }, + "createTime": { + "description": "Time the operation was created.", + "format": "google-datetime", + "type": "string" + }, + "workerPool": { + "description": "The resource name of the `WorkerPool` being deleted. Format: `projects/{project}/locations/{location}/workerPools/{worker_pool}`.", + "type": "string" + } + }, + "type": "object" + }, + "Empty": { + "description": "A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }", + "id": "Empty", + "properties": {}, + "type": "object" + }, + "FailureInfo": { + "description": "A fatal problem encountered during the execution of the build.", + "id": "FailureInfo", + "properties": { + "detail": { + "description": "Explains the failure issue in more detail using hard-coded text.", + "type": "string" + }, + "type": { + "description": "The name of the failure.", + "enum": [ + "FAILURE_TYPE_UNSPECIFIED", + "PUSH_FAILED", + "PUSH_IMAGE_NOT_FOUND", + "PUSH_NOT_AUTHORIZED", + "LOGGING_FAILURE", + "USER_BUILD_STEP", + "FETCH_SOURCE_FAILED" + ], + "enumDescriptions": [ + "Type unspecified", + "Unable to push the image to the repository.", + "Final image not found.", + "Unauthorized push of the final image.", + "Backend logging failures. Should retry.", + "A build step has failed.", + "The source fetching has failed." + ], + "type": "string" + } + }, + "type": "object" + }, + "FileHashes": { + "description": "Container message for hashes of byte content of files, used in SourceProvenance messages to verify integrity of source input to the build.", + "id": "FileHashes", + "properties": { + "fileHash": { + "description": "Collection of file hashes.", + "items": { + "$ref": "Hash" + }, + "type": "array" + } + }, + "type": "object" + }, + "GitLabConnectedRepository": { + "description": "GitLabConnectedRepository represents a GitLab connected repository request response.", + "id": "GitLabConnectedRepository", + "properties": { + "parent": { + "description": "The name of the `GitLabConfig` that added connected repository. Format: `projects/{project}/locations/{location}/gitLabConfigs/{config}`", + "type": "string" + }, + "repo": { + "$ref": "GitLabRepositoryId", + "description": "The GitLab repositories to connect." + }, + "status": { + "$ref": "Status", + "description": "Output only. The status of the repo connection request.", + "readOnly": true + } + }, + "type": "object" + }, + "GitLabRepositoryId": { + "description": "GitLabRepositoryId identifies a specific repository hosted on GitLab.com or GitLabEnterprise", + "id": "GitLabRepositoryId", + "properties": { + "id": { + "description": "Required. Identifier for the repository. example: \"namespace/project-slug\", namespace is usually the username or group ID", + "type": "string" + }, + "webhookId": { + "description": "Output only. The ID of the webhook that was created for receiving events from this repo. We only create and manage a single webhook for each repo.", + "format": "int32", + "readOnly": true, + "type": "integer" + } + }, + "type": "object" + }, + "GoogleDevtoolsCloudbuildV2OperationMetadata": { + "description": "Represents the metadata of the long-running operation.", + "id": "GoogleDevtoolsCloudbuildV2OperationMetadata", + "properties": { + "apiVersion": { + "description": "Output only. API version used to start the operation.", + "readOnly": true, + "type": "string" + }, + "createTime": { + "description": "Output only. The time the operation was created.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + }, + "endTime": { + "description": "Output only. The time the operation finished running.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + }, + "requestedCancellation": { + "description": "Output only. Identifies whether the user has requested cancellation of the operation. Operations that have successfully been cancelled have Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.", + "readOnly": true, + "type": "boolean" + }, + "statusMessage": { + "description": "Output only. Human-readable status of the operation, if any.", + "readOnly": true, + "type": "string" + }, + "target": { + "description": "Output only. Server-defined resource path for the target of the operation.", + "readOnly": true, + "type": "string" + }, + "verb": { + "description": "Output only. Name of the verb executed by the operation.", + "readOnly": true, + "type": "string" + } + }, + "type": "object" + }, + "HTTPDelivery": { + "description": "HTTPDelivery is the delivery configuration for an HTTP notification.", + "id": "HTTPDelivery", + "properties": { + "uri": { + "description": "The URI to which JSON-containing HTTP POST requests should be sent.", + "type": "string" + } + }, + "type": "object" + }, + "Hash": { + "description": "Container message for hash values.", + "id": "Hash", + "properties": { + "type": { + "description": "The type of hash that was performed.", + "enum": [ + "NONE", + "SHA256", + "MD5" + ], + "enumDescriptions": [ + "No hash requested.", + "Use a sha256 hash.", + "Use a md5 hash." + ], + "type": "string" + }, + "value": { + "description": "The hash value.", + "format": "byte", + "type": "string" + } + }, + "type": "object" + }, + "InlineSecret": { + "description": "Pairs a set of secret environment variables mapped to encrypted values with the Cloud KMS key to use to decrypt the value.", + "id": "InlineSecret", + "properties": { + "envMap": { + "additionalProperties": { + "format": "byte", + "type": "string" + }, + "description": "Map of environment variable name to its encrypted value. Secret environment variables must be unique across all of a build's secrets, and must be used by at least one build step. Values can be at most 64 KB in size. There can be at most 100 secret values across all of a build's secrets.", + "type": "object" + }, + "kmsKeyName": { + "description": "Resource name of Cloud KMS crypto key to decrypt the encrypted value. In format: projects/*/locations/*/keyRings/*/cryptoKeys/*", + "type": "string" + } + }, + "type": "object" + }, + "ListWorkerPoolsResponse": { + "description": "Response containing existing `WorkerPools`.", + "id": "ListWorkerPoolsResponse", + "properties": { + "workerPools": { + "description": "`WorkerPools` for the specified project.", + "items": { + "$ref": "WorkerPool" + }, + "type": "array" + } + }, + "type": "object" + }, + "MavenArtifact": { + "description": "A Maven artifact to upload to Artifact Registry upon successful completion of all build steps.", + "id": "MavenArtifact", + "properties": { + "artifactId": { + "description": "Maven `artifactId` value used when uploading the artifact to Artifact Registry.", + "type": "string" + }, + "groupId": { + "description": "Maven `groupId` value used when uploading the artifact to Artifact Registry.", + "type": "string" + }, + "path": { + "description": "Path to an artifact in the build's workspace to be uploaded to Artifact Registry. This can be either an absolute path, e.g. /workspace/my-app/target/my-app-1.0.SNAPSHOT.jar or a relative path from /workspace, e.g. my-app/target/my-app-1.0.SNAPSHOT.jar.", + "type": "string" + }, + "repository": { + "description": "Artifact Registry repository, in the form \"https://$REGION-maven.pkg.dev/$PROJECT/$REPOSITORY\" Artifact in the workspace specified by path will be uploaded to Artifact Registry with this location as a prefix.", + "type": "string" + }, + "version": { + "description": "Maven `version` value used when uploading the artifact to Artifact Registry.", + "type": "string" + } + }, + "type": "object" + }, + "NetworkConfig": { + "description": "Network describes the network configuration for a `WorkerPool`.", + "id": "NetworkConfig", + "properties": { + "peeredNetwork": { + "description": "Required. Immutable. The network definition that the workers are peered to. If this section is left empty, the workers will be peered to WorkerPool.project_id on the default network. Must be in the format `projects/{project}/global/networks/{network}`, where {project} is a project number, such as `12345`, and {network} is the name of a VPC network in the project.", + "type": "string" + } + }, + "type": "object" + }, + "Notification": { + "description": "Notification is the container which holds the data that is relevant to this particular notification.", + "id": "Notification", + "properties": { + "filter": { + "description": "The filter string to use for notification filtering. Currently, this is assumed to be a CEL program. See https://opensource.google/projects/cel for more.", + "type": "string" + }, + "httpDelivery": { + "$ref": "HTTPDelivery", + "description": "Configuration for HTTP delivery." + }, + "slackDelivery": { + "$ref": "SlackDelivery", + "description": "Configuration for Slack delivery." + }, + "smtpDelivery": { + "$ref": "SMTPDelivery", + "description": "Configuration for SMTP (email) delivery." + }, + "structDelivery": { + "additionalProperties": { + "description": "Properties of the object.", + "type": "any" + }, + "description": "Escape hatch for users to supply custom delivery configs.", + "type": "object" + } + }, + "type": "object" + }, + "NotifierConfig": { + "description": "NotifierConfig is the top-level configuration message.", + "id": "NotifierConfig", + "properties": { + "apiVersion": { + "description": "The API version of this configuration format.", + "type": "string" + }, + "kind": { + "description": "The type of notifier to use (e.g. SMTPNotifier).", + "type": "string" + }, + "metadata": { + "$ref": "NotifierMetadata", + "description": "Metadata for referring to/handling/deploying this notifier." + }, + "spec": { + "$ref": "NotifierSpec", + "description": "The actual configuration for this notifier." + } + }, + "type": "object" + }, + "NotifierMetadata": { + "description": "NotifierMetadata contains the data which can be used to reference or describe this notifier.", + "id": "NotifierMetadata", + "properties": { + "name": { + "description": "The human-readable and user-given name for the notifier. For example: \"repo-merge-email-notifier\".", + "type": "string" + }, + "notifier": { + "description": "The string representing the name and version of notifier to deploy. Expected to be of the form of \"/:\". For example: \"gcr.io/my-project/notifiers/smtp:1.2.34\".", + "type": "string" + } + }, + "type": "object" + }, + "NotifierSecret": { + "description": "NotifierSecret is the container that maps a secret name (reference) to its Google Cloud Secret Manager resource path.", + "id": "NotifierSecret", + "properties": { + "name": { + "description": "Name is the local name of the secret, such as the verbatim string \"my-smtp-password\".", + "type": "string" + }, + "value": { + "description": "Value is interpreted to be a resource path for fetching the actual (versioned) secret data for this secret. For example, this would be a Google Cloud Secret Manager secret version resource path like: \"projects/my-project/secrets/my-secret/versions/latest\".", + "type": "string" + } + }, + "type": "object" + }, + "NotifierSecretRef": { + "description": "NotifierSecretRef contains the reference to a secret stored in the corresponding NotifierSpec.", + "id": "NotifierSecretRef", + "properties": { + "secretRef": { + "description": "The value of `secret_ref` should be a `name` that is registered in a `Secret` in the `secrets` list of the `Spec`.", + "type": "string" + } + }, + "type": "object" + }, + "NotifierSpec": { + "description": "NotifierSpec is the configuration container for notifications.", + "id": "NotifierSpec", + "properties": { + "notification": { + "$ref": "Notification", + "description": "The configuration of this particular notifier." + }, + "secrets": { + "description": "Configurations for secret resources used by this particular notifier.", + "items": { + "$ref": "NotifierSecret" + }, + "type": "array" + } + }, + "type": "object" + }, + "Operation": { + "description": "This resource represents a long-running operation that is the result of a network API call.", + "id": "Operation", + "properties": { + "done": { + "description": "If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.", + "type": "boolean" + }, + "error": { + "$ref": "Status", + "description": "The error result of the operation in case of failure or cancellation." + }, + "metadata": { + "additionalProperties": { + "description": "Properties of the object. Contains field @type with type URL.", + "type": "any" + }, + "description": "Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.", + "type": "object" + }, + "name": { + "description": "The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.", + "type": "string" + }, + "response": { + "additionalProperties": { + "description": "Properties of the object. Contains field @type with type URL.", + "type": "any" + }, + "description": "The normal response of the operation in case of success. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.", + "type": "object" + } + }, + "type": "object" + }, + "OperationMetadata": { + "description": "Represents the metadata of the long-running operation.", + "id": "OperationMetadata", + "properties": { + "apiVersion": { + "description": "Output only. API version used to start the operation.", + "readOnly": true, + "type": "string" + }, + "cancelRequested": { + "description": "Output only. Identifies whether the user has requested cancellation of the operation. Operations that have been cancelled successfully have Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.", + "readOnly": true, + "type": "boolean" + }, + "createTime": { + "description": "Output only. The time the operation was created.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + }, + "endTime": { + "description": "Output only. The time the operation finished running.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + }, + "statusDetail": { + "description": "Output only. Human-readable status of the operation, if any.", + "readOnly": true, + "type": "string" + }, + "target": { + "description": "Output only. Server-defined resource path for the target of the operation.", + "readOnly": true, + "type": "string" + }, + "verb": { + "description": "Output only. Name of the verb executed by the operation.", + "readOnly": true, + "type": "string" + } + }, + "type": "object" + }, + "PoolOption": { + "description": "Details about how a build should be executed on a `WorkerPool`. See [running builds in a private pool](https://cloud.google.com/build/docs/private-pools/run-builds-in-private-pool) for more information.", + "id": "PoolOption", + "properties": { + "name": { + "description": "The `WorkerPool` resource to execute the build on. You must have `cloudbuild.workerpools.use` on the project hosting the WorkerPool. Format projects/{project}/locations/{location}/workerPools/{workerPoolId}", + "type": "string" + } + }, + "type": "object" + }, + "ProcessAppManifestCallbackOperationMetadata": { + "description": "Metadata for `ProcessAppManifestCallback` operation.", + "id": "ProcessAppManifestCallbackOperationMetadata", + "properties": { + "completeTime": { + "description": "Time the operation was completed.", + "format": "google-datetime", + "type": "string" + }, + "createTime": { + "description": "Time the operation was created.", + "format": "google-datetime", + "type": "string" + }, + "githubEnterpriseConfig": { + "description": "The resource name of the GitHubEnterprise to be created. Format: `projects/{project}/locations/{location}/githubEnterpriseConfigs/{id}`.", + "type": "string" + } + }, + "type": "object" + }, + "PythonPackage": { + "description": "Python package to upload to Artifact Registry upon successful completion of all build steps. A package can encapsulate multiple objects to be uploaded to a single repository.", + "id": "PythonPackage", + "properties": { + "paths": { + "description": "Path globs used to match files in the build's workspace. For Python/ Twine, this is usually `dist/*`, and sometimes additionally an `.asc` file.", + "items": { + "type": "string" + }, + "type": "array" + }, + "repository": { + "description": "Artifact Registry repository, in the form \"https://$REGION-python.pkg.dev/$PROJECT/$REPOSITORY\" Files in the workspace matching any path pattern will be uploaded to Artifact Registry with this location as a prefix.", + "type": "string" + } + }, + "type": "object" + }, + "RepoSource": { + "description": "Location of the source in a Google Cloud Source Repository.", + "id": "RepoSource", + "properties": { + "branchName": { + "description": "Regex matching branches to build. The syntax of the regular expressions accepted is the syntax accepted by RE2 and described at https://github.com/google/re2/wiki/Syntax", + "type": "string" + }, + "commitSha": { + "description": "Explicit commit SHA to build.", + "type": "string" + }, + "dir": { + "description": "Directory, relative to the source root, in which to run the build. This must be a relative path. If a step's `dir` is specified and is an absolute path, this value is ignored for that step's execution.", + "type": "string" + }, + "invertRegex": { + "description": "Only trigger a build if the revision regex does NOT match the revision regex.", + "type": "boolean" + }, + "projectId": { + "description": "ID of the project that owns the Cloud Source Repository. If omitted, the project ID requesting the build is assumed.", + "type": "string" + }, + "repoName": { + "description": "Name of the Cloud Source Repository.", + "type": "string" + }, + "substitutions": { + "additionalProperties": { + "type": "string" + }, + "description": "Substitutions to use in a triggered build. Should only be used with RunBuildTrigger", + "type": "object" + }, + "tagName": { + "description": "Regex matching tags to build. The syntax of the regular expressions accepted is the syntax accepted by RE2 and described at https://github.com/google/re2/wiki/Syntax", + "type": "string" + } + }, + "type": "object" + }, + "Repository": { + "description": "A repository associated to a parent connection.", + "id": "Repository", + "properties": { + "annotations": { + "additionalProperties": { + "type": "string" + }, + "description": "Allows clients to store small amounts of arbitrary data.", + "type": "object" + }, + "createTime": { + "description": "Output only. Server assigned timestamp for when the connection was created.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + }, + "etag": { + "description": "This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.", + "type": "string" + }, + "name": { + "description": "Immutable. Resource name of the repository, in the format `projects/*/locations/*/connections/*/repositories/*`.", + "type": "string" + }, + "remoteUri": { + "description": "Required. Git Clone HTTPS URI.", + "type": "string" + }, + "updateTime": { + "description": "Output only. Server assigned timestamp for when the connection was updated.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + } + }, + "type": "object" + }, + "Results": { + "description": "Artifacts created by the build pipeline.", + "id": "Results", + "properties": { + "artifactManifest": { + "description": "Path to the artifact manifest for non-container artifacts uploaded to Cloud Storage. Only populated when artifacts are uploaded to Cloud Storage.", + "type": "string" + }, + "artifactTiming": { + "$ref": "TimeSpan", + "description": "Time to push all non-container artifacts to Cloud Storage." + }, + "buildStepImages": { + "description": "List of build step digests, in the order corresponding to build step indices.", + "items": { + "type": "string" + }, + "type": "array" + }, + "buildStepOutputs": { + "description": "List of build step outputs, produced by builder images, in the order corresponding to build step indices. [Cloud Builders](https://cloud.google.com/cloud-build/docs/cloud-builders) can produce this output by writing to `$BUILDER_OUTPUT/output`. Only the first 4KB of data is stored.", + "items": { + "format": "byte", + "type": "string" + }, + "type": "array" + }, + "images": { + "description": "Container images that were built as a part of the build.", + "items": { + "$ref": "BuiltImage" + }, + "type": "array" + }, + "mavenArtifacts": { + "description": "Maven artifacts uploaded to Artifact Registry at the end of the build.", + "items": { + "$ref": "UploadedMavenArtifact" + }, + "type": "array" + }, + "numArtifacts": { + "description": "Number of non-container artifacts uploaded to Cloud Storage. Only populated when artifacts are uploaded to Cloud Storage.", + "format": "int64", + "type": "string" + }, + "pythonPackages": { + "description": "Python artifacts uploaded to Artifact Registry at the end of the build.", + "items": { + "$ref": "UploadedPythonPackage" + }, + "type": "array" + } + }, + "type": "object" + }, + "RunWorkflowCustomOperationMetadata": { + "description": "Represents the custom metadata of the RunWorkflow long-running operation.", + "id": "RunWorkflowCustomOperationMetadata", + "properties": { + "apiVersion": { + "description": "Output only. API version used to start the operation.", + "readOnly": true, + "type": "string" + }, + "createTime": { + "description": "Output only. The time the operation was created.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + }, + "endTime": { + "description": "Output only. The time the operation finished running.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + }, + "pipelineRunId": { + "description": "Output only. ID of the pipeline run created by RunWorkflow.", + "readOnly": true, + "type": "string" + }, + "requestedCancellation": { + "description": "Output only. Identifies whether the user has requested cancellation of the operation. Operations that have successfully been cancelled have Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.", + "readOnly": true, + "type": "boolean" + }, + "target": { + "description": "Output only. Server-defined resource path for the target of the operation.", + "readOnly": true, + "type": "string" + }, + "verb": { + "description": "Output only. Name of the verb executed by the operation.", + "readOnly": true, + "type": "string" + } + }, + "type": "object" + }, + "SMTPDelivery": { + "description": "SMTPDelivery is the delivery configuration for an SMTP (email) notification.", + "id": "SMTPDelivery", + "properties": { + "fromAddress": { + "description": "This is the SMTP account/email that appears in the `From:` of the email. If empty, it is assumed to be sender.", + "type": "string" + }, + "password": { + "$ref": "NotifierSecretRef", + "description": "The SMTP sender's password." + }, + "port": { + "description": "The SMTP port of the server.", + "type": "string" + }, + "recipientAddresses": { + "description": "This is the list of addresses to which we send the email (i.e. in the `To:` of the email).", + "items": { + "type": "string" + }, + "type": "array" + }, + "senderAddress": { + "description": "This is the SMTP account/email that is used to send the message.", + "type": "string" + }, + "server": { + "description": "The address of the SMTP server.", + "type": "string" + } + }, + "type": "object" + }, + "Secret": { + "description": "Pairs a set of secret environment variables containing encrypted values with the Cloud KMS key to use to decrypt the value. Note: Use `kmsKeyName` with `available_secrets` instead of using `kmsKeyName` with `secret`. For instructions see: https://cloud.google.com/cloud-build/docs/securing-builds/use-encrypted-credentials.", + "id": "Secret", + "properties": { + "kmsKeyName": { + "description": "Cloud KMS key name to use to decrypt these envs.", + "type": "string" + }, + "secretEnv": { + "additionalProperties": { + "format": "byte", + "type": "string" + }, + "description": "Map of environment variable name to its encrypted value. Secret environment variables must be unique across all of a build's secrets, and must be used by at least one build step. Values can be at most 64 KB in size. There can be at most 100 secret values across all of a build's secrets.", + "type": "object" + } + }, + "type": "object" + }, + "SecretManagerSecret": { + "description": "Pairs a secret environment variable with a SecretVersion in Secret Manager.", + "id": "SecretManagerSecret", + "properties": { + "env": { + "description": "Environment variable name to associate with the secret. Secret environment variables must be unique across all of a build's secrets, and must be used by at least one build step.", + "type": "string" + }, + "versionName": { + "description": "Resource name of the SecretVersion. In format: projects/*/secrets/*/versions/*", + "type": "string" + } + }, + "type": "object" + }, + "Secrets": { + "description": "Secrets and secret environment variables.", + "id": "Secrets", + "properties": { + "inline": { + "description": "Secrets encrypted with KMS key and the associated secret environment variable.", + "items": { + "$ref": "InlineSecret" + }, + "type": "array" + }, + "secretManager": { + "description": "Secrets in Secret Manager and associated secret environment variable.", + "items": { + "$ref": "SecretManagerSecret" + }, + "type": "array" + } + }, + "type": "object" + }, + "SlackDelivery": { + "description": "SlackDelivery is the delivery configuration for delivering Slack messages via webhooks. See Slack webhook documentation at: https://api.slack.com/messaging/webhooks.", + "id": "SlackDelivery", + "properties": { + "webhookUri": { + "$ref": "NotifierSecretRef", + "description": "The secret reference for the Slack webhook URI for sending messages to a channel." + } + }, + "type": "object" + }, + "Source": { + "description": "Location of the source in a supported storage service.", + "id": "Source", + "properties": { + "repoSource": { + "$ref": "RepoSource", + "description": "If provided, get the source from this location in a Cloud Source Repository." + }, + "storageSource": { + "$ref": "StorageSource", + "description": "If provided, get the source from this location in Google Cloud Storage." + }, + "storageSourceManifest": { + "$ref": "StorageSourceManifest", + "description": "If provided, get the source from this manifest in Google Cloud Storage. This feature is in Preview; see description [here](https://github.com/GoogleCloudPlatform/cloud-builders/tree/master/gcs-fetcher)." + } + }, + "type": "object" + }, + "SourceProvenance": { + "description": "Provenance of the source. Ways to find the original source, or verify that some source was used for this build.", + "id": "SourceProvenance", + "properties": { + "fileHashes": { + "additionalProperties": { + "$ref": "FileHashes" + }, + "description": "Output only. Hash(es) of the build source, which can be used to verify that the original source integrity was maintained in the build. Note that `FileHashes` will only be populated if `BuildOptions` has requested a `SourceProvenanceHash`. The keys to this map are file paths used as build source and the values contain the hash values for those files. If the build source came in a single package such as a gzipped tarfile (`.tar.gz`), the `FileHash` will be for the single path to that file.", + "readOnly": true, + "type": "object" + }, + "resolvedRepoSource": { + "$ref": "RepoSource", + "description": "A copy of the build's `source.repo_source`, if exists, with any revisions resolved." + }, + "resolvedStorageSource": { + "$ref": "StorageSource", + "description": "A copy of the build's `source.storage_source`, if exists, with any generations resolved." + }, + "resolvedStorageSourceManifest": { + "$ref": "StorageSourceManifest", + "description": "A copy of the build's `source.storage_source_manifest`, if exists, with any revisions resolved. This feature is in Preview." + } + }, + "type": "object" + }, + "Status": { + "description": "The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors).", + "id": "Status", + "properties": { + "code": { + "description": "The status code, which should be an enum value of google.rpc.Code.", + "format": "int32", + "type": "integer" + }, + "details": { + "description": "A list of messages that carry the error details. There is a common set of message types for APIs to use.", + "items": { + "additionalProperties": { + "description": "Properties of the object. Contains field @type with type URL.", + "type": "any" + }, + "type": "object" + }, + "type": "array" + }, + "message": { + "description": "A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.", + "type": "string" + } + }, + "type": "object" + }, + "StorageSource": { + "description": "Location of the source in an archive file in Google Cloud Storage.", + "id": "StorageSource", + "properties": { + "bucket": { + "description": "Google Cloud Storage bucket containing the source (see [Bucket Name Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)).", + "type": "string" + }, + "generation": { + "description": "Google Cloud Storage generation for the object. If the generation is omitted, the latest generation will be used.", + "format": "int64", + "type": "string" + }, + "object": { + "description": "Google Cloud Storage object containing the source. This object must be a zipped (`.zip`) or gzipped archive file (`.tar.gz`) containing source to build.", + "type": "string" + } + }, + "type": "object" + }, + "StorageSourceManifest": { + "description": "Location of the source manifest in Google Cloud Storage. This feature is in Preview; see description [here](https://github.com/GoogleCloudPlatform/cloud-builders/tree/master/gcs-fetcher).", + "id": "StorageSourceManifest", + "properties": { + "bucket": { + "description": "Google Cloud Storage bucket containing the source manifest (see [Bucket Name Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)).", + "type": "string" + }, + "generation": { + "description": "Google Cloud Storage generation for the object. If the generation is omitted, the latest generation will be used.", + "format": "int64", + "type": "string" + }, + "object": { + "description": "Google Cloud Storage object containing the source manifest. This object must be a JSON file.", + "type": "string" + } + }, + "type": "object" + }, + "TimeSpan": { + "description": "Start and end times for a build execution phase.", + "id": "TimeSpan", + "properties": { + "endTime": { + "description": "End of time span.", + "format": "google-datetime", + "type": "string" + }, + "startTime": { + "description": "Start of time span.", + "format": "google-datetime", + "type": "string" + } + }, + "type": "object" + }, + "UpdateBitbucketServerConfigOperationMetadata": { + "description": "Metadata for `UpdateBitbucketServerConfig` operation.", + "id": "UpdateBitbucketServerConfigOperationMetadata", + "properties": { + "bitbucketServerConfig": { + "description": "The resource name of the BitbucketServerConfig to be updated. Format: `projects/{project}/locations/{location}/bitbucketServerConfigs/{id}`.", + "type": "string" + }, + "completeTime": { + "description": "Time the operation was completed.", + "format": "google-datetime", + "type": "string" + }, + "createTime": { + "description": "Time the operation was created.", + "format": "google-datetime", + "type": "string" + } + }, + "type": "object" + }, + "UpdateGitHubEnterpriseConfigOperationMetadata": { + "description": "Metadata for `UpdateGitHubEnterpriseConfig` operation.", + "id": "UpdateGitHubEnterpriseConfigOperationMetadata", + "properties": { + "completeTime": { + "description": "Time the operation was completed.", + "format": "google-datetime", + "type": "string" + }, + "createTime": { + "description": "Time the operation was created.", + "format": "google-datetime", + "type": "string" + }, + "githubEnterpriseConfig": { + "description": "The resource name of the GitHubEnterprise to be updated. Format: `projects/{project}/locations/{location}/githubEnterpriseConfigs/{id}`.", + "type": "string" + } + }, + "type": "object" + }, + "UpdateGitLabConfigOperationMetadata": { + "description": "Metadata for `UpdateGitLabConfig` operation.", + "id": "UpdateGitLabConfigOperationMetadata", + "properties": { + "completeTime": { + "description": "Time the operation was completed.", + "format": "google-datetime", + "type": "string" + }, + "createTime": { + "description": "Time the operation was created.", + "format": "google-datetime", + "type": "string" + }, + "gitlabConfig": { + "description": "The resource name of the GitLabConfig to be created. Format: `projects/{project}/locations/{location}/gitlabConfigs/{id}`.", + "type": "string" + } + }, + "type": "object" + }, + "UpdateWorkerPoolOperationMetadata": { + "description": "Metadata for the `UpdateWorkerPool` operation.", + "id": "UpdateWorkerPoolOperationMetadata", + "properties": { + "completeTime": { + "description": "Time the operation was completed.", + "format": "google-datetime", + "type": "string" + }, + "createTime": { + "description": "Time the operation was created.", + "format": "google-datetime", + "type": "string" + }, + "workerPool": { + "description": "The resource name of the `WorkerPool` being updated. Format: `projects/{project}/locations/{location}/workerPools/{worker_pool}`.", + "type": "string" + } + }, + "type": "object" + }, + "UploadedMavenArtifact": { + "description": "A Maven artifact uploaded using the MavenArtifact directive.", + "id": "UploadedMavenArtifact", + "properties": { + "fileHashes": { + "$ref": "FileHashes", + "description": "Hash types and values of the Maven Artifact." + }, + "pushTiming": { + "$ref": "TimeSpan", + "description": "Output only. Stores timing information for pushing the specified artifact.", + "readOnly": true + }, + "uri": { + "description": "URI of the uploaded artifact.", + "type": "string" + } + }, + "type": "object" + }, + "UploadedPythonPackage": { + "description": "Artifact uploaded using the PythonPackage directive.", + "id": "UploadedPythonPackage", + "properties": { + "fileHashes": { + "$ref": "FileHashes", + "description": "Hash types and values of the Python Artifact." + }, + "pushTiming": { + "$ref": "TimeSpan", + "description": "Output only. Stores timing information for pushing the specified artifact.", + "readOnly": true + }, + "uri": { + "description": "URI of the uploaded artifact.", + "type": "string" + } + }, + "type": "object" + }, + "Volume": { + "description": "Volume describes a Docker container volume which is mounted into build steps in order to persist files across build step execution.", + "id": "Volume", + "properties": { + "name": { + "description": "Name of the volume to mount. Volume names must be unique per build step and must be valid names for Docker volumes. Each named volume must be used by at least two build steps.", + "type": "string" + }, + "path": { + "description": "Path at which to mount the volume. Paths must be absolute and cannot conflict with other volume paths on the same build step or with certain reserved volume paths.", + "type": "string" + } + }, + "type": "object" + }, + "Warning": { + "description": "A non-fatal problem encountered during the execution of the build.", + "id": "Warning", + "properties": { + "priority": { + "description": "The priority for this warning.", + "enum": [ + "PRIORITY_UNSPECIFIED", + "INFO", + "WARNING", + "ALERT" + ], + "enumDescriptions": [ + "Should not be used.", + "e.g. deprecation warnings and alternative feature highlights.", + "e.g. automated detection of possible issues with the build.", + "e.g. alerts that a feature used in the build is pending removal" + ], + "type": "string" + }, + "text": { + "description": "Explanation of the warning generated.", + "type": "string" + } + }, + "type": "object" + }, + "WorkerConfig": { + "description": "WorkerConfig defines the configuration to be used for a creating workers in the pool.", + "id": "WorkerConfig", + "properties": { + "diskSizeGb": { + "description": "Size of the disk attached to the worker, in GB. See https://cloud.google.com/compute/docs/disks/ If `0` is specified, Cloud Build will use a standard disk size.", + "format": "int64", + "type": "string" + }, + "machineType": { + "description": "Machine Type of the worker, such as n1-standard-1. See https://cloud.google.com/compute/docs/machine-types. If left blank, Cloud Build will use a standard unspecified machine to create the worker pool.", + "type": "string" + } + }, + "type": "object" + }, + "WorkerPool": { + "description": "Configuration for a WorkerPool to run the builds. Workers are machines that Cloud Build uses to run your builds. By default, all workers run in a project owned by Cloud Build. To have full control over the workers that execute your builds -- such as enabling them to access private resources on your private network -- you can request Cloud Build to run the workers in your own project by creating a custom workers pool.", + "id": "WorkerPool", + "properties": { + "createTime": { + "description": "Output only. Time at which the request to create the `WorkerPool` was received.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + }, + "deleteTime": { + "description": "Output only. Time at which the request to delete the `WorkerPool` was received.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + }, + "name": { + "description": "Output only. The resource name of the `WorkerPool`. Format of the name is `projects/{project_id}/workerPools/{worker_pool_id}`, where the value of {worker_pool_id} is provided in the CreateWorkerPool request.", + "readOnly": true, + "type": "string" + }, + "networkConfig": { + "$ref": "NetworkConfig", + "description": "Network configuration for the `WorkerPool`." + }, + "region": { + "description": "Required. Immutable. The region where the `WorkerPool` runs. Only \"us-central1\" is currently supported. Note that `region` cannot be changed once the `WorkerPool` is created.", + "type": "string" + }, + "state": { + "description": "Output only. WorkerPool state.", + "enum": [ + "STATE_UNSPECIFIED", + "CREATING", + "RUNNING", + "DELETING", + "DELETED" + ], + "enumDescriptions": [ + "State of the `WorkerPool` is unknown.", + "`WorkerPool` is being created.", + "`WorkerPool` is running.", + "`WorkerPool` is being deleted: cancelling builds and draining workers.", + "`WorkerPool` is deleted." + ], + "readOnly": true, + "type": "string" + }, + "updateTime": { + "description": "Output only. Time at which the request to update the `WorkerPool` was received.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + }, + "workerConfig": { + "$ref": "WorkerConfig", + "description": "Worker configuration for the `WorkerPool`." + } + }, + "type": "object" + } + }, + "servicePath": "", + "title": "Cloud Build API", + "version": "v1alpha2", + "version_module": true +} \ No newline at end of file diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/cloudbuild.v1beta1.json b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/cloudbuild.v1beta1.json new file mode 100644 index 0000000000000000000000000000000000000000..7f3598d0b84948fed45533aff69fdef8cdcd1b92 --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/cloudbuild.v1beta1.json @@ -0,0 +1,2432 @@ +{ + "auth": { + "oauth2": { + "scopes": { + "https://www.googleapis.com/auth/cloud-platform": { + "description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." + } + } + } + }, + "basePath": "", + "baseUrl": "https://cloudbuild.googleapis.com/", + "batchPath": "batch", + "canonicalName": "Cloud Build", + "description": "Creates and manages builds on Google Cloud Platform.", + "discoveryVersion": "v1", + "documentationLink": "https://cloud.google.com/cloud-build/docs/", + "fullyEncodeReservedExpansion": true, + "icons": { + "x16": "http://www.google.com/images/icons/product/search-16.gif", + "x32": "http://www.google.com/images/icons/product/search-32.gif" + }, + "id": "cloudbuild:v1beta1", + "kind": "discovery#restDescription", + "mtlsRootUrl": "https://cloudbuild.mtls.googleapis.com/", + "name": "cloudbuild", + "ownerDomain": "google.com", + "ownerName": "Google", + "parameters": { + "$.xgafv": { + "description": "V1 error format.", + "enum": [ + "1", + "2" + ], + "enumDescriptions": [ + "v1 error format", + "v2 error format" + ], + "location": "query", + "type": "string" + }, + "access_token": { + "description": "OAuth access token.", + "location": "query", + "type": "string" + }, + "alt": { + "default": "json", + "description": "Data format for response.", + "enum": [ + "json", + "media", + "proto" + ], + "enumDescriptions": [ + "Responses with Content-Type of application/json", + "Media download with context-dependent Content-Type", + "Responses with Content-Type of application/x-protobuf" + ], + "location": "query", + "type": "string" + }, + "callback": { + "description": "JSONP", + "location": "query", + "type": "string" + }, + "fields": { + "description": "Selector specifying which fields to include in a partial response.", + "location": "query", + "type": "string" + }, + "key": { + "description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", + "location": "query", + "type": "string" + }, + "oauth_token": { + "description": "OAuth 2.0 token for the current user.", + "location": "query", + "type": "string" + }, + "prettyPrint": { + "default": "true", + "description": "Returns response with indentations and line breaks.", + "location": "query", + "type": "boolean" + }, + "quotaUser": { + "description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.", + "location": "query", + "type": "string" + }, + "uploadType": { + "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", + "location": "query", + "type": "string" + }, + "upload_protocol": { + "description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", + "location": "query", + "type": "string" + } + }, + "protocol": "rest", + "resources": { + "projects": { + "resources": { + "locations": { + "resources": { + "operations": { + "methods": { + "cancel": { + "description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.", + "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}:cancel", + "httpMethod": "POST", + "id": "cloudbuild.projects.locations.operations.cancel", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "The name of the operation resource to be cancelled.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1beta1/{+name}:cancel", + "request": { + "$ref": "CancelOperationRequest" + }, + "response": { + "$ref": "Empty" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "get": { + "description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", + "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}", + "httpMethod": "GET", + "id": "cloudbuild.projects.locations.operations.get", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "The name of the operation resource.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1beta1/{+name}", + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + } + } + }, + "workerPools": { + "methods": { + "create": { + "description": "Creates a `WorkerPool` to run the builds, and returns the new worker pool. NOTE: As of now, this method returns an `Operation` that is always complete.", + "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/workerPools", + "httpMethod": "POST", + "id": "cloudbuild.projects.locations.workerPools.create", + "parameterOrder": [ + "parent" + ], + "parameters": { + "parent": { + "description": "Required. The parent resource where this worker pool will be created. Format: `projects/{project}/locations/{location}`.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+$", + "required": true, + "type": "string" + }, + "workerPoolId": { + "description": "Required. Immutable. The ID to use for the `WorkerPool`, which will become the final component of the resource name. This value should be 1-63 characters, and valid characters are /a-z-/.", + "location": "query", + "type": "string" + } + }, + "path": "v1beta1/{+parent}/workerPools", + "request": { + "$ref": "WorkerPool" + }, + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "delete": { + "description": "Deletes a `WorkerPool`. NOTE: As of now, this method returns an `Operation` that is always complete.", + "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/workerPools/{workerPoolsId}", + "httpMethod": "DELETE", + "id": "cloudbuild.projects.locations.workerPools.delete", + "parameterOrder": [ + "name" + ], + "parameters": { + "etag": { + "description": "Optional. If this is provided, it must match the server's etag on the workerpool for the request to be processed.", + "location": "query", + "type": "string" + }, + "name": { + "description": "Required. The name of the `WorkerPool` to delete. Format: `projects/{project}/locations/{workerPool}/workerPools/{workerPool}`.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/workerPools/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1beta1/{+name}", + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "get": { + "description": "Returns details of a `WorkerPool`.", + "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/workerPools/{workerPoolsId}", + "httpMethod": "GET", + "id": "cloudbuild.projects.locations.workerPools.get", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. The name of the `WorkerPool` to retrieve. Format: `projects/{project}/locations/{location}/workerPools/{workerPool}`.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/workerPools/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1beta1/{+name}", + "response": { + "$ref": "WorkerPool" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "list": { + "description": "Lists `WorkerPool`s in the given project.", + "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/workerPools", + "httpMethod": "GET", + "id": "cloudbuild.projects.locations.workerPools.list", + "parameterOrder": [ + "parent" + ], + "parameters": { + "parent": { + "description": "Required. The parent of the collection of `WorkerPools`. Format: `projects/{project}/locations/location`.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1beta1/{+parent}/workerPools", + "response": { + "$ref": "ListWorkerPoolsResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "patch": { + "description": "Updates a `WorkerPool`. NOTE: As of now, this method returns an `Operation` that is always complete.", + "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/workerPools/{workerPoolsId}", + "httpMethod": "PATCH", + "id": "cloudbuild.projects.locations.workerPools.patch", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Output only. The resource name of the `WorkerPool`, with format `projects/{project}/locations/{location}/workerPools/{worker_pool}`. The value of `{worker_pool}` is provided by `worker_pool_id` in `CreateWorkerPool` request and the value of `{location}` is determined by the endpoint accessed.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/workerPools/[^/]+$", + "required": true, + "type": "string" + }, + "updateMask": { + "description": "A mask specifying which fields in `WorkerPool` to update.", + "format": "google-fieldmask", + "location": "query", + "type": "string" + } + }, + "path": "v1beta1/{+name}", + "request": { + "$ref": "WorkerPool" + }, + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + } + } + } + } + } + } + } + }, + "revision": "20230102", + "rootUrl": "https://cloudbuild.googleapis.com/", + "schemas": { + "ApprovalConfig": { + "description": "ApprovalConfig describes configuration for manual approval of a build.", + "id": "ApprovalConfig", + "properties": { + "approvalRequired": { + "description": "Whether or not approval is needed. If this is set on a build, it will become pending when created, and will need to be explicitly approved to start.", + "type": "boolean" + } + }, + "type": "object" + }, + "ApprovalResult": { + "description": "ApprovalResult describes the decision and associated metadata of a manual approval of a build.", + "id": "ApprovalResult", + "properties": { + "approvalTime": { + "description": "Output only. The time when the approval decision was made.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + }, + "approverAccount": { + "description": "Output only. Email of the user that called the ApproveBuild API to approve or reject a build at the time that the API was called.", + "readOnly": true, + "type": "string" + }, + "comment": { + "description": "Optional. An optional comment for this manual approval result.", + "type": "string" + }, + "decision": { + "description": "Required. The decision of this manual approval.", + "enum": [ + "DECISION_UNSPECIFIED", + "APPROVED", + "REJECTED" + ], + "enumDescriptions": [ + "Default enum type. This should not be used.", + "Build is approved.", + "Build is rejected." + ], + "type": "string" + }, + "url": { + "description": "Optional. An optional URL tied to this manual approval result. This field is essentially the same as comment, except that it will be rendered by the UI differently. An example use case is a link to an external job that approved this Build.", + "type": "string" + } + }, + "type": "object" + }, + "ArtifactObjects": { + "description": "Files in the workspace to upload to Cloud Storage upon successful completion of all build steps.", + "id": "ArtifactObjects", + "properties": { + "location": { + "description": "Cloud Storage bucket and optional object path, in the form \"gs://bucket/path/to/somewhere/\". (see [Bucket Name Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)). Files in the workspace matching any path pattern will be uploaded to Cloud Storage with this location as a prefix.", + "type": "string" + }, + "paths": { + "description": "Path globs used to match files in the build's workspace.", + "items": { + "type": "string" + }, + "type": "array" + }, + "timing": { + "$ref": "TimeSpan", + "description": "Output only. Stores timing information for pushing all artifact objects.", + "readOnly": true + } + }, + "type": "object" + }, + "ArtifactResult": { + "description": "An artifact that was uploaded during a build. This is a single record in the artifact manifest JSON file.", + "id": "ArtifactResult", + "properties": { + "fileHash": { + "description": "The file hash of the artifact.", + "items": { + "$ref": "FileHashes" + }, + "type": "array" + }, + "location": { + "description": "The path of an artifact in a Google Cloud Storage bucket, with the generation number. For example, `gs://mybucket/path/to/output.jar#generation`.", + "type": "string" + } + }, + "type": "object" + }, + "Artifacts": { + "description": "Artifacts produced by a build that should be uploaded upon successful completion of all build steps.", + "id": "Artifacts", + "properties": { + "images": { + "description": "A list of images to be pushed upon the successful completion of all build steps. The images will be pushed using the builder service account's credentials. The digests of the pushed images will be stored in the Build resource's results field. If any of the images fail to be pushed, the build is marked FAILURE.", + "items": { + "type": "string" + }, + "type": "array" + }, + "mavenArtifacts": { + "description": "A list of Maven artifacts to be uploaded to Artifact Registry upon successful completion of all build steps. Artifacts in the workspace matching specified paths globs will be uploaded to the specified Artifact Registry repository using the builder service account's credentials. If any artifacts fail to be pushed, the build is marked FAILURE.", + "items": { + "$ref": "MavenArtifact" + }, + "type": "array" + }, + "objects": { + "$ref": "ArtifactObjects", + "description": "A list of objects to be uploaded to Cloud Storage upon successful completion of all build steps. Files in the workspace matching specified paths globs will be uploaded to the specified Cloud Storage location using the builder service account's credentials. The location and generation of the uploaded objects will be stored in the Build resource's results field. If any objects fail to be pushed, the build is marked FAILURE." + }, + "pythonPackages": { + "description": "A list of Python packages to be uploaded to Artifact Registry upon successful completion of all build steps. The build service account credentials will be used to perform the upload. If any objects fail to be pushed, the build is marked FAILURE.", + "items": { + "$ref": "PythonPackage" + }, + "type": "array" + } + }, + "type": "object" + }, + "BatchCreateBitbucketServerConnectedRepositoriesResponse": { + "description": "Response of BatchCreateBitbucketServerConnectedRepositories RPC method including all successfully connected Bitbucket Server repositories.", + "id": "BatchCreateBitbucketServerConnectedRepositoriesResponse", + "properties": { + "bitbucketServerConnectedRepositories": { + "description": "The connected Bitbucket Server repositories.", + "items": { + "$ref": "BitbucketServerConnectedRepository" + }, + "type": "array" + } + }, + "type": "object" + }, + "BatchCreateBitbucketServerConnectedRepositoriesResponseMetadata": { + "description": "Metadata for `BatchCreateBitbucketServerConnectedRepositories` operation.", + "id": "BatchCreateBitbucketServerConnectedRepositoriesResponseMetadata", + "properties": { + "completeTime": { + "description": "Time the operation was completed.", + "format": "google-datetime", + "type": "string" + }, + "config": { + "description": "The name of the `BitbucketServerConfig` that added connected repositories. Format: `projects/{project}/locations/{location}/bitbucketServerConfigs/{config}`", + "type": "string" + }, + "createTime": { + "description": "Time the operation was created.", + "format": "google-datetime", + "type": "string" + } + }, + "type": "object" + }, + "BatchCreateGitLabConnectedRepositoriesResponse": { + "description": "Response of BatchCreateGitLabConnectedRepositories RPC method.", + "id": "BatchCreateGitLabConnectedRepositoriesResponse", + "properties": { + "gitlabConnectedRepositories": { + "description": "The GitLab connected repository requests' responses.", + "items": { + "$ref": "GitLabConnectedRepository" + }, + "type": "array" + } + }, + "type": "object" + }, + "BatchCreateGitLabConnectedRepositoriesResponseMetadata": { + "description": "Metadata for `BatchCreateGitLabConnectedRepositories` operation.", + "id": "BatchCreateGitLabConnectedRepositoriesResponseMetadata", + "properties": { + "completeTime": { + "description": "Time the operation was completed.", + "format": "google-datetime", + "type": "string" + }, + "config": { + "description": "The name of the `GitLabConfig` that added connected repositories. Format: `projects/{project}/locations/{location}/gitLabConfigs/{config}`", + "type": "string" + }, + "createTime": { + "description": "Time the operation was created.", + "format": "google-datetime", + "type": "string" + } + }, + "type": "object" + }, + "BatchCreateRepositoriesResponse": { + "description": "Message for response of creating repositories in batch.", + "id": "BatchCreateRepositoriesResponse", + "properties": { + "repositories": { + "description": "Repository resources created.", + "items": { + "$ref": "Repository" + }, + "type": "array" + } + }, + "type": "object" + }, + "BitbucketServerConnectedRepository": { + "description": "/ BitbucketServerConnectedRepository represents a connected Bitbucket Server / repository.", + "id": "BitbucketServerConnectedRepository", + "properties": { + "parent": { + "description": "The name of the `BitbucketServerConfig` that added connected repository. Format: `projects/{project}/locations/{location}/bitbucketServerConfigs/{config}`", + "type": "string" + }, + "repo": { + "$ref": "BitbucketServerRepositoryId", + "description": "The Bitbucket Server repositories to connect." + }, + "status": { + "$ref": "Status", + "description": "Output only. The status of the repo connection request.", + "readOnly": true + } + }, + "type": "object" + }, + "BitbucketServerRepositoryId": { + "description": "BitbucketServerRepositoryId identifies a specific repository hosted on a Bitbucket Server.", + "id": "BitbucketServerRepositoryId", + "properties": { + "projectKey": { + "description": "Required. Identifier for the project storing the repository.", + "type": "string" + }, + "repoSlug": { + "description": "Required. Identifier for the repository.", + "type": "string" + }, + "webhookId": { + "description": "Output only. The ID of the webhook that was created for receiving events from this repo. We only create and manage a single webhook for each repo.", + "format": "int32", + "readOnly": true, + "type": "integer" + } + }, + "type": "object" + }, + "Build": { + "description": "A build resource in the Cloud Build API. At a high level, a `Build` describes where to find source code, how to build it (for example, the builder image to run on the source), and where to store the built artifacts. Fields can include the following variables, which will be expanded when the build is created: - $PROJECT_ID: the project ID of the build. - $PROJECT_NUMBER: the project number of the build. - $LOCATION: the location/region of the build. - $BUILD_ID: the autogenerated ID of the build. - $REPO_NAME: the source repository name specified by RepoSource. - $BRANCH_NAME: the branch name specified by RepoSource. - $TAG_NAME: the tag name specified by RepoSource. - $REVISION_ID or $COMMIT_SHA: the commit SHA specified by RepoSource or resolved from the specified branch or tag. - $SHORT_SHA: first 7 characters of $REVISION_ID or $COMMIT_SHA.", + "id": "Build", + "properties": { + "approval": { + "$ref": "BuildApproval", + "description": "Output only. Describes this build's approval configuration, status, and result.", + "readOnly": true + }, + "artifacts": { + "$ref": "Artifacts", + "description": "Artifacts produced by the build that should be uploaded upon successful completion of all build steps." + }, + "availableSecrets": { + "$ref": "Secrets", + "description": "Secrets and secret environment variables." + }, + "buildTriggerId": { + "description": "Output only. The ID of the `BuildTrigger` that triggered this build, if it was triggered automatically.", + "readOnly": true, + "type": "string" + }, + "createTime": { + "description": "Output only. Time at which the request to create the build was received.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + }, + "failureInfo": { + "$ref": "FailureInfo", + "description": "Output only. Contains information about the build when status=FAILURE.", + "readOnly": true + }, + "finishTime": { + "description": "Output only. Time at which execution of the build was finished. The difference between finish_time and start_time is the duration of the build's execution.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + }, + "id": { + "description": "Output only. Unique identifier of the build.", + "readOnly": true, + "type": "string" + }, + "images": { + "description": "A list of images to be pushed upon the successful completion of all build steps. The images are pushed using the builder service account's credentials. The digests of the pushed images will be stored in the `Build` resource's results field. If any of the images fail to be pushed, the build status is marked `FAILURE`.", + "items": { + "type": "string" + }, + "type": "array" + }, + "logUrl": { + "description": "Output only. URL to logs for this build in Google Cloud Console.", + "readOnly": true, + "type": "string" + }, + "logsBucket": { + "description": "Google Cloud Storage bucket where logs should be written (see [Bucket Name Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)). Logs file names will be of the format `${logs_bucket}/log-${build_id}.txt`.", + "type": "string" + }, + "name": { + "description": "Output only. The 'Build' name with format: `projects/{project}/locations/{location}/builds/{build}`, where {build} is a unique identifier generated by the service.", + "readOnly": true, + "type": "string" + }, + "options": { + "$ref": "BuildOptions", + "description": "Special options for this build." + }, + "projectId": { + "description": "Output only. ID of the project.", + "readOnly": true, + "type": "string" + }, + "queueTtl": { + "description": "TTL in queue for this build. If provided and the build is enqueued longer than this value, the build will expire and the build status will be `EXPIRED`. The TTL starts ticking from create_time.", + "format": "google-duration", + "type": "string" + }, + "results": { + "$ref": "Results", + "description": "Output only. Results of the build.", + "readOnly": true + }, + "secrets": { + "description": "Secrets to decrypt using Cloud Key Management Service. Note: Secret Manager is the recommended technique for managing sensitive data with Cloud Build. Use `available_secrets` to configure builds to access secrets from Secret Manager. For instructions, see: https://cloud.google.com/cloud-build/docs/securing-builds/use-secrets", + "items": { + "$ref": "Secret" + }, + "type": "array" + }, + "serviceAccount": { + "description": "IAM service account whose credentials will be used at build runtime. Must be of the format `projects/{PROJECT_ID}/serviceAccounts/{ACCOUNT}`. ACCOUNT can be email address or uniqueId of the service account. ", + "type": "string" + }, + "source": { + "$ref": "Source", + "description": "The location of the source files to build." + }, + "sourceProvenance": { + "$ref": "SourceProvenance", + "description": "Output only. A permanent fixed identifier for source.", + "readOnly": true + }, + "startTime": { + "description": "Output only. Time at which execution of the build was started.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + }, + "status": { + "description": "Output only. Status of the build.", + "enum": [ + "STATUS_UNKNOWN", + "PENDING", + "QUEUED", + "WORKING", + "SUCCESS", + "FAILURE", + "INTERNAL_ERROR", + "TIMEOUT", + "CANCELLED", + "EXPIRED" + ], + "enumDescriptions": [ + "Status of the build is unknown.", + "Build has been created and is pending execution and queuing. It has not been queued.", + "Build or step is queued; work has not yet begun.", + "Build or step is being executed.", + "Build or step finished successfully.", + "Build or step failed to complete successfully.", + "Build or step failed due to an internal cause.", + "Build or step took longer than was allowed.", + "Build or step was canceled by a user.", + "Build was enqueued for longer than the value of `queue_ttl`." + ], + "readOnly": true, + "type": "string" + }, + "statusDetail": { + "description": "Output only. Customer-readable message about the current status.", + "readOnly": true, + "type": "string" + }, + "steps": { + "description": "Required. The operations to be performed on the workspace.", + "items": { + "$ref": "BuildStep" + }, + "type": "array" + }, + "substitutions": { + "additionalProperties": { + "type": "string" + }, + "description": "Substitutions data for `Build` resource.", + "type": "object" + }, + "tags": { + "description": "Tags for annotation of a `Build`. These are not docker tags.", + "items": { + "type": "string" + }, + "type": "array" + }, + "timeout": { + "description": "Amount of time that this build should be allowed to run, to second granularity. If this amount of time elapses, work on the build will cease and the build status will be `TIMEOUT`. `timeout` starts ticking from `startTime`. Default time is ten minutes.", + "format": "google-duration", + "type": "string" + }, + "timing": { + "additionalProperties": { + "$ref": "TimeSpan" + }, + "description": "Output only. Stores timing information for phases of the build. Valid keys are: * BUILD: time to execute all build steps. * PUSH: time to push all artifacts including docker images and non docker artifacts. * FETCHSOURCE: time to fetch source. * SETUPBUILD: time to set up build. If the build does not specify source or images, these keys will not be included.", + "readOnly": true, + "type": "object" + }, + "warnings": { + "description": "Output only. Non-fatal problems encountered during the execution of the build.", + "items": { + "$ref": "Warning" + }, + "readOnly": true, + "type": "array" + } + }, + "type": "object" + }, + "BuildApproval": { + "description": "BuildApproval describes a build's approval configuration, state, and result.", + "id": "BuildApproval", + "properties": { + "config": { + "$ref": "ApprovalConfig", + "description": "Output only. Configuration for manual approval of this build.", + "readOnly": true + }, + "result": { + "$ref": "ApprovalResult", + "description": "Output only. Result of manual approval for this Build.", + "readOnly": true + }, + "state": { + "description": "Output only. The state of this build's approval.", + "enum": [ + "STATE_UNSPECIFIED", + "PENDING", + "APPROVED", + "REJECTED", + "CANCELLED" + ], + "enumDescriptions": [ + "Default enum type. This should not be used.", + "Build approval is pending.", + "Build approval has been approved.", + "Build approval has been rejected.", + "Build was cancelled while it was still pending approval." + ], + "readOnly": true, + "type": "string" + } + }, + "type": "object" + }, + "BuildOperationMetadata": { + "description": "Metadata for build operations.", + "id": "BuildOperationMetadata", + "properties": { + "build": { + "$ref": "Build", + "description": "The build that the operation is tracking." + } + }, + "type": "object" + }, + "BuildOptions": { + "description": "Optional arguments to enable specific features of builds.", + "id": "BuildOptions", + "properties": { + "diskSizeGb": { + "description": "Requested disk size for the VM that runs the build. Note that this is *NOT* \"disk free\"; some of the space will be used by the operating system and build utilities. Also note that this is the minimum disk size that will be allocated for the build -- the build may run with a larger disk than requested. At present, the maximum disk size is 2000GB; builds that request more than the maximum are rejected with an error.", + "format": "int64", + "type": "string" + }, + "dynamicSubstitutions": { + "description": "Option to specify whether or not to apply bash style string operations to the substitutions. NOTE: this is always enabled for triggered builds and cannot be overridden in the build configuration file.", + "type": "boolean" + }, + "env": { + "description": "A list of global environment variable definitions that will exist for all build steps in this build. If a variable is defined in both globally and in a build step, the variable will use the build step value. The elements are of the form \"KEY=VALUE\" for the environment variable \"KEY\" being given the value \"VALUE\".", + "items": { + "type": "string" + }, + "type": "array" + }, + "logStreamingOption": { + "description": "Option to define build log streaming behavior to Google Cloud Storage.", + "enum": [ + "STREAM_DEFAULT", + "STREAM_ON", + "STREAM_OFF" + ], + "enumDescriptions": [ + "Service may automatically determine build log streaming behavior.", + "Build logs should be streamed to Google Cloud Storage.", + "Build logs should not be streamed to Google Cloud Storage; they will be written when the build is completed." + ], + "type": "string" + }, + "logging": { + "description": "Option to specify the logging mode, which determines if and where build logs are stored.", + "enum": [ + "LOGGING_UNSPECIFIED", + "LEGACY", + "GCS_ONLY", + "STACKDRIVER_ONLY", + "CLOUD_LOGGING_ONLY", + "NONE" + ], + "enumDescriptions": [ + "The service determines the logging mode. The default is `LEGACY`. Do not rely on the default logging behavior as it may change in the future.", + "Build logs are stored in Cloud Logging and Cloud Storage.", + "Build logs are stored in Cloud Storage.", + "This option is the same as CLOUD_LOGGING_ONLY.", + "Build logs are stored in Cloud Logging. Selecting this option will not allow [logs streaming](https://cloud.google.com/sdk/gcloud/reference/builds/log).", + "Turn off all logging. No build logs will be captured." + ], + "type": "string" + }, + "machineType": { + "description": "Compute Engine machine type on which to run the build.", + "enum": [ + "UNSPECIFIED", + "N1_HIGHCPU_8", + "N1_HIGHCPU_32", + "E2_HIGHCPU_8", + "E2_HIGHCPU_32" + ], + "enumDescriptions": [ + "Standard machine type.", + "Highcpu machine with 8 CPUs.", + "Highcpu machine with 32 CPUs.", + "Highcpu e2 machine with 8 CPUs.", + "Highcpu e2 machine with 32 CPUs." + ], + "type": "string" + }, + "pool": { + "$ref": "PoolOption", + "description": "Optional. Specification for execution on a `WorkerPool`. See [running builds in a private pool](https://cloud.google.com/build/docs/private-pools/run-builds-in-private-pool) for more information." + }, + "requestedVerifyOption": { + "description": "Requested verifiability options.", + "enum": [ + "NOT_VERIFIED", + "VERIFIED" + ], + "enumDescriptions": [ + "Not a verifiable build (the default).", + "Build must be verified." + ], + "type": "string" + }, + "secretEnv": { + "description": "A list of global environment variables, which are encrypted using a Cloud Key Management Service crypto key. These values must be specified in the build's `Secret`. These variables will be available to all build steps in this build.", + "items": { + "type": "string" + }, + "type": "array" + }, + "sourceProvenanceHash": { + "description": "Requested hash for SourceProvenance.", + "items": { + "enum": [ + "NONE", + "SHA256", + "MD5" + ], + "enumDescriptions": [ + "No hash requested.", + "Use a sha256 hash.", + "Use a md5 hash." + ], + "type": "string" + }, + "type": "array" + }, + "substitutionOption": { + "description": "Option to specify behavior when there is an error in the substitution checks. NOTE: this is always set to ALLOW_LOOSE for triggered builds and cannot be overridden in the build configuration file.", + "enum": [ + "MUST_MATCH", + "ALLOW_LOOSE" + ], + "enumDescriptions": [ + "Fails the build if error in substitutions checks, like missing a substitution in the template or in the map.", + "Do not fail the build if error in substitutions checks." + ], + "type": "string" + }, + "volumes": { + "description": "Global list of volumes to mount for ALL build steps Each volume is created as an empty volume prior to starting the build process. Upon completion of the build, volumes and their contents are discarded. Global volume names and paths cannot conflict with the volumes defined a build step. Using a global volume in a build with only one step is not valid as it is indicative of a build request with an incorrect configuration.", + "items": { + "$ref": "Volume" + }, + "type": "array" + }, + "workerPool": { + "description": "This field deprecated; please use `pool.name` instead.", + "type": "string" + } + }, + "type": "object" + }, + "BuildStep": { + "description": "A step in the build pipeline.", + "id": "BuildStep", + "properties": { + "allowExitCodes": { + "description": "Allow this build step to fail without failing the entire build if and only if the exit code is one of the specified codes. If allow_failure is also specified, this field will take precedence.", + "items": { + "format": "int32", + "type": "integer" + }, + "type": "array" + }, + "allowFailure": { + "description": "Allow this build step to fail without failing the entire build. If false, the entire build will fail if this step fails. Otherwise, the build will succeed, but this step will still have a failure status. Error information will be reported in the failure_detail field.", + "type": "boolean" + }, + "args": { + "description": "A list of arguments that will be presented to the step when it is started. If the image used to run the step's container has an entrypoint, the `args` are used as arguments to that entrypoint. If the image does not define an entrypoint, the first element in args is used as the entrypoint, and the remainder will be used as arguments.", + "items": { + "type": "string" + }, + "type": "array" + }, + "dir": { + "description": "Working directory to use when running this step's container. If this value is a relative path, it is relative to the build's working directory. If this value is absolute, it may be outside the build's working directory, in which case the contents of the path may not be persisted across build step executions, unless a `volume` for that path is specified. If the build specifies a `RepoSource` with `dir` and a step with a `dir`, which specifies an absolute path, the `RepoSource` `dir` is ignored for the step's execution.", + "type": "string" + }, + "entrypoint": { + "description": "Entrypoint to be used instead of the build step image's default entrypoint. If unset, the image's default entrypoint is used.", + "type": "string" + }, + "env": { + "description": "A list of environment variable definitions to be used when running a step. The elements are of the form \"KEY=VALUE\" for the environment variable \"KEY\" being given the value \"VALUE\".", + "items": { + "type": "string" + }, + "type": "array" + }, + "exitCode": { + "description": "Output only. Return code from running the step.", + "format": "int32", + "readOnly": true, + "type": "integer" + }, + "id": { + "description": "Unique identifier for this build step, used in `wait_for` to reference this build step as a dependency.", + "type": "string" + }, + "name": { + "description": "Required. The name of the container image that will run this particular build step. If the image is available in the host's Docker daemon's cache, it will be run directly. If not, the host will attempt to pull the image first, using the builder service account's credentials if necessary. The Docker daemon's cache will already have the latest versions of all of the officially supported build steps ([https://github.com/GoogleCloudPlatform/cloud-builders](https://github.com/GoogleCloudPlatform/cloud-builders)). The Docker daemon will also have cached many of the layers for some popular images, like \"ubuntu\", \"debian\", but they will be refreshed at the time you attempt to use them. If you built an image in a previous build step, it will be stored in the host's Docker daemon's cache and is available to use as the name for a later build step.", + "type": "string" + }, + "pullTiming": { + "$ref": "TimeSpan", + "description": "Output only. Stores timing information for pulling this build step's builder image only.", + "readOnly": true + }, + "script": { + "description": "A shell script to be executed in the step. When script is provided, the user cannot specify the entrypoint or args.", + "type": "string" + }, + "secretEnv": { + "description": "A list of environment variables which are encrypted using a Cloud Key Management Service crypto key. These values must be specified in the build's `Secret`.", + "items": { + "type": "string" + }, + "type": "array" + }, + "status": { + "description": "Output only. Status of the build step. At this time, build step status is only updated on build completion; step status is not updated in real-time as the build progresses.", + "enum": [ + "STATUS_UNKNOWN", + "PENDING", + "QUEUED", + "WORKING", + "SUCCESS", + "FAILURE", + "INTERNAL_ERROR", + "TIMEOUT", + "CANCELLED", + "EXPIRED" + ], + "enumDescriptions": [ + "Status of the build is unknown.", + "Build has been created and is pending execution and queuing. It has not been queued.", + "Build or step is queued; work has not yet begun.", + "Build or step is being executed.", + "Build or step finished successfully.", + "Build or step failed to complete successfully.", + "Build or step failed due to an internal cause.", + "Build or step took longer than was allowed.", + "Build or step was canceled by a user.", + "Build was enqueued for longer than the value of `queue_ttl`." + ], + "readOnly": true, + "type": "string" + }, + "timeout": { + "description": "Time limit for executing this build step. If not defined, the step has no time limit and will be allowed to continue to run until either it completes or the build itself times out.", + "format": "google-duration", + "type": "string" + }, + "timing": { + "$ref": "TimeSpan", + "description": "Output only. Stores timing information for executing this build step.", + "readOnly": true + }, + "volumes": { + "description": "List of volumes to mount into the build step. Each volume is created as an empty volume prior to execution of the build step. Upon completion of the build, volumes and their contents are discarded. Using a named volume in only one step is not valid as it is indicative of a build request with an incorrect configuration.", + "items": { + "$ref": "Volume" + }, + "type": "array" + }, + "waitFor": { + "description": "The ID(s) of the step(s) that this build step depends on. This build step will not start until all the build steps in `wait_for` have completed successfully. If `wait_for` is empty, this build step will start when all previous build steps in the `Build.Steps` list have completed successfully.", + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "BuiltImage": { + "description": "An image built by the pipeline.", + "id": "BuiltImage", + "properties": { + "digest": { + "description": "Docker Registry 2.0 digest.", + "type": "string" + }, + "name": { + "description": "Name used to push the container image to Google Container Registry, as presented to `docker push`.", + "type": "string" + }, + "pushTiming": { + "$ref": "TimeSpan", + "description": "Output only. Stores timing information for pushing the specified image.", + "readOnly": true + } + }, + "type": "object" + }, + "CancelOperationRequest": { + "description": "The request message for Operations.CancelOperation.", + "id": "CancelOperationRequest", + "properties": {}, + "type": "object" + }, + "CreateBitbucketServerConfigOperationMetadata": { + "description": "Metadata for `CreateBitbucketServerConfig` operation.", + "id": "CreateBitbucketServerConfigOperationMetadata", + "properties": { + "bitbucketServerConfig": { + "description": "The resource name of the BitbucketServerConfig to be created. Format: `projects/{project}/locations/{location}/bitbucketServerConfigs/{id}`.", + "type": "string" + }, + "completeTime": { + "description": "Time the operation was completed.", + "format": "google-datetime", + "type": "string" + }, + "createTime": { + "description": "Time the operation was created.", + "format": "google-datetime", + "type": "string" + } + }, + "type": "object" + }, + "CreateGitHubEnterpriseConfigOperationMetadata": { + "description": "Metadata for `CreateGithubEnterpriseConfig` operation.", + "id": "CreateGitHubEnterpriseConfigOperationMetadata", + "properties": { + "completeTime": { + "description": "Time the operation was completed.", + "format": "google-datetime", + "type": "string" + }, + "createTime": { + "description": "Time the operation was created.", + "format": "google-datetime", + "type": "string" + }, + "githubEnterpriseConfig": { + "description": "The resource name of the GitHubEnterprise to be created. Format: `projects/{project}/locations/{location}/githubEnterpriseConfigs/{id}`.", + "type": "string" + } + }, + "type": "object" + }, + "CreateGitLabConfigOperationMetadata": { + "description": "Metadata for `CreateGitLabConfig` operation.", + "id": "CreateGitLabConfigOperationMetadata", + "properties": { + "completeTime": { + "description": "Time the operation was completed.", + "format": "google-datetime", + "type": "string" + }, + "createTime": { + "description": "Time the operation was created.", + "format": "google-datetime", + "type": "string" + }, + "gitlabConfig": { + "description": "The resource name of the GitLabConfig to be created. Format: `projects/{project}/locations/{location}/gitlabConfigs/{id}`.", + "type": "string" + } + }, + "type": "object" + }, + "CreateWorkerPoolOperationMetadata": { + "description": "Metadata for the `CreateWorkerPool` operation.", + "id": "CreateWorkerPoolOperationMetadata", + "properties": { + "completeTime": { + "description": "Time the operation was completed.", + "format": "google-datetime", + "type": "string" + }, + "createTime": { + "description": "Time the operation was created.", + "format": "google-datetime", + "type": "string" + }, + "workerPool": { + "description": "The resource name of the `WorkerPool` to create. Format: `projects/{project}/locations/{location}/workerPools/{worker_pool}`.", + "type": "string" + } + }, + "type": "object" + }, + "DeleteBitbucketServerConfigOperationMetadata": { + "description": "Metadata for `DeleteBitbucketServerConfig` operation.", + "id": "DeleteBitbucketServerConfigOperationMetadata", + "properties": { + "bitbucketServerConfig": { + "description": "The resource name of the BitbucketServerConfig to be deleted. Format: `projects/{project}/locations/{location}/bitbucketServerConfigs/{id}`.", + "type": "string" + }, + "completeTime": { + "description": "Time the operation was completed.", + "format": "google-datetime", + "type": "string" + }, + "createTime": { + "description": "Time the operation was created.", + "format": "google-datetime", + "type": "string" + } + }, + "type": "object" + }, + "DeleteGitHubEnterpriseConfigOperationMetadata": { + "description": "Metadata for `DeleteGitHubEnterpriseConfig` operation.", + "id": "DeleteGitHubEnterpriseConfigOperationMetadata", + "properties": { + "completeTime": { + "description": "Time the operation was completed.", + "format": "google-datetime", + "type": "string" + }, + "createTime": { + "description": "Time the operation was created.", + "format": "google-datetime", + "type": "string" + }, + "githubEnterpriseConfig": { + "description": "The resource name of the GitHubEnterprise to be deleted. Format: `projects/{project}/locations/{location}/githubEnterpriseConfigs/{id}`.", + "type": "string" + } + }, + "type": "object" + }, + "DeleteGitLabConfigOperationMetadata": { + "description": "Metadata for `DeleteGitLabConfig` operation.", + "id": "DeleteGitLabConfigOperationMetadata", + "properties": { + "completeTime": { + "description": "Time the operation was completed.", + "format": "google-datetime", + "type": "string" + }, + "createTime": { + "description": "Time the operation was created.", + "format": "google-datetime", + "type": "string" + }, + "gitlabConfig": { + "description": "The resource name of the GitLabConfig to be created. Format: `projects/{project}/locations/{location}/gitlabConfigs/{id}`.", + "type": "string" + } + }, + "type": "object" + }, + "DeleteWorkerPoolOperationMetadata": { + "description": "Metadata for the `DeleteWorkerPool` operation.", + "id": "DeleteWorkerPoolOperationMetadata", + "properties": { + "completeTime": { + "description": "Time the operation was completed.", + "format": "google-datetime", + "type": "string" + }, + "createTime": { + "description": "Time the operation was created.", + "format": "google-datetime", + "type": "string" + }, + "workerPool": { + "description": "The resource name of the `WorkerPool` being deleted. Format: `projects/{project}/locations/{location}/workerPools/{worker_pool}`.", + "type": "string" + } + }, + "type": "object" + }, + "Empty": { + "description": "A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }", + "id": "Empty", + "properties": {}, + "type": "object" + }, + "FailureInfo": { + "description": "A fatal problem encountered during the execution of the build.", + "id": "FailureInfo", + "properties": { + "detail": { + "description": "Explains the failure issue in more detail using hard-coded text.", + "type": "string" + }, + "type": { + "description": "The name of the failure.", + "enum": [ + "FAILURE_TYPE_UNSPECIFIED", + "PUSH_FAILED", + "PUSH_IMAGE_NOT_FOUND", + "PUSH_NOT_AUTHORIZED", + "LOGGING_FAILURE", + "USER_BUILD_STEP", + "FETCH_SOURCE_FAILED" + ], + "enumDescriptions": [ + "Type unspecified", + "Unable to push the image to the repository.", + "Final image not found.", + "Unauthorized push of the final image.", + "Backend logging failures. Should retry.", + "A build step has failed.", + "The source fetching has failed." + ], + "type": "string" + } + }, + "type": "object" + }, + "FileHashes": { + "description": "Container message for hashes of byte content of files, used in SourceProvenance messages to verify integrity of source input to the build.", + "id": "FileHashes", + "properties": { + "fileHash": { + "description": "Collection of file hashes.", + "items": { + "$ref": "Hash" + }, + "type": "array" + } + }, + "type": "object" + }, + "GitLabConnectedRepository": { + "description": "GitLabConnectedRepository represents a GitLab connected repository request response.", + "id": "GitLabConnectedRepository", + "properties": { + "parent": { + "description": "The name of the `GitLabConfig` that added connected repository. Format: `projects/{project}/locations/{location}/gitLabConfigs/{config}`", + "type": "string" + }, + "repo": { + "$ref": "GitLabRepositoryId", + "description": "The GitLab repositories to connect." + }, + "status": { + "$ref": "Status", + "description": "Output only. The status of the repo connection request.", + "readOnly": true + } + }, + "type": "object" + }, + "GitLabRepositoryId": { + "description": "GitLabRepositoryId identifies a specific repository hosted on GitLab.com or GitLabEnterprise", + "id": "GitLabRepositoryId", + "properties": { + "id": { + "description": "Required. Identifier for the repository. example: \"namespace/project-slug\", namespace is usually the username or group ID", + "type": "string" + }, + "webhookId": { + "description": "Output only. The ID of the webhook that was created for receiving events from this repo. We only create and manage a single webhook for each repo.", + "format": "int32", + "readOnly": true, + "type": "integer" + } + }, + "type": "object" + }, + "GoogleDevtoolsCloudbuildV2OperationMetadata": { + "description": "Represents the metadata of the long-running operation.", + "id": "GoogleDevtoolsCloudbuildV2OperationMetadata", + "properties": { + "apiVersion": { + "description": "Output only. API version used to start the operation.", + "readOnly": true, + "type": "string" + }, + "createTime": { + "description": "Output only. The time the operation was created.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + }, + "endTime": { + "description": "Output only. The time the operation finished running.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + }, + "requestedCancellation": { + "description": "Output only. Identifies whether the user has requested cancellation of the operation. Operations that have successfully been cancelled have Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.", + "readOnly": true, + "type": "boolean" + }, + "statusMessage": { + "description": "Output only. Human-readable status of the operation, if any.", + "readOnly": true, + "type": "string" + }, + "target": { + "description": "Output only. Server-defined resource path for the target of the operation.", + "readOnly": true, + "type": "string" + }, + "verb": { + "description": "Output only. Name of the verb executed by the operation.", + "readOnly": true, + "type": "string" + } + }, + "type": "object" + }, + "HTTPDelivery": { + "description": "HTTPDelivery is the delivery configuration for an HTTP notification.", + "id": "HTTPDelivery", + "properties": { + "uri": { + "description": "The URI to which JSON-containing HTTP POST requests should be sent.", + "type": "string" + } + }, + "type": "object" + }, + "Hash": { + "description": "Container message for hash values.", + "id": "Hash", + "properties": { + "type": { + "description": "The type of hash that was performed.", + "enum": [ + "NONE", + "SHA256", + "MD5" + ], + "enumDescriptions": [ + "No hash requested.", + "Use a sha256 hash.", + "Use a md5 hash." + ], + "type": "string" + }, + "value": { + "description": "The hash value.", + "format": "byte", + "type": "string" + } + }, + "type": "object" + }, + "InlineSecret": { + "description": "Pairs a set of secret environment variables mapped to encrypted values with the Cloud KMS key to use to decrypt the value.", + "id": "InlineSecret", + "properties": { + "envMap": { + "additionalProperties": { + "format": "byte", + "type": "string" + }, + "description": "Map of environment variable name to its encrypted value. Secret environment variables must be unique across all of a build's secrets, and must be used by at least one build step. Values can be at most 64 KB in size. There can be at most 100 secret values across all of a build's secrets.", + "type": "object" + }, + "kmsKeyName": { + "description": "Resource name of Cloud KMS crypto key to decrypt the encrypted value. In format: projects/*/locations/*/keyRings/*/cryptoKeys/*", + "type": "string" + } + }, + "type": "object" + }, + "ListWorkerPoolsResponse": { + "description": "Response containing existing `WorkerPools`.", + "id": "ListWorkerPoolsResponse", + "properties": { + "workerPools": { + "description": "`WorkerPools` for the specified project.", + "items": { + "$ref": "WorkerPool" + }, + "type": "array" + } + }, + "type": "object" + }, + "MavenArtifact": { + "description": "A Maven artifact to upload to Artifact Registry upon successful completion of all build steps.", + "id": "MavenArtifact", + "properties": { + "artifactId": { + "description": "Maven `artifactId` value used when uploading the artifact to Artifact Registry.", + "type": "string" + }, + "groupId": { + "description": "Maven `groupId` value used when uploading the artifact to Artifact Registry.", + "type": "string" + }, + "path": { + "description": "Path to an artifact in the build's workspace to be uploaded to Artifact Registry. This can be either an absolute path, e.g. /workspace/my-app/target/my-app-1.0.SNAPSHOT.jar or a relative path from /workspace, e.g. my-app/target/my-app-1.0.SNAPSHOT.jar.", + "type": "string" + }, + "repository": { + "description": "Artifact Registry repository, in the form \"https://$REGION-maven.pkg.dev/$PROJECT/$REPOSITORY\" Artifact in the workspace specified by path will be uploaded to Artifact Registry with this location as a prefix.", + "type": "string" + }, + "version": { + "description": "Maven `version` value used when uploading the artifact to Artifact Registry.", + "type": "string" + } + }, + "type": "object" + }, + "NetworkConfig": { + "description": "Network describes the network configuration for a `WorkerPool`.", + "id": "NetworkConfig", + "properties": { + "peeredNetwork": { + "description": "Required. Immutable. The network definition that the workers are peered to. If this section is left empty, the workers will be peered to `WorkerPool.project_id` on the service producer network. Must be in the format `projects/{project}/global/networks/{network}`, where `{project}` is a project number, such as `12345`, and `{network}` is the name of a VPC network in the project. See [Understanding network configuration options](https://cloud.google.com/cloud-build/docs/custom-workers/set-up-custom-worker-pool-environment#understanding_the_network_configuration_options)", + "type": "string" + } + }, + "type": "object" + }, + "Notification": { + "description": "Notification is the container which holds the data that is relevant to this particular notification.", + "id": "Notification", + "properties": { + "filter": { + "description": "The filter string to use for notification filtering. Currently, this is assumed to be a CEL program. See https://opensource.google/projects/cel for more.", + "type": "string" + }, + "httpDelivery": { + "$ref": "HTTPDelivery", + "description": "Configuration for HTTP delivery." + }, + "slackDelivery": { + "$ref": "SlackDelivery", + "description": "Configuration for Slack delivery." + }, + "smtpDelivery": { + "$ref": "SMTPDelivery", + "description": "Configuration for SMTP (email) delivery." + }, + "structDelivery": { + "additionalProperties": { + "description": "Properties of the object.", + "type": "any" + }, + "description": "Escape hatch for users to supply custom delivery configs.", + "type": "object" + } + }, + "type": "object" + }, + "NotifierConfig": { + "description": "NotifierConfig is the top-level configuration message.", + "id": "NotifierConfig", + "properties": { + "apiVersion": { + "description": "The API version of this configuration format.", + "type": "string" + }, + "kind": { + "description": "The type of notifier to use (e.g. SMTPNotifier).", + "type": "string" + }, + "metadata": { + "$ref": "NotifierMetadata", + "description": "Metadata for referring to/handling/deploying this notifier." + }, + "spec": { + "$ref": "NotifierSpec", + "description": "The actual configuration for this notifier." + } + }, + "type": "object" + }, + "NotifierMetadata": { + "description": "NotifierMetadata contains the data which can be used to reference or describe this notifier.", + "id": "NotifierMetadata", + "properties": { + "name": { + "description": "The human-readable and user-given name for the notifier. For example: \"repo-merge-email-notifier\".", + "type": "string" + }, + "notifier": { + "description": "The string representing the name and version of notifier to deploy. Expected to be of the form of \"/:\". For example: \"gcr.io/my-project/notifiers/smtp:1.2.34\".", + "type": "string" + } + }, + "type": "object" + }, + "NotifierSecret": { + "description": "NotifierSecret is the container that maps a secret name (reference) to its Google Cloud Secret Manager resource path.", + "id": "NotifierSecret", + "properties": { + "name": { + "description": "Name is the local name of the secret, such as the verbatim string \"my-smtp-password\".", + "type": "string" + }, + "value": { + "description": "Value is interpreted to be a resource path for fetching the actual (versioned) secret data for this secret. For example, this would be a Google Cloud Secret Manager secret version resource path like: \"projects/my-project/secrets/my-secret/versions/latest\".", + "type": "string" + } + }, + "type": "object" + }, + "NotifierSecretRef": { + "description": "NotifierSecretRef contains the reference to a secret stored in the corresponding NotifierSpec.", + "id": "NotifierSecretRef", + "properties": { + "secretRef": { + "description": "The value of `secret_ref` should be a `name` that is registered in a `Secret` in the `secrets` list of the `Spec`.", + "type": "string" + } + }, + "type": "object" + }, + "NotifierSpec": { + "description": "NotifierSpec is the configuration container for notifications.", + "id": "NotifierSpec", + "properties": { + "notification": { + "$ref": "Notification", + "description": "The configuration of this particular notifier." + }, + "secrets": { + "description": "Configurations for secret resources used by this particular notifier.", + "items": { + "$ref": "NotifierSecret" + }, + "type": "array" + } + }, + "type": "object" + }, + "Operation": { + "description": "This resource represents a long-running operation that is the result of a network API call.", + "id": "Operation", + "properties": { + "done": { + "description": "If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.", + "type": "boolean" + }, + "error": { + "$ref": "Status", + "description": "The error result of the operation in case of failure or cancellation." + }, + "metadata": { + "additionalProperties": { + "description": "Properties of the object. Contains field @type with type URL.", + "type": "any" + }, + "description": "Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.", + "type": "object" + }, + "name": { + "description": "The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.", + "type": "string" + }, + "response": { + "additionalProperties": { + "description": "Properties of the object. Contains field @type with type URL.", + "type": "any" + }, + "description": "The normal response of the operation in case of success. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.", + "type": "object" + } + }, + "type": "object" + }, + "OperationMetadata": { + "description": "Represents the metadata of the long-running operation.", + "id": "OperationMetadata", + "properties": { + "apiVersion": { + "description": "Output only. API version used to start the operation.", + "readOnly": true, + "type": "string" + }, + "cancelRequested": { + "description": "Output only. Identifies whether the user has requested cancellation of the operation. Operations that have been cancelled successfully have Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.", + "readOnly": true, + "type": "boolean" + }, + "createTime": { + "description": "Output only. The time the operation was created.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + }, + "endTime": { + "description": "Output only. The time the operation finished running.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + }, + "statusDetail": { + "description": "Output only. Human-readable status of the operation, if any.", + "readOnly": true, + "type": "string" + }, + "target": { + "description": "Output only. Server-defined resource path for the target of the operation.", + "readOnly": true, + "type": "string" + }, + "verb": { + "description": "Output only. Name of the verb executed by the operation.", + "readOnly": true, + "type": "string" + } + }, + "type": "object" + }, + "PoolOption": { + "description": "Details about how a build should be executed on a `WorkerPool`. See [running builds in a private pool](https://cloud.google.com/build/docs/private-pools/run-builds-in-private-pool) for more information.", + "id": "PoolOption", + "properties": { + "name": { + "description": "The `WorkerPool` resource to execute the build on. You must have `cloudbuild.workerpools.use` on the project hosting the WorkerPool. Format projects/{project}/locations/{location}/workerPools/{workerPoolId}", + "type": "string" + } + }, + "type": "object" + }, + "ProcessAppManifestCallbackOperationMetadata": { + "description": "Metadata for `ProcessAppManifestCallback` operation.", + "id": "ProcessAppManifestCallbackOperationMetadata", + "properties": { + "completeTime": { + "description": "Time the operation was completed.", + "format": "google-datetime", + "type": "string" + }, + "createTime": { + "description": "Time the operation was created.", + "format": "google-datetime", + "type": "string" + }, + "githubEnterpriseConfig": { + "description": "The resource name of the GitHubEnterprise to be created. Format: `projects/{project}/locations/{location}/githubEnterpriseConfigs/{id}`.", + "type": "string" + } + }, + "type": "object" + }, + "PythonPackage": { + "description": "Python package to upload to Artifact Registry upon successful completion of all build steps. A package can encapsulate multiple objects to be uploaded to a single repository.", + "id": "PythonPackage", + "properties": { + "paths": { + "description": "Path globs used to match files in the build's workspace. For Python/ Twine, this is usually `dist/*`, and sometimes additionally an `.asc` file.", + "items": { + "type": "string" + }, + "type": "array" + }, + "repository": { + "description": "Artifact Registry repository, in the form \"https://$REGION-python.pkg.dev/$PROJECT/$REPOSITORY\" Files in the workspace matching any path pattern will be uploaded to Artifact Registry with this location as a prefix.", + "type": "string" + } + }, + "type": "object" + }, + "RepoSource": { + "description": "Location of the source in a Google Cloud Source Repository.", + "id": "RepoSource", + "properties": { + "branchName": { + "description": "Regex matching branches to build. The syntax of the regular expressions accepted is the syntax accepted by RE2 and described at https://github.com/google/re2/wiki/Syntax", + "type": "string" + }, + "commitSha": { + "description": "Explicit commit SHA to build.", + "type": "string" + }, + "dir": { + "description": "Directory, relative to the source root, in which to run the build. This must be a relative path. If a step's `dir` is specified and is an absolute path, this value is ignored for that step's execution.", + "type": "string" + }, + "invertRegex": { + "description": "Only trigger a build if the revision regex does NOT match the revision regex.", + "type": "boolean" + }, + "projectId": { + "description": "ID of the project that owns the Cloud Source Repository. If omitted, the project ID requesting the build is assumed.", + "type": "string" + }, + "repoName": { + "description": "Name of the Cloud Source Repository.", + "type": "string" + }, + "substitutions": { + "additionalProperties": { + "type": "string" + }, + "description": "Substitutions to use in a triggered build. Should only be used with RunBuildTrigger", + "type": "object" + }, + "tagName": { + "description": "Regex matching tags to build. The syntax of the regular expressions accepted is the syntax accepted by RE2 and described at https://github.com/google/re2/wiki/Syntax", + "type": "string" + } + }, + "type": "object" + }, + "Repository": { + "description": "A repository associated to a parent connection.", + "id": "Repository", + "properties": { + "annotations": { + "additionalProperties": { + "type": "string" + }, + "description": "Allows clients to store small amounts of arbitrary data.", + "type": "object" + }, + "createTime": { + "description": "Output only. Server assigned timestamp for when the connection was created.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + }, + "etag": { + "description": "This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.", + "type": "string" + }, + "name": { + "description": "Immutable. Resource name of the repository, in the format `projects/*/locations/*/connections/*/repositories/*`.", + "type": "string" + }, + "remoteUri": { + "description": "Required. Git Clone HTTPS URI.", + "type": "string" + }, + "updateTime": { + "description": "Output only. Server assigned timestamp for when the connection was updated.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + } + }, + "type": "object" + }, + "Results": { + "description": "Artifacts created by the build pipeline.", + "id": "Results", + "properties": { + "artifactManifest": { + "description": "Path to the artifact manifest for non-container artifacts uploaded to Cloud Storage. Only populated when artifacts are uploaded to Cloud Storage.", + "type": "string" + }, + "artifactTiming": { + "$ref": "TimeSpan", + "description": "Time to push all non-container artifacts to Cloud Storage." + }, + "buildStepImages": { + "description": "List of build step digests, in the order corresponding to build step indices.", + "items": { + "type": "string" + }, + "type": "array" + }, + "buildStepOutputs": { + "description": "List of build step outputs, produced by builder images, in the order corresponding to build step indices. [Cloud Builders](https://cloud.google.com/cloud-build/docs/cloud-builders) can produce this output by writing to `$BUILDER_OUTPUT/output`. Only the first 4KB of data is stored.", + "items": { + "format": "byte", + "type": "string" + }, + "type": "array" + }, + "images": { + "description": "Container images that were built as a part of the build.", + "items": { + "$ref": "BuiltImage" + }, + "type": "array" + }, + "mavenArtifacts": { + "description": "Maven artifacts uploaded to Artifact Registry at the end of the build.", + "items": { + "$ref": "UploadedMavenArtifact" + }, + "type": "array" + }, + "numArtifacts": { + "description": "Number of non-container artifacts uploaded to Cloud Storage. Only populated when artifacts are uploaded to Cloud Storage.", + "format": "int64", + "type": "string" + }, + "pythonPackages": { + "description": "Python artifacts uploaded to Artifact Registry at the end of the build.", + "items": { + "$ref": "UploadedPythonPackage" + }, + "type": "array" + } + }, + "type": "object" + }, + "RunWorkflowCustomOperationMetadata": { + "description": "Represents the custom metadata of the RunWorkflow long-running operation.", + "id": "RunWorkflowCustomOperationMetadata", + "properties": { + "apiVersion": { + "description": "Output only. API version used to start the operation.", + "readOnly": true, + "type": "string" + }, + "createTime": { + "description": "Output only. The time the operation was created.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + }, + "endTime": { + "description": "Output only. The time the operation finished running.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + }, + "pipelineRunId": { + "description": "Output only. ID of the pipeline run created by RunWorkflow.", + "readOnly": true, + "type": "string" + }, + "requestedCancellation": { + "description": "Output only. Identifies whether the user has requested cancellation of the operation. Operations that have successfully been cancelled have Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.", + "readOnly": true, + "type": "boolean" + }, + "target": { + "description": "Output only. Server-defined resource path for the target of the operation.", + "readOnly": true, + "type": "string" + }, + "verb": { + "description": "Output only. Name of the verb executed by the operation.", + "readOnly": true, + "type": "string" + } + }, + "type": "object" + }, + "SMTPDelivery": { + "description": "SMTPDelivery is the delivery configuration for an SMTP (email) notification.", + "id": "SMTPDelivery", + "properties": { + "fromAddress": { + "description": "This is the SMTP account/email that appears in the `From:` of the email. If empty, it is assumed to be sender.", + "type": "string" + }, + "password": { + "$ref": "NotifierSecretRef", + "description": "The SMTP sender's password." + }, + "port": { + "description": "The SMTP port of the server.", + "type": "string" + }, + "recipientAddresses": { + "description": "This is the list of addresses to which we send the email (i.e. in the `To:` of the email).", + "items": { + "type": "string" + }, + "type": "array" + }, + "senderAddress": { + "description": "This is the SMTP account/email that is used to send the message.", + "type": "string" + }, + "server": { + "description": "The address of the SMTP server.", + "type": "string" + } + }, + "type": "object" + }, + "Secret": { + "description": "Pairs a set of secret environment variables containing encrypted values with the Cloud KMS key to use to decrypt the value. Note: Use `kmsKeyName` with `available_secrets` instead of using `kmsKeyName` with `secret`. For instructions see: https://cloud.google.com/cloud-build/docs/securing-builds/use-encrypted-credentials.", + "id": "Secret", + "properties": { + "kmsKeyName": { + "description": "Cloud KMS key name to use to decrypt these envs.", + "type": "string" + }, + "secretEnv": { + "additionalProperties": { + "format": "byte", + "type": "string" + }, + "description": "Map of environment variable name to its encrypted value. Secret environment variables must be unique across all of a build's secrets, and must be used by at least one build step. Values can be at most 64 KB in size. There can be at most 100 secret values across all of a build's secrets.", + "type": "object" + } + }, + "type": "object" + }, + "SecretManagerSecret": { + "description": "Pairs a secret environment variable with a SecretVersion in Secret Manager.", + "id": "SecretManagerSecret", + "properties": { + "env": { + "description": "Environment variable name to associate with the secret. Secret environment variables must be unique across all of a build's secrets, and must be used by at least one build step.", + "type": "string" + }, + "versionName": { + "description": "Resource name of the SecretVersion. In format: projects/*/secrets/*/versions/*", + "type": "string" + } + }, + "type": "object" + }, + "Secrets": { + "description": "Secrets and secret environment variables.", + "id": "Secrets", + "properties": { + "inline": { + "description": "Secrets encrypted with KMS key and the associated secret environment variable.", + "items": { + "$ref": "InlineSecret" + }, + "type": "array" + }, + "secretManager": { + "description": "Secrets in Secret Manager and associated secret environment variable.", + "items": { + "$ref": "SecretManagerSecret" + }, + "type": "array" + } + }, + "type": "object" + }, + "SlackDelivery": { + "description": "SlackDelivery is the delivery configuration for delivering Slack messages via webhooks. See Slack webhook documentation at: https://api.slack.com/messaging/webhooks.", + "id": "SlackDelivery", + "properties": { + "webhookUri": { + "$ref": "NotifierSecretRef", + "description": "The secret reference for the Slack webhook URI for sending messages to a channel." + } + }, + "type": "object" + }, + "Source": { + "description": "Location of the source in a supported storage service.", + "id": "Source", + "properties": { + "repoSource": { + "$ref": "RepoSource", + "description": "If provided, get the source from this location in a Cloud Source Repository." + }, + "storageSource": { + "$ref": "StorageSource", + "description": "If provided, get the source from this location in Google Cloud Storage." + }, + "storageSourceManifest": { + "$ref": "StorageSourceManifest", + "description": "If provided, get the source from this manifest in Google Cloud Storage. This feature is in Preview; see description [here](https://github.com/GoogleCloudPlatform/cloud-builders/tree/master/gcs-fetcher)." + } + }, + "type": "object" + }, + "SourceProvenance": { + "description": "Provenance of the source. Ways to find the original source, or verify that some source was used for this build.", + "id": "SourceProvenance", + "properties": { + "fileHashes": { + "additionalProperties": { + "$ref": "FileHashes" + }, + "description": "Output only. Hash(es) of the build source, which can be used to verify that the original source integrity was maintained in the build. Note that `FileHashes` will only be populated if `BuildOptions` has requested a `SourceProvenanceHash`. The keys to this map are file paths used as build source and the values contain the hash values for those files. If the build source came in a single package such as a gzipped tarfile (`.tar.gz`), the `FileHash` will be for the single path to that file.", + "readOnly": true, + "type": "object" + }, + "resolvedRepoSource": { + "$ref": "RepoSource", + "description": "A copy of the build's `source.repo_source`, if exists, with any revisions resolved." + }, + "resolvedStorageSource": { + "$ref": "StorageSource", + "description": "A copy of the build's `source.storage_source`, if exists, with any generations resolved." + }, + "resolvedStorageSourceManifest": { + "$ref": "StorageSourceManifest", + "description": "A copy of the build's `source.storage_source_manifest`, if exists, with any revisions resolved. This feature is in Preview." + } + }, + "type": "object" + }, + "Status": { + "description": "The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors).", + "id": "Status", + "properties": { + "code": { + "description": "The status code, which should be an enum value of google.rpc.Code.", + "format": "int32", + "type": "integer" + }, + "details": { + "description": "A list of messages that carry the error details. There is a common set of message types for APIs to use.", + "items": { + "additionalProperties": { + "description": "Properties of the object. Contains field @type with type URL.", + "type": "any" + }, + "type": "object" + }, + "type": "array" + }, + "message": { + "description": "A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.", + "type": "string" + } + }, + "type": "object" + }, + "StorageSource": { + "description": "Location of the source in an archive file in Google Cloud Storage.", + "id": "StorageSource", + "properties": { + "bucket": { + "description": "Google Cloud Storage bucket containing the source (see [Bucket Name Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)).", + "type": "string" + }, + "generation": { + "description": "Google Cloud Storage generation for the object. If the generation is omitted, the latest generation will be used.", + "format": "int64", + "type": "string" + }, + "object": { + "description": "Google Cloud Storage object containing the source. This object must be a zipped (`.zip`) or gzipped archive file (`.tar.gz`) containing source to build.", + "type": "string" + } + }, + "type": "object" + }, + "StorageSourceManifest": { + "description": "Location of the source manifest in Google Cloud Storage. This feature is in Preview; see description [here](https://github.com/GoogleCloudPlatform/cloud-builders/tree/master/gcs-fetcher).", + "id": "StorageSourceManifest", + "properties": { + "bucket": { + "description": "Google Cloud Storage bucket containing the source manifest (see [Bucket Name Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)).", + "type": "string" + }, + "generation": { + "description": "Google Cloud Storage generation for the object. If the generation is omitted, the latest generation will be used.", + "format": "int64", + "type": "string" + }, + "object": { + "description": "Google Cloud Storage object containing the source manifest. This object must be a JSON file.", + "type": "string" + } + }, + "type": "object" + }, + "TimeSpan": { + "description": "Start and end times for a build execution phase.", + "id": "TimeSpan", + "properties": { + "endTime": { + "description": "End of time span.", + "format": "google-datetime", + "type": "string" + }, + "startTime": { + "description": "Start of time span.", + "format": "google-datetime", + "type": "string" + } + }, + "type": "object" + }, + "UpdateBitbucketServerConfigOperationMetadata": { + "description": "Metadata for `UpdateBitbucketServerConfig` operation.", + "id": "UpdateBitbucketServerConfigOperationMetadata", + "properties": { + "bitbucketServerConfig": { + "description": "The resource name of the BitbucketServerConfig to be updated. Format: `projects/{project}/locations/{location}/bitbucketServerConfigs/{id}`.", + "type": "string" + }, + "completeTime": { + "description": "Time the operation was completed.", + "format": "google-datetime", + "type": "string" + }, + "createTime": { + "description": "Time the operation was created.", + "format": "google-datetime", + "type": "string" + } + }, + "type": "object" + }, + "UpdateGitHubEnterpriseConfigOperationMetadata": { + "description": "Metadata for `UpdateGitHubEnterpriseConfig` operation.", + "id": "UpdateGitHubEnterpriseConfigOperationMetadata", + "properties": { + "completeTime": { + "description": "Time the operation was completed.", + "format": "google-datetime", + "type": "string" + }, + "createTime": { + "description": "Time the operation was created.", + "format": "google-datetime", + "type": "string" + }, + "githubEnterpriseConfig": { + "description": "The resource name of the GitHubEnterprise to be updated. Format: `projects/{project}/locations/{location}/githubEnterpriseConfigs/{id}`.", + "type": "string" + } + }, + "type": "object" + }, + "UpdateGitLabConfigOperationMetadata": { + "description": "Metadata for `UpdateGitLabConfig` operation.", + "id": "UpdateGitLabConfigOperationMetadata", + "properties": { + "completeTime": { + "description": "Time the operation was completed.", + "format": "google-datetime", + "type": "string" + }, + "createTime": { + "description": "Time the operation was created.", + "format": "google-datetime", + "type": "string" + }, + "gitlabConfig": { + "description": "The resource name of the GitLabConfig to be created. Format: `projects/{project}/locations/{location}/gitlabConfigs/{id}`.", + "type": "string" + } + }, + "type": "object" + }, + "UpdateWorkerPoolOperationMetadata": { + "description": "Metadata for the `UpdateWorkerPool` operation.", + "id": "UpdateWorkerPoolOperationMetadata", + "properties": { + "completeTime": { + "description": "Time the operation was completed.", + "format": "google-datetime", + "type": "string" + }, + "createTime": { + "description": "Time the operation was created.", + "format": "google-datetime", + "type": "string" + }, + "workerPool": { + "description": "The resource name of the `WorkerPool` being updated. Format: `projects/{project}/locations/{location}/workerPools/{worker_pool}`.", + "type": "string" + } + }, + "type": "object" + }, + "UploadedMavenArtifact": { + "description": "A Maven artifact uploaded using the MavenArtifact directive.", + "id": "UploadedMavenArtifact", + "properties": { + "fileHashes": { + "$ref": "FileHashes", + "description": "Hash types and values of the Maven Artifact." + }, + "pushTiming": { + "$ref": "TimeSpan", + "description": "Output only. Stores timing information for pushing the specified artifact.", + "readOnly": true + }, + "uri": { + "description": "URI of the uploaded artifact.", + "type": "string" + } + }, + "type": "object" + }, + "UploadedPythonPackage": { + "description": "Artifact uploaded using the PythonPackage directive.", + "id": "UploadedPythonPackage", + "properties": { + "fileHashes": { + "$ref": "FileHashes", + "description": "Hash types and values of the Python Artifact." + }, + "pushTiming": { + "$ref": "TimeSpan", + "description": "Output only. Stores timing information for pushing the specified artifact.", + "readOnly": true + }, + "uri": { + "description": "URI of the uploaded artifact.", + "type": "string" + } + }, + "type": "object" + }, + "Volume": { + "description": "Volume describes a Docker container volume which is mounted into build steps in order to persist files across build step execution.", + "id": "Volume", + "properties": { + "name": { + "description": "Name of the volume to mount. Volume names must be unique per build step and must be valid names for Docker volumes. Each named volume must be used by at least two build steps.", + "type": "string" + }, + "path": { + "description": "Path at which to mount the volume. Paths must be absolute and cannot conflict with other volume paths on the same build step or with certain reserved volume paths.", + "type": "string" + } + }, + "type": "object" + }, + "Warning": { + "description": "A non-fatal problem encountered during the execution of the build.", + "id": "Warning", + "properties": { + "priority": { + "description": "The priority for this warning.", + "enum": [ + "PRIORITY_UNSPECIFIED", + "INFO", + "WARNING", + "ALERT" + ], + "enumDescriptions": [ + "Should not be used.", + "e.g. deprecation warnings and alternative feature highlights.", + "e.g. automated detection of possible issues with the build.", + "e.g. alerts that a feature used in the build is pending removal" + ], + "type": "string" + }, + "text": { + "description": "Explanation of the warning generated.", + "type": "string" + } + }, + "type": "object" + }, + "WorkerConfig": { + "description": "Defines the configuration to be used for creating workers in the pool.", + "id": "WorkerConfig", + "properties": { + "diskSizeGb": { + "description": "Size of the disk attached to the worker, in GB. See [Worker pool config file](https://cloud.google.com/cloud-build/docs/custom-workers/worker-pool-config-file). Specify a value of up to 1000. If `0` is specified, Cloud Build will use a standard disk size.", + "format": "int64", + "type": "string" + }, + "machineType": { + "description": "Machine type of a worker, such as `n1-standard-1`. See [Worker pool config file](https://cloud.google.com/cloud-build/docs/custom-workers/worker-pool-config-file). If left blank, Cloud Build will use `n1-standard-1`.", + "type": "string" + }, + "noExternalIp": { + "description": "If true, workers are created without any public address, which prevents network egress to public IPs.", + "type": "boolean" + } + }, + "type": "object" + }, + "WorkerPool": { + "description": "Configuration for a `WorkerPool` to run the builds. Workers provide a build environment where Cloud Build runs your builds. Cloud Build owns and maintains a pool of workers for general use. By default, when you submit a build, Cloud Build uses one of the workers from this pool. Builds that run in the default worker pool have access to the public internet. If your build needs access to resources on a private network, create and use a `WorkerPool` to run your builds. Custom `WorkerPool`s give your builds access to any single VPC network that you administer, including any on-prem resources connected to that VPC network. For an overview of custom worker pools, see [Custom workers overview](https://cloud.google.com/cloud-build/docs/custom-workers/custom-workers-overview).", + "id": "WorkerPool", + "properties": { + "annotations": { + "additionalProperties": { + "type": "string" + }, + "description": "User specified annotations. See https://google.aip.dev/128#annotations for more details such as format and size limitations.", + "type": "object" + }, + "createTime": { + "description": "Output only. Time at which the request to create the `WorkerPool` was received.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + }, + "deleteTime": { + "description": "Output only. Time at which the request to delete the `WorkerPool` was received.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + }, + "displayName": { + "description": "A user-specified, human-readable name for the `WorkerPool`. If provided, this value must be 1-63 characters.", + "type": "string" + }, + "etag": { + "description": "Output only. Checksum computed by the server. May be sent on update and delete requests to ensure that the client has an up-to-date value before proceeding.", + "readOnly": true, + "type": "string" + }, + "name": { + "description": "Output only. The resource name of the `WorkerPool`, with format `projects/{project}/locations/{location}/workerPools/{worker_pool}`. The value of `{worker_pool}` is provided by `worker_pool_id` in `CreateWorkerPool` request and the value of `{location}` is determined by the endpoint accessed.", + "readOnly": true, + "type": "string" + }, + "networkConfig": { + "$ref": "NetworkConfig", + "description": "Network configuration for the `WorkerPool`." + }, + "state": { + "description": "Output only. `WorkerPool` state.", + "enum": [ + "STATE_UNSPECIFIED", + "CREATING", + "RUNNING", + "DELETING", + "DELETED" + ], + "enumDescriptions": [ + "State of the `WorkerPool` is unknown.", + "`WorkerPool` is being created.", + "`WorkerPool` is running.", + "`WorkerPool` is being deleted: cancelling builds and draining workers.", + "`WorkerPool` is deleted." + ], + "readOnly": true, + "type": "string" + }, + "uid": { + "description": "Output only. A unique identifier for the `WorkerPool`.", + "readOnly": true, + "type": "string" + }, + "updateTime": { + "description": "Output only. Time at which the request to update the `WorkerPool` was received.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + }, + "workerConfig": { + "$ref": "WorkerConfig", + "description": "Worker configuration for the `WorkerPool`." + } + }, + "type": "object" + } + }, + "servicePath": "", + "title": "Cloud Build API", + "version": "v1beta1", + "version_module": true +} \ No newline at end of file diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/cloudbuild.v2.json b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/cloudbuild.v2.json new file mode 100644 index 0000000000000000000000000000000000000000..34ebe4c7e4e83cb932e91d06f817c387836d03bb --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/cloudbuild.v2.json @@ -0,0 +1,3464 @@ +{ +"auth": { +"oauth2": { +"scopes": { +"https://www.googleapis.com/auth/cloud-platform": { +"description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." +} +} +} +}, +"basePath": "", +"baseUrl": "https://cloudbuild.googleapis.com/", +"batchPath": "batch", +"canonicalName": "Cloud Build", +"description": "Creates and manages builds on Google Cloud Platform.", +"discoveryVersion": "v1", +"documentationLink": "https://cloud.google.com/cloud-build/docs/", +"endpoints": [ +{ +"description": "Regional Endpoint", +"endpointUrl": "https://cloudbuild.africa-south1.rep.googleapis.com/", +"location": "africa-south1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://cloudbuild.asia-east1.rep.googleapis.com/", +"location": "asia-east1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://cloudbuild.asia-east2.rep.googleapis.com/", +"location": "asia-east2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://cloudbuild.asia-northeast1.rep.googleapis.com/", +"location": "asia-northeast1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://cloudbuild.asia-northeast2.rep.googleapis.com/", +"location": "asia-northeast2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://cloudbuild.asia-northeast3.rep.googleapis.com/", +"location": "asia-northeast3" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://cloudbuild.asia-south1.rep.googleapis.com/", +"location": "asia-south1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://cloudbuild.asia-south2.rep.googleapis.com/", +"location": "asia-south2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://cloudbuild.asia-southeast1.rep.googleapis.com/", +"location": "asia-southeast1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://cloudbuild.asia-southeast2.rep.googleapis.com/", +"location": "asia-southeast2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://cloudbuild.asia-southeast3.rep.googleapis.com/", +"location": "asia-southeast3" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://cloudbuild.australia-southeast1.rep.googleapis.com/", +"location": "australia-southeast1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://cloudbuild.australia-southeast2.rep.googleapis.com/", +"location": "australia-southeast2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://cloudbuild.europe-central2.rep.googleapis.com/", +"location": "europe-central2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://cloudbuild.europe-north1.rep.googleapis.com/", +"location": "europe-north1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://cloudbuild.europe-north2.rep.googleapis.com/", +"location": "europe-north2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://cloudbuild.europe-southwest1.rep.googleapis.com/", +"location": "europe-southwest1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://cloudbuild.europe-west1.rep.googleapis.com/", +"location": "europe-west1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://cloudbuild.europe-west10.rep.googleapis.com/", +"location": "europe-west10" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://cloudbuild.europe-west12.rep.googleapis.com/", +"location": "europe-west12" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://cloudbuild.europe-west2.rep.googleapis.com/", +"location": "europe-west2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://cloudbuild.europe-west3.rep.googleapis.com/", +"location": "europe-west3" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://cloudbuild.europe-west4.rep.googleapis.com/", +"location": "europe-west4" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://cloudbuild.europe-west6.rep.googleapis.com/", +"location": "europe-west6" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://cloudbuild.europe-west8.rep.googleapis.com/", +"location": "europe-west8" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://cloudbuild.europe-west9.rep.googleapis.com/", +"location": "europe-west9" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://cloudbuild.europe-west15.rep.googleapis.com/", +"location": "europe-west15" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://cloudbuild.me-central1.rep.googleapis.com/", +"location": "me-central1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://cloudbuild.me-central2.rep.googleapis.com/", +"location": "me-central2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://cloudbuild.me-west1.rep.googleapis.com/", +"location": "me-west1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://cloudbuild.northamerica-northeast1.rep.googleapis.com/", +"location": "northamerica-northeast1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://cloudbuild.northamerica-northeast2.rep.googleapis.com/", +"location": "northamerica-northeast2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://cloudbuild.northamerica-south1.rep.googleapis.com/", +"location": "northamerica-south1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://cloudbuild.southamerica-east1.rep.googleapis.com/", +"location": "southamerica-east1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://cloudbuild.southamerica-west1.rep.googleapis.com/", +"location": "southamerica-west1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://cloudbuild.us-central1.rep.googleapis.com/", +"location": "us-central1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://cloudbuild.us-central2.rep.googleapis.com/", +"location": "us-central2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://cloudbuild.us-east1.rep.googleapis.com/", +"location": "us-east1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://cloudbuild.us-east4.rep.googleapis.com/", +"location": "us-east4" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://cloudbuild.us-east5.rep.googleapis.com/", +"location": "us-east5" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://cloudbuild.us-east7.rep.googleapis.com/", +"location": "us-east7" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://cloudbuild.us-south1.rep.googleapis.com/", +"location": "us-south1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://cloudbuild.us-west1.rep.googleapis.com/", +"location": "us-west1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://cloudbuild.us-west2.rep.googleapis.com/", +"location": "us-west2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://cloudbuild.us-west3.rep.googleapis.com/", +"location": "us-west3" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://cloudbuild.us-west4.rep.googleapis.com/", +"location": "us-west4" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://cloudbuild.us-west8.rep.googleapis.com/", +"location": "us-west8" +} +], +"fullyEncodeReservedExpansion": true, +"icons": { +"x16": "http://www.google.com/images/icons/product/search-16.gif", +"x32": "http://www.google.com/images/icons/product/search-32.gif" +}, +"id": "cloudbuild:v2", +"kind": "discovery#restDescription", +"mtlsRootUrl": "https://cloudbuild.mtls.googleapis.com/", +"name": "cloudbuild", +"ownerDomain": "google.com", +"ownerName": "Google", +"parameters": { +"$.xgafv": { +"description": "V1 error format.", +"enum": [ +"1", +"2" +], +"enumDescriptions": [ +"v1 error format", +"v2 error format" +], +"location": "query", +"type": "string" +}, +"access_token": { +"description": "OAuth access token.", +"location": "query", +"type": "string" +}, +"alt": { +"default": "json", +"description": "Data format for response.", +"enum": [ +"json", +"media", +"proto" +], +"enumDescriptions": [ +"Responses with Content-Type of application/json", +"Media download with context-dependent Content-Type", +"Responses with Content-Type of application/x-protobuf" +], +"location": "query", +"type": "string" +}, +"callback": { +"description": "JSONP", +"location": "query", +"type": "string" +}, +"fields": { +"description": "Selector specifying which fields to include in a partial response.", +"location": "query", +"type": "string" +}, +"key": { +"description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", +"location": "query", +"type": "string" +}, +"oauth_token": { +"description": "OAuth 2.0 token for the current user.", +"location": "query", +"type": "string" +}, +"prettyPrint": { +"default": "true", +"description": "Returns response with indentations and line breaks.", +"location": "query", +"type": "boolean" +}, +"quotaUser": { +"description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.", +"location": "query", +"type": "string" +}, +"uploadType": { +"description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", +"location": "query", +"type": "string" +}, +"upload_protocol": { +"description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", +"location": "query", +"type": "string" +} +}, +"protocol": "rest", +"resources": { +"projects": { +"resources": { +"locations": { +"methods": { +"get": { +"description": "Gets information about a location.", +"flatPath": "v2/projects/{projectsId}/locations/{locationsId}", +"httpMethod": "GET", +"id": "cloudbuild.projects.locations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Resource name for the location.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+name}", +"response": { +"$ref": "Location" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists information about the supported locations for this service. This method can be called in two ways: * **List all public locations:** Use the path `GET /v1/locations`. * **List project-visible locations:** Use the path `GET /v1/projects/{project_id}/locations`. This may include public locations as well as private or other locations specifically visible to the project.", +"flatPath": "v2/projects/{projectsId}/locations", +"httpMethod": "GET", +"id": "cloudbuild.projects.locations.list", +"parameterOrder": [ +"name" +], +"parameters": { +"extraLocationTypes": { +"description": "Optional. Do not use this field. It is unsupported and is ignored unless explicitly documented otherwise. This is primarily for internal usage.", +"location": "query", +"repeated": true, +"type": "string" +}, +"filter": { +"description": "A filter to narrow down results to a preferred subset. The filtering language accepts strings like `\"displayName=tokyo\"`, and is documented in more detail in [AIP-160](https://google.aip.dev/160).", +"location": "query", +"type": "string" +}, +"name": { +"description": "The resource that owns the locations collection, if applicable.", +"location": "path", +"pattern": "^projects/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The maximum number of results to return. If not set, the service selects a default.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A page token received from the `next_page_token` field in the response. Send that page token to receive the subsequent page.", +"location": "query", +"type": "string" +} +}, +"path": "v2/{+name}/locations", +"response": { +"$ref": "ListLocationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"connections": { +"methods": { +"create": { +"description": "Creates a Connection.", +"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/connections", +"httpMethod": "POST", +"id": "cloudbuild.projects.locations.connections.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"connectionId": { +"description": "Required. The ID to use for the Connection, which will become the final component of the Connection's resource name. Names must be unique per-project per-location. Allows alphanumeric characters and any of -._~%!$&'()*+,;=@.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. Project and location where the connection will be created. Format: `projects/*/locations/*`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+parent}/connections", +"request": { +"$ref": "Connection" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a single connection.", +"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/connections/{connectionsId}", +"httpMethod": "DELETE", +"id": "cloudbuild.projects.locations.connections.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"etag": { +"description": "The current etag of the connection. If an etag is provided and does not match the current etag of the connection, deletion will be blocked and an ABORTED error will be returned.", +"location": "query", +"type": "string" +}, +"name": { +"description": "Required. The name of the Connection to delete. Format: `projects/*/locations/*/connections/*`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/connections/[^/]+$", +"required": true, +"type": "string" +}, +"validateOnly": { +"description": "If set, validate the request, but do not actually post it.", +"location": "query", +"type": "boolean" +} +}, +"path": "v2/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"fetchLinkableRepositories": { +"description": "FetchLinkableRepositories get repositories from SCM that are accessible and could be added to the connection.", +"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/connections/{connectionsId}:fetchLinkableRepositories", +"httpMethod": "GET", +"id": "cloudbuild.projects.locations.connections.fetchLinkableRepositories", +"parameterOrder": [ +"connection" +], +"parameters": { +"connection": { +"description": "Required. The name of the Connection. Format: `projects/*/locations/*/connections/*`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/connections/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "Number of results to return in the list. Default to 20.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Page start.", +"location": "query", +"type": "string" +} +}, +"path": "v2/{+connection}:fetchLinkableRepositories", +"response": { +"$ref": "FetchLinkableRepositoriesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets details of a single connection.", +"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/connections/{connectionsId}", +"httpMethod": "GET", +"id": "cloudbuild.projects.locations.connections.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the Connection to retrieve. Format: `projects/*/locations/*/connections/*`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/connections/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+name}", +"response": { +"$ref": "Connection" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"getIamPolicy": { +"description": "Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.", +"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/connections/{connectionsId}:getIamPolicy", +"httpMethod": "GET", +"id": "cloudbuild.projects.locations.connections.getIamPolicy", +"parameterOrder": [ +"resource" +], +"parameters": { +"options.requestedPolicyVersion": { +"description": "Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).", +"format": "int32", +"location": "query", +"type": "integer" +}, +"resource": { +"description": "REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/connections/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+resource}:getIamPolicy", +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists Connections in a given project and location.", +"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/connections", +"httpMethod": "GET", +"id": "cloudbuild.projects.locations.connections.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "Number of results to return in the list.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Page start.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent, which owns this collection of Connections. Format: `projects/*/locations/*`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +}, +"returnPartialSuccess": { +"description": "Optional. If set to true, the response will return partial results when some regions are unreachable. If set to false, the response will fail if any region is unreachable.", +"location": "query", +"type": "boolean" +} +}, +"path": "v2/{+parent}/connections", +"response": { +"$ref": "ListConnectionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates a single connection.", +"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/connections/{connectionsId}", +"httpMethod": "PATCH", +"id": "cloudbuild.projects.locations.connections.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"allowMissing": { +"description": "If set to true, and the connection is not found a new connection will be created. In this situation `update_mask` is ignored. The creation will succeed only if the input connection has all the necessary information (e.g a github_config with both user_oauth_token and installation_id properties).", +"location": "query", +"type": "boolean" +}, +"etag": { +"description": "The current etag of the connection. If an etag is provided and does not match the current etag of the connection, update will be blocked and an ABORTED error will be returned.", +"location": "query", +"type": "string" +}, +"name": { +"description": "Immutable. The resource name of the connection, in the format `projects/{project}/locations/{location}/connections/{connection_id}`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/connections/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "The list of fields to be updated.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v2/{+name}", +"request": { +"$ref": "Connection" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"processWebhook": { +"description": "ProcessWebhook is called by the external SCM for notifying of events.", +"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/connections:processWebhook", +"httpMethod": "POST", +"id": "cloudbuild.projects.locations.connections.processWebhook", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. Project and location where the webhook will be received. Format: `projects/*/locations/*`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +}, +"webhookKey": { +"description": "Arbitrary additional key to find the matching repository for a webhook event if needed.", +"location": "query", +"type": "string" +} +}, +"path": "v2/{+parent}/connections:processWebhook", +"request": { +"$ref": "HttpBody" +}, +"response": { +"$ref": "Empty" +} +}, +"setIamPolicy": { +"description": "Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.", +"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/connections/{connectionsId}:setIamPolicy", +"httpMethod": "POST", +"id": "cloudbuild.projects.locations.connections.setIamPolicy", +"parameterOrder": [ +"resource" +], +"parameters": { +"resource": { +"description": "REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/connections/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+resource}:setIamPolicy", +"request": { +"$ref": "SetIamPolicyRequest" +}, +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"testIamPermissions": { +"description": "Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may \"fail open\" without warning.", +"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/connections/{connectionsId}:testIamPermissions", +"httpMethod": "POST", +"id": "cloudbuild.projects.locations.connections.testIamPermissions", +"parameterOrder": [ +"resource" +], +"parameters": { +"resource": { +"description": "REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/connections/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+resource}:testIamPermissions", +"request": { +"$ref": "TestIamPermissionsRequest" +}, +"response": { +"$ref": "TestIamPermissionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"repositories": { +"methods": { +"accessReadToken": { +"description": "Fetches read token of a given repository.", +"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/connections/{connectionsId}/repositories/{repositoriesId}:accessReadToken", +"httpMethod": "POST", +"id": "cloudbuild.projects.locations.connections.repositories.accessReadToken", +"parameterOrder": [ +"repository" +], +"parameters": { +"repository": { +"description": "Required. The resource name of the repository in the format `projects/*/locations/*/connections/*/repositories/*`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/connections/[^/]+/repositories/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+repository}:accessReadToken", +"request": { +"$ref": "FetchReadTokenRequest" +}, +"response": { +"$ref": "FetchReadTokenResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"accessReadWriteToken": { +"description": "Fetches read/write token of a given repository.", +"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/connections/{connectionsId}/repositories/{repositoriesId}:accessReadWriteToken", +"httpMethod": "POST", +"id": "cloudbuild.projects.locations.connections.repositories.accessReadWriteToken", +"parameterOrder": [ +"repository" +], +"parameters": { +"repository": { +"description": "Required. The resource name of the repository in the format `projects/*/locations/*/connections/*/repositories/*`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/connections/[^/]+/repositories/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+repository}:accessReadWriteToken", +"request": { +"$ref": "FetchReadWriteTokenRequest" +}, +"response": { +"$ref": "FetchReadWriteTokenResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"batchCreate": { +"description": "Creates multiple repositories inside a connection.", +"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/connections/{connectionsId}/repositories:batchCreate", +"httpMethod": "POST", +"id": "cloudbuild.projects.locations.connections.repositories.batchCreate", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The connection to contain all the repositories being created. Format: projects/*/locations/*/connections/* The parent field in the CreateRepositoryRequest messages must either be empty or match this field.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/connections/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+parent}/repositories:batchCreate", +"request": { +"$ref": "BatchCreateRepositoriesRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"create": { +"description": "Creates a Repository.", +"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/connections/{connectionsId}/repositories", +"httpMethod": "POST", +"id": "cloudbuild.projects.locations.connections.repositories.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The connection to contain the repository. If the request is part of a BatchCreateRepositoriesRequest, this field should be empty or match the parent specified there.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/connections/[^/]+$", +"required": true, +"type": "string" +}, +"repositoryId": { +"description": "Required. The ID to use for the repository, which will become the final component of the repository's resource name. This ID should be unique in the connection. Allows alphanumeric characters and any of -._~%!$&'()*+,;=@.", +"location": "query", +"type": "string" +} +}, +"path": "v2/{+parent}/repositories", +"request": { +"$ref": "Repository" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a single repository.", +"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/connections/{connectionsId}/repositories/{repositoriesId}", +"httpMethod": "DELETE", +"id": "cloudbuild.projects.locations.connections.repositories.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"etag": { +"description": "The current etag of the repository. If an etag is provided and does not match the current etag of the repository, deletion will be blocked and an ABORTED error will be returned.", +"location": "query", +"type": "string" +}, +"name": { +"description": "Required. The name of the Repository to delete. Format: `projects/*/locations/*/connections/*/repositories/*`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/connections/[^/]+/repositories/[^/]+$", +"required": true, +"type": "string" +}, +"validateOnly": { +"description": "If set, validate the request, but do not actually post it.", +"location": "query", +"type": "boolean" +} +}, +"path": "v2/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"fetchGitRefs": { +"description": "Fetch the list of branches or tags for a given repository.", +"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/connections/{connectionsId}/repositories/{repositoriesId}:fetchGitRefs", +"httpMethod": "GET", +"id": "cloudbuild.projects.locations.connections.repositories.fetchGitRefs", +"parameterOrder": [ +"repository" +], +"parameters": { +"pageSize": { +"description": "Optional. Number of results to return in the list. Default to 20.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. Page start.", +"location": "query", +"type": "string" +}, +"refType": { +"description": "Type of refs to fetch", +"enum": [ +"REF_TYPE_UNSPECIFIED", +"TAG", +"BRANCH" +], +"enumDescriptions": [ +"No type specified.", +"To fetch tags.", +"To fetch branches." +], +"location": "query", +"type": "string" +}, +"repository": { +"description": "Required. The resource name of the repository in the format `projects/*/locations/*/connections/*/repositories/*`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/connections/[^/]+/repositories/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+repository}:fetchGitRefs", +"response": { +"$ref": "FetchGitRefsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets details of a single repository.", +"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/connections/{connectionsId}/repositories/{repositoriesId}", +"httpMethod": "GET", +"id": "cloudbuild.projects.locations.connections.repositories.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the Repository to retrieve. Format: `projects/*/locations/*/connections/*/repositories/*`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/connections/[^/]+/repositories/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+name}", +"response": { +"$ref": "Repository" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists Repositories in a given connection.", +"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/connections/{connectionsId}/repositories", +"httpMethod": "GET", +"id": "cloudbuild.projects.locations.connections.repositories.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "A filter expression that filters resources listed in the response. Expressions must follow API improvement proposal [AIP-160](https://google.aip.dev/160). e.g. `remote_uri:\"https://github.com*\"`.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Number of results to return in the list.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Page start.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent, which owns this collection of Repositories. Format: `projects/*/locations/*/connections/*`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/connections/[^/]+$", +"required": true, +"type": "string" +}, +"returnPartialSuccess": { +"description": "Optional. If set to true, the response will return partial results when some regions are unreachable. If set to false, the response will fail if any region is unreachable.", +"location": "query", +"type": "boolean" +} +}, +"path": "v2/{+parent}/repositories", +"response": { +"$ref": "ListRepositoriesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +}, +"operations": { +"methods": { +"cancel": { +"description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.", +"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}:cancel", +"httpMethod": "POST", +"id": "cloudbuild.projects.locations.operations.cancel", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be cancelled.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+name}:cancel", +"request": { +"$ref": "CancelOperationRequest" +}, +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", +"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}", +"httpMethod": "GET", +"id": "cloudbuild.projects.locations.operations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +} +} +} +}, +"revision": "20260126", +"rootUrl": "https://cloudbuild.googleapis.com/", +"schemas": { +"AuditConfig": { +"description": "Specifies the audit configuration for a service. The configuration determines which permission types are logged, and what identities, if any, are exempted from logging. An AuditConfig must have one or more AuditLogConfigs. If there are AuditConfigs for both `allServices` and a specific service, the union of the two AuditConfigs is used for that service: the log_types specified in each AuditConfig are enabled, and the exempted_members in each AuditLogConfig are exempted. Example Policy with multiple AuditConfigs: { \"audit_configs\": [ { \"service\": \"allServices\", \"audit_log_configs\": [ { \"log_type\": \"DATA_READ\", \"exempted_members\": [ \"user:jose@example.com\" ] }, { \"log_type\": \"DATA_WRITE\" }, { \"log_type\": \"ADMIN_READ\" } ] }, { \"service\": \"sampleservice.googleapis.com\", \"audit_log_configs\": [ { \"log_type\": \"DATA_READ\" }, { \"log_type\": \"DATA_WRITE\", \"exempted_members\": [ \"user:aliya@example.com\" ] } ] } ] } For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also exempts `jose@example.com` from DATA_READ logging, and `aliya@example.com` from DATA_WRITE logging.", +"id": "AuditConfig", +"properties": { +"auditLogConfigs": { +"description": "The configuration for logging of each type of permission.", +"items": { +"$ref": "AuditLogConfig" +}, +"type": "array" +}, +"service": { +"description": "Specifies a service that will be enabled for audit logging. For example, `storage.googleapis.com`, `cloudsql.googleapis.com`. `allServices` is a special value that covers all services.", +"type": "string" +} +}, +"type": "object" +}, +"AuditLogConfig": { +"description": "Provides the configuration for logging a type of permissions. Example: { \"audit_log_configs\": [ { \"log_type\": \"DATA_READ\", \"exempted_members\": [ \"user:jose@example.com\" ] }, { \"log_type\": \"DATA_WRITE\" } ] } This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting jose@example.com from DATA_READ logging.", +"id": "AuditLogConfig", +"properties": { +"exemptedMembers": { +"description": "Specifies the identities that do not cause logging for this type of permission. Follows the same format of Binding.members.", +"items": { +"type": "string" +}, +"type": "array" +}, +"logType": { +"description": "The log type that this config enables.", +"enum": [ +"LOG_TYPE_UNSPECIFIED", +"ADMIN_READ", +"DATA_WRITE", +"DATA_READ" +], +"enumDescriptions": [ +"Default case. Should never be this.", +"Admin reads. Example: CloudIAM getIamPolicy", +"Data writes. Example: CloudSQL Users create", +"Data reads. Example: CloudSQL Users list" +], +"type": "string" +} +}, +"type": "object" +}, +"BatchCreateRepositoriesRequest": { +"description": "Message for creating repositoritories in batch.", +"id": "BatchCreateRepositoriesRequest", +"properties": { +"requests": { +"description": "Required. The request messages specifying the repositories to create.", +"items": { +"$ref": "CreateRepositoryRequest" +}, +"type": "array" +} +}, +"type": "object" +}, +"BatchCreateRepositoriesResponse": { +"description": "Message for response of creating repositories in batch.", +"id": "BatchCreateRepositoriesResponse", +"properties": { +"repositories": { +"description": "Repository resources created.", +"items": { +"$ref": "Repository" +}, +"type": "array" +} +}, +"type": "object" +}, +"Binding": { +"description": "Associates `members`, or principals, with a `role`.", +"id": "Binding", +"properties": { +"condition": { +"$ref": "Expr", +"description": "The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies)." +}, +"members": { +"description": "Specifies the principals requesting access for a Google Cloud resource. `members` can have the following values: * `allUsers`: A special identifier that represents anyone who is on the internet; with or without a Google account. * `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service account. Does not include identities that come from external identity providers (IdPs) through identity federation. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `group:{emailid}`: An email address that represents a Google group. For example, `admins@example.com`. * `domain:{domain}`: The G Suite domain (primary) that represents all the users of that domain. For example, `google.com` or `example.com`. * `principal://iam.googleapis.com/locations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}`: A single identity in a workforce identity pool. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/group/{group_id}`: All workforce identities in a group. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/attribute.{attribute_name}/{attribute_value}`: All workforce identities with a specific attribute value. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/*`: All identities in a workforce identity pool. * `principal://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/subject/{subject_attribute_value}`: A single identity in a workload identity pool. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/group/{group_id}`: A workload identity pool group. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/attribute.{attribute_name}/{attribute_value}`: All identities in a workload identity pool with a certain attribute. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/*`: All identities in a workload identity pool. * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a user that has been recently deleted. For example, `alice@example.com?uid=123456789012345678901`. If the user is recovered, this value reverts to `user:{emailid}` and the recovered user retains the role in the binding. * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a service account that has been recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the service account is undeleted, this value reverts to `serviceAccount:{emailid}` and the undeleted service account retains the role in the binding. * `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a Google group that has been recently deleted. For example, `admins@example.com?uid=123456789012345678901`. If the group is recovered, this value reverts to `group:{emailid}` and the recovered group retains the role in the binding. * `deleted:principal://iam.googleapis.com/locations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}`: Deleted single identity in a workforce identity pool. For example, `deleted:principal://iam.googleapis.com/locations/global/workforcePools/my-pool-id/subject/my-subject-attribute-value`.", +"items": { +"type": "string" +}, +"type": "array" +}, +"role": { +"description": "Role that is assigned to the list of `members`, or principals. For example, `roles/viewer`, `roles/editor`, or `roles/owner`. For an overview of the IAM roles and permissions, see the [IAM documentation](https://cloud.google.com/iam/docs/roles-overview). For a list of the available pre-defined roles, see [here](https://cloud.google.com/iam/docs/understanding-roles).", +"type": "string" +} +}, +"type": "object" +}, +"BitbucketCloudConfig": { +"description": "Configuration for connections to Bitbucket Cloud.", +"id": "BitbucketCloudConfig", +"properties": { +"authorizerCredential": { +"$ref": "UserCredential", +"description": "Required. An access token with the `webhook`, `repository`, `repository:admin` and `pullrequest` scope access. It can be either a workspace, project or repository access token. It's recommended to use a system account to generate these credentials." +}, +"readAuthorizerCredential": { +"$ref": "UserCredential", +"description": "Required. An access token with the `repository` access. It can be either a workspace, project or repository access token. It's recommended to use a system account to generate the credentials." +}, +"webhookSecretSecretVersion": { +"description": "Required. SecretManager resource containing the webhook secret used to verify webhook events, formatted as `projects/*/secrets/*/versions/*`.", +"type": "string" +}, +"workspace": { +"description": "Required. The Bitbucket Cloud Workspace ID to be connected to Google Cloud Platform.", +"type": "string" +} +}, +"type": "object" +}, +"BitbucketDataCenterConfig": { +"description": "Configuration for connections to Bitbucket Data Center.", +"id": "BitbucketDataCenterConfig", +"properties": { +"authorizerCredential": { +"$ref": "UserCredential", +"description": "Required. A http access token with the `REPO_ADMIN` scope access." +}, +"hostUri": { +"description": "Required. The URI of the Bitbucket Data Center instance or cluster this connection is for.", +"type": "string" +}, +"readAuthorizerCredential": { +"$ref": "UserCredential", +"description": "Required. A http access token with the `REPO_READ` access." +}, +"serverVersion": { +"description": "Output only. Version of the Bitbucket Data Center running on the `host_uri`.", +"readOnly": true, +"type": "string" +}, +"serviceDirectoryConfig": { +"$ref": "GoogleDevtoolsCloudbuildV2ServiceDirectoryConfig", +"description": "Optional. Configuration for using Service Directory to privately connect to a Bitbucket Data Center. This should only be set if the Bitbucket Data Center is hosted on-premises and not reachable by public internet. If this field is left empty, calls to the Bitbucket Data Center will be made over the public internet." +}, +"sslCa": { +"description": "Optional. SSL certificate to use for requests to the Bitbucket Data Center.", +"type": "string" +}, +"webhookSecretSecretVersion": { +"description": "Required. Immutable. SecretManager resource containing the webhook secret used to verify webhook events, formatted as `projects/*/secrets/*/versions/*`.", +"type": "string" +} +}, +"type": "object" +}, +"CancelOperationRequest": { +"description": "The request message for Operations.CancelOperation.", +"id": "CancelOperationRequest", +"properties": {}, +"type": "object" +}, +"ChildStatusReference": { +"description": "ChildStatusReference is used to point to the statuses of individual TaskRuns and Runs within this PipelineRun.", +"id": "ChildStatusReference", +"properties": { +"name": { +"description": "Name is the name of the TaskRun or Run this is referencing.", +"type": "string" +}, +"pipelineTaskName": { +"description": "PipelineTaskName is the name of the PipelineTask this is referencing.", +"type": "string" +}, +"type": { +"description": "Output only. Type of the child reference.", +"enum": [ +"TYPE_UNSPECIFIED", +"TASK_RUN" +], +"enumDescriptions": [ +"Default enum type; should not be used.", +"TaskRun." +], +"readOnly": true, +"type": "string" +}, +"whenExpressions": { +"description": "WhenExpressions is the list of checks guarding the execution of the PipelineTask", +"items": { +"$ref": "WhenExpression" +}, +"type": "array" +} +}, +"type": "object" +}, +"Connection": { +"description": "A connection to a SCM like GitHub, GitHub Enterprise, Bitbucket Data Center, Bitbucket Cloud or GitLab.", +"id": "Connection", +"properties": { +"annotations": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. Allows clients to store small amounts of arbitrary data.", +"type": "object" +}, +"bitbucketCloudConfig": { +"$ref": "BitbucketCloudConfig", +"description": "Configuration for connections to Bitbucket Cloud." +}, +"bitbucketDataCenterConfig": { +"$ref": "BitbucketDataCenterConfig", +"description": "Configuration for connections to Bitbucket Data Center." +}, +"createTime": { +"description": "Output only. Server assigned timestamp for when the connection was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"disabled": { +"description": "Optional. If disabled is set to true, functionality is disabled for this connection. Repository based API methods and webhooks processing for repositories in this connection will be disabled.", +"type": "boolean" +}, +"etag": { +"description": "This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.", +"type": "string" +}, +"githubConfig": { +"$ref": "GitHubConfig", +"description": "Configuration for connections to github.com." +}, +"githubEnterpriseConfig": { +"$ref": "GoogleDevtoolsCloudbuildV2GitHubEnterpriseConfig", +"description": "Configuration for connections to an instance of GitHub Enterprise." +}, +"gitlabConfig": { +"$ref": "GoogleDevtoolsCloudbuildV2GitLabConfig", +"description": "Configuration for connections to gitlab.com or an instance of GitLab Enterprise." +}, +"installationState": { +"$ref": "InstallationState", +"description": "Output only. Installation state of the Connection.", +"readOnly": true +}, +"name": { +"description": "Immutable. The resource name of the connection, in the format `projects/{project}/locations/{location}/connections/{connection_id}`.", +"type": "string" +}, +"reconciling": { +"description": "Output only. Set to true when the connection is being set up or updated in the background.", +"readOnly": true, +"type": "boolean" +}, +"updateTime": { +"description": "Output only. Server assigned timestamp for when the connection was updated.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"CreateRepositoryRequest": { +"description": "Message for creating a Repository.", +"id": "CreateRepositoryRequest", +"properties": { +"parent": { +"description": "Required. The connection to contain the repository. If the request is part of a BatchCreateRepositoriesRequest, this field should be empty or match the parent specified there.", +"type": "string" +}, +"repository": { +"$ref": "Repository", +"description": "Required. The repository to create." +}, +"repositoryId": { +"description": "Required. The ID to use for the repository, which will become the final component of the repository's resource name. This ID should be unique in the connection. Allows alphanumeric characters and any of -._~%!$&'()*+,;=@.", +"type": "string" +} +}, +"type": "object" +}, +"EmbeddedTask": { +"description": "EmbeddedTask defines a Task that is embedded in a Pipeline.", +"id": "EmbeddedTask", +"properties": { +"annotations": { +"additionalProperties": { +"type": "string" +}, +"description": "User annotations. See https://google.aip.dev/128#annotations", +"type": "object" +}, +"taskSpec": { +"$ref": "TaskSpec", +"description": "Spec to instantiate this TaskRun." +} +}, +"type": "object" +}, +"Empty": { +"description": "A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }", +"id": "Empty", +"properties": {}, +"type": "object" +}, +"EmptyDirVolumeSource": { +"description": "Represents an empty Volume source.", +"id": "EmptyDirVolumeSource", +"properties": {}, +"type": "object" +}, +"EnvVar": { +"description": "Environment variable.", +"id": "EnvVar", +"properties": { +"name": { +"description": "Name of the environment variable.", +"type": "string" +}, +"value": { +"description": "Value of the environment variable.", +"type": "string" +} +}, +"type": "object" +}, +"ExecAction": { +"description": "ExecAction describes a \"run in container\" action.", +"id": "ExecAction", +"properties": { +"command": { +"description": "Optional. Command is the command line to execute inside the container, the working directory for the command is root ('/') in the container's filesystem. The command is simply exec'd, it is not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use a shell, you need to explicitly call out to that shell. Exit status of 0 is treated as live/healthy and non-zero is unhealthy. +optional", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"Expr": { +"description": "Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: \"Summary size limit\" description: \"Determines if a summary is less than 100 chars\" expression: \"document.summary.size() < 100\" Example (Equality): title: \"Requestor is owner\" description: \"Determines if requestor is the document owner\" expression: \"document.owner == request.auth.claims.email\" Example (Logic): title: \"Public documents\" description: \"Determine whether the document should be publicly visible\" expression: \"document.type != 'private' && document.type != 'internal'\" Example (Data Manipulation): title: \"Notification string\" description: \"Create a notification string with a timestamp.\" expression: \"'New message received at ' + string(document.create_time)\" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information.", +"id": "Expr", +"properties": { +"description": { +"description": "Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI.", +"type": "string" +}, +"expression": { +"description": "Textual representation of an expression in Common Expression Language syntax.", +"type": "string" +}, +"location": { +"description": "Optional. String indicating the location of the expression for error reporting, e.g. a file name and a position in the file.", +"type": "string" +}, +"title": { +"description": "Optional. Title for the expression, i.e. a short string describing its purpose. This can be used e.g. in UIs which allow to enter the expression.", +"type": "string" +} +}, +"type": "object" +}, +"FetchGitRefsResponse": { +"description": "Response for fetching git refs", +"id": "FetchGitRefsResponse", +"properties": { +"nextPageToken": { +"description": "A token identifying a page of results the server should return.", +"type": "string" +}, +"refNames": { +"description": "Name of the refs fetched.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"FetchLinkableRepositoriesResponse": { +"description": "Response message for FetchLinkableRepositories.", +"id": "FetchLinkableRepositoriesResponse", +"properties": { +"nextPageToken": { +"description": "A token identifying a page of results the server should return.", +"type": "string" +}, +"repositories": { +"description": "repositories ready to be created.", +"items": { +"$ref": "Repository" +}, +"type": "array" +} +}, +"type": "object" +}, +"FetchReadTokenRequest": { +"description": "Message for fetching SCM read token.", +"id": "FetchReadTokenRequest", +"properties": {}, +"type": "object" +}, +"FetchReadTokenResponse": { +"description": "Message for responding to get read token.", +"id": "FetchReadTokenResponse", +"properties": { +"expirationTime": { +"description": "Expiration timestamp. Can be empty if unknown or non-expiring.", +"format": "google-datetime", +"type": "string" +}, +"token": { +"description": "The token content.", +"type": "string" +} +}, +"type": "object" +}, +"FetchReadWriteTokenRequest": { +"description": "Message for fetching SCM read/write token.", +"id": "FetchReadWriteTokenRequest", +"properties": {}, +"type": "object" +}, +"FetchReadWriteTokenResponse": { +"description": "Message for responding to get read/write token.", +"id": "FetchReadWriteTokenResponse", +"properties": { +"expirationTime": { +"description": "Expiration timestamp. Can be empty if unknown or non-expiring.", +"format": "google-datetime", +"type": "string" +}, +"token": { +"description": "The token content.", +"type": "string" +} +}, +"type": "object" +}, +"GitHubConfig": { +"description": "Configuration for connections to github.com.", +"id": "GitHubConfig", +"properties": { +"appInstallationId": { +"description": "Optional. GitHub App installation id.", +"format": "int64", +"type": "string" +}, +"authorizerCredential": { +"$ref": "OAuthCredential", +"description": "Optional. OAuth credential of the account that authorized the Cloud Build GitHub App. It is recommended to use a robot account instead of a human user account. The OAuth token must be tied to the Cloud Build GitHub App." +} +}, +"type": "object" +}, +"GoogleDevtoolsCloudbuildV2Condition": { +"description": "Conditions defines a readiness condition for a Knative resource.", +"id": "GoogleDevtoolsCloudbuildV2Condition", +"properties": { +"lastTransitionTime": { +"description": "LastTransitionTime is the last time the condition transitioned from one status to another.", +"format": "google-datetime", +"type": "string" +}, +"message": { +"description": "A human readable message indicating details about the transition.", +"type": "string" +}, +"reason": { +"description": "The reason for the condition's last transition.", +"type": "string" +}, +"severity": { +"description": "Severity with which to treat failures of this type of condition.", +"enum": [ +"SEVERITY_UNSPECIFIED", +"WARNING", +"INFO" +], +"enumDescriptions": [ +"Default enum type; should not be used.", +"Severity is warning.", +"Severity is informational only." +], +"type": "string" +}, +"status": { +"description": "Status of the condition.", +"enum": [ +"UNKNOWN", +"TRUE", +"FALSE" +], +"enumDescriptions": [ +"Default enum type indicating execution is still ongoing.", +"Success", +"Failure" +], +"type": "string" +}, +"type": { +"description": "Type of condition.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleDevtoolsCloudbuildV2GitHubEnterpriseConfig": { +"description": "Configuration for connections to an instance of GitHub Enterprise.", +"id": "GoogleDevtoolsCloudbuildV2GitHubEnterpriseConfig", +"properties": { +"apiKey": { +"description": "Required. API Key used for authentication of webhook events.", +"type": "string" +}, +"appId": { +"description": "Optional. Id of the GitHub App created from the manifest.", +"format": "int64", +"type": "string" +}, +"appInstallationId": { +"description": "Optional. ID of the installation of the GitHub App.", +"format": "int64", +"type": "string" +}, +"appSlug": { +"description": "Optional. The URL-friendly name of the GitHub App.", +"type": "string" +}, +"hostUri": { +"description": "Required. The URI of the GitHub Enterprise host this connection is for.", +"type": "string" +}, +"privateKeySecretVersion": { +"description": "Optional. SecretManager resource containing the private key of the GitHub App, formatted as `projects/*/secrets/*/versions/*`.", +"type": "string" +}, +"serverVersion": { +"description": "Output only. GitHub Enterprise version installed at the host_uri.", +"readOnly": true, +"type": "string" +}, +"serviceDirectoryConfig": { +"$ref": "GoogleDevtoolsCloudbuildV2ServiceDirectoryConfig", +"description": "Optional. Configuration for using Service Directory to privately connect to a GitHub Enterprise server. This should only be set if the GitHub Enterprise server is hosted on-premises and not reachable by public internet. If this field is left empty, calls to the GitHub Enterprise server will be made over the public internet." +}, +"sslCa": { +"description": "Optional. SSL certificate to use for requests to GitHub Enterprise.", +"type": "string" +}, +"webhookSecretSecretVersion": { +"description": "Optional. SecretManager resource containing the webhook secret of the GitHub App, formatted as `projects/*/secrets/*/versions/*`.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleDevtoolsCloudbuildV2GitLabConfig": { +"description": "Configuration for connections to gitlab.com or an instance of GitLab Enterprise.", +"id": "GoogleDevtoolsCloudbuildV2GitLabConfig", +"properties": { +"authorizerCredential": { +"$ref": "UserCredential", +"description": "Required. A GitLab personal access token with the `api` scope access." +}, +"hostUri": { +"description": "Optional. The URI of the GitLab Enterprise host this connection is for. If not specified, the default value is https://gitlab.com.", +"type": "string" +}, +"readAuthorizerCredential": { +"$ref": "UserCredential", +"description": "Required. A GitLab personal access token with the minimum `read_api` scope access." +}, +"serverVersion": { +"description": "Output only. Version of the GitLab Enterprise server running on the `host_uri`.", +"readOnly": true, +"type": "string" +}, +"serviceDirectoryConfig": { +"$ref": "GoogleDevtoolsCloudbuildV2ServiceDirectoryConfig", +"description": "Optional. Configuration for using Service Directory to privately connect to a GitLab Enterprise server. This should only be set if the GitLab Enterprise server is hosted on-premises and not reachable by public internet. If this field is left empty, calls to the GitLab Enterprise server will be made over the public internet." +}, +"sslCa": { +"description": "Optional. SSL certificate to use for requests to GitLab Enterprise.", +"type": "string" +}, +"webhookSecretSecretVersion": { +"description": "Required. Immutable. SecretManager resource containing the webhook secret of a GitLab Enterprise project, formatted as `projects/*/secrets/*/versions/*`.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleDevtoolsCloudbuildV2OperationMetadata": { +"description": "Represents the metadata of the long-running operation.", +"id": "GoogleDevtoolsCloudbuildV2OperationMetadata", +"properties": { +"apiVersion": { +"description": "Output only. API version used to start the operation.", +"readOnly": true, +"type": "string" +}, +"createTime": { +"description": "Output only. The time the operation was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"endTime": { +"description": "Output only. The time the operation finished running.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"requestedCancellation": { +"description": "Output only. Identifies whether the user has requested cancellation of the operation. Operations that have successfully been cancelled have Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.", +"readOnly": true, +"type": "boolean" +}, +"statusMessage": { +"description": "Output only. Human-readable status of the operation, if any.", +"readOnly": true, +"type": "string" +}, +"target": { +"description": "Output only. Server-defined resource path for the target of the operation.", +"readOnly": true, +"type": "string" +}, +"verb": { +"description": "Output only. Name of the verb executed by the operation.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleDevtoolsCloudbuildV2ServiceDirectoryConfig": { +"description": "ServiceDirectoryConfig represents Service Directory configuration for a connection.", +"id": "GoogleDevtoolsCloudbuildV2ServiceDirectoryConfig", +"properties": { +"service": { +"description": "Required. The Service Directory service name. Format: projects/{project}/locations/{location}/namespaces/{namespace}/services/{service}.", +"type": "string" +} +}, +"type": "object" +}, +"HttpBody": { +"description": "Message that represents an arbitrary HTTP body. It should only be used for payload formats that can't be represented as JSON, such as raw binary or an HTML page. This message can be used both in streaming and non-streaming API methods in the request as well as the response. It can be used as a top-level request field, which is convenient if one wants to extract parameters from either the URL or HTTP template into the request fields and also want access to the raw HTTP body. Example: message GetResourceRequest { // A unique request id. string request_id = 1; // The raw HTTP body is bound to this field. google.api.HttpBody http_body = 2; } service ResourceService { rpc GetResource(GetResourceRequest) returns (google.api.HttpBody); rpc UpdateResource(google.api.HttpBody) returns (google.protobuf.Empty); } Example with streaming methods: service CaldavService { rpc GetCalendar(stream google.api.HttpBody) returns (stream google.api.HttpBody); rpc UpdateCalendar(stream google.api.HttpBody) returns (stream google.api.HttpBody); } Use of this type only changes how the request and response bodies are handled, all other features will continue to work unchanged.", +"id": "HttpBody", +"properties": { +"contentType": { +"description": "The HTTP Content-Type header value specifying the content type of the body.", +"type": "string" +}, +"data": { +"description": "The HTTP request/response body as raw binary.", +"format": "byte", +"type": "string" +}, +"extensions": { +"description": "Application specific response metadata. Must be set in the first response for streaming APIs.", +"items": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"type": "object" +}, +"type": "array" +} +}, +"type": "object" +}, +"InstallationState": { +"description": "Describes stage and necessary actions to be taken by the user to complete the installation. Used for GitHub and GitHub Enterprise based connections.", +"id": "InstallationState", +"properties": { +"actionUri": { +"description": "Output only. Link to follow for next action. Empty string if the installation is already complete.", +"readOnly": true, +"type": "string" +}, +"message": { +"description": "Output only. Message of what the user should do next to continue the installation. Empty string if the installation is already complete.", +"readOnly": true, +"type": "string" +}, +"stage": { +"description": "Output only. Current step of the installation process.", +"enum": [ +"STAGE_UNSPECIFIED", +"PENDING_CREATE_APP", +"PENDING_USER_OAUTH", +"PENDING_INSTALL_APP", +"COMPLETE" +], +"enumDescriptions": [ +"No stage specified.", +"Only for GitHub Enterprise. An App creation has been requested. The user needs to confirm the creation in their GitHub enterprise host.", +"User needs to authorize the GitHub (or Enterprise) App via OAuth.", +"User needs to follow the link to install the GitHub (or Enterprise) App.", +"Installation process has been completed." +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"ListConnectionsResponse": { +"description": "Message for response to listing Connections.", +"id": "ListConnectionsResponse", +"properties": { +"connections": { +"description": "The list of Connections.", +"items": { +"$ref": "Connection" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A token identifying a page of results the server should return.", +"type": "string" +}, +"unreachable": { +"description": "Locations that could not be reached.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListLocationsResponse": { +"description": "The response message for Locations.ListLocations.", +"id": "ListLocationsResponse", +"properties": { +"locations": { +"description": "A list of locations that matches the specified filter in the request.", +"items": { +"$ref": "Location" +}, +"type": "array" +}, +"nextPageToken": { +"description": "The standard List next-page token.", +"type": "string" +} +}, +"type": "object" +}, +"ListRepositoriesResponse": { +"description": "Message for response to listing Repositories.", +"id": "ListRepositoriesResponse", +"properties": { +"nextPageToken": { +"description": "A token identifying a page of results the server should return.", +"type": "string" +}, +"repositories": { +"description": "The list of Repositories.", +"items": { +"$ref": "Repository" +}, +"type": "array" +}, +"unreachable": { +"description": "Locations that could not be reached.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"Location": { +"description": "A resource that represents a Google Cloud location.", +"id": "Location", +"properties": { +"displayName": { +"description": "The friendly name for this location, typically a nearby city name. For example, \"Tokyo\".", +"type": "string" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Cross-service attributes for the location. For example {\"cloud.googleapis.com/region\": \"us-east1\"}", +"type": "object" +}, +"locationId": { +"description": "The canonical id for this location. For example: `\"us-east1\"`.", +"type": "string" +}, +"metadata": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "Service-specific metadata. For example the available capacity at the given location.", +"type": "object" +}, +"name": { +"description": "Resource name for the location, which may vary between implementations. For example: `\"projects/example-project/locations/us-east1\"`", +"type": "string" +} +}, +"type": "object" +}, +"OAuthCredential": { +"description": "Represents an OAuth token of the account that authorized the Connection, and associated metadata.", +"id": "OAuthCredential", +"properties": { +"oauthTokenSecretVersion": { +"description": "Optional. A SecretManager resource containing the OAuth token that authorizes the Cloud Build connection. Format: `projects/*/secrets/*/versions/*`.", +"type": "string" +}, +"username": { +"description": "Output only. The username associated to this token.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"Operation": { +"description": "This resource represents a long-running operation that is the result of a network API call.", +"id": "Operation", +"properties": { +"done": { +"description": "If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.", +"type": "boolean" +}, +"error": { +"$ref": "Status", +"description": "The error result of the operation in case of failure or cancellation." +}, +"metadata": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.", +"type": "object" +}, +"name": { +"description": "The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.", +"type": "string" +}, +"response": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "The normal, successful response of the operation. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.", +"type": "object" +} +}, +"type": "object" +}, +"OperationMetadata": { +"description": "Represents the metadata of the long-running operation.", +"id": "OperationMetadata", +"properties": { +"apiVersion": { +"description": "Output only. API version used to start the operation.", +"readOnly": true, +"type": "string" +}, +"cancelRequested": { +"description": "Output only. Identifies whether the user has requested cancellation of the operation. Operations that have been cancelled successfully have google.longrunning.Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.", +"readOnly": true, +"type": "boolean" +}, +"createTime": { +"description": "Output only. The time the operation was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"endTime": { +"description": "Output only. The time the operation finished running.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"statusDetail": { +"description": "Output only. Human-readable status of the operation, if any.", +"readOnly": true, +"type": "string" +}, +"target": { +"description": "Output only. Server-defined resource path for the target of the operation.", +"readOnly": true, +"type": "string" +}, +"verb": { +"description": "Output only. Name of the verb executed by the operation.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"Param": { +"description": "Param defined with name and value. PipelineRef can be used to refer to a specific instance of a Pipeline.", +"id": "Param", +"properties": { +"name": { +"description": "Name of the parameter.", +"type": "string" +}, +"value": { +"$ref": "ParamValue", +"description": "Value of the parameter." +} +}, +"type": "object" +}, +"ParamSpec": { +"description": "ParamSpec defines parameters needed beyond typed inputs (such as resources). Parameter values are provided by users as inputs on a TaskRun or PipelineRun.", +"id": "ParamSpec", +"properties": { +"default": { +"$ref": "ParamValue", +"description": "The default value a parameter takes if no input value is supplied" +}, +"description": { +"description": "Description of the ParamSpec", +"type": "string" +}, +"name": { +"description": "Name of the ParamSpec", +"type": "string" +}, +"type": { +"description": "Type of ParamSpec", +"enum": [ +"TYPE_UNSPECIFIED", +"STRING", +"ARRAY", +"OBJECT" +], +"enumDescriptions": [ +"Default enum type; should not be used.", +"Default", +"Array type.", +"Object type." +], +"type": "string" +} +}, +"type": "object" +}, +"ParamValue": { +"description": "Parameter value.", +"id": "ParamValue", +"properties": { +"arrayVal": { +"description": "Value of the parameter if type is array.", +"items": { +"type": "string" +}, +"type": "array" +}, +"objectVal": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. Value of the parameter if type is object.", +"type": "object" +}, +"stringVal": { +"description": "Value of the parameter if type is string.", +"type": "string" +}, +"type": { +"description": "Type of parameter.", +"enum": [ +"TYPE_UNSPECIFIED", +"STRING", +"ARRAY", +"OBJECT" +], +"enumDescriptions": [ +"Default enum type; should not be used.", +"Default", +"Array type", +"Object type" +], +"type": "string" +} +}, +"type": "object" +}, +"PipelineRef": { +"description": "PipelineRef can be used to refer to a specific instance of a Pipeline.", +"id": "PipelineRef", +"properties": { +"name": { +"description": "Optional. Name of the Pipeline.", +"type": "string" +}, +"params": { +"description": "Params contains the parameters used to identify the referenced Tekton resource. Example entries might include \"repo\" or \"path\" but the set of params ultimately depends on the chosen resolver.", +"items": { +"$ref": "Param" +}, +"type": "array" +}, +"resolver": { +"description": "Resolver is the name of the resolver that should perform resolution of the referenced Tekton resource.", +"enum": [ +"RESOLVER_NAME_UNSPECIFIED", +"BUNDLES", +"GCB_REPO", +"GIT", +"DEVELOPER_CONNECT", +"DEFAULT" +], +"enumDescriptions": [ +"Default enum type; should not be used.", +"Bundles resolver. https://tekton.dev/docs/pipelines/bundle-resolver/", +"GCB repo resolver.", +"Simple Git resolver. https://tekton.dev/docs/pipelines/git-resolver/", +"Developer Connect resolver.", +"Default resolver." +], +"type": "string" +} +}, +"type": "object" +}, +"PipelineResult": { +"description": "A value produced by a Pipeline.", +"id": "PipelineResult", +"properties": { +"description": { +"description": "Output only. Description of the result.", +"readOnly": true, +"type": "string" +}, +"name": { +"description": "Output only. Name of the result.", +"readOnly": true, +"type": "string" +}, +"type": { +"description": "Output only. The type of data that the result holds.", +"enum": [ +"TYPE_UNSPECIFIED", +"STRING", +"ARRAY", +"OBJECT" +], +"enumDescriptions": [ +"Default enum type; should not be used.", +"Default", +"Array type", +"Object type" +], +"readOnly": true, +"type": "string" +}, +"value": { +"$ref": "ResultValue", +"description": "Output only. Value of the result.", +"readOnly": true +} +}, +"type": "object" +}, +"PipelineRun": { +"description": "Message describing PipelineRun object", +"id": "PipelineRun", +"properties": { +"annotations": { +"additionalProperties": { +"type": "string" +}, +"description": "User annotations. See https://google.aip.dev/128#annotations", +"type": "object" +}, +"childReferences": { +"description": "Output only. List of TaskRun and Run names and PipelineTask names for children of this PipelineRun.", +"items": { +"$ref": "ChildStatusReference" +}, +"readOnly": true, +"type": "array" +}, +"completionTime": { +"description": "Output only. Time the pipeline completed.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"conditions": { +"description": "Output only. Kubernetes Conditions convention for PipelineRun status and error.", +"items": { +"$ref": "GoogleDevtoolsCloudbuildV2Condition" +}, +"readOnly": true, +"type": "array" +}, +"createTime": { +"description": "Output only. Time at which the request to create the `PipelineRun` was received.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"etag": { +"description": "Needed for declarative-friendly resources.", +"type": "string" +}, +"finallyStartTime": { +"description": "Output only. FinallyStartTime is when all non-finally tasks have been completed and only finally tasks are being executed. +optional", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"gcbParams": { +"additionalProperties": { +"type": "string" +}, +"description": "Output only. GCB default params.", +"readOnly": true, +"type": "object" +}, +"name": { +"description": "Output only. The `PipelineRun` name with format `projects/{project}/locations/{location}/pipelineRuns/{pipeline_run}`", +"readOnly": true, +"type": "string" +}, +"params": { +"description": "Params is a list of parameter names and values.", +"items": { +"$ref": "Param" +}, +"type": "array" +}, +"pipelineRef": { +"$ref": "PipelineRef", +"description": "PipelineRef refer to a specific instance of a Pipeline." +}, +"pipelineRunStatus": { +"description": "Pipelinerun status the user can provide. Used for cancellation.", +"enum": [ +"PIPELINE_RUN_STATUS_UNSPECIFIED", +"PIPELINE_RUN_CANCELLED" +], +"enumDescriptions": [ +"Default enum type; should not be used.", +"Cancelled status." +], +"type": "string" +}, +"pipelineSpec": { +"$ref": "PipelineSpec", +"description": "PipelineSpec defines the desired state of Pipeline." +}, +"pipelineSpecYaml": { +"description": "Output only. Inline pipelineSpec yaml string, used by workflow run requests.", +"readOnly": true, +"type": "string" +}, +"provenance": { +"$ref": "Provenance", +"description": "Optional. Provenance configuration." +}, +"record": { +"description": "Output only. The `Record` of this `PipelineRun`. Format: `projects/{project}/locations/{location}/results/{result_id}/records/{record_id}`", +"readOnly": true, +"type": "string" +}, +"resolvedPipelineSpec": { +"$ref": "PipelineSpec", +"description": "Output only. The exact PipelineSpec used to instantiate the run.", +"readOnly": true +}, +"results": { +"description": "Optional. Output only. List of results written out by the pipeline's containers", +"items": { +"$ref": "PipelineRunResult" +}, +"readOnly": true, +"type": "array" +}, +"security": { +"$ref": "Security", +"description": "Optional. Security configuration." +}, +"serviceAccount": { +"deprecated": true, +"description": "Service account used in the Pipeline. Deprecated; please use security.service_account instead.", +"type": "string" +}, +"skippedTasks": { +"description": "Output only. List of tasks that were skipped due to when expressions evaluating to false.", +"items": { +"$ref": "SkippedTask" +}, +"readOnly": true, +"type": "array" +}, +"startTime": { +"description": "Output only. Time the pipeline is actually started.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"timeouts": { +"$ref": "TimeoutFields", +"description": "Time after which the Pipeline times out. Currently three keys are accepted in the map pipeline, tasks and finally with Timeouts.pipeline >= Timeouts.tasks + Timeouts.finally" +}, +"uid": { +"description": "Output only. A unique identifier for the `PipelineRun`.", +"readOnly": true, +"type": "string" +}, +"updateTime": { +"description": "Output only. Time at which the request to update the `PipelineRun` was received.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"worker": { +"$ref": "Worker", +"description": "Optional. Worker configuration." +}, +"workerPool": { +"description": "Output only. The WorkerPool used to run this PipelineRun.", +"readOnly": true, +"type": "string" +}, +"workflow": { +"description": "Output only. The Workflow used to create this PipelineRun.", +"readOnly": true, +"type": "string" +}, +"workspaces": { +"description": "Workspaces is a list of WorkspaceBindings from volumes to workspaces.", +"items": { +"$ref": "WorkspaceBinding" +}, +"type": "array" +} +}, +"type": "object" +}, +"PipelineRunResult": { +"description": "PipelineRunResult used to describe the results of a pipeline", +"id": "PipelineRunResult", +"properties": { +"name": { +"description": "Output only. Name of the TaskRun", +"readOnly": true, +"type": "string" +}, +"value": { +"$ref": "ResultValue", +"description": "Output only. Value of the result.", +"readOnly": true +} +}, +"type": "object" +}, +"PipelineSpec": { +"description": "PipelineSpec defines the desired state of Pipeline.", +"id": "PipelineSpec", +"properties": { +"finallyTasks": { +"description": "List of Tasks that execute just before leaving the Pipeline i.e. either after all Tasks are finished executing successfully or after a failure which would result in ending the Pipeline.", +"items": { +"$ref": "PipelineTask" +}, +"type": "array" +}, +"generatedYaml": { +"description": "Output only. auto-generated yaml that is output only for display purpose for workflows using pipeline_spec, used by UI/gcloud cli for Workflows.", +"readOnly": true, +"type": "string" +}, +"params": { +"description": "List of parameters.", +"items": { +"$ref": "ParamSpec" +}, +"type": "array" +}, +"results": { +"description": "Optional. Output only. List of results written out by the pipeline's containers", +"items": { +"$ref": "PipelineResult" +}, +"readOnly": true, +"type": "array" +}, +"tasks": { +"description": "List of Tasks that execute when this Pipeline is run.", +"items": { +"$ref": "PipelineTask" +}, +"type": "array" +}, +"workspaces": { +"description": "Workspaces declares a set of named workspaces that are expected to be provided by a PipelineRun.", +"items": { +"$ref": "PipelineWorkspaceDeclaration" +}, +"type": "array" +} +}, +"type": "object" +}, +"PipelineTask": { +"description": "PipelineTask defines a task in a Pipeline.", +"id": "PipelineTask", +"properties": { +"name": { +"description": "Name of the task.", +"type": "string" +}, +"params": { +"description": "Params is a list of parameter names and values.", +"items": { +"$ref": "Param" +}, +"type": "array" +}, +"retries": { +"description": "Retries represents how many times this task should be retried in case of task failure.", +"format": "int32", +"type": "integer" +}, +"runAfter": { +"description": "RunAfter is the list of PipelineTask names that should be executed before this Task executes. (Used to force a specific ordering in graph execution.)", +"items": { +"type": "string" +}, +"type": "array" +}, +"taskRef": { +"$ref": "TaskRef", +"description": "Reference to a specific instance of a task." +}, +"taskSpec": { +"$ref": "EmbeddedTask", +"description": "Spec to instantiate this TaskRun." +}, +"timeout": { +"description": "Time after which the TaskRun times out. Defaults to 1 hour. Specified TaskRun timeout should be less than 24h.", +"format": "google-duration", +"type": "string" +}, +"whenExpressions": { +"description": "Conditions that need to be true for the task to run.", +"items": { +"$ref": "WhenExpression" +}, +"type": "array" +}, +"workspaces": { +"description": "Workspaces maps workspaces from the pipeline spec to the workspaces declared in the Task.", +"items": { +"$ref": "WorkspacePipelineTaskBinding" +}, +"type": "array" +} +}, +"type": "object" +}, +"PipelineWorkspaceDeclaration": { +"description": "Workspaces declares a set of named workspaces that are expected to be provided by a PipelineRun.", +"id": "PipelineWorkspaceDeclaration", +"properties": { +"description": { +"description": "Description is a human readable string describing how the workspace will be used in the Pipeline.", +"type": "string" +}, +"name": { +"description": "Name is the name of a workspace to be provided by a PipelineRun.", +"type": "string" +}, +"optional": { +"description": "Optional marks a Workspace as not being required in PipelineRuns. By default this field is false and so declared workspaces are required.", +"type": "boolean" +} +}, +"type": "object" +}, +"Policy": { +"description": "An Identity and Access Management (IAM) policy, which specifies access controls for Google Cloud resources. A `Policy` is a collection of `bindings`. A `binding` binds one or more `members`, or principals, to a single `role`. Principals can be user accounts, service accounts, Google groups, and domains (such as G Suite). A `role` is a named list of permissions; each `role` can be an IAM predefined role or a user-created custom role. For some types of Google Cloud resources, a `binding` can also specify a `condition`, which is a logical expression that allows access to a resource only if the expression evaluates to `true`. A condition can add constraints based on attributes of the request, the resource, or both. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). **JSON example:** ``` { \"bindings\": [ { \"role\": \"roles/resourcemanager.organizationAdmin\", \"members\": [ \"user:mike@example.com\", \"group:admins@example.com\", \"domain:google.com\", \"serviceAccount:my-project-id@appspot.gserviceaccount.com\" ] }, { \"role\": \"roles/resourcemanager.organizationViewer\", \"members\": [ \"user:eve@example.com\" ], \"condition\": { \"title\": \"expirable access\", \"description\": \"Does not grant access after Sep 2020\", \"expression\": \"request.time < timestamp('2020-10-01T00:00:00.000Z')\", } } ], \"etag\": \"BwWWja0YfJA=\", \"version\": 3 } ``` **YAML example:** ``` bindings: - members: - user:mike@example.com - group:admins@example.com - domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.com role: roles/resourcemanager.organizationViewer condition: title: expirable access description: Does not grant access after Sep 2020 expression: request.time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 ``` For a description of IAM and its features, see the [IAM documentation](https://cloud.google.com/iam/docs/).", +"id": "Policy", +"properties": { +"auditConfigs": { +"description": "Specifies cloud audit logging configuration for this policy.", +"items": { +"$ref": "AuditConfig" +}, +"type": "array" +}, +"bindings": { +"description": "Associates a list of `members`, or principals, with a `role`. Optionally, may specify a `condition` that determines how and when the `bindings` are applied. Each of the `bindings` must contain at least one principal. The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250 of these principals can be Google groups. Each occurrence of a principal counts towards these limits. For example, if the `bindings` grant 50 different roles to `user:alice@example.com`, and not to any other principal, then you can add another 1,450 principals to the `bindings` in the `Policy`.", +"items": { +"$ref": "Binding" +}, +"type": "array" +}, +"etag": { +"description": "`etag` is used for optimistic concurrency control as a way to help prevent simultaneous updates of a policy from overwriting each other. It is strongly suggested that systems make use of the `etag` in the read-modify-write cycle to perform policy updates in order to avoid race conditions: An `etag` is returned in the response to `getIamPolicy`, and systems are expected to put that etag in the request to `setIamPolicy` to ensure that their change will be applied to the same version of the policy. **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost.", +"format": "byte", +"type": "string" +}, +"version": { +"description": "Specifies the format of the policy. Valid values are `0`, `1`, and `3`. Requests that specify an invalid value are rejected. Any operation that affects conditional role bindings must specify version `3`. This requirement applies to the following operations: * Getting a policy that includes a conditional role binding * Adding a conditional role binding to a policy * Changing a conditional role binding in a policy * Removing any role binding, with or without a condition, from a policy that includes conditions **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost. If a policy does not include any conditions, operations on that policy may specify any valid version or leave the field unset. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"Probe": { +"description": "Probe describes a health check to be performed against a container to determine whether it is alive or ready to receive traffic.", +"id": "Probe", +"properties": { +"exec": { +"$ref": "ExecAction", +"description": "Optional. Exec specifies the action to take. +optional" +}, +"periodSeconds": { +"description": "Optional. How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1. +optional", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"PropertySpec": { +"description": "PropertySpec holds information about a property in an object.", +"id": "PropertySpec", +"properties": { +"type": { +"description": "A type for the object.", +"enum": [ +"TYPE_UNSPECIFIED", +"STRING" +], +"enumDescriptions": [ +"Default enum type; should not be used.", +"Default" +], +"type": "string" +} +}, +"type": "object" +}, +"Provenance": { +"description": "Provenance configuration.", +"id": "Provenance", +"properties": { +"enabled": { +"description": "Optional. Provenance push mode.", +"enum": [ +"ENABLED_UNSPECIFIED", +"REQUIRED", +"OPTIMISTIC", +"DISABLED" +], +"enumDescriptions": [ +"Default to disabled (before AA regionalization), optimistic after", +"Provenance failures would fail the run", +"GCB will attempt to push to artifact analaysis and build state would not be impacted by the push failures.", +"Disable the provenance push entirely." +], +"type": "string" +}, +"region": { +"description": "Optional. Provenance region.", +"enum": [ +"REGION_UNSPECIFIED", +"GLOBAL" +], +"enumDescriptions": [ +"The PipelineRun/TaskRun/Workflow will be rejected. Update this comment to push to the same region as the run in Artifact Analysis when it's regionalized.", +"Push provenance to Artifact Analysis in global region." +], +"type": "string" +}, +"storage": { +"description": "Optional. Where provenance is stored.", +"enum": [ +"STORAGE_UNSPECIFIED", +"PREFER_ARTIFACT_PROJECT", +"ARTIFACT_PROJECT_ONLY", +"BUILD_PROJECT_ONLY" +], +"enumDescriptions": [ +"Default PREFER_ARTIFACT_PROJECT.", +"GCB will attempt to push provenance to the artifact project. If it is not available, fallback to build project.", +"Only push to artifact project.", +"Only push to build project." +], +"type": "string" +} +}, +"type": "object" +}, +"Repository": { +"description": "A repository associated to a parent connection.", +"id": "Repository", +"properties": { +"annotations": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. Allows clients to store small amounts of arbitrary data.", +"type": "object" +}, +"createTime": { +"description": "Output only. Server assigned timestamp for when the connection was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"etag": { +"description": "This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.", +"type": "string" +}, +"name": { +"description": "Immutable. Resource name of the repository, in the format `projects/*/locations/*/connections/*/repositories/*`.", +"type": "string" +}, +"remoteUri": { +"description": "Required. Git Clone HTTPS URI.", +"type": "string" +}, +"updateTime": { +"description": "Output only. Server assigned timestamp for when the connection was updated.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"webhookId": { +"description": "Output only. External ID of the webhook created for the repository.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"ResultValue": { +"description": "ResultValue holds different types of data for a single result.", +"id": "ResultValue", +"properties": { +"arrayVal": { +"description": "Value of the result if type is array.", +"items": { +"type": "string" +}, +"type": "array" +}, +"objectVal": { +"additionalProperties": { +"type": "string" +}, +"description": "Value of the result if type is object.", +"type": "object" +}, +"stringVal": { +"description": "Value of the result if type is string.", +"type": "string" +}, +"type": { +"description": "Output only. The type of data that the result holds.", +"enum": [ +"TYPE_UNSPECIFIED", +"STRING", +"ARRAY", +"OBJECT" +], +"enumDescriptions": [ +"Default enum type; should not be used.", +"Default", +"Array type", +"Object type" +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"RunWorkflowCustomOperationMetadata": { +"description": "Represents the custom metadata of the RunWorkflow long-running operation.", +"id": "RunWorkflowCustomOperationMetadata", +"properties": { +"apiVersion": { +"description": "Output only. API version used to start the operation.", +"readOnly": true, +"type": "string" +}, +"createTime": { +"description": "Output only. The time the operation was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"endTime": { +"description": "Output only. The time the operation finished running.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"pipelineRunId": { +"description": "Output only. ID of the pipeline run created by RunWorkflow.", +"readOnly": true, +"type": "string" +}, +"requestedCancellation": { +"description": "Output only. Identifies whether the user has requested cancellation of the operation. Operations that have successfully been cancelled have Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.", +"readOnly": true, +"type": "boolean" +}, +"target": { +"description": "Output only. Server-defined resource path for the target of the operation.", +"readOnly": true, +"type": "string" +}, +"verb": { +"description": "Output only. Name of the verb executed by the operation.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"SecretVolumeSource": { +"description": "Secret Volume Source.", +"id": "SecretVolumeSource", +"properties": { +"secretName": { +"description": "Name of the secret referenced by the WorkspaceBinding.", +"type": "string" +}, +"secretVersion": { +"description": "Optional. Resource name of the SecretVersion. In format: projects/*/secrets/*/versions/*", +"type": "string" +} +}, +"type": "object" +}, +"Security": { +"description": "Security configuration.", +"id": "Security", +"properties": { +"privilegeMode": { +"deprecated": true, +"description": "Optional. Privilege mode.", +"enum": [ +"PRIVILEGE_MODE_UNSPECIFIED", +"PRIVILEGED", +"UNPRIVILEGED" +], +"enumDescriptions": [ +"Default to PRIVILEGED.", +"Privileged mode.", +"Unprivileged mode." +], +"type": "string" +}, +"serviceAccount": { +"description": "IAM service account whose credentials will be used at runtime.", +"type": "string" +} +}, +"type": "object" +}, +"SecurityContext": { +"description": "Security options the container should be run with.", +"id": "SecurityContext", +"properties": { +"allowPrivilegeEscalation": { +"description": "Optional. AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN Note that this field cannot be set when spec.os.name is windows. +optional", +"type": "boolean" +}, +"privileged": { +"description": "Run container in privileged mode.", +"type": "boolean" +}, +"runAsGroup": { +"description": "Optional. The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. Note that this field cannot be set when spec.os.name is windows. +optional", +"format": "int64", +"type": "string" +}, +"runAsNonRoot": { +"description": "Optional. Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. +optional", +"type": "boolean" +}, +"runAsUser": { +"description": "Optional. The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. Note that this field cannot be set when spec.os.name is windows. +optional", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"SetIamPolicyRequest": { +"description": "Request message for `SetIamPolicy` method.", +"id": "SetIamPolicyRequest", +"properties": { +"policy": { +"$ref": "Policy", +"description": "REQUIRED: The complete policy to be applied to the `resource`. The size of the policy is limited to a few 10s of KB. An empty policy is a valid policy but certain Google Cloud services (such as Projects) might reject them." +}, +"updateMask": { +"description": "OPTIONAL: A FieldMask specifying which fields of the policy to modify. Only the fields in the mask will be modified. If no mask is provided, the following default mask is used: `paths: \"bindings, etag\"`", +"format": "google-fieldmask", +"type": "string" +} +}, +"type": "object" +}, +"Sidecar": { +"description": "Sidecars run alongside the Task's step containers.", +"id": "Sidecar", +"properties": { +"args": { +"description": "Arguments to the entrypoint.", +"items": { +"type": "string" +}, +"type": "array" +}, +"command": { +"description": "Entrypoint array.", +"items": { +"type": "string" +}, +"type": "array" +}, +"env": { +"description": "List of environment variables to set in the container.", +"items": { +"$ref": "EnvVar" +}, +"type": "array" +}, +"image": { +"description": "Docker image name.", +"type": "string" +}, +"name": { +"description": "Name of the Sidecar.", +"type": "string" +}, +"readinessProbe": { +"$ref": "Probe", +"description": "Optional. Periodic probe of Sidecar service readiness. Container will be removed from service endpoints if the probe fails. Cannot be updated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes +optional" +}, +"script": { +"description": "The contents of an executable file to execute.", +"type": "string" +}, +"securityContext": { +"$ref": "SecurityContext", +"description": "Optional. Security options the container should be run with." +}, +"volumeMounts": { +"description": "Pod volumes to mount into the container's filesystem.", +"items": { +"$ref": "VolumeMount" +}, +"type": "array" +}, +"workingDir": { +"description": "Container's working directory.", +"type": "string" +} +}, +"type": "object" +}, +"SkippedTask": { +"description": "SkippedTask is used to describe the Tasks that were skipped due to their When Expressions evaluating to False.", +"id": "SkippedTask", +"properties": { +"name": { +"description": "Name is the Pipeline Task name", +"type": "string" +}, +"reason": { +"description": "Output only. Reason is the cause of the PipelineTask being skipped.", +"readOnly": true, +"type": "string" +}, +"whenExpressions": { +"description": "WhenExpressions is the list of checks guarding the execution of the PipelineTask", +"items": { +"$ref": "WhenExpression" +}, +"type": "array" +} +}, +"type": "object" +}, +"Status": { +"description": "The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors).", +"id": "Status", +"properties": { +"code": { +"description": "The status code, which should be an enum value of google.rpc.Code.", +"format": "int32", +"type": "integer" +}, +"details": { +"description": "A list of messages that carry the error details. There is a common set of message types for APIs to use.", +"items": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.", +"type": "string" +} +}, +"type": "object" +}, +"Step": { +"description": "Step embeds the Container type, which allows it to include fields not provided by Container.", +"id": "Step", +"properties": { +"args": { +"description": "Arguments to the entrypoint.", +"items": { +"type": "string" +}, +"type": "array" +}, +"command": { +"description": "Entrypoint array.", +"items": { +"type": "string" +}, +"type": "array" +}, +"env": { +"description": "List of environment variables to set in the container.", +"items": { +"$ref": "EnvVar" +}, +"type": "array" +}, +"image": { +"description": "Docker image name.", +"type": "string" +}, +"name": { +"description": "Name of the container specified as a DNS_LABEL.", +"type": "string" +}, +"onError": { +"description": "Optional. OnError defines the exiting behavior on error can be set to [ continue | stopAndFail ]", +"enum": [ +"ON_ERROR_TYPE_UNSPECIFIED", +"STOP_AND_FAIL", +"CONTINUE" +], +"enumDescriptions": [ +"Default enum type; should not be used.", +"StopAndFail indicates exit if the step/task exits with non-zero exit code", +"Continue indicates continue executing the rest of the steps/tasks irrespective of the exit code" +], +"type": "string" +}, +"params": { +"description": "Optional. Optional parameters passed to the StepAction.", +"items": { +"$ref": "Param" +}, +"type": "array" +}, +"ref": { +"$ref": "StepRef", +"description": "Optional. Optional reference to a remote StepAction." +}, +"script": { +"description": "The contents of an executable file to execute.", +"type": "string" +}, +"securityContext": { +"$ref": "SecurityContext", +"description": "Optional. SecurityContext defines the security options the Step should be run with. If set, the fields of SecurityContext override the equivalent fields of PodSecurityContext. More info: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/ +optional" +}, +"timeout": { +"description": "Time after which the Step times out. Defaults to never.", +"format": "google-duration", +"type": "string" +}, +"volumeMounts": { +"description": "Pod volumes to mount into the container's filesystem.", +"items": { +"$ref": "VolumeMount" +}, +"type": "array" +}, +"workingDir": { +"description": "Container's working directory.", +"type": "string" +} +}, +"type": "object" +}, +"StepRef": { +"description": "A reference to a remote Step, i.e. a StepAction.", +"id": "StepRef", +"properties": { +"name": { +"description": "Optional. Name of the step.", +"type": "string" +}, +"params": { +"description": "Optional. Parameters used to control the resolution.", +"items": { +"$ref": "Param" +}, +"type": "array" +}, +"resolver": { +"description": "Optional. Type of the resolver.", +"enum": [ +"RESOLVER_NAME_UNSPECIFIED", +"BUNDLES", +"GCB_REPO", +"GIT", +"DEVELOPER_CONNECT", +"DEFAULT" +], +"enumDescriptions": [ +"Default enum type; should not be used.", +"Bundles resolver. https://tekton.dev/docs/pipelines/bundle-resolver/", +"GCB repo resolver.", +"Simple Git resolver. https://tekton.dev/docs/pipelines/git-resolver/", +"Developer Connect resolver.", +"Default resolver." +], +"type": "string" +} +}, +"type": "object" +}, +"StepTemplate": { +"description": "StepTemplate can be used as the basis for all step containers within the Task, so that the steps inherit settings on the base container.", +"id": "StepTemplate", +"properties": { +"env": { +"description": "Optional. List of environment variables to set in the Step. Cannot be updated.", +"items": { +"$ref": "EnvVar" +}, +"type": "array" +}, +"volumeMounts": { +"description": "Optional. Pod volumes to mount into the container's filesystem.", +"items": { +"$ref": "VolumeMount" +}, +"type": "array" +} +}, +"type": "object" +}, +"TaskRef": { +"description": "TaskRef can be used to refer to a specific instance of a task. PipelineRef can be used to refer to a specific instance of a Pipeline.", +"id": "TaskRef", +"properties": { +"name": { +"description": "Optional. Name of the task.", +"type": "string" +}, +"params": { +"description": "Params contains the parameters used to identify the referenced Tekton resource. Example entries might include \"repo\" or \"path\" but the set of params ultimately depends on the chosen resolver.", +"items": { +"$ref": "Param" +}, +"type": "array" +}, +"resolver": { +"description": "Resolver is the name of the resolver that should perform resolution of the referenced Tekton resource.", +"enum": [ +"RESOLVER_NAME_UNSPECIFIED", +"BUNDLES", +"GCB_REPO", +"GIT", +"DEVELOPER_CONNECT", +"DEFAULT" +], +"enumDescriptions": [ +"Default enum type; should not be used.", +"Bundles resolver. https://tekton.dev/docs/pipelines/bundle-resolver/", +"GCB repo resolver.", +"Simple Git resolver. https://tekton.dev/docs/pipelines/git-resolver/", +"Developer Connect resolver.", +"Default resolver." +], +"type": "string" +} +}, +"type": "object" +}, +"TaskResult": { +"description": "TaskResult is used to describe the results of a task.", +"id": "TaskResult", +"properties": { +"description": { +"description": "Description of the result.", +"type": "string" +}, +"name": { +"description": "Name of the result.", +"type": "string" +}, +"properties": { +"additionalProperties": { +"$ref": "PropertySpec" +}, +"description": "When type is OBJECT, this map holds the names of fields inside that object along with the type of data each field holds.", +"type": "object" +}, +"type": { +"description": "The type of data that the result holds.", +"enum": [ +"TYPE_UNSPECIFIED", +"STRING", +"ARRAY", +"OBJECT" +], +"enumDescriptions": [ +"Default enum type; should not be used.", +"Default", +"Array type", +"Object type" +], +"type": "string" +}, +"value": { +"$ref": "ParamValue", +"description": "Optional. Optionally used to initialize a Task's result with a Step's result." +} +}, +"type": "object" +}, +"TaskSpec": { +"description": "TaskSpec contains the Spec to instantiate a TaskRun.", +"id": "TaskSpec", +"properties": { +"description": { +"description": "Description of the task.", +"type": "string" +}, +"managedSidecars": { +"description": "Sidecars that run alongside the Task\u2019s step containers that should be added to this Task.", +"items": { +"enum": [ +"MANAGED_SIDECAR_UNSPECIFIED", +"PRIVILEGED_DOCKER_DAEMON" +], +"enumDescriptions": [ +"Default enum type; should not be used.", +"Sidecar for a privileged docker daemon." +], +"type": "string" +}, +"type": "array" +}, +"params": { +"description": "List of parameters.", +"items": { +"$ref": "ParamSpec" +}, +"type": "array" +}, +"results": { +"description": "Values that this Task can output.", +"items": { +"$ref": "TaskResult" +}, +"type": "array" +}, +"sidecars": { +"description": "Sidecars that run alongside the Task's step containers.", +"items": { +"$ref": "Sidecar" +}, +"type": "array" +}, +"stepTemplate": { +"$ref": "StepTemplate", +"description": "Optional. StepTemplate can be used as the basis for all step containers within the Task, so that the steps inherit settings on the base container." +}, +"steps": { +"description": "Steps of the task.", +"items": { +"$ref": "Step" +}, +"type": "array" +}, +"volumes": { +"description": "A collection of volumes that are available to mount into steps.", +"items": { +"$ref": "VolumeSource" +}, +"type": "array" +}, +"workspaces": { +"description": "The volumes that this Task requires.", +"items": { +"$ref": "WorkspaceDeclaration" +}, +"type": "array" +} +}, +"type": "object" +}, +"TestIamPermissionsRequest": { +"description": "Request message for `TestIamPermissions` method.", +"id": "TestIamPermissionsRequest", +"properties": { +"permissions": { +"description": "The set of permissions to check for the `resource`. Permissions with wildcards (such as `*` or `storage.*`) are not allowed. For more information see [IAM Overview](https://cloud.google.com/iam/docs/overview#permissions).", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"TestIamPermissionsResponse": { +"description": "Response message for `TestIamPermissions` method.", +"id": "TestIamPermissionsResponse", +"properties": { +"permissions": { +"description": "A subset of `TestPermissionsRequest.permissions` that the caller is allowed.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"TimeoutFields": { +"description": "TimeoutFields allows granular specification of pipeline, task, and finally timeouts", +"id": "TimeoutFields", +"properties": { +"finally": { +"description": "Finally sets the maximum allowed duration of this pipeline's finally", +"format": "google-duration", +"type": "string" +}, +"pipeline": { +"description": "Pipeline sets the maximum allowed duration for execution of the entire pipeline. The sum of individual timeouts for tasks and finally must not exceed this value.", +"format": "google-duration", +"type": "string" +}, +"tasks": { +"description": "Tasks sets the maximum allowed duration of this pipeline's tasks", +"format": "google-duration", +"type": "string" +} +}, +"type": "object" +}, +"UserCredential": { +"description": "Represents a personal access token that authorized the Connection, and associated metadata.", +"id": "UserCredential", +"properties": { +"userTokenSecretVersion": { +"description": "Required. A SecretManager resource containing the user token that authorizes the Cloud Build connection. Format: `projects/*/secrets/*/versions/*`.", +"type": "string" +}, +"username": { +"description": "Output only. The username associated to this token.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"VolumeMount": { +"description": "Pod volumes to mount into the container's filesystem.", +"id": "VolumeMount", +"properties": { +"mountPath": { +"description": "Path within the container at which the volume should be mounted. Must not contain ':'.", +"type": "string" +}, +"name": { +"description": "Name of the volume.", +"type": "string" +}, +"readOnly": { +"description": "Mounted read-only if true, read-write otherwise (false or unspecified).", +"type": "boolean" +}, +"subPath": { +"description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", +"type": "string" +}, +"subPathExpr": { +"description": "Expanded path within the volume from which the container's volume should be mounted. Behaves similarly to SubPath but environment variable references $(VAR_NAME) are expanded using the container's environment. Defaults to \"\" (volume's root).", +"type": "string" +} +}, +"type": "object" +}, +"VolumeSource": { +"description": "Volumes available to mount.", +"id": "VolumeSource", +"properties": { +"emptyDir": { +"$ref": "EmptyDirVolumeSource", +"description": "A temporary directory that shares a pod's lifetime." +}, +"name": { +"description": "Name of the Volume. Must be a DNS_LABEL and unique within the pod. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", +"type": "string" +} +}, +"type": "object" +}, +"WhenExpression": { +"description": "Conditions that need to be true for the task to run.", +"id": "WhenExpression", +"properties": { +"expressionOperator": { +"description": "Operator that represents an Input's relationship to the values", +"enum": [ +"EXPRESSION_OPERATOR_UNSPECIFIED", +"IN", +"NOT_IN" +], +"enumDescriptions": [ +"Default enum type; should not be used.", +"Input is in values.", +"Input is not in values." +], +"type": "string" +}, +"input": { +"description": "Input is the string for guard checking which can be a static input or an output from a parent Task.", +"type": "string" +}, +"values": { +"description": "Values is an array of strings, which is compared against the input, for guard checking.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"Worker": { +"description": "Configuration for the worker.", +"id": "Worker", +"properties": { +"machineType": { +"description": "Optional. Machine type of a worker, default is \"e2-standard-2\".", +"type": "string" +} +}, +"type": "object" +}, +"WorkspaceBinding": { +"description": "WorkspaceBinding maps a workspace to a Volume. PipelineRef can be used to refer to a specific instance of a Pipeline.", +"id": "WorkspaceBinding", +"properties": { +"name": { +"description": "Name of the workspace.", +"type": "string" +}, +"secret": { +"$ref": "SecretVolumeSource", +"description": "Secret Volume Source." +}, +"subPath": { +"description": "Optional. SubPath is optionally a directory on the volume which should be used for this binding (i.e. the volume will be mounted at this sub directory). +optional", +"type": "string" +} +}, +"type": "object" +}, +"WorkspaceDeclaration": { +"description": "WorkspaceDeclaration is a declaration of a volume that a Task requires.", +"id": "WorkspaceDeclaration", +"properties": { +"description": { +"description": "Description is a human readable description of this volume.", +"type": "string" +}, +"mountPath": { +"description": "MountPath overrides the directory that the volume will be made available at.", +"type": "string" +}, +"name": { +"description": "Name is the name by which you can bind the volume at runtime.", +"type": "string" +}, +"optional": { +"description": "Optional. Optional marks a Workspace as not being required in TaskRuns. By default this field is false and so declared workspaces are required.", +"type": "boolean" +}, +"readOnly": { +"description": "ReadOnly dictates whether a mounted volume is writable.", +"type": "boolean" +} +}, +"type": "object" +}, +"WorkspacePipelineTaskBinding": { +"description": "WorkspacePipelineTaskBinding maps workspaces from the PipelineSpec to the workspaces declared in the Task.", +"id": "WorkspacePipelineTaskBinding", +"properties": { +"name": { +"description": "Name of the workspace as declared by the task.", +"type": "string" +}, +"subPath": { +"description": "Optional. SubPath is optionally a directory on the volume which should be used for this binding (i.e. the volume will be mounted at this sub directory). +optional", +"type": "string" +}, +"workspace": { +"description": "Name of the workspace declared by the pipeline.", +"type": "string" +} +}, +"type": "object" +} +}, +"servicePath": "", +"title": "Cloud Build API", +"version": "v2", +"version_module": true +} \ No newline at end of file diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/cloudcommerceprocurement.v1.json b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/cloudcommerceprocurement.v1.json new file mode 100644 index 0000000000000000000000000000000000000000..c94530418620bcc55b7940416e5f36521fcc9a8a --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/cloudcommerceprocurement.v1.json @@ -0,0 +1,949 @@ +{ +"auth": { +"oauth2": { +"scopes": { +"https://www.googleapis.com/auth/cloud-platform": { +"description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." +} +} +} +}, +"basePath": "", +"baseUrl": "https://cloudcommerceprocurement.googleapis.com/", +"batchPath": "batch", +"canonicalName": "Cloud Commerce Partner Procurement Service", +"description": "Partner API for the Cloud Commerce Procurement Service.", +"discoveryVersion": "v1", +"documentationLink": "https://cloud.google.com/marketplace/docs/partners/", +"fullyEncodeReservedExpansion": true, +"icons": { +"x16": "http://www.google.com/images/icons/product/search-16.gif", +"x32": "http://www.google.com/images/icons/product/search-32.gif" +}, +"id": "cloudcommerceprocurement:v1", +"kind": "discovery#restDescription", +"mtlsRootUrl": "https://cloudcommerceprocurement.mtls.googleapis.com/", +"name": "cloudcommerceprocurement", +"ownerDomain": "google.com", +"ownerName": "Google", +"parameters": { +"$.xgafv": { +"description": "V1 error format.", +"enum": [ +"1", +"2" +], +"enumDescriptions": [ +"v1 error format", +"v2 error format" +], +"location": "query", +"type": "string" +}, +"access_token": { +"description": "OAuth access token.", +"location": "query", +"type": "string" +}, +"alt": { +"default": "json", +"description": "Data format for response.", +"enum": [ +"json", +"media", +"proto" +], +"enumDescriptions": [ +"Responses with Content-Type of application/json", +"Media download with context-dependent Content-Type", +"Responses with Content-Type of application/x-protobuf" +], +"location": "query", +"type": "string" +}, +"callback": { +"description": "JSONP", +"location": "query", +"type": "string" +}, +"fields": { +"description": "Selector specifying which fields to include in a partial response.", +"location": "query", +"type": "string" +}, +"key": { +"description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", +"location": "query", +"type": "string" +}, +"oauth_token": { +"description": "OAuth 2.0 token for the current user.", +"location": "query", +"type": "string" +}, +"prettyPrint": { +"default": "true", +"description": "Returns response with indentations and line breaks.", +"location": "query", +"type": "boolean" +}, +"quotaUser": { +"description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.", +"location": "query", +"type": "string" +}, +"uploadType": { +"description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", +"location": "query", +"type": "string" +}, +"upload_protocol": { +"description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", +"location": "query", +"type": "string" +} +}, +"protocol": "rest", +"resources": { +"providers": { +"resources": { +"accounts": { +"methods": { +"approve": { +"description": "Grants an approval on an Account.", +"flatPath": "v1/providers/{providersId}/accounts/{accountsId}:approve", +"httpMethod": "POST", +"id": "cloudcommerceprocurement.providers.accounts.approve", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the account, with the format `providers/{providerId}/accounts/{accountId}`.", +"location": "path", +"pattern": "^providers/[^/]+/accounts/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:approve", +"request": { +"$ref": "ApproveAccountRequest" +}, +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets a requested Account resource.", +"flatPath": "v1/providers/{providersId}/accounts/{accountsId}", +"httpMethod": "GET", +"id": "cloudcommerceprocurement.providers.accounts.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the account to retrieve.", +"location": "path", +"pattern": "^providers/[^/]+/accounts/[^/]+$", +"required": true, +"type": "string" +}, +"view": { +"description": "Optional. What information to include in the response.", +"enum": [ +"ACCOUNT_VIEW_UNSPECIFIED", +"ACCOUNT_VIEW_BASIC", +"ACCOUNT_VIEW_FULL" +], +"enumDescriptions": [ +"The default / unset value. For `GetAccount` and `ListAccounts`, they default to the BASIC view. For `ListAccounts`, it only supports the BASIC view.", +"Include base account information. This is the default view. All fields from Account are included except for the reseller_parent_billing_account field.", +"Includes all available account information, inclusive of the accounts reseller_parent_billing_account, if it's a resold account." +], +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Account" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists Accounts that the provider has access to.", +"flatPath": "v1/providers/{providersId}/accounts", +"httpMethod": "GET", +"id": "cloudcommerceprocurement.providers.accounts.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "The maximum number of entries that are requested. The default page size is 25 and the maximum page size is 200.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The token for fetching the next page.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent resource name.", +"location": "path", +"pattern": "^providers/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/accounts", +"response": { +"$ref": "ListAccountsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"reject": { +"description": "Rejects an approval on an Account.", +"flatPath": "v1/providers/{providersId}/accounts/{accountsId}:reject", +"httpMethod": "POST", +"id": "cloudcommerceprocurement.providers.accounts.reject", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the account.", +"location": "path", +"pattern": "^providers/[^/]+/accounts/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:reject", +"request": { +"$ref": "RejectAccountRequest" +}, +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"reset": { +"description": "Resets an Account and cancels all associated Entitlements. Partner can only reset accounts they own rather than customer accounts.", +"flatPath": "v1/providers/{providersId}/accounts/{accountsId}:reset", +"httpMethod": "POST", +"id": "cloudcommerceprocurement.providers.accounts.reset", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the account.", +"location": "path", +"pattern": "^providers/[^/]+/accounts/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:reset", +"request": { +"$ref": "ResetAccountRequest" +}, +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"entitlements": { +"methods": { +"approve": { +"description": "Approves an entitlement that is in the EntitlementState.ENTITLEMENT_ACTIVATION_REQUESTED state. This method is invoked by the provider to approve the creation of the entitlement resource.", +"flatPath": "v1/providers/{providersId}/entitlements/{entitlementsId}:approve", +"httpMethod": "POST", +"id": "cloudcommerceprocurement.providers.entitlements.approve", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the entitlement, with the format `providers/{providerId}/entitlements/{entitlementId}`.", +"location": "path", +"pattern": "^providers/[^/]+/entitlements/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:approve", +"request": { +"$ref": "ApproveEntitlementRequest" +}, +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"approvePlanChange": { +"description": "Approves an entitlement plan change that is in the EntitlementState.ENTITLEMENT_PENDING_PLAN_CHANGE_APPROVAL state. This method is invoked by the provider to approve the plan change on the entitlement resource.", +"flatPath": "v1/providers/{providersId}/entitlements/{entitlementsId}:approvePlanChange", +"httpMethod": "POST", +"id": "cloudcommerceprocurement.providers.entitlements.approvePlanChange", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the entitlement.", +"location": "path", +"pattern": "^providers/[^/]+/entitlements/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:approvePlanChange", +"request": { +"$ref": "ApproveEntitlementPlanChangeRequest" +}, +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets a requested Entitlement resource.", +"flatPath": "v1/providers/{providersId}/entitlements/{entitlementsId}", +"httpMethod": "GET", +"id": "cloudcommerceprocurement.providers.entitlements.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the entitlement to retrieve.", +"location": "path", +"pattern": "^providers/[^/]+/entitlements/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Entitlement" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists Entitlements for which the provider has read access.", +"flatPath": "v1/providers/{providersId}/entitlements", +"httpMethod": "GET", +"id": "cloudcommerceprocurement.providers.entitlements.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "The filter that can be used to limit the list request. The filter is a query string that can match a selected set of attributes with string values. For example `account=E-1234-5678-ABCD-EFGH`, `state=pending_cancellation`, and `plan!=foo-plan`. Supported query attributes are * `account` * `customer_billing_account` with value in the format of: `billingAccounts/{id}` * `product_external_name` * `quote_external_name` * `offer` * `new_pending_offer` * `plan` * `newPendingPlan` or `new_pending_plan` * `state` * `services` * `consumers.project` * `change_history.new_offer` Note that the consumers and change_history.new_offer match works on repeated structures, so equality (`consumers.project=projects/123456789`) is not supported. Set membership can be expressed with the `:` operator. For example, `consumers.project:projects/123456789` finds entitlements with at least one consumer with project field equal to `projects/123456789`. `change_history.new_offer` retrieves all entitlements that were once associated or are currently active with the offer. Also note that the state name match is case-insensitive and query can omit the prefix \"ENTITLEMENT_\". For example, `state=active` is equivalent to `state=ENTITLEMENT_ACTIVE`. If the query contains some special characters other than letters, underscore, or digits, the phrase must be quoted with double quotes. For example, `product=\"providerId:productId\"`, where the product name needs to be quoted because it contains special character colon. Queries can be combined with `AND`, `OR`, and `NOT` to form more complex queries. They can also be grouped to force a desired evaluation order. For example, `state=active AND (account=E-1234 OR account=5678) AND NOT (product=foo-product)`. Connective `AND` can be omitted between two predicates. For example `account=E-1234 state=active` is equivalent to `account=E-1234 AND state=active`.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "The maximum number of entries that are requested. The default page size is 200.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The token for fetching the next page.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent resource name.", +"location": "path", +"pattern": "^providers/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/entitlements", +"response": { +"$ref": "ListEntitlementsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates an existing Entitlement.", +"flatPath": "v1/providers/{providersId}/entitlements/{entitlementsId}", +"httpMethod": "PATCH", +"id": "cloudcommerceprocurement.providers.entitlements.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the entitlement to update.", +"location": "path", +"pattern": "^providers/[^/]+/entitlements/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "The update mask that applies to the resource. See the [FieldMask definition] (https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask) for more details.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "Entitlement" +}, +"response": { +"$ref": "Entitlement" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"reject": { +"description": "Rejects an entitlement that is in the EntitlementState.ENTITLEMENT_ACTIVATION_REQUESTED state. This method is invoked by the provider to reject the creation of the entitlement resource.", +"flatPath": "v1/providers/{providersId}/entitlements/{entitlementsId}:reject", +"httpMethod": "POST", +"id": "cloudcommerceprocurement.providers.entitlements.reject", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the entitlement.", +"location": "path", +"pattern": "^providers/[^/]+/entitlements/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:reject", +"request": { +"$ref": "RejectEntitlementRequest" +}, +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"rejectPlanChange": { +"description": "Rejects an entitlement plan change that is in the EntitlementState.ENTITLEMENT_PENDING_PLAN_CHANGE_APPROVAL state. This method is invoked by the provider to reject the plan change on the entitlement resource.", +"flatPath": "v1/providers/{providersId}/entitlements/{entitlementsId}:rejectPlanChange", +"httpMethod": "POST", +"id": "cloudcommerceprocurement.providers.entitlements.rejectPlanChange", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the entitlement.", +"location": "path", +"pattern": "^providers/[^/]+/entitlements/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:rejectPlanChange", +"request": { +"$ref": "RejectEntitlementPlanChangeRequest" +}, +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"suspend": { +"description": "Requests suspension of an active Entitlement. This is not yet supported.", +"flatPath": "v1/providers/{providersId}/entitlements/{entitlementsId}:suspend", +"httpMethod": "POST", +"id": "cloudcommerceprocurement.providers.entitlements.suspend", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the entitlement to suspend.", +"location": "path", +"pattern": "^providers/[^/]+/entitlements/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:suspend", +"request": { +"$ref": "SuspendEntitlementRequest" +}, +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +} +}, +"revision": "20251012", +"rootUrl": "https://cloudcommerceprocurement.googleapis.com/", +"schemas": { +"Account": { +"description": "Represents an account that was established by the customer on the service provider's system.", +"id": "Account", +"properties": { +"approvals": { +"description": "Output only. The approvals for this account. These approvals are used to track actions that are permitted or have been completed by a customer within the context of the provider. This might include a sign up flow or a provisioning step, for example, that the provider can admit to having happened.", +"items": { +"$ref": "Approval" +}, +"type": "array" +}, +"createTime": { +"description": "Output only. The creation timestamp.", +"format": "google-datetime", +"type": "string" +}, +"inputProperties": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"deprecated": true, +"description": "Output only. The custom properties that were collected from the user to create this account.", +"type": "object" +}, +"name": { +"description": "Output only. The resource name of the account. Account names have the form `accounts/{account_id}`.", +"type": "string" +}, +"provider": { +"description": "Output only. The identifier of the service provider that this account was created against. Each service provider is assigned a unique provider value when they onboard with Cloud Commerce platform.", +"type": "string" +}, +"resellerParentBillingAccount": { +"description": "Output only. The reseller parent billing account of the account's corresponding billing account, applicable only when the corresponding billing account is a subaccount of a reseller. Included in responses only for view: ACCOUNT_VIEW_FULL. Format: billingAccounts/{billing_account_id}", +"type": "string" +}, +"state": { +"description": "Output only. The state of the account. This is used to decide whether the customer is in good standing with the provider and is able to make purchases. An account might not be able to make a purchase if the billing account is suspended, for example.", +"enum": [ +"ACCOUNT_STATE_UNSPECIFIED", +"ACCOUNT_ACTIVATION_REQUESTED", +"ACCOUNT_ACTIVE" +], +"enumDescriptions": [ +"Default state of the account. It's only set to this value when the account is first created and has not been initialized.", +"The customer has requested the creation of the account resource, and the provider notification message is dispatched. This state has been deprecated, as accounts now immediately transition to AccountState.ACCOUNT_ACTIVE.", +"The account is active and ready for use. The next possible states are: - Account getting deleted: After the user invokes delete from another API." +], +"type": "string" +}, +"updateTime": { +"description": "Output only. The last update timestamp.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"Approval": { +"description": "An approval for some action on an account.", +"id": "Approval", +"properties": { +"name": { +"description": "Output only. The name of the approval.", +"type": "string" +}, +"reason": { +"description": "Output only. An explanation for the state of the approval.", +"type": "string" +}, +"state": { +"description": "Output only. The state of the approval.", +"enum": [ +"STATE_UNSPECIFIED", +"PENDING", +"APPROVED", +"REJECTED" +], +"enumDescriptions": [ +"Sentinel value; do not use.", +"The approval is pending response from the provider. The approval state can transition to Account.Approval.State.APPROVED or Account.Approval.State.REJECTED.", +"The approval has been granted by the provider.", +"The approval has been rejected by the provider. A provider may choose to approve a previously rejected approval, so is it possible to transition to Account.Approval.State.APPROVED." +], +"type": "string" +}, +"updateTime": { +"description": "Optional. The last update timestamp of the approval.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"ApproveAccountRequest": { +"description": "Request message for PartnerProcurementService.ApproveAccount.", +"id": "ApproveAccountRequest", +"properties": { +"approvalName": { +"description": "The name of the approval being approved. If absent and there is only one approval possible, that approval will be granted. If absent and there are many approvals possible, the request will fail with a 400 Bad Request. Optional.", +"type": "string" +}, +"properties": { +"additionalProperties": { +"type": "string" +}, +"description": "Set of properties that should be associated with the account. Optional.", +"type": "object" +}, +"reason": { +"description": "Free form text string explaining the approval reason. Optional. Max allowed length: 256 bytes. Longer strings will be truncated.", +"type": "string" +} +}, +"type": "object" +}, +"ApproveEntitlementPlanChangeRequest": { +"description": "Request message for [PartnerProcurementService.ApproveEntitlementPlanChange[].", +"id": "ApproveEntitlementPlanChangeRequest", +"properties": { +"pendingPlanName": { +"description": "Required. Name of the pending plan that's being approved.", +"type": "string" +} +}, +"type": "object" +}, +"ApproveEntitlementRequest": { +"description": "Request message for [PartnerProcurementService.ApproveEntitlement[].", +"id": "ApproveEntitlementRequest", +"properties": { +"entitlementMigrated": { +"description": "Optional. The resource name of the entitlement that was migrated, with the format `providers/{provider_id}/entitlements/{entitlement_id}`. Should only be sent when resources have been migrated from entitlement_migrated to the new entitlement. Optional.", +"type": "string" +}, +"properties": { +"additionalProperties": { +"type": "string" +}, +"deprecated": true, +"description": "Set of properties that should be associated with the entitlement. Optional.", +"type": "object" +} +}, +"type": "object" +}, +"Consumer": { +"description": "A resource using (consuming) this entitlement.", +"id": "Consumer", +"properties": { +"project": { +"description": "A project name with format `projects/`.", +"type": "string" +} +}, +"type": "object" +}, +"Empty": { +"description": "A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }", +"id": "Empty", +"properties": {}, +"type": "object" +}, +"Entitlement": { +"description": "Represents a procured product of a customer.", +"id": "Entitlement", +"properties": { +"account": { +"description": "Output only. The resource name of the account that this entitlement is based on, if any.", +"type": "string" +}, +"cancellationReason": { +"description": "Output only. The reason the entitlement was cancelled. If this entitlement wasn't cancelled, this field is empty. Possible values include \"unknown\", \"expired\", \"user-cancelled\", \"account-closed\", \"billing-disabled\" (if the customer has manually disabled billing to their resources), \"user-aborted\", and \"migrated\" (if the entitlement has migrated across products). Values of this field are subject to change, and we recommend that you don't build your technical integration to rely on these fields.", +"readOnly": true, +"type": "string" +}, +"consumers": { +"description": "Output only. The resources using this entitlement, if applicable.", +"items": { +"$ref": "Consumer" +}, +"type": "array" +}, +"createTime": { +"description": "Output only. The creation timestamp.", +"format": "google-datetime", +"type": "string" +}, +"entitlementBenefitIds": { +"description": "Output only. The entitlement benefit IDs associated with the purchase.", +"items": { +"type": "string" +}, +"readOnly": true, +"type": "array" +}, +"inputProperties": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"deprecated": true, +"description": "Output only. The custom properties that were collected from the user to create this entitlement.", +"type": "object" +}, +"messageToUser": { +"description": "Provider-supplied message that is displayed to the end user. Currently this is used to communicate progress and ETA for provisioning. This field can be updated only when a user is waiting for an action from the provider, i.e. entitlement state is EntitlementState.ENTITLEMENT_ACTIVATION_REQUESTED or EntitlementState.ENTITLEMENT_PENDING_PLAN_CHANGE_APPROVAL. This field is cleared automatically when the entitlement state changes.", +"type": "string" +}, +"name": { +"description": "Output only. The resource name of the entitlement. Entitlement names have the form `providers/{provider_id}/entitlements/{entitlement_id}`.", +"type": "string" +}, +"newOfferEndTime": { +"description": "Output only. The end time of the new offer, determined from the offer's specified end date. If the offer des not have a specified end date then this field is not set. This field is populated even if the entitlement isn't active yet. If there's no upcoming offer, the field is empty. * If the entitlement is in the state ENTITLEMENT_ACTIVATION_REQUESTED, ENTITLEMENT_ACTIVE, or ENTITLEMENT_PENDING_CANCELLATION, then this field is empty. * If the entitlement is in the state ENTITLEMENT_PENDING_PLAN_CHANGE_APPROVAL or ENTITLEMENT_PENDING_PLAN_CHANGE, and the upcoming offer has a specified end date, then this field is populated with the expected end time of the upcoming offer, in the future. Otherwise, this field is empty. * If the entitlement is in the state ENTITLEMENT_CANCELLED, then this field is empty.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"newOfferStartTime": { +"description": "Output only. The timestamp when the new offer becomes effective. This field is populated even if the entitlement isn't active yet. If there's no upcoming offer, the field is empty. * If the entitlement is in the state ENTITLEMENT_ACTIVATION_REQUESTED, this field isn't populated when the entitlement isn't yet approved. After the entitlement is approved, this field is populated with the effective time of the upcoming offer. * If the entitlement is in the state ENTITLEMENT_ACTIVE or ENTITLEMENT_PENDING_CANCELLATION, this field isn't populated. * If the entitlement is in the state ENTITLEMENT_PENDING_PLAN_CHANGE_APPROVAL, this field isn't populated, because the entitlement change is waiting on approval. * If the entitlement is in the state ENTITLEMENT_PENDING_PLAN_CHANGE, this field is populated with the expected effective time of the upcoming offer, which is in the future. * If the entitlement is in the state ENTITLEMENT_CANCELLED, then this field is empty.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"newPendingOffer": { +"description": "Output only. Upon a pending plan change, the name of the offer that the entitlement is switching to. Only exists if the pending plan change is moving to an offer. This field isn't populated for entitlements which aren't active yet. Format: 'projects/{project}/services/{service}/privateOffers/{offer}' OR 'projects/{project}/services/{service}/standardOffers/{offer}', depending on whether the offer is private or public. The {service} in the name is the listing service of the offer. It could be either the product service that the offer is referencing, or a generic private offer parent service. We recommend that you don't build your integration to rely on the meaning of this {service} part. * If the entitlement is in the state ENTITLEMENT_ACTIVATION_REQUESTED, ENTITLEMENT_ACTIVE or ENTITLEMENT_PENDING_CANCELLATION, then this field is empty. * If the entitlement is in the state ENTITLEMENT_PENDING_PLAN_CHANGE_APPROVAL or ENTITLEMENT_PENDING_PLAN_CHANGE, then this field is populated with the upcoming offer. * If the entitlement is in the state ENTITLEMENT_CANCELLED, then this is empty.", +"readOnly": true, +"type": "string" +}, +"newPendingOfferDuration": { +"description": "Output only. The duration of the new offer, in ISO 8601 duration format. This field is populated for pending offer changes. It isn't populated for entitlements which aren't active yet. If the offer has a specified end date instead of a duration, this field is empty. * If the entitlement is in the state ENTITLEMENT_ACTIVATION_REQUESTED, ENTITLEMENT_ACTIVE, or ENTITLEMENT_PENDING_CANCELLATION, this field is empty. * If the entitlement is in the state ENTITLEMENT_PENDING_PLAN_CHANGE_APPROVAL or ENTITLEMENT_PENDING_PLAN_CHANGE, and the upcoming offer doesn't have a specified end date, then this field is populated with the duration of the upcoming offer. Otherwise, this field is empty. * If the entitlement is in the state ENTITLEMENT_CANCELLED, then this field is empty.", +"readOnly": true, +"type": "string" +}, +"newPendingPlan": { +"description": "Output only. The identifier of the pending new plan. Required if the product has plans and the entitlement has a pending plan change.", +"type": "string" +}, +"offer": { +"description": "Output only. The name of the offer that was procured. Field is empty if order wasn't made using an offer. Format: 'projects/{project}/services/{service}/privateOffers/{offer}' OR 'projects/{project}/services/{service}/standardOffers/{offer}', depending on whether the offer is private or public. The {service} in the name is the listing service of the offer. It could be either the product service that the offer is referencing, or a generic private offer parent service. We recommend that you don't build your integration to rely on the meaning of this {service} part. * If the entitlement is in the state ENTITLEMENT_ACTIVATION_REQUESTED, this field is populated with the upcoming offer. * If the entitlement is in the state ENTITLEMENT_ACTIVE, ENTITLEMENT_PENDING_CANCELLATION, ENTITLEMENT_PENDING_PLAN_CHANGE, or ENTITLEMENT_PENDING_PLAN_CHANGE_APPROVAL, this field is populated with the current offer. * If the entitlement is in the state ENTITLEMENT_CANCELLED, then this field is populated with the latest offer that the order was associated with.", +"readOnly": true, +"type": "string" +}, +"offerDuration": { +"description": "Output only. The offer duration of the current offer, in ISO 8601 duration format. This is empty if the entitlement wasn't made using an offer, or if the offer has a specified end date instead of a duration. * If the entitlement is in the state ENTITLEMENT_ACTIVATION_REQUESTED, and the upcoming offer doesn't have a specified end date, then this field is populated with the duration of the upcoming offer. Otherwise, this field is empty. * If the entitlement is in the state ENTITLEMENT_ACTIVE, ENTITLEMENT_PENDING_CANCELLATION, ENTITLEMENT_PENDING_PLAN_CHANGE, or ENTITLEMENT_PENDING_PLAN_CHANGE_APPROVAL, and the current offer doesn't have a specified end date, then this field contains the duration of the current offer. Otherwise, this field is empty. * If the entitlement is in the state ENTITLEMENT_CANCELLED, and the offer doesn't have a specified end date, then this field is populated with the duration of the latest offer that the order was associated with. Otherwise, this field is empty.", +"readOnly": true, +"type": "string" +}, +"offerEndTime": { +"description": "Output only. End time for the current term of the Offer associated with this entitlement. The value of this field can change naturally over time due to auto-renewal, even if the offer isn't changed. * If the entitlement is in the state ENTITLEMENT_ACTIVATION_REQUESTED, then: * If the entitlement isn't approved yet approved, and the offer has a specified end date, then this field is populated with the expected end time of the upcoming offer, in the future. Otherwise, this field is empty. * If the entitlement is approved, then this field is populated with the expected end time of the upcoming offer, in the future. This means that this field and the field offer_duration can both exist. * If the entitlement is in the state ENTITLEMENT_ACTIVE or ENTITLEMENT_PENDING_CANCELLATION, then this field is populated with the expected end time of the current offer, in the future. This field's value is set regardless of whether the offer has a specific end date or a duration. This means that this field and the field offer_duration can both exist. * If the entitlement is in the state ENTITLEMENT_PENDING_PLAN_CHANGE_APPROVAL or ENTITLEMENT_PENDING_PLAN_CHANGE: * If the entitlement's pricing model is usage based and the associated offer is a private offer whose term has ended, then this field reflects the ACTUAL end time of the entitlement's associated offer (in the past), even though the entitlement associated with this private offer does not terminate at the end of that private offer's term. * Otherwise, this is the expected end date of the current offer, in the future. * If the entitlement is in the state ENTITLEMENT_CANCELLED, then this field is populated with the end time, in the past, of the latest offer that the order was associated with. If the entitlement was cancelled before any offer started, then this field is empty.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"orderId": { +"description": "Output only. The order ID of this entitlement, without any `orders/` resource name prefix.", +"readOnly": true, +"type": "string" +}, +"plan": { +"description": "Output only. The identifier of the plan that was procured. Required if the product has plans.", +"type": "string" +}, +"product": { +"deprecated": true, +"description": "Output only. The identifier of the entity that was purchased. This may actually represent a product, quote, or offer. We strongly recommend that you use the following more explicit fields: productExternalName, quoteExternalName, or offer.", +"type": "string" +}, +"productExternalName": { +"description": "Output only. The identifier of the product that was procured.", +"readOnly": true, +"type": "string" +}, +"provider": { +"description": "Output only. The identifier of the service provider that this entitlement was created against. Each service provider is assigned a unique provider value when they onboard with Cloud Commerce platform.", +"type": "string" +}, +"quoteExternalName": { +"description": "Output only. The identifier of the quote that was used to procure. Empty if the order is not purchased using a quote.", +"readOnly": true, +"type": "string" +}, +"state": { +"description": "Output only. The state of the entitlement.", +"enum": [ +"ENTITLEMENT_STATE_UNSPECIFIED", +"ENTITLEMENT_ACTIVATION_REQUESTED", +"ENTITLEMENT_ACTIVE", +"ENTITLEMENT_PENDING_CANCELLATION", +"ENTITLEMENT_CANCELLED", +"ENTITLEMENT_PENDING_PLAN_CHANGE", +"ENTITLEMENT_PENDING_PLAN_CHANGE_APPROVAL", +"ENTITLEMENT_SUSPENDED" +], +"enumDescriptions": [ +"Default state of the entitlement. It's only set to this value when the entitlement is first created and has not been initialized.", +"Indicates that the entitlement has been created, but it hasn't yet become active. The entitlement remains in this state until it becomes active. If the entitlement requires provider approval, a notification is sent to the provider for the activation approval. If the provider doesn't approve, the entitlement is removed. If approved, the entitlement transitions to the EntitlementState.ENTITLEMENT_ACTIVE state after either a short processing delay or, if applicable, at the scheduled start time of the purchased offer. Plan changes aren't allowed in this state. Instead, customers are expected to cancel the corresponding order and place a new order.", +"Indicates that the entitlement is active. The procured item is now usable and any associated billing events will start occurring. Entitlements in this state WILL renew. The analogous state for an unexpired but non-renewing entitlement is ENTITLEMENT_PENDING_CANCELLATION. In this state, the customer can decide to cancel the entitlement, which would change the state to EntitlementState.ENTITLEMENT_PENDING_CANCELLATION, and then EntitlementState.ENTITLEMENT_CANCELLED. The user can also request a change of plan, which will transition the state to EntitlementState.ENTITLEMENT_PENDING_PLAN_CHANGE, and then back to EntitlementState.ENTITLEMENT_ACTIVE.", +"Indicates that the entitlement will expire at the end of its term. This could mean the customer has elected not to renew this entitlement or the customer elected to cancel an entitlement that only expires at term end. The entitlement typically stays in this state if the entitlement/plan allows use of the underlying resource until the end of the current billing cycle. Once the billing cycle completes, the resource will transition to EntitlementState.ENTITLEMENT_CANCELLED state. The resource cannot be modified during this state.", +"Indicates that the entitlement was cancelled. The entitlement can now be deleted.", +"Indicates that the entitlement is currently active, but there is a pending plan change that is requested by the customer. The entitlement typically stays in this state, if the entitlement/plan requires the completion of the current billing cycle before the plan can be changed. Once the billing cycle completes, the resource will transition to EntitlementState.ENTITLEMENT_ACTIVE, with its plan changed.", +"Indicates that the entitlement is currently active, but there is a plan change request pending provider approval. If the provider approves the plan change, then the entitlement will transition either to EntitlementState.ENTITLEMENT_ACTIVE or EntitlementState.ENTITLEMENT_PENDING_PLAN_CHANGE depending on whether current plan requires that the billing cycle completes. If the provider rejects the plan change, then the pending plan change request is removed and the entitlement stays in EntitlementState.ENTITLEMENT_ACTIVE state with the old plan.", +"Indicates that the entitlement is suspended either by Google or provider request. This can be triggered for various external reasons (e.g. expiration of credit card on the billing account, violation of terms-of-service of the provider etc.). As such, any remediating action needs to be taken externally, before the entitlement can be activated. This is not yet supported." +], +"type": "string" +}, +"subscriptionEndTime": { +"description": "Output only. End time for the subscription corresponding to this entitlement.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"updateTime": { +"description": "Output only. The last update timestamp.", +"format": "google-datetime", +"type": "string" +}, +"usageReportingId": { +"description": "Output only. The consumerId to use when reporting usage through the Service Control API. See the consumerId field at [Reporting Metrics](https://cloud.google.com/service-control/reporting-metrics) for more details. This field is present only if the product has usage-based billing configured.", +"type": "string" +} +}, +"type": "object" +}, +"ListAccountsResponse": { +"description": "Response message for [PartnerProcurementService.ListAccounts[].", +"id": "ListAccountsResponse", +"properties": { +"accounts": { +"description": "The list of accounts in this response.", +"items": { +"$ref": "Account" +}, +"type": "array" +}, +"nextPageToken": { +"description": "The token for fetching the next page.", +"type": "string" +} +}, +"type": "object" +}, +"ListEntitlementsResponse": { +"description": "Response message for PartnerProcurementService.ListEntitlements.", +"id": "ListEntitlementsResponse", +"properties": { +"entitlements": { +"description": "The list of entitlements in this response.", +"items": { +"$ref": "Entitlement" +}, +"type": "array" +}, +"nextPageToken": { +"description": "The token for fetching the next page.", +"type": "string" +} +}, +"type": "object" +}, +"RejectAccountRequest": { +"description": "Request message for PartnerProcurementService.RejectAccount.", +"id": "RejectAccountRequest", +"properties": { +"approvalName": { +"description": "The name of the approval being rejected. If absent and there is only one approval possible, that approval will be rejected. If absent and there are many approvals possible, the request will fail with a 400 Bad Request. Optional.", +"type": "string" +}, +"reason": { +"description": "Free form text string explaining the rejection reason. Max allowed length: 256 bytes. Longer strings will be truncated.", +"type": "string" +} +}, +"type": "object" +}, +"RejectEntitlementPlanChangeRequest": { +"description": "Request message for PartnerProcurementService.RejectEntitlementPlanChange.", +"id": "RejectEntitlementPlanChangeRequest", +"properties": { +"pendingPlanName": { +"description": "Required. Name of the pending plan that is being rejected.", +"type": "string" +}, +"reason": { +"description": "Free form text string explaining the rejection reason. Max allowed length: 256 bytes. Longer strings will be truncated.", +"type": "string" +} +}, +"type": "object" +}, +"RejectEntitlementRequest": { +"description": "Request message for PartnerProcurementService.RejectEntitlement.", +"id": "RejectEntitlementRequest", +"properties": { +"reason": { +"description": "Free form text string explaining the rejection reason. Max allowed length: 256 bytes. Longer strings will be truncated.", +"type": "string" +} +}, +"type": "object" +}, +"ResetAccountRequest": { +"description": "Request message for PartnerProcurementService.ResetAccount.", +"id": "ResetAccountRequest", +"properties": {}, +"type": "object" +}, +"SuspendEntitlementRequest": { +"description": "Request message for ParterProcurementService.SuspendEntitlement. This is not yet supported.", +"id": "SuspendEntitlementRequest", +"properties": { +"reason": { +"description": "A free-form reason string, explaining the reason for suspension request.", +"type": "string" +} +}, +"type": "object" +} +}, +"servicePath": "", +"title": "Cloud Commerce Partner Procurement API", +"version": "v1", +"version_module": true +} \ No newline at end of file diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/clouderrorreporting.v1beta1.json b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/clouderrorreporting.v1beta1.json new file mode 100644 index 0000000000000000000000000000000000000000..37d7d59b37a7910a89a078f89a1919d8326eff86 --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/clouderrorreporting.v1beta1.json @@ -0,0 +1,1091 @@ +{ +"auth": { +"oauth2": { +"scopes": { +"https://www.googleapis.com/auth/cloud-platform": { +"description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." +} +} +} +}, +"basePath": "", +"baseUrl": "https://clouderrorreporting.googleapis.com/", +"batchPath": "batch", +"canonicalName": "Clouderrorreporting", +"description": "Groups and counts similar errors from cloud services and applications, reports new errors, and provides access to error groups and their associated errors. ", +"discoveryVersion": "v1", +"documentationLink": "https://cloud.google.com/error-reporting/", +"endpoints": [ +{ +"description": "Regional Endpoint", +"endpointUrl": "https://clouderrorreporting.us.rep.googleapis.com/", +"location": "us" +} +], +"fullyEncodeReservedExpansion": true, +"icons": { +"x16": "http://www.google.com/images/icons/product/search-16.gif", +"x32": "http://www.google.com/images/icons/product/search-32.gif" +}, +"id": "clouderrorreporting:v1beta1", +"kind": "discovery#restDescription", +"mtlsRootUrl": "https://clouderrorreporting.mtls.googleapis.com/", +"name": "clouderrorreporting", +"ownerDomain": "google.com", +"ownerName": "Google", +"parameters": { +"$.xgafv": { +"description": "V1 error format.", +"enum": [ +"1", +"2" +], +"enumDescriptions": [ +"v1 error format", +"v2 error format" +], +"location": "query", +"type": "string" +}, +"access_token": { +"description": "OAuth access token.", +"location": "query", +"type": "string" +}, +"alt": { +"default": "json", +"description": "Data format for response.", +"enum": [ +"json", +"media", +"proto" +], +"enumDescriptions": [ +"Responses with Content-Type of application/json", +"Media download with context-dependent Content-Type", +"Responses with Content-Type of application/x-protobuf" +], +"location": "query", +"type": "string" +}, +"callback": { +"description": "JSONP", +"location": "query", +"type": "string" +}, +"fields": { +"description": "Selector specifying which fields to include in a partial response.", +"location": "query", +"type": "string" +}, +"key": { +"description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", +"location": "query", +"type": "string" +}, +"oauth_token": { +"description": "OAuth 2.0 token for the current user.", +"location": "query", +"type": "string" +}, +"prettyPrint": { +"default": "true", +"description": "Returns response with indentations and line breaks.", +"location": "query", +"type": "boolean" +}, +"quotaUser": { +"description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.", +"location": "query", +"type": "string" +}, +"uploadType": { +"description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", +"location": "query", +"type": "string" +}, +"upload_protocol": { +"description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", +"location": "query", +"type": "string" +} +}, +"protocol": "rest", +"resources": { +"projects": { +"methods": { +"deleteEvents": { +"description": "Deletes all error events of a given project.", +"flatPath": "v1beta1/projects/{projectsId}/events", +"httpMethod": "DELETE", +"id": "clouderrorreporting.projects.deleteEvents", +"parameterOrder": [ +"projectName" +], +"parameters": { +"projectName": { +"description": "Required. The resource name of the Google Cloud Platform project. Written as `projects/{projectID}` or `projects/{projectID}/locations/{location}`, where `{projectID}` is the [Google Cloud Platform project ID](https://support.google.com/cloud/answer/6158840) and `{location}` is a Cloud region. Examples: `projects/my-project-123`, `projects/my-project-123/locations/global`. For a list of supported locations, see [Supported Regions](https://cloud.google.com/logging/docs/region-support). `global` is the default when unspecified.", +"location": "path", +"pattern": "^projects/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+projectName}/events", +"response": { +"$ref": "DeleteEventsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"events": { +"methods": { +"list": { +"description": "Lists the specified events.", +"flatPath": "v1beta1/projects/{projectsId}/events", +"httpMethod": "GET", +"id": "clouderrorreporting.projects.events.list", +"parameterOrder": [ +"projectName" +], +"parameters": { +"groupId": { +"description": "Required. The group for which events shall be returned. The `group_id` is a unique identifier for a particular error group. The identifier is derived from key parts of the error-log content and is treated as Service Data. For information about how Service Data is handled, see [Google Cloud Privacy Notice](https://cloud.google.com/terms/cloud-privacy-notice).", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Optional. The maximum number of results to return per response.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. A `next_page_token` provided by a previous response.", +"location": "query", +"type": "string" +}, +"projectName": { +"description": "Required. The resource name of the Google Cloud Platform project. Written as `projects/{projectID}` or `projects/{projectID}/locations/{location}`, where `{projectID}` is the [Google Cloud Platform project ID](https://support.google.com/cloud/answer/6158840) and `{location}` is a Cloud region. Examples: `projects/my-project-123`, `projects/my-project-123/locations/global`. For a list of supported locations, see [Supported Regions](https://cloud.google.com/logging/docs/region-support). `global` is the default when unspecified.", +"location": "path", +"pattern": "^projects/[^/]+$", +"required": true, +"type": "string" +}, +"serviceFilter.resourceType": { +"description": "Optional. The exact value to match against [`ServiceContext.resource_type`](/error-reporting/reference/rest/v1beta1/ServiceContext#FIELDS.resource_type).", +"location": "query", +"type": "string" +}, +"serviceFilter.service": { +"description": "Optional. The exact value to match against [`ServiceContext.service`](/error-reporting/reference/rest/v1beta1/ServiceContext#FIELDS.service).", +"location": "query", +"type": "string" +}, +"serviceFilter.version": { +"description": "Optional. The exact value to match against [`ServiceContext.version`](/error-reporting/reference/rest/v1beta1/ServiceContext#FIELDS.version).", +"location": "query", +"type": "string" +}, +"timeRange.period": { +"description": "Restricts the query to the specified time range.", +"enum": [ +"PERIOD_UNSPECIFIED", +"PERIOD_1_HOUR", +"PERIOD_6_HOURS", +"PERIOD_1_DAY", +"PERIOD_1_WEEK", +"PERIOD_30_DAYS" +], +"enumDescriptions": [ +"Do not use.", +"Retrieve data for the last hour. Recommended minimum timed count duration: 1 min.", +"Retrieve data for the last 6 hours. Recommended minimum timed count duration: 10 min.", +"Retrieve data for the last day. Recommended minimum timed count duration: 1 hour.", +"Retrieve data for the last week. Recommended minimum timed count duration: 6 hours.", +"Retrieve data for the last 30 days. Recommended minimum timed count duration: 1 day." +], +"location": "query", +"type": "string" +} +}, +"path": "v1beta1/{+projectName}/events", +"response": { +"$ref": "ListEventsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"report": { +"description": "Report an individual error event and record the event to a log. This endpoint accepts **either** an OAuth token, **or** an [API key](https://support.google.com/cloud/answer/6158862) for authentication. To use an API key, append it to the URL as the value of a `key` parameter. For example: `POST https://clouderrorreporting.googleapis.com/v1beta1/{projectName}/events:report?key=123ABC456` **Note:** [Error Reporting] (https://cloud.google.com/error-reporting) is a service built on Cloud Logging and can analyze log entries when all of the following are true: * Customer-managed encryption keys (CMEK) are disabled on the log bucket. * The log bucket satisfies one of the following: * The log bucket is stored in the same project where the logs originated. * The logs were routed to a project, and then that project stored those logs in a log bucket that it owns.", +"flatPath": "v1beta1/projects/{projectsId}/events:report", +"httpMethod": "POST", +"id": "clouderrorreporting.projects.events.report", +"parameterOrder": [ +"projectName" +], +"parameters": { +"projectName": { +"description": "Required. The resource name of the Google Cloud Platform project. Written as `projects/{projectId}`, where `{projectId}` is the [Google Cloud Platform project ID](https://support.google.com/cloud/answer/6158840). Example: // `projects/my-project-123`.", +"location": "path", +"pattern": "^projects/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+projectName}/events:report", +"request": { +"$ref": "ReportedErrorEvent" +}, +"response": { +"$ref": "ReportErrorEventResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"groupStats": { +"methods": { +"list": { +"description": "Lists the specified groups.", +"flatPath": "v1beta1/projects/{projectsId}/groupStats", +"httpMethod": "GET", +"id": "clouderrorreporting.projects.groupStats.list", +"parameterOrder": [ +"projectName" +], +"parameters": { +"alignment": { +"description": "Optional. The alignment of the timed counts to be returned. Default is `ALIGNMENT_EQUAL_AT_END`.", +"enum": [ +"ERROR_COUNT_ALIGNMENT_UNSPECIFIED", +"ALIGNMENT_EQUAL_ROUNDED", +"ALIGNMENT_EQUAL_AT_END" +], +"enumDescriptions": [ +"No alignment specified.", +"The time periods shall be consecutive, have width equal to the requested duration, and be aligned at the alignment_time provided in the request. The alignment_time does not have to be inside the query period but even if it is outside, only time periods are returned which overlap with the query period. A rounded alignment will typically result in a different size of the first or the last time period.", +"The time periods shall be consecutive, have width equal to the requested duration, and be aligned at the end of the requested time period. This can result in a different size of the first time period." +], +"location": "query", +"type": "string" +}, +"alignmentTime": { +"description": "Optional. Time where the timed counts shall be aligned if rounded alignment is chosen. Default is 00:00 UTC.", +"format": "google-datetime", +"location": "query", +"type": "string" +}, +"groupId": { +"description": "Optional. List all ErrorGroupStats with these IDs. The `group_id` is a unique identifier for a particular error group. The identifier is derived from key parts of the error-log content and is treated as Service Data. For information about how Service Data is handled, see [Google Cloud Privacy Notice] (https://cloud.google.com/terms/cloud-privacy-notice).", +"location": "query", +"repeated": true, +"type": "string" +}, +"order": { +"description": "Optional. The sort order in which the results are returned. Default is `COUNT_DESC`.", +"enum": [ +"GROUP_ORDER_UNSPECIFIED", +"COUNT_DESC", +"LAST_SEEN_DESC", +"CREATED_DESC", +"AFFECTED_USERS_DESC" +], +"enumDescriptions": [ +"No group order specified.", +"Total count of errors in the given time window in descending order.", +"Timestamp when the group was last seen in the given time window in descending order.", +"Timestamp when the group was created in descending order.", +"Number of affected users in the given time window in descending order." +], +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Optional. The maximum number of results to return per response. Default is 20.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. A next_page_token provided by a previous response. To view additional results, pass this token along with the identical query parameters as the first request.", +"location": "query", +"type": "string" +}, +"projectName": { +"description": "Required. The resource name of the Google Cloud Platform project. Written as `projects/{projectID}` or `projects/{projectNumber}`, where `{projectID}` and `{projectNumber}` can be found in the [Google Cloud console](https://support.google.com/cloud/answer/6158840). It may also include a location, such as `projects/{projectID}/locations/{location}` where `{location}` is a cloud region. Examples: `projects/my-project-123`, `projects/5551234`, `projects/my-project-123/locations/us-central1`, `projects/5551234/locations/us-central1`. For a list of supported locations, see [Supported Regions](https://cloud.google.com/logging/docs/region-support). `global` is the default when unspecified. Use `-` as a wildcard to request group stats from all regions.", +"location": "path", +"pattern": "^projects/[^/]+$", +"required": true, +"type": "string" +}, +"serviceFilter.resourceType": { +"description": "Optional. The exact value to match against [`ServiceContext.resource_type`](/error-reporting/reference/rest/v1beta1/ServiceContext#FIELDS.resource_type).", +"location": "query", +"type": "string" +}, +"serviceFilter.service": { +"description": "Optional. The exact value to match against [`ServiceContext.service`](/error-reporting/reference/rest/v1beta1/ServiceContext#FIELDS.service).", +"location": "query", +"type": "string" +}, +"serviceFilter.version": { +"description": "Optional. The exact value to match against [`ServiceContext.version`](/error-reporting/reference/rest/v1beta1/ServiceContext#FIELDS.version).", +"location": "query", +"type": "string" +}, +"timeRange.period": { +"description": "Restricts the query to the specified time range.", +"enum": [ +"PERIOD_UNSPECIFIED", +"PERIOD_1_HOUR", +"PERIOD_6_HOURS", +"PERIOD_1_DAY", +"PERIOD_1_WEEK", +"PERIOD_30_DAYS" +], +"enumDescriptions": [ +"Do not use.", +"Retrieve data for the last hour. Recommended minimum timed count duration: 1 min.", +"Retrieve data for the last 6 hours. Recommended minimum timed count duration: 10 min.", +"Retrieve data for the last day. Recommended minimum timed count duration: 1 hour.", +"Retrieve data for the last week. Recommended minimum timed count duration: 6 hours.", +"Retrieve data for the last 30 days. Recommended minimum timed count duration: 1 day." +], +"location": "query", +"type": "string" +}, +"timedCountDuration": { +"description": "Optional. The preferred duration for a single returned TimedCount. If not set, no timed counts are returned.", +"format": "google-duration", +"location": "query", +"type": "string" +} +}, +"path": "v1beta1/{+projectName}/groupStats", +"response": { +"$ref": "ListGroupStatsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"groups": { +"methods": { +"get": { +"description": "Get the specified group.", +"flatPath": "v1beta1/projects/{projectsId}/groups/{groupsId}", +"httpMethod": "GET", +"id": "clouderrorreporting.projects.groups.get", +"parameterOrder": [ +"groupName" +], +"parameters": { +"groupName": { +"description": "Required. The group resource name. Written as either `projects/{projectID}/groups/{group_id}` or `projects/{projectID}/locations/{location}/groups/{group_id}`. Call groupStats.list to return a list of groups belonging to this project. Examples: `projects/my-project-123/groups/my-group`, `projects/my-project-123/locations/global/groups/my-group` In the group resource name, the `group_id` is a unique identifier for a particular error group. The identifier is derived from key parts of the error-log content and is treated as Service Data. For information about how Service Data is handled, see [Google Cloud Privacy Notice](https://cloud.google.com/terms/cloud-privacy-notice). For a list of supported locations, see [Supported Regions](https://cloud.google.com/logging/docs/region-support). `global` is the default when unspecified.", +"location": "path", +"pattern": "^projects/[^/]+/groups/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+groupName}", +"response": { +"$ref": "ErrorGroup" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"update": { +"description": "Replace the data for the specified group. Fails if the group does not exist.", +"flatPath": "v1beta1/projects/{projectsId}/groups/{groupsId}", +"httpMethod": "PUT", +"id": "clouderrorreporting.projects.groups.update", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The group resource name. Written as `projects/{projectID}/groups/{group_id}` or `projects/{projectID}/locations/{location}/groups/{group_id}` Examples: `projects/my-project-123/groups/my-group`, `projects/my-project-123/locations/us-central1/groups/my-group` In the group resource name, the `group_id` is a unique identifier for a particular error group. The identifier is derived from key parts of the error-log content and is treated as Service Data. For information about how Service Data is handled, see [Google Cloud Privacy Notice](https://cloud.google.com/terms/cloud-privacy-notice). For a list of supported locations, see [Supported Regions](https://cloud.google.com/logging/docs/region-support). `global` is the default when unspecified.", +"location": "path", +"pattern": "^projects/[^/]+/groups/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+name}", +"request": { +"$ref": "ErrorGroup" +}, +"response": { +"$ref": "ErrorGroup" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"locations": { +"methods": { +"deleteEvents": { +"description": "Deletes all error events of a given project.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/events", +"httpMethod": "DELETE", +"id": "clouderrorreporting.projects.locations.deleteEvents", +"parameterOrder": [ +"projectName" +], +"parameters": { +"projectName": { +"description": "Required. The resource name of the Google Cloud Platform project. Written as `projects/{projectID}` or `projects/{projectID}/locations/{location}`, where `{projectID}` is the [Google Cloud Platform project ID](https://support.google.com/cloud/answer/6158840) and `{location}` is a Cloud region. Examples: `projects/my-project-123`, `projects/my-project-123/locations/global`. For a list of supported locations, see [Supported Regions](https://cloud.google.com/logging/docs/region-support). `global` is the default when unspecified.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+projectName}/events", +"response": { +"$ref": "DeleteEventsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"events": { +"methods": { +"list": { +"description": "Lists the specified events.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/events", +"httpMethod": "GET", +"id": "clouderrorreporting.projects.locations.events.list", +"parameterOrder": [ +"projectName" +], +"parameters": { +"groupId": { +"description": "Required. The group for which events shall be returned. The `group_id` is a unique identifier for a particular error group. The identifier is derived from key parts of the error-log content and is treated as Service Data. For information about how Service Data is handled, see [Google Cloud Privacy Notice](https://cloud.google.com/terms/cloud-privacy-notice).", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Optional. The maximum number of results to return per response.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. A `next_page_token` provided by a previous response.", +"location": "query", +"type": "string" +}, +"projectName": { +"description": "Required. The resource name of the Google Cloud Platform project. Written as `projects/{projectID}` or `projects/{projectID}/locations/{location}`, where `{projectID}` is the [Google Cloud Platform project ID](https://support.google.com/cloud/answer/6158840) and `{location}` is a Cloud region. Examples: `projects/my-project-123`, `projects/my-project-123/locations/global`. For a list of supported locations, see [Supported Regions](https://cloud.google.com/logging/docs/region-support). `global` is the default when unspecified.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +}, +"serviceFilter.resourceType": { +"description": "Optional. The exact value to match against [`ServiceContext.resource_type`](/error-reporting/reference/rest/v1beta1/ServiceContext#FIELDS.resource_type).", +"location": "query", +"type": "string" +}, +"serviceFilter.service": { +"description": "Optional. The exact value to match against [`ServiceContext.service`](/error-reporting/reference/rest/v1beta1/ServiceContext#FIELDS.service).", +"location": "query", +"type": "string" +}, +"serviceFilter.version": { +"description": "Optional. The exact value to match against [`ServiceContext.version`](/error-reporting/reference/rest/v1beta1/ServiceContext#FIELDS.version).", +"location": "query", +"type": "string" +}, +"timeRange.period": { +"description": "Restricts the query to the specified time range.", +"enum": [ +"PERIOD_UNSPECIFIED", +"PERIOD_1_HOUR", +"PERIOD_6_HOURS", +"PERIOD_1_DAY", +"PERIOD_1_WEEK", +"PERIOD_30_DAYS" +], +"enumDescriptions": [ +"Do not use.", +"Retrieve data for the last hour. Recommended minimum timed count duration: 1 min.", +"Retrieve data for the last 6 hours. Recommended minimum timed count duration: 10 min.", +"Retrieve data for the last day. Recommended minimum timed count duration: 1 hour.", +"Retrieve data for the last week. Recommended minimum timed count duration: 6 hours.", +"Retrieve data for the last 30 days. Recommended minimum timed count duration: 1 day." +], +"location": "query", +"type": "string" +} +}, +"path": "v1beta1/{+projectName}/events", +"response": { +"$ref": "ListEventsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"groupStats": { +"methods": { +"list": { +"description": "Lists the specified groups.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/groupStats", +"httpMethod": "GET", +"id": "clouderrorreporting.projects.locations.groupStats.list", +"parameterOrder": [ +"projectName" +], +"parameters": { +"alignment": { +"description": "Optional. The alignment of the timed counts to be returned. Default is `ALIGNMENT_EQUAL_AT_END`.", +"enum": [ +"ERROR_COUNT_ALIGNMENT_UNSPECIFIED", +"ALIGNMENT_EQUAL_ROUNDED", +"ALIGNMENT_EQUAL_AT_END" +], +"enumDescriptions": [ +"No alignment specified.", +"The time periods shall be consecutive, have width equal to the requested duration, and be aligned at the alignment_time provided in the request. The alignment_time does not have to be inside the query period but even if it is outside, only time periods are returned which overlap with the query period. A rounded alignment will typically result in a different size of the first or the last time period.", +"The time periods shall be consecutive, have width equal to the requested duration, and be aligned at the end of the requested time period. This can result in a different size of the first time period." +], +"location": "query", +"type": "string" +}, +"alignmentTime": { +"description": "Optional. Time where the timed counts shall be aligned if rounded alignment is chosen. Default is 00:00 UTC.", +"format": "google-datetime", +"location": "query", +"type": "string" +}, +"groupId": { +"description": "Optional. List all ErrorGroupStats with these IDs. The `group_id` is a unique identifier for a particular error group. The identifier is derived from key parts of the error-log content and is treated as Service Data. For information about how Service Data is handled, see [Google Cloud Privacy Notice] (https://cloud.google.com/terms/cloud-privacy-notice).", +"location": "query", +"repeated": true, +"type": "string" +}, +"order": { +"description": "Optional. The sort order in which the results are returned. Default is `COUNT_DESC`.", +"enum": [ +"GROUP_ORDER_UNSPECIFIED", +"COUNT_DESC", +"LAST_SEEN_DESC", +"CREATED_DESC", +"AFFECTED_USERS_DESC" +], +"enumDescriptions": [ +"No group order specified.", +"Total count of errors in the given time window in descending order.", +"Timestamp when the group was last seen in the given time window in descending order.", +"Timestamp when the group was created in descending order.", +"Number of affected users in the given time window in descending order." +], +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Optional. The maximum number of results to return per response. Default is 20.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. A next_page_token provided by a previous response. To view additional results, pass this token along with the identical query parameters as the first request.", +"location": "query", +"type": "string" +}, +"projectName": { +"description": "Required. The resource name of the Google Cloud Platform project. Written as `projects/{projectID}` or `projects/{projectNumber}`, where `{projectID}` and `{projectNumber}` can be found in the [Google Cloud console](https://support.google.com/cloud/answer/6158840). It may also include a location, such as `projects/{projectID}/locations/{location}` where `{location}` is a cloud region. Examples: `projects/my-project-123`, `projects/5551234`, `projects/my-project-123/locations/us-central1`, `projects/5551234/locations/us-central1`. For a list of supported locations, see [Supported Regions](https://cloud.google.com/logging/docs/region-support). `global` is the default when unspecified. Use `-` as a wildcard to request group stats from all regions.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +}, +"serviceFilter.resourceType": { +"description": "Optional. The exact value to match against [`ServiceContext.resource_type`](/error-reporting/reference/rest/v1beta1/ServiceContext#FIELDS.resource_type).", +"location": "query", +"type": "string" +}, +"serviceFilter.service": { +"description": "Optional. The exact value to match against [`ServiceContext.service`](/error-reporting/reference/rest/v1beta1/ServiceContext#FIELDS.service).", +"location": "query", +"type": "string" +}, +"serviceFilter.version": { +"description": "Optional. The exact value to match against [`ServiceContext.version`](/error-reporting/reference/rest/v1beta1/ServiceContext#FIELDS.version).", +"location": "query", +"type": "string" +}, +"timeRange.period": { +"description": "Restricts the query to the specified time range.", +"enum": [ +"PERIOD_UNSPECIFIED", +"PERIOD_1_HOUR", +"PERIOD_6_HOURS", +"PERIOD_1_DAY", +"PERIOD_1_WEEK", +"PERIOD_30_DAYS" +], +"enumDescriptions": [ +"Do not use.", +"Retrieve data for the last hour. Recommended minimum timed count duration: 1 min.", +"Retrieve data for the last 6 hours. Recommended minimum timed count duration: 10 min.", +"Retrieve data for the last day. Recommended minimum timed count duration: 1 hour.", +"Retrieve data for the last week. Recommended minimum timed count duration: 6 hours.", +"Retrieve data for the last 30 days. Recommended minimum timed count duration: 1 day." +], +"location": "query", +"type": "string" +}, +"timedCountDuration": { +"description": "Optional. The preferred duration for a single returned TimedCount. If not set, no timed counts are returned.", +"format": "google-duration", +"location": "query", +"type": "string" +} +}, +"path": "v1beta1/{+projectName}/groupStats", +"response": { +"$ref": "ListGroupStatsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"groups": { +"methods": { +"get": { +"description": "Get the specified group.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/groups/{groupsId}", +"httpMethod": "GET", +"id": "clouderrorreporting.projects.locations.groups.get", +"parameterOrder": [ +"groupName" +], +"parameters": { +"groupName": { +"description": "Required. The group resource name. Written as either `projects/{projectID}/groups/{group_id}` or `projects/{projectID}/locations/{location}/groups/{group_id}`. Call groupStats.list to return a list of groups belonging to this project. Examples: `projects/my-project-123/groups/my-group`, `projects/my-project-123/locations/global/groups/my-group` In the group resource name, the `group_id` is a unique identifier for a particular error group. The identifier is derived from key parts of the error-log content and is treated as Service Data. For information about how Service Data is handled, see [Google Cloud Privacy Notice](https://cloud.google.com/terms/cloud-privacy-notice). For a list of supported locations, see [Supported Regions](https://cloud.google.com/logging/docs/region-support). `global` is the default when unspecified.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/groups/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+groupName}", +"response": { +"$ref": "ErrorGroup" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"update": { +"description": "Replace the data for the specified group. Fails if the group does not exist.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/groups/{groupsId}", +"httpMethod": "PUT", +"id": "clouderrorreporting.projects.locations.groups.update", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The group resource name. Written as `projects/{projectID}/groups/{group_id}` or `projects/{projectID}/locations/{location}/groups/{group_id}` Examples: `projects/my-project-123/groups/my-group`, `projects/my-project-123/locations/us-central1/groups/my-group` In the group resource name, the `group_id` is a unique identifier for a particular error group. The identifier is derived from key parts of the error-log content and is treated as Service Data. For information about how Service Data is handled, see [Google Cloud Privacy Notice](https://cloud.google.com/terms/cloud-privacy-notice). For a list of supported locations, see [Supported Regions](https://cloud.google.com/logging/docs/region-support). `global` is the default when unspecified.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/groups/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+name}", +"request": { +"$ref": "ErrorGroup" +}, +"response": { +"$ref": "ErrorGroup" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +} +} +} +}, +"revision": "20260206", +"rootUrl": "https://clouderrorreporting.googleapis.com/", +"schemas": { +"DeleteEventsResponse": { +"description": "Response message for deleting error events.", +"id": "DeleteEventsResponse", +"properties": {}, +"type": "object" +}, +"ErrorContext": { +"description": "A description of the context in which an error occurred. This data should be provided by the application when reporting an error, unless the error report has been generated automatically from Google App Engine logs.", +"id": "ErrorContext", +"properties": { +"httpRequest": { +"$ref": "HttpRequestContext", +"description": "The HTTP request which was processed when the error was triggered." +}, +"reportLocation": { +"$ref": "SourceLocation", +"description": "The location in the source code where the decision was made to report the error, usually the place where it was logged. For a logged exception this would be the source line where the exception is logged, usually close to the place where it was caught." +}, +"sourceReferences": { +"description": "Source code that was used to build the executable which has caused the given error message.", +"items": { +"$ref": "SourceReference" +}, +"type": "array" +}, +"user": { +"description": "The user who caused or was affected by the crash. This can be a user ID, an email address, or an arbitrary token that uniquely identifies the user. When sending an error report, leave this field empty if the user was not logged in. In this case the Error Reporting system will use other data, such as remote IP address, to distinguish affected users. See `affected_users_count` in `ErrorGroupStats`.", +"type": "string" +} +}, +"type": "object" +}, +"ErrorEvent": { +"description": "An error event which is returned by the Error Reporting system.", +"id": "ErrorEvent", +"properties": { +"context": { +"$ref": "ErrorContext", +"description": "Data about the context in which the error occurred." +}, +"eventTime": { +"description": "Time when the event occurred as provided in the error report. If the report did not contain a timestamp, the time the error was received by the Error Reporting system is used.", +"format": "google-datetime", +"type": "string" +}, +"message": { +"description": "The stack trace that was reported or logged by the service.", +"type": "string" +}, +"serviceContext": { +"$ref": "ServiceContext", +"description": "The `ServiceContext` for which this error was reported." +} +}, +"type": "object" +}, +"ErrorGroup": { +"description": "Description of a group of similar error events.", +"id": "ErrorGroup", +"properties": { +"groupId": { +"description": "An opaque identifier of the group. This field is assigned by the Error Reporting system and always populated. In the group resource name, the `group_id` is a unique identifier for a particular error group. The identifier is derived from key parts of the error-log content and is treated as Service Data. For information about how Service Data is handled, see [Google Cloud Privacy Notice](https://cloud.google.com/terms/cloud-privacy-notice).", +"type": "string" +}, +"name": { +"description": "The group resource name. Written as `projects/{projectID}/groups/{group_id}` or `projects/{projectID}/locations/{location}/groups/{group_id}` Examples: `projects/my-project-123/groups/my-group`, `projects/my-project-123/locations/us-central1/groups/my-group` In the group resource name, the `group_id` is a unique identifier for a particular error group. The identifier is derived from key parts of the error-log content and is treated as Service Data. For information about how Service Data is handled, see [Google Cloud Privacy Notice](https://cloud.google.com/terms/cloud-privacy-notice). For a list of supported locations, see [Supported Regions](https://cloud.google.com/logging/docs/region-support). `global` is the default when unspecified.", +"type": "string" +}, +"resolutionStatus": { +"description": "Error group's resolution status. An unspecified resolution status will be interpreted as OPEN", +"enum": [ +"RESOLUTION_STATUS_UNSPECIFIED", +"OPEN", +"ACKNOWLEDGED", +"RESOLVED", +"MUTED" +], +"enumDescriptions": [ +"Status is unknown. When left unspecified in requests, it is treated like OPEN.", +"The error group is not being addressed. This is the default for new groups. It is also used for errors re-occurring after marked RESOLVED.", +"Error Group manually acknowledged, it can have an issue link attached.", +"Error Group manually resolved, more events for this group are not expected to occur.", +"The error group is muted and excluded by default on group stats requests." +], +"type": "string" +}, +"trackingIssues": { +"description": "Associated tracking issues.", +"items": { +"$ref": "TrackingIssue" +}, +"type": "array" +} +}, +"type": "object" +}, +"ErrorGroupStats": { +"description": "Data extracted for a specific group based on certain filter criteria, such as a given time period and/or service filter.", +"id": "ErrorGroupStats", +"properties": { +"affectedServices": { +"description": "Service contexts with a non-zero error count for the given filter criteria. This list can be truncated if multiple services are affected. Refer to `num_affected_services` for the total count.", +"items": { +"$ref": "ServiceContext" +}, +"type": "array" +}, +"affectedUsersCount": { +"description": "Approximate number of affected users in the given group that match the filter criteria. Users are distinguished by data in the ErrorContext of the individual error events, such as their login name or their remote IP address in case of HTTP requests. The number of affected users can be zero even if the number of errors is non-zero if no data was provided from which the affected user could be deduced. Users are counted based on data in the request context that was provided in the error report. If more users are implicitly affected, such as due to a crash of the whole service, this is not reflected here.", +"format": "int64", +"type": "string" +}, +"count": { +"description": "Approximate total number of events in the given group that match the filter criteria.", +"format": "int64", +"type": "string" +}, +"firstSeenTime": { +"description": "Approximate first occurrence that was ever seen for this group and which matches the given filter criteria, ignoring the time_range that was specified in the request.", +"format": "google-datetime", +"type": "string" +}, +"group": { +"$ref": "ErrorGroup", +"description": "Group data that is independent of the filter criteria." +}, +"lastSeenTime": { +"description": "Approximate last occurrence that was ever seen for this group and which matches the given filter criteria, ignoring the time_range that was specified in the request.", +"format": "google-datetime", +"type": "string" +}, +"numAffectedServices": { +"description": "The total number of services with a non-zero error count for the given filter criteria.", +"format": "int32", +"type": "integer" +}, +"representative": { +"$ref": "ErrorEvent", +"description": "An arbitrary event that is chosen as representative for the whole group. The representative event is intended to be used as a quick preview for the whole group. Events in the group are usually sufficiently similar to each other such that showing an arbitrary representative provides insight into the characteristics of the group as a whole." +}, +"timedCounts": { +"description": "Approximate number of occurrences over time. Timed counts returned by ListGroups are guaranteed to be: - Inside the requested time interval - Non-overlapping, and - Ordered by ascending time.", +"items": { +"$ref": "TimedCount" +}, +"type": "array" +} +}, +"type": "object" +}, +"HttpRequestContext": { +"description": "HTTP request data that is related to a reported error. This data should be provided by the application when reporting an error, unless the error report has been generated automatically from Google App Engine logs.", +"id": "HttpRequestContext", +"properties": { +"method": { +"description": "The type of HTTP request, such as `GET`, `POST`, etc.", +"type": "string" +}, +"referrer": { +"description": "The referrer information that is provided with the request.", +"type": "string" +}, +"remoteIp": { +"description": "The IP address from which the request originated. This can be IPv4, IPv6, or a token which is derived from the IP address, depending on the data that has been provided in the error report.", +"type": "string" +}, +"responseStatusCode": { +"description": "The HTTP response status code for the request.", +"format": "int32", +"type": "integer" +}, +"url": { +"description": "The URL of the request.", +"type": "string" +}, +"userAgent": { +"description": "The user agent information that is provided with the request.", +"type": "string" +} +}, +"type": "object" +}, +"ListEventsResponse": { +"description": "Contains a set of requested error events.", +"id": "ListEventsResponse", +"properties": { +"errorEvents": { +"description": "The error events which match the given request.", +"items": { +"$ref": "ErrorEvent" +}, +"type": "array" +}, +"nextPageToken": { +"description": "If non-empty, more results are available. Pass this token, along with the same query parameters as the first request, to view the next page of results.", +"type": "string" +}, +"timeRangeBegin": { +"description": "The timestamp specifies the start time to which the request was restricted.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"ListGroupStatsResponse": { +"description": "Contains a set of requested error group stats.", +"id": "ListGroupStatsResponse", +"properties": { +"errorGroupStats": { +"description": "The error group stats which match the given request.", +"items": { +"$ref": "ErrorGroupStats" +}, +"type": "array" +}, +"nextPageToken": { +"description": "If non-empty, more results are available. Pass this token, along with the same query parameters as the first request, to view the next page of results.", +"type": "string" +}, +"timeRangeBegin": { +"description": "The timestamp specifies the start time to which the request was restricted. The start time is set based on the requested time range. It may be adjusted to a later time if a project has exceeded the storage quota and older data has been deleted.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"ReportErrorEventResponse": { +"description": "Response for reporting an individual error event. Data may be added to this message in the future.", +"id": "ReportErrorEventResponse", +"properties": {}, +"type": "object" +}, +"ReportedErrorEvent": { +"description": "An error event which is reported to the Error Reporting system.", +"id": "ReportedErrorEvent", +"properties": { +"context": { +"$ref": "ErrorContext", +"description": "Optional. A description of the context in which the error occurred." +}, +"eventTime": { +"description": "Optional. Time when the event occurred. If not provided, the time when the event was received by the Error Reporting system is used. If provided, the time must not exceed the [logs retention period](https://cloud.google.com/logging/quotas#logs_retention_periods) in the past, or be more than 24 hours in the future. If an invalid time is provided, then an error is returned.", +"format": "google-datetime", +"type": "string" +}, +"message": { +"description": "Required. The error message. If no `context.reportLocation` is provided, the message must contain a header (typically consisting of the exception type name and an error message) and an exception stack trace in one of the supported programming languages and formats. Supported languages are Java, Python, JavaScript, Ruby, C#, PHP, and Go. Supported stack trace formats are: * **Java**: Must be the return value of [`Throwable.printStackTrace()`](https://docs.oracle.com/javase/7/docs/api/java/lang/Throwable.html#printStackTrace%28%29). * **Python**: Must be the return value of [`traceback.format_exc()`](https://docs.python.org/2/library/traceback.html#traceback.format_exc). * **JavaScript**: Must be the value of [`error.stack`](https://github.com/v8/v8/wiki/Stack-Trace-API) as returned by V8. * **Ruby**: Must contain frames returned by [`Exception.backtrace`](https://ruby-doc.org/core-2.2.0/Exception.html#method-i-backtrace). * **C#**: Must be the return value of [`Exception.ToString()`](https://msdn.microsoft.com/en-us/library/system.exception.tostring.aspx). * **PHP**: Must be prefixed with `\"PHP (Notice|Parse error|Fatal error|Warning): \"` and contain the result of [`(string)$exception`](https://php.net/manual/en/exception.tostring.php). * **Go**: Must be the return value of [`debug.Stack()`](https://pkg.go.dev/runtime/debug#Stack).", +"type": "string" +}, +"serviceContext": { +"$ref": "ServiceContext", +"description": "Required. The service context in which this error has occurred." +} +}, +"type": "object" +}, +"ServiceContext": { +"description": "Describes a running service that sends errors. Its version changes over time and multiple versions can run in parallel.", +"id": "ServiceContext", +"properties": { +"resourceType": { +"description": "Type of the MonitoredResource. List of possible values: https://cloud.google.com/monitoring/api/resources Value is set automatically for incoming errors and must not be set when reporting errors.", +"type": "string" +}, +"service": { +"description": "An identifier of the service, such as the name of the executable, job, or Google App Engine service name. This field is expected to have a low number of values that are relatively stable over time, as opposed to `version`, which can be changed whenever new code is deployed. Contains the service name for error reports extracted from Google App Engine logs or `default` if the App Engine default service is used.", +"type": "string" +}, +"version": { +"description": "Represents the source code version that the developer provided, which could represent a version label or a Git SHA-1 hash, for example. For App Engine standard environment, the version is set to the version of the app.", +"type": "string" +} +}, +"type": "object" +}, +"SourceLocation": { +"description": "Indicates a location in the source code of the service for which errors are reported. `functionName` must be provided by the application when reporting an error, unless the error report contains a `message` with a supported exception stack trace. All fields are optional for the later case.", +"id": "SourceLocation", +"properties": { +"filePath": { +"description": "The source code filename, which can include a truncated relative path, or a full path from a production machine.", +"type": "string" +}, +"functionName": { +"description": "Human-readable name of a function or method. The value can include optional context like the class or package name. For example, `my.package.MyClass.method` in case of Java.", +"type": "string" +}, +"lineNumber": { +"description": "1-based. 0 indicates that the line number is unknown.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"SourceReference": { +"description": "A reference to a particular snapshot of the source tree used to build and deploy an application.", +"id": "SourceReference", +"properties": { +"repository": { +"description": "Optional. A URI string identifying the repository. Example: \"https://github.com/GoogleCloudPlatform/kubernetes.git\"", +"type": "string" +}, +"revisionId": { +"description": "The canonical and persistent identifier of the deployed revision. Example (git): \"0035781c50ec7aa23385dc841529ce8a4b70db1b\"", +"type": "string" +} +}, +"type": "object" +}, +"TimedCount": { +"description": "The number of errors in a given time period. All numbers are approximate since the error events are sampled before counting them.", +"id": "TimedCount", +"properties": { +"count": { +"description": "Approximate number of occurrences in the given time period.", +"format": "int64", +"type": "string" +}, +"endTime": { +"description": "End of the time period to which `count` refers (excluded).", +"format": "google-datetime", +"type": "string" +}, +"startTime": { +"description": "Start of the time period to which `count` refers (included).", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"TrackingIssue": { +"description": "Information related to tracking the progress on resolving the error.", +"id": "TrackingIssue", +"properties": { +"url": { +"description": "A URL pointing to a related entry in an issue tracking system. Example: `https://github.com/user/project/issues/4`", +"type": "string" +} +}, +"type": "object" +} +}, +"servicePath": "", +"title": "Error Reporting API", +"version": "v1beta1", +"version_module": true +} \ No newline at end of file diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/cloudfunctions.v2beta.json b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/cloudfunctions.v2beta.json new file mode 100644 index 0000000000000000000000000000000000000000..bc06f47806a83ca91a1a8249534fd66a7aa8e6a5 --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/cloudfunctions.v2beta.json @@ -0,0 +1,2320 @@ +{ +"auth": { +"oauth2": { +"scopes": { +"https://www.googleapis.com/auth/cloud-platform": { +"description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." +} +} +} +}, +"basePath": "", +"baseUrl": "https://cloudfunctions.googleapis.com/", +"batchPath": "batch", +"canonicalName": "Cloud Functions", +"description": "Manages lightweight user-provided functions executed in response to events.", +"discoveryVersion": "v1", +"documentationLink": "https://cloud.google.com/functions", +"fullyEncodeReservedExpansion": true, +"icons": { +"x16": "http://www.google.com/images/icons/product/search-16.gif", +"x32": "http://www.google.com/images/icons/product/search-32.gif" +}, +"id": "cloudfunctions:v2beta", +"kind": "discovery#restDescription", +"mtlsRootUrl": "https://cloudfunctions.mtls.googleapis.com/", +"name": "cloudfunctions", +"ownerDomain": "google.com", +"ownerName": "Google", +"parameters": { +"$.xgafv": { +"description": "V1 error format.", +"enum": [ +"1", +"2" +], +"enumDescriptions": [ +"v1 error format", +"v2 error format" +], +"location": "query", +"type": "string" +}, +"access_token": { +"description": "OAuth access token.", +"location": "query", +"type": "string" +}, +"alt": { +"default": "json", +"description": "Data format for response.", +"enum": [ +"json", +"media", +"proto" +], +"enumDescriptions": [ +"Responses with Content-Type of application/json", +"Media download with context-dependent Content-Type", +"Responses with Content-Type of application/x-protobuf" +], +"location": "query", +"type": "string" +}, +"callback": { +"description": "JSONP", +"location": "query", +"type": "string" +}, +"fields": { +"description": "Selector specifying which fields to include in a partial response.", +"location": "query", +"type": "string" +}, +"key": { +"description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", +"location": "query", +"type": "string" +}, +"oauth_token": { +"description": "OAuth 2.0 token for the current user.", +"location": "query", +"type": "string" +}, +"prettyPrint": { +"default": "true", +"description": "Returns response with indentations and line breaks.", +"location": "query", +"type": "boolean" +}, +"quotaUser": { +"description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.", +"location": "query", +"type": "string" +}, +"uploadType": { +"description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", +"location": "query", +"type": "string" +}, +"upload_protocol": { +"description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", +"location": "query", +"type": "string" +} +}, +"protocol": "rest", +"resources": { +"projects": { +"resources": { +"locations": { +"methods": { +"list": { +"description": "Lists information about the supported locations for this service. This method can be called in two ways: * **List all public locations:** Use the path `GET /v1/locations`. * **List project-visible locations:** Use the path `GET /v1/projects/{project_id}/locations`. This may include public locations as well as private or other locations specifically visible to the project.", +"flatPath": "v2beta/projects/{projectsId}/locations", +"httpMethod": "GET", +"id": "cloudfunctions.projects.locations.list", +"parameterOrder": [ +"name" +], +"parameters": { +"extraLocationTypes": { +"description": "Optional. Do not use this field. It is unsupported and is ignored unless explicitly documented otherwise. This is primarily for internal usage.", +"location": "query", +"repeated": true, +"type": "string" +}, +"filter": { +"description": "A filter to narrow down results to a preferred subset. The filtering language accepts strings like `\"displayName=tokyo\"`, and is documented in more detail in [AIP-160](https://google.aip.dev/160).", +"location": "query", +"type": "string" +}, +"name": { +"description": "The resource that owns the locations collection, if applicable.", +"location": "path", +"pattern": "^projects/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The maximum number of results to return. If not set, the service selects a default.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A page token received from the `next_page_token` field in the response. Send that page token to receive the subsequent page.", +"location": "query", +"type": "string" +} +}, +"path": "v2beta/{+name}/locations", +"response": { +"$ref": "ListLocationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"functions": { +"methods": { +"abortFunctionUpgrade": { +"description": "Aborts generation upgrade process for a function with the given name from the specified project. Deletes all 2nd Gen copy related configuration and resources which were created during the upgrade process.", +"flatPath": "v2beta/projects/{projectsId}/locations/{locationsId}/functions/{functionsId}:abortFunctionUpgrade", +"httpMethod": "POST", +"id": "cloudfunctions.projects.locations.functions.abortFunctionUpgrade", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the function for which upgrade should be aborted.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/functions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2beta/{+name}:abortFunctionUpgrade", +"request": { +"$ref": "AbortFunctionUpgradeRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"commitFunctionUpgrade": { +"description": "Finalizes the upgrade after which function upgrade can not be rolled back. This is the last step of the multi step process to upgrade 1st Gen functions to 2nd Gen. Deletes all original 1st Gen related configuration and resources.", +"flatPath": "v2beta/projects/{projectsId}/locations/{locationsId}/functions/{functionsId}:commitFunctionUpgrade", +"httpMethod": "POST", +"id": "cloudfunctions.projects.locations.functions.commitFunctionUpgrade", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the function for which upgrade should be finalized.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/functions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2beta/{+name}:commitFunctionUpgrade", +"request": { +"$ref": "CommitFunctionUpgradeRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"commitFunctionUpgradeAsGen2": { +"description": "Commits a function upgrade from GCF Gen1 to GCF Gen2. This action deletes the Gen1 function, leaving the Gen2 function active and manageable by the GCFv2 API.", +"flatPath": "v2beta/projects/{projectsId}/locations/{locationsId}/functions/{functionsId}:commitFunctionUpgradeAsGen2", +"httpMethod": "POST", +"id": "cloudfunctions.projects.locations.functions.commitFunctionUpgradeAsGen2", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the function for which upgrade should be committed to Gen2.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/functions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2beta/{+name}:commitFunctionUpgradeAsGen2", +"request": { +"$ref": "CommitFunctionUpgradeAsGen2Request" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"create": { +"description": "Creates a new function. If a function with the given name already exists in the specified project, the long running operation will return `ALREADY_EXISTS` error.", +"flatPath": "v2beta/projects/{projectsId}/locations/{locationsId}/functions", +"httpMethod": "POST", +"id": "cloudfunctions.projects.locations.functions.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"functionId": { +"description": "The ID to use for the function, which will become the final component of the function's resource name. This value should be 4-63 characters, and valid characters are /a-z-/.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The project and location in which the function should be created, specified in the format `projects/*/locations/*`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2beta/{+parent}/functions", +"request": { +"$ref": "Function" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a function with the given name from the specified project. If the given function is used by some trigger, the trigger will be updated to remove this function.", +"flatPath": "v2beta/projects/{projectsId}/locations/{locationsId}/functions/{functionsId}", +"httpMethod": "DELETE", +"id": "cloudfunctions.projects.locations.functions.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the function which should be deleted.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/functions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2beta/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"detachFunction": { +"description": "Detaches 2nd Gen function to Cloud Run function.", +"flatPath": "v2beta/projects/{projectsId}/locations/{locationsId}/functions/{functionsId}:detachFunction", +"httpMethod": "POST", +"id": "cloudfunctions.projects.locations.functions.detachFunction", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the function for which should be detached.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/functions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2beta/{+name}:detachFunction", +"request": { +"$ref": "DetachFunctionRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"generateDownloadUrl": { +"description": "Returns a signed URL for downloading deployed function source code. The URL is only valid for a limited period and should be used within 30 minutes of generation. For more information about the signed URL usage see: https://cloud.google.com/storage/docs/access-control/signed-urls", +"flatPath": "v2beta/projects/{projectsId}/locations/{locationsId}/functions/{functionsId}:generateDownloadUrl", +"httpMethod": "POST", +"id": "cloudfunctions.projects.locations.functions.generateDownloadUrl", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of function for which source code Google Cloud Storage signed URL should be generated.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/functions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2beta/{+name}:generateDownloadUrl", +"request": { +"$ref": "GenerateDownloadUrlRequest" +}, +"response": { +"$ref": "GenerateDownloadUrlResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"generateUploadUrl": { +"description": "Returns a signed URL for uploading a function source code. For more information about the signed URL usage see: https://cloud.google.com/storage/docs/access-control/signed-urls. Once the function source code upload is complete, the used signed URL should be provided in CreateFunction or UpdateFunction request as a reference to the function source code. When uploading source code to the generated signed URL, please follow these restrictions: * Source file type should be a zip file. * No credentials should be attached - the signed URLs provide access to the target bucket using internal service identity; if credentials were attached, the identity from the credentials would be used, but that identity does not have permissions to upload files to the URL. When making a HTTP PUT request, specify this header: * `content-type: application/zip` Do not specify this header: * `Authorization: Bearer YOUR_TOKEN`", +"flatPath": "v2beta/projects/{projectsId}/locations/{locationsId}/functions:generateUploadUrl", +"httpMethod": "POST", +"id": "cloudfunctions.projects.locations.functions.generateUploadUrl", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The project and location in which the Google Cloud Storage signed URL should be generated, specified in the format `projects/*/locations/*`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2beta/{+parent}/functions:generateUploadUrl", +"request": { +"$ref": "GenerateUploadUrlRequest" +}, +"response": { +"$ref": "GenerateUploadUrlResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Returns a function with the given name from the requested project.", +"flatPath": "v2beta/projects/{projectsId}/locations/{locationsId}/functions/{functionsId}", +"httpMethod": "GET", +"id": "cloudfunctions.projects.locations.functions.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the function which details should be obtained.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/functions/[^/]+$", +"required": true, +"type": "string" +}, +"revision": { +"description": "Optional. The optional version of the 1st gen function whose details should be obtained. The version of a 1st gen function is an integer that starts from 1 and gets incremented on redeployments. GCF may keep historical configs for old versions of 1st gen function. This field can be specified to fetch the historical configs. This field is valid only for GCF 1st gen function.", +"location": "query", +"type": "string" +} +}, +"path": "v2beta/{+name}", +"response": { +"$ref": "Function" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"getIamPolicy": { +"description": "Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.", +"flatPath": "v2beta/projects/{projectsId}/locations/{locationsId}/functions/{functionsId}:getIamPolicy", +"httpMethod": "GET", +"id": "cloudfunctions.projects.locations.functions.getIamPolicy", +"parameterOrder": [ +"resource" +], +"parameters": { +"options.requestedPolicyVersion": { +"description": "Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).", +"format": "int32", +"location": "query", +"type": "integer" +}, +"resource": { +"description": "REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/functions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2beta/{+resource}:getIamPolicy", +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Returns a list of functions that belong to the requested project.", +"flatPath": "v2beta/projects/{projectsId}/locations/{locationsId}/functions", +"httpMethod": "GET", +"id": "cloudfunctions.projects.locations.functions.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "The filter for Functions that match the filter expression, following the syntax outlined in https://google.aip.dev/160.", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "The sorting order of the resources returned. Value should be a comma separated list of fields. The default sorting order is ascending. See https://google.aip.dev/132#ordering.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Maximum number of functions to return per call. The largest allowed page_size is 1,000, if the page_size is omitted or specified as greater than 1,000 then it will be replaced as 1,000. The size of the list response can be less than specified when used with filters.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The value returned by the last `ListFunctionsResponse`; indicates that this is a continuation of a prior `ListFunctions` call, and that the system should return the next page of data.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The project and location from which the function should be listed, specified in the format `projects/*/locations/*` If you want to list functions in all locations, use \"-\" in place of a location. When listing functions in all locations, if one or more location(s) are unreachable, the response will contain functions from all reachable locations along with the names of any unreachable locations.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2beta/{+parent}/functions", +"response": { +"$ref": "ListFunctionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates existing function.", +"flatPath": "v2beta/projects/{projectsId}/locations/{locationsId}/functions/{functionsId}", +"httpMethod": "PATCH", +"id": "cloudfunctions.projects.locations.functions.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "A user-defined name of the function. Function names must be unique globally and match pattern `projects/*/locations/*/functions/*`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/functions/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "The list of fields to be updated. If no field mask is provided, all fields will be updated.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v2beta/{+name}", +"request": { +"$ref": "Function" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"redirectFunctionUpgradeTraffic": { +"description": "Changes the traffic target of a function from the original 1st Gen function to the 2nd Gen copy. This is the second step of the multi step process to upgrade 1st Gen functions to 2nd Gen. After this operation, all new traffic will be served by 2nd Gen copy.", +"flatPath": "v2beta/projects/{projectsId}/locations/{locationsId}/functions/{functionsId}:redirectFunctionUpgradeTraffic", +"httpMethod": "POST", +"id": "cloudfunctions.projects.locations.functions.redirectFunctionUpgradeTraffic", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the function for which traffic target should be changed to 2nd Gen from 1st Gen.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/functions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2beta/{+name}:redirectFunctionUpgradeTraffic", +"request": { +"$ref": "RedirectFunctionUpgradeTrafficRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"rollbackFunctionUpgradeTraffic": { +"description": "Reverts the traffic target of a function from the 2nd Gen copy to the original 1st Gen function. After this operation, all new traffic would be served by the 1st Gen.", +"flatPath": "v2beta/projects/{projectsId}/locations/{locationsId}/functions/{functionsId}:rollbackFunctionUpgradeTraffic", +"httpMethod": "POST", +"id": "cloudfunctions.projects.locations.functions.rollbackFunctionUpgradeTraffic", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the function for which traffic target should be changed back to 1st Gen from 2nd Gen.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/functions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2beta/{+name}:rollbackFunctionUpgradeTraffic", +"request": { +"$ref": "RollbackFunctionUpgradeTrafficRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"setIamPolicy": { +"description": "Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.", +"flatPath": "v2beta/projects/{projectsId}/locations/{locationsId}/functions/{functionsId}:setIamPolicy", +"httpMethod": "POST", +"id": "cloudfunctions.projects.locations.functions.setIamPolicy", +"parameterOrder": [ +"resource" +], +"parameters": { +"resource": { +"description": "REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/functions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2beta/{+resource}:setIamPolicy", +"request": { +"$ref": "SetIamPolicyRequest" +}, +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"setupFunctionUpgradeConfig": { +"description": "Creates a 2nd Gen copy of the function configuration based on the 1st Gen function with the given name. This is the first step of the multi step process to upgrade 1st Gen functions to 2nd Gen. Only 2nd Gen configuration is setup as part of this request and traffic continues to be served by 1st Gen.", +"flatPath": "v2beta/projects/{projectsId}/locations/{locationsId}/functions/{functionsId}:setupFunctionUpgradeConfig", +"httpMethod": "POST", +"id": "cloudfunctions.projects.locations.functions.setupFunctionUpgradeConfig", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the function which should have configuration copied for upgrade.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/functions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2beta/{+name}:setupFunctionUpgradeConfig", +"request": { +"$ref": "SetupFunctionUpgradeConfigRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"testIamPermissions": { +"description": "Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may \"fail open\" without warning.", +"flatPath": "v2beta/projects/{projectsId}/locations/{locationsId}/functions/{functionsId}:testIamPermissions", +"httpMethod": "POST", +"id": "cloudfunctions.projects.locations.functions.testIamPermissions", +"parameterOrder": [ +"resource" +], +"parameters": { +"resource": { +"description": "REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/functions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2beta/{+resource}:testIamPermissions", +"request": { +"$ref": "TestIamPermissionsRequest" +}, +"response": { +"$ref": "TestIamPermissionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"operations": { +"methods": { +"get": { +"description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", +"flatPath": "v2beta/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}", +"httpMethod": "GET", +"id": "cloudfunctions.projects.locations.operations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2beta/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.", +"flatPath": "v2beta/projects/{projectsId}/locations/{locationsId}/operations", +"httpMethod": "GET", +"id": "cloudfunctions.projects.locations.operations.list", +"parameterOrder": [ +"name" +], +"parameters": { +"filter": { +"description": "The standard list filter.", +"location": "query", +"type": "string" +}, +"name": { +"description": "The name of the operation's parent resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The standard list page size.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The standard list page token.", +"location": "query", +"type": "string" +}, +"returnPartialSuccess": { +"description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `\"projects/example/locations/-\"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", +"location": "query", +"type": "boolean" +} +}, +"path": "v2beta/{+name}/operations", +"response": { +"$ref": "ListOperationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"runtimes": { +"methods": { +"list": { +"description": "Returns a list of runtimes that are supported for the requested project.", +"flatPath": "v2beta/projects/{projectsId}/locations/{locationsId}/runtimes", +"httpMethod": "GET", +"id": "cloudfunctions.projects.locations.runtimes.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "The filter for Runtimes that match the filter expression, following the syntax outlined in https://google.aip.dev/160.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The project and location from which the runtimes should be listed, specified in the format `projects/*/locations/*`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2beta/{+parent}/runtimes", +"response": { +"$ref": "ListRuntimesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +} +} +} +}, +"revision": "20260212", +"rootUrl": "https://cloudfunctions.googleapis.com/", +"schemas": { +"AbortFunctionUpgradeRequest": { +"description": "Request for the `AbortFunctionUpgrade` method.", +"id": "AbortFunctionUpgradeRequest", +"properties": {}, +"type": "object" +}, +"AuditConfig": { +"description": "Specifies the audit configuration for a service. The configuration determines which permission types are logged, and what identities, if any, are exempted from logging. An AuditConfig must have one or more AuditLogConfigs. If there are AuditConfigs for both `allServices` and a specific service, the union of the two AuditConfigs is used for that service: the log_types specified in each AuditConfig are enabled, and the exempted_members in each AuditLogConfig are exempted. Example Policy with multiple AuditConfigs: { \"audit_configs\": [ { \"service\": \"allServices\", \"audit_log_configs\": [ { \"log_type\": \"DATA_READ\", \"exempted_members\": [ \"user:jose@example.com\" ] }, { \"log_type\": \"DATA_WRITE\" }, { \"log_type\": \"ADMIN_READ\" } ] }, { \"service\": \"sampleservice.googleapis.com\", \"audit_log_configs\": [ { \"log_type\": \"DATA_READ\" }, { \"log_type\": \"DATA_WRITE\", \"exempted_members\": [ \"user:aliya@example.com\" ] } ] } ] } For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also exempts `jose@example.com` from DATA_READ logging, and `aliya@example.com` from DATA_WRITE logging.", +"id": "AuditConfig", +"properties": { +"auditLogConfigs": { +"description": "The configuration for logging of each type of permission.", +"items": { +"$ref": "AuditLogConfig" +}, +"type": "array" +}, +"service": { +"description": "Specifies a service that will be enabled for audit logging. For example, `storage.googleapis.com`, `cloudsql.googleapis.com`. `allServices` is a special value that covers all services.", +"type": "string" +} +}, +"type": "object" +}, +"AuditLogConfig": { +"description": "Provides the configuration for logging a type of permissions. Example: { \"audit_log_configs\": [ { \"log_type\": \"DATA_READ\", \"exempted_members\": [ \"user:jose@example.com\" ] }, { \"log_type\": \"DATA_WRITE\" } ] } This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting jose@example.com from DATA_READ logging.", +"id": "AuditLogConfig", +"properties": { +"exemptedMembers": { +"description": "Specifies the identities that do not cause logging for this type of permission. Follows the same format of Binding.members.", +"items": { +"type": "string" +}, +"type": "array" +}, +"logType": { +"description": "The log type that this config enables.", +"enum": [ +"LOG_TYPE_UNSPECIFIED", +"ADMIN_READ", +"DATA_WRITE", +"DATA_READ" +], +"enumDescriptions": [ +"Default case. Should never be this.", +"Admin reads. Example: CloudIAM getIamPolicy", +"Data writes. Example: CloudSQL Users create", +"Data reads. Example: CloudSQL Users list" +], +"type": "string" +} +}, +"type": "object" +}, +"AutomaticUpdatePolicy": { +"description": "Security patches are applied automatically to the runtime without requiring the function to be redeployed.", +"id": "AutomaticUpdatePolicy", +"properties": {}, +"type": "object" +}, +"Binding": { +"description": "Associates `members`, or principals, with a `role`.", +"id": "Binding", +"properties": { +"condition": { +"$ref": "Expr", +"description": "The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies)." +}, +"members": { +"description": "Specifies the principals requesting access for a Google Cloud resource. `members` can have the following values: * `allUsers`: A special identifier that represents anyone who is on the internet; with or without a Google account. * `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service account. Does not include identities that come from external identity providers (IdPs) through identity federation. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `group:{emailid}`: An email address that represents a Google group. For example, `admins@example.com`. * `domain:{domain}`: The G Suite domain (primary) that represents all the users of that domain. For example, `google.com` or `example.com`. * `principal://iam.googleapis.com/locations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}`: A single identity in a workforce identity pool. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/group/{group_id}`: All workforce identities in a group. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/attribute.{attribute_name}/{attribute_value}`: All workforce identities with a specific attribute value. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/*`: All identities in a workforce identity pool. * `principal://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/subject/{subject_attribute_value}`: A single identity in a workload identity pool. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/group/{group_id}`: A workload identity pool group. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/attribute.{attribute_name}/{attribute_value}`: All identities in a workload identity pool with a certain attribute. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/*`: All identities in a workload identity pool. * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a user that has been recently deleted. For example, `alice@example.com?uid=123456789012345678901`. If the user is recovered, this value reverts to `user:{emailid}` and the recovered user retains the role in the binding. * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a service account that has been recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the service account is undeleted, this value reverts to `serviceAccount:{emailid}` and the undeleted service account retains the role in the binding. * `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a Google group that has been recently deleted. For example, `admins@example.com?uid=123456789012345678901`. If the group is recovered, this value reverts to `group:{emailid}` and the recovered group retains the role in the binding. * `deleted:principal://iam.googleapis.com/locations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}`: Deleted single identity in a workforce identity pool. For example, `deleted:principal://iam.googleapis.com/locations/global/workforcePools/my-pool-id/subject/my-subject-attribute-value`.", +"items": { +"type": "string" +}, +"type": "array" +}, +"role": { +"description": "Role that is assigned to the list of `members`, or principals. For example, `roles/viewer`, `roles/editor`, or `roles/owner`. For an overview of the IAM roles and permissions, see the [IAM documentation](https://cloud.google.com/iam/docs/roles-overview). For a list of the available pre-defined roles, see [here](https://cloud.google.com/iam/docs/understanding-roles).", +"type": "string" +} +}, +"type": "object" +}, +"BuildConfig": { +"description": "Describes the Build step of the function that builds a container from the given source.", +"id": "BuildConfig", +"properties": { +"automaticUpdatePolicy": { +"$ref": "AutomaticUpdatePolicy" +}, +"build": { +"description": "Output only. The Cloud Build name of the latest successful deployment of the function.", +"readOnly": true, +"type": "string" +}, +"dockerRegistry": { +"deprecated": true, +"description": "Docker Registry to use for this deployment. This configuration is only applicable to 1st Gen functions, 2nd Gen functions can only use Artifact Registry. Deprecated: as of March 2025, `CONTAINER_REGISTRY` option is no longer available in response to Container Registry's deprecation: https://cloud.google.com/artifact-registry/docs/transition/transition-from-gcr Please use Artifact Registry instead, which is the default choice. If unspecified, it defaults to `ARTIFACT_REGISTRY`. If `docker_repository` field is specified, this field should either be left unspecified or set to `ARTIFACT_REGISTRY`.", +"enum": [ +"DOCKER_REGISTRY_UNSPECIFIED", +"CONTAINER_REGISTRY", +"ARTIFACT_REGISTRY" +], +"enumDescriptions": [ +"Unspecified.", +"Docker images will be stored in multi-regional Container Registry repositories named `gcf`.", +"Docker images will be stored in regional Artifact Registry repositories. By default, GCF will create and use repositories named `gcf-artifacts` in every region in which a function is deployed. But the repository to use can also be specified by the user using the `docker_repository` field." +], +"type": "string" +}, +"dockerRepository": { +"description": "Repository in Artifact Registry to which the function docker image will be pushed after it is built by Cloud Build. If specified by user, it is created and managed by user with a customer managed encryption key. Otherwise, GCF will create and use a repository named 'gcf-artifacts' for every deployed region. It must match the pattern `projects/{project}/locations/{location}/repositories/{repository}`. Repository format must be 'DOCKER'.", +"type": "string" +}, +"entryPoint": { +"description": "The name of the function (as defined in source code) that will be executed. Defaults to the resource name suffix, if not specified. For backward compatibility, if function with given name is not found, then the system will try to use function named \"function\". For Node.js this is name of a function exported by the module specified in `source_location`.", +"type": "string" +}, +"environmentVariables": { +"additionalProperties": { +"type": "string" +}, +"description": "User-provided build-time environment variables for the function", +"type": "object" +}, +"onDeployUpdatePolicy": { +"$ref": "OnDeployUpdatePolicy" +}, +"runtime": { +"description": "The runtime in which to run the function. Required when deploying a new function, optional when updating an existing function. For a complete list of possible choices, see the [`gcloud` command reference](https://cloud.google.com/sdk/gcloud/reference/functions/deploy#--runtime).", +"type": "string" +}, +"serviceAccount": { +"description": "Service account to be used for building the container. The format of this field is `projects/{projectId}/serviceAccounts/{serviceAccountEmail}`.", +"type": "string" +}, +"source": { +"$ref": "Source", +"description": "The location of the function source code." +}, +"sourceProvenance": { +"$ref": "SourceProvenance", +"description": "Output only. A permanent fixed identifier for source.", +"readOnly": true +}, +"sourceToken": { +"description": "An identifier for Firebase function sources. Disclaimer: This field is only supported for Firebase function deployments.", +"type": "string" +}, +"workerPool": { +"description": "Name of the Cloud Build Custom Worker Pool that should be used to build the function. The format of this field is `projects/{project}/locations/{region}/workerPools/{workerPool}` where {project} and {region} are the project id and region respectively where the worker pool is defined and {workerPool} is the short name of the worker pool. If the project id is not the same as the function, then the Cloud Functions Service Agent (service-@gcf-admin-robot.iam.gserviceaccount.com) must be granted the role Cloud Build Custom Workers Builder (roles/cloudbuild.customworkers.builder) in the project.", +"type": "string" +} +}, +"type": "object" +}, +"BuildConfigOverrides": { +"description": "Contains overrides related to the function's build configuration.", +"id": "BuildConfigOverrides", +"properties": { +"runtime": { +"description": "Optional. Specifies the desired runtime for the new Cloud Run function. (e.g., `\"nodejs20\"`, `\"python312\"`). Constraints: 1. This field CANNOT be used to change the runtime language (e.g., from `NODEJS` to `PYTHON`). The backend will enforce this. 2. This field can ONLY be used to upgrade the runtime version (e.g., `nodejs18` to `nodejs20`). Downgrading the version is not permitted. The backend will validate the version change. If provided and valid, this overrides the runtime of the Gen1 function.", +"type": "string" +} +}, +"type": "object" +}, +"CommitFunctionUpgradeAsGen2Request": { +"description": "Request for the `CommitFunctionUpgradeAsGen2` method.", +"id": "CommitFunctionUpgradeAsGen2Request", +"properties": {}, +"type": "object" +}, +"CommitFunctionUpgradeRequest": { +"description": "Request for the `CommitFunctionUpgrade` method.", +"id": "CommitFunctionUpgradeRequest", +"properties": {}, +"type": "object" +}, +"Date": { +"description": "Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following: * A full date, with non-zero year, month, and day values. * A month and day, with a zero year (for example, an anniversary). * A year on its own, with a zero month and a zero day. * A year and month, with a zero day (for example, a credit card expiration date). Related types: * google.type.TimeOfDay * google.type.DateTime * google.protobuf.Timestamp", +"id": "Date", +"properties": { +"day": { +"description": "Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn't significant.", +"format": "int32", +"type": "integer" +}, +"month": { +"description": "Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.", +"format": "int32", +"type": "integer" +}, +"year": { +"description": "Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"DetachFunctionRequest": { +"description": "Request for the `DetachFunction` method.", +"id": "DetachFunctionRequest", +"properties": {}, +"type": "object" +}, +"DirectVpcNetworkInterface": { +"description": "The Direct VPC network interface. This is mutually exclusive with VPC Connector.", +"id": "DirectVpcNetworkInterface", +"properties": { +"network": { +"description": "Optional. The name of the VPC network to which the function will be connected. Specify either a VPC network or a subnet, or both. If you specify only a network, the subnet uses the same name as the network.", +"type": "string" +}, +"subnetwork": { +"description": "Optional. The name of the VPC subnetwork that the Cloud Function resource will get IPs from. Specify either a VPC network or a subnet, or both. If both network and subnetwork are specified, the given VPC subnetwork must belong to the given VPC network. If subnetwork is not specified, the subnetwork with the same name with the network will be used.", +"type": "string" +}, +"tags": { +"description": "Optional. Network tags applied to this Cloud Function resource.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"EventFilter": { +"description": "Filters events based on exact matches on the CloudEvents attributes.", +"id": "EventFilter", +"properties": { +"attribute": { +"description": "Required. The name of a CloudEvents attribute.", +"type": "string" +}, +"operator": { +"description": "Optional. The operator used for matching the events with the value of the filter. If not specified, only events that have an exact key-value pair specified in the filter are matched. The only allowed value is `match-path-pattern`.", +"type": "string" +}, +"value": { +"description": "Required. The value for the attribute.", +"type": "string" +} +}, +"type": "object" +}, +"EventTrigger": { +"description": "Describes EventTrigger, used to request events to be sent from another service.", +"id": "EventTrigger", +"properties": { +"channel": { +"description": "Optional. The name of the channel associated with the trigger in `projects/{project}/locations/{location}/channels/{channel}` format. You must provide a channel to receive events from Eventarc SaaS partners.", +"type": "string" +}, +"eventFilters": { +"description": "Criteria used to filter events.", +"items": { +"$ref": "EventFilter" +}, +"type": "array" +}, +"eventType": { +"description": "Required. The type of event to observe. For example: `google.cloud.audit.log.v1.written` or `google.cloud.pubsub.topic.v1.messagePublished`.", +"type": "string" +}, +"pubsubTopic": { +"description": "Optional. The name of a Pub/Sub topic in the same project that will be used as the transport topic for the event delivery. Format: `projects/{project}/topics/{topic}`. This is only valid for events of type `google.cloud.pubsub.topic.v1.messagePublished`. The topic provided here will not be deleted at function deletion.", +"type": "string" +}, +"retryPolicy": { +"description": "Optional. If unset, then defaults to ignoring failures (i.e. not retrying them).", +"enum": [ +"RETRY_POLICY_UNSPECIFIED", +"RETRY_POLICY_DO_NOT_RETRY", +"RETRY_POLICY_RETRY" +], +"enumDescriptions": [ +"Not specified.", +"Do not retry.", +"Retry on any failure, retry up to 7 days with an exponential backoff (capped at 10 seconds)." +], +"type": "string" +}, +"service": { +"description": "Optional. The hostname of the service that 1st Gen function should be observed. If no string is provided, the default service implementing the API will be used. For example, `storage.googleapis.com` is the default for all event types in the `google.storage` namespace. The field is only applicable to 1st Gen functions.", +"type": "string" +}, +"serviceAccountEmail": { +"description": "Optional. The email of the trigger's service account. The service account must have permission to invoke Cloud Run services, the permission is `run.routes.invoke`. If empty, defaults to the Compute Engine default service account: `{project_number}-compute@developer.gserviceaccount.com`.", +"type": "string" +}, +"trigger": { +"description": "Output only. The resource name of the Eventarc trigger. The format of this field is `projects/{project}/locations/{region}/triggers/{trigger}`.", +"readOnly": true, +"type": "string" +}, +"triggerRegion": { +"description": "The region that the trigger will be in. The trigger will only receive events originating in this region. It can be the same region as the function, a different region or multi-region, or the global region. If not provided, defaults to the same region as the function.", +"type": "string" +} +}, +"type": "object" +}, +"Expr": { +"description": "Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: \"Summary size limit\" description: \"Determines if a summary is less than 100 chars\" expression: \"document.summary.size() < 100\" Example (Equality): title: \"Requestor is owner\" description: \"Determines if requestor is the document owner\" expression: \"document.owner == request.auth.claims.email\" Example (Logic): title: \"Public documents\" description: \"Determine whether the document should be publicly visible\" expression: \"document.type != 'private' && document.type != 'internal'\" Example (Data Manipulation): title: \"Notification string\" description: \"Create a notification string with a timestamp.\" expression: \"'New message received at ' + string(document.create_time)\" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information.", +"id": "Expr", +"properties": { +"description": { +"description": "Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI.", +"type": "string" +}, +"expression": { +"description": "Textual representation of an expression in Common Expression Language syntax.", +"type": "string" +}, +"location": { +"description": "Optional. String indicating the location of the expression for error reporting, e.g. a file name and a position in the file.", +"type": "string" +}, +"title": { +"description": "Optional. Title for the expression, i.e. a short string describing its purpose. This can be used e.g. in UIs which allow to enter the expression.", +"type": "string" +} +}, +"type": "object" +}, +"Function": { +"description": "Describes a Cloud Function that contains user computation executed in response to an event. It encapsulates function and trigger configurations.", +"id": "Function", +"properties": { +"buildConfig": { +"$ref": "BuildConfig", +"description": "Describes the Build step of the function that builds a container from the given source." +}, +"createTime": { +"description": "Output only. The create timestamp of a Cloud Function. This is only applicable to 2nd Gen functions.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"description": { +"description": "User-provided description of a function.", +"type": "string" +}, +"environment": { +"description": "Describe whether the function is 1st Gen or 2nd Gen.", +"enum": [ +"ENVIRONMENT_UNSPECIFIED", +"GEN_1", +"GEN_2" +], +"enumDescriptions": [ +"Unspecified", +"Gen 1", +"Gen 2" +], +"type": "string" +}, +"eventTrigger": { +"$ref": "EventTrigger", +"description": "An Eventarc trigger managed by Google Cloud Functions that fires events in response to a condition in another service." +}, +"kmsKeyName": { +"description": "Resource name of a KMS crypto key (managed by the user) used to encrypt/decrypt function resources. It must match the pattern `projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}`.", +"type": "string" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Labels associated with this Cloud Function.", +"type": "object" +}, +"name": { +"description": "A user-defined name of the function. Function names must be unique globally and match pattern `projects/*/locations/*/functions/*`", +"type": "string" +}, +"satisfiesPzi": { +"description": "Output only. Reserved for future use.", +"readOnly": true, +"type": "boolean" +}, +"satisfiesPzs": { +"description": "Output only. Reserved for future use.", +"readOnly": true, +"type": "boolean" +}, +"serviceConfig": { +"$ref": "ServiceConfig", +"description": "Describes the Service being deployed. Currently deploys services to Cloud Run (fully managed)." +}, +"state": { +"description": "Output only. State of the function.", +"enum": [ +"STATE_UNSPECIFIED", +"ACTIVE", +"FAILED", +"DEPLOYING", +"DELETING", +"UNKNOWN", +"DETACHING", +"DETACH_FAILED" +], +"enumDescriptions": [ +"Not specified. Invalid state.", +"Function has been successfully deployed and is serving.", +"Function deployment failed and the function is not serving.", +"Function is being created or updated.", +"Function is being deleted.", +"Function deployment failed and the function serving state is undefined. The function should be updated or deleted to move it out of this state.", +"Function is being detached.", +"Function detach failed and the function is still serving." +], +"readOnly": true, +"type": "string" +}, +"stateMessages": { +"description": "Output only. State Messages for this Cloud Function.", +"items": { +"$ref": "GoogleCloudFunctionsV2betaStateMessage" +}, +"readOnly": true, +"type": "array" +}, +"updateTime": { +"description": "Output only. The last update timestamp of a Cloud Function.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"upgradeInfo": { +"$ref": "UpgradeInfo", +"description": "Output only. UpgradeInfo for this Cloud Function", +"readOnly": true +}, +"url": { +"description": "Output only. The deployed url for the function.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GenerateDownloadUrlRequest": { +"description": "Request of `GenerateDownloadUrl` method.", +"id": "GenerateDownloadUrlRequest", +"properties": {}, +"type": "object" +}, +"GenerateDownloadUrlResponse": { +"description": "Response of `GenerateDownloadUrl` method.", +"id": "GenerateDownloadUrlResponse", +"properties": { +"downloadUrl": { +"description": "The generated Google Cloud Storage signed URL that should be used for function source code download.", +"type": "string" +} +}, +"type": "object" +}, +"GenerateUploadUrlRequest": { +"description": "Request of `GenerateSourceUploadUrl` method.", +"id": "GenerateUploadUrlRequest", +"properties": { +"environment": { +"description": "The function environment the generated upload url will be used for. The upload url for 2nd Gen functions can also be used for 1st gen functions, but not vice versa. If not specified, 2nd generation-style upload URLs are generated.", +"enum": [ +"ENVIRONMENT_UNSPECIFIED", +"GEN_1", +"GEN_2" +], +"enumDescriptions": [ +"Unspecified", +"Gen 1", +"Gen 2" +], +"type": "string" +}, +"kmsKeyName": { +"description": "Resource name of a KMS crypto key (managed by the user) used to encrypt/decrypt function source code objects in intermediate Cloud Storage buckets. When you generate an upload url and upload your source code, it gets copied to an intermediate Cloud Storage bucket. The source code is then copied to a versioned directory in the sources bucket in the consumer project during the function deployment. It must match the pattern `projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}`. The Google Cloud Functions service account (service-{project_number}@gcf-admin-robot.iam.gserviceaccount.com) must be granted the role 'Cloud KMS CryptoKey Encrypter/Decrypter (roles/cloudkms.cryptoKeyEncrypterDecrypter)' on the Key/KeyRing/Project/Organization (least access preferred).", +"type": "string" +} +}, +"type": "object" +}, +"GenerateUploadUrlResponse": { +"description": "Response of `GenerateSourceUploadUrl` method.", +"id": "GenerateUploadUrlResponse", +"properties": { +"storageSource": { +"$ref": "StorageSource", +"description": "The location of the source code in the upload bucket. Once the archive is uploaded using the `upload_url` use this field to set the `function.build_config.source.storage_source` during CreateFunction and UpdateFunction. Generation defaults to 0, as Cloud Storage provides a new generation only upon uploading a new object or version of an object." +}, +"uploadUrl": { +"description": "The generated Google Cloud Storage signed URL that should be used for a function source code upload. The uploaded file should be a zip archive which contains a function.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudFunctionsV2betaLocationMetadata": { +"description": "Extra GCF specific location information.", +"id": "GoogleCloudFunctionsV2betaLocationMetadata", +"properties": { +"environments": { +"description": "The Cloud Function environments this location supports.", +"items": { +"enum": [ +"ENVIRONMENT_UNSPECIFIED", +"GEN_1", +"GEN_2" +], +"enumDescriptions": [ +"Unspecified", +"Gen 1", +"Gen 2" +], +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudFunctionsV2betaOperationMetadata": { +"description": "Represents the metadata of the long-running operation.", +"id": "GoogleCloudFunctionsV2betaOperationMetadata", +"properties": { +"apiVersion": { +"description": "API version used to start the operation.", +"type": "string" +}, +"buildName": { +"description": "The build name of the function for create and update operations.", +"type": "string" +}, +"cancelRequested": { +"description": "Identifies whether the user has requested cancellation of the operation. Operations that have successfully been cancelled have google.longrunning.Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.", +"type": "boolean" +}, +"createTime": { +"description": "The time the operation was created.", +"format": "google-datetime", +"type": "string" +}, +"customIamRoleDetected": { +"description": "Output only. Whether a custom IAM role binding was detected during the upgrade.", +"readOnly": true, +"type": "boolean" +}, +"endTime": { +"description": "The time the operation finished running.", +"format": "google-datetime", +"type": "string" +}, +"operationType": { +"description": "The operation type.", +"enum": [ +"OPERATIONTYPE_UNSPECIFIED", +"CREATE_FUNCTION", +"UPDATE_FUNCTION", +"DELETE_FUNCTION", +"REDIRECT_FUNCTION_UPGRADE_TRAFFIC", +"ROLLBACK_FUNCTION_UPGRADE_TRAFFIC", +"SETUP_FUNCTION_UPGRADE_CONFIG", +"ABORT_FUNCTION_UPGRADE", +"COMMIT_FUNCTION_UPGRADE", +"DETACH_FUNCTION", +"COMMIT_FUNCTION_UPGRADE_AS_GEN2" +], +"enumDescriptions": [ +"Unspecified", +"CreateFunction", +"UpdateFunction", +"DeleteFunction", +"RedirectFunctionUpgradeTraffic", +"RollbackFunctionUpgradeTraffic", +"SetupFunctionUpgradeConfig", +"AbortFunctionUpgrade", +"CommitFunctionUpgrade", +"DetachFunction", +"CommitFunctionUpgradeAsGen2" +], +"type": "string" +}, +"requestResource": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "The original request that started the operation.", +"type": "object" +}, +"sourceToken": { +"description": "An identifier for Firebase function sources. Disclaimer: This field is only supported for Firebase function deployments.", +"type": "string" +}, +"stages": { +"description": "Mechanism for reporting in-progress stages", +"items": { +"$ref": "GoogleCloudFunctionsV2betaStage" +}, +"type": "array" +}, +"statusDetail": { +"description": "Human-readable status of the operation, if any.", +"type": "string" +}, +"target": { +"description": "Server-defined resource path for the target of the operation.", +"type": "string" +}, +"verb": { +"description": "Name of the verb executed by the operation.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudFunctionsV2betaStage": { +"description": "Each Stage of the deployment process", +"id": "GoogleCloudFunctionsV2betaStage", +"properties": { +"message": { +"description": "Message describing the Stage", +"type": "string" +}, +"name": { +"description": "Name of the Stage. This will be unique for each Stage.", +"enum": [ +"NAME_UNSPECIFIED", +"ARTIFACT_REGISTRY", +"BUILD", +"SERVICE", +"TRIGGER", +"SERVICE_ROLLBACK", +"TRIGGER_ROLLBACK" +], +"enumDescriptions": [ +"Not specified. Invalid name.", +"Artifact Registry Stage", +"Build Stage", +"Service Stage", +"Trigger Stage", +"Service Rollback Stage", +"Trigger Rollback Stage" +], +"type": "string" +}, +"resource": { +"description": "Resource of the Stage", +"type": "string" +}, +"resourceUri": { +"description": "Link to the current Stage resource", +"type": "string" +}, +"state": { +"description": "Current state of the Stage", +"enum": [ +"STATE_UNSPECIFIED", +"NOT_STARTED", +"IN_PROGRESS", +"COMPLETE" +], +"enumDescriptions": [ +"Not specified. Invalid state.", +"Stage has not started.", +"Stage is in progress.", +"Stage has completed." +], +"type": "string" +}, +"stateMessages": { +"description": "State messages from the current Stage.", +"items": { +"$ref": "GoogleCloudFunctionsV2betaStateMessage" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudFunctionsV2betaStateMessage": { +"description": "Informational messages about the state of the Cloud Function or Operation.", +"id": "GoogleCloudFunctionsV2betaStateMessage", +"properties": { +"message": { +"description": "The message.", +"type": "string" +}, +"severity": { +"description": "Severity of the state message.", +"enum": [ +"SEVERITY_UNSPECIFIED", +"ERROR", +"WARNING", +"INFO" +], +"enumDescriptions": [ +"Not specified. Invalid severity.", +"ERROR-level severity.", +"WARNING-level severity.", +"INFO-level severity." +], +"type": "string" +}, +"type": { +"description": "One-word CamelCase type of the state message.", +"type": "string" +} +}, +"type": "object" +}, +"ListFunctionsResponse": { +"description": "Response for the `ListFunctions` method.", +"id": "ListFunctionsResponse", +"properties": { +"functions": { +"description": "The functions that match the request.", +"items": { +"$ref": "Function" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.", +"type": "string" +}, +"unreachable": { +"description": "Locations that could not be reached. The response does not include any functions from these locations.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListLocationsResponse": { +"description": "The response message for Locations.ListLocations.", +"id": "ListLocationsResponse", +"properties": { +"locations": { +"description": "A list of locations that matches the specified filter in the request.", +"items": { +"$ref": "Location" +}, +"type": "array" +}, +"nextPageToken": { +"description": "The standard List next-page token.", +"type": "string" +} +}, +"type": "object" +}, +"ListOperationsResponse": { +"description": "The response message for Operations.ListOperations.", +"id": "ListOperationsResponse", +"properties": { +"nextPageToken": { +"description": "The standard List next-page token.", +"type": "string" +}, +"operations": { +"description": "A list of operations that matches the specified filter in the request.", +"items": { +"$ref": "Operation" +}, +"type": "array" +}, +"unreachable": { +"description": "Unordered list. Unreachable resources. Populated when the request sets `ListOperationsRequest.return_partial_success` and reads across collections. For example, when attempting to list all resources across all supported locations.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListRuntimesResponse": { +"description": "Response for the `ListRuntimes` method.", +"id": "ListRuntimesResponse", +"properties": { +"runtimes": { +"description": "The runtimes that match the request.", +"items": { +"$ref": "Runtime" +}, +"type": "array" +} +}, +"type": "object" +}, +"Location": { +"description": "A resource that represents a Google Cloud location.", +"id": "Location", +"properties": { +"displayName": { +"description": "The friendly name for this location, typically a nearby city name. For example, \"Tokyo\".", +"type": "string" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Cross-service attributes for the location. For example {\"cloud.googleapis.com/region\": \"us-east1\"}", +"type": "object" +}, +"locationId": { +"description": "The canonical id for this location. For example: `\"us-east1\"`.", +"type": "string" +}, +"metadata": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "Service-specific metadata. For example the available capacity at the given location.", +"type": "object" +}, +"name": { +"description": "Resource name for the location, which may vary between implementations. For example: `\"projects/example-project/locations/us-east1\"`", +"type": "string" +} +}, +"type": "object" +}, +"OnDeployUpdatePolicy": { +"description": "Security patches are only applied when a function is redeployed.", +"id": "OnDeployUpdatePolicy", +"properties": { +"runtimeVersion": { +"description": "Output only. contains the runtime version which was used during latest function deployment.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"Operation": { +"description": "This resource represents a long-running operation that is the result of a network API call.", +"id": "Operation", +"properties": { +"done": { +"description": "If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.", +"type": "boolean" +}, +"error": { +"$ref": "Status", +"description": "The error result of the operation in case of failure or cancellation." +}, +"metadata": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.", +"type": "object" +}, +"name": { +"description": "The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.", +"type": "string" +}, +"response": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "The normal, successful response of the operation. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.", +"type": "object" +} +}, +"type": "object" +}, +"OperationMetadataV1": { +"description": "Metadata describing an Operation", +"id": "OperationMetadataV1", +"properties": { +"buildId": { +"description": "The Cloud Build ID of the function created or updated by an API call. This field is only populated for Create and Update operations.", +"type": "string" +}, +"buildName": { +"description": "The Cloud Build Name of the function deployment. This field is only populated for Create and Update operations. `projects//locations//builds/`.", +"type": "string" +}, +"request": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "The original request that started the operation.", +"type": "object" +}, +"sourceToken": { +"description": "An identifier for Firebase function sources. Disclaimer: This field is only supported for Firebase function deployments.", +"type": "string" +}, +"target": { +"description": "Target of the operation - for example `projects/project-1/locations/region-1/functions/function-1`", +"type": "string" +}, +"type": { +"description": "Type of operation.", +"enum": [ +"OPERATION_UNSPECIFIED", +"CREATE_FUNCTION", +"UPDATE_FUNCTION", +"DELETE_FUNCTION" +], +"enumDescriptions": [ +"Unknown operation type.", +"Triggered by CreateFunction call", +"Triggered by UpdateFunction call", +"Triggered by DeleteFunction call." +], +"type": "string" +}, +"updateTime": { +"description": "The last update timestamp of the operation.", +"format": "google-datetime", +"type": "string" +}, +"versionId": { +"description": "Version id of the function created or updated by an API call. This field is only populated for Create and Update operations.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"Policy": { +"description": "An Identity and Access Management (IAM) policy, which specifies access controls for Google Cloud resources. A `Policy` is a collection of `bindings`. A `binding` binds one or more `members`, or principals, to a single `role`. Principals can be user accounts, service accounts, Google groups, and domains (such as G Suite). A `role` is a named list of permissions; each `role` can be an IAM predefined role or a user-created custom role. For some types of Google Cloud resources, a `binding` can also specify a `condition`, which is a logical expression that allows access to a resource only if the expression evaluates to `true`. A condition can add constraints based on attributes of the request, the resource, or both. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). **JSON example:** ``` { \"bindings\": [ { \"role\": \"roles/resourcemanager.organizationAdmin\", \"members\": [ \"user:mike@example.com\", \"group:admins@example.com\", \"domain:google.com\", \"serviceAccount:my-project-id@appspot.gserviceaccount.com\" ] }, { \"role\": \"roles/resourcemanager.organizationViewer\", \"members\": [ \"user:eve@example.com\" ], \"condition\": { \"title\": \"expirable access\", \"description\": \"Does not grant access after Sep 2020\", \"expression\": \"request.time < timestamp('2020-10-01T00:00:00.000Z')\", } } ], \"etag\": \"BwWWja0YfJA=\", \"version\": 3 } ``` **YAML example:** ``` bindings: - members: - user:mike@example.com - group:admins@example.com - domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.com role: roles/resourcemanager.organizationViewer condition: title: expirable access description: Does not grant access after Sep 2020 expression: request.time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 ``` For a description of IAM and its features, see the [IAM documentation](https://cloud.google.com/iam/docs/).", +"id": "Policy", +"properties": { +"auditConfigs": { +"description": "Specifies cloud audit logging configuration for this policy.", +"items": { +"$ref": "AuditConfig" +}, +"type": "array" +}, +"bindings": { +"description": "Associates a list of `members`, or principals, with a `role`. Optionally, may specify a `condition` that determines how and when the `bindings` are applied. Each of the `bindings` must contain at least one principal. The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250 of these principals can be Google groups. Each occurrence of a principal counts towards these limits. For example, if the `bindings` grant 50 different roles to `user:alice@example.com`, and not to any other principal, then you can add another 1,450 principals to the `bindings` in the `Policy`.", +"items": { +"$ref": "Binding" +}, +"type": "array" +}, +"etag": { +"description": "`etag` is used for optimistic concurrency control as a way to help prevent simultaneous updates of a policy from overwriting each other. It is strongly suggested that systems make use of the `etag` in the read-modify-write cycle to perform policy updates in order to avoid race conditions: An `etag` is returned in the response to `getIamPolicy`, and systems are expected to put that etag in the request to `setIamPolicy` to ensure that their change will be applied to the same version of the policy. **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost.", +"format": "byte", +"type": "string" +}, +"version": { +"description": "Specifies the format of the policy. Valid values are `0`, `1`, and `3`. Requests that specify an invalid value are rejected. Any operation that affects conditional role bindings must specify version `3`. This requirement applies to the following operations: * Getting a policy that includes a conditional role binding * Adding a conditional role binding to a policy * Changing a conditional role binding in a policy * Removing any role binding, with or without a condition, from a policy that includes conditions **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost. If a policy does not include any conditions, operations on that policy may specify any valid version or leave the field unset. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"RedirectFunctionUpgradeTrafficRequest": { +"description": "Request for the `RedirectFunctionUpgradeTraffic` method.", +"id": "RedirectFunctionUpgradeTrafficRequest", +"properties": {}, +"type": "object" +}, +"RepoSource": { +"description": "Location of the source in a Google Cloud Source Repository.", +"id": "RepoSource", +"properties": { +"branchName": { +"description": "Regex matching branches to build. The syntax of the regular expressions accepted is the syntax accepted by RE2 and described at https://github.com/google/re2/wiki/Syntax", +"type": "string" +}, +"commitSha": { +"description": "Explicit commit SHA to build.", +"type": "string" +}, +"dir": { +"description": "Directory, relative to the source root, in which to run the build. This must be a relative path. If a step's `dir` is specified and is an absolute path, this value is ignored for that step's execution. eg. helloworld (no leading slash allowed)", +"type": "string" +}, +"projectId": { +"description": "ID of the project that owns the Cloud Source Repository. If omitted, the project ID requesting the build is assumed.", +"type": "string" +}, +"repoName": { +"description": "Name of the Cloud Source Repository.", +"type": "string" +}, +"tagName": { +"description": "Regex matching tags to build. The syntax of the regular expressions accepted is the syntax accepted by RE2 and described at https://github.com/google/re2/wiki/Syntax", +"type": "string" +} +}, +"type": "object" +}, +"RollbackFunctionUpgradeTrafficRequest": { +"description": "Request for the `RollbackFunctionUpgradeTraffic` method.", +"id": "RollbackFunctionUpgradeTrafficRequest", +"properties": {}, +"type": "object" +}, +"Runtime": { +"description": "Describes a runtime and any special information (e.g., deprecation status) related to it.", +"id": "Runtime", +"properties": { +"decommissionDate": { +"$ref": "Date", +"description": "Decommission date for the runtime." +}, +"deprecationDate": { +"$ref": "Date", +"description": "Deprecation date for the runtime." +}, +"displayName": { +"description": "The user facing name, eg 'Go 1.13', 'Node.js 12', etc.", +"type": "string" +}, +"environment": { +"description": "The environment for the runtime.", +"enum": [ +"ENVIRONMENT_UNSPECIFIED", +"GEN_1", +"GEN_2" +], +"enumDescriptions": [ +"Unspecified", +"Gen 1", +"Gen 2" +], +"type": "string" +}, +"name": { +"description": "The name of the runtime, e.g., 'go113', 'nodejs12', etc.", +"type": "string" +}, +"stage": { +"description": "The stage of life this runtime is in, e.g., BETA, GA, etc.", +"enum": [ +"RUNTIME_STAGE_UNSPECIFIED", +"DEVELOPMENT", +"ALPHA", +"BETA", +"GA", +"DEPRECATED", +"DECOMMISSIONED" +], +"enumDescriptions": [ +"Not specified.", +"The runtime is in development.", +"The runtime is in the Alpha stage.", +"The runtime is in the Beta stage.", +"The runtime is generally available.", +"The runtime is deprecated.", +"The runtime is no longer supported." +], +"type": "string" +}, +"warnings": { +"description": "Warning messages, e.g., a deprecation warning.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"SecretEnvVar": { +"description": "Configuration for a secret environment variable. It has the information necessary to fetch the secret value from secret manager and expose it as an environment variable.", +"id": "SecretEnvVar", +"properties": { +"key": { +"description": "Name of the environment variable.", +"type": "string" +}, +"projectId": { +"description": "Project identifier (preferably project number but can also be the project ID) of the project that contains the secret. If not set, it is assumed that the secret is in the same project as the function.", +"type": "string" +}, +"secret": { +"description": "Name of the secret in secret manager (not the full resource name).", +"type": "string" +}, +"version": { +"description": "Version of the secret (version number or the string 'latest'). It is recommended to use a numeric version for secret environment variables as any updates to the secret value is not reflected until new instances start.", +"type": "string" +} +}, +"type": "object" +}, +"SecretVersion": { +"description": "Configuration for a single version.", +"id": "SecretVersion", +"properties": { +"path": { +"description": "Relative path of the file under the mount path where the secret value for this version will be fetched and made available. For example, setting the mount_path as '/etc/secrets' and path as `secret_foo` would mount the secret value file at `/etc/secrets/secret_foo`.", +"type": "string" +}, +"version": { +"description": "Version of the secret (version number or the string 'latest'). It is preferable to use `latest` version with secret volumes as secret value changes are reflected immediately.", +"type": "string" +} +}, +"type": "object" +}, +"SecretVolume": { +"description": "Configuration for a secret volume. It has the information necessary to fetch the secret value from secret manager and make it available as files mounted at the requested paths within the application container.", +"id": "SecretVolume", +"properties": { +"mountPath": { +"description": "The path within the container to mount the secret volume. For example, setting the mount_path as `/etc/secrets` would mount the secret value files under the `/etc/secrets` directory. This directory will also be completely shadowed and unavailable to mount any other secrets. Recommended mount path: /etc/secrets", +"type": "string" +}, +"projectId": { +"description": "Project identifier (preferably project number but can also be the project ID) of the project that contains the secret. If not set, it is assumed that the secret is in the same project as the function.", +"type": "string" +}, +"secret": { +"description": "Name of the secret in secret manager (not the full resource name).", +"type": "string" +}, +"versions": { +"description": "List of secret versions to mount for this secret. If empty, the `latest` version of the secret will be made available in a file named after the secret under the mount point.", +"items": { +"$ref": "SecretVersion" +}, +"type": "array" +} +}, +"type": "object" +}, +"ServiceConfig": { +"description": "Describes the Service being deployed. Currently Supported : Cloud Run (fully managed).", +"id": "ServiceConfig", +"properties": { +"allTrafficOnLatestRevision": { +"description": "Whether 100% of traffic is routed to the latest revision. On CreateFunction and UpdateFunction, when set to true, the revision being deployed will serve 100% of traffic, ignoring any traffic split settings, if any. On GetFunction, true will be returned if the latest revision is serving 100% of traffic.", +"type": "boolean" +}, +"availableCpu": { +"description": "The number of CPUs used in a single container instance. Default value is calculated from available memory. Supports the same values as Cloud Run, see https://cloud.google.com/run/docs/reference/rest/v1/Container#resourcerequirements Example: \"1\" indicates 1 vCPU", +"type": "string" +}, +"availableMemory": { +"description": "The amount of memory available for a function. Defaults to 256M. Supported units are k, M, G, Mi, Gi. If no unit is supplied the value is interpreted as bytes. See https://github.com/kubernetes/kubernetes/blob/master/staging/src/k8s.io/apimachinery/pkg/api/resource/quantity.go a full description.", +"type": "string" +}, +"binaryAuthorizationPolicy": { +"description": "Optional. The binary authorization policy to be checked when deploying the Cloud Run service.", +"type": "string" +}, +"directVpcEgress": { +"description": "Optional. Egress settings for direct VPC. If not provided, it defaults to VPC_EGRESS_PRIVATE_RANGES_ONLY.", +"enum": [ +"DIRECT_VPC_EGRESS_UNSPECIFIED", +"VPC_EGRESS_PRIVATE_RANGES_ONLY", +"VPC_EGRESS_ALL_TRAFFIC" +], +"enumDescriptions": [ +"Unspecified.", +"Sends only traffic to internal addresses through the VPC network.", +"Sends all outbound traffic through the VPC network." +], +"type": "string" +}, +"directVpcNetworkInterface": { +"description": "Optional. The Direct VPC network interface for the Cloud Function. Currently only a single Direct VPC is supported.", +"items": { +"$ref": "DirectVpcNetworkInterface" +}, +"type": "array" +}, +"environmentVariables": { +"additionalProperties": { +"type": "string" +}, +"description": "Environment variables that shall be available during function execution.", +"type": "object" +}, +"ingressSettings": { +"description": "The ingress settings for the function, controlling what traffic can reach it.", +"enum": [ +"INGRESS_SETTINGS_UNSPECIFIED", +"ALLOW_ALL", +"ALLOW_INTERNAL_ONLY", +"ALLOW_INTERNAL_AND_GCLB" +], +"enumDescriptions": [ +"Unspecified.", +"Allow HTTP traffic from public and private sources.", +"Allow HTTP traffic from only private VPC sources.", +"Allow HTTP traffic from private VPC sources and through GCLB." +], +"type": "string" +}, +"maxInstanceCount": { +"description": "The limit on the maximum number of function instances that may coexist at a given time. In some cases, such as rapid traffic surges, Cloud Functions may, for a short period of time, create more instances than the specified max instances limit. If your function cannot tolerate this temporary behavior, you may want to factor in a safety margin and set a lower max instances value than your function can tolerate. See the [Max Instances](https://cloud.google.com/functions/docs/max-instances) Guide for more details.", +"format": "int32", +"type": "integer" +}, +"maxInstanceRequestConcurrency": { +"description": "Sets the maximum number of concurrent requests that each instance can receive. Defaults to 1.", +"format": "int32", +"type": "integer" +}, +"minInstanceCount": { +"description": "The limit on the minimum number of function instances that may coexist at a given time. Function instances are kept in idle state for a short period after they finished executing the request to reduce cold start time for subsequent requests. Setting a minimum instance count will ensure that the given number of instances are kept running in idle state always. This can help with cold start times when jump in incoming request count occurs after the idle instance would have been stopped in the default case.", +"format": "int32", +"type": "integer" +}, +"revision": { +"description": "Output only. The name of service revision.", +"readOnly": true, +"type": "string" +}, +"secretEnvironmentVariables": { +"description": "Secret environment variables configuration.", +"items": { +"$ref": "SecretEnvVar" +}, +"type": "array" +}, +"secretVolumes": { +"description": "Secret volumes configuration.", +"items": { +"$ref": "SecretVolume" +}, +"type": "array" +}, +"securityLevel": { +"description": "Security level configure whether the function only accepts https. This configuration is only applicable to 1st Gen functions with Http trigger. By default https is optional for 1st Gen functions; 2nd Gen functions are https ONLY.", +"enum": [ +"SECURITY_LEVEL_UNSPECIFIED", +"SECURE_ALWAYS", +"SECURE_OPTIONAL" +], +"enumDescriptions": [ +"Unspecified.", +"Requests for a URL that match this handler that do not use HTTPS are automatically redirected to the HTTPS URL with the same path. Query parameters are reserved for the redirect.", +"Both HTTP and HTTPS requests with URLs that match the handler succeed without redirects. The application can examine the request to determine which protocol was used and respond accordingly." +], +"type": "string" +}, +"service": { +"description": "Output only. Name of the service associated with a Function. The format of this field is `projects/{project}/locations/{region}/services/{service}`", +"readOnly": true, +"type": "string" +}, +"serviceAccountEmail": { +"description": "The email of the service's service account. If empty, defaults to `{project_number}-compute@developer.gserviceaccount.com`.", +"type": "string" +}, +"timeoutSeconds": { +"description": "The function execution timeout. Execution is considered failed and can be terminated if the function is not completed at the end of the timeout period. Defaults to 60 seconds.", +"format": "int32", +"type": "integer" +}, +"uri": { +"description": "Output only. URI of the Service deployed.", +"readOnly": true, +"type": "string" +}, +"vpcConnector": { +"description": "The Serverless VPC Access connector that this cloud function can connect to. The format of this field is `projects/*/locations/*/connectors/*`.", +"type": "string" +}, +"vpcConnectorEgressSettings": { +"description": "The egress settings for the connector, controlling what traffic is diverted through it.", +"enum": [ +"VPC_CONNECTOR_EGRESS_SETTINGS_UNSPECIFIED", +"PRIVATE_RANGES_ONLY", +"ALL_TRAFFIC" +], +"enumDescriptions": [ +"Unspecified.", +"Use the VPC Access Connector only for private IP space from RFC1918.", +"Force the use of VPC Access Connector for all egress traffic from the function." +], +"type": "string" +} +}, +"type": "object" +}, +"ServiceConfigOverrides": { +"description": "Contains overrides related to the function's service configuration.", +"id": "ServiceConfigOverrides", +"properties": { +"maxInstanceCount": { +"description": "Optional. Specifies the maximum number of instances for the new Cloud Run function. If provided, this overrides the max_instance_count setting of the Gen1 function.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"SetIamPolicyRequest": { +"description": "Request message for `SetIamPolicy` method.", +"id": "SetIamPolicyRequest", +"properties": { +"policy": { +"$ref": "Policy", +"description": "REQUIRED: The complete policy to be applied to the `resource`. The size of the policy is limited to a few 10s of KB. An empty policy is a valid policy but certain Google Cloud services (such as Projects) might reject them." +}, +"updateMask": { +"description": "OPTIONAL: A FieldMask specifying which fields of the policy to modify. Only the fields in the mask will be modified. If no mask is provided, the following default mask is used: `paths: \"bindings, etag\"`", +"format": "google-fieldmask", +"type": "string" +} +}, +"type": "object" +}, +"SetupFunctionUpgradeConfigRequest": { +"description": "Request for the `SetupFunctionUpgradeConfig` method.", +"id": "SetupFunctionUpgradeConfigRequest", +"properties": { +"buildConfigOverrides": { +"$ref": "BuildConfigOverrides", +"description": "Optional. Specifies overrides for the build process." +}, +"serviceConfigOverrides": { +"$ref": "ServiceConfigOverrides", +"description": "Optional. Specifies overrides for the service configuration." +}, +"triggerServiceAccount": { +"description": "Optional. The trigger's service account. The service account must have permission to invoke Cloud Run services, the permission is `run.routes.invoke`. If empty, defaults to the Compute Engine default service account: `{project_number}-compute@developer.gserviceaccount.com`.", +"type": "string" +} +}, +"type": "object" +}, +"Source": { +"description": "The location of the function source code.", +"id": "Source", +"properties": { +"gitUri": { +"description": "If provided, get the source from GitHub repository. This option is valid only for GCF 1st Gen function. Example: https://github.com///blob//", +"type": "string" +}, +"repoSource": { +"$ref": "RepoSource", +"description": "If provided, get the source from this location in a Cloud Source Repository." +}, +"storageSource": { +"$ref": "StorageSource", +"description": "If provided, get the source from this location in Google Cloud Storage." +} +}, +"type": "object" +}, +"SourceProvenance": { +"description": "Provenance of the source. Ways to find the original source, or verify that some source was used for this build.", +"id": "SourceProvenance", +"properties": { +"gitUri": { +"description": "A copy of the build's `source.git_uri`, if exists, with any commits resolved.", +"type": "string" +}, +"resolvedRepoSource": { +"$ref": "RepoSource", +"description": "A copy of the build's `source.repo_source`, if exists, with any revisions resolved." +}, +"resolvedStorageSource": { +"$ref": "StorageSource", +"description": "A copy of the build's `source.storage_source`, if exists, with any generations resolved." +} +}, +"type": "object" +}, +"Status": { +"description": "The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors).", +"id": "Status", +"properties": { +"code": { +"description": "The status code, which should be an enum value of google.rpc.Code.", +"format": "int32", +"type": "integer" +}, +"details": { +"description": "A list of messages that carry the error details. There is a common set of message types for APIs to use.", +"items": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.", +"type": "string" +} +}, +"type": "object" +}, +"StorageSource": { +"description": "Location of the source in an archive file in Google Cloud Storage.", +"id": "StorageSource", +"properties": { +"bucket": { +"description": "Google Cloud Storage bucket containing the source (see [Bucket Name Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)).", +"type": "string" +}, +"generation": { +"description": "Google Cloud Storage generation for the object. If the generation is omitted, the latest generation will be used.", +"format": "int64", +"type": "string" +}, +"object": { +"description": "Google Cloud Storage object containing the source. This object must be a gzipped archive file (`.tar.gz`) containing source to build.", +"type": "string" +}, +"sourceUploadUrl": { +"description": "When the specified storage bucket is a 1st gen function uploard url bucket, this field should be set as the generated upload url for 1st gen deployment.", +"type": "string" +} +}, +"type": "object" +}, +"TestIamPermissionsRequest": { +"description": "Request message for `TestIamPermissions` method.", +"id": "TestIamPermissionsRequest", +"properties": { +"permissions": { +"description": "The set of permissions to check for the `resource`. Permissions with wildcards (such as `*` or `storage.*`) are not allowed. For more information see [IAM Overview](https://cloud.google.com/iam/docs/overview#permissions).", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"TestIamPermissionsResponse": { +"description": "Response message for `TestIamPermissions` method.", +"id": "TestIamPermissionsResponse", +"properties": { +"permissions": { +"description": "A subset of `TestPermissionsRequest.permissions` that the caller is allowed.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"UpgradeInfo": { +"description": "Information related to: * A function's eligibility for 1st Gen to 2nd Gen migration. * Current state of migration for function undergoing migration.", +"id": "UpgradeInfo", +"properties": { +"buildConfig": { +"$ref": "BuildConfig", +"description": "Describes the Build step of the function that builds a container to prepare for 2nd gen upgrade." +}, +"eventTrigger": { +"$ref": "EventTrigger", +"description": "Describes the Event trigger which has been setup to prepare for 2nd gen upgrade." +}, +"serviceConfig": { +"$ref": "ServiceConfig", +"description": "Describes the Cloud Run service which has been setup to prepare for 2nd gen upgrade." +}, +"upgradeState": { +"description": "UpgradeState of the function", +"enum": [ +"UPGRADE_STATE_UNSPECIFIED", +"ELIGIBLE_FOR_2ND_GEN_UPGRADE", +"INELIGIBLE_FOR_UPGRADE_UNTIL_REDEPLOYMENT", +"UPGRADE_OPERATION_IN_PROGRESS", +"SETUP_FUNCTION_UPGRADE_CONFIG_SUCCESSFUL", +"SETUP_FUNCTION_UPGRADE_CONFIG_ERROR", +"ABORT_FUNCTION_UPGRADE_ERROR", +"REDIRECT_FUNCTION_UPGRADE_TRAFFIC_SUCCESSFUL", +"REDIRECT_FUNCTION_UPGRADE_TRAFFIC_ERROR", +"ROLLBACK_FUNCTION_UPGRADE_TRAFFIC_ERROR", +"COMMIT_FUNCTION_UPGRADE_ERROR", +"COMMIT_FUNCTION_UPGRADE_ERROR_ROLLBACK_SAFE", +"COMMIT_FUNCTION_UPGRADE_AS_GEN2_SUCCESSFUL", +"COMMIT_FUNCTION_UPGRADE_AS_GEN2_ERROR" +], +"enumDeprecated": [ +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +true, +false +], +"enumDescriptions": [ +"Unspecified state. Most functions are in this upgrade state.", +"Functions in this state are eligible for 1st Gen upgrade.", +"Functions in this state are ineligible for 1st Gen upgrade until redeployment with newer runtime.", +"An upgrade related operation is in progress.", +"SetupFunctionUpgradeConfig API was successful and a 2nd Gen function has been created based on 1st Gen function instance.", +"SetupFunctionUpgradeConfig API was un-successful.", +"AbortFunctionUpgrade API was un-successful.", +"RedirectFunctionUpgradeTraffic API was successful and traffic is served by 2nd Gen function stack.", +"RedirectFunctionUpgradeTraffic API was un-successful.", +"RollbackFunctionUpgradeTraffic API was un-successful.", +"CommitFunctionUpgrade API was un-successful and 1st gen function might have broken.", +"CommitFunctionUpgrade API was un-successful but safe to rollback traffic or abort.", +"Deprecated: This state is no longer returned by the backend. Clients should not rely on polling for this specific state. A successful upgrade is now indicated by the long-running operation completing successfully with a Function resource in the response.", +"CommitFunctionUpgradeAsGen2 API was un-successful and 1st gen function might have broken." +], +"type": "string" +} +}, +"type": "object" +} +}, +"servicePath": "", +"title": "Cloud Functions API", +"version": "v2beta", +"version_module": true +} \ No newline at end of file diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/cloudidentity.v1.json b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/cloudidentity.v1.json new file mode 100644 index 0000000000000000000000000000000000000000..7200bcb9996c286b11d36b2991675bf560716603 --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/cloudidentity.v1.json @@ -0,0 +1,4758 @@ +{ +"auth": { +"oauth2": { +"scopes": { +"https://www.googleapis.com/auth/cloud-identity.devices": { +"description": "Private Service: https://www.googleapis.com/auth/cloud-identity.devices" +}, +"https://www.googleapis.com/auth/cloud-identity.devices.lookup": { +"description": "See your device details" +}, +"https://www.googleapis.com/auth/cloud-identity.devices.readonly": { +"description": "Private Service: https://www.googleapis.com/auth/cloud-identity.devices.readonly" +}, +"https://www.googleapis.com/auth/cloud-identity.groups": { +"description": "See, change, create, and delete any of the Cloud Identity Groups that you can access, including the members of each group" +}, +"https://www.googleapis.com/auth/cloud-identity.groups.readonly": { +"description": "See any Cloud Identity Groups that you can access, including group members and their emails" +}, +"https://www.googleapis.com/auth/cloud-identity.inboundsso": { +"description": "See and edit all of the Inbound SSO profiles and their assignments to any Org Units or Google Groups in your Cloud Identity Organization." +}, +"https://www.googleapis.com/auth/cloud-identity.inboundsso.readonly": { +"description": "See all of the Inbound SSO profiles and their assignments to any Org Units or Google Groups in your Cloud Identity Organization." +}, +"https://www.googleapis.com/auth/cloud-identity.policies": { +"description": "See and edit policies in your Cloud Identity Organization." +}, +"https://www.googleapis.com/auth/cloud-identity.policies.readonly": { +"description": "See policies in your Cloud Identity Organization." +}, +"https://www.googleapis.com/auth/cloud-platform": { +"description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." +} +} +} +}, +"basePath": "", +"baseUrl": "https://cloudidentity.googleapis.com/", +"batchPath": "batch", +"canonicalName": "Cloud Identity", +"description": "API for provisioning and managing identity resources.", +"discoveryVersion": "v1", +"documentationLink": "https://cloud.google.com/identity/", +"fullyEncodeReservedExpansion": true, +"icons": { +"x16": "http://www.google.com/images/icons/product/search-16.gif", +"x32": "http://www.google.com/images/icons/product/search-32.gif" +}, +"id": "cloudidentity:v1", +"kind": "discovery#restDescription", +"mtlsRootUrl": "https://cloudidentity.mtls.googleapis.com/", +"name": "cloudidentity", +"ownerDomain": "google.com", +"ownerName": "Google", +"parameters": { +"$.xgafv": { +"description": "V1 error format.", +"enum": [ +"1", +"2" +], +"enumDescriptions": [ +"v1 error format", +"v2 error format" +], +"location": "query", +"type": "string" +}, +"access_token": { +"description": "OAuth access token.", +"location": "query", +"type": "string" +}, +"alt": { +"default": "json", +"description": "Data format for response.", +"enum": [ +"json", +"media", +"proto" +], +"enumDescriptions": [ +"Responses with Content-Type of application/json", +"Media download with context-dependent Content-Type", +"Responses with Content-Type of application/x-protobuf" +], +"location": "query", +"type": "string" +}, +"callback": { +"description": "JSONP", +"location": "query", +"type": "string" +}, +"fields": { +"description": "Selector specifying which fields to include in a partial response.", +"location": "query", +"type": "string" +}, +"key": { +"description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", +"location": "query", +"type": "string" +}, +"oauth_token": { +"description": "OAuth 2.0 token for the current user.", +"location": "query", +"type": "string" +}, +"prettyPrint": { +"default": "true", +"description": "Returns response with indentations and line breaks.", +"location": "query", +"type": "boolean" +}, +"quotaUser": { +"description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.", +"location": "query", +"type": "string" +}, +"uploadType": { +"description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", +"location": "query", +"type": "string" +}, +"upload_protocol": { +"description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", +"location": "query", +"type": "string" +} +}, +"protocol": "rest", +"resources": { +"customers": { +"resources": { +"userinvitations": { +"methods": { +"cancel": { +"description": "Cancels a UserInvitation that was already sent.", +"flatPath": "v1/customers/{customersId}/userinvitations/{userinvitationsId}:cancel", +"httpMethod": "POST", +"id": "cloudidentity.customers.userinvitations.cancel", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. `UserInvitation` name in the format `customers/{customer}/userinvitations/{user_email_address}`", +"location": "path", +"pattern": "^customers/[^/]+/userinvitations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:cancel", +"request": { +"$ref": "CancelUserInvitationRequest" +}, +"response": { +"$ref": "Operation" +} +}, +"get": { +"description": "Retrieves a UserInvitation resource. **Note:** New consumer accounts with the customer's verified domain created within the previous 48 hours will not appear in the result. This delay also applies to newly-verified domains.", +"flatPath": "v1/customers/{customersId}/userinvitations/{userinvitationsId}", +"httpMethod": "GET", +"id": "cloudidentity.customers.userinvitations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. `UserInvitation` name in the format `customers/{customer}/userinvitations/{user_email_address}`", +"location": "path", +"pattern": "^customers/[^/]+/userinvitations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "UserInvitation" +} +}, +"isInvitableUser": { +"description": "Verifies whether a user account is eligible to receive a UserInvitation (is an unmanaged account). Eligibility is based on the following criteria: * the email address is a consumer account and it's the primary email address of the account, and * the domain of the email address matches an existing verified Google Workspace or Cloud Identity domain If both conditions are met, the user is eligible. **Note:** This method is not supported for Workspace Essentials customers.", +"flatPath": "v1/customers/{customersId}/userinvitations/{userinvitationsId}:isInvitableUser", +"httpMethod": "GET", +"id": "cloudidentity.customers.userinvitations.isInvitableUser", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. `UserInvitation` name in the format `customers/{customer}/userinvitations/{user_email_address}`", +"location": "path", +"pattern": "^customers/[^/]+/userinvitations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:isInvitableUser", +"response": { +"$ref": "IsInvitableUserResponse" +} +}, +"list": { +"description": "Retrieves a list of UserInvitation resources. **Note:** New consumer accounts with the customer's verified domain created within the previous 48 hours will not appear in the result. This delay also applies to newly-verified domains.", +"flatPath": "v1/customers/{customersId}/userinvitations", +"httpMethod": "GET", +"id": "cloudidentity.customers.userinvitations.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Optional. A query string for filtering `UserInvitation` results by their current state, in the format: `\"state=='invited'\"`.", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "Optional. The sort order of the list results. You can sort the results in descending order based on either email or last update timestamp but not both, using `order_by=\"email desc\"`. Currently, sorting is supported for `update_time asc`, `update_time desc`, `email asc`, and `email desc`. If not specified, results will be returned based on `email asc` order.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Optional. The maximum number of UserInvitation resources to return. If unspecified, at most 100 resources will be returned. The maximum value is 200; values above 200 will be set to 200.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. A page token, received from a previous `ListUserInvitations` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListBooks` must match the call that provided the page token.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The customer ID of the Google Workspace or Cloud Identity account the UserInvitation resources are associated with.", +"location": "path", +"pattern": "^customers/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/userinvitations", +"response": { +"$ref": "ListUserInvitationsResponse" +} +}, +"send": { +"description": "Sends a UserInvitation to email. If the `UserInvitation` does not exist for this request and it is a valid request, the request creates a `UserInvitation`. **Note:** The `get` and `list` methods have a 48-hour delay where newly-created consumer accounts will not appear in the results. You can still send a `UserInvitation` to those accounts if you know the unmanaged email address and IsInvitableUser==True.", +"flatPath": "v1/customers/{customersId}/userinvitations/{userinvitationsId}:send", +"httpMethod": "POST", +"id": "cloudidentity.customers.userinvitations.send", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. `UserInvitation` name in the format `customers/{customer}/userinvitations/{user_email_address}`", +"location": "path", +"pattern": "^customers/[^/]+/userinvitations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:send", +"request": { +"$ref": "SendUserInvitationRequest" +}, +"response": { +"$ref": "Operation" +} +} +} +} +} +}, +"devices": { +"methods": { +"cancelWipe": { +"description": "Cancels an unfinished device wipe. This operation can be used to cancel device wipe in the gap between the wipe operation returning success and the device being wiped. This operation is possible when the device is in a \"pending wipe\" state. The device enters the \"pending wipe\" state when a wipe device command is issued, but has not yet been sent to the device. The cancel wipe will fail if the wipe command has already been issued to the device.", +"flatPath": "v1/devices/{devicesId}:cancelWipe", +"httpMethod": "POST", +"id": "cloudidentity.devices.cancelWipe", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. [Resource name](https://cloud.google.com/apis/design/resource_names) of the Device in format: `devices/{device}`, where device is the unique ID assigned to the Device.", +"location": "path", +"pattern": "^devices/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:cancelWipe", +"request": { +"$ref": "GoogleAppsCloudidentityDevicesV1CancelWipeDeviceRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-identity.devices" +] +}, +"create": { +"description": "Creates a device. Only company-owned device may be created. **Note**: This method is available only to customers who have one of the following SKUs: Enterprise Standard, Enterprise Plus, Enterprise for Education, and Cloud Identity Premium", +"flatPath": "v1/devices", +"httpMethod": "POST", +"id": "cloudidentity.devices.create", +"parameterOrder": [], +"parameters": { +"customer": { +"description": "Optional. [Resource name](https://cloud.google.com/apis/design/resource_names) of the customer. If you're using this API for your own organization, use `customers/my_customer` If you're using this API to manage another organization, use `customers/{customer}`, where customer is the customer to whom the device belongs.", +"location": "query", +"type": "string" +} +}, +"path": "v1/devices", +"request": { +"$ref": "GoogleAppsCloudidentityDevicesV1Device" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-identity.devices" +] +}, +"delete": { +"description": "Deletes the specified device.", +"flatPath": "v1/devices/{devicesId}", +"httpMethod": "DELETE", +"id": "cloudidentity.devices.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"customer": { +"description": "Optional. [Resource name](https://cloud.google.com/apis/design/resource_names) of the customer. If you're using this API for your own organization, use `customers/my_customer` If you're using this API to manage another organization, use `customers/{customer}`, where customer is the customer to whom the device belongs.", +"location": "query", +"type": "string" +}, +"name": { +"description": "Required. [Resource name](https://cloud.google.com/apis/design/resource_names) of the Device in format: `devices/{device}`, where device is the unique ID assigned to the Device.", +"location": "path", +"pattern": "^devices/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-identity.devices" +] +}, +"get": { +"description": "Retrieves the specified device.", +"flatPath": "v1/devices/{devicesId}", +"httpMethod": "GET", +"id": "cloudidentity.devices.get", +"parameterOrder": [ +"name" +], +"parameters": { +"customer": { +"description": "Optional. [Resource name](https://cloud.google.com/apis/design/resource_names) of the Customer in the format: `customers/{customer}`, where customer is the customer to whom the device belongs. If you're using this API for your own organization, use `customers/my_customer`. If you're using this API to manage another organization, use `customers/{customer}`, where customer is the customer to whom the device belongs.", +"location": "query", +"type": "string" +}, +"name": { +"description": "Required. [Resource name](https://cloud.google.com/apis/design/resource_names) of the Device in the format: `devices/{device}`, where device is the unique ID assigned to the Device.", +"location": "path", +"pattern": "^devices/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleAppsCloudidentityDevicesV1Device" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-identity.devices", +"https://www.googleapis.com/auth/cloud-identity.devices.readonly" +] +}, +"list": { +"description": "Lists/Searches devices.", +"flatPath": "v1/devices", +"httpMethod": "GET", +"id": "cloudidentity.devices.list", +"parameterOrder": [], +"parameters": { +"customer": { +"description": "Optional. [Resource name](https://cloud.google.com/apis/design/resource_names) of the customer in the format: `customers/{customer}`, where customer is the customer to whom the device belongs. If you're using this API for your own organization, use `customers/my_customer`. If you're using this API to manage another organization, use `customers/{customer}`, where customer is the customer to whom the device belongs.", +"location": "query", +"type": "string" +}, +"filter": { +"description": "Optional. Additional restrictions when fetching list of devices. For a list of search fields, refer to [Mobile device search fields](https://developers.google.com/admin-sdk/directory/v1/search-operators). Multiple search fields are separated by the space character.", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "Optional. Order specification for devices in the response. Only one of the following field names may be used to specify the order: `create_time`, `last_sync_time`, `model`, `os_version`, `device_type` and `serial_number`. `desc` may be specified optionally at the end to specify results to be sorted in descending order. Default order is ascending.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Optional. The maximum number of Devices to return. If unspecified, at most 20 Devices will be returned. The maximum value is 100; values above 100 will be coerced to 100.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. A page token, received from a previous `ListDevices` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListDevices` must match the call that provided the page token.", +"location": "query", +"type": "string" +}, +"view": { +"description": "Optional. The view to use for the List request.", +"enum": [ +"VIEW_UNSPECIFIED", +"COMPANY_INVENTORY", +"USER_ASSIGNED_DEVICES" +], +"enumDescriptions": [ +"Default value. The value is unused.", +"This view contains all devices imported by the company admin. Each device in the response contains all information specified by the company admin when importing the device (i.e. asset tags). This includes devices that may be unassigned or assigned to users.", +"This view contains all devices with at least one user registered on the device. Each device in the response contains all device information, except for asset tags." +], +"location": "query", +"type": "string" +} +}, +"path": "v1/devices", +"response": { +"$ref": "GoogleAppsCloudidentityDevicesV1ListDevicesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-identity.devices", +"https://www.googleapis.com/auth/cloud-identity.devices.readonly" +] +}, +"wipe": { +"description": "Wipes all data on the specified device.", +"flatPath": "v1/devices/{devicesId}:wipe", +"httpMethod": "POST", +"id": "cloudidentity.devices.wipe", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. [Resource name](https://cloud.google.com/apis/design/resource_names) of the Device in format: `devices/{device}/deviceUsers/{device_user}`, where device is the unique ID assigned to the Device, and device_user is the unique ID assigned to the User.", +"location": "path", +"pattern": "^devices/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:wipe", +"request": { +"$ref": "GoogleAppsCloudidentityDevicesV1WipeDeviceRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-identity.devices" +] +} +}, +"resources": { +"deviceUsers": { +"methods": { +"approve": { +"description": "Approves device to access user data.", +"flatPath": "v1/devices/{devicesId}/deviceUsers/{deviceUsersId}:approve", +"httpMethod": "POST", +"id": "cloudidentity.devices.deviceUsers.approve", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. [Resource name](https://cloud.google.com/apis/design/resource_names) of the Device in format: `devices/{device}/deviceUsers/{device_user}`, where device is the unique ID assigned to the Device, and device_user is the unique ID assigned to the User.", +"location": "path", +"pattern": "^devices/[^/]+/deviceUsers/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:approve", +"request": { +"$ref": "GoogleAppsCloudidentityDevicesV1ApproveDeviceUserRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-identity.devices" +] +}, +"block": { +"description": "Blocks device from accessing user data", +"flatPath": "v1/devices/{devicesId}/deviceUsers/{deviceUsersId}:block", +"httpMethod": "POST", +"id": "cloudidentity.devices.deviceUsers.block", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. [Resource name](https://cloud.google.com/apis/design/resource_names) of the Device in format: `devices/{device}/deviceUsers/{device_user}`, where device is the unique ID assigned to the Device, and device_user is the unique ID assigned to the User.", +"location": "path", +"pattern": "^devices/[^/]+/deviceUsers/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:block", +"request": { +"$ref": "GoogleAppsCloudidentityDevicesV1BlockDeviceUserRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-identity.devices" +] +}, +"cancelWipe": { +"description": "Cancels an unfinished user account wipe. This operation can be used to cancel device wipe in the gap between the wipe operation returning success and the device being wiped.", +"flatPath": "v1/devices/{devicesId}/deviceUsers/{deviceUsersId}:cancelWipe", +"httpMethod": "POST", +"id": "cloudidentity.devices.deviceUsers.cancelWipe", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. [Resource name](https://cloud.google.com/apis/design/resource_names) of the Device in format: `devices/{device}/deviceUsers/{device_user}`, where device is the unique ID assigned to the Device, and device_user is the unique ID assigned to the User.", +"location": "path", +"pattern": "^devices/[^/]+/deviceUsers/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:cancelWipe", +"request": { +"$ref": "GoogleAppsCloudidentityDevicesV1CancelWipeDeviceUserRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-identity.devices" +] +}, +"delete": { +"description": "Deletes the specified DeviceUser. This also revokes the user's access to device data.", +"flatPath": "v1/devices/{devicesId}/deviceUsers/{deviceUsersId}", +"httpMethod": "DELETE", +"id": "cloudidentity.devices.deviceUsers.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"customer": { +"description": "Optional. [Resource name](https://cloud.google.com/apis/design/resource_names) of the customer. If you're using this API for your own organization, use `customers/my_customer` If you're using this API to manage another organization, use `customers/{customer}`, where customer is the customer to whom the device belongs.", +"location": "query", +"type": "string" +}, +"name": { +"description": "Required. [Resource name](https://cloud.google.com/apis/design/resource_names) of the Device in format: `devices/{device}/deviceUsers/{device_user}`, where device is the unique ID assigned to the Device, and device_user is the unique ID assigned to the User.", +"location": "path", +"pattern": "^devices/[^/]+/deviceUsers/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-identity.devices" +] +}, +"get": { +"description": "Retrieves the specified DeviceUser", +"flatPath": "v1/devices/{devicesId}/deviceUsers/{deviceUsersId}", +"httpMethod": "GET", +"id": "cloudidentity.devices.deviceUsers.get", +"parameterOrder": [ +"name" +], +"parameters": { +"customer": { +"description": "Optional. [Resource name](https://cloud.google.com/apis/design/resource_names) of the customer. If you're using this API for your own organization, use `customers/my_customer` If you're using this API to manage another organization, use `customers/{customer}`, where customer is the customer to whom the device belongs.", +"location": "query", +"type": "string" +}, +"name": { +"description": "Required. [Resource name](https://cloud.google.com/apis/design/resource_names) of the Device in format: `devices/{device}/deviceUsers/{device_user}`, where device is the unique ID assigned to the Device, and device_user is the unique ID assigned to the User.", +"location": "path", +"pattern": "^devices/[^/]+/deviceUsers/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleAppsCloudidentityDevicesV1DeviceUser" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-identity.devices", +"https://www.googleapis.com/auth/cloud-identity.devices.readonly" +] +}, +"list": { +"description": "Lists/Searches DeviceUsers.", +"flatPath": "v1/devices/{devicesId}/deviceUsers", +"httpMethod": "GET", +"id": "cloudidentity.devices.deviceUsers.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"customer": { +"description": "Optional. [Resource name](https://cloud.google.com/apis/design/resource_names) of the customer. If you're using this API for your own organization, use `customers/my_customer` If you're using this API to manage another organization, use `customers/{customer}`, where customer is the customer to whom the device belongs.", +"location": "query", +"type": "string" +}, +"filter": { +"description": "Optional. Additional restrictions when fetching list of devices. For a list of search fields, refer to [Mobile device search fields](https://developers.google.com/admin-sdk/directory/v1/search-operators). Multiple search fields are separated by the space character.", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "Optional. Order specification for devices in the response.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Optional. The maximum number of DeviceUsers to return. If unspecified, at most 5 DeviceUsers will be returned. The maximum value is 20; values above 20 will be coerced to 20.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. A page token, received from a previous `ListDeviceUsers` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListBooks` must match the call that provided the page token.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. To list all DeviceUsers, set this to \"devices/-\". To list all DeviceUsers owned by a device, set this to the resource name of the device. Format: devices/{device}", +"location": "path", +"pattern": "^devices/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/deviceUsers", +"response": { +"$ref": "GoogleAppsCloudidentityDevicesV1ListDeviceUsersResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-identity.devices", +"https://www.googleapis.com/auth/cloud-identity.devices.readonly" +] +}, +"lookup": { +"description": "Looks up resource names of the DeviceUsers associated with the caller's credentials, as well as the properties provided in the request. This method must be called with end-user credentials with the scope: https://www.googleapis.com/auth/cloud-identity.devices.lookup If multiple properties are provided, only DeviceUsers having all of these properties are considered as matches - i.e. the query behaves like an AND. Different platforms require different amounts of information from the caller to ensure that the DeviceUser is uniquely identified. - iOS: If either the `partner` or `ios_device_id` field is provided, then both fields are required. - Android: Specifying the `android_id` field is required. - Desktop: Specifying the `raw_resource_id` field is required.", +"flatPath": "v1/devices/{devicesId}/deviceUsers:lookup", +"httpMethod": "GET", +"id": "cloudidentity.devices.deviceUsers.lookup", +"parameterOrder": [ +"parent" +], +"parameters": { +"androidId": { +"description": "Android Id returned by [Settings.Secure#ANDROID_ID](https://developer.android.com/reference/android/provider/Settings.Secure.html#ANDROID_ID).", +"location": "query", +"type": "string" +}, +"iosDeviceId": { +"description": "Optional. The partner-specified device identifier assigned to the iOS device that initiated the Lookup API call. This string must match the value of the iosDeviceId key in the app config dictionary provided to Google Workspace apps.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "The maximum number of DeviceUsers to return. If unspecified, at most 20 DeviceUsers will be returned. The maximum value is 20; values above 20 will be coerced to 20.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A page token, received from a previous `LookupDeviceUsers` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `LookupDeviceUsers` must match the call that provided the page token.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Must be set to \"devices/-/deviceUsers\" to search across all DeviceUser belonging to the user.", +"location": "path", +"pattern": "^devices/[^/]+/deviceUsers$", +"required": true, +"type": "string" +}, +"partner": { +"description": "Optional. The partner ID of the calling iOS app. This string must match the value of the partner key within the app configuration dictionary provided to Google Workspace apps.", +"location": "query", +"type": "string" +}, +"rawResourceId": { +"description": "Raw Resource Id used by Google Endpoint Verification. If the user is enrolled into Google Endpoint Verification, this id will be saved as the 'device_resource_id' field in the following platform dependent files. Mac: ~/.secureConnect/context_aware_config.json Windows: C:\\Users\\%USERPROFILE%\\.secureConnect\\context_aware_config.json Linux: ~/.secureConnect/context_aware_config.json", +"location": "query", +"type": "string" +}, +"userId": { +"description": "The user whose DeviceUser's resource name will be fetched. Must be set to 'me' to fetch the DeviceUser's resource name for the calling user.", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+parent}:lookup", +"response": { +"$ref": "GoogleAppsCloudidentityDevicesV1LookupSelfDeviceUsersResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-identity.devices.lookup" +] +}, +"wipe": { +"description": "Wipes the user's account on a device. Other data on the device that is not associated with the user's work account is not affected. For example, if a Gmail app is installed on a device that is used for personal and work purposes, and the user is logged in to the Gmail app with their personal account as well as their work account, wiping the \"deviceUser\" by their work administrator will not affect their personal account within Gmail or other apps such as Photos.", +"flatPath": "v1/devices/{devicesId}/deviceUsers/{deviceUsersId}:wipe", +"httpMethod": "POST", +"id": "cloudidentity.devices.deviceUsers.wipe", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. [Resource name](https://cloud.google.com/apis/design/resource_names) of the Device in format: `devices/{device}/deviceUsers/{device_user}`, where device is the unique ID assigned to the Device, and device_user is the unique ID assigned to the User.", +"location": "path", +"pattern": "^devices/[^/]+/deviceUsers/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:wipe", +"request": { +"$ref": "GoogleAppsCloudidentityDevicesV1WipeDeviceUserRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-identity.devices" +] +} +}, +"resources": { +"clientStates": { +"methods": { +"get": { +"description": "Gets the client state for the device user", +"flatPath": "v1/devices/{devicesId}/deviceUsers/{deviceUsersId}/clientStates/{clientStatesId}", +"httpMethod": "GET", +"id": "cloudidentity.devices.deviceUsers.clientStates.get", +"parameterOrder": [ +"name" +], +"parameters": { +"customer": { +"description": "Optional. [Resource name](https://cloud.google.com/apis/design/resource_names) of the customer. If you're using this API for your own organization, use `customers/my_customer` If you're using this API to manage another organization, use `customers/{customer}`, where customer is the customer to whom the device belongs.", +"location": "query", +"type": "string" +}, +"name": { +"description": "Required. [Resource name](https://cloud.google.com/apis/design/resource_names) of the ClientState in format: `devices/{device}/deviceUsers/{device_user}/clientStates/{partner}`, where `device` is the unique ID assigned to the Device, `device_user` is the unique ID assigned to the User and `partner` identifies the partner storing the data. To get the client state for devices belonging to your own organization, the `partnerId` is in the format: `customerId-*anystring*`. Where the `customerId` is your organization's customer ID and `anystring` is any suffix. This suffix is used in setting up Custom Access Levels in Context-Aware Access. You may use `my_customer` instead of the customer ID for devices managed by your own organization. You may specify `-` in place of the `{device}`, so the ClientState resource name can be: `devices/-/deviceUsers/{device_user_resource}/clientStates/{partner}`.", +"location": "path", +"pattern": "^devices/[^/]+/deviceUsers/[^/]+/clientStates/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleAppsCloudidentityDevicesV1ClientState" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-identity.devices", +"https://www.googleapis.com/auth/cloud-identity.devices.readonly" +] +}, +"list": { +"description": "Lists the client states for the given search query.", +"flatPath": "v1/devices/{devicesId}/deviceUsers/{deviceUsersId}/clientStates", +"httpMethod": "GET", +"id": "cloudidentity.devices.deviceUsers.clientStates.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"customer": { +"description": "Optional. [Resource name](https://cloud.google.com/apis/design/resource_names) of the customer. If you're using this API for your own organization, use `customers/my_customer` If you're using this API to manage another organization, use `customers/{customer}`, where customer is the customer to whom the device belongs.", +"location": "query", +"type": "string" +}, +"filter": { +"description": "Optional. Additional restrictions when fetching list of client states.", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "Optional. Order specification for client states in the response.", +"location": "query", +"type": "string" +}, +"pageToken": { +"description": "Optional. A page token, received from a previous `ListClientStates` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListClientStates` must match the call that provided the page token.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. To list all ClientStates, set this to \"devices/-/deviceUsers/-\". To list all ClientStates owned by a DeviceUser, set this to the resource name of the DeviceUser. Format: devices/{device}/deviceUsers/{deviceUser}", +"location": "path", +"pattern": "^devices/[^/]+/deviceUsers/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/clientStates", +"response": { +"$ref": "GoogleAppsCloudidentityDevicesV1ListClientStatesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-identity.devices", +"https://www.googleapis.com/auth/cloud-identity.devices.readonly" +] +}, +"patch": { +"description": "Updates the client state for the device user **Note**: This method is available only to customers who have one of the following SKUs: Enterprise Standard, Enterprise Plus, Enterprise for Education, and Cloud Identity Premium", +"flatPath": "v1/devices/{devicesId}/deviceUsers/{deviceUsersId}/clientStates/{clientStatesId}", +"httpMethod": "PATCH", +"id": "cloudidentity.devices.deviceUsers.clientStates.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"customer": { +"description": "Optional. [Resource name](https://cloud.google.com/apis/design/resource_names) of the customer. If you're using this API for your own organization, use `customers/my_customer` If you're using this API to manage another organization, use `customers/{customer}`, where customer is the customer to whom the device belongs.", +"location": "query", +"type": "string" +}, +"name": { +"description": "Output only. [Resource name](https://cloud.google.com/apis/design/resource_names) of the ClientState in format: `devices/{device}/deviceUsers/{device_user}/clientState/{partner}`, where partner corresponds to the partner storing the data. For partners belonging to the \"BeyondCorp Alliance\", this is the partner ID specified to you by Google. For all other callers, this is a string of the form: `{customer}-suffix`, where `customer` is your customer ID. The *suffix* is any string the caller specifies. This string will be displayed verbatim in the administration console. This suffix is used in setting up Custom Access Levels in Context-Aware Access. Your organization's customer ID can be obtained from the URL: `GET https://www.googleapis.com/admin/directory/v1/customers/my_customer` The `id` field in the response contains the customer ID starting with the letter 'C'. The customer ID to be used in this API is the string after the letter 'C' (not including 'C')", +"location": "path", +"pattern": "^devices/[^/]+/deviceUsers/[^/]+/clientStates/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Optional. Comma-separated list of fully qualified names of fields to be updated. If not specified, all updatable fields in ClientState are updated.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "GoogleAppsCloudidentityDevicesV1ClientState" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-identity.devices" +] +} +} +} +} +} +} +}, +"groups": { +"methods": { +"create": { +"description": "Creates a Group.", +"flatPath": "v1/groups", +"httpMethod": "POST", +"id": "cloudidentity.groups.create", +"parameterOrder": [], +"parameters": { +"initialGroupConfig": { +"description": "Optional. The initial configuration option for the `Group`.", +"enum": [ +"INITIAL_GROUP_CONFIG_UNSPECIFIED", +"WITH_INITIAL_OWNER", +"EMPTY" +], +"enumDescriptions": [ +"Default. Should not be used.", +"The end user making the request will be added as the initial owner of the `Group`.", +"An empty group is created without any initial owners. This can only be used by admins of the domain." +], +"location": "query", +"type": "string" +} +}, +"path": "v1/groups", +"request": { +"$ref": "Group" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-identity.groups", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a `Group`.", +"flatPath": "v1/groups/{groupsId}", +"httpMethod": "DELETE", +"id": "cloudidentity.groups.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The [resource name](https://cloud.google.com/apis/design/resource_names) of the `Group` to retrieve. Must be of the form `groups/{group}`.", +"location": "path", +"pattern": "^groups/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-identity.groups", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Retrieves a `Group`.", +"flatPath": "v1/groups/{groupsId}", +"httpMethod": "GET", +"id": "cloudidentity.groups.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The [resource name](https://cloud.google.com/apis/design/resource_names) of the `Group` to retrieve. Must be of the form `groups/{group}`.", +"location": "path", +"pattern": "^groups/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Group" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-identity.groups", +"https://www.googleapis.com/auth/cloud-identity.groups.readonly", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"getSecuritySettings": { +"description": "Get Security Settings", +"flatPath": "v1/groups/{groupsId}/securitySettings", +"httpMethod": "GET", +"id": "cloudidentity.groups.getSecuritySettings", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The security settings to retrieve. Format: `groups/{group_id}/securitySettings`", +"location": "path", +"pattern": "^groups/[^/]+/securitySettings$", +"required": true, +"type": "string" +}, +"readMask": { +"description": "Field-level read mask of which fields to return. \"*\" returns all fields. If not specified, all fields will be returned. May only contain the following field: `member_restriction`.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "SecuritySettings" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-identity.groups", +"https://www.googleapis.com/auth/cloud-identity.groups.readonly", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists the `Group` resources under a customer or namespace.", +"flatPath": "v1/groups", +"httpMethod": "GET", +"id": "cloudidentity.groups.list", +"parameterOrder": [], +"parameters": { +"pageSize": { +"description": "The maximum number of results to return. Note that the number of results returned may be less than this value even if there are more available results. To fetch all results, clients must continue calling this method repeatedly until the response no longer contains a `next_page_token`. If unspecified, defaults to 200 for `View.BASIC` and to 50 for `View.FULL`. Must not be greater than 1000 for `View.BASIC` or 500 for `View.FULL`.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The `next_page_token` value returned from a previous list request, if any.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent resource under which to list all `Group` resources. Must be of the form `identitysources/{identity_source}` for external- identity-mapped groups or `customers/{customer_id}` for Google Groups. The `customer_id` must begin with \"C\" (for example, 'C046psxkn'). [Find your customer ID.] (https://support.google.com/cloudidentity/answer/10070793)", +"location": "query", +"type": "string" +}, +"view": { +"description": "The level of detail to be returned. If unspecified, defaults to `View.BASIC`.", +"enum": [ +"VIEW_UNSPECIFIED", +"BASIC", +"FULL" +], +"enumDescriptions": [ +"Default. Should not be used.", +"Only basic resource information is returned.", +"All resource information is returned." +], +"location": "query", +"type": "string" +} +}, +"path": "v1/groups", +"response": { +"$ref": "ListGroupsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-identity.groups", +"https://www.googleapis.com/auth/cloud-identity.groups.readonly", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"lookup": { +"description": "Looks up the [resource name](https://cloud.google.com/apis/design/resource_names) of a `Group` by its `EntityKey`.", +"flatPath": "v1/groups:lookup", +"httpMethod": "GET", +"id": "cloudidentity.groups.lookup", +"parameterOrder": [], +"parameters": { +"groupKey.id": { +"description": "The ID of the entity. For Google-managed entities, the `id` should be the email address of an existing group or user. Email addresses need to adhere to [name guidelines for users and groups](https://support.google.com/a/answer/9193374). For external-identity-mapped entities, the `id` must be a string conforming to the Identity Source's requirements. Must be unique within a `namespace`.", +"location": "query", +"type": "string" +}, +"groupKey.namespace": { +"description": "The namespace in which the entity exists. If not specified, the `EntityKey` represents a Google-managed entity such as a Google user or a Google Group. If specified, the `EntityKey` represents an external-identity-mapped group. The namespace must correspond to an identity source created in Admin Console and must be in the form of `identitysources/{identity_source}`.", +"location": "query", +"type": "string" +} +}, +"path": "v1/groups:lookup", +"response": { +"$ref": "LookupGroupNameResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-identity.groups", +"https://www.googleapis.com/auth/cloud-identity.groups.readonly", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates a `Group`.", +"flatPath": "v1/groups/{groupsId}", +"httpMethod": "PATCH", +"id": "cloudidentity.groups.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Output only. The [resource name](https://cloud.google.com/apis/design/resource_names) of the `Group`. Shall be of the form `groups/{group}`.", +"location": "path", +"pattern": "^groups/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Required. The names of fields to update. May only contain the following field names: `display_name`, `description`, `labels`.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "Group" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-identity.groups", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"search": { +"description": "Searches for `Group` resources matching a specified query.", +"flatPath": "v1/groups:search", +"httpMethod": "GET", +"id": "cloudidentity.groups.search", +"parameterOrder": [], +"parameters": { +"pageSize": { +"description": "The maximum number of results to return. Note that the number of results returned may be less than this value even if there are more available results. To fetch all results, clients must continue calling this method repeatedly until the response no longer contains a `next_page_token`. If unspecified, defaults to 200 for `GroupView.BASIC` and 50 for `GroupView.FULL`. Must not be greater than 1000 for `GroupView.BASIC` or 500 for `GroupView.FULL`.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The `next_page_token` value returned from a previous search request, if any.", +"location": "query", +"type": "string" +}, +"query": { +"description": "Required. The search query. * Must be specified in [Common Expression Language](https://opensource.google/projects/cel). * Must contain equality operators on the parent, e.g. `parent == 'customers/{customer_id}'`. The `customer_id` must begin with \"C\" (for example, 'C046psxkn'). [Find your customer ID.] (https://support.google.com/cloudidentity/answer/10070793) * Can contain optional inclusion operators on `labels` such as `'cloudidentity.googleapis.com/groups.discussion_forum' in labels`). * Can contain an optional equality operator on `domain_name`. e.g. `domain_name == 'examplepetstore.com'` * Can contain optional `startsWith/contains/equality` operators on `group_key`, e.g. `group_key.startsWith('dev')`, `group_key.contains('dev'), group_key == 'dev@examplepetstore.com'` * Can contain optional `startsWith/contains/equality` operators on `display_name`, such as `display_name.startsWith('dev')` , `display_name.contains('dev')`, `display_name == 'dev'`", +"location": "query", +"type": "string" +}, +"view": { +"description": "The level of detail to be returned. If unspecified, defaults to `View.BASIC`.", +"enum": [ +"VIEW_UNSPECIFIED", +"BASIC", +"FULL" +], +"enumDescriptions": [ +"Default. Should not be used.", +"Only basic resource information is returned.", +"All resource information is returned." +], +"location": "query", +"type": "string" +} +}, +"path": "v1/groups:search", +"response": { +"$ref": "SearchGroupsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-identity.groups", +"https://www.googleapis.com/auth/cloud-identity.groups.readonly", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"updateSecuritySettings": { +"description": "Update Security Settings", +"flatPath": "v1/groups/{groupsId}/securitySettings", +"httpMethod": "PATCH", +"id": "cloudidentity.groups.updateSecuritySettings", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Output only. The resource name of the security settings. Shall be of the form `groups/{group_id}/securitySettings`.", +"location": "path", +"pattern": "^groups/[^/]+/securitySettings$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Required. The fully-qualified names of fields to update. May only contain the following field: `member_restriction.query`.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "SecuritySettings" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-identity.groups", +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"memberships": { +"methods": { +"checkTransitiveMembership": { +"description": "Check a potential member for membership in a group. **Note:** This feature is only available to Google Workspace Enterprise Standard, Enterprise Plus, and Enterprise for Education; and Cloud Identity Premium accounts. If the account of the member is not one of these, a 403 (PERMISSION_DENIED) HTTP status code will be returned. A member has membership to a group as long as there is a single viewable transitive membership between the group and the member. The actor must have view permissions to at least one transitive membership between the member and group.", +"flatPath": "v1/groups/{groupsId}/memberships:checkTransitiveMembership", +"httpMethod": "GET", +"id": "cloudidentity.groups.memberships.checkTransitiveMembership", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "[Resource name](https://cloud.google.com/apis/design/resource_names) of the group to check the transitive membership in. Format: `groups/{group}`, where `group` is the unique id assigned to the Group to which the Membership belongs to.", +"location": "path", +"pattern": "^groups/[^/]+$", +"required": true, +"type": "string" +}, +"query": { +"description": "Required. A CEL expression that MUST include member specification. This is a `required` field. Certain groups are uniquely identified by both a 'member_key_id' and a 'member_key_namespace', which requires an additional query input: 'member_key_namespace'. Example query: `member_key_id == 'member_key_id_value'`", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+parent}/memberships:checkTransitiveMembership", +"response": { +"$ref": "CheckTransitiveMembershipResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-identity.groups", +"https://www.googleapis.com/auth/cloud-identity.groups.readonly", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"create": { +"description": "Creates a `Membership`.", +"flatPath": "v1/groups/{groupsId}/memberships", +"httpMethod": "POST", +"id": "cloudidentity.groups.memberships.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The parent `Group` resource under which to create the `Membership`. Must be of the form `groups/{group}`.", +"location": "path", +"pattern": "^groups/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/memberships", +"request": { +"$ref": "Membership" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-identity.groups", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a `Membership`.", +"flatPath": "v1/groups/{groupsId}/memberships/{membershipsId}", +"httpMethod": "DELETE", +"id": "cloudidentity.groups.memberships.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The [resource name](https://cloud.google.com/apis/design/resource_names) of the `Membership` to delete. Must be of the form `groups/{group}/memberships/{membership}`", +"location": "path", +"pattern": "^groups/[^/]+/memberships/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-identity.groups", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Retrieves a `Membership`.", +"flatPath": "v1/groups/{groupsId}/memberships/{membershipsId}", +"httpMethod": "GET", +"id": "cloudidentity.groups.memberships.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The [resource name](https://cloud.google.com/apis/design/resource_names) of the `Membership` to retrieve. Must be of the form `groups/{group}/memberships/{membership}`.", +"location": "path", +"pattern": "^groups/[^/]+/memberships/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Membership" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-identity.groups", +"https://www.googleapis.com/auth/cloud-identity.groups.readonly", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"getMembershipGraph": { +"description": "Get a membership graph of just a member or both a member and a group. **Note:** This feature is only available to Google Workspace Enterprise Standard, Enterprise Plus, and Enterprise for Education; and Cloud Identity Premium accounts. If the account of the member is not one of these, a 403 (PERMISSION_DENIED) HTTP status code will be returned. Given a member, the response will contain all membership paths from the member. Given both a group and a member, the response will contain all membership paths between the group and the member.", +"flatPath": "v1/groups/{groupsId}/memberships:getMembershipGraph", +"httpMethod": "GET", +"id": "cloudidentity.groups.memberships.getMembershipGraph", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. [Resource name](https://cloud.google.com/apis/design/resource_names) of the group to search transitive memberships in. Format: `groups/{group}`, where `group` is the unique ID assigned to the Group to which the Membership belongs to. group can be a wildcard collection id \"-\". When a group is specified, the membership graph will be constrained to paths between the member (defined in the query) and the parent. If a wildcard collection is provided, all membership paths connected to the member will be returned.", +"location": "path", +"pattern": "^groups/[^/]+$", +"required": true, +"type": "string" +}, +"query": { +"description": "Required. A CEL expression that MUST include member specification AND label(s). Certain groups are uniquely identified by both a 'member_key_id' and a 'member_key_namespace', which requires an additional query input: 'member_key_namespace'. Example query: `member_key_id == 'member_key_id_value' && in labels`", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+parent}/memberships:getMembershipGraph", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-identity.groups", +"https://www.googleapis.com/auth/cloud-identity.groups.readonly", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists the `Membership`s within a `Group`.", +"flatPath": "v1/groups/{groupsId}/memberships", +"httpMethod": "GET", +"id": "cloudidentity.groups.memberships.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "The maximum number of results to return. Note that the number of results returned may be less than this value even if there are more available results. To fetch all results, clients must continue calling this method repeatedly until the response no longer contains a `next_page_token`. If unspecified, defaults to 200 for `GroupView.BASIC` and to 50 for `GroupView.FULL`. Must not be greater than 1000 for `GroupView.BASIC` or 500 for `GroupView.FULL`.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The `next_page_token` value returned from a previous search request, if any.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent `Group` resource under which to lookup the `Membership` name. Must be of the form `groups/{group}`.", +"location": "path", +"pattern": "^groups/[^/]+$", +"required": true, +"type": "string" +}, +"view": { +"description": "The level of detail to be returned. If unspecified, defaults to `View.BASIC`.", +"enum": [ +"VIEW_UNSPECIFIED", +"BASIC", +"FULL" +], +"enumDescriptions": [ +"Default. Should not be used.", +"Only basic resource information is returned.", +"All resource information is returned." +], +"location": "query", +"type": "string" +} +}, +"path": "v1/{+parent}/memberships", +"response": { +"$ref": "ListMembershipsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-identity.groups", +"https://www.googleapis.com/auth/cloud-identity.groups.readonly", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"lookup": { +"description": "Looks up the [resource name](https://cloud.google.com/apis/design/resource_names) of a `Membership` by its `EntityKey`.", +"flatPath": "v1/groups/{groupsId}/memberships:lookup", +"httpMethod": "GET", +"id": "cloudidentity.groups.memberships.lookup", +"parameterOrder": [ +"parent" +], +"parameters": { +"memberKey.id": { +"description": "The ID of the entity. For Google-managed entities, the `id` should be the email address of an existing group or user. Email addresses need to adhere to [name guidelines for users and groups](https://support.google.com/a/answer/9193374). For external-identity-mapped entities, the `id` must be a string conforming to the Identity Source's requirements. Must be unique within a `namespace`.", +"location": "query", +"type": "string" +}, +"memberKey.namespace": { +"description": "The namespace in which the entity exists. If not specified, the `EntityKey` represents a Google-managed entity such as a Google user or a Google Group. If specified, the `EntityKey` represents an external-identity-mapped group. The namespace must correspond to an identity source created in Admin Console and must be in the form of `identitysources/{identity_source}`.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent `Group` resource under which to lookup the `Membership` name. Must be of the form `groups/{group}`.", +"location": "path", +"pattern": "^groups/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/memberships:lookup", +"response": { +"$ref": "LookupMembershipNameResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-identity.groups", +"https://www.googleapis.com/auth/cloud-identity.groups.readonly", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"modifyMembershipRoles": { +"description": "Modifies the `MembershipRole`s of a `Membership`.", +"flatPath": "v1/groups/{groupsId}/memberships/{membershipsId}:modifyMembershipRoles", +"httpMethod": "POST", +"id": "cloudidentity.groups.memberships.modifyMembershipRoles", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The [resource name](https://cloud.google.com/apis/design/resource_names) of the `Membership` whose roles are to be modified. Must be of the form `groups/{group}/memberships/{membership}`.", +"location": "path", +"pattern": "^groups/[^/]+/memberships/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:modifyMembershipRoles", +"request": { +"$ref": "ModifyMembershipRolesRequest" +}, +"response": { +"$ref": "ModifyMembershipRolesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-identity.groups", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"searchDirectGroups": { +"description": "Searches direct groups of a member.", +"flatPath": "v1/groups/{groupsId}/memberships:searchDirectGroups", +"httpMethod": "GET", +"id": "cloudidentity.groups.memberships.searchDirectGroups", +"parameterOrder": [ +"parent" +], +"parameters": { +"orderBy": { +"description": "The ordering of membership relation for the display name or email in the response. The syntax for this field can be found at https://cloud.google.com/apis/design/design_patterns#sorting_order. Example: Sort by the ascending display name: order_by=\"group_name\" or order_by=\"group_name asc\". Sort by the descending display name: order_by=\"group_name desc\". Sort by the ascending group key: order_by=\"group_key\" or order_by=\"group_key asc\". Sort by the descending group key: order_by=\"group_key desc\".", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "The default page size is 200 (max 1000).", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The `next_page_token` value returned from a previous list request, if any", +"location": "query", +"type": "string" +}, +"parent": { +"description": "[Resource name](https://cloud.google.com/apis/design/resource_names) of the group to search transitive memberships in. Format: groups/{group_id}, where group_id is always '-' as this API will search across all groups for a given member.", +"location": "path", +"pattern": "^groups/[^/]+$", +"required": true, +"type": "string" +}, +"query": { +"description": "Required. A CEL expression that MUST include member specification AND label(s). Users can search on label attributes of groups. CONTAINS match ('in') is supported on labels. Identity-mapped groups are uniquely identified by both a `member_key_id` and a `member_key_namespace`, which requires an additional query input: `member_key_namespace`. Example query: `member_key_id == 'member_key_id_value' && 'label_value' in labels`", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+parent}/memberships:searchDirectGroups", +"response": { +"$ref": "SearchDirectGroupsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-identity.groups", +"https://www.googleapis.com/auth/cloud-identity.groups.readonly", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"searchTransitiveGroups": { +"description": "Search transitive groups of a member. **Note:** This feature is only available to Google Workspace Enterprise Standard, Enterprise Plus, and Enterprise for Education; and Cloud Identity Premium accounts. If the account of the member is not one of these, a 403 (PERMISSION_DENIED) HTTP status code will be returned. A transitive group is any group that has a direct or indirect membership to the member. Actor must have view permissions all transitive groups.", +"flatPath": "v1/groups/{groupsId}/memberships:searchTransitiveGroups", +"httpMethod": "GET", +"id": "cloudidentity.groups.memberships.searchTransitiveGroups", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "The default page size is 200 (max 1000).", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The `next_page_token` value returned from a previous list request, if any.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "[Resource name](https://cloud.google.com/apis/design/resource_names) of the group to search transitive memberships in. Format: `groups/{group}`, where `group` is always '-' as this API will search across all groups for a given member.", +"location": "path", +"pattern": "^groups/[^/]+$", +"required": true, +"type": "string" +}, +"query": { +"description": "Required. A CEL expression that MUST include member specification AND label(s). This is a `required` field. Users can search on label attributes of groups. CONTAINS match ('in') is supported on labels. Identity-mapped groups are uniquely identified by both a `member_key_id` and a `member_key_namespace`, which requires an additional query input: `member_key_namespace`. Example query: `member_key_id == 'member_key_id_value' && in labels` Query may optionally contain equality operators on the parent of the group restricting the search within a particular customer, e.g. `parent == 'customers/{customer_id}'`. The `customer_id` must begin with \"C\" (for example, 'C046psxkn'). This filtering is only supported for Admins with groups read permissions on the input customer. Example query: `member_key_id == 'member_key_id_value' && in labels && parent == 'customers/C046psxkn'`", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+parent}/memberships:searchTransitiveGroups", +"response": { +"$ref": "SearchTransitiveGroupsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-identity.groups", +"https://www.googleapis.com/auth/cloud-identity.groups.readonly", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"searchTransitiveMemberships": { +"description": "Search transitive memberships of a group. **Note:** This feature is only available to Google Workspace Enterprise Standard, Enterprise Plus, and Enterprise for Education; and Cloud Identity Premium accounts. If the account of the group is not one of these, a 403 (PERMISSION_DENIED) HTTP status code will be returned. A transitive membership is any direct or indirect membership of a group. Actor must have view permissions to all transitive memberships.", +"flatPath": "v1/groups/{groupsId}/memberships:searchTransitiveMemberships", +"httpMethod": "GET", +"id": "cloudidentity.groups.memberships.searchTransitiveMemberships", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "The default page size is 200 (max 1000).", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The `next_page_token` value returned from a previous list request, if any.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "[Resource name](https://cloud.google.com/apis/design/resource_names) of the group to search transitive memberships in. Format: `groups/{group}`, where `group` is the unique ID assigned to the Group.", +"location": "path", +"pattern": "^groups/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/memberships:searchTransitiveMemberships", +"response": { +"$ref": "SearchTransitiveMembershipsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-identity.groups", +"https://www.googleapis.com/auth/cloud-identity.groups.readonly", +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +}, +"inboundOidcSsoProfiles": { +"methods": { +"create": { +"description": "Creates an InboundOidcSsoProfile for a customer. When the target customer has enabled [Multi-party approval for sensitive actions](https://support.google.com/a/answer/13790448), the `Operation` in the response will have `\"done\": false`, it will not have a response, and the metadata will have `\"state\": \"awaiting-multi-party-approval\"`.", +"flatPath": "v1/inboundOidcSsoProfiles", +"httpMethod": "POST", +"id": "cloudidentity.inboundOidcSsoProfiles.create", +"parameterOrder": [], +"parameters": {}, +"path": "v1/inboundOidcSsoProfiles", +"request": { +"$ref": "InboundOidcSsoProfile" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-identity.inboundsso", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes an InboundOidcSsoProfile.", +"flatPath": "v1/inboundOidcSsoProfiles/{inboundOidcSsoProfilesId}", +"httpMethod": "DELETE", +"id": "cloudidentity.inboundOidcSsoProfiles.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The [resource name](https://cloud.google.com/apis/design/resource_names) of the InboundOidcSsoProfile to delete. Format: `inboundOidcSsoProfiles/{sso_profile_id}`", +"location": "path", +"pattern": "^inboundOidcSsoProfiles/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-identity.inboundsso", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets an InboundOidcSsoProfile.", +"flatPath": "v1/inboundOidcSsoProfiles/{inboundOidcSsoProfilesId}", +"httpMethod": "GET", +"id": "cloudidentity.inboundOidcSsoProfiles.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The [resource name](https://cloud.google.com/apis/design/resource_names) of the InboundOidcSsoProfile to get. Format: `inboundOidcSsoProfiles/{sso_profile_id}`", +"location": "path", +"pattern": "^inboundOidcSsoProfiles/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "InboundOidcSsoProfile" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-identity.inboundsso", +"https://www.googleapis.com/auth/cloud-identity.inboundsso.readonly", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists InboundOidcSsoProfile objects for a Google enterprise customer.", +"flatPath": "v1/inboundOidcSsoProfiles", +"httpMethod": "GET", +"id": "cloudidentity.inboundOidcSsoProfiles.list", +"parameterOrder": [], +"parameters": { +"filter": { +"description": "A [Common Expression Language](https://github.com/google/cel-spec) expression to filter the results. The only supported filter is filtering by customer. For example: `customer==\"customers/C0123abc\"`. Omitting the filter or specifying a filter of `customer==\"customers/my_customer\"` will return the profiles for the customer that the caller (authenticated user) belongs to. Specifying a filter of `customer==\"\"` will return the global shared OIDC profiles.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "The maximum number of InboundOidcSsoProfiles to return. The service may return fewer than this value. If omitted (or defaulted to zero) the server will use a sensible default. This default may change over time. The maximum allowed value is 100. Requests with page_size greater than that will be silently interpreted as having this maximum value.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A page token, received from a previous `ListInboundOidcSsoProfiles` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListInboundOidcSsoProfiles` must match the call that provided the page token.", +"location": "query", +"type": "string" +} +}, +"path": "v1/inboundOidcSsoProfiles", +"response": { +"$ref": "ListInboundOidcSsoProfilesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-identity.inboundsso", +"https://www.googleapis.com/auth/cloud-identity.inboundsso.readonly", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates an InboundOidcSsoProfile. When the target customer has enabled [Multi-party approval for sensitive actions](https://support.google.com/a/answer/13790448), the `Operation` in the response will have `\"done\": false`, it will not have a response, and the metadata will have `\"state\": \"awaiting-multi-party-approval\"`.", +"flatPath": "v1/inboundOidcSsoProfiles/{inboundOidcSsoProfilesId}", +"httpMethod": "PATCH", +"id": "cloudidentity.inboundOidcSsoProfiles.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Output only. [Resource name](https://cloud.google.com/apis/design/resource_names) of the OIDC SSO profile.", +"location": "path", +"pattern": "^inboundOidcSsoProfiles/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Required. The list of fields to be updated.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "InboundOidcSsoProfile" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-identity.inboundsso", +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"inboundSamlSsoProfiles": { +"methods": { +"create": { +"description": "Creates an InboundSamlSsoProfile for a customer. When the target customer has enabled [Multi-party approval for sensitive actions](https://support.google.com/a/answer/13790448), the `Operation` in the response will have `\"done\": false`, it will not have a response, and the metadata will have `\"state\": \"awaiting-multi-party-approval\"`.", +"flatPath": "v1/inboundSamlSsoProfiles", +"httpMethod": "POST", +"id": "cloudidentity.inboundSamlSsoProfiles.create", +"parameterOrder": [], +"parameters": {}, +"path": "v1/inboundSamlSsoProfiles", +"request": { +"$ref": "InboundSamlSsoProfile" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-identity.inboundsso", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes an InboundSamlSsoProfile.", +"flatPath": "v1/inboundSamlSsoProfiles/{inboundSamlSsoProfilesId}", +"httpMethod": "DELETE", +"id": "cloudidentity.inboundSamlSsoProfiles.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The [resource name](https://cloud.google.com/apis/design/resource_names) of the InboundSamlSsoProfile to delete. Format: `inboundSamlSsoProfiles/{sso_profile_id}`", +"location": "path", +"pattern": "^inboundSamlSsoProfiles/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-identity.inboundsso", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets an InboundSamlSsoProfile.", +"flatPath": "v1/inboundSamlSsoProfiles/{inboundSamlSsoProfilesId}", +"httpMethod": "GET", +"id": "cloudidentity.inboundSamlSsoProfiles.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The [resource name](https://cloud.google.com/apis/design/resource_names) of the InboundSamlSsoProfile to get. Format: `inboundSamlSsoProfiles/{sso_profile_id}`", +"location": "path", +"pattern": "^inboundSamlSsoProfiles/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "InboundSamlSsoProfile" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-identity.inboundsso", +"https://www.googleapis.com/auth/cloud-identity.inboundsso.readonly", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists InboundSamlSsoProfiles for a customer.", +"flatPath": "v1/inboundSamlSsoProfiles", +"httpMethod": "GET", +"id": "cloudidentity.inboundSamlSsoProfiles.list", +"parameterOrder": [], +"parameters": { +"filter": { +"description": "A [Common Expression Language](https://github.com/google/cel-spec) expression to filter the results. The only supported filter is filtering by customer. For example: `customer==\"customers/C0123abc\"`. Omitting the filter or specifying a filter of `customer==\"customers/my_customer\"` will return the profiles for the customer that the caller (authenticated user) belongs to.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "The maximum number of InboundSamlSsoProfiles to return. The service may return fewer than this value. If omitted (or defaulted to zero) the server will use a sensible default. This default may change over time. The maximum allowed value is 100. Requests with page_size greater than that will be silently interpreted as having this maximum value.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A page token, received from a previous `ListInboundSamlSsoProfiles` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListInboundSamlSsoProfiles` must match the call that provided the page token.", +"location": "query", +"type": "string" +} +}, +"path": "v1/inboundSamlSsoProfiles", +"response": { +"$ref": "ListInboundSamlSsoProfilesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-identity.inboundsso", +"https://www.googleapis.com/auth/cloud-identity.inboundsso.readonly", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates an InboundSamlSsoProfile. When the target customer has enabled [Multi-party approval for sensitive actions](https://support.google.com/a/answer/13790448), the `Operation` in the response will have `\"done\": false`, it will not have a response, and the metadata will have `\"state\": \"awaiting-multi-party-approval\"`.", +"flatPath": "v1/inboundSamlSsoProfiles/{inboundSamlSsoProfilesId}", +"httpMethod": "PATCH", +"id": "cloudidentity.inboundSamlSsoProfiles.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Output only. [Resource name](https://cloud.google.com/apis/design/resource_names) of the SAML SSO profile.", +"location": "path", +"pattern": "^inboundSamlSsoProfiles/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Required. The list of fields to be updated.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "InboundSamlSsoProfile" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-identity.inboundsso", +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"idpCredentials": { +"methods": { +"add": { +"description": "Adds an IdpCredential. Up to 2 credentials are allowed. When the target customer has enabled [Multi-party approval for sensitive actions](https://support.google.com/a/answer/13790448), the `Operation` in the response will have `\"done\": false`, it will not have a response, and the metadata will have `\"state\": \"awaiting-multi-party-approval\"`.", +"flatPath": "v1/inboundSamlSsoProfiles/{inboundSamlSsoProfilesId}/idpCredentials:add", +"httpMethod": "POST", +"id": "cloudidentity.inboundSamlSsoProfiles.idpCredentials.add", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The InboundSamlSsoProfile that owns the IdpCredential. Format: `inboundSamlSsoProfiles/{sso_profile_id}`", +"location": "path", +"pattern": "^inboundSamlSsoProfiles/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/idpCredentials:add", +"request": { +"$ref": "AddIdpCredentialRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-identity.inboundsso", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes an IdpCredential.", +"flatPath": "v1/inboundSamlSsoProfiles/{inboundSamlSsoProfilesId}/idpCredentials/{idpCredentialsId}", +"httpMethod": "DELETE", +"id": "cloudidentity.inboundSamlSsoProfiles.idpCredentials.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The [resource name](https://cloud.google.com/apis/design/resource_names) of the IdpCredential to delete. Format: `inboundSamlSsoProfiles/{sso_profile_id}/idpCredentials/{idp_credential_id}`", +"location": "path", +"pattern": "^inboundSamlSsoProfiles/[^/]+/idpCredentials/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-identity.inboundsso", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets an IdpCredential.", +"flatPath": "v1/inboundSamlSsoProfiles/{inboundSamlSsoProfilesId}/idpCredentials/{idpCredentialsId}", +"httpMethod": "GET", +"id": "cloudidentity.inboundSamlSsoProfiles.idpCredentials.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The [resource name](https://cloud.google.com/apis/design/resource_names) of the IdpCredential to retrieve. Format: `inboundSamlSsoProfiles/{sso_profile_id}/idpCredentials/{idp_credential_id}`", +"location": "path", +"pattern": "^inboundSamlSsoProfiles/[^/]+/idpCredentials/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "IdpCredential" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-identity.inboundsso", +"https://www.googleapis.com/auth/cloud-identity.inboundsso.readonly", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Returns a list of IdpCredentials in an InboundSamlSsoProfile.", +"flatPath": "v1/inboundSamlSsoProfiles/{inboundSamlSsoProfilesId}/idpCredentials", +"httpMethod": "GET", +"id": "cloudidentity.inboundSamlSsoProfiles.idpCredentials.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "The maximum number of `IdpCredential`s to return. The service may return fewer than this value.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A page token, received from a previous `ListIdpCredentials` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListIdpCredentials` must match the call that provided the page token.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent, which owns this collection of `IdpCredential`s. Format: `inboundSamlSsoProfiles/{sso_profile_id}`", +"location": "path", +"pattern": "^inboundSamlSsoProfiles/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/idpCredentials", +"response": { +"$ref": "ListIdpCredentialsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-identity.inboundsso", +"https://www.googleapis.com/auth/cloud-identity.inboundsso.readonly", +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +}, +"inboundSsoAssignments": { +"methods": { +"create": { +"description": "Creates an InboundSsoAssignment for users and devices in a `Customer` under a given `Group` or `OrgUnit`.", +"flatPath": "v1/inboundSsoAssignments", +"httpMethod": "POST", +"id": "cloudidentity.inboundSsoAssignments.create", +"parameterOrder": [], +"parameters": {}, +"path": "v1/inboundSsoAssignments", +"request": { +"$ref": "InboundSsoAssignment" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-identity.inboundsso", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes an InboundSsoAssignment. To disable SSO, Create (or Update) an assignment that has `sso_mode` == `SSO_OFF`.", +"flatPath": "v1/inboundSsoAssignments/{inboundSsoAssignmentsId}", +"httpMethod": "DELETE", +"id": "cloudidentity.inboundSsoAssignments.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The [resource name](https://cloud.google.com/apis/design/resource_names) of the InboundSsoAssignment to delete. Format: `inboundSsoAssignments/{assignment}`", +"location": "path", +"pattern": "^inboundSsoAssignments/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-identity.inboundsso", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets an InboundSsoAssignment.", +"flatPath": "v1/inboundSsoAssignments/{inboundSsoAssignmentsId}", +"httpMethod": "GET", +"id": "cloudidentity.inboundSsoAssignments.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The [resource name](https://cloud.google.com/apis/design/resource_names) of the InboundSsoAssignment to fetch. Format: `inboundSsoAssignments/{assignment}`", +"location": "path", +"pattern": "^inboundSsoAssignments/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "InboundSsoAssignment" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-identity.inboundsso", +"https://www.googleapis.com/auth/cloud-identity.inboundsso.readonly", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists the InboundSsoAssignments for a `Customer`.", +"flatPath": "v1/inboundSsoAssignments", +"httpMethod": "GET", +"id": "cloudidentity.inboundSsoAssignments.list", +"parameterOrder": [], +"parameters": { +"filter": { +"description": "A CEL expression to filter the results. The only supported filter is filtering by customer. For example: `customer==customers/C0123abc`. Omitting the filter or specifying a filter of `customer==customers/my_customer` will return the assignments for the customer that the caller (authenticated user) belongs to.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "The maximum number of assignments to return. The service may return fewer than this value. If omitted (or defaulted to zero) the server will use a sensible default. This default may change over time. The maximum allowed value is 100, though requests with page_size greater than that will be silently interpreted as having this maximum value. This may increase in the futue.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A page token, received from a previous `ListInboundSsoAssignments` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListInboundSsoAssignments` must match the call that provided the page token.", +"location": "query", +"type": "string" +} +}, +"path": "v1/inboundSsoAssignments", +"response": { +"$ref": "ListInboundSsoAssignmentsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-identity.inboundsso", +"https://www.googleapis.com/auth/cloud-identity.inboundsso.readonly", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates an InboundSsoAssignment. The body of this request is the `inbound_sso_assignment` field and the `update_mask` is relative to that. For example: a PATCH to `/v1/inboundSsoAssignments/0abcdefg1234567&update_mask=rank` with a body of `{ \"rank\": 1 }` moves that (presumably group-targeted) SSO assignment to the highest priority and shifts any other group-targeted assignments down in priority.", +"flatPath": "v1/inboundSsoAssignments/{inboundSsoAssignmentsId}", +"httpMethod": "PATCH", +"id": "cloudidentity.inboundSsoAssignments.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Output only. [Resource name](https://cloud.google.com/apis/design/resource_names) of the Inbound SSO Assignment.", +"location": "path", +"pattern": "^inboundSsoAssignments/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Required. The list of fields to be updated.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "InboundSsoAssignment" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-identity.inboundsso", +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"policies": { +"methods": { +"get": { +"description": "Get a policy.", +"flatPath": "v1/policies/{policiesId}", +"httpMethod": "GET", +"id": "cloudidentity.policies.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the policy to retrieve. Format: `policies/{policy}`.", +"location": "path", +"pattern": "^policies/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-identity.policies", +"https://www.googleapis.com/auth/cloud-identity.policies.readonly" +] +}, +"list": { +"description": "List policies.", +"flatPath": "v1/policies", +"httpMethod": "GET", +"id": "cloudidentity.policies.list", +"parameterOrder": [], +"parameters": { +"filter": { +"description": "Optional. A CEL expression for filtering the results. Policies can be filtered by application with this expression: setting.type.matches('^settings/gmail\\\\..*$') Policies can be filtered by setting type with this expression: setting.type.matches('^.*\\\\.service_status$') A maximum of one of the above setting.type clauses can be used. Policies can be filtered by customer with this expression: customer == \"customers/{customer}\" Where `customer` is the `id` from the [Admin SDK `Customer` resource](https://developers.google.com/admin-sdk/directory/reference/rest/v1/customers). You may use `customers/my_customer` to specify your own organization. When no customer is mentioned it will be default to customers/my_customer. A maximum of one customer clause can be used. The above clauses can only be combined together in a single filter expression with the `&&` operator.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Optional. The maximum number of results to return. The service can return fewer than this number. If omitted or set to 0, the default is 50 results per page. The maximum allowed value is 100. `page_size` values greater than 100 default to 100.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. The pagination token received from a prior call to PoliciesService.ListPolicies to retrieve the next page of results. When paginating, all other parameters provided to `ListPoliciesRequest` must match the call that provided the page token.", +"location": "query", +"type": "string" +} +}, +"path": "v1/policies", +"response": { +"$ref": "ListPoliciesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-identity.policies", +"https://www.googleapis.com/auth/cloud-identity.policies.readonly" +] +} +} +} +}, +"revision": "20260113", +"rootUrl": "https://cloudidentity.googleapis.com/", +"schemas": { +"AddIdpCredentialOperationMetadata": { +"description": "LRO response metadata for InboundSamlSsoProfilesService.AddIdpCredential.", +"id": "AddIdpCredentialOperationMetadata", +"properties": { +"state": { +"description": "State of this Operation Will be \"awaiting-multi-party-approval\" when the operation is deferred due to the target customer having enabled [Multi-party approval for sensitive actions](https://support.google.com/a/answer/13790448).", +"type": "string" +} +}, +"type": "object" +}, +"AddIdpCredentialRequest": { +"description": "The request for creating an IdpCredential with its associated payload. An InboundSamlSsoProfile can own up to 2 credentials.", +"id": "AddIdpCredentialRequest", +"properties": { +"pemData": { +"description": "PEM encoded x509 certificate containing the public key for verifying IdP signatures.", +"type": "string" +} +}, +"type": "object" +}, +"CancelUserInvitationRequest": { +"description": "Request to cancel sent invitation for target email in UserInvitation.", +"id": "CancelUserInvitationRequest", +"properties": {}, +"type": "object" +}, +"CheckTransitiveMembershipResponse": { +"description": "The response message for MembershipsService.CheckTransitiveMembership.", +"id": "CheckTransitiveMembershipResponse", +"properties": { +"hasMembership": { +"description": "Response does not include the possible roles of a member since the behavior of this rpc is not all-or-nothing unlike the other rpcs. So, it may not be possible to list all the roles definitively, due to possible lack of authorization in some of the paths.", +"type": "boolean" +} +}, +"type": "object" +}, +"CreateGroupMetadata": { +"description": "Metadata for CreateGroup LRO.", +"id": "CreateGroupMetadata", +"properties": {}, +"type": "object" +}, +"CreateInboundOidcSsoProfileOperationMetadata": { +"description": "LRO response metadata for InboundOidcSsoProfilesService.CreateInboundOidcSsoProfile.", +"id": "CreateInboundOidcSsoProfileOperationMetadata", +"properties": { +"state": { +"description": "State of this Operation Will be \"awaiting-multi-party-approval\" when the operation is deferred due to the target customer having enabled [Multi-party approval for sensitive actions](https://support.google.com/a/answer/13790448).", +"type": "string" +} +}, +"type": "object" +}, +"CreateInboundSamlSsoProfileOperationMetadata": { +"description": "LRO response metadata for InboundSamlSsoProfilesService.CreateInboundSamlSsoProfile.", +"id": "CreateInboundSamlSsoProfileOperationMetadata", +"properties": { +"state": { +"description": "State of this Operation Will be \"awaiting-multi-party-approval\" when the operation is deferred due to the target customer having enabled [Multi-party approval for sensitive actions](https://support.google.com/a/answer/13790448).", +"type": "string" +} +}, +"type": "object" +}, +"CreateInboundSsoAssignmentOperationMetadata": { +"description": "LRO response metadata for InboundSsoAssignmentsService.CreateInboundSsoAssignment.", +"id": "CreateInboundSsoAssignmentOperationMetadata", +"properties": {}, +"type": "object" +}, +"CreateMembershipMetadata": { +"description": "Metadata for CreateMembership LRO.", +"id": "CreateMembershipMetadata", +"properties": {}, +"type": "object" +}, +"DeleteGroupMetadata": { +"description": "Metadata for DeleteGroup LRO.", +"id": "DeleteGroupMetadata", +"properties": {}, +"type": "object" +}, +"DeleteIdpCredentialOperationMetadata": { +"description": "LRO response metadata for InboundSamlSsoProfilesService.DeleteIdpCredential.", +"id": "DeleteIdpCredentialOperationMetadata", +"properties": {}, +"type": "object" +}, +"DeleteInboundOidcSsoProfileOperationMetadata": { +"description": "LRO response metadata for InboundOidcSsoProfilesService.DeleteInboundOidcSsoProfile.", +"id": "DeleteInboundOidcSsoProfileOperationMetadata", +"properties": {}, +"type": "object" +}, +"DeleteInboundSamlSsoProfileOperationMetadata": { +"description": "LRO response metadata for InboundSamlSsoProfilesService.DeleteInboundSamlSsoProfile.", +"id": "DeleteInboundSamlSsoProfileOperationMetadata", +"properties": {}, +"type": "object" +}, +"DeleteInboundSsoAssignmentOperationMetadata": { +"description": "LRO response metadata for InboundSsoAssignmentsService.DeleteInboundSsoAssignment.", +"id": "DeleteInboundSsoAssignmentOperationMetadata", +"properties": {}, +"type": "object" +}, +"DeleteMembershipMetadata": { +"description": "Metadata for DeleteMembership LRO.", +"id": "DeleteMembershipMetadata", +"properties": {}, +"type": "object" +}, +"DsaPublicKeyInfo": { +"description": "Information of a DSA public key.", +"id": "DsaPublicKeyInfo", +"properties": { +"keySize": { +"description": "Key size in bits (size of parameter P).", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"DynamicGroupMetadata": { +"description": "Dynamic group metadata like queries and status.", +"id": "DynamicGroupMetadata", +"properties": { +"queries": { +"description": "Memberships will be the union of all queries. Only one entry with USER resource is currently supported. Customers can create up to 500 dynamic groups.", +"items": { +"$ref": "DynamicGroupQuery" +}, +"type": "array" +}, +"status": { +"$ref": "DynamicGroupStatus", +"description": "Output only. Status of the dynamic group.", +"readOnly": true +} +}, +"type": "object" +}, +"DynamicGroupQuery": { +"description": "Defines a query on a resource.", +"id": "DynamicGroupQuery", +"properties": { +"query": { +"description": "Query that determines the memberships of the dynamic group. Examples: All users with at least one `organizations.department` of engineering. `user.organizations.exists(org, org.department=='engineering')` All users with at least one location that has `area` of `foo` and `building_id` of `bar`. `user.locations.exists(loc, loc.area=='foo' && loc.building_id=='bar')` All users with any variation of the name John Doe (case-insensitive queries add `equalsIgnoreCase()` to the value being queried). `user.name.value.equalsIgnoreCase('jOhn DoE')`", +"type": "string" +}, +"resourceType": { +"description": "Resource type for the Dynamic Group Query", +"enum": [ +"RESOURCE_TYPE_UNSPECIFIED", +"USER" +], +"enumDescriptions": [ +"Default value (not valid)", +"For queries on User" +], +"type": "string" +} +}, +"type": "object" +}, +"DynamicGroupStatus": { +"description": "The current status of a dynamic group along with timestamp.", +"id": "DynamicGroupStatus", +"properties": { +"status": { +"description": "Status of the dynamic group.", +"enum": [ +"STATUS_UNSPECIFIED", +"UP_TO_DATE", +"UPDATING_MEMBERSHIPS", +"INVALID_QUERY" +], +"enumDescriptions": [ +"Default.", +"The dynamic group is up-to-date.", +"The dynamic group has just been created and memberships are being updated.", +"Group is in an unrecoverable state and its memberships can't be updated." +], +"type": "string" +}, +"statusTime": { +"description": "The latest time at which the dynamic group is guaranteed to be in the given status. If status is `UP_TO_DATE`, the latest time at which the dynamic group was confirmed to be up-to-date. If status is `UPDATING_MEMBERSHIPS`, the time at which dynamic group was created.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"EntityKey": { +"description": "A unique identifier for an entity in the Cloud Identity Groups API. An entity can represent either a group with an optional `namespace` or a user without a `namespace`. The combination of `id` and `namespace` must be unique; however, the same `id` can be used with different `namespace`s.", +"id": "EntityKey", +"properties": { +"id": { +"description": "The ID of the entity. For Google-managed entities, the `id` should be the email address of an existing group or user. Email addresses need to adhere to [name guidelines for users and groups](https://support.google.com/a/answer/9193374). For external-identity-mapped entities, the `id` must be a string conforming to the Identity Source's requirements. Must be unique within a `namespace`.", +"type": "string" +}, +"namespace": { +"description": "The namespace in which the entity exists. If not specified, the `EntityKey` represents a Google-managed entity such as a Google user or a Google Group. If specified, the `EntityKey` represents an external-identity-mapped group. The namespace must correspond to an identity source created in Admin Console and must be in the form of `identitysources/{identity_source}`.", +"type": "string" +} +}, +"type": "object" +}, +"ExpiryDetail": { +"description": "The `MembershipRole` expiry details.", +"id": "ExpiryDetail", +"properties": { +"expireTime": { +"description": "The time at which the `MembershipRole` will expire.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"GetMembershipGraphMetadata": { +"description": "Metadata of GetMembershipGraphResponse LRO. This is currently empty to permit future extensibility.", +"id": "GetMembershipGraphMetadata", +"properties": {}, +"type": "object" +}, +"GetMembershipGraphResponse": { +"description": "The response message for MembershipsService.GetMembershipGraph.", +"id": "GetMembershipGraphResponse", +"properties": { +"adjacencyList": { +"description": "The membership graph's path information represented as an adjacency list.", +"items": { +"$ref": "MembershipAdjacencyList" +}, +"type": "array" +}, +"groups": { +"description": "The resources representing each group in the adjacency list. Each group in this list can be correlated to a 'group' of the MembershipAdjacencyList using the 'name' of the Group resource.", +"items": { +"$ref": "Group" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleAppsCloudidentityDevicesV1AndroidAttributes": { +"description": "Resource representing the Android specific attributes of a Device.", +"id": "GoogleAppsCloudidentityDevicesV1AndroidAttributes", +"properties": { +"ctsProfileMatch": { +"description": "Whether the device passes Android CTS compliance.", +"type": "boolean" +}, +"enabledUnknownSources": { +"description": "Whether applications from unknown sources can be installed on device.", +"type": "boolean" +}, +"hasPotentiallyHarmfulApps": { +"description": "Whether any potentially harmful apps were detected on the device.", +"type": "boolean" +}, +"ownerProfileAccount": { +"description": "Whether this account is on an owner/primary profile. For phones, only true for owner profiles. Android 4+ devices can have secondary or restricted user profiles.", +"type": "boolean" +}, +"ownershipPrivilege": { +"description": "Ownership privileges on device.", +"enum": [ +"OWNERSHIP_PRIVILEGE_UNSPECIFIED", +"DEVICE_ADMINISTRATOR", +"PROFILE_OWNER", +"DEVICE_OWNER" +], +"enumDescriptions": [ +"Ownership privilege is not set.", +"Active device administrator privileges on the device.", +"Profile Owner privileges. The account is in a managed corporate profile.", +"Device Owner privileges on the device." +], +"type": "string" +}, +"supportsWorkProfile": { +"description": "Whether device supports Android work profiles. If false, this service will not block access to corp data even if an administrator turns on the \"Enforce Work Profile\" policy.", +"type": "boolean" +}, +"verifiedBoot": { +"description": "Whether Android verified boot status is GREEN.", +"type": "boolean" +}, +"verifyAppsEnabled": { +"description": "Whether Google Play Protect Verify Apps is enabled.", +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleAppsCloudidentityDevicesV1ApproveDeviceUserMetadata": { +"description": "Metadata for ApproveDeviceUser LRO.", +"id": "GoogleAppsCloudidentityDevicesV1ApproveDeviceUserMetadata", +"properties": {}, +"type": "object" +}, +"GoogleAppsCloudidentityDevicesV1ApproveDeviceUserRequest": { +"description": "Request message for approving the device to access user data.", +"id": "GoogleAppsCloudidentityDevicesV1ApproveDeviceUserRequest", +"properties": { +"customer": { +"description": "Optional. [Resource name](https://cloud.google.com/apis/design/resource_names) of the customer. If you're using this API for your own organization, use `customers/my_customer` If you're using this API to manage another organization, use `customers/{customer}`, where customer is the customer to whom the device belongs.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleAppsCloudidentityDevicesV1ApproveDeviceUserResponse": { +"description": "Response message for approving the device to access user data.", +"id": "GoogleAppsCloudidentityDevicesV1ApproveDeviceUserResponse", +"properties": { +"deviceUser": { +"$ref": "GoogleAppsCloudidentityDevicesV1DeviceUser", +"description": "Resultant DeviceUser object for the action." +} +}, +"type": "object" +}, +"GoogleAppsCloudidentityDevicesV1BlockDeviceUserMetadata": { +"description": "Metadata for BlockDeviceUser LRO.", +"id": "GoogleAppsCloudidentityDevicesV1BlockDeviceUserMetadata", +"properties": {}, +"type": "object" +}, +"GoogleAppsCloudidentityDevicesV1BlockDeviceUserRequest": { +"description": "Request message for blocking account on device.", +"id": "GoogleAppsCloudidentityDevicesV1BlockDeviceUserRequest", +"properties": { +"customer": { +"description": "Optional. [Resource name](https://cloud.google.com/apis/design/resource_names) of the customer. If you're using this API for your own organization, use `customers/my_customer` If you're using this API to manage another organization, use `customers/{customer}`, where customer is the customer to whom the device belongs.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleAppsCloudidentityDevicesV1BlockDeviceUserResponse": { +"description": "Response message for blocking the device from accessing user data.", +"id": "GoogleAppsCloudidentityDevicesV1BlockDeviceUserResponse", +"properties": { +"deviceUser": { +"$ref": "GoogleAppsCloudidentityDevicesV1DeviceUser", +"description": "Resultant DeviceUser object for the action." +} +}, +"type": "object" +}, +"GoogleAppsCloudidentityDevicesV1BrowserAttributes": { +"description": "Contains information about browser profiles reported by the [Endpoint Verification extension](https://chromewebstore.google.com/detail/endpoint-verification/callobklhcbilhphinckomhgkigmfocg?pli=1).", +"id": "GoogleAppsCloudidentityDevicesV1BrowserAttributes", +"properties": { +"chromeBrowserInfo": { +"$ref": "GoogleAppsCloudidentityDevicesV1BrowserInfo", +"description": "Represents the current state of the [Chrome browser attributes](https://cloud.google.com/access-context-manager/docs/browser-attributes) sent by the [Endpoint Verification extension](https://chromewebstore.google.com/detail/endpoint-verification/callobklhcbilhphinckomhgkigmfocg?pli=1)." +}, +"chromeProfileId": { +"description": "Chrome profile ID that is exposed by the Chrome API. It is unique for each device.", +"type": "string" +}, +"lastProfileSyncTime": { +"description": "Timestamp in milliseconds since the Unix epoch when the profile/gcm id was last synced.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"GoogleAppsCloudidentityDevicesV1BrowserInfo": { +"description": "Browser-specific fields reported by the [Endpoint Verification extension](https://chromewebstore.google.com/detail/endpoint-verification/callobklhcbilhphinckomhgkigmfocg?pli=1).", +"id": "GoogleAppsCloudidentityDevicesV1BrowserInfo", +"properties": { +"browserManagementState": { +"description": "Output only. Browser's management state.", +"enum": [ +"UNSPECIFIED", +"UNMANAGED", +"MANAGED_BY_OTHER_DOMAIN", +"PROFILE_MANAGED", +"BROWSER_MANAGED" +], +"enumDescriptions": [ +"Management state is not specified.", +"Browser/Profile is not managed by any customer.", +"Browser/Profile is managed, but by some other customer.", +"Profile is managed by customer.", +"Browser is managed by customer." +], +"readOnly": true, +"type": "string" +}, +"browserVersion": { +"description": "Version of the request initiating browser. E.g. `91.0.4442.4`.", +"type": "string" +}, +"isBuiltInDnsClientEnabled": { +"description": "Current state of [built-in DNS client](https://chromeenterprise.google/policies/#BuiltInDnsClientEnabled).", +"type": "boolean" +}, +"isBulkDataEntryAnalysisEnabled": { +"description": "Current state of [bulk data analysis](https://chromeenterprise.google/policies/#OnBulkDataEntryEnterpriseConnector). Set to true if provider list from Chrome is non-empty.", +"type": "boolean" +}, +"isChromeCleanupEnabled": { +"deprecated": true, +"description": "Deprecated: This field is not used for Chrome version 118 and later. Current state of [Chrome Cleanup](https://chromeenterprise.google/policies/#ChromeCleanupEnabled).", +"type": "boolean" +}, +"isChromeRemoteDesktopAppBlocked": { +"description": "Current state of [Chrome Remote Desktop app](https://chromeenterprise.google/policies/#URLBlocklist).", +"type": "boolean" +}, +"isFileDownloadAnalysisEnabled": { +"description": "Current state of [file download analysis](https://chromeenterprise.google/policies/#OnFileDownloadedEnterpriseConnector). Set to true if provider list from Chrome is non-empty.", +"type": "boolean" +}, +"isFileUploadAnalysisEnabled": { +"description": "Current state of [file upload analysis](https://chromeenterprise.google/policies/#OnFileAttachedEnterpriseConnector). Set to true if provider list from Chrome is non-empty.", +"type": "boolean" +}, +"isRealtimeUrlCheckEnabled": { +"description": "Current state of [real-time URL check](https://chromeenterprise.google/policies/#EnterpriseRealTimeUrlCheckMode). Set to true if provider list from Chrome is non-empty.", +"type": "boolean" +}, +"isSecurityEventAnalysisEnabled": { +"description": "Current state of [security event analysis](https://chromeenterprise.google/policies/#OnSecurityEventEnterpriseConnector). Set to true if provider list from Chrome is non-empty.", +"type": "boolean" +}, +"isSiteIsolationEnabled": { +"description": "Current state of [site isolation](https://chromeenterprise.google/policies/?policy=IsolateOrigins).", +"type": "boolean" +}, +"isThirdPartyBlockingEnabled": { +"description": "Current state of [third-party blocking](https://chromeenterprise.google/policies/#ThirdPartyBlockingEnabled).", +"type": "boolean" +}, +"passwordProtectionWarningTrigger": { +"description": "Current state of [password protection trigger](https://chromeenterprise.google/policies/#PasswordProtectionWarningTrigger).", +"enum": [ +"PASSWORD_PROTECTION_TRIGGER_UNSPECIFIED", +"PROTECTION_OFF", +"PASSWORD_REUSE", +"PHISHING_REUSE" +], +"enumDescriptions": [ +"Password protection is not specified.", +"Password reuse is never detected.", +"Warning is shown when the user reuses their protected password on a non-allowed site.", +"Warning is shown when the user reuses their protected password on a phishing site." +], +"type": "string" +}, +"safeBrowsingProtectionLevel": { +"description": "Current state of [Safe Browsing protection level](https://chromeenterprise.google/policies/#SafeBrowsingProtectionLevel).", +"enum": [ +"SAFE_BROWSING_LEVEL_UNSPECIFIED", +"DISABLED", +"STANDARD", +"ENHANCED" +], +"enumDescriptions": [ +"Browser protection level is not specified.", +"No protection against dangerous websites, downloads, and extensions.", +"Standard protection against websites, downloads, and extensions that are known to be dangerous.", +"Faster, proactive protection against dangerous websites, downloads, and extensions." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleAppsCloudidentityDevicesV1CancelWipeDeviceMetadata": { +"description": "Metadata for CancelWipeDevice LRO.", +"id": "GoogleAppsCloudidentityDevicesV1CancelWipeDeviceMetadata", +"properties": {}, +"type": "object" +}, +"GoogleAppsCloudidentityDevicesV1CancelWipeDeviceRequest": { +"description": "Request message for cancelling an unfinished device wipe.", +"id": "GoogleAppsCloudidentityDevicesV1CancelWipeDeviceRequest", +"properties": { +"customer": { +"description": "Optional. [Resource name](https://cloud.google.com/apis/design/resource_names) of the customer. If you're using this API for your own organization, use `customers/my_customer` If you're using this API to manage another organization, use `customers/{customer}`, where customer is the customer to whom the device belongs.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleAppsCloudidentityDevicesV1CancelWipeDeviceResponse": { +"description": "Response message for cancelling an unfinished device wipe.", +"id": "GoogleAppsCloudidentityDevicesV1CancelWipeDeviceResponse", +"properties": { +"device": { +"$ref": "GoogleAppsCloudidentityDevicesV1Device", +"description": "Resultant Device object for the action. Note that asset tags will not be returned in the device object." +} +}, +"type": "object" +}, +"GoogleAppsCloudidentityDevicesV1CancelWipeDeviceUserMetadata": { +"description": "Metadata for CancelWipeDeviceUser LRO.", +"id": "GoogleAppsCloudidentityDevicesV1CancelWipeDeviceUserMetadata", +"properties": {}, +"type": "object" +}, +"GoogleAppsCloudidentityDevicesV1CancelWipeDeviceUserRequest": { +"description": "Request message for cancelling an unfinished user account wipe.", +"id": "GoogleAppsCloudidentityDevicesV1CancelWipeDeviceUserRequest", +"properties": { +"customer": { +"description": "Optional. [Resource name](https://cloud.google.com/apis/design/resource_names) of the customer. If you're using this API for your own organization, use `customers/my_customer` If you're using this API to manage another organization, use `customers/{customer}`, where customer is the customer to whom the device belongs.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleAppsCloudidentityDevicesV1CancelWipeDeviceUserResponse": { +"description": "Response message for cancelling an unfinished user account wipe.", +"id": "GoogleAppsCloudidentityDevicesV1CancelWipeDeviceUserResponse", +"properties": { +"deviceUser": { +"$ref": "GoogleAppsCloudidentityDevicesV1DeviceUser", +"description": "Resultant DeviceUser object for the action." +} +}, +"type": "object" +}, +"GoogleAppsCloudidentityDevicesV1CertificateAttributes": { +"description": "Stores information about a certificate.", +"id": "GoogleAppsCloudidentityDevicesV1CertificateAttributes", +"properties": { +"certificateTemplate": { +"$ref": "GoogleAppsCloudidentityDevicesV1CertificateTemplate", +"description": "The X.509 extension for CertificateTemplate." +}, +"fingerprint": { +"description": "The encoded certificate fingerprint.", +"type": "string" +}, +"issuer": { +"description": "The name of the issuer of this certificate.", +"type": "string" +}, +"serialNumber": { +"description": "Serial number of the certificate, Example: \"123456789\".", +"type": "string" +}, +"subject": { +"description": "The subject name of this certificate.", +"type": "string" +}, +"thumbprint": { +"description": "The certificate thumbprint.", +"type": "string" +}, +"validationState": { +"description": "Output only. Validation state of this certificate.", +"enum": [ +"CERTIFICATE_VALIDATION_STATE_UNSPECIFIED", +"VALIDATION_SUCCESSFUL", +"VALIDATION_FAILED" +], +"enumDescriptions": [ +"Default value.", +"Certificate validation was successful.", +"Certificate validation failed." +], +"readOnly": true, +"type": "string" +}, +"validityExpirationTime": { +"description": "Certificate not valid at or after this timestamp.", +"format": "google-datetime", +"type": "string" +}, +"validityStartTime": { +"description": "Certificate not valid before this timestamp.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"GoogleAppsCloudidentityDevicesV1CertificateTemplate": { +"description": "CertificateTemplate (v3 Extension in X.509).", +"id": "GoogleAppsCloudidentityDevicesV1CertificateTemplate", +"properties": { +"id": { +"description": "The template id of the template. Example: \"1.3.6.1.4.1.311.21.8.15608621.11768144.5720724.16068415.6889630.81.2472537.7784047\".", +"type": "string" +}, +"majorVersion": { +"description": "The Major version of the template. Example: 100.", +"format": "int32", +"type": "integer" +}, +"minorVersion": { +"description": "The minor version of the template. Example: 12.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"GoogleAppsCloudidentityDevicesV1ClientState": { +"description": "Represents the state associated with an API client calling the Devices API. Resource representing ClientState and supports updates from API users", +"id": "GoogleAppsCloudidentityDevicesV1ClientState", +"properties": { +"assetTags": { +"description": "The caller can specify asset tags for this resource", +"items": { +"type": "string" +}, +"type": "array" +}, +"complianceState": { +"description": "The compliance state of the resource as specified by the API client.", +"enum": [ +"COMPLIANCE_STATE_UNSPECIFIED", +"COMPLIANT", +"NON_COMPLIANT" +], +"enumDescriptions": [ +"The compliance state of the resource is unknown or unspecified.", +"Device is compliant with third party policies", +"Device is not compliant with third party policies" +], +"type": "string" +}, +"createTime": { +"description": "Output only. The time the client state data was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"customId": { +"description": "This field may be used to store a unique identifier for the API resource within which these CustomAttributes are a field.", +"type": "string" +}, +"etag": { +"description": "The token that needs to be passed back for concurrency control in updates. Token needs to be passed back in UpdateRequest", +"type": "string" +}, +"healthScore": { +"description": "The Health score of the resource. The Health score is the callers specification of the condition of the device from a usability point of view. For example, a third-party device management provider may specify a health score based on its compliance with organizational policies.", +"enum": [ +"HEALTH_SCORE_UNSPECIFIED", +"VERY_POOR", +"POOR", +"NEUTRAL", +"GOOD", +"VERY_GOOD" +], +"enumDescriptions": [ +"Default value", +"The object is in very poor health as defined by the caller.", +"The object is in poor health as defined by the caller.", +"The object health is neither good nor poor, as defined by the caller.", +"The object is in good health as defined by the caller.", +"The object is in very good health as defined by the caller." +], +"type": "string" +}, +"keyValuePairs": { +"additionalProperties": { +"$ref": "GoogleAppsCloudidentityDevicesV1CustomAttributeValue" +}, +"description": "The map of key-value attributes stored by callers specific to a device. The total serialized length of this map may not exceed 10KB. No limit is placed on the number of attributes in a map.", +"type": "object" +}, +"lastUpdateTime": { +"description": "Output only. The time the client state data was last updated.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"managed": { +"description": "The management state of the resource as specified by the API client.", +"enum": [ +"MANAGED_STATE_UNSPECIFIED", +"MANAGED", +"UNMANAGED" +], +"enumDescriptions": [ +"The management state of the resource is unknown or unspecified.", +"The resource is managed.", +"The resource is not managed." +], +"type": "string" +}, +"name": { +"description": "Output only. [Resource name](https://cloud.google.com/apis/design/resource_names) of the ClientState in format: `devices/{device}/deviceUsers/{device_user}/clientState/{partner}`, where partner corresponds to the partner storing the data. For partners belonging to the \"BeyondCorp Alliance\", this is the partner ID specified to you by Google. For all other callers, this is a string of the form: `{customer}-suffix`, where `customer` is your customer ID. The *suffix* is any string the caller specifies. This string will be displayed verbatim in the administration console. This suffix is used in setting up Custom Access Levels in Context-Aware Access. Your organization's customer ID can be obtained from the URL: `GET https://www.googleapis.com/admin/directory/v1/customers/my_customer` The `id` field in the response contains the customer ID starting with the letter 'C'. The customer ID to be used in this API is the string after the letter 'C' (not including 'C')", +"readOnly": true, +"type": "string" +}, +"ownerType": { +"description": "Output only. The owner of the ClientState", +"enum": [ +"OWNER_TYPE_UNSPECIFIED", +"OWNER_TYPE_CUSTOMER", +"OWNER_TYPE_PARTNER" +], +"enumDescriptions": [ +"Unknown owner type", +"Customer is the owner", +"Partner is the owner" +], +"readOnly": true, +"type": "string" +}, +"scoreReason": { +"description": "A descriptive cause of the health score.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleAppsCloudidentityDevicesV1CreateDeviceMetadata": { +"description": "Metadata for CreateDevice LRO.", +"id": "GoogleAppsCloudidentityDevicesV1CreateDeviceMetadata", +"properties": {}, +"type": "object" +}, +"GoogleAppsCloudidentityDevicesV1CustomAttributeValue": { +"description": "Additional custom attribute values may be one of these types", +"id": "GoogleAppsCloudidentityDevicesV1CustomAttributeValue", +"properties": { +"boolValue": { +"description": "Represents a boolean value.", +"type": "boolean" +}, +"numberValue": { +"description": "Represents a double value.", +"format": "double", +"type": "number" +}, +"stringValue": { +"description": "Represents a string value.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleAppsCloudidentityDevicesV1DeleteDeviceMetadata": { +"description": "Metadata for DeleteDevice LRO.", +"id": "GoogleAppsCloudidentityDevicesV1DeleteDeviceMetadata", +"properties": {}, +"type": "object" +}, +"GoogleAppsCloudidentityDevicesV1DeleteDeviceUserMetadata": { +"description": "Metadata for DeleteDeviceUser LRO.", +"id": "GoogleAppsCloudidentityDevicesV1DeleteDeviceUserMetadata", +"properties": {}, +"type": "object" +}, +"GoogleAppsCloudidentityDevicesV1Device": { +"description": " A Device within the Cloud Identity Devices API. Represents a Device known to Google Cloud, independent of the device ownership, type, and whether it is assigned or in use by a user.", +"id": "GoogleAppsCloudidentityDevicesV1Device", +"properties": { +"androidSpecificAttributes": { +"$ref": "GoogleAppsCloudidentityDevicesV1AndroidAttributes", +"description": "Output only. Attributes specific to Android devices.", +"readOnly": true +}, +"assetTag": { +"description": "Asset tag of the device.", +"type": "string" +}, +"basebandVersion": { +"description": "Output only. Baseband version of the device.", +"readOnly": true, +"type": "string" +}, +"bootloaderVersion": { +"description": "Output only. Device bootloader version. Example: 0.6.7.", +"readOnly": true, +"type": "string" +}, +"brand": { +"description": "Output only. Device brand. Example: Samsung.", +"readOnly": true, +"type": "string" +}, +"buildNumber": { +"description": "Output only. Build number of the device.", +"readOnly": true, +"type": "string" +}, +"compromisedState": { +"description": "Output only. Represents whether the Device is compromised.", +"enum": [ +"COMPROMISED_STATE_UNSPECIFIED", +"COMPROMISED", +"UNCOMPROMISED" +], +"enumDescriptions": [ +"Default value.", +"The device is compromised (currently, this means Android device is rooted).", +"The device is safe (currently, this means Android device is unrooted)." +], +"readOnly": true, +"type": "string" +}, +"createTime": { +"description": "Output only. When the Company-Owned device was imported. This field is empty for BYOD devices.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"deviceId": { +"description": "Unique identifier for the device.", +"type": "string" +}, +"deviceType": { +"description": "Output only. Type of device.", +"enum": [ +"DEVICE_TYPE_UNSPECIFIED", +"ANDROID", +"IOS", +"GOOGLE_SYNC", +"WINDOWS", +"MAC_OS", +"LINUX", +"CHROME_OS" +], +"enumDescriptions": [ +"Unknown device type", +"Device is an Android device", +"Device is an iOS device", +"Device is a Google Sync device.", +"Device is a Windows device.", +"Device is a MacOS device.", +"Device is a Linux device.", +"Device is a ChromeOS device." +], +"readOnly": true, +"type": "string" +}, +"enabledDeveloperOptions": { +"description": "Output only. Whether developer options is enabled on device.", +"readOnly": true, +"type": "boolean" +}, +"enabledUsbDebugging": { +"description": "Output only. Whether USB debugging is enabled on device.", +"readOnly": true, +"type": "boolean" +}, +"encryptionState": { +"description": "Output only. Device encryption state.", +"enum": [ +"ENCRYPTION_STATE_UNSPECIFIED", +"UNSUPPORTED_BY_DEVICE", +"ENCRYPTED", +"NOT_ENCRYPTED" +], +"enumDescriptions": [ +"Encryption Status is not set.", +"Device doesn't support encryption.", +"Device is encrypted.", +"Device is not encrypted." +], +"readOnly": true, +"type": "string" +}, +"endpointVerificationSpecificAttributes": { +"$ref": "GoogleAppsCloudidentityDevicesV1EndpointVerificationSpecificAttributes", +"description": "Output only. Attributes specific to [Endpoint Verification](https://cloud.google.com/endpoint-verification/docs/overview) devices.", +"readOnly": true +}, +"hostname": { +"description": "Host name of the device.", +"type": "string" +}, +"imei": { +"description": "Output only. IMEI number of device if GSM device; empty otherwise.", +"readOnly": true, +"type": "string" +}, +"kernelVersion": { +"description": "Output only. Kernel version of the device.", +"readOnly": true, +"type": "string" +}, +"lastSyncTime": { +"description": "Most recent time when device synced with this service.", +"format": "google-datetime", +"type": "string" +}, +"managementState": { +"description": "Output only. Management state of the device", +"enum": [ +"MANAGEMENT_STATE_UNSPECIFIED", +"APPROVED", +"BLOCKED", +"PENDING", +"UNPROVISIONED", +"WIPING", +"WIPED" +], +"enumDescriptions": [ +"Default value. This value is unused.", +"Device is approved.", +"Device is blocked.", +"Device is pending approval.", +"The device is not provisioned. Device will start from this state until some action is taken (i.e. a user starts using the device).", +"Data and settings on the device are being removed.", +"All data and settings on the device are removed." +], +"readOnly": true, +"type": "string" +}, +"manufacturer": { +"description": "Output only. Device manufacturer. Example: Motorola.", +"readOnly": true, +"type": "string" +}, +"meid": { +"description": "Output only. MEID number of device if CDMA device; empty otherwise.", +"readOnly": true, +"type": "string" +}, +"model": { +"description": "Output only. Model name of device. Example: Pixel 3.", +"readOnly": true, +"type": "string" +}, +"name": { +"description": "Output only. [Resource name](https://cloud.google.com/apis/design/resource_names) of the Device in format: `devices/{device}`, where device is the unique id assigned to the Device. Important: Device API scopes require that you use domain-wide delegation to access the API. For more information, see [Set up the Devices API](https://cloud.google.com/identity/docs/how-to/setup-devices).", +"readOnly": true, +"type": "string" +}, +"networkOperator": { +"description": "Output only. Mobile or network operator of device, if available.", +"readOnly": true, +"type": "string" +}, +"osVersion": { +"description": "Output only. OS version of the device. Example: Android 8.1.0.", +"readOnly": true, +"type": "string" +}, +"otherAccounts": { +"description": "Output only. Domain name for Google accounts on device. Type for other accounts on device. On Android, will only be populated if |ownership_privilege| is |PROFILE_OWNER| or |DEVICE_OWNER|. Does not include the account signed in to the device policy app if that account's domain has only one account. Examples: \"com.example\", \"xyz.com\".", +"items": { +"type": "string" +}, +"readOnly": true, +"type": "array" +}, +"ownerType": { +"description": "Output only. Whether the device is owned by the company or an individual", +"enum": [ +"DEVICE_OWNERSHIP_UNSPECIFIED", +"COMPANY", +"BYOD" +], +"enumDescriptions": [ +"Default value. The value is unused.", +"Company owns the device.", +"Bring Your Own Device (i.e. individual owns the device)" +], +"readOnly": true, +"type": "string" +}, +"releaseVersion": { +"description": "Output only. OS release version. Example: 6.0.", +"readOnly": true, +"type": "string" +}, +"securityPatchTime": { +"description": "Output only. OS security patch update time on device.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"serialNumber": { +"description": "Serial Number of device. Example: HT82V1A01076.", +"type": "string" +}, +"unifiedDeviceId": { +"description": "Output only. Unified device id of the device.", +"readOnly": true, +"type": "string" +}, +"wifiMacAddresses": { +"description": "WiFi MAC addresses of device.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleAppsCloudidentityDevicesV1DeviceUser": { +"description": "Represents a user's use of a Device in the Cloud Identity Devices API. A DeviceUser is a resource representing a user's use of a Device", +"id": "GoogleAppsCloudidentityDevicesV1DeviceUser", +"properties": { +"compromisedState": { +"description": "Compromised State of the DeviceUser object", +"enum": [ +"COMPROMISED_STATE_UNSPECIFIED", +"COMPROMISED", +"NOT_COMPROMISED" +], +"enumDescriptions": [ +"Compromised state of Device User account is unknown or unspecified.", +"Device User Account is compromised.", +"Device User Account is not compromised." +], +"type": "string" +}, +"createTime": { +"description": "When the user first signed in to the device", +"format": "google-datetime", +"type": "string" +}, +"firstSyncTime": { +"description": "Output only. Most recent time when user registered with this service.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"languageCode": { +"description": "Output only. Default locale used on device, in IETF BCP-47 format.", +"readOnly": true, +"type": "string" +}, +"lastSyncTime": { +"description": "Output only. Last time when user synced with policies.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"managementState": { +"description": "Output only. Management state of the user on the device.", +"enum": [ +"MANAGEMENT_STATE_UNSPECIFIED", +"WIPING", +"WIPED", +"APPROVED", +"BLOCKED", +"PENDING_APPROVAL", +"UNENROLLED" +], +"enumDescriptions": [ +"Default value. This value is unused.", +"This user's data and profile is being removed from the device.", +"This user's data and profile is removed from the device.", +"User is approved to access data on the device.", +"User is blocked from accessing data on the device.", +"User is awaiting approval.", +"User is unenrolled from Advanced Windows Management, but the Windows account is still intact." +], +"readOnly": true, +"type": "string" +}, +"name": { +"description": "Output only. [Resource name](https://cloud.google.com/apis/design/resource_names) of the DeviceUser in format: `devices/{device}/deviceUsers/{device_user}`, where `device_user` uniquely identifies a user's use of a device.", +"readOnly": true, +"type": "string" +}, +"passwordState": { +"description": "Password state of the DeviceUser object", +"enum": [ +"PASSWORD_STATE_UNSPECIFIED", +"PASSWORD_SET", +"PASSWORD_NOT_SET" +], +"enumDescriptions": [ +"Password state not set.", +"Password set in object.", +"Password not set in object." +], +"type": "string" +}, +"userAgent": { +"description": "Output only. User agent on the device for this specific user", +"readOnly": true, +"type": "string" +}, +"userEmail": { +"description": "Email address of the user registered on the device.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleAppsCloudidentityDevicesV1EndpointVerificationSpecificAttributes": { +"description": "Resource representing the [Endpoint Verification-specific attributes](https://cloud.google.com/endpoint-verification/docs/device-information) of a device.", +"id": "GoogleAppsCloudidentityDevicesV1EndpointVerificationSpecificAttributes", +"properties": { +"additionalSignals": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"description": "[Additional signals](https://cloud.google.com/endpoint-verification/docs/device-information) reported by Endpoint Verification. It includes the following attributes: * Non-configurable attributes: hotfixes, av_installed, av_enabled, windows_domain_name, is_os_native_firewall_enabled, and is_secure_boot_enabled. * [Configurable attributes](https://cloud.google.com/endpoint-verification/docs/collect-config-attributes): file, folder, and binary attributes; registry entries; and properties in a plist.", +"type": "object" +}, +"browserAttributes": { +"description": "Details of browser profiles reported by Endpoint Verification.", +"items": { +"$ref": "GoogleAppsCloudidentityDevicesV1BrowserAttributes" +}, +"type": "array" +}, +"certificateAttributes": { +"description": "Details of certificates.", +"items": { +"$ref": "GoogleAppsCloudidentityDevicesV1CertificateAttributes" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleAppsCloudidentityDevicesV1ListClientStatesResponse": { +"description": "Response message that is returned in ListClientStates.", +"id": "GoogleAppsCloudidentityDevicesV1ListClientStatesResponse", +"properties": { +"clientStates": { +"description": "Client states meeting the list restrictions.", +"items": { +"$ref": "GoogleAppsCloudidentityDevicesV1ClientState" +}, +"type": "array" +}, +"nextPageToken": { +"description": "Token to retrieve the next page of results. Empty if there are no more results.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleAppsCloudidentityDevicesV1ListDeviceUsersResponse": { +"description": "Response message that is returned from the ListDeviceUsers method.", +"id": "GoogleAppsCloudidentityDevicesV1ListDeviceUsersResponse", +"properties": { +"deviceUsers": { +"description": "Devices meeting the list restrictions.", +"items": { +"$ref": "GoogleAppsCloudidentityDevicesV1DeviceUser" +}, +"type": "array" +}, +"nextPageToken": { +"description": "Token to retrieve the next page of results. Empty if there are no more results.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleAppsCloudidentityDevicesV1ListDevicesResponse": { +"description": "Response message that is returned from the ListDevices method.", +"id": "GoogleAppsCloudidentityDevicesV1ListDevicesResponse", +"properties": { +"devices": { +"description": "Devices meeting the list restrictions.", +"items": { +"$ref": "GoogleAppsCloudidentityDevicesV1Device" +}, +"type": "array" +}, +"nextPageToken": { +"description": "Token to retrieve the next page of results. Empty if there are no more results.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleAppsCloudidentityDevicesV1ListEndpointAppsMetadata": { +"description": "Metadata for ListEndpointApps LRO.", +"id": "GoogleAppsCloudidentityDevicesV1ListEndpointAppsMetadata", +"properties": {}, +"type": "object" +}, +"GoogleAppsCloudidentityDevicesV1LookupSelfDeviceUsersResponse": { +"description": "Response containing resource names of the DeviceUsers associated with the caller's credentials.", +"id": "GoogleAppsCloudidentityDevicesV1LookupSelfDeviceUsersResponse", +"properties": { +"customer": { +"description": "The customer resource name that may be passed back to other Devices API methods such as List, Get, etc.", +"type": "string" +}, +"names": { +"description": "[Resource names](https://cloud.google.com/apis/design/resource_names) of the DeviceUsers in the format: `devices/{device}/deviceUsers/{user_resource}`, where device is the unique ID assigned to a Device and user_resource is the unique user ID", +"items": { +"type": "string" +}, +"type": "array" +}, +"nextPageToken": { +"description": "Token to retrieve the next page of results. Empty if there are no more results.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleAppsCloudidentityDevicesV1SignoutDeviceUserMetadata": { +"description": "Metadata for SignoutDeviceUser LRO.", +"id": "GoogleAppsCloudidentityDevicesV1SignoutDeviceUserMetadata", +"properties": {}, +"type": "object" +}, +"GoogleAppsCloudidentityDevicesV1UpdateClientStateMetadata": { +"description": "Metadata for UpdateClientState LRO.", +"id": "GoogleAppsCloudidentityDevicesV1UpdateClientStateMetadata", +"properties": {}, +"type": "object" +}, +"GoogleAppsCloudidentityDevicesV1UpdateDeviceMetadata": { +"description": "Metadata for UpdateDevice LRO.", +"id": "GoogleAppsCloudidentityDevicesV1UpdateDeviceMetadata", +"properties": {}, +"type": "object" +}, +"GoogleAppsCloudidentityDevicesV1WipeDeviceMetadata": { +"description": "Metadata for WipeDevice LRO.", +"id": "GoogleAppsCloudidentityDevicesV1WipeDeviceMetadata", +"properties": {}, +"type": "object" +}, +"GoogleAppsCloudidentityDevicesV1WipeDeviceRequest": { +"description": "Request message for wiping all data on the device.", +"id": "GoogleAppsCloudidentityDevicesV1WipeDeviceRequest", +"properties": { +"customer": { +"description": "Optional. [Resource name](https://cloud.google.com/apis/design/resource_names) of the customer. If you're using this API for your own organization, use `customers/my_customer` If you're using this API to manage another organization, use `customers/{customer}`, where customer is the customer to whom the device belongs.", +"type": "string" +}, +"removeResetLock": { +"description": "Optional. Specifies if a user is able to factory reset a device after a Device Wipe. On iOS, this is called \"Activation Lock\", while on Android, this is known as \"Factory Reset Protection\". If true, this protection will be removed from the device, so that a user can successfully factory reset. If false, the setting is untouched on the device.", +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleAppsCloudidentityDevicesV1WipeDeviceResponse": { +"description": "Response message for wiping all data on the device.", +"id": "GoogleAppsCloudidentityDevicesV1WipeDeviceResponse", +"properties": { +"device": { +"$ref": "GoogleAppsCloudidentityDevicesV1Device", +"description": "Resultant Device object for the action. Note that asset tags will not be returned in the device object." +} +}, +"type": "object" +}, +"GoogleAppsCloudidentityDevicesV1WipeDeviceUserMetadata": { +"description": "Metadata for WipeDeviceUser LRO.", +"id": "GoogleAppsCloudidentityDevicesV1WipeDeviceUserMetadata", +"properties": {}, +"type": "object" +}, +"GoogleAppsCloudidentityDevicesV1WipeDeviceUserRequest": { +"description": "Request message for starting an account wipe on device.", +"id": "GoogleAppsCloudidentityDevicesV1WipeDeviceUserRequest", +"properties": { +"customer": { +"description": "Optional. [Resource name](https://cloud.google.com/apis/design/resource_names) of the customer. If you're using this API for your own organization, use `customers/my_customer` If you're using this API to manage another organization, use `customers/{customer}`, where customer is the customer to whom the device belongs.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleAppsCloudidentityDevicesV1WipeDeviceUserResponse": { +"description": "Response message for wiping the user's account from the device.", +"id": "GoogleAppsCloudidentityDevicesV1WipeDeviceUserResponse", +"properties": { +"deviceUser": { +"$ref": "GoogleAppsCloudidentityDevicesV1DeviceUser", +"description": "Resultant DeviceUser object for the action." +} +}, +"type": "object" +}, +"Group": { +"description": "A group within the Cloud Identity Groups API. A `Group` is a collection of entities, where each entity is either a user, another group, or a service account.", +"id": "Group", +"properties": { +"additionalGroupKeys": { +"description": "Output only. Additional group keys associated with the Group.", +"items": { +"$ref": "EntityKey" +}, +"readOnly": true, +"type": "array" +}, +"createTime": { +"description": "Output only. The time when the `Group` was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"description": { +"description": "An extended description to help users determine the purpose of a `Group`. Must not be longer than 4,096 characters.", +"type": "string" +}, +"displayName": { +"description": "The display name of the `Group`.", +"type": "string" +}, +"dynamicGroupMetadata": { +"$ref": "DynamicGroupMetadata", +"description": "Optional. Dynamic group metadata like queries and status." +}, +"groupKey": { +"$ref": "EntityKey", +"description": "Required. The `EntityKey` of the `Group`." +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Required. One or more label entries that apply to the Group. Labels contain a key with an empty value. Google Groups are the default type of group and have a label with a key of `cloudidentity.googleapis.com/groups.discussion_forum` and an empty value. Existing Google Groups can have an additional label with a key of `cloudidentity.googleapis.com/groups.security` and an empty value added to them. **This is an immutable change and the security label cannot be removed once added.** Dynamic groups have a label with a key of `cloudidentity.googleapis.com/groups.dynamic`. Identity-mapped groups for Cloud Search have a label with a key of `system/groups/external` and an empty value. Google Groups can be [locked](https://support.google.com/a?p=locked-groups). To lock a group, add a label with a key of `cloudidentity.googleapis.com/groups.locked` and an empty value. Doing so locks the group. To unlock the group, remove this label.", +"type": "object" +}, +"name": { +"description": "Output only. The [resource name](https://cloud.google.com/apis/design/resource_names) of the `Group`. Shall be of the form `groups/{group}`.", +"readOnly": true, +"type": "string" +}, +"parent": { +"description": "Required. Immutable. The resource name of the entity under which this `Group` resides in the Cloud Identity resource hierarchy. Must be of the form `identitysources/{identity_source}` for external [identity-mapped groups](https://support.google.com/a/answer/9039510) or `customers/{customer_id}` for Google Groups. The `customer_id` must begin with \"C\" (for example, 'C046psxkn'). [Find your customer ID.] (https://support.google.com/cloudidentity/answer/10070793)", +"type": "string" +}, +"updateTime": { +"description": "Output only. The time when the `Group` was last updated.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GroupRelation": { +"description": "Message representing a transitive group of a user or a group.", +"id": "GroupRelation", +"properties": { +"displayName": { +"description": "Display name for this group.", +"type": "string" +}, +"group": { +"description": "Resource name for this group.", +"type": "string" +}, +"groupKey": { +"$ref": "EntityKey", +"description": "Entity key has an id and a namespace. In case of discussion forums, the id will be an email address without a namespace." +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Labels for Group resource.", +"type": "object" +}, +"relationType": { +"description": "The relation between the member and the transitive group.", +"enum": [ +"RELATION_TYPE_UNSPECIFIED", +"DIRECT", +"INDIRECT", +"DIRECT_AND_INDIRECT" +], +"enumDescriptions": [ +"The relation type is undefined or undetermined.", +"The two entities have only a direct membership with each other.", +"The two entities have only an indirect membership with each other.", +"The two entities have both a direct and an indirect membership with each other." +], +"type": "string" +}, +"roles": { +"description": "Membership roles of the member for the group.", +"items": { +"$ref": "TransitiveMembershipRole" +}, +"type": "array" +} +}, +"type": "object" +}, +"IdpCredential": { +"description": "Credential for verifying signatures produced by the Identity Provider.", +"id": "IdpCredential", +"properties": { +"dsaKeyInfo": { +"$ref": "DsaPublicKeyInfo", +"description": "Output only. Information of a DSA public key.", +"readOnly": true +}, +"name": { +"description": "Output only. [Resource name](https://cloud.google.com/apis/design/resource_names) of the credential.", +"readOnly": true, +"type": "string" +}, +"rsaKeyInfo": { +"$ref": "RsaPublicKeyInfo", +"description": "Output only. Information of a RSA public key.", +"readOnly": true +}, +"updateTime": { +"description": "Output only. Time when the `IdpCredential` was last updated.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"InboundOidcSsoProfile": { +"description": "An [OIDC](https://openid.net/developers/how-connect-works/) federation between a Google enterprise customer and an OIDC identity provider.", +"id": "InboundOidcSsoProfile", +"properties": { +"customer": { +"description": "Immutable. The customer. For example: `customers/C0123abc`.", +"type": "string" +}, +"displayName": { +"description": "Human-readable name of the OIDC SSO profile.", +"type": "string" +}, +"idpConfig": { +"$ref": "OidcIdpConfig", +"description": "OIDC identity provider configuration." +}, +"name": { +"description": "Output only. [Resource name](https://cloud.google.com/apis/design/resource_names) of the OIDC SSO profile.", +"readOnly": true, +"type": "string" +}, +"rpConfig": { +"$ref": "OidcRpConfig", +"description": "OIDC relying party (RP) configuration for this OIDC SSO profile. These are the RP details provided by Google that should be configured on the corresponding identity provider." +} +}, +"type": "object" +}, +"InboundSamlSsoProfile": { +"description": "A [SAML 2.0](https://www.oasis-open.org/standards#samlv2.0) federation between a Google enterprise customer and a SAML identity provider.", +"id": "InboundSamlSsoProfile", +"properties": { +"customer": { +"description": "Immutable. The customer. For example: `customers/C0123abc`.", +"type": "string" +}, +"displayName": { +"description": "Human-readable name of the SAML SSO profile.", +"type": "string" +}, +"idpConfig": { +"$ref": "SamlIdpConfig", +"description": "SAML identity provider configuration." +}, +"name": { +"description": "Output only. [Resource name](https://cloud.google.com/apis/design/resource_names) of the SAML SSO profile.", +"readOnly": true, +"type": "string" +}, +"spConfig": { +"$ref": "SamlSpConfig", +"description": "SAML service provider configuration for this SAML SSO profile. These are the service provider details provided by Google that should be configured on the corresponding identity provider." +} +}, +"type": "object" +}, +"InboundSsoAssignment": { +"description": "Targets with \"set\" SSO assignments and their respective assignments.", +"id": "InboundSsoAssignment", +"properties": { +"customer": { +"description": "Immutable. The customer. For example: `customers/C0123abc`.", +"type": "string" +}, +"name": { +"description": "Output only. [Resource name](https://cloud.google.com/apis/design/resource_names) of the Inbound SSO Assignment.", +"readOnly": true, +"type": "string" +}, +"oidcSsoInfo": { +"$ref": "OidcSsoInfo", +"description": "OpenID Connect SSO details. Must be set if and only if `sso_mode` is set to `OIDC_SSO`." +}, +"rank": { +"description": "Must be zero (which is the default value so it can be omitted) for assignments with `target_org_unit` set and must be greater-than-or-equal-to one for assignments with `target_group` set.", +"format": "int32", +"type": "integer" +}, +"samlSsoInfo": { +"$ref": "SamlSsoInfo", +"description": "SAML SSO details. Must be set if and only if `sso_mode` is set to `SAML_SSO`." +}, +"signInBehavior": { +"$ref": "SignInBehavior", +"description": "Assertions about users assigned to an IdP will always be accepted from that IdP. This controls whether/when Google should redirect a user to the IdP. Unset (defaults) is the recommended configuration." +}, +"ssoMode": { +"description": "Inbound SSO behavior.", +"enum": [ +"SSO_MODE_UNSPECIFIED", +"SSO_OFF", +"SAML_SSO", +"OIDC_SSO", +"DOMAIN_WIDE_SAML_IF_ENABLED" +], +"enumDescriptions": [ +"Not allowed.", +"Disable SSO for the targeted users.", +"Use an external SAML Identity Provider for SSO for the targeted users.", +"Use an external OIDC Identity Provider for SSO for the targeted users.", +"Use the domain-wide SAML Identity Provider for the targeted users if one is configured; otherwise, this is equivalent to `SSO_OFF`. Note that this will also be equivalent to `SSO_OFF` if/when support for domain-wide SAML is removed. Google may disallow this mode at that point and existing assignments with this mode may be automatically changed to `SSO_OFF`." +], +"type": "string" +}, +"targetGroup": { +"description": "Immutable. Must be of the form `groups/{group}`.", +"type": "string" +}, +"targetOrgUnit": { +"description": "Immutable. Must be of the form `orgUnits/{org_unit}`.", +"type": "string" +} +}, +"type": "object" +}, +"IsInvitableUserResponse": { +"description": "Response for IsInvitableUser RPC.", +"id": "IsInvitableUserResponse", +"properties": { +"isInvitableUser": { +"description": "Returns true if the email address is invitable.", +"type": "boolean" +} +}, +"type": "object" +}, +"ListGroupsResponse": { +"description": "Response message for ListGroups operation.", +"id": "ListGroupsResponse", +"properties": { +"groups": { +"description": "Groups returned in response to list request. The results are not sorted.", +"items": { +"$ref": "Group" +}, +"type": "array" +}, +"nextPageToken": { +"description": "Token to retrieve the next page of results, or empty if there are no more results available for listing.", +"type": "string" +} +}, +"type": "object" +}, +"ListIdpCredentialsResponse": { +"description": "Response of the InboundSamlSsoProfilesService.ListIdpCredentials method.", +"id": "ListIdpCredentialsResponse", +"properties": { +"idpCredentials": { +"description": "The IdpCredentials from the specified InboundSamlSsoProfile.", +"items": { +"$ref": "IdpCredential" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.", +"type": "string" +} +}, +"type": "object" +}, +"ListInboundOidcSsoProfilesResponse": { +"description": "Response of the InboundOidcSsoProfilesService.ListInboundOidcSsoProfiles method.", +"id": "ListInboundOidcSsoProfilesResponse", +"properties": { +"inboundOidcSsoProfiles": { +"description": "List of InboundOidcSsoProfiles.", +"items": { +"$ref": "InboundOidcSsoProfile" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.", +"type": "string" +} +}, +"type": "object" +}, +"ListInboundSamlSsoProfilesResponse": { +"description": "Response of the InboundSamlSsoProfilesService.ListInboundSamlSsoProfiles method.", +"id": "ListInboundSamlSsoProfilesResponse", +"properties": { +"inboundSamlSsoProfiles": { +"description": "List of InboundSamlSsoProfiles.", +"items": { +"$ref": "InboundSamlSsoProfile" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.", +"type": "string" +} +}, +"type": "object" +}, +"ListInboundSsoAssignmentsResponse": { +"description": "Response of the InboundSsoAssignmentsService.ListInboundSsoAssignments method.", +"id": "ListInboundSsoAssignmentsResponse", +"properties": { +"inboundSsoAssignments": { +"description": "The assignments.", +"items": { +"$ref": "InboundSsoAssignment" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.", +"type": "string" +} +}, +"type": "object" +}, +"ListMembershipsResponse": { +"description": "The response message for MembershipsService.ListMemberships.", +"id": "ListMembershipsResponse", +"properties": { +"memberships": { +"description": "The `Membership`s under the specified `parent`.", +"items": { +"$ref": "Membership" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A continuation token to retrieve the next page of results, or empty if there are no more results available.", +"type": "string" +} +}, +"type": "object" +}, +"ListPoliciesResponse": { +"description": "The response message for PoliciesService.ListPolicies.", +"id": "ListPoliciesResponse", +"properties": { +"nextPageToken": { +"description": "The pagination token to retrieve the next page of results. If this field is empty, there are no subsequent pages.", +"type": "string" +}, +"policies": { +"description": "The results", +"items": { +"$ref": "Policy" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListUserInvitationsResponse": { +"description": "Response message for UserInvitation listing request.", +"id": "ListUserInvitationsResponse", +"properties": { +"nextPageToken": { +"description": "The token for the next page. If not empty, indicates that there may be more `UserInvitation` resources that match the listing request; this value can be used in a subsequent ListUserInvitationsRequest to get continued results with the current list call.", +"type": "string" +}, +"userInvitations": { +"description": "The list of UserInvitation resources.", +"items": { +"$ref": "UserInvitation" +}, +"type": "array" +} +}, +"type": "object" +}, +"LookupGroupNameResponse": { +"description": "The response message for GroupsService.LookupGroupName.", +"id": "LookupGroupNameResponse", +"properties": { +"name": { +"description": "The [resource name](https://cloud.google.com/apis/design/resource_names) of the looked-up `Group`.", +"type": "string" +} +}, +"type": "object" +}, +"LookupMembershipNameResponse": { +"description": "The response message for MembershipsService.LookupMembershipName.", +"id": "LookupMembershipNameResponse", +"properties": { +"name": { +"description": "The [resource name](https://cloud.google.com/apis/design/resource_names) of the looked-up `Membership`. Must be of the form `groups/{group}/memberships/{membership}`.", +"type": "string" +} +}, +"type": "object" +}, +"MemberRelation": { +"description": "Message representing a transitive membership of a group.", +"id": "MemberRelation", +"properties": { +"member": { +"description": "Resource name for this member.", +"type": "string" +}, +"preferredMemberKey": { +"description": "Entity key has an id and a namespace. In case of discussion forums, the id will be an email address without a namespace.", +"items": { +"$ref": "EntityKey" +}, +"type": "array" +}, +"relationType": { +"description": "The relation between the group and the transitive member.", +"enum": [ +"RELATION_TYPE_UNSPECIFIED", +"DIRECT", +"INDIRECT", +"DIRECT_AND_INDIRECT" +], +"enumDescriptions": [ +"The relation type is undefined or undetermined.", +"The two entities have only a direct membership with each other.", +"The two entities have only an indirect membership with each other.", +"The two entities have both a direct and an indirect membership with each other." +], +"type": "string" +}, +"roles": { +"description": "The membership role details (i.e name of role and expiry time).", +"items": { +"$ref": "TransitiveMembershipRole" +}, +"type": "array" +} +}, +"type": "object" +}, +"MemberRestriction": { +"description": "The definition of MemberRestriction", +"id": "MemberRestriction", +"properties": { +"evaluation": { +"$ref": "RestrictionEvaluation", +"description": "The evaluated state of this restriction on a group." +}, +"query": { +"description": "Member Restriction as defined by CEL expression. Supported restrictions are: `member.customer_id` and `member.type`. Valid values for `member.type` are `1`, `2` and `3`. They correspond to USER, SERVICE_ACCOUNT, and GROUP respectively. The value for `member.customer_id` only supports `groupCustomerId()` currently which means the customer id of the group will be used for restriction. Supported operators are `&&`, `||` and `==`, corresponding to AND, OR, and EQUAL. Examples: Allow only service accounts of given customer to be members. `member.type == 2 && member.customer_id == groupCustomerId()` Allow only users or groups to be members. `member.type == 1 || member.type == 3`", +"type": "string" +} +}, +"type": "object" +}, +"Membership": { +"description": "A membership within the Cloud Identity Groups API. A `Membership` defines a relationship between a `Group` and an entity belonging to that `Group`, referred to as a \"member\".", +"id": "Membership", +"properties": { +"createTime": { +"description": "Output only. The time when the `Membership` was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"deliverySetting": { +"description": "Output only. Delivery setting associated with the membership.", +"enum": [ +"DELIVERY_SETTING_UNSPECIFIED", +"ALL_MAIL", +"DIGEST", +"DAILY", +"NONE", +"DISABLED" +], +"enumDescriptions": [ +"Default. Should not be used.", +"Represents each mail should be delivered", +"Represents 1 email for every 25 messages.", +"Represents daily summary of messages.", +"Represents no delivery.", +"Represents disabled state." +], +"readOnly": true, +"type": "string" +}, +"name": { +"description": "Output only. The [resource name](https://cloud.google.com/apis/design/resource_names) of the `Membership`. Shall be of the form `groups/{group}/memberships/{membership}`.", +"readOnly": true, +"type": "string" +}, +"preferredMemberKey": { +"$ref": "EntityKey", +"description": "Required. Immutable. The `EntityKey` of the member." +}, +"roles": { +"description": "The `MembershipRole`s that apply to the `Membership`. If unspecified, defaults to a single `MembershipRole` with `name` `MEMBER`. Must not contain duplicate `MembershipRole`s with the same `name`.", +"items": { +"$ref": "MembershipRole" +}, +"type": "array" +}, +"type": { +"description": "Output only. The type of the membership.", +"enum": [ +"TYPE_UNSPECIFIED", +"USER", +"SERVICE_ACCOUNT", +"GROUP", +"SHARED_DRIVE", +"CBCM_BROWSER", +"OTHER" +], +"enumDescriptions": [ +"Default. Should not be used.", +"Represents user type.", +"Represents service account type.", +"Represents group type.", +"Represents Shared drive.", +"Represents a CBCM-managed Chrome Browser type.", +"Represents other type." +], +"readOnly": true, +"type": "string" +}, +"updateTime": { +"description": "Output only. The time when the `Membership` was last updated.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"MembershipAdjacencyList": { +"description": "Membership graph's path information as an adjacency list.", +"id": "MembershipAdjacencyList", +"properties": { +"edges": { +"description": "Each edge contains information about the member that belongs to this group. Note: Fields returned here will help identify the specific Membership resource (e.g `name`, `preferred_member_key` and `role`), but may not be a comprehensive list of all fields.", +"items": { +"$ref": "Membership" +}, +"type": "array" +}, +"group": { +"description": "Resource name of the group that the members belong to.", +"type": "string" +} +}, +"type": "object" +}, +"MembershipRelation": { +"description": "Message containing membership relation.", +"id": "MembershipRelation", +"properties": { +"description": { +"description": "An extended description to help users determine the purpose of a `Group`.", +"type": "string" +}, +"displayName": { +"description": "The display name of the `Group`.", +"type": "string" +}, +"group": { +"description": "The [resource name](https://cloud.google.com/apis/design/resource_names) of the `Group`. Shall be of the form `groups/{group_id}`.", +"type": "string" +}, +"groupKey": { +"$ref": "EntityKey", +"description": "The `EntityKey` of the `Group`." +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "One or more label entries that apply to the Group. Currently supported labels contain a key with an empty value.", +"type": "object" +}, +"membership": { +"description": "The [resource name](https://cloud.google.com/apis/design/resource_names) of the `Membership`. Shall be of the form `groups/{group_id}/memberships/{membership_id}`.", +"type": "string" +}, +"roles": { +"description": "The `MembershipRole`s that apply to the `Membership`.", +"items": { +"$ref": "MembershipRole" +}, +"type": "array" +} +}, +"type": "object" +}, +"MembershipRole": { +"description": "A membership role within the Cloud Identity Groups API. A `MembershipRole` defines the privileges granted to a `Membership`.", +"id": "MembershipRole", +"properties": { +"expiryDetail": { +"$ref": "ExpiryDetail", +"description": "The expiry details of the `MembershipRole`. Expiry details are only supported for `MEMBER` `MembershipRoles`. May be set if `name` is `MEMBER`. Must not be set if `name` is any other value." +}, +"name": { +"description": "The name of the `MembershipRole`. Must be one of `OWNER`, `MANAGER`, `MEMBER`.", +"type": "string" +}, +"restrictionEvaluations": { +"$ref": "RestrictionEvaluations", +"description": "Evaluations of restrictions applied to parent group on this membership." +} +}, +"type": "object" +}, +"MembershipRoleRestrictionEvaluation": { +"description": "The evaluated state of this restriction.", +"id": "MembershipRoleRestrictionEvaluation", +"properties": { +"state": { +"description": "Output only. The current state of the restriction", +"enum": [ +"STATE_UNSPECIFIED", +"COMPLIANT", +"FORWARD_COMPLIANT", +"NON_COMPLIANT", +"EVALUATING" +], +"enumDescriptions": [ +"Default. Should not be used.", +"The member adheres to the parent group's restriction.", +"The group-group membership might be currently violating some parent group's restriction but in future, it will never allow any new member in the child group which can violate parent group's restriction.", +"The member violates the parent group's restriction.", +"The state of the membership is under evaluation." +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"ModifyMembershipRolesRequest": { +"description": "The request message for MembershipsService.ModifyMembershipRoles.", +"id": "ModifyMembershipRolesRequest", +"properties": { +"addRoles": { +"description": "The `MembershipRole`s to be added. Adding or removing roles in the same request as updating roles is not supported. Must not be set if `update_roles_params` is set.", +"items": { +"$ref": "MembershipRole" +}, +"type": "array" +}, +"removeRoles": { +"description": "The `name`s of the `MembershipRole`s to be removed. Adding or removing roles in the same request as updating roles is not supported. It is not possible to remove the `MEMBER` `MembershipRole`. If you wish to delete a `Membership`, call MembershipsService.DeleteMembership instead. Must not contain `MEMBER`. Must not be set if `update_roles_params` is set.", +"items": { +"type": "string" +}, +"type": "array" +}, +"updateRolesParams": { +"description": "The `MembershipRole`s to be updated. Updating roles in the same request as adding or removing roles is not supported. Must not be set if either `add_roles` or `remove_roles` is set.", +"items": { +"$ref": "UpdateMembershipRolesParams" +}, +"type": "array" +} +}, +"type": "object" +}, +"ModifyMembershipRolesResponse": { +"description": "The response message for MembershipsService.ModifyMembershipRoles.", +"id": "ModifyMembershipRolesResponse", +"properties": { +"membership": { +"$ref": "Membership", +"description": "The `Membership` resource after modifying its `MembershipRole`s." +} +}, +"type": "object" +}, +"OidcIdpConfig": { +"description": "OIDC IDP (identity provider) configuration.", +"id": "OidcIdpConfig", +"properties": { +"changePasswordUri": { +"description": "The **Change Password URL** of the identity provider. Users will be sent to this URL when changing their passwords at `myaccount.google.com`. This takes precedence over the change password URL configured at customer-level. Must use `HTTPS`.", +"type": "string" +}, +"issuerUri": { +"description": "Required. The Issuer identifier for the IdP. Must be a URL. The discovery URL will be derived from this as described in Section 4 of [the OIDC specification](https://openid.net/specs/openid-connect-discovery-1_0.html).", +"type": "string" +} +}, +"type": "object" +}, +"OidcRpConfig": { +"description": "OIDC RP (relying party) configuration.", +"id": "OidcRpConfig", +"properties": { +"clientId": { +"description": "OAuth2 client ID for OIDC.", +"type": "string" +}, +"clientSecret": { +"description": "Input only. OAuth2 client secret for OIDC.", +"type": "string" +}, +"redirectUris": { +"description": "Output only. The URL(s) that this client may use in authentication requests.", +"items": { +"type": "string" +}, +"readOnly": true, +"type": "array" +} +}, +"type": "object" +}, +"OidcSsoInfo": { +"description": "Details that are applicable when `sso_mode` is set to `OIDC_SSO`.", +"id": "OidcSsoInfo", +"properties": { +"inboundOidcSsoProfile": { +"description": "Required. Name of the `InboundOidcSsoProfile` to use. Must be of the form `inboundOidcSsoProfiles/{inbound_oidc_sso_profile}`. ", +"type": "string" +} +}, +"type": "object" +}, +"Operation": { +"description": "This resource represents a long-running operation that is the result of a network API call.", +"id": "Operation", +"properties": { +"done": { +"description": "If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.", +"type": "boolean" +}, +"error": { +"$ref": "Status", +"description": "The error result of the operation in case of failure or cancellation." +}, +"metadata": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.", +"type": "object" +}, +"name": { +"description": "The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.", +"type": "string" +}, +"response": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "The normal, successful response of the operation. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.", +"type": "object" +} +}, +"type": "object" +}, +"Policy": { +"description": "A Policy resource binds an instance of a single Setting with the scope of a PolicyQuery. The Setting instance will be applied to all entities that satisfy the query.", +"id": "Policy", +"properties": { +"customer": { +"description": "Immutable. Customer that the Policy belongs to. The value is in the format 'customers/{customerId}'. The `customerId` must begin with \"C\" To find your customer ID in Admin Console see https://support.google.com/a/answer/10070793.", +"type": "string" +}, +"name": { +"description": "Output only. Identifier. The [resource name](https://cloud.google.com/apis/design/resource_names) of the Policy. Format: policies/{policy}.", +"readOnly": true, +"type": "string" +}, +"policyQuery": { +"$ref": "PolicyQuery", +"description": "Required. The PolicyQuery the Setting applies to." +}, +"setting": { +"$ref": "Setting", +"description": "Required. The Setting configured by this Policy." +}, +"type": { +"description": "Output only. The type of the policy.", +"enum": [ +"POLICY_TYPE_UNSPECIFIED", +"SYSTEM", +"ADMIN" +], +"enumDescriptions": [ +"Unspecified policy type.", +"Policy type denoting the system-configured policies.", +"Policy type denoting the admin-configurable policies." +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"PolicyQuery": { +"description": "PolicyQuery", +"id": "PolicyQuery", +"properties": { +"group": { +"description": "Immutable. The group that the query applies to. This field is only set if there is a single value for group that satisfies all clauses of the query. If no group applies, this will be the empty string.", +"type": "string" +}, +"orgUnit": { +"description": "Required. Immutable. Non-empty default. The OrgUnit the query applies to. This field is only set if there is a single value for org_unit that satisfies all clauses of the query.", +"type": "string" +}, +"query": { +"description": "Immutable. The CEL query that defines which entities the Policy applies to (ex. a User entity). For details about CEL see https://opensource.google.com/projects/cel. The OrgUnits the Policy applies to are represented by a clause like so: entity.org_units.exists(org_unit, org_unit.org_unit_id == orgUnitId('{orgUnitId}')) The Group the Policy applies to are represented by a clause like so: entity.groups.exists(group, group.group_id == groupId('{groupId}')) The Licenses the Policy applies to are represented by a clause like so: entity.licenses.exists(license, license in ['/product/{productId}/sku/{skuId}']) The above clauses can be present in any combination, and used in conjunction with the &&, || and ! operators. The org_unit and group fields below are helper fields that contain the corresponding value(s) as the query to make the query easier to use.", +"type": "string" +}, +"sortOrder": { +"description": "Output only. The decimal sort order of this PolicyQuery. The value is relative to all other policies with the same setting type for the customer. (There are no duplicates within this set).", +"format": "double", +"readOnly": true, +"type": "number" +} +}, +"type": "object" +}, +"RestrictionEvaluation": { +"description": "The evaluated state of this restriction.", +"id": "RestrictionEvaluation", +"properties": { +"state": { +"description": "Output only. The current state of the restriction", +"enum": [ +"STATE_UNSPECIFIED", +"EVALUATING", +"COMPLIANT", +"FORWARD_COMPLIANT", +"NON_COMPLIANT" +], +"enumDescriptions": [ +"Default. Should not be used.", +"The restriction state is currently being evaluated.", +"All transitive memberships are adhering to restriction.", +"Some transitive memberships violate the restriction. No new violating memberships can be added.", +"Some transitive memberships violate the restriction. New violating direct memberships will be denied while indirect memberships may be added." +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"RestrictionEvaluations": { +"description": "Evaluations of restrictions applied to parent group on this membership.", +"id": "RestrictionEvaluations", +"properties": { +"memberRestrictionEvaluation": { +"$ref": "MembershipRoleRestrictionEvaluation", +"description": "Evaluation of the member restriction applied to this membership. Empty if the user lacks permission to view the restriction evaluation." +} +}, +"type": "object" +}, +"RsaPublicKeyInfo": { +"description": "Information of a RSA public key.", +"id": "RsaPublicKeyInfo", +"properties": { +"keySize": { +"description": "Key size in bits (size of the modulus).", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"SamlIdpConfig": { +"description": "SAML IDP (identity provider) configuration.", +"id": "SamlIdpConfig", +"properties": { +"changePasswordUri": { +"description": "The **Change Password URL** of the identity provider. Users will be sent to this URL when changing their passwords at `myaccount.google.com`. This takes precedence over the change password URL configured at customer-level. Must use `HTTPS`.", +"type": "string" +}, +"entityId": { +"description": "Required. The SAML **Entity ID** of the identity provider.", +"type": "string" +}, +"logoutRedirectUri": { +"description": "The **Logout Redirect URL** (sign-out page URL) of the identity provider. When a user clicks the sign-out link on a Google page, they will be redirected to this URL. This is a pure redirect with no attached SAML `LogoutRequest` i.e. SAML single logout is not supported. Must use `HTTPS`.", +"type": "string" +}, +"singleSignOnServiceUri": { +"description": "Required. The `SingleSignOnService` endpoint location (sign-in page URL) of the identity provider. This is the URL where the `AuthnRequest` will be sent. Must use `HTTPS`. Assumed to accept the `HTTP-Redirect` binding.", +"type": "string" +} +}, +"type": "object" +}, +"SamlSpConfig": { +"description": "SAML SP (service provider) configuration.", +"id": "SamlSpConfig", +"properties": { +"assertionConsumerServiceUri": { +"description": "Output only. The SAML **Assertion Consumer Service (ACS) URL** to be used for the IDP-initiated login. Assumed to accept response messages via the `HTTP-POST` binding.", +"readOnly": true, +"type": "string" +}, +"entityId": { +"description": "Output only. The SAML **Entity ID** for this service provider.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"SamlSsoInfo": { +"description": "Details that are applicable when `sso_mode` == `SAML_SSO`.", +"id": "SamlSsoInfo", +"properties": { +"inboundSamlSsoProfile": { +"description": "Required. Name of the `InboundSamlSsoProfile` to use. Must be of the form `inboundSamlSsoProfiles/{inbound_saml_sso_profile}`. ", +"type": "string" +} +}, +"type": "object" +}, +"SearchDirectGroupsResponse": { +"description": "The response message for MembershipsService.SearchDirectGroups.", +"id": "SearchDirectGroupsResponse", +"properties": { +"memberships": { +"description": "List of direct groups satisfying the query.", +"items": { +"$ref": "MembershipRelation" +}, +"type": "array" +}, +"nextPageToken": { +"description": "Token to retrieve the next page of results, or empty if there are no more results available for listing.", +"type": "string" +} +}, +"type": "object" +}, +"SearchGroupsResponse": { +"description": "The response message for GroupsService.SearchGroups.", +"id": "SearchGroupsResponse", +"properties": { +"groups": { +"description": "The `Group` resources that match the search query.", +"items": { +"$ref": "Group" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A continuation token to retrieve the next page of results, or empty if there are no more results available.", +"type": "string" +} +}, +"type": "object" +}, +"SearchTransitiveGroupsResponse": { +"description": "The response message for MembershipsService.SearchTransitiveGroups.", +"id": "SearchTransitiveGroupsResponse", +"properties": { +"memberships": { +"description": "List of transitive groups satisfying the query.", +"items": { +"$ref": "GroupRelation" +}, +"type": "array" +}, +"nextPageToken": { +"description": "Token to retrieve the next page of results, or empty if there are no more results available for listing.", +"type": "string" +} +}, +"type": "object" +}, +"SearchTransitiveMembershipsResponse": { +"description": "The response message for MembershipsService.SearchTransitiveMemberships.", +"id": "SearchTransitiveMembershipsResponse", +"properties": { +"memberships": { +"description": "List of transitive members satisfying the query.", +"items": { +"$ref": "MemberRelation" +}, +"type": "array" +}, +"nextPageToken": { +"description": "Token to retrieve the next page of results, or empty if there are no more results.", +"type": "string" +} +}, +"type": "object" +}, +"SecuritySettings": { +"description": "The definition of security settings.", +"id": "SecuritySettings", +"properties": { +"memberRestriction": { +"$ref": "MemberRestriction", +"description": "The Member Restriction value" +}, +"name": { +"description": "Output only. The resource name of the security settings. Shall be of the form `groups/{group_id}/securitySettings`.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"SendUserInvitationRequest": { +"description": "A request to send email for inviting target user corresponding to the UserInvitation.", +"id": "SendUserInvitationRequest", +"properties": {}, +"type": "object" +}, +"Setting": { +"description": "Setting", +"id": "Setting", +"properties": { +"type": { +"description": "Required. Immutable. The type of the Setting. .", +"type": "string" +}, +"value": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"description": "Required. The value of the Setting.", +"type": "object" +} +}, +"type": "object" +}, +"SignInBehavior": { +"description": "Controls sign-in behavior.", +"id": "SignInBehavior", +"properties": { +"redirectCondition": { +"description": "When to redirect sign-ins to the IdP.", +"enum": [ +"REDIRECT_CONDITION_UNSPECIFIED", +"NEVER" +], +"enumDescriptions": [ +"Default and means \"always\"", +"Sign-in flows where the user is prompted for their identity will not redirect to the IdP (so the user will most likely be prompted by Google for a password), but special flows like IdP-initiated SAML and sign-in following automatic redirection to the IdP by domain-specific service URLs will accept the IdP's assertion of the user's identity." +], +"type": "string" +} +}, +"type": "object" +}, +"Status": { +"description": "The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors).", +"id": "Status", +"properties": { +"code": { +"description": "The status code, which should be an enum value of google.rpc.Code.", +"format": "int32", +"type": "integer" +}, +"details": { +"description": "A list of messages that carry the error details. There is a common set of message types for APIs to use.", +"items": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.", +"type": "string" +} +}, +"type": "object" +}, +"TransitiveMembershipRole": { +"description": "Message representing the role of a TransitiveMembership.", +"id": "TransitiveMembershipRole", +"properties": { +"role": { +"description": "TransitiveMembershipRole in string format. Currently supported TransitiveMembershipRoles: `\"MEMBER\"`, `\"OWNER\"`, and `\"MANAGER\"`.", +"type": "string" +} +}, +"type": "object" +}, +"UpdateGroupMetadata": { +"description": "Metadata for UpdateGroup LRO.", +"id": "UpdateGroupMetadata", +"properties": {}, +"type": "object" +}, +"UpdateInboundOidcSsoProfileOperationMetadata": { +"description": "LRO response metadata for InboundOidcSsoProfilesService.UpdateInboundOidcSsoProfile.", +"id": "UpdateInboundOidcSsoProfileOperationMetadata", +"properties": { +"state": { +"description": "State of this Operation Will be \"awaiting-multi-party-approval\" when the operation is deferred due to the target customer having enabled [Multi-party approval for sensitive actions](https://support.google.com/a/answer/13790448).", +"type": "string" +} +}, +"type": "object" +}, +"UpdateInboundSamlSsoProfileOperationMetadata": { +"description": "LRO response metadata for InboundSamlSsoProfilesService.UpdateInboundSamlSsoProfile.", +"id": "UpdateInboundSamlSsoProfileOperationMetadata", +"properties": { +"state": { +"description": "State of this Operation Will be \"awaiting-multi-party-approval\" when the operation is deferred due to the target customer having enabled [Multi-party approval for sensitive actions](https://support.google.com/a/answer/13790448).", +"type": "string" +} +}, +"type": "object" +}, +"UpdateInboundSsoAssignmentOperationMetadata": { +"description": "LRO response metadata for InboundSsoAssignmentsService.UpdateInboundSsoAssignment.", +"id": "UpdateInboundSsoAssignmentOperationMetadata", +"properties": {}, +"type": "object" +}, +"UpdateMembershipMetadata": { +"description": "Metadata for UpdateMembership LRO.", +"id": "UpdateMembershipMetadata", +"properties": {}, +"type": "object" +}, +"UpdateMembershipRolesParams": { +"description": "The details of an update to a `MembershipRole`.", +"id": "UpdateMembershipRolesParams", +"properties": { +"fieldMask": { +"description": "The fully-qualified names of fields to update. May only contain the field `expiry_detail.expire_time`.", +"format": "google-fieldmask", +"type": "string" +}, +"membershipRole": { +"$ref": "MembershipRole", +"description": "The `MembershipRole`s to be updated. Only `MEMBER` `MembershipRole` can currently be updated." +} +}, +"type": "object" +}, +"UserInvitation": { +"description": "The `UserInvitation` resource represents an email that can be sent to an unmanaged user account inviting them to join the customer's Google Workspace or Cloud Identity account. An unmanaged account shares an email address domain with the Google Workspace or Cloud Identity account but is not managed by it yet. If the user accepts the `UserInvitation`, the user account will become managed.", +"id": "UserInvitation", +"properties": { +"mailsSentCount": { +"description": "Number of invitation emails sent to the user.", +"format": "int64", +"type": "string" +}, +"name": { +"description": "Shall be of the form `customers/{customer}/userinvitations/{user_email_address}`.", +"type": "string" +}, +"state": { +"description": "State of the `UserInvitation`.", +"enum": [ +"STATE_UNSPECIFIED", +"NOT_YET_SENT", +"INVITED", +"ACCEPTED", +"DECLINED" +], +"enumDescriptions": [ +"The default value. This value is used if the state is omitted.", +"The `UserInvitation` has been created and is ready for sending as an email.", +"The user has been invited by email.", +"The user has accepted the invitation and is part of the organization.", +"The user declined the invitation." +], +"type": "string" +}, +"updateTime": { +"description": "Time when the `UserInvitation` was last updated.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +} +}, +"servicePath": "", +"title": "Cloud Identity API", +"version": "v1", +"version_module": true +} \ No newline at end of file diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/cloudlocationfinder.v1alpha.json b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/cloudlocationfinder.v1alpha.json new file mode 100644 index 0000000000000000000000000000000000000000..b75268983a9420f976faea36cc79aa2b011c621a --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/cloudlocationfinder.v1alpha.json @@ -0,0 +1,472 @@ +{ +"auth": { +"oauth2": { +"scopes": { +"https://www.googleapis.com/auth/cloud-platform": { +"description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." +} +} +} +}, +"basePath": "", +"baseUrl": "https://cloudlocationfinder.googleapis.com/", +"batchPath": "batch", +"canonicalName": "Cloud Location Finder", +"description": "", +"discoveryVersion": "v1", +"documentationLink": "https://cloud.google.com/location-finder/docs", +"fullyEncodeReservedExpansion": true, +"icons": { +"x16": "http://www.google.com/images/icons/product/search-16.gif", +"x32": "http://www.google.com/images/icons/product/search-32.gif" +}, +"id": "cloudlocationfinder:v1alpha", +"kind": "discovery#restDescription", +"mtlsRootUrl": "https://cloudlocationfinder.mtls.googleapis.com/", +"name": "cloudlocationfinder", +"ownerDomain": "google.com", +"ownerName": "Google", +"parameters": { +"$.xgafv": { +"description": "V1 error format.", +"enum": [ +"1", +"2" +], +"enumDescriptions": [ +"v1 error format", +"v2 error format" +], +"location": "query", +"type": "string" +}, +"access_token": { +"description": "OAuth access token.", +"location": "query", +"type": "string" +}, +"alt": { +"default": "json", +"description": "Data format for response.", +"enum": [ +"json", +"media", +"proto" +], +"enumDescriptions": [ +"Responses with Content-Type of application/json", +"Media download with context-dependent Content-Type", +"Responses with Content-Type of application/x-protobuf" +], +"location": "query", +"type": "string" +}, +"callback": { +"description": "JSONP", +"location": "query", +"type": "string" +}, +"fields": { +"description": "Selector specifying which fields to include in a partial response.", +"location": "query", +"type": "string" +}, +"key": { +"description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", +"location": "query", +"type": "string" +}, +"oauth_token": { +"description": "OAuth 2.0 token for the current user.", +"location": "query", +"type": "string" +}, +"prettyPrint": { +"default": "true", +"description": "Returns response with indentations and line breaks.", +"location": "query", +"type": "boolean" +}, +"quotaUser": { +"description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.", +"location": "query", +"type": "string" +}, +"uploadType": { +"description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", +"location": "query", +"type": "string" +}, +"upload_protocol": { +"description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", +"location": "query", +"type": "string" +} +}, +"protocol": "rest", +"resources": { +"projects": { +"resources": { +"locations": { +"methods": { +"get": { +"description": "Gets information about a location.", +"flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}", +"httpMethod": "GET", +"id": "cloudlocationfinder.projects.locations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Resource name for the location.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha/{+name}", +"response": { +"$ref": "Location" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists information about the supported locations for this service. This method can be called in two ways: * **List all public locations:** Use the path `GET /v1/locations`. * **List project-visible locations:** Use the path `GET /v1/projects/{project_id}/locations`. This may include public locations as well as private or other locations specifically visible to the project.", +"flatPath": "v1alpha/projects/{projectsId}/locations", +"httpMethod": "GET", +"id": "cloudlocationfinder.projects.locations.list", +"parameterOrder": [ +"name" +], +"parameters": { +"extraLocationTypes": { +"description": "Optional. Do not use this field. It is unsupported and is ignored unless explicitly documented otherwise. This is primarily for internal usage.", +"location": "query", +"repeated": true, +"type": "string" +}, +"filter": { +"description": "A filter to narrow down results to a preferred subset. The filtering language accepts strings like `\"displayName=tokyo\"`, and is documented in more detail in [AIP-160](https://google.aip.dev/160).", +"location": "query", +"type": "string" +}, +"name": { +"description": "The resource that owns the locations collection, if applicable.", +"location": "path", +"pattern": "^projects/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The maximum number of results to return. If not set, the service selects a default.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A page token received from the `next_page_token` field in the response. Send that page token to receive the subsequent page.", +"location": "query", +"type": "string" +} +}, +"path": "v1alpha/{+name}/locations", +"response": { +"$ref": "ListLocationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"cloudLocations": { +"methods": { +"get": { +"description": "Retrieves a resource containing information about a cloud location.", +"flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/cloudLocations/{cloudLocationsId}", +"httpMethod": "GET", +"id": "cloudlocationfinder.projects.locations.cloudLocations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of the resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/cloudLocations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha/{+name}", +"response": { +"$ref": "CloudLocation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists cloud locations under a given project and location.", +"flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/cloudLocations", +"httpMethod": "GET", +"id": "cloudlocationfinder.projects.locations.cloudLocations.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Optional. A filter expression that filters resources listed in the response. The expression is in the form of field=value. For example, 'cloud_location_type=CLOUD_LOCATION_TYPE_REGION'. Multiple filter queries are space-separated. For example, 'cloud_location_type=CLOUD_LOCATION_TYPE_REGION territory_code=\"US\"' By default, each expression is an AND expression. However, you can include AND and OR expressions explicitly.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Optional. The maximum number of cloud locations to return per page. The service might return fewer cloud locations than this value. If unspecified, server will pick an appropriate default.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. A token identifying a page of results the server should return. Provide page token returned by a previous 'ListCloudLocations' call to retrieve the next page of results. When paginating, all other parameters provided to 'ListCloudLocations' must match the call that provided the page token.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent, which owns this collection of cloud locations. Format: projects/{project}/locations/{location}", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha/{+parent}/cloudLocations", +"response": { +"$ref": "ListCloudLocationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"search": { +"description": "Searches for cloud locations from a given source location.", +"flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/cloudLocations:search", +"httpMethod": "GET", +"id": "cloudlocationfinder.projects.locations.cloudLocations.search", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "Optional. The maximum number of cloud locations to return. The service might return fewer cloud locations than this value. If unspecified, server will pick an appropriate default.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. A token identifying a page of results the server should return. Provide Page token returned by a previous 'ListCloudLocations' call to retrieve the next page of results. When paginating, all other parameters provided to 'ListCloudLocations' must match the call that provided the page token.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent, which owns this collection of cloud locations. Format: projects/{project}/locations/{location}", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +}, +"query": { +"description": "Optional. The query string in search query syntax. While filter is used to filter the search results by attributes, query is used to specify the search requirements.", +"location": "query", +"type": "string" +}, +"sourceCloudLocation": { +"description": "Required. The source cloud location to search from. Example search can be searching nearby cloud locations from the source cloud location by latency.", +"location": "query", +"type": "string" +} +}, +"path": "v1alpha/{+parent}/cloudLocations:search", +"response": { +"$ref": "SearchCloudLocationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +} +} +} +}, +"revision": "20260128", +"rootUrl": "https://cloudlocationfinder.googleapis.com/", +"schemas": { +"CloudLocation": { +"description": "Represents resource cloud locations.", +"id": "CloudLocation", +"properties": { +"carbonFreeEnergyPercentage": { +"description": "Optional. The carbon free energy percentage of the cloud location. This represents the average percentage of time customers' application will be running on carbon-free energy. See https://cloud.google.com/sustainability/region-carbon for more details. There is a difference between default value 0 and unset value. 0 means the carbon free energy percentage is 0%, while unset value means the carbon footprint data is not available.", +"format": "float", +"type": "number" +}, +"cloudLocationType": { +"description": "Optional. The type of the cloud location.", +"enum": [ +"CLOUD_LOCATION_TYPE_UNSPECIFIED", +"CLOUD_LOCATION_TYPE_REGION", +"CLOUD_LOCATION_TYPE_ZONE", +"CLOUD_LOCATION_TYPE_REGION_EXTENSION", +"CLOUD_LOCATION_TYPE_GDCC_ZONE" +], +"enumDescriptions": [ +"Unspecified type.", +"CloudLocation type for region.", +"CloudLocation type for zone.", +"CloudLocation type for region extension.", +"CloudLocation type for Google Distributed Cloud Connected Zone." +], +"type": "string" +}, +"cloudProvider": { +"description": "Optional. The provider of the cloud location. Values can be Google Cloud or third-party providers, including AWS, Azure, or Oracle Cloud Infrastructure.", +"enum": [ +"CLOUD_PROVIDER_UNSPECIFIED", +"CLOUD_PROVIDER_GCP", +"CLOUD_PROVIDER_AWS", +"CLOUD_PROVIDER_AZURE", +"CLOUD_PROVIDER_OCI" +], +"enumDescriptions": [ +"Unspecified type.", +"Cloud provider type for Google Cloud.", +"Cloud provider type for AWS.", +"Cloud provider type for Azure.", +"Cloud provider type for OCI." +], +"type": "string" +}, +"containingCloudLocation": { +"description": "Output only. The containing cloud location in the strict nesting hierarchy. For example, the containing cloud location of a zone is a region.", +"readOnly": true, +"type": "string" +}, +"displayName": { +"description": "Optional. The human-readable name of the cloud location. Example: us-east-2, us-east1.", +"type": "string" +}, +"name": { +"description": "Identifier. Name of the cloud location. Unique name of the cloud location including project and location using the form: `projects/{project_id}/locations/{location}/cloudLocations/{cloud_location}`", +"type": "string" +}, +"territoryCode": { +"description": "Optional. The two-letter ISO 3166-1 alpha-2 code of the cloud location. Examples: US, JP, KR.", +"type": "string" +} +}, +"type": "object" +}, +"ListCloudLocationsResponse": { +"description": "Message for response to listing cloud locations.", +"id": "ListCloudLocationsResponse", +"properties": { +"cloudLocations": { +"description": "Output only. List of cloud locations.", +"items": { +"$ref": "CloudLocation" +}, +"readOnly": true, +"type": "array" +}, +"nextPageToken": { +"description": "Output only. The continuation token, used to page through large result sets. Provide this value in a subsequent request as page_token in subsequent requests to retrieve the next page. If this field is not present, there are no subsequent results.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"ListLocationsResponse": { +"description": "The response message for Locations.ListLocations.", +"id": "ListLocationsResponse", +"properties": { +"locations": { +"description": "A list of locations that matches the specified filter in the request.", +"items": { +"$ref": "Location" +}, +"type": "array" +}, +"nextPageToken": { +"description": "The standard List next-page token.", +"type": "string" +} +}, +"type": "object" +}, +"Location": { +"description": "A resource that represents a Google Cloud location.", +"id": "Location", +"properties": { +"displayName": { +"description": "The friendly name for this location, typically a nearby city name. For example, \"Tokyo\".", +"type": "string" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Cross-service attributes for the location. For example {\"cloud.googleapis.com/region\": \"us-east1\"}", +"type": "object" +}, +"locationId": { +"description": "The canonical id for this location. For example: `\"us-east1\"`.", +"type": "string" +}, +"metadata": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "Service-specific metadata. For example the available capacity at the given location.", +"type": "object" +}, +"name": { +"description": "Resource name for the location, which may vary between implementations. For example: `\"projects/example-project/locations/us-east1\"`", +"type": "string" +} +}, +"type": "object" +}, +"SearchCloudLocationsResponse": { +"description": "Message for response to searching cloud locations.", +"id": "SearchCloudLocationsResponse", +"properties": { +"cloudLocations": { +"description": "Output only. List of cloud locations.", +"items": { +"$ref": "CloudLocation" +}, +"readOnly": true, +"type": "array" +}, +"nextPageToken": { +"description": "Output only. The continuation token, used to page through large result sets. Provide this value in a subsequent request as page_token in subsequent requests to retrieve the next page. If this field is not present, there are no subsequent results.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +} +}, +"servicePath": "", +"title": "Cloud Location Finder API", +"version": "v1alpha", +"version_module": true +} \ No newline at end of file diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/cloudresourcemanager.v3.json b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/cloudresourcemanager.v3.json new file mode 100644 index 0000000000000000000000000000000000000000..2aaddfe80dd6aedde63ca705e8e61384fa250f2d --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/cloudresourcemanager.v3.json @@ -0,0 +1,3298 @@ +{ +"auth": { +"oauth2": { +"scopes": { +"https://www.googleapis.com/auth/cloud-platform": { +"description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." +}, +"https://www.googleapis.com/auth/cloud-platform.read-only": { +"description": "View your data across Google Cloud services and see the email address of your Google Account" +} +} +} +}, +"basePath": "", +"baseUrl": "https://cloudresourcemanager.googleapis.com/", +"batchPath": "batch", +"canonicalName": "Cloud Resource Manager", +"description": "Creates, reads, and updates metadata for Google Cloud Platform resource containers.", +"discoveryVersion": "v1", +"documentationLink": "https://cloud.google.com/resource-manager", +"fullyEncodeReservedExpansion": true, +"icons": { +"x16": "http://www.google.com/images/icons/product/search-16.gif", +"x32": "http://www.google.com/images/icons/product/search-32.gif" +}, +"id": "cloudresourcemanager:v3", +"kind": "discovery#restDescription", +"mtlsRootUrl": "https://cloudresourcemanager.mtls.googleapis.com/", +"name": "cloudresourcemanager", +"ownerDomain": "google.com", +"ownerName": "Google", +"parameters": { +"$.xgafv": { +"description": "V1 error format.", +"enum": [ +"1", +"2" +], +"enumDescriptions": [ +"v1 error format", +"v2 error format" +], +"location": "query", +"type": "string" +}, +"access_token": { +"description": "OAuth access token.", +"location": "query", +"type": "string" +}, +"alt": { +"default": "json", +"description": "Data format for response.", +"enum": [ +"json", +"media", +"proto" +], +"enumDescriptions": [ +"Responses with Content-Type of application/json", +"Media download with context-dependent Content-Type", +"Responses with Content-Type of application/x-protobuf" +], +"location": "query", +"type": "string" +}, +"callback": { +"description": "JSONP", +"location": "query", +"type": "string" +}, +"fields": { +"description": "Selector specifying which fields to include in a partial response.", +"location": "query", +"type": "string" +}, +"key": { +"description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", +"location": "query", +"type": "string" +}, +"oauth_token": { +"description": "OAuth 2.0 token for the current user.", +"location": "query", +"type": "string" +}, +"prettyPrint": { +"default": "true", +"description": "Returns response with indentations and line breaks.", +"location": "query", +"type": "boolean" +}, +"quotaUser": { +"description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.", +"location": "query", +"type": "string" +}, +"uploadType": { +"description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", +"location": "query", +"type": "string" +}, +"upload_protocol": { +"description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", +"location": "query", +"type": "string" +} +}, +"protocol": "rest", +"resources": { +"effectiveTags": { +"methods": { +"list": { +"description": "Return a list of effective tags for the given Google Cloud resource, as specified in `parent`.", +"flatPath": "v3/effectiveTags", +"httpMethod": "GET", +"id": "cloudresourcemanager.effectiveTags.list", +"parameterOrder": [], +"parameters": { +"pageSize": { +"description": "Optional. The maximum number of effective tags to return in the response. The server allows a maximum of 300 effective tags to return in a single page. If unspecified, the server will use 100 as the default.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. A pagination token returned from a previous call to `ListEffectiveTags` that indicates from where this listing should continue.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The full resource name of a resource for which you want to list the effective tags. E.g. \"//cloudresourcemanager.googleapis.com/projects/123\"", +"location": "query", +"type": "string" +} +}, +"path": "v3/effectiveTags", +"response": { +"$ref": "ListEffectiveTagsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only" +] +} +} +}, +"folders": { +"methods": { +"create": { +"description": "Creates a folder in the resource hierarchy. Returns an `Operation` which can be used to track the progress of the folder creation workflow. Upon success, the `Operation.response` field will be populated with the created Folder. In order to succeed, the addition of this new folder must not violate the folder naming, height, or fanout constraints. + The folder's `display_name` must be distinct from all other folders that share its parent. + The addition of the folder must not cause the active folder hierarchy to exceed a height of 10. Note, the full active + deleted folder hierarchy is allowed to reach a height of 20; this provides additional headroom when moving folders that contain deleted folders. + The addition of the folder must not cause the total number of folders under its parent to exceed 300. If the operation fails due to a folder constraint violation, some errors may be returned by the `CreateFolder` request, with status code `FAILED_PRECONDITION` and an error description. Other folder constraint violations will be communicated in the `Operation`, with the specific `PreconditionFailure` returned in the details list in the `Operation.error` field. The caller must have `resourcemanager.folders.create` permission on the identified parent.", +"flatPath": "v3/folders", +"httpMethod": "POST", +"id": "cloudresourcemanager.folders.create", +"parameterOrder": [], +"parameters": {}, +"path": "v3/folders", +"request": { +"$ref": "Folder" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Requests deletion of a folder. The folder is moved into the DELETE_REQUESTED state immediately, and is deleted approximately 30 days later. This method may only be called on an empty folder, where a folder is empty if it doesn't contain any folders or projects in the ACTIVE state. If called on a folder in DELETE_REQUESTED state the operation will result in a no-op success. The caller must have `resourcemanager.folders.delete` permission on the identified folder.", +"flatPath": "v3/folders/{foldersId}", +"httpMethod": "DELETE", +"id": "cloudresourcemanager.folders.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the folder to be deleted. Must be of the form `folders/{folder_id}`.", +"location": "path", +"pattern": "^folders/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Retrieves a folder identified by the supplied resource name. Valid folder resource names have the format `folders/{folder_id}` (for example, `folders/1234`). The caller must have `resourcemanager.folders.get` permission on the identified folder.", +"flatPath": "v3/folders/{foldersId}", +"httpMethod": "GET", +"id": "cloudresourcemanager.folders.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the folder to retrieve. Must be of the form `folders/{folder_id}`.", +"location": "path", +"pattern": "^folders/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3/{+name}", +"response": { +"$ref": "Folder" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only" +] +}, +"getIamPolicy": { +"description": "Gets the access control policy for a folder. The returned policy may be empty if no such policy or resource exists. The `resource` field should be the folder's resource name, for example: \"folders/1234\". The caller must have `resourcemanager.folders.getIamPolicy` permission on the identified folder.", +"flatPath": "v3/folders/{foldersId}:getIamPolicy", +"httpMethod": "POST", +"id": "cloudresourcemanager.folders.getIamPolicy", +"parameterOrder": [ +"resource" +], +"parameters": { +"resource": { +"description": "REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", +"location": "path", +"pattern": "^folders/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3/{+resource}:getIamPolicy", +"request": { +"$ref": "GetIamPolicyRequest" +}, +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only" +] +}, +"list": { +"description": "Lists the folders that are direct descendants of supplied parent resource. `list()` provides a strongly consistent view of the folders underneath the specified parent resource. `list()` returns folders sorted based upon the (ascending) lexical ordering of their display_name. The caller must have `resourcemanager.folders.list` permission on the identified parent.", +"flatPath": "v3/folders", +"httpMethod": "GET", +"id": "cloudresourcemanager.folders.list", +"parameterOrder": [], +"parameters": { +"pageSize": { +"description": "Optional. The maximum number of folders to return in the response. The server can return fewer folders than requested. If unspecified, server picks an appropriate default.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. A pagination token returned from a previous call to `ListFolders` that indicates where this listing should continue from.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The name of the parent resource whose folders are being listed. Only children of this parent resource are listed; descendants are not listed. If the parent is a folder, use the value `folders/{folder_id}`. If the parent is an organization, use the value `organizations/{org_id}`. Access to this method is controlled by checking the `resourcemanager.folders.list` permission on the `parent`.", +"location": "query", +"type": "string" +}, +"showDeleted": { +"description": "Optional. Controls whether folders in the DELETE_REQUESTED state should be returned. Defaults to false.", +"location": "query", +"type": "boolean" +} +}, +"path": "v3/folders", +"response": { +"$ref": "ListFoldersResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only" +] +}, +"move": { +"description": "Moves a folder under a new resource parent. Returns an `Operation` which can be used to track the progress of the folder move workflow. Upon success, the `Operation.response` field will be populated with the moved folder. Upon failure, a `FolderOperationError` categorizing the failure cause will be returned - if the failure occurs synchronously then the `FolderOperationError` will be returned in the `Status.details` field. If it occurs asynchronously, then the FolderOperation will be returned in the `Operation.error` field. In addition, the `Operation.metadata` field will be populated with a `FolderOperation` message as an aid to stateless clients. Folder moves will be rejected if they violate either the naming, height, or fanout constraints described in the CreateFolder documentation. The caller must have `resourcemanager.folders.move` permission on the folder's current and proposed new parent.", +"flatPath": "v3/folders/{foldersId}:move", +"httpMethod": "POST", +"id": "cloudresourcemanager.folders.move", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the Folder to move. Must be of the form folders/{folder_id}", +"location": "path", +"pattern": "^folders/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3/{+name}:move", +"request": { +"$ref": "MoveFolderRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates a folder, changing its `display_name`. Changes to the folder `display_name` will be rejected if they violate either the `display_name` formatting rules or the naming constraints described in the CreateFolder documentation. The folder's `display_name` must start and end with a letter or digit, may contain letters, digits, spaces, hyphens and underscores and can be between 3 and 30 characters. This is captured by the regular expression: `\\p{L}\\p{N}{1,28}[\\p{L}\\p{N}]`. The caller must have `resourcemanager.folders.update` permission on the identified folder. If the update fails due to the unique name constraint then a `PreconditionFailure` explaining this violation will be returned in the Status.details field.", +"flatPath": "v3/folders/{foldersId}", +"httpMethod": "PATCH", +"id": "cloudresourcemanager.folders.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Identifier. The resource name of the folder. Its format is `folders/{folder_id}`, for example: \"folders/1234\".", +"location": "path", +"pattern": "^folders/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Required. Fields to be updated. Only the `display_name` can be updated.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v3/{+name}", +"request": { +"$ref": "Folder" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"search": { +"description": "Search for folders that match specific filter criteria. `search()` provides an eventually consistent view of the folders a user has access to which meet the specified filter criteria. This will only return folders on which the caller has the permission `resourcemanager.folders.get`.", +"flatPath": "v3/folders:search", +"httpMethod": "GET", +"id": "cloudresourcemanager.folders.search", +"parameterOrder": [], +"parameters": { +"pageSize": { +"description": "Optional. The maximum number of folders to return in the response. The server can return fewer folders than requested. If unspecified, server picks an appropriate default.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. A pagination token returned from a previous call to `SearchFolders` that indicates from where search should continue.", +"location": "query", +"type": "string" +}, +"query": { +"description": "Optional. Search criteria used to select the folders to return. If no search criteria is specified then all accessible folders will be returned. Query expressions can be used to restrict results based upon displayName, state and parent, where the operators `=` (`:`) `NOT`, `AND` and `OR` can be used along with the suffix wildcard symbol `*`. The `displayName` field in a query expression should use escaped quotes for values that include whitespace to prevent unexpected behavior. ``` | Field | Description | |-------------------------|----------------------------------------| | displayName | Filters by displayName. | | parent | Filters by parent (for example: folders/123). | | state, lifecycleState | Filters by state. | ``` Some example queries are: * Query `displayName=Test*` returns Folder resources whose display name starts with \"Test\". * Query `state=ACTIVE` returns Folder resources with `state` set to `ACTIVE`. * Query `parent=folders/123` returns Folder resources that have `folders/123` as a parent resource. * Query `parent=folders/123 AND state=ACTIVE` returns active Folder resources that have `folders/123` as a parent resource. * Query `displayName=\\\\\"Test String\\\\\"` returns Folder resources with display names that include both \"Test\" and \"String\".", +"location": "query", +"type": "string" +} +}, +"path": "v3/folders:search", +"response": { +"$ref": "SearchFoldersResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only" +] +}, +"setIamPolicy": { +"description": "Sets the access control policy on a folder, replacing any existing policy. The `resource` field should be the folder's resource name, for example: \"folders/1234\". The caller must have `resourcemanager.folders.setIamPolicy` permission on the identified folder.", +"flatPath": "v3/folders/{foldersId}:setIamPolicy", +"httpMethod": "POST", +"id": "cloudresourcemanager.folders.setIamPolicy", +"parameterOrder": [ +"resource" +], +"parameters": { +"resource": { +"description": "REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", +"location": "path", +"pattern": "^folders/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3/{+resource}:setIamPolicy", +"request": { +"$ref": "SetIamPolicyRequest" +}, +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"testIamPermissions": { +"description": "Returns permissions that a caller has on the specified folder. The `resource` field should be the folder's resource name, for example: \"folders/1234\". There are no permissions required for making this API call.", +"flatPath": "v3/folders/{foldersId}:testIamPermissions", +"httpMethod": "POST", +"id": "cloudresourcemanager.folders.testIamPermissions", +"parameterOrder": [ +"resource" +], +"parameters": { +"resource": { +"description": "REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", +"location": "path", +"pattern": "^folders/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3/{+resource}:testIamPermissions", +"request": { +"$ref": "TestIamPermissionsRequest" +}, +"response": { +"$ref": "TestIamPermissionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"undelete": { +"description": "Cancels the deletion request for a folder. This method may be called on a folder in any state. If the folder is in the ACTIVE state the result will be a no-op success. In order to succeed, the folder's parent must be in the ACTIVE state. In addition, reintroducing the folder into the tree must not violate folder naming, height, and fanout constraints described in the CreateFolder documentation. The caller must have `resourcemanager.folders.undelete` permission on the identified folder.", +"flatPath": "v3/folders/{foldersId}:undelete", +"httpMethod": "POST", +"id": "cloudresourcemanager.folders.undelete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the folder to undelete. Must be of the form `folders/{folder_id}`.", +"location": "path", +"pattern": "^folders/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3/{+name}:undelete", +"request": { +"$ref": "UndeleteFolderRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"capabilities": { +"methods": { +"get": { +"description": "Retrieves the Capability identified by the supplied resource name.", +"flatPath": "v3/folders/{foldersId}/capabilities/{capabilitiesId}", +"httpMethod": "GET", +"id": "cloudresourcemanager.folders.capabilities.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the capability to get. For example, `folders/123/capabilities/app-management`", +"location": "path", +"pattern": "^folders/[^/]+/capabilities/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3/{+name}", +"response": { +"$ref": "Capability" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates the Capability.", +"flatPath": "v3/folders/{foldersId}/capabilities/{capabilitiesId}", +"httpMethod": "PATCH", +"id": "cloudresourcemanager.folders.capabilities.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Immutable. Identifier. The resource name of the capability. Must be in the following form: * `folders/{folder_id}/capabilities/{capability_name}` For example, `folders/123/capabilities/app-management` Following are the allowed {capability_name} values: * `app-management`", +"location": "path", +"pattern": "^folders/[^/]+/capabilities/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Optional. The list of fields to update. Only [Capability.value] can be updated.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v3/{+name}", +"request": { +"$ref": "Capability" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +}, +"liens": { +"methods": { +"create": { +"description": "Create a Lien which applies to the resource denoted by the `parent` field. Callers of this method will require permission on the `parent` resource. For example, applying to `projects/1234` requires permission `resourcemanager.projects.updateLiens`. NOTE: Some resources may limit the number of Liens which may be applied.", +"flatPath": "v3/liens", +"httpMethod": "POST", +"id": "cloudresourcemanager.liens.create", +"parameterOrder": [], +"parameters": {}, +"path": "v3/liens", +"request": { +"$ref": "Lien" +}, +"response": { +"$ref": "Lien" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only" +] +}, +"delete": { +"description": "Delete a Lien by `name`. Callers of this method will require permission on the `parent` resource. For example, a Lien with a `parent` of `projects/1234` requires permission `resourcemanager.projects.updateLiens`.", +"flatPath": "v3/liens/{liensId}", +"httpMethod": "DELETE", +"id": "cloudresourcemanager.liens.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name/identifier of the Lien to delete.", +"location": "path", +"pattern": "^liens/.*$", +"required": true, +"type": "string" +} +}, +"path": "v3/{+name}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only" +] +}, +"get": { +"description": "Retrieve a Lien by `name`. Callers of this method will require permission on the `parent` resource. For example, a Lien with a `parent` of `projects/1234` requires permission `resourcemanager.projects.get`", +"flatPath": "v3/liens/{liensId}", +"httpMethod": "GET", +"id": "cloudresourcemanager.liens.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name/identifier of the Lien.", +"location": "path", +"pattern": "^liens/.*$", +"required": true, +"type": "string" +} +}, +"path": "v3/{+name}", +"response": { +"$ref": "Lien" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only" +] +}, +"list": { +"description": "List all Liens applied to the `parent` resource. Callers of this method will require permission on the `parent` resource. For example, a Lien with a `parent` of `projects/1234` requires permission `resourcemanager.projects.get`.", +"flatPath": "v3/liens", +"httpMethod": "GET", +"id": "cloudresourcemanager.liens.list", +"parameterOrder": [], +"parameters": { +"pageSize": { +"description": "The maximum number of items to return. This is a suggestion for the server. The server can return fewer liens than requested. If unspecified, server picks an appropriate default.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The `next_page_token` value returned from a previous List request, if any.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The name of the resource to list all attached Liens. For example, `projects/1234`. (google.api.field_policy).resource_type annotation is not set since the parent depends on the meta api implementation. This field could be a project or other sub project resources.", +"location": "query", +"type": "string" +} +}, +"path": "v3/liens", +"response": { +"$ref": "ListLiensResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only" +] +} +} +}, +"locations": { +"resources": { +"effectiveTagBindingCollections": { +"methods": { +"get": { +"description": "Returns effective tag bindings on a GCP resource.", +"flatPath": "v3/locations/{locationsId}/effectiveTagBindingCollections/{effectiveTagBindingCollectionsId}", +"httpMethod": "GET", +"id": "cloudresourcemanager.locations.effectiveTagBindingCollections.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The full name of the EffectiveTagBindingCollection in format: `locations/{location}/effectiveTagBindingCollections/{encoded-full-resource-name}` where the encoded-full-resource-name is the UTF-8 encoded name of the resource the TagBindings are bound to. E.g. \"locations/global/effectiveTagBindingCollections/%2f%2fcloudresourcemanager.googleapis.com%2fprojects%2f123\"", +"location": "path", +"pattern": "^locations/[^/]+/effectiveTagBindingCollections/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3/{+name}", +"response": { +"$ref": "EffectiveTagBindingCollection" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only" +] +} +} +}, +"tagBindingCollections": { +"methods": { +"get": { +"description": "Returns tag bindings directly attached to a GCP resource.", +"flatPath": "v3/locations/{locationsId}/tagBindingCollections/{tagBindingCollectionsId}", +"httpMethod": "GET", +"id": "cloudresourcemanager.locations.tagBindingCollections.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The full name of the TagBindingCollection in format: `locations/{location}/tagBindingCollections/{encoded-full-resource-name}` where the enoded-full-resource-name is the UTF-8 encoded name of the resource the TagBindings are bound to. E.g. \"locations/global/tagBindingCollections/%2f%2fcloudresourcemanager.googleapis.com%2fprojects%2f123\"", +"location": "path", +"pattern": "^locations/[^/]+/tagBindingCollections/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3/{+name}", +"response": { +"$ref": "TagBindingCollection" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only" +] +}, +"patch": { +"description": "Updates tag bindings directly attached to a GCP resource. Update_mask can be kept empty or \"*\".", +"flatPath": "v3/locations/{locationsId}/tagBindingCollections/{tagBindingCollectionsId}", +"httpMethod": "PATCH", +"id": "cloudresourcemanager.locations.tagBindingCollections.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Identifier. The name of the TagBindingCollection, following the convention: `locations/{location}/tagBindingCollections/{encoded-full-resource-name}` where the encoded-full-resource-name is the UTF-8 encoded name of the GCP resource the TagBindings are bound to. \"locations/global/tagBindingCollections/%2f%2fcloudresourcemanager.googleapis.com%2fprojects%2f123\"", +"location": "path", +"pattern": "^locations/[^/]+/tagBindingCollections/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Optional. An update mask to selectively update fields.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v3/{+name}", +"request": { +"$ref": "TagBindingCollection" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +}, +"operations": { +"methods": { +"get": { +"description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", +"flatPath": "v3/operations/{operationsId}", +"httpMethod": "GET", +"id": "cloudresourcemanager.operations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource.", +"location": "path", +"pattern": "^operations/.*$", +"required": true, +"type": "string" +} +}, +"path": "v3/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only" +] +} +} +}, +"organizations": { +"methods": { +"get": { +"description": "Fetches an organization resource identified by the specified resource name.", +"flatPath": "v3/organizations/{organizationsId}", +"httpMethod": "GET", +"id": "cloudresourcemanager.organizations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the Organization to fetch. This is the organization's relative path in the API, formatted as \"organizations/[organizationId]\". For example, \"organizations/1234\".", +"location": "path", +"pattern": "^organizations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3/{+name}", +"response": { +"$ref": "Organization" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only" +] +}, +"getIamPolicy": { +"description": "Gets the access control policy for an organization resource. The policy may be empty if no such policy or resource exists. The `resource` field should be the organization's resource name, for example: \"organizations/123\". Authorization requires the IAM permission `resourcemanager.organizations.getIamPolicy` on the specified organization.", +"flatPath": "v3/organizations/{organizationsId}:getIamPolicy", +"httpMethod": "POST", +"id": "cloudresourcemanager.organizations.getIamPolicy", +"parameterOrder": [ +"resource" +], +"parameters": { +"resource": { +"description": "REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", +"location": "path", +"pattern": "^organizations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3/{+resource}:getIamPolicy", +"request": { +"$ref": "GetIamPolicyRequest" +}, +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only" +] +}, +"search": { +"description": "Searches organization resources that are visible to the user and satisfy the specified filter. This method returns organizations in an unspecified order. New organizations do not necessarily appear at the end of the results, and may take a small amount of time to appear. Search will only return organizations on which the user has the permission `resourcemanager.organizations.get` or has super admin privileges.", +"flatPath": "v3/organizations:search", +"httpMethod": "GET", +"id": "cloudresourcemanager.organizations.search", +"parameterOrder": [], +"parameters": { +"pageSize": { +"description": "Optional. The maximum number of organizations to return in the response. The server can return fewer organizations than requested. If unspecified, server picks an appropriate default.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. A pagination token returned from a previous call to `SearchOrganizations` that indicates from where listing should continue.", +"location": "query", +"type": "string" +}, +"query": { +"description": "Optional. An optional query string used to filter the Organizations to return in the response. Query rules are case-insensitive. ``` | Field | Description | |------------------|--------------------------------------------| | directoryCustomerId, owner.directoryCustomerId | Filters by directory customer id. | | domain | Filters by domain. | ``` Organizations may be queried by `directoryCustomerId` or by `domain`, where the domain is a G Suite domain, for example: * Query `directorycustomerid:123456789` returns Organization resources with `owner.directory_customer_id` equal to `123456789`. * Query `domain:google.com` returns Organization resources corresponding to the domain `google.com`.", +"location": "query", +"type": "string" +} +}, +"path": "v3/organizations:search", +"response": { +"$ref": "SearchOrganizationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only" +] +}, +"setIamPolicy": { +"description": "Sets the access control policy on an organization resource. Replaces any existing policy. The `resource` field should be the organization's resource name, for example: \"organizations/123\". Authorization requires the IAM permission `resourcemanager.organizations.setIamPolicy` on the specified organization.", +"flatPath": "v3/organizations/{organizationsId}:setIamPolicy", +"httpMethod": "POST", +"id": "cloudresourcemanager.organizations.setIamPolicy", +"parameterOrder": [ +"resource" +], +"parameters": { +"resource": { +"description": "REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", +"location": "path", +"pattern": "^organizations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3/{+resource}:setIamPolicy", +"request": { +"$ref": "SetIamPolicyRequest" +}, +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"testIamPermissions": { +"description": "Returns the permissions that a caller has on the specified organization. The `resource` field should be the organization's resource name, for example: \"organizations/123\". There are no permissions required for making this API call.", +"flatPath": "v3/organizations/{organizationsId}:testIamPermissions", +"httpMethod": "POST", +"id": "cloudresourcemanager.organizations.testIamPermissions", +"parameterOrder": [ +"resource" +], +"parameters": { +"resource": { +"description": "REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", +"location": "path", +"pattern": "^organizations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3/{+resource}:testIamPermissions", +"request": { +"$ref": "TestIamPermissionsRequest" +}, +"response": { +"$ref": "TestIamPermissionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only" +] +} +} +}, +"projects": { +"methods": { +"create": { +"description": "Request that a new project be created. The result is an `Operation` which can be used to track the creation process. This process usually takes a few seconds, but can sometimes take much longer. The tracking `Operation` is automatically deleted after a few hours, so there is no need to call `DeleteOperation`.", +"flatPath": "v3/projects", +"httpMethod": "POST", +"id": "cloudresourcemanager.projects.create", +"parameterOrder": [], +"parameters": {}, +"path": "v3/projects", +"request": { +"$ref": "Project" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Marks the project identified by the specified `name` (for example, `projects/415104041262`) for deletion. This method will only affect the project if it has a lifecycle state of ACTIVE. This method changes the Project's lifecycle state from ACTIVE to DELETE_REQUESTED. The deletion starts at an unspecified time, at which point the Project is no longer accessible. Until the deletion completes, you can check the lifecycle state checked by retrieving the project with GetProject, and the project remains visible to ListProjects. However, you cannot update the project. After the deletion completes, the project is not retrievable by the GetProject, ListProjects, and SearchProjects methods. The caller must have `resourcemanager.projects.delete` permissions for this project.", +"flatPath": "v3/projects/{projectsId}", +"httpMethod": "DELETE", +"id": "cloudresourcemanager.projects.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the Project (for example, `projects/415104041262`).", +"location": "path", +"pattern": "^projects/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Retrieves the project identified by the specified `name` (for example, `projects/415104041262`). The caller must have `resourcemanager.projects.get` permission for this project.", +"flatPath": "v3/projects/{projectsId}", +"httpMethod": "GET", +"id": "cloudresourcemanager.projects.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the project (for example, `projects/415104041262`).", +"location": "path", +"pattern": "^projects/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3/{+name}", +"response": { +"$ref": "Project" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only" +] +}, +"getIamPolicy": { +"description": "Returns the IAM access control policy for the specified project, in the format `projects/{ProjectIdOrNumber}` e.g. projects/123. Permission is denied if the policy or the resource do not exist.", +"flatPath": "v3/projects/{projectsId}:getIamPolicy", +"httpMethod": "POST", +"id": "cloudresourcemanager.projects.getIamPolicy", +"parameterOrder": [ +"resource" +], +"parameters": { +"resource": { +"description": "REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", +"location": "path", +"pattern": "^projects/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3/{+resource}:getIamPolicy", +"request": { +"$ref": "GetIamPolicyRequest" +}, +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only" +] +}, +"list": { +"description": "Lists projects that are direct children of the specified folder or organization resource. `list()` provides a strongly consistent view of the projects underneath the specified parent resource. `list()` returns projects sorted based upon the (ascending) lexical ordering of their `display_name`. The caller must have `resourcemanager.projects.list` permission on the identified parent.", +"flatPath": "v3/projects", +"httpMethod": "GET", +"id": "cloudresourcemanager.projects.list", +"parameterOrder": [], +"parameters": { +"pageSize": { +"description": "Optional. The maximum number of projects to return in the response. The server can return fewer projects than requested. If unspecified, server picks an appropriate default.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. A pagination token returned from a previous call to ListProjects that indicates from where listing should continue.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The name of the parent resource whose projects are being listed. Only children of this parent resource are listed; descendants are not listed. If the parent is a folder, use the value `folders/{folder_id}`. If the parent is an organization, use the value `organizations/{org_id}`.", +"location": "query", +"type": "string" +}, +"showDeleted": { +"description": "Optional. Indicate that projects in the `DELETE_REQUESTED` state should also be returned. Normally only `ACTIVE` projects are returned.", +"location": "query", +"type": "boolean" +} +}, +"path": "v3/projects", +"response": { +"$ref": "ListProjectsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only" +] +}, +"move": { +"description": "Move a project to another place in your resource hierarchy, under a new resource parent. Returns an operation which can be used to track the process of the project move workflow. Upon success, the `Operation.response` field will be populated with the moved project. The caller must have `resourcemanager.projects.move` permission on the project, on the project's current and proposed new parent. If project has no current parent, or it currently does not have an associated organization resource, you will also need the `resourcemanager.projects.setIamPolicy` permission in the project. ", +"flatPath": "v3/projects/{projectsId}:move", +"httpMethod": "POST", +"id": "cloudresourcemanager.projects.move", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the project to move.", +"location": "path", +"pattern": "^projects/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3/{+name}:move", +"request": { +"$ref": "MoveProjectRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates the `display_name` and labels of the project identified by the specified `name` (for example, `projects/415104041262`). Deleting all labels requires an update mask for labels field. The caller must have `resourcemanager.projects.update` permission for this project.", +"flatPath": "v3/projects/{projectsId}", +"httpMethod": "PATCH", +"id": "cloudresourcemanager.projects.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Output only. The unique resource name of the project. It is an int64 generated number prefixed by \"projects/\". Example: `projects/415104041262`", +"location": "path", +"pattern": "^projects/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Optional. An update mask to selectively update fields.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v3/{+name}", +"request": { +"$ref": "Project" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"search": { +"description": "Search for projects that the caller has the `resourcemanager.projects.get` permission on, and also satisfy the specified query. This method returns projects in an unspecified order. This method is eventually consistent with project mutations; this means that a newly created project may not appear in the results or recent updates to an existing project may not be reflected in the results. To retrieve the latest state of a project, use the GetProject method.", +"flatPath": "v3/projects:search", +"httpMethod": "GET", +"id": "cloudresourcemanager.projects.search", +"parameterOrder": [], +"parameters": { +"pageSize": { +"description": "Optional. The maximum number of projects to return in the response. The server can return fewer projects than requested. If unspecified, server picks an appropriate default.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. A pagination token returned from a previous call to ListProjects that indicates from where listing should continue.", +"location": "query", +"type": "string" +}, +"query": { +"description": "Optional. A query string for searching for projects that the caller has `resourcemanager.projects.get` permission to. If multiple fields are included in the query, then it will return results that match any of the fields. Some eligible fields are: ``` | Field | Description | |-------------------------|----------------------------------------------| | displayName, name | Filters by displayName. | | parent | Project's parent (for example: folders/123, organizations/*). Prefer parent field over parent.type and parent.id.| | parent.type | Parent's type: `folder` or `organization`. | | parent.id | Parent's id number (for example: 123) | | id, projectId | Filters by projectId. | | state, lifecycleState | Filters by state. | | labels | Filters by label name or value. | | labels.\\ (where *key* is the name of a label) | Filters by label name.| ``` Search expressions are case insensitive. Some examples queries: ``` | Query | Description | |------------------|-----------------------------------------------------| | name:how* | The project's name starts with \"how\". | | name:Howl | The project's name is `Howl` or `howl`. | | name:HOWL | Equivalent to above. | | NAME:howl | Equivalent to above. | | labels.color:* | The project has the label `color`. | | labels.color:red | The project's label `color` has the value `red`. | | labels.color:red labels.size:big | The project's label `color` has the value `red` or its label `size` has the value `big`. | ``` If no query is specified, the call will return projects for which the user has the `resourcemanager.projects.get` permission.", +"location": "query", +"type": "string" +} +}, +"path": "v3/projects:search", +"response": { +"$ref": "SearchProjectsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only" +] +}, +"setIamPolicy": { +"description": "Sets the IAM access control policy for the specified project, in the format `projects/{ProjectIdOrNumber}` e.g. projects/123. CAUTION: This method will replace the existing policy, and cannot be used to append additional IAM settings. Note: Removing service accounts from policies or changing their roles can render services completely inoperable. It is important to understand how the service account is being used before removing or updating its roles. The following constraints apply when using `setIamPolicy()`: + Project does not support `allUsers` and `allAuthenticatedUsers` as `members` in a `Binding` of a `Policy`. + The owner role can be granted to a `user`, `serviceAccount`, or a group that is part of an organization. For example, group@myownpersonaldomain.com could be added as an owner to a project in the myownpersonaldomain.com organization, but not the examplepetstore.com organization. + Service accounts can be made owners of a project directly without any restrictions. However, to be added as an owner, a user must be invited using the Cloud Platform console and must accept the invitation. + A user cannot be granted the owner role using `setIamPolicy()`. The user must be granted the owner role using the Cloud Platform Console and must explicitly accept the invitation. + Invitations to grant the owner role cannot be sent using `setIamPolicy()`; they must be sent only using the Cloud Platform Console. + If the project is not part of an organization, there must be at least one owner who has accepted the Terms of Service (ToS) agreement in the policy. Calling `setIamPolicy()` to remove the last ToS-accepted owner from the policy will fail. This restriction also applies to legacy projects that no longer have owners who have accepted the ToS. Edits to IAM policies will be rejected until the lack of a ToS-accepting owner is rectified. If the project is part of an organization, you can remove all owners, potentially making the organization inaccessible.", +"flatPath": "v3/projects/{projectsId}:setIamPolicy", +"httpMethod": "POST", +"id": "cloudresourcemanager.projects.setIamPolicy", +"parameterOrder": [ +"resource" +], +"parameters": { +"resource": { +"description": "REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", +"location": "path", +"pattern": "^projects/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3/{+resource}:setIamPolicy", +"request": { +"$ref": "SetIamPolicyRequest" +}, +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"testIamPermissions": { +"description": "Returns permissions that a caller has on the specified project, in the format `projects/{ProjectIdOrNumber}` e.g. projects/123..", +"flatPath": "v3/projects/{projectsId}:testIamPermissions", +"httpMethod": "POST", +"id": "cloudresourcemanager.projects.testIamPermissions", +"parameterOrder": [ +"resource" +], +"parameters": { +"resource": { +"description": "REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", +"location": "path", +"pattern": "^projects/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3/{+resource}:testIamPermissions", +"request": { +"$ref": "TestIamPermissionsRequest" +}, +"response": { +"$ref": "TestIamPermissionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only" +] +}, +"undelete": { +"description": "Restores the project identified by the specified `name` (for example, `projects/415104041262`). You can only use this method for a project that has a lifecycle state of DELETE_REQUESTED. After deletion starts, the project cannot be restored. The caller must have `resourcemanager.projects.undelete` permission for this project.", +"flatPath": "v3/projects/{projectsId}:undelete", +"httpMethod": "POST", +"id": "cloudresourcemanager.projects.undelete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the project (for example, `projects/415104041262`). Required.", +"location": "path", +"pattern": "^projects/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3/{+name}:undelete", +"request": { +"$ref": "UndeleteProjectRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"tagBindings": { +"methods": { +"create": { +"description": "Creates a TagBinding between a TagValue and a Google Cloud resource.", +"flatPath": "v3/tagBindings", +"httpMethod": "POST", +"id": "cloudresourcemanager.tagBindings.create", +"parameterOrder": [], +"parameters": { +"validateOnly": { +"description": "Optional. Set to true to perform the validations necessary for creating the resource, but not actually perform the action.", +"location": "query", +"type": "boolean" +} +}, +"path": "v3/tagBindings", +"request": { +"$ref": "TagBinding" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a TagBinding.", +"flatPath": "v3/tagBindings/{tagBindingsId}", +"httpMethod": "DELETE", +"id": "cloudresourcemanager.tagBindings.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the TagBinding. This is a String of the form: `tagBindings/{id}` (e.g. `tagBindings/%2F%2Fcloudresourcemanager.googleapis.com%2Fprojects%2F123/tagValues/456`).", +"location": "path", +"pattern": "^tagBindings/.*$", +"required": true, +"type": "string" +} +}, +"path": "v3/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists the TagBindings for the given Google Cloud resource, as specified with `parent`. NOTE: The `parent` field is expected to be a full resource name: https://cloud.google.com/apis/design/resource_names#full_resource_name", +"flatPath": "v3/tagBindings", +"httpMethod": "GET", +"id": "cloudresourcemanager.tagBindings.list", +"parameterOrder": [], +"parameters": { +"pageSize": { +"description": "Optional. The maximum number of TagBindings to return in the response. The server allows a maximum of 300 TagBindings to return. If unspecified, the server will use 100 as the default.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. A pagination token returned from a previous call to `ListTagBindings` that indicates where this listing should continue from.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The full resource name of a resource for which you want to list existing TagBindings. E.g. \"//cloudresourcemanager.googleapis.com/projects/123\"", +"location": "query", +"type": "string" +} +}, +"path": "v3/tagBindings", +"response": { +"$ref": "ListTagBindingsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only" +] +} +} +}, +"tagKeys": { +"methods": { +"create": { +"description": "Creates a new TagKey. If another request with the same parameters is sent while the original request is in process, the second request will receive an error. A maximum of 1000 TagKeys can exist under a parent at any given time.", +"flatPath": "v3/tagKeys", +"httpMethod": "POST", +"id": "cloudresourcemanager.tagKeys.create", +"parameterOrder": [], +"parameters": { +"validateOnly": { +"description": "Optional. Set to true to perform validations necessary for creating the resource, but not actually perform the action.", +"location": "query", +"type": "boolean" +} +}, +"path": "v3/tagKeys", +"request": { +"$ref": "TagKey" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a TagKey. The TagKey cannot be deleted if it has any child TagValues.", +"flatPath": "v3/tagKeys/{tagKeysId}", +"httpMethod": "DELETE", +"id": "cloudresourcemanager.tagKeys.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"etag": { +"description": "Optional. The etag known to the client for the expected state of the TagKey. This is to be used for optimistic concurrency.", +"location": "query", +"type": "string" +}, +"name": { +"description": "Required. The resource name of a TagKey to be deleted in the format `tagKeys/123`. The TagKey cannot be a parent of any existing TagValues or it will not be deleted successfully.", +"location": "path", +"pattern": "^tagKeys/[^/]+$", +"required": true, +"type": "string" +}, +"validateOnly": { +"description": "Optional. Set as true to perform validations necessary for deletion, but not actually perform the action.", +"location": "query", +"type": "boolean" +} +}, +"path": "v3/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Retrieves a TagKey. This method will return `PERMISSION_DENIED` if the key does not exist or the user does not have permission to view it.", +"flatPath": "v3/tagKeys/{tagKeysId}", +"httpMethod": "GET", +"id": "cloudresourcemanager.tagKeys.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. A resource name in the format `tagKeys/{id}`, such as `tagKeys/123`.", +"location": "path", +"pattern": "^tagKeys/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3/{+name}", +"response": { +"$ref": "TagKey" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only" +] +}, +"getIamPolicy": { +"description": "Gets the access control policy for a TagKey. The returned policy may be empty if no such policy or resource exists. The `resource` field should be the TagKey's resource name. For example, \"tagKeys/1234\". The caller must have `cloudresourcemanager.googleapis.com/tagKeys.getIamPolicy` permission on the specified TagKey.", +"flatPath": "v3/tagKeys/{tagKeysId}:getIamPolicy", +"httpMethod": "POST", +"id": "cloudresourcemanager.tagKeys.getIamPolicy", +"parameterOrder": [ +"resource" +], +"parameters": { +"resource": { +"description": "REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", +"location": "path", +"pattern": "^tagKeys/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3/{+resource}:getIamPolicy", +"request": { +"$ref": "GetIamPolicyRequest" +}, +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only" +] +}, +"getNamespaced": { +"description": "Retrieves a TagKey by its namespaced name. This method will return `PERMISSION_DENIED` if the key does not exist or the user does not have permission to view it.", +"flatPath": "v3/tagKeys/namespaced", +"httpMethod": "GET", +"id": "cloudresourcemanager.tagKeys.getNamespaced", +"parameterOrder": [], +"parameters": { +"name": { +"description": "Required. A namespaced tag key name in the format `{parentId}/{tagKeyShort}`, such as `42/foo` for a key with short name \"foo\" under the organization with ID 42 or `r2-d2/bar` for a key with short name \"bar\" under the project `r2-d2`.", +"location": "query", +"type": "string" +} +}, +"path": "v3/tagKeys/namespaced", +"response": { +"$ref": "TagKey" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only" +] +}, +"list": { +"description": "Lists all TagKeys for a parent resource.", +"flatPath": "v3/tagKeys", +"httpMethod": "GET", +"id": "cloudresourcemanager.tagKeys.list", +"parameterOrder": [], +"parameters": { +"pageSize": { +"description": "Optional. The maximum number of TagKeys to return in the response. The server allows a maximum of 300 TagKeys to return. If unspecified, the server will use 100 as the default.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. A pagination token returned from a previous call to `ListTagKey` that indicates where this listing should continue from.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The resource name of the TagKey's parent. Must be of the form `organizations/{org_id}` or `projects/{project_id}` or `projects/{project_number}`", +"location": "query", +"type": "string" +} +}, +"path": "v3/tagKeys", +"response": { +"$ref": "ListTagKeysResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only" +] +}, +"patch": { +"description": "Updates the attributes of the TagKey resource.", +"flatPath": "v3/tagKeys/{tagKeysId}", +"httpMethod": "PATCH", +"id": "cloudresourcemanager.tagKeys.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Immutable. The resource name for a TagKey. Must be in the format `tagKeys/{tag_key_id}`, where `tag_key_id` is the generated numeric id for the TagKey.", +"location": "path", +"pattern": "^tagKeys/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Fields to be updated. The mask may only contain `description` or `etag`. If omitted entirely, both `description` and `etag` are assumed to be significant.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +}, +"validateOnly": { +"description": "Set as true to perform validations necessary for updating the resource, but not actually perform the action.", +"location": "query", +"type": "boolean" +} +}, +"path": "v3/{+name}", +"request": { +"$ref": "TagKey" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"setIamPolicy": { +"description": "Sets the access control policy on a TagKey, replacing any existing policy. The `resource` field should be the TagKey's resource name. For example, \"tagKeys/1234\". The caller must have `resourcemanager.tagKeys.setIamPolicy` permission on the identified tagValue.", +"flatPath": "v3/tagKeys/{tagKeysId}:setIamPolicy", +"httpMethod": "POST", +"id": "cloudresourcemanager.tagKeys.setIamPolicy", +"parameterOrder": [ +"resource" +], +"parameters": { +"resource": { +"description": "REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", +"location": "path", +"pattern": "^tagKeys/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3/{+resource}:setIamPolicy", +"request": { +"$ref": "SetIamPolicyRequest" +}, +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"testIamPermissions": { +"description": "Returns permissions that a caller has on the specified TagKey. The `resource` field should be the TagKey's resource name. For example, \"tagKeys/1234\". There are no permissions required for making this API call.", +"flatPath": "v3/tagKeys/{tagKeysId}:testIamPermissions", +"httpMethod": "POST", +"id": "cloudresourcemanager.tagKeys.testIamPermissions", +"parameterOrder": [ +"resource" +], +"parameters": { +"resource": { +"description": "REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", +"location": "path", +"pattern": "^tagKeys/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3/{+resource}:testIamPermissions", +"request": { +"$ref": "TestIamPermissionsRequest" +}, +"response": { +"$ref": "TestIamPermissionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"tagValues": { +"methods": { +"create": { +"description": "Creates a TagValue as a child of the specified TagKey. If a another request with the same parameters is sent while the original request is in process the second request will receive an error. A maximum of 1000 TagValues can exist under a TagKey at any given time.", +"flatPath": "v3/tagValues", +"httpMethod": "POST", +"id": "cloudresourcemanager.tagValues.create", +"parameterOrder": [], +"parameters": { +"validateOnly": { +"description": "Optional. Set as true to perform the validations necessary for creating the resource, but not actually perform the action.", +"location": "query", +"type": "boolean" +} +}, +"path": "v3/tagValues", +"request": { +"$ref": "TagValue" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a TagValue. The TagValue cannot have any bindings when it is deleted.", +"flatPath": "v3/tagValues/{tagValuesId}", +"httpMethod": "DELETE", +"id": "cloudresourcemanager.tagValues.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"etag": { +"description": "Optional. The etag known to the client for the expected state of the TagValue. This is to be used for optimistic concurrency.", +"location": "query", +"type": "string" +}, +"name": { +"description": "Required. Resource name for TagValue to be deleted in the format tagValues/456.", +"location": "path", +"pattern": "^tagValues/[^/]+$", +"required": true, +"type": "string" +}, +"validateOnly": { +"description": "Optional. Set as true to perform the validations necessary for deletion, but not actually perform the action.", +"location": "query", +"type": "boolean" +} +}, +"path": "v3/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Retrieves a TagValue. This method will return `PERMISSION_DENIED` if the value does not exist or the user does not have permission to view it.", +"flatPath": "v3/tagValues/{tagValuesId}", +"httpMethod": "GET", +"id": "cloudresourcemanager.tagValues.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Resource name for TagValue to be fetched in the format `tagValues/456`.", +"location": "path", +"pattern": "^tagValues/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3/{+name}", +"response": { +"$ref": "TagValue" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only" +] +}, +"getIamPolicy": { +"description": "Gets the access control policy for a TagValue. The returned policy may be empty if no such policy or resource exists. The `resource` field should be the TagValue's resource name. For example: `tagValues/1234`. The caller must have the `cloudresourcemanager.googleapis.com/tagValues.getIamPolicy` permission on the identified TagValue to get the access control policy.", +"flatPath": "v3/tagValues/{tagValuesId}:getIamPolicy", +"httpMethod": "POST", +"id": "cloudresourcemanager.tagValues.getIamPolicy", +"parameterOrder": [ +"resource" +], +"parameters": { +"resource": { +"description": "REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", +"location": "path", +"pattern": "^tagValues/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3/{+resource}:getIamPolicy", +"request": { +"$ref": "GetIamPolicyRequest" +}, +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only" +] +}, +"getNamespaced": { +"description": "Retrieves a TagValue by its namespaced name. This method will return `PERMISSION_DENIED` if the value does not exist or the user does not have permission to view it.", +"flatPath": "v3/tagValues/namespaced", +"httpMethod": "GET", +"id": "cloudresourcemanager.tagValues.getNamespaced", +"parameterOrder": [], +"parameters": { +"name": { +"description": "Required. A namespaced tag value name in the following format: `{parentId}/{tagKeyShort}/{tagValueShort}` Examples: - `42/foo/abc` for a value with short name \"abc\" under the key with short name \"foo\" under the organization with ID 42 - `r2-d2/bar/xyz` for a value with short name \"xyz\" under the key with short name \"bar\" under the project with ID \"r2-d2\"", +"location": "query", +"type": "string" +} +}, +"path": "v3/tagValues/namespaced", +"response": { +"$ref": "TagValue" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only" +] +}, +"list": { +"description": "Lists all TagValues for a specific TagKey.", +"flatPath": "v3/tagValues", +"httpMethod": "GET", +"id": "cloudresourcemanager.tagValues.list", +"parameterOrder": [], +"parameters": { +"pageSize": { +"description": "Optional. The maximum number of TagValues to return in the response. The server allows a maximum of 300 TagValues to return. If unspecified, the server will use 100 as the default.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. A pagination token returned from a previous call to `ListTagValues` that indicates where this listing should continue from.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. Resource name for the parent of the TagValues to be listed, in the format `tagKeys/123` or `tagValues/123`.", +"location": "query", +"type": "string" +} +}, +"path": "v3/tagValues", +"response": { +"$ref": "ListTagValuesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only" +] +}, +"patch": { +"description": "Updates the attributes of the TagValue resource.", +"flatPath": "v3/tagValues/{tagValuesId}", +"httpMethod": "PATCH", +"id": "cloudresourcemanager.tagValues.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Immutable. Resource name for TagValue in the format `tagValues/456`.", +"location": "path", +"pattern": "^tagValues/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Optional. Fields to be updated.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +}, +"validateOnly": { +"description": "Optional. True to perform validations necessary for updating the resource, but not actually perform the action.", +"location": "query", +"type": "boolean" +} +}, +"path": "v3/{+name}", +"request": { +"$ref": "TagValue" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"setIamPolicy": { +"description": "Sets the access control policy on a TagValue, replacing any existing policy. The `resource` field should be the TagValue's resource name. For example: `tagValues/1234`. The caller must have `resourcemanager.tagValues.setIamPolicy` permission on the identified tagValue.", +"flatPath": "v3/tagValues/{tagValuesId}:setIamPolicy", +"httpMethod": "POST", +"id": "cloudresourcemanager.tagValues.setIamPolicy", +"parameterOrder": [ +"resource" +], +"parameters": { +"resource": { +"description": "REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", +"location": "path", +"pattern": "^tagValues/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3/{+resource}:setIamPolicy", +"request": { +"$ref": "SetIamPolicyRequest" +}, +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"testIamPermissions": { +"description": "Returns permissions that a caller has on the specified TagValue. The `resource` field should be the TagValue's resource name. For example: `tagValues/1234`. There are no permissions required for making this API call.", +"flatPath": "v3/tagValues/{tagValuesId}:testIamPermissions", +"httpMethod": "POST", +"id": "cloudresourcemanager.tagValues.testIamPermissions", +"parameterOrder": [ +"resource" +], +"parameters": { +"resource": { +"description": "REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", +"location": "path", +"pattern": "^tagValues/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3/{+resource}:testIamPermissions", +"request": { +"$ref": "TestIamPermissionsRequest" +}, +"response": { +"$ref": "TestIamPermissionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"tagHolds": { +"methods": { +"create": { +"description": "Creates a TagHold. Returns ALREADY_EXISTS if a TagHold with the same resource and origin exists under the same TagValue.", +"flatPath": "v3/tagValues/{tagValuesId}/tagHolds", +"httpMethod": "POST", +"id": "cloudresourcemanager.tagValues.tagHolds.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The resource name of the TagHold's parent TagValue. Must be of the form: `tagValues/{tag-value-id}`.", +"location": "path", +"pattern": "^tagValues/[^/]+$", +"required": true, +"type": "string" +}, +"validateOnly": { +"description": "Optional. Set to true to perform the validations necessary for creating the resource, but not actually perform the action.", +"location": "query", +"type": "boolean" +} +}, +"path": "v3/{+parent}/tagHolds", +"request": { +"$ref": "TagHold" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a TagHold.", +"flatPath": "v3/tagValues/{tagValuesId}/tagHolds/{tagHoldsId}", +"httpMethod": "DELETE", +"id": "cloudresourcemanager.tagValues.tagHolds.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the TagHold to delete. Must be of the form: `tagValues/{tag-value-id}/tagHolds/{tag-hold-id}`.", +"location": "path", +"pattern": "^tagValues/[^/]+/tagHolds/[^/]+$", +"required": true, +"type": "string" +}, +"validateOnly": { +"description": "Optional. Set to true to perform the validations necessary for deleting the resource, but not actually perform the action.", +"location": "query", +"type": "boolean" +} +}, +"path": "v3/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists TagHolds under a TagValue.", +"flatPath": "v3/tagValues/{tagValuesId}/tagHolds", +"httpMethod": "GET", +"id": "cloudresourcemanager.tagValues.tagHolds.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Optional. Criteria used to select a subset of TagHolds parented by the TagValue to return. This field follows the syntax defined by aip.dev/160; the `holder` and `origin` fields are supported for filtering. Currently only `AND` syntax is supported. Some example queries are: * `holder = //compute.googleapis.com/compute/projects/myproject/regions/us-east-1/instanceGroupManagers/instance-group` * `origin = 35678234` * `holder = //compute.googleapis.com/compute/projects/myproject/regions/us-east-1/instanceGroupManagers/instance-group AND origin = 35678234`", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Optional. The maximum number of TagHolds to return in the response. The server allows a maximum of 300 TagHolds to return. If unspecified, the server will use 100 as the default.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. A pagination token returned from a previous call to `ListTagHolds` that indicates where this listing should continue from.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The resource name of the parent TagValue. Must be of the form: `tagValues/{tag-value-id}`.", +"location": "path", +"pattern": "^tagValues/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3/{+parent}/tagHolds", +"response": { +"$ref": "ListTagHoldsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only" +] +} +} +} +} +} +}, +"revision": "20260218", +"rootUrl": "https://cloudresourcemanager.googleapis.com/", +"schemas": { +"AuditConfig": { +"description": "Specifies the audit configuration for a service. The configuration determines which permission types are logged, and what identities, if any, are exempted from logging. An AuditConfig must have one or more AuditLogConfigs. If there are AuditConfigs for both `allServices` and a specific service, the union of the two AuditConfigs is used for that service: the log_types specified in each AuditConfig are enabled, and the exempted_members in each AuditLogConfig are exempted. Example Policy with multiple AuditConfigs: { \"audit_configs\": [ { \"service\": \"allServices\", \"audit_log_configs\": [ { \"log_type\": \"DATA_READ\", \"exempted_members\": [ \"user:jose@example.com\" ] }, { \"log_type\": \"DATA_WRITE\" }, { \"log_type\": \"ADMIN_READ\" } ] }, { \"service\": \"sampleservice.googleapis.com\", \"audit_log_configs\": [ { \"log_type\": \"DATA_READ\" }, { \"log_type\": \"DATA_WRITE\", \"exempted_members\": [ \"user:aliya@example.com\" ] } ] } ] } For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also exempts `jose@example.com` from DATA_READ logging, and `aliya@example.com` from DATA_WRITE logging.", +"id": "AuditConfig", +"properties": { +"auditLogConfigs": { +"description": "The configuration for logging of each type of permission.", +"items": { +"$ref": "AuditLogConfig" +}, +"type": "array" +}, +"service": { +"description": "Specifies a service that will be enabled for audit logging. For example, `storage.googleapis.com`, `cloudsql.googleapis.com`. `allServices` is a special value that covers all services.", +"type": "string" +} +}, +"type": "object" +}, +"AuditLogConfig": { +"description": "Provides the configuration for logging a type of permissions. Example: { \"audit_log_configs\": [ { \"log_type\": \"DATA_READ\", \"exempted_members\": [ \"user:jose@example.com\" ] }, { \"log_type\": \"DATA_WRITE\" } ] } This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting jose@example.com from DATA_READ logging.", +"id": "AuditLogConfig", +"properties": { +"exemptedMembers": { +"description": "Specifies the identities that do not cause logging for this type of permission. Follows the same format of Binding.members.", +"items": { +"type": "string" +}, +"type": "array" +}, +"logType": { +"description": "The log type that this config enables.", +"enum": [ +"LOG_TYPE_UNSPECIFIED", +"ADMIN_READ", +"DATA_WRITE", +"DATA_READ" +], +"enumDescriptions": [ +"Default case. Should never be this.", +"Admin reads. Example: CloudIAM getIamPolicy", +"Data writes. Example: CloudSQL Users create", +"Data reads. Example: CloudSQL Users list" +], +"type": "string" +} +}, +"type": "object" +}, +"Binding": { +"description": "Associates `members`, or principals, with a `role`.", +"id": "Binding", +"properties": { +"condition": { +"$ref": "Expr", +"description": "The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies)." +}, +"members": { +"description": "Specifies the principals requesting access for a Google Cloud resource. `members` can have the following values: * `allUsers`: A special identifier that represents anyone who is on the internet; with or without a Google account. * `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service account. Does not include identities that come from external identity providers (IdPs) through identity federation. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `group:{emailid}`: An email address that represents a Google group. For example, `admins@example.com`. * `domain:{domain}`: The G Suite domain (primary) that represents all the users of that domain. For example, `google.com` or `example.com`. * `principal://iam.googleapis.com/locations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}`: A single identity in a workforce identity pool. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/group/{group_id}`: All workforce identities in a group. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/attribute.{attribute_name}/{attribute_value}`: All workforce identities with a specific attribute value. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/*`: All identities in a workforce identity pool. * `principal://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/subject/{subject_attribute_value}`: A single identity in a workload identity pool. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/group/{group_id}`: A workload identity pool group. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/attribute.{attribute_name}/{attribute_value}`: All identities in a workload identity pool with a certain attribute. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/*`: All identities in a workload identity pool. * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a user that has been recently deleted. For example, `alice@example.com?uid=123456789012345678901`. If the user is recovered, this value reverts to `user:{emailid}` and the recovered user retains the role in the binding. * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a service account that has been recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the service account is undeleted, this value reverts to `serviceAccount:{emailid}` and the undeleted service account retains the role in the binding. * `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a Google group that has been recently deleted. For example, `admins@example.com?uid=123456789012345678901`. If the group is recovered, this value reverts to `group:{emailid}` and the recovered group retains the role in the binding. * `deleted:principal://iam.googleapis.com/locations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}`: Deleted single identity in a workforce identity pool. For example, `deleted:principal://iam.googleapis.com/locations/global/workforcePools/my-pool-id/subject/my-subject-attribute-value`.", +"items": { +"type": "string" +}, +"type": "array" +}, +"role": { +"description": "Role that is assigned to the list of `members`, or principals. For example, `roles/viewer`, `roles/editor`, or `roles/owner`. For an overview of the IAM roles and permissions, see the [IAM documentation](https://cloud.google.com/iam/docs/roles-overview). For a list of the available pre-defined roles, see [here](https://cloud.google.com/iam/docs/understanding-roles).", +"type": "string" +} +}, +"type": "object" +}, +"Capability": { +"description": "Representation of a Capability.", +"id": "Capability", +"properties": { +"name": { +"description": "Immutable. Identifier. The resource name of the capability. Must be in the following form: * `folders/{folder_id}/capabilities/{capability_name}` For example, `folders/123/capabilities/app-management` Following are the allowed {capability_name} values: * `app-management`", +"type": "string" +}, +"value": { +"description": "Required. The configured value of the capability at the given parent resource.", +"type": "boolean" +} +}, +"type": "object" +}, +"CloudresourcemanagerGoogleCloudResourcemanagerV2alpha1FolderOperation": { +"description": "Metadata describing a long running folder operation", +"id": "CloudresourcemanagerGoogleCloudResourcemanagerV2alpha1FolderOperation", +"properties": { +"destinationParent": { +"description": "The resource name of the folder or organization we are either creating the folder under or moving the folder to.", +"type": "string" +}, +"displayName": { +"description": "The display name of the folder.", +"type": "string" +}, +"operationType": { +"description": "The type of this operation.", +"enum": [ +"OPERATION_TYPE_UNSPECIFIED", +"CREATE", +"MOVE" +], +"enumDescriptions": [ +"Operation type not specified.", +"A create folder operation.", +"A move folder operation." +], +"type": "string" +}, +"sourceParent": { +"description": "The resource name of the folder's parent. Only applicable when the operation_type is MOVE.", +"type": "string" +} +}, +"type": "object" +}, +"CloudresourcemanagerGoogleCloudResourcemanagerV2beta1FolderOperation": { +"description": "Metadata describing a long running folder operation", +"id": "CloudresourcemanagerGoogleCloudResourcemanagerV2beta1FolderOperation", +"properties": { +"destinationParent": { +"description": "The resource name of the folder or organization we are either creating the folder under or moving the folder to.", +"type": "string" +}, +"displayName": { +"description": "The display name of the folder.", +"type": "string" +}, +"operationType": { +"description": "The type of this operation.", +"enum": [ +"OPERATION_TYPE_UNSPECIFIED", +"CREATE", +"MOVE" +], +"enumDescriptions": [ +"Operation type not specified.", +"A create folder operation.", +"A move folder operation." +], +"type": "string" +}, +"sourceParent": { +"description": "The resource name of the folder's parent. Only applicable when the operation_type is MOVE.", +"type": "string" +} +}, +"type": "object" +}, +"CreateFolderMetadata": { +"description": "Metadata pertaining to the Folder creation process.", +"id": "CreateFolderMetadata", +"properties": { +"displayName": { +"description": "The display name of the folder.", +"type": "string" +}, +"parent": { +"description": "The resource name of the folder or organization we are creating the folder under.", +"type": "string" +} +}, +"type": "object" +}, +"CreateProjectMetadata": { +"description": "A status object which is used as the `metadata` field for the Operation returned by CreateProject. It provides insight for when significant phases of Project creation have completed.", +"id": "CreateProjectMetadata", +"properties": { +"createTime": { +"description": "Creation time of the project creation workflow.", +"format": "google-datetime", +"type": "string" +}, +"gettable": { +"description": "True if the project can be retrieved using `GetProject`. No other operations on the project are guaranteed to work until the project creation is complete.", +"type": "boolean" +}, +"ready": { +"description": "True if the project creation process is complete.", +"type": "boolean" +} +}, +"type": "object" +}, +"CreateTagBindingMetadata": { +"description": "Runtime operation information for creating a TagValue.", +"id": "CreateTagBindingMetadata", +"properties": {}, +"type": "object" +}, +"CreateTagKeyMetadata": { +"description": "Runtime operation information for creating a TagKey.", +"id": "CreateTagKeyMetadata", +"properties": {}, +"type": "object" +}, +"CreateTagValueMetadata": { +"description": "Runtime operation information for creating a TagValue.", +"id": "CreateTagValueMetadata", +"properties": {}, +"type": "object" +}, +"DeleteFolderMetadata": { +"description": "A status object which is used as the `metadata` field for the `Operation` returned by `DeleteFolder`.", +"id": "DeleteFolderMetadata", +"properties": {}, +"type": "object" +}, +"DeleteOrganizationMetadata": { +"description": "A status object which is used as the `metadata` field for the operation returned by DeleteOrganization.", +"id": "DeleteOrganizationMetadata", +"properties": {}, +"type": "object" +}, +"DeleteProjectMetadata": { +"description": "A status object which is used as the `metadata` field for the Operation returned by `DeleteProject`.", +"id": "DeleteProjectMetadata", +"properties": {}, +"type": "object" +}, +"DeleteTagBindingMetadata": { +"description": "Runtime operation information for deleting a TagBinding.", +"id": "DeleteTagBindingMetadata", +"properties": {}, +"type": "object" +}, +"DeleteTagKeyMetadata": { +"description": "Runtime operation information for deleting a TagKey.", +"id": "DeleteTagKeyMetadata", +"properties": {}, +"type": "object" +}, +"DeleteTagValueMetadata": { +"description": "Runtime operation information for deleting a TagValue.", +"id": "DeleteTagValueMetadata", +"properties": {}, +"type": "object" +}, +"EffectiveTag": { +"description": "An EffectiveTag represents a tag that applies to a resource during policy evaluation. Tags can be either directly bound to a resource or inherited from its ancestor. EffectiveTag contains the name and namespaced_name of the tag value and tag key, with additional fields of `inherited` to indicate the inheritance status of the effective tag.", +"id": "EffectiveTag", +"properties": { +"inherited": { +"description": "Indicates the inheritance status of a tag value attached to the given resource. If the tag value is inherited from one of the resource's ancestors, inherited will be true. If false, then the tag value is directly attached to the resource, inherited will be false.", +"type": "boolean" +}, +"namespacedTagKey": { +"description": "The namespaced name of the TagKey. Can be in the form `{organization_id}/{tag_key_short_name}` or `{project_id}/{tag_key_short_name}` or `{project_number}/{tag_key_short_name}`.", +"type": "string" +}, +"namespacedTagValue": { +"description": "The namespaced name of the TagValue. Can be in the form `{organization_id}/{tag_key_short_name}/{tag_value_short_name}` or `{project_id}/{tag_key_short_name}/{tag_value_short_name}` or `{project_number}/{tag_key_short_name}/{tag_value_short_name}`.", +"type": "string" +}, +"tagKey": { +"description": "The name of the TagKey, in the format `tagKeys/{id}`, such as `tagKeys/123`.", +"type": "string" +}, +"tagKeyParentName": { +"description": "The parent name of the tag key. Must be in the format `organizations/{organization_id}` or `projects/{project_number}`", +"type": "string" +}, +"tagValue": { +"description": "Resource name for TagValue in the format `tagValues/456`.", +"type": "string" +} +}, +"type": "object" +}, +"EffectiveTagBindingCollection": { +"description": "Represents a collection of effective tag bindings for a GCP resource.", +"id": "EffectiveTagBindingCollection", +"properties": { +"effectiveTags": { +"additionalProperties": { +"type": "string" +}, +"description": "Tag keys/values effectively bound to this resource, specified in namespaced format. For example: \"123/environment\": \"production\"", +"type": "object" +}, +"fullResourceName": { +"description": "The full resource name of the resource the TagBindings are bound to. E.g. `//cloudresourcemanager.googleapis.com/projects/123`", +"type": "string" +}, +"name": { +"description": "Identifier. The name of the EffectiveTagBindingCollection, following the convention: `locations/{location}/effectiveTagBindingCollections/{encoded-full-resource-name}` where the encoded-full-resource-name is the UTF-8 encoded name of the GCP resource the TagBindings are bound to. E.g. \"locations/global/effectiveTagBindingCollections/%2f%2fcloudresourcemanager.googleapis.com%2fprojects%2f123\"", +"type": "string" +} +}, +"type": "object" +}, +"Empty": { +"description": "A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }", +"id": "Empty", +"properties": {}, +"type": "object" +}, +"Expr": { +"description": "Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: \"Summary size limit\" description: \"Determines if a summary is less than 100 chars\" expression: \"document.summary.size() < 100\" Example (Equality): title: \"Requestor is owner\" description: \"Determines if requestor is the document owner\" expression: \"document.owner == request.auth.claims.email\" Example (Logic): title: \"Public documents\" description: \"Determine whether the document should be publicly visible\" expression: \"document.type != 'private' && document.type != 'internal'\" Example (Data Manipulation): title: \"Notification string\" description: \"Create a notification string with a timestamp.\" expression: \"'New message received at ' + string(document.create_time)\" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information.", +"id": "Expr", +"properties": { +"description": { +"description": "Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI.", +"type": "string" +}, +"expression": { +"description": "Textual representation of an expression in Common Expression Language syntax.", +"type": "string" +}, +"location": { +"description": "Optional. String indicating the location of the expression for error reporting, e.g. a file name and a position in the file.", +"type": "string" +}, +"title": { +"description": "Optional. Title for the expression, i.e. a short string describing its purpose. This can be used e.g. in UIs which allow to enter the expression.", +"type": "string" +} +}, +"type": "object" +}, +"Folder": { +"description": "A folder in an organization's resource hierarchy, used to organize that organization's resources.", +"id": "Folder", +"properties": { +"configuredCapabilities": { +"description": "Output only. Optional capabilities configured for this folder (via UpdateCapability API). Example: `folders/123/capabilities/app-management`.", +"items": { +"type": "string" +}, +"readOnly": true, +"type": "array" +}, +"createTime": { +"description": "Output only. Timestamp when the folder was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"deleteTime": { +"description": "Output only. Timestamp when the folder was requested to be deleted.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"displayName": { +"description": "The folder's display name. A folder's display name must be unique amongst its siblings. For example, no two folders with the same parent can share the same display name. The display name must start and end with a letter or digit, may contain letters, digits, spaces, hyphens and underscores and can be no longer than 30 characters. This is captured by the regular expression: `[\\p{L}\\p{N}]([\\p{L}\\p{N}_- ]{0,28}[\\p{L}\\p{N}])?`.", +"type": "string" +}, +"etag": { +"description": "Output only. A checksum computed by the server based on the current value of the folder resource. This may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.", +"readOnly": true, +"type": "string" +}, +"managementProject": { +"description": "Output only. Management Project associated with this folder (if app-management capability is enabled). Example: `projects/google-mp-123` OUTPUT ONLY.", +"readOnly": true, +"type": "string" +}, +"name": { +"description": "Identifier. The resource name of the folder. Its format is `folders/{folder_id}`, for example: \"folders/1234\".", +"type": "string" +}, +"parent": { +"description": "Required. The folder's parent's resource name. Updates to the folder's parent must be performed using MoveFolder.", +"type": "string" +}, +"state": { +"description": "Output only. The lifecycle state of the folder. Updates to the state must be performed using DeleteFolder and UndeleteFolder.", +"enum": [ +"STATE_UNSPECIFIED", +"ACTIVE", +"DELETE_REQUESTED" +], +"enumDescriptions": [ +"Unspecified state.", +"The normal and active state.", +"The folder has been marked for deletion by the user." +], +"readOnly": true, +"type": "string" +}, +"tags": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. Input only. Immutable. Tag keys/values directly bound to this folder. Each item in the map must be expressed as \" : \". For example: \"123/environment\" : \"production\", \"123/costCenter\" : \"marketing\" Note: Currently this field is in Preview.", +"type": "object" +}, +"updateTime": { +"description": "Output only. Timestamp when the folder was last modified.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"FolderOperation": { +"description": "Metadata describing a long running folder operation", +"id": "FolderOperation", +"properties": { +"destinationParent": { +"description": "The resource name of the folder or organization we are either creating the folder under or moving the folder to.", +"type": "string" +}, +"displayName": { +"description": "The display name of the folder.", +"type": "string" +}, +"operationType": { +"description": "The type of this operation.", +"enum": [ +"OPERATION_TYPE_UNSPECIFIED", +"CREATE", +"MOVE" +], +"enumDescriptions": [ +"Operation type not specified.", +"A create folder operation.", +"A move folder operation." +], +"type": "string" +}, +"sourceParent": { +"description": "The resource name of the folder's parent. Only applicable when the operation_type is MOVE.", +"type": "string" +} +}, +"type": "object" +}, +"FolderOperationError": { +"description": "A classification of the Folder Operation error.", +"id": "FolderOperationError", +"properties": { +"errorMessageId": { +"description": "The type of operation error experienced.", +"enum": [ +"ERROR_TYPE_UNSPECIFIED", +"ACTIVE_FOLDER_HEIGHT_VIOLATION", +"MAX_CHILD_FOLDERS_VIOLATION", +"FOLDER_NAME_UNIQUENESS_VIOLATION", +"RESOURCE_DELETED_VIOLATION", +"PARENT_DELETED_VIOLATION", +"CYCLE_INTRODUCED_VIOLATION", +"FOLDER_BEING_MOVED_VIOLATION", +"FOLDER_TO_DELETE_NON_EMPTY_VIOLATION", +"DELETED_FOLDER_HEIGHT_VIOLATION", +"FOLDER_TO_DELETE_CONFIGURED_CAPABILITY_VIOLATION" +], +"enumDescriptions": [ +"The error type was unrecognized or unspecified.", +"The attempted action would violate the max folder depth constraint.", +"The attempted action would violate the max child folders constraint.", +"The attempted action would violate the locally-unique folder display_name constraint.", +"The resource being moved has been deleted.", +"The resource a folder was being added to has been deleted.", +"The attempted action would introduce cycle in resource path.", +"The attempted action would move a folder that is already being moved.", +"The folder the caller is trying to delete contains active resources.", +"The attempted action would violate the max deleted folder depth constraint.", +"The folder being deleted has a configured capability." +], +"type": "string" +} +}, +"type": "object" +}, +"GetIamPolicyRequest": { +"description": "Request message for `GetIamPolicy` method.", +"id": "GetIamPolicyRequest", +"properties": { +"options": { +"$ref": "GetPolicyOptions", +"description": "OPTIONAL: A `GetPolicyOptions` object for specifying options to `GetIamPolicy`." +} +}, +"type": "object" +}, +"GetPolicyOptions": { +"description": "Encapsulates settings provided to GetIamPolicy.", +"id": "GetPolicyOptions", +"properties": { +"requestedPolicyVersion": { +"description": "Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"Lien": { +"description": "A Lien represents an encumbrance on the actions that can be performed on a resource.", +"id": "Lien", +"properties": { +"createTime": { +"description": "The creation time of this Lien.", +"format": "google-datetime", +"type": "string" +}, +"name": { +"description": "A system-generated unique identifier for this Lien. Example: `liens/1234abcd`", +"type": "string" +}, +"origin": { +"description": "A stable, user-visible/meaningful string identifying the origin of the Lien, intended to be inspected programmatically. Maximum length of 200 characters. Example: 'compute.googleapis.com'", +"type": "string" +}, +"parent": { +"description": "A reference to the resource this Lien is attached to. The server will validate the parent against those for which Liens are supported. Example: `projects/1234`", +"type": "string" +}, +"reason": { +"description": "Concise user-visible strings indicating why an action cannot be performed on a resource. Maximum length of 200 characters. Example: 'Holds production API key'", +"type": "string" +}, +"restrictions": { +"description": "The types of operations which should be blocked as a result of this Lien. Each value should correspond to an IAM permission. The server will validate the permissions against those for which Liens are supported. An empty list is meaningless and will be rejected. Example: ['resourcemanager.projects.delete']", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListEffectiveTagsResponse": { +"description": "The response of ListEffectiveTags.", +"id": "ListEffectiveTagsResponse", +"properties": { +"effectiveTags": { +"description": "A possibly paginated list of effective tags for the specified resource.", +"items": { +"$ref": "EffectiveTag" +}, +"type": "array" +}, +"nextPageToken": { +"description": "Pagination token. If the result set is too large to fit in a single response, this token is returned. It encodes the position of the current result cursor. Feeding this value into a new list request with the `page_token` parameter gives the next page of the results. When `next_page_token` is not filled in, there is no next page and the list returned is the last page in the result set. Pagination tokens have a limited lifetime.", +"type": "string" +} +}, +"type": "object" +}, +"ListFoldersResponse": { +"description": "The ListFolders response message.", +"id": "ListFoldersResponse", +"properties": { +"folders": { +"description": "A possibly paginated list of folders that are direct descendants of the specified parent resource.", +"items": { +"$ref": "Folder" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A pagination token returned from a previous call to `ListFolders` that indicates from where listing should continue.", +"type": "string" +} +}, +"type": "object" +}, +"ListLiensResponse": { +"description": "The response message for Liens.ListLiens.", +"id": "ListLiensResponse", +"properties": { +"liens": { +"description": "A list of Liens.", +"items": { +"$ref": "Lien" +}, +"type": "array" +}, +"nextPageToken": { +"description": "Token to retrieve the next page of results, or empty if there are no more results in the list.", +"type": "string" +} +}, +"type": "object" +}, +"ListProjectsResponse": { +"description": "A page of the response received from the ListProjects method. A paginated response where more pages are available has `next_page_token` set. This token can be used in a subsequent request to retrieve the next request page. NOTE: A response may contain fewer elements than the request `page_size` and still have a `next_page_token`.", +"id": "ListProjectsResponse", +"properties": { +"nextPageToken": { +"description": "Pagination token. If the result set is too large to fit in a single response, this token is returned. It encodes the position of the current result cursor. Feeding this value into a new list request with the `page_token` parameter gives the next page of the results. When `next_page_token` is not filled in, there is no next page and the list returned is the last page in the result set. Pagination tokens have a limited lifetime.", +"type": "string" +}, +"projects": { +"description": "The list of Projects under the parent. This list can be paginated.", +"items": { +"$ref": "Project" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListTagBindingsResponse": { +"description": "The ListTagBindings response.", +"id": "ListTagBindingsResponse", +"properties": { +"nextPageToken": { +"description": "Pagination token. If the result set is too large to fit in a single response, this token is returned. It encodes the position of the current result cursor. Feeding this value into a new list request with the `page_token` parameter gives the next page of the results. When `next_page_token` is not filled in, there is no next page and the list returned is the last page in the result set. Pagination tokens have a limited lifetime.", +"type": "string" +}, +"tagBindings": { +"description": "A possibly paginated list of TagBindings for the specified resource.", +"items": { +"$ref": "TagBinding" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListTagHoldsResponse": { +"description": "The ListTagHolds response.", +"id": "ListTagHoldsResponse", +"properties": { +"nextPageToken": { +"description": "Pagination token. If the result set is too large to fit in a single response, this token is returned. It encodes the position of the current result cursor. Feeding this value into a new list request with the `page_token` parameter gives the next page of the results. When `next_page_token` is not filled in, there is no next page and the list returned is the last page in the result set. Pagination tokens have a limited lifetime.", +"type": "string" +}, +"tagHolds": { +"description": "A possibly paginated list of TagHolds.", +"items": { +"$ref": "TagHold" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListTagKeysResponse": { +"description": "The ListTagKeys response message.", +"id": "ListTagKeysResponse", +"properties": { +"nextPageToken": { +"description": "A pagination token returned from a previous call to `ListTagKeys` that indicates from where listing should continue.", +"type": "string" +}, +"tagKeys": { +"description": "List of TagKeys that live under the specified parent in the request.", +"items": { +"$ref": "TagKey" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListTagValuesResponse": { +"description": "The ListTagValues response.", +"id": "ListTagValuesResponse", +"properties": { +"nextPageToken": { +"description": "A pagination token returned from a previous call to `ListTagValues` that indicates from where listing should continue.", +"type": "string" +}, +"tagValues": { +"description": "A possibly paginated list of TagValues that are direct descendants of the specified parent TagKey.", +"items": { +"$ref": "TagValue" +}, +"type": "array" +} +}, +"type": "object" +}, +"MoveFolderMetadata": { +"description": "Metadata pertaining to the folder move process.", +"id": "MoveFolderMetadata", +"properties": { +"destinationParent": { +"description": "The resource name of the folder or organization to move the folder to.", +"type": "string" +}, +"displayName": { +"description": "The display name of the folder.", +"type": "string" +}, +"sourceParent": { +"description": "The resource name of the folder's parent.", +"type": "string" +} +}, +"type": "object" +}, +"MoveFolderRequest": { +"description": "The MoveFolder request message.", +"id": "MoveFolderRequest", +"properties": { +"destinationParent": { +"description": "Required. The resource name of the folder or organization which should be the folder's new parent. Must be of the form `folders/{folder_id}` or `organizations/{org_id}`.", +"type": "string" +} +}, +"type": "object" +}, +"MoveProjectMetadata": { +"description": "A status object which is used as the `metadata` field for the Operation returned by MoveProject.", +"id": "MoveProjectMetadata", +"properties": {}, +"type": "object" +}, +"MoveProjectRequest": { +"description": "The request sent to MoveProject method.", +"id": "MoveProjectRequest", +"properties": { +"destinationParent": { +"description": "Required. The new parent to move the Project under.", +"type": "string" +} +}, +"type": "object" +}, +"Operation": { +"description": "This resource represents a long-running operation that is the result of a network API call.", +"id": "Operation", +"properties": { +"done": { +"description": "If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.", +"type": "boolean" +}, +"error": { +"$ref": "Status", +"description": "The error result of the operation in case of failure or cancellation." +}, +"metadata": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.", +"type": "object" +}, +"name": { +"description": "The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.", +"type": "string" +}, +"response": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "The normal, successful response of the operation. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.", +"type": "object" +} +}, +"type": "object" +}, +"Organization": { +"description": "The root node in the resource hierarchy to which a particular entity's (a company, for example) resources belong.", +"id": "Organization", +"properties": { +"createTime": { +"description": "Output only. Timestamp when the Organization was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"deleteTime": { +"description": "Output only. Timestamp when the Organization was requested for deletion.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"directoryCustomerId": { +"description": "Immutable. The G Suite / Workspace customer id used in the Directory API.", +"type": "string" +}, +"displayName": { +"description": "Output only. A human-readable string that refers to the organization in the Google Cloud Console. This string is set by the server and cannot be changed. The string will be set to the primary domain (for example, \"google.com\") of the Google Workspace customer that owns the organization.", +"readOnly": true, +"type": "string" +}, +"etag": { +"description": "Output only. A checksum computed by the server based on the current value of the Organization resource. This may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.", +"readOnly": true, +"type": "string" +}, +"name": { +"description": "Output only. The resource name of the organization. This is the organization's relative path in the API. Its format is \"organizations/[organization_id]\". For example, \"organizations/1234\".", +"readOnly": true, +"type": "string" +}, +"state": { +"description": "Output only. The organization's current lifecycle state.", +"enum": [ +"STATE_UNSPECIFIED", +"ACTIVE", +"DELETE_REQUESTED" +], +"enumDescriptions": [ +"Unspecified state. This is only useful for distinguishing unset values.", +"The normal and active state.", +"The organization has been marked for deletion by the user." +], +"readOnly": true, +"type": "string" +}, +"updateTime": { +"description": "Output only. Timestamp when the Organization was last modified.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"Policy": { +"description": "An Identity and Access Management (IAM) policy, which specifies access controls for Google Cloud resources. A `Policy` is a collection of `bindings`. A `binding` binds one or more `members`, or principals, to a single `role`. Principals can be user accounts, service accounts, Google groups, and domains (such as G Suite). A `role` is a named list of permissions; each `role` can be an IAM predefined role or a user-created custom role. For some types of Google Cloud resources, a `binding` can also specify a `condition`, which is a logical expression that allows access to a resource only if the expression evaluates to `true`. A condition can add constraints based on attributes of the request, the resource, or both. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). **JSON example:** ``` { \"bindings\": [ { \"role\": \"roles/resourcemanager.organizationAdmin\", \"members\": [ \"user:mike@example.com\", \"group:admins@example.com\", \"domain:google.com\", \"serviceAccount:my-project-id@appspot.gserviceaccount.com\" ] }, { \"role\": \"roles/resourcemanager.organizationViewer\", \"members\": [ \"user:eve@example.com\" ], \"condition\": { \"title\": \"expirable access\", \"description\": \"Does not grant access after Sep 2020\", \"expression\": \"request.time < timestamp('2020-10-01T00:00:00.000Z')\", } } ], \"etag\": \"BwWWja0YfJA=\", \"version\": 3 } ``` **YAML example:** ``` bindings: - members: - user:mike@example.com - group:admins@example.com - domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.com role: roles/resourcemanager.organizationViewer condition: title: expirable access description: Does not grant access after Sep 2020 expression: request.time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 ``` For a description of IAM and its features, see the [IAM documentation](https://cloud.google.com/iam/docs/).", +"id": "Policy", +"properties": { +"auditConfigs": { +"description": "Specifies cloud audit logging configuration for this policy.", +"items": { +"$ref": "AuditConfig" +}, +"type": "array" +}, +"bindings": { +"description": "Associates a list of `members`, or principals, with a `role`. Optionally, may specify a `condition` that determines how and when the `bindings` are applied. Each of the `bindings` must contain at least one principal. The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250 of these principals can be Google groups. Each occurrence of a principal counts towards these limits. For example, if the `bindings` grant 50 different roles to `user:alice@example.com`, and not to any other principal, then you can add another 1,450 principals to the `bindings` in the `Policy`.", +"items": { +"$ref": "Binding" +}, +"type": "array" +}, +"etag": { +"description": "`etag` is used for optimistic concurrency control as a way to help prevent simultaneous updates of a policy from overwriting each other. It is strongly suggested that systems make use of the `etag` in the read-modify-write cycle to perform policy updates in order to avoid race conditions: An `etag` is returned in the response to `getIamPolicy`, and systems are expected to put that etag in the request to `setIamPolicy` to ensure that their change will be applied to the same version of the policy. **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost.", +"format": "byte", +"type": "string" +}, +"version": { +"description": "Specifies the format of the policy. Valid values are `0`, `1`, and `3`. Requests that specify an invalid value are rejected. Any operation that affects conditional role bindings must specify version `3`. This requirement applies to the following operations: * Getting a policy that includes a conditional role binding * Adding a conditional role binding to a policy * Changing a conditional role binding in a policy * Removing any role binding, with or without a condition, from a policy that includes conditions **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost. If a policy does not include any conditions, operations on that policy may specify any valid version or leave the field unset. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"Project": { +"description": "A project is a high-level Google Cloud entity. It is a container for ACLs, APIs, App Engine Apps, VMs, and other Google Cloud Platform resources.", +"id": "Project", +"properties": { +"configuredCapabilities": { +"description": "Output only. If this project is a Management Project, list of capabilities configured on the parent folder. Note, presence of any capability implies that this is a Management Project. Example: `folders/123/capabilities/app-management`. OUTPUT ONLY.", +"items": { +"type": "string" +}, +"readOnly": true, +"type": "array" +}, +"createTime": { +"description": "Output only. Creation time.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"deleteTime": { +"description": "Output only. The time at which this resource was requested for deletion.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"displayName": { +"description": "Optional. A user-assigned display name of the project. When present it must be between 4 to 30 characters. Allowed characters are: lowercase and uppercase letters, numbers, hyphen, single-quote, double-quote, space, and exclamation point. Example: `My Project`", +"type": "string" +}, +"etag": { +"description": "Output only. A checksum computed by the server based on the current value of the Project resource. This may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.", +"readOnly": true, +"type": "string" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. The labels associated with this project. Label keys must be between 1 and 63 characters long and must conform to the following regular expression: \\[a-z\\](\\[-a-z0-9\\]*\\[a-z0-9\\])?. Label values must be between 0 and 63 characters long and must conform to the regular expression (\\[a-z\\](\\[-a-z0-9\\]*\\[a-z0-9\\])?)?. No more than 64 labels can be associated with a given resource. Clients should store labels in a representation such as JSON that does not depend on specific characters being disallowed. Example: `\"myBusinessDimension\" : \"businessValue\"`", +"type": "object" +}, +"name": { +"description": "Output only. The unique resource name of the project. It is an int64 generated number prefixed by \"projects/\". Example: `projects/415104041262`", +"readOnly": true, +"type": "string" +}, +"parent": { +"description": "Optional. A reference to a parent Resource. eg., `organizations/123` or `folders/876`.", +"type": "string" +}, +"projectId": { +"description": "Immutable. The unique, user-assigned id of the project. It must be 6 to 30 lowercase ASCII letters, digits, or hyphens. It must start with a letter. Trailing hyphens are prohibited. Example: `tokyo-rain-123`", +"type": "string" +}, +"state": { +"description": "Output only. The project lifecycle state.", +"enum": [ +"STATE_UNSPECIFIED", +"ACTIVE", +"DELETE_REQUESTED" +], +"enumDescriptions": [ +"Unspecified state. This is only used/useful for distinguishing unset values.", +"The normal and active state.", +"The project has been marked for deletion by the user (by invoking DeleteProject) or by the system (Google Cloud Platform). This can generally be reversed by invoking UndeleteProject." +], +"readOnly": true, +"type": "string" +}, +"tags": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. Input only. Immutable. Tag keys/values directly bound to this project. Each item in the map must be expressed as \" : \". For example: \"123/environment\" : \"production\", \"123/costCenter\" : \"marketing\" Note: Currently this field is in Preview.", +"type": "object" +}, +"updateTime": { +"description": "Output only. The most recent time this resource was modified.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"ProjectCreationStatus": { +"description": "A status object which is used as the `metadata` field for the Operation returned by CreateProject. It provides insight for when significant phases of Project creation have completed.", +"id": "ProjectCreationStatus", +"properties": { +"createTime": { +"description": "Creation time of the project creation workflow.", +"format": "google-datetime", +"type": "string" +}, +"gettable": { +"description": "True if the project can be retrieved using GetProject. No other operations on the project are guaranteed to work until the project creation is complete.", +"type": "boolean" +}, +"ready": { +"description": "True if the project creation process is complete.", +"type": "boolean" +} +}, +"type": "object" +}, +"SearchFoldersResponse": { +"description": "The response message for searching folders.", +"id": "SearchFoldersResponse", +"properties": { +"folders": { +"description": "A possibly paginated folder search results. the specified parent resource.", +"items": { +"$ref": "Folder" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A pagination token returned from a previous call to `SearchFolders` that indicates from where searching should continue.", +"type": "string" +} +}, +"type": "object" +}, +"SearchOrganizationsResponse": { +"description": "The response returned from the `SearchOrganizations` method.", +"id": "SearchOrganizationsResponse", +"properties": { +"nextPageToken": { +"description": "A pagination token to be used to retrieve the next page of results. If the result is too large to fit within the page size specified in the request, this field will be set with a token that can be used to fetch the next page of results. If this field is empty, it indicates that this response contains the last page of results.", +"type": "string" +}, +"organizations": { +"description": "The list of Organizations that matched the search query, possibly paginated.", +"items": { +"$ref": "Organization" +}, +"type": "array" +} +}, +"type": "object" +}, +"SearchProjectsResponse": { +"description": "A page of the response received from the SearchProjects method. A paginated response where more pages are available has `next_page_token` set. This token can be used in a subsequent request to retrieve the next request page.", +"id": "SearchProjectsResponse", +"properties": { +"nextPageToken": { +"description": "Pagination token. If the result set is too large to fit in a single response, this token is returned. It encodes the position of the current result cursor. Feeding this value into a new list request with the `page_token` parameter gives the next page of the results. When `next_page_token` is not filled in, there is no next page and the list returned is the last page in the result set. Pagination tokens have a limited lifetime.", +"type": "string" +}, +"projects": { +"description": "The list of Projects that matched the list filter query. This list can be paginated.", +"items": { +"$ref": "Project" +}, +"type": "array" +} +}, +"type": "object" +}, +"SetIamPolicyRequest": { +"description": "Request message for `SetIamPolicy` method.", +"id": "SetIamPolicyRequest", +"properties": { +"policy": { +"$ref": "Policy", +"description": "REQUIRED: The complete policy to be applied to the `resource`. The size of the policy is limited to a few 10s of KB. An empty policy is a valid policy but certain Google Cloud services (such as Projects) might reject them." +}, +"updateMask": { +"description": "OPTIONAL: A FieldMask specifying which fields of the policy to modify. Only the fields in the mask will be modified. If no mask is provided, the following default mask is used: `paths: \"bindings, etag\"`", +"format": "google-fieldmask", +"type": "string" +} +}, +"type": "object" +}, +"Status": { +"description": "The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors).", +"id": "Status", +"properties": { +"code": { +"description": "The status code, which should be an enum value of google.rpc.Code.", +"format": "int32", +"type": "integer" +}, +"details": { +"description": "A list of messages that carry the error details. There is a common set of message types for APIs to use.", +"items": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.", +"type": "string" +} +}, +"type": "object" +}, +"TagBinding": { +"description": "A TagBinding represents a connection between a TagValue and a cloud resource. When a TagBinding is created, the TagValue is applied to all the descendants of the Google Cloud resource.", +"id": "TagBinding", +"properties": { +"name": { +"description": "Output only. The name of the TagBinding. This is a String of the form: `tagBindings/{full-resource-name}/{tag-value-name}` (e.g. `tagBindings/%2F%2Fcloudresourcemanager.googleapis.com%2Fprojects%2F123/tagValues/456`) or `tagBindings/{full-resource-name}/{tag-key-name}` (e.g. `tagBindings/%2F%2Fcloudresourcemanager.googleapis.com%2Fprojects%2F123/tagKeys/123`).", +"readOnly": true, +"type": "string" +}, +"parent": { +"description": "The full resource name of the resource the TagValue is bound to. E.g. `//cloudresourcemanager.googleapis.com/projects/123`", +"type": "string" +}, +"tagValue": { +"description": "The TagValue of the TagBinding. Must be of the form `tagValues/456`.", +"type": "string" +}, +"tagValueNamespacedName": { +"description": "The namespaced name for the TagValue of the TagBinding. Must be in the format `{parent_id}/{tag_key_short_name}/{short_name}`. For methods that support TagValue namespaced name, only one of tag_value_namespaced_name or tag_value may be filled. Requests with both fields will be rejected.", +"type": "string" +} +}, +"type": "object" +}, +"TagBindingCollection": { +"description": "Represents a collection of tags directly bound to a GCP resource.", +"id": "TagBindingCollection", +"properties": { +"etag": { +"description": "Optional. A checksum based on the current bindings which can be passed to prevent race conditions. This field is always set in server responses.", +"type": "string" +}, +"fullResourceName": { +"description": "The full resource name of the resource the TagBindings are bound to. E.g. `//cloudresourcemanager.googleapis.com/projects/123`", +"type": "string" +}, +"name": { +"description": "Identifier. The name of the TagBindingCollection, following the convention: `locations/{location}/tagBindingCollections/{encoded-full-resource-name}` where the encoded-full-resource-name is the UTF-8 encoded name of the GCP resource the TagBindings are bound to. \"locations/global/tagBindingCollections/%2f%2fcloudresourcemanager.googleapis.com%2fprojects%2f123\"", +"type": "string" +}, +"tags": { +"additionalProperties": { +"type": "string" +}, +"description": "Tag keys/values directly bound to this resource, specified in namespaced format. For example: \"123/environment\": \"production\"", +"type": "object" +} +}, +"type": "object" +}, +"TagHold": { +"description": "A TagHold represents the use of a TagValue that is not captured by TagBindings. If a TagValue has any TagHolds, deletion will be blocked. This resource is intended to be created in the same cloud location as the `holder`.", +"id": "TagHold", +"properties": { +"createTime": { +"description": "Output only. The time this TagHold was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"helpLink": { +"description": "Optional. A URL where an end user can learn more about removing this hold. E.g. `https://cloud.google.com/resource-manager/docs/tags/tags-creating-and-managing`", +"type": "string" +}, +"holder": { +"description": "Required. The name of the resource where the TagValue is being used. Must be less than 200 characters. E.g. `//compute.googleapis.com/compute/projects/myproject/regions/us-east-1/instanceGroupManagers/instance-group`", +"type": "string" +}, +"name": { +"description": "Output only. The resource name of a TagHold. This is a String of the form: `tagValues/{tag-value-id}/tagHolds/{tag-hold-id}` (e.g. `tagValues/123/tagHolds/456`). This resource name is generated by the server.", +"readOnly": true, +"type": "string" +}, +"origin": { +"description": "Optional. An optional string representing the origin of this request. This field should include human-understandable information to distinguish origins from each other. Must be less than 200 characters. E.g. `migs-35678234`", +"type": "string" +} +}, +"type": "object" +}, +"TagKey": { +"description": "A TagKey, used to group a set of TagValues.", +"id": "TagKey", +"properties": { +"allowedValuesRegex": { +"description": "Optional. Regular expression constraint for freeform tag values. If present, it implicitly allows freeform values (constrained by the regex).", +"type": "string" +}, +"createTime": { +"description": "Output only. Creation time.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"description": { +"description": "Optional. User-assigned description of the TagKey. Must not exceed 256 characters. Read-write.", +"type": "string" +}, +"etag": { +"description": "Optional. Entity tag which users can pass to prevent race conditions. This field is always set in server responses. See UpdateTagKeyRequest for details.", +"type": "string" +}, +"name": { +"description": "Immutable. The resource name for a TagKey. Must be in the format `tagKeys/{tag_key_id}`, where `tag_key_id` is the generated numeric id for the TagKey.", +"type": "string" +}, +"namespacedName": { +"description": "Output only. Immutable. Namespaced name of the TagKey.", +"readOnly": true, +"type": "string" +}, +"parent": { +"description": "Immutable. The resource name of the TagKey's parent. A TagKey can be parented by an Organization or a Project. For a TagKey parented by an Organization, its parent must be in the form `organizations/{org_id}`. For a TagKey parented by a Project, its parent can be in the form `projects/{project_id}` or `projects/{project_number}`.", +"type": "string" +}, +"purpose": { +"description": "Optional. A purpose denotes that this Tag is intended for use in policies of a specific policy engine, and will involve that policy engine in management operations involving this Tag. A purpose does not grant a policy engine exclusive rights to the Tag, and it may be referenced by other policy engines. A purpose cannot be changed once set.", +"enum": [ +"PURPOSE_UNSPECIFIED", +"GCE_FIREWALL", +"DATA_GOVERNANCE" +], +"enumDescriptions": [ +"Unspecified purpose.", +"Purpose for Compute Engine firewalls. A corresponding `purpose_data` should be set for the network the tag is intended for. The key should be `network` and the value should be in ## either of these two formats: `https://www.googleapis.com/compute/{compute_version}/projects/{project_id}/global/networks/{network_id}` - `{project_id}/{network_name}` ## Examples: `https://www.googleapis.com/compute/staging_v1/projects/fail-closed-load-testing/global/networks/6992953698831725600` - `fail-closed-load-testing/load-testing-network`", +"Purpose for data governance. Tag Values created under a key with this purpose may have Tag Value children. No `purpose_data` should be set." +], +"type": "string" +}, +"purposeData": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. Purpose data corresponds to the policy system that the tag is intended for. See documentation for `Purpose` for formatting of this field. Purpose data cannot be changed once set.", +"type": "object" +}, +"shortName": { +"description": "Required. Immutable. The user friendly name for a TagKey. The short name should be unique for TagKeys within the same tag namespace. The short name must be 1-256 characters, beginning and ending with an alphanumeric character ([a-z0-9A-Z]) with dashes (-), underscores (_), dots (.), and alphanumerics between.", +"type": "string" +}, +"updateTime": { +"description": "Output only. Update time.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"TagValue": { +"description": "A TagValue is a child of a particular TagKey. This is used to group cloud resources for the purpose of controlling them using policies.", +"id": "TagValue", +"properties": { +"createTime": { +"description": "Output only. Creation time.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"description": { +"description": "Optional. User-assigned description of the TagValue. Must not exceed 256 characters. Read-write.", +"type": "string" +}, +"etag": { +"description": "Optional. Entity tag which users can pass to prevent race conditions. This field is always set in server responses. See UpdateTagValueRequest for details.", +"type": "string" +}, +"name": { +"description": "Immutable. Resource name for TagValue in the format `tagValues/456`.", +"type": "string" +}, +"namespacedName": { +"description": "Output only. The namespaced name of the TagValue. Can be in the form `{organization_id}/{tag_key_short_name}/{tag_value_short_name}` or `{project_id}/{tag_key_short_name}/{tag_value_short_name}` or `{project_number}/{tag_key_short_name}/{tag_value_short_name}`.", +"readOnly": true, +"type": "string" +}, +"parent": { +"description": "Immutable. The resource name of the new TagValue's parent TagKey. Must be of the form `tagKeys/{tag_key_id}`.", +"type": "string" +}, +"shortName": { +"description": "Required. Immutable. User-assigned short name for TagValue. The short name should be unique for TagValues within the same parent TagKey. The short name must be 256 characters or less, beginning and ending with an alphanumeric character ([a-z0-9A-Z]) with dashes (-), underscores (_), dots (.), and alphanumerics between.", +"type": "string" +}, +"updateTime": { +"description": "Output only. Update time.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"TestIamPermissionsRequest": { +"description": "Request message for `TestIamPermissions` method.", +"id": "TestIamPermissionsRequest", +"properties": { +"permissions": { +"description": "The set of permissions to check for the `resource`. Permissions with wildcards (such as `*` or `storage.*`) are not allowed. For more information see [IAM Overview](https://cloud.google.com/iam/docs/overview#permissions).", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"TestIamPermissionsResponse": { +"description": "Response message for `TestIamPermissions` method.", +"id": "TestIamPermissionsResponse", +"properties": { +"permissions": { +"description": "A subset of `TestPermissionsRequest.permissions` that the caller is allowed.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"UndeleteFolderMetadata": { +"description": "A status object which is used as the `metadata` field for the `Operation` returned by `UndeleteFolder`.", +"id": "UndeleteFolderMetadata", +"properties": {}, +"type": "object" +}, +"UndeleteFolderRequest": { +"description": "The UndeleteFolder request message.", +"id": "UndeleteFolderRequest", +"properties": {}, +"type": "object" +}, +"UndeleteOrganizationMetadata": { +"description": "A status object which is used as the `metadata` field for the Operation returned by UndeleteOrganization.", +"id": "UndeleteOrganizationMetadata", +"properties": {}, +"type": "object" +}, +"UndeleteProjectMetadata": { +"description": "A status object which is used as the `metadata` field for the Operation returned by `UndeleteProject`.", +"id": "UndeleteProjectMetadata", +"properties": {}, +"type": "object" +}, +"UndeleteProjectRequest": { +"description": "The request sent to the UndeleteProject method.", +"id": "UndeleteProjectRequest", +"properties": {}, +"type": "object" +}, +"UpdateFolderMetadata": { +"description": "A status object which is used as the `metadata` field for the Operation returned by UpdateFolder.", +"id": "UpdateFolderMetadata", +"properties": {}, +"type": "object" +}, +"UpdateProjectMetadata": { +"description": "A status object which is used as the `metadata` field for the Operation returned by UpdateProject.", +"id": "UpdateProjectMetadata", +"properties": {}, +"type": "object" +}, +"UpdateTagKeyMetadata": { +"description": "Runtime operation information for updating a TagKey.", +"id": "UpdateTagKeyMetadata", +"properties": {}, +"type": "object" +}, +"UpdateTagValueMetadata": { +"description": "Runtime operation information for updating a TagValue.", +"id": "UpdateTagValueMetadata", +"properties": {}, +"type": "object" +} +}, +"servicePath": "", +"title": "Cloud Resource Manager API", +"version": "v3", +"version_module": true +} \ No newline at end of file diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/cloudsearch.v1.json b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/cloudsearch.v1.json new file mode 100644 index 0000000000000000000000000000000000000000..0f9230db4101f904fb98be7ae6419c2754fdda8c --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/cloudsearch.v1.json @@ -0,0 +1,7999 @@ +{ +"auth": { +"oauth2": { +"scopes": { +"https://www.googleapis.com/auth/cloud_search": { +"description": "Index and serve your organization's data with Cloud Search" +}, +"https://www.googleapis.com/auth/cloud_search.debug": { +"description": "Index and serve your organization's data with Cloud Search" +}, +"https://www.googleapis.com/auth/cloud_search.indexing": { +"description": "Index and serve your organization's data with Cloud Search" +}, +"https://www.googleapis.com/auth/cloud_search.query": { +"description": "Search your organization's data in the Cloud Search index" +}, +"https://www.googleapis.com/auth/cloud_search.settings": { +"description": "Index and serve your organization's data with Cloud Search" +}, +"https://www.googleapis.com/auth/cloud_search.settings.indexing": { +"description": "Index and serve your organization's data with Cloud Search" +}, +"https://www.googleapis.com/auth/cloud_search.settings.query": { +"description": "Index and serve your organization's data with Cloud Search" +}, +"https://www.googleapis.com/auth/cloud_search.stats": { +"description": "Index and serve your organization's data with Cloud Search" +}, +"https://www.googleapis.com/auth/cloud_search.stats.indexing": { +"description": "Index and serve your organization's data with Cloud Search" +} +} +} +}, +"basePath": "", +"baseUrl": "https://cloudsearch.googleapis.com/", +"batchPath": "batch", +"canonicalName": "Cloud Search", +"description": "Cloud Search provides cloud-based search capabilities over Google Workspace data. The Cloud Search API allows indexing of non-Google Workspace data into Cloud Search.", +"discoveryVersion": "v1", +"documentationLink": "https://developers.google.com/workspace/cloud-search/docs/guides/", +"fullyEncodeReservedExpansion": true, +"icons": { +"x16": "http://www.google.com/images/icons/product/search-16.gif", +"x32": "http://www.google.com/images/icons/product/search-32.gif" +}, +"id": "cloudsearch:v1", +"kind": "discovery#restDescription", +"mtlsRootUrl": "https://cloudsearch.mtls.googleapis.com/", +"name": "cloudsearch", +"ownerDomain": "google.com", +"ownerName": "Google", +"parameters": { +"$.xgafv": { +"description": "V1 error format.", +"enum": [ +"1", +"2" +], +"enumDescriptions": [ +"v1 error format", +"v2 error format" +], +"location": "query", +"type": "string" +}, +"access_token": { +"description": "OAuth access token.", +"location": "query", +"type": "string" +}, +"alt": { +"default": "json", +"description": "Data format for response.", +"enum": [ +"json", +"media", +"proto" +], +"enumDescriptions": [ +"Responses with Content-Type of application/json", +"Media download with context-dependent Content-Type", +"Responses with Content-Type of application/x-protobuf" +], +"location": "query", +"type": "string" +}, +"callback": { +"description": "JSONP", +"location": "query", +"type": "string" +}, +"fields": { +"description": "Selector specifying which fields to include in a partial response.", +"location": "query", +"type": "string" +}, +"key": { +"description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", +"location": "query", +"type": "string" +}, +"oauth_token": { +"description": "OAuth 2.0 token for the current user.", +"location": "query", +"type": "string" +}, +"prettyPrint": { +"default": "true", +"description": "Returns response with indentations and line breaks.", +"location": "query", +"type": "boolean" +}, +"quotaUser": { +"description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.", +"location": "query", +"type": "string" +}, +"uploadType": { +"description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", +"location": "query", +"type": "string" +}, +"upload_protocol": { +"description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", +"location": "query", +"type": "string" +} +}, +"protocol": "rest", +"resources": { +"debug": { +"resources": { +"datasources": { +"resources": { +"items": { +"methods": { +"checkAccess": { +"description": "Checks whether an item is accessible by specified principal. Principal must be a user; groups and domain values aren't supported. **Note:** This API requires an admin account to execute.", +"flatPath": "v1/debug/datasources/{datasourcesId}/items/{itemsId}:checkAccess", +"httpMethod": "POST", +"id": "cloudsearch.debug.datasources.items.checkAccess", +"parameterOrder": [ +"name" +], +"parameters": { +"debugOptions.enableDebugging": { +"description": "If you are asked by Google to help with debugging, set this field. Otherwise, ignore this field.", +"location": "query", +"type": "boolean" +}, +"name": { +"description": "Item name, format: datasources/{source_id}/items/{item_id}", +"location": "path", +"pattern": "^datasources/[^/]+/items/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/debug/{+name}:checkAccess", +"request": { +"$ref": "Principal" +}, +"response": { +"$ref": "CheckAccessResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud_search", +"https://www.googleapis.com/auth/cloud_search.debug" +] +}, +"searchByViewUrl": { +"description": "Fetches the item whose viewUrl exactly matches that of the URL provided in the request. **Note:** This API requires an admin account to execute.", +"flatPath": "v1/debug/datasources/{datasourcesId}/items:searchByViewUrl", +"httpMethod": "POST", +"id": "cloudsearch.debug.datasources.items.searchByViewUrl", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Source name, format: datasources/{source_id}", +"location": "path", +"pattern": "^datasources/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/debug/{+name}/items:searchByViewUrl", +"request": { +"$ref": "SearchItemsByViewUrlRequest" +}, +"response": { +"$ref": "SearchItemsByViewUrlResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud_search", +"https://www.googleapis.com/auth/cloud_search.debug" +] +} +}, +"resources": { +"unmappedids": { +"methods": { +"list": { +"description": "List all unmapped identities for a specific item. **Note:** This API requires an admin account to execute.", +"flatPath": "v1/debug/datasources/{datasourcesId}/items/{itemsId}/unmappedids", +"httpMethod": "GET", +"id": "cloudsearch.debug.datasources.items.unmappedids.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"debugOptions.enableDebugging": { +"description": "If you are asked by Google to help with debugging, set this field. Otherwise, ignore this field.", +"location": "query", +"type": "boolean" +}, +"pageSize": { +"description": "Maximum number of items to fetch in a request. Defaults to 100.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The next_page_token value returned from a previous List request, if any.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "The name of the item, in the following format: datasources/{source_id}/items/{ID}", +"location": "path", +"pattern": "^datasources/[^/]+/items/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/debug/{+parent}/unmappedids", +"response": { +"$ref": "ListUnmappedIdentitiesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud_search", +"https://www.googleapis.com/auth/cloud_search.debug" +] +} +} +} +} +} +} +}, +"identitysources": { +"resources": { +"items": { +"methods": { +"listForunmappedidentity": { +"description": "Lists names of items associated with an unmapped identity. **Note:** This API requires an admin account to execute.", +"flatPath": "v1/debug/identitysources/{identitysourcesId}/items:forunmappedidentity", +"httpMethod": "GET", +"id": "cloudsearch.debug.identitysources.items.listForunmappedidentity", +"parameterOrder": [ +"parent" +], +"parameters": { +"debugOptions.enableDebugging": { +"description": "If you are asked by Google to help with debugging, set this field. Otherwise, ignore this field.", +"location": "query", +"type": "boolean" +}, +"groupResourceName": { +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Maximum number of items to fetch in a request. Defaults to 100.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The next_page_token value returned from a previous List request, if any.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "The name of the identity source, in the following format: identitysources/{source_id}}", +"location": "path", +"pattern": "^identitysources/[^/]+$", +"required": true, +"type": "string" +}, +"userResourceName": { +"location": "query", +"type": "string" +} +}, +"path": "v1/debug/{+parent}/items:forunmappedidentity", +"response": { +"$ref": "ListItemNamesForUnmappedIdentityResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud_search", +"https://www.googleapis.com/auth/cloud_search.debug" +] +} +} +}, +"unmappedids": { +"methods": { +"list": { +"description": "Lists unmapped user identities for an identity source. **Note:** This API requires an admin account to execute.", +"flatPath": "v1/debug/identitysources/{identitysourcesId}/unmappedids", +"httpMethod": "GET", +"id": "cloudsearch.debug.identitysources.unmappedids.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"debugOptions.enableDebugging": { +"description": "If you are asked by Google to help with debugging, set this field. Otherwise, ignore this field.", +"location": "query", +"type": "boolean" +}, +"pageSize": { +"description": "Maximum number of items to fetch in a request. Defaults to 100.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The next_page_token value returned from a previous List request, if any.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "The name of the identity source, in the following format: identitysources/{source_id}", +"location": "path", +"pattern": "^identitysources/[^/]+$", +"required": true, +"type": "string" +}, +"resolutionStatusCode": { +"description": "Limit users selection to this status.", +"enum": [ +"CODE_UNSPECIFIED", +"NOT_FOUND", +"IDENTITY_SOURCE_NOT_FOUND", +"IDENTITY_SOURCE_MISCONFIGURED", +"TOO_MANY_MAPPINGS_FOUND", +"INTERNAL_ERROR" +], +"enumDescriptions": [ +"Input-only value. Used to list all unmapped identities regardless of status.", +"The unmapped identity was not found in IDaaS, and needs to be provided by the user.", +"The identity source associated with the identity was either not found or deleted.", +"IDaaS does not understand the identity source, probably because the schema was modified in a non compatible way.", +"The number of users associated with the external identity is too large.", +"Internal error." +], +"location": "query", +"type": "string" +} +}, +"path": "v1/debug/{+parent}/unmappedids", +"response": { +"$ref": "ListUnmappedIdentitiesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud_search", +"https://www.googleapis.com/auth/cloud_search.debug" +] +} +} +} +} +} +} +}, +"indexing": { +"resources": { +"datasources": { +"methods": { +"deleteSchema": { +"description": "Deletes the schema of a data source. **Note:** This API requires an admin or service account to execute.", +"flatPath": "v1/indexing/datasources/{datasourcesId}/schema", +"httpMethod": "DELETE", +"id": "cloudsearch.indexing.datasources.deleteSchema", +"parameterOrder": [ +"name" +], +"parameters": { +"debugOptions.enableDebugging": { +"description": "If you are asked by Google to help with debugging, set this field. Otherwise, ignore this field.", +"location": "query", +"type": "boolean" +}, +"name": { +"description": "The name of the data source to delete Schema. Format: datasources/{source_id}", +"location": "path", +"pattern": "^datasources/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/indexing/{+name}/schema", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud_search", +"https://www.googleapis.com/auth/cloud_search.settings", +"https://www.googleapis.com/auth/cloud_search.settings.indexing" +] +}, +"getSchema": { +"description": "Gets the schema of a data source. **Note:** This API requires an admin or service account to execute.", +"flatPath": "v1/indexing/datasources/{datasourcesId}/schema", +"httpMethod": "GET", +"id": "cloudsearch.indexing.datasources.getSchema", +"parameterOrder": [ +"name" +], +"parameters": { +"debugOptions.enableDebugging": { +"description": "If you are asked by Google to help with debugging, set this field. Otherwise, ignore this field.", +"location": "query", +"type": "boolean" +}, +"name": { +"description": "The name of the data source to get Schema. Format: datasources/{source_id}", +"location": "path", +"pattern": "^datasources/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/indexing/{+name}/schema", +"response": { +"$ref": "Schema" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud_search", +"https://www.googleapis.com/auth/cloud_search.settings", +"https://www.googleapis.com/auth/cloud_search.settings.indexing" +] +}, +"updateSchema": { +"description": "Updates the schema of a data source. This method does not perform incremental updates to the schema. Instead, this method updates the schema by overwriting the entire schema. **Note:** This API requires an admin or service account to execute.", +"flatPath": "v1/indexing/datasources/{datasourcesId}/schema", +"httpMethod": "PUT", +"id": "cloudsearch.indexing.datasources.updateSchema", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the data source to update Schema. Format: datasources/{source_id}", +"location": "path", +"pattern": "^datasources/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/indexing/{+name}/schema", +"request": { +"$ref": "UpdateSchemaRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud_search", +"https://www.googleapis.com/auth/cloud_search.settings", +"https://www.googleapis.com/auth/cloud_search.settings.indexing" +] +} +}, +"resources": { +"items": { +"methods": { +"delete": { +"description": "Deletes Item resource for the specified resource name. This API requires an admin or service account to execute. The service account used is the one whitelisted in the corresponding data source.", +"flatPath": "v1/indexing/datasources/{datasourcesId}/items/{itemsId}", +"httpMethod": "DELETE", +"id": "cloudsearch.indexing.datasources.items.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"connectorName": { +"description": "The name of connector making this call. Format: datasources/{source_id}/connectors/{ID}", +"location": "query", +"type": "string" +}, +"debugOptions.enableDebugging": { +"description": "If you are asked by Google to help with debugging, set this field. Otherwise, ignore this field.", +"location": "query", +"type": "boolean" +}, +"mode": { +"description": "Required. The RequestMode for this request.", +"enum": [ +"UNSPECIFIED", +"SYNCHRONOUS", +"ASYNCHRONOUS" +], +"enumDescriptions": [ +"The priority is not specified in the update request. Leaving priority unspecified results in an update failure.", +"For real-time updates.", +"For changes that are executed after the response is sent back to the caller." +], +"location": "query", +"type": "string" +}, +"name": { +"description": "Required. The name of the item to delete. Format: datasources/{source_id}/items/{item_id}", +"location": "path", +"pattern": "^datasources/[^/]+/items/[^/]+$", +"required": true, +"type": "string" +}, +"version": { +"description": "Required. The incremented version of the item to delete from the index. The indexing system stores the version from the datasource as a byte string and compares the Item version in the index to the version of the queued Item using lexical ordering. Cloud Search Indexing won't delete any queued item with a version value that is less than or equal to the version of the currently indexed item. The maximum length for this field is 1024 bytes. For information on how item version affects the deletion process, refer to [Handle revisions after manual deletes](https://developers.google.com/workspace/cloud-search/docs/guides/operations).", +"format": "byte", +"location": "query", +"type": "string" +} +}, +"path": "v1/indexing/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud_search", +"https://www.googleapis.com/auth/cloud_search.indexing" +] +}, +"deleteQueueItems": { +"description": "Deletes all items in a queue. This method is useful for deleting stale items. This API requires an admin or service account to execute. The service account used is the one whitelisted in the corresponding data source.", +"flatPath": "v1/indexing/datasources/{datasourcesId}/items:deleteQueueItems", +"httpMethod": "POST", +"id": "cloudsearch.indexing.datasources.items.deleteQueueItems", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the Data Source to delete items in a queue. Format: datasources/{source_id}", +"location": "path", +"pattern": "^datasources/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/indexing/{+name}/items:deleteQueueItems", +"request": { +"$ref": "DeleteQueueItemsRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud_search", +"https://www.googleapis.com/auth/cloud_search.indexing" +] +}, +"get": { +"description": "Gets Item resource by item name. This API requires an admin or service account to execute. The service account used is the one whitelisted in the corresponding data source.", +"flatPath": "v1/indexing/datasources/{datasourcesId}/items/{itemsId}", +"httpMethod": "GET", +"id": "cloudsearch.indexing.datasources.items.get", +"parameterOrder": [ +"name" +], +"parameters": { +"connectorName": { +"description": "The name of connector making this call. Format: datasources/{source_id}/connectors/{ID}", +"location": "query", +"type": "string" +}, +"debugOptions.enableDebugging": { +"description": "If you are asked by Google to help with debugging, set this field. Otherwise, ignore this field.", +"location": "query", +"type": "boolean" +}, +"name": { +"description": "The name of the item to get info. Format: datasources/{source_id}/items/{item_id}", +"location": "path", +"pattern": "^datasources/[^/]+/items/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/indexing/{+name}", +"response": { +"$ref": "Item" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud_search", +"https://www.googleapis.com/auth/cloud_search.indexing" +] +}, +"index": { +"description": "Updates Item ACL, metadata, and content. It will insert the Item if it does not exist. This method does not support partial updates. Fields with no provided values are cleared out in the Cloud Search index. This API requires an admin or service account to execute. The service account used is the one whitelisted in the corresponding data source.", +"flatPath": "v1/indexing/datasources/{datasourcesId}/items/{itemsId}:index", +"httpMethod": "POST", +"id": "cloudsearch.indexing.datasources.items.index", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the Item. Format: datasources/{source_id}/items/{item_id} This is a required field. The maximum length is 1536 characters.", +"location": "path", +"pattern": "^datasources/[^/]+/items/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/indexing/{+name}:index", +"request": { +"$ref": "IndexItemRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud_search", +"https://www.googleapis.com/auth/cloud_search.indexing" +] +}, +"list": { +"description": "Lists all or a subset of Item resources. This API requires an admin or service account to execute. The service account used is the one whitelisted in the corresponding data source.", +"flatPath": "v1/indexing/datasources/{datasourcesId}/items", +"httpMethod": "GET", +"id": "cloudsearch.indexing.datasources.items.list", +"parameterOrder": [ +"name" +], +"parameters": { +"brief": { +"description": "When set to true, the indexing system only populates the following fields: name, version, queue. metadata.hash, metadata.title, metadata.sourceRepositoryURL, metadata.objectType, metadata.createTime, metadata.updateTime, metadata.contentLanguage, metadata.mimeType, structured_data.hash, content.hash, itemType, itemStatus.code, itemStatus.processingError.code, itemStatus.repositoryError.type, If this value is false, then all the fields are populated in Item.", +"location": "query", +"type": "boolean" +}, +"connectorName": { +"description": "The name of connector making this call. Format: datasources/{source_id}/connectors/{ID}", +"location": "query", +"type": "string" +}, +"debugOptions.enableDebugging": { +"description": "If you are asked by Google to help with debugging, set this field. Otherwise, ignore this field.", +"location": "query", +"type": "boolean" +}, +"name": { +"description": "The name of the Data Source to list Items. Format: datasources/{source_id}", +"location": "path", +"pattern": "^datasources/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "Maximum number of items to fetch in a request. The max value is 1000 when brief is true. The max value is 10 if brief is false. The default value is 10", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The next_page_token value returned from a previous List request, if any.", +"location": "query", +"type": "string" +} +}, +"path": "v1/indexing/{+name}/items", +"response": { +"$ref": "ListItemsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud_search", +"https://www.googleapis.com/auth/cloud_search.indexing" +] +}, +"poll": { +"description": "Polls for unreserved items from the indexing queue and marks a set as reserved, starting with items that have the oldest timestamp from the highest priority ItemStatus. The priority order is as follows: ERROR MODIFIED NEW_ITEM ACCEPTED Reserving items ensures that polling from other threads cannot create overlapping sets. After handling the reserved items, the client should put items back into the unreserved state, either by calling index, or by calling push with the type REQUEUE. Items automatically become available (unreserved) after 4 hours even if no update or push method is called. This API requires an admin or service account to execute. The service account used is the one whitelisted in the corresponding data source.", +"flatPath": "v1/indexing/datasources/{datasourcesId}/items:poll", +"httpMethod": "POST", +"id": "cloudsearch.indexing.datasources.items.poll", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the Data Source to poll items. Format: datasources/{source_id}", +"location": "path", +"pattern": "^datasources/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/indexing/{+name}/items:poll", +"request": { +"$ref": "PollItemsRequest" +}, +"response": { +"$ref": "PollItemsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud_search", +"https://www.googleapis.com/auth/cloud_search.indexing" +] +}, +"push": { +"description": "Pushes an item onto a queue for later polling and updating. This API requires an admin or service account to execute. The service account used is the one whitelisted in the corresponding data source.", +"flatPath": "v1/indexing/datasources/{datasourcesId}/items/{itemsId}:push", +"httpMethod": "POST", +"id": "cloudsearch.indexing.datasources.items.push", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the item to push into the indexing queue. Format: datasources/{source_id}/items/{ID} This is a required field. The maximum length is 1536 characters.", +"location": "path", +"pattern": "^datasources/[^/]+/items/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/indexing/{+name}:push", +"request": { +"$ref": "PushItemRequest" +}, +"response": { +"$ref": "Item" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud_search", +"https://www.googleapis.com/auth/cloud_search.indexing" +] +}, +"unreserve": { +"description": "Unreserves all items from a queue, making them all eligible to be polled. This method is useful for resetting the indexing queue after a connector has been restarted. This API requires an admin or service account to execute. The service account used is the one whitelisted in the corresponding data source.", +"flatPath": "v1/indexing/datasources/{datasourcesId}/items:unreserve", +"httpMethod": "POST", +"id": "cloudsearch.indexing.datasources.items.unreserve", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the Data Source to unreserve all items. Format: datasources/{source_id}", +"location": "path", +"pattern": "^datasources/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/indexing/{+name}/items:unreserve", +"request": { +"$ref": "UnreserveItemsRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud_search", +"https://www.googleapis.com/auth/cloud_search.indexing" +] +}, +"upload": { +"description": "Creates an upload session for uploading item content. For items smaller than 100 KB, it's easier to embed the content inline within an index request. This API requires an admin or service account to execute. The service account used is the one whitelisted in the corresponding data source.", +"flatPath": "v1/indexing/datasources/{datasourcesId}/items/{itemsId}:upload", +"httpMethod": "POST", +"id": "cloudsearch.indexing.datasources.items.upload", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the Item to start a resumable upload. Format: datasources/{source_id}/items/{item_id}. The maximum length is 1536 bytes.", +"location": "path", +"pattern": "^datasources/[^/]+/items/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/indexing/{+name}:upload", +"request": { +"$ref": "StartUploadItemRequest" +}, +"response": { +"$ref": "UploadItemRef" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud_search", +"https://www.googleapis.com/auth/cloud_search.indexing" +] +} +} +} +} +} +} +}, +"media": { +"methods": { +"upload": { +"description": "Uploads media for indexing. The upload endpoint supports direct and resumable upload protocols and is intended for large items that can not be [inlined during index requests](https://developers.google.com/workspace/cloud-search/docs/reference/rest/v1/indexing.datasources.items#itemcontent). To index large content: 1. Call indexing.datasources.items.upload with the item name to begin an upload session and retrieve the UploadItemRef. 1. Call media.upload to upload the content, as a streaming request, using the same resource name from the UploadItemRef from step 1. 1. Call indexing.datasources.items.index to index the item. Populate the [ItemContent](/cloud-search/docs/reference/rest/v1/indexing.datasources.items#ItemContent) with the UploadItemRef from step 1. For additional information, see [Create a content connector using the REST API](https://developers.google.com/workspace/cloud-search/docs/guides/content-connector#rest). **Note:** This API requires a service account to execute.", +"flatPath": "v1/media/{mediaId}", +"httpMethod": "POST", +"id": "cloudsearch.media.upload", +"mediaUpload": { +"accept": [ +"*/*" +], +"protocols": { +"simple": { +"multipart": true, +"path": "/upload/v1/media/{+resourceName}" +} +} +}, +"parameterOrder": [ +"resourceName" +], +"parameters": { +"resourceName": { +"description": "Name of the media that is being downloaded. See ReadRequest.resource_name.", +"location": "path", +"pattern": "^.*$", +"required": true, +"type": "string" +} +}, +"path": "v1/media/{+resourceName}", +"request": { +"$ref": "Media" +}, +"response": { +"$ref": "Media" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud_search", +"https://www.googleapis.com/auth/cloud_search.indexing" +], +"supportsMediaUpload": true +} +} +}, +"operations": { +"methods": { +"get": { +"description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", +"flatPath": "v1/operations/{operationsId}", +"httpMethod": "GET", +"id": "cloudsearch.operations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource.", +"location": "path", +"pattern": "^operations/.*$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud_search", +"https://www.googleapis.com/auth/cloud_search.debug", +"https://www.googleapis.com/auth/cloud_search.indexing", +"https://www.googleapis.com/auth/cloud_search.settings", +"https://www.googleapis.com/auth/cloud_search.settings.indexing", +"https://www.googleapis.com/auth/cloud_search.settings.query" +] +} +}, +"resources": { +"lro": { +"methods": { +"list": { +"description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.", +"flatPath": "v1/operations/{operationsId}/lro", +"httpMethod": "GET", +"id": "cloudsearch.operations.lro.list", +"parameterOrder": [ +"name" +], +"parameters": { +"filter": { +"description": "The standard list filter.", +"location": "query", +"type": "string" +}, +"name": { +"description": "The name of the operation's parent resource.", +"location": "path", +"pattern": "^operations/.*$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The standard list page size.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The standard list page token.", +"location": "query", +"type": "string" +}, +"returnPartialSuccess": { +"description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `\"projects/example/locations/-\"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1/{+name}/lro", +"response": { +"$ref": "ListOperationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud_search", +"https://www.googleapis.com/auth/cloud_search.debug", +"https://www.googleapis.com/auth/cloud_search.indexing", +"https://www.googleapis.com/auth/cloud_search.settings", +"https://www.googleapis.com/auth/cloud_search.settings.indexing", +"https://www.googleapis.com/auth/cloud_search.settings.query" +] +} +} +} +} +}, +"query": { +"methods": { +"removeActivity": { +"description": "Provides functionality to remove logged activity for a user. Currently to be used only for Chat 1p clients **Note:** This API requires a standard end user account to execute. A service account can't perform Remove Activity requests directly; to use a service account to perform queries, set up [Google Workspace domain-wide delegation of authority](https://developers.google.com/workspace/cloud-search/docs/guides/delegation/).", +"flatPath": "v1/query:removeActivity", +"httpMethod": "POST", +"id": "cloudsearch.query.removeActivity", +"parameterOrder": [], +"parameters": {}, +"path": "v1/query:removeActivity", +"request": { +"$ref": "RemoveActivityRequest" +}, +"response": { +"$ref": "RemoveActivityResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud_search", +"https://www.googleapis.com/auth/cloud_search.query" +] +}, +"search": { +"description": "The Cloud Search Query API provides the search method, which returns the most relevant results from a user query. The results can come from Google Workspace apps, such as Gmail or Google Drive, or they can come from data that you have indexed from a third party. **Note:** This API requires a standard end user account to execute. A service account can't perform Query API requests directly; to use a service account to perform queries, set up [Google Workspace domain-wide delegation of authority](https://developers.google.com/workspace/cloud-search/docs/guides/delegation/).", +"flatPath": "v1/query/search", +"httpMethod": "POST", +"id": "cloudsearch.query.search", +"parameterOrder": [], +"parameters": {}, +"path": "v1/query/search", +"request": { +"$ref": "SearchRequest" +}, +"response": { +"$ref": "SearchResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud_search", +"https://www.googleapis.com/auth/cloud_search.query" +] +}, +"suggest": { +"description": "Provides suggestions for autocompleting the query. **Note:** This API requires a standard end user account to execute. A service account can't perform Query API requests directly; to use a service account to perform queries, set up [Google Workspace domain-wide delegation of authority](https://developers.google.com/workspace/cloud-search/docs/guides/delegation/).", +"flatPath": "v1/query/suggest", +"httpMethod": "POST", +"id": "cloudsearch.query.suggest", +"parameterOrder": [], +"parameters": {}, +"path": "v1/query/suggest", +"request": { +"$ref": "SuggestRequest" +}, +"response": { +"$ref": "SuggestResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud_search", +"https://www.googleapis.com/auth/cloud_search.query" +] +} +}, +"resources": { +"sources": { +"methods": { +"list": { +"description": "Returns list of sources that user can use for Search and Suggest APIs. **Note:** This API requires a standard end user account to execute. A service account can't perform Query API requests directly; to use a service account to perform queries, set up [Google Workspace domain-wide delegation of authority](https://developers.google.com/workspace/cloud-search/docs/guides/delegation/).", +"flatPath": "v1/query/sources", +"httpMethod": "GET", +"id": "cloudsearch.query.sources.list", +"parameterOrder": [], +"parameters": { +"pageToken": { +"description": "Number of sources to return in the response.", +"location": "query", +"type": "string" +}, +"requestOptions.debugOptions.enableDebugging": { +"description": "If you are asked by Google to help with debugging, set this field. Otherwise, ignore this field.", +"location": "query", +"type": "boolean" +}, +"requestOptions.languageCode": { +"description": "The BCP-47 language code, such as \"en-US\" or \"sr-Latn\". For more information, see http://www.unicode.org/reports/tr35/#Unicode_locale_identifier. For translations. Set this field using the language set in browser or for the page. In the event that the user's language preference is known, set this field to the known user language. When specified, the documents in search results are biased towards the specified language. The Suggest API uses this field as a hint to make better third-party autocomplete predictions.", +"location": "query", +"type": "string" +}, +"requestOptions.searchApplicationId": { +"description": "The ID generated when you create a search application using the [admin console](https://support.google.com/a/answer/9043922).", +"location": "query", +"type": "string" +}, +"requestOptions.timeZone": { +"description": "Current user's time zone id, such as \"America/Los_Angeles\" or \"Australia/Sydney\". These IDs are defined by [Unicode Common Locale Data Repository (CLDR)](http://cldr.unicode.org/) project, and currently available in the file [timezone.xml](http://unicode.org/repos/cldr/trunk/common/bcp47/timezone.xml). This field is used to correctly interpret date and time queries. If this field is not specified, the default time zone (UTC) is used.", +"location": "query", +"type": "string" +} +}, +"path": "v1/query/sources", +"response": { +"$ref": "ListQuerySourcesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud_search", +"https://www.googleapis.com/auth/cloud_search.query" +] +} +} +} +} +}, +"settings": { +"methods": { +"getCustomer": { +"description": "Get customer settings. **Note:** This API requires an admin account to execute.", +"flatPath": "v1/settings/customer", +"httpMethod": "GET", +"id": "cloudsearch.settings.getCustomer", +"parameterOrder": [], +"parameters": {}, +"path": "v1/settings/customer", +"response": { +"$ref": "CustomerSettings" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud_search", +"https://www.googleapis.com/auth/cloud_search.settings", +"https://www.googleapis.com/auth/cloud_search.settings.indexing" +] +}, +"updateCustomer": { +"description": "Update customer settings. **Note:** This API requires an admin account to execute.", +"flatPath": "v1/settings/customer", +"httpMethod": "PATCH", +"id": "cloudsearch.settings.updateCustomer", +"parameterOrder": [], +"parameters": { +"updateMask": { +"description": "Update mask to control which fields get updated. If you specify a field in the update_mask but don't specify its value here, that field will be cleared. If the mask is not present or empty, all fields will be updated. Currently supported field paths: vpc_settings and audit_logging_settings", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/settings/customer", +"request": { +"$ref": "CustomerSettings" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud_search", +"https://www.googleapis.com/auth/cloud_search.settings", +"https://www.googleapis.com/auth/cloud_search.settings.indexing" +] +} +}, +"resources": { +"datasources": { +"methods": { +"create": { +"description": "Creates a datasource. **Note:** This API requires an admin account to execute.", +"flatPath": "v1/settings/datasources", +"httpMethod": "POST", +"id": "cloudsearch.settings.datasources.create", +"parameterOrder": [], +"parameters": {}, +"path": "v1/settings/datasources", +"request": { +"$ref": "DataSource" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud_search", +"https://www.googleapis.com/auth/cloud_search.settings", +"https://www.googleapis.com/auth/cloud_search.settings.indexing" +] +}, +"delete": { +"description": "Deletes a datasource. **Note:** This API requires an admin account to execute.", +"flatPath": "v1/settings/datasources/{datasourcesId}", +"httpMethod": "DELETE", +"id": "cloudsearch.settings.datasources.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"debugOptions.enableDebugging": { +"description": "If you are asked by Google to help with debugging, set this field. Otherwise, ignore this field.", +"location": "query", +"type": "boolean" +}, +"name": { +"description": "The name of the datasource. Format: datasources/{source_id}.", +"location": "path", +"pattern": "^datasources/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/settings/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud_search", +"https://www.googleapis.com/auth/cloud_search.settings", +"https://www.googleapis.com/auth/cloud_search.settings.indexing" +] +}, +"get": { +"description": "Gets a datasource. **Note:** This API requires an admin account to execute.", +"flatPath": "v1/settings/datasources/{datasourcesId}", +"httpMethod": "GET", +"id": "cloudsearch.settings.datasources.get", +"parameterOrder": [ +"name" +], +"parameters": { +"debugOptions.enableDebugging": { +"description": "If you are asked by Google to help with debugging, set this field. Otherwise, ignore this field.", +"location": "query", +"type": "boolean" +}, +"name": { +"description": "The name of the datasource resource. Format: datasources/{source_id}.", +"location": "path", +"pattern": "^datasources/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/settings/{+name}", +"response": { +"$ref": "DataSource" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud_search", +"https://www.googleapis.com/auth/cloud_search.settings", +"https://www.googleapis.com/auth/cloud_search.settings.indexing" +] +}, +"list": { +"description": "Lists datasources. **Note:** This API requires an admin account to execute.", +"flatPath": "v1/settings/datasources", +"httpMethod": "GET", +"id": "cloudsearch.settings.datasources.list", +"parameterOrder": [], +"parameters": { +"debugOptions.enableDebugging": { +"description": "If you are asked by Google to help with debugging, set this field. Otherwise, ignore this field.", +"location": "query", +"type": "boolean" +}, +"pageSize": { +"description": "Maximum number of datasources to fetch in a request. The max value is 1000. The default value is 1000.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Starting index of the results.", +"location": "query", +"type": "string" +} +}, +"path": "v1/settings/datasources", +"response": { +"$ref": "ListDataSourceResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud_search", +"https://www.googleapis.com/auth/cloud_search.settings", +"https://www.googleapis.com/auth/cloud_search.settings.indexing" +] +}, +"patch": { +"description": "Updates a datasource. **Note:** This API requires an admin account to execute.", +"flatPath": "v1/settings/datasources/{datasourcesId}", +"httpMethod": "PATCH", +"id": "cloudsearch.settings.datasources.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"debugOptions.enableDebugging": { +"description": "If you are asked by Google to help with debugging, set this field. Otherwise, ignore this field.", +"location": "query", +"type": "boolean" +}, +"name": { +"description": "The name of the datasource resource. Format: datasources/{source_id}. The name is ignored when creating a datasource.", +"location": "path", +"pattern": "^datasources/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Only applies to [`settings.datasources.patch`](https://developers.google.com/workspace/cloud-search/docs/reference/rest/v1/settings.datasources/patch). Update mask to control which fields to update. Example field paths: `name`, `displayName`. * If `update_mask` is non-empty, then only the fields specified in the `update_mask` are updated. * If you specify a field in the `update_mask`, but don't specify its value in the source, that field is cleared. * If the `update_mask` is not present or empty or has the value `*`, then all fields are updated.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/settings/{+name}", +"request": { +"$ref": "DataSource" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud_search", +"https://www.googleapis.com/auth/cloud_search.settings", +"https://www.googleapis.com/auth/cloud_search.settings.indexing" +] +}, +"update": { +"description": "Updates a datasource. **Note:** This API requires an admin account to execute.", +"flatPath": "v1/settings/datasources/{datasourcesId}", +"httpMethod": "PUT", +"id": "cloudsearch.settings.datasources.update", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the datasource resource. Format: datasources/{source_id}. The name is ignored when creating a datasource.", +"location": "path", +"pattern": "^datasources/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/settings/{+name}", +"request": { +"$ref": "UpdateDataSourceRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud_search", +"https://www.googleapis.com/auth/cloud_search.settings", +"https://www.googleapis.com/auth/cloud_search.settings.indexing" +] +} +} +}, +"searchapplications": { +"methods": { +"create": { +"description": "Creates a search application. **Note:** This API requires an admin account to execute.", +"flatPath": "v1/settings/searchapplications", +"httpMethod": "POST", +"id": "cloudsearch.settings.searchapplications.create", +"parameterOrder": [], +"parameters": {}, +"path": "v1/settings/searchapplications", +"request": { +"$ref": "SearchApplication" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud_search", +"https://www.googleapis.com/auth/cloud_search.settings", +"https://www.googleapis.com/auth/cloud_search.settings.query" +] +}, +"delete": { +"description": "Deletes a search application. **Note:** This API requires an admin account to execute.", +"flatPath": "v1/settings/searchapplications/{searchapplicationsId}", +"httpMethod": "DELETE", +"id": "cloudsearch.settings.searchapplications.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"debugOptions.enableDebugging": { +"description": "If you are asked by Google to help with debugging, set this field. Otherwise, ignore this field.", +"location": "query", +"type": "boolean" +}, +"name": { +"description": "The name of the search application to be deleted. Format: applications/{application_id}.", +"location": "path", +"pattern": "^searchapplications/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/settings/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud_search", +"https://www.googleapis.com/auth/cloud_search.settings", +"https://www.googleapis.com/auth/cloud_search.settings.query" +] +}, +"get": { +"description": "Gets the specified search application. **Note:** This API requires an admin account to execute.", +"flatPath": "v1/settings/searchapplications/{searchapplicationsId}", +"httpMethod": "GET", +"id": "cloudsearch.settings.searchapplications.get", +"parameterOrder": [ +"name" +], +"parameters": { +"debugOptions.enableDebugging": { +"description": "If you are asked by Google to help with debugging, set this field. Otherwise, ignore this field.", +"location": "query", +"type": "boolean" +}, +"name": { +"description": "The name of the search application. Format: searchapplications/{application_id}.", +"location": "path", +"pattern": "^searchapplications/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/settings/{+name}", +"response": { +"$ref": "SearchApplication" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud_search", +"https://www.googleapis.com/auth/cloud_search.settings", +"https://www.googleapis.com/auth/cloud_search.settings.query" +] +}, +"list": { +"description": "Lists all search applications. **Note:** This API requires an admin account to execute.", +"flatPath": "v1/settings/searchapplications", +"httpMethod": "GET", +"id": "cloudsearch.settings.searchapplications.list", +"parameterOrder": [], +"parameters": { +"debugOptions.enableDebugging": { +"description": "If you are asked by Google to help with debugging, set this field. Otherwise, ignore this field.", +"location": "query", +"type": "boolean" +}, +"pageSize": { +"description": "The maximum number of items to return.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The next_page_token value returned from a previous List request, if any. The default value is 10", +"location": "query", +"type": "string" +} +}, +"path": "v1/settings/searchapplications", +"response": { +"$ref": "ListSearchApplicationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud_search", +"https://www.googleapis.com/auth/cloud_search.settings", +"https://www.googleapis.com/auth/cloud_search.settings.query" +] +}, +"patch": { +"description": "Updates a search application. **Note:** This API requires an admin account to execute.", +"flatPath": "v1/settings/searchapplications/{searchapplicationsId}", +"httpMethod": "PATCH", +"id": "cloudsearch.settings.searchapplications.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the Search Application. Format: searchapplications/{application_id}.", +"location": "path", +"pattern": "^searchapplications/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Only applies to [`settings.searchapplications.patch`](https://developers.google.com/workspace/cloud-search/docs/reference/rest/v1/settings.searchapplications/patch). Update mask to control which fields to update. Example field paths: `search_application.name`, `search_application.displayName`. * If `update_mask` is non-empty, then only the fields specified in the `update_mask` are updated. * If you specify a field in the `update_mask`, but don't specify its value in the `search_application`, then that field is cleared. * If the `update_mask` is not present or empty or has the value `*`, then all fields are updated.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/settings/{+name}", +"request": { +"$ref": "SearchApplication" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud_search", +"https://www.googleapis.com/auth/cloud_search.settings", +"https://www.googleapis.com/auth/cloud_search.settings.query" +] +}, +"reset": { +"description": "Resets a search application to default settings. This will return an empty response. **Note:** This API requires an admin account to execute.", +"flatPath": "v1/settings/searchapplications/{searchapplicationsId}:reset", +"httpMethod": "POST", +"id": "cloudsearch.settings.searchapplications.reset", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the search application to be reset. Format: applications/{application_id}.", +"location": "path", +"pattern": "^searchapplications/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/settings/{+name}:reset", +"request": { +"$ref": "ResetSearchApplicationRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud_search", +"https://www.googleapis.com/auth/cloud_search.settings", +"https://www.googleapis.com/auth/cloud_search.settings.query" +] +}, +"update": { +"description": "Updates a search application. **Note:** This API requires an admin account to execute.", +"flatPath": "v1/settings/searchapplications/{searchapplicationsId}", +"httpMethod": "PUT", +"id": "cloudsearch.settings.searchapplications.update", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the Search Application. Format: searchapplications/{application_id}.", +"location": "path", +"pattern": "^searchapplications/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Only applies to [`settings.searchapplications.patch`](https://developers.google.com/workspace/cloud-search/docs/reference/rest/v1/settings.searchapplications/patch). Update mask to control which fields to update. Example field paths: `search_application.name`, `search_application.displayName`. * If `update_mask` is non-empty, then only the fields specified in the `update_mask` are updated. * If you specify a field in the `update_mask`, but don't specify its value in the `search_application`, then that field is cleared. * If the `update_mask` is not present or empty or has the value `*`, then all fields are updated.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/settings/{+name}", +"request": { +"$ref": "SearchApplication" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud_search", +"https://www.googleapis.com/auth/cloud_search.settings", +"https://www.googleapis.com/auth/cloud_search.settings.query" +] +} +} +} +} +}, +"stats": { +"methods": { +"getIndex": { +"description": "Gets indexed item statistics aggreggated across all data sources. This API only returns statistics for previous dates; it doesn't return statistics for the current day. **Note:** This API requires a standard end user account to execute.", +"flatPath": "v1/stats/index", +"httpMethod": "GET", +"id": "cloudsearch.stats.getIndex", +"parameterOrder": [], +"parameters": { +"fromDate.day": { +"description": "Day of month. Must be from 1 to 31 and valid for the year and month.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"fromDate.month": { +"description": "Month of date. Must be from 1 to 12.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"fromDate.year": { +"description": "Year of date. Must be from 1 to 9999.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"toDate.day": { +"description": "Day of month. Must be from 1 to 31 and valid for the year and month.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"toDate.month": { +"description": "Month of date. Must be from 1 to 12.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"toDate.year": { +"description": "Year of date. Must be from 1 to 9999.", +"format": "int32", +"location": "query", +"type": "integer" +} +}, +"path": "v1/stats/index", +"response": { +"$ref": "GetCustomerIndexStatsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud_search", +"https://www.googleapis.com/auth/cloud_search.stats", +"https://www.googleapis.com/auth/cloud_search.stats.indexing" +] +}, +"getQuery": { +"description": "Get the query statistics for customer. **Note:** This API requires a standard end user account to execute.", +"flatPath": "v1/stats/query", +"httpMethod": "GET", +"id": "cloudsearch.stats.getQuery", +"parameterOrder": [], +"parameters": { +"fromDate.day": { +"description": "Day of month. Must be from 1 to 31 and valid for the year and month.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"fromDate.month": { +"description": "Month of date. Must be from 1 to 12.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"fromDate.year": { +"description": "Year of date. Must be from 1 to 9999.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"toDate.day": { +"description": "Day of month. Must be from 1 to 31 and valid for the year and month.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"toDate.month": { +"description": "Month of date. Must be from 1 to 12.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"toDate.year": { +"description": "Year of date. Must be from 1 to 9999.", +"format": "int32", +"location": "query", +"type": "integer" +} +}, +"path": "v1/stats/query", +"response": { +"$ref": "GetCustomerQueryStatsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud_search", +"https://www.googleapis.com/auth/cloud_search.stats", +"https://www.googleapis.com/auth/cloud_search.stats.indexing" +] +}, +"getSearchapplication": { +"description": "Get search application stats for customer. **Note:** This API requires a standard end user account to execute.", +"flatPath": "v1/stats/searchapplication", +"httpMethod": "GET", +"id": "cloudsearch.stats.getSearchapplication", +"parameterOrder": [], +"parameters": { +"endDate.day": { +"description": "Day of month. Must be from 1 to 31 and valid for the year and month.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"endDate.month": { +"description": "Month of date. Must be from 1 to 12.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"endDate.year": { +"description": "Year of date. Must be from 1 to 9999.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"startDate.day": { +"description": "Day of month. Must be from 1 to 31 and valid for the year and month.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"startDate.month": { +"description": "Month of date. Must be from 1 to 12.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"startDate.year": { +"description": "Year of date. Must be from 1 to 9999.", +"format": "int32", +"location": "query", +"type": "integer" +} +}, +"path": "v1/stats/searchapplication", +"response": { +"$ref": "GetCustomerSearchApplicationStatsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud_search", +"https://www.googleapis.com/auth/cloud_search.stats", +"https://www.googleapis.com/auth/cloud_search.stats.indexing" +] +}, +"getSession": { +"description": "Get the # of search sessions, % of successful sessions with a click query statistics for customer. **Note:** This API requires a standard end user account to execute.", +"flatPath": "v1/stats/session", +"httpMethod": "GET", +"id": "cloudsearch.stats.getSession", +"parameterOrder": [], +"parameters": { +"fromDate.day": { +"description": "Day of month. Must be from 1 to 31 and valid for the year and month.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"fromDate.month": { +"description": "Month of date. Must be from 1 to 12.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"fromDate.year": { +"description": "Year of date. Must be from 1 to 9999.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"toDate.day": { +"description": "Day of month. Must be from 1 to 31 and valid for the year and month.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"toDate.month": { +"description": "Month of date. Must be from 1 to 12.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"toDate.year": { +"description": "Year of date. Must be from 1 to 9999.", +"format": "int32", +"location": "query", +"type": "integer" +} +}, +"path": "v1/stats/session", +"response": { +"$ref": "GetCustomerSessionStatsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud_search", +"https://www.googleapis.com/auth/cloud_search.stats", +"https://www.googleapis.com/auth/cloud_search.stats.indexing" +] +}, +"getUser": { +"description": "Get the users statistics for customer. **Note:** This API requires a standard end user account to execute.", +"flatPath": "v1/stats/user", +"httpMethod": "GET", +"id": "cloudsearch.stats.getUser", +"parameterOrder": [], +"parameters": { +"fromDate.day": { +"description": "Day of month. Must be from 1 to 31 and valid for the year and month.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"fromDate.month": { +"description": "Month of date. Must be from 1 to 12.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"fromDate.year": { +"description": "Year of date. Must be from 1 to 9999.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"toDate.day": { +"description": "Day of month. Must be from 1 to 31 and valid for the year and month.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"toDate.month": { +"description": "Month of date. Must be from 1 to 12.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"toDate.year": { +"description": "Year of date. Must be from 1 to 9999.", +"format": "int32", +"location": "query", +"type": "integer" +} +}, +"path": "v1/stats/user", +"response": { +"$ref": "GetCustomerUserStatsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud_search", +"https://www.googleapis.com/auth/cloud_search.stats", +"https://www.googleapis.com/auth/cloud_search.stats.indexing" +] +} +}, +"resources": { +"index": { +"resources": { +"datasources": { +"methods": { +"get": { +"description": "Gets indexed item statistics for a single data source. **Note:** This API requires a standard end user account to execute.", +"flatPath": "v1/stats/index/datasources/{datasourcesId}", +"httpMethod": "GET", +"id": "cloudsearch.stats.index.datasources.get", +"parameterOrder": [ +"name" +], +"parameters": { +"fromDate.day": { +"description": "Day of month. Must be from 1 to 31 and valid for the year and month.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"fromDate.month": { +"description": "Month of date. Must be from 1 to 12.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"fromDate.year": { +"description": "Year of date. Must be from 1 to 9999.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"name": { +"description": "The resource id of the data source to retrieve statistics for, in the following format: \"datasources/{source_id}\"", +"location": "path", +"pattern": "^datasources/[^/]+$", +"required": true, +"type": "string" +}, +"toDate.day": { +"description": "Day of month. Must be from 1 to 31 and valid for the year and month.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"toDate.month": { +"description": "Month of date. Must be from 1 to 12.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"toDate.year": { +"description": "Year of date. Must be from 1 to 9999.", +"format": "int32", +"location": "query", +"type": "integer" +} +}, +"path": "v1/stats/index/{+name}", +"response": { +"$ref": "GetDataSourceIndexStatsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud_search", +"https://www.googleapis.com/auth/cloud_search.stats", +"https://www.googleapis.com/auth/cloud_search.stats.indexing" +] +} +} +} +} +}, +"query": { +"resources": { +"searchapplications": { +"methods": { +"get": { +"description": "Get the query statistics for search application. **Note:** This API requires a standard end user account to execute.", +"flatPath": "v1/stats/query/searchapplications/{searchapplicationsId}", +"httpMethod": "GET", +"id": "cloudsearch.stats.query.searchapplications.get", +"parameterOrder": [ +"name" +], +"parameters": { +"fromDate.day": { +"description": "Day of month. Must be from 1 to 31 and valid for the year and month.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"fromDate.month": { +"description": "Month of date. Must be from 1 to 12.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"fromDate.year": { +"description": "Year of date. Must be from 1 to 9999.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"name": { +"description": "The resource id of the search application query stats, in the following format: searchapplications/{application_id}", +"location": "path", +"pattern": "^searchapplications/[^/]+$", +"required": true, +"type": "string" +}, +"toDate.day": { +"description": "Day of month. Must be from 1 to 31 and valid for the year and month.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"toDate.month": { +"description": "Month of date. Must be from 1 to 12.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"toDate.year": { +"description": "Year of date. Must be from 1 to 9999.", +"format": "int32", +"location": "query", +"type": "integer" +} +}, +"path": "v1/stats/query/{+name}", +"response": { +"$ref": "GetSearchApplicationQueryStatsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud_search", +"https://www.googleapis.com/auth/cloud_search.stats", +"https://www.googleapis.com/auth/cloud_search.stats.indexing" +] +} +} +} +} +}, +"session": { +"resources": { +"searchapplications": { +"methods": { +"get": { +"description": "Get the # of search sessions, % of successful sessions with a click query statistics for search application. **Note:** This API requires a standard end user account to execute.", +"flatPath": "v1/stats/session/searchapplications/{searchapplicationsId}", +"httpMethod": "GET", +"id": "cloudsearch.stats.session.searchapplications.get", +"parameterOrder": [ +"name" +], +"parameters": { +"fromDate.day": { +"description": "Day of month. Must be from 1 to 31 and valid for the year and month.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"fromDate.month": { +"description": "Month of date. Must be from 1 to 12.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"fromDate.year": { +"description": "Year of date. Must be from 1 to 9999.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"name": { +"description": "The resource id of the search application session stats, in the following format: searchapplications/{application_id}", +"location": "path", +"pattern": "^searchapplications/[^/]+$", +"required": true, +"type": "string" +}, +"toDate.day": { +"description": "Day of month. Must be from 1 to 31 and valid for the year and month.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"toDate.month": { +"description": "Month of date. Must be from 1 to 12.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"toDate.year": { +"description": "Year of date. Must be from 1 to 9999.", +"format": "int32", +"location": "query", +"type": "integer" +} +}, +"path": "v1/stats/session/{+name}", +"response": { +"$ref": "GetSearchApplicationSessionStatsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud_search", +"https://www.googleapis.com/auth/cloud_search.stats", +"https://www.googleapis.com/auth/cloud_search.stats.indexing" +] +} +} +} +} +}, +"user": { +"resources": { +"searchapplications": { +"methods": { +"get": { +"description": "Get the users statistics for search application. **Note:** This API requires a standard end user account to execute.", +"flatPath": "v1/stats/user/searchapplications/{searchapplicationsId}", +"httpMethod": "GET", +"id": "cloudsearch.stats.user.searchapplications.get", +"parameterOrder": [ +"name" +], +"parameters": { +"fromDate.day": { +"description": "Day of month. Must be from 1 to 31 and valid for the year and month.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"fromDate.month": { +"description": "Month of date. Must be from 1 to 12.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"fromDate.year": { +"description": "Year of date. Must be from 1 to 9999.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"name": { +"description": "The resource id of the search application session stats, in the following format: searchapplications/{application_id}", +"location": "path", +"pattern": "^searchapplications/[^/]+$", +"required": true, +"type": "string" +}, +"toDate.day": { +"description": "Day of month. Must be from 1 to 31 and valid for the year and month.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"toDate.month": { +"description": "Month of date. Must be from 1 to 12.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"toDate.year": { +"description": "Year of date. Must be from 1 to 9999.", +"format": "int32", +"location": "query", +"type": "integer" +} +}, +"path": "v1/stats/user/{+name}", +"response": { +"$ref": "GetSearchApplicationUserStatsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud_search", +"https://www.googleapis.com/auth/cloud_search.stats", +"https://www.googleapis.com/auth/cloud_search.stats.indexing" +] +} +} +} +} +} +} +}, +"v1": { +"methods": { +"initializeCustomer": { +"description": "Enables `third party` support in Google Cloud Search. **Note:** This API requires an admin account to execute.", +"flatPath": "v1:initializeCustomer", +"httpMethod": "POST", +"id": "cloudsearch.initializeCustomer", +"parameterOrder": [], +"parameters": {}, +"path": "v1:initializeCustomer", +"request": { +"$ref": "InitializeCustomerRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud_search", +"https://www.googleapis.com/auth/cloud_search.settings", +"https://www.googleapis.com/auth/cloud_search.settings.indexing" +] +} +} +} +}, +"revision": "20260114", +"rootUrl": "https://cloudsearch.googleapis.com/", +"schemas": { +"Action": { +"id": "Action", +"properties": { +"title": { +"description": "[Required] Title of the action.", +"type": "string" +}, +"url": { +"description": "[Optional] Url of the action.", +"type": "string" +} +}, +"type": "object" +}, +"AuditLoggingSettings": { +"description": "Represents the settings for Cloud audit logging", +"id": "AuditLoggingSettings", +"properties": { +"logAdminReadActions": { +"description": "Indicates whether audit logging is on/off for admin activity read APIs i.e. Get/List DataSources, Get/List SearchApplications etc.", +"type": "boolean" +}, +"logDataReadActions": { +"description": "Indicates whether audit logging is on/off for data access read APIs i.e. ListItems, GetItem etc.", +"type": "boolean" +}, +"logDataWriteActions": { +"description": "Indicates whether audit logging is on/off for data access write APIs i.e. IndexItem etc.", +"type": "boolean" +}, +"project": { +"description": "The resource name of the GCP Project to store audit logs. Cloud audit logging will be enabled after project_name has been updated through CustomerService. Format: projects/{project_id}", +"type": "string" +} +}, +"type": "object" +}, +"BackgroundColoredText": { +"id": "BackgroundColoredText", +"properties": { +"backgroundColor": { +"description": "[Optional] Color of the background. The text color can change depending on the selected background color, and the client does not have control over this. If missing, the background will be WHITE.", +"enum": [ +"UNKNOWN_COLOR", +"WHITE", +"YELLOW", +"ORANGE", +"GREEN", +"BLUE", +"GREY" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"", +"" +], +"type": "string" +}, +"text": { +"description": "[Required] The text to display.", +"type": "string" +} +}, +"type": "object" +}, +"BooleanOperatorOptions": { +"description": "Used to provide a search operator for boolean properties. This is optional. Search operators let users restrict the query to specific fields relevant to the type of item being searched.", +"id": "BooleanOperatorOptions", +"properties": { +"operatorName": { +"description": "Indicates the operator name required in the query in order to isolate the boolean property. For example, if operatorName is *closed* and the property's name is *isClosed*, then queries like *closed:* show results only where the value of the property named *isClosed* matches **. By contrast, a search that uses the same ** without an operator returns all items where ** matches the value of any String properties or text within the content field for the item. The operator name can only contain lowercase letters (a-z). The maximum length is 32 characters.", +"type": "string" +} +}, +"type": "object" +}, +"BooleanPropertyOptions": { +"description": "The options for boolean properties.", +"id": "BooleanPropertyOptions", +"properties": { +"operatorOptions": { +"$ref": "BooleanOperatorOptions", +"description": "If set, describes how the boolean should be used as a search operator." +} +}, +"type": "object" +}, +"CheckAccessResponse": { +"id": "CheckAccessResponse", +"properties": { +"hasAccess": { +"description": "Returns true if principal has access. Returns false otherwise.", +"type": "boolean" +} +}, +"type": "object" +}, +"CompositeFilter": { +"id": "CompositeFilter", +"properties": { +"logicOperator": { +"description": "The logic operator of the sub filter.", +"enum": [ +"AND", +"OR", +"NOT" +], +"enumDescriptions": [ +"Logical operators, which can only be applied to sub filters.", +"", +"NOT can only be applied on a single sub filter." +], +"type": "string" +}, +"subFilters": { +"description": "Sub filters.", +"items": { +"$ref": "Filter" +}, +"type": "array" +} +}, +"type": "object" +}, +"Content": { +"id": "Content", +"properties": { +"actions": { +"description": "[Optional] Actions for this card.", +"items": { +"$ref": "Action" +}, +"type": "array" +}, +"description": { +"$ref": "SafeHtmlProto", +"description": "[Optional] Description of the card." +}, +"subtitle": { +"$ref": "BackgroundColoredText", +"description": "[Optional] Subtitle of the card." +}, +"title": { +"$ref": "BackgroundColoredText", +"description": "[Optional] Title of the card." +} +}, +"type": "object" +}, +"Context": { +"id": "Context", +"properties": { +"app": { +"description": "[Optional] App where the card should be shown. If missing, the card will be shown in TOPAZ.", +"items": { +"enum": [ +"UNKNOWN_APP", +"TOPAZ", +"MOMA" +], +"enumDescriptions": [ +"", +"", +"" +], +"type": "string" +}, +"type": "array" +}, +"dayOfWeek": { +"description": "[Optional] Day of week when the card should be shown, where 0 is Monday.", +"items": { +"format": "int32", +"type": "integer" +}, +"type": "array" +}, +"endDateSec": { +"description": "[Optional] Date (in seconds since epoch) when the card should stop being shown. If missing, end_date_sec will be set to Jan 1st, 2100.", +"format": "int64", +"type": "string" +}, +"endDayOffsetSec": { +"description": "[Optional] End time in seconds, within a day, when the card should stop being shown if it's within [start_date_sec, end_date_sec]. If missing, this is set to 86400 (24 hours x 3600 sec/hour), i.e., midnight next day.", +"format": "int64", +"type": "string" +}, +"locale": { +"description": "[Optional] The locales for which the card should be triggered (e.g., en_US and en_CA). If missing, the card is going to show to clients regardless of their locale.", +"items": { +"type": "string" +}, +"type": "array" +}, +"location": { +"description": "[Optional] Text-free locations where the card should be shown. This is expected to match the user's location in focus. If no location is specified, the card will be shown for any location.", +"items": { +"type": "string" +}, +"type": "array" +}, +"query": { +"description": "[Required only for Answer and RHS cards - will be ignored for Homepage] cards. It's the exact case-insensitive queries that will trigger the Answer or RHS card.", +"items": { +"type": "string" +}, +"type": "array" +}, +"startDateSec": { +"description": "[Optional] Date (in seconds since epoch) when the card should start being shown. If missing, start_date_sec will be Jan 1st, 1970 UTC.", +"format": "int64", +"type": "string" +}, +"startDayOffsetSec": { +"description": "[Optional] Start time in seconds, within a day, when the card should be shown if it's within [start_date_sec, end_date_sec]. If 0, the card will be shown from 12:00am on.", +"format": "int64", +"type": "string" +}, +"surface": { +"description": "[Optional] Surface where the card should be shown in. If missing, the card will be shown in any surface.", +"items": { +"enum": [ +"UNKNOWN_SURFACE", +"DESKTOP", +"ANDROID", +"IOS", +"MOBILE", +"ANY" +], +"enumDescriptions": [ +"", +"", +"", +"", +"Any mobile device.", +"" +], +"type": "string" +}, +"type": "array" +}, +"type": { +"description": "[Required] Type of the card (homepage, Answer or RHS).", +"items": { +"enum": [ +"UNKNOWN_CARD_TYPE", +"HOMEPAGE_CARD", +"ANSWER_CARD", +"RHS_CARD" +], +"enumDescriptions": [ +"", +"", +"", +"" +], +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ContextAttribute": { +"description": "A named attribute associated with an item which can be used for influencing the ranking of the item based on the context in the request.", +"id": "ContextAttribute", +"properties": { +"name": { +"description": "The name of the attribute. It should not be empty. The maximum length is 32 characters. The name must start with a letter and can only contain letters (A-Z, a-z) or numbers (0-9). The name will be normalized (lower-cased) before being matched.", +"type": "string" +}, +"values": { +"description": "Text values of the attribute. The maximum number of elements is 10. The maximum length of an element in the array is 32 characters. The value will be normalized (lower-cased) before being matched.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"CustomerIndexStats": { +"description": "Aggregation of items by status code as of the specified date.", +"id": "CustomerIndexStats", +"properties": { +"date": { +"$ref": "Date", +"description": "The date for which statistics were calculated." +}, +"itemCountByStatus": { +"description": "Number of items aggregrated by status code.", +"items": { +"$ref": "ItemCountByStatus" +}, +"type": "array" +} +}, +"type": "object" +}, +"CustomerQueryStats": { +"id": "CustomerQueryStats", +"properties": { +"date": { +"$ref": "Date", +"description": "The date for which query stats were calculated. Stats calculated on the next day close to midnight are returned." +}, +"queryCountByStatus": { +"items": { +"$ref": "QueryCountByStatus" +}, +"type": "array" +} +}, +"type": "object" +}, +"CustomerSearchApplicationStats": { +"description": "Search application stats for a customer for the given date.", +"id": "CustomerSearchApplicationStats", +"properties": { +"count": { +"description": "The count of search applications for the date.", +"format": "int64", +"type": "string" +}, +"date": { +"$ref": "Date", +"description": "The date for which search application stats were calculated." +} +}, +"type": "object" +}, +"CustomerSessionStats": { +"id": "CustomerSessionStats", +"properties": { +"date": { +"$ref": "Date", +"description": "The date for which session stats were calculated. Stats are calculated on the following day, close to midnight PST, and then returned." +}, +"searchSessionsCount": { +"description": "The count of search sessions on the day", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"CustomerSettings": { +"description": "Represents settings at a customer level.", +"id": "CustomerSettings", +"properties": { +"auditLoggingSettings": { +"$ref": "AuditLoggingSettings", +"description": "Audit Logging settings for the customer. If update_mask is empty then this field will be updated based on UpdateCustomerSettings request." +}, +"vpcSettings": { +"$ref": "VPCSettings", +"description": "VPC SC settings for the customer. If update_mask is empty then this field will be updated based on UpdateCustomerSettings request." +} +}, +"type": "object" +}, +"CustomerUserStats": { +"id": "CustomerUserStats", +"properties": { +"date": { +"$ref": "Date", +"description": "The date for which session stats were calculated. Stats calculated on the next day close to midnight are returned." +}, +"oneDayActiveUsersCount": { +"description": "The count of unique active users in the past one day", +"format": "int64", +"type": "string" +}, +"sevenDaysActiveUsersCount": { +"description": "The count of unique active users in the past seven days", +"format": "int64", +"type": "string" +}, +"thirtyDaysActiveUsersCount": { +"description": "The count of unique active users in the past thirty days", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"DataSource": { +"description": "Datasource is a logical namespace for items to be indexed. All items must belong to a datasource. This is the prerequisite before items can be indexed into Cloud Search. ", +"id": "DataSource", +"properties": { +"disableModifications": { +"description": "If true, sets the datasource to read-only mode. In read-only mode, the Indexing API rejects any requests to index or delete items in this source. Enabling read-only mode does not stop the processing of previously accepted data.", +"type": "boolean" +}, +"disableServing": { +"description": "Disable serving any search or assist results.", +"type": "boolean" +}, +"displayName": { +"description": "Required. Display name of the datasource The maximum length is 300 characters.", +"type": "string" +}, +"indexingServiceAccounts": { +"description": "List of service accounts that have indexing access.", +"items": { +"type": "string" +}, +"type": "array" +}, +"itemsVisibility": { +"description": "This field restricts visibility to items at the datasource level. Items within the datasource are restricted to the union of users and groups included in this field. Note that, this does not ensure access to a specific item, as users need to have ACL permissions on the contained items. This ensures a high level access on the entire datasource, and that the individual items are not shared outside this visibility.", +"items": { +"$ref": "GSuitePrincipal" +}, +"type": "array" +}, +"name": { +"description": "The name of the datasource resource. Format: datasources/{source_id}. The name is ignored when creating a datasource.", +"type": "string" +}, +"operationIds": { +"description": "IDs of the Long Running Operations (LROs) currently running for this schema.", +"items": { +"type": "string" +}, +"type": "array" +}, +"returnThumbnailUrls": { +"description": "Can a user request to get thumbnail URI for Items indexed in this data source.", +"type": "boolean" +}, +"shortName": { +"description": "A short name or alias for the source. This value will be used to match the 'source' operator. For example, if the short name is ** then queries like *source:* will only return results for this source. The value must be unique across all datasources. The value must only contain alphanumeric characters (a-zA-Z0-9). The value cannot start with 'google' and cannot be one of the following: mail, gmail, docs, drive, groups, sites, calendar, hangouts, gplus, keep, people, teams. Its maximum length is 32 characters.", +"type": "string" +} +}, +"type": "object" +}, +"DataSourceIndexStats": { +"description": "Aggregation of items by status code as of the specified date.", +"id": "DataSourceIndexStats", +"properties": { +"date": { +"$ref": "Date", +"description": "The date for which index stats were calculated. If the date of request is not the current date then stats calculated on the next day are returned. Stats are calculated close to mid night in this case. If date of request is current date, then real time stats are returned." +}, +"itemCountByStatus": { +"description": "Number of items aggregrated by status code.", +"items": { +"$ref": "ItemCountByStatus" +}, +"type": "array" +} +}, +"type": "object" +}, +"DataSourceRestriction": { +"description": "Restriction on Datasource.", +"id": "DataSourceRestriction", +"properties": { +"filterOptions": { +"description": "Filter options restricting the results. If multiple filters are present, they are grouped by object type before joining. Filters with the same object type are joined conjunctively, then the resulting expressions are joined disjunctively. The maximum number of elements is 20. NOTE: Suggest API supports only few filters at the moment: \"objecttype\", \"type\" and \"mimetype\". For now, schema specific filters cannot be used to filter suggestions.", +"items": { +"$ref": "FilterOptions" +}, +"type": "array" +}, +"source": { +"$ref": "Source", +"description": "The source of restriction." +} +}, +"type": "object" +}, +"Date": { +"description": "Represents a whole calendar date, for example a date of birth. The time of day and time zone are either specified elsewhere or are not significant. The date is relative to the [Proleptic Gregorian Calendar](https://en.wikipedia.org/wiki/Proleptic_Gregorian_calendar). The date must be a valid calendar date between the year 1 and 9999.", +"id": "Date", +"properties": { +"day": { +"description": "Day of month. Must be from 1 to 31 and valid for the year and month.", +"format": "int32", +"type": "integer" +}, +"month": { +"description": "Month of date. Must be from 1 to 12.", +"format": "int32", +"type": "integer" +}, +"year": { +"description": "Year of date. Must be from 1 to 9999.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"DateOperatorOptions": { +"description": "Optional. Provides a search operator for date properties. Search operators let users restrict the query to specific fields relevant to the type of item being searched.", +"id": "DateOperatorOptions", +"properties": { +"greaterThanOperatorName": { +"description": "Indicates the operator name required in the query in order to isolate the date property using the greater-than operator. For example, if greaterThanOperatorName is *closedafter* and the property's name is *closeDate*, then queries like *closedafter:* show results only where the value of the property named *closeDate* is later than **. The operator name can only contain lowercase letters (a-z). The maximum length is 32 characters.", +"type": "string" +}, +"lessThanOperatorName": { +"description": "Indicates the operator name required in the query in order to isolate the date property using the less-than operator. For example, if lessThanOperatorName is *closedbefore* and the property's name is *closeDate*, then queries like *closedbefore:* show results only where the value of the property named *closeDate* is earlier than **. The operator name can only contain lowercase letters (a-z). The maximum length is 32 characters.", +"type": "string" +}, +"operatorName": { +"description": "Indicates the actual string required in the query in order to isolate the date property. For example, suppose an issue tracking schema object has a property named *closeDate* that specifies an operator with an operatorName of *closedon*. For searches on that data, queries like *closedon:* show results only where the value of the *closeDate* property matches **. By contrast, a search that uses the same ** without an operator returns all items where ** matches the value of any String properties or text within the content field for the indexed datasource. The operator name can only contain lowercase letters (a-z). The maximum length is 32 characters.", +"type": "string" +} +}, +"type": "object" +}, +"DatePropertyOptions": { +"description": "The options for date properties.", +"id": "DatePropertyOptions", +"properties": { +"operatorOptions": { +"$ref": "DateOperatorOptions", +"description": "If set, describes how the date should be used as a search operator." +} +}, +"type": "object" +}, +"DateValues": { +"description": "List of date values.", +"id": "DateValues", +"properties": { +"values": { +"items": { +"$ref": "Date" +}, +"type": "array" +} +}, +"type": "object" +}, +"DebugOptions": { +"description": "Shared request debug options for all cloudsearch RPC methods.", +"id": "DebugOptions", +"properties": { +"enableDebugging": { +"description": "If you are asked by Google to help with debugging, set this field. Otherwise, ignore this field.", +"type": "boolean" +} +}, +"type": "object" +}, +"DeleteQueueItemsRequest": { +"id": "DeleteQueueItemsRequest", +"properties": { +"connectorName": { +"description": "The name of connector making this call. Format: datasources/{source_id}/connectors/{ID}", +"type": "string" +}, +"debugOptions": { +"$ref": "DebugOptions", +"description": "Common debug options." +}, +"queue": { +"description": "The name of a queue to delete items from.", +"type": "string" +} +}, +"type": "object" +}, +"DisplayedProperty": { +"description": "A reference to a top-level property within the object that should be displayed in search results. The values of the chosen properties is displayed in the search results along with the display label for that property if one is specified. If a display label is not specified, only the values is shown.", +"id": "DisplayedProperty", +"properties": { +"propertyName": { +"description": "The name of the top-level property as defined in a property definition for the object. If the name is not a defined property in the schema, an error is given when attempting to update the schema.", +"type": "string" +} +}, +"type": "object" +}, +"DoubleOperatorOptions": { +"description": "Used to provide a search operator for double properties. This is optional. Search operators let users restrict the query to specific fields relevant to the type of item being searched.", +"id": "DoubleOperatorOptions", +"properties": { +"operatorName": { +"description": "Indicates the operator name required in the query in order to use the double property in sorting or as a facet. The operator name can only contain lowercase letters (a-z). The maximum length is 32 characters.", +"type": "string" +} +}, +"type": "object" +}, +"DoublePropertyOptions": { +"description": "The options for double properties.", +"id": "DoublePropertyOptions", +"properties": { +"operatorOptions": { +"$ref": "DoubleOperatorOptions", +"description": "If set, describes how the double should be used as a search operator." +} +}, +"type": "object" +}, +"DoubleValues": { +"description": "List of double values.", +"id": "DoubleValues", +"properties": { +"values": { +"items": { +"format": "double", +"type": "number" +}, +"type": "array" +} +}, +"type": "object" +}, +"DriveFollowUpRestrict": { +"description": "Drive follow-up search restricts (e.g. \"followup:suggestions\").", +"id": "DriveFollowUpRestrict", +"properties": { +"type": { +"enum": [ +"UNSPECIFIED", +"FOLLOWUP_SUGGESTIONS", +"FOLLOWUP_ACTION_ITEMS" +], +"enumDescriptions": [ +"", +"", +"" +], +"type": "string" +} +}, +"type": "object" +}, +"DriveLocationRestrict": { +"description": "Drive location search restricts (e.g. \"is:starred\").", +"id": "DriveLocationRestrict", +"properties": { +"type": { +"enum": [ +"UNSPECIFIED", +"TRASHED", +"STARRED" +], +"enumDescriptions": [ +"", +"", +"" +], +"type": "string" +} +}, +"type": "object" +}, +"DriveMimeTypeRestrict": { +"description": "Drive mime-type search restricts (e.g. \"type:pdf\").", +"id": "DriveMimeTypeRestrict", +"properties": { +"type": { +"enum": [ +"UNSPECIFIED", +"PDF", +"DOCUMENT", +"PRESENTATION", +"SPREADSHEET", +"FORM", +"DRAWING", +"SCRIPT", +"MAP", +"IMAGE", +"AUDIO", +"VIDEO", +"FOLDER", +"ARCHIVE", +"SITE" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"" +], +"type": "string" +} +}, +"type": "object" +}, +"DriveTimeSpanRestrict": { +"description": "The time span search restrict (e.g. \"after:2017-09-11 before:2017-09-12\").", +"id": "DriveTimeSpanRestrict", +"properties": { +"type": { +"enum": [ +"UNSPECIFIED", +"TODAY", +"YESTERDAY", +"LAST_7_DAYS", +"LAST_30_DAYS", +"LAST_90_DAYS" +], +"enumDescriptions": [ +"", +"", +"", +"", +"Not Enabled", +"Not Enabled" +], +"type": "string" +} +}, +"type": "object" +}, +"EmailAddress": { +"description": "A person's email address.", +"id": "EmailAddress", +"properties": { +"customType": { +"description": "If the value of type is custom, this property contains the custom type string.", +"type": "string" +}, +"emailAddress": { +"description": "The email address.", +"type": "string" +}, +"emailUrl": { +"description": "The URL to send email.", +"type": "string" +}, +"primary": { +"description": "Indicates if this is the user's primary email. Only one entry can be marked as primary.", +"type": "boolean" +}, +"type": { +"description": "The type of the email account. Acceptable values are: \"custom\", \"home\", \"other\", \"work\".", +"type": "string" +} +}, +"type": "object" +}, +"EnterpriseTopazFrontendTeamsLink": { +"id": "EnterpriseTopazFrontendTeamsLink", +"properties": { +"type": { +"description": "The identifying link type", +"type": "string" +}, +"url": { +"$ref": "SafeUrlProto" +} +}, +"type": "object" +}, +"EnterpriseTopazFrontendTeamsPersonCorePhoneNumber": { +"id": "EnterpriseTopazFrontendTeamsPersonCorePhoneNumber", +"properties": { +"phoneNumber": { +"description": "Phone number in no particular format (as comes from the Focus profile).", +"type": "string" +}, +"phoneUrl": { +"$ref": "SafeUrlProto", +"description": "Phone number URL" +}, +"type": { +"enum": [ +"UNKNOWN", +"MOBILE", +"OFFICE", +"OTHER" +], +"enumDescriptions": [ +"", +"", +"", +"" +], +"type": "string" +} +}, +"type": "object" +}, +"EnterpriseTopazSidekickAgendaEntry": { +"description": "An AgendaEntry, e.g., a Calendar Event.", +"id": "EnterpriseTopazSidekickAgendaEntry", +"properties": { +"agendaItemUrl": { +"description": "URL of the agenda item.", +"type": "string" +}, +"chronology": { +"description": "The chronology from the present.", +"enum": [ +"STALE", +"ALL_DAY", +"PAST", +"RECENTLY_PAST", +"PRESENT", +"NEAR_FUTURE", +"FUTURE" +], +"enumDescriptions": [ +"Stale.", +"All day.", +"Past.", +"Recently past.", +"Present.", +"Near future.", +"Future." +], +"type": "string" +}, +"creator": { +"$ref": "EnterpriseTopazSidekickPerson", +"description": "Person who created the event." +}, +"currentUserAttendingStatus": { +"description": "Attendance status for the current user making the request. This is a convenience data member in order to avoid figuring out the same by iterating the invitee list above on the caller side.", +"enum": [ +"AWAITING", +"YES", +"NO", +"MAYBE" +], +"enumDescriptions": [ +"Awaiting for the user to set the status.", +"Attending.", +"Not attending.", +"Tentatively attending." +], +"type": "string" +}, +"description": { +"description": "Description of the agenda item (i.e., typically, summary in calendar event).", +"type": "string" +}, +"document": { +"description": "Items related to the current AgendaEntry. E.g., related drive/mail/groups documents.", +"items": { +"$ref": "EnterpriseTopazSidekickCommonDocument" +}, +"type": "array" +}, +"endDate": { +"description": "End date \"Friday, August 26\" in the user's timezone.", +"type": "string" +}, +"endTime": { +"description": "End time (HH:mm) in the user's timezone.", +"type": "string" +}, +"endTimeMs": { +"description": "End time in milliseconds", +"format": "int64", +"type": "string" +}, +"eventId": { +"description": "Event id provided by Calendar API.", +"type": "string" +}, +"guestsCanInviteOthers": { +"description": "Whether the guests can invite other guests.", +"type": "boolean" +}, +"guestsCanModify": { +"description": "Whether the guests can modify the event.", +"type": "boolean" +}, +"guestsCanSeeGuests": { +"description": "Whether the guests of the event can be seen. If false, the user is going to be reported as the only attendee to the meeting, even though there may be more attendees.", +"type": "boolean" +}, +"hangoutId": { +"description": "Hangout meeting identifier.", +"type": "string" +}, +"hangoutUrl": { +"description": "Absolute URL for the Hangout meeting.", +"type": "string" +}, +"invitee": { +"description": "People attending the meeting.", +"items": { +"$ref": "EnterpriseTopazSidekickPerson" +}, +"type": "array" +}, +"isAllDay": { +"description": "Whether the entry lasts all day.", +"type": "boolean" +}, +"lastModificationTimeMs": { +"description": "Last time the event was modified.", +"format": "int64", +"type": "string" +}, +"location": { +"description": "Agenda item location.", +"type": "string" +}, +"notifyToUser": { +"description": "Whether this should be notified to the user.", +"type": "boolean" +}, +"otherAttendeesExcluded": { +"description": "Whether guest list is not returned because number of attendees is too large.", +"type": "boolean" +}, +"requesterIsOwner": { +"description": "Whether the requester is the owner of the agenda entry.", +"type": "boolean" +}, +"showFullEventDetailsToUse": { +"description": "Whether the details of this entry should be displayed to the user.", +"type": "boolean" +}, +"startDate": { +"description": "Start date \"Friday, August 26\" in the user's timezone.", +"type": "string" +}, +"startTime": { +"description": "Start time (HH:mm) in the user's timezone.", +"type": "string" +}, +"startTimeMs": { +"description": "Start time in milliseconds.", +"format": "int64", +"type": "string" +}, +"timeZone": { +"description": "User's calendar timezone;", +"type": "string" +}, +"title": { +"description": "Title of the agenda item.", +"type": "string" +} +}, +"type": "object" +}, +"EnterpriseTopazSidekickAgendaGroupCardProto": { +"id": "EnterpriseTopazSidekickAgendaGroupCardProto", +"properties": { +"agendaItem": { +"items": { +"$ref": "EnterpriseTopazSidekickAgendaItem" +}, +"type": "array" +}, +"context": { +"$ref": "EnterpriseTopazSidekickAgendaGroupCardProtoContext" +}, +"currentAgendaItem": { +"$ref": "EnterpriseTopazSidekickAgendaItem" +} +}, +"type": "object" +}, +"EnterpriseTopazSidekickAgendaGroupCardProtoContext": { +"description": "The context that resulted in the generation of the card.", +"id": "EnterpriseTopazSidekickAgendaGroupCardProtoContext", +"properties": { +"context": { +"description": "User friendly free text that describes the context of the card (e.g. \"Next meeting with Bob\"). This is largely only applicable when the card is generated from a query.", +"type": "string" +}, +"date": { +"description": "Localized free text that describes the dates represented by the card. Currently, the card will only represent a single day.", +"type": "string" +}, +"eventsRestrict": { +"description": "Represents restrictions applied to the events requested in the user's query.", +"enum": [ +"NONE", +"NEXT_MEETING" +], +"enumDescriptions": [ +"No specific event was requested.", +"The next meeting was requested." +], +"type": "string" +} +}, +"type": "object" +}, +"EnterpriseTopazSidekickAgendaItem": { +"id": "EnterpriseTopazSidekickAgendaItem", +"properties": { +"conflictedGroup": { +"$ref": "EnterpriseTopazSidekickConflictingEventsCardProto" +}, +"gapBefore": { +"$ref": "EnterpriseTopazSidekickGap" +}, +"meeting": { +"$ref": "EnterpriseTopazSidekickAgendaEntry" +} +}, +"type": "object" +}, +"EnterpriseTopazSidekickAnswerAnswerList": { +"description": "A list of answers represented as free text.", +"id": "EnterpriseTopazSidekickAnswerAnswerList", +"properties": { +"labeledAnswer": { +"description": "Answers that have a corresponding label.", +"items": { +"$ref": "EnterpriseTopazSidekickAnswerAnswerListLabeledAnswer" +}, +"type": "array" +}, +"type": { +"description": "Answer type.", +"enum": [ +"UNKNOWN", +"PERSON_ADDRESS", +"PERSON_BIRTHDAY", +"PERSON_DEPARTMENT", +"PERSON_DESK_LOCATION", +"PERSON_EMAIL", +"PERSON_JOB_TITLE", +"PERSON_PHONE" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"", +"", +"" +], +"type": "string" +} +}, +"type": "object" +}, +"EnterpriseTopazSidekickAnswerAnswerListLabeledAnswer": { +"description": "An answer with a corresponding label.", +"id": "EnterpriseTopazSidekickAnswerAnswerListLabeledAnswer", +"properties": { +"answer": { +"description": "The free text answer.", +"type": "string" +}, +"label": { +"description": "A localized label for the answer (e.g. \"Cell phone\" vs \"Desk phone\").", +"type": "string" +} +}, +"type": "object" +}, +"EnterpriseTopazSidekickAnswerSuggestedQueryAnswerCard": { +"description": "Contains a list of suggested queries. Allows the user to determine what natural language queries they can ask Cloud Search (e.g. \"what can I search for?\").", +"id": "EnterpriseTopazSidekickAnswerSuggestedQueryAnswerCard", +"properties": { +"suggestedQueryCategory": { +"description": "A list of queries to suggest.", +"items": { +"$ref": "EnterpriseTopazSidekickAnswerSuggestedQueryCategory" +}, +"type": "array" +} +}, +"type": "object" +}, +"EnterpriseTopazSidekickAnswerSuggestedQueryCategory": { +"description": "Contains a list of suggested queries for a single category.", +"id": "EnterpriseTopazSidekickAnswerSuggestedQueryCategory", +"properties": { +"category": { +"description": "The query list category.", +"enum": [ +"UNKNOWN", +"CALENDAR", +"DOCUMENT", +"PEOPLE" +], +"enumDescriptions": [ +"Unknown.", +"Calendar based queries (e.g. \"my agenda for tomorrow\").", +"Document based queries (e.g. \"files shared with me\").", +"People based queries (e.g. \"what is x's email address?\")." +], +"type": "string" +}, +"isEnabled": { +"description": "Whether this category is enabled.", +"type": "boolean" +}, +"query": { +"description": "List of suggested queries to show the user.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"EnterpriseTopazSidekickAssistCardProto": { +"description": "Wrapper proto for the Assist cards.", +"id": "EnterpriseTopazSidekickAssistCardProto", +"properties": { +"agendaGroupCardProto": { +"$ref": "EnterpriseTopazSidekickAgendaGroupCardProto", +"description": "Agenda group card." +}, +"cardMetadata": { +"$ref": "EnterpriseTopazSidekickCardMetadata", +"description": "Card metadata such as chronology and render mode of the card." +}, +"cardType": { +"description": "Card type.", +"enum": [ +"UNKNOWN_TYPE", +"AGENDA", +"CHANGELISTS", +"CONFLICTING_MEETINGS", +"CREATE_NOTES_FOR_MEETING", +"CREATE_NOTES_FOR_MEETING_REQUEST", +"CUSTOMER_NEWS", +"FIND_MEETING_TIME", +"NEXT_MEETING", +"PERSONALIZED_DOCS", +"TRENDING_DOCS", +"UPCOMING_TRIP", +"SUMMARY", +"MEETINGS", +"HOMEPAGE", +"SHARE_MEETING_DOCS", +"DISCOVER_PEOPLE", +"HOMEPAGE_V3", +"AGENDA_GROUP", +"WORK_IN_PROGRESS", +"GET_AND_KEEP_AHEAD", +"GENERIC_ANSWER_CARD", +"THIRD_PARTY_ANSWER_CARD", +"DOMAIN_TRENDING_DOCS", +"TEAM_TRENDING_DOCS", +"DOCUMENT_LIST_ANSWER_CARD", +"SUGGESTED_QUERY_ANSWER_CARD", +"PERSON_ANSWER_CARD", +"RELATED_PEOPLE_ANSWER_CARD", +"PERSON_KNOWLEDGE_CARD", +"PEOPLE_SEARCH_PROMOTION_CARD" +], +"enumDeprecated": [ +false, +true, +true, +true, +true, +true, +true, +false, +true, +true, +true, +true, +true, +true, +true, +true, +true, +true, +false, +false, +false, +false, +false, +true, +true, +false, +false, +false, +false, +false, +false +], +"enumDescriptions": [ +"The default type, an unknown card type.", +"The user's agenda for the day.", +"Changelists.", +"Any group of meetings for the day that are overlapping.", +"Create notes for a meeting specified in the request.", +"Create notes for meeting query.", +"News about your SFDC customers.", +"Find a time for two people to meet.", +"The user's next non-declined meeting.", +"Important documents for you since you have viewed them in the last month and there's some action going on.", +"Documents that are trending in your company. A TRENDING_DOCS card can be of two types: TRENDING_IN_COLLABORATORS (i.e., Stay in the Loop) and TRENDING_IN_DOMAIN (i.e., Popular Content). Use DOMAIN_TRENDING_DOCS/TEAM_TRENDING_DOCS instead.", +"An upcoming trip with all trip information along with calendar events in the destination timezone.", +"The Morning/Evening Summary Card for the next working day.", +"A meeting. When requesting meetings, the service will return a MEETING card for each meeting the user has in his agenda.", +"All cards related to the homepage (agenda, conflicting-meetings, summary, etc...). This type should no longer be used. Use HOMEPAGE_V3 instead.", +"A card to with specifics to share meeting documents with all attendees.", +"Represents a set of users that the requesting user has low affinity with.", +"All cards related to the homepage-v3 (agenda-group, WIP, etc...)", +"A group of agenda-events (meeting, conflicts)", +"The documents that you were recently working on.", +"(v3) The \"get and keep ahead\" card for today and tomorrow", +"Generic answer card.", +"Third party answer card.", +"Documents that are trending in your company/domain (i.e., Popular Content).", +"Documents that are trending in your team (i.e., Stay in the Loop).", +"Documents that match the user's query (e.g. sheets shared with me).", +"A help card that provides examples of queries the user can ask.", +"Answer card for a single person (e.g. what is x's phone number).", +"Answer card for a list of people related to the person that is the subject of the query (e.g. who reports to x).", +"Knowledge card for a single person and their related people.", +"People Search promotion card." +], +"type": "string" +}, +"conflictingMeetingsCard": { +"$ref": "EnterpriseTopazSidekickConflictingEventsCardProto", +"deprecated": true, +"description": "Conflicting events card." +}, +"documentListCard": { +"$ref": "EnterpriseTopazSidekickDocumentPerCategoryList", +"description": "Answer card for documents that are applicable to the current query." +}, +"documentsWithMentions": { +"$ref": "EnterpriseTopazSidekickDocumentPerCategoryList", +"deprecated": true, +"description": "Documents with mentions." +}, +"findMeetingTimeCard": { +"$ref": "EnterpriseTopazSidekickFindMeetingTimeCardProto", +"description": "Find meeting time card." +}, +"genericAnswerCard": { +"$ref": "EnterpriseTopazSidekickGenericAnswerCard", +"description": "Generic answer card." +}, +"getAndKeepAheadCard": { +"$ref": "EnterpriseTopazSidekickGetAndKeepAheadCardProto", +"description": "Get and keep ahead card." +}, +"meeting": { +"$ref": "EnterpriseTopazSidekickAgendaEntry", +"deprecated": true, +"description": "Meeting card." +}, +"meetingNotesCard": { +"$ref": "EnterpriseTopazSidekickMeetingNotesCardProto", +"description": "Meeting notes card." +}, +"meetingNotesCardRequest": { +"$ref": "EnterpriseTopazSidekickMeetingNotesCardRequest", +"description": "Request for meeting notes card." +}, +"peopleDisambiguationCard": { +"$ref": "EnterpriseTopazSidekickPeopleDisambiguationCard", +"description": "The people disambiguation card." +}, +"peoplePromotionCard": { +"$ref": "PeoplePromotionCard", +"description": "People Search promotion card." +}, +"personAnswerCard": { +"$ref": "EnterpriseTopazSidekickPeopleAnswerPersonAnswerCard", +"description": "Answer card that represents a single person." +}, +"personProfileCard": { +"$ref": "EnterpriseTopazSidekickPersonProfileCard", +"description": "Full profile card." +}, +"personalizedDocsCard": { +"$ref": "EnterpriseTopazSidekickPersonalizedDocsCardProto", +"deprecated": true, +"description": "Card with recommended documents for the user." +}, +"relatedPeopleAnswerCard": { +"$ref": "EnterpriseTopazSidekickPeopleAnswerRelatedPeopleAnswerCard", +"description": "Answer card that represents a list of people related to a person." +}, +"shareMeetingDocsCard": { +"$ref": "EnterpriseTopazSidekickShareMeetingDocsCardProto", +"deprecated": true, +"description": "Sahre meeting docs card." +}, +"sharedDocuments": { +"$ref": "EnterpriseTopazSidekickDocumentPerCategoryList", +"deprecated": true, +"description": "Shared documents." +}, +"suggestedQueryAnswerCard": { +"$ref": "EnterpriseTopazSidekickAnswerSuggestedQueryAnswerCard", +"description": "Answer card for what natural language queries the user can ask." +}, +"thirdPartyAnswerCard": { +"$ref": "ThirdPartyGenericCard", +"description": "Third party answer cards." +}, +"workInProgressCardProto": { +"$ref": "EnterpriseTopazSidekickRecentDocumentsCardProto", +"description": "Work In Progress card." +} +}, +"type": "object" +}, +"EnterpriseTopazSidekickCardMetadata": { +"description": "Card metadata.", +"id": "EnterpriseTopazSidekickCardMetadata", +"properties": { +"cardCategory": { +"description": "Declares a preference for how this card should be packed in MSCR. All cards in a response must correspond to a single category. As a result, cards may be dropped from the response if this field is set. Any card that does not match the category of the card with the highest priority in the response will be dropped.", +"enum": [ +"DEFAULT", +"ANSWER", +"KNOWLEDGE", +"HOMEPAGE" +], +"enumDescriptions": [ +"Let MSCR decide how this card should be packed. Most cards should choose this type. This type should largely be considered equivalent to ANSWER. However, this is not guaranteed to be the case as the request to MSCR may override the static configuration.", +"This card should be rendered as an answer card.", +"This card should be rendered as a knowledge card (a non-organic result).", +"This card should be rendered in the Homepage." +], +"type": "string" +}, +"cardId": { +"description": "An ID to identify the card and match actions to it. Be thoughtful of new card IDs since actions will be associated to that ID. E.g., if two card IDs collide, the system will think that the actions have been applied to the same card. Similarly, if EAS can return multiple cards of the same type (e.g., Meetings), ensure that the card_id identifies a given instance of the card so that, e.g., dismissals only affect the dismissed card as opposed to affecting all meeting cards.", +"type": "string" +}, +"chronology": { +"description": "Chronology.", +"enum": [ +"UNKNOWN", +"PAST", +"RECENTLY_PAST", +"PRESENT", +"NEAR_FUTURE", +"FUTURE" +], +"enumDescriptions": [ +"Unknown chronology (default).", +"Past.", +"Recently past.", +"Present.", +"Near future.", +"Future." +], +"type": "string" +}, +"debugInfo": { +"description": "Debug info (only reported if request's debug_level > 0).", +"type": "string" +}, +"nlpMetadata": { +"$ref": "EnterpriseTopazSidekickNlpMetadata", +"description": "Information about the NLP done to get the card." +}, +"rankingParams": { +"$ref": "EnterpriseTopazSidekickRankingParams", +"description": "Ranking params." +}, +"renderMode": { +"description": "Render mode.", +"enum": [ +"UNKNOWN_RENDER", +"COLLAPSED", +"EXPANDED" +], +"enumDescriptions": [ +"Unknown mode (default).", +"Collapsed.", +"Expanded." +], +"type": "string" +} +}, +"type": "object" +}, +"EnterpriseTopazSidekickCommonDebugInfo": { +"description": "Container of debugging information in all object levels. Extend as needed.", +"id": "EnterpriseTopazSidekickCommonDebugInfo", +"properties": { +"message": { +"description": "Debug message.", +"type": "string" +} +}, +"type": "object" +}, +"EnterpriseTopazSidekickCommonDocument": { +"description": "Representation of a document. NEXT_TAG: 15", +"id": "EnterpriseTopazSidekickCommonDocument", +"properties": { +"accessType": { +"description": "Access type, i.e., whether the user has access to the document or not.", +"enum": [ +"UNKNOWN_ACCESS", +"ALLOWED", +"NOT_ALLOWED" +], +"enumDescriptions": [ +"Unknown access type.", +"Access allowed.", +"Access not allowed." +], +"type": "string" +}, +"debugInfo": { +"$ref": "EnterpriseTopazSidekickCommonDebugInfo", +"description": "Information for debugging." +}, +"documentId": { +"description": "Document id.", +"type": "string" +}, +"driveDocumentMetadata": { +"$ref": "EnterpriseTopazSidekickCommonDocumentDriveDocumentMetadata", +"description": "Drive document metadata." +}, +"genericUrl": { +"description": "Generic Drive-based url in the format of drive.google.com/open to be used for deeplink", +"type": "string" +}, +"justification": { +"$ref": "EnterpriseTopazSidekickCommonDocumentJustification", +"description": "Justification on why the document is selected." +}, +"mimeType": { +"description": "MIME type", +"type": "string" +}, +"provenance": { +"deprecated": true, +"description": "Document provenance.", +"enum": [ +"UNKNOWN_PROVENANCE", +"CALENDAR_DESCRIPTION", +"CALENDAR_ATTACHMENT", +"MINED", +"CALENDAR_ASSIST_ATTACHMENT" +], +"enumDescriptions": [ +"Unknown provenance.", +"Calendar event description.", +"Calendar event attachment.", +"Mined (extracted by some offline/online analysis).", +"Attachment created by enterprise assist." +], +"type": "string" +}, +"reason": { +"deprecated": true, +"description": "Justification of why this document is being returned.", +"enum": [ +"UNKNOWN", +"TRENDING_IN_COLLABORATORS", +"TRENDING_IN_DOMAIN", +"FREQUENTLY_VIEWED", +"FREQUENTLY_EDITED", +"NEW_UPDATES", +"NEW_COMMENTS", +"EVENT_DESCRIPTION", +"EVENT_ATTACHMENT", +"EVENT_METADATA_ATTACHMENT", +"MINED_DOCUMENT", +"NEW_MENTIONS", +"NEW_SHARES" +], +"enumDescriptions": [ +"Unknown justification.", +"Popular documents within collaborators.", +"Popular documents within the domain.", +"Documents being reviewed frequently by the current user .", +"Documents being edited frequently by the current user .", +"Documents updated since user's last visit.", +"Documents that receive comments since user's last visit.", +"Documents in the calendar event description.", +"Documents in the calendar event attachments section.", +"Documents attached in calendar event metadata instead of the attachment section. Event metadata is not visible to the final user. Enterprise assist uses this metadata to store auto-generated documents such as meeting notes.", +"Documents mined, and so, probably related to the request context. For example, this category includes documents related to a meeting.", +"Documents that contains mentions of the user.", +"Documents that are shared with the user." +], +"type": "string" +}, +"snippet": { +"description": "A sampling of the text from the document.", +"type": "string" +}, +"thumbnailUrl": { +"description": "Thumbnail URL.", +"type": "string" +}, +"title": { +"description": "Title of the document.", +"type": "string" +}, +"type": { +"description": "Type of the document.", +"enum": [ +"UNKNOWN", +"DOCUMENT", +"PRESENTATION", +"SPREADSHEET", +"PDF", +"IMAGE", +"BINARY_BLOB", +"FUSION_TABLE", +"FOLDER", +"DRAWING", +"VIDEO", +"FORM", +"LINK_URL", +"LINK_GO", +"LINK_GOO_GL", +"LINK_BIT_LY", +"LINK_GMAIL", +"LINK_MAILTO", +"VIDEO_YOUTUBE", +"VIDEO_LIVE", +"GROUPS", +"NEWS", +"SITES", +"HANGOUT", +"AUDIO", +"MS_WORD", +"MS_POWERPOINT", +"MS_EXCEL", +"MS_OUTLOOK" +], +"enumDescriptions": [ +"If the type is unknown or not represented in this enum.", +"Drive document types Writely, Word, etc.", +"Presently, PowerPoint, etc.", +"Trix, Excel, etc.", +"File types for Gdrive objects are below. PDF.", +"Image.", +"Fall-back for unknown Gdrive types.", +"Fusion table.", +"Folder.", +"Drawing.", +"Video.", +"Form.", +"Link formats uncategorized URL links", +"meaningful links that should be renderred specifically", +"Link to goo.gl.", +"Link to bit_ly.", +"Link to Gmail.", +"Mailto link.", +"Videos Youtube videos.", +"Live streams (e.g., liveplayer.googleplex.com)", +"Other types. Google Groups.", +"Google News.", +"Google Sites.", +"Google Hangout.", +"Audio files.", +"Microsoft-specific file types.", +"", +"", +"" +], +"type": "string" +}, +"url": { +"description": "Absolute URL of the document.", +"type": "string" +} +}, +"type": "object" +}, +"EnterpriseTopazSidekickCommonDocumentDriveDocumentMetadata": { +"description": "Meta data for drive documents.", +"id": "EnterpriseTopazSidekickCommonDocumentDriveDocumentMetadata", +"properties": { +"documentId": { +"deprecated": true, +"description": "The drive document cosmo id. Client could use the id to build a URL to open a document. Please use Document.document_id.", +"type": "string" +}, +"isPrivate": { +"description": "Additional field to identify whether a document is private since scope set to LIMITED can mean both that the doc is private or that it's shared with others. is_private indicates whether the doc is not shared with anyone except for the owner.", +"type": "boolean" +}, +"lastCommentTimeMs": { +"description": "Timestamp of the most recent comment added to the document in milliseconds since epoch.", +"format": "uint64", +"type": "string" +}, +"lastEditTimeMs": { +"description": "Timestamp of the most recent edit from the current user in milliseconds since epoch.", +"format": "uint64", +"type": "string" +}, +"lastModificationTimeMillis": { +"description": "Last modification time of the document (independent of the user that modified it).", +"format": "int64", +"type": "string" +}, +"lastUpdatedTimeMs": { +"description": "Timestamp of the last updated time of the document in milliseconds since epoch.", +"format": "uint64", +"type": "string" +}, +"lastViewTimeMs": { +"description": "Timestamp of the most recent view from the current user in milliseconds since epoch.", +"format": "uint64", +"type": "string" +}, +"owner": { +"$ref": "EnterpriseTopazSidekickCommonPerson", +"description": "The owner of the document." +}, +"scope": { +"description": "ACL scope of the document which identifies the sharing status of the doc (e.g., limited, shared with link, team drive, ...).", +"enum": [ +"UNKNOWN_DOCUMENT_SCOPE", +"LIMITED", +"DASHER_DOMAIN_WITH_LINK", +"DASHER_DOMAIN", +"PUBLIC_WITH_LINK", +"PUBLIC", +"TEAM_DRIVE" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"", +"" +], +"type": "string" +} +}, +"type": "object" +}, +"EnterpriseTopazSidekickCommonDocumentJustification": { +"description": "Justification of why we are reporting the document.", +"id": "EnterpriseTopazSidekickCommonDocumentJustification", +"properties": { +"justification": { +"description": "A locale aware message that explains why this document was selected.", +"type": "string" +}, +"reason": { +"description": "Reason on why the document is selected. Populate for trending documents.", +"enum": [ +"UNKNOWN", +"TRENDING_IN_COLLABORATORS", +"TRENDING_IN_DOMAIN", +"FREQUENTLY_VIEWED", +"FREQUENTLY_EDITED", +"NEW_UPDATES", +"NEW_COMMENTS", +"EVENT_DESCRIPTION", +"EVENT_ATTACHMENT", +"EVENT_METADATA_ATTACHMENT", +"MINED_DOCUMENT", +"NEW_MENTIONS", +"NEW_SHARES" +], +"enumDescriptions": [ +"Unknown justification.", +"Popular documents within collaborators.", +"Popular documents within the domain.", +"Documents being reviewed frequently by the current user .", +"Documents being edited frequently by the current user .", +"Documents updated since user's last visit.", +"Documents that receive comments since user's last visit.", +"Documents in the calendar event description.", +"Documents in the calendar event attachments section.", +"Documents attached in calendar event metadata instead of the attachment section. Event metadata is not visible to the final user. Enterprise assist uses this metadata to store auto-generated documents such as meeting notes.", +"Documents mined, and so, probably related to the request context. For example, this category includes documents related to a meeting.", +"Documents that contains mentions of the user.", +"Documents that are shared with the user." +], +"type": "string" +} +}, +"type": "object" +}, +"EnterpriseTopazSidekickCommonPerson": { +"description": "Common representation of a person.", +"id": "EnterpriseTopazSidekickCommonPerson", +"properties": { +"birthday": { +"$ref": "EnterpriseTopazSidekickCommonPersonBirthday", +"description": "The birthday." +}, +"cellPhone": { +"description": "Cell phone number.", +"type": "string" +}, +"department": { +"description": "The department the person works in (e.g. Engineering).", +"type": "string" +}, +"deskLocation": { +"description": "Desk location (e.g. US-MTV-PR55-5-5B1I).", +"type": "string" +}, +"deskPhone": { +"description": "Work desk phone number.", +"type": "string" +}, +"displayName": { +"description": "The full name.", +"type": "string" +}, +"email": { +"description": "Email.", +"type": "string" +}, +"familyName": { +"description": "The last name.", +"type": "string" +}, +"fullAddress": { +"description": "The fully formatted address (e.g. 1255 Pear Avenue, Mountain View 94043, United States).", +"type": "string" +}, +"gaiaId": { +"deprecated": true, +"description": "This field is deprecated. The obfuscated_id should be used instead.", +"format": "int64", +"type": "string" +}, +"givenName": { +"description": "The first name.", +"type": "string" +}, +"jobTitle": { +"description": "The person's job title (e.g. Software Engineer).", +"type": "string" +}, +"manager": { +"$ref": "EnterpriseTopazSidekickCommonPerson", +"description": "The manager." +}, +"obfuscatedId": { +"description": "The obfuscated GAIA ID.", +"type": "string" +}, +"photoUrl": { +"description": "The URL for the Focus profile picture.", +"type": "string" +}, +"streetAddress": { +"description": "The street address (e.g. 1255 Pear Avenue).", +"type": "string" +} +}, +"type": "object" +}, +"EnterpriseTopazSidekickCommonPersonBirthday": { +"id": "EnterpriseTopazSidekickCommonPersonBirthday", +"properties": { +"value": { +"description": "Unstructured birthday.", +"type": "string" +} +}, +"type": "object" +}, +"EnterpriseTopazSidekickConflictingEventsCardProto": { +"description": "Conflicting meetings card proto.", +"id": "EnterpriseTopazSidekickConflictingEventsCardProto", +"properties": { +"conflictingEvent": { +"description": "All the events that conflict with main_event.", +"items": { +"$ref": "EnterpriseTopazSidekickAgendaEntry" +}, +"type": "array" +}, +"mainEvent": { +"$ref": "EnterpriseTopazSidekickAgendaEntry", +"description": "The event identified as being the most important." +} +}, +"type": "object" +}, +"EnterpriseTopazSidekickDocumentGroup": { +"description": "Represents a mapping between a document type and its corresponding documents. Use for Work in Progress card in v1 homepage.", +"id": "EnterpriseTopazSidekickDocumentGroup", +"properties": { +"groupType": { +"deprecated": true, +"description": "Document group type", +"enum": [ +"UNKNOWN_TYPE", +"ALL" +], +"enumDescriptions": [ +"Unknown type.", +"A mix of all the document types." +], +"type": "string" +}, +"personalizedDocument": { +"description": "The list of corresponding documents.", +"items": { +"$ref": "EnterpriseTopazSidekickCommonDocument" +}, +"type": "array" +} +}, +"type": "object" +}, +"EnterpriseTopazSidekickDocumentPerCategoryList": { +"id": "EnterpriseTopazSidekickDocumentPerCategoryList", +"properties": { +"documents": { +"items": { +"$ref": "EnterpriseTopazSidekickDocumentPerCategoryListDocumentPerCategoryListEntry" +}, +"type": "array" +}, +"helpMessage": { +"description": "Localized message explaining how the documents were derived (e.g. from the last 30 days activity). This field is optional.", +"type": "string" +}, +"listType": { +"enum": [ +"UNKNOWN_LIST_TYPE", +"MENTIONS", +"SHARES", +"NEEDS_ATTENTION", +"VIEWS", +"EDITS" +], +"enumDescriptions": [ +"", +"All documents in the list correspond to one of the mention categories.", +"All documents in the list correspond to one of the share categories.", +"A mixture of document categories that correspond to documents that need the users attention (e.g. documents that have been explicitly shared with the user but have not been viewed and documents where the user was mentioned but has not replied).", +"All documents in the list correspond to one of the view categories.", +"All documents in the list correspond to one of the edit categories." +], +"type": "string" +}, +"listTypeDescription": { +"description": "Description of the types of documents present in the list.", +"type": "string" +}, +"responseMessage": { +"description": "Response message in case no documents are present in the card.", +"type": "string" +} +}, +"type": "object" +}, +"EnterpriseTopazSidekickDocumentPerCategoryListDocumentPerCategoryListEntry": { +"id": "EnterpriseTopazSidekickDocumentPerCategoryListDocumentPerCategoryListEntry", +"properties": { +"category": { +"enum": [ +"UNKNOWN_DOCUMENT", +"ACTIONABLE", +"VIEWED", +"REPLIED", +"MENTION_VIEWED", +"MENTION_REPLIED", +"MENTION_NOT_VIEWED", +"SHARED_AND_VIEWED", +"SHARED_NOT_VIEWED", +"EDITED" +], +"enumDeprecated": [ +false, +true, +false, +true, +false, +false, +false, +false, +false, +false +], +"enumDescriptions": [ +"", +"", +"", +"", +"Mention categories. The mention has been viewed by the user, but the user has not replied.", +"The user has replied to the mention.", +"The mention has not been viewed by the user.", +"Share categories. Consists of documents that have been explicitly shared with the user. Document has been viewed.", +"Document has not been viewed.", +"Document has been edited." +], +"type": "string" +}, +"document": { +"$ref": "EnterpriseTopazSidekickCommonDocument" +}, +"rationale": { +"description": "Reason this document was selected.", +"type": "string" +} +}, +"type": "object" +}, +"EnterpriseTopazSidekickFindMeetingTimeCardProto": { +"description": "Response to find meeting time among a set of people.", +"id": "EnterpriseTopazSidekickFindMeetingTimeCardProto", +"properties": { +"commonAvailableTimeSlots": { +"description": "Slots when all attendees have availability.", +"items": { +"$ref": "EnterpriseTopazSidekickTimeSlot" +}, +"type": "array" +}, +"invitees": { +"description": "Invitees to the event.", +"items": { +"$ref": "EnterpriseTopazSidekickPerson" +}, +"type": "array" +}, +"requester": { +"$ref": "EnterpriseTopazSidekickPerson", +"description": "Requester." +}, +"scheduledMeeting": { +"$ref": "EnterpriseTopazSidekickScheduledMeeting", +"description": "Details about the scheduled meeting, if one exists." +}, +"skippedInvitees": { +"description": "Invitees that have been skipped in the computation, most likely because they are groups.", +"items": { +"$ref": "EnterpriseTopazSidekickPerson" +}, +"type": "array" +}, +"timeBoundaries": { +"$ref": "EnterpriseTopazSidekickTimeSlot", +"description": "Min and max timestamp used to find a common available timeslot." +}, +"timezoneId": { +"description": "Timezone ID.", +"type": "string" +} +}, +"type": "object" +}, +"EnterpriseTopazSidekickGap": { +"id": "EnterpriseTopazSidekickGap", +"properties": { +"displayRemainingTime": { +"description": "Localized time string in the format: 1 hour 15 minutes", +"type": "string" +}, +"endTime": { +"description": "Localized time string in the format:(Locale CZ) 8:30 odp.", +"type": "string" +}, +"endTimeMs": { +"format": "uint64", +"type": "string" +}, +"remainingTime": { +"format": "google-duration", +"type": "string" +}, +"startTime": { +"description": "Localized time string in the format:(Locale CZ) 8:30 odp.", +"type": "string" +}, +"startTimeMs": { +"format": "uint64", +"type": "string" +} +}, +"type": "object" +}, +"EnterpriseTopazSidekickGenericAnswerCard": { +"id": "EnterpriseTopazSidekickGenericAnswerCard", +"properties": { +"answer": { +"description": "The answer.", +"type": "string" +}, +"title": { +"description": "Title or header of the card.", +"type": "string" +} +}, +"type": "object" +}, +"EnterpriseTopazSidekickGetAndKeepAheadCardProto": { +"description": "Get and keep ahead card", +"id": "EnterpriseTopazSidekickGetAndKeepAheadCardProto", +"properties": { +"declinedEvents": { +"$ref": "EnterpriseTopazSidekickGetAndKeepAheadCardProtoDeclinedEvents" +}, +"mentionedDocuments": { +"$ref": "EnterpriseTopazSidekickDocumentPerCategoryList" +}, +"sharedDocuments": { +"$ref": "EnterpriseTopazSidekickDocumentPerCategoryList" +} +}, +"type": "object" +}, +"EnterpriseTopazSidekickGetAndKeepAheadCardProtoDeclinedEvents": { +"description": "A list of events where all guests declined.", +"id": "EnterpriseTopazSidekickGetAndKeepAheadCardProtoDeclinedEvents", +"properties": { +"events": { +"items": { +"$ref": "EnterpriseTopazSidekickAgendaEntry" +}, +"type": "array" +} +}, +"type": "object" +}, +"EnterpriseTopazSidekickMeetingNotesCardError": { +"description": "Errors in the creation of meeting notes.", +"id": "EnterpriseTopazSidekickMeetingNotesCardError", +"properties": { +"description": { +"description": "The description of the reason why create-meeting-notes failed.", +"type": "string" +}, +"event": { +"$ref": "EnterpriseTopazSidekickAgendaEntry", +"description": "The event to request meeting notes creation" +}, +"reason": { +"description": "The reason why create-meeting-notes failed.", +"enum": [ +"NONE", +"NOT_OWNER", +"UNKNOWN" +], +"enumDescriptions": [ +"No reason (default value).", +"The user is not an owner.", +"Unknown reason." +], +"type": "string" +} +}, +"type": "object" +}, +"EnterpriseTopazSidekickMeetingNotesCardProto": { +"description": "Information about the meeting notes created.", +"id": "EnterpriseTopazSidekickMeetingNotesCardProto", +"properties": { +"event": { +"$ref": "EnterpriseTopazSidekickAgendaEntry", +"description": "The event to request meeting notes creation." +}, +"fileId": { +"description": "Google Drive ID (a.k.a. resource ID) of the file.", +"type": "string" +}, +"title": { +"description": "Title we want to show for meeting notes in the answer card", +"type": "string" +}, +"url": { +"description": "New URL.", +"type": "string" +} +}, +"type": "object" +}, +"EnterpriseTopazSidekickMeetingNotesCardRequest": { +"description": "Meeting notes card request.", +"id": "EnterpriseTopazSidekickMeetingNotesCardRequest", +"properties": { +"canCreateFor": { +"description": "Who are the meeting notes created for.", +"items": { +"enum": [ +"UNKNOWN", +"MYSELF", +"ALL_ATTENDEES" +], +"enumDescriptions": [ +"Unknown (default).", +"For the requester.", +"For all the meeting attendees." +], +"type": "string" +}, +"type": "array" +}, +"error": { +"$ref": "EnterpriseTopazSidekickMeetingNotesCardError", +"description": "The error and reason if known error occured." +}, +"event": { +"$ref": "EnterpriseTopazSidekickAgendaEntry", +"description": "The event to request meeting notes creation" +} +}, +"type": "object" +}, +"EnterpriseTopazSidekickNlpMetadata": { +"description": "Metadata about the NLP interpretation of the query.", +"id": "EnterpriseTopazSidekickNlpMetadata", +"properties": { +"confidence": { +"description": "Confidence of the interpretation that generated this card.", +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"EnterpriseTopazSidekickPeopleAnswerDisambiguationInfo": { +"description": "Metadata for disambiguation.", +"id": "EnterpriseTopazSidekickPeopleAnswerDisambiguationInfo", +"properties": { +"disambiguation": { +"description": "A list of people that also matched the query. This list is not complete.", +"items": { +"$ref": "EnterpriseTopazSidekickPeopleAnswerDisambiguationInfoDisambiguationPerson" +}, +"type": "array" +}, +"name": { +"description": "The name that was extracted from the query. This may be in the form of the given name, last name, full name, LDAP, or email address. This name can be considered suitable for displaying to the user and can largely be considered to be normalized (e.g. \"Bob's\" -> \"Bob\").", +"type": "string" +} +}, +"type": "object" +}, +"EnterpriseTopazSidekickPeopleAnswerDisambiguationInfoDisambiguationPerson": { +"description": "A person that also matches the query, but was not selected due to a lower affinity with the requesting user.", +"id": "EnterpriseTopazSidekickPeopleAnswerDisambiguationInfoDisambiguationPerson", +"properties": { +"person": { +"$ref": "EnterpriseTopazSidekickCommonPerson", +"description": "The profile of this person." +}, +"query": { +"description": "The query that can be used to produce an answer card with the same attribute, but for this person.", +"type": "string" +} +}, +"type": "object" +}, +"EnterpriseTopazSidekickPeopleAnswerPeopleAnswerCardHeader": { +"description": "Recommended header to display for the card.", +"id": "EnterpriseTopazSidekickPeopleAnswerPeopleAnswerCardHeader", +"properties": { +"title": { +"description": "The suggested title to display. This defaults to the user's query.", +"type": "string" +} +}, +"type": "object" +}, +"EnterpriseTopazSidekickPeopleAnswerPersonAnswerCard": { +"description": "An answer card for a single person.", +"id": "EnterpriseTopazSidekickPeopleAnswerPersonAnswerCard", +"properties": { +"answer": { +"deprecated": true, +"description": "List of answers.", +"items": { +"$ref": "SafeHtmlProto" +}, +"type": "array" +}, +"answerText": { +"$ref": "EnterpriseTopazSidekickAnswerAnswerList", +"description": "List of answers." +}, +"disambiguationInfo": { +"$ref": "EnterpriseTopazSidekickPeopleAnswerDisambiguationInfo", +"description": "Disambiguation information." +}, +"header": { +"$ref": "EnterpriseTopazSidekickPeopleAnswerPeopleAnswerCardHeader", +"description": "The header to display for the card." +}, +"responseStatus": { +"description": "The response status.", +"enum": [ +"UNKNOWN", +"SUCCESS", +"MISSING_PERSON", +"MISSING_DATA" +], +"enumDescriptions": [ +"Unknown.", +"Success.", +"No such person was found in the user's domain.", +"A person was found to match the query, but an answer could not be obtained." +], +"type": "string" +}, +"statusMessage": { +"description": "Localized user friendly message to display to the user in the case of missing data or an error.", +"type": "string" +}, +"subject": { +"$ref": "EnterpriseTopazSidekickCommonPerson", +"description": "The profile of the person that was the subject of the query." +} +}, +"type": "object" +}, +"EnterpriseTopazSidekickPeopleAnswerRelatedPeopleAnswerCard": { +"description": "An answer card for a list of people that are related to the subject of the query.", +"id": "EnterpriseTopazSidekickPeopleAnswerRelatedPeopleAnswerCard", +"properties": { +"disambiguationInfo": { +"$ref": "EnterpriseTopazSidekickPeopleAnswerDisambiguationInfo", +"description": "Disambiguation information." +}, +"header": { +"$ref": "EnterpriseTopazSidekickPeopleAnswerPeopleAnswerCardHeader", +"description": "The header to display for the card." +}, +"relatedPeople": { +"description": "A list of people that are related to the query subject.", +"items": { +"$ref": "EnterpriseTopazSidekickCommonPerson" +}, +"type": "array" +}, +"relationType": { +"description": "Defines the type of relation the list of people have with the subject of the card.", +"enum": [ +"UNKNOWN", +"DIRECT_REPORTS", +"MANAGER", +"PEERS" +], +"enumDescriptions": [ +"Unknown.", +"Direct reports.", +"The manager.", +"The teammates/peers of the subject." +], +"type": "string" +}, +"responseStatus": { +"description": "The response status.", +"enum": [ +"UNKNOWN", +"SUCCESS", +"MISSING_PERSON", +"MISSING_DATA" +], +"enumDescriptions": [ +"Unknown.", +"Success.", +"No such person was found in the user's domain.", +"A person was found to match the query, but an answer could not be obtained." +], +"type": "string" +}, +"statusMessage": { +"description": "Localized user friendly message to display to the user in the case of missing data or an error.", +"type": "string" +}, +"subject": { +"$ref": "EnterpriseTopazSidekickCommonPerson", +"description": "The profile of the person that was the subject of the query." +} +}, +"type": "object" +}, +"EnterpriseTopazSidekickPeopleDisambiguationCard": { +"id": "EnterpriseTopazSidekickPeopleDisambiguationCard", +"properties": { +"person": { +"description": "Candidate persons for the query.", +"items": { +"$ref": "EnterpriseTopazSidekickCommonPerson" +}, +"type": "array" +} +}, +"type": "object" +}, +"EnterpriseTopazSidekickPerson": { +"description": "Person.", +"id": "EnterpriseTopazSidekickPerson", +"properties": { +"affinityLevel": { +"description": "The level of affinity this person has with the requesting user.", +"enum": [ +"UNKNOWN", +"LOW", +"MEDIUM", +"HIGH" +], +"enumDescriptions": [ +"", +"", +"", +"" +], +"type": "string" +}, +"attendingStatus": { +"description": "Attendance status of the person when included in a meeting event.", +"enum": [ +"AWAITING", +"YES", +"NO", +"MAYBE" +], +"enumDescriptions": [ +"Awaiting for the user to set the status.", +"Attending.", +"Not attending.", +"Tentatively attending." +], +"type": "string" +}, +"email": { +"description": "Email.", +"type": "string" +}, +"gaiaId": { +"deprecated": true, +"description": "Gaia id.", +"format": "int64", +"type": "string" +}, +"isGroup": { +"description": "Whether the invitee is a group.", +"type": "boolean" +}, +"name": { +"description": "Name.", +"type": "string" +}, +"obfuscatedGaiaId": { +"description": "Obfuscated Gaia id.", +"type": "string" +}, +"photoUrl": { +"description": "Absolute URL to the profile photo of the person.", +"type": "string" +} +}, +"type": "object" +}, +"EnterpriseTopazSidekickPersonProfileCard": { +"id": "EnterpriseTopazSidekickPersonProfileCard", +"properties": { +"relatedPeople": { +"items": { +"$ref": "EnterpriseTopazSidekickPersonProfileCardRelatedPeople" +}, +"type": "array" +}, +"subject": { +"$ref": "EnterpriseTopazSidekickCommonPerson", +"description": "The subject of the card." +} +}, +"type": "object" +}, +"EnterpriseTopazSidekickPersonProfileCardRelatedPeople": { +"id": "EnterpriseTopazSidekickPersonProfileCardRelatedPeople", +"properties": { +"relatedPerson": { +"description": "Related people.", +"items": { +"$ref": "EnterpriseTopazSidekickCommonPerson" +}, +"type": "array" +}, +"relation": { +"description": "Relation type.", +"enum": [ +"UNKNOWN", +"MANAGER", +"DIRECT_REPORT" +], +"enumDescriptions": [ +"", +"", +"" +], +"type": "string" +} +}, +"type": "object" +}, +"EnterpriseTopazSidekickPersonalizedDocsCardProto": { +"description": "Personalized docs card proto.", +"id": "EnterpriseTopazSidekickPersonalizedDocsCardProto", +"properties": { +"documentGroup": { +"description": "Document group.", +"items": { +"$ref": "EnterpriseTopazSidekickDocumentGroup" +}, +"type": "array" +} +}, +"type": "object" +}, +"EnterpriseTopazSidekickRankingParams": { +"description": "Ranking params.", +"id": "EnterpriseTopazSidekickRankingParams", +"properties": { +"endTimeMs": { +"description": "The end-time that this object will expect to occur. If the type is marked as FIXED, then this end-time will persist after bidding. If the type is marked as FLEXIBLE, this field is NOT expected to be filled and will be filled in after it has won a bid. Expected to be set when type is set to FIXED.", +"format": "uint64", +"type": "string" +}, +"priority": { +"description": "The priority to determine between objects that have the same start_time_ms The lower-value of priority == ranked higher. Max-priority = 0. Expected to be set for all types.", +"enum": [ +"UNKNOWN", +"CRITICAL", +"IMPORTANT", +"HIGH", +"NORMAL", +"BEST_EFFORT" +], +"enumDescriptions": [ +"Unknown (default).", +"Critical.", +"Important.", +"High.", +"Normal.", +"Best effort." +], +"type": "string" +}, +"score": { +"description": "The score of the card to be used to break priority-ties", +"format": "float", +"type": "number" +}, +"spanMs": { +"description": "The span that this card will take in the stream Expected to be set when type is set to FLEXIBLE.", +"format": "uint64", +"type": "string" +}, +"startTimeMs": { +"description": "The start-time that this object will bid-for If the type is marked as FIXED, then this start-time will persist after bidding. If the type is marked as FLEXIBLE, then it will occur at the given time or sometime after the requested time. Expected to be set for all types.", +"format": "uint64", +"type": "string" +}, +"type": { +"description": "The packing type of this object.", +"enum": [ +"FIXED", +"FLEXIBLE" +], +"enumDescriptions": [ +"Fixed, i.e., the card is time sensitive.", +"Flexible, i.e., the card is not time sensitive." +], +"type": "string" +} +}, +"type": "object" +}, +"EnterpriseTopazSidekickRecentDocumentsCardProto": { +"id": "EnterpriseTopazSidekickRecentDocumentsCardProto", +"properties": { +"document": { +"items": { +"$ref": "EnterpriseTopazSidekickCommonDocument" +}, +"type": "array" +} +}, +"type": "object" +}, +"EnterpriseTopazSidekickScheduledMeeting": { +"description": "Details about scheduled meetings.", +"id": "EnterpriseTopazSidekickScheduledMeeting", +"properties": { +"meetingLocation": { +"description": "The meeting location.", +"type": "string" +}, +"meetingTime": { +"$ref": "EnterpriseTopazSidekickTimeSlot", +"description": "The meeting time slot." +}, +"meetingTitle": { +"description": "The meeting title.", +"type": "string" +} +}, +"type": "object" +}, +"EnterpriseTopazSidekickShareMeetingDocsCardProto": { +"description": "Share meeting docs card proto.", +"id": "EnterpriseTopazSidekickShareMeetingDocsCardProto", +"properties": { +"document": { +"description": "Documents to share for the given meeting.", +"items": { +"$ref": "EnterpriseTopazSidekickCommonDocument" +}, +"type": "array" +}, +"event": { +"$ref": "EnterpriseTopazSidekickAgendaEntry", +"description": "Event." +} +}, +"type": "object" +}, +"EnterpriseTopazSidekickTimeSlot": { +"description": "Slot of time.", +"id": "EnterpriseTopazSidekickTimeSlot", +"properties": { +"endTimeDay": { +"description": "Day end time at the user's timezone.", +"type": "string" +}, +"endTimeHourAndMinute": { +"description": "Hour and minute of the end time at the user's timezone.", +"type": "string" +}, +"endTimeInMillis": { +"description": "End time in milliseconds.", +"format": "int64", +"type": "string" +}, +"startTimeDay": { +"description": "Day start time at user's timezone.", +"type": "string" +}, +"startTimeHourAndMinute": { +"description": "Hour and minute of the start time at the user's timezone.", +"type": "string" +}, +"startTimeInMillis": { +"description": "Start time in milliseconds.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"EnumOperatorOptions": { +"description": "Used to provide a search operator for enum properties. This is optional. Search operators let users restrict the query to specific fields relevant to the type of item being searched. For example, if you provide no operator for a *priority* enum property with possible values *p0* and *p1*, a query that contains the term *p0* returns items that have *p0* as the value of the *priority* property, as well as any items that contain the string *p0* in other fields. If you provide an operator name for the enum, such as *priority*, then search users can use that operator to refine results to only items that have *p0* as this property's value, with the query *priority:p0*.", +"id": "EnumOperatorOptions", +"properties": { +"operatorName": { +"description": "Indicates the operator name required in the query in order to isolate the enum property. For example, if operatorName is *priority* and the property's name is *priorityVal*, then queries like *priority:* show results only where the value of the property named *priorityVal* matches **. By contrast, a search that uses the same ** without an operator returns all items where ** matches the value of any String properties or text within the content field for the item. The operator name can only contain lowercase letters (a-z). The maximum length is 32 characters.", +"type": "string" +} +}, +"type": "object" +}, +"EnumPropertyOptions": { +"description": "The options for enum properties, which allow you to define a restricted set of strings to match user queries, set rankings for those string values, and define an operator name to be paired with those strings so that users can narrow results to only items with a specific value. For example, for items in a request tracking system with priority information, you could define *p0* as an allowable enum value and tie this enum to the operator name *priority* so that search users could add *priority:p0* to their query to restrict the set of results to only those items indexed with the value *p0*.", +"id": "EnumPropertyOptions", +"properties": { +"operatorOptions": { +"$ref": "EnumOperatorOptions", +"description": "If set, describes how the enum should be used as a search operator." +}, +"orderedRanking": { +"description": "Used to specify the ordered ranking for the enumeration that determines how the integer values provided in the possible EnumValuePairs are used to rank results. If specified, integer values must be provided for all possible EnumValuePair values given for this property. Can only be used if isRepeatable is false.", +"enum": [ +"NO_ORDER", +"ASCENDING", +"DESCENDING" +], +"enumDescriptions": [ +"There is no ranking order for the property. Results aren't adjusted by this property's value.", +"This property is ranked in ascending order. Lower values indicate lower ranking.", +"This property is ranked in descending order. Lower values indicate higher ranking." +], +"type": "string" +}, +"possibleValues": { +"description": "The list of possible values for the enumeration property. All EnumValuePairs must provide a string value. If you specify an integer value for one EnumValuePair, then all possible EnumValuePairs must provide an integer value. Both the string value and integer value must be unique over all possible values. Once set, possible values cannot be removed or modified. If you supply an ordered ranking and think you might insert additional enum values in the future, leave gaps in the initial integer values to allow adding a value in between previously registered values. The maximum number of elements is 100.", +"items": { +"$ref": "EnumValuePair" +}, +"type": "array" +} +}, +"type": "object" +}, +"EnumValuePair": { +"description": "The enumeration value pair defines two things: a required string value and an optional integer value. The string value defines the necessary query term required to retrieve that item, such as *p0* for a priority item. The integer value determines the ranking of that string value relative to other enumerated values for the same property. For example, you might associate *p0* with *0* and define another enum pair such as *p1* and *1*. You must use the integer value in combination with ordered ranking to set the ranking of a given value relative to other enumerated values for the same property name. Here, a ranking order of DESCENDING for *priority* properties results in a ranking boost for items indexed with a value of *p0* compared to items indexed with a value of *p1*. Without a specified ranking order, the integer value has no effect on item ranking.", +"id": "EnumValuePair", +"properties": { +"integerValue": { +"description": "The integer value of the EnumValuePair which must be non-negative. Optional.", +"format": "int32", +"type": "integer" +}, +"stringValue": { +"description": "The string value of the EnumValuePair. The maximum length is 32 characters.", +"type": "string" +} +}, +"type": "object" +}, +"EnumValues": { +"description": "List of enum values.", +"id": "EnumValues", +"properties": { +"values": { +"description": "The maximum allowable length for string values is 32 characters.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ErrorInfo": { +"description": "Error information about the response.", +"id": "ErrorInfo", +"properties": { +"errorMessages": { +"items": { +"$ref": "ErrorMessage" +}, +"type": "array" +} +}, +"type": "object" +}, +"ErrorMessage": { +"description": "Error message per source response.", +"id": "ErrorMessage", +"properties": { +"errorMessage": { +"type": "string" +}, +"source": { +"$ref": "Source" +} +}, +"type": "object" +}, +"FacetBucket": { +"description": "A bucket in a facet is the basic unit of operation. A bucket can comprise either a single value OR a contiguous range of values, depending on the type of the field bucketed. FacetBucket is currently used only for returning the response object.", +"id": "FacetBucket", +"properties": { +"count": { +"description": "Number of results that match the bucket value. Counts are only returned for searches when count accuracy is ensured. Cloud Search does not guarantee facet counts for any query and facet counts might be present only intermittently, even for identical queries. Do not build dependencies on facet count existence; instead use facet ount percentages which are always returned.", +"format": "int32", +"type": "integer" +}, +"filter": { +"$ref": "Filter", +"description": "Filter to be passed in the search request if the corresponding bucket is selected." +}, +"percentage": { +"description": "Percent of results that match the bucket value. The returned value is between (0-100], and is rounded down to an integer if fractional. If the value is not explicitly returned, it represents a percentage value that rounds to 0. Percentages are returned for all searches, but are an estimate. Because percentages are always returned, you should render percentages instead of counts.", +"format": "int32", +"type": "integer" +}, +"value": { +"$ref": "Value" +} +}, +"type": "object" +}, +"FacetOptions": { +"description": "Specifies operators to return facet results for. There will be one FacetResult for every source_name/object_type/operator_name combination.", +"id": "FacetOptions", +"properties": { +"integerFacetingOptions": { +"$ref": "IntegerFacetingOptions", +"description": "If set, describes integer faceting options for the given integer property. The corresponding integer property in the schema should be marked isFacetable. The number of buckets returned would be minimum of this and num_facet_buckets." +}, +"numFacetBuckets": { +"description": "Maximum number of facet buckets that should be returned for this facet. Defaults to 10. Maximum value is 100.", +"format": "int32", +"type": "integer" +}, +"objectType": { +"description": "If object_type is set, only those objects of that type will be used to compute facets. If empty, then all objects will be used to compute facets.", +"type": "string" +}, +"operatorName": { +"description": "The name of the operator chosen for faceting. @see cloudsearch.SchemaPropertyOptions", +"type": "string" +}, +"sourceName": { +"description": "Source name to facet on. Format: datasources/{source_id} If empty, all data sources will be used.", +"type": "string" +} +}, +"type": "object" +}, +"FacetResult": { +"description": "Source specific facet response", +"id": "FacetResult", +"properties": { +"buckets": { +"description": "FacetBuckets for values in response containing at least a single result with the corresponding filter.", +"items": { +"$ref": "FacetBucket" +}, +"type": "array" +}, +"objectType": { +"description": "Object type for which facet results are returned. Can be empty.", +"type": "string" +}, +"operatorName": { +"description": "The name of the operator chosen for faceting. @see cloudsearch.SchemaPropertyOptions", +"type": "string" +}, +"sourceName": { +"description": "Source name for which facet results are returned. Will not be empty.", +"type": "string" +} +}, +"type": "object" +}, +"FieldViolation": { +"id": "FieldViolation", +"properties": { +"description": { +"description": "The description of the error.", +"type": "string" +}, +"field": { +"description": "Path of field with violation.", +"type": "string" +} +}, +"type": "object" +}, +"Filter": { +"description": "A generic way of expressing filters in a query, which supports two approaches: **1. Setting a ValueFilter.** The name must match an operator_name defined in the schema for your data source. **2. Setting a CompositeFilter.** The filters are evaluated using the logical operator. The top-level operators can only be either an AND or a NOT. AND can appear only at the top-most level. OR can appear only under a top-level AND.", +"id": "Filter", +"properties": { +"compositeFilter": { +"$ref": "CompositeFilter" +}, +"valueFilter": { +"$ref": "ValueFilter" +} +}, +"type": "object" +}, +"FilterOptions": { +"description": "Filter options to be applied on query.", +"id": "FilterOptions", +"properties": { +"filter": { +"$ref": "Filter", +"description": "Generic filter to restrict the search, such as `lang:en`, `site:xyz`." +}, +"objectType": { +"description": "If object_type is set, only objects of that type are returned. This should correspond to the name of the object that was registered within the definition of schema. The maximum length is 256 characters.", +"type": "string" +} +}, +"type": "object" +}, +"FreshnessOptions": { +"description": "Indicates which freshness property to use when adjusting search ranking for an item. Fresher, more recent dates indicate higher quality. Use the freshness option property that best works with your data. For fileshare documents, last modified time is most relevant. For calendar event data, the time when the event occurs is a more relevant freshness indicator. In this way, calendar events that occur closer to the time of the search query are considered higher quality and ranked accordingly.", +"id": "FreshnessOptions", +"properties": { +"freshnessDuration": { +"description": "The duration after which an object should be considered stale. The default value is 180 days (in seconds).", +"format": "google-duration", +"type": "string" +}, +"freshnessProperty": { +"description": "This property indicates the freshness level of the object in the index. If set, this property must be a top-level property within the property definitions and it must be a timestamp type or date type. Otherwise, the Indexing API uses updateTime as the freshness indicator. The maximum length is 256 characters. When a property is used to calculate freshness, the value defaults to 2 years from the current time.", +"type": "string" +} +}, +"type": "object" +}, +"GSuitePrincipal": { +"id": "GSuitePrincipal", +"properties": { +"gsuiteDomain": { +"description": "This principal represents all users of the Google Workspace domain of the customer.", +"type": "boolean" +}, +"gsuiteGroupEmail": { +"description": "This principal references a Google Workspace group name.", +"type": "string" +}, +"gsuiteUserEmail": { +"description": "This principal references a Google Workspace user account.", +"type": "string" +} +}, +"type": "object" +}, +"GetCustomerIndexStatsResponse": { +"id": "GetCustomerIndexStatsResponse", +"properties": { +"averageIndexedItemCount": { +"description": "Average item count for the given date range for which billing is done.", +"format": "int64", +"type": "string" +}, +"stats": { +"description": "Summary of indexed item counts, one for each day in the requested range.", +"items": { +"$ref": "CustomerIndexStats" +}, +"type": "array" +} +}, +"type": "object" +}, +"GetCustomerQueryStatsResponse": { +"id": "GetCustomerQueryStatsResponse", +"properties": { +"stats": { +"items": { +"$ref": "CustomerQueryStats" +}, +"type": "array" +}, +"totalQueryCount": { +"description": "Total successful query count (status code 200) for the given date range.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"GetCustomerSearchApplicationStatsResponse": { +"description": "Response format for search application stats for a customer.", +"id": "GetCustomerSearchApplicationStatsResponse", +"properties": { +"averageSearchApplicationCount": { +"description": "Average search application count for the given date range.", +"format": "int64", +"type": "string" +}, +"stats": { +"description": "Search application stats by date.", +"items": { +"$ref": "CustomerSearchApplicationStats" +}, +"type": "array" +} +}, +"type": "object" +}, +"GetCustomerSessionStatsResponse": { +"id": "GetCustomerSessionStatsResponse", +"properties": { +"stats": { +"items": { +"$ref": "CustomerSessionStats" +}, +"type": "array" +} +}, +"type": "object" +}, +"GetCustomerUserStatsResponse": { +"id": "GetCustomerUserStatsResponse", +"properties": { +"stats": { +"items": { +"$ref": "CustomerUserStats" +}, +"type": "array" +} +}, +"type": "object" +}, +"GetDataSourceIndexStatsResponse": { +"id": "GetDataSourceIndexStatsResponse", +"properties": { +"averageIndexedItemCount": { +"description": "Average item count for the given date range for which billing is done.", +"format": "int64", +"type": "string" +}, +"stats": { +"description": "Summary of indexed item counts, one for each day in the requested range.", +"items": { +"$ref": "DataSourceIndexStats" +}, +"type": "array" +} +}, +"type": "object" +}, +"GetSearchApplicationQueryStatsResponse": { +"description": "Response format for getting query stats for a search application between given dates.", +"id": "GetSearchApplicationQueryStatsResponse", +"properties": { +"stats": { +"description": "Query stats per date for a search application.", +"items": { +"$ref": "SearchApplicationQueryStats" +}, +"type": "array" +}, +"totalQueryCount": { +"description": "Total successful query count (status code 200) for the given date range.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"GetSearchApplicationSessionStatsResponse": { +"id": "GetSearchApplicationSessionStatsResponse", +"properties": { +"stats": { +"items": { +"$ref": "SearchApplicationSessionStats" +}, +"type": "array" +} +}, +"type": "object" +}, +"GetSearchApplicationUserStatsResponse": { +"id": "GetSearchApplicationUserStatsResponse", +"properties": { +"stats": { +"items": { +"$ref": "SearchApplicationUserStats" +}, +"type": "array" +} +}, +"type": "object" +}, +"HtmlOperatorOptions": { +"description": "Used to provide a search operator for html properties. This is optional. Search operators let users restrict the query to specific fields relevant to the type of item being searched.", +"id": "HtmlOperatorOptions", +"properties": { +"operatorName": { +"description": "Indicates the operator name required in the query in order to isolate the html property. For example, if operatorName is *subject* and the property's name is *subjectLine*, then queries like *subject:* show results only where the value of the property named *subjectLine* matches **. By contrast, a search that uses the same ** without an operator return all items where ** matches the value of any html properties or text within the content field for the item. The operator name can only contain lowercase letters (a-z). The maximum length is 32 characters.", +"type": "string" +} +}, +"type": "object" +}, +"HtmlPropertyOptions": { +"description": "The options for html properties.", +"id": "HtmlPropertyOptions", +"properties": { +"operatorOptions": { +"$ref": "HtmlOperatorOptions", +"description": "If set, describes how the property should be used as a search operator." +}, +"retrievalImportance": { +"$ref": "RetrievalImportance", +"description": "Indicates the search quality importance of the tokens within the field when used for retrieval. Can only be set to DEFAULT or NONE." +} +}, +"type": "object" +}, +"HtmlValues": { +"description": "List of html values.", +"id": "HtmlValues", +"properties": { +"values": { +"description": "The maximum allowable length for html values is 2048 characters.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"IndexItemOptions": { +"id": "IndexItemOptions", +"properties": { +"allowUnknownGsuitePrincipals": { +"description": "Specifies if the index request should allow Google Workspace principals that do not exist or are deleted.", +"type": "boolean" +} +}, +"type": "object" +}, +"IndexItemRequest": { +"id": "IndexItemRequest", +"properties": { +"connectorName": { +"description": "The name of connector making this call. Format: datasources/{source_id}/connectors/{ID}", +"type": "string" +}, +"debugOptions": { +"$ref": "DebugOptions", +"description": "Common debug options." +}, +"indexItemOptions": { +"$ref": "IndexItemOptions" +}, +"item": { +"$ref": "Item", +"description": "The name of the item. Format: datasources/{source_id}/items/{item_id}" +}, +"mode": { +"description": "Required. The RequestMode for this request.", +"enum": [ +"UNSPECIFIED", +"SYNCHRONOUS", +"ASYNCHRONOUS" +], +"enumDescriptions": [ +"The priority is not specified in the update request. Leaving priority unspecified results in an update failure.", +"For real-time updates.", +"For changes that are executed after the response is sent back to the caller." +], +"type": "string" +} +}, +"type": "object" +}, +"InitializeCustomerRequest": { +"description": "Request message for `InitializeCustomer` method.", +"id": "InitializeCustomerRequest", +"properties": {}, +"type": "object" +}, +"IntegerFacetingOptions": { +"description": "Used to specify integer faceting options.", +"id": "IntegerFacetingOptions", +"properties": { +"integerBuckets": { +"description": "Buckets for given integer values should be in strictly ascending order. For example, if values supplied are (1,5,10,100), the following facet buckets will be formed {<1, [1,5), [5-10), [10-100), >=100}.", +"items": { +"format": "int64", +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"IntegerOperatorOptions": { +"description": "Used to provide a search operator for integer properties. This is optional. Search operators let users restrict the query to specific fields relevant to the type of item being searched.", +"id": "IntegerOperatorOptions", +"properties": { +"greaterThanOperatorName": { +"description": "Indicates the operator name required in the query in order to isolate the integer property using the greater-than operator. For example, if greaterThanOperatorName is *priorityabove* and the property's name is *priorityVal*, then queries like *priorityabove:* show results only where the value of the property named *priorityVal* is greater than **. The operator name can only contain lowercase letters (a-z). The maximum length is 32 characters.", +"type": "string" +}, +"lessThanOperatorName": { +"description": "Indicates the operator name required in the query in order to isolate the integer property using the less-than operator. For example, if lessThanOperatorName is *prioritybelow* and the property's name is *priorityVal*, then queries like *prioritybelow:* show results only where the value of the property named *priorityVal* is less than **. The operator name can only contain lowercase letters (a-z). The maximum length is 32 characters.", +"type": "string" +}, +"operatorName": { +"description": "Indicates the operator name required in the query in order to isolate the integer property. For example, if operatorName is *priority* and the property's name is *priorityVal*, then queries like *priority:* show results only where the value of the property named *priorityVal* matches **. By contrast, a search that uses the same ** without an operator returns all items where ** matches the value of any String properties or text within the content field for the item. The operator name can only contain lowercase letters (a-z). The maximum length is 32 characters.", +"type": "string" +} +}, +"type": "object" +}, +"IntegerPropertyOptions": { +"description": "The options for integer properties.", +"id": "IntegerPropertyOptions", +"properties": { +"integerFacetingOptions": { +"$ref": "IntegerFacetingOptions", +"description": "If set, describes integer faceting options for the given integer property. The corresponding integer property should be marked isFacetable." +}, +"maximumValue": { +"description": "The maximum value of the property. The minimum and maximum values for the property are used to rank results according to the ordered ranking. Indexing requests with values greater than the maximum are accepted and ranked with the same weight as items indexed with the maximum value.", +"format": "int64", +"type": "string" +}, +"minimumValue": { +"description": "The minimum value of the property. The minimum and maximum values for the property are used to rank results according to the ordered ranking. Indexing requests with values less than the minimum are accepted and ranked with the same weight as items indexed with the minimum value.", +"format": "int64", +"type": "string" +}, +"operatorOptions": { +"$ref": "IntegerOperatorOptions", +"description": "If set, describes how the integer should be used as a search operator." +}, +"orderedRanking": { +"description": "Used to specify the ordered ranking for the integer. Can only be used if isRepeatable is false.", +"enum": [ +"NO_ORDER", +"ASCENDING", +"DESCENDING" +], +"enumDescriptions": [ +"There is no ranking order for the property. Results are not adjusted by this property's value.", +"This property is ranked in ascending order. Lower values indicate lower ranking.", +"This property is ranked in descending order. Lower values indicate higher ranking." +], +"type": "string" +} +}, +"type": "object" +}, +"IntegerValues": { +"description": "List of integer values.", +"id": "IntegerValues", +"properties": { +"values": { +"items": { +"format": "int64", +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"Interaction": { +"description": "Represents an interaction between a user and an item.", +"id": "Interaction", +"properties": { +"interactionTime": { +"description": "The time when the user acted on the item. If multiple actions of the same type exist for a single user, only the most recent action is recorded.", +"format": "google-datetime", +"type": "string" +}, +"principal": { +"$ref": "Principal", +"description": "The user that acted on the item." +}, +"type": { +"enum": [ +"UNSPECIFIED", +"VIEW", +"EDIT" +], +"enumDescriptions": [ +"Invalid value.", +"This interaction indicates the user viewed the item.", +"This interaction indicates the user edited the item." +], +"type": "string" +} +}, +"type": "object" +}, +"Item": { +"description": "Represents a single object that is an item in the search index, such as a file, folder, or a database record.", +"id": "Item", +"properties": { +"acl": { +"$ref": "ItemAcl", +"description": "Access control list for this item." +}, +"content": { +"$ref": "ItemContent", +"description": "Item content to be indexed and made text searchable." +}, +"itemType": { +"description": "The type for this item.", +"enum": [ +"UNSPECIFIED", +"CONTENT_ITEM", +"CONTAINER_ITEM", +"VIRTUAL_CONTAINER_ITEM" +], +"enumDescriptions": [ +"", +"An item that is indexed for the only purpose of serving information. These items cannot be referred in containerName or inheritAclFrom fields.", +"An item that gets indexed and whose purpose is to supply other items with ACLs and/or contain other items.", +"An item that does not get indexed, but otherwise has the same purpose as CONTAINER_ITEM." +], +"type": "string" +}, +"metadata": { +"$ref": "ItemMetadata", +"description": "The metadata information." +}, +"name": { +"description": "The name of the Item. Format: datasources/{source_id}/items/{item_id} This is a required field. The maximum length is 1536 characters.", +"type": "string" +}, +"payload": { +"description": "Additional state connector can store for this item. The maximum length is 10000 bytes.", +"format": "byte", +"type": "string" +}, +"queue": { +"description": "Queue this item belongs to. The maximum length is 100 characters.", +"type": "string" +}, +"status": { +"$ref": "ItemStatus", +"description": "Status of the item. Output only field." +}, +"structuredData": { +"$ref": "ItemStructuredData", +"description": "The structured data for the item that should conform to a registered object definition in the schema for the data source." +}, +"version": { +"description": "Required. The indexing system stores the version from the datasource as a byte string and compares the Item version in the index to the version of the queued Item using lexical ordering. Cloud Search Indexing won't index or delete any queued item with a version value that is less than or equal to the version of the currently indexed item. The maximum length for this field is 1024 bytes. For information on how item version affects the deletion process, refer to [Handle revisions after manual deletes](https://developers.google.com/workspace/cloud-search/docs/guides/operations).", +"format": "byte", +"type": "string" +} +}, +"type": "object" +}, +"ItemAcl": { +"description": "Access control list information for the item. For more information see [Map ACLs](https://developers.google.com/workspace/cloud-search/docs/guides/acls).", +"id": "ItemAcl", +"properties": { +"aclInheritanceType": { +"description": "Sets the type of access rules to apply when an item inherits its ACL from a parent. This should always be set in tandem with the inheritAclFrom field. Also, when the inheritAclFrom field is set, this field should be set to a valid AclInheritanceType.", +"enum": [ +"NOT_APPLICABLE", +"CHILD_OVERRIDE", +"PARENT_OVERRIDE", +"BOTH_PERMIT" +], +"enumDescriptions": [ +"The default value when this item does not inherit an ACL. Use NOT_APPLICABLE when inheritAclFrom is empty. An item without ACL inheritance can still have ACLs supplied by its own readers and deniedReaders fields.", +"During an authorization conflict, the ACL of the child item determines its read access.", +"During an authorization conflict, the ACL of the parent item specified in the inheritAclFrom field determines read access.", +"Access is granted only if this item and the parent item specified in the inheritAclFrom field both permit read access." +], +"type": "string" +}, +"deniedReaders": { +"description": "List of principals who are explicitly denied access to the item in search results. While principals are denied access by default, use denied readers to handle exceptions and override the list allowed readers. The maximum number of elements is 100.", +"items": { +"$ref": "Principal" +}, +"type": "array" +}, +"inheritAclFrom": { +"description": "The name of the item to inherit the Access Permission List (ACL) from. Note: ACL inheritance *only* provides access permissions to child items and does not define structural relationships, nor does it provide convenient ways to delete large groups of items. Deleting an ACL parent from the index only alters the access permissions of child items that reference the parent in the inheritAclFrom field. The item is still in the index, but may not visible in search results. By contrast, deletion of a container item also deletes all items that reference the container via the containerName field. The maximum length for this field is 1536 characters.", +"type": "string" +}, +"owners": { +"description": "Optional. List of owners for the item. This field has no bearing on document access permissions. It does, however, offer a slight ranking boosts items where the querying user is an owner. The maximum number of elements is 5.", +"items": { +"$ref": "Principal" +}, +"type": "array" +}, +"readers": { +"description": "List of principals who are allowed to see the item in search results. Optional if inheriting permissions from another item or if the item is not intended to be visible, such as virtual containers. The maximum number of elements is 1000.", +"items": { +"$ref": "Principal" +}, +"type": "array" +} +}, +"type": "object" +}, +"ItemContent": { +"description": "Content of an item to be indexed and surfaced by Cloud Search. Only UTF-8 encoded strings are allowed as inlineContent. If the content is uploaded and not binary, it must be UTF-8 encoded.", +"id": "ItemContent", +"properties": { +"contentDataRef": { +"$ref": "UploadItemRef", +"description": "Upload reference ID of a previously uploaded content via write method." +}, +"contentFormat": { +"enum": [ +"UNSPECIFIED", +"HTML", +"TEXT", +"RAW" +], +"enumDescriptions": [ +"Invalid value.", +"contentFormat is HTML.", +"contentFormat is free text.", +"contentFormat is raw bytes." +], +"type": "string" +}, +"hash": { +"description": "Hashing info calculated and provided by the API client for content. Can be used with the items.push method to calculate modified state. The maximum length is 2048 characters.", +"type": "string" +}, +"inlineContent": { +"description": "Content that is supplied inlined within the update method. The maximum length is 102400 bytes (100 KiB).", +"format": "byte", +"type": "string" +} +}, +"type": "object" +}, +"ItemCountByStatus": { +"id": "ItemCountByStatus", +"properties": { +"count": { +"description": "Number of items matching the status code.", +"format": "int64", +"type": "string" +}, +"indexedItemsCount": { +"description": "Number of items matching the status code for which billing is done. This excludes virtual container items from the total count. This count would not be applicable for items with ERROR or NEW_ITEM status code.", +"format": "int64", +"type": "string" +}, +"statusCode": { +"description": "Status of the items.", +"enum": [ +"CODE_UNSPECIFIED", +"ERROR", +"MODIFIED", +"NEW_ITEM", +"ACCEPTED" +], +"enumDescriptions": [ +"Input-only value. Used with Items.list to list all items in the queue, regardless of status.", +"Error encountered by Cloud Search while processing this item. Details of the error are in repositoryError.", +"Item has been modified in the repository, and is out of date with the version previously accepted into Cloud Search.", +"Item is known to exist in the repository, but is not yet accepted by Cloud Search. An item can be in this state when Items.push has been called for an item of this name that did not exist previously.", +"API has accepted the up-to-date data of this item." +], +"type": "string" +} +}, +"type": "object" +}, +"ItemMetadata": { +"description": "Available metadata fields for the item.", +"id": "ItemMetadata", +"properties": { +"containerName": { +"description": "The name of the container for this item. Deletion of the container item leads to automatic deletion of this item. Note: ACLs are not inherited from a container item. To provide ACL inheritance for an item, use the inheritAclFrom field. The maximum length is 1536 characters.", +"type": "string" +}, +"contentLanguage": { +"description": "The BCP-47 language code for the item, such as \"en-US\" or \"sr-Latn\". For more information, see http://www.unicode.org/reports/tr35/#Unicode_locale_identifier. The maximum length is 32 characters.", +"type": "string" +}, +"contextAttributes": { +"description": "A set of named attributes associated with the item. This can be used for influencing the ranking of the item based on the context in the request. The maximum number of elements is 10.", +"items": { +"$ref": "ContextAttribute" +}, +"type": "array" +}, +"createTime": { +"description": "The time when the item was created in the source repository.", +"format": "google-datetime", +"type": "string" +}, +"hash": { +"description": "Hashing value provided by the API caller. This can be used with the items.push method to calculate modified state. The maximum length is 2048 characters.", +"type": "string" +}, +"interactions": { +"description": "A list of interactions for the item. Interactions are used to improve Search quality, but are not exposed to end users. The maximum number of elements is 1000.", +"items": { +"$ref": "Interaction" +}, +"type": "array" +}, +"keywords": { +"description": "Additional keywords or phrases that should match the item. Used internally for user generated content. The maximum number of elements is 100. The maximum length is 8192 characters.", +"items": { +"type": "string" +}, +"type": "array" +}, +"mimeType": { +"description": "The original mime-type of ItemContent.content in the source repository. The maximum length is 256 characters.", +"type": "string" +}, +"objectType": { +"description": "The type of the item. This should correspond to the name of an object definition in the schema registered for the data source. For example, if the schema for the data source contains an object definition with name 'document', then item indexing requests for objects of that type should set objectType to 'document'. The maximum length is 256 characters.", +"type": "string" +}, +"searchQualityMetadata": { +"$ref": "SearchQualityMetadata", +"description": "Additional search quality metadata of the item" +}, +"sourceRepositoryUrl": { +"description": "Link to the source repository serving the data. Seach results apply this link to the title. Whitespace or special characters may cause Cloud Seach result links to trigger a redirect notice; to avoid this, encode the URL. The maximum length is 2048 characters.", +"type": "string" +}, +"title": { +"description": "The title of the item. If given, this will be the displayed title of the Search result. The maximum length is 2048 characters.", +"type": "string" +}, +"updateTime": { +"description": "The time when the item was last modified in the source repository.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"ItemStatus": { +"description": "This contains item's status and any errors.", +"id": "ItemStatus", +"properties": { +"code": { +"description": "Status code.", +"enum": [ +"CODE_UNSPECIFIED", +"ERROR", +"MODIFIED", +"NEW_ITEM", +"ACCEPTED" +], +"enumDescriptions": [ +"Input-only value. Used with Items.list to list all items in the queue, regardless of status.", +"Error encountered by Cloud Search while processing this item. Details of the error are in repositoryError.", +"Item has been modified in the repository, and is out of date with the version previously accepted into Cloud Search.", +"Item is known to exist in the repository, but is not yet accepted by Cloud Search. An item can be in this state when Items.push has been called for an item of this name that did not exist previously.", +"API has accepted the up-to-date data of this item." +], +"type": "string" +}, +"processingErrors": { +"description": "Error details in case the item is in ERROR state.", +"items": { +"$ref": "ProcessingError" +}, +"type": "array" +}, +"repositoryErrors": { +"description": "Repository error reported by connector.", +"items": { +"$ref": "RepositoryError" +}, +"type": "array" +} +}, +"type": "object" +}, +"ItemStructuredData": { +"description": "Available structured data fields for the item.", +"id": "ItemStructuredData", +"properties": { +"hash": { +"description": "Hashing value provided by the API caller. This can be used with the items.push method to calculate modified state. The maximum length is 2048 characters.", +"type": "string" +}, +"object": { +"$ref": "StructuredDataObject", +"description": "The structured data object that should conform to a registered object definition in the schema for the data source." +} +}, +"type": "object" +}, +"ListDataSourceResponse": { +"id": "ListDataSourceResponse", +"properties": { +"nextPageToken": { +"description": "Token to retrieve the next page of results, or empty if there are no more results in the list.", +"type": "string" +}, +"sources": { +"items": { +"$ref": "DataSource" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListItemNamesForUnmappedIdentityResponse": { +"id": "ListItemNamesForUnmappedIdentityResponse", +"properties": { +"itemNames": { +"items": { +"type": "string" +}, +"type": "array" +}, +"nextPageToken": { +"description": "Token to retrieve the next page of results, or empty if there are no more results in the list.", +"type": "string" +} +}, +"type": "object" +}, +"ListItemsResponse": { +"id": "ListItemsResponse", +"properties": { +"items": { +"items": { +"$ref": "Item" +}, +"type": "array" +}, +"nextPageToken": { +"description": "Token to retrieve the next page of results, or empty if there are no more results in the list.", +"type": "string" +} +}, +"type": "object" +}, +"ListOperationsResponse": { +"description": "The response message for Operations.ListOperations.", +"id": "ListOperationsResponse", +"properties": { +"nextPageToken": { +"description": "The standard List next-page token.", +"type": "string" +}, +"operations": { +"description": "A list of operations that matches the specified filter in the request.", +"items": { +"$ref": "Operation" +}, +"type": "array" +}, +"unreachable": { +"description": "Unordered list. Unreachable resources. Populated when the request sets `ListOperationsRequest.return_partial_success` and reads across collections. For example, when attempting to list all resources across all supported locations.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListQuerySourcesResponse": { +"description": "List sources response.", +"id": "ListQuerySourcesResponse", +"properties": { +"nextPageToken": { +"type": "string" +}, +"sources": { +"items": { +"$ref": "QuerySource" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListSearchApplicationsResponse": { +"id": "ListSearchApplicationsResponse", +"properties": { +"nextPageToken": { +"description": "Token to retrieve the next page of results, or empty if there are no more results in the list.", +"type": "string" +}, +"searchApplications": { +"items": { +"$ref": "SearchApplication" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListUnmappedIdentitiesResponse": { +"id": "ListUnmappedIdentitiesResponse", +"properties": { +"nextPageToken": { +"description": "Token to retrieve the next page of results, or empty if there are no more results in the list.", +"type": "string" +}, +"unmappedIdentities": { +"items": { +"$ref": "UnmappedIdentity" +}, +"type": "array" +} +}, +"type": "object" +}, +"MapInfo": { +"description": "Geo information used for rendering a map that shows the user's work location.", +"id": "MapInfo", +"properties": { +"lat": { +"description": "Latitude in degrees", +"format": "double", +"type": "number" +}, +"locationUrl": { +"$ref": "SafeUrlProto", +"description": "URL to a view of a map centered on the user's work location in Campus Maps (for google.com) or Google Maps (external)." +}, +"long": { +"description": "Longitude in degrees", +"format": "double", +"type": "number" +}, +"mapTile": { +"description": "MapTiles for the area around a user's work location", +"items": { +"$ref": "MapTile" +}, +"type": "array" +}, +"zoom": { +"description": "The zoom level of the map. A constant zoom value of 18 is used for now to match the zoom of the map shown on a Moma Teams Profile page", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"MapTile": { +"description": "Information used to render a map tile image in the proper location on a map.", +"id": "MapTile", +"properties": { +"imageUrl": { +"$ref": "SafeUrlProto", +"description": "URL to an image file containing an office layout of the user's location for their organization, if one is available. For google.com, this image is from Corp Campus Maps." +}, +"tileX": { +"description": "Map tile x coordinate", +"format": "double", +"type": "number" +}, +"tileY": { +"description": "Map tile y coordinate", +"format": "double", +"type": "number" +} +}, +"type": "object" +}, +"MatchRange": { +"description": "Matched range of a snippet [start, end).", +"id": "MatchRange", +"properties": { +"end": { +"description": "End of the match in the snippet.", +"format": "int32", +"type": "integer" +}, +"start": { +"description": "Starting position of the match in the snippet.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"Media": { +"description": "Media resource.", +"id": "Media", +"properties": { +"resourceName": { +"description": "Name of the media resource.", +"type": "string" +} +}, +"type": "object" +}, +"Metadata": { +"description": "Metadata of a matched search result.", +"id": "Metadata", +"properties": { +"createTime": { +"description": "The creation time for this document or object in the search result.", +"format": "google-datetime", +"type": "string" +}, +"displayOptions": { +"$ref": "ResultDisplayMetadata", +"description": "Options that specify how to display a structured data search result." +}, +"fields": { +"description": "Indexed fields in structured data, returned as a generic named property.", +"items": { +"$ref": "NamedProperty" +}, +"type": "array" +}, +"mimeType": { +"description": "Mime type of the search result.", +"type": "string" +}, +"objectType": { +"description": "Object type of the search result.", +"type": "string" +}, +"owner": { +"$ref": "Person", +"description": "Owner (usually creator) of the document or object of the search result." +}, +"source": { +"$ref": "Source", +"description": "The named source for the result, such as Gmail." +}, +"thumbnailUrl": { +"description": "The thumbnail URL of the result.", +"type": "string" +}, +"updateTime": { +"description": "The last modified date for the object in the search result. If not set in the item, the value returned here is empty. When `updateTime` is used for calculating freshness and is not set, this value defaults to 2 years from the current time.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"Metaline": { +"description": "A metaline is a list of properties that are displayed along with the search result to provide context.", +"id": "Metaline", +"properties": { +"properties": { +"description": "The list of displayed properties for the metaline. The maximum number of properties is 5.", +"items": { +"$ref": "DisplayedProperty" +}, +"type": "array" +} +}, +"type": "object" +}, +"Name": { +"description": "A person's name.", +"id": "Name", +"properties": { +"displayName": { +"description": "The read-only display name formatted according to the locale specified by the viewer's account or the `Accept-Language` HTTP header.", +"type": "string" +} +}, +"type": "object" +}, +"NamedProperty": { +"description": "A typed name-value pair for structured data. The type of the value should be the same as the registered type for the `name` property in the object definition of `objectType`.", +"id": "NamedProperty", +"properties": { +"booleanValue": { +"type": "boolean" +}, +"dateValues": { +"$ref": "DateValues" +}, +"doubleValues": { +"$ref": "DoubleValues" +}, +"enumValues": { +"$ref": "EnumValues" +}, +"htmlValues": { +"$ref": "HtmlValues" +}, +"integerValues": { +"$ref": "IntegerValues" +}, +"name": { +"description": "The name of the property. This name should correspond to the name of the property that was registered for object definition in the schema. The maximum allowable length for this property is 256 characters.", +"type": "string" +}, +"objectValues": { +"$ref": "ObjectValues" +}, +"textValues": { +"$ref": "TextValues" +}, +"timestampValues": { +"$ref": "TimestampValues" +} +}, +"type": "object" +}, +"ObjectDefinition": { +"description": "The definition for an object within a data source.", +"id": "ObjectDefinition", +"properties": { +"name": { +"description": "The name for the object, which then defines its type. Item indexing requests should set the objectType field equal to this value. For example, if *name* is *Document*, then indexing requests for items of type Document should set objectType equal to *Document*. Each object definition must be uniquely named within a schema. The name must start with a letter and can only contain letters (A-Z, a-z) or numbers (0-9). The maximum length is 256 characters.", +"type": "string" +}, +"options": { +"$ref": "ObjectOptions", +"description": "The optional object-specific options." +}, +"propertyDefinitions": { +"description": "The property definitions for the object. The maximum number of elements is 1000.", +"items": { +"$ref": "PropertyDefinition" +}, +"type": "array" +} +}, +"type": "object" +}, +"ObjectDisplayOptions": { +"description": "The display options for an object.", +"id": "ObjectDisplayOptions", +"properties": { +"metalines": { +"description": "Defines the properties that are displayed in the metalines of the search results. The property values are displayed in the order given here. If a property holds multiple values, all of the values are displayed before the next properties. For this reason, it is a good practice to specify singular properties before repeated properties in this list. All of the properties must set is_returnable to true. The maximum number of metalines is 3.", +"items": { +"$ref": "Metaline" +}, +"type": "array" +}, +"objectDisplayLabel": { +"description": "The user friendly label to display in the search result to indicate the type of the item. This is OPTIONAL; if not provided, an object label isn't displayed on the context line of the search results. The maximum length is 64 characters.", +"type": "string" +} +}, +"type": "object" +}, +"ObjectOptions": { +"description": "The options for an object.", +"id": "ObjectOptions", +"properties": { +"displayOptions": { +"$ref": "ObjectDisplayOptions", +"description": "The options that determine how the object is displayed in the Cloud Search results page." +}, +"freshnessOptions": { +"$ref": "FreshnessOptions", +"description": "The freshness options for an object." +}, +"suggestionFilteringOperators": { +"description": "Operators that can be used to filter suggestions. For Suggest API, only operators mentioned here will be honored in the FilterOptions. Only TEXT and ENUM operators are supported. NOTE: \"objecttype\", \"type\" and \"mimetype\" are already supported. This property is to configure schema specific operators. Even though this is an array, only one operator can be specified. This is an array for future extensibility. Operators mapping to multiple properties within the same object are not supported. If the operator spans across different object types, this option has to be set once for each object definition.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ObjectPropertyOptions": { +"description": "The options for object properties.", +"id": "ObjectPropertyOptions", +"properties": { +"subobjectProperties": { +"description": "The properties of the sub-object. These properties represent a nested object. For example, if this property represents a postal address, the subobjectProperties might be named *street*, *city*, and *state*. The maximum number of elements is 1000.", +"items": { +"$ref": "PropertyDefinition" +}, +"type": "array" +} +}, +"type": "object" +}, +"ObjectValues": { +"description": "List of object values.", +"id": "ObjectValues", +"properties": { +"values": { +"items": { +"$ref": "StructuredDataObject" +}, +"type": "array" +} +}, +"type": "object" +}, +"Operation": { +"description": "This resource represents a long-running operation that is the result of a network API call.", +"id": "Operation", +"properties": { +"done": { +"description": "If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.", +"type": "boolean" +}, +"error": { +"$ref": "Status", +"description": "The error result of the operation in case of failure or cancellation." +}, +"metadata": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.", +"type": "object" +}, +"name": { +"description": "The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.", +"type": "string" +}, +"response": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "The normal, successful response of the operation. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.", +"type": "object" +} +}, +"type": "object" +}, +"PeoplePromotionCard": { +"id": "PeoplePromotionCard", +"properties": { +"people": { +"items": { +"$ref": "PersonCore" +}, +"type": "array" +} +}, +"type": "object" +}, +"PeopleSuggestion": { +"description": "This field contains information about the person being suggested.", +"id": "PeopleSuggestion", +"properties": { +"person": { +"$ref": "Person", +"description": "Suggested person. All fields of the person object might not be populated." +} +}, +"type": "object" +}, +"Person": { +"description": "Object to represent a person.", +"id": "Person", +"properties": { +"emailAddresses": { +"description": "The person's email addresses", +"items": { +"$ref": "EmailAddress" +}, +"type": "array" +}, +"name": { +"description": "The resource name of the person to provide information about. See [`People.get`](https://developers.google.com/people/api/rest/v1/people/get) from the Google People API.", +"type": "string" +}, +"obfuscatedId": { +"description": "Obfuscated ID of a person.", +"type": "string" +}, +"personNames": { +"description": "The person's name", +"items": { +"$ref": "Name" +}, +"type": "array" +}, +"phoneNumbers": { +"description": "The person's phone numbers", +"items": { +"$ref": "PhoneNumber" +}, +"type": "array" +}, +"photos": { +"description": "A person's read-only photo. A picture shown next to the person's name to help others recognize the person in search results.", +"items": { +"$ref": "Photo" +}, +"type": "array" +} +}, +"type": "object" +}, +"PersonCore": { +"description": "Information for rendering a person. NEXT ID: 37", +"id": "PersonCore", +"properties": { +"addressMeAs": { +"description": "Instructions for how to address this person (e.g. custom pronouns). For google.com this is a set of pronouns from a defined list of options.", +"type": "string" +}, +"adminTo": { +"description": "People the profile owner is an admin to. Note that not all fields of these PersonCores will be set, in particular, relationships will be empty.", +"items": { +"$ref": "PersonCore" +}, +"type": "array" +}, +"admins": { +"description": "The profile owner's admins in no particular order. Note that not all fields of these PersonCores will be set, in particular, relationships will be empty.", +"items": { +"$ref": "PersonCore" +}, +"type": "array" +}, +"availabilityStatus": { +"enum": [ +"UNKNOWN", +"OUT_OF_OFFICE", +"OUTSIDE_WORKING_HOURS", +"AVAILABLE" +], +"enumDescriptions": [ +"", +"", +"", +"" +], +"type": "string" +}, +"birthday": { +"$ref": "Date", +"description": "Person birthday." +}, +"calendarUrl": { +"$ref": "SafeUrlProto", +"description": "The URL to open the profile owner's primary calendar." +}, +"chatUrl": { +"$ref": "SafeUrlProto", +"description": "The URL to start a chat conversation with the profile owner. For google.com this is a Hangouts URL." +}, +"costCenter": { +"description": "Person's cost center as a string, e.g. \"926: Googler Apps\".", +"type": "string" +}, +"department": { +"description": "The person's Organization department, e.g. \"People Operations\". For google.com this is usually called \"area\".", +"type": "string" +}, +"directReports": { +"description": "A subset of the profile owner's direct reports. The number of entities here may be less than total_direct_reports_count, because typically ProfileResponse does not include all the person's reports, if there are too many to retrieve efficiently. Note that not all fields of these PersonCores will be set, in particular, relationships will be empty.", +"items": { +"$ref": "PersonCore" +}, +"type": "array" +}, +"dottedLineManagers": { +"description": "The profile owner's direct dotted line managers in no particular order. Note that not all fields of these PersonCores will be set, in particular, relationships will be empty.", +"items": { +"$ref": "PersonCore" +}, +"type": "array" +}, +"dottedLineReports": { +"description": "A subset of the profile owner's dotted-line reports. The number of entities here may be less than total_dlr_count. Note that not all fields of these PersonCores will be set, in particular, relationships will be empty.", +"items": { +"$ref": "PersonCore" +}, +"type": "array" +}, +"emails": { +"description": "E-mail addresses of the person. The primary or preferred email should be first.", +"items": { +"type": "string" +}, +"type": "array" +}, +"employeeId": { +"description": "Person's employee number (external ID of type \"organization\") For google.com this is the badge number (e.g. 2 for Larry Page).", +"type": "string" +}, +"fingerprint": { +"description": "A fingerprint used by PAPI to reliably determine if a resource has changed Externally it is used as part of the etag.", +"type": "string" +}, +"ftePermille": { +"description": "Full-time equivalent (in \u2030) (e.g. 800 for a person who's working 80%).", +"format": "int64", +"type": "string" +}, +"geoLocation": { +"$ref": "MapInfo" +}, +"gmailUrl": { +"type": "string" +}, +"jobTitle": { +"description": "Profile owner's job title (e.g. \"Software Engineer\"). For google.com this is the Workday preferred job title.", +"type": "string" +}, +"keywordTypes": { +"description": "List of keys to use from the map 'keywords'.", +"items": { +"type": "string" +}, +"type": "array" +}, +"keywords": { +"additionalProperties": { +"type": "string" +}, +"description": "Custom keywords the domain admin has added.", +"type": "object" +}, +"links": { +"description": "Custom links the profile owner has added.", +"items": { +"$ref": "EnterpriseTopazFrontendTeamsLink" +}, +"type": "array" +}, +"location": { +"description": "Detailed desk location within the company. For google.com this is the desk location code (e.g. \"DE-MUC-ARP-6T2-6T2C0C\") if the person has a desk.", +"type": "string" +}, +"managers": { +"description": "The profile owner's management chain from top to bottom, where managers[0] is the CEO, manager[N-2] is the person's manager's manager and managers[N-1] is the person's direct manager. Note that not all fields of these PersonCores will be set, in particular, relationships will be empty.", +"items": { +"$ref": "PersonCore" +}, +"type": "array" +}, +"mission": { +"description": "Custom mission statement the profile owner has added.", +"type": "string" +}, +"name": { +"description": "Human-readable Unicode display name.", +"type": "string" +}, +"officeLocation": { +"description": "Office/building identifier within the company. For google.com this is the office code (e.g. \"DE-MUC-ARP\").", +"type": "string" +}, +"personId": { +"description": "The person's obfuscated Gaia ID.", +"type": "string" +}, +"phoneNumbers": { +"items": { +"$ref": "EnterpriseTopazFrontendTeamsPersonCorePhoneNumber" +}, +"type": "array" +}, +"photoUrl": { +"$ref": "SafeUrlProto", +"description": "Person photo." +}, +"postalAddress": { +"description": "Postal address of office/building.", +"type": "string" +}, +"totalDirectReportsCount": { +"description": "Total count of the profile owner's direct reports.", +"format": "int32", +"type": "integer" +}, +"totalDlrCount": { +"description": "Total count of the profile owner's dotted-line reports.", +"format": "int32", +"type": "integer" +}, +"totalFteCount": { +"description": "The sum of all profile owner's reports and their own full-time-equivalents in \u2030 (e.g. 1800 if one report is working 80% and profile owner 100%).", +"format": "int64", +"type": "string" +}, +"username": { +"description": "External ID of type \"login_id\" for the profile. For google.com this is the username/LDAP.", +"type": "string" +}, +"waldoComeBackTime": { +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"PhoneNumber": { +"description": "A person's Phone Number", +"id": "PhoneNumber", +"properties": { +"phoneNumber": { +"description": "The phone number of the person.", +"type": "string" +}, +"type": { +"enum": [ +"OTHER", +"MOBILE", +"OFFICE" +], +"enumDescriptions": [ +"", +"", +"" +], +"type": "string" +} +}, +"type": "object" +}, +"Photo": { +"description": "A person's photo.", +"id": "Photo", +"properties": { +"url": { +"description": "The URL of the photo.", +"type": "string" +} +}, +"type": "object" +}, +"PollItemsRequest": { +"id": "PollItemsRequest", +"properties": { +"connectorName": { +"description": "The name of connector making this call. Format: datasources/{source_id}/connectors/{ID}", +"type": "string" +}, +"debugOptions": { +"$ref": "DebugOptions", +"description": "Common debug options." +}, +"limit": { +"description": "Maximum number of items to return. The maximum value is 100 and the default value is 20.", +"format": "int32", +"type": "integer" +}, +"queue": { +"description": "Queue name to fetch items from. If unspecified, PollItems will fetch from 'default' queue. The maximum length is 100 characters.", +"type": "string" +}, +"statusCodes": { +"description": "Limit the items polled to the ones with these statuses.", +"items": { +"enum": [ +"CODE_UNSPECIFIED", +"ERROR", +"MODIFIED", +"NEW_ITEM", +"ACCEPTED" +], +"enumDescriptions": [ +"Input-only value. Used with Items.list to list all items in the queue, regardless of status.", +"Error encountered by Cloud Search while processing this item. Details of the error are in repositoryError.", +"Item has been modified in the repository, and is out of date with the version previously accepted into Cloud Search.", +"Item is known to exist in the repository, but is not yet accepted by Cloud Search. An item can be in this state when Items.push has been called for an item of this name that did not exist previously.", +"API has accepted the up-to-date data of this item." +], +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"PollItemsResponse": { +"id": "PollItemsResponse", +"properties": { +"items": { +"description": "Set of items from the queue available for connector to process. These items have the following subset of fields populated: version metadata.hash structured_data.hash content.hash payload status queue", +"items": { +"$ref": "Item" +}, +"type": "array" +} +}, +"type": "object" +}, +"Principal": { +"description": "Reference to a user, group, or domain.", +"id": "Principal", +"properties": { +"groupResourceName": { +"description": "This principal is a group identified using an external identity. The name field must specify the group resource name with this format: identitysources/{source_id}/groups/{ID}", +"type": "string" +}, +"gsuitePrincipal": { +"$ref": "GSuitePrincipal", +"description": "This principal is a Google Workspace user, group or domain." +}, +"userResourceName": { +"description": "This principal is a user identified using an external identity. The name field must specify the user resource name with this format: identitysources/{source_id}/users/{ID}", +"type": "string" +} +}, +"type": "object" +}, +"ProcessingError": { +"id": "ProcessingError", +"properties": { +"code": { +"description": "Error code indicating the nature of the error.", +"enum": [ +"PROCESSING_ERROR_CODE_UNSPECIFIED", +"MALFORMED_REQUEST", +"UNSUPPORTED_CONTENT_FORMAT", +"INDIRECT_BROKEN_ACL", +"ACL_CYCLE" +], +"enumDescriptions": [ +"Input only value. Use this value in Items.", +"Item's ACL, metadata, or content is malformed or in invalid state. FieldViolations contains more details on where the problem is.", +"Countent format is unsupported.", +"Items with incomplete ACL information due to inheriting other items with broken ACL or having groups with unmapped descendants.", +"ACL inheritance graph formed a cycle." +], +"type": "string" +}, +"errorMessage": { +"description": "The description of the error.", +"type": "string" +}, +"fieldViolations": { +"description": "In case the item fields are invalid, this field contains the details about the validation errors.", +"items": { +"$ref": "FieldViolation" +}, +"type": "array" +} +}, +"type": "object" +}, +"PropertyDefinition": { +"description": "The definition of a property within an object.", +"id": "PropertyDefinition", +"properties": { +"booleanPropertyOptions": { +"$ref": "BooleanPropertyOptions" +}, +"datePropertyOptions": { +"$ref": "DatePropertyOptions" +}, +"displayOptions": { +"$ref": "PropertyDisplayOptions", +"description": "The options that determine how the property is displayed in the Cloud Search results page if it's specified to be displayed in the object's display options." +}, +"doublePropertyOptions": { +"$ref": "DoublePropertyOptions" +}, +"enumPropertyOptions": { +"$ref": "EnumPropertyOptions" +}, +"htmlPropertyOptions": { +"$ref": "HtmlPropertyOptions" +}, +"integerPropertyOptions": { +"$ref": "IntegerPropertyOptions" +}, +"isFacetable": { +"description": "Indicates that the property can be used for generating facets. Cannot be true for properties whose type is object. IsReturnable must be true to set this option. Only supported for boolean, enum, integer, and text properties.", +"type": "boolean" +}, +"isRepeatable": { +"description": "Indicates that multiple values are allowed for the property. For example, a document only has one description but can have multiple comments. Cannot be true for properties whose type is a boolean. If set to false, properties that contain more than one value cause the indexing request for that item to be rejected.", +"type": "boolean" +}, +"isReturnable": { +"description": "Indicates that the property identifies data that should be returned in search results via the Query API. If set to *true*, indicates that Query API users can use matching property fields in results. However, storing fields requires more space allocation and uses more bandwidth for search queries, which impacts performance over large datasets. Set to *true* here only if the field is needed for search results. Cannot be true for properties whose type is an object.", +"type": "boolean" +}, +"isSortable": { +"description": "Indicates that the property can be used for sorting. Cannot be true for properties that are repeatable. Cannot be true for properties whose type is object. IsReturnable must be true to set this option. Only supported for boolean, date, double, integer, and timestamp properties.", +"type": "boolean" +}, +"isSuggestable": { +"description": "Indicates that the property can be used for generating query suggestions.", +"type": "boolean" +}, +"isWildcardSearchable": { +"description": "Indicates that users can perform wildcard search for this property. Only supported for Text properties. IsReturnable must be true to set this option. In a given datasource maximum of 5 properties can be marked as is_wildcard_searchable. For more details, see [Define object properties](https://developers.google.com/workspace/cloud-search/docs/guides/schema-guide#properties)", +"type": "boolean" +}, +"name": { +"description": "The name of the property. Item indexing requests sent to the Indexing API should set the property name equal to this value. For example, if name is *subject_line*, then indexing requests for document items with subject fields should set the name for that field equal to *subject_line*. Use the name as the identifier for the object property. Once registered as a property for an object, you cannot re-use this name for another property within that object. The name must start with a letter and can only contain letters (A-Z, a-z) or numbers (0-9). The maximum length is 256 characters.", +"type": "string" +}, +"objectPropertyOptions": { +"$ref": "ObjectPropertyOptions" +}, +"textPropertyOptions": { +"$ref": "TextPropertyOptions" +}, +"timestampPropertyOptions": { +"$ref": "TimestampPropertyOptions" +} +}, +"type": "object" +}, +"PropertyDisplayOptions": { +"description": "The display options for a property.", +"id": "PropertyDisplayOptions", +"properties": { +"displayLabel": { +"description": "The user friendly label for the property that is used if the property is specified to be displayed in ObjectDisplayOptions. If provided, the display label is shown in front of the property values when the property is part of the object display options. For example, if the property value is '1', the value by itself may not be useful context for the user. If the display name given was 'priority', then the user sees 'priority : 1' in the search results which provides clear context to search users. This is OPTIONAL; if not given, only the property values are displayed. The maximum length is 64 characters.", +"type": "string" +} +}, +"type": "object" +}, +"PushItem": { +"description": "Represents an item to be pushed to the indexing queue.", +"id": "PushItem", +"properties": { +"contentHash": { +"description": "Content hash of the item according to the repository. If specified, this is used to determine how to modify this item's status. Setting this field and the type field results in argument error. The maximum length is 2048 characters.", +"type": "string" +}, +"metadataHash": { +"description": "The metadata hash of the item according to the repository. If specified, this is used to determine how to modify this item's status. Setting this field and the type field results in argument error. The maximum length is 2048 characters.", +"type": "string" +}, +"payload": { +"description": "Provides additional document state information for the connector, such as an alternate repository ID and other metadata. The maximum length is 8192 bytes.", +"format": "byte", +"type": "string" +}, +"queue": { +"description": "Queue to which this item belongs. The `default` queue is chosen if this field is not specified. The maximum length is 512 characters.", +"type": "string" +}, +"repositoryError": { +"$ref": "RepositoryError", +"description": "Populate this field to store Connector or repository error details. This information is displayed in the Admin Console. This field may only be populated when the Type is REPOSITORY_ERROR." +}, +"structuredDataHash": { +"description": "Structured data hash of the item according to the repository. If specified, this is used to determine how to modify this item's status. Setting this field and the type field results in argument error. The maximum length is 2048 characters.", +"type": "string" +}, +"type": { +"description": "The type of the push operation that defines the push behavior.", +"enum": [ +"UNSPECIFIED", +"MODIFIED", +"NOT_MODIFIED", +"REPOSITORY_ERROR", +"REQUEUE" +], +"enumDescriptions": [ +"Default UNSPECIFIED. Specifies that the push operation should not modify ItemStatus", +"Indicates that the repository document has been modified or updated since the previous update call. This changes status to MODIFIED state for an existing item. If this is called on a non existing item, the status is changed to NEW_ITEM.", +"Item in the repository has not been modified since the last update call. This push operation will set status to ACCEPTED state.", +"Connector is facing a repository error regarding this item. Change status to REPOSITORY_ERROR state. Item is unreserved and rescheduled at a future time determined by exponential backoff.", +"Call push with REQUEUE only for items that have been reserved. This action unreserves the item and resets its available time to the wall clock time." +], +"type": "string" +} +}, +"type": "object" +}, +"PushItemRequest": { +"id": "PushItemRequest", +"properties": { +"connectorName": { +"description": "The name of connector making this call. Format: datasources/{source_id}/connectors/{ID}", +"type": "string" +}, +"debugOptions": { +"$ref": "DebugOptions", +"description": "Common debug options." +}, +"item": { +"$ref": "PushItem", +"description": "Item to push onto the queue." +} +}, +"type": "object" +}, +"QueryActivity": { +"description": "Details about a user's query activity.", +"id": "QueryActivity", +"properties": { +"query": { +"description": "User input query to be logged/removed.", +"type": "string" +} +}, +"type": "object" +}, +"QueryCountByStatus": { +"id": "QueryCountByStatus", +"properties": { +"count": { +"format": "int64", +"type": "string" +}, +"statusCode": { +"description": "This represents the http status code.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"QueryInterpretation": { +"id": "QueryInterpretation", +"properties": { +"interpretationType": { +"enum": [ +"NONE", +"BLEND", +"REPLACE" +], +"enumDescriptions": [ +"Neither the natural language interpretation, nor a broader version of the query is used to fetch the search results.", +"The results from original query are blended with other results. The reason for blending these other results with the results from original query is populated in the 'Reason' field below.", +"The results from original query are replaced. The reason for replacing the results from original query is populated in the 'Reason' field below." +], +"type": "string" +}, +"interpretedQuery": { +"description": "The interpretation of the query used in search. For example, queries with natural language intent like \"email from john\" will be interpreted as \"from:john source:mail\". This field will not be filled when the reason is NOT_ENOUGH_RESULTS_FOUND_FOR_USER_QUERY.", +"type": "string" +}, +"interpretedQueryActualResultCount": { +"description": "The actual number of results returned by the interpreted query.", +"format": "int32", +"type": "integer" +}, +"interpretedQueryEstimatedResultCount": { +"description": "The estimated number of results returned by the interpreted query.", +"format": "int64", +"type": "string" +}, +"reason": { +"description": "The reason for interpretation of the query. This field will not be UNSPECIFIED if the interpretation type is not NONE.", +"enum": [ +"UNSPECIFIED", +"QUERY_HAS_NATURAL_LANGUAGE_INTENT", +"NOT_ENOUGH_RESULTS_FOUND_FOR_USER_QUERY" +], +"enumDescriptions": [ +"", +"Natural language interpretation of the query is used to fetch the search results.", +"Query and document terms similarity is used to selectively broaden the query to retrieve additional search results since enough results were not found for the user query. Interpreted query will be empty for this case." +], +"type": "string" +} +}, +"type": "object" +}, +"QueryInterpretationConfig": { +"description": "Default options to interpret user query.", +"id": "QueryInterpretationConfig", +"properties": { +"forceDisableSupplementalResults": { +"description": "Set this flag to disable supplemental results retrieval, setting a flag here will not retrieve supplemental results for queries associated with a given search application. If this flag is set to True, it will take precedence over the option set at Query level. For the default value of False, query level flag will set the correct interpretation for supplemental results.", +"type": "boolean" +}, +"forceVerbatimMode": { +"description": "Enable this flag to turn off all internal optimizations like natural language (NL) interpretation of queries, supplemental results retrieval, and usage of synonyms including custom ones. If this flag is set to True, it will take precedence over the option set at Query level. For the default value of False, query level flag will set the correct interpretation for verbatim mode.", +"type": "boolean" +} +}, +"type": "object" +}, +"QueryInterpretationOptions": { +"description": "Options to interpret user query.", +"id": "QueryInterpretationOptions", +"properties": { +"disableNlInterpretation": { +"description": "Flag to disable natural language (NL) interpretation of queries. Default is false, Set to true to disable natural language interpretation. NL interpretation only applies to predefined datasources.", +"type": "boolean" +}, +"disableSupplementalResults": { +"description": "Use this flag to disable supplemental results for a query. Supplemental results setting chosen at SearchApplication level will take precedence if set to True.", +"type": "boolean" +}, +"enableVerbatimMode": { +"description": "Enable this flag to turn off all internal optimizations like natural language (NL) interpretation of queries, supplemental result retrieval, and usage of synonyms including custom ones. Nl interpretation will be disabled if either one of the two flags is true.", +"type": "boolean" +} +}, +"type": "object" +}, +"QueryItem": { +"description": "Information relevant only to a query entry.", +"id": "QueryItem", +"properties": { +"isSynthetic": { +"description": "True if the text was generated by means other than a previous user search.", +"type": "boolean" +} +}, +"type": "object" +}, +"QueryOperator": { +"description": "The definition of a operator that can be used in a Search/Suggest request.", +"id": "QueryOperator", +"properties": { +"displayName": { +"description": "Display name of the operator", +"type": "string" +}, +"enumValues": { +"description": "Potential list of values for the opeatror field. This field is only filled when we can safely enumerate all the possible values of this operator.", +"items": { +"type": "string" +}, +"type": "array" +}, +"greaterThanOperatorName": { +"description": "Indicates the operator name that can be used to isolate the property using the greater-than operator.", +"type": "string" +}, +"isFacetable": { +"description": "Can this operator be used to get facets.", +"type": "boolean" +}, +"isRepeatable": { +"description": "Indicates if multiple values can be set for this property.", +"type": "boolean" +}, +"isReturnable": { +"description": "Will the property associated with this facet be returned as part of search results.", +"type": "boolean" +}, +"isSortable": { +"description": "Can this operator be used to sort results.", +"type": "boolean" +}, +"isSuggestable": { +"description": "Can get suggestions for this field.", +"type": "boolean" +}, +"lessThanOperatorName": { +"description": "Indicates the operator name that can be used to isolate the property using the less-than operator.", +"type": "string" +}, +"objectType": { +"description": "The name of the object corresponding to the operator. This field is only filled for schema-specific operators, and is unset for common operators.", +"type": "string" +}, +"operatorName": { +"description": "The name of the operator.", +"type": "string" +}, +"type": { +"description": "The type of the operator.", +"enum": [ +"UNKNOWN", +"INTEGER", +"DOUBLE", +"TIMESTAMP", +"BOOLEAN", +"ENUM", +"DATE", +"TEXT", +"HTML" +], +"enumDescriptions": [ +"Invalid value.", +"", +"", +"", +"", +"", +"", +"", +"" +], +"type": "string" +} +}, +"type": "object" +}, +"QuerySource": { +"description": "List of sources that the user can search using the query API.", +"id": "QuerySource", +"properties": { +"displayName": { +"description": "Display name of the data source.", +"type": "string" +}, +"operators": { +"description": "List of all operators applicable for this source.", +"items": { +"$ref": "QueryOperator" +}, +"type": "array" +}, +"shortName": { +"description": "A short name or alias for the source. This value can be used with the 'source' operator.", +"type": "string" +}, +"source": { +"$ref": "Source", +"description": "The name of the source" +} +}, +"type": "object" +}, +"QuerySuggestion": { +"description": "This field does not contain anything as of now and is just used as an indicator that the suggest result was a phrase completion.", +"id": "QuerySuggestion", +"properties": {}, +"type": "object" +}, +"RemoveActivityRequest": { +"description": "Remove Logged Activity Request.", +"id": "RemoveActivityRequest", +"properties": { +"requestOptions": { +"$ref": "RequestOptions", +"description": "Request options, such as the search application and clientId." +}, +"userActivity": { +"$ref": "UserActivity", +"description": "User Activity containing the data to be deleted." +} +}, +"type": "object" +}, +"RemoveActivityResponse": { +"description": "Remove Logged Activity Response. will return an empty response for now. Will be revisited in later phases.", +"id": "RemoveActivityResponse", +"properties": {}, +"type": "object" +}, +"RepositoryError": { +"description": "Errors when the connector is communicating to the source repository.", +"id": "RepositoryError", +"properties": { +"errorMessage": { +"description": "Message that describes the error. The maximum allowable length of the message is 8192 characters.", +"type": "string" +}, +"httpStatusCode": { +"description": "Error codes. Matches the definition of HTTP status codes.", +"format": "int32", +"type": "integer" +}, +"type": { +"description": "The type of error.", +"enum": [ +"UNKNOWN", +"NETWORK_ERROR", +"DNS_ERROR", +"CONNECTION_ERROR", +"AUTHENTICATION_ERROR", +"AUTHORIZATION_ERROR", +"SERVER_ERROR", +"QUOTA_EXCEEDED", +"SERVICE_UNAVAILABLE", +"CLIENT_ERROR" +], +"enumDescriptions": [ +"Unknown error.", +"Unknown or unreachable host.", +"DNS problem, such as the DNS server is not responding.", +"Cannot connect to the repository server.", +"Failed authentication due to incorrect credentials.", +"Service account is not authorized for the repository.", +"Repository server error.", +"Quota exceeded.", +"Server temporarily unavailable.", +"Client-related error, such as an invalid request from the connector to the repository server." +], +"type": "string" +} +}, +"type": "object" +}, +"RequestOptions": { +"description": "Shared request options for all RPC methods.", +"id": "RequestOptions", +"properties": { +"debugOptions": { +"$ref": "DebugOptions", +"description": "Debug options of the request" +}, +"languageCode": { +"description": "The BCP-47 language code, such as \"en-US\" or \"sr-Latn\". For more information, see http://www.unicode.org/reports/tr35/#Unicode_locale_identifier. For translations. Set this field using the language set in browser or for the page. In the event that the user's language preference is known, set this field to the known user language. When specified, the documents in search results are biased towards the specified language. The Suggest API uses this field as a hint to make better third-party autocomplete predictions.", +"type": "string" +}, +"searchApplicationId": { +"description": "The ID generated when you create a search application using the [admin console](https://support.google.com/a/answer/9043922).", +"type": "string" +}, +"timeZone": { +"description": "Current user's time zone id, such as \"America/Los_Angeles\" or \"Australia/Sydney\". These IDs are defined by [Unicode Common Locale Data Repository (CLDR)](http://cldr.unicode.org/) project, and currently available in the file [timezone.xml](http://unicode.org/repos/cldr/trunk/common/bcp47/timezone.xml). This field is used to correctly interpret date and time queries. If this field is not specified, the default time zone (UTC) is used.", +"type": "string" +} +}, +"type": "object" +}, +"ResetSearchApplicationRequest": { +"id": "ResetSearchApplicationRequest", +"properties": { +"debugOptions": { +"$ref": "DebugOptions", +"description": "Common debug options." +} +}, +"type": "object" +}, +"ResponseDebugInfo": { +"description": "Debugging information about the response.", +"id": "ResponseDebugInfo", +"properties": { +"formattedDebugInfo": { +"description": "General debug info formatted for display.", +"type": "string" +} +}, +"type": "object" +}, +"RestrictItem": { +"description": "Information relevant only to a restrict entry. NextId: 12", +"id": "RestrictItem", +"properties": { +"driveFollowUpRestrict": { +"$ref": "DriveFollowUpRestrict" +}, +"driveLocationRestrict": { +"$ref": "DriveLocationRestrict" +}, +"driveMimeTypeRestrict": { +"$ref": "DriveMimeTypeRestrict", +"description": "Drive Types." +}, +"driveTimeSpanRestrict": { +"$ref": "DriveTimeSpanRestrict" +}, +"searchOperator": { +"description": "The search restrict (e.g. \"after:2017-09-11 before:2017-09-12\").", +"type": "string" +} +}, +"type": "object" +}, +"ResultCounts": { +"description": "Result count information", +"id": "ResultCounts", +"properties": { +"sourceResultCounts": { +"description": "Result count information for each source with results.", +"items": { +"$ref": "SourceResultCount" +}, +"type": "array" +} +}, +"type": "object" +}, +"ResultDebugInfo": { +"description": "Debugging information about the result.", +"id": "ResultDebugInfo", +"properties": { +"formattedDebugInfo": { +"description": "General debug info formatted for display.", +"type": "string" +} +}, +"type": "object" +}, +"ResultDisplayField": { +"description": "Display Fields for Search Results", +"id": "ResultDisplayField", +"properties": { +"label": { +"description": "The display label for the property.", +"type": "string" +}, +"operatorName": { +"description": "The operator name of the property.", +"type": "string" +}, +"property": { +"$ref": "NamedProperty", +"description": "The name value pair for the property." +} +}, +"type": "object" +}, +"ResultDisplayLine": { +"description": "The collection of fields that make up a displayed line", +"id": "ResultDisplayLine", +"properties": { +"fields": { +"items": { +"$ref": "ResultDisplayField" +}, +"type": "array" +} +}, +"type": "object" +}, +"ResultDisplayMetadata": { +"id": "ResultDisplayMetadata", +"properties": { +"metalines": { +"description": "The metalines content to be displayed with the result.", +"items": { +"$ref": "ResultDisplayLine" +}, +"type": "array" +}, +"objectTypeLabel": { +"description": "The display label for the object.", +"type": "string" +} +}, +"type": "object" +}, +"RetrievalImportance": { +"id": "RetrievalImportance", +"properties": { +"importance": { +"description": "Indicates the ranking importance given to property when it is matched during retrieval. Once set, the token importance of a property cannot be changed.", +"enum": [ +"DEFAULT", +"HIGHEST", +"HIGH", +"LOW", +"NONE" +], +"enumDescriptions": [ +"Treat the match like a body text match.", +"Treat the match like a match against title of the item.", +"Treat the match with higher importance than body text.", +"Treat the match with lower importance than body text.", +"Do not match against this field during retrieval. The property can still be used for operator matching, faceting, and suggest if desired." +], +"type": "string" +} +}, +"type": "object" +}, +"SafeHtmlProto": { +"description": "IMPORTANT: It is unsafe to accept this message from an untrusted source, since it's trivial for an attacker to forge serialized messages that don't fulfill the type's safety contract -- for example, it could contain attacker controlled script. A system which receives a SafeHtmlProto implicitly trusts the producer of the SafeHtmlProto. So, it's generally safe to return this message in RPC responses, but generally unsafe to accept it in RPC requests.", +"id": "SafeHtmlProto", +"properties": { +"privateDoNotAccessOrElseSafeHtmlWrappedValue": { +"description": "IMPORTANT: Never set or read this field, even from tests, it is private. See documentation at the top of .proto file for programming language packages with which to create or read this message.", +"type": "string" +} +}, +"type": "object" +}, +"SafeUrlProto": { +"description": "Message containing a string that is safe to use in URL contexts in DOM APIs and HTML documents, where the URL context does not refer to a resource that loads code.", +"id": "SafeUrlProto", +"properties": { +"privateDoNotAccessOrElseSafeUrlWrappedValue": { +"description": "IMPORTANT: Never set or read this field, even from tests, it is private. See documentation at the top of .proto file for programming language packages with which to create or read this message.", +"type": "string" +} +}, +"type": "object" +}, +"Schema": { +"description": "The schema definition for a data source.", +"id": "Schema", +"properties": { +"objectDefinitions": { +"description": "The list of top-level objects for the data source. The maximum number of elements is 10.", +"items": { +"$ref": "ObjectDefinition" +}, +"type": "array" +}, +"operationIds": { +"description": "IDs of the Long Running Operations (LROs) currently running for this schema. After modifying the schema, wait for operations to complete before indexing additional content.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ScoringConfig": { +"description": "Scoring configurations for a source while processing a Search or Suggest request.", +"id": "ScoringConfig", +"properties": { +"disableFreshness": { +"description": "Whether to use freshness as a ranking signal. By default, freshness is used as a ranking signal. Note that this setting is not available in the Admin UI.", +"type": "boolean" +}, +"disablePersonalization": { +"description": "Whether to personalize the results. By default, personal signals will be used to boost results.", +"type": "boolean" +} +}, +"type": "object" +}, +"SearchApplication": { +"description": "SearchApplication", +"id": "SearchApplication", +"properties": { +"dataSourceRestrictions": { +"description": "Retrictions applied to the configurations. The maximum number of elements is 10.", +"items": { +"$ref": "DataSourceRestriction" +}, +"type": "array" +}, +"defaultFacetOptions": { +"description": "The default fields for returning facet results. The sources specified here also have been included in data_source_restrictions above.", +"items": { +"$ref": "FacetOptions" +}, +"type": "array" +}, +"defaultSortOptions": { +"$ref": "SortOptions", +"description": "The default options for sorting the search results" +}, +"displayName": { +"description": "Display name of the Search Application. The maximum length is 300 characters.", +"type": "string" +}, +"enableAuditLog": { +"description": "Indicates whether audit logging is on/off for requests made for the search application in query APIs.", +"type": "boolean" +}, +"name": { +"description": "The name of the Search Application. Format: searchapplications/{application_id}.", +"type": "string" +}, +"operationIds": { +"description": "Output only. IDs of the Long Running Operations (LROs) currently running for this schema. Output only field.", +"items": { +"type": "string" +}, +"readOnly": true, +"type": "array" +}, +"queryInterpretationConfig": { +"$ref": "QueryInterpretationConfig", +"description": "The default options for query interpretation" +}, +"returnResultThumbnailUrls": { +"description": "With each result we should return the URI for its thumbnail (when applicable)", +"type": "boolean" +}, +"scoringConfig": { +"$ref": "ScoringConfig", +"description": "Configuration for ranking results." +}, +"sourceConfig": { +"description": "Configuration for a sources specified in data_source_restrictions.", +"items": { +"$ref": "SourceConfig" +}, +"type": "array" +} +}, +"type": "object" +}, +"SearchApplicationQueryStats": { +"description": "Search application level query stats per date", +"id": "SearchApplicationQueryStats", +"properties": { +"date": { +"$ref": "Date", +"description": "The date for which query stats were calculated. Stats calculated on the next day close to midnight are returned." +}, +"queryCountByStatus": { +"items": { +"$ref": "QueryCountByStatus" +}, +"type": "array" +} +}, +"type": "object" +}, +"SearchApplicationSessionStats": { +"id": "SearchApplicationSessionStats", +"properties": { +"date": { +"$ref": "Date", +"description": "The date for which session stats were calculated. Stats are calculated on the following day, close to midnight PST, and then returned." +}, +"searchSessionsCount": { +"description": "The count of search sessions on the day", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"SearchApplicationUserStats": { +"id": "SearchApplicationUserStats", +"properties": { +"date": { +"$ref": "Date", +"description": "The date for which session stats were calculated. Stats calculated on the next day close to midnight are returned." +}, +"oneDayActiveUsersCount": { +"description": "The count of unique active users in the past one day", +"format": "int64", +"type": "string" +}, +"sevenDaysActiveUsersCount": { +"description": "The count of unique active users in the past seven days", +"format": "int64", +"type": "string" +}, +"thirtyDaysActiveUsersCount": { +"description": "The count of unique active users in the past thirty days", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"SearchItemsByViewUrlRequest": { +"id": "SearchItemsByViewUrlRequest", +"properties": { +"debugOptions": { +"$ref": "DebugOptions", +"description": "Common debug options." +}, +"pageToken": { +"description": "The next_page_token value returned from a previous request, if any.", +"type": "string" +}, +"viewUrl": { +"description": "Specify the full view URL to find the corresponding item. The maximum length is 2048 characters.", +"type": "string" +} +}, +"type": "object" +}, +"SearchItemsByViewUrlResponse": { +"id": "SearchItemsByViewUrlResponse", +"properties": { +"items": { +"items": { +"$ref": "Item" +}, +"type": "array" +}, +"nextPageToken": { +"description": "Token to retrieve the next page of results, or empty if there are no more results in the list.", +"type": "string" +} +}, +"type": "object" +}, +"SearchQualityMetadata": { +"description": "Additional search quality metadata of the item.", +"id": "SearchQualityMetadata", +"properties": { +"quality": { +"description": "An indication of the quality of the item, used to influence search quality. Value should be between 0.0 (lowest quality) and 1.0 (highest quality). The default value is 0.0.", +"format": "double", +"type": "number" +} +}, +"type": "object" +}, +"SearchRequest": { +"description": "The search API request. NEXT ID: 24", +"id": "SearchRequest", +"properties": { +"contextAttributes": { +"description": "Context attributes for the request which will be used to adjust ranking of search results. The maximum number of elements is 10.", +"items": { +"$ref": "ContextAttribute" +}, +"type": "array" +}, +"dataSourceRestrictions": { +"description": "The sources to use for querying. If not specified, all data sources from the current search application are used.", +"items": { +"$ref": "DataSourceRestriction" +}, +"type": "array" +}, +"facetOptions": { +"items": { +"$ref": "FacetOptions" +}, +"type": "array" +}, +"pageSize": { +"description": "Maximum number of search results to return in one page. Valid values are between 1 and 100, inclusive. Default value is 10. Minimum value is 50 when results beyond 2000 are requested.", +"format": "int32", +"type": "integer" +}, +"query": { +"description": "The raw query string. See supported search operators in the [Narrow your search with operators](https://support.google.com/cloudsearch/answer/6172299)", +"type": "string" +}, +"queryInterpretationOptions": { +"$ref": "QueryInterpretationOptions", +"description": "Options to interpret the user query." +}, +"requestOptions": { +"$ref": "RequestOptions", +"description": "Request options, such as the search application and user timezone." +}, +"sortOptions": { +"$ref": "SortOptions", +"description": "The options for sorting the search results" +}, +"start": { +"description": "Starting index of the results.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"SearchResponse": { +"description": "The search API response. NEXT ID: 19", +"id": "SearchResponse", +"properties": { +"debugInfo": { +"$ref": "ResponseDebugInfo", +"description": "Debugging information about the response." +}, +"errorInfo": { +"$ref": "ErrorInfo", +"description": "Error information about the response." +}, +"facetResults": { +"description": "Repeated facet results.", +"items": { +"$ref": "FacetResult" +}, +"type": "array" +}, +"hasMoreResults": { +"description": "Whether there are more search results matching the query.", +"type": "boolean" +}, +"queryInterpretation": { +"$ref": "QueryInterpretation", +"description": "Query interpretation result for user query. Empty if query interpretation is disabled." +}, +"resultCountEstimate": { +"description": "The estimated result count for this query.", +"format": "int64", +"type": "string" +}, +"resultCountExact": { +"description": "The exact result count for this query.", +"format": "int64", +"type": "string" +}, +"resultCounts": { +"$ref": "ResultCounts", +"description": "Expanded result count information." +}, +"results": { +"description": "Results from a search query.", +"items": { +"$ref": "SearchResult" +}, +"type": "array" +}, +"spellResults": { +"description": "Suggested spelling for the query.", +"items": { +"$ref": "SpellResult" +}, +"type": "array" +}, +"structuredResults": { +"description": "Structured results for the user query. These results are not counted against the page_size.", +"items": { +"$ref": "StructuredResult" +}, +"type": "array" +} +}, +"type": "object" +}, +"SearchResult": { +"description": "Results containing indexed information for a document. Next ID: 16", +"id": "SearchResult", +"properties": { +"clusteredResults": { +"description": "If source is clustered, provide list of clustered results. There will only be one level of clustered results. If current source is not enabled for clustering, this field will be empty.", +"items": { +"$ref": "SearchResult" +}, +"type": "array" +}, +"debugInfo": { +"$ref": "ResultDebugInfo", +"description": "Debugging information about this search result." +}, +"metadata": { +"$ref": "Metadata", +"description": "Metadata of the search result." +}, +"snippet": { +"$ref": "Snippet", +"description": "The concatenation of all snippets (summaries) available for this result." +}, +"title": { +"description": "Title of the search result.", +"type": "string" +}, +"url": { +"description": "The URL of the search result. The URL contains a Google redirect to the actual item. This URL is signed and shouldn't be changed.", +"type": "string" +} +}, +"type": "object" +}, +"Snippet": { +"description": "Snippet of the search result, which summarizes the content of the resulting page.", +"id": "Snippet", +"properties": { +"matchRanges": { +"description": "The matched ranges in the snippet.", +"items": { +"$ref": "MatchRange" +}, +"type": "array" +}, +"snippet": { +"description": "The snippet of the document. May contain escaped HTML character that should be unescaped prior to rendering.", +"type": "string" +} +}, +"type": "object" +}, +"SortOptions": { +"id": "SortOptions", +"properties": { +"operatorName": { +"description": "The name of the operator corresponding to the field to sort on. The corresponding property must be marked as sortable.", +"type": "string" +}, +"sortOrder": { +"description": "Ascending is the default sort order", +"enum": [ +"ASCENDING", +"DESCENDING" +], +"enumDescriptions": [ +"", +"" +], +"type": "string" +} +}, +"type": "object" +}, +"Source": { +"description": "Defines sources for the suggest/search APIs.", +"id": "Source", +"properties": { +"name": { +"description": "Source name for content indexed by the Indexing API.", +"type": "string" +}, +"predefinedSource": { +"description": "Predefined content source for Google Apps.", +"enum": [ +"NONE", +"QUERY_HISTORY", +"PERSON", +"GOOGLE_DRIVE", +"GOOGLE_GMAIL", +"GOOGLE_SITES", +"GOOGLE_GROUPS", +"GOOGLE_CALENDAR", +"GOOGLE_KEEP" +], +"enumDescriptions": [ +"", +"Suggests queries issued by the user in the past. Only valid when used with the suggest API. Ignored when used in the query API.", +"Suggests people in the organization. Only valid when used with the suggest API. Results in an error when used in the query API.", +"", +"", +"", +"", +"", +"" +], +"type": "string" +} +}, +"type": "object" +}, +"SourceConfig": { +"description": "Configurations for a source while processing a Search or Suggest request.", +"id": "SourceConfig", +"properties": { +"crowdingConfig": { +"$ref": "SourceCrowdingConfig", +"description": "The crowding configuration for the source." +}, +"scoringConfig": { +"$ref": "SourceScoringConfig", +"description": "The scoring configuration for the source." +}, +"source": { +"$ref": "Source", +"description": "The source for which this configuration is to be used." +} +}, +"type": "object" +}, +"SourceCrowdingConfig": { +"description": "Set search results crowding limits. Crowding is a situation in which multiple results from the same source or host \"crowd out\" other results, diminishing the quality of search for users. To foster better search quality and source diversity in search results, you can set a condition to reduce repetitive results by source.", +"id": "SourceCrowdingConfig", +"properties": { +"numResults": { +"description": "Maximum number of results allowed from a datasource in a result page as long as results from other sources are not exhausted. Value specified must not be negative. A default value is used if this value is equal to 0. To disable crowding, set the value greater than 100.", +"format": "int32", +"type": "integer" +}, +"numSuggestions": { +"description": "Maximum number of suggestions allowed from a source. No limits will be set on results if this value is less than or equal to 0.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"SourceResultCount": { +"description": "Per source result count information.", +"id": "SourceResultCount", +"properties": { +"hasMoreResults": { +"description": "Whether there are more search results for this source.", +"type": "boolean" +}, +"resultCountEstimate": { +"description": "The estimated result count for this source.", +"format": "int64", +"type": "string" +}, +"resultCountExact": { +"description": "The exact result count for this source.", +"format": "int64", +"type": "string" +}, +"source": { +"$ref": "Source", +"description": "The source the result count information is associated with." +} +}, +"type": "object" +}, +"SourceScoringConfig": { +"description": "Set the scoring configuration. This allows modifying the ranking of results for a source.", +"id": "SourceScoringConfig", +"properties": { +"sourceImportance": { +"description": "Importance of the source.", +"enum": [ +"DEFAULT", +"LOW", +"HIGH" +], +"enumDescriptions": [ +"", +"", +"" +], +"type": "string" +} +}, +"type": "object" +}, +"SpellResult": { +"id": "SpellResult", +"properties": { +"suggestedQuery": { +"description": "The suggested spelling of the query.", +"type": "string" +}, +"suggestedQueryHtml": { +"$ref": "SafeHtmlProto", +"description": "The sanitized HTML representing the spell corrected query that can be used in the UI. This usually has language-specific tags to mark up parts of the query that are spell checked." +}, +"suggestionType": { +"description": "Suggestion triggered for the current query.", +"enum": [ +"SUGGESTION_TYPE_UNSPECIFIED", +"NON_EMPTY_RESULTS_SPELL_SUGGESTION", +"ZERO_RESULTS_FULL_PAGE_REPLACEMENT" +], +"enumDescriptions": [ +"Default spell check type", +"Spell suggestion without any results changed. The results are still shown for the original query (which has non zero / results) with a suggestion for spelling that would have results.", +"Spell suggestion triggered when original query has no results. When the original query has no results, and spell suggestion has results we trigger results for the spell corrected query." +], +"type": "string" +} +}, +"type": "object" +}, +"StartUploadItemRequest": { +"description": "Start upload file request.", +"id": "StartUploadItemRequest", +"properties": { +"connectorName": { +"description": "The name of connector making this call. Format: datasources/{source_id}/connectors/{ID}", +"type": "string" +}, +"debugOptions": { +"$ref": "DebugOptions", +"description": "Common debug options." +} +}, +"type": "object" +}, +"Status": { +"description": "The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors).", +"id": "Status", +"properties": { +"code": { +"description": "The status code, which should be an enum value of google.rpc.Code.", +"format": "int32", +"type": "integer" +}, +"details": { +"description": "A list of messages that carry the error details. There is a common set of message types for APIs to use.", +"items": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.", +"type": "string" +} +}, +"type": "object" +}, +"StructuredDataObject": { +"description": "A structured data object consisting of named properties.", +"id": "StructuredDataObject", +"properties": { +"properties": { +"description": "The properties for the object. The maximum number of elements is 1000.", +"items": { +"$ref": "NamedProperty" +}, +"type": "array" +} +}, +"type": "object" +}, +"StructuredResult": { +"description": "Structured results that are returned as part of search request.", +"id": "StructuredResult", +"properties": { +"person": { +"$ref": "Person", +"description": "Representation of a person" +} +}, +"type": "object" +}, +"SuggestRequest": { +"description": "Request of suggest API.", +"id": "SuggestRequest", +"properties": { +"dataSourceRestrictions": { +"description": "The sources to use for suggestions. If not specified, the data sources are taken from the current search application. NOTE: Suggestions are only supported for the following sources: * Third-party data sources * PredefinedSource.PERSON * PredefinedSource.GOOGLE_DRIVE", +"items": { +"$ref": "DataSourceRestriction" +}, +"type": "array" +}, +"query": { +"description": "Partial query for which autocomplete suggestions will be shown. For example, if the query is \"sea\", then the server might return \"season\", \"search\", \"seagull\" and so on.", +"type": "string" +}, +"requestOptions": { +"$ref": "RequestOptions", +"description": "Request options, such as the search application and user timezone." +} +}, +"type": "object" +}, +"SuggestResponse": { +"description": "Response of the suggest API.", +"id": "SuggestResponse", +"properties": { +"suggestResults": { +"description": "List of suggestions.", +"items": { +"$ref": "SuggestResult" +}, +"type": "array" +} +}, +"type": "object" +}, +"SuggestResult": { +"description": "One suggestion result.", +"id": "SuggestResult", +"properties": { +"peopleSuggestion": { +"$ref": "PeopleSuggestion", +"description": "This is present when the suggestion indicates a person. It contains more information about the person - like their email ID, name etc." +}, +"querySuggestion": { +"$ref": "QuerySuggestion", +"description": "This field will be present if the suggested query is a word/phrase completion." +}, +"source": { +"$ref": "Source", +"description": "The source of the suggestion." +}, +"suggestedQuery": { +"description": "The suggested query that will be used for search, when the user clicks on the suggestion", +"type": "string" +} +}, +"type": "object" +}, +"TextOperatorOptions": { +"description": "Used to provide a search operator for text properties. This is optional. Search operators let users restrict the query to specific fields relevant to the type of item being searched.", +"id": "TextOperatorOptions", +"properties": { +"exactMatchWithOperator": { +"description": "If true, the text value is tokenized as one atomic value in operator searches and facet matches. For example, if the operator name is \"genre\" and the value is \"science-fiction\" the query restrictions \"genre:science\" and \"genre:fiction\" doesn't match the item; \"genre:science-fiction\" does. Text value matching is case-sensitive and does not remove special characters. If false, the text is tokenized. For example, if the value is \"science-fiction\" the queries \"genre:science\" and \"genre:fiction\" matches the item.", +"type": "boolean" +}, +"operatorName": { +"description": "Indicates the operator name required in the query in order to isolate the text property. For example, if operatorName is *subject* and the property's name is *subjectLine*, then queries like *subject:* show results only where the value of the property named *subjectLine* matches **. By contrast, a search that uses the same ** without an operator returns all items where ** matches the value of any text properties or text within the content field for the item. The operator name can only contain lowercase letters (a-z). The maximum length is 32 characters.", +"type": "string" +} +}, +"type": "object" +}, +"TextPropertyOptions": { +"description": "The options for text properties.", +"id": "TextPropertyOptions", +"properties": { +"operatorOptions": { +"$ref": "TextOperatorOptions", +"description": "If set, describes how the property should be used as a search operator." +}, +"retrievalImportance": { +"$ref": "RetrievalImportance", +"description": "Indicates the search quality importance of the tokens within the field when used for retrieval." +} +}, +"type": "object" +}, +"TextValues": { +"description": "List of text values.", +"id": "TextValues", +"properties": { +"values": { +"description": "The maximum allowable length for text values is 2048 characters.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ThirdPartyGenericCard": { +"id": "ThirdPartyGenericCard", +"properties": { +"cardId": { +"description": "Unique identifier for the card.", +"type": "string" +}, +"category": { +"description": "Category that the card belongs to.", +"type": "string" +}, +"content": { +"$ref": "Content", +"description": "[Required] Card content." +}, +"context": { +"$ref": "Context", +"description": "[Required] Context where the card should be triggered." +}, +"isDismissible": { +"description": "Whether the card can be dismissed.", +"type": "boolean" +}, +"priority": { +"description": "Priority of the card, where 0 is the highest priority.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"TimestampOperatorOptions": { +"description": "Used to provide a search operator for timestamp properties. This is optional. Search operators let users restrict the query to specific fields relevant to the type of item being searched.", +"id": "TimestampOperatorOptions", +"properties": { +"greaterThanOperatorName": { +"description": "Indicates the operator name required in the query in order to isolate the timestamp property using the greater-than operator. For example, if greaterThanOperatorName is *closedafter* and the property's name is *closeDate*, then queries like *closedafter:* show results only where the value of the property named *closeDate* is later than **. The operator name can only contain lowercase letters (a-z). The maximum length is 32 characters.", +"type": "string" +}, +"lessThanOperatorName": { +"description": "Indicates the operator name required in the query in order to isolate the timestamp property using the less-than operator. For example, if lessThanOperatorName is *closedbefore* and the property's name is *closeDate*, then queries like *closedbefore:* show results only where the value of the property named *closeDate* is earlier than **. The operator name can only contain lowercase letters (a-z). The maximum length is 32 characters.", +"type": "string" +}, +"operatorName": { +"description": "Indicates the operator name required in the query in order to isolate the timestamp property. For example, if operatorName is *closedon* and the property's name is *closeDate*, then queries like *closedon:* show results only where the value of the property named *closeDate* matches **. By contrast, a search that uses the same ** without an operator returns all items where ** matches the value of any String properties or text within the content field for the item. The operator name can only contain lowercase letters (a-z). The maximum length is 32 characters.", +"type": "string" +} +}, +"type": "object" +}, +"TimestampPropertyOptions": { +"description": "The options for timestamp properties.", +"id": "TimestampPropertyOptions", +"properties": { +"operatorOptions": { +"$ref": "TimestampOperatorOptions", +"description": "If set, describes how the timestamp should be used as a search operator." +} +}, +"type": "object" +}, +"TimestampValues": { +"description": "List of timestamp values.", +"id": "TimestampValues", +"properties": { +"values": { +"items": { +"format": "google-datetime", +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"UnmappedIdentity": { +"id": "UnmappedIdentity", +"properties": { +"externalIdentity": { +"$ref": "Principal", +"description": "The resource name for an external user." +}, +"resolutionStatusCode": { +"description": "The resolution status for the external identity.", +"enum": [ +"CODE_UNSPECIFIED", +"NOT_FOUND", +"IDENTITY_SOURCE_NOT_FOUND", +"IDENTITY_SOURCE_MISCONFIGURED", +"TOO_MANY_MAPPINGS_FOUND", +"INTERNAL_ERROR" +], +"enumDescriptions": [ +"Input-only value. Used to list all unmapped identities regardless of status.", +"The unmapped identity was not found in IDaaS, and needs to be provided by the user.", +"The identity source associated with the identity was either not found or deleted.", +"IDaaS does not understand the identity source, probably because the schema was modified in a non compatible way.", +"The number of users associated with the external identity is too large.", +"Internal error." +], +"type": "string" +} +}, +"type": "object" +}, +"UnreserveItemsRequest": { +"id": "UnreserveItemsRequest", +"properties": { +"connectorName": { +"description": "The name of connector making this call. Format: datasources/{source_id}/connectors/{ID}", +"type": "string" +}, +"debugOptions": { +"$ref": "DebugOptions", +"description": "Common debug options." +}, +"queue": { +"description": "The name of a queue to unreserve items from.", +"type": "string" +} +}, +"type": "object" +}, +"UpdateDataSourceRequest": { +"id": "UpdateDataSourceRequest", +"properties": { +"debugOptions": { +"$ref": "DebugOptions", +"description": "Common debug options." +}, +"source": { +"$ref": "DataSource" +}, +"updateMask": { +"description": "Only applies to [`settings.datasources.patch`](https://developers.google.com/workspace/cloud-search/docs/reference/rest/v1/settings.datasources/patch). Update mask to control which fields to update. Example field paths: `name`, `displayName`. * If `update_mask` is non-empty, then only the fields specified in the `update_mask` are updated. * If you specify a field in the `update_mask`, but don't specify its value in the source, that field is cleared. * If the `update_mask` is not present or empty or has the value `*`, then all fields are updated.", +"format": "google-fieldmask", +"type": "string" +} +}, +"type": "object" +}, +"UpdateSchemaRequest": { +"id": "UpdateSchemaRequest", +"properties": { +"debugOptions": { +"$ref": "DebugOptions", +"description": "Common debug options." +}, +"schema": { +"$ref": "Schema", +"description": "The new schema for the source." +}, +"validateOnly": { +"description": "If true, the schema will be checked for validity, but will not be registered with the data source, even if valid.", +"type": "boolean" +} +}, +"type": "object" +}, +"UploadItemRef": { +"description": "Represents an upload session reference. This reference is created via upload method. This reference is valid for 30 days after its creation. Updating of item content may refer to this uploaded content via contentDataRef.", +"id": "UploadItemRef", +"properties": { +"name": { +"description": "The name of the content reference. The maximum length is 2048 characters.", +"type": "string" +} +}, +"type": "object" +}, +"UserActivity": { +"description": "User's single or bulk query activity. This can be a logging query or deletion query.", +"id": "UserActivity", +"properties": { +"queryActivity": { +"$ref": "QueryActivity", +"description": "Contains data which needs to be logged/removed." +} +}, +"type": "object" +}, +"VPCSettings": { +"id": "VPCSettings", +"properties": { +"project": { +"description": "The resource name of the GCP Project to be used for VPC SC policy check. VPC security settings on this project will be honored for Cloud Search APIs after project_name has been updated through CustomerService. Format: projects/{project_id}", +"type": "string" +} +}, +"type": "object" +}, +"Value": { +"description": "Definition of a single value with generic type.", +"id": "Value", +"properties": { +"booleanValue": { +"type": "boolean" +}, +"dateValue": { +"$ref": "Date" +}, +"doubleValue": { +"format": "double", +"type": "number" +}, +"integerValue": { +"format": "int64", +"type": "string" +}, +"stringValue": { +"type": "string" +}, +"timestampValue": { +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"ValueFilter": { +"id": "ValueFilter", +"properties": { +"operatorName": { +"description": "The `operator_name` applied to the query, such as *price_greater_than*. The filter can work against both types of filters defined in the schema for your data source: 1. `operator_name`, where the query filters results by the property that matches the value. 2. `greater_than_operator_name` or `less_than_operator_name` in your schema. The query filters the results for the property values that are greater than or less than the supplied value in the query.", +"type": "string" +}, +"value": { +"$ref": "Value", +"description": "The value to be compared with." +} +}, +"type": "object" +} +}, +"servicePath": "", +"title": "Cloud Search API", +"version": "v1", +"version_module": true +} \ No newline at end of file diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/cloudsupport.v2beta.json b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/cloudsupport.v2beta.json new file mode 100644 index 0000000000000000000000000000000000000000..d5a81ed8e6dc48cf9ee95e10dd94dd909666be86 --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/cloudsupport.v2beta.json @@ -0,0 +1,1639 @@ +{ +"auth": { +"oauth2": { +"scopes": { +"https://www.googleapis.com/auth/cloud-platform": { +"description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." +} +} +} +}, +"basePath": "", +"baseUrl": "https://cloudsupport.googleapis.com/", +"batchPath": "batch", +"canonicalName": "Cloud Support", +"description": "Manages Google Cloud technical support cases for Customer Care support offerings. ", +"discoveryVersion": "v1", +"documentationLink": "https://cloud.google.com/support/docs/apis", +"fullyEncodeReservedExpansion": true, +"icons": { +"x16": "http://www.google.com/images/icons/product/search-16.gif", +"x32": "http://www.google.com/images/icons/product/search-32.gif" +}, +"id": "cloudsupport:v2beta", +"kind": "discovery#restDescription", +"mtlsRootUrl": "https://cloudsupport.mtls.googleapis.com/", +"name": "cloudsupport", +"ownerDomain": "google.com", +"ownerName": "Google", +"parameters": { +"$.xgafv": { +"description": "V1 error format.", +"enum": [ +"1", +"2" +], +"enumDescriptions": [ +"v1 error format", +"v2 error format" +], +"location": "query", +"type": "string" +}, +"access_token": { +"description": "OAuth access token.", +"location": "query", +"type": "string" +}, +"alt": { +"default": "json", +"description": "Data format for response.", +"enum": [ +"json", +"media", +"proto" +], +"enumDescriptions": [ +"Responses with Content-Type of application/json", +"Media download with context-dependent Content-Type", +"Responses with Content-Type of application/x-protobuf" +], +"location": "query", +"type": "string" +}, +"callback": { +"description": "JSONP", +"location": "query", +"type": "string" +}, +"fields": { +"description": "Selector specifying which fields to include in a partial response.", +"location": "query", +"type": "string" +}, +"key": { +"description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", +"location": "query", +"type": "string" +}, +"oauth_token": { +"description": "OAuth 2.0 token for the current user.", +"location": "query", +"type": "string" +}, +"prettyPrint": { +"default": "true", +"description": "Returns response with indentations and line breaks.", +"location": "query", +"type": "boolean" +}, +"quotaUser": { +"description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.", +"location": "query", +"type": "string" +}, +"uploadType": { +"description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", +"location": "query", +"type": "string" +}, +"upload_protocol": { +"description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", +"location": "query", +"type": "string" +} +}, +"protocol": "rest", +"resources": { +"caseClassifications": { +"methods": { +"search": { +"description": "Retrieve valid classifications to use when creating a support case. Classifications are hierarchical. Each classification is a string containing all levels of the hierarchy separated by `\" > \"`. For example, `\"Technical Issue > Compute > Compute Engine\"`. Classification IDs returned by this endpoint are valid for at least six months. When a classification is deactivated, this endpoint immediately stops returning it. After six months, `case.create` requests using the classification will fail. EXAMPLES: cURL: ```shell curl \\ --header \"Authorization: Bearer $(gcloud auth print-access-token)\" \\ 'https://cloudsupport.googleapis.com/v2/caseClassifications:search?query=display_name:\"*Compute%20Engine*\"' ``` Python: ```python import googleapiclient.discovery supportApiService = googleapiclient.discovery.build( serviceName=\"cloudsupport\", version=\"v2\", discoveryServiceUrl=f\"https://cloudsupport.googleapis.com/$discovery/rest?version=v2\", ) request = supportApiService.caseClassifications().search( query='display_name:\"*Compute Engine*\"' ) print(request.execute()) ```", +"flatPath": "v2beta/caseClassifications:search", +"httpMethod": "GET", +"id": "cloudsupport.caseClassifications.search", +"parameterOrder": [], +"parameters": { +"pageSize": { +"description": "The maximum number of classifications fetched with each request.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A token identifying the page of results to return. If unspecified, the first page is retrieved.", +"location": "query", +"type": "string" +}, +"product.productLine": { +"description": "The product line of the Product.", +"enum": [ +"PRODUCT_LINE_UNSPECIFIED", +"GOOGLE_CLOUD", +"GOOGLE_MAPS" +], +"enumDescriptions": [ +"Unknown product type.", +"Google Cloud", +"Google Maps" +], +"location": "query", +"type": "string" +}, +"query": { +"description": "An expression used to filter case classifications. If it's an empty string, then no filtering happens. Otherwise, case classifications will be returned that match the filter.", +"location": "query", +"type": "string" +} +}, +"path": "v2beta/caseClassifications:search", +"response": { +"$ref": "SearchCaseClassificationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"cases": { +"methods": { +"close": { +"description": "Close a case. EXAMPLES: cURL: ```shell case=\"projects/some-project/cases/43595344\" curl \\ --request POST \\ --header \"Authorization: Bearer $(gcloud auth print-access-token)\" \\ \"https://cloudsupport.googleapis.com/v2/$case:close\" ``` Python: ```python import googleapiclient.discovery api_version = \"v2\" supportApiService = googleapiclient.discovery.build( serviceName=\"cloudsupport\", version=api_version, discoveryServiceUrl=f\"https://cloudsupport.googleapis.com/$discovery/rest?version={api_version}\", ) request = supportApiService.cases().close( name=\"projects/some-project/cases/43595344\" ) print(request.execute()) ```", +"flatPath": "v2beta/{v2betaId}/{v2betaId1}/cases/{casesId}:close", +"httpMethod": "POST", +"id": "cloudsupport.cases.close", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the case to close.", +"location": "path", +"pattern": "^[^/]+/[^/]+/cases/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2beta/{+name}:close", +"request": { +"$ref": "CloseCaseRequest" +}, +"response": { +"$ref": "Case" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"create": { +"description": "Create a new case and associate it with a parent. It must have the following fields set: `display_name`, `description`, `classification`, and `priority`. If you're just testing the API and don't want to route your case to an agent, set `testCase=true`. EXAMPLES: cURL: ```shell parent=\"projects/some-project\" curl \\ --request POST \\ --header \"Authorization: Bearer $(gcloud auth print-access-token)\" \\ --header 'Content-Type: application/json' \\ --data '{ \"display_name\": \"Test case created by me.\", \"description\": \"a random test case, feel free to close\", \"classification\": { \"id\": \"100IK2AKCLHMGRJ9CDGMOCGP8DM6UTB4BT262T31BT1M2T31DHNMENPO6KS36CPJ786L2TBFEHGN6NPI64R3CDHN8880G08I1H3MURR7DHII0GRCDTQM8\" }, \"time_zone\": \"-07:00\", \"subscriber_email_addresses\": [ \"foo@domain.com\", \"bar@domain.com\" ], \"testCase\": true, \"priority\": \"P3\" }' \\ \"https://cloudsupport.googleapis.com/v2/$parent/cases\" ``` Python: ```python import googleapiclient.discovery api_version = \"v2\" supportApiService = googleapiclient.discovery.build( serviceName=\"cloudsupport\", version=api_version, discoveryServiceUrl=f\"https://cloudsupport.googleapis.com/$discovery/rest?version={api_version}\", ) request = supportApiService.cases().create( parent=\"projects/some-project\", body={ \"displayName\": \"A Test Case\", \"description\": \"This is a test case.\", \"testCase\": True, \"priority\": \"P2\", \"classification\": { \"id\": \"100IK2AKCLHMGRJ9CDGMOCGP8DM6UTB4BT262T31BT1M2T31DHNMENPO6KS36CPJ786L2TBFEHGN6NPI64R3CDHN8880G08I1H3MURR7DHII0GRCDTQM8\" }, }, ) print(request.execute()) ```", +"flatPath": "v2beta/{v2betaId}/{v2betaId1}/cases", +"httpMethod": "POST", +"id": "cloudsupport.cases.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The name of the parent under which the case should be created.", +"location": "path", +"pattern": "^[^/]+/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2beta/{+parent}/cases", +"request": { +"$ref": "Case" +}, +"response": { +"$ref": "Case" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"escalate": { +"description": "Escalate a case, starting the Google Cloud Support escalation management process. This operation is only available for some support services. Go to https://cloud.google.com/support and look for 'Technical support escalations' in the feature list to find out which ones let you do that. EXAMPLES: cURL: ```shell case=\"projects/some-project/cases/43595344\" curl \\ --request POST \\ --header \"Authorization: Bearer $(gcloud auth print-access-token)\" \\ --header \"Content-Type: application/json\" \\ --data '{ \"escalation\": { \"reason\": \"BUSINESS_IMPACT\", \"justification\": \"This is a test escalation.\" } }' \\ \"https://cloudsupport.googleapis.com/v2/$case:escalate\" ``` Python: ```python import googleapiclient.discovery api_version = \"v2\" supportApiService = googleapiclient.discovery.build( serviceName=\"cloudsupport\", version=api_version, discoveryServiceUrl=f\"https://cloudsupport.googleapis.com/$discovery/rest?version={api_version}\", ) request = supportApiService.cases().escalate( name=\"projects/some-project/cases/43595344\", body={ \"escalation\": { \"reason\": \"BUSINESS_IMPACT\", \"justification\": \"This is a test escalation.\", }, }, ) print(request.execute()) ```", +"flatPath": "v2beta/{v2betaId}/{v2betaId1}/cases/{casesId}:escalate", +"httpMethod": "POST", +"id": "cloudsupport.cases.escalate", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the case to be escalated.", +"location": "path", +"pattern": "^[^/]+/[^/]+/cases/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2beta/{+name}:escalate", +"request": { +"$ref": "EscalateCaseRequest" +}, +"response": { +"$ref": "Case" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Retrieve a case. EXAMPLES: cURL: ```shell case=\"projects/some-project/cases/16033687\" curl \\ --header \"Authorization: Bearer $(gcloud auth print-access-token)\" \\ \"https://cloudsupport.googleapis.com/v2/$case\" ``` Python: ```python import googleapiclient.discovery api_version = \"v2\" supportApiService = googleapiclient.discovery.build( serviceName=\"cloudsupport\", version=api_version, discoveryServiceUrl=f\"https://cloudsupport.googleapis.com/$discovery/rest?version={api_version}\", ) request = supportApiService.cases().get( name=\"projects/some-project/cases/43595344\", ) print(request.execute()) ```", +"flatPath": "v2beta/{v2betaId}/{v2betaId1}/cases/{casesId}", +"httpMethod": "GET", +"id": "cloudsupport.cases.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The full name of a case to be retrieved.", +"location": "path", +"pattern": "^[^/]+/[^/]+/cases/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2beta/{+name}", +"response": { +"$ref": "Case" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Retrieve all cases under a parent, but not its children. For example, listing cases under an organization only returns the cases that are directly parented by that organization. To retrieve cases under an organization and its projects, use `cases.search`. EXAMPLES: cURL: ```shell parent=\"projects/some-project\" curl \\ --header \"Authorization: Bearer $(gcloud auth print-access-token)\" \\ \"https://cloudsupport.googleapis.com/v2/$parent/cases\" ``` Python: ```python import googleapiclient.discovery api_version = \"v2\" supportApiService = googleapiclient.discovery.build( serviceName=\"cloudsupport\", version=api_version, discoveryServiceUrl=f\"https://cloudsupport.googleapis.com/$discovery/rest?version={api_version}\", ) request = supportApiService.cases().list(parent=\"projects/some-project\") print(request.execute()) ```", +"flatPath": "v2beta/{v2betaId}/{v2betaId1}/cases", +"httpMethod": "GET", +"id": "cloudsupport.cases.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "An expression used to filter cases. If it's an empty string, then no filtering happens. Otherwise, the endpoint returns the cases that match the filter. Expressions use the following fields separated by `AND` and specified with `=`: - `state`: Can be `OPEN` or `CLOSED`. - `priority`: Can be `P0`, `P1`, `P2`, `P3`, or `P4`. You can specify multiple values for priority using the `OR` operator. For example, `priority=P1 OR priority=P2`. - `creator.email`: The email address of the case creator. EXAMPLES: - `state=CLOSED` - `state=OPEN AND creator.email=\"tester@example.com\"` - `state=OPEN AND (priority=P0 OR priority=P1)`", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "The maximum number of cases fetched with each request. Defaults to 10.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A token identifying the page of results to return. If unspecified, the first page is retrieved.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The name of a parent to list cases under.", +"location": "path", +"pattern": "^[^/]+/[^/]+$", +"required": true, +"type": "string" +}, +"productLine": { +"description": "The product line to request cases for. If unspecified, only Google Cloud cases will be returned.", +"enum": [ +"PRODUCT_LINE_UNSPECIFIED", +"GOOGLE_CLOUD", +"GOOGLE_MAPS" +], +"enumDescriptions": [ +"Unknown product type.", +"Google Cloud", +"Google Maps" +], +"location": "query", +"type": "string" +} +}, +"path": "v2beta/{+parent}/cases", +"response": { +"$ref": "ListCasesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Update a case. Only some fields can be updated. EXAMPLES: cURL: ```shell case=\"projects/some-project/cases/43595344\" curl \\ --request PATCH \\ --header \"Authorization: Bearer $(gcloud auth print-access-token)\" \\ --header \"Content-Type: application/json\" \\ --data '{ \"priority\": \"P1\" }' \\ \"https://cloudsupport.googleapis.com/v2/$case?updateMask=priority\" ``` Python: ```python import googleapiclient.discovery api_version = \"v2\" supportApiService = googleapiclient.discovery.build( serviceName=\"cloudsupport\", version=api_version, discoveryServiceUrl=f\"https://cloudsupport.googleapis.com/$discovery/rest?version={api_version}\", ) request = supportApiService.cases().patch( name=\"projects/some-project/cases/43112854\", body={ \"displayName\": \"This is Now a New Title\", \"priority\": \"P2\", }, ) print(request.execute()) ```", +"flatPath": "v2beta/{v2betaId}/{v2betaId1}/cases/{casesId}", +"httpMethod": "PATCH", +"id": "cloudsupport.cases.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Identifier. The resource name for the case.", +"location": "path", +"pattern": "^[^/]+/[^/]+/cases/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "A list of attributes of the case that should be updated. Supported values are `priority`, `display_name`, and `subscriber_email_addresses`. If no fields are specified, all supported fields are updated. Be careful - if you do not provide a field mask, then you might accidentally clear some fields. For example, if you leave the field mask empty and do not provide a value for `subscriber_email_addresses`, then `subscriber_email_addresses` is updated to empty.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v2beta/{+name}", +"request": { +"$ref": "Case" +}, +"response": { +"$ref": "Case" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"search": { +"description": "Search for cases using a query. EXAMPLES: cURL: ```shell parent=\"projects/some-project\" curl \\ --header \"Authorization: Bearer $(gcloud auth print-access-token)\" \\ \"https://cloudsupport.googleapis.com/v2/$parent/cases:search\" ``` Python: ```python import googleapiclient.discovery api_version = \"v2\" supportApiService = googleapiclient.discovery.build( serviceName=\"cloudsupport\", version=api_version, discoveryServiceUrl=f\"https://cloudsupport.googleapis.com/$discovery/rest?version={api_version}\", ) request = supportApiService.cases().search( parent=\"projects/some-project\", query=\"state=OPEN\" ) print(request.execute()) ```", +"flatPath": "v2beta/cases:search", +"httpMethod": "GET", +"id": "cloudsupport.cases.search", +"parameterOrder": [], +"parameters": { +"pageSize": { +"description": "The maximum number of cases fetched with each request. The default page size is 10.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A token identifying the page of results to return. If unspecified, the first page is retrieved.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "The name of the parent resource to search for cases under.", +"location": "query", +"type": "string" +}, +"query": { +"description": "An expression used to filter cases. Expressions use the following fields separated by `AND` and specified with `=`: - `organization`: An organization name in the form `organizations/`. - `project`: A project name in the form `projects/`. - `state`: Can be `OPEN` or `CLOSED`. - `priority`: Can be `P0`, `P1`, `P2`, `P3`, or `P4`. You can specify multiple values for priority using the `OR` operator. For example, `priority=P1 OR priority=P2`. - `creator.email`: The email address of the case creator. You must specify either `organization` or `project`. To search across `displayName`, `description`, and comments, use a global restriction with no keyword or operator. For example, `\"my search\"`. To search only cases updated after a certain date, use `update_time` restricted with that particular date, time, and timezone in ISO datetime format. For example, `update_time>\"2020-01-01T00:00:00-05:00\"`. `update_time` only supports the greater than operator (`>`). Examples: - `organization=\"organizations/123456789\"` - `project=\"projects/my-project-id\"` - `project=\"projects/123456789\"` - `organization=\"organizations/123456789\" AND state=CLOSED` - `project=\"projects/my-project-id\" AND creator.email=\"tester@example.com\"` - `project=\"projects/my-project-id\" AND (priority=P0 OR priority=P1)`", +"location": "query", +"type": "string" +} +}, +"path": "v2beta/cases:search", +"response": { +"$ref": "SearchCasesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"showFeed": { +"description": "Show items in the feed of this case, including case emails, attachments, and comments.", +"flatPath": "v2beta/{v2betaId}/{v2betaId1}/cases/{casesId}:showFeed", +"httpMethod": "GET", +"id": "cloudsupport.cases.showFeed", +"parameterOrder": [ +"parent" +], +"parameters": { +"orderBy": { +"description": "Optional. Field to order feed items by, followed by `asc` or `desc` postfix. The only valid field is `creation_time`. This list is case-insensitive, default sorting order is ascending, and the redundant space characters are insignificant. Example: `creation_time desc`", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Optional. The maximum number of feed items fetched with each request.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. A token identifying the page of results to return. If unspecified, it retrieves the first page.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The resource name of the case for which feed items should be listed.", +"location": "path", +"pattern": "^[^/]+/[^/]+/cases/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2beta/{+parent}:showFeed", +"response": { +"$ref": "ShowFeedResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"attachments": { +"methods": { +"get": { +"description": "Retrieve an attachment associated with a support case. EXAMPLES: cURL: ```shell attachment=\"projects/some-project/cases/23598314/attachments/0684M00000P3h1fQAB\" curl \\ --header \"Authorization: Bearer $(gcloud auth print-access-token)\" \\ \"https://cloudsupport.googleapis.com/v2/$attachment\" ``` Python: ```python import googleapiclient.discovery api_version = \"v2beta\" supportApiService = googleapiclient.discovery.build( serviceName=\"cloudsupport\", version=api_version, discoveryServiceUrl=f\"https://cloudsupport.googleapis.com/$discovery/rest?version={api_version}\", ) request = ( supportApiService.cases() .attachments() .get(name=\"projects/some-project/cases/43595344/attachments/0684M00000P3h1fQAB\") ) print(request.execute()) ```", +"flatPath": "v2beta/{v2betaId}/{v2betaId1}/cases/{casesId}/attachments/{attachmentsId}", +"httpMethod": "GET", +"id": "cloudsupport.cases.attachments.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the attachment to get.", +"location": "path", +"pattern": "^[^/]+/[^/]+/cases/[^/]+/attachments/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2beta/{+name}", +"response": { +"$ref": "Attachment" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "List all the attachments associated with a support case. EXAMPLES: cURL: ```shell case=\"projects/some-project/cases/23598314\" curl \\ --header \"Authorization: Bearer $(gcloud auth print-access-token)\" \\ \"https://cloudsupport.googleapis.com/v2/$case/attachments\" ``` Python: ```python import googleapiclient.discovery api_version = \"v2\" supportApiService = googleapiclient.discovery.build( serviceName=\"cloudsupport\", version=api_version, discoveryServiceUrl=f\"https://cloudsupport.googleapis.com/$discovery/rest?version={api_version}\", ) request = ( supportApiService.cases() .attachments() .list(parent=\"projects/some-project/cases/43595344\") ) print(request.execute()) ```", +"flatPath": "v2beta/{v2betaId}/{v2betaId1}/cases/{casesId}/attachments", +"httpMethod": "GET", +"id": "cloudsupport.cases.attachments.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "The maximum number of attachments fetched with each request. If not provided, the default is 10. The maximum page size that will be returned is 100. The size of each page can be smaller than the requested page size and can include zero. For example, you could request 100 attachments on one page, receive 0, and then on the next page, receive 90.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A token identifying the page of results to return. If unspecified, the first page is retrieved.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The name of the case for which attachments should be listed.", +"location": "path", +"pattern": "^[^/]+/[^/]+/cases/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2beta/{+parent}/attachments", +"response": { +"$ref": "ListAttachmentsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"comments": { +"methods": { +"create": { +"description": "Add a new comment to a case. The comment must have the following fields set: `body`. EXAMPLES: cURL: ```shell case=\"projects/some-project/cases/43591344\" curl \\ --request POST \\ --header \"Authorization: Bearer $(gcloud auth print-access-token)\" \\ --header 'Content-Type: application/json' \\ --data '{ \"body\": \"This is a test comment.\" }' \\ \"https://cloudsupport.googleapis.com/v2/$case/comments\" ``` Python: ```python import googleapiclient.discovery api_version = \"v2\" supportApiService = googleapiclient.discovery.build( serviceName=\"cloudsupport\", version=api_version, discoveryServiceUrl=f\"https://cloudsupport.googleapis.com/$discovery/rest?version={api_version}\", ) request = ( supportApiService.cases() .comments() .create( parent=\"projects/some-project/cases/43595344\", body={\"body\": \"This is a test comment.\"}, ) ) print(request.execute()) ```", +"flatPath": "v2beta/{v2betaId}/{v2betaId1}/cases/{casesId}/comments", +"httpMethod": "POST", +"id": "cloudsupport.cases.comments.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The name of the case to which the comment should be added.", +"location": "path", +"pattern": "^[^/]+/[^/]+/cases/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2beta/{+parent}/comments", +"request": { +"$ref": "Comment" +}, +"response": { +"$ref": "Comment" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Retrieve a comment. EXAMPLES: cURL: ```shell comment=\"projects/some-project/cases/43595344/comments/234567890\" curl \\ --header \"Authorization: Bearer $(gcloud auth print-access-token)\" \\ \"https://cloudsupport.googleapis.com/v2/$comment\" ``` Python: ```python import googleapiclient.discovery api_version = \"v2beta\" supportApiService = googleapiclient.discovery.build( serviceName=\"cloudsupport\", version=api_version, discoveryServiceUrl=f\"https://cloudsupport.googleapis.com/$discovery/rest?version={api_version}\", ) request = supportApiService.cases().comments().get( name=\"projects/some-project/cases/43595344/comments/234567890\", ) print(request.execute()) ```", +"flatPath": "v2beta/{v2betaId}/{v2betaId1}/cases/{casesId}/comments/{commentsId}", +"httpMethod": "GET", +"id": "cloudsupport.cases.comments.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the comment to retrieve.", +"location": "path", +"pattern": "^[^/]+/[^/]+/cases/[^/]+/comments/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2beta/{+name}", +"response": { +"$ref": "Comment" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "List all the comments associated with a case. EXAMPLES: cURL: ```shell case=\"projects/some-project/cases/43595344\" curl \\ --header \"Authorization: Bearer $(gcloud auth print-access-token)\" \\ \"https://cloudsupport.googleapis.com/v2/$case/comments\" ``` Python: ```python import googleapiclient.discovery api_version = \"v2\" supportApiService = googleapiclient.discovery.build( serviceName=\"cloudsupport\", version=api_version, discoveryServiceUrl=f\"https://cloudsupport.googleapis.com/$discovery/rest?version={api_version}\", ) request = ( supportApiService.cases() .comments() .list(parent=\"projects/some-project/cases/43595344\") ) print(request.execute()) ```", +"flatPath": "v2beta/{v2betaId}/{v2betaId1}/cases/{casesId}/comments", +"httpMethod": "GET", +"id": "cloudsupport.cases.comments.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "The maximum number of comments to fetch. Defaults to 10.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A token identifying the page of results to return. If unspecified, the first page is returned.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The name of the case for which to list comments.", +"location": "path", +"pattern": "^[^/]+/[^/]+/cases/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2beta/{+parent}/comments", +"response": { +"$ref": "ListCommentsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +}, +"media": { +"methods": { +"download": { +"description": "Download a file attached to a case. When this endpoint is called, no \"response body\" will be returned. Instead, the attachment's blob will be returned. Note: HTTP requests must append \"?alt=media\" to the URL. EXAMPLES: cURL: ```shell name=\"projects/some-project/cases/43594844/attachments/0674M00000WijAnZAJ\" curl \\ --header \"Authorization: Bearer $(gcloud auth print-access-token)\" \\ \"https://cloudsupport.googleapis.com/v2/$name:download?alt=media\" ``` Python: ```python import googleapiclient.discovery api_version = \"v2\" supportApiService = googleapiclient.discovery.build( serviceName=\"cloudsupport\", version=api_version, discoveryServiceUrl=f\"https://cloudsupport.googleapis.com/$discovery/rest?version={api_version}\", ) request = supportApiService.media().download( name=\"projects/some-project/cases/43595344/attachments/0684M00000Pw6pHQAR\" ) request.uri = request.uri.split(\"?\")[0] + \"?alt=media\" print(request.execute()) ```", +"flatPath": "v2beta/{v2betaId}/{v2betaId1}/cases/{casesId}/attachments/{attachmentsId}:download", +"httpMethod": "GET", +"id": "cloudsupport.media.download", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the file attachment to download.", +"location": "path", +"pattern": "^[^/]+/[^/]+/cases/[^/]+/attachments/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2beta/{+name}:download", +"response": { +"$ref": "Media" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +], +"supportsMediaDownload": true, +"useMediaDownloadService": true +}, +"upload": { +"description": "Create a file attachment on a case or Cloud resource. The attachment must have the following fields set: `filename`. EXAMPLES: cURL: ```shell echo \"This text is in a file I'm uploading using CSAPI.\" \\ > \"./example_file.txt\" case=\"projects/some-project/cases/43594844\" curl \\ --header \"Authorization: Bearer $(gcloud auth print-access-token)\" \\ --data-binary @\"./example_file.txt\" \\ \"https://cloudsupport.googleapis.com/upload/v2beta/$case/attachments?attachment.filename=uploaded_via_curl.txt\" ``` Python: ```python import googleapiclient.discovery api_version = \"v2\" supportApiService = googleapiclient.discovery.build( serviceName=\"cloudsupport\", version=api_version, discoveryServiceUrl=f\"https://cloudsupport.googleapis.com/$discovery/rest?version={api_version}\", ) file_path = \"./example_file.txt\" with open(file_path, \"w\") as file: file.write( \"This text is inside a file I'm going to upload using the Cloud Support API.\", ) request = supportApiService.media().upload( parent=\"projects/some-project/cases/43595344\", media_body=file_path ) request.uri = request.uri.split(\"?\")[0] + \"?attachment.filename=uploaded_via_python.txt\" print(request.execute()) ```", +"flatPath": "v2beta/{v2betaId}/{v2betaId1}/cases/{casesId}/attachments", +"httpMethod": "POST", +"id": "cloudsupport.media.upload", +"mediaUpload": { +"accept": [ +"*/*" +], +"protocols": { +"simple": { +"multipart": true, +"path": "/upload/v2beta/{+parent}/attachments" +} +} +}, +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The name of the case or Cloud resource to which the attachment should be attached.", +"location": "path", +"pattern": "^[^/]+/[^/]+/cases/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2beta/{+parent}/attachments", +"request": { +"$ref": "CreateAttachmentRequest" +}, +"response": { +"$ref": "Attachment" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +], +"supportsMediaUpload": true +} +} +} +}, +"revision": "20260113", +"rootUrl": "https://cloudsupport.googleapis.com/", +"schemas": { +"Actor": { +"description": "An Actor represents an entity that performed an action. For example, an actor could be a user who posted a comment on a support case, a user who uploaded an attachment, or a service account that created a support case.", +"id": "Actor", +"properties": { +"displayName": { +"description": "The name to display for the actor. If not provided, it is inferred from credentials supplied during case creation. When an email is provided, a display name must also be provided. This will be obfuscated if the user is a Google Support agent.", +"type": "string" +}, +"email": { +"deprecated": true, +"description": "The email address of the actor. If not provided, it is inferred from the credentials supplied during case creation. When a name is provided, an email must also be provided. If the user is a Google Support agent, this is obfuscated. This field is deprecated. Use `username` instead.", +"type": "string" +}, +"googleSupport": { +"description": "Output only. Whether the actor is a Google support actor.", +"readOnly": true, +"type": "boolean" +}, +"username": { +"description": "Output only. The username of the actor. It may look like an email or other format provided by the identity provider. If not provided, it is inferred from the credentials supplied. When a name is provided, a username must also be provided. If the user is a Google Support agent, this will not be set.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"Attachment": { +"description": "An Attachment contains metadata about a file that was uploaded to a case - it is NOT a file itself. That being said, the name of an Attachment object can be used to download its accompanying file through the `media.download` endpoint. While attachments can be uploaded in the console at the same time as a comment, they're associated on a \"case\" level, not a \"comment\" level.", +"id": "Attachment", +"properties": { +"createTime": { +"description": "Output only. The time at which the attachment was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"creator": { +"$ref": "Actor", +"description": "Output only. The user who uploaded the attachment. Note, the name and email will be obfuscated if the attachment was uploaded by Google support.", +"readOnly": true +}, +"filename": { +"description": "The filename of the attachment (e.g. `\"graph.jpg\"`).", +"type": "string" +}, +"mimeType": { +"description": "Output only. The MIME type of the attachment (e.g. text/plain).", +"readOnly": true, +"type": "string" +}, +"name": { +"description": "Output only. Identifier. The resource name of the attachment.", +"readOnly": true, +"type": "string" +}, +"sizeBytes": { +"description": "Output only. The size of the attachment in bytes.", +"format": "int64", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"Blobstore2Info": { +"description": "# gdata.* are outside protos with mising documentation", +"id": "Blobstore2Info", +"properties": { +"blobGeneration": { +"description": "# gdata.* are outside protos with mising documentation", +"format": "int64", +"type": "string" +}, +"blobId": { +"description": "# gdata.* are outside protos with mising documentation", +"type": "string" +}, +"downloadExternalReadToken": { +"description": "# gdata.* are outside protos with mising documentation", +"format": "byte", +"type": "string" +}, +"downloadReadHandle": { +"description": "# gdata.* are outside protos with mising documentation", +"format": "byte", +"type": "string" +}, +"readToken": { +"description": "# gdata.* are outside protos with mising documentation", +"type": "string" +}, +"uploadFragmentListCreationInfo": { +"description": "# gdata.* are outside protos with mising documentation", +"format": "byte", +"type": "string" +}, +"uploadMetadataContainer": { +"description": "# gdata.* are outside protos with mising documentation", +"format": "byte", +"type": "string" +} +}, +"type": "object" +}, +"Case": { +"description": "A Case is an object that contains the details of a support case. It contains fields for the time it was created, its priority, its classification, and more. Cases can also have comments and attachments that get added over time. A case is parented by a Google Cloud organization or project. Organizations are identified by a number, so the name of a case parented by an organization would look like this: ``` organizations/123/cases/456 ``` Projects have two unique identifiers, an ID and a number, and they look like this: ``` projects/abc/cases/456 ``` ``` projects/123/cases/456 ``` You can use either of them when calling the API. To learn more about project identifiers, see [AIP-2510](https://google.aip.dev/cloud/2510).", +"id": "Case", +"properties": { +"classification": { +"$ref": "CaseClassification", +"description": "The issue classification applicable to this case." +}, +"contactEmail": { +"description": "A user-supplied email address to send case update notifications for. This should only be used in BYOID flows, where we cannot infer the user's email address directly from their EUCs.", +"type": "string" +}, +"createTime": { +"description": "Output only. The time this case was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"creator": { +"$ref": "Actor", +"description": "The user who created the case. Note: The name and email will be obfuscated if the case was created by Google Support." +}, +"description": { +"description": "A broad description of the issue.", +"type": "string" +}, +"displayName": { +"description": "The short summary of the issue reported in this case.", +"type": "string" +}, +"escalated": { +"description": "Whether the case is currently escalated.", +"type": "boolean" +}, +"languageCode": { +"description": "The language the user has requested to receive support in. This should be a BCP 47 language code (e.g., `\"en\"`, `\"zh-CN\"`, `\"zh-TW\"`, `\"ja\"`, `\"ko\"`). If no language or an unsupported language is specified, this field defaults to English (en). Language selection during case creation may affect your available support options. For a list of supported languages and their support working hours, see: https://cloud.google.com/support/docs/language-working-hours", +"type": "string" +}, +"name": { +"description": "Identifier. The resource name for the case.", +"type": "string" +}, +"priority": { +"description": "The priority of this case.", +"enum": [ +"PRIORITY_UNSPECIFIED", +"P0", +"P1", +"P2", +"P3", +"P4" +], +"enumDescriptions": [ +"Priority is undefined or has not been set yet.", +"Extreme impact on a production service. Service is hard down.", +"Critical impact on a production service. Service is currently unusable.", +"Severe impact on a production service. Service is usable but greatly impaired.", +"Medium impact on a production service. Service is available, but moderately impaired.", +"General questions or minor issues. Production service is fully available." +], +"type": "string" +}, +"severity": { +"description": "REMOVED. The severity of this case. Use priority instead.", +"enum": [ +"SEVERITY_UNSPECIFIED", +"S0", +"S1", +"S2", +"S3", +"S4" +], +"enumDescriptions": [ +"Severity is undefined or has not been set yet.", +"Extreme impact on a production service. Service is hard down.", +"Critical impact on a production service. Service is currently unusable.", +"Severe impact on a production service. Service is usable but greatly impaired.", +"Medium impact on a production service. Service is available, but moderately impaired.", +"General questions or minor issues. Production service is fully available." +], +"type": "string" +}, +"state": { +"description": "Output only. The current status of the support case.", +"enum": [ +"STATE_UNSPECIFIED", +"NEW", +"IN_PROGRESS_GOOGLE_SUPPORT", +"ACTION_REQUIRED", +"SOLUTION_PROVIDED", +"CLOSED" +], +"enumDescriptions": [ +"Case is in an unknown state.", +"The case has been created but no one is assigned to work on it yet.", +"The case is currently being handled by Google support.", +"Google is waiting for a response.", +"A solution has been offered for the case, but it isn't yet closed.", +"The case has been resolved." +], +"readOnly": true, +"type": "string" +}, +"subscriberEmailAddresses": { +"description": "The email addresses to receive updates on this case.", +"items": { +"type": "string" +}, +"type": "array" +}, +"testCase": { +"description": "Whether this case was created for internal API testing and should not be acted on by the support team.", +"type": "boolean" +}, +"timeZone": { +"description": "The timezone of the user who created the support case. It should be in a format IANA recognizes: https://www.iana.org/time-zones. There is no additional validation done by the API.", +"type": "string" +}, +"updateTime": { +"description": "Output only. The time this case was last updated.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"CaseClassification": { +"description": "A Case Classification represents the topic that a case is about. It's very important to use accurate classifications, because they're used to route your cases to specialists who can help you. A classification always has an ID that is its unique identifier. A valid ID is required when creating a case.", +"id": "CaseClassification", +"properties": { +"displayName": { +"description": "A display name for the classification. The display name is not static and can change. To uniquely and consistently identify classifications, use the `CaseClassification.id` field.", +"type": "string" +}, +"id": { +"description": "The unique ID for a classification. Must be specified for case creation. To retrieve valid classification IDs for case creation, use `caseClassifications.search`. Classification IDs returned by `caseClassifications.search` are guaranteed to be valid for at least 6 months. If a given classification is deactiveated, it will immediately stop being returned. After 6 months, `case.create` requests using the classification ID will fail.", +"type": "string" +}, +"product": { +"$ref": "Product", +"description": "The full product the classification corresponds to." +} +}, +"type": "object" +}, +"CloseCaseRequest": { +"description": "The request message for the CloseCase endpoint.", +"id": "CloseCaseRequest", +"properties": {}, +"type": "object" +}, +"Comment": { +"description": "A comment associated with a support case. Case comments are the primary way for Google Support to communicate with a user who has opened a case. When a user responds to Google Support, the user's responses also appear as comments.", +"id": "Comment", +"properties": { +"body": { +"description": "The full comment body. Maximum of 12800 characters.", +"type": "string" +}, +"createTime": { +"description": "Output only. The time when the comment was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"creator": { +"$ref": "Actor", +"description": "Output only. The user or Google Support agent who created the comment.", +"readOnly": true +}, +"name": { +"description": "Output only. Identifier. The resource name of the comment.", +"readOnly": true, +"type": "string" +}, +"plainTextBody": { +"deprecated": true, +"description": "Output only. DEPRECATED. DO NOT USE. A duplicate of the `body` field. This field is only present for legacy reasons.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"CompositeMedia": { +"description": "# gdata.* are outside protos with mising documentation", +"id": "CompositeMedia", +"properties": { +"blobRef": { +"deprecated": true, +"description": "# gdata.* are outside protos with mising documentation", +"format": "byte", +"type": "string" +}, +"blobstore2Info": { +"$ref": "Blobstore2Info", +"description": "# gdata.* are outside protos with mising documentation" +}, +"cosmoBinaryReference": { +"description": "# gdata.* are outside protos with mising documentation", +"format": "byte", +"type": "string" +}, +"crc32cHash": { +"description": "# gdata.* are outside protos with mising documentation", +"format": "uint32", +"type": "integer" +}, +"inline": { +"description": "# gdata.* are outside protos with mising documentation", +"format": "byte", +"type": "string" +}, +"length": { +"description": "# gdata.* are outside protos with mising documentation", +"format": "int64", +"type": "string" +}, +"md5Hash": { +"description": "# gdata.* are outside protos with mising documentation", +"format": "byte", +"type": "string" +}, +"objectId": { +"$ref": "ObjectId", +"description": "# gdata.* are outside protos with mising documentation" +}, +"path": { +"description": "# gdata.* are outside protos with mising documentation", +"type": "string" +}, +"referenceType": { +"description": "# gdata.* are outside protos with mising documentation", +"enum": [ +"PATH", +"BLOB_REF", +"INLINE", +"BIGSTORE_REF", +"COSMO_BINARY_REFERENCE" +], +"enumDescriptions": [ +"# gdata.* are outside protos with mising documentation", +"# gdata.* are outside protos with mising documentation", +"# gdata.* are outside protos with mising documentation", +"# gdata.* are outside protos with mising documentation", +"# gdata.* are outside protos with mising documentation" +], +"type": "string" +}, +"sha1Hash": { +"description": "# gdata.* are outside protos with mising documentation", +"format": "byte", +"type": "string" +} +}, +"type": "object" +}, +"ContentTypeInfo": { +"description": "# gdata.* are outside protos with mising documentation", +"id": "ContentTypeInfo", +"properties": { +"bestGuess": { +"description": "# gdata.* are outside protos with mising documentation", +"type": "string" +}, +"fromBytes": { +"description": "# gdata.* are outside protos with mising documentation", +"type": "string" +}, +"fromFileName": { +"description": "# gdata.* are outside protos with mising documentation", +"type": "string" +}, +"fromHeader": { +"description": "# gdata.* are outside protos with mising documentation", +"type": "string" +}, +"fromUrlPath": { +"description": "# gdata.* are outside protos with mising documentation", +"type": "string" +} +}, +"type": "object" +}, +"CreateAttachmentRequest": { +"description": "The request message for the CreateAttachment endpoint.", +"id": "CreateAttachmentRequest", +"properties": { +"attachment": { +"$ref": "Attachment", +"description": "Required. The attachment to be created." +} +}, +"type": "object" +}, +"DiffChecksumsResponse": { +"description": "# gdata.* are outside protos with mising documentation", +"id": "DiffChecksumsResponse", +"properties": { +"checksumsLocation": { +"$ref": "CompositeMedia", +"description": "# gdata.* are outside protos with mising documentation" +}, +"chunkSizeBytes": { +"description": "# gdata.* are outside protos with mising documentation", +"format": "int64", +"type": "string" +}, +"objectLocation": { +"$ref": "CompositeMedia", +"description": "# gdata.* are outside protos with mising documentation" +}, +"objectSizeBytes": { +"description": "# gdata.* are outside protos with mising documentation", +"format": "int64", +"type": "string" +}, +"objectVersion": { +"description": "# gdata.* are outside protos with mising documentation", +"type": "string" +} +}, +"type": "object" +}, +"DiffDownloadResponse": { +"description": "# gdata.* are outside protos with mising documentation", +"id": "DiffDownloadResponse", +"properties": { +"objectLocation": { +"$ref": "CompositeMedia", +"description": "# gdata.* are outside protos with mising documentation" +} +}, +"type": "object" +}, +"DiffUploadRequest": { +"description": "# gdata.* are outside protos with mising documentation", +"id": "DiffUploadRequest", +"properties": { +"checksumsInfo": { +"$ref": "CompositeMedia", +"description": "# gdata.* are outside protos with mising documentation" +}, +"objectInfo": { +"$ref": "CompositeMedia", +"description": "# gdata.* are outside protos with mising documentation" +}, +"objectVersion": { +"description": "# gdata.* are outside protos with mising documentation", +"type": "string" +} +}, +"type": "object" +}, +"DiffUploadResponse": { +"description": "# gdata.* are outside protos with mising documentation", +"id": "DiffUploadResponse", +"properties": { +"objectVersion": { +"description": "# gdata.* are outside protos with mising documentation", +"type": "string" +}, +"originalObject": { +"$ref": "CompositeMedia", +"description": "# gdata.* are outside protos with mising documentation" +} +}, +"type": "object" +}, +"DiffVersionResponse": { +"description": "# gdata.* are outside protos with mising documentation", +"id": "DiffVersionResponse", +"properties": { +"objectSizeBytes": { +"description": "# gdata.* are outside protos with mising documentation", +"format": "int64", +"type": "string" +}, +"objectVersion": { +"description": "# gdata.* are outside protos with mising documentation", +"type": "string" +} +}, +"type": "object" +}, +"DownloadParameters": { +"description": "# gdata.* are outside protos with mising documentation", +"id": "DownloadParameters", +"properties": { +"allowGzipCompression": { +"description": "# gdata.* are outside protos with mising documentation", +"type": "boolean" +}, +"ignoreRange": { +"description": "# gdata.* are outside protos with mising documentation", +"type": "boolean" +} +}, +"type": "object" +}, +"EmailMessage": { +"description": "An email associated with a support case.", +"id": "EmailMessage", +"properties": { +"actor": { +"$ref": "Actor", +"description": "Output only. The user or Google Support agent that created this email message. This is inferred from the headers on the email message.", +"readOnly": true +}, +"bodyContent": { +"$ref": "TextContent", +"description": "Output only. The full email message body. A best-effort attempt is made to remove extraneous reply threads.", +"readOnly": true +}, +"ccEmailAddresses": { +"description": "Output only. Email addresses CCed on the email.", +"items": { +"type": "string" +}, +"readOnly": true, +"type": "array" +}, +"createTime": { +"description": "Output only. Time when this email message object was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"name": { +"description": "Identifier. Resource name for the email message.", +"type": "string" +}, +"recipientEmailAddresses": { +"description": "Output only. Email addresses the email was sent to.", +"items": { +"type": "string" +}, +"readOnly": true, +"type": "array" +}, +"subject": { +"description": "Output only. Subject of the email.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"EscalateCaseRequest": { +"description": "The request message for the EscalateCase endpoint.", +"id": "EscalateCaseRequest", +"properties": { +"escalation": { +"$ref": "Escalation", +"description": "The escalation information to be sent with the escalation request." +} +}, +"type": "object" +}, +"Escalation": { +"description": "An escalation of a support case.", +"id": "Escalation", +"properties": { +"justification": { +"description": "Required. A free text description to accompany the `reason` field above. Provides additional context on why the case is being escalated.", +"type": "string" +}, +"reason": { +"description": "Required. The reason why the Case is being escalated.", +"enum": [ +"REASON_UNSPECIFIED", +"RESOLUTION_TIME", +"TECHNICAL_EXPERTISE", +"BUSINESS_IMPACT" +], +"enumDescriptions": [ +"The escalation reason is in an unknown state or has not been specified.", +"The case is taking too long to resolve.", +"The support agent does not have the expertise required to successfully resolve the issue.", +"The issue is having a significant business impact." +], +"type": "string" +} +}, +"type": "object" +}, +"FeedItem": { +"description": "A feed item associated with a support case.", +"id": "FeedItem", +"properties": { +"attachment": { +"$ref": "Attachment", +"description": "Output only. An attachment attached to the case.", +"readOnly": true +}, +"comment": { +"$ref": "Comment", +"description": "Output only. A comment added to the case.", +"readOnly": true +}, +"deletedAttachment": { +"$ref": "Attachment", +"description": "Output only. A deleted attachment that used to be associated with the support case.", +"readOnly": true +}, +"emailMessage": { +"$ref": "EmailMessage", +"description": "Output only. An email message received in reply to the case.", +"readOnly": true +}, +"eventTime": { +"description": "Output only. Time corresponding to the event of this item.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"ListAttachmentsResponse": { +"description": "The response message for the ListAttachments endpoint.", +"id": "ListAttachmentsResponse", +"properties": { +"attachments": { +"description": "The list of attachments associated with a case.", +"items": { +"$ref": "Attachment" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A token to retrieve the next page of results. Set this in the `page_token` field of subsequent `cases.attachments.list` requests. If unspecified, there are no more results to retrieve.", +"type": "string" +} +}, +"type": "object" +}, +"ListCasesResponse": { +"description": "The response message for the ListCases endpoint.", +"id": "ListCasesResponse", +"properties": { +"cases": { +"description": "The list of cases associated with the parent after any filters have been applied.", +"items": { +"$ref": "Case" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A token to retrieve the next page of results. Set this in the `page_token` field of subsequent `cases.list` requests. If unspecified, there are no more results to retrieve.", +"type": "string" +} +}, +"type": "object" +}, +"ListCommentsResponse": { +"description": "The response message for the ListComments endpoint.", +"id": "ListCommentsResponse", +"properties": { +"comments": { +"description": "List of the comments associated with the case.", +"items": { +"$ref": "Comment" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A token to retrieve the next page of results. Set this in the `page_token` field of subsequent `cases.comments.list` requests. If unspecified, there are no more results to retrieve.", +"type": "string" +} +}, +"type": "object" +}, +"Media": { +"description": "# gdata.* are outside protos with mising documentation", +"id": "Media", +"properties": { +"algorithm": { +"deprecated": true, +"description": "# gdata.* are outside protos with mising documentation", +"type": "string" +}, +"bigstoreObjectRef": { +"deprecated": true, +"description": "# gdata.* are outside protos with mising documentation", +"format": "byte", +"type": "string" +}, +"blobRef": { +"deprecated": true, +"description": "# gdata.* are outside protos with mising documentation", +"format": "byte", +"type": "string" +}, +"blobstore2Info": { +"$ref": "Blobstore2Info", +"description": "# gdata.* are outside protos with mising documentation" +}, +"compositeMedia": { +"description": "# gdata.* are outside protos with mising documentation", +"items": { +"$ref": "CompositeMedia" +}, +"type": "array" +}, +"contentType": { +"description": "# gdata.* are outside protos with mising documentation", +"type": "string" +}, +"contentTypeInfo": { +"$ref": "ContentTypeInfo", +"description": "# gdata.* are outside protos with mising documentation" +}, +"cosmoBinaryReference": { +"description": "# gdata.* are outside protos with mising documentation", +"format": "byte", +"type": "string" +}, +"crc32cHash": { +"description": "# gdata.* are outside protos with mising documentation", +"format": "uint32", +"type": "integer" +}, +"diffChecksumsResponse": { +"$ref": "DiffChecksumsResponse", +"description": "# gdata.* are outside protos with mising documentation" +}, +"diffDownloadResponse": { +"$ref": "DiffDownloadResponse", +"description": "# gdata.* are outside protos with mising documentation" +}, +"diffUploadRequest": { +"$ref": "DiffUploadRequest", +"description": "# gdata.* are outside protos with mising documentation" +}, +"diffUploadResponse": { +"$ref": "DiffUploadResponse", +"description": "# gdata.* are outside protos with mising documentation" +}, +"diffVersionResponse": { +"$ref": "DiffVersionResponse", +"description": "# gdata.* are outside protos with mising documentation" +}, +"downloadParameters": { +"$ref": "DownloadParameters", +"description": "# gdata.* are outside protos with mising documentation" +}, +"filename": { +"description": "# gdata.* are outside protos with mising documentation", +"type": "string" +}, +"hash": { +"deprecated": true, +"description": "# gdata.* are outside protos with mising documentation", +"type": "string" +}, +"hashVerified": { +"description": "# gdata.* are outside protos with mising documentation", +"type": "boolean" +}, +"inline": { +"description": "# gdata.* are outside protos with mising documentation", +"format": "byte", +"type": "string" +}, +"isPotentialRetry": { +"description": "# gdata.* are outside protos with mising documentation", +"type": "boolean" +}, +"length": { +"description": "# gdata.* are outside protos with mising documentation", +"format": "int64", +"type": "string" +}, +"md5Hash": { +"description": "# gdata.* are outside protos with mising documentation", +"format": "byte", +"type": "string" +}, +"mediaId": { +"description": "# gdata.* are outside protos with mising documentation", +"format": "byte", +"type": "string" +}, +"objectId": { +"$ref": "ObjectId", +"description": "# gdata.* are outside protos with mising documentation" +}, +"path": { +"description": "# gdata.* are outside protos with mising documentation", +"type": "string" +}, +"referenceType": { +"description": "# gdata.* are outside protos with mising documentation", +"enum": [ +"PATH", +"BLOB_REF", +"INLINE", +"GET_MEDIA", +"COMPOSITE_MEDIA", +"BIGSTORE_REF", +"DIFF_VERSION_RESPONSE", +"DIFF_CHECKSUMS_RESPONSE", +"DIFF_DOWNLOAD_RESPONSE", +"DIFF_UPLOAD_REQUEST", +"DIFF_UPLOAD_RESPONSE", +"COSMO_BINARY_REFERENCE", +"ARBITRARY_BYTES" +], +"enumDescriptions": [ +"# gdata.* are outside protos with mising documentation", +"# gdata.* are outside protos with mising documentation", +"# gdata.* are outside protos with mising documentation", +"# gdata.* are outside protos with mising documentation", +"# gdata.* are outside protos with mising documentation", +"# gdata.* are outside protos with mising documentation", +"# gdata.* are outside protos with mising documentation", +"# gdata.* are outside protos with mising documentation", +"# gdata.* are outside protos with mising documentation", +"# gdata.* are outside protos with mising documentation", +"# gdata.* are outside protos with mising documentation", +"# gdata.* are outside protos with mising documentation", +"# gdata.* are outside protos with mising documentation" +], +"type": "string" +}, +"sha1Hash": { +"description": "# gdata.* are outside protos with mising documentation", +"format": "byte", +"type": "string" +}, +"sha256Hash": { +"description": "# gdata.* are outside protos with mising documentation", +"format": "byte", +"type": "string" +}, +"timestamp": { +"description": "# gdata.* are outside protos with mising documentation", +"format": "uint64", +"type": "string" +}, +"token": { +"description": "# gdata.* are outside protos with mising documentation", +"type": "string" +} +}, +"type": "object" +}, +"ObjectId": { +"description": "# gdata.* are outside protos with mising documentation", +"id": "ObjectId", +"properties": { +"bucketName": { +"description": "# gdata.* are outside protos with mising documentation", +"type": "string" +}, +"generation": { +"description": "# gdata.* are outside protos with mising documentation", +"format": "int64", +"type": "string" +}, +"objectName": { +"description": "# gdata.* are outside protos with mising documentation", +"type": "string" +} +}, +"type": "object" +}, +"Product": { +"description": "The product a case may be associated with.", +"id": "Product", +"properties": { +"productLine": { +"description": "The product line of the Product.", +"enum": [ +"PRODUCT_LINE_UNSPECIFIED", +"GOOGLE_CLOUD", +"GOOGLE_MAPS" +], +"enumDescriptions": [ +"Unknown product type.", +"Google Cloud", +"Google Maps" +], +"type": "string" +} +}, +"type": "object" +}, +"SearchCaseClassificationsResponse": { +"description": "The response message for SearchCaseClassifications endpoint.", +"id": "SearchCaseClassificationsResponse", +"properties": { +"caseClassifications": { +"description": "The classifications retrieved.", +"items": { +"$ref": "CaseClassification" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A token to retrieve the next page of results. Set this in the `page_token` field of subsequent `caseClassifications.list` requests. If unspecified, there are no more results to retrieve.", +"type": "string" +} +}, +"type": "object" +}, +"SearchCasesResponse": { +"description": "The response message for the SearchCases endpoint.", +"id": "SearchCasesResponse", +"properties": { +"cases": { +"description": "The list of cases associated with the parent after any filters have been applied.", +"items": { +"$ref": "Case" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A token to retrieve the next page of results. Set this in the `page_token` field of subsequent `cases.search` requests. If unspecified, there are no more results to retrieve.", +"type": "string" +} +}, +"type": "object" +}, +"ShowFeedResponse": { +"description": "The response message for the ShowFeed endpoint.", +"id": "ShowFeedResponse", +"properties": { +"feedItems": { +"description": "The list of feed items associated with the given Case.", +"items": { +"$ref": "FeedItem" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A token to retrieve the next page of results. This should be set in the `page_token` field of subsequent `ShowFeedRequests`. If unspecified, there are no more results to retrieve.", +"type": "string" +} +}, +"type": "object" +}, +"TextContent": { +"description": "Stores text attached to a support object.", +"id": "TextContent", +"properties": { +"plainText": { +"description": "Content in this field should be rendered and interpreted as-is.", +"type": "string" +} +}, +"type": "object" +} +}, +"servicePath": "", +"title": "Google Cloud Support API", +"version": "v2beta", +"version_module": true +} \ No newline at end of file diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/cloudtrace.v1.json b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/cloudtrace.v1.json new file mode 100644 index 0000000000000000000000000000000000000000..4adc38f46b406fa0f5e22a869d10e564c3e84f51 --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/cloudtrace.v1.json @@ -0,0 +1,380 @@ +{ +"auth": { +"oauth2": { +"scopes": { +"https://www.googleapis.com/auth/cloud-platform": { +"description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." +}, +"https://www.googleapis.com/auth/trace.append": { +"description": "Write Trace data for a project or application" +}, +"https://www.googleapis.com/auth/trace.readonly": { +"description": "Read Trace data for a project or application" +} +} +} +}, +"basePath": "", +"baseUrl": "https://cloudtrace.googleapis.com/", +"batchPath": "batch", +"canonicalName": "Cloud Trace", +"description": "Sends application trace data to Cloud 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 Cloud Trace API directly. If you are looking to instrument your application for Cloud Trace, we recommend using OpenTelemetry. ", +"discoveryVersion": "v1", +"documentationLink": "https://cloud.google.com/trace/", +"fullyEncodeReservedExpansion": true, +"icons": { +"x16": "http://www.google.com/images/icons/product/search-16.gif", +"x32": "http://www.google.com/images/icons/product/search-32.gif" +}, +"id": "cloudtrace:v1", +"kind": "discovery#restDescription", +"mtlsRootUrl": "https://cloudtrace.mtls.googleapis.com/", +"name": "cloudtrace", +"ownerDomain": "google.com", +"ownerName": "Google", +"parameters": { +"$.xgafv": { +"description": "V1 error format.", +"enum": [ +"1", +"2" +], +"enumDescriptions": [ +"v1 error format", +"v2 error format" +], +"location": "query", +"type": "string" +}, +"access_token": { +"description": "OAuth access token.", +"location": "query", +"type": "string" +}, +"alt": { +"default": "json", +"description": "Data format for response.", +"enum": [ +"json", +"media", +"proto" +], +"enumDescriptions": [ +"Responses with Content-Type of application/json", +"Media download with context-dependent Content-Type", +"Responses with Content-Type of application/x-protobuf" +], +"location": "query", +"type": "string" +}, +"callback": { +"description": "JSONP", +"location": "query", +"type": "string" +}, +"fields": { +"description": "Selector specifying which fields to include in a partial response.", +"location": "query", +"type": "string" +}, +"key": { +"description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", +"location": "query", +"type": "string" +}, +"oauth_token": { +"description": "OAuth 2.0 token for the current user.", +"location": "query", +"type": "string" +}, +"prettyPrint": { +"default": "true", +"description": "Returns response with indentations and line breaks.", +"location": "query", +"type": "boolean" +}, +"quotaUser": { +"description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.", +"location": "query", +"type": "string" +}, +"uploadType": { +"description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", +"location": "query", +"type": "string" +}, +"upload_protocol": { +"description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", +"location": "query", +"type": "string" +} +}, +"protocol": "rest", +"resources": { +"projects": { +"methods": { +"patchTraces": { +"description": "Sends trace spans to Cloud Trace. Spans cannot be updated. If the trace ID and span ID already exist, an additional copy of the span will be stored.", +"flatPath": "v1/projects/{projectId}/traces", +"httpMethod": "PATCH", +"id": "cloudtrace.projects.patchTraces", +"parameterOrder": [ +"projectId" +], +"parameters": { +"projectId": { +"description": "Required. ID of the Cloud project where the trace data is stored.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v1/projects/{projectId}/traces", +"request": { +"$ref": "Traces" +}, +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/trace.append" +] +} +}, +"resources": { +"traces": { +"methods": { +"get": { +"description": "Gets a single trace by its ID.", +"flatPath": "v1/projects/{projectId}/traces/{traceId}", +"httpMethod": "GET", +"id": "cloudtrace.projects.traces.get", +"parameterOrder": [ +"projectId", +"traceId" +], +"parameters": { +"projectId": { +"description": "Required. ID of the Cloud project where the trace data is stored.", +"location": "path", +"required": true, +"type": "string" +}, +"traceId": { +"description": "Required. ID of the trace to return.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v1/projects/{projectId}/traces/{traceId}", +"response": { +"$ref": "Trace" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/trace.readonly" +] +}, +"list": { +"description": "Returns a list of traces that match the specified filter conditions.", +"flatPath": "v1/projects/{projectId}/traces", +"httpMethod": "GET", +"id": "cloudtrace.projects.traces.list", +"parameterOrder": [ +"projectId" +], +"parameters": { +"endTime": { +"description": "End of the time interval (inclusive) during which the trace data was collected from the application.", +"format": "google-datetime", +"location": "query", +"type": "string" +}, +"filter": { +"description": "Optional. A filter against properties of the trace. See [filter syntax documentation](https://cloud.google.com/trace/docs/trace-filters) for details.", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "Optional. Field used to sort the returned traces. Can be one of the following: * `trace_id` * `name` (`name` field of root span in the trace) * `duration` (difference between `end_time` and `start_time` fields of the root span) * `start` (`start_time` field of the root span) Descending order can be specified by appending `desc` to the sort field (for example, `name desc`). Only one sort field is permitted.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Optional. Maximum number of traces to return. If not specified or <= 0, the implementation selects a reasonable value. The implementation may return fewer traces than the requested page size.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Token identifying the page of results to return. If provided, use the value of the `next_page_token` field from a previous request.", +"location": "query", +"type": "string" +}, +"projectId": { +"description": "Required. ID of the Cloud project where the trace data is stored.", +"location": "path", +"required": true, +"type": "string" +}, +"startTime": { +"description": "Start of the time interval (inclusive) during which the trace data was collected from the application.", +"format": "google-datetime", +"location": "query", +"type": "string" +}, +"view": { +"description": "Optional. Type of data returned for traces in the list. Default is `MINIMAL`.", +"enum": [ +"VIEW_TYPE_UNSPECIFIED", +"MINIMAL", +"ROOTSPAN", +"COMPLETE" +], +"enumDescriptions": [ +"Default is `MINIMAL` if unspecified.", +"Minimal view of the trace record that contains only the project and trace IDs.", +"Root span view of the trace record that returns the root spans along with the minimal trace data.", +"Complete view of the trace record that contains the actual trace data. This is equivalent to calling the REST `get` or RPC `GetTrace` method using the ID of each listed trace." +], +"location": "query", +"type": "string" +} +}, +"path": "v1/projects/{projectId}/traces", +"response": { +"$ref": "ListTracesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/trace.readonly" +] +} +} +} +} +} +}, +"revision": "20251003", +"rootUrl": "https://cloudtrace.googleapis.com/", +"schemas": { +"Empty": { +"description": "A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }", +"id": "Empty", +"properties": {}, +"type": "object" +}, +"ListTracesResponse": { +"description": "The response message for the `ListTraces` method.", +"id": "ListTracesResponse", +"properties": { +"nextPageToken": { +"description": "If defined, indicates that there are more traces that match the request and that this value should be passed to the next request to continue retrieving additional traces.", +"type": "string" +}, +"traces": { +"description": "List of trace records as specified by the view parameter.", +"items": { +"$ref": "Trace" +}, +"type": "array" +} +}, +"type": "object" +}, +"Trace": { +"description": "A trace describes how long it takes for an application to perform an operation. It consists of a set of spans, each of which represent a single timed event within the operation.", +"id": "Trace", +"properties": { +"projectId": { +"description": "Project ID of the Cloud project where the trace data is stored.", +"type": "string" +}, +"spans": { +"description": "Collection of spans in the trace.", +"items": { +"$ref": "TraceSpan" +}, +"type": "array" +}, +"traceId": { +"description": "Globally unique identifier for the trace. This identifier is a 128-bit numeric value formatted as a 32-byte hex string. For example, `382d4f4c6b7bb2f4a972559d9085001d`. The numeric value should not be zero.", +"type": "string" +} +}, +"type": "object" +}, +"TraceSpan": { +"description": "A span represents a single timed event within a trace. Spans can be nested and form a trace tree. Often, a trace contains a root span that describes the end-to-end latency of an operation and, optionally, one or more subspans for its suboperations. Spans do not need to be contiguous. There may be gaps between spans in a trace.", +"id": "TraceSpan", +"properties": { +"endTime": { +"description": "End time of the span in seconds and nanoseconds from the UNIX epoch.", +"format": "google-datetime", +"type": "string" +}, +"kind": { +"description": "Distinguishes between spans generated in a particular context. For example, two spans with the same name may be distinguished using `RPC_CLIENT` and `RPC_SERVER` to identify queueing latency associated with the span.", +"enum": [ +"SPAN_KIND_UNSPECIFIED", +"RPC_SERVER", +"RPC_CLIENT" +], +"enumDescriptions": [ +"Unspecified.", +"Indicates that the span covers server-side handling of an RPC or other remote network request.", +"Indicates that the span covers the client-side wrapper around an RPC or other remote request." +], +"type": "string" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Collection of labels associated with the span. Label keys must be less than 128 bytes. Label values must be less than 16 KiB. Some keys might have predefined meaning, and you can also create your own. For more information, see [Cloud Trace labels](https://cloud.google.com/trace/docs/trace-labels).", +"type": "object" +}, +"name": { +"description": "Name of the span. Must be less than 128 bytes. The span name is sanitized and displayed in the Trace tool in the Google Cloud Platform Console. The name may be a method name or some other per-call site name. For the same executable and the same call point, a best practice is to use a consistent name, which makes it easier to correlate cross-trace spans.", +"type": "string" +}, +"parentSpanId": { +"description": "Optional. ID of the parent span, if any.", +"format": "uint64", +"type": "string" +}, +"spanId": { +"description": "Identifier for the span. Must be a 64-bit integer other than 0 and unique within a trace. For example, `2205310701640571284`.", +"format": "uint64", +"type": "string" +}, +"startTime": { +"description": "Start time of the span in seconds and nanoseconds from the UNIX epoch.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"Traces": { +"description": "List of new or updated traces.", +"id": "Traces", +"properties": { +"traces": { +"description": "List of traces.", +"items": { +"$ref": "Trace" +}, +"type": "array" +} +}, +"type": "object" +} +}, +"servicePath": "", +"title": "Cloud Trace API", +"version": "v1", +"version_module": true +} \ No newline at end of file diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/composer.v1.json b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/composer.v1.json new file mode 100644 index 0000000000000000000000000000000000000000..b7d5a47bc56e0b4e0b74d5a99a40080facc1b338 --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/composer.v1.json @@ -0,0 +1,2873 @@ +{ +"auth": { +"oauth2": { +"scopes": { +"https://www.googleapis.com/auth/cloud-platform": { +"description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." +}, +"https://www.googleapis.com/auth/cloudcomposer": { +"description": "See, edit, configure, and delete your Google Cloud Composer data and see the email address for your Google Account" +} +} +} +}, +"basePath": "", +"baseUrl": "https://composer.googleapis.com/", +"batchPath": "batch", +"canonicalName": "Cloud Composer", +"description": "Manages Apache Airflow environments on Google Cloud Platform.", +"discoveryVersion": "v1", +"documentationLink": "https://cloud.google.com/composer/", +"endpoints": [ +{ +"description": "Regional Endpoint", +"endpointUrl": "https://composer.africa-south1.rep.googleapis.com/", +"location": "africa-south1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://composer.asia-east1.rep.googleapis.com/", +"location": "asia-east1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://composer.asia-east2.rep.googleapis.com/", +"location": "asia-east2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://composer.asia-northeast1.rep.googleapis.com/", +"location": "asia-northeast1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://composer.asia-northeast2.rep.googleapis.com/", +"location": "asia-northeast2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://composer.asia-northeast3.rep.googleapis.com/", +"location": "asia-northeast3" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://composer.asia-south1.rep.googleapis.com/", +"location": "asia-south1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://composer.asia-south2.rep.googleapis.com/", +"location": "asia-south2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://composer.asia-southeast1.rep.googleapis.com/", +"location": "asia-southeast1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://composer.asia-southeast2.rep.googleapis.com/", +"location": "asia-southeast2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://composer.asia-southeast3.rep.googleapis.com/", +"location": "asia-southeast3" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://composer.australia-southeast1.rep.googleapis.com/", +"location": "australia-southeast1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://composer.australia-southeast2.rep.googleapis.com/", +"location": "australia-southeast2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://composer.europe-central2.rep.googleapis.com/", +"location": "europe-central2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://composer.europe-north1.rep.googleapis.com/", +"location": "europe-north1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://composer.europe-north2.rep.googleapis.com/", +"location": "europe-north2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://composer.europe-southwest1.rep.googleapis.com/", +"location": "europe-southwest1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://composer.europe-west1.rep.googleapis.com/", +"location": "europe-west1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://composer.europe-west10.rep.googleapis.com/", +"location": "europe-west10" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://composer.europe-west12.rep.googleapis.com/", +"location": "europe-west12" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://composer.europe-west15.rep.googleapis.com/", +"location": "europe-west15" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://composer.europe-west2.rep.googleapis.com/", +"location": "europe-west2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://composer.europe-west3.rep.googleapis.com/", +"location": "europe-west3" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://composer.europe-west4.rep.googleapis.com/", +"location": "europe-west4" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://composer.europe-west6.rep.googleapis.com/", +"location": "europe-west6" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://composer.europe-west8.rep.googleapis.com/", +"location": "europe-west8" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://composer.europe-west9.rep.googleapis.com/", +"location": "europe-west9" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://composer.me-central1.rep.googleapis.com/", +"location": "me-central1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://composer.me-central2.rep.googleapis.com/", +"location": "me-central2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://composer.me-west1.rep.googleapis.com/", +"location": "me-west1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://composer.northamerica-northeast1.rep.googleapis.com/", +"location": "northamerica-northeast1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://composer.northamerica-northeast2.rep.googleapis.com/", +"location": "northamerica-northeast2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://composer.northamerica-south1.rep.googleapis.com/", +"location": "northamerica-south1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://composer.southamerica-east1.rep.googleapis.com/", +"location": "southamerica-east1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://composer.southamerica-west1.rep.googleapis.com/", +"location": "southamerica-west1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://composer.us-central1.rep.googleapis.com/", +"location": "us-central1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://composer.us-east1.rep.googleapis.com/", +"location": "us-east1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://composer.us-east4.rep.googleapis.com/", +"location": "us-east4" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://composer.us-east5.rep.googleapis.com/", +"location": "us-east5" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://composer.us-east7.rep.googleapis.com/", +"location": "us-east7" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://composer.us-south1.rep.googleapis.com/", +"location": "us-south1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://composer.us-west1.rep.googleapis.com/", +"location": "us-west1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://composer.us-west2.rep.googleapis.com/", +"location": "us-west2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://composer.us-west3.rep.googleapis.com/", +"location": "us-west3" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://composer.us-west4.rep.googleapis.com/", +"location": "us-west4" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://composer.us-west8.rep.googleapis.com/", +"location": "us-west8" +} +], +"fullyEncodeReservedExpansion": true, +"icons": { +"x16": "http://www.google.com/images/icons/product/search-16.gif", +"x32": "http://www.google.com/images/icons/product/search-32.gif" +}, +"id": "composer:v1", +"kind": "discovery#restDescription", +"mtlsRootUrl": "https://composer.mtls.googleapis.com/", +"name": "composer", +"ownerDomain": "google.com", +"ownerName": "Google", +"parameters": { +"$.xgafv": { +"description": "V1 error format.", +"enum": [ +"1", +"2" +], +"enumDescriptions": [ +"v1 error format", +"v2 error format" +], +"location": "query", +"type": "string" +}, +"access_token": { +"description": "OAuth access token.", +"location": "query", +"type": "string" +}, +"alt": { +"default": "json", +"description": "Data format for response.", +"enum": [ +"json", +"media", +"proto" +], +"enumDescriptions": [ +"Responses with Content-Type of application/json", +"Media download with context-dependent Content-Type", +"Responses with Content-Type of application/x-protobuf" +], +"location": "query", +"type": "string" +}, +"callback": { +"description": "JSONP", +"location": "query", +"type": "string" +}, +"fields": { +"description": "Selector specifying which fields to include in a partial response.", +"location": "query", +"type": "string" +}, +"key": { +"description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", +"location": "query", +"type": "string" +}, +"oauth_token": { +"description": "OAuth 2.0 token for the current user.", +"location": "query", +"type": "string" +}, +"prettyPrint": { +"default": "true", +"description": "Returns response with indentations and line breaks.", +"location": "query", +"type": "boolean" +}, +"quotaUser": { +"description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.", +"location": "query", +"type": "string" +}, +"uploadType": { +"description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", +"location": "query", +"type": "string" +}, +"upload_protocol": { +"description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", +"location": "query", +"type": "string" +} +}, +"protocol": "rest", +"resources": { +"projects": { +"resources": { +"locations": { +"resources": { +"environments": { +"methods": { +"checkUpgrade": { +"description": "Check if an upgrade operation on the environment will succeed. In case of problems detailed info can be found in the returned Operation.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/environments/{environmentsId}:checkUpgrade", +"httpMethod": "POST", +"id": "composer.projects.locations.environments.checkUpgrade", +"parameterOrder": [ +"environment" +], +"parameters": { +"environment": { +"description": "Required. The resource name of the environment to check upgrade for, in the form: \"projects/{projectId}/locations/{locationId}/environments/{environmentId}\"", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/environments/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+environment}:checkUpgrade", +"request": { +"$ref": "CheckUpgradeRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloudcomposer" +] +}, +"create": { +"description": "Create a new environment.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/environments", +"httpMethod": "POST", +"id": "composer.projects.locations.environments.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "The parent must be of the form \"projects/{projectId}/locations/{locationId}\".", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/environments", +"request": { +"$ref": "Environment" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloudcomposer" +] +}, +"databaseFailover": { +"description": "Triggers database failover (only for highly resilient environments).", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/environments/{environmentsId}:databaseFailover", +"httpMethod": "POST", +"id": "composer.projects.locations.environments.databaseFailover", +"parameterOrder": [ +"environment" +], +"parameters": { +"environment": { +"description": "Target environment: \"projects/{projectId}/locations/{locationId}/environments/{environmentId}\"", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/environments/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+environment}:databaseFailover", +"request": { +"$ref": "DatabaseFailoverRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloudcomposer" +] +}, +"delete": { +"description": "Delete an environment.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/environments/{environmentsId}", +"httpMethod": "DELETE", +"id": "composer.projects.locations.environments.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The environment to delete, in the form: \"projects/{projectId}/locations/{locationId}/environments/{environmentId}\"", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/environments/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloudcomposer" +] +}, +"executeAirflowCommand": { +"description": "Executes Airflow CLI command.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/environments/{environmentsId}:executeAirflowCommand", +"httpMethod": "POST", +"id": "composer.projects.locations.environments.executeAirflowCommand", +"parameterOrder": [ +"environment" +], +"parameters": { +"environment": { +"description": "The resource name of the environment in the form: \"projects/{projectId}/locations/{locationId}/environments/{environmentId}\".", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/environments/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+environment}:executeAirflowCommand", +"request": { +"$ref": "ExecuteAirflowCommandRequest" +}, +"response": { +"$ref": "ExecuteAirflowCommandResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloudcomposer" +] +}, +"fetchDatabaseProperties": { +"description": "Fetches database properties.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/environments/{environmentsId}:fetchDatabaseProperties", +"httpMethod": "GET", +"id": "composer.projects.locations.environments.fetchDatabaseProperties", +"parameterOrder": [ +"environment" +], +"parameters": { +"environment": { +"description": "Required. The resource name of the environment, in the form: \"projects/{projectId}/locations/{locationId}/environments/{environmentId}\"", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/environments/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+environment}:fetchDatabaseProperties", +"response": { +"$ref": "FetchDatabasePropertiesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloudcomposer" +] +}, +"get": { +"description": "Get an existing environment.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/environments/{environmentsId}", +"httpMethod": "GET", +"id": "composer.projects.locations.environments.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The resource name of the environment to get, in the form: \"projects/{projectId}/locations/{locationId}/environments/{environmentId}\"", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/environments/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Environment" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloudcomposer" +] +}, +"list": { +"description": "List environments.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/environments", +"httpMethod": "GET", +"id": "composer.projects.locations.environments.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "The maximum number of environments to return.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The next_page_token value returned from a previous List request, if any.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "List environments in the given project and location, in the form: \"projects/{projectId}/locations/{locationId}\"", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/environments", +"response": { +"$ref": "ListEnvironmentsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloudcomposer" +] +}, +"loadSnapshot": { +"description": "Loads a snapshot of a Cloud Composer environment. As a result of this operation, a snapshot of environment's specified in LoadSnapshotRequest is loaded into the environment.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/environments/{environmentsId}:loadSnapshot", +"httpMethod": "POST", +"id": "composer.projects.locations.environments.loadSnapshot", +"parameterOrder": [ +"environment" +], +"parameters": { +"environment": { +"description": "The resource name of the target environment in the form: \"projects/{projectId}/locations/{locationId}/environments/{environmentId}\"", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/environments/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+environment}:loadSnapshot", +"request": { +"$ref": "LoadSnapshotRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloudcomposer" +] +}, +"patch": { +"description": "Update an environment.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/environments/{environmentsId}", +"httpMethod": "PATCH", +"id": "composer.projects.locations.environments.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The relative resource name of the environment to update, in the form: \"projects/{projectId}/locations/{locationId}/environments/{environmentId}\"", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/environments/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Required. A comma-separated list of paths, relative to `Environment`, of fields to update. For example, to set the version of scikit-learn to install in the environment to 0.19.0 and to remove an existing installation of numpy, the `updateMask` parameter would include the following two `paths` values: \"config.softwareConfig.pypiPackages.scikit-learn\" and \"config.softwareConfig.pypiPackages.numpy\". The included patch environment would specify the scikit-learn version as follows: { \"config\":{ \"softwareConfig\":{ \"pypiPackages\":{ \"scikit-learn\":\"==0.19.0\" } } } } Note that in the above example, any existing PyPI packages other than scikit-learn and numpy will be unaffected. Only one update type may be included in a single request's `updateMask`. For example, one cannot update both the PyPI packages and labels in the same request. However, it is possible to update multiple members of a map field simultaneously in the same request. For example, to set the labels \"label1\" and \"label2\" while clearing \"label3\" (assuming it already exists), one can provide the paths \"labels.label1\", \"labels.label2\", and \"labels.label3\" and populate the patch environment as follows: { \"labels\":{ \"label1\":\"new-label1-value\" \"label2\":\"new-label2-value\" } } Note that in the above example, any existing labels that are not included in the `updateMask` will be unaffected. It is also possible to replace an entire map field by providing the map field's path in the `updateMask`. The new value of the field will be that which is provided in the patch environment. For example, to delete all pre-existing user-specified PyPI packages and install botocore at version 1.7.14, the `updateMask` would contain the path \"config.softwareConfig.pypiPackages\", and the patch environment would be the following: { \"config\":{ \"softwareConfig\":{ \"pypiPackages\":{ \"botocore\":\"==1.7.14\" } } } } **Note:** Only the following fields can be updated: * `config.softwareConfig.pypiPackages` * Replace all custom custom PyPI packages. If a replacement package map is not included in `environment`, all custom PyPI packages are cleared. It is an error to provide both this mask and a mask specifying an individual package. * `config.softwareConfig.pypiPackages.`packagename * Update the custom PyPI package *packagename*, preserving other packages. To delete the package, include it in `updateMask`, and omit the mapping for it in `environment.config.softwareConfig.pypiPackages`. It is an error to provide both a mask of this form and the `config.softwareConfig.pypiPackages` mask. * `labels` * Replace all environment labels. If a replacement labels map is not included in `environment`, all labels are cleared. It is an error to provide both this mask and a mask specifying one or more individual labels. * `labels.`labelName * Set the label named *labelName*, while preserving other labels. To delete the label, include it in `updateMask` and omit its mapping in `environment.labels`. It is an error to provide both a mask of this form and the `labels` mask. * `config.nodeCount` * Horizontally scale the number of nodes in the environment. An integer greater than or equal to 3 must be provided in the `config.nodeCount` field. Supported for Cloud Composer environments in versions composer-1.*.*-airflow-*.*.*. * `config.webServerNetworkAccessControl` * Replace the environment's current `WebServerNetworkAccessControl`. * `config.softwareConfig.airflowConfigOverrides` * Replace all Apache Airflow config overrides. If a replacement config overrides map is not included in `environment`, all config overrides are cleared. It is an error to provide both this mask and a mask specifying one or more individual config overrides. * `config.softwareConfig.airflowConfigOverrides.`section-name * Override the Apache Airflow config property *name* in the section named *section*, preserving other properties. To delete the property override, include it in `updateMask` and omit its mapping in `environment.config.softwareConfig.airflowConfigOverrides`. It is an error to provide both a mask of this form and the `config.softwareConfig.airflowConfigOverrides` mask. * `config.softwareConfig.envVariables` * Replace all environment variables. If a replacement environment variable map is not included in `environment`, all custom environment variables are cleared. * `config.softwareConfig.schedulerCount` * Horizontally scale the number of schedulers in Airflow. A positive integer not greater than the number of nodes must be provided in the `config.softwareConfig.schedulerCount` field. Supported for Cloud Composer environments in versions composer-1.*.*-airflow-2.*.*. * `config.databaseConfig.machineType` * Cloud SQL machine type used by Airflow database. It has to be one of: db-n1-standard-2, db-n1-standard-4, db-n1-standard-8 or db-n1-standard-16. Supported for Cloud Composer environments in versions composer-1.*.*-airflow-*.*.*. * `config.webServerConfig.machineType` * Machine type on which Airflow web server is running. It has to be one of: composer-n1-webserver-2, composer-n1-webserver-4 or composer-n1-webserver-8. Supported for Cloud Composer environments in versions composer-1.*.*-airflow-*.*.*.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "Environment" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloudcomposer" +] +}, +"pollAirflowCommand": { +"description": "Polls Airflow CLI command execution and fetches logs.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/environments/{environmentsId}:pollAirflowCommand", +"httpMethod": "POST", +"id": "composer.projects.locations.environments.pollAirflowCommand", +"parameterOrder": [ +"environment" +], +"parameters": { +"environment": { +"description": "The resource name of the environment in the form: \"projects/{projectId}/locations/{locationId}/environments/{environmentId}\"", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/environments/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+environment}:pollAirflowCommand", +"request": { +"$ref": "PollAirflowCommandRequest" +}, +"response": { +"$ref": "PollAirflowCommandResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloudcomposer" +] +}, +"restartWebServer": { +"description": "Restart Airflow web server.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/environments/{environmentsId}:restartWebServer", +"httpMethod": "POST", +"id": "composer.projects.locations.environments.restartWebServer", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the environment to restart the web server for, in the form: \"projects/{projectId}/locations/{locationId}/environments/{environmentId}\"", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/environments/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:restartWebServer", +"request": { +"$ref": "RestartWebServerRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloudcomposer" +] +}, +"saveSnapshot": { +"description": "Creates a snapshots of a Cloud Composer environment. As a result of this operation, snapshot of environment's state is stored in a location specified in the SaveSnapshotRequest.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/environments/{environmentsId}:saveSnapshot", +"httpMethod": "POST", +"id": "composer.projects.locations.environments.saveSnapshot", +"parameterOrder": [ +"environment" +], +"parameters": { +"environment": { +"description": "The resource name of the source environment in the form: \"projects/{projectId}/locations/{locationId}/environments/{environmentId}\"", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/environments/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+environment}:saveSnapshot", +"request": { +"$ref": "SaveSnapshotRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloudcomposer" +] +}, +"stopAirflowCommand": { +"description": "Stops Airflow CLI command execution.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/environments/{environmentsId}:stopAirflowCommand", +"httpMethod": "POST", +"id": "composer.projects.locations.environments.stopAirflowCommand", +"parameterOrder": [ +"environment" +], +"parameters": { +"environment": { +"description": "The resource name of the environment in the form: \"projects/{projectId}/locations/{locationId}/environments/{environmentId}\".", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/environments/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+environment}:stopAirflowCommand", +"request": { +"$ref": "StopAirflowCommandRequest" +}, +"response": { +"$ref": "StopAirflowCommandResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloudcomposer" +] +} +}, +"resources": { +"userWorkloadsConfigMaps": { +"methods": { +"create": { +"description": "Creates a user workloads ConfigMap. This method is supported for Cloud Composer environments in versions composer-3-airflow-*.*.*-build.* and newer.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/environments/{environmentsId}/userWorkloadsConfigMaps", +"httpMethod": "POST", +"id": "composer.projects.locations.environments.userWorkloadsConfigMaps.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The environment name to create a ConfigMap for, in the form: \"projects/{projectId}/locations/{locationId}/environments/{environmentId}\"", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/environments/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/userWorkloadsConfigMaps", +"request": { +"$ref": "UserWorkloadsConfigMap" +}, +"response": { +"$ref": "UserWorkloadsConfigMap" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloudcomposer" +] +}, +"delete": { +"description": "Deletes a user workloads ConfigMap. This method is supported for Cloud Composer environments in versions composer-3-airflow-*.*.*-build.* and newer.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/environments/{environmentsId}/userWorkloadsConfigMaps/{userWorkloadsConfigMapsId}", +"httpMethod": "DELETE", +"id": "composer.projects.locations.environments.userWorkloadsConfigMaps.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The ConfigMap to delete, in the form: \"projects/{projectId}/locations/{locationId}/environments/{environmentId}/userWorkloadsConfigMaps/{userWorkloadsConfigMapId}\"", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/environments/[^/]+/userWorkloadsConfigMaps/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloudcomposer" +] +}, +"get": { +"description": "Gets an existing user workloads ConfigMap. This method is supported for Cloud Composer environments in versions composer-3-airflow-*.*.*-build.* and newer.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/environments/{environmentsId}/userWorkloadsConfigMaps/{userWorkloadsConfigMapsId}", +"httpMethod": "GET", +"id": "composer.projects.locations.environments.userWorkloadsConfigMaps.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the ConfigMap to get, in the form: \"projects/{projectId}/locations/{locationId}/environments/{environmentId}/userWorkloadsConfigMaps/{userWorkloadsConfigMapId}\"", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/environments/[^/]+/userWorkloadsConfigMaps/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "UserWorkloadsConfigMap" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloudcomposer" +] +}, +"list": { +"description": "Lists user workloads ConfigMaps. This method is supported for Cloud Composer environments in versions composer-3-airflow-*.*.*-build.* and newer.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/environments/{environmentsId}/userWorkloadsConfigMaps", +"httpMethod": "GET", +"id": "composer.projects.locations.environments.userWorkloadsConfigMaps.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "Optional. The maximum number of ConfigMaps to return.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. The next_page_token value returned from a previous List request, if any.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. List ConfigMaps in the given environment, in the form: \"projects/{projectId}/locations/{locationId}/environments/{environmentId}\"", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/environments/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/userWorkloadsConfigMaps", +"response": { +"$ref": "ListUserWorkloadsConfigMapsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloudcomposer" +] +}, +"update": { +"description": "Updates a user workloads ConfigMap. This method is supported for Cloud Composer environments in versions composer-3-airflow-*.*.*-build.* and newer.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/environments/{environmentsId}/userWorkloadsConfigMaps/{userWorkloadsConfigMapsId}", +"httpMethod": "PUT", +"id": "composer.projects.locations.environments.userWorkloadsConfigMaps.update", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Identifier. The resource name of the ConfigMap, in the form: \"projects/{projectId}/locations/{locationId}/environments/{environmentId}/userWorkloadsConfigMaps/{userWorkloadsConfigMapId}\"", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/environments/[^/]+/userWorkloadsConfigMaps/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "UserWorkloadsConfigMap" +}, +"response": { +"$ref": "UserWorkloadsConfigMap" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloudcomposer" +] +} +} +}, +"userWorkloadsSecrets": { +"methods": { +"create": { +"description": "Creates a user workloads Secret. This method is supported for Cloud Composer environments in versions composer-3-airflow-*.*.*-build.* and newer.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/environments/{environmentsId}/userWorkloadsSecrets", +"httpMethod": "POST", +"id": "composer.projects.locations.environments.userWorkloadsSecrets.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The environment name to create a Secret for, in the form: \"projects/{projectId}/locations/{locationId}/environments/{environmentId}\"", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/environments/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/userWorkloadsSecrets", +"request": { +"$ref": "UserWorkloadsSecret" +}, +"response": { +"$ref": "UserWorkloadsSecret" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloudcomposer" +] +}, +"delete": { +"description": "Deletes a user workloads Secret. This method is supported for Cloud Composer environments in versions composer-3-airflow-*.*.*-build.* and newer.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/environments/{environmentsId}/userWorkloadsSecrets/{userWorkloadsSecretsId}", +"httpMethod": "DELETE", +"id": "composer.projects.locations.environments.userWorkloadsSecrets.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The Secret to delete, in the form: \"projects/{projectId}/locations/{locationId}/environments/{environmentId}/userWorkloadsSecrets/{userWorkloadsSecretId}\"", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/environments/[^/]+/userWorkloadsSecrets/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloudcomposer" +] +}, +"get": { +"description": "Gets an existing user workloads Secret. Values of the \"data\" field in the response are cleared. This method is supported for Cloud Composer environments in versions composer-3-airflow-*.*.*-build.* and newer.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/environments/{environmentsId}/userWorkloadsSecrets/{userWorkloadsSecretsId}", +"httpMethod": "GET", +"id": "composer.projects.locations.environments.userWorkloadsSecrets.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the Secret to get, in the form: \"projects/{projectId}/locations/{locationId}/environments/{environmentId}/userWorkloadsSecrets/{userWorkloadsSecretId}\"", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/environments/[^/]+/userWorkloadsSecrets/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "UserWorkloadsSecret" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloudcomposer" +] +}, +"list": { +"description": "Lists user workloads Secrets. This method is supported for Cloud Composer environments in versions composer-3-airflow-*.*.*-build.* and newer.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/environments/{environmentsId}/userWorkloadsSecrets", +"httpMethod": "GET", +"id": "composer.projects.locations.environments.userWorkloadsSecrets.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "Optional. The maximum number of Secrets to return.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. The next_page_token value returned from a previous List request, if any.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. List Secrets in the given environment, in the form: \"projects/{projectId}/locations/{locationId}/environments/{environmentId}\"", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/environments/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/userWorkloadsSecrets", +"response": { +"$ref": "ListUserWorkloadsSecretsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloudcomposer" +] +}, +"update": { +"description": "Updates a user workloads Secret. This method is supported for Cloud Composer environments in versions composer-3-airflow-*.*.*-build.* and newer.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/environments/{environmentsId}/userWorkloadsSecrets/{userWorkloadsSecretsId}", +"httpMethod": "PUT", +"id": "composer.projects.locations.environments.userWorkloadsSecrets.update", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Identifier. The resource name of the Secret, in the form: \"projects/{projectId}/locations/{locationId}/environments/{environmentId}/userWorkloadsSecrets/{userWorkloadsSecretId}\"", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/environments/[^/]+/userWorkloadsSecrets/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "UserWorkloadsSecret" +}, +"response": { +"$ref": "UserWorkloadsSecret" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloudcomposer" +] +} +} +}, +"workloads": { +"methods": { +"list": { +"description": "Lists workloads in a Cloud Composer environment. Workload is a unit that runs a single Composer component. This method is supported for Cloud Composer environments in versions composer-2.*.*-airflow-*.*.* and newer.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/environments/{environmentsId}/workloads", +"httpMethod": "GET", +"id": "composer.projects.locations.environments.workloads.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Optional. The list filter. Currently only supports equality on the type field. The value of a field specified in the filter expression must be one ComposerWorkloadType enum option. It's possible to get multiple types using \"OR\" operator, e.g.: \"type=SCHEDULER OR type=CELERY_WORKER\". If not specified, all items are returned.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Optional. The maximum number of environments to return.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. The next_page_token value returned from a previous List request, if any.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The environment name to get workloads for, in the form: \"projects/{projectId}/locations/{locationId}/environments/{environmentId}\"", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/environments/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/workloads", +"response": { +"$ref": "ListWorkloadsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloudcomposer" +] +} +} +} +} +}, +"imageVersions": { +"methods": { +"list": { +"description": "List ImageVersions for provided location.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/imageVersions", +"httpMethod": "GET", +"id": "composer.projects.locations.imageVersions.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"includePastReleases": { +"description": "Whether or not image versions from old releases should be included.", +"location": "query", +"type": "boolean" +}, +"pageSize": { +"description": "The maximum number of image_versions to return.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The next_page_token value returned from a previous List request, if any.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "List ImageVersions in the given project and location, in the form: \"projects/{projectId}/locations/{locationId}\"", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/imageVersions", +"response": { +"$ref": "ListImageVersionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloudcomposer" +] +} +} +}, +"operations": { +"methods": { +"delete": { +"description": "Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}", +"httpMethod": "DELETE", +"id": "composer.projects.locations.operations.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be deleted.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloudcomposer" +] +}, +"get": { +"description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}", +"httpMethod": "GET", +"id": "composer.projects.locations.operations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloudcomposer" +] +}, +"list": { +"description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/operations", +"httpMethod": "GET", +"id": "composer.projects.locations.operations.list", +"parameterOrder": [ +"name" +], +"parameters": { +"filter": { +"description": "The standard list filter.", +"location": "query", +"type": "string" +}, +"name": { +"description": "The name of the operation's parent resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The standard list page size.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The standard list page token.", +"location": "query", +"type": "string" +}, +"returnPartialSuccess": { +"description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `\"projects/example/locations/-\"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1/{+name}/operations", +"response": { +"$ref": "ListOperationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloudcomposer" +] +} +} +} +} +} +} +} +}, +"revision": "20260219", +"rootUrl": "https://composer.googleapis.com/", +"schemas": { +"AirflowMetadataRetentionPolicyConfig": { +"description": "The policy for airflow metadata database retention.", +"id": "AirflowMetadataRetentionPolicyConfig", +"properties": { +"retentionDays": { +"description": "Optional. How many days data should be retained for.", +"format": "int32", +"type": "integer" +}, +"retentionMode": { +"description": "Optional. Retention can be either enabled or disabled.", +"enum": [ +"RETENTION_MODE_UNSPECIFIED", +"RETENTION_MODE_ENABLED", +"RETENTION_MODE_DISABLED" +], +"enumDescriptions": [ +"Default mode doesn't change environment parameters.", +"Retention policy is enabled.", +"Retention policy is disabled." +], +"type": "string" +} +}, +"type": "object" +}, +"AllowedIpRange": { +"description": "Allowed IP range with user-provided description.", +"id": "AllowedIpRange", +"properties": { +"description": { +"description": "Optional. User-provided description. It must contain at most 300 characters.", +"type": "string" +}, +"value": { +"description": "IP address or range, defined using CIDR notation, of requests that this rule applies to. Examples: `192.168.1.1` or `192.168.0.0/16` or `2001:db8::/32` or `2001:0db8:0000:0042:0000:8a2e:0370:7334`. IP range prefixes should be properly truncated. For example, `1.2.3.4/24` should be truncated to `1.2.3.0/24`. Similarly, for IPv6, `2001:db8::1/32` should be truncated to `2001:db8::/32`.", +"type": "string" +} +}, +"type": "object" +}, +"CheckUpgradeRequest": { +"description": "Request to check whether image upgrade will succeed.", +"id": "CheckUpgradeRequest", +"properties": { +"imageVersion": { +"description": "Optional. The version of the software running in the environment. This encapsulates both the version of Cloud Composer functionality and the version of Apache Airflow. It must match the regular expression `composer-([0-9]+(\\.[0-9]+\\.[0-9]+(-preview\\.[0-9]+)?)?|latest)-airflow-([0-9]+(\\.[0-9]+(\\.[0-9]+)?)?)`. When used as input, the server also checks if the provided version is supported and denies the request for an unsupported version. The Cloud Composer portion of the image version is a full [semantic version](https://semver.org), or an alias in the form of major version number or `latest`. When an alias is provided, the server replaces it with the current Cloud Composer version that satisfies the alias. The Apache Airflow portion of the image version is a full semantic version that points to one of the supported Apache Airflow versions, or an alias in the form of only major or major.minor versions specified. When an alias is provided, the server replaces it with the latest Apache Airflow version that satisfies the alias and is supported in the given Cloud Composer version. In all cases, the resolved image version is stored in the same field. See also [version list](/composer/docs/concepts/versioning/composer-versions) and [versioning overview](/composer/docs/concepts/versioning/composer-versioning-overview).", +"type": "string" +} +}, +"type": "object" +}, +"CheckUpgradeResponse": { +"description": "Message containing information about the result of an upgrade check operation.", +"id": "CheckUpgradeResponse", +"properties": { +"buildLogUri": { +"description": "Output only. Url for a docker build log of an upgraded image.", +"readOnly": true, +"type": "string" +}, +"configConflicts": { +"description": "Output only. Contains information about environment configuration that is incompatible with the new image version, except for pypi modules conflicts.", +"items": { +"$ref": "ConfigConflict" +}, +"readOnly": true, +"type": "array" +}, +"containsPypiModulesConflict": { +"description": "Output only. Whether build has succeeded or failed on modules conflicts.", +"enum": [ +"CONFLICT_RESULT_UNSPECIFIED", +"CONFLICT", +"NO_CONFLICT" +], +"enumDescriptions": [ +"It is unknown whether build had conflicts or not.", +"There were python packages conflicts.", +"There were no python packages conflicts." +], +"readOnly": true, +"type": "string" +}, +"imageVersion": { +"description": "Composer image for which the build was happening.", +"type": "string" +}, +"pypiConflictBuildLogExtract": { +"description": "Output only. Extract from a docker image build log containing information about pypi modules conflicts.", +"readOnly": true, +"type": "string" +}, +"pypiDependencies": { +"additionalProperties": { +"type": "string" +}, +"description": "Pypi dependencies specified in the environment configuration, at the time when the build was triggered.", +"type": "object" +} +}, +"type": "object" +}, +"CidrBlock": { +"description": "CIDR block with an optional name.", +"id": "CidrBlock", +"properties": { +"cidrBlock": { +"description": "CIDR block that must be specified in CIDR notation.", +"type": "string" +}, +"displayName": { +"description": "User-defined name that identifies the CIDR block.", +"type": "string" +} +}, +"type": "object" +}, +"CloudDataLineageIntegration": { +"description": "Configuration for Cloud Data Lineage integration.", +"id": "CloudDataLineageIntegration", +"properties": { +"enabled": { +"description": "Optional. Whether or not Cloud Data Lineage integration is enabled.", +"type": "boolean" +} +}, +"type": "object" +}, +"ComposerWorkload": { +"description": "Information about a single workload.", +"id": "ComposerWorkload", +"properties": { +"name": { +"description": "Name of a workload.", +"type": "string" +}, +"status": { +"$ref": "ComposerWorkloadStatus", +"description": "Output only. Status of a workload.", +"readOnly": true +}, +"type": { +"description": "Type of a workload.", +"enum": [ +"COMPOSER_WORKLOAD_TYPE_UNSPECIFIED", +"CELERY_WORKER", +"KUBERNETES_WORKER", +"KUBERNETES_OPERATOR_POD", +"SCHEDULER", +"DAG_PROCESSOR", +"TRIGGERER", +"WEB_SERVER", +"REDIS" +], +"enumDescriptions": [ +"Not able to determine the type of the workload.", +"Celery worker.", +"Kubernetes worker.", +"Workload created by Kubernetes Pod Operator.", +"Airflow scheduler.", +"Airflow Dag processor.", +"Airflow triggerer.", +"Airflow web server UI.", +"Redis." +], +"type": "string" +} +}, +"type": "object" +}, +"ComposerWorkloadStatus": { +"description": "Workload status.", +"id": "ComposerWorkloadStatus", +"properties": { +"detailedStatusMessage": { +"description": "Output only. Detailed message of the status.", +"readOnly": true, +"type": "string" +}, +"state": { +"description": "Output only. Workload state.", +"enum": [ +"COMPOSER_WORKLOAD_STATE_UNSPECIFIED", +"PENDING", +"OK", +"WARNING", +"ERROR", +"SUCCEEDED", +"FAILED" +], +"enumDescriptions": [ +"Not able to determine the status of the workload.", +"Workload is in pending state and has not yet started.", +"Workload is running fine.", +"Workload is running but there are some non-critical problems.", +"Workload is not running due to an error.", +"Workload has finished execution with success.", +"Workload has finished execution with failure." +], +"readOnly": true, +"type": "string" +}, +"statusMessage": { +"description": "Output only. Text to provide more descriptive status.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"ConfigConflict": { +"description": "Environment configuration conflict.", +"id": "ConfigConflict", +"properties": { +"message": { +"description": "Conflict message.", +"type": "string" +}, +"type": { +"description": "Conflict type. It can be blocking or non-blocking.", +"enum": [ +"CONFLICT_TYPE_UNSPECIFIED", +"BLOCKING", +"NON_BLOCKING" +], +"enumDescriptions": [ +"Conflict type is unknown.", +"Conflict is blocking, the upgrade would fail.", +"Conflict is non-blocking. The upgrade would succeed, but the environment configuration would be changed." +], +"type": "string" +} +}, +"type": "object" +}, +"DagProcessorResource": { +"description": "Configuration for resources used by Airflow DAG processors. This field is supported for Cloud Composer environments in versions composer-3-airflow-*.*.*-build.* and newer.", +"id": "DagProcessorResource", +"properties": { +"count": { +"description": "Optional. The number of DAG processors. If not provided or set to 0, a single DAG processor instance will be created.", +"format": "int32", +"type": "integer" +}, +"cpu": { +"description": "Optional. CPU request and limit for a single Airflow DAG processor replica.", +"format": "float", +"type": "number" +}, +"memoryGb": { +"description": "Optional. Memory (GB) request and limit for a single Airflow DAG processor replica.", +"format": "float", +"type": "number" +}, +"storageGb": { +"description": "Optional. Storage (GB) request and limit for a single Airflow DAG processor replica.", +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"DataRetentionConfig": { +"description": "The configuration setting for Airflow database data retention mechanism.", +"id": "DataRetentionConfig", +"properties": { +"airflowMetadataRetentionConfig": { +"$ref": "AirflowMetadataRetentionPolicyConfig", +"description": "Optional. The retention policy for airflow metadata database." +}, +"taskLogsRetentionConfig": { +"$ref": "TaskLogsRetentionConfig", +"description": "Optional. The configuration settings for task logs retention" +} +}, +"type": "object" +}, +"DatabaseConfig": { +"description": "The configuration of Cloud SQL instance that is used by the Apache Airflow software.", +"id": "DatabaseConfig", +"properties": { +"machineType": { +"description": "Optional. Cloud SQL machine type used by Airflow database. It has to be one of: db-n1-standard-2, db-n1-standard-4, db-n1-standard-8 or db-n1-standard-16. If not specified, db-n1-standard-2 will be used. Supported for Cloud Composer environments in versions composer-1.*.*-airflow-*.*.*.", +"type": "string" +}, +"zone": { +"description": "Optional. The Compute Engine zone where the Airflow database is created. If zone is provided, it must be in the region selected for the environment. If zone is not provided, a zone is automatically selected. The zone can only be set during environment creation. Supported for Cloud Composer environments in versions composer-2.*.*-airflow-*.*.*.", +"type": "string" +} +}, +"type": "object" +}, +"DatabaseFailoverRequest": { +"description": "Request to trigger database failover (only for highly resilient environments).", +"id": "DatabaseFailoverRequest", +"properties": {}, +"type": "object" +}, +"DatabaseFailoverResponse": { +"description": "Response for DatabaseFailoverRequest.", +"id": "DatabaseFailoverResponse", +"properties": {}, +"type": "object" +}, +"Date": { +"description": "Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following: * A full date, with non-zero year, month, and day values. * A month and day, with a zero year (for example, an anniversary). * A year on its own, with a zero month and a zero day. * A year and month, with a zero day (for example, a credit card expiration date). Related types: * google.type.TimeOfDay * google.type.DateTime * google.protobuf.Timestamp", +"id": "Date", +"properties": { +"day": { +"description": "Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn't significant.", +"format": "int32", +"type": "integer" +}, +"month": { +"description": "Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.", +"format": "int32", +"type": "integer" +}, +"year": { +"description": "Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"Empty": { +"description": "A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }", +"id": "Empty", +"properties": {}, +"type": "object" +}, +"EncryptionConfig": { +"description": "The encryption options for the Cloud Composer environment and its dependencies.Supported for Cloud Composer environments in versions composer-1.*.*-airflow-*.*.*.", +"id": "EncryptionConfig", +"properties": { +"kmsKeyName": { +"description": "Optional. Customer-managed Encryption Key available through Google's Key Management Service. Cannot be updated. If not specified, Google-managed key will be used.", +"type": "string" +} +}, +"type": "object" +}, +"Environment": { +"description": "An environment for running orchestration tasks.", +"id": "Environment", +"properties": { +"config": { +"$ref": "EnvironmentConfig", +"description": "Optional. Configuration parameters for this environment." +}, +"createTime": { +"description": "Output only. The time at which this environment was created.", +"format": "google-datetime", +"type": "string" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. User-defined labels for this environment. The labels map can contain no more than 64 entries. Entries of the labels map are UTF8 strings that comply with the following restrictions: * Keys must conform to regexp: \\p{Ll}\\p{Lo}{0,62} * Values must conform to regexp: [\\p{Ll}\\p{Lo}\\p{N}_-]{0,63} * Both keys and values are additionally constrained to be <= 128 bytes in size.", +"type": "object" +}, +"name": { +"description": "Identifier. The resource name of the environment, in the form: \"projects/{projectId}/locations/{locationId}/environments/{environmentId}\" EnvironmentId must start with a lowercase letter followed by up to 63 lowercase letters, numbers, or hyphens, and cannot end with a hyphen.", +"type": "string" +}, +"satisfiesPzi": { +"description": "Output only. Reserved for future use.", +"readOnly": true, +"type": "boolean" +}, +"satisfiesPzs": { +"description": "Output only. Reserved for future use.", +"readOnly": true, +"type": "boolean" +}, +"state": { +"description": "The current state of the environment.", +"enum": [ +"STATE_UNSPECIFIED", +"CREATING", +"RUNNING", +"UPDATING", +"DELETING", +"ERROR" +], +"enumDescriptions": [ +"The state of the environment is unknown.", +"The environment is in the process of being created.", +"The environment is currently running and healthy. It is ready for use.", +"The environment is being updated. It remains usable but cannot receive additional update requests or be deleted at this time.", +"The environment is undergoing deletion. It cannot be used.", +"The environment has encountered an error and cannot be used." +], +"type": "string" +}, +"storageConfig": { +"$ref": "StorageConfig", +"description": "Optional. Storage configuration for this environment." +}, +"updateTime": { +"description": "Output only. The time at which this environment was last modified.", +"format": "google-datetime", +"type": "string" +}, +"uuid": { +"description": "Output only. The UUID (Universally Unique IDentifier) associated with this environment. This value is generated when the environment is created.", +"type": "string" +} +}, +"type": "object" +}, +"EnvironmentConfig": { +"description": "Configuration information for an environment.", +"id": "EnvironmentConfig", +"properties": { +"airflowByoidUri": { +"description": "Output only. The 'bring your own identity' variant of the URI of the Apache Airflow Web UI hosted within this environment, to be accessed with external identities using workforce identity federation (see [Access environments with workforce identity federation](/composer/docs/composer-2/access-environments-with-workforce-identity-federation)).", +"readOnly": true, +"type": "string" +}, +"airflowUri": { +"description": "Output only. The URI of the Apache Airflow Web UI hosted within this environment (see [Airflow web interface](/composer/docs/how-to/accessing/airflow-web-interface)).", +"type": "string" +}, +"dagGcsPrefix": { +"description": "Output only. The Cloud Storage prefix of the DAGs for this environment. Although Cloud Storage objects reside in a flat namespace, a hierarchical file tree can be simulated using \"/\"-delimited object name prefixes. DAG objects for this environment reside in a simulated directory with the given prefix.", +"type": "string" +}, +"dataRetentionConfig": { +"$ref": "DataRetentionConfig", +"description": "Optional. The configuration setting for Airflow database data retention mechanism." +}, +"databaseConfig": { +"$ref": "DatabaseConfig", +"description": "Optional. The configuration settings for Cloud SQL instance used internally by Apache Airflow software." +}, +"encryptionConfig": { +"$ref": "EncryptionConfig", +"description": "Optional. The encryption options for the Cloud Composer environment and its dependencies. Cannot be updated." +}, +"environmentSize": { +"description": "Optional. The size of the Cloud Composer environment. This field is supported for Cloud Composer environments in versions composer-2.*.*-airflow-*.*.* and newer.", +"enum": [ +"ENVIRONMENT_SIZE_UNSPECIFIED", +"ENVIRONMENT_SIZE_SMALL", +"ENVIRONMENT_SIZE_MEDIUM", +"ENVIRONMENT_SIZE_LARGE", +"ENVIRONMENT_SIZE_EXTRA_LARGE" +], +"enumDescriptions": [ +"The size of the environment is unspecified.", +"The environment size is small.", +"The environment size is medium.", +"The environment size is large.", +"The environment size is extra large." +], +"type": "string" +}, +"gkeCluster": { +"description": "Output only. The Kubernetes Engine cluster used to run this environment.", +"type": "string" +}, +"maintenanceWindow": { +"$ref": "MaintenanceWindow", +"description": "Optional. The maintenance window is the period when Cloud Composer components may undergo maintenance. It is defined so that maintenance is not executed during peak hours or critical time periods. The system will not be under maintenance for every occurrence of this window, but when maintenance is planned, it will be scheduled during the window. The maintenance window period must encompass at least 12 hours per week. This may be split into multiple chunks, each with a size of at least 4 hours. If this value is omitted, the default value for maintenance window is applied. By default, maintenance windows are from 00:00:00 to 04:00:00 (GMT) on Friday, Saturday, and Sunday every week." +}, +"masterAuthorizedNetworksConfig": { +"$ref": "MasterAuthorizedNetworksConfig", +"description": "Optional. The configuration options for GKE cluster master authorized networks. By default master authorized networks feature is: - in case of private environment: enabled with no external networks allowlisted. - in case of public environment: disabled." +}, +"nodeConfig": { +"$ref": "NodeConfig", +"description": "Optional. The configuration used for the Kubernetes Engine cluster." +}, +"nodeCount": { +"description": "The number of nodes in the Kubernetes Engine cluster that will be used to run this environment. This field is supported for Cloud Composer environments in versions composer-1.*.*-airflow-*.*.*.", +"format": "int32", +"type": "integer" +}, +"privateEnvironmentConfig": { +"$ref": "PrivateEnvironmentConfig", +"description": "Optional. The configuration used for the Private IP Cloud Composer environment." +}, +"recoveryConfig": { +"$ref": "RecoveryConfig", +"description": "Optional. The Recovery settings configuration of an environment. This field is supported for Cloud Composer environments in versions composer-2.*.*-airflow-*.*.* and newer." +}, +"resilienceMode": { +"description": "Optional. Resilience mode of the Cloud Composer Environment. This field is supported for Cloud Composer environments in versions composer-2.2.0-airflow-*.*.* and newer.", +"enum": [ +"RESILIENCE_MODE_UNSPECIFIED", +"HIGH_RESILIENCE" +], +"enumDescriptions": [ +"Default mode doesn't change environment parameters.", +"Enabled High Resilience mode, including Cloud SQL HA." +], +"type": "string" +}, +"softwareConfig": { +"$ref": "SoftwareConfig", +"description": "Optional. The configuration settings for software inside the environment." +}, +"webServerConfig": { +"$ref": "WebServerConfig", +"description": "Optional. The configuration settings for the Airflow web server App Engine instance." +}, +"webServerNetworkAccessControl": { +"$ref": "WebServerNetworkAccessControl", +"description": "Optional. The network-level access control policy for the Airflow web server. If unspecified, no network-level access restrictions will be applied." +}, +"workloadsConfig": { +"$ref": "WorkloadsConfig", +"description": "Optional. The workloads configuration settings for the GKE cluster associated with the Cloud Composer environment. The GKE cluster runs Airflow scheduler, web server and workers workloads. This field is supported for Cloud Composer environments in versions composer-2.*.*-airflow-*.*.* and newer." +} +}, +"type": "object" +}, +"ExecuteAirflowCommandRequest": { +"description": "Execute Airflow Command request.", +"id": "ExecuteAirflowCommandRequest", +"properties": { +"command": { +"description": "Airflow command.", +"type": "string" +}, +"parameters": { +"description": "Parameters for the Airflow command/subcommand as an array of arguments. It may contain positional arguments like `[\"my-dag-id\"]`, key-value parameters like `[\"--foo=bar\"]` or `[\"--foo\",\"bar\"]`, or other flags like `[\"-f\"]`.", +"items": { +"type": "string" +}, +"type": "array" +}, +"subcommand": { +"description": "Airflow subcommand.", +"type": "string" +} +}, +"type": "object" +}, +"ExecuteAirflowCommandResponse": { +"description": "Response to ExecuteAirflowCommandRequest.", +"id": "ExecuteAirflowCommandResponse", +"properties": { +"error": { +"description": "Error message. Empty if there was no error.", +"type": "string" +}, +"executionId": { +"description": "The unique ID of the command execution for polling.", +"type": "string" +}, +"pod": { +"description": "The name of the pod where the command is executed.", +"type": "string" +}, +"podNamespace": { +"description": "The namespace of the pod where the command is executed.", +"type": "string" +} +}, +"type": "object" +}, +"ExitInfo": { +"description": "Information about how a command ended.", +"id": "ExitInfo", +"properties": { +"error": { +"description": "Error message. Empty if there was no error.", +"type": "string" +}, +"exitCode": { +"description": "The exit code from the command execution.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"FetchDatabasePropertiesResponse": { +"description": "Response for FetchDatabasePropertiesRequest.", +"id": "FetchDatabasePropertiesResponse", +"properties": { +"isFailoverReplicaAvailable": { +"description": "The availability status of the failover replica. A false status indicates that the failover replica is out of sync. The primary instance can only fail over to the failover replica when the status is true.", +"type": "boolean" +}, +"primaryGceZone": { +"description": "The Compute Engine zone that the instance is currently serving from.", +"type": "string" +}, +"secondaryGceZone": { +"description": "The Compute Engine zone that the failover instance is currently serving from for a regional Cloud SQL instance.", +"type": "string" +} +}, +"type": "object" +}, +"IPAllocationPolicy": { +"description": "Configuration for controlling how IPs are allocated in the GKE cluster running the Apache Airflow software.", +"id": "IPAllocationPolicy", +"properties": { +"clusterIpv4CidrBlock": { +"description": "Optional. The IP address range used to allocate IP addresses to pods in the GKE cluster. For Cloud Composer environments in versions composer-1.*.*-airflow-*.*.*, this field is applicable only when `use_ip_aliases` is true. Set to blank to have GKE choose a range with the default size. Set to /netmask (e.g. `/14`) to have GKE choose a range with a specific netmask. Set to a [CIDR](https://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing) notation (e.g. `10.96.0.0/14`) from the RFC-1918 private networks (e.g. `10.0.0.0/8`, `172.16.0.0/12`, `192.168.0.0/16`) to pick a specific range to use.", +"type": "string" +}, +"clusterSecondaryRangeName": { +"description": "Optional. The name of the GKE cluster's secondary range used to allocate IP addresses to pods. For Cloud Composer environments in versions composer-1.*.*-airflow-*.*.*, this field is applicable only when `use_ip_aliases` is true.", +"type": "string" +}, +"servicesIpv4CidrBlock": { +"description": "Optional. The IP address range of the services IP addresses in this GKE cluster. For Cloud Composer environments in versions composer-1.*.*-airflow-*.*.*, this field is applicable only when `use_ip_aliases` is true. Set to blank to have GKE choose a range with the default size. Set to /netmask (e.g. `/14`) to have GKE choose a range with a specific netmask. Set to a [CIDR](https://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing) notation (e.g. `10.96.0.0/14`) from the RFC-1918 private networks (e.g. `10.0.0.0/8`, `172.16.0.0/12`, `192.168.0.0/16`) to pick a specific range to use.", +"type": "string" +}, +"servicesSecondaryRangeName": { +"description": "Optional. The name of the services' secondary range used to allocate IP addresses to the GKE cluster. For Cloud Composer environments in versions composer-1.*.*-airflow-*.*.*, this field is applicable only when `use_ip_aliases` is true.", +"type": "string" +}, +"useIpAliases": { +"description": "Optional. Whether or not to enable Alias IPs in the GKE cluster. If `true`, a VPC-native cluster is created. This field is only supported for Cloud Composer environments in versions composer-1.*.*-airflow-*.*.*. Environments in newer versions always use VPC-native GKE clusters.", +"type": "boolean" +} +}, +"type": "object" +}, +"ImageVersion": { +"description": "ImageVersion information", +"id": "ImageVersion", +"properties": { +"creationDisabled": { +"description": "Whether it is impossible to create an environment with the image version.", +"type": "boolean" +}, +"imageVersionId": { +"description": "The string identifier of the ImageVersion, in the form: \"composer-x.y.z-airflow-a.b.c\"", +"type": "string" +}, +"isDefault": { +"description": "Whether this is the default ImageVersion used by Composer during environment creation if no input ImageVersion is specified.", +"type": "boolean" +}, +"releaseDate": { +"$ref": "Date", +"description": "The date of the version release." +}, +"supportedPythonVersions": { +"description": "supported python versions", +"items": { +"type": "string" +}, +"type": "array" +}, +"upgradeDisabled": { +"description": "Whether it is impossible to upgrade an environment running with the image version.", +"type": "boolean" +} +}, +"type": "object" +}, +"Line": { +"description": "Contains information about a single line from logs.", +"id": "Line", +"properties": { +"content": { +"description": "Text content of the log line.", +"type": "string" +}, +"lineNumber": { +"description": "Number of the line.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"ListEnvironmentsResponse": { +"description": "The environments in a project and location.", +"id": "ListEnvironmentsResponse", +"properties": { +"environments": { +"description": "The list of environments returned by a ListEnvironmentsRequest.", +"items": { +"$ref": "Environment" +}, +"type": "array" +}, +"nextPageToken": { +"description": "The page token used to query for the next page if one exists.", +"type": "string" +} +}, +"type": "object" +}, +"ListImageVersionsResponse": { +"description": "The ImageVersions in a project and location.", +"id": "ListImageVersionsResponse", +"properties": { +"imageVersions": { +"description": "The list of supported ImageVersions in a location.", +"items": { +"$ref": "ImageVersion" +}, +"type": "array" +}, +"nextPageToken": { +"description": "The page token used to query for the next page if one exists.", +"type": "string" +} +}, +"type": "object" +}, +"ListOperationsResponse": { +"description": "The response message for Operations.ListOperations.", +"id": "ListOperationsResponse", +"properties": { +"nextPageToken": { +"description": "The standard List next-page token.", +"type": "string" +}, +"operations": { +"description": "A list of operations that matches the specified filter in the request.", +"items": { +"$ref": "Operation" +}, +"type": "array" +}, +"unreachable": { +"description": "Unordered list. Unreachable resources. Populated when the request sets `ListOperationsRequest.return_partial_success` and reads across collections. For example, when attempting to list all resources across all supported locations.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListUserWorkloadsConfigMapsResponse": { +"description": "The user workloads ConfigMaps for a given environment.", +"id": "ListUserWorkloadsConfigMapsResponse", +"properties": { +"nextPageToken": { +"description": "The page token used to query for the next page if one exists.", +"type": "string" +}, +"userWorkloadsConfigMaps": { +"description": "The list of ConfigMaps returned by a ListUserWorkloadsConfigMapsRequest.", +"items": { +"$ref": "UserWorkloadsConfigMap" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListUserWorkloadsSecretsResponse": { +"description": "The user workloads Secrets for a given environment.", +"id": "ListUserWorkloadsSecretsResponse", +"properties": { +"nextPageToken": { +"description": "The page token used to query for the next page if one exists.", +"type": "string" +}, +"userWorkloadsSecrets": { +"description": "The list of Secrets returned by a ListUserWorkloadsSecretsRequest.", +"items": { +"$ref": "UserWorkloadsSecret" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListWorkloadsResponse": { +"description": "Response to ListWorkloadsRequest.", +"id": "ListWorkloadsResponse", +"properties": { +"nextPageToken": { +"description": "The page token used to query for the next page if one exists.", +"type": "string" +}, +"workloads": { +"description": "The list of environment workloads.", +"items": { +"$ref": "ComposerWorkload" +}, +"type": "array" +} +}, +"type": "object" +}, +"LoadSnapshotRequest": { +"description": "Request to load a snapshot into a Cloud Composer environment.", +"id": "LoadSnapshotRequest", +"properties": { +"skipAirflowOverridesSetting": { +"description": "Whether or not to skip setting Airflow overrides when loading the environment's state.", +"type": "boolean" +}, +"skipEnvironmentVariablesSetting": { +"description": "Whether or not to skip setting environment variables when loading the environment's state.", +"type": "boolean" +}, +"skipGcsDataCopying": { +"description": "Whether or not to skip copying Cloud Storage data when loading the environment's state.", +"type": "boolean" +}, +"skipPypiPackagesInstallation": { +"description": "Whether or not to skip installing Pypi packages when loading the environment's state.", +"type": "boolean" +}, +"snapshotPath": { +"description": "A Cloud Storage path to a snapshot to load, e.g.: \"gs://my-bucket/snapshots/project_location_environment_timestamp\".", +"type": "string" +} +}, +"type": "object" +}, +"LoadSnapshotResponse": { +"description": "Response to LoadSnapshotRequest.", +"id": "LoadSnapshotResponse", +"properties": {}, +"type": "object" +}, +"MaintenanceWindow": { +"description": "The configuration settings for Cloud Composer maintenance window. The following example: ``` { \"startTime\":\"2019-08-01T01:00:00Z\" \"endTime\":\"2019-08-01T07:00:00Z\" \"recurrence\":\"FREQ=WEEKLY;BYDAY=TU,WE\" } ``` would define a maintenance window between 01 and 07 hours UTC during each Tuesday and Wednesday.", +"id": "MaintenanceWindow", +"properties": { +"endTime": { +"description": "Required. Maintenance window end time. It is used only to calculate the duration of the maintenance window. The value for end-time must be in the future, relative to `start_time`.", +"format": "google-datetime", +"type": "string" +}, +"recurrence": { +"description": "Required. Maintenance window recurrence. Format is a subset of [RFC-5545](https://tools.ietf.org/html/rfc5545) `RRULE`. The only allowed values for `FREQ` field are `FREQ=DAILY` and `FREQ=WEEKLY;BYDAY=...` Example values: `FREQ=WEEKLY;BYDAY=TU,WE`, `FREQ=DAILY`.", +"type": "string" +}, +"startTime": { +"description": "Required. Start time of the first recurrence of the maintenance window.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"MasterAuthorizedNetworksConfig": { +"description": "Configuration options for the master authorized networks feature. Enabled master authorized networks will disallow all external traffic to access Kubernetes master through HTTPS except traffic from the given CIDR blocks, Google Compute Engine Public IPs and Google Prod IPs.", +"id": "MasterAuthorizedNetworksConfig", +"properties": { +"cidrBlocks": { +"description": "Up to 50 external networks that could access Kubernetes master through HTTPS.", +"items": { +"$ref": "CidrBlock" +}, +"type": "array" +}, +"enabled": { +"description": "Optional. Whether or not master authorized networks feature is enabled.", +"type": "boolean" +} +}, +"type": "object" +}, +"NetworkingConfig": { +"description": "Configuration options for networking connections in the Composer 2 environment.", +"id": "NetworkingConfig", +"properties": { +"connectionType": { +"description": "Optional. Indicates the user requested specific connection type between Tenant and Customer projects. You cannot set networking connection type in public IP environment.", +"enum": [ +"CONNECTION_TYPE_UNSPECIFIED", +"VPC_PEERING", +"PRIVATE_SERVICE_CONNECT" +], +"enumDescriptions": [ +"No specific connection type was requested, so the environment uses the default value corresponding to the rest of its configuration.", +"Requests the use of VPC peerings for connecting the Customer and Tenant projects.", +"Requests the use of Private Service Connect for connecting the Customer and Tenant projects." +], +"type": "string" +} +}, +"type": "object" +}, +"NodeConfig": { +"description": "The configuration information for the Kubernetes Engine nodes running the Apache Airflow software.", +"id": "NodeConfig", +"properties": { +"composerInternalIpv4CidrBlock": { +"description": "Optional. The IP range in CIDR notation to use internally by Cloud Composer. IP addresses are not reserved - and the same range can be used by multiple Cloud Composer environments. In case of overlap, IPs from this range will not be accessible in the user's VPC network. Cannot be updated. If not specified, the default value of '100.64.128.0/20' is used. This field is supported for Cloud Composer environments in versions composer-3-airflow-*.*.*-build.* and newer.", +"type": "string" +}, +"composerNetworkAttachment": { +"description": "Optional. Network Attachment that Cloud Composer environment is connected to, which provides connectivity with a user's VPC network. Takes precedence over network and subnetwork settings. If not provided, but network and subnetwork are defined during environment, it will be provisioned. If not provided and network and subnetwork are also empty, then connectivity to user's VPC network is disabled. Network attachment must be provided in format projects/{project}/regions/{region}/networkAttachments/{networkAttachment}. This field is supported for Cloud Composer environments in versions composer-3-airflow-*.*.*-build.* and newer.", +"type": "string" +}, +"diskSizeGb": { +"description": "Optional. The disk size in GB used for node VMs. Minimum size is 30GB. If unspecified, defaults to 100GB. Cannot be updated. This field is supported for Cloud Composer environments in versions composer-1.*.*-airflow-*.*.*.", +"format": "int32", +"type": "integer" +}, +"enableIpMasqAgent": { +"description": "Optional. Deploys 'ip-masq-agent' daemon set in the GKE cluster and defines nonMasqueradeCIDRs equals to pod IP range so IP masquerading is used for all destination addresses, except between pods traffic. See: https://cloud.google.com/kubernetes-engine/docs/how-to/ip-masquerade-agent", +"type": "boolean" +}, +"ipAllocationPolicy": { +"$ref": "IPAllocationPolicy", +"description": "Optional. The configuration for controlling how IPs are allocated in the GKE cluster." +}, +"location": { +"description": "Optional. The Compute Engine [zone](/compute/docs/regions-zones) in which to deploy the VMs used to run the Apache Airflow software, specified as a [relative resource name](/apis/design/resource_names#relative_resource_name). For example: \"projects/{projectId}/zones/{zoneId}\". This `location` must belong to the enclosing environment's project and location. If both this field and `nodeConfig.machineType` are specified, `nodeConfig.machineType` must belong to this `location`; if both are unspecified, the service will pick a zone in the Compute Engine region corresponding to the Cloud Composer location, and propagate that choice to both fields. If only one field (`location` or `nodeConfig.machineType`) is specified, the location information from the specified field will be propagated to the unspecified field. This field is supported for Cloud Composer environments in versions composer-1.*.*-airflow-*.*.*.", +"type": "string" +}, +"machineType": { +"description": "Optional. The Compute Engine [machine type](/compute/docs/machine-types) used for cluster instances, specified as a [relative resource name](/apis/design/resource_names#relative_resource_name). For example: \"projects/{projectId}/zones/{zoneId}/machineTypes/{machineTypeId}\". The `machineType` must belong to the enclosing environment's project and location. If both this field and `nodeConfig.location` are specified, this `machineType` must belong to the `nodeConfig.location`; if both are unspecified, the service will pick a zone in the Compute Engine region corresponding to the Cloud Composer location, and propagate that choice to both fields. If exactly one of this field and `nodeConfig.location` is specified, the location information from the specified field will be propagated to the unspecified field. The `machineTypeId` must not be a [shared-core machine type](/compute/docs/machine-types#sharedcore). If this field is unspecified, the `machineTypeId` defaults to \"n1-standard-1\". This field is supported for Cloud Composer environments in versions composer-1.*.*-airflow-*.*.*.", +"type": "string" +}, +"network": { +"description": "Optional. The Compute Engine network to be used for machine communications, specified as a [relative resource name](/apis/design/resource_names#relative_resource_name). For example: \"projects/{projectId}/global/networks/{networkId}\". If unspecified, the \"default\" network ID in the environment's project is used. If a [Custom Subnet Network](/vpc/docs/vpc#vpc_networks_and_subnets) is provided, `nodeConfig.subnetwork` must also be provided. For [Shared VPC](/vpc/docs/shared-vpc) subnetwork requirements, see `nodeConfig.subnetwork`.", +"type": "string" +}, +"oauthScopes": { +"description": "Optional. The set of Google API scopes to be made available on all node VMs. If `oauth_scopes` is empty, defaults to [\"https://www.googleapis.com/auth/cloud-platform\"]. Cannot be updated. This field is supported for Cloud Composer environments in versions composer-1.*.*-airflow-*.*.*.", +"items": { +"type": "string" +}, +"type": "array" +}, +"serviceAccount": { +"description": "Optional. The Google Cloud Platform Service Account to be used by the node VMs. If a service account is not specified, the \"default\" Compute Engine service account is used. Cannot be updated.", +"type": "string" +}, +"subnetwork": { +"description": "Optional. The Compute Engine subnetwork to be used for machine communications, specified as a [relative resource name](/apis/design/resource_names#relative_resource_name). For example: \"projects/{projectId}/regions/{regionId}/subnetworks/{subnetworkId}\" If a subnetwork is provided, `nodeConfig.network` must also be provided, and the subnetwork must belong to the enclosing environment's project and location.", +"type": "string" +}, +"tags": { +"description": "Optional. The list of instance tags applied to all node VMs. Tags are used to identify valid sources or targets for network firewalls. Each tag within the list must comply with [RFC1035](https://www.ietf.org/rfc/rfc1035.txt). Cannot be updated.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"Operation": { +"description": "This resource represents a long-running operation that is the result of a network API call.", +"id": "Operation", +"properties": { +"done": { +"description": "If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.", +"type": "boolean" +}, +"error": { +"$ref": "Status", +"description": "The error result of the operation in case of failure or cancellation." +}, +"metadata": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.", +"type": "object" +}, +"name": { +"description": "The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.", +"type": "string" +}, +"response": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "The normal, successful response of the operation. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.", +"type": "object" +} +}, +"type": "object" +}, +"OperationMetadata": { +"description": "Metadata describing an operation.", +"id": "OperationMetadata", +"properties": { +"createTime": { +"description": "Output only. The time the operation was submitted to the server.", +"format": "google-datetime", +"type": "string" +}, +"endTime": { +"description": "Output only. The time when the operation terminated, regardless of its success. This field is unset if the operation is still ongoing.", +"format": "google-datetime", +"type": "string" +}, +"operationType": { +"description": "Output only. The type of operation being performed.", +"enum": [ +"TYPE_UNSPECIFIED", +"CREATE", +"DELETE", +"UPDATE", +"CHECK", +"SAVE_SNAPSHOT", +"LOAD_SNAPSHOT", +"DATABASE_FAILOVER", +"MIGRATE" +], +"enumDescriptions": [ +"Unused.", +"A resource creation operation.", +"A resource deletion operation.", +"A resource update operation.", +"A resource check operation.", +"Saves snapshot of the resource operation.", +"Loads snapshot of the resource operation.", +"Triggers failover of environment's Cloud SQL instance (only for highly resilient environments).", +"Migrates resource to a new major version." +], +"type": "string" +}, +"resource": { +"description": "Output only. The resource being operated on, as a [relative resource name]( /apis/design/resource_names#relative_resource_name).", +"type": "string" +}, +"resourceUuid": { +"description": "Output only. The UUID of the resource being operated on.", +"type": "string" +}, +"state": { +"description": "Output only. The current operation state.", +"enum": [ +"STATE_UNSPECIFIED", +"PENDING", +"RUNNING", +"SUCCEEDED", +"SUCCESSFUL", +"FAILED" +], +"enumDescriptions": [ +"Unused.", +"The operation has been created but is not yet started.", +"The operation is underway.", +"The operation completed successfully.", +"", +"The operation is no longer running but did not succeed." +], +"type": "string" +} +}, +"type": "object" +}, +"PollAirflowCommandRequest": { +"description": "Poll Airflow Command request.", +"id": "PollAirflowCommandRequest", +"properties": { +"executionId": { +"description": "The unique ID of the command execution.", +"type": "string" +}, +"nextLineNumber": { +"description": "Line number from which new logs should be fetched.", +"format": "int32", +"type": "integer" +}, +"pod": { +"description": "The name of the pod where the command is executed.", +"type": "string" +}, +"podNamespace": { +"description": "The namespace of the pod where the command is executed.", +"type": "string" +} +}, +"type": "object" +}, +"PollAirflowCommandResponse": { +"description": "Response to PollAirflowCommandRequest.", +"id": "PollAirflowCommandResponse", +"properties": { +"exitInfo": { +"$ref": "ExitInfo", +"description": "The result exit status of the command." +}, +"output": { +"description": "Output from the command execution. It may not contain the full output and the caller may need to poll for more lines.", +"items": { +"$ref": "Line" +}, +"type": "array" +}, +"outputEnd": { +"description": "Whether the command execution has finished and there is no more output.", +"type": "boolean" +} +}, +"type": "object" +}, +"PrivateClusterConfig": { +"description": "Configuration options for the private GKE cluster in a Cloud Composer environment.", +"id": "PrivateClusterConfig", +"properties": { +"enablePrivateEndpoint": { +"description": "Optional. If `true`, access to the public endpoint of the GKE cluster is denied.", +"type": "boolean" +}, +"masterIpv4CidrBlock": { +"description": "Optional. The CIDR block from which IPv4 range for GKE master will be reserved. If left blank, the default value of '172.16.0.0/23' is used.", +"type": "string" +}, +"masterIpv4ReservedRange": { +"description": "Output only. The IP range in CIDR notation to use for the hosted master network. This range is used for assigning internal IP addresses to the GKE cluster master or set of masters and to the internal load balancer virtual IP. This range must not overlap with any other ranges in use within the cluster's network.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"PrivateEnvironmentConfig": { +"description": "The configuration information for configuring a Private IP Cloud Composer environment.", +"id": "PrivateEnvironmentConfig", +"properties": { +"cloudComposerConnectionSubnetwork": { +"description": "Optional. When specified, the environment will use Private Service Connect instead of VPC peerings to connect to Cloud SQL in the Tenant Project, and the PSC endpoint in the Customer Project will use an IP address from this subnetwork.", +"type": "string" +}, +"cloudComposerNetworkIpv4CidrBlock": { +"description": "Optional. The CIDR block from which IP range for Cloud Composer Network in tenant project will be reserved. Needs to be disjoint from private_cluster_config.master_ipv4_cidr_block and cloud_sql_ipv4_cidr_block. This field is supported for Cloud Composer environments in versions composer-2.*.*-airflow-*.*.* and newer.", +"type": "string" +}, +"cloudComposerNetworkIpv4ReservedRange": { +"description": "Output only. The IP range reserved for the tenant project's Cloud Composer network. This field is supported for Cloud Composer environments in versions composer-2.*.*-airflow-*.*.* and newer.", +"readOnly": true, +"type": "string" +}, +"cloudSqlIpv4CidrBlock": { +"description": "Optional. The CIDR block from which IP range in tenant project will be reserved for Cloud SQL. Needs to be disjoint from `web_server_ipv4_cidr_block`.", +"type": "string" +}, +"enablePrivateBuildsOnly": { +"description": "Optional. If `true`, builds performed during operations that install Python packages have only private connectivity to Google services (including Artifact Registry) and VPC network (if either `NodeConfig.network` and `NodeConfig.subnetwork` fields or `NodeConfig.composer_network_attachment` field are specified). If `false`, the builds also have access to the internet. This field is supported for Cloud Composer environments in versions composer-3-airflow-*.*.*-build.* and newer.", +"type": "boolean" +}, +"enablePrivateEnvironment": { +"description": "Optional. If `true`, a Private IP Cloud Composer environment is created. If this field is set to true, `IPAllocationPolicy.use_ip_aliases` must be set to true for Cloud Composer environments in versions composer-1.*.*-airflow-*.*.*. This field is going to be deprecated. Use `networking_type` instead.", +"type": "boolean" +}, +"enablePrivatelyUsedPublicIps": { +"description": "Optional. When enabled, IPs from public (non-RFC1918) ranges can be used for `IPAllocationPolicy.cluster_ipv4_cidr_block` and `IPAllocationPolicy.service_ipv4_cidr_block`.", +"type": "boolean" +}, +"networkingConfig": { +"$ref": "NetworkingConfig", +"description": "Optional. Configuration for the network connections configuration in the environment." +}, +"networkingType": { +"description": "Optional. Networking type for the environment, either private or public.", +"enum": [ +"NETWORKING_TYPE_UNSPECIFIED", +"PRIVATE", +"PUBLIC" +], +"enumDescriptions": [ +"Default networking type.", +"Private IP Cloud Composer environment with no access to the internet.", +"Cloud Composer environment with access to the internet." +], +"type": "string" +}, +"privateClusterConfig": { +"$ref": "PrivateClusterConfig", +"description": "Optional. Configuration for the private GKE cluster for a Private IP Cloud Composer environment." +}, +"webServerIpv4CidrBlock": { +"description": "Optional. The CIDR block from which IP range for web server will be reserved. Needs to be disjoint from `private_cluster_config.master_ipv4_cidr_block` and `cloud_sql_ipv4_cidr_block`. This field is supported for Cloud Composer environments in versions composer-1.*.*-airflow-*.*.*.", +"type": "string" +}, +"webServerIpv4ReservedRange": { +"description": "Output only. The IP range reserved for the tenant project's App Engine VMs. This field is supported for Cloud Composer environments in versions composer-1.*.*-airflow-*.*.*.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"RecoveryConfig": { +"description": "The Recovery settings of an environment.", +"id": "RecoveryConfig", +"properties": { +"scheduledSnapshotsConfig": { +"$ref": "ScheduledSnapshotsConfig", +"description": "Optional. The configuration for scheduled snapshot creation mechanism." +} +}, +"type": "object" +}, +"RestartWebServerRequest": { +"description": "Restart Airflow web server.", +"id": "RestartWebServerRequest", +"properties": {}, +"type": "object" +}, +"SaveSnapshotRequest": { +"description": "Request to create a snapshot of a Cloud Composer environment.", +"id": "SaveSnapshotRequest", +"properties": { +"snapshotLocation": { +"description": "Location in a Cloud Storage where the snapshot is going to be stored, e.g.: \"gs://my-bucket/snapshots\".", +"type": "string" +} +}, +"type": "object" +}, +"SaveSnapshotResponse": { +"description": "Response to SaveSnapshotRequest.", +"id": "SaveSnapshotResponse", +"properties": { +"snapshotPath": { +"description": "The fully-resolved Cloud Storage path of the created snapshot, e.g.: \"gs://my-bucket/snapshots/project_location_environment_timestamp\". This field is populated only if the snapshot creation was successful.", +"type": "string" +} +}, +"type": "object" +}, +"ScheduledSnapshotsConfig": { +"description": "The configuration for scheduled snapshot creation mechanism.", +"id": "ScheduledSnapshotsConfig", +"properties": { +"enabled": { +"description": "Optional. Whether scheduled snapshots creation is enabled.", +"type": "boolean" +}, +"snapshotCreationSchedule": { +"description": "Optional. The cron expression representing the time when snapshots creation mechanism runs. This field is subject to additional validation around frequency of execution.", +"type": "string" +}, +"snapshotLocation": { +"description": "Optional. The Cloud Storage location for storing automatically created snapshots.", +"type": "string" +}, +"timeZone": { +"description": "Optional. Time zone that sets the context to interpret snapshot_creation_schedule.", +"type": "string" +} +}, +"type": "object" +}, +"SchedulerResource": { +"description": "Configuration for resources used by Airflow schedulers.", +"id": "SchedulerResource", +"properties": { +"count": { +"description": "Optional. The number of schedulers.", +"format": "int32", +"type": "integer" +}, +"cpu": { +"description": "Optional. CPU request and limit for a single Airflow scheduler replica.", +"format": "float", +"type": "number" +}, +"memoryGb": { +"description": "Optional. Memory (GB) request and limit for a single Airflow scheduler replica.", +"format": "float", +"type": "number" +}, +"storageGb": { +"description": "Optional. Storage (GB) request and limit for a single Airflow scheduler replica.", +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"SoftwareConfig": { +"description": "Specifies the selection and configuration of software inside the environment.", +"id": "SoftwareConfig", +"properties": { +"airflowConfigOverrides": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. Apache Airflow configuration properties to override. Property keys contain the section and property names, separated by a hyphen, for example \"core-dags_are_paused_at_creation\". Section names must not contain hyphens (\"-\"), opening square brackets (\"[\"), or closing square brackets (\"]\"). The property name must not be empty and must not contain an equals sign (\"=\") or semicolon (\";\"). Section and property names must not contain a period (\".\"). Apache Airflow configuration property names must be written in [snake_case](https://en.wikipedia.org/wiki/Snake_case). Property values can contain any character, and can be written in any lower/upper case format. Certain Apache Airflow configuration property values are [blocked](/composer/docs/concepts/airflow-configurations), and cannot be overridden.", +"type": "object" +}, +"cloudDataLineageIntegration": { +"$ref": "CloudDataLineageIntegration", +"description": "Optional. The configuration for Cloud Data Lineage integration." +}, +"envVariables": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. Additional environment variables to provide to the Apache Airflow scheduler, worker, and webserver processes. Environment variable names must match the regular expression `a-zA-Z_*`. They cannot specify Apache Airflow software configuration overrides (they cannot match the regular expression `AIRFLOW__[A-Z0-9_]+__[A-Z0-9_]+`), and they cannot match any of the following reserved names: * `AIRFLOW_HOME` * `C_FORCE_ROOT` * `CONTAINER_NAME` * `DAGS_FOLDER` * `GCP_PROJECT` * `GCS_BUCKET` * `GKE_CLUSTER_NAME` * `SQL_DATABASE` * `SQL_INSTANCE` * `SQL_PASSWORD` * `SQL_PROJECT` * `SQL_REGION` * `SQL_USER`", +"type": "object" +}, +"imageVersion": { +"description": "Optional. The version of the software running in the environment. This encapsulates both the version of Cloud Composer functionality and the version of Apache Airflow. It must match the regular expression `composer-([0-9]+(\\.[0-9]+\\.[0-9]+(-preview\\.[0-9]+)?)?|latest)-airflow-([0-9]+(\\.[0-9]+(\\.[0-9]+)?)?)`. When used as input, the server also checks if the provided version is supported and denies the request for an unsupported version. The Cloud Composer portion of the image version is a full [semantic version](https://semver.org), or an alias in the form of major version number or `latest`. When an alias is provided, the server replaces it with the current Cloud Composer version that satisfies the alias. The Apache Airflow portion of the image version is a full semantic version that points to one of the supported Apache Airflow versions, or an alias in the form of only major or major.minor versions specified. When an alias is provided, the server replaces it with the latest Apache Airflow version that satisfies the alias and is supported in the given Cloud Composer version. In all cases, the resolved image version is stored in the same field. See also [version list](/composer/docs/concepts/versioning/composer-versions) and [versioning overview](/composer/docs/concepts/versioning/composer-versioning-overview).", +"type": "string" +}, +"pypiPackages": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. Custom Python Package Index (PyPI) packages to be installed in the environment. Keys refer to the lowercase package name such as \"numpy\" and values are the lowercase extras and version specifier such as \"==1.12.0\", \"[devel,gcp_api]\", or \"[devel]>=1.8.2, <1.9.2\". To specify a package without pinning it to a version specifier, use the empty string as the value.", +"type": "object" +}, +"pythonVersion": { +"description": "Optional. The major version of Python used to run the Apache Airflow scheduler, worker, and webserver processes. Can be set to '2' or '3'. If not specified, the default is '3'. Cannot be updated. This field is only supported for Cloud Composer environments in versions composer-1.*.*-airflow-*.*.*. Environments in newer versions always use Python major version 3.", +"type": "string" +}, +"schedulerCount": { +"description": "Optional. The number of schedulers for Airflow. This field is supported for Cloud Composer environments in versions composer-1.*.*-airflow-2.*.*.", +"format": "int32", +"type": "integer" +}, +"webServerPluginsMode": { +"description": "Optional. Whether or not the web server uses custom plugins. If unspecified, the field defaults to `PLUGINS_ENABLED`. This field is supported for Cloud Composer environments in versions composer-3-airflow-*.*.*-build.* and newer.", +"enum": [ +"WEB_SERVER_PLUGINS_MODE_UNSPECIFIED", +"PLUGINS_DISABLED", +"PLUGINS_ENABLED" +], +"enumDescriptions": [ +"Default mode.", +"Web server plugins are not supported.", +"Web server plugins are supported." +], +"type": "string" +} +}, +"type": "object" +}, +"Status": { +"description": "The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors).", +"id": "Status", +"properties": { +"code": { +"description": "The status code, which should be an enum value of google.rpc.Code.", +"format": "int32", +"type": "integer" +}, +"details": { +"description": "A list of messages that carry the error details. There is a common set of message types for APIs to use.", +"items": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.", +"type": "string" +} +}, +"type": "object" +}, +"StopAirflowCommandRequest": { +"description": "Stop Airflow Command request.", +"id": "StopAirflowCommandRequest", +"properties": { +"executionId": { +"description": "The unique ID of the command execution.", +"type": "string" +}, +"force": { +"description": "If true, the execution is terminated forcefully (SIGKILL). If false, the execution is stopped gracefully, giving it time for cleanup.", +"type": "boolean" +}, +"pod": { +"description": "The name of the pod where the command is executed.", +"type": "string" +}, +"podNamespace": { +"description": "The namespace of the pod where the command is executed.", +"type": "string" +} +}, +"type": "object" +}, +"StopAirflowCommandResponse": { +"description": "Response to StopAirflowCommandRequest.", +"id": "StopAirflowCommandResponse", +"properties": { +"isDone": { +"description": "Whether the execution is still running.", +"type": "boolean" +}, +"output": { +"description": "Output message from stopping execution request.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"StorageConfig": { +"description": "The configuration for data storage in the environment.", +"id": "StorageConfig", +"properties": { +"bucket": { +"description": "Optional. The name of the Cloud Storage bucket used by the environment. No `gs://` prefix.", +"type": "string" +} +}, +"type": "object" +}, +"TaskLogsRetentionConfig": { +"description": "The configuration setting for Task Logs.", +"id": "TaskLogsRetentionConfig", +"properties": { +"storageMode": { +"description": "Optional. The mode of storage for Airflow workers task logs.", +"enum": [ +"TASK_LOGS_STORAGE_MODE_UNSPECIFIED", +"CLOUD_LOGGING_AND_CLOUD_STORAGE", +"CLOUD_LOGGING_ONLY" +], +"enumDescriptions": [ +"This configuration is not specified by the user.", +"Store task logs in Cloud Logging and in the environment's Cloud Storage bucket.", +"Store task logs in Cloud Logging only." +], +"type": "string" +} +}, +"type": "object" +}, +"TriggererResource": { +"description": "Configuration for resources used by Airflow triggerers.", +"id": "TriggererResource", +"properties": { +"count": { +"description": "Optional. The number of triggerers.", +"format": "int32", +"type": "integer" +}, +"cpu": { +"description": "Optional. CPU request and limit for a single Airflow triggerer replica.", +"format": "float", +"type": "number" +}, +"memoryGb": { +"description": "Optional. Memory (GB) request and limit for a single Airflow triggerer replica.", +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"UserWorkloadsConfigMap": { +"description": "User workloads ConfigMap used by Airflow tasks that run with Kubernetes executor or KubernetesPodOperator.", +"id": "UserWorkloadsConfigMap", +"properties": { +"data": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. The \"data\" field of Kubernetes ConfigMap, organized in key-value pairs. For details see: https://kubernetes.io/docs/concepts/configuration/configmap/ Example: { \"example_key\": \"example_value\", \"another_key\": \"another_value\" }", +"type": "object" +}, +"name": { +"description": "Identifier. The resource name of the ConfigMap, in the form: \"projects/{projectId}/locations/{locationId}/environments/{environmentId}/userWorkloadsConfigMaps/{userWorkloadsConfigMapId}\"", +"type": "string" +} +}, +"type": "object" +}, +"UserWorkloadsSecret": { +"description": "User workloads Secret used by Airflow tasks that run with Kubernetes executor or KubernetesPodOperator.", +"id": "UserWorkloadsSecret", +"properties": { +"data": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. The \"data\" field of Kubernetes Secret, organized in key-value pairs, which can contain sensitive values such as a password, a token, or a key. The values for all keys have to be base64-encoded strings. For details see: https://kubernetes.io/docs/concepts/configuration/secret/ Example: { \"example\": \"ZXhhbXBsZV92YWx1ZQ==\", \"another-example\": \"YW5vdGhlcl9leGFtcGxlX3ZhbHVl\" }", +"type": "object" +}, +"name": { +"description": "Identifier. The resource name of the Secret, in the form: \"projects/{projectId}/locations/{locationId}/environments/{environmentId}/userWorkloadsSecrets/{userWorkloadsSecretId}\"", +"type": "string" +} +}, +"type": "object" +}, +"WebServerConfig": { +"description": "The configuration settings for the Airflow web server App Engine instance. Supported for Cloud Composer environments in versions composer-1.*.*-airflow-*.*.*", +"id": "WebServerConfig", +"properties": { +"machineType": { +"description": "Optional. Machine type on which Airflow web server is running. It has to be one of: composer-n1-webserver-2, composer-n1-webserver-4 or composer-n1-webserver-8. If not specified, composer-n1-webserver-2 will be used. Value custom is returned only in response, if Airflow web server parameters were manually changed to a non-standard values.", +"type": "string" +} +}, +"type": "object" +}, +"WebServerNetworkAccessControl": { +"description": "Network-level access control policy for the Airflow web server.", +"id": "WebServerNetworkAccessControl", +"properties": { +"allowedIpRanges": { +"description": "A collection of allowed IP ranges with descriptions.", +"items": { +"$ref": "AllowedIpRange" +}, +"type": "array" +} +}, +"type": "object" +}, +"WebServerResource": { +"description": "Configuration for resources used by Airflow web server.", +"id": "WebServerResource", +"properties": { +"cpu": { +"description": "Optional. CPU request and limit for Airflow web server.", +"format": "float", +"type": "number" +}, +"memoryGb": { +"description": "Optional. Memory (GB) request and limit for Airflow web server.", +"format": "float", +"type": "number" +}, +"storageGb": { +"description": "Optional. Storage (GB) request and limit for Airflow web server.", +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"WorkerResource": { +"description": "Configuration for resources used by Airflow workers.", +"id": "WorkerResource", +"properties": { +"cpu": { +"description": "Optional. CPU request and limit for a single Airflow worker replica.", +"format": "float", +"type": "number" +}, +"maxCount": { +"description": "Optional. Maximum number of workers for autoscaling.", +"format": "int32", +"type": "integer" +}, +"memoryGb": { +"description": "Optional. Memory (GB) request and limit for a single Airflow worker replica.", +"format": "float", +"type": "number" +}, +"minCount": { +"description": "Optional. Minimum number of workers for autoscaling.", +"format": "int32", +"type": "integer" +}, +"storageGb": { +"description": "Optional. Storage (GB) request and limit for a single Airflow worker replica.", +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"WorkloadsConfig": { +"description": "The Kubernetes workloads configuration for GKE cluster associated with the Cloud Composer environment. Supported for Cloud Composer environments in versions composer-2.*.*-airflow-*.*.* and newer.", +"id": "WorkloadsConfig", +"properties": { +"dagProcessor": { +"$ref": "DagProcessorResource", +"description": "Optional. Resources used by Airflow DAG processors. This field is supported for Cloud Composer environments in versions composer-3-airflow-*.*.*-build.* and newer." +}, +"scheduler": { +"$ref": "SchedulerResource", +"description": "Optional. Resources used by Airflow schedulers." +}, +"triggerer": { +"$ref": "TriggererResource", +"description": "Optional. Resources used by Airflow triggerers." +}, +"webServer": { +"$ref": "WebServerResource", +"description": "Optional. Resources used by Airflow web server." +}, +"worker": { +"$ref": "WorkerResource", +"description": "Optional. Resources used by Airflow workers." +} +}, +"type": "object" +} +}, +"servicePath": "", +"title": "Cloud Composer API", +"version": "v1", +"version_module": true +} \ No newline at end of file diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/composer.v1beta1.json b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/composer.v1beta1.json new file mode 100644 index 0000000000000000000000000000000000000000..3a0c1c38b0242c80329a84c2fe06eaea753daa8c --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/composer.v1beta1.json @@ -0,0 +1,2888 @@ +{ +"auth": { +"oauth2": { +"scopes": { +"https://www.googleapis.com/auth/cloud-platform": { +"description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." +}, +"https://www.googleapis.com/auth/cloudcomposer": { +"description": "See, edit, configure, and delete your Google Cloud Composer data and see the email address for your Google Account" +} +} +} +}, +"basePath": "", +"baseUrl": "https://composer.googleapis.com/", +"batchPath": "batch", +"canonicalName": "Cloud Composer", +"description": "Manages Apache Airflow environments on Google Cloud Platform.", +"discoveryVersion": "v1", +"documentationLink": "https://cloud.google.com/composer/", +"endpoints": [ +{ +"description": "Regional Endpoint", +"endpointUrl": "https://composer.africa-south1.rep.googleapis.com/", +"location": "africa-south1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://composer.asia-east1.rep.googleapis.com/", +"location": "asia-east1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://composer.asia-east2.rep.googleapis.com/", +"location": "asia-east2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://composer.asia-northeast1.rep.googleapis.com/", +"location": "asia-northeast1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://composer.asia-northeast2.rep.googleapis.com/", +"location": "asia-northeast2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://composer.asia-northeast3.rep.googleapis.com/", +"location": "asia-northeast3" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://composer.asia-south1.rep.googleapis.com/", +"location": "asia-south1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://composer.asia-south2.rep.googleapis.com/", +"location": "asia-south2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://composer.asia-southeast1.rep.googleapis.com/", +"location": "asia-southeast1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://composer.asia-southeast2.rep.googleapis.com/", +"location": "asia-southeast2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://composer.asia-southeast3.rep.googleapis.com/", +"location": "asia-southeast3" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://composer.australia-southeast1.rep.googleapis.com/", +"location": "australia-southeast1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://composer.australia-southeast2.rep.googleapis.com/", +"location": "australia-southeast2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://composer.europe-central2.rep.googleapis.com/", +"location": "europe-central2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://composer.europe-north1.rep.googleapis.com/", +"location": "europe-north1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://composer.europe-north2.rep.googleapis.com/", +"location": "europe-north2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://composer.europe-southwest1.rep.googleapis.com/", +"location": "europe-southwest1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://composer.europe-west1.rep.googleapis.com/", +"location": "europe-west1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://composer.europe-west10.rep.googleapis.com/", +"location": "europe-west10" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://composer.europe-west12.rep.googleapis.com/", +"location": "europe-west12" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://composer.europe-west15.rep.googleapis.com/", +"location": "europe-west15" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://composer.europe-west2.rep.googleapis.com/", +"location": "europe-west2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://composer.europe-west3.rep.googleapis.com/", +"location": "europe-west3" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://composer.europe-west4.rep.googleapis.com/", +"location": "europe-west4" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://composer.europe-west6.rep.googleapis.com/", +"location": "europe-west6" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://composer.europe-west8.rep.googleapis.com/", +"location": "europe-west8" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://composer.europe-west9.rep.googleapis.com/", +"location": "europe-west9" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://composer.me-central1.rep.googleapis.com/", +"location": "me-central1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://composer.me-central2.rep.googleapis.com/", +"location": "me-central2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://composer.me-west1.rep.googleapis.com/", +"location": "me-west1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://composer.northamerica-northeast1.rep.googleapis.com/", +"location": "northamerica-northeast1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://composer.northamerica-northeast2.rep.googleapis.com/", +"location": "northamerica-northeast2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://composer.northamerica-south1.rep.googleapis.com/", +"location": "northamerica-south1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://composer.southamerica-east1.rep.googleapis.com/", +"location": "southamerica-east1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://composer.southamerica-west1.rep.googleapis.com/", +"location": "southamerica-west1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://composer.us-central1.rep.googleapis.com/", +"location": "us-central1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://composer.us-east1.rep.googleapis.com/", +"location": "us-east1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://composer.us-east4.rep.googleapis.com/", +"location": "us-east4" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://composer.us-east5.rep.googleapis.com/", +"location": "us-east5" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://composer.us-east7.rep.googleapis.com/", +"location": "us-east7" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://composer.us-south1.rep.googleapis.com/", +"location": "us-south1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://composer.us-west1.rep.googleapis.com/", +"location": "us-west1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://composer.us-west2.rep.googleapis.com/", +"location": "us-west2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://composer.us-west3.rep.googleapis.com/", +"location": "us-west3" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://composer.us-west4.rep.googleapis.com/", +"location": "us-west4" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://composer.us-west8.rep.googleapis.com/", +"location": "us-west8" +} +], +"fullyEncodeReservedExpansion": true, +"icons": { +"x16": "http://www.google.com/images/icons/product/search-16.gif", +"x32": "http://www.google.com/images/icons/product/search-32.gif" +}, +"id": "composer:v1beta1", +"kind": "discovery#restDescription", +"mtlsRootUrl": "https://composer.mtls.googleapis.com/", +"name": "composer", +"ownerDomain": "google.com", +"ownerName": "Google", +"parameters": { +"$.xgafv": { +"description": "V1 error format.", +"enum": [ +"1", +"2" +], +"enumDescriptions": [ +"v1 error format", +"v2 error format" +], +"location": "query", +"type": "string" +}, +"access_token": { +"description": "OAuth access token.", +"location": "query", +"type": "string" +}, +"alt": { +"default": "json", +"description": "Data format for response.", +"enum": [ +"json", +"media", +"proto" +], +"enumDescriptions": [ +"Responses with Content-Type of application/json", +"Media download with context-dependent Content-Type", +"Responses with Content-Type of application/x-protobuf" +], +"location": "query", +"type": "string" +}, +"callback": { +"description": "JSONP", +"location": "query", +"type": "string" +}, +"fields": { +"description": "Selector specifying which fields to include in a partial response.", +"location": "query", +"type": "string" +}, +"key": { +"description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", +"location": "query", +"type": "string" +}, +"oauth_token": { +"description": "OAuth 2.0 token for the current user.", +"location": "query", +"type": "string" +}, +"prettyPrint": { +"default": "true", +"description": "Returns response with indentations and line breaks.", +"location": "query", +"type": "boolean" +}, +"quotaUser": { +"description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.", +"location": "query", +"type": "string" +}, +"uploadType": { +"description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", +"location": "query", +"type": "string" +}, +"upload_protocol": { +"description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", +"location": "query", +"type": "string" +} +}, +"protocol": "rest", +"resources": { +"projects": { +"resources": { +"locations": { +"resources": { +"environments": { +"methods": { +"checkUpgrade": { +"description": "Check if an upgrade operation on the environment will succeed. In case of problems detailed info can be found in the returned Operation.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/environments/{environmentsId}:checkUpgrade", +"httpMethod": "POST", +"id": "composer.projects.locations.environments.checkUpgrade", +"parameterOrder": [ +"environment" +], +"parameters": { +"environment": { +"description": "The resource name of the environment to check upgrade for, in the form: \"projects/{projectId}/locations/{locationId}/environments/{environmentId}\"", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/environments/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+environment}:checkUpgrade", +"request": { +"$ref": "CheckUpgradeRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloudcomposer" +] +}, +"create": { +"description": "Create a new environment.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/environments", +"httpMethod": "POST", +"id": "composer.projects.locations.environments.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "The parent must be of the form \"projects/{projectId}/locations/{locationId}\".", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+parent}/environments", +"request": { +"$ref": "Environment" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloudcomposer" +] +}, +"databaseFailover": { +"description": "Triggers database failover (only for highly resilient environments).", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/environments/{environmentsId}:databaseFailover", +"httpMethod": "POST", +"id": "composer.projects.locations.environments.databaseFailover", +"parameterOrder": [ +"environment" +], +"parameters": { +"environment": { +"description": "Target environment: \"projects/{projectId}/locations/{locationId}/environments/{environmentId}\"", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/environments/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+environment}:databaseFailover", +"request": { +"$ref": "DatabaseFailoverRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloudcomposer" +] +}, +"delete": { +"description": "Delete an environment.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/environments/{environmentsId}", +"httpMethod": "DELETE", +"id": "composer.projects.locations.environments.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The environment to delete, in the form: \"projects/{projectId}/locations/{locationId}/environments/{environmentId}\"", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/environments/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloudcomposer" +] +}, +"executeAirflowCommand": { +"description": "Executes Airflow CLI command.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/environments/{environmentsId}:executeAirflowCommand", +"httpMethod": "POST", +"id": "composer.projects.locations.environments.executeAirflowCommand", +"parameterOrder": [ +"environment" +], +"parameters": { +"environment": { +"description": "The resource name of the environment in the form: \"projects/{projectId}/locations/{locationId}/environments/{environmentId}\".", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/environments/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+environment}:executeAirflowCommand", +"request": { +"$ref": "ExecuteAirflowCommandRequest" +}, +"response": { +"$ref": "ExecuteAirflowCommandResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloudcomposer" +] +}, +"fetchDatabaseProperties": { +"description": "Fetches database properties.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/environments/{environmentsId}:fetchDatabaseProperties", +"httpMethod": "GET", +"id": "composer.projects.locations.environments.fetchDatabaseProperties", +"parameterOrder": [ +"environment" +], +"parameters": { +"environment": { +"description": "Required. The resource name of the environment, in the form: \"projects/{projectId}/locations/{locationId}/environments/{environmentId}\"", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/environments/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+environment}:fetchDatabaseProperties", +"response": { +"$ref": "FetchDatabasePropertiesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloudcomposer" +] +}, +"get": { +"description": "Get an existing environment.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/environments/{environmentsId}", +"httpMethod": "GET", +"id": "composer.projects.locations.environments.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The resource name of the environment to get, in the form: \"projects/{projectId}/locations/{locationId}/environments/{environmentId}\"", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/environments/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+name}", +"response": { +"$ref": "Environment" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloudcomposer" +] +}, +"list": { +"description": "List environments.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/environments", +"httpMethod": "GET", +"id": "composer.projects.locations.environments.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "The maximum number of environments to return.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The next_page_token value returned from a previous List request, if any.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "List environments in the given project and location, in the form: \"projects/{projectId}/locations/{locationId}\"", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+parent}/environments", +"response": { +"$ref": "ListEnvironmentsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloudcomposer" +] +}, +"loadSnapshot": { +"description": "Loads a snapshot of a Cloud Composer environment. As a result of this operation, a snapshot of environment's specified in LoadSnapshotRequest is loaded into the environment.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/environments/{environmentsId}:loadSnapshot", +"httpMethod": "POST", +"id": "composer.projects.locations.environments.loadSnapshot", +"parameterOrder": [ +"environment" +], +"parameters": { +"environment": { +"description": "The resource name of the target environment in the form: \"projects/{projectId}/locations/{locationId}/environments/{environmentId}\"", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/environments/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+environment}:loadSnapshot", +"request": { +"$ref": "LoadSnapshotRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloudcomposer" +] +}, +"patch": { +"description": "Update an environment.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/environments/{environmentsId}", +"httpMethod": "PATCH", +"id": "composer.projects.locations.environments.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The relative resource name of the environment to update, in the form: \"projects/{projectId}/locations/{locationId}/environments/{environmentId}\"", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/environments/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Required. A comma-separated list of paths, relative to `Environment`, of fields to update. For example, to set the version of scikit-learn to install in the environment to 0.19.0 and to remove an existing installation of argparse, the `updateMask` parameter would include the following two `paths` values: \"config.softwareConfig.pypiPackages.scikit-learn\" and \"config.softwareConfig.pypiPackages.argparse\". The included patch environment would specify the scikit-learn version as follows: { \"config\":{ \"softwareConfig\":{ \"pypiPackages\":{ \"scikit-learn\":\"==0.19.0\" } } } } Note that in the above example, any existing PyPI packages other than scikit-learn and argparse will be unaffected. Only one update type may be included in a single request's `updateMask`. For example, one cannot update both the PyPI packages and labels in the same request. However, it is possible to update multiple members of a map field simultaneously in the same request. For example, to set the labels \"label1\" and \"label2\" while clearing \"label3\" (assuming it already exists), one can provide the paths \"labels.label1\", \"labels.label2\", and \"labels.label3\" and populate the patch environment as follows: { \"labels\":{ \"label1\":\"new-label1-value\" \"label2\":\"new-label2-value\" } } Note that in the above example, any existing labels that are not included in the `updateMask` will be unaffected. It is also possible to replace an entire map field by providing the map field's path in the `updateMask`. The new value of the field will be that which is provided in the patch environment. For example, to delete all pre-existing user-specified PyPI packages and install botocore at version 1.7.14, the `updateMask` would contain the path \"config.softwareConfig.pypiPackages\", and the patch environment would be the following: { \"config\":{ \"softwareConfig\":{ \"pypiPackages\":{ \"botocore\":\"==1.7.14\" } } } } **Note:** Only the following fields can be updated: * `config.softwareConfig.pypiPackages` * Replace all custom custom PyPI packages. If a replacement package map is not included in `environment`, all custom PyPI packages are cleared. It is an error to provide both this mask and a mask specifying an individual package. * `config.softwareConfig.pypiPackages.`packagename * Update the custom PyPI package *packagename*, preserving other packages. To delete the package, include it in `updateMask`, and omit the mapping for it in `environment.config.softwareConfig.pypiPackages`. It is an error to provide both a mask of this form and the `config.softwareConfig.pypiPackages` mask. * `labels` * Replace all environment labels. If a replacement labels map is not included in `environment`, all labels are cleared. It is an error to provide both this mask and a mask specifying one or more individual labels. * `labels.`labelName * Set the label named *labelName*, while preserving other labels. To delete the label, include it in `updateMask` and omit its mapping in `environment.labels`. It is an error to provide both a mask of this form and the `labels` mask. * `config.nodeCount` * Horizontally scale the number of nodes in the environment. An integer greater than or equal to 3 must be provided in the `config.nodeCount` field. Supported for Cloud Composer environments in versions composer-1.*.*-airflow-*.*.*. * `config.webServerNetworkAccessControl` * Replace the environment's current WebServerNetworkAccessControl. * `config.softwareConfig.airflowConfigOverrides` * Replace all Apache Airflow config overrides. If a replacement config overrides map is not included in `environment`, all config overrides are cleared. It is an error to provide both this mask and a mask specifying one or more individual config overrides. * `config.softwareConfig.airflowConfigOverrides.`section-name * Override the Apache Airflow config property *name* in the section named *section*, preserving other properties. To delete the property override, include it in `updateMask` and omit its mapping in `environment.config.softwareConfig.airflowConfigOverrides`. It is an error to provide both a mask of this form and the `config.softwareConfig.airflowConfigOverrides` mask. * `config.softwareConfig.envVariables` * Replace all environment variables. If a replacement environment variable map is not included in `environment`, all custom environment variables are cleared. * `config.softwareConfig.imageVersion` * Upgrade the version of the environment in-place. Refer to `SoftwareConfig.image_version` for information on how to format the new image version. Additionally, the new image version cannot effect a version downgrade, and must match the current image version's Composer and Airflow major versions. Consult the [Cloud Composer version list](/composer/docs/concepts/versioning/composer-versions) for valid values. * `config.softwareConfig.schedulerCount` * Horizontally scale the number of schedulers in Airflow. A positive integer not greater than the number of nodes must be provided in the `config.softwareConfig.schedulerCount` field. Supported for Cloud Composer environments in versions composer-1.*.*-airflow-2.*.*. * `config.softwareConfig.cloudDataLineageIntegration` * Configuration for Cloud Data Lineage integration. * `config.databaseConfig.machineType` * Cloud SQL machine type used by Airflow database. It has to be one of: db-n1-standard-2, db-n1-standard-4, db-n1-standard-8 or db-n1-standard-16. Supported for Cloud Composer environments in versions composer-1.*.*-airflow-*.*.*. * `config.webServerConfig.machineType` * Machine type on which Airflow web server is running. It has to be one of: composer-n1-webserver-2, composer-n1-webserver-4 or composer-n1-webserver-8. Supported for Cloud Composer environments in versions composer-1.*.*-airflow-*.*.*. * `config.maintenanceWindow` * Maintenance window during which Cloud Composer components may be under maintenance. * `config.workloadsConfig` * The workloads configuration settings for the GKE cluster associated with the Cloud Composer environment. Supported for Cloud Composer environments in versions composer-2.*.*-airflow-*.*.* and newer. * `config.environmentSize` * The size of the Cloud Composer environment. Supported for Cloud Composer environments in versions composer-2.*.*-airflow-*.*.* and newer.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1beta1/{+name}", +"request": { +"$ref": "Environment" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloudcomposer" +] +}, +"pollAirflowCommand": { +"description": "Polls Airflow CLI command execution and fetches logs.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/environments/{environmentsId}:pollAirflowCommand", +"httpMethod": "POST", +"id": "composer.projects.locations.environments.pollAirflowCommand", +"parameterOrder": [ +"environment" +], +"parameters": { +"environment": { +"description": "The resource name of the environment in the form: \"projects/{projectId}/locations/{locationId}/environments/{environmentId}\"", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/environments/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+environment}:pollAirflowCommand", +"request": { +"$ref": "PollAirflowCommandRequest" +}, +"response": { +"$ref": "PollAirflowCommandResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloudcomposer" +] +}, +"restartWebServer": { +"description": "Restart Airflow web server.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/environments/{environmentsId}:restartWebServer", +"httpMethod": "POST", +"id": "composer.projects.locations.environments.restartWebServer", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the environment to restart the web server for, in the form: \"projects/{projectId}/locations/{locationId}/environments/{environmentId}\"", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/environments/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+name}:restartWebServer", +"request": { +"$ref": "RestartWebServerRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloudcomposer" +] +}, +"saveSnapshot": { +"description": "Creates a snapshots of a Cloud Composer environment. As a result of this operation, snapshot of environment's state is stored in a location specified in the SaveSnapshotRequest.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/environments/{environmentsId}:saveSnapshot", +"httpMethod": "POST", +"id": "composer.projects.locations.environments.saveSnapshot", +"parameterOrder": [ +"environment" +], +"parameters": { +"environment": { +"description": "The resource name of the source environment in the form: \"projects/{projectId}/locations/{locationId}/environments/{environmentId}\"", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/environments/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+environment}:saveSnapshot", +"request": { +"$ref": "SaveSnapshotRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloudcomposer" +] +}, +"stopAirflowCommand": { +"description": "Stops Airflow CLI command execution.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/environments/{environmentsId}:stopAirflowCommand", +"httpMethod": "POST", +"id": "composer.projects.locations.environments.stopAirflowCommand", +"parameterOrder": [ +"environment" +], +"parameters": { +"environment": { +"description": "The resource name of the environment in the form: \"projects/{projectId}/locations/{locationId}/environments/{environmentId}\".", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/environments/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+environment}:stopAirflowCommand", +"request": { +"$ref": "StopAirflowCommandRequest" +}, +"response": { +"$ref": "StopAirflowCommandResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloudcomposer" +] +} +}, +"resources": { +"userWorkloadsConfigMaps": { +"methods": { +"create": { +"description": "Creates a user workloads ConfigMap. This method is supported for Cloud Composer environments in versions composer-3-airflow-*.*.*-build.* and newer.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/environments/{environmentsId}/userWorkloadsConfigMaps", +"httpMethod": "POST", +"id": "composer.projects.locations.environments.userWorkloadsConfigMaps.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The environment name to create a ConfigMap for, in the form: \"projects/{projectId}/locations/{locationId}/environments/{environmentId}\"", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/environments/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+parent}/userWorkloadsConfigMaps", +"request": { +"$ref": "UserWorkloadsConfigMap" +}, +"response": { +"$ref": "UserWorkloadsConfigMap" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloudcomposer" +] +}, +"delete": { +"description": "Deletes a user workloads ConfigMap. This method is supported for Cloud Composer environments in versions composer-3-airflow-*.*.*-build.* and newer.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/environments/{environmentsId}/userWorkloadsConfigMaps/{userWorkloadsConfigMapsId}", +"httpMethod": "DELETE", +"id": "composer.projects.locations.environments.userWorkloadsConfigMaps.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The ConfigMap to delete, in the form: \"projects/{projectId}/locations/{locationId}/environments/{environmentId}/userWorkloadsConfigMaps/{userWorkloadsConfigMapId}\"", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/environments/[^/]+/userWorkloadsConfigMaps/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+name}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloudcomposer" +] +}, +"get": { +"description": "Gets an existing user workloads ConfigMap. This method is supported for Cloud Composer environments in versions composer-3-airflow-*.*.*-build.* and newer.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/environments/{environmentsId}/userWorkloadsConfigMaps/{userWorkloadsConfigMapsId}", +"httpMethod": "GET", +"id": "composer.projects.locations.environments.userWorkloadsConfigMaps.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the ConfigMap to get, in the form: \"projects/{projectId}/locations/{locationId}/environments/{environmentId}/userWorkloadsConfigMaps/{userWorkloadsConfigMapId}\"", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/environments/[^/]+/userWorkloadsConfigMaps/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+name}", +"response": { +"$ref": "UserWorkloadsConfigMap" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloudcomposer" +] +}, +"list": { +"description": "Lists user workloads ConfigMaps. This method is supported for Cloud Composer environments in versions composer-3-airflow-*.*.*-build.* and newer.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/environments/{environmentsId}/userWorkloadsConfigMaps", +"httpMethod": "GET", +"id": "composer.projects.locations.environments.userWorkloadsConfigMaps.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "Optional. The maximum number of ConfigMaps to return.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. The next_page_token value returned from a previous List request, if any.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. List ConfigMaps in the given environment, in the form: \"projects/{projectId}/locations/{locationId}/environments/{environmentId}\"", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/environments/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+parent}/userWorkloadsConfigMaps", +"response": { +"$ref": "ListUserWorkloadsConfigMapsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloudcomposer" +] +}, +"update": { +"description": "Updates a user workloads ConfigMap. This method is supported for Cloud Composer environments in versions composer-3-airflow-*.*.*-build.* and newer.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/environments/{environmentsId}/userWorkloadsConfigMaps/{userWorkloadsConfigMapsId}", +"httpMethod": "PUT", +"id": "composer.projects.locations.environments.userWorkloadsConfigMaps.update", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Identifier. The resource name of the ConfigMap, in the form: \"projects/{projectId}/locations/{locationId}/environments/{environmentId}/userWorkloadsConfigMaps/{userWorkloadsConfigMapId}\"", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/environments/[^/]+/userWorkloadsConfigMaps/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+name}", +"request": { +"$ref": "UserWorkloadsConfigMap" +}, +"response": { +"$ref": "UserWorkloadsConfigMap" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloudcomposer" +] +} +} +}, +"userWorkloadsSecrets": { +"methods": { +"create": { +"description": "Creates a user workloads Secret. This method is supported for Cloud Composer environments in versions composer-3-airflow-*.*.*-build.* and newer.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/environments/{environmentsId}/userWorkloadsSecrets", +"httpMethod": "POST", +"id": "composer.projects.locations.environments.userWorkloadsSecrets.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The environment name to create a Secret for, in the form: \"projects/{projectId}/locations/{locationId}/environments/{environmentId}\"", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/environments/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+parent}/userWorkloadsSecrets", +"request": { +"$ref": "UserWorkloadsSecret" +}, +"response": { +"$ref": "UserWorkloadsSecret" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloudcomposer" +] +}, +"delete": { +"description": "Deletes a user workloads Secret. This method is supported for Cloud Composer environments in versions composer-3-airflow-*.*.*-build.* and newer.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/environments/{environmentsId}/userWorkloadsSecrets/{userWorkloadsSecretsId}", +"httpMethod": "DELETE", +"id": "composer.projects.locations.environments.userWorkloadsSecrets.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The Secret to delete, in the form: \"projects/{projectId}/locations/{locationId}/environments/{environmentId}/userWorkloadsSecrets/{userWorkloadsSecretId}\"", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/environments/[^/]+/userWorkloadsSecrets/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+name}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloudcomposer" +] +}, +"get": { +"description": "Gets an existing user workloads Secret. Values of the \"data\" field in the response are cleared. This method is supported for Cloud Composer environments in versions composer-3-airflow-*.*.*-build.* and newer.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/environments/{environmentsId}/userWorkloadsSecrets/{userWorkloadsSecretsId}", +"httpMethod": "GET", +"id": "composer.projects.locations.environments.userWorkloadsSecrets.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the Secret to get, in the form: \"projects/{projectId}/locations/{locationId}/environments/{environmentId}/userWorkloadsSecrets/{userWorkloadsSecretId}\"", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/environments/[^/]+/userWorkloadsSecrets/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+name}", +"response": { +"$ref": "UserWorkloadsSecret" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloudcomposer" +] +}, +"list": { +"description": "Lists user workloads Secrets. This method is supported for Cloud Composer environments in versions composer-3-airflow-*.*.*-build.* and newer.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/environments/{environmentsId}/userWorkloadsSecrets", +"httpMethod": "GET", +"id": "composer.projects.locations.environments.userWorkloadsSecrets.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "Optional. The maximum number of Secrets to return.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. The next_page_token value returned from a previous List request, if any.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. List Secrets in the given environment, in the form: \"projects/{projectId}/locations/{locationId}/environments/{environmentId}\"", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/environments/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+parent}/userWorkloadsSecrets", +"response": { +"$ref": "ListUserWorkloadsSecretsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloudcomposer" +] +}, +"update": { +"description": "Updates a user workloads Secret. This method is supported for Cloud Composer environments in versions composer-3-airflow-*.*.*-build.* and newer.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/environments/{environmentsId}/userWorkloadsSecrets/{userWorkloadsSecretsId}", +"httpMethod": "PUT", +"id": "composer.projects.locations.environments.userWorkloadsSecrets.update", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Identifier. The resource name of the Secret, in the form: \"projects/{projectId}/locations/{locationId}/environments/{environmentId}/userWorkloadsSecrets/{userWorkloadsSecretId}\"", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/environments/[^/]+/userWorkloadsSecrets/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+name}", +"request": { +"$ref": "UserWorkloadsSecret" +}, +"response": { +"$ref": "UserWorkloadsSecret" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloudcomposer" +] +} +} +}, +"workloads": { +"methods": { +"list": { +"description": "Lists workloads in a Cloud Composer environment. Workload is a unit that runs a single Composer component. This method is supported for Cloud Composer environments in versions composer-2.*.*-airflow-*.*.* and newer.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/environments/{environmentsId}/workloads", +"httpMethod": "GET", +"id": "composer.projects.locations.environments.workloads.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Optional. The list filter. Currently only supports equality on the type field. The value of a field specified in the filter expression must be one ComposerWorkloadType enum option. It's possible to get multiple types using \"OR\" operator, e.g.: \"type=SCHEDULER OR type=CELERY_WORKER\". If not specified, all items are returned.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Optional. The maximum number of environments to return.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. The next_page_token value returned from a previous List request, if any.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The environment name to get workloads for, in the form: \"projects/{projectId}/locations/{locationId}/environments/{environmentId}\"", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/environments/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+parent}/workloads", +"response": { +"$ref": "ListWorkloadsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloudcomposer" +] +} +} +} +} +}, +"imageVersions": { +"methods": { +"list": { +"description": "List ImageVersions for provided location.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/imageVersions", +"httpMethod": "GET", +"id": "composer.projects.locations.imageVersions.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"includePastReleases": { +"description": "Whether or not image versions from old releases should be included.", +"location": "query", +"type": "boolean" +}, +"pageSize": { +"description": "The maximum number of image_versions to return.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The next_page_token value returned from a previous List request, if any.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "List ImageVersions in the given project and location, in the form: \"projects/{projectId}/locations/{locationId}\"", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+parent}/imageVersions", +"response": { +"$ref": "ListImageVersionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloudcomposer" +] +} +} +}, +"operations": { +"methods": { +"delete": { +"description": "Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}", +"httpMethod": "DELETE", +"id": "composer.projects.locations.operations.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be deleted.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+name}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloudcomposer" +] +}, +"get": { +"description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}", +"httpMethod": "GET", +"id": "composer.projects.locations.operations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloudcomposer" +] +}, +"list": { +"description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/operations", +"httpMethod": "GET", +"id": "composer.projects.locations.operations.list", +"parameterOrder": [ +"name" +], +"parameters": { +"filter": { +"description": "The standard list filter.", +"location": "query", +"type": "string" +}, +"name": { +"description": "The name of the operation's parent resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The standard list page size.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The standard list page token.", +"location": "query", +"type": "string" +}, +"returnPartialSuccess": { +"description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `\"projects/example/locations/-\"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1beta1/{+name}/operations", +"response": { +"$ref": "ListOperationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloudcomposer" +] +} +} +} +} +} +} +} +}, +"revision": "20260219", +"rootUrl": "https://composer.googleapis.com/", +"schemas": { +"AirflowMetadataRetentionPolicyConfig": { +"description": "The policy for airflow metadata database retention.", +"id": "AirflowMetadataRetentionPolicyConfig", +"properties": { +"retentionDays": { +"description": "Optional. How many days data should be retained for.", +"format": "int32", +"type": "integer" +}, +"retentionMode": { +"description": "Optional. Retention can be either enabled or disabled.", +"enum": [ +"RETENTION_MODE_UNSPECIFIED", +"RETENTION_MODE_ENABLED", +"RETENTION_MODE_DISABLED" +], +"enumDescriptions": [ +"Default mode doesn't change environment parameters.", +"Retention policy is enabled.", +"Retention policy is disabled." +], +"type": "string" +} +}, +"type": "object" +}, +"AllowedIpRange": { +"description": "Allowed IP range with user-provided description.", +"id": "AllowedIpRange", +"properties": { +"description": { +"description": "Optional. User-provided description. It must contain at most 300 characters.", +"type": "string" +}, +"value": { +"description": "IP address or range, defined using CIDR notation, of requests that this rule applies to. Examples: `192.168.1.1` or `192.168.0.0/16` or `2001:db8::/32` or `2001:0db8:0000:0042:0000:8a2e:0370:7334`. IP range prefixes should be properly truncated. For example, `1.2.3.4/24` should be truncated to `1.2.3.0/24`. Similarly, for IPv6, `2001:db8::1/32` should be truncated to `2001:db8::/32`.", +"type": "string" +} +}, +"type": "object" +}, +"CheckUpgradeRequest": { +"description": "Request to check whether image upgrade will succeed.", +"id": "CheckUpgradeRequest", +"properties": { +"imageVersion": { +"description": "The version of the software running in the environment. This encapsulates both the version of Cloud Composer functionality and the version of Apache Airflow. It must match the regular expression `composer-([0-9]+(\\.[0-9]+\\.[0-9]+(-preview\\.[0-9]+)?)?|latest)-airflow-([0-9]+(\\.[0-9]+(\\.[0-9]+)?)?)`. When used as input, the server also checks if the provided version is supported and denies the request for an unsupported version. The Cloud Composer portion of the image version is a full [semantic version](https://semver.org), or an alias in the form of major version number or `latest`. When an alias is provided, the server replaces it with the current Cloud Composer version that satisfies the alias. The Apache Airflow portion of the image version is a full semantic version that points to one of the supported Apache Airflow versions, or an alias in the form of only major or major.minor versions specified. When an alias is provided, the server replaces it with the latest Apache Airflow version that satisfies the alias and is supported in the given Cloud Composer version. In all cases, the resolved image version is stored in the same field. See also [version list](/composer/docs/concepts/versioning/composer-versions) and [versioning overview](/composer/docs/concepts/versioning/composer-versioning-overview).", +"type": "string" +} +}, +"type": "object" +}, +"CheckUpgradeResponse": { +"description": "Message containing information about the result of an upgrade check operation.", +"id": "CheckUpgradeResponse", +"properties": { +"buildLogUri": { +"description": "Output only. Url for a docker build log of an upgraded image.", +"readOnly": true, +"type": "string" +}, +"configConflicts": { +"description": "Output only. Contains information about environment configuration that is incompatible with the new image version, except for pypi modules conflicts.", +"items": { +"$ref": "ConfigConflict" +}, +"readOnly": true, +"type": "array" +}, +"containsPypiModulesConflict": { +"description": "Output only. Whether build has succeeded or failed on modules conflicts.", +"enum": [ +"CONFLICT_RESULT_UNSPECIFIED", +"CONFLICT", +"NO_CONFLICT" +], +"enumDescriptions": [ +"It is unknown whether build had conflicts or not.", +"There were python packages conflicts.", +"There were no python packages conflicts." +], +"readOnly": true, +"type": "string" +}, +"imageVersion": { +"description": "Composer image for which the build was happening.", +"type": "string" +}, +"pypiConflictBuildLogExtract": { +"description": "Output only. Extract from a docker image build log containing information about pypi modules conflicts.", +"readOnly": true, +"type": "string" +}, +"pypiDependencies": { +"additionalProperties": { +"type": "string" +}, +"description": "Pypi dependencies specified in the environment configuration, at the time when the build was triggered.", +"type": "object" +} +}, +"type": "object" +}, +"CidrBlock": { +"description": "CIDR block with an optional name.", +"id": "CidrBlock", +"properties": { +"cidrBlock": { +"description": "CIDR block that must be specified in CIDR notation.", +"type": "string" +}, +"displayName": { +"description": "User-defined name that identifies the CIDR block.", +"type": "string" +} +}, +"type": "object" +}, +"CloudDataLineageIntegration": { +"description": "Configuration for Cloud Data Lineage integration.", +"id": "CloudDataLineageIntegration", +"properties": { +"enabled": { +"description": "Optional. Whether or not Cloud Data Lineage integration is enabled.", +"type": "boolean" +} +}, +"type": "object" +}, +"ComposerWorkload": { +"description": "Information about a single workload.", +"id": "ComposerWorkload", +"properties": { +"name": { +"description": "Name of a workload.", +"type": "string" +}, +"status": { +"$ref": "ComposerWorkloadStatus", +"description": "Output only. Status of a workload.", +"readOnly": true +}, +"type": { +"description": "Type of a workload.", +"enum": [ +"COMPOSER_WORKLOAD_TYPE_UNSPECIFIED", +"CELERY_WORKER", +"KUBERNETES_WORKER", +"KUBERNETES_OPERATOR_POD", +"SCHEDULER", +"DAG_PROCESSOR", +"TRIGGERER", +"WEB_SERVER", +"REDIS" +], +"enumDescriptions": [ +"Not able to determine the type of the workload.", +"Celery worker.", +"Kubernetes worker.", +"Workload created by Kubernetes Pod Operator.", +"Airflow scheduler.", +"Airflow Dag processor.", +"Airflow triggerer.", +"Airflow web server UI.", +"Redis." +], +"type": "string" +} +}, +"type": "object" +}, +"ComposerWorkloadStatus": { +"description": "Workload status.", +"id": "ComposerWorkloadStatus", +"properties": { +"detailedStatusMessage": { +"description": "Output only. Detailed message of the status.", +"readOnly": true, +"type": "string" +}, +"state": { +"description": "Output only. Workload state.", +"enum": [ +"COMPOSER_WORKLOAD_STATE_UNSPECIFIED", +"PENDING", +"OK", +"WARNING", +"ERROR", +"SUCCEEDED", +"FAILED" +], +"enumDescriptions": [ +"Not able to determine the status of the workload.", +"Workload is in pending state and has not yet started.", +"Workload is running fine.", +"Workload is running but there are some non-critical problems.", +"Workload is not running due to an error.", +"Workload has finished execution with success.", +"Workload has finished execution with failure." +], +"readOnly": true, +"type": "string" +}, +"statusMessage": { +"description": "Output only. Text to provide more descriptive status.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"ConfigConflict": { +"description": "Environment configuration conflict.", +"id": "ConfigConflict", +"properties": { +"message": { +"description": "Conflict message.", +"type": "string" +}, +"type": { +"description": "Conflict type. It can be blocking or non-blocking.", +"enum": [ +"CONFLICT_TYPE_UNSPECIFIED", +"BLOCKING", +"NON_BLOCKING" +], +"enumDescriptions": [ +"Conflict type is unknown.", +"Conflict is blocking, the upgrade would fail.", +"Conflict is non-blocking. The upgrade would succeed, but the environment configuration would be changed." +], +"type": "string" +} +}, +"type": "object" +}, +"DagProcessorResource": { +"description": "Configuration for resources used by Airflow DAG processors. This field is supported for Cloud Composer environments in versions composer-3-airflow-*.*.*-build.* and newer.", +"id": "DagProcessorResource", +"properties": { +"count": { +"description": "Optional. The number of DAG processors. If not provided or set to 0, a single DAG processor instance will be created.", +"format": "int32", +"type": "integer" +}, +"cpu": { +"description": "Optional. CPU request and limit for a single Airflow DAG processor replica.", +"format": "float", +"type": "number" +}, +"memoryGb": { +"description": "Optional. Memory (GB) request and limit for a single Airflow DAG processor replica.", +"format": "float", +"type": "number" +}, +"storageGb": { +"description": "Optional. Storage (GB) request and limit for a single Airflow DAG processor replica.", +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"DataRetentionConfig": { +"description": "The configuration setting for Airflow database data retention mechanism.", +"id": "DataRetentionConfig", +"properties": { +"airflowDatabaseRetentionDays": { +"deprecated": true, +"description": "Optional. The number of days describing for how long to store event-based records in airflow database. If the retention mechanism is enabled this value must be a positive integer otherwise, value should be set to 0.", +"format": "int32", +"type": "integer" +}, +"airflowMetadataRetentionConfig": { +"$ref": "AirflowMetadataRetentionPolicyConfig", +"description": "Optional. The retention policy for airflow metadata database." +}, +"taskLogsRetentionConfig": { +"$ref": "TaskLogsRetentionConfig", +"description": "Optional. The configuration settings for task logs retention" +} +}, +"type": "object" +}, +"DatabaseConfig": { +"description": "The configuration of Cloud SQL instance that is used by the Apache Airflow software.", +"id": "DatabaseConfig", +"properties": { +"machineType": { +"description": "Optional. Cloud SQL machine type used by Airflow database. It has to be one of: db-n1-standard-2, db-n1-standard-4, db-n1-standard-8 or db-n1-standard-16. If not specified, db-n1-standard-2 will be used. Supported for Cloud Composer environments in versions composer-1.*.*-airflow-*.*.*.", +"type": "string" +}, +"zone": { +"description": "Optional. The Compute Engine zone where the Airflow database is created. If zone is provided, it must be in the region selected for the environment. If zone is not provided, a zone is automatically selected. The zone can only be set during environment creation. Supported for Cloud Composer environments in versions composer-2.*.*-airflow-*.*.*.", +"type": "string" +} +}, +"type": "object" +}, +"DatabaseFailoverRequest": { +"description": "Request to trigger database failover (only for highly resilient environments).", +"id": "DatabaseFailoverRequest", +"properties": {}, +"type": "object" +}, +"DatabaseFailoverResponse": { +"description": "Response for DatabaseFailoverRequest.", +"id": "DatabaseFailoverResponse", +"properties": {}, +"type": "object" +}, +"Date": { +"description": "Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following: * A full date, with non-zero year, month, and day values. * A month and day, with a zero year (for example, an anniversary). * A year on its own, with a zero month and a zero day. * A year and month, with a zero day (for example, a credit card expiration date). Related types: * google.type.TimeOfDay * google.type.DateTime * google.protobuf.Timestamp", +"id": "Date", +"properties": { +"day": { +"description": "Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn't significant.", +"format": "int32", +"type": "integer" +}, +"month": { +"description": "Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.", +"format": "int32", +"type": "integer" +}, +"year": { +"description": "Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"Empty": { +"description": "A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }", +"id": "Empty", +"properties": {}, +"type": "object" +}, +"EncryptionConfig": { +"description": "The encryption options for the Cloud Composer environment and its dependencies. Supported for Cloud Composer environments in versions composer-1.*.*-airflow-*.*.*.", +"id": "EncryptionConfig", +"properties": { +"kmsKeyName": { +"description": "Optional. Customer-managed Encryption Key available through Google's Key Management Service. Cannot be updated. If not specified, Google-managed key will be used.", +"type": "string" +} +}, +"type": "object" +}, +"Environment": { +"description": "An environment for running orchestration tasks.", +"id": "Environment", +"properties": { +"config": { +"$ref": "EnvironmentConfig", +"description": "Optional. Configuration parameters for this environment." +}, +"createTime": { +"description": "Output only. The time at which this environment was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. User-defined labels for this environment. The labels map can contain no more than 64 entries. Entries of the labels map are UTF8 strings that comply with the following restrictions: * Keys must conform to regexp: \\p{Ll}\\p{Lo}{0,62} * Values must conform to regexp: [\\p{Ll}\\p{Lo}\\p{N}_-]{0,63} * Both keys and values are additionally constrained to be <= 128 bytes in size.", +"type": "object" +}, +"name": { +"description": "Identifier. The resource name of the environment, in the form: \"projects/{projectId}/locations/{locationId}/environments/{environmentId}\" EnvironmentId must start with a lowercase letter followed by up to 63 lowercase letters, numbers, or hyphens, and cannot end with a hyphen.", +"type": "string" +}, +"satisfiesPzi": { +"description": "Output only. Reserved for future use.", +"readOnly": true, +"type": "boolean" +}, +"satisfiesPzs": { +"description": "Output only. Reserved for future use.", +"readOnly": true, +"type": "boolean" +}, +"state": { +"description": "The current state of the environment.", +"enum": [ +"STATE_UNSPECIFIED", +"CREATING", +"RUNNING", +"UPDATING", +"DELETING", +"ERROR" +], +"enumDescriptions": [ +"The state of the environment is unknown.", +"The environment is in the process of being created.", +"The environment is currently running and healthy. It is ready for use.", +"The environment is being updated. It remains usable but cannot receive additional update requests or be deleted at this time.", +"The environment is undergoing deletion. It cannot be used.", +"The environment has encountered an error and cannot be used." +], +"type": "string" +}, +"storageConfig": { +"$ref": "StorageConfig", +"description": "Optional. Storage configuration for this environment." +}, +"updateTime": { +"description": "Output only. The time at which this environment was last modified.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"uuid": { +"description": "Output only. The UUID (Universally Unique IDentifier) associated with this environment. This value is generated when the environment is created.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"EnvironmentConfig": { +"description": "Configuration information for an environment.", +"id": "EnvironmentConfig", +"properties": { +"airflowByoidUri": { +"description": "Output only. The 'bring your own identity' variant of the URI of the Apache Airflow Web UI hosted within this environment, to be accessed with external identities using workforce identity federation (see [Access environments with workforce identity federation](/composer/docs/composer-2/access-environments-with-workforce-identity-federation)).", +"readOnly": true, +"type": "string" +}, +"airflowUri": { +"description": "Output only. The URI of the Apache Airflow Web UI hosted within this environment (see [Airflow web interface](/composer/docs/how-to/accessing/airflow-web-interface)).", +"readOnly": true, +"type": "string" +}, +"dagGcsPrefix": { +"description": "Output only. The Cloud Storage prefix of the DAGs for this environment. Although Cloud Storage objects reside in a flat namespace, a hierarchical file tree can be simulated using \"/\"-delimited object name prefixes. DAG objects for this environment reside in a simulated directory with the given prefix.", +"readOnly": true, +"type": "string" +}, +"dataRetentionConfig": { +"$ref": "DataRetentionConfig", +"description": "Optional. The configuration setting for Airflow database data retention mechanism." +}, +"databaseConfig": { +"$ref": "DatabaseConfig", +"description": "Optional. The configuration settings for Cloud SQL instance used internally by Apache Airflow software." +}, +"encryptionConfig": { +"$ref": "EncryptionConfig", +"description": "Optional. The encryption options for the Cloud Composer environment and its dependencies. Cannot be updated." +}, +"environmentSize": { +"description": "Optional. The size of the Cloud Composer environment. This field is supported for Cloud Composer environments in versions composer-2.*.*-airflow-*.*.* and newer.", +"enum": [ +"ENVIRONMENT_SIZE_UNSPECIFIED", +"ENVIRONMENT_SIZE_SMALL", +"ENVIRONMENT_SIZE_MEDIUM", +"ENVIRONMENT_SIZE_LARGE", +"ENVIRONMENT_SIZE_EXTRA_LARGE" +], +"enumDescriptions": [ +"The size of the environment is unspecified.", +"The environment size is small.", +"The environment size is medium.", +"The environment size is large.", +"The environment size is extra large." +], +"type": "string" +}, +"gkeCluster": { +"description": "Output only. The Kubernetes Engine cluster used to run this environment.", +"readOnly": true, +"type": "string" +}, +"maintenanceWindow": { +"$ref": "MaintenanceWindow", +"description": "Optional. The maintenance window is the period when Cloud Composer components may undergo maintenance. It is defined so that maintenance is not executed during peak hours or critical time periods. The system will not be under maintenance for every occurrence of this window, but when maintenance is planned, it will be scheduled during the window. The maintenance window period must encompass at least 12 hours per week. This may be split into multiple chunks, each with a size of at least 4 hours. If this value is omitted, the default value for maintenance window is applied. By default, maintenance windows are from 00:00:00 to 04:00:00 (GMT) on Friday, Saturday, and Sunday every week." +}, +"masterAuthorizedNetworksConfig": { +"$ref": "MasterAuthorizedNetworksConfig", +"description": "Optional. The configuration options for GKE cluster master authorized networks. By default master authorized networks feature is: - in case of private environment: enabled with no external networks allowlisted. - in case of public environment: disabled." +}, +"nodeConfig": { +"$ref": "NodeConfig", +"description": "Optional. The configuration used for the Kubernetes Engine cluster." +}, +"nodeCount": { +"description": "The number of nodes in the Kubernetes Engine cluster that will be used to run this environment. This field is supported for Cloud Composer environments in versions composer-1.*.*-airflow-*.*.*.", +"format": "int32", +"type": "integer" +}, +"privateEnvironmentConfig": { +"$ref": "PrivateEnvironmentConfig", +"description": "Optional. The configuration used for the Private IP Cloud Composer environment." +}, +"recoveryConfig": { +"$ref": "RecoveryConfig", +"description": "Optional. The Recovery settings configuration of an environment. This field is supported for Cloud Composer environments in versions composer-2.*.*-airflow-*.*.* and newer." +}, +"resilienceMode": { +"description": "Optional. Resilience mode of the Cloud Composer Environment. This field is supported for Cloud Composer environments in versions composer-2.2.0-airflow-*.*.* and newer.", +"enum": [ +"RESILIENCE_MODE_UNSPECIFIED", +"HIGH_RESILIENCE" +], +"enumDescriptions": [ +"Default mode doesn't change environment parameters.", +"Enabled High Resilience mode, including Cloud SQL HA." +], +"type": "string" +}, +"softwareConfig": { +"$ref": "SoftwareConfig", +"description": "Optional. The configuration settings for software inside the environment." +}, +"webServerConfig": { +"$ref": "WebServerConfig", +"description": "Optional. The configuration settings for the Airflow web server App Engine instance. This field is supported for Cloud Composer environments in versions composer-1.*.*-airflow-*.*.*." +}, +"webServerNetworkAccessControl": { +"$ref": "WebServerNetworkAccessControl", +"description": "Optional. The network-level access control policy for the Airflow web server. If unspecified, no network-level access restrictions will be applied." +}, +"workloadsConfig": { +"$ref": "WorkloadsConfig", +"description": "Optional. The workloads configuration settings for the GKE cluster associated with the Cloud Composer environment. The GKE cluster runs Airflow scheduler, web server and workers workloads. This field is supported for Cloud Composer environments in versions composer-2.*.*-airflow-*.*.* and newer." +} +}, +"type": "object" +}, +"ExecuteAirflowCommandRequest": { +"description": "Execute Airflow Command request.", +"id": "ExecuteAirflowCommandRequest", +"properties": { +"command": { +"description": "Airflow command.", +"type": "string" +}, +"parameters": { +"description": "Parameters for the Airflow command/subcommand as an array of arguments. It may contain positional arguments like `[\"my-dag-id\"]`, key-value parameters like `[\"--foo=bar\"]` or `[\"--foo\",\"bar\"]`, or other flags like `[\"-f\"]`.", +"items": { +"type": "string" +}, +"type": "array" +}, +"subcommand": { +"description": "Airflow subcommand.", +"type": "string" +} +}, +"type": "object" +}, +"ExecuteAirflowCommandResponse": { +"description": "Response to ExecuteAirflowCommandRequest.", +"id": "ExecuteAirflowCommandResponse", +"properties": { +"error": { +"description": "Error message. Empty if there was no error.", +"type": "string" +}, +"executionId": { +"description": "The unique ID of the command execution for polling.", +"type": "string" +}, +"pod": { +"description": "The name of the pod where the command is executed.", +"type": "string" +}, +"podNamespace": { +"description": "The namespace of the pod where the command is executed.", +"type": "string" +} +}, +"type": "object" +}, +"ExitInfo": { +"description": "Information about how a command ended.", +"id": "ExitInfo", +"properties": { +"error": { +"description": "Error message. Empty if there was no error.", +"type": "string" +}, +"exitCode": { +"description": "The exit code from the command execution.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"FetchDatabasePropertiesResponse": { +"description": "Response for FetchDatabasePropertiesRequest.", +"id": "FetchDatabasePropertiesResponse", +"properties": { +"isFailoverReplicaAvailable": { +"description": "The availability status of the failover replica. A false status indicates that the failover replica is out of sync. The primary instance can only fail over to the failover replica when the status is true.", +"type": "boolean" +}, +"primaryGceZone": { +"description": "The Compute Engine zone that the instance is currently serving from.", +"type": "string" +}, +"secondaryGceZone": { +"description": "The Compute Engine zone that the failover instance is currently serving from for a regional Cloud SQL instance.", +"type": "string" +} +}, +"type": "object" +}, +"IPAllocationPolicy": { +"description": "Configuration for controlling how IPs are allocated in the GKE cluster.", +"id": "IPAllocationPolicy", +"properties": { +"clusterIpv4CidrBlock": { +"description": "Optional. The IP address range used to allocate IP addresses to pods in the cluster. For Cloud Composer environments in versions composer-1.*.*-airflow-*.*.*, this field is applicable only when `use_ip_aliases` is true. Set to blank to have GKE choose a range with the default size. Set to /netmask (e.g. `/14`) to have GKE choose a range with a specific netmask. Set to a [CIDR](https://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing) notation (e.g. `10.96.0.0/14`) from the RFC-1918 private networks (e.g. `10.0.0.0/8`, `172.16.0.0/12`, `192.168.0.0/16`) to pick a specific range to use. Specify `cluster_secondary_range_name` or `cluster_ipv4_cidr_block` but not both.", +"type": "string" +}, +"clusterSecondaryRangeName": { +"description": "Optional. The name of the cluster's secondary range used to allocate IP addresses to pods. Specify either `cluster_secondary_range_name` or `cluster_ipv4_cidr_block` but not both. For Cloud Composer environments in versions composer-1.*.*-airflow-*.*.*, this field is applicable only when `use_ip_aliases` is true.", +"type": "string" +}, +"servicesIpv4CidrBlock": { +"description": "Optional. The IP address range of the services IP addresses in this cluster. For Cloud Composer environments in versions composer-1.*.*-airflow-*.*.*, this field is applicable only when `use_ip_aliases` is true. Set to blank to have GKE choose a range with the default size. Set to /netmask (e.g. `/14`) to have GKE choose a range with a specific netmask. Set to a [CIDR](https://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing) notation (e.g. `10.96.0.0/14`) from the RFC-1918 private networks (e.g. `10.0.0.0/8`, `172.16.0.0/12`, `192.168.0.0/16`) to pick a specific range to use. Specify `services_secondary_range_name` or `services_ipv4_cidr_block` but not both.", +"type": "string" +}, +"servicesSecondaryRangeName": { +"description": "Optional. The name of the services' secondary range used to allocate IP addresses to the cluster. Specify either `services_secondary_range_name` or `services_ipv4_cidr_block` but not both. For Cloud Composer environments in versions composer-1.*.*-airflow-*.*.*, this field is applicable only when `use_ip_aliases` is true.", +"type": "string" +}, +"useIpAliases": { +"description": "Optional. Whether or not to enable Alias IPs in the GKE cluster. If `true`, a VPC-native cluster is created. This field is only supported for Cloud Composer environments in versions composer-1.*.*-airflow-*.*.*. Environments in newer versions always use VPC-native GKE clusters.", +"type": "boolean" +} +}, +"type": "object" +}, +"ImageVersion": { +"description": "Image Version information", +"id": "ImageVersion", +"properties": { +"creationDisabled": { +"description": "Whether it is impossible to create an environment with the image version.", +"type": "boolean" +}, +"imageVersionId": { +"description": "The string identifier of the ImageVersion, in the form: \"composer-x.y.z-airflow-a.b.c\"", +"type": "string" +}, +"isDefault": { +"description": "Whether this is the default ImageVersion used by Composer during environment creation if no input ImageVersion is specified.", +"type": "boolean" +}, +"releaseDate": { +"$ref": "Date", +"description": "The date of the version release." +}, +"supportedPythonVersions": { +"description": "supported python versions", +"items": { +"type": "string" +}, +"type": "array" +}, +"upgradeDisabled": { +"description": "Whether it is impossible to upgrade an environment running with the image version.", +"type": "boolean" +} +}, +"type": "object" +}, +"Line": { +"description": "Contains information about a single line from logs.", +"id": "Line", +"properties": { +"content": { +"description": "Text content of the log line.", +"type": "string" +}, +"lineNumber": { +"description": "Number of the line.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"ListEnvironmentsResponse": { +"description": "The environments in a project and location.", +"id": "ListEnvironmentsResponse", +"properties": { +"environments": { +"description": "The list of environments returned by a ListEnvironmentsRequest.", +"items": { +"$ref": "Environment" +}, +"type": "array" +}, +"nextPageToken": { +"description": "The page token used to query for the next page if one exists.", +"type": "string" +} +}, +"type": "object" +}, +"ListImageVersionsResponse": { +"description": "The ImageVersions in a project and location.", +"id": "ListImageVersionsResponse", +"properties": { +"imageVersions": { +"description": "The list of supported ImageVersions in a location.", +"items": { +"$ref": "ImageVersion" +}, +"type": "array" +}, +"nextPageToken": { +"description": "The page token used to query for the next page if one exists.", +"type": "string" +} +}, +"type": "object" +}, +"ListOperationsResponse": { +"description": "The response message for Operations.ListOperations.", +"id": "ListOperationsResponse", +"properties": { +"nextPageToken": { +"description": "The standard List next-page token.", +"type": "string" +}, +"operations": { +"description": "A list of operations that matches the specified filter in the request.", +"items": { +"$ref": "Operation" +}, +"type": "array" +}, +"unreachable": { +"description": "Unordered list. Unreachable resources. Populated when the request sets `ListOperationsRequest.return_partial_success` and reads across collections. For example, when attempting to list all resources across all supported locations.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListUserWorkloadsConfigMapsResponse": { +"description": "The user workloads ConfigMaps for a given environment.", +"id": "ListUserWorkloadsConfigMapsResponse", +"properties": { +"nextPageToken": { +"description": "The page token used to query for the next page if one exists.", +"type": "string" +}, +"userWorkloadsConfigMaps": { +"description": "The list of ConfigMaps returned by a ListUserWorkloadsConfigMapsRequest.", +"items": { +"$ref": "UserWorkloadsConfigMap" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListUserWorkloadsSecretsResponse": { +"description": "The user workloads Secrets for a given environment.", +"id": "ListUserWorkloadsSecretsResponse", +"properties": { +"nextPageToken": { +"description": "The page token used to query for the next page if one exists.", +"type": "string" +}, +"userWorkloadsSecrets": { +"description": "The list of Secrets returned by a ListUserWorkloadsSecretsRequest.", +"items": { +"$ref": "UserWorkloadsSecret" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListWorkloadsResponse": { +"description": "Response to ListWorkloadsRequest.", +"id": "ListWorkloadsResponse", +"properties": { +"nextPageToken": { +"description": "The page token used to query for the next page if one exists.", +"type": "string" +}, +"workloads": { +"description": "The list of environment workloads.", +"items": { +"$ref": "ComposerWorkload" +}, +"type": "array" +} +}, +"type": "object" +}, +"LoadSnapshotRequest": { +"description": "Request to load a snapshot into a Cloud Composer environment.", +"id": "LoadSnapshotRequest", +"properties": { +"skipAirflowOverridesSetting": { +"description": "Whether or not to skip setting Airflow overrides when loading the environment's state.", +"type": "boolean" +}, +"skipEnvironmentVariablesSetting": { +"description": "Whether or not to skip setting environment variables when loading the environment's state.", +"type": "boolean" +}, +"skipGcsDataCopying": { +"description": "Whether or not to skip copying Cloud Storage data when loading the environment's state.", +"type": "boolean" +}, +"skipPypiPackagesInstallation": { +"description": "Whether or not to skip installing Pypi packages when loading the environment's state.", +"type": "boolean" +}, +"snapshotPath": { +"description": "A Cloud Storage path to a snapshot to load, e.g.: \"gs://my-bucket/snapshots/project_location_environment_timestamp\".", +"type": "string" +} +}, +"type": "object" +}, +"LoadSnapshotResponse": { +"description": "Response to LoadSnapshotRequest.", +"id": "LoadSnapshotResponse", +"properties": {}, +"type": "object" +}, +"MaintenanceWindow": { +"description": "The configuration settings for Cloud Composer maintenance window. The following example: ``` { \"startTime\":\"2019-08-01T01:00:00Z\" \"endTime\":\"2019-08-01T07:00:00Z\" \"recurrence\":\"FREQ=WEEKLY;BYDAY=TU,WE\" } ``` would define a maintenance window between 01 and 07 hours UTC during each Tuesday and Wednesday.", +"id": "MaintenanceWindow", +"properties": { +"endTime": { +"description": "Required. Maintenance window end time. It is used only to calculate the duration of the maintenance window. The value for end_time must be in the future, relative to `start_time`.", +"format": "google-datetime", +"type": "string" +}, +"recurrence": { +"description": "Required. Maintenance window recurrence. Format is a subset of [RFC-5545](https://tools.ietf.org/html/rfc5545) `RRULE`. The only allowed values for `FREQ` field are `FREQ=DAILY` and `FREQ=WEEKLY;BYDAY=...` Example values: `FREQ=WEEKLY;BYDAY=TU,WE`, `FREQ=DAILY`.", +"type": "string" +}, +"startTime": { +"description": "Required. Start time of the first recurrence of the maintenance window.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"MasterAuthorizedNetworksConfig": { +"description": "Configuration options for the master authorized networks feature. Enabled master authorized networks will disallow all external traffic to access Kubernetes master through HTTPS except traffic from the given CIDR blocks, Google Compute Engine Public IPs and Google Prod IPs.", +"id": "MasterAuthorizedNetworksConfig", +"properties": { +"cidrBlocks": { +"description": "Up to 50 external networks that could access Kubernetes master through HTTPS.", +"items": { +"$ref": "CidrBlock" +}, +"type": "array" +}, +"enabled": { +"description": "Optional. Whether or not master authorized networks feature is enabled.", +"type": "boolean" +} +}, +"type": "object" +}, +"NetworkingConfig": { +"description": "Configuration options for networking connections in the Composer 2 environment.", +"id": "NetworkingConfig", +"properties": { +"connectionType": { +"description": "Optional. Indicates the user requested specific connection type between Tenant and Customer projects. You cannot set networking connection type in public IP environment.", +"enum": [ +"CONNECTION_TYPE_UNSPECIFIED", +"VPC_PEERING", +"PRIVATE_SERVICE_CONNECT" +], +"enumDescriptions": [ +"No specific connection type was requested, so the environment uses the default value corresponding to the rest of its configuration.", +"Requests the use of VPC peerings for connecting the Customer and Tenant projects.", +"Requests the use of Private Service Connect for connecting the Customer and Tenant projects." +], +"type": "string" +} +}, +"type": "object" +}, +"NodeConfig": { +"description": "The configuration information for the Kubernetes Engine nodes running the Apache Airflow software.", +"id": "NodeConfig", +"properties": { +"composerInternalIpv4CidrBlock": { +"description": "Optional. The IP range in CIDR notation to use internally by Cloud Composer. IP addresses are not reserved - and the same range can be used by multiple Cloud Composer environments. In case of overlap, IPs from this range will not be accessible in the user's VPC network. Cannot be updated. If not specified, the default value of '100.64.128.0/20' is used. This field is supported for Cloud Composer environments in versions composer-3-airflow-*.*.*-build.* and newer.", +"type": "string" +}, +"composerNetworkAttachment": { +"description": "Optional. Network Attachment that Cloud Composer environment is connected to, which provides connectivity with a user's VPC network. Takes precedence over network and subnetwork settings. If not provided, but network and subnetwork are defined during environment, it will be provisioned. If not provided and network and subnetwork are also empty, then connectivity to user's VPC network is disabled. Network attachment must be provided in format projects/{project}/regions/{region}/networkAttachments/{networkAttachment}. This field is supported for Cloud Composer environments in versions composer-3-airflow-*.*.*-build.* and newer.", +"type": "string" +}, +"diskSizeGb": { +"description": "Optional. The disk size in GB used for node VMs. Minimum size is 30GB. If unspecified, defaults to 100GB. Cannot be updated. This field is supported for Cloud Composer environments in versions composer-1.*.*-airflow-*.*.*.", +"format": "int32", +"type": "integer" +}, +"enableIpMasqAgent": { +"description": "Optional. Deploys 'ip-masq-agent' daemon set in the GKE cluster and defines nonMasqueradeCIDRs equals to pod IP range so IP masquerading is used for all destination addresses, except between pods traffic. See: https://cloud.google.com/kubernetes-engine/docs/how-to/ip-masquerade-agent", +"type": "boolean" +}, +"ipAllocationPolicy": { +"$ref": "IPAllocationPolicy", +"description": "Optional. The IPAllocationPolicy fields for the GKE cluster." +}, +"location": { +"description": "Optional. The Compute Engine [zone](/compute/docs/regions-zones) in which to deploy the VMs used to run the Apache Airflow software, specified as a [relative resource name](/apis/design/resource_names#relative_resource_name). For example: \"projects/{projectId}/zones/{zoneId}\". This `location` must belong to the enclosing environment's project and location. If both this field and `nodeConfig.machineType` are specified, `nodeConfig.machineType` must belong to this `location`; if both are unspecified, the service will pick a zone in the Compute Engine region corresponding to the Cloud Composer location, and propagate that choice to both fields. If only one field (`location` or `nodeConfig.machineType`) is specified, the location information from the specified field will be propagated to the unspecified field. This field is supported for Cloud Composer environments in versions composer-1.*.*-airflow-*.*.*.", +"type": "string" +}, +"machineType": { +"description": "Optional. The Compute Engine [machine type](/compute/docs/machine-types) used for cluster instances, specified as a [relative resource name](/apis/design/resource_names#relative_resource_name). For example: \"projects/{projectId}/zones/{zoneId}/machineTypes/{machineTypeId}\". The `machineType` must belong to the enclosing environment's project and location. If both this field and `nodeConfig.location` are specified, this `machineType` must belong to the `nodeConfig.location`; if both are unspecified, the service will pick a zone in the Compute Engine region corresponding to the Cloud Composer location, and propagate that choice to both fields. If exactly one of this field and `nodeConfig.location` is specified, the location information from the specified field will be propagated to the unspecified field. The `machineTypeId` must not be a [shared-core machine type](/compute/docs/machine-types#sharedcore). If this field is unspecified, the `machineTypeId` defaults to \"n1-standard-1\". This field is supported for Cloud Composer environments in versions composer-1.*.*-airflow-*.*.*.", +"type": "string" +}, +"maxPodsPerNode": { +"description": "Optional. The maximum number of pods per node in the Cloud Composer GKE cluster. The value must be between 8 and 110 and it can be set only if the environment is VPC-native. The default value is 32. Values of this field will be propagated both to the `default-pool` node pool of the newly created GKE cluster, and to the default \"Maximum Pods per Node\" value which is used for newly created node pools if their value is not explicitly set during node pool creation. For more information, see [Optimizing IP address allocation] (https://cloud.google.com/kubernetes-engine/docs/how-to/flexible-pod-cidr). Cannot be updated. This field is supported for Cloud Composer environments in versions composer-1.*.*-airflow-*.*.*.", +"format": "int32", +"type": "integer" +}, +"network": { +"description": "Optional. The Compute Engine network to be used for machine communications, specified as a [relative resource name](/apis/design/resource_names#relative_resource_name). For example: \"projects/{projectId}/global/networks/{networkId}\". If unspecified, the default network in the environment's project is used. If a [Custom Subnet Network](/vpc/docs/vpc#vpc_networks_and_subnets) is provided, `nodeConfig.subnetwork` must also be provided. For [Shared VPC](/vpc/docs/shared-vpc) subnetwork requirements, see `nodeConfig.subnetwork`.", +"type": "string" +}, +"oauthScopes": { +"description": "Optional. The set of Google API scopes to be made available on all node VMs. If `oauth_scopes` is empty, defaults to [\"https://www.googleapis.com/auth/cloud-platform\"]. Cannot be updated. This field is supported for Cloud Composer environments in versions composer-1.*.*-airflow-*.*.*.", +"items": { +"type": "string" +}, +"type": "array" +}, +"serviceAccount": { +"description": "Optional. The Google Cloud Platform Service Account to be used by the workloads. If a service account is not specified, the \"default\" Compute Engine service account is used. Cannot be updated.", +"type": "string" +}, +"subnetwork": { +"description": "Optional. The Compute Engine subnetwork to be used for machine communications, specified as a [relative resource name](/apis/design/resource_names#relative_resource_name). For example: \"projects/{projectId}/regions/{regionId}/subnetworks/{subnetworkId}\" If a subnetwork is provided, `nodeConfig.network` must also be provided, and the subnetwork must belong to the enclosing environment's project and location.", +"type": "string" +}, +"tags": { +"description": "Optional. The list of instance tags applied to all node VMs. Tags are used to identify valid sources or targets for network firewalls. Each tag within the list must comply with [RFC1035](https://www.ietf.org/rfc/rfc1035.txt). Cannot be updated.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"Operation": { +"description": "This resource represents a long-running operation that is the result of a network API call.", +"id": "Operation", +"properties": { +"done": { +"description": "If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.", +"type": "boolean" +}, +"error": { +"$ref": "Status", +"description": "The error result of the operation in case of failure or cancellation." +}, +"metadata": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.", +"type": "object" +}, +"name": { +"description": "The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.", +"type": "string" +}, +"response": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "The normal, successful response of the operation. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.", +"type": "object" +} +}, +"type": "object" +}, +"OperationMetadata": { +"description": "Metadata describing an operation.", +"id": "OperationMetadata", +"properties": { +"createTime": { +"description": "Output only. The time the operation was submitted to the server.", +"format": "google-datetime", +"type": "string" +}, +"endTime": { +"description": "Output only. The time when the operation terminated, regardless of its success. This field is unset if the operation is still ongoing.", +"format": "google-datetime", +"type": "string" +}, +"operationType": { +"description": "Output only. The type of operation being performed.", +"enum": [ +"TYPE_UNSPECIFIED", +"CREATE", +"DELETE", +"UPDATE", +"CHECK", +"SAVE_SNAPSHOT", +"LOAD_SNAPSHOT", +"DATABASE_FAILOVER", +"MIGRATE" +], +"enumDescriptions": [ +"Unused.", +"A resource creation operation.", +"A resource deletion operation.", +"A resource update operation.", +"A resource check operation.", +"Saves snapshot of the resource operation.", +"Loads snapshot of the resource operation.", +"Triggers failover of environment's Cloud SQL instance (only for highly resilient environments).", +"Migrates resource to a new major version." +], +"type": "string" +}, +"resource": { +"description": "Output only. The resource being operated on, as a [relative resource name]( /apis/design/resource_names#relative_resource_name).", +"type": "string" +}, +"resourceUuid": { +"description": "Output only. The UUID of the resource being operated on.", +"type": "string" +}, +"state": { +"description": "Output only. The current operation state.", +"enum": [ +"STATE_UNSPECIFIED", +"PENDING", +"RUNNING", +"SUCCESSFUL", +"FAILED" +], +"enumDescriptions": [ +"Unused.", +"The operation has been created but is not yet started.", +"The operation is underway.", +"The operation completed successfully.", +"The operation is no longer running but did not succeed." +], +"type": "string" +} +}, +"type": "object" +}, +"PollAirflowCommandRequest": { +"description": "Poll Airflow Command request.", +"id": "PollAirflowCommandRequest", +"properties": { +"executionId": { +"description": "The unique ID of the command execution.", +"type": "string" +}, +"nextLineNumber": { +"description": "Line number from which new logs should be fetched.", +"format": "int32", +"type": "integer" +}, +"pod": { +"description": "The name of the pod where the command is executed.", +"type": "string" +}, +"podNamespace": { +"description": "The namespace of the pod where the command is executed.", +"type": "string" +} +}, +"type": "object" +}, +"PollAirflowCommandResponse": { +"description": "Response to PollAirflowCommandRequest.", +"id": "PollAirflowCommandResponse", +"properties": { +"exitInfo": { +"$ref": "ExitInfo", +"description": "The result exit status of the command." +}, +"output": { +"description": "Output from the command execution. It may not contain the full output and the caller may need to poll for more lines.", +"items": { +"$ref": "Line" +}, +"type": "array" +}, +"outputEnd": { +"description": "Whether the command execution has finished and there is no more output.", +"type": "boolean" +} +}, +"type": "object" +}, +"PrivateClusterConfig": { +"description": "Configuration options for the private GKE cluster in a Cloud Composer environment.", +"id": "PrivateClusterConfig", +"properties": { +"enablePrivateEndpoint": { +"description": "Optional. If `true`, access to the public endpoint of the GKE cluster is denied.", +"type": "boolean" +}, +"masterIpv4CidrBlock": { +"description": "Optional. The CIDR block from which IPv4 range for GKE master will be reserved. If left blank, the default value of '172.16.0.0/23' is used.", +"type": "string" +}, +"masterIpv4ReservedRange": { +"description": "Output only. The IP range in CIDR notation to use for the hosted master network. This range is used for assigning internal IP addresses to the cluster master or set of masters and to the internal load balancer virtual IP. This range must not overlap with any other ranges in use within the cluster's network.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"PrivateEnvironmentConfig": { +"description": "The configuration information for configuring a Private IP Cloud Composer environment.", +"id": "PrivateEnvironmentConfig", +"properties": { +"cloudComposerConnectionSubnetwork": { +"description": "Optional. When specified, the environment will use Private Service Connect instead of VPC peerings to connect to Cloud SQL in the Tenant Project, and the PSC endpoint in the Customer Project will use an IP address from this subnetwork.", +"type": "string" +}, +"cloudComposerNetworkIpv4CidrBlock": { +"description": "Optional. The CIDR block from which IP range for Cloud Composer Network in tenant project will be reserved. Needs to be disjoint from private_cluster_config.master_ipv4_cidr_block and cloud_sql_ipv4_cidr_block. This field is supported for Cloud Composer environments in versions composer-2.*.*-airflow-*.*.* and newer.", +"type": "string" +}, +"cloudComposerNetworkIpv4ReservedRange": { +"description": "Output only. The IP range reserved for the tenant project's Cloud Composer network. This field is supported for Cloud Composer environments in versions composer-2.*.*-airflow-*.*.* and newer.", +"readOnly": true, +"type": "string" +}, +"cloudSqlIpv4CidrBlock": { +"description": "Optional. The CIDR block from which IP range in tenant project will be reserved for Cloud SQL. Needs to be disjoint from web_server_ipv4_cidr_block", +"type": "string" +}, +"enablePrivateBuildsOnly": { +"description": "Optional. If `true`, builds performed during operations that install Python packages have only private connectivity to Google services (including Artifact Registry) and VPC network (if either `NodeConfig.network` and `NodeConfig.subnetwork` fields or `NodeConfig.composer_network_attachment` field are specified). If `false`, the builds also have access to the internet. This field is supported for Cloud Composer environments in versions composer-3-airflow-*.*.*-build.* and newer.", +"type": "boolean" +}, +"enablePrivateEnvironment": { +"description": "Optional. If `true`, a Private IP Cloud Composer environment is created. If this field is set to true, `IPAllocationPolicy.use_ip_aliases` must be set to true for Cloud Composer environments in versions composer-1.*.*-airflow-*.*.*. This field is going to be deprecated. Use `networking_type` instead.", +"type": "boolean" +}, +"enablePrivatelyUsedPublicIps": { +"description": "Optional. When enabled, IPs from public (non-RFC1918) ranges can be used for `IPAllocationPolicy.cluster_ipv4_cidr_block` and `IPAllocationPolicy.service_ipv4_cidr_block`.", +"type": "boolean" +}, +"networkingConfig": { +"$ref": "NetworkingConfig", +"description": "Optional. Configuration for the network connections configuration in the environment." +}, +"networkingType": { +"description": "Optional. Networking type for the environment, either private or public.", +"enum": [ +"NETWORKING_TYPE_UNSPECIFIED", +"PRIVATE", +"PUBLIC" +], +"enumDescriptions": [ +"Default networking type.", +"Private IP Cloud Composer environment with no access to the internet.", +"Cloud Composer environment with access to the internet." +], +"type": "string" +}, +"privateClusterConfig": { +"$ref": "PrivateClusterConfig", +"description": "Optional. Configuration for the private GKE cluster for a Private IP Cloud Composer environment." +}, +"webServerIpv4CidrBlock": { +"description": "Optional. The CIDR block from which IP range for web server will be reserved. Needs to be disjoint from private_cluster_config.master_ipv4_cidr_block and cloud_sql_ipv4_cidr_block. This field is supported for Cloud Composer environments in versions composer-1.*.*-airflow-*.*.*.", +"type": "string" +}, +"webServerIpv4ReservedRange": { +"description": "Output only. The IP range reserved for the tenant project's App Engine VMs. This field is supported for Cloud Composer environments in versions composer-1.*.*-airflow-*.*.*.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"RecoveryConfig": { +"description": "The Recovery settings of an environment.", +"id": "RecoveryConfig", +"properties": { +"scheduledSnapshotsConfig": { +"$ref": "ScheduledSnapshotsConfig", +"description": "Optional. The configuration for scheduled snapshot creation mechanism." +} +}, +"type": "object" +}, +"RestartWebServerRequest": { +"description": "Restart Airflow web server.", +"id": "RestartWebServerRequest", +"properties": {}, +"type": "object" +}, +"SaveSnapshotRequest": { +"description": "Request to create a snapshot of a Cloud Composer environment.", +"id": "SaveSnapshotRequest", +"properties": { +"snapshotLocation": { +"description": "Location in a Cloud Storage where the snapshot is going to be stored, e.g.: \"gs://my-bucket/snapshots\".", +"type": "string" +} +}, +"type": "object" +}, +"SaveSnapshotResponse": { +"description": "Response to SaveSnapshotRequest.", +"id": "SaveSnapshotResponse", +"properties": { +"snapshotPath": { +"description": "The fully-resolved Cloud Storage path of the created snapshot, e.g.: \"gs://my-bucket/snapshots/project_location_environment_timestamp\". This field is populated only if the snapshot creation was successful.", +"type": "string" +} +}, +"type": "object" +}, +"ScheduledSnapshotsConfig": { +"description": "The configuration for scheduled snapshot creation mechanism.", +"id": "ScheduledSnapshotsConfig", +"properties": { +"enabled": { +"description": "Optional. Whether scheduled snapshots creation is enabled.", +"type": "boolean" +}, +"snapshotCreationSchedule": { +"description": "Optional. The cron expression representing the time when snapshots creation mechanism runs. This field is subject to additional validation around frequency of execution.", +"type": "string" +}, +"snapshotLocation": { +"description": "Optional. The Cloud Storage location for storing automatically created snapshots.", +"type": "string" +}, +"timeZone": { +"description": "Optional. Time zone that sets the context to interpret snapshot_creation_schedule.", +"type": "string" +} +}, +"type": "object" +}, +"SchedulerResource": { +"description": "Configuration for resources used by Airflow schedulers.", +"id": "SchedulerResource", +"properties": { +"count": { +"description": "Optional. The number of schedulers.", +"format": "int32", +"type": "integer" +}, +"cpu": { +"description": "Optional. CPU request and limit for a single Airflow scheduler replica.", +"format": "float", +"type": "number" +}, +"memoryGb": { +"description": "Optional. Memory (GB) request and limit for a single Airflow scheduler replica.", +"format": "float", +"type": "number" +}, +"storageGb": { +"description": "Optional. Storage (GB) request and limit for a single Airflow scheduler replica.", +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"SoftwareConfig": { +"description": "Specifies the selection and configuration of software inside the environment.", +"id": "SoftwareConfig", +"properties": { +"airflowConfigOverrides": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. Apache Airflow configuration properties to override. Property keys contain the section and property names, separated by a hyphen, for example \"core-dags_are_paused_at_creation\". Section names must not contain hyphens (\"-\"), opening square brackets (\"[\"), or closing square brackets (\"]\"). The property name must not be empty and must not contain an equals sign (\"=\") or semicolon (\";\"). Section and property names must not contain a period (\".\"). Apache Airflow configuration property names must be written in [snake_case](https://en.wikipedia.org/wiki/Snake_case). Property values can contain any character, and can be written in any lower/upper case format. Certain Apache Airflow configuration property values are [blocked](/composer/docs/concepts/airflow-configurations), and cannot be overridden.", +"type": "object" +}, +"cloudDataLineageIntegration": { +"$ref": "CloudDataLineageIntegration", +"description": "Optional. The configuration for Cloud Data Lineage integration." +}, +"envVariables": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. Additional environment variables to provide to the Apache Airflow scheduler, worker, and webserver processes. Environment variable names must match the regular expression `a-zA-Z_*`. They cannot specify Apache Airflow software configuration overrides (they cannot match the regular expression `AIRFLOW__[A-Z0-9_]+__[A-Z0-9_]+`), and they cannot match any of the following reserved names: * `AIRFLOW_HOME` * `C_FORCE_ROOT` * `CONTAINER_NAME` * `DAGS_FOLDER` * `GCP_PROJECT` * `GCS_BUCKET` * `GKE_CLUSTER_NAME` * `SQL_DATABASE` * `SQL_INSTANCE` * `SQL_PASSWORD` * `SQL_PROJECT` * `SQL_REGION` * `SQL_USER`", +"type": "object" +}, +"imageVersion": { +"description": "Optional. The version of the software running in the environment. This encapsulates both the version of Cloud Composer functionality and the version of Apache Airflow. It must match the regular expression `composer-([0-9]+(\\.[0-9]+\\.[0-9]+(-preview\\.[0-9]+)?)?|latest)-airflow-([0-9]+(\\.[0-9]+(\\.[0-9]+)?)?)`. When used as input, the server also checks if the provided version is supported and denies the request for an unsupported version. The Cloud Composer portion of the image version is a full [semantic version](https://semver.org), or an alias in the form of major version number or `latest`. When an alias is provided, the server replaces it with the current Cloud Composer version that satisfies the alias. The Apache Airflow portion of the image version is a full semantic version that points to one of the supported Apache Airflow versions, or an alias in the form of only major or major.minor versions specified. When an alias is provided, the server replaces it with the latest Apache Airflow version that satisfies the alias and is supported in the given Cloud Composer version. In all cases, the resolved image version is stored in the same field. See also [version list](/composer/docs/concepts/versioning/composer-versions) and [versioning overview](/composer/docs/concepts/versioning/composer-versioning-overview).", +"type": "string" +}, +"pypiPackages": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. Custom Python Package Index (PyPI) packages to be installed in the environment. Keys refer to the lowercase package name such as \"numpy\" and values are the lowercase extras and version specifier such as \"==1.12.0\", \"[devel,gcp_api]\", or \"[devel]>=1.8.2, <1.9.2\". To specify a package without pinning it to a version specifier, use the empty string as the value.", +"type": "object" +}, +"pythonVersion": { +"description": "Optional. The major version of Python used to run the Apache Airflow scheduler, worker, and webserver processes. Can be set to '2' or '3'. If not specified, the default is '3'. Cannot be updated. This field is only supported for Cloud Composer environments in versions composer-1.*.*-airflow-*.*.*. Environments in newer versions always use Python major version 3.", +"type": "string" +}, +"schedulerCount": { +"description": "Optional. The number of schedulers for Airflow. This field is supported for Cloud Composer environments in versions composer-1.*.*-airflow-2.*.*.", +"format": "int32", +"type": "integer" +}, +"webServerPluginsMode": { +"description": "Optional. Whether or not the web server uses custom plugins. If unspecified, the field defaults to `PLUGINS_ENABLED`. This field is supported for Cloud Composer environments in versions composer-3-airflow-*.*.*-build.* and newer.", +"enum": [ +"WEB_SERVER_PLUGINS_MODE_UNSPECIFIED", +"PLUGINS_DISABLED", +"PLUGINS_ENABLED" +], +"enumDescriptions": [ +"Default mode.", +"Web server plugins are not supported.", +"Web server plugins are supported." +], +"type": "string" +} +}, +"type": "object" +}, +"Status": { +"description": "The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors).", +"id": "Status", +"properties": { +"code": { +"description": "The status code, which should be an enum value of google.rpc.Code.", +"format": "int32", +"type": "integer" +}, +"details": { +"description": "A list of messages that carry the error details. There is a common set of message types for APIs to use.", +"items": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.", +"type": "string" +} +}, +"type": "object" +}, +"StopAirflowCommandRequest": { +"description": "Stop Airflow Command request.", +"id": "StopAirflowCommandRequest", +"properties": { +"executionId": { +"description": "The unique ID of the command execution.", +"type": "string" +}, +"force": { +"description": "If true, the execution is terminated forcefully (SIGKILL). If false, the execution is stopped gracefully, giving it time for cleanup.", +"type": "boolean" +}, +"pod": { +"description": "The name of the pod where the command is executed.", +"type": "string" +}, +"podNamespace": { +"description": "The namespace of the pod where the command is executed.", +"type": "string" +} +}, +"type": "object" +}, +"StopAirflowCommandResponse": { +"description": "Response to StopAirflowCommandRequest.", +"id": "StopAirflowCommandResponse", +"properties": { +"isDone": { +"description": "Whether the execution is still running.", +"type": "boolean" +}, +"output": { +"description": "Output message from stopping execution request.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"StorageConfig": { +"description": "The configuration for data storage in the environment.", +"id": "StorageConfig", +"properties": { +"bucket": { +"description": "Optional. The name of the Cloud Storage bucket used by the environment. No `gs://` prefix.", +"type": "string" +} +}, +"type": "object" +}, +"TaskLogsRetentionConfig": { +"description": "The configuration setting for Task Logs.", +"id": "TaskLogsRetentionConfig", +"properties": { +"storageMode": { +"description": "Optional. The mode of storage for Airflow workers task logs.", +"enum": [ +"TASK_LOGS_STORAGE_MODE_UNSPECIFIED", +"CLOUD_LOGGING_AND_CLOUD_STORAGE", +"CLOUD_LOGGING_ONLY" +], +"enumDescriptions": [ +"This configuration is not specified by the user.", +"Store task logs in Cloud Logging and in the environment's Cloud Storage bucket.", +"Store task logs in Cloud Logging only." +], +"type": "string" +} +}, +"type": "object" +}, +"TriggererResource": { +"description": "Configuration for resources used by Airflow triggerers.", +"id": "TriggererResource", +"properties": { +"count": { +"description": "Optional. The number of triggerers.", +"format": "int32", +"type": "integer" +}, +"cpu": { +"description": "Optional. CPU request and limit for a single Airflow triggerer replica.", +"format": "float", +"type": "number" +}, +"memoryGb": { +"description": "Optional. Memory (GB) request and limit for a single Airflow triggerer replica.", +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"UserWorkloadsConfigMap": { +"description": "User workloads ConfigMap used by Airflow tasks that run with Kubernetes executor or KubernetesPodOperator.", +"id": "UserWorkloadsConfigMap", +"properties": { +"data": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. The \"data\" field of Kubernetes ConfigMap, organized in key-value pairs. For details see: https://kubernetes.io/docs/concepts/configuration/configmap/ Example: { \"example_key\": \"example_value\", \"another_key\": \"another_value\" }", +"type": "object" +}, +"name": { +"description": "Identifier. The resource name of the ConfigMap, in the form: \"projects/{projectId}/locations/{locationId}/environments/{environmentId}/userWorkloadsConfigMaps/{userWorkloadsConfigMapId}\"", +"type": "string" +} +}, +"type": "object" +}, +"UserWorkloadsSecret": { +"description": "User workloads Secret used by Airflow tasks that run with Kubernetes executor or KubernetesPodOperator.", +"id": "UserWorkloadsSecret", +"properties": { +"data": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. The \"data\" field of Kubernetes Secret, organized in key-value pairs, which can contain sensitive values such as a password, a token, or a key. The values for all keys have to be base64-encoded strings. For details see: https://kubernetes.io/docs/concepts/configuration/secret/ Example: { \"example\": \"ZXhhbXBsZV92YWx1ZQ==\", \"another-example\": \"YW5vdGhlcl9leGFtcGxlX3ZhbHVl\" }", +"type": "object" +}, +"name": { +"description": "Identifier. The resource name of the Secret, in the form: \"projects/{projectId}/locations/{locationId}/environments/{environmentId}/userWorkloadsSecrets/{userWorkloadsSecretId}\"", +"type": "string" +} +}, +"type": "object" +}, +"WebServerConfig": { +"description": "The configuration settings for the Airflow web server App Engine instance. Supported for Cloud Composer environments in versions composer-1.*.*-airflow-*.*.*.", +"id": "WebServerConfig", +"properties": { +"machineType": { +"description": "Optional. Machine type on which Airflow web server is running. It has to be one of: composer-n1-webserver-2, composer-n1-webserver-4 or composer-n1-webserver-8. If not specified, composer-n1-webserver-2 will be used. Value custom is returned only in response, if Airflow web server parameters were manually changed to a non-standard values.", +"type": "string" +} +}, +"type": "object" +}, +"WebServerNetworkAccessControl": { +"description": "Network-level access control policy for the Airflow web server.", +"id": "WebServerNetworkAccessControl", +"properties": { +"allowedIpRanges": { +"description": "A collection of allowed IP ranges with descriptions.", +"items": { +"$ref": "AllowedIpRange" +}, +"type": "array" +} +}, +"type": "object" +}, +"WebServerResource": { +"description": "Configuration for resources used by Airflow web server.", +"id": "WebServerResource", +"properties": { +"cpu": { +"description": "Optional. CPU request and limit for Airflow web server.", +"format": "float", +"type": "number" +}, +"memoryGb": { +"description": "Optional. Memory (GB) request and limit for Airflow web server.", +"format": "float", +"type": "number" +}, +"storageGb": { +"description": "Optional. Storage (GB) request and limit for Airflow web server.", +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"WorkerResource": { +"description": "Configuration for resources used by Airflow workers.", +"id": "WorkerResource", +"properties": { +"cpu": { +"description": "Optional. CPU request and limit for a single Airflow worker replica.", +"format": "float", +"type": "number" +}, +"maxCount": { +"description": "Optional. Maximum number of workers for autoscaling.", +"format": "int32", +"type": "integer" +}, +"memoryGb": { +"description": "Optional. Memory (GB) request and limit for a single Airflow worker replica.", +"format": "float", +"type": "number" +}, +"minCount": { +"description": "Optional. Minimum number of workers for autoscaling.", +"format": "int32", +"type": "integer" +}, +"storageGb": { +"description": "Optional. Storage (GB) request and limit for a single Airflow worker replica.", +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"WorkloadsConfig": { +"description": "The Kubernetes workloads configuration for GKE cluster associated with the Cloud Composer environment. Supported for Cloud Composer environments in versions composer-2.*.*-airflow-*.*.* and newer.", +"id": "WorkloadsConfig", +"properties": { +"dagProcessor": { +"$ref": "DagProcessorResource", +"description": "Optional. Resources used by Airflow DAG processors. This field is supported for Cloud Composer environments in versions composer-3-airflow-*.*.*-build.* and newer." +}, +"scheduler": { +"$ref": "SchedulerResource", +"description": "Optional. Resources used by Airflow schedulers." +}, +"triggerer": { +"$ref": "TriggererResource", +"description": "Optional. Resources used by Airflow triggerers." +}, +"webServer": { +"$ref": "WebServerResource", +"description": "Optional. Resources used by Airflow web server." +}, +"worker": { +"$ref": "WorkerResource", +"description": "Optional. Resources used by Airflow workers." +} +}, +"type": "object" +} +}, +"servicePath": "", +"title": "Cloud Composer API", +"version": "v1beta1", +"version_module": true +} \ No newline at end of file diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/compute.beta.json b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/compute.beta.json new file mode 100644 index 0000000000000000000000000000000000000000..efe62ce1ec3f894cc78c81059e93a6eaed824f3e --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/compute.beta.json @@ -0,0 +1,117244 @@ +{ +"auth": { +"oauth2": { +"scopes": { +"https://www.googleapis.com/auth/cloud-platform": { +"description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." +}, +"https://www.googleapis.com/auth/compute": { +"description": "View and manage your Google Compute Engine resources" +}, +"https://www.googleapis.com/auth/compute.readonly": { +"description": "View your Google Compute Engine resources" +}, +"https://www.googleapis.com/auth/devstorage.full_control": { +"description": "Manage your data and permissions in Cloud Storage and see the email address for your Google Account" +}, +"https://www.googleapis.com/auth/devstorage.read_only": { +"description": "View your data in Google Cloud Storage" +}, +"https://www.googleapis.com/auth/devstorage.read_write": { +"description": "Manage your data in Cloud Storage and see the email address of your Google Account" +} +} +} +}, +"basePath": "/compute/beta/", +"baseUrl": "https://compute.googleapis.com/compute/beta/", +"batchPath": "batch/compute/beta", +"description": "Creates and runs virtual machines on Google Cloud Platform.", +"discoveryVersion": "v1", +"documentationLink": "https://cloud.google.com/compute/", +"icons": { +"x16": "https://www.google.com/images/icons/product/compute_engine-16.png", +"x32": "https://www.google.com/images/icons/product/compute_engine-32.png" +}, +"id": "compute:beta", +"kind": "discovery#restDescription", +"mtlsRootUrl": "https://compute.mtls.googleapis.com/", +"name": "compute", +"ownerDomain": "google.com", +"ownerName": "Google", +"parameters": { +"$.xgafv": { +"description": "V1 error format.", +"enum": [ +"1", +"2" +], +"enumDescriptions": [ +"v1 error format", +"v2 error format" +], +"location": "query", +"type": "string" +}, +"access_token": { +"description": "OAuth access token.", +"location": "query", +"type": "string" +}, +"alt": { +"default": "json", +"description": "Data format for response.", +"enum": [ +"json", +"media", +"proto" +], +"enumDescriptions": [ +"Responses with Content-Type of application/json", +"Media download with context-dependent Content-Type", +"Responses with Content-Type of application/x-protobuf" +], +"location": "query", +"type": "string" +}, +"callback": { +"description": "JSONP", +"location": "query", +"type": "string" +}, +"fields": { +"description": "Selector specifying which fields to include in a partial response.", +"location": "query", +"type": "string" +}, +"key": { +"description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", +"location": "query", +"type": "string" +}, +"oauth_token": { +"description": "OAuth 2.0 token for the current user.", +"location": "query", +"type": "string" +}, +"prettyPrint": { +"default": "true", +"description": "Returns response with indentations and line breaks.", +"location": "query", +"type": "boolean" +}, +"quotaUser": { +"description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.", +"location": "query", +"type": "string" +}, +"uploadType": { +"description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", +"location": "query", +"type": "string" +}, +"upload_protocol": { +"description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", +"location": "query", +"type": "string" +}, +"userIp": { +"description": "Legacy name for parameter that has been superseded by `quotaUser`.", +"location": "query", +"type": "string" +} +}, +"protocol": "rest", +"resources": { +"acceleratorTypes": { +"methods": { +"aggregatedList": { +"description": "Retrieves an aggregated list of accelerator types.\n\nTo prevent failure, it is recommended that you set the\n`returnPartialSuccess` parameter to `true`.", +"flatPath": "projects/{project}/aggregated/acceleratorTypes", +"httpMethod": "GET", +"id": "compute.acceleratorTypes.aggregatedList", +"parameterOrder": [ +"project" +], +"parameters": { +"filter": { +"description": "A filter expression that filters resources listed in the response. Most\nCompute resources support two types of filter expressions:\nexpressions that support regular expressions and expressions that follow\nAPI improvement proposal AIP-160.\nThese two types of filter expressions cannot be mixed in one request.\n\nIf you want to use AIP-160, your expression must specify the field name, an\noperator, and the value that you want to use for filtering. The value\nmust be a string, a number, or a boolean. The operator\nmust be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.\n\nFor example, if you are filtering Compute Engine instances, you can\nexclude instances named `example-instance` by specifying\n`name != example-instance`.\n\nThe `:*` comparison can be used to test whether a key has been defined.\nFor example, to find all objects with `owner` label use:\n```\nlabels.owner:*\n```\n\nYou can also filter nested fields. For example, you could specify\n`scheduling.automaticRestart = false` to include instances only\nif they are not scheduled for automatic restarts. You can use filtering\non nested fields to filter based onresource labels.\n\nTo filter on multiple expressions, provide each separate expression within\nparentheses. For example:\n```\n(scheduling.automaticRestart = true)\n(cpuPlatform = \"Intel Skylake\")\n```\nBy default, each expression is an `AND` expression. However, you\ncan include `AND` and `OR` expressions explicitly.\nFor example:\n```\n(cpuPlatform = \"Intel Skylake\") OR\n(cpuPlatform = \"Intel Broadwell\") AND\n(scheduling.automaticRestart = true)\n```\n\nIf you want to use a regular expression, use the `eq` (equal) or `ne`\n(not equal) operator against a single un-parenthesized expression with or\nwithout quotes or against multiple parenthesized expressions. Examples:\n\n`fieldname eq unquoted literal`\n`fieldname eq 'single quoted literal'`\n`fieldname eq \"double quoted literal\"`\n`(fieldname1 eq literal) (fieldname2 ne \"literal\")`\n\nThe literal value is interpreted as a regular expression using GoogleRE2 library syntax.\nThe literal value must match the entire field.\n\nFor example, to filter for instances that do not end with name \"instance\",\nyou would use `name ne .*instance`.\n\nYou cannot combine constraints on multiple fields using regular\nexpressions.", +"location": "query", +"type": "string" +}, +"includeAllScopes": { +"description": "Indicates whether every visible scope for each scope type (zone, region,\nglobal) should be included in the response. For new resource types added\nafter this field, the flag has no effect as new resource types will always\ninclude every visible scope for each scope type in response. For resource\ntypes which predate this field, if this flag is omitted or false, only\nscopes of the scope types where the resource type is expected to be found\nwill be included.", +"location": "query", +"type": "boolean" +}, +"maxResults": { +"default": "500", +"description": "The maximum number of results per page that should be returned.\nIf the number of available results is larger than `maxResults`,\nCompute Engine returns a `nextPageToken` that can be used to get\nthe next page of results in subsequent list requests. Acceptable values are\n`0` to `500`, inclusive. (Default: `500`)", +"format": "uint32", +"location": "query", +"minimum": "0", +"type": "integer" +}, +"orderBy": { +"description": "Sorts list results by a certain order. By default, results\nare returned in alphanumerical order based on the resource name.\n\nYou can also sort results in descending order based on the creation\ntimestamp using `orderBy=\"creationTimestamp desc\"`. This sorts\nresults based on the `creationTimestamp` field in\nreverse chronological order (newest result first). Use this to sort\nresources like operations so that the newest operation is returned first.\n\nCurrently, only sorting by `name` or\n`creationTimestamp desc` is supported.", +"location": "query", +"type": "string" +}, +"pageToken": { +"description": "Specifies a page token to use. Set `pageToken` to the\n`nextPageToken` returned by a previous list request to get\nthe next page of results.", +"location": "query", +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"returnPartialSuccess": { +"description": "Opt-in for partial success behavior which provides partial results in case\nof failure. The default value is false.\n\nFor example, when partial success behavior is enabled, aggregatedList for a\nsingle zone scope either returns all resources in the zone or no resources,\nwith an error code.", +"location": "query", +"type": "boolean" +}, +"serviceProjectNumber": { +"description": "The Shared VPC service project id or service project number for which\naggregated list request is invoked for subnetworks list-usable api.", +"format": "int64", +"location": "query", +"type": "string" +} +}, +"path": "projects/{project}/aggregated/acceleratorTypes", +"response": { +"$ref": "AcceleratorTypeAggregatedList" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"get": { +"description": "Returns the specified accelerator type.", +"flatPath": "projects/{project}/zones/{zone}/acceleratorTypes/{acceleratorType}", +"httpMethod": "GET", +"id": "compute.acceleratorTypes.get", +"parameterOrder": [ +"project", +"zone", +"acceleratorType" +], +"parameters": { +"acceleratorType": { +"description": "Name of the accelerator type to return.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"zone": { +"description": "The name of the zone for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/zones/{zone}/acceleratorTypes/{acceleratorType}", +"response": { +"$ref": "AcceleratorType" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"list": { +"description": "Retrieves a list of accelerator types that are available to the specified\nproject.", +"flatPath": "projects/{project}/zones/{zone}/acceleratorTypes", +"httpMethod": "GET", +"id": "compute.acceleratorTypes.list", +"parameterOrder": [ +"project", +"zone" +], +"parameters": { +"filter": { +"description": "A filter expression that filters resources listed in the response. Most\nCompute resources support two types of filter expressions:\nexpressions that support regular expressions and expressions that follow\nAPI improvement proposal AIP-160.\nThese two types of filter expressions cannot be mixed in one request.\n\nIf you want to use AIP-160, your expression must specify the field name, an\noperator, and the value that you want to use for filtering. The value\nmust be a string, a number, or a boolean. The operator\nmust be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.\n\nFor example, if you are filtering Compute Engine instances, you can\nexclude instances named `example-instance` by specifying\n`name != example-instance`.\n\nThe `:*` comparison can be used to test whether a key has been defined.\nFor example, to find all objects with `owner` label use:\n```\nlabels.owner:*\n```\n\nYou can also filter nested fields. For example, you could specify\n`scheduling.automaticRestart = false` to include instances only\nif they are not scheduled for automatic restarts. You can use filtering\non nested fields to filter based onresource labels.\n\nTo filter on multiple expressions, provide each separate expression within\nparentheses. For example:\n```\n(scheduling.automaticRestart = true)\n(cpuPlatform = \"Intel Skylake\")\n```\nBy default, each expression is an `AND` expression. However, you\ncan include `AND` and `OR` expressions explicitly.\nFor example:\n```\n(cpuPlatform = \"Intel Skylake\") OR\n(cpuPlatform = \"Intel Broadwell\") AND\n(scheduling.automaticRestart = true)\n```\n\nIf you want to use a regular expression, use the `eq` (equal) or `ne`\n(not equal) operator against a single un-parenthesized expression with or\nwithout quotes or against multiple parenthesized expressions. Examples:\n\n`fieldname eq unquoted literal`\n`fieldname eq 'single quoted literal'`\n`fieldname eq \"double quoted literal\"`\n`(fieldname1 eq literal) (fieldname2 ne \"literal\")`\n\nThe literal value is interpreted as a regular expression using GoogleRE2 library syntax.\nThe literal value must match the entire field.\n\nFor example, to filter for instances that do not end with name \"instance\",\nyou would use `name ne .*instance`.\n\nYou cannot combine constraints on multiple fields using regular\nexpressions.", +"location": "query", +"type": "string" +}, +"maxResults": { +"default": "500", +"description": "The maximum number of results per page that should be returned.\nIf the number of available results is larger than `maxResults`,\nCompute Engine returns a `nextPageToken` that can be used to get\nthe next page of results in subsequent list requests. Acceptable values are\n`0` to `500`, inclusive. (Default: `500`)", +"format": "uint32", +"location": "query", +"minimum": "0", +"type": "integer" +}, +"orderBy": { +"description": "Sorts list results by a certain order. By default, results\nare returned in alphanumerical order based on the resource name.\n\nYou can also sort results in descending order based on the creation\ntimestamp using `orderBy=\"creationTimestamp desc\"`. This sorts\nresults based on the `creationTimestamp` field in\nreverse chronological order (newest result first). Use this to sort\nresources like operations so that the newest operation is returned first.\n\nCurrently, only sorting by `name` or\n`creationTimestamp desc` is supported.", +"location": "query", +"type": "string" +}, +"pageToken": { +"description": "Specifies a page token to use. Set `pageToken` to the\n`nextPageToken` returned by a previous list request to get\nthe next page of results.", +"location": "query", +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"returnPartialSuccess": { +"description": "Opt-in for partial success behavior which provides partial results in case\nof failure. The default value is false.\n\nFor example, when partial success behavior is enabled, aggregatedList for a\nsingle zone scope either returns all resources in the zone or no resources,\nwith an error code.", +"location": "query", +"type": "boolean" +}, +"zone": { +"description": "The name of the zone for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/zones/{zone}/acceleratorTypes", +"response": { +"$ref": "AcceleratorTypeList" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +} +} +}, +"addresses": { +"methods": { +"aggregatedList": { +"description": "Retrieves an aggregated list of addresses.\n\nTo prevent failure, it is recommended that you set the\n`returnPartialSuccess` parameter to `true`.", +"flatPath": "projects/{project}/aggregated/addresses", +"httpMethod": "GET", +"id": "compute.addresses.aggregatedList", +"parameterOrder": [ +"project" +], +"parameters": { +"filter": { +"description": "A filter expression that filters resources listed in the response. Most\nCompute resources support two types of filter expressions:\nexpressions that support regular expressions and expressions that follow\nAPI improvement proposal AIP-160.\nThese two types of filter expressions cannot be mixed in one request.\n\nIf you want to use AIP-160, your expression must specify the field name, an\noperator, and the value that you want to use for filtering. The value\nmust be a string, a number, or a boolean. The operator\nmust be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.\n\nFor example, if you are filtering Compute Engine instances, you can\nexclude instances named `example-instance` by specifying\n`name != example-instance`.\n\nThe `:*` comparison can be used to test whether a key has been defined.\nFor example, to find all objects with `owner` label use:\n```\nlabels.owner:*\n```\n\nYou can also filter nested fields. For example, you could specify\n`scheduling.automaticRestart = false` to include instances only\nif they are not scheduled for automatic restarts. You can use filtering\non nested fields to filter based onresource labels.\n\nTo filter on multiple expressions, provide each separate expression within\nparentheses. For example:\n```\n(scheduling.automaticRestart = true)\n(cpuPlatform = \"Intel Skylake\")\n```\nBy default, each expression is an `AND` expression. However, you\ncan include `AND` and `OR` expressions explicitly.\nFor example:\n```\n(cpuPlatform = \"Intel Skylake\") OR\n(cpuPlatform = \"Intel Broadwell\") AND\n(scheduling.automaticRestart = true)\n```\n\nIf you want to use a regular expression, use the `eq` (equal) or `ne`\n(not equal) operator against a single un-parenthesized expression with or\nwithout quotes or against multiple parenthesized expressions. Examples:\n\n`fieldname eq unquoted literal`\n`fieldname eq 'single quoted literal'`\n`fieldname eq \"double quoted literal\"`\n`(fieldname1 eq literal) (fieldname2 ne \"literal\")`\n\nThe literal value is interpreted as a regular expression using GoogleRE2 library syntax.\nThe literal value must match the entire field.\n\nFor example, to filter for instances that do not end with name \"instance\",\nyou would use `name ne .*instance`.\n\nYou cannot combine constraints on multiple fields using regular\nexpressions.", +"location": "query", +"type": "string" +}, +"includeAllScopes": { +"description": "Indicates whether every visible scope for each scope type (zone, region,\nglobal) should be included in the response. For new resource types added\nafter this field, the flag has no effect as new resource types will always\ninclude every visible scope for each scope type in response. For resource\ntypes which predate this field, if this flag is omitted or false, only\nscopes of the scope types where the resource type is expected to be found\nwill be included.", +"location": "query", +"type": "boolean" +}, +"maxResults": { +"default": "500", +"description": "The maximum number of results per page that should be returned.\nIf the number of available results is larger than `maxResults`,\nCompute Engine returns a `nextPageToken` that can be used to get\nthe next page of results in subsequent list requests. Acceptable values are\n`0` to `500`, inclusive. (Default: `500`)", +"format": "uint32", +"location": "query", +"minimum": "0", +"type": "integer" +}, +"orderBy": { +"description": "Sorts list results by a certain order. By default, results\nare returned in alphanumerical order based on the resource name.\n\nYou can also sort results in descending order based on the creation\ntimestamp using `orderBy=\"creationTimestamp desc\"`. This sorts\nresults based on the `creationTimestamp` field in\nreverse chronological order (newest result first). Use this to sort\nresources like operations so that the newest operation is returned first.\n\nCurrently, only sorting by `name` or\n`creationTimestamp desc` is supported.", +"location": "query", +"type": "string" +}, +"pageToken": { +"description": "Specifies a page token to use. Set `pageToken` to the\n`nextPageToken` returned by a previous list request to get\nthe next page of results.", +"location": "query", +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"returnPartialSuccess": { +"description": "Opt-in for partial success behavior which provides partial results in case\nof failure. The default value is false.\n\nFor example, when partial success behavior is enabled, aggregatedList for a\nsingle zone scope either returns all resources in the zone or no resources,\nwith an error code.", +"location": "query", +"type": "boolean" +}, +"serviceProjectNumber": { +"description": "The Shared VPC service project id or service project number for which\naggregated list request is invoked for subnetworks list-usable api.", +"format": "int64", +"location": "query", +"type": "string" +} +}, +"path": "projects/{project}/aggregated/addresses", +"response": { +"$ref": "AddressAggregatedList" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"delete": { +"description": "Deletes the specified address resource.", +"flatPath": "projects/{project}/regions/{region}/addresses/{address}", +"httpMethod": "DELETE", +"id": "compute.addresses.delete", +"parameterOrder": [ +"project", +"region", +"address" +], +"parameters": { +"address": { +"description": "Name of the address resource to delete.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "Name of the region for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "projects/{project}/regions/{region}/addresses/{address}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"get": { +"description": "Returns the specified address resource.", +"flatPath": "projects/{project}/regions/{region}/addresses/{address}", +"httpMethod": "GET", +"id": "compute.addresses.get", +"parameterOrder": [ +"project", +"region", +"address" +], +"parameters": { +"address": { +"description": "Name of the address resource to return.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "Name of the region for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/regions/{region}/addresses/{address}", +"response": { +"$ref": "Address" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"insert": { +"description": "Creates an address resource in the specified project by using the data\nincluded in the request.", +"flatPath": "projects/{project}/regions/{region}/addresses", +"httpMethod": "POST", +"id": "compute.addresses.insert", +"parameterOrder": [ +"project", +"region" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "Name of the region for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "projects/{project}/regions/{region}/addresses", +"request": { +"$ref": "Address" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"list": { +"description": "Retrieves a list of addresses contained within\nthe specified region.", +"flatPath": "projects/{project}/regions/{region}/addresses", +"httpMethod": "GET", +"id": "compute.addresses.list", +"parameterOrder": [ +"project", +"region" +], +"parameters": { +"filter": { +"description": "A filter expression that filters resources listed in the response. Most\nCompute resources support two types of filter expressions:\nexpressions that support regular expressions and expressions that follow\nAPI improvement proposal AIP-160.\nThese two types of filter expressions cannot be mixed in one request.\n\nIf you want to use AIP-160, your expression must specify the field name, an\noperator, and the value that you want to use for filtering. The value\nmust be a string, a number, or a boolean. The operator\nmust be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.\n\nFor example, if you are filtering Compute Engine instances, you can\nexclude instances named `example-instance` by specifying\n`name != example-instance`.\n\nThe `:*` comparison can be used to test whether a key has been defined.\nFor example, to find all objects with `owner` label use:\n```\nlabels.owner:*\n```\n\nYou can also filter nested fields. For example, you could specify\n`scheduling.automaticRestart = false` to include instances only\nif they are not scheduled for automatic restarts. You can use filtering\non nested fields to filter based onresource labels.\n\nTo filter on multiple expressions, provide each separate expression within\nparentheses. For example:\n```\n(scheduling.automaticRestart = true)\n(cpuPlatform = \"Intel Skylake\")\n```\nBy default, each expression is an `AND` expression. However, you\ncan include `AND` and `OR` expressions explicitly.\nFor example:\n```\n(cpuPlatform = \"Intel Skylake\") OR\n(cpuPlatform = \"Intel Broadwell\") AND\n(scheduling.automaticRestart = true)\n```\n\nIf you want to use a regular expression, use the `eq` (equal) or `ne`\n(not equal) operator against a single un-parenthesized expression with or\nwithout quotes or against multiple parenthesized expressions. Examples:\n\n`fieldname eq unquoted literal`\n`fieldname eq 'single quoted literal'`\n`fieldname eq \"double quoted literal\"`\n`(fieldname1 eq literal) (fieldname2 ne \"literal\")`\n\nThe literal value is interpreted as a regular expression using GoogleRE2 library syntax.\nThe literal value must match the entire field.\n\nFor example, to filter for instances that do not end with name \"instance\",\nyou would use `name ne .*instance`.\n\nYou cannot combine constraints on multiple fields using regular\nexpressions.", +"location": "query", +"type": "string" +}, +"maxResults": { +"default": "500", +"description": "The maximum number of results per page that should be returned.\nIf the number of available results is larger than `maxResults`,\nCompute Engine returns a `nextPageToken` that can be used to get\nthe next page of results in subsequent list requests. Acceptable values are\n`0` to `500`, inclusive. (Default: `500`)", +"format": "uint32", +"location": "query", +"minimum": "0", +"type": "integer" +}, +"orderBy": { +"description": "Sorts list results by a certain order. By default, results\nare returned in alphanumerical order based on the resource name.\n\nYou can also sort results in descending order based on the creation\ntimestamp using `orderBy=\"creationTimestamp desc\"`. This sorts\nresults based on the `creationTimestamp` field in\nreverse chronological order (newest result first). Use this to sort\nresources like operations so that the newest operation is returned first.\n\nCurrently, only sorting by `name` or\n`creationTimestamp desc` is supported.", +"location": "query", +"type": "string" +}, +"pageToken": { +"description": "Specifies a page token to use. Set `pageToken` to the\n`nextPageToken` returned by a previous list request to get\nthe next page of results.", +"location": "query", +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "Name of the region for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +}, +"returnPartialSuccess": { +"description": "Opt-in for partial success behavior which provides partial results in case\nof failure. The default value is false.\n\nFor example, when partial success behavior is enabled, aggregatedList for a\nsingle zone scope either returns all resources in the zone or no resources,\nwith an error code.", +"location": "query", +"type": "boolean" +} +}, +"path": "projects/{project}/regions/{region}/addresses", +"response": { +"$ref": "AddressList" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"move": { +"description": "Moves the specified address resource.", +"flatPath": "projects/{project}/regions/{region}/addresses/{address}/move", +"httpMethod": "POST", +"id": "compute.addresses.move", +"parameterOrder": [ +"project", +"region", +"address" +], +"parameters": { +"address": { +"description": "Name of the address resource to move.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +}, +"project": { +"description": "Source project ID which the Address is moved from.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "Name of the region for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "projects/{project}/regions/{region}/addresses/{address}/move", +"request": { +"$ref": "RegionAddressesMoveRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"setLabels": { +"description": "Sets the labels on an Address. To learn more about labels, read theLabeling\nResources documentation.", +"flatPath": "projects/{project}/regions/{region}/addresses/{resource}/setLabels", +"httpMethod": "POST", +"id": "compute.addresses.setLabels", +"parameterOrder": [ +"project", +"region", +"resource" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "The region for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"resource": { +"description": "Name or id of the resource for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/regions/{region}/addresses/{resource}/setLabels", +"request": { +"$ref": "RegionSetLabelsRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"testIamPermissions": { +"description": "Returns permissions that a caller has on the specified resource.", +"flatPath": "projects/{project}/regions/{region}/addresses/{resource}/testIamPermissions", +"httpMethod": "POST", +"id": "compute.addresses.testIamPermissions", +"parameterOrder": [ +"project", +"region", +"resource" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "The name of the region for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +}, +"resource": { +"description": "Name or id of the resource for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/regions/{region}/addresses/{resource}/testIamPermissions", +"request": { +"$ref": "TestPermissionsRequest" +}, +"response": { +"$ref": "TestPermissionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +} +} +}, +"advice": { +"methods": { +"calendarMode": { +"description": "Advise how, where and when to create the requested amount of instances\nwith specified accelerators, within the specified time and location limits.\nThe method recommends creating future reservations for the requested\nresources.", +"flatPath": "projects/{project}/regions/{region}/advice/calendarMode", +"httpMethod": "POST", +"id": "compute.advice.calendarMode", +"parameterOrder": [ +"project", +"region" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "Name of the region for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/regions/{region}/advice/calendarMode", +"request": { +"$ref": "CalendarModeAdviceRequest" +}, +"response": { +"$ref": "CalendarModeAdviceResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +} +} +}, +"autoscalers": { +"methods": { +"aggregatedList": { +"description": "Retrieves an aggregated list of autoscalers.\n\nTo prevent failure, it is recommended that you set the\n`returnPartialSuccess` parameter to `true`.", +"flatPath": "projects/{project}/aggregated/autoscalers", +"httpMethod": "GET", +"id": "compute.autoscalers.aggregatedList", +"parameterOrder": [ +"project" +], +"parameters": { +"filter": { +"description": "A filter expression that filters resources listed in the response. Most\nCompute resources support two types of filter expressions:\nexpressions that support regular expressions and expressions that follow\nAPI improvement proposal AIP-160.\nThese two types of filter expressions cannot be mixed in one request.\n\nIf you want to use AIP-160, your expression must specify the field name, an\noperator, and the value that you want to use for filtering. The value\nmust be a string, a number, or a boolean. The operator\nmust be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.\n\nFor example, if you are filtering Compute Engine instances, you can\nexclude instances named `example-instance` by specifying\n`name != example-instance`.\n\nThe `:*` comparison can be used to test whether a key has been defined.\nFor example, to find all objects with `owner` label use:\n```\nlabels.owner:*\n```\n\nYou can also filter nested fields. For example, you could specify\n`scheduling.automaticRestart = false` to include instances only\nif they are not scheduled for automatic restarts. You can use filtering\non nested fields to filter based onresource labels.\n\nTo filter on multiple expressions, provide each separate expression within\nparentheses. For example:\n```\n(scheduling.automaticRestart = true)\n(cpuPlatform = \"Intel Skylake\")\n```\nBy default, each expression is an `AND` expression. However, you\ncan include `AND` and `OR` expressions explicitly.\nFor example:\n```\n(cpuPlatform = \"Intel Skylake\") OR\n(cpuPlatform = \"Intel Broadwell\") AND\n(scheduling.automaticRestart = true)\n```\n\nIf you want to use a regular expression, use the `eq` (equal) or `ne`\n(not equal) operator against a single un-parenthesized expression with or\nwithout quotes or against multiple parenthesized expressions. Examples:\n\n`fieldname eq unquoted literal`\n`fieldname eq 'single quoted literal'`\n`fieldname eq \"double quoted literal\"`\n`(fieldname1 eq literal) (fieldname2 ne \"literal\")`\n\nThe literal value is interpreted as a regular expression using GoogleRE2 library syntax.\nThe literal value must match the entire field.\n\nFor example, to filter for instances that do not end with name \"instance\",\nyou would use `name ne .*instance`.\n\nYou cannot combine constraints on multiple fields using regular\nexpressions.", +"location": "query", +"type": "string" +}, +"includeAllScopes": { +"description": "Indicates whether every visible scope for each scope type (zone, region,\nglobal) should be included in the response. For new resource types added\nafter this field, the flag has no effect as new resource types will always\ninclude every visible scope for each scope type in response. For resource\ntypes which predate this field, if this flag is omitted or false, only\nscopes of the scope types where the resource type is expected to be found\nwill be included.", +"location": "query", +"type": "boolean" +}, +"maxResults": { +"default": "500", +"description": "The maximum number of results per page that should be returned.\nIf the number of available results is larger than `maxResults`,\nCompute Engine returns a `nextPageToken` that can be used to get\nthe next page of results in subsequent list requests. Acceptable values are\n`0` to `500`, inclusive. (Default: `500`)", +"format": "uint32", +"location": "query", +"minimum": "0", +"type": "integer" +}, +"orderBy": { +"description": "Sorts list results by a certain order. By default, results\nare returned in alphanumerical order based on the resource name.\n\nYou can also sort results in descending order based on the creation\ntimestamp using `orderBy=\"creationTimestamp desc\"`. This sorts\nresults based on the `creationTimestamp` field in\nreverse chronological order (newest result first). Use this to sort\nresources like operations so that the newest operation is returned first.\n\nCurrently, only sorting by `name` or\n`creationTimestamp desc` is supported.", +"location": "query", +"type": "string" +}, +"pageToken": { +"description": "Specifies a page token to use. Set `pageToken` to the\n`nextPageToken` returned by a previous list request to get\nthe next page of results.", +"location": "query", +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"returnPartialSuccess": { +"description": "Opt-in for partial success behavior which provides partial results in case\nof failure. The default value is false.\n\nFor example, when partial success behavior is enabled, aggregatedList for a\nsingle zone scope either returns all resources in the zone or no resources,\nwith an error code.", +"location": "query", +"type": "boolean" +}, +"serviceProjectNumber": { +"description": "The Shared VPC service project id or service project number for which\naggregated list request is invoked for subnetworks list-usable api.", +"format": "int64", +"location": "query", +"type": "string" +} +}, +"path": "projects/{project}/aggregated/autoscalers", +"response": { +"$ref": "AutoscalerAggregatedList" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"delete": { +"description": "Deletes the specified autoscaler.", +"flatPath": "projects/{project}/zones/{zone}/autoscalers/{autoscaler}", +"httpMethod": "DELETE", +"id": "compute.autoscalers.delete", +"parameterOrder": [ +"project", +"zone", +"autoscaler" +], +"parameters": { +"autoscaler": { +"description": "Name of the autoscaler to delete.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"zone": { +"description": "Name of the zone for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/zones/{zone}/autoscalers/{autoscaler}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"get": { +"description": "Returns the specified autoscaler resource.", +"flatPath": "projects/{project}/zones/{zone}/autoscalers/{autoscaler}", +"httpMethod": "GET", +"id": "compute.autoscalers.get", +"parameterOrder": [ +"project", +"zone", +"autoscaler" +], +"parameters": { +"autoscaler": { +"description": "Name of the autoscaler to return.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"zone": { +"description": "Name of the zone for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/zones/{zone}/autoscalers/{autoscaler}", +"response": { +"$ref": "Autoscaler" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"insert": { +"description": "Creates an autoscaler in the specified project using the data\nincluded in the request.", +"flatPath": "projects/{project}/zones/{zone}/autoscalers", +"httpMethod": "POST", +"id": "compute.autoscalers.insert", +"parameterOrder": [ +"project", +"zone" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"zone": { +"description": "Name of the zone for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/zones/{zone}/autoscalers", +"request": { +"$ref": "Autoscaler" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"list": { +"description": "Retrieves a list of autoscalers contained within\nthe specified zone.", +"flatPath": "projects/{project}/zones/{zone}/autoscalers", +"httpMethod": "GET", +"id": "compute.autoscalers.list", +"parameterOrder": [ +"project", +"zone" +], +"parameters": { +"filter": { +"description": "A filter expression that filters resources listed in the response. Most\nCompute resources support two types of filter expressions:\nexpressions that support regular expressions and expressions that follow\nAPI improvement proposal AIP-160.\nThese two types of filter expressions cannot be mixed in one request.\n\nIf you want to use AIP-160, your expression must specify the field name, an\noperator, and the value that you want to use for filtering. The value\nmust be a string, a number, or a boolean. The operator\nmust be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.\n\nFor example, if you are filtering Compute Engine instances, you can\nexclude instances named `example-instance` by specifying\n`name != example-instance`.\n\nThe `:*` comparison can be used to test whether a key has been defined.\nFor example, to find all objects with `owner` label use:\n```\nlabels.owner:*\n```\n\nYou can also filter nested fields. For example, you could specify\n`scheduling.automaticRestart = false` to include instances only\nif they are not scheduled for automatic restarts. You can use filtering\non nested fields to filter based onresource labels.\n\nTo filter on multiple expressions, provide each separate expression within\nparentheses. For example:\n```\n(scheduling.automaticRestart = true)\n(cpuPlatform = \"Intel Skylake\")\n```\nBy default, each expression is an `AND` expression. However, you\ncan include `AND` and `OR` expressions explicitly.\nFor example:\n```\n(cpuPlatform = \"Intel Skylake\") OR\n(cpuPlatform = \"Intel Broadwell\") AND\n(scheduling.automaticRestart = true)\n```\n\nIf you want to use a regular expression, use the `eq` (equal) or `ne`\n(not equal) operator against a single un-parenthesized expression with or\nwithout quotes or against multiple parenthesized expressions. Examples:\n\n`fieldname eq unquoted literal`\n`fieldname eq 'single quoted literal'`\n`fieldname eq \"double quoted literal\"`\n`(fieldname1 eq literal) (fieldname2 ne \"literal\")`\n\nThe literal value is interpreted as a regular expression using GoogleRE2 library syntax.\nThe literal value must match the entire field.\n\nFor example, to filter for instances that do not end with name \"instance\",\nyou would use `name ne .*instance`.\n\nYou cannot combine constraints on multiple fields using regular\nexpressions.", +"location": "query", +"type": "string" +}, +"maxResults": { +"default": "500", +"description": "The maximum number of results per page that should be returned.\nIf the number of available results is larger than `maxResults`,\nCompute Engine returns a `nextPageToken` that can be used to get\nthe next page of results in subsequent list requests. Acceptable values are\n`0` to `500`, inclusive. (Default: `500`)", +"format": "uint32", +"location": "query", +"minimum": "0", +"type": "integer" +}, +"orderBy": { +"description": "Sorts list results by a certain order. By default, results\nare returned in alphanumerical order based on the resource name.\n\nYou can also sort results in descending order based on the creation\ntimestamp using `orderBy=\"creationTimestamp desc\"`. This sorts\nresults based on the `creationTimestamp` field in\nreverse chronological order (newest result first). Use this to sort\nresources like operations so that the newest operation is returned first.\n\nCurrently, only sorting by `name` or\n`creationTimestamp desc` is supported.", +"location": "query", +"type": "string" +}, +"pageToken": { +"description": "Specifies a page token to use. Set `pageToken` to the\n`nextPageToken` returned by a previous list request to get\nthe next page of results.", +"location": "query", +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"returnPartialSuccess": { +"description": "Opt-in for partial success behavior which provides partial results in case\nof failure. The default value is false.\n\nFor example, when partial success behavior is enabled, aggregatedList for a\nsingle zone scope either returns all resources in the zone or no resources,\nwith an error code.", +"location": "query", +"type": "boolean" +}, +"zone": { +"description": "Name of the zone for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/zones/{zone}/autoscalers", +"response": { +"$ref": "AutoscalerList" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"patch": { +"description": "Updates an autoscaler in the specified project using the data\nincluded in the request. This method supportsPATCH\nsemantics and uses theJSON merge\npatch format and processing rules.", +"flatPath": "projects/{project}/zones/{zone}/autoscalers", +"httpMethod": "PATCH", +"id": "compute.autoscalers.patch", +"parameterOrder": [ +"project", +"zone" +], +"parameters": { +"autoscaler": { +"description": "Name of the autoscaler to patch.", +"location": "query", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"zone": { +"description": "Name of the zone for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/zones/{zone}/autoscalers", +"request": { +"$ref": "Autoscaler" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"testIamPermissions": { +"description": "Returns permissions that a caller has on the specified resource.", +"flatPath": "projects/{project}/zones/{zone}/autoscalers/{resource}/testIamPermissions", +"httpMethod": "POST", +"id": "compute.autoscalers.testIamPermissions", +"parameterOrder": [ +"project", +"zone", +"resource" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"resource": { +"description": "Name or id of the resource for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +}, +"zone": { +"description": "The name of the zone for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/zones/{zone}/autoscalers/{resource}/testIamPermissions", +"request": { +"$ref": "TestPermissionsRequest" +}, +"response": { +"$ref": "TestPermissionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"update": { +"description": "Updates an autoscaler in the specified project using the data\nincluded in the request.", +"flatPath": "projects/{project}/zones/{zone}/autoscalers", +"httpMethod": "PUT", +"id": "compute.autoscalers.update", +"parameterOrder": [ +"project", +"zone" +], +"parameters": { +"autoscaler": { +"description": "Name of the autoscaler to update.", +"location": "query", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"zone": { +"description": "Name of the zone for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/zones/{zone}/autoscalers", +"request": { +"$ref": "Autoscaler" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +} +} +}, +"backendBuckets": { +"methods": { +"addSignedUrlKey": { +"description": "Adds a key for validating requests with signed URLs for this backend\nbucket.", +"flatPath": "projects/{project}/global/backendBuckets/{backendBucket}/addSignedUrlKey", +"httpMethod": "POST", +"id": "compute.backendBuckets.addSignedUrlKey", +"parameterOrder": [ +"project", +"backendBucket" +], +"parameters": { +"backendBucket": { +"description": "Name of the BackendBucket resource to which the Signed URL Key should be\nadded. The name should conform to RFC1035.", +"location": "path", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "projects/{project}/global/backendBuckets/{backendBucket}/addSignedUrlKey", +"request": { +"$ref": "SignedUrlKey" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"aggregatedList": { +"description": "Retrieves the list of all BackendBucket resources, regional and global,\navailable to the specified project.\n\nTo prevent failure, it is recommended that you set the\n`returnPartialSuccess` parameter to `true`.", +"flatPath": "projects/{project}/aggregated/backendBuckets", +"httpMethod": "GET", +"id": "compute.backendBuckets.aggregatedList", +"parameterOrder": [ +"project" +], +"parameters": { +"filter": { +"description": "A filter expression that filters resources listed in the response. Most\nCompute resources support two types of filter expressions:\nexpressions that support regular expressions and expressions that follow\nAPI improvement proposal AIP-160.\nThese two types of filter expressions cannot be mixed in one request.\n\nIf you want to use AIP-160, your expression must specify the field name, an\noperator, and the value that you want to use for filtering. The value\nmust be a string, a number, or a boolean. The operator\nmust be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.\n\nFor example, if you are filtering Compute Engine instances, you can\nexclude instances named `example-instance` by specifying\n`name != example-instance`.\n\nThe `:*` comparison can be used to test whether a key has been defined.\nFor example, to find all objects with `owner` label use:\n```\nlabels.owner:*\n```\n\nYou can also filter nested fields. For example, you could specify\n`scheduling.automaticRestart = false` to include instances only\nif they are not scheduled for automatic restarts. You can use filtering\non nested fields to filter based onresource labels.\n\nTo filter on multiple expressions, provide each separate expression within\nparentheses. For example:\n```\n(scheduling.automaticRestart = true)\n(cpuPlatform = \"Intel Skylake\")\n```\nBy default, each expression is an `AND` expression. However, you\ncan include `AND` and `OR` expressions explicitly.\nFor example:\n```\n(cpuPlatform = \"Intel Skylake\") OR\n(cpuPlatform = \"Intel Broadwell\") AND\n(scheduling.automaticRestart = true)\n```\n\nIf you want to use a regular expression, use the `eq` (equal) or `ne`\n(not equal) operator against a single un-parenthesized expression with or\nwithout quotes or against multiple parenthesized expressions. Examples:\n\n`fieldname eq unquoted literal`\n`fieldname eq 'single quoted literal'`\n`fieldname eq \"double quoted literal\"`\n`(fieldname1 eq literal) (fieldname2 ne \"literal\")`\n\nThe literal value is interpreted as a regular expression using GoogleRE2 library syntax.\nThe literal value must match the entire field.\n\nFor example, to filter for instances that do not end with name \"instance\",\nyou would use `name ne .*instance`.\n\nYou cannot combine constraints on multiple fields using regular\nexpressions.", +"location": "query", +"type": "string" +}, +"includeAllScopes": { +"description": "Indicates whether every visible scope for each scope type (zone, region,\nglobal) should be included in the response. For new resource types added\nafter this field, the flag has no effect as new resource types will always\ninclude every visible scope for each scope type in response. For resource\ntypes which predate this field, if this flag is omitted or false, only\nscopes of the scope types where the resource type is expected to be found\nwill be included.", +"location": "query", +"type": "boolean" +}, +"maxResults": { +"default": "500", +"description": "The maximum number of results per page that should be returned.\nIf the number of available results is larger than `maxResults`,\nCompute Engine returns a `nextPageToken` that can be used to get\nthe next page of results in subsequent list requests. Acceptable values are\n`0` to `500`, inclusive. (Default: `500`)", +"format": "uint32", +"location": "query", +"minimum": "0", +"type": "integer" +}, +"orderBy": { +"description": "Sorts list results by a certain order. By default, results\nare returned in alphanumerical order based on the resource name.\n\nYou can also sort results in descending order based on the creation\ntimestamp using `orderBy=\"creationTimestamp desc\"`. This sorts\nresults based on the `creationTimestamp` field in\nreverse chronological order (newest result first). Use this to sort\nresources like operations so that the newest operation is returned first.\n\nCurrently, only sorting by `name` or\n`creationTimestamp desc` is supported.", +"location": "query", +"type": "string" +}, +"pageToken": { +"description": "Specifies a page token to use. Set `pageToken` to the\n`nextPageToken` returned by a previous list request to get\nthe next page of results.", +"location": "query", +"type": "string" +}, +"project": { +"description": "Name of the project scoping this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"returnPartialSuccess": { +"description": "Opt-in for partial success behavior which provides partial results in case\nof failure. The default value is false.\n\nFor example, when partial success behavior is enabled, aggregatedList for a\nsingle zone scope either returns all resources in the zone or no resources,\nwith an error code.", +"location": "query", +"type": "boolean" +}, +"serviceProjectNumber": { +"description": "The Shared VPC service project id or service project number for which\naggregated list request is invoked for subnetworks list-usable api.", +"format": "int64", +"location": "query", +"type": "string" +} +}, +"path": "projects/{project}/aggregated/backendBuckets", +"response": { +"$ref": "BackendBucketAggregatedList" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"delete": { +"description": "Deletes the specified BackendBucket resource.", +"flatPath": "projects/{project}/global/backendBuckets/{backendBucket}", +"httpMethod": "DELETE", +"id": "compute.backendBuckets.delete", +"parameterOrder": [ +"project", +"backendBucket" +], +"parameters": { +"backendBucket": { +"description": "Name of the BackendBucket resource to delete.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "projects/{project}/global/backendBuckets/{backendBucket}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"deleteSignedUrlKey": { +"description": "Deletes a key for validating requests with signed URLs for this backend\nbucket.", +"flatPath": "projects/{project}/global/backendBuckets/{backendBucket}/deleteSignedUrlKey", +"httpMethod": "POST", +"id": "compute.backendBuckets.deleteSignedUrlKey", +"parameterOrder": [ +"project", +"backendBucket", +"keyName" +], +"parameters": { +"backendBucket": { +"description": "Name of the BackendBucket resource to which the Signed URL Key should be\nadded. The name should conform to RFC1035.", +"location": "path", +"required": true, +"type": "string" +}, +"keyName": { +"description": "The name of the Signed URL Key to delete.", +"location": "query", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "projects/{project}/global/backendBuckets/{backendBucket}/deleteSignedUrlKey", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"get": { +"description": "Returns the specified BackendBucket resource.", +"flatPath": "projects/{project}/global/backendBuckets/{backendBucket}", +"httpMethod": "GET", +"id": "compute.backendBuckets.get", +"parameterOrder": [ +"project", +"backendBucket" +], +"parameters": { +"backendBucket": { +"description": "Name of the BackendBucket resource to return.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/global/backendBuckets/{backendBucket}", +"response": { +"$ref": "BackendBucket" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"getIamPolicy": { +"description": "Gets the access control policy for a resource. May be empty if no such\npolicy or resource exists.", +"flatPath": "projects/{project}/global/backendBuckets/{resource}/getIamPolicy", +"httpMethod": "GET", +"id": "compute.backendBuckets.getIamPolicy", +"parameterOrder": [ +"project", +"resource" +], +"parameters": { +"optionsRequestedPolicyVersion": { +"description": "Requested IAM Policy version.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"resource": { +"description": "Name or id of the resource for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9_]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/global/backendBuckets/{resource}/getIamPolicy", +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"insert": { +"description": "Creates a BackendBucket resource in the specified project using\nthe data included in the request.", +"flatPath": "projects/{project}/global/backendBuckets", +"httpMethod": "POST", +"id": "compute.backendBuckets.insert", +"parameterOrder": [ +"project" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "projects/{project}/global/backendBuckets", +"request": { +"$ref": "BackendBucket" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"list": { +"description": "Retrieves the list of BackendBucket resources available to the specified\nproject.", +"flatPath": "projects/{project}/global/backendBuckets", +"httpMethod": "GET", +"id": "compute.backendBuckets.list", +"parameterOrder": [ +"project" +], +"parameters": { +"filter": { +"description": "A filter expression that filters resources listed in the response. Most\nCompute resources support two types of filter expressions:\nexpressions that support regular expressions and expressions that follow\nAPI improvement proposal AIP-160.\nThese two types of filter expressions cannot be mixed in one request.\n\nIf you want to use AIP-160, your expression must specify the field name, an\noperator, and the value that you want to use for filtering. The value\nmust be a string, a number, or a boolean. The operator\nmust be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.\n\nFor example, if you are filtering Compute Engine instances, you can\nexclude instances named `example-instance` by specifying\n`name != example-instance`.\n\nThe `:*` comparison can be used to test whether a key has been defined.\nFor example, to find all objects with `owner` label use:\n```\nlabels.owner:*\n```\n\nYou can also filter nested fields. For example, you could specify\n`scheduling.automaticRestart = false` to include instances only\nif they are not scheduled for automatic restarts. You can use filtering\non nested fields to filter based onresource labels.\n\nTo filter on multiple expressions, provide each separate expression within\nparentheses. For example:\n```\n(scheduling.automaticRestart = true)\n(cpuPlatform = \"Intel Skylake\")\n```\nBy default, each expression is an `AND` expression. However, you\ncan include `AND` and `OR` expressions explicitly.\nFor example:\n```\n(cpuPlatform = \"Intel Skylake\") OR\n(cpuPlatform = \"Intel Broadwell\") AND\n(scheduling.automaticRestart = true)\n```\n\nIf you want to use a regular expression, use the `eq` (equal) or `ne`\n(not equal) operator against a single un-parenthesized expression with or\nwithout quotes or against multiple parenthesized expressions. Examples:\n\n`fieldname eq unquoted literal`\n`fieldname eq 'single quoted literal'`\n`fieldname eq \"double quoted literal\"`\n`(fieldname1 eq literal) (fieldname2 ne \"literal\")`\n\nThe literal value is interpreted as a regular expression using GoogleRE2 library syntax.\nThe literal value must match the entire field.\n\nFor example, to filter for instances that do not end with name \"instance\",\nyou would use `name ne .*instance`.\n\nYou cannot combine constraints on multiple fields using regular\nexpressions.", +"location": "query", +"type": "string" +}, +"maxResults": { +"default": "500", +"description": "The maximum number of results per page that should be returned.\nIf the number of available results is larger than `maxResults`,\nCompute Engine returns a `nextPageToken` that can be used to get\nthe next page of results in subsequent list requests. Acceptable values are\n`0` to `500`, inclusive. (Default: `500`)", +"format": "uint32", +"location": "query", +"minimum": "0", +"type": "integer" +}, +"orderBy": { +"description": "Sorts list results by a certain order. By default, results\nare returned in alphanumerical order based on the resource name.\n\nYou can also sort results in descending order based on the creation\ntimestamp using `orderBy=\"creationTimestamp desc\"`. This sorts\nresults based on the `creationTimestamp` field in\nreverse chronological order (newest result first). Use this to sort\nresources like operations so that the newest operation is returned first.\n\nCurrently, only sorting by `name` or\n`creationTimestamp desc` is supported.", +"location": "query", +"type": "string" +}, +"pageToken": { +"description": "Specifies a page token to use. Set `pageToken` to the\n`nextPageToken` returned by a previous list request to get\nthe next page of results.", +"location": "query", +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"returnPartialSuccess": { +"description": "Opt-in for partial success behavior which provides partial results in case\nof failure. The default value is false.\n\nFor example, when partial success behavior is enabled, aggregatedList for a\nsingle zone scope either returns all resources in the zone or no resources,\nwith an error code.", +"location": "query", +"type": "boolean" +} +}, +"path": "projects/{project}/global/backendBuckets", +"response": { +"$ref": "BackendBucketList" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"listUsable": { +"description": "Retrieves a list of all usable backend buckets in the specified project.", +"flatPath": "projects/{project}/global/backendBuckets/listUsable", +"httpMethod": "GET", +"id": "compute.backendBuckets.listUsable", +"parameterOrder": [ +"project" +], +"parameters": { +"filter": { +"description": "A filter expression that filters resources listed in the response. Most\nCompute resources support two types of filter expressions:\nexpressions that support regular expressions and expressions that follow\nAPI improvement proposal AIP-160.\nThese two types of filter expressions cannot be mixed in one request.\n\nIf you want to use AIP-160, your expression must specify the field name, an\noperator, and the value that you want to use for filtering. The value\nmust be a string, a number, or a boolean. The operator\nmust be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.\n\nFor example, if you are filtering Compute Engine instances, you can\nexclude instances named `example-instance` by specifying\n`name != example-instance`.\n\nThe `:*` comparison can be used to test whether a key has been defined.\nFor example, to find all objects with `owner` label use:\n```\nlabels.owner:*\n```\n\nYou can also filter nested fields. For example, you could specify\n`scheduling.automaticRestart = false` to include instances only\nif they are not scheduled for automatic restarts. You can use filtering\non nested fields to filter based onresource labels.\n\nTo filter on multiple expressions, provide each separate expression within\nparentheses. For example:\n```\n(scheduling.automaticRestart = true)\n(cpuPlatform = \"Intel Skylake\")\n```\nBy default, each expression is an `AND` expression. However, you\ncan include `AND` and `OR` expressions explicitly.\nFor example:\n```\n(cpuPlatform = \"Intel Skylake\") OR\n(cpuPlatform = \"Intel Broadwell\") AND\n(scheduling.automaticRestart = true)\n```\n\nIf you want to use a regular expression, use the `eq` (equal) or `ne`\n(not equal) operator against a single un-parenthesized expression with or\nwithout quotes or against multiple parenthesized expressions. Examples:\n\n`fieldname eq unquoted literal`\n`fieldname eq 'single quoted literal'`\n`fieldname eq \"double quoted literal\"`\n`(fieldname1 eq literal) (fieldname2 ne \"literal\")`\n\nThe literal value is interpreted as a regular expression using GoogleRE2 library syntax.\nThe literal value must match the entire field.\n\nFor example, to filter for instances that do not end with name \"instance\",\nyou would use `name ne .*instance`.\n\nYou cannot combine constraints on multiple fields using regular\nexpressions.", +"location": "query", +"type": "string" +}, +"maxResults": { +"default": "500", +"description": "The maximum number of results per page that should be returned.\nIf the number of available results is larger than `maxResults`,\nCompute Engine returns a `nextPageToken` that can be used to get\nthe next page of results in subsequent list requests. Acceptable values are\n`0` to `500`, inclusive. (Default: `500`)", +"format": "uint32", +"location": "query", +"minimum": "0", +"type": "integer" +}, +"orderBy": { +"description": "Sorts list results by a certain order. By default, results\nare returned in alphanumerical order based on the resource name.\n\nYou can also sort results in descending order based on the creation\ntimestamp using `orderBy=\"creationTimestamp desc\"`. This sorts\nresults based on the `creationTimestamp` field in\nreverse chronological order (newest result first). Use this to sort\nresources like operations so that the newest operation is returned first.\n\nCurrently, only sorting by `name` or\n`creationTimestamp desc` is supported.", +"location": "query", +"type": "string" +}, +"pageToken": { +"description": "Specifies a page token to use. Set `pageToken` to the\n`nextPageToken` returned by a previous list request to get\nthe next page of results.", +"location": "query", +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"returnPartialSuccess": { +"description": "Opt-in for partial success behavior which provides partial results in case\nof failure. The default value is false.\n\nFor example, when partial success behavior is enabled, aggregatedList for a\nsingle zone scope either returns all resources in the zone or no resources,\nwith an error code.", +"location": "query", +"type": "boolean" +} +}, +"path": "projects/{project}/global/backendBuckets/listUsable", +"response": { +"$ref": "BackendBucketListUsable" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"patch": { +"description": "Updates the specified BackendBucket resource with the data included in the\nrequest. This method supportsPATCH\nsemantics and uses theJSON merge\npatch format and processing rules.", +"flatPath": "projects/{project}/global/backendBuckets/{backendBucket}", +"httpMethod": "PATCH", +"id": "compute.backendBuckets.patch", +"parameterOrder": [ +"project", +"backendBucket" +], +"parameters": { +"backendBucket": { +"description": "Name of the BackendBucket resource to patch.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "projects/{project}/global/backendBuckets/{backendBucket}", +"request": { +"$ref": "BackendBucket" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"setEdgeSecurityPolicy": { +"description": "Sets the edge security policy for the specified backend bucket.", +"flatPath": "projects/{project}/global/backendBuckets/{backendBucket}/setEdgeSecurityPolicy", +"httpMethod": "POST", +"id": "compute.backendBuckets.setEdgeSecurityPolicy", +"parameterOrder": [ +"project", +"backendBucket" +], +"parameters": { +"backendBucket": { +"description": "Name of the BackendBucket resource to which the security policy should be\nset. The name should conform to RFC1035.", +"location": "path", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "projects/{project}/global/backendBuckets/{backendBucket}/setEdgeSecurityPolicy", +"request": { +"$ref": "SecurityPolicyReference" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"setIamPolicy": { +"description": "Sets the access control policy on the specified resource.\nReplaces any existing policy.", +"flatPath": "projects/{project}/global/backendBuckets/{resource}/setIamPolicy", +"httpMethod": "POST", +"id": "compute.backendBuckets.setIamPolicy", +"parameterOrder": [ +"project", +"resource" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"resource": { +"description": "Name or id of the resource for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9_]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/global/backendBuckets/{resource}/setIamPolicy", +"request": { +"$ref": "GlobalSetPolicyRequest" +}, +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"testIamPermissions": { +"description": "Returns permissions that a caller has on the specified resource.", +"flatPath": "projects/{project}/global/backendBuckets/{resource}/testIamPermissions", +"httpMethod": "POST", +"id": "compute.backendBuckets.testIamPermissions", +"parameterOrder": [ +"project", +"resource" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"resource": { +"description": "Name or id of the resource for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9_]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/global/backendBuckets/{resource}/testIamPermissions", +"request": { +"$ref": "TestPermissionsRequest" +}, +"response": { +"$ref": "TestPermissionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"update": { +"description": "Updates the specified BackendBucket resource with the data included in the\nrequest.", +"flatPath": "projects/{project}/global/backendBuckets/{backendBucket}", +"httpMethod": "PUT", +"id": "compute.backendBuckets.update", +"parameterOrder": [ +"project", +"backendBucket" +], +"parameters": { +"backendBucket": { +"description": "Name of the BackendBucket resource to update.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "projects/{project}/global/backendBuckets/{backendBucket}", +"request": { +"$ref": "BackendBucket" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +} +} +}, +"backendServices": { +"methods": { +"addSignedUrlKey": { +"description": "Adds a key for validating requests with signed URLs for this backend\nservice.", +"flatPath": "projects/{project}/global/backendServices/{backendService}/addSignedUrlKey", +"httpMethod": "POST", +"id": "compute.backendServices.addSignedUrlKey", +"parameterOrder": [ +"project", +"backendService" +], +"parameters": { +"backendService": { +"description": "Name of the BackendService resource to which the Signed URL Key should be\nadded. The name should conform to RFC1035.", +"location": "path", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "projects/{project}/global/backendServices/{backendService}/addSignedUrlKey", +"request": { +"$ref": "SignedUrlKey" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"aggregatedList": { +"description": "Retrieves the list of all BackendService resources, regional and global,\navailable to the specified project.\n\nTo prevent failure, it is recommended that you set the\n`returnPartialSuccess` parameter to `true`.", +"flatPath": "projects/{project}/aggregated/backendServices", +"httpMethod": "GET", +"id": "compute.backendServices.aggregatedList", +"parameterOrder": [ +"project" +], +"parameters": { +"filter": { +"description": "A filter expression that filters resources listed in the response. Most\nCompute resources support two types of filter expressions:\nexpressions that support regular expressions and expressions that follow\nAPI improvement proposal AIP-160.\nThese two types of filter expressions cannot be mixed in one request.\n\nIf you want to use AIP-160, your expression must specify the field name, an\noperator, and the value that you want to use for filtering. The value\nmust be a string, a number, or a boolean. The operator\nmust be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.\n\nFor example, if you are filtering Compute Engine instances, you can\nexclude instances named `example-instance` by specifying\n`name != example-instance`.\n\nThe `:*` comparison can be used to test whether a key has been defined.\nFor example, to find all objects with `owner` label use:\n```\nlabels.owner:*\n```\n\nYou can also filter nested fields. For example, you could specify\n`scheduling.automaticRestart = false` to include instances only\nif they are not scheduled for automatic restarts. You can use filtering\non nested fields to filter based onresource labels.\n\nTo filter on multiple expressions, provide each separate expression within\nparentheses. For example:\n```\n(scheduling.automaticRestart = true)\n(cpuPlatform = \"Intel Skylake\")\n```\nBy default, each expression is an `AND` expression. However, you\ncan include `AND` and `OR` expressions explicitly.\nFor example:\n```\n(cpuPlatform = \"Intel Skylake\") OR\n(cpuPlatform = \"Intel Broadwell\") AND\n(scheduling.automaticRestart = true)\n```\n\nIf you want to use a regular expression, use the `eq` (equal) or `ne`\n(not equal) operator against a single un-parenthesized expression with or\nwithout quotes or against multiple parenthesized expressions. Examples:\n\n`fieldname eq unquoted literal`\n`fieldname eq 'single quoted literal'`\n`fieldname eq \"double quoted literal\"`\n`(fieldname1 eq literal) (fieldname2 ne \"literal\")`\n\nThe literal value is interpreted as a regular expression using GoogleRE2 library syntax.\nThe literal value must match the entire field.\n\nFor example, to filter for instances that do not end with name \"instance\",\nyou would use `name ne .*instance`.\n\nYou cannot combine constraints on multiple fields using regular\nexpressions.", +"location": "query", +"type": "string" +}, +"includeAllScopes": { +"description": "Indicates whether every visible scope for each scope type (zone, region,\nglobal) should be included in the response. For new resource types added\nafter this field, the flag has no effect as new resource types will always\ninclude every visible scope for each scope type in response. For resource\ntypes which predate this field, if this flag is omitted or false, only\nscopes of the scope types where the resource type is expected to be found\nwill be included.", +"location": "query", +"type": "boolean" +}, +"maxResults": { +"default": "500", +"description": "The maximum number of results per page that should be returned.\nIf the number of available results is larger than `maxResults`,\nCompute Engine returns a `nextPageToken` that can be used to get\nthe next page of results in subsequent list requests. Acceptable values are\n`0` to `500`, inclusive. (Default: `500`)", +"format": "uint32", +"location": "query", +"minimum": "0", +"type": "integer" +}, +"orderBy": { +"description": "Sorts list results by a certain order. By default, results\nare returned in alphanumerical order based on the resource name.\n\nYou can also sort results in descending order based on the creation\ntimestamp using `orderBy=\"creationTimestamp desc\"`. This sorts\nresults based on the `creationTimestamp` field in\nreverse chronological order (newest result first). Use this to sort\nresources like operations so that the newest operation is returned first.\n\nCurrently, only sorting by `name` or\n`creationTimestamp desc` is supported.", +"location": "query", +"type": "string" +}, +"pageToken": { +"description": "Specifies a page token to use. Set `pageToken` to the\n`nextPageToken` returned by a previous list request to get\nthe next page of results.", +"location": "query", +"type": "string" +}, +"project": { +"description": "Name of the project scoping this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"returnPartialSuccess": { +"description": "Opt-in for partial success behavior which provides partial results in case\nof failure. The default value is false.\n\nFor example, when partial success behavior is enabled, aggregatedList for a\nsingle zone scope either returns all resources in the zone or no resources,\nwith an error code.", +"location": "query", +"type": "boolean" +}, +"serviceProjectNumber": { +"description": "The Shared VPC service project id or service project number for which\naggregated list request is invoked for subnetworks list-usable api.", +"format": "int64", +"location": "query", +"type": "string" +} +}, +"path": "projects/{project}/aggregated/backendServices", +"response": { +"$ref": "BackendServiceAggregatedList" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"delete": { +"description": "Deletes the specified BackendService resource.", +"flatPath": "projects/{project}/global/backendServices/{backendService}", +"httpMethod": "DELETE", +"id": "compute.backendServices.delete", +"parameterOrder": [ +"project", +"backendService" +], +"parameters": { +"backendService": { +"description": "Name of the BackendService resource to delete.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "projects/{project}/global/backendServices/{backendService}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"deleteSignedUrlKey": { +"description": "Deletes a key for validating requests with signed URLs for this backend\nservice.", +"flatPath": "projects/{project}/global/backendServices/{backendService}/deleteSignedUrlKey", +"httpMethod": "POST", +"id": "compute.backendServices.deleteSignedUrlKey", +"parameterOrder": [ +"project", +"backendService", +"keyName" +], +"parameters": { +"backendService": { +"description": "Name of the BackendService resource to which the Signed URL Key should be\nadded. The name should conform to RFC1035.", +"location": "path", +"required": true, +"type": "string" +}, +"keyName": { +"description": "The name of the Signed URL Key to delete.", +"location": "query", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "projects/{project}/global/backendServices/{backendService}/deleteSignedUrlKey", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"get": { +"description": "Returns the specified BackendService resource.", +"flatPath": "projects/{project}/global/backendServices/{backendService}", +"httpMethod": "GET", +"id": "compute.backendServices.get", +"parameterOrder": [ +"project", +"backendService" +], +"parameters": { +"backendService": { +"description": "Name of the BackendService resource to return.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/global/backendServices/{backendService}", +"response": { +"$ref": "BackendService" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"getEffectiveSecurityPolicies": { +"description": "Returns effective security policies applied to this backend service.", +"flatPath": "projects/{project}/global/backendServices/{backendService}/getEffectiveSecurityPolicies", +"httpMethod": "GET", +"id": "compute.backendServices.getEffectiveSecurityPolicies", +"parameterOrder": [ +"project", +"backendService" +], +"parameters": { +"backendService": { +"description": "Name of the Backend Service for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/global/backendServices/{backendService}/getEffectiveSecurityPolicies", +"response": { +"$ref": "BackendServicesGetEffectiveSecurityPoliciesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"getHealth": { +"description": "Gets the most recent health check results for this\nBackendService.\n\nExample request body:\n\n{\n \"group\": \"/zones/us-east1-b/instanceGroups/lb-backend-example\"\n}", +"flatPath": "projects/{project}/global/backendServices/{backendService}/getHealth", +"httpMethod": "POST", +"id": "compute.backendServices.getHealth", +"parameterOrder": [ +"project", +"backendService" +], +"parameters": { +"backendService": { +"description": "Name of the BackendService resource to which the queried instance belongs.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +}, +"project": { +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/global/backendServices/{backendService}/getHealth", +"request": { +"$ref": "ResourceGroupReference" +}, +"response": { +"$ref": "BackendServiceGroupHealth" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"getIamPolicy": { +"description": "Gets the access control policy for a resource. May be empty if no such\npolicy or resource exists.", +"flatPath": "projects/{project}/global/backendServices/{resource}/getIamPolicy", +"httpMethod": "GET", +"id": "compute.backendServices.getIamPolicy", +"parameterOrder": [ +"project", +"resource" +], +"parameters": { +"optionsRequestedPolicyVersion": { +"description": "Requested IAM Policy version.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"resource": { +"description": "Name or id of the resource for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9_]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/global/backendServices/{resource}/getIamPolicy", +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"insert": { +"description": "Creates a BackendService resource in the specified project using\nthe data included in the request. For more information, see\nBackend services overview.", +"flatPath": "projects/{project}/global/backendServices", +"httpMethod": "POST", +"id": "compute.backendServices.insert", +"parameterOrder": [ +"project" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "projects/{project}/global/backendServices", +"request": { +"$ref": "BackendService" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"list": { +"description": "Retrieves the list of BackendService resources available to the specified\nproject.", +"flatPath": "projects/{project}/global/backendServices", +"httpMethod": "GET", +"id": "compute.backendServices.list", +"parameterOrder": [ +"project" +], +"parameters": { +"filter": { +"description": "A filter expression that filters resources listed in the response. Most\nCompute resources support two types of filter expressions:\nexpressions that support regular expressions and expressions that follow\nAPI improvement proposal AIP-160.\nThese two types of filter expressions cannot be mixed in one request.\n\nIf you want to use AIP-160, your expression must specify the field name, an\noperator, and the value that you want to use for filtering. The value\nmust be a string, a number, or a boolean. The operator\nmust be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.\n\nFor example, if you are filtering Compute Engine instances, you can\nexclude instances named `example-instance` by specifying\n`name != example-instance`.\n\nThe `:*` comparison can be used to test whether a key has been defined.\nFor example, to find all objects with `owner` label use:\n```\nlabels.owner:*\n```\n\nYou can also filter nested fields. For example, you could specify\n`scheduling.automaticRestart = false` to include instances only\nif they are not scheduled for automatic restarts. You can use filtering\non nested fields to filter based onresource labels.\n\nTo filter on multiple expressions, provide each separate expression within\nparentheses. For example:\n```\n(scheduling.automaticRestart = true)\n(cpuPlatform = \"Intel Skylake\")\n```\nBy default, each expression is an `AND` expression. However, you\ncan include `AND` and `OR` expressions explicitly.\nFor example:\n```\n(cpuPlatform = \"Intel Skylake\") OR\n(cpuPlatform = \"Intel Broadwell\") AND\n(scheduling.automaticRestart = true)\n```\n\nIf you want to use a regular expression, use the `eq` (equal) or `ne`\n(not equal) operator against a single un-parenthesized expression with or\nwithout quotes or against multiple parenthesized expressions. Examples:\n\n`fieldname eq unquoted literal`\n`fieldname eq 'single quoted literal'`\n`fieldname eq \"double quoted literal\"`\n`(fieldname1 eq literal) (fieldname2 ne \"literal\")`\n\nThe literal value is interpreted as a regular expression using GoogleRE2 library syntax.\nThe literal value must match the entire field.\n\nFor example, to filter for instances that do not end with name \"instance\",\nyou would use `name ne .*instance`.\n\nYou cannot combine constraints on multiple fields using regular\nexpressions.", +"location": "query", +"type": "string" +}, +"maxResults": { +"default": "500", +"description": "The maximum number of results per page that should be returned.\nIf the number of available results is larger than `maxResults`,\nCompute Engine returns a `nextPageToken` that can be used to get\nthe next page of results in subsequent list requests. Acceptable values are\n`0` to `500`, inclusive. (Default: `500`)", +"format": "uint32", +"location": "query", +"minimum": "0", +"type": "integer" +}, +"orderBy": { +"description": "Sorts list results by a certain order. By default, results\nare returned in alphanumerical order based on the resource name.\n\nYou can also sort results in descending order based on the creation\ntimestamp using `orderBy=\"creationTimestamp desc\"`. This sorts\nresults based on the `creationTimestamp` field in\nreverse chronological order (newest result first). Use this to sort\nresources like operations so that the newest operation is returned first.\n\nCurrently, only sorting by `name` or\n`creationTimestamp desc` is supported.", +"location": "query", +"type": "string" +}, +"pageToken": { +"description": "Specifies a page token to use. Set `pageToken` to the\n`nextPageToken` returned by a previous list request to get\nthe next page of results.", +"location": "query", +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"returnPartialSuccess": { +"description": "Opt-in for partial success behavior which provides partial results in case\nof failure. The default value is false.\n\nFor example, when partial success behavior is enabled, aggregatedList for a\nsingle zone scope either returns all resources in the zone or no resources,\nwith an error code.", +"location": "query", +"type": "boolean" +} +}, +"path": "projects/{project}/global/backendServices", +"response": { +"$ref": "BackendServiceList" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"listUsable": { +"description": "Retrieves a list of all usable backend services in the specified project.", +"flatPath": "projects/{project}/global/backendServices/listUsable", +"httpMethod": "GET", +"id": "compute.backendServices.listUsable", +"parameterOrder": [ +"project" +], +"parameters": { +"filter": { +"description": "A filter expression that filters resources listed in the response. Most\nCompute resources support two types of filter expressions:\nexpressions that support regular expressions and expressions that follow\nAPI improvement proposal AIP-160.\nThese two types of filter expressions cannot be mixed in one request.\n\nIf you want to use AIP-160, your expression must specify the field name, an\noperator, and the value that you want to use for filtering. The value\nmust be a string, a number, or a boolean. The operator\nmust be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.\n\nFor example, if you are filtering Compute Engine instances, you can\nexclude instances named `example-instance` by specifying\n`name != example-instance`.\n\nThe `:*` comparison can be used to test whether a key has been defined.\nFor example, to find all objects with `owner` label use:\n```\nlabels.owner:*\n```\n\nYou can also filter nested fields. For example, you could specify\n`scheduling.automaticRestart = false` to include instances only\nif they are not scheduled for automatic restarts. You can use filtering\non nested fields to filter based onresource labels.\n\nTo filter on multiple expressions, provide each separate expression within\nparentheses. For example:\n```\n(scheduling.automaticRestart = true)\n(cpuPlatform = \"Intel Skylake\")\n```\nBy default, each expression is an `AND` expression. However, you\ncan include `AND` and `OR` expressions explicitly.\nFor example:\n```\n(cpuPlatform = \"Intel Skylake\") OR\n(cpuPlatform = \"Intel Broadwell\") AND\n(scheduling.automaticRestart = true)\n```\n\nIf you want to use a regular expression, use the `eq` (equal) or `ne`\n(not equal) operator against a single un-parenthesized expression with or\nwithout quotes or against multiple parenthesized expressions. Examples:\n\n`fieldname eq unquoted literal`\n`fieldname eq 'single quoted literal'`\n`fieldname eq \"double quoted literal\"`\n`(fieldname1 eq literal) (fieldname2 ne \"literal\")`\n\nThe literal value is interpreted as a regular expression using GoogleRE2 library syntax.\nThe literal value must match the entire field.\n\nFor example, to filter for instances that do not end with name \"instance\",\nyou would use `name ne .*instance`.\n\nYou cannot combine constraints on multiple fields using regular\nexpressions.", +"location": "query", +"type": "string" +}, +"maxResults": { +"default": "500", +"description": "The maximum number of results per page that should be returned.\nIf the number of available results is larger than `maxResults`,\nCompute Engine returns a `nextPageToken` that can be used to get\nthe next page of results in subsequent list requests. Acceptable values are\n`0` to `500`, inclusive. (Default: `500`)", +"format": "uint32", +"location": "query", +"minimum": "0", +"type": "integer" +}, +"orderBy": { +"description": "Sorts list results by a certain order. By default, results\nare returned in alphanumerical order based on the resource name.\n\nYou can also sort results in descending order based on the creation\ntimestamp using `orderBy=\"creationTimestamp desc\"`. This sorts\nresults based on the `creationTimestamp` field in\nreverse chronological order (newest result first). Use this to sort\nresources like operations so that the newest operation is returned first.\n\nCurrently, only sorting by `name` or\n`creationTimestamp desc` is supported.", +"location": "query", +"type": "string" +}, +"pageToken": { +"description": "Specifies a page token to use. Set `pageToken` to the\n`nextPageToken` returned by a previous list request to get\nthe next page of results.", +"location": "query", +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"returnPartialSuccess": { +"description": "Opt-in for partial success behavior which provides partial results in case\nof failure. The default value is false.\n\nFor example, when partial success behavior is enabled, aggregatedList for a\nsingle zone scope either returns all resources in the zone or no resources,\nwith an error code.", +"location": "query", +"type": "boolean" +} +}, +"path": "projects/{project}/global/backendServices/listUsable", +"response": { +"$ref": "BackendServiceListUsable" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"patch": { +"description": "Patches the specified BackendService resource with the data included in the\nrequest. For more information, see \nBackend services overview. This method\nsupports PATCH semantics and uses the JSON merge\npatch format and processing rules.", +"flatPath": "projects/{project}/global/backendServices/{backendService}", +"httpMethod": "PATCH", +"id": "compute.backendServices.patch", +"parameterOrder": [ +"project", +"backendService" +], +"parameters": { +"backendService": { +"description": "Name of the BackendService resource to patch.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "projects/{project}/global/backendServices/{backendService}", +"request": { +"$ref": "BackendService" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"setEdgeSecurityPolicy": { +"description": "Sets the edge security policy for the specified backend service.", +"flatPath": "projects/{project}/global/backendServices/{backendService}/setEdgeSecurityPolicy", +"httpMethod": "POST", +"id": "compute.backendServices.setEdgeSecurityPolicy", +"parameterOrder": [ +"project", +"backendService" +], +"parameters": { +"backendService": { +"description": "Name of the BackendService resource to which the edge security policy\nshould be set. The name should conform to RFC1035.", +"location": "path", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "projects/{project}/global/backendServices/{backendService}/setEdgeSecurityPolicy", +"request": { +"$ref": "SecurityPolicyReference" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"setIamPolicy": { +"description": "Sets the access control policy on the specified resource.\nReplaces any existing policy.", +"flatPath": "projects/{project}/global/backendServices/{resource}/setIamPolicy", +"httpMethod": "POST", +"id": "compute.backendServices.setIamPolicy", +"parameterOrder": [ +"project", +"resource" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"resource": { +"description": "Name or id of the resource for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9_]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/global/backendServices/{resource}/setIamPolicy", +"request": { +"$ref": "GlobalSetPolicyRequest" +}, +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"setSecurityPolicy": { +"description": "Sets the Google Cloud Armor security policy for the specified backend\nservice. For more information, seeGoogle\nCloud Armor Overview", +"flatPath": "projects/{project}/global/backendServices/{backendService}/setSecurityPolicy", +"httpMethod": "POST", +"id": "compute.backendServices.setSecurityPolicy", +"parameterOrder": [ +"project", +"backendService" +], +"parameters": { +"backendService": { +"description": "Name of the BackendService resource to which the security policy should be\nset. The name should conform to RFC1035.", +"location": "path", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "projects/{project}/global/backendServices/{backendService}/setSecurityPolicy", +"request": { +"$ref": "SecurityPolicyReference" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"testIamPermissions": { +"description": "Returns permissions that a caller has on the specified resource.", +"flatPath": "projects/{project}/global/backendServices/{resource}/testIamPermissions", +"httpMethod": "POST", +"id": "compute.backendServices.testIamPermissions", +"parameterOrder": [ +"project", +"resource" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"resource": { +"description": "Name or id of the resource for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9_]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/global/backendServices/{resource}/testIamPermissions", +"request": { +"$ref": "TestPermissionsRequest" +}, +"response": { +"$ref": "TestPermissionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"update": { +"description": "Updates the specified BackendService resource with the data included in the\nrequest. For more information, seeBackend\nservices overview.", +"flatPath": "projects/{project}/global/backendServices/{backendService}", +"httpMethod": "PUT", +"id": "compute.backendServices.update", +"parameterOrder": [ +"project", +"backendService" +], +"parameters": { +"backendService": { +"description": "Name of the BackendService resource to update.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "projects/{project}/global/backendServices/{backendService}", +"request": { +"$ref": "BackendService" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +} +} +}, +"crossSiteNetworks": { +"methods": { +"delete": { +"description": "Deletes the specified cross-site network in the given scope.", +"flatPath": "projects/{project}/global/crossSiteNetworks/{crossSiteNetwork}", +"httpMethod": "DELETE", +"id": "compute.crossSiteNetworks.delete", +"parameterOrder": [ +"project", +"crossSiteNetwork" +], +"parameters": { +"crossSiteNetwork": { +"description": "Name of the cross-site network to delete.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).\nend_interface: MixerMutationRequestBuilder", +"location": "query", +"type": "string" +} +}, +"path": "projects/{project}/global/crossSiteNetworks/{crossSiteNetwork}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"get": { +"description": "Returns the specified cross-site network in the given scope.", +"flatPath": "projects/{project}/global/crossSiteNetworks/{crossSiteNetwork}", +"httpMethod": "GET", +"id": "compute.crossSiteNetworks.get", +"parameterOrder": [ +"project", +"crossSiteNetwork" +], +"parameters": { +"crossSiteNetwork": { +"description": "Name of the cross-site network to return.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/global/crossSiteNetworks/{crossSiteNetwork}", +"response": { +"$ref": "CrossSiteNetwork" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"insert": { +"description": "Creates a cross-site network in the specified project in the given scope\nusing the parameters that are included in the request.", +"flatPath": "projects/{project}/global/crossSiteNetworks", +"httpMethod": "POST", +"id": "compute.crossSiteNetworks.insert", +"parameterOrder": [ +"project" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).\nend_interface: MixerMutationRequestBuilder", +"location": "query", +"type": "string" +}, +"validateOnly": { +"description": "[Input Only] Validate the new configuration, but don't create it.", +"location": "query", +"type": "boolean" +} +}, +"path": "projects/{project}/global/crossSiteNetworks", +"request": { +"$ref": "CrossSiteNetwork" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"list": { +"description": "Lists the cross-site networks for a project in the given scope.", +"flatPath": "projects/{project}/global/crossSiteNetworks", +"httpMethod": "GET", +"id": "compute.crossSiteNetworks.list", +"parameterOrder": [ +"project" +], +"parameters": { +"filter": { +"description": "A filter expression that filters resources listed in the response. Most\nCompute resources support two types of filter expressions:\nexpressions that support regular expressions and expressions that follow\nAPI improvement proposal AIP-160.\nThese two types of filter expressions cannot be mixed in one request.\n\nIf you want to use AIP-160, your expression must specify the field name, an\noperator, and the value that you want to use for filtering. The value\nmust be a string, a number, or a boolean. The operator\nmust be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.\n\nFor example, if you are filtering Compute Engine instances, you can\nexclude instances named `example-instance` by specifying\n`name != example-instance`.\n\nThe `:*` comparison can be used to test whether a key has been defined.\nFor example, to find all objects with `owner` label use:\n```\nlabels.owner:*\n```\n\nYou can also filter nested fields. For example, you could specify\n`scheduling.automaticRestart = false` to include instances only\nif they are not scheduled for automatic restarts. You can use filtering\non nested fields to filter based onresource labels.\n\nTo filter on multiple expressions, provide each separate expression within\nparentheses. For example:\n```\n(scheduling.automaticRestart = true)\n(cpuPlatform = \"Intel Skylake\")\n```\nBy default, each expression is an `AND` expression. However, you\ncan include `AND` and `OR` expressions explicitly.\nFor example:\n```\n(cpuPlatform = \"Intel Skylake\") OR\n(cpuPlatform = \"Intel Broadwell\") AND\n(scheduling.automaticRestart = true)\n```\n\nIf you want to use a regular expression, use the `eq` (equal) or `ne`\n(not equal) operator against a single un-parenthesized expression with or\nwithout quotes or against multiple parenthesized expressions. Examples:\n\n`fieldname eq unquoted literal`\n`fieldname eq 'single quoted literal'`\n`fieldname eq \"double quoted literal\"`\n`(fieldname1 eq literal) (fieldname2 ne \"literal\")`\n\nThe literal value is interpreted as a regular expression using GoogleRE2 library syntax.\nThe literal value must match the entire field.\n\nFor example, to filter for instances that do not end with name \"instance\",\nyou would use `name ne .*instance`.\n\nYou cannot combine constraints on multiple fields using regular\nexpressions.", +"location": "query", +"type": "string" +}, +"maxResults": { +"default": "500", +"description": "The maximum number of results per page that should be returned.\nIf the number of available results is larger than `maxResults`,\nCompute Engine returns a `nextPageToken` that can be used to get\nthe next page of results in subsequent list requests. Acceptable values are\n`0` to `500`, inclusive. (Default: `500`)", +"format": "uint32", +"location": "query", +"minimum": "0", +"type": "integer" +}, +"orderBy": { +"description": "Sorts list results by a certain order. By default, results\nare returned in alphanumerical order based on the resource name.\n\nYou can also sort results in descending order based on the creation\ntimestamp using `orderBy=\"creationTimestamp desc\"`. This sorts\nresults based on the `creationTimestamp` field in\nreverse chronological order (newest result first). Use this to sort\nresources like operations so that the newest operation is returned first.\n\nCurrently, only sorting by `name` or\n`creationTimestamp desc` is supported.", +"location": "query", +"type": "string" +}, +"pageToken": { +"description": "Specifies a page token to use. Set `pageToken` to the\n`nextPageToken` returned by a previous list request to get\nthe next page of results.", +"location": "query", +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"returnPartialSuccess": { +"description": "Opt-in for partial success behavior which provides partial results in case\nof failure. The default value is false.\n\nFor example, when partial success behavior is enabled, aggregatedList for a\nsingle zone scope either returns all resources in the zone or no resources,\nwith an error code.", +"location": "query", +"type": "boolean" +} +}, +"path": "projects/{project}/global/crossSiteNetworks", +"response": { +"$ref": "CrossSiteNetworkList" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"patch": { +"description": "Updates the specified cross-site network with the data included in\nthe request. This method supportsPATCH\nsemantics and uses theJSON merge\npatch format and processing rules.", +"flatPath": "projects/{project}/global/crossSiteNetworks/{crossSiteNetwork}", +"httpMethod": "PATCH", +"id": "compute.crossSiteNetworks.patch", +"parameterOrder": [ +"project", +"crossSiteNetwork" +], +"parameters": { +"crossSiteNetwork": { +"description": "Name of the cross-site network to update.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).\nend_interface: MixerMutationRequestBuilder", +"location": "query", +"type": "string" +}, +"updateMask": { +"description": "update_mask indicates fields to be updated as part of this request.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +}, +"validateOnly": { +"description": "[Input Only] Validate the new configuration, but don't update it.", +"location": "query", +"type": "boolean" +} +}, +"path": "projects/{project}/global/crossSiteNetworks/{crossSiteNetwork}", +"request": { +"$ref": "CrossSiteNetwork" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +} +} +}, +"diskSettings": { +"methods": { +"get": { +"description": "Get Zonal Disk Settings.", +"flatPath": "projects/{project}/zones/{zone}/diskSettings", +"httpMethod": "GET", +"id": "compute.diskSettings.get", +"parameterOrder": [ +"project", +"zone" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"zone": { +"description": "Name of the zone for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/zones/{zone}/diskSettings", +"response": { +"$ref": "DiskSettings" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"patch": { +"description": "Patch Zonal Disk Settings", +"flatPath": "projects/{project}/zones/{zone}/diskSettings", +"httpMethod": "PATCH", +"id": "compute.diskSettings.patch", +"parameterOrder": [ +"project", +"zone" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"updateMask": { +"description": "update_mask indicates fields to be updated as part of this request.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +}, +"zone": { +"description": "The name of the zone for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/zones/{zone}/diskSettings", +"request": { +"$ref": "DiskSettings" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +} +} +}, +"diskTypes": { +"methods": { +"aggregatedList": { +"description": "Retrieves an aggregated list of disk types.\n\nTo prevent failure, it is recommended that you set the\n`returnPartialSuccess` parameter to `true`.", +"flatPath": "projects/{project}/aggregated/diskTypes", +"httpMethod": "GET", +"id": "compute.diskTypes.aggregatedList", +"parameterOrder": [ +"project" +], +"parameters": { +"filter": { +"description": "A filter expression that filters resources listed in the response. Most\nCompute resources support two types of filter expressions:\nexpressions that support regular expressions and expressions that follow\nAPI improvement proposal AIP-160.\nThese two types of filter expressions cannot be mixed in one request.\n\nIf you want to use AIP-160, your expression must specify the field name, an\noperator, and the value that you want to use for filtering. The value\nmust be a string, a number, or a boolean. The operator\nmust be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.\n\nFor example, if you are filtering Compute Engine instances, you can\nexclude instances named `example-instance` by specifying\n`name != example-instance`.\n\nThe `:*` comparison can be used to test whether a key has been defined.\nFor example, to find all objects with `owner` label use:\n```\nlabels.owner:*\n```\n\nYou can also filter nested fields. For example, you could specify\n`scheduling.automaticRestart = false` to include instances only\nif they are not scheduled for automatic restarts. You can use filtering\non nested fields to filter based onresource labels.\n\nTo filter on multiple expressions, provide each separate expression within\nparentheses. For example:\n```\n(scheduling.automaticRestart = true)\n(cpuPlatform = \"Intel Skylake\")\n```\nBy default, each expression is an `AND` expression. However, you\ncan include `AND` and `OR` expressions explicitly.\nFor example:\n```\n(cpuPlatform = \"Intel Skylake\") OR\n(cpuPlatform = \"Intel Broadwell\") AND\n(scheduling.automaticRestart = true)\n```\n\nIf you want to use a regular expression, use the `eq` (equal) or `ne`\n(not equal) operator against a single un-parenthesized expression with or\nwithout quotes or against multiple parenthesized expressions. Examples:\n\n`fieldname eq unquoted literal`\n`fieldname eq 'single quoted literal'`\n`fieldname eq \"double quoted literal\"`\n`(fieldname1 eq literal) (fieldname2 ne \"literal\")`\n\nThe literal value is interpreted as a regular expression using GoogleRE2 library syntax.\nThe literal value must match the entire field.\n\nFor example, to filter for instances that do not end with name \"instance\",\nyou would use `name ne .*instance`.\n\nYou cannot combine constraints on multiple fields using regular\nexpressions.", +"location": "query", +"type": "string" +}, +"includeAllScopes": { +"description": "Indicates whether every visible scope for each scope type (zone, region,\nglobal) should be included in the response. For new resource types added\nafter this field, the flag has no effect as new resource types will always\ninclude every visible scope for each scope type in response. For resource\ntypes which predate this field, if this flag is omitted or false, only\nscopes of the scope types where the resource type is expected to be found\nwill be included.", +"location": "query", +"type": "boolean" +}, +"maxResults": { +"default": "500", +"description": "The maximum number of results per page that should be returned.\nIf the number of available results is larger than `maxResults`,\nCompute Engine returns a `nextPageToken` that can be used to get\nthe next page of results in subsequent list requests. Acceptable values are\n`0` to `500`, inclusive. (Default: `500`)", +"format": "uint32", +"location": "query", +"minimum": "0", +"type": "integer" +}, +"orderBy": { +"description": "Sorts list results by a certain order. By default, results\nare returned in alphanumerical order based on the resource name.\n\nYou can also sort results in descending order based on the creation\ntimestamp using `orderBy=\"creationTimestamp desc\"`. This sorts\nresults based on the `creationTimestamp` field in\nreverse chronological order (newest result first). Use this to sort\nresources like operations so that the newest operation is returned first.\n\nCurrently, only sorting by `name` or\n`creationTimestamp desc` is supported.", +"location": "query", +"type": "string" +}, +"pageToken": { +"description": "Specifies a page token to use. Set `pageToken` to the\n`nextPageToken` returned by a previous list request to get\nthe next page of results.", +"location": "query", +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"returnPartialSuccess": { +"description": "Opt-in for partial success behavior which provides partial results in case\nof failure. The default value is false.\n\nFor example, when partial success behavior is enabled, aggregatedList for a\nsingle zone scope either returns all resources in the zone or no resources,\nwith an error code.", +"location": "query", +"type": "boolean" +}, +"serviceProjectNumber": { +"description": "The Shared VPC service project id or service project number for which\naggregated list request is invoked for subnetworks list-usable api.", +"format": "int64", +"location": "query", +"type": "string" +} +}, +"path": "projects/{project}/aggregated/diskTypes", +"response": { +"$ref": "DiskTypeAggregatedList" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"get": { +"description": "Returns the specified disk type.", +"flatPath": "projects/{project}/zones/{zone}/diskTypes/{diskType}", +"httpMethod": "GET", +"id": "compute.diskTypes.get", +"parameterOrder": [ +"project", +"zone", +"diskType" +], +"parameters": { +"diskType": { +"description": "Name of the disk type to return.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"zone": { +"description": "The name of the zone for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/zones/{zone}/diskTypes/{diskType}", +"response": { +"$ref": "DiskType" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"list": { +"description": "Retrieves a list of disk types available to the specified\nproject.", +"flatPath": "projects/{project}/zones/{zone}/diskTypes", +"httpMethod": "GET", +"id": "compute.diskTypes.list", +"parameterOrder": [ +"project", +"zone" +], +"parameters": { +"filter": { +"description": "A filter expression that filters resources listed in the response. Most\nCompute resources support two types of filter expressions:\nexpressions that support regular expressions and expressions that follow\nAPI improvement proposal AIP-160.\nThese two types of filter expressions cannot be mixed in one request.\n\nIf you want to use AIP-160, your expression must specify the field name, an\noperator, and the value that you want to use for filtering. The value\nmust be a string, a number, or a boolean. The operator\nmust be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.\n\nFor example, if you are filtering Compute Engine instances, you can\nexclude instances named `example-instance` by specifying\n`name != example-instance`.\n\nThe `:*` comparison can be used to test whether a key has been defined.\nFor example, to find all objects with `owner` label use:\n```\nlabels.owner:*\n```\n\nYou can also filter nested fields. For example, you could specify\n`scheduling.automaticRestart = false` to include instances only\nif they are not scheduled for automatic restarts. You can use filtering\non nested fields to filter based onresource labels.\n\nTo filter on multiple expressions, provide each separate expression within\nparentheses. For example:\n```\n(scheduling.automaticRestart = true)\n(cpuPlatform = \"Intel Skylake\")\n```\nBy default, each expression is an `AND` expression. However, you\ncan include `AND` and `OR` expressions explicitly.\nFor example:\n```\n(cpuPlatform = \"Intel Skylake\") OR\n(cpuPlatform = \"Intel Broadwell\") AND\n(scheduling.automaticRestart = true)\n```\n\nIf you want to use a regular expression, use the `eq` (equal) or `ne`\n(not equal) operator against a single un-parenthesized expression with or\nwithout quotes or against multiple parenthesized expressions. Examples:\n\n`fieldname eq unquoted literal`\n`fieldname eq 'single quoted literal'`\n`fieldname eq \"double quoted literal\"`\n`(fieldname1 eq literal) (fieldname2 ne \"literal\")`\n\nThe literal value is interpreted as a regular expression using GoogleRE2 library syntax.\nThe literal value must match the entire field.\n\nFor example, to filter for instances that do not end with name \"instance\",\nyou would use `name ne .*instance`.\n\nYou cannot combine constraints on multiple fields using regular\nexpressions.", +"location": "query", +"type": "string" +}, +"maxResults": { +"default": "500", +"description": "The maximum number of results per page that should be returned.\nIf the number of available results is larger than `maxResults`,\nCompute Engine returns a `nextPageToken` that can be used to get\nthe next page of results in subsequent list requests. Acceptable values are\n`0` to `500`, inclusive. (Default: `500`)", +"format": "uint32", +"location": "query", +"minimum": "0", +"type": "integer" +}, +"orderBy": { +"description": "Sorts list results by a certain order. By default, results\nare returned in alphanumerical order based on the resource name.\n\nYou can also sort results in descending order based on the creation\ntimestamp using `orderBy=\"creationTimestamp desc\"`. This sorts\nresults based on the `creationTimestamp` field in\nreverse chronological order (newest result first). Use this to sort\nresources like operations so that the newest operation is returned first.\n\nCurrently, only sorting by `name` or\n`creationTimestamp desc` is supported.", +"location": "query", +"type": "string" +}, +"pageToken": { +"description": "Specifies a page token to use. Set `pageToken` to the\n`nextPageToken` returned by a previous list request to get\nthe next page of results.", +"location": "query", +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"returnPartialSuccess": { +"description": "Opt-in for partial success behavior which provides partial results in case\nof failure. The default value is false.\n\nFor example, when partial success behavior is enabled, aggregatedList for a\nsingle zone scope either returns all resources in the zone or no resources,\nwith an error code.", +"location": "query", +"type": "boolean" +}, +"zone": { +"description": "The name of the zone for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/zones/{zone}/diskTypes", +"response": { +"$ref": "DiskTypeList" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +} +} +}, +"disks": { +"methods": { +"addResourcePolicies": { +"description": "Adds existing resource policies to a disk. You can only add one\npolicy which will be applied to this disk for scheduling snapshot\ncreation.", +"flatPath": "projects/{project}/zones/{zone}/disks/{disk}/addResourcePolicies", +"httpMethod": "POST", +"id": "compute.disks.addResourcePolicies", +"parameterOrder": [ +"project", +"zone", +"disk" +], +"parameters": { +"disk": { +"description": "The disk name for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"zone": { +"description": "The name of the zone for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/zones/{zone}/disks/{disk}/addResourcePolicies", +"request": { +"$ref": "DisksAddResourcePoliciesRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"aggregatedList": { +"description": "Retrieves an aggregated list of persistent disks.\n\nTo prevent failure, it is recommended that you set the\n`returnPartialSuccess` parameter to `true`.", +"flatPath": "projects/{project}/aggregated/disks", +"httpMethod": "GET", +"id": "compute.disks.aggregatedList", +"parameterOrder": [ +"project" +], +"parameters": { +"filter": { +"description": "A filter expression that filters resources listed in the response. Most\nCompute resources support two types of filter expressions:\nexpressions that support regular expressions and expressions that follow\nAPI improvement proposal AIP-160.\nThese two types of filter expressions cannot be mixed in one request.\n\nIf you want to use AIP-160, your expression must specify the field name, an\noperator, and the value that you want to use for filtering. The value\nmust be a string, a number, or a boolean. The operator\nmust be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.\n\nFor example, if you are filtering Compute Engine instances, you can\nexclude instances named `example-instance` by specifying\n`name != example-instance`.\n\nThe `:*` comparison can be used to test whether a key has been defined.\nFor example, to find all objects with `owner` label use:\n```\nlabels.owner:*\n```\n\nYou can also filter nested fields. For example, you could specify\n`scheduling.automaticRestart = false` to include instances only\nif they are not scheduled for automatic restarts. You can use filtering\non nested fields to filter based onresource labels.\n\nTo filter on multiple expressions, provide each separate expression within\nparentheses. For example:\n```\n(scheduling.automaticRestart = true)\n(cpuPlatform = \"Intel Skylake\")\n```\nBy default, each expression is an `AND` expression. However, you\ncan include `AND` and `OR` expressions explicitly.\nFor example:\n```\n(cpuPlatform = \"Intel Skylake\") OR\n(cpuPlatform = \"Intel Broadwell\") AND\n(scheduling.automaticRestart = true)\n```\n\nIf you want to use a regular expression, use the `eq` (equal) or `ne`\n(not equal) operator against a single un-parenthesized expression with or\nwithout quotes or against multiple parenthesized expressions. Examples:\n\n`fieldname eq unquoted literal`\n`fieldname eq 'single quoted literal'`\n`fieldname eq \"double quoted literal\"`\n`(fieldname1 eq literal) (fieldname2 ne \"literal\")`\n\nThe literal value is interpreted as a regular expression using GoogleRE2 library syntax.\nThe literal value must match the entire field.\n\nFor example, to filter for instances that do not end with name \"instance\",\nyou would use `name ne .*instance`.\n\nYou cannot combine constraints on multiple fields using regular\nexpressions.", +"location": "query", +"type": "string" +}, +"includeAllScopes": { +"description": "Indicates whether every visible scope for each scope type (zone, region,\nglobal) should be included in the response. For new resource types added\nafter this field, the flag has no effect as new resource types will always\ninclude every visible scope for each scope type in response. For resource\ntypes which predate this field, if this flag is omitted or false, only\nscopes of the scope types where the resource type is expected to be found\nwill be included.", +"location": "query", +"type": "boolean" +}, +"maxResults": { +"default": "500", +"description": "The maximum number of results per page that should be returned.\nIf the number of available results is larger than `maxResults`,\nCompute Engine returns a `nextPageToken` that can be used to get\nthe next page of results in subsequent list requests. Acceptable values are\n`0` to `500`, inclusive. (Default: `500`)", +"format": "uint32", +"location": "query", +"minimum": "0", +"type": "integer" +}, +"orderBy": { +"description": "Sorts list results by a certain order. By default, results\nare returned in alphanumerical order based on the resource name.\n\nYou can also sort results in descending order based on the creation\ntimestamp using `orderBy=\"creationTimestamp desc\"`. This sorts\nresults based on the `creationTimestamp` field in\nreverse chronological order (newest result first). Use this to sort\nresources like operations so that the newest operation is returned first.\n\nCurrently, only sorting by `name` or\n`creationTimestamp desc` is supported.", +"location": "query", +"type": "string" +}, +"pageToken": { +"description": "Specifies a page token to use. Set `pageToken` to the\n`nextPageToken` returned by a previous list request to get\nthe next page of results.", +"location": "query", +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"returnPartialSuccess": { +"description": "Opt-in for partial success behavior which provides partial results in case\nof failure. The default value is false.\n\nFor example, when partial success behavior is enabled, aggregatedList for a\nsingle zone scope either returns all resources in the zone or no resources,\nwith an error code.", +"location": "query", +"type": "boolean" +}, +"serviceProjectNumber": { +"description": "The Shared VPC service project id or service project number for which\naggregated list request is invoked for subnetworks list-usable api.", +"format": "int64", +"location": "query", +"type": "string" +} +}, +"path": "projects/{project}/aggregated/disks", +"response": { +"$ref": "DiskAggregatedList" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"bulkInsert": { +"description": "Bulk create a set of disks.", +"flatPath": "projects/{project}/zones/{zone}/disks/bulkInsert", +"httpMethod": "POST", +"id": "compute.disks.bulkInsert", +"parameterOrder": [ +"project", +"zone" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"zone": { +"description": "The name of the zone for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/zones/{zone}/disks/bulkInsert", +"request": { +"$ref": "BulkInsertDiskResource" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"bulkSetLabels": { +"description": "Sets the labels on many disks at once. To learn more about labels, read theLabeling\nResources documentation.", +"flatPath": "projects/{project}/zones/{zone}/disks/bulkSetLabels", +"httpMethod": "POST", +"id": "compute.disks.bulkSetLabels", +"parameterOrder": [ +"project", +"zone" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"resource": { +"description": "Name or id of the resource for this request.", +"location": "query", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"type": "string" +}, +"zone": { +"description": "The name of the zone for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/zones/{zone}/disks/bulkSetLabels", +"request": { +"$ref": "BulkZoneSetLabelsRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"createSnapshot": { +"description": "Creates a snapshot of a specified persistent disk. For regular snapshot\ncreation, consider using snapshots.insert\ninstead, as that method supports more features, such as creating snapshots\nin a project different from the source disk project.", +"flatPath": "projects/{project}/zones/{zone}/disks/{disk}/createSnapshot", +"httpMethod": "POST", +"id": "compute.disks.createSnapshot", +"parameterOrder": [ +"project", +"zone", +"disk" +], +"parameters": { +"disk": { +"description": "Name of the persistent disk to snapshot.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +}, +"guestFlush": { +"description": "[Input Only] Whether to attempt an application consistent snapshot by\ninforming the OS to prepare for the snapshot process.", +"location": "query", +"type": "boolean" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"zone": { +"description": "The name of the zone for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/zones/{zone}/disks/{disk}/createSnapshot", +"request": { +"$ref": "Snapshot" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"delete": { +"description": "Deletes the specified persistent disk. Deleting a disk removes its data\npermanently and is irreversible. However, deleting a disk does not\ndelete any snapshots\npreviously made from the disk. You must separatelydelete\nsnapshots.", +"flatPath": "projects/{project}/zones/{zone}/disks/{disk}", +"httpMethod": "DELETE", +"id": "compute.disks.delete", +"parameterOrder": [ +"project", +"zone", +"disk" +], +"parameters": { +"disk": { +"description": "Name of the persistent disk to delete.", +"location": "path", +"pattern": "\\S{1,66}", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"zone": { +"description": "The name of the zone for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/zones/{zone}/disks/{disk}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"get": { +"description": "Returns the specified persistent disk.", +"flatPath": "projects/{project}/zones/{zone}/disks/{disk}", +"httpMethod": "GET", +"id": "compute.disks.get", +"parameterOrder": [ +"project", +"zone", +"disk" +], +"parameters": { +"disk": { +"description": "Name of the persistent disk to return.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"zone": { +"description": "The name of the zone for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/zones/{zone}/disks/{disk}", +"response": { +"$ref": "Disk" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"getIamPolicy": { +"description": "Gets the access control policy for a resource. May be empty if no such\npolicy or resource exists.", +"flatPath": "projects/{project}/zones/{zone}/disks/{resource}/getIamPolicy", +"httpMethod": "GET", +"id": "compute.disks.getIamPolicy", +"parameterOrder": [ +"project", +"zone", +"resource" +], +"parameters": { +"optionsRequestedPolicyVersion": { +"description": "Requested IAM Policy version.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"resource": { +"description": "Name or id of the resource for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +}, +"zone": { +"description": "The name of the zone for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/zones/{zone}/disks/{resource}/getIamPolicy", +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"insert": { +"description": "Creates a persistent disk in the specified project using the data\nin the request. You can create a disk from a source\n(sourceImage, sourceSnapshot, orsourceDisk) or create an empty 500 GB data disk by\nomitting all properties. You can also create a disk that is larger than\nthe default size by specifying the sizeGb property.", +"flatPath": "projects/{project}/zones/{zone}/disks", +"httpMethod": "POST", +"id": "compute.disks.insert", +"parameterOrder": [ +"project", +"zone" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"sourceImage": { +"description": "Source image to restore onto a disk. This field is optional.", +"location": "query", +"type": "string" +}, +"zone": { +"description": "The name of the zone for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/zones/{zone}/disks", +"request": { +"$ref": "Disk" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"list": { +"description": "Retrieves a list of persistent disks contained within\nthe specified zone.", +"flatPath": "projects/{project}/zones/{zone}/disks", +"httpMethod": "GET", +"id": "compute.disks.list", +"parameterOrder": [ +"project", +"zone" +], +"parameters": { +"filter": { +"description": "A filter expression that filters resources listed in the response. Most\nCompute resources support two types of filter expressions:\nexpressions that support regular expressions and expressions that follow\nAPI improvement proposal AIP-160.\nThese two types of filter expressions cannot be mixed in one request.\n\nIf you want to use AIP-160, your expression must specify the field name, an\noperator, and the value that you want to use for filtering. The value\nmust be a string, a number, or a boolean. The operator\nmust be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.\n\nFor example, if you are filtering Compute Engine instances, you can\nexclude instances named `example-instance` by specifying\n`name != example-instance`.\n\nThe `:*` comparison can be used to test whether a key has been defined.\nFor example, to find all objects with `owner` label use:\n```\nlabels.owner:*\n```\n\nYou can also filter nested fields. For example, you could specify\n`scheduling.automaticRestart = false` to include instances only\nif they are not scheduled for automatic restarts. You can use filtering\non nested fields to filter based onresource labels.\n\nTo filter on multiple expressions, provide each separate expression within\nparentheses. For example:\n```\n(scheduling.automaticRestart = true)\n(cpuPlatform = \"Intel Skylake\")\n```\nBy default, each expression is an `AND` expression. However, you\ncan include `AND` and `OR` expressions explicitly.\nFor example:\n```\n(cpuPlatform = \"Intel Skylake\") OR\n(cpuPlatform = \"Intel Broadwell\") AND\n(scheduling.automaticRestart = true)\n```\n\nIf you want to use a regular expression, use the `eq` (equal) or `ne`\n(not equal) operator against a single un-parenthesized expression with or\nwithout quotes or against multiple parenthesized expressions. Examples:\n\n`fieldname eq unquoted literal`\n`fieldname eq 'single quoted literal'`\n`fieldname eq \"double quoted literal\"`\n`(fieldname1 eq literal) (fieldname2 ne \"literal\")`\n\nThe literal value is interpreted as a regular expression using GoogleRE2 library syntax.\nThe literal value must match the entire field.\n\nFor example, to filter for instances that do not end with name \"instance\",\nyou would use `name ne .*instance`.\n\nYou cannot combine constraints on multiple fields using regular\nexpressions.", +"location": "query", +"type": "string" +}, +"maxResults": { +"default": "500", +"description": "The maximum number of results per page that should be returned.\nIf the number of available results is larger than `maxResults`,\nCompute Engine returns a `nextPageToken` that can be used to get\nthe next page of results in subsequent list requests. Acceptable values are\n`0` to `500`, inclusive. (Default: `500`)", +"format": "uint32", +"location": "query", +"minimum": "0", +"type": "integer" +}, +"orderBy": { +"description": "Sorts list results by a certain order. By default, results\nare returned in alphanumerical order based on the resource name.\n\nYou can also sort results in descending order based on the creation\ntimestamp using `orderBy=\"creationTimestamp desc\"`. This sorts\nresults based on the `creationTimestamp` field in\nreverse chronological order (newest result first). Use this to sort\nresources like operations so that the newest operation is returned first.\n\nCurrently, only sorting by `name` or\n`creationTimestamp desc` is supported.", +"location": "query", +"type": "string" +}, +"pageToken": { +"description": "Specifies a page token to use. Set `pageToken` to the\n`nextPageToken` returned by a previous list request to get\nthe next page of results.", +"location": "query", +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"returnPartialSuccess": { +"description": "Opt-in for partial success behavior which provides partial results in case\nof failure. The default value is false.\n\nFor example, when partial success behavior is enabled, aggregatedList for a\nsingle zone scope either returns all resources in the zone or no resources,\nwith an error code.", +"location": "query", +"type": "boolean" +}, +"zone": { +"description": "The name of the zone for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/zones/{zone}/disks", +"response": { +"$ref": "DiskList" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"removeResourcePolicies": { +"description": "Removes resource policies from a disk.", +"flatPath": "projects/{project}/zones/{zone}/disks/{disk}/removeResourcePolicies", +"httpMethod": "POST", +"id": "compute.disks.removeResourcePolicies", +"parameterOrder": [ +"project", +"zone", +"disk" +], +"parameters": { +"disk": { +"description": "The disk name for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"zone": { +"description": "The name of the zone for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/zones/{zone}/disks/{disk}/removeResourcePolicies", +"request": { +"$ref": "DisksRemoveResourcePoliciesRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"resize": { +"description": "Resizes the specified persistent disk.\nYou can only increase the size of the disk.", +"flatPath": "projects/{project}/zones/{zone}/disks/{disk}/resize", +"httpMethod": "POST", +"id": "compute.disks.resize", +"parameterOrder": [ +"project", +"zone", +"disk" +], +"parameters": { +"disk": { +"description": "The name of the persistent disk.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"zone": { +"description": "The name of the zone for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/zones/{zone}/disks/{disk}/resize", +"request": { +"$ref": "DisksResizeRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"setIamPolicy": { +"description": "Sets the access control policy on the specified resource.\nReplaces any existing policy.", +"flatPath": "projects/{project}/zones/{zone}/disks/{resource}/setIamPolicy", +"httpMethod": "POST", +"id": "compute.disks.setIamPolicy", +"parameterOrder": [ +"project", +"zone", +"resource" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"resource": { +"description": "Name or id of the resource for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +}, +"zone": { +"description": "The name of the zone for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/zones/{zone}/disks/{resource}/setIamPolicy", +"request": { +"$ref": "ZoneSetPolicyRequest" +}, +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"setLabels": { +"description": "Sets the labels on a disk. To learn more about labels, read theLabeling\nResources documentation.", +"flatPath": "projects/{project}/zones/{zone}/disks/{resource}/setLabels", +"httpMethod": "POST", +"id": "compute.disks.setLabels", +"parameterOrder": [ +"project", +"zone", +"resource" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"resource": { +"description": "Name or id of the resource for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +}, +"zone": { +"description": "The name of the zone for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/zones/{zone}/disks/{resource}/setLabels", +"request": { +"$ref": "ZoneSetLabelsRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"startAsyncReplication": { +"description": "Starts asynchronous replication.\nMust be invoked on the primary disk.", +"flatPath": "projects/{project}/zones/{zone}/disks/{disk}/startAsyncReplication", +"httpMethod": "POST", +"id": "compute.disks.startAsyncReplication", +"parameterOrder": [ +"project", +"zone", +"disk" +], +"parameters": { +"disk": { +"description": "The name of the persistent disk.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"zone": { +"description": "The name of the zone for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/zones/{zone}/disks/{disk}/startAsyncReplication", +"request": { +"$ref": "DisksStartAsyncReplicationRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"stopAsyncReplication": { +"description": "Stops asynchronous replication.\nCan be invoked either on the primary or on the secondary disk.", +"flatPath": "projects/{project}/zones/{zone}/disks/{disk}/stopAsyncReplication", +"httpMethod": "POST", +"id": "compute.disks.stopAsyncReplication", +"parameterOrder": [ +"project", +"zone", +"disk" +], +"parameters": { +"disk": { +"description": "The name of the persistent disk.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"zone": { +"description": "The name of the zone for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/zones/{zone}/disks/{disk}/stopAsyncReplication", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"stopGroupAsyncReplication": { +"description": "Stops asynchronous replication for a consistency group of disks.\nCan be invoked either in the primary or secondary scope.", +"flatPath": "projects/{project}/zones/{zone}/disks/stopGroupAsyncReplication", +"httpMethod": "POST", +"id": "compute.disks.stopGroupAsyncReplication", +"parameterOrder": [ +"project", +"zone" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"zone": { +"description": "The name of the zone for this request. This must be the zone of the primary\nor secondary disks in the consistency group.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/zones/{zone}/disks/stopGroupAsyncReplication", +"request": { +"$ref": "DisksStopGroupAsyncReplicationResource" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"testIamPermissions": { +"description": "Returns permissions that a caller has on the specified resource.", +"flatPath": "projects/{project}/zones/{zone}/disks/{resource}/testIamPermissions", +"httpMethod": "POST", +"id": "compute.disks.testIamPermissions", +"parameterOrder": [ +"project", +"zone", +"resource" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"resource": { +"description": "Name or id of the resource for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +}, +"zone": { +"description": "The name of the zone for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/zones/{zone}/disks/{resource}/testIamPermissions", +"request": { +"$ref": "TestPermissionsRequest" +}, +"response": { +"$ref": "TestPermissionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"update": { +"description": "Updates the specified disk with the data included in the request.\nThe update is performed only on selected fields included as part\nof update-mask.", +"flatPath": "projects/{project}/zones/{zone}/disks/{disk}", +"httpMethod": "PATCH", +"id": "compute.disks.update", +"parameterOrder": [ +"project", +"zone", +"disk" +], +"parameters": { +"disk": { +"description": "The disk name for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +}, +"paths": { +"location": "query", +"repeated": true, +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"updateMask": { +"description": "update_mask indicates fields to be updated as part of this request.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +}, +"zone": { +"description": "The name of the zone for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/zones/{zone}/disks/{disk}", +"request": { +"$ref": "Disk" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +} +} +}, +"externalVpnGateways": { +"methods": { +"delete": { +"description": "Deletes the specified externalVpnGateway.", +"flatPath": "projects/{project}/global/externalVpnGateways/{externalVpnGateway}", +"httpMethod": "DELETE", +"id": "compute.externalVpnGateways.delete", +"parameterOrder": [ +"project", +"externalVpnGateway" +], +"parameters": { +"externalVpnGateway": { +"description": "Name of the externalVpnGateways to delete.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "projects/{project}/global/externalVpnGateways/{externalVpnGateway}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"get": { +"description": "Returns the specified externalVpnGateway. Get a list of available\nexternalVpnGateways by making a list() request.", +"flatPath": "projects/{project}/global/externalVpnGateways/{externalVpnGateway}", +"httpMethod": "GET", +"id": "compute.externalVpnGateways.get", +"parameterOrder": [ +"project", +"externalVpnGateway" +], +"parameters": { +"externalVpnGateway": { +"description": "Name of the externalVpnGateway to return.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/global/externalVpnGateways/{externalVpnGateway}", +"response": { +"$ref": "ExternalVpnGateway" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"insert": { +"description": "Creates a ExternalVpnGateway in the specified project using\nthe data included in the request.", +"flatPath": "projects/{project}/global/externalVpnGateways", +"httpMethod": "POST", +"id": "compute.externalVpnGateways.insert", +"parameterOrder": [ +"project" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "projects/{project}/global/externalVpnGateways", +"request": { +"$ref": "ExternalVpnGateway" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"list": { +"description": "Retrieves the list of ExternalVpnGateway available to the specified\nproject.", +"flatPath": "projects/{project}/global/externalVpnGateways", +"httpMethod": "GET", +"id": "compute.externalVpnGateways.list", +"parameterOrder": [ +"project" +], +"parameters": { +"filter": { +"description": "A filter expression that filters resources listed in the response. Most\nCompute resources support two types of filter expressions:\nexpressions that support regular expressions and expressions that follow\nAPI improvement proposal AIP-160.\nThese two types of filter expressions cannot be mixed in one request.\n\nIf you want to use AIP-160, your expression must specify the field name, an\noperator, and the value that you want to use for filtering. The value\nmust be a string, a number, or a boolean. The operator\nmust be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.\n\nFor example, if you are filtering Compute Engine instances, you can\nexclude instances named `example-instance` by specifying\n`name != example-instance`.\n\nThe `:*` comparison can be used to test whether a key has been defined.\nFor example, to find all objects with `owner` label use:\n```\nlabels.owner:*\n```\n\nYou can also filter nested fields. For example, you could specify\n`scheduling.automaticRestart = false` to include instances only\nif they are not scheduled for automatic restarts. You can use filtering\non nested fields to filter based onresource labels.\n\nTo filter on multiple expressions, provide each separate expression within\nparentheses. For example:\n```\n(scheduling.automaticRestart = true)\n(cpuPlatform = \"Intel Skylake\")\n```\nBy default, each expression is an `AND` expression. However, you\ncan include `AND` and `OR` expressions explicitly.\nFor example:\n```\n(cpuPlatform = \"Intel Skylake\") OR\n(cpuPlatform = \"Intel Broadwell\") AND\n(scheduling.automaticRestart = true)\n```\n\nIf you want to use a regular expression, use the `eq` (equal) or `ne`\n(not equal) operator against a single un-parenthesized expression with or\nwithout quotes or against multiple parenthesized expressions. Examples:\n\n`fieldname eq unquoted literal`\n`fieldname eq 'single quoted literal'`\n`fieldname eq \"double quoted literal\"`\n`(fieldname1 eq literal) (fieldname2 ne \"literal\")`\n\nThe literal value is interpreted as a regular expression using GoogleRE2 library syntax.\nThe literal value must match the entire field.\n\nFor example, to filter for instances that do not end with name \"instance\",\nyou would use `name ne .*instance`.\n\nYou cannot combine constraints on multiple fields using regular\nexpressions.", +"location": "query", +"type": "string" +}, +"maxResults": { +"default": "500", +"description": "The maximum number of results per page that should be returned.\nIf the number of available results is larger than `maxResults`,\nCompute Engine returns a `nextPageToken` that can be used to get\nthe next page of results in subsequent list requests. Acceptable values are\n`0` to `500`, inclusive. (Default: `500`)", +"format": "uint32", +"location": "query", +"minimum": "0", +"type": "integer" +}, +"orderBy": { +"description": "Sorts list results by a certain order. By default, results\nare returned in alphanumerical order based on the resource name.\n\nYou can also sort results in descending order based on the creation\ntimestamp using `orderBy=\"creationTimestamp desc\"`. This sorts\nresults based on the `creationTimestamp` field in\nreverse chronological order (newest result first). Use this to sort\nresources like operations so that the newest operation is returned first.\n\nCurrently, only sorting by `name` or\n`creationTimestamp desc` is supported.", +"location": "query", +"type": "string" +}, +"pageToken": { +"description": "Specifies a page token to use. Set `pageToken` to the\n`nextPageToken` returned by a previous list request to get\nthe next page of results.", +"location": "query", +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"returnPartialSuccess": { +"description": "Opt-in for partial success behavior which provides partial results in case\nof failure. The default value is false.\n\nFor example, when partial success behavior is enabled, aggregatedList for a\nsingle zone scope either returns all resources in the zone or no resources,\nwith an error code.", +"location": "query", +"type": "boolean" +} +}, +"path": "projects/{project}/global/externalVpnGateways", +"response": { +"$ref": "ExternalVpnGatewayList" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"setLabels": { +"description": "Sets the labels on an ExternalVpnGateway. To learn more about labels,\nread the Labeling\nResources documentation.", +"flatPath": "projects/{project}/global/externalVpnGateways/{resource}/setLabels", +"httpMethod": "POST", +"id": "compute.externalVpnGateways.setLabels", +"parameterOrder": [ +"project", +"resource" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"resource": { +"description": "Name or id of the resource for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9_]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/global/externalVpnGateways/{resource}/setLabels", +"request": { +"$ref": "GlobalSetLabelsRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"testIamPermissions": { +"description": "Returns permissions that a caller has on the specified resource.", +"flatPath": "projects/{project}/global/externalVpnGateways/{resource}/testIamPermissions", +"httpMethod": "POST", +"id": "compute.externalVpnGateways.testIamPermissions", +"parameterOrder": [ +"project", +"resource" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"resource": { +"description": "Name or id of the resource for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9_]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/global/externalVpnGateways/{resource}/testIamPermissions", +"request": { +"$ref": "TestPermissionsRequest" +}, +"response": { +"$ref": "TestPermissionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +} +} +}, +"firewallPolicies": { +"methods": { +"addAssociation": { +"description": "Inserts an association for the specified firewall policy.", +"flatPath": "locations/global/firewallPolicies/{firewallPolicy}/addAssociation", +"httpMethod": "POST", +"id": "compute.firewallPolicies.addAssociation", +"parameterOrder": [ +"firewallPolicy" +], +"parameters": { +"firewallPolicy": { +"description": "Name of the firewall policy to update.", +"location": "path", +"pattern": "(firewallPolicies/)?[0-9]{0,20}", +"required": true, +"type": "string" +}, +"replaceExistingAssociation": { +"description": "Indicates whether or not to replace it if an association of the attachment\nalready exists. This is false by default, in which case an error will be\nreturned if an association already exists.", +"location": "query", +"type": "boolean" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "locations/global/firewallPolicies/{firewallPolicy}/addAssociation", +"request": { +"$ref": "FirewallPolicyAssociation" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"addPacketMirroringRule": { +"description": "Inserts a packet mirroring rule into a firewall policy.", +"flatPath": "locations/global/firewallPolicies/{firewallPolicy}/addPacketMirroringRule", +"httpMethod": "POST", +"id": "compute.firewallPolicies.addPacketMirroringRule", +"parameterOrder": [ +"firewallPolicy" +], +"parameters": { +"firewallPolicy": { +"description": "Name of the firewall policy to update.", +"location": "path", +"pattern": "(firewallPolicies/)?[0-9]{0,20}", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "locations/global/firewallPolicies/{firewallPolicy}/addPacketMirroringRule", +"request": { +"$ref": "FirewallPolicyRule" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"addRule": { +"description": "Inserts a rule into a firewall policy.", +"flatPath": "locations/global/firewallPolicies/{firewallPolicy}/addRule", +"httpMethod": "POST", +"id": "compute.firewallPolicies.addRule", +"parameterOrder": [ +"firewallPolicy" +], +"parameters": { +"firewallPolicy": { +"description": "Name of the firewall policy to update.", +"location": "path", +"pattern": "(firewallPolicies/)?[0-9]{0,20}", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "locations/global/firewallPolicies/{firewallPolicy}/addRule", +"request": { +"$ref": "FirewallPolicyRule" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"cloneRules": { +"description": "Copies rules to the specified firewall policy.", +"flatPath": "locations/global/firewallPolicies/{firewallPolicy}/cloneRules", +"httpMethod": "POST", +"id": "compute.firewallPolicies.cloneRules", +"parameterOrder": [ +"firewallPolicy" +], +"parameters": { +"firewallPolicy": { +"description": "Name of the firewall policy to update.", +"location": "path", +"pattern": "(firewallPolicies/)?[0-9]{0,20}", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"sourceFirewallPolicy": { +"description": "The firewall policy from which to copy rules.", +"location": "query", +"type": "string" +} +}, +"path": "locations/global/firewallPolicies/{firewallPolicy}/cloneRules", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"delete": { +"description": "Deletes the specified policy.", +"flatPath": "locations/global/firewallPolicies/{firewallPolicy}", +"httpMethod": "DELETE", +"id": "compute.firewallPolicies.delete", +"parameterOrder": [ +"firewallPolicy" +], +"parameters": { +"firewallPolicy": { +"description": "Name of the firewall policy to delete.", +"location": "path", +"pattern": "(firewallPolicies/)?[0-9]{0,20}", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "locations/global/firewallPolicies/{firewallPolicy}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"get": { +"description": "Returns the specified firewall policy.", +"flatPath": "locations/global/firewallPolicies/{firewallPolicy}", +"httpMethod": "GET", +"id": "compute.firewallPolicies.get", +"parameterOrder": [ +"firewallPolicy" +], +"parameters": { +"firewallPolicy": { +"description": "Name of the firewall policy to get.", +"location": "path", +"pattern": "(firewallPolicies/)?[0-9]{0,20}", +"required": true, +"type": "string" +} +}, +"path": "locations/global/firewallPolicies/{firewallPolicy}", +"response": { +"$ref": "FirewallPolicy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"getAssociation": { +"description": "Gets an association with the specified name.", +"flatPath": "locations/global/firewallPolicies/{firewallPolicy}/getAssociation", +"httpMethod": "GET", +"id": "compute.firewallPolicies.getAssociation", +"parameterOrder": [ +"firewallPolicy" +], +"parameters": { +"firewallPolicy": { +"description": "Name of the firewall policy to which the queried rule belongs.", +"location": "path", +"pattern": "(firewallPolicies/)?[0-9]{0,20}", +"required": true, +"type": "string" +}, +"name": { +"description": "The name of the association to get from the firewall policy.", +"location": "query", +"type": "string" +} +}, +"path": "locations/global/firewallPolicies/{firewallPolicy}/getAssociation", +"response": { +"$ref": "FirewallPolicyAssociation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"getIamPolicy": { +"description": "Gets the access control policy for a resource. May be empty if no such\npolicy or resource exists.", +"flatPath": "locations/global/firewallPolicies/{resource}/getIamPolicy", +"httpMethod": "GET", +"id": "compute.firewallPolicies.getIamPolicy", +"parameterOrder": [ +"resource" +], +"parameters": { +"optionsRequestedPolicyVersion": { +"description": "Requested IAM Policy version.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"resource": { +"description": "Name or id of the resource for this request.", +"location": "path", +"pattern": "(firewallPolicies/)?[0-9]{0,20}", +"required": true, +"type": "string" +} +}, +"path": "locations/global/firewallPolicies/{resource}/getIamPolicy", +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"getPacketMirroringRule": { +"description": "Gets a packet mirroring rule of the specified priority.", +"flatPath": "locations/global/firewallPolicies/{firewallPolicy}/getPacketMirroringRule", +"httpMethod": "GET", +"id": "compute.firewallPolicies.getPacketMirroringRule", +"parameterOrder": [ +"firewallPolicy" +], +"parameters": { +"firewallPolicy": { +"description": "Name of the firewall policy to which the queried rule belongs.", +"location": "path", +"pattern": "(firewallPolicies/)?[0-9]{0,20}", +"required": true, +"type": "string" +}, +"priority": { +"description": "The priority of the rule to get from the firewall policy.", +"format": "int32", +"location": "query", +"type": "integer" +} +}, +"path": "locations/global/firewallPolicies/{firewallPolicy}/getPacketMirroringRule", +"response": { +"$ref": "FirewallPolicyRule" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"getRule": { +"description": "Gets a rule of the specified priority.", +"flatPath": "locations/global/firewallPolicies/{firewallPolicy}/getRule", +"httpMethod": "GET", +"id": "compute.firewallPolicies.getRule", +"parameterOrder": [ +"firewallPolicy" +], +"parameters": { +"firewallPolicy": { +"description": "Name of the firewall policy to which the queried rule belongs.", +"location": "path", +"pattern": "(firewallPolicies/)?[0-9]{0,20}", +"required": true, +"type": "string" +}, +"priority": { +"description": "The priority of the rule to get from the firewall policy.", +"format": "int32", +"location": "query", +"type": "integer" +} +}, +"path": "locations/global/firewallPolicies/{firewallPolicy}/getRule", +"response": { +"$ref": "FirewallPolicyRule" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"insert": { +"description": "Creates a new policy in the specified project using the data included in\nthe request.", +"flatPath": "locations/global/firewallPolicies", +"httpMethod": "POST", +"id": "compute.firewallPolicies.insert", +"parameters": { +"parentId": { +"description": "Parent ID for this request. The ID can be either be \"folders/[FOLDER_ID]\"\nif the parent is a folder or \"organizations/[ORGANIZATION_ID]\" if the\nparent is an organization.", +"location": "query", +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "locations/global/firewallPolicies", +"request": { +"$ref": "FirewallPolicy" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"list": { +"description": "Lists all the policies that have been configured for the specified\nfolder or organization.", +"flatPath": "locations/global/firewallPolicies", +"httpMethod": "GET", +"id": "compute.firewallPolicies.list", +"parameters": { +"filter": { +"description": "A filter expression that filters resources listed in the response. Most\nCompute resources support two types of filter expressions:\nexpressions that support regular expressions and expressions that follow\nAPI improvement proposal AIP-160.\nThese two types of filter expressions cannot be mixed in one request.\n\nIf you want to use AIP-160, your expression must specify the field name, an\noperator, and the value that you want to use for filtering. The value\nmust be a string, a number, or a boolean. The operator\nmust be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.\n\nFor example, if you are filtering Compute Engine instances, you can\nexclude instances named `example-instance` by specifying\n`name != example-instance`.\n\nThe `:*` comparison can be used to test whether a key has been defined.\nFor example, to find all objects with `owner` label use:\n```\nlabels.owner:*\n```\n\nYou can also filter nested fields. For example, you could specify\n`scheduling.automaticRestart = false` to include instances only\nif they are not scheduled for automatic restarts. You can use filtering\non nested fields to filter based onresource labels.\n\nTo filter on multiple expressions, provide each separate expression within\nparentheses. For example:\n```\n(scheduling.automaticRestart = true)\n(cpuPlatform = \"Intel Skylake\")\n```\nBy default, each expression is an `AND` expression. However, you\ncan include `AND` and `OR` expressions explicitly.\nFor example:\n```\n(cpuPlatform = \"Intel Skylake\") OR\n(cpuPlatform = \"Intel Broadwell\") AND\n(scheduling.automaticRestart = true)\n```\n\nIf you want to use a regular expression, use the `eq` (equal) or `ne`\n(not equal) operator against a single un-parenthesized expression with or\nwithout quotes or against multiple parenthesized expressions. Examples:\n\n`fieldname eq unquoted literal`\n`fieldname eq 'single quoted literal'`\n`fieldname eq \"double quoted literal\"`\n`(fieldname1 eq literal) (fieldname2 ne \"literal\")`\n\nThe literal value is interpreted as a regular expression using GoogleRE2 library syntax.\nThe literal value must match the entire field.\n\nFor example, to filter for instances that do not end with name \"instance\",\nyou would use `name ne .*instance`.\n\nYou cannot combine constraints on multiple fields using regular\nexpressions.", +"location": "query", +"type": "string" +}, +"maxResults": { +"default": "500", +"description": "The maximum number of results per page that should be returned.\nIf the number of available results is larger than `maxResults`,\nCompute Engine returns a `nextPageToken` that can be used to get\nthe next page of results in subsequent list requests. Acceptable values are\n`0` to `500`, inclusive. (Default: `500`)", +"format": "uint32", +"location": "query", +"minimum": "0", +"type": "integer" +}, +"orderBy": { +"description": "Sorts list results by a certain order. By default, results\nare returned in alphanumerical order based on the resource name.\n\nYou can also sort results in descending order based on the creation\ntimestamp using `orderBy=\"creationTimestamp desc\"`. This sorts\nresults based on the `creationTimestamp` field in\nreverse chronological order (newest result first). Use this to sort\nresources like operations so that the newest operation is returned first.\n\nCurrently, only sorting by `name` or\n`creationTimestamp desc` is supported.", +"location": "query", +"type": "string" +}, +"pageToken": { +"description": "Specifies a page token to use. Set `pageToken` to the\n`nextPageToken` returned by a previous list request to get\nthe next page of results.", +"location": "query", +"type": "string" +}, +"parentId": { +"description": "Parent ID for this request. The ID can be either be \"folders/[FOLDER_ID]\"\nif the parent is a folder or \"organizations/[ORGANIZATION_ID]\" if the\nparent is an organization.", +"location": "query", +"type": "string" +}, +"returnPartialSuccess": { +"description": "Opt-in for partial success behavior which provides partial results in case\nof failure. The default value is false.\n\nFor example, when partial success behavior is enabled, aggregatedList for a\nsingle zone scope either returns all resources in the zone or no resources,\nwith an error code.", +"location": "query", +"type": "boolean" +} +}, +"path": "locations/global/firewallPolicies", +"response": { +"$ref": "FirewallPolicyList" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"listAssociations": { +"description": "Lists associations of a specified target, i.e., organization or folder.", +"flatPath": "locations/global/firewallPolicies/listAssociations", +"httpMethod": "GET", +"id": "compute.firewallPolicies.listAssociations", +"parameters": { +"includeInheritedPolicies": { +"description": "If set to \"true\", the response will contain a list of all associations for\nthe containing folders and the containing organization of the target. The\nparameter has no effect if the target is an organization.", +"location": "query", +"type": "boolean" +}, +"targetResource": { +"description": "The target resource to list associations. It is an organization, or a\nfolder.", +"location": "query", +"type": "string" +} +}, +"path": "locations/global/firewallPolicies/listAssociations", +"response": { +"$ref": "FirewallPoliciesListAssociationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"move": { +"description": "Moves the specified firewall policy.", +"flatPath": "locations/global/firewallPolicies/{firewallPolicy}/move", +"httpMethod": "POST", +"id": "compute.firewallPolicies.move", +"parameterOrder": [ +"firewallPolicy" +], +"parameters": { +"firewallPolicy": { +"description": "Name of the firewall policy to update.", +"location": "path", +"pattern": "(firewallPolicies/)?[0-9]{0,20}", +"required": true, +"type": "string" +}, +"parentId": { +"description": "The new parent of the firewall policy. The ID can be either be\n\"folders/[FOLDER_ID]\" if the parent is a folder or\n\"organizations/[ORGANIZATION_ID]\" if the parent is an organization.", +"location": "query", +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "locations/global/firewallPolicies/{firewallPolicy}/move", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"patch": { +"description": "Patches the specified policy with the data included in the request.", +"flatPath": "locations/global/firewallPolicies/{firewallPolicy}", +"httpMethod": "PATCH", +"id": "compute.firewallPolicies.patch", +"parameterOrder": [ +"firewallPolicy" +], +"parameters": { +"firewallPolicy": { +"description": "Name of the firewall policy to update.", +"location": "path", +"pattern": "(firewallPolicies/)?[0-9]{0,20}", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "locations/global/firewallPolicies/{firewallPolicy}", +"request": { +"$ref": "FirewallPolicy" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"patchPacketMirroringRule": { +"description": "Patches a packet mirroring rule of the specified priority.", +"flatPath": "locations/global/firewallPolicies/{firewallPolicy}/patchPacketMirroringRule", +"httpMethod": "POST", +"id": "compute.firewallPolicies.patchPacketMirroringRule", +"parameterOrder": [ +"firewallPolicy" +], +"parameters": { +"firewallPolicy": { +"description": "Name of the firewall policy to update.", +"location": "path", +"pattern": "(firewallPolicies/)?[0-9]{0,20}", +"required": true, +"type": "string" +}, +"priority": { +"description": "The priority of the rule to patch.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "locations/global/firewallPolicies/{firewallPolicy}/patchPacketMirroringRule", +"request": { +"$ref": "FirewallPolicyRule" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"patchRule": { +"description": "Patches a rule of the specified priority.", +"flatPath": "locations/global/firewallPolicies/{firewallPolicy}/patchRule", +"httpMethod": "POST", +"id": "compute.firewallPolicies.patchRule", +"parameterOrder": [ +"firewallPolicy" +], +"parameters": { +"firewallPolicy": { +"description": "Name of the firewall policy to update.", +"location": "path", +"pattern": "(firewallPolicies/)?[0-9]{0,20}", +"required": true, +"type": "string" +}, +"priority": { +"description": "The priority of the rule to patch.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "locations/global/firewallPolicies/{firewallPolicy}/patchRule", +"request": { +"$ref": "FirewallPolicyRule" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"removeAssociation": { +"description": "Removes an association for the specified firewall policy.", +"flatPath": "locations/global/firewallPolicies/{firewallPolicy}/removeAssociation", +"httpMethod": "POST", +"id": "compute.firewallPolicies.removeAssociation", +"parameterOrder": [ +"firewallPolicy" +], +"parameters": { +"firewallPolicy": { +"description": "Name of the firewall policy to update.", +"location": "path", +"pattern": "(firewallPolicies/)?[0-9]{0,20}", +"required": true, +"type": "string" +}, +"name": { +"description": "Name for the attachment that will be removed.", +"location": "query", +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "locations/global/firewallPolicies/{firewallPolicy}/removeAssociation", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"removePacketMirroringRule": { +"description": "Deletes a packet mirroring rule of the specified priority.", +"flatPath": "locations/global/firewallPolicies/{firewallPolicy}/removePacketMirroringRule", +"httpMethod": "POST", +"id": "compute.firewallPolicies.removePacketMirroringRule", +"parameterOrder": [ +"firewallPolicy" +], +"parameters": { +"firewallPolicy": { +"description": "Name of the firewall policy to update.", +"location": "path", +"pattern": "(firewallPolicies/)?[0-9]{0,20}", +"required": true, +"type": "string" +}, +"priority": { +"description": "The priority of the rule to remove from the firewall policy.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "locations/global/firewallPolicies/{firewallPolicy}/removePacketMirroringRule", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"removeRule": { +"description": "Deletes a rule of the specified priority.", +"flatPath": "locations/global/firewallPolicies/{firewallPolicy}/removeRule", +"httpMethod": "POST", +"id": "compute.firewallPolicies.removeRule", +"parameterOrder": [ +"firewallPolicy" +], +"parameters": { +"firewallPolicy": { +"description": "Name of the firewall policy to update.", +"location": "path", +"pattern": "(firewallPolicies/)?[0-9]{0,20}", +"required": true, +"type": "string" +}, +"priority": { +"description": "The priority of the rule to remove from the firewall policy.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "locations/global/firewallPolicies/{firewallPolicy}/removeRule", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"setIamPolicy": { +"description": "Sets the access control policy on the specified resource.\nReplaces any existing policy.", +"flatPath": "locations/global/firewallPolicies/{resource}/setIamPolicy", +"httpMethod": "POST", +"id": "compute.firewallPolicies.setIamPolicy", +"parameterOrder": [ +"resource" +], +"parameters": { +"resource": { +"description": "Name or id of the resource for this request.", +"location": "path", +"pattern": "(firewallPolicies/)?[0-9]{0,20}", +"required": true, +"type": "string" +} +}, +"path": "locations/global/firewallPolicies/{resource}/setIamPolicy", +"request": { +"$ref": "GlobalOrganizationSetPolicyRequest" +}, +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"testIamPermissions": { +"description": "Returns permissions that a caller has on the specified resource.", +"flatPath": "locations/global/firewallPolicies/{resource}/testIamPermissions", +"httpMethod": "POST", +"id": "compute.firewallPolicies.testIamPermissions", +"parameterOrder": [ +"resource" +], +"parameters": { +"resource": { +"description": "Name or id of the resource for this request.", +"location": "path", +"pattern": "(firewallPolicies/)?[0-9]{0,20}", +"required": true, +"type": "string" +} +}, +"path": "locations/global/firewallPolicies/{resource}/testIamPermissions", +"request": { +"$ref": "TestPermissionsRequest" +}, +"response": { +"$ref": "TestPermissionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +} +} +}, +"firewalls": { +"methods": { +"delete": { +"description": "Deletes the specified firewall.", +"flatPath": "projects/{project}/global/firewalls/{firewall}", +"httpMethod": "DELETE", +"id": "compute.firewalls.delete", +"parameterOrder": [ +"project", +"firewall" +], +"parameters": { +"firewall": { +"description": "Name of the firewall rule to delete.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "projects/{project}/global/firewalls/{firewall}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"get": { +"description": "Returns the specified firewall.", +"flatPath": "projects/{project}/global/firewalls/{firewall}", +"httpMethod": "GET", +"id": "compute.firewalls.get", +"parameterOrder": [ +"project", +"firewall" +], +"parameters": { +"firewall": { +"description": "Name of the firewall rule to return.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/global/firewalls/{firewall}", +"response": { +"$ref": "Firewall" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"insert": { +"description": "Creates a firewall rule in the specified project using the data\nincluded in the request.", +"flatPath": "projects/{project}/global/firewalls", +"httpMethod": "POST", +"id": "compute.firewalls.insert", +"parameterOrder": [ +"project" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "projects/{project}/global/firewalls", +"request": { +"$ref": "Firewall" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"list": { +"description": "Retrieves the list of firewall rules available to the specified\nproject.", +"flatPath": "projects/{project}/global/firewalls", +"httpMethod": "GET", +"id": "compute.firewalls.list", +"parameterOrder": [ +"project" +], +"parameters": { +"filter": { +"description": "A filter expression that filters resources listed in the response. Most\nCompute resources support two types of filter expressions:\nexpressions that support regular expressions and expressions that follow\nAPI improvement proposal AIP-160.\nThese two types of filter expressions cannot be mixed in one request.\n\nIf you want to use AIP-160, your expression must specify the field name, an\noperator, and the value that you want to use for filtering. The value\nmust be a string, a number, or a boolean. The operator\nmust be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.\n\nFor example, if you are filtering Compute Engine instances, you can\nexclude instances named `example-instance` by specifying\n`name != example-instance`.\n\nThe `:*` comparison can be used to test whether a key has been defined.\nFor example, to find all objects with `owner` label use:\n```\nlabels.owner:*\n```\n\nYou can also filter nested fields. For example, you could specify\n`scheduling.automaticRestart = false` to include instances only\nif they are not scheduled for automatic restarts. You can use filtering\non nested fields to filter based onresource labels.\n\nTo filter on multiple expressions, provide each separate expression within\nparentheses. For example:\n```\n(scheduling.automaticRestart = true)\n(cpuPlatform = \"Intel Skylake\")\n```\nBy default, each expression is an `AND` expression. However, you\ncan include `AND` and `OR` expressions explicitly.\nFor example:\n```\n(cpuPlatform = \"Intel Skylake\") OR\n(cpuPlatform = \"Intel Broadwell\") AND\n(scheduling.automaticRestart = true)\n```\n\nIf you want to use a regular expression, use the `eq` (equal) or `ne`\n(not equal) operator against a single un-parenthesized expression with or\nwithout quotes or against multiple parenthesized expressions. Examples:\n\n`fieldname eq unquoted literal`\n`fieldname eq 'single quoted literal'`\n`fieldname eq \"double quoted literal\"`\n`(fieldname1 eq literal) (fieldname2 ne \"literal\")`\n\nThe literal value is interpreted as a regular expression using GoogleRE2 library syntax.\nThe literal value must match the entire field.\n\nFor example, to filter for instances that do not end with name \"instance\",\nyou would use `name ne .*instance`.\n\nYou cannot combine constraints on multiple fields using regular\nexpressions.", +"location": "query", +"type": "string" +}, +"maxResults": { +"default": "500", +"description": "The maximum number of results per page that should be returned.\nIf the number of available results is larger than `maxResults`,\nCompute Engine returns a `nextPageToken` that can be used to get\nthe next page of results in subsequent list requests. Acceptable values are\n`0` to `500`, inclusive. (Default: `500`)", +"format": "uint32", +"location": "query", +"minimum": "0", +"type": "integer" +}, +"orderBy": { +"description": "Sorts list results by a certain order. By default, results\nare returned in alphanumerical order based on the resource name.\n\nYou can also sort results in descending order based on the creation\ntimestamp using `orderBy=\"creationTimestamp desc\"`. This sorts\nresults based on the `creationTimestamp` field in\nreverse chronological order (newest result first). Use this to sort\nresources like operations so that the newest operation is returned first.\n\nCurrently, only sorting by `name` or\n`creationTimestamp desc` is supported.", +"location": "query", +"type": "string" +}, +"pageToken": { +"description": "Specifies a page token to use. Set `pageToken` to the\n`nextPageToken` returned by a previous list request to get\nthe next page of results.", +"location": "query", +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"returnPartialSuccess": { +"description": "Opt-in for partial success behavior which provides partial results in case\nof failure. The default value is false.\n\nFor example, when partial success behavior is enabled, aggregatedList for a\nsingle zone scope either returns all resources in the zone or no resources,\nwith an error code.", +"location": "query", +"type": "boolean" +} +}, +"path": "projects/{project}/global/firewalls", +"response": { +"$ref": "FirewallList" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"patch": { +"description": "Updates the specified firewall rule with the data included in the\nrequest. This method supportsPATCH\nsemantics and uses theJSON merge\npatch format and processing rules.", +"flatPath": "projects/{project}/global/firewalls/{firewall}", +"httpMethod": "PATCH", +"id": "compute.firewalls.patch", +"parameterOrder": [ +"project", +"firewall" +], +"parameters": { +"firewall": { +"description": "Name of the firewall rule to patch.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "projects/{project}/global/firewalls/{firewall}", +"request": { +"$ref": "Firewall" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"testIamPermissions": { +"description": "Returns permissions that a caller has on the specified resource.", +"flatPath": "projects/{project}/global/firewalls/{resource}/testIamPermissions", +"httpMethod": "POST", +"id": "compute.firewalls.testIamPermissions", +"parameterOrder": [ +"project", +"resource" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"resource": { +"description": "Name or id of the resource for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9_]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/global/firewalls/{resource}/testIamPermissions", +"request": { +"$ref": "TestPermissionsRequest" +}, +"response": { +"$ref": "TestPermissionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"update": { +"description": "Updates the specified firewall rule with the data included in the\nrequest.\nNote that all fields will be updated if using PUT, even fields that are not\nspecified. To update individual fields, please use PATCH instead.", +"flatPath": "projects/{project}/global/firewalls/{firewall}", +"httpMethod": "PUT", +"id": "compute.firewalls.update", +"parameterOrder": [ +"project", +"firewall" +], +"parameters": { +"firewall": { +"description": "Name of the firewall rule to update.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "projects/{project}/global/firewalls/{firewall}", +"request": { +"$ref": "Firewall" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +} +} +}, +"forwardingRules": { +"methods": { +"aggregatedList": { +"description": "Retrieves an aggregated list of forwarding rules.\n\nTo prevent failure, it is recommended that you set the\n`returnPartialSuccess` parameter to `true`.", +"flatPath": "projects/{project}/aggregated/forwardingRules", +"httpMethod": "GET", +"id": "compute.forwardingRules.aggregatedList", +"parameterOrder": [ +"project" +], +"parameters": { +"filter": { +"description": "A filter expression that filters resources listed in the response. Most\nCompute resources support two types of filter expressions:\nexpressions that support regular expressions and expressions that follow\nAPI improvement proposal AIP-160.\nThese two types of filter expressions cannot be mixed in one request.\n\nIf you want to use AIP-160, your expression must specify the field name, an\noperator, and the value that you want to use for filtering. The value\nmust be a string, a number, or a boolean. The operator\nmust be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.\n\nFor example, if you are filtering Compute Engine instances, you can\nexclude instances named `example-instance` by specifying\n`name != example-instance`.\n\nThe `:*` comparison can be used to test whether a key has been defined.\nFor example, to find all objects with `owner` label use:\n```\nlabels.owner:*\n```\n\nYou can also filter nested fields. For example, you could specify\n`scheduling.automaticRestart = false` to include instances only\nif they are not scheduled for automatic restarts. You can use filtering\non nested fields to filter based onresource labels.\n\nTo filter on multiple expressions, provide each separate expression within\nparentheses. For example:\n```\n(scheduling.automaticRestart = true)\n(cpuPlatform = \"Intel Skylake\")\n```\nBy default, each expression is an `AND` expression. However, you\ncan include `AND` and `OR` expressions explicitly.\nFor example:\n```\n(cpuPlatform = \"Intel Skylake\") OR\n(cpuPlatform = \"Intel Broadwell\") AND\n(scheduling.automaticRestart = true)\n```\n\nIf you want to use a regular expression, use the `eq` (equal) or `ne`\n(not equal) operator against a single un-parenthesized expression with or\nwithout quotes or against multiple parenthesized expressions. Examples:\n\n`fieldname eq unquoted literal`\n`fieldname eq 'single quoted literal'`\n`fieldname eq \"double quoted literal\"`\n`(fieldname1 eq literal) (fieldname2 ne \"literal\")`\n\nThe literal value is interpreted as a regular expression using GoogleRE2 library syntax.\nThe literal value must match the entire field.\n\nFor example, to filter for instances that do not end with name \"instance\",\nyou would use `name ne .*instance`.\n\nYou cannot combine constraints on multiple fields using regular\nexpressions.", +"location": "query", +"type": "string" +}, +"includeAllScopes": { +"description": "Indicates whether every visible scope for each scope type (zone, region,\nglobal) should be included in the response. For new resource types added\nafter this field, the flag has no effect as new resource types will always\ninclude every visible scope for each scope type in response. For resource\ntypes which predate this field, if this flag is omitted or false, only\nscopes of the scope types where the resource type is expected to be found\nwill be included.", +"location": "query", +"type": "boolean" +}, +"maxResults": { +"default": "500", +"description": "The maximum number of results per page that should be returned.\nIf the number of available results is larger than `maxResults`,\nCompute Engine returns a `nextPageToken` that can be used to get\nthe next page of results in subsequent list requests. Acceptable values are\n`0` to `500`, inclusive. (Default: `500`)", +"format": "uint32", +"location": "query", +"minimum": "0", +"type": "integer" +}, +"orderBy": { +"description": "Sorts list results by a certain order. By default, results\nare returned in alphanumerical order based on the resource name.\n\nYou can also sort results in descending order based on the creation\ntimestamp using `orderBy=\"creationTimestamp desc\"`. This sorts\nresults based on the `creationTimestamp` field in\nreverse chronological order (newest result first). Use this to sort\nresources like operations so that the newest operation is returned first.\n\nCurrently, only sorting by `name` or\n`creationTimestamp desc` is supported.", +"location": "query", +"type": "string" +}, +"pageToken": { +"description": "Specifies a page token to use. Set `pageToken` to the\n`nextPageToken` returned by a previous list request to get\nthe next page of results.", +"location": "query", +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"returnPartialSuccess": { +"description": "Opt-in for partial success behavior which provides partial results in case\nof failure. The default value is false.\n\nFor example, when partial success behavior is enabled, aggregatedList for a\nsingle zone scope either returns all resources in the zone or no resources,\nwith an error code.", +"location": "query", +"type": "boolean" +}, +"serviceProjectNumber": { +"description": "The Shared VPC service project id or service project number for which\naggregated list request is invoked for subnetworks list-usable api.", +"format": "int64", +"location": "query", +"type": "string" +} +}, +"path": "projects/{project}/aggregated/forwardingRules", +"response": { +"$ref": "ForwardingRuleAggregatedList" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"delete": { +"description": "Deletes the specified ForwardingRule resource.", +"flatPath": "projects/{project}/regions/{region}/forwardingRules/{forwardingRule}", +"httpMethod": "DELETE", +"id": "compute.forwardingRules.delete", +"parameterOrder": [ +"project", +"region", +"forwardingRule" +], +"parameters": { +"forwardingRule": { +"description": "Name of the ForwardingRule resource to delete.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "Name of the region scoping this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "projects/{project}/regions/{region}/forwardingRules/{forwardingRule}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"get": { +"description": "Returns the specified ForwardingRule resource.", +"flatPath": "projects/{project}/regions/{region}/forwardingRules/{forwardingRule}", +"httpMethod": "GET", +"id": "compute.forwardingRules.get", +"parameterOrder": [ +"project", +"region", +"forwardingRule" +], +"parameters": { +"forwardingRule": { +"description": "Name of the ForwardingRule resource to return.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "Name of the region scoping this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/regions/{region}/forwardingRules/{forwardingRule}", +"response": { +"$ref": "ForwardingRule" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"insert": { +"description": "Creates a ForwardingRule resource in the specified project and region using\nthe data included in the request.", +"flatPath": "projects/{project}/regions/{region}/forwardingRules", +"httpMethod": "POST", +"id": "compute.forwardingRules.insert", +"parameterOrder": [ +"project", +"region" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "Name of the region scoping this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "projects/{project}/regions/{region}/forwardingRules", +"request": { +"$ref": "ForwardingRule" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"list": { +"description": "Retrieves a list of ForwardingRule resources available to the specified\nproject and region.", +"flatPath": "projects/{project}/regions/{region}/forwardingRules", +"httpMethod": "GET", +"id": "compute.forwardingRules.list", +"parameterOrder": [ +"project", +"region" +], +"parameters": { +"filter": { +"description": "A filter expression that filters resources listed in the response. Most\nCompute resources support two types of filter expressions:\nexpressions that support regular expressions and expressions that follow\nAPI improvement proposal AIP-160.\nThese two types of filter expressions cannot be mixed in one request.\n\nIf you want to use AIP-160, your expression must specify the field name, an\noperator, and the value that you want to use for filtering. The value\nmust be a string, a number, or a boolean. The operator\nmust be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.\n\nFor example, if you are filtering Compute Engine instances, you can\nexclude instances named `example-instance` by specifying\n`name != example-instance`.\n\nThe `:*` comparison can be used to test whether a key has been defined.\nFor example, to find all objects with `owner` label use:\n```\nlabels.owner:*\n```\n\nYou can also filter nested fields. For example, you could specify\n`scheduling.automaticRestart = false` to include instances only\nif they are not scheduled for automatic restarts. You can use filtering\non nested fields to filter based onresource labels.\n\nTo filter on multiple expressions, provide each separate expression within\nparentheses. For example:\n```\n(scheduling.automaticRestart = true)\n(cpuPlatform = \"Intel Skylake\")\n```\nBy default, each expression is an `AND` expression. However, you\ncan include `AND` and `OR` expressions explicitly.\nFor example:\n```\n(cpuPlatform = \"Intel Skylake\") OR\n(cpuPlatform = \"Intel Broadwell\") AND\n(scheduling.automaticRestart = true)\n```\n\nIf you want to use a regular expression, use the `eq` (equal) or `ne`\n(not equal) operator against a single un-parenthesized expression with or\nwithout quotes or against multiple parenthesized expressions. Examples:\n\n`fieldname eq unquoted literal`\n`fieldname eq 'single quoted literal'`\n`fieldname eq \"double quoted literal\"`\n`(fieldname1 eq literal) (fieldname2 ne \"literal\")`\n\nThe literal value is interpreted as a regular expression using GoogleRE2 library syntax.\nThe literal value must match the entire field.\n\nFor example, to filter for instances that do not end with name \"instance\",\nyou would use `name ne .*instance`.\n\nYou cannot combine constraints on multiple fields using regular\nexpressions.", +"location": "query", +"type": "string" +}, +"maxResults": { +"default": "500", +"description": "The maximum number of results per page that should be returned.\nIf the number of available results is larger than `maxResults`,\nCompute Engine returns a `nextPageToken` that can be used to get\nthe next page of results in subsequent list requests. Acceptable values are\n`0` to `500`, inclusive. (Default: `500`)", +"format": "uint32", +"location": "query", +"minimum": "0", +"type": "integer" +}, +"orderBy": { +"description": "Sorts list results by a certain order. By default, results\nare returned in alphanumerical order based on the resource name.\n\nYou can also sort results in descending order based on the creation\ntimestamp using `orderBy=\"creationTimestamp desc\"`. This sorts\nresults based on the `creationTimestamp` field in\nreverse chronological order (newest result first). Use this to sort\nresources like operations so that the newest operation is returned first.\n\nCurrently, only sorting by `name` or\n`creationTimestamp desc` is supported.", +"location": "query", +"type": "string" +}, +"pageToken": { +"description": "Specifies a page token to use. Set `pageToken` to the\n`nextPageToken` returned by a previous list request to get\nthe next page of results.", +"location": "query", +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "Name of the region scoping this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +}, +"returnPartialSuccess": { +"description": "Opt-in for partial success behavior which provides partial results in case\nof failure. The default value is false.\n\nFor example, when partial success behavior is enabled, aggregatedList for a\nsingle zone scope either returns all resources in the zone or no resources,\nwith an error code.", +"location": "query", +"type": "boolean" +} +}, +"path": "projects/{project}/regions/{region}/forwardingRules", +"response": { +"$ref": "ForwardingRuleList" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"patch": { +"description": "Updates the specified forwarding rule with the data included in the\nrequest. This method supportsPATCH\nsemantics and uses theJSON merge\npatch format and processing rules. Currently, you can only\npatch the network_tier field.", +"flatPath": "projects/{project}/regions/{region}/forwardingRules/{forwardingRule}", +"httpMethod": "PATCH", +"id": "compute.forwardingRules.patch", +"parameterOrder": [ +"project", +"region", +"forwardingRule" +], +"parameters": { +"forwardingRule": { +"description": "Name of the ForwardingRule resource to patch.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "Name of the region scoping this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "projects/{project}/regions/{region}/forwardingRules/{forwardingRule}", +"request": { +"$ref": "ForwardingRule" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"setLabels": { +"description": "Sets the labels on the specified resource. To learn more about labels,\nread the \nLabeling Resources documentation.", +"flatPath": "projects/{project}/regions/{region}/forwardingRules/{resource}/setLabels", +"httpMethod": "POST", +"id": "compute.forwardingRules.setLabels", +"parameterOrder": [ +"project", +"region", +"resource" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "The region for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"resource": { +"description": "Name or id of the resource for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/regions/{region}/forwardingRules/{resource}/setLabels", +"request": { +"$ref": "RegionSetLabelsRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"setTarget": { +"description": "Changes target URL for forwarding rule. The new target should be of the\nsame type as the old target.", +"flatPath": "projects/{project}/regions/{region}/forwardingRules/{forwardingRule}/setTarget", +"httpMethod": "POST", +"id": "compute.forwardingRules.setTarget", +"parameterOrder": [ +"project", +"region", +"forwardingRule" +], +"parameters": { +"forwardingRule": { +"description": "Name of the ForwardingRule resource in which target is to be set.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "Name of the region scoping this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "projects/{project}/regions/{region}/forwardingRules/{forwardingRule}/setTarget", +"request": { +"$ref": "TargetReference" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"testIamPermissions": { +"description": "Returns permissions that a caller has on the specified resource.", +"flatPath": "projects/{project}/regions/{region}/forwardingRules/{resource}/testIamPermissions", +"httpMethod": "POST", +"id": "compute.forwardingRules.testIamPermissions", +"parameterOrder": [ +"project", +"region", +"resource" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "The name of the region for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +}, +"resource": { +"description": "Name or id of the resource for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/regions/{region}/forwardingRules/{resource}/testIamPermissions", +"request": { +"$ref": "TestPermissionsRequest" +}, +"response": { +"$ref": "TestPermissionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +} +} +}, +"futureReservations": { +"methods": { +"aggregatedList": { +"description": "Retrieves an aggregated list of future reservations.\n\nTo prevent failure, it is recommended that you set the\n`returnPartialSuccess` parameter to `true`.", +"flatPath": "projects/{project}/aggregated/futureReservations", +"httpMethod": "GET", +"id": "compute.futureReservations.aggregatedList", +"parameterOrder": [ +"project" +], +"parameters": { +"filter": { +"description": "A filter expression that filters resources listed in the response. Most\nCompute resources support two types of filter expressions:\nexpressions that support regular expressions and expressions that follow\nAPI improvement proposal AIP-160.\nThese two types of filter expressions cannot be mixed in one request.\n\nIf you want to use AIP-160, your expression must specify the field name, an\noperator, and the value that you want to use for filtering. The value\nmust be a string, a number, or a boolean. The operator\nmust be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.\n\nFor example, if you are filtering Compute Engine instances, you can\nexclude instances named `example-instance` by specifying\n`name != example-instance`.\n\nThe `:*` comparison can be used to test whether a key has been defined.\nFor example, to find all objects with `owner` label use:\n```\nlabels.owner:*\n```\n\nYou can also filter nested fields. For example, you could specify\n`scheduling.automaticRestart = false` to include instances only\nif they are not scheduled for automatic restarts. You can use filtering\non nested fields to filter based onresource labels.\n\nTo filter on multiple expressions, provide each separate expression within\nparentheses. For example:\n```\n(scheduling.automaticRestart = true)\n(cpuPlatform = \"Intel Skylake\")\n```\nBy default, each expression is an `AND` expression. However, you\ncan include `AND` and `OR` expressions explicitly.\nFor example:\n```\n(cpuPlatform = \"Intel Skylake\") OR\n(cpuPlatform = \"Intel Broadwell\") AND\n(scheduling.automaticRestart = true)\n```\n\nIf you want to use a regular expression, use the `eq` (equal) or `ne`\n(not equal) operator against a single un-parenthesized expression with or\nwithout quotes or against multiple parenthesized expressions. Examples:\n\n`fieldname eq unquoted literal`\n`fieldname eq 'single quoted literal'`\n`fieldname eq \"double quoted literal\"`\n`(fieldname1 eq literal) (fieldname2 ne \"literal\")`\n\nThe literal value is interpreted as a regular expression using GoogleRE2 library syntax.\nThe literal value must match the entire field.\n\nFor example, to filter for instances that do not end with name \"instance\",\nyou would use `name ne .*instance`.\n\nYou cannot combine constraints on multiple fields using regular\nexpressions.", +"location": "query", +"type": "string" +}, +"includeAllScopes": { +"description": "Indicates whether every visible scope for each scope type (zone, region,\nglobal) should be included in the response. For new resource types added\nafter this field, the flag has no effect as new resource types will always\ninclude every visible scope for each scope type in response. For resource\ntypes which predate this field, if this flag is omitted or false, only\nscopes of the scope types where the resource type is expected to be found\nwill be included.", +"location": "query", +"type": "boolean" +}, +"maxResults": { +"default": "500", +"description": "The maximum number of results per page that should be returned.\nIf the number of available results is larger than `maxResults`,\nCompute Engine returns a `nextPageToken` that can be used to get\nthe next page of results in subsequent list requests. Acceptable values are\n`0` to `500`, inclusive. (Default: `500`)", +"format": "uint32", +"location": "query", +"minimum": "0", +"type": "integer" +}, +"orderBy": { +"description": "Sorts list results by a certain order. By default, results\nare returned in alphanumerical order based on the resource name.\n\nYou can also sort results in descending order based on the creation\ntimestamp using `orderBy=\"creationTimestamp desc\"`. This sorts\nresults based on the `creationTimestamp` field in\nreverse chronological order (newest result first). Use this to sort\nresources like operations so that the newest operation is returned first.\n\nCurrently, only sorting by `name` or\n`creationTimestamp desc` is supported.", +"location": "query", +"type": "string" +}, +"pageToken": { +"description": "Specifies a page token to use. Set `pageToken` to the\n`nextPageToken` returned by a previous list request to get\nthe next page of results.", +"location": "query", +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"returnPartialSuccess": { +"description": "Opt-in for partial success behavior which provides partial results in case\nof failure. The default value is false.\n\nFor example, when partial success behavior is enabled, aggregatedList for a\nsingle zone scope either returns all resources in the zone or no resources,\nwith an error code.", +"location": "query", +"type": "boolean" +}, +"serviceProjectNumber": { +"description": "The Shared VPC service project id or service project number for which\naggregated list request is invoked for subnetworks list-usable api.", +"format": "int64", +"location": "query", +"type": "string" +} +}, +"path": "projects/{project}/aggregated/futureReservations", +"response": { +"$ref": "FutureReservationsAggregatedListResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"cancel": { +"description": "Cancel the specified future reservation.", +"flatPath": "projects/{project}/zones/{zone}/futureReservations/{futureReservation}/cancel", +"httpMethod": "POST", +"id": "compute.futureReservations.cancel", +"parameterOrder": [ +"project", +"zone", +"futureReservation" +], +"parameters": { +"futureReservation": { +"description": "Name of the future reservation to retrieve. Name should conform to RFC1035.", +"location": "path", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"zone": { +"description": "Name of the zone for this request. Name should conform to RFC1035.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/zones/{zone}/futureReservations/{futureReservation}/cancel", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"delete": { +"description": "Deletes the specified future reservation.", +"flatPath": "projects/{project}/zones/{zone}/futureReservations/{futureReservation}", +"httpMethod": "DELETE", +"id": "compute.futureReservations.delete", +"parameterOrder": [ +"project", +"zone", +"futureReservation" +], +"parameters": { +"futureReservation": { +"description": "Name of the future reservation to retrieve. Name should conform to RFC1035.", +"location": "path", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"zone": { +"description": "Name of the zone for this request. Name should conform to RFC1035.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/zones/{zone}/futureReservations/{futureReservation}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"get": { +"description": "Retrieves information about the specified future reservation.", +"flatPath": "projects/{project}/zones/{zone}/futureReservations/{futureReservation}", +"httpMethod": "GET", +"id": "compute.futureReservations.get", +"parameterOrder": [ +"project", +"zone", +"futureReservation" +], +"parameters": { +"futureReservation": { +"description": "Name of the future reservation to retrieve. Name should conform to RFC1035.", +"location": "path", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"zone": { +"description": "Name of the zone for this request. Name should conform to RFC1035.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/zones/{zone}/futureReservations/{futureReservation}", +"response": { +"$ref": "FutureReservation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"insert": { +"description": "Creates a new Future Reservation.", +"flatPath": "projects/{project}/zones/{zone}/futureReservations", +"httpMethod": "POST", +"id": "compute.futureReservations.insert", +"parameterOrder": [ +"project", +"zone" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"zone": { +"description": "Name of the zone for this request. Name should conform to RFC1035.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/zones/{zone}/futureReservations", +"request": { +"$ref": "FutureReservation" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"list": { +"description": "A list of all the future reservations that have been configured for the\nspecified project in specified zone.", +"flatPath": "projects/{project}/zones/{zone}/futureReservations", +"httpMethod": "GET", +"id": "compute.futureReservations.list", +"parameterOrder": [ +"project", +"zone" +], +"parameters": { +"filter": { +"description": "A filter expression that filters resources listed in the response. Most\nCompute resources support two types of filter expressions:\nexpressions that support regular expressions and expressions that follow\nAPI improvement proposal AIP-160.\nThese two types of filter expressions cannot be mixed in one request.\n\nIf you want to use AIP-160, your expression must specify the field name, an\noperator, and the value that you want to use for filtering. The value\nmust be a string, a number, or a boolean. The operator\nmust be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.\n\nFor example, if you are filtering Compute Engine instances, you can\nexclude instances named `example-instance` by specifying\n`name != example-instance`.\n\nThe `:*` comparison can be used to test whether a key has been defined.\nFor example, to find all objects with `owner` label use:\n```\nlabels.owner:*\n```\n\nYou can also filter nested fields. For example, you could specify\n`scheduling.automaticRestart = false` to include instances only\nif they are not scheduled for automatic restarts. You can use filtering\non nested fields to filter based onresource labels.\n\nTo filter on multiple expressions, provide each separate expression within\nparentheses. For example:\n```\n(scheduling.automaticRestart = true)\n(cpuPlatform = \"Intel Skylake\")\n```\nBy default, each expression is an `AND` expression. However, you\ncan include `AND` and `OR` expressions explicitly.\nFor example:\n```\n(cpuPlatform = \"Intel Skylake\") OR\n(cpuPlatform = \"Intel Broadwell\") AND\n(scheduling.automaticRestart = true)\n```\n\nIf you want to use a regular expression, use the `eq` (equal) or `ne`\n(not equal) operator against a single un-parenthesized expression with or\nwithout quotes or against multiple parenthesized expressions. Examples:\n\n`fieldname eq unquoted literal`\n`fieldname eq 'single quoted literal'`\n`fieldname eq \"double quoted literal\"`\n`(fieldname1 eq literal) (fieldname2 ne \"literal\")`\n\nThe literal value is interpreted as a regular expression using GoogleRE2 library syntax.\nThe literal value must match the entire field.\n\nFor example, to filter for instances that do not end with name \"instance\",\nyou would use `name ne .*instance`.\n\nYou cannot combine constraints on multiple fields using regular\nexpressions.", +"location": "query", +"type": "string" +}, +"maxResults": { +"default": "500", +"description": "The maximum number of results per page that should be returned.\nIf the number of available results is larger than `maxResults`,\nCompute Engine returns a `nextPageToken` that can be used to get\nthe next page of results in subsequent list requests. Acceptable values are\n`0` to `500`, inclusive. (Default: `500`)", +"format": "uint32", +"location": "query", +"minimum": "0", +"type": "integer" +}, +"orderBy": { +"description": "Sorts list results by a certain order. By default, results\nare returned in alphanumerical order based on the resource name.\n\nYou can also sort results in descending order based on the creation\ntimestamp using `orderBy=\"creationTimestamp desc\"`. This sorts\nresults based on the `creationTimestamp` field in\nreverse chronological order (newest result first). Use this to sort\nresources like operations so that the newest operation is returned first.\n\nCurrently, only sorting by `name` or\n`creationTimestamp desc` is supported.", +"location": "query", +"type": "string" +}, +"pageToken": { +"description": "Specifies a page token to use. Set `pageToken` to the\n`nextPageToken` returned by a previous list request to get\nthe next page of results.", +"location": "query", +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"returnPartialSuccess": { +"description": "Opt-in for partial success behavior which provides partial results in case\nof failure. The default value is false.\n\nFor example, when partial success behavior is enabled, aggregatedList for a\nsingle zone scope either returns all resources in the zone or no resources,\nwith an error code.", +"location": "query", +"type": "boolean" +}, +"zone": { +"description": "Name of the zone for this request. Name should conform to RFC1035.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/zones/{zone}/futureReservations", +"response": { +"$ref": "FutureReservationsListResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"update": { +"description": "Updates the specified future reservation.", +"flatPath": "projects/{project}/zones/{zone}/futureReservations/{futureReservation}", +"httpMethod": "PATCH", +"id": "compute.futureReservations.update", +"parameterOrder": [ +"project", +"zone", +"futureReservation" +], +"parameters": { +"futureReservation": { +"description": "Name of the reservation to update. Name should conform to RFC1035.", +"location": "path", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"updateMask": { +"description": "update_mask indicates fields to be updated as part of this request.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +}, +"zone": { +"description": "Name of the zone for this request. Name should conform to RFC1035.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/zones/{zone}/futureReservations/{futureReservation}", +"request": { +"$ref": "FutureReservation" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +} +} +}, +"globalAddresses": { +"methods": { +"delete": { +"description": "Deletes the specified address resource.", +"flatPath": "projects/{project}/global/addresses/{address}", +"httpMethod": "DELETE", +"id": "compute.globalAddresses.delete", +"parameterOrder": [ +"project", +"address" +], +"parameters": { +"address": { +"description": "Name of the address resource to delete.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "projects/{project}/global/addresses/{address}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"get": { +"description": "Returns the specified address resource.", +"flatPath": "projects/{project}/global/addresses/{address}", +"httpMethod": "GET", +"id": "compute.globalAddresses.get", +"parameterOrder": [ +"project", +"address" +], +"parameters": { +"address": { +"description": "Name of the address resource to return.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/global/addresses/{address}", +"response": { +"$ref": "Address" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"insert": { +"description": "Creates an address resource in the specified project by using the data\nincluded in the request.", +"flatPath": "projects/{project}/global/addresses", +"httpMethod": "POST", +"id": "compute.globalAddresses.insert", +"parameterOrder": [ +"project" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "projects/{project}/global/addresses", +"request": { +"$ref": "Address" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"list": { +"description": "Retrieves a list of global addresses.", +"flatPath": "projects/{project}/global/addresses", +"httpMethod": "GET", +"id": "compute.globalAddresses.list", +"parameterOrder": [ +"project" +], +"parameters": { +"filter": { +"description": "A filter expression that filters resources listed in the response. Most\nCompute resources support two types of filter expressions:\nexpressions that support regular expressions and expressions that follow\nAPI improvement proposal AIP-160.\nThese two types of filter expressions cannot be mixed in one request.\n\nIf you want to use AIP-160, your expression must specify the field name, an\noperator, and the value that you want to use for filtering. The value\nmust be a string, a number, or a boolean. The operator\nmust be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.\n\nFor example, if you are filtering Compute Engine instances, you can\nexclude instances named `example-instance` by specifying\n`name != example-instance`.\n\nThe `:*` comparison can be used to test whether a key has been defined.\nFor example, to find all objects with `owner` label use:\n```\nlabels.owner:*\n```\n\nYou can also filter nested fields. For example, you could specify\n`scheduling.automaticRestart = false` to include instances only\nif they are not scheduled for automatic restarts. You can use filtering\non nested fields to filter based onresource labels.\n\nTo filter on multiple expressions, provide each separate expression within\nparentheses. For example:\n```\n(scheduling.automaticRestart = true)\n(cpuPlatform = \"Intel Skylake\")\n```\nBy default, each expression is an `AND` expression. However, you\ncan include `AND` and `OR` expressions explicitly.\nFor example:\n```\n(cpuPlatform = \"Intel Skylake\") OR\n(cpuPlatform = \"Intel Broadwell\") AND\n(scheduling.automaticRestart = true)\n```\n\nIf you want to use a regular expression, use the `eq` (equal) or `ne`\n(not equal) operator against a single un-parenthesized expression with or\nwithout quotes or against multiple parenthesized expressions. Examples:\n\n`fieldname eq unquoted literal`\n`fieldname eq 'single quoted literal'`\n`fieldname eq \"double quoted literal\"`\n`(fieldname1 eq literal) (fieldname2 ne \"literal\")`\n\nThe literal value is interpreted as a regular expression using GoogleRE2 library syntax.\nThe literal value must match the entire field.\n\nFor example, to filter for instances that do not end with name \"instance\",\nyou would use `name ne .*instance`.\n\nYou cannot combine constraints on multiple fields using regular\nexpressions.", +"location": "query", +"type": "string" +}, +"maxResults": { +"default": "500", +"description": "The maximum number of results per page that should be returned.\nIf the number of available results is larger than `maxResults`,\nCompute Engine returns a `nextPageToken` that can be used to get\nthe next page of results in subsequent list requests. Acceptable values are\n`0` to `500`, inclusive. (Default: `500`)", +"format": "uint32", +"location": "query", +"minimum": "0", +"type": "integer" +}, +"orderBy": { +"description": "Sorts list results by a certain order. By default, results\nare returned in alphanumerical order based on the resource name.\n\nYou can also sort results in descending order based on the creation\ntimestamp using `orderBy=\"creationTimestamp desc\"`. This sorts\nresults based on the `creationTimestamp` field in\nreverse chronological order (newest result first). Use this to sort\nresources like operations so that the newest operation is returned first.\n\nCurrently, only sorting by `name` or\n`creationTimestamp desc` is supported.", +"location": "query", +"type": "string" +}, +"pageToken": { +"description": "Specifies a page token to use. Set `pageToken` to the\n`nextPageToken` returned by a previous list request to get\nthe next page of results.", +"location": "query", +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"returnPartialSuccess": { +"description": "Opt-in for partial success behavior which provides partial results in case\nof failure. The default value is false.\n\nFor example, when partial success behavior is enabled, aggregatedList for a\nsingle zone scope either returns all resources in the zone or no resources,\nwith an error code.", +"location": "query", +"type": "boolean" +} +}, +"path": "projects/{project}/global/addresses", +"response": { +"$ref": "AddressList" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"move": { +"description": "Moves the specified address resource from one project to another project.", +"flatPath": "projects/{project}/global/addresses/{address}/move", +"httpMethod": "POST", +"id": "compute.globalAddresses.move", +"parameterOrder": [ +"project", +"address" +], +"parameters": { +"address": { +"description": "Name of the address resource to move.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +}, +"project": { +"description": "Source project ID which the Address is moved from.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "projects/{project}/global/addresses/{address}/move", +"request": { +"$ref": "GlobalAddressesMoveRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"setLabels": { +"description": "Sets the labels on a GlobalAddress. To learn more about labels, read theLabeling\nResources documentation.", +"flatPath": "projects/{project}/global/addresses/{resource}/setLabels", +"httpMethod": "POST", +"id": "compute.globalAddresses.setLabels", +"parameterOrder": [ +"project", +"resource" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"resource": { +"description": "Name or id of the resource for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9_]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/global/addresses/{resource}/setLabels", +"request": { +"$ref": "GlobalSetLabelsRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"testIamPermissions": { +"description": "Returns permissions that a caller has on the specified resource.", +"flatPath": "projects/{project}/global/addresses/{resource}/testIamPermissions", +"httpMethod": "POST", +"id": "compute.globalAddresses.testIamPermissions", +"parameterOrder": [ +"project", +"resource" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"resource": { +"description": "Name or id of the resource for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9_]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/global/addresses/{resource}/testIamPermissions", +"request": { +"$ref": "TestPermissionsRequest" +}, +"response": { +"$ref": "TestPermissionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +} +} +}, +"globalForwardingRules": { +"methods": { +"delete": { +"description": "Deletes the specified GlobalForwardingRule resource.", +"flatPath": "projects/{project}/global/forwardingRules/{forwardingRule}", +"httpMethod": "DELETE", +"id": "compute.globalForwardingRules.delete", +"parameterOrder": [ +"project", +"forwardingRule" +], +"parameters": { +"forwardingRule": { +"description": "Name of the ForwardingRule resource to delete.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "projects/{project}/global/forwardingRules/{forwardingRule}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"get": { +"description": "Returns the specified GlobalForwardingRule resource. Gets a list of\navailable forwarding rules by making a list() request.", +"flatPath": "projects/{project}/global/forwardingRules/{forwardingRule}", +"httpMethod": "GET", +"id": "compute.globalForwardingRules.get", +"parameterOrder": [ +"project", +"forwardingRule" +], +"parameters": { +"forwardingRule": { +"description": "Name of the ForwardingRule resource to return.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/global/forwardingRules/{forwardingRule}", +"response": { +"$ref": "ForwardingRule" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"insert": { +"description": "Creates a GlobalForwardingRule resource in the specified project using\nthe data included in the request.", +"flatPath": "projects/{project}/global/forwardingRules", +"httpMethod": "POST", +"id": "compute.globalForwardingRules.insert", +"parameterOrder": [ +"project" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "projects/{project}/global/forwardingRules", +"request": { +"$ref": "ForwardingRule" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"list": { +"description": "Retrieves a list of GlobalForwardingRule resources available to the\nspecified project.", +"flatPath": "projects/{project}/global/forwardingRules", +"httpMethod": "GET", +"id": "compute.globalForwardingRules.list", +"parameterOrder": [ +"project" +], +"parameters": { +"filter": { +"description": "A filter expression that filters resources listed in the response. Most\nCompute resources support two types of filter expressions:\nexpressions that support regular expressions and expressions that follow\nAPI improvement proposal AIP-160.\nThese two types of filter expressions cannot be mixed in one request.\n\nIf you want to use AIP-160, your expression must specify the field name, an\noperator, and the value that you want to use for filtering. The value\nmust be a string, a number, or a boolean. The operator\nmust be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.\n\nFor example, if you are filtering Compute Engine instances, you can\nexclude instances named `example-instance` by specifying\n`name != example-instance`.\n\nThe `:*` comparison can be used to test whether a key has been defined.\nFor example, to find all objects with `owner` label use:\n```\nlabels.owner:*\n```\n\nYou can also filter nested fields. For example, you could specify\n`scheduling.automaticRestart = false` to include instances only\nif they are not scheduled for automatic restarts. You can use filtering\non nested fields to filter based onresource labels.\n\nTo filter on multiple expressions, provide each separate expression within\nparentheses. For example:\n```\n(scheduling.automaticRestart = true)\n(cpuPlatform = \"Intel Skylake\")\n```\nBy default, each expression is an `AND` expression. However, you\ncan include `AND` and `OR` expressions explicitly.\nFor example:\n```\n(cpuPlatform = \"Intel Skylake\") OR\n(cpuPlatform = \"Intel Broadwell\") AND\n(scheduling.automaticRestart = true)\n```\n\nIf you want to use a regular expression, use the `eq` (equal) or `ne`\n(not equal) operator against a single un-parenthesized expression with or\nwithout quotes or against multiple parenthesized expressions. Examples:\n\n`fieldname eq unquoted literal`\n`fieldname eq 'single quoted literal'`\n`fieldname eq \"double quoted literal\"`\n`(fieldname1 eq literal) (fieldname2 ne \"literal\")`\n\nThe literal value is interpreted as a regular expression using GoogleRE2 library syntax.\nThe literal value must match the entire field.\n\nFor example, to filter for instances that do not end with name \"instance\",\nyou would use `name ne .*instance`.\n\nYou cannot combine constraints on multiple fields using regular\nexpressions.", +"location": "query", +"type": "string" +}, +"maxResults": { +"default": "500", +"description": "The maximum number of results per page that should be returned.\nIf the number of available results is larger than `maxResults`,\nCompute Engine returns a `nextPageToken` that can be used to get\nthe next page of results in subsequent list requests. Acceptable values are\n`0` to `500`, inclusive. (Default: `500`)", +"format": "uint32", +"location": "query", +"minimum": "0", +"type": "integer" +}, +"orderBy": { +"description": "Sorts list results by a certain order. By default, results\nare returned in alphanumerical order based on the resource name.\n\nYou can also sort results in descending order based on the creation\ntimestamp using `orderBy=\"creationTimestamp desc\"`. This sorts\nresults based on the `creationTimestamp` field in\nreverse chronological order (newest result first). Use this to sort\nresources like operations so that the newest operation is returned first.\n\nCurrently, only sorting by `name` or\n`creationTimestamp desc` is supported.", +"location": "query", +"type": "string" +}, +"pageToken": { +"description": "Specifies a page token to use. Set `pageToken` to the\n`nextPageToken` returned by a previous list request to get\nthe next page of results.", +"location": "query", +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"returnPartialSuccess": { +"description": "Opt-in for partial success behavior which provides partial results in case\nof failure. The default value is false.\n\nFor example, when partial success behavior is enabled, aggregatedList for a\nsingle zone scope either returns all resources in the zone or no resources,\nwith an error code.", +"location": "query", +"type": "boolean" +} +}, +"path": "projects/{project}/global/forwardingRules", +"response": { +"$ref": "ForwardingRuleList" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"patch": { +"description": "Updates the specified forwarding rule with the data included in the\nrequest. This method supportsPATCH\nsemantics and uses theJSON merge\npatch format and processing rules. Currently, you can only\npatch the network_tier field.", +"flatPath": "projects/{project}/global/forwardingRules/{forwardingRule}", +"httpMethod": "PATCH", +"id": "compute.globalForwardingRules.patch", +"parameterOrder": [ +"project", +"forwardingRule" +], +"parameters": { +"forwardingRule": { +"description": "Name of the ForwardingRule resource to patch.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "projects/{project}/global/forwardingRules/{forwardingRule}", +"request": { +"$ref": "ForwardingRule" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"setLabels": { +"description": "Sets the labels on the specified resource. To learn more about labels,\nread the \nLabeling resources documentation.", +"flatPath": "projects/{project}/global/forwardingRules/{resource}/setLabels", +"httpMethod": "POST", +"id": "compute.globalForwardingRules.setLabels", +"parameterOrder": [ +"project", +"resource" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"resource": { +"description": "Name or id of the resource for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9_]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/global/forwardingRules/{resource}/setLabels", +"request": { +"$ref": "GlobalSetLabelsRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"setTarget": { +"description": "Changes target URL for the GlobalForwardingRule resource. The new target\nshould be of the same type as the old target.", +"flatPath": "projects/{project}/global/forwardingRules/{forwardingRule}/setTarget", +"httpMethod": "POST", +"id": "compute.globalForwardingRules.setTarget", +"parameterOrder": [ +"project", +"forwardingRule" +], +"parameters": { +"forwardingRule": { +"description": "Name of the ForwardingRule resource in which target is to be set.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "projects/{project}/global/forwardingRules/{forwardingRule}/setTarget", +"request": { +"$ref": "TargetReference" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"testIamPermissions": { +"description": "Returns permissions that a caller has on the specified resource.", +"flatPath": "projects/{project}/global/forwardingRules/{resource}/testIamPermissions", +"httpMethod": "POST", +"id": "compute.globalForwardingRules.testIamPermissions", +"parameterOrder": [ +"project", +"resource" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"resource": { +"description": "Name or id of the resource for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9_]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/global/forwardingRules/{resource}/testIamPermissions", +"request": { +"$ref": "TestPermissionsRequest" +}, +"response": { +"$ref": "TestPermissionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +} +} +}, +"globalNetworkEndpointGroups": { +"methods": { +"attachNetworkEndpoints": { +"description": "Attach a network endpoint to the specified network endpoint group.", +"flatPath": "projects/{project}/global/networkEndpointGroups/{networkEndpointGroup}/attachNetworkEndpoints", +"httpMethod": "POST", +"id": "compute.globalNetworkEndpointGroups.attachNetworkEndpoints", +"parameterOrder": [ +"project", +"networkEndpointGroup" +], +"parameters": { +"networkEndpointGroup": { +"description": "The name of the network endpoint group where you are attaching network\nendpoints to. It should comply with RFC1035.", +"location": "path", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "projects/{project}/global/networkEndpointGroups/{networkEndpointGroup}/attachNetworkEndpoints", +"request": { +"$ref": "GlobalNetworkEndpointGroupsAttachEndpointsRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"delete": { +"description": "Deletes the specified network endpoint group.Note that the NEG cannot be\ndeleted if there are backend services referencing it.", +"flatPath": "projects/{project}/global/networkEndpointGroups/{networkEndpointGroup}", +"httpMethod": "DELETE", +"id": "compute.globalNetworkEndpointGroups.delete", +"parameterOrder": [ +"project", +"networkEndpointGroup" +], +"parameters": { +"networkEndpointGroup": { +"description": "The name of the network endpoint group to delete. It should comply with\nRFC1035.", +"location": "path", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "projects/{project}/global/networkEndpointGroups/{networkEndpointGroup}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"detachNetworkEndpoints": { +"description": "Detach the network endpoint from the specified network endpoint group.", +"flatPath": "projects/{project}/global/networkEndpointGroups/{networkEndpointGroup}/detachNetworkEndpoints", +"httpMethod": "POST", +"id": "compute.globalNetworkEndpointGroups.detachNetworkEndpoints", +"parameterOrder": [ +"project", +"networkEndpointGroup" +], +"parameters": { +"networkEndpointGroup": { +"description": "The name of the network endpoint group where you are removing network\nendpoints. It should comply with RFC1035.", +"location": "path", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "projects/{project}/global/networkEndpointGroups/{networkEndpointGroup}/detachNetworkEndpoints", +"request": { +"$ref": "GlobalNetworkEndpointGroupsDetachEndpointsRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"get": { +"description": "Returns the specified network endpoint group.", +"flatPath": "projects/{project}/global/networkEndpointGroups/{networkEndpointGroup}", +"httpMethod": "GET", +"id": "compute.globalNetworkEndpointGroups.get", +"parameterOrder": [ +"project", +"networkEndpointGroup" +], +"parameters": { +"networkEndpointGroup": { +"description": "The name of the network endpoint group. It should comply with RFC1035.", +"location": "path", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/global/networkEndpointGroups/{networkEndpointGroup}", +"response": { +"$ref": "NetworkEndpointGroup" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"insert": { +"description": "Creates a network endpoint group in the specified project using the\nparameters that are included in the request.\n\nNote: Use the following APIs to manage network endpoint groups:\n \n - \n To manage NEGs with zonal scope (such as zonal NEGs, hybrid connectivity\n NEGs): zonal\n API\n - \n To manage NEGs with regional scope (such as regional internet NEGs,\n serverless NEGs, Private Service Connect NEGs): regional\n API\n - \n To manage NEGs with global scope (such as global internet NEGs):global\n API", +"flatPath": "projects/{project}/global/networkEndpointGroups", +"httpMethod": "POST", +"id": "compute.globalNetworkEndpointGroups.insert", +"parameterOrder": [ +"project" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "projects/{project}/global/networkEndpointGroups", +"request": { +"$ref": "NetworkEndpointGroup" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"list": { +"description": "Retrieves the list of network endpoint groups that are located in the\nspecified project.", +"flatPath": "projects/{project}/global/networkEndpointGroups", +"httpMethod": "GET", +"id": "compute.globalNetworkEndpointGroups.list", +"parameterOrder": [ +"project" +], +"parameters": { +"filter": { +"description": "A filter expression that filters resources listed in the response. Most\nCompute resources support two types of filter expressions:\nexpressions that support regular expressions and expressions that follow\nAPI improvement proposal AIP-160.\nThese two types of filter expressions cannot be mixed in one request.\n\nIf you want to use AIP-160, your expression must specify the field name, an\noperator, and the value that you want to use for filtering. The value\nmust be a string, a number, or a boolean. The operator\nmust be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.\n\nFor example, if you are filtering Compute Engine instances, you can\nexclude instances named `example-instance` by specifying\n`name != example-instance`.\n\nThe `:*` comparison can be used to test whether a key has been defined.\nFor example, to find all objects with `owner` label use:\n```\nlabels.owner:*\n```\n\nYou can also filter nested fields. For example, you could specify\n`scheduling.automaticRestart = false` to include instances only\nif they are not scheduled for automatic restarts. You can use filtering\non nested fields to filter based onresource labels.\n\nTo filter on multiple expressions, provide each separate expression within\nparentheses. For example:\n```\n(scheduling.automaticRestart = true)\n(cpuPlatform = \"Intel Skylake\")\n```\nBy default, each expression is an `AND` expression. However, you\ncan include `AND` and `OR` expressions explicitly.\nFor example:\n```\n(cpuPlatform = \"Intel Skylake\") OR\n(cpuPlatform = \"Intel Broadwell\") AND\n(scheduling.automaticRestart = true)\n```\n\nIf you want to use a regular expression, use the `eq` (equal) or `ne`\n(not equal) operator against a single un-parenthesized expression with or\nwithout quotes or against multiple parenthesized expressions. Examples:\n\n`fieldname eq unquoted literal`\n`fieldname eq 'single quoted literal'`\n`fieldname eq \"double quoted literal\"`\n`(fieldname1 eq literal) (fieldname2 ne \"literal\")`\n\nThe literal value is interpreted as a regular expression using GoogleRE2 library syntax.\nThe literal value must match the entire field.\n\nFor example, to filter for instances that do not end with name \"instance\",\nyou would use `name ne .*instance`.\n\nYou cannot combine constraints on multiple fields using regular\nexpressions.", +"location": "query", +"type": "string" +}, +"maxResults": { +"default": "500", +"description": "The maximum number of results per page that should be returned.\nIf the number of available results is larger than `maxResults`,\nCompute Engine returns a `nextPageToken` that can be used to get\nthe next page of results in subsequent list requests. Acceptable values are\n`0` to `500`, inclusive. (Default: `500`)", +"format": "uint32", +"location": "query", +"minimum": "0", +"type": "integer" +}, +"orderBy": { +"description": "Sorts list results by a certain order. By default, results\nare returned in alphanumerical order based on the resource name.\n\nYou can also sort results in descending order based on the creation\ntimestamp using `orderBy=\"creationTimestamp desc\"`. This sorts\nresults based on the `creationTimestamp` field in\nreverse chronological order (newest result first). Use this to sort\nresources like operations so that the newest operation is returned first.\n\nCurrently, only sorting by `name` or\n`creationTimestamp desc` is supported.", +"location": "query", +"type": "string" +}, +"pageToken": { +"description": "Specifies a page token to use. Set `pageToken` to the\n`nextPageToken` returned by a previous list request to get\nthe next page of results.", +"location": "query", +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"returnPartialSuccess": { +"description": "Opt-in for partial success behavior which provides partial results in case\nof failure. The default value is false.\n\nFor example, when partial success behavior is enabled, aggregatedList for a\nsingle zone scope either returns all resources in the zone or no resources,\nwith an error code.", +"location": "query", +"type": "boolean" +} +}, +"path": "projects/{project}/global/networkEndpointGroups", +"response": { +"$ref": "NetworkEndpointGroupList" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"listNetworkEndpoints": { +"description": "Lists the network endpoints in the specified network endpoint group.", +"flatPath": "projects/{project}/global/networkEndpointGroups/{networkEndpointGroup}/listNetworkEndpoints", +"httpMethod": "POST", +"id": "compute.globalNetworkEndpointGroups.listNetworkEndpoints", +"parameterOrder": [ +"project", +"networkEndpointGroup" +], +"parameters": { +"filter": { +"description": "A filter expression that filters resources listed in the response. Most\nCompute resources support two types of filter expressions:\nexpressions that support regular expressions and expressions that follow\nAPI improvement proposal AIP-160.\nThese two types of filter expressions cannot be mixed in one request.\n\nIf you want to use AIP-160, your expression must specify the field name, an\noperator, and the value that you want to use for filtering. The value\nmust be a string, a number, or a boolean. The operator\nmust be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.\n\nFor example, if you are filtering Compute Engine instances, you can\nexclude instances named `example-instance` by specifying\n`name != example-instance`.\n\nThe `:*` comparison can be used to test whether a key has been defined.\nFor example, to find all objects with `owner` label use:\n```\nlabels.owner:*\n```\n\nYou can also filter nested fields. For example, you could specify\n`scheduling.automaticRestart = false` to include instances only\nif they are not scheduled for automatic restarts. You can use filtering\non nested fields to filter based onresource labels.\n\nTo filter on multiple expressions, provide each separate expression within\nparentheses. For example:\n```\n(scheduling.automaticRestart = true)\n(cpuPlatform = \"Intel Skylake\")\n```\nBy default, each expression is an `AND` expression. However, you\ncan include `AND` and `OR` expressions explicitly.\nFor example:\n```\n(cpuPlatform = \"Intel Skylake\") OR\n(cpuPlatform = \"Intel Broadwell\") AND\n(scheduling.automaticRestart = true)\n```\n\nIf you want to use a regular expression, use the `eq` (equal) or `ne`\n(not equal) operator against a single un-parenthesized expression with or\nwithout quotes or against multiple parenthesized expressions. Examples:\n\n`fieldname eq unquoted literal`\n`fieldname eq 'single quoted literal'`\n`fieldname eq \"double quoted literal\"`\n`(fieldname1 eq literal) (fieldname2 ne \"literal\")`\n\nThe literal value is interpreted as a regular expression using GoogleRE2 library syntax.\nThe literal value must match the entire field.\n\nFor example, to filter for instances that do not end with name \"instance\",\nyou would use `name ne .*instance`.\n\nYou cannot combine constraints on multiple fields using regular\nexpressions.", +"location": "query", +"type": "string" +}, +"maxResults": { +"default": "500", +"description": "The maximum number of results per page that should be returned.\nIf the number of available results is larger than `maxResults`,\nCompute Engine returns a `nextPageToken` that can be used to get\nthe next page of results in subsequent list requests. Acceptable values are\n`0` to `500`, inclusive. (Default: `500`)", +"format": "uint32", +"location": "query", +"minimum": "0", +"type": "integer" +}, +"networkEndpointGroup": { +"description": "The name of the network endpoint group from which you want to generate a\nlist of included network endpoints. It should comply with RFC1035.", +"location": "path", +"required": true, +"type": "string" +}, +"orderBy": { +"description": "Sorts list results by a certain order. By default, results\nare returned in alphanumerical order based on the resource name.\n\nYou can also sort results in descending order based on the creation\ntimestamp using `orderBy=\"creationTimestamp desc\"`. This sorts\nresults based on the `creationTimestamp` field in\nreverse chronological order (newest result first). Use this to sort\nresources like operations so that the newest operation is returned first.\n\nCurrently, only sorting by `name` or\n`creationTimestamp desc` is supported.", +"location": "query", +"type": "string" +}, +"pageToken": { +"description": "Specifies a page token to use. Set `pageToken` to the\n`nextPageToken` returned by a previous list request to get\nthe next page of results.", +"location": "query", +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"returnPartialSuccess": { +"description": "Opt-in for partial success behavior which provides partial results in case\nof failure. The default value is false.\n\nFor example, when partial success behavior is enabled, aggregatedList for a\nsingle zone scope either returns all resources in the zone or no resources,\nwith an error code.", +"location": "query", +"type": "boolean" +} +}, +"path": "projects/{project}/global/networkEndpointGroups/{networkEndpointGroup}/listNetworkEndpoints", +"response": { +"$ref": "NetworkEndpointGroupsListNetworkEndpoints" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +} +} +}, +"globalOperations": { +"methods": { +"aggregatedList": { +"description": "Retrieves an aggregated list of all operations.\n\nTo prevent failure, Google recommends that you set the\n`returnPartialSuccess` parameter to `true`.", +"flatPath": "projects/{project}/aggregated/operations", +"httpMethod": "GET", +"id": "compute.globalOperations.aggregatedList", +"parameterOrder": [ +"project" +], +"parameters": { +"filter": { +"description": "A filter expression that filters resources listed in the response. Most\nCompute resources support two types of filter expressions:\nexpressions that support regular expressions and expressions that follow\nAPI improvement proposal AIP-160.\nThese two types of filter expressions cannot be mixed in one request.\n\nIf you want to use AIP-160, your expression must specify the field name, an\noperator, and the value that you want to use for filtering. The value\nmust be a string, a number, or a boolean. The operator\nmust be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.\n\nFor example, if you are filtering Compute Engine instances, you can\nexclude instances named `example-instance` by specifying\n`name != example-instance`.\n\nThe `:*` comparison can be used to test whether a key has been defined.\nFor example, to find all objects with `owner` label use:\n```\nlabels.owner:*\n```\n\nYou can also filter nested fields. For example, you could specify\n`scheduling.automaticRestart = false` to include instances only\nif they are not scheduled for automatic restarts. You can use filtering\non nested fields to filter based onresource labels.\n\nTo filter on multiple expressions, provide each separate expression within\nparentheses. For example:\n```\n(scheduling.automaticRestart = true)\n(cpuPlatform = \"Intel Skylake\")\n```\nBy default, each expression is an `AND` expression. However, you\ncan include `AND` and `OR` expressions explicitly.\nFor example:\n```\n(cpuPlatform = \"Intel Skylake\") OR\n(cpuPlatform = \"Intel Broadwell\") AND\n(scheduling.automaticRestart = true)\n```\n\nIf you want to use a regular expression, use the `eq` (equal) or `ne`\n(not equal) operator against a single un-parenthesized expression with or\nwithout quotes or against multiple parenthesized expressions. Examples:\n\n`fieldname eq unquoted literal`\n`fieldname eq 'single quoted literal'`\n`fieldname eq \"double quoted literal\"`\n`(fieldname1 eq literal) (fieldname2 ne \"literal\")`\n\nThe literal value is interpreted as a regular expression using GoogleRE2 library syntax.\nThe literal value must match the entire field.\n\nFor example, to filter for instances that do not end with name \"instance\",\nyou would use `name ne .*instance`.\n\nYou cannot combine constraints on multiple fields using regular\nexpressions.", +"location": "query", +"type": "string" +}, +"includeAllScopes": { +"description": "Indicates whether every visible scope for each scope type (zone, region,\nglobal) should be included in the response. For new resource types added\nafter this field, the flag has no effect as new resource types will always\ninclude every visible scope for each scope type in response. For resource\ntypes which predate this field, if this flag is omitted or false, only\nscopes of the scope types where the resource type is expected to be found\nwill be included.", +"location": "query", +"type": "boolean" +}, +"maxResults": { +"default": "500", +"description": "The maximum number of results per page that should be returned.\nIf the number of available results is larger than `maxResults`,\nCompute Engine returns a `nextPageToken` that can be used to get\nthe next page of results in subsequent list requests. Acceptable values are\n`0` to `500`, inclusive. (Default: `500`)", +"format": "uint32", +"location": "query", +"minimum": "0", +"type": "integer" +}, +"orderBy": { +"description": "Sorts list results by a certain order. By default, results\nare returned in alphanumerical order based on the resource name.\n\nYou can also sort results in descending order based on the creation\ntimestamp using `orderBy=\"creationTimestamp desc\"`. This sorts\nresults based on the `creationTimestamp` field in\nreverse chronological order (newest result first). Use this to sort\nresources like operations so that the newest operation is returned first.\n\nCurrently, only sorting by `name` or\n`creationTimestamp desc` is supported.", +"location": "query", +"type": "string" +}, +"pageToken": { +"description": "Specifies a page token to use. Set `pageToken` to the\n`nextPageToken` returned by a previous list request to get\nthe next page of results.", +"location": "query", +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"returnPartialSuccess": { +"description": "Opt-in for partial success behavior which provides partial results in case\nof failure. The default value is false.\n\nFor example, when partial success behavior is enabled, aggregatedList for a\nsingle zone scope either returns all resources in the zone or no resources,\nwith an error code.", +"location": "query", +"type": "boolean" +}, +"serviceProjectNumber": { +"description": "The Shared VPC service project id or service project number for which\naggregated list request is invoked for subnetworks list-usable api.", +"format": "int64", +"location": "query", +"type": "string" +} +}, +"path": "projects/{project}/aggregated/operations", +"response": { +"$ref": "OperationAggregatedList" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"delete": { +"description": "Deletes the specified Operations resource.", +"flatPath": "projects/{project}/global/operations/{operation}", +"httpMethod": "DELETE", +"id": "compute.globalOperations.delete", +"parameterOrder": [ +"project", +"operation" +], +"parameters": { +"operation": { +"description": "Name of the Operations resource to delete, or its unique numeric\nidentifier.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/global/operations/{operation}", +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"get": { +"description": "Retrieves the specified Operations resource.", +"flatPath": "projects/{project}/global/operations/{operation}", +"httpMethod": "GET", +"id": "compute.globalOperations.get", +"parameterOrder": [ +"project", +"operation" +], +"parameters": { +"operation": { +"description": "Name of the Operations resource to return, or its unique numeric\nidentifier.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/global/operations/{operation}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"list": { +"description": "Retrieves a list of Operation resources contained within the specified\nproject.", +"flatPath": "projects/{project}/global/operations", +"httpMethod": "GET", +"id": "compute.globalOperations.list", +"parameterOrder": [ +"project" +], +"parameters": { +"filter": { +"description": "A filter expression that filters resources listed in the response. Most\nCompute resources support two types of filter expressions:\nexpressions that support regular expressions and expressions that follow\nAPI improvement proposal AIP-160.\nThese two types of filter expressions cannot be mixed in one request.\n\nIf you want to use AIP-160, your expression must specify the field name, an\noperator, and the value that you want to use for filtering. The value\nmust be a string, a number, or a boolean. The operator\nmust be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.\n\nFor example, if you are filtering Compute Engine instances, you can\nexclude instances named `example-instance` by specifying\n`name != example-instance`.\n\nThe `:*` comparison can be used to test whether a key has been defined.\nFor example, to find all objects with `owner` label use:\n```\nlabels.owner:*\n```\n\nYou can also filter nested fields. For example, you could specify\n`scheduling.automaticRestart = false` to include instances only\nif they are not scheduled for automatic restarts. You can use filtering\non nested fields to filter based onresource labels.\n\nTo filter on multiple expressions, provide each separate expression within\nparentheses. For example:\n```\n(scheduling.automaticRestart = true)\n(cpuPlatform = \"Intel Skylake\")\n```\nBy default, each expression is an `AND` expression. However, you\ncan include `AND` and `OR` expressions explicitly.\nFor example:\n```\n(cpuPlatform = \"Intel Skylake\") OR\n(cpuPlatform = \"Intel Broadwell\") AND\n(scheduling.automaticRestart = true)\n```\n\nIf you want to use a regular expression, use the `eq` (equal) or `ne`\n(not equal) operator against a single un-parenthesized expression with or\nwithout quotes or against multiple parenthesized expressions. Examples:\n\n`fieldname eq unquoted literal`\n`fieldname eq 'single quoted literal'`\n`fieldname eq \"double quoted literal\"`\n`(fieldname1 eq literal) (fieldname2 ne \"literal\")`\n\nThe literal value is interpreted as a regular expression using GoogleRE2 library syntax.\nThe literal value must match the entire field.\n\nFor example, to filter for instances that do not end with name \"instance\",\nyou would use `name ne .*instance`.\n\nYou cannot combine constraints on multiple fields using regular\nexpressions.", +"location": "query", +"type": "string" +}, +"maxResults": { +"default": "500", +"description": "The maximum number of results per page that should be returned.\nIf the number of available results is larger than `maxResults`,\nCompute Engine returns a `nextPageToken` that can be used to get\nthe next page of results in subsequent list requests. Acceptable values are\n`0` to `500`, inclusive. (Default: `500`)", +"format": "uint32", +"location": "query", +"minimum": "0", +"type": "integer" +}, +"orderBy": { +"description": "Sorts list results by a certain order. By default, results\nare returned in alphanumerical order based on the resource name.\n\nYou can also sort results in descending order based on the creation\ntimestamp using `orderBy=\"creationTimestamp desc\"`. This sorts\nresults based on the `creationTimestamp` field in\nreverse chronological order (newest result first). Use this to sort\nresources like operations so that the newest operation is returned first.\n\nCurrently, only sorting by `name` or\n`creationTimestamp desc` is supported.", +"location": "query", +"type": "string" +}, +"pageToken": { +"description": "Specifies a page token to use. Set `pageToken` to the\n`nextPageToken` returned by a previous list request to get\nthe next page of results.", +"location": "query", +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"returnPartialSuccess": { +"description": "Opt-in for partial success behavior which provides partial results in case\nof failure. The default value is false.\n\nFor example, when partial success behavior is enabled, aggregatedList for a\nsingle zone scope either returns all resources in the zone or no resources,\nwith an error code.", +"location": "query", +"type": "boolean" +} +}, +"path": "projects/{project}/global/operations", +"response": { +"$ref": "OperationList" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"wait": { +"description": "Waits for the specified Operation resource to return as `DONE`\nor for the request to approach the 2 minute deadline, and retrieves the\nspecified Operation resource. This method differs from the\n`GET` method in that it waits for no more than the default\ndeadline (2 minutes) and then returns the current state of the operation,\nwhich might be `DONE` or still in progress.\n\nThis method is called on a best-effort basis. Specifically:\n \n \n - In uncommon cases, when the server is overloaded, the request might\n return before the default deadline is reached, or might return after zero\n seconds.\n - If the default deadline is reached, there is no guarantee that the\n operation is actually done when the method returns. Be prepared to retry\n if the operation is not `DONE`.", +"flatPath": "projects/{project}/global/operations/{operation}/wait", +"httpMethod": "POST", +"id": "compute.globalOperations.wait", +"parameterOrder": [ +"project", +"operation" +], +"parameters": { +"operation": { +"description": "Name of the Operations resource to return, or its unique numeric\nidentifier.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/global/operations/{operation}/wait", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +} +} +}, +"globalOrganizationOperations": { +"methods": { +"delete": { +"description": "Deletes the specified Operations resource.", +"flatPath": "locations/global/operations/{operation}", +"httpMethod": "DELETE", +"id": "compute.globalOrganizationOperations.delete", +"parameterOrder": [ +"operation" +], +"parameters": { +"operation": { +"description": "Name of the Operations resource to delete, or its unique numeric\nidentifier.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +}, +"parentId": { +"description": "Parent ID for this request.", +"location": "query", +"type": "string" +} +}, +"path": "locations/global/operations/{operation}", +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"get": { +"description": "Retrieves the specified Operations resource. Gets a list of operations\nby making a `list()` request.", +"flatPath": "locations/global/operations/{operation}", +"httpMethod": "GET", +"id": "compute.globalOrganizationOperations.get", +"parameterOrder": [ +"operation" +], +"parameters": { +"operation": { +"description": "Name of the Operations resource to return. Parent is derived from this\nfield.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +}, +"parentId": { +"description": "Parent ID for this request. Not used. Parent is derived from resource_id.", +"location": "query", +"type": "string" +} +}, +"path": "locations/global/operations/{operation}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"list": { +"description": "Retrieves a list of Operation resources contained within the specified\norganization.", +"flatPath": "locations/global/operations", +"httpMethod": "GET", +"id": "compute.globalOrganizationOperations.list", +"parameters": { +"filter": { +"description": "A filter expression that filters resources listed in the response. Most\nCompute resources support two types of filter expressions:\nexpressions that support regular expressions and expressions that follow\nAPI improvement proposal AIP-160.\nThese two types of filter expressions cannot be mixed in one request.\n\nIf you want to use AIP-160, your expression must specify the field name, an\noperator, and the value that you want to use for filtering. The value\nmust be a string, a number, or a boolean. The operator\nmust be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.\n\nFor example, if you are filtering Compute Engine instances, you can\nexclude instances named `example-instance` by specifying\n`name != example-instance`.\n\nThe `:*` comparison can be used to test whether a key has been defined.\nFor example, to find all objects with `owner` label use:\n```\nlabels.owner:*\n```\n\nYou can also filter nested fields. For example, you could specify\n`scheduling.automaticRestart = false` to include instances only\nif they are not scheduled for automatic restarts. You can use filtering\non nested fields to filter based onresource labels.\n\nTo filter on multiple expressions, provide each separate expression within\nparentheses. For example:\n```\n(scheduling.automaticRestart = true)\n(cpuPlatform = \"Intel Skylake\")\n```\nBy default, each expression is an `AND` expression. However, you\ncan include `AND` and `OR` expressions explicitly.\nFor example:\n```\n(cpuPlatform = \"Intel Skylake\") OR\n(cpuPlatform = \"Intel Broadwell\") AND\n(scheduling.automaticRestart = true)\n```\n\nIf you want to use a regular expression, use the `eq` (equal) or `ne`\n(not equal) operator against a single un-parenthesized expression with or\nwithout quotes or against multiple parenthesized expressions. Examples:\n\n`fieldname eq unquoted literal`\n`fieldname eq 'single quoted literal'`\n`fieldname eq \"double quoted literal\"`\n`(fieldname1 eq literal) (fieldname2 ne \"literal\")`\n\nThe literal value is interpreted as a regular expression using GoogleRE2 library syntax.\nThe literal value must match the entire field.\n\nFor example, to filter for instances that do not end with name \"instance\",\nyou would use `name ne .*instance`.\n\nYou cannot combine constraints on multiple fields using regular\nexpressions.", +"location": "query", +"type": "string" +}, +"maxResults": { +"default": "500", +"description": "The maximum number of results per page that should be returned.\nIf the number of available results is larger than `maxResults`,\nCompute Engine returns a `nextPageToken` that can be used to get\nthe next page of results in subsequent list requests. Acceptable values are\n`0` to `500`, inclusive. (Default: `500`)", +"format": "uint32", +"location": "query", +"minimum": "0", +"type": "integer" +}, +"orderBy": { +"description": "Sorts list results by a certain order. By default, results\nare returned in alphanumerical order based on the resource name.\n\nYou can also sort results in descending order based on the creation\ntimestamp using `orderBy=\"creationTimestamp desc\"`. This sorts\nresults based on the `creationTimestamp` field in\nreverse chronological order (newest result first). Use this to sort\nresources like operations so that the newest operation is returned first.\n\nCurrently, only sorting by `name` or\n`creationTimestamp desc` is supported.", +"location": "query", +"type": "string" +}, +"pageToken": { +"description": "Specifies a page token to use. Set `pageToken` to the\n`nextPageToken` returned by a previous list request to get\nthe next page of results.", +"location": "query", +"type": "string" +}, +"parentId": { +"description": "Parent ID for this request.", +"location": "query", +"type": "string" +}, +"returnPartialSuccess": { +"description": "Opt-in for partial success behavior which provides partial results in case\nof failure. The default value is false.\n\nFor example, when partial success behavior is enabled, aggregatedList for a\nsingle zone scope either returns all resources in the zone or no resources,\nwith an error code.", +"location": "query", +"type": "boolean" +} +}, +"path": "locations/global/operations", +"response": { +"$ref": "OperationList" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +} +} +}, +"globalPublicDelegatedPrefixes": { +"methods": { +"delete": { +"description": "Deletes the specified global PublicDelegatedPrefix.", +"flatPath": "projects/{project}/global/publicDelegatedPrefixes/{publicDelegatedPrefix}", +"httpMethod": "DELETE", +"id": "compute.globalPublicDelegatedPrefixes.delete", +"parameterOrder": [ +"project", +"publicDelegatedPrefix" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"publicDelegatedPrefix": { +"description": "Name of the PublicDelegatedPrefix resource to delete.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "projects/{project}/global/publicDelegatedPrefixes/{publicDelegatedPrefix}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"get": { +"description": "Returns the specified global PublicDelegatedPrefix resource.", +"flatPath": "projects/{project}/global/publicDelegatedPrefixes/{publicDelegatedPrefix}", +"httpMethod": "GET", +"id": "compute.globalPublicDelegatedPrefixes.get", +"parameterOrder": [ +"project", +"publicDelegatedPrefix" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"publicDelegatedPrefix": { +"description": "Name of the PublicDelegatedPrefix resource to return.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/global/publicDelegatedPrefixes/{publicDelegatedPrefix}", +"response": { +"$ref": "PublicDelegatedPrefix" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"insert": { +"description": "Creates a global PublicDelegatedPrefix in the specified project using the\nparameters that are included in the request.", +"flatPath": "projects/{project}/global/publicDelegatedPrefixes", +"httpMethod": "POST", +"id": "compute.globalPublicDelegatedPrefixes.insert", +"parameterOrder": [ +"project" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "projects/{project}/global/publicDelegatedPrefixes", +"request": { +"$ref": "PublicDelegatedPrefix" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"list": { +"description": "Lists the global PublicDelegatedPrefixes for a project.", +"flatPath": "projects/{project}/global/publicDelegatedPrefixes", +"httpMethod": "GET", +"id": "compute.globalPublicDelegatedPrefixes.list", +"parameterOrder": [ +"project" +], +"parameters": { +"filter": { +"description": "A filter expression that filters resources listed in the response. Most\nCompute resources support two types of filter expressions:\nexpressions that support regular expressions and expressions that follow\nAPI improvement proposal AIP-160.\nThese two types of filter expressions cannot be mixed in one request.\n\nIf you want to use AIP-160, your expression must specify the field name, an\noperator, and the value that you want to use for filtering. The value\nmust be a string, a number, or a boolean. The operator\nmust be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.\n\nFor example, if you are filtering Compute Engine instances, you can\nexclude instances named `example-instance` by specifying\n`name != example-instance`.\n\nThe `:*` comparison can be used to test whether a key has been defined.\nFor example, to find all objects with `owner` label use:\n```\nlabels.owner:*\n```\n\nYou can also filter nested fields. For example, you could specify\n`scheduling.automaticRestart = false` to include instances only\nif they are not scheduled for automatic restarts. You can use filtering\non nested fields to filter based onresource labels.\n\nTo filter on multiple expressions, provide each separate expression within\nparentheses. For example:\n```\n(scheduling.automaticRestart = true)\n(cpuPlatform = \"Intel Skylake\")\n```\nBy default, each expression is an `AND` expression. However, you\ncan include `AND` and `OR` expressions explicitly.\nFor example:\n```\n(cpuPlatform = \"Intel Skylake\") OR\n(cpuPlatform = \"Intel Broadwell\") AND\n(scheduling.automaticRestart = true)\n```\n\nIf you want to use a regular expression, use the `eq` (equal) or `ne`\n(not equal) operator against a single un-parenthesized expression with or\nwithout quotes or against multiple parenthesized expressions. Examples:\n\n`fieldname eq unquoted literal`\n`fieldname eq 'single quoted literal'`\n`fieldname eq \"double quoted literal\"`\n`(fieldname1 eq literal) (fieldname2 ne \"literal\")`\n\nThe literal value is interpreted as a regular expression using GoogleRE2 library syntax.\nThe literal value must match the entire field.\n\nFor example, to filter for instances that do not end with name \"instance\",\nyou would use `name ne .*instance`.\n\nYou cannot combine constraints on multiple fields using regular\nexpressions.", +"location": "query", +"type": "string" +}, +"maxResults": { +"default": "500", +"description": "The maximum number of results per page that should be returned.\nIf the number of available results is larger than `maxResults`,\nCompute Engine returns a `nextPageToken` that can be used to get\nthe next page of results in subsequent list requests. Acceptable values are\n`0` to `500`, inclusive. (Default: `500`)", +"format": "uint32", +"location": "query", +"minimum": "0", +"type": "integer" +}, +"orderBy": { +"description": "Sorts list results by a certain order. By default, results\nare returned in alphanumerical order based on the resource name.\n\nYou can also sort results in descending order based on the creation\ntimestamp using `orderBy=\"creationTimestamp desc\"`. This sorts\nresults based on the `creationTimestamp` field in\nreverse chronological order (newest result first). Use this to sort\nresources like operations so that the newest operation is returned first.\n\nCurrently, only sorting by `name` or\n`creationTimestamp desc` is supported.", +"location": "query", +"type": "string" +}, +"pageToken": { +"description": "Specifies a page token to use. Set `pageToken` to the\n`nextPageToken` returned by a previous list request to get\nthe next page of results.", +"location": "query", +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"returnPartialSuccess": { +"description": "Opt-in for partial success behavior which provides partial results in case\nof failure. The default value is false.\n\nFor example, when partial success behavior is enabled, aggregatedList for a\nsingle zone scope either returns all resources in the zone or no resources,\nwith an error code.", +"location": "query", +"type": "boolean" +} +}, +"path": "projects/{project}/global/publicDelegatedPrefixes", +"response": { +"$ref": "PublicDelegatedPrefixList" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"patch": { +"description": "Patches the specified global PublicDelegatedPrefix resource with the data\nincluded in the request. This method supportsPATCH\nsemantics and usesJSON merge\npatch format and processing rules.", +"flatPath": "projects/{project}/global/publicDelegatedPrefixes/{publicDelegatedPrefix}", +"httpMethod": "PATCH", +"id": "compute.globalPublicDelegatedPrefixes.patch", +"parameterOrder": [ +"project", +"publicDelegatedPrefix" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"publicDelegatedPrefix": { +"description": "Name of the PublicDelegatedPrefix resource to patch.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "projects/{project}/global/publicDelegatedPrefixes/{publicDelegatedPrefix}", +"request": { +"$ref": "PublicDelegatedPrefix" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +} +} +}, +"globalVmExtensionPolicies": { +"methods": { +"aggregatedList": { +"description": "Retrieves the list of all VM Extension Policy resources\navailable to the specified project.\n\nTo prevent failure, it's recommended that you set the\n`returnPartialSuccess` parameter to `true`.", +"flatPath": "projects/{project}/aggregated/vmExtensionPolicies", +"httpMethod": "GET", +"id": "compute.globalVmExtensionPolicies.aggregatedList", +"parameterOrder": [ +"project" +], +"parameters": { +"filter": { +"description": "A filter expression that filters resources listed in the response. Most\nCompute resources support two types of filter expressions:\nexpressions that support regular expressions and expressions that follow\nAPI improvement proposal AIP-160.\nThese two types of filter expressions cannot be mixed in one request.\n\nIf you want to use AIP-160, your expression must specify the field name, an\noperator, and the value that you want to use for filtering. The value\nmust be a string, a number, or a boolean. The operator\nmust be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.\n\nFor example, if you are filtering Compute Engine instances, you can\nexclude instances named `example-instance` by specifying\n`name != example-instance`.\n\nThe `:*` comparison can be used to test whether a key has been defined.\nFor example, to find all objects with `owner` label use:\n```\nlabels.owner:*\n```\n\nYou can also filter nested fields. For example, you could specify\n`scheduling.automaticRestart = false` to include instances only\nif they are not scheduled for automatic restarts. You can use filtering\non nested fields to filter based onresource labels.\n\nTo filter on multiple expressions, provide each separate expression within\nparentheses. For example:\n```\n(scheduling.automaticRestart = true)\n(cpuPlatform = \"Intel Skylake\")\n```\nBy default, each expression is an `AND` expression. However, you\ncan include `AND` and `OR` expressions explicitly.\nFor example:\n```\n(cpuPlatform = \"Intel Skylake\") OR\n(cpuPlatform = \"Intel Broadwell\") AND\n(scheduling.automaticRestart = true)\n```\n\nIf you want to use a regular expression, use the `eq` (equal) or `ne`\n(not equal) operator against a single un-parenthesized expression with or\nwithout quotes or against multiple parenthesized expressions. Examples:\n\n`fieldname eq unquoted literal`\n`fieldname eq 'single quoted literal'`\n`fieldname eq \"double quoted literal\"`\n`(fieldname1 eq literal) (fieldname2 ne \"literal\")`\n\nThe literal value is interpreted as a regular expression using GoogleRE2 library syntax.\nThe literal value must match the entire field.\n\nFor example, to filter for instances that do not end with name \"instance\",\nyou would use `name ne .*instance`.\n\nYou cannot combine constraints on multiple fields using regular\nexpressions.", +"location": "query", +"type": "string" +}, +"includeAllScopes": { +"description": "Indicates whether every visible scope for each scope type (zone, region,\nglobal) should be included in the response. For new resource types added\nafter this field, the flag has no effect as new resource types will always\ninclude every visible scope for each scope type in response. For resource\ntypes which predate this field, if this flag is omitted or false, only\nscopes of the scope types where the resource type is expected to be found\nwill be included.", +"location": "query", +"type": "boolean" +}, +"maxResults": { +"default": "500", +"description": "The maximum number of results per page that should be returned.\nIf the number of available results is larger than `maxResults`,\nCompute Engine returns a `nextPageToken` that can be used to get\nthe next page of results in subsequent list requests. Acceptable values are\n`0` to `500`, inclusive. (Default: `500`)", +"format": "uint32", +"location": "query", +"minimum": "0", +"type": "integer" +}, +"orderBy": { +"description": "Sorts list results by a certain order. By default, results\nare returned in alphanumerical order based on the resource name.\n\nYou can also sort results in descending order based on the creation\ntimestamp using `orderBy=\"creationTimestamp desc\"`. This sorts\nresults based on the `creationTimestamp` field in\nreverse chronological order (newest result first). Use this to sort\nresources like operations so that the newest operation is returned first.\n\nCurrently, only sorting by `name` or\n`creationTimestamp desc` is supported.", +"location": "query", +"type": "string" +}, +"pageToken": { +"description": "Specifies a page token to use. Set `pageToken` to the\n`nextPageToken` returned by a previous list request to get\nthe next page of results.", +"location": "query", +"type": "string" +}, +"project": { +"description": "Name of the project scoping this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"returnPartialSuccess": { +"description": "Opt-in for partial success behavior which provides partial results in case\nof failure. The default value is false.\n\nFor example, when partial success behavior is enabled, aggregatedList for a\nsingle zone scope either returns all resources in the zone or no resources,\nwith an error code.", +"location": "query", +"type": "boolean" +}, +"serviceProjectNumber": { +"description": "The Shared VPC service project id or service project number for which\naggregated list request is invoked for subnetworks list-usable api.", +"format": "int64", +"location": "query", +"type": "string" +} +}, +"path": "projects/{project}/aggregated/vmExtensionPolicies", +"response": { +"$ref": "VmExtensionPolicyAggregatedListResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"delete": { +"description": "Purge scoped resources (zonal policies) from a global VM extension\npolicy, and then delete the global VM extension policy. Purge of the scoped\nresources is a pre-condition of the global VM extension policy deletion.\nThe deletion of the global VM extension policy happens after the purge\nrollout is done, so it's not a part of the LRO. It's an automatic process\nthat triggers in the backend.", +"flatPath": "projects/{project}/global/vmExtensionPolicies/{globalVmExtensionPolicy}/delete", +"httpMethod": "POST", +"id": "compute.globalVmExtensionPolicies.delete", +"parameterOrder": [ +"project", +"globalVmExtensionPolicy" +], +"parameters": { +"globalVmExtensionPolicy": { +"description": "Name of the global VM extension policy to purge scoped resources for.", +"location": "path", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "projects/{project}/global/vmExtensionPolicies/{globalVmExtensionPolicy}/delete", +"request": { +"$ref": "GlobalVmExtensionPolicyRolloutOperationRolloutInput" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"get": { +"description": "Gets details of a global VM extension policy.", +"flatPath": "projects/{project}/global/vmExtensionPolicies/{globalVmExtensionPolicy}", +"httpMethod": "GET", +"id": "compute.globalVmExtensionPolicies.get", +"parameterOrder": [ +"project", +"globalVmExtensionPolicy" +], +"parameters": { +"globalVmExtensionPolicy": { +"description": "Name of the GlobalVmExtensionPolicy resource to return.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/global/vmExtensionPolicies/{globalVmExtensionPolicy}", +"response": { +"$ref": "GlobalVmExtensionPolicy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"insert": { +"description": "Creates a new project level GlobalVmExtensionPolicy.", +"flatPath": "projects/{project}/global/vmExtensionPolicies", +"httpMethod": "POST", +"id": "compute.globalVmExtensionPolicies.insert", +"parameterOrder": [ +"project" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "projects/{project}/global/vmExtensionPolicies", +"request": { +"$ref": "GlobalVmExtensionPolicy" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"list": { +"description": "Lists global VM extension policies.", +"flatPath": "projects/{project}/global/vmExtensionPolicies", +"httpMethod": "GET", +"id": "compute.globalVmExtensionPolicies.list", +"parameterOrder": [ +"project" +], +"parameters": { +"filter": { +"description": "A filter expression that filters resources listed in the response. Most\nCompute resources support two types of filter expressions:\nexpressions that support regular expressions and expressions that follow\nAPI improvement proposal AIP-160.\nThese two types of filter expressions cannot be mixed in one request.\n\nIf you want to use AIP-160, your expression must specify the field name, an\noperator, and the value that you want to use for filtering. The value\nmust be a string, a number, or a boolean. The operator\nmust be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.\n\nFor example, if you are filtering Compute Engine instances, you can\nexclude instances named `example-instance` by specifying\n`name != example-instance`.\n\nThe `:*` comparison can be used to test whether a key has been defined.\nFor example, to find all objects with `owner` label use:\n```\nlabels.owner:*\n```\n\nYou can also filter nested fields. For example, you could specify\n`scheduling.automaticRestart = false` to include instances only\nif they are not scheduled for automatic restarts. You can use filtering\non nested fields to filter based onresource labels.\n\nTo filter on multiple expressions, provide each separate expression within\nparentheses. For example:\n```\n(scheduling.automaticRestart = true)\n(cpuPlatform = \"Intel Skylake\")\n```\nBy default, each expression is an `AND` expression. However, you\ncan include `AND` and `OR` expressions explicitly.\nFor example:\n```\n(cpuPlatform = \"Intel Skylake\") OR\n(cpuPlatform = \"Intel Broadwell\") AND\n(scheduling.automaticRestart = true)\n```\n\nIf you want to use a regular expression, use the `eq` (equal) or `ne`\n(not equal) operator against a single un-parenthesized expression with or\nwithout quotes or against multiple parenthesized expressions. Examples:\n\n`fieldname eq unquoted literal`\n`fieldname eq 'single quoted literal'`\n`fieldname eq \"double quoted literal\"`\n`(fieldname1 eq literal) (fieldname2 ne \"literal\")`\n\nThe literal value is interpreted as a regular expression using GoogleRE2 library syntax.\nThe literal value must match the entire field.\n\nFor example, to filter for instances that do not end with name \"instance\",\nyou would use `name ne .*instance`.\n\nYou cannot combine constraints on multiple fields using regular\nexpressions.", +"location": "query", +"type": "string" +}, +"maxResults": { +"default": "500", +"description": "The maximum number of results per page that should be returned.\nIf the number of available results is larger than `maxResults`,\nCompute Engine returns a `nextPageToken` that can be used to get\nthe next page of results in subsequent list requests. Acceptable values are\n`0` to `500`, inclusive. (Default: `500`)", +"format": "uint32", +"location": "query", +"minimum": "0", +"type": "integer" +}, +"orderBy": { +"description": "Sorts list results by a certain order. By default, results\nare returned in alphanumerical order based on the resource name.\n\nYou can also sort results in descending order based on the creation\ntimestamp using `orderBy=\"creationTimestamp desc\"`. This sorts\nresults based on the `creationTimestamp` field in\nreverse chronological order (newest result first). Use this to sort\nresources like operations so that the newest operation is returned first.\n\nCurrently, only sorting by `name` or\n`creationTimestamp desc` is supported.", +"location": "query", +"type": "string" +}, +"pageToken": { +"description": "Specifies a page token to use. Set `pageToken` to the\n`nextPageToken` returned by a previous list request to get\nthe next page of results.", +"location": "query", +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"returnPartialSuccess": { +"description": "Opt-in for partial success behavior which provides partial results in case\nof failure. The default value is false.\n\nFor example, when partial success behavior is enabled, aggregatedList for a\nsingle zone scope either returns all resources in the zone or no resources,\nwith an error code.", +"location": "query", +"type": "boolean" +} +}, +"path": "projects/{project}/global/vmExtensionPolicies", +"response": { +"$ref": "GlobalVmExtensionPolicyList" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"update": { +"description": "Updates a global VM extension policy.", +"flatPath": "projects/{project}/global/vmExtensionPolicies/{globalVmExtensionPolicy}", +"httpMethod": "PATCH", +"id": "compute.globalVmExtensionPolicies.update", +"parameterOrder": [ +"project", +"globalVmExtensionPolicy" +], +"parameters": { +"globalVmExtensionPolicy": { +"description": "Name of the global VM extension policy to update.", +"location": "path", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "projects/{project}/global/vmExtensionPolicies/{globalVmExtensionPolicy}", +"request": { +"$ref": "GlobalVmExtensionPolicy" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +} +} +}, +"healthChecks": { +"methods": { +"aggregatedList": { +"description": "Retrieves the list of all HealthCheck resources, regional and global,\navailable to the specified project.\n\nTo prevent failure, Google recommends that you set the\n`returnPartialSuccess` parameter to `true`.", +"flatPath": "projects/{project}/aggregated/healthChecks", +"httpMethod": "GET", +"id": "compute.healthChecks.aggregatedList", +"parameterOrder": [ +"project" +], +"parameters": { +"filter": { +"description": "A filter expression that filters resources listed in the response. Most\nCompute resources support two types of filter expressions:\nexpressions that support regular expressions and expressions that follow\nAPI improvement proposal AIP-160.\nThese two types of filter expressions cannot be mixed in one request.\n\nIf you want to use AIP-160, your expression must specify the field name, an\noperator, and the value that you want to use for filtering. The value\nmust be a string, a number, or a boolean. The operator\nmust be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.\n\nFor example, if you are filtering Compute Engine instances, you can\nexclude instances named `example-instance` by specifying\n`name != example-instance`.\n\nThe `:*` comparison can be used to test whether a key has been defined.\nFor example, to find all objects with `owner` label use:\n```\nlabels.owner:*\n```\n\nYou can also filter nested fields. For example, you could specify\n`scheduling.automaticRestart = false` to include instances only\nif they are not scheduled for automatic restarts. You can use filtering\non nested fields to filter based onresource labels.\n\nTo filter on multiple expressions, provide each separate expression within\nparentheses. For example:\n```\n(scheduling.automaticRestart = true)\n(cpuPlatform = \"Intel Skylake\")\n```\nBy default, each expression is an `AND` expression. However, you\ncan include `AND` and `OR` expressions explicitly.\nFor example:\n```\n(cpuPlatform = \"Intel Skylake\") OR\n(cpuPlatform = \"Intel Broadwell\") AND\n(scheduling.automaticRestart = true)\n```\n\nIf you want to use a regular expression, use the `eq` (equal) or `ne`\n(not equal) operator against a single un-parenthesized expression with or\nwithout quotes or against multiple parenthesized expressions. Examples:\n\n`fieldname eq unquoted literal`\n`fieldname eq 'single quoted literal'`\n`fieldname eq \"double quoted literal\"`\n`(fieldname1 eq literal) (fieldname2 ne \"literal\")`\n\nThe literal value is interpreted as a regular expression using GoogleRE2 library syntax.\nThe literal value must match the entire field.\n\nFor example, to filter for instances that do not end with name \"instance\",\nyou would use `name ne .*instance`.\n\nYou cannot combine constraints on multiple fields using regular\nexpressions.", +"location": "query", +"type": "string" +}, +"includeAllScopes": { +"description": "Indicates whether every visible scope for each scope type (zone, region,\nglobal) should be included in the response. For new resource types added\nafter this field, the flag has no effect as new resource types will always\ninclude every visible scope for each scope type in response. For resource\ntypes which predate this field, if this flag is omitted or false, only\nscopes of the scope types where the resource type is expected to be found\nwill be included.", +"location": "query", +"type": "boolean" +}, +"maxResults": { +"default": "500", +"description": "The maximum number of results per page that should be returned.\nIf the number of available results is larger than `maxResults`,\nCompute Engine returns a `nextPageToken` that can be used to get\nthe next page of results in subsequent list requests. Acceptable values are\n`0` to `500`, inclusive. (Default: `500`)", +"format": "uint32", +"location": "query", +"minimum": "0", +"type": "integer" +}, +"orderBy": { +"description": "Sorts list results by a certain order. By default, results\nare returned in alphanumerical order based on the resource name.\n\nYou can also sort results in descending order based on the creation\ntimestamp using `orderBy=\"creationTimestamp desc\"`. This sorts\nresults based on the `creationTimestamp` field in\nreverse chronological order (newest result first). Use this to sort\nresources like operations so that the newest operation is returned first.\n\nCurrently, only sorting by `name` or\n`creationTimestamp desc` is supported.", +"location": "query", +"type": "string" +}, +"pageToken": { +"description": "Specifies a page token to use. Set `pageToken` to the\n`nextPageToken` returned by a previous list request to get\nthe next page of results.", +"location": "query", +"type": "string" +}, +"project": { +"description": "Name of the project scoping this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"returnPartialSuccess": { +"description": "Opt-in for partial success behavior which provides partial results in case\nof failure. The default value is false.\n\nFor example, when partial success behavior is enabled, aggregatedList for a\nsingle zone scope either returns all resources in the zone or no resources,\nwith an error code.", +"location": "query", +"type": "boolean" +}, +"serviceProjectNumber": { +"description": "The Shared VPC service project id or service project number for which\naggregated list request is invoked for subnetworks list-usable api.", +"format": "int64", +"location": "query", +"type": "string" +} +}, +"path": "projects/{project}/aggregated/healthChecks", +"response": { +"$ref": "HealthChecksAggregatedList" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"delete": { +"description": "Deletes the specified HealthCheck resource.", +"flatPath": "projects/{project}/global/healthChecks/{healthCheck}", +"httpMethod": "DELETE", +"id": "compute.healthChecks.delete", +"parameterOrder": [ +"project", +"healthCheck" +], +"parameters": { +"healthCheck": { +"description": "Name of the HealthCheck resource to delete.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "projects/{project}/global/healthChecks/{healthCheck}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"get": { +"description": "Returns the specified HealthCheck resource.", +"flatPath": "projects/{project}/global/healthChecks/{healthCheck}", +"httpMethod": "GET", +"id": "compute.healthChecks.get", +"parameterOrder": [ +"project", +"healthCheck" +], +"parameters": { +"healthCheck": { +"description": "Name of the HealthCheck resource to return.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/global/healthChecks/{healthCheck}", +"response": { +"$ref": "HealthCheck" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"insert": { +"description": "Creates a HealthCheck resource in the specified project using the data\nincluded in the request.", +"flatPath": "projects/{project}/global/healthChecks", +"httpMethod": "POST", +"id": "compute.healthChecks.insert", +"parameterOrder": [ +"project" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "projects/{project}/global/healthChecks", +"request": { +"$ref": "HealthCheck" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"list": { +"description": "Retrieves the list of HealthCheck resources available to the specified\nproject.", +"flatPath": "projects/{project}/global/healthChecks", +"httpMethod": "GET", +"id": "compute.healthChecks.list", +"parameterOrder": [ +"project" +], +"parameters": { +"filter": { +"description": "A filter expression that filters resources listed in the response. Most\nCompute resources support two types of filter expressions:\nexpressions that support regular expressions and expressions that follow\nAPI improvement proposal AIP-160.\nThese two types of filter expressions cannot be mixed in one request.\n\nIf you want to use AIP-160, your expression must specify the field name, an\noperator, and the value that you want to use for filtering. The value\nmust be a string, a number, or a boolean. The operator\nmust be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.\n\nFor example, if you are filtering Compute Engine instances, you can\nexclude instances named `example-instance` by specifying\n`name != example-instance`.\n\nThe `:*` comparison can be used to test whether a key has been defined.\nFor example, to find all objects with `owner` label use:\n```\nlabels.owner:*\n```\n\nYou can also filter nested fields. For example, you could specify\n`scheduling.automaticRestart = false` to include instances only\nif they are not scheduled for automatic restarts. You can use filtering\non nested fields to filter based onresource labels.\n\nTo filter on multiple expressions, provide each separate expression within\nparentheses. For example:\n```\n(scheduling.automaticRestart = true)\n(cpuPlatform = \"Intel Skylake\")\n```\nBy default, each expression is an `AND` expression. However, you\ncan include `AND` and `OR` expressions explicitly.\nFor example:\n```\n(cpuPlatform = \"Intel Skylake\") OR\n(cpuPlatform = \"Intel Broadwell\") AND\n(scheduling.automaticRestart = true)\n```\n\nIf you want to use a regular expression, use the `eq` (equal) or `ne`\n(not equal) operator against a single un-parenthesized expression with or\nwithout quotes or against multiple parenthesized expressions. Examples:\n\n`fieldname eq unquoted literal`\n`fieldname eq 'single quoted literal'`\n`fieldname eq \"double quoted literal\"`\n`(fieldname1 eq literal) (fieldname2 ne \"literal\")`\n\nThe literal value is interpreted as a regular expression using GoogleRE2 library syntax.\nThe literal value must match the entire field.\n\nFor example, to filter for instances that do not end with name \"instance\",\nyou would use `name ne .*instance`.\n\nYou cannot combine constraints on multiple fields using regular\nexpressions.", +"location": "query", +"type": "string" +}, +"maxResults": { +"default": "500", +"description": "The maximum number of results per page that should be returned.\nIf the number of available results is larger than `maxResults`,\nCompute Engine returns a `nextPageToken` that can be used to get\nthe next page of results in subsequent list requests. Acceptable values are\n`0` to `500`, inclusive. (Default: `500`)", +"format": "uint32", +"location": "query", +"minimum": "0", +"type": "integer" +}, +"orderBy": { +"description": "Sorts list results by a certain order. By default, results\nare returned in alphanumerical order based on the resource name.\n\nYou can also sort results in descending order based on the creation\ntimestamp using `orderBy=\"creationTimestamp desc\"`. This sorts\nresults based on the `creationTimestamp` field in\nreverse chronological order (newest result first). Use this to sort\nresources like operations so that the newest operation is returned first.\n\nCurrently, only sorting by `name` or\n`creationTimestamp desc` is supported.", +"location": "query", +"type": "string" +}, +"pageToken": { +"description": "Specifies a page token to use. Set `pageToken` to the\n`nextPageToken` returned by a previous list request to get\nthe next page of results.", +"location": "query", +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"returnPartialSuccess": { +"description": "Opt-in for partial success behavior which provides partial results in case\nof failure. The default value is false.\n\nFor example, when partial success behavior is enabled, aggregatedList for a\nsingle zone scope either returns all resources in the zone or no resources,\nwith an error code.", +"location": "query", +"type": "boolean" +} +}, +"path": "projects/{project}/global/healthChecks", +"response": { +"$ref": "HealthCheckList" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"patch": { +"description": "Updates a HealthCheck resource in the specified project using the data\nincluded in the request. This method supportsPATCH\nsemantics and uses theJSON merge\npatch format and processing rules.", +"flatPath": "projects/{project}/global/healthChecks/{healthCheck}", +"httpMethod": "PATCH", +"id": "compute.healthChecks.patch", +"parameterOrder": [ +"project", +"healthCheck" +], +"parameters": { +"healthCheck": { +"description": "Name of the HealthCheck resource to patch.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "projects/{project}/global/healthChecks/{healthCheck}", +"request": { +"$ref": "HealthCheck" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"testIamPermissions": { +"description": "Returns permissions that a caller has on the specified resource.", +"flatPath": "projects/{project}/global/healthChecks/{resource}/testIamPermissions", +"httpMethod": "POST", +"id": "compute.healthChecks.testIamPermissions", +"parameterOrder": [ +"project", +"resource" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"resource": { +"description": "Name or id of the resource for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9_]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/global/healthChecks/{resource}/testIamPermissions", +"request": { +"$ref": "TestPermissionsRequest" +}, +"response": { +"$ref": "TestPermissionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"update": { +"description": "Updates a HealthCheck resource in the specified project using the data\nincluded in the request.", +"flatPath": "projects/{project}/global/healthChecks/{healthCheck}", +"httpMethod": "PUT", +"id": "compute.healthChecks.update", +"parameterOrder": [ +"project", +"healthCheck" +], +"parameters": { +"healthCheck": { +"description": "Name of the HealthCheck resource to update.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "projects/{project}/global/healthChecks/{healthCheck}", +"request": { +"$ref": "HealthCheck" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +} +} +}, +"httpHealthChecks": { +"methods": { +"delete": { +"description": "Deletes the specified HttpHealthCheck resource.", +"flatPath": "projects/{project}/global/httpHealthChecks/{httpHealthCheck}", +"httpMethod": "DELETE", +"id": "compute.httpHealthChecks.delete", +"parameterOrder": [ +"project", +"httpHealthCheck" +], +"parameters": { +"httpHealthCheck": { +"description": "Name of the HttpHealthCheck resource to delete.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "projects/{project}/global/httpHealthChecks/{httpHealthCheck}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"get": { +"description": "Returns the specified HttpHealthCheck resource.", +"flatPath": "projects/{project}/global/httpHealthChecks/{httpHealthCheck}", +"httpMethod": "GET", +"id": "compute.httpHealthChecks.get", +"parameterOrder": [ +"project", +"httpHealthCheck" +], +"parameters": { +"httpHealthCheck": { +"description": "Name of the HttpHealthCheck resource to return.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/global/httpHealthChecks/{httpHealthCheck}", +"response": { +"$ref": "HttpHealthCheck" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"insert": { +"description": "Creates a HttpHealthCheck resource in the specified project using the data\nincluded in the request.", +"flatPath": "projects/{project}/global/httpHealthChecks", +"httpMethod": "POST", +"id": "compute.httpHealthChecks.insert", +"parameterOrder": [ +"project" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "projects/{project}/global/httpHealthChecks", +"request": { +"$ref": "HttpHealthCheck" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"list": { +"description": "Retrieves the list of HttpHealthCheck resources available to the specified\nproject.", +"flatPath": "projects/{project}/global/httpHealthChecks", +"httpMethod": "GET", +"id": "compute.httpHealthChecks.list", +"parameterOrder": [ +"project" +], +"parameters": { +"filter": { +"description": "A filter expression that filters resources listed in the response. Most\nCompute resources support two types of filter expressions:\nexpressions that support regular expressions and expressions that follow\nAPI improvement proposal AIP-160.\nThese two types of filter expressions cannot be mixed in one request.\n\nIf you want to use AIP-160, your expression must specify the field name, an\noperator, and the value that you want to use for filtering. The value\nmust be a string, a number, or a boolean. The operator\nmust be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.\n\nFor example, if you are filtering Compute Engine instances, you can\nexclude instances named `example-instance` by specifying\n`name != example-instance`.\n\nThe `:*` comparison can be used to test whether a key has been defined.\nFor example, to find all objects with `owner` label use:\n```\nlabels.owner:*\n```\n\nYou can also filter nested fields. For example, you could specify\n`scheduling.automaticRestart = false` to include instances only\nif they are not scheduled for automatic restarts. You can use filtering\non nested fields to filter based onresource labels.\n\nTo filter on multiple expressions, provide each separate expression within\nparentheses. For example:\n```\n(scheduling.automaticRestart = true)\n(cpuPlatform = \"Intel Skylake\")\n```\nBy default, each expression is an `AND` expression. However, you\ncan include `AND` and `OR` expressions explicitly.\nFor example:\n```\n(cpuPlatform = \"Intel Skylake\") OR\n(cpuPlatform = \"Intel Broadwell\") AND\n(scheduling.automaticRestart = true)\n```\n\nIf you want to use a regular expression, use the `eq` (equal) or `ne`\n(not equal) operator against a single un-parenthesized expression with or\nwithout quotes or against multiple parenthesized expressions. Examples:\n\n`fieldname eq unquoted literal`\n`fieldname eq 'single quoted literal'`\n`fieldname eq \"double quoted literal\"`\n`(fieldname1 eq literal) (fieldname2 ne \"literal\")`\n\nThe literal value is interpreted as a regular expression using GoogleRE2 library syntax.\nThe literal value must match the entire field.\n\nFor example, to filter for instances that do not end with name \"instance\",\nyou would use `name ne .*instance`.\n\nYou cannot combine constraints on multiple fields using regular\nexpressions.", +"location": "query", +"type": "string" +}, +"maxResults": { +"default": "500", +"description": "The maximum number of results per page that should be returned.\nIf the number of available results is larger than `maxResults`,\nCompute Engine returns a `nextPageToken` that can be used to get\nthe next page of results in subsequent list requests. Acceptable values are\n`0` to `500`, inclusive. (Default: `500`)", +"format": "uint32", +"location": "query", +"minimum": "0", +"type": "integer" +}, +"orderBy": { +"description": "Sorts list results by a certain order. By default, results\nare returned in alphanumerical order based on the resource name.\n\nYou can also sort results in descending order based on the creation\ntimestamp using `orderBy=\"creationTimestamp desc\"`. This sorts\nresults based on the `creationTimestamp` field in\nreverse chronological order (newest result first). Use this to sort\nresources like operations so that the newest operation is returned first.\n\nCurrently, only sorting by `name` or\n`creationTimestamp desc` is supported.", +"location": "query", +"type": "string" +}, +"pageToken": { +"description": "Specifies a page token to use. Set `pageToken` to the\n`nextPageToken` returned by a previous list request to get\nthe next page of results.", +"location": "query", +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"returnPartialSuccess": { +"description": "Opt-in for partial success behavior which provides partial results in case\nof failure. The default value is false.\n\nFor example, when partial success behavior is enabled, aggregatedList for a\nsingle zone scope either returns all resources in the zone or no resources,\nwith an error code.", +"location": "query", +"type": "boolean" +} +}, +"path": "projects/{project}/global/httpHealthChecks", +"response": { +"$ref": "HttpHealthCheckList" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"patch": { +"description": "Updates a HttpHealthCheck resource in the specified project using the data\nincluded in the request. This method supportsPATCH\nsemantics and uses theJSON merge\npatch format and processing rules.", +"flatPath": "projects/{project}/global/httpHealthChecks/{httpHealthCheck}", +"httpMethod": "PATCH", +"id": "compute.httpHealthChecks.patch", +"parameterOrder": [ +"project", +"httpHealthCheck" +], +"parameters": { +"httpHealthCheck": { +"description": "Name of the HttpHealthCheck resource to patch.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "projects/{project}/global/httpHealthChecks/{httpHealthCheck}", +"request": { +"$ref": "HttpHealthCheck" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"testIamPermissions": { +"description": "Returns permissions that a caller has on the specified resource.", +"flatPath": "projects/{project}/global/httpHealthChecks/{resource}/testIamPermissions", +"httpMethod": "POST", +"id": "compute.httpHealthChecks.testIamPermissions", +"parameterOrder": [ +"project", +"resource" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"resource": { +"description": "Name or id of the resource for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9_]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/global/httpHealthChecks/{resource}/testIamPermissions", +"request": { +"$ref": "TestPermissionsRequest" +}, +"response": { +"$ref": "TestPermissionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"update": { +"description": "Updates a HttpHealthCheck resource in the specified project using the data\nincluded in the request.", +"flatPath": "projects/{project}/global/httpHealthChecks/{httpHealthCheck}", +"httpMethod": "PUT", +"id": "compute.httpHealthChecks.update", +"parameterOrder": [ +"project", +"httpHealthCheck" +], +"parameters": { +"httpHealthCheck": { +"description": "Name of the HttpHealthCheck resource to update.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "projects/{project}/global/httpHealthChecks/{httpHealthCheck}", +"request": { +"$ref": "HttpHealthCheck" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +} +} +}, +"httpsHealthChecks": { +"methods": { +"delete": { +"description": "Deletes the specified HttpsHealthCheck resource.", +"flatPath": "projects/{project}/global/httpsHealthChecks/{httpsHealthCheck}", +"httpMethod": "DELETE", +"id": "compute.httpsHealthChecks.delete", +"parameterOrder": [ +"project", +"httpsHealthCheck" +], +"parameters": { +"httpsHealthCheck": { +"description": "Name of the HttpsHealthCheck resource to delete.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "projects/{project}/global/httpsHealthChecks/{httpsHealthCheck}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"get": { +"description": "Returns the specified HttpsHealthCheck resource.", +"flatPath": "projects/{project}/global/httpsHealthChecks/{httpsHealthCheck}", +"httpMethod": "GET", +"id": "compute.httpsHealthChecks.get", +"parameterOrder": [ +"project", +"httpsHealthCheck" +], +"parameters": { +"httpsHealthCheck": { +"description": "Name of the HttpsHealthCheck resource to return.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/global/httpsHealthChecks/{httpsHealthCheck}", +"response": { +"$ref": "HttpsHealthCheck" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"insert": { +"description": "Creates a HttpsHealthCheck resource in the specified project using the data\nincluded in the request.", +"flatPath": "projects/{project}/global/httpsHealthChecks", +"httpMethod": "POST", +"id": "compute.httpsHealthChecks.insert", +"parameterOrder": [ +"project" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "projects/{project}/global/httpsHealthChecks", +"request": { +"$ref": "HttpsHealthCheck" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"list": { +"description": "Retrieves the list of HttpsHealthCheck resources available to the specified\nproject.", +"flatPath": "projects/{project}/global/httpsHealthChecks", +"httpMethod": "GET", +"id": "compute.httpsHealthChecks.list", +"parameterOrder": [ +"project" +], +"parameters": { +"filter": { +"description": "A filter expression that filters resources listed in the response. Most\nCompute resources support two types of filter expressions:\nexpressions that support regular expressions and expressions that follow\nAPI improvement proposal AIP-160.\nThese two types of filter expressions cannot be mixed in one request.\n\nIf you want to use AIP-160, your expression must specify the field name, an\noperator, and the value that you want to use for filtering. The value\nmust be a string, a number, or a boolean. The operator\nmust be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.\n\nFor example, if you are filtering Compute Engine instances, you can\nexclude instances named `example-instance` by specifying\n`name != example-instance`.\n\nThe `:*` comparison can be used to test whether a key has been defined.\nFor example, to find all objects with `owner` label use:\n```\nlabels.owner:*\n```\n\nYou can also filter nested fields. For example, you could specify\n`scheduling.automaticRestart = false` to include instances only\nif they are not scheduled for automatic restarts. You can use filtering\non nested fields to filter based onresource labels.\n\nTo filter on multiple expressions, provide each separate expression within\nparentheses. For example:\n```\n(scheduling.automaticRestart = true)\n(cpuPlatform = \"Intel Skylake\")\n```\nBy default, each expression is an `AND` expression. However, you\ncan include `AND` and `OR` expressions explicitly.\nFor example:\n```\n(cpuPlatform = \"Intel Skylake\") OR\n(cpuPlatform = \"Intel Broadwell\") AND\n(scheduling.automaticRestart = true)\n```\n\nIf you want to use a regular expression, use the `eq` (equal) or `ne`\n(not equal) operator against a single un-parenthesized expression with or\nwithout quotes or against multiple parenthesized expressions. Examples:\n\n`fieldname eq unquoted literal`\n`fieldname eq 'single quoted literal'`\n`fieldname eq \"double quoted literal\"`\n`(fieldname1 eq literal) (fieldname2 ne \"literal\")`\n\nThe literal value is interpreted as a regular expression using GoogleRE2 library syntax.\nThe literal value must match the entire field.\n\nFor example, to filter for instances that do not end with name \"instance\",\nyou would use `name ne .*instance`.\n\nYou cannot combine constraints on multiple fields using regular\nexpressions.", +"location": "query", +"type": "string" +}, +"maxResults": { +"default": "500", +"description": "The maximum number of results per page that should be returned.\nIf the number of available results is larger than `maxResults`,\nCompute Engine returns a `nextPageToken` that can be used to get\nthe next page of results in subsequent list requests. Acceptable values are\n`0` to `500`, inclusive. (Default: `500`)", +"format": "uint32", +"location": "query", +"minimum": "0", +"type": "integer" +}, +"orderBy": { +"description": "Sorts list results by a certain order. By default, results\nare returned in alphanumerical order based on the resource name.\n\nYou can also sort results in descending order based on the creation\ntimestamp using `orderBy=\"creationTimestamp desc\"`. This sorts\nresults based on the `creationTimestamp` field in\nreverse chronological order (newest result first). Use this to sort\nresources like operations so that the newest operation is returned first.\n\nCurrently, only sorting by `name` or\n`creationTimestamp desc` is supported.", +"location": "query", +"type": "string" +}, +"pageToken": { +"description": "Specifies a page token to use. Set `pageToken` to the\n`nextPageToken` returned by a previous list request to get\nthe next page of results.", +"location": "query", +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"returnPartialSuccess": { +"description": "Opt-in for partial success behavior which provides partial results in case\nof failure. The default value is false.\n\nFor example, when partial success behavior is enabled, aggregatedList for a\nsingle zone scope either returns all resources in the zone or no resources,\nwith an error code.", +"location": "query", +"type": "boolean" +} +}, +"path": "projects/{project}/global/httpsHealthChecks", +"response": { +"$ref": "HttpsHealthCheckList" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"patch": { +"description": "Updates a HttpsHealthCheck resource in the specified project using the data\nincluded in the request. This method supportsPATCH\nsemantics and uses theJSON merge\npatch format and processing rules.", +"flatPath": "projects/{project}/global/httpsHealthChecks/{httpsHealthCheck}", +"httpMethod": "PATCH", +"id": "compute.httpsHealthChecks.patch", +"parameterOrder": [ +"project", +"httpsHealthCheck" +], +"parameters": { +"httpsHealthCheck": { +"description": "Name of the HttpsHealthCheck resource to patch.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "projects/{project}/global/httpsHealthChecks/{httpsHealthCheck}", +"request": { +"$ref": "HttpsHealthCheck" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"testIamPermissions": { +"description": "Returns permissions that a caller has on the specified resource.", +"flatPath": "projects/{project}/global/httpsHealthChecks/{resource}/testIamPermissions", +"httpMethod": "POST", +"id": "compute.httpsHealthChecks.testIamPermissions", +"parameterOrder": [ +"project", +"resource" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"resource": { +"description": "Name or id of the resource for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9_]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/global/httpsHealthChecks/{resource}/testIamPermissions", +"request": { +"$ref": "TestPermissionsRequest" +}, +"response": { +"$ref": "TestPermissionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"update": { +"description": "Updates a HttpsHealthCheck resource in the specified project using the data\nincluded in the request.", +"flatPath": "projects/{project}/global/httpsHealthChecks/{httpsHealthCheck}", +"httpMethod": "PUT", +"id": "compute.httpsHealthChecks.update", +"parameterOrder": [ +"project", +"httpsHealthCheck" +], +"parameters": { +"httpsHealthCheck": { +"description": "Name of the HttpsHealthCheck resource to update.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "projects/{project}/global/httpsHealthChecks/{httpsHealthCheck}", +"request": { +"$ref": "HttpsHealthCheck" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +} +} +}, +"imageFamilyViews": { +"methods": { +"get": { +"description": "Returns the latest image that is part of an image family, is not\ndeprecated and is rolled out in the specified zone.", +"flatPath": "projects/{project}/zones/{zone}/imageFamilyViews/{family}", +"httpMethod": "GET", +"id": "compute.imageFamilyViews.get", +"parameterOrder": [ +"project", +"zone", +"family" +], +"parameters": { +"family": { +"description": "Name of the image family to search for.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"zone": { +"description": "The name of the zone for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/zones/{zone}/imageFamilyViews/{family}", +"response": { +"$ref": "ImageFamilyView" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +} +} +}, +"images": { +"methods": { +"delete": { +"description": "Deletes the specified image.", +"flatPath": "projects/{project}/global/images/{image}", +"httpMethod": "DELETE", +"id": "compute.images.delete", +"parameterOrder": [ +"project", +"image" +], +"parameters": { +"image": { +"description": "Name of the image resource to delete.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "projects/{project}/global/images/{image}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"deprecate": { +"description": "Sets the deprecation status of an image.\n\nIf an empty request body is given, clears the deprecation status instead.", +"flatPath": "projects/{project}/global/images/{image}/deprecate", +"httpMethod": "POST", +"id": "compute.images.deprecate", +"parameterOrder": [ +"project", +"image" +], +"parameters": { +"image": { +"description": "Image name.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "projects/{project}/global/images/{image}/deprecate", +"request": { +"$ref": "DeprecationStatus" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"get": { +"description": "Returns the specified image.", +"flatPath": "projects/{project}/global/images/{image}", +"httpMethod": "GET", +"id": "compute.images.get", +"parameterOrder": [ +"project", +"image" +], +"parameters": { +"image": { +"description": "Name of the image resource to return.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/global/images/{image}", +"response": { +"$ref": "Image" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"getFromFamily": { +"description": "Returns the latest image that is part of an image family and is not\ndeprecated. For more information on image families, seePublic\nimage families documentation.", +"flatPath": "projects/{project}/global/images/family/{family}", +"httpMethod": "GET", +"id": "compute.images.getFromFamily", +"parameterOrder": [ +"project", +"family" +], +"parameters": { +"family": { +"description": "Name of the image family to search for.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +}, +"project": { +"description": "The image project that the image belongs to. For example, to get a CentOS\nimage, specify centos-cloud as the image project.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/global/images/family/{family}", +"response": { +"$ref": "Image" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"getIamPolicy": { +"description": "Gets the access control policy for a resource. May be empty if no such\npolicy or resource exists.", +"flatPath": "projects/{project}/global/images/{resource}/getIamPolicy", +"httpMethod": "GET", +"id": "compute.images.getIamPolicy", +"parameterOrder": [ +"project", +"resource" +], +"parameters": { +"optionsRequestedPolicyVersion": { +"description": "Requested IAM Policy version.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"resource": { +"description": "Name or id of the resource for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9_]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/global/images/{resource}/getIamPolicy", +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"insert": { +"description": "Creates an image in the specified project using the data included\nin the request.", +"flatPath": "projects/{project}/global/images", +"httpMethod": "POST", +"id": "compute.images.insert", +"parameterOrder": [ +"project" +], +"parameters": { +"forceCreate": { +"description": "Force image creation if true.", +"location": "query", +"type": "boolean" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "projects/{project}/global/images", +"request": { +"$ref": "Image" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"list": { +"description": "Retrieves the list of custom images\navailable to the specified project. Custom images are images you\ncreate that belong to your project. This method does not\nget any images that belong to other projects, including publicly-available\nimages, like Debian 8. If you want to get a list of publicly-available\nimages, use this method to make a request to the respective image project,\nsuch as debian-cloud or windows-cloud.", +"flatPath": "projects/{project}/global/images", +"httpMethod": "GET", +"id": "compute.images.list", +"parameterOrder": [ +"project" +], +"parameters": { +"filter": { +"description": "A filter expression that filters resources listed in the response. Most\nCompute resources support two types of filter expressions:\nexpressions that support regular expressions and expressions that follow\nAPI improvement proposal AIP-160.\nThese two types of filter expressions cannot be mixed in one request.\n\nIf you want to use AIP-160, your expression must specify the field name, an\noperator, and the value that you want to use for filtering. The value\nmust be a string, a number, or a boolean. The operator\nmust be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.\n\nFor example, if you are filtering Compute Engine instances, you can\nexclude instances named `example-instance` by specifying\n`name != example-instance`.\n\nThe `:*` comparison can be used to test whether a key has been defined.\nFor example, to find all objects with `owner` label use:\n```\nlabels.owner:*\n```\n\nYou can also filter nested fields. For example, you could specify\n`scheduling.automaticRestart = false` to include instances only\nif they are not scheduled for automatic restarts. You can use filtering\non nested fields to filter based onresource labels.\n\nTo filter on multiple expressions, provide each separate expression within\nparentheses. For example:\n```\n(scheduling.automaticRestart = true)\n(cpuPlatform = \"Intel Skylake\")\n```\nBy default, each expression is an `AND` expression. However, you\ncan include `AND` and `OR` expressions explicitly.\nFor example:\n```\n(cpuPlatform = \"Intel Skylake\") OR\n(cpuPlatform = \"Intel Broadwell\") AND\n(scheduling.automaticRestart = true)\n```\n\nIf you want to use a regular expression, use the `eq` (equal) or `ne`\n(not equal) operator against a single un-parenthesized expression with or\nwithout quotes or against multiple parenthesized expressions. Examples:\n\n`fieldname eq unquoted literal`\n`fieldname eq 'single quoted literal'`\n`fieldname eq \"double quoted literal\"`\n`(fieldname1 eq literal) (fieldname2 ne \"literal\")`\n\nThe literal value is interpreted as a regular expression using GoogleRE2 library syntax.\nThe literal value must match the entire field.\n\nFor example, to filter for instances that do not end with name \"instance\",\nyou would use `name ne .*instance`.\n\nYou cannot combine constraints on multiple fields using regular\nexpressions.", +"location": "query", +"type": "string" +}, +"maxResults": { +"default": "500", +"description": "The maximum number of results per page that should be returned.\nIf the number of available results is larger than `maxResults`,\nCompute Engine returns a `nextPageToken` that can be used to get\nthe next page of results in subsequent list requests. Acceptable values are\n`0` to `500`, inclusive. (Default: `500`)", +"format": "uint32", +"location": "query", +"minimum": "0", +"type": "integer" +}, +"orderBy": { +"description": "Sorts list results by a certain order. By default, results\nare returned in alphanumerical order based on the resource name.\n\nYou can also sort results in descending order based on the creation\ntimestamp using `orderBy=\"creationTimestamp desc\"`. This sorts\nresults based on the `creationTimestamp` field in\nreverse chronological order (newest result first). Use this to sort\nresources like operations so that the newest operation is returned first.\n\nCurrently, only sorting by `name` or\n`creationTimestamp desc` is supported.", +"location": "query", +"type": "string" +}, +"pageToken": { +"description": "Specifies a page token to use. Set `pageToken` to the\n`nextPageToken` returned by a previous list request to get\nthe next page of results.", +"location": "query", +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"returnPartialSuccess": { +"description": "Opt-in for partial success behavior which provides partial results in case\nof failure. The default value is false.\n\nFor example, when partial success behavior is enabled, aggregatedList for a\nsingle zone scope either returns all resources in the zone or no resources,\nwith an error code.", +"location": "query", +"type": "boolean" +}, +"zone": { +"description": "The zone query parameter.", +"location": "query", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"type": "string" +} +}, +"path": "projects/{project}/global/images", +"response": { +"$ref": "ImageList" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"patch": { +"description": "Patches the specified image with the data included in the request.\nOnly the following fields can be modified: family, description,\ndeprecation status.", +"flatPath": "projects/{project}/global/images/{image}", +"httpMethod": "PATCH", +"id": "compute.images.patch", +"parameterOrder": [ +"project", +"image" +], +"parameters": { +"image": { +"description": "Name of the image resource to patch.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "projects/{project}/global/images/{image}", +"request": { +"$ref": "Image" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"setIamPolicy": { +"description": "Sets the access control policy on the specified resource.\nReplaces any existing policy.", +"flatPath": "projects/{project}/global/images/{resource}/setIamPolicy", +"httpMethod": "POST", +"id": "compute.images.setIamPolicy", +"parameterOrder": [ +"project", +"resource" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"resource": { +"description": "Name or id of the resource for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9_]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/global/images/{resource}/setIamPolicy", +"request": { +"$ref": "GlobalSetPolicyRequest" +}, +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"setLabels": { +"description": "Sets the labels on an image. To learn more about labels, read theLabeling\nResources documentation.", +"flatPath": "projects/{project}/global/images/{resource}/setLabels", +"httpMethod": "POST", +"id": "compute.images.setLabels", +"parameterOrder": [ +"project", +"resource" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"resource": { +"description": "Name or id of the resource for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9_]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/global/images/{resource}/setLabels", +"request": { +"$ref": "GlobalSetLabelsRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"testIamPermissions": { +"description": "Returns permissions that a caller has on the specified resource.", +"flatPath": "projects/{project}/global/images/{resource}/testIamPermissions", +"httpMethod": "POST", +"id": "compute.images.testIamPermissions", +"parameterOrder": [ +"project", +"resource" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"resource": { +"description": "Name or id of the resource for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9_]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/global/images/{resource}/testIamPermissions", +"request": { +"$ref": "TestPermissionsRequest" +}, +"response": { +"$ref": "TestPermissionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +} +} +}, +"instanceGroupManagerResizeRequests": { +"methods": { +"cancel": { +"description": "Cancels the specified resize request and removes it from the queue.\nCancelled resize request does no longer wait for the resources to be\nprovisioned. Cancel is only possible for requests that are accepted in the\nqueue.", +"flatPath": "projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/resizeRequests/{resizeRequest}/cancel", +"httpMethod": "POST", +"id": "compute.instanceGroupManagerResizeRequests.cancel", +"parameterOrder": [ +"project", +"zone", +"instanceGroupManager", +"resizeRequest" +], +"parameters": { +"instanceGroupManager": { +"description": "The name of the managed instance group.\nThe name should conform to RFC1035 or be a resource ID.", +"location": "path", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"resizeRequest": { +"description": "The name of the resize request to cancel.\nThe name should conform to RFC1035 or be a resource ID.", +"location": "path", +"required": true, +"type": "string" +}, +"zone": { +"description": "The name of thezone where the managed\ninstance group is located. The name should conform to RFC1035.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/resizeRequests/{resizeRequest}/cancel", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"delete": { +"description": "Deletes the specified, inactive resize request. Requests that are still\nactive cannot be deleted. Deleting request does not delete instances that\nwere provisioned previously.", +"flatPath": "projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/resizeRequests/{resizeRequest}", +"httpMethod": "DELETE", +"id": "compute.instanceGroupManagerResizeRequests.delete", +"parameterOrder": [ +"project", +"zone", +"instanceGroupManager", +"resizeRequest" +], +"parameters": { +"instanceGroupManager": { +"description": "The name of the managed instance group.\nThe name should conform to RFC1035 or be a resource ID.", +"location": "path", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"resizeRequest": { +"description": "The name of the resize request to delete.\nThe name should conform to RFC1035 or be a resource ID.", +"location": "path", +"required": true, +"type": "string" +}, +"zone": { +"description": "The name of thezone where the managed\ninstance group is located. The name should conform to RFC1035.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/resizeRequests/{resizeRequest}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"get": { +"description": "Returns all of the details about the specified resize request.", +"flatPath": "projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/resizeRequests/{resizeRequest}", +"httpMethod": "GET", +"id": "compute.instanceGroupManagerResizeRequests.get", +"parameterOrder": [ +"project", +"zone", +"instanceGroupManager", +"resizeRequest" +], +"parameters": { +"instanceGroupManager": { +"description": "The name of the managed instance group.\nName should conform to RFC1035 or be a resource ID.", +"location": "path", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"resizeRequest": { +"description": "The name of the resize request.\nName should conform to RFC1035 or be a resource ID.", +"location": "path", +"required": true, +"type": "string" +}, +"zone": { +"description": "Name of the href=\"/compute/docs/regions-zones/#available\">zone\nscoping this request. Name should conform to RFC1035.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/resizeRequests/{resizeRequest}", +"response": { +"$ref": "InstanceGroupManagerResizeRequest" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"insert": { +"description": "Creates a new resize request that starts provisioning VMs immediately\nor queues VM creation.", +"flatPath": "projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/resizeRequests", +"httpMethod": "POST", +"id": "compute.instanceGroupManagerResizeRequests.insert", +"parameterOrder": [ +"project", +"zone", +"instanceGroupManager" +], +"parameters": { +"instanceGroupManager": { +"description": "The name of the managed instance group to which the resize request will\nbe added.\nName should conform to RFC1035 or be a resource ID.", +"location": "path", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"zone": { +"description": "The name of thezone where the managed\ninstance group is located and where the resize request will be created.\nName should conform to RFC1035.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/resizeRequests", +"request": { +"$ref": "InstanceGroupManagerResizeRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"list": { +"description": "Retrieves a list of resize requests that are contained in the\nmanaged instance group.", +"flatPath": "projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/resizeRequests", +"httpMethod": "GET", +"id": "compute.instanceGroupManagerResizeRequests.list", +"parameterOrder": [ +"project", +"zone", +"instanceGroupManager" +], +"parameters": { +"filter": { +"description": "A filter expression that filters resources listed in the response. Most\nCompute resources support two types of filter expressions:\nexpressions that support regular expressions and expressions that follow\nAPI improvement proposal AIP-160.\nThese two types of filter expressions cannot be mixed in one request.\n\nIf you want to use AIP-160, your expression must specify the field name, an\noperator, and the value that you want to use for filtering. The value\nmust be a string, a number, or a boolean. The operator\nmust be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.\n\nFor example, if you are filtering Compute Engine instances, you can\nexclude instances named `example-instance` by specifying\n`name != example-instance`.\n\nThe `:*` comparison can be used to test whether a key has been defined.\nFor example, to find all objects with `owner` label use:\n```\nlabels.owner:*\n```\n\nYou can also filter nested fields. For example, you could specify\n`scheduling.automaticRestart = false` to include instances only\nif they are not scheduled for automatic restarts. You can use filtering\non nested fields to filter based onresource labels.\n\nTo filter on multiple expressions, provide each separate expression within\nparentheses. For example:\n```\n(scheduling.automaticRestart = true)\n(cpuPlatform = \"Intel Skylake\")\n```\nBy default, each expression is an `AND` expression. However, you\ncan include `AND` and `OR` expressions explicitly.\nFor example:\n```\n(cpuPlatform = \"Intel Skylake\") OR\n(cpuPlatform = \"Intel Broadwell\") AND\n(scheduling.automaticRestart = true)\n```\n\nIf you want to use a regular expression, use the `eq` (equal) or `ne`\n(not equal) operator against a single un-parenthesized expression with or\nwithout quotes or against multiple parenthesized expressions. Examples:\n\n`fieldname eq unquoted literal`\n`fieldname eq 'single quoted literal'`\n`fieldname eq \"double quoted literal\"`\n`(fieldname1 eq literal) (fieldname2 ne \"literal\")`\n\nThe literal value is interpreted as a regular expression using GoogleRE2 library syntax.\nThe literal value must match the entire field.\n\nFor example, to filter for instances that do not end with name \"instance\",\nyou would use `name ne .*instance`.\n\nYou cannot combine constraints on multiple fields using regular\nexpressions.", +"location": "query", +"type": "string" +}, +"instanceGroupManager": { +"description": "The name of the managed instance group. The name should conform to RFC1035.", +"location": "path", +"required": true, +"type": "string" +}, +"maxResults": { +"default": "500", +"description": "The maximum number of results per page that should be returned.\nIf the number of available results is larger than `maxResults`,\nCompute Engine returns a `nextPageToken` that can be used to get\nthe next page of results in subsequent list requests. Acceptable values are\n`0` to `500`, inclusive. (Default: `500`)", +"format": "uint32", +"location": "query", +"minimum": "0", +"type": "integer" +}, +"orderBy": { +"description": "Sorts list results by a certain order. By default, results\nare returned in alphanumerical order based on the resource name.\n\nYou can also sort results in descending order based on the creation\ntimestamp using `orderBy=\"creationTimestamp desc\"`. This sorts\nresults based on the `creationTimestamp` field in\nreverse chronological order (newest result first). Use this to sort\nresources like operations so that the newest operation is returned first.\n\nCurrently, only sorting by `name` or\n`creationTimestamp desc` is supported.", +"location": "query", +"type": "string" +}, +"pageToken": { +"description": "Specifies a page token to use. Set `pageToken` to the\n`nextPageToken` returned by a previous list request to get\nthe next page of results.", +"location": "query", +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"returnPartialSuccess": { +"description": "Opt-in for partial success behavior which provides partial results in case\nof failure. The default value is false.\n\nFor example, when partial success behavior is enabled, aggregatedList for a\nsingle zone scope either returns all resources in the zone or no resources,\nwith an error code.", +"location": "query", +"type": "boolean" +}, +"zone": { +"description": "The name of thezone where the managed\ninstance group is located. The name should conform to RFC1035.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/resizeRequests", +"response": { +"$ref": "InstanceGroupManagerResizeRequestsListResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +} +} +}, +"instanceGroupManagers": { +"methods": { +"abandonInstances": { +"description": "Flags the specified instances to be removed from the\nmanaged instance group. Abandoning an instance does not delete the\ninstance, but it does remove the instance from any target pools that are\napplied by the managed instance group. This method reduces thetargetSize of the managed instance group by the\nnumber of instances that you abandon. This operation is marked asDONE when the action is scheduled even if the instances have\nnot yet been removed from the group. You must separately verify the\nstatus of the abandoning action with thelistmanagedinstances\nmethod.\n\nIf the group is part of a backend\nservice that has enabled\nconnection draining, it can take up to 60 seconds after the connection\ndraining duration has elapsed before the VM instance is removed or deleted.\n\nYou can specify a maximum of 1000 instances with this method per request.", +"flatPath": "projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/abandonInstances", +"httpMethod": "POST", +"id": "compute.instanceGroupManagers.abandonInstances", +"parameterOrder": [ +"project", +"zone", +"instanceGroupManager" +], +"parameters": { +"instanceGroupManager": { +"description": "The name of the managed instance group.", +"location": "path", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"zone": { +"description": "The name of thezone where the managed\ninstance group is located.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/abandonInstances", +"request": { +"$ref": "InstanceGroupManagersAbandonInstancesRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"aggregatedList": { +"description": "Retrieves the list of managed instance groups and groups them by zone.\n\nTo prevent failure, Google recommends that you set the\n`returnPartialSuccess` parameter to `true`.", +"flatPath": "projects/{project}/aggregated/instanceGroupManagers", +"httpMethod": "GET", +"id": "compute.instanceGroupManagers.aggregatedList", +"parameterOrder": [ +"project" +], +"parameters": { +"filter": { +"description": "A filter expression that filters resources listed in the response. Most\nCompute resources support two types of filter expressions:\nexpressions that support regular expressions and expressions that follow\nAPI improvement proposal AIP-160.\nThese two types of filter expressions cannot be mixed in one request.\n\nIf you want to use AIP-160, your expression must specify the field name, an\noperator, and the value that you want to use for filtering. The value\nmust be a string, a number, or a boolean. The operator\nmust be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.\n\nFor example, if you are filtering Compute Engine instances, you can\nexclude instances named `example-instance` by specifying\n`name != example-instance`.\n\nThe `:*` comparison can be used to test whether a key has been defined.\nFor example, to find all objects with `owner` label use:\n```\nlabels.owner:*\n```\n\nYou can also filter nested fields. For example, you could specify\n`scheduling.automaticRestart = false` to include instances only\nif they are not scheduled for automatic restarts. You can use filtering\non nested fields to filter based onresource labels.\n\nTo filter on multiple expressions, provide each separate expression within\nparentheses. For example:\n```\n(scheduling.automaticRestart = true)\n(cpuPlatform = \"Intel Skylake\")\n```\nBy default, each expression is an `AND` expression. However, you\ncan include `AND` and `OR` expressions explicitly.\nFor example:\n```\n(cpuPlatform = \"Intel Skylake\") OR\n(cpuPlatform = \"Intel Broadwell\") AND\n(scheduling.automaticRestart = true)\n```\n\nIf you want to use a regular expression, use the `eq` (equal) or `ne`\n(not equal) operator against a single un-parenthesized expression with or\nwithout quotes or against multiple parenthesized expressions. Examples:\n\n`fieldname eq unquoted literal`\n`fieldname eq 'single quoted literal'`\n`fieldname eq \"double quoted literal\"`\n`(fieldname1 eq literal) (fieldname2 ne \"literal\")`\n\nThe literal value is interpreted as a regular expression using GoogleRE2 library syntax.\nThe literal value must match the entire field.\n\nFor example, to filter for instances that do not end with name \"instance\",\nyou would use `name ne .*instance`.\n\nYou cannot combine constraints on multiple fields using regular\nexpressions.", +"location": "query", +"type": "string" +}, +"includeAllScopes": { +"description": "Indicates whether every visible scope for each scope type (zone, region,\nglobal) should be included in the response. For new resource types added\nafter this field, the flag has no effect as new resource types will always\ninclude every visible scope for each scope type in response. For resource\ntypes which predate this field, if this flag is omitted or false, only\nscopes of the scope types where the resource type is expected to be found\nwill be included.", +"location": "query", +"type": "boolean" +}, +"maxResults": { +"default": "500", +"description": "The maximum number of results per page that should be returned.\nIf the number of available results is larger than `maxResults`,\nCompute Engine returns a `nextPageToken` that can be used to get\nthe next page of results in subsequent list requests. Acceptable values are\n`0` to `500`, inclusive. (Default: `500`)", +"format": "uint32", +"location": "query", +"minimum": "0", +"type": "integer" +}, +"orderBy": { +"description": "Sorts list results by a certain order. By default, results\nare returned in alphanumerical order based on the resource name.\n\nYou can also sort results in descending order based on the creation\ntimestamp using `orderBy=\"creationTimestamp desc\"`. This sorts\nresults based on the `creationTimestamp` field in\nreverse chronological order (newest result first). Use this to sort\nresources like operations so that the newest operation is returned first.\n\nCurrently, only sorting by `name` or\n`creationTimestamp desc` is supported.", +"location": "query", +"type": "string" +}, +"pageToken": { +"description": "Specifies a page token to use. Set `pageToken` to the\n`nextPageToken` returned by a previous list request to get\nthe next page of results.", +"location": "query", +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"returnPartialSuccess": { +"description": "Opt-in for partial success behavior which provides partial results in case\nof failure. The default value is false.\n\nFor example, when partial success behavior is enabled, aggregatedList for a\nsingle zone scope either returns all resources in the zone or no resources,\nwith an error code.", +"location": "query", +"type": "boolean" +}, +"serviceProjectNumber": { +"description": "The Shared VPC service project id or service project number for which\naggregated list request is invoked for subnetworks list-usable api.", +"format": "int64", +"location": "query", +"type": "string" +} +}, +"path": "projects/{project}/aggregated/instanceGroupManagers", +"response": { +"$ref": "InstanceGroupManagerAggregatedList" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"applyUpdatesToInstances": { +"description": "Applies changes to selected instances on the managed instance group.\nThis method can be used to apply new overrides and/or new versions.", +"flatPath": "projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/applyUpdatesToInstances", +"httpMethod": "POST", +"id": "compute.instanceGroupManagers.applyUpdatesToInstances", +"parameterOrder": [ +"project", +"zone", +"instanceGroupManager" +], +"parameters": { +"instanceGroupManager": { +"description": "The name of the managed instance group, should conform to RFC1035.", +"location": "path", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"zone": { +"description": "The name of thezone\nwhere the managed instance group is located. Should conform to RFC1035.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/applyUpdatesToInstances", +"request": { +"$ref": "InstanceGroupManagersApplyUpdatesRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"configureAcceleratorTopologies": { +"description": "Updates the accelerator topologies configuration.", +"flatPath": "projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/configureAcceleratorTopologies", +"httpMethod": "POST", +"id": "compute.instanceGroupManagers.configureAcceleratorTopologies", +"parameterOrder": [ +"project", +"zone", +"instanceGroupManager" +], +"parameters": { +"instanceGroupManager": { +"description": "The name of the managed instance group.\nIt should conform to RFC1035.", +"location": "path", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"zone": { +"description": "The name of thezone\nwhere the managed instance group is located.\nIt should conform to RFC1035.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/configureAcceleratorTopologies", +"request": { +"$ref": "InstanceGroupManagersConfigureAcceleratorTopologiesRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"createInstances": { +"description": "Creates instances with per-instance configurations in this managed instance\ngroup. Instances are created using the current instance template. Thecreate instances operation is marked DONE if thecreateInstances request is successful. The underlying actions\ntake additional time. You must separately verify the status of thecreating or actions with the listmanagedinstances\nmethod.", +"flatPath": "projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/createInstances", +"httpMethod": "POST", +"id": "compute.instanceGroupManagers.createInstances", +"parameterOrder": [ +"project", +"zone", +"instanceGroupManager" +], +"parameters": { +"instanceGroupManager": { +"description": "The name of the managed instance group.\nIt should conform to RFC1035.", +"location": "path", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"zone": { +"description": "The name of thezone\nwhere the managed instance group is located.\nIt should conform to RFC1035.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/createInstances", +"request": { +"$ref": "InstanceGroupManagersCreateInstancesRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"delete": { +"description": "Deletes the specified managed instance group and all of the instances\nin that group. Note that the instance group must not belong to a\nbackend service. Read\nDeleting an instance group for more information.", +"flatPath": "projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}", +"httpMethod": "DELETE", +"id": "compute.instanceGroupManagers.delete", +"parameterOrder": [ +"project", +"zone", +"instanceGroupManager" +], +"parameters": { +"instanceGroupManager": { +"description": "The name of the managed instance group to delete.", +"location": "path", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"zone": { +"description": "The name of thezone where the managed\ninstance group is located.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"deleteInstances": { +"description": "Flags the specified instances in the managed instance group for immediate\ndeletion. The instances are also removed from any target\npools of which they were a member. This method reduces thetargetSize of the managed instance group by the number of\ninstances that you delete. This operation is marked as DONE\nwhen the action is scheduled even if the instances are still being deleted.\nYou must separately verify the status of the deleting action\nwith thelistmanagedinstances\nmethod.\n\nIf the group is part of a backend\nservice that has enabled\nconnection draining, it can take up to 60 seconds after the connection\ndraining duration has elapsed before the VM instance is removed or deleted.\n\nYou can specify a maximum of 1000 instances with this method per request.", +"flatPath": "projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/deleteInstances", +"httpMethod": "POST", +"id": "compute.instanceGroupManagers.deleteInstances", +"parameterOrder": [ +"project", +"zone", +"instanceGroupManager" +], +"parameters": { +"instanceGroupManager": { +"description": "The name of the managed instance group.", +"location": "path", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"zone": { +"description": "The name of thezone where the managed\ninstance group is located.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/deleteInstances", +"request": { +"$ref": "InstanceGroupManagersDeleteInstancesRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"deletePerInstanceConfigs": { +"description": "Deletes selected per-instance configurations for the managed instance\ngroup.", +"flatPath": "projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/deletePerInstanceConfigs", +"httpMethod": "POST", +"id": "compute.instanceGroupManagers.deletePerInstanceConfigs", +"parameterOrder": [ +"project", +"zone", +"instanceGroupManager" +], +"parameters": { +"instanceGroupManager": { +"description": "The name of the managed instance group.\nIt should conform to RFC1035.", +"location": "path", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"zone": { +"description": "The name of thezone\nwhere the managed instance\ngroup is located.\nIt should conform to RFC1035.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/deletePerInstanceConfigs", +"request": { +"$ref": "InstanceGroupManagersDeletePerInstanceConfigsReq" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"get": { +"description": "Returns all of the details about the specified managed instance group.", +"flatPath": "projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}", +"httpMethod": "GET", +"id": "compute.instanceGroupManagers.get", +"parameterOrder": [ +"project", +"zone", +"instanceGroupManager" +], +"parameters": { +"instanceGroupManager": { +"description": "The name of the managed instance group.", +"location": "path", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"zone": { +"description": "The name of thezone where the managed\ninstance group is located.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}", +"response": { +"$ref": "InstanceGroupManager" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"getAvailableAcceleratorTopologies": { +"description": "Returns information about available accelerator topologies for a given MIG.", +"flatPath": "projects/{project}/zones/{zone}/instanceGroupManagers/{resourceId}/getAvailableAcceleratorTopologies", +"httpMethod": "GET", +"id": "compute.instanceGroupManagers.getAvailableAcceleratorTopologies", +"parameterOrder": [ +"project", +"zone", +"resourceId" +], +"parameters": { +"project": { +"description": "Required. Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"resourceId": { +"description": "Required. The name of the managed instance group.\nIt should conform to RFC1035.", +"location": "path", +"required": true, +"type": "string" +}, +"zone": { +"description": "Required. The name of thezone where the managed\ninstance group is located.\nName should conform to RFC1035.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/zones/{zone}/instanceGroupManagers/{resourceId}/getAvailableAcceleratorTopologies", +"response": { +"$ref": "InstanceGroupManagersGetAvailableAcceleratorTopologiesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"insert": { +"description": "Creates a managed instance group using the information that you specify\nin the request. After the group is created, instances in the group are\ncreated using the specified instance template.\nThis operation is marked as DONE when the group is created\neven if the instances in the group have not yet been created. You\nmust separately verify the status of the individual instances with thelistmanagedinstances\nmethod.\n\nA managed instance group can have up to 1000 VM instances per group. Please\ncontact Cloud Support if you need an increase in\nthis limit.", +"flatPath": "projects/{project}/zones/{zone}/instanceGroupManagers", +"httpMethod": "POST", +"id": "compute.instanceGroupManagers.insert", +"parameterOrder": [ +"project", +"zone" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"zone": { +"description": "The name of the zone\nwhere you want to create the managed instance group.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/zones/{zone}/instanceGroupManagers", +"request": { +"$ref": "InstanceGroupManager" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"list": { +"description": "Retrieves a list of managed instance groups that are contained within the\nspecified project and zone.", +"flatPath": "projects/{project}/zones/{zone}/instanceGroupManagers", +"httpMethod": "GET", +"id": "compute.instanceGroupManagers.list", +"parameterOrder": [ +"project", +"zone" +], +"parameters": { +"filter": { +"description": "A filter expression that filters resources listed in the response. Most\nCompute resources support two types of filter expressions:\nexpressions that support regular expressions and expressions that follow\nAPI improvement proposal AIP-160.\nThese two types of filter expressions cannot be mixed in one request.\n\nIf you want to use AIP-160, your expression must specify the field name, an\noperator, and the value that you want to use for filtering. The value\nmust be a string, a number, or a boolean. The operator\nmust be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.\n\nFor example, if you are filtering Compute Engine instances, you can\nexclude instances named `example-instance` by specifying\n`name != example-instance`.\n\nThe `:*` comparison can be used to test whether a key has been defined.\nFor example, to find all objects with `owner` label use:\n```\nlabels.owner:*\n```\n\nYou can also filter nested fields. For example, you could specify\n`scheduling.automaticRestart = false` to include instances only\nif they are not scheduled for automatic restarts. You can use filtering\non nested fields to filter based onresource labels.\n\nTo filter on multiple expressions, provide each separate expression within\nparentheses. For example:\n```\n(scheduling.automaticRestart = true)\n(cpuPlatform = \"Intel Skylake\")\n```\nBy default, each expression is an `AND` expression. However, you\ncan include `AND` and `OR` expressions explicitly.\nFor example:\n```\n(cpuPlatform = \"Intel Skylake\") OR\n(cpuPlatform = \"Intel Broadwell\") AND\n(scheduling.automaticRestart = true)\n```\n\nIf you want to use a regular expression, use the `eq` (equal) or `ne`\n(not equal) operator against a single un-parenthesized expression with or\nwithout quotes or against multiple parenthesized expressions. Examples:\n\n`fieldname eq unquoted literal`\n`fieldname eq 'single quoted literal'`\n`fieldname eq \"double quoted literal\"`\n`(fieldname1 eq literal) (fieldname2 ne \"literal\")`\n\nThe literal value is interpreted as a regular expression using GoogleRE2 library syntax.\nThe literal value must match the entire field.\n\nFor example, to filter for instances that do not end with name \"instance\",\nyou would use `name ne .*instance`.\n\nYou cannot combine constraints on multiple fields using regular\nexpressions.", +"location": "query", +"type": "string" +}, +"maxResults": { +"default": "500", +"description": "The maximum number of results per page that should be returned.\nIf the number of available results is larger than `maxResults`,\nCompute Engine returns a `nextPageToken` that can be used to get\nthe next page of results in subsequent list requests. Acceptable values are\n`0` to `500`, inclusive. (Default: `500`)", +"format": "uint32", +"location": "query", +"minimum": "0", +"type": "integer" +}, +"orderBy": { +"description": "Sorts list results by a certain order. By default, results\nare returned in alphanumerical order based on the resource name.\n\nYou can also sort results in descending order based on the creation\ntimestamp using `orderBy=\"creationTimestamp desc\"`. This sorts\nresults based on the `creationTimestamp` field in\nreverse chronological order (newest result first). Use this to sort\nresources like operations so that the newest operation is returned first.\n\nCurrently, only sorting by `name` or\n`creationTimestamp desc` is supported.", +"location": "query", +"type": "string" +}, +"pageToken": { +"description": "Specifies a page token to use. Set `pageToken` to the\n`nextPageToken` returned by a previous list request to get\nthe next page of results.", +"location": "query", +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"returnPartialSuccess": { +"description": "Opt-in for partial success behavior which provides partial results in case\nof failure. The default value is false.\n\nFor example, when partial success behavior is enabled, aggregatedList for a\nsingle zone scope either returns all resources in the zone or no resources,\nwith an error code.", +"location": "query", +"type": "boolean" +}, +"zone": { +"description": "The name of thezone where the managed\ninstance group is located.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/zones/{zone}/instanceGroupManagers", +"response": { +"$ref": "InstanceGroupManagerList" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"listErrors": { +"description": "Lists all errors thrown by actions on instances for a given managed\ninstance group. The filter and orderBy query\nparameters are not supported.", +"flatPath": "projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/listErrors", +"httpMethod": "GET", +"id": "compute.instanceGroupManagers.listErrors", +"parameterOrder": [ +"project", +"zone", +"instanceGroupManager" +], +"parameters": { +"filter": { +"description": "A filter expression that filters resources listed in the response. Most\nCompute resources support two types of filter expressions:\nexpressions that support regular expressions and expressions that follow\nAPI improvement proposal AIP-160.\nThese two types of filter expressions cannot be mixed in one request.\n\nIf you want to use AIP-160, your expression must specify the field name, an\noperator, and the value that you want to use for filtering. The value\nmust be a string, a number, or a boolean. The operator\nmust be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.\n\nFor example, if you are filtering Compute Engine instances, you can\nexclude instances named `example-instance` by specifying\n`name != example-instance`.\n\nThe `:*` comparison can be used to test whether a key has been defined.\nFor example, to find all objects with `owner` label use:\n```\nlabels.owner:*\n```\n\nYou can also filter nested fields. For example, you could specify\n`scheduling.automaticRestart = false` to include instances only\nif they are not scheduled for automatic restarts. You can use filtering\non nested fields to filter based onresource labels.\n\nTo filter on multiple expressions, provide each separate expression within\nparentheses. For example:\n```\n(scheduling.automaticRestart = true)\n(cpuPlatform = \"Intel Skylake\")\n```\nBy default, each expression is an `AND` expression. However, you\ncan include `AND` and `OR` expressions explicitly.\nFor example:\n```\n(cpuPlatform = \"Intel Skylake\") OR\n(cpuPlatform = \"Intel Broadwell\") AND\n(scheduling.automaticRestart = true)\n```\n\nIf you want to use a regular expression, use the `eq` (equal) or `ne`\n(not equal) operator against a single un-parenthesized expression with or\nwithout quotes or against multiple parenthesized expressions. Examples:\n\n`fieldname eq unquoted literal`\n`fieldname eq 'single quoted literal'`\n`fieldname eq \"double quoted literal\"`\n`(fieldname1 eq literal) (fieldname2 ne \"literal\")`\n\nThe literal value is interpreted as a regular expression using GoogleRE2 library syntax.\nThe literal value must match the entire field.\n\nFor example, to filter for instances that do not end with name \"instance\",\nyou would use `name ne .*instance`.\n\nYou cannot combine constraints on multiple fields using regular\nexpressions.", +"location": "query", +"type": "string" +}, +"instanceGroupManager": { +"description": "The name of the managed instance group.\nIt must be a string that meets the requirements in RFC1035, or an\nunsigned long integer: must match regexp pattern:\n(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?)|1-9{0,19}.", +"location": "path", +"required": true, +"type": "string" +}, +"maxResults": { +"default": "500", +"description": "The maximum number of results per page that should be returned.\nIf the number of available results is larger than `maxResults`,\nCompute Engine returns a `nextPageToken` that can be used to get\nthe next page of results in subsequent list requests. Acceptable values are\n`0` to `500`, inclusive. (Default: `500`)", +"format": "uint32", +"location": "query", +"minimum": "0", +"type": "integer" +}, +"orderBy": { +"description": "Sorts list results by a certain order. By default, results\nare returned in alphanumerical order based on the resource name.\n\nYou can also sort results in descending order based on the creation\ntimestamp using `orderBy=\"creationTimestamp desc\"`. This sorts\nresults based on the `creationTimestamp` field in\nreverse chronological order (newest result first). Use this to sort\nresources like operations so that the newest operation is returned first.\n\nCurrently, only sorting by `name` or\n`creationTimestamp desc` is supported.", +"location": "query", +"type": "string" +}, +"pageToken": { +"description": "Specifies a page token to use. Set `pageToken` to the\n`nextPageToken` returned by a previous list request to get\nthe next page of results.", +"location": "query", +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"returnPartialSuccess": { +"description": "Opt-in for partial success behavior which provides partial results in case\nof failure. The default value is false.\n\nFor example, when partial success behavior is enabled, aggregatedList for a\nsingle zone scope either returns all resources in the zone or no resources,\nwith an error code.", +"location": "query", +"type": "boolean" +}, +"zone": { +"description": "The name of thezone where the managed\ninstance group is located.\nIt should conform to RFC1035.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/listErrors", +"response": { +"$ref": "InstanceGroupManagersListErrorsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"listManagedInstances": { +"description": "Lists all of the instances in the managed instance group. Each instance\nin the list has a currentAction, which indicates the action\nthat the managed instance group is performing on the instance. For example,\nif the group is still creating an instance, the currentAction\nis CREATING. If a previous action failed, the\nlist displays the errors for that failed action. The orderBy\nquery parameter is not supported. The `pageToken` query parameter is\nsupported only if the group's `listManagedInstancesResults` field is set\nto `PAGINATED`.", +"flatPath": "projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/listManagedInstances", +"httpMethod": "POST", +"id": "compute.instanceGroupManagers.listManagedInstances", +"parameterOrder": [ +"project", +"zone", +"instanceGroupManager" +], +"parameters": { +"filter": { +"description": "A filter expression that filters resources listed in the response. Most\nCompute resources support two types of filter expressions:\nexpressions that support regular expressions and expressions that follow\nAPI improvement proposal AIP-160.\nThese two types of filter expressions cannot be mixed in one request.\n\nIf you want to use AIP-160, your expression must specify the field name, an\noperator, and the value that you want to use for filtering. The value\nmust be a string, a number, or a boolean. The operator\nmust be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.\n\nFor example, if you are filtering Compute Engine instances, you can\nexclude instances named `example-instance` by specifying\n`name != example-instance`.\n\nThe `:*` comparison can be used to test whether a key has been defined.\nFor example, to find all objects with `owner` label use:\n```\nlabels.owner:*\n```\n\nYou can also filter nested fields. For example, you could specify\n`scheduling.automaticRestart = false` to include instances only\nif they are not scheduled for automatic restarts. You can use filtering\non nested fields to filter based onresource labels.\n\nTo filter on multiple expressions, provide each separate expression within\nparentheses. For example:\n```\n(scheduling.automaticRestart = true)\n(cpuPlatform = \"Intel Skylake\")\n```\nBy default, each expression is an `AND` expression. However, you\ncan include `AND` and `OR` expressions explicitly.\nFor example:\n```\n(cpuPlatform = \"Intel Skylake\") OR\n(cpuPlatform = \"Intel Broadwell\") AND\n(scheduling.automaticRestart = true)\n```\n\nIf you want to use a regular expression, use the `eq` (equal) or `ne`\n(not equal) operator against a single un-parenthesized expression with or\nwithout quotes or against multiple parenthesized expressions. Examples:\n\n`fieldname eq unquoted literal`\n`fieldname eq 'single quoted literal'`\n`fieldname eq \"double quoted literal\"`\n`(fieldname1 eq literal) (fieldname2 ne \"literal\")`\n\nThe literal value is interpreted as a regular expression using GoogleRE2 library syntax.\nThe literal value must match the entire field.\n\nFor example, to filter for instances that do not end with name \"instance\",\nyou would use `name ne .*instance`.\n\nYou cannot combine constraints on multiple fields using regular\nexpressions.", +"location": "query", +"type": "string" +}, +"instanceGroupManager": { +"description": "The name of the managed instance group.", +"location": "path", +"required": true, +"type": "string" +}, +"maxResults": { +"default": "500", +"description": "The maximum number of results per page that should be returned.\nIf the number of available results is larger than `maxResults`,\nCompute Engine returns a `nextPageToken` that can be used to get\nthe next page of results in subsequent list requests. Acceptable values are\n`0` to `500`, inclusive. (Default: `500`)", +"format": "uint32", +"location": "query", +"minimum": "0", +"type": "integer" +}, +"orderBy": { +"description": "Sorts list results by a certain order. By default, results\nare returned in alphanumerical order based on the resource name.\n\nYou can also sort results in descending order based on the creation\ntimestamp using `orderBy=\"creationTimestamp desc\"`. This sorts\nresults based on the `creationTimestamp` field in\nreverse chronological order (newest result first). Use this to sort\nresources like operations so that the newest operation is returned first.\n\nCurrently, only sorting by `name` or\n`creationTimestamp desc` is supported.", +"location": "query", +"type": "string" +}, +"pageToken": { +"description": "Specifies a page token to use. Set `pageToken` to the\n`nextPageToken` returned by a previous list request to get\nthe next page of results.", +"location": "query", +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"returnPartialSuccess": { +"description": "Opt-in for partial success behavior which provides partial results in case\nof failure. The default value is false.\n\nFor example, when partial success behavior is enabled, aggregatedList for a\nsingle zone scope either returns all resources in the zone or no resources,\nwith an error code.", +"location": "query", +"type": "boolean" +}, +"zone": { +"description": "The name of thezone where the managed\ninstance group is located.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/listManagedInstances", +"response": { +"$ref": "InstanceGroupManagersListManagedInstancesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"listPerInstanceConfigs": { +"description": "Lists all of the per-instance configurations defined for the managed\ninstance group. The orderBy query parameter is not supported.", +"flatPath": "projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/listPerInstanceConfigs", +"httpMethod": "POST", +"id": "compute.instanceGroupManagers.listPerInstanceConfigs", +"parameterOrder": [ +"project", +"zone", +"instanceGroupManager" +], +"parameters": { +"filter": { +"description": "A filter expression that filters resources listed in the response. Most\nCompute resources support two types of filter expressions:\nexpressions that support regular expressions and expressions that follow\nAPI improvement proposal AIP-160.\nThese two types of filter expressions cannot be mixed in one request.\n\nIf you want to use AIP-160, your expression must specify the field name, an\noperator, and the value that you want to use for filtering. The value\nmust be a string, a number, or a boolean. The operator\nmust be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.\n\nFor example, if you are filtering Compute Engine instances, you can\nexclude instances named `example-instance` by specifying\n`name != example-instance`.\n\nThe `:*` comparison can be used to test whether a key has been defined.\nFor example, to find all objects with `owner` label use:\n```\nlabels.owner:*\n```\n\nYou can also filter nested fields. For example, you could specify\n`scheduling.automaticRestart = false` to include instances only\nif they are not scheduled for automatic restarts. You can use filtering\non nested fields to filter based onresource labels.\n\nTo filter on multiple expressions, provide each separate expression within\nparentheses. For example:\n```\n(scheduling.automaticRestart = true)\n(cpuPlatform = \"Intel Skylake\")\n```\nBy default, each expression is an `AND` expression. However, you\ncan include `AND` and `OR` expressions explicitly.\nFor example:\n```\n(cpuPlatform = \"Intel Skylake\") OR\n(cpuPlatform = \"Intel Broadwell\") AND\n(scheduling.automaticRestart = true)\n```\n\nIf you want to use a regular expression, use the `eq` (equal) or `ne`\n(not equal) operator against a single un-parenthesized expression with or\nwithout quotes or against multiple parenthesized expressions. Examples:\n\n`fieldname eq unquoted literal`\n`fieldname eq 'single quoted literal'`\n`fieldname eq \"double quoted literal\"`\n`(fieldname1 eq literal) (fieldname2 ne \"literal\")`\n\nThe literal value is interpreted as a regular expression using GoogleRE2 library syntax.\nThe literal value must match the entire field.\n\nFor example, to filter for instances that do not end with name \"instance\",\nyou would use `name ne .*instance`.\n\nYou cannot combine constraints on multiple fields using regular\nexpressions.", +"location": "query", +"type": "string" +}, +"instanceGroupManager": { +"description": "The name of the managed instance group. It should conform to RFC1035.", +"location": "path", +"required": true, +"type": "string" +}, +"maxResults": { +"default": "500", +"description": "The maximum number of results per page that should be returned.\nIf the number of available results is larger than `maxResults`,\nCompute Engine returns a `nextPageToken` that can be used to get\nthe next page of results in subsequent list requests. Acceptable values are\n`0` to `500`, inclusive. (Default: `500`)", +"format": "uint32", +"location": "query", +"minimum": "0", +"type": "integer" +}, +"orderBy": { +"description": "Sorts list results by a certain order. By default, results\nare returned in alphanumerical order based on the resource name.\n\nYou can also sort results in descending order based on the creation\ntimestamp using `orderBy=\"creationTimestamp desc\"`. This sorts\nresults based on the `creationTimestamp` field in\nreverse chronological order (newest result first). Use this to sort\nresources like operations so that the newest operation is returned first.\n\nCurrently, only sorting by `name` or\n`creationTimestamp desc` is supported.", +"location": "query", +"type": "string" +}, +"pageToken": { +"description": "Specifies a page token to use. Set `pageToken` to the\n`nextPageToken` returned by a previous list request to get\nthe next page of results.", +"location": "query", +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"returnPartialSuccess": { +"description": "Opt-in for partial success behavior which provides partial results in case\nof failure. The default value is false.\n\nFor example, when partial success behavior is enabled, aggregatedList for a\nsingle zone scope either returns all resources in the zone or no resources,\nwith an error code.", +"location": "query", +"type": "boolean" +}, +"zone": { +"description": "The name of thezone\nwhere the managed instance group is located.\nIt should conform to RFC1035.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/listPerInstanceConfigs", +"response": { +"$ref": "InstanceGroupManagersListPerInstanceConfigsResp" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"patch": { +"description": "Updates a managed instance group using the information that you specify\nin the request.\nThis operation is marked as DONE when the group is patched\neven if the instances in the group are still in the process of being\npatched. You must separately verify the status of the individual instances\nwith thelistManagedInstances\nmethod. This method supportsPATCH\nsemantics and uses theJSON merge\npatch format and processing rules.\n\nIf you update your group to specify a new template or instance\nconfiguration, it's possible that your intended specification for each VM\nin the group is different from the current state of that VM. To learn how\nto apply an updated configuration to the VMs in a MIG, seeUpdating instances in\na MIG.", +"flatPath": "projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}", +"httpMethod": "PATCH", +"id": "compute.instanceGroupManagers.patch", +"parameterOrder": [ +"project", +"zone", +"instanceGroupManager" +], +"parameters": { +"instanceGroupManager": { +"description": "The name of the instance group manager.", +"location": "path", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"zone": { +"description": "The name of the zone where\nyou want to create the managed instance group.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}", +"request": { +"$ref": "InstanceGroupManager" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"patchPerInstanceConfigs": { +"description": "Inserts or patches per-instance configurations for the managed instance\ngroup. perInstanceConfig.name serves as a key used to\ndistinguish whether to perform insert or patch.", +"flatPath": "projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/patchPerInstanceConfigs", +"httpMethod": "POST", +"id": "compute.instanceGroupManagers.patchPerInstanceConfigs", +"parameterOrder": [ +"project", +"zone", +"instanceGroupManager" +], +"parameters": { +"instanceGroupManager": { +"description": "The name of the managed instance group.\nIt should conform to RFC1035.", +"location": "path", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"zone": { +"description": "The name of thezone\nwhere the managed instance group is located.\nIt should conform to RFC1035.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/patchPerInstanceConfigs", +"request": { +"$ref": "InstanceGroupManagersPatchPerInstanceConfigsReq" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"recreateInstances": { +"description": "Flags the specified VM instances in the managed instance group to be\nimmediately recreated. Each instance is recreated using the group's current\nconfiguration. This operation is marked as DONE when the flag\nis set even if the instances have not yet been recreated. You must\nseparately verify the status of each instance by checking itscurrentAction field; for more information, see Checking\nthe status of managed instances.\n\nIf the group is part of a backend\nservice that has enabled\nconnection draining, it can take up to 60 seconds after the connection\ndraining duration has elapsed before the VM instance is removed or deleted.\n\nYou can specify a maximum of 1000 instances with this method per request.", +"flatPath": "projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/recreateInstances", +"httpMethod": "POST", +"id": "compute.instanceGroupManagers.recreateInstances", +"parameterOrder": [ +"project", +"zone", +"instanceGroupManager" +], +"parameters": { +"instanceGroupManager": { +"description": "The name of the managed instance group.", +"location": "path", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"zone": { +"description": "The name of thezone where the managed\ninstance group is located.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/recreateInstances", +"request": { +"$ref": "InstanceGroupManagersRecreateInstancesRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"resize": { +"description": "Resizes the managed instance group. If you increase the size, the group\ncreates new instances using the current instance template. If you decrease\nthe size, the group deletes instances. The resize operation is markedDONE when the resize actions are scheduled even if the group\nhas not yet added or deleted any instances. You must separately\nverify the status of the creating or deleting\nactions with thelistmanagedinstances\nmethod.\n\nWhen resizing down, the instance group arbitrarily chooses the order in\nwhich VMs are deleted. The group takes into account some VM attributes when\nmaking the selection including:\n\n+ The status of the VM instance.\n+ The health of the VM instance.\n+ The instance template version the VM is based on.\n+ For regional managed instance groups, the location of the VM instance.\n\nThis list is subject to change.\n\nIf the group is part of a backend\nservice that has enabled\nconnection draining, it can take up to 60 seconds after the connection\ndraining duration has elapsed before the VM instance is removed or deleted.", +"flatPath": "projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/resize", +"httpMethod": "POST", +"id": "compute.instanceGroupManagers.resize", +"parameterOrder": [ +"project", +"zone", +"instanceGroupManager", +"size" +], +"parameters": { +"instanceGroupManager": { +"description": "The name of the managed instance group.", +"location": "path", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"size": { +"description": "The number of running instances that the managed instance group should\nmaintain at any given time. The group automatically adds or removes\ninstances to maintain the number of instances specified by this parameter.", +"format": "int32", +"location": "query", +"required": true, +"type": "integer" +}, +"zone": { +"description": "The name of thezone where the managed\ninstance group is located.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/resize", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"resizeAdvanced": { +"description": "Resizes the managed instance group with advanced configuration options like\ndisabling creation retries. This is an extended version of theresize method.\n\nIf you increase the size of the instance group, the group creates new\ninstances using the current instance template. If you decrease the size,\nthe group deletes instances. The resize operation is markedDONE when the resize actions are scheduled even if the group\nhas not yet added or deleted any instances. You must separately\nverify the status of the creating,creatingWithoutRetries, or deleting actions with\nthe get\norlistmanagedinstances\nmethod.\n\nIf the group is part of a backend\nservice that has enabled\nconnection draining, it can take up to 60 seconds after the connection\ndraining duration has elapsed before the VM instance is removed or deleted.", +"flatPath": "projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/resizeAdvanced", +"httpMethod": "POST", +"id": "compute.instanceGroupManagers.resizeAdvanced", +"parameterOrder": [ +"project", +"zone", +"instanceGroupManager" +], +"parameters": { +"instanceGroupManager": { +"description": "The name of the managed instance group.", +"location": "path", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"zone": { +"description": "The name of thezone where the managed\ninstance group is located.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/resizeAdvanced", +"request": { +"$ref": "InstanceGroupManagersResizeAdvancedRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"resumeInstances": { +"description": "Flags the specified instances in the managed instance group to be\nresumed. This method increases thetargetSize and decreases the targetSuspendedSize\nof the managed instance group by the number of instances that you resume.\nThe resumeInstances operation is marked DONE if\nthe resumeInstances request is successful. The underlying\nactions take additional time. You must separately verify the status of theRESUMING action with thelistmanagedinstances\nmethod.\n\nIn this request, you can only specify instances that are suspended. For\nexample, if an instance was previously suspended using the suspendInstances\nmethod, it can be resumed using the resumeInstances method.\n\nIf a health check is attached to the managed instance group, the specified\ninstances will be verified as healthy after they are resumed.\n\nYou can specify a maximum of 1000 instances with this method per request.", +"flatPath": "projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/resumeInstances", +"httpMethod": "POST", +"id": "compute.instanceGroupManagers.resumeInstances", +"parameterOrder": [ +"project", +"zone", +"instanceGroupManager" +], +"parameters": { +"instanceGroupManager": { +"description": "The name of the managed instance group.", +"location": "path", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"zone": { +"description": "The name of thezone where the managed\ninstance group is located.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/resumeInstances", +"request": { +"$ref": "InstanceGroupManagersResumeInstancesRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"setAutoHealingPolicies": { +"deprecated": true, +"description": "Motifies the autohealing policy for the instances in this managed\ninstance group.\n[Deprecated] This method is deprecated. UseinstanceGroupManagers.patch instead.", +"flatPath": "projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/setAutoHealingPolicies", +"httpMethod": "POST", +"id": "compute.instanceGroupManagers.setAutoHealingPolicies", +"parameterOrder": [ +"project", +"zone", +"instanceGroupManager" +], +"parameters": { +"instanceGroupManager": { +"description": "The name of the instance group manager.", +"location": "path", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"zone": { +"description": "The name of thezone where the managed\ninstance group is located.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/setAutoHealingPolicies", +"request": { +"$ref": "InstanceGroupManagersSetAutoHealingRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"setInstanceTemplate": { +"description": "Specifies the instance template to use when creating new instances in this\ngroup. The templates for existing instances in the group do not change\nunless you run recreateInstances, runapplyUpdatesToInstances, or set the group'supdatePolicy.type to PROACTIVE.", +"flatPath": "projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/setInstanceTemplate", +"httpMethod": "POST", +"id": "compute.instanceGroupManagers.setInstanceTemplate", +"parameterOrder": [ +"project", +"zone", +"instanceGroupManager" +], +"parameters": { +"instanceGroupManager": { +"description": "The name of the managed instance group.", +"location": "path", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"zone": { +"description": "The name of thezone where the managed\ninstance group is located.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/setInstanceTemplate", +"request": { +"$ref": "InstanceGroupManagersSetInstanceTemplateRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"setTargetPools": { +"description": "Modifies the target pools to which all instances in this managed instance\ngroup are assigned. The target pools automatically apply to all of the\ninstances in the managed instance group. This operation is markedDONE when you make the request even if the instances have not\nyet been added to their target pools. The change might take some time to\napply to all of the instances in the group depending on the size of the\ngroup.", +"flatPath": "projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/setTargetPools", +"httpMethod": "POST", +"id": "compute.instanceGroupManagers.setTargetPools", +"parameterOrder": [ +"project", +"zone", +"instanceGroupManager" +], +"parameters": { +"instanceGroupManager": { +"description": "The name of the managed instance group.", +"location": "path", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"zone": { +"description": "The name of thezone where the managed\ninstance group is located.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/setTargetPools", +"request": { +"$ref": "InstanceGroupManagersSetTargetPoolsRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"startInstances": { +"description": "Flags the specified instances in the managed instance group to be\nstarted. This method increases thetargetSize and decreases the targetStoppedSize\nof the managed instance group by the number of instances that you start.\nThe startInstances operation is marked DONE if\nthe startInstances request is successful. The underlying\nactions take additional time. You must separately verify the status of theSTARTING action with thelistmanagedinstances\nmethod.\n\nIn this request, you can only specify instances that are stopped. For\nexample, if an instance was previously stopped using the stopInstances\nmethod, it can be started using the startInstances method.\n\nIf a health check is attached to the managed instance group, the specified\ninstances will be verified as healthy after they are started.\n\nYou can specify a maximum of 1000 instances with this method per request.", +"flatPath": "projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/startInstances", +"httpMethod": "POST", +"id": "compute.instanceGroupManagers.startInstances", +"parameterOrder": [ +"project", +"zone", +"instanceGroupManager" +], +"parameters": { +"instanceGroupManager": { +"description": "The name of the managed instance group.", +"location": "path", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"zone": { +"description": "The name of thezone where the managed\ninstance group is located.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/startInstances", +"request": { +"$ref": "InstanceGroupManagersStartInstancesRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"stopInstances": { +"description": "Flags the specified instances in the managed instance group to be\nimmediately stopped. You can only specify instances that are running in\nthis request. This method reduces thetargetSize and increases the targetStoppedSize\nof the managed instance group by the number of instances that you stop.\nThe stopInstances operation is marked DONE if\nthe stopInstances request is successful. The underlying\nactions take additional time. You must separately verify the status of theSTOPPING action with thelistmanagedinstances\nmethod.\n\nIf the standbyPolicy.initialDelaySec field is set, the group\ndelays stopping the instances until initialDelaySec have\npassed from instance.creationTimestamp (that is, when the\ninstance was created). This delay gives your application time to\nset itself up and initialize on the instance. If more thaninitialDelaySec seconds have passed sinceinstance.creationTimestamp when this method is called, there\nwill be zero delay.\n\nIf the group is part of a backend\nservice that has enabled\nconnection draining, it can take up to 60 seconds after the connection\ndraining duration has elapsed before the VM instance is stopped.\n\nStopped instances can be started using the startInstances\nmethod.\n\nYou can specify a maximum of 1000 instances with this method per request.", +"flatPath": "projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/stopInstances", +"httpMethod": "POST", +"id": "compute.instanceGroupManagers.stopInstances", +"parameterOrder": [ +"project", +"zone", +"instanceGroupManager" +], +"parameters": { +"instanceGroupManager": { +"description": "The name of the managed instance group.", +"location": "path", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"zone": { +"description": "The name of thezone where the managed\ninstance group is located.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/stopInstances", +"request": { +"$ref": "InstanceGroupManagersStopInstancesRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"suspendInstances": { +"description": "Flags the specified instances in the managed instance group to be\nimmediately suspended. You can only specify instances that are running in\nthis request. This method reduces thetargetSize and increases the targetSuspendedSize\nof the managed instance group by the number of instances that you suspend.\nThe suspendInstances operation is marked DONE if\nthe suspendInstances request is successful. The underlying\nactions take additional time. You must separately verify the status of theSUSPENDING action with thelistmanagedinstances\nmethod.\n\nIf the standbyPolicy.initialDelaySec field is set, the group\ndelays suspension of the instances until initialDelaySec have\npassed from instance.creationTimestamp (that is, when the\ninstance was created). This delay gives your application time to\nset itself up and initialize on the instance. If more thaninitialDelaySec seconds have passed sinceinstance.creationTimestamp when this method is called, there\nwill be zero delay.\n\nIf the group is part of a backend\nservice that has enabled\nconnection draining, it can take up to 60 seconds after the connection\ndraining duration has elapsed before the VM instance is suspended.\n\nSuspended instances can be resumed using the resumeInstances\nmethod.\n\nYou can specify a maximum of 1000 instances with this method per request.", +"flatPath": "projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/suspendInstances", +"httpMethod": "POST", +"id": "compute.instanceGroupManagers.suspendInstances", +"parameterOrder": [ +"project", +"zone", +"instanceGroupManager" +], +"parameters": { +"instanceGroupManager": { +"description": "The name of the managed instance group.", +"location": "path", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"zone": { +"description": "The name of thezone where the managed\ninstance group is located.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/suspendInstances", +"request": { +"$ref": "InstanceGroupManagersSuspendInstancesRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"testIamPermissions": { +"description": "Returns permissions that a caller has on the specified resource.", +"flatPath": "projects/{project}/zones/{zone}/instanceGroupManagers/{resource}/testIamPermissions", +"httpMethod": "POST", +"id": "compute.instanceGroupManagers.testIamPermissions", +"parameterOrder": [ +"project", +"zone", +"resource" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"resource": { +"description": "Name or id of the resource for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +}, +"zone": { +"description": "The name of the zone for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/zones/{zone}/instanceGroupManagers/{resource}/testIamPermissions", +"request": { +"$ref": "TestPermissionsRequest" +}, +"response": { +"$ref": "TestPermissionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"update": { +"description": "Updates a managed instance group using the information that you specify\nin the request.\nThis operation is marked as DONE when the group is updated\neven if the instances in the group have not yet been updated. You must\nseparately verify the status of the individual instances with thelistManagedInstances\nmethod.\n\nIf you update your group to specify a new template or instance\nconfiguration, it's possible that your intended specification for each VM\nin the group is different from the current state of that VM. To learn how\nto apply an updated configuration to the VMs in a MIG, seeUpdating instances in\na MIG.", +"flatPath": "projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}", +"httpMethod": "PUT", +"id": "compute.instanceGroupManagers.update", +"parameterOrder": [ +"project", +"zone", +"instanceGroupManager" +], +"parameters": { +"instanceGroupManager": { +"description": "The name of the instance group manager.", +"location": "path", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"zone": { +"description": "The name of the zone\nwhere you want to create the managed instance group.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}", +"request": { +"$ref": "InstanceGroupManager" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"updatePerInstanceConfigs": { +"description": "Inserts or updates per-instance configurations for the managed instance\ngroup. perInstanceConfig.name serves as a key used to\ndistinguish whether to perform insert or patch.", +"flatPath": "projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/updatePerInstanceConfigs", +"httpMethod": "POST", +"id": "compute.instanceGroupManagers.updatePerInstanceConfigs", +"parameterOrder": [ +"project", +"zone", +"instanceGroupManager" +], +"parameters": { +"instanceGroupManager": { +"description": "The name of the managed instance group.\nIt should conform to RFC1035.", +"location": "path", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"zone": { +"description": "The name of thezone\nwhere the managed instance group is located.\nIt should conform to RFC1035.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/updatePerInstanceConfigs", +"request": { +"$ref": "InstanceGroupManagersUpdatePerInstanceConfigsReq" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +} +} +}, +"instanceGroups": { +"methods": { +"addInstances": { +"description": "Adds a list of instances to the specified instance group. All of the\ninstances in the instance group must be in the same network/subnetwork.\nRead \nAdding instances for more information.", +"flatPath": "projects/{project}/zones/{zone}/instanceGroups/{instanceGroup}/addInstances", +"httpMethod": "POST", +"id": "compute.instanceGroups.addInstances", +"parameterOrder": [ +"project", +"zone", +"instanceGroup" +], +"parameters": { +"instanceGroup": { +"description": "The name of the instance group where you are adding instances.", +"location": "path", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"zone": { +"description": "The name of the zone\nwhere the instance group is located.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/zones/{zone}/instanceGroups/{instanceGroup}/addInstances", +"request": { +"$ref": "InstanceGroupsAddInstancesRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"aggregatedList": { +"description": "Retrieves the list of instance groups and sorts them by zone.\n\nTo prevent failure, Google recommends that you set the\n`returnPartialSuccess` parameter to `true`.", +"flatPath": "projects/{project}/aggregated/instanceGroups", +"httpMethod": "GET", +"id": "compute.instanceGroups.aggregatedList", +"parameterOrder": [ +"project" +], +"parameters": { +"filter": { +"description": "A filter expression that filters resources listed in the response. Most\nCompute resources support two types of filter expressions:\nexpressions that support regular expressions and expressions that follow\nAPI improvement proposal AIP-160.\nThese two types of filter expressions cannot be mixed in one request.\n\nIf you want to use AIP-160, your expression must specify the field name, an\noperator, and the value that you want to use for filtering. The value\nmust be a string, a number, or a boolean. The operator\nmust be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.\n\nFor example, if you are filtering Compute Engine instances, you can\nexclude instances named `example-instance` by specifying\n`name != example-instance`.\n\nThe `:*` comparison can be used to test whether a key has been defined.\nFor example, to find all objects with `owner` label use:\n```\nlabels.owner:*\n```\n\nYou can also filter nested fields. For example, you could specify\n`scheduling.automaticRestart = false` to include instances only\nif they are not scheduled for automatic restarts. You can use filtering\non nested fields to filter based onresource labels.\n\nTo filter on multiple expressions, provide each separate expression within\nparentheses. For example:\n```\n(scheduling.automaticRestart = true)\n(cpuPlatform = \"Intel Skylake\")\n```\nBy default, each expression is an `AND` expression. However, you\ncan include `AND` and `OR` expressions explicitly.\nFor example:\n```\n(cpuPlatform = \"Intel Skylake\") OR\n(cpuPlatform = \"Intel Broadwell\") AND\n(scheduling.automaticRestart = true)\n```\n\nIf you want to use a regular expression, use the `eq` (equal) or `ne`\n(not equal) operator against a single un-parenthesized expression with or\nwithout quotes or against multiple parenthesized expressions. Examples:\n\n`fieldname eq unquoted literal`\n`fieldname eq 'single quoted literal'`\n`fieldname eq \"double quoted literal\"`\n`(fieldname1 eq literal) (fieldname2 ne \"literal\")`\n\nThe literal value is interpreted as a regular expression using GoogleRE2 library syntax.\nThe literal value must match the entire field.\n\nFor example, to filter for instances that do not end with name \"instance\",\nyou would use `name ne .*instance`.\n\nYou cannot combine constraints on multiple fields using regular\nexpressions.", +"location": "query", +"type": "string" +}, +"includeAllScopes": { +"description": "Indicates whether every visible scope for each scope type (zone, region,\nglobal) should be included in the response. For new resource types added\nafter this field, the flag has no effect as new resource types will always\ninclude every visible scope for each scope type in response. For resource\ntypes which predate this field, if this flag is omitted or false, only\nscopes of the scope types where the resource type is expected to be found\nwill be included.", +"location": "query", +"type": "boolean" +}, +"maxResults": { +"default": "500", +"description": "The maximum number of results per page that should be returned.\nIf the number of available results is larger than `maxResults`,\nCompute Engine returns a `nextPageToken` that can be used to get\nthe next page of results in subsequent list requests. Acceptable values are\n`0` to `500`, inclusive. (Default: `500`)", +"format": "uint32", +"location": "query", +"minimum": "0", +"type": "integer" +}, +"orderBy": { +"description": "Sorts list results by a certain order. By default, results\nare returned in alphanumerical order based on the resource name.\n\nYou can also sort results in descending order based on the creation\ntimestamp using `orderBy=\"creationTimestamp desc\"`. This sorts\nresults based on the `creationTimestamp` field in\nreverse chronological order (newest result first). Use this to sort\nresources like operations so that the newest operation is returned first.\n\nCurrently, only sorting by `name` or\n`creationTimestamp desc` is supported.", +"location": "query", +"type": "string" +}, +"pageToken": { +"description": "Specifies a page token to use. Set `pageToken` to the\n`nextPageToken` returned by a previous list request to get\nthe next page of results.", +"location": "query", +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"returnPartialSuccess": { +"description": "Opt-in for partial success behavior which provides partial results in case\nof failure. The default value is false.\n\nFor example, when partial success behavior is enabled, aggregatedList for a\nsingle zone scope either returns all resources in the zone or no resources,\nwith an error code.", +"location": "query", +"type": "boolean" +}, +"serviceProjectNumber": { +"description": "The Shared VPC service project id or service project number for which\naggregated list request is invoked for subnetworks list-usable api.", +"format": "int64", +"location": "query", +"type": "string" +} +}, +"path": "projects/{project}/aggregated/instanceGroups", +"response": { +"$ref": "InstanceGroupAggregatedList" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"delete": { +"description": "Deletes the specified instance group. The instances in the group are not\ndeleted. Note that instance group must not belong to a backend service.\nRead\nDeleting an instance group for more information.", +"flatPath": "projects/{project}/zones/{zone}/instanceGroups/{instanceGroup}", +"httpMethod": "DELETE", +"id": "compute.instanceGroups.delete", +"parameterOrder": [ +"project", +"zone", +"instanceGroup" +], +"parameters": { +"instanceGroup": { +"description": "The name of the instance group to delete.", +"location": "path", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"zone": { +"description": "The name of the zone\nwhere the instance group is located.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/zones/{zone}/instanceGroups/{instanceGroup}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"get": { +"description": "Returns the specified zonal instance group. Get a list of available zonal\ninstance groups by making a list() request.\n\nFor managed instance groups, use theinstanceGroupManagers\nor regionInstanceGroupManagers\nmethods instead.", +"flatPath": "projects/{project}/zones/{zone}/instanceGroups/{instanceGroup}", +"httpMethod": "GET", +"id": "compute.instanceGroups.get", +"parameterOrder": [ +"project", +"zone", +"instanceGroup" +], +"parameters": { +"instanceGroup": { +"description": "The name of the instance group.", +"location": "path", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"zone": { +"description": "The name of the zone\nwhere the instance group is located.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/zones/{zone}/instanceGroups/{instanceGroup}", +"response": { +"$ref": "InstanceGroup" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"insert": { +"description": "Creates an instance group in the specified project using the\nparameters that are included in the request.", +"flatPath": "projects/{project}/zones/{zone}/instanceGroups", +"httpMethod": "POST", +"id": "compute.instanceGroups.insert", +"parameterOrder": [ +"project", +"zone" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"zone": { +"description": "The name of the zone\nwhere you want to create the instance group.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/zones/{zone}/instanceGroups", +"request": { +"$ref": "InstanceGroup" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"list": { +"description": "Retrieves the list of zonal instance group resources contained within the\nspecified zone.\n\nFor managed instance groups, use theinstanceGroupManagers\nor regionInstanceGroupManagers\nmethods instead.", +"flatPath": "projects/{project}/zones/{zone}/instanceGroups", +"httpMethod": "GET", +"id": "compute.instanceGroups.list", +"parameterOrder": [ +"project", +"zone" +], +"parameters": { +"filter": { +"description": "A filter expression that filters resources listed in the response. Most\nCompute resources support two types of filter expressions:\nexpressions that support regular expressions and expressions that follow\nAPI improvement proposal AIP-160.\nThese two types of filter expressions cannot be mixed in one request.\n\nIf you want to use AIP-160, your expression must specify the field name, an\noperator, and the value that you want to use for filtering. The value\nmust be a string, a number, or a boolean. The operator\nmust be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.\n\nFor example, if you are filtering Compute Engine instances, you can\nexclude instances named `example-instance` by specifying\n`name != example-instance`.\n\nThe `:*` comparison can be used to test whether a key has been defined.\nFor example, to find all objects with `owner` label use:\n```\nlabels.owner:*\n```\n\nYou can also filter nested fields. For example, you could specify\n`scheduling.automaticRestart = false` to include instances only\nif they are not scheduled for automatic restarts. You can use filtering\non nested fields to filter based onresource labels.\n\nTo filter on multiple expressions, provide each separate expression within\nparentheses. For example:\n```\n(scheduling.automaticRestart = true)\n(cpuPlatform = \"Intel Skylake\")\n```\nBy default, each expression is an `AND` expression. However, you\ncan include `AND` and `OR` expressions explicitly.\nFor example:\n```\n(cpuPlatform = \"Intel Skylake\") OR\n(cpuPlatform = \"Intel Broadwell\") AND\n(scheduling.automaticRestart = true)\n```\n\nIf you want to use a regular expression, use the `eq` (equal) or `ne`\n(not equal) operator against a single un-parenthesized expression with or\nwithout quotes or against multiple parenthesized expressions. Examples:\n\n`fieldname eq unquoted literal`\n`fieldname eq 'single quoted literal'`\n`fieldname eq \"double quoted literal\"`\n`(fieldname1 eq literal) (fieldname2 ne \"literal\")`\n\nThe literal value is interpreted as a regular expression using GoogleRE2 library syntax.\nThe literal value must match the entire field.\n\nFor example, to filter for instances that do not end with name \"instance\",\nyou would use `name ne .*instance`.\n\nYou cannot combine constraints on multiple fields using regular\nexpressions.", +"location": "query", +"type": "string" +}, +"maxResults": { +"default": "500", +"description": "The maximum number of results per page that should be returned.\nIf the number of available results is larger than `maxResults`,\nCompute Engine returns a `nextPageToken` that can be used to get\nthe next page of results in subsequent list requests. Acceptable values are\n`0` to `500`, inclusive. (Default: `500`)", +"format": "uint32", +"location": "query", +"minimum": "0", +"type": "integer" +}, +"orderBy": { +"description": "Sorts list results by a certain order. By default, results\nare returned in alphanumerical order based on the resource name.\n\nYou can also sort results in descending order based on the creation\ntimestamp using `orderBy=\"creationTimestamp desc\"`. This sorts\nresults based on the `creationTimestamp` field in\nreverse chronological order (newest result first). Use this to sort\nresources like operations so that the newest operation is returned first.\n\nCurrently, only sorting by `name` or\n`creationTimestamp desc` is supported.", +"location": "query", +"type": "string" +}, +"pageToken": { +"description": "Specifies a page token to use. Set `pageToken` to the\n`nextPageToken` returned by a previous list request to get\nthe next page of results.", +"location": "query", +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"returnPartialSuccess": { +"description": "Opt-in for partial success behavior which provides partial results in case\nof failure. The default value is false.\n\nFor example, when partial success behavior is enabled, aggregatedList for a\nsingle zone scope either returns all resources in the zone or no resources,\nwith an error code.", +"location": "query", +"type": "boolean" +}, +"zone": { +"description": "The name of thezone\nwhere the instance group is located.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/zones/{zone}/instanceGroups", +"response": { +"$ref": "InstanceGroupList" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"listInstances": { +"description": "Lists the instances in the specified instance group.\nThe orderBy query parameter is not supported.\nThe filter query parameter is supported, but only for\nexpressions that use `eq` (equal) or `ne` (not equal) operators.", +"flatPath": "projects/{project}/zones/{zone}/instanceGroups/{instanceGroup}/listInstances", +"httpMethod": "POST", +"id": "compute.instanceGroups.listInstances", +"parameterOrder": [ +"project", +"zone", +"instanceGroup" +], +"parameters": { +"filter": { +"description": "A filter expression that filters resources listed in the response. Most\nCompute resources support two types of filter expressions:\nexpressions that support regular expressions and expressions that follow\nAPI improvement proposal AIP-160.\nThese two types of filter expressions cannot be mixed in one request.\n\nIf you want to use AIP-160, your expression must specify the field name, an\noperator, and the value that you want to use for filtering. The value\nmust be a string, a number, or a boolean. The operator\nmust be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.\n\nFor example, if you are filtering Compute Engine instances, you can\nexclude instances named `example-instance` by specifying\n`name != example-instance`.\n\nThe `:*` comparison can be used to test whether a key has been defined.\nFor example, to find all objects with `owner` label use:\n```\nlabels.owner:*\n```\n\nYou can also filter nested fields. For example, you could specify\n`scheduling.automaticRestart = false` to include instances only\nif they are not scheduled for automatic restarts. You can use filtering\non nested fields to filter based onresource labels.\n\nTo filter on multiple expressions, provide each separate expression within\nparentheses. For example:\n```\n(scheduling.automaticRestart = true)\n(cpuPlatform = \"Intel Skylake\")\n```\nBy default, each expression is an `AND` expression. However, you\ncan include `AND` and `OR` expressions explicitly.\nFor example:\n```\n(cpuPlatform = \"Intel Skylake\") OR\n(cpuPlatform = \"Intel Broadwell\") AND\n(scheduling.automaticRestart = true)\n```\n\nIf you want to use a regular expression, use the `eq` (equal) or `ne`\n(not equal) operator against a single un-parenthesized expression with or\nwithout quotes or against multiple parenthesized expressions. Examples:\n\n`fieldname eq unquoted literal`\n`fieldname eq 'single quoted literal'`\n`fieldname eq \"double quoted literal\"`\n`(fieldname1 eq literal) (fieldname2 ne \"literal\")`\n\nThe literal value is interpreted as a regular expression using GoogleRE2 library syntax.\nThe literal value must match the entire field.\n\nFor example, to filter for instances that do not end with name \"instance\",\nyou would use `name ne .*instance`.\n\nYou cannot combine constraints on multiple fields using regular\nexpressions.", +"location": "query", +"type": "string" +}, +"instanceGroup": { +"description": "The name of the instance group from which you want to generate a list\nof included instances.", +"location": "path", +"required": true, +"type": "string" +}, +"maxResults": { +"default": "500", +"description": "The maximum number of results per page that should be returned.\nIf the number of available results is larger than `maxResults`,\nCompute Engine returns a `nextPageToken` that can be used to get\nthe next page of results in subsequent list requests. Acceptable values are\n`0` to `500`, inclusive. (Default: `500`)", +"format": "uint32", +"location": "query", +"minimum": "0", +"type": "integer" +}, +"orderBy": { +"description": "Sorts list results by a certain order. By default, results\nare returned in alphanumerical order based on the resource name.\n\nYou can also sort results in descending order based on the creation\ntimestamp using `orderBy=\"creationTimestamp desc\"`. This sorts\nresults based on the `creationTimestamp` field in\nreverse chronological order (newest result first). Use this to sort\nresources like operations so that the newest operation is returned first.\n\nCurrently, only sorting by `name` or\n`creationTimestamp desc` is supported.", +"location": "query", +"type": "string" +}, +"pageToken": { +"description": "Specifies a page token to use. Set `pageToken` to the\n`nextPageToken` returned by a previous list request to get\nthe next page of results.", +"location": "query", +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"returnPartialSuccess": { +"description": "Opt-in for partial success behavior which provides partial results in case\nof failure. The default value is false.\n\nFor example, when partial success behavior is enabled, aggregatedList for a\nsingle zone scope either returns all resources in the zone or no resources,\nwith an error code.", +"location": "query", +"type": "boolean" +}, +"zone": { +"description": "The name of the zone\nwhere the instance group is located.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/zones/{zone}/instanceGroups/{instanceGroup}/listInstances", +"request": { +"$ref": "InstanceGroupsListInstancesRequest" +}, +"response": { +"$ref": "InstanceGroupsListInstances" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"removeInstances": { +"description": "Removes one or more instances from the specified instance group, but does\nnot delete those instances.\n\nIf the group is part of a backend\nservice that has enabled\nconnection draining, it can take up to 60 seconds after the connection\ndraining duration before the VM instance is removed or deleted.", +"flatPath": "projects/{project}/zones/{zone}/instanceGroups/{instanceGroup}/removeInstances", +"httpMethod": "POST", +"id": "compute.instanceGroups.removeInstances", +"parameterOrder": [ +"project", +"zone", +"instanceGroup" +], +"parameters": { +"instanceGroup": { +"description": "The name of the instance group where the specified instances will be\nremoved.", +"location": "path", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"zone": { +"description": "The name of the zone\nwhere the instance group is located.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/zones/{zone}/instanceGroups/{instanceGroup}/removeInstances", +"request": { +"$ref": "InstanceGroupsRemoveInstancesRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"setNamedPorts": { +"description": "Sets the named ports for the specified instance group.", +"flatPath": "projects/{project}/zones/{zone}/instanceGroups/{instanceGroup}/setNamedPorts", +"httpMethod": "POST", +"id": "compute.instanceGroups.setNamedPorts", +"parameterOrder": [ +"project", +"zone", +"instanceGroup" +], +"parameters": { +"instanceGroup": { +"description": "The name of the instance group where the named ports are updated.", +"location": "path", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"zone": { +"description": "The name of the zone\nwhere the instance group is located.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/zones/{zone}/instanceGroups/{instanceGroup}/setNamedPorts", +"request": { +"$ref": "InstanceGroupsSetNamedPortsRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"testIamPermissions": { +"description": "Returns permissions that a caller has on the specified resource.", +"flatPath": "projects/{project}/zones/{zone}/instanceGroups/{resource}/testIamPermissions", +"httpMethod": "POST", +"id": "compute.instanceGroups.testIamPermissions", +"parameterOrder": [ +"project", +"zone", +"resource" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"resource": { +"description": "Name or id of the resource for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +}, +"zone": { +"description": "The name of the zone for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/zones/{zone}/instanceGroups/{resource}/testIamPermissions", +"request": { +"$ref": "TestPermissionsRequest" +}, +"response": { +"$ref": "TestPermissionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +} +} +}, +"instanceSettings": { +"methods": { +"get": { +"description": "Get Instance settings.", +"flatPath": "projects/{project}/zones/{zone}/instanceSettings", +"httpMethod": "GET", +"id": "compute.instanceSettings.get", +"parameterOrder": [ +"project", +"zone" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"zone": { +"description": "Name of the zone for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/zones/{zone}/instanceSettings", +"response": { +"$ref": "InstanceSettings" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"patch": { +"description": "Patch Instance settings", +"flatPath": "projects/{project}/zones/{zone}/instanceSettings", +"httpMethod": "PATCH", +"id": "compute.instanceSettings.patch", +"parameterOrder": [ +"project", +"zone" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"updateMask": { +"description": "update_mask indicates fields to be updated as part of this request.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +}, +"zone": { +"description": "The zone scoping this request. It should conform to RFC1035.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/zones/{zone}/instanceSettings", +"request": { +"$ref": "InstanceSettings" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +} +} +}, +"instanceTemplates": { +"methods": { +"aggregatedList": { +"description": "Retrieves the list of all InstanceTemplates resources, regional and global,\navailable to the specified project.\n\nTo prevent failure, Google recommends that you set the\n`returnPartialSuccess` parameter to `true`.", +"flatPath": "projects/{project}/aggregated/instanceTemplates", +"httpMethod": "GET", +"id": "compute.instanceTemplates.aggregatedList", +"parameterOrder": [ +"project" +], +"parameters": { +"filter": { +"description": "A filter expression that filters resources listed in the response. Most\nCompute resources support two types of filter expressions:\nexpressions that support regular expressions and expressions that follow\nAPI improvement proposal AIP-160.\nThese two types of filter expressions cannot be mixed in one request.\n\nIf you want to use AIP-160, your expression must specify the field name, an\noperator, and the value that you want to use for filtering. The value\nmust be a string, a number, or a boolean. The operator\nmust be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.\n\nFor example, if you are filtering Compute Engine instances, you can\nexclude instances named `example-instance` by specifying\n`name != example-instance`.\n\nThe `:*` comparison can be used to test whether a key has been defined.\nFor example, to find all objects with `owner` label use:\n```\nlabels.owner:*\n```\n\nYou can also filter nested fields. For example, you could specify\n`scheduling.automaticRestart = false` to include instances only\nif they are not scheduled for automatic restarts. You can use filtering\non nested fields to filter based onresource labels.\n\nTo filter on multiple expressions, provide each separate expression within\nparentheses. For example:\n```\n(scheduling.automaticRestart = true)\n(cpuPlatform = \"Intel Skylake\")\n```\nBy default, each expression is an `AND` expression. However, you\ncan include `AND` and `OR` expressions explicitly.\nFor example:\n```\n(cpuPlatform = \"Intel Skylake\") OR\n(cpuPlatform = \"Intel Broadwell\") AND\n(scheduling.automaticRestart = true)\n```\n\nIf you want to use a regular expression, use the `eq` (equal) or `ne`\n(not equal) operator against a single un-parenthesized expression with or\nwithout quotes or against multiple parenthesized expressions. Examples:\n\n`fieldname eq unquoted literal`\n`fieldname eq 'single quoted literal'`\n`fieldname eq \"double quoted literal\"`\n`(fieldname1 eq literal) (fieldname2 ne \"literal\")`\n\nThe literal value is interpreted as a regular expression using GoogleRE2 library syntax.\nThe literal value must match the entire field.\n\nFor example, to filter for instances that do not end with name \"instance\",\nyou would use `name ne .*instance`.\n\nYou cannot combine constraints on multiple fields using regular\nexpressions.", +"location": "query", +"type": "string" +}, +"includeAllScopes": { +"description": "Indicates whether every visible scope for each scope type (zone, region,\nglobal) should be included in the response. For new resource types added\nafter this field, the flag has no effect as new resource types will always\ninclude every visible scope for each scope type in response. For resource\ntypes which predate this field, if this flag is omitted or false, only\nscopes of the scope types where the resource type is expected to be found\nwill be included.", +"location": "query", +"type": "boolean" +}, +"maxResults": { +"default": "500", +"description": "The maximum number of results per page that should be returned.\nIf the number of available results is larger than `maxResults`,\nCompute Engine returns a `nextPageToken` that can be used to get\nthe next page of results in subsequent list requests. Acceptable values are\n`0` to `500`, inclusive. (Default: `500`)", +"format": "uint32", +"location": "query", +"minimum": "0", +"type": "integer" +}, +"orderBy": { +"description": "Sorts list results by a certain order. By default, results\nare returned in alphanumerical order based on the resource name.\n\nYou can also sort results in descending order based on the creation\ntimestamp using `orderBy=\"creationTimestamp desc\"`. This sorts\nresults based on the `creationTimestamp` field in\nreverse chronological order (newest result first). Use this to sort\nresources like operations so that the newest operation is returned first.\n\nCurrently, only sorting by `name` or\n`creationTimestamp desc` is supported.", +"location": "query", +"type": "string" +}, +"pageToken": { +"description": "Specifies a page token to use. Set `pageToken` to the\n`nextPageToken` returned by a previous list request to get\nthe next page of results.", +"location": "query", +"type": "string" +}, +"project": { +"description": "Name of the project scoping this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"returnPartialSuccess": { +"description": "Opt-in for partial success behavior which provides partial results in case\nof failure. The default value is false.\n\nFor example, when partial success behavior is enabled, aggregatedList for a\nsingle zone scope either returns all resources in the zone or no resources,\nwith an error code.", +"location": "query", +"type": "boolean" +}, +"serviceProjectNumber": { +"description": "The Shared VPC service project id or service project number for which\naggregated list request is invoked for subnetworks list-usable api.", +"format": "int64", +"location": "query", +"type": "string" +} +}, +"path": "projects/{project}/aggregated/instanceTemplates", +"response": { +"$ref": "InstanceTemplateAggregatedList" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"delete": { +"description": "Deletes the specified instance template. Deleting an instance template is\npermanent and cannot be undone. It is not possible to delete templates\nthat are already in use by a managed instance group.", +"flatPath": "projects/{project}/global/instanceTemplates/{instanceTemplate}", +"httpMethod": "DELETE", +"id": "compute.instanceTemplates.delete", +"parameterOrder": [ +"project", +"instanceTemplate" +], +"parameters": { +"instanceTemplate": { +"description": "The name of the instance template to delete.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "projects/{project}/global/instanceTemplates/{instanceTemplate}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"get": { +"description": "Returns the specified instance template.", +"flatPath": "projects/{project}/global/instanceTemplates/{instanceTemplate}", +"httpMethod": "GET", +"id": "compute.instanceTemplates.get", +"parameterOrder": [ +"project", +"instanceTemplate" +], +"parameters": { +"instanceTemplate": { +"description": "The name of the instance template.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"view": { +"description": "View of the instance template.", +"enum": [ +"BASIC", +"FULL", +"INSTANCE_VIEW_UNSPECIFIED" +], +"enumDescriptions": [ +"Include everything except Partner Metadata.", +"Include everything.", +"The default / unset value. The API will default to the BASIC view." +], +"location": "query", +"type": "string" +} +}, +"path": "projects/{project}/global/instanceTemplates/{instanceTemplate}", +"response": { +"$ref": "InstanceTemplate" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"getIamPolicy": { +"description": "Gets the access control policy for a resource. May be empty if no such\npolicy or resource exists.", +"flatPath": "projects/{project}/global/instanceTemplates/{resource}/getIamPolicy", +"httpMethod": "GET", +"id": "compute.instanceTemplates.getIamPolicy", +"parameterOrder": [ +"project", +"resource" +], +"parameters": { +"optionsRequestedPolicyVersion": { +"description": "Requested IAM Policy version.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"resource": { +"description": "Name or id of the resource for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9_]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/global/instanceTemplates/{resource}/getIamPolicy", +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"insert": { +"description": "Creates an instance template in the specified project using the\ndata that is included in the request. If you are creating a new template to\nupdate an existing instance group, your new instance template must use the\nsame network or, if applicable, the same subnetwork as the original\ntemplate.", +"flatPath": "projects/{project}/global/instanceTemplates", +"httpMethod": "POST", +"id": "compute.instanceTemplates.insert", +"parameterOrder": [ +"project" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "projects/{project}/global/instanceTemplates", +"request": { +"$ref": "InstanceTemplate" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"list": { +"description": "Retrieves a list of instance templates that are contained within\nthe specified project.", +"flatPath": "projects/{project}/global/instanceTemplates", +"httpMethod": "GET", +"id": "compute.instanceTemplates.list", +"parameterOrder": [ +"project" +], +"parameters": { +"filter": { +"description": "A filter expression that filters resources listed in the response. Most\nCompute resources support two types of filter expressions:\nexpressions that support regular expressions and expressions that follow\nAPI improvement proposal AIP-160.\nThese two types of filter expressions cannot be mixed in one request.\n\nIf you want to use AIP-160, your expression must specify the field name, an\noperator, and the value that you want to use for filtering. The value\nmust be a string, a number, or a boolean. The operator\nmust be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.\n\nFor example, if you are filtering Compute Engine instances, you can\nexclude instances named `example-instance` by specifying\n`name != example-instance`.\n\nThe `:*` comparison can be used to test whether a key has been defined.\nFor example, to find all objects with `owner` label use:\n```\nlabels.owner:*\n```\n\nYou can also filter nested fields. For example, you could specify\n`scheduling.automaticRestart = false` to include instances only\nif they are not scheduled for automatic restarts. You can use filtering\non nested fields to filter based onresource labels.\n\nTo filter on multiple expressions, provide each separate expression within\nparentheses. For example:\n```\n(scheduling.automaticRestart = true)\n(cpuPlatform = \"Intel Skylake\")\n```\nBy default, each expression is an `AND` expression. However, you\ncan include `AND` and `OR` expressions explicitly.\nFor example:\n```\n(cpuPlatform = \"Intel Skylake\") OR\n(cpuPlatform = \"Intel Broadwell\") AND\n(scheduling.automaticRestart = true)\n```\n\nIf you want to use a regular expression, use the `eq` (equal) or `ne`\n(not equal) operator against a single un-parenthesized expression with or\nwithout quotes or against multiple parenthesized expressions. Examples:\n\n`fieldname eq unquoted literal`\n`fieldname eq 'single quoted literal'`\n`fieldname eq \"double quoted literal\"`\n`(fieldname1 eq literal) (fieldname2 ne \"literal\")`\n\nThe literal value is interpreted as a regular expression using GoogleRE2 library syntax.\nThe literal value must match the entire field.\n\nFor example, to filter for instances that do not end with name \"instance\",\nyou would use `name ne .*instance`.\n\nYou cannot combine constraints on multiple fields using regular\nexpressions.", +"location": "query", +"type": "string" +}, +"maxResults": { +"default": "500", +"description": "The maximum number of results per page that should be returned.\nIf the number of available results is larger than `maxResults`,\nCompute Engine returns a `nextPageToken` that can be used to get\nthe next page of results in subsequent list requests. Acceptable values are\n`0` to `500`, inclusive. (Default: `500`)", +"format": "uint32", +"location": "query", +"minimum": "0", +"type": "integer" +}, +"orderBy": { +"description": "Sorts list results by a certain order. By default, results\nare returned in alphanumerical order based on the resource name.\n\nYou can also sort results in descending order based on the creation\ntimestamp using `orderBy=\"creationTimestamp desc\"`. This sorts\nresults based on the `creationTimestamp` field in\nreverse chronological order (newest result first). Use this to sort\nresources like operations so that the newest operation is returned first.\n\nCurrently, only sorting by `name` or\n`creationTimestamp desc` is supported.", +"location": "query", +"type": "string" +}, +"pageToken": { +"description": "Specifies a page token to use. Set `pageToken` to the\n`nextPageToken` returned by a previous list request to get\nthe next page of results.", +"location": "query", +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"returnPartialSuccess": { +"description": "Opt-in for partial success behavior which provides partial results in case\nof failure. The default value is false.\n\nFor example, when partial success behavior is enabled, aggregatedList for a\nsingle zone scope either returns all resources in the zone or no resources,\nwith an error code.", +"location": "query", +"type": "boolean" +}, +"view": { +"description": "View of the instance template.", +"enum": [ +"BASIC", +"FULL", +"INSTANCE_VIEW_UNSPECIFIED" +], +"enumDescriptions": [ +"Include everything except Partner Metadata.", +"Include everything.", +"The default / unset value. The API will default to the BASIC view." +], +"location": "query", +"type": "string" +} +}, +"path": "projects/{project}/global/instanceTemplates", +"response": { +"$ref": "InstanceTemplateList" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"setIamPolicy": { +"description": "Sets the access control policy on the specified resource.\nReplaces any existing policy.", +"flatPath": "projects/{project}/global/instanceTemplates/{resource}/setIamPolicy", +"httpMethod": "POST", +"id": "compute.instanceTemplates.setIamPolicy", +"parameterOrder": [ +"project", +"resource" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"resource": { +"description": "Name or id of the resource for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9_]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/global/instanceTemplates/{resource}/setIamPolicy", +"request": { +"$ref": "GlobalSetPolicyRequest" +}, +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"testIamPermissions": { +"description": "Returns permissions that a caller has on the specified resource.", +"flatPath": "projects/{project}/global/instanceTemplates/{resource}/testIamPermissions", +"httpMethod": "POST", +"id": "compute.instanceTemplates.testIamPermissions", +"parameterOrder": [ +"project", +"resource" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"resource": { +"description": "Name or id of the resource for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9_]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/global/instanceTemplates/{resource}/testIamPermissions", +"request": { +"$ref": "TestPermissionsRequest" +}, +"response": { +"$ref": "TestPermissionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +} +} +}, +"instances": { +"methods": { +"addAccessConfig": { +"description": "Adds an access config to an instance's network interface.", +"flatPath": "projects/{project}/zones/{zone}/instances/{instance}/addAccessConfig", +"httpMethod": "POST", +"id": "compute.instances.addAccessConfig", +"parameterOrder": [ +"project", +"zone", +"instance", +"networkInterface" +], +"parameters": { +"instance": { +"description": "The instance name for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +}, +"networkInterface": { +"description": "The name of the network interface to add to this instance.", +"location": "query", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"zone": { +"description": "The name of the zone for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/zones/{zone}/instances/{instance}/addAccessConfig", +"request": { +"$ref": "AccessConfig" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"addNetworkInterface": { +"description": "Adds one dynamic network interface to an active instance.", +"flatPath": "projects/{project}/zones/{zone}/instances/{instance}/addNetworkInterface", +"httpMethod": "POST", +"id": "compute.instances.addNetworkInterface", +"parameterOrder": [ +"project", +"zone", +"instance" +], +"parameters": { +"instance": { +"description": "The instance name for this request stored as resource_id.\nName should conform to RFC1035 or be an unsigned long integer.", +"location": "path", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"zone": { +"description": "The name of the zone for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/zones/{zone}/instances/{instance}/addNetworkInterface", +"request": { +"$ref": "NetworkInterface" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"addResourcePolicies": { +"description": "Adds existing resource policies to an instance. You can only add one\npolicy right now which will be applied to this instance for scheduling live\nmigrations.", +"flatPath": "projects/{project}/zones/{zone}/instances/{instance}/addResourcePolicies", +"httpMethod": "POST", +"id": "compute.instances.addResourcePolicies", +"parameterOrder": [ +"project", +"zone", +"instance" +], +"parameters": { +"instance": { +"description": "The instance name for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"zone": { +"description": "The name of the zone for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/zones/{zone}/instances/{instance}/addResourcePolicies", +"request": { +"$ref": "InstancesAddResourcePoliciesRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"aggregatedList": { +"description": "Retrieves an aggregated list of all of the instances in your project\nacross all regions and zones.\n\nThe performance of this method degrades when a filter is specified on a\nproject that has a very large number of instances.\n\nTo prevent failure, Google recommends that you set the\n`returnPartialSuccess` parameter to `true`.", +"flatPath": "projects/{project}/aggregated/instances", +"httpMethod": "GET", +"id": "compute.instances.aggregatedList", +"parameterOrder": [ +"project" +], +"parameters": { +"filter": { +"description": "A filter expression that filters resources listed in the response. Most\nCompute resources support two types of filter expressions:\nexpressions that support regular expressions and expressions that follow\nAPI improvement proposal AIP-160.\nThese two types of filter expressions cannot be mixed in one request.\n\nIf you want to use AIP-160, your expression must specify the field name, an\noperator, and the value that you want to use for filtering. The value\nmust be a string, a number, or a boolean. The operator\nmust be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.\n\nFor example, if you are filtering Compute Engine instances, you can\nexclude instances named `example-instance` by specifying\n`name != example-instance`.\n\nThe `:*` comparison can be used to test whether a key has been defined.\nFor example, to find all objects with `owner` label use:\n```\nlabels.owner:*\n```\n\nYou can also filter nested fields. For example, you could specify\n`scheduling.automaticRestart = false` to include instances only\nif they are not scheduled for automatic restarts. You can use filtering\non nested fields to filter based onresource labels.\n\nTo filter on multiple expressions, provide each separate expression within\nparentheses. For example:\n```\n(scheduling.automaticRestart = true)\n(cpuPlatform = \"Intel Skylake\")\n```\nBy default, each expression is an `AND` expression. However, you\ncan include `AND` and `OR` expressions explicitly.\nFor example:\n```\n(cpuPlatform = \"Intel Skylake\") OR\n(cpuPlatform = \"Intel Broadwell\") AND\n(scheduling.automaticRestart = true)\n```\n\nIf you want to use a regular expression, use the `eq` (equal) or `ne`\n(not equal) operator against a single un-parenthesized expression with or\nwithout quotes or against multiple parenthesized expressions. Examples:\n\n`fieldname eq unquoted literal`\n`fieldname eq 'single quoted literal'`\n`fieldname eq \"double quoted literal\"`\n`(fieldname1 eq literal) (fieldname2 ne \"literal\")`\n\nThe literal value is interpreted as a regular expression using GoogleRE2 library syntax.\nThe literal value must match the entire field.\n\nFor example, to filter for instances that do not end with name \"instance\",\nyou would use `name ne .*instance`.\n\nYou cannot combine constraints on multiple fields using regular\nexpressions.", +"location": "query", +"type": "string" +}, +"includeAllScopes": { +"description": "Indicates whether every visible scope for each scope type (zone, region,\nglobal) should be included in the response. For new resource types added\nafter this field, the flag has no effect as new resource types will always\ninclude every visible scope for each scope type in response. For resource\ntypes which predate this field, if this flag is omitted or false, only\nscopes of the scope types where the resource type is expected to be found\nwill be included.", +"location": "query", +"type": "boolean" +}, +"maxResults": { +"default": "500", +"description": "The maximum number of results per page that should be returned.\nIf the number of available results is larger than `maxResults`,\nCompute Engine returns a `nextPageToken` that can be used to get\nthe next page of results in subsequent list requests. Acceptable values are\n`0` to `500`, inclusive. (Default: `500`)", +"format": "uint32", +"location": "query", +"minimum": "0", +"type": "integer" +}, +"orderBy": { +"description": "Sorts list results by a certain order. By default, results\nare returned in alphanumerical order based on the resource name.\n\nYou can also sort results in descending order based on the creation\ntimestamp using `orderBy=\"creationTimestamp desc\"`. This sorts\nresults based on the `creationTimestamp` field in\nreverse chronological order (newest result first). Use this to sort\nresources like operations so that the newest operation is returned first.\n\nCurrently, only sorting by `name` or\n`creationTimestamp desc` is supported.", +"location": "query", +"type": "string" +}, +"pageToken": { +"description": "Specifies a page token to use. Set `pageToken` to the\n`nextPageToken` returned by a previous list request to get\nthe next page of results.", +"location": "query", +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"returnPartialSuccess": { +"description": "Opt-in for partial success behavior which provides partial results in case\nof failure. The default value is false.\n\nFor example, when partial success behavior is enabled, aggregatedList for a\nsingle zone scope either returns all resources in the zone or no resources,\nwith an error code.", +"location": "query", +"type": "boolean" +}, +"serviceProjectNumber": { +"description": "The Shared VPC service project id or service project number for which\naggregated list request is invoked for subnetworks list-usable api.", +"format": "int64", +"location": "query", +"type": "string" +} +}, +"path": "projects/{project}/aggregated/instances", +"response": { +"$ref": "InstanceAggregatedList" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"attachDisk": { +"description": "Attaches an existing Disk resource to an instance. You must first\ncreate the disk before you can attach it. It is not possible to create\nand attach a disk at the same time. For more information, readAdding a\npersistent disk to your instance.", +"flatPath": "projects/{project}/zones/{zone}/instances/{instance}/attachDisk", +"httpMethod": "POST", +"id": "compute.instances.attachDisk", +"parameterOrder": [ +"project", +"zone", +"instance" +], +"parameters": { +"forceAttach": { +"description": "Whether to force attach the regional disk even if it's currently attached\nto another instance. If you try to force attach a zonal disk to an\ninstance, you will receive an error.", +"location": "query", +"type": "boolean" +}, +"instance": { +"description": "The instance name for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"zone": { +"description": "The name of the zone for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/zones/{zone}/instances/{instance}/attachDisk", +"request": { +"$ref": "AttachedDisk" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"bulkInsert": { +"description": "Creates multiple instances. Count specifies the number of instances to\ncreate. For more information, seeAbout bulk\ncreation of VMs.", +"flatPath": "projects/{project}/zones/{zone}/instances/bulkInsert", +"httpMethod": "POST", +"id": "compute.instances.bulkInsert", +"parameterOrder": [ +"project", +"zone" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"zone": { +"description": "The name of the zone for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/zones/{zone}/instances/bulkInsert", +"request": { +"$ref": "BulkInsertInstanceResource" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"delete": { +"description": "Deletes the specified Instance resource. For more information, seeDeleting\nan instance.", +"flatPath": "projects/{project}/zones/{zone}/instances/{instance}", +"httpMethod": "DELETE", +"id": "compute.instances.delete", +"parameterOrder": [ +"project", +"zone", +"instance" +], +"parameters": { +"instance": { +"description": "Name of the instance resource to delete.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +}, +"noGracefulShutdown": { +"description": "If set to true, Graceful Shutdown is skipped.", +"location": "query", +"type": "boolean" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"zone": { +"description": "The name of the zone for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/zones/{zone}/instances/{instance}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"deleteAccessConfig": { +"description": "Deletes an access config from an instance's network interface.", +"flatPath": "projects/{project}/zones/{zone}/instances/{instance}/deleteAccessConfig", +"httpMethod": "POST", +"id": "compute.instances.deleteAccessConfig", +"parameterOrder": [ +"project", +"zone", +"instance", +"accessConfig", +"networkInterface" +], +"parameters": { +"accessConfig": { +"description": "The name of the access config to delete.", +"location": "query", +"required": true, +"type": "string" +}, +"instance": { +"description": "The instance name for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +}, +"networkInterface": { +"description": "The name of the network interface.", +"location": "query", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"zone": { +"description": "The name of the zone for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/zones/{zone}/instances/{instance}/deleteAccessConfig", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"deleteNetworkInterface": { +"description": "Deletes one dynamic network interface from an active instance.\nInstancesDeleteNetworkInterfaceRequest indicates:\n- instance from which to delete, using project+zone+resource_id fields;\n- dynamic network interface to be deleted, using network_interface_name\nfield;", +"flatPath": "projects/{project}/zones/{zone}/instances/{instance}/deleteNetworkInterface", +"httpMethod": "POST", +"id": "compute.instances.deleteNetworkInterface", +"parameterOrder": [ +"project", +"zone", +"instance", +"networkInterfaceName" +], +"parameters": { +"instance": { +"description": "The instance name for this request stored as resource_id.\nName should conform to RFC1035 or be an unsigned long integer.", +"location": "path", +"required": true, +"type": "string" +}, +"networkInterfaceName": { +"description": "The name of the dynamic network interface to be deleted from the instance.", +"location": "query", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"zone": { +"description": "The name of the zone for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/zones/{zone}/instances/{instance}/deleteNetworkInterface", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"detachDisk": { +"description": "Detaches a disk from an instance.", +"flatPath": "projects/{project}/zones/{zone}/instances/{instance}/detachDisk", +"httpMethod": "POST", +"id": "compute.instances.detachDisk", +"parameterOrder": [ +"project", +"zone", +"instance", +"deviceName" +], +"parameters": { +"deviceName": { +"description": "The device name of the disk to detach. Make a get() request on\nthe instance to view currently attached disks and device names.", +"location": "query", +"required": true, +"type": "string" +}, +"instance": { +"description": "Instance name for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"zone": { +"description": "The name of the zone for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/zones/{zone}/instances/{instance}/detachDisk", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"get": { +"description": "Returns the specified Instance resource.", +"flatPath": "projects/{project}/zones/{zone}/instances/{instance}", +"httpMethod": "GET", +"id": "compute.instances.get", +"parameterOrder": [ +"project", +"zone", +"instance" +], +"parameters": { +"instance": { +"description": "Name of the instance resource to return.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"view": { +"description": "View of the instance.", +"enum": [ +"BASIC", +"FULL", +"INSTANCE_VIEW_UNSPECIFIED" +], +"enumDescriptions": [ +"Include everything except Partner Metadata.", +"Include everything.", +"The default / unset value. The API will default to the BASIC view." +], +"location": "query", +"type": "string" +}, +"zone": { +"description": "The name of the zone for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/zones/{zone}/instances/{instance}", +"response": { +"$ref": "Instance" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"getEffectiveFirewalls": { +"description": "Returns effective firewalls applied to an interface of the instance.", +"flatPath": "projects/{project}/zones/{zone}/instances/{instance}/getEffectiveFirewalls", +"httpMethod": "GET", +"id": "compute.instances.getEffectiveFirewalls", +"parameterOrder": [ +"project", +"zone", +"instance", +"networkInterface" +], +"parameters": { +"instance": { +"description": "Name of the instance scoping this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +}, +"networkInterface": { +"description": "The name of the network interface to get the effective firewalls.", +"location": "query", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"zone": { +"description": "The name of the zone for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/zones/{zone}/instances/{instance}/getEffectiveFirewalls", +"response": { +"$ref": "InstancesGetEffectiveFirewallsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"getGuestAttributes": { +"description": "Returns the specified guest attributes entry.", +"flatPath": "projects/{project}/zones/{zone}/instances/{instance}/getGuestAttributes", +"httpMethod": "GET", +"id": "compute.instances.getGuestAttributes", +"parameterOrder": [ +"project", +"zone", +"instance" +], +"parameters": { +"instance": { +"description": "Name of the instance scoping this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"queryPath": { +"description": "Specifies the guest attributes path to be queried.", +"location": "query", +"type": "string" +}, +"variableKey": { +"description": "Specifies the key for the guest attributes entry.", +"location": "query", +"type": "string" +}, +"zone": { +"description": "The name of the zone for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/zones/{zone}/instances/{instance}/getGuestAttributes", +"response": { +"$ref": "GuestAttributes" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"getIamPolicy": { +"description": "Gets the access control policy for a resource. May be empty if no such\npolicy or resource exists.", +"flatPath": "projects/{project}/zones/{zone}/instances/{resource}/getIamPolicy", +"httpMethod": "GET", +"id": "compute.instances.getIamPolicy", +"parameterOrder": [ +"project", +"zone", +"resource" +], +"parameters": { +"optionsRequestedPolicyVersion": { +"description": "Requested IAM Policy version.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"resource": { +"description": "Name or id of the resource for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +}, +"zone": { +"description": "The name of the zone for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/zones/{zone}/instances/{resource}/getIamPolicy", +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"getPartnerMetadata": { +"description": "Gets partner metadata of the specified instance and namespaces.", +"flatPath": "projects/{project}/zones/{zone}/instances/{instance}/getPartnerMetadata", +"httpMethod": "GET", +"id": "compute.instances.getPartnerMetadata", +"parameterOrder": [ +"project", +"zone", +"instance" +], +"parameters": { +"instance": { +"description": "Name of the instance scoping this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +}, +"namespaces": { +"description": "Comma separated partner metadata namespaces.", +"location": "query", +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"zone": { +"description": "The name of the zone for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/zones/{zone}/instances/{instance}/getPartnerMetadata", +"response": { +"$ref": "PartnerMetadata" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"getScreenshot": { +"description": "Returns the screenshot from the specified instance.", +"flatPath": "projects/{project}/zones/{zone}/instances/{instance}/screenshot", +"httpMethod": "GET", +"id": "compute.instances.getScreenshot", +"parameterOrder": [ +"project", +"zone", +"instance" +], +"parameters": { +"instance": { +"description": "Name of the instance scoping this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"zone": { +"description": "The name of the zone for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/zones/{zone}/instances/{instance}/screenshot", +"response": { +"$ref": "Screenshot" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"getSerialPortOutput": { +"description": "Returns the last 1 MB of serial port output from the specified instance.", +"flatPath": "projects/{project}/zones/{zone}/instances/{instance}/serialPort", +"httpMethod": "GET", +"id": "compute.instances.getSerialPortOutput", +"parameterOrder": [ +"project", +"zone", +"instance" +], +"parameters": { +"instance": { +"description": "Name of the instance for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +}, +"port": { +"default": "1", +"description": "Specifies which COM or serial port to retrieve data from.", +"format": "int32", +"location": "query", +"maximum": "4", +"minimum": "1", +"type": "integer" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"start": { +"description": "Specifies the starting byte position of the output to return. To start with\nthe first byte of output to the specified port, omit this field or set it\nto `0`.\n\nIf the output for that byte position is available, this field matches the\n`start` parameter sent with the request. If the amount of serial console\noutput exceeds the size of the buffer (1 MB), the oldest output is\ndiscarded and is no longer available. If the requested start position\nrefers to discarded output, the start position is adjusted to the oldest\noutput still available, and the adjusted start position is returned as the\n`start` property value.\n\nYou can also provide a negative start position, which translates to the\nmost recent number of bytes written to the serial port. For example, -3 is\ninterpreted as the most recent 3 bytes written to the serial console. Note\nthat the negative start is bounded by the retained buffer size, and the\nreturned serial console output will not exceed the max buffer size.", +"format": "int64", +"location": "query", +"type": "string" +}, +"zone": { +"description": "The name of the zone for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/zones/{zone}/instances/{instance}/serialPort", +"response": { +"$ref": "SerialPortOutput" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"getShieldedInstanceIdentity": { +"description": "Returns the Shielded Instance Identity of an instance", +"flatPath": "projects/{project}/zones/{zone}/instances/{instance}/getShieldedInstanceIdentity", +"httpMethod": "GET", +"id": "compute.instances.getShieldedInstanceIdentity", +"parameterOrder": [ +"project", +"zone", +"instance" +], +"parameters": { +"instance": { +"description": "Name or id of the instance scoping this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"zone": { +"description": "The name of the zone for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/zones/{zone}/instances/{instance}/getShieldedInstanceIdentity", +"response": { +"$ref": "ShieldedInstanceIdentity" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"getShieldedVmIdentity": { +"description": "Returns the Shielded VM Identity of an instance", +"flatPath": "projects/{project}/zones/{zone}/instances/{instance}/getShieldedVmIdentity", +"httpMethod": "GET", +"id": "compute.instances.getShieldedVmIdentity", +"parameterOrder": [ +"project", +"zone", +"instance" +], +"parameters": { +"instance": { +"description": "Name of the instance scoping this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"zone": { +"description": "The name of the zone for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/zones/{zone}/instances/{instance}/getShieldedVmIdentity", +"response": { +"$ref": "ShieldedVmIdentity" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"insert": { +"description": "Creates an instance resource in the specified project using the data\nincluded in the request.", +"flatPath": "projects/{project}/zones/{zone}/instances", +"httpMethod": "POST", +"id": "compute.instances.insert", +"parameterOrder": [ +"project", +"zone" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"sourceInstanceTemplate": { +"description": "Specifies instance template to create the instance.\n\nThis field is optional. It can be a full or partial URL. For example, the\nfollowing are all valid URLs to an instance template:\n \n \n - https://www.googleapis.com/compute/v1/projects/project/global/instanceTemplates/instanceTemplate\n - projects/project/global/instanceTemplates/instanceTemplate\n - global/instanceTemplates/instanceTemplate", +"location": "query", +"type": "string" +}, +"sourceMachineImage": { +"description": "Specifies the machine image to use to create the instance.\n\nThis field is optional. It can be a full or partial URL. For example, the\nfollowing are all valid URLs to a machine image:\n \n \n - https://www.googleapis.com/compute/v1/projects/project/global/global/machineImages/machineImage\n - projects/project/global/global/machineImages/machineImage\n - global/machineImages/machineImage", +"location": "query", +"type": "string" +}, +"zone": { +"description": "The name of the zone for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/zones/{zone}/instances", +"request": { +"$ref": "Instance" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"list": { +"description": "Retrieves the list of instances contained within\nthe specified zone.", +"flatPath": "projects/{project}/zones/{zone}/instances", +"httpMethod": "GET", +"id": "compute.instances.list", +"parameterOrder": [ +"project", +"zone" +], +"parameters": { +"filter": { +"description": "A filter expression that filters resources listed in the response. Most\nCompute resources support two types of filter expressions:\nexpressions that support regular expressions and expressions that follow\nAPI improvement proposal AIP-160.\nThese two types of filter expressions cannot be mixed in one request.\n\nIf you want to use AIP-160, your expression must specify the field name, an\noperator, and the value that you want to use for filtering. The value\nmust be a string, a number, or a boolean. The operator\nmust be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.\n\nFor example, if you are filtering Compute Engine instances, you can\nexclude instances named `example-instance` by specifying\n`name != example-instance`.\n\nThe `:*` comparison can be used to test whether a key has been defined.\nFor example, to find all objects with `owner` label use:\n```\nlabels.owner:*\n```\n\nYou can also filter nested fields. For example, you could specify\n`scheduling.automaticRestart = false` to include instances only\nif they are not scheduled for automatic restarts. You can use filtering\non nested fields to filter based onresource labels.\n\nTo filter on multiple expressions, provide each separate expression within\nparentheses. For example:\n```\n(scheduling.automaticRestart = true)\n(cpuPlatform = \"Intel Skylake\")\n```\nBy default, each expression is an `AND` expression. However, you\ncan include `AND` and `OR` expressions explicitly.\nFor example:\n```\n(cpuPlatform = \"Intel Skylake\") OR\n(cpuPlatform = \"Intel Broadwell\") AND\n(scheduling.automaticRestart = true)\n```\n\nIf you want to use a regular expression, use the `eq` (equal) or `ne`\n(not equal) operator against a single un-parenthesized expression with or\nwithout quotes or against multiple parenthesized expressions. Examples:\n\n`fieldname eq unquoted literal`\n`fieldname eq 'single quoted literal'`\n`fieldname eq \"double quoted literal\"`\n`(fieldname1 eq literal) (fieldname2 ne \"literal\")`\n\nThe literal value is interpreted as a regular expression using GoogleRE2 library syntax.\nThe literal value must match the entire field.\n\nFor example, to filter for instances that do not end with name \"instance\",\nyou would use `name ne .*instance`.\n\nYou cannot combine constraints on multiple fields using regular\nexpressions.", +"location": "query", +"type": "string" +}, +"maxResults": { +"default": "500", +"description": "The maximum number of results per page that should be returned.\nIf the number of available results is larger than `maxResults`,\nCompute Engine returns a `nextPageToken` that can be used to get\nthe next page of results in subsequent list requests. Acceptable values are\n`0` to `500`, inclusive. (Default: `500`)", +"format": "uint32", +"location": "query", +"minimum": "0", +"type": "integer" +}, +"orderBy": { +"description": "Sorts list results by a certain order. By default, results\nare returned in alphanumerical order based on the resource name.\n\nYou can also sort results in descending order based on the creation\ntimestamp using `orderBy=\"creationTimestamp desc\"`. This sorts\nresults based on the `creationTimestamp` field in\nreverse chronological order (newest result first). Use this to sort\nresources like operations so that the newest operation is returned first.\n\nCurrently, only sorting by `name` or\n`creationTimestamp desc` is supported.", +"location": "query", +"type": "string" +}, +"pageToken": { +"description": "Specifies a page token to use. Set `pageToken` to the\n`nextPageToken` returned by a previous list request to get\nthe next page of results.", +"location": "query", +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"returnPartialSuccess": { +"description": "Opt-in for partial success behavior which provides partial results in case\nof failure. The default value is false.\n\nFor example, when partial success behavior is enabled, aggregatedList for a\nsingle zone scope either returns all resources in the zone or no resources,\nwith an error code.", +"location": "query", +"type": "boolean" +}, +"view": { +"description": "View of the instance.", +"enum": [ +"BASIC", +"FULL", +"INSTANCE_VIEW_UNSPECIFIED" +], +"enumDescriptions": [ +"Include everything except Partner Metadata.", +"Include everything.", +"The default / unset value. The API will default to the BASIC view." +], +"location": "query", +"type": "string" +}, +"zone": { +"description": "The name of the zone for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/zones/{zone}/instances", +"response": { +"$ref": "InstanceList" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"listReferrers": { +"description": "Retrieves a list of resources that refer to the VM instance specified in\nthe request. For example, if the VM instance is part of a managed or\nunmanaged instance group, the referrers list includes the instance group.\nFor more information, readViewing\nreferrers to VM instances.", +"flatPath": "projects/{project}/zones/{zone}/instances/{instance}/referrers", +"httpMethod": "GET", +"id": "compute.instances.listReferrers", +"parameterOrder": [ +"project", +"zone", +"instance" +], +"parameters": { +"filter": { +"description": "A filter expression that filters resources listed in the response. Most\nCompute resources support two types of filter expressions:\nexpressions that support regular expressions and expressions that follow\nAPI improvement proposal AIP-160.\nThese two types of filter expressions cannot be mixed in one request.\n\nIf you want to use AIP-160, your expression must specify the field name, an\noperator, and the value that you want to use for filtering. The value\nmust be a string, a number, or a boolean. The operator\nmust be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.\n\nFor example, if you are filtering Compute Engine instances, you can\nexclude instances named `example-instance` by specifying\n`name != example-instance`.\n\nThe `:*` comparison can be used to test whether a key has been defined.\nFor example, to find all objects with `owner` label use:\n```\nlabels.owner:*\n```\n\nYou can also filter nested fields. For example, you could specify\n`scheduling.automaticRestart = false` to include instances only\nif they are not scheduled for automatic restarts. You can use filtering\non nested fields to filter based onresource labels.\n\nTo filter on multiple expressions, provide each separate expression within\nparentheses. For example:\n```\n(scheduling.automaticRestart = true)\n(cpuPlatform = \"Intel Skylake\")\n```\nBy default, each expression is an `AND` expression. However, you\ncan include `AND` and `OR` expressions explicitly.\nFor example:\n```\n(cpuPlatform = \"Intel Skylake\") OR\n(cpuPlatform = \"Intel Broadwell\") AND\n(scheduling.automaticRestart = true)\n```\n\nIf you want to use a regular expression, use the `eq` (equal) or `ne`\n(not equal) operator against a single un-parenthesized expression with or\nwithout quotes or against multiple parenthesized expressions. Examples:\n\n`fieldname eq unquoted literal`\n`fieldname eq 'single quoted literal'`\n`fieldname eq \"double quoted literal\"`\n`(fieldname1 eq literal) (fieldname2 ne \"literal\")`\n\nThe literal value is interpreted as a regular expression using GoogleRE2 library syntax.\nThe literal value must match the entire field.\n\nFor example, to filter for instances that do not end with name \"instance\",\nyou would use `name ne .*instance`.\n\nYou cannot combine constraints on multiple fields using regular\nexpressions.", +"location": "query", +"type": "string" +}, +"instance": { +"description": "Name of the target instance scoping this request, or '-' if the\nrequest should span over all instances in the container.", +"location": "path", +"pattern": "-|[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +}, +"maxResults": { +"default": "500", +"description": "The maximum number of results per page that should be returned.\nIf the number of available results is larger than `maxResults`,\nCompute Engine returns a `nextPageToken` that can be used to get\nthe next page of results in subsequent list requests. Acceptable values are\n`0` to `500`, inclusive. (Default: `500`)", +"format": "uint32", +"location": "query", +"minimum": "0", +"type": "integer" +}, +"orderBy": { +"description": "Sorts list results by a certain order. By default, results\nare returned in alphanumerical order based on the resource name.\n\nYou can also sort results in descending order based on the creation\ntimestamp using `orderBy=\"creationTimestamp desc\"`. This sorts\nresults based on the `creationTimestamp` field in\nreverse chronological order (newest result first). Use this to sort\nresources like operations so that the newest operation is returned first.\n\nCurrently, only sorting by `name` or\n`creationTimestamp desc` is supported.", +"location": "query", +"type": "string" +}, +"pageToken": { +"description": "Specifies a page token to use. Set `pageToken` to the\n`nextPageToken` returned by a previous list request to get\nthe next page of results.", +"location": "query", +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"returnPartialSuccess": { +"description": "Opt-in for partial success behavior which provides partial results in case\nof failure. The default value is false.\n\nFor example, when partial success behavior is enabled, aggregatedList for a\nsingle zone scope either returns all resources in the zone or no resources,\nwith an error code.", +"location": "query", +"type": "boolean" +}, +"zone": { +"description": "The name of the zone for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/zones/{zone}/instances/{instance}/referrers", +"response": { +"$ref": "InstanceListReferrers" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"patchPartnerMetadata": { +"description": "Patches partner metadata of the specified instance.", +"flatPath": "projects/{project}/zones/{zone}/instances/{instance}/patchPartnerMetadata", +"httpMethod": "POST", +"id": "compute.instances.patchPartnerMetadata", +"parameterOrder": [ +"project", +"zone", +"instance" +], +"parameters": { +"instance": { +"description": "Name of the instance scoping this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"zone": { +"description": "The name of the zone for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/zones/{zone}/instances/{instance}/patchPartnerMetadata", +"request": { +"$ref": "PartnerMetadata" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"performMaintenance": { +"description": "Perform a manual maintenance on the instance.", +"flatPath": "projects/{project}/zones/{zone}/instances/{instance}/performMaintenance", +"httpMethod": "POST", +"id": "compute.instances.performMaintenance", +"parameterOrder": [ +"project", +"zone", +"instance" +], +"parameters": { +"instance": { +"description": "Name of the instance scoping this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"zone": { +"description": "The name of the zone for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/zones/{zone}/instances/{instance}/performMaintenance", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"removeResourcePolicies": { +"description": "Removes resource policies from an instance.", +"flatPath": "projects/{project}/zones/{zone}/instances/{instance}/removeResourcePolicies", +"httpMethod": "POST", +"id": "compute.instances.removeResourcePolicies", +"parameterOrder": [ +"project", +"zone", +"instance" +], +"parameters": { +"instance": { +"description": "The instance name for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"zone": { +"description": "The name of the zone for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/zones/{zone}/instances/{instance}/removeResourcePolicies", +"request": { +"$ref": "InstancesRemoveResourcePoliciesRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"reportHostAsFaulty": { +"description": "Mark the host as faulty and try to restart the instance on a new host.", +"flatPath": "projects/{project}/zones/{zone}/instances/{instance}/reportHostAsFaulty", +"httpMethod": "POST", +"id": "compute.instances.reportHostAsFaulty", +"parameterOrder": [ +"project", +"zone", +"instance" +], +"parameters": { +"instance": { +"description": "Name of the instance scoping this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"zone": { +"description": "The name of the zone for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/zones/{zone}/instances/{instance}/reportHostAsFaulty", +"request": { +"$ref": "InstancesReportHostAsFaultyRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"reset": { +"description": "Performs a reset on the instance. This is a hard reset. The VM\ndoes not do a graceful shutdown. For more information, seeResetting\nan instance.", +"flatPath": "projects/{project}/zones/{zone}/instances/{instance}/reset", +"httpMethod": "POST", +"id": "compute.instances.reset", +"parameterOrder": [ +"project", +"zone", +"instance" +], +"parameters": { +"instance": { +"description": "Name of the instance scoping this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"zone": { +"description": "The name of the zone for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/zones/{zone}/instances/{instance}/reset", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"resume": { +"description": "Resumes an instance that was suspended using theinstances().suspend\nmethod.", +"flatPath": "projects/{project}/zones/{zone}/instances/{instance}/resume", +"httpMethod": "POST", +"id": "compute.instances.resume", +"parameterOrder": [ +"project", +"zone", +"instance" +], +"parameters": { +"instance": { +"description": "Name of the instance resource to resume.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"zone": { +"description": "The name of the zone for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/zones/{zone}/instances/{instance}/resume", +"request": { +"$ref": "InstancesResumeRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"sendDiagnosticInterrupt": { +"description": "Sends diagnostic interrupt to the instance.", +"flatPath": "projects/{project}/zones/{zone}/instances/{instance}/sendDiagnosticInterrupt", +"httpMethod": "POST", +"id": "compute.instances.sendDiagnosticInterrupt", +"parameterOrder": [ +"project", +"zone", +"instance" +], +"parameters": { +"instance": { +"description": "Name of the instance scoping this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"zone": { +"description": "The name of the zone for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/zones/{zone}/instances/{instance}/sendDiagnosticInterrupt", +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"setDeletionProtection": { +"description": "Sets deletion protection on the instance.", +"flatPath": "projects/{project}/zones/{zone}/instances/{resource}/setDeletionProtection", +"httpMethod": "POST", +"id": "compute.instances.setDeletionProtection", +"parameterOrder": [ +"project", +"zone", +"resource" +], +"parameters": { +"deletionProtection": { +"default": "true", +"description": "Whether the resource should be protected against deletion.", +"location": "query", +"type": "boolean" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"resource": { +"description": "Name or id of the resource for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +}, +"zone": { +"description": "The name of the zone for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/zones/{zone}/instances/{resource}/setDeletionProtection", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"setDiskAutoDelete": { +"description": "Sets the auto-delete flag for a disk attached to an instance.", +"flatPath": "projects/{project}/zones/{zone}/instances/{instance}/setDiskAutoDelete", +"httpMethod": "POST", +"id": "compute.instances.setDiskAutoDelete", +"parameterOrder": [ +"project", +"zone", +"instance", +"autoDelete", +"deviceName" +], +"parameters": { +"autoDelete": { +"description": "Whether to auto-delete the disk when the instance is deleted.", +"location": "query", +"required": true, +"type": "boolean" +}, +"deviceName": { +"description": "The device name of the disk to modify. Make a get() request\non the instance to view currently attached disks and device names.", +"location": "query", +"pattern": "\\w[\\w.-]{0,254}", +"required": true, +"type": "string" +}, +"instance": { +"description": "The instance name for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"zone": { +"description": "The name of the zone for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/zones/{zone}/instances/{instance}/setDiskAutoDelete", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"setIamPolicy": { +"description": "Sets the access control policy on the specified resource.\nReplaces any existing policy.", +"flatPath": "projects/{project}/zones/{zone}/instances/{resource}/setIamPolicy", +"httpMethod": "POST", +"id": "compute.instances.setIamPolicy", +"parameterOrder": [ +"project", +"zone", +"resource" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"resource": { +"description": "Name or id of the resource for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +}, +"zone": { +"description": "The name of the zone for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/zones/{zone}/instances/{resource}/setIamPolicy", +"request": { +"$ref": "ZoneSetPolicyRequest" +}, +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"setLabels": { +"description": "Sets labels on an instance. To learn more about labels, read theLabeling\nResources documentation.", +"flatPath": "projects/{project}/zones/{zone}/instances/{instance}/setLabels", +"httpMethod": "POST", +"id": "compute.instances.setLabels", +"parameterOrder": [ +"project", +"zone", +"instance" +], +"parameters": { +"instance": { +"description": "Name of the instance scoping this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"zone": { +"description": "The name of the zone for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/zones/{zone}/instances/{instance}/setLabels", +"request": { +"$ref": "InstancesSetLabelsRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"setMachineResources": { +"description": "Changes the number and/or type of accelerator for a stopped instance to the\nvalues specified in the request.", +"flatPath": "projects/{project}/zones/{zone}/instances/{instance}/setMachineResources", +"httpMethod": "POST", +"id": "compute.instances.setMachineResources", +"parameterOrder": [ +"project", +"zone", +"instance" +], +"parameters": { +"instance": { +"description": "Name of the instance scoping this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"zone": { +"description": "The name of the zone for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/zones/{zone}/instances/{instance}/setMachineResources", +"request": { +"$ref": "InstancesSetMachineResourcesRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"setMachineType": { +"description": "Changes the machine type for a stopped instance to the machine\ntype specified in the request.", +"flatPath": "projects/{project}/zones/{zone}/instances/{instance}/setMachineType", +"httpMethod": "POST", +"id": "compute.instances.setMachineType", +"parameterOrder": [ +"project", +"zone", +"instance" +], +"parameters": { +"instance": { +"description": "Name of the instance scoping this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"zone": { +"description": "The name of the zone for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/zones/{zone}/instances/{instance}/setMachineType", +"request": { +"$ref": "InstancesSetMachineTypeRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"setMetadata": { +"description": "Sets metadata for the specified instance to the data included\nin the request.", +"flatPath": "projects/{project}/zones/{zone}/instances/{instance}/setMetadata", +"httpMethod": "POST", +"id": "compute.instances.setMetadata", +"parameterOrder": [ +"project", +"zone", +"instance" +], +"parameters": { +"instance": { +"description": "Name of the instance scoping this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"zone": { +"description": "The name of the zone for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/zones/{zone}/instances/{instance}/setMetadata", +"request": { +"$ref": "Metadata" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"setMinCpuPlatform": { +"description": "Changes the minimum CPU platform that this instance should use.\nThis method can only\nbe called on a stopped instance. For more information, readSpecifying a\nMinimum CPU Platform.", +"flatPath": "projects/{project}/zones/{zone}/instances/{instance}/setMinCpuPlatform", +"httpMethod": "POST", +"id": "compute.instances.setMinCpuPlatform", +"parameterOrder": [ +"project", +"zone", +"instance" +], +"parameters": { +"instance": { +"description": "Name of the instance scoping this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"zone": { +"description": "The name of the zone for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/zones/{zone}/instances/{instance}/setMinCpuPlatform", +"request": { +"$ref": "InstancesSetMinCpuPlatformRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"setName": { +"description": "Sets name of an instance.", +"flatPath": "projects/{project}/zones/{zone}/instances/{instance}/setName", +"httpMethod": "POST", +"id": "compute.instances.setName", +"parameterOrder": [ +"project", +"zone", +"instance" +], +"parameters": { +"instance": { +"description": "The instance name for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"zone": { +"description": "The name of the zone for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/zones/{zone}/instances/{instance}/setName", +"request": { +"$ref": "InstancesSetNameRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"setScheduling": { +"description": "Sets an instance's scheduling options. You can only call this method on astopped instance,\nthat is, a VM instance that is in a `TERMINATED` state. SeeInstance Life\nCycle for more information on the possible instance states.\nFor more information about setting scheduling options for a VM, seeSet\nVM host maintenance policy.", +"flatPath": "projects/{project}/zones/{zone}/instances/{instance}/setScheduling", +"httpMethod": "POST", +"id": "compute.instances.setScheduling", +"parameterOrder": [ +"project", +"zone", +"instance" +], +"parameters": { +"instance": { +"description": "Instance name for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"zone": { +"description": "The name of the zone for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/zones/{zone}/instances/{instance}/setScheduling", +"request": { +"$ref": "Scheduling" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"setSecurityPolicy": { +"description": "Sets the Google Cloud Armor security policy for the specified instance.\nFor more information, seeGoogle\nCloud Armor Overview", +"flatPath": "projects/{project}/zones/{zone}/instances/{instance}/setSecurityPolicy", +"httpMethod": "POST", +"id": "compute.instances.setSecurityPolicy", +"parameterOrder": [ +"project", +"zone", +"instance" +], +"parameters": { +"instance": { +"description": "Name of the Instance resource to which the security policy should be\nset. The name should conform to RFC1035.", +"location": "path", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"zone": { +"description": "Name of the zone scoping this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/zones/{zone}/instances/{instance}/setSecurityPolicy", +"request": { +"$ref": "InstancesSetSecurityPolicyRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"setServiceAccount": { +"description": "Sets the service account on the instance. For more information,\nreadChanging\nthe service account and access scopes for an instance.", +"flatPath": "projects/{project}/zones/{zone}/instances/{instance}/setServiceAccount", +"httpMethod": "POST", +"id": "compute.instances.setServiceAccount", +"parameterOrder": [ +"project", +"zone", +"instance" +], +"parameters": { +"instance": { +"description": "Name of the instance resource to start.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"zone": { +"description": "The name of the zone for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/zones/{zone}/instances/{instance}/setServiceAccount", +"request": { +"$ref": "InstancesSetServiceAccountRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"setShieldedInstanceIntegrityPolicy": { +"description": "Sets the Shielded Instance integrity policy for an instance. You can\nonly use this method on a running instance. This method\nsupports PATCH semantics and uses the JSON merge\npatch format and processing rules.", +"flatPath": "projects/{project}/zones/{zone}/instances/{instance}/setShieldedInstanceIntegrityPolicy", +"httpMethod": "PATCH", +"id": "compute.instances.setShieldedInstanceIntegrityPolicy", +"parameterOrder": [ +"project", +"zone", +"instance" +], +"parameters": { +"instance": { +"description": "Name or id of the instance scoping this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"zone": { +"description": "The name of the zone for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/zones/{zone}/instances/{instance}/setShieldedInstanceIntegrityPolicy", +"request": { +"$ref": "ShieldedInstanceIntegrityPolicy" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"setShieldedVmIntegrityPolicy": { +"description": "Sets the Shielded VM integrity policy for a VM instance. You can\nonly use this method on a running VM instance. This method\nsupports PATCH semantics and uses the JSON merge\npatch format and processing rules.", +"flatPath": "projects/{project}/zones/{zone}/instances/{instance}/setShieldedVmIntegrityPolicy", +"httpMethod": "PATCH", +"id": "compute.instances.setShieldedVmIntegrityPolicy", +"parameterOrder": [ +"project", +"zone", +"instance" +], +"parameters": { +"instance": { +"description": "Name of the instance scoping this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"zone": { +"description": "The name of the zone for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/zones/{zone}/instances/{instance}/setShieldedVmIntegrityPolicy", +"request": { +"$ref": "ShieldedVmIntegrityPolicy" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"setTags": { +"description": "Sets network tags\nfor the specified instance to the data included in the request.", +"flatPath": "projects/{project}/zones/{zone}/instances/{instance}/setTags", +"httpMethod": "POST", +"id": "compute.instances.setTags", +"parameterOrder": [ +"project", +"zone", +"instance" +], +"parameters": { +"instance": { +"description": "Name of the instance scoping this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"zone": { +"description": "The name of the zone for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/zones/{zone}/instances/{instance}/setTags", +"request": { +"$ref": "Tags" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"simulateMaintenanceEvent": { +"description": "Simulates a host maintenance event on a VM. For more information, see\nSimulate a host maintenance event.", +"flatPath": "projects/{project}/zones/{zone}/instances/{instance}/simulateMaintenanceEvent", +"httpMethod": "POST", +"id": "compute.instances.simulateMaintenanceEvent", +"parameterOrder": [ +"project", +"zone", +"instance" +], +"parameters": { +"instance": { +"description": "Name of the instance scoping this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"withExtendedNotifications": { +"description": "Determines whether the customers receive notifications before migration.\nOnly applicable to SF vms.", +"location": "query", +"type": "boolean" +}, +"zone": { +"description": "The name of the zone for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/zones/{zone}/instances/{instance}/simulateMaintenanceEvent", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"start": { +"description": "Starts an instance that was stopped using theinstances().stop\nmethod. For more information, seeRestart an\ninstance.", +"flatPath": "projects/{project}/zones/{zone}/instances/{instance}/start", +"httpMethod": "POST", +"id": "compute.instances.start", +"parameterOrder": [ +"project", +"zone", +"instance" +], +"parameters": { +"instance": { +"description": "Name of the instance resource to start.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"zone": { +"description": "The name of the zone for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/zones/{zone}/instances/{instance}/start", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"startWithEncryptionKey": { +"description": "Starts an instance that was stopped using theinstances().stop\nmethod. For more information, seeRestart an\ninstance.", +"flatPath": "projects/{project}/zones/{zone}/instances/{instance}/startWithEncryptionKey", +"httpMethod": "POST", +"id": "compute.instances.startWithEncryptionKey", +"parameterOrder": [ +"project", +"zone", +"instance" +], +"parameters": { +"instance": { +"description": "Name of the instance resource to start.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"zone": { +"description": "The name of the zone for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/zones/{zone}/instances/{instance}/startWithEncryptionKey", +"request": { +"$ref": "InstancesStartWithEncryptionKeyRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"stop": { +"description": "Stops a running instance, shutting it down cleanly, and allows\nyou to restart the instance at a later time. Stopped instances do not incur\nVM usage charges while they are stopped. However, resources that the VM is\nusing, such as persistent disks and static IP addresses, will continue to\nbe charged until they are deleted. For more information, seeStopping\nan instance.", +"flatPath": "projects/{project}/zones/{zone}/instances/{instance}/stop", +"httpMethod": "POST", +"id": "compute.instances.stop", +"parameterOrder": [ +"project", +"zone", +"instance" +], +"parameters": { +"discardLocalSsd": { +"description": "This property is required if the instance has any attached Local SSD disks.\nIf false, Local SSD data will be preserved when the instance is suspended.\nIf true, the contents of any attached Local SSD disks will be discarded.", +"location": "query", +"type": "boolean" +}, +"instance": { +"description": "Name of the instance resource to stop.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +}, +"noGracefulShutdown": { +"description": "If set to true, Graceful Shutdown is skipped.", +"location": "query", +"type": "boolean" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"zone": { +"description": "The name of the zone for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/zones/{zone}/instances/{instance}/stop", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"suspend": { +"description": "This method suspends a running instance, saving its state to persistent\nstorage, and allows you to resume the instance at a later time. Suspended\ninstances have no compute costs (cores or RAM), and incur only storage\ncharges for the saved VM memory and localSSD data. Any charged resources\nthe virtual machine was using, such as persistent disks and static IP\naddresses, will continue to be charged while the instance is suspended.\nFor more information, see\nSuspending and resuming an instance.", +"flatPath": "projects/{project}/zones/{zone}/instances/{instance}/suspend", +"httpMethod": "POST", +"id": "compute.instances.suspend", +"parameterOrder": [ +"project", +"zone", +"instance" +], +"parameters": { +"discardLocalSsd": { +"description": "This property is required if the instance has any attached Local SSD disks.\nIf false, Local SSD data will be preserved when the instance is suspended.\nIf true, the contents of any attached Local SSD disks will be discarded.", +"location": "query", +"type": "boolean" +}, +"instance": { +"description": "Name of the instance resource to suspend.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"zone": { +"description": "The name of the zone for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/zones/{zone}/instances/{instance}/suspend", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"testIamPermissions": { +"description": "Returns permissions that a caller has on the specified resource.", +"flatPath": "projects/{project}/zones/{zone}/instances/{resource}/testIamPermissions", +"httpMethod": "POST", +"id": "compute.instances.testIamPermissions", +"parameterOrder": [ +"project", +"zone", +"resource" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"resource": { +"description": "Name or id of the resource for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +}, +"zone": { +"description": "The name of the zone for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/zones/{zone}/instances/{resource}/testIamPermissions", +"request": { +"$ref": "TestPermissionsRequest" +}, +"response": { +"$ref": "TestPermissionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"update": { +"description": "Updates an instance only if the necessary resources are available. This\nmethod can update only a specific set of instance properties. See\nUpdating a running instance for a list of updatable instance\nproperties.", +"flatPath": "projects/{project}/zones/{zone}/instances/{instance}", +"httpMethod": "PUT", +"id": "compute.instances.update", +"parameterOrder": [ +"project", +"zone", +"instance" +], +"parameters": { +"instance": { +"description": "Name of the instance resource to update.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +}, +"minimalAction": { +"description": "Specifies the action to take when updating an instance even if the\nupdated properties do not require it. If not specified, then\nCompute Engine acts based on the minimum action that the updated\nproperties require.", +"enum": [ +"INVALID", +"NO_EFFECT", +"REFRESH", +"RESTART" +], +"enumDescriptions": [ +"", +"No changes can be made to the instance.", +"The instance will not restart.", +"The instance will restart, potentially on a different host." +], +"location": "query", +"type": "string" +}, +"mostDisruptiveAllowedAction": { +"description": "Specifies the most disruptive action that can be taken on the instance\nas part of the update. Compute Engine returns an error if the\ninstance properties require a more disruptive action as part of the\ninstance update. Valid options from lowest to highest are\nNO_EFFECT, REFRESH, and RESTART.", +"enum": [ +"INVALID", +"NO_EFFECT", +"REFRESH", +"RESTART" +], +"enumDescriptions": [ +"", +"No changes can be made to the instance.", +"The instance will not restart.", +"The instance will restart, potentially on a different host." +], +"location": "query", +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"zone": { +"description": "The name of the zone for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/zones/{zone}/instances/{instance}", +"request": { +"$ref": "Instance" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"updateAccessConfig": { +"description": "Updates the specified access config from an instance's network interface\nwith the data included in the request. This method supportsPATCH\nsemantics and uses theJSON merge\npatch format and processing rules.", +"flatPath": "projects/{project}/zones/{zone}/instances/{instance}/updateAccessConfig", +"httpMethod": "POST", +"id": "compute.instances.updateAccessConfig", +"parameterOrder": [ +"project", +"zone", +"instance", +"networkInterface" +], +"parameters": { +"instance": { +"description": "The instance name for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +}, +"networkInterface": { +"description": "The name of the network interface where the access config is attached.", +"location": "query", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"zone": { +"description": "The name of the zone for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/zones/{zone}/instances/{instance}/updateAccessConfig", +"request": { +"$ref": "AccessConfig" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"updateDisplayDevice": { +"description": "Updates the Display config for a VM instance. You can\nonly use this method on a stopped VM instance. This method supportsPATCH\nsemantics and uses theJSON merge\npatch format and processing rules.", +"flatPath": "projects/{project}/zones/{zone}/instances/{instance}/updateDisplayDevice", +"httpMethod": "PATCH", +"id": "compute.instances.updateDisplayDevice", +"parameterOrder": [ +"project", +"zone", +"instance" +], +"parameters": { +"instance": { +"description": "Name of the instance scoping this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"zone": { +"description": "The name of the zone for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/zones/{zone}/instances/{instance}/updateDisplayDevice", +"request": { +"$ref": "DisplayDevice" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"updateNetworkInterface": { +"description": "Updates an instance's network interface. This method can only update an\ninterface's alias IP range and attached network. See Modifying\nalias IP ranges for an existing instance for instructions on\nchanging alias IP ranges. See Migrating\na VM between networks for instructions on migrating an interface.\nThis method follows PATCH semantics.", +"flatPath": "projects/{project}/zones/{zone}/instances/{instance}/updateNetworkInterface", +"httpMethod": "PATCH", +"id": "compute.instances.updateNetworkInterface", +"parameterOrder": [ +"project", +"zone", +"instance", +"networkInterface" +], +"parameters": { +"instance": { +"description": "The instance name for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +}, +"networkInterface": { +"description": "The name of the network interface to update.", +"location": "query", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"zone": { +"description": "The name of the zone for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/zones/{zone}/instances/{instance}/updateNetworkInterface", +"request": { +"$ref": "NetworkInterface" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"updateShieldedInstanceConfig": { +"description": "Updates the Shielded Instance config for an instance. You can\nonly use this method on a stopped instance. This method supportsPATCH\nsemantics and uses theJSON merge\npatch format and processing rules.", +"flatPath": "projects/{project}/zones/{zone}/instances/{instance}/updateShieldedInstanceConfig", +"httpMethod": "PATCH", +"id": "compute.instances.updateShieldedInstanceConfig", +"parameterOrder": [ +"project", +"zone", +"instance" +], +"parameters": { +"instance": { +"description": "Name or id of the instance scoping this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"zone": { +"description": "The name of the zone for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/zones/{zone}/instances/{instance}/updateShieldedInstanceConfig", +"request": { +"$ref": "ShieldedInstanceConfig" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"updateShieldedVmConfig": { +"description": "Updates the Shielded VM config for a VM instance. You can\nonly use this method on a stopped VM instance. This method supportsPATCH\nsemantics and uses theJSON merge\npatch format and processing rules.", +"flatPath": "projects/{project}/zones/{zone}/instances/{instance}/updateShieldedVmConfig", +"httpMethod": "PATCH", +"id": "compute.instances.updateShieldedVmConfig", +"parameterOrder": [ +"project", +"zone", +"instance" +], +"parameters": { +"instance": { +"description": "Name of the instance scoping this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"zone": { +"description": "The name of the zone for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/zones/{zone}/instances/{instance}/updateShieldedVmConfig", +"request": { +"$ref": "ShieldedVmConfig" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +} +} +}, +"instantSnapshotGroups": { +"methods": { +"delete": { +"description": "deletes a Zonal InstantSnapshotGroup resource", +"flatPath": "projects/{project}/zones/{zone}/instantSnapshotGroups/{instantSnapshotGroup}", +"httpMethod": "DELETE", +"id": "compute.instantSnapshotGroups.delete", +"parameterOrder": [ +"project", +"zone", +"instantSnapshotGroup" +], +"parameters": { +"instantSnapshotGroup": { +"description": "Name of the InstantSnapshot resource to delete.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"zone": { +"description": "The name of the zone for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/zones/{zone}/instantSnapshotGroups/{instantSnapshotGroup}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"get": { +"description": "returns the specified InstantSnapshotGroup resource in the specified zone.", +"flatPath": "projects/{project}/zones/{zone}/instantSnapshotGroups/{instantSnapshotGroup}", +"httpMethod": "GET", +"id": "compute.instantSnapshotGroups.get", +"parameterOrder": [ +"project", +"zone", +"instantSnapshotGroup" +], +"parameters": { +"instantSnapshotGroup": { +"description": "Name of the InstantSnapshotGroup resource to return.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"zone": { +"description": "The name of the zone for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/zones/{zone}/instantSnapshotGroups/{instantSnapshotGroup}", +"response": { +"$ref": "InstantSnapshotGroup" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"getIamPolicy": { +"description": "Gets the access control policy for a resource. May be empty if no such\npolicy or resource exists.", +"flatPath": "projects/{project}/zones/{zone}/instantSnapshotGroups/{resource}/getIamPolicy", +"httpMethod": "GET", +"id": "compute.instantSnapshotGroups.getIamPolicy", +"parameterOrder": [ +"project", +"zone", +"resource" +], +"parameters": { +"optionsRequestedPolicyVersion": { +"description": "Requested IAM Policy version.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"resource": { +"description": "Name or id of the resource for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +}, +"zone": { +"description": "The name of the zone for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/zones/{zone}/instantSnapshotGroups/{resource}/getIamPolicy", +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"insert": { +"description": "inserts a Zonal InstantSnapshotGroup resource", +"flatPath": "projects/{project}/zones/{zone}/instantSnapshotGroups", +"httpMethod": "POST", +"id": "compute.instantSnapshotGroups.insert", +"parameterOrder": [ +"project", +"zone" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"sourceConsistencyGroup": { +"description": "begin_interface: MixerMutationRequestBuilder", +"location": "query", +"type": "string" +}, +"zone": { +"description": "Name of the zone for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/zones/{zone}/instantSnapshotGroups", +"request": { +"$ref": "InstantSnapshotGroup" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"list": { +"description": "retrieves the list of InstantSnapshotGroup resources contained within\nthe specified zone.", +"flatPath": "projects/{project}/zones/{zone}/instantSnapshotGroups", +"httpMethod": "GET", +"id": "compute.instantSnapshotGroups.list", +"parameterOrder": [ +"project", +"zone" +], +"parameters": { +"filter": { +"description": "A filter expression that filters resources listed in the response. Most\nCompute resources support two types of filter expressions:\nexpressions that support regular expressions and expressions that follow\nAPI improvement proposal AIP-160.\nThese two types of filter expressions cannot be mixed in one request.\n\nIf you want to use AIP-160, your expression must specify the field name, an\noperator, and the value that you want to use for filtering. The value\nmust be a string, a number, or a boolean. The operator\nmust be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.\n\nFor example, if you are filtering Compute Engine instances, you can\nexclude instances named `example-instance` by specifying\n`name != example-instance`.\n\nThe `:*` comparison can be used to test whether a key has been defined.\nFor example, to find all objects with `owner` label use:\n```\nlabels.owner:*\n```\n\nYou can also filter nested fields. For example, you could specify\n`scheduling.automaticRestart = false` to include instances only\nif they are not scheduled for automatic restarts. You can use filtering\non nested fields to filter based onresource labels.\n\nTo filter on multiple expressions, provide each separate expression within\nparentheses. For example:\n```\n(scheduling.automaticRestart = true)\n(cpuPlatform = \"Intel Skylake\")\n```\nBy default, each expression is an `AND` expression. However, you\ncan include `AND` and `OR` expressions explicitly.\nFor example:\n```\n(cpuPlatform = \"Intel Skylake\") OR\n(cpuPlatform = \"Intel Broadwell\") AND\n(scheduling.automaticRestart = true)\n```\n\nIf you want to use a regular expression, use the `eq` (equal) or `ne`\n(not equal) operator against a single un-parenthesized expression with or\nwithout quotes or against multiple parenthesized expressions. Examples:\n\n`fieldname eq unquoted literal`\n`fieldname eq 'single quoted literal'`\n`fieldname eq \"double quoted literal\"`\n`(fieldname1 eq literal) (fieldname2 ne \"literal\")`\n\nThe literal value is interpreted as a regular expression using GoogleRE2 library syntax.\nThe literal value must match the entire field.\n\nFor example, to filter for instances that do not end with name \"instance\",\nyou would use `name ne .*instance`.\n\nYou cannot combine constraints on multiple fields using regular\nexpressions.", +"location": "query", +"type": "string" +}, +"maxResults": { +"default": "500", +"description": "The maximum number of results per page that should be returned.\nIf the number of available results is larger than `maxResults`,\nCompute Engine returns a `nextPageToken` that can be used to get\nthe next page of results in subsequent list requests. Acceptable values are\n`0` to `500`, inclusive. (Default: `500`)", +"format": "uint32", +"location": "query", +"minimum": "0", +"type": "integer" +}, +"orderBy": { +"description": "Sorts list results by a certain order. By default, results\nare returned in alphanumerical order based on the resource name.\n\nYou can also sort results in descending order based on the creation\ntimestamp using `orderBy=\"creationTimestamp desc\"`. This sorts\nresults based on the `creationTimestamp` field in\nreverse chronological order (newest result first). Use this to sort\nresources like operations so that the newest operation is returned first.\n\nCurrently, only sorting by `name` or\n`creationTimestamp desc` is supported.", +"location": "query", +"type": "string" +}, +"pageToken": { +"description": "Specifies a page token to use. Set `pageToken` to the\n`nextPageToken` returned by a previous list request to get\nthe next page of results.", +"location": "query", +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"returnPartialSuccess": { +"description": "Opt-in for partial success behavior which provides partial results in case\nof failure. The default value is false.\n\nFor example, when partial success behavior is enabled, aggregatedList for a\nsingle zone scope either returns all resources in the zone or no resources,\nwith an error code.", +"location": "query", +"type": "boolean" +}, +"zone": { +"description": "The name of the zone for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/zones/{zone}/instantSnapshotGroups", +"response": { +"$ref": "ListInstantSnapshotGroups" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"setIamPolicy": { +"description": "Sets the access control policy on the specified resource.\nReplaces any existing policy.", +"flatPath": "projects/{project}/zones/{zone}/instantSnapshotGroups/{resource}/setIamPolicy", +"httpMethod": "POST", +"id": "compute.instantSnapshotGroups.setIamPolicy", +"parameterOrder": [ +"project", +"zone", +"resource" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"resource": { +"description": "Name or id of the resource for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +}, +"zone": { +"description": "The name of the zone for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/zones/{zone}/instantSnapshotGroups/{resource}/setIamPolicy", +"request": { +"$ref": "ZoneSetPolicyRequest" +}, +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"testIamPermissions": { +"description": "Returns permissions that a caller has on the specified resource.", +"flatPath": "projects/{project}/zones/{zone}/instantSnapshotGroups/{resource}/testIamPermissions", +"httpMethod": "POST", +"id": "compute.instantSnapshotGroups.testIamPermissions", +"parameterOrder": [ +"project", +"zone", +"resource" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"resource": { +"description": "Name or id of the resource for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +}, +"zone": { +"description": "The name of the zone for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/zones/{zone}/instantSnapshotGroups/{resource}/testIamPermissions", +"request": { +"$ref": "TestPermissionsRequest" +}, +"response": { +"$ref": "TestPermissionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +} +} +}, +"instantSnapshots": { +"methods": { +"aggregatedList": { +"description": "Retrieves an aggregated list of instantSnapshots.\n\nTo prevent failure, Google recommends that you set the\n`returnPartialSuccess` parameter to `true`.", +"flatPath": "projects/{project}/aggregated/instantSnapshots", +"httpMethod": "GET", +"id": "compute.instantSnapshots.aggregatedList", +"parameterOrder": [ +"project" +], +"parameters": { +"filter": { +"description": "A filter expression that filters resources listed in the response. Most\nCompute resources support two types of filter expressions:\nexpressions that support regular expressions and expressions that follow\nAPI improvement proposal AIP-160.\nThese two types of filter expressions cannot be mixed in one request.\n\nIf you want to use AIP-160, your expression must specify the field name, an\noperator, and the value that you want to use for filtering. The value\nmust be a string, a number, or a boolean. The operator\nmust be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.\n\nFor example, if you are filtering Compute Engine instances, you can\nexclude instances named `example-instance` by specifying\n`name != example-instance`.\n\nThe `:*` comparison can be used to test whether a key has been defined.\nFor example, to find all objects with `owner` label use:\n```\nlabels.owner:*\n```\n\nYou can also filter nested fields. For example, you could specify\n`scheduling.automaticRestart = false` to include instances only\nif they are not scheduled for automatic restarts. You can use filtering\non nested fields to filter based onresource labels.\n\nTo filter on multiple expressions, provide each separate expression within\nparentheses. For example:\n```\n(scheduling.automaticRestart = true)\n(cpuPlatform = \"Intel Skylake\")\n```\nBy default, each expression is an `AND` expression. However, you\ncan include `AND` and `OR` expressions explicitly.\nFor example:\n```\n(cpuPlatform = \"Intel Skylake\") OR\n(cpuPlatform = \"Intel Broadwell\") AND\n(scheduling.automaticRestart = true)\n```\n\nIf you want to use a regular expression, use the `eq` (equal) or `ne`\n(not equal) operator against a single un-parenthesized expression with or\nwithout quotes or against multiple parenthesized expressions. Examples:\n\n`fieldname eq unquoted literal`\n`fieldname eq 'single quoted literal'`\n`fieldname eq \"double quoted literal\"`\n`(fieldname1 eq literal) (fieldname2 ne \"literal\")`\n\nThe literal value is interpreted as a regular expression using GoogleRE2 library syntax.\nThe literal value must match the entire field.\n\nFor example, to filter for instances that do not end with name \"instance\",\nyou would use `name ne .*instance`.\n\nYou cannot combine constraints on multiple fields using regular\nexpressions.", +"location": "query", +"type": "string" +}, +"includeAllScopes": { +"description": "Indicates whether every visible scope for each scope type (zone, region,\nglobal) should be included in the response. For new resource types added\nafter this field, the flag has no effect as new resource types will always\ninclude every visible scope for each scope type in response. For resource\ntypes which predate this field, if this flag is omitted or false, only\nscopes of the scope types where the resource type is expected to be found\nwill be included.", +"location": "query", +"type": "boolean" +}, +"maxResults": { +"default": "500", +"description": "The maximum number of results per page that should be returned.\nIf the number of available results is larger than `maxResults`,\nCompute Engine returns a `nextPageToken` that can be used to get\nthe next page of results in subsequent list requests. Acceptable values are\n`0` to `500`, inclusive. (Default: `500`)", +"format": "uint32", +"location": "query", +"minimum": "0", +"type": "integer" +}, +"orderBy": { +"description": "Sorts list results by a certain order. By default, results\nare returned in alphanumerical order based on the resource name.\n\nYou can also sort results in descending order based on the creation\ntimestamp using `orderBy=\"creationTimestamp desc\"`. This sorts\nresults based on the `creationTimestamp` field in\nreverse chronological order (newest result first). Use this to sort\nresources like operations so that the newest operation is returned first.\n\nCurrently, only sorting by `name` or\n`creationTimestamp desc` is supported.", +"location": "query", +"type": "string" +}, +"pageToken": { +"description": "Specifies a page token to use. Set `pageToken` to the\n`nextPageToken` returned by a previous list request to get\nthe next page of results.", +"location": "query", +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"returnPartialSuccess": { +"description": "Opt-in for partial success behavior which provides partial results in case\nof failure. The default value is false.\n\nFor example, when partial success behavior is enabled, aggregatedList for a\nsingle zone scope either returns all resources in the zone or no resources,\nwith an error code.", +"location": "query", +"type": "boolean" +}, +"serviceProjectNumber": { +"description": "The Shared VPC service project id or service project number for which\naggregated list request is invoked for subnetworks list-usable api.", +"format": "int64", +"location": "query", +"type": "string" +} +}, +"path": "projects/{project}/aggregated/instantSnapshots", +"response": { +"$ref": "InstantSnapshotAggregatedList" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"delete": { +"description": "Deletes the specified InstantSnapshot resource. Keep in mind that deleting\na single instantSnapshot might not necessarily delete all the data on that\ninstantSnapshot. If any data on the instantSnapshot that is marked for\ndeletion is needed for subsequent instantSnapshots, the data will be moved\nto the next corresponding instantSnapshot.\n\nFor more information, seeDeleting\ninstantSnapshots.", +"flatPath": "projects/{project}/zones/{zone}/instantSnapshots/{instantSnapshot}", +"httpMethod": "DELETE", +"id": "compute.instantSnapshots.delete", +"parameterOrder": [ +"project", +"zone", +"instantSnapshot" +], +"parameters": { +"instantSnapshot": { +"description": "Name of the InstantSnapshot resource to delete.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"zone": { +"description": "The name of the zone for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/zones/{zone}/instantSnapshots/{instantSnapshot}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"get": { +"description": "Returns the specified InstantSnapshot resource in the specified zone.", +"flatPath": "projects/{project}/zones/{zone}/instantSnapshots/{instantSnapshot}", +"httpMethod": "GET", +"id": "compute.instantSnapshots.get", +"parameterOrder": [ +"project", +"zone", +"instantSnapshot" +], +"parameters": { +"instantSnapshot": { +"description": "Name of the InstantSnapshot resource to return.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"zone": { +"description": "The name of the zone for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/zones/{zone}/instantSnapshots/{instantSnapshot}", +"response": { +"$ref": "InstantSnapshot" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"getIamPolicy": { +"description": "Gets the access control policy for a resource. May be empty if no such\npolicy or resource exists.", +"flatPath": "projects/{project}/zones/{zone}/instantSnapshots/{resource}/getIamPolicy", +"httpMethod": "GET", +"id": "compute.instantSnapshots.getIamPolicy", +"parameterOrder": [ +"project", +"zone", +"resource" +], +"parameters": { +"optionsRequestedPolicyVersion": { +"description": "Requested IAM Policy version.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"resource": { +"description": "Name or id of the resource for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +}, +"zone": { +"description": "The name of the zone for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/zones/{zone}/instantSnapshots/{resource}/getIamPolicy", +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"insert": { +"description": "Creates an instant snapshot in the specified zone.", +"flatPath": "projects/{project}/zones/{zone}/instantSnapshots", +"httpMethod": "POST", +"id": "compute.instantSnapshots.insert", +"parameterOrder": [ +"project", +"zone" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"zone": { +"description": "Name of the zone for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/zones/{zone}/instantSnapshots", +"request": { +"$ref": "InstantSnapshot" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"list": { +"description": "Retrieves the list of InstantSnapshot resources contained within\nthe specified zone.", +"flatPath": "projects/{project}/zones/{zone}/instantSnapshots", +"httpMethod": "GET", +"id": "compute.instantSnapshots.list", +"parameterOrder": [ +"project", +"zone" +], +"parameters": { +"filter": { +"description": "A filter expression that filters resources listed in the response. Most\nCompute resources support two types of filter expressions:\nexpressions that support regular expressions and expressions that follow\nAPI improvement proposal AIP-160.\nThese two types of filter expressions cannot be mixed in one request.\n\nIf you want to use AIP-160, your expression must specify the field name, an\noperator, and the value that you want to use for filtering. The value\nmust be a string, a number, or a boolean. The operator\nmust be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.\n\nFor example, if you are filtering Compute Engine instances, you can\nexclude instances named `example-instance` by specifying\n`name != example-instance`.\n\nThe `:*` comparison can be used to test whether a key has been defined.\nFor example, to find all objects with `owner` label use:\n```\nlabels.owner:*\n```\n\nYou can also filter nested fields. For example, you could specify\n`scheduling.automaticRestart = false` to include instances only\nif they are not scheduled for automatic restarts. You can use filtering\non nested fields to filter based onresource labels.\n\nTo filter on multiple expressions, provide each separate expression within\nparentheses. For example:\n```\n(scheduling.automaticRestart = true)\n(cpuPlatform = \"Intel Skylake\")\n```\nBy default, each expression is an `AND` expression. However, you\ncan include `AND` and `OR` expressions explicitly.\nFor example:\n```\n(cpuPlatform = \"Intel Skylake\") OR\n(cpuPlatform = \"Intel Broadwell\") AND\n(scheduling.automaticRestart = true)\n```\n\nIf you want to use a regular expression, use the `eq` (equal) or `ne`\n(not equal) operator against a single un-parenthesized expression with or\nwithout quotes or against multiple parenthesized expressions. Examples:\n\n`fieldname eq unquoted literal`\n`fieldname eq 'single quoted literal'`\n`fieldname eq \"double quoted literal\"`\n`(fieldname1 eq literal) (fieldname2 ne \"literal\")`\n\nThe literal value is interpreted as a regular expression using GoogleRE2 library syntax.\nThe literal value must match the entire field.\n\nFor example, to filter for instances that do not end with name \"instance\",\nyou would use `name ne .*instance`.\n\nYou cannot combine constraints on multiple fields using regular\nexpressions.", +"location": "query", +"type": "string" +}, +"maxResults": { +"default": "500", +"description": "The maximum number of results per page that should be returned.\nIf the number of available results is larger than `maxResults`,\nCompute Engine returns a `nextPageToken` that can be used to get\nthe next page of results in subsequent list requests. Acceptable values are\n`0` to `500`, inclusive. (Default: `500`)", +"format": "uint32", +"location": "query", +"minimum": "0", +"type": "integer" +}, +"orderBy": { +"description": "Sorts list results by a certain order. By default, results\nare returned in alphanumerical order based on the resource name.\n\nYou can also sort results in descending order based on the creation\ntimestamp using `orderBy=\"creationTimestamp desc\"`. This sorts\nresults based on the `creationTimestamp` field in\nreverse chronological order (newest result first). Use this to sort\nresources like operations so that the newest operation is returned first.\n\nCurrently, only sorting by `name` or\n`creationTimestamp desc` is supported.", +"location": "query", +"type": "string" +}, +"pageToken": { +"description": "Specifies a page token to use. Set `pageToken` to the\n`nextPageToken` returned by a previous list request to get\nthe next page of results.", +"location": "query", +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"returnPartialSuccess": { +"description": "Opt-in for partial success behavior which provides partial results in case\nof failure. The default value is false.\n\nFor example, when partial success behavior is enabled, aggregatedList for a\nsingle zone scope either returns all resources in the zone or no resources,\nwith an error code.", +"location": "query", +"type": "boolean" +}, +"zone": { +"description": "The name of the zone for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/zones/{zone}/instantSnapshots", +"response": { +"$ref": "InstantSnapshotList" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"setIamPolicy": { +"description": "Sets the access control policy on the specified resource.\nReplaces any existing policy.", +"flatPath": "projects/{project}/zones/{zone}/instantSnapshots/{resource}/setIamPolicy", +"httpMethod": "POST", +"id": "compute.instantSnapshots.setIamPolicy", +"parameterOrder": [ +"project", +"zone", +"resource" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"resource": { +"description": "Name or id of the resource for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +}, +"zone": { +"description": "The name of the zone for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/zones/{zone}/instantSnapshots/{resource}/setIamPolicy", +"request": { +"$ref": "ZoneSetPolicyRequest" +}, +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"setLabels": { +"description": "Sets the labels on a instantSnapshot in the given zone. To learn more about\nlabels, read the Labeling\nResources documentation.", +"flatPath": "projects/{project}/zones/{zone}/instantSnapshots/{resource}/setLabels", +"httpMethod": "POST", +"id": "compute.instantSnapshots.setLabels", +"parameterOrder": [ +"project", +"zone", +"resource" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"resource": { +"description": "Name or id of the resource for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +}, +"zone": { +"description": "The name of the zone for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/zones/{zone}/instantSnapshots/{resource}/setLabels", +"request": { +"$ref": "ZoneSetLabelsRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"testIamPermissions": { +"description": "Returns permissions that a caller has on the specified resource.", +"flatPath": "projects/{project}/zones/{zone}/instantSnapshots/{resource}/testIamPermissions", +"httpMethod": "POST", +"id": "compute.instantSnapshots.testIamPermissions", +"parameterOrder": [ +"project", +"zone", +"resource" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"resource": { +"description": "Name or id of the resource for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +}, +"zone": { +"description": "The name of the zone for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/zones/{zone}/instantSnapshots/{resource}/testIamPermissions", +"request": { +"$ref": "TestPermissionsRequest" +}, +"response": { +"$ref": "TestPermissionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +} +} +}, +"interconnectAttachmentGroups": { +"methods": { +"delete": { +"description": "Deletes the specified InterconnectAttachmentGroup in the given scope", +"flatPath": "projects/{project}/global/interconnectAttachmentGroups/{interconnectAttachmentGroup}", +"httpMethod": "DELETE", +"id": "compute.interconnectAttachmentGroups.delete", +"parameterOrder": [ +"project", +"interconnectAttachmentGroup" +], +"parameters": { +"interconnectAttachmentGroup": { +"description": "Name of the InterconnectAttachmentGroup resource to delete.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).\nend_interface: MixerMutationRequestBuilder", +"location": "query", +"type": "string" +} +}, +"path": "projects/{project}/global/interconnectAttachmentGroups/{interconnectAttachmentGroup}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"get": { +"description": "Returns the specified InterconnectAttachmentGroup resource in the given\nscope.", +"flatPath": "projects/{project}/global/interconnectAttachmentGroups/{interconnectAttachmentGroup}", +"httpMethod": "GET", +"id": "compute.interconnectAttachmentGroups.get", +"parameterOrder": [ +"project", +"interconnectAttachmentGroup" +], +"parameters": { +"interconnectAttachmentGroup": { +"description": "Name of the InterconnectAttachmentGroup resource to return.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/global/interconnectAttachmentGroups/{interconnectAttachmentGroup}", +"response": { +"$ref": "InterconnectAttachmentGroup" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"getIamPolicy": { +"description": "Gets the access control policy for a resource. May be empty if no such\npolicy or resource exists.", +"flatPath": "projects/{project}/global/interconnectAttachmentGroups/{resource}/getIamPolicy", +"httpMethod": "GET", +"id": "compute.interconnectAttachmentGroups.getIamPolicy", +"parameterOrder": [ +"project", +"resource" +], +"parameters": { +"optionsRequestedPolicyVersion": { +"description": "Requested IAM Policy version.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"resource": { +"description": "Name or id of the resource for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9_]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/global/interconnectAttachmentGroups/{resource}/getIamPolicy", +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"getOperationalStatus": { +"description": "Returns the InterconnectAttachmentStatuses for the specified\nInterconnectAttachmentGroup resource.", +"flatPath": "projects/{project}/global/interconnectAttachmentGroups/{interconnectAttachmentGroup}/getOperationalStatus", +"httpMethod": "GET", +"id": "compute.interconnectAttachmentGroups.getOperationalStatus", +"parameterOrder": [ +"project", +"interconnectAttachmentGroup" +], +"parameters": { +"interconnectAttachmentGroup": { +"description": "Name of the interconnectAttachmentGroup resource to query.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/global/interconnectAttachmentGroups/{interconnectAttachmentGroup}/getOperationalStatus", +"response": { +"$ref": "InterconnectAttachmentGroupsGetOperationalStatusResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"insert": { +"description": "Creates a InterconnectAttachmentGroup in the specified project in the given\nscope using the parameters that are included in the request.", +"flatPath": "projects/{project}/global/interconnectAttachmentGroups", +"httpMethod": "POST", +"id": "compute.interconnectAttachmentGroups.insert", +"parameterOrder": [ +"project" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).\nend_interface: MixerMutationRequestBuilder", +"location": "query", +"type": "string" +} +}, +"path": "projects/{project}/global/interconnectAttachmentGroups", +"request": { +"$ref": "InterconnectAttachmentGroup" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"list": { +"description": "Lists the InterconnectAttachmentGroups for a project in the given scope.", +"flatPath": "projects/{project}/global/interconnectAttachmentGroups", +"httpMethod": "GET", +"id": "compute.interconnectAttachmentGroups.list", +"parameterOrder": [ +"project" +], +"parameters": { +"filter": { +"description": "A filter expression that filters resources listed in the response. Most\nCompute resources support two types of filter expressions:\nexpressions that support regular expressions and expressions that follow\nAPI improvement proposal AIP-160.\nThese two types of filter expressions cannot be mixed in one request.\n\nIf you want to use AIP-160, your expression must specify the field name, an\noperator, and the value that you want to use for filtering. The value\nmust be a string, a number, or a boolean. The operator\nmust be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.\n\nFor example, if you are filtering Compute Engine instances, you can\nexclude instances named `example-instance` by specifying\n`name != example-instance`.\n\nThe `:*` comparison can be used to test whether a key has been defined.\nFor example, to find all objects with `owner` label use:\n```\nlabels.owner:*\n```\n\nYou can also filter nested fields. For example, you could specify\n`scheduling.automaticRestart = false` to include instances only\nif they are not scheduled for automatic restarts. You can use filtering\non nested fields to filter based onresource labels.\n\nTo filter on multiple expressions, provide each separate expression within\nparentheses. For example:\n```\n(scheduling.automaticRestart = true)\n(cpuPlatform = \"Intel Skylake\")\n```\nBy default, each expression is an `AND` expression. However, you\ncan include `AND` and `OR` expressions explicitly.\nFor example:\n```\n(cpuPlatform = \"Intel Skylake\") OR\n(cpuPlatform = \"Intel Broadwell\") AND\n(scheduling.automaticRestart = true)\n```\n\nIf you want to use a regular expression, use the `eq` (equal) or `ne`\n(not equal) operator against a single un-parenthesized expression with or\nwithout quotes or against multiple parenthesized expressions. Examples:\n\n`fieldname eq unquoted literal`\n`fieldname eq 'single quoted literal'`\n`fieldname eq \"double quoted literal\"`\n`(fieldname1 eq literal) (fieldname2 ne \"literal\")`\n\nThe literal value is interpreted as a regular expression using GoogleRE2 library syntax.\nThe literal value must match the entire field.\n\nFor example, to filter for instances that do not end with name \"instance\",\nyou would use `name ne .*instance`.\n\nYou cannot combine constraints on multiple fields using regular\nexpressions.", +"location": "query", +"type": "string" +}, +"maxResults": { +"default": "500", +"description": "The maximum number of results per page that should be returned.\nIf the number of available results is larger than `maxResults`,\nCompute Engine returns a `nextPageToken` that can be used to get\nthe next page of results in subsequent list requests. Acceptable values are\n`0` to `500`, inclusive. (Default: `500`)", +"format": "uint32", +"location": "query", +"minimum": "0", +"type": "integer" +}, +"orderBy": { +"description": "Sorts list results by a certain order. By default, results\nare returned in alphanumerical order based on the resource name.\n\nYou can also sort results in descending order based on the creation\ntimestamp using `orderBy=\"creationTimestamp desc\"`. This sorts\nresults based on the `creationTimestamp` field in\nreverse chronological order (newest result first). Use this to sort\nresources like operations so that the newest operation is returned first.\n\nCurrently, only sorting by `name` or\n`creationTimestamp desc` is supported.", +"location": "query", +"type": "string" +}, +"pageToken": { +"description": "Specifies a page token to use. Set `pageToken` to the\n`nextPageToken` returned by a previous list request to get\nthe next page of results.", +"location": "query", +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"returnPartialSuccess": { +"description": "Opt-in for partial success behavior which provides partial results in case\nof failure. The default value is false.\n\nFor example, when partial success behavior is enabled, aggregatedList for a\nsingle zone scope either returns all resources in the zone or no resources,\nwith an error code.", +"location": "query", +"type": "boolean" +} +}, +"path": "projects/{project}/global/interconnectAttachmentGroups", +"response": { +"$ref": "InterconnectAttachmentGroupsListResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"patch": { +"description": "Patches the specified InterconnectAttachmentGroup resource with the data\nincluded in the request. This method supports PATCH\nsemantics and usesJSON merge\npatch format and processing rules.", +"flatPath": "projects/{project}/global/interconnectAttachmentGroups/{interconnectAttachmentGroup}", +"httpMethod": "PATCH", +"id": "compute.interconnectAttachmentGroups.patch", +"parameterOrder": [ +"project", +"interconnectAttachmentGroup" +], +"parameters": { +"interconnectAttachmentGroup": { +"description": "Name of the InterconnectAttachmentGroup resource to patch.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).\nend_interface: MixerMutationRequestBuilder", +"location": "query", +"type": "string" +}, +"updateMask": { +"description": "The list of fields to update.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "projects/{project}/global/interconnectAttachmentGroups/{interconnectAttachmentGroup}", +"request": { +"$ref": "InterconnectAttachmentGroup" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"setIamPolicy": { +"description": "Sets the access control policy on the specified resource.\nReplaces any existing policy.", +"flatPath": "projects/{project}/global/interconnectAttachmentGroups/{resource}/setIamPolicy", +"httpMethod": "POST", +"id": "compute.interconnectAttachmentGroups.setIamPolicy", +"parameterOrder": [ +"project", +"resource" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"resource": { +"description": "Name or id of the resource for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9_]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/global/interconnectAttachmentGroups/{resource}/setIamPolicy", +"request": { +"$ref": "GlobalSetPolicyRequest" +}, +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"testIamPermissions": { +"description": "Returns permissions that a caller has on the specified resource.", +"flatPath": "projects/{project}/global/interconnectAttachmentGroups/{resource}/testIamPermissions", +"httpMethod": "POST", +"id": "compute.interconnectAttachmentGroups.testIamPermissions", +"parameterOrder": [ +"project", +"resource" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"resource": { +"description": "Name or id of the resource for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9_]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/global/interconnectAttachmentGroups/{resource}/testIamPermissions", +"request": { +"$ref": "TestPermissionsRequest" +}, +"response": { +"$ref": "TestPermissionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +} +} +}, +"interconnectAttachments": { +"methods": { +"aggregatedList": { +"description": "Retrieves an aggregated list of interconnect attachments.\n\nTo prevent failure, Google recommends that you set the\n`returnPartialSuccess` parameter to `true`.", +"flatPath": "projects/{project}/aggregated/interconnectAttachments", +"httpMethod": "GET", +"id": "compute.interconnectAttachments.aggregatedList", +"parameterOrder": [ +"project" +], +"parameters": { +"filter": { +"description": "A filter expression that filters resources listed in the response. Most\nCompute resources support two types of filter expressions:\nexpressions that support regular expressions and expressions that follow\nAPI improvement proposal AIP-160.\nThese two types of filter expressions cannot be mixed in one request.\n\nIf you want to use AIP-160, your expression must specify the field name, an\noperator, and the value that you want to use for filtering. The value\nmust be a string, a number, or a boolean. The operator\nmust be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.\n\nFor example, if you are filtering Compute Engine instances, you can\nexclude instances named `example-instance` by specifying\n`name != example-instance`.\n\nThe `:*` comparison can be used to test whether a key has been defined.\nFor example, to find all objects with `owner` label use:\n```\nlabels.owner:*\n```\n\nYou can also filter nested fields. For example, you could specify\n`scheduling.automaticRestart = false` to include instances only\nif they are not scheduled for automatic restarts. You can use filtering\non nested fields to filter based onresource labels.\n\nTo filter on multiple expressions, provide each separate expression within\nparentheses. For example:\n```\n(scheduling.automaticRestart = true)\n(cpuPlatform = \"Intel Skylake\")\n```\nBy default, each expression is an `AND` expression. However, you\ncan include `AND` and `OR` expressions explicitly.\nFor example:\n```\n(cpuPlatform = \"Intel Skylake\") OR\n(cpuPlatform = \"Intel Broadwell\") AND\n(scheduling.automaticRestart = true)\n```\n\nIf you want to use a regular expression, use the `eq` (equal) or `ne`\n(not equal) operator against a single un-parenthesized expression with or\nwithout quotes or against multiple parenthesized expressions. Examples:\n\n`fieldname eq unquoted literal`\n`fieldname eq 'single quoted literal'`\n`fieldname eq \"double quoted literal\"`\n`(fieldname1 eq literal) (fieldname2 ne \"literal\")`\n\nThe literal value is interpreted as a regular expression using GoogleRE2 library syntax.\nThe literal value must match the entire field.\n\nFor example, to filter for instances that do not end with name \"instance\",\nyou would use `name ne .*instance`.\n\nYou cannot combine constraints on multiple fields using regular\nexpressions.", +"location": "query", +"type": "string" +}, +"includeAllScopes": { +"description": "Indicates whether every visible scope for each scope type (zone, region,\nglobal) should be included in the response. For new resource types added\nafter this field, the flag has no effect as new resource types will always\ninclude every visible scope for each scope type in response. For resource\ntypes which predate this field, if this flag is omitted or false, only\nscopes of the scope types where the resource type is expected to be found\nwill be included.", +"location": "query", +"type": "boolean" +}, +"maxResults": { +"default": "500", +"description": "The maximum number of results per page that should be returned.\nIf the number of available results is larger than `maxResults`,\nCompute Engine returns a `nextPageToken` that can be used to get\nthe next page of results in subsequent list requests. Acceptable values are\n`0` to `500`, inclusive. (Default: `500`)", +"format": "uint32", +"location": "query", +"minimum": "0", +"type": "integer" +}, +"orderBy": { +"description": "Sorts list results by a certain order. By default, results\nare returned in alphanumerical order based on the resource name.\n\nYou can also sort results in descending order based on the creation\ntimestamp using `orderBy=\"creationTimestamp desc\"`. This sorts\nresults based on the `creationTimestamp` field in\nreverse chronological order (newest result first). Use this to sort\nresources like operations so that the newest operation is returned first.\n\nCurrently, only sorting by `name` or\n`creationTimestamp desc` is supported.", +"location": "query", +"type": "string" +}, +"pageToken": { +"description": "Specifies a page token to use. Set `pageToken` to the\n`nextPageToken` returned by a previous list request to get\nthe next page of results.", +"location": "query", +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"returnPartialSuccess": { +"description": "Opt-in for partial success behavior which provides partial results in case\nof failure. The default value is false.\n\nFor example, when partial success behavior is enabled, aggregatedList for a\nsingle zone scope either returns all resources in the zone or no resources,\nwith an error code.", +"location": "query", +"type": "boolean" +}, +"serviceProjectNumber": { +"description": "The Shared VPC service project id or service project number for which\naggregated list request is invoked for subnetworks list-usable api.", +"format": "int64", +"location": "query", +"type": "string" +} +}, +"path": "projects/{project}/aggregated/interconnectAttachments", +"response": { +"$ref": "InterconnectAttachmentAggregatedList" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"delete": { +"description": "Deletes the specified interconnect attachment.", +"flatPath": "projects/{project}/regions/{region}/interconnectAttachments/{interconnectAttachment}", +"httpMethod": "DELETE", +"id": "compute.interconnectAttachments.delete", +"parameterOrder": [ +"project", +"region", +"interconnectAttachment" +], +"parameters": { +"interconnectAttachment": { +"description": "Name of the interconnect attachment to delete.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "Name of the region for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "projects/{project}/regions/{region}/interconnectAttachments/{interconnectAttachment}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"get": { +"description": "Returns the specified interconnect attachment.", +"flatPath": "projects/{project}/regions/{region}/interconnectAttachments/{interconnectAttachment}", +"httpMethod": "GET", +"id": "compute.interconnectAttachments.get", +"parameterOrder": [ +"project", +"region", +"interconnectAttachment" +], +"parameters": { +"interconnectAttachment": { +"description": "Name of the interconnect attachment to return.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "Name of the region for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/regions/{region}/interconnectAttachments/{interconnectAttachment}", +"response": { +"$ref": "InterconnectAttachment" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"insert": { +"description": "Creates an InterconnectAttachment in the specified project using the data\nincluded in the request.", +"flatPath": "projects/{project}/regions/{region}/interconnectAttachments", +"httpMethod": "POST", +"id": "compute.interconnectAttachments.insert", +"parameterOrder": [ +"project", +"region" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "Name of the region for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"validateOnly": { +"description": "If true, the request will not be committed.", +"location": "query", +"type": "boolean" +} +}, +"path": "projects/{project}/regions/{region}/interconnectAttachments", +"request": { +"$ref": "InterconnectAttachment" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"list": { +"description": "Retrieves the list of interconnect attachments contained within\nthe specified region.", +"flatPath": "projects/{project}/regions/{region}/interconnectAttachments", +"httpMethod": "GET", +"id": "compute.interconnectAttachments.list", +"parameterOrder": [ +"project", +"region" +], +"parameters": { +"filter": { +"description": "A filter expression that filters resources listed in the response. Most\nCompute resources support two types of filter expressions:\nexpressions that support regular expressions and expressions that follow\nAPI improvement proposal AIP-160.\nThese two types of filter expressions cannot be mixed in one request.\n\nIf you want to use AIP-160, your expression must specify the field name, an\noperator, and the value that you want to use for filtering. The value\nmust be a string, a number, or a boolean. The operator\nmust be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.\n\nFor example, if you are filtering Compute Engine instances, you can\nexclude instances named `example-instance` by specifying\n`name != example-instance`.\n\nThe `:*` comparison can be used to test whether a key has been defined.\nFor example, to find all objects with `owner` label use:\n```\nlabels.owner:*\n```\n\nYou can also filter nested fields. For example, you could specify\n`scheduling.automaticRestart = false` to include instances only\nif they are not scheduled for automatic restarts. You can use filtering\non nested fields to filter based onresource labels.\n\nTo filter on multiple expressions, provide each separate expression within\nparentheses. For example:\n```\n(scheduling.automaticRestart = true)\n(cpuPlatform = \"Intel Skylake\")\n```\nBy default, each expression is an `AND` expression. However, you\ncan include `AND` and `OR` expressions explicitly.\nFor example:\n```\n(cpuPlatform = \"Intel Skylake\") OR\n(cpuPlatform = \"Intel Broadwell\") AND\n(scheduling.automaticRestart = true)\n```\n\nIf you want to use a regular expression, use the `eq` (equal) or `ne`\n(not equal) operator against a single un-parenthesized expression with or\nwithout quotes or against multiple parenthesized expressions. Examples:\n\n`fieldname eq unquoted literal`\n`fieldname eq 'single quoted literal'`\n`fieldname eq \"double quoted literal\"`\n`(fieldname1 eq literal) (fieldname2 ne \"literal\")`\n\nThe literal value is interpreted as a regular expression using GoogleRE2 library syntax.\nThe literal value must match the entire field.\n\nFor example, to filter for instances that do not end with name \"instance\",\nyou would use `name ne .*instance`.\n\nYou cannot combine constraints on multiple fields using regular\nexpressions.", +"location": "query", +"type": "string" +}, +"maxResults": { +"default": "500", +"description": "The maximum number of results per page that should be returned.\nIf the number of available results is larger than `maxResults`,\nCompute Engine returns a `nextPageToken` that can be used to get\nthe next page of results in subsequent list requests. Acceptable values are\n`0` to `500`, inclusive. (Default: `500`)", +"format": "uint32", +"location": "query", +"minimum": "0", +"type": "integer" +}, +"orderBy": { +"description": "Sorts list results by a certain order. By default, results\nare returned in alphanumerical order based on the resource name.\n\nYou can also sort results in descending order based on the creation\ntimestamp using `orderBy=\"creationTimestamp desc\"`. This sorts\nresults based on the `creationTimestamp` field in\nreverse chronological order (newest result first). Use this to sort\nresources like operations so that the newest operation is returned first.\n\nCurrently, only sorting by `name` or\n`creationTimestamp desc` is supported.", +"location": "query", +"type": "string" +}, +"pageToken": { +"description": "Specifies a page token to use. Set `pageToken` to the\n`nextPageToken` returned by a previous list request to get\nthe next page of results.", +"location": "query", +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "Name of the region for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +}, +"returnPartialSuccess": { +"description": "Opt-in for partial success behavior which provides partial results in case\nof failure. The default value is false.\n\nFor example, when partial success behavior is enabled, aggregatedList for a\nsingle zone scope either returns all resources in the zone or no resources,\nwith an error code.", +"location": "query", +"type": "boolean" +} +}, +"path": "projects/{project}/regions/{region}/interconnectAttachments", +"response": { +"$ref": "InterconnectAttachmentList" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"patch": { +"description": "Updates the specified interconnect attachment with the data included in the\nrequest. This method supportsPATCH\nsemantics and uses theJSON merge\npatch format and processing rules.", +"flatPath": "projects/{project}/regions/{region}/interconnectAttachments/{interconnectAttachment}", +"httpMethod": "PATCH", +"id": "compute.interconnectAttachments.patch", +"parameterOrder": [ +"project", +"region", +"interconnectAttachment" +], +"parameters": { +"interconnectAttachment": { +"description": "Name of the interconnect attachment to patch.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "Name of the region scoping this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "projects/{project}/regions/{region}/interconnectAttachments/{interconnectAttachment}", +"request": { +"$ref": "InterconnectAttachment" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"setLabels": { +"description": "Sets the labels on an InterconnectAttachment. To learn more about labels,\nread the Labeling\nResources documentation.", +"flatPath": "projects/{project}/regions/{region}/interconnectAttachments/{resource}/setLabels", +"httpMethod": "POST", +"id": "compute.interconnectAttachments.setLabels", +"parameterOrder": [ +"project", +"region", +"resource" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "The region for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"resource": { +"description": "Name or id of the resource for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/regions/{region}/interconnectAttachments/{resource}/setLabels", +"request": { +"$ref": "RegionSetLabelsRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"testIamPermissions": { +"description": "Returns permissions that a caller has on the specified resource.", +"flatPath": "projects/{project}/regions/{region}/interconnectAttachments/{resource}/testIamPermissions", +"httpMethod": "POST", +"id": "compute.interconnectAttachments.testIamPermissions", +"parameterOrder": [ +"project", +"region", +"resource" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "The name of the region for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +}, +"resource": { +"description": "Name or id of the resource for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/regions/{region}/interconnectAttachments/{resource}/testIamPermissions", +"request": { +"$ref": "TestPermissionsRequest" +}, +"response": { +"$ref": "TestPermissionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +} +} +}, +"interconnectGroups": { +"methods": { +"createMembers": { +"description": "Create Interconnects with redundancy by creating them in a specified\ninterconnect group.", +"flatPath": "projects/{project}/global/interconnectGroups/{interconnectGroup}/createMembers", +"httpMethod": "POST", +"id": "compute.interconnectGroups.createMembers", +"parameterOrder": [ +"project", +"interconnectGroup" +], +"parameters": { +"interconnectGroup": { +"description": "Name of the group resource to create members for.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/global/interconnectGroups/{interconnectGroup}/createMembers", +"request": { +"$ref": "InterconnectGroupsCreateMembersRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"delete": { +"description": "Deletes the specified InterconnectGroup in the given scope", +"flatPath": "projects/{project}/global/interconnectGroups/{interconnectGroup}", +"httpMethod": "DELETE", +"id": "compute.interconnectGroups.delete", +"parameterOrder": [ +"project", +"interconnectGroup" +], +"parameters": { +"interconnectGroup": { +"description": "Name of the InterconnectGroup resource to delete.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).\nend_interface: MixerMutationRequestBuilder", +"location": "query", +"type": "string" +} +}, +"path": "projects/{project}/global/interconnectGroups/{interconnectGroup}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"get": { +"description": "Returns the specified InterconnectGroup resource in the given scope.", +"flatPath": "projects/{project}/global/interconnectGroups/{interconnectGroup}", +"httpMethod": "GET", +"id": "compute.interconnectGroups.get", +"parameterOrder": [ +"project", +"interconnectGroup" +], +"parameters": { +"interconnectGroup": { +"description": "Name of the InterconnectGroup resource to return.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/global/interconnectGroups/{interconnectGroup}", +"response": { +"$ref": "InterconnectGroup" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"getIamPolicy": { +"description": "Gets the access control policy for a resource. May be empty if no such\npolicy or resource exists.", +"flatPath": "projects/{project}/global/interconnectGroups/{resource}/getIamPolicy", +"httpMethod": "GET", +"id": "compute.interconnectGroups.getIamPolicy", +"parameterOrder": [ +"project", +"resource" +], +"parameters": { +"optionsRequestedPolicyVersion": { +"description": "Requested IAM Policy version.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"resource": { +"description": "Name or id of the resource for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9_]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/global/interconnectGroups/{resource}/getIamPolicy", +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"getOperationalStatus": { +"description": "Returns the interconnectStatuses for the specified\nInterconnectGroup.", +"flatPath": "projects/{project}/global/interconnectGroups/{interconnectGroup}/getOperationalStatus", +"httpMethod": "GET", +"id": "compute.interconnectGroups.getOperationalStatus", +"parameterOrder": [ +"project", +"interconnectGroup" +], +"parameters": { +"interconnectGroup": { +"description": "Name of the interconnectGroup resource to query.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/global/interconnectGroups/{interconnectGroup}/getOperationalStatus", +"response": { +"$ref": "InterconnectGroupsGetOperationalStatusResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"insert": { +"description": "Creates a InterconnectGroup in the specified project in the given scope\nusing the parameters that are included in the request.", +"flatPath": "projects/{project}/global/interconnectGroups", +"httpMethod": "POST", +"id": "compute.interconnectGroups.insert", +"parameterOrder": [ +"project" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).\nend_interface: MixerMutationRequestBuilder", +"location": "query", +"type": "string" +} +}, +"path": "projects/{project}/global/interconnectGroups", +"request": { +"$ref": "InterconnectGroup" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"list": { +"description": "Lists the InterconnectGroups for a project in the given scope.", +"flatPath": "projects/{project}/global/interconnectGroups", +"httpMethod": "GET", +"id": "compute.interconnectGroups.list", +"parameterOrder": [ +"project" +], +"parameters": { +"filter": { +"description": "A filter expression that filters resources listed in the response. Most\nCompute resources support two types of filter expressions:\nexpressions that support regular expressions and expressions that follow\nAPI improvement proposal AIP-160.\nThese two types of filter expressions cannot be mixed in one request.\n\nIf you want to use AIP-160, your expression must specify the field name, an\noperator, and the value that you want to use for filtering. The value\nmust be a string, a number, or a boolean. The operator\nmust be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.\n\nFor example, if you are filtering Compute Engine instances, you can\nexclude instances named `example-instance` by specifying\n`name != example-instance`.\n\nThe `:*` comparison can be used to test whether a key has been defined.\nFor example, to find all objects with `owner` label use:\n```\nlabels.owner:*\n```\n\nYou can also filter nested fields. For example, you could specify\n`scheduling.automaticRestart = false` to include instances only\nif they are not scheduled for automatic restarts. You can use filtering\non nested fields to filter based onresource labels.\n\nTo filter on multiple expressions, provide each separate expression within\nparentheses. For example:\n```\n(scheduling.automaticRestart = true)\n(cpuPlatform = \"Intel Skylake\")\n```\nBy default, each expression is an `AND` expression. However, you\ncan include `AND` and `OR` expressions explicitly.\nFor example:\n```\n(cpuPlatform = \"Intel Skylake\") OR\n(cpuPlatform = \"Intel Broadwell\") AND\n(scheduling.automaticRestart = true)\n```\n\nIf you want to use a regular expression, use the `eq` (equal) or `ne`\n(not equal) operator against a single un-parenthesized expression with or\nwithout quotes or against multiple parenthesized expressions. Examples:\n\n`fieldname eq unquoted literal`\n`fieldname eq 'single quoted literal'`\n`fieldname eq \"double quoted literal\"`\n`(fieldname1 eq literal) (fieldname2 ne \"literal\")`\n\nThe literal value is interpreted as a regular expression using GoogleRE2 library syntax.\nThe literal value must match the entire field.\n\nFor example, to filter for instances that do not end with name \"instance\",\nyou would use `name ne .*instance`.\n\nYou cannot combine constraints on multiple fields using regular\nexpressions.", +"location": "query", +"type": "string" +}, +"maxResults": { +"default": "500", +"description": "The maximum number of results per page that should be returned.\nIf the number of available results is larger than `maxResults`,\nCompute Engine returns a `nextPageToken` that can be used to get\nthe next page of results in subsequent list requests. Acceptable values are\n`0` to `500`, inclusive. (Default: `500`)", +"format": "uint32", +"location": "query", +"minimum": "0", +"type": "integer" +}, +"orderBy": { +"description": "Sorts list results by a certain order. By default, results\nare returned in alphanumerical order based on the resource name.\n\nYou can also sort results in descending order based on the creation\ntimestamp using `orderBy=\"creationTimestamp desc\"`. This sorts\nresults based on the `creationTimestamp` field in\nreverse chronological order (newest result first). Use this to sort\nresources like operations so that the newest operation is returned first.\n\nCurrently, only sorting by `name` or\n`creationTimestamp desc` is supported.", +"location": "query", +"type": "string" +}, +"pageToken": { +"description": "Specifies a page token to use. Set `pageToken` to the\n`nextPageToken` returned by a previous list request to get\nthe next page of results.", +"location": "query", +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"returnPartialSuccess": { +"description": "Opt-in for partial success behavior which provides partial results in case\nof failure. The default value is false.\n\nFor example, when partial success behavior is enabled, aggregatedList for a\nsingle zone scope either returns all resources in the zone or no resources,\nwith an error code.", +"location": "query", +"type": "boolean" +} +}, +"path": "projects/{project}/global/interconnectGroups", +"response": { +"$ref": "InterconnectGroupsListResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"patch": { +"description": "Patches the specified InterconnectGroup resource with the data included in\nthe request. This method supports PATCH\nsemantics and usesJSON merge\npatch format and processing rules.", +"flatPath": "projects/{project}/global/interconnectGroups/{interconnectGroup}", +"httpMethod": "PATCH", +"id": "compute.interconnectGroups.patch", +"parameterOrder": [ +"project", +"interconnectGroup" +], +"parameters": { +"interconnectGroup": { +"description": "Name of the InterconnectGroup resource to patch.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).\nend_interface: MixerMutationRequestBuilder", +"location": "query", +"type": "string" +}, +"updateMask": { +"description": "The list of fields to update.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "projects/{project}/global/interconnectGroups/{interconnectGroup}", +"request": { +"$ref": "InterconnectGroup" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"setIamPolicy": { +"description": "Sets the access control policy on the specified resource.\nReplaces any existing policy.", +"flatPath": "projects/{project}/global/interconnectGroups/{resource}/setIamPolicy", +"httpMethod": "POST", +"id": "compute.interconnectGroups.setIamPolicy", +"parameterOrder": [ +"project", +"resource" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"resource": { +"description": "Name or id of the resource for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9_]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/global/interconnectGroups/{resource}/setIamPolicy", +"request": { +"$ref": "GlobalSetPolicyRequest" +}, +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"testIamPermissions": { +"description": "Returns permissions that a caller has on the specified resource.", +"flatPath": "projects/{project}/global/interconnectGroups/{resource}/testIamPermissions", +"httpMethod": "POST", +"id": "compute.interconnectGroups.testIamPermissions", +"parameterOrder": [ +"project", +"resource" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"resource": { +"description": "Name or id of the resource for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9_]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/global/interconnectGroups/{resource}/testIamPermissions", +"request": { +"$ref": "TestPermissionsRequest" +}, +"response": { +"$ref": "TestPermissionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +} +} +}, +"interconnectLocations": { +"methods": { +"get": { +"description": "Returns the details for the specified interconnect location. Gets a list of\navailable interconnect locations by making a list() request.", +"flatPath": "projects/{project}/global/interconnectLocations/{interconnectLocation}", +"httpMethod": "GET", +"id": "compute.interconnectLocations.get", +"parameterOrder": [ +"project", +"interconnectLocation" +], +"parameters": { +"interconnectLocation": { +"description": "Name of the interconnect location to return.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/global/interconnectLocations/{interconnectLocation}", +"response": { +"$ref": "InterconnectLocation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"list": { +"description": "Retrieves the list of interconnect locations available to the specified\nproject.", +"flatPath": "projects/{project}/global/interconnectLocations", +"httpMethod": "GET", +"id": "compute.interconnectLocations.list", +"parameterOrder": [ +"project" +], +"parameters": { +"filter": { +"description": "A filter expression that filters resources listed in the response. Most\nCompute resources support two types of filter expressions:\nexpressions that support regular expressions and expressions that follow\nAPI improvement proposal AIP-160.\nThese two types of filter expressions cannot be mixed in one request.\n\nIf you want to use AIP-160, your expression must specify the field name, an\noperator, and the value that you want to use for filtering. The value\nmust be a string, a number, or a boolean. The operator\nmust be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.\n\nFor example, if you are filtering Compute Engine instances, you can\nexclude instances named `example-instance` by specifying\n`name != example-instance`.\n\nThe `:*` comparison can be used to test whether a key has been defined.\nFor example, to find all objects with `owner` label use:\n```\nlabels.owner:*\n```\n\nYou can also filter nested fields. For example, you could specify\n`scheduling.automaticRestart = false` to include instances only\nif they are not scheduled for automatic restarts. You can use filtering\non nested fields to filter based onresource labels.\n\nTo filter on multiple expressions, provide each separate expression within\nparentheses. For example:\n```\n(scheduling.automaticRestart = true)\n(cpuPlatform = \"Intel Skylake\")\n```\nBy default, each expression is an `AND` expression. However, you\ncan include `AND` and `OR` expressions explicitly.\nFor example:\n```\n(cpuPlatform = \"Intel Skylake\") OR\n(cpuPlatform = \"Intel Broadwell\") AND\n(scheduling.automaticRestart = true)\n```\n\nIf you want to use a regular expression, use the `eq` (equal) or `ne`\n(not equal) operator against a single un-parenthesized expression with or\nwithout quotes or against multiple parenthesized expressions. Examples:\n\n`fieldname eq unquoted literal`\n`fieldname eq 'single quoted literal'`\n`fieldname eq \"double quoted literal\"`\n`(fieldname1 eq literal) (fieldname2 ne \"literal\")`\n\nThe literal value is interpreted as a regular expression using GoogleRE2 library syntax.\nThe literal value must match the entire field.\n\nFor example, to filter for instances that do not end with name \"instance\",\nyou would use `name ne .*instance`.\n\nYou cannot combine constraints on multiple fields using regular\nexpressions.", +"location": "query", +"type": "string" +}, +"maxResults": { +"default": "500", +"description": "The maximum number of results per page that should be returned.\nIf the number of available results is larger than `maxResults`,\nCompute Engine returns a `nextPageToken` that can be used to get\nthe next page of results in subsequent list requests. Acceptable values are\n`0` to `500`, inclusive. (Default: `500`)", +"format": "uint32", +"location": "query", +"minimum": "0", +"type": "integer" +}, +"orderBy": { +"description": "Sorts list results by a certain order. By default, results\nare returned in alphanumerical order based on the resource name.\n\nYou can also sort results in descending order based on the creation\ntimestamp using `orderBy=\"creationTimestamp desc\"`. This sorts\nresults based on the `creationTimestamp` field in\nreverse chronological order (newest result first). Use this to sort\nresources like operations so that the newest operation is returned first.\n\nCurrently, only sorting by `name` or\n`creationTimestamp desc` is supported.", +"location": "query", +"type": "string" +}, +"pageToken": { +"description": "Specifies a page token to use. Set `pageToken` to the\n`nextPageToken` returned by a previous list request to get\nthe next page of results.", +"location": "query", +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"returnPartialSuccess": { +"description": "Opt-in for partial success behavior which provides partial results in case\nof failure. The default value is false.\n\nFor example, when partial success behavior is enabled, aggregatedList for a\nsingle zone scope either returns all resources in the zone or no resources,\nwith an error code.", +"location": "query", +"type": "boolean" +} +}, +"path": "projects/{project}/global/interconnectLocations", +"response": { +"$ref": "InterconnectLocationList" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +} +} +}, +"interconnectRemoteLocations": { +"methods": { +"get": { +"description": "Returns the details for the specified interconnect remote location. Gets a\nlist of available interconnect remote locations by making alist() request.", +"flatPath": "projects/{project}/global/interconnectRemoteLocations/{interconnectRemoteLocation}", +"httpMethod": "GET", +"id": "compute.interconnectRemoteLocations.get", +"parameterOrder": [ +"project", +"interconnectRemoteLocation" +], +"parameters": { +"interconnectRemoteLocation": { +"description": "Name of the interconnect remote location to return.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/global/interconnectRemoteLocations/{interconnectRemoteLocation}", +"response": { +"$ref": "InterconnectRemoteLocation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"list": { +"description": "Retrieves the list of interconnect remote locations available to the\nspecified project.", +"flatPath": "projects/{project}/global/interconnectRemoteLocations", +"httpMethod": "GET", +"id": "compute.interconnectRemoteLocations.list", +"parameterOrder": [ +"project" +], +"parameters": { +"filter": { +"description": "A filter expression that filters resources listed in the response. Most\nCompute resources support two types of filter expressions:\nexpressions that support regular expressions and expressions that follow\nAPI improvement proposal AIP-160.\nThese two types of filter expressions cannot be mixed in one request.\n\nIf you want to use AIP-160, your expression must specify the field name, an\noperator, and the value that you want to use for filtering. The value\nmust be a string, a number, or a boolean. The operator\nmust be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.\n\nFor example, if you are filtering Compute Engine instances, you can\nexclude instances named `example-instance` by specifying\n`name != example-instance`.\n\nThe `:*` comparison can be used to test whether a key has been defined.\nFor example, to find all objects with `owner` label use:\n```\nlabels.owner:*\n```\n\nYou can also filter nested fields. For example, you could specify\n`scheduling.automaticRestart = false` to include instances only\nif they are not scheduled for automatic restarts. You can use filtering\non nested fields to filter based onresource labels.\n\nTo filter on multiple expressions, provide each separate expression within\nparentheses. For example:\n```\n(scheduling.automaticRestart = true)\n(cpuPlatform = \"Intel Skylake\")\n```\nBy default, each expression is an `AND` expression. However, you\ncan include `AND` and `OR` expressions explicitly.\nFor example:\n```\n(cpuPlatform = \"Intel Skylake\") OR\n(cpuPlatform = \"Intel Broadwell\") AND\n(scheduling.automaticRestart = true)\n```\n\nIf you want to use a regular expression, use the `eq` (equal) or `ne`\n(not equal) operator against a single un-parenthesized expression with or\nwithout quotes or against multiple parenthesized expressions. Examples:\n\n`fieldname eq unquoted literal`\n`fieldname eq 'single quoted literal'`\n`fieldname eq \"double quoted literal\"`\n`(fieldname1 eq literal) (fieldname2 ne \"literal\")`\n\nThe literal value is interpreted as a regular expression using GoogleRE2 library syntax.\nThe literal value must match the entire field.\n\nFor example, to filter for instances that do not end with name \"instance\",\nyou would use `name ne .*instance`.\n\nYou cannot combine constraints on multiple fields using regular\nexpressions.", +"location": "query", +"type": "string" +}, +"maxResults": { +"default": "500", +"description": "The maximum number of results per page that should be returned.\nIf the number of available results is larger than `maxResults`,\nCompute Engine returns a `nextPageToken` that can be used to get\nthe next page of results in subsequent list requests. Acceptable values are\n`0` to `500`, inclusive. (Default: `500`)", +"format": "uint32", +"location": "query", +"minimum": "0", +"type": "integer" +}, +"orderBy": { +"description": "Sorts list results by a certain order. By default, results\nare returned in alphanumerical order based on the resource name.\n\nYou can also sort results in descending order based on the creation\ntimestamp using `orderBy=\"creationTimestamp desc\"`. This sorts\nresults based on the `creationTimestamp` field in\nreverse chronological order (newest result first). Use this to sort\nresources like operations so that the newest operation is returned first.\n\nCurrently, only sorting by `name` or\n`creationTimestamp desc` is supported.", +"location": "query", +"type": "string" +}, +"pageToken": { +"description": "Specifies a page token to use. Set `pageToken` to the\n`nextPageToken` returned by a previous list request to get\nthe next page of results.", +"location": "query", +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"returnPartialSuccess": { +"description": "Opt-in for partial success behavior which provides partial results in case\nof failure. The default value is false.\n\nFor example, when partial success behavior is enabled, aggregatedList for a\nsingle zone scope either returns all resources in the zone or no resources,\nwith an error code.", +"location": "query", +"type": "boolean" +} +}, +"path": "projects/{project}/global/interconnectRemoteLocations", +"response": { +"$ref": "InterconnectRemoteLocationList" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +} +} +}, +"interconnects": { +"methods": { +"delete": { +"description": "Deletes the specified Interconnect.", +"flatPath": "projects/{project}/global/interconnects/{interconnect}", +"httpMethod": "DELETE", +"id": "compute.interconnects.delete", +"parameterOrder": [ +"project", +"interconnect" +], +"parameters": { +"interconnect": { +"description": "Name of the interconnect to delete.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "projects/{project}/global/interconnects/{interconnect}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"get": { +"description": "Returns the specified Interconnect. Get a list of available Interconnects\nby making a list() request.", +"flatPath": "projects/{project}/global/interconnects/{interconnect}", +"httpMethod": "GET", +"id": "compute.interconnects.get", +"parameterOrder": [ +"project", +"interconnect" +], +"parameters": { +"interconnect": { +"description": "Name of the interconnect to return.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/global/interconnects/{interconnect}", +"response": { +"$ref": "Interconnect" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"getDiagnostics": { +"description": "Returns the interconnectDiagnostics for the specified\nInterconnect.\n\nIn the event of a\nglobal outage, do not use this API to make decisions about where to\nredirect your network traffic.\n\nUnlike a VLAN attachment, which is regional, a Cloud Interconnect\nconnection is a global resource. A global outage can prevent this\nAPI from functioning properly.", +"flatPath": "projects/{project}/global/interconnects/{interconnect}/getDiagnostics", +"httpMethod": "GET", +"id": "compute.interconnects.getDiagnostics", +"parameterOrder": [ +"project", +"interconnect" +], +"parameters": { +"interconnect": { +"description": "Name of the interconnect resource to query.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/global/interconnects/{interconnect}/getDiagnostics", +"response": { +"$ref": "InterconnectsGetDiagnosticsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"getMacsecConfig": { +"description": "Returns the interconnectMacsecConfig for the specified\nInterconnect.", +"flatPath": "projects/{project}/global/interconnects/{interconnect}/getMacsecConfig", +"httpMethod": "GET", +"id": "compute.interconnects.getMacsecConfig", +"parameterOrder": [ +"project", +"interconnect" +], +"parameters": { +"interconnect": { +"description": "Name of the interconnect resource to query.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/global/interconnects/{interconnect}/getMacsecConfig", +"response": { +"$ref": "InterconnectsGetMacsecConfigResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"insert": { +"description": "Creates an Interconnect in the specified project using\nthe data included in the request.", +"flatPath": "projects/{project}/global/interconnects", +"httpMethod": "POST", +"id": "compute.interconnects.insert", +"parameterOrder": [ +"project" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "projects/{project}/global/interconnects", +"request": { +"$ref": "Interconnect" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"list": { +"description": "Retrieves the list of Interconnects available to the specified project.", +"flatPath": "projects/{project}/global/interconnects", +"httpMethod": "GET", +"id": "compute.interconnects.list", +"parameterOrder": [ +"project" +], +"parameters": { +"filter": { +"description": "A filter expression that filters resources listed in the response. Most\nCompute resources support two types of filter expressions:\nexpressions that support regular expressions and expressions that follow\nAPI improvement proposal AIP-160.\nThese two types of filter expressions cannot be mixed in one request.\n\nIf you want to use AIP-160, your expression must specify the field name, an\noperator, and the value that you want to use for filtering. The value\nmust be a string, a number, or a boolean. The operator\nmust be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.\n\nFor example, if you are filtering Compute Engine instances, you can\nexclude instances named `example-instance` by specifying\n`name != example-instance`.\n\nThe `:*` comparison can be used to test whether a key has been defined.\nFor example, to find all objects with `owner` label use:\n```\nlabels.owner:*\n```\n\nYou can also filter nested fields. For example, you could specify\n`scheduling.automaticRestart = false` to include instances only\nif they are not scheduled for automatic restarts. You can use filtering\non nested fields to filter based onresource labels.\n\nTo filter on multiple expressions, provide each separate expression within\nparentheses. For example:\n```\n(scheduling.automaticRestart = true)\n(cpuPlatform = \"Intel Skylake\")\n```\nBy default, each expression is an `AND` expression. However, you\ncan include `AND` and `OR` expressions explicitly.\nFor example:\n```\n(cpuPlatform = \"Intel Skylake\") OR\n(cpuPlatform = \"Intel Broadwell\") AND\n(scheduling.automaticRestart = true)\n```\n\nIf you want to use a regular expression, use the `eq` (equal) or `ne`\n(not equal) operator against a single un-parenthesized expression with or\nwithout quotes or against multiple parenthesized expressions. Examples:\n\n`fieldname eq unquoted literal`\n`fieldname eq 'single quoted literal'`\n`fieldname eq \"double quoted literal\"`\n`(fieldname1 eq literal) (fieldname2 ne \"literal\")`\n\nThe literal value is interpreted as a regular expression using GoogleRE2 library syntax.\nThe literal value must match the entire field.\n\nFor example, to filter for instances that do not end with name \"instance\",\nyou would use `name ne .*instance`.\n\nYou cannot combine constraints on multiple fields using regular\nexpressions.", +"location": "query", +"type": "string" +}, +"maxResults": { +"default": "500", +"description": "The maximum number of results per page that should be returned.\nIf the number of available results is larger than `maxResults`,\nCompute Engine returns a `nextPageToken` that can be used to get\nthe next page of results in subsequent list requests. Acceptable values are\n`0` to `500`, inclusive. (Default: `500`)", +"format": "uint32", +"location": "query", +"minimum": "0", +"type": "integer" +}, +"orderBy": { +"description": "Sorts list results by a certain order. By default, results\nare returned in alphanumerical order based on the resource name.\n\nYou can also sort results in descending order based on the creation\ntimestamp using `orderBy=\"creationTimestamp desc\"`. This sorts\nresults based on the `creationTimestamp` field in\nreverse chronological order (newest result first). Use this to sort\nresources like operations so that the newest operation is returned first.\n\nCurrently, only sorting by `name` or\n`creationTimestamp desc` is supported.", +"location": "query", +"type": "string" +}, +"pageToken": { +"description": "Specifies a page token to use. Set `pageToken` to the\n`nextPageToken` returned by a previous list request to get\nthe next page of results.", +"location": "query", +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"returnPartialSuccess": { +"description": "Opt-in for partial success behavior which provides partial results in case\nof failure. The default value is false.\n\nFor example, when partial success behavior is enabled, aggregatedList for a\nsingle zone scope either returns all resources in the zone or no resources,\nwith an error code.", +"location": "query", +"type": "boolean" +} +}, +"path": "projects/{project}/global/interconnects", +"response": { +"$ref": "InterconnectList" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"patch": { +"description": "Updates the specified Interconnect with the data included in the request.\nThis method supportsPATCH\nsemantics and uses theJSON merge\npatch format and processing rules.", +"flatPath": "projects/{project}/global/interconnects/{interconnect}", +"httpMethod": "PATCH", +"id": "compute.interconnects.patch", +"parameterOrder": [ +"project", +"interconnect" +], +"parameters": { +"interconnect": { +"description": "Name of the interconnect to update.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "projects/{project}/global/interconnects/{interconnect}", +"request": { +"$ref": "Interconnect" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"setLabels": { +"description": "Sets the labels on an Interconnect. To learn more about labels,\nread the Labeling\nResources documentation.", +"flatPath": "projects/{project}/global/interconnects/{resource}/setLabels", +"httpMethod": "POST", +"id": "compute.interconnects.setLabels", +"parameterOrder": [ +"project", +"resource" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"resource": { +"description": "Name or id of the resource for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9_]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/global/interconnects/{resource}/setLabels", +"request": { +"$ref": "GlobalSetLabelsRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"testIamPermissions": { +"description": "Returns permissions that a caller has on the specified resource.", +"flatPath": "projects/{project}/global/interconnects/{resource}/testIamPermissions", +"httpMethod": "POST", +"id": "compute.interconnects.testIamPermissions", +"parameterOrder": [ +"project", +"resource" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"resource": { +"description": "Name or id of the resource for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9_]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/global/interconnects/{resource}/testIamPermissions", +"request": { +"$ref": "TestPermissionsRequest" +}, +"response": { +"$ref": "TestPermissionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +} +} +}, +"licenseCodes": { +"methods": { +"get": { +"description": "Return a specified license code. License codes are mirrored across\nall projects that have permissions to read the License Code.\n *Caution* This resource is intended\nfor use only by third-party partners who are creatingCloud Marketplace\nimages.", +"flatPath": "projects/{project}/global/licenseCodes/{licenseCode}", +"httpMethod": "GET", +"id": "compute.licenseCodes.get", +"parameterOrder": [ +"project", +"licenseCode" +], +"parameters": { +"licenseCode": { +"description": "Number corresponding to the License code resource to return.", +"location": "path", +"pattern": "[0-9]{0,61}?", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/global/licenseCodes/{licenseCode}", +"response": { +"$ref": "LicenseCode" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"testIamPermissions": { +"description": "Returns permissions that a caller has on the specified resource.\n *Caution* This resource is intended\nfor use only by third-party partners who are creatingCloud Marketplace\nimages.", +"flatPath": "projects/{project}/global/licenseCodes/{resource}/testIamPermissions", +"httpMethod": "POST", +"id": "compute.licenseCodes.testIamPermissions", +"parameterOrder": [ +"project", +"resource" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"resource": { +"description": "Name or id of the resource for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9_]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/global/licenseCodes/{resource}/testIamPermissions", +"request": { +"$ref": "TestPermissionsRequest" +}, +"response": { +"$ref": "TestPermissionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +} +} +}, +"licenses": { +"methods": { +"delete": { +"description": "Deletes the specified license.\n *Caution* This resource is intended\nfor use only by third-party partners who are creatingCloud Marketplace\nimages.", +"flatPath": "projects/{project}/global/licenses/{license}", +"httpMethod": "DELETE", +"id": "compute.licenses.delete", +"parameterOrder": [ +"project", +"license" +], +"parameters": { +"license": { +"description": "Name of the license resource to delete.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "projects/{project}/global/licenses/{license}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"get": { +"description": "Returns the specified License resource.\n *Caution* This resource is intended\nfor use only by third-party partners who are creatingCloud Marketplace\nimages.", +"flatPath": "projects/{project}/global/licenses/{license}", +"httpMethod": "GET", +"id": "compute.licenses.get", +"parameterOrder": [ +"project", +"license" +], +"parameters": { +"license": { +"description": "Name of the License resource to return.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/global/licenses/{license}", +"response": { +"$ref": "License" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"getIamPolicy": { +"description": "Gets the access control policy for a resource. May be empty if no such\npolicy or resource exists.\n *Caution* This resource is intended\nfor use only by third-party partners who are creatingCloud Marketplace\nimages.", +"flatPath": "projects/{project}/global/licenses/{resource}/getIamPolicy", +"httpMethod": "GET", +"id": "compute.licenses.getIamPolicy", +"parameterOrder": [ +"project", +"resource" +], +"parameters": { +"optionsRequestedPolicyVersion": { +"description": "Requested IAM Policy version.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"resource": { +"description": "Name or id of the resource for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9_]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/global/licenses/{resource}/getIamPolicy", +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"insert": { +"description": "Create a License resource in the specified project.\n *Caution* This resource is intended\nfor use only by third-party partners who are creatingCloud Marketplace\nimages.", +"flatPath": "projects/{project}/global/licenses", +"httpMethod": "POST", +"id": "compute.licenses.insert", +"parameterOrder": [ +"project" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "projects/{project}/global/licenses", +"request": { +"$ref": "License" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/devstorage.full_control", +"https://www.googleapis.com/auth/devstorage.read_only", +"https://www.googleapis.com/auth/devstorage.read_write" +] +}, +"list": { +"description": "Retrieves the list of licenses\navailable in the specified project. This method does not\nget any licenses that belong to other projects, including licenses attached\nto publicly-available images, like Debian 9. If you want to get a list of\npublicly-available licenses, use this method to make a request to the\nrespective image project, such as debian-cloud orwindows-cloud.\n *Caution* This resource is intended\nfor use only by third-party partners who are creatingCloud Marketplace\nimages.", +"flatPath": "projects/{project}/global/licenses", +"httpMethod": "GET", +"id": "compute.licenses.list", +"parameterOrder": [ +"project" +], +"parameters": { +"filter": { +"description": "A filter expression that filters resources listed in the response. Most\nCompute resources support two types of filter expressions:\nexpressions that support regular expressions and expressions that follow\nAPI improvement proposal AIP-160.\nThese two types of filter expressions cannot be mixed in one request.\n\nIf you want to use AIP-160, your expression must specify the field name, an\noperator, and the value that you want to use for filtering. The value\nmust be a string, a number, or a boolean. The operator\nmust be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.\n\nFor example, if you are filtering Compute Engine instances, you can\nexclude instances named `example-instance` by specifying\n`name != example-instance`.\n\nThe `:*` comparison can be used to test whether a key has been defined.\nFor example, to find all objects with `owner` label use:\n```\nlabels.owner:*\n```\n\nYou can also filter nested fields. For example, you could specify\n`scheduling.automaticRestart = false` to include instances only\nif they are not scheduled for automatic restarts. You can use filtering\non nested fields to filter based onresource labels.\n\nTo filter on multiple expressions, provide each separate expression within\nparentheses. For example:\n```\n(scheduling.automaticRestart = true)\n(cpuPlatform = \"Intel Skylake\")\n```\nBy default, each expression is an `AND` expression. However, you\ncan include `AND` and `OR` expressions explicitly.\nFor example:\n```\n(cpuPlatform = \"Intel Skylake\") OR\n(cpuPlatform = \"Intel Broadwell\") AND\n(scheduling.automaticRestart = true)\n```\n\nIf you want to use a regular expression, use the `eq` (equal) or `ne`\n(not equal) operator against a single un-parenthesized expression with or\nwithout quotes or against multiple parenthesized expressions. Examples:\n\n`fieldname eq unquoted literal`\n`fieldname eq 'single quoted literal'`\n`fieldname eq \"double quoted literal\"`\n`(fieldname1 eq literal) (fieldname2 ne \"literal\")`\n\nThe literal value is interpreted as a regular expression using GoogleRE2 library syntax.\nThe literal value must match the entire field.\n\nFor example, to filter for instances that do not end with name \"instance\",\nyou would use `name ne .*instance`.\n\nYou cannot combine constraints on multiple fields using regular\nexpressions.", +"location": "query", +"type": "string" +}, +"maxResults": { +"default": "500", +"description": "The maximum number of results per page that should be returned.\nIf the number of available results is larger than `maxResults`,\nCompute Engine returns a `nextPageToken` that can be used to get\nthe next page of results in subsequent list requests. Acceptable values are\n`0` to `500`, inclusive. (Default: `500`)", +"format": "uint32", +"location": "query", +"minimum": "0", +"type": "integer" +}, +"orderBy": { +"description": "Sorts list results by a certain order. By default, results\nare returned in alphanumerical order based on the resource name.\n\nYou can also sort results in descending order based on the creation\ntimestamp using `orderBy=\"creationTimestamp desc\"`. This sorts\nresults based on the `creationTimestamp` field in\nreverse chronological order (newest result first). Use this to sort\nresources like operations so that the newest operation is returned first.\n\nCurrently, only sorting by `name` or\n`creationTimestamp desc` is supported.", +"location": "query", +"type": "string" +}, +"pageToken": { +"description": "Specifies a page token to use. Set `pageToken` to the\n`nextPageToken` returned by a previous list request to get\nthe next page of results.", +"location": "query", +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"returnPartialSuccess": { +"description": "Opt-in for partial success behavior which provides partial results in case\nof failure. The default value is false.\n\nFor example, when partial success behavior is enabled, aggregatedList for a\nsingle zone scope either returns all resources in the zone or no resources,\nwith an error code.", +"location": "query", +"type": "boolean" +} +}, +"path": "projects/{project}/global/licenses", +"response": { +"$ref": "LicensesListResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"setIamPolicy": { +"description": "Sets the access control policy on the specified resource.\nReplaces any existing policy.\n *Caution* This resource is intended\nfor use only by third-party partners who are creatingCloud Marketplace\nimages.", +"flatPath": "projects/{project}/global/licenses/{resource}/setIamPolicy", +"httpMethod": "POST", +"id": "compute.licenses.setIamPolicy", +"parameterOrder": [ +"project", +"resource" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"resource": { +"description": "Name or id of the resource for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9_]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/global/licenses/{resource}/setIamPolicy", +"request": { +"$ref": "GlobalSetPolicyRequest" +}, +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"testIamPermissions": { +"description": "Returns permissions that a caller has on the specified resource.\n *Caution* This resource is intended\nfor use only by third-party partners who are creatingCloud Marketplace\nimages.", +"flatPath": "projects/{project}/global/licenses/{resource}/testIamPermissions", +"httpMethod": "POST", +"id": "compute.licenses.testIamPermissions", +"parameterOrder": [ +"project", +"resource" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"resource": { +"description": "Name or id of the resource for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9_]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/global/licenses/{resource}/testIamPermissions", +"request": { +"$ref": "TestPermissionsRequest" +}, +"response": { +"$ref": "TestPermissionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"update": { +"description": "Updates a License resource in the specified project.\n *Caution* This resource is intended\nfor use only by third-party partners who are creatingCloud Marketplace\nimages.", +"flatPath": "projects/{project}/global/licenses/{license}", +"httpMethod": "PATCH", +"id": "compute.licenses.update", +"parameterOrder": [ +"project", +"license" +], +"parameters": { +"license": { +"description": "The license name for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"updateMask": { +"description": "update_mask indicates fields to be updated as part of this request.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "projects/{project}/global/licenses/{license}", +"request": { +"$ref": "License" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +} +} +}, +"machineImages": { +"methods": { +"delete": { +"description": "Deletes the specified machine image. Deleting a machine image is permanent\nand cannot be undone.", +"flatPath": "projects/{project}/global/machineImages/{machineImage}", +"httpMethod": "DELETE", +"id": "compute.machineImages.delete", +"parameterOrder": [ +"project", +"machineImage" +], +"parameters": { +"machineImage": { +"description": "The name of the machine image to delete.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "projects/{project}/global/machineImages/{machineImage}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"get": { +"description": "Returns the specified machine image.", +"flatPath": "projects/{project}/global/machineImages/{machineImage}", +"httpMethod": "GET", +"id": "compute.machineImages.get", +"parameterOrder": [ +"project", +"machineImage" +], +"parameters": { +"machineImage": { +"description": "The name of the machine image.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/global/machineImages/{machineImage}", +"response": { +"$ref": "MachineImage" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"getIamPolicy": { +"description": "Gets the access control policy for a resource. May be empty if no such\npolicy or resource exists.", +"flatPath": "projects/{project}/global/machineImages/{resource}/getIamPolicy", +"httpMethod": "GET", +"id": "compute.machineImages.getIamPolicy", +"parameterOrder": [ +"project", +"resource" +], +"parameters": { +"optionsRequestedPolicyVersion": { +"description": "Requested IAM Policy version.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"resource": { +"description": "Name or id of the resource for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9_]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/global/machineImages/{resource}/getIamPolicy", +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"insert": { +"description": "Creates a machine image in the specified project using the\ndata that is included in the request. If you are creating a new machine\nimage to update an existing instance, your new machine image should use the\nsame network or, if applicable, the same subnetwork as the original\ninstance.", +"flatPath": "projects/{project}/global/machineImages", +"httpMethod": "POST", +"id": "compute.machineImages.insert", +"parameterOrder": [ +"project" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"sourceInstance": { +"description": "Required. Source instance that is used to create the machine image from.", +"location": "query", +"type": "string" +} +}, +"path": "projects/{project}/global/machineImages", +"request": { +"$ref": "MachineImage" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"list": { +"description": "Retrieves a list of machine images that are contained within\nthe specified project.", +"flatPath": "projects/{project}/global/machineImages", +"httpMethod": "GET", +"id": "compute.machineImages.list", +"parameterOrder": [ +"project" +], +"parameters": { +"filter": { +"description": "A filter expression that filters resources listed in the response. Most\nCompute resources support two types of filter expressions:\nexpressions that support regular expressions and expressions that follow\nAPI improvement proposal AIP-160.\nThese two types of filter expressions cannot be mixed in one request.\n\nIf you want to use AIP-160, your expression must specify the field name, an\noperator, and the value that you want to use for filtering. The value\nmust be a string, a number, or a boolean. The operator\nmust be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.\n\nFor example, if you are filtering Compute Engine instances, you can\nexclude instances named `example-instance` by specifying\n`name != example-instance`.\n\nThe `:*` comparison can be used to test whether a key has been defined.\nFor example, to find all objects with `owner` label use:\n```\nlabels.owner:*\n```\n\nYou can also filter nested fields. For example, you could specify\n`scheduling.automaticRestart = false` to include instances only\nif they are not scheduled for automatic restarts. You can use filtering\non nested fields to filter based onresource labels.\n\nTo filter on multiple expressions, provide each separate expression within\nparentheses. For example:\n```\n(scheduling.automaticRestart = true)\n(cpuPlatform = \"Intel Skylake\")\n```\nBy default, each expression is an `AND` expression. However, you\ncan include `AND` and `OR` expressions explicitly.\nFor example:\n```\n(cpuPlatform = \"Intel Skylake\") OR\n(cpuPlatform = \"Intel Broadwell\") AND\n(scheduling.automaticRestart = true)\n```\n\nIf you want to use a regular expression, use the `eq` (equal) or `ne`\n(not equal) operator against a single un-parenthesized expression with or\nwithout quotes or against multiple parenthesized expressions. Examples:\n\n`fieldname eq unquoted literal`\n`fieldname eq 'single quoted literal'`\n`fieldname eq \"double quoted literal\"`\n`(fieldname1 eq literal) (fieldname2 ne \"literal\")`\n\nThe literal value is interpreted as a regular expression using GoogleRE2 library syntax.\nThe literal value must match the entire field.\n\nFor example, to filter for instances that do not end with name \"instance\",\nyou would use `name ne .*instance`.\n\nYou cannot combine constraints on multiple fields using regular\nexpressions.", +"location": "query", +"type": "string" +}, +"maxResults": { +"default": "500", +"description": "The maximum number of results per page that should be returned.\nIf the number of available results is larger than `maxResults`,\nCompute Engine returns a `nextPageToken` that can be used to get\nthe next page of results in subsequent list requests. Acceptable values are\n`0` to `500`, inclusive. (Default: `500`)", +"format": "uint32", +"location": "query", +"minimum": "0", +"type": "integer" +}, +"orderBy": { +"description": "Sorts list results by a certain order. By default, results\nare returned in alphanumerical order based on the resource name.\n\nYou can also sort results in descending order based on the creation\ntimestamp using `orderBy=\"creationTimestamp desc\"`. This sorts\nresults based on the `creationTimestamp` field in\nreverse chronological order (newest result first). Use this to sort\nresources like operations so that the newest operation is returned first.\n\nCurrently, only sorting by `name` or\n`creationTimestamp desc` is supported.", +"location": "query", +"type": "string" +}, +"pageToken": { +"description": "Specifies a page token to use. Set `pageToken` to the\n`nextPageToken` returned by a previous list request to get\nthe next page of results.", +"location": "query", +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"returnPartialSuccess": { +"description": "Opt-in for partial success behavior which provides partial results in case\nof failure. The default value is false.\n\nFor example, when partial success behavior is enabled, aggregatedList for a\nsingle zone scope either returns all resources in the zone or no resources,\nwith an error code.", +"location": "query", +"type": "boolean" +} +}, +"path": "projects/{project}/global/machineImages", +"response": { +"$ref": "MachineImageList" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"setIamPolicy": { +"description": "Sets the access control policy on the specified resource.\nReplaces any existing policy.", +"flatPath": "projects/{project}/global/machineImages/{resource}/setIamPolicy", +"httpMethod": "POST", +"id": "compute.machineImages.setIamPolicy", +"parameterOrder": [ +"project", +"resource" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"resource": { +"description": "Name or id of the resource for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9_]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/global/machineImages/{resource}/setIamPolicy", +"request": { +"$ref": "GlobalSetPolicyRequest" +}, +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"setLabels": { +"description": "Sets the labels on a machine image. To learn more about labels, read theLabeling\nResources documentation.", +"flatPath": "projects/{project}/global/machineImages/{resource}/setLabels", +"httpMethod": "POST", +"id": "compute.machineImages.setLabels", +"parameterOrder": [ +"project", +"resource" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"resource": { +"description": "Name or id of the resource for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9_]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/global/machineImages/{resource}/setLabels", +"request": { +"$ref": "GlobalSetLabelsRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"testIamPermissions": { +"description": "Returns permissions that a caller has on the specified resource.", +"flatPath": "projects/{project}/global/machineImages/{resource}/testIamPermissions", +"httpMethod": "POST", +"id": "compute.machineImages.testIamPermissions", +"parameterOrder": [ +"project", +"resource" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"resource": { +"description": "Name or id of the resource for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9_]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/global/machineImages/{resource}/testIamPermissions", +"request": { +"$ref": "TestPermissionsRequest" +}, +"response": { +"$ref": "TestPermissionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +} +} +}, +"machineTypes": { +"methods": { +"aggregatedList": { +"description": "Retrieves an aggregated list of machine types.\n\nTo prevent failure, Google recommends that you set the\n`returnPartialSuccess` parameter to `true`.", +"flatPath": "projects/{project}/aggregated/machineTypes", +"httpMethod": "GET", +"id": "compute.machineTypes.aggregatedList", +"parameterOrder": [ +"project" +], +"parameters": { +"filter": { +"description": "A filter expression that filters resources listed in the response. Most\nCompute resources support two types of filter expressions:\nexpressions that support regular expressions and expressions that follow\nAPI improvement proposal AIP-160.\nThese two types of filter expressions cannot be mixed in one request.\n\nIf you want to use AIP-160, your expression must specify the field name, an\noperator, and the value that you want to use for filtering. The value\nmust be a string, a number, or a boolean. The operator\nmust be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.\n\nFor example, if you are filtering Compute Engine instances, you can\nexclude instances named `example-instance` by specifying\n`name != example-instance`.\n\nThe `:*` comparison can be used to test whether a key has been defined.\nFor example, to find all objects with `owner` label use:\n```\nlabels.owner:*\n```\n\nYou can also filter nested fields. For example, you could specify\n`scheduling.automaticRestart = false` to include instances only\nif they are not scheduled for automatic restarts. You can use filtering\non nested fields to filter based onresource labels.\n\nTo filter on multiple expressions, provide each separate expression within\nparentheses. For example:\n```\n(scheduling.automaticRestart = true)\n(cpuPlatform = \"Intel Skylake\")\n```\nBy default, each expression is an `AND` expression. However, you\ncan include `AND` and `OR` expressions explicitly.\nFor example:\n```\n(cpuPlatform = \"Intel Skylake\") OR\n(cpuPlatform = \"Intel Broadwell\") AND\n(scheduling.automaticRestart = true)\n```\n\nIf you want to use a regular expression, use the `eq` (equal) or `ne`\n(not equal) operator against a single un-parenthesized expression with or\nwithout quotes or against multiple parenthesized expressions. Examples:\n\n`fieldname eq unquoted literal`\n`fieldname eq 'single quoted literal'`\n`fieldname eq \"double quoted literal\"`\n`(fieldname1 eq literal) (fieldname2 ne \"literal\")`\n\nThe literal value is interpreted as a regular expression using GoogleRE2 library syntax.\nThe literal value must match the entire field.\n\nFor example, to filter for instances that do not end with name \"instance\",\nyou would use `name ne .*instance`.\n\nYou cannot combine constraints on multiple fields using regular\nexpressions.", +"location": "query", +"type": "string" +}, +"includeAllScopes": { +"description": "Indicates whether every visible scope for each scope type (zone, region,\nglobal) should be included in the response. For new resource types added\nafter this field, the flag has no effect as new resource types will always\ninclude every visible scope for each scope type in response. For resource\ntypes which predate this field, if this flag is omitted or false, only\nscopes of the scope types where the resource type is expected to be found\nwill be included.", +"location": "query", +"type": "boolean" +}, +"maxResults": { +"default": "500", +"description": "The maximum number of results per page that should be returned.\nIf the number of available results is larger than `maxResults`,\nCompute Engine returns a `nextPageToken` that can be used to get\nthe next page of results in subsequent list requests. Acceptable values are\n`0` to `500`, inclusive. (Default: `500`)", +"format": "uint32", +"location": "query", +"minimum": "0", +"type": "integer" +}, +"orderBy": { +"description": "Sorts list results by a certain order. By default, results\nare returned in alphanumerical order based on the resource name.\n\nYou can also sort results in descending order based on the creation\ntimestamp using `orderBy=\"creationTimestamp desc\"`. This sorts\nresults based on the `creationTimestamp` field in\nreverse chronological order (newest result first). Use this to sort\nresources like operations so that the newest operation is returned first.\n\nCurrently, only sorting by `name` or\n`creationTimestamp desc` is supported.", +"location": "query", +"type": "string" +}, +"pageToken": { +"description": "Specifies a page token to use. Set `pageToken` to the\n`nextPageToken` returned by a previous list request to get\nthe next page of results.", +"location": "query", +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"returnPartialSuccess": { +"description": "Opt-in for partial success behavior which provides partial results in case\nof failure. The default value is false.\n\nFor example, when partial success behavior is enabled, aggregatedList for a\nsingle zone scope either returns all resources in the zone or no resources,\nwith an error code.", +"location": "query", +"type": "boolean" +}, +"serviceProjectNumber": { +"description": "The Shared VPC service project id or service project number for which\naggregated list request is invoked for subnetworks list-usable api.", +"format": "int64", +"location": "query", +"type": "string" +} +}, +"path": "projects/{project}/aggregated/machineTypes", +"response": { +"$ref": "MachineTypeAggregatedList" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"get": { +"description": "Returns the specified machine type.", +"flatPath": "projects/{project}/zones/{zone}/machineTypes/{machineType}", +"httpMethod": "GET", +"id": "compute.machineTypes.get", +"parameterOrder": [ +"project", +"zone", +"machineType" +], +"parameters": { +"machineType": { +"description": "Name of the machine type to return.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"zone": { +"description": "The name of the zone for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/zones/{zone}/machineTypes/{machineType}", +"response": { +"$ref": "MachineType" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"list": { +"description": "Retrieves a list of machine types available to the specified\nproject.", +"flatPath": "projects/{project}/zones/{zone}/machineTypes", +"httpMethod": "GET", +"id": "compute.machineTypes.list", +"parameterOrder": [ +"project", +"zone" +], +"parameters": { +"filter": { +"description": "A filter expression that filters resources listed in the response. Most\nCompute resources support two types of filter expressions:\nexpressions that support regular expressions and expressions that follow\nAPI improvement proposal AIP-160.\nThese two types of filter expressions cannot be mixed in one request.\n\nIf you want to use AIP-160, your expression must specify the field name, an\noperator, and the value that you want to use for filtering. The value\nmust be a string, a number, or a boolean. The operator\nmust be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.\n\nFor example, if you are filtering Compute Engine instances, you can\nexclude instances named `example-instance` by specifying\n`name != example-instance`.\n\nThe `:*` comparison can be used to test whether a key has been defined.\nFor example, to find all objects with `owner` label use:\n```\nlabels.owner:*\n```\n\nYou can also filter nested fields. For example, you could specify\n`scheduling.automaticRestart = false` to include instances only\nif they are not scheduled for automatic restarts. You can use filtering\non nested fields to filter based onresource labels.\n\nTo filter on multiple expressions, provide each separate expression within\nparentheses. For example:\n```\n(scheduling.automaticRestart = true)\n(cpuPlatform = \"Intel Skylake\")\n```\nBy default, each expression is an `AND` expression. However, you\ncan include `AND` and `OR` expressions explicitly.\nFor example:\n```\n(cpuPlatform = \"Intel Skylake\") OR\n(cpuPlatform = \"Intel Broadwell\") AND\n(scheduling.automaticRestart = true)\n```\n\nIf you want to use a regular expression, use the `eq` (equal) or `ne`\n(not equal) operator against a single un-parenthesized expression with or\nwithout quotes or against multiple parenthesized expressions. Examples:\n\n`fieldname eq unquoted literal`\n`fieldname eq 'single quoted literal'`\n`fieldname eq \"double quoted literal\"`\n`(fieldname1 eq literal) (fieldname2 ne \"literal\")`\n\nThe literal value is interpreted as a regular expression using GoogleRE2 library syntax.\nThe literal value must match the entire field.\n\nFor example, to filter for instances that do not end with name \"instance\",\nyou would use `name ne .*instance`.\n\nYou cannot combine constraints on multiple fields using regular\nexpressions.", +"location": "query", +"type": "string" +}, +"maxResults": { +"default": "500", +"description": "The maximum number of results per page that should be returned.\nIf the number of available results is larger than `maxResults`,\nCompute Engine returns a `nextPageToken` that can be used to get\nthe next page of results in subsequent list requests. Acceptable values are\n`0` to `500`, inclusive. (Default: `500`)", +"format": "uint32", +"location": "query", +"minimum": "0", +"type": "integer" +}, +"orderBy": { +"description": "Sorts list results by a certain order. By default, results\nare returned in alphanumerical order based on the resource name.\n\nYou can also sort results in descending order based on the creation\ntimestamp using `orderBy=\"creationTimestamp desc\"`. This sorts\nresults based on the `creationTimestamp` field in\nreverse chronological order (newest result first). Use this to sort\nresources like operations so that the newest operation is returned first.\n\nCurrently, only sorting by `name` or\n`creationTimestamp desc` is supported.", +"location": "query", +"type": "string" +}, +"pageToken": { +"description": "Specifies a page token to use. Set `pageToken` to the\n`nextPageToken` returned by a previous list request to get\nthe next page of results.", +"location": "query", +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"returnPartialSuccess": { +"description": "Opt-in for partial success behavior which provides partial results in case\nof failure. The default value is false.\n\nFor example, when partial success behavior is enabled, aggregatedList for a\nsingle zone scope either returns all resources in the zone or no resources,\nwith an error code.", +"location": "query", +"type": "boolean" +}, +"zone": { +"description": "The name of the zone for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/zones/{zone}/machineTypes", +"response": { +"$ref": "MachineTypeList" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +} +} +}, +"networkAttachments": { +"methods": { +"aggregatedList": { +"description": "Retrieves the list of all NetworkAttachment resources,\nregional and global, available to the specified project.\n\nTo prevent failure, Google recommends that you set the\n`returnPartialSuccess` parameter to `true`.", +"flatPath": "projects/{project}/aggregated/networkAttachments", +"httpMethod": "GET", +"id": "compute.networkAttachments.aggregatedList", +"parameterOrder": [ +"project" +], +"parameters": { +"filter": { +"description": "A filter expression that filters resources listed in the response. Most\nCompute resources support two types of filter expressions:\nexpressions that support regular expressions and expressions that follow\nAPI improvement proposal AIP-160.\nThese two types of filter expressions cannot be mixed in one request.\n\nIf you want to use AIP-160, your expression must specify the field name, an\noperator, and the value that you want to use for filtering. The value\nmust be a string, a number, or a boolean. The operator\nmust be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.\n\nFor example, if you are filtering Compute Engine instances, you can\nexclude instances named `example-instance` by specifying\n`name != example-instance`.\n\nThe `:*` comparison can be used to test whether a key has been defined.\nFor example, to find all objects with `owner` label use:\n```\nlabels.owner:*\n```\n\nYou can also filter nested fields. For example, you could specify\n`scheduling.automaticRestart = false` to include instances only\nif they are not scheduled for automatic restarts. You can use filtering\non nested fields to filter based onresource labels.\n\nTo filter on multiple expressions, provide each separate expression within\nparentheses. For example:\n```\n(scheduling.automaticRestart = true)\n(cpuPlatform = \"Intel Skylake\")\n```\nBy default, each expression is an `AND` expression. However, you\ncan include `AND` and `OR` expressions explicitly.\nFor example:\n```\n(cpuPlatform = \"Intel Skylake\") OR\n(cpuPlatform = \"Intel Broadwell\") AND\n(scheduling.automaticRestart = true)\n```\n\nIf you want to use a regular expression, use the `eq` (equal) or `ne`\n(not equal) operator against a single un-parenthesized expression with or\nwithout quotes or against multiple parenthesized expressions. Examples:\n\n`fieldname eq unquoted literal`\n`fieldname eq 'single quoted literal'`\n`fieldname eq \"double quoted literal\"`\n`(fieldname1 eq literal) (fieldname2 ne \"literal\")`\n\nThe literal value is interpreted as a regular expression using GoogleRE2 library syntax.\nThe literal value must match the entire field.\n\nFor example, to filter for instances that do not end with name \"instance\",\nyou would use `name ne .*instance`.\n\nYou cannot combine constraints on multiple fields using regular\nexpressions.", +"location": "query", +"type": "string" +}, +"includeAllScopes": { +"description": "Indicates whether every visible scope for each scope type (zone, region,\nglobal) should be included in the response. For new resource types added\nafter this field, the flag has no effect as new resource types will always\ninclude every visible scope for each scope type in response. For resource\ntypes which predate this field, if this flag is omitted or false, only\nscopes of the scope types where the resource type is expected to be found\nwill be included.", +"location": "query", +"type": "boolean" +}, +"maxResults": { +"default": "500", +"description": "The maximum number of results per page that should be returned.\nIf the number of available results is larger than `maxResults`,\nCompute Engine returns a `nextPageToken` that can be used to get\nthe next page of results in subsequent list requests. Acceptable values are\n`0` to `500`, inclusive. (Default: `500`)", +"format": "uint32", +"location": "query", +"minimum": "0", +"type": "integer" +}, +"orderBy": { +"description": "Sorts list results by a certain order. By default, results\nare returned in alphanumerical order based on the resource name.\n\nYou can also sort results in descending order based on the creation\ntimestamp using `orderBy=\"creationTimestamp desc\"`. This sorts\nresults based on the `creationTimestamp` field in\nreverse chronological order (newest result first). Use this to sort\nresources like operations so that the newest operation is returned first.\n\nCurrently, only sorting by `name` or\n`creationTimestamp desc` is supported.", +"location": "query", +"type": "string" +}, +"pageToken": { +"description": "Specifies a page token to use. Set `pageToken` to the\n`nextPageToken` returned by a previous list request to get\nthe next page of results.", +"location": "query", +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"returnPartialSuccess": { +"description": "Opt-in for partial success behavior which provides partial results in case\nof failure. The default value is false.\n\nFor example, when partial success behavior is enabled, aggregatedList for a\nsingle zone scope either returns all resources in the zone or no resources,\nwith an error code.", +"location": "query", +"type": "boolean" +}, +"serviceProjectNumber": { +"description": "The Shared VPC service project id or service project number for which\naggregated list request is invoked for subnetworks list-usable api.", +"format": "int64", +"location": "query", +"type": "string" +} +}, +"path": "projects/{project}/aggregated/networkAttachments", +"response": { +"$ref": "NetworkAttachmentAggregatedList" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"delete": { +"description": "Deletes the specified NetworkAttachment in the given scope", +"flatPath": "projects/{project}/regions/{region}/networkAttachments/{networkAttachment}", +"httpMethod": "DELETE", +"id": "compute.networkAttachments.delete", +"parameterOrder": [ +"project", +"region", +"networkAttachment" +], +"parameters": { +"networkAttachment": { +"description": "Name of the NetworkAttachment resource to delete.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "Name of the region of this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).\nend_interface: MixerMutationRequestBuilder", +"location": "query", +"type": "string" +} +}, +"path": "projects/{project}/regions/{region}/networkAttachments/{networkAttachment}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"get": { +"description": "Returns the specified NetworkAttachment resource in the given scope.", +"flatPath": "projects/{project}/regions/{region}/networkAttachments/{networkAttachment}", +"httpMethod": "GET", +"id": "compute.networkAttachments.get", +"parameterOrder": [ +"project", +"region", +"networkAttachment" +], +"parameters": { +"networkAttachment": { +"description": "Name of the NetworkAttachment resource to return.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "Name of the region of this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/regions/{region}/networkAttachments/{networkAttachment}", +"response": { +"$ref": "NetworkAttachment" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"getIamPolicy": { +"description": "Gets the access control policy for a resource. May be empty if no such\npolicy or resource exists.", +"flatPath": "projects/{project}/regions/{region}/networkAttachments/{resource}/getIamPolicy", +"httpMethod": "GET", +"id": "compute.networkAttachments.getIamPolicy", +"parameterOrder": [ +"project", +"region", +"resource" +], +"parameters": { +"optionsRequestedPolicyVersion": { +"description": "Requested IAM Policy version.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "The name of the region for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +}, +"resource": { +"description": "Name or id of the resource for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/regions/{region}/networkAttachments/{resource}/getIamPolicy", +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"insert": { +"description": "Creates a NetworkAttachment in the specified project in the given scope\nusing the parameters that are included in the request.", +"flatPath": "projects/{project}/regions/{region}/networkAttachments", +"httpMethod": "POST", +"id": "compute.networkAttachments.insert", +"parameterOrder": [ +"project", +"region" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "Name of the region of this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).\nend_interface: MixerMutationRequestBuilder", +"location": "query", +"type": "string" +} +}, +"path": "projects/{project}/regions/{region}/networkAttachments", +"request": { +"$ref": "NetworkAttachment" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"list": { +"description": "Lists the NetworkAttachments for a project in the given scope.", +"flatPath": "projects/{project}/regions/{region}/networkAttachments", +"httpMethod": "GET", +"id": "compute.networkAttachments.list", +"parameterOrder": [ +"project", +"region" +], +"parameters": { +"filter": { +"description": "A filter expression that filters resources listed in the response. Most\nCompute resources support two types of filter expressions:\nexpressions that support regular expressions and expressions that follow\nAPI improvement proposal AIP-160.\nThese two types of filter expressions cannot be mixed in one request.\n\nIf you want to use AIP-160, your expression must specify the field name, an\noperator, and the value that you want to use for filtering. The value\nmust be a string, a number, or a boolean. The operator\nmust be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.\n\nFor example, if you are filtering Compute Engine instances, you can\nexclude instances named `example-instance` by specifying\n`name != example-instance`.\n\nThe `:*` comparison can be used to test whether a key has been defined.\nFor example, to find all objects with `owner` label use:\n```\nlabels.owner:*\n```\n\nYou can also filter nested fields. For example, you could specify\n`scheduling.automaticRestart = false` to include instances only\nif they are not scheduled for automatic restarts. You can use filtering\non nested fields to filter based onresource labels.\n\nTo filter on multiple expressions, provide each separate expression within\nparentheses. For example:\n```\n(scheduling.automaticRestart = true)\n(cpuPlatform = \"Intel Skylake\")\n```\nBy default, each expression is an `AND` expression. However, you\ncan include `AND` and `OR` expressions explicitly.\nFor example:\n```\n(cpuPlatform = \"Intel Skylake\") OR\n(cpuPlatform = \"Intel Broadwell\") AND\n(scheduling.automaticRestart = true)\n```\n\nIf you want to use a regular expression, use the `eq` (equal) or `ne`\n(not equal) operator against a single un-parenthesized expression with or\nwithout quotes or against multiple parenthesized expressions. Examples:\n\n`fieldname eq unquoted literal`\n`fieldname eq 'single quoted literal'`\n`fieldname eq \"double quoted literal\"`\n`(fieldname1 eq literal) (fieldname2 ne \"literal\")`\n\nThe literal value is interpreted as a regular expression using GoogleRE2 library syntax.\nThe literal value must match the entire field.\n\nFor example, to filter for instances that do not end with name \"instance\",\nyou would use `name ne .*instance`.\n\nYou cannot combine constraints on multiple fields using regular\nexpressions.", +"location": "query", +"type": "string" +}, +"maxResults": { +"default": "500", +"description": "The maximum number of results per page that should be returned.\nIf the number of available results is larger than `maxResults`,\nCompute Engine returns a `nextPageToken` that can be used to get\nthe next page of results in subsequent list requests. Acceptable values are\n`0` to `500`, inclusive. (Default: `500`)", +"format": "uint32", +"location": "query", +"minimum": "0", +"type": "integer" +}, +"orderBy": { +"description": "Sorts list results by a certain order. By default, results\nare returned in alphanumerical order based on the resource name.\n\nYou can also sort results in descending order based on the creation\ntimestamp using `orderBy=\"creationTimestamp desc\"`. This sorts\nresults based on the `creationTimestamp` field in\nreverse chronological order (newest result first). Use this to sort\nresources like operations so that the newest operation is returned first.\n\nCurrently, only sorting by `name` or\n`creationTimestamp desc` is supported.", +"location": "query", +"type": "string" +}, +"pageToken": { +"description": "Specifies a page token to use. Set `pageToken` to the\n`nextPageToken` returned by a previous list request to get\nthe next page of results.", +"location": "query", +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "Name of the region of this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +}, +"returnPartialSuccess": { +"description": "Opt-in for partial success behavior which provides partial results in case\nof failure. The default value is false.\n\nFor example, when partial success behavior is enabled, aggregatedList for a\nsingle zone scope either returns all resources in the zone or no resources,\nwith an error code.", +"location": "query", +"type": "boolean" +} +}, +"path": "projects/{project}/regions/{region}/networkAttachments", +"response": { +"$ref": "NetworkAttachmentList" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"patch": { +"description": "Patches the specified NetworkAttachment resource with the data included in\nthe request. This method supports PATCH\nsemantics and usesJSON merge\npatch format and processing rules.", +"flatPath": "projects/{project}/regions/{region}/networkAttachments/{networkAttachment}", +"httpMethod": "PATCH", +"id": "compute.networkAttachments.patch", +"parameterOrder": [ +"project", +"region", +"networkAttachment" +], +"parameters": { +"networkAttachment": { +"description": "Name of the NetworkAttachment resource to patch.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "Name of the region for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).\nend_interface: MixerMutationRequestBuilder", +"location": "query", +"type": "string" +} +}, +"path": "projects/{project}/regions/{region}/networkAttachments/{networkAttachment}", +"request": { +"$ref": "NetworkAttachment" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"setIamPolicy": { +"description": "Sets the access control policy on the specified resource.\nReplaces any existing policy.", +"flatPath": "projects/{project}/regions/{region}/networkAttachments/{resource}/setIamPolicy", +"httpMethod": "POST", +"id": "compute.networkAttachments.setIamPolicy", +"parameterOrder": [ +"project", +"region", +"resource" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "The name of the region for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +}, +"resource": { +"description": "Name or id of the resource for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/regions/{region}/networkAttachments/{resource}/setIamPolicy", +"request": { +"$ref": "RegionSetPolicyRequest" +}, +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"testIamPermissions": { +"description": "Returns permissions that a caller has on the specified resource.", +"flatPath": "projects/{project}/regions/{region}/networkAttachments/{resource}/testIamPermissions", +"httpMethod": "POST", +"id": "compute.networkAttachments.testIamPermissions", +"parameterOrder": [ +"project", +"region", +"resource" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "The name of the region for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +}, +"resource": { +"description": "Name or id of the resource for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/regions/{region}/networkAttachments/{resource}/testIamPermissions", +"request": { +"$ref": "TestPermissionsRequest" +}, +"response": { +"$ref": "TestPermissionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +} +} +}, +"networkEdgeSecurityServices": { +"methods": { +"aggregatedList": { +"description": "Retrieves the list of all NetworkEdgeSecurityService resources available to\nthe specified project.\n\nTo prevent failure, Google recommends that you set the\n`returnPartialSuccess` parameter to `true`.", +"flatPath": "projects/{project}/aggregated/networkEdgeSecurityServices", +"httpMethod": "GET", +"id": "compute.networkEdgeSecurityServices.aggregatedList", +"parameterOrder": [ +"project" +], +"parameters": { +"filter": { +"description": "A filter expression that filters resources listed in the response. Most\nCompute resources support two types of filter expressions:\nexpressions that support regular expressions and expressions that follow\nAPI improvement proposal AIP-160.\nThese two types of filter expressions cannot be mixed in one request.\n\nIf you want to use AIP-160, your expression must specify the field name, an\noperator, and the value that you want to use for filtering. The value\nmust be a string, a number, or a boolean. The operator\nmust be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.\n\nFor example, if you are filtering Compute Engine instances, you can\nexclude instances named `example-instance` by specifying\n`name != example-instance`.\n\nThe `:*` comparison can be used to test whether a key has been defined.\nFor example, to find all objects with `owner` label use:\n```\nlabels.owner:*\n```\n\nYou can also filter nested fields. For example, you could specify\n`scheduling.automaticRestart = false` to include instances only\nif they are not scheduled for automatic restarts. You can use filtering\non nested fields to filter based onresource labels.\n\nTo filter on multiple expressions, provide each separate expression within\nparentheses. For example:\n```\n(scheduling.automaticRestart = true)\n(cpuPlatform = \"Intel Skylake\")\n```\nBy default, each expression is an `AND` expression. However, you\ncan include `AND` and `OR` expressions explicitly.\nFor example:\n```\n(cpuPlatform = \"Intel Skylake\") OR\n(cpuPlatform = \"Intel Broadwell\") AND\n(scheduling.automaticRestart = true)\n```\n\nIf you want to use a regular expression, use the `eq` (equal) or `ne`\n(not equal) operator against a single un-parenthesized expression with or\nwithout quotes or against multiple parenthesized expressions. Examples:\n\n`fieldname eq unquoted literal`\n`fieldname eq 'single quoted literal'`\n`fieldname eq \"double quoted literal\"`\n`(fieldname1 eq literal) (fieldname2 ne \"literal\")`\n\nThe literal value is interpreted as a regular expression using GoogleRE2 library syntax.\nThe literal value must match the entire field.\n\nFor example, to filter for instances that do not end with name \"instance\",\nyou would use `name ne .*instance`.\n\nYou cannot combine constraints on multiple fields using regular\nexpressions.", +"location": "query", +"type": "string" +}, +"includeAllScopes": { +"description": "Indicates whether every visible scope for each scope type (zone, region,\nglobal) should be included in the response. For new resource types added\nafter this field, the flag has no effect as new resource types will always\ninclude every visible scope for each scope type in response. For resource\ntypes which predate this field, if this flag is omitted or false, only\nscopes of the scope types where the resource type is expected to be found\nwill be included.", +"location": "query", +"type": "boolean" +}, +"maxResults": { +"default": "500", +"description": "The maximum number of results per page that should be returned.\nIf the number of available results is larger than `maxResults`,\nCompute Engine returns a `nextPageToken` that can be used to get\nthe next page of results in subsequent list requests. Acceptable values are\n`0` to `500`, inclusive. (Default: `500`)", +"format": "uint32", +"location": "query", +"minimum": "0", +"type": "integer" +}, +"orderBy": { +"description": "Sorts list results by a certain order. By default, results\nare returned in alphanumerical order based on the resource name.\n\nYou can also sort results in descending order based on the creation\ntimestamp using `orderBy=\"creationTimestamp desc\"`. This sorts\nresults based on the `creationTimestamp` field in\nreverse chronological order (newest result first). Use this to sort\nresources like operations so that the newest operation is returned first.\n\nCurrently, only sorting by `name` or\n`creationTimestamp desc` is supported.", +"location": "query", +"type": "string" +}, +"pageToken": { +"description": "Specifies a page token to use. Set `pageToken` to the\n`nextPageToken` returned by a previous list request to get\nthe next page of results.", +"location": "query", +"type": "string" +}, +"project": { +"description": "Name of the project scoping this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"returnPartialSuccess": { +"description": "Opt-in for partial success behavior which provides partial results in case\nof failure. The default value is false.\n\nFor example, when partial success behavior is enabled, aggregatedList for a\nsingle zone scope either returns all resources in the zone or no resources,\nwith an error code.", +"location": "query", +"type": "boolean" +}, +"serviceProjectNumber": { +"description": "The Shared VPC service project id or service project number for which\naggregated list request is invoked for subnetworks list-usable api.", +"format": "int64", +"location": "query", +"type": "string" +} +}, +"path": "projects/{project}/aggregated/networkEdgeSecurityServices", +"response": { +"$ref": "NetworkEdgeSecurityServiceAggregatedList" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"delete": { +"description": "Deletes the specified service.", +"flatPath": "projects/{project}/regions/{region}/networkEdgeSecurityServices/{networkEdgeSecurityService}", +"httpMethod": "DELETE", +"id": "compute.networkEdgeSecurityServices.delete", +"parameterOrder": [ +"project", +"region", +"networkEdgeSecurityService" +], +"parameters": { +"networkEdgeSecurityService": { +"description": "Name of the network edge security service to delete.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "Name of the region scoping this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "projects/{project}/regions/{region}/networkEdgeSecurityServices/{networkEdgeSecurityService}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"get": { +"description": "Gets a specified NetworkEdgeSecurityService.", +"flatPath": "projects/{project}/regions/{region}/networkEdgeSecurityServices/{networkEdgeSecurityService}", +"httpMethod": "GET", +"id": "compute.networkEdgeSecurityServices.get", +"parameterOrder": [ +"project", +"region", +"networkEdgeSecurityService" +], +"parameters": { +"networkEdgeSecurityService": { +"description": "Name of the network edge security service to get.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "Name of the region scoping this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/regions/{region}/networkEdgeSecurityServices/{networkEdgeSecurityService}", +"response": { +"$ref": "NetworkEdgeSecurityService" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"insert": { +"description": "Creates a new service in the specified project using the data included in\nthe request.", +"flatPath": "projects/{project}/regions/{region}/networkEdgeSecurityServices", +"httpMethod": "POST", +"id": "compute.networkEdgeSecurityServices.insert", +"parameterOrder": [ +"project", +"region" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "Name of the region scoping this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"validateOnly": { +"description": "If true, the request will not be committed.", +"location": "query", +"type": "boolean" +} +}, +"path": "projects/{project}/regions/{region}/networkEdgeSecurityServices", +"request": { +"$ref": "NetworkEdgeSecurityService" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"patch": { +"description": "Patches the specified policy with the data included in the request.", +"flatPath": "projects/{project}/regions/{region}/networkEdgeSecurityServices/{networkEdgeSecurityService}", +"httpMethod": "PATCH", +"id": "compute.networkEdgeSecurityServices.patch", +"parameterOrder": [ +"project", +"region", +"networkEdgeSecurityService" +], +"parameters": { +"networkEdgeSecurityService": { +"description": "Name of the network edge security service to update.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +}, +"paths": { +"location": "query", +"repeated": true, +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "Name of the region scoping this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"updateMask": { +"description": "Indicates fields to be updated as part of this request.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "projects/{project}/regions/{region}/networkEdgeSecurityServices/{networkEdgeSecurityService}", +"request": { +"$ref": "NetworkEdgeSecurityService" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +} +} +}, +"networkEndpointGroups": { +"methods": { +"aggregatedList": { +"description": "Retrieves the list of network endpoint groups and sorts them by zone.\n\nTo prevent failure, Google recommends that you set the\n`returnPartialSuccess` parameter to `true`.", +"flatPath": "projects/{project}/aggregated/networkEndpointGroups", +"httpMethod": "GET", +"id": "compute.networkEndpointGroups.aggregatedList", +"parameterOrder": [ +"project" +], +"parameters": { +"filter": { +"description": "A filter expression that filters resources listed in the response. Most\nCompute resources support two types of filter expressions:\nexpressions that support regular expressions and expressions that follow\nAPI improvement proposal AIP-160.\nThese two types of filter expressions cannot be mixed in one request.\n\nIf you want to use AIP-160, your expression must specify the field name, an\noperator, and the value that you want to use for filtering. The value\nmust be a string, a number, or a boolean. The operator\nmust be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.\n\nFor example, if you are filtering Compute Engine instances, you can\nexclude instances named `example-instance` by specifying\n`name != example-instance`.\n\nThe `:*` comparison can be used to test whether a key has been defined.\nFor example, to find all objects with `owner` label use:\n```\nlabels.owner:*\n```\n\nYou can also filter nested fields. For example, you could specify\n`scheduling.automaticRestart = false` to include instances only\nif they are not scheduled for automatic restarts. You can use filtering\non nested fields to filter based onresource labels.\n\nTo filter on multiple expressions, provide each separate expression within\nparentheses. For example:\n```\n(scheduling.automaticRestart = true)\n(cpuPlatform = \"Intel Skylake\")\n```\nBy default, each expression is an `AND` expression. However, you\ncan include `AND` and `OR` expressions explicitly.\nFor example:\n```\n(cpuPlatform = \"Intel Skylake\") OR\n(cpuPlatform = \"Intel Broadwell\") AND\n(scheduling.automaticRestart = true)\n```\n\nIf you want to use a regular expression, use the `eq` (equal) or `ne`\n(not equal) operator against a single un-parenthesized expression with or\nwithout quotes or against multiple parenthesized expressions. Examples:\n\n`fieldname eq unquoted literal`\n`fieldname eq 'single quoted literal'`\n`fieldname eq \"double quoted literal\"`\n`(fieldname1 eq literal) (fieldname2 ne \"literal\")`\n\nThe literal value is interpreted as a regular expression using GoogleRE2 library syntax.\nThe literal value must match the entire field.\n\nFor example, to filter for instances that do not end with name \"instance\",\nyou would use `name ne .*instance`.\n\nYou cannot combine constraints on multiple fields using regular\nexpressions.", +"location": "query", +"type": "string" +}, +"includeAllScopes": { +"description": "Indicates whether every visible scope for each scope type (zone, region,\nglobal) should be included in the response. For new resource types added\nafter this field, the flag has no effect as new resource types will always\ninclude every visible scope for each scope type in response. For resource\ntypes which predate this field, if this flag is omitted or false, only\nscopes of the scope types where the resource type is expected to be found\nwill be included.", +"location": "query", +"type": "boolean" +}, +"maxResults": { +"default": "500", +"description": "The maximum number of results per page that should be returned.\nIf the number of available results is larger than `maxResults`,\nCompute Engine returns a `nextPageToken` that can be used to get\nthe next page of results in subsequent list requests. Acceptable values are\n`0` to `500`, inclusive. (Default: `500`)", +"format": "uint32", +"location": "query", +"minimum": "0", +"type": "integer" +}, +"orderBy": { +"description": "Sorts list results by a certain order. By default, results\nare returned in alphanumerical order based on the resource name.\n\nYou can also sort results in descending order based on the creation\ntimestamp using `orderBy=\"creationTimestamp desc\"`. This sorts\nresults based on the `creationTimestamp` field in\nreverse chronological order (newest result first). Use this to sort\nresources like operations so that the newest operation is returned first.\n\nCurrently, only sorting by `name` or\n`creationTimestamp desc` is supported.", +"location": "query", +"type": "string" +}, +"pageToken": { +"description": "Specifies a page token to use. Set `pageToken` to the\n`nextPageToken` returned by a previous list request to get\nthe next page of results.", +"location": "query", +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"returnPartialSuccess": { +"description": "Opt-in for partial success behavior which provides partial results in case\nof failure. The default value is false.\n\nFor example, when partial success behavior is enabled, aggregatedList for a\nsingle zone scope either returns all resources in the zone or no resources,\nwith an error code.", +"location": "query", +"type": "boolean" +}, +"serviceProjectNumber": { +"description": "The Shared VPC service project id or service project number for which\naggregated list request is invoked for subnetworks list-usable api.", +"format": "int64", +"location": "query", +"type": "string" +} +}, +"path": "projects/{project}/aggregated/networkEndpointGroups", +"response": { +"$ref": "NetworkEndpointGroupAggregatedList" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"attachNetworkEndpoints": { +"description": "Attach a list of network endpoints to the specified network endpoint group.", +"flatPath": "projects/{project}/zones/{zone}/networkEndpointGroups/{networkEndpointGroup}/attachNetworkEndpoints", +"httpMethod": "POST", +"id": "compute.networkEndpointGroups.attachNetworkEndpoints", +"parameterOrder": [ +"project", +"zone", +"networkEndpointGroup" +], +"parameters": { +"networkEndpointGroup": { +"description": "The name of the network endpoint group where you are attaching network\nendpoints to. It should comply with RFC1035.", +"location": "path", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"zone": { +"description": "The name of the zone where\nthe network endpoint group is located. It should comply with RFC1035.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/zones/{zone}/networkEndpointGroups/{networkEndpointGroup}/attachNetworkEndpoints", +"request": { +"$ref": "NetworkEndpointGroupsAttachEndpointsRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"delete": { +"description": "Deletes the specified network endpoint group. The network endpoints in the\nNEG and the VM instances they belong to are not terminated when the NEG is\ndeleted. Note that the NEG cannot be deleted if there are backend services\nreferencing it.", +"flatPath": "projects/{project}/zones/{zone}/networkEndpointGroups/{networkEndpointGroup}", +"httpMethod": "DELETE", +"id": "compute.networkEndpointGroups.delete", +"parameterOrder": [ +"project", +"zone", +"networkEndpointGroup" +], +"parameters": { +"networkEndpointGroup": { +"description": "The name of the network endpoint group to delete. It should comply with\nRFC1035.", +"location": "path", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"zone": { +"description": "The name of the zone where\nthe network endpoint group is located. It should comply with RFC1035.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/zones/{zone}/networkEndpointGroups/{networkEndpointGroup}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"detachNetworkEndpoints": { +"description": "Detach a list of network endpoints from the specified network endpoint\ngroup.", +"flatPath": "projects/{project}/zones/{zone}/networkEndpointGroups/{networkEndpointGroup}/detachNetworkEndpoints", +"httpMethod": "POST", +"id": "compute.networkEndpointGroups.detachNetworkEndpoints", +"parameterOrder": [ +"project", +"zone", +"networkEndpointGroup" +], +"parameters": { +"networkEndpointGroup": { +"description": "The name of the network endpoint group where you are removing network\nendpoints. It should comply with RFC1035.", +"location": "path", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"zone": { +"description": "The name of the zone where\nthe network endpoint group is located. It should comply with RFC1035.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/zones/{zone}/networkEndpointGroups/{networkEndpointGroup}/detachNetworkEndpoints", +"request": { +"$ref": "NetworkEndpointGroupsDetachEndpointsRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"get": { +"description": "Returns the specified network endpoint group.", +"flatPath": "projects/{project}/zones/{zone}/networkEndpointGroups/{networkEndpointGroup}", +"httpMethod": "GET", +"id": "compute.networkEndpointGroups.get", +"parameterOrder": [ +"project", +"zone", +"networkEndpointGroup" +], +"parameters": { +"networkEndpointGroup": { +"description": "The name of the network endpoint group. It should comply with RFC1035.", +"location": "path", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"zone": { +"description": "The name of the zone where\nthe network endpoint group is located. It should comply with RFC1035.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/zones/{zone}/networkEndpointGroups/{networkEndpointGroup}", +"response": { +"$ref": "NetworkEndpointGroup" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"insert": { +"description": "Creates a network endpoint group in the specified project using the\nparameters that are included in the request.\n\nNote: Use the following APIs to manage network endpoint groups:\n \n - \n To manage NEGs with zonal scope (such as zonal NEGs, hybrid connectivity\n NEGs): zonal\n API\n - \n To manage NEGs with regional scope (such as regional internet NEGs,\n serverless NEGs, Private Service Connect NEGs): regional\n API\n - \n To manage NEGs with global scope (such as global internet NEGs):global\n API", +"flatPath": "projects/{project}/zones/{zone}/networkEndpointGroups", +"httpMethod": "POST", +"id": "compute.networkEndpointGroups.insert", +"parameterOrder": [ +"project", +"zone" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"zone": { +"description": "The name of the zone where\nyou want to create the network endpoint group. It should comply with\nRFC1035.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/zones/{zone}/networkEndpointGroups", +"request": { +"$ref": "NetworkEndpointGroup" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"list": { +"description": "Retrieves the list of network endpoint groups that are located in the\nspecified project and zone.", +"flatPath": "projects/{project}/zones/{zone}/networkEndpointGroups", +"httpMethod": "GET", +"id": "compute.networkEndpointGroups.list", +"parameterOrder": [ +"project", +"zone" +], +"parameters": { +"filter": { +"description": "A filter expression that filters resources listed in the response. Most\nCompute resources support two types of filter expressions:\nexpressions that support regular expressions and expressions that follow\nAPI improvement proposal AIP-160.\nThese two types of filter expressions cannot be mixed in one request.\n\nIf you want to use AIP-160, your expression must specify the field name, an\noperator, and the value that you want to use for filtering. The value\nmust be a string, a number, or a boolean. The operator\nmust be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.\n\nFor example, if you are filtering Compute Engine instances, you can\nexclude instances named `example-instance` by specifying\n`name != example-instance`.\n\nThe `:*` comparison can be used to test whether a key has been defined.\nFor example, to find all objects with `owner` label use:\n```\nlabels.owner:*\n```\n\nYou can also filter nested fields. For example, you could specify\n`scheduling.automaticRestart = false` to include instances only\nif they are not scheduled for automatic restarts. You can use filtering\non nested fields to filter based onresource labels.\n\nTo filter on multiple expressions, provide each separate expression within\nparentheses. For example:\n```\n(scheduling.automaticRestart = true)\n(cpuPlatform = \"Intel Skylake\")\n```\nBy default, each expression is an `AND` expression. However, you\ncan include `AND` and `OR` expressions explicitly.\nFor example:\n```\n(cpuPlatform = \"Intel Skylake\") OR\n(cpuPlatform = \"Intel Broadwell\") AND\n(scheduling.automaticRestart = true)\n```\n\nIf you want to use a regular expression, use the `eq` (equal) or `ne`\n(not equal) operator against a single un-parenthesized expression with or\nwithout quotes or against multiple parenthesized expressions. Examples:\n\n`fieldname eq unquoted literal`\n`fieldname eq 'single quoted literal'`\n`fieldname eq \"double quoted literal\"`\n`(fieldname1 eq literal) (fieldname2 ne \"literal\")`\n\nThe literal value is interpreted as a regular expression using GoogleRE2 library syntax.\nThe literal value must match the entire field.\n\nFor example, to filter for instances that do not end with name \"instance\",\nyou would use `name ne .*instance`.\n\nYou cannot combine constraints on multiple fields using regular\nexpressions.", +"location": "query", +"type": "string" +}, +"maxResults": { +"default": "500", +"description": "The maximum number of results per page that should be returned.\nIf the number of available results is larger than `maxResults`,\nCompute Engine returns a `nextPageToken` that can be used to get\nthe next page of results in subsequent list requests. Acceptable values are\n`0` to `500`, inclusive. (Default: `500`)", +"format": "uint32", +"location": "query", +"minimum": "0", +"type": "integer" +}, +"orderBy": { +"description": "Sorts list results by a certain order. By default, results\nare returned in alphanumerical order based on the resource name.\n\nYou can also sort results in descending order based on the creation\ntimestamp using `orderBy=\"creationTimestamp desc\"`. This sorts\nresults based on the `creationTimestamp` field in\nreverse chronological order (newest result first). Use this to sort\nresources like operations so that the newest operation is returned first.\n\nCurrently, only sorting by `name` or\n`creationTimestamp desc` is supported.", +"location": "query", +"type": "string" +}, +"pageToken": { +"description": "Specifies a page token to use. Set `pageToken` to the\n`nextPageToken` returned by a previous list request to get\nthe next page of results.", +"location": "query", +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"returnPartialSuccess": { +"description": "Opt-in for partial success behavior which provides partial results in case\nof failure. The default value is false.\n\nFor example, when partial success behavior is enabled, aggregatedList for a\nsingle zone scope either returns all resources in the zone or no resources,\nwith an error code.", +"location": "query", +"type": "boolean" +}, +"zone": { +"description": "The name of thezone\nwhere the network endpoint group is located. It should comply with RFC1035.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/zones/{zone}/networkEndpointGroups", +"response": { +"$ref": "NetworkEndpointGroupList" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"listNetworkEndpoints": { +"description": "Lists the network endpoints in the specified network endpoint group.", +"flatPath": "projects/{project}/zones/{zone}/networkEndpointGroups/{networkEndpointGroup}/listNetworkEndpoints", +"httpMethod": "POST", +"id": "compute.networkEndpointGroups.listNetworkEndpoints", +"parameterOrder": [ +"project", +"zone", +"networkEndpointGroup" +], +"parameters": { +"filter": { +"description": "A filter expression that filters resources listed in the response. Most\nCompute resources support two types of filter expressions:\nexpressions that support regular expressions and expressions that follow\nAPI improvement proposal AIP-160.\nThese two types of filter expressions cannot be mixed in one request.\n\nIf you want to use AIP-160, your expression must specify the field name, an\noperator, and the value that you want to use for filtering. The value\nmust be a string, a number, or a boolean. The operator\nmust be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.\n\nFor example, if you are filtering Compute Engine instances, you can\nexclude instances named `example-instance` by specifying\n`name != example-instance`.\n\nThe `:*` comparison can be used to test whether a key has been defined.\nFor example, to find all objects with `owner` label use:\n```\nlabels.owner:*\n```\n\nYou can also filter nested fields. For example, you could specify\n`scheduling.automaticRestart = false` to include instances only\nif they are not scheduled for automatic restarts. You can use filtering\non nested fields to filter based onresource labels.\n\nTo filter on multiple expressions, provide each separate expression within\nparentheses. For example:\n```\n(scheduling.automaticRestart = true)\n(cpuPlatform = \"Intel Skylake\")\n```\nBy default, each expression is an `AND` expression. However, you\ncan include `AND` and `OR` expressions explicitly.\nFor example:\n```\n(cpuPlatform = \"Intel Skylake\") OR\n(cpuPlatform = \"Intel Broadwell\") AND\n(scheduling.automaticRestart = true)\n```\n\nIf you want to use a regular expression, use the `eq` (equal) or `ne`\n(not equal) operator against a single un-parenthesized expression with or\nwithout quotes or against multiple parenthesized expressions. Examples:\n\n`fieldname eq unquoted literal`\n`fieldname eq 'single quoted literal'`\n`fieldname eq \"double quoted literal\"`\n`(fieldname1 eq literal) (fieldname2 ne \"literal\")`\n\nThe literal value is interpreted as a regular expression using GoogleRE2 library syntax.\nThe literal value must match the entire field.\n\nFor example, to filter for instances that do not end with name \"instance\",\nyou would use `name ne .*instance`.\n\nYou cannot combine constraints on multiple fields using regular\nexpressions.", +"location": "query", +"type": "string" +}, +"maxResults": { +"default": "500", +"description": "The maximum number of results per page that should be returned.\nIf the number of available results is larger than `maxResults`,\nCompute Engine returns a `nextPageToken` that can be used to get\nthe next page of results in subsequent list requests. Acceptable values are\n`0` to `500`, inclusive. (Default: `500`)", +"format": "uint32", +"location": "query", +"minimum": "0", +"type": "integer" +}, +"networkEndpointGroup": { +"description": "The name of the network endpoint group from which you want to generate a\nlist of included network endpoints. It should comply with RFC1035.", +"location": "path", +"required": true, +"type": "string" +}, +"orderBy": { +"description": "Sorts list results by a certain order. By default, results\nare returned in alphanumerical order based on the resource name.\n\nYou can also sort results in descending order based on the creation\ntimestamp using `orderBy=\"creationTimestamp desc\"`. This sorts\nresults based on the `creationTimestamp` field in\nreverse chronological order (newest result first). Use this to sort\nresources like operations so that the newest operation is returned first.\n\nCurrently, only sorting by `name` or\n`creationTimestamp desc` is supported.", +"location": "query", +"type": "string" +}, +"pageToken": { +"description": "Specifies a page token to use. Set `pageToken` to the\n`nextPageToken` returned by a previous list request to get\nthe next page of results.", +"location": "query", +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"returnPartialSuccess": { +"description": "Opt-in for partial success behavior which provides partial results in case\nof failure. The default value is false.\n\nFor example, when partial success behavior is enabled, aggregatedList for a\nsingle zone scope either returns all resources in the zone or no resources,\nwith an error code.", +"location": "query", +"type": "boolean" +}, +"zone": { +"description": "The name of the zone where\nthe network endpoint group is located. It should comply with RFC1035.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/zones/{zone}/networkEndpointGroups/{networkEndpointGroup}/listNetworkEndpoints", +"request": { +"$ref": "NetworkEndpointGroupsListEndpointsRequest" +}, +"response": { +"$ref": "NetworkEndpointGroupsListNetworkEndpoints" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"testIamPermissions": { +"description": "Returns permissions that a caller has on the specified resource.", +"flatPath": "projects/{project}/zones/{zone}/networkEndpointGroups/{resource}/testIamPermissions", +"httpMethod": "POST", +"id": "compute.networkEndpointGroups.testIamPermissions", +"parameterOrder": [ +"project", +"zone", +"resource" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"resource": { +"description": "Name or id of the resource for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +}, +"zone": { +"description": "The name of the zone for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/zones/{zone}/networkEndpointGroups/{resource}/testIamPermissions", +"request": { +"$ref": "TestPermissionsRequest" +}, +"response": { +"$ref": "TestPermissionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +} +} +}, +"networkFirewallPolicies": { +"methods": { +"addAssociation": { +"description": "Inserts an association for the specified firewall policy.", +"flatPath": "projects/{project}/global/firewallPolicies/{firewallPolicy}/addAssociation", +"httpMethod": "POST", +"id": "compute.networkFirewallPolicies.addAssociation", +"parameterOrder": [ +"project", +"firewallPolicy" +], +"parameters": { +"firewallPolicy": { +"description": "Name of the firewall policy to update.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"replaceExistingAssociation": { +"description": "Indicates whether or not to replace it if an association of the attachment\nalready exists. This is false by default, in which case an error will be\nreturned if an association already exists.", +"location": "query", +"type": "boolean" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "projects/{project}/global/firewallPolicies/{firewallPolicy}/addAssociation", +"request": { +"$ref": "FirewallPolicyAssociation" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"addPacketMirroringRule": { +"description": "Inserts a packet mirroring rule into a firewall policy.", +"flatPath": "projects/{project}/global/firewallPolicies/{firewallPolicy}/addPacketMirroringRule", +"httpMethod": "POST", +"id": "compute.networkFirewallPolicies.addPacketMirroringRule", +"parameterOrder": [ +"project", +"firewallPolicy" +], +"parameters": { +"firewallPolicy": { +"description": "Name of the firewall policy to update.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +}, +"maxPriority": { +"description": "When rule.priority is not specified, auto choose a unused priority betweenminPriority and maxPriority>.\nThis field is exclusive with rule.priority.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"minPriority": { +"description": "When rule.priority is not specified, auto choose a unused priority betweenminPriority and maxPriority>.\nThis field is exclusive with rule.priority.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "projects/{project}/global/firewallPolicies/{firewallPolicy}/addPacketMirroringRule", +"request": { +"$ref": "FirewallPolicyRule" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"addRule": { +"description": "Inserts a rule into a firewall policy.", +"flatPath": "projects/{project}/global/firewallPolicies/{firewallPolicy}/addRule", +"httpMethod": "POST", +"id": "compute.networkFirewallPolicies.addRule", +"parameterOrder": [ +"project", +"firewallPolicy" +], +"parameters": { +"firewallPolicy": { +"description": "Name of the firewall policy to update.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +}, +"maxPriority": { +"description": "When rule.priority is not specified, auto choose a unused priority betweenminPriority and maxPriority>.\nThis field is exclusive with rule.priority.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"minPriority": { +"description": "When rule.priority is not specified, auto choose a unused priority betweenminPriority and maxPriority>.\nThis field is exclusive with rule.priority.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "projects/{project}/global/firewallPolicies/{firewallPolicy}/addRule", +"request": { +"$ref": "FirewallPolicyRule" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"aggregatedList": { +"description": "Retrieves an aggregated list of network firewall policies, listing network\nfirewall policies from all applicable scopes (global and regional) and\ngrouping the results per scope.\n\nTo prevent failure, it is recommended that you set the\n`returnPartialSuccess` parameter to `true`.", +"flatPath": "projects/{project}/aggregated/firewallPolicies", +"httpMethod": "GET", +"id": "compute.networkFirewallPolicies.aggregatedList", +"parameterOrder": [ +"project" +], +"parameters": { +"filter": { +"description": "A filter expression that filters resources listed in the response. Most\nCompute resources support two types of filter expressions:\nexpressions that support regular expressions and expressions that follow\nAPI improvement proposal AIP-160.\nThese two types of filter expressions cannot be mixed in one request.\n\nIf you want to use AIP-160, your expression must specify the field name, an\noperator, and the value that you want to use for filtering. The value\nmust be a string, a number, or a boolean. The operator\nmust be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.\n\nFor example, if you are filtering Compute Engine instances, you can\nexclude instances named `example-instance` by specifying\n`name != example-instance`.\n\nThe `:*` comparison can be used to test whether a key has been defined.\nFor example, to find all objects with `owner` label use:\n```\nlabels.owner:*\n```\n\nYou can also filter nested fields. For example, you could specify\n`scheduling.automaticRestart = false` to include instances only\nif they are not scheduled for automatic restarts. You can use filtering\non nested fields to filter based onresource labels.\n\nTo filter on multiple expressions, provide each separate expression within\nparentheses. For example:\n```\n(scheduling.automaticRestart = true)\n(cpuPlatform = \"Intel Skylake\")\n```\nBy default, each expression is an `AND` expression. However, you\ncan include `AND` and `OR` expressions explicitly.\nFor example:\n```\n(cpuPlatform = \"Intel Skylake\") OR\n(cpuPlatform = \"Intel Broadwell\") AND\n(scheduling.automaticRestart = true)\n```\n\nIf you want to use a regular expression, use the `eq` (equal) or `ne`\n(not equal) operator against a single un-parenthesized expression with or\nwithout quotes or against multiple parenthesized expressions. Examples:\n\n`fieldname eq unquoted literal`\n`fieldname eq 'single quoted literal'`\n`fieldname eq \"double quoted literal\"`\n`(fieldname1 eq literal) (fieldname2 ne \"literal\")`\n\nThe literal value is interpreted as a regular expression using GoogleRE2 library syntax.\nThe literal value must match the entire field.\n\nFor example, to filter for instances that do not end with name \"instance\",\nyou would use `name ne .*instance`.\n\nYou cannot combine constraints on multiple fields using regular\nexpressions.", +"location": "query", +"type": "string" +}, +"includeAllScopes": { +"description": "Indicates whether every visible scope for each scope type (zone, region,\nglobal) should be included in the response. For new resource types added\nafter this field, the flag has no effect as new resource types will always\ninclude every visible scope for each scope type in response. For resource\ntypes which predate this field, if this flag is omitted or false, only\nscopes of the scope types where the resource type is expected to be found\nwill be included.", +"location": "query", +"type": "boolean" +}, +"maxResults": { +"default": "500", +"description": "The maximum number of results per page that should be returned.\nIf the number of available results is larger than `maxResults`,\nCompute Engine returns a `nextPageToken` that can be used to get\nthe next page of results in subsequent list requests. Acceptable values are\n`0` to `500`, inclusive. (Default: `500`)", +"format": "uint32", +"location": "query", +"minimum": "0", +"type": "integer" +}, +"orderBy": { +"description": "Sorts list results by a certain order. By default, results\nare returned in alphanumerical order based on the resource name.\n\nYou can also sort results in descending order based on the creation\ntimestamp using `orderBy=\"creationTimestamp desc\"`. This sorts\nresults based on the `creationTimestamp` field in\nreverse chronological order (newest result first). Use this to sort\nresources like operations so that the newest operation is returned first.\n\nCurrently, only sorting by `name` or\n`creationTimestamp desc` is supported.", +"location": "query", +"type": "string" +}, +"pageToken": { +"description": "Specifies a page token to use. Set `pageToken` to the\n`nextPageToken` returned by a previous list request to get\nthe next page of results.", +"location": "query", +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"returnPartialSuccess": { +"description": "Opt-in for partial success behavior which provides partial results in case\nof failure. The default value is false.\n\nFor example, when partial success behavior is enabled, aggregatedList for a\nsingle zone scope either returns all resources in the zone or no resources,\nwith an error code.", +"location": "query", +"type": "boolean" +}, +"serviceProjectNumber": { +"description": "The Shared VPC service project id or service project number for which\naggregated list request is invoked for subnetworks list-usable api.", +"format": "int64", +"location": "query", +"type": "string" +} +}, +"path": "projects/{project}/aggregated/firewallPolicies", +"response": { +"$ref": "NetworkFirewallPolicyAggregatedList" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"cloneRules": { +"description": "Copies rules to the specified firewall policy.", +"flatPath": "projects/{project}/global/firewallPolicies/{firewallPolicy}/cloneRules", +"httpMethod": "POST", +"id": "compute.networkFirewallPolicies.cloneRules", +"parameterOrder": [ +"project", +"firewallPolicy" +], +"parameters": { +"firewallPolicy": { +"description": "Name of the firewall policy to update.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"sourceFirewallPolicy": { +"description": "The firewall policy from which to copy rules.", +"location": "query", +"type": "string" +} +}, +"path": "projects/{project}/global/firewallPolicies/{firewallPolicy}/cloneRules", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"delete": { +"description": "Deletes the specified policy.", +"flatPath": "projects/{project}/global/firewallPolicies/{firewallPolicy}", +"httpMethod": "DELETE", +"id": "compute.networkFirewallPolicies.delete", +"parameterOrder": [ +"project", +"firewallPolicy" +], +"parameters": { +"firewallPolicy": { +"description": "Name of the firewall policy to delete.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "projects/{project}/global/firewallPolicies/{firewallPolicy}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"get": { +"description": "Returns the specified network firewall policy.", +"flatPath": "projects/{project}/global/firewallPolicies/{firewallPolicy}", +"httpMethod": "GET", +"id": "compute.networkFirewallPolicies.get", +"parameterOrder": [ +"project", +"firewallPolicy" +], +"parameters": { +"firewallPolicy": { +"description": "Name of the firewall policy to get.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/global/firewallPolicies/{firewallPolicy}", +"response": { +"$ref": "FirewallPolicy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"getAssociation": { +"description": "Gets an association with the specified name.", +"flatPath": "projects/{project}/global/firewallPolicies/{firewallPolicy}/getAssociation", +"httpMethod": "GET", +"id": "compute.networkFirewallPolicies.getAssociation", +"parameterOrder": [ +"project", +"firewallPolicy" +], +"parameters": { +"firewallPolicy": { +"description": "Name of the firewall policy to which the queried association belongs.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +}, +"name": { +"description": "The name of the association to get from the firewall policy.", +"location": "query", +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/global/firewallPolicies/{firewallPolicy}/getAssociation", +"response": { +"$ref": "FirewallPolicyAssociation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"getIamPolicy": { +"description": "Gets the access control policy for a resource. May be empty if no such\npolicy or resource exists.", +"flatPath": "projects/{project}/global/firewallPolicies/{resource}/getIamPolicy", +"httpMethod": "GET", +"id": "compute.networkFirewallPolicies.getIamPolicy", +"parameterOrder": [ +"project", +"resource" +], +"parameters": { +"optionsRequestedPolicyVersion": { +"description": "Requested IAM Policy version.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"resource": { +"description": "Name or id of the resource for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9_]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/global/firewallPolicies/{resource}/getIamPolicy", +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"getPacketMirroringRule": { +"description": "Gets a packet mirroring rule of the specified priority.", +"flatPath": "projects/{project}/global/firewallPolicies/{firewallPolicy}/getPacketMirroringRule", +"httpMethod": "GET", +"id": "compute.networkFirewallPolicies.getPacketMirroringRule", +"parameterOrder": [ +"project", +"firewallPolicy" +], +"parameters": { +"firewallPolicy": { +"description": "Name of the firewall policy to which the queried rule belongs.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +}, +"priority": { +"description": "The priority of the rule to get from the firewall policy.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/global/firewallPolicies/{firewallPolicy}/getPacketMirroringRule", +"response": { +"$ref": "FirewallPolicyRule" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"getRule": { +"description": "Gets a rule of the specified priority.", +"flatPath": "projects/{project}/global/firewallPolicies/{firewallPolicy}/getRule", +"httpMethod": "GET", +"id": "compute.networkFirewallPolicies.getRule", +"parameterOrder": [ +"project", +"firewallPolicy" +], +"parameters": { +"firewallPolicy": { +"description": "Name of the firewall policy to which the queried rule belongs.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +}, +"priority": { +"description": "The priority of the rule to get from the firewall policy.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/global/firewallPolicies/{firewallPolicy}/getRule", +"response": { +"$ref": "FirewallPolicyRule" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"insert": { +"description": "Creates a new policy in the specified project using the data included in\nthe request.", +"flatPath": "projects/{project}/global/firewallPolicies", +"httpMethod": "POST", +"id": "compute.networkFirewallPolicies.insert", +"parameterOrder": [ +"project" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "projects/{project}/global/firewallPolicies", +"request": { +"$ref": "FirewallPolicy" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"list": { +"description": "Lists all the policies that have been configured for the specified project.", +"flatPath": "projects/{project}/global/firewallPolicies", +"httpMethod": "GET", +"id": "compute.networkFirewallPolicies.list", +"parameterOrder": [ +"project" +], +"parameters": { +"filter": { +"description": "A filter expression that filters resources listed in the response. Most\nCompute resources support two types of filter expressions:\nexpressions that support regular expressions and expressions that follow\nAPI improvement proposal AIP-160.\nThese two types of filter expressions cannot be mixed in one request.\n\nIf you want to use AIP-160, your expression must specify the field name, an\noperator, and the value that you want to use for filtering. The value\nmust be a string, a number, or a boolean. The operator\nmust be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.\n\nFor example, if you are filtering Compute Engine instances, you can\nexclude instances named `example-instance` by specifying\n`name != example-instance`.\n\nThe `:*` comparison can be used to test whether a key has been defined.\nFor example, to find all objects with `owner` label use:\n```\nlabels.owner:*\n```\n\nYou can also filter nested fields. For example, you could specify\n`scheduling.automaticRestart = false` to include instances only\nif they are not scheduled for automatic restarts. You can use filtering\non nested fields to filter based onresource labels.\n\nTo filter on multiple expressions, provide each separate expression within\nparentheses. For example:\n```\n(scheduling.automaticRestart = true)\n(cpuPlatform = \"Intel Skylake\")\n```\nBy default, each expression is an `AND` expression. However, you\ncan include `AND` and `OR` expressions explicitly.\nFor example:\n```\n(cpuPlatform = \"Intel Skylake\") OR\n(cpuPlatform = \"Intel Broadwell\") AND\n(scheduling.automaticRestart = true)\n```\n\nIf you want to use a regular expression, use the `eq` (equal) or `ne`\n(not equal) operator against a single un-parenthesized expression with or\nwithout quotes or against multiple parenthesized expressions. Examples:\n\n`fieldname eq unquoted literal`\n`fieldname eq 'single quoted literal'`\n`fieldname eq \"double quoted literal\"`\n`(fieldname1 eq literal) (fieldname2 ne \"literal\")`\n\nThe literal value is interpreted as a regular expression using GoogleRE2 library syntax.\nThe literal value must match the entire field.\n\nFor example, to filter for instances that do not end with name \"instance\",\nyou would use `name ne .*instance`.\n\nYou cannot combine constraints on multiple fields using regular\nexpressions.", +"location": "query", +"type": "string" +}, +"maxResults": { +"default": "500", +"description": "The maximum number of results per page that should be returned.\nIf the number of available results is larger than `maxResults`,\nCompute Engine returns a `nextPageToken` that can be used to get\nthe next page of results in subsequent list requests. Acceptable values are\n`0` to `500`, inclusive. (Default: `500`)", +"format": "uint32", +"location": "query", +"minimum": "0", +"type": "integer" +}, +"orderBy": { +"description": "Sorts list results by a certain order. By default, results\nare returned in alphanumerical order based on the resource name.\n\nYou can also sort results in descending order based on the creation\ntimestamp using `orderBy=\"creationTimestamp desc\"`. This sorts\nresults based on the `creationTimestamp` field in\nreverse chronological order (newest result first). Use this to sort\nresources like operations so that the newest operation is returned first.\n\nCurrently, only sorting by `name` or\n`creationTimestamp desc` is supported.", +"location": "query", +"type": "string" +}, +"pageToken": { +"description": "Specifies a page token to use. Set `pageToken` to the\n`nextPageToken` returned by a previous list request to get\nthe next page of results.", +"location": "query", +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"returnPartialSuccess": { +"description": "Opt-in for partial success behavior which provides partial results in case\nof failure. The default value is false.\n\nFor example, when partial success behavior is enabled, aggregatedList for a\nsingle zone scope either returns all resources in the zone or no resources,\nwith an error code.", +"location": "query", +"type": "boolean" +} +}, +"path": "projects/{project}/global/firewallPolicies", +"response": { +"$ref": "FirewallPolicyList" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"patch": { +"description": "Patches the specified policy with the data included in the request.", +"flatPath": "projects/{project}/global/firewallPolicies/{firewallPolicy}", +"httpMethod": "PATCH", +"id": "compute.networkFirewallPolicies.patch", +"parameterOrder": [ +"project", +"firewallPolicy" +], +"parameters": { +"firewallPolicy": { +"description": "Name of the firewall policy to update.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "projects/{project}/global/firewallPolicies/{firewallPolicy}", +"request": { +"$ref": "FirewallPolicy" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"patchPacketMirroringRule": { +"description": "Patches a packet mirroring rule of the specified priority.", +"flatPath": "projects/{project}/global/firewallPolicies/{firewallPolicy}/patchPacketMirroringRule", +"httpMethod": "POST", +"id": "compute.networkFirewallPolicies.patchPacketMirroringRule", +"parameterOrder": [ +"project", +"firewallPolicy" +], +"parameters": { +"firewallPolicy": { +"description": "Name of the firewall policy to update.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +}, +"priority": { +"description": "The priority of the rule to patch.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "projects/{project}/global/firewallPolicies/{firewallPolicy}/patchPacketMirroringRule", +"request": { +"$ref": "FirewallPolicyRule" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"patchRule": { +"description": "Patches a rule of the specified priority.", +"flatPath": "projects/{project}/global/firewallPolicies/{firewallPolicy}/patchRule", +"httpMethod": "POST", +"id": "compute.networkFirewallPolicies.patchRule", +"parameterOrder": [ +"project", +"firewallPolicy" +], +"parameters": { +"firewallPolicy": { +"description": "Name of the firewall policy to update.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +}, +"priority": { +"description": "The priority of the rule to patch.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "projects/{project}/global/firewallPolicies/{firewallPolicy}/patchRule", +"request": { +"$ref": "FirewallPolicyRule" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"removeAssociation": { +"description": "Removes an association for the specified firewall policy.", +"flatPath": "projects/{project}/global/firewallPolicies/{firewallPolicy}/removeAssociation", +"httpMethod": "POST", +"id": "compute.networkFirewallPolicies.removeAssociation", +"parameterOrder": [ +"project", +"firewallPolicy" +], +"parameters": { +"firewallPolicy": { +"description": "Name of the firewall policy to update.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +}, +"name": { +"description": "Name for the attachment that will be removed.", +"location": "query", +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "projects/{project}/global/firewallPolicies/{firewallPolicy}/removeAssociation", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"removePacketMirroringRule": { +"description": "Deletes a packet mirroring rule of the specified priority.", +"flatPath": "projects/{project}/global/firewallPolicies/{firewallPolicy}/removePacketMirroringRule", +"httpMethod": "POST", +"id": "compute.networkFirewallPolicies.removePacketMirroringRule", +"parameterOrder": [ +"project", +"firewallPolicy" +], +"parameters": { +"firewallPolicy": { +"description": "Name of the firewall policy to update.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +}, +"priority": { +"description": "The priority of the rule to remove from the firewall policy.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "projects/{project}/global/firewallPolicies/{firewallPolicy}/removePacketMirroringRule", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"removeRule": { +"description": "Deletes a rule of the specified priority.", +"flatPath": "projects/{project}/global/firewallPolicies/{firewallPolicy}/removeRule", +"httpMethod": "POST", +"id": "compute.networkFirewallPolicies.removeRule", +"parameterOrder": [ +"project", +"firewallPolicy" +], +"parameters": { +"firewallPolicy": { +"description": "Name of the firewall policy to update.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +}, +"priority": { +"description": "The priority of the rule to remove from the firewall policy.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "projects/{project}/global/firewallPolicies/{firewallPolicy}/removeRule", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"setIamPolicy": { +"description": "Sets the access control policy on the specified resource.\nReplaces any existing policy.", +"flatPath": "projects/{project}/global/firewallPolicies/{resource}/setIamPolicy", +"httpMethod": "POST", +"id": "compute.networkFirewallPolicies.setIamPolicy", +"parameterOrder": [ +"project", +"resource" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"resource": { +"description": "Name or id of the resource for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9_]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/global/firewallPolicies/{resource}/setIamPolicy", +"request": { +"$ref": "GlobalSetPolicyRequest" +}, +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"testIamPermissions": { +"description": "Returns permissions that a caller has on the specified resource.", +"flatPath": "projects/{project}/global/firewallPolicies/{resource}/testIamPermissions", +"httpMethod": "POST", +"id": "compute.networkFirewallPolicies.testIamPermissions", +"parameterOrder": [ +"project", +"resource" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"resource": { +"description": "Name or id of the resource for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9_]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/global/firewallPolicies/{resource}/testIamPermissions", +"request": { +"$ref": "TestPermissionsRequest" +}, +"response": { +"$ref": "TestPermissionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +} +} +}, +"networkProfiles": { +"methods": { +"get": { +"description": "Returns the specified network profile.", +"flatPath": "projects/{project}/global/networkProfiles/{networkProfile}", +"httpMethod": "GET", +"id": "compute.networkProfiles.get", +"parameterOrder": [ +"project", +"networkProfile" +], +"parameters": { +"networkProfile": { +"description": "Name of the network profile to return.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/global/networkProfiles/{networkProfile}", +"response": { +"$ref": "NetworkProfile" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"list": { +"description": "Retrieves a list of network profiles available to the specified\nproject.", +"flatPath": "projects/{project}/global/networkProfiles", +"httpMethod": "GET", +"id": "compute.networkProfiles.list", +"parameterOrder": [ +"project" +], +"parameters": { +"filter": { +"description": "A filter expression that filters resources listed in the response. Most\nCompute resources support two types of filter expressions:\nexpressions that support regular expressions and expressions that follow\nAPI improvement proposal AIP-160.\nThese two types of filter expressions cannot be mixed in one request.\n\nIf you want to use AIP-160, your expression must specify the field name, an\noperator, and the value that you want to use for filtering. The value\nmust be a string, a number, or a boolean. The operator\nmust be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.\n\nFor example, if you are filtering Compute Engine instances, you can\nexclude instances named `example-instance` by specifying\n`name != example-instance`.\n\nThe `:*` comparison can be used to test whether a key has been defined.\nFor example, to find all objects with `owner` label use:\n```\nlabels.owner:*\n```\n\nYou can also filter nested fields. For example, you could specify\n`scheduling.automaticRestart = false` to include instances only\nif they are not scheduled for automatic restarts. You can use filtering\non nested fields to filter based onresource labels.\n\nTo filter on multiple expressions, provide each separate expression within\nparentheses. For example:\n```\n(scheduling.automaticRestart = true)\n(cpuPlatform = \"Intel Skylake\")\n```\nBy default, each expression is an `AND` expression. However, you\ncan include `AND` and `OR` expressions explicitly.\nFor example:\n```\n(cpuPlatform = \"Intel Skylake\") OR\n(cpuPlatform = \"Intel Broadwell\") AND\n(scheduling.automaticRestart = true)\n```\n\nIf you want to use a regular expression, use the `eq` (equal) or `ne`\n(not equal) operator against a single un-parenthesized expression with or\nwithout quotes or against multiple parenthesized expressions. Examples:\n\n`fieldname eq unquoted literal`\n`fieldname eq 'single quoted literal'`\n`fieldname eq \"double quoted literal\"`\n`(fieldname1 eq literal) (fieldname2 ne \"literal\")`\n\nThe literal value is interpreted as a regular expression using GoogleRE2 library syntax.\nThe literal value must match the entire field.\n\nFor example, to filter for instances that do not end with name \"instance\",\nyou would use `name ne .*instance`.\n\nYou cannot combine constraints on multiple fields using regular\nexpressions.", +"location": "query", +"type": "string" +}, +"maxResults": { +"default": "500", +"description": "The maximum number of results per page that should be returned.\nIf the number of available results is larger than `maxResults`,\nCompute Engine returns a `nextPageToken` that can be used to get\nthe next page of results in subsequent list requests. Acceptable values are\n`0` to `500`, inclusive. (Default: `500`)", +"format": "uint32", +"location": "query", +"minimum": "0", +"type": "integer" +}, +"orderBy": { +"description": "Sorts list results by a certain order. By default, results\nare returned in alphanumerical order based on the resource name.\n\nYou can also sort results in descending order based on the creation\ntimestamp using `orderBy=\"creationTimestamp desc\"`. This sorts\nresults based on the `creationTimestamp` field in\nreverse chronological order (newest result first). Use this to sort\nresources like operations so that the newest operation is returned first.\n\nCurrently, only sorting by `name` or\n`creationTimestamp desc` is supported.", +"location": "query", +"type": "string" +}, +"pageToken": { +"description": "Specifies a page token to use. Set `pageToken` to the\n`nextPageToken` returned by a previous list request to get\nthe next page of results.", +"location": "query", +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"returnPartialSuccess": { +"description": "Opt-in for partial success behavior which provides partial results in case\nof failure. The default value is false.\n\nFor example, when partial success behavior is enabled, aggregatedList for a\nsingle zone scope either returns all resources in the zone or no resources,\nwith an error code.", +"location": "query", +"type": "boolean" +} +}, +"path": "projects/{project}/global/networkProfiles", +"response": { +"$ref": "NetworkProfilesListResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +} +} +}, +"networks": { +"methods": { +"addPeering": { +"description": "Adds a peering to the specified network.", +"flatPath": "projects/{project}/global/networks/{network}/addPeering", +"httpMethod": "POST", +"id": "compute.networks.addPeering", +"parameterOrder": [ +"project", +"network" +], +"parameters": { +"network": { +"description": "Name of the network resource to add peering to.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "projects/{project}/global/networks/{network}/addPeering", +"request": { +"$ref": "NetworksAddPeeringRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"cancelRequestRemovePeering": { +"description": "Cancel requests to remove a peering from the specified network. Applicable\nonly for PeeringConnection with update_strategy=CONSENSUS. Cancels a\nrequest to remove a peering from the specified network.", +"flatPath": "projects/{project}/global/networks/{network}/cancelRequestRemovePeering", +"httpMethod": "POST", +"id": "compute.networks.cancelRequestRemovePeering", +"parameterOrder": [ +"project", +"network" +], +"parameters": { +"network": { +"description": "Name of the network resource to remove peering from.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "projects/{project}/global/networks/{network}/cancelRequestRemovePeering", +"request": { +"$ref": "NetworksCancelRequestRemovePeeringRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"delete": { +"description": "Deletes the specified network.", +"flatPath": "projects/{project}/global/networks/{network}", +"httpMethod": "DELETE", +"id": "compute.networks.delete", +"parameterOrder": [ +"project", +"network" +], +"parameters": { +"network": { +"description": "Name of the network to delete.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "projects/{project}/global/networks/{network}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"get": { +"description": "Returns the specified network.", +"flatPath": "projects/{project}/global/networks/{network}", +"httpMethod": "GET", +"id": "compute.networks.get", +"parameterOrder": [ +"project", +"network" +], +"parameters": { +"network": { +"description": "Name of the network to return.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/global/networks/{network}", +"response": { +"$ref": "Network" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"getEffectiveFirewalls": { +"description": "Returns the effective firewalls on a given network.", +"flatPath": "projects/{project}/global/networks/{network}/getEffectiveFirewalls", +"httpMethod": "GET", +"id": "compute.networks.getEffectiveFirewalls", +"parameterOrder": [ +"project", +"network" +], +"parameters": { +"network": { +"description": "Name of the network for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/global/networks/{network}/getEffectiveFirewalls", +"response": { +"$ref": "NetworksGetEffectiveFirewallsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"insert": { +"description": "Creates a network in the specified project using the data included\nin the request.", +"flatPath": "projects/{project}/global/networks", +"httpMethod": "POST", +"id": "compute.networks.insert", +"parameterOrder": [ +"project" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "projects/{project}/global/networks", +"request": { +"$ref": "Network" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"list": { +"description": "Retrieves the list of networks available to the specified project.", +"flatPath": "projects/{project}/global/networks", +"httpMethod": "GET", +"id": "compute.networks.list", +"parameterOrder": [ +"project" +], +"parameters": { +"filter": { +"description": "A filter expression that filters resources listed in the response. Most\nCompute resources support two types of filter expressions:\nexpressions that support regular expressions and expressions that follow\nAPI improvement proposal AIP-160.\nThese two types of filter expressions cannot be mixed in one request.\n\nIf you want to use AIP-160, your expression must specify the field name, an\noperator, and the value that you want to use for filtering. The value\nmust be a string, a number, or a boolean. The operator\nmust be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.\n\nFor example, if you are filtering Compute Engine instances, you can\nexclude instances named `example-instance` by specifying\n`name != example-instance`.\n\nThe `:*` comparison can be used to test whether a key has been defined.\nFor example, to find all objects with `owner` label use:\n```\nlabels.owner:*\n```\n\nYou can also filter nested fields. For example, you could specify\n`scheduling.automaticRestart = false` to include instances only\nif they are not scheduled for automatic restarts. You can use filtering\non nested fields to filter based onresource labels.\n\nTo filter on multiple expressions, provide each separate expression within\nparentheses. For example:\n```\n(scheduling.automaticRestart = true)\n(cpuPlatform = \"Intel Skylake\")\n```\nBy default, each expression is an `AND` expression. However, you\ncan include `AND` and `OR` expressions explicitly.\nFor example:\n```\n(cpuPlatform = \"Intel Skylake\") OR\n(cpuPlatform = \"Intel Broadwell\") AND\n(scheduling.automaticRestart = true)\n```\n\nIf you want to use a regular expression, use the `eq` (equal) or `ne`\n(not equal) operator against a single un-parenthesized expression with or\nwithout quotes or against multiple parenthesized expressions. Examples:\n\n`fieldname eq unquoted literal`\n`fieldname eq 'single quoted literal'`\n`fieldname eq \"double quoted literal\"`\n`(fieldname1 eq literal) (fieldname2 ne \"literal\")`\n\nThe literal value is interpreted as a regular expression using GoogleRE2 library syntax.\nThe literal value must match the entire field.\n\nFor example, to filter for instances that do not end with name \"instance\",\nyou would use `name ne .*instance`.\n\nYou cannot combine constraints on multiple fields using regular\nexpressions.", +"location": "query", +"type": "string" +}, +"maxResults": { +"default": "500", +"description": "The maximum number of results per page that should be returned.\nIf the number of available results is larger than `maxResults`,\nCompute Engine returns a `nextPageToken` that can be used to get\nthe next page of results in subsequent list requests. Acceptable values are\n`0` to `500`, inclusive. (Default: `500`)", +"format": "uint32", +"location": "query", +"minimum": "0", +"type": "integer" +}, +"orderBy": { +"description": "Sorts list results by a certain order. By default, results\nare returned in alphanumerical order based on the resource name.\n\nYou can also sort results in descending order based on the creation\ntimestamp using `orderBy=\"creationTimestamp desc\"`. This sorts\nresults based on the `creationTimestamp` field in\nreverse chronological order (newest result first). Use this to sort\nresources like operations so that the newest operation is returned first.\n\nCurrently, only sorting by `name` or\n`creationTimestamp desc` is supported.", +"location": "query", +"type": "string" +}, +"pageToken": { +"description": "Specifies a page token to use. Set `pageToken` to the\n`nextPageToken` returned by a previous list request to get\nthe next page of results.", +"location": "query", +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"returnPartialSuccess": { +"description": "Opt-in for partial success behavior which provides partial results in case\nof failure. The default value is false.\n\nFor example, when partial success behavior is enabled, aggregatedList for a\nsingle zone scope either returns all resources in the zone or no resources,\nwith an error code.", +"location": "query", +"type": "boolean" +} +}, +"path": "projects/{project}/global/networks", +"response": { +"$ref": "NetworkList" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"listPeeringRoutes": { +"description": "Lists the peering routes exchanged over peering connection.", +"flatPath": "projects/{project}/global/networks/{network}/listPeeringRoutes", +"httpMethod": "GET", +"id": "compute.networks.listPeeringRoutes", +"parameterOrder": [ +"project", +"network" +], +"parameters": { +"direction": { +"description": "The direction of the exchanged routes.", +"enum": [ +"INCOMING", +"OUTGOING" +], +"enumDescriptions": [ +"For routes exported from peer network.", +"For routes exported from local network." +], +"location": "query", +"type": "string" +}, +"filter": { +"description": "A filter expression that filters resources listed in the response. Most\nCompute resources support two types of filter expressions:\nexpressions that support regular expressions and expressions that follow\nAPI improvement proposal AIP-160.\nThese two types of filter expressions cannot be mixed in one request.\n\nIf you want to use AIP-160, your expression must specify the field name, an\noperator, and the value that you want to use for filtering. The value\nmust be a string, a number, or a boolean. The operator\nmust be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.\n\nFor example, if you are filtering Compute Engine instances, you can\nexclude instances named `example-instance` by specifying\n`name != example-instance`.\n\nThe `:*` comparison can be used to test whether a key has been defined.\nFor example, to find all objects with `owner` label use:\n```\nlabels.owner:*\n```\n\nYou can also filter nested fields. For example, you could specify\n`scheduling.automaticRestart = false` to include instances only\nif they are not scheduled for automatic restarts. You can use filtering\non nested fields to filter based onresource labels.\n\nTo filter on multiple expressions, provide each separate expression within\nparentheses. For example:\n```\n(scheduling.automaticRestart = true)\n(cpuPlatform = \"Intel Skylake\")\n```\nBy default, each expression is an `AND` expression. However, you\ncan include `AND` and `OR` expressions explicitly.\nFor example:\n```\n(cpuPlatform = \"Intel Skylake\") OR\n(cpuPlatform = \"Intel Broadwell\") AND\n(scheduling.automaticRestart = true)\n```\n\nIf you want to use a regular expression, use the `eq` (equal) or `ne`\n(not equal) operator against a single un-parenthesized expression with or\nwithout quotes or against multiple parenthesized expressions. Examples:\n\n`fieldname eq unquoted literal`\n`fieldname eq 'single quoted literal'`\n`fieldname eq \"double quoted literal\"`\n`(fieldname1 eq literal) (fieldname2 ne \"literal\")`\n\nThe literal value is interpreted as a regular expression using GoogleRE2 library syntax.\nThe literal value must match the entire field.\n\nFor example, to filter for instances that do not end with name \"instance\",\nyou would use `name ne .*instance`.\n\nYou cannot combine constraints on multiple fields using regular\nexpressions.", +"location": "query", +"type": "string" +}, +"maxResults": { +"default": "500", +"description": "The maximum number of results per page that should be returned.\nIf the number of available results is larger than `maxResults`,\nCompute Engine returns a `nextPageToken` that can be used to get\nthe next page of results in subsequent list requests. Acceptable values are\n`0` to `500`, inclusive. (Default: `500`)", +"format": "uint32", +"location": "query", +"minimum": "0", +"type": "integer" +}, +"network": { +"description": "Name of the network for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +}, +"orderBy": { +"description": "Sorts list results by a certain order. By default, results\nare returned in alphanumerical order based on the resource name.\n\nYou can also sort results in descending order based on the creation\ntimestamp using `orderBy=\"creationTimestamp desc\"`. This sorts\nresults based on the `creationTimestamp` field in\nreverse chronological order (newest result first). Use this to sort\nresources like operations so that the newest operation is returned first.\n\nCurrently, only sorting by `name` or\n`creationTimestamp desc` is supported.", +"location": "query", +"type": "string" +}, +"pageToken": { +"description": "Specifies a page token to use. Set `pageToken` to the\n`nextPageToken` returned by a previous list request to get\nthe next page of results.", +"location": "query", +"type": "string" +}, +"peeringName": { +"description": "The response will show routes exchanged over the given peering connection.", +"location": "query", +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "The region of the request. The response will include all subnet routes,\nstatic routes and dynamic routes in the region.", +"location": "query", +"type": "string" +}, +"returnPartialSuccess": { +"description": "Opt-in for partial success behavior which provides partial results in case\nof failure. The default value is false.\n\nFor example, when partial success behavior is enabled, aggregatedList for a\nsingle zone scope either returns all resources in the zone or no resources,\nwith an error code.", +"location": "query", +"type": "boolean" +} +}, +"path": "projects/{project}/global/networks/{network}/listPeeringRoutes", +"response": { +"$ref": "ExchangedPeeringRoutesList" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"patch": { +"description": "Patches the specified network with the data included in the request.\nOnly routingConfig can be modified.", +"flatPath": "projects/{project}/global/networks/{network}", +"httpMethod": "PATCH", +"id": "compute.networks.patch", +"parameterOrder": [ +"project", +"network" +], +"parameters": { +"network": { +"description": "Name of the network to update.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "projects/{project}/global/networks/{network}", +"request": { +"$ref": "Network" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"removePeering": { +"description": "Removes a peering from the specified network.", +"flatPath": "projects/{project}/global/networks/{network}/removePeering", +"httpMethod": "POST", +"id": "compute.networks.removePeering", +"parameterOrder": [ +"project", +"network" +], +"parameters": { +"network": { +"description": "Name of the network resource to remove peering from.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "projects/{project}/global/networks/{network}/removePeering", +"request": { +"$ref": "NetworksRemovePeeringRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"requestRemovePeering": { +"description": "Requests to remove a peering from the specified network. Applicable only\nfor PeeringConnection with update_strategy=CONSENSUS.", +"flatPath": "projects/{project}/global/networks/{network}/requestRemovePeering", +"httpMethod": "POST", +"id": "compute.networks.requestRemovePeering", +"parameterOrder": [ +"project", +"network" +], +"parameters": { +"network": { +"description": "Name of the network resource to remove peering from.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "projects/{project}/global/networks/{network}/requestRemovePeering", +"request": { +"$ref": "NetworksRequestRemovePeeringRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"switchToCustomMode": { +"description": "Switches the network mode from auto subnet mode to custom subnet mode.", +"flatPath": "projects/{project}/global/networks/{network}/switchToCustomMode", +"httpMethod": "POST", +"id": "compute.networks.switchToCustomMode", +"parameterOrder": [ +"project", +"network" +], +"parameters": { +"network": { +"description": "Name of the network to be updated.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "projects/{project}/global/networks/{network}/switchToCustomMode", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"testIamPermissions": { +"description": "Returns permissions that a caller has on the specified resource.", +"flatPath": "projects/{project}/global/networks/{resource}/testIamPermissions", +"httpMethod": "POST", +"id": "compute.networks.testIamPermissions", +"parameterOrder": [ +"project", +"resource" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"resource": { +"description": "Name or id of the resource for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9_]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/global/networks/{resource}/testIamPermissions", +"request": { +"$ref": "TestPermissionsRequest" +}, +"response": { +"$ref": "TestPermissionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"updatePeering": { +"description": "Updates the specified network peering with the data included in the\nrequest. You can only modify the NetworkPeering.export_custom_routes field\nand the NetworkPeering.import_custom_routes field.", +"flatPath": "projects/{project}/global/networks/{network}/updatePeering", +"httpMethod": "PATCH", +"id": "compute.networks.updatePeering", +"parameterOrder": [ +"project", +"network" +], +"parameters": { +"network": { +"description": "Name of the network resource which the updated peering is belonging to.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "projects/{project}/global/networks/{network}/updatePeering", +"request": { +"$ref": "NetworksUpdatePeeringRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +} +} +}, +"nodeGroups": { +"methods": { +"addNodes": { +"description": "Adds specified number of nodes to the node group.", +"flatPath": "projects/{project}/zones/{zone}/nodeGroups/{nodeGroup}/addNodes", +"httpMethod": "POST", +"id": "compute.nodeGroups.addNodes", +"parameterOrder": [ +"project", +"zone", +"nodeGroup" +], +"parameters": { +"nodeGroup": { +"description": "Name of the NodeGroup resource.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"zone": { +"description": "The name of the zone for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/zones/{zone}/nodeGroups/{nodeGroup}/addNodes", +"request": { +"$ref": "NodeGroupsAddNodesRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"aggregatedList": { +"description": "Retrieves an aggregated list of node groups.\nNote: use nodeGroups.listNodes for more details about each group.\n\nTo prevent failure, Google recommends that you set the\n`returnPartialSuccess` parameter to `true`.", +"flatPath": "projects/{project}/aggregated/nodeGroups", +"httpMethod": "GET", +"id": "compute.nodeGroups.aggregatedList", +"parameterOrder": [ +"project" +], +"parameters": { +"filter": { +"description": "A filter expression that filters resources listed in the response. Most\nCompute resources support two types of filter expressions:\nexpressions that support regular expressions and expressions that follow\nAPI improvement proposal AIP-160.\nThese two types of filter expressions cannot be mixed in one request.\n\nIf you want to use AIP-160, your expression must specify the field name, an\noperator, and the value that you want to use for filtering. The value\nmust be a string, a number, or a boolean. The operator\nmust be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.\n\nFor example, if you are filtering Compute Engine instances, you can\nexclude instances named `example-instance` by specifying\n`name != example-instance`.\n\nThe `:*` comparison can be used to test whether a key has been defined.\nFor example, to find all objects with `owner` label use:\n```\nlabels.owner:*\n```\n\nYou can also filter nested fields. For example, you could specify\n`scheduling.automaticRestart = false` to include instances only\nif they are not scheduled for automatic restarts. You can use filtering\non nested fields to filter based onresource labels.\n\nTo filter on multiple expressions, provide each separate expression within\nparentheses. For example:\n```\n(scheduling.automaticRestart = true)\n(cpuPlatform = \"Intel Skylake\")\n```\nBy default, each expression is an `AND` expression. However, you\ncan include `AND` and `OR` expressions explicitly.\nFor example:\n```\n(cpuPlatform = \"Intel Skylake\") OR\n(cpuPlatform = \"Intel Broadwell\") AND\n(scheduling.automaticRestart = true)\n```\n\nIf you want to use a regular expression, use the `eq` (equal) or `ne`\n(not equal) operator against a single un-parenthesized expression with or\nwithout quotes or against multiple parenthesized expressions. Examples:\n\n`fieldname eq unquoted literal`\n`fieldname eq 'single quoted literal'`\n`fieldname eq \"double quoted literal\"`\n`(fieldname1 eq literal) (fieldname2 ne \"literal\")`\n\nThe literal value is interpreted as a regular expression using GoogleRE2 library syntax.\nThe literal value must match the entire field.\n\nFor example, to filter for instances that do not end with name \"instance\",\nyou would use `name ne .*instance`.\n\nYou cannot combine constraints on multiple fields using regular\nexpressions.", +"location": "query", +"type": "string" +}, +"includeAllScopes": { +"description": "Indicates whether every visible scope for each scope type (zone, region,\nglobal) should be included in the response. For new resource types added\nafter this field, the flag has no effect as new resource types will always\ninclude every visible scope for each scope type in response. For resource\ntypes which predate this field, if this flag is omitted or false, only\nscopes of the scope types where the resource type is expected to be found\nwill be included.", +"location": "query", +"type": "boolean" +}, +"maxResults": { +"default": "500", +"description": "The maximum number of results per page that should be returned.\nIf the number of available results is larger than `maxResults`,\nCompute Engine returns a `nextPageToken` that can be used to get\nthe next page of results in subsequent list requests. Acceptable values are\n`0` to `500`, inclusive. (Default: `500`)", +"format": "uint32", +"location": "query", +"minimum": "0", +"type": "integer" +}, +"orderBy": { +"description": "Sorts list results by a certain order. By default, results\nare returned in alphanumerical order based on the resource name.\n\nYou can also sort results in descending order based on the creation\ntimestamp using `orderBy=\"creationTimestamp desc\"`. This sorts\nresults based on the `creationTimestamp` field in\nreverse chronological order (newest result first). Use this to sort\nresources like operations so that the newest operation is returned first.\n\nCurrently, only sorting by `name` or\n`creationTimestamp desc` is supported.", +"location": "query", +"type": "string" +}, +"pageToken": { +"description": "Specifies a page token to use. Set `pageToken` to the\n`nextPageToken` returned by a previous list request to get\nthe next page of results.", +"location": "query", +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"returnPartialSuccess": { +"description": "Opt-in for partial success behavior which provides partial results in case\nof failure. The default value is false.\n\nFor example, when partial success behavior is enabled, aggregatedList for a\nsingle zone scope either returns all resources in the zone or no resources,\nwith an error code.", +"location": "query", +"type": "boolean" +}, +"serviceProjectNumber": { +"description": "The Shared VPC service project id or service project number for which\naggregated list request is invoked for subnetworks list-usable api.", +"format": "int64", +"location": "query", +"type": "string" +} +}, +"path": "projects/{project}/aggregated/nodeGroups", +"response": { +"$ref": "NodeGroupAggregatedList" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"delete": { +"description": "Deletes the specified NodeGroup resource.", +"flatPath": "projects/{project}/zones/{zone}/nodeGroups/{nodeGroup}", +"httpMethod": "DELETE", +"id": "compute.nodeGroups.delete", +"parameterOrder": [ +"project", +"zone", +"nodeGroup" +], +"parameters": { +"nodeGroup": { +"description": "Name of the NodeGroup resource to delete.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"zone": { +"description": "The name of the zone for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/zones/{zone}/nodeGroups/{nodeGroup}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"deleteNodes": { +"description": "Deletes specified nodes from the node group.", +"flatPath": "projects/{project}/zones/{zone}/nodeGroups/{nodeGroup}/deleteNodes", +"httpMethod": "POST", +"id": "compute.nodeGroups.deleteNodes", +"parameterOrder": [ +"project", +"zone", +"nodeGroup" +], +"parameters": { +"nodeGroup": { +"description": "Name of the NodeGroup resource whose nodes will be deleted.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"zone": { +"description": "The name of the zone for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/zones/{zone}/nodeGroups/{nodeGroup}/deleteNodes", +"request": { +"$ref": "NodeGroupsDeleteNodesRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"get": { +"description": "Returns the specified NodeGroup. Get a list of available NodeGroups\nby making a list() request.\nNote: the \"nodes\" field should not be used. Use nodeGroups.listNodes\ninstead.", +"flatPath": "projects/{project}/zones/{zone}/nodeGroups/{nodeGroup}", +"httpMethod": "GET", +"id": "compute.nodeGroups.get", +"parameterOrder": [ +"project", +"zone", +"nodeGroup" +], +"parameters": { +"nodeGroup": { +"description": "Name of the node group to return.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"zone": { +"description": "The name of the zone for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/zones/{zone}/nodeGroups/{nodeGroup}", +"response": { +"$ref": "NodeGroup" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"getIamPolicy": { +"description": "Gets the access control policy for a resource. May be empty if no such\npolicy or resource exists.", +"flatPath": "projects/{project}/zones/{zone}/nodeGroups/{resource}/getIamPolicy", +"httpMethod": "GET", +"id": "compute.nodeGroups.getIamPolicy", +"parameterOrder": [ +"project", +"zone", +"resource" +], +"parameters": { +"optionsRequestedPolicyVersion": { +"description": "Requested IAM Policy version.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"resource": { +"description": "Name or id of the resource for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +}, +"zone": { +"description": "The name of the zone for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/zones/{zone}/nodeGroups/{resource}/getIamPolicy", +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"insert": { +"description": "Creates a NodeGroup resource in the specified project using the data\nincluded in the request.", +"flatPath": "projects/{project}/zones/{zone}/nodeGroups", +"httpMethod": "POST", +"id": "compute.nodeGroups.insert", +"parameterOrder": [ +"project", +"zone", +"initialNodeCount" +], +"parameters": { +"initialNodeCount": { +"description": "Initial count of nodes in the node group.", +"format": "int32", +"location": "query", +"required": true, +"type": "integer" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"zone": { +"description": "The name of the zone for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/zones/{zone}/nodeGroups", +"request": { +"$ref": "NodeGroup" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"list": { +"description": "Retrieves a list of node groups available to the specified project.\nNote: use nodeGroups.listNodes for more details about each group.", +"flatPath": "projects/{project}/zones/{zone}/nodeGroups", +"httpMethod": "GET", +"id": "compute.nodeGroups.list", +"parameterOrder": [ +"project", +"zone" +], +"parameters": { +"filter": { +"description": "A filter expression that filters resources listed in the response. Most\nCompute resources support two types of filter expressions:\nexpressions that support regular expressions and expressions that follow\nAPI improvement proposal AIP-160.\nThese two types of filter expressions cannot be mixed in one request.\n\nIf you want to use AIP-160, your expression must specify the field name, an\noperator, and the value that you want to use for filtering. The value\nmust be a string, a number, or a boolean. The operator\nmust be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.\n\nFor example, if you are filtering Compute Engine instances, you can\nexclude instances named `example-instance` by specifying\n`name != example-instance`.\n\nThe `:*` comparison can be used to test whether a key has been defined.\nFor example, to find all objects with `owner` label use:\n```\nlabels.owner:*\n```\n\nYou can also filter nested fields. For example, you could specify\n`scheduling.automaticRestart = false` to include instances only\nif they are not scheduled for automatic restarts. You can use filtering\non nested fields to filter based onresource labels.\n\nTo filter on multiple expressions, provide each separate expression within\nparentheses. For example:\n```\n(scheduling.automaticRestart = true)\n(cpuPlatform = \"Intel Skylake\")\n```\nBy default, each expression is an `AND` expression. However, you\ncan include `AND` and `OR` expressions explicitly.\nFor example:\n```\n(cpuPlatform = \"Intel Skylake\") OR\n(cpuPlatform = \"Intel Broadwell\") AND\n(scheduling.automaticRestart = true)\n```\n\nIf you want to use a regular expression, use the `eq` (equal) or `ne`\n(not equal) operator against a single un-parenthesized expression with or\nwithout quotes or against multiple parenthesized expressions. Examples:\n\n`fieldname eq unquoted literal`\n`fieldname eq 'single quoted literal'`\n`fieldname eq \"double quoted literal\"`\n`(fieldname1 eq literal) (fieldname2 ne \"literal\")`\n\nThe literal value is interpreted as a regular expression using GoogleRE2 library syntax.\nThe literal value must match the entire field.\n\nFor example, to filter for instances that do not end with name \"instance\",\nyou would use `name ne .*instance`.\n\nYou cannot combine constraints on multiple fields using regular\nexpressions.", +"location": "query", +"type": "string" +}, +"maxResults": { +"default": "500", +"description": "The maximum number of results per page that should be returned.\nIf the number of available results is larger than `maxResults`,\nCompute Engine returns a `nextPageToken` that can be used to get\nthe next page of results in subsequent list requests. Acceptable values are\n`0` to `500`, inclusive. (Default: `500`)", +"format": "uint32", +"location": "query", +"minimum": "0", +"type": "integer" +}, +"orderBy": { +"description": "Sorts list results by a certain order. By default, results\nare returned in alphanumerical order based on the resource name.\n\nYou can also sort results in descending order based on the creation\ntimestamp using `orderBy=\"creationTimestamp desc\"`. This sorts\nresults based on the `creationTimestamp` field in\nreverse chronological order (newest result first). Use this to sort\nresources like operations so that the newest operation is returned first.\n\nCurrently, only sorting by `name` or\n`creationTimestamp desc` is supported.", +"location": "query", +"type": "string" +}, +"pageToken": { +"description": "Specifies a page token to use. Set `pageToken` to the\n`nextPageToken` returned by a previous list request to get\nthe next page of results.", +"location": "query", +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"returnPartialSuccess": { +"description": "Opt-in for partial success behavior which provides partial results in case\nof failure. The default value is false.\n\nFor example, when partial success behavior is enabled, aggregatedList for a\nsingle zone scope either returns all resources in the zone or no resources,\nwith an error code.", +"location": "query", +"type": "boolean" +}, +"zone": { +"description": "The name of the zone for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/zones/{zone}/nodeGroups", +"response": { +"$ref": "NodeGroupList" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"listNodes": { +"description": "Lists nodes in the node group.", +"flatPath": "projects/{project}/zones/{zone}/nodeGroups/{nodeGroup}/listNodes", +"httpMethod": "POST", +"id": "compute.nodeGroups.listNodes", +"parameterOrder": [ +"project", +"zone", +"nodeGroup" +], +"parameters": { +"filter": { +"description": "A filter expression that filters resources listed in the response. Most\nCompute resources support two types of filter expressions:\nexpressions that support regular expressions and expressions that follow\nAPI improvement proposal AIP-160.\nThese two types of filter expressions cannot be mixed in one request.\n\nIf you want to use AIP-160, your expression must specify the field name, an\noperator, and the value that you want to use for filtering. The value\nmust be a string, a number, or a boolean. The operator\nmust be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.\n\nFor example, if you are filtering Compute Engine instances, you can\nexclude instances named `example-instance` by specifying\n`name != example-instance`.\n\nThe `:*` comparison can be used to test whether a key has been defined.\nFor example, to find all objects with `owner` label use:\n```\nlabels.owner:*\n```\n\nYou can also filter nested fields. For example, you could specify\n`scheduling.automaticRestart = false` to include instances only\nif they are not scheduled for automatic restarts. You can use filtering\non nested fields to filter based onresource labels.\n\nTo filter on multiple expressions, provide each separate expression within\nparentheses. For example:\n```\n(scheduling.automaticRestart = true)\n(cpuPlatform = \"Intel Skylake\")\n```\nBy default, each expression is an `AND` expression. However, you\ncan include `AND` and `OR` expressions explicitly.\nFor example:\n```\n(cpuPlatform = \"Intel Skylake\") OR\n(cpuPlatform = \"Intel Broadwell\") AND\n(scheduling.automaticRestart = true)\n```\n\nIf you want to use a regular expression, use the `eq` (equal) or `ne`\n(not equal) operator against a single un-parenthesized expression with or\nwithout quotes or against multiple parenthesized expressions. Examples:\n\n`fieldname eq unquoted literal`\n`fieldname eq 'single quoted literal'`\n`fieldname eq \"double quoted literal\"`\n`(fieldname1 eq literal) (fieldname2 ne \"literal\")`\n\nThe literal value is interpreted as a regular expression using GoogleRE2 library syntax.\nThe literal value must match the entire field.\n\nFor example, to filter for instances that do not end with name \"instance\",\nyou would use `name ne .*instance`.\n\nYou cannot combine constraints on multiple fields using regular\nexpressions.", +"location": "query", +"type": "string" +}, +"maxResults": { +"default": "500", +"description": "The maximum number of results per page that should be returned.\nIf the number of available results is larger than `maxResults`,\nCompute Engine returns a `nextPageToken` that can be used to get\nthe next page of results in subsequent list requests. Acceptable values are\n`0` to `500`, inclusive. (Default: `500`)", +"format": "uint32", +"location": "query", +"minimum": "0", +"type": "integer" +}, +"nodeGroup": { +"description": "Name of the NodeGroup resource whose nodes you want to list.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +}, +"orderBy": { +"description": "Sorts list results by a certain order. By default, results\nare returned in alphanumerical order based on the resource name.\n\nYou can also sort results in descending order based on the creation\ntimestamp using `orderBy=\"creationTimestamp desc\"`. This sorts\nresults based on the `creationTimestamp` field in\nreverse chronological order (newest result first). Use this to sort\nresources like operations so that the newest operation is returned first.\n\nCurrently, only sorting by `name` or\n`creationTimestamp desc` is supported.", +"location": "query", +"type": "string" +}, +"pageToken": { +"description": "Specifies a page token to use. Set `pageToken` to the\n`nextPageToken` returned by a previous list request to get\nthe next page of results.", +"location": "query", +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"returnPartialSuccess": { +"description": "Opt-in for partial success behavior which provides partial results in case\nof failure. The default value is false.\n\nFor example, when partial success behavior is enabled, aggregatedList for a\nsingle zone scope either returns all resources in the zone or no resources,\nwith an error code.", +"location": "query", +"type": "boolean" +}, +"zone": { +"description": "The name of the zone for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/zones/{zone}/nodeGroups/{nodeGroup}/listNodes", +"response": { +"$ref": "NodeGroupsListNodes" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"patch": { +"description": "Updates the specified node group.", +"flatPath": "projects/{project}/zones/{zone}/nodeGroups/{nodeGroup}", +"httpMethod": "PATCH", +"id": "compute.nodeGroups.patch", +"parameterOrder": [ +"project", +"zone", +"nodeGroup" +], +"parameters": { +"nodeGroup": { +"description": "Name of the NodeGroup resource to update.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"zone": { +"description": "The name of the zone for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/zones/{zone}/nodeGroups/{nodeGroup}", +"request": { +"$ref": "NodeGroup" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"performMaintenance": { +"description": "Perform maintenance on a subset of nodes in the node group.", +"flatPath": "projects/{project}/zones/{zone}/nodeGroups/{nodeGroup}/performMaintenance", +"httpMethod": "POST", +"id": "compute.nodeGroups.performMaintenance", +"parameterOrder": [ +"project", +"zone", +"nodeGroup" +], +"parameters": { +"nodeGroup": { +"description": "Name of the node group scoping this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"zone": { +"description": "The name of the zone for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/zones/{zone}/nodeGroups/{nodeGroup}/performMaintenance", +"request": { +"$ref": "NodeGroupsPerformMaintenanceRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"setIamPolicy": { +"description": "Sets the access control policy on the specified resource.\nReplaces any existing policy.", +"flatPath": "projects/{project}/zones/{zone}/nodeGroups/{resource}/setIamPolicy", +"httpMethod": "POST", +"id": "compute.nodeGroups.setIamPolicy", +"parameterOrder": [ +"project", +"zone", +"resource" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"resource": { +"description": "Name or id of the resource for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +}, +"zone": { +"description": "The name of the zone for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/zones/{zone}/nodeGroups/{resource}/setIamPolicy", +"request": { +"$ref": "ZoneSetPolicyRequest" +}, +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"setNodeTemplate": { +"description": "Updates the node template of the node group.", +"flatPath": "projects/{project}/zones/{zone}/nodeGroups/{nodeGroup}/setNodeTemplate", +"httpMethod": "POST", +"id": "compute.nodeGroups.setNodeTemplate", +"parameterOrder": [ +"project", +"zone", +"nodeGroup" +], +"parameters": { +"nodeGroup": { +"description": "Name of the NodeGroup resource to update.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"zone": { +"description": "The name of the zone for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/zones/{zone}/nodeGroups/{nodeGroup}/setNodeTemplate", +"request": { +"$ref": "NodeGroupsSetNodeTemplateRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"simulateMaintenanceEvent": { +"description": "Simulates maintenance event on specified nodes from the node group.", +"flatPath": "projects/{project}/zones/{zone}/nodeGroups/{nodeGroup}/simulateMaintenanceEvent", +"httpMethod": "POST", +"id": "compute.nodeGroups.simulateMaintenanceEvent", +"parameterOrder": [ +"project", +"zone", +"nodeGroup" +], +"parameters": { +"nodeGroup": { +"description": "Name of the NodeGroup resource whose nodes will go under maintenance\nsimulation.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"zone": { +"description": "The name of the zone for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/zones/{zone}/nodeGroups/{nodeGroup}/simulateMaintenanceEvent", +"request": { +"$ref": "NodeGroupsSimulateMaintenanceEventRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"testIamPermissions": { +"description": "Returns permissions that a caller has on the specified resource.", +"flatPath": "projects/{project}/zones/{zone}/nodeGroups/{resource}/testIamPermissions", +"httpMethod": "POST", +"id": "compute.nodeGroups.testIamPermissions", +"parameterOrder": [ +"project", +"zone", +"resource" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"resource": { +"description": "Name or id of the resource for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +}, +"zone": { +"description": "The name of the zone for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/zones/{zone}/nodeGroups/{resource}/testIamPermissions", +"request": { +"$ref": "TestPermissionsRequest" +}, +"response": { +"$ref": "TestPermissionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +} +} +}, +"nodeTemplates": { +"methods": { +"aggregatedList": { +"description": "Retrieves an aggregated list of node templates.\n\nTo prevent failure, Google recommends that you set the\n`returnPartialSuccess` parameter to `true`.", +"flatPath": "projects/{project}/aggregated/nodeTemplates", +"httpMethod": "GET", +"id": "compute.nodeTemplates.aggregatedList", +"parameterOrder": [ +"project" +], +"parameters": { +"filter": { +"description": "A filter expression that filters resources listed in the response. Most\nCompute resources support two types of filter expressions:\nexpressions that support regular expressions and expressions that follow\nAPI improvement proposal AIP-160.\nThese two types of filter expressions cannot be mixed in one request.\n\nIf you want to use AIP-160, your expression must specify the field name, an\noperator, and the value that you want to use for filtering. The value\nmust be a string, a number, or a boolean. The operator\nmust be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.\n\nFor example, if you are filtering Compute Engine instances, you can\nexclude instances named `example-instance` by specifying\n`name != example-instance`.\n\nThe `:*` comparison can be used to test whether a key has been defined.\nFor example, to find all objects with `owner` label use:\n```\nlabels.owner:*\n```\n\nYou can also filter nested fields. For example, you could specify\n`scheduling.automaticRestart = false` to include instances only\nif they are not scheduled for automatic restarts. You can use filtering\non nested fields to filter based onresource labels.\n\nTo filter on multiple expressions, provide each separate expression within\nparentheses. For example:\n```\n(scheduling.automaticRestart = true)\n(cpuPlatform = \"Intel Skylake\")\n```\nBy default, each expression is an `AND` expression. However, you\ncan include `AND` and `OR` expressions explicitly.\nFor example:\n```\n(cpuPlatform = \"Intel Skylake\") OR\n(cpuPlatform = \"Intel Broadwell\") AND\n(scheduling.automaticRestart = true)\n```\n\nIf you want to use a regular expression, use the `eq` (equal) or `ne`\n(not equal) operator against a single un-parenthesized expression with or\nwithout quotes or against multiple parenthesized expressions. Examples:\n\n`fieldname eq unquoted literal`\n`fieldname eq 'single quoted literal'`\n`fieldname eq \"double quoted literal\"`\n`(fieldname1 eq literal) (fieldname2 ne \"literal\")`\n\nThe literal value is interpreted as a regular expression using GoogleRE2 library syntax.\nThe literal value must match the entire field.\n\nFor example, to filter for instances that do not end with name \"instance\",\nyou would use `name ne .*instance`.\n\nYou cannot combine constraints on multiple fields using regular\nexpressions.", +"location": "query", +"type": "string" +}, +"includeAllScopes": { +"description": "Indicates whether every visible scope for each scope type (zone, region,\nglobal) should be included in the response. For new resource types added\nafter this field, the flag has no effect as new resource types will always\ninclude every visible scope for each scope type in response. For resource\ntypes which predate this field, if this flag is omitted or false, only\nscopes of the scope types where the resource type is expected to be found\nwill be included.", +"location": "query", +"type": "boolean" +}, +"maxResults": { +"default": "500", +"description": "The maximum number of results per page that should be returned.\nIf the number of available results is larger than `maxResults`,\nCompute Engine returns a `nextPageToken` that can be used to get\nthe next page of results in subsequent list requests. Acceptable values are\n`0` to `500`, inclusive. (Default: `500`)", +"format": "uint32", +"location": "query", +"minimum": "0", +"type": "integer" +}, +"orderBy": { +"description": "Sorts list results by a certain order. By default, results\nare returned in alphanumerical order based on the resource name.\n\nYou can also sort results in descending order based on the creation\ntimestamp using `orderBy=\"creationTimestamp desc\"`. This sorts\nresults based on the `creationTimestamp` field in\nreverse chronological order (newest result first). Use this to sort\nresources like operations so that the newest operation is returned first.\n\nCurrently, only sorting by `name` or\n`creationTimestamp desc` is supported.", +"location": "query", +"type": "string" +}, +"pageToken": { +"description": "Specifies a page token to use. Set `pageToken` to the\n`nextPageToken` returned by a previous list request to get\nthe next page of results.", +"location": "query", +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"returnPartialSuccess": { +"description": "Opt-in for partial success behavior which provides partial results in case\nof failure. The default value is false.\n\nFor example, when partial success behavior is enabled, aggregatedList for a\nsingle zone scope either returns all resources in the zone or no resources,\nwith an error code.", +"location": "query", +"type": "boolean" +}, +"serviceProjectNumber": { +"description": "The Shared VPC service project id or service project number for which\naggregated list request is invoked for subnetworks list-usable api.", +"format": "int64", +"location": "query", +"type": "string" +} +}, +"path": "projects/{project}/aggregated/nodeTemplates", +"response": { +"$ref": "NodeTemplateAggregatedList" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"delete": { +"description": "Deletes the specified NodeTemplate resource.", +"flatPath": "projects/{project}/regions/{region}/nodeTemplates/{nodeTemplate}", +"httpMethod": "DELETE", +"id": "compute.nodeTemplates.delete", +"parameterOrder": [ +"project", +"region", +"nodeTemplate" +], +"parameters": { +"nodeTemplate": { +"description": "Name of the NodeTemplate resource to delete.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "The name of the region for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "projects/{project}/regions/{region}/nodeTemplates/{nodeTemplate}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"get": { +"description": "Returns the specified node template.", +"flatPath": "projects/{project}/regions/{region}/nodeTemplates/{nodeTemplate}", +"httpMethod": "GET", +"id": "compute.nodeTemplates.get", +"parameterOrder": [ +"project", +"region", +"nodeTemplate" +], +"parameters": { +"nodeTemplate": { +"description": "Name of the node template to return.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "The name of the region for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/regions/{region}/nodeTemplates/{nodeTemplate}", +"response": { +"$ref": "NodeTemplate" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"getIamPolicy": { +"description": "Gets the access control policy for a resource. May be empty if no such\npolicy or resource exists.", +"flatPath": "projects/{project}/regions/{region}/nodeTemplates/{resource}/getIamPolicy", +"httpMethod": "GET", +"id": "compute.nodeTemplates.getIamPolicy", +"parameterOrder": [ +"project", +"region", +"resource" +], +"parameters": { +"optionsRequestedPolicyVersion": { +"description": "Requested IAM Policy version.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "The name of the region for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +}, +"resource": { +"description": "Name or id of the resource for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/regions/{region}/nodeTemplates/{resource}/getIamPolicy", +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"insert": { +"description": "Creates a NodeTemplate resource in the specified project using the data\nincluded in the request.", +"flatPath": "projects/{project}/regions/{region}/nodeTemplates", +"httpMethod": "POST", +"id": "compute.nodeTemplates.insert", +"parameterOrder": [ +"project", +"region" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "The name of the region for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "projects/{project}/regions/{region}/nodeTemplates", +"request": { +"$ref": "NodeTemplate" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"list": { +"description": "Retrieves a list of node templates available to the specified\nproject.", +"flatPath": "projects/{project}/regions/{region}/nodeTemplates", +"httpMethod": "GET", +"id": "compute.nodeTemplates.list", +"parameterOrder": [ +"project", +"region" +], +"parameters": { +"filter": { +"description": "A filter expression that filters resources listed in the response. Most\nCompute resources support two types of filter expressions:\nexpressions that support regular expressions and expressions that follow\nAPI improvement proposal AIP-160.\nThese two types of filter expressions cannot be mixed in one request.\n\nIf you want to use AIP-160, your expression must specify the field name, an\noperator, and the value that you want to use for filtering. The value\nmust be a string, a number, or a boolean. The operator\nmust be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.\n\nFor example, if you are filtering Compute Engine instances, you can\nexclude instances named `example-instance` by specifying\n`name != example-instance`.\n\nThe `:*` comparison can be used to test whether a key has been defined.\nFor example, to find all objects with `owner` label use:\n```\nlabels.owner:*\n```\n\nYou can also filter nested fields. For example, you could specify\n`scheduling.automaticRestart = false` to include instances only\nif they are not scheduled for automatic restarts. You can use filtering\non nested fields to filter based onresource labels.\n\nTo filter on multiple expressions, provide each separate expression within\nparentheses. For example:\n```\n(scheduling.automaticRestart = true)\n(cpuPlatform = \"Intel Skylake\")\n```\nBy default, each expression is an `AND` expression. However, you\ncan include `AND` and `OR` expressions explicitly.\nFor example:\n```\n(cpuPlatform = \"Intel Skylake\") OR\n(cpuPlatform = \"Intel Broadwell\") AND\n(scheduling.automaticRestart = true)\n```\n\nIf you want to use a regular expression, use the `eq` (equal) or `ne`\n(not equal) operator against a single un-parenthesized expression with or\nwithout quotes or against multiple parenthesized expressions. Examples:\n\n`fieldname eq unquoted literal`\n`fieldname eq 'single quoted literal'`\n`fieldname eq \"double quoted literal\"`\n`(fieldname1 eq literal) (fieldname2 ne \"literal\")`\n\nThe literal value is interpreted as a regular expression using GoogleRE2 library syntax.\nThe literal value must match the entire field.\n\nFor example, to filter for instances that do not end with name \"instance\",\nyou would use `name ne .*instance`.\n\nYou cannot combine constraints on multiple fields using regular\nexpressions.", +"location": "query", +"type": "string" +}, +"maxResults": { +"default": "500", +"description": "The maximum number of results per page that should be returned.\nIf the number of available results is larger than `maxResults`,\nCompute Engine returns a `nextPageToken` that can be used to get\nthe next page of results in subsequent list requests. Acceptable values are\n`0` to `500`, inclusive. (Default: `500`)", +"format": "uint32", +"location": "query", +"minimum": "0", +"type": "integer" +}, +"orderBy": { +"description": "Sorts list results by a certain order. By default, results\nare returned in alphanumerical order based on the resource name.\n\nYou can also sort results in descending order based on the creation\ntimestamp using `orderBy=\"creationTimestamp desc\"`. This sorts\nresults based on the `creationTimestamp` field in\nreverse chronological order (newest result first). Use this to sort\nresources like operations so that the newest operation is returned first.\n\nCurrently, only sorting by `name` or\n`creationTimestamp desc` is supported.", +"location": "query", +"type": "string" +}, +"pageToken": { +"description": "Specifies a page token to use. Set `pageToken` to the\n`nextPageToken` returned by a previous list request to get\nthe next page of results.", +"location": "query", +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "The name of the region for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +}, +"returnPartialSuccess": { +"description": "Opt-in for partial success behavior which provides partial results in case\nof failure. The default value is false.\n\nFor example, when partial success behavior is enabled, aggregatedList for a\nsingle zone scope either returns all resources in the zone or no resources,\nwith an error code.", +"location": "query", +"type": "boolean" +} +}, +"path": "projects/{project}/regions/{region}/nodeTemplates", +"response": { +"$ref": "NodeTemplateList" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"setIamPolicy": { +"description": "Sets the access control policy on the specified resource.\nReplaces any existing policy.", +"flatPath": "projects/{project}/regions/{region}/nodeTemplates/{resource}/setIamPolicy", +"httpMethod": "POST", +"id": "compute.nodeTemplates.setIamPolicy", +"parameterOrder": [ +"project", +"region", +"resource" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "The name of the region for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +}, +"resource": { +"description": "Name or id of the resource for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/regions/{region}/nodeTemplates/{resource}/setIamPolicy", +"request": { +"$ref": "RegionSetPolicyRequest" +}, +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"testIamPermissions": { +"description": "Returns permissions that a caller has on the specified resource.", +"flatPath": "projects/{project}/regions/{region}/nodeTemplates/{resource}/testIamPermissions", +"httpMethod": "POST", +"id": "compute.nodeTemplates.testIamPermissions", +"parameterOrder": [ +"project", +"region", +"resource" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "The name of the region for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +}, +"resource": { +"description": "Name or id of the resource for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/regions/{region}/nodeTemplates/{resource}/testIamPermissions", +"request": { +"$ref": "TestPermissionsRequest" +}, +"response": { +"$ref": "TestPermissionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +} +} +}, +"nodeTypes": { +"methods": { +"aggregatedList": { +"description": "Retrieves an aggregated list of node types.\n\nTo prevent failure, Google recommends that you set the\n`returnPartialSuccess` parameter to `true`.", +"flatPath": "projects/{project}/aggregated/nodeTypes", +"httpMethod": "GET", +"id": "compute.nodeTypes.aggregatedList", +"parameterOrder": [ +"project" +], +"parameters": { +"filter": { +"description": "A filter expression that filters resources listed in the response. Most\nCompute resources support two types of filter expressions:\nexpressions that support regular expressions and expressions that follow\nAPI improvement proposal AIP-160.\nThese two types of filter expressions cannot be mixed in one request.\n\nIf you want to use AIP-160, your expression must specify the field name, an\noperator, and the value that you want to use for filtering. The value\nmust be a string, a number, or a boolean. The operator\nmust be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.\n\nFor example, if you are filtering Compute Engine instances, you can\nexclude instances named `example-instance` by specifying\n`name != example-instance`.\n\nThe `:*` comparison can be used to test whether a key has been defined.\nFor example, to find all objects with `owner` label use:\n```\nlabels.owner:*\n```\n\nYou can also filter nested fields. For example, you could specify\n`scheduling.automaticRestart = false` to include instances only\nif they are not scheduled for automatic restarts. You can use filtering\non nested fields to filter based onresource labels.\n\nTo filter on multiple expressions, provide each separate expression within\nparentheses. For example:\n```\n(scheduling.automaticRestart = true)\n(cpuPlatform = \"Intel Skylake\")\n```\nBy default, each expression is an `AND` expression. However, you\ncan include `AND` and `OR` expressions explicitly.\nFor example:\n```\n(cpuPlatform = \"Intel Skylake\") OR\n(cpuPlatform = \"Intel Broadwell\") AND\n(scheduling.automaticRestart = true)\n```\n\nIf you want to use a regular expression, use the `eq` (equal) or `ne`\n(not equal) operator against a single un-parenthesized expression with or\nwithout quotes or against multiple parenthesized expressions. Examples:\n\n`fieldname eq unquoted literal`\n`fieldname eq 'single quoted literal'`\n`fieldname eq \"double quoted literal\"`\n`(fieldname1 eq literal) (fieldname2 ne \"literal\")`\n\nThe literal value is interpreted as a regular expression using GoogleRE2 library syntax.\nThe literal value must match the entire field.\n\nFor example, to filter for instances that do not end with name \"instance\",\nyou would use `name ne .*instance`.\n\nYou cannot combine constraints on multiple fields using regular\nexpressions.", +"location": "query", +"type": "string" +}, +"includeAllScopes": { +"description": "Indicates whether every visible scope for each scope type (zone, region,\nglobal) should be included in the response. For new resource types added\nafter this field, the flag has no effect as new resource types will always\ninclude every visible scope for each scope type in response. For resource\ntypes which predate this field, if this flag is omitted or false, only\nscopes of the scope types where the resource type is expected to be found\nwill be included.", +"location": "query", +"type": "boolean" +}, +"maxResults": { +"default": "500", +"description": "The maximum number of results per page that should be returned.\nIf the number of available results is larger than `maxResults`,\nCompute Engine returns a `nextPageToken` that can be used to get\nthe next page of results in subsequent list requests. Acceptable values are\n`0` to `500`, inclusive. (Default: `500`)", +"format": "uint32", +"location": "query", +"minimum": "0", +"type": "integer" +}, +"orderBy": { +"description": "Sorts list results by a certain order. By default, results\nare returned in alphanumerical order based on the resource name.\n\nYou can also sort results in descending order based on the creation\ntimestamp using `orderBy=\"creationTimestamp desc\"`. This sorts\nresults based on the `creationTimestamp` field in\nreverse chronological order (newest result first). Use this to sort\nresources like operations so that the newest operation is returned first.\n\nCurrently, only sorting by `name` or\n`creationTimestamp desc` is supported.", +"location": "query", +"type": "string" +}, +"pageToken": { +"description": "Specifies a page token to use. Set `pageToken` to the\n`nextPageToken` returned by a previous list request to get\nthe next page of results.", +"location": "query", +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"returnPartialSuccess": { +"description": "Opt-in for partial success behavior which provides partial results in case\nof failure. The default value is false.\n\nFor example, when partial success behavior is enabled, aggregatedList for a\nsingle zone scope either returns all resources in the zone or no resources,\nwith an error code.", +"location": "query", +"type": "boolean" +}, +"serviceProjectNumber": { +"description": "The Shared VPC service project id or service project number for which\naggregated list request is invoked for subnetworks list-usable api.", +"format": "int64", +"location": "query", +"type": "string" +} +}, +"path": "projects/{project}/aggregated/nodeTypes", +"response": { +"$ref": "NodeTypeAggregatedList" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"get": { +"description": "Returns the specified node type.", +"flatPath": "projects/{project}/zones/{zone}/nodeTypes/{nodeType}", +"httpMethod": "GET", +"id": "compute.nodeTypes.get", +"parameterOrder": [ +"project", +"zone", +"nodeType" +], +"parameters": { +"nodeType": { +"description": "Name of the node type to return.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"zone": { +"description": "The name of the zone for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/zones/{zone}/nodeTypes/{nodeType}", +"response": { +"$ref": "NodeType" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"list": { +"description": "Retrieves a list of node types available to the specified\nproject.", +"flatPath": "projects/{project}/zones/{zone}/nodeTypes", +"httpMethod": "GET", +"id": "compute.nodeTypes.list", +"parameterOrder": [ +"project", +"zone" +], +"parameters": { +"filter": { +"description": "A filter expression that filters resources listed in the response. Most\nCompute resources support two types of filter expressions:\nexpressions that support regular expressions and expressions that follow\nAPI improvement proposal AIP-160.\nThese two types of filter expressions cannot be mixed in one request.\n\nIf you want to use AIP-160, your expression must specify the field name, an\noperator, and the value that you want to use for filtering. The value\nmust be a string, a number, or a boolean. The operator\nmust be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.\n\nFor example, if you are filtering Compute Engine instances, you can\nexclude instances named `example-instance` by specifying\n`name != example-instance`.\n\nThe `:*` comparison can be used to test whether a key has been defined.\nFor example, to find all objects with `owner` label use:\n```\nlabels.owner:*\n```\n\nYou can also filter nested fields. For example, you could specify\n`scheduling.automaticRestart = false` to include instances only\nif they are not scheduled for automatic restarts. You can use filtering\non nested fields to filter based onresource labels.\n\nTo filter on multiple expressions, provide each separate expression within\nparentheses. For example:\n```\n(scheduling.automaticRestart = true)\n(cpuPlatform = \"Intel Skylake\")\n```\nBy default, each expression is an `AND` expression. However, you\ncan include `AND` and `OR` expressions explicitly.\nFor example:\n```\n(cpuPlatform = \"Intel Skylake\") OR\n(cpuPlatform = \"Intel Broadwell\") AND\n(scheduling.automaticRestart = true)\n```\n\nIf you want to use a regular expression, use the `eq` (equal) or `ne`\n(not equal) operator against a single un-parenthesized expression with or\nwithout quotes or against multiple parenthesized expressions. Examples:\n\n`fieldname eq unquoted literal`\n`fieldname eq 'single quoted literal'`\n`fieldname eq \"double quoted literal\"`\n`(fieldname1 eq literal) (fieldname2 ne \"literal\")`\n\nThe literal value is interpreted as a regular expression using GoogleRE2 library syntax.\nThe literal value must match the entire field.\n\nFor example, to filter for instances that do not end with name \"instance\",\nyou would use `name ne .*instance`.\n\nYou cannot combine constraints on multiple fields using regular\nexpressions.", +"location": "query", +"type": "string" +}, +"maxResults": { +"default": "500", +"description": "The maximum number of results per page that should be returned.\nIf the number of available results is larger than `maxResults`,\nCompute Engine returns a `nextPageToken` that can be used to get\nthe next page of results in subsequent list requests. Acceptable values are\n`0` to `500`, inclusive. (Default: `500`)", +"format": "uint32", +"location": "query", +"minimum": "0", +"type": "integer" +}, +"orderBy": { +"description": "Sorts list results by a certain order. By default, results\nare returned in alphanumerical order based on the resource name.\n\nYou can also sort results in descending order based on the creation\ntimestamp using `orderBy=\"creationTimestamp desc\"`. This sorts\nresults based on the `creationTimestamp` field in\nreverse chronological order (newest result first). Use this to sort\nresources like operations so that the newest operation is returned first.\n\nCurrently, only sorting by `name` or\n`creationTimestamp desc` is supported.", +"location": "query", +"type": "string" +}, +"pageToken": { +"description": "Specifies a page token to use. Set `pageToken` to the\n`nextPageToken` returned by a previous list request to get\nthe next page of results.", +"location": "query", +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"returnPartialSuccess": { +"description": "Opt-in for partial success behavior which provides partial results in case\nof failure. The default value is false.\n\nFor example, when partial success behavior is enabled, aggregatedList for a\nsingle zone scope either returns all resources in the zone or no resources,\nwith an error code.", +"location": "query", +"type": "boolean" +}, +"zone": { +"description": "The name of the zone for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/zones/{zone}/nodeTypes", +"response": { +"$ref": "NodeTypeList" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +} +} +}, +"organizationSecurityPolicies": { +"methods": { +"addAssociation": { +"description": "Inserts an association for the specified security policy.\n\nThis has billing implications. Projects in the hierarchy with effective\nhierarchical security policies will be automatically enrolled into Cloud\nArmor Enterprise if not already enrolled.\n\nUse this API to modify Cloud Armor policies. Previously, alpha and beta\nversions of this API were used to modify firewall policies. This usage is\nnow disabled for most organizations. Use firewallPolicies.addAssociation\ninstead.", +"flatPath": "locations/global/securityPolicies/{securityPolicy}/addAssociation", +"httpMethod": "POST", +"id": "compute.organizationSecurityPolicies.addAssociation", +"parameterOrder": [ +"securityPolicy" +], +"parameters": { +"replaceExistingAssociation": { +"description": "Indicates whether or not to replace it if an association of the attachment\nalready exists. This is false by default, in which case an error will be\nreturned if an association already exists.", +"location": "query", +"type": "boolean" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"securityPolicy": { +"description": "Name of the security policy to update.", +"location": "path", +"pattern": "(securityPolicies/)?[0-9]{0,20}", +"required": true, +"type": "string" +} +}, +"path": "locations/global/securityPolicies/{securityPolicy}/addAssociation", +"request": { +"$ref": "SecurityPolicyAssociation" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"addRule": { +"description": "Inserts a rule into a security policy.\n\nUse this API to modify Cloud Armor policies. Previously, alpha and beta\nversions of this API were used to modify firewall policies. This usage is\nnow disabled for most organizations. Use firewallPolicies.addRule instead.", +"flatPath": "locations/global/securityPolicies/{securityPolicy}/addRule", +"httpMethod": "POST", +"id": "compute.organizationSecurityPolicies.addRule", +"parameterOrder": [ +"securityPolicy" +], +"parameters": { +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"securityPolicy": { +"description": "Name of the security policy to update.", +"location": "path", +"pattern": "(securityPolicies/)?[0-9]{0,20}", +"required": true, +"type": "string" +} +}, +"path": "locations/global/securityPolicies/{securityPolicy}/addRule", +"request": { +"$ref": "SecurityPolicyRule" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"copyRules": { +"description": "Copies rules to the specified security policy.\n\nUse this API to modify Cloud Armor policies. Previously, alpha and beta\nversions of this API were used to modify firewall policies. This usage is\nnow disabled for most organizations. Use firewallPolicies.cloneRules\ninstead.", +"flatPath": "locations/global/securityPolicies/{securityPolicy}/copyRules", +"httpMethod": "POST", +"id": "compute.organizationSecurityPolicies.copyRules", +"parameterOrder": [ +"securityPolicy" +], +"parameters": { +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"securityPolicy": { +"description": "Name of the security policy to update.", +"location": "path", +"pattern": "(securityPolicies/)?[0-9]{0,20}", +"required": true, +"type": "string" +}, +"sourceSecurityPolicy": { +"description": "The security policy from which to copy rules.", +"location": "query", +"type": "string" +} +}, +"path": "locations/global/securityPolicies/{securityPolicy}/copyRules", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"delete": { +"description": "Deletes the specified policy.\n\nUse this API to remove Cloud Armor policies. Previously, alpha and beta\nversions of this API were used to remove firewall policies. This usage is\nnow disabled for most organizations. Use firewallPolicies.delete instead.", +"flatPath": "locations/global/securityPolicies/{securityPolicy}", +"httpMethod": "DELETE", +"id": "compute.organizationSecurityPolicies.delete", +"parameterOrder": [ +"securityPolicy" +], +"parameters": { +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"securityPolicy": { +"description": "Name of the security policy to delete.", +"location": "path", +"pattern": "(securityPolicies/)?[0-9]{0,20}", +"required": true, +"type": "string" +} +}, +"path": "locations/global/securityPolicies/{securityPolicy}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"get": { +"description": "List all of the ordered rules present in a single specified policy.\n\nUse this API to read Cloud Armor policies. Previously, alpha and beta\nversions of this API were used to read firewall policies. This usage is now\ndisabled for most organizations. Use firewallPolicies.get instead.", +"flatPath": "locations/global/securityPolicies/{securityPolicy}", +"httpMethod": "GET", +"id": "compute.organizationSecurityPolicies.get", +"parameterOrder": [ +"securityPolicy" +], +"parameters": { +"securityPolicy": { +"description": "Name of the security policy to get.", +"location": "path", +"pattern": "(securityPolicies/)?[0-9]{0,20}", +"required": true, +"type": "string" +} +}, +"path": "locations/global/securityPolicies/{securityPolicy}", +"response": { +"$ref": "SecurityPolicy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"getAssociation": { +"description": "Gets an association with the specified name.\n\nUse this API to read Cloud Armor policies. Previously, alpha and beta\nversions of this API were used to read firewall policies. This usage is\nnow disabled for most organizations. Use firewallPolicies.getAssociation\ninstead.", +"flatPath": "locations/global/securityPolicies/{securityPolicy}/getAssociation", +"httpMethod": "GET", +"id": "compute.organizationSecurityPolicies.getAssociation", +"parameterOrder": [ +"securityPolicy" +], +"parameters": { +"name": { +"description": "The name of the association to get from the security policy.", +"location": "query", +"type": "string" +}, +"securityPolicy": { +"description": "Name of the security policy to which the queried rule belongs.", +"location": "path", +"pattern": "(securityPolicies/)?[0-9]{0,20}", +"required": true, +"type": "string" +} +}, +"path": "locations/global/securityPolicies/{securityPolicy}/getAssociation", +"response": { +"$ref": "SecurityPolicyAssociation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"getRule": { +"description": "Gets a rule at the specified priority.\n\nUse this API to read Cloud Armor policies. Previously, alpha and beta\nversions of this API were used to read firewall policies. This usage is now\ndisabled for most organizations. Use firewallPolicies.getRule instead.", +"flatPath": "locations/global/securityPolicies/{securityPolicy}/getRule", +"httpMethod": "GET", +"id": "compute.organizationSecurityPolicies.getRule", +"parameterOrder": [ +"securityPolicy" +], +"parameters": { +"priority": { +"description": "The priority of the rule to get from the security policy.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"securityPolicy": { +"description": "Name of the security policy to which the queried rule belongs.", +"location": "path", +"pattern": "(securityPolicies/)?[0-9]{0,20}", +"required": true, +"type": "string" +} +}, +"path": "locations/global/securityPolicies/{securityPolicy}/getRule", +"response": { +"$ref": "SecurityPolicyRule" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"insert": { +"description": "Creates a new policy in the specified organization using the data included\nin the request.\n\nUse this API to add Cloud Armor policies. Previously, alpha and beta\nversions of this API were used to add firewall policies. This usage is now\ndisabled for most organizations. Use firewallPolicies.insert instead.", +"flatPath": "locations/global/securityPolicies", +"httpMethod": "POST", +"id": "compute.organizationSecurityPolicies.insert", +"parameters": { +"parentId": { +"description": "Parent ID for this request. The ID can be either be \"folders/[FOLDER_ID]\"\nif the parent is a folder or \"organizations/[ORGANIZATION_ID]\" if the\nparent is an organization.", +"location": "query", +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "locations/global/securityPolicies", +"request": { +"$ref": "SecurityPolicy" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"list": { +"description": "List all the policies that have been configured for the specified\norganization.\n\nUse this API to read Cloud Armor policies. Previously, alpha and beta\nversions of this API were used to read firewall policies. This usage is now\ndisabled for most organizations. Use firewallPolicies.list instead.", +"flatPath": "locations/global/securityPolicies", +"httpMethod": "GET", +"id": "compute.organizationSecurityPolicies.list", +"parameters": { +"filter": { +"description": "A filter expression that filters resources listed in the response. Most\nCompute resources support two types of filter expressions:\nexpressions that support regular expressions and expressions that follow\nAPI improvement proposal AIP-160.\nThese two types of filter expressions cannot be mixed in one request.\n\nIf you want to use AIP-160, your expression must specify the field name, an\noperator, and the value that you want to use for filtering. The value\nmust be a string, a number, or a boolean. The operator\nmust be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.\n\nFor example, if you are filtering Compute Engine instances, you can\nexclude instances named `example-instance` by specifying\n`name != example-instance`.\n\nThe `:*` comparison can be used to test whether a key has been defined.\nFor example, to find all objects with `owner` label use:\n```\nlabels.owner:*\n```\n\nYou can also filter nested fields. For example, you could specify\n`scheduling.automaticRestart = false` to include instances only\nif they are not scheduled for automatic restarts. You can use filtering\non nested fields to filter based onresource labels.\n\nTo filter on multiple expressions, provide each separate expression within\nparentheses. For example:\n```\n(scheduling.automaticRestart = true)\n(cpuPlatform = \"Intel Skylake\")\n```\nBy default, each expression is an `AND` expression. However, you\ncan include `AND` and `OR` expressions explicitly.\nFor example:\n```\n(cpuPlatform = \"Intel Skylake\") OR\n(cpuPlatform = \"Intel Broadwell\") AND\n(scheduling.automaticRestart = true)\n```\n\nIf you want to use a regular expression, use the `eq` (equal) or `ne`\n(not equal) operator against a single un-parenthesized expression with or\nwithout quotes or against multiple parenthesized expressions. Examples:\n\n`fieldname eq unquoted literal`\n`fieldname eq 'single quoted literal'`\n`fieldname eq \"double quoted literal\"`\n`(fieldname1 eq literal) (fieldname2 ne \"literal\")`\n\nThe literal value is interpreted as a regular expression using GoogleRE2 library syntax.\nThe literal value must match the entire field.\n\nFor example, to filter for instances that do not end with name \"instance\",\nyou would use `name ne .*instance`.\n\nYou cannot combine constraints on multiple fields using regular\nexpressions.", +"location": "query", +"type": "string" +}, +"maxResults": { +"default": "500", +"description": "The maximum number of results per page that should be returned.\nIf the number of available results is larger than `maxResults`,\nCompute Engine returns a `nextPageToken` that can be used to get\nthe next page of results in subsequent list requests. Acceptable values are\n`0` to `500`, inclusive. (Default: `500`)", +"format": "uint32", +"location": "query", +"minimum": "0", +"type": "integer" +}, +"orderBy": { +"description": "Sorts list results by a certain order. By default, results\nare returned in alphanumerical order based on the resource name.\n\nYou can also sort results in descending order based on the creation\ntimestamp using `orderBy=\"creationTimestamp desc\"`. This sorts\nresults based on the `creationTimestamp` field in\nreverse chronological order (newest result first). Use this to sort\nresources like operations so that the newest operation is returned first.\n\nCurrently, only sorting by `name` or\n`creationTimestamp desc` is supported.", +"location": "query", +"type": "string" +}, +"pageToken": { +"description": "Specifies a page token to use. Set `pageToken` to the\n`nextPageToken` returned by a previous list request to get\nthe next page of results.", +"location": "query", +"type": "string" +}, +"parentId": { +"description": "Parent ID for this request.", +"location": "query", +"type": "string" +}, +"returnPartialSuccess": { +"description": "Opt-in for partial success behavior which provides partial results in case\nof failure. The default value is false.\n\nFor example, when partial success behavior is enabled, aggregatedList for a\nsingle zone scope either returns all resources in the zone or no resources,\nwith an error code.", +"location": "query", +"type": "boolean" +} +}, +"path": "locations/global/securityPolicies", +"response": { +"$ref": "SecurityPolicyList" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"listAssociations": { +"description": "Lists associations of a specified target, i.e., organization or folder.\n\nUse this API to read Cloud Armor policies. Previously, alpha and beta\nversions of this API were used to read firewall policies. This usage is\nnow disabled for most organizations. Use firewallPolicies.listAssociations\ninstead.", +"flatPath": "locations/global/securityPolicies/listAssociations", +"httpMethod": "GET", +"id": "compute.organizationSecurityPolicies.listAssociations", +"parameters": { +"targetResource": { +"description": "The target resource to list associations. It is an organization, or a\nfolder.", +"location": "query", +"type": "string" +} +}, +"path": "locations/global/securityPolicies/listAssociations", +"response": { +"$ref": "OrganizationSecurityPoliciesListAssociationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"listPreconfiguredExpressionSets": { +"description": "Gets the current list of preconfigured Web Application Firewall (WAF)\nexpressions.", +"flatPath": "locations/global/securityPolicies/listPreconfiguredExpressionSets", +"httpMethod": "GET", +"id": "compute.organizationSecurityPolicies.listPreconfiguredExpressionSets", +"parameters": { +"filter": { +"description": "A filter expression that filters resources listed in the response. Most\nCompute resources support two types of filter expressions:\nexpressions that support regular expressions and expressions that follow\nAPI improvement proposal AIP-160.\nThese two types of filter expressions cannot be mixed in one request.\n\nIf you want to use AIP-160, your expression must specify the field name, an\noperator, and the value that you want to use for filtering. The value\nmust be a string, a number, or a boolean. The operator\nmust be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.\n\nFor example, if you are filtering Compute Engine instances, you can\nexclude instances named `example-instance` by specifying\n`name != example-instance`.\n\nThe `:*` comparison can be used to test whether a key has been defined.\nFor example, to find all objects with `owner` label use:\n```\nlabels.owner:*\n```\n\nYou can also filter nested fields. For example, you could specify\n`scheduling.automaticRestart = false` to include instances only\nif they are not scheduled for automatic restarts. You can use filtering\non nested fields to filter based onresource labels.\n\nTo filter on multiple expressions, provide each separate expression within\nparentheses. For example:\n```\n(scheduling.automaticRestart = true)\n(cpuPlatform = \"Intel Skylake\")\n```\nBy default, each expression is an `AND` expression. However, you\ncan include `AND` and `OR` expressions explicitly.\nFor example:\n```\n(cpuPlatform = \"Intel Skylake\") OR\n(cpuPlatform = \"Intel Broadwell\") AND\n(scheduling.automaticRestart = true)\n```\n\nIf you want to use a regular expression, use the `eq` (equal) or `ne`\n(not equal) operator against a single un-parenthesized expression with or\nwithout quotes or against multiple parenthesized expressions. Examples:\n\n`fieldname eq unquoted literal`\n`fieldname eq 'single quoted literal'`\n`fieldname eq \"double quoted literal\"`\n`(fieldname1 eq literal) (fieldname2 ne \"literal\")`\n\nThe literal value is interpreted as a regular expression using GoogleRE2 library syntax.\nThe literal value must match the entire field.\n\nFor example, to filter for instances that do not end with name \"instance\",\nyou would use `name ne .*instance`.\n\nYou cannot combine constraints on multiple fields using regular\nexpressions.", +"location": "query", +"type": "string" +}, +"maxResults": { +"default": "500", +"description": "The maximum number of results per page that should be returned.\nIf the number of available results is larger than `maxResults`,\nCompute Engine returns a `nextPageToken` that can be used to get\nthe next page of results in subsequent list requests. Acceptable values are\n`0` to `500`, inclusive. (Default: `500`)", +"format": "uint32", +"location": "query", +"minimum": "0", +"type": "integer" +}, +"orderBy": { +"description": "Sorts list results by a certain order. By default, results\nare returned in alphanumerical order based on the resource name.\n\nYou can also sort results in descending order based on the creation\ntimestamp using `orderBy=\"creationTimestamp desc\"`. This sorts\nresults based on the `creationTimestamp` field in\nreverse chronological order (newest result first). Use this to sort\nresources like operations so that the newest operation is returned first.\n\nCurrently, only sorting by `name` or\n`creationTimestamp desc` is supported.", +"location": "query", +"type": "string" +}, +"pageToken": { +"description": "Specifies a page token to use. Set `pageToken` to the\n`nextPageToken` returned by a previous list request to get\nthe next page of results.", +"location": "query", +"type": "string" +}, +"parentId": { +"description": "Parent ID for this request.", +"location": "query", +"type": "string" +}, +"returnPartialSuccess": { +"description": "Opt-in for partial success behavior which provides partial results in case\nof failure. The default value is false.\n\nFor example, when partial success behavior is enabled, aggregatedList for a\nsingle zone scope either returns all resources in the zone or no resources,\nwith an error code.", +"location": "query", +"type": "boolean" +} +}, +"path": "locations/global/securityPolicies/listPreconfiguredExpressionSets", +"response": { +"$ref": "SecurityPoliciesListPreconfiguredExpressionSetsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"move": { +"description": "Moves the specified security policy.\n\nUse this API to modify Cloud Armor policies. Previously, alpha and beta\nversions of this API were used to modify firewall policies. This usage is\nnow disabled for most organizations. Use firewallPolicies.move instead.", +"flatPath": "locations/global/securityPolicies/{securityPolicy}/move", +"httpMethod": "POST", +"id": "compute.organizationSecurityPolicies.move", +"parameterOrder": [ +"securityPolicy" +], +"parameters": { +"parentId": { +"description": "The new parent of the security policy.", +"location": "query", +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"securityPolicy": { +"description": "Name of the security policy to update.", +"location": "path", +"pattern": "(securityPolicies/)?[0-9]{0,20}", +"required": true, +"type": "string" +} +}, +"path": "locations/global/securityPolicies/{securityPolicy}/move", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"patch": { +"description": "Patches the specified policy with the data included in the request.\n\nUse this API to modify Cloud Armor policies. Previously, alpha and beta\nversions of this API were used to modify firewall policies. This usage is\nnow disabled for most organizations. Use firewallPolicies.patch instead.", +"flatPath": "locations/global/securityPolicies/{securityPolicy}", +"httpMethod": "PATCH", +"id": "compute.organizationSecurityPolicies.patch", +"parameterOrder": [ +"securityPolicy" +], +"parameters": { +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"securityPolicy": { +"description": "Name of the security policy to update.", +"location": "path", +"pattern": "(securityPolicies/)?[0-9]{0,20}", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Indicates fields to be cleared as part of this request.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "locations/global/securityPolicies/{securityPolicy}", +"request": { +"$ref": "SecurityPolicy" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"patchRule": { +"description": "Patches a rule at the specified priority.\n\nUse this API to modify Cloud Armor policies. Previously, alpha and beta\nversions of this API were used to modify firewall policies. This usage is\nnow disabled for most organizations. Use firewallPolicies.patchRule\ninstead.", +"flatPath": "locations/global/securityPolicies/{securityPolicy}/patchRule", +"httpMethod": "POST", +"id": "compute.organizationSecurityPolicies.patchRule", +"parameterOrder": [ +"securityPolicy" +], +"parameters": { +"priority": { +"description": "The priority of the rule to patch.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"securityPolicy": { +"description": "Name of the security policy to update.", +"location": "path", +"pattern": "(securityPolicies/)?[0-9]{0,20}", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Indicates fields to be cleared as part of this request.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "locations/global/securityPolicies/{securityPolicy}/patchRule", +"request": { +"$ref": "SecurityPolicyRule" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"removeAssociation": { +"description": "Removes an association for the specified security policy.\n\nUse this API to modify Cloud Armor policies. Previously, alpha and beta\nversions of this API were used to modify firewall policies. This usage is\nnow disabled for most organizations. Use firewallPolicies.removeAssociation\ninstead.", +"flatPath": "locations/global/securityPolicies/{securityPolicy}/removeAssociation", +"httpMethod": "POST", +"id": "compute.organizationSecurityPolicies.removeAssociation", +"parameterOrder": [ +"securityPolicy" +], +"parameters": { +"name": { +"description": "Name for the attachment that will be removed.", +"location": "query", +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"securityPolicy": { +"description": "Name of the security policy to update.", +"location": "path", +"pattern": "(securityPolicies/)?[0-9]{0,20}", +"required": true, +"type": "string" +} +}, +"path": "locations/global/securityPolicies/{securityPolicy}/removeAssociation", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"removeRule": { +"description": "Deletes a rule at the specified priority.\n\nUse this API to modify Cloud Armor policies. Previously, alpha and beta\nversions of this API were used to modify firewall policies. This usage is\nnow disabled for most organizations. Use firewallPolicies.removeRule\ninstead.", +"flatPath": "locations/global/securityPolicies/{securityPolicy}/removeRule", +"httpMethod": "POST", +"id": "compute.organizationSecurityPolicies.removeRule", +"parameterOrder": [ +"securityPolicy" +], +"parameters": { +"priority": { +"description": "The priority of the rule to remove from the security policy.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"securityPolicy": { +"description": "Name of the security policy to update.", +"location": "path", +"pattern": "(securityPolicies/)?[0-9]{0,20}", +"required": true, +"type": "string" +} +}, +"path": "locations/global/securityPolicies/{securityPolicy}/removeRule", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +} +} +}, +"packetMirrorings": { +"methods": { +"aggregatedList": { +"description": "Retrieves an aggregated list of packetMirrorings.\n\nTo prevent failure, Google recommends that you set the\n`returnPartialSuccess` parameter to `true`.", +"flatPath": "projects/{project}/aggregated/packetMirrorings", +"httpMethod": "GET", +"id": "compute.packetMirrorings.aggregatedList", +"parameterOrder": [ +"project" +], +"parameters": { +"filter": { +"description": "A filter expression that filters resources listed in the response. Most\nCompute resources support two types of filter expressions:\nexpressions that support regular expressions and expressions that follow\nAPI improvement proposal AIP-160.\nThese two types of filter expressions cannot be mixed in one request.\n\nIf you want to use AIP-160, your expression must specify the field name, an\noperator, and the value that you want to use for filtering. The value\nmust be a string, a number, or a boolean. The operator\nmust be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.\n\nFor example, if you are filtering Compute Engine instances, you can\nexclude instances named `example-instance` by specifying\n`name != example-instance`.\n\nThe `:*` comparison can be used to test whether a key has been defined.\nFor example, to find all objects with `owner` label use:\n```\nlabels.owner:*\n```\n\nYou can also filter nested fields. For example, you could specify\n`scheduling.automaticRestart = false` to include instances only\nif they are not scheduled for automatic restarts. You can use filtering\non nested fields to filter based onresource labels.\n\nTo filter on multiple expressions, provide each separate expression within\nparentheses. For example:\n```\n(scheduling.automaticRestart = true)\n(cpuPlatform = \"Intel Skylake\")\n```\nBy default, each expression is an `AND` expression. However, you\ncan include `AND` and `OR` expressions explicitly.\nFor example:\n```\n(cpuPlatform = \"Intel Skylake\") OR\n(cpuPlatform = \"Intel Broadwell\") AND\n(scheduling.automaticRestart = true)\n```\n\nIf you want to use a regular expression, use the `eq` (equal) or `ne`\n(not equal) operator against a single un-parenthesized expression with or\nwithout quotes or against multiple parenthesized expressions. Examples:\n\n`fieldname eq unquoted literal`\n`fieldname eq 'single quoted literal'`\n`fieldname eq \"double quoted literal\"`\n`(fieldname1 eq literal) (fieldname2 ne \"literal\")`\n\nThe literal value is interpreted as a regular expression using GoogleRE2 library syntax.\nThe literal value must match the entire field.\n\nFor example, to filter for instances that do not end with name \"instance\",\nyou would use `name ne .*instance`.\n\nYou cannot combine constraints on multiple fields using regular\nexpressions.", +"location": "query", +"type": "string" +}, +"includeAllScopes": { +"description": "Indicates whether every visible scope for each scope type (zone, region,\nglobal) should be included in the response. For new resource types added\nafter this field, the flag has no effect as new resource types will always\ninclude every visible scope for each scope type in response. For resource\ntypes which predate this field, if this flag is omitted or false, only\nscopes of the scope types where the resource type is expected to be found\nwill be included.", +"location": "query", +"type": "boolean" +}, +"maxResults": { +"default": "500", +"description": "The maximum number of results per page that should be returned.\nIf the number of available results is larger than `maxResults`,\nCompute Engine returns a `nextPageToken` that can be used to get\nthe next page of results in subsequent list requests. Acceptable values are\n`0` to `500`, inclusive. (Default: `500`)", +"format": "uint32", +"location": "query", +"minimum": "0", +"type": "integer" +}, +"orderBy": { +"description": "Sorts list results by a certain order. By default, results\nare returned in alphanumerical order based on the resource name.\n\nYou can also sort results in descending order based on the creation\ntimestamp using `orderBy=\"creationTimestamp desc\"`. This sorts\nresults based on the `creationTimestamp` field in\nreverse chronological order (newest result first). Use this to sort\nresources like operations so that the newest operation is returned first.\n\nCurrently, only sorting by `name` or\n`creationTimestamp desc` is supported.", +"location": "query", +"type": "string" +}, +"pageToken": { +"description": "Specifies a page token to use. Set `pageToken` to the\n`nextPageToken` returned by a previous list request to get\nthe next page of results.", +"location": "query", +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"returnPartialSuccess": { +"description": "Opt-in for partial success behavior which provides partial results in case\nof failure. The default value is false.\n\nFor example, when partial success behavior is enabled, aggregatedList for a\nsingle zone scope either returns all resources in the zone or no resources,\nwith an error code.", +"location": "query", +"type": "boolean" +}, +"serviceProjectNumber": { +"description": "The Shared VPC service project id or service project number for which\naggregated list request is invoked for subnetworks list-usable api.", +"format": "int64", +"location": "query", +"type": "string" +} +}, +"path": "projects/{project}/aggregated/packetMirrorings", +"response": { +"$ref": "PacketMirroringAggregatedList" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"delete": { +"description": "Deletes the specified PacketMirroring resource.", +"flatPath": "projects/{project}/regions/{region}/packetMirrorings/{packetMirroring}", +"httpMethod": "DELETE", +"id": "compute.packetMirrorings.delete", +"parameterOrder": [ +"project", +"region", +"packetMirroring" +], +"parameters": { +"packetMirroring": { +"description": "Name of the PacketMirroring resource to delete.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "Name of the region for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "projects/{project}/regions/{region}/packetMirrorings/{packetMirroring}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"get": { +"description": "Returns the specified PacketMirroring resource.", +"flatPath": "projects/{project}/regions/{region}/packetMirrorings/{packetMirroring}", +"httpMethod": "GET", +"id": "compute.packetMirrorings.get", +"parameterOrder": [ +"project", +"region", +"packetMirroring" +], +"parameters": { +"packetMirroring": { +"description": "Name of the PacketMirroring resource to return.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "Name of the region for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/regions/{region}/packetMirrorings/{packetMirroring}", +"response": { +"$ref": "PacketMirroring" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"insert": { +"description": "Creates a PacketMirroring resource in the specified project and region\nusing the data included in the request.", +"flatPath": "projects/{project}/regions/{region}/packetMirrorings", +"httpMethod": "POST", +"id": "compute.packetMirrorings.insert", +"parameterOrder": [ +"project", +"region" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "Name of the region for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "projects/{project}/regions/{region}/packetMirrorings", +"request": { +"$ref": "PacketMirroring" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"list": { +"description": "Retrieves a list of PacketMirroring resources available to the specified\nproject and region.", +"flatPath": "projects/{project}/regions/{region}/packetMirrorings", +"httpMethod": "GET", +"id": "compute.packetMirrorings.list", +"parameterOrder": [ +"project", +"region" +], +"parameters": { +"filter": { +"description": "A filter expression that filters resources listed in the response. Most\nCompute resources support two types of filter expressions:\nexpressions that support regular expressions and expressions that follow\nAPI improvement proposal AIP-160.\nThese two types of filter expressions cannot be mixed in one request.\n\nIf you want to use AIP-160, your expression must specify the field name, an\noperator, and the value that you want to use for filtering. The value\nmust be a string, a number, or a boolean. The operator\nmust be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.\n\nFor example, if you are filtering Compute Engine instances, you can\nexclude instances named `example-instance` by specifying\n`name != example-instance`.\n\nThe `:*` comparison can be used to test whether a key has been defined.\nFor example, to find all objects with `owner` label use:\n```\nlabels.owner:*\n```\n\nYou can also filter nested fields. For example, you could specify\n`scheduling.automaticRestart = false` to include instances only\nif they are not scheduled for automatic restarts. You can use filtering\non nested fields to filter based onresource labels.\n\nTo filter on multiple expressions, provide each separate expression within\nparentheses. For example:\n```\n(scheduling.automaticRestart = true)\n(cpuPlatform = \"Intel Skylake\")\n```\nBy default, each expression is an `AND` expression. However, you\ncan include `AND` and `OR` expressions explicitly.\nFor example:\n```\n(cpuPlatform = \"Intel Skylake\") OR\n(cpuPlatform = \"Intel Broadwell\") AND\n(scheduling.automaticRestart = true)\n```\n\nIf you want to use a regular expression, use the `eq` (equal) or `ne`\n(not equal) operator against a single un-parenthesized expression with or\nwithout quotes or against multiple parenthesized expressions. Examples:\n\n`fieldname eq unquoted literal`\n`fieldname eq 'single quoted literal'`\n`fieldname eq \"double quoted literal\"`\n`(fieldname1 eq literal) (fieldname2 ne \"literal\")`\n\nThe literal value is interpreted as a regular expression using GoogleRE2 library syntax.\nThe literal value must match the entire field.\n\nFor example, to filter for instances that do not end with name \"instance\",\nyou would use `name ne .*instance`.\n\nYou cannot combine constraints on multiple fields using regular\nexpressions.", +"location": "query", +"type": "string" +}, +"maxResults": { +"default": "500", +"description": "The maximum number of results per page that should be returned.\nIf the number of available results is larger than `maxResults`,\nCompute Engine returns a `nextPageToken` that can be used to get\nthe next page of results in subsequent list requests. Acceptable values are\n`0` to `500`, inclusive. (Default: `500`)", +"format": "uint32", +"location": "query", +"minimum": "0", +"type": "integer" +}, +"orderBy": { +"description": "Sorts list results by a certain order. By default, results\nare returned in alphanumerical order based on the resource name.\n\nYou can also sort results in descending order based on the creation\ntimestamp using `orderBy=\"creationTimestamp desc\"`. This sorts\nresults based on the `creationTimestamp` field in\nreverse chronological order (newest result first). Use this to sort\nresources like operations so that the newest operation is returned first.\n\nCurrently, only sorting by `name` or\n`creationTimestamp desc` is supported.", +"location": "query", +"type": "string" +}, +"pageToken": { +"description": "Specifies a page token to use. Set `pageToken` to the\n`nextPageToken` returned by a previous list request to get\nthe next page of results.", +"location": "query", +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "Name of the region for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +}, +"returnPartialSuccess": { +"description": "Opt-in for partial success behavior which provides partial results in case\nof failure. The default value is false.\n\nFor example, when partial success behavior is enabled, aggregatedList for a\nsingle zone scope either returns all resources in the zone or no resources,\nwith an error code.", +"location": "query", +"type": "boolean" +} +}, +"path": "projects/{project}/regions/{region}/packetMirrorings", +"response": { +"$ref": "PacketMirroringList" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"patch": { +"description": "Patches the specified PacketMirroring resource with the data included in\nthe request. This method supportsPATCH\nsemantics and usesJSON merge\npatch format and processing rules.", +"flatPath": "projects/{project}/regions/{region}/packetMirrorings/{packetMirroring}", +"httpMethod": "PATCH", +"id": "compute.packetMirrorings.patch", +"parameterOrder": [ +"project", +"region", +"packetMirroring" +], +"parameters": { +"packetMirroring": { +"description": "Name of the PacketMirroring resource to patch.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "Name of the region for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "projects/{project}/regions/{region}/packetMirrorings/{packetMirroring}", +"request": { +"$ref": "PacketMirroring" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"testIamPermissions": { +"description": "Returns permissions that a caller has on the specified resource.", +"flatPath": "projects/{project}/regions/{region}/packetMirrorings/{resource}/testIamPermissions", +"httpMethod": "POST", +"id": "compute.packetMirrorings.testIamPermissions", +"parameterOrder": [ +"project", +"region", +"resource" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "The name of the region for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +}, +"resource": { +"description": "Name or id of the resource for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/regions/{region}/packetMirrorings/{resource}/testIamPermissions", +"request": { +"$ref": "TestPermissionsRequest" +}, +"response": { +"$ref": "TestPermissionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +} +} +}, +"previewFeatures": { +"methods": { +"get": { +"description": "Returns the details of the given PreviewFeature.", +"flatPath": "projects/{project}/global/previewFeatures/{previewFeature}", +"httpMethod": "GET", +"id": "compute.previewFeatures.get", +"parameterOrder": [ +"project", +"previewFeature" +], +"parameters": { +"previewFeature": { +"description": "Name of the PreviewFeature for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/global/previewFeatures/{previewFeature}", +"response": { +"$ref": "PreviewFeature" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"list": { +"description": "Returns the details of the given PreviewFeature.", +"flatPath": "projects/{project}/global/previewFeatures", +"httpMethod": "GET", +"id": "compute.previewFeatures.list", +"parameterOrder": [ +"project" +], +"parameters": { +"filter": { +"description": "A filter expression that filters resources listed in the response. Most\nCompute resources support two types of filter expressions:\nexpressions that support regular expressions and expressions that follow\nAPI improvement proposal AIP-160.\nThese two types of filter expressions cannot be mixed in one request.\n\nIf you want to use AIP-160, your expression must specify the field name, an\noperator, and the value that you want to use for filtering. The value\nmust be a string, a number, or a boolean. The operator\nmust be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.\n\nFor example, if you are filtering Compute Engine instances, you can\nexclude instances named `example-instance` by specifying\n`name != example-instance`.\n\nThe `:*` comparison can be used to test whether a key has been defined.\nFor example, to find all objects with `owner` label use:\n```\nlabels.owner:*\n```\n\nYou can also filter nested fields. For example, you could specify\n`scheduling.automaticRestart = false` to include instances only\nif they are not scheduled for automatic restarts. You can use filtering\non nested fields to filter based onresource labels.\n\nTo filter on multiple expressions, provide each separate expression within\nparentheses. For example:\n```\n(scheduling.automaticRestart = true)\n(cpuPlatform = \"Intel Skylake\")\n```\nBy default, each expression is an `AND` expression. However, you\ncan include `AND` and `OR` expressions explicitly.\nFor example:\n```\n(cpuPlatform = \"Intel Skylake\") OR\n(cpuPlatform = \"Intel Broadwell\") AND\n(scheduling.automaticRestart = true)\n```\n\nIf you want to use a regular expression, use the `eq` (equal) or `ne`\n(not equal) operator against a single un-parenthesized expression with or\nwithout quotes or against multiple parenthesized expressions. Examples:\n\n`fieldname eq unquoted literal`\n`fieldname eq 'single quoted literal'`\n`fieldname eq \"double quoted literal\"`\n`(fieldname1 eq literal) (fieldname2 ne \"literal\")`\n\nThe literal value is interpreted as a regular expression using GoogleRE2 library syntax.\nThe literal value must match the entire field.\n\nFor example, to filter for instances that do not end with name \"instance\",\nyou would use `name ne .*instance`.\n\nYou cannot combine constraints on multiple fields using regular\nexpressions.", +"location": "query", +"type": "string" +}, +"maxResults": { +"default": "500", +"description": "The maximum number of results per page that should be returned.\nIf the number of available results is larger than `maxResults`,\nCompute Engine returns a `nextPageToken` that can be used to get\nthe next page of results in subsequent list requests. Acceptable values are\n`0` to `500`, inclusive. (Default: `500`)", +"format": "uint32", +"location": "query", +"minimum": "0", +"type": "integer" +}, +"orderBy": { +"description": "Sorts list results by a certain order. By default, results\nare returned in alphanumerical order based on the resource name.\n\nYou can also sort results in descending order based on the creation\ntimestamp using `orderBy=\"creationTimestamp desc\"`. This sorts\nresults based on the `creationTimestamp` field in\nreverse chronological order (newest result first). Use this to sort\nresources like operations so that the newest operation is returned first.\n\nCurrently, only sorting by `name` or\n`creationTimestamp desc` is supported.", +"location": "query", +"type": "string" +}, +"pageToken": { +"description": "Specifies a page token to use. Set `pageToken` to the\n`nextPageToken` returned by a previous list request to get\nthe next page of results.", +"location": "query", +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"returnPartialSuccess": { +"description": "Opt-in for partial success behavior which provides partial results in case\nof failure. The default value is false.\n\nFor example, when partial success behavior is enabled, aggregatedList for a\nsingle zone scope either returns all resources in the zone or no resources,\nwith an error code.", +"location": "query", +"type": "boolean" +} +}, +"path": "projects/{project}/global/previewFeatures", +"response": { +"$ref": "PreviewFeatureList" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"update": { +"description": "Patches the given PreviewFeature. This method is used to enable or disable\na PreviewFeature.", +"flatPath": "projects/{project}/global/previewFeatures/{previewFeature}", +"httpMethod": "PATCH", +"id": "compute.previewFeatures.update", +"parameterOrder": [ +"project", +"previewFeature" +], +"parameters": { +"previewFeature": { +"description": "Name of the PreviewFeature for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "projects/{project}/global/previewFeatures/{previewFeature}", +"request": { +"$ref": "PreviewFeature" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +} +} +}, +"projects": { +"methods": { +"disableXpnHost": { +"description": "Disable this project as a shared VPC host project.", +"flatPath": "projects/{project}/disableXpnHost", +"httpMethod": "POST", +"id": "compute.projects.disableXpnHost", +"parameterOrder": [ +"project" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "projects/{project}/disableXpnHost", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"disableXpnResource": { +"description": "Disable a service resource (also known as service project) associated with\nthis host project.", +"flatPath": "projects/{project}/disableXpnResource", +"httpMethod": "POST", +"id": "compute.projects.disableXpnResource", +"parameterOrder": [ +"project" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "projects/{project}/disableXpnResource", +"request": { +"$ref": "ProjectsDisableXpnResourceRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"enableXpnHost": { +"description": "Enable this project as a shared VPC host project.", +"flatPath": "projects/{project}/enableXpnHost", +"httpMethod": "POST", +"id": "compute.projects.enableXpnHost", +"parameterOrder": [ +"project" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "projects/{project}/enableXpnHost", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"enableXpnResource": { +"description": "Enable service resource (a.k.a service project) for a host project, so that\nsubnets in the host project can be used by instances in the service\nproject.", +"flatPath": "projects/{project}/enableXpnResource", +"httpMethod": "POST", +"id": "compute.projects.enableXpnResource", +"parameterOrder": [ +"project" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "projects/{project}/enableXpnResource", +"request": { +"$ref": "ProjectsEnableXpnResourceRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"get": { +"description": "Returns the specified Project resource.\n\nTo decrease latency for this method, you can optionally omit any unneeded\ninformation from the response by using a field mask. This practice is\nespecially recommended for unused quota information (the `quotas` field).\nTo exclude one or more fields, set your request's `fields` query parameter\nto only include the fields you need. For example, to only include the `id`\nand `selfLink` fields, add the query parameter `?fields=id,selfLink` to\nyour request.", +"flatPath": "projects/{project}", +"httpMethod": "GET", +"id": "compute.projects.get", +"parameterOrder": [ +"project" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}", +"response": { +"$ref": "Project" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"getXpnHost": { +"description": "Gets the shared VPC host project that this project links to. May be empty\nif no link exists.", +"flatPath": "projects/{project}/getXpnHost", +"httpMethod": "GET", +"id": "compute.projects.getXpnHost", +"parameterOrder": [ +"project" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/getXpnHost", +"response": { +"$ref": "Project" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"getXpnResources": { +"description": "Gets service resources (a.k.a service project) associated with this host\nproject.", +"flatPath": "projects/{project}/getXpnResources", +"httpMethod": "GET", +"id": "compute.projects.getXpnResources", +"parameterOrder": [ +"project" +], +"parameters": { +"filter": { +"description": "A filter expression that filters resources listed in the response. Most\nCompute resources support two types of filter expressions:\nexpressions that support regular expressions and expressions that follow\nAPI improvement proposal AIP-160.\nThese two types of filter expressions cannot be mixed in one request.\n\nIf you want to use AIP-160, your expression must specify the field name, an\noperator, and the value that you want to use for filtering. The value\nmust be a string, a number, or a boolean. The operator\nmust be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.\n\nFor example, if you are filtering Compute Engine instances, you can\nexclude instances named `example-instance` by specifying\n`name != example-instance`.\n\nThe `:*` comparison can be used to test whether a key has been defined.\nFor example, to find all objects with `owner` label use:\n```\nlabels.owner:*\n```\n\nYou can also filter nested fields. For example, you could specify\n`scheduling.automaticRestart = false` to include instances only\nif they are not scheduled for automatic restarts. You can use filtering\non nested fields to filter based onresource labels.\n\nTo filter on multiple expressions, provide each separate expression within\nparentheses. For example:\n```\n(scheduling.automaticRestart = true)\n(cpuPlatform = \"Intel Skylake\")\n```\nBy default, each expression is an `AND` expression. However, you\ncan include `AND` and `OR` expressions explicitly.\nFor example:\n```\n(cpuPlatform = \"Intel Skylake\") OR\n(cpuPlatform = \"Intel Broadwell\") AND\n(scheduling.automaticRestart = true)\n```\n\nIf you want to use a regular expression, use the `eq` (equal) or `ne`\n(not equal) operator against a single un-parenthesized expression with or\nwithout quotes or against multiple parenthesized expressions. Examples:\n\n`fieldname eq unquoted literal`\n`fieldname eq 'single quoted literal'`\n`fieldname eq \"double quoted literal\"`\n`(fieldname1 eq literal) (fieldname2 ne \"literal\")`\n\nThe literal value is interpreted as a regular expression using GoogleRE2 library syntax.\nThe literal value must match the entire field.\n\nFor example, to filter for instances that do not end with name \"instance\",\nyou would use `name ne .*instance`.\n\nYou cannot combine constraints on multiple fields using regular\nexpressions.", +"location": "query", +"type": "string" +}, +"maxResults": { +"default": "500", +"description": "The maximum number of results per page that should be returned.\nIf the number of available results is larger than `maxResults`,\nCompute Engine returns a `nextPageToken` that can be used to get\nthe next page of results in subsequent list requests. Acceptable values are\n`0` to `500`, inclusive. (Default: `500`)", +"format": "uint32", +"location": "query", +"minimum": "0", +"type": "integer" +}, +"orderBy": { +"description": "Sorts list results by a certain order. By default, results\nare returned in alphanumerical order based on the resource name.\n\nYou can also sort results in descending order based on the creation\ntimestamp using `orderBy=\"creationTimestamp desc\"`. This sorts\nresults based on the `creationTimestamp` field in\nreverse chronological order (newest result first). Use this to sort\nresources like operations so that the newest operation is returned first.\n\nCurrently, only sorting by `name` or\n`creationTimestamp desc` is supported.", +"location": "query", +"type": "string" +}, +"pageToken": { +"description": "Specifies a page token to use. Set `pageToken` to the\n`nextPageToken` returned by a previous list request to get\nthe next page of results.", +"location": "query", +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"returnPartialSuccess": { +"description": "Opt-in for partial success behavior which provides partial results in case\nof failure. The default value is false.\n\nFor example, when partial success behavior is enabled, aggregatedList for a\nsingle zone scope either returns all resources in the zone or no resources,\nwith an error code.", +"location": "query", +"type": "boolean" +} +}, +"path": "projects/{project}/getXpnResources", +"response": { +"$ref": "ProjectsGetXpnResources" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"listXpnHosts": { +"description": "Lists all shared VPC host projects visible to the user in an organization.", +"flatPath": "projects/{project}/listXpnHosts", +"httpMethod": "POST", +"id": "compute.projects.listXpnHosts", +"parameterOrder": [ +"project" +], +"parameters": { +"filter": { +"description": "A filter expression that filters resources listed in the response. Most\nCompute resources support two types of filter expressions:\nexpressions that support regular expressions and expressions that follow\nAPI improvement proposal AIP-160.\nThese two types of filter expressions cannot be mixed in one request.\n\nIf you want to use AIP-160, your expression must specify the field name, an\noperator, and the value that you want to use for filtering. The value\nmust be a string, a number, or a boolean. The operator\nmust be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.\n\nFor example, if you are filtering Compute Engine instances, you can\nexclude instances named `example-instance` by specifying\n`name != example-instance`.\n\nThe `:*` comparison can be used to test whether a key has been defined.\nFor example, to find all objects with `owner` label use:\n```\nlabels.owner:*\n```\n\nYou can also filter nested fields. For example, you could specify\n`scheduling.automaticRestart = false` to include instances only\nif they are not scheduled for automatic restarts. You can use filtering\non nested fields to filter based onresource labels.\n\nTo filter on multiple expressions, provide each separate expression within\nparentheses. For example:\n```\n(scheduling.automaticRestart = true)\n(cpuPlatform = \"Intel Skylake\")\n```\nBy default, each expression is an `AND` expression. However, you\ncan include `AND` and `OR` expressions explicitly.\nFor example:\n```\n(cpuPlatform = \"Intel Skylake\") OR\n(cpuPlatform = \"Intel Broadwell\") AND\n(scheduling.automaticRestart = true)\n```\n\nIf you want to use a regular expression, use the `eq` (equal) or `ne`\n(not equal) operator against a single un-parenthesized expression with or\nwithout quotes or against multiple parenthesized expressions. Examples:\n\n`fieldname eq unquoted literal`\n`fieldname eq 'single quoted literal'`\n`fieldname eq \"double quoted literal\"`\n`(fieldname1 eq literal) (fieldname2 ne \"literal\")`\n\nThe literal value is interpreted as a regular expression using GoogleRE2 library syntax.\nThe literal value must match the entire field.\n\nFor example, to filter for instances that do not end with name \"instance\",\nyou would use `name ne .*instance`.\n\nYou cannot combine constraints on multiple fields using regular\nexpressions.", +"location": "query", +"type": "string" +}, +"maxResults": { +"default": "500", +"description": "The maximum number of results per page that should be returned.\nIf the number of available results is larger than `maxResults`,\nCompute Engine returns a `nextPageToken` that can be used to get\nthe next page of results in subsequent list requests. Acceptable values are\n`0` to `500`, inclusive. (Default: `500`)", +"format": "uint32", +"location": "query", +"minimum": "0", +"type": "integer" +}, +"orderBy": { +"description": "Sorts list results by a certain order. By default, results\nare returned in alphanumerical order based on the resource name.\n\nYou can also sort results in descending order based on the creation\ntimestamp using `orderBy=\"creationTimestamp desc\"`. This sorts\nresults based on the `creationTimestamp` field in\nreverse chronological order (newest result first). Use this to sort\nresources like operations so that the newest operation is returned first.\n\nCurrently, only sorting by `name` or\n`creationTimestamp desc` is supported.", +"location": "query", +"type": "string" +}, +"pageToken": { +"description": "Specifies a page token to use. Set `pageToken` to the\n`nextPageToken` returned by a previous list request to get\nthe next page of results.", +"location": "query", +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"returnPartialSuccess": { +"description": "Opt-in for partial success behavior which provides partial results in case\nof failure. The default value is false.\n\nFor example, when partial success behavior is enabled, aggregatedList for a\nsingle zone scope either returns all resources in the zone or no resources,\nwith an error code.", +"location": "query", +"type": "boolean" +} +}, +"path": "projects/{project}/listXpnHosts", +"request": { +"$ref": "ProjectsListXpnHostsRequest" +}, +"response": { +"$ref": "XpnHostList" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"moveDisk": { +"deprecated": true, +"description": "Moves a persistent disk from one zone to another.\n*Note*: The moveDisk API will be deprecated on September 29, 2026.\n\nStarting September 29, 2025, you can't use the moveDisk API on new\nprojects. To move a disk to a different region or zone, follow the steps in\n[Change the location of a\ndisk](https://cloud.google.com/compute/docs/disks/migrate-to-hyperdisk#migrate-to-hd).\n\nProjects that already use the moveDisk API can continue usage until\nSeptember 29, 2026.\n\nStarting November 1, 2025, API responses will include a warning message in\nthe response body about the upcoming deprecation. You can skip the message\nto continue using the service without interruption.", +"flatPath": "projects/{project}/moveDisk", +"httpMethod": "POST", +"id": "compute.projects.moveDisk", +"parameterOrder": [ +"project" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "projects/{project}/moveDisk", +"request": { +"$ref": "DiskMoveRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"moveInstance": { +"deprecated": true, +"description": "Moves an instance and its attached persistent disks from one zone to\nanother.\n*Note*: Moving VMs or disks by using this method might\n cause unexpected behavior. For more information, see the [known\n issue](/compute/docs/troubleshooting/known-issues#moving_vms_or_disks_using_the_moveinstance_api_or_the_causes_unexpected_behavior).\n[Deprecated] This method is deprecated. See [moving instance across\nzones](/compute/docs/instances/moving-instance-across-zones) instead.", +"flatPath": "projects/{project}/moveInstance", +"httpMethod": "POST", +"id": "compute.projects.moveInstance", +"parameterOrder": [ +"project" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "projects/{project}/moveInstance", +"request": { +"$ref": "InstanceMoveRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"setCloudArmorTier": { +"description": "Sets the Cloud Armor tier of the project. To set ENTERPRISE or above the\nbilling account of the project must be subscribed to Cloud Armor\nEnterprise. See Subscribing\nto Cloud Armor Enterprise for more information.", +"flatPath": "projects/{project}/setCloudArmorTier", +"httpMethod": "POST", +"id": "compute.projects.setCloudArmorTier", +"parameterOrder": [ +"project" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "projects/{project}/setCloudArmorTier", +"request": { +"$ref": "ProjectsSetCloudArmorTierRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"setCommonInstanceMetadata": { +"description": "Sets metadata common to all instances within the specified project using\nthe data included in the request.", +"flatPath": "projects/{project}/setCommonInstanceMetadata", +"httpMethod": "POST", +"id": "compute.projects.setCommonInstanceMetadata", +"parameterOrder": [ +"project" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "projects/{project}/setCommonInstanceMetadata", +"request": { +"$ref": "Metadata" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"setDefaultNetworkTier": { +"description": "Sets the default network tier of the project. The default network tier is\nused when an address/forwardingRule/instance is created without specifying\nthe network tier field.", +"flatPath": "projects/{project}/setDefaultNetworkTier", +"httpMethod": "POST", +"id": "compute.projects.setDefaultNetworkTier", +"parameterOrder": [ +"project" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "projects/{project}/setDefaultNetworkTier", +"request": { +"$ref": "ProjectsSetDefaultNetworkTierRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"setManagedProtectionTier": { +"description": "Sets the Cloud Armor Managed Protection (CAMP) tier of the project. To set\nPLUS or above the billing account of the project must be subscribed to\nManaged Protection Plus. See Subscribing\nto Managed Protection Plus for more information.", +"flatPath": "projects/{project}/setManagedProtectionTier", +"httpMethod": "POST", +"id": "compute.projects.setManagedProtectionTier", +"parameterOrder": [ +"project" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "projects/{project}/setManagedProtectionTier", +"request": { +"$ref": "ProjectsSetManagedProtectionTierRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"setUsageExportBucket": { +"description": "Enables the usage export feature and sets theusage export bucket\nwhere reports are stored. If you provide an empty request body using this\nmethod, the usage export feature will be disabled.", +"flatPath": "projects/{project}/setUsageExportBucket", +"httpMethod": "POST", +"id": "compute.projects.setUsageExportBucket", +"parameterOrder": [ +"project" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "projects/{project}/setUsageExportBucket", +"request": { +"$ref": "UsageExportLocation" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/devstorage.full_control", +"https://www.googleapis.com/auth/devstorage.read_only", +"https://www.googleapis.com/auth/devstorage.read_write" +] +} +} +}, +"publicAdvertisedPrefixes": { +"methods": { +"announce": { +"description": "Announces the specified PublicAdvertisedPrefix", +"flatPath": "projects/{project}/global/publicAdvertisedPrefixes/{publicAdvertisedPrefix}/announce", +"httpMethod": "POST", +"id": "compute.publicAdvertisedPrefixes.announce", +"parameterOrder": [ +"project", +"publicAdvertisedPrefix" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"publicAdvertisedPrefix": { +"description": "The name of the public advertised prefix. It should comply with RFC1035.", +"location": "path", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "projects/{project}/global/publicAdvertisedPrefixes/{publicAdvertisedPrefix}/announce", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"delete": { +"description": "Deletes the specified PublicAdvertisedPrefix", +"flatPath": "projects/{project}/global/publicAdvertisedPrefixes/{publicAdvertisedPrefix}", +"httpMethod": "DELETE", +"id": "compute.publicAdvertisedPrefixes.delete", +"parameterOrder": [ +"project", +"publicAdvertisedPrefix" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"publicAdvertisedPrefix": { +"description": "Name of the PublicAdvertisedPrefix resource to delete.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "projects/{project}/global/publicAdvertisedPrefixes/{publicAdvertisedPrefix}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"get": { +"description": "Returns the specified PublicAdvertisedPrefix resource.", +"flatPath": "projects/{project}/global/publicAdvertisedPrefixes/{publicAdvertisedPrefix}", +"httpMethod": "GET", +"id": "compute.publicAdvertisedPrefixes.get", +"parameterOrder": [ +"project", +"publicAdvertisedPrefix" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"publicAdvertisedPrefix": { +"description": "Name of the PublicAdvertisedPrefix resource to return.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/global/publicAdvertisedPrefixes/{publicAdvertisedPrefix}", +"response": { +"$ref": "PublicAdvertisedPrefix" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"insert": { +"description": "Creates a PublicAdvertisedPrefix in the specified project\nusing the parameters that are included in the request.", +"flatPath": "projects/{project}/global/publicAdvertisedPrefixes", +"httpMethod": "POST", +"id": "compute.publicAdvertisedPrefixes.insert", +"parameterOrder": [ +"project" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "projects/{project}/global/publicAdvertisedPrefixes", +"request": { +"$ref": "PublicAdvertisedPrefix" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"list": { +"description": "Lists the PublicAdvertisedPrefixes for a project.", +"flatPath": "projects/{project}/global/publicAdvertisedPrefixes", +"httpMethod": "GET", +"id": "compute.publicAdvertisedPrefixes.list", +"parameterOrder": [ +"project" +], +"parameters": { +"filter": { +"description": "A filter expression that filters resources listed in the response. Most\nCompute resources support two types of filter expressions:\nexpressions that support regular expressions and expressions that follow\nAPI improvement proposal AIP-160.\nThese two types of filter expressions cannot be mixed in one request.\n\nIf you want to use AIP-160, your expression must specify the field name, an\noperator, and the value that you want to use for filtering. The value\nmust be a string, a number, or a boolean. The operator\nmust be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.\n\nFor example, if you are filtering Compute Engine instances, you can\nexclude instances named `example-instance` by specifying\n`name != example-instance`.\n\nThe `:*` comparison can be used to test whether a key has been defined.\nFor example, to find all objects with `owner` label use:\n```\nlabels.owner:*\n```\n\nYou can also filter nested fields. For example, you could specify\n`scheduling.automaticRestart = false` to include instances only\nif they are not scheduled for automatic restarts. You can use filtering\non nested fields to filter based onresource labels.\n\nTo filter on multiple expressions, provide each separate expression within\nparentheses. For example:\n```\n(scheduling.automaticRestart = true)\n(cpuPlatform = \"Intel Skylake\")\n```\nBy default, each expression is an `AND` expression. However, you\ncan include `AND` and `OR` expressions explicitly.\nFor example:\n```\n(cpuPlatform = \"Intel Skylake\") OR\n(cpuPlatform = \"Intel Broadwell\") AND\n(scheduling.automaticRestart = true)\n```\n\nIf you want to use a regular expression, use the `eq` (equal) or `ne`\n(not equal) operator against a single un-parenthesized expression with or\nwithout quotes or against multiple parenthesized expressions. Examples:\n\n`fieldname eq unquoted literal`\n`fieldname eq 'single quoted literal'`\n`fieldname eq \"double quoted literal\"`\n`(fieldname1 eq literal) (fieldname2 ne \"literal\")`\n\nThe literal value is interpreted as a regular expression using GoogleRE2 library syntax.\nThe literal value must match the entire field.\n\nFor example, to filter for instances that do not end with name \"instance\",\nyou would use `name ne .*instance`.\n\nYou cannot combine constraints on multiple fields using regular\nexpressions.", +"location": "query", +"type": "string" +}, +"maxResults": { +"default": "500", +"description": "The maximum number of results per page that should be returned.\nIf the number of available results is larger than `maxResults`,\nCompute Engine returns a `nextPageToken` that can be used to get\nthe next page of results in subsequent list requests. Acceptable values are\n`0` to `500`, inclusive. (Default: `500`)", +"format": "uint32", +"location": "query", +"minimum": "0", +"type": "integer" +}, +"orderBy": { +"description": "Sorts list results by a certain order. By default, results\nare returned in alphanumerical order based on the resource name.\n\nYou can also sort results in descending order based on the creation\ntimestamp using `orderBy=\"creationTimestamp desc\"`. This sorts\nresults based on the `creationTimestamp` field in\nreverse chronological order (newest result first). Use this to sort\nresources like operations so that the newest operation is returned first.\n\nCurrently, only sorting by `name` or\n`creationTimestamp desc` is supported.", +"location": "query", +"type": "string" +}, +"pageToken": { +"description": "Specifies a page token to use. Set `pageToken` to the\n`nextPageToken` returned by a previous list request to get\nthe next page of results.", +"location": "query", +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"returnPartialSuccess": { +"description": "Opt-in for partial success behavior which provides partial results in case\nof failure. The default value is false.\n\nFor example, when partial success behavior is enabled, aggregatedList for a\nsingle zone scope either returns all resources in the zone or no resources,\nwith an error code.", +"location": "query", +"type": "boolean" +} +}, +"path": "projects/{project}/global/publicAdvertisedPrefixes", +"response": { +"$ref": "PublicAdvertisedPrefixList" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"patch": { +"description": "Patches the specified Router resource with the data included in the\nrequest. This method supportsPATCH\nsemantics and usesJSON merge\npatch format and processing rules.", +"flatPath": "projects/{project}/global/publicAdvertisedPrefixes/{publicAdvertisedPrefix}", +"httpMethod": "PATCH", +"id": "compute.publicAdvertisedPrefixes.patch", +"parameterOrder": [ +"project", +"publicAdvertisedPrefix" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"publicAdvertisedPrefix": { +"description": "Name of the PublicAdvertisedPrefix resource to patch.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "projects/{project}/global/publicAdvertisedPrefixes/{publicAdvertisedPrefix}", +"request": { +"$ref": "PublicAdvertisedPrefix" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"withdraw": { +"description": "Withdraws the specified PublicAdvertisedPrefix", +"flatPath": "projects/{project}/global/publicAdvertisedPrefixes/{publicAdvertisedPrefix}/withdraw", +"httpMethod": "POST", +"id": "compute.publicAdvertisedPrefixes.withdraw", +"parameterOrder": [ +"project", +"publicAdvertisedPrefix" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"publicAdvertisedPrefix": { +"description": "The name of the public advertised prefix. It should comply with RFC1035.", +"location": "path", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "projects/{project}/global/publicAdvertisedPrefixes/{publicAdvertisedPrefix}/withdraw", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +} +} +}, +"publicDelegatedPrefixes": { +"methods": { +"aggregatedList": { +"description": "Lists all PublicDelegatedPrefix resources owned by the specific project\nacross all scopes.\n\nTo prevent failure, Google recommends that you set the\n`returnPartialSuccess` parameter to `true`.", +"flatPath": "projects/{project}/aggregated/publicDelegatedPrefixes", +"httpMethod": "GET", +"id": "compute.publicDelegatedPrefixes.aggregatedList", +"parameterOrder": [ +"project" +], +"parameters": { +"filter": { +"description": "A filter expression that filters resources listed in the response. Most\nCompute resources support two types of filter expressions:\nexpressions that support regular expressions and expressions that follow\nAPI improvement proposal AIP-160.\nThese two types of filter expressions cannot be mixed in one request.\n\nIf you want to use AIP-160, your expression must specify the field name, an\noperator, and the value that you want to use for filtering. The value\nmust be a string, a number, or a boolean. The operator\nmust be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.\n\nFor example, if you are filtering Compute Engine instances, you can\nexclude instances named `example-instance` by specifying\n`name != example-instance`.\n\nThe `:*` comparison can be used to test whether a key has been defined.\nFor example, to find all objects with `owner` label use:\n```\nlabels.owner:*\n```\n\nYou can also filter nested fields. For example, you could specify\n`scheduling.automaticRestart = false` to include instances only\nif they are not scheduled for automatic restarts. You can use filtering\non nested fields to filter based onresource labels.\n\nTo filter on multiple expressions, provide each separate expression within\nparentheses. For example:\n```\n(scheduling.automaticRestart = true)\n(cpuPlatform = \"Intel Skylake\")\n```\nBy default, each expression is an `AND` expression. However, you\ncan include `AND` and `OR` expressions explicitly.\nFor example:\n```\n(cpuPlatform = \"Intel Skylake\") OR\n(cpuPlatform = \"Intel Broadwell\") AND\n(scheduling.automaticRestart = true)\n```\n\nIf you want to use a regular expression, use the `eq` (equal) or `ne`\n(not equal) operator against a single un-parenthesized expression with or\nwithout quotes or against multiple parenthesized expressions. Examples:\n\n`fieldname eq unquoted literal`\n`fieldname eq 'single quoted literal'`\n`fieldname eq \"double quoted literal\"`\n`(fieldname1 eq literal) (fieldname2 ne \"literal\")`\n\nThe literal value is interpreted as a regular expression using GoogleRE2 library syntax.\nThe literal value must match the entire field.\n\nFor example, to filter for instances that do not end with name \"instance\",\nyou would use `name ne .*instance`.\n\nYou cannot combine constraints on multiple fields using regular\nexpressions.", +"location": "query", +"type": "string" +}, +"includeAllScopes": { +"description": "Indicates whether every visible scope for each scope type (zone, region,\nglobal) should be included in the response. For new resource types added\nafter this field, the flag has no effect as new resource types will always\ninclude every visible scope for each scope type in response. For resource\ntypes which predate this field, if this flag is omitted or false, only\nscopes of the scope types where the resource type is expected to be found\nwill be included.", +"location": "query", +"type": "boolean" +}, +"maxResults": { +"default": "500", +"description": "The maximum number of results per page that should be returned.\nIf the number of available results is larger than `maxResults`,\nCompute Engine returns a `nextPageToken` that can be used to get\nthe next page of results in subsequent list requests. Acceptable values are\n`0` to `500`, inclusive. (Default: `500`)", +"format": "uint32", +"location": "query", +"minimum": "0", +"type": "integer" +}, +"orderBy": { +"description": "Sorts list results by a certain order. By default, results\nare returned in alphanumerical order based on the resource name.\n\nYou can also sort results in descending order based on the creation\ntimestamp using `orderBy=\"creationTimestamp desc\"`. This sorts\nresults based on the `creationTimestamp` field in\nreverse chronological order (newest result first). Use this to sort\nresources like operations so that the newest operation is returned first.\n\nCurrently, only sorting by `name` or\n`creationTimestamp desc` is supported.", +"location": "query", +"type": "string" +}, +"pageToken": { +"description": "Specifies a page token to use. Set `pageToken` to the\n`nextPageToken` returned by a previous list request to get\nthe next page of results.", +"location": "query", +"type": "string" +}, +"project": { +"description": "Name of the project scoping this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"returnPartialSuccess": { +"description": "Opt-in for partial success behavior which provides partial results in case\nof failure. The default value is false.\n\nFor example, when partial success behavior is enabled, aggregatedList for a\nsingle zone scope either returns all resources in the zone or no resources,\nwith an error code.", +"location": "query", +"type": "boolean" +}, +"serviceProjectNumber": { +"description": "The Shared VPC service project id or service project number for which\naggregated list request is invoked for subnetworks list-usable api.", +"format": "int64", +"location": "query", +"type": "string" +} +}, +"path": "projects/{project}/aggregated/publicDelegatedPrefixes", +"response": { +"$ref": "PublicDelegatedPrefixAggregatedList" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"announce": { +"description": "Announces the specified PublicDelegatedPrefix in the given region.", +"flatPath": "projects/{project}/regions/{region}/publicDelegatedPrefixes/{publicDelegatedPrefix}/announce", +"httpMethod": "POST", +"id": "compute.publicDelegatedPrefixes.announce", +"parameterOrder": [ +"project", +"region", +"publicDelegatedPrefix" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"publicDelegatedPrefix": { +"description": "The name of the public delegated prefix. It should comply with RFC1035.", +"location": "path", +"required": true, +"type": "string" +}, +"region": { +"description": "The name of theregion where\nthe public delegated prefix is located. It should comply with RFC1035.", +"location": "path", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "projects/{project}/regions/{region}/publicDelegatedPrefixes/{publicDelegatedPrefix}/announce", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"delete": { +"description": "Deletes the specified PublicDelegatedPrefix in the given region.", +"flatPath": "projects/{project}/regions/{region}/publicDelegatedPrefixes/{publicDelegatedPrefix}", +"httpMethod": "DELETE", +"id": "compute.publicDelegatedPrefixes.delete", +"parameterOrder": [ +"project", +"region", +"publicDelegatedPrefix" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"publicDelegatedPrefix": { +"description": "Name of the PublicDelegatedPrefix resource to delete.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +}, +"region": { +"description": "Name of the region of this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "projects/{project}/regions/{region}/publicDelegatedPrefixes/{publicDelegatedPrefix}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"get": { +"description": "Returns the specified PublicDelegatedPrefix resource in the given region.", +"flatPath": "projects/{project}/regions/{region}/publicDelegatedPrefixes/{publicDelegatedPrefix}", +"httpMethod": "GET", +"id": "compute.publicDelegatedPrefixes.get", +"parameterOrder": [ +"project", +"region", +"publicDelegatedPrefix" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"publicDelegatedPrefix": { +"description": "Name of the PublicDelegatedPrefix resource to return.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +}, +"region": { +"description": "Name of the region of this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/regions/{region}/publicDelegatedPrefixes/{publicDelegatedPrefix}", +"response": { +"$ref": "PublicDelegatedPrefix" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"insert": { +"description": "Creates a PublicDelegatedPrefix in the specified project in the given\nregion using the parameters that are included in the request.", +"flatPath": "projects/{project}/regions/{region}/publicDelegatedPrefixes", +"httpMethod": "POST", +"id": "compute.publicDelegatedPrefixes.insert", +"parameterOrder": [ +"project", +"region" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "Name of the region of this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "projects/{project}/regions/{region}/publicDelegatedPrefixes", +"request": { +"$ref": "PublicDelegatedPrefix" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"list": { +"description": "Lists the PublicDelegatedPrefixes for a project in the given region.", +"flatPath": "projects/{project}/regions/{region}/publicDelegatedPrefixes", +"httpMethod": "GET", +"id": "compute.publicDelegatedPrefixes.list", +"parameterOrder": [ +"project", +"region" +], +"parameters": { +"filter": { +"description": "A filter expression that filters resources listed in the response. Most\nCompute resources support two types of filter expressions:\nexpressions that support regular expressions and expressions that follow\nAPI improvement proposal AIP-160.\nThese two types of filter expressions cannot be mixed in one request.\n\nIf you want to use AIP-160, your expression must specify the field name, an\noperator, and the value that you want to use for filtering. The value\nmust be a string, a number, or a boolean. The operator\nmust be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.\n\nFor example, if you are filtering Compute Engine instances, you can\nexclude instances named `example-instance` by specifying\n`name != example-instance`.\n\nThe `:*` comparison can be used to test whether a key has been defined.\nFor example, to find all objects with `owner` label use:\n```\nlabels.owner:*\n```\n\nYou can also filter nested fields. For example, you could specify\n`scheduling.automaticRestart = false` to include instances only\nif they are not scheduled for automatic restarts. You can use filtering\non nested fields to filter based onresource labels.\n\nTo filter on multiple expressions, provide each separate expression within\nparentheses. For example:\n```\n(scheduling.automaticRestart = true)\n(cpuPlatform = \"Intel Skylake\")\n```\nBy default, each expression is an `AND` expression. However, you\ncan include `AND` and `OR` expressions explicitly.\nFor example:\n```\n(cpuPlatform = \"Intel Skylake\") OR\n(cpuPlatform = \"Intel Broadwell\") AND\n(scheduling.automaticRestart = true)\n```\n\nIf you want to use a regular expression, use the `eq` (equal) or `ne`\n(not equal) operator against a single un-parenthesized expression with or\nwithout quotes or against multiple parenthesized expressions. Examples:\n\n`fieldname eq unquoted literal`\n`fieldname eq 'single quoted literal'`\n`fieldname eq \"double quoted literal\"`\n`(fieldname1 eq literal) (fieldname2 ne \"literal\")`\n\nThe literal value is interpreted as a regular expression using GoogleRE2 library syntax.\nThe literal value must match the entire field.\n\nFor example, to filter for instances that do not end with name \"instance\",\nyou would use `name ne .*instance`.\n\nYou cannot combine constraints on multiple fields using regular\nexpressions.", +"location": "query", +"type": "string" +}, +"maxResults": { +"default": "500", +"description": "The maximum number of results per page that should be returned.\nIf the number of available results is larger than `maxResults`,\nCompute Engine returns a `nextPageToken` that can be used to get\nthe next page of results in subsequent list requests. Acceptable values are\n`0` to `500`, inclusive. (Default: `500`)", +"format": "uint32", +"location": "query", +"minimum": "0", +"type": "integer" +}, +"orderBy": { +"description": "Sorts list results by a certain order. By default, results\nare returned in alphanumerical order based on the resource name.\n\nYou can also sort results in descending order based on the creation\ntimestamp using `orderBy=\"creationTimestamp desc\"`. This sorts\nresults based on the `creationTimestamp` field in\nreverse chronological order (newest result first). Use this to sort\nresources like operations so that the newest operation is returned first.\n\nCurrently, only sorting by `name` or\n`creationTimestamp desc` is supported.", +"location": "query", +"type": "string" +}, +"pageToken": { +"description": "Specifies a page token to use. Set `pageToken` to the\n`nextPageToken` returned by a previous list request to get\nthe next page of results.", +"location": "query", +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "Name of the region of this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +}, +"returnPartialSuccess": { +"description": "Opt-in for partial success behavior which provides partial results in case\nof failure. The default value is false.\n\nFor example, when partial success behavior is enabled, aggregatedList for a\nsingle zone scope either returns all resources in the zone or no resources,\nwith an error code.", +"location": "query", +"type": "boolean" +} +}, +"path": "projects/{project}/regions/{region}/publicDelegatedPrefixes", +"response": { +"$ref": "PublicDelegatedPrefixList" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"patch": { +"description": "Patches the specified PublicDelegatedPrefix resource with the data included\nin the request. This method supportsPATCH\nsemantics and usesJSON merge\npatch format and processing rules.", +"flatPath": "projects/{project}/regions/{region}/publicDelegatedPrefixes/{publicDelegatedPrefix}", +"httpMethod": "PATCH", +"id": "compute.publicDelegatedPrefixes.patch", +"parameterOrder": [ +"project", +"region", +"publicDelegatedPrefix" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"publicDelegatedPrefix": { +"description": "Name of the PublicDelegatedPrefix resource to patch.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +}, +"region": { +"description": "Name of the region for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "projects/{project}/regions/{region}/publicDelegatedPrefixes/{publicDelegatedPrefix}", +"request": { +"$ref": "PublicDelegatedPrefix" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"withdraw": { +"description": "Withdraws the specified PublicDelegatedPrefix in the given region.", +"flatPath": "projects/{project}/regions/{region}/publicDelegatedPrefixes/{publicDelegatedPrefix}/withdraw", +"httpMethod": "POST", +"id": "compute.publicDelegatedPrefixes.withdraw", +"parameterOrder": [ +"project", +"region", +"publicDelegatedPrefix" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"publicDelegatedPrefix": { +"description": "The name of the public delegated prefix. It should comply with RFC1035.", +"location": "path", +"required": true, +"type": "string" +}, +"region": { +"description": "The name of theregion where\nthe public delegated prefix is located. It should comply with RFC1035.", +"location": "path", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "projects/{project}/regions/{region}/publicDelegatedPrefixes/{publicDelegatedPrefix}/withdraw", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +} +} +}, +"regionAutoscalers": { +"methods": { +"delete": { +"description": "Deletes the specified autoscaler.", +"flatPath": "projects/{project}/regions/{region}/autoscalers/{autoscaler}", +"httpMethod": "DELETE", +"id": "compute.regionAutoscalers.delete", +"parameterOrder": [ +"project", +"region", +"autoscaler" +], +"parameters": { +"autoscaler": { +"description": "Name of the autoscaler to delete.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "Name of the region scoping this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "projects/{project}/regions/{region}/autoscalers/{autoscaler}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"get": { +"description": "Returns the specified autoscaler.", +"flatPath": "projects/{project}/regions/{region}/autoscalers/{autoscaler}", +"httpMethod": "GET", +"id": "compute.regionAutoscalers.get", +"parameterOrder": [ +"project", +"region", +"autoscaler" +], +"parameters": { +"autoscaler": { +"description": "Name of the autoscaler to return.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "Name of the region scoping this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/regions/{region}/autoscalers/{autoscaler}", +"response": { +"$ref": "Autoscaler" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"insert": { +"description": "Creates an autoscaler in the specified project using\nthe data included in the request.", +"flatPath": "projects/{project}/regions/{region}/autoscalers", +"httpMethod": "POST", +"id": "compute.regionAutoscalers.insert", +"parameterOrder": [ +"project", +"region" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "Name of the region scoping this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "projects/{project}/regions/{region}/autoscalers", +"request": { +"$ref": "Autoscaler" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"list": { +"description": "Retrieves a list of autoscalers contained within\nthe specified region.", +"flatPath": "projects/{project}/regions/{region}/autoscalers", +"httpMethod": "GET", +"id": "compute.regionAutoscalers.list", +"parameterOrder": [ +"project", +"region" +], +"parameters": { +"filter": { +"description": "A filter expression that filters resources listed in the response. Most\nCompute resources support two types of filter expressions:\nexpressions that support regular expressions and expressions that follow\nAPI improvement proposal AIP-160.\nThese two types of filter expressions cannot be mixed in one request.\n\nIf you want to use AIP-160, your expression must specify the field name, an\noperator, and the value that you want to use for filtering. The value\nmust be a string, a number, or a boolean. The operator\nmust be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.\n\nFor example, if you are filtering Compute Engine instances, you can\nexclude instances named `example-instance` by specifying\n`name != example-instance`.\n\nThe `:*` comparison can be used to test whether a key has been defined.\nFor example, to find all objects with `owner` label use:\n```\nlabels.owner:*\n```\n\nYou can also filter nested fields. For example, you could specify\n`scheduling.automaticRestart = false` to include instances only\nif they are not scheduled for automatic restarts. You can use filtering\non nested fields to filter based onresource labels.\n\nTo filter on multiple expressions, provide each separate expression within\nparentheses. For example:\n```\n(scheduling.automaticRestart = true)\n(cpuPlatform = \"Intel Skylake\")\n```\nBy default, each expression is an `AND` expression. However, you\ncan include `AND` and `OR` expressions explicitly.\nFor example:\n```\n(cpuPlatform = \"Intel Skylake\") OR\n(cpuPlatform = \"Intel Broadwell\") AND\n(scheduling.automaticRestart = true)\n```\n\nIf you want to use a regular expression, use the `eq` (equal) or `ne`\n(not equal) operator against a single un-parenthesized expression with or\nwithout quotes or against multiple parenthesized expressions. Examples:\n\n`fieldname eq unquoted literal`\n`fieldname eq 'single quoted literal'`\n`fieldname eq \"double quoted literal\"`\n`(fieldname1 eq literal) (fieldname2 ne \"literal\")`\n\nThe literal value is interpreted as a regular expression using GoogleRE2 library syntax.\nThe literal value must match the entire field.\n\nFor example, to filter for instances that do not end with name \"instance\",\nyou would use `name ne .*instance`.\n\nYou cannot combine constraints on multiple fields using regular\nexpressions.", +"location": "query", +"type": "string" +}, +"maxResults": { +"default": "500", +"description": "The maximum number of results per page that should be returned.\nIf the number of available results is larger than `maxResults`,\nCompute Engine returns a `nextPageToken` that can be used to get\nthe next page of results in subsequent list requests. Acceptable values are\n`0` to `500`, inclusive. (Default: `500`)", +"format": "uint32", +"location": "query", +"minimum": "0", +"type": "integer" +}, +"orderBy": { +"description": "Sorts list results by a certain order. By default, results\nare returned in alphanumerical order based on the resource name.\n\nYou can also sort results in descending order based on the creation\ntimestamp using `orderBy=\"creationTimestamp desc\"`. This sorts\nresults based on the `creationTimestamp` field in\nreverse chronological order (newest result first). Use this to sort\nresources like operations so that the newest operation is returned first.\n\nCurrently, only sorting by `name` or\n`creationTimestamp desc` is supported.", +"location": "query", +"type": "string" +}, +"pageToken": { +"description": "Specifies a page token to use. Set `pageToken` to the\n`nextPageToken` returned by a previous list request to get\nthe next page of results.", +"location": "query", +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "Name of the region scoping this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +}, +"returnPartialSuccess": { +"description": "Opt-in for partial success behavior which provides partial results in case\nof failure. The default value is false.\n\nFor example, when partial success behavior is enabled, aggregatedList for a\nsingle zone scope either returns all resources in the zone or no resources,\nwith an error code.", +"location": "query", +"type": "boolean" +} +}, +"path": "projects/{project}/regions/{region}/autoscalers", +"response": { +"$ref": "RegionAutoscalerList" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"patch": { +"description": "Updates an autoscaler in the specified project using\nthe data included in the request. This method supportsPATCH\nsemantics and uses theJSON merge\npatch format and processing rules.", +"flatPath": "projects/{project}/regions/{region}/autoscalers", +"httpMethod": "PATCH", +"id": "compute.regionAutoscalers.patch", +"parameterOrder": [ +"project", +"region" +], +"parameters": { +"autoscaler": { +"description": "Name of the autoscaler to patch.", +"location": "query", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "Name of the region scoping this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "projects/{project}/regions/{region}/autoscalers", +"request": { +"$ref": "Autoscaler" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"testIamPermissions": { +"description": "Returns permissions that a caller has on the specified resource.", +"flatPath": "projects/{project}/regions/{region}/autoscalers/{resource}/testIamPermissions", +"httpMethod": "POST", +"id": "compute.regionAutoscalers.testIamPermissions", +"parameterOrder": [ +"project", +"region", +"resource" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "The name of the region for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +}, +"resource": { +"description": "Name or id of the resource for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/regions/{region}/autoscalers/{resource}/testIamPermissions", +"request": { +"$ref": "TestPermissionsRequest" +}, +"response": { +"$ref": "TestPermissionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"update": { +"description": "Updates an autoscaler in the specified project using\nthe data included in the request.", +"flatPath": "projects/{project}/regions/{region}/autoscalers", +"httpMethod": "PUT", +"id": "compute.regionAutoscalers.update", +"parameterOrder": [ +"project", +"region" +], +"parameters": { +"autoscaler": { +"description": "Name of the autoscaler to update.", +"location": "query", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "Name of the region scoping this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "projects/{project}/regions/{region}/autoscalers", +"request": { +"$ref": "Autoscaler" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +} +} +}, +"regionBackendBuckets": { +"methods": { +"delete": { +"description": "Deletes the specified regional BackendBucket resource.", +"flatPath": "projects/{project}/regions/{region}/backendBuckets/{backendBucket}", +"httpMethod": "DELETE", +"id": "compute.regionBackendBuckets.delete", +"parameterOrder": [ +"project", +"region", +"backendBucket" +], +"parameters": { +"backendBucket": { +"description": "Name of the BackendBucket resource to delete.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +}, +"forceDelete": { +"description": "Force delete the backend bucket even if it is still in use by other\nresources. It's intended to be used internally only for requests from\nwipeout.", +"location": "query", +"type": "boolean" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "Name of the region scoping this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).\nend_interface: MixerMutationRequestBuilder", +"location": "query", +"type": "string" +} +}, +"path": "projects/{project}/regions/{region}/backendBuckets/{backendBucket}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"get": { +"description": "Returns the specified regional BackendBucket resource.", +"flatPath": "projects/{project}/regions/{region}/backendBuckets/{backendBucket}", +"httpMethod": "GET", +"id": "compute.regionBackendBuckets.get", +"parameterOrder": [ +"project", +"region", +"backendBucket" +], +"parameters": { +"backendBucket": { +"description": "Name of the BackendBucket resource to return.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "Name of the region scoping this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/regions/{region}/backendBuckets/{backendBucket}", +"response": { +"$ref": "BackendBucket" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"getIamPolicy": { +"description": "Gets the access control policy for a resource. May be empty if no such\npolicy or resource exists.", +"flatPath": "projects/{project}/regions/{region}/backendBuckets/{resource}/getIamPolicy", +"httpMethod": "GET", +"id": "compute.regionBackendBuckets.getIamPolicy", +"parameterOrder": [ +"project", +"region", +"resource" +], +"parameters": { +"optionsRequestedPolicyVersion": { +"description": "Requested IAM Policy version.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "The name of the region for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +}, +"resource": { +"description": "Name or id of the resource for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/regions/{region}/backendBuckets/{resource}/getIamPolicy", +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"insert": { +"description": "Creates a RegionBackendBucket in the specified project in the given scope\nusing the parameters that are included in the request.", +"flatPath": "projects/{project}/regions/{region}/backendBuckets", +"httpMethod": "POST", +"id": "compute.regionBackendBuckets.insert", +"parameterOrder": [ +"project", +"region" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "Name of the region of this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "projects/{project}/regions/{region}/backendBuckets", +"request": { +"$ref": "BackendBucket" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"list": { +"description": "Retrieves the list of BackendBucket resources available to the specified\nproject in the given region.", +"flatPath": "projects/{project}/regions/{region}/backendBuckets", +"httpMethod": "GET", +"id": "compute.regionBackendBuckets.list", +"parameterOrder": [ +"project", +"region" +], +"parameters": { +"filter": { +"description": "A filter expression that filters resources listed in the response. Most\nCompute resources support two types of filter expressions:\nexpressions that support regular expressions and expressions that follow\nAPI improvement proposal AIP-160.\nThese two types of filter expressions cannot be mixed in one request.\n\nIf you want to use AIP-160, your expression must specify the field name, an\noperator, and the value that you want to use for filtering. The value\nmust be a string, a number, or a boolean. The operator\nmust be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.\n\nFor example, if you are filtering Compute Engine instances, you can\nexclude instances named `example-instance` by specifying\n`name != example-instance`.\n\nThe `:*` comparison can be used to test whether a key has been defined.\nFor example, to find all objects with `owner` label use:\n```\nlabels.owner:*\n```\n\nYou can also filter nested fields. For example, you could specify\n`scheduling.automaticRestart = false` to include instances only\nif they are not scheduled for automatic restarts. You can use filtering\non nested fields to filter based onresource labels.\n\nTo filter on multiple expressions, provide each separate expression within\nparentheses. For example:\n```\n(scheduling.automaticRestart = true)\n(cpuPlatform = \"Intel Skylake\")\n```\nBy default, each expression is an `AND` expression. However, you\ncan include `AND` and `OR` expressions explicitly.\nFor example:\n```\n(cpuPlatform = \"Intel Skylake\") OR\n(cpuPlatform = \"Intel Broadwell\") AND\n(scheduling.automaticRestart = true)\n```\n\nIf you want to use a regular expression, use the `eq` (equal) or `ne`\n(not equal) operator against a single un-parenthesized expression with or\nwithout quotes or against multiple parenthesized expressions. Examples:\n\n`fieldname eq unquoted literal`\n`fieldname eq 'single quoted literal'`\n`fieldname eq \"double quoted literal\"`\n`(fieldname1 eq literal) (fieldname2 ne \"literal\")`\n\nThe literal value is interpreted as a regular expression using GoogleRE2 library syntax.\nThe literal value must match the entire field.\n\nFor example, to filter for instances that do not end with name \"instance\",\nyou would use `name ne .*instance`.\n\nYou cannot combine constraints on multiple fields using regular\nexpressions.", +"location": "query", +"type": "string" +}, +"maxResults": { +"default": "500", +"description": "The maximum number of results per page that should be returned.\nIf the number of available results is larger than `maxResults`,\nCompute Engine returns a `nextPageToken` that can be used to get\nthe next page of results in subsequent list requests. Acceptable values are\n`0` to `500`, inclusive. (Default: `500`)", +"format": "uint32", +"location": "query", +"minimum": "0", +"type": "integer" +}, +"orderBy": { +"description": "Sorts list results by a certain order. By default, results\nare returned in alphanumerical order based on the resource name.\n\nYou can also sort results in descending order based on the creation\ntimestamp using `orderBy=\"creationTimestamp desc\"`. This sorts\nresults based on the `creationTimestamp` field in\nreverse chronological order (newest result first). Use this to sort\nresources like operations so that the newest operation is returned first.\n\nCurrently, only sorting by `name` or\n`creationTimestamp desc` is supported.", +"location": "query", +"type": "string" +}, +"pageToken": { +"description": "Specifies a page token to use. Set `pageToken` to the\n`nextPageToken` returned by a previous list request to get\nthe next page of results.", +"location": "query", +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "Name of the region of this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +}, +"returnPartialSuccess": { +"description": "Opt-in for partial success behavior which provides partial results in case\nof failure. The default value is false.\n\nFor example, when partial success behavior is enabled, aggregatedList for a\nsingle zone scope either returns all resources in the zone or no resources,\nwith an error code.", +"location": "query", +"type": "boolean" +} +}, +"path": "projects/{project}/regions/{region}/backendBuckets", +"response": { +"$ref": "BackendBucketList" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"listUsable": { +"description": "Retrieves a list of all usable backend buckets in the specified project in\nthe given region.", +"flatPath": "projects/{project}/regions/{region}/backendBuckets/listUsable", +"httpMethod": "GET", +"id": "compute.regionBackendBuckets.listUsable", +"parameterOrder": [ +"project", +"region" +], +"parameters": { +"filter": { +"description": "A filter expression that filters resources listed in the response. Most\nCompute resources support two types of filter expressions:\nexpressions that support regular expressions and expressions that follow\nAPI improvement proposal AIP-160.\nThese two types of filter expressions cannot be mixed in one request.\n\nIf you want to use AIP-160, your expression must specify the field name, an\noperator, and the value that you want to use for filtering. The value\nmust be a string, a number, or a boolean. The operator\nmust be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.\n\nFor example, if you are filtering Compute Engine instances, you can\nexclude instances named `example-instance` by specifying\n`name != example-instance`.\n\nThe `:*` comparison can be used to test whether a key has been defined.\nFor example, to find all objects with `owner` label use:\n```\nlabels.owner:*\n```\n\nYou can also filter nested fields. For example, you could specify\n`scheduling.automaticRestart = false` to include instances only\nif they are not scheduled for automatic restarts. You can use filtering\non nested fields to filter based onresource labels.\n\nTo filter on multiple expressions, provide each separate expression within\nparentheses. For example:\n```\n(scheduling.automaticRestart = true)\n(cpuPlatform = \"Intel Skylake\")\n```\nBy default, each expression is an `AND` expression. However, you\ncan include `AND` and `OR` expressions explicitly.\nFor example:\n```\n(cpuPlatform = \"Intel Skylake\") OR\n(cpuPlatform = \"Intel Broadwell\") AND\n(scheduling.automaticRestart = true)\n```\n\nIf you want to use a regular expression, use the `eq` (equal) or `ne`\n(not equal) operator against a single un-parenthesized expression with or\nwithout quotes or against multiple parenthesized expressions. Examples:\n\n`fieldname eq unquoted literal`\n`fieldname eq 'single quoted literal'`\n`fieldname eq \"double quoted literal\"`\n`(fieldname1 eq literal) (fieldname2 ne \"literal\")`\n\nThe literal value is interpreted as a regular expression using GoogleRE2 library syntax.\nThe literal value must match the entire field.\n\nFor example, to filter for instances that do not end with name \"instance\",\nyou would use `name ne .*instance`.\n\nYou cannot combine constraints on multiple fields using regular\nexpressions.", +"location": "query", +"type": "string" +}, +"maxResults": { +"default": "500", +"description": "The maximum number of results per page that should be returned.\nIf the number of available results is larger than `maxResults`,\nCompute Engine returns a `nextPageToken` that can be used to get\nthe next page of results in subsequent list requests. Acceptable values are\n`0` to `500`, inclusive. (Default: `500`)", +"format": "uint32", +"location": "query", +"minimum": "0", +"type": "integer" +}, +"orderBy": { +"description": "Sorts list results by a certain order. By default, results\nare returned in alphanumerical order based on the resource name.\n\nYou can also sort results in descending order based on the creation\ntimestamp using `orderBy=\"creationTimestamp desc\"`. This sorts\nresults based on the `creationTimestamp` field in\nreverse chronological order (newest result first). Use this to sort\nresources like operations so that the newest operation is returned first.\n\nCurrently, only sorting by `name` or\n`creationTimestamp desc` is supported.", +"location": "query", +"type": "string" +}, +"pageToken": { +"description": "Specifies a page token to use. Set `pageToken` to the\n`nextPageToken` returned by a previous list request to get\nthe next page of results.", +"location": "query", +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "Name of the region scoping this request.\nIt must be a string that meets the requirements in RFC1035.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +}, +"returnPartialSuccess": { +"description": "Opt-in for partial success behavior which provides partial results in case\nof failure. The default value is false.\n\nFor example, when partial success behavior is enabled, aggregatedList for a\nsingle zone scope either returns all resources in the zone or no resources,\nwith an error code.", +"location": "query", +"type": "boolean" +} +}, +"path": "projects/{project}/regions/{region}/backendBuckets/listUsable", +"response": { +"$ref": "BackendBucketListUsable" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"patch": { +"description": "Updates the specified BackendBucket resource with the data included in the\nrequest. This method supportsPATCH\nsemantics and uses theJSON merge\npatch format and processing rules.", +"flatPath": "projects/{project}/regions/{region}/backendBuckets/{backendBucket}", +"httpMethod": "PATCH", +"id": "compute.regionBackendBuckets.patch", +"parameterOrder": [ +"project", +"region", +"backendBucket" +], +"parameters": { +"backendBucket": { +"description": "Name of the BackendBucket resource to patch.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "Name of the region scoping this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).\nend_interface: MixerMutationRequestBuilder", +"location": "query", +"type": "string" +} +}, +"path": "projects/{project}/regions/{region}/backendBuckets/{backendBucket}", +"request": { +"$ref": "BackendBucket" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"setIamPolicy": { +"description": "Sets the access control policy on the specified resource.\nReplaces any existing policy.", +"flatPath": "projects/{project}/regions/{region}/backendBuckets/{resource}/setIamPolicy", +"httpMethod": "POST", +"id": "compute.regionBackendBuckets.setIamPolicy", +"parameterOrder": [ +"project", +"region", +"resource" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "The name of the region for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +}, +"resource": { +"description": "Name or id of the resource for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/regions/{region}/backendBuckets/{resource}/setIamPolicy", +"request": { +"$ref": "RegionSetPolicyRequest" +}, +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"testIamPermissions": { +"description": "Returns permissions that a caller has on the specified resource.", +"flatPath": "projects/{project}/regions/{region}/backendBuckets/{resource}/testIamPermissions", +"httpMethod": "POST", +"id": "compute.regionBackendBuckets.testIamPermissions", +"parameterOrder": [ +"project", +"region", +"resource" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "The name of the region for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +}, +"resource": { +"description": "Name or id of the resource for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/regions/{region}/backendBuckets/{resource}/testIamPermissions", +"request": { +"$ref": "TestPermissionsRequest" +}, +"response": { +"$ref": "TestPermissionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +} +} +}, +"regionBackendServices": { +"methods": { +"delete": { +"description": "Deletes the specified regional BackendService resource.", +"flatPath": "projects/{project}/regions/{region}/backendServices/{backendService}", +"httpMethod": "DELETE", +"id": "compute.regionBackendServices.delete", +"parameterOrder": [ +"project", +"region", +"backendService" +], +"parameters": { +"backendService": { +"description": "Name of the BackendService resource to delete.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "Name of the region scoping this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "projects/{project}/regions/{region}/backendServices/{backendService}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"get": { +"description": "Returns the specified regional BackendService resource.", +"flatPath": "projects/{project}/regions/{region}/backendServices/{backendService}", +"httpMethod": "GET", +"id": "compute.regionBackendServices.get", +"parameterOrder": [ +"project", +"region", +"backendService" +], +"parameters": { +"backendService": { +"description": "Name of the BackendService resource to return.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "Name of the region scoping this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/regions/{region}/backendServices/{backendService}", +"response": { +"$ref": "BackendService" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"getHealth": { +"description": "Gets the most recent health check results for this\nregional BackendService.", +"flatPath": "projects/{project}/regions/{region}/backendServices/{backendService}/getHealth", +"httpMethod": "POST", +"id": "compute.regionBackendServices.getHealth", +"parameterOrder": [ +"project", +"region", +"backendService" +], +"parameters": { +"backendService": { +"description": "Name of the BackendService resource for which to get health.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +}, +"project": { +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "Name of the region scoping this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/regions/{region}/backendServices/{backendService}/getHealth", +"request": { +"$ref": "ResourceGroupReference" +}, +"response": { +"$ref": "BackendServiceGroupHealth" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"getIamPolicy": { +"description": "Gets the access control policy for a resource. May be empty if no such\npolicy or resource exists.", +"flatPath": "projects/{project}/regions/{region}/backendServices/{resource}/getIamPolicy", +"httpMethod": "GET", +"id": "compute.regionBackendServices.getIamPolicy", +"parameterOrder": [ +"project", +"region", +"resource" +], +"parameters": { +"optionsRequestedPolicyVersion": { +"description": "Requested IAM Policy version.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "The name of the region for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +}, +"resource": { +"description": "Name or id of the resource for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/regions/{region}/backendServices/{resource}/getIamPolicy", +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"insert": { +"description": "Creates a regional BackendService resource in the specified project using\nthe data included in the request. For more information, see\nBackend services overview.", +"flatPath": "projects/{project}/regions/{region}/backendServices", +"httpMethod": "POST", +"id": "compute.regionBackendServices.insert", +"parameterOrder": [ +"project", +"region" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "Name of the region scoping this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "projects/{project}/regions/{region}/backendServices", +"request": { +"$ref": "BackendService" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"list": { +"description": "Retrieves the list of regional BackendService resources available to the\nspecified project in the given region.", +"flatPath": "projects/{project}/regions/{region}/backendServices", +"httpMethod": "GET", +"id": "compute.regionBackendServices.list", +"parameterOrder": [ +"project", +"region" +], +"parameters": { +"filter": { +"description": "A filter expression that filters resources listed in the response. Most\nCompute resources support two types of filter expressions:\nexpressions that support regular expressions and expressions that follow\nAPI improvement proposal AIP-160.\nThese two types of filter expressions cannot be mixed in one request.\n\nIf you want to use AIP-160, your expression must specify the field name, an\noperator, and the value that you want to use for filtering. The value\nmust be a string, a number, or a boolean. The operator\nmust be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.\n\nFor example, if you are filtering Compute Engine instances, you can\nexclude instances named `example-instance` by specifying\n`name != example-instance`.\n\nThe `:*` comparison can be used to test whether a key has been defined.\nFor example, to find all objects with `owner` label use:\n```\nlabels.owner:*\n```\n\nYou can also filter nested fields. For example, you could specify\n`scheduling.automaticRestart = false` to include instances only\nif they are not scheduled for automatic restarts. You can use filtering\non nested fields to filter based onresource labels.\n\nTo filter on multiple expressions, provide each separate expression within\nparentheses. For example:\n```\n(scheduling.automaticRestart = true)\n(cpuPlatform = \"Intel Skylake\")\n```\nBy default, each expression is an `AND` expression. However, you\ncan include `AND` and `OR` expressions explicitly.\nFor example:\n```\n(cpuPlatform = \"Intel Skylake\") OR\n(cpuPlatform = \"Intel Broadwell\") AND\n(scheduling.automaticRestart = true)\n```\n\nIf you want to use a regular expression, use the `eq` (equal) or `ne`\n(not equal) operator against a single un-parenthesized expression with or\nwithout quotes or against multiple parenthesized expressions. Examples:\n\n`fieldname eq unquoted literal`\n`fieldname eq 'single quoted literal'`\n`fieldname eq \"double quoted literal\"`\n`(fieldname1 eq literal) (fieldname2 ne \"literal\")`\n\nThe literal value is interpreted as a regular expression using GoogleRE2 library syntax.\nThe literal value must match the entire field.\n\nFor example, to filter for instances that do not end with name \"instance\",\nyou would use `name ne .*instance`.\n\nYou cannot combine constraints on multiple fields using regular\nexpressions.", +"location": "query", +"type": "string" +}, +"maxResults": { +"default": "500", +"description": "The maximum number of results per page that should be returned.\nIf the number of available results is larger than `maxResults`,\nCompute Engine returns a `nextPageToken` that can be used to get\nthe next page of results in subsequent list requests. Acceptable values are\n`0` to `500`, inclusive. (Default: `500`)", +"format": "uint32", +"location": "query", +"minimum": "0", +"type": "integer" +}, +"orderBy": { +"description": "Sorts list results by a certain order. By default, results\nare returned in alphanumerical order based on the resource name.\n\nYou can also sort results in descending order based on the creation\ntimestamp using `orderBy=\"creationTimestamp desc\"`. This sorts\nresults based on the `creationTimestamp` field in\nreverse chronological order (newest result first). Use this to sort\nresources like operations so that the newest operation is returned first.\n\nCurrently, only sorting by `name` or\n`creationTimestamp desc` is supported.", +"location": "query", +"type": "string" +}, +"pageToken": { +"description": "Specifies a page token to use. Set `pageToken` to the\n`nextPageToken` returned by a previous list request to get\nthe next page of results.", +"location": "query", +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "Name of the region scoping this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +}, +"returnPartialSuccess": { +"description": "Opt-in for partial success behavior which provides partial results in case\nof failure. The default value is false.\n\nFor example, when partial success behavior is enabled, aggregatedList for a\nsingle zone scope either returns all resources in the zone or no resources,\nwith an error code.", +"location": "query", +"type": "boolean" +} +}, +"path": "projects/{project}/regions/{region}/backendServices", +"response": { +"$ref": "BackendServiceList" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"listUsable": { +"description": "Retrieves a list of all usable backend services in the specified project in\nthe given region.", +"flatPath": "projects/{project}/regions/{region}/backendServices/listUsable", +"httpMethod": "GET", +"id": "compute.regionBackendServices.listUsable", +"parameterOrder": [ +"project", +"region" +], +"parameters": { +"filter": { +"description": "A filter expression that filters resources listed in the response. Most\nCompute resources support two types of filter expressions:\nexpressions that support regular expressions and expressions that follow\nAPI improvement proposal AIP-160.\nThese two types of filter expressions cannot be mixed in one request.\n\nIf you want to use AIP-160, your expression must specify the field name, an\noperator, and the value that you want to use for filtering. The value\nmust be a string, a number, or a boolean. The operator\nmust be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.\n\nFor example, if you are filtering Compute Engine instances, you can\nexclude instances named `example-instance` by specifying\n`name != example-instance`.\n\nThe `:*` comparison can be used to test whether a key has been defined.\nFor example, to find all objects with `owner` label use:\n```\nlabels.owner:*\n```\n\nYou can also filter nested fields. For example, you could specify\n`scheduling.automaticRestart = false` to include instances only\nif they are not scheduled for automatic restarts. You can use filtering\non nested fields to filter based onresource labels.\n\nTo filter on multiple expressions, provide each separate expression within\nparentheses. For example:\n```\n(scheduling.automaticRestart = true)\n(cpuPlatform = \"Intel Skylake\")\n```\nBy default, each expression is an `AND` expression. However, you\ncan include `AND` and `OR` expressions explicitly.\nFor example:\n```\n(cpuPlatform = \"Intel Skylake\") OR\n(cpuPlatform = \"Intel Broadwell\") AND\n(scheduling.automaticRestart = true)\n```\n\nIf you want to use a regular expression, use the `eq` (equal) or `ne`\n(not equal) operator against a single un-parenthesized expression with or\nwithout quotes or against multiple parenthesized expressions. Examples:\n\n`fieldname eq unquoted literal`\n`fieldname eq 'single quoted literal'`\n`fieldname eq \"double quoted literal\"`\n`(fieldname1 eq literal) (fieldname2 ne \"literal\")`\n\nThe literal value is interpreted as a regular expression using GoogleRE2 library syntax.\nThe literal value must match the entire field.\n\nFor example, to filter for instances that do not end with name \"instance\",\nyou would use `name ne .*instance`.\n\nYou cannot combine constraints on multiple fields using regular\nexpressions.", +"location": "query", +"type": "string" +}, +"maxResults": { +"default": "500", +"description": "The maximum number of results per page that should be returned.\nIf the number of available results is larger than `maxResults`,\nCompute Engine returns a `nextPageToken` that can be used to get\nthe next page of results in subsequent list requests. Acceptable values are\n`0` to `500`, inclusive. (Default: `500`)", +"format": "uint32", +"location": "query", +"minimum": "0", +"type": "integer" +}, +"orderBy": { +"description": "Sorts list results by a certain order. By default, results\nare returned in alphanumerical order based on the resource name.\n\nYou can also sort results in descending order based on the creation\ntimestamp using `orderBy=\"creationTimestamp desc\"`. This sorts\nresults based on the `creationTimestamp` field in\nreverse chronological order (newest result first). Use this to sort\nresources like operations so that the newest operation is returned first.\n\nCurrently, only sorting by `name` or\n`creationTimestamp desc` is supported.", +"location": "query", +"type": "string" +}, +"pageToken": { +"description": "Specifies a page token to use. Set `pageToken` to the\n`nextPageToken` returned by a previous list request to get\nthe next page of results.", +"location": "query", +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "Name of the region scoping this request.\nIt must be a string that meets the requirements in RFC1035.", +"location": "path", +"required": true, +"type": "string" +}, +"returnPartialSuccess": { +"description": "Opt-in for partial success behavior which provides partial results in case\nof failure. The default value is false.\n\nFor example, when partial success behavior is enabled, aggregatedList for a\nsingle zone scope either returns all resources in the zone or no resources,\nwith an error code.", +"location": "query", +"type": "boolean" +} +}, +"path": "projects/{project}/regions/{region}/backendServices/listUsable", +"response": { +"$ref": "BackendServiceListUsable" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"patch": { +"description": "Updates the specified regional BackendService resource with the data\nincluded in the request. For more information, see \nUnderstanding backend services This method\nsupports PATCH semantics and uses the JSON merge\npatch format and processing rules.", +"flatPath": "projects/{project}/regions/{region}/backendServices/{backendService}", +"httpMethod": "PATCH", +"id": "compute.regionBackendServices.patch", +"parameterOrder": [ +"project", +"region", +"backendService" +], +"parameters": { +"backendService": { +"description": "Name of the BackendService resource to patch.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "Name of the region scoping this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "projects/{project}/regions/{region}/backendServices/{backendService}", +"request": { +"$ref": "BackendService" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"setIamPolicy": { +"description": "Sets the access control policy on the specified resource.\nReplaces any existing policy.", +"flatPath": "projects/{project}/regions/{region}/backendServices/{resource}/setIamPolicy", +"httpMethod": "POST", +"id": "compute.regionBackendServices.setIamPolicy", +"parameterOrder": [ +"project", +"region", +"resource" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "The name of the region for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +}, +"resource": { +"description": "Name or id of the resource for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/regions/{region}/backendServices/{resource}/setIamPolicy", +"request": { +"$ref": "RegionSetPolicyRequest" +}, +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"setSecurityPolicy": { +"description": "Sets the Google Cloud Armor security policy for the specified backend\nservice. For more information, seeGoogle\nCloud Armor Overview", +"flatPath": "projects/{project}/regions/{region}/backendServices/{backendService}/setSecurityPolicy", +"httpMethod": "POST", +"id": "compute.regionBackendServices.setSecurityPolicy", +"parameterOrder": [ +"project", +"region", +"backendService" +], +"parameters": { +"backendService": { +"description": "Name of the BackendService resource to which the security policy should be\nset. The name should conform to RFC1035.", +"location": "path", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "Name of the region scoping this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "projects/{project}/regions/{region}/backendServices/{backendService}/setSecurityPolicy", +"request": { +"$ref": "SecurityPolicyReference" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"testIamPermissions": { +"description": "Returns permissions that a caller has on the specified resource.", +"flatPath": "projects/{project}/regions/{region}/backendServices/{resource}/testIamPermissions", +"httpMethod": "POST", +"id": "compute.regionBackendServices.testIamPermissions", +"parameterOrder": [ +"project", +"region", +"resource" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "The name of the region for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +}, +"resource": { +"description": "Name or id of the resource for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/regions/{region}/backendServices/{resource}/testIamPermissions", +"request": { +"$ref": "TestPermissionsRequest" +}, +"response": { +"$ref": "TestPermissionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"update": { +"description": "Updates the specified regional BackendService resource with the data\nincluded in the request. For more information,\nsee \nBackend services overview.", +"flatPath": "projects/{project}/regions/{region}/backendServices/{backendService}", +"httpMethod": "PUT", +"id": "compute.regionBackendServices.update", +"parameterOrder": [ +"project", +"region", +"backendService" +], +"parameters": { +"backendService": { +"description": "Name of the BackendService resource to update.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "Name of the region scoping this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "projects/{project}/regions/{region}/backendServices/{backendService}", +"request": { +"$ref": "BackendService" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +} +} +}, +"regionCommitments": { +"methods": { +"aggregatedList": { +"description": "Retrieves an aggregated list of commitments by region.\n\nTo prevent failure, it is recommended that you set the\n`returnPartialSuccess` parameter to `true`.", +"flatPath": "projects/{project}/aggregated/commitments", +"httpMethod": "GET", +"id": "compute.regionCommitments.aggregatedList", +"parameterOrder": [ +"project" +], +"parameters": { +"filter": { +"description": "A filter expression that filters resources listed in the response. Most\nCompute resources support two types of filter expressions:\nexpressions that support regular expressions and expressions that follow\nAPI improvement proposal AIP-160.\nThese two types of filter expressions cannot be mixed in one request.\n\nIf you want to use AIP-160, your expression must specify the field name, an\noperator, and the value that you want to use for filtering. The value\nmust be a string, a number, or a boolean. The operator\nmust be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.\n\nFor example, if you are filtering Compute Engine instances, you can\nexclude instances named `example-instance` by specifying\n`name != example-instance`.\n\nThe `:*` comparison can be used to test whether a key has been defined.\nFor example, to find all objects with `owner` label use:\n```\nlabels.owner:*\n```\n\nYou can also filter nested fields. For example, you could specify\n`scheduling.automaticRestart = false` to include instances only\nif they are not scheduled for automatic restarts. You can use filtering\non nested fields to filter based onresource labels.\n\nTo filter on multiple expressions, provide each separate expression within\nparentheses. For example:\n```\n(scheduling.automaticRestart = true)\n(cpuPlatform = \"Intel Skylake\")\n```\nBy default, each expression is an `AND` expression. However, you\ncan include `AND` and `OR` expressions explicitly.\nFor example:\n```\n(cpuPlatform = \"Intel Skylake\") OR\n(cpuPlatform = \"Intel Broadwell\") AND\n(scheduling.automaticRestart = true)\n```\n\nIf you want to use a regular expression, use the `eq` (equal) or `ne`\n(not equal) operator against a single un-parenthesized expression with or\nwithout quotes or against multiple parenthesized expressions. Examples:\n\n`fieldname eq unquoted literal`\n`fieldname eq 'single quoted literal'`\n`fieldname eq \"double quoted literal\"`\n`(fieldname1 eq literal) (fieldname2 ne \"literal\")`\n\nThe literal value is interpreted as a regular expression using GoogleRE2 library syntax.\nThe literal value must match the entire field.\n\nFor example, to filter for instances that do not end with name \"instance\",\nyou would use `name ne .*instance`.\n\nYou cannot combine constraints on multiple fields using regular\nexpressions.", +"location": "query", +"type": "string" +}, +"includeAllScopes": { +"description": "Indicates whether every visible scope for each scope type (zone, region,\nglobal) should be included in the response. For new resource types added\nafter this field, the flag has no effect as new resource types will always\ninclude every visible scope for each scope type in response. For resource\ntypes which predate this field, if this flag is omitted or false, only\nscopes of the scope types where the resource type is expected to be found\nwill be included.", +"location": "query", +"type": "boolean" +}, +"maxResults": { +"default": "500", +"description": "The maximum number of results per page that should be returned.\nIf the number of available results is larger than `maxResults`,\nCompute Engine returns a `nextPageToken` that can be used to get\nthe next page of results in subsequent list requests. Acceptable values are\n`0` to `500`, inclusive. (Default: `500`)", +"format": "uint32", +"location": "query", +"minimum": "0", +"type": "integer" +}, +"orderBy": { +"description": "Sorts list results by a certain order. By default, results\nare returned in alphanumerical order based on the resource name.\n\nYou can also sort results in descending order based on the creation\ntimestamp using `orderBy=\"creationTimestamp desc\"`. This sorts\nresults based on the `creationTimestamp` field in\nreverse chronological order (newest result first). Use this to sort\nresources like operations so that the newest operation is returned first.\n\nCurrently, only sorting by `name` or\n`creationTimestamp desc` is supported.", +"location": "query", +"type": "string" +}, +"pageToken": { +"description": "Specifies a page token to use. Set `pageToken` to the\n`nextPageToken` returned by a previous list request to get\nthe next page of results.", +"location": "query", +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"returnPartialSuccess": { +"description": "Opt-in for partial success behavior which provides partial results in case\nof failure. The default value is false.\n\nFor example, when partial success behavior is enabled, aggregatedList for a\nsingle zone scope either returns all resources in the zone or no resources,\nwith an error code.", +"location": "query", +"type": "boolean" +}, +"serviceProjectNumber": { +"description": "The Shared VPC service project id or service project number for which\naggregated list request is invoked for subnetworks list-usable api.", +"format": "int64", +"location": "query", +"type": "string" +} +}, +"path": "projects/{project}/aggregated/commitments", +"response": { +"$ref": "CommitmentAggregatedList" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"get": { +"description": "Returns the specified commitment resource.", +"flatPath": "projects/{project}/regions/{region}/commitments/{commitment}", +"httpMethod": "GET", +"id": "compute.regionCommitments.get", +"parameterOrder": [ +"project", +"region", +"commitment" +], +"parameters": { +"commitment": { +"description": "Name of the commitment to return.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "Name of the region for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/regions/{region}/commitments/{commitment}", +"response": { +"$ref": "Commitment" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"insert": { +"description": "Creates a commitment in the specified project using the data\nincluded in the request.", +"flatPath": "projects/{project}/regions/{region}/commitments", +"httpMethod": "POST", +"id": "compute.regionCommitments.insert", +"parameterOrder": [ +"project", +"region" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "Name of the region for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "projects/{project}/regions/{region}/commitments", +"request": { +"$ref": "Commitment" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"list": { +"description": "Retrieves a list of commitments contained within\nthe specified region.", +"flatPath": "projects/{project}/regions/{region}/commitments", +"httpMethod": "GET", +"id": "compute.regionCommitments.list", +"parameterOrder": [ +"project", +"region" +], +"parameters": { +"filter": { +"description": "A filter expression that filters resources listed in the response. Most\nCompute resources support two types of filter expressions:\nexpressions that support regular expressions and expressions that follow\nAPI improvement proposal AIP-160.\nThese two types of filter expressions cannot be mixed in one request.\n\nIf you want to use AIP-160, your expression must specify the field name, an\noperator, and the value that you want to use for filtering. The value\nmust be a string, a number, or a boolean. The operator\nmust be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.\n\nFor example, if you are filtering Compute Engine instances, you can\nexclude instances named `example-instance` by specifying\n`name != example-instance`.\n\nThe `:*` comparison can be used to test whether a key has been defined.\nFor example, to find all objects with `owner` label use:\n```\nlabels.owner:*\n```\n\nYou can also filter nested fields. For example, you could specify\n`scheduling.automaticRestart = false` to include instances only\nif they are not scheduled for automatic restarts. You can use filtering\non nested fields to filter based onresource labels.\n\nTo filter on multiple expressions, provide each separate expression within\nparentheses. For example:\n```\n(scheduling.automaticRestart = true)\n(cpuPlatform = \"Intel Skylake\")\n```\nBy default, each expression is an `AND` expression. However, you\ncan include `AND` and `OR` expressions explicitly.\nFor example:\n```\n(cpuPlatform = \"Intel Skylake\") OR\n(cpuPlatform = \"Intel Broadwell\") AND\n(scheduling.automaticRestart = true)\n```\n\nIf you want to use a regular expression, use the `eq` (equal) or `ne`\n(not equal) operator against a single un-parenthesized expression with or\nwithout quotes or against multiple parenthesized expressions. Examples:\n\n`fieldname eq unquoted literal`\n`fieldname eq 'single quoted literal'`\n`fieldname eq \"double quoted literal\"`\n`(fieldname1 eq literal) (fieldname2 ne \"literal\")`\n\nThe literal value is interpreted as a regular expression using GoogleRE2 library syntax.\nThe literal value must match the entire field.\n\nFor example, to filter for instances that do not end with name \"instance\",\nyou would use `name ne .*instance`.\n\nYou cannot combine constraints on multiple fields using regular\nexpressions.", +"location": "query", +"type": "string" +}, +"maxResults": { +"default": "500", +"description": "The maximum number of results per page that should be returned.\nIf the number of available results is larger than `maxResults`,\nCompute Engine returns a `nextPageToken` that can be used to get\nthe next page of results in subsequent list requests. Acceptable values are\n`0` to `500`, inclusive. (Default: `500`)", +"format": "uint32", +"location": "query", +"minimum": "0", +"type": "integer" +}, +"orderBy": { +"description": "Sorts list results by a certain order. By default, results\nare returned in alphanumerical order based on the resource name.\n\nYou can also sort results in descending order based on the creation\ntimestamp using `orderBy=\"creationTimestamp desc\"`. This sorts\nresults based on the `creationTimestamp` field in\nreverse chronological order (newest result first). Use this to sort\nresources like operations so that the newest operation is returned first.\n\nCurrently, only sorting by `name` or\n`creationTimestamp desc` is supported.", +"location": "query", +"type": "string" +}, +"pageToken": { +"description": "Specifies a page token to use. Set `pageToken` to the\n`nextPageToken` returned by a previous list request to get\nthe next page of results.", +"location": "query", +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "Name of the region for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +}, +"returnPartialSuccess": { +"description": "Opt-in for partial success behavior which provides partial results in case\nof failure. The default value is false.\n\nFor example, when partial success behavior is enabled, aggregatedList for a\nsingle zone scope either returns all resources in the zone or no resources,\nwith an error code.", +"location": "query", +"type": "boolean" +} +}, +"path": "projects/{project}/regions/{region}/commitments", +"response": { +"$ref": "CommitmentList" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"testIamPermissions": { +"description": "Returns permissions that a caller has on the specified resource.", +"flatPath": "projects/{project}/regions/{region}/commitments/{resource}/testIamPermissions", +"httpMethod": "POST", +"id": "compute.regionCommitments.testIamPermissions", +"parameterOrder": [ +"project", +"region", +"resource" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "The name of the region for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +}, +"resource": { +"description": "Name or id of the resource for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/regions/{region}/commitments/{resource}/testIamPermissions", +"request": { +"$ref": "TestPermissionsRequest" +}, +"response": { +"$ref": "TestPermissionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"update": { +"description": "Updates the specified commitment with the data included in the request.\nUpdate is performed only on selected fields included as part of\nupdate-mask. Only the following fields can be updated: auto_renew and plan.", +"flatPath": "projects/{project}/regions/{region}/commitments/{commitment}", +"httpMethod": "PATCH", +"id": "compute.regionCommitments.update", +"parameterOrder": [ +"project", +"region", +"commitment" +], +"parameters": { +"commitment": { +"description": "Name of the commitment that you want to update.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +}, +"paths": { +"location": "query", +"repeated": true, +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "Name of the region for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"updateMask": { +"description": "update_mask indicates fields to be updated as part of this request.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "projects/{project}/regions/{region}/commitments/{commitment}", +"request": { +"$ref": "Commitment" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"updateReservations": { +"description": "Transfers GPUs or Local SSD disks between reservations that are attached\nto the same commitment.", +"flatPath": "projects/{project}/regions/{region}/commitments/{commitment}/updateReservations", +"httpMethod": "POST", +"id": "compute.regionCommitments.updateReservations", +"parameterOrder": [ +"project", +"region", +"commitment" +], +"parameters": { +"commitment": { +"description": "Name of the commitment for which the reservations are being updated.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "Name of the region for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "projects/{project}/regions/{region}/commitments/{commitment}/updateReservations", +"request": { +"$ref": "RegionCommitmentsUpdateReservationsRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +} +} +}, +"regionCompositeHealthChecks": { +"methods": { +"aggregatedList": { +"description": "Retrieves the list of all CompositeHealthCheck resources (all\nregional) available to the specified project.\n\nTo prevent failure, it is recommended that you set the\n`returnPartialSuccess` parameter to `true`.", +"flatPath": "projects/{project}/aggregated/compositeHealthChecks", +"httpMethod": "GET", +"id": "compute.regionCompositeHealthChecks.aggregatedList", +"parameterOrder": [ +"project" +], +"parameters": { +"filter": { +"description": "A filter expression that filters resources listed in the response. Most\nCompute resources support two types of filter expressions:\nexpressions that support regular expressions and expressions that follow\nAPI improvement proposal AIP-160.\nThese two types of filter expressions cannot be mixed in one request.\n\nIf you want to use AIP-160, your expression must specify the field name, an\noperator, and the value that you want to use for filtering. The value\nmust be a string, a number, or a boolean. The operator\nmust be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.\n\nFor example, if you are filtering Compute Engine instances, you can\nexclude instances named `example-instance` by specifying\n`name != example-instance`.\n\nThe `:*` comparison can be used to test whether a key has been defined.\nFor example, to find all objects with `owner` label use:\n```\nlabels.owner:*\n```\n\nYou can also filter nested fields. For example, you could specify\n`scheduling.automaticRestart = false` to include instances only\nif they are not scheduled for automatic restarts. You can use filtering\non nested fields to filter based onresource labels.\n\nTo filter on multiple expressions, provide each separate expression within\nparentheses. For example:\n```\n(scheduling.automaticRestart = true)\n(cpuPlatform = \"Intel Skylake\")\n```\nBy default, each expression is an `AND` expression. However, you\ncan include `AND` and `OR` expressions explicitly.\nFor example:\n```\n(cpuPlatform = \"Intel Skylake\") OR\n(cpuPlatform = \"Intel Broadwell\") AND\n(scheduling.automaticRestart = true)\n```\n\nIf you want to use a regular expression, use the `eq` (equal) or `ne`\n(not equal) operator against a single un-parenthesized expression with or\nwithout quotes or against multiple parenthesized expressions. Examples:\n\n`fieldname eq unquoted literal`\n`fieldname eq 'single quoted literal'`\n`fieldname eq \"double quoted literal\"`\n`(fieldname1 eq literal) (fieldname2 ne \"literal\")`\n\nThe literal value is interpreted as a regular expression using GoogleRE2 library syntax.\nThe literal value must match the entire field.\n\nFor example, to filter for instances that do not end with name \"instance\",\nyou would use `name ne .*instance`.\n\nYou cannot combine constraints on multiple fields using regular\nexpressions.", +"location": "query", +"type": "string" +}, +"includeAllScopes": { +"description": "Indicates whether every visible scope for each scope type (zone, region,\nglobal) should be included in the response. For new resource types added\nafter this field, the flag has no effect as new resource types will always\ninclude every visible scope for each scope type in response. For resource\ntypes which predate this field, if this flag is omitted or false, only\nscopes of the scope types where the resource type is expected to be found\nwill be included.", +"location": "query", +"type": "boolean" +}, +"maxResults": { +"default": "500", +"description": "The maximum number of results per page that should be returned.\nIf the number of available results is larger than `maxResults`,\nCompute Engine returns a `nextPageToken` that can be used to get\nthe next page of results in subsequent list requests. Acceptable values are\n`0` to `500`, inclusive. (Default: `500`)", +"format": "uint32", +"location": "query", +"minimum": "0", +"type": "integer" +}, +"orderBy": { +"description": "Sorts list results by a certain order. By default, results\nare returned in alphanumerical order based on the resource name.\n\nYou can also sort results in descending order based on the creation\ntimestamp using `orderBy=\"creationTimestamp desc\"`. This sorts\nresults based on the `creationTimestamp` field in\nreverse chronological order (newest result first). Use this to sort\nresources like operations so that the newest operation is returned first.\n\nCurrently, only sorting by `name` or\n`creationTimestamp desc` is supported.", +"location": "query", +"type": "string" +}, +"pageToken": { +"description": "Specifies a page token to use. Set `pageToken` to the\n`nextPageToken` returned by a previous list request to get\nthe next page of results.", +"location": "query", +"type": "string" +}, +"project": { +"description": "Name of the project scoping this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"returnPartialSuccess": { +"description": "Opt-in for partial success behavior which provides partial results in case\nof failure. The default value is false.\n\nFor example, when partial success behavior is enabled, aggregatedList for a\nsingle zone scope either returns all resources in the zone or no resources,\nwith an error code.", +"location": "query", +"type": "boolean" +}, +"serviceProjectNumber": { +"description": "The Shared VPC service project id or service project number for which\naggregated list request is invoked for subnetworks list-usable api.", +"format": "int64", +"location": "query", +"type": "string" +} +}, +"path": "projects/{project}/aggregated/compositeHealthChecks", +"response": { +"$ref": "CompositeHealthCheckAggregatedList" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"delete": { +"description": "Deletes the specified CompositeHealthCheck in the given region", +"flatPath": "projects/{project}/regions/{region}/compositeHealthChecks/{compositeHealthCheck}", +"httpMethod": "DELETE", +"id": "compute.regionCompositeHealthChecks.delete", +"parameterOrder": [ +"project", +"region", +"compositeHealthCheck" +], +"parameters": { +"compositeHealthCheck": { +"description": "Name of the CompositeHealthCheck resource to delete.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "Name of the region scoping this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "projects/{project}/regions/{region}/compositeHealthChecks/{compositeHealthCheck}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"get": { +"description": "Returns the specified CompositeHealthCheck resource in the given region.", +"flatPath": "projects/{project}/regions/{region}/compositeHealthChecks/{compositeHealthCheck}", +"httpMethod": "GET", +"id": "compute.regionCompositeHealthChecks.get", +"parameterOrder": [ +"project", +"region", +"compositeHealthCheck" +], +"parameters": { +"compositeHealthCheck": { +"description": "Name of the CompositeHealthCheck resource to return.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "Name of the region scoping this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/regions/{region}/compositeHealthChecks/{compositeHealthCheck}", +"response": { +"$ref": "CompositeHealthCheck" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"insert": { +"description": "Create a CompositeHealthCheck in the specified project in the given region\nusing the parameters that are included in the request.", +"flatPath": "projects/{project}/regions/{region}/compositeHealthChecks", +"httpMethod": "POST", +"id": "compute.regionCompositeHealthChecks.insert", +"parameterOrder": [ +"project", +"region" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "Name of the region scoping this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "projects/{project}/regions/{region}/compositeHealthChecks", +"request": { +"$ref": "CompositeHealthCheck" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"list": { +"description": "Lists the CompositeHealthChecks for a project in the given region.", +"flatPath": "projects/{project}/regions/{region}/compositeHealthChecks", +"httpMethod": "GET", +"id": "compute.regionCompositeHealthChecks.list", +"parameterOrder": [ +"project", +"region" +], +"parameters": { +"filter": { +"description": "A filter expression that filters resources listed in the response. Most\nCompute resources support two types of filter expressions:\nexpressions that support regular expressions and expressions that follow\nAPI improvement proposal AIP-160.\nThese two types of filter expressions cannot be mixed in one request.\n\nIf you want to use AIP-160, your expression must specify the field name, an\noperator, and the value that you want to use for filtering. The value\nmust be a string, a number, or a boolean. The operator\nmust be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.\n\nFor example, if you are filtering Compute Engine instances, you can\nexclude instances named `example-instance` by specifying\n`name != example-instance`.\n\nThe `:*` comparison can be used to test whether a key has been defined.\nFor example, to find all objects with `owner` label use:\n```\nlabels.owner:*\n```\n\nYou can also filter nested fields. For example, you could specify\n`scheduling.automaticRestart = false` to include instances only\nif they are not scheduled for automatic restarts. You can use filtering\non nested fields to filter based onresource labels.\n\nTo filter on multiple expressions, provide each separate expression within\nparentheses. For example:\n```\n(scheduling.automaticRestart = true)\n(cpuPlatform = \"Intel Skylake\")\n```\nBy default, each expression is an `AND` expression. However, you\ncan include `AND` and `OR` expressions explicitly.\nFor example:\n```\n(cpuPlatform = \"Intel Skylake\") OR\n(cpuPlatform = \"Intel Broadwell\") AND\n(scheduling.automaticRestart = true)\n```\n\nIf you want to use a regular expression, use the `eq` (equal) or `ne`\n(not equal) operator against a single un-parenthesized expression with or\nwithout quotes or against multiple parenthesized expressions. Examples:\n\n`fieldname eq unquoted literal`\n`fieldname eq 'single quoted literal'`\n`fieldname eq \"double quoted literal\"`\n`(fieldname1 eq literal) (fieldname2 ne \"literal\")`\n\nThe literal value is interpreted as a regular expression using GoogleRE2 library syntax.\nThe literal value must match the entire field.\n\nFor example, to filter for instances that do not end with name \"instance\",\nyou would use `name ne .*instance`.\n\nYou cannot combine constraints on multiple fields using regular\nexpressions.", +"location": "query", +"type": "string" +}, +"maxResults": { +"default": "500", +"description": "The maximum number of results per page that should be returned.\nIf the number of available results is larger than `maxResults`,\nCompute Engine returns a `nextPageToken` that can be used to get\nthe next page of results in subsequent list requests. Acceptable values are\n`0` to `500`, inclusive. (Default: `500`)", +"format": "uint32", +"location": "query", +"minimum": "0", +"type": "integer" +}, +"orderBy": { +"description": "Sorts list results by a certain order. By default, results\nare returned in alphanumerical order based on the resource name.\n\nYou can also sort results in descending order based on the creation\ntimestamp using `orderBy=\"creationTimestamp desc\"`. This sorts\nresults based on the `creationTimestamp` field in\nreverse chronological order (newest result first). Use this to sort\nresources like operations so that the newest operation is returned first.\n\nCurrently, only sorting by `name` or\n`creationTimestamp desc` is supported.", +"location": "query", +"type": "string" +}, +"pageToken": { +"description": "Specifies a page token to use. Set `pageToken` to the\n`nextPageToken` returned by a previous list request to get\nthe next page of results.", +"location": "query", +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "Name of the region scoping this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +}, +"returnPartialSuccess": { +"description": "Opt-in for partial success behavior which provides partial results in case\nof failure. The default value is false.\n\nFor example, when partial success behavior is enabled, aggregatedList for a\nsingle zone scope either returns all resources in the zone or no resources,\nwith an error code.", +"location": "query", +"type": "boolean" +} +}, +"path": "projects/{project}/regions/{region}/compositeHealthChecks", +"response": { +"$ref": "CompositeHealthCheckList" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"patch": { +"description": "Updates the specified regional CompositeHealthCheck resource\nwith the data included in the request. This method supportsPATCH\nsemantics and uses theJSON merge\npatch format and processing rules.", +"flatPath": "projects/{project}/regions/{region}/compositeHealthChecks/{compositeHealthCheck}", +"httpMethod": "PATCH", +"id": "compute.regionCompositeHealthChecks.patch", +"parameterOrder": [ +"project", +"region", +"compositeHealthCheck" +], +"parameters": { +"compositeHealthCheck": { +"description": "Name of the CompositeHealthCheck to update. The name\nmust be 1-63 characters long, and comply with RFC1035.", +"location": "path", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "Name of the region scoping this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "projects/{project}/regions/{region}/compositeHealthChecks/{compositeHealthCheck}", +"request": { +"$ref": "CompositeHealthCheck" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"testIamPermissions": { +"description": "Returns permissions that a caller has on the specified resource.", +"flatPath": "projects/{project}/regions/{region}/compositeHealthChecks/{resource}/testIamPermissions", +"httpMethod": "POST", +"id": "compute.regionCompositeHealthChecks.testIamPermissions", +"parameterOrder": [ +"project", +"region", +"resource" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "The name of the region for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +}, +"resource": { +"description": "Name or id of the resource for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/regions/{region}/compositeHealthChecks/{resource}/testIamPermissions", +"request": { +"$ref": "TestPermissionsRequest" +}, +"response": { +"$ref": "TestPermissionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +} +} +}, +"regionDiskSettings": { +"methods": { +"get": { +"description": "Get Regional Disk Settings.", +"flatPath": "projects/{project}/regions/{region}/diskSettings", +"httpMethod": "GET", +"id": "compute.regionDiskSettings.get", +"parameterOrder": [ +"project", +"region" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "Name of the region for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/regions/{region}/diskSettings", +"response": { +"$ref": "DiskSettings" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"patch": { +"description": "Patch Regional Disk Settings", +"flatPath": "projects/{project}/regions/{region}/diskSettings", +"httpMethod": "PATCH", +"id": "compute.regionDiskSettings.patch", +"parameterOrder": [ +"project", +"region" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "Name of the region for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"updateMask": { +"description": "update_mask indicates fields to be updated as part of this request.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "projects/{project}/regions/{region}/diskSettings", +"request": { +"$ref": "DiskSettings" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +} +} +}, +"regionDiskTypes": { +"methods": { +"get": { +"description": "Returns the specified regional disk type.", +"flatPath": "projects/{project}/regions/{region}/diskTypes/{diskType}", +"httpMethod": "GET", +"id": "compute.regionDiskTypes.get", +"parameterOrder": [ +"project", +"region", +"diskType" +], +"parameters": { +"diskType": { +"description": "Name of the disk type to return.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "The name of the region for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/regions/{region}/diskTypes/{diskType}", +"response": { +"$ref": "DiskType" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"list": { +"description": "Retrieves a list of regional disk types available to the specified project.", +"flatPath": "projects/{project}/regions/{region}/diskTypes", +"httpMethod": "GET", +"id": "compute.regionDiskTypes.list", +"parameterOrder": [ +"project", +"region" +], +"parameters": { +"filter": { +"description": "A filter expression that filters resources listed in the response. Most\nCompute resources support two types of filter expressions:\nexpressions that support regular expressions and expressions that follow\nAPI improvement proposal AIP-160.\nThese two types of filter expressions cannot be mixed in one request.\n\nIf you want to use AIP-160, your expression must specify the field name, an\noperator, and the value that you want to use for filtering. The value\nmust be a string, a number, or a boolean. The operator\nmust be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.\n\nFor example, if you are filtering Compute Engine instances, you can\nexclude instances named `example-instance` by specifying\n`name != example-instance`.\n\nThe `:*` comparison can be used to test whether a key has been defined.\nFor example, to find all objects with `owner` label use:\n```\nlabels.owner:*\n```\n\nYou can also filter nested fields. For example, you could specify\n`scheduling.automaticRestart = false` to include instances only\nif they are not scheduled for automatic restarts. You can use filtering\non nested fields to filter based onresource labels.\n\nTo filter on multiple expressions, provide each separate expression within\nparentheses. For example:\n```\n(scheduling.automaticRestart = true)\n(cpuPlatform = \"Intel Skylake\")\n```\nBy default, each expression is an `AND` expression. However, you\ncan include `AND` and `OR` expressions explicitly.\nFor example:\n```\n(cpuPlatform = \"Intel Skylake\") OR\n(cpuPlatform = \"Intel Broadwell\") AND\n(scheduling.automaticRestart = true)\n```\n\nIf you want to use a regular expression, use the `eq` (equal) or `ne`\n(not equal) operator against a single un-parenthesized expression with or\nwithout quotes or against multiple parenthesized expressions. Examples:\n\n`fieldname eq unquoted literal`\n`fieldname eq 'single quoted literal'`\n`fieldname eq \"double quoted literal\"`\n`(fieldname1 eq literal) (fieldname2 ne \"literal\")`\n\nThe literal value is interpreted as a regular expression using GoogleRE2 library syntax.\nThe literal value must match the entire field.\n\nFor example, to filter for instances that do not end with name \"instance\",\nyou would use `name ne .*instance`.\n\nYou cannot combine constraints on multiple fields using regular\nexpressions.", +"location": "query", +"type": "string" +}, +"maxResults": { +"default": "500", +"description": "The maximum number of results per page that should be returned.\nIf the number of available results is larger than `maxResults`,\nCompute Engine returns a `nextPageToken` that can be used to get\nthe next page of results in subsequent list requests. Acceptable values are\n`0` to `500`, inclusive. (Default: `500`)", +"format": "uint32", +"location": "query", +"minimum": "0", +"type": "integer" +}, +"orderBy": { +"description": "Sorts list results by a certain order. By default, results\nare returned in alphanumerical order based on the resource name.\n\nYou can also sort results in descending order based on the creation\ntimestamp using `orderBy=\"creationTimestamp desc\"`. This sorts\nresults based on the `creationTimestamp` field in\nreverse chronological order (newest result first). Use this to sort\nresources like operations so that the newest operation is returned first.\n\nCurrently, only sorting by `name` or\n`creationTimestamp desc` is supported.", +"location": "query", +"type": "string" +}, +"pageToken": { +"description": "Specifies a page token to use. Set `pageToken` to the\n`nextPageToken` returned by a previous list request to get\nthe next page of results.", +"location": "query", +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "The name of the region for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +}, +"returnPartialSuccess": { +"description": "Opt-in for partial success behavior which provides partial results in case\nof failure. The default value is false.\n\nFor example, when partial success behavior is enabled, aggregatedList for a\nsingle zone scope either returns all resources in the zone or no resources,\nwith an error code.", +"location": "query", +"type": "boolean" +} +}, +"path": "projects/{project}/regions/{region}/diskTypes", +"response": { +"$ref": "RegionDiskTypeList" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +} +} +}, +"regionDisks": { +"methods": { +"addResourcePolicies": { +"description": "Adds existing resource policies to a regional disk. You can only add one\npolicy which will be applied to this disk for scheduling snapshot\ncreation.", +"flatPath": "projects/{project}/regions/{region}/disks/{disk}/addResourcePolicies", +"httpMethod": "POST", +"id": "compute.regionDisks.addResourcePolicies", +"parameterOrder": [ +"project", +"region", +"disk" +], +"parameters": { +"disk": { +"description": "The disk name for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "The name of the region for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "projects/{project}/regions/{region}/disks/{disk}/addResourcePolicies", +"request": { +"$ref": "RegionDisksAddResourcePoliciesRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"bulkInsert": { +"description": "Bulk create a set of disks.", +"flatPath": "projects/{project}/regions/{region}/disks/bulkInsert", +"httpMethod": "POST", +"id": "compute.regionDisks.bulkInsert", +"parameterOrder": [ +"project", +"region" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "The name of the region for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "projects/{project}/regions/{region}/disks/bulkInsert", +"request": { +"$ref": "BulkInsertDiskResource" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"createSnapshot": { +"description": "Creates a snapshot of a specified persistent disk. For regular snapshot\ncreation, consider using snapshots.insert\ninstead, as that method supports more features, such as creating snapshots\nin a project different from the source disk project.", +"flatPath": "projects/{project}/regions/{region}/disks/{disk}/createSnapshot", +"httpMethod": "POST", +"id": "compute.regionDisks.createSnapshot", +"parameterOrder": [ +"project", +"region", +"disk" +], +"parameters": { +"disk": { +"description": "Name of the regional persistent disk to snapshot.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "Name of the region for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "projects/{project}/regions/{region}/disks/{disk}/createSnapshot", +"request": { +"$ref": "Snapshot" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"delete": { +"description": "Deletes the specified regional persistent disk. Deleting a regional disk\nremoves all the replicas of its data permanently and is irreversible.\nHowever, deleting a disk does not delete anysnapshots\npreviously made from the disk. You must separatelydelete\nsnapshots.", +"flatPath": "projects/{project}/regions/{region}/disks/{disk}", +"httpMethod": "DELETE", +"id": "compute.regionDisks.delete", +"parameterOrder": [ +"project", +"region", +"disk" +], +"parameters": { +"disk": { +"description": "Name of the regional persistent disk to delete.", +"location": "path", +"pattern": "\\S{1,66}", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "Name of the region for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "projects/{project}/regions/{region}/disks/{disk}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"get": { +"description": "Returns a specified regional persistent disk.", +"flatPath": "projects/{project}/regions/{region}/disks/{disk}", +"httpMethod": "GET", +"id": "compute.regionDisks.get", +"parameterOrder": [ +"project", +"region", +"disk" +], +"parameters": { +"disk": { +"description": "Name of the regional persistent disk to return.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "Name of the region for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/regions/{region}/disks/{disk}", +"response": { +"$ref": "Disk" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"getIamPolicy": { +"description": "Gets the access control policy for a resource. May be empty if no such\npolicy or resource exists.", +"flatPath": "projects/{project}/regions/{region}/disks/{resource}/getIamPolicy", +"httpMethod": "GET", +"id": "compute.regionDisks.getIamPolicy", +"parameterOrder": [ +"project", +"region", +"resource" +], +"parameters": { +"optionsRequestedPolicyVersion": { +"description": "Requested IAM Policy version.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "The name of the region for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +}, +"resource": { +"description": "Name or id of the resource for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/regions/{region}/disks/{resource}/getIamPolicy", +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"insert": { +"description": "Creates a persistent regional disk in the specified project using the data\nincluded in the request.", +"flatPath": "projects/{project}/regions/{region}/disks", +"httpMethod": "POST", +"id": "compute.regionDisks.insert", +"parameterOrder": [ +"project", +"region" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "Name of the region for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"sourceImage": { +"description": "Source image to restore onto a disk. This field is optional.", +"location": "query", +"type": "string" +} +}, +"path": "projects/{project}/regions/{region}/disks", +"request": { +"$ref": "Disk" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"list": { +"description": "Retrieves the list of persistent disks contained within\nthe specified region.", +"flatPath": "projects/{project}/regions/{region}/disks", +"httpMethod": "GET", +"id": "compute.regionDisks.list", +"parameterOrder": [ +"project", +"region" +], +"parameters": { +"filter": { +"description": "A filter expression that filters resources listed in the response. Most\nCompute resources support two types of filter expressions:\nexpressions that support regular expressions and expressions that follow\nAPI improvement proposal AIP-160.\nThese two types of filter expressions cannot be mixed in one request.\n\nIf you want to use AIP-160, your expression must specify the field name, an\noperator, and the value that you want to use for filtering. The value\nmust be a string, a number, or a boolean. The operator\nmust be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.\n\nFor example, if you are filtering Compute Engine instances, you can\nexclude instances named `example-instance` by specifying\n`name != example-instance`.\n\nThe `:*` comparison can be used to test whether a key has been defined.\nFor example, to find all objects with `owner` label use:\n```\nlabels.owner:*\n```\n\nYou can also filter nested fields. For example, you could specify\n`scheduling.automaticRestart = false` to include instances only\nif they are not scheduled for automatic restarts. You can use filtering\non nested fields to filter based onresource labels.\n\nTo filter on multiple expressions, provide each separate expression within\nparentheses. For example:\n```\n(scheduling.automaticRestart = true)\n(cpuPlatform = \"Intel Skylake\")\n```\nBy default, each expression is an `AND` expression. However, you\ncan include `AND` and `OR` expressions explicitly.\nFor example:\n```\n(cpuPlatform = \"Intel Skylake\") OR\n(cpuPlatform = \"Intel Broadwell\") AND\n(scheduling.automaticRestart = true)\n```\n\nIf you want to use a regular expression, use the `eq` (equal) or `ne`\n(not equal) operator against a single un-parenthesized expression with or\nwithout quotes or against multiple parenthesized expressions. Examples:\n\n`fieldname eq unquoted literal`\n`fieldname eq 'single quoted literal'`\n`fieldname eq \"double quoted literal\"`\n`(fieldname1 eq literal) (fieldname2 ne \"literal\")`\n\nThe literal value is interpreted as a regular expression using GoogleRE2 library syntax.\nThe literal value must match the entire field.\n\nFor example, to filter for instances that do not end with name \"instance\",\nyou would use `name ne .*instance`.\n\nYou cannot combine constraints on multiple fields using regular\nexpressions.", +"location": "query", +"type": "string" +}, +"maxResults": { +"default": "500", +"description": "The maximum number of results per page that should be returned.\nIf the number of available results is larger than `maxResults`,\nCompute Engine returns a `nextPageToken` that can be used to get\nthe next page of results in subsequent list requests. Acceptable values are\n`0` to `500`, inclusive. (Default: `500`)", +"format": "uint32", +"location": "query", +"minimum": "0", +"type": "integer" +}, +"orderBy": { +"description": "Sorts list results by a certain order. By default, results\nare returned in alphanumerical order based on the resource name.\n\nYou can also sort results in descending order based on the creation\ntimestamp using `orderBy=\"creationTimestamp desc\"`. This sorts\nresults based on the `creationTimestamp` field in\nreverse chronological order (newest result first). Use this to sort\nresources like operations so that the newest operation is returned first.\n\nCurrently, only sorting by `name` or\n`creationTimestamp desc` is supported.", +"location": "query", +"type": "string" +}, +"pageToken": { +"description": "Specifies a page token to use. Set `pageToken` to the\n`nextPageToken` returned by a previous list request to get\nthe next page of results.", +"location": "query", +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "Name of the region for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +}, +"returnPartialSuccess": { +"description": "Opt-in for partial success behavior which provides partial results in case\nof failure. The default value is false.\n\nFor example, when partial success behavior is enabled, aggregatedList for a\nsingle zone scope either returns all resources in the zone or no resources,\nwith an error code.", +"location": "query", +"type": "boolean" +} +}, +"path": "projects/{project}/regions/{region}/disks", +"response": { +"$ref": "DiskList" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"removeResourcePolicies": { +"description": "Removes resource policies from a regional disk.", +"flatPath": "projects/{project}/regions/{region}/disks/{disk}/removeResourcePolicies", +"httpMethod": "POST", +"id": "compute.regionDisks.removeResourcePolicies", +"parameterOrder": [ +"project", +"region", +"disk" +], +"parameters": { +"disk": { +"description": "The disk name for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "The name of the region for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "projects/{project}/regions/{region}/disks/{disk}/removeResourcePolicies", +"request": { +"$ref": "RegionDisksRemoveResourcePoliciesRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"resize": { +"description": "Resizes the specified regional persistent disk.", +"flatPath": "projects/{project}/regions/{region}/disks/{disk}/resize", +"httpMethod": "POST", +"id": "compute.regionDisks.resize", +"parameterOrder": [ +"project", +"region", +"disk" +], +"parameters": { +"disk": { +"description": "Name of the regional persistent disk.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +}, +"project": { +"description": "The project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "Name of the region for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "projects/{project}/regions/{region}/disks/{disk}/resize", +"request": { +"$ref": "RegionDisksResizeRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"setIamPolicy": { +"description": "Sets the access control policy on the specified resource.\nReplaces any existing policy.", +"flatPath": "projects/{project}/regions/{region}/disks/{resource}/setIamPolicy", +"httpMethod": "POST", +"id": "compute.regionDisks.setIamPolicy", +"parameterOrder": [ +"project", +"region", +"resource" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "The name of the region for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +}, +"resource": { +"description": "Name or id of the resource for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/regions/{region}/disks/{resource}/setIamPolicy", +"request": { +"$ref": "RegionSetPolicyRequest" +}, +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"setLabels": { +"description": "Sets the labels on the target regional disk.", +"flatPath": "projects/{project}/regions/{region}/disks/{resource}/setLabels", +"httpMethod": "POST", +"id": "compute.regionDisks.setLabels", +"parameterOrder": [ +"project", +"region", +"resource" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "The region for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"resource": { +"description": "Name or id of the resource for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/regions/{region}/disks/{resource}/setLabels", +"request": { +"$ref": "RegionSetLabelsRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"startAsyncReplication": { +"description": "Starts asynchronous replication.\nMust be invoked on the primary disk.", +"flatPath": "projects/{project}/regions/{region}/disks/{disk}/startAsyncReplication", +"httpMethod": "POST", +"id": "compute.regionDisks.startAsyncReplication", +"parameterOrder": [ +"project", +"region", +"disk" +], +"parameters": { +"disk": { +"description": "The name of the persistent disk.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "The name of the region for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "projects/{project}/regions/{region}/disks/{disk}/startAsyncReplication", +"request": { +"$ref": "RegionDisksStartAsyncReplicationRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"stopAsyncReplication": { +"description": "Stops asynchronous replication.\nCan be invoked either on the primary or on the secondary disk.", +"flatPath": "projects/{project}/regions/{region}/disks/{disk}/stopAsyncReplication", +"httpMethod": "POST", +"id": "compute.regionDisks.stopAsyncReplication", +"parameterOrder": [ +"project", +"region", +"disk" +], +"parameters": { +"disk": { +"description": "The name of the persistent disk.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "The name of the region for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "projects/{project}/regions/{region}/disks/{disk}/stopAsyncReplication", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"stopGroupAsyncReplication": { +"description": "Stops asynchronous replication for a consistency group of disks.\nCan be invoked either in the primary or secondary scope.", +"flatPath": "projects/{project}/regions/{region}/disks/stopGroupAsyncReplication", +"httpMethod": "POST", +"id": "compute.regionDisks.stopGroupAsyncReplication", +"parameterOrder": [ +"project", +"region" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "The name of the region for this request. This must be the region of the\nprimary or secondary disks in the consistency group.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "projects/{project}/regions/{region}/disks/stopGroupAsyncReplication", +"request": { +"$ref": "DisksStopGroupAsyncReplicationResource" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"testIamPermissions": { +"description": "Returns permissions that a caller has on the specified resource.", +"flatPath": "projects/{project}/regions/{region}/disks/{resource}/testIamPermissions", +"httpMethod": "POST", +"id": "compute.regionDisks.testIamPermissions", +"parameterOrder": [ +"project", +"region", +"resource" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "The name of the region for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +}, +"resource": { +"description": "Name or id of the resource for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/regions/{region}/disks/{resource}/testIamPermissions", +"request": { +"$ref": "TestPermissionsRequest" +}, +"response": { +"$ref": "TestPermissionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"update": { +"description": "Update the specified disk with the data included in the request. Update is\nperformed only on selected fields included as part of update-mask.", +"flatPath": "projects/{project}/regions/{region}/disks/{disk}", +"httpMethod": "PATCH", +"id": "compute.regionDisks.update", +"parameterOrder": [ +"project", +"region", +"disk" +], +"parameters": { +"disk": { +"description": "The disk name for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +}, +"paths": { +"location": "query", +"repeated": true, +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "The name of the region for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"updateMask": { +"description": "update_mask indicates fields to be updated as part of this request.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "projects/{project}/regions/{region}/disks/{disk}", +"request": { +"$ref": "Disk" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +} +} +}, +"regionHealthAggregationPolicies": { +"methods": { +"aggregatedList": { +"description": "Retrieves the list of all HealthAggregationPolicy resources,\nregional and global, available to the specified project.\n\nTo prevent failure, it is recommended that you set the\n`returnPartialSuccess` parameter to `true`.", +"flatPath": "projects/{project}/aggregated/healthAggregationPolicies", +"httpMethod": "GET", +"id": "compute.regionHealthAggregationPolicies.aggregatedList", +"parameterOrder": [ +"project" +], +"parameters": { +"filter": { +"description": "A filter expression that filters resources listed in the response. Most\nCompute resources support two types of filter expressions:\nexpressions that support regular expressions and expressions that follow\nAPI improvement proposal AIP-160.\nThese two types of filter expressions cannot be mixed in one request.\n\nIf you want to use AIP-160, your expression must specify the field name, an\noperator, and the value that you want to use for filtering. The value\nmust be a string, a number, or a boolean. The operator\nmust be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.\n\nFor example, if you are filtering Compute Engine instances, you can\nexclude instances named `example-instance` by specifying\n`name != example-instance`.\n\nThe `:*` comparison can be used to test whether a key has been defined.\nFor example, to find all objects with `owner` label use:\n```\nlabels.owner:*\n```\n\nYou can also filter nested fields. For example, you could specify\n`scheduling.automaticRestart = false` to include instances only\nif they are not scheduled for automatic restarts. You can use filtering\non nested fields to filter based onresource labels.\n\nTo filter on multiple expressions, provide each separate expression within\nparentheses. For example:\n```\n(scheduling.automaticRestart = true)\n(cpuPlatform = \"Intel Skylake\")\n```\nBy default, each expression is an `AND` expression. However, you\ncan include `AND` and `OR` expressions explicitly.\nFor example:\n```\n(cpuPlatform = \"Intel Skylake\") OR\n(cpuPlatform = \"Intel Broadwell\") AND\n(scheduling.automaticRestart = true)\n```\n\nIf you want to use a regular expression, use the `eq` (equal) or `ne`\n(not equal) operator against a single un-parenthesized expression with or\nwithout quotes or against multiple parenthesized expressions. Examples:\n\n`fieldname eq unquoted literal`\n`fieldname eq 'single quoted literal'`\n`fieldname eq \"double quoted literal\"`\n`(fieldname1 eq literal) (fieldname2 ne \"literal\")`\n\nThe literal value is interpreted as a regular expression using GoogleRE2 library syntax.\nThe literal value must match the entire field.\n\nFor example, to filter for instances that do not end with name \"instance\",\nyou would use `name ne .*instance`.\n\nYou cannot combine constraints on multiple fields using regular\nexpressions.", +"location": "query", +"type": "string" +}, +"includeAllScopes": { +"description": "Indicates whether every visible scope for each scope type (zone, region,\nglobal) should be included in the response. For new resource types added\nafter this field, the flag has no effect as new resource types will always\ninclude every visible scope for each scope type in response. For resource\ntypes which predate this field, if this flag is omitted or false, only\nscopes of the scope types where the resource type is expected to be found\nwill be included.", +"location": "query", +"type": "boolean" +}, +"maxResults": { +"default": "500", +"description": "The maximum number of results per page that should be returned.\nIf the number of available results is larger than `maxResults`,\nCompute Engine returns a `nextPageToken` that can be used to get\nthe next page of results in subsequent list requests. Acceptable values are\n`0` to `500`, inclusive. (Default: `500`)", +"format": "uint32", +"location": "query", +"minimum": "0", +"type": "integer" +}, +"orderBy": { +"description": "Sorts list results by a certain order. By default, results\nare returned in alphanumerical order based on the resource name.\n\nYou can also sort results in descending order based on the creation\ntimestamp using `orderBy=\"creationTimestamp desc\"`. This sorts\nresults based on the `creationTimestamp` field in\nreverse chronological order (newest result first). Use this to sort\nresources like operations so that the newest operation is returned first.\n\nCurrently, only sorting by `name` or\n`creationTimestamp desc` is supported.", +"location": "query", +"type": "string" +}, +"pageToken": { +"description": "Specifies a page token to use. Set `pageToken` to the\n`nextPageToken` returned by a previous list request to get\nthe next page of results.", +"location": "query", +"type": "string" +}, +"project": { +"description": "Name of the project scoping this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"returnPartialSuccess": { +"description": "Opt-in for partial success behavior which provides partial results in case\nof failure. The default value is false.\n\nFor example, when partial success behavior is enabled, aggregatedList for a\nsingle zone scope either returns all resources in the zone or no resources,\nwith an error code.", +"location": "query", +"type": "boolean" +}, +"serviceProjectNumber": { +"description": "The Shared VPC service project id or service project number for which\naggregated list request is invoked for subnetworks list-usable api.", +"format": "int64", +"location": "query", +"type": "string" +} +}, +"path": "projects/{project}/aggregated/healthAggregationPolicies", +"response": { +"$ref": "HealthAggregationPolicyAggregatedList" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"delete": { +"description": "Deletes the specified HealthAggregationPolicy in the given region.", +"flatPath": "projects/{project}/regions/{region}/healthAggregationPolicies/{healthAggregationPolicy}", +"httpMethod": "DELETE", +"id": "compute.regionHealthAggregationPolicies.delete", +"parameterOrder": [ +"project", +"region", +"healthAggregationPolicy" +], +"parameters": { +"healthAggregationPolicy": { +"description": "Name of the HealthAggregationPolicy resource to delete.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "Name of the region scoping this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "projects/{project}/regions/{region}/healthAggregationPolicies/{healthAggregationPolicy}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"get": { +"description": "Returns the specified HealthAggregationPolicy resource in the given region.", +"flatPath": "projects/{project}/regions/{region}/healthAggregationPolicies/{healthAggregationPolicy}", +"httpMethod": "GET", +"id": "compute.regionHealthAggregationPolicies.get", +"parameterOrder": [ +"project", +"region", +"healthAggregationPolicy" +], +"parameters": { +"healthAggregationPolicy": { +"description": "Name of the HealthAggregationPolicy resource to return.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "Name of the region scoping this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/regions/{region}/healthAggregationPolicies/{healthAggregationPolicy}", +"response": { +"$ref": "HealthAggregationPolicy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"insert": { +"description": "Create a HealthAggregationPolicy in the specified project in the given\nregion using the parameters that are included in the request.", +"flatPath": "projects/{project}/regions/{region}/healthAggregationPolicies", +"httpMethod": "POST", +"id": "compute.regionHealthAggregationPolicies.insert", +"parameterOrder": [ +"project", +"region" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "Name of the region scoping this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "projects/{project}/regions/{region}/healthAggregationPolicies", +"request": { +"$ref": "HealthAggregationPolicy" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"list": { +"description": "Lists the HealthAggregationPolicies for a project in the given region.", +"flatPath": "projects/{project}/regions/{region}/healthAggregationPolicies", +"httpMethod": "GET", +"id": "compute.regionHealthAggregationPolicies.list", +"parameterOrder": [ +"project", +"region" +], +"parameters": { +"filter": { +"description": "A filter expression that filters resources listed in the response. Most\nCompute resources support two types of filter expressions:\nexpressions that support regular expressions and expressions that follow\nAPI improvement proposal AIP-160.\nThese two types of filter expressions cannot be mixed in one request.\n\nIf you want to use AIP-160, your expression must specify the field name, an\noperator, and the value that you want to use for filtering. The value\nmust be a string, a number, or a boolean. The operator\nmust be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.\n\nFor example, if you are filtering Compute Engine instances, you can\nexclude instances named `example-instance` by specifying\n`name != example-instance`.\n\nThe `:*` comparison can be used to test whether a key has been defined.\nFor example, to find all objects with `owner` label use:\n```\nlabels.owner:*\n```\n\nYou can also filter nested fields. For example, you could specify\n`scheduling.automaticRestart = false` to include instances only\nif they are not scheduled for automatic restarts. You can use filtering\non nested fields to filter based onresource labels.\n\nTo filter on multiple expressions, provide each separate expression within\nparentheses. For example:\n```\n(scheduling.automaticRestart = true)\n(cpuPlatform = \"Intel Skylake\")\n```\nBy default, each expression is an `AND` expression. However, you\ncan include `AND` and `OR` expressions explicitly.\nFor example:\n```\n(cpuPlatform = \"Intel Skylake\") OR\n(cpuPlatform = \"Intel Broadwell\") AND\n(scheduling.automaticRestart = true)\n```\n\nIf you want to use a regular expression, use the `eq` (equal) or `ne`\n(not equal) operator against a single un-parenthesized expression with or\nwithout quotes or against multiple parenthesized expressions. Examples:\n\n`fieldname eq unquoted literal`\n`fieldname eq 'single quoted literal'`\n`fieldname eq \"double quoted literal\"`\n`(fieldname1 eq literal) (fieldname2 ne \"literal\")`\n\nThe literal value is interpreted as a regular expression using GoogleRE2 library syntax.\nThe literal value must match the entire field.\n\nFor example, to filter for instances that do not end with name \"instance\",\nyou would use `name ne .*instance`.\n\nYou cannot combine constraints on multiple fields using regular\nexpressions.", +"location": "query", +"type": "string" +}, +"maxResults": { +"default": "500", +"description": "The maximum number of results per page that should be returned.\nIf the number of available results is larger than `maxResults`,\nCompute Engine returns a `nextPageToken` that can be used to get\nthe next page of results in subsequent list requests. Acceptable values are\n`0` to `500`, inclusive. (Default: `500`)", +"format": "uint32", +"location": "query", +"minimum": "0", +"type": "integer" +}, +"orderBy": { +"description": "Sorts list results by a certain order. By default, results\nare returned in alphanumerical order based on the resource name.\n\nYou can also sort results in descending order based on the creation\ntimestamp using `orderBy=\"creationTimestamp desc\"`. This sorts\nresults based on the `creationTimestamp` field in\nreverse chronological order (newest result first). Use this to sort\nresources like operations so that the newest operation is returned first.\n\nCurrently, only sorting by `name` or\n`creationTimestamp desc` is supported.", +"location": "query", +"type": "string" +}, +"pageToken": { +"description": "Specifies a page token to use. Set `pageToken` to the\n`nextPageToken` returned by a previous list request to get\nthe next page of results.", +"location": "query", +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "Name of the region scoping this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +}, +"returnPartialSuccess": { +"description": "Opt-in for partial success behavior which provides partial results in case\nof failure. The default value is false.\n\nFor example, when partial success behavior is enabled, aggregatedList for a\nsingle zone scope either returns all resources in the zone or no resources,\nwith an error code.", +"location": "query", +"type": "boolean" +} +}, +"path": "projects/{project}/regions/{region}/healthAggregationPolicies", +"response": { +"$ref": "HealthAggregationPolicyList" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"patch": { +"description": "Updates the specified regional HealthAggregationPolicy\nresource with the data included in the request. This method supportsPATCH\nsemantics and uses theJSON merge\npatch format and processing rules.", +"flatPath": "projects/{project}/regions/{region}/healthAggregationPolicies/{healthAggregationPolicy}", +"httpMethod": "PATCH", +"id": "compute.regionHealthAggregationPolicies.patch", +"parameterOrder": [ +"project", +"region", +"healthAggregationPolicy" +], +"parameters": { +"healthAggregationPolicy": { +"description": "Name of the HealthAggregationPolicy to update. The name\nmust be 1-63 characters long, and comply with RFC1035.", +"location": "path", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "Name of the region scoping this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "projects/{project}/regions/{region}/healthAggregationPolicies/{healthAggregationPolicy}", +"request": { +"$ref": "HealthAggregationPolicy" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"testIamPermissions": { +"description": "Returns permissions that a caller has on the specified resource.", +"flatPath": "projects/{project}/regions/{region}/healthAggregationPolicies/{resource}/testIamPermissions", +"httpMethod": "POST", +"id": "compute.regionHealthAggregationPolicies.testIamPermissions", +"parameterOrder": [ +"project", +"region", +"resource" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "The name of the region for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +}, +"resource": { +"description": "Name or id of the resource for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/regions/{region}/healthAggregationPolicies/{resource}/testIamPermissions", +"request": { +"$ref": "TestPermissionsRequest" +}, +"response": { +"$ref": "TestPermissionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +} +} +}, +"regionHealthCheckServices": { +"methods": { +"delete": { +"description": "Deletes the specified regional HealthCheckService.", +"flatPath": "projects/{project}/regions/{region}/healthCheckServices/{healthCheckService}", +"httpMethod": "DELETE", +"id": "compute.regionHealthCheckServices.delete", +"parameterOrder": [ +"project", +"region", +"healthCheckService" +], +"parameters": { +"healthCheckService": { +"description": "Name of the HealthCheckService to delete. The name\nmust be 1-63 characters long, and comply with RFC1035.", +"location": "path", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "Name of the region scoping this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "projects/{project}/regions/{region}/healthCheckServices/{healthCheckService}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"get": { +"description": "Returns the specified regional HealthCheckService resource.", +"flatPath": "projects/{project}/regions/{region}/healthCheckServices/{healthCheckService}", +"httpMethod": "GET", +"id": "compute.regionHealthCheckServices.get", +"parameterOrder": [ +"project", +"region", +"healthCheckService" +], +"parameters": { +"healthCheckService": { +"description": "Name of the HealthCheckService to update. The name\nmust be 1-63 characters long, and comply with RFC1035.", +"location": "path", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "Name of the region scoping this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/regions/{region}/healthCheckServices/{healthCheckService}", +"response": { +"$ref": "HealthCheckService" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"insert": { +"description": "Creates a regional HealthCheckService resource in the\nspecified project and region using the data included in the request.", +"flatPath": "projects/{project}/regions/{region}/healthCheckServices", +"httpMethod": "POST", +"id": "compute.regionHealthCheckServices.insert", +"parameterOrder": [ +"project", +"region" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "Name of the region scoping this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "projects/{project}/regions/{region}/healthCheckServices", +"request": { +"$ref": "HealthCheckService" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"list": { +"description": "Lists all the HealthCheckService resources that have been\nconfigured for the specified project in the given region.", +"flatPath": "projects/{project}/regions/{region}/healthCheckServices", +"httpMethod": "GET", +"id": "compute.regionHealthCheckServices.list", +"parameterOrder": [ +"project", +"region" +], +"parameters": { +"filter": { +"description": "A filter expression that filters resources listed in the response. Most\nCompute resources support two types of filter expressions:\nexpressions that support regular expressions and expressions that follow\nAPI improvement proposal AIP-160.\nThese two types of filter expressions cannot be mixed in one request.\n\nIf you want to use AIP-160, your expression must specify the field name, an\noperator, and the value that you want to use for filtering. The value\nmust be a string, a number, or a boolean. The operator\nmust be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.\n\nFor example, if you are filtering Compute Engine instances, you can\nexclude instances named `example-instance` by specifying\n`name != example-instance`.\n\nThe `:*` comparison can be used to test whether a key has been defined.\nFor example, to find all objects with `owner` label use:\n```\nlabels.owner:*\n```\n\nYou can also filter nested fields. For example, you could specify\n`scheduling.automaticRestart = false` to include instances only\nif they are not scheduled for automatic restarts. You can use filtering\non nested fields to filter based onresource labels.\n\nTo filter on multiple expressions, provide each separate expression within\nparentheses. For example:\n```\n(scheduling.automaticRestart = true)\n(cpuPlatform = \"Intel Skylake\")\n```\nBy default, each expression is an `AND` expression. However, you\ncan include `AND` and `OR` expressions explicitly.\nFor example:\n```\n(cpuPlatform = \"Intel Skylake\") OR\n(cpuPlatform = \"Intel Broadwell\") AND\n(scheduling.automaticRestart = true)\n```\n\nIf you want to use a regular expression, use the `eq` (equal) or `ne`\n(not equal) operator against a single un-parenthesized expression with or\nwithout quotes or against multiple parenthesized expressions. Examples:\n\n`fieldname eq unquoted literal`\n`fieldname eq 'single quoted literal'`\n`fieldname eq \"double quoted literal\"`\n`(fieldname1 eq literal) (fieldname2 ne \"literal\")`\n\nThe literal value is interpreted as a regular expression using GoogleRE2 library syntax.\nThe literal value must match the entire field.\n\nFor example, to filter for instances that do not end with name \"instance\",\nyou would use `name ne .*instance`.\n\nYou cannot combine constraints on multiple fields using regular\nexpressions.", +"location": "query", +"type": "string" +}, +"maxResults": { +"default": "500", +"description": "The maximum number of results per page that should be returned.\nIf the number of available results is larger than `maxResults`,\nCompute Engine returns a `nextPageToken` that can be used to get\nthe next page of results in subsequent list requests. Acceptable values are\n`0` to `500`, inclusive. (Default: `500`)", +"format": "uint32", +"location": "query", +"minimum": "0", +"type": "integer" +}, +"orderBy": { +"description": "Sorts list results by a certain order. By default, results\nare returned in alphanumerical order based on the resource name.\n\nYou can also sort results in descending order based on the creation\ntimestamp using `orderBy=\"creationTimestamp desc\"`. This sorts\nresults based on the `creationTimestamp` field in\nreverse chronological order (newest result first). Use this to sort\nresources like operations so that the newest operation is returned first.\n\nCurrently, only sorting by `name` or\n`creationTimestamp desc` is supported.", +"location": "query", +"type": "string" +}, +"pageToken": { +"description": "Specifies a page token to use. Set `pageToken` to the\n`nextPageToken` returned by a previous list request to get\nthe next page of results.", +"location": "query", +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "Name of the region scoping this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +}, +"returnPartialSuccess": { +"description": "Opt-in for partial success behavior which provides partial results in case\nof failure. The default value is false.\n\nFor example, when partial success behavior is enabled, aggregatedList for a\nsingle zone scope either returns all resources in the zone or no resources,\nwith an error code.", +"location": "query", +"type": "boolean" +} +}, +"path": "projects/{project}/regions/{region}/healthCheckServices", +"response": { +"$ref": "HealthCheckServicesList" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"patch": { +"description": "Updates the specified regional HealthCheckService resource\nwith the data included in the request. This method supportsPATCH\nsemantics and uses theJSON merge\npatch format and processing rules.", +"flatPath": "projects/{project}/regions/{region}/healthCheckServices/{healthCheckService}", +"httpMethod": "PATCH", +"id": "compute.regionHealthCheckServices.patch", +"parameterOrder": [ +"project", +"region", +"healthCheckService" +], +"parameters": { +"healthCheckService": { +"description": "Name of the HealthCheckService to update. The name\nmust be 1-63 characters long, and comply with RFC1035.", +"location": "path", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "Name of the region scoping this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "projects/{project}/regions/{region}/healthCheckServices/{healthCheckService}", +"request": { +"$ref": "HealthCheckService" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"testIamPermissions": { +"description": "Returns permissions that a caller has on the specified resource.", +"flatPath": "projects/{project}/regions/{region}/healthCheckServices/{resource}/testIamPermissions", +"httpMethod": "POST", +"id": "compute.regionHealthCheckServices.testIamPermissions", +"parameterOrder": [ +"project", +"region", +"resource" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "The name of the region for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +}, +"resource": { +"description": "Name or id of the resource for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/regions/{region}/healthCheckServices/{resource}/testIamPermissions", +"request": { +"$ref": "TestPermissionsRequest" +}, +"response": { +"$ref": "TestPermissionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +} +} +}, +"regionHealthChecks": { +"methods": { +"delete": { +"description": "Deletes the specified HealthCheck resource.", +"flatPath": "projects/{project}/regions/{region}/healthChecks/{healthCheck}", +"httpMethod": "DELETE", +"id": "compute.regionHealthChecks.delete", +"parameterOrder": [ +"project", +"region", +"healthCheck" +], +"parameters": { +"healthCheck": { +"description": "Name of the HealthCheck resource to delete.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "Name of the region scoping this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "projects/{project}/regions/{region}/healthChecks/{healthCheck}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"get": { +"description": "Returns the specified HealthCheck resource.", +"flatPath": "projects/{project}/regions/{region}/healthChecks/{healthCheck}", +"httpMethod": "GET", +"id": "compute.regionHealthChecks.get", +"parameterOrder": [ +"project", +"region", +"healthCheck" +], +"parameters": { +"healthCheck": { +"description": "Name of the HealthCheck resource to return.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "Name of the region scoping this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/regions/{region}/healthChecks/{healthCheck}", +"response": { +"$ref": "HealthCheck" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"insert": { +"description": "Creates a HealthCheck resource in the specified project using the data\nincluded in the request.", +"flatPath": "projects/{project}/regions/{region}/healthChecks", +"httpMethod": "POST", +"id": "compute.regionHealthChecks.insert", +"parameterOrder": [ +"project", +"region" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "Name of the region scoping this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "projects/{project}/regions/{region}/healthChecks", +"request": { +"$ref": "HealthCheck" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"list": { +"description": "Retrieves the list of HealthCheck resources available to the specified\nproject.", +"flatPath": "projects/{project}/regions/{region}/healthChecks", +"httpMethod": "GET", +"id": "compute.regionHealthChecks.list", +"parameterOrder": [ +"project", +"region" +], +"parameters": { +"filter": { +"description": "A filter expression that filters resources listed in the response. Most\nCompute resources support two types of filter expressions:\nexpressions that support regular expressions and expressions that follow\nAPI improvement proposal AIP-160.\nThese two types of filter expressions cannot be mixed in one request.\n\nIf you want to use AIP-160, your expression must specify the field name, an\noperator, and the value that you want to use for filtering. The value\nmust be a string, a number, or a boolean. The operator\nmust be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.\n\nFor example, if you are filtering Compute Engine instances, you can\nexclude instances named `example-instance` by specifying\n`name != example-instance`.\n\nThe `:*` comparison can be used to test whether a key has been defined.\nFor example, to find all objects with `owner` label use:\n```\nlabels.owner:*\n```\n\nYou can also filter nested fields. For example, you could specify\n`scheduling.automaticRestart = false` to include instances only\nif they are not scheduled for automatic restarts. You can use filtering\non nested fields to filter based onresource labels.\n\nTo filter on multiple expressions, provide each separate expression within\nparentheses. For example:\n```\n(scheduling.automaticRestart = true)\n(cpuPlatform = \"Intel Skylake\")\n```\nBy default, each expression is an `AND` expression. However, you\ncan include `AND` and `OR` expressions explicitly.\nFor example:\n```\n(cpuPlatform = \"Intel Skylake\") OR\n(cpuPlatform = \"Intel Broadwell\") AND\n(scheduling.automaticRestart = true)\n```\n\nIf you want to use a regular expression, use the `eq` (equal) or `ne`\n(not equal) operator against a single un-parenthesized expression with or\nwithout quotes or against multiple parenthesized expressions. Examples:\n\n`fieldname eq unquoted literal`\n`fieldname eq 'single quoted literal'`\n`fieldname eq \"double quoted literal\"`\n`(fieldname1 eq literal) (fieldname2 ne \"literal\")`\n\nThe literal value is interpreted as a regular expression using GoogleRE2 library syntax.\nThe literal value must match the entire field.\n\nFor example, to filter for instances that do not end with name \"instance\",\nyou would use `name ne .*instance`.\n\nYou cannot combine constraints on multiple fields using regular\nexpressions.", +"location": "query", +"type": "string" +}, +"maxResults": { +"default": "500", +"description": "The maximum number of results per page that should be returned.\nIf the number of available results is larger than `maxResults`,\nCompute Engine returns a `nextPageToken` that can be used to get\nthe next page of results in subsequent list requests. Acceptable values are\n`0` to `500`, inclusive. (Default: `500`)", +"format": "uint32", +"location": "query", +"minimum": "0", +"type": "integer" +}, +"orderBy": { +"description": "Sorts list results by a certain order. By default, results\nare returned in alphanumerical order based on the resource name.\n\nYou can also sort results in descending order based on the creation\ntimestamp using `orderBy=\"creationTimestamp desc\"`. This sorts\nresults based on the `creationTimestamp` field in\nreverse chronological order (newest result first). Use this to sort\nresources like operations so that the newest operation is returned first.\n\nCurrently, only sorting by `name` or\n`creationTimestamp desc` is supported.", +"location": "query", +"type": "string" +}, +"pageToken": { +"description": "Specifies a page token to use. Set `pageToken` to the\n`nextPageToken` returned by a previous list request to get\nthe next page of results.", +"location": "query", +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "Name of the region scoping this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +}, +"returnPartialSuccess": { +"description": "Opt-in for partial success behavior which provides partial results in case\nof failure. The default value is false.\n\nFor example, when partial success behavior is enabled, aggregatedList for a\nsingle zone scope either returns all resources in the zone or no resources,\nwith an error code.", +"location": "query", +"type": "boolean" +} +}, +"path": "projects/{project}/regions/{region}/healthChecks", +"response": { +"$ref": "HealthCheckList" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"patch": { +"description": "Updates a HealthCheck resource in the specified project using the data\nincluded in the request. This method supportsPATCH\nsemantics and uses theJSON merge\npatch format and processing rules.", +"flatPath": "projects/{project}/regions/{region}/healthChecks/{healthCheck}", +"httpMethod": "PATCH", +"id": "compute.regionHealthChecks.patch", +"parameterOrder": [ +"project", +"region", +"healthCheck" +], +"parameters": { +"healthCheck": { +"description": "Name of the HealthCheck resource to patch.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "Name of the region scoping this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "projects/{project}/regions/{region}/healthChecks/{healthCheck}", +"request": { +"$ref": "HealthCheck" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"testIamPermissions": { +"description": "Returns permissions that a caller has on the specified resource.", +"flatPath": "projects/{project}/regions/{region}/healthChecks/{resource}/testIamPermissions", +"httpMethod": "POST", +"id": "compute.regionHealthChecks.testIamPermissions", +"parameterOrder": [ +"project", +"region", +"resource" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "The name of the region for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +}, +"resource": { +"description": "Name or id of the resource for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/regions/{region}/healthChecks/{resource}/testIamPermissions", +"request": { +"$ref": "TestPermissionsRequest" +}, +"response": { +"$ref": "TestPermissionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"update": { +"description": "Updates a HealthCheck resource in the specified project using the data\nincluded in the request.", +"flatPath": "projects/{project}/regions/{region}/healthChecks/{healthCheck}", +"httpMethod": "PUT", +"id": "compute.regionHealthChecks.update", +"parameterOrder": [ +"project", +"region", +"healthCheck" +], +"parameters": { +"healthCheck": { +"description": "Name of the HealthCheck resource to update.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "Name of the region scoping this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "projects/{project}/regions/{region}/healthChecks/{healthCheck}", +"request": { +"$ref": "HealthCheck" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +} +} +}, +"regionHealthSources": { +"methods": { +"aggregatedList": { +"description": "Retrieves the list of all HealthSource resources (all\nregional) available to the specified project.\n\nTo prevent failure, Google recommends that you set the\n`returnPartialSuccess` parameter to `true`.", +"flatPath": "projects/{project}/aggregated/healthSources", +"httpMethod": "GET", +"id": "compute.regionHealthSources.aggregatedList", +"parameterOrder": [ +"project" +], +"parameters": { +"filter": { +"description": "A filter expression that filters resources listed in the response. Most\nCompute resources support two types of filter expressions:\nexpressions that support regular expressions and expressions that follow\nAPI improvement proposal AIP-160.\nThese two types of filter expressions cannot be mixed in one request.\n\nIf you want to use AIP-160, your expression must specify the field name, an\noperator, and the value that you want to use for filtering. The value\nmust be a string, a number, or a boolean. The operator\nmust be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.\n\nFor example, if you are filtering Compute Engine instances, you can\nexclude instances named `example-instance` by specifying\n`name != example-instance`.\n\nThe `:*` comparison can be used to test whether a key has been defined.\nFor example, to find all objects with `owner` label use:\n```\nlabels.owner:*\n```\n\nYou can also filter nested fields. For example, you could specify\n`scheduling.automaticRestart = false` to include instances only\nif they are not scheduled for automatic restarts. You can use filtering\non nested fields to filter based onresource labels.\n\nTo filter on multiple expressions, provide each separate expression within\nparentheses. For example:\n```\n(scheduling.automaticRestart = true)\n(cpuPlatform = \"Intel Skylake\")\n```\nBy default, each expression is an `AND` expression. However, you\ncan include `AND` and `OR` expressions explicitly.\nFor example:\n```\n(cpuPlatform = \"Intel Skylake\") OR\n(cpuPlatform = \"Intel Broadwell\") AND\n(scheduling.automaticRestart = true)\n```\n\nIf you want to use a regular expression, use the `eq` (equal) or `ne`\n(not equal) operator against a single un-parenthesized expression with or\nwithout quotes or against multiple parenthesized expressions. Examples:\n\n`fieldname eq unquoted literal`\n`fieldname eq 'single quoted literal'`\n`fieldname eq \"double quoted literal\"`\n`(fieldname1 eq literal) (fieldname2 ne \"literal\")`\n\nThe literal value is interpreted as a regular expression using GoogleRE2 library syntax.\nThe literal value must match the entire field.\n\nFor example, to filter for instances that do not end with name \"instance\",\nyou would use `name ne .*instance`.\n\nYou cannot combine constraints on multiple fields using regular\nexpressions.", +"location": "query", +"type": "string" +}, +"includeAllScopes": { +"description": "Indicates whether every visible scope for each scope type (zone, region,\nglobal) should be included in the response. For new resource types added\nafter this field, the flag has no effect as new resource types will always\ninclude every visible scope for each scope type in response. For resource\ntypes which predate this field, if this flag is omitted or false, only\nscopes of the scope types where the resource type is expected to be found\nwill be included.", +"location": "query", +"type": "boolean" +}, +"maxResults": { +"default": "500", +"description": "The maximum number of results per page that should be returned.\nIf the number of available results is larger than `maxResults`,\nCompute Engine returns a `nextPageToken` that can be used to get\nthe next page of results in subsequent list requests. Acceptable values are\n`0` to `500`, inclusive. (Default: `500`)", +"format": "uint32", +"location": "query", +"minimum": "0", +"type": "integer" +}, +"orderBy": { +"description": "Sorts list results by a certain order. By default, results\nare returned in alphanumerical order based on the resource name.\n\nYou can also sort results in descending order based on the creation\ntimestamp using `orderBy=\"creationTimestamp desc\"`. This sorts\nresults based on the `creationTimestamp` field in\nreverse chronological order (newest result first). Use this to sort\nresources like operations so that the newest operation is returned first.\n\nCurrently, only sorting by `name` or\n`creationTimestamp desc` is supported.", +"location": "query", +"type": "string" +}, +"pageToken": { +"description": "Specifies a page token to use. Set `pageToken` to the\n`nextPageToken` returned by a previous list request to get\nthe next page of results.", +"location": "query", +"type": "string" +}, +"project": { +"description": "Name of the project scoping this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"returnPartialSuccess": { +"description": "Opt-in for partial success behavior which provides partial results in case\nof failure. The default value is false.\n\nFor example, when partial success behavior is enabled, aggregatedList for a\nsingle zone scope either returns all resources in the zone or no resources,\nwith an error code.", +"location": "query", +"type": "boolean" +}, +"serviceProjectNumber": { +"description": "The Shared VPC service project id or service project number for which\naggregated list request is invoked for subnetworks list-usable api.", +"format": "int64", +"location": "query", +"type": "string" +} +}, +"path": "projects/{project}/aggregated/healthSources", +"response": { +"$ref": "HealthSourceAggregatedList" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"delete": { +"description": "Deletes the specified HealthSource in the given region", +"flatPath": "projects/{project}/regions/{region}/healthSources/{healthSource}", +"httpMethod": "DELETE", +"id": "compute.regionHealthSources.delete", +"parameterOrder": [ +"project", +"region", +"healthSource" +], +"parameters": { +"healthSource": { +"description": "Name of the HealthSource resource to delete.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "Name of the region scoping this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "projects/{project}/regions/{region}/healthSources/{healthSource}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"get": { +"description": "Returns the specified HealthSource resource in the given region.", +"flatPath": "projects/{project}/regions/{region}/healthSources/{healthSource}", +"httpMethod": "GET", +"id": "compute.regionHealthSources.get", +"parameterOrder": [ +"project", +"region", +"healthSource" +], +"parameters": { +"healthSource": { +"description": "Name of the HealthSource resource to return.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "Name of the region scoping this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/regions/{region}/healthSources/{healthSource}", +"response": { +"$ref": "HealthSource" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"insert": { +"description": "Create a HealthSource in the specified project in the given region\nusing the parameters that are included in the request.", +"flatPath": "projects/{project}/regions/{region}/healthSources", +"httpMethod": "POST", +"id": "compute.regionHealthSources.insert", +"parameterOrder": [ +"project", +"region" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "Name of the region scoping this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "projects/{project}/regions/{region}/healthSources", +"request": { +"$ref": "HealthSource" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"list": { +"description": "Lists the HealthSources for a project in the given region.", +"flatPath": "projects/{project}/regions/{region}/healthSources", +"httpMethod": "GET", +"id": "compute.regionHealthSources.list", +"parameterOrder": [ +"project", +"region" +], +"parameters": { +"filter": { +"description": "A filter expression that filters resources listed in the response. Most\nCompute resources support two types of filter expressions:\nexpressions that support regular expressions and expressions that follow\nAPI improvement proposal AIP-160.\nThese two types of filter expressions cannot be mixed in one request.\n\nIf you want to use AIP-160, your expression must specify the field name, an\noperator, and the value that you want to use for filtering. The value\nmust be a string, a number, or a boolean. The operator\nmust be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.\n\nFor example, if you are filtering Compute Engine instances, you can\nexclude instances named `example-instance` by specifying\n`name != example-instance`.\n\nThe `:*` comparison can be used to test whether a key has been defined.\nFor example, to find all objects with `owner` label use:\n```\nlabels.owner:*\n```\n\nYou can also filter nested fields. For example, you could specify\n`scheduling.automaticRestart = false` to include instances only\nif they are not scheduled for automatic restarts. You can use filtering\non nested fields to filter based onresource labels.\n\nTo filter on multiple expressions, provide each separate expression within\nparentheses. For example:\n```\n(scheduling.automaticRestart = true)\n(cpuPlatform = \"Intel Skylake\")\n```\nBy default, each expression is an `AND` expression. However, you\ncan include `AND` and `OR` expressions explicitly.\nFor example:\n```\n(cpuPlatform = \"Intel Skylake\") OR\n(cpuPlatform = \"Intel Broadwell\") AND\n(scheduling.automaticRestart = true)\n```\n\nIf you want to use a regular expression, use the `eq` (equal) or `ne`\n(not equal) operator against a single un-parenthesized expression with or\nwithout quotes or against multiple parenthesized expressions. Examples:\n\n`fieldname eq unquoted literal`\n`fieldname eq 'single quoted literal'`\n`fieldname eq \"double quoted literal\"`\n`(fieldname1 eq literal) (fieldname2 ne \"literal\")`\n\nThe literal value is interpreted as a regular expression using GoogleRE2 library syntax.\nThe literal value must match the entire field.\n\nFor example, to filter for instances that do not end with name \"instance\",\nyou would use `name ne .*instance`.\n\nYou cannot combine constraints on multiple fields using regular\nexpressions.", +"location": "query", +"type": "string" +}, +"maxResults": { +"default": "500", +"description": "The maximum number of results per page that should be returned.\nIf the number of available results is larger than `maxResults`,\nCompute Engine returns a `nextPageToken` that can be used to get\nthe next page of results in subsequent list requests. Acceptable values are\n`0` to `500`, inclusive. (Default: `500`)", +"format": "uint32", +"location": "query", +"minimum": "0", +"type": "integer" +}, +"orderBy": { +"description": "Sorts list results by a certain order. By default, results\nare returned in alphanumerical order based on the resource name.\n\nYou can also sort results in descending order based on the creation\ntimestamp using `orderBy=\"creationTimestamp desc\"`. This sorts\nresults based on the `creationTimestamp` field in\nreverse chronological order (newest result first). Use this to sort\nresources like operations so that the newest operation is returned first.\n\nCurrently, only sorting by `name` or\n`creationTimestamp desc` is supported.", +"location": "query", +"type": "string" +}, +"pageToken": { +"description": "Specifies a page token to use. Set `pageToken` to the\n`nextPageToken` returned by a previous list request to get\nthe next page of results.", +"location": "query", +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "Name of the region scoping this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +}, +"returnPartialSuccess": { +"description": "Opt-in for partial success behavior which provides partial results in case\nof failure. The default value is false.\n\nFor example, when partial success behavior is enabled, aggregatedList for a\nsingle zone scope either returns all resources in the zone or no resources,\nwith an error code.", +"location": "query", +"type": "boolean" +} +}, +"path": "projects/{project}/regions/{region}/healthSources", +"response": { +"$ref": "HealthSourceList" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"patch": { +"description": "Updates the specified regional HealthSource resource\nwith the data included in the request. This method supportsPATCH\nsemantics and uses theJSON merge\npatch format and processing rules.", +"flatPath": "projects/{project}/regions/{region}/healthSources/{healthSource}", +"httpMethod": "PATCH", +"id": "compute.regionHealthSources.patch", +"parameterOrder": [ +"project", +"region", +"healthSource" +], +"parameters": { +"healthSource": { +"description": "Name of the HealthSource to update. The name\nmust be 1-63 characters long, and comply with RFC1035.", +"location": "path", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "Name of the region scoping this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "projects/{project}/regions/{region}/healthSources/{healthSource}", +"request": { +"$ref": "HealthSource" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"testIamPermissions": { +"description": "Returns permissions that a caller has on the specified resource.", +"flatPath": "projects/{project}/regions/{region}/healthSources/{resource}/testIamPermissions", +"httpMethod": "POST", +"id": "compute.regionHealthSources.testIamPermissions", +"parameterOrder": [ +"project", +"region", +"resource" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "The name of the region for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +}, +"resource": { +"description": "Name or id of the resource for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/regions/{region}/healthSources/{resource}/testIamPermissions", +"request": { +"$ref": "TestPermissionsRequest" +}, +"response": { +"$ref": "TestPermissionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +} +} +}, +"regionInstanceGroupManagerResizeRequests": { +"methods": { +"cancel": { +"description": "Cancels the specified resize request.\nCancelled resize request no longer waits for the resources to be\nprovisioned. Cancel is only possible for requests that are in accepted\nstate.", +"flatPath": "projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/resizeRequests/{resizeRequest}/cancel", +"httpMethod": "POST", +"id": "compute.regionInstanceGroupManagerResizeRequests.cancel", +"parameterOrder": [ +"project", +"region", +"instanceGroupManager", +"resizeRequest" +], +"parameters": { +"instanceGroupManager": { +"description": "The name of the managed instance group.\nName should conform to RFC1035 or be a resource ID.", +"location": "path", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "The name of the region\nscoping this request. Name should conform to RFC1035.", +"location": "path", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"resizeRequest": { +"description": "The name of the resize request to cancel.\nName should conform to RFC1035 or be a resource ID.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/resizeRequests/{resizeRequest}/cancel", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"delete": { +"description": "Deletes the specified, inactive resize request. Requests that are still\nactive cannot be deleted. Deleting request does not delete instances that\nwere provisioned previously.", +"flatPath": "projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/resizeRequests/{resizeRequest}", +"httpMethod": "DELETE", +"id": "compute.regionInstanceGroupManagerResizeRequests.delete", +"parameterOrder": [ +"project", +"region", +"instanceGroupManager", +"resizeRequest" +], +"parameters": { +"instanceGroupManager": { +"description": "The name of the managed instance group.\nName should conform to RFC1035 or be a resource ID.", +"location": "path", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "The name of the region\nscoping this request. Name should conform to RFC1035.", +"location": "path", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"resizeRequest": { +"description": "The name of the resize request to delete.\nName should conform to RFC1035 or be a resource ID.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/resizeRequests/{resizeRequest}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"get": { +"description": "Returns all of the details about the specified resize request.", +"flatPath": "projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/resizeRequests/{resizeRequest}", +"httpMethod": "GET", +"id": "compute.regionInstanceGroupManagerResizeRequests.get", +"parameterOrder": [ +"project", +"region", +"instanceGroupManager", +"resizeRequest" +], +"parameters": { +"instanceGroupManager": { +"description": "The name of the managed instance group.\nName should conform to RFC1035 or be a resource ID.", +"location": "path", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "The name of the region\nscoping this request. Name should conform to RFC1035.", +"location": "path", +"required": true, +"type": "string" +}, +"resizeRequest": { +"description": "The name of the resize request.\nName should conform to RFC1035 or be a resource ID.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/resizeRequests/{resizeRequest}", +"response": { +"$ref": "InstanceGroupManagerResizeRequest" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"insert": { +"description": "Creates a new Resize Request that starts provisioning VMs immediately\nor queues VM creation.", +"flatPath": "projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/resizeRequests", +"httpMethod": "POST", +"id": "compute.regionInstanceGroupManagerResizeRequests.insert", +"parameterOrder": [ +"project", +"region", +"instanceGroupManager" +], +"parameters": { +"instanceGroupManager": { +"description": "Name of the managed instance group to which the resize request is scoped.\nName should conform to RFC1035 or be a resource ID.", +"location": "path", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "Name of the region\nscoping this request. Name should conform to RFC1035.", +"location": "path", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/resizeRequests", +"request": { +"$ref": "InstanceGroupManagerResizeRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"list": { +"description": "Retrieves a list of Resize Requests that are contained in the\nmanaged instance group.", +"flatPath": "projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/resizeRequests", +"httpMethod": "GET", +"id": "compute.regionInstanceGroupManagerResizeRequests.list", +"parameterOrder": [ +"project", +"region", +"instanceGroupManager" +], +"parameters": { +"filter": { +"description": "A filter expression that filters resources listed in the response. Most\nCompute resources support two types of filter expressions:\nexpressions that support regular expressions and expressions that follow\nAPI improvement proposal AIP-160.\nThese two types of filter expressions cannot be mixed in one request.\n\nIf you want to use AIP-160, your expression must specify the field name, an\noperator, and the value that you want to use for filtering. The value\nmust be a string, a number, or a boolean. The operator\nmust be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.\n\nFor example, if you are filtering Compute Engine instances, you can\nexclude instances named `example-instance` by specifying\n`name != example-instance`.\n\nThe `:*` comparison can be used to test whether a key has been defined.\nFor example, to find all objects with `owner` label use:\n```\nlabels.owner:*\n```\n\nYou can also filter nested fields. For example, you could specify\n`scheduling.automaticRestart = false` to include instances only\nif they are not scheduled for automatic restarts. You can use filtering\non nested fields to filter based onresource labels.\n\nTo filter on multiple expressions, provide each separate expression within\nparentheses. For example:\n```\n(scheduling.automaticRestart = true)\n(cpuPlatform = \"Intel Skylake\")\n```\nBy default, each expression is an `AND` expression. However, you\ncan include `AND` and `OR` expressions explicitly.\nFor example:\n```\n(cpuPlatform = \"Intel Skylake\") OR\n(cpuPlatform = \"Intel Broadwell\") AND\n(scheduling.automaticRestart = true)\n```\n\nIf you want to use a regular expression, use the `eq` (equal) or `ne`\n(not equal) operator against a single un-parenthesized expression with or\nwithout quotes or against multiple parenthesized expressions. Examples:\n\n`fieldname eq unquoted literal`\n`fieldname eq 'single quoted literal'`\n`fieldname eq \"double quoted literal\"`\n`(fieldname1 eq literal) (fieldname2 ne \"literal\")`\n\nThe literal value is interpreted as a regular expression using GoogleRE2 library syntax.\nThe literal value must match the entire field.\n\nFor example, to filter for instances that do not end with name \"instance\",\nyou would use `name ne .*instance`.\n\nYou cannot combine constraints on multiple fields using regular\nexpressions.", +"location": "query", +"type": "string" +}, +"instanceGroupManager": { +"description": "The name of the managed instance group. The name should conform to RFC1035.", +"location": "path", +"required": true, +"type": "string" +}, +"maxResults": { +"default": "500", +"description": "The maximum number of results per page that should be returned.\nIf the number of available results is larger than `maxResults`,\nCompute Engine returns a `nextPageToken` that can be used to get\nthe next page of results in subsequent list requests. Acceptable values are\n`0` to `500`, inclusive. (Default: `500`)", +"format": "uint32", +"location": "query", +"minimum": "0", +"type": "integer" +}, +"orderBy": { +"description": "Sorts list results by a certain order. By default, results\nare returned in alphanumerical order based on the resource name.\n\nYou can also sort results in descending order based on the creation\ntimestamp using `orderBy=\"creationTimestamp desc\"`. This sorts\nresults based on the `creationTimestamp` field in\nreverse chronological order (newest result first). Use this to sort\nresources like operations so that the newest operation is returned first.\n\nCurrently, only sorting by `name` or\n`creationTimestamp desc` is supported.", +"location": "query", +"type": "string" +}, +"pageToken": { +"description": "Specifies a page token to use. Set `pageToken` to the\n`nextPageToken` returned by a previous list request to get\nthe next page of results.", +"location": "query", +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "Name of the region\nscoping this request. Name should conform to RFC1035.", +"location": "path", +"required": true, +"type": "string" +}, +"returnPartialSuccess": { +"description": "Opt-in for partial success behavior which provides partial results in case\nof failure. The default value is false.\n\nFor example, when partial success behavior is enabled, aggregatedList for a\nsingle zone scope either returns all resources in the zone or no resources,\nwith an error code.", +"location": "query", +"type": "boolean" +} +}, +"path": "projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/resizeRequests", +"response": { +"$ref": "RegionInstanceGroupManagerResizeRequestsListResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +} +} +}, +"regionInstanceGroupManagers": { +"methods": { +"abandonInstances": { +"description": "Flags the specified instances to be immediately removed from the managed\ninstance group. Abandoning an instance does not delete the\ninstance, but it does remove the instance from any target pools that are\napplied by the managed instance group. This method reduces thetargetSize of the managed instance group by the\nnumber of instances that you abandon. This operation is marked asDONE when the action is scheduled even if the instances have\nnot yet been removed from the group. You must separately verify the\nstatus of the abandoning action with thelistmanagedinstances\nmethod.\n\nIf the group is part of a backend\nservice that has enabled\nconnection draining, it can take up to 60 seconds after the connection\ndraining duration has elapsed before the VM instance is removed or deleted.\n\nYou can specify a maximum of 1000 instances with this method per request.", +"flatPath": "projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/abandonInstances", +"httpMethod": "POST", +"id": "compute.regionInstanceGroupManagers.abandonInstances", +"parameterOrder": [ +"project", +"region", +"instanceGroupManager" +], +"parameters": { +"instanceGroupManager": { +"description": "Name of the managed instance group.", +"location": "path", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "Name of the region scoping this request.", +"location": "path", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/abandonInstances", +"request": { +"$ref": "RegionInstanceGroupManagersAbandonInstancesRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"adoptInstances": { +"description": "Flags the specified instances to be adopted to the managed instance\ngroup. Adopting an instance does not change the instance status, but it\nadds the instance to any target pools that are applied by the managed\ninstance group. This method increases the targetSize of the managed\ninstance group by the number of instances that you adopt. This operation\nis marked as DONE when the action is scheduled even if the instances have\nnot been adopted to the group yet. You must separately verify the status\nof the adopting action with the listManagedInstances method.", +"flatPath": "projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/adoptInstances", +"httpMethod": "POST", +"id": "compute.regionInstanceGroupManagers.adoptInstances", +"parameterOrder": [ +"project", +"region", +"instanceGroupManager" +], +"parameters": { +"instanceGroupManager": { +"description": "Name of the managed instance group. It should conform to RFC1035 or be a\nresource ID.", +"location": "path", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "Name of the region scoping this request. It should conform to RFC1035.", +"location": "path", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/adoptInstances", +"request": { +"$ref": "RegionInstanceGroupManagersAdoptInstancesRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"applyUpdatesToInstances": { +"description": "Apply updates to selected instances the managed instance group.", +"flatPath": "projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/applyUpdatesToInstances", +"httpMethod": "POST", +"id": "compute.regionInstanceGroupManagers.applyUpdatesToInstances", +"parameterOrder": [ +"project", +"region", +"instanceGroupManager" +], +"parameters": { +"instanceGroupManager": { +"description": "The name of the managed instance group, should conform to RFC1035.", +"location": "path", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "Name of the region scoping this request, should conform to RFC1035.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/applyUpdatesToInstances", +"request": { +"$ref": "RegionInstanceGroupManagersApplyUpdatesRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"createInstances": { +"description": "Creates instances with per-instance configurations in this regional managed\ninstance group. Instances are created using the current instance template.\nThe create instances operation is marked DONE if\nthe createInstances request is successful. The underlying\nactions take additional time. You must separately verify the status of thecreating or actions with the listmanagedinstances\nmethod.", +"flatPath": "projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/createInstances", +"httpMethod": "POST", +"id": "compute.regionInstanceGroupManagers.createInstances", +"parameterOrder": [ +"project", +"region", +"instanceGroupManager" +], +"parameters": { +"instanceGroupManager": { +"description": "The name of the managed instance group.\nIt should conform to RFC1035.", +"location": "path", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "The name of theregion\nwhere the managed instance group is located.\nIt should conform to RFC1035.", +"location": "path", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/createInstances", +"request": { +"$ref": "RegionInstanceGroupManagersCreateInstancesRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"delete": { +"description": "Deletes the specified managed instance group and all of the instances\nin that group.", +"flatPath": "projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}", +"httpMethod": "DELETE", +"id": "compute.regionInstanceGroupManagers.delete", +"parameterOrder": [ +"project", +"region", +"instanceGroupManager" +], +"parameters": { +"instanceGroupManager": { +"description": "Name of the managed instance group to delete.", +"location": "path", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "Name of the region scoping this request.", +"location": "path", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"deleteInstances": { +"description": "Flags the specified instances in the managed instance group to be\nimmediately deleted. The instances are also removed from any target\npools of which they were a member. This method reduces thetargetSize of the managed instance group by the number of\ninstances that you delete.\nThe deleteInstances operation is marked DONE if\nthe deleteInstances request is successful. The underlying\nactions take additional time. You must separately verify the status of thedeleting action with thelistmanagedinstances\nmethod.\n\nIf the group is part of a backend\nservice that has enabled\nconnection draining, it can take up to 60 seconds after the connection\ndraining duration has elapsed before the VM instance is removed or deleted.\n\nYou can specify a maximum of 1000 instances with this method per request.", +"flatPath": "projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/deleteInstances", +"httpMethod": "POST", +"id": "compute.regionInstanceGroupManagers.deleteInstances", +"parameterOrder": [ +"project", +"region", +"instanceGroupManager" +], +"parameters": { +"instanceGroupManager": { +"description": "Name of the managed instance group.", +"location": "path", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "Name of the region scoping this request.", +"location": "path", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/deleteInstances", +"request": { +"$ref": "RegionInstanceGroupManagersDeleteInstancesRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"deletePerInstanceConfigs": { +"description": "Deletes selected per-instance configurations for the managed instance\ngroup.", +"flatPath": "projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/deletePerInstanceConfigs", +"httpMethod": "POST", +"id": "compute.regionInstanceGroupManagers.deletePerInstanceConfigs", +"parameterOrder": [ +"project", +"region", +"instanceGroupManager" +], +"parameters": { +"instanceGroupManager": { +"description": "The name of the managed instance group. It should conform to RFC1035.", +"location": "path", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "Name of the region scoping this request, should conform to RFC1035.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/deletePerInstanceConfigs", +"request": { +"$ref": "RegionInstanceGroupManagerDeleteInstanceConfigReq" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"get": { +"description": "Returns all of the details about the specified managed instance group.", +"flatPath": "projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}", +"httpMethod": "GET", +"id": "compute.regionInstanceGroupManagers.get", +"parameterOrder": [ +"project", +"region", +"instanceGroupManager" +], +"parameters": { +"instanceGroupManager": { +"description": "Name of the managed instance group to return.", +"location": "path", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "Name of the region scoping this request.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}", +"response": { +"$ref": "InstanceGroupManager" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"insert": { +"description": "Creates a managed instance group using the information that you specify\nin the request. After the group is created, instances in the group are\ncreated using the specified instance template.\nThis operation is marked as DONE when the group is created\neven if the instances in the group have not yet been created. You must\nseparately verify the status of the individual instances with thelistmanagedinstances\nmethod.\n\nA regional managed instance group can contain up to 2000 instances.", +"flatPath": "projects/{project}/regions/{region}/instanceGroupManagers", +"httpMethod": "POST", +"id": "compute.regionInstanceGroupManagers.insert", +"parameterOrder": [ +"project", +"region" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "Name of the region scoping this request.", +"location": "path", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "projects/{project}/regions/{region}/instanceGroupManagers", +"request": { +"$ref": "InstanceGroupManager" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"list": { +"description": "Retrieves the list of managed instance groups that are contained\nwithin the specified region.", +"flatPath": "projects/{project}/regions/{region}/instanceGroupManagers", +"httpMethod": "GET", +"id": "compute.regionInstanceGroupManagers.list", +"parameterOrder": [ +"project", +"region" +], +"parameters": { +"filter": { +"description": "A filter expression that filters resources listed in the response. Most\nCompute resources support two types of filter expressions:\nexpressions that support regular expressions and expressions that follow\nAPI improvement proposal AIP-160.\nThese two types of filter expressions cannot be mixed in one request.\n\nIf you want to use AIP-160, your expression must specify the field name, an\noperator, and the value that you want to use for filtering. The value\nmust be a string, a number, or a boolean. The operator\nmust be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.\n\nFor example, if you are filtering Compute Engine instances, you can\nexclude instances named `example-instance` by specifying\n`name != example-instance`.\n\nThe `:*` comparison can be used to test whether a key has been defined.\nFor example, to find all objects with `owner` label use:\n```\nlabels.owner:*\n```\n\nYou can also filter nested fields. For example, you could specify\n`scheduling.automaticRestart = false` to include instances only\nif they are not scheduled for automatic restarts. You can use filtering\non nested fields to filter based onresource labels.\n\nTo filter on multiple expressions, provide each separate expression within\nparentheses. For example:\n```\n(scheduling.automaticRestart = true)\n(cpuPlatform = \"Intel Skylake\")\n```\nBy default, each expression is an `AND` expression. However, you\ncan include `AND` and `OR` expressions explicitly.\nFor example:\n```\n(cpuPlatform = \"Intel Skylake\") OR\n(cpuPlatform = \"Intel Broadwell\") AND\n(scheduling.automaticRestart = true)\n```\n\nIf you want to use a regular expression, use the `eq` (equal) or `ne`\n(not equal) operator against a single un-parenthesized expression with or\nwithout quotes or against multiple parenthesized expressions. Examples:\n\n`fieldname eq unquoted literal`\n`fieldname eq 'single quoted literal'`\n`fieldname eq \"double quoted literal\"`\n`(fieldname1 eq literal) (fieldname2 ne \"literal\")`\n\nThe literal value is interpreted as a regular expression using GoogleRE2 library syntax.\nThe literal value must match the entire field.\n\nFor example, to filter for instances that do not end with name \"instance\",\nyou would use `name ne .*instance`.\n\nYou cannot combine constraints on multiple fields using regular\nexpressions.", +"location": "query", +"type": "string" +}, +"maxResults": { +"default": "500", +"description": "The maximum number of results per page that should be returned.\nIf the number of available results is larger than `maxResults`,\nCompute Engine returns a `nextPageToken` that can be used to get\nthe next page of results in subsequent list requests. Acceptable values are\n`0` to `500`, inclusive. (Default: `500`)", +"format": "uint32", +"location": "query", +"minimum": "0", +"type": "integer" +}, +"orderBy": { +"description": "Sorts list results by a certain order. By default, results\nare returned in alphanumerical order based on the resource name.\n\nYou can also sort results in descending order based on the creation\ntimestamp using `orderBy=\"creationTimestamp desc\"`. This sorts\nresults based on the `creationTimestamp` field in\nreverse chronological order (newest result first). Use this to sort\nresources like operations so that the newest operation is returned first.\n\nCurrently, only sorting by `name` or\n`creationTimestamp desc` is supported.", +"location": "query", +"type": "string" +}, +"pageToken": { +"description": "Specifies a page token to use. Set `pageToken` to the\n`nextPageToken` returned by a previous list request to get\nthe next page of results.", +"location": "query", +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "Name of the region scoping this request.", +"location": "path", +"required": true, +"type": "string" +}, +"returnPartialSuccess": { +"description": "Opt-in for partial success behavior which provides partial results in case\nof failure. The default value is false.\n\nFor example, when partial success behavior is enabled, aggregatedList for a\nsingle zone scope either returns all resources in the zone or no resources,\nwith an error code.", +"location": "query", +"type": "boolean" +} +}, +"path": "projects/{project}/regions/{region}/instanceGroupManagers", +"response": { +"$ref": "RegionInstanceGroupManagerList" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"listErrors": { +"description": "Lists all errors thrown by actions on instances for a given regional\nmanaged instance group. The filter andorderBy query parameters are not supported.", +"flatPath": "projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/listErrors", +"httpMethod": "GET", +"id": "compute.regionInstanceGroupManagers.listErrors", +"parameterOrder": [ +"project", +"region", +"instanceGroupManager" +], +"parameters": { +"filter": { +"description": "A filter expression that filters resources listed in the response. Most\nCompute resources support two types of filter expressions:\nexpressions that support regular expressions and expressions that follow\nAPI improvement proposal AIP-160.\nThese two types of filter expressions cannot be mixed in one request.\n\nIf you want to use AIP-160, your expression must specify the field name, an\noperator, and the value that you want to use for filtering. The value\nmust be a string, a number, or a boolean. The operator\nmust be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.\n\nFor example, if you are filtering Compute Engine instances, you can\nexclude instances named `example-instance` by specifying\n`name != example-instance`.\n\nThe `:*` comparison can be used to test whether a key has been defined.\nFor example, to find all objects with `owner` label use:\n```\nlabels.owner:*\n```\n\nYou can also filter nested fields. For example, you could specify\n`scheduling.automaticRestart = false` to include instances only\nif they are not scheduled for automatic restarts. You can use filtering\non nested fields to filter based onresource labels.\n\nTo filter on multiple expressions, provide each separate expression within\nparentheses. For example:\n```\n(scheduling.automaticRestart = true)\n(cpuPlatform = \"Intel Skylake\")\n```\nBy default, each expression is an `AND` expression. However, you\ncan include `AND` and `OR` expressions explicitly.\nFor example:\n```\n(cpuPlatform = \"Intel Skylake\") OR\n(cpuPlatform = \"Intel Broadwell\") AND\n(scheduling.automaticRestart = true)\n```\n\nIf you want to use a regular expression, use the `eq` (equal) or `ne`\n(not equal) operator against a single un-parenthesized expression with or\nwithout quotes or against multiple parenthesized expressions. Examples:\n\n`fieldname eq unquoted literal`\n`fieldname eq 'single quoted literal'`\n`fieldname eq \"double quoted literal\"`\n`(fieldname1 eq literal) (fieldname2 ne \"literal\")`\n\nThe literal value is interpreted as a regular expression using GoogleRE2 library syntax.\nThe literal value must match the entire field.\n\nFor example, to filter for instances that do not end with name \"instance\",\nyou would use `name ne .*instance`.\n\nYou cannot combine constraints on multiple fields using regular\nexpressions.", +"location": "query", +"type": "string" +}, +"instanceGroupManager": { +"description": "The name of the managed instance group.\nIt must be a string that meets the requirements in RFC1035, or an\nunsigned long integer: must match regexp pattern:\n(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?)|1-9{0,19}.", +"location": "path", +"required": true, +"type": "string" +}, +"maxResults": { +"default": "500", +"description": "The maximum number of results per page that should be returned.\nIf the number of available results is larger than `maxResults`,\nCompute Engine returns a `nextPageToken` that can be used to get\nthe next page of results in subsequent list requests. Acceptable values are\n`0` to `500`, inclusive. (Default: `500`)", +"format": "uint32", +"location": "query", +"minimum": "0", +"type": "integer" +}, +"orderBy": { +"description": "Sorts list results by a certain order. By default, results\nare returned in alphanumerical order based on the resource name.\n\nYou can also sort results in descending order based on the creation\ntimestamp using `orderBy=\"creationTimestamp desc\"`. This sorts\nresults based on the `creationTimestamp` field in\nreverse chronological order (newest result first). Use this to sort\nresources like operations so that the newest operation is returned first.\n\nCurrently, only sorting by `name` or\n`creationTimestamp desc` is supported.", +"location": "query", +"type": "string" +}, +"pageToken": { +"description": "Specifies a page token to use. Set `pageToken` to the\n`nextPageToken` returned by a previous list request to get\nthe next page of results.", +"location": "query", +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "Name of the region scoping this request.\nThis should conform to RFC1035.", +"location": "path", +"required": true, +"type": "string" +}, +"returnPartialSuccess": { +"description": "Opt-in for partial success behavior which provides partial results in case\nof failure. The default value is false.\n\nFor example, when partial success behavior is enabled, aggregatedList for a\nsingle zone scope either returns all resources in the zone or no resources,\nwith an error code.", +"location": "query", +"type": "boolean" +} +}, +"path": "projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/listErrors", +"response": { +"$ref": "RegionInstanceGroupManagersListErrorsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"listManagedInstances": { +"description": "Lists the instances in the managed instance group and instances that are\nscheduled to be created. The list includes any current actions\nthat the group has scheduled for its instances. The orderBy\nquery parameter is not supported. The `pageToken` query parameter is\nsupported only if the group's `listManagedInstancesResults` field is set\nto `PAGINATED`.", +"flatPath": "projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/listManagedInstances", +"httpMethod": "POST", +"id": "compute.regionInstanceGroupManagers.listManagedInstances", +"parameterOrder": [ +"project", +"region", +"instanceGroupManager" +], +"parameters": { +"filter": { +"description": "A filter expression that filters resources listed in the response. Most\nCompute resources support two types of filter expressions:\nexpressions that support regular expressions and expressions that follow\nAPI improvement proposal AIP-160.\nThese two types of filter expressions cannot be mixed in one request.\n\nIf you want to use AIP-160, your expression must specify the field name, an\noperator, and the value that you want to use for filtering. The value\nmust be a string, a number, or a boolean. The operator\nmust be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.\n\nFor example, if you are filtering Compute Engine instances, you can\nexclude instances named `example-instance` by specifying\n`name != example-instance`.\n\nThe `:*` comparison can be used to test whether a key has been defined.\nFor example, to find all objects with `owner` label use:\n```\nlabels.owner:*\n```\n\nYou can also filter nested fields. For example, you could specify\n`scheduling.automaticRestart = false` to include instances only\nif they are not scheduled for automatic restarts. You can use filtering\non nested fields to filter based onresource labels.\n\nTo filter on multiple expressions, provide each separate expression within\nparentheses. For example:\n```\n(scheduling.automaticRestart = true)\n(cpuPlatform = \"Intel Skylake\")\n```\nBy default, each expression is an `AND` expression. However, you\ncan include `AND` and `OR` expressions explicitly.\nFor example:\n```\n(cpuPlatform = \"Intel Skylake\") OR\n(cpuPlatform = \"Intel Broadwell\") AND\n(scheduling.automaticRestart = true)\n```\n\nIf you want to use a regular expression, use the `eq` (equal) or `ne`\n(not equal) operator against a single un-parenthesized expression with or\nwithout quotes or against multiple parenthesized expressions. Examples:\n\n`fieldname eq unquoted literal`\n`fieldname eq 'single quoted literal'`\n`fieldname eq \"double quoted literal\"`\n`(fieldname1 eq literal) (fieldname2 ne \"literal\")`\n\nThe literal value is interpreted as a regular expression using GoogleRE2 library syntax.\nThe literal value must match the entire field.\n\nFor example, to filter for instances that do not end with name \"instance\",\nyou would use `name ne .*instance`.\n\nYou cannot combine constraints on multiple fields using regular\nexpressions.", +"location": "query", +"type": "string" +}, +"instanceGroupManager": { +"description": "The name of the managed instance group.", +"location": "path", +"required": true, +"type": "string" +}, +"maxResults": { +"default": "500", +"description": "The maximum number of results per page that should be returned.\nIf the number of available results is larger than `maxResults`,\nCompute Engine returns a `nextPageToken` that can be used to get\nthe next page of results in subsequent list requests. Acceptable values are\n`0` to `500`, inclusive. (Default: `500`)", +"format": "uint32", +"location": "query", +"minimum": "0", +"type": "integer" +}, +"orderBy": { +"description": "Sorts list results by a certain order. By default, results\nare returned in alphanumerical order based on the resource name.\n\nYou can also sort results in descending order based on the creation\ntimestamp using `orderBy=\"creationTimestamp desc\"`. This sorts\nresults based on the `creationTimestamp` field in\nreverse chronological order (newest result first). Use this to sort\nresources like operations so that the newest operation is returned first.\n\nCurrently, only sorting by `name` or\n`creationTimestamp desc` is supported.", +"location": "query", +"type": "string" +}, +"pageToken": { +"description": "Specifies a page token to use. Set `pageToken` to the\n`nextPageToken` returned by a previous list request to get\nthe next page of results.", +"location": "query", +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "Name of the region scoping this request.", +"location": "path", +"required": true, +"type": "string" +}, +"returnPartialSuccess": { +"description": "Opt-in for partial success behavior which provides partial results in case\nof failure. The default value is false.\n\nFor example, when partial success behavior is enabled, aggregatedList for a\nsingle zone scope either returns all resources in the zone or no resources,\nwith an error code.", +"location": "query", +"type": "boolean" +} +}, +"path": "projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/listManagedInstances", +"response": { +"$ref": "RegionInstanceGroupManagersListInstancesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"listPerInstanceConfigs": { +"description": "Lists all of the per-instance configurations defined for the managed\ninstance group. The orderBy query parameter is not supported.", +"flatPath": "projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/listPerInstanceConfigs", +"httpMethod": "POST", +"id": "compute.regionInstanceGroupManagers.listPerInstanceConfigs", +"parameterOrder": [ +"project", +"region", +"instanceGroupManager" +], +"parameters": { +"filter": { +"description": "A filter expression that filters resources listed in the response. Most\nCompute resources support two types of filter expressions:\nexpressions that support regular expressions and expressions that follow\nAPI improvement proposal AIP-160.\nThese two types of filter expressions cannot be mixed in one request.\n\nIf you want to use AIP-160, your expression must specify the field name, an\noperator, and the value that you want to use for filtering. The value\nmust be a string, a number, or a boolean. The operator\nmust be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.\n\nFor example, if you are filtering Compute Engine instances, you can\nexclude instances named `example-instance` by specifying\n`name != example-instance`.\n\nThe `:*` comparison can be used to test whether a key has been defined.\nFor example, to find all objects with `owner` label use:\n```\nlabels.owner:*\n```\n\nYou can also filter nested fields. For example, you could specify\n`scheduling.automaticRestart = false` to include instances only\nif they are not scheduled for automatic restarts. You can use filtering\non nested fields to filter based onresource labels.\n\nTo filter on multiple expressions, provide each separate expression within\nparentheses. For example:\n```\n(scheduling.automaticRestart = true)\n(cpuPlatform = \"Intel Skylake\")\n```\nBy default, each expression is an `AND` expression. However, you\ncan include `AND` and `OR` expressions explicitly.\nFor example:\n```\n(cpuPlatform = \"Intel Skylake\") OR\n(cpuPlatform = \"Intel Broadwell\") AND\n(scheduling.automaticRestart = true)\n```\n\nIf you want to use a regular expression, use the `eq` (equal) or `ne`\n(not equal) operator against a single un-parenthesized expression with or\nwithout quotes or against multiple parenthesized expressions. Examples:\n\n`fieldname eq unquoted literal`\n`fieldname eq 'single quoted literal'`\n`fieldname eq \"double quoted literal\"`\n`(fieldname1 eq literal) (fieldname2 ne \"literal\")`\n\nThe literal value is interpreted as a regular expression using GoogleRE2 library syntax.\nThe literal value must match the entire field.\n\nFor example, to filter for instances that do not end with name \"instance\",\nyou would use `name ne .*instance`.\n\nYou cannot combine constraints on multiple fields using regular\nexpressions.", +"location": "query", +"type": "string" +}, +"instanceGroupManager": { +"description": "The name of the managed instance group. It should conform to RFC1035.", +"location": "path", +"required": true, +"type": "string" +}, +"maxResults": { +"default": "500", +"description": "The maximum number of results per page that should be returned.\nIf the number of available results is larger than `maxResults`,\nCompute Engine returns a `nextPageToken` that can be used to get\nthe next page of results in subsequent list requests. Acceptable values are\n`0` to `500`, inclusive. (Default: `500`)", +"format": "uint32", +"location": "query", +"minimum": "0", +"type": "integer" +}, +"orderBy": { +"description": "Sorts list results by a certain order. By default, results\nare returned in alphanumerical order based on the resource name.\n\nYou can also sort results in descending order based on the creation\ntimestamp using `orderBy=\"creationTimestamp desc\"`. This sorts\nresults based on the `creationTimestamp` field in\nreverse chronological order (newest result first). Use this to sort\nresources like operations so that the newest operation is returned first.\n\nCurrently, only sorting by `name` or\n`creationTimestamp desc` is supported.", +"location": "query", +"type": "string" +}, +"pageToken": { +"description": "Specifies a page token to use. Set `pageToken` to the\n`nextPageToken` returned by a previous list request to get\nthe next page of results.", +"location": "query", +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "Name of the region scoping this request, should conform to RFC1035.", +"location": "path", +"required": true, +"type": "string" +}, +"returnPartialSuccess": { +"description": "Opt-in for partial success behavior which provides partial results in case\nof failure. The default value is false.\n\nFor example, when partial success behavior is enabled, aggregatedList for a\nsingle zone scope either returns all resources in the zone or no resources,\nwith an error code.", +"location": "query", +"type": "boolean" +} +}, +"path": "projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/listPerInstanceConfigs", +"response": { +"$ref": "RegionInstanceGroupManagersListInstanceConfigsResp" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"patch": { +"description": "Updates a managed instance group using the information that you specify\nin the request.\nThis operation is marked as DONE when the group is patched\neven if the instances in the group are still in the process of being\npatched. You must separately verify the status of the individual instances\nwith the listmanagedinstances\nmethod. This method supportsPATCH\nsemantics and uses theJSON merge\npatch format and processing rules.\n\nIf you update your group to specify a new template or instance\nconfiguration, it's possible that your intended specification for each VM\nin the group is different from the current state of that VM. To learn how\nto apply an updated configuration to the VMs in a MIG, seeUpdating instances in\na MIG.", +"flatPath": "projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}", +"httpMethod": "PATCH", +"id": "compute.regionInstanceGroupManagers.patch", +"parameterOrder": [ +"project", +"region", +"instanceGroupManager" +], +"parameters": { +"instanceGroupManager": { +"description": "The name of the instance group manager.", +"location": "path", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "Name of the region scoping this request.", +"location": "path", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}", +"request": { +"$ref": "InstanceGroupManager" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"patchPerInstanceConfigs": { +"description": "Inserts or patches per-instance configurations for the managed instance\ngroup. perInstanceConfig.name serves as a key used to\ndistinguish whether to perform insert or patch.", +"flatPath": "projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/patchPerInstanceConfigs", +"httpMethod": "POST", +"id": "compute.regionInstanceGroupManagers.patchPerInstanceConfigs", +"parameterOrder": [ +"project", +"region", +"instanceGroupManager" +], +"parameters": { +"instanceGroupManager": { +"description": "The name of the managed instance group.\nIt should conform to RFC1035.", +"location": "path", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "Name of the region scoping this request, should conform to RFC1035.", +"location": "path", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/patchPerInstanceConfigs", +"request": { +"$ref": "RegionInstanceGroupManagerPatchInstanceConfigReq" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"recreateInstances": { +"description": "Flags the specified VM instances in the managed instance group to be\nimmediately recreated. Each instance is recreated using the group's current\nconfiguration. This operation is marked as DONE when the flag\nis set even if the instances have not yet been recreated. You must\nseparately verify the status of each instance by checking itscurrentAction field; for more information, see Checking\nthe status of managed instances.\n\nIf the group is part of a backend\nservice that has enabled\nconnection draining, it can take up to 60 seconds after the connection\ndraining duration has elapsed before the VM instance is removed or deleted.\n\nYou can specify a maximum of 1000 instances with this method per request.", +"flatPath": "projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/recreateInstances", +"httpMethod": "POST", +"id": "compute.regionInstanceGroupManagers.recreateInstances", +"parameterOrder": [ +"project", +"region", +"instanceGroupManager" +], +"parameters": { +"instanceGroupManager": { +"description": "Name of the managed instance group.", +"location": "path", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "Name of the region scoping this request.", +"location": "path", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/recreateInstances", +"request": { +"$ref": "RegionInstanceGroupManagersRecreateRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"resize": { +"description": "Changes the intended size of the managed instance group. If you increase\nthe size, the group creates new instances using the current instance\ntemplate. If you decrease the size, the group deletes one or more\ninstances.\n\nThe resize operation is marked DONE if theresize request is successful. The underlying actions take\nadditional time. You must separately verify the status of thecreating or deleting actions with thelistmanagedinstances\nmethod.\n\nIf the group is part of a backend\nservice that has enabled\nconnection draining, it can take up to 60 seconds after the connection\ndraining duration has elapsed before the VM instance is removed or deleted.", +"flatPath": "projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/resize", +"httpMethod": "POST", +"id": "compute.regionInstanceGroupManagers.resize", +"parameterOrder": [ +"project", +"region", +"instanceGroupManager", +"size" +], +"parameters": { +"instanceGroupManager": { +"description": "Name of the managed instance group.", +"location": "path", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "Name of the region scoping this request.", +"location": "path", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"size": { +"description": "Number of instances that should exist in this instance group\nmanager.", +"format": "int32", +"location": "query", +"minimum": "0", +"required": true, +"type": "integer" +} +}, +"path": "projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/resize", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"resizeAdvanced": { +"description": "Resizes the regional managed instance group with advanced configuration\noptions like disabling creation retries. This is an extended version of theresize method.\n\nIf you increase the size, the group creates new instances using the current\ninstance template. If you decrease the size, the group deletes one or more\ninstances.\n\nThe resize operation is marked DONE if theresize request is successful. The underlying actions take\nadditional time. You must separately verify the status of thecreating or deleting actions with the get\norlistmanagedinstances\nmethod.\n\nIf the group is part of a backend\nservice that has enabled\nconnection draining, it can take up to 60 seconds after the connection\ndraining duration has elapsed before the VM instance is removed or deleted.", +"flatPath": "projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/resizeAdvanced", +"httpMethod": "POST", +"id": "compute.regionInstanceGroupManagers.resizeAdvanced", +"parameterOrder": [ +"project", +"region", +"instanceGroupManager" +], +"parameters": { +"instanceGroupManager": { +"description": "The name of the managed instance group.\nIt must be a string that meets the requirements in RFC1035.", +"location": "path", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "Name of the region scoping this request.\nIt must be a string that meets the requirements in RFC1035.", +"location": "path", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/resizeAdvanced", +"request": { +"$ref": "RegionInstanceGroupManagersResizeAdvancedRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"resumeInstances": { +"description": "Flags the specified instances in the managed instance group to be\nresumed. This method increases thetargetSize and decreases the targetSuspendedSize\nof the managed instance group by the number of instances that you resume.\nThe resumeInstances operation is marked DONE if\nthe resumeInstances request is successful. The underlying\nactions take additional time. You must separately verify the status of theRESUMING action with thelistmanagedinstances\nmethod.\n\nIn this request, you can only specify instances that are suspended. For\nexample, if an instance was previously suspended using the suspendInstances\nmethod, it can be resumed using the resumeInstances method.\n\nIf a health check is attached to the managed instance group, the specified\ninstances will be verified as healthy after they are resumed.\n\nYou can specify a maximum of 1000 instances with this method per request.", +"flatPath": "projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/resumeInstances", +"httpMethod": "POST", +"id": "compute.regionInstanceGroupManagers.resumeInstances", +"parameterOrder": [ +"project", +"region", +"instanceGroupManager" +], +"parameters": { +"instanceGroupManager": { +"description": "Name of the managed instance group.", +"location": "path", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "Name of the region scoping this request.", +"location": "path", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/resumeInstances", +"request": { +"$ref": "RegionInstanceGroupManagersResumeInstancesRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"setAutoHealingPolicies": { +"deprecated": true, +"description": "Modifies the autohealing policy for the instances in this managed\ninstance group.\n[Deprecated] This method is deprecated. UseregionInstanceGroupManagers.patch instead.", +"flatPath": "projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/setAutoHealingPolicies", +"httpMethod": "POST", +"id": "compute.regionInstanceGroupManagers.setAutoHealingPolicies", +"parameterOrder": [ +"project", +"region", +"instanceGroupManager" +], +"parameters": { +"instanceGroupManager": { +"description": "Name of the managed instance group.", +"location": "path", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "Name of the region scoping this request.", +"location": "path", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/setAutoHealingPolicies", +"request": { +"$ref": "RegionInstanceGroupManagersSetAutoHealingRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"setInstanceTemplate": { +"description": "Sets the instance template to use when creating new instances or recreating\ninstances in this group. Existing instances are not affected.", +"flatPath": "projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/setInstanceTemplate", +"httpMethod": "POST", +"id": "compute.regionInstanceGroupManagers.setInstanceTemplate", +"parameterOrder": [ +"project", +"region", +"instanceGroupManager" +], +"parameters": { +"instanceGroupManager": { +"description": "The name of the managed instance group.", +"location": "path", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "Name of the region scoping this request.", +"location": "path", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/setInstanceTemplate", +"request": { +"$ref": "RegionInstanceGroupManagersSetTemplateRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"setTargetPools": { +"description": "Modifies the target pools to which all new instances in this group are\nassigned. Existing instances in the group are not affected.", +"flatPath": "projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/setTargetPools", +"httpMethod": "POST", +"id": "compute.regionInstanceGroupManagers.setTargetPools", +"parameterOrder": [ +"project", +"region", +"instanceGroupManager" +], +"parameters": { +"instanceGroupManager": { +"description": "Name of the managed instance group.", +"location": "path", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "Name of the region scoping this request.", +"location": "path", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/setTargetPools", +"request": { +"$ref": "RegionInstanceGroupManagersSetTargetPoolsRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"startInstances": { +"description": "Flags the specified instances in the managed instance group to be\nstarted. This method increases thetargetSize and decreases the targetStoppedSize\nof the managed instance group by the number of instances that you start.\nThe startInstances operation is marked DONE if\nthe startInstances request is successful. The underlying\nactions take additional time. You must separately verify the status of theSTARTING action with thelistmanagedinstances\nmethod.\n\nIn this request, you can only specify instances that are stopped. For\nexample, if an instance was previously stopped using the stopInstances\nmethod, it can be started using the startInstances method.\n\nIf a health check is attached to the managed instance group, the specified\ninstances will be verified as healthy after they are started.\n\nYou can specify a maximum of 1000 instances with this method per request.", +"flatPath": "projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/startInstances", +"httpMethod": "POST", +"id": "compute.regionInstanceGroupManagers.startInstances", +"parameterOrder": [ +"project", +"region", +"instanceGroupManager" +], +"parameters": { +"instanceGroupManager": { +"description": "Name of the managed instance group.", +"location": "path", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "Name of the region scoping this request.", +"location": "path", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/startInstances", +"request": { +"$ref": "RegionInstanceGroupManagersStartInstancesRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"stopInstances": { +"description": "Flags the specified instances in the managed instance group to be\nimmediately stopped. You can only specify instances that are running in\nthis request. This method reduces thetargetSize and increases the targetStoppedSize\nof the managed instance group by the number of instances that you stop.\nThe stopInstances operation is marked DONE if\nthe stopInstances request is successful. The underlying\nactions take additional time. You must separately verify the status of theSTOPPING action with thelistmanagedinstances\nmethod.\n\nIf the standbyPolicy.initialDelaySec field is set, the group\ndelays stopping the instances until initialDelaySec have\npassed from instance.creationTimestamp (that is, when the\ninstance was created). This delay gives your application time to\nset itself up and initialize on the instance. If more thaninitialDelaySec seconds have passed sinceinstance.creationTimestamp when this method is called, there\nwill be zero delay.\n\nIf the group is part of a backend\nservice that has enabled\nconnection draining, it can take up to 60 seconds after the connection\ndraining duration has elapsed before the VM instance is stopped.\n\nStopped instances can be started using the startInstances\nmethod.\n\nYou can specify a maximum of 1000 instances with this method per request.", +"flatPath": "projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/stopInstances", +"httpMethod": "POST", +"id": "compute.regionInstanceGroupManagers.stopInstances", +"parameterOrder": [ +"project", +"region", +"instanceGroupManager" +], +"parameters": { +"instanceGroupManager": { +"description": "The name of the managed instance group.", +"location": "path", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "Name of the region scoping this request.", +"location": "path", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/stopInstances", +"request": { +"$ref": "RegionInstanceGroupManagersStopInstancesRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"suspendInstances": { +"description": "Flags the specified instances in the managed instance group to be\nimmediately suspended. You can only specify instances that are running in\nthis request. This method reduces thetargetSize and increases the targetSuspendedSize\nof the managed instance group by the number of instances that you suspend.\nThe suspendInstances operation is marked DONE if\nthe suspendInstances request is successful. The underlying\nactions take additional time. You must separately verify the status of theSUSPENDING action with thelistmanagedinstances\nmethod.\n\nIf the standbyPolicy.initialDelaySec field is set, the group\ndelays suspension of the instances until initialDelaySec have\npassed from instance.creationTimestamp (that is, when the\ninstance was created). This delay gives your application time to\nset itself up and initialize on the instance. If more thaninitialDelaySec seconds have passed sinceinstance.creationTimestamp when this method is called, there\nwill be zero delay.\n\nIf the group is part of a backend\nservice that has enabled\nconnection draining, it can take up to 60 seconds after the connection\ndraining duration has elapsed before the VM instance is suspended.\n\nSuspended instances can be resumed using the resumeInstances\nmethod.\n\nYou can specify a maximum of 1000 instances with this method per request.", +"flatPath": "projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/suspendInstances", +"httpMethod": "POST", +"id": "compute.regionInstanceGroupManagers.suspendInstances", +"parameterOrder": [ +"project", +"region", +"instanceGroupManager" +], +"parameters": { +"instanceGroupManager": { +"description": "Name of the managed instance group.", +"location": "path", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "Name of the region scoping this request.", +"location": "path", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/suspendInstances", +"request": { +"$ref": "RegionInstanceGroupManagersSuspendInstancesRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"testIamPermissions": { +"description": "Returns permissions that a caller has on the specified resource.", +"flatPath": "projects/{project}/regions/{region}/instanceGroupManagers/{resource}/testIamPermissions", +"httpMethod": "POST", +"id": "compute.regionInstanceGroupManagers.testIamPermissions", +"parameterOrder": [ +"project", +"region", +"resource" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "The name of the region for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +}, +"resource": { +"description": "Name or id of the resource for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/regions/{region}/instanceGroupManagers/{resource}/testIamPermissions", +"request": { +"$ref": "TestPermissionsRequest" +}, +"response": { +"$ref": "TestPermissionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"update": { +"description": "Updates a managed instance group using the information that you specify\nin the request.\nThis operation is marked as DONE when the group is updated\neven if the instances in the group have not yet been updated. You must\nseparately verify the status of the individual instances with thelistmanagedinstances\nmethod.\n\nIf you update your group to specify a new template or instance\nconfiguration, it's possible that your intended specification for each VM\nin the group is different from the current state of that VM. To learn how\nto apply an updated configuration to the VMs in a MIG, seeUpdating instances in\na MIG.", +"flatPath": "projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}", +"httpMethod": "PUT", +"id": "compute.regionInstanceGroupManagers.update", +"parameterOrder": [ +"project", +"region", +"instanceGroupManager" +], +"parameters": { +"instanceGroupManager": { +"description": "The name of the instance group manager.", +"location": "path", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "Name of the region scoping this request.", +"location": "path", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}", +"request": { +"$ref": "InstanceGroupManager" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"updatePerInstanceConfigs": { +"description": "Inserts or updates per-instance configurations for the managed instance\ngroup. perInstanceConfig.name serves as a key used to\ndistinguish whether to perform insert or patch.", +"flatPath": "projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/updatePerInstanceConfigs", +"httpMethod": "POST", +"id": "compute.regionInstanceGroupManagers.updatePerInstanceConfigs", +"parameterOrder": [ +"project", +"region", +"instanceGroupManager" +], +"parameters": { +"instanceGroupManager": { +"description": "The name of the managed instance group.\nIt should conform to RFC1035.", +"location": "path", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "Name of the region scoping this request, should conform to RFC1035.", +"location": "path", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/updatePerInstanceConfigs", +"request": { +"$ref": "RegionInstanceGroupManagerUpdateInstanceConfigReq" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +} +} +}, +"regionInstanceGroups": { +"methods": { +"get": { +"description": "Returns the specified instance group resource.", +"flatPath": "projects/{project}/regions/{region}/instanceGroups/{instanceGroup}", +"httpMethod": "GET", +"id": "compute.regionInstanceGroups.get", +"parameterOrder": [ +"project", +"region", +"instanceGroup" +], +"parameters": { +"instanceGroup": { +"description": "Name of the instance group resource to return.", +"location": "path", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "Name of the region scoping this request.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/regions/{region}/instanceGroups/{instanceGroup}", +"response": { +"$ref": "InstanceGroup" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"list": { +"description": "Retrieves the list of instance group resources contained within\nthe specified region.", +"flatPath": "projects/{project}/regions/{region}/instanceGroups", +"httpMethod": "GET", +"id": "compute.regionInstanceGroups.list", +"parameterOrder": [ +"project", +"region" +], +"parameters": { +"filter": { +"description": "A filter expression that filters resources listed in the response. Most\nCompute resources support two types of filter expressions:\nexpressions that support regular expressions and expressions that follow\nAPI improvement proposal AIP-160.\nThese two types of filter expressions cannot be mixed in one request.\n\nIf you want to use AIP-160, your expression must specify the field name, an\noperator, and the value that you want to use for filtering. The value\nmust be a string, a number, or a boolean. The operator\nmust be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.\n\nFor example, if you are filtering Compute Engine instances, you can\nexclude instances named `example-instance` by specifying\n`name != example-instance`.\n\nThe `:*` comparison can be used to test whether a key has been defined.\nFor example, to find all objects with `owner` label use:\n```\nlabels.owner:*\n```\n\nYou can also filter nested fields. For example, you could specify\n`scheduling.automaticRestart = false` to include instances only\nif they are not scheduled for automatic restarts. You can use filtering\non nested fields to filter based onresource labels.\n\nTo filter on multiple expressions, provide each separate expression within\nparentheses. For example:\n```\n(scheduling.automaticRestart = true)\n(cpuPlatform = \"Intel Skylake\")\n```\nBy default, each expression is an `AND` expression. However, you\ncan include `AND` and `OR` expressions explicitly.\nFor example:\n```\n(cpuPlatform = \"Intel Skylake\") OR\n(cpuPlatform = \"Intel Broadwell\") AND\n(scheduling.automaticRestart = true)\n```\n\nIf you want to use a regular expression, use the `eq` (equal) or `ne`\n(not equal) operator against a single un-parenthesized expression with or\nwithout quotes or against multiple parenthesized expressions. Examples:\n\n`fieldname eq unquoted literal`\n`fieldname eq 'single quoted literal'`\n`fieldname eq \"double quoted literal\"`\n`(fieldname1 eq literal) (fieldname2 ne \"literal\")`\n\nThe literal value is interpreted as a regular expression using GoogleRE2 library syntax.\nThe literal value must match the entire field.\n\nFor example, to filter for instances that do not end with name \"instance\",\nyou would use `name ne .*instance`.\n\nYou cannot combine constraints on multiple fields using regular\nexpressions.", +"location": "query", +"type": "string" +}, +"maxResults": { +"default": "500", +"description": "The maximum number of results per page that should be returned.\nIf the number of available results is larger than `maxResults`,\nCompute Engine returns a `nextPageToken` that can be used to get\nthe next page of results in subsequent list requests. Acceptable values are\n`0` to `500`, inclusive. (Default: `500`)", +"format": "uint32", +"location": "query", +"minimum": "0", +"type": "integer" +}, +"orderBy": { +"description": "Sorts list results by a certain order. By default, results\nare returned in alphanumerical order based on the resource name.\n\nYou can also sort results in descending order based on the creation\ntimestamp using `orderBy=\"creationTimestamp desc\"`. This sorts\nresults based on the `creationTimestamp` field in\nreverse chronological order (newest result first). Use this to sort\nresources like operations so that the newest operation is returned first.\n\nCurrently, only sorting by `name` or\n`creationTimestamp desc` is supported.", +"location": "query", +"type": "string" +}, +"pageToken": { +"description": "Specifies a page token to use. Set `pageToken` to the\n`nextPageToken` returned by a previous list request to get\nthe next page of results.", +"location": "query", +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "Name of the region scoping this request.", +"location": "path", +"required": true, +"type": "string" +}, +"returnPartialSuccess": { +"description": "Opt-in for partial success behavior which provides partial results in case\nof failure. The default value is false.\n\nFor example, when partial success behavior is enabled, aggregatedList for a\nsingle zone scope either returns all resources in the zone or no resources,\nwith an error code.", +"location": "query", +"type": "boolean" +} +}, +"path": "projects/{project}/regions/{region}/instanceGroups", +"response": { +"$ref": "RegionInstanceGroupList" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"listInstances": { +"description": "Lists the instances in the specified instance group and displays\ninformation about the named ports. Depending on the specified options, this\nmethod can list all instances or only the instances that are running.\nThe orderBy query parameter is not supported.", +"flatPath": "projects/{project}/regions/{region}/instanceGroups/{instanceGroup}/listInstances", +"httpMethod": "POST", +"id": "compute.regionInstanceGroups.listInstances", +"parameterOrder": [ +"project", +"region", +"instanceGroup" +], +"parameters": { +"filter": { +"description": "A filter expression that filters resources listed in the response. Most\nCompute resources support two types of filter expressions:\nexpressions that support regular expressions and expressions that follow\nAPI improvement proposal AIP-160.\nThese two types of filter expressions cannot be mixed in one request.\n\nIf you want to use AIP-160, your expression must specify the field name, an\noperator, and the value that you want to use for filtering. The value\nmust be a string, a number, or a boolean. The operator\nmust be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.\n\nFor example, if you are filtering Compute Engine instances, you can\nexclude instances named `example-instance` by specifying\n`name != example-instance`.\n\nThe `:*` comparison can be used to test whether a key has been defined.\nFor example, to find all objects with `owner` label use:\n```\nlabels.owner:*\n```\n\nYou can also filter nested fields. For example, you could specify\n`scheduling.automaticRestart = false` to include instances only\nif they are not scheduled for automatic restarts. You can use filtering\non nested fields to filter based onresource labels.\n\nTo filter on multiple expressions, provide each separate expression within\nparentheses. For example:\n```\n(scheduling.automaticRestart = true)\n(cpuPlatform = \"Intel Skylake\")\n```\nBy default, each expression is an `AND` expression. However, you\ncan include `AND` and `OR` expressions explicitly.\nFor example:\n```\n(cpuPlatform = \"Intel Skylake\") OR\n(cpuPlatform = \"Intel Broadwell\") AND\n(scheduling.automaticRestart = true)\n```\n\nIf you want to use a regular expression, use the `eq` (equal) or `ne`\n(not equal) operator against a single un-parenthesized expression with or\nwithout quotes or against multiple parenthesized expressions. Examples:\n\n`fieldname eq unquoted literal`\n`fieldname eq 'single quoted literal'`\n`fieldname eq \"double quoted literal\"`\n`(fieldname1 eq literal) (fieldname2 ne \"literal\")`\n\nThe literal value is interpreted as a regular expression using GoogleRE2 library syntax.\nThe literal value must match the entire field.\n\nFor example, to filter for instances that do not end with name \"instance\",\nyou would use `name ne .*instance`.\n\nYou cannot combine constraints on multiple fields using regular\nexpressions.", +"location": "query", +"type": "string" +}, +"instanceGroup": { +"description": "Name of the regional instance group for which we want to list the\ninstances.", +"location": "path", +"required": true, +"type": "string" +}, +"maxResults": { +"default": "500", +"description": "The maximum number of results per page that should be returned.\nIf the number of available results is larger than `maxResults`,\nCompute Engine returns a `nextPageToken` that can be used to get\nthe next page of results in subsequent list requests. Acceptable values are\n`0` to `500`, inclusive. (Default: `500`)", +"format": "uint32", +"location": "query", +"minimum": "0", +"type": "integer" +}, +"orderBy": { +"description": "Sorts list results by a certain order. By default, results\nare returned in alphanumerical order based on the resource name.\n\nYou can also sort results in descending order based on the creation\ntimestamp using `orderBy=\"creationTimestamp desc\"`. This sorts\nresults based on the `creationTimestamp` field in\nreverse chronological order (newest result first). Use this to sort\nresources like operations so that the newest operation is returned first.\n\nCurrently, only sorting by `name` or\n`creationTimestamp desc` is supported.", +"location": "query", +"type": "string" +}, +"pageToken": { +"description": "Specifies a page token to use. Set `pageToken` to the\n`nextPageToken` returned by a previous list request to get\nthe next page of results.", +"location": "query", +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "Name of the region scoping this request.", +"location": "path", +"required": true, +"type": "string" +}, +"returnPartialSuccess": { +"description": "Opt-in for partial success behavior which provides partial results in case\nof failure. The default value is false.\n\nFor example, when partial success behavior is enabled, aggregatedList for a\nsingle zone scope either returns all resources in the zone or no resources,\nwith an error code.", +"location": "query", +"type": "boolean" +} +}, +"path": "projects/{project}/regions/{region}/instanceGroups/{instanceGroup}/listInstances", +"request": { +"$ref": "RegionInstanceGroupsListInstancesRequest" +}, +"response": { +"$ref": "RegionInstanceGroupsListInstances" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"setNamedPorts": { +"description": "Sets the named ports for the specified regional instance group.", +"flatPath": "projects/{project}/regions/{region}/instanceGroups/{instanceGroup}/setNamedPorts", +"httpMethod": "POST", +"id": "compute.regionInstanceGroups.setNamedPorts", +"parameterOrder": [ +"project", +"region", +"instanceGroup" +], +"parameters": { +"instanceGroup": { +"description": "The name of the regional instance group where the named ports are updated.", +"location": "path", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "Name of the region scoping this request.", +"location": "path", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "projects/{project}/regions/{region}/instanceGroups/{instanceGroup}/setNamedPorts", +"request": { +"$ref": "RegionInstanceGroupsSetNamedPortsRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"testIamPermissions": { +"description": "Returns permissions that a caller has on the specified resource.", +"flatPath": "projects/{project}/regions/{region}/instanceGroups/{resource}/testIamPermissions", +"httpMethod": "POST", +"id": "compute.regionInstanceGroups.testIamPermissions", +"parameterOrder": [ +"project", +"region", +"resource" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "The name of the region for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +}, +"resource": { +"description": "Name or id of the resource for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/regions/{region}/instanceGroups/{resource}/testIamPermissions", +"request": { +"$ref": "TestPermissionsRequest" +}, +"response": { +"$ref": "TestPermissionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +} +} +}, +"regionInstanceTemplates": { +"methods": { +"delete": { +"description": "Deletes the specified instance template. Deleting an instance template is\npermanent and cannot be undone.", +"flatPath": "projects/{project}/regions/{region}/instanceTemplates/{instanceTemplate}", +"httpMethod": "DELETE", +"id": "compute.regionInstanceTemplates.delete", +"parameterOrder": [ +"project", +"region", +"instanceTemplate" +], +"parameters": { +"instanceTemplate": { +"description": "The name of the instance template to delete.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "The name of the region for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "projects/{project}/regions/{region}/instanceTemplates/{instanceTemplate}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"get": { +"description": "Returns the specified instance template.", +"flatPath": "projects/{project}/regions/{region}/instanceTemplates/{instanceTemplate}", +"httpMethod": "GET", +"id": "compute.regionInstanceTemplates.get", +"parameterOrder": [ +"project", +"region", +"instanceTemplate" +], +"parameters": { +"instanceTemplate": { +"description": "The name of the instance template.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "The name of the region for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +}, +"view": { +"description": "View of the instance template.", +"enum": [ +"BASIC", +"FULL", +"INSTANCE_VIEW_UNSPECIFIED" +], +"enumDescriptions": [ +"Include everything except Partner Metadata.", +"Include everything.", +"The default / unset value. The API will default to the BASIC view." +], +"location": "query", +"type": "string" +} +}, +"path": "projects/{project}/regions/{region}/instanceTemplates/{instanceTemplate}", +"response": { +"$ref": "InstanceTemplate" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"insert": { +"description": "Creates an instance template in the specified project and region using the\nglobal instance template whose URL is included in the request.", +"flatPath": "projects/{project}/regions/{region}/instanceTemplates", +"httpMethod": "POST", +"id": "compute.regionInstanceTemplates.insert", +"parameterOrder": [ +"project", +"region" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "The name of the region for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "projects/{project}/regions/{region}/instanceTemplates", +"request": { +"$ref": "InstanceTemplate" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"list": { +"description": "Retrieves a list of instance templates that are contained within the\nspecified project and region.", +"flatPath": "projects/{project}/regions/{region}/instanceTemplates", +"httpMethod": "GET", +"id": "compute.regionInstanceTemplates.list", +"parameterOrder": [ +"project", +"region" +], +"parameters": { +"filter": { +"description": "A filter expression that filters resources listed in the response. Most\nCompute resources support two types of filter expressions:\nexpressions that support regular expressions and expressions that follow\nAPI improvement proposal AIP-160.\nThese two types of filter expressions cannot be mixed in one request.\n\nIf you want to use AIP-160, your expression must specify the field name, an\noperator, and the value that you want to use for filtering. The value\nmust be a string, a number, or a boolean. The operator\nmust be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.\n\nFor example, if you are filtering Compute Engine instances, you can\nexclude instances named `example-instance` by specifying\n`name != example-instance`.\n\nThe `:*` comparison can be used to test whether a key has been defined.\nFor example, to find all objects with `owner` label use:\n```\nlabels.owner:*\n```\n\nYou can also filter nested fields. For example, you could specify\n`scheduling.automaticRestart = false` to include instances only\nif they are not scheduled for automatic restarts. You can use filtering\non nested fields to filter based onresource labels.\n\nTo filter on multiple expressions, provide each separate expression within\nparentheses. For example:\n```\n(scheduling.automaticRestart = true)\n(cpuPlatform = \"Intel Skylake\")\n```\nBy default, each expression is an `AND` expression. However, you\ncan include `AND` and `OR` expressions explicitly.\nFor example:\n```\n(cpuPlatform = \"Intel Skylake\") OR\n(cpuPlatform = \"Intel Broadwell\") AND\n(scheduling.automaticRestart = true)\n```\n\nIf you want to use a regular expression, use the `eq` (equal) or `ne`\n(not equal) operator against a single un-parenthesized expression with or\nwithout quotes or against multiple parenthesized expressions. Examples:\n\n`fieldname eq unquoted literal`\n`fieldname eq 'single quoted literal'`\n`fieldname eq \"double quoted literal\"`\n`(fieldname1 eq literal) (fieldname2 ne \"literal\")`\n\nThe literal value is interpreted as a regular expression using GoogleRE2 library syntax.\nThe literal value must match the entire field.\n\nFor example, to filter for instances that do not end with name \"instance\",\nyou would use `name ne .*instance`.\n\nYou cannot combine constraints on multiple fields using regular\nexpressions.", +"location": "query", +"type": "string" +}, +"maxResults": { +"default": "500", +"description": "The maximum number of results per page that should be returned.\nIf the number of available results is larger than `maxResults`,\nCompute Engine returns a `nextPageToken` that can be used to get\nthe next page of results in subsequent list requests. Acceptable values are\n`0` to `500`, inclusive. (Default: `500`)", +"format": "uint32", +"location": "query", +"minimum": "0", +"type": "integer" +}, +"orderBy": { +"description": "Sorts list results by a certain order. By default, results\nare returned in alphanumerical order based on the resource name.\n\nYou can also sort results in descending order based on the creation\ntimestamp using `orderBy=\"creationTimestamp desc\"`. This sorts\nresults based on the `creationTimestamp` field in\nreverse chronological order (newest result first). Use this to sort\nresources like operations so that the newest operation is returned first.\n\nCurrently, only sorting by `name` or\n`creationTimestamp desc` is supported.", +"location": "query", +"type": "string" +}, +"pageToken": { +"description": "Specifies a page token to use. Set `pageToken` to the\n`nextPageToken` returned by a previous list request to get\nthe next page of results.", +"location": "query", +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "The name of the regions for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +}, +"returnPartialSuccess": { +"description": "Opt-in for partial success behavior which provides partial results in case\nof failure. The default value is false.\n\nFor example, when partial success behavior is enabled, aggregatedList for a\nsingle zone scope either returns all resources in the zone or no resources,\nwith an error code.", +"location": "query", +"type": "boolean" +}, +"view": { +"description": "View of the instance template.", +"enum": [ +"BASIC", +"FULL", +"INSTANCE_VIEW_UNSPECIFIED" +], +"enumDescriptions": [ +"Include everything except Partner Metadata.", +"Include everything.", +"The default / unset value. The API will default to the BASIC view." +], +"location": "query", +"type": "string" +} +}, +"path": "projects/{project}/regions/{region}/instanceTemplates", +"response": { +"$ref": "InstanceTemplateList" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +} +} +}, +"regionInstances": { +"methods": { +"bulkInsert": { +"description": "Creates multiple instances in a given region. Count specifies the number of\ninstances to create.", +"flatPath": "projects/{project}/regions/{region}/instances/bulkInsert", +"httpMethod": "POST", +"id": "compute.regionInstances.bulkInsert", +"parameterOrder": [ +"project", +"region" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "The name of the region for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "projects/{project}/regions/{region}/instances/bulkInsert", +"request": { +"$ref": "BulkInsertInstanceResource" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +} +} +}, +"regionInstantSnapshotGroups": { +"methods": { +"delete": { +"description": "deletes a Regional InstantSnapshotGroup resource", +"flatPath": "projects/{project}/regions/{region}/instantSnapshotGroups/{instantSnapshotGroup}", +"httpMethod": "DELETE", +"id": "compute.regionInstantSnapshotGroups.delete", +"parameterOrder": [ +"project", +"region", +"instantSnapshotGroup" +], +"parameters": { +"instantSnapshotGroup": { +"description": "Name of the InstantSnapshotGroup resource to delete.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "The name of the region for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "projects/{project}/regions/{region}/instantSnapshotGroups/{instantSnapshotGroup}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"get": { +"description": "returns the specified InstantSnapshotGroup resource in the specified\nregion.", +"flatPath": "projects/{project}/regions/{region}/instantSnapshotGroups/{instantSnapshotGroup}", +"httpMethod": "GET", +"id": "compute.regionInstantSnapshotGroups.get", +"parameterOrder": [ +"project", +"region", +"instantSnapshotGroup" +], +"parameters": { +"instantSnapshotGroup": { +"description": "Name of the InstantSnapshotGroup resource to return.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "The name of the region for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/regions/{region}/instantSnapshotGroups/{instantSnapshotGroup}", +"response": { +"$ref": "InstantSnapshotGroup" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"getIamPolicy": { +"description": "Gets the access control policy for a resource. May be empty if no such\npolicy or resource exists.", +"flatPath": "projects/{project}/regions/{region}/instantSnapshotGroups/{resource}/getIamPolicy", +"httpMethod": "GET", +"id": "compute.regionInstantSnapshotGroups.getIamPolicy", +"parameterOrder": [ +"project", +"region", +"resource" +], +"parameters": { +"optionsRequestedPolicyVersion": { +"description": "Requested IAM Policy version.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "The name of the region for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +}, +"resource": { +"description": "Name or id of the resource for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/regions/{region}/instantSnapshotGroups/{resource}/getIamPolicy", +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"insert": { +"description": "creates a Regional InstantSnapshotGroup resource", +"flatPath": "projects/{project}/regions/{region}/instantSnapshotGroups", +"httpMethod": "POST", +"id": "compute.regionInstantSnapshotGroups.insert", +"parameterOrder": [ +"project", +"region" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "Name of the region for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"sourceConsistencyGroup": { +"description": "begin_interface: MixerMutationRequestBuilder", +"location": "query", +"type": "string" +} +}, +"path": "projects/{project}/regions/{region}/instantSnapshotGroups", +"request": { +"$ref": "InstantSnapshotGroup" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"list": { +"description": "retrieves the list of InstantSnapshotGroup resources contained within\nthe specified region.", +"flatPath": "projects/{project}/regions/{region}/instantSnapshotGroups", +"httpMethod": "GET", +"id": "compute.regionInstantSnapshotGroups.list", +"parameterOrder": [ +"project", +"region" +], +"parameters": { +"filter": { +"description": "A filter expression that filters resources listed in the response. Most\nCompute resources support two types of filter expressions:\nexpressions that support regular expressions and expressions that follow\nAPI improvement proposal AIP-160.\nThese two types of filter expressions cannot be mixed in one request.\n\nIf you want to use AIP-160, your expression must specify the field name, an\noperator, and the value that you want to use for filtering. The value\nmust be a string, a number, or a boolean. The operator\nmust be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.\n\nFor example, if you are filtering Compute Engine instances, you can\nexclude instances named `example-instance` by specifying\n`name != example-instance`.\n\nThe `:*` comparison can be used to test whether a key has been defined.\nFor example, to find all objects with `owner` label use:\n```\nlabels.owner:*\n```\n\nYou can also filter nested fields. For example, you could specify\n`scheduling.automaticRestart = false` to include instances only\nif they are not scheduled for automatic restarts. You can use filtering\non nested fields to filter based onresource labels.\n\nTo filter on multiple expressions, provide each separate expression within\nparentheses. For example:\n```\n(scheduling.automaticRestart = true)\n(cpuPlatform = \"Intel Skylake\")\n```\nBy default, each expression is an `AND` expression. However, you\ncan include `AND` and `OR` expressions explicitly.\nFor example:\n```\n(cpuPlatform = \"Intel Skylake\") OR\n(cpuPlatform = \"Intel Broadwell\") AND\n(scheduling.automaticRestart = true)\n```\n\nIf you want to use a regular expression, use the `eq` (equal) or `ne`\n(not equal) operator against a single un-parenthesized expression with or\nwithout quotes or against multiple parenthesized expressions. Examples:\n\n`fieldname eq unquoted literal`\n`fieldname eq 'single quoted literal'`\n`fieldname eq \"double quoted literal\"`\n`(fieldname1 eq literal) (fieldname2 ne \"literal\")`\n\nThe literal value is interpreted as a regular expression using GoogleRE2 library syntax.\nThe literal value must match the entire field.\n\nFor example, to filter for instances that do not end with name \"instance\",\nyou would use `name ne .*instance`.\n\nYou cannot combine constraints on multiple fields using regular\nexpressions.", +"location": "query", +"type": "string" +}, +"maxResults": { +"default": "500", +"description": "The maximum number of results per page that should be returned.\nIf the number of available results is larger than `maxResults`,\nCompute Engine returns a `nextPageToken` that can be used to get\nthe next page of results in subsequent list requests. Acceptable values are\n`0` to `500`, inclusive. (Default: `500`)", +"format": "uint32", +"location": "query", +"minimum": "0", +"type": "integer" +}, +"orderBy": { +"description": "Sorts list results by a certain order. By default, results\nare returned in alphanumerical order based on the resource name.\n\nYou can also sort results in descending order based on the creation\ntimestamp using `orderBy=\"creationTimestamp desc\"`. This sorts\nresults based on the `creationTimestamp` field in\nreverse chronological order (newest result first). Use this to sort\nresources like operations so that the newest operation is returned first.\n\nCurrently, only sorting by `name` or\n`creationTimestamp desc` is supported.", +"location": "query", +"type": "string" +}, +"pageToken": { +"description": "Specifies a page token to use. Set `pageToken` to the\n`nextPageToken` returned by a previous list request to get\nthe next page of results.", +"location": "query", +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "The name of the region for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +}, +"returnPartialSuccess": { +"description": "Opt-in for partial success behavior which provides partial results in case\nof failure. The default value is false.\n\nFor example, when partial success behavior is enabled, aggregatedList for a\nsingle zone scope either returns all resources in the zone or no resources,\nwith an error code.", +"location": "query", +"type": "boolean" +} +}, +"path": "projects/{project}/regions/{region}/instantSnapshotGroups", +"response": { +"$ref": "ListInstantSnapshotGroups" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"setIamPolicy": { +"description": "Sets the access control policy on the specified resource.\nReplaces any existing policy.", +"flatPath": "projects/{project}/regions/{region}/instantSnapshotGroups/{resource}/setIamPolicy", +"httpMethod": "POST", +"id": "compute.regionInstantSnapshotGroups.setIamPolicy", +"parameterOrder": [ +"project", +"region", +"resource" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "The name of the region for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +}, +"resource": { +"description": "Name or id of the resource for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/regions/{region}/instantSnapshotGroups/{resource}/setIamPolicy", +"request": { +"$ref": "RegionSetPolicyRequest" +}, +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"testIamPermissions": { +"description": "Returns permissions that a caller has on the specified resource.", +"flatPath": "projects/{project}/regions/{region}/instantSnapshotGroups/{resource}/testIamPermissions", +"httpMethod": "POST", +"id": "compute.regionInstantSnapshotGroups.testIamPermissions", +"parameterOrder": [ +"project", +"region", +"resource" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "The name of the region for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +}, +"resource": { +"description": "Name or id of the resource for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/regions/{region}/instantSnapshotGroups/{resource}/testIamPermissions", +"request": { +"$ref": "TestPermissionsRequest" +}, +"response": { +"$ref": "TestPermissionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +} +} +}, +"regionInstantSnapshots": { +"methods": { +"delete": { +"description": "Deletes the specified InstantSnapshot resource. Keep in mind that deleting\na single instantSnapshot might not necessarily delete all the data on that\ninstantSnapshot. If any data on the instantSnapshot that is marked for\ndeletion is needed for subsequent instantSnapshots, the data will be moved\nto the next corresponding instantSnapshot.\n\nFor more information, seeDeleting\ninstantSnapshots.", +"flatPath": "projects/{project}/regions/{region}/instantSnapshots/{instantSnapshot}", +"httpMethod": "DELETE", +"id": "compute.regionInstantSnapshots.delete", +"parameterOrder": [ +"project", +"region", +"instantSnapshot" +], +"parameters": { +"instantSnapshot": { +"description": "Name of the InstantSnapshot resource to delete.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "The name of the region for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "projects/{project}/regions/{region}/instantSnapshots/{instantSnapshot}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"get": { +"description": "Returns the specified InstantSnapshot resource in the specified region.", +"flatPath": "projects/{project}/regions/{region}/instantSnapshots/{instantSnapshot}", +"httpMethod": "GET", +"id": "compute.regionInstantSnapshots.get", +"parameterOrder": [ +"project", +"region", +"instantSnapshot" +], +"parameters": { +"instantSnapshot": { +"description": "Name of the InstantSnapshot resource to return.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "The name of the region for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/regions/{region}/instantSnapshots/{instantSnapshot}", +"response": { +"$ref": "InstantSnapshot" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"getIamPolicy": { +"description": "Gets the access control policy for a resource. May be empty if no such\npolicy or resource exists.", +"flatPath": "projects/{project}/regions/{region}/instantSnapshots/{resource}/getIamPolicy", +"httpMethod": "GET", +"id": "compute.regionInstantSnapshots.getIamPolicy", +"parameterOrder": [ +"project", +"region", +"resource" +], +"parameters": { +"optionsRequestedPolicyVersion": { +"description": "Requested IAM Policy version.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "The name of the region for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +}, +"resource": { +"description": "Name or id of the resource for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/regions/{region}/instantSnapshots/{resource}/getIamPolicy", +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"insert": { +"description": "Creates an instant snapshot in the specified region.", +"flatPath": "projects/{project}/regions/{region}/instantSnapshots", +"httpMethod": "POST", +"id": "compute.regionInstantSnapshots.insert", +"parameterOrder": [ +"project", +"region" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "Name of the region for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "projects/{project}/regions/{region}/instantSnapshots", +"request": { +"$ref": "InstantSnapshot" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"list": { +"description": "Retrieves the list of InstantSnapshot resources contained within\nthe specified region.", +"flatPath": "projects/{project}/regions/{region}/instantSnapshots", +"httpMethod": "GET", +"id": "compute.regionInstantSnapshots.list", +"parameterOrder": [ +"project", +"region" +], +"parameters": { +"filter": { +"description": "A filter expression that filters resources listed in the response. Most\nCompute resources support two types of filter expressions:\nexpressions that support regular expressions and expressions that follow\nAPI improvement proposal AIP-160.\nThese two types of filter expressions cannot be mixed in one request.\n\nIf you want to use AIP-160, your expression must specify the field name, an\noperator, and the value that you want to use for filtering. The value\nmust be a string, a number, or a boolean. The operator\nmust be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.\n\nFor example, if you are filtering Compute Engine instances, you can\nexclude instances named `example-instance` by specifying\n`name != example-instance`.\n\nThe `:*` comparison can be used to test whether a key has been defined.\nFor example, to find all objects with `owner` label use:\n```\nlabels.owner:*\n```\n\nYou can also filter nested fields. For example, you could specify\n`scheduling.automaticRestart = false` to include instances only\nif they are not scheduled for automatic restarts. You can use filtering\non nested fields to filter based onresource labels.\n\nTo filter on multiple expressions, provide each separate expression within\nparentheses. For example:\n```\n(scheduling.automaticRestart = true)\n(cpuPlatform = \"Intel Skylake\")\n```\nBy default, each expression is an `AND` expression. However, you\ncan include `AND` and `OR` expressions explicitly.\nFor example:\n```\n(cpuPlatform = \"Intel Skylake\") OR\n(cpuPlatform = \"Intel Broadwell\") AND\n(scheduling.automaticRestart = true)\n```\n\nIf you want to use a regular expression, use the `eq` (equal) or `ne`\n(not equal) operator against a single un-parenthesized expression with or\nwithout quotes or against multiple parenthesized expressions. Examples:\n\n`fieldname eq unquoted literal`\n`fieldname eq 'single quoted literal'`\n`fieldname eq \"double quoted literal\"`\n`(fieldname1 eq literal) (fieldname2 ne \"literal\")`\n\nThe literal value is interpreted as a regular expression using GoogleRE2 library syntax.\nThe literal value must match the entire field.\n\nFor example, to filter for instances that do not end with name \"instance\",\nyou would use `name ne .*instance`.\n\nYou cannot combine constraints on multiple fields using regular\nexpressions.", +"location": "query", +"type": "string" +}, +"maxResults": { +"default": "500", +"description": "The maximum number of results per page that should be returned.\nIf the number of available results is larger than `maxResults`,\nCompute Engine returns a `nextPageToken` that can be used to get\nthe next page of results in subsequent list requests. Acceptable values are\n`0` to `500`, inclusive. (Default: `500`)", +"format": "uint32", +"location": "query", +"minimum": "0", +"type": "integer" +}, +"orderBy": { +"description": "Sorts list results by a certain order. By default, results\nare returned in alphanumerical order based on the resource name.\n\nYou can also sort results in descending order based on the creation\ntimestamp using `orderBy=\"creationTimestamp desc\"`. This sorts\nresults based on the `creationTimestamp` field in\nreverse chronological order (newest result first). Use this to sort\nresources like operations so that the newest operation is returned first.\n\nCurrently, only sorting by `name` or\n`creationTimestamp desc` is supported.", +"location": "query", +"type": "string" +}, +"pageToken": { +"description": "Specifies a page token to use. Set `pageToken` to the\n`nextPageToken` returned by a previous list request to get\nthe next page of results.", +"location": "query", +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "The name of the region for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +}, +"returnPartialSuccess": { +"description": "Opt-in for partial success behavior which provides partial results in case\nof failure. The default value is false.\n\nFor example, when partial success behavior is enabled, aggregatedList for a\nsingle zone scope either returns all resources in the zone or no resources,\nwith an error code.", +"location": "query", +"type": "boolean" +} +}, +"path": "projects/{project}/regions/{region}/instantSnapshots", +"response": { +"$ref": "InstantSnapshotList" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"setIamPolicy": { +"description": "Sets the access control policy on the specified resource.\nReplaces any existing policy.", +"flatPath": "projects/{project}/regions/{region}/instantSnapshots/{resource}/setIamPolicy", +"httpMethod": "POST", +"id": "compute.regionInstantSnapshots.setIamPolicy", +"parameterOrder": [ +"project", +"region", +"resource" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "The name of the region for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +}, +"resource": { +"description": "Name or id of the resource for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/regions/{region}/instantSnapshots/{resource}/setIamPolicy", +"request": { +"$ref": "RegionSetPolicyRequest" +}, +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"setLabels": { +"description": "Sets the labels on a instantSnapshot in the given region. To learn more\nabout labels, read the Labeling\nResources documentation.", +"flatPath": "projects/{project}/regions/{region}/instantSnapshots/{resource}/setLabels", +"httpMethod": "POST", +"id": "compute.regionInstantSnapshots.setLabels", +"parameterOrder": [ +"project", +"region", +"resource" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "The region for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"resource": { +"description": "Name or id of the resource for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/regions/{region}/instantSnapshots/{resource}/setLabels", +"request": { +"$ref": "RegionSetLabelsRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"testIamPermissions": { +"description": "Returns permissions that a caller has on the specified resource.", +"flatPath": "projects/{project}/regions/{region}/instantSnapshots/{resource}/testIamPermissions", +"httpMethod": "POST", +"id": "compute.regionInstantSnapshots.testIamPermissions", +"parameterOrder": [ +"project", +"region", +"resource" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "The name of the region for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +}, +"resource": { +"description": "Name or id of the resource for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/regions/{region}/instantSnapshots/{resource}/testIamPermissions", +"request": { +"$ref": "TestPermissionsRequest" +}, +"response": { +"$ref": "TestPermissionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +} +} +}, +"regionMultiMigMembers": { +"methods": { +"get": { +"description": "Retrieves information about the specified multi-MIG member.", +"flatPath": "projects/{project}/regions/{region}/multiMigs/{multiMig}/multiMigMembers/{multiMigMember}", +"httpMethod": "GET", +"id": "compute.regionMultiMigMembers.get", +"parameterOrder": [ +"project", +"region", +"multiMig", +"multiMigMember" +], +"parameters": { +"multiMig": { +"description": "The name of the multi-MIG.\nName should conform to RFC1035 or be a resource ID.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +}, +"multiMigMember": { +"description": "The name of the multi-MIG member.\nName should conform to RFC1035 or be a resource ID.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "Name of the region for this request. Region name should conform to RFC1035.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/regions/{region}/multiMigs/{multiMig}/multiMigMembers/{multiMigMember}", +"response": { +"$ref": "MultiMigMember" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"list": { +"description": "Retrieves a list of members of a specific multi-MIG.", +"flatPath": "projects/{project}/regions/{region}/multiMigs/{multiMig}/multiMigMembers", +"httpMethod": "GET", +"id": "compute.regionMultiMigMembers.list", +"parameterOrder": [ +"project", +"region", +"multiMig" +], +"parameters": { +"filter": { +"description": "A filter expression that filters resources listed in the response. Most\nCompute resources support two types of filter expressions:\nexpressions that support regular expressions and expressions that follow\nAPI improvement proposal AIP-160.\nThese two types of filter expressions cannot be mixed in one request.\n\nIf you want to use AIP-160, your expression must specify the field name, an\noperator, and the value that you want to use for filtering. The value\nmust be a string, a number, or a boolean. The operator\nmust be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.\n\nFor example, if you are filtering Compute Engine instances, you can\nexclude instances named `example-instance` by specifying\n`name != example-instance`.\n\nThe `:*` comparison can be used to test whether a key has been defined.\nFor example, to find all objects with `owner` label use:\n```\nlabels.owner:*\n```\n\nYou can also filter nested fields. For example, you could specify\n`scheduling.automaticRestart = false` to include instances only\nif they are not scheduled for automatic restarts. You can use filtering\non nested fields to filter based onresource labels.\n\nTo filter on multiple expressions, provide each separate expression within\nparentheses. For example:\n```\n(scheduling.automaticRestart = true)\n(cpuPlatform = \"Intel Skylake\")\n```\nBy default, each expression is an `AND` expression. However, you\ncan include `AND` and `OR` expressions explicitly.\nFor example:\n```\n(cpuPlatform = \"Intel Skylake\") OR\n(cpuPlatform = \"Intel Broadwell\") AND\n(scheduling.automaticRestart = true)\n```\n\nIf you want to use a regular expression, use the `eq` (equal) or `ne`\n(not equal) operator against a single un-parenthesized expression with or\nwithout quotes or against multiple parenthesized expressions. Examples:\n\n`fieldname eq unquoted literal`\n`fieldname eq 'single quoted literal'`\n`fieldname eq \"double quoted literal\"`\n`(fieldname1 eq literal) (fieldname2 ne \"literal\")`\n\nThe literal value is interpreted as a regular expression using GoogleRE2 library syntax.\nThe literal value must match the entire field.\n\nFor example, to filter for instances that do not end with name \"instance\",\nyou would use `name ne .*instance`.\n\nYou cannot combine constraints on multiple fields using regular\nexpressions.", +"location": "query", +"type": "string" +}, +"maxResults": { +"default": "500", +"description": "The maximum number of results per page that should be returned.\nIf the number of available results is larger than `maxResults`,\nCompute Engine returns a `nextPageToken` that can be used to get\nthe next page of results in subsequent list requests. Acceptable values are\n`0` to `500`, inclusive. (Default: `500`)", +"format": "uint32", +"location": "query", +"minimum": "0", +"type": "integer" +}, +"multiMig": { +"description": "The name of the multi-MIG.\nName should conform to RFC1035 or be a resource ID.", +"location": "path", +"required": true, +"type": "string" +}, +"orderBy": { +"description": "Sorts list results by a certain order. By default, results\nare returned in alphanumerical order based on the resource name.\n\nYou can also sort results in descending order based on the creation\ntimestamp using `orderBy=\"creationTimestamp desc\"`. This sorts\nresults based on the `creationTimestamp` field in\nreverse chronological order (newest result first). Use this to sort\nresources like operations so that the newest operation is returned first.\n\nCurrently, only sorting by `name` or\n`creationTimestamp desc` is supported.", +"location": "query", +"type": "string" +}, +"pageToken": { +"description": "Specifies a page token to use. Set `pageToken` to the\n`nextPageToken` returned by a previous list request to get\nthe next page of results.", +"location": "query", +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"required": true, +"type": "string" +}, +"region": { +"description": "Name of the region for this request. Region name should conform to RFC1035.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +}, +"returnPartialSuccess": { +"description": "Opt-in for partial success behavior which provides partial results in case\nof failure. The default value is false.\n\nFor example, when partial success behavior is enabled, aggregatedList for a\nsingle zone scope either returns all resources in the zone or no resources,\nwith an error code.", +"location": "query", +"type": "boolean" +} +}, +"path": "projects/{project}/regions/{region}/multiMigs/{multiMig}/multiMigMembers", +"response": { +"$ref": "MultiMigMemberList" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +} +} +}, +"regionMultiMigs": { +"methods": { +"delete": { +"description": "Deletes a multi-MIG in the specified project.", +"flatPath": "projects/{project}/regions/{region}/multiMigs/{multiMig}", +"httpMethod": "DELETE", +"id": "compute.regionMultiMigs.delete", +"parameterOrder": [ +"project", +"region", +"multiMig" +], +"parameters": { +"multiMig": { +"description": "Name of the multi-MIG to delete.", +"location": "path", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "Name of the region for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "projects/{project}/regions/{region}/multiMigs/{multiMig}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"get": { +"description": "Returns all the details of a specific multi-MIG.", +"flatPath": "projects/{project}/regions/{region}/multiMigs/{multiMig}", +"httpMethod": "GET", +"id": "compute.regionMultiMigs.get", +"parameterOrder": [ +"project", +"region", +"multiMig" +], +"parameters": { +"multiMig": { +"description": "Name of the multi-MIG resource to return.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "Name of the region for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/regions/{region}/multiMigs/{multiMig}", +"response": { +"$ref": "MultiMig" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"insert": { +"description": "Creates a multi-MIG in the specified project.", +"flatPath": "projects/{project}/regions/{region}/multiMigs", +"httpMethod": "POST", +"id": "compute.regionMultiMigs.insert", +"parameterOrder": [ +"project", +"region" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "Name of the region for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents you from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "projects/{project}/regions/{region}/multiMigs", +"request": { +"$ref": "MultiMig" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"list": { +"description": "Retrieves a list of multi-MIGs in a project and region.", +"flatPath": "projects/{project}/regions/{region}/multiMigs", +"httpMethod": "GET", +"id": "compute.regionMultiMigs.list", +"parameterOrder": [ +"project", +"region" +], +"parameters": { +"filter": { +"description": "A filter expression that filters resources listed in the response. Most\nCompute resources support two types of filter expressions:\nexpressions that support regular expressions and expressions that follow\nAPI improvement proposal AIP-160.\nThese two types of filter expressions cannot be mixed in one request.\n\nIf you want to use AIP-160, your expression must specify the field name, an\noperator, and the value that you want to use for filtering. The value\nmust be a string, a number, or a boolean. The operator\nmust be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.\n\nFor example, if you are filtering Compute Engine instances, you can\nexclude instances named `example-instance` by specifying\n`name != example-instance`.\n\nThe `:*` comparison can be used to test whether a key has been defined.\nFor example, to find all objects with `owner` label use:\n```\nlabels.owner:*\n```\n\nYou can also filter nested fields. For example, you could specify\n`scheduling.automaticRestart = false` to include instances only\nif they are not scheduled for automatic restarts. You can use filtering\non nested fields to filter based onresource labels.\n\nTo filter on multiple expressions, provide each separate expression within\nparentheses. For example:\n```\n(scheduling.automaticRestart = true)\n(cpuPlatform = \"Intel Skylake\")\n```\nBy default, each expression is an `AND` expression. However, you\ncan include `AND` and `OR` expressions explicitly.\nFor example:\n```\n(cpuPlatform = \"Intel Skylake\") OR\n(cpuPlatform = \"Intel Broadwell\") AND\n(scheduling.automaticRestart = true)\n```\n\nIf you want to use a regular expression, use the `eq` (equal) or `ne`\n(not equal) operator against a single un-parenthesized expression with or\nwithout quotes or against multiple parenthesized expressions. Examples:\n\n`fieldname eq unquoted literal`\n`fieldname eq 'single quoted literal'`\n`fieldname eq \"double quoted literal\"`\n`(fieldname1 eq literal) (fieldname2 ne \"literal\")`\n\nThe literal value is interpreted as a regular expression using GoogleRE2 library syntax.\nThe literal value must match the entire field.\n\nFor example, to filter for instances that do not end with name \"instance\",\nyou would use `name ne .*instance`.\n\nYou cannot combine constraints on multiple fields using regular\nexpressions.", +"location": "query", +"type": "string" +}, +"maxResults": { +"default": "500", +"description": "The maximum number of results per page that should be returned.\nIf the number of available results is larger than `maxResults`,\nCompute Engine returns a `nextPageToken` that can be used to get\nthe next page of results in subsequent list requests. Acceptable values are\n`0` to `500`, inclusive. (Default: `500`)", +"format": "uint32", +"location": "query", +"minimum": "0", +"type": "integer" +}, +"orderBy": { +"description": "Sorts list results by a certain order. By default, results\nare returned in alphanumerical order based on the resource name.\n\nYou can also sort results in descending order based on the creation\ntimestamp using `orderBy=\"creationTimestamp desc\"`. This sorts\nresults based on the `creationTimestamp` field in\nreverse chronological order (newest result first). Use this to sort\nresources like operations so that the newest operation is returned first.\n\nCurrently, only sorting by `name` or\n`creationTimestamp desc` is supported.", +"location": "query", +"type": "string" +}, +"pageToken": { +"description": "Specifies a page token to use. Set `pageToken` to the\n`nextPageToken` returned by a previous list request to get\nthe next page of results.", +"location": "query", +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "Name of the region for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +}, +"returnPartialSuccess": { +"description": "Opt-in for partial success behavior which provides partial results in case\nof failure. The default value is false.\n\nFor example, when partial success behavior is enabled, aggregatedList for a\nsingle zone scope either returns all resources in the zone or no resources,\nwith an error code.", +"location": "query", +"type": "boolean" +} +}, +"path": "projects/{project}/regions/{region}/multiMigs", +"response": { +"$ref": "MultiMigsList" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +} +} +}, +"regionNetworkEndpointGroups": { +"methods": { +"attachNetworkEndpoints": { +"description": "Attach a list of network endpoints to the specified network endpoint group.", +"flatPath": "projects/{project}/regions/{region}/networkEndpointGroups/{networkEndpointGroup}/attachNetworkEndpoints", +"httpMethod": "POST", +"id": "compute.regionNetworkEndpointGroups.attachNetworkEndpoints", +"parameterOrder": [ +"project", +"region", +"networkEndpointGroup" +], +"parameters": { +"networkEndpointGroup": { +"description": "The name of the network endpoint group where you are attaching network\nendpoints to. It should comply with RFC1035.", +"location": "path", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "The name of the region where\nyou want to create the network endpoint group. It should comply with\nRFC1035.", +"location": "path", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "projects/{project}/regions/{region}/networkEndpointGroups/{networkEndpointGroup}/attachNetworkEndpoints", +"request": { +"$ref": "RegionNetworkEndpointGroupsAttachEndpointsRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"delete": { +"description": "Deletes the specified network endpoint group. Note that the NEG cannot be\ndeleted if it is configured as a backend of a backend service.", +"flatPath": "projects/{project}/regions/{region}/networkEndpointGroups/{networkEndpointGroup}", +"httpMethod": "DELETE", +"id": "compute.regionNetworkEndpointGroups.delete", +"parameterOrder": [ +"project", +"region", +"networkEndpointGroup" +], +"parameters": { +"networkEndpointGroup": { +"description": "The name of the network endpoint group to delete. It should comply with\nRFC1035.", +"location": "path", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "The name of the region where\nthe network endpoint group is located. It should comply with RFC1035.", +"location": "path", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "projects/{project}/regions/{region}/networkEndpointGroups/{networkEndpointGroup}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"detachNetworkEndpoints": { +"description": "Detach the network endpoint from the specified network endpoint group.", +"flatPath": "projects/{project}/regions/{region}/networkEndpointGroups/{networkEndpointGroup}/detachNetworkEndpoints", +"httpMethod": "POST", +"id": "compute.regionNetworkEndpointGroups.detachNetworkEndpoints", +"parameterOrder": [ +"project", +"region", +"networkEndpointGroup" +], +"parameters": { +"networkEndpointGroup": { +"description": "The name of the network endpoint group you are detaching network\nendpoints from. It should comply with RFC1035.", +"location": "path", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "The name of the region where\nthe network endpoint group is located. It should comply with\nRFC1035.", +"location": "path", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).\nend_interface: MixerMutationRequestBuilder", +"location": "query", +"type": "string" +} +}, +"path": "projects/{project}/regions/{region}/networkEndpointGroups/{networkEndpointGroup}/detachNetworkEndpoints", +"request": { +"$ref": "RegionNetworkEndpointGroupsDetachEndpointsRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"get": { +"description": "Returns the specified network endpoint group.", +"flatPath": "projects/{project}/regions/{region}/networkEndpointGroups/{networkEndpointGroup}", +"httpMethod": "GET", +"id": "compute.regionNetworkEndpointGroups.get", +"parameterOrder": [ +"project", +"region", +"networkEndpointGroup" +], +"parameters": { +"networkEndpointGroup": { +"description": "The name of the network endpoint group. It should comply with RFC1035.", +"location": "path", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "The name of the region where\nthe network endpoint group is located. It should comply with RFC1035.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/regions/{region}/networkEndpointGroups/{networkEndpointGroup}", +"response": { +"$ref": "NetworkEndpointGroup" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"insert": { +"description": "Creates a network endpoint group in the specified project using the\nparameters that are included in the request.\n\nNote: Use the following APIs to manage network endpoint groups:\n \n - \n To manage NEGs with zonal scope (such as zonal NEGs, hybrid connectivity\n NEGs): zonal\n API\n - \n To manage NEGs with regional scope (such as regional internet NEGs,\n serverless NEGs, Private Service Connect NEGs): regional\n API\n - \n To manage NEGs with global scope (such as global internet NEGs):global\n API", +"flatPath": "projects/{project}/regions/{region}/networkEndpointGroups", +"httpMethod": "POST", +"id": "compute.regionNetworkEndpointGroups.insert", +"parameterOrder": [ +"project", +"region" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "The name of the region where\nyou want to create the network endpoint group. It should comply with\nRFC1035.", +"location": "path", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "projects/{project}/regions/{region}/networkEndpointGroups", +"request": { +"$ref": "NetworkEndpointGroup" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"list": { +"description": "Retrieves the list of regional network endpoint groups available to the\nspecified project in the given region.", +"flatPath": "projects/{project}/regions/{region}/networkEndpointGroups", +"httpMethod": "GET", +"id": "compute.regionNetworkEndpointGroups.list", +"parameterOrder": [ +"project", +"region" +], +"parameters": { +"filter": { +"description": "A filter expression that filters resources listed in the response. Most\nCompute resources support two types of filter expressions:\nexpressions that support regular expressions and expressions that follow\nAPI improvement proposal AIP-160.\nThese two types of filter expressions cannot be mixed in one request.\n\nIf you want to use AIP-160, your expression must specify the field name, an\noperator, and the value that you want to use for filtering. The value\nmust be a string, a number, or a boolean. The operator\nmust be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.\n\nFor example, if you are filtering Compute Engine instances, you can\nexclude instances named `example-instance` by specifying\n`name != example-instance`.\n\nThe `:*` comparison can be used to test whether a key has been defined.\nFor example, to find all objects with `owner` label use:\n```\nlabels.owner:*\n```\n\nYou can also filter nested fields. For example, you could specify\n`scheduling.automaticRestart = false` to include instances only\nif they are not scheduled for automatic restarts. You can use filtering\non nested fields to filter based onresource labels.\n\nTo filter on multiple expressions, provide each separate expression within\nparentheses. For example:\n```\n(scheduling.automaticRestart = true)\n(cpuPlatform = \"Intel Skylake\")\n```\nBy default, each expression is an `AND` expression. However, you\ncan include `AND` and `OR` expressions explicitly.\nFor example:\n```\n(cpuPlatform = \"Intel Skylake\") OR\n(cpuPlatform = \"Intel Broadwell\") AND\n(scheduling.automaticRestart = true)\n```\n\nIf you want to use a regular expression, use the `eq` (equal) or `ne`\n(not equal) operator against a single un-parenthesized expression with or\nwithout quotes or against multiple parenthesized expressions. Examples:\n\n`fieldname eq unquoted literal`\n`fieldname eq 'single quoted literal'`\n`fieldname eq \"double quoted literal\"`\n`(fieldname1 eq literal) (fieldname2 ne \"literal\")`\n\nThe literal value is interpreted as a regular expression using GoogleRE2 library syntax.\nThe literal value must match the entire field.\n\nFor example, to filter for instances that do not end with name \"instance\",\nyou would use `name ne .*instance`.\n\nYou cannot combine constraints on multiple fields using regular\nexpressions.", +"location": "query", +"type": "string" +}, +"maxResults": { +"default": "500", +"description": "The maximum number of results per page that should be returned.\nIf the number of available results is larger than `maxResults`,\nCompute Engine returns a `nextPageToken` that can be used to get\nthe next page of results in subsequent list requests. Acceptable values are\n`0` to `500`, inclusive. (Default: `500`)", +"format": "uint32", +"location": "query", +"minimum": "0", +"type": "integer" +}, +"orderBy": { +"description": "Sorts list results by a certain order. By default, results\nare returned in alphanumerical order based on the resource name.\n\nYou can also sort results in descending order based on the creation\ntimestamp using `orderBy=\"creationTimestamp desc\"`. This sorts\nresults based on the `creationTimestamp` field in\nreverse chronological order (newest result first). Use this to sort\nresources like operations so that the newest operation is returned first.\n\nCurrently, only sorting by `name` or\n`creationTimestamp desc` is supported.", +"location": "query", +"type": "string" +}, +"pageToken": { +"description": "Specifies a page token to use. Set `pageToken` to the\n`nextPageToken` returned by a previous list request to get\nthe next page of results.", +"location": "query", +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "The name of theregion\nwhere the network endpoint group is located. It should comply with RFC1035.", +"location": "path", +"required": true, +"type": "string" +}, +"returnPartialSuccess": { +"description": "Opt-in for partial success behavior which provides partial results in case\nof failure. The default value is false.\n\nFor example, when partial success behavior is enabled, aggregatedList for a\nsingle zone scope either returns all resources in the zone or no resources,\nwith an error code.", +"location": "query", +"type": "boolean" +} +}, +"path": "projects/{project}/regions/{region}/networkEndpointGroups", +"response": { +"$ref": "NetworkEndpointGroupList" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"listNetworkEndpoints": { +"description": "Lists the network endpoints in the specified network endpoint group.", +"flatPath": "projects/{project}/regions/{region}/networkEndpointGroups/{networkEndpointGroup}/listNetworkEndpoints", +"httpMethod": "POST", +"id": "compute.regionNetworkEndpointGroups.listNetworkEndpoints", +"parameterOrder": [ +"project", +"region", +"networkEndpointGroup" +], +"parameters": { +"filter": { +"description": "A filter expression that filters resources listed in the response. Most\nCompute resources support two types of filter expressions:\nexpressions that support regular expressions and expressions that follow\nAPI improvement proposal AIP-160.\nThese two types of filter expressions cannot be mixed in one request.\n\nIf you want to use AIP-160, your expression must specify the field name, an\noperator, and the value that you want to use for filtering. The value\nmust be a string, a number, or a boolean. The operator\nmust be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.\n\nFor example, if you are filtering Compute Engine instances, you can\nexclude instances named `example-instance` by specifying\n`name != example-instance`.\n\nThe `:*` comparison can be used to test whether a key has been defined.\nFor example, to find all objects with `owner` label use:\n```\nlabels.owner:*\n```\n\nYou can also filter nested fields. For example, you could specify\n`scheduling.automaticRestart = false` to include instances only\nif they are not scheduled for automatic restarts. You can use filtering\non nested fields to filter based onresource labels.\n\nTo filter on multiple expressions, provide each separate expression within\nparentheses. For example:\n```\n(scheduling.automaticRestart = true)\n(cpuPlatform = \"Intel Skylake\")\n```\nBy default, each expression is an `AND` expression. However, you\ncan include `AND` and `OR` expressions explicitly.\nFor example:\n```\n(cpuPlatform = \"Intel Skylake\") OR\n(cpuPlatform = \"Intel Broadwell\") AND\n(scheduling.automaticRestart = true)\n```\n\nIf you want to use a regular expression, use the `eq` (equal) or `ne`\n(not equal) operator against a single un-parenthesized expression with or\nwithout quotes or against multiple parenthesized expressions. Examples:\n\n`fieldname eq unquoted literal`\n`fieldname eq 'single quoted literal'`\n`fieldname eq \"double quoted literal\"`\n`(fieldname1 eq literal) (fieldname2 ne \"literal\")`\n\nThe literal value is interpreted as a regular expression using GoogleRE2 library syntax.\nThe literal value must match the entire field.\n\nFor example, to filter for instances that do not end with name \"instance\",\nyou would use `name ne .*instance`.\n\nYou cannot combine constraints on multiple fields using regular\nexpressions.", +"location": "query", +"type": "string" +}, +"maxResults": { +"default": "500", +"description": "The maximum number of results per page that should be returned.\nIf the number of available results is larger than `maxResults`,\nCompute Engine returns a `nextPageToken` that can be used to get\nthe next page of results in subsequent list requests. Acceptable values are\n`0` to `500`, inclusive. (Default: `500`)", +"format": "uint32", +"location": "query", +"minimum": "0", +"type": "integer" +}, +"networkEndpointGroup": { +"description": "The name of the network endpoint group from which you want to generate a\nlist of included network endpoints. It should comply with RFC1035.", +"location": "path", +"required": true, +"type": "string" +}, +"orderBy": { +"description": "Sorts list results by a certain order. By default, results\nare returned in alphanumerical order based on the resource name.\n\nYou can also sort results in descending order based on the creation\ntimestamp using `orderBy=\"creationTimestamp desc\"`. This sorts\nresults based on the `creationTimestamp` field in\nreverse chronological order (newest result first). Use this to sort\nresources like operations so that the newest operation is returned first.\n\nCurrently, only sorting by `name` or\n`creationTimestamp desc` is supported.", +"location": "query", +"type": "string" +}, +"pageToken": { +"description": "Specifies a page token to use. Set `pageToken` to the\n`nextPageToken` returned by a previous list request to get\nthe next page of results.", +"location": "query", +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "The name of theregion\nwhere the network endpoint group is located. It should comply with RFC1035.", +"location": "path", +"required": true, +"type": "string" +}, +"returnPartialSuccess": { +"description": "Opt-in for partial success behavior which provides partial results in case\nof failure. The default value is false.\n\nFor example, when partial success behavior is enabled, aggregatedList for a\nsingle zone scope either returns all resources in the zone or no resources,\nwith an error code.", +"location": "query", +"type": "boolean" +} +}, +"path": "projects/{project}/regions/{region}/networkEndpointGroups/{networkEndpointGroup}/listNetworkEndpoints", +"response": { +"$ref": "NetworkEndpointGroupsListNetworkEndpoints" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +} +} +}, +"regionNetworkFirewallPolicies": { +"methods": { +"addAssociation": { +"description": "Inserts an association for the specified network firewall policy.", +"flatPath": "projects/{project}/regions/{region}/firewallPolicies/{firewallPolicy}/addAssociation", +"httpMethod": "POST", +"id": "compute.regionNetworkFirewallPolicies.addAssociation", +"parameterOrder": [ +"project", +"region", +"firewallPolicy" +], +"parameters": { +"associatedPolicyToBeReplaced": { +"description": "Name of the firewall policy associated with the target network to swap\nassociation with. This field is mutually exclusive with\n'replace_existing_association'.", +"location": "query", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"type": "string" +}, +"firewallPolicy": { +"description": "Name of the firewall policy to update.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "Name of the region scoping this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +}, +"replaceExistingAssociation": { +"description": "Indicates whether or not to replace it if an association already exists.\nThis is false by default, in which case an error will be returned if an\nassociation already exists.", +"location": "query", +"type": "boolean" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "projects/{project}/regions/{region}/firewallPolicies/{firewallPolicy}/addAssociation", +"request": { +"$ref": "FirewallPolicyAssociation" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"addRule": { +"description": "Inserts a rule into a network firewall policy.", +"flatPath": "projects/{project}/regions/{region}/firewallPolicies/{firewallPolicy}/addRule", +"httpMethod": "POST", +"id": "compute.regionNetworkFirewallPolicies.addRule", +"parameterOrder": [ +"project", +"region", +"firewallPolicy" +], +"parameters": { +"firewallPolicy": { +"description": "Name of the firewall policy to update.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +}, +"maxPriority": { +"description": "When rule.priority is not specified, auto choose a unused priority betweenminPriority and maxPriority>.\nThis field is exclusive with rule.priority.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"minPriority": { +"description": "When rule.priority is not specified, auto choose a unused priority betweenminPriority and maxPriority>.\nThis field is exclusive with rule.priority.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "Name of the region scoping this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "projects/{project}/regions/{region}/firewallPolicies/{firewallPolicy}/addRule", +"request": { +"$ref": "FirewallPolicyRule" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"cloneRules": { +"description": "Copies rules to the specified network firewall policy.", +"flatPath": "projects/{project}/regions/{region}/firewallPolicies/{firewallPolicy}/cloneRules", +"httpMethod": "POST", +"id": "compute.regionNetworkFirewallPolicies.cloneRules", +"parameterOrder": [ +"project", +"region", +"firewallPolicy" +], +"parameters": { +"firewallPolicy": { +"description": "Name of the firewall policy to update.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "Name of the region scoping this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"sourceFirewallPolicy": { +"description": "The firewall policy from which to copy rules.", +"location": "query", +"type": "string" +} +}, +"path": "projects/{project}/regions/{region}/firewallPolicies/{firewallPolicy}/cloneRules", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"delete": { +"description": "Deletes the specified network firewall policy.", +"flatPath": "projects/{project}/regions/{region}/firewallPolicies/{firewallPolicy}", +"httpMethod": "DELETE", +"id": "compute.regionNetworkFirewallPolicies.delete", +"parameterOrder": [ +"project", +"region", +"firewallPolicy" +], +"parameters": { +"firewallPolicy": { +"description": "Name of the firewall policy to delete.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "Name of the region scoping this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "projects/{project}/regions/{region}/firewallPolicies/{firewallPolicy}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"get": { +"description": "Returns the specified network firewall policy.", +"flatPath": "projects/{project}/regions/{region}/firewallPolicies/{firewallPolicy}", +"httpMethod": "GET", +"id": "compute.regionNetworkFirewallPolicies.get", +"parameterOrder": [ +"project", +"region", +"firewallPolicy" +], +"parameters": { +"firewallPolicy": { +"description": "Name of the firewall policy to get.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "Name of the region scoping this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/regions/{region}/firewallPolicies/{firewallPolicy}", +"response": { +"$ref": "FirewallPolicy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"getAssociation": { +"description": "Gets an association with the specified name.", +"flatPath": "projects/{project}/regions/{region}/firewallPolicies/{firewallPolicy}/getAssociation", +"httpMethod": "GET", +"id": "compute.regionNetworkFirewallPolicies.getAssociation", +"parameterOrder": [ +"project", +"region", +"firewallPolicy" +], +"parameters": { +"firewallPolicy": { +"description": "Name of the firewall policy to which the queried association belongs.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +}, +"name": { +"description": "The name of the association to get from the firewall policy.", +"location": "query", +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "Name of the region scoping this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/regions/{region}/firewallPolicies/{firewallPolicy}/getAssociation", +"response": { +"$ref": "FirewallPolicyAssociation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"getEffectiveFirewalls": { +"description": "Returns the effective firewalls on a given network.", +"flatPath": "projects/{project}/regions/{region}/firewallPolicies/getEffectiveFirewalls", +"httpMethod": "GET", +"id": "compute.regionNetworkFirewallPolicies.getEffectiveFirewalls", +"parameterOrder": [ +"project", +"region", +"network" +], +"parameters": { +"network": { +"description": "Network reference", +"location": "query", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "Name of the region scoping this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/regions/{region}/firewallPolicies/getEffectiveFirewalls", +"response": { +"$ref": "RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"getIamPolicy": { +"description": "Gets the access control policy for a resource. May be empty if no such\npolicy or resource exists.", +"flatPath": "projects/{project}/regions/{region}/firewallPolicies/{resource}/getIamPolicy", +"httpMethod": "GET", +"id": "compute.regionNetworkFirewallPolicies.getIamPolicy", +"parameterOrder": [ +"project", +"region", +"resource" +], +"parameters": { +"optionsRequestedPolicyVersion": { +"description": "Requested IAM Policy version.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "The name of the region for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +}, +"resource": { +"description": "Name or id of the resource for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/regions/{region}/firewallPolicies/{resource}/getIamPolicy", +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"getRule": { +"description": "Gets a rule of the specified priority.", +"flatPath": "projects/{project}/regions/{region}/firewallPolicies/{firewallPolicy}/getRule", +"httpMethod": "GET", +"id": "compute.regionNetworkFirewallPolicies.getRule", +"parameterOrder": [ +"project", +"region", +"firewallPolicy" +], +"parameters": { +"firewallPolicy": { +"description": "Name of the firewall policy to which the queried rule belongs.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +}, +"priority": { +"description": "The priority of the rule to get from the firewall policy.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "Name of the region scoping this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/regions/{region}/firewallPolicies/{firewallPolicy}/getRule", +"response": { +"$ref": "FirewallPolicyRule" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"insert": { +"description": "Creates a new network firewall policy in the specified project and region.", +"flatPath": "projects/{project}/regions/{region}/firewallPolicies", +"httpMethod": "POST", +"id": "compute.regionNetworkFirewallPolicies.insert", +"parameterOrder": [ +"project", +"region" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "Name of the region scoping this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID\nso that if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "projects/{project}/regions/{region}/firewallPolicies", +"request": { +"$ref": "FirewallPolicy" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"list": { +"description": "Lists all the network firewall policies that have been configured\nfor the specified project in the given region.", +"flatPath": "projects/{project}/regions/{region}/firewallPolicies", +"httpMethod": "GET", +"id": "compute.regionNetworkFirewallPolicies.list", +"parameterOrder": [ +"project", +"region" +], +"parameters": { +"filter": { +"description": "A filter expression that filters resources listed in the response. Most\nCompute resources support two types of filter expressions:\nexpressions that support regular expressions and expressions that follow\nAPI improvement proposal AIP-160.\nThese two types of filter expressions cannot be mixed in one request.\n\nIf you want to use AIP-160, your expression must specify the field name, an\noperator, and the value that you want to use for filtering. The value\nmust be a string, a number, or a boolean. The operator\nmust be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.\n\nFor example, if you are filtering Compute Engine instances, you can\nexclude instances named `example-instance` by specifying\n`name != example-instance`.\n\nThe `:*` comparison can be used to test whether a key has been defined.\nFor example, to find all objects with `owner` label use:\n```\nlabels.owner:*\n```\n\nYou can also filter nested fields. For example, you could specify\n`scheduling.automaticRestart = false` to include instances only\nif they are not scheduled for automatic restarts. You can use filtering\non nested fields to filter based onresource labels.\n\nTo filter on multiple expressions, provide each separate expression within\nparentheses. For example:\n```\n(scheduling.automaticRestart = true)\n(cpuPlatform = \"Intel Skylake\")\n```\nBy default, each expression is an `AND` expression. However, you\ncan include `AND` and `OR` expressions explicitly.\nFor example:\n```\n(cpuPlatform = \"Intel Skylake\") OR\n(cpuPlatform = \"Intel Broadwell\") AND\n(scheduling.automaticRestart = true)\n```\n\nIf you want to use a regular expression, use the `eq` (equal) or `ne`\n(not equal) operator against a single un-parenthesized expression with or\nwithout quotes or against multiple parenthesized expressions. Examples:\n\n`fieldname eq unquoted literal`\n`fieldname eq 'single quoted literal'`\n`fieldname eq \"double quoted literal\"`\n`(fieldname1 eq literal) (fieldname2 ne \"literal\")`\n\nThe literal value is interpreted as a regular expression using GoogleRE2 library syntax.\nThe literal value must match the entire field.\n\nFor example, to filter for instances that do not end with name \"instance\",\nyou would use `name ne .*instance`.\n\nYou cannot combine constraints on multiple fields using regular\nexpressions.", +"location": "query", +"type": "string" +}, +"maxResults": { +"default": "500", +"description": "The maximum number of results per page that should be returned.\nIf the number of available results is larger than `maxResults`,\nCompute Engine returns a `nextPageToken` that can be used to get\nthe next page of results in subsequent list requests. Acceptable values are\n`0` to `500`, inclusive. (Default: `500`)", +"format": "uint32", +"location": "query", +"minimum": "0", +"type": "integer" +}, +"orderBy": { +"description": "Sorts list results by a certain order. By default, results\nare returned in alphanumerical order based on the resource name.\n\nYou can also sort results in descending order based on the creation\ntimestamp using `orderBy=\"creationTimestamp desc\"`. This sorts\nresults based on the `creationTimestamp` field in\nreverse chronological order (newest result first). Use this to sort\nresources like operations so that the newest operation is returned first.\n\nCurrently, only sorting by `name` or\n`creationTimestamp desc` is supported.", +"location": "query", +"type": "string" +}, +"pageToken": { +"description": "Specifies a page token to use. Set `pageToken` to the\n`nextPageToken` returned by a previous list request to get\nthe next page of results.", +"location": "query", +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "Name of the region scoping this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +}, +"returnPartialSuccess": { +"description": "Opt-in for partial success behavior which provides partial results in case\nof failure. The default value is false.\n\nFor example, when partial success behavior is enabled, aggregatedList for a\nsingle zone scope either returns all resources in the zone or no resources,\nwith an error code.", +"location": "query", +"type": "boolean" +} +}, +"path": "projects/{project}/regions/{region}/firewallPolicies", +"response": { +"$ref": "FirewallPolicyList" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"patch": { +"description": "Patches the specified network firewall policy.", +"flatPath": "projects/{project}/regions/{region}/firewallPolicies/{firewallPolicy}", +"httpMethod": "PATCH", +"id": "compute.regionNetworkFirewallPolicies.patch", +"parameterOrder": [ +"project", +"region", +"firewallPolicy" +], +"parameters": { +"firewallPolicy": { +"description": "Name of the firewall policy to update.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "Name of the region scoping this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "projects/{project}/regions/{region}/firewallPolicies/{firewallPolicy}", +"request": { +"$ref": "FirewallPolicy" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"patchAssociation": { +"description": "Updates an association for the specified network firewall policy.", +"flatPath": "projects/{project}/regions/{region}/firewallPolicies/{firewallPolicy}/patchAssociation", +"httpMethod": "POST", +"id": "compute.regionNetworkFirewallPolicies.patchAssociation", +"parameterOrder": [ +"project", +"region", +"firewallPolicy" +], +"parameters": { +"firewallPolicy": { +"description": "Name of the firewall policy to update.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "Name of the region scoping this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "projects/{project}/regions/{region}/firewallPolicies/{firewallPolicy}/patchAssociation", +"request": { +"$ref": "FirewallPolicyAssociation" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"patchRule": { +"description": "Patches a rule of the specified priority.", +"flatPath": "projects/{project}/regions/{region}/firewallPolicies/{firewallPolicy}/patchRule", +"httpMethod": "POST", +"id": "compute.regionNetworkFirewallPolicies.patchRule", +"parameterOrder": [ +"project", +"region", +"firewallPolicy" +], +"parameters": { +"firewallPolicy": { +"description": "Name of the firewall policy to update.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +}, +"priority": { +"description": "The priority of the rule to patch.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "Name of the region scoping this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "projects/{project}/regions/{region}/firewallPolicies/{firewallPolicy}/patchRule", +"request": { +"$ref": "FirewallPolicyRule" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"removeAssociation": { +"description": "Removes an association for the specified network firewall policy.", +"flatPath": "projects/{project}/regions/{region}/firewallPolicies/{firewallPolicy}/removeAssociation", +"httpMethod": "POST", +"id": "compute.regionNetworkFirewallPolicies.removeAssociation", +"parameterOrder": [ +"project", +"region", +"firewallPolicy" +], +"parameters": { +"firewallPolicy": { +"description": "Name of the firewall policy to update.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +}, +"name": { +"description": "Name for the association that will be removed.", +"location": "query", +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "Name of the region scoping this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "projects/{project}/regions/{region}/firewallPolicies/{firewallPolicy}/removeAssociation", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"removeRule": { +"description": "Deletes a rule of the specified priority.", +"flatPath": "projects/{project}/regions/{region}/firewallPolicies/{firewallPolicy}/removeRule", +"httpMethod": "POST", +"id": "compute.regionNetworkFirewallPolicies.removeRule", +"parameterOrder": [ +"project", +"region", +"firewallPolicy" +], +"parameters": { +"firewallPolicy": { +"description": "Name of the firewall policy to update.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +}, +"priority": { +"description": "The priority of the rule to remove from the firewall policy.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "Name of the region scoping this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "projects/{project}/regions/{region}/firewallPolicies/{firewallPolicy}/removeRule", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"setIamPolicy": { +"description": "Sets the access control policy on the specified resource.\nReplaces any existing policy.", +"flatPath": "projects/{project}/regions/{region}/firewallPolicies/{resource}/setIamPolicy", +"httpMethod": "POST", +"id": "compute.regionNetworkFirewallPolicies.setIamPolicy", +"parameterOrder": [ +"project", +"region", +"resource" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "The name of the region for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +}, +"resource": { +"description": "Name or id of the resource for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/regions/{region}/firewallPolicies/{resource}/setIamPolicy", +"request": { +"$ref": "RegionSetPolicyRequest" +}, +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"testIamPermissions": { +"description": "Returns permissions that a caller has on the specified resource.", +"flatPath": "projects/{project}/regions/{region}/firewallPolicies/{resource}/testIamPermissions", +"httpMethod": "POST", +"id": "compute.regionNetworkFirewallPolicies.testIamPermissions", +"parameterOrder": [ +"project", +"region", +"resource" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "The name of the region for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +}, +"resource": { +"description": "Name or id of the resource for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/regions/{region}/firewallPolicies/{resource}/testIamPermissions", +"request": { +"$ref": "TestPermissionsRequest" +}, +"response": { +"$ref": "TestPermissionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +} +} +}, +"regionNetworkPolicies": { +"methods": { +"addAssociation": { +"description": "Inserts an association for the specified network policy.", +"flatPath": "projects/{project}/regions/{region}/networkPolicies/{networkPolicy}/addAssociation", +"httpMethod": "POST", +"id": "compute.regionNetworkPolicies.addAssociation", +"parameterOrder": [ +"project", +"region", +"networkPolicy" +], +"parameters": { +"networkPolicy": { +"description": "Name of the network policy resource to update.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "Name of the region of this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "projects/{project}/regions/{region}/networkPolicies/{networkPolicy}/addAssociation", +"request": { +"$ref": "NetworkPolicyAssociation" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"addTrafficClassificationRule": { +"description": "Inserts a rule into a network policy.", +"flatPath": "projects/{project}/regions/{region}/networkPolicies/{networkPolicy}/addTrafficClassificationRule", +"httpMethod": "POST", +"id": "compute.regionNetworkPolicies.addTrafficClassificationRule", +"parameterOrder": [ +"project", +"region", +"networkPolicy" +], +"parameters": { +"networkPolicy": { +"description": "Name of the network policy resource to update.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "Name of the region of this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "projects/{project}/regions/{region}/networkPolicies/{networkPolicy}/addTrafficClassificationRule", +"request": { +"$ref": "NetworkPolicyTrafficClassificationRule" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"aggregatedList": { +"description": "Retrieves an aggregated list of network policies.\n\nTo prevent failure, it's recommended that you set the\n`returnPartialSuccess` parameter to `true`.", +"flatPath": "projects/{project}/aggregated/networkPolicies", +"httpMethod": "GET", +"id": "compute.regionNetworkPolicies.aggregatedList", +"parameterOrder": [ +"project" +], +"parameters": { +"filter": { +"description": "A filter expression that filters resources listed in the response. Most\nCompute resources support two types of filter expressions:\nexpressions that support regular expressions and expressions that follow\nAPI improvement proposal AIP-160.\nThese two types of filter expressions cannot be mixed in one request.\n\nIf you want to use AIP-160, your expression must specify the field name, an\noperator, and the value that you want to use for filtering. The value\nmust be a string, a number, or a boolean. The operator\nmust be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.\n\nFor example, if you are filtering Compute Engine instances, you can\nexclude instances named `example-instance` by specifying\n`name != example-instance`.\n\nThe `:*` comparison can be used to test whether a key has been defined.\nFor example, to find all objects with `owner` label use:\n```\nlabels.owner:*\n```\n\nYou can also filter nested fields. For example, you could specify\n`scheduling.automaticRestart = false` to include instances only\nif they are not scheduled for automatic restarts. You can use filtering\non nested fields to filter based onresource labels.\n\nTo filter on multiple expressions, provide each separate expression within\nparentheses. For example:\n```\n(scheduling.automaticRestart = true)\n(cpuPlatform = \"Intel Skylake\")\n```\nBy default, each expression is an `AND` expression. However, you\ncan include `AND` and `OR` expressions explicitly.\nFor example:\n```\n(cpuPlatform = \"Intel Skylake\") OR\n(cpuPlatform = \"Intel Broadwell\") AND\n(scheduling.automaticRestart = true)\n```\n\nIf you want to use a regular expression, use the `eq` (equal) or `ne`\n(not equal) operator against a single un-parenthesized expression with or\nwithout quotes or against multiple parenthesized expressions. Examples:\n\n`fieldname eq unquoted literal`\n`fieldname eq 'single quoted literal'`\n`fieldname eq \"double quoted literal\"`\n`(fieldname1 eq literal) (fieldname2 ne \"literal\")`\n\nThe literal value is interpreted as a regular expression using GoogleRE2 library syntax.\nThe literal value must match the entire field.\n\nFor example, to filter for instances that do not end with name \"instance\",\nyou would use `name ne .*instance`.\n\nYou cannot combine constraints on multiple fields using regular\nexpressions.", +"location": "query", +"type": "string" +}, +"includeAllScopes": { +"description": "Indicates whether every visible scope for each scope type (zone, region,\nglobal) should be included in the response. For new resource types added\nafter this field, the flag has no effect as new resource types will always\ninclude every visible scope for each scope type in response. For resource\ntypes which predate this field, if this flag is omitted or false, only\nscopes of the scope types where the resource type is expected to be found\nwill be included.", +"location": "query", +"type": "boolean" +}, +"maxResults": { +"default": "500", +"description": "The maximum number of results per page that should be returned.\nIf the number of available results is larger than `maxResults`,\nCompute Engine returns a `nextPageToken` that can be used to get\nthe next page of results in subsequent list requests. Acceptable values are\n`0` to `500`, inclusive. (Default: `500`)", +"format": "uint32", +"location": "query", +"minimum": "0", +"type": "integer" +}, +"orderBy": { +"description": "Sorts list results by a certain order. By default, results\nare returned in alphanumerical order based on the resource name.\n\nYou can also sort results in descending order based on the creation\ntimestamp using `orderBy=\"creationTimestamp desc\"`. This sorts\nresults based on the `creationTimestamp` field in\nreverse chronological order (newest result first). Use this to sort\nresources like operations so that the newest operation is returned first.\n\nCurrently, only sorting by `name` or\n`creationTimestamp desc` is supported.", +"location": "query", +"type": "string" +}, +"pageToken": { +"description": "Specifies a page token to use. Set `pageToken` to the\n`nextPageToken` returned by a previous list request to get\nthe next page of results.", +"location": "query", +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"returnPartialSuccess": { +"description": "Opt-in for partial success behavior which provides partial results in case\nof failure. The default value is false.\n\nFor example, when partial success behavior is enabled, aggregatedList for a\nsingle zone scope either returns all resources in the zone or no resources,\nwith an error code.", +"location": "query", +"type": "boolean" +}, +"serviceProjectNumber": { +"description": "The Shared VPC service project id or service project number for which\naggregated list request is invoked for subnetworks list-usable api.", +"format": "int64", +"location": "query", +"type": "string" +} +}, +"path": "projects/{project}/aggregated/networkPolicies", +"response": { +"$ref": "NetworkPolicyAggregatedList" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"delete": { +"description": "Deletes the specified policy.", +"flatPath": "projects/{project}/regions/{region}/networkPolicies/{networkPolicy}", +"httpMethod": "DELETE", +"id": "compute.regionNetworkPolicies.delete", +"parameterOrder": [ +"project", +"region", +"networkPolicy" +], +"parameters": { +"networkPolicy": { +"description": "Name of the network policy resource to delete.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "Name of the region of this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "projects/{project}/regions/{region}/networkPolicies/{networkPolicy}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"get": { +"description": "Returns the specified network policy.", +"flatPath": "projects/{project}/regions/{region}/networkPolicies/{networkPolicy}", +"httpMethod": "GET", +"id": "compute.regionNetworkPolicies.get", +"parameterOrder": [ +"project", +"region", +"networkPolicy" +], +"parameters": { +"networkPolicy": { +"description": "Name of the network policy resource to return.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "Name of the region of this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/regions/{region}/networkPolicies/{networkPolicy}", +"response": { +"$ref": "NetworkPolicy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"getAssociation": { +"description": "Gets an association with the specified name.", +"flatPath": "projects/{project}/regions/{region}/networkPolicies/{networkPolicy}/getAssociation", +"httpMethod": "GET", +"id": "compute.regionNetworkPolicies.getAssociation", +"parameterOrder": [ +"project", +"region", +"networkPolicy" +], +"parameters": { +"name": { +"description": "The name of the association to get from the network policy.", +"location": "query", +"type": "string" +}, +"networkPolicy": { +"description": "Name of the network policy to which the queried association belongs.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "Name of the region of this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/regions/{region}/networkPolicies/{networkPolicy}/getAssociation", +"response": { +"$ref": "NetworkPolicyAssociation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"getTrafficClassificationRule": { +"description": "Gets a rule of the specified priority.", +"flatPath": "projects/{project}/regions/{region}/networkPolicies/{networkPolicy}/getTrafficClassificationRule", +"httpMethod": "GET", +"id": "compute.regionNetworkPolicies.getTrafficClassificationRule", +"parameterOrder": [ +"project", +"region", +"networkPolicy" +], +"parameters": { +"networkPolicy": { +"description": "Name of the network policy to which the queried rule belongs.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +}, +"priority": { +"description": "The priority of the rule to get from the network policy.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "Name of the region of this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/regions/{region}/networkPolicies/{networkPolicy}/getTrafficClassificationRule", +"response": { +"$ref": "NetworkPolicyTrafficClassificationRule" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"insert": { +"description": "Creates a new policy in the specified project using the data included in\nthe request.", +"flatPath": "projects/{project}/regions/{region}/networkPolicies", +"httpMethod": "POST", +"id": "compute.regionNetworkPolicies.insert", +"parameterOrder": [ +"project", +"region" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "Name of the region of this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID\nso that if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "projects/{project}/regions/{region}/networkPolicies", +"request": { +"$ref": "NetworkPolicy" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"list": { +"description": "Lists all the policies that have been configured for the specified project\nin the given region.", +"flatPath": "projects/{project}/regions/{region}/networkPolicies", +"httpMethod": "GET", +"id": "compute.regionNetworkPolicies.list", +"parameterOrder": [ +"project", +"region" +], +"parameters": { +"filter": { +"description": "A filter expression that filters resources listed in the response. Most\nCompute resources support two types of filter expressions:\nexpressions that support regular expressions and expressions that follow\nAPI improvement proposal AIP-160.\nThese two types of filter expressions cannot be mixed in one request.\n\nIf you want to use AIP-160, your expression must specify the field name, an\noperator, and the value that you want to use for filtering. The value\nmust be a string, a number, or a boolean. The operator\nmust be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.\n\nFor example, if you are filtering Compute Engine instances, you can\nexclude instances named `example-instance` by specifying\n`name != example-instance`.\n\nThe `:*` comparison can be used to test whether a key has been defined.\nFor example, to find all objects with `owner` label use:\n```\nlabels.owner:*\n```\n\nYou can also filter nested fields. For example, you could specify\n`scheduling.automaticRestart = false` to include instances only\nif they are not scheduled for automatic restarts. You can use filtering\non nested fields to filter based onresource labels.\n\nTo filter on multiple expressions, provide each separate expression within\nparentheses. For example:\n```\n(scheduling.automaticRestart = true)\n(cpuPlatform = \"Intel Skylake\")\n```\nBy default, each expression is an `AND` expression. However, you\ncan include `AND` and `OR` expressions explicitly.\nFor example:\n```\n(cpuPlatform = \"Intel Skylake\") OR\n(cpuPlatform = \"Intel Broadwell\") AND\n(scheduling.automaticRestart = true)\n```\n\nIf you want to use a regular expression, use the `eq` (equal) or `ne`\n(not equal) operator against a single un-parenthesized expression with or\nwithout quotes or against multiple parenthesized expressions. Examples:\n\n`fieldname eq unquoted literal`\n`fieldname eq 'single quoted literal'`\n`fieldname eq \"double quoted literal\"`\n`(fieldname1 eq literal) (fieldname2 ne \"literal\")`\n\nThe literal value is interpreted as a regular expression using GoogleRE2 library syntax.\nThe literal value must match the entire field.\n\nFor example, to filter for instances that do not end with name \"instance\",\nyou would use `name ne .*instance`.\n\nYou cannot combine constraints on multiple fields using regular\nexpressions.", +"location": "query", +"type": "string" +}, +"maxResults": { +"default": "500", +"description": "The maximum number of results per page that should be returned.\nIf the number of available results is larger than `maxResults`,\nCompute Engine returns a `nextPageToken` that can be used to get\nthe next page of results in subsequent list requests. Acceptable values are\n`0` to `500`, inclusive. (Default: `500`)", +"format": "uint32", +"location": "query", +"minimum": "0", +"type": "integer" +}, +"orderBy": { +"description": "Sorts list results by a certain order. By default, results\nare returned in alphanumerical order based on the resource name.\n\nYou can also sort results in descending order based on the creation\ntimestamp using `orderBy=\"creationTimestamp desc\"`. This sorts\nresults based on the `creationTimestamp` field in\nreverse chronological order (newest result first). Use this to sort\nresources like operations so that the newest operation is returned first.\n\nCurrently, only sorting by `name` or\n`creationTimestamp desc` is supported.", +"location": "query", +"type": "string" +}, +"pageToken": { +"description": "Specifies a page token to use. Set `pageToken` to the\n`nextPageToken` returned by a previous list request to get\nthe next page of results.", +"location": "query", +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "Name of the region of this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +}, +"returnPartialSuccess": { +"description": "Opt-in for partial success behavior which provides partial results in case\nof failure. The default value is false.\n\nFor example, when partial success behavior is enabled, aggregatedList for a\nsingle zone scope either returns all resources in the zone or no resources,\nwith an error code.", +"location": "query", +"type": "boolean" +} +}, +"path": "projects/{project}/regions/{region}/networkPolicies", +"response": { +"$ref": "NetworkPolicyList" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"patch": { +"description": "Patches the specified policy with the data included in the\nrequest.", +"flatPath": "projects/{project}/regions/{region}/networkPolicies/{networkPolicy}", +"httpMethod": "PATCH", +"id": "compute.regionNetworkPolicies.patch", +"parameterOrder": [ +"project", +"region", +"networkPolicy" +], +"parameters": { +"networkPolicy": { +"description": "Name of the network policy resource to update.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "Name of the region of this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "projects/{project}/regions/{region}/networkPolicies/{networkPolicy}", +"request": { +"$ref": "NetworkPolicy" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"patchTrafficClassificationRule": { +"description": "Patches a rule of the specified priority.", +"flatPath": "projects/{project}/regions/{region}/networkPolicies/{networkPolicy}/patchTrafficClassificationRule", +"httpMethod": "POST", +"id": "compute.regionNetworkPolicies.patchTrafficClassificationRule", +"parameterOrder": [ +"project", +"region", +"networkPolicy" +], +"parameters": { +"networkPolicy": { +"description": "Name of the network policy resource to update.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +}, +"priority": { +"description": "The priority of the traffic classification rule to patch. Only rules with\na priority value between 1 and 2147482647 (inclusive) can be patched.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "Name of the region of this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "projects/{project}/regions/{region}/networkPolicies/{networkPolicy}/patchTrafficClassificationRule", +"request": { +"$ref": "NetworkPolicyTrafficClassificationRule" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"removeAssociation": { +"description": "Removes an association for the specified network policy.", +"flatPath": "projects/{project}/regions/{region}/networkPolicies/{networkPolicy}/removeAssociation", +"httpMethod": "POST", +"id": "compute.regionNetworkPolicies.removeAssociation", +"parameterOrder": [ +"project", +"region", +"networkPolicy" +], +"parameters": { +"name": { +"description": "Name for the association that will be removed.", +"location": "query", +"type": "string" +}, +"networkPolicy": { +"description": "Name of the network policy resource to update.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "Name of the region of this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "projects/{project}/regions/{region}/networkPolicies/{networkPolicy}/removeAssociation", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"removeTrafficClassificationRule": { +"description": "Deletes a rule of the specified priority.", +"flatPath": "projects/{project}/regions/{region}/networkPolicies/{networkPolicy}/removeTrafficClassificationRule", +"httpMethod": "POST", +"id": "compute.regionNetworkPolicies.removeTrafficClassificationRule", +"parameterOrder": [ +"project", +"region", +"networkPolicy" +], +"parameters": { +"networkPolicy": { +"description": "Name of the network policy resource to update.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +}, +"priority": { +"description": "The priority of the rule to remove from the network policy.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "Name of the region of this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "projects/{project}/regions/{region}/networkPolicies/{networkPolicy}/removeTrafficClassificationRule", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +} +} +}, +"regionNotificationEndpoints": { +"methods": { +"delete": { +"description": "Deletes the specified NotificationEndpoint in the given region", +"flatPath": "projects/{project}/regions/{region}/notificationEndpoints/{notificationEndpoint}", +"httpMethod": "DELETE", +"id": "compute.regionNotificationEndpoints.delete", +"parameterOrder": [ +"project", +"region", +"notificationEndpoint" +], +"parameters": { +"notificationEndpoint": { +"description": "Name of the NotificationEndpoint resource to delete.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "Name of the region scoping this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "projects/{project}/regions/{region}/notificationEndpoints/{notificationEndpoint}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"get": { +"description": "Returns the specified NotificationEndpoint resource in the given region.", +"flatPath": "projects/{project}/regions/{region}/notificationEndpoints/{notificationEndpoint}", +"httpMethod": "GET", +"id": "compute.regionNotificationEndpoints.get", +"parameterOrder": [ +"project", +"region", +"notificationEndpoint" +], +"parameters": { +"notificationEndpoint": { +"description": "Name of the NotificationEndpoint resource to return.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "Name of the region scoping this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/regions/{region}/notificationEndpoints/{notificationEndpoint}", +"response": { +"$ref": "NotificationEndpoint" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"insert": { +"description": "Create a NotificationEndpoint in the specified project in the given region\nusing the parameters that are included in the request.", +"flatPath": "projects/{project}/regions/{region}/notificationEndpoints", +"httpMethod": "POST", +"id": "compute.regionNotificationEndpoints.insert", +"parameterOrder": [ +"project", +"region" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "Name of the region scoping this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "projects/{project}/regions/{region}/notificationEndpoints", +"request": { +"$ref": "NotificationEndpoint" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"list": { +"description": "Lists the NotificationEndpoints for a project in the given region.", +"flatPath": "projects/{project}/regions/{region}/notificationEndpoints", +"httpMethod": "GET", +"id": "compute.regionNotificationEndpoints.list", +"parameterOrder": [ +"project", +"region" +], +"parameters": { +"filter": { +"description": "A filter expression that filters resources listed in the response. Most\nCompute resources support two types of filter expressions:\nexpressions that support regular expressions and expressions that follow\nAPI improvement proposal AIP-160.\nThese two types of filter expressions cannot be mixed in one request.\n\nIf you want to use AIP-160, your expression must specify the field name, an\noperator, and the value that you want to use for filtering. The value\nmust be a string, a number, or a boolean. The operator\nmust be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.\n\nFor example, if you are filtering Compute Engine instances, you can\nexclude instances named `example-instance` by specifying\n`name != example-instance`.\n\nThe `:*` comparison can be used to test whether a key has been defined.\nFor example, to find all objects with `owner` label use:\n```\nlabels.owner:*\n```\n\nYou can also filter nested fields. For example, you could specify\n`scheduling.automaticRestart = false` to include instances only\nif they are not scheduled for automatic restarts. You can use filtering\non nested fields to filter based onresource labels.\n\nTo filter on multiple expressions, provide each separate expression within\nparentheses. For example:\n```\n(scheduling.automaticRestart = true)\n(cpuPlatform = \"Intel Skylake\")\n```\nBy default, each expression is an `AND` expression. However, you\ncan include `AND` and `OR` expressions explicitly.\nFor example:\n```\n(cpuPlatform = \"Intel Skylake\") OR\n(cpuPlatform = \"Intel Broadwell\") AND\n(scheduling.automaticRestart = true)\n```\n\nIf you want to use a regular expression, use the `eq` (equal) or `ne`\n(not equal) operator against a single un-parenthesized expression with or\nwithout quotes or against multiple parenthesized expressions. Examples:\n\n`fieldname eq unquoted literal`\n`fieldname eq 'single quoted literal'`\n`fieldname eq \"double quoted literal\"`\n`(fieldname1 eq literal) (fieldname2 ne \"literal\")`\n\nThe literal value is interpreted as a regular expression using GoogleRE2 library syntax.\nThe literal value must match the entire field.\n\nFor example, to filter for instances that do not end with name \"instance\",\nyou would use `name ne .*instance`.\n\nYou cannot combine constraints on multiple fields using regular\nexpressions.", +"location": "query", +"type": "string" +}, +"maxResults": { +"default": "500", +"description": "The maximum number of results per page that should be returned.\nIf the number of available results is larger than `maxResults`,\nCompute Engine returns a `nextPageToken` that can be used to get\nthe next page of results in subsequent list requests. Acceptable values are\n`0` to `500`, inclusive. (Default: `500`)", +"format": "uint32", +"location": "query", +"minimum": "0", +"type": "integer" +}, +"orderBy": { +"description": "Sorts list results by a certain order. By default, results\nare returned in alphanumerical order based on the resource name.\n\nYou can also sort results in descending order based on the creation\ntimestamp using `orderBy=\"creationTimestamp desc\"`. This sorts\nresults based on the `creationTimestamp` field in\nreverse chronological order (newest result first). Use this to sort\nresources like operations so that the newest operation is returned first.\n\nCurrently, only sorting by `name` or\n`creationTimestamp desc` is supported.", +"location": "query", +"type": "string" +}, +"pageToken": { +"description": "Specifies a page token to use. Set `pageToken` to the\n`nextPageToken` returned by a previous list request to get\nthe next page of results.", +"location": "query", +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "Name of the region scoping this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +}, +"returnPartialSuccess": { +"description": "Opt-in for partial success behavior which provides partial results in case\nof failure. The default value is false.\n\nFor example, when partial success behavior is enabled, aggregatedList for a\nsingle zone scope either returns all resources in the zone or no resources,\nwith an error code.", +"location": "query", +"type": "boolean" +} +}, +"path": "projects/{project}/regions/{region}/notificationEndpoints", +"response": { +"$ref": "NotificationEndpointList" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"testIamPermissions": { +"description": "Returns permissions that a caller has on the specified resource.", +"flatPath": "projects/{project}/regions/{region}/notificationEndpoints/{resource}/testIamPermissions", +"httpMethod": "POST", +"id": "compute.regionNotificationEndpoints.testIamPermissions", +"parameterOrder": [ +"project", +"region", +"resource" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "The name of the region for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +}, +"resource": { +"description": "Name or id of the resource for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/regions/{region}/notificationEndpoints/{resource}/testIamPermissions", +"request": { +"$ref": "TestPermissionsRequest" +}, +"response": { +"$ref": "TestPermissionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +} +} +}, +"regionOperations": { +"methods": { +"delete": { +"description": "Deletes the specified region-specific Operations resource.", +"flatPath": "projects/{project}/regions/{region}/operations/{operation}", +"httpMethod": "DELETE", +"id": "compute.regionOperations.delete", +"parameterOrder": [ +"project", +"region", +"operation" +], +"parameters": { +"operation": { +"description": "Name of the Operations resource to delete, or its unique numeric\nidentifier.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "Name of the region for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/regions/{region}/operations/{operation}", +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"get": { +"description": "Retrieves the specified region-specific Operations resource.", +"flatPath": "projects/{project}/regions/{region}/operations/{operation}", +"httpMethod": "GET", +"id": "compute.regionOperations.get", +"parameterOrder": [ +"project", +"region", +"operation" +], +"parameters": { +"operation": { +"description": "Name of the Operations resource to return, or its unique numeric\nidentifier.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "Name of the region for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/regions/{region}/operations/{operation}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"list": { +"description": "Retrieves a list of Operation resources contained within\nthe specified region.", +"flatPath": "projects/{project}/regions/{region}/operations", +"httpMethod": "GET", +"id": "compute.regionOperations.list", +"parameterOrder": [ +"project", +"region" +], +"parameters": { +"filter": { +"description": "A filter expression that filters resources listed in the response. Most\nCompute resources support two types of filter expressions:\nexpressions that support regular expressions and expressions that follow\nAPI improvement proposal AIP-160.\nThese two types of filter expressions cannot be mixed in one request.\n\nIf you want to use AIP-160, your expression must specify the field name, an\noperator, and the value that you want to use for filtering. The value\nmust be a string, a number, or a boolean. The operator\nmust be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.\n\nFor example, if you are filtering Compute Engine instances, you can\nexclude instances named `example-instance` by specifying\n`name != example-instance`.\n\nThe `:*` comparison can be used to test whether a key has been defined.\nFor example, to find all objects with `owner` label use:\n```\nlabels.owner:*\n```\n\nYou can also filter nested fields. For example, you could specify\n`scheduling.automaticRestart = false` to include instances only\nif they are not scheduled for automatic restarts. You can use filtering\non nested fields to filter based onresource labels.\n\nTo filter on multiple expressions, provide each separate expression within\nparentheses. For example:\n```\n(scheduling.automaticRestart = true)\n(cpuPlatform = \"Intel Skylake\")\n```\nBy default, each expression is an `AND` expression. However, you\ncan include `AND` and `OR` expressions explicitly.\nFor example:\n```\n(cpuPlatform = \"Intel Skylake\") OR\n(cpuPlatform = \"Intel Broadwell\") AND\n(scheduling.automaticRestart = true)\n```\n\nIf you want to use a regular expression, use the `eq` (equal) or `ne`\n(not equal) operator against a single un-parenthesized expression with or\nwithout quotes or against multiple parenthesized expressions. Examples:\n\n`fieldname eq unquoted literal`\n`fieldname eq 'single quoted literal'`\n`fieldname eq \"double quoted literal\"`\n`(fieldname1 eq literal) (fieldname2 ne \"literal\")`\n\nThe literal value is interpreted as a regular expression using GoogleRE2 library syntax.\nThe literal value must match the entire field.\n\nFor example, to filter for instances that do not end with name \"instance\",\nyou would use `name ne .*instance`.\n\nYou cannot combine constraints on multiple fields using regular\nexpressions.", +"location": "query", +"type": "string" +}, +"maxResults": { +"default": "500", +"description": "The maximum number of results per page that should be returned.\nIf the number of available results is larger than `maxResults`,\nCompute Engine returns a `nextPageToken` that can be used to get\nthe next page of results in subsequent list requests. Acceptable values are\n`0` to `500`, inclusive. (Default: `500`)", +"format": "uint32", +"location": "query", +"minimum": "0", +"type": "integer" +}, +"orderBy": { +"description": "Sorts list results by a certain order. By default, results\nare returned in alphanumerical order based on the resource name.\n\nYou can also sort results in descending order based on the creation\ntimestamp using `orderBy=\"creationTimestamp desc\"`. This sorts\nresults based on the `creationTimestamp` field in\nreverse chronological order (newest result first). Use this to sort\nresources like operations so that the newest operation is returned first.\n\nCurrently, only sorting by `name` or\n`creationTimestamp desc` is supported.", +"location": "query", +"type": "string" +}, +"pageToken": { +"description": "Specifies a page token to use. Set `pageToken` to the\n`nextPageToken` returned by a previous list request to get\nthe next page of results.", +"location": "query", +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "Name of the region for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +}, +"returnPartialSuccess": { +"description": "Opt-in for partial success behavior which provides partial results in case\nof failure. The default value is false.\n\nFor example, when partial success behavior is enabled, aggregatedList for a\nsingle zone scope either returns all resources in the zone or no resources,\nwith an error code.", +"location": "query", +"type": "boolean" +} +}, +"path": "projects/{project}/regions/{region}/operations", +"response": { +"$ref": "OperationList" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"wait": { +"description": "Waits for the specified Operation resource to return as `DONE`\nor for the request to approach the 2 minute deadline, and retrieves the\nspecified Operation resource. This method differs from the\n`GET` method in that it waits for no more than the default\ndeadline (2 minutes) and then returns the current state of the operation,\nwhich might be `DONE` or still in progress.\n\nThis method is called on a best-effort basis. Specifically:\n \n \n - In uncommon cases, when the server is overloaded, the request might\n return before the default deadline is reached, or might return after zero\n seconds.\n - If the default deadline is reached, there is no guarantee that the\n operation is actually done when the method returns. Be prepared to retry\n if the operation is not `DONE`.", +"flatPath": "projects/{project}/regions/{region}/operations/{operation}/wait", +"httpMethod": "POST", +"id": "compute.regionOperations.wait", +"parameterOrder": [ +"project", +"region", +"operation" +], +"parameters": { +"operation": { +"description": "Name of the Operations resource to return, or its unique numeric\nidentifier.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "Name of the region for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/regions/{region}/operations/{operation}/wait", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +} +} +}, +"regionSecurityPolicies": { +"methods": { +"addRule": { +"description": "Inserts a rule into a security policy.", +"flatPath": "projects/{project}/regions/{region}/securityPolicies/{securityPolicy}/addRule", +"httpMethod": "POST", +"id": "compute.regionSecurityPolicies.addRule", +"parameterOrder": [ +"project", +"region", +"securityPolicy" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "Name of the region scoping this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +}, +"securityPolicy": { +"description": "Name of the security policy to update.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +}, +"validateOnly": { +"description": "If true, the request will not be committed.", +"location": "query", +"type": "boolean" +} +}, +"path": "projects/{project}/regions/{region}/securityPolicies/{securityPolicy}/addRule", +"request": { +"$ref": "SecurityPolicyRule" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"delete": { +"description": "Deletes the specified policy.", +"flatPath": "projects/{project}/regions/{region}/securityPolicies/{securityPolicy}", +"httpMethod": "DELETE", +"id": "compute.regionSecurityPolicies.delete", +"parameterOrder": [ +"project", +"region", +"securityPolicy" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "Name of the region scoping this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"securityPolicy": { +"description": "Name of the security policy to delete.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/regions/{region}/securityPolicies/{securityPolicy}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"get": { +"description": "List all of the ordered rules present in a single specified policy.", +"flatPath": "projects/{project}/regions/{region}/securityPolicies/{securityPolicy}", +"httpMethod": "GET", +"id": "compute.regionSecurityPolicies.get", +"parameterOrder": [ +"project", +"region", +"securityPolicy" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "Name of the region scoping this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +}, +"securityPolicy": { +"description": "Name of the security policy to get.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/regions/{region}/securityPolicies/{securityPolicy}", +"response": { +"$ref": "SecurityPolicy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"getRule": { +"description": "Gets a rule at the specified priority.", +"flatPath": "projects/{project}/regions/{region}/securityPolicies/{securityPolicy}/getRule", +"httpMethod": "GET", +"id": "compute.regionSecurityPolicies.getRule", +"parameterOrder": [ +"project", +"region", +"securityPolicy" +], +"parameters": { +"priority": { +"description": "The priority of the rule to get from the security policy.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "Name of the region scoping this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +}, +"securityPolicy": { +"description": "Name of the security policy to which the queried rule belongs.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/regions/{region}/securityPolicies/{securityPolicy}/getRule", +"response": { +"$ref": "SecurityPolicyRule" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"insert": { +"description": "Creates a new policy in the specified project using the data included in\nthe request.", +"flatPath": "projects/{project}/regions/{region}/securityPolicies", +"httpMethod": "POST", +"id": "compute.regionSecurityPolicies.insert", +"parameterOrder": [ +"project", +"region" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "Name of the region scoping this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"validateOnly": { +"description": "If true, the request will not be committed.", +"location": "query", +"type": "boolean" +} +}, +"path": "projects/{project}/regions/{region}/securityPolicies", +"request": { +"$ref": "SecurityPolicy" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"list": { +"description": "List all the policies that have been configured for the specified project\nand region.", +"flatPath": "projects/{project}/regions/{region}/securityPolicies", +"httpMethod": "GET", +"id": "compute.regionSecurityPolicies.list", +"parameterOrder": [ +"project", +"region" +], +"parameters": { +"filter": { +"description": "A filter expression that filters resources listed in the response. Most\nCompute resources support two types of filter expressions:\nexpressions that support regular expressions and expressions that follow\nAPI improvement proposal AIP-160.\nThese two types of filter expressions cannot be mixed in one request.\n\nIf you want to use AIP-160, your expression must specify the field name, an\noperator, and the value that you want to use for filtering. The value\nmust be a string, a number, or a boolean. The operator\nmust be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.\n\nFor example, if you are filtering Compute Engine instances, you can\nexclude instances named `example-instance` by specifying\n`name != example-instance`.\n\nThe `:*` comparison can be used to test whether a key has been defined.\nFor example, to find all objects with `owner` label use:\n```\nlabels.owner:*\n```\n\nYou can also filter nested fields. For example, you could specify\n`scheduling.automaticRestart = false` to include instances only\nif they are not scheduled for automatic restarts. You can use filtering\non nested fields to filter based onresource labels.\n\nTo filter on multiple expressions, provide each separate expression within\nparentheses. For example:\n```\n(scheduling.automaticRestart = true)\n(cpuPlatform = \"Intel Skylake\")\n```\nBy default, each expression is an `AND` expression. However, you\ncan include `AND` and `OR` expressions explicitly.\nFor example:\n```\n(cpuPlatform = \"Intel Skylake\") OR\n(cpuPlatform = \"Intel Broadwell\") AND\n(scheduling.automaticRestart = true)\n```\n\nIf you want to use a regular expression, use the `eq` (equal) or `ne`\n(not equal) operator against a single un-parenthesized expression with or\nwithout quotes or against multiple parenthesized expressions. Examples:\n\n`fieldname eq unquoted literal`\n`fieldname eq 'single quoted literal'`\n`fieldname eq \"double quoted literal\"`\n`(fieldname1 eq literal) (fieldname2 ne \"literal\")`\n\nThe literal value is interpreted as a regular expression using GoogleRE2 library syntax.\nThe literal value must match the entire field.\n\nFor example, to filter for instances that do not end with name \"instance\",\nyou would use `name ne .*instance`.\n\nYou cannot combine constraints on multiple fields using regular\nexpressions.", +"location": "query", +"type": "string" +}, +"maxResults": { +"default": "500", +"description": "The maximum number of results per page that should be returned.\nIf the number of available results is larger than `maxResults`,\nCompute Engine returns a `nextPageToken` that can be used to get\nthe next page of results in subsequent list requests. Acceptable values are\n`0` to `500`, inclusive. (Default: `500`)", +"format": "uint32", +"location": "query", +"minimum": "0", +"type": "integer" +}, +"orderBy": { +"description": "Sorts list results by a certain order. By default, results\nare returned in alphanumerical order based on the resource name.\n\nYou can also sort results in descending order based on the creation\ntimestamp using `orderBy=\"creationTimestamp desc\"`. This sorts\nresults based on the `creationTimestamp` field in\nreverse chronological order (newest result first). Use this to sort\nresources like operations so that the newest operation is returned first.\n\nCurrently, only sorting by `name` or\n`creationTimestamp desc` is supported.", +"location": "query", +"type": "string" +}, +"pageToken": { +"description": "Specifies a page token to use. Set `pageToken` to the\n`nextPageToken` returned by a previous list request to get\nthe next page of results.", +"location": "query", +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "Name of the region scoping this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +}, +"returnPartialSuccess": { +"description": "Opt-in for partial success behavior which provides partial results in case\nof failure. The default value is false.\n\nFor example, when partial success behavior is enabled, aggregatedList for a\nsingle zone scope either returns all resources in the zone or no resources,\nwith an error code.", +"location": "query", +"type": "boolean" +} +}, +"path": "projects/{project}/regions/{region}/securityPolicies", +"response": { +"$ref": "SecurityPolicyList" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"patch": { +"description": "Patches the specified policy with the data included in the request. To\nclear fields in the policy, leave the fields empty and specify them in the\nupdateMask. This cannot be used to be update the rules in the policy.\nPlease use the per rule methods like addRule, patchRule, and removeRule\ninstead.", +"flatPath": "projects/{project}/regions/{region}/securityPolicies/{securityPolicy}", +"httpMethod": "PATCH", +"id": "compute.regionSecurityPolicies.patch", +"parameterOrder": [ +"project", +"region", +"securityPolicy" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "Name of the region scoping this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"securityPolicy": { +"description": "Name of the security policy to update.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Indicates fields to be cleared as part of this request.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "projects/{project}/regions/{region}/securityPolicies/{securityPolicy}", +"request": { +"$ref": "SecurityPolicy" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"patchRule": { +"description": "Patches a rule at the specified priority. To clear fields in the rule,\nleave the fields empty and specify them in the updateMask.", +"flatPath": "projects/{project}/regions/{region}/securityPolicies/{securityPolicy}/patchRule", +"httpMethod": "POST", +"id": "compute.regionSecurityPolicies.patchRule", +"parameterOrder": [ +"project", +"region", +"securityPolicy" +], +"parameters": { +"priority": { +"description": "The priority of the rule to patch.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "Name of the region scoping this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +}, +"securityPolicy": { +"description": "Name of the security policy to update.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Indicates fields to be cleared as part of this request.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +}, +"validateOnly": { +"description": "If true, the request will not be committed.", +"location": "query", +"type": "boolean" +} +}, +"path": "projects/{project}/regions/{region}/securityPolicies/{securityPolicy}/patchRule", +"request": { +"$ref": "SecurityPolicyRule" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"removeRule": { +"description": "Deletes a rule at the specified priority.", +"flatPath": "projects/{project}/regions/{region}/securityPolicies/{securityPolicy}/removeRule", +"httpMethod": "POST", +"id": "compute.regionSecurityPolicies.removeRule", +"parameterOrder": [ +"project", +"region", +"securityPolicy" +], +"parameters": { +"priority": { +"description": "The priority of the rule to remove from the security policy.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "Name of the region scoping this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +}, +"securityPolicy": { +"description": "Name of the security policy to update.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/regions/{region}/securityPolicies/{securityPolicy}/removeRule", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"setLabels": { +"description": "Sets the labels on a security policy. To learn more about labels,\nread the Labeling Resources\ndocumentation.", +"flatPath": "projects/{project}/regions/{region}/securityPolicies/{resource}/setLabels", +"httpMethod": "POST", +"id": "compute.regionSecurityPolicies.setLabels", +"parameterOrder": [ +"project", +"region", +"resource" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "The region for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"resource": { +"description": "Name or id of the resource for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/regions/{region}/securityPolicies/{resource}/setLabels", +"request": { +"$ref": "RegionSetLabelsRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +} +} +}, +"regionSnapshotSettings": { +"methods": { +"get": { +"description": "Get region snapshot settings.", +"flatPath": "projects/{project}/regions/{region}/snapshotSettings", +"httpMethod": "GET", +"id": "compute.regionSnapshotSettings.get", +"parameterOrder": [ +"project", +"region" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "Name of the region for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/regions/{region}/snapshotSettings", +"response": { +"$ref": "SnapshotSettings" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"patch": { +"description": "Patch region snapshot settings.", +"flatPath": "projects/{project}/regions/{region}/snapshotSettings", +"httpMethod": "PATCH", +"id": "compute.regionSnapshotSettings.patch", +"parameterOrder": [ +"project", +"region" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "Name of the region for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"updateMask": { +"description": "update_mask indicates fields to be updated as part of this request.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "projects/{project}/regions/{region}/snapshotSettings", +"request": { +"$ref": "SnapshotSettings" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +} +} +}, +"regionSnapshots": { +"methods": { +"delete": { +"description": "Deletes the specified Snapshot resource. Keep in mind that deleting\na single snapshot might not necessarily delete all the data on that\nsnapshot. If any data on the snapshot that is marked for deletion is\nneeded for subsequent snapshots, the data will be moved to the next\ncorresponding snapshot.\n\nFor more information, seeDeleting\nsnapshots.", +"flatPath": "projects/{project}/regions/{region}/snapshots/{snapshot}", +"httpMethod": "DELETE", +"id": "compute.regionSnapshots.delete", +"parameterOrder": [ +"project", +"region", +"snapshot" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "The name of the region for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"snapshot": { +"description": "Name of the snapshot resource to delete.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/regions/{region}/snapshots/{snapshot}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"get": { +"description": "Returns the specified Snapshot resource.", +"flatPath": "projects/{project}/regions/{region}/snapshots/{snapshot}", +"httpMethod": "GET", +"id": "compute.regionSnapshots.get", +"parameterOrder": [ +"project", +"region", +"snapshot" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "Name of the region for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +}, +"snapshot": { +"description": "Name of the Snapshot resource to return.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/regions/{region}/snapshots/{snapshot}", +"response": { +"$ref": "Snapshot" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"getIamPolicy": { +"description": "Gets the access control policy for a resource. May be empty if no such\npolicy or resource exists.", +"flatPath": "projects/{project}/regions/{region}/snapshots/{resource}/getIamPolicy", +"httpMethod": "GET", +"id": "compute.regionSnapshots.getIamPolicy", +"parameterOrder": [ +"project", +"region", +"resource" +], +"parameters": { +"optionsRequestedPolicyVersion": { +"description": "Requested IAM Policy version.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "The name of the region for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +}, +"resource": { +"description": "Name or id of the resource for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/regions/{region}/snapshots/{resource}/getIamPolicy", +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"insert": { +"description": "Creates a snapshot in the specified region using the data included\nin the request.", +"flatPath": "projects/{project}/regions/{region}/snapshots", +"httpMethod": "POST", +"id": "compute.regionSnapshots.insert", +"parameterOrder": [ +"project", +"region" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "Name of the region for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "projects/{project}/regions/{region}/snapshots", +"request": { +"$ref": "Snapshot" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"list": { +"description": "Retrieves the list of Snapshot resources contained within\nthe specified region.", +"flatPath": "projects/{project}/regions/{region}/snapshots", +"httpMethod": "GET", +"id": "compute.regionSnapshots.list", +"parameterOrder": [ +"project", +"region" +], +"parameters": { +"filter": { +"description": "A filter expression that filters resources listed in the response. Most\nCompute resources support two types of filter expressions:\nexpressions that support regular expressions and expressions that follow\nAPI improvement proposal AIP-160.\nThese two types of filter expressions cannot be mixed in one request.\n\nIf you want to use AIP-160, your expression must specify the field name, an\noperator, and the value that you want to use for filtering. The value\nmust be a string, a number, or a boolean. The operator\nmust be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.\n\nFor example, if you are filtering Compute Engine instances, you can\nexclude instances named `example-instance` by specifying\n`name != example-instance`.\n\nThe `:*` comparison can be used to test whether a key has been defined.\nFor example, to find all objects with `owner` label use:\n```\nlabels.owner:*\n```\n\nYou can also filter nested fields. For example, you could specify\n`scheduling.automaticRestart = false` to include instances only\nif they are not scheduled for automatic restarts. You can use filtering\non nested fields to filter based onresource labels.\n\nTo filter on multiple expressions, provide each separate expression within\nparentheses. For example:\n```\n(scheduling.automaticRestart = true)\n(cpuPlatform = \"Intel Skylake\")\n```\nBy default, each expression is an `AND` expression. However, you\ncan include `AND` and `OR` expressions explicitly.\nFor example:\n```\n(cpuPlatform = \"Intel Skylake\") OR\n(cpuPlatform = \"Intel Broadwell\") AND\n(scheduling.automaticRestart = true)\n```\n\nIf you want to use a regular expression, use the `eq` (equal) or `ne`\n(not equal) operator against a single un-parenthesized expression with or\nwithout quotes or against multiple parenthesized expressions. Examples:\n\n`fieldname eq unquoted literal`\n`fieldname eq 'single quoted literal'`\n`fieldname eq \"double quoted literal\"`\n`(fieldname1 eq literal) (fieldname2 ne \"literal\")`\n\nThe literal value is interpreted as a regular expression using GoogleRE2 library syntax.\nThe literal value must match the entire field.\n\nFor example, to filter for instances that do not end with name \"instance\",\nyou would use `name ne .*instance`.\n\nYou cannot combine constraints on multiple fields using regular\nexpressions.", +"location": "query", +"type": "string" +}, +"maxResults": { +"default": "500", +"description": "The maximum number of results per page that should be returned.\nIf the number of available results is larger than `maxResults`,\nCompute Engine returns a `nextPageToken` that can be used to get\nthe next page of results in subsequent list requests. Acceptable values are\n`0` to `500`, inclusive. (Default: `500`)", +"format": "uint32", +"location": "query", +"minimum": "0", +"type": "integer" +}, +"orderBy": { +"description": "Sorts list results by a certain order. By default, results\nare returned in alphanumerical order based on the resource name.\n\nYou can also sort results in descending order based on the creation\ntimestamp using `orderBy=\"creationTimestamp desc\"`. This sorts\nresults based on the `creationTimestamp` field in\nreverse chronological order (newest result first). Use this to sort\nresources like operations so that the newest operation is returned first.\n\nCurrently, only sorting by `name` or\n`creationTimestamp desc` is supported.", +"location": "query", +"type": "string" +}, +"pageToken": { +"description": "Specifies a page token to use. Set `pageToken` to the\n`nextPageToken` returned by a previous list request to get\nthe next page of results.", +"location": "query", +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "Name of the region for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +}, +"returnPartialSuccess": { +"description": "Opt-in for partial success behavior which provides partial results in case\nof failure. The default value is false.\n\nFor example, when partial success behavior is enabled, aggregatedList for a\nsingle zone scope either returns all resources in the zone or no resources,\nwith an error code.", +"location": "query", +"type": "boolean" +} +}, +"path": "projects/{project}/regions/{region}/snapshots", +"response": { +"$ref": "SnapshotList" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"setIamPolicy": { +"description": "Sets the access control policy on the specified resource.\nReplaces any existing policy.", +"flatPath": "projects/{project}/regions/{region}/snapshots/{resource}/setIamPolicy", +"httpMethod": "POST", +"id": "compute.regionSnapshots.setIamPolicy", +"parameterOrder": [ +"project", +"region", +"resource" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "The name of the region for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +}, +"resource": { +"description": "Name or id of the resource for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/regions/{region}/snapshots/{resource}/setIamPolicy", +"request": { +"$ref": "RegionSetPolicyRequest" +}, +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"setLabels": { +"description": "Sets the labels on a regional snapshot. To learn more about labels, read\nthe Labeling Resources\ndocumentation.", +"flatPath": "projects/{project}/regions/{region}/snapshots/{resource}/setLabels", +"httpMethod": "POST", +"id": "compute.regionSnapshots.setLabels", +"parameterOrder": [ +"project", +"region", +"resource" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "The region for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"resource": { +"description": "Name or id of the resource for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/regions/{region}/snapshots/{resource}/setLabels", +"request": { +"$ref": "RegionSetLabelsRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"testIamPermissions": { +"description": "Returns permissions that a caller has on the specified resource.", +"flatPath": "projects/{project}/regions/{region}/snapshots/{resource}/testIamPermissions", +"httpMethod": "POST", +"id": "compute.regionSnapshots.testIamPermissions", +"parameterOrder": [ +"project", +"region", +"resource" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "The name of the region for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +}, +"resource": { +"description": "Name or id of the resource for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/regions/{region}/snapshots/{resource}/testIamPermissions", +"request": { +"$ref": "TestPermissionsRequest" +}, +"response": { +"$ref": "TestPermissionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +} +} +}, +"regionSslCertificates": { +"methods": { +"delete": { +"description": "Deletes the specified SslCertificate resource in the region.", +"flatPath": "projects/{project}/regions/{region}/sslCertificates/{sslCertificate}", +"httpMethod": "DELETE", +"id": "compute.regionSslCertificates.delete", +"parameterOrder": [ +"project", +"region", +"sslCertificate" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "Name of the region scoping this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"sslCertificate": { +"description": "Name of the SslCertificate resource to delete.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/regions/{region}/sslCertificates/{sslCertificate}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"get": { +"description": "Returns the specified SslCertificate resource in the specified region. Get\na list of available SSL certificates by making a list()\nrequest.", +"flatPath": "projects/{project}/regions/{region}/sslCertificates/{sslCertificate}", +"httpMethod": "GET", +"id": "compute.regionSslCertificates.get", +"parameterOrder": [ +"project", +"region", +"sslCertificate" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "Name of the region scoping this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +}, +"sslCertificate": { +"description": "Name of the SslCertificate resource to return.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/regions/{region}/sslCertificates/{sslCertificate}", +"response": { +"$ref": "SslCertificate" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"insert": { +"description": "Creates a SslCertificate resource in the specified project and region using\nthe data included in the request", +"flatPath": "projects/{project}/regions/{region}/sslCertificates", +"httpMethod": "POST", +"id": "compute.regionSslCertificates.insert", +"parameterOrder": [ +"project", +"region" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "Name of the region scoping this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "projects/{project}/regions/{region}/sslCertificates", +"request": { +"$ref": "SslCertificate" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"list": { +"description": "Retrieves the list of SslCertificate resources available to the specified\nproject in the specified region.", +"flatPath": "projects/{project}/regions/{region}/sslCertificates", +"httpMethod": "GET", +"id": "compute.regionSslCertificates.list", +"parameterOrder": [ +"project", +"region" +], +"parameters": { +"filter": { +"description": "A filter expression that filters resources listed in the response. Most\nCompute resources support two types of filter expressions:\nexpressions that support regular expressions and expressions that follow\nAPI improvement proposal AIP-160.\nThese two types of filter expressions cannot be mixed in one request.\n\nIf you want to use AIP-160, your expression must specify the field name, an\noperator, and the value that you want to use for filtering. The value\nmust be a string, a number, or a boolean. The operator\nmust be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.\n\nFor example, if you are filtering Compute Engine instances, you can\nexclude instances named `example-instance` by specifying\n`name != example-instance`.\n\nThe `:*` comparison can be used to test whether a key has been defined.\nFor example, to find all objects with `owner` label use:\n```\nlabels.owner:*\n```\n\nYou can also filter nested fields. For example, you could specify\n`scheduling.automaticRestart = false` to include instances only\nif they are not scheduled for automatic restarts. You can use filtering\non nested fields to filter based onresource labels.\n\nTo filter on multiple expressions, provide each separate expression within\nparentheses. For example:\n```\n(scheduling.automaticRestart = true)\n(cpuPlatform = \"Intel Skylake\")\n```\nBy default, each expression is an `AND` expression. However, you\ncan include `AND` and `OR` expressions explicitly.\nFor example:\n```\n(cpuPlatform = \"Intel Skylake\") OR\n(cpuPlatform = \"Intel Broadwell\") AND\n(scheduling.automaticRestart = true)\n```\n\nIf you want to use a regular expression, use the `eq` (equal) or `ne`\n(not equal) operator against a single un-parenthesized expression with or\nwithout quotes or against multiple parenthesized expressions. Examples:\n\n`fieldname eq unquoted literal`\n`fieldname eq 'single quoted literal'`\n`fieldname eq \"double quoted literal\"`\n`(fieldname1 eq literal) (fieldname2 ne \"literal\")`\n\nThe literal value is interpreted as a regular expression using GoogleRE2 library syntax.\nThe literal value must match the entire field.\n\nFor example, to filter for instances that do not end with name \"instance\",\nyou would use `name ne .*instance`.\n\nYou cannot combine constraints on multiple fields using regular\nexpressions.", +"location": "query", +"type": "string" +}, +"maxResults": { +"default": "500", +"description": "The maximum number of results per page that should be returned.\nIf the number of available results is larger than `maxResults`,\nCompute Engine returns a `nextPageToken` that can be used to get\nthe next page of results in subsequent list requests. Acceptable values are\n`0` to `500`, inclusive. (Default: `500`)", +"format": "uint32", +"location": "query", +"minimum": "0", +"type": "integer" +}, +"orderBy": { +"description": "Sorts list results by a certain order. By default, results\nare returned in alphanumerical order based on the resource name.\n\nYou can also sort results in descending order based on the creation\ntimestamp using `orderBy=\"creationTimestamp desc\"`. This sorts\nresults based on the `creationTimestamp` field in\nreverse chronological order (newest result first). Use this to sort\nresources like operations so that the newest operation is returned first.\n\nCurrently, only sorting by `name` or\n`creationTimestamp desc` is supported.", +"location": "query", +"type": "string" +}, +"pageToken": { +"description": "Specifies a page token to use. Set `pageToken` to the\n`nextPageToken` returned by a previous list request to get\nthe next page of results.", +"location": "query", +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "Name of the region scoping this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +}, +"returnPartialSuccess": { +"description": "Opt-in for partial success behavior which provides partial results in case\nof failure. The default value is false.\n\nFor example, when partial success behavior is enabled, aggregatedList for a\nsingle zone scope either returns all resources in the zone or no resources,\nwith an error code.", +"location": "query", +"type": "boolean" +} +}, +"path": "projects/{project}/regions/{region}/sslCertificates", +"response": { +"$ref": "SslCertificateList" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"testIamPermissions": { +"description": "Returns permissions that a caller has on the specified resource and region.", +"flatPath": "projects/{project}/regions/{region}/sslCertificates/{resource}/testIamPermissions", +"httpMethod": "POST", +"id": "compute.regionSslCertificates.testIamPermissions", +"parameterOrder": [ +"project", +"region", +"resource" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "The name of the region for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +}, +"resource": { +"description": "Name or id of the resource for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/regions/{region}/sslCertificates/{resource}/testIamPermissions", +"request": { +"$ref": "TestPermissionsRequest" +}, +"response": { +"$ref": "TestPermissionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +} +} +}, +"regionSslPolicies": { +"methods": { +"delete": { +"description": "Deletes the specified SSL policy. The SSL policy resource can be deleted\nonly if it is not in use by any TargetHttpsProxy or TargetSslProxy\nresources.", +"flatPath": "projects/{project}/regions/{region}/sslPolicies/{sslPolicy}", +"httpMethod": "DELETE", +"id": "compute.regionSslPolicies.delete", +"parameterOrder": [ +"project", +"region", +"sslPolicy" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "Name of the region scoping this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"sslPolicy": { +"description": "Name of the SSL policy to delete. The name must be 1-63 characters long,\nand comply with RFC1035.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/regions/{region}/sslPolicies/{sslPolicy}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"get": { +"description": "Lists all of the ordered rules present in a single specified policy.", +"flatPath": "projects/{project}/regions/{region}/sslPolicies/{sslPolicy}", +"httpMethod": "GET", +"id": "compute.regionSslPolicies.get", +"parameterOrder": [ +"project", +"region", +"sslPolicy" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "Name of the region scoping this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +}, +"sslPolicy": { +"description": "Name of the SSL policy to update. The name must be 1-63 characters long,\nand comply with RFC1035.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/regions/{region}/sslPolicies/{sslPolicy}", +"response": { +"$ref": "SslPolicy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"insert": { +"description": "Creates a new policy in the specified project and region using the data\nincluded in the request.", +"flatPath": "projects/{project}/regions/{region}/sslPolicies", +"httpMethod": "POST", +"id": "compute.regionSslPolicies.insert", +"parameterOrder": [ +"project", +"region" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "Name of the region scoping this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "projects/{project}/regions/{region}/sslPolicies", +"request": { +"$ref": "SslPolicy" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"list": { +"description": "Lists all the SSL policies that have been configured for the specified\nproject and region.", +"flatPath": "projects/{project}/regions/{region}/sslPolicies", +"httpMethod": "GET", +"id": "compute.regionSslPolicies.list", +"parameterOrder": [ +"project", +"region" +], +"parameters": { +"filter": { +"description": "A filter expression that filters resources listed in the response. Most\nCompute resources support two types of filter expressions:\nexpressions that support regular expressions and expressions that follow\nAPI improvement proposal AIP-160.\nThese two types of filter expressions cannot be mixed in one request.\n\nIf you want to use AIP-160, your expression must specify the field name, an\noperator, and the value that you want to use for filtering. The value\nmust be a string, a number, or a boolean. The operator\nmust be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.\n\nFor example, if you are filtering Compute Engine instances, you can\nexclude instances named `example-instance` by specifying\n`name != example-instance`.\n\nThe `:*` comparison can be used to test whether a key has been defined.\nFor example, to find all objects with `owner` label use:\n```\nlabels.owner:*\n```\n\nYou can also filter nested fields. For example, you could specify\n`scheduling.automaticRestart = false` to include instances only\nif they are not scheduled for automatic restarts. You can use filtering\non nested fields to filter based onresource labels.\n\nTo filter on multiple expressions, provide each separate expression within\nparentheses. For example:\n```\n(scheduling.automaticRestart = true)\n(cpuPlatform = \"Intel Skylake\")\n```\nBy default, each expression is an `AND` expression. However, you\ncan include `AND` and `OR` expressions explicitly.\nFor example:\n```\n(cpuPlatform = \"Intel Skylake\") OR\n(cpuPlatform = \"Intel Broadwell\") AND\n(scheduling.automaticRestart = true)\n```\n\nIf you want to use a regular expression, use the `eq` (equal) or `ne`\n(not equal) operator against a single un-parenthesized expression with or\nwithout quotes or against multiple parenthesized expressions. Examples:\n\n`fieldname eq unquoted literal`\n`fieldname eq 'single quoted literal'`\n`fieldname eq \"double quoted literal\"`\n`(fieldname1 eq literal) (fieldname2 ne \"literal\")`\n\nThe literal value is interpreted as a regular expression using GoogleRE2 library syntax.\nThe literal value must match the entire field.\n\nFor example, to filter for instances that do not end with name \"instance\",\nyou would use `name ne .*instance`.\n\nYou cannot combine constraints on multiple fields using regular\nexpressions.", +"location": "query", +"type": "string" +}, +"maxResults": { +"default": "500", +"description": "The maximum number of results per page that should be returned.\nIf the number of available results is larger than `maxResults`,\nCompute Engine returns a `nextPageToken` that can be used to get\nthe next page of results in subsequent list requests. Acceptable values are\n`0` to `500`, inclusive. (Default: `500`)", +"format": "uint32", +"location": "query", +"minimum": "0", +"type": "integer" +}, +"orderBy": { +"description": "Sorts list results by a certain order. By default, results\nare returned in alphanumerical order based on the resource name.\n\nYou can also sort results in descending order based on the creation\ntimestamp using `orderBy=\"creationTimestamp desc\"`. This sorts\nresults based on the `creationTimestamp` field in\nreverse chronological order (newest result first). Use this to sort\nresources like operations so that the newest operation is returned first.\n\nCurrently, only sorting by `name` or\n`creationTimestamp desc` is supported.", +"location": "query", +"type": "string" +}, +"pageToken": { +"description": "Specifies a page token to use. Set `pageToken` to the\n`nextPageToken` returned by a previous list request to get\nthe next page of results.", +"location": "query", +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "Name of the region scoping this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +}, +"returnPartialSuccess": { +"description": "Opt-in for partial success behavior which provides partial results in case\nof failure. The default value is false.\n\nFor example, when partial success behavior is enabled, aggregatedList for a\nsingle zone scope either returns all resources in the zone or no resources,\nwith an error code.", +"location": "query", +"type": "boolean" +} +}, +"path": "projects/{project}/regions/{region}/sslPolicies", +"response": { +"$ref": "SslPoliciesList" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"listAvailableFeatures": { +"description": "Lists all features that can be specified in the SSL policy when using\ncustom profile.", +"flatPath": "projects/{project}/regions/{region}/sslPolicies/listAvailableFeatures", +"httpMethod": "GET", +"id": "compute.regionSslPolicies.listAvailableFeatures", +"parameterOrder": [ +"project", +"region" +], +"parameters": { +"filter": { +"description": "A filter expression that filters resources listed in the response. Most\nCompute resources support two types of filter expressions:\nexpressions that support regular expressions and expressions that follow\nAPI improvement proposal AIP-160.\nThese two types of filter expressions cannot be mixed in one request.\n\nIf you want to use AIP-160, your expression must specify the field name, an\noperator, and the value that you want to use for filtering. The value\nmust be a string, a number, or a boolean. The operator\nmust be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.\n\nFor example, if you are filtering Compute Engine instances, you can\nexclude instances named `example-instance` by specifying\n`name != example-instance`.\n\nThe `:*` comparison can be used to test whether a key has been defined.\nFor example, to find all objects with `owner` label use:\n```\nlabels.owner:*\n```\n\nYou can also filter nested fields. For example, you could specify\n`scheduling.automaticRestart = false` to include instances only\nif they are not scheduled for automatic restarts. You can use filtering\non nested fields to filter based onresource labels.\n\nTo filter on multiple expressions, provide each separate expression within\nparentheses. For example:\n```\n(scheduling.automaticRestart = true)\n(cpuPlatform = \"Intel Skylake\")\n```\nBy default, each expression is an `AND` expression. However, you\ncan include `AND` and `OR` expressions explicitly.\nFor example:\n```\n(cpuPlatform = \"Intel Skylake\") OR\n(cpuPlatform = \"Intel Broadwell\") AND\n(scheduling.automaticRestart = true)\n```\n\nIf you want to use a regular expression, use the `eq` (equal) or `ne`\n(not equal) operator against a single un-parenthesized expression with or\nwithout quotes or against multiple parenthesized expressions. Examples:\n\n`fieldname eq unquoted literal`\n`fieldname eq 'single quoted literal'`\n`fieldname eq \"double quoted literal\"`\n`(fieldname1 eq literal) (fieldname2 ne \"literal\")`\n\nThe literal value is interpreted as a regular expression using GoogleRE2 library syntax.\nThe literal value must match the entire field.\n\nFor example, to filter for instances that do not end with name \"instance\",\nyou would use `name ne .*instance`.\n\nYou cannot combine constraints on multiple fields using regular\nexpressions.", +"location": "query", +"type": "string" +}, +"maxResults": { +"default": "500", +"description": "The maximum number of results per page that should be returned.\nIf the number of available results is larger than `maxResults`,\nCompute Engine returns a `nextPageToken` that can be used to get\nthe next page of results in subsequent list requests. Acceptable values are\n`0` to `500`, inclusive. (Default: `500`)", +"format": "uint32", +"location": "query", +"minimum": "0", +"type": "integer" +}, +"orderBy": { +"description": "Sorts list results by a certain order. By default, results\nare returned in alphanumerical order based on the resource name.\n\nYou can also sort results in descending order based on the creation\ntimestamp using `orderBy=\"creationTimestamp desc\"`. This sorts\nresults based on the `creationTimestamp` field in\nreverse chronological order (newest result first). Use this to sort\nresources like operations so that the newest operation is returned first.\n\nCurrently, only sorting by `name` or\n`creationTimestamp desc` is supported.", +"location": "query", +"type": "string" +}, +"pageToken": { +"description": "Specifies a page token to use. Set `pageToken` to the\n`nextPageToken` returned by a previous list request to get\nthe next page of results.", +"location": "query", +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "Name of the region scoping this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +}, +"returnPartialSuccess": { +"description": "Opt-in for partial success behavior which provides partial results in case\nof failure. The default value is false.\n\nFor example, when partial success behavior is enabled, aggregatedList for a\nsingle zone scope either returns all resources in the zone or no resources,\nwith an error code.", +"location": "query", +"type": "boolean" +} +}, +"path": "projects/{project}/regions/{region}/sslPolicies/listAvailableFeatures", +"response": { +"$ref": "SslPoliciesListAvailableFeaturesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"patch": { +"description": "Patches the specified SSL policy with the data included in the request.", +"flatPath": "projects/{project}/regions/{region}/sslPolicies/{sslPolicy}", +"httpMethod": "PATCH", +"id": "compute.regionSslPolicies.patch", +"parameterOrder": [ +"project", +"region", +"sslPolicy" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "Name of the region scoping this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"sslPolicy": { +"description": "Name of the SSL policy to update. The name must be 1-63 characters long,\nand comply with RFC1035.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/regions/{region}/sslPolicies/{sslPolicy}", +"request": { +"$ref": "SslPolicy" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"testIamPermissions": { +"description": "Returns permissions that a caller has on the specified resource.", +"flatPath": "projects/{project}/regions/{region}/sslPolicies/{resource}/testIamPermissions", +"httpMethod": "POST", +"id": "compute.regionSslPolicies.testIamPermissions", +"parameterOrder": [ +"project", +"region", +"resource" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "The name of the region for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +}, +"resource": { +"description": "Name or id of the resource for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/regions/{region}/sslPolicies/{resource}/testIamPermissions", +"request": { +"$ref": "TestPermissionsRequest" +}, +"response": { +"$ref": "TestPermissionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +} +} +}, +"regionTargetHttpProxies": { +"methods": { +"delete": { +"description": "Deletes the specified TargetHttpProxy resource.", +"flatPath": "projects/{project}/regions/{region}/targetHttpProxies/{targetHttpProxy}", +"httpMethod": "DELETE", +"id": "compute.regionTargetHttpProxies.delete", +"parameterOrder": [ +"project", +"region", +"targetHttpProxy" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "Name of the region scoping this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"targetHttpProxy": { +"description": "Name of the TargetHttpProxy resource to delete.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/regions/{region}/targetHttpProxies/{targetHttpProxy}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"get": { +"description": "Returns the specified TargetHttpProxy resource in the specified region.", +"flatPath": "projects/{project}/regions/{region}/targetHttpProxies/{targetHttpProxy}", +"httpMethod": "GET", +"id": "compute.regionTargetHttpProxies.get", +"parameterOrder": [ +"project", +"region", +"targetHttpProxy" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "Name of the region scoping this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +}, +"targetHttpProxy": { +"description": "Name of the TargetHttpProxy resource to return.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/regions/{region}/targetHttpProxies/{targetHttpProxy}", +"response": { +"$ref": "TargetHttpProxy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"insert": { +"description": "Creates a TargetHttpProxy resource in the specified project and region\nusing the data included in the request.", +"flatPath": "projects/{project}/regions/{region}/targetHttpProxies", +"httpMethod": "POST", +"id": "compute.regionTargetHttpProxies.insert", +"parameterOrder": [ +"project", +"region" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "Name of the region scoping this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "projects/{project}/regions/{region}/targetHttpProxies", +"request": { +"$ref": "TargetHttpProxy" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"list": { +"description": "Retrieves the list of TargetHttpProxy resources available\nto the specified project in the specified region.", +"flatPath": "projects/{project}/regions/{region}/targetHttpProxies", +"httpMethod": "GET", +"id": "compute.regionTargetHttpProxies.list", +"parameterOrder": [ +"project", +"region" +], +"parameters": { +"filter": { +"description": "A filter expression that filters resources listed in the response. Most\nCompute resources support two types of filter expressions:\nexpressions that support regular expressions and expressions that follow\nAPI improvement proposal AIP-160.\nThese two types of filter expressions cannot be mixed in one request.\n\nIf you want to use AIP-160, your expression must specify the field name, an\noperator, and the value that you want to use for filtering. The value\nmust be a string, a number, or a boolean. The operator\nmust be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.\n\nFor example, if you are filtering Compute Engine instances, you can\nexclude instances named `example-instance` by specifying\n`name != example-instance`.\n\nThe `:*` comparison can be used to test whether a key has been defined.\nFor example, to find all objects with `owner` label use:\n```\nlabels.owner:*\n```\n\nYou can also filter nested fields. For example, you could specify\n`scheduling.automaticRestart = false` to include instances only\nif they are not scheduled for automatic restarts. You can use filtering\non nested fields to filter based onresource labels.\n\nTo filter on multiple expressions, provide each separate expression within\nparentheses. For example:\n```\n(scheduling.automaticRestart = true)\n(cpuPlatform = \"Intel Skylake\")\n```\nBy default, each expression is an `AND` expression. However, you\ncan include `AND` and `OR` expressions explicitly.\nFor example:\n```\n(cpuPlatform = \"Intel Skylake\") OR\n(cpuPlatform = \"Intel Broadwell\") AND\n(scheduling.automaticRestart = true)\n```\n\nIf you want to use a regular expression, use the `eq` (equal) or `ne`\n(not equal) operator against a single un-parenthesized expression with or\nwithout quotes or against multiple parenthesized expressions. Examples:\n\n`fieldname eq unquoted literal`\n`fieldname eq 'single quoted literal'`\n`fieldname eq \"double quoted literal\"`\n`(fieldname1 eq literal) (fieldname2 ne \"literal\")`\n\nThe literal value is interpreted as a regular expression using GoogleRE2 library syntax.\nThe literal value must match the entire field.\n\nFor example, to filter for instances that do not end with name \"instance\",\nyou would use `name ne .*instance`.\n\nYou cannot combine constraints on multiple fields using regular\nexpressions.", +"location": "query", +"type": "string" +}, +"maxResults": { +"default": "500", +"description": "The maximum number of results per page that should be returned.\nIf the number of available results is larger than `maxResults`,\nCompute Engine returns a `nextPageToken` that can be used to get\nthe next page of results in subsequent list requests. Acceptable values are\n`0` to `500`, inclusive. (Default: `500`)", +"format": "uint32", +"location": "query", +"minimum": "0", +"type": "integer" +}, +"orderBy": { +"description": "Sorts list results by a certain order. By default, results\nare returned in alphanumerical order based on the resource name.\n\nYou can also sort results in descending order based on the creation\ntimestamp using `orderBy=\"creationTimestamp desc\"`. This sorts\nresults based on the `creationTimestamp` field in\nreverse chronological order (newest result first). Use this to sort\nresources like operations so that the newest operation is returned first.\n\nCurrently, only sorting by `name` or\n`creationTimestamp desc` is supported.", +"location": "query", +"type": "string" +}, +"pageToken": { +"description": "Specifies a page token to use. Set `pageToken` to the\n`nextPageToken` returned by a previous list request to get\nthe next page of results.", +"location": "query", +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "Name of the region scoping this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +}, +"returnPartialSuccess": { +"description": "Opt-in for partial success behavior which provides partial results in case\nof failure. The default value is false.\n\nFor example, when partial success behavior is enabled, aggregatedList for a\nsingle zone scope either returns all resources in the zone or no resources,\nwith an error code.", +"location": "query", +"type": "boolean" +} +}, +"path": "projects/{project}/regions/{region}/targetHttpProxies", +"response": { +"$ref": "TargetHttpProxyList" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"setUrlMap": { +"description": "Changes the URL map for TargetHttpProxy.", +"flatPath": "projects/{project}/regions/{region}/targetHttpProxies/{targetHttpProxy}/setUrlMap", +"httpMethod": "POST", +"id": "compute.regionTargetHttpProxies.setUrlMap", +"parameterOrder": [ +"project", +"region", +"targetHttpProxy" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "Name of the region scoping this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"targetHttpProxy": { +"description": "Name of the TargetHttpProxy to set a URL map for.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/regions/{region}/targetHttpProxies/{targetHttpProxy}/setUrlMap", +"request": { +"$ref": "UrlMapReference" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"testIamPermissions": { +"description": "Returns permissions that a caller has on the specified resource.", +"flatPath": "projects/{project}/regions/{region}/targetHttpProxies/{resource}/testIamPermissions", +"httpMethod": "POST", +"id": "compute.regionTargetHttpProxies.testIamPermissions", +"parameterOrder": [ +"project", +"region", +"resource" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "The name of the region for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +}, +"resource": { +"description": "Name or id of the resource for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/regions/{region}/targetHttpProxies/{resource}/testIamPermissions", +"request": { +"$ref": "TestPermissionsRequest" +}, +"response": { +"$ref": "TestPermissionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +} +} +}, +"regionTargetHttpsProxies": { +"methods": { +"delete": { +"description": "Deletes the specified TargetHttpsProxy resource.", +"flatPath": "projects/{project}/regions/{region}/targetHttpsProxies/{targetHttpsProxy}", +"httpMethod": "DELETE", +"id": "compute.regionTargetHttpsProxies.delete", +"parameterOrder": [ +"project", +"region", +"targetHttpsProxy" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "Name of the region scoping this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"targetHttpsProxy": { +"description": "Name of the TargetHttpsProxy resource to delete.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/regions/{region}/targetHttpsProxies/{targetHttpsProxy}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"get": { +"description": "Returns the specified TargetHttpsProxy resource in the specified region.", +"flatPath": "projects/{project}/regions/{region}/targetHttpsProxies/{targetHttpsProxy}", +"httpMethod": "GET", +"id": "compute.regionTargetHttpsProxies.get", +"parameterOrder": [ +"project", +"region", +"targetHttpsProxy" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "Name of the region scoping this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +}, +"targetHttpsProxy": { +"description": "Name of the TargetHttpsProxy resource to return.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/regions/{region}/targetHttpsProxies/{targetHttpsProxy}", +"response": { +"$ref": "TargetHttpsProxy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"insert": { +"description": "Creates a TargetHttpsProxy resource in the specified project and region\nusing the data included in the request.", +"flatPath": "projects/{project}/regions/{region}/targetHttpsProxies", +"httpMethod": "POST", +"id": "compute.regionTargetHttpsProxies.insert", +"parameterOrder": [ +"project", +"region" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "Name of the region scoping this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "projects/{project}/regions/{region}/targetHttpsProxies", +"request": { +"$ref": "TargetHttpsProxy" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"list": { +"description": "Retrieves the list of TargetHttpsProxy resources available\nto the specified project in the specified region.", +"flatPath": "projects/{project}/regions/{region}/targetHttpsProxies", +"httpMethod": "GET", +"id": "compute.regionTargetHttpsProxies.list", +"parameterOrder": [ +"project", +"region" +], +"parameters": { +"filter": { +"description": "A filter expression that filters resources listed in the response. Most\nCompute resources support two types of filter expressions:\nexpressions that support regular expressions and expressions that follow\nAPI improvement proposal AIP-160.\nThese two types of filter expressions cannot be mixed in one request.\n\nIf you want to use AIP-160, your expression must specify the field name, an\noperator, and the value that you want to use for filtering. The value\nmust be a string, a number, or a boolean. The operator\nmust be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.\n\nFor example, if you are filtering Compute Engine instances, you can\nexclude instances named `example-instance` by specifying\n`name != example-instance`.\n\nThe `:*` comparison can be used to test whether a key has been defined.\nFor example, to find all objects with `owner` label use:\n```\nlabels.owner:*\n```\n\nYou can also filter nested fields. For example, you could specify\n`scheduling.automaticRestart = false` to include instances only\nif they are not scheduled for automatic restarts. You can use filtering\non nested fields to filter based onresource labels.\n\nTo filter on multiple expressions, provide each separate expression within\nparentheses. For example:\n```\n(scheduling.automaticRestart = true)\n(cpuPlatform = \"Intel Skylake\")\n```\nBy default, each expression is an `AND` expression. However, you\ncan include `AND` and `OR` expressions explicitly.\nFor example:\n```\n(cpuPlatform = \"Intel Skylake\") OR\n(cpuPlatform = \"Intel Broadwell\") AND\n(scheduling.automaticRestart = true)\n```\n\nIf you want to use a regular expression, use the `eq` (equal) or `ne`\n(not equal) operator against a single un-parenthesized expression with or\nwithout quotes or against multiple parenthesized expressions. Examples:\n\n`fieldname eq unquoted literal`\n`fieldname eq 'single quoted literal'`\n`fieldname eq \"double quoted literal\"`\n`(fieldname1 eq literal) (fieldname2 ne \"literal\")`\n\nThe literal value is interpreted as a regular expression using GoogleRE2 library syntax.\nThe literal value must match the entire field.\n\nFor example, to filter for instances that do not end with name \"instance\",\nyou would use `name ne .*instance`.\n\nYou cannot combine constraints on multiple fields using regular\nexpressions.", +"location": "query", +"type": "string" +}, +"maxResults": { +"default": "500", +"description": "The maximum number of results per page that should be returned.\nIf the number of available results is larger than `maxResults`,\nCompute Engine returns a `nextPageToken` that can be used to get\nthe next page of results in subsequent list requests. Acceptable values are\n`0` to `500`, inclusive. (Default: `500`)", +"format": "uint32", +"location": "query", +"minimum": "0", +"type": "integer" +}, +"orderBy": { +"description": "Sorts list results by a certain order. By default, results\nare returned in alphanumerical order based on the resource name.\n\nYou can also sort results in descending order based on the creation\ntimestamp using `orderBy=\"creationTimestamp desc\"`. This sorts\nresults based on the `creationTimestamp` field in\nreverse chronological order (newest result first). Use this to sort\nresources like operations so that the newest operation is returned first.\n\nCurrently, only sorting by `name` or\n`creationTimestamp desc` is supported.", +"location": "query", +"type": "string" +}, +"pageToken": { +"description": "Specifies a page token to use. Set `pageToken` to the\n`nextPageToken` returned by a previous list request to get\nthe next page of results.", +"location": "query", +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "Name of the region scoping this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +}, +"returnPartialSuccess": { +"description": "Opt-in for partial success behavior which provides partial results in case\nof failure. The default value is false.\n\nFor example, when partial success behavior is enabled, aggregatedList for a\nsingle zone scope either returns all resources in the zone or no resources,\nwith an error code.", +"location": "query", +"type": "boolean" +} +}, +"path": "projects/{project}/regions/{region}/targetHttpsProxies", +"response": { +"$ref": "TargetHttpsProxyList" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"patch": { +"description": "Patches the specified regional TargetHttpsProxy resource with the data\nincluded in the request. This method supports PATCH\nsemantics and usesJSON merge\npatch format and processing rules.", +"flatPath": "projects/{project}/regions/{region}/targetHttpsProxies/{targetHttpsProxy}", +"httpMethod": "PATCH", +"id": "compute.regionTargetHttpsProxies.patch", +"parameterOrder": [ +"project", +"region", +"targetHttpsProxy" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "Name of the region for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"targetHttpsProxy": { +"description": "Name of the TargetHttpsProxy resource to patch.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/regions/{region}/targetHttpsProxies/{targetHttpsProxy}", +"request": { +"$ref": "TargetHttpsProxy" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"setSslCertificates": { +"description": "Replaces SslCertificates for TargetHttpsProxy.", +"flatPath": "projects/{project}/regions/{region}/targetHttpsProxies/{targetHttpsProxy}/setSslCertificates", +"httpMethod": "POST", +"id": "compute.regionTargetHttpsProxies.setSslCertificates", +"parameterOrder": [ +"project", +"region", +"targetHttpsProxy" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "Name of the region scoping this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"targetHttpsProxy": { +"description": "Name of the TargetHttpsProxy resource to set an\nSslCertificates resource for.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/regions/{region}/targetHttpsProxies/{targetHttpsProxy}/setSslCertificates", +"request": { +"$ref": "RegionTargetHttpsProxiesSetSslCertificatesRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"setUrlMap": { +"description": "Changes the URL map for TargetHttpsProxy.", +"flatPath": "projects/{project}/regions/{region}/targetHttpsProxies/{targetHttpsProxy}/setUrlMap", +"httpMethod": "POST", +"id": "compute.regionTargetHttpsProxies.setUrlMap", +"parameterOrder": [ +"project", +"region", +"targetHttpsProxy" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "Name of the region scoping this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"targetHttpsProxy": { +"description": "Name of the TargetHttpsProxy to set a URL map for.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/regions/{region}/targetHttpsProxies/{targetHttpsProxy}/setUrlMap", +"request": { +"$ref": "UrlMapReference" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"testIamPermissions": { +"description": "Returns permissions that a caller has on the specified resource.", +"flatPath": "projects/{project}/regions/{region}/targetHttpsProxies/{resource}/testIamPermissions", +"httpMethod": "POST", +"id": "compute.regionTargetHttpsProxies.testIamPermissions", +"parameterOrder": [ +"project", +"region", +"resource" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "The name of the region for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +}, +"resource": { +"description": "Name or id of the resource for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/regions/{region}/targetHttpsProxies/{resource}/testIamPermissions", +"request": { +"$ref": "TestPermissionsRequest" +}, +"response": { +"$ref": "TestPermissionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +} +} +}, +"regionTargetTcpProxies": { +"methods": { +"delete": { +"description": "Deletes the specified TargetTcpProxy resource.", +"flatPath": "projects/{project}/regions/{region}/targetTcpProxies/{targetTcpProxy}", +"httpMethod": "DELETE", +"id": "compute.regionTargetTcpProxies.delete", +"parameterOrder": [ +"project", +"region", +"targetTcpProxy" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "Name of the region scoping this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"targetTcpProxy": { +"description": "Name of the TargetTcpProxy resource to delete.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/regions/{region}/targetTcpProxies/{targetTcpProxy}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"get": { +"description": "Returns the specified TargetTcpProxy resource.", +"flatPath": "projects/{project}/regions/{region}/targetTcpProxies/{targetTcpProxy}", +"httpMethod": "GET", +"id": "compute.regionTargetTcpProxies.get", +"parameterOrder": [ +"project", +"region", +"targetTcpProxy" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "Name of the region scoping this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +}, +"targetTcpProxy": { +"description": "Name of the TargetTcpProxy resource to return.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/regions/{region}/targetTcpProxies/{targetTcpProxy}", +"response": { +"$ref": "TargetTcpProxy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"insert": { +"description": "Creates a TargetTcpProxy resource in the specified project and region using\nthe data included in the request.", +"flatPath": "projects/{project}/regions/{region}/targetTcpProxies", +"httpMethod": "POST", +"id": "compute.regionTargetTcpProxies.insert", +"parameterOrder": [ +"project", +"region" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "Name of the region scoping this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "projects/{project}/regions/{region}/targetTcpProxies", +"request": { +"$ref": "TargetTcpProxy" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"list": { +"description": "Retrieves a list of TargetTcpProxy resources\navailable to the specified project in a given region.", +"flatPath": "projects/{project}/regions/{region}/targetTcpProxies", +"httpMethod": "GET", +"id": "compute.regionTargetTcpProxies.list", +"parameterOrder": [ +"project", +"region" +], +"parameters": { +"filter": { +"description": "A filter expression that filters resources listed in the response. Most\nCompute resources support two types of filter expressions:\nexpressions that support regular expressions and expressions that follow\nAPI improvement proposal AIP-160.\nThese two types of filter expressions cannot be mixed in one request.\n\nIf you want to use AIP-160, your expression must specify the field name, an\noperator, and the value that you want to use for filtering. The value\nmust be a string, a number, or a boolean. The operator\nmust be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.\n\nFor example, if you are filtering Compute Engine instances, you can\nexclude instances named `example-instance` by specifying\n`name != example-instance`.\n\nThe `:*` comparison can be used to test whether a key has been defined.\nFor example, to find all objects with `owner` label use:\n```\nlabels.owner:*\n```\n\nYou can also filter nested fields. For example, you could specify\n`scheduling.automaticRestart = false` to include instances only\nif they are not scheduled for automatic restarts. You can use filtering\non nested fields to filter based onresource labels.\n\nTo filter on multiple expressions, provide each separate expression within\nparentheses. For example:\n```\n(scheduling.automaticRestart = true)\n(cpuPlatform = \"Intel Skylake\")\n```\nBy default, each expression is an `AND` expression. However, you\ncan include `AND` and `OR` expressions explicitly.\nFor example:\n```\n(cpuPlatform = \"Intel Skylake\") OR\n(cpuPlatform = \"Intel Broadwell\") AND\n(scheduling.automaticRestart = true)\n```\n\nIf you want to use a regular expression, use the `eq` (equal) or `ne`\n(not equal) operator against a single un-parenthesized expression with or\nwithout quotes or against multiple parenthesized expressions. Examples:\n\n`fieldname eq unquoted literal`\n`fieldname eq 'single quoted literal'`\n`fieldname eq \"double quoted literal\"`\n`(fieldname1 eq literal) (fieldname2 ne \"literal\")`\n\nThe literal value is interpreted as a regular expression using GoogleRE2 library syntax.\nThe literal value must match the entire field.\n\nFor example, to filter for instances that do not end with name \"instance\",\nyou would use `name ne .*instance`.\n\nYou cannot combine constraints on multiple fields using regular\nexpressions.", +"location": "query", +"type": "string" +}, +"maxResults": { +"default": "500", +"description": "The maximum number of results per page that should be returned.\nIf the number of available results is larger than `maxResults`,\nCompute Engine returns a `nextPageToken` that can be used to get\nthe next page of results in subsequent list requests. Acceptable values are\n`0` to `500`, inclusive. (Default: `500`)", +"format": "uint32", +"location": "query", +"minimum": "0", +"type": "integer" +}, +"orderBy": { +"description": "Sorts list results by a certain order. By default, results\nare returned in alphanumerical order based on the resource name.\n\nYou can also sort results in descending order based on the creation\ntimestamp using `orderBy=\"creationTimestamp desc\"`. This sorts\nresults based on the `creationTimestamp` field in\nreverse chronological order (newest result first). Use this to sort\nresources like operations so that the newest operation is returned first.\n\nCurrently, only sorting by `name` or\n`creationTimestamp desc` is supported.", +"location": "query", +"type": "string" +}, +"pageToken": { +"description": "Specifies a page token to use. Set `pageToken` to the\n`nextPageToken` returned by a previous list request to get\nthe next page of results.", +"location": "query", +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "Name of the region scoping this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +}, +"returnPartialSuccess": { +"description": "Opt-in for partial success behavior which provides partial results in case\nof failure. The default value is false.\n\nFor example, when partial success behavior is enabled, aggregatedList for a\nsingle zone scope either returns all resources in the zone or no resources,\nwith an error code.", +"location": "query", +"type": "boolean" +} +}, +"path": "projects/{project}/regions/{region}/targetTcpProxies", +"response": { +"$ref": "TargetTcpProxyList" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"testIamPermissions": { +"description": "Returns permissions that a caller has on the specified resource.", +"flatPath": "projects/{project}/regions/{region}/targetTcpProxies/{resource}/testIamPermissions", +"httpMethod": "POST", +"id": "compute.regionTargetTcpProxies.testIamPermissions", +"parameterOrder": [ +"project", +"region", +"resource" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "The name of the region for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +}, +"resource": { +"description": "Name or id of the resource for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/regions/{region}/targetTcpProxies/{resource}/testIamPermissions", +"request": { +"$ref": "TestPermissionsRequest" +}, +"response": { +"$ref": "TestPermissionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +} +} +}, +"regionUrlMaps": { +"methods": { +"delete": { +"description": "Deletes the specified UrlMap resource.", +"flatPath": "projects/{project}/regions/{region}/urlMaps/{urlMap}", +"httpMethod": "DELETE", +"id": "compute.regionUrlMaps.delete", +"parameterOrder": [ +"project", +"region", +"urlMap" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "Name of the region scoping this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +}, +"requestId": { +"description": "begin_interface: MixerMutationRequestBuilder\nRequest ID to support idempotency.", +"location": "query", +"type": "string" +}, +"urlMap": { +"description": "Name of the UrlMap resource to delete.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/regions/{region}/urlMaps/{urlMap}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"get": { +"description": "Returns the specified UrlMap resource.", +"flatPath": "projects/{project}/regions/{region}/urlMaps/{urlMap}", +"httpMethod": "GET", +"id": "compute.regionUrlMaps.get", +"parameterOrder": [ +"project", +"region", +"urlMap" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "Name of the region scoping this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +}, +"urlMap": { +"description": "Name of the UrlMap resource to return.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/regions/{region}/urlMaps/{urlMap}", +"response": { +"$ref": "UrlMap" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"insert": { +"description": "Creates a UrlMap resource in the specified project using\nthe data included in the request.", +"flatPath": "projects/{project}/regions/{region}/urlMaps", +"httpMethod": "POST", +"id": "compute.regionUrlMaps.insert", +"parameterOrder": [ +"project", +"region" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "Name of the region scoping this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +}, +"requestId": { +"description": "begin_interface: MixerMutationRequestBuilder\nRequest ID to support idempotency.", +"location": "query", +"type": "string" +} +}, +"path": "projects/{project}/regions/{region}/urlMaps", +"request": { +"$ref": "UrlMap" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"invalidateCache": { +"description": "Initiates a cache invalidation operation, invalidating the specified path,\nscoped to the specified UrlMap.\n\nFor more information, see [Invalidating cached\ncontent](/cdn/docs/invalidating-cached-content).", +"flatPath": "projects/{project}/regions/{region}/urlMaps/{urlMap}/invalidateCache", +"httpMethod": "POST", +"id": "compute.regionUrlMaps.invalidateCache", +"parameterOrder": [ +"project", +"region", +"urlMap" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "Name of the region scoping this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +}, +"requestId": { +"description": "begin_interface: MixerMutationRequestBuilder\nRequest ID to support idempotency.", +"location": "query", +"type": "string" +}, +"urlMap": { +"description": "Name of the UrlMap scoping this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/regions/{region}/urlMaps/{urlMap}/invalidateCache", +"request": { +"$ref": "CacheInvalidationRule" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"list": { +"description": "Retrieves the list of UrlMap resources available to the specified\nproject in the specified region.", +"flatPath": "projects/{project}/regions/{region}/urlMaps", +"httpMethod": "GET", +"id": "compute.regionUrlMaps.list", +"parameterOrder": [ +"project", +"region" +], +"parameters": { +"filter": { +"description": "A filter expression that filters resources listed in the response. Most\nCompute resources support two types of filter expressions:\nexpressions that support regular expressions and expressions that follow\nAPI improvement proposal AIP-160.\nThese two types of filter expressions cannot be mixed in one request.\n\nIf you want to use AIP-160, your expression must specify the field name, an\noperator, and the value that you want to use for filtering. The value\nmust be a string, a number, or a boolean. The operator\nmust be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.\n\nFor example, if you are filtering Compute Engine instances, you can\nexclude instances named `example-instance` by specifying\n`name != example-instance`.\n\nThe `:*` comparison can be used to test whether a key has been defined.\nFor example, to find all objects with `owner` label use:\n```\nlabels.owner:*\n```\n\nYou can also filter nested fields. For example, you could specify\n`scheduling.automaticRestart = false` to include instances only\nif they are not scheduled for automatic restarts. You can use filtering\non nested fields to filter based onresource labels.\n\nTo filter on multiple expressions, provide each separate expression within\nparentheses. For example:\n```\n(scheduling.automaticRestart = true)\n(cpuPlatform = \"Intel Skylake\")\n```\nBy default, each expression is an `AND` expression. However, you\ncan include `AND` and `OR` expressions explicitly.\nFor example:\n```\n(cpuPlatform = \"Intel Skylake\") OR\n(cpuPlatform = \"Intel Broadwell\") AND\n(scheduling.automaticRestart = true)\n```\n\nIf you want to use a regular expression, use the `eq` (equal) or `ne`\n(not equal) operator against a single un-parenthesized expression with or\nwithout quotes or against multiple parenthesized expressions. Examples:\n\n`fieldname eq unquoted literal`\n`fieldname eq 'single quoted literal'`\n`fieldname eq \"double quoted literal\"`\n`(fieldname1 eq literal) (fieldname2 ne \"literal\")`\n\nThe literal value is interpreted as a regular expression using GoogleRE2 library syntax.\nThe literal value must match the entire field.\n\nFor example, to filter for instances that do not end with name \"instance\",\nyou would use `name ne .*instance`.\n\nYou cannot combine constraints on multiple fields using regular\nexpressions.", +"location": "query", +"type": "string" +}, +"maxResults": { +"default": "500", +"description": "The maximum number of results per page that should be returned.\nIf the number of available results is larger than `maxResults`,\nCompute Engine returns a `nextPageToken` that can be used to get\nthe next page of results in subsequent list requests. Acceptable values are\n`0` to `500`, inclusive. (Default: `500`)", +"format": "uint32", +"location": "query", +"minimum": "0", +"type": "integer" +}, +"orderBy": { +"description": "Sorts list results by a certain order. By default, results\nare returned in alphanumerical order based on the resource name.\n\nYou can also sort results in descending order based on the creation\ntimestamp using `orderBy=\"creationTimestamp desc\"`. This sorts\nresults based on the `creationTimestamp` field in\nreverse chronological order (newest result first). Use this to sort\nresources like operations so that the newest operation is returned first.\n\nCurrently, only sorting by `name` or\n`creationTimestamp desc` is supported.", +"location": "query", +"type": "string" +}, +"pageToken": { +"description": "Specifies a page token to use. Set `pageToken` to the\n`nextPageToken` returned by a previous list request to get\nthe next page of results.", +"location": "query", +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "Name of the region scoping this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +}, +"returnPartialSuccess": { +"description": "Opt-in for partial success behavior which provides partial results in case\nof failure. The default value is false.\n\nFor example, when partial success behavior is enabled, aggregatedList for a\nsingle zone scope either returns all resources in the zone or no resources,\nwith an error code.", +"location": "query", +"type": "boolean" +} +}, +"path": "projects/{project}/regions/{region}/urlMaps", +"response": { +"$ref": "UrlMapList" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"patch": { +"description": "Patches the specified UrlMap resource with the data included in the\nrequest. This method supportsPATCH\nsemantics and usesJSON merge\npatch format and processing rules.", +"flatPath": "projects/{project}/regions/{region}/urlMaps/{urlMap}", +"httpMethod": "PATCH", +"id": "compute.regionUrlMaps.patch", +"parameterOrder": [ +"project", +"region", +"urlMap" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "Name of the region scoping this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +}, +"requestId": { +"description": "begin_interface: MixerMutationRequestBuilder\nRequest ID to support idempotency.", +"location": "query", +"type": "string" +}, +"urlMap": { +"description": "Name of the UrlMap resource to patch.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/regions/{region}/urlMaps/{urlMap}", +"request": { +"$ref": "UrlMap" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"testIamPermissions": { +"description": "Returns permissions that a caller has on the specified resource.", +"flatPath": "projects/{project}/regions/{region}/urlMaps/{resource}/testIamPermissions", +"httpMethod": "POST", +"id": "compute.regionUrlMaps.testIamPermissions", +"parameterOrder": [ +"project", +"region", +"resource" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "The name of the region for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +}, +"resource": { +"description": "Name or id of the resource for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/regions/{region}/urlMaps/{resource}/testIamPermissions", +"request": { +"$ref": "TestPermissionsRequest" +}, +"response": { +"$ref": "TestPermissionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"update": { +"description": "Updates the specified UrlMap resource with the data included in the\nrequest.", +"flatPath": "projects/{project}/regions/{region}/urlMaps/{urlMap}", +"httpMethod": "PUT", +"id": "compute.regionUrlMaps.update", +"parameterOrder": [ +"project", +"region", +"urlMap" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "Name of the region scoping this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +}, +"requestId": { +"description": "begin_interface: MixerMutationRequestBuilder\nRequest ID to support idempotency.", +"location": "query", +"type": "string" +}, +"urlMap": { +"description": "Name of the UrlMap resource to update.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/regions/{region}/urlMaps/{urlMap}", +"request": { +"$ref": "UrlMap" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"validate": { +"description": "Runs static validation for the UrlMap. In particular, the tests of the\nprovided UrlMap will be run. Calling this method does NOT create the\nUrlMap.", +"flatPath": "projects/{project}/regions/{region}/urlMaps/{urlMap}/validate", +"httpMethod": "POST", +"id": "compute.regionUrlMaps.validate", +"parameterOrder": [ +"project", +"region", +"urlMap" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "Name of the region scoping this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +}, +"urlMap": { +"description": "Name of the UrlMap resource to be validated as.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/regions/{region}/urlMaps/{urlMap}/validate", +"request": { +"$ref": "RegionUrlMapsValidateRequest" +}, +"response": { +"$ref": "UrlMapsValidateResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +} +} +}, +"regionZones": { +"methods": { +"list": { +"description": "Retrieves the list of Zone resources under the specific region available to\nthe specified project.", +"flatPath": "projects/{project}/regions/{region}/zones", +"httpMethod": "GET", +"id": "compute.regionZones.list", +"parameterOrder": [ +"project", +"region" +], +"parameters": { +"filter": { +"description": "A filter expression that filters resources listed in the response. Most\nCompute resources support two types of filter expressions:\nexpressions that support regular expressions and expressions that follow\nAPI improvement proposal AIP-160.\nThese two types of filter expressions cannot be mixed in one request.\n\nIf you want to use AIP-160, your expression must specify the field name, an\noperator, and the value that you want to use for filtering. The value\nmust be a string, a number, or a boolean. The operator\nmust be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.\n\nFor example, if you are filtering Compute Engine instances, you can\nexclude instances named `example-instance` by specifying\n`name != example-instance`.\n\nThe `:*` comparison can be used to test whether a key has been defined.\nFor example, to find all objects with `owner` label use:\n```\nlabels.owner:*\n```\n\nYou can also filter nested fields. For example, you could specify\n`scheduling.automaticRestart = false` to include instances only\nif they are not scheduled for automatic restarts. You can use filtering\non nested fields to filter based onresource labels.\n\nTo filter on multiple expressions, provide each separate expression within\nparentheses. For example:\n```\n(scheduling.automaticRestart = true)\n(cpuPlatform = \"Intel Skylake\")\n```\nBy default, each expression is an `AND` expression. However, you\ncan include `AND` and `OR` expressions explicitly.\nFor example:\n```\n(cpuPlatform = \"Intel Skylake\") OR\n(cpuPlatform = \"Intel Broadwell\") AND\n(scheduling.automaticRestart = true)\n```\n\nIf you want to use a regular expression, use the `eq` (equal) or `ne`\n(not equal) operator against a single un-parenthesized expression with or\nwithout quotes or against multiple parenthesized expressions. Examples:\n\n`fieldname eq unquoted literal`\n`fieldname eq 'single quoted literal'`\n`fieldname eq \"double quoted literal\"`\n`(fieldname1 eq literal) (fieldname2 ne \"literal\")`\n\nThe literal value is interpreted as a regular expression using GoogleRE2 library syntax.\nThe literal value must match the entire field.\n\nFor example, to filter for instances that do not end with name \"instance\",\nyou would use `name ne .*instance`.\n\nYou cannot combine constraints on multiple fields using regular\nexpressions.", +"location": "query", +"type": "string" +}, +"maxResults": { +"default": "500", +"description": "The maximum number of results per page that should be returned.\nIf the number of available results is larger than `maxResults`,\nCompute Engine returns a `nextPageToken` that can be used to get\nthe next page of results in subsequent list requests. Acceptable values are\n`0` to `500`, inclusive. (Default: `500`)", +"format": "uint32", +"location": "query", +"minimum": "0", +"type": "integer" +}, +"orderBy": { +"description": "Sorts list results by a certain order. By default, results\nare returned in alphanumerical order based on the resource name.\n\nYou can also sort results in descending order based on the creation\ntimestamp using `orderBy=\"creationTimestamp desc\"`. This sorts\nresults based on the `creationTimestamp` field in\nreverse chronological order (newest result first). Use this to sort\nresources like operations so that the newest operation is returned first.\n\nCurrently, only sorting by `name` or\n`creationTimestamp desc` is supported.", +"location": "query", +"type": "string" +}, +"pageToken": { +"description": "Specifies a page token to use. Set `pageToken` to the\n`nextPageToken` returned by a previous list request to get\nthe next page of results.", +"location": "query", +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "Region for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +}, +"returnPartialSuccess": { +"description": "Opt-in for partial success behavior which provides partial results in case\nof failure. The default value is false.\n\nFor example, when partial success behavior is enabled, aggregatedList for a\nsingle zone scope either returns all resources in the zone or no resources,\nwith an error code.", +"location": "query", +"type": "boolean" +} +}, +"path": "projects/{project}/regions/{region}/zones", +"response": { +"$ref": "ZoneList" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +} +} +}, +"regions": { +"methods": { +"get": { +"description": "Returns the specified Region resource.\n\nTo decrease latency for this method, you can optionally omit any unneeded\ninformation from the response by using a field mask. This practice is\nespecially recommended for unused quota information (the `quotas` field).\nTo exclude one or more fields, set your request's `fields` query parameter\nto only include the fields you need. For example, to only include the `id`\nand `selfLink` fields, add the query parameter `?fields=id,selfLink` to\nyour request.\n\nThis method fails if the quota information is unavailable for the region\nand if the organization policy constraint\ncompute.requireBasicQuotaInResponse is enforced. This\nconstraint, when enforced, disables the fail-open behaviour when quota\ninformation (the `items.quotas` field) is unavailable for the region.\nIt is recommended to use the default setting\nfor the constraint unless your application requires the fail-closed\nbehaviour for this method.", +"flatPath": "projects/{project}/regions/{region}", +"httpMethod": "GET", +"id": "compute.regions.get", +"parameterOrder": [ +"project", +"region" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "Name of the region resource to return.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/regions/{region}", +"response": { +"$ref": "Region" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"list": { +"description": "Retrieves the list of region resources available to the specified project.\n\nTo decrease latency for this method, you can optionally omit any unneeded\ninformation from the response by using a field mask. This practice is\nespecially recommended for unused quota information\n(the `items.quotas` field).\nTo exclude one or more fields, set your request's `fields` query parameter\nto only include the fields you need. For example, to only include the `id`\nand `selfLink` fields, add the query parameter `?fields=id,selfLink` to\nyour request.\n\nThis method fails if the quota information is unavailable for the region\nand if the organization policy constraint\ncompute.requireBasicQuotaInResponse is enforced. This\nconstraint, when enforced, disables the fail-open behaviour when quota\ninformation (the `items.quotas` field) is unavailable for the region.\nIt is recommended to use the default setting\nfor the constraint unless your application requires the fail-closed\nbehaviour for this method.", +"flatPath": "projects/{project}/regions", +"httpMethod": "GET", +"id": "compute.regions.list", +"parameterOrder": [ +"project" +], +"parameters": { +"filter": { +"description": "A filter expression that filters resources listed in the response. Most\nCompute resources support two types of filter expressions:\nexpressions that support regular expressions and expressions that follow\nAPI improvement proposal AIP-160.\nThese two types of filter expressions cannot be mixed in one request.\n\nIf you want to use AIP-160, your expression must specify the field name, an\noperator, and the value that you want to use for filtering. The value\nmust be a string, a number, or a boolean. The operator\nmust be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.\n\nFor example, if you are filtering Compute Engine instances, you can\nexclude instances named `example-instance` by specifying\n`name != example-instance`.\n\nThe `:*` comparison can be used to test whether a key has been defined.\nFor example, to find all objects with `owner` label use:\n```\nlabels.owner:*\n```\n\nYou can also filter nested fields. For example, you could specify\n`scheduling.automaticRestart = false` to include instances only\nif they are not scheduled for automatic restarts. You can use filtering\non nested fields to filter based onresource labels.\n\nTo filter on multiple expressions, provide each separate expression within\nparentheses. For example:\n```\n(scheduling.automaticRestart = true)\n(cpuPlatform = \"Intel Skylake\")\n```\nBy default, each expression is an `AND` expression. However, you\ncan include `AND` and `OR` expressions explicitly.\nFor example:\n```\n(cpuPlatform = \"Intel Skylake\") OR\n(cpuPlatform = \"Intel Broadwell\") AND\n(scheduling.automaticRestart = true)\n```\n\nIf you want to use a regular expression, use the `eq` (equal) or `ne`\n(not equal) operator against a single un-parenthesized expression with or\nwithout quotes or against multiple parenthesized expressions. Examples:\n\n`fieldname eq unquoted literal`\n`fieldname eq 'single quoted literal'`\n`fieldname eq \"double quoted literal\"`\n`(fieldname1 eq literal) (fieldname2 ne \"literal\")`\n\nThe literal value is interpreted as a regular expression using GoogleRE2 library syntax.\nThe literal value must match the entire field.\n\nFor example, to filter for instances that do not end with name \"instance\",\nyou would use `name ne .*instance`.\n\nYou cannot combine constraints on multiple fields using regular\nexpressions.", +"location": "query", +"type": "string" +}, +"maxResults": { +"default": "500", +"description": "The maximum number of results per page that should be returned.\nIf the number of available results is larger than `maxResults`,\nCompute Engine returns a `nextPageToken` that can be used to get\nthe next page of results in subsequent list requests. Acceptable values are\n`0` to `500`, inclusive. (Default: `500`)", +"format": "uint32", +"location": "query", +"minimum": "0", +"type": "integer" +}, +"orderBy": { +"description": "Sorts list results by a certain order. By default, results\nare returned in alphanumerical order based on the resource name.\n\nYou can also sort results in descending order based on the creation\ntimestamp using `orderBy=\"creationTimestamp desc\"`. This sorts\nresults based on the `creationTimestamp` field in\nreverse chronological order (newest result first). Use this to sort\nresources like operations so that the newest operation is returned first.\n\nCurrently, only sorting by `name` or\n`creationTimestamp desc` is supported.", +"location": "query", +"type": "string" +}, +"pageToken": { +"description": "Specifies a page token to use. Set `pageToken` to the\n`nextPageToken` returned by a previous list request to get\nthe next page of results.", +"location": "query", +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"returnPartialSuccess": { +"description": "Opt-in for partial success behavior which provides partial results in case\nof failure. The default value is false.\n\nFor example, when partial success behavior is enabled, aggregatedList for a\nsingle zone scope either returns all resources in the zone or no resources,\nwith an error code.", +"location": "query", +"type": "boolean" +} +}, +"path": "projects/{project}/regions", +"response": { +"$ref": "RegionList" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +} +} +}, +"reservationBlocks": { +"methods": { +"get": { +"description": "Retrieves information about the specified reservation block.", +"flatPath": "projects/{project}/zones/{zone}/reservations/{reservation}/reservationBlocks/{reservationBlock}", +"httpMethod": "GET", +"id": "compute.reservationBlocks.get", +"parameterOrder": [ +"project", +"zone", +"reservation", +"reservationBlock" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"required": true, +"type": "string" +}, +"reservation": { +"description": "The name of the reservation.\nName should conform to RFC1035 or be a resource ID.", +"location": "path", +"required": true, +"type": "string" +}, +"reservationBlock": { +"description": "The name of the reservation block.\nName should conform to RFC1035 or be a resource ID.", +"location": "path", +"required": true, +"type": "string" +}, +"view": { +"description": "View of the Block.", +"enum": [ +"BASIC", +"BLOCK_VIEW_UNSPECIFIED", +"FULL" +], +"enumDescriptions": [ +"This view includes basic information about the reservation block", +"The default / unset value. The API will default to the BASIC view.", +"Includes detailed topology view." +], +"location": "query", +"type": "string" +}, +"zone": { +"description": "Name of the zone for this request. Zone name should conform to RFC1035.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/zones/{zone}/reservations/{reservation}/reservationBlocks/{reservationBlock}", +"response": { +"$ref": "ReservationBlocksGetResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"getIamPolicy": { +"description": "Gets the access control policy for a resource. May be empty if no such\npolicy or resource exists.", +"flatPath": "projects/{project}/zones/{zone}/reservations/{parentResource}/reservationBlocks/{resource}/getIamPolicy", +"httpMethod": "GET", +"id": "compute.reservationBlocks.getIamPolicy", +"parameterOrder": [ +"project", +"zone", +"parentResource", +"resource" +], +"parameters": { +"optionsRequestedPolicyVersion": { +"description": "Requested IAM Policy version.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"parentResource": { +"description": "Name or id of parent resource of the resource for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-zA-Z0-9/]{0,255}[a-zA-Z0-9])?", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"resource": { +"description": "Name or id of the resource for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +}, +"zone": { +"description": "The name of the zone for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/zones/{zone}/reservations/{parentResource}/reservationBlocks/{resource}/getIamPolicy", +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"list": { +"description": "Retrieves a list of reservation blocks under a single reservation.", +"flatPath": "projects/{project}/zones/{zone}/reservations/{reservation}/reservationBlocks", +"httpMethod": "GET", +"id": "compute.reservationBlocks.list", +"parameterOrder": [ +"project", +"zone", +"reservation" +], +"parameters": { +"filter": { +"description": "A filter expression that filters resources listed in the response. Most\nCompute resources support two types of filter expressions:\nexpressions that support regular expressions and expressions that follow\nAPI improvement proposal AIP-160.\nThese two types of filter expressions cannot be mixed in one request.\n\nIf you want to use AIP-160, your expression must specify the field name, an\noperator, and the value that you want to use for filtering. The value\nmust be a string, a number, or a boolean. The operator\nmust be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.\n\nFor example, if you are filtering Compute Engine instances, you can\nexclude instances named `example-instance` by specifying\n`name != example-instance`.\n\nThe `:*` comparison can be used to test whether a key has been defined.\nFor example, to find all objects with `owner` label use:\n```\nlabels.owner:*\n```\n\nYou can also filter nested fields. For example, you could specify\n`scheduling.automaticRestart = false` to include instances only\nif they are not scheduled for automatic restarts. You can use filtering\non nested fields to filter based onresource labels.\n\nTo filter on multiple expressions, provide each separate expression within\nparentheses. For example:\n```\n(scheduling.automaticRestart = true)\n(cpuPlatform = \"Intel Skylake\")\n```\nBy default, each expression is an `AND` expression. However, you\ncan include `AND` and `OR` expressions explicitly.\nFor example:\n```\n(cpuPlatform = \"Intel Skylake\") OR\n(cpuPlatform = \"Intel Broadwell\") AND\n(scheduling.automaticRestart = true)\n```\n\nIf you want to use a regular expression, use the `eq` (equal) or `ne`\n(not equal) operator against a single un-parenthesized expression with or\nwithout quotes or against multiple parenthesized expressions. Examples:\n\n`fieldname eq unquoted literal`\n`fieldname eq 'single quoted literal'`\n`fieldname eq \"double quoted literal\"`\n`(fieldname1 eq literal) (fieldname2 ne \"literal\")`\n\nThe literal value is interpreted as a regular expression using GoogleRE2 library syntax.\nThe literal value must match the entire field.\n\nFor example, to filter for instances that do not end with name \"instance\",\nyou would use `name ne .*instance`.\n\nYou cannot combine constraints on multiple fields using regular\nexpressions.", +"location": "query", +"type": "string" +}, +"maxResults": { +"default": "500", +"description": "The maximum number of results per page that should be returned.\nIf the number of available results is larger than `maxResults`,\nCompute Engine returns a `nextPageToken` that can be used to get\nthe next page of results in subsequent list requests. Acceptable values are\n`0` to `500`, inclusive. (Default: `500`)", +"format": "uint32", +"location": "query", +"minimum": "0", +"type": "integer" +}, +"orderBy": { +"description": "Sorts list results by a certain order. By default, results\nare returned in alphanumerical order based on the resource name.\n\nYou can also sort results in descending order based on the creation\ntimestamp using `orderBy=\"creationTimestamp desc\"`. This sorts\nresults based on the `creationTimestamp` field in\nreverse chronological order (newest result first). Use this to sort\nresources like operations so that the newest operation is returned first.\n\nCurrently, only sorting by `name` or\n`creationTimestamp desc` is supported.", +"location": "query", +"type": "string" +}, +"pageToken": { +"description": "Specifies a page token to use. Set `pageToken` to the\n`nextPageToken` returned by a previous list request to get\nthe next page of results.", +"location": "query", +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"required": true, +"type": "string" +}, +"reservation": { +"description": "The name of the reservation.\nName should conform to RFC1035 or be a resource ID.", +"location": "path", +"required": true, +"type": "string" +}, +"returnPartialSuccess": { +"description": "Opt-in for partial success behavior which provides partial results in case\nof failure. The default value is false.\n\nFor example, when partial success behavior is enabled, aggregatedList for a\nsingle zone scope either returns all resources in the zone or no resources,\nwith an error code.", +"location": "query", +"type": "boolean" +}, +"zone": { +"description": "Name of the zone for this request. Zone name should conform to RFC1035.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/zones/{zone}/reservations/{reservation}/reservationBlocks", +"response": { +"$ref": "ReservationBlocksListResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"performMaintenance": { +"description": "Allows customers to perform maintenance on a reservation block", +"flatPath": "projects/{project}/zones/{zone}/reservations/{reservation}/reservationBlocks/{reservationBlock}/performMaintenance", +"httpMethod": "POST", +"id": "compute.reservationBlocks.performMaintenance", +"parameterOrder": [ +"project", +"zone", +"reservation", +"reservationBlock" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"reservation": { +"description": "The name of the reservation.\nName should conform to RFC1035 or be a resource ID.", +"location": "path", +"required": true, +"type": "string" +}, +"reservationBlock": { +"description": "The name of the reservation block.\nName should conform to RFC1035 or be a resource ID.", +"location": "path", +"required": true, +"type": "string" +}, +"zone": { +"description": "Name of the zone for this request. Zone name should conform to RFC1035.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/zones/{zone}/reservations/{reservation}/reservationBlocks/{reservationBlock}/performMaintenance", +"request": { +"$ref": "ReservationsBlocksPerformMaintenanceRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"setIamPolicy": { +"description": "Sets the access control policy on the specified resource.\nReplaces any existing policy.", +"flatPath": "projects/{project}/zones/{zone}/reservations/{parentResource}/reservationBlocks/{resource}/setIamPolicy", +"httpMethod": "POST", +"id": "compute.reservationBlocks.setIamPolicy", +"parameterOrder": [ +"project", +"zone", +"parentResource", +"resource" +], +"parameters": { +"parentResource": { +"description": "Name or id of parent resource of the resource for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-zA-Z0-9/]{0,255}[a-zA-Z0-9])?", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"resource": { +"description": "Name or id of the resource for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +}, +"zone": { +"description": "The name of the zone for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/zones/{zone}/reservations/{parentResource}/reservationBlocks/{resource}/setIamPolicy", +"request": { +"$ref": "ZoneSetNestedPolicyRequest" +}, +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"testIamPermissions": { +"description": "Returns permissions that a caller has on the specified resource.", +"flatPath": "projects/{project}/zones/{zone}/reservations/{parentResource}/reservationBlocks/{resource}/testIamPermissions", +"httpMethod": "POST", +"id": "compute.reservationBlocks.testIamPermissions", +"parameterOrder": [ +"project", +"zone", +"parentResource", +"resource" +], +"parameters": { +"parentResource": { +"description": "Name or id of parent resource of the resource for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-zA-Z0-9/]{0,255}[a-zA-Z0-9])?", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"resource": { +"description": "Name or id of the resource for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +}, +"zone": { +"description": "The name of the zone for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/zones/{zone}/reservations/{parentResource}/reservationBlocks/{resource}/testIamPermissions", +"request": { +"$ref": "TestPermissionsRequest" +}, +"response": { +"$ref": "TestPermissionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +} +} +}, +"reservationSlots": { +"methods": { +"get": { +"description": "Retrieves information about the specified reservation slot.", +"flatPath": "projects/{project}/zones/{zone}/reservations/{reservationsId}/reservationBlocks/{reservationBlocksId}/reservationSubBlocks/{reservationSubBlocksId}/reservationSlots/{reservationSlot}", +"httpMethod": "GET", +"id": "compute.reservationSlots.get", +"parameterOrder": [ +"project", +"zone", +"parentName", +"reservationSlot" +], +"parameters": { +"parentName": { +"description": "The name of the parent reservation and parent block, formatted as\nreservations/{reservation_name}/reservationBlocks/{reservation_block_name}/reservationSubBlocks/{reservation_sub_block_name}", +"location": "path", +"pattern": "reservations/([a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19})/reservationBlocks/([a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19})/reservationSubBlocks/([a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19})", +"required": true, +"type": "string" +}, +"project": { +"description": "The project ID for this request.", +"location": "path", +"required": true, +"type": "string" +}, +"reservationSlot": { +"description": "The name of the reservation slot, formatted as RFC1035 or a resource ID\nnumber.", +"location": "path", +"required": true, +"type": "string" +}, +"zone": { +"description": "The name of the zone for this request, formatted as RFC1035.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/zones/{zone}/{+parentName}/reservationSlots/{reservationSlot}", +"response": { +"$ref": "ReservationSlotsGetResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"list": { +"description": "Retrieves a list of reservation slots under a single reservation.", +"flatPath": "projects/{project}/zones/{zone}/reservations/{reservationsId}/reservationBlocks/{reservationBlocksId}/reservationSubBlocks/{reservationSubBlocksId}/reservationSlots", +"httpMethod": "GET", +"id": "compute.reservationSlots.list", +"parameterOrder": [ +"project", +"zone", +"parentName" +], +"parameters": { +"filter": { +"description": "A filter expression that filters resources listed in the response. Most\nCompute resources support two types of filter expressions:\nexpressions that support regular expressions and expressions that follow\nAPI improvement proposal AIP-160.\nThese two types of filter expressions cannot be mixed in one request.\n\nIf you want to use AIP-160, your expression must specify the field name, an\noperator, and the value that you want to use for filtering. The value\nmust be a string, a number, or a boolean. The operator\nmust be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.\n\nFor example, if you are filtering Compute Engine instances, you can\nexclude instances named `example-instance` by specifying\n`name != example-instance`.\n\nThe `:*` comparison can be used to test whether a key has been defined.\nFor example, to find all objects with `owner` label use:\n```\nlabels.owner:*\n```\n\nYou can also filter nested fields. For example, you could specify\n`scheduling.automaticRestart = false` to include instances only\nif they are not scheduled for automatic restarts. You can use filtering\non nested fields to filter based onresource labels.\n\nTo filter on multiple expressions, provide each separate expression within\nparentheses. For example:\n```\n(scheduling.automaticRestart = true)\n(cpuPlatform = \"Intel Skylake\")\n```\nBy default, each expression is an `AND` expression. However, you\ncan include `AND` and `OR` expressions explicitly.\nFor example:\n```\n(cpuPlatform = \"Intel Skylake\") OR\n(cpuPlatform = \"Intel Broadwell\") AND\n(scheduling.automaticRestart = true)\n```\n\nIf you want to use a regular expression, use the `eq` (equal) or `ne`\n(not equal) operator against a single un-parenthesized expression with or\nwithout quotes or against multiple parenthesized expressions. Examples:\n\n`fieldname eq unquoted literal`\n`fieldname eq 'single quoted literal'`\n`fieldname eq \"double quoted literal\"`\n`(fieldname1 eq literal) (fieldname2 ne \"literal\")`\n\nThe literal value is interpreted as a regular expression using GoogleRE2 library syntax.\nThe literal value must match the entire field.\n\nFor example, to filter for instances that do not end with name \"instance\",\nyou would use `name ne .*instance`.\n\nYou cannot combine constraints on multiple fields using regular\nexpressions.", +"location": "query", +"type": "string" +}, +"maxResults": { +"default": "500", +"description": "The maximum number of results per page that should be returned.\nIf the number of available results is larger than `maxResults`,\nCompute Engine returns a `nextPageToken` that can be used to get\nthe next page of results in subsequent list requests. Acceptable values are\n`0` to `500`, inclusive. (Default: `500`)", +"format": "uint32", +"location": "query", +"minimum": "0", +"type": "integer" +}, +"orderBy": { +"description": "Sorts list results by a certain order. By default, results\nare returned in alphanumerical order based on the resource name.\n\nYou can also sort results in descending order based on the creation\ntimestamp using `orderBy=\"creationTimestamp desc\"`. This sorts\nresults based on the `creationTimestamp` field in\nreverse chronological order (newest result first). Use this to sort\nresources like operations so that the newest operation is returned first.\n\nCurrently, only sorting by `name` or\n`creationTimestamp desc` is supported.", +"location": "query", +"type": "string" +}, +"pageToken": { +"description": "Specifies a page token to use. Set `pageToken` to the\n`nextPageToken` returned by a previous list request to get\nthe next page of results.", +"location": "query", +"type": "string" +}, +"parentName": { +"description": "The name of the parent reservation and parent block, formatted as\nreservations/{reservation_name}/reservationBlocks/{reservation_block_name}/reservationSubBlocks/{reservation_sub_block_name}", +"location": "path", +"pattern": "reservations/([a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19})/reservationBlocks/([a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19})/reservationSubBlocks/([a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19})", +"required": true, +"type": "string" +}, +"project": { +"description": "The project ID for this request.", +"location": "path", +"required": true, +"type": "string" +}, +"returnPartialSuccess": { +"description": "Opt-in for partial success behavior which provides partial results in case\nof failure. The default value is false.\n\nFor example, when partial success behavior is enabled, aggregatedList for a\nsingle zone scope either returns all resources in the zone or no resources,\nwith an error code.", +"location": "query", +"type": "boolean" +}, +"zone": { +"description": "The name of the zone for this request, formatted as RFC1035.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/zones/{zone}/{+parentName}/reservationSlots", +"response": { +"$ref": "ReservationSlotsListResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"update": { +"description": "Update a reservation slot in the specified sub-block.", +"flatPath": "projects/{project}/zones/{zone}/reservations/{reservationsId}/reservationBlocks/{reservationBlocksId}/reservationSubBlocks/{reservationSubBlocksId}/reservationSlots/{reservationSlot}", +"httpMethod": "POST", +"id": "compute.reservationSlots.update", +"parameterOrder": [ +"project", +"zone", +"parentName", +"reservationSlot" +], +"parameters": { +"parentName": { +"description": "The name of the sub-block resource.", +"location": "path", +"pattern": "reservations/([a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19})/reservationBlocks/([a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19})/reservationSubBlocks/([a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19})", +"required": true, +"type": "string" +}, +"project": { +"description": "The project ID for this request.", +"location": "path", +"required": true, +"type": "string" +}, +"reservationSlot": { +"description": "The name of the slot resource.", +"location": "path", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "The fields to be updated as part of this request.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +}, +"zone": { +"description": "The name of the zone for this request, formatted as RFC1035.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/zones/{zone}/{+parentName}/reservationSlots/{reservationSlot}", +"request": { +"$ref": "ReservationSlot" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +} +} +}, +"reservationSubBlocks": { +"methods": { +"get": { +"description": "Retrieves information about the specified reservation subBlock.", +"flatPath": "projects/{project}/zones/{zone}/reservations/{reservationsId}/reservationBlocks/{reservationBlocksId}/reservationSubBlocks/{reservationSubBlock}", +"httpMethod": "GET", +"id": "compute.reservationSubBlocks.get", +"parameterOrder": [ +"project", +"zone", +"parentName", +"reservationSubBlock" +], +"parameters": { +"parentName": { +"description": "The name of the parent reservation and parent block. In the format of\nreservations/{reservation_name}/reservationBlocks/{reservation_block_name}", +"location": "path", +"pattern": "^reservations/[^/]+/reservationBlocks/[^/]+$", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"required": true, +"type": "string" +}, +"reservationSubBlock": { +"description": "The name of the reservation subBlock.\nName should conform to RFC1035 or be a resource ID.", +"location": "path", +"required": true, +"type": "string" +}, +"view": { +"description": "View of the subBlock.", +"enum": [ +"SUB_BLOCK_VIEW_BASIC", +"SUB_BLOCK_VIEW_FULL", +"SUB_BLOCK_VIEW_UNSPECIFIED" +], +"enumDescriptions": [ +"This view includes basic information about the reservation sub block", +"Includes detailed topology view.", +"The default / unset value. The API will default to the BASIC view." +], +"location": "query", +"type": "string" +}, +"zone": { +"description": "Name of the zone for this request. Zone name should conform to RFC1035.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/zones/{zone}/{+parentName}/reservationSubBlocks/{reservationSubBlock}", +"response": { +"$ref": "ReservationSubBlocksGetResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"getIamPolicy": { +"description": "Gets the access control policy for a resource. May be empty if no such\npolicy or resource exists.", +"flatPath": "projects/{project}/zones/{zone}/reservations/{reservationsId}/reservationBlocks/{reservationBlocksId}/reservationSubBlocks/{resource}/getIamPolicy", +"httpMethod": "GET", +"id": "compute.reservationSubBlocks.getIamPolicy", +"parameterOrder": [ +"project", +"zone", +"parentResource", +"resource" +], +"parameters": { +"optionsRequestedPolicyVersion": { +"description": "Requested IAM Policy version.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"parentResource": { +"description": "Name or id of parent resource of the resource for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-zA-Z0-9/]{0,255}[a-zA-Z0-9])?", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"resource": { +"description": "Name or id of the resource for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +}, +"zone": { +"description": "The name of the zone for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/zones/{zone}/{+parentResource}/reservationSubBlocks/{resource}/getIamPolicy", +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"list": { +"description": "Retrieves a list of reservation subBlocks under a single reservation.", +"flatPath": "projects/{project}/zones/{zone}/reservations/{reservationsId}/reservationBlocks/{reservationBlocksId}/reservationSubBlocks", +"httpMethod": "GET", +"id": "compute.reservationSubBlocks.list", +"parameterOrder": [ +"project", +"zone", +"parentName" +], +"parameters": { +"filter": { +"description": "A filter expression that filters resources listed in the response. Most\nCompute resources support two types of filter expressions:\nexpressions that support regular expressions and expressions that follow\nAPI improvement proposal AIP-160.\nThese two types of filter expressions cannot be mixed in one request.\n\nIf you want to use AIP-160, your expression must specify the field name, an\noperator, and the value that you want to use for filtering. The value\nmust be a string, a number, or a boolean. The operator\nmust be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.\n\nFor example, if you are filtering Compute Engine instances, you can\nexclude instances named `example-instance` by specifying\n`name != example-instance`.\n\nThe `:*` comparison can be used to test whether a key has been defined.\nFor example, to find all objects with `owner` label use:\n```\nlabels.owner:*\n```\n\nYou can also filter nested fields. For example, you could specify\n`scheduling.automaticRestart = false` to include instances only\nif they are not scheduled for automatic restarts. You can use filtering\non nested fields to filter based onresource labels.\n\nTo filter on multiple expressions, provide each separate expression within\nparentheses. For example:\n```\n(scheduling.automaticRestart = true)\n(cpuPlatform = \"Intel Skylake\")\n```\nBy default, each expression is an `AND` expression. However, you\ncan include `AND` and `OR` expressions explicitly.\nFor example:\n```\n(cpuPlatform = \"Intel Skylake\") OR\n(cpuPlatform = \"Intel Broadwell\") AND\n(scheduling.automaticRestart = true)\n```\n\nIf you want to use a regular expression, use the `eq` (equal) or `ne`\n(not equal) operator against a single un-parenthesized expression with or\nwithout quotes or against multiple parenthesized expressions. Examples:\n\n`fieldname eq unquoted literal`\n`fieldname eq 'single quoted literal'`\n`fieldname eq \"double quoted literal\"`\n`(fieldname1 eq literal) (fieldname2 ne \"literal\")`\n\nThe literal value is interpreted as a regular expression using GoogleRE2 library syntax.\nThe literal value must match the entire field.\n\nFor example, to filter for instances that do not end with name \"instance\",\nyou would use `name ne .*instance`.\n\nYou cannot combine constraints on multiple fields using regular\nexpressions.", +"location": "query", +"type": "string" +}, +"maxResults": { +"default": "500", +"description": "The maximum number of results per page that should be returned.\nIf the number of available results is larger than `maxResults`,\nCompute Engine returns a `nextPageToken` that can be used to get\nthe next page of results in subsequent list requests. Acceptable values are\n`0` to `500`, inclusive. (Default: `500`)", +"format": "uint32", +"location": "query", +"minimum": "0", +"type": "integer" +}, +"orderBy": { +"description": "Sorts list results by a certain order. By default, results\nare returned in alphanumerical order based on the resource name.\n\nYou can also sort results in descending order based on the creation\ntimestamp using `orderBy=\"creationTimestamp desc\"`. This sorts\nresults based on the `creationTimestamp` field in\nreverse chronological order (newest result first). Use this to sort\nresources like operations so that the newest operation is returned first.\n\nCurrently, only sorting by `name` or\n`creationTimestamp desc` is supported.", +"location": "query", +"type": "string" +}, +"pageToken": { +"description": "Specifies a page token to use. Set `pageToken` to the\n`nextPageToken` returned by a previous list request to get\nthe next page of results.", +"location": "query", +"type": "string" +}, +"parentName": { +"description": "The name of the parent reservation and parent block. In the format of\nreservations/{reservation_name}/reservationBlocks/{reservation_block_name}", +"location": "path", +"pattern": "^reservations/[^/]+/reservationBlocks/[^/]+$", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"required": true, +"type": "string" +}, +"returnPartialSuccess": { +"description": "Opt-in for partial success behavior which provides partial results in case\nof failure. The default value is false.\n\nFor example, when partial success behavior is enabled, aggregatedList for a\nsingle zone scope either returns all resources in the zone or no resources,\nwith an error code.", +"location": "query", +"type": "boolean" +}, +"zone": { +"description": "Name of the zone for this request. Zone name should conform to RFC1035.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/zones/{zone}/{+parentName}/reservationSubBlocks", +"response": { +"$ref": "ReservationSubBlocksListResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"performMaintenance": { +"description": "Allows customers to perform maintenance on a reservation subBlock", +"flatPath": "projects/{project}/zones/{zone}/reservations/{reservationsId}/reservationBlocks/{reservationBlocksId}/reservationSubBlocks/{reservationSubBlock}/performMaintenance", +"httpMethod": "POST", +"id": "compute.reservationSubBlocks.performMaintenance", +"parameterOrder": [ +"project", +"zone", +"parentName", +"reservationSubBlock" +], +"parameters": { +"parentName": { +"description": "The name of the parent reservation and parent block. In the format of\nreservations/{reservation_name}/reservationBlocks/{reservation_block_name}", +"location": "path", +"pattern": "^reservations/[^/]+/reservationBlocks/[^/]+$", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"reservationSubBlock": { +"description": "The name of the reservation subBlock.\nName should conform to RFC1035 or be a resource ID.", +"location": "path", +"required": true, +"type": "string" +}, +"zone": { +"description": "Name of the zone for this request. Zone name should conform to RFC1035.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/zones/{zone}/{+parentName}/reservationSubBlocks/{reservationSubBlock}/performMaintenance", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"reportFaulty": { +"description": "Allows customers to report a faulty subBlock.", +"flatPath": "projects/{project}/zones/{zone}/reservations/{reservationsId}/reservationBlocks/{reservationBlocksId}/reservationSubBlocks/{reservationSubBlock}/reportFaulty", +"httpMethod": "POST", +"id": "compute.reservationSubBlocks.reportFaulty", +"parameterOrder": [ +"project", +"zone", +"parentName", +"reservationSubBlock" +], +"parameters": { +"parentName": { +"description": "The name of the parent reservation and parent block. In the format of\nreservations/{reservation_name}/reservationBlocks/{reservation_block_name}", +"location": "path", +"pattern": "^reservations/[^/]+/reservationBlocks/[^/]+$", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"reservationSubBlock": { +"description": "The name of the reservation subBlock.\nName should conform to RFC1035 or be a resource ID.", +"location": "path", +"required": true, +"type": "string" +}, +"zone": { +"description": "Name of the zone for this request. Zone name should conform to RFC1035.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/zones/{zone}/{+parentName}/reservationSubBlocks/{reservationSubBlock}/reportFaulty", +"request": { +"$ref": "ReservationSubBlocksReportFaultyRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"setIamPolicy": { +"description": "Sets the access control policy on the specified resource.\nReplaces any existing policy.", +"flatPath": "projects/{project}/zones/{zone}/reservations/{reservationsId}/reservationBlocks/{reservationBlocksId}/reservationSubBlocks/{resource}/setIamPolicy", +"httpMethod": "POST", +"id": "compute.reservationSubBlocks.setIamPolicy", +"parameterOrder": [ +"project", +"zone", +"parentResource", +"resource" +], +"parameters": { +"parentResource": { +"description": "Name or id of parent resource of the resource for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-zA-Z0-9/]{0,255}[a-zA-Z0-9])?", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"resource": { +"description": "Name or id of the resource for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +}, +"zone": { +"description": "The name of the zone for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/zones/{zone}/{+parentResource}/reservationSubBlocks/{resource}/setIamPolicy", +"request": { +"$ref": "ZoneSetNestedPolicyRequest" +}, +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"testIamPermissions": { +"description": "Returns permissions that a caller has on the specified resource.", +"flatPath": "projects/{project}/zones/{zone}/reservations/{reservationsId}/reservationBlocks/{reservationBlocksId}/reservationSubBlocks/{resource}/testIamPermissions", +"httpMethod": "POST", +"id": "compute.reservationSubBlocks.testIamPermissions", +"parameterOrder": [ +"project", +"zone", +"parentResource", +"resource" +], +"parameters": { +"parentResource": { +"description": "Name or id of parent resource of the resource for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-zA-Z0-9/]{0,255}[a-zA-Z0-9])?", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"resource": { +"description": "Name or id of the resource for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +}, +"zone": { +"description": "The name of the zone for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/zones/{zone}/{+parentResource}/reservationSubBlocks/{resource}/testIamPermissions", +"request": { +"$ref": "TestPermissionsRequest" +}, +"response": { +"$ref": "TestPermissionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +} +} +}, +"reservations": { +"methods": { +"aggregatedList": { +"description": "Retrieves an aggregated list of reservations.\n\nTo prevent failure, it is recommended that you set the\n`returnPartialSuccess` parameter to `true`.", +"flatPath": "projects/{project}/aggregated/reservations", +"httpMethod": "GET", +"id": "compute.reservations.aggregatedList", +"parameterOrder": [ +"project" +], +"parameters": { +"filter": { +"description": "A filter expression that filters resources listed in the response. Most\nCompute resources support two types of filter expressions:\nexpressions that support regular expressions and expressions that follow\nAPI improvement proposal AIP-160.\nThese two types of filter expressions cannot be mixed in one request.\n\nIf you want to use AIP-160, your expression must specify the field name, an\noperator, and the value that you want to use for filtering. The value\nmust be a string, a number, or a boolean. The operator\nmust be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.\n\nFor example, if you are filtering Compute Engine instances, you can\nexclude instances named `example-instance` by specifying\n`name != example-instance`.\n\nThe `:*` comparison can be used to test whether a key has been defined.\nFor example, to find all objects with `owner` label use:\n```\nlabels.owner:*\n```\n\nYou can also filter nested fields. For example, you could specify\n`scheduling.automaticRestart = false` to include instances only\nif they are not scheduled for automatic restarts. You can use filtering\non nested fields to filter based onresource labels.\n\nTo filter on multiple expressions, provide each separate expression within\nparentheses. For example:\n```\n(scheduling.automaticRestart = true)\n(cpuPlatform = \"Intel Skylake\")\n```\nBy default, each expression is an `AND` expression. However, you\ncan include `AND` and `OR` expressions explicitly.\nFor example:\n```\n(cpuPlatform = \"Intel Skylake\") OR\n(cpuPlatform = \"Intel Broadwell\") AND\n(scheduling.automaticRestart = true)\n```\n\nIf you want to use a regular expression, use the `eq` (equal) or `ne`\n(not equal) operator against a single un-parenthesized expression with or\nwithout quotes or against multiple parenthesized expressions. Examples:\n\n`fieldname eq unquoted literal`\n`fieldname eq 'single quoted literal'`\n`fieldname eq \"double quoted literal\"`\n`(fieldname1 eq literal) (fieldname2 ne \"literal\")`\n\nThe literal value is interpreted as a regular expression using GoogleRE2 library syntax.\nThe literal value must match the entire field.\n\nFor example, to filter for instances that do not end with name \"instance\",\nyou would use `name ne .*instance`.\n\nYou cannot combine constraints on multiple fields using regular\nexpressions.", +"location": "query", +"type": "string" +}, +"includeAllScopes": { +"description": "Indicates whether every visible scope for each scope type (zone, region,\nglobal) should be included in the response. For new resource types added\nafter this field, the flag has no effect as new resource types will always\ninclude every visible scope for each scope type in response. For resource\ntypes which predate this field, if this flag is omitted or false, only\nscopes of the scope types where the resource type is expected to be found\nwill be included.", +"location": "query", +"type": "boolean" +}, +"maxResults": { +"default": "500", +"description": "The maximum number of results per page that should be returned.\nIf the number of available results is larger than `maxResults`,\nCompute Engine returns a `nextPageToken` that can be used to get\nthe next page of results in subsequent list requests. Acceptable values are\n`0` to `500`, inclusive. (Default: `500`)", +"format": "uint32", +"location": "query", +"minimum": "0", +"type": "integer" +}, +"orderBy": { +"description": "Sorts list results by a certain order. By default, results\nare returned in alphanumerical order based on the resource name.\n\nYou can also sort results in descending order based on the creation\ntimestamp using `orderBy=\"creationTimestamp desc\"`. This sorts\nresults based on the `creationTimestamp` field in\nreverse chronological order (newest result first). Use this to sort\nresources like operations so that the newest operation is returned first.\n\nCurrently, only sorting by `name` or\n`creationTimestamp desc` is supported.", +"location": "query", +"type": "string" +}, +"pageToken": { +"description": "Specifies a page token to use. Set `pageToken` to the\n`nextPageToken` returned by a previous list request to get\nthe next page of results.", +"location": "query", +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"returnPartialSuccess": { +"description": "Opt-in for partial success behavior which provides partial results in case\nof failure. The default value is false.\n\nFor example, when partial success behavior is enabled, aggregatedList for a\nsingle zone scope either returns all resources in the zone or no resources,\nwith an error code.", +"location": "query", +"type": "boolean" +}, +"serviceProjectNumber": { +"description": "The Shared VPC service project id or service project number for which\naggregated list request is invoked for subnetworks list-usable api.", +"format": "int64", +"location": "query", +"type": "string" +} +}, +"path": "projects/{project}/aggregated/reservations", +"response": { +"$ref": "ReservationAggregatedList" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"delete": { +"description": "Deletes the specified reservation.", +"flatPath": "projects/{project}/zones/{zone}/reservations/{reservation}", +"httpMethod": "DELETE", +"id": "compute.reservations.delete", +"parameterOrder": [ +"project", +"zone", +"reservation" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"reservation": { +"description": "Name of the reservation to delete.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +}, +"zone": { +"description": "Name of the zone for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/zones/{zone}/reservations/{reservation}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"get": { +"description": "Retrieves information about the specified reservation.", +"flatPath": "projects/{project}/zones/{zone}/reservations/{reservation}", +"httpMethod": "GET", +"id": "compute.reservations.get", +"parameterOrder": [ +"project", +"zone", +"reservation" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"reservation": { +"description": "Name of the reservation to retrieve.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +}, +"zone": { +"description": "Name of the zone for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/zones/{zone}/reservations/{reservation}", +"response": { +"$ref": "Reservation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"getIamPolicy": { +"description": "Gets the access control policy for a resource. May be empty if no such\npolicy or resource exists.", +"flatPath": "projects/{project}/zones/{zone}/reservations/{resource}/getIamPolicy", +"httpMethod": "GET", +"id": "compute.reservations.getIamPolicy", +"parameterOrder": [ +"project", +"zone", +"resource" +], +"parameters": { +"optionsRequestedPolicyVersion": { +"description": "Requested IAM Policy version.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"resource": { +"description": "Name or id of the resource for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +}, +"zone": { +"description": "The name of the zone for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/zones/{zone}/reservations/{resource}/getIamPolicy", +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"insert": { +"description": "Creates a new reservation. For more information, readReserving zonal\nresources.", +"flatPath": "projects/{project}/zones/{zone}/reservations", +"httpMethod": "POST", +"id": "compute.reservations.insert", +"parameterOrder": [ +"project", +"zone" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"zone": { +"description": "Name of the zone for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/zones/{zone}/reservations", +"request": { +"$ref": "Reservation" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"list": { +"description": "A list of all the reservations that have been configured for the\nspecified project in specified zone.", +"flatPath": "projects/{project}/zones/{zone}/reservations", +"httpMethod": "GET", +"id": "compute.reservations.list", +"parameterOrder": [ +"project", +"zone" +], +"parameters": { +"filter": { +"description": "A filter expression that filters resources listed in the response. Most\nCompute resources support two types of filter expressions:\nexpressions that support regular expressions and expressions that follow\nAPI improvement proposal AIP-160.\nThese two types of filter expressions cannot be mixed in one request.\n\nIf you want to use AIP-160, your expression must specify the field name, an\noperator, and the value that you want to use for filtering. The value\nmust be a string, a number, or a boolean. The operator\nmust be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.\n\nFor example, if you are filtering Compute Engine instances, you can\nexclude instances named `example-instance` by specifying\n`name != example-instance`.\n\nThe `:*` comparison can be used to test whether a key has been defined.\nFor example, to find all objects with `owner` label use:\n```\nlabels.owner:*\n```\n\nYou can also filter nested fields. For example, you could specify\n`scheduling.automaticRestart = false` to include instances only\nif they are not scheduled for automatic restarts. You can use filtering\non nested fields to filter based onresource labels.\n\nTo filter on multiple expressions, provide each separate expression within\nparentheses. For example:\n```\n(scheduling.automaticRestart = true)\n(cpuPlatform = \"Intel Skylake\")\n```\nBy default, each expression is an `AND` expression. However, you\ncan include `AND` and `OR` expressions explicitly.\nFor example:\n```\n(cpuPlatform = \"Intel Skylake\") OR\n(cpuPlatform = \"Intel Broadwell\") AND\n(scheduling.automaticRestart = true)\n```\n\nIf you want to use a regular expression, use the `eq` (equal) or `ne`\n(not equal) operator against a single un-parenthesized expression with or\nwithout quotes or against multiple parenthesized expressions. Examples:\n\n`fieldname eq unquoted literal`\n`fieldname eq 'single quoted literal'`\n`fieldname eq \"double quoted literal\"`\n`(fieldname1 eq literal) (fieldname2 ne \"literal\")`\n\nThe literal value is interpreted as a regular expression using GoogleRE2 library syntax.\nThe literal value must match the entire field.\n\nFor example, to filter for instances that do not end with name \"instance\",\nyou would use `name ne .*instance`.\n\nYou cannot combine constraints on multiple fields using regular\nexpressions.", +"location": "query", +"type": "string" +}, +"maxResults": { +"default": "500", +"description": "The maximum number of results per page that should be returned.\nIf the number of available results is larger than `maxResults`,\nCompute Engine returns a `nextPageToken` that can be used to get\nthe next page of results in subsequent list requests. Acceptable values are\n`0` to `500`, inclusive. (Default: `500`)", +"format": "uint32", +"location": "query", +"minimum": "0", +"type": "integer" +}, +"orderBy": { +"description": "Sorts list results by a certain order. By default, results\nare returned in alphanumerical order based on the resource name.\n\nYou can also sort results in descending order based on the creation\ntimestamp using `orderBy=\"creationTimestamp desc\"`. This sorts\nresults based on the `creationTimestamp` field in\nreverse chronological order (newest result first). Use this to sort\nresources like operations so that the newest operation is returned first.\n\nCurrently, only sorting by `name` or\n`creationTimestamp desc` is supported.", +"location": "query", +"type": "string" +}, +"pageToken": { +"description": "Specifies a page token to use. Set `pageToken` to the\n`nextPageToken` returned by a previous list request to get\nthe next page of results.", +"location": "query", +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"returnPartialSuccess": { +"description": "Opt-in for partial success behavior which provides partial results in case\nof failure. The default value is false.\n\nFor example, when partial success behavior is enabled, aggregatedList for a\nsingle zone scope either returns all resources in the zone or no resources,\nwith an error code.", +"location": "query", +"type": "boolean" +}, +"zone": { +"description": "Name of the zone for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/zones/{zone}/reservations", +"response": { +"$ref": "ReservationList" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"performMaintenance": { +"description": "Perform maintenance on an extended reservation", +"flatPath": "projects/{project}/zones/{zone}/reservations/{reservation}/performMaintenance", +"httpMethod": "POST", +"id": "compute.reservations.performMaintenance", +"parameterOrder": [ +"project", +"zone", +"reservation" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"reservation": { +"description": "The name of the reservation.\nName should conform to RFC1035 or be a resource ID.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +}, +"zone": { +"description": "Name of the zone for this request. Zone name should conform to RFC1035.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/zones/{zone}/reservations/{reservation}/performMaintenance", +"request": { +"$ref": "ReservationsPerformMaintenanceRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"resize": { +"description": "Resizes the reservation (applicable to standalone reservations only). For\nmore information, readModifying\nreservations.", +"flatPath": "projects/{project}/zones/{zone}/reservations/{reservation}/resize", +"httpMethod": "POST", +"id": "compute.reservations.resize", +"parameterOrder": [ +"project", +"zone", +"reservation" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"reservation": { +"description": "Name of the reservation to update.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +}, +"zone": { +"description": "Name of the zone for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/zones/{zone}/reservations/{reservation}/resize", +"request": { +"$ref": "ReservationsResizeRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"setIamPolicy": { +"description": "Sets the access control policy on the specified resource.\nReplaces any existing policy.", +"flatPath": "projects/{project}/zones/{zone}/reservations/{resource}/setIamPolicy", +"httpMethod": "POST", +"id": "compute.reservations.setIamPolicy", +"parameterOrder": [ +"project", +"zone", +"resource" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"resource": { +"description": "Name or id of the resource for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +}, +"zone": { +"description": "The name of the zone for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/zones/{zone}/reservations/{resource}/setIamPolicy", +"request": { +"$ref": "ZoneSetPolicyRequest" +}, +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"testIamPermissions": { +"description": "Returns permissions that a caller has on the specified resource.", +"flatPath": "projects/{project}/zones/{zone}/reservations/{resource}/testIamPermissions", +"httpMethod": "POST", +"id": "compute.reservations.testIamPermissions", +"parameterOrder": [ +"project", +"zone", +"resource" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"resource": { +"description": "Name or id of the resource for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +}, +"zone": { +"description": "The name of the zone for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/zones/{zone}/reservations/{resource}/testIamPermissions", +"request": { +"$ref": "TestPermissionsRequest" +}, +"response": { +"$ref": "TestPermissionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"update": { +"description": "Update share settings of the reservation.", +"flatPath": "projects/{project}/zones/{zone}/reservations/{reservation}", +"httpMethod": "PATCH", +"id": "compute.reservations.update", +"parameterOrder": [ +"project", +"zone", +"reservation" +], +"parameters": { +"paths": { +"location": "query", +"repeated": true, +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"reservation": { +"description": "Name of the reservation to update.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Update_mask indicates fields to be updated as part of this request.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +}, +"zone": { +"description": "Name of the zone for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/zones/{zone}/reservations/{reservation}", +"request": { +"$ref": "Reservation" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +} +} +}, +"resourcePolicies": { +"methods": { +"aggregatedList": { +"description": "Retrieves an aggregated list of resource policies.\n\nTo prevent failure, Google recommends that you set the\n`returnPartialSuccess` parameter to `true`.", +"flatPath": "projects/{project}/aggregated/resourcePolicies", +"httpMethod": "GET", +"id": "compute.resourcePolicies.aggregatedList", +"parameterOrder": [ +"project" +], +"parameters": { +"filter": { +"description": "A filter expression that filters resources listed in the response. Most\nCompute resources support two types of filter expressions:\nexpressions that support regular expressions and expressions that follow\nAPI improvement proposal AIP-160.\nThese two types of filter expressions cannot be mixed in one request.\n\nIf you want to use AIP-160, your expression must specify the field name, an\noperator, and the value that you want to use for filtering. The value\nmust be a string, a number, or a boolean. The operator\nmust be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.\n\nFor example, if you are filtering Compute Engine instances, you can\nexclude instances named `example-instance` by specifying\n`name != example-instance`.\n\nThe `:*` comparison can be used to test whether a key has been defined.\nFor example, to find all objects with `owner` label use:\n```\nlabels.owner:*\n```\n\nYou can also filter nested fields. For example, you could specify\n`scheduling.automaticRestart = false` to include instances only\nif they are not scheduled for automatic restarts. You can use filtering\non nested fields to filter based onresource labels.\n\nTo filter on multiple expressions, provide each separate expression within\nparentheses. For example:\n```\n(scheduling.automaticRestart = true)\n(cpuPlatform = \"Intel Skylake\")\n```\nBy default, each expression is an `AND` expression. However, you\ncan include `AND` and `OR` expressions explicitly.\nFor example:\n```\n(cpuPlatform = \"Intel Skylake\") OR\n(cpuPlatform = \"Intel Broadwell\") AND\n(scheduling.automaticRestart = true)\n```\n\nIf you want to use a regular expression, use the `eq` (equal) or `ne`\n(not equal) operator against a single un-parenthesized expression with or\nwithout quotes or against multiple parenthesized expressions. Examples:\n\n`fieldname eq unquoted literal`\n`fieldname eq 'single quoted literal'`\n`fieldname eq \"double quoted literal\"`\n`(fieldname1 eq literal) (fieldname2 ne \"literal\")`\n\nThe literal value is interpreted as a regular expression using GoogleRE2 library syntax.\nThe literal value must match the entire field.\n\nFor example, to filter for instances that do not end with name \"instance\",\nyou would use `name ne .*instance`.\n\nYou cannot combine constraints on multiple fields using regular\nexpressions.", +"location": "query", +"type": "string" +}, +"includeAllScopes": { +"description": "Indicates whether every visible scope for each scope type (zone, region,\nglobal) should be included in the response. For new resource types added\nafter this field, the flag has no effect as new resource types will always\ninclude every visible scope for each scope type in response. For resource\ntypes which predate this field, if this flag is omitted or false, only\nscopes of the scope types where the resource type is expected to be found\nwill be included.", +"location": "query", +"type": "boolean" +}, +"maxResults": { +"default": "500", +"description": "The maximum number of results per page that should be returned.\nIf the number of available results is larger than `maxResults`,\nCompute Engine returns a `nextPageToken` that can be used to get\nthe next page of results in subsequent list requests. Acceptable values are\n`0` to `500`, inclusive. (Default: `500`)", +"format": "uint32", +"location": "query", +"minimum": "0", +"type": "integer" +}, +"orderBy": { +"description": "Sorts list results by a certain order. By default, results\nare returned in alphanumerical order based on the resource name.\n\nYou can also sort results in descending order based on the creation\ntimestamp using `orderBy=\"creationTimestamp desc\"`. This sorts\nresults based on the `creationTimestamp` field in\nreverse chronological order (newest result first). Use this to sort\nresources like operations so that the newest operation is returned first.\n\nCurrently, only sorting by `name` or\n`creationTimestamp desc` is supported.", +"location": "query", +"type": "string" +}, +"pageToken": { +"description": "Specifies a page token to use. Set `pageToken` to the\n`nextPageToken` returned by a previous list request to get\nthe next page of results.", +"location": "query", +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"returnPartialSuccess": { +"description": "Opt-in for partial success behavior which provides partial results in case\nof failure. The default value is false.\n\nFor example, when partial success behavior is enabled, aggregatedList for a\nsingle zone scope either returns all resources in the zone or no resources,\nwith an error code.", +"location": "query", +"type": "boolean" +}, +"serviceProjectNumber": { +"description": "The Shared VPC service project id or service project number for which\naggregated list request is invoked for subnetworks list-usable api.", +"format": "int64", +"location": "query", +"type": "string" +} +}, +"path": "projects/{project}/aggregated/resourcePolicies", +"response": { +"$ref": "ResourcePolicyAggregatedList" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"delete": { +"description": "Deletes the specified resource policy.", +"flatPath": "projects/{project}/regions/{region}/resourcePolicies/{resourcePolicy}", +"httpMethod": "DELETE", +"id": "compute.resourcePolicies.delete", +"parameterOrder": [ +"project", +"region", +"resourcePolicy" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "Name of the region for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"resourcePolicy": { +"description": "Name of the resource policy to delete.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/regions/{region}/resourcePolicies/{resourcePolicy}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"get": { +"description": "Retrieves all information of the specified resource policy.", +"flatPath": "projects/{project}/regions/{region}/resourcePolicies/{resourcePolicy}", +"httpMethod": "GET", +"id": "compute.resourcePolicies.get", +"parameterOrder": [ +"project", +"region", +"resourcePolicy" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "Name of the region for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +}, +"resourcePolicy": { +"description": "Name of the resource policy to retrieve.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/regions/{region}/resourcePolicies/{resourcePolicy}", +"response": { +"$ref": "ResourcePolicy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"getIamPolicy": { +"description": "Gets the access control policy for a resource. May be empty if no such\npolicy or resource exists.", +"flatPath": "projects/{project}/regions/{region}/resourcePolicies/{resource}/getIamPolicy", +"httpMethod": "GET", +"id": "compute.resourcePolicies.getIamPolicy", +"parameterOrder": [ +"project", +"region", +"resource" +], +"parameters": { +"optionsRequestedPolicyVersion": { +"description": "Requested IAM Policy version.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "The name of the region for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +}, +"resource": { +"description": "Name or id of the resource for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/regions/{region}/resourcePolicies/{resource}/getIamPolicy", +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"insert": { +"description": "Creates a new resource policy.", +"flatPath": "projects/{project}/regions/{region}/resourcePolicies", +"httpMethod": "POST", +"id": "compute.resourcePolicies.insert", +"parameterOrder": [ +"project", +"region" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "Name of the region for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "projects/{project}/regions/{region}/resourcePolicies", +"request": { +"$ref": "ResourcePolicy" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"list": { +"description": "A list all the resource policies that have been configured for the\nspecified project in specified region.", +"flatPath": "projects/{project}/regions/{region}/resourcePolicies", +"httpMethod": "GET", +"id": "compute.resourcePolicies.list", +"parameterOrder": [ +"project", +"region" +], +"parameters": { +"filter": { +"description": "A filter expression that filters resources listed in the response. Most\nCompute resources support two types of filter expressions:\nexpressions that support regular expressions and expressions that follow\nAPI improvement proposal AIP-160.\nThese two types of filter expressions cannot be mixed in one request.\n\nIf you want to use AIP-160, your expression must specify the field name, an\noperator, and the value that you want to use for filtering. The value\nmust be a string, a number, or a boolean. The operator\nmust be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.\n\nFor example, if you are filtering Compute Engine instances, you can\nexclude instances named `example-instance` by specifying\n`name != example-instance`.\n\nThe `:*` comparison can be used to test whether a key has been defined.\nFor example, to find all objects with `owner` label use:\n```\nlabels.owner:*\n```\n\nYou can also filter nested fields. For example, you could specify\n`scheduling.automaticRestart = false` to include instances only\nif they are not scheduled for automatic restarts. You can use filtering\non nested fields to filter based onresource labels.\n\nTo filter on multiple expressions, provide each separate expression within\nparentheses. For example:\n```\n(scheduling.automaticRestart = true)\n(cpuPlatform = \"Intel Skylake\")\n```\nBy default, each expression is an `AND` expression. However, you\ncan include `AND` and `OR` expressions explicitly.\nFor example:\n```\n(cpuPlatform = \"Intel Skylake\") OR\n(cpuPlatform = \"Intel Broadwell\") AND\n(scheduling.automaticRestart = true)\n```\n\nIf you want to use a regular expression, use the `eq` (equal) or `ne`\n(not equal) operator against a single un-parenthesized expression with or\nwithout quotes or against multiple parenthesized expressions. Examples:\n\n`fieldname eq unquoted literal`\n`fieldname eq 'single quoted literal'`\n`fieldname eq \"double quoted literal\"`\n`(fieldname1 eq literal) (fieldname2 ne \"literal\")`\n\nThe literal value is interpreted as a regular expression using GoogleRE2 library syntax.\nThe literal value must match the entire field.\n\nFor example, to filter for instances that do not end with name \"instance\",\nyou would use `name ne .*instance`.\n\nYou cannot combine constraints on multiple fields using regular\nexpressions.", +"location": "query", +"type": "string" +}, +"maxResults": { +"default": "500", +"description": "The maximum number of results per page that should be returned.\nIf the number of available results is larger than `maxResults`,\nCompute Engine returns a `nextPageToken` that can be used to get\nthe next page of results in subsequent list requests. Acceptable values are\n`0` to `500`, inclusive. (Default: `500`)", +"format": "uint32", +"location": "query", +"minimum": "0", +"type": "integer" +}, +"orderBy": { +"description": "Sorts list results by a certain order. By default, results\nare returned in alphanumerical order based on the resource name.\n\nYou can also sort results in descending order based on the creation\ntimestamp using `orderBy=\"creationTimestamp desc\"`. This sorts\nresults based on the `creationTimestamp` field in\nreverse chronological order (newest result first). Use this to sort\nresources like operations so that the newest operation is returned first.\n\nCurrently, only sorting by `name` or\n`creationTimestamp desc` is supported.", +"location": "query", +"type": "string" +}, +"pageToken": { +"description": "Specifies a page token to use. Set `pageToken` to the\n`nextPageToken` returned by a previous list request to get\nthe next page of results.", +"location": "query", +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "Name of the region for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +}, +"returnPartialSuccess": { +"description": "Opt-in for partial success behavior which provides partial results in case\nof failure. The default value is false.\n\nFor example, when partial success behavior is enabled, aggregatedList for a\nsingle zone scope either returns all resources in the zone or no resources,\nwith an error code.", +"location": "query", +"type": "boolean" +} +}, +"path": "projects/{project}/regions/{region}/resourcePolicies", +"response": { +"$ref": "ResourcePolicyList" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"patch": { +"description": "Modify the specified resource policy.", +"flatPath": "projects/{project}/regions/{region}/resourcePolicies/{resourcePolicy}", +"httpMethod": "PATCH", +"id": "compute.resourcePolicies.patch", +"parameterOrder": [ +"project", +"region", +"resourcePolicy" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "Name of the region for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"resourcePolicy": { +"description": "Id of the resource policy to patch.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "update_mask indicates fields to be updated as part of this request.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "projects/{project}/regions/{region}/resourcePolicies/{resourcePolicy}", +"request": { +"$ref": "ResourcePolicy" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"setIamPolicy": { +"description": "Sets the access control policy on the specified resource.\nReplaces any existing policy.", +"flatPath": "projects/{project}/regions/{region}/resourcePolicies/{resource}/setIamPolicy", +"httpMethod": "POST", +"id": "compute.resourcePolicies.setIamPolicy", +"parameterOrder": [ +"project", +"region", +"resource" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "The name of the region for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +}, +"resource": { +"description": "Name or id of the resource for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/regions/{region}/resourcePolicies/{resource}/setIamPolicy", +"request": { +"$ref": "RegionSetPolicyRequest" +}, +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"testIamPermissions": { +"description": "Returns permissions that a caller has on the specified resource.", +"flatPath": "projects/{project}/regions/{region}/resourcePolicies/{resource}/testIamPermissions", +"httpMethod": "POST", +"id": "compute.resourcePolicies.testIamPermissions", +"parameterOrder": [ +"project", +"region", +"resource" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "The name of the region for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +}, +"resource": { +"description": "Name or id of the resource for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/regions/{region}/resourcePolicies/{resource}/testIamPermissions", +"request": { +"$ref": "TestPermissionsRequest" +}, +"response": { +"$ref": "TestPermissionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +} +} +}, +"rolloutPlans": { +"methods": { +"delete": { +"description": "Deletes a RolloutPlan.", +"flatPath": "projects/{project}/global/rolloutPlans/{rolloutPlan}", +"httpMethod": "DELETE", +"id": "compute.rolloutPlans.delete", +"parameterOrder": [ +"project", +"rolloutPlan" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"rolloutPlan": { +"description": "Name of the RolloutPlan resource to delete.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/global/rolloutPlans/{rolloutPlan}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"get": { +"description": "Gets details of a single project-scoped RolloutPlan.", +"flatPath": "projects/{project}/global/rolloutPlans/{rolloutPlan}", +"httpMethod": "GET", +"id": "compute.rolloutPlans.get", +"parameterOrder": [ +"project", +"rolloutPlan" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"rolloutPlan": { +"description": "Name of the persistent rollout plan to return.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/global/rolloutPlans/{rolloutPlan}", +"response": { +"$ref": "RolloutPlan" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"insert": { +"description": "Creates a new RolloutPlan in a given project and location.", +"flatPath": "projects/{project}/global/rolloutPlans", +"httpMethod": "POST", +"id": "compute.rolloutPlans.insert", +"parameterOrder": [ +"project" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "projects/{project}/global/rolloutPlans", +"request": { +"$ref": "RolloutPlan" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"list": { +"description": "Lists RolloutPlans in a given project and location.", +"flatPath": "projects/{project}/global/rolloutPlans", +"httpMethod": "GET", +"id": "compute.rolloutPlans.list", +"parameterOrder": [ +"project" +], +"parameters": { +"filter": { +"description": "A filter expression that filters resources listed in the response. Most\nCompute resources support two types of filter expressions:\nexpressions that support regular expressions and expressions that follow\nAPI improvement proposal AIP-160.\nThese two types of filter expressions cannot be mixed in one request.\n\nIf you want to use AIP-160, your expression must specify the field name, an\noperator, and the value that you want to use for filtering. The value\nmust be a string, a number, or a boolean. The operator\nmust be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.\n\nFor example, if you are filtering Compute Engine instances, you can\nexclude instances named `example-instance` by specifying\n`name != example-instance`.\n\nThe `:*` comparison can be used to test whether a key has been defined.\nFor example, to find all objects with `owner` label use:\n```\nlabels.owner:*\n```\n\nYou can also filter nested fields. For example, you could specify\n`scheduling.automaticRestart = false` to include instances only\nif they are not scheduled for automatic restarts. You can use filtering\non nested fields to filter based onresource labels.\n\nTo filter on multiple expressions, provide each separate expression within\nparentheses. For example:\n```\n(scheduling.automaticRestart = true)\n(cpuPlatform = \"Intel Skylake\")\n```\nBy default, each expression is an `AND` expression. However, you\ncan include `AND` and `OR` expressions explicitly.\nFor example:\n```\n(cpuPlatform = \"Intel Skylake\") OR\n(cpuPlatform = \"Intel Broadwell\") AND\n(scheduling.automaticRestart = true)\n```\n\nIf you want to use a regular expression, use the `eq` (equal) or `ne`\n(not equal) operator against a single un-parenthesized expression with or\nwithout quotes or against multiple parenthesized expressions. Examples:\n\n`fieldname eq unquoted literal`\n`fieldname eq 'single quoted literal'`\n`fieldname eq \"double quoted literal\"`\n`(fieldname1 eq literal) (fieldname2 ne \"literal\")`\n\nThe literal value is interpreted as a regular expression using GoogleRE2 library syntax.\nThe literal value must match the entire field.\n\nFor example, to filter for instances that do not end with name \"instance\",\nyou would use `name ne .*instance`.\n\nYou cannot combine constraints on multiple fields using regular\nexpressions.", +"location": "query", +"type": "string" +}, +"maxResults": { +"default": "500", +"description": "The maximum number of results per page that should be returned.\nIf the number of available results is larger than `maxResults`,\nCompute Engine returns a `nextPageToken` that can be used to get\nthe next page of results in subsequent list requests. Acceptable values are\n`0` to `500`, inclusive. (Default: `500`)", +"format": "uint32", +"location": "query", +"minimum": "0", +"type": "integer" +}, +"orderBy": { +"description": "Sorts list results by a certain order. By default, results\nare returned in alphanumerical order based on the resource name.\n\nYou can also sort results in descending order based on the creation\ntimestamp using `orderBy=\"creationTimestamp desc\"`. This sorts\nresults based on the `creationTimestamp` field in\nreverse chronological order (newest result first). Use this to sort\nresources like operations so that the newest operation is returned first.\n\nCurrently, only sorting by `name` or\n`creationTimestamp desc` is supported.", +"location": "query", +"type": "string" +}, +"pageToken": { +"description": "Specifies a page token to use. Set `pageToken` to the\n`nextPageToken` returned by a previous list request to get\nthe next page of results.", +"location": "query", +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"returnPartialSuccess": { +"description": "Opt-in for partial success behavior which provides partial results in case\nof failure. The default value is false.\n\nFor example, when partial success behavior is enabled, aggregatedList for a\nsingle zone scope either returns all resources in the zone or no resources,\nwith an error code.", +"location": "query", +"type": "boolean" +} +}, +"path": "projects/{project}/global/rolloutPlans", +"response": { +"$ref": "RolloutPlansListResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +} +} +}, +"rollouts": { +"methods": { +"cancel": { +"description": "Cancels a Rollout.", +"flatPath": "projects/{project}/global/rollouts/{rollout}", +"httpMethod": "PATCH", +"id": "compute.rollouts.cancel", +"parameterOrder": [ +"project", +"rollout" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"rollback": { +"description": "Optional. If true, then the ongoing rollout must be rolled back. Else, just cancel\nthe rollout without taking any further actions. Note that products must\nsupport at least one of these options, however, it does not need to support\nboth.", +"location": "query", +"type": "boolean" +}, +"rollout": { +"description": "Name of the Rollout resource to cancel.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/global/rollouts/{rollout}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"delete": { +"description": "Deletes a Rollout.", +"flatPath": "projects/{project}/global/rollouts/{rollout}", +"httpMethod": "DELETE", +"id": "compute.rollouts.delete", +"parameterOrder": [ +"project", +"rollout" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"rollout": { +"description": "Name of the Rollout resource to delete.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/global/rollouts/{rollout}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"get": { +"description": "Gets details of a single project-scoped Rollout.", +"flatPath": "projects/{project}/global/rollouts/{rollout}", +"httpMethod": "GET", +"id": "compute.rollouts.get", +"parameterOrder": [ +"project", +"rollout" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"rollout": { +"description": "Name of the persistent rollout to return.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/global/rollouts/{rollout}", +"response": { +"$ref": "Rollout" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"list": { +"description": "Lists Rollouts in a given project and location.", +"flatPath": "projects/{project}/global/rollouts", +"httpMethod": "GET", +"id": "compute.rollouts.list", +"parameterOrder": [ +"project" +], +"parameters": { +"filter": { +"description": "A filter expression that filters resources listed in the response. Most\nCompute resources support two types of filter expressions:\nexpressions that support regular expressions and expressions that follow\nAPI improvement proposal AIP-160.\nThese two types of filter expressions cannot be mixed in one request.\n\nIf you want to use AIP-160, your expression must specify the field name, an\noperator, and the value that you want to use for filtering. The value\nmust be a string, a number, or a boolean. The operator\nmust be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.\n\nFor example, if you are filtering Compute Engine instances, you can\nexclude instances named `example-instance` by specifying\n`name != example-instance`.\n\nThe `:*` comparison can be used to test whether a key has been defined.\nFor example, to find all objects with `owner` label use:\n```\nlabels.owner:*\n```\n\nYou can also filter nested fields. For example, you could specify\n`scheduling.automaticRestart = false` to include instances only\nif they are not scheduled for automatic restarts. You can use filtering\non nested fields to filter based onresource labels.\n\nTo filter on multiple expressions, provide each separate expression within\nparentheses. For example:\n```\n(scheduling.automaticRestart = true)\n(cpuPlatform = \"Intel Skylake\")\n```\nBy default, each expression is an `AND` expression. However, you\ncan include `AND` and `OR` expressions explicitly.\nFor example:\n```\n(cpuPlatform = \"Intel Skylake\") OR\n(cpuPlatform = \"Intel Broadwell\") AND\n(scheduling.automaticRestart = true)\n```\n\nIf you want to use a regular expression, use the `eq` (equal) or `ne`\n(not equal) operator against a single un-parenthesized expression with or\nwithout quotes or against multiple parenthesized expressions. Examples:\n\n`fieldname eq unquoted literal`\n`fieldname eq 'single quoted literal'`\n`fieldname eq \"double quoted literal\"`\n`(fieldname1 eq literal) (fieldname2 ne \"literal\")`\n\nThe literal value is interpreted as a regular expression using GoogleRE2 library syntax.\nThe literal value must match the entire field.\n\nFor example, to filter for instances that do not end with name \"instance\",\nyou would use `name ne .*instance`.\n\nYou cannot combine constraints on multiple fields using regular\nexpressions.", +"location": "query", +"type": "string" +}, +"maxResults": { +"default": "500", +"description": "The maximum number of results per page that should be returned.\nIf the number of available results is larger than `maxResults`,\nCompute Engine returns a `nextPageToken` that can be used to get\nthe next page of results in subsequent list requests. Acceptable values are\n`0` to `500`, inclusive. (Default: `500`)", +"format": "uint32", +"location": "query", +"minimum": "0", +"type": "integer" +}, +"orderBy": { +"description": "Sorts list results by a certain order. By default, results\nare returned in alphanumerical order based on the resource name.\n\nYou can also sort results in descending order based on the creation\ntimestamp using `orderBy=\"creationTimestamp desc\"`. This sorts\nresults based on the `creationTimestamp` field in\nreverse chronological order (newest result first). Use this to sort\nresources like operations so that the newest operation is returned first.\n\nCurrently, only sorting by `name` or\n`creationTimestamp desc` is supported.", +"location": "query", +"type": "string" +}, +"pageToken": { +"description": "Specifies a page token to use. Set `pageToken` to the\n`nextPageToken` returned by a previous list request to get\nthe next page of results.", +"location": "query", +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"returnPartialSuccess": { +"description": "Opt-in for partial success behavior which provides partial results in case\nof failure. The default value is false.\n\nFor example, when partial success behavior is enabled, aggregatedList for a\nsingle zone scope either returns all resources in the zone or no resources,\nwith an error code.", +"location": "query", +"type": "boolean" +} +}, +"path": "projects/{project}/global/rollouts", +"response": { +"$ref": "RolloutsListResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +} +} +}, +"routers": { +"methods": { +"aggregatedList": { +"description": "Retrieves an aggregated list of routers.\n\nTo prevent failure, Google recommends that you set the\n`returnPartialSuccess` parameter to `true`.", +"flatPath": "projects/{project}/aggregated/routers", +"httpMethod": "GET", +"id": "compute.routers.aggregatedList", +"parameterOrder": [ +"project" +], +"parameters": { +"filter": { +"description": "A filter expression that filters resources listed in the response. Most\nCompute resources support two types of filter expressions:\nexpressions that support regular expressions and expressions that follow\nAPI improvement proposal AIP-160.\nThese two types of filter expressions cannot be mixed in one request.\n\nIf you want to use AIP-160, your expression must specify the field name, an\noperator, and the value that you want to use for filtering. The value\nmust be a string, a number, or a boolean. The operator\nmust be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.\n\nFor example, if you are filtering Compute Engine instances, you can\nexclude instances named `example-instance` by specifying\n`name != example-instance`.\n\nThe `:*` comparison can be used to test whether a key has been defined.\nFor example, to find all objects with `owner` label use:\n```\nlabels.owner:*\n```\n\nYou can also filter nested fields. For example, you could specify\n`scheduling.automaticRestart = false` to include instances only\nif they are not scheduled for automatic restarts. You can use filtering\non nested fields to filter based onresource labels.\n\nTo filter on multiple expressions, provide each separate expression within\nparentheses. For example:\n```\n(scheduling.automaticRestart = true)\n(cpuPlatform = \"Intel Skylake\")\n```\nBy default, each expression is an `AND` expression. However, you\ncan include `AND` and `OR` expressions explicitly.\nFor example:\n```\n(cpuPlatform = \"Intel Skylake\") OR\n(cpuPlatform = \"Intel Broadwell\") AND\n(scheduling.automaticRestart = true)\n```\n\nIf you want to use a regular expression, use the `eq` (equal) or `ne`\n(not equal) operator against a single un-parenthesized expression with or\nwithout quotes or against multiple parenthesized expressions. Examples:\n\n`fieldname eq unquoted literal`\n`fieldname eq 'single quoted literal'`\n`fieldname eq \"double quoted literal\"`\n`(fieldname1 eq literal) (fieldname2 ne \"literal\")`\n\nThe literal value is interpreted as a regular expression using GoogleRE2 library syntax.\nThe literal value must match the entire field.\n\nFor example, to filter for instances that do not end with name \"instance\",\nyou would use `name ne .*instance`.\n\nYou cannot combine constraints on multiple fields using regular\nexpressions.", +"location": "query", +"type": "string" +}, +"includeAllScopes": { +"description": "Indicates whether every visible scope for each scope type (zone, region,\nglobal) should be included in the response. For new resource types added\nafter this field, the flag has no effect as new resource types will always\ninclude every visible scope for each scope type in response. For resource\ntypes which predate this field, if this flag is omitted or false, only\nscopes of the scope types where the resource type is expected to be found\nwill be included.", +"location": "query", +"type": "boolean" +}, +"maxResults": { +"default": "500", +"description": "The maximum number of results per page that should be returned.\nIf the number of available results is larger than `maxResults`,\nCompute Engine returns a `nextPageToken` that can be used to get\nthe next page of results in subsequent list requests. Acceptable values are\n`0` to `500`, inclusive. (Default: `500`)", +"format": "uint32", +"location": "query", +"minimum": "0", +"type": "integer" +}, +"orderBy": { +"description": "Sorts list results by a certain order. By default, results\nare returned in alphanumerical order based on the resource name.\n\nYou can also sort results in descending order based on the creation\ntimestamp using `orderBy=\"creationTimestamp desc\"`. This sorts\nresults based on the `creationTimestamp` field in\nreverse chronological order (newest result first). Use this to sort\nresources like operations so that the newest operation is returned first.\n\nCurrently, only sorting by `name` or\n`creationTimestamp desc` is supported.", +"location": "query", +"type": "string" +}, +"pageToken": { +"description": "Specifies a page token to use. Set `pageToken` to the\n`nextPageToken` returned by a previous list request to get\nthe next page of results.", +"location": "query", +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"returnPartialSuccess": { +"description": "Opt-in for partial success behavior which provides partial results in case\nof failure. The default value is false.\n\nFor example, when partial success behavior is enabled, aggregatedList for a\nsingle zone scope either returns all resources in the zone or no resources,\nwith an error code.", +"location": "query", +"type": "boolean" +}, +"serviceProjectNumber": { +"description": "The Shared VPC service project id or service project number for which\naggregated list request is invoked for subnetworks list-usable api.", +"format": "int64", +"location": "query", +"type": "string" +} +}, +"path": "projects/{project}/aggregated/routers", +"response": { +"$ref": "RouterAggregatedList" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"delete": { +"description": "Deletes the specified Router resource.", +"flatPath": "projects/{project}/regions/{region}/routers/{router}", +"httpMethod": "DELETE", +"id": "compute.routers.delete", +"parameterOrder": [ +"project", +"region", +"router" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "Name of the region for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"router": { +"description": "Name of the Router resource to delete.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/regions/{region}/routers/{router}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"deleteNamedSet": { +"description": "Deletes Named Set", +"flatPath": "projects/{project}/regions/{region}/routers/{router}/deleteNamedSet", +"httpMethod": "POST", +"id": "compute.routers.deleteNamedSet", +"parameterOrder": [ +"project", +"region", +"router" +], +"parameters": { +"namedSet": { +"description": "The Named Set name for this request. Name must conform to RFC1035", +"location": "query", +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "Name of the region for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"router": { +"description": "Name of the Router resource where Named Set is defined.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/regions/{region}/routers/{router}/deleteNamedSet", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"deleteRoutePolicy": { +"description": "Deletes Route Policy", +"flatPath": "projects/{project}/regions/{region}/routers/{router}/deleteRoutePolicy", +"httpMethod": "POST", +"id": "compute.routers.deleteRoutePolicy", +"parameterOrder": [ +"project", +"region", +"router" +], +"parameters": { +"policy": { +"description": "The Policy name for this request. Name must conform to RFC1035", +"location": "query", +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "Name of the region for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"router": { +"description": "Name of the Router resource where Route Policy is defined.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/regions/{region}/routers/{router}/deleteRoutePolicy", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"get": { +"description": "Returns the specified Router resource.", +"flatPath": "projects/{project}/regions/{region}/routers/{router}", +"httpMethod": "GET", +"id": "compute.routers.get", +"parameterOrder": [ +"project", +"region", +"router" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "Name of the region for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +}, +"router": { +"description": "Name of the Router resource to return.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/regions/{region}/routers/{router}", +"response": { +"$ref": "Router" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"getNamedSet": { +"description": "Returns specified Named Set", +"flatPath": "projects/{project}/regions/{region}/routers/{router}/getNamedSet", +"httpMethod": "GET", +"id": "compute.routers.getNamedSet", +"parameterOrder": [ +"project", +"region", +"router" +], +"parameters": { +"namedSet": { +"description": "The Named Set name for this request. Name must conform to RFC1035", +"location": "query", +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "Name of the region for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +}, +"router": { +"description": "Name of the Router resource to query for the named set. The name should\nconform to RFC1035.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/regions/{region}/routers/{router}/getNamedSet", +"response": { +"$ref": "RoutersGetNamedSetResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"getNatIpInfo": { +"description": "Retrieves runtime NAT IP information.", +"flatPath": "projects/{project}/regions/{region}/routers/{router}/getNatIpInfo", +"httpMethod": "GET", +"id": "compute.routers.getNatIpInfo", +"parameterOrder": [ +"project", +"region", +"router" +], +"parameters": { +"natName": { +"description": "Name of the nat service to filter the NAT IP information.\nIf it is omitted, all nats for this router will be returned.\nName should conform to RFC1035.", +"location": "query", +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "Name of the region for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +}, +"router": { +"description": "Name of the Router resource to query for Nat IP information. The name\nshould conform to RFC1035.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/regions/{region}/routers/{router}/getNatIpInfo", +"response": { +"$ref": "NatIpInfoResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"getNatMappingInfo": { +"description": "Retrieves runtime Nat mapping information of VM endpoints.", +"flatPath": "projects/{project}/regions/{region}/routers/{router}/getNatMappingInfo", +"httpMethod": "GET", +"id": "compute.routers.getNatMappingInfo", +"parameterOrder": [ +"project", +"region", +"router" +], +"parameters": { +"filter": { +"description": "A filter expression that filters resources listed in the response. Most\nCompute resources support two types of filter expressions:\nexpressions that support regular expressions and expressions that follow\nAPI improvement proposal AIP-160.\nThese two types of filter expressions cannot be mixed in one request.\n\nIf you want to use AIP-160, your expression must specify the field name, an\noperator, and the value that you want to use for filtering. The value\nmust be a string, a number, or a boolean. The operator\nmust be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.\n\nFor example, if you are filtering Compute Engine instances, you can\nexclude instances named `example-instance` by specifying\n`name != example-instance`.\n\nThe `:*` comparison can be used to test whether a key has been defined.\nFor example, to find all objects with `owner` label use:\n```\nlabels.owner:*\n```\n\nYou can also filter nested fields. For example, you could specify\n`scheduling.automaticRestart = false` to include instances only\nif they are not scheduled for automatic restarts. You can use filtering\non nested fields to filter based onresource labels.\n\nTo filter on multiple expressions, provide each separate expression within\nparentheses. For example:\n```\n(scheduling.automaticRestart = true)\n(cpuPlatform = \"Intel Skylake\")\n```\nBy default, each expression is an `AND` expression. However, you\ncan include `AND` and `OR` expressions explicitly.\nFor example:\n```\n(cpuPlatform = \"Intel Skylake\") OR\n(cpuPlatform = \"Intel Broadwell\") AND\n(scheduling.automaticRestart = true)\n```\n\nIf you want to use a regular expression, use the `eq` (equal) or `ne`\n(not equal) operator against a single un-parenthesized expression with or\nwithout quotes or against multiple parenthesized expressions. Examples:\n\n`fieldname eq unquoted literal`\n`fieldname eq 'single quoted literal'`\n`fieldname eq \"double quoted literal\"`\n`(fieldname1 eq literal) (fieldname2 ne \"literal\")`\n\nThe literal value is interpreted as a regular expression using GoogleRE2 library syntax.\nThe literal value must match the entire field.\n\nFor example, to filter for instances that do not end with name \"instance\",\nyou would use `name ne .*instance`.\n\nYou cannot combine constraints on multiple fields using regular\nexpressions.", +"location": "query", +"type": "string" +}, +"maxResults": { +"default": "500", +"description": "The maximum number of results per page that should be returned.\nIf the number of available results is larger than `maxResults`,\nCompute Engine returns a `nextPageToken` that can be used to get\nthe next page of results in subsequent list requests. Acceptable values are\n`0` to `500`, inclusive. (Default: `500`)", +"format": "uint32", +"location": "query", +"minimum": "0", +"type": "integer" +}, +"natName": { +"description": "Name of the nat service to filter the Nat Mapping information.\nIf it is omitted, all nats for this router will be returned.\nName should conform to RFC1035.", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "Sorts list results by a certain order. By default, results\nare returned in alphanumerical order based on the resource name.\n\nYou can also sort results in descending order based on the creation\ntimestamp using `orderBy=\"creationTimestamp desc\"`. This sorts\nresults based on the `creationTimestamp` field in\nreverse chronological order (newest result first). Use this to sort\nresources like operations so that the newest operation is returned first.\n\nCurrently, only sorting by `name` or\n`creationTimestamp desc` is supported.", +"location": "query", +"type": "string" +}, +"pageToken": { +"description": "Specifies a page token to use. Set `pageToken` to the\n`nextPageToken` returned by a previous list request to get\nthe next page of results.", +"location": "query", +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "Name of the region for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +}, +"returnPartialSuccess": { +"description": "Opt-in for partial success behavior which provides partial results in case\nof failure. The default value is false.\n\nFor example, when partial success behavior is enabled, aggregatedList for a\nsingle zone scope either returns all resources in the zone or no resources,\nwith an error code.", +"location": "query", +"type": "boolean" +}, +"router": { +"description": "Name of the Router resource to query for Nat Mapping information of\nVM endpoints.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/regions/{region}/routers/{router}/getNatMappingInfo", +"response": { +"$ref": "VmEndpointNatMappingsList" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"getRoutePolicy": { +"description": "Returns specified Route Policy", +"flatPath": "projects/{project}/regions/{region}/routers/{router}/getRoutePolicy", +"httpMethod": "GET", +"id": "compute.routers.getRoutePolicy", +"parameterOrder": [ +"project", +"region", +"router" +], +"parameters": { +"policy": { +"description": "The Policy name for this request. Name must conform to RFC1035", +"location": "query", +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "Name of the region for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +}, +"router": { +"description": "Name of the Router resource to query for the route policy. The name should\nconform to RFC1035.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/regions/{region}/routers/{router}/getRoutePolicy", +"response": { +"$ref": "RoutersGetRoutePolicyResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"getRouterStatus": { +"description": "Retrieves runtime information of the specified router.", +"flatPath": "projects/{project}/regions/{region}/routers/{router}/getRouterStatus", +"httpMethod": "GET", +"id": "compute.routers.getRouterStatus", +"parameterOrder": [ +"project", +"region", +"router" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "Name of the region for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +}, +"router": { +"description": "Name of the Router resource to query.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/regions/{region}/routers/{router}/getRouterStatus", +"response": { +"$ref": "RouterStatusResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"insert": { +"description": "Creates a Router resource in the specified project and region using\nthe data included in the request.", +"flatPath": "projects/{project}/regions/{region}/routers", +"httpMethod": "POST", +"id": "compute.routers.insert", +"parameterOrder": [ +"project", +"region" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "Name of the region for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "projects/{project}/regions/{region}/routers", +"request": { +"$ref": "Router" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"list": { +"description": "Retrieves a list of Router resources available to the specified project.", +"flatPath": "projects/{project}/regions/{region}/routers", +"httpMethod": "GET", +"id": "compute.routers.list", +"parameterOrder": [ +"project", +"region" +], +"parameters": { +"filter": { +"description": "A filter expression that filters resources listed in the response. Most\nCompute resources support two types of filter expressions:\nexpressions that support regular expressions and expressions that follow\nAPI improvement proposal AIP-160.\nThese two types of filter expressions cannot be mixed in one request.\n\nIf you want to use AIP-160, your expression must specify the field name, an\noperator, and the value that you want to use for filtering. The value\nmust be a string, a number, or a boolean. The operator\nmust be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.\n\nFor example, if you are filtering Compute Engine instances, you can\nexclude instances named `example-instance` by specifying\n`name != example-instance`.\n\nThe `:*` comparison can be used to test whether a key has been defined.\nFor example, to find all objects with `owner` label use:\n```\nlabels.owner:*\n```\n\nYou can also filter nested fields. For example, you could specify\n`scheduling.automaticRestart = false` to include instances only\nif they are not scheduled for automatic restarts. You can use filtering\non nested fields to filter based onresource labels.\n\nTo filter on multiple expressions, provide each separate expression within\nparentheses. For example:\n```\n(scheduling.automaticRestart = true)\n(cpuPlatform = \"Intel Skylake\")\n```\nBy default, each expression is an `AND` expression. However, you\ncan include `AND` and `OR` expressions explicitly.\nFor example:\n```\n(cpuPlatform = \"Intel Skylake\") OR\n(cpuPlatform = \"Intel Broadwell\") AND\n(scheduling.automaticRestart = true)\n```\n\nIf you want to use a regular expression, use the `eq` (equal) or `ne`\n(not equal) operator against a single un-parenthesized expression with or\nwithout quotes or against multiple parenthesized expressions. Examples:\n\n`fieldname eq unquoted literal`\n`fieldname eq 'single quoted literal'`\n`fieldname eq \"double quoted literal\"`\n`(fieldname1 eq literal) (fieldname2 ne \"literal\")`\n\nThe literal value is interpreted as a regular expression using GoogleRE2 library syntax.\nThe literal value must match the entire field.\n\nFor example, to filter for instances that do not end with name \"instance\",\nyou would use `name ne .*instance`.\n\nYou cannot combine constraints on multiple fields using regular\nexpressions.", +"location": "query", +"type": "string" +}, +"maxResults": { +"default": "500", +"description": "The maximum number of results per page that should be returned.\nIf the number of available results is larger than `maxResults`,\nCompute Engine returns a `nextPageToken` that can be used to get\nthe next page of results in subsequent list requests. Acceptable values are\n`0` to `500`, inclusive. (Default: `500`)", +"format": "uint32", +"location": "query", +"minimum": "0", +"type": "integer" +}, +"orderBy": { +"description": "Sorts list results by a certain order. By default, results\nare returned in alphanumerical order based on the resource name.\n\nYou can also sort results in descending order based on the creation\ntimestamp using `orderBy=\"creationTimestamp desc\"`. This sorts\nresults based on the `creationTimestamp` field in\nreverse chronological order (newest result first). Use this to sort\nresources like operations so that the newest operation is returned first.\n\nCurrently, only sorting by `name` or\n`creationTimestamp desc` is supported.", +"location": "query", +"type": "string" +}, +"pageToken": { +"description": "Specifies a page token to use. Set `pageToken` to the\n`nextPageToken` returned by a previous list request to get\nthe next page of results.", +"location": "query", +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "Name of the region for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +}, +"returnPartialSuccess": { +"description": "Opt-in for partial success behavior which provides partial results in case\nof failure. The default value is false.\n\nFor example, when partial success behavior is enabled, aggregatedList for a\nsingle zone scope either returns all resources in the zone or no resources,\nwith an error code.", +"location": "query", +"type": "boolean" +} +}, +"path": "projects/{project}/regions/{region}/routers", +"response": { +"$ref": "RouterList" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"listBgpRoutes": { +"description": "Retrieves a list of router bgp routes available to the specified project.", +"flatPath": "projects/{project}/regions/{region}/routers/{router}/listBgpRoutes", +"httpMethod": "GET", +"id": "compute.routers.listBgpRoutes", +"parameterOrder": [ +"project", +"region", +"router" +], +"parameters": { +"addressFamily": { +"default": "UNSPECIFIED_IP_VERSION", +"description": "(Required) limit results to this address family (either IPv4 or IPv6)", +"enum": [ +"IPV4", +"IPV6", +"UNSPECIFIED_IP_VERSION" +], +"enumDescriptions": [ +"", +"", +"" +], +"location": "query", +"type": "string" +}, +"destinationPrefix": { +"description": "Limit results to destinations that are subnets of this CIDR range", +"location": "query", +"type": "string" +}, +"filter": { +"description": "A filter expression that filters resources listed in the response. Most\nCompute resources support two types of filter expressions:\nexpressions that support regular expressions and expressions that follow\nAPI improvement proposal AIP-160.\nThese two types of filter expressions cannot be mixed in one request.\n\nIf you want to use AIP-160, your expression must specify the field name, an\noperator, and the value that you want to use for filtering. The value\nmust be a string, a number, or a boolean. The operator\nmust be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.\n\nFor example, if you are filtering Compute Engine instances, you can\nexclude instances named `example-instance` by specifying\n`name != example-instance`.\n\nThe `:*` comparison can be used to test whether a key has been defined.\nFor example, to find all objects with `owner` label use:\n```\nlabels.owner:*\n```\n\nYou can also filter nested fields. For example, you could specify\n`scheduling.automaticRestart = false` to include instances only\nif they are not scheduled for automatic restarts. You can use filtering\non nested fields to filter based onresource labels.\n\nTo filter on multiple expressions, provide each separate expression within\nparentheses. For example:\n```\n(scheduling.automaticRestart = true)\n(cpuPlatform = \"Intel Skylake\")\n```\nBy default, each expression is an `AND` expression. However, you\ncan include `AND` and `OR` expressions explicitly.\nFor example:\n```\n(cpuPlatform = \"Intel Skylake\") OR\n(cpuPlatform = \"Intel Broadwell\") AND\n(scheduling.automaticRestart = true)\n```\n\nIf you want to use a regular expression, use the `eq` (equal) or `ne`\n(not equal) operator against a single un-parenthesized expression with or\nwithout quotes or against multiple parenthesized expressions. Examples:\n\n`fieldname eq unquoted literal`\n`fieldname eq 'single quoted literal'`\n`fieldname eq \"double quoted literal\"`\n`(fieldname1 eq literal) (fieldname2 ne \"literal\")`\n\nThe literal value is interpreted as a regular expression using GoogleRE2 library syntax.\nThe literal value must match the entire field.\n\nFor example, to filter for instances that do not end with name \"instance\",\nyou would use `name ne .*instance`.\n\nYou cannot combine constraints on multiple fields using regular\nexpressions.", +"location": "query", +"type": "string" +}, +"maxResults": { +"default": "500", +"description": "The maximum number of results per page that should be returned.\nIf the number of available results is larger than `maxResults`,\nCompute Engine returns a `nextPageToken` that can be used to get\nthe next page of results in subsequent list requests. Acceptable values are\n`0` to `500`, inclusive. (Default: `500`)", +"format": "uint32", +"location": "query", +"minimum": "0", +"type": "integer" +}, +"orderBy": { +"description": "Sorts list results by a certain order. By default, results\nare returned in alphanumerical order based on the resource name.\n\nYou can also sort results in descending order based on the creation\ntimestamp using `orderBy=\"creationTimestamp desc\"`. This sorts\nresults based on the `creationTimestamp` field in\nreverse chronological order (newest result first). Use this to sort\nresources like operations so that the newest operation is returned first.\n\nCurrently, only sorting by `name` or\n`creationTimestamp desc` is supported.", +"location": "query", +"type": "string" +}, +"pageToken": { +"description": "Specifies a page token to use. Set `pageToken` to the\n`nextPageToken` returned by a previous list request to get\nthe next page of results.", +"location": "query", +"type": "string" +}, +"peer": { +"description": "(Required) limit results to the BGP peer with the given name.\nName should conform to RFC1035.", +"location": "query", +"type": "string" +}, +"policyApplied": { +"default": "true", +"description": "When true, the method returns post-policy routes. Otherwise, it returns\npre-policy routes.", +"location": "query", +"type": "boolean" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "Name of the region for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +}, +"returnPartialSuccess": { +"description": "Opt-in for partial success behavior which provides partial results in case\nof failure. The default value is false.\n\nFor example, when partial success behavior is enabled, aggregatedList for a\nsingle zone scope either returns all resources in the zone or no resources,\nwith an error code.", +"location": "query", +"type": "boolean" +}, +"routeType": { +"default": "UNSPECIFIED_ROUTE_TYPE", +"description": "(Required) limit results to this type of route (either LEARNED or\nADVERTISED)", +"enum": [ +"ADVERTISED", +"LEARNED", +"UNSPECIFIED_ROUTE_TYPE" +], +"enumDescriptions": [ +"", +"", +"" +], +"location": "query", +"type": "string" +}, +"router": { +"description": "Name or id of the resource for this request.\nName should conform to RFC1035.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/regions/{region}/routers/{router}/listBgpRoutes", +"response": { +"$ref": "RoutersListBgpRoutes" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"listNamedSets": { +"description": "Retrieves a list of router named set subresources available to the\nspecified project.", +"flatPath": "projects/{project}/regions/{region}/routers/{router}/listNamedSets", +"httpMethod": "GET", +"id": "compute.routers.listNamedSets", +"parameterOrder": [ +"project", +"region", +"router" +], +"parameters": { +"filter": { +"description": "A filter expression that filters resources listed in the response. Most\nCompute resources support two types of filter expressions:\nexpressions that support regular expressions and expressions that follow\nAPI improvement proposal AIP-160.\nThese two types of filter expressions cannot be mixed in one request.\n\nIf you want to use AIP-160, your expression must specify the field name, an\noperator, and the value that you want to use for filtering. The value\nmust be a string, a number, or a boolean. The operator\nmust be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.\n\nFor example, if you are filtering Compute Engine instances, you can\nexclude instances named `example-instance` by specifying\n`name != example-instance`.\n\nThe `:*` comparison can be used to test whether a key has been defined.\nFor example, to find all objects with `owner` label use:\n```\nlabels.owner:*\n```\n\nYou can also filter nested fields. For example, you could specify\n`scheduling.automaticRestart = false` to include instances only\nif they are not scheduled for automatic restarts. You can use filtering\non nested fields to filter based onresource labels.\n\nTo filter on multiple expressions, provide each separate expression within\nparentheses. For example:\n```\n(scheduling.automaticRestart = true)\n(cpuPlatform = \"Intel Skylake\")\n```\nBy default, each expression is an `AND` expression. However, you\ncan include `AND` and `OR` expressions explicitly.\nFor example:\n```\n(cpuPlatform = \"Intel Skylake\") OR\n(cpuPlatform = \"Intel Broadwell\") AND\n(scheduling.automaticRestart = true)\n```\n\nIf you want to use a regular expression, use the `eq` (equal) or `ne`\n(not equal) operator against a single un-parenthesized expression with or\nwithout quotes or against multiple parenthesized expressions. Examples:\n\n`fieldname eq unquoted literal`\n`fieldname eq 'single quoted literal'`\n`fieldname eq \"double quoted literal\"`\n`(fieldname1 eq literal) (fieldname2 ne \"literal\")`\n\nThe literal value is interpreted as a regular expression using GoogleRE2 library syntax.\nThe literal value must match the entire field.\n\nFor example, to filter for instances that do not end with name \"instance\",\nyou would use `name ne .*instance`.\n\nYou cannot combine constraints on multiple fields using regular\nexpressions.", +"location": "query", +"type": "string" +}, +"maxResults": { +"default": "500", +"description": "The maximum number of results per page that should be returned.\nIf the number of available results is larger than `maxResults`,\nCompute Engine returns a `nextPageToken` that can be used to get\nthe next page of results in subsequent list requests. Acceptable values are\n`0` to `500`, inclusive. (Default: `500`)", +"format": "uint32", +"location": "query", +"minimum": "0", +"type": "integer" +}, +"orderBy": { +"description": "Sorts list results by a certain order. By default, results\nare returned in alphanumerical order based on the resource name.\n\nYou can also sort results in descending order based on the creation\ntimestamp using `orderBy=\"creationTimestamp desc\"`. This sorts\nresults based on the `creationTimestamp` field in\nreverse chronological order (newest result first). Use this to sort\nresources like operations so that the newest operation is returned first.\n\nCurrently, only sorting by `name` or\n`creationTimestamp desc` is supported.", +"location": "query", +"type": "string" +}, +"pageToken": { +"description": "Specifies a page token to use. Set `pageToken` to the\n`nextPageToken` returned by a previous list request to get\nthe next page of results.", +"location": "query", +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "Name of the region for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +}, +"returnPartialSuccess": { +"description": "Opt-in for partial success behavior which provides partial results in case\nof failure. The default value is false.\n\nFor example, when partial success behavior is enabled, aggregatedList for a\nsingle zone scope either returns all resources in the zone or no resources,\nwith an error code.", +"location": "query", +"type": "boolean" +}, +"router": { +"description": "Name or id of the resource for this request.\nName should conform to RFC1035.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/regions/{region}/routers/{router}/listNamedSets", +"response": { +"$ref": "RoutersListNamedSets" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"listRoutePolicies": { +"description": "Retrieves a list of router route policy subresources available to the\nspecified project.", +"flatPath": "projects/{project}/regions/{region}/routers/{router}/listRoutePolicies", +"httpMethod": "GET", +"id": "compute.routers.listRoutePolicies", +"parameterOrder": [ +"project", +"region", +"router" +], +"parameters": { +"filter": { +"description": "A filter expression that filters resources listed in the response. Most\nCompute resources support two types of filter expressions:\nexpressions that support regular expressions and expressions that follow\nAPI improvement proposal AIP-160.\nThese two types of filter expressions cannot be mixed in one request.\n\nIf you want to use AIP-160, your expression must specify the field name, an\noperator, and the value that you want to use for filtering. The value\nmust be a string, a number, or a boolean. The operator\nmust be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.\n\nFor example, if you are filtering Compute Engine instances, you can\nexclude instances named `example-instance` by specifying\n`name != example-instance`.\n\nThe `:*` comparison can be used to test whether a key has been defined.\nFor example, to find all objects with `owner` label use:\n```\nlabels.owner:*\n```\n\nYou can also filter nested fields. For example, you could specify\n`scheduling.automaticRestart = false` to include instances only\nif they are not scheduled for automatic restarts. You can use filtering\non nested fields to filter based onresource labels.\n\nTo filter on multiple expressions, provide each separate expression within\nparentheses. For example:\n```\n(scheduling.automaticRestart = true)\n(cpuPlatform = \"Intel Skylake\")\n```\nBy default, each expression is an `AND` expression. However, you\ncan include `AND` and `OR` expressions explicitly.\nFor example:\n```\n(cpuPlatform = \"Intel Skylake\") OR\n(cpuPlatform = \"Intel Broadwell\") AND\n(scheduling.automaticRestart = true)\n```\n\nIf you want to use a regular expression, use the `eq` (equal) or `ne`\n(not equal) operator against a single un-parenthesized expression with or\nwithout quotes or against multiple parenthesized expressions. Examples:\n\n`fieldname eq unquoted literal`\n`fieldname eq 'single quoted literal'`\n`fieldname eq \"double quoted literal\"`\n`(fieldname1 eq literal) (fieldname2 ne \"literal\")`\n\nThe literal value is interpreted as a regular expression using GoogleRE2 library syntax.\nThe literal value must match the entire field.\n\nFor example, to filter for instances that do not end with name \"instance\",\nyou would use `name ne .*instance`.\n\nYou cannot combine constraints on multiple fields using regular\nexpressions.", +"location": "query", +"type": "string" +}, +"maxResults": { +"default": "500", +"description": "The maximum number of results per page that should be returned.\nIf the number of available results is larger than `maxResults`,\nCompute Engine returns a `nextPageToken` that can be used to get\nthe next page of results in subsequent list requests. Acceptable values are\n`0` to `500`, inclusive. (Default: `500`)", +"format": "uint32", +"location": "query", +"minimum": "0", +"type": "integer" +}, +"orderBy": { +"description": "Sorts list results by a certain order. By default, results\nare returned in alphanumerical order based on the resource name.\n\nYou can also sort results in descending order based on the creation\ntimestamp using `orderBy=\"creationTimestamp desc\"`. This sorts\nresults based on the `creationTimestamp` field in\nreverse chronological order (newest result first). Use this to sort\nresources like operations so that the newest operation is returned first.\n\nCurrently, only sorting by `name` or\n`creationTimestamp desc` is supported.", +"location": "query", +"type": "string" +}, +"pageToken": { +"description": "Specifies a page token to use. Set `pageToken` to the\n`nextPageToken` returned by a previous list request to get\nthe next page of results.", +"location": "query", +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "Name of the region for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +}, +"returnPartialSuccess": { +"description": "Opt-in for partial success behavior which provides partial results in case\nof failure. The default value is false.\n\nFor example, when partial success behavior is enabled, aggregatedList for a\nsingle zone scope either returns all resources in the zone or no resources,\nwith an error code.", +"location": "query", +"type": "boolean" +}, +"router": { +"description": "Name or id of the resource for this request.\nName should conform to RFC1035.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/regions/{region}/routers/{router}/listRoutePolicies", +"response": { +"$ref": "RoutersListRoutePolicies" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"patch": { +"description": "Patches the specified Router resource with the data included in the\nrequest. This method supportsPATCH\nsemantics and usesJSON merge\npatch format and processing rules.", +"flatPath": "projects/{project}/regions/{region}/routers/{router}", +"httpMethod": "PATCH", +"id": "compute.routers.patch", +"parameterOrder": [ +"project", +"region", +"router" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "Name of the region for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"router": { +"description": "Name of the Router resource to patch.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/regions/{region}/routers/{router}", +"request": { +"$ref": "Router" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"patchNamedSet": { +"description": "Patches Named Set", +"flatPath": "projects/{project}/regions/{region}/routers/{router}/patchNamedSet", +"httpMethod": "POST", +"id": "compute.routers.patchNamedSet", +"parameterOrder": [ +"project", +"region", +"router" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "Name of the region for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"router": { +"description": "Name of the Router resource where Named Set is defined.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/regions/{region}/routers/{router}/patchNamedSet", +"request": { +"$ref": "NamedSet" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"patchRoutePolicy": { +"description": "Patches Route Policy", +"flatPath": "projects/{project}/regions/{region}/routers/{router}/patchRoutePolicy", +"httpMethod": "POST", +"id": "compute.routers.patchRoutePolicy", +"parameterOrder": [ +"project", +"region", +"router" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "Name of the region for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"router": { +"description": "Name of the Router resource where Route Policy is defined.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/regions/{region}/routers/{router}/patchRoutePolicy", +"request": { +"$ref": "RoutePolicy" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"preview": { +"description": "Preview fields auto-generated during router create andupdate operations.\nCalling this method does NOT create or update the router.", +"flatPath": "projects/{project}/regions/{region}/routers/{router}/preview", +"httpMethod": "POST", +"id": "compute.routers.preview", +"parameterOrder": [ +"project", +"region", +"router" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "Name of the region for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +}, +"router": { +"description": "Name of the Router resource to query.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/regions/{region}/routers/{router}/preview", +"request": { +"$ref": "Router" +}, +"response": { +"$ref": "RoutersPreviewResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"testIamPermissions": { +"description": "Returns permissions that a caller has on the specified resource.", +"flatPath": "projects/{project}/regions/{region}/routers/{resource}/testIamPermissions", +"httpMethod": "POST", +"id": "compute.routers.testIamPermissions", +"parameterOrder": [ +"project", +"region", +"resource" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "The name of the region for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +}, +"resource": { +"description": "Name or id of the resource for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/regions/{region}/routers/{resource}/testIamPermissions", +"request": { +"$ref": "TestPermissionsRequest" +}, +"response": { +"$ref": "TestPermissionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"update": { +"description": "Updates the specified Router resource with the data included in the\nrequest. This method conforms toPUT semantics, which requests that the state of the\ntarget resource be created or replaced with the state defined by the\nrepresentation enclosed in the request message payload.", +"flatPath": "projects/{project}/regions/{region}/routers/{router}", +"httpMethod": "PUT", +"id": "compute.routers.update", +"parameterOrder": [ +"project", +"region", +"router" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "Name of the region for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"router": { +"description": "Name of the Router resource to update.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/regions/{region}/routers/{router}", +"request": { +"$ref": "Router" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"updateNamedSet": { +"description": "Updates or creates new Named Set", +"flatPath": "projects/{project}/regions/{region}/routers/{router}/updateNamedSet", +"httpMethod": "POST", +"id": "compute.routers.updateNamedSet", +"parameterOrder": [ +"project", +"region", +"router" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "Name of the region for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"router": { +"description": "Name of the Router resource where Named Set is defined.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/regions/{region}/routers/{router}/updateNamedSet", +"request": { +"$ref": "NamedSet" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"updateRoutePolicy": { +"description": "Updates or creates new Route Policy", +"flatPath": "projects/{project}/regions/{region}/routers/{router}/updateRoutePolicy", +"httpMethod": "POST", +"id": "compute.routers.updateRoutePolicy", +"parameterOrder": [ +"project", +"region", +"router" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "Name of the region for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"router": { +"description": "Name of the Router resource where Route Policy is defined.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/regions/{region}/routers/{router}/updateRoutePolicy", +"request": { +"$ref": "RoutePolicy" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +} +} +}, +"routes": { +"methods": { +"delete": { +"description": "Deletes the specified Route resource.", +"flatPath": "projects/{project}/global/routes/{route}", +"httpMethod": "DELETE", +"id": "compute.routes.delete", +"parameterOrder": [ +"project", +"route" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"route": { +"description": "Name of the Route resource to delete.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/global/routes/{route}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"get": { +"description": "Returns the specified Route resource.", +"flatPath": "projects/{project}/global/routes/{route}", +"httpMethod": "GET", +"id": "compute.routes.get", +"parameterOrder": [ +"project", +"route" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"route": { +"description": "Name of the Route resource to return.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/global/routes/{route}", +"response": { +"$ref": "Route" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"insert": { +"description": "Creates a Route resource in the specified project using the data included\nin the request.", +"flatPath": "projects/{project}/global/routes", +"httpMethod": "POST", +"id": "compute.routes.insert", +"parameterOrder": [ +"project" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "projects/{project}/global/routes", +"request": { +"$ref": "Route" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"list": { +"description": "Retrieves the list of Route resources available to the specified project.", +"flatPath": "projects/{project}/global/routes", +"httpMethod": "GET", +"id": "compute.routes.list", +"parameterOrder": [ +"project" +], +"parameters": { +"filter": { +"description": "A filter expression that filters resources listed in the response. Most\nCompute resources support two types of filter expressions:\nexpressions that support regular expressions and expressions that follow\nAPI improvement proposal AIP-160.\nThese two types of filter expressions cannot be mixed in one request.\n\nIf you want to use AIP-160, your expression must specify the field name, an\noperator, and the value that you want to use for filtering. The value\nmust be a string, a number, or a boolean. The operator\nmust be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.\n\nFor example, if you are filtering Compute Engine instances, you can\nexclude instances named `example-instance` by specifying\n`name != example-instance`.\n\nThe `:*` comparison can be used to test whether a key has been defined.\nFor example, to find all objects with `owner` label use:\n```\nlabels.owner:*\n```\n\nYou can also filter nested fields. For example, you could specify\n`scheduling.automaticRestart = false` to include instances only\nif they are not scheduled for automatic restarts. You can use filtering\non nested fields to filter based onresource labels.\n\nTo filter on multiple expressions, provide each separate expression within\nparentheses. For example:\n```\n(scheduling.automaticRestart = true)\n(cpuPlatform = \"Intel Skylake\")\n```\nBy default, each expression is an `AND` expression. However, you\ncan include `AND` and `OR` expressions explicitly.\nFor example:\n```\n(cpuPlatform = \"Intel Skylake\") OR\n(cpuPlatform = \"Intel Broadwell\") AND\n(scheduling.automaticRestart = true)\n```\n\nIf you want to use a regular expression, use the `eq` (equal) or `ne`\n(not equal) operator against a single un-parenthesized expression with or\nwithout quotes or against multiple parenthesized expressions. Examples:\n\n`fieldname eq unquoted literal`\n`fieldname eq 'single quoted literal'`\n`fieldname eq \"double quoted literal\"`\n`(fieldname1 eq literal) (fieldname2 ne \"literal\")`\n\nThe literal value is interpreted as a regular expression using GoogleRE2 library syntax.\nThe literal value must match the entire field.\n\nFor example, to filter for instances that do not end with name \"instance\",\nyou would use `name ne .*instance`.\n\nYou cannot combine constraints on multiple fields using regular\nexpressions.", +"location": "query", +"type": "string" +}, +"maxResults": { +"default": "500", +"description": "The maximum number of results per page that should be returned.\nIf the number of available results is larger than `maxResults`,\nCompute Engine returns a `nextPageToken` that can be used to get\nthe next page of results in subsequent list requests. Acceptable values are\n`0` to `500`, inclusive. (Default: `500`)", +"format": "uint32", +"location": "query", +"minimum": "0", +"type": "integer" +}, +"orderBy": { +"description": "Sorts list results by a certain order. By default, results\nare returned in alphanumerical order based on the resource name.\n\nYou can also sort results in descending order based on the creation\ntimestamp using `orderBy=\"creationTimestamp desc\"`. This sorts\nresults based on the `creationTimestamp` field in\nreverse chronological order (newest result first). Use this to sort\nresources like operations so that the newest operation is returned first.\n\nCurrently, only sorting by `name` or\n`creationTimestamp desc` is supported.", +"location": "query", +"type": "string" +}, +"pageToken": { +"description": "Specifies a page token to use. Set `pageToken` to the\n`nextPageToken` returned by a previous list request to get\nthe next page of results.", +"location": "query", +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"returnPartialSuccess": { +"description": "Opt-in for partial success behavior which provides partial results in case\nof failure. The default value is false.\n\nFor example, when partial success behavior is enabled, aggregatedList for a\nsingle zone scope either returns all resources in the zone or no resources,\nwith an error code.", +"location": "query", +"type": "boolean" +} +}, +"path": "projects/{project}/global/routes", +"response": { +"$ref": "RouteList" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"testIamPermissions": { +"description": "Returns permissions that a caller has on the specified resource.", +"flatPath": "projects/{project}/global/routes/{resource}/testIamPermissions", +"httpMethod": "POST", +"id": "compute.routes.testIamPermissions", +"parameterOrder": [ +"project", +"resource" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"resource": { +"description": "Name or id of the resource for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9_]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/global/routes/{resource}/testIamPermissions", +"request": { +"$ref": "TestPermissionsRequest" +}, +"response": { +"$ref": "TestPermissionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +} +} +}, +"securityPolicies": { +"methods": { +"addRule": { +"description": "Inserts a rule into a security policy.", +"flatPath": "projects/{project}/global/securityPolicies/{securityPolicy}/addRule", +"httpMethod": "POST", +"id": "compute.securityPolicies.addRule", +"parameterOrder": [ +"project", +"securityPolicy" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"securityPolicy": { +"description": "Name of the security policy to update.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +}, +"validateOnly": { +"description": "If true, the request will not be committed.", +"location": "query", +"type": "boolean" +} +}, +"path": "projects/{project}/global/securityPolicies/{securityPolicy}/addRule", +"request": { +"$ref": "SecurityPolicyRule" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"aggregatedList": { +"description": "Retrieves the list of all SecurityPolicy resources, regional and global,\navailable to the specified project.\n\nTo prevent failure, Google recommends that you set the\n`returnPartialSuccess` parameter to `true`.", +"flatPath": "projects/{project}/aggregated/securityPolicies", +"httpMethod": "GET", +"id": "compute.securityPolicies.aggregatedList", +"parameterOrder": [ +"project" +], +"parameters": { +"filter": { +"description": "A filter expression that filters resources listed in the response. Most\nCompute resources support two types of filter expressions:\nexpressions that support regular expressions and expressions that follow\nAPI improvement proposal AIP-160.\nThese two types of filter expressions cannot be mixed in one request.\n\nIf you want to use AIP-160, your expression must specify the field name, an\noperator, and the value that you want to use for filtering. The value\nmust be a string, a number, or a boolean. The operator\nmust be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.\n\nFor example, if you are filtering Compute Engine instances, you can\nexclude instances named `example-instance` by specifying\n`name != example-instance`.\n\nThe `:*` comparison can be used to test whether a key has been defined.\nFor example, to find all objects with `owner` label use:\n```\nlabels.owner:*\n```\n\nYou can also filter nested fields. For example, you could specify\n`scheduling.automaticRestart = false` to include instances only\nif they are not scheduled for automatic restarts. You can use filtering\non nested fields to filter based onresource labels.\n\nTo filter on multiple expressions, provide each separate expression within\nparentheses. For example:\n```\n(scheduling.automaticRestart = true)\n(cpuPlatform = \"Intel Skylake\")\n```\nBy default, each expression is an `AND` expression. However, you\ncan include `AND` and `OR` expressions explicitly.\nFor example:\n```\n(cpuPlatform = \"Intel Skylake\") OR\n(cpuPlatform = \"Intel Broadwell\") AND\n(scheduling.automaticRestart = true)\n```\n\nIf you want to use a regular expression, use the `eq` (equal) or `ne`\n(not equal) operator against a single un-parenthesized expression with or\nwithout quotes or against multiple parenthesized expressions. Examples:\n\n`fieldname eq unquoted literal`\n`fieldname eq 'single quoted literal'`\n`fieldname eq \"double quoted literal\"`\n`(fieldname1 eq literal) (fieldname2 ne \"literal\")`\n\nThe literal value is interpreted as a regular expression using GoogleRE2 library syntax.\nThe literal value must match the entire field.\n\nFor example, to filter for instances that do not end with name \"instance\",\nyou would use `name ne .*instance`.\n\nYou cannot combine constraints on multiple fields using regular\nexpressions.", +"location": "query", +"type": "string" +}, +"includeAllScopes": { +"description": "Indicates whether every visible scope for each scope type (zone, region,\nglobal) should be included in the response. For new resource types added\nafter this field, the flag has no effect as new resource types will always\ninclude every visible scope for each scope type in response. For resource\ntypes which predate this field, if this flag is omitted or false, only\nscopes of the scope types where the resource type is expected to be found\nwill be included.", +"location": "query", +"type": "boolean" +}, +"maxResults": { +"default": "500", +"description": "The maximum number of results per page that should be returned.\nIf the number of available results is larger than `maxResults`,\nCompute Engine returns a `nextPageToken` that can be used to get\nthe next page of results in subsequent list requests. Acceptable values are\n`0` to `500`, inclusive. (Default: `500`)", +"format": "uint32", +"location": "query", +"minimum": "0", +"type": "integer" +}, +"orderBy": { +"description": "Sorts list results by a certain order. By default, results\nare returned in alphanumerical order based on the resource name.\n\nYou can also sort results in descending order based on the creation\ntimestamp using `orderBy=\"creationTimestamp desc\"`. This sorts\nresults based on the `creationTimestamp` field in\nreverse chronological order (newest result first). Use this to sort\nresources like operations so that the newest operation is returned first.\n\nCurrently, only sorting by `name` or\n`creationTimestamp desc` is supported.", +"location": "query", +"type": "string" +}, +"pageToken": { +"description": "Specifies a page token to use. Set `pageToken` to the\n`nextPageToken` returned by a previous list request to get\nthe next page of results.", +"location": "query", +"type": "string" +}, +"project": { +"description": "Name of the project scoping this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"returnPartialSuccess": { +"description": "Opt-in for partial success behavior which provides partial results in case\nof failure. The default value is false.\n\nFor example, when partial success behavior is enabled, aggregatedList for a\nsingle zone scope either returns all resources in the zone or no resources,\nwith an error code.", +"location": "query", +"type": "boolean" +}, +"serviceProjectNumber": { +"description": "The Shared VPC service project id or service project number for which\naggregated list request is invoked for subnetworks list-usable api.", +"format": "int64", +"location": "query", +"type": "string" +} +}, +"path": "projects/{project}/aggregated/securityPolicies", +"response": { +"$ref": "SecurityPoliciesAggregatedList" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"delete": { +"description": "Deletes the specified policy.", +"flatPath": "projects/{project}/global/securityPolicies/{securityPolicy}", +"httpMethod": "DELETE", +"id": "compute.securityPolicies.delete", +"parameterOrder": [ +"project", +"securityPolicy" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"securityPolicy": { +"description": "Name of the security policy to delete.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/global/securityPolicies/{securityPolicy}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"get": { +"description": "List all of the ordered rules present in a single specified policy.", +"flatPath": "projects/{project}/global/securityPolicies/{securityPolicy}", +"httpMethod": "GET", +"id": "compute.securityPolicies.get", +"parameterOrder": [ +"project", +"securityPolicy" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"securityPolicy": { +"description": "Name of the security policy to get.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/global/securityPolicies/{securityPolicy}", +"response": { +"$ref": "SecurityPolicy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"getRule": { +"description": "Gets a rule at the specified priority.", +"flatPath": "projects/{project}/global/securityPolicies/{securityPolicy}/getRule", +"httpMethod": "GET", +"id": "compute.securityPolicies.getRule", +"parameterOrder": [ +"project", +"securityPolicy" +], +"parameters": { +"priority": { +"description": "The priority of the rule to get from the security policy.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"securityPolicy": { +"description": "Name of the security policy to which the queried rule belongs.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/global/securityPolicies/{securityPolicy}/getRule", +"response": { +"$ref": "SecurityPolicyRule" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"insert": { +"description": "Creates a new policy in the specified project using the data included in\nthe request.", +"flatPath": "projects/{project}/global/securityPolicies", +"httpMethod": "POST", +"id": "compute.securityPolicies.insert", +"parameterOrder": [ +"project" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"validateOnly": { +"description": "If true, the request will not be committed.", +"location": "query", +"type": "boolean" +} +}, +"path": "projects/{project}/global/securityPolicies", +"request": { +"$ref": "SecurityPolicy" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"list": { +"description": "List all the policies that have been configured for the specified project.", +"flatPath": "projects/{project}/global/securityPolicies", +"httpMethod": "GET", +"id": "compute.securityPolicies.list", +"parameterOrder": [ +"project" +], +"parameters": { +"filter": { +"description": "A filter expression that filters resources listed in the response. Most\nCompute resources support two types of filter expressions:\nexpressions that support regular expressions and expressions that follow\nAPI improvement proposal AIP-160.\nThese two types of filter expressions cannot be mixed in one request.\n\nIf you want to use AIP-160, your expression must specify the field name, an\noperator, and the value that you want to use for filtering. The value\nmust be a string, a number, or a boolean. The operator\nmust be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.\n\nFor example, if you are filtering Compute Engine instances, you can\nexclude instances named `example-instance` by specifying\n`name != example-instance`.\n\nThe `:*` comparison can be used to test whether a key has been defined.\nFor example, to find all objects with `owner` label use:\n```\nlabels.owner:*\n```\n\nYou can also filter nested fields. For example, you could specify\n`scheduling.automaticRestart = false` to include instances only\nif they are not scheduled for automatic restarts. You can use filtering\non nested fields to filter based onresource labels.\n\nTo filter on multiple expressions, provide each separate expression within\nparentheses. For example:\n```\n(scheduling.automaticRestart = true)\n(cpuPlatform = \"Intel Skylake\")\n```\nBy default, each expression is an `AND` expression. However, you\ncan include `AND` and `OR` expressions explicitly.\nFor example:\n```\n(cpuPlatform = \"Intel Skylake\") OR\n(cpuPlatform = \"Intel Broadwell\") AND\n(scheduling.automaticRestart = true)\n```\n\nIf you want to use a regular expression, use the `eq` (equal) or `ne`\n(not equal) operator against a single un-parenthesized expression with or\nwithout quotes or against multiple parenthesized expressions. Examples:\n\n`fieldname eq unquoted literal`\n`fieldname eq 'single quoted literal'`\n`fieldname eq \"double quoted literal\"`\n`(fieldname1 eq literal) (fieldname2 ne \"literal\")`\n\nThe literal value is interpreted as a regular expression using GoogleRE2 library syntax.\nThe literal value must match the entire field.\n\nFor example, to filter for instances that do not end with name \"instance\",\nyou would use `name ne .*instance`.\n\nYou cannot combine constraints on multiple fields using regular\nexpressions.", +"location": "query", +"type": "string" +}, +"maxResults": { +"default": "500", +"description": "The maximum number of results per page that should be returned.\nIf the number of available results is larger than `maxResults`,\nCompute Engine returns a `nextPageToken` that can be used to get\nthe next page of results in subsequent list requests. Acceptable values are\n`0` to `500`, inclusive. (Default: `500`)", +"format": "uint32", +"location": "query", +"minimum": "0", +"type": "integer" +}, +"orderBy": { +"description": "Sorts list results by a certain order. By default, results\nare returned in alphanumerical order based on the resource name.\n\nYou can also sort results in descending order based on the creation\ntimestamp using `orderBy=\"creationTimestamp desc\"`. This sorts\nresults based on the `creationTimestamp` field in\nreverse chronological order (newest result first). Use this to sort\nresources like operations so that the newest operation is returned first.\n\nCurrently, only sorting by `name` or\n`creationTimestamp desc` is supported.", +"location": "query", +"type": "string" +}, +"pageToken": { +"description": "Specifies a page token to use. Set `pageToken` to the\n`nextPageToken` returned by a previous list request to get\nthe next page of results.", +"location": "query", +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"returnPartialSuccess": { +"description": "Opt-in for partial success behavior which provides partial results in case\nof failure. The default value is false.\n\nFor example, when partial success behavior is enabled, aggregatedList for a\nsingle zone scope either returns all resources in the zone or no resources,\nwith an error code.", +"location": "query", +"type": "boolean" +} +}, +"path": "projects/{project}/global/securityPolicies", +"response": { +"$ref": "SecurityPolicyList" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"listPreconfiguredExpressionSets": { +"description": "Gets the current list of preconfigured Web Application Firewall (WAF)\nexpressions.", +"flatPath": "projects/{project}/global/securityPolicies/listPreconfiguredExpressionSets", +"httpMethod": "GET", +"id": "compute.securityPolicies.listPreconfiguredExpressionSets", +"parameterOrder": [ +"project" +], +"parameters": { +"filter": { +"description": "A filter expression that filters resources listed in the response. Most\nCompute resources support two types of filter expressions:\nexpressions that support regular expressions and expressions that follow\nAPI improvement proposal AIP-160.\nThese two types of filter expressions cannot be mixed in one request.\n\nIf you want to use AIP-160, your expression must specify the field name, an\noperator, and the value that you want to use for filtering. The value\nmust be a string, a number, or a boolean. The operator\nmust be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.\n\nFor example, if you are filtering Compute Engine instances, you can\nexclude instances named `example-instance` by specifying\n`name != example-instance`.\n\nThe `:*` comparison can be used to test whether a key has been defined.\nFor example, to find all objects with `owner` label use:\n```\nlabels.owner:*\n```\n\nYou can also filter nested fields. For example, you could specify\n`scheduling.automaticRestart = false` to include instances only\nif they are not scheduled for automatic restarts. You can use filtering\non nested fields to filter based onresource labels.\n\nTo filter on multiple expressions, provide each separate expression within\nparentheses. For example:\n```\n(scheduling.automaticRestart = true)\n(cpuPlatform = \"Intel Skylake\")\n```\nBy default, each expression is an `AND` expression. However, you\ncan include `AND` and `OR` expressions explicitly.\nFor example:\n```\n(cpuPlatform = \"Intel Skylake\") OR\n(cpuPlatform = \"Intel Broadwell\") AND\n(scheduling.automaticRestart = true)\n```\n\nIf you want to use a regular expression, use the `eq` (equal) or `ne`\n(not equal) operator against a single un-parenthesized expression with or\nwithout quotes or against multiple parenthesized expressions. Examples:\n\n`fieldname eq unquoted literal`\n`fieldname eq 'single quoted literal'`\n`fieldname eq \"double quoted literal\"`\n`(fieldname1 eq literal) (fieldname2 ne \"literal\")`\n\nThe literal value is interpreted as a regular expression using GoogleRE2 library syntax.\nThe literal value must match the entire field.\n\nFor example, to filter for instances that do not end with name \"instance\",\nyou would use `name ne .*instance`.\n\nYou cannot combine constraints on multiple fields using regular\nexpressions.", +"location": "query", +"type": "string" +}, +"maxResults": { +"default": "500", +"description": "The maximum number of results per page that should be returned.\nIf the number of available results is larger than `maxResults`,\nCompute Engine returns a `nextPageToken` that can be used to get\nthe next page of results in subsequent list requests. Acceptable values are\n`0` to `500`, inclusive. (Default: `500`)", +"format": "uint32", +"location": "query", +"minimum": "0", +"type": "integer" +}, +"orderBy": { +"description": "Sorts list results by a certain order. By default, results\nare returned in alphanumerical order based on the resource name.\n\nYou can also sort results in descending order based on the creation\ntimestamp using `orderBy=\"creationTimestamp desc\"`. This sorts\nresults based on the `creationTimestamp` field in\nreverse chronological order (newest result first). Use this to sort\nresources like operations so that the newest operation is returned first.\n\nCurrently, only sorting by `name` or\n`creationTimestamp desc` is supported.", +"location": "query", +"type": "string" +}, +"pageToken": { +"description": "Specifies a page token to use. Set `pageToken` to the\n`nextPageToken` returned by a previous list request to get\nthe next page of results.", +"location": "query", +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"returnPartialSuccess": { +"description": "Opt-in for partial success behavior which provides partial results in case\nof failure. The default value is false.\n\nFor example, when partial success behavior is enabled, aggregatedList for a\nsingle zone scope either returns all resources in the zone or no resources,\nwith an error code.", +"location": "query", +"type": "boolean" +} +}, +"path": "projects/{project}/global/securityPolicies/listPreconfiguredExpressionSets", +"response": { +"$ref": "SecurityPoliciesListPreconfiguredExpressionSetsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"patch": { +"description": "Patches the specified policy with the data included in the request. To\nclear fields in the policy, leave the fields empty and specify them in the\nupdateMask. This cannot be used to be update the rules in the policy.\nPlease use the per rule methods like addRule, patchRule, and removeRule\ninstead.", +"flatPath": "projects/{project}/global/securityPolicies/{securityPolicy}", +"httpMethod": "PATCH", +"id": "compute.securityPolicies.patch", +"parameterOrder": [ +"project", +"securityPolicy" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"securityPolicy": { +"description": "Name of the security policy to update.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Indicates fields to be cleared as part of this request.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "projects/{project}/global/securityPolicies/{securityPolicy}", +"request": { +"$ref": "SecurityPolicy" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"patchRule": { +"description": "Patches a rule at the specified priority. To clear fields in the rule,\nleave the fields empty and specify them in the updateMask.", +"flatPath": "projects/{project}/global/securityPolicies/{securityPolicy}/patchRule", +"httpMethod": "POST", +"id": "compute.securityPolicies.patchRule", +"parameterOrder": [ +"project", +"securityPolicy" +], +"parameters": { +"priority": { +"description": "The priority of the rule to patch.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"securityPolicy": { +"description": "Name of the security policy to update.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Indicates fields to be cleared as part of this request.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +}, +"validateOnly": { +"description": "If true, the request will not be committed.", +"location": "query", +"type": "boolean" +} +}, +"path": "projects/{project}/global/securityPolicies/{securityPolicy}/patchRule", +"request": { +"$ref": "SecurityPolicyRule" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"removeRule": { +"description": "Deletes a rule at the specified priority.", +"flatPath": "projects/{project}/global/securityPolicies/{securityPolicy}/removeRule", +"httpMethod": "POST", +"id": "compute.securityPolicies.removeRule", +"parameterOrder": [ +"project", +"securityPolicy" +], +"parameters": { +"priority": { +"description": "The priority of the rule to remove from the security policy.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"securityPolicy": { +"description": "Name of the security policy to update.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/global/securityPolicies/{securityPolicy}/removeRule", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"setLabels": { +"description": "Sets the labels on a security policy. To learn more about labels,\nread the Labeling Resources\ndocumentation.", +"flatPath": "projects/{project}/global/securityPolicies/{resource}/setLabels", +"httpMethod": "POST", +"id": "compute.securityPolicies.setLabels", +"parameterOrder": [ +"project", +"resource" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"resource": { +"description": "Name or id of the resource for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9_]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/global/securityPolicies/{resource}/setLabels", +"request": { +"$ref": "GlobalSetLabelsRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"testIamPermissions": { +"description": "Returns permissions that a caller has on the specified resource.", +"flatPath": "projects/{project}/global/securityPolicies/{resource}/testIamPermissions", +"httpMethod": "POST", +"id": "compute.securityPolicies.testIamPermissions", +"parameterOrder": [ +"project", +"resource" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"resource": { +"description": "Name or id of the resource for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9_]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/global/securityPolicies/{resource}/testIamPermissions", +"request": { +"$ref": "TestPermissionsRequest" +}, +"response": { +"$ref": "TestPermissionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +} +} +}, +"serviceAttachments": { +"methods": { +"aggregatedList": { +"description": "Retrieves the list of all ServiceAttachment resources,\nregional and global, available to the specified project.\n\nTo prevent failure, Google recommends that you set the\n`returnPartialSuccess` parameter to `true`.", +"flatPath": "projects/{project}/aggregated/serviceAttachments", +"httpMethod": "GET", +"id": "compute.serviceAttachments.aggregatedList", +"parameterOrder": [ +"project" +], +"parameters": { +"filter": { +"description": "A filter expression that filters resources listed in the response. Most\nCompute resources support two types of filter expressions:\nexpressions that support regular expressions and expressions that follow\nAPI improvement proposal AIP-160.\nThese two types of filter expressions cannot be mixed in one request.\n\nIf you want to use AIP-160, your expression must specify the field name, an\noperator, and the value that you want to use for filtering. The value\nmust be a string, a number, or a boolean. The operator\nmust be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.\n\nFor example, if you are filtering Compute Engine instances, you can\nexclude instances named `example-instance` by specifying\n`name != example-instance`.\n\nThe `:*` comparison can be used to test whether a key has been defined.\nFor example, to find all objects with `owner` label use:\n```\nlabels.owner:*\n```\n\nYou can also filter nested fields. For example, you could specify\n`scheduling.automaticRestart = false` to include instances only\nif they are not scheduled for automatic restarts. You can use filtering\non nested fields to filter based onresource labels.\n\nTo filter on multiple expressions, provide each separate expression within\nparentheses. For example:\n```\n(scheduling.automaticRestart = true)\n(cpuPlatform = \"Intel Skylake\")\n```\nBy default, each expression is an `AND` expression. However, you\ncan include `AND` and `OR` expressions explicitly.\nFor example:\n```\n(cpuPlatform = \"Intel Skylake\") OR\n(cpuPlatform = \"Intel Broadwell\") AND\n(scheduling.automaticRestart = true)\n```\n\nIf you want to use a regular expression, use the `eq` (equal) or `ne`\n(not equal) operator against a single un-parenthesized expression with or\nwithout quotes or against multiple parenthesized expressions. Examples:\n\n`fieldname eq unquoted literal`\n`fieldname eq 'single quoted literal'`\n`fieldname eq \"double quoted literal\"`\n`(fieldname1 eq literal) (fieldname2 ne \"literal\")`\n\nThe literal value is interpreted as a regular expression using GoogleRE2 library syntax.\nThe literal value must match the entire field.\n\nFor example, to filter for instances that do not end with name \"instance\",\nyou would use `name ne .*instance`.\n\nYou cannot combine constraints on multiple fields using regular\nexpressions.", +"location": "query", +"type": "string" +}, +"includeAllScopes": { +"description": "Indicates whether every visible scope for each scope type (zone, region,\nglobal) should be included in the response. For new resource types added\nafter this field, the flag has no effect as new resource types will always\ninclude every visible scope for each scope type in response. For resource\ntypes which predate this field, if this flag is omitted or false, only\nscopes of the scope types where the resource type is expected to be found\nwill be included.", +"location": "query", +"type": "boolean" +}, +"maxResults": { +"default": "500", +"description": "The maximum number of results per page that should be returned.\nIf the number of available results is larger than `maxResults`,\nCompute Engine returns a `nextPageToken` that can be used to get\nthe next page of results in subsequent list requests. Acceptable values are\n`0` to `500`, inclusive. (Default: `500`)", +"format": "uint32", +"location": "query", +"minimum": "0", +"type": "integer" +}, +"orderBy": { +"description": "Sorts list results by a certain order. By default, results\nare returned in alphanumerical order based on the resource name.\n\nYou can also sort results in descending order based on the creation\ntimestamp using `orderBy=\"creationTimestamp desc\"`. This sorts\nresults based on the `creationTimestamp` field in\nreverse chronological order (newest result first). Use this to sort\nresources like operations so that the newest operation is returned first.\n\nCurrently, only sorting by `name` or\n`creationTimestamp desc` is supported.", +"location": "query", +"type": "string" +}, +"pageToken": { +"description": "Specifies a page token to use. Set `pageToken` to the\n`nextPageToken` returned by a previous list request to get\nthe next page of results.", +"location": "query", +"type": "string" +}, +"project": { +"description": "Name of the project scoping this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"returnPartialSuccess": { +"description": "Opt-in for partial success behavior which provides partial results in case\nof failure. The default value is false.\n\nFor example, when partial success behavior is enabled, aggregatedList for a\nsingle zone scope either returns all resources in the zone or no resources,\nwith an error code.", +"location": "query", +"type": "boolean" +}, +"serviceProjectNumber": { +"description": "The Shared VPC service project id or service project number for which\naggregated list request is invoked for subnetworks list-usable api.", +"format": "int64", +"location": "query", +"type": "string" +} +}, +"path": "projects/{project}/aggregated/serviceAttachments", +"response": { +"$ref": "ServiceAttachmentAggregatedList" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"delete": { +"description": "Deletes the specified ServiceAttachment in the given scope", +"flatPath": "projects/{project}/regions/{region}/serviceAttachments/{serviceAttachment}", +"httpMethod": "DELETE", +"id": "compute.serviceAttachments.delete", +"parameterOrder": [ +"project", +"region", +"serviceAttachment" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "Name of the region of this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"serviceAttachment": { +"description": "Name of the ServiceAttachment resource to delete.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/regions/{region}/serviceAttachments/{serviceAttachment}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"get": { +"description": "Returns the specified ServiceAttachment resource in the given scope.", +"flatPath": "projects/{project}/regions/{region}/serviceAttachments/{serviceAttachment}", +"httpMethod": "GET", +"id": "compute.serviceAttachments.get", +"parameterOrder": [ +"project", +"region", +"serviceAttachment" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "Name of the region of this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +}, +"serviceAttachment": { +"description": "Name of the ServiceAttachment resource to return.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +}, +"showNatIps": { +"description": "Indicates whether NAT IPs should be included in the response.", +"location": "query", +"type": "boolean" +} +}, +"path": "projects/{project}/regions/{region}/serviceAttachments/{serviceAttachment}", +"response": { +"$ref": "ServiceAttachment" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"getIamPolicy": { +"description": "Gets the access control policy for a resource. May be empty if no such\npolicy or resource exists.", +"flatPath": "projects/{project}/regions/{region}/serviceAttachments/{resource}/getIamPolicy", +"httpMethod": "GET", +"id": "compute.serviceAttachments.getIamPolicy", +"parameterOrder": [ +"project", +"region", +"resource" +], +"parameters": { +"optionsRequestedPolicyVersion": { +"description": "Requested IAM Policy version.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "The name of the region for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +}, +"resource": { +"description": "Name or id of the resource for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/regions/{region}/serviceAttachments/{resource}/getIamPolicy", +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"insert": { +"description": "Creates a ServiceAttachment in the specified project in the given scope\nusing the parameters that are included in the request.", +"flatPath": "projects/{project}/regions/{region}/serviceAttachments", +"httpMethod": "POST", +"id": "compute.serviceAttachments.insert", +"parameterOrder": [ +"project", +"region" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "Name of the region of this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "projects/{project}/regions/{region}/serviceAttachments", +"request": { +"$ref": "ServiceAttachment" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"list": { +"description": "Lists the ServiceAttachments for a project in the given scope.", +"flatPath": "projects/{project}/regions/{region}/serviceAttachments", +"httpMethod": "GET", +"id": "compute.serviceAttachments.list", +"parameterOrder": [ +"project", +"region" +], +"parameters": { +"filter": { +"description": "A filter expression that filters resources listed in the response. Most\nCompute resources support two types of filter expressions:\nexpressions that support regular expressions and expressions that follow\nAPI improvement proposal AIP-160.\nThese two types of filter expressions cannot be mixed in one request.\n\nIf you want to use AIP-160, your expression must specify the field name, an\noperator, and the value that you want to use for filtering. The value\nmust be a string, a number, or a boolean. The operator\nmust be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.\n\nFor example, if you are filtering Compute Engine instances, you can\nexclude instances named `example-instance` by specifying\n`name != example-instance`.\n\nThe `:*` comparison can be used to test whether a key has been defined.\nFor example, to find all objects with `owner` label use:\n```\nlabels.owner:*\n```\n\nYou can also filter nested fields. For example, you could specify\n`scheduling.automaticRestart = false` to include instances only\nif they are not scheduled for automatic restarts. You can use filtering\non nested fields to filter based onresource labels.\n\nTo filter on multiple expressions, provide each separate expression within\nparentheses. For example:\n```\n(scheduling.automaticRestart = true)\n(cpuPlatform = \"Intel Skylake\")\n```\nBy default, each expression is an `AND` expression. However, you\ncan include `AND` and `OR` expressions explicitly.\nFor example:\n```\n(cpuPlatform = \"Intel Skylake\") OR\n(cpuPlatform = \"Intel Broadwell\") AND\n(scheduling.automaticRestart = true)\n```\n\nIf you want to use a regular expression, use the `eq` (equal) or `ne`\n(not equal) operator against a single un-parenthesized expression with or\nwithout quotes or against multiple parenthesized expressions. Examples:\n\n`fieldname eq unquoted literal`\n`fieldname eq 'single quoted literal'`\n`fieldname eq \"double quoted literal\"`\n`(fieldname1 eq literal) (fieldname2 ne \"literal\")`\n\nThe literal value is interpreted as a regular expression using GoogleRE2 library syntax.\nThe literal value must match the entire field.\n\nFor example, to filter for instances that do not end with name \"instance\",\nyou would use `name ne .*instance`.\n\nYou cannot combine constraints on multiple fields using regular\nexpressions.", +"location": "query", +"type": "string" +}, +"maxResults": { +"default": "500", +"description": "The maximum number of results per page that should be returned.\nIf the number of available results is larger than `maxResults`,\nCompute Engine returns a `nextPageToken` that can be used to get\nthe next page of results in subsequent list requests. Acceptable values are\n`0` to `500`, inclusive. (Default: `500`)", +"format": "uint32", +"location": "query", +"minimum": "0", +"type": "integer" +}, +"orderBy": { +"description": "Sorts list results by a certain order. By default, results\nare returned in alphanumerical order based on the resource name.\n\nYou can also sort results in descending order based on the creation\ntimestamp using `orderBy=\"creationTimestamp desc\"`. This sorts\nresults based on the `creationTimestamp` field in\nreverse chronological order (newest result first). Use this to sort\nresources like operations so that the newest operation is returned first.\n\nCurrently, only sorting by `name` or\n`creationTimestamp desc` is supported.", +"location": "query", +"type": "string" +}, +"pageToken": { +"description": "Specifies a page token to use. Set `pageToken` to the\n`nextPageToken` returned by a previous list request to get\nthe next page of results.", +"location": "query", +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "Name of the region of this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +}, +"returnPartialSuccess": { +"description": "Opt-in for partial success behavior which provides partial results in case\nof failure. The default value is false.\n\nFor example, when partial success behavior is enabled, aggregatedList for a\nsingle zone scope either returns all resources in the zone or no resources,\nwith an error code.", +"location": "query", +"type": "boolean" +} +}, +"path": "projects/{project}/regions/{region}/serviceAttachments", +"response": { +"$ref": "ServiceAttachmentList" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"patch": { +"description": "Patches the specified ServiceAttachment resource with the data included in\nthe request. This method supports PATCH\nsemantics and usesJSON merge\npatch format and processing rules.", +"flatPath": "projects/{project}/regions/{region}/serviceAttachments/{serviceAttachment}", +"httpMethod": "PATCH", +"id": "compute.serviceAttachments.patch", +"parameterOrder": [ +"project", +"region", +"serviceAttachment" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "The region scoping this request and should conform to RFC1035.", +"location": "path", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"serviceAttachment": { +"description": "The resource id of the ServiceAttachment to patch. It should conform to\nRFC1035 resource name or be a string form on an unsigned long number.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/regions/{region}/serviceAttachments/{serviceAttachment}", +"request": { +"$ref": "ServiceAttachment" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"setIamPolicy": { +"description": "Sets the access control policy on the specified resource.\nReplaces any existing policy.", +"flatPath": "projects/{project}/regions/{region}/serviceAttachments/{resource}/setIamPolicy", +"httpMethod": "POST", +"id": "compute.serviceAttachments.setIamPolicy", +"parameterOrder": [ +"project", +"region", +"resource" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "The name of the region for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +}, +"resource": { +"description": "Name or id of the resource for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/regions/{region}/serviceAttachments/{resource}/setIamPolicy", +"request": { +"$ref": "RegionSetPolicyRequest" +}, +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"testIamPermissions": { +"description": "Returns permissions that a caller has on the specified resource.", +"flatPath": "projects/{project}/regions/{region}/serviceAttachments/{resource}/testIamPermissions", +"httpMethod": "POST", +"id": "compute.serviceAttachments.testIamPermissions", +"parameterOrder": [ +"project", +"region", +"resource" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "The name of the region for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +}, +"resource": { +"description": "Name or id of the resource for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/regions/{region}/serviceAttachments/{resource}/testIamPermissions", +"request": { +"$ref": "TestPermissionsRequest" +}, +"response": { +"$ref": "TestPermissionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +} +} +}, +"snapshotGroups": { +"methods": { +"delete": { +"description": "Deletes the specified SnapshotGroup resource", +"flatPath": "projects/{project}/global/snapshotGroups/{snapshotGroup}", +"httpMethod": "DELETE", +"id": "compute.snapshotGroups.delete", +"parameterOrder": [ +"project", +"snapshotGroup" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"snapshotGroup": { +"description": "Name of the SnapshotGroup resource to delete.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/global/snapshotGroups/{snapshotGroup}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"get": { +"description": "returns the specified SnapshotGroup resource.", +"flatPath": "projects/{project}/global/snapshotGroups/{snapshotGroup}", +"httpMethod": "GET", +"id": "compute.snapshotGroups.get", +"parameterOrder": [ +"project", +"snapshotGroup" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"snapshotGroup": { +"description": "Name of the SnapshotGroup resource to return.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/global/snapshotGroups/{snapshotGroup}", +"response": { +"$ref": "SnapshotGroup" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"getIamPolicy": { +"description": "Gets the access control policy for a resource. May be empty if no such\npolicy or resource exists.", +"flatPath": "projects/{project}/global/snapshotGroups/{resource}/getIamPolicy", +"httpMethod": "GET", +"id": "compute.snapshotGroups.getIamPolicy", +"parameterOrder": [ +"project", +"resource" +], +"parameters": { +"optionsRequestedPolicyVersion": { +"description": "Requested IAM Policy version.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"resource": { +"description": "Name or id of the resource for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9_]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/global/snapshotGroups/{resource}/getIamPolicy", +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"insert": { +"description": "Creates a snapshot group in the specified project using the data included\nin the request.", +"flatPath": "projects/{project}/global/snapshotGroups", +"httpMethod": "POST", +"id": "compute.snapshotGroups.insert", +"parameterOrder": [ +"project" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "projects/{project}/global/snapshotGroups", +"request": { +"$ref": "SnapshotGroup" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"list": { +"description": "retrieves the list of SnapshotGroup resources contained within\nthe specified project.", +"flatPath": "projects/{project}/global/snapshotGroups", +"httpMethod": "GET", +"id": "compute.snapshotGroups.list", +"parameterOrder": [ +"project" +], +"parameters": { +"filter": { +"description": "A filter expression that filters resources listed in the response. Most\nCompute resources support two types of filter expressions:\nexpressions that support regular expressions and expressions that follow\nAPI improvement proposal AIP-160.\nThese two types of filter expressions cannot be mixed in one request.\n\nIf you want to use AIP-160, your expression must specify the field name, an\noperator, and the value that you want to use for filtering. The value\nmust be a string, a number, or a boolean. The operator\nmust be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.\n\nFor example, if you are filtering Compute Engine instances, you can\nexclude instances named `example-instance` by specifying\n`name != example-instance`.\n\nThe `:*` comparison can be used to test whether a key has been defined.\nFor example, to find all objects with `owner` label use:\n```\nlabels.owner:*\n```\n\nYou can also filter nested fields. For example, you could specify\n`scheduling.automaticRestart = false` to include instances only\nif they are not scheduled for automatic restarts. You can use filtering\non nested fields to filter based onresource labels.\n\nTo filter on multiple expressions, provide each separate expression within\nparentheses. For example:\n```\n(scheduling.automaticRestart = true)\n(cpuPlatform = \"Intel Skylake\")\n```\nBy default, each expression is an `AND` expression. However, you\ncan include `AND` and `OR` expressions explicitly.\nFor example:\n```\n(cpuPlatform = \"Intel Skylake\") OR\n(cpuPlatform = \"Intel Broadwell\") AND\n(scheduling.automaticRestart = true)\n```\n\nIf you want to use a regular expression, use the `eq` (equal) or `ne`\n(not equal) operator against a single un-parenthesized expression with or\nwithout quotes or against multiple parenthesized expressions. Examples:\n\n`fieldname eq unquoted literal`\n`fieldname eq 'single quoted literal'`\n`fieldname eq \"double quoted literal\"`\n`(fieldname1 eq literal) (fieldname2 ne \"literal\")`\n\nThe literal value is interpreted as a regular expression using GoogleRE2 library syntax.\nThe literal value must match the entire field.\n\nFor example, to filter for instances that do not end with name \"instance\",\nyou would use `name ne .*instance`.\n\nYou cannot combine constraints on multiple fields using regular\nexpressions.", +"location": "query", +"type": "string" +}, +"maxResults": { +"default": "500", +"description": "The maximum number of results per page that should be returned.\nIf the number of available results is larger than `maxResults`,\nCompute Engine returns a `nextPageToken` that can be used to get\nthe next page of results in subsequent list requests. Acceptable values are\n`0` to `500`, inclusive. (Default: `500`)", +"format": "uint32", +"location": "query", +"minimum": "0", +"type": "integer" +}, +"orderBy": { +"description": "Sorts list results by a certain order. By default, results\nare returned in alphanumerical order based on the resource name.\n\nYou can also sort results in descending order based on the creation\ntimestamp using `orderBy=\"creationTimestamp desc\"`. This sorts\nresults based on the `creationTimestamp` field in\nreverse chronological order (newest result first). Use this to sort\nresources like operations so that the newest operation is returned first.\n\nCurrently, only sorting by `name` or\n`creationTimestamp desc` is supported.", +"location": "query", +"type": "string" +}, +"pageToken": { +"description": "Specifies a page token to use. Set `pageToken` to the\n`nextPageToken` returned by a previous list request to get\nthe next page of results.", +"location": "query", +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"returnPartialSuccess": { +"description": "Opt-in for partial success behavior which provides partial results in case\nof failure. The default value is false.\n\nFor example, when partial success behavior is enabled, aggregatedList for a\nsingle zone scope either returns all resources in the zone or no resources,\nwith an error code.", +"location": "query", +"type": "boolean" +} +}, +"path": "projects/{project}/global/snapshotGroups", +"response": { +"$ref": "ListSnapshotGroups" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"setIamPolicy": { +"description": "Sets the access control policy on the specified resource.\nReplaces any existing policy.", +"flatPath": "projects/{project}/global/snapshotGroups/{resource}/setIamPolicy", +"httpMethod": "POST", +"id": "compute.snapshotGroups.setIamPolicy", +"parameterOrder": [ +"project", +"resource" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"resource": { +"description": "Name or id of the resource for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9_]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/global/snapshotGroups/{resource}/setIamPolicy", +"request": { +"$ref": "GlobalSetPolicyRequest" +}, +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"testIamPermissions": { +"description": "Returns permissions that a caller has on the specified resource.", +"flatPath": "projects/{project}/global/snapshotGroups/{resource}/testIamPermissions", +"httpMethod": "POST", +"id": "compute.snapshotGroups.testIamPermissions", +"parameterOrder": [ +"project", +"resource" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"resource": { +"description": "Name or id of the resource for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9_]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/global/snapshotGroups/{resource}/testIamPermissions", +"request": { +"$ref": "TestPermissionsRequest" +}, +"response": { +"$ref": "TestPermissionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +} +} +}, +"snapshotSettings": { +"methods": { +"get": { +"description": "Get snapshot settings.", +"flatPath": "projects/{project}/global/snapshotSettings", +"httpMethod": "GET", +"id": "compute.snapshotSettings.get", +"parameterOrder": [ +"project" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/global/snapshotSettings", +"response": { +"$ref": "SnapshotSettings" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"patch": { +"description": "Patch snapshot settings.", +"flatPath": "projects/{project}/global/snapshotSettings", +"httpMethod": "PATCH", +"id": "compute.snapshotSettings.patch", +"parameterOrder": [ +"project" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"updateMask": { +"description": "update_mask indicates fields to be updated as part of this request.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "projects/{project}/global/snapshotSettings", +"request": { +"$ref": "SnapshotSettings" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +} +} +}, +"snapshots": { +"methods": { +"aggregatedList": { +"description": "Retrieves an aggregated list of all of the snapshots in your project\nacross all regions and global scope.\n\nTo prevent failure, Google recommends that you set the\n`returnPartialSuccess` parameter to `true`.", +"flatPath": "projects/{project}/aggregated/snapshots", +"httpMethod": "GET", +"id": "compute.snapshots.aggregatedList", +"parameterOrder": [ +"project" +], +"parameters": { +"filter": { +"description": "A filter expression that filters resources listed in the response. Most\nCompute resources support two types of filter expressions:\nexpressions that support regular expressions and expressions that follow\nAPI improvement proposal AIP-160.\nThese two types of filter expressions cannot be mixed in one request.\n\nIf you want to use AIP-160, your expression must specify the field name, an\noperator, and the value that you want to use for filtering. The value\nmust be a string, a number, or a boolean. The operator\nmust be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.\n\nFor example, if you are filtering Compute Engine instances, you can\nexclude instances named `example-instance` by specifying\n`name != example-instance`.\n\nThe `:*` comparison can be used to test whether a key has been defined.\nFor example, to find all objects with `owner` label use:\n```\nlabels.owner:*\n```\n\nYou can also filter nested fields. For example, you could specify\n`scheduling.automaticRestart = false` to include instances only\nif they are not scheduled for automatic restarts. You can use filtering\non nested fields to filter based onresource labels.\n\nTo filter on multiple expressions, provide each separate expression within\nparentheses. For example:\n```\n(scheduling.automaticRestart = true)\n(cpuPlatform = \"Intel Skylake\")\n```\nBy default, each expression is an `AND` expression. However, you\ncan include `AND` and `OR` expressions explicitly.\nFor example:\n```\n(cpuPlatform = \"Intel Skylake\") OR\n(cpuPlatform = \"Intel Broadwell\") AND\n(scheduling.automaticRestart = true)\n```\n\nIf you want to use a regular expression, use the `eq` (equal) or `ne`\n(not equal) operator against a single un-parenthesized expression with or\nwithout quotes or against multiple parenthesized expressions. Examples:\n\n`fieldname eq unquoted literal`\n`fieldname eq 'single quoted literal'`\n`fieldname eq \"double quoted literal\"`\n`(fieldname1 eq literal) (fieldname2 ne \"literal\")`\n\nThe literal value is interpreted as a regular expression using GoogleRE2 library syntax.\nThe literal value must match the entire field.\n\nFor example, to filter for instances that do not end with name \"instance\",\nyou would use `name ne .*instance`.\n\nYou cannot combine constraints on multiple fields using regular\nexpressions.", +"location": "query", +"type": "string" +}, +"includeAllScopes": { +"description": "Indicates whether every visible scope for each scope type (zone, region,\nglobal) should be included in the response. For new resource types added\nafter this field, the flag has no effect as new resource types will always\ninclude every visible scope for each scope type in response. For resource\ntypes which predate this field, if this flag is omitted or false, only\nscopes of the scope types where the resource type is expected to be found\nwill be included.", +"location": "query", +"type": "boolean" +}, +"maxResults": { +"default": "500", +"description": "The maximum number of results per page that should be returned.\nIf the number of available results is larger than `maxResults`,\nCompute Engine returns a `nextPageToken` that can be used to get\nthe next page of results in subsequent list requests. Acceptable values are\n`0` to `500`, inclusive. (Default: `500`)", +"format": "uint32", +"location": "query", +"minimum": "0", +"type": "integer" +}, +"orderBy": { +"description": "Sorts list results by a certain order. By default, results\nare returned in alphanumerical order based on the resource name.\n\nYou can also sort results in descending order based on the creation\ntimestamp using `orderBy=\"creationTimestamp desc\"`. This sorts\nresults based on the `creationTimestamp` field in\nreverse chronological order (newest result first). Use this to sort\nresources like operations so that the newest operation is returned first.\n\nCurrently, only sorting by `name` or\n`creationTimestamp desc` is supported.", +"location": "query", +"type": "string" +}, +"pageToken": { +"description": "Specifies a page token to use. Set `pageToken` to the\n`nextPageToken` returned by a previous list request to get\nthe next page of results.", +"location": "query", +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"returnPartialSuccess": { +"description": "Opt-in for partial success behavior which provides partial results in case\nof failure. The default value is false.\n\nFor example, when partial success behavior is enabled, aggregatedList for a\nsingle zone scope either returns all resources in the zone or no resources,\nwith an error code.", +"location": "query", +"type": "boolean" +}, +"serviceProjectNumber": { +"description": "The Shared VPC service project id or service project number for which\naggregated list request is invoked for subnetworks list-usable api.", +"format": "int64", +"location": "query", +"type": "string" +} +}, +"path": "projects/{project}/aggregated/snapshots", +"response": { +"$ref": "SnapshotAggregatedList" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"delete": { +"description": "Deletes the specified Snapshot resource. Keep in mind that deleting\na single snapshot might not necessarily delete all the data on that\nsnapshot. If any data on the snapshot that is marked for deletion is\nneeded for subsequent snapshots, the data will be moved to the next\ncorresponding snapshot.\n\nFor more information, seeDeleting\nsnapshots.", +"flatPath": "projects/{project}/global/snapshots/{snapshot}", +"httpMethod": "DELETE", +"id": "compute.snapshots.delete", +"parameterOrder": [ +"project", +"snapshot" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"snapshot": { +"description": "Name of the Snapshot resource to delete.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/global/snapshots/{snapshot}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"get": { +"description": "Returns the specified Snapshot resource.", +"flatPath": "projects/{project}/global/snapshots/{snapshot}", +"httpMethod": "GET", +"id": "compute.snapshots.get", +"parameterOrder": [ +"project", +"snapshot" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"snapshot": { +"description": "Name of the Snapshot resource to return.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/global/snapshots/{snapshot}", +"response": { +"$ref": "Snapshot" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"getIamPolicy": { +"description": "Gets the access control policy for a resource. May be empty if no such\npolicy or resource exists.", +"flatPath": "projects/{project}/global/snapshots/{resource}/getIamPolicy", +"httpMethod": "GET", +"id": "compute.snapshots.getIamPolicy", +"parameterOrder": [ +"project", +"resource" +], +"parameters": { +"optionsRequestedPolicyVersion": { +"description": "Requested IAM Policy version.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"resource": { +"description": "Name or id of the resource for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9_]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/global/snapshots/{resource}/getIamPolicy", +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"insert": { +"description": "Creates a snapshot in the specified project using the data included\nin the request. For regular snapshot creation, consider using this method\ninstead of disks.createSnapshot,\nas this method supports more features, such as creating snapshots in a\nproject different from the source disk project.", +"flatPath": "projects/{project}/global/snapshots", +"httpMethod": "POST", +"id": "compute.snapshots.insert", +"parameterOrder": [ +"project" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "projects/{project}/global/snapshots", +"request": { +"$ref": "Snapshot" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"list": { +"description": "Retrieves the list of Snapshot resources contained within\nthe specified project.", +"flatPath": "projects/{project}/global/snapshots", +"httpMethod": "GET", +"id": "compute.snapshots.list", +"parameterOrder": [ +"project" +], +"parameters": { +"filter": { +"description": "A filter expression that filters resources listed in the response. Most\nCompute resources support two types of filter expressions:\nexpressions that support regular expressions and expressions that follow\nAPI improvement proposal AIP-160.\nThese two types of filter expressions cannot be mixed in one request.\n\nIf you want to use AIP-160, your expression must specify the field name, an\noperator, and the value that you want to use for filtering. The value\nmust be a string, a number, or a boolean. The operator\nmust be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.\n\nFor example, if you are filtering Compute Engine instances, you can\nexclude instances named `example-instance` by specifying\n`name != example-instance`.\n\nThe `:*` comparison can be used to test whether a key has been defined.\nFor example, to find all objects with `owner` label use:\n```\nlabels.owner:*\n```\n\nYou can also filter nested fields. For example, you could specify\n`scheduling.automaticRestart = false` to include instances only\nif they are not scheduled for automatic restarts. You can use filtering\non nested fields to filter based onresource labels.\n\nTo filter on multiple expressions, provide each separate expression within\nparentheses. For example:\n```\n(scheduling.automaticRestart = true)\n(cpuPlatform = \"Intel Skylake\")\n```\nBy default, each expression is an `AND` expression. However, you\ncan include `AND` and `OR` expressions explicitly.\nFor example:\n```\n(cpuPlatform = \"Intel Skylake\") OR\n(cpuPlatform = \"Intel Broadwell\") AND\n(scheduling.automaticRestart = true)\n```\n\nIf you want to use a regular expression, use the `eq` (equal) or `ne`\n(not equal) operator against a single un-parenthesized expression with or\nwithout quotes or against multiple parenthesized expressions. Examples:\n\n`fieldname eq unquoted literal`\n`fieldname eq 'single quoted literal'`\n`fieldname eq \"double quoted literal\"`\n`(fieldname1 eq literal) (fieldname2 ne \"literal\")`\n\nThe literal value is interpreted as a regular expression using GoogleRE2 library syntax.\nThe literal value must match the entire field.\n\nFor example, to filter for instances that do not end with name \"instance\",\nyou would use `name ne .*instance`.\n\nYou cannot combine constraints on multiple fields using regular\nexpressions.", +"location": "query", +"type": "string" +}, +"maxResults": { +"default": "500", +"description": "The maximum number of results per page that should be returned.\nIf the number of available results is larger than `maxResults`,\nCompute Engine returns a `nextPageToken` that can be used to get\nthe next page of results in subsequent list requests. Acceptable values are\n`0` to `500`, inclusive. (Default: `500`)", +"format": "uint32", +"location": "query", +"minimum": "0", +"type": "integer" +}, +"orderBy": { +"description": "Sorts list results by a certain order. By default, results\nare returned in alphanumerical order based on the resource name.\n\nYou can also sort results in descending order based on the creation\ntimestamp using `orderBy=\"creationTimestamp desc\"`. This sorts\nresults based on the `creationTimestamp` field in\nreverse chronological order (newest result first). Use this to sort\nresources like operations so that the newest operation is returned first.\n\nCurrently, only sorting by `name` or\n`creationTimestamp desc` is supported.", +"location": "query", +"type": "string" +}, +"pageToken": { +"description": "Specifies a page token to use. Set `pageToken` to the\n`nextPageToken` returned by a previous list request to get\nthe next page of results.", +"location": "query", +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"returnPartialSuccess": { +"description": "Opt-in for partial success behavior which provides partial results in case\nof failure. The default value is false.\n\nFor example, when partial success behavior is enabled, aggregatedList for a\nsingle zone scope either returns all resources in the zone or no resources,\nwith an error code.", +"location": "query", +"type": "boolean" +} +}, +"path": "projects/{project}/global/snapshots", +"response": { +"$ref": "SnapshotList" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"setIamPolicy": { +"description": "Sets the access control policy on the specified resource.\nReplaces any existing policy.", +"flatPath": "projects/{project}/global/snapshots/{resource}/setIamPolicy", +"httpMethod": "POST", +"id": "compute.snapshots.setIamPolicy", +"parameterOrder": [ +"project", +"resource" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"resource": { +"description": "Name or id of the resource for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9_]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/global/snapshots/{resource}/setIamPolicy", +"request": { +"$ref": "GlobalSetPolicyRequest" +}, +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"setLabels": { +"description": "Sets the labels on a snapshot. To learn more about labels, read theLabeling\nResources documentation.", +"flatPath": "projects/{project}/global/snapshots/{resource}/setLabels", +"httpMethod": "POST", +"id": "compute.snapshots.setLabels", +"parameterOrder": [ +"project", +"resource" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"resource": { +"description": "Name or id of the resource for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9_]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/global/snapshots/{resource}/setLabels", +"request": { +"$ref": "GlobalSetLabelsRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"testIamPermissions": { +"description": "Returns permissions that a caller has on the specified resource.", +"flatPath": "projects/{project}/global/snapshots/{resource}/testIamPermissions", +"httpMethod": "POST", +"id": "compute.snapshots.testIamPermissions", +"parameterOrder": [ +"project", +"resource" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"resource": { +"description": "Name or id of the resource for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9_]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/global/snapshots/{resource}/testIamPermissions", +"request": { +"$ref": "TestPermissionsRequest" +}, +"response": { +"$ref": "TestPermissionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +} +} +}, +"sslCertificates": { +"methods": { +"aggregatedList": { +"description": "Retrieves the list of all SslCertificate resources, regional and global,\navailable to the specified project.\n\nTo prevent failure, Google recommends that you set the\n`returnPartialSuccess` parameter to `true`.", +"flatPath": "projects/{project}/aggregated/sslCertificates", +"httpMethod": "GET", +"id": "compute.sslCertificates.aggregatedList", +"parameterOrder": [ +"project" +], +"parameters": { +"filter": { +"description": "A filter expression that filters resources listed in the response. Most\nCompute resources support two types of filter expressions:\nexpressions that support regular expressions and expressions that follow\nAPI improvement proposal AIP-160.\nThese two types of filter expressions cannot be mixed in one request.\n\nIf you want to use AIP-160, your expression must specify the field name, an\noperator, and the value that you want to use for filtering. The value\nmust be a string, a number, or a boolean. The operator\nmust be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.\n\nFor example, if you are filtering Compute Engine instances, you can\nexclude instances named `example-instance` by specifying\n`name != example-instance`.\n\nThe `:*` comparison can be used to test whether a key has been defined.\nFor example, to find all objects with `owner` label use:\n```\nlabels.owner:*\n```\n\nYou can also filter nested fields. For example, you could specify\n`scheduling.automaticRestart = false` to include instances only\nif they are not scheduled for automatic restarts. You can use filtering\non nested fields to filter based onresource labels.\n\nTo filter on multiple expressions, provide each separate expression within\nparentheses. For example:\n```\n(scheduling.automaticRestart = true)\n(cpuPlatform = \"Intel Skylake\")\n```\nBy default, each expression is an `AND` expression. However, you\ncan include `AND` and `OR` expressions explicitly.\nFor example:\n```\n(cpuPlatform = \"Intel Skylake\") OR\n(cpuPlatform = \"Intel Broadwell\") AND\n(scheduling.automaticRestart = true)\n```\n\nIf you want to use a regular expression, use the `eq` (equal) or `ne`\n(not equal) operator against a single un-parenthesized expression with or\nwithout quotes or against multiple parenthesized expressions. Examples:\n\n`fieldname eq unquoted literal`\n`fieldname eq 'single quoted literal'`\n`fieldname eq \"double quoted literal\"`\n`(fieldname1 eq literal) (fieldname2 ne \"literal\")`\n\nThe literal value is interpreted as a regular expression using GoogleRE2 library syntax.\nThe literal value must match the entire field.\n\nFor example, to filter for instances that do not end with name \"instance\",\nyou would use `name ne .*instance`.\n\nYou cannot combine constraints on multiple fields using regular\nexpressions.", +"location": "query", +"type": "string" +}, +"includeAllScopes": { +"description": "Indicates whether every visible scope for each scope type (zone, region,\nglobal) should be included in the response. For new resource types added\nafter this field, the flag has no effect as new resource types will always\ninclude every visible scope for each scope type in response. For resource\ntypes which predate this field, if this flag is omitted or false, only\nscopes of the scope types where the resource type is expected to be found\nwill be included.", +"location": "query", +"type": "boolean" +}, +"maxResults": { +"default": "500", +"description": "The maximum number of results per page that should be returned.\nIf the number of available results is larger than `maxResults`,\nCompute Engine returns a `nextPageToken` that can be used to get\nthe next page of results in subsequent list requests. Acceptable values are\n`0` to `500`, inclusive. (Default: `500`)", +"format": "uint32", +"location": "query", +"minimum": "0", +"type": "integer" +}, +"orderBy": { +"description": "Sorts list results by a certain order. By default, results\nare returned in alphanumerical order based on the resource name.\n\nYou can also sort results in descending order based on the creation\ntimestamp using `orderBy=\"creationTimestamp desc\"`. This sorts\nresults based on the `creationTimestamp` field in\nreverse chronological order (newest result first). Use this to sort\nresources like operations so that the newest operation is returned first.\n\nCurrently, only sorting by `name` or\n`creationTimestamp desc` is supported.", +"location": "query", +"type": "string" +}, +"pageToken": { +"description": "Specifies a page token to use. Set `pageToken` to the\n`nextPageToken` returned by a previous list request to get\nthe next page of results.", +"location": "query", +"type": "string" +}, +"project": { +"description": "Name of the project scoping this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"returnPartialSuccess": { +"description": "Opt-in for partial success behavior which provides partial results in case\nof failure. The default value is false.\n\nFor example, when partial success behavior is enabled, aggregatedList for a\nsingle zone scope either returns all resources in the zone or no resources,\nwith an error code.", +"location": "query", +"type": "boolean" +}, +"serviceProjectNumber": { +"description": "The Shared VPC service project id or service project number for which\naggregated list request is invoked for subnetworks list-usable api.", +"format": "int64", +"location": "query", +"type": "string" +} +}, +"path": "projects/{project}/aggregated/sslCertificates", +"response": { +"$ref": "SslCertificateAggregatedList" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"delete": { +"description": "Deletes the specified SslCertificate resource.", +"flatPath": "projects/{project}/global/sslCertificates/{sslCertificate}", +"httpMethod": "DELETE", +"id": "compute.sslCertificates.delete", +"parameterOrder": [ +"project", +"sslCertificate" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"sslCertificate": { +"description": "Name of the SslCertificate resource to delete.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/global/sslCertificates/{sslCertificate}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"get": { +"description": "Returns the specified SslCertificate resource.", +"flatPath": "projects/{project}/global/sslCertificates/{sslCertificate}", +"httpMethod": "GET", +"id": "compute.sslCertificates.get", +"parameterOrder": [ +"project", +"sslCertificate" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"sslCertificate": { +"description": "Name of the SslCertificate resource to return.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/global/sslCertificates/{sslCertificate}", +"response": { +"$ref": "SslCertificate" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"insert": { +"description": "Creates a SslCertificate resource in the specified project using the data\nincluded in the request.", +"flatPath": "projects/{project}/global/sslCertificates", +"httpMethod": "POST", +"id": "compute.sslCertificates.insert", +"parameterOrder": [ +"project" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "projects/{project}/global/sslCertificates", +"request": { +"$ref": "SslCertificate" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"list": { +"description": "Retrieves the list of SslCertificate resources available to the specified\nproject.", +"flatPath": "projects/{project}/global/sslCertificates", +"httpMethod": "GET", +"id": "compute.sslCertificates.list", +"parameterOrder": [ +"project" +], +"parameters": { +"filter": { +"description": "A filter expression that filters resources listed in the response. Most\nCompute resources support two types of filter expressions:\nexpressions that support regular expressions and expressions that follow\nAPI improvement proposal AIP-160.\nThese two types of filter expressions cannot be mixed in one request.\n\nIf you want to use AIP-160, your expression must specify the field name, an\noperator, and the value that you want to use for filtering. The value\nmust be a string, a number, or a boolean. The operator\nmust be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.\n\nFor example, if you are filtering Compute Engine instances, you can\nexclude instances named `example-instance` by specifying\n`name != example-instance`.\n\nThe `:*` comparison can be used to test whether a key has been defined.\nFor example, to find all objects with `owner` label use:\n```\nlabels.owner:*\n```\n\nYou can also filter nested fields. For example, you could specify\n`scheduling.automaticRestart = false` to include instances only\nif they are not scheduled for automatic restarts. You can use filtering\non nested fields to filter based onresource labels.\n\nTo filter on multiple expressions, provide each separate expression within\nparentheses. For example:\n```\n(scheduling.automaticRestart = true)\n(cpuPlatform = \"Intel Skylake\")\n```\nBy default, each expression is an `AND` expression. However, you\ncan include `AND` and `OR` expressions explicitly.\nFor example:\n```\n(cpuPlatform = \"Intel Skylake\") OR\n(cpuPlatform = \"Intel Broadwell\") AND\n(scheduling.automaticRestart = true)\n```\n\nIf you want to use a regular expression, use the `eq` (equal) or `ne`\n(not equal) operator against a single un-parenthesized expression with or\nwithout quotes or against multiple parenthesized expressions. Examples:\n\n`fieldname eq unquoted literal`\n`fieldname eq 'single quoted literal'`\n`fieldname eq \"double quoted literal\"`\n`(fieldname1 eq literal) (fieldname2 ne \"literal\")`\n\nThe literal value is interpreted as a regular expression using GoogleRE2 library syntax.\nThe literal value must match the entire field.\n\nFor example, to filter for instances that do not end with name \"instance\",\nyou would use `name ne .*instance`.\n\nYou cannot combine constraints on multiple fields using regular\nexpressions.", +"location": "query", +"type": "string" +}, +"maxResults": { +"default": "500", +"description": "The maximum number of results per page that should be returned.\nIf the number of available results is larger than `maxResults`,\nCompute Engine returns a `nextPageToken` that can be used to get\nthe next page of results in subsequent list requests. Acceptable values are\n`0` to `500`, inclusive. (Default: `500`)", +"format": "uint32", +"location": "query", +"minimum": "0", +"type": "integer" +}, +"orderBy": { +"description": "Sorts list results by a certain order. By default, results\nare returned in alphanumerical order based on the resource name.\n\nYou can also sort results in descending order based on the creation\ntimestamp using `orderBy=\"creationTimestamp desc\"`. This sorts\nresults based on the `creationTimestamp` field in\nreverse chronological order (newest result first). Use this to sort\nresources like operations so that the newest operation is returned first.\n\nCurrently, only sorting by `name` or\n`creationTimestamp desc` is supported.", +"location": "query", +"type": "string" +}, +"pageToken": { +"description": "Specifies a page token to use. Set `pageToken` to the\n`nextPageToken` returned by a previous list request to get\nthe next page of results.", +"location": "query", +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"returnPartialSuccess": { +"description": "Opt-in for partial success behavior which provides partial results in case\nof failure. The default value is false.\n\nFor example, when partial success behavior is enabled, aggregatedList for a\nsingle zone scope either returns all resources in the zone or no resources,\nwith an error code.", +"location": "query", +"type": "boolean" +} +}, +"path": "projects/{project}/global/sslCertificates", +"response": { +"$ref": "SslCertificateList" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"testIamPermissions": { +"description": "Returns permissions that a caller has on the specified resource.", +"flatPath": "projects/{project}/global/sslCertificates/{resource}/testIamPermissions", +"httpMethod": "POST", +"id": "compute.sslCertificates.testIamPermissions", +"parameterOrder": [ +"project", +"resource" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"resource": { +"description": "Name or id of the resource for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9_]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/global/sslCertificates/{resource}/testIamPermissions", +"request": { +"$ref": "TestPermissionsRequest" +}, +"response": { +"$ref": "TestPermissionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +} +} +}, +"sslPolicies": { +"methods": { +"aggregatedList": { +"description": "Retrieves the list of all SslPolicy resources, regional and global,\navailable to the specified project.\n\nTo prevent failure, Google recommends that you set the\n`returnPartialSuccess` parameter to `true`.", +"flatPath": "projects/{project}/aggregated/sslPolicies", +"httpMethod": "GET", +"id": "compute.sslPolicies.aggregatedList", +"parameterOrder": [ +"project" +], +"parameters": { +"filter": { +"description": "A filter expression that filters resources listed in the response. Most\nCompute resources support two types of filter expressions:\nexpressions that support regular expressions and expressions that follow\nAPI improvement proposal AIP-160.\nThese two types of filter expressions cannot be mixed in one request.\n\nIf you want to use AIP-160, your expression must specify the field name, an\noperator, and the value that you want to use for filtering. The value\nmust be a string, a number, or a boolean. The operator\nmust be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.\n\nFor example, if you are filtering Compute Engine instances, you can\nexclude instances named `example-instance` by specifying\n`name != example-instance`.\n\nThe `:*` comparison can be used to test whether a key has been defined.\nFor example, to find all objects with `owner` label use:\n```\nlabels.owner:*\n```\n\nYou can also filter nested fields. For example, you could specify\n`scheduling.automaticRestart = false` to include instances only\nif they are not scheduled for automatic restarts. You can use filtering\non nested fields to filter based onresource labels.\n\nTo filter on multiple expressions, provide each separate expression within\nparentheses. For example:\n```\n(scheduling.automaticRestart = true)\n(cpuPlatform = \"Intel Skylake\")\n```\nBy default, each expression is an `AND` expression. However, you\ncan include `AND` and `OR` expressions explicitly.\nFor example:\n```\n(cpuPlatform = \"Intel Skylake\") OR\n(cpuPlatform = \"Intel Broadwell\") AND\n(scheduling.automaticRestart = true)\n```\n\nIf you want to use a regular expression, use the `eq` (equal) or `ne`\n(not equal) operator against a single un-parenthesized expression with or\nwithout quotes or against multiple parenthesized expressions. Examples:\n\n`fieldname eq unquoted literal`\n`fieldname eq 'single quoted literal'`\n`fieldname eq \"double quoted literal\"`\n`(fieldname1 eq literal) (fieldname2 ne \"literal\")`\n\nThe literal value is interpreted as a regular expression using GoogleRE2 library syntax.\nThe literal value must match the entire field.\n\nFor example, to filter for instances that do not end with name \"instance\",\nyou would use `name ne .*instance`.\n\nYou cannot combine constraints on multiple fields using regular\nexpressions.", +"location": "query", +"type": "string" +}, +"includeAllScopes": { +"description": "Indicates whether every visible scope for each scope type (zone, region,\nglobal) should be included in the response. For new resource types added\nafter this field, the flag has no effect as new resource types will always\ninclude every visible scope for each scope type in response. For resource\ntypes which predate this field, if this flag is omitted or false, only\nscopes of the scope types where the resource type is expected to be found\nwill be included.", +"location": "query", +"type": "boolean" +}, +"maxResults": { +"default": "500", +"description": "The maximum number of results per page that should be returned.\nIf the number of available results is larger than `maxResults`,\nCompute Engine returns a `nextPageToken` that can be used to get\nthe next page of results in subsequent list requests. Acceptable values are\n`0` to `500`, inclusive. (Default: `500`)", +"format": "uint32", +"location": "query", +"minimum": "0", +"type": "integer" +}, +"orderBy": { +"description": "Sorts list results by a certain order. By default, results\nare returned in alphanumerical order based on the resource name.\n\nYou can also sort results in descending order based on the creation\ntimestamp using `orderBy=\"creationTimestamp desc\"`. This sorts\nresults based on the `creationTimestamp` field in\nreverse chronological order (newest result first). Use this to sort\nresources like operations so that the newest operation is returned first.\n\nCurrently, only sorting by `name` or\n`creationTimestamp desc` is supported.", +"location": "query", +"type": "string" +}, +"pageToken": { +"description": "Specifies a page token to use. Set `pageToken` to the\n`nextPageToken` returned by a previous list request to get\nthe next page of results.", +"location": "query", +"type": "string" +}, +"project": { +"description": "Name of the project scoping this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"returnPartialSuccess": { +"description": "Opt-in for partial success behavior which provides partial results in case\nof failure. The default value is false.\n\nFor example, when partial success behavior is enabled, aggregatedList for a\nsingle zone scope either returns all resources in the zone or no resources,\nwith an error code.", +"location": "query", +"type": "boolean" +}, +"serviceProjectNumber": { +"description": "The Shared VPC service project id or service project number for which\naggregated list request is invoked for subnetworks list-usable api.", +"format": "int64", +"location": "query", +"type": "string" +} +}, +"path": "projects/{project}/aggregated/sslPolicies", +"response": { +"$ref": "SslPoliciesAggregatedList" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"delete": { +"description": "Deletes the specified SSL policy. The SSL policy resource can be deleted\nonly if it is not in use by any TargetHttpsProxy or TargetSslProxy\nresources.", +"flatPath": "projects/{project}/global/sslPolicies/{sslPolicy}", +"httpMethod": "DELETE", +"id": "compute.sslPolicies.delete", +"parameterOrder": [ +"project", +"sslPolicy" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"sslPolicy": { +"description": "Name of the SSL policy to delete. The name must be 1-63 characters long,\nand comply with RFC1035.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/global/sslPolicies/{sslPolicy}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"get": { +"description": "Lists all of the ordered rules present in a single specified policy.", +"flatPath": "projects/{project}/global/sslPolicies/{sslPolicy}", +"httpMethod": "GET", +"id": "compute.sslPolicies.get", +"parameterOrder": [ +"project", +"sslPolicy" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"sslPolicy": { +"description": "Name of the SSL policy to update. The name must be 1-63 characters long,\nand comply with RFC1035.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/global/sslPolicies/{sslPolicy}", +"response": { +"$ref": "SslPolicy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"insert": { +"description": "Returns the specified SSL policy resource.", +"flatPath": "projects/{project}/global/sslPolicies", +"httpMethod": "POST", +"id": "compute.sslPolicies.insert", +"parameterOrder": [ +"project" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "projects/{project}/global/sslPolicies", +"request": { +"$ref": "SslPolicy" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"list": { +"description": "Lists all the SSL policies that have been configured for the specified\nproject.", +"flatPath": "projects/{project}/global/sslPolicies", +"httpMethod": "GET", +"id": "compute.sslPolicies.list", +"parameterOrder": [ +"project" +], +"parameters": { +"filter": { +"description": "A filter expression that filters resources listed in the response. Most\nCompute resources support two types of filter expressions:\nexpressions that support regular expressions and expressions that follow\nAPI improvement proposal AIP-160.\nThese two types of filter expressions cannot be mixed in one request.\n\nIf you want to use AIP-160, your expression must specify the field name, an\noperator, and the value that you want to use for filtering. The value\nmust be a string, a number, or a boolean. The operator\nmust be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.\n\nFor example, if you are filtering Compute Engine instances, you can\nexclude instances named `example-instance` by specifying\n`name != example-instance`.\n\nThe `:*` comparison can be used to test whether a key has been defined.\nFor example, to find all objects with `owner` label use:\n```\nlabels.owner:*\n```\n\nYou can also filter nested fields. For example, you could specify\n`scheduling.automaticRestart = false` to include instances only\nif they are not scheduled for automatic restarts. You can use filtering\non nested fields to filter based onresource labels.\n\nTo filter on multiple expressions, provide each separate expression within\nparentheses. For example:\n```\n(scheduling.automaticRestart = true)\n(cpuPlatform = \"Intel Skylake\")\n```\nBy default, each expression is an `AND` expression. However, you\ncan include `AND` and `OR` expressions explicitly.\nFor example:\n```\n(cpuPlatform = \"Intel Skylake\") OR\n(cpuPlatform = \"Intel Broadwell\") AND\n(scheduling.automaticRestart = true)\n```\n\nIf you want to use a regular expression, use the `eq` (equal) or `ne`\n(not equal) operator against a single un-parenthesized expression with or\nwithout quotes or against multiple parenthesized expressions. Examples:\n\n`fieldname eq unquoted literal`\n`fieldname eq 'single quoted literal'`\n`fieldname eq \"double quoted literal\"`\n`(fieldname1 eq literal) (fieldname2 ne \"literal\")`\n\nThe literal value is interpreted as a regular expression using GoogleRE2 library syntax.\nThe literal value must match the entire field.\n\nFor example, to filter for instances that do not end with name \"instance\",\nyou would use `name ne .*instance`.\n\nYou cannot combine constraints on multiple fields using regular\nexpressions.", +"location": "query", +"type": "string" +}, +"maxResults": { +"default": "500", +"description": "The maximum number of results per page that should be returned.\nIf the number of available results is larger than `maxResults`,\nCompute Engine returns a `nextPageToken` that can be used to get\nthe next page of results in subsequent list requests. Acceptable values are\n`0` to `500`, inclusive. (Default: `500`)", +"format": "uint32", +"location": "query", +"minimum": "0", +"type": "integer" +}, +"orderBy": { +"description": "Sorts list results by a certain order. By default, results\nare returned in alphanumerical order based on the resource name.\n\nYou can also sort results in descending order based on the creation\ntimestamp using `orderBy=\"creationTimestamp desc\"`. This sorts\nresults based on the `creationTimestamp` field in\nreverse chronological order (newest result first). Use this to sort\nresources like operations so that the newest operation is returned first.\n\nCurrently, only sorting by `name` or\n`creationTimestamp desc` is supported.", +"location": "query", +"type": "string" +}, +"pageToken": { +"description": "Specifies a page token to use. Set `pageToken` to the\n`nextPageToken` returned by a previous list request to get\nthe next page of results.", +"location": "query", +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"returnPartialSuccess": { +"description": "Opt-in for partial success behavior which provides partial results in case\nof failure. The default value is false.\n\nFor example, when partial success behavior is enabled, aggregatedList for a\nsingle zone scope either returns all resources in the zone or no resources,\nwith an error code.", +"location": "query", +"type": "boolean" +} +}, +"path": "projects/{project}/global/sslPolicies", +"response": { +"$ref": "SslPoliciesList" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"listAvailableFeatures": { +"description": "Lists all features that can be specified in the SSL policy when using\ncustom profile.", +"flatPath": "projects/{project}/global/sslPolicies/listAvailableFeatures", +"httpMethod": "GET", +"id": "compute.sslPolicies.listAvailableFeatures", +"parameterOrder": [ +"project" +], +"parameters": { +"filter": { +"description": "A filter expression that filters resources listed in the response. Most\nCompute resources support two types of filter expressions:\nexpressions that support regular expressions and expressions that follow\nAPI improvement proposal AIP-160.\nThese two types of filter expressions cannot be mixed in one request.\n\nIf you want to use AIP-160, your expression must specify the field name, an\noperator, and the value that you want to use for filtering. The value\nmust be a string, a number, or a boolean. The operator\nmust be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.\n\nFor example, if you are filtering Compute Engine instances, you can\nexclude instances named `example-instance` by specifying\n`name != example-instance`.\n\nThe `:*` comparison can be used to test whether a key has been defined.\nFor example, to find all objects with `owner` label use:\n```\nlabels.owner:*\n```\n\nYou can also filter nested fields. For example, you could specify\n`scheduling.automaticRestart = false` to include instances only\nif they are not scheduled for automatic restarts. You can use filtering\non nested fields to filter based onresource labels.\n\nTo filter on multiple expressions, provide each separate expression within\nparentheses. For example:\n```\n(scheduling.automaticRestart = true)\n(cpuPlatform = \"Intel Skylake\")\n```\nBy default, each expression is an `AND` expression. However, you\ncan include `AND` and `OR` expressions explicitly.\nFor example:\n```\n(cpuPlatform = \"Intel Skylake\") OR\n(cpuPlatform = \"Intel Broadwell\") AND\n(scheduling.automaticRestart = true)\n```\n\nIf you want to use a regular expression, use the `eq` (equal) or `ne`\n(not equal) operator against a single un-parenthesized expression with or\nwithout quotes or against multiple parenthesized expressions. Examples:\n\n`fieldname eq unquoted literal`\n`fieldname eq 'single quoted literal'`\n`fieldname eq \"double quoted literal\"`\n`(fieldname1 eq literal) (fieldname2 ne \"literal\")`\n\nThe literal value is interpreted as a regular expression using GoogleRE2 library syntax.\nThe literal value must match the entire field.\n\nFor example, to filter for instances that do not end with name \"instance\",\nyou would use `name ne .*instance`.\n\nYou cannot combine constraints on multiple fields using regular\nexpressions.", +"location": "query", +"type": "string" +}, +"maxResults": { +"default": "500", +"description": "The maximum number of results per page that should be returned.\nIf the number of available results is larger than `maxResults`,\nCompute Engine returns a `nextPageToken` that can be used to get\nthe next page of results in subsequent list requests. Acceptable values are\n`0` to `500`, inclusive. (Default: `500`)", +"format": "uint32", +"location": "query", +"minimum": "0", +"type": "integer" +}, +"orderBy": { +"description": "Sorts list results by a certain order. By default, results\nare returned in alphanumerical order based on the resource name.\n\nYou can also sort results in descending order based on the creation\ntimestamp using `orderBy=\"creationTimestamp desc\"`. This sorts\nresults based on the `creationTimestamp` field in\nreverse chronological order (newest result first). Use this to sort\nresources like operations so that the newest operation is returned first.\n\nCurrently, only sorting by `name` or\n`creationTimestamp desc` is supported.", +"location": "query", +"type": "string" +}, +"pageToken": { +"description": "Specifies a page token to use. Set `pageToken` to the\n`nextPageToken` returned by a previous list request to get\nthe next page of results.", +"location": "query", +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"returnPartialSuccess": { +"description": "Opt-in for partial success behavior which provides partial results in case\nof failure. The default value is false.\n\nFor example, when partial success behavior is enabled, aggregatedList for a\nsingle zone scope either returns all resources in the zone or no resources,\nwith an error code.", +"location": "query", +"type": "boolean" +} +}, +"path": "projects/{project}/global/sslPolicies/listAvailableFeatures", +"response": { +"$ref": "SslPoliciesListAvailableFeaturesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"patch": { +"description": "Patches the specified SSL policy with the data included in the request.", +"flatPath": "projects/{project}/global/sslPolicies/{sslPolicy}", +"httpMethod": "PATCH", +"id": "compute.sslPolicies.patch", +"parameterOrder": [ +"project", +"sslPolicy" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"sslPolicy": { +"description": "Name of the SSL policy to update. The name must be 1-63 characters long,\nand comply with RFC1035.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/global/sslPolicies/{sslPolicy}", +"request": { +"$ref": "SslPolicy" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"testIamPermissions": { +"description": "Returns permissions that a caller has on the specified resource.", +"flatPath": "projects/{project}/global/sslPolicies/{resource}/testIamPermissions", +"httpMethod": "POST", +"id": "compute.sslPolicies.testIamPermissions", +"parameterOrder": [ +"project", +"resource" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"resource": { +"description": "Name or id of the resource for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9_]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/global/sslPolicies/{resource}/testIamPermissions", +"request": { +"$ref": "TestPermissionsRequest" +}, +"response": { +"$ref": "TestPermissionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +} +} +}, +"storagePoolTypes": { +"methods": { +"aggregatedList": { +"description": "Retrieves an aggregated list of storage pool types.\n\nTo prevent failure, Google recommends that you set the\n`returnPartialSuccess` parameter to `true`.", +"flatPath": "projects/{project}/aggregated/storagePoolTypes", +"httpMethod": "GET", +"id": "compute.storagePoolTypes.aggregatedList", +"parameterOrder": [ +"project" +], +"parameters": { +"filter": { +"description": "A filter expression that filters resources listed in the response. Most\nCompute resources support two types of filter expressions:\nexpressions that support regular expressions and expressions that follow\nAPI improvement proposal AIP-160.\nThese two types of filter expressions cannot be mixed in one request.\n\nIf you want to use AIP-160, your expression must specify the field name, an\noperator, and the value that you want to use for filtering. The value\nmust be a string, a number, or a boolean. The operator\nmust be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.\n\nFor example, if you are filtering Compute Engine instances, you can\nexclude instances named `example-instance` by specifying\n`name != example-instance`.\n\nThe `:*` comparison can be used to test whether a key has been defined.\nFor example, to find all objects with `owner` label use:\n```\nlabels.owner:*\n```\n\nYou can also filter nested fields. For example, you could specify\n`scheduling.automaticRestart = false` to include instances only\nif they are not scheduled for automatic restarts. You can use filtering\non nested fields to filter based onresource labels.\n\nTo filter on multiple expressions, provide each separate expression within\nparentheses. For example:\n```\n(scheduling.automaticRestart = true)\n(cpuPlatform = \"Intel Skylake\")\n```\nBy default, each expression is an `AND` expression. However, you\ncan include `AND` and `OR` expressions explicitly.\nFor example:\n```\n(cpuPlatform = \"Intel Skylake\") OR\n(cpuPlatform = \"Intel Broadwell\") AND\n(scheduling.automaticRestart = true)\n```\n\nIf you want to use a regular expression, use the `eq` (equal) or `ne`\n(not equal) operator against a single un-parenthesized expression with or\nwithout quotes or against multiple parenthesized expressions. Examples:\n\n`fieldname eq unquoted literal`\n`fieldname eq 'single quoted literal'`\n`fieldname eq \"double quoted literal\"`\n`(fieldname1 eq literal) (fieldname2 ne \"literal\")`\n\nThe literal value is interpreted as a regular expression using GoogleRE2 library syntax.\nThe literal value must match the entire field.\n\nFor example, to filter for instances that do not end with name \"instance\",\nyou would use `name ne .*instance`.\n\nYou cannot combine constraints on multiple fields using regular\nexpressions.", +"location": "query", +"type": "string" +}, +"includeAllScopes": { +"description": "Indicates whether every visible scope for each scope type (zone, region,\nglobal) should be included in the response. For new resource types added\nafter this field, the flag has no effect as new resource types will always\ninclude every visible scope for each scope type in response. For resource\ntypes which predate this field, if this flag is omitted or false, only\nscopes of the scope types where the resource type is expected to be found\nwill be included.", +"location": "query", +"type": "boolean" +}, +"maxResults": { +"default": "500", +"description": "The maximum number of results per page that should be returned.\nIf the number of available results is larger than `maxResults`,\nCompute Engine returns a `nextPageToken` that can be used to get\nthe next page of results in subsequent list requests. Acceptable values are\n`0` to `500`, inclusive. (Default: `500`)", +"format": "uint32", +"location": "query", +"minimum": "0", +"type": "integer" +}, +"orderBy": { +"description": "Sorts list results by a certain order. By default, results\nare returned in alphanumerical order based on the resource name.\n\nYou can also sort results in descending order based on the creation\ntimestamp using `orderBy=\"creationTimestamp desc\"`. This sorts\nresults based on the `creationTimestamp` field in\nreverse chronological order (newest result first). Use this to sort\nresources like operations so that the newest operation is returned first.\n\nCurrently, only sorting by `name` or\n`creationTimestamp desc` is supported.", +"location": "query", +"type": "string" +}, +"pageToken": { +"description": "Specifies a page token to use. Set `pageToken` to the\n`nextPageToken` returned by a previous list request to get\nthe next page of results.", +"location": "query", +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"returnPartialSuccess": { +"description": "Opt-in for partial success behavior which provides partial results in case\nof failure. The default value is false.\n\nFor example, when partial success behavior is enabled, aggregatedList for a\nsingle zone scope either returns all resources in the zone or no resources,\nwith an error code.", +"location": "query", +"type": "boolean" +}, +"serviceProjectNumber": { +"description": "The Shared VPC service project id or service project number for which\naggregated list request is invoked for subnetworks list-usable api.", +"format": "int64", +"location": "query", +"type": "string" +} +}, +"path": "projects/{project}/aggregated/storagePoolTypes", +"response": { +"$ref": "StoragePoolTypeAggregatedList" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"get": { +"description": "Returns the specified storage pool type.", +"flatPath": "projects/{project}/zones/{zone}/storagePoolTypes/{storagePoolType}", +"httpMethod": "GET", +"id": "compute.storagePoolTypes.get", +"parameterOrder": [ +"project", +"zone", +"storagePoolType" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"storagePoolType": { +"description": "Name of the storage pool type to return.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +}, +"zone": { +"description": "The name of the zone for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/zones/{zone}/storagePoolTypes/{storagePoolType}", +"response": { +"$ref": "StoragePoolType" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"list": { +"description": "Retrieves a list of storage pool types available to the specified\nproject.", +"flatPath": "projects/{project}/zones/{zone}/storagePoolTypes", +"httpMethod": "GET", +"id": "compute.storagePoolTypes.list", +"parameterOrder": [ +"project", +"zone" +], +"parameters": { +"filter": { +"description": "A filter expression that filters resources listed in the response. Most\nCompute resources support two types of filter expressions:\nexpressions that support regular expressions and expressions that follow\nAPI improvement proposal AIP-160.\nThese two types of filter expressions cannot be mixed in one request.\n\nIf you want to use AIP-160, your expression must specify the field name, an\noperator, and the value that you want to use for filtering. The value\nmust be a string, a number, or a boolean. The operator\nmust be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.\n\nFor example, if you are filtering Compute Engine instances, you can\nexclude instances named `example-instance` by specifying\n`name != example-instance`.\n\nThe `:*` comparison can be used to test whether a key has been defined.\nFor example, to find all objects with `owner` label use:\n```\nlabels.owner:*\n```\n\nYou can also filter nested fields. For example, you could specify\n`scheduling.automaticRestart = false` to include instances only\nif they are not scheduled for automatic restarts. You can use filtering\non nested fields to filter based onresource labels.\n\nTo filter on multiple expressions, provide each separate expression within\nparentheses. For example:\n```\n(scheduling.automaticRestart = true)\n(cpuPlatform = \"Intel Skylake\")\n```\nBy default, each expression is an `AND` expression. However, you\ncan include `AND` and `OR` expressions explicitly.\nFor example:\n```\n(cpuPlatform = \"Intel Skylake\") OR\n(cpuPlatform = \"Intel Broadwell\") AND\n(scheduling.automaticRestart = true)\n```\n\nIf you want to use a regular expression, use the `eq` (equal) or `ne`\n(not equal) operator against a single un-parenthesized expression with or\nwithout quotes or against multiple parenthesized expressions. Examples:\n\n`fieldname eq unquoted literal`\n`fieldname eq 'single quoted literal'`\n`fieldname eq \"double quoted literal\"`\n`(fieldname1 eq literal) (fieldname2 ne \"literal\")`\n\nThe literal value is interpreted as a regular expression using GoogleRE2 library syntax.\nThe literal value must match the entire field.\n\nFor example, to filter for instances that do not end with name \"instance\",\nyou would use `name ne .*instance`.\n\nYou cannot combine constraints on multiple fields using regular\nexpressions.", +"location": "query", +"type": "string" +}, +"maxResults": { +"default": "500", +"description": "The maximum number of results per page that should be returned.\nIf the number of available results is larger than `maxResults`,\nCompute Engine returns a `nextPageToken` that can be used to get\nthe next page of results in subsequent list requests. Acceptable values are\n`0` to `500`, inclusive. (Default: `500`)", +"format": "uint32", +"location": "query", +"minimum": "0", +"type": "integer" +}, +"orderBy": { +"description": "Sorts list results by a certain order. By default, results\nare returned in alphanumerical order based on the resource name.\n\nYou can also sort results in descending order based on the creation\ntimestamp using `orderBy=\"creationTimestamp desc\"`. This sorts\nresults based on the `creationTimestamp` field in\nreverse chronological order (newest result first). Use this to sort\nresources like operations so that the newest operation is returned first.\n\nCurrently, only sorting by `name` or\n`creationTimestamp desc` is supported.", +"location": "query", +"type": "string" +}, +"pageToken": { +"description": "Specifies a page token to use. Set `pageToken` to the\n`nextPageToken` returned by a previous list request to get\nthe next page of results.", +"location": "query", +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"returnPartialSuccess": { +"description": "Opt-in for partial success behavior which provides partial results in case\nof failure. The default value is false.\n\nFor example, when partial success behavior is enabled, aggregatedList for a\nsingle zone scope either returns all resources in the zone or no resources,\nwith an error code.", +"location": "query", +"type": "boolean" +}, +"zone": { +"description": "The name of the zone for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/zones/{zone}/storagePoolTypes", +"response": { +"$ref": "StoragePoolTypeList" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +} +} +}, +"storagePools": { +"methods": { +"aggregatedList": { +"description": "Retrieves an aggregated list of storage pools.\n\nTo prevent failure, Google recommends that you set the\n`returnPartialSuccess` parameter to `true`.", +"flatPath": "projects/{project}/aggregated/storagePools", +"httpMethod": "GET", +"id": "compute.storagePools.aggregatedList", +"parameterOrder": [ +"project" +], +"parameters": { +"filter": { +"description": "A filter expression that filters resources listed in the response. Most\nCompute resources support two types of filter expressions:\nexpressions that support regular expressions and expressions that follow\nAPI improvement proposal AIP-160.\nThese two types of filter expressions cannot be mixed in one request.\n\nIf you want to use AIP-160, your expression must specify the field name, an\noperator, and the value that you want to use for filtering. The value\nmust be a string, a number, or a boolean. The operator\nmust be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.\n\nFor example, if you are filtering Compute Engine instances, you can\nexclude instances named `example-instance` by specifying\n`name != example-instance`.\n\nThe `:*` comparison can be used to test whether a key has been defined.\nFor example, to find all objects with `owner` label use:\n```\nlabels.owner:*\n```\n\nYou can also filter nested fields. For example, you could specify\n`scheduling.automaticRestart = false` to include instances only\nif they are not scheduled for automatic restarts. You can use filtering\non nested fields to filter based onresource labels.\n\nTo filter on multiple expressions, provide each separate expression within\nparentheses. For example:\n```\n(scheduling.automaticRestart = true)\n(cpuPlatform = \"Intel Skylake\")\n```\nBy default, each expression is an `AND` expression. However, you\ncan include `AND` and `OR` expressions explicitly.\nFor example:\n```\n(cpuPlatform = \"Intel Skylake\") OR\n(cpuPlatform = \"Intel Broadwell\") AND\n(scheduling.automaticRestart = true)\n```\n\nIf you want to use a regular expression, use the `eq` (equal) or `ne`\n(not equal) operator against a single un-parenthesized expression with or\nwithout quotes or against multiple parenthesized expressions. Examples:\n\n`fieldname eq unquoted literal`\n`fieldname eq 'single quoted literal'`\n`fieldname eq \"double quoted literal\"`\n`(fieldname1 eq literal) (fieldname2 ne \"literal\")`\n\nThe literal value is interpreted as a regular expression using GoogleRE2 library syntax.\nThe literal value must match the entire field.\n\nFor example, to filter for instances that do not end with name \"instance\",\nyou would use `name ne .*instance`.\n\nYou cannot combine constraints on multiple fields using regular\nexpressions.", +"location": "query", +"type": "string" +}, +"includeAllScopes": { +"description": "Indicates whether every visible scope for each scope type (zone, region,\nglobal) should be included in the response. For new resource types added\nafter this field, the flag has no effect as new resource types will always\ninclude every visible scope for each scope type in response. For resource\ntypes which predate this field, if this flag is omitted or false, only\nscopes of the scope types where the resource type is expected to be found\nwill be included.", +"location": "query", +"type": "boolean" +}, +"maxResults": { +"default": "500", +"description": "The maximum number of results per page that should be returned.\nIf the number of available results is larger than `maxResults`,\nCompute Engine returns a `nextPageToken` that can be used to get\nthe next page of results in subsequent list requests. Acceptable values are\n`0` to `500`, inclusive. (Default: `500`)", +"format": "uint32", +"location": "query", +"minimum": "0", +"type": "integer" +}, +"orderBy": { +"description": "Sorts list results by a certain order. By default, results\nare returned in alphanumerical order based on the resource name.\n\nYou can also sort results in descending order based on the creation\ntimestamp using `orderBy=\"creationTimestamp desc\"`. This sorts\nresults based on the `creationTimestamp` field in\nreverse chronological order (newest result first). Use this to sort\nresources like operations so that the newest operation is returned first.\n\nCurrently, only sorting by `name` or\n`creationTimestamp desc` is supported.", +"location": "query", +"type": "string" +}, +"pageToken": { +"description": "Specifies a page token to use. Set `pageToken` to the\n`nextPageToken` returned by a previous list request to get\nthe next page of results.", +"location": "query", +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"returnPartialSuccess": { +"description": "Opt-in for partial success behavior which provides partial results in case\nof failure. The default value is false.\n\nFor example, when partial success behavior is enabled, aggregatedList for a\nsingle zone scope either returns all resources in the zone or no resources,\nwith an error code.", +"location": "query", +"type": "boolean" +}, +"serviceProjectNumber": { +"description": "The Shared VPC service project id or service project number for which\naggregated list request is invoked for subnetworks list-usable api.", +"format": "int64", +"location": "query", +"type": "string" +} +}, +"path": "projects/{project}/aggregated/storagePools", +"response": { +"$ref": "StoragePoolAggregatedList" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"delete": { +"description": "Deletes the specified storage pool. Deleting a storagePool\nremoves its data permanently and is irreversible. However, deleting a\nstoragePool does not delete any snapshots previously\nmade from the storagePool. You must separately delete\nsnapshots.", +"flatPath": "projects/{project}/zones/{zone}/storagePools/{storagePool}", +"httpMethod": "DELETE", +"id": "compute.storagePools.delete", +"parameterOrder": [ +"project", +"zone", +"storagePool" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"storagePool": { +"description": "Name of the storage pool to delete.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +}, +"zone": { +"description": "The name of the zone for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/zones/{zone}/storagePools/{storagePool}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"get": { +"description": "Returns a specified storage pool. Gets a list of available\nstorage pools by making a list() request.", +"flatPath": "projects/{project}/zones/{zone}/storagePools/{storagePool}", +"httpMethod": "GET", +"id": "compute.storagePools.get", +"parameterOrder": [ +"project", +"zone", +"storagePool" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"storagePool": { +"description": "Name of the storage pool to return.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +}, +"zone": { +"description": "The name of the zone for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/zones/{zone}/storagePools/{storagePool}", +"response": { +"$ref": "StoragePool" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"getIamPolicy": { +"description": "Gets the access control policy for a resource. May be empty if no such\npolicy or resource exists.", +"flatPath": "projects/{project}/zones/{zone}/storagePools/{resource}/getIamPolicy", +"httpMethod": "GET", +"id": "compute.storagePools.getIamPolicy", +"parameterOrder": [ +"project", +"zone", +"resource" +], +"parameters": { +"optionsRequestedPolicyVersion": { +"description": "Requested IAM Policy version.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"resource": { +"description": "Name or id of the resource for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +}, +"zone": { +"description": "The name of the zone for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/zones/{zone}/storagePools/{resource}/getIamPolicy", +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"insert": { +"description": "Creates a storage pool in the specified project using the data\nin the request.", +"flatPath": "projects/{project}/zones/{zone}/storagePools", +"httpMethod": "POST", +"id": "compute.storagePools.insert", +"parameterOrder": [ +"project", +"zone" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"zone": { +"description": "The name of the zone for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/zones/{zone}/storagePools", +"request": { +"$ref": "StoragePool" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"list": { +"description": "Retrieves a list of storage pools contained within\nthe specified zone.", +"flatPath": "projects/{project}/zones/{zone}/storagePools", +"httpMethod": "GET", +"id": "compute.storagePools.list", +"parameterOrder": [ +"project", +"zone" +], +"parameters": { +"filter": { +"description": "A filter expression that filters resources listed in the response. Most\nCompute resources support two types of filter expressions:\nexpressions that support regular expressions and expressions that follow\nAPI improvement proposal AIP-160.\nThese two types of filter expressions cannot be mixed in one request.\n\nIf you want to use AIP-160, your expression must specify the field name, an\noperator, and the value that you want to use for filtering. The value\nmust be a string, a number, or a boolean. The operator\nmust be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.\n\nFor example, if you are filtering Compute Engine instances, you can\nexclude instances named `example-instance` by specifying\n`name != example-instance`.\n\nThe `:*` comparison can be used to test whether a key has been defined.\nFor example, to find all objects with `owner` label use:\n```\nlabels.owner:*\n```\n\nYou can also filter nested fields. For example, you could specify\n`scheduling.automaticRestart = false` to include instances only\nif they are not scheduled for automatic restarts. You can use filtering\non nested fields to filter based onresource labels.\n\nTo filter on multiple expressions, provide each separate expression within\nparentheses. For example:\n```\n(scheduling.automaticRestart = true)\n(cpuPlatform = \"Intel Skylake\")\n```\nBy default, each expression is an `AND` expression. However, you\ncan include `AND` and `OR` expressions explicitly.\nFor example:\n```\n(cpuPlatform = \"Intel Skylake\") OR\n(cpuPlatform = \"Intel Broadwell\") AND\n(scheduling.automaticRestart = true)\n```\n\nIf you want to use a regular expression, use the `eq` (equal) or `ne`\n(not equal) operator against a single un-parenthesized expression with or\nwithout quotes or against multiple parenthesized expressions. Examples:\n\n`fieldname eq unquoted literal`\n`fieldname eq 'single quoted literal'`\n`fieldname eq \"double quoted literal\"`\n`(fieldname1 eq literal) (fieldname2 ne \"literal\")`\n\nThe literal value is interpreted as a regular expression using GoogleRE2 library syntax.\nThe literal value must match the entire field.\n\nFor example, to filter for instances that do not end with name \"instance\",\nyou would use `name ne .*instance`.\n\nYou cannot combine constraints on multiple fields using regular\nexpressions.", +"location": "query", +"type": "string" +}, +"maxResults": { +"default": "500", +"description": "The maximum number of results per page that should be returned.\nIf the number of available results is larger than `maxResults`,\nCompute Engine returns a `nextPageToken` that can be used to get\nthe next page of results in subsequent list requests. Acceptable values are\n`0` to `500`, inclusive. (Default: `500`)", +"format": "uint32", +"location": "query", +"minimum": "0", +"type": "integer" +}, +"orderBy": { +"description": "Sorts list results by a certain order. By default, results\nare returned in alphanumerical order based on the resource name.\n\nYou can also sort results in descending order based on the creation\ntimestamp using `orderBy=\"creationTimestamp desc\"`. This sorts\nresults based on the `creationTimestamp` field in\nreverse chronological order (newest result first). Use this to sort\nresources like operations so that the newest operation is returned first.\n\nCurrently, only sorting by `name` or\n`creationTimestamp desc` is supported.", +"location": "query", +"type": "string" +}, +"pageToken": { +"description": "Specifies a page token to use. Set `pageToken` to the\n`nextPageToken` returned by a previous list request to get\nthe next page of results.", +"location": "query", +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"returnPartialSuccess": { +"description": "Opt-in for partial success behavior which provides partial results in case\nof failure. The default value is false.\n\nFor example, when partial success behavior is enabled, aggregatedList for a\nsingle zone scope either returns all resources in the zone or no resources,\nwith an error code.", +"location": "query", +"type": "boolean" +}, +"zone": { +"description": "The name of the zone for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/zones/{zone}/storagePools", +"response": { +"$ref": "StoragePoolList" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"listDisks": { +"description": "Lists the disks in a specified storage pool.", +"flatPath": "projects/{project}/zones/{zone}/storagePools/{storagePool}/listDisks", +"httpMethod": "GET", +"id": "compute.storagePools.listDisks", +"parameterOrder": [ +"project", +"zone", +"storagePool" +], +"parameters": { +"filter": { +"description": "A filter expression that filters resources listed in the response. Most\nCompute resources support two types of filter expressions:\nexpressions that support regular expressions and expressions that follow\nAPI improvement proposal AIP-160.\nThese two types of filter expressions cannot be mixed in one request.\n\nIf you want to use AIP-160, your expression must specify the field name, an\noperator, and the value that you want to use for filtering. The value\nmust be a string, a number, or a boolean. The operator\nmust be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.\n\nFor example, if you are filtering Compute Engine instances, you can\nexclude instances named `example-instance` by specifying\n`name != example-instance`.\n\nThe `:*` comparison can be used to test whether a key has been defined.\nFor example, to find all objects with `owner` label use:\n```\nlabels.owner:*\n```\n\nYou can also filter nested fields. For example, you could specify\n`scheduling.automaticRestart = false` to include instances only\nif they are not scheduled for automatic restarts. You can use filtering\non nested fields to filter based onresource labels.\n\nTo filter on multiple expressions, provide each separate expression within\nparentheses. For example:\n```\n(scheduling.automaticRestart = true)\n(cpuPlatform = \"Intel Skylake\")\n```\nBy default, each expression is an `AND` expression. However, you\ncan include `AND` and `OR` expressions explicitly.\nFor example:\n```\n(cpuPlatform = \"Intel Skylake\") OR\n(cpuPlatform = \"Intel Broadwell\") AND\n(scheduling.automaticRestart = true)\n```\n\nIf you want to use a regular expression, use the `eq` (equal) or `ne`\n(not equal) operator against a single un-parenthesized expression with or\nwithout quotes or against multiple parenthesized expressions. Examples:\n\n`fieldname eq unquoted literal`\n`fieldname eq 'single quoted literal'`\n`fieldname eq \"double quoted literal\"`\n`(fieldname1 eq literal) (fieldname2 ne \"literal\")`\n\nThe literal value is interpreted as a regular expression using GoogleRE2 library syntax.\nThe literal value must match the entire field.\n\nFor example, to filter for instances that do not end with name \"instance\",\nyou would use `name ne .*instance`.\n\nYou cannot combine constraints on multiple fields using regular\nexpressions.", +"location": "query", +"type": "string" +}, +"maxResults": { +"default": "500", +"description": "The maximum number of results per page that should be returned.\nIf the number of available results is larger than `maxResults`,\nCompute Engine returns a `nextPageToken` that can be used to get\nthe next page of results in subsequent list requests. Acceptable values are\n`0` to `500`, inclusive. (Default: `500`)", +"format": "uint32", +"location": "query", +"minimum": "0", +"type": "integer" +}, +"orderBy": { +"description": "Sorts list results by a certain order. By default, results\nare returned in alphanumerical order based on the resource name.\n\nYou can also sort results in descending order based on the creation\ntimestamp using `orderBy=\"creationTimestamp desc\"`. This sorts\nresults based on the `creationTimestamp` field in\nreverse chronological order (newest result first). Use this to sort\nresources like operations so that the newest operation is returned first.\n\nCurrently, only sorting by `name` or\n`creationTimestamp desc` is supported.", +"location": "query", +"type": "string" +}, +"pageToken": { +"description": "Specifies a page token to use. Set `pageToken` to the\n`nextPageToken` returned by a previous list request to get\nthe next page of results.", +"location": "query", +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"returnPartialSuccess": { +"description": "Opt-in for partial success behavior which provides partial results in case\nof failure. The default value is false.\n\nFor example, when partial success behavior is enabled, aggregatedList for a\nsingle zone scope either returns all resources in the zone or no resources,\nwith an error code.", +"location": "query", +"type": "boolean" +}, +"storagePool": { +"description": "Name of the storage pool to list disks of.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +}, +"zone": { +"description": "The name of the zone for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/zones/{zone}/storagePools/{storagePool}/listDisks", +"response": { +"$ref": "StoragePoolListDisks" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"setIamPolicy": { +"description": "Sets the access control policy on the specified resource.\nReplaces any existing policy.", +"flatPath": "projects/{project}/zones/{zone}/storagePools/{resource}/setIamPolicy", +"httpMethod": "POST", +"id": "compute.storagePools.setIamPolicy", +"parameterOrder": [ +"project", +"zone", +"resource" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"resource": { +"description": "Name or id of the resource for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +}, +"zone": { +"description": "The name of the zone for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/zones/{zone}/storagePools/{resource}/setIamPolicy", +"request": { +"$ref": "ZoneSetPolicyRequest" +}, +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"testIamPermissions": { +"description": "Returns permissions that a caller has on the specified resource.", +"flatPath": "projects/{project}/zones/{zone}/storagePools/{resource}/testIamPermissions", +"httpMethod": "POST", +"id": "compute.storagePools.testIamPermissions", +"parameterOrder": [ +"project", +"zone", +"resource" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"resource": { +"description": "Name or id of the resource for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +}, +"zone": { +"description": "The name of the zone for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/zones/{zone}/storagePools/{resource}/testIamPermissions", +"request": { +"$ref": "TestPermissionsRequest" +}, +"response": { +"$ref": "TestPermissionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"update": { +"description": "Updates the specified storagePool with the data included in the request.\nThe update is performed only on selected fields included as part\nof update-mask. Only the following fields can be modified:\npool_provisioned_capacity_gb, pool_provisioned_iops and\npool_provisioned_throughput.", +"flatPath": "projects/{project}/zones/{zone}/storagePools/{storagePool}", +"httpMethod": "PATCH", +"id": "compute.storagePools.update", +"parameterOrder": [ +"project", +"zone", +"storagePool" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"storagePool": { +"description": "The storagePool name for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "update_mask indicates fields to be updated as part of this request.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +}, +"zone": { +"description": "The name of the zone for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/zones/{zone}/storagePools/{storagePool}", +"request": { +"$ref": "StoragePool" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +} +} +}, +"subnetworks": { +"methods": { +"aggregatedList": { +"description": "Retrieves an aggregated list of subnetworks.\n\nTo prevent failure, Google recommends that you set the\n`returnPartialSuccess` parameter to `true`.", +"flatPath": "projects/{project}/aggregated/subnetworks", +"httpMethod": "GET", +"id": "compute.subnetworks.aggregatedList", +"parameterOrder": [ +"project" +], +"parameters": { +"filter": { +"description": "A filter expression that filters resources listed in the response. Most\nCompute resources support two types of filter expressions:\nexpressions that support regular expressions and expressions that follow\nAPI improvement proposal AIP-160.\nThese two types of filter expressions cannot be mixed in one request.\n\nIf you want to use AIP-160, your expression must specify the field name, an\noperator, and the value that you want to use for filtering. The value\nmust be a string, a number, or a boolean. The operator\nmust be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.\n\nFor example, if you are filtering Compute Engine instances, you can\nexclude instances named `example-instance` by specifying\n`name != example-instance`.\n\nThe `:*` comparison can be used to test whether a key has been defined.\nFor example, to find all objects with `owner` label use:\n```\nlabels.owner:*\n```\n\nYou can also filter nested fields. For example, you could specify\n`scheduling.automaticRestart = false` to include instances only\nif they are not scheduled for automatic restarts. You can use filtering\non nested fields to filter based onresource labels.\n\nTo filter on multiple expressions, provide each separate expression within\nparentheses. For example:\n```\n(scheduling.automaticRestart = true)\n(cpuPlatform = \"Intel Skylake\")\n```\nBy default, each expression is an `AND` expression. However, you\ncan include `AND` and `OR` expressions explicitly.\nFor example:\n```\n(cpuPlatform = \"Intel Skylake\") OR\n(cpuPlatform = \"Intel Broadwell\") AND\n(scheduling.automaticRestart = true)\n```\n\nIf you want to use a regular expression, use the `eq` (equal) or `ne`\n(not equal) operator against a single un-parenthesized expression with or\nwithout quotes or against multiple parenthesized expressions. Examples:\n\n`fieldname eq unquoted literal`\n`fieldname eq 'single quoted literal'`\n`fieldname eq \"double quoted literal\"`\n`(fieldname1 eq literal) (fieldname2 ne \"literal\")`\n\nThe literal value is interpreted as a regular expression using GoogleRE2 library syntax.\nThe literal value must match the entire field.\n\nFor example, to filter for instances that do not end with name \"instance\",\nyou would use `name ne .*instance`.\n\nYou cannot combine constraints on multiple fields using regular\nexpressions.", +"location": "query", +"type": "string" +}, +"includeAllScopes": { +"description": "Indicates whether every visible scope for each scope type (zone, region,\nglobal) should be included in the response. For new resource types added\nafter this field, the flag has no effect as new resource types will always\ninclude every visible scope for each scope type in response. For resource\ntypes which predate this field, if this flag is omitted or false, only\nscopes of the scope types where the resource type is expected to be found\nwill be included.", +"location": "query", +"type": "boolean" +}, +"maxResults": { +"default": "500", +"description": "The maximum number of results per page that should be returned.\nIf the number of available results is larger than `maxResults`,\nCompute Engine returns a `nextPageToken` that can be used to get\nthe next page of results in subsequent list requests. Acceptable values are\n`0` to `500`, inclusive. (Default: `500`)", +"format": "uint32", +"location": "query", +"minimum": "0", +"type": "integer" +}, +"orderBy": { +"description": "Sorts list results by a certain order. By default, results\nare returned in alphanumerical order based on the resource name.\n\nYou can also sort results in descending order based on the creation\ntimestamp using `orderBy=\"creationTimestamp desc\"`. This sorts\nresults based on the `creationTimestamp` field in\nreverse chronological order (newest result first). Use this to sort\nresources like operations so that the newest operation is returned first.\n\nCurrently, only sorting by `name` or\n`creationTimestamp desc` is supported.", +"location": "query", +"type": "string" +}, +"pageToken": { +"description": "Specifies a page token to use. Set `pageToken` to the\n`nextPageToken` returned by a previous list request to get\nthe next page of results.", +"location": "query", +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"returnPartialSuccess": { +"description": "Opt-in for partial success behavior which provides partial results in case\nof failure. The default value is false.\n\nFor example, when partial success behavior is enabled, aggregatedList for a\nsingle zone scope either returns all resources in the zone or no resources,\nwith an error code.", +"location": "query", +"type": "boolean" +}, +"serviceProjectNumber": { +"description": "The Shared VPC service project id or service project number for which\naggregated list request is invoked for subnetworks list-usable api.", +"format": "int64", +"location": "query", +"type": "string" +}, +"views": { +"description": "Defines the extra views returned back in the subnetwork resource.\nSupported values:\n \n - WITH_UTILIZATION: Utilization data is included in the\n response.", +"enum": [ +"DEFAULT", +"WITH_UTILIZATION" +], +"enumDescriptions": [ +"", +"Utilization data is included in the response." +], +"location": "query", +"repeated": true, +"type": "string" +} +}, +"path": "projects/{project}/aggregated/subnetworks", +"response": { +"$ref": "SubnetworkAggregatedList" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"delete": { +"description": "Deletes the specified subnetwork.", +"flatPath": "projects/{project}/regions/{region}/subnetworks/{subnetwork}", +"httpMethod": "DELETE", +"id": "compute.subnetworks.delete", +"parameterOrder": [ +"project", +"region", +"subnetwork" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "Name of the region scoping this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"subnetwork": { +"description": "Name of the Subnetwork resource to delete.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/regions/{region}/subnetworks/{subnetwork}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"expandIpCidrRange": { +"description": "Expands the IP CIDR range of the subnetwork to a specified value.", +"flatPath": "projects/{project}/regions/{region}/subnetworks/{subnetwork}/expandIpCidrRange", +"httpMethod": "POST", +"id": "compute.subnetworks.expandIpCidrRange", +"parameterOrder": [ +"project", +"region", +"subnetwork" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "Name of the region scoping this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"subnetwork": { +"description": "Name of the Subnetwork resource to update.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/regions/{region}/subnetworks/{subnetwork}/expandIpCidrRange", +"request": { +"$ref": "SubnetworksExpandIpCidrRangeRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"get": { +"description": "Returns the specified subnetwork.", +"flatPath": "projects/{project}/regions/{region}/subnetworks/{subnetwork}", +"httpMethod": "GET", +"id": "compute.subnetworks.get", +"parameterOrder": [ +"project", +"region", +"subnetwork" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "Name of the region scoping this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +}, +"subnetwork": { +"description": "Name of the Subnetwork resource to return.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +}, +"views": { +"description": "Defines the extra views returned back in the subnetwork resource.\nSupported values:\n \n - WITH_UTILIZATION: Utilization data is included in the\n response.", +"enum": [ +"DEFAULT", +"WITH_UTILIZATION" +], +"enumDescriptions": [ +"", +"Utilization data is included in the response." +], +"location": "query", +"repeated": true, +"type": "string" +} +}, +"path": "projects/{project}/regions/{region}/subnetworks/{subnetwork}", +"response": { +"$ref": "Subnetwork" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"getIamPolicy": { +"description": "Gets the access control policy for a resource. May be empty if no such\npolicy or resource exists.", +"flatPath": "projects/{project}/regions/{region}/subnetworks/{resource}/getIamPolicy", +"httpMethod": "GET", +"id": "compute.subnetworks.getIamPolicy", +"parameterOrder": [ +"project", +"region", +"resource" +], +"parameters": { +"optionsRequestedPolicyVersion": { +"description": "Requested IAM Policy version.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "The name of the region for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +}, +"resource": { +"description": "Name or id of the resource for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/regions/{region}/subnetworks/{resource}/getIamPolicy", +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"insert": { +"description": "Creates a subnetwork in the specified project using the data\nincluded in the request.", +"flatPath": "projects/{project}/regions/{region}/subnetworks", +"httpMethod": "POST", +"id": "compute.subnetworks.insert", +"parameterOrder": [ +"project", +"region" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "Name of the region scoping this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "projects/{project}/regions/{region}/subnetworks", +"request": { +"$ref": "Subnetwork" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"list": { +"description": "Retrieves a list of subnetworks available to the specified\nproject.", +"flatPath": "projects/{project}/regions/{region}/subnetworks", +"httpMethod": "GET", +"id": "compute.subnetworks.list", +"parameterOrder": [ +"project", +"region" +], +"parameters": { +"filter": { +"description": "A filter expression that filters resources listed in the response. Most\nCompute resources support two types of filter expressions:\nexpressions that support regular expressions and expressions that follow\nAPI improvement proposal AIP-160.\nThese two types of filter expressions cannot be mixed in one request.\n\nIf you want to use AIP-160, your expression must specify the field name, an\noperator, and the value that you want to use for filtering. The value\nmust be a string, a number, or a boolean. The operator\nmust be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.\n\nFor example, if you are filtering Compute Engine instances, you can\nexclude instances named `example-instance` by specifying\n`name != example-instance`.\n\nThe `:*` comparison can be used to test whether a key has been defined.\nFor example, to find all objects with `owner` label use:\n```\nlabels.owner:*\n```\n\nYou can also filter nested fields. For example, you could specify\n`scheduling.automaticRestart = false` to include instances only\nif they are not scheduled for automatic restarts. You can use filtering\non nested fields to filter based onresource labels.\n\nTo filter on multiple expressions, provide each separate expression within\nparentheses. For example:\n```\n(scheduling.automaticRestart = true)\n(cpuPlatform = \"Intel Skylake\")\n```\nBy default, each expression is an `AND` expression. However, you\ncan include `AND` and `OR` expressions explicitly.\nFor example:\n```\n(cpuPlatform = \"Intel Skylake\") OR\n(cpuPlatform = \"Intel Broadwell\") AND\n(scheduling.automaticRestart = true)\n```\n\nIf you want to use a regular expression, use the `eq` (equal) or `ne`\n(not equal) operator against a single un-parenthesized expression with or\nwithout quotes or against multiple parenthesized expressions. Examples:\n\n`fieldname eq unquoted literal`\n`fieldname eq 'single quoted literal'`\n`fieldname eq \"double quoted literal\"`\n`(fieldname1 eq literal) (fieldname2 ne \"literal\")`\n\nThe literal value is interpreted as a regular expression using GoogleRE2 library syntax.\nThe literal value must match the entire field.\n\nFor example, to filter for instances that do not end with name \"instance\",\nyou would use `name ne .*instance`.\n\nYou cannot combine constraints on multiple fields using regular\nexpressions.", +"location": "query", +"type": "string" +}, +"maxResults": { +"default": "500", +"description": "The maximum number of results per page that should be returned.\nIf the number of available results is larger than `maxResults`,\nCompute Engine returns a `nextPageToken` that can be used to get\nthe next page of results in subsequent list requests. Acceptable values are\n`0` to `500`, inclusive. (Default: `500`)", +"format": "uint32", +"location": "query", +"minimum": "0", +"type": "integer" +}, +"orderBy": { +"description": "Sorts list results by a certain order. By default, results\nare returned in alphanumerical order based on the resource name.\n\nYou can also sort results in descending order based on the creation\ntimestamp using `orderBy=\"creationTimestamp desc\"`. This sorts\nresults based on the `creationTimestamp` field in\nreverse chronological order (newest result first). Use this to sort\nresources like operations so that the newest operation is returned first.\n\nCurrently, only sorting by `name` or\n`creationTimestamp desc` is supported.", +"location": "query", +"type": "string" +}, +"pageToken": { +"description": "Specifies a page token to use. Set `pageToken` to the\n`nextPageToken` returned by a previous list request to get\nthe next page of results.", +"location": "query", +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "Name of the region scoping this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +}, +"returnPartialSuccess": { +"description": "Opt-in for partial success behavior which provides partial results in case\nof failure. The default value is false.\n\nFor example, when partial success behavior is enabled, aggregatedList for a\nsingle zone scope either returns all resources in the zone or no resources,\nwith an error code.", +"location": "query", +"type": "boolean" +}, +"views": { +"description": "Defines the extra views returned back in the subnetwork resource.\nSupported values:\n \n - WITH_UTILIZATION: Utilization data is included in the\n response.", +"enum": [ +"DEFAULT", +"WITH_UTILIZATION" +], +"enumDescriptions": [ +"", +"Utilization data is included in the response." +], +"location": "query", +"repeated": true, +"type": "string" +} +}, +"path": "projects/{project}/regions/{region}/subnetworks", +"response": { +"$ref": "SubnetworkList" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"listUsable": { +"description": "Retrieves an aggregated list of all usable subnetworks in the project.", +"flatPath": "projects/{project}/aggregated/subnetworks/listUsable", +"httpMethod": "GET", +"id": "compute.subnetworks.listUsable", +"parameterOrder": [ +"project" +], +"parameters": { +"filter": { +"description": "A filter expression that filters resources listed in the response. Most\nCompute resources support two types of filter expressions:\nexpressions that support regular expressions and expressions that follow\nAPI improvement proposal AIP-160.\nThese two types of filter expressions cannot be mixed in one request.\n\nIf you want to use AIP-160, your expression must specify the field name, an\noperator, and the value that you want to use for filtering. The value\nmust be a string, a number, or a boolean. The operator\nmust be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.\n\nFor example, if you are filtering Compute Engine instances, you can\nexclude instances named `example-instance` by specifying\n`name != example-instance`.\n\nThe `:*` comparison can be used to test whether a key has been defined.\nFor example, to find all objects with `owner` label use:\n```\nlabels.owner:*\n```\n\nYou can also filter nested fields. For example, you could specify\n`scheduling.automaticRestart = false` to include instances only\nif they are not scheduled for automatic restarts. You can use filtering\non nested fields to filter based onresource labels.\n\nTo filter on multiple expressions, provide each separate expression within\nparentheses. For example:\n```\n(scheduling.automaticRestart = true)\n(cpuPlatform = \"Intel Skylake\")\n```\nBy default, each expression is an `AND` expression. However, you\ncan include `AND` and `OR` expressions explicitly.\nFor example:\n```\n(cpuPlatform = \"Intel Skylake\") OR\n(cpuPlatform = \"Intel Broadwell\") AND\n(scheduling.automaticRestart = true)\n```\n\nIf you want to use a regular expression, use the `eq` (equal) or `ne`\n(not equal) operator against a single un-parenthesized expression with or\nwithout quotes or against multiple parenthesized expressions. Examples:\n\n`fieldname eq unquoted literal`\n`fieldname eq 'single quoted literal'`\n`fieldname eq \"double quoted literal\"`\n`(fieldname1 eq literal) (fieldname2 ne \"literal\")`\n\nThe literal value is interpreted as a regular expression using GoogleRE2 library syntax.\nThe literal value must match the entire field.\n\nFor example, to filter for instances that do not end with name \"instance\",\nyou would use `name ne .*instance`.\n\nYou cannot combine constraints on multiple fields using regular\nexpressions.", +"location": "query", +"type": "string" +}, +"maxResults": { +"default": "500", +"description": "The maximum number of results per page that should be returned.\nIf the number of available results is larger than `maxResults`,\nCompute Engine returns a `nextPageToken` that can be used to get\nthe next page of results in subsequent list requests. Acceptable values are\n`0` to `500`, inclusive. (Default: `500`)", +"format": "uint32", +"location": "query", +"minimum": "0", +"type": "integer" +}, +"orderBy": { +"description": "Sorts list results by a certain order. By default, results\nare returned in alphanumerical order based on the resource name.\n\nYou can also sort results in descending order based on the creation\ntimestamp using `orderBy=\"creationTimestamp desc\"`. This sorts\nresults based on the `creationTimestamp` field in\nreverse chronological order (newest result first). Use this to sort\nresources like operations so that the newest operation is returned first.\n\nCurrently, only sorting by `name` or\n`creationTimestamp desc` is supported.", +"location": "query", +"type": "string" +}, +"pageToken": { +"description": "Specifies a page token to use. Set `pageToken` to the\n`nextPageToken` returned by a previous list request to get\nthe next page of results.", +"location": "query", +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"returnPartialSuccess": { +"description": "Opt-in for partial success behavior which provides partial results in case\nof failure. The default value is false.\n\nFor example, when partial success behavior is enabled, aggregatedList for a\nsingle zone scope either returns all resources in the zone or no resources,\nwith an error code.", +"location": "query", +"type": "boolean" +}, +"serviceProject": { +"description": "The project id or project number in which the subnetwork is intended to be\nused. Only applied for Shared VPC. See [Shared VPC\ndocumentation](https://cloud.google.com/vpc/docs/shared-vpc/)", +"location": "query", +"type": "string" +} +}, +"path": "projects/{project}/aggregated/subnetworks/listUsable", +"response": { +"$ref": "UsableSubnetworksAggregatedList" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"patch": { +"description": "Patches the specified subnetwork with the data included in the request.\nOnly certain fields can be updated with a patch request\nas indicated in the field descriptions.\nYou must specify the current fingerprint of the\nsubnetwork resource being patched.", +"flatPath": "projects/{project}/regions/{region}/subnetworks/{subnetwork}", +"httpMethod": "PATCH", +"id": "compute.subnetworks.patch", +"parameterOrder": [ +"project", +"region", +"subnetwork" +], +"parameters": { +"drainTimeoutSeconds": { +"description": "The drain timeout specifies the upper bound in seconds on the amount of\ntime allowed to drain connections from the current ACTIVE subnetwork\nto the current BACKUP subnetwork. The drain timeout is only applicable\nwhen the following conditions are true:\n - the subnetwork being patched has purpose = INTERNAL_HTTPS_LOAD_BALANCER\n - the subnetwork being patched has role = BACKUP\n - the patch request is setting the role to ACTIVE. Note that after this\n patch operation the roles of the ACTIVE and BACKUP subnetworks will be\n swapped.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "Name of the region scoping this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"subnetwork": { +"description": "Name of the Subnetwork resource to patch.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/regions/{region}/subnetworks/{subnetwork}", +"request": { +"$ref": "Subnetwork" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"setIamPolicy": { +"description": "Sets the access control policy on the specified resource.\nReplaces any existing policy.", +"flatPath": "projects/{project}/regions/{region}/subnetworks/{resource}/setIamPolicy", +"httpMethod": "POST", +"id": "compute.subnetworks.setIamPolicy", +"parameterOrder": [ +"project", +"region", +"resource" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "The name of the region for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +}, +"resource": { +"description": "Name or id of the resource for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/regions/{region}/subnetworks/{resource}/setIamPolicy", +"request": { +"$ref": "RegionSetPolicyRequest" +}, +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"setPrivateIpGoogleAccess": { +"description": "Set whether VMs in this subnet can access Google services without assigning\nexternal IP addresses through Private Google Access.", +"flatPath": "projects/{project}/regions/{region}/subnetworks/{subnetwork}/setPrivateIpGoogleAccess", +"httpMethod": "POST", +"id": "compute.subnetworks.setPrivateIpGoogleAccess", +"parameterOrder": [ +"project", +"region", +"subnetwork" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "Name of the region scoping this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"subnetwork": { +"description": "Name of the Subnetwork resource.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/regions/{region}/subnetworks/{subnetwork}/setPrivateIpGoogleAccess", +"request": { +"$ref": "SubnetworksSetPrivateIpGoogleAccessRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"testIamPermissions": { +"description": "Returns permissions that a caller has on the specified resource.", +"flatPath": "projects/{project}/regions/{region}/subnetworks/{resource}/testIamPermissions", +"httpMethod": "POST", +"id": "compute.subnetworks.testIamPermissions", +"parameterOrder": [ +"project", +"region", +"resource" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "The name of the region for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +}, +"resource": { +"description": "Name or id of the resource for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/regions/{region}/subnetworks/{resource}/testIamPermissions", +"request": { +"$ref": "TestPermissionsRequest" +}, +"response": { +"$ref": "TestPermissionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +} +} +}, +"targetGrpcProxies": { +"methods": { +"delete": { +"description": "Deletes the specified TargetGrpcProxy in the given scope", +"flatPath": "projects/{project}/global/targetGrpcProxies/{targetGrpcProxy}", +"httpMethod": "DELETE", +"id": "compute.targetGrpcProxies.delete", +"parameterOrder": [ +"project", +"targetGrpcProxy" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"targetGrpcProxy": { +"description": "Name of the TargetGrpcProxy resource to delete.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/global/targetGrpcProxies/{targetGrpcProxy}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"get": { +"description": "Returns the specified TargetGrpcProxy resource in the given scope.", +"flatPath": "projects/{project}/global/targetGrpcProxies/{targetGrpcProxy}", +"httpMethod": "GET", +"id": "compute.targetGrpcProxies.get", +"parameterOrder": [ +"project", +"targetGrpcProxy" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"targetGrpcProxy": { +"description": "Name of the TargetGrpcProxy resource to return.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/global/targetGrpcProxies/{targetGrpcProxy}", +"response": { +"$ref": "TargetGrpcProxy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"insert": { +"description": "Creates a TargetGrpcProxy in the specified project in the given scope\nusing the parameters that are included in the request.", +"flatPath": "projects/{project}/global/targetGrpcProxies", +"httpMethod": "POST", +"id": "compute.targetGrpcProxies.insert", +"parameterOrder": [ +"project" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "projects/{project}/global/targetGrpcProxies", +"request": { +"$ref": "TargetGrpcProxy" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"list": { +"description": "Lists the TargetGrpcProxies for a project in the given scope.", +"flatPath": "projects/{project}/global/targetGrpcProxies", +"httpMethod": "GET", +"id": "compute.targetGrpcProxies.list", +"parameterOrder": [ +"project" +], +"parameters": { +"filter": { +"description": "A filter expression that filters resources listed in the response. Most\nCompute resources support two types of filter expressions:\nexpressions that support regular expressions and expressions that follow\nAPI improvement proposal AIP-160.\nThese two types of filter expressions cannot be mixed in one request.\n\nIf you want to use AIP-160, your expression must specify the field name, an\noperator, and the value that you want to use for filtering. The value\nmust be a string, a number, or a boolean. The operator\nmust be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.\n\nFor example, if you are filtering Compute Engine instances, you can\nexclude instances named `example-instance` by specifying\n`name != example-instance`.\n\nThe `:*` comparison can be used to test whether a key has been defined.\nFor example, to find all objects with `owner` label use:\n```\nlabels.owner:*\n```\n\nYou can also filter nested fields. For example, you could specify\n`scheduling.automaticRestart = false` to include instances only\nif they are not scheduled for automatic restarts. You can use filtering\non nested fields to filter based onresource labels.\n\nTo filter on multiple expressions, provide each separate expression within\nparentheses. For example:\n```\n(scheduling.automaticRestart = true)\n(cpuPlatform = \"Intel Skylake\")\n```\nBy default, each expression is an `AND` expression. However, you\ncan include `AND` and `OR` expressions explicitly.\nFor example:\n```\n(cpuPlatform = \"Intel Skylake\") OR\n(cpuPlatform = \"Intel Broadwell\") AND\n(scheduling.automaticRestart = true)\n```\n\nIf you want to use a regular expression, use the `eq` (equal) or `ne`\n(not equal) operator against a single un-parenthesized expression with or\nwithout quotes or against multiple parenthesized expressions. Examples:\n\n`fieldname eq unquoted literal`\n`fieldname eq 'single quoted literal'`\n`fieldname eq \"double quoted literal\"`\n`(fieldname1 eq literal) (fieldname2 ne \"literal\")`\n\nThe literal value is interpreted as a regular expression using GoogleRE2 library syntax.\nThe literal value must match the entire field.\n\nFor example, to filter for instances that do not end with name \"instance\",\nyou would use `name ne .*instance`.\n\nYou cannot combine constraints on multiple fields using regular\nexpressions.", +"location": "query", +"type": "string" +}, +"maxResults": { +"default": "500", +"description": "The maximum number of results per page that should be returned.\nIf the number of available results is larger than `maxResults`,\nCompute Engine returns a `nextPageToken` that can be used to get\nthe next page of results in subsequent list requests. Acceptable values are\n`0` to `500`, inclusive. (Default: `500`)", +"format": "uint32", +"location": "query", +"minimum": "0", +"type": "integer" +}, +"orderBy": { +"description": "Sorts list results by a certain order. By default, results\nare returned in alphanumerical order based on the resource name.\n\nYou can also sort results in descending order based on the creation\ntimestamp using `orderBy=\"creationTimestamp desc\"`. This sorts\nresults based on the `creationTimestamp` field in\nreverse chronological order (newest result first). Use this to sort\nresources like operations so that the newest operation is returned first.\n\nCurrently, only sorting by `name` or\n`creationTimestamp desc` is supported.", +"location": "query", +"type": "string" +}, +"pageToken": { +"description": "Specifies a page token to use. Set `pageToken` to the\n`nextPageToken` returned by a previous list request to get\nthe next page of results.", +"location": "query", +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"returnPartialSuccess": { +"description": "Opt-in for partial success behavior which provides partial results in case\nof failure. The default value is false.\n\nFor example, when partial success behavior is enabled, aggregatedList for a\nsingle zone scope either returns all resources in the zone or no resources,\nwith an error code.", +"location": "query", +"type": "boolean" +} +}, +"path": "projects/{project}/global/targetGrpcProxies", +"response": { +"$ref": "TargetGrpcProxyList" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"patch": { +"description": "Patches the specified TargetGrpcProxy resource with the data included in\nthe request. This method supports PATCH\nsemantics and usesJSON merge\npatch format and processing rules.", +"flatPath": "projects/{project}/global/targetGrpcProxies/{targetGrpcProxy}", +"httpMethod": "PATCH", +"id": "compute.targetGrpcProxies.patch", +"parameterOrder": [ +"project", +"targetGrpcProxy" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"targetGrpcProxy": { +"description": "Name of the TargetGrpcProxy resource to patch.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/global/targetGrpcProxies/{targetGrpcProxy}", +"request": { +"$ref": "TargetGrpcProxy" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"testIamPermissions": { +"description": "Returns permissions that a caller has on the specified resource.", +"flatPath": "projects/{project}/global/targetGrpcProxies/{resource}/testIamPermissions", +"httpMethod": "POST", +"id": "compute.targetGrpcProxies.testIamPermissions", +"parameterOrder": [ +"project", +"resource" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"resource": { +"description": "Name or id of the resource for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9_]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/global/targetGrpcProxies/{resource}/testIamPermissions", +"request": { +"$ref": "TestPermissionsRequest" +}, +"response": { +"$ref": "TestPermissionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +} +} +}, +"targetHttpProxies": { +"methods": { +"aggregatedList": { +"description": "Retrieves the list of all TargetHttpProxy resources, regional and global,\navailable to the specified project.\n\nTo prevent failure, Google recommends that you set the\n`returnPartialSuccess` parameter to `true`.", +"flatPath": "projects/{project}/aggregated/targetHttpProxies", +"httpMethod": "GET", +"id": "compute.targetHttpProxies.aggregatedList", +"parameterOrder": [ +"project" +], +"parameters": { +"filter": { +"description": "A filter expression that filters resources listed in the response. Most\nCompute resources support two types of filter expressions:\nexpressions that support regular expressions and expressions that follow\nAPI improvement proposal AIP-160.\nThese two types of filter expressions cannot be mixed in one request.\n\nIf you want to use AIP-160, your expression must specify the field name, an\noperator, and the value that you want to use for filtering. The value\nmust be a string, a number, or a boolean. The operator\nmust be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.\n\nFor example, if you are filtering Compute Engine instances, you can\nexclude instances named `example-instance` by specifying\n`name != example-instance`.\n\nThe `:*` comparison can be used to test whether a key has been defined.\nFor example, to find all objects with `owner` label use:\n```\nlabels.owner:*\n```\n\nYou can also filter nested fields. For example, you could specify\n`scheduling.automaticRestart = false` to include instances only\nif they are not scheduled for automatic restarts. You can use filtering\non nested fields to filter based onresource labels.\n\nTo filter on multiple expressions, provide each separate expression within\nparentheses. For example:\n```\n(scheduling.automaticRestart = true)\n(cpuPlatform = \"Intel Skylake\")\n```\nBy default, each expression is an `AND` expression. However, you\ncan include `AND` and `OR` expressions explicitly.\nFor example:\n```\n(cpuPlatform = \"Intel Skylake\") OR\n(cpuPlatform = \"Intel Broadwell\") AND\n(scheduling.automaticRestart = true)\n```\n\nIf you want to use a regular expression, use the `eq` (equal) or `ne`\n(not equal) operator against a single un-parenthesized expression with or\nwithout quotes or against multiple parenthesized expressions. Examples:\n\n`fieldname eq unquoted literal`\n`fieldname eq 'single quoted literal'`\n`fieldname eq \"double quoted literal\"`\n`(fieldname1 eq literal) (fieldname2 ne \"literal\")`\n\nThe literal value is interpreted as a regular expression using GoogleRE2 library syntax.\nThe literal value must match the entire field.\n\nFor example, to filter for instances that do not end with name \"instance\",\nyou would use `name ne .*instance`.\n\nYou cannot combine constraints on multiple fields using regular\nexpressions.", +"location": "query", +"type": "string" +}, +"includeAllScopes": { +"description": "Indicates whether every visible scope for each scope type (zone, region,\nglobal) should be included in the response. For new resource types added\nafter this field, the flag has no effect as new resource types will always\ninclude every visible scope for each scope type in response. For resource\ntypes which predate this field, if this flag is omitted or false, only\nscopes of the scope types where the resource type is expected to be found\nwill be included.", +"location": "query", +"type": "boolean" +}, +"maxResults": { +"default": "500", +"description": "The maximum number of results per page that should be returned.\nIf the number of available results is larger than `maxResults`,\nCompute Engine returns a `nextPageToken` that can be used to get\nthe next page of results in subsequent list requests. Acceptable values are\n`0` to `500`, inclusive. (Default: `500`)", +"format": "uint32", +"location": "query", +"minimum": "0", +"type": "integer" +}, +"orderBy": { +"description": "Sorts list results by a certain order. By default, results\nare returned in alphanumerical order based on the resource name.\n\nYou can also sort results in descending order based on the creation\ntimestamp using `orderBy=\"creationTimestamp desc\"`. This sorts\nresults based on the `creationTimestamp` field in\nreverse chronological order (newest result first). Use this to sort\nresources like operations so that the newest operation is returned first.\n\nCurrently, only sorting by `name` or\n`creationTimestamp desc` is supported.", +"location": "query", +"type": "string" +}, +"pageToken": { +"description": "Specifies a page token to use. Set `pageToken` to the\n`nextPageToken` returned by a previous list request to get\nthe next page of results.", +"location": "query", +"type": "string" +}, +"project": { +"description": "Name of the project scoping this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"returnPartialSuccess": { +"description": "Opt-in for partial success behavior which provides partial results in case\nof failure. The default value is false.\n\nFor example, when partial success behavior is enabled, aggregatedList for a\nsingle zone scope either returns all resources in the zone or no resources,\nwith an error code.", +"location": "query", +"type": "boolean" +}, +"serviceProjectNumber": { +"description": "The Shared VPC service project id or service project number for which\naggregated list request is invoked for subnetworks list-usable api.", +"format": "int64", +"location": "query", +"type": "string" +} +}, +"path": "projects/{project}/aggregated/targetHttpProxies", +"response": { +"$ref": "TargetHttpProxyAggregatedList" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"delete": { +"description": "Deletes the specified TargetHttpProxy resource.", +"flatPath": "projects/{project}/global/targetHttpProxies/{targetHttpProxy}", +"httpMethod": "DELETE", +"id": "compute.targetHttpProxies.delete", +"parameterOrder": [ +"project", +"targetHttpProxy" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"targetHttpProxy": { +"description": "Name of the TargetHttpProxy resource to delete.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/global/targetHttpProxies/{targetHttpProxy}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"get": { +"description": "Returns the specified TargetHttpProxy resource.", +"flatPath": "projects/{project}/global/targetHttpProxies/{targetHttpProxy}", +"httpMethod": "GET", +"id": "compute.targetHttpProxies.get", +"parameterOrder": [ +"project", +"targetHttpProxy" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"targetHttpProxy": { +"description": "Name of the TargetHttpProxy resource to return.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/global/targetHttpProxies/{targetHttpProxy}", +"response": { +"$ref": "TargetHttpProxy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"insert": { +"description": "Creates a TargetHttpProxy resource in the specified\nproject using the data included in the request.", +"flatPath": "projects/{project}/global/targetHttpProxies", +"httpMethod": "POST", +"id": "compute.targetHttpProxies.insert", +"parameterOrder": [ +"project" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "projects/{project}/global/targetHttpProxies", +"request": { +"$ref": "TargetHttpProxy" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"list": { +"description": "Retrieves the list of TargetHttpProxy resources available\nto the specified project.", +"flatPath": "projects/{project}/global/targetHttpProxies", +"httpMethod": "GET", +"id": "compute.targetHttpProxies.list", +"parameterOrder": [ +"project" +], +"parameters": { +"filter": { +"description": "A filter expression that filters resources listed in the response. Most\nCompute resources support two types of filter expressions:\nexpressions that support regular expressions and expressions that follow\nAPI improvement proposal AIP-160.\nThese two types of filter expressions cannot be mixed in one request.\n\nIf you want to use AIP-160, your expression must specify the field name, an\noperator, and the value that you want to use for filtering. The value\nmust be a string, a number, or a boolean. The operator\nmust be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.\n\nFor example, if you are filtering Compute Engine instances, you can\nexclude instances named `example-instance` by specifying\n`name != example-instance`.\n\nThe `:*` comparison can be used to test whether a key has been defined.\nFor example, to find all objects with `owner` label use:\n```\nlabels.owner:*\n```\n\nYou can also filter nested fields. For example, you could specify\n`scheduling.automaticRestart = false` to include instances only\nif they are not scheduled for automatic restarts. You can use filtering\non nested fields to filter based onresource labels.\n\nTo filter on multiple expressions, provide each separate expression within\nparentheses. For example:\n```\n(scheduling.automaticRestart = true)\n(cpuPlatform = \"Intel Skylake\")\n```\nBy default, each expression is an `AND` expression. However, you\ncan include `AND` and `OR` expressions explicitly.\nFor example:\n```\n(cpuPlatform = \"Intel Skylake\") OR\n(cpuPlatform = \"Intel Broadwell\") AND\n(scheduling.automaticRestart = true)\n```\n\nIf you want to use a regular expression, use the `eq` (equal) or `ne`\n(not equal) operator against a single un-parenthesized expression with or\nwithout quotes or against multiple parenthesized expressions. Examples:\n\n`fieldname eq unquoted literal`\n`fieldname eq 'single quoted literal'`\n`fieldname eq \"double quoted literal\"`\n`(fieldname1 eq literal) (fieldname2 ne \"literal\")`\n\nThe literal value is interpreted as a regular expression using GoogleRE2 library syntax.\nThe literal value must match the entire field.\n\nFor example, to filter for instances that do not end with name \"instance\",\nyou would use `name ne .*instance`.\n\nYou cannot combine constraints on multiple fields using regular\nexpressions.", +"location": "query", +"type": "string" +}, +"maxResults": { +"default": "500", +"description": "The maximum number of results per page that should be returned.\nIf the number of available results is larger than `maxResults`,\nCompute Engine returns a `nextPageToken` that can be used to get\nthe next page of results in subsequent list requests. Acceptable values are\n`0` to `500`, inclusive. (Default: `500`)", +"format": "uint32", +"location": "query", +"minimum": "0", +"type": "integer" +}, +"orderBy": { +"description": "Sorts list results by a certain order. By default, results\nare returned in alphanumerical order based on the resource name.\n\nYou can also sort results in descending order based on the creation\ntimestamp using `orderBy=\"creationTimestamp desc\"`. This sorts\nresults based on the `creationTimestamp` field in\nreverse chronological order (newest result first). Use this to sort\nresources like operations so that the newest operation is returned first.\n\nCurrently, only sorting by `name` or\n`creationTimestamp desc` is supported.", +"location": "query", +"type": "string" +}, +"pageToken": { +"description": "Specifies a page token to use. Set `pageToken` to the\n`nextPageToken` returned by a previous list request to get\nthe next page of results.", +"location": "query", +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"returnPartialSuccess": { +"description": "Opt-in for partial success behavior which provides partial results in case\nof failure. The default value is false.\n\nFor example, when partial success behavior is enabled, aggregatedList for a\nsingle zone scope either returns all resources in the zone or no resources,\nwith an error code.", +"location": "query", +"type": "boolean" +} +}, +"path": "projects/{project}/global/targetHttpProxies", +"response": { +"$ref": "TargetHttpProxyList" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"patch": { +"description": "Patches the specified TargetHttpProxy resource with the data included in\nthe request. This method supports PATCH\nsemantics and usesJSON merge\npatch format and processing rules.", +"flatPath": "projects/{project}/global/targetHttpProxies/{targetHttpProxy}", +"httpMethod": "PATCH", +"id": "compute.targetHttpProxies.patch", +"parameterOrder": [ +"project", +"targetHttpProxy" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"targetHttpProxy": { +"description": "Name of the TargetHttpProxy resource to patch.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/global/targetHttpProxies/{targetHttpProxy}", +"request": { +"$ref": "TargetHttpProxy" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"setUrlMap": { +"description": "Changes the URL map for TargetHttpProxy.", +"flatPath": "projects/{project}/targetHttpProxies/{targetHttpProxy}/setUrlMap", +"httpMethod": "POST", +"id": "compute.targetHttpProxies.setUrlMap", +"parameterOrder": [ +"project", +"targetHttpProxy" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"targetHttpProxy": { +"description": "Name of the TargetHttpProxy to set a URL map for.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/targetHttpProxies/{targetHttpProxy}/setUrlMap", +"request": { +"$ref": "UrlMapReference" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"testIamPermissions": { +"description": "Returns permissions that a caller has on the specified resource.", +"flatPath": "projects/{project}/global/targetHttpProxies/{resource}/testIamPermissions", +"httpMethod": "POST", +"id": "compute.targetHttpProxies.testIamPermissions", +"parameterOrder": [ +"project", +"resource" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"resource": { +"description": "Name or id of the resource for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9_]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/global/targetHttpProxies/{resource}/testIamPermissions", +"request": { +"$ref": "TestPermissionsRequest" +}, +"response": { +"$ref": "TestPermissionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +} +} +}, +"targetHttpsProxies": { +"methods": { +"aggregatedList": { +"description": "Retrieves the list of all TargetHttpsProxy resources, regional and global,\navailable to the specified project.\n\nTo prevent failure, Google recommends that you set the\n`returnPartialSuccess` parameter to `true`.", +"flatPath": "projects/{project}/aggregated/targetHttpsProxies", +"httpMethod": "GET", +"id": "compute.targetHttpsProxies.aggregatedList", +"parameterOrder": [ +"project" +], +"parameters": { +"filter": { +"description": "A filter expression that filters resources listed in the response. Most\nCompute resources support two types of filter expressions:\nexpressions that support regular expressions and expressions that follow\nAPI improvement proposal AIP-160.\nThese two types of filter expressions cannot be mixed in one request.\n\nIf you want to use AIP-160, your expression must specify the field name, an\noperator, and the value that you want to use for filtering. The value\nmust be a string, a number, or a boolean. The operator\nmust be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.\n\nFor example, if you are filtering Compute Engine instances, you can\nexclude instances named `example-instance` by specifying\n`name != example-instance`.\n\nThe `:*` comparison can be used to test whether a key has been defined.\nFor example, to find all objects with `owner` label use:\n```\nlabels.owner:*\n```\n\nYou can also filter nested fields. For example, you could specify\n`scheduling.automaticRestart = false` to include instances only\nif they are not scheduled for automatic restarts. You can use filtering\non nested fields to filter based onresource labels.\n\nTo filter on multiple expressions, provide each separate expression within\nparentheses. For example:\n```\n(scheduling.automaticRestart = true)\n(cpuPlatform = \"Intel Skylake\")\n```\nBy default, each expression is an `AND` expression. However, you\ncan include `AND` and `OR` expressions explicitly.\nFor example:\n```\n(cpuPlatform = \"Intel Skylake\") OR\n(cpuPlatform = \"Intel Broadwell\") AND\n(scheduling.automaticRestart = true)\n```\n\nIf you want to use a regular expression, use the `eq` (equal) or `ne`\n(not equal) operator against a single un-parenthesized expression with or\nwithout quotes or against multiple parenthesized expressions. Examples:\n\n`fieldname eq unquoted literal`\n`fieldname eq 'single quoted literal'`\n`fieldname eq \"double quoted literal\"`\n`(fieldname1 eq literal) (fieldname2 ne \"literal\")`\n\nThe literal value is interpreted as a regular expression using GoogleRE2 library syntax.\nThe literal value must match the entire field.\n\nFor example, to filter for instances that do not end with name \"instance\",\nyou would use `name ne .*instance`.\n\nYou cannot combine constraints on multiple fields using regular\nexpressions.", +"location": "query", +"type": "string" +}, +"includeAllScopes": { +"description": "Indicates whether every visible scope for each scope type (zone, region,\nglobal) should be included in the response. For new resource types added\nafter this field, the flag has no effect as new resource types will always\ninclude every visible scope for each scope type in response. For resource\ntypes which predate this field, if this flag is omitted or false, only\nscopes of the scope types where the resource type is expected to be found\nwill be included.", +"location": "query", +"type": "boolean" +}, +"maxResults": { +"default": "500", +"description": "The maximum number of results per page that should be returned.\nIf the number of available results is larger than `maxResults`,\nCompute Engine returns a `nextPageToken` that can be used to get\nthe next page of results in subsequent list requests. Acceptable values are\n`0` to `500`, inclusive. (Default: `500`)", +"format": "uint32", +"location": "query", +"minimum": "0", +"type": "integer" +}, +"orderBy": { +"description": "Sorts list results by a certain order. By default, results\nare returned in alphanumerical order based on the resource name.\n\nYou can also sort results in descending order based on the creation\ntimestamp using `orderBy=\"creationTimestamp desc\"`. This sorts\nresults based on the `creationTimestamp` field in\nreverse chronological order (newest result first). Use this to sort\nresources like operations so that the newest operation is returned first.\n\nCurrently, only sorting by `name` or\n`creationTimestamp desc` is supported.", +"location": "query", +"type": "string" +}, +"pageToken": { +"description": "Specifies a page token to use. Set `pageToken` to the\n`nextPageToken` returned by a previous list request to get\nthe next page of results.", +"location": "query", +"type": "string" +}, +"project": { +"description": "Name of the project scoping this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"returnPartialSuccess": { +"description": "Opt-in for partial success behavior which provides partial results in case\nof failure. The default value is false.\n\nFor example, when partial success behavior is enabled, aggregatedList for a\nsingle zone scope either returns all resources in the zone or no resources,\nwith an error code.", +"location": "query", +"type": "boolean" +}, +"serviceProjectNumber": { +"description": "The Shared VPC service project id or service project number for which\naggregated list request is invoked for subnetworks list-usable api.", +"format": "int64", +"location": "query", +"type": "string" +} +}, +"path": "projects/{project}/aggregated/targetHttpsProxies", +"response": { +"$ref": "TargetHttpsProxyAggregatedList" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"delete": { +"description": "Deletes the specified TargetHttpsProxy resource.", +"flatPath": "projects/{project}/global/targetHttpsProxies/{targetHttpsProxy}", +"httpMethod": "DELETE", +"id": "compute.targetHttpsProxies.delete", +"parameterOrder": [ +"project", +"targetHttpsProxy" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"targetHttpsProxy": { +"description": "Name of the TargetHttpsProxy resource to delete.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/global/targetHttpsProxies/{targetHttpsProxy}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"get": { +"description": "Returns the specified TargetHttpsProxy resource.", +"flatPath": "projects/{project}/global/targetHttpsProxies/{targetHttpsProxy}", +"httpMethod": "GET", +"id": "compute.targetHttpsProxies.get", +"parameterOrder": [ +"project", +"targetHttpsProxy" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"targetHttpsProxy": { +"description": "Name of the TargetHttpsProxy resource to return.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/global/targetHttpsProxies/{targetHttpsProxy}", +"response": { +"$ref": "TargetHttpsProxy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"insert": { +"description": "Creates a TargetHttpsProxy resource in the specified\nproject using the data included in the request.", +"flatPath": "projects/{project}/global/targetHttpsProxies", +"httpMethod": "POST", +"id": "compute.targetHttpsProxies.insert", +"parameterOrder": [ +"project" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "projects/{project}/global/targetHttpsProxies", +"request": { +"$ref": "TargetHttpsProxy" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"list": { +"description": "Retrieves the list of TargetHttpsProxy resources\navailable to the specified project.", +"flatPath": "projects/{project}/global/targetHttpsProxies", +"httpMethod": "GET", +"id": "compute.targetHttpsProxies.list", +"parameterOrder": [ +"project" +], +"parameters": { +"filter": { +"description": "A filter expression that filters resources listed in the response. Most\nCompute resources support two types of filter expressions:\nexpressions that support regular expressions and expressions that follow\nAPI improvement proposal AIP-160.\nThese two types of filter expressions cannot be mixed in one request.\n\nIf you want to use AIP-160, your expression must specify the field name, an\noperator, and the value that you want to use for filtering. The value\nmust be a string, a number, or a boolean. The operator\nmust be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.\n\nFor example, if you are filtering Compute Engine instances, you can\nexclude instances named `example-instance` by specifying\n`name != example-instance`.\n\nThe `:*` comparison can be used to test whether a key has been defined.\nFor example, to find all objects with `owner` label use:\n```\nlabels.owner:*\n```\n\nYou can also filter nested fields. For example, you could specify\n`scheduling.automaticRestart = false` to include instances only\nif they are not scheduled for automatic restarts. You can use filtering\non nested fields to filter based onresource labels.\n\nTo filter on multiple expressions, provide each separate expression within\nparentheses. For example:\n```\n(scheduling.automaticRestart = true)\n(cpuPlatform = \"Intel Skylake\")\n```\nBy default, each expression is an `AND` expression. However, you\ncan include `AND` and `OR` expressions explicitly.\nFor example:\n```\n(cpuPlatform = \"Intel Skylake\") OR\n(cpuPlatform = \"Intel Broadwell\") AND\n(scheduling.automaticRestart = true)\n```\n\nIf you want to use a regular expression, use the `eq` (equal) or `ne`\n(not equal) operator against a single un-parenthesized expression with or\nwithout quotes or against multiple parenthesized expressions. Examples:\n\n`fieldname eq unquoted literal`\n`fieldname eq 'single quoted literal'`\n`fieldname eq \"double quoted literal\"`\n`(fieldname1 eq literal) (fieldname2 ne \"literal\")`\n\nThe literal value is interpreted as a regular expression using GoogleRE2 library syntax.\nThe literal value must match the entire field.\n\nFor example, to filter for instances that do not end with name \"instance\",\nyou would use `name ne .*instance`.\n\nYou cannot combine constraints on multiple fields using regular\nexpressions.", +"location": "query", +"type": "string" +}, +"maxResults": { +"default": "500", +"description": "The maximum number of results per page that should be returned.\nIf the number of available results is larger than `maxResults`,\nCompute Engine returns a `nextPageToken` that can be used to get\nthe next page of results in subsequent list requests. Acceptable values are\n`0` to `500`, inclusive. (Default: `500`)", +"format": "uint32", +"location": "query", +"minimum": "0", +"type": "integer" +}, +"orderBy": { +"description": "Sorts list results by a certain order. By default, results\nare returned in alphanumerical order based on the resource name.\n\nYou can also sort results in descending order based on the creation\ntimestamp using `orderBy=\"creationTimestamp desc\"`. This sorts\nresults based on the `creationTimestamp` field in\nreverse chronological order (newest result first). Use this to sort\nresources like operations so that the newest operation is returned first.\n\nCurrently, only sorting by `name` or\n`creationTimestamp desc` is supported.", +"location": "query", +"type": "string" +}, +"pageToken": { +"description": "Specifies a page token to use. Set `pageToken` to the\n`nextPageToken` returned by a previous list request to get\nthe next page of results.", +"location": "query", +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"returnPartialSuccess": { +"description": "Opt-in for partial success behavior which provides partial results in case\nof failure. The default value is false.\n\nFor example, when partial success behavior is enabled, aggregatedList for a\nsingle zone scope either returns all resources in the zone or no resources,\nwith an error code.", +"location": "query", +"type": "boolean" +} +}, +"path": "projects/{project}/global/targetHttpsProxies", +"response": { +"$ref": "TargetHttpsProxyList" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"patch": { +"description": "Patches the specified TargetHttpsProxy resource with the data included in\nthe request. This method supports PATCH\nsemantics and usesJSON merge\npatch format and processing rules.", +"flatPath": "projects/{project}/global/targetHttpsProxies/{targetHttpsProxy}", +"httpMethod": "PATCH", +"id": "compute.targetHttpsProxies.patch", +"parameterOrder": [ +"project", +"targetHttpsProxy" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"targetHttpsProxy": { +"description": "Name of the TargetHttpsProxy resource to patch.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/global/targetHttpsProxies/{targetHttpsProxy}", +"request": { +"$ref": "TargetHttpsProxy" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"setCertificateMap": { +"description": "Changes the Certificate Map for TargetHttpsProxy.", +"flatPath": "projects/{project}/global/targetHttpsProxies/{targetHttpsProxy}/setCertificateMap", +"httpMethod": "POST", +"id": "compute.targetHttpsProxies.setCertificateMap", +"parameterOrder": [ +"project", +"targetHttpsProxy" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"targetHttpsProxy": { +"description": "Name of the TargetHttpsProxy resource whose CertificateMap is\nto be set. The name must be 1-63 characters long, and comply with RFC1035.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/global/targetHttpsProxies/{targetHttpsProxy}/setCertificateMap", +"request": { +"$ref": "TargetHttpsProxiesSetCertificateMapRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"setQuicOverride": { +"description": "Sets the QUIC override policy for TargetHttpsProxy.", +"flatPath": "projects/{project}/global/targetHttpsProxies/{targetHttpsProxy}/setQuicOverride", +"httpMethod": "POST", +"id": "compute.targetHttpsProxies.setQuicOverride", +"parameterOrder": [ +"project", +"targetHttpsProxy" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"targetHttpsProxy": { +"description": "Name of the TargetHttpsProxy resource to set the QUIC override policy for.\nThe name should conform to RFC1035.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/global/targetHttpsProxies/{targetHttpsProxy}/setQuicOverride", +"request": { +"$ref": "TargetHttpsProxiesSetQuicOverrideRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"setSslCertificates": { +"description": "Replaces SslCertificates for TargetHttpsProxy.", +"flatPath": "projects/{project}/targetHttpsProxies/{targetHttpsProxy}/setSslCertificates", +"httpMethod": "POST", +"id": "compute.targetHttpsProxies.setSslCertificates", +"parameterOrder": [ +"project", +"targetHttpsProxy" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"targetHttpsProxy": { +"description": "Name of the TargetHttpsProxy resource to set an\nSslCertificates resource for.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/targetHttpsProxies/{targetHttpsProxy}/setSslCertificates", +"request": { +"$ref": "TargetHttpsProxiesSetSslCertificatesRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"setSslPolicy": { +"description": "Sets the SSL policy for TargetHttpsProxy. The SSL policy specifies the\nserver-side support for SSL features. This affects connections between\nclients and the HTTPS proxy load balancer. They do not affect the\nconnection between the load balancer and the backends.", +"flatPath": "projects/{project}/global/targetHttpsProxies/{targetHttpsProxy}/setSslPolicy", +"httpMethod": "POST", +"id": "compute.targetHttpsProxies.setSslPolicy", +"parameterOrder": [ +"project", +"targetHttpsProxy" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"targetHttpsProxy": { +"description": "Name of the TargetHttpsProxy resource whose SSL policy is\nto be set. The name must be 1-63 characters long, and comply with RFC1035.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/global/targetHttpsProxies/{targetHttpsProxy}/setSslPolicy", +"request": { +"$ref": "SslPolicyReference" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"setUrlMap": { +"description": "Changes the URL map for TargetHttpsProxy.", +"flatPath": "projects/{project}/targetHttpsProxies/{targetHttpsProxy}/setUrlMap", +"httpMethod": "POST", +"id": "compute.targetHttpsProxies.setUrlMap", +"parameterOrder": [ +"project", +"targetHttpsProxy" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"targetHttpsProxy": { +"description": "Name of the TargetHttpsProxy resource whose URL map is\nto be set.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/targetHttpsProxies/{targetHttpsProxy}/setUrlMap", +"request": { +"$ref": "UrlMapReference" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"testIamPermissions": { +"description": "Returns permissions that a caller has on the specified resource.", +"flatPath": "projects/{project}/global/targetHttpsProxies/{resource}/testIamPermissions", +"httpMethod": "POST", +"id": "compute.targetHttpsProxies.testIamPermissions", +"parameterOrder": [ +"project", +"resource" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"resource": { +"description": "Name or id of the resource for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9_]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/global/targetHttpsProxies/{resource}/testIamPermissions", +"request": { +"$ref": "TestPermissionsRequest" +}, +"response": { +"$ref": "TestPermissionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +} +} +}, +"targetInstances": { +"methods": { +"aggregatedList": { +"description": "Retrieves an aggregated list of target instances.\n\nTo prevent failure, Google recommends that you set the\n`returnPartialSuccess` parameter to `true`.", +"flatPath": "projects/{project}/aggregated/targetInstances", +"httpMethod": "GET", +"id": "compute.targetInstances.aggregatedList", +"parameterOrder": [ +"project" +], +"parameters": { +"filter": { +"description": "A filter expression that filters resources listed in the response. Most\nCompute resources support two types of filter expressions:\nexpressions that support regular expressions and expressions that follow\nAPI improvement proposal AIP-160.\nThese two types of filter expressions cannot be mixed in one request.\n\nIf you want to use AIP-160, your expression must specify the field name, an\noperator, and the value that you want to use for filtering. The value\nmust be a string, a number, or a boolean. The operator\nmust be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.\n\nFor example, if you are filtering Compute Engine instances, you can\nexclude instances named `example-instance` by specifying\n`name != example-instance`.\n\nThe `:*` comparison can be used to test whether a key has been defined.\nFor example, to find all objects with `owner` label use:\n```\nlabels.owner:*\n```\n\nYou can also filter nested fields. For example, you could specify\n`scheduling.automaticRestart = false` to include instances only\nif they are not scheduled for automatic restarts. You can use filtering\non nested fields to filter based onresource labels.\n\nTo filter on multiple expressions, provide each separate expression within\nparentheses. For example:\n```\n(scheduling.automaticRestart = true)\n(cpuPlatform = \"Intel Skylake\")\n```\nBy default, each expression is an `AND` expression. However, you\ncan include `AND` and `OR` expressions explicitly.\nFor example:\n```\n(cpuPlatform = \"Intel Skylake\") OR\n(cpuPlatform = \"Intel Broadwell\") AND\n(scheduling.automaticRestart = true)\n```\n\nIf you want to use a regular expression, use the `eq` (equal) or `ne`\n(not equal) operator against a single un-parenthesized expression with or\nwithout quotes or against multiple parenthesized expressions. Examples:\n\n`fieldname eq unquoted literal`\n`fieldname eq 'single quoted literal'`\n`fieldname eq \"double quoted literal\"`\n`(fieldname1 eq literal) (fieldname2 ne \"literal\")`\n\nThe literal value is interpreted as a regular expression using GoogleRE2 library syntax.\nThe literal value must match the entire field.\n\nFor example, to filter for instances that do not end with name \"instance\",\nyou would use `name ne .*instance`.\n\nYou cannot combine constraints on multiple fields using regular\nexpressions.", +"location": "query", +"type": "string" +}, +"includeAllScopes": { +"description": "Indicates whether every visible scope for each scope type (zone, region,\nglobal) should be included in the response. For new resource types added\nafter this field, the flag has no effect as new resource types will always\ninclude every visible scope for each scope type in response. For resource\ntypes which predate this field, if this flag is omitted or false, only\nscopes of the scope types where the resource type is expected to be found\nwill be included.", +"location": "query", +"type": "boolean" +}, +"maxResults": { +"default": "500", +"description": "The maximum number of results per page that should be returned.\nIf the number of available results is larger than `maxResults`,\nCompute Engine returns a `nextPageToken` that can be used to get\nthe next page of results in subsequent list requests. Acceptable values are\n`0` to `500`, inclusive. (Default: `500`)", +"format": "uint32", +"location": "query", +"minimum": "0", +"type": "integer" +}, +"orderBy": { +"description": "Sorts list results by a certain order. By default, results\nare returned in alphanumerical order based on the resource name.\n\nYou can also sort results in descending order based on the creation\ntimestamp using `orderBy=\"creationTimestamp desc\"`. This sorts\nresults based on the `creationTimestamp` field in\nreverse chronological order (newest result first). Use this to sort\nresources like operations so that the newest operation is returned first.\n\nCurrently, only sorting by `name` or\n`creationTimestamp desc` is supported.", +"location": "query", +"type": "string" +}, +"pageToken": { +"description": "Specifies a page token to use. Set `pageToken` to the\n`nextPageToken` returned by a previous list request to get\nthe next page of results.", +"location": "query", +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"returnPartialSuccess": { +"description": "Opt-in for partial success behavior which provides partial results in case\nof failure. The default value is false.\n\nFor example, when partial success behavior is enabled, aggregatedList for a\nsingle zone scope either returns all resources in the zone or no resources,\nwith an error code.", +"location": "query", +"type": "boolean" +}, +"serviceProjectNumber": { +"description": "The Shared VPC service project id or service project number for which\naggregated list request is invoked for subnetworks list-usable api.", +"format": "int64", +"location": "query", +"type": "string" +} +}, +"path": "projects/{project}/aggregated/targetInstances", +"response": { +"$ref": "TargetInstanceAggregatedList" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"delete": { +"description": "Deletes the specified TargetInstance resource.", +"flatPath": "projects/{project}/zones/{zone}/targetInstances/{targetInstance}", +"httpMethod": "DELETE", +"id": "compute.targetInstances.delete", +"parameterOrder": [ +"project", +"zone", +"targetInstance" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"targetInstance": { +"description": "Name of the TargetInstance resource to delete.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +}, +"zone": { +"description": "Name of the zone scoping this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/zones/{zone}/targetInstances/{targetInstance}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"get": { +"description": "Returns the specified TargetInstance resource.", +"flatPath": "projects/{project}/zones/{zone}/targetInstances/{targetInstance}", +"httpMethod": "GET", +"id": "compute.targetInstances.get", +"parameterOrder": [ +"project", +"zone", +"targetInstance" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"targetInstance": { +"description": "Name of the TargetInstance resource to return.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +}, +"zone": { +"description": "Name of the zone scoping this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/zones/{zone}/targetInstances/{targetInstance}", +"response": { +"$ref": "TargetInstance" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"insert": { +"description": "Creates a TargetInstance resource in the specified project and zone using\nthe data included in the request.", +"flatPath": "projects/{project}/zones/{zone}/targetInstances", +"httpMethod": "POST", +"id": "compute.targetInstances.insert", +"parameterOrder": [ +"project", +"zone" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"zone": { +"description": "Name of the zone scoping this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/zones/{zone}/targetInstances", +"request": { +"$ref": "TargetInstance" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"list": { +"description": "Retrieves a list of TargetInstance resources available to the specified\nproject and zone.", +"flatPath": "projects/{project}/zones/{zone}/targetInstances", +"httpMethod": "GET", +"id": "compute.targetInstances.list", +"parameterOrder": [ +"project", +"zone" +], +"parameters": { +"filter": { +"description": "A filter expression that filters resources listed in the response. Most\nCompute resources support two types of filter expressions:\nexpressions that support regular expressions and expressions that follow\nAPI improvement proposal AIP-160.\nThese two types of filter expressions cannot be mixed in one request.\n\nIf you want to use AIP-160, your expression must specify the field name, an\noperator, and the value that you want to use for filtering. The value\nmust be a string, a number, or a boolean. The operator\nmust be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.\n\nFor example, if you are filtering Compute Engine instances, you can\nexclude instances named `example-instance` by specifying\n`name != example-instance`.\n\nThe `:*` comparison can be used to test whether a key has been defined.\nFor example, to find all objects with `owner` label use:\n```\nlabels.owner:*\n```\n\nYou can also filter nested fields. For example, you could specify\n`scheduling.automaticRestart = false` to include instances only\nif they are not scheduled for automatic restarts. You can use filtering\non nested fields to filter based onresource labels.\n\nTo filter on multiple expressions, provide each separate expression within\nparentheses. For example:\n```\n(scheduling.automaticRestart = true)\n(cpuPlatform = \"Intel Skylake\")\n```\nBy default, each expression is an `AND` expression. However, you\ncan include `AND` and `OR` expressions explicitly.\nFor example:\n```\n(cpuPlatform = \"Intel Skylake\") OR\n(cpuPlatform = \"Intel Broadwell\") AND\n(scheduling.automaticRestart = true)\n```\n\nIf you want to use a regular expression, use the `eq` (equal) or `ne`\n(not equal) operator against a single un-parenthesized expression with or\nwithout quotes or against multiple parenthesized expressions. Examples:\n\n`fieldname eq unquoted literal`\n`fieldname eq 'single quoted literal'`\n`fieldname eq \"double quoted literal\"`\n`(fieldname1 eq literal) (fieldname2 ne \"literal\")`\n\nThe literal value is interpreted as a regular expression using GoogleRE2 library syntax.\nThe literal value must match the entire field.\n\nFor example, to filter for instances that do not end with name \"instance\",\nyou would use `name ne .*instance`.\n\nYou cannot combine constraints on multiple fields using regular\nexpressions.", +"location": "query", +"type": "string" +}, +"maxResults": { +"default": "500", +"description": "The maximum number of results per page that should be returned.\nIf the number of available results is larger than `maxResults`,\nCompute Engine returns a `nextPageToken` that can be used to get\nthe next page of results in subsequent list requests. Acceptable values are\n`0` to `500`, inclusive. (Default: `500`)", +"format": "uint32", +"location": "query", +"minimum": "0", +"type": "integer" +}, +"orderBy": { +"description": "Sorts list results by a certain order. By default, results\nare returned in alphanumerical order based on the resource name.\n\nYou can also sort results in descending order based on the creation\ntimestamp using `orderBy=\"creationTimestamp desc\"`. This sorts\nresults based on the `creationTimestamp` field in\nreverse chronological order (newest result first). Use this to sort\nresources like operations so that the newest operation is returned first.\n\nCurrently, only sorting by `name` or\n`creationTimestamp desc` is supported.", +"location": "query", +"type": "string" +}, +"pageToken": { +"description": "Specifies a page token to use. Set `pageToken` to the\n`nextPageToken` returned by a previous list request to get\nthe next page of results.", +"location": "query", +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"returnPartialSuccess": { +"description": "Opt-in for partial success behavior which provides partial results in case\nof failure. The default value is false.\n\nFor example, when partial success behavior is enabled, aggregatedList for a\nsingle zone scope either returns all resources in the zone or no resources,\nwith an error code.", +"location": "query", +"type": "boolean" +}, +"zone": { +"description": "Name of the zone scoping this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/zones/{zone}/targetInstances", +"response": { +"$ref": "TargetInstanceList" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"setSecurityPolicy": { +"description": "Sets the Google Cloud Armor security policy for the specified target\ninstance. For more information, seeGoogle\nCloud Armor Overview", +"flatPath": "projects/{project}/zones/{zone}/targetInstances/{targetInstance}/setSecurityPolicy", +"httpMethod": "POST", +"id": "compute.targetInstances.setSecurityPolicy", +"parameterOrder": [ +"project", +"zone", +"targetInstance" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"targetInstance": { +"description": "Name of the TargetInstance resource to which the security policy should be\nset. The name should conform to RFC1035.", +"location": "path", +"required": true, +"type": "string" +}, +"zone": { +"description": "Name of the zone scoping this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/zones/{zone}/targetInstances/{targetInstance}/setSecurityPolicy", +"request": { +"$ref": "SecurityPolicyReference" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"testIamPermissions": { +"description": "Returns permissions that a caller has on the specified resource.", +"flatPath": "projects/{project}/zones/{zone}/targetInstances/{resource}/testIamPermissions", +"httpMethod": "POST", +"id": "compute.targetInstances.testIamPermissions", +"parameterOrder": [ +"project", +"zone", +"resource" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"resource": { +"description": "Name or id of the resource for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +}, +"zone": { +"description": "The name of the zone for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/zones/{zone}/targetInstances/{resource}/testIamPermissions", +"request": { +"$ref": "TestPermissionsRequest" +}, +"response": { +"$ref": "TestPermissionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +} +} +}, +"targetPools": { +"methods": { +"addHealthCheck": { +"description": "Adds health check URLs to a target pool.", +"flatPath": "projects/{project}/regions/{region}/targetPools/{targetPool}/addHealthCheck", +"httpMethod": "POST", +"id": "compute.targetPools.addHealthCheck", +"parameterOrder": [ +"project", +"region", +"targetPool" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "Name of the region scoping this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"targetPool": { +"description": "Name of the target pool to add a health check to.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/regions/{region}/targetPools/{targetPool}/addHealthCheck", +"request": { +"$ref": "TargetPoolsAddHealthCheckRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"addInstance": { +"description": "Adds an instance to a target pool.", +"flatPath": "projects/{project}/regions/{region}/targetPools/{targetPool}/addInstance", +"httpMethod": "POST", +"id": "compute.targetPools.addInstance", +"parameterOrder": [ +"project", +"region", +"targetPool" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "Name of the region scoping this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"targetPool": { +"description": "Name of the TargetPool resource to add instances to.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/regions/{region}/targetPools/{targetPool}/addInstance", +"request": { +"$ref": "TargetPoolsAddInstanceRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"aggregatedList": { +"description": "Retrieves an aggregated list of target pools.\n\nTo prevent failure, Google recommends that you set the\n`returnPartialSuccess` parameter to `true`.", +"flatPath": "projects/{project}/aggregated/targetPools", +"httpMethod": "GET", +"id": "compute.targetPools.aggregatedList", +"parameterOrder": [ +"project" +], +"parameters": { +"filter": { +"description": "A filter expression that filters resources listed in the response. Most\nCompute resources support two types of filter expressions:\nexpressions that support regular expressions and expressions that follow\nAPI improvement proposal AIP-160.\nThese two types of filter expressions cannot be mixed in one request.\n\nIf you want to use AIP-160, your expression must specify the field name, an\noperator, and the value that you want to use for filtering. The value\nmust be a string, a number, or a boolean. The operator\nmust be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.\n\nFor example, if you are filtering Compute Engine instances, you can\nexclude instances named `example-instance` by specifying\n`name != example-instance`.\n\nThe `:*` comparison can be used to test whether a key has been defined.\nFor example, to find all objects with `owner` label use:\n```\nlabels.owner:*\n```\n\nYou can also filter nested fields. For example, you could specify\n`scheduling.automaticRestart = false` to include instances only\nif they are not scheduled for automatic restarts. You can use filtering\non nested fields to filter based onresource labels.\n\nTo filter on multiple expressions, provide each separate expression within\nparentheses. For example:\n```\n(scheduling.automaticRestart = true)\n(cpuPlatform = \"Intel Skylake\")\n```\nBy default, each expression is an `AND` expression. However, you\ncan include `AND` and `OR` expressions explicitly.\nFor example:\n```\n(cpuPlatform = \"Intel Skylake\") OR\n(cpuPlatform = \"Intel Broadwell\") AND\n(scheduling.automaticRestart = true)\n```\n\nIf you want to use a regular expression, use the `eq` (equal) or `ne`\n(not equal) operator against a single un-parenthesized expression with or\nwithout quotes or against multiple parenthesized expressions. Examples:\n\n`fieldname eq unquoted literal`\n`fieldname eq 'single quoted literal'`\n`fieldname eq \"double quoted literal\"`\n`(fieldname1 eq literal) (fieldname2 ne \"literal\")`\n\nThe literal value is interpreted as a regular expression using GoogleRE2 library syntax.\nThe literal value must match the entire field.\n\nFor example, to filter for instances that do not end with name \"instance\",\nyou would use `name ne .*instance`.\n\nYou cannot combine constraints on multiple fields using regular\nexpressions.", +"location": "query", +"type": "string" +}, +"includeAllScopes": { +"description": "Indicates whether every visible scope for each scope type (zone, region,\nglobal) should be included in the response. For new resource types added\nafter this field, the flag has no effect as new resource types will always\ninclude every visible scope for each scope type in response. For resource\ntypes which predate this field, if this flag is omitted or false, only\nscopes of the scope types where the resource type is expected to be found\nwill be included.", +"location": "query", +"type": "boolean" +}, +"maxResults": { +"default": "500", +"description": "The maximum number of results per page that should be returned.\nIf the number of available results is larger than `maxResults`,\nCompute Engine returns a `nextPageToken` that can be used to get\nthe next page of results in subsequent list requests. Acceptable values are\n`0` to `500`, inclusive. (Default: `500`)", +"format": "uint32", +"location": "query", +"minimum": "0", +"type": "integer" +}, +"orderBy": { +"description": "Sorts list results by a certain order. By default, results\nare returned in alphanumerical order based on the resource name.\n\nYou can also sort results in descending order based on the creation\ntimestamp using `orderBy=\"creationTimestamp desc\"`. This sorts\nresults based on the `creationTimestamp` field in\nreverse chronological order (newest result first). Use this to sort\nresources like operations so that the newest operation is returned first.\n\nCurrently, only sorting by `name` or\n`creationTimestamp desc` is supported.", +"location": "query", +"type": "string" +}, +"pageToken": { +"description": "Specifies a page token to use. Set `pageToken` to the\n`nextPageToken` returned by a previous list request to get\nthe next page of results.", +"location": "query", +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"returnPartialSuccess": { +"description": "Opt-in for partial success behavior which provides partial results in case\nof failure. The default value is false.\n\nFor example, when partial success behavior is enabled, aggregatedList for a\nsingle zone scope either returns all resources in the zone or no resources,\nwith an error code.", +"location": "query", +"type": "boolean" +}, +"serviceProjectNumber": { +"description": "The Shared VPC service project id or service project number for which\naggregated list request is invoked for subnetworks list-usable api.", +"format": "int64", +"location": "query", +"type": "string" +} +}, +"path": "projects/{project}/aggregated/targetPools", +"response": { +"$ref": "TargetPoolAggregatedList" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"delete": { +"description": "Deletes the specified target pool.", +"flatPath": "projects/{project}/regions/{region}/targetPools/{targetPool}", +"httpMethod": "DELETE", +"id": "compute.targetPools.delete", +"parameterOrder": [ +"project", +"region", +"targetPool" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "Name of the region scoping this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"targetPool": { +"description": "Name of the TargetPool resource to delete.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/regions/{region}/targetPools/{targetPool}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"get": { +"description": "Returns the specified target pool.", +"flatPath": "projects/{project}/regions/{region}/targetPools/{targetPool}", +"httpMethod": "GET", +"id": "compute.targetPools.get", +"parameterOrder": [ +"project", +"region", +"targetPool" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "Name of the region scoping this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +}, +"targetPool": { +"description": "Name of the TargetPool resource to return.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/regions/{region}/targetPools/{targetPool}", +"response": { +"$ref": "TargetPool" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"getHealth": { +"description": "Gets the most recent health check results for each IP for the\ninstance that is referenced by the given target pool.", +"flatPath": "projects/{project}/regions/{region}/targetPools/{targetPool}/getHealth", +"httpMethod": "POST", +"id": "compute.targetPools.getHealth", +"parameterOrder": [ +"project", +"region", +"targetPool" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "Name of the region scoping this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +}, +"targetPool": { +"description": "Name of the TargetPool resource to which the queried instance belongs.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/regions/{region}/targetPools/{targetPool}/getHealth", +"request": { +"$ref": "InstanceReference" +}, +"response": { +"$ref": "TargetPoolInstanceHealth" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"insert": { +"description": "Creates a target pool in the specified project and region using\nthe data included in the request.", +"flatPath": "projects/{project}/regions/{region}/targetPools", +"httpMethod": "POST", +"id": "compute.targetPools.insert", +"parameterOrder": [ +"project", +"region" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "Name of the region scoping this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "projects/{project}/regions/{region}/targetPools", +"request": { +"$ref": "TargetPool" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"list": { +"description": "Retrieves a list of target pools available to the specified\nproject and region.", +"flatPath": "projects/{project}/regions/{region}/targetPools", +"httpMethod": "GET", +"id": "compute.targetPools.list", +"parameterOrder": [ +"project", +"region" +], +"parameters": { +"filter": { +"description": "A filter expression that filters resources listed in the response. Most\nCompute resources support two types of filter expressions:\nexpressions that support regular expressions and expressions that follow\nAPI improvement proposal AIP-160.\nThese two types of filter expressions cannot be mixed in one request.\n\nIf you want to use AIP-160, your expression must specify the field name, an\noperator, and the value that you want to use for filtering. The value\nmust be a string, a number, or a boolean. The operator\nmust be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.\n\nFor example, if you are filtering Compute Engine instances, you can\nexclude instances named `example-instance` by specifying\n`name != example-instance`.\n\nThe `:*` comparison can be used to test whether a key has been defined.\nFor example, to find all objects with `owner` label use:\n```\nlabels.owner:*\n```\n\nYou can also filter nested fields. For example, you could specify\n`scheduling.automaticRestart = false` to include instances only\nif they are not scheduled for automatic restarts. You can use filtering\non nested fields to filter based onresource labels.\n\nTo filter on multiple expressions, provide each separate expression within\nparentheses. For example:\n```\n(scheduling.automaticRestart = true)\n(cpuPlatform = \"Intel Skylake\")\n```\nBy default, each expression is an `AND` expression. However, you\ncan include `AND` and `OR` expressions explicitly.\nFor example:\n```\n(cpuPlatform = \"Intel Skylake\") OR\n(cpuPlatform = \"Intel Broadwell\") AND\n(scheduling.automaticRestart = true)\n```\n\nIf you want to use a regular expression, use the `eq` (equal) or `ne`\n(not equal) operator against a single un-parenthesized expression with or\nwithout quotes or against multiple parenthesized expressions. Examples:\n\n`fieldname eq unquoted literal`\n`fieldname eq 'single quoted literal'`\n`fieldname eq \"double quoted literal\"`\n`(fieldname1 eq literal) (fieldname2 ne \"literal\")`\n\nThe literal value is interpreted as a regular expression using GoogleRE2 library syntax.\nThe literal value must match the entire field.\n\nFor example, to filter for instances that do not end with name \"instance\",\nyou would use `name ne .*instance`.\n\nYou cannot combine constraints on multiple fields using regular\nexpressions.", +"location": "query", +"type": "string" +}, +"maxResults": { +"default": "500", +"description": "The maximum number of results per page that should be returned.\nIf the number of available results is larger than `maxResults`,\nCompute Engine returns a `nextPageToken` that can be used to get\nthe next page of results in subsequent list requests. Acceptable values are\n`0` to `500`, inclusive. (Default: `500`)", +"format": "uint32", +"location": "query", +"minimum": "0", +"type": "integer" +}, +"orderBy": { +"description": "Sorts list results by a certain order. By default, results\nare returned in alphanumerical order based on the resource name.\n\nYou can also sort results in descending order based on the creation\ntimestamp using `orderBy=\"creationTimestamp desc\"`. This sorts\nresults based on the `creationTimestamp` field in\nreverse chronological order (newest result first). Use this to sort\nresources like operations so that the newest operation is returned first.\n\nCurrently, only sorting by `name` or\n`creationTimestamp desc` is supported.", +"location": "query", +"type": "string" +}, +"pageToken": { +"description": "Specifies a page token to use. Set `pageToken` to the\n`nextPageToken` returned by a previous list request to get\nthe next page of results.", +"location": "query", +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "Name of the region scoping this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +}, +"returnPartialSuccess": { +"description": "Opt-in for partial success behavior which provides partial results in case\nof failure. The default value is false.\n\nFor example, when partial success behavior is enabled, aggregatedList for a\nsingle zone scope either returns all resources in the zone or no resources,\nwith an error code.", +"location": "query", +"type": "boolean" +} +}, +"path": "projects/{project}/regions/{region}/targetPools", +"response": { +"$ref": "TargetPoolList" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"removeHealthCheck": { +"description": "Removes health check URL from a target pool.", +"flatPath": "projects/{project}/regions/{region}/targetPools/{targetPool}/removeHealthCheck", +"httpMethod": "POST", +"id": "compute.targetPools.removeHealthCheck", +"parameterOrder": [ +"project", +"region", +"targetPool" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "Name of the region for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"targetPool": { +"description": "Name of the target pool to remove health checks from.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/regions/{region}/targetPools/{targetPool}/removeHealthCheck", +"request": { +"$ref": "TargetPoolsRemoveHealthCheckRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"removeInstance": { +"description": "Removes instance URL from a target pool.", +"flatPath": "projects/{project}/regions/{region}/targetPools/{targetPool}/removeInstance", +"httpMethod": "POST", +"id": "compute.targetPools.removeInstance", +"parameterOrder": [ +"project", +"region", +"targetPool" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "Name of the region scoping this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"targetPool": { +"description": "Name of the TargetPool resource to remove instances from.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/regions/{region}/targetPools/{targetPool}/removeInstance", +"request": { +"$ref": "TargetPoolsRemoveInstanceRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"setBackup": { +"description": "Changes a backup target pool's configurations.", +"flatPath": "projects/{project}/regions/{region}/targetPools/{targetPool}/setBackup", +"httpMethod": "POST", +"id": "compute.targetPools.setBackup", +"parameterOrder": [ +"project", +"region", +"targetPool" +], +"parameters": { +"failoverRatio": { +"description": "New failoverRatio value for the target pool.", +"format": "float", +"location": "query", +"type": "number" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "Name of the region scoping this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"targetPool": { +"description": "Name of the TargetPool resource to set a backup pool for.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/regions/{region}/targetPools/{targetPool}/setBackup", +"request": { +"$ref": "TargetReference" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"setSecurityPolicy": { +"description": "Sets the Google Cloud Armor security policy for the specified target pool.\nFor more information, seeGoogle\nCloud Armor Overview", +"flatPath": "projects/{project}/regions/{region}/targetPools/{targetPool}/setSecurityPolicy", +"httpMethod": "POST", +"id": "compute.targetPools.setSecurityPolicy", +"parameterOrder": [ +"project", +"region", +"targetPool" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "Name of the region scoping this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"targetPool": { +"description": "Name of the TargetPool resource to which the security policy should be\nset. The name should conform to RFC1035.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/regions/{region}/targetPools/{targetPool}/setSecurityPolicy", +"request": { +"$ref": "SecurityPolicyReference" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"testIamPermissions": { +"description": "Returns permissions that a caller has on the specified resource.", +"flatPath": "projects/{project}/regions/{region}/targetPools/{resource}/testIamPermissions", +"httpMethod": "POST", +"id": "compute.targetPools.testIamPermissions", +"parameterOrder": [ +"project", +"region", +"resource" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "The name of the region for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +}, +"resource": { +"description": "Name or id of the resource for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/regions/{region}/targetPools/{resource}/testIamPermissions", +"request": { +"$ref": "TestPermissionsRequest" +}, +"response": { +"$ref": "TestPermissionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +} +} +}, +"targetSslProxies": { +"methods": { +"delete": { +"description": "Deletes the specified TargetSslProxy resource.", +"flatPath": "projects/{project}/global/targetSslProxies/{targetSslProxy}", +"httpMethod": "DELETE", +"id": "compute.targetSslProxies.delete", +"parameterOrder": [ +"project", +"targetSslProxy" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"targetSslProxy": { +"description": "Name of the TargetSslProxy resource to delete.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/global/targetSslProxies/{targetSslProxy}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"get": { +"description": "Returns the specified TargetSslProxy resource.", +"flatPath": "projects/{project}/global/targetSslProxies/{targetSslProxy}", +"httpMethod": "GET", +"id": "compute.targetSslProxies.get", +"parameterOrder": [ +"project", +"targetSslProxy" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"targetSslProxy": { +"description": "Name of the TargetSslProxy resource to return.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/global/targetSslProxies/{targetSslProxy}", +"response": { +"$ref": "TargetSslProxy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"insert": { +"description": "Creates a TargetSslProxy resource in the specified project using\nthe data included in the request.", +"flatPath": "projects/{project}/global/targetSslProxies", +"httpMethod": "POST", +"id": "compute.targetSslProxies.insert", +"parameterOrder": [ +"project" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "projects/{project}/global/targetSslProxies", +"request": { +"$ref": "TargetSslProxy" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"list": { +"description": "Retrieves the list of TargetSslProxy resources\navailable to the specified project.", +"flatPath": "projects/{project}/global/targetSslProxies", +"httpMethod": "GET", +"id": "compute.targetSslProxies.list", +"parameterOrder": [ +"project" +], +"parameters": { +"filter": { +"description": "A filter expression that filters resources listed in the response. Most\nCompute resources support two types of filter expressions:\nexpressions that support regular expressions and expressions that follow\nAPI improvement proposal AIP-160.\nThese two types of filter expressions cannot be mixed in one request.\n\nIf you want to use AIP-160, your expression must specify the field name, an\noperator, and the value that you want to use for filtering. The value\nmust be a string, a number, or a boolean. The operator\nmust be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.\n\nFor example, if you are filtering Compute Engine instances, you can\nexclude instances named `example-instance` by specifying\n`name != example-instance`.\n\nThe `:*` comparison can be used to test whether a key has been defined.\nFor example, to find all objects with `owner` label use:\n```\nlabels.owner:*\n```\n\nYou can also filter nested fields. For example, you could specify\n`scheduling.automaticRestart = false` to include instances only\nif they are not scheduled for automatic restarts. You can use filtering\non nested fields to filter based onresource labels.\n\nTo filter on multiple expressions, provide each separate expression within\nparentheses. For example:\n```\n(scheduling.automaticRestart = true)\n(cpuPlatform = \"Intel Skylake\")\n```\nBy default, each expression is an `AND` expression. However, you\ncan include `AND` and `OR` expressions explicitly.\nFor example:\n```\n(cpuPlatform = \"Intel Skylake\") OR\n(cpuPlatform = \"Intel Broadwell\") AND\n(scheduling.automaticRestart = true)\n```\n\nIf you want to use a regular expression, use the `eq` (equal) or `ne`\n(not equal) operator against a single un-parenthesized expression with or\nwithout quotes or against multiple parenthesized expressions. Examples:\n\n`fieldname eq unquoted literal`\n`fieldname eq 'single quoted literal'`\n`fieldname eq \"double quoted literal\"`\n`(fieldname1 eq literal) (fieldname2 ne \"literal\")`\n\nThe literal value is interpreted as a regular expression using GoogleRE2 library syntax.\nThe literal value must match the entire field.\n\nFor example, to filter for instances that do not end with name \"instance\",\nyou would use `name ne .*instance`.\n\nYou cannot combine constraints on multiple fields using regular\nexpressions.", +"location": "query", +"type": "string" +}, +"maxResults": { +"default": "500", +"description": "The maximum number of results per page that should be returned.\nIf the number of available results is larger than `maxResults`,\nCompute Engine returns a `nextPageToken` that can be used to get\nthe next page of results in subsequent list requests. Acceptable values are\n`0` to `500`, inclusive. (Default: `500`)", +"format": "uint32", +"location": "query", +"minimum": "0", +"type": "integer" +}, +"orderBy": { +"description": "Sorts list results by a certain order. By default, results\nare returned in alphanumerical order based on the resource name.\n\nYou can also sort results in descending order based on the creation\ntimestamp using `orderBy=\"creationTimestamp desc\"`. This sorts\nresults based on the `creationTimestamp` field in\nreverse chronological order (newest result first). Use this to sort\nresources like operations so that the newest operation is returned first.\n\nCurrently, only sorting by `name` or\n`creationTimestamp desc` is supported.", +"location": "query", +"type": "string" +}, +"pageToken": { +"description": "Specifies a page token to use. Set `pageToken` to the\n`nextPageToken` returned by a previous list request to get\nthe next page of results.", +"location": "query", +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"returnPartialSuccess": { +"description": "Opt-in for partial success behavior which provides partial results in case\nof failure. The default value is false.\n\nFor example, when partial success behavior is enabled, aggregatedList for a\nsingle zone scope either returns all resources in the zone or no resources,\nwith an error code.", +"location": "query", +"type": "boolean" +} +}, +"path": "projects/{project}/global/targetSslProxies", +"response": { +"$ref": "TargetSslProxyList" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"setBackendService": { +"description": "Changes the BackendService for TargetSslProxy.", +"flatPath": "projects/{project}/global/targetSslProxies/{targetSslProxy}/setBackendService", +"httpMethod": "POST", +"id": "compute.targetSslProxies.setBackendService", +"parameterOrder": [ +"project", +"targetSslProxy" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"targetSslProxy": { +"description": "Name of the TargetSslProxy resource whose BackendService resource\nis to be set.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/global/targetSslProxies/{targetSslProxy}/setBackendService", +"request": { +"$ref": "TargetSslProxiesSetBackendServiceRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"setCertificateMap": { +"description": "Changes the Certificate Map for TargetSslProxy.", +"flatPath": "projects/{project}/global/targetSslProxies/{targetSslProxy}/setCertificateMap", +"httpMethod": "POST", +"id": "compute.targetSslProxies.setCertificateMap", +"parameterOrder": [ +"project", +"targetSslProxy" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"targetSslProxy": { +"description": "Name of the TargetSslProxy resource whose CertificateMap is\nto be set. The name must be 1-63 characters long, and comply with RFC1035.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/global/targetSslProxies/{targetSslProxy}/setCertificateMap", +"request": { +"$ref": "TargetSslProxiesSetCertificateMapRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"setProxyHeader": { +"description": "Changes the ProxyHeaderType for TargetSslProxy.", +"flatPath": "projects/{project}/global/targetSslProxies/{targetSslProxy}/setProxyHeader", +"httpMethod": "POST", +"id": "compute.targetSslProxies.setProxyHeader", +"parameterOrder": [ +"project", +"targetSslProxy" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"targetSslProxy": { +"description": "Name of the TargetSslProxy resource whose ProxyHeader is to be set.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/global/targetSslProxies/{targetSslProxy}/setProxyHeader", +"request": { +"$ref": "TargetSslProxiesSetProxyHeaderRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"setSslCertificates": { +"description": "Changes SslCertificates for TargetSslProxy.", +"flatPath": "projects/{project}/global/targetSslProxies/{targetSslProxy}/setSslCertificates", +"httpMethod": "POST", +"id": "compute.targetSslProxies.setSslCertificates", +"parameterOrder": [ +"project", +"targetSslProxy" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"targetSslProxy": { +"description": "Name of the TargetSslProxy resource whose SslCertificate resource\nis to be set.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/global/targetSslProxies/{targetSslProxy}/setSslCertificates", +"request": { +"$ref": "TargetSslProxiesSetSslCertificatesRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"setSslPolicy": { +"description": "Sets the SSL policy for TargetSslProxy. The SSL policy specifies the\nserver-side support for SSL features. This affects connections between\nclients and the load balancer. They do not affect the\nconnection between the load balancer and the backends.", +"flatPath": "projects/{project}/global/targetSslProxies/{targetSslProxy}/setSslPolicy", +"httpMethod": "POST", +"id": "compute.targetSslProxies.setSslPolicy", +"parameterOrder": [ +"project", +"targetSslProxy" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"targetSslProxy": { +"description": "Name of the TargetSslProxy resource whose SSL policy is\nto be set. The name must be 1-63 characters long, and comply with RFC1035.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/global/targetSslProxies/{targetSslProxy}/setSslPolicy", +"request": { +"$ref": "SslPolicyReference" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"testIamPermissions": { +"description": "Returns permissions that a caller has on the specified resource.", +"flatPath": "projects/{project}/global/targetSslProxies/{resource}/testIamPermissions", +"httpMethod": "POST", +"id": "compute.targetSslProxies.testIamPermissions", +"parameterOrder": [ +"project", +"resource" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"resource": { +"description": "Name or id of the resource for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9_]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/global/targetSslProxies/{resource}/testIamPermissions", +"request": { +"$ref": "TestPermissionsRequest" +}, +"response": { +"$ref": "TestPermissionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +} +} +}, +"targetTcpProxies": { +"methods": { +"aggregatedList": { +"description": "Retrieves the list of all TargetTcpProxy resources, regional and global,\navailable to the specified project.\n\nTo prevent failure, Google recommends that you set the\n`returnPartialSuccess` parameter to `true`.", +"flatPath": "projects/{project}/aggregated/targetTcpProxies", +"httpMethod": "GET", +"id": "compute.targetTcpProxies.aggregatedList", +"parameterOrder": [ +"project" +], +"parameters": { +"filter": { +"description": "A filter expression that filters resources listed in the response. Most\nCompute resources support two types of filter expressions:\nexpressions that support regular expressions and expressions that follow\nAPI improvement proposal AIP-160.\nThese two types of filter expressions cannot be mixed in one request.\n\nIf you want to use AIP-160, your expression must specify the field name, an\noperator, and the value that you want to use for filtering. The value\nmust be a string, a number, or a boolean. The operator\nmust be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.\n\nFor example, if you are filtering Compute Engine instances, you can\nexclude instances named `example-instance` by specifying\n`name != example-instance`.\n\nThe `:*` comparison can be used to test whether a key has been defined.\nFor example, to find all objects with `owner` label use:\n```\nlabels.owner:*\n```\n\nYou can also filter nested fields. For example, you could specify\n`scheduling.automaticRestart = false` to include instances only\nif they are not scheduled for automatic restarts. You can use filtering\non nested fields to filter based onresource labels.\n\nTo filter on multiple expressions, provide each separate expression within\nparentheses. For example:\n```\n(scheduling.automaticRestart = true)\n(cpuPlatform = \"Intel Skylake\")\n```\nBy default, each expression is an `AND` expression. However, you\ncan include `AND` and `OR` expressions explicitly.\nFor example:\n```\n(cpuPlatform = \"Intel Skylake\") OR\n(cpuPlatform = \"Intel Broadwell\") AND\n(scheduling.automaticRestart = true)\n```\n\nIf you want to use a regular expression, use the `eq` (equal) or `ne`\n(not equal) operator against a single un-parenthesized expression with or\nwithout quotes or against multiple parenthesized expressions. Examples:\n\n`fieldname eq unquoted literal`\n`fieldname eq 'single quoted literal'`\n`fieldname eq \"double quoted literal\"`\n`(fieldname1 eq literal) (fieldname2 ne \"literal\")`\n\nThe literal value is interpreted as a regular expression using GoogleRE2 library syntax.\nThe literal value must match the entire field.\n\nFor example, to filter for instances that do not end with name \"instance\",\nyou would use `name ne .*instance`.\n\nYou cannot combine constraints on multiple fields using regular\nexpressions.", +"location": "query", +"type": "string" +}, +"includeAllScopes": { +"description": "Indicates whether every visible scope for each scope type (zone, region,\nglobal) should be included in the response. For new resource types added\nafter this field, the flag has no effect as new resource types will always\ninclude every visible scope for each scope type in response. For resource\ntypes which predate this field, if this flag is omitted or false, only\nscopes of the scope types where the resource type is expected to be found\nwill be included.", +"location": "query", +"type": "boolean" +}, +"maxResults": { +"default": "500", +"description": "The maximum number of results per page that should be returned.\nIf the number of available results is larger than `maxResults`,\nCompute Engine returns a `nextPageToken` that can be used to get\nthe next page of results in subsequent list requests. Acceptable values are\n`0` to `500`, inclusive. (Default: `500`)", +"format": "uint32", +"location": "query", +"minimum": "0", +"type": "integer" +}, +"orderBy": { +"description": "Sorts list results by a certain order. By default, results\nare returned in alphanumerical order based on the resource name.\n\nYou can also sort results in descending order based on the creation\ntimestamp using `orderBy=\"creationTimestamp desc\"`. This sorts\nresults based on the `creationTimestamp` field in\nreverse chronological order (newest result first). Use this to sort\nresources like operations so that the newest operation is returned first.\n\nCurrently, only sorting by `name` or\n`creationTimestamp desc` is supported.", +"location": "query", +"type": "string" +}, +"pageToken": { +"description": "Specifies a page token to use. Set `pageToken` to the\n`nextPageToken` returned by a previous list request to get\nthe next page of results.", +"location": "query", +"type": "string" +}, +"project": { +"description": "Name of the project scoping this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"returnPartialSuccess": { +"description": "Opt-in for partial success behavior which provides partial results in case\nof failure. The default value is false.\n\nFor example, when partial success behavior is enabled, aggregatedList for a\nsingle zone scope either returns all resources in the zone or no resources,\nwith an error code.", +"location": "query", +"type": "boolean" +}, +"serviceProjectNumber": { +"description": "The Shared VPC service project id or service project number for which\naggregated list request is invoked for subnetworks list-usable api.", +"format": "int64", +"location": "query", +"type": "string" +} +}, +"path": "projects/{project}/aggregated/targetTcpProxies", +"response": { +"$ref": "TargetTcpProxyAggregatedList" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"delete": { +"description": "Deletes the specified TargetTcpProxy resource.", +"flatPath": "projects/{project}/global/targetTcpProxies/{targetTcpProxy}", +"httpMethod": "DELETE", +"id": "compute.targetTcpProxies.delete", +"parameterOrder": [ +"project", +"targetTcpProxy" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"targetTcpProxy": { +"description": "Name of the TargetTcpProxy resource to delete.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/global/targetTcpProxies/{targetTcpProxy}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"get": { +"description": "Returns the specified TargetTcpProxy resource.", +"flatPath": "projects/{project}/global/targetTcpProxies/{targetTcpProxy}", +"httpMethod": "GET", +"id": "compute.targetTcpProxies.get", +"parameterOrder": [ +"project", +"targetTcpProxy" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"targetTcpProxy": { +"description": "Name of the TargetTcpProxy resource to return.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/global/targetTcpProxies/{targetTcpProxy}", +"response": { +"$ref": "TargetTcpProxy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"insert": { +"description": "Creates a TargetTcpProxy resource in the specified project using\nthe data included in the request.", +"flatPath": "projects/{project}/global/targetTcpProxies", +"httpMethod": "POST", +"id": "compute.targetTcpProxies.insert", +"parameterOrder": [ +"project" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "projects/{project}/global/targetTcpProxies", +"request": { +"$ref": "TargetTcpProxy" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"list": { +"description": "Retrieves the list of TargetTcpProxy resources\navailable to the specified project.", +"flatPath": "projects/{project}/global/targetTcpProxies", +"httpMethod": "GET", +"id": "compute.targetTcpProxies.list", +"parameterOrder": [ +"project" +], +"parameters": { +"filter": { +"description": "A filter expression that filters resources listed in the response. Most\nCompute resources support two types of filter expressions:\nexpressions that support regular expressions and expressions that follow\nAPI improvement proposal AIP-160.\nThese two types of filter expressions cannot be mixed in one request.\n\nIf you want to use AIP-160, your expression must specify the field name, an\noperator, and the value that you want to use for filtering. The value\nmust be a string, a number, or a boolean. The operator\nmust be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.\n\nFor example, if you are filtering Compute Engine instances, you can\nexclude instances named `example-instance` by specifying\n`name != example-instance`.\n\nThe `:*` comparison can be used to test whether a key has been defined.\nFor example, to find all objects with `owner` label use:\n```\nlabels.owner:*\n```\n\nYou can also filter nested fields. For example, you could specify\n`scheduling.automaticRestart = false` to include instances only\nif they are not scheduled for automatic restarts. You can use filtering\non nested fields to filter based onresource labels.\n\nTo filter on multiple expressions, provide each separate expression within\nparentheses. For example:\n```\n(scheduling.automaticRestart = true)\n(cpuPlatform = \"Intel Skylake\")\n```\nBy default, each expression is an `AND` expression. However, you\ncan include `AND` and `OR` expressions explicitly.\nFor example:\n```\n(cpuPlatform = \"Intel Skylake\") OR\n(cpuPlatform = \"Intel Broadwell\") AND\n(scheduling.automaticRestart = true)\n```\n\nIf you want to use a regular expression, use the `eq` (equal) or `ne`\n(not equal) operator against a single un-parenthesized expression with or\nwithout quotes or against multiple parenthesized expressions. Examples:\n\n`fieldname eq unquoted literal`\n`fieldname eq 'single quoted literal'`\n`fieldname eq \"double quoted literal\"`\n`(fieldname1 eq literal) (fieldname2 ne \"literal\")`\n\nThe literal value is interpreted as a regular expression using GoogleRE2 library syntax.\nThe literal value must match the entire field.\n\nFor example, to filter for instances that do not end with name \"instance\",\nyou would use `name ne .*instance`.\n\nYou cannot combine constraints on multiple fields using regular\nexpressions.", +"location": "query", +"type": "string" +}, +"maxResults": { +"default": "500", +"description": "The maximum number of results per page that should be returned.\nIf the number of available results is larger than `maxResults`,\nCompute Engine returns a `nextPageToken` that can be used to get\nthe next page of results in subsequent list requests. Acceptable values are\n`0` to `500`, inclusive. (Default: `500`)", +"format": "uint32", +"location": "query", +"minimum": "0", +"type": "integer" +}, +"orderBy": { +"description": "Sorts list results by a certain order. By default, results\nare returned in alphanumerical order based on the resource name.\n\nYou can also sort results in descending order based on the creation\ntimestamp using `orderBy=\"creationTimestamp desc\"`. This sorts\nresults based on the `creationTimestamp` field in\nreverse chronological order (newest result first). Use this to sort\nresources like operations so that the newest operation is returned first.\n\nCurrently, only sorting by `name` or\n`creationTimestamp desc` is supported.", +"location": "query", +"type": "string" +}, +"pageToken": { +"description": "Specifies a page token to use. Set `pageToken` to the\n`nextPageToken` returned by a previous list request to get\nthe next page of results.", +"location": "query", +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"returnPartialSuccess": { +"description": "Opt-in for partial success behavior which provides partial results in case\nof failure. The default value is false.\n\nFor example, when partial success behavior is enabled, aggregatedList for a\nsingle zone scope either returns all resources in the zone or no resources,\nwith an error code.", +"location": "query", +"type": "boolean" +} +}, +"path": "projects/{project}/global/targetTcpProxies", +"response": { +"$ref": "TargetTcpProxyList" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"setBackendService": { +"description": "Changes the BackendService for TargetTcpProxy.", +"flatPath": "projects/{project}/global/targetTcpProxies/{targetTcpProxy}/setBackendService", +"httpMethod": "POST", +"id": "compute.targetTcpProxies.setBackendService", +"parameterOrder": [ +"project", +"targetTcpProxy" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"targetTcpProxy": { +"description": "Name of the TargetTcpProxy resource whose BackendService resource\nis to be set.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/global/targetTcpProxies/{targetTcpProxy}/setBackendService", +"request": { +"$ref": "TargetTcpProxiesSetBackendServiceRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"setProxyHeader": { +"description": "Changes the ProxyHeaderType for TargetTcpProxy.", +"flatPath": "projects/{project}/global/targetTcpProxies/{targetTcpProxy}/setProxyHeader", +"httpMethod": "POST", +"id": "compute.targetTcpProxies.setProxyHeader", +"parameterOrder": [ +"project", +"targetTcpProxy" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"targetTcpProxy": { +"description": "Name of the TargetTcpProxy resource whose ProxyHeader is to be set.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/global/targetTcpProxies/{targetTcpProxy}/setProxyHeader", +"request": { +"$ref": "TargetTcpProxiesSetProxyHeaderRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"testIamPermissions": { +"description": "Returns permissions that a caller has on the specified resource.", +"flatPath": "projects/{project}/global/targetTcpProxies/{resource}/testIamPermissions", +"httpMethod": "POST", +"id": "compute.targetTcpProxies.testIamPermissions", +"parameterOrder": [ +"project", +"resource" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"resource": { +"description": "Name or id of the resource for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9_]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/global/targetTcpProxies/{resource}/testIamPermissions", +"request": { +"$ref": "TestPermissionsRequest" +}, +"response": { +"$ref": "TestPermissionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +} +} +}, +"targetVpnGateways": { +"methods": { +"aggregatedList": { +"description": "Retrieves an aggregated list of target VPN gateways.\n\nTo prevent failure, Google recommends that you set the\n`returnPartialSuccess` parameter to `true`.", +"flatPath": "projects/{project}/aggregated/targetVpnGateways", +"httpMethod": "GET", +"id": "compute.targetVpnGateways.aggregatedList", +"parameterOrder": [ +"project" +], +"parameters": { +"filter": { +"description": "A filter expression that filters resources listed in the response. Most\nCompute resources support two types of filter expressions:\nexpressions that support regular expressions and expressions that follow\nAPI improvement proposal AIP-160.\nThese two types of filter expressions cannot be mixed in one request.\n\nIf you want to use AIP-160, your expression must specify the field name, an\noperator, and the value that you want to use for filtering. The value\nmust be a string, a number, or a boolean. The operator\nmust be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.\n\nFor example, if you are filtering Compute Engine instances, you can\nexclude instances named `example-instance` by specifying\n`name != example-instance`.\n\nThe `:*` comparison can be used to test whether a key has been defined.\nFor example, to find all objects with `owner` label use:\n```\nlabels.owner:*\n```\n\nYou can also filter nested fields. For example, you could specify\n`scheduling.automaticRestart = false` to include instances only\nif they are not scheduled for automatic restarts. You can use filtering\non nested fields to filter based onresource labels.\n\nTo filter on multiple expressions, provide each separate expression within\nparentheses. For example:\n```\n(scheduling.automaticRestart = true)\n(cpuPlatform = \"Intel Skylake\")\n```\nBy default, each expression is an `AND` expression. However, you\ncan include `AND` and `OR` expressions explicitly.\nFor example:\n```\n(cpuPlatform = \"Intel Skylake\") OR\n(cpuPlatform = \"Intel Broadwell\") AND\n(scheduling.automaticRestart = true)\n```\n\nIf you want to use a regular expression, use the `eq` (equal) or `ne`\n(not equal) operator against a single un-parenthesized expression with or\nwithout quotes or against multiple parenthesized expressions. Examples:\n\n`fieldname eq unquoted literal`\n`fieldname eq 'single quoted literal'`\n`fieldname eq \"double quoted literal\"`\n`(fieldname1 eq literal) (fieldname2 ne \"literal\")`\n\nThe literal value is interpreted as a regular expression using GoogleRE2 library syntax.\nThe literal value must match the entire field.\n\nFor example, to filter for instances that do not end with name \"instance\",\nyou would use `name ne .*instance`.\n\nYou cannot combine constraints on multiple fields using regular\nexpressions.", +"location": "query", +"type": "string" +}, +"includeAllScopes": { +"description": "Indicates whether every visible scope for each scope type (zone, region,\nglobal) should be included in the response. For new resource types added\nafter this field, the flag has no effect as new resource types will always\ninclude every visible scope for each scope type in response. For resource\ntypes which predate this field, if this flag is omitted or false, only\nscopes of the scope types where the resource type is expected to be found\nwill be included.", +"location": "query", +"type": "boolean" +}, +"maxResults": { +"default": "500", +"description": "The maximum number of results per page that should be returned.\nIf the number of available results is larger than `maxResults`,\nCompute Engine returns a `nextPageToken` that can be used to get\nthe next page of results in subsequent list requests. Acceptable values are\n`0` to `500`, inclusive. (Default: `500`)", +"format": "uint32", +"location": "query", +"minimum": "0", +"type": "integer" +}, +"orderBy": { +"description": "Sorts list results by a certain order. By default, results\nare returned in alphanumerical order based on the resource name.\n\nYou can also sort results in descending order based on the creation\ntimestamp using `orderBy=\"creationTimestamp desc\"`. This sorts\nresults based on the `creationTimestamp` field in\nreverse chronological order (newest result first). Use this to sort\nresources like operations so that the newest operation is returned first.\n\nCurrently, only sorting by `name` or\n`creationTimestamp desc` is supported.", +"location": "query", +"type": "string" +}, +"pageToken": { +"description": "Specifies a page token to use. Set `pageToken` to the\n`nextPageToken` returned by a previous list request to get\nthe next page of results.", +"location": "query", +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"returnPartialSuccess": { +"description": "Opt-in for partial success behavior which provides partial results in case\nof failure. The default value is false.\n\nFor example, when partial success behavior is enabled, aggregatedList for a\nsingle zone scope either returns all resources in the zone or no resources,\nwith an error code.", +"location": "query", +"type": "boolean" +}, +"serviceProjectNumber": { +"description": "The Shared VPC service project id or service project number for which\naggregated list request is invoked for subnetworks list-usable api.", +"format": "int64", +"location": "query", +"type": "string" +} +}, +"path": "projects/{project}/aggregated/targetVpnGateways", +"response": { +"$ref": "TargetVpnGatewayAggregatedList" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"delete": { +"description": "Deletes the specified target VPN gateway.", +"flatPath": "projects/{project}/regions/{region}/targetVpnGateways/{targetVpnGateway}", +"httpMethod": "DELETE", +"id": "compute.targetVpnGateways.delete", +"parameterOrder": [ +"project", +"region", +"targetVpnGateway" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "Name of the region for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"targetVpnGateway": { +"description": "Name of the target VPN gateway to delete.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/regions/{region}/targetVpnGateways/{targetVpnGateway}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"get": { +"description": "Returns the specified target VPN gateway.", +"flatPath": "projects/{project}/regions/{region}/targetVpnGateways/{targetVpnGateway}", +"httpMethod": "GET", +"id": "compute.targetVpnGateways.get", +"parameterOrder": [ +"project", +"region", +"targetVpnGateway" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "Name of the region for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +}, +"targetVpnGateway": { +"description": "Name of the target VPN gateway to return.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/regions/{region}/targetVpnGateways/{targetVpnGateway}", +"response": { +"$ref": "TargetVpnGateway" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"insert": { +"description": "Creates a target VPN gateway in the specified project and region using\nthe data included in the request.", +"flatPath": "projects/{project}/regions/{region}/targetVpnGateways", +"httpMethod": "POST", +"id": "compute.targetVpnGateways.insert", +"parameterOrder": [ +"project", +"region" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "Name of the region for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "projects/{project}/regions/{region}/targetVpnGateways", +"request": { +"$ref": "TargetVpnGateway" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"list": { +"description": "Retrieves a list of target VPN gateways available to the specified\nproject and region.", +"flatPath": "projects/{project}/regions/{region}/targetVpnGateways", +"httpMethod": "GET", +"id": "compute.targetVpnGateways.list", +"parameterOrder": [ +"project", +"region" +], +"parameters": { +"filter": { +"description": "A filter expression that filters resources listed in the response. Most\nCompute resources support two types of filter expressions:\nexpressions that support regular expressions and expressions that follow\nAPI improvement proposal AIP-160.\nThese two types of filter expressions cannot be mixed in one request.\n\nIf you want to use AIP-160, your expression must specify the field name, an\noperator, and the value that you want to use for filtering. The value\nmust be a string, a number, or a boolean. The operator\nmust be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.\n\nFor example, if you are filtering Compute Engine instances, you can\nexclude instances named `example-instance` by specifying\n`name != example-instance`.\n\nThe `:*` comparison can be used to test whether a key has been defined.\nFor example, to find all objects with `owner` label use:\n```\nlabels.owner:*\n```\n\nYou can also filter nested fields. For example, you could specify\n`scheduling.automaticRestart = false` to include instances only\nif they are not scheduled for automatic restarts. You can use filtering\non nested fields to filter based onresource labels.\n\nTo filter on multiple expressions, provide each separate expression within\nparentheses. For example:\n```\n(scheduling.automaticRestart = true)\n(cpuPlatform = \"Intel Skylake\")\n```\nBy default, each expression is an `AND` expression. However, you\ncan include `AND` and `OR` expressions explicitly.\nFor example:\n```\n(cpuPlatform = \"Intel Skylake\") OR\n(cpuPlatform = \"Intel Broadwell\") AND\n(scheduling.automaticRestart = true)\n```\n\nIf you want to use a regular expression, use the `eq` (equal) or `ne`\n(not equal) operator against a single un-parenthesized expression with or\nwithout quotes or against multiple parenthesized expressions. Examples:\n\n`fieldname eq unquoted literal`\n`fieldname eq 'single quoted literal'`\n`fieldname eq \"double quoted literal\"`\n`(fieldname1 eq literal) (fieldname2 ne \"literal\")`\n\nThe literal value is interpreted as a regular expression using GoogleRE2 library syntax.\nThe literal value must match the entire field.\n\nFor example, to filter for instances that do not end with name \"instance\",\nyou would use `name ne .*instance`.\n\nYou cannot combine constraints on multiple fields using regular\nexpressions.", +"location": "query", +"type": "string" +}, +"maxResults": { +"default": "500", +"description": "The maximum number of results per page that should be returned.\nIf the number of available results is larger than `maxResults`,\nCompute Engine returns a `nextPageToken` that can be used to get\nthe next page of results in subsequent list requests. Acceptable values are\n`0` to `500`, inclusive. (Default: `500`)", +"format": "uint32", +"location": "query", +"minimum": "0", +"type": "integer" +}, +"orderBy": { +"description": "Sorts list results by a certain order. By default, results\nare returned in alphanumerical order based on the resource name.\n\nYou can also sort results in descending order based on the creation\ntimestamp using `orderBy=\"creationTimestamp desc\"`. This sorts\nresults based on the `creationTimestamp` field in\nreverse chronological order (newest result first). Use this to sort\nresources like operations so that the newest operation is returned first.\n\nCurrently, only sorting by `name` or\n`creationTimestamp desc` is supported.", +"location": "query", +"type": "string" +}, +"pageToken": { +"description": "Specifies a page token to use. Set `pageToken` to the\n`nextPageToken` returned by a previous list request to get\nthe next page of results.", +"location": "query", +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "Name of the region for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +}, +"returnPartialSuccess": { +"description": "Opt-in for partial success behavior which provides partial results in case\nof failure. The default value is false.\n\nFor example, when partial success behavior is enabled, aggregatedList for a\nsingle zone scope either returns all resources in the zone or no resources,\nwith an error code.", +"location": "query", +"type": "boolean" +} +}, +"path": "projects/{project}/regions/{region}/targetVpnGateways", +"response": { +"$ref": "TargetVpnGatewayList" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"setLabels": { +"description": "Sets the labels on a TargetVpnGateway. To learn more about labels, read theLabeling\nResources documentation.", +"flatPath": "projects/{project}/regions/{region}/targetVpnGateways/{resource}/setLabels", +"httpMethod": "POST", +"id": "compute.targetVpnGateways.setLabels", +"parameterOrder": [ +"project", +"region", +"resource" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "The region for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"resource": { +"description": "Name or id of the resource for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/regions/{region}/targetVpnGateways/{resource}/setLabels", +"request": { +"$ref": "RegionSetLabelsRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"testIamPermissions": { +"description": "Returns permissions that a caller has on the specified resource.", +"flatPath": "projects/{project}/regions/{region}/targetVpnGateways/{resource}/testIamPermissions", +"httpMethod": "POST", +"id": "compute.targetVpnGateways.testIamPermissions", +"parameterOrder": [ +"project", +"region", +"resource" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "The name of the region for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +}, +"resource": { +"description": "Name or id of the resource for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/regions/{region}/targetVpnGateways/{resource}/testIamPermissions", +"request": { +"$ref": "TestPermissionsRequest" +}, +"response": { +"$ref": "TestPermissionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +} +} +}, +"urlMaps": { +"methods": { +"aggregatedList": { +"description": "Retrieves the list of all UrlMap resources, regional and global,\navailable to the specified project.\n\nTo prevent failure, Google recommends that you set the\n`returnPartialSuccess` parameter to `true`.", +"flatPath": "projects/{project}/aggregated/urlMaps", +"httpMethod": "GET", +"id": "compute.urlMaps.aggregatedList", +"parameterOrder": [ +"project" +], +"parameters": { +"filter": { +"description": "A filter expression that filters resources listed in the response. Most\nCompute resources support two types of filter expressions:\nexpressions that support regular expressions and expressions that follow\nAPI improvement proposal AIP-160.\nThese two types of filter expressions cannot be mixed in one request.\n\nIf you want to use AIP-160, your expression must specify the field name, an\noperator, and the value that you want to use for filtering. The value\nmust be a string, a number, or a boolean. The operator\nmust be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.\n\nFor example, if you are filtering Compute Engine instances, you can\nexclude instances named `example-instance` by specifying\n`name != example-instance`.\n\nThe `:*` comparison can be used to test whether a key has been defined.\nFor example, to find all objects with `owner` label use:\n```\nlabels.owner:*\n```\n\nYou can also filter nested fields. For example, you could specify\n`scheduling.automaticRestart = false` to include instances only\nif they are not scheduled for automatic restarts. You can use filtering\non nested fields to filter based onresource labels.\n\nTo filter on multiple expressions, provide each separate expression within\nparentheses. For example:\n```\n(scheduling.automaticRestart = true)\n(cpuPlatform = \"Intel Skylake\")\n```\nBy default, each expression is an `AND` expression. However, you\ncan include `AND` and `OR` expressions explicitly.\nFor example:\n```\n(cpuPlatform = \"Intel Skylake\") OR\n(cpuPlatform = \"Intel Broadwell\") AND\n(scheduling.automaticRestart = true)\n```\n\nIf you want to use a regular expression, use the `eq` (equal) or `ne`\n(not equal) operator against a single un-parenthesized expression with or\nwithout quotes or against multiple parenthesized expressions. Examples:\n\n`fieldname eq unquoted literal`\n`fieldname eq 'single quoted literal'`\n`fieldname eq \"double quoted literal\"`\n`(fieldname1 eq literal) (fieldname2 ne \"literal\")`\n\nThe literal value is interpreted as a regular expression using GoogleRE2 library syntax.\nThe literal value must match the entire field.\n\nFor example, to filter for instances that do not end with name \"instance\",\nyou would use `name ne .*instance`.\n\nYou cannot combine constraints on multiple fields using regular\nexpressions.", +"location": "query", +"type": "string" +}, +"includeAllScopes": { +"description": "Indicates whether every visible scope for each scope type (zone, region,\nglobal) should be included in the response. For new resource types added\nafter this field, the flag has no effect as new resource types will always\ninclude every visible scope for each scope type in response. For resource\ntypes which predate this field, if this flag is omitted or false, only\nscopes of the scope types where the resource type is expected to be found\nwill be included.", +"location": "query", +"type": "boolean" +}, +"maxResults": { +"default": "500", +"description": "The maximum number of results per page that should be returned.\nIf the number of available results is larger than `maxResults`,\nCompute Engine returns a `nextPageToken` that can be used to get\nthe next page of results in subsequent list requests. Acceptable values are\n`0` to `500`, inclusive. (Default: `500`)", +"format": "uint32", +"location": "query", +"minimum": "0", +"type": "integer" +}, +"orderBy": { +"description": "Sorts list results by a certain order. By default, results\nare returned in alphanumerical order based on the resource name.\n\nYou can also sort results in descending order based on the creation\ntimestamp using `orderBy=\"creationTimestamp desc\"`. This sorts\nresults based on the `creationTimestamp` field in\nreverse chronological order (newest result first). Use this to sort\nresources like operations so that the newest operation is returned first.\n\nCurrently, only sorting by `name` or\n`creationTimestamp desc` is supported.", +"location": "query", +"type": "string" +}, +"pageToken": { +"description": "Specifies a page token to use. Set `pageToken` to the\n`nextPageToken` returned by a previous list request to get\nthe next page of results.", +"location": "query", +"type": "string" +}, +"project": { +"description": "Name of the project scoping this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"returnPartialSuccess": { +"description": "Opt-in for partial success behavior which provides partial results in case\nof failure. The default value is false.\n\nFor example, when partial success behavior is enabled, aggregatedList for a\nsingle zone scope either returns all resources in the zone or no resources,\nwith an error code.", +"location": "query", +"type": "boolean" +}, +"serviceProjectNumber": { +"description": "The Shared VPC service project id or service project number for which\naggregated list request is invoked for subnetworks list-usable api.", +"format": "int64", +"location": "query", +"type": "string" +} +}, +"path": "projects/{project}/aggregated/urlMaps", +"response": { +"$ref": "UrlMapsAggregatedList" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"delete": { +"description": "Deletes the specified UrlMap resource.", +"flatPath": "projects/{project}/global/urlMaps/{urlMap}", +"httpMethod": "DELETE", +"id": "compute.urlMaps.delete", +"parameterOrder": [ +"project", +"urlMap" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"urlMap": { +"description": "Name of the UrlMap resource to delete.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/global/urlMaps/{urlMap}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"get": { +"description": "Returns the specified UrlMap resource.", +"flatPath": "projects/{project}/global/urlMaps/{urlMap}", +"httpMethod": "GET", +"id": "compute.urlMaps.get", +"parameterOrder": [ +"project", +"urlMap" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"urlMap": { +"description": "Name of the UrlMap resource to return.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/global/urlMaps/{urlMap}", +"response": { +"$ref": "UrlMap" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"insert": { +"description": "Creates a UrlMap resource in the specified project using\nthe data included in the request.", +"flatPath": "projects/{project}/global/urlMaps", +"httpMethod": "POST", +"id": "compute.urlMaps.insert", +"parameterOrder": [ +"project" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "projects/{project}/global/urlMaps", +"request": { +"$ref": "UrlMap" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"invalidateCache": { +"description": "Initiates a cache invalidation operation, invalidating the specified path,\nscoped to the specified UrlMap.\n\nFor more information, see [Invalidating cached\ncontent](/cdn/docs/invalidating-cached-content).", +"flatPath": "projects/{project}/global/urlMaps/{urlMap}/invalidateCache", +"httpMethod": "POST", +"id": "compute.urlMaps.invalidateCache", +"parameterOrder": [ +"project", +"urlMap" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"urlMap": { +"description": "Name of the UrlMap scoping this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/global/urlMaps/{urlMap}/invalidateCache", +"request": { +"$ref": "CacheInvalidationRule" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"list": { +"description": "Retrieves the list of UrlMap resources available to the specified\nproject.", +"flatPath": "projects/{project}/global/urlMaps", +"httpMethod": "GET", +"id": "compute.urlMaps.list", +"parameterOrder": [ +"project" +], +"parameters": { +"filter": { +"description": "A filter expression that filters resources listed in the response. Most\nCompute resources support two types of filter expressions:\nexpressions that support regular expressions and expressions that follow\nAPI improvement proposal AIP-160.\nThese two types of filter expressions cannot be mixed in one request.\n\nIf you want to use AIP-160, your expression must specify the field name, an\noperator, and the value that you want to use for filtering. The value\nmust be a string, a number, or a boolean. The operator\nmust be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.\n\nFor example, if you are filtering Compute Engine instances, you can\nexclude instances named `example-instance` by specifying\n`name != example-instance`.\n\nThe `:*` comparison can be used to test whether a key has been defined.\nFor example, to find all objects with `owner` label use:\n```\nlabels.owner:*\n```\n\nYou can also filter nested fields. For example, you could specify\n`scheduling.automaticRestart = false` to include instances only\nif they are not scheduled for automatic restarts. You can use filtering\non nested fields to filter based onresource labels.\n\nTo filter on multiple expressions, provide each separate expression within\nparentheses. For example:\n```\n(scheduling.automaticRestart = true)\n(cpuPlatform = \"Intel Skylake\")\n```\nBy default, each expression is an `AND` expression. However, you\ncan include `AND` and `OR` expressions explicitly.\nFor example:\n```\n(cpuPlatform = \"Intel Skylake\") OR\n(cpuPlatform = \"Intel Broadwell\") AND\n(scheduling.automaticRestart = true)\n```\n\nIf you want to use a regular expression, use the `eq` (equal) or `ne`\n(not equal) operator against a single un-parenthesized expression with or\nwithout quotes or against multiple parenthesized expressions. Examples:\n\n`fieldname eq unquoted literal`\n`fieldname eq 'single quoted literal'`\n`fieldname eq \"double quoted literal\"`\n`(fieldname1 eq literal) (fieldname2 ne \"literal\")`\n\nThe literal value is interpreted as a regular expression using GoogleRE2 library syntax.\nThe literal value must match the entire field.\n\nFor example, to filter for instances that do not end with name \"instance\",\nyou would use `name ne .*instance`.\n\nYou cannot combine constraints on multiple fields using regular\nexpressions.", +"location": "query", +"type": "string" +}, +"maxResults": { +"default": "500", +"description": "The maximum number of results per page that should be returned.\nIf the number of available results is larger than `maxResults`,\nCompute Engine returns a `nextPageToken` that can be used to get\nthe next page of results in subsequent list requests. Acceptable values are\n`0` to `500`, inclusive. (Default: `500`)", +"format": "uint32", +"location": "query", +"minimum": "0", +"type": "integer" +}, +"orderBy": { +"description": "Sorts list results by a certain order. By default, results\nare returned in alphanumerical order based on the resource name.\n\nYou can also sort results in descending order based on the creation\ntimestamp using `orderBy=\"creationTimestamp desc\"`. This sorts\nresults based on the `creationTimestamp` field in\nreverse chronological order (newest result first). Use this to sort\nresources like operations so that the newest operation is returned first.\n\nCurrently, only sorting by `name` or\n`creationTimestamp desc` is supported.", +"location": "query", +"type": "string" +}, +"pageToken": { +"description": "Specifies a page token to use. Set `pageToken` to the\n`nextPageToken` returned by a previous list request to get\nthe next page of results.", +"location": "query", +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"returnPartialSuccess": { +"description": "Opt-in for partial success behavior which provides partial results in case\nof failure. The default value is false.\n\nFor example, when partial success behavior is enabled, aggregatedList for a\nsingle zone scope either returns all resources in the zone or no resources,\nwith an error code.", +"location": "query", +"type": "boolean" +} +}, +"path": "projects/{project}/global/urlMaps", +"response": { +"$ref": "UrlMapList" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"patch": { +"description": "Patches the specified UrlMap resource with the data included in the\nrequest. This method supportsPATCH\nsemantics and uses theJSON merge\npatch format and processing rules.", +"flatPath": "projects/{project}/global/urlMaps/{urlMap}", +"httpMethod": "PATCH", +"id": "compute.urlMaps.patch", +"parameterOrder": [ +"project", +"urlMap" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"urlMap": { +"description": "Name of the UrlMap resource to patch.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/global/urlMaps/{urlMap}", +"request": { +"$ref": "UrlMap" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"testIamPermissions": { +"description": "Returns permissions that a caller has on the specified resource.", +"flatPath": "projects/{project}/global/urlMaps/{resource}/testIamPermissions", +"httpMethod": "POST", +"id": "compute.urlMaps.testIamPermissions", +"parameterOrder": [ +"project", +"resource" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"resource": { +"description": "Name or id of the resource for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9_]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/global/urlMaps/{resource}/testIamPermissions", +"request": { +"$ref": "TestPermissionsRequest" +}, +"response": { +"$ref": "TestPermissionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"update": { +"description": "Updates the specified UrlMap resource with the data included in the\nrequest.", +"flatPath": "projects/{project}/global/urlMaps/{urlMap}", +"httpMethod": "PUT", +"id": "compute.urlMaps.update", +"parameterOrder": [ +"project", +"urlMap" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"urlMap": { +"description": "Name of the UrlMap resource to update.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/global/urlMaps/{urlMap}", +"request": { +"$ref": "UrlMap" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"validate": { +"description": "Runs static validation for the UrlMap. In particular, the tests of the\nprovided UrlMap will be run. Calling this method does NOT create the\nUrlMap.", +"flatPath": "projects/{project}/global/urlMaps/{urlMap}/validate", +"httpMethod": "POST", +"id": "compute.urlMaps.validate", +"parameterOrder": [ +"project", +"urlMap" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"urlMap": { +"description": "Name of the UrlMap resource to be validated as.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/global/urlMaps/{urlMap}/validate", +"request": { +"$ref": "UrlMapsValidateRequest" +}, +"response": { +"$ref": "UrlMapsValidateResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +} +} +}, +"vpnGateways": { +"methods": { +"aggregatedList": { +"description": "Retrieves an aggregated list of VPN gateways.\n\nTo prevent failure, Google recommends that you set the\n`returnPartialSuccess` parameter to `true`.", +"flatPath": "projects/{project}/aggregated/vpnGateways", +"httpMethod": "GET", +"id": "compute.vpnGateways.aggregatedList", +"parameterOrder": [ +"project" +], +"parameters": { +"filter": { +"description": "A filter expression that filters resources listed in the response. Most\nCompute resources support two types of filter expressions:\nexpressions that support regular expressions and expressions that follow\nAPI improvement proposal AIP-160.\nThese two types of filter expressions cannot be mixed in one request.\n\nIf you want to use AIP-160, your expression must specify the field name, an\noperator, and the value that you want to use for filtering. The value\nmust be a string, a number, or a boolean. The operator\nmust be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.\n\nFor example, if you are filtering Compute Engine instances, you can\nexclude instances named `example-instance` by specifying\n`name != example-instance`.\n\nThe `:*` comparison can be used to test whether a key has been defined.\nFor example, to find all objects with `owner` label use:\n```\nlabels.owner:*\n```\n\nYou can also filter nested fields. For example, you could specify\n`scheduling.automaticRestart = false` to include instances only\nif they are not scheduled for automatic restarts. You can use filtering\non nested fields to filter based onresource labels.\n\nTo filter on multiple expressions, provide each separate expression within\nparentheses. For example:\n```\n(scheduling.automaticRestart = true)\n(cpuPlatform = \"Intel Skylake\")\n```\nBy default, each expression is an `AND` expression. However, you\ncan include `AND` and `OR` expressions explicitly.\nFor example:\n```\n(cpuPlatform = \"Intel Skylake\") OR\n(cpuPlatform = \"Intel Broadwell\") AND\n(scheduling.automaticRestart = true)\n```\n\nIf you want to use a regular expression, use the `eq` (equal) or `ne`\n(not equal) operator against a single un-parenthesized expression with or\nwithout quotes or against multiple parenthesized expressions. Examples:\n\n`fieldname eq unquoted literal`\n`fieldname eq 'single quoted literal'`\n`fieldname eq \"double quoted literal\"`\n`(fieldname1 eq literal) (fieldname2 ne \"literal\")`\n\nThe literal value is interpreted as a regular expression using GoogleRE2 library syntax.\nThe literal value must match the entire field.\n\nFor example, to filter for instances that do not end with name \"instance\",\nyou would use `name ne .*instance`.\n\nYou cannot combine constraints on multiple fields using regular\nexpressions.", +"location": "query", +"type": "string" +}, +"includeAllScopes": { +"description": "Indicates whether every visible scope for each scope type (zone, region,\nglobal) should be included in the response. For new resource types added\nafter this field, the flag has no effect as new resource types will always\ninclude every visible scope for each scope type in response. For resource\ntypes which predate this field, if this flag is omitted or false, only\nscopes of the scope types where the resource type is expected to be found\nwill be included.", +"location": "query", +"type": "boolean" +}, +"maxResults": { +"default": "500", +"description": "The maximum number of results per page that should be returned.\nIf the number of available results is larger than `maxResults`,\nCompute Engine returns a `nextPageToken` that can be used to get\nthe next page of results in subsequent list requests. Acceptable values are\n`0` to `500`, inclusive. (Default: `500`)", +"format": "uint32", +"location": "query", +"minimum": "0", +"type": "integer" +}, +"orderBy": { +"description": "Sorts list results by a certain order. By default, results\nare returned in alphanumerical order based on the resource name.\n\nYou can also sort results in descending order based on the creation\ntimestamp using `orderBy=\"creationTimestamp desc\"`. This sorts\nresults based on the `creationTimestamp` field in\nreverse chronological order (newest result first). Use this to sort\nresources like operations so that the newest operation is returned first.\n\nCurrently, only sorting by `name` or\n`creationTimestamp desc` is supported.", +"location": "query", +"type": "string" +}, +"pageToken": { +"description": "Specifies a page token to use. Set `pageToken` to the\n`nextPageToken` returned by a previous list request to get\nthe next page of results.", +"location": "query", +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"returnPartialSuccess": { +"description": "Opt-in for partial success behavior which provides partial results in case\nof failure. The default value is false.\n\nFor example, when partial success behavior is enabled, aggregatedList for a\nsingle zone scope either returns all resources in the zone or no resources,\nwith an error code.", +"location": "query", +"type": "boolean" +}, +"serviceProjectNumber": { +"description": "The Shared VPC service project id or service project number for which\naggregated list request is invoked for subnetworks list-usable api.", +"format": "int64", +"location": "query", +"type": "string" +} +}, +"path": "projects/{project}/aggregated/vpnGateways", +"response": { +"$ref": "VpnGatewayAggregatedList" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"delete": { +"description": "Deletes the specified VPN gateway.", +"flatPath": "projects/{project}/regions/{region}/vpnGateways/{vpnGateway}", +"httpMethod": "DELETE", +"id": "compute.vpnGateways.delete", +"parameterOrder": [ +"project", +"region", +"vpnGateway" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "Name of the region for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"vpnGateway": { +"description": "Name of the VPN gateway to delete.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/regions/{region}/vpnGateways/{vpnGateway}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"get": { +"description": "Returns the specified VPN gateway.", +"flatPath": "projects/{project}/regions/{region}/vpnGateways/{vpnGateway}", +"httpMethod": "GET", +"id": "compute.vpnGateways.get", +"parameterOrder": [ +"project", +"region", +"vpnGateway" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "Name of the region for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +}, +"vpnGateway": { +"description": "Name of the VPN gateway to return.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/regions/{region}/vpnGateways/{vpnGateway}", +"response": { +"$ref": "VpnGateway" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"getStatus": { +"description": "Returns the status for the specified VPN gateway.", +"flatPath": "projects/{project}/regions/{region}/vpnGateways/{vpnGateway}/getStatus", +"httpMethod": "GET", +"id": "compute.vpnGateways.getStatus", +"parameterOrder": [ +"project", +"region", +"vpnGateway" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "Name of the region for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +}, +"vpnGateway": { +"description": "Name of the VPN gateway to return.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/regions/{region}/vpnGateways/{vpnGateway}/getStatus", +"response": { +"$ref": "VpnGatewaysGetStatusResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"insert": { +"description": "Creates a VPN gateway in the specified project and region using\nthe data included in the request.", +"flatPath": "projects/{project}/regions/{region}/vpnGateways", +"httpMethod": "POST", +"id": "compute.vpnGateways.insert", +"parameterOrder": [ +"project", +"region" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "Name of the region for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "projects/{project}/regions/{region}/vpnGateways", +"request": { +"$ref": "VpnGateway" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"list": { +"description": "Retrieves a list of VPN gateways available to the specified\nproject and region.", +"flatPath": "projects/{project}/regions/{region}/vpnGateways", +"httpMethod": "GET", +"id": "compute.vpnGateways.list", +"parameterOrder": [ +"project", +"region" +], +"parameters": { +"filter": { +"description": "A filter expression that filters resources listed in the response. Most\nCompute resources support two types of filter expressions:\nexpressions that support regular expressions and expressions that follow\nAPI improvement proposal AIP-160.\nThese two types of filter expressions cannot be mixed in one request.\n\nIf you want to use AIP-160, your expression must specify the field name, an\noperator, and the value that you want to use for filtering. The value\nmust be a string, a number, or a boolean. The operator\nmust be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.\n\nFor example, if you are filtering Compute Engine instances, you can\nexclude instances named `example-instance` by specifying\n`name != example-instance`.\n\nThe `:*` comparison can be used to test whether a key has been defined.\nFor example, to find all objects with `owner` label use:\n```\nlabels.owner:*\n```\n\nYou can also filter nested fields. For example, you could specify\n`scheduling.automaticRestart = false` to include instances only\nif they are not scheduled for automatic restarts. You can use filtering\non nested fields to filter based onresource labels.\n\nTo filter on multiple expressions, provide each separate expression within\nparentheses. For example:\n```\n(scheduling.automaticRestart = true)\n(cpuPlatform = \"Intel Skylake\")\n```\nBy default, each expression is an `AND` expression. However, you\ncan include `AND` and `OR` expressions explicitly.\nFor example:\n```\n(cpuPlatform = \"Intel Skylake\") OR\n(cpuPlatform = \"Intel Broadwell\") AND\n(scheduling.automaticRestart = true)\n```\n\nIf you want to use a regular expression, use the `eq` (equal) or `ne`\n(not equal) operator against a single un-parenthesized expression with or\nwithout quotes or against multiple parenthesized expressions. Examples:\n\n`fieldname eq unquoted literal`\n`fieldname eq 'single quoted literal'`\n`fieldname eq \"double quoted literal\"`\n`(fieldname1 eq literal) (fieldname2 ne \"literal\")`\n\nThe literal value is interpreted as a regular expression using GoogleRE2 library syntax.\nThe literal value must match the entire field.\n\nFor example, to filter for instances that do not end with name \"instance\",\nyou would use `name ne .*instance`.\n\nYou cannot combine constraints on multiple fields using regular\nexpressions.", +"location": "query", +"type": "string" +}, +"maxResults": { +"default": "500", +"description": "The maximum number of results per page that should be returned.\nIf the number of available results is larger than `maxResults`,\nCompute Engine returns a `nextPageToken` that can be used to get\nthe next page of results in subsequent list requests. Acceptable values are\n`0` to `500`, inclusive. (Default: `500`)", +"format": "uint32", +"location": "query", +"minimum": "0", +"type": "integer" +}, +"orderBy": { +"description": "Sorts list results by a certain order. By default, results\nare returned in alphanumerical order based on the resource name.\n\nYou can also sort results in descending order based on the creation\ntimestamp using `orderBy=\"creationTimestamp desc\"`. This sorts\nresults based on the `creationTimestamp` field in\nreverse chronological order (newest result first). Use this to sort\nresources like operations so that the newest operation is returned first.\n\nCurrently, only sorting by `name` or\n`creationTimestamp desc` is supported.", +"location": "query", +"type": "string" +}, +"pageToken": { +"description": "Specifies a page token to use. Set `pageToken` to the\n`nextPageToken` returned by a previous list request to get\nthe next page of results.", +"location": "query", +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "Name of the region for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +}, +"returnPartialSuccess": { +"description": "Opt-in for partial success behavior which provides partial results in case\nof failure. The default value is false.\n\nFor example, when partial success behavior is enabled, aggregatedList for a\nsingle zone scope either returns all resources in the zone or no resources,\nwith an error code.", +"location": "query", +"type": "boolean" +} +}, +"path": "projects/{project}/regions/{region}/vpnGateways", +"response": { +"$ref": "VpnGatewayList" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"setLabels": { +"description": "Sets the labels on a VpnGateway. To learn more about labels, read theLabeling\nResources documentation.", +"flatPath": "projects/{project}/regions/{region}/vpnGateways/{resource}/setLabels", +"httpMethod": "POST", +"id": "compute.vpnGateways.setLabels", +"parameterOrder": [ +"project", +"region", +"resource" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "The region for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"resource": { +"description": "Name or id of the resource for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/regions/{region}/vpnGateways/{resource}/setLabels", +"request": { +"$ref": "RegionSetLabelsRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"testIamPermissions": { +"description": "Returns permissions that a caller has on the specified resource.", +"flatPath": "projects/{project}/regions/{region}/vpnGateways/{resource}/testIamPermissions", +"httpMethod": "POST", +"id": "compute.vpnGateways.testIamPermissions", +"parameterOrder": [ +"project", +"region", +"resource" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "The name of the region for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +}, +"resource": { +"description": "Name or id of the resource for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/regions/{region}/vpnGateways/{resource}/testIamPermissions", +"request": { +"$ref": "TestPermissionsRequest" +}, +"response": { +"$ref": "TestPermissionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +} +} +}, +"vpnTunnels": { +"methods": { +"aggregatedList": { +"description": "Retrieves an aggregated list of VPN tunnels.\n\nTo prevent failure, Google recommends that you set the\n`returnPartialSuccess` parameter to `true`.", +"flatPath": "projects/{project}/aggregated/vpnTunnels", +"httpMethod": "GET", +"id": "compute.vpnTunnels.aggregatedList", +"parameterOrder": [ +"project" +], +"parameters": { +"filter": { +"description": "A filter expression that filters resources listed in the response. Most\nCompute resources support two types of filter expressions:\nexpressions that support regular expressions and expressions that follow\nAPI improvement proposal AIP-160.\nThese two types of filter expressions cannot be mixed in one request.\n\nIf you want to use AIP-160, your expression must specify the field name, an\noperator, and the value that you want to use for filtering. The value\nmust be a string, a number, or a boolean. The operator\nmust be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.\n\nFor example, if you are filtering Compute Engine instances, you can\nexclude instances named `example-instance` by specifying\n`name != example-instance`.\n\nThe `:*` comparison can be used to test whether a key has been defined.\nFor example, to find all objects with `owner` label use:\n```\nlabels.owner:*\n```\n\nYou can also filter nested fields. For example, you could specify\n`scheduling.automaticRestart = false` to include instances only\nif they are not scheduled for automatic restarts. You can use filtering\non nested fields to filter based onresource labels.\n\nTo filter on multiple expressions, provide each separate expression within\nparentheses. For example:\n```\n(scheduling.automaticRestart = true)\n(cpuPlatform = \"Intel Skylake\")\n```\nBy default, each expression is an `AND` expression. However, you\ncan include `AND` and `OR` expressions explicitly.\nFor example:\n```\n(cpuPlatform = \"Intel Skylake\") OR\n(cpuPlatform = \"Intel Broadwell\") AND\n(scheduling.automaticRestart = true)\n```\n\nIf you want to use a regular expression, use the `eq` (equal) or `ne`\n(not equal) operator against a single un-parenthesized expression with or\nwithout quotes or against multiple parenthesized expressions. Examples:\n\n`fieldname eq unquoted literal`\n`fieldname eq 'single quoted literal'`\n`fieldname eq \"double quoted literal\"`\n`(fieldname1 eq literal) (fieldname2 ne \"literal\")`\n\nThe literal value is interpreted as a regular expression using GoogleRE2 library syntax.\nThe literal value must match the entire field.\n\nFor example, to filter for instances that do not end with name \"instance\",\nyou would use `name ne .*instance`.\n\nYou cannot combine constraints on multiple fields using regular\nexpressions.", +"location": "query", +"type": "string" +}, +"includeAllScopes": { +"description": "Indicates whether every visible scope for each scope type (zone, region,\nglobal) should be included in the response. For new resource types added\nafter this field, the flag has no effect as new resource types will always\ninclude every visible scope for each scope type in response. For resource\ntypes which predate this field, if this flag is omitted or false, only\nscopes of the scope types where the resource type is expected to be found\nwill be included.", +"location": "query", +"type": "boolean" +}, +"maxResults": { +"default": "500", +"description": "The maximum number of results per page that should be returned.\nIf the number of available results is larger than `maxResults`,\nCompute Engine returns a `nextPageToken` that can be used to get\nthe next page of results in subsequent list requests. Acceptable values are\n`0` to `500`, inclusive. (Default: `500`)", +"format": "uint32", +"location": "query", +"minimum": "0", +"type": "integer" +}, +"orderBy": { +"description": "Sorts list results by a certain order. By default, results\nare returned in alphanumerical order based on the resource name.\n\nYou can also sort results in descending order based on the creation\ntimestamp using `orderBy=\"creationTimestamp desc\"`. This sorts\nresults based on the `creationTimestamp` field in\nreverse chronological order (newest result first). Use this to sort\nresources like operations so that the newest operation is returned first.\n\nCurrently, only sorting by `name` or\n`creationTimestamp desc` is supported.", +"location": "query", +"type": "string" +}, +"pageToken": { +"description": "Specifies a page token to use. Set `pageToken` to the\n`nextPageToken` returned by a previous list request to get\nthe next page of results.", +"location": "query", +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"returnPartialSuccess": { +"description": "Opt-in for partial success behavior which provides partial results in case\nof failure. The default value is false.\n\nFor example, when partial success behavior is enabled, aggregatedList for a\nsingle zone scope either returns all resources in the zone or no resources,\nwith an error code.", +"location": "query", +"type": "boolean" +}, +"serviceProjectNumber": { +"description": "The Shared VPC service project id or service project number for which\naggregated list request is invoked for subnetworks list-usable api.", +"format": "int64", +"location": "query", +"type": "string" +} +}, +"path": "projects/{project}/aggregated/vpnTunnels", +"response": { +"$ref": "VpnTunnelAggregatedList" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"delete": { +"description": "Deletes the specified VpnTunnel resource.", +"flatPath": "projects/{project}/regions/{region}/vpnTunnels/{vpnTunnel}", +"httpMethod": "DELETE", +"id": "compute.vpnTunnels.delete", +"parameterOrder": [ +"project", +"region", +"vpnTunnel" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "Name of the region for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"vpnTunnel": { +"description": "Name of the VpnTunnel resource to delete.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/regions/{region}/vpnTunnels/{vpnTunnel}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"get": { +"description": "Returns the specified VpnTunnel resource.", +"flatPath": "projects/{project}/regions/{region}/vpnTunnels/{vpnTunnel}", +"httpMethod": "GET", +"id": "compute.vpnTunnels.get", +"parameterOrder": [ +"project", +"region", +"vpnTunnel" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "Name of the region for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +}, +"vpnTunnel": { +"description": "Name of the VpnTunnel resource to return.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/regions/{region}/vpnTunnels/{vpnTunnel}", +"response": { +"$ref": "VpnTunnel" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"insert": { +"description": "Creates a VpnTunnel resource in the specified project and region using\nthe data included in the request.", +"flatPath": "projects/{project}/regions/{region}/vpnTunnels", +"httpMethod": "POST", +"id": "compute.vpnTunnels.insert", +"parameterOrder": [ +"project", +"region" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "Name of the region for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "projects/{project}/regions/{region}/vpnTunnels", +"request": { +"$ref": "VpnTunnel" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"list": { +"description": "Retrieves a list of VpnTunnel resources contained in the specified\nproject and region.", +"flatPath": "projects/{project}/regions/{region}/vpnTunnels", +"httpMethod": "GET", +"id": "compute.vpnTunnels.list", +"parameterOrder": [ +"project", +"region" +], +"parameters": { +"filter": { +"description": "A filter expression that filters resources listed in the response. Most\nCompute resources support two types of filter expressions:\nexpressions that support regular expressions and expressions that follow\nAPI improvement proposal AIP-160.\nThese two types of filter expressions cannot be mixed in one request.\n\nIf you want to use AIP-160, your expression must specify the field name, an\noperator, and the value that you want to use for filtering. The value\nmust be a string, a number, or a boolean. The operator\nmust be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.\n\nFor example, if you are filtering Compute Engine instances, you can\nexclude instances named `example-instance` by specifying\n`name != example-instance`.\n\nThe `:*` comparison can be used to test whether a key has been defined.\nFor example, to find all objects with `owner` label use:\n```\nlabels.owner:*\n```\n\nYou can also filter nested fields. For example, you could specify\n`scheduling.automaticRestart = false` to include instances only\nif they are not scheduled for automatic restarts. You can use filtering\non nested fields to filter based onresource labels.\n\nTo filter on multiple expressions, provide each separate expression within\nparentheses. For example:\n```\n(scheduling.automaticRestart = true)\n(cpuPlatform = \"Intel Skylake\")\n```\nBy default, each expression is an `AND` expression. However, you\ncan include `AND` and `OR` expressions explicitly.\nFor example:\n```\n(cpuPlatform = \"Intel Skylake\") OR\n(cpuPlatform = \"Intel Broadwell\") AND\n(scheduling.automaticRestart = true)\n```\n\nIf you want to use a regular expression, use the `eq` (equal) or `ne`\n(not equal) operator against a single un-parenthesized expression with or\nwithout quotes or against multiple parenthesized expressions. Examples:\n\n`fieldname eq unquoted literal`\n`fieldname eq 'single quoted literal'`\n`fieldname eq \"double quoted literal\"`\n`(fieldname1 eq literal) (fieldname2 ne \"literal\")`\n\nThe literal value is interpreted as a regular expression using GoogleRE2 library syntax.\nThe literal value must match the entire field.\n\nFor example, to filter for instances that do not end with name \"instance\",\nyou would use `name ne .*instance`.\n\nYou cannot combine constraints on multiple fields using regular\nexpressions.", +"location": "query", +"type": "string" +}, +"maxResults": { +"default": "500", +"description": "The maximum number of results per page that should be returned.\nIf the number of available results is larger than `maxResults`,\nCompute Engine returns a `nextPageToken` that can be used to get\nthe next page of results in subsequent list requests. Acceptable values are\n`0` to `500`, inclusive. (Default: `500`)", +"format": "uint32", +"location": "query", +"minimum": "0", +"type": "integer" +}, +"orderBy": { +"description": "Sorts list results by a certain order. By default, results\nare returned in alphanumerical order based on the resource name.\n\nYou can also sort results in descending order based on the creation\ntimestamp using `orderBy=\"creationTimestamp desc\"`. This sorts\nresults based on the `creationTimestamp` field in\nreverse chronological order (newest result first). Use this to sort\nresources like operations so that the newest operation is returned first.\n\nCurrently, only sorting by `name` or\n`creationTimestamp desc` is supported.", +"location": "query", +"type": "string" +}, +"pageToken": { +"description": "Specifies a page token to use. Set `pageToken` to the\n`nextPageToken` returned by a previous list request to get\nthe next page of results.", +"location": "query", +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "Name of the region for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +}, +"returnPartialSuccess": { +"description": "Opt-in for partial success behavior which provides partial results in case\nof failure. The default value is false.\n\nFor example, when partial success behavior is enabled, aggregatedList for a\nsingle zone scope either returns all resources in the zone or no resources,\nwith an error code.", +"location": "query", +"type": "boolean" +} +}, +"path": "projects/{project}/regions/{region}/vpnTunnels", +"response": { +"$ref": "VpnTunnelList" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"setLabels": { +"description": "Sets the labels on a VpnTunnel. To learn more about labels, read theLabeling\nResources documentation.", +"flatPath": "projects/{project}/regions/{region}/vpnTunnels/{resource}/setLabels", +"httpMethod": "POST", +"id": "compute.vpnTunnels.setLabels", +"parameterOrder": [ +"project", +"region", +"resource" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "The region for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"resource": { +"description": "Name or id of the resource for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/regions/{region}/vpnTunnels/{resource}/setLabels", +"request": { +"$ref": "RegionSetLabelsRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"testIamPermissions": { +"description": "Returns permissions that a caller has on the specified resource.", +"flatPath": "projects/{project}/regions/{region}/vpnTunnels/{resource}/testIamPermissions", +"httpMethod": "POST", +"id": "compute.vpnTunnels.testIamPermissions", +"parameterOrder": [ +"project", +"region", +"resource" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"region": { +"description": "The name of the region for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +}, +"resource": { +"description": "Name or id of the resource for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/regions/{region}/vpnTunnels/{resource}/testIamPermissions", +"request": { +"$ref": "TestPermissionsRequest" +}, +"response": { +"$ref": "TestPermissionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +} +} +}, +"wireGroups": { +"methods": { +"delete": { +"description": "Deletes the specified wire group in the given scope.", +"flatPath": "projects/{project}/global/crossSiteNetworks/{crossSiteNetwork}/wireGroups/{wireGroup}", +"httpMethod": "DELETE", +"id": "compute.wireGroups.delete", +"parameterOrder": [ +"project", +"crossSiteNetwork", +"wireGroup" +], +"parameters": { +"crossSiteNetwork": { +"location": "path", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).\nend_interface: MixerMutationRequestBuilder", +"location": "query", +"type": "string" +}, +"wireGroup": { +"description": "Name of the wire group resource to delete.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/global/crossSiteNetworks/{crossSiteNetwork}/wireGroups/{wireGroup}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"get": { +"description": "Gets the specified wire group resource in the given scope.", +"flatPath": "projects/{project}/global/crossSiteNetworks/{crossSiteNetwork}/wireGroups/{wireGroup}", +"httpMethod": "GET", +"id": "compute.wireGroups.get", +"parameterOrder": [ +"project", +"crossSiteNetwork", +"wireGroup" +], +"parameters": { +"crossSiteNetwork": { +"location": "path", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"wireGroup": { +"description": "Name of the wire group resource to return.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/global/crossSiteNetworks/{crossSiteNetwork}/wireGroups/{wireGroup}", +"response": { +"$ref": "WireGroup" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"insert": { +"description": "Creates a wire group in the specified project in the given scope\nusing the parameters that are included in the request.", +"flatPath": "projects/{project}/global/crossSiteNetworks/{crossSiteNetwork}/wireGroups", +"httpMethod": "POST", +"id": "compute.wireGroups.insert", +"parameterOrder": [ +"project", +"crossSiteNetwork" +], +"parameters": { +"crossSiteNetwork": { +"location": "path", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).\nend_interface: MixerMutationRequestBuilder", +"location": "query", +"type": "string" +}, +"validateOnly": { +"description": "[Input Only] Validate the new configuration, but don't create it.", +"location": "query", +"type": "boolean" +} +}, +"path": "projects/{project}/global/crossSiteNetworks/{crossSiteNetwork}/wireGroups", +"request": { +"$ref": "WireGroup" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"list": { +"description": "Lists the wire groups for a project in the given scope.", +"flatPath": "projects/{project}/global/crossSiteNetworks/{crossSiteNetwork}/wireGroups", +"httpMethod": "GET", +"id": "compute.wireGroups.list", +"parameterOrder": [ +"project", +"crossSiteNetwork" +], +"parameters": { +"crossSiteNetwork": { +"location": "path", +"required": true, +"type": "string" +}, +"filter": { +"description": "A filter expression that filters resources listed in the response. Most\nCompute resources support two types of filter expressions:\nexpressions that support regular expressions and expressions that follow\nAPI improvement proposal AIP-160.\nThese two types of filter expressions cannot be mixed in one request.\n\nIf you want to use AIP-160, your expression must specify the field name, an\noperator, and the value that you want to use for filtering. The value\nmust be a string, a number, or a boolean. The operator\nmust be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.\n\nFor example, if you are filtering Compute Engine instances, you can\nexclude instances named `example-instance` by specifying\n`name != example-instance`.\n\nThe `:*` comparison can be used to test whether a key has been defined.\nFor example, to find all objects with `owner` label use:\n```\nlabels.owner:*\n```\n\nYou can also filter nested fields. For example, you could specify\n`scheduling.automaticRestart = false` to include instances only\nif they are not scheduled for automatic restarts. You can use filtering\non nested fields to filter based onresource labels.\n\nTo filter on multiple expressions, provide each separate expression within\nparentheses. For example:\n```\n(scheduling.automaticRestart = true)\n(cpuPlatform = \"Intel Skylake\")\n```\nBy default, each expression is an `AND` expression. However, you\ncan include `AND` and `OR` expressions explicitly.\nFor example:\n```\n(cpuPlatform = \"Intel Skylake\") OR\n(cpuPlatform = \"Intel Broadwell\") AND\n(scheduling.automaticRestart = true)\n```\n\nIf you want to use a regular expression, use the `eq` (equal) or `ne`\n(not equal) operator against a single un-parenthesized expression with or\nwithout quotes or against multiple parenthesized expressions. Examples:\n\n`fieldname eq unquoted literal`\n`fieldname eq 'single quoted literal'`\n`fieldname eq \"double quoted literal\"`\n`(fieldname1 eq literal) (fieldname2 ne \"literal\")`\n\nThe literal value is interpreted as a regular expression using GoogleRE2 library syntax.\nThe literal value must match the entire field.\n\nFor example, to filter for instances that do not end with name \"instance\",\nyou would use `name ne .*instance`.\n\nYou cannot combine constraints on multiple fields using regular\nexpressions.", +"location": "query", +"type": "string" +}, +"maxResults": { +"default": "500", +"description": "The maximum number of results per page that should be returned.\nIf the number of available results is larger than `maxResults`,\nCompute Engine returns a `nextPageToken` that can be used to get\nthe next page of results in subsequent list requests. Acceptable values are\n`0` to `500`, inclusive. (Default: `500`)", +"format": "uint32", +"location": "query", +"minimum": "0", +"type": "integer" +}, +"orderBy": { +"description": "Sorts list results by a certain order. By default, results\nare returned in alphanumerical order based on the resource name.\n\nYou can also sort results in descending order based on the creation\ntimestamp using `orderBy=\"creationTimestamp desc\"`. This sorts\nresults based on the `creationTimestamp` field in\nreverse chronological order (newest result first). Use this to sort\nresources like operations so that the newest operation is returned first.\n\nCurrently, only sorting by `name` or\n`creationTimestamp desc` is supported.", +"location": "query", +"type": "string" +}, +"pageToken": { +"description": "Specifies a page token to use. Set `pageToken` to the\n`nextPageToken` returned by a previous list request to get\nthe next page of results.", +"location": "query", +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"returnPartialSuccess": { +"description": "Opt-in for partial success behavior which provides partial results in case\nof failure. The default value is false.\n\nFor example, when partial success behavior is enabled, aggregatedList for a\nsingle zone scope either returns all resources in the zone or no resources,\nwith an error code.", +"location": "query", +"type": "boolean" +} +}, +"path": "projects/{project}/global/crossSiteNetworks/{crossSiteNetwork}/wireGroups", +"response": { +"$ref": "WireGroupList" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"patch": { +"description": "Updates the specified wire group resource with the data included in the\nrequest. This method supportsPATCH\nsemantics and usesJSON merge\npatch format and processing rules.", +"flatPath": "projects/{project}/global/crossSiteNetworks/{crossSiteNetwork}/wireGroups/{wireGroup}", +"httpMethod": "PATCH", +"id": "compute.wireGroups.patch", +"parameterOrder": [ +"project", +"crossSiteNetwork", +"wireGroup" +], +"parameters": { +"crossSiteNetwork": { +"location": "path", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).\nend_interface: MixerMutationRequestBuilder", +"location": "query", +"type": "string" +}, +"updateMask": { +"description": "update_mask indicates fields to be updated as part of this request.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +}, +"validateOnly": { +"description": "[Input Only] Validate the new configuration, but don't update it.", +"location": "query", +"type": "boolean" +}, +"wireGroup": { +"description": "Name of the WireGroups resource to patch.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/global/crossSiteNetworks/{crossSiteNetwork}/wireGroups/{wireGroup}", +"request": { +"$ref": "WireGroup" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +} +} +}, +"zoneOperations": { +"methods": { +"delete": { +"description": "Deletes the specified zone-specific Operations resource.", +"flatPath": "projects/{project}/zones/{zone}/operations/{operation}", +"httpMethod": "DELETE", +"id": "compute.zoneOperations.delete", +"parameterOrder": [ +"project", +"zone", +"operation" +], +"parameters": { +"operation": { +"description": "Name of the Operations resource to delete, or its unique numeric\nidentifier.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"zone": { +"description": "Name of the zone for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/zones/{zone}/operations/{operation}", +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"get": { +"description": "Retrieves the specified zone-specific Operations resource.", +"flatPath": "projects/{project}/zones/{zone}/operations/{operation}", +"httpMethod": "GET", +"id": "compute.zoneOperations.get", +"parameterOrder": [ +"project", +"zone", +"operation" +], +"parameters": { +"operation": { +"description": "Name of the Operations resource to return, or its unique numeric\nidentifier.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"zone": { +"description": "Name of the zone for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/zones/{zone}/operations/{operation}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"list": { +"description": "Retrieves a list of Operation resources contained within\nthe specified zone.", +"flatPath": "projects/{project}/zones/{zone}/operations", +"httpMethod": "GET", +"id": "compute.zoneOperations.list", +"parameterOrder": [ +"project", +"zone" +], +"parameters": { +"filter": { +"description": "A filter expression that filters resources listed in the response. Most\nCompute resources support two types of filter expressions:\nexpressions that support regular expressions and expressions that follow\nAPI improvement proposal AIP-160.\nThese two types of filter expressions cannot be mixed in one request.\n\nIf you want to use AIP-160, your expression must specify the field name, an\noperator, and the value that you want to use for filtering. The value\nmust be a string, a number, or a boolean. The operator\nmust be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.\n\nFor example, if you are filtering Compute Engine instances, you can\nexclude instances named `example-instance` by specifying\n`name != example-instance`.\n\nThe `:*` comparison can be used to test whether a key has been defined.\nFor example, to find all objects with `owner` label use:\n```\nlabels.owner:*\n```\n\nYou can also filter nested fields. For example, you could specify\n`scheduling.automaticRestart = false` to include instances only\nif they are not scheduled for automatic restarts. You can use filtering\non nested fields to filter based onresource labels.\n\nTo filter on multiple expressions, provide each separate expression within\nparentheses. For example:\n```\n(scheduling.automaticRestart = true)\n(cpuPlatform = \"Intel Skylake\")\n```\nBy default, each expression is an `AND` expression. However, you\ncan include `AND` and `OR` expressions explicitly.\nFor example:\n```\n(cpuPlatform = \"Intel Skylake\") OR\n(cpuPlatform = \"Intel Broadwell\") AND\n(scheduling.automaticRestart = true)\n```\n\nIf you want to use a regular expression, use the `eq` (equal) or `ne`\n(not equal) operator against a single un-parenthesized expression with or\nwithout quotes or against multiple parenthesized expressions. Examples:\n\n`fieldname eq unquoted literal`\n`fieldname eq 'single quoted literal'`\n`fieldname eq \"double quoted literal\"`\n`(fieldname1 eq literal) (fieldname2 ne \"literal\")`\n\nThe literal value is interpreted as a regular expression using GoogleRE2 library syntax.\nThe literal value must match the entire field.\n\nFor example, to filter for instances that do not end with name \"instance\",\nyou would use `name ne .*instance`.\n\nYou cannot combine constraints on multiple fields using regular\nexpressions.", +"location": "query", +"type": "string" +}, +"maxResults": { +"default": "500", +"description": "The maximum number of results per page that should be returned.\nIf the number of available results is larger than `maxResults`,\nCompute Engine returns a `nextPageToken` that can be used to get\nthe next page of results in subsequent list requests. Acceptable values are\n`0` to `500`, inclusive. (Default: `500`)", +"format": "uint32", +"location": "query", +"minimum": "0", +"type": "integer" +}, +"orderBy": { +"description": "Sorts list results by a certain order. By default, results\nare returned in alphanumerical order based on the resource name.\n\nYou can also sort results in descending order based on the creation\ntimestamp using `orderBy=\"creationTimestamp desc\"`. This sorts\nresults based on the `creationTimestamp` field in\nreverse chronological order (newest result first). Use this to sort\nresources like operations so that the newest operation is returned first.\n\nCurrently, only sorting by `name` or\n`creationTimestamp desc` is supported.", +"location": "query", +"type": "string" +}, +"pageToken": { +"description": "Specifies a page token to use. Set `pageToken` to the\n`nextPageToken` returned by a previous list request to get\nthe next page of results.", +"location": "query", +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"returnPartialSuccess": { +"description": "Opt-in for partial success behavior which provides partial results in case\nof failure. The default value is false.\n\nFor example, when partial success behavior is enabled, aggregatedList for a\nsingle zone scope either returns all resources in the zone or no resources,\nwith an error code.", +"location": "query", +"type": "boolean" +}, +"zone": { +"description": "Name of the zone for request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/zones/{zone}/operations", +"response": { +"$ref": "OperationList" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"wait": { +"description": "Waits for the specified Operation resource to return as `DONE`\nor for the request to approach the 2 minute deadline, and retrieves the\nspecified Operation resource. This method waits for no more than the\n2 minutes and then returns the current state of the\noperation, which might be `DONE` or still in progress.\n\nThis method is called on a best-effort basis. Specifically:\n \n \n - In uncommon cases, when the server is overloaded, the request might\n return before the default deadline is reached, or might return after zero\n seconds.\n - If the default deadline is reached, there is no guarantee that the\n operation is actually done when the method returns. Be prepared to retry\n if the operation is not `DONE`.", +"flatPath": "projects/{project}/zones/{zone}/operations/{operation}/wait", +"httpMethod": "POST", +"id": "compute.zoneOperations.wait", +"parameterOrder": [ +"project", +"zone", +"operation" +], +"parameters": { +"operation": { +"description": "Name of the Operations resource to return, or its unique numeric\nidentifier.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"zone": { +"description": "Name of the zone for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/zones/{zone}/operations/{operation}/wait", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +} +} +}, +"zoneVmExtensionPolicies": { +"methods": { +"delete": { +"description": "Deletes a specified zone VM extension policy.", +"flatPath": "projects/{project}/zones/{zone}/vmExtensionPolicies/{vmExtensionPolicy}", +"httpMethod": "DELETE", +"id": "compute.zoneVmExtensionPolicies.delete", +"parameterOrder": [ +"project", +"zone", +"vmExtensionPolicy" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"vmExtensionPolicy": { +"description": "Name of the zone VM extension policy to delete.", +"location": "path", +"required": true, +"type": "string" +}, +"zone": { +"description": "Name of the zone for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/zones/{zone}/vmExtensionPolicies/{vmExtensionPolicy}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"get": { +"description": "Retrieves details of a specific zone VM extension policy.", +"flatPath": "projects/{project}/zones/{zone}/vmExtensionPolicies/{vmExtensionPolicy}", +"httpMethod": "GET", +"id": "compute.zoneVmExtensionPolicies.get", +"parameterOrder": [ +"project", +"zone", +"vmExtensionPolicy" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"vmExtensionPolicy": { +"description": "Name of the VM extension policy resource to return.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +}, +"zone": { +"description": "Name of the zone for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/zones/{zone}/vmExtensionPolicies/{vmExtensionPolicy}", +"response": { +"$ref": "VmExtensionPolicy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"insert": { +"description": "Creates a new zone-level VM extension policy within a project.", +"flatPath": "projects/{project}/zones/{zone}/vmExtensionPolicies", +"httpMethod": "POST", +"id": "compute.zoneVmExtensionPolicies.insert", +"parameterOrder": [ +"project", +"zone" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"zone": { +"description": "Name of the zone for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/zones/{zone}/vmExtensionPolicies", +"request": { +"$ref": "VmExtensionPolicy" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"list": { +"description": "Lists all VM extension policies within a specific zone for a project.", +"flatPath": "projects/{project}/zones/{zone}/vmExtensionPolicies", +"httpMethod": "GET", +"id": "compute.zoneVmExtensionPolicies.list", +"parameterOrder": [ +"project", +"zone" +], +"parameters": { +"filter": { +"description": "A filter expression that filters resources listed in the response. Most\nCompute resources support two types of filter expressions:\nexpressions that support regular expressions and expressions that follow\nAPI improvement proposal AIP-160.\nThese two types of filter expressions cannot be mixed in one request.\n\nIf you want to use AIP-160, your expression must specify the field name, an\noperator, and the value that you want to use for filtering. The value\nmust be a string, a number, or a boolean. The operator\nmust be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.\n\nFor example, if you are filtering Compute Engine instances, you can\nexclude instances named `example-instance` by specifying\n`name != example-instance`.\n\nThe `:*` comparison can be used to test whether a key has been defined.\nFor example, to find all objects with `owner` label use:\n```\nlabels.owner:*\n```\n\nYou can also filter nested fields. For example, you could specify\n`scheduling.automaticRestart = false` to include instances only\nif they are not scheduled for automatic restarts. You can use filtering\non nested fields to filter based onresource labels.\n\nTo filter on multiple expressions, provide each separate expression within\nparentheses. For example:\n```\n(scheduling.automaticRestart = true)\n(cpuPlatform = \"Intel Skylake\")\n```\nBy default, each expression is an `AND` expression. However, you\ncan include `AND` and `OR` expressions explicitly.\nFor example:\n```\n(cpuPlatform = \"Intel Skylake\") OR\n(cpuPlatform = \"Intel Broadwell\") AND\n(scheduling.automaticRestart = true)\n```\n\nIf you want to use a regular expression, use the `eq` (equal) or `ne`\n(not equal) operator against a single un-parenthesized expression with or\nwithout quotes or against multiple parenthesized expressions. Examples:\n\n`fieldname eq unquoted literal`\n`fieldname eq 'single quoted literal'`\n`fieldname eq \"double quoted literal\"`\n`(fieldname1 eq literal) (fieldname2 ne \"literal\")`\n\nThe literal value is interpreted as a regular expression using GoogleRE2 library syntax.\nThe literal value must match the entire field.\n\nFor example, to filter for instances that do not end with name \"instance\",\nyou would use `name ne .*instance`.\n\nYou cannot combine constraints on multiple fields using regular\nexpressions.", +"location": "query", +"type": "string" +}, +"maxResults": { +"default": "500", +"description": "The maximum number of results per page that should be returned.\nIf the number of available results is larger than `maxResults`,\nCompute Engine returns a `nextPageToken` that can be used to get\nthe next page of results in subsequent list requests. Acceptable values are\n`0` to `500`, inclusive. (Default: `500`)", +"format": "uint32", +"location": "query", +"minimum": "0", +"type": "integer" +}, +"orderBy": { +"description": "Sorts list results by a certain order. By default, results\nare returned in alphanumerical order based on the resource name.\n\nYou can also sort results in descending order based on the creation\ntimestamp using `orderBy=\"creationTimestamp desc\"`. This sorts\nresults based on the `creationTimestamp` field in\nreverse chronological order (newest result first). Use this to sort\nresources like operations so that the newest operation is returned first.\n\nCurrently, only sorting by `name` or\n`creationTimestamp desc` is supported.", +"location": "query", +"type": "string" +}, +"pageToken": { +"description": "Specifies a page token to use. Set `pageToken` to the\n`nextPageToken` returned by a previous list request to get\nthe next page of results.", +"location": "query", +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"returnPartialSuccess": { +"description": "Opt-in for partial success behavior which provides partial results in case\nof failure. The default value is false.\n\nFor example, when partial success behavior is enabled, aggregatedList for a\nsingle zone scope either returns all resources in the zone or no resources,\nwith an error code.", +"location": "query", +"type": "boolean" +}, +"zone": { +"description": "Name of the zone for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/zones/{zone}/vmExtensionPolicies", +"response": { +"$ref": "VmExtensionPolicyList" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"update": { +"description": "Modifies an existing zone VM extension policy.", +"flatPath": "projects/{project}/zones/{zone}/vmExtensionPolicies/{vmExtensionPolicy}", +"httpMethod": "PATCH", +"id": "compute.zoneVmExtensionPolicies.update", +"parameterOrder": [ +"project", +"zone", +"vmExtensionPolicy" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so\nthat if you must retry your request, the server will know to ignore the\nrequest if it has already been completed.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same\nrequest ID, the server can check if original operation with the same\nrequest ID was received, and if so, will ignore the second request. This\nprevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be\na valid UUID with the exception that zero UUID is not supported\n(00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"vmExtensionPolicy": { +"description": "Name of the zone VM extension policy to update.", +"location": "path", +"required": true, +"type": "string" +}, +"zone": { +"description": "Name of the zone for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/zones/{zone}/vmExtensionPolicies/{vmExtensionPolicy}", +"request": { +"$ref": "VmExtensionPolicy" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +} +} +}, +"zones": { +"methods": { +"get": { +"description": "Returns the specified Zone resource.", +"flatPath": "projects/{project}/zones/{zone}", +"httpMethod": "GET", +"id": "compute.zones.get", +"parameterOrder": [ +"project", +"zone" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"zone": { +"description": "Name of the zone resource to return.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +} +}, +"path": "projects/{project}/zones/{zone}", +"response": { +"$ref": "Zone" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"list": { +"description": "Retrieves the list of Zone resources available to the specified project.", +"flatPath": "projects/{project}/zones", +"httpMethod": "GET", +"id": "compute.zones.list", +"parameterOrder": [ +"project" +], +"parameters": { +"filter": { +"description": "A filter expression that filters resources listed in the response. Most\nCompute resources support two types of filter expressions:\nexpressions that support regular expressions and expressions that follow\nAPI improvement proposal AIP-160.\nThese two types of filter expressions cannot be mixed in one request.\n\nIf you want to use AIP-160, your expression must specify the field name, an\noperator, and the value that you want to use for filtering. The value\nmust be a string, a number, or a boolean. The operator\nmust be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.\n\nFor example, if you are filtering Compute Engine instances, you can\nexclude instances named `example-instance` by specifying\n`name != example-instance`.\n\nThe `:*` comparison can be used to test whether a key has been defined.\nFor example, to find all objects with `owner` label use:\n```\nlabels.owner:*\n```\n\nYou can also filter nested fields. For example, you could specify\n`scheduling.automaticRestart = false` to include instances only\nif they are not scheduled for automatic restarts. You can use filtering\non nested fields to filter based onresource labels.\n\nTo filter on multiple expressions, provide each separate expression within\nparentheses. For example:\n```\n(scheduling.automaticRestart = true)\n(cpuPlatform = \"Intel Skylake\")\n```\nBy default, each expression is an `AND` expression. However, you\ncan include `AND` and `OR` expressions explicitly.\nFor example:\n```\n(cpuPlatform = \"Intel Skylake\") OR\n(cpuPlatform = \"Intel Broadwell\") AND\n(scheduling.automaticRestart = true)\n```\n\nIf you want to use a regular expression, use the `eq` (equal) or `ne`\n(not equal) operator against a single un-parenthesized expression with or\nwithout quotes or against multiple parenthesized expressions. Examples:\n\n`fieldname eq unquoted literal`\n`fieldname eq 'single quoted literal'`\n`fieldname eq \"double quoted literal\"`\n`(fieldname1 eq literal) (fieldname2 ne \"literal\")`\n\nThe literal value is interpreted as a regular expression using GoogleRE2 library syntax.\nThe literal value must match the entire field.\n\nFor example, to filter for instances that do not end with name \"instance\",\nyou would use `name ne .*instance`.\n\nYou cannot combine constraints on multiple fields using regular\nexpressions.", +"location": "query", +"type": "string" +}, +"maxResults": { +"default": "500", +"description": "The maximum number of results per page that should be returned.\nIf the number of available results is larger than `maxResults`,\nCompute Engine returns a `nextPageToken` that can be used to get\nthe next page of results in subsequent list requests. Acceptable values are\n`0` to `500`, inclusive. (Default: `500`)", +"format": "uint32", +"location": "query", +"minimum": "0", +"type": "integer" +}, +"orderBy": { +"description": "Sorts list results by a certain order. By default, results\nare returned in alphanumerical order based on the resource name.\n\nYou can also sort results in descending order based on the creation\ntimestamp using `orderBy=\"creationTimestamp desc\"`. This sorts\nresults based on the `creationTimestamp` field in\nreverse chronological order (newest result first). Use this to sort\nresources like operations so that the newest operation is returned first.\n\nCurrently, only sorting by `name` or\n`creationTimestamp desc` is supported.", +"location": "query", +"type": "string" +}, +"pageToken": { +"description": "Specifies a page token to use. Set `pageToken` to the\n`nextPageToken` returned by a previous list request to get\nthe next page of results.", +"location": "query", +"type": "string" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"returnPartialSuccess": { +"description": "Opt-in for partial success behavior which provides partial results in case\nof failure. The default value is false.\n\nFor example, when partial success behavior is enabled, aggregatedList for a\nsingle zone scope either returns all resources in the zone or no resources,\nwith an error code.", +"location": "query", +"type": "boolean" +} +}, +"path": "projects/{project}/zones", +"response": { +"$ref": "ZoneList" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +} +} +} +}, +"revision": "20260213", +"rootUrl": "https://compute.googleapis.com/", +"schemas": { +"AWSV4Signature": { +"description": "Contains the configurations necessary to generate a signature for access to\nprivate storage buckets that support Signature Version 4 for authentication.\nThe service name for generating the authentication header will always default\nto 's3'.", +"id": "AWSV4Signature", +"properties": { +"accessKey": { +"description": "The access key used for s3 bucket authentication. Required for updating or\ncreating a backend that uses AWS v4 signature authentication, but will not\nbe returned as part of the configuration when queried with a REST API GET\nrequest.\n\n@InputOnly", +"type": "string" +}, +"accessKeyId": { +"description": "The identifier of an access key used for s3 bucket authentication.", +"type": "string" +}, +"accessKeyVersion": { +"description": "The optional version identifier for the access key. You can use this to\nkeep track of different iterations of your access key.", +"type": "string" +}, +"originRegion": { +"description": "The name of the cloud region of your origin. This is a free-form field with\nthe name of the region your cloud uses to host your origin. For example,\n\"us-east-1\" for AWS or \"us-ashburn-1\" for OCI.", +"type": "string" +} +}, +"type": "object" +}, +"AcceleratorConfig": { +"description": "A specification of the type and number of accelerator cards attached to the\ninstance.", +"id": "AcceleratorConfig", +"properties": { +"acceleratorCount": { +"description": "The number of the guest accelerator cards exposed to this instance.", +"format": "int32", +"type": "integer" +}, +"acceleratorType": { +"description": "Full or partial URL of the accelerator type resource to attach to this\ninstance. For example:projects/my-project/zones/us-central1-c/acceleratorTypes/nvidia-tesla-p100\nIf you are creating an instance template, specify only the\naccelerator name.\nSee GPUs on Compute Engine\nfor a full list of accelerator types.", +"type": "string" +} +}, +"type": "object" +}, +"AcceleratorTopologiesInfo": { +"description": "Info for accelerator topologies within a densely packed reservation.", +"id": "AcceleratorTopologiesInfo", +"properties": { +"acceleratorTopologyInfos": { +"description": "Info for each accelerator topology.", +"items": { +"$ref": "AcceleratorTopologiesInfoAcceleratorTopologyInfo" +}, +"type": "array" +} +}, +"type": "object" +}, +"AcceleratorTopologiesInfoAcceleratorTopologyInfo": { +"description": "Info for a slice of a given topology.", +"id": "AcceleratorTopologiesInfoAcceleratorTopologyInfo", +"properties": { +"acceleratorTopology": { +"description": "The accelerator topology.", +"type": "string" +}, +"infoPerTopologyStates": { +"description": "Info for each topology state.", +"items": { +"$ref": "AcceleratorTopologiesInfoAcceleratorTopologyInfoInfoPerTopologyState" +}, +"type": "array" +} +}, +"type": "object" +}, +"AcceleratorTopologiesInfoAcceleratorTopologyInfoInfoPerTopologyState": { +"description": "Info for each topology state.", +"id": "AcceleratorTopologiesInfoAcceleratorTopologyInfoInfoPerTopologyState", +"properties": { +"count": { +"description": "The number of accelerator topologies in this state.", +"format": "int32", +"type": "integer" +}, +"state": { +"description": "The state of the accelerator topology.", +"enum": [ +"AVAILABLE", +"DEGRADED", +"RUNNING", +"TOPOLOGY_STATE_UNSPECIFIED", +"UNHEALTHY" +], +"enumDeprecated": [ +false, +false, +false, +false, +true +], +"enumDescriptions": [ +"The accelerator topology is available.", +"The accelerator topology is degraded. The underlying capacity is not in a\nhealthy state and is not available.", +"The accelerator topology is running. If there are both running and\ndegraded hosts within a topology, DEGRADED state will be returned.", +"The state of the topology is unspecified.", +"This value has been deprecated and is no longer used." +], +"type": "string" +} +}, +"type": "object" +}, +"AcceleratorType": { +"description": "Represents an Accelerator Type resource.\n\nGoogle Cloud Platform provides graphics processing units (accelerators) that\nyou can add to VM instances to improve or accelerate performance when working\nwith intensive workloads. For more information, readGPUs on Compute Engine.", +"id": "AcceleratorType", +"properties": { +"creationTimestamp": { +"description": "[Output Only] Creation timestamp inRFC3339 text format.", +"type": "string" +}, +"deprecated": { +"$ref": "DeprecationStatus", +"description": "[Output Only] The deprecation status associated with this accelerator type." +}, +"description": { +"description": "[Output Only] An optional textual description of the resource.", +"type": "string" +}, +"id": { +"description": "[Output Only] The unique identifier for the resource. This identifier is\ndefined by the server.", +"format": "uint64", +"type": "string" +}, +"kind": { +"default": "compute#acceleratorType", +"description": "Output only. [Output Only] The type of the resource. Alwayscompute#acceleratorType for accelerator types.", +"readOnly": true, +"type": "string" +}, +"maximumCardsPerInstance": { +"description": "[Output Only] Maximum number of accelerator cards allowed per instance.", +"format": "int32", +"type": "integer" +}, +"name": { +"description": "[Output Only] Name of the resource.", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"type": "string" +}, +"selfLink": { +"description": "Output only. [Output Only] Server-defined, fully qualified URL for this resource.", +"readOnly": true, +"type": "string" +}, +"zone": { +"description": "[Output Only] The name of the zone where the accelerator type resides,\nsuch as us-central1-a.\nYou must specify this field as part of the HTTP request URL. It is\nnot settable as a field in the request body.", +"type": "string" +} +}, +"type": "object" +}, +"AcceleratorTypeAggregatedList": { +"id": "AcceleratorTypeAggregatedList", +"properties": { +"id": { +"description": "[Output Only] Unique identifier for the resource; defined by the server.", +"type": "string" +}, +"items": { +"additionalProperties": { +"$ref": "AcceleratorTypesScopedList", +"description": "[Output Only] Name of the scope containing this set of accelerator types." +}, +"description": "A list of AcceleratorTypesScopedList resources.", +"type": "object" +}, +"kind": { +"default": "compute#acceleratorTypeAggregatedList", +"description": "Output only. [Output Only] Type of resource. Alwayscompute#acceleratorTypeAggregatedList for aggregated lists of\naccelerator types.", +"readOnly": true, +"type": "string" +}, +"nextPageToken": { +"description": "[Output Only] This token allows you to get the next page of results for\nlist requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for\nthe query parameter pageToken in the next list request.\nSubsequent list requests will have their own nextPageToken to\ncontinue paging through the results.", +"type": "string" +}, +"selfLink": { +"description": "Output only. [Output Only] Server-defined URL for this resource.", +"readOnly": true, +"type": "string" +}, +"unreachables": { +"description": "Output only. [Output Only] Unreachable resources.", +"items": { +"type": "string" +}, +"readOnly": true, +"type": "array" +}, +"warning": { +"description": "[Output Only] Informational warning message.", +"properties": { +"code": { +"description": "[Output Only] A warning code, if applicable. For example, Compute\nEngine returns NO_RESULTS_ON_PAGE if there\nare no results in the response.", +"enum": [ +"CLEANUP_FAILED", +"DEPRECATED_RESOURCE_USED", +"DEPRECATED_TYPE_USED", +"DISK_SIZE_LARGER_THAN_IMAGE_SIZE", +"EXPERIMENTAL_TYPE_USED", +"EXTERNAL_API_WARNING", +"FIELD_VALUE_OVERRIDEN", +"INJECTED_KERNELS_DEPRECATED", +"INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", +"LARGE_DEPLOYMENT_WARNING", +"LIST_OVERHEAD_QUOTA_EXCEED", +"MISSING_TYPE_DEPENDENCY", +"NEXT_HOP_ADDRESS_NOT_ASSIGNED", +"NEXT_HOP_CANNOT_IP_FORWARD", +"NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", +"NEXT_HOP_INSTANCE_NOT_FOUND", +"NEXT_HOP_INSTANCE_NOT_ON_NETWORK", +"NEXT_HOP_NOT_RUNNING", +"NOT_CRITICAL_ERROR", +"NO_RESULTS_ON_PAGE", +"PARTIAL_SUCCESS", +"QUOTA_INFO_UNAVAILABLE", +"REQUIRED_TOS_AGREEMENT", +"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", +"RESOURCE_NOT_DELETED", +"SCHEMA_VALIDATION_IGNORED", +"SINGLE_INSTANCE_PROPERTY_TEMPLATE", +"UNDECLARED_PROPERTIES", +"UNREACHABLE" +], +"enumDeprecated": [ +false, +false, +false, +false, +false, +false, +true, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false +], +"enumDescriptions": [ +"Warning about failed cleanup of transient changes made by a failed\noperation.", +"A link to a deprecated resource was created.", +"When deploying and at least one of the resources has a type marked as\ndeprecated", +"The user created a boot disk that is larger than image size.", +"When deploying and at least one of the resources has a type marked as\nexperimental", +"Warning that is present in an external api call", +"Warning that value of a field has been overridden.\nDeprecated unused field.", +"The operation involved use of an injected kernel, which is deprecated.", +"A WEIGHTED_MAGLEV backend service is associated with a health check that is\nnot of type HTTP/HTTPS/HTTP2.", +"When deploying a deployment with a exceedingly large number of resources", +"Resource can't be retrieved due to list overhead quota exceed\nwhich captures the amount of resources filtered out by\nuser-defined list filter.", +"A resource depends on a missing type", +"The route's nextHopIp address is not assigned to an instance on the\nnetwork.", +"The route's next hop instance cannot ip forward.", +"The route's nextHopInstance URL refers to an instance that does not have an\nipv6 interface on the same network as the route.", +"The route's nextHopInstance URL refers to an instance that does not exist.", +"The route's nextHopInstance URL refers to an instance that is not on the\nsame network as the route.", +"The route's next hop instance does not have a status of RUNNING.", +"Error which is not critical. We decided to continue the process despite\nthe mentioned error.", +"No results are present on a particular list page.", +"Success is reported, but some results may be missing due to errors", +"Quota information is not available to client requests (e.g:\nregions.list).", +"The user attempted to use a resource that requires a TOS they have not\naccepted.", +"Warning that a resource is in use.", +"One or more of the resources set to auto-delete could not be deleted\nbecause they were in use.", +"When a resource schema validation is ignored.", +"Instance template used in instance group manager is valid as such, but\nits application does not make a lot of sense, because it allows only\nsingle instance in instance group.", +"When undeclared properties in the schema are present", +"A given scope cannot be reached." +], +"type": "string" +}, +"data": { +"description": "[Output Only] Metadata about this warning in key:\nvalue format. For example:\n\n\"data\": [\n {\n \"key\": \"scope\",\n \"value\": \"zones/us-east1-d\"\n }", +"items": { +"properties": { +"key": { +"description": "[Output Only] A key that provides more detail on the warning being\nreturned. For example, for warnings where there are no results in a list\nrequest for a particular zone, this key might be scope and\nthe key value might be the zone name. Other examples might be a key\nindicating a deprecated resource and a suggested replacement, or a\nwarning about invalid network settings (for example, if an instance\nattempts to perform IP forwarding but is not enabled for IP forwarding).", +"type": "string" +}, +"value": { +"description": "[Output Only] A warning data value corresponding to the key.", +"type": "string" +} +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "[Output Only] A human-readable description of the warning code.", +"type": "string" +} +}, +"type": "object" +} +}, +"type": "object" +}, +"AcceleratorTypeList": { +"description": "Contains a list of accelerator types.", +"id": "AcceleratorTypeList", +"properties": { +"id": { +"description": "[Output Only] Unique identifier for the resource; defined by the server.", +"type": "string" +}, +"items": { +"description": "A list of AcceleratorType resources.", +"items": { +"$ref": "AcceleratorType" +}, +"type": "array" +}, +"kind": { +"default": "compute#acceleratorTypeList", +"description": "Output only. [Output Only] Type of resource. Alwayscompute#acceleratorTypeList for lists of accelerator types.", +"readOnly": true, +"type": "string" +}, +"nextPageToken": { +"description": "[Output Only] This token allows you to get the next page of results for\nlist requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for\nthe query parameter pageToken in the next list request.\nSubsequent list requests will have their own nextPageToken to\ncontinue paging through the results.", +"type": "string" +}, +"selfLink": { +"description": "Output only. [Output Only] Server-defined URL for this resource.", +"readOnly": true, +"type": "string" +}, +"warning": { +"description": "[Output Only] Informational warning message.", +"properties": { +"code": { +"description": "[Output Only] A warning code, if applicable. For example, Compute\nEngine returns NO_RESULTS_ON_PAGE if there\nare no results in the response.", +"enum": [ +"CLEANUP_FAILED", +"DEPRECATED_RESOURCE_USED", +"DEPRECATED_TYPE_USED", +"DISK_SIZE_LARGER_THAN_IMAGE_SIZE", +"EXPERIMENTAL_TYPE_USED", +"EXTERNAL_API_WARNING", +"FIELD_VALUE_OVERRIDEN", +"INJECTED_KERNELS_DEPRECATED", +"INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", +"LARGE_DEPLOYMENT_WARNING", +"LIST_OVERHEAD_QUOTA_EXCEED", +"MISSING_TYPE_DEPENDENCY", +"NEXT_HOP_ADDRESS_NOT_ASSIGNED", +"NEXT_HOP_CANNOT_IP_FORWARD", +"NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", +"NEXT_HOP_INSTANCE_NOT_FOUND", +"NEXT_HOP_INSTANCE_NOT_ON_NETWORK", +"NEXT_HOP_NOT_RUNNING", +"NOT_CRITICAL_ERROR", +"NO_RESULTS_ON_PAGE", +"PARTIAL_SUCCESS", +"QUOTA_INFO_UNAVAILABLE", +"REQUIRED_TOS_AGREEMENT", +"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", +"RESOURCE_NOT_DELETED", +"SCHEMA_VALIDATION_IGNORED", +"SINGLE_INSTANCE_PROPERTY_TEMPLATE", +"UNDECLARED_PROPERTIES", +"UNREACHABLE" +], +"enumDeprecated": [ +false, +false, +false, +false, +false, +false, +true, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false +], +"enumDescriptions": [ +"Warning about failed cleanup of transient changes made by a failed\noperation.", +"A link to a deprecated resource was created.", +"When deploying and at least one of the resources has a type marked as\ndeprecated", +"The user created a boot disk that is larger than image size.", +"When deploying and at least one of the resources has a type marked as\nexperimental", +"Warning that is present in an external api call", +"Warning that value of a field has been overridden.\nDeprecated unused field.", +"The operation involved use of an injected kernel, which is deprecated.", +"A WEIGHTED_MAGLEV backend service is associated with a health check that is\nnot of type HTTP/HTTPS/HTTP2.", +"When deploying a deployment with a exceedingly large number of resources", +"Resource can't be retrieved due to list overhead quota exceed\nwhich captures the amount of resources filtered out by\nuser-defined list filter.", +"A resource depends on a missing type", +"The route's nextHopIp address is not assigned to an instance on the\nnetwork.", +"The route's next hop instance cannot ip forward.", +"The route's nextHopInstance URL refers to an instance that does not have an\nipv6 interface on the same network as the route.", +"The route's nextHopInstance URL refers to an instance that does not exist.", +"The route's nextHopInstance URL refers to an instance that is not on the\nsame network as the route.", +"The route's next hop instance does not have a status of RUNNING.", +"Error which is not critical. We decided to continue the process despite\nthe mentioned error.", +"No results are present on a particular list page.", +"Success is reported, but some results may be missing due to errors", +"Quota information is not available to client requests (e.g:\nregions.list).", +"The user attempted to use a resource that requires a TOS they have not\naccepted.", +"Warning that a resource is in use.", +"One or more of the resources set to auto-delete could not be deleted\nbecause they were in use.", +"When a resource schema validation is ignored.", +"Instance template used in instance group manager is valid as such, but\nits application does not make a lot of sense, because it allows only\nsingle instance in instance group.", +"When undeclared properties in the schema are present", +"A given scope cannot be reached." +], +"type": "string" +}, +"data": { +"description": "[Output Only] Metadata about this warning in key:\nvalue format. For example:\n\n\"data\": [\n {\n \"key\": \"scope\",\n \"value\": \"zones/us-east1-d\"\n }", +"items": { +"properties": { +"key": { +"description": "[Output Only] A key that provides more detail on the warning being\nreturned. For example, for warnings where there are no results in a list\nrequest for a particular zone, this key might be scope and\nthe key value might be the zone name. Other examples might be a key\nindicating a deprecated resource and a suggested replacement, or a\nwarning about invalid network settings (for example, if an instance\nattempts to perform IP forwarding but is not enabled for IP forwarding).", +"type": "string" +}, +"value": { +"description": "[Output Only] A warning data value corresponding to the key.", +"type": "string" +} +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "[Output Only] A human-readable description of the warning code.", +"type": "string" +} +}, +"type": "object" +} +}, +"type": "object" +}, +"AcceleratorTypesScopedList": { +"id": "AcceleratorTypesScopedList", +"properties": { +"acceleratorTypes": { +"description": "[Output Only] A list of accelerator types contained in this scope.", +"items": { +"$ref": "AcceleratorType" +}, +"type": "array" +}, +"warning": { +"description": "[Output Only] An informational warning that appears when the accelerator\ntypes list is empty.", +"properties": { +"code": { +"description": "[Output Only] A warning code, if applicable. For example, Compute\nEngine returns NO_RESULTS_ON_PAGE if there\nare no results in the response.", +"enum": [ +"CLEANUP_FAILED", +"DEPRECATED_RESOURCE_USED", +"DEPRECATED_TYPE_USED", +"DISK_SIZE_LARGER_THAN_IMAGE_SIZE", +"EXPERIMENTAL_TYPE_USED", +"EXTERNAL_API_WARNING", +"FIELD_VALUE_OVERRIDEN", +"INJECTED_KERNELS_DEPRECATED", +"INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", +"LARGE_DEPLOYMENT_WARNING", +"LIST_OVERHEAD_QUOTA_EXCEED", +"MISSING_TYPE_DEPENDENCY", +"NEXT_HOP_ADDRESS_NOT_ASSIGNED", +"NEXT_HOP_CANNOT_IP_FORWARD", +"NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", +"NEXT_HOP_INSTANCE_NOT_FOUND", +"NEXT_HOP_INSTANCE_NOT_ON_NETWORK", +"NEXT_HOP_NOT_RUNNING", +"NOT_CRITICAL_ERROR", +"NO_RESULTS_ON_PAGE", +"PARTIAL_SUCCESS", +"QUOTA_INFO_UNAVAILABLE", +"REQUIRED_TOS_AGREEMENT", +"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", +"RESOURCE_NOT_DELETED", +"SCHEMA_VALIDATION_IGNORED", +"SINGLE_INSTANCE_PROPERTY_TEMPLATE", +"UNDECLARED_PROPERTIES", +"UNREACHABLE" +], +"enumDeprecated": [ +false, +false, +false, +false, +false, +false, +true, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false +], +"enumDescriptions": [ +"Warning about failed cleanup of transient changes made by a failed\noperation.", +"A link to a deprecated resource was created.", +"When deploying and at least one of the resources has a type marked as\ndeprecated", +"The user created a boot disk that is larger than image size.", +"When deploying and at least one of the resources has a type marked as\nexperimental", +"Warning that is present in an external api call", +"Warning that value of a field has been overridden.\nDeprecated unused field.", +"The operation involved use of an injected kernel, which is deprecated.", +"A WEIGHTED_MAGLEV backend service is associated with a health check that is\nnot of type HTTP/HTTPS/HTTP2.", +"When deploying a deployment with a exceedingly large number of resources", +"Resource can't be retrieved due to list overhead quota exceed\nwhich captures the amount of resources filtered out by\nuser-defined list filter.", +"A resource depends on a missing type", +"The route's nextHopIp address is not assigned to an instance on the\nnetwork.", +"The route's next hop instance cannot ip forward.", +"The route's nextHopInstance URL refers to an instance that does not have an\nipv6 interface on the same network as the route.", +"The route's nextHopInstance URL refers to an instance that does not exist.", +"The route's nextHopInstance URL refers to an instance that is not on the\nsame network as the route.", +"The route's next hop instance does not have a status of RUNNING.", +"Error which is not critical. We decided to continue the process despite\nthe mentioned error.", +"No results are present on a particular list page.", +"Success is reported, but some results may be missing due to errors", +"Quota information is not available to client requests (e.g:\nregions.list).", +"The user attempted to use a resource that requires a TOS they have not\naccepted.", +"Warning that a resource is in use.", +"One or more of the resources set to auto-delete could not be deleted\nbecause they were in use.", +"When a resource schema validation is ignored.", +"Instance template used in instance group manager is valid as such, but\nits application does not make a lot of sense, because it allows only\nsingle instance in instance group.", +"When undeclared properties in the schema are present", +"A given scope cannot be reached." +], +"type": "string" +}, +"data": { +"description": "[Output Only] Metadata about this warning in key:\nvalue format. For example:\n\n\"data\": [\n {\n \"key\": \"scope\",\n \"value\": \"zones/us-east1-d\"\n }", +"items": { +"properties": { +"key": { +"description": "[Output Only] A key that provides more detail on the warning being\nreturned. For example, for warnings where there are no results in a list\nrequest for a particular zone, this key might be scope and\nthe key value might be the zone name. Other examples might be a key\nindicating a deprecated resource and a suggested replacement, or a\nwarning about invalid network settings (for example, if an instance\nattempts to perform IP forwarding but is not enabled for IP forwarding).", +"type": "string" +}, +"value": { +"description": "[Output Only] A warning data value corresponding to the key.", +"type": "string" +} +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "[Output Only] A human-readable description of the warning code.", +"type": "string" +} +}, +"type": "object" +} +}, +"type": "object" +}, +"AccessConfig": { +"description": "An access configuration attached to an instance's network interface.\nOnly one access config per instance is supported.", +"id": "AccessConfig", +"properties": { +"externalIpv6": { +"description": "Applies to ipv6AccessConfigs only.\nThe first IPv6 address of the external IPv6 range associated\nwith this instance, prefix length is stored inexternalIpv6PrefixLength in ipv6AccessConfig. To\nuse a static external IP address, it must be unused and in the same region\nas the instance's zone. If not specified, Google Cloud will automatically\nassign an external IPv6 address from the instance's subnetwork.", +"type": "string" +}, +"externalIpv6PrefixLength": { +"description": "Applies to ipv6AccessConfigs only. The prefix length of the\nexternal IPv6 range.", +"format": "int32", +"type": "integer" +}, +"kind": { +"default": "compute#accessConfig", +"description": "Output only. [Output Only] Type of the resource. Alwayscompute#accessConfig for access configs.", +"readOnly": true, +"type": "string" +}, +"name": { +"description": "The name of this access configuration. In accessConfigs\n(IPv4), the default and recommended name is External NAT, but\nyou can use any arbitrary string, such as My external IP orNetwork Access. In ipv6AccessConfigs, the\nrecommend name is External IPv6.", +"type": "string" +}, +"natIP": { +"description": "Applies to accessConfigs (IPv4) only. Anexternal IP\naddress associated with this instance. Specify an unused static\nexternal IP address available to the project or leave this field undefined\nto use an IP from a shared ephemeral IP address pool. If you specify a\nstatic external IP address, it must live in the same region as the zone of\nthe instance.", +"type": "string" +}, +"networkTier": { +"description": "This signifies the networking tier used for configuring this access\nconfiguration and can only take the following values: PREMIUM,STANDARD.\n\nIf an AccessConfig is specified without a valid external IP address, an\nephemeral IP will be created with this networkTier.\n\nIf an AccessConfig with a valid external IP address is specified, it must\nmatch that of the networkTier associated with the Address resource owning\nthat IP.", +"enum": [ +"FIXED_STANDARD", +"PREMIUM", +"STANDARD", +"STANDARD_OVERRIDES_FIXED_STANDARD" +], +"enumDescriptions": [ +"Public internet quality with fixed bandwidth.", +"High quality, Google-grade network tier, support for all networking\nproducts.", +"Public internet quality, only limited support for other networking\nproducts.", +"(Output only) Temporary tier for FIXED_STANDARD when fixed standard tier\nis expired or not configured." +], +"type": "string" +}, +"publicPtrDomainName": { +"description": "The DNS domain name for the public PTR record.\n\nYou can set this field only if the `setPublicPtr` field is enabled inaccessConfig. If this field is unspecified inipv6AccessConfig, a default PTR record will be created for\nfirst IP in associated external IPv6 range.", +"type": "string" +}, +"securityPolicy": { +"description": "The resource URL for the security policy associated with this access\nconfig.", +"type": "string" +}, +"setPublicPtr": { +"description": "Specifies whether a public DNS 'PTR' record should be created to map the\nexternal IP address of the instance to a DNS domain name.\n\nThis field is not used in ipv6AccessConfig. A default PTR\nrecord will be created if the VM has external IPv6 range associated.", +"type": "boolean" +}, +"type": { +"description": "The type of configuration. In accessConfigs (IPv4), the\ndefault and only option is ONE_TO_ONE_NAT. Inipv6AccessConfigs, the default and only option isDIRECT_IPV6.", +"enum": [ +"DIRECT_IPV6", +"ONE_TO_ONE_NAT" +], +"enumDescriptions": [ +"", +"" +], +"type": "string" +} +}, +"type": "object" +}, +"Address": { +"description": "Represents an IP Address resource.\n\nGoogle Compute Engine has two IP Address resources:\n\n* [Global (external and\ninternal)](https://cloud.google.com/compute/docs/reference/rest/beta/globalAddresses)\n* [Regional (external and\ninternal)](https://cloud.google.com/compute/docs/reference/rest/beta/addresses)\n\nFor more information, see\nReserving a static external IP address.", +"id": "Address", +"properties": { +"address": { +"description": "The static IP address represented by this resource.", +"type": "string" +}, +"addressType": { +"description": "The type of address to reserve, either INTERNAL orEXTERNAL. If unspecified, defaults to EXTERNAL.", +"enum": [ +"EXTERNAL", +"INTERNAL", +"UNSPECIFIED_TYPE" +], +"enumDescriptions": [ +"A publicly visible external IP address.", +"A private network IP address, for use with an Instance or Internal Load\nBalancer forwarding rule.", +"" +], +"type": "string" +}, +"creationTimestamp": { +"description": "Output only. [Output Only] Creation timestamp inRFC3339\ntext format.", +"readOnly": true, +"type": "string" +}, +"description": { +"description": "An optional description of this resource. Provide this field when you\ncreate the resource.", +"type": "string" +}, +"id": { +"description": "Output only. [Output Only] The unique identifier for the resource. This identifier is\ndefined by the server.", +"format": "uint64", +"readOnly": true, +"type": "string" +}, +"ipCollection": { +"description": "Reference to the source of external IPv4 addresses,\nlike a PublicDelegatedPrefix (PDP) for BYOIP.\nThe PDP must support enhanced IPv4 allocations.\n\nUse one of the following formats to specify a PDP when reserving an\nexternal IPv4 address using BYOIP.\n \n - \n Full resource URL, as inhttps://www.googleapis.com/compute/v1/projects/projectId/regions/region/publicDelegatedPrefixes/pdp-name\n - \n Partial URL, as in\n \n \n - projects/projectId/regions/region/publicDelegatedPrefixes/pdp-name\n - regions/region/publicDelegatedPrefixes/pdp-name", +"type": "string" +}, +"ipVersion": { +"description": "The IP version that will be used by this address. Valid options areIPV4 or IPV6.", +"enum": [ +"IPV4", +"IPV6", +"UNSPECIFIED_VERSION" +], +"enumDescriptions": [ +"", +"", +"" +], +"type": "string" +}, +"ipv6EndpointType": { +"description": "The endpoint type of this address, which should be VM\nor NETLB. This is used for deciding which type of endpoint\nthis address can be used after the external IPv6 address reservation.", +"enum": [ +"NETLB", +"VM" +], +"enumDescriptions": [ +"Reserved IPv6 address can be used on network load balancer.", +"Reserved IPv6 address can be used on VM." +], +"type": "string" +}, +"kind": { +"default": "compute#address", +"description": "Output only. [Output Only] Type of the resource. Always compute#address for\naddresses.", +"readOnly": true, +"type": "string" +}, +"labelFingerprint": { +"description": "A fingerprint for the labels being applied to this Address, which is\nessentially a hash of the labels set used for optimistic locking. The\nfingerprint is initially generated by Compute Engine and changes after\nevery request to modify or update labels. You must always provide an\nup-to-date fingerprint hash in order to update or change labels,\notherwise the request will fail with error412 conditionNotMet.\n\nTo see the latest fingerprint, make a get() request to\nretrieve an Address.", +"format": "byte", +"type": "string" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Labels for this resource. These can only be added or modified by thesetLabels method. Each label key/value pair must comply withRFC1035.\nLabel values may be empty.", +"type": "object" +}, +"name": { +"annotations": { +"required": [ +"compute.addresses.insert" +] +}, +"description": "Name of the resource. Provided by the client when the resource is created.\nThe name must be 1-63 characters long, and comply withRFC1035.\nSpecifically, the name must be 1-63 characters long and match the regular\nexpression `[a-z]([-a-z0-9]*[a-z0-9])?`. The first character\nmust be a lowercase letter, and all following characters (except for the\nlast character) must be a dash, lowercase letter, or digit. The last\ncharacter must be a lowercase letter or digit.", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"type": "string" +}, +"network": { +"description": "The URL of the network in which to reserve the address. This field can\nonly be used with INTERNAL type with theVPC_PEERING purpose.", +"type": "string" +}, +"networkTier": { +"description": "This signifies the networking tier used for configuring this address and\ncan only take the following values: PREMIUM orSTANDARD. Internal IP addresses are always Premium Tier;\nglobal external IP addresses are always Premium Tier; regional external IP\naddresses can be either Standard or Premium Tier.\n\nIf this field is not specified, it is assumed to be PREMIUM.", +"enum": [ +"FIXED_STANDARD", +"PREMIUM", +"STANDARD", +"STANDARD_OVERRIDES_FIXED_STANDARD" +], +"enumDescriptions": [ +"Public internet quality with fixed bandwidth.", +"High quality, Google-grade network tier, support for all networking\nproducts.", +"Public internet quality, only limited support for other networking\nproducts.", +"(Output only) Temporary tier for FIXED_STANDARD when fixed standard tier\nis expired or not configured." +], +"type": "string" +}, +"prefixLength": { +"description": "The prefix length if the resource represents an IP range.", +"format": "int32", +"type": "integer" +}, +"purpose": { +"description": "The purpose of this resource, which can be one of the following values:\n \n \n - GCE_ENDPOINT for addresses that are used by VM\n instances, alias IP ranges, load balancers, and similar resources.\n - DNS_RESOLVER for a DNS resolver address in a subnetwork\n for a Cloud DNS inbound\n forwarder IP addresses (regional internal IP address in a subnet of\n a VPC network)\n - VPC_PEERING for global internal IP addresses used for\n \n private services access allocated ranges.\n - NAT_AUTO for the regional external IP addresses used by\n Cloud NAT when allocating addresses using\n \n automatic NAT IP address allocation.\n - IPSEC_INTERCONNECT for addresses created from a private\n IP range that are reserved for a VLAN attachment in an\n *HA VPN over Cloud Interconnect* configuration. These addresses\n are regional resources.\n - `SHARED_LOADBALANCER_VIP` for an internal IP address that is assigned\n to multiple internal forwarding rules.\n - `PRIVATE_SERVICE_CONNECT` for a private network address that is\n used to configure Private Service Connect. Only global internal addresses\n can use this purpose.", +"enum": [ +"DNS_RESOLVER", +"GCE_ENDPOINT", +"IPSEC_INTERCONNECT", +"NAT_AUTO", +"PRIVATE_SERVICE_CONNECT", +"SERVERLESS", +"SHARED_LOADBALANCER_VIP", +"VPC_PEERING" +], +"enumDescriptions": [ +"DNS resolver address in the subnetwork.", +"VM internal/alias IP, Internal LB service IP, etc.", +"A regional internal IP address range reserved for the VLAN attachment\nthat is used in HA VPN over Cloud Interconnect. This regional\ninternal IP address range must not overlap with any IP address range\nof subnet/route in the VPC network and its peering networks. After the\nVLAN attachment is created with the reserved IP address range, when\ncreating a new VPN gateway, its interface IP address is allocated\nfrom the associated VLAN attachment\u2019s IP address range.", +"External IP automatically reserved for Cloud NAT.", +"A private network IP address that can be used to configure Private\nService Connect. This purpose can be specified only forGLOBAL addresses of Type INTERNAL", +"A regional internal IP address range reserved for Serverless.", +"A private network IP address that can be shared by multiple Internal\nLoad Balancer forwarding rules.", +"IP range for peer networks." +], +"type": "string" +}, +"region": { +"description": "Output only. [Output Only] The URL of the region where a regional address resides.\nFor regional addresses, you must specify the region as a path parameter in\nthe HTTP request URL. *This field is not applicable to global\naddresses.*", +"readOnly": true, +"type": "string" +}, +"selfLink": { +"description": "[Output Only] Server-defined URL for the resource.", +"type": "string" +}, +"status": { +"description": "Output only. [Output Only] The status of the address, which can be one ofRESERVING, RESERVED, or IN_USE.\nAn address that is RESERVING is currently in the process of\nbeing reserved. A RESERVED address is currently reserved and\navailable to use. An IN_USE address is currently being used\nby another resource and is not available.", +"enum": [ +"IN_USE", +"RESERVED", +"RESERVING" +], +"enumDescriptions": [ +"Address is being used by another resource and is not available.", +"Address is reserved and available to use.", +"Address is being reserved." +], +"readOnly": true, +"type": "string" +}, +"subnetwork": { +"description": "The URL of the subnetwork in which to reserve the address. If an IP address\nis specified, it must be within the subnetwork's IP range. This field can\nonly be used with INTERNAL type with aGCE_ENDPOINT or DNS_RESOLVER purpose.", +"type": "string" +}, +"users": { +"description": "[Output Only] The URLs of the resources that are using this address.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"AddressAggregatedList": { +"id": "AddressAggregatedList", +"properties": { +"id": { +"description": "[Output Only] Unique identifier for the resource; defined by the server.", +"type": "string" +}, +"items": { +"additionalProperties": { +"$ref": "AddressesScopedList", +"description": "[Output Only] Name of the scope containing this set of addresses." +}, +"description": "A list of AddressesScopedList resources.", +"type": "object" +}, +"kind": { +"default": "compute#addressAggregatedList", +"description": "Output only. [Output Only] Type of resource. Alwayscompute#addressAggregatedList for aggregated lists of\naddresses.", +"readOnly": true, +"type": "string" +}, +"nextPageToken": { +"description": "[Output Only] This token allows you to get the next page of results for\nlist requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for\nthe query parameter pageToken in the next list request.\nSubsequent list requests will have their own nextPageToken to\ncontinue paging through the results.", +"type": "string" +}, +"selfLink": { +"description": "Output only. [Output Only] Server-defined URL for this resource.", +"readOnly": true, +"type": "string" +}, +"unreachables": { +"description": "Output only. [Output Only] Unreachable resources.", +"items": { +"type": "string" +}, +"readOnly": true, +"type": "array" +}, +"warning": { +"description": "[Output Only] Informational warning message.", +"properties": { +"code": { +"description": "[Output Only] A warning code, if applicable. For example, Compute\nEngine returns NO_RESULTS_ON_PAGE if there\nare no results in the response.", +"enum": [ +"CLEANUP_FAILED", +"DEPRECATED_RESOURCE_USED", +"DEPRECATED_TYPE_USED", +"DISK_SIZE_LARGER_THAN_IMAGE_SIZE", +"EXPERIMENTAL_TYPE_USED", +"EXTERNAL_API_WARNING", +"FIELD_VALUE_OVERRIDEN", +"INJECTED_KERNELS_DEPRECATED", +"INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", +"LARGE_DEPLOYMENT_WARNING", +"LIST_OVERHEAD_QUOTA_EXCEED", +"MISSING_TYPE_DEPENDENCY", +"NEXT_HOP_ADDRESS_NOT_ASSIGNED", +"NEXT_HOP_CANNOT_IP_FORWARD", +"NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", +"NEXT_HOP_INSTANCE_NOT_FOUND", +"NEXT_HOP_INSTANCE_NOT_ON_NETWORK", +"NEXT_HOP_NOT_RUNNING", +"NOT_CRITICAL_ERROR", +"NO_RESULTS_ON_PAGE", +"PARTIAL_SUCCESS", +"QUOTA_INFO_UNAVAILABLE", +"REQUIRED_TOS_AGREEMENT", +"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", +"RESOURCE_NOT_DELETED", +"SCHEMA_VALIDATION_IGNORED", +"SINGLE_INSTANCE_PROPERTY_TEMPLATE", +"UNDECLARED_PROPERTIES", +"UNREACHABLE" +], +"enumDeprecated": [ +false, +false, +false, +false, +false, +false, +true, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false +], +"enumDescriptions": [ +"Warning about failed cleanup of transient changes made by a failed\noperation.", +"A link to a deprecated resource was created.", +"When deploying and at least one of the resources has a type marked as\ndeprecated", +"The user created a boot disk that is larger than image size.", +"When deploying and at least one of the resources has a type marked as\nexperimental", +"Warning that is present in an external api call", +"Warning that value of a field has been overridden.\nDeprecated unused field.", +"The operation involved use of an injected kernel, which is deprecated.", +"A WEIGHTED_MAGLEV backend service is associated with a health check that is\nnot of type HTTP/HTTPS/HTTP2.", +"When deploying a deployment with a exceedingly large number of resources", +"Resource can't be retrieved due to list overhead quota exceed\nwhich captures the amount of resources filtered out by\nuser-defined list filter.", +"A resource depends on a missing type", +"The route's nextHopIp address is not assigned to an instance on the\nnetwork.", +"The route's next hop instance cannot ip forward.", +"The route's nextHopInstance URL refers to an instance that does not have an\nipv6 interface on the same network as the route.", +"The route's nextHopInstance URL refers to an instance that does not exist.", +"The route's nextHopInstance URL refers to an instance that is not on the\nsame network as the route.", +"The route's next hop instance does not have a status of RUNNING.", +"Error which is not critical. We decided to continue the process despite\nthe mentioned error.", +"No results are present on a particular list page.", +"Success is reported, but some results may be missing due to errors", +"Quota information is not available to client requests (e.g:\nregions.list).", +"The user attempted to use a resource that requires a TOS they have not\naccepted.", +"Warning that a resource is in use.", +"One or more of the resources set to auto-delete could not be deleted\nbecause they were in use.", +"When a resource schema validation is ignored.", +"Instance template used in instance group manager is valid as such, but\nits application does not make a lot of sense, because it allows only\nsingle instance in instance group.", +"When undeclared properties in the schema are present", +"A given scope cannot be reached." +], +"type": "string" +}, +"data": { +"description": "[Output Only] Metadata about this warning in key:\nvalue format. For example:\n\n\"data\": [\n {\n \"key\": \"scope\",\n \"value\": \"zones/us-east1-d\"\n }", +"items": { +"properties": { +"key": { +"description": "[Output Only] A key that provides more detail on the warning being\nreturned. For example, for warnings where there are no results in a list\nrequest for a particular zone, this key might be scope and\nthe key value might be the zone name. Other examples might be a key\nindicating a deprecated resource and a suggested replacement, or a\nwarning about invalid network settings (for example, if an instance\nattempts to perform IP forwarding but is not enabled for IP forwarding).", +"type": "string" +}, +"value": { +"description": "[Output Only] A warning data value corresponding to the key.", +"type": "string" +} +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "[Output Only] A human-readable description of the warning code.", +"type": "string" +} +}, +"type": "object" +} +}, +"type": "object" +}, +"AddressList": { +"description": "Contains a list of addresses.", +"id": "AddressList", +"properties": { +"id": { +"description": "[Output Only] Unique identifier for the resource; defined by the server.", +"type": "string" +}, +"items": { +"description": "A list of Address resources.", +"items": { +"$ref": "Address" +}, +"type": "array" +}, +"kind": { +"default": "compute#addressList", +"description": "Output only. [Output Only] Type of resource. Always compute#addressList for\nlists of addresses.", +"readOnly": true, +"type": "string" +}, +"nextPageToken": { +"description": "[Output Only] This token allows you to get the next page of results for\nlist requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for\nthe query parameter pageToken in the next list request.\nSubsequent list requests will have their own nextPageToken to\ncontinue paging through the results.", +"type": "string" +}, +"selfLink": { +"description": "Output only. [Output Only] Server-defined URL for this resource.", +"readOnly": true, +"type": "string" +}, +"warning": { +"description": "[Output Only] Informational warning message.", +"properties": { +"code": { +"description": "[Output Only] A warning code, if applicable. For example, Compute\nEngine returns NO_RESULTS_ON_PAGE if there\nare no results in the response.", +"enum": [ +"CLEANUP_FAILED", +"DEPRECATED_RESOURCE_USED", +"DEPRECATED_TYPE_USED", +"DISK_SIZE_LARGER_THAN_IMAGE_SIZE", +"EXPERIMENTAL_TYPE_USED", +"EXTERNAL_API_WARNING", +"FIELD_VALUE_OVERRIDEN", +"INJECTED_KERNELS_DEPRECATED", +"INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", +"LARGE_DEPLOYMENT_WARNING", +"LIST_OVERHEAD_QUOTA_EXCEED", +"MISSING_TYPE_DEPENDENCY", +"NEXT_HOP_ADDRESS_NOT_ASSIGNED", +"NEXT_HOP_CANNOT_IP_FORWARD", +"NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", +"NEXT_HOP_INSTANCE_NOT_FOUND", +"NEXT_HOP_INSTANCE_NOT_ON_NETWORK", +"NEXT_HOP_NOT_RUNNING", +"NOT_CRITICAL_ERROR", +"NO_RESULTS_ON_PAGE", +"PARTIAL_SUCCESS", +"QUOTA_INFO_UNAVAILABLE", +"REQUIRED_TOS_AGREEMENT", +"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", +"RESOURCE_NOT_DELETED", +"SCHEMA_VALIDATION_IGNORED", +"SINGLE_INSTANCE_PROPERTY_TEMPLATE", +"UNDECLARED_PROPERTIES", +"UNREACHABLE" +], +"enumDeprecated": [ +false, +false, +false, +false, +false, +false, +true, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false +], +"enumDescriptions": [ +"Warning about failed cleanup of transient changes made by a failed\noperation.", +"A link to a deprecated resource was created.", +"When deploying and at least one of the resources has a type marked as\ndeprecated", +"The user created a boot disk that is larger than image size.", +"When deploying and at least one of the resources has a type marked as\nexperimental", +"Warning that is present in an external api call", +"Warning that value of a field has been overridden.\nDeprecated unused field.", +"The operation involved use of an injected kernel, which is deprecated.", +"A WEIGHTED_MAGLEV backend service is associated with a health check that is\nnot of type HTTP/HTTPS/HTTP2.", +"When deploying a deployment with a exceedingly large number of resources", +"Resource can't be retrieved due to list overhead quota exceed\nwhich captures the amount of resources filtered out by\nuser-defined list filter.", +"A resource depends on a missing type", +"The route's nextHopIp address is not assigned to an instance on the\nnetwork.", +"The route's next hop instance cannot ip forward.", +"The route's nextHopInstance URL refers to an instance that does not have an\nipv6 interface on the same network as the route.", +"The route's nextHopInstance URL refers to an instance that does not exist.", +"The route's nextHopInstance URL refers to an instance that is not on the\nsame network as the route.", +"The route's next hop instance does not have a status of RUNNING.", +"Error which is not critical. We decided to continue the process despite\nthe mentioned error.", +"No results are present on a particular list page.", +"Success is reported, but some results may be missing due to errors", +"Quota information is not available to client requests (e.g:\nregions.list).", +"The user attempted to use a resource that requires a TOS they have not\naccepted.", +"Warning that a resource is in use.", +"One or more of the resources set to auto-delete could not be deleted\nbecause they were in use.", +"When a resource schema validation is ignored.", +"Instance template used in instance group manager is valid as such, but\nits application does not make a lot of sense, because it allows only\nsingle instance in instance group.", +"When undeclared properties in the schema are present", +"A given scope cannot be reached." +], +"type": "string" +}, +"data": { +"description": "[Output Only] Metadata about this warning in key:\nvalue format. For example:\n\n\"data\": [\n {\n \"key\": \"scope\",\n \"value\": \"zones/us-east1-d\"\n }", +"items": { +"properties": { +"key": { +"description": "[Output Only] A key that provides more detail on the warning being\nreturned. For example, for warnings where there are no results in a list\nrequest for a particular zone, this key might be scope and\nthe key value might be the zone name. Other examples might be a key\nindicating a deprecated resource and a suggested replacement, or a\nwarning about invalid network settings (for example, if an instance\nattempts to perform IP forwarding but is not enabled for IP forwarding).", +"type": "string" +}, +"value": { +"description": "[Output Only] A warning data value corresponding to the key.", +"type": "string" +} +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "[Output Only] A human-readable description of the warning code.", +"type": "string" +} +}, +"type": "object" +} +}, +"type": "object" +}, +"AddressesScopedList": { +"id": "AddressesScopedList", +"properties": { +"addresses": { +"description": "[Output Only] A list of addresses contained in this scope.", +"items": { +"$ref": "Address" +}, +"type": "array" +}, +"warning": { +"description": "[Output Only] Informational warning which replaces the list of addresses\nwhen the list is empty.", +"properties": { +"code": { +"description": "[Output Only] A warning code, if applicable. For example, Compute\nEngine returns NO_RESULTS_ON_PAGE if there\nare no results in the response.", +"enum": [ +"CLEANUP_FAILED", +"DEPRECATED_RESOURCE_USED", +"DEPRECATED_TYPE_USED", +"DISK_SIZE_LARGER_THAN_IMAGE_SIZE", +"EXPERIMENTAL_TYPE_USED", +"EXTERNAL_API_WARNING", +"FIELD_VALUE_OVERRIDEN", +"INJECTED_KERNELS_DEPRECATED", +"INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", +"LARGE_DEPLOYMENT_WARNING", +"LIST_OVERHEAD_QUOTA_EXCEED", +"MISSING_TYPE_DEPENDENCY", +"NEXT_HOP_ADDRESS_NOT_ASSIGNED", +"NEXT_HOP_CANNOT_IP_FORWARD", +"NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", +"NEXT_HOP_INSTANCE_NOT_FOUND", +"NEXT_HOP_INSTANCE_NOT_ON_NETWORK", +"NEXT_HOP_NOT_RUNNING", +"NOT_CRITICAL_ERROR", +"NO_RESULTS_ON_PAGE", +"PARTIAL_SUCCESS", +"QUOTA_INFO_UNAVAILABLE", +"REQUIRED_TOS_AGREEMENT", +"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", +"RESOURCE_NOT_DELETED", +"SCHEMA_VALIDATION_IGNORED", +"SINGLE_INSTANCE_PROPERTY_TEMPLATE", +"UNDECLARED_PROPERTIES", +"UNREACHABLE" +], +"enumDeprecated": [ +false, +false, +false, +false, +false, +false, +true, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false +], +"enumDescriptions": [ +"Warning about failed cleanup of transient changes made by a failed\noperation.", +"A link to a deprecated resource was created.", +"When deploying and at least one of the resources has a type marked as\ndeprecated", +"The user created a boot disk that is larger than image size.", +"When deploying and at least one of the resources has a type marked as\nexperimental", +"Warning that is present in an external api call", +"Warning that value of a field has been overridden.\nDeprecated unused field.", +"The operation involved use of an injected kernel, which is deprecated.", +"A WEIGHTED_MAGLEV backend service is associated with a health check that is\nnot of type HTTP/HTTPS/HTTP2.", +"When deploying a deployment with a exceedingly large number of resources", +"Resource can't be retrieved due to list overhead quota exceed\nwhich captures the amount of resources filtered out by\nuser-defined list filter.", +"A resource depends on a missing type", +"The route's nextHopIp address is not assigned to an instance on the\nnetwork.", +"The route's next hop instance cannot ip forward.", +"The route's nextHopInstance URL refers to an instance that does not have an\nipv6 interface on the same network as the route.", +"The route's nextHopInstance URL refers to an instance that does not exist.", +"The route's nextHopInstance URL refers to an instance that is not on the\nsame network as the route.", +"The route's next hop instance does not have a status of RUNNING.", +"Error which is not critical. We decided to continue the process despite\nthe mentioned error.", +"No results are present on a particular list page.", +"Success is reported, but some results may be missing due to errors", +"Quota information is not available to client requests (e.g:\nregions.list).", +"The user attempted to use a resource that requires a TOS they have not\naccepted.", +"Warning that a resource is in use.", +"One or more of the resources set to auto-delete could not be deleted\nbecause they were in use.", +"When a resource schema validation is ignored.", +"Instance template used in instance group manager is valid as such, but\nits application does not make a lot of sense, because it allows only\nsingle instance in instance group.", +"When undeclared properties in the schema are present", +"A given scope cannot be reached." +], +"type": "string" +}, +"data": { +"description": "[Output Only] Metadata about this warning in key:\nvalue format. For example:\n\n\"data\": [\n {\n \"key\": \"scope\",\n \"value\": \"zones/us-east1-d\"\n }", +"items": { +"properties": { +"key": { +"description": "[Output Only] A key that provides more detail on the warning being\nreturned. For example, for warnings where there are no results in a list\nrequest for a particular zone, this key might be scope and\nthe key value might be the zone name. Other examples might be a key\nindicating a deprecated resource and a suggested replacement, or a\nwarning about invalid network settings (for example, if an instance\nattempts to perform IP forwarding but is not enabled for IP forwarding).", +"type": "string" +}, +"value": { +"description": "[Output Only] A warning data value corresponding to the key.", +"type": "string" +} +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "[Output Only] A human-readable description of the warning code.", +"type": "string" +} +}, +"type": "object" +} +}, +"type": "object" +}, +"AdvancedMachineFeatures": { +"description": "Specifies options for controlling advanced machine features.\nOptions that would traditionally be configured in a BIOS belong\nhere. Features that require operating system support may have\ncorresponding entries in the GuestOsFeatures of anImage (e.g., whether or not the OS in theImage supports nested virtualization being enabled or\ndisabled).", +"id": "AdvancedMachineFeatures", +"properties": { +"enableNestedVirtualization": { +"description": "Whether to enable nested virtualization or not (default is false).", +"type": "boolean" +}, +"enableUefiNetworking": { +"description": "Whether to enable UEFI networking for instance creation.", +"type": "boolean" +}, +"performanceMonitoringUnit": { +"description": "Type of Performance Monitoring Unit requested on instance.", +"enum": [ +"ARCHITECTURAL", +"ENHANCED", +"PERFORMANCE_MONITORING_UNIT_UNSPECIFIED", +"STANDARD" +], +"enumDescriptions": [ +"Architecturally defined non-LLC events.", +"Most documented core/L2 and LLC events.", +"", +"Most documented core/L2 events." +], +"type": "string" +}, +"threadsPerCore": { +"description": "The number of threads per physical core. To disable simultaneous\nmultithreading (SMT) set this to 1. If unset, the maximum number\nof threads supported per core by the underlying processor is\nassumed.", +"format": "int32", +"type": "integer" +}, +"turboMode": { +"description": "Turbo frequency mode to use for the instance.\nSupported modes include:\n* ALL_CORE_MAX\n\nUsing empty string or not setting this field will use the platform-specific\ndefault turbo mode.", +"type": "string" +}, +"visibleCoreCount": { +"description": "The number of physical cores to expose to an instance. Multiply by\nthe number of threads per core to compute the total number of virtual\nCPUs to expose to the instance. If unset, the number of cores is\ninferred from the instance's nominal CPU count and the underlying\nplatform's SMT width.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"AliasIpRange": { +"description": "An alias IP range attached to an instance's network interface.", +"id": "AliasIpRange", +"properties": { +"ipCidrRange": { +"description": "The IP alias ranges to allocate for this interface. This IP CIDR range\nmust belong to the specified subnetwork and cannot contain IP addresses\nreserved by system or used by other network interfaces. This range may be\na single IP address (such as 10.2.3.4), a netmask (such as/24) or a CIDR-formatted string (such as10.1.2.0/24).", +"type": "string" +}, +"subnetworkRangeName": { +"description": "The name of a subnetwork secondary IP range from which to allocate an IP\nalias range. If not specified, the primary range of the subnetwork is used.", +"type": "string" +} +}, +"type": "object" +}, +"AllocationAggregateReservation": { +"description": "This reservation type is specified by total resource amounts (e.g. total\ncount of CPUs) and can account for multiple instance SKUs. In other words,\none can create instances of varying shapes against this reservation.", +"id": "AllocationAggregateReservation", +"properties": { +"hostCount": { +"description": "Count of reserved hosts of specified VM family. The host has fixed number\nof accelerators based on the accelerator/vm-family selected.", +"format": "int32", +"type": "integer" +}, +"inUseHostCount": { +"description": "Output only. Number of hosts currently in use. If there is one or more Instances\nrunning on the host, it is considered in use.", +"format": "int32", +"readOnly": true, +"type": "integer" +}, +"inUseInstanceCount": { +"description": "Output only. Number of instances currently in use in this reservation.", +"format": "int32", +"readOnly": true, +"type": "integer" +}, +"inUseResources": { +"description": "Output only. [Output only] List of resources currently in use.", +"items": { +"$ref": "AllocationAggregateReservationReservedResourceInfo" +}, +"readOnly": true, +"type": "array" +}, +"reservedResources": { +"description": "List of reserved resources (CPUs, memory, accelerators).", +"items": { +"$ref": "AllocationAggregateReservationReservedResourceInfo" +}, +"type": "array" +}, +"vmFamily": { +"description": "The VM family that all instances scheduled against this reservation must\nbelong to.", +"enum": [ +"VM_FAMILY_CLOUD_TPU_DEVICE_CT3", +"VM_FAMILY_CLOUD_TPU_LITE_DEVICE_CT5L", +"VM_FAMILY_CLOUD_TPU_LITE_POD_SLICE_CT5LP", +"VM_FAMILY_CLOUD_TPU_LITE_POD_SLICE_CT6E", +"VM_FAMILY_CLOUD_TPU_POD_SLICE_CT3P", +"VM_FAMILY_CLOUD_TPU_POD_SLICE_CT4P", +"VM_FAMILY_CLOUD_TPU_POD_SLICE_CT5P", +"VM_FAMILY_CLOUD_TPU_POD_SLICE_TPU7X" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"", +"", +"" +], +"type": "string" +}, +"workloadType": { +"description": "The workload type of the instances that will target this reservation.", +"enum": [ +"BATCH", +"SERVING", +"UNSPECIFIED" +], +"enumDescriptions": [ +"Reserved resources will be optimized for BATCH workloads, such as ML\ntraining.", +"Reserved resources will be optimized for SERVING workloads, such as ML\ninference.", +"" +], +"type": "string" +} +}, +"type": "object" +}, +"AllocationAggregateReservationReservedResourceInfo": { +"id": "AllocationAggregateReservationReservedResourceInfo", +"properties": { +"accelerator": { +"$ref": "AllocationAggregateReservationReservedResourceInfoAccelerator", +"description": "Properties of accelerator resources in this reservation." +} +}, +"type": "object" +}, +"AllocationAggregateReservationReservedResourceInfoAccelerator": { +"id": "AllocationAggregateReservationReservedResourceInfoAccelerator", +"properties": { +"acceleratorCount": { +"description": "Number of accelerators of specified type.", +"format": "int32", +"type": "integer" +}, +"acceleratorType": { +"description": "Full or partial URL to accelerator type. e.g.\n\"projects/{PROJECT}/zones/{ZONE}/acceleratorTypes/ct4l\"", +"type": "string" +} +}, +"type": "object" +}, +"AllocationReservationSharingPolicy": { +"id": "AllocationReservationSharingPolicy", +"properties": { +"serviceShareType": { +"description": "Sharing config for all Google Cloud services.", +"enum": [ +"ALLOW_ALL", +"DISALLOW_ALL", +"SERVICE_SHARE_TYPE_UNSPECIFIED" +], +"enumDescriptions": [ +"Allow all Google Cloud managed services to share reservations.", +"[Default] Disallow sharing with all Google Cloud services.", +"" +], +"type": "string" +} +}, +"type": "object" +}, +"AllocationResourceStatus": { +"description": "[Output Only] Contains output only fields.", +"id": "AllocationResourceStatus", +"properties": { +"healthInfo": { +"$ref": "AllocationResourceStatusHealthInfo", +"description": "[Output only] Health information for the reservation." +}, +"reservationBlockCount": { +"description": "The number of reservation blocks associated with this reservation.", +"format": "int32", +"type": "integer" +}, +"reservationMaintenance": { +"$ref": "GroupMaintenanceInfo", +"description": "Maintenance information for this reservation" +}, +"specificSkuAllocation": { +"$ref": "AllocationResourceStatusSpecificSKUAllocation", +"description": "Allocation Properties of this reservation." +} +}, +"type": "object" +}, +"AllocationResourceStatusHealthInfo": { +"description": "Health information for the reservation.", +"id": "AllocationResourceStatusHealthInfo", +"properties": { +"degradedBlockCount": { +"description": "The number of reservation blocks that are degraded.", +"format": "int32", +"type": "integer" +}, +"healthStatus": { +"description": "The health status of the reservation.", +"enum": [ +"DEGRADED", +"HEALTHY", +"HEALTH_STATUS_UNSPECIFIED" +], +"enumDescriptions": [ +"The reservation is degraded.", +"The reservation is healthy.", +"The health status of the reservation is unspecified." +], +"type": "string" +}, +"healthyBlockCount": { +"description": "The number of reservation blocks that are healthy.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"AllocationResourceStatusSpecificSKUAllocation": { +"description": "Contains Properties set for the reservation.", +"id": "AllocationResourceStatusSpecificSKUAllocation", +"properties": { +"sourceInstanceTemplateId": { +"description": "ID of the instance template used to populate reservation properties.", +"type": "string" +}, +"utilizations": { +"additionalProperties": { +"format": "int64", +"type": "string" +}, +"description": "Per service utilization breakdown. The Key is the Google Cloud managed\nservice name.", +"type": "object" +} +}, +"type": "object" +}, +"AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDisk": { +"id": "AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDisk", +"properties": { +"diskSizeGb": { +"description": "Specifies the size of the disk in base-2 GB.", +"format": "int64", +"type": "string" +}, +"interface": { +"description": "Specifies the disk interface to use for attaching this disk, which is\neither SCSI or NVME. The default isSCSI.\nFor performance characteristics of SCSI over NVMe, seeLocal SSD performance.", +"enum": [ +"NVME", +"SCSI" +], +"enumDescriptions": [ +"", +"" +], +"type": "string" +} +}, +"type": "object" +}, +"AllocationSpecificSKUAllocationReservedInstanceProperties": { +"description": "Properties of the SKU instances being reserved.\nNext ID: 10", +"id": "AllocationSpecificSKUAllocationReservedInstanceProperties", +"properties": { +"guestAccelerators": { +"description": "Specifies accelerator type and count.", +"items": { +"$ref": "AcceleratorConfig" +}, +"type": "array" +}, +"localSsds": { +"description": "Specifies amount of local ssd to reserve with each instance. The type\nof disk is local-ssd.", +"items": { +"$ref": "AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDisk" +}, +"type": "array" +}, +"locationHint": { +"description": "An opaque location hint used to place the allocation close to other\nresources.\nThis field is for use by internal tools that use the public API.", +"type": "string" +}, +"machineType": { +"description": "Specifies type of machine (name only) which has fixed number of vCPUs\nand fixed amount of memory. This also includes specifying custom\nmachine type following custom-NUMBER_OF_CPUS-AMOUNT_OF_MEMORY pattern.", +"type": "string" +}, +"maintenanceFreezeDurationHours": { +"description": "Specifies the number of hours after reservation creation where\ninstances using the reservation won't be scheduled for maintenance.", +"format": "int32", +"type": "integer" +}, +"maintenanceInterval": { +"description": "Specifies the frequency of planned maintenance events. The accepted\nvalues are: `PERIODIC`.", +"enum": [ +"AS_NEEDED", +"PERIODIC", +"RECURRENT" +], +"enumDescriptions": [ +"VMs are eligible to receive infrastructure and hypervisor updates as they\nbecome available. This may result in more maintenance operations (live\nmigrations or terminations) for the VM than the PERIODIC andRECURRENT options.", +"VMs receive infrastructure and hypervisor updates on a periodic basis,\nminimizing the number of maintenance operations (live migrations or\nterminations) on an individual VM. This may mean a VM will take longer\nto receive an update than if it was configured forAS_NEEDED. Security updates will still be applied as soon\nas they are available.", +"VMs receive infrastructure and hypervisor updates on a periodic basis,\nminimizing the number of maintenance operations (live migrations or\nterminations) on an individual VM. This may mean a VM will take longer\nto receive an update than if it was configured forAS_NEEDED. Security updates will still be applied as soon\nas they are available. RECURRENT is used for GEN3 and Slice\nof Hardware VMs." +], +"type": "string" +}, +"minCpuPlatform": { +"description": "Minimum cpu platform the reservation.", +"type": "string" +} +}, +"type": "object" +}, +"AllocationSpecificSKUReservation": { +"description": "This reservation type allows to pre allocate specific instance\n configuration.", +"id": "AllocationSpecificSKUReservation", +"properties": { +"assuredCount": { +"description": "Output only. [Output Only] Indicates how many instances are actually usable currently.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"count": { +"description": "Specifies the number of resources that are allocated.", +"format": "int64", +"type": "string" +}, +"inUseCount": { +"description": "Output only. [Output Only] Indicates how many instances are in use.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"instanceProperties": { +"$ref": "AllocationSpecificSKUAllocationReservedInstanceProperties", +"description": "The instance properties for the reservation." +}, +"sourceInstanceTemplate": { +"description": "Specifies the instance template to create the reservation. If you use\nthis field, you must exclude the instanceProperties field.\n\nThis field is optional, and it can be a full or partial URL. For example,\nthe following are all valid URLs to an instance template: \n \n \n - https://www.googleapis.com/compute/v1/projects/project/global/instanceTemplates/instanceTemplate\n - projects/project/global/instanceTemplates/instanceTemplate\n - global/instanceTemplates/instanceTemplate", +"type": "string" +} +}, +"type": "object" +}, +"AttachedDisk": { +"description": "An instance-attached disk resource.", +"id": "AttachedDisk", +"properties": { +"architecture": { +"description": "Output only. [Output Only] The architecture of the attached disk. Valid values are ARM64\nor X86_64.", +"enum": [ +"ARCHITECTURE_UNSPECIFIED", +"ARM64", +"X86_64" +], +"enumDescriptions": [ +"Default value indicating Architecture is not set.", +"Machines with architecture ARM64", +"Machines with architecture X86_64" +], +"readOnly": true, +"type": "string" +}, +"autoDelete": { +"description": "Specifies whether the disk will be auto-deleted when the instance is\ndeleted (but not when the disk is detached from the instance).", +"type": "boolean" +}, +"boot": { +"description": "Indicates that this is a boot disk. The virtual machine will use the first\npartition of the disk for its root filesystem.", +"type": "boolean" +}, +"deviceName": { +"description": "Specifies a unique device name of your choice that is reflected into the/dev/disk/by-id/google-* tree of a Linux operating system\nrunning within the instance. This name can be used to reference the device\nfor mounting, resizing, and so on, from within the instance.\n\nIf not specified, the server chooses a default device name to apply to this\ndisk, in the form persistent-disk-x, where x is a number\nassigned by Google Compute Engine. This field is only applicable for\npersistent disks.", +"type": "string" +}, +"diskEncryptionKey": { +"$ref": "CustomerEncryptionKey", +"description": "Encrypts or decrypts a disk using acustomer-supplied\nencryption key.\n\nIf you are creating a new disk, this field encrypts the new disk using\nan encryption key that you provide. If you are attaching an existing\ndisk that is already encrypted, this field decrypts the disk using\nthe customer-supplied encryption key.\n\nIf you encrypt a disk using a customer-supplied key, you must provide the\nsame key again when you attempt to use this resource at a later time. For\nexample, you must provide the key when you create a snapshot or an image\nfrom the disk or when you attach the disk to a virtual machine instance.\n\nIf you do not provide an encryption key, then the disk will be encrypted\nusing an automatically generated key and you do not need to provide a key\nto use the disk later.\n\nNote:\n\nInstance templates do not storecustomer-supplied\nencryption keys, so you cannot use your own keys to encrypt disks in amanaged instance group.\n\nYou cannot create VMs that have disks with customer-supplied keys using\nthe bulk\ninsert method." +}, +"diskSizeGb": { +"description": "The size of the disk in GB.", +"format": "int64", +"type": "string" +}, +"forceAttach": { +"description": "[Input Only] Whether to force attach the regional disk even if it's\ncurrently attached to another instance. If you try to force attach a zonal\ndisk to an instance, you will receive an error.", +"type": "boolean" +}, +"guestOsFeatures": { +"description": "A list of features to enable on the guest operating system. Applicable\nonly for bootable images. Read\nEnabling guest operating system features to see a list of available\noptions.", +"items": { +"$ref": "GuestOsFeature" +}, +"type": "array" +}, +"index": { +"description": "Output only. [Output Only] A zero-based index to this disk, where 0 is reserved for the\nboot disk. If you have many disks attached to an instance, each\ndisk would have a unique index number.", +"format": "int32", +"readOnly": true, +"type": "integer" +}, +"initializeParams": { +"$ref": "AttachedDiskInitializeParams", +"description": "[Input Only] Specifies the parameters for a new disk that will be created\nalongside the new instance. Use initialization parameters to create boot\ndisks or local SSDs attached to the new instance.\n\nThis property is mutually exclusive with the source property;\nyou can only define one or the other, but not both." +}, +"interface": { +"description": "Specifies the disk interface to use for attaching this disk, which is\neither SCSI or NVME. For most machine types, the\ndefault is SCSI. Local SSDs can use either NVME or SCSI.\nIn certain configurations, persistent disks can use NVMe. For more\ninformation, seeAbout\npersistent disks.", +"enum": [ +"NVME", +"SCSI" +], +"enumDescriptions": [ +"", +"" +], +"type": "string" +}, +"kind": { +"default": "compute#attachedDisk", +"description": "Output only. [Output Only] Type of the resource. Alwayscompute#attachedDisk for attached disks.", +"readOnly": true, +"type": "string" +}, +"licenses": { +"description": "Output only. [Output Only] Any valid publicly visible licenses.", +"items": { +"type": "string" +}, +"readOnly": true, +"type": "array" +}, +"locked": { +"description": "Output only. [Output Only] Whether to indicate the attached disk is locked. The locked\ndisk is not allowed to be detached from the instance, or to be used as the\nsource of the snapshot creation, and the image creation. The instance with\nat least one locked attached disk is not allow to be used as source of\nmachine image creation, instant snapshot creation, and not allowed to be\ndeleted with --keep-disk parameter set to true for locked disks.", +"readOnly": true, +"type": "boolean" +}, +"mode": { +"description": "The mode in which to attach this disk, either READ_WRITE orREAD_ONLY. If not specified, the default is to attach the disk\nin READ_WRITE mode.", +"enum": [ +"READ_ONLY", +"READ_WRITE" +], +"enumDescriptions": [ +"Attaches this disk in read-only mode. Multiple virtual machines can use\na disk in read-only mode at a time.", +"*[Default]* Attaches this disk in read-write mode. Only one\nvirtual machine at a time can be attached to a disk in read-write mode." +], +"type": "string" +}, +"savedState": { +"description": "Output only. For LocalSSD disks on VM Instances in STOPPED or SUSPENDED state, this\nfield is set to PRESERVED if the LocalSSD data has been saved\nto a persistent location by customer request. (see the\ndiscard_local_ssd option on Stop/Suspend).\nRead-only in the api.", +"enum": [ +"DISK_SAVED_STATE_UNSPECIFIED", +"PRESERVED" +], +"enumDescriptions": [ +"*[Default]* Disk state has not been preserved.", +"Disk state has been preserved." +], +"readOnly": true, +"type": "string" +}, +"shieldedInstanceInitialState": { +"$ref": "InitialStateConfig", +"description": "Output only. [Output Only] shielded vm initial state stored on disk", +"readOnly": true +}, +"source": { +"description": "Specifies a valid partial or full URL to an existing Persistent Disk\nresource. When creating a new instance boot disk, one ofinitializeParams.sourceImage orinitializeParams.sourceSnapshot or disks.source\nis required.\n\nIf desired, you can also attach existing non-root persistent disks using\nthis property. This field is only applicable for persistent disks.\n\nNote that for InstanceTemplate, specify the disk name for zonal disk,\nand the URL for regional disk.", +"type": "string" +}, +"type": { +"description": "Specifies the type of the disk, either SCRATCH orPERSISTENT. If not specified, the default isPERSISTENT.", +"enum": [ +"PERSISTENT", +"SCRATCH" +], +"enumDescriptions": [ +"", +"" +], +"type": "string" +} +}, +"type": "object" +}, +"AttachedDiskInitializeParams": { +"description": "[Input Only] Specifies the parameters for a new disk that will be created\nalongside the new instance. Use initialization parameters to create boot\ndisks or local SSDs attached to the new instance.\n\nThis field is persisted and returned for instanceTemplate and not returned\nin the context of instance.\n\nThis property is mutually exclusive with the source property;\nyou can only define one or the other, but not both.", +"id": "AttachedDiskInitializeParams", +"properties": { +"architecture": { +"description": "The architecture of the attached disk. Valid values are\narm64 or x86_64.", +"enum": [ +"ARCHITECTURE_UNSPECIFIED", +"ARM64", +"X86_64" +], +"enumDescriptions": [ +"Default value indicating Architecture is not set.", +"Machines with architecture ARM64", +"Machines with architecture X86_64" +], +"type": "string" +}, +"description": { +"description": "An optional description. Provide this property when creating the disk.", +"type": "string" +}, +"diskName": { +"description": "Specifies the disk name. If not specified, the default is to use the name\nof the instance. If a disk with the same name already exists in the given\nregion, the existing disk is attached to the new instance and the\nnew disk is not created.", +"type": "string" +}, +"diskSizeGb": { +"description": "Specifies the size of the disk in base-2 GB. The size must be at least\n10 GB. If you specify a sourceImage, which is required for\nboot disks, the default size is the size of the sourceImage.\nIf you do not specify a sourceImage, the default disk size\nis 500 GB.", +"format": "int64", +"type": "string" +}, +"diskType": { +"description": "Specifies the disk type to use to create the instance. If not specified,\nthe default is pd-standard, specified using the full URL.\nFor example:\n\nhttps://www.googleapis.com/compute/v1/projects/project/zones/zone/diskTypes/pd-standard\n\n\nFor a full list of acceptable values, seePersistent disk\ntypes. If you specify this field when creating a VM, you can provide\neither the full or partial URL. For example, the following values are\nvalid:\n \n \n - https://www.googleapis.com/compute/v1/projects/project/zones/zone/diskTypes/diskType \n - projects/project/zones/zone/diskTypes/diskType \n - zones/zone/diskTypes/diskType\n\n\nIf you specify this field when creating or updating an instance template\nor all-instances configuration, specify the type of the disk, not the\nURL. For example: pd-standard.", +"type": "string" +}, +"enableConfidentialCompute": { +"description": "Whether this disk is using confidential compute mode.", +"type": "boolean" +}, +"guestOsFeatures": { +"description": "A list of features to enable on the guest operating system. Applicable\nonly for bootable images. Read\nEnabling guest operating system features to see a list of available\noptions.\n\nGuest OS features are applied by merginginitializeParams.guestOsFeatures anddisks.guestOsFeatures", +"items": { +"$ref": "GuestOsFeature" +}, +"type": "array" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Labels to apply to this disk. These can be later modified by thedisks.setLabels method. This field is only applicable for\npersistent disks.", +"type": "object" +}, +"licenses": { +"description": "A list of publicly visible licenses. Reserved for Google's use.", +"items": { +"type": "string" +}, +"type": "array" +}, +"multiWriter": { +"description": "Indicates whether or not the disk can be read/write attached to\nmore than one instance.", +"type": "boolean" +}, +"onUpdateAction": { +"description": "Specifies which action to take on instance update with this disk. Default\nis to use the existing disk.", +"enum": [ +"RECREATE_DISK", +"RECREATE_DISK_IF_SOURCE_CHANGED", +"USE_EXISTING_DISK" +], +"enumDescriptions": [ +"Always recreate the disk.", +"Recreate the disk if source (image, snapshot) of this disk is different\nfrom source of existing disk.", +"Use the existing disk, this is the default behaviour." +], +"type": "string" +}, +"provisionedIops": { +"description": "Indicates how many IOPS to provision for the disk. This sets the number\nof I/O operations per second that the disk can handle. Values must be\nbetween 10,000 and 120,000. For more details, see theExtreme persistent\ndisk documentation.", +"format": "int64", +"type": "string" +}, +"provisionedThroughput": { +"description": "Indicates how much throughput to provision for the disk. This sets the\nnumber of throughput mb per second that the disk can handle. Values must\ngreater than or equal to 1.", +"format": "int64", +"type": "string" +}, +"replicaZones": { +"description": "Required for each regional disk associated with the instance. Specify\nthe URLs of the zones where the disk should be replicated to.\nYou must provide exactly two replica zones, and one zone must be the same\nas the instance zone.", +"items": { +"type": "string" +}, +"type": "array" +}, +"resourceManagerTags": { +"additionalProperties": { +"type": "string" +}, +"description": "Input only. Resource manager tags to be bound to the disk. Tag keys and values\nhave the same definition as resource\nmanager tags. Keys and values can be either in numeric format,\nsuch as `tagKeys/{tag_key_id}` and `tagValues/456` or in namespaced\nformat such as `{org_id|project_id}/{tag_key_short_name}` and\n`{tag_value_short_name}`. The field is ignored (both PUT & PATCH) when\nempty.", +"type": "object" +}, +"resourcePolicies": { +"description": "Resource policies applied to this disk for automatic snapshot creations.\nSpecified using the full or partial URL. For instance template, specify\nonly the resource policy name.", +"items": { +"type": "string" +}, +"type": "array" +}, +"sourceImage": { +"description": "The source image to create this disk. When creating a new instance boot\ndisk, one of initializeParams.sourceImage orinitializeParams.sourceSnapshot or disks.source\nis required.\n\nTo create a disk with one of the public operating system\nimages, specify the image by its family name. For example, specifyfamily/debian-9 to use the latest Debian 9 image:\n\nprojects/debian-cloud/global/images/family/debian-9\n\n\nAlternatively, use a specific version of a public operating system image:\n\nprojects/debian-cloud/global/images/debian-9-stretch-vYYYYMMDD\n\n\nTo create a disk with a custom image that you created, specify the\nimage name in the following format:\n\nglobal/images/my-custom-image\n\n\nYou can also specify a custom image by its image family, which returns\nthe latest version of the image in that family. Replace the image name\nwith family/family-name:\n\nglobal/images/family/my-image-family\n\n\nIf the source image is deleted later, this field will not be set.", +"type": "string" +}, +"sourceImageEncryptionKey": { +"$ref": "CustomerEncryptionKey", +"description": "Thecustomer-supplied\nencryption key of the source image. Required if the source image is\nprotected by a customer-supplied encryption key.\n\nInstanceTemplate and InstancePropertiesPatch do not storecustomer-supplied\nencryption keys, so you cannot create disks for instances in a managed instance group if the\nsource images are encrypted with your own keys." +}, +"sourceInstantSnapshot": { +"description": "The source instant-snapshot to create this disk. When creating a new\ninstance boot disk, one of initializeParams.sourceSnapshot\nor initializeParams.sourceInstantSnapshotinitializeParams.sourceImage or disks.source\nis required.\n\nTo create a disk with a snapshot that you created, specify the\nsnapshot name in the following format:\n\nus-central1-a/instantSnapshots/my-backup\n\n\nIf the source instant-snapshot is deleted later, this field will not be\nset.", +"type": "string" +}, +"sourceSnapshot": { +"description": "The source snapshot to create this disk. When creating a new instance\nboot disk, one of initializeParams.sourceSnapshot orinitializeParams.sourceImage or disks.source\nis required.\n\nTo create a disk with a snapshot that you created, specify the\nsnapshot name in the following format:\n\nglobal/snapshots/my-backup\n\n\nIf the source snapshot is deleted later, this field will not be set.\n\nNote: You cannot create VMs in bulk using a snapshot as the source. Use\nan image instead when you create VMs using\nthe bulk\ninsert method.", +"type": "string" +}, +"sourceSnapshotEncryptionKey": { +"$ref": "CustomerEncryptionKey", +"description": "Thecustomer-supplied\nencryption key of the source snapshot." +}, +"storagePool": { +"description": "The storage pool in which the new disk is created. You can provide\nthis as a partial or full URL to the resource. For example, the following\nare valid values:\n \n \n - https://www.googleapis.com/compute/v1/projects/project/zones/zone/storagePools/storagePool\n - projects/project/zones/zone/storagePools/storagePool \n - zones/zone/storagePools/storagePool", +"type": "string" +} +}, +"type": "object" +}, +"AuditConfig": { +"description": "Specifies the audit configuration for a service.\nThe configuration determines which permission types are logged, and what\nidentities, if any, are exempted from logging.\nAn AuditConfig must have one or more AuditLogConfigs.\n\nIf there are AuditConfigs for both `allServices` and a specific service,\nthe union of the two AuditConfigs is used for that service: the log_types\nspecified in each AuditConfig are enabled, and the exempted_members in each\nAuditLogConfig are exempted.\n\nExample Policy with multiple AuditConfigs:\n\n {\n \"audit_configs\": [\n {\n \"service\": \"allServices\",\n \"audit_log_configs\": [\n {\n \"log_type\": \"DATA_READ\",\n \"exempted_members\": [\n \"user:jose@example.com\"\n ]\n },\n {\n \"log_type\": \"DATA_WRITE\"\n },\n {\n \"log_type\": \"ADMIN_READ\"\n }\n ]\n },\n {\n \"service\": \"sampleservice.googleapis.com\",\n \"audit_log_configs\": [\n {\n \"log_type\": \"DATA_READ\"\n },\n {\n \"log_type\": \"DATA_WRITE\",\n \"exempted_members\": [\n \"user:aliya@example.com\"\n ]\n }\n ]\n }\n ]\n }\n\nFor sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ\nlogging. It also exempts `jose@example.com` from DATA_READ logging, and\n`aliya@example.com` from DATA_WRITE logging.", +"id": "AuditConfig", +"properties": { +"auditLogConfigs": { +"description": "The configuration for logging of each type of permission.", +"items": { +"$ref": "AuditLogConfig" +}, +"type": "array" +}, +"service": { +"description": "Specifies a service that will be enabled for audit logging.\nFor example, `storage.googleapis.com`, `cloudsql.googleapis.com`.\n`allServices` is a special value that covers all services.", +"type": "string" +} +}, +"type": "object" +}, +"AuditLogConfig": { +"description": "Provides the configuration for logging a type of permissions.\nExample:\n\n {\n \"audit_log_configs\": [\n {\n \"log_type\": \"DATA_READ\",\n \"exempted_members\": [\n \"user:jose@example.com\"\n ]\n },\n {\n \"log_type\": \"DATA_WRITE\"\n }\n ]\n }\n\nThis enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting\njose@example.com from DATA_READ logging.", +"id": "AuditLogConfig", +"properties": { +"exemptedMembers": { +"description": "Specifies the identities that do not cause logging for this type of\npermission.\nFollows the same format of Binding.members.", +"items": { +"type": "string" +}, +"type": "array" +}, +"logType": { +"description": "The log type that this config enables.", +"enum": [ +"ADMIN_READ", +"DATA_READ", +"DATA_WRITE", +"LOG_TYPE_UNSPECIFIED" +], +"enumDescriptions": [ +"Admin reads. Example: CloudIAM getIamPolicy", +"Data reads. Example: CloudSQL Users list", +"Data writes. Example: CloudSQL Users create", +"Default case. Should never be this." +], +"type": "string" +} +}, +"type": "object" +}, +"Autoscaler": { +"description": "Represents an Autoscaler resource.\n\nGoogle Compute Engine has two Autoscaler resources:\n\n* [Zonal](/compute/docs/reference/rest/beta/autoscalers)\n* [Regional](/compute/docs/reference/rest/beta/regionAutoscalers)\n\nUse autoscalers to automatically add or delete instances from a\nmanaged instance group according to your defined autoscaling policy.\nFor more information, read Autoscaling Groups of Instances.\n\nFor zonal managed instance groups resource, use the autoscaler\nresource.\n\nFor regional managed instance groups, use theregionAutoscalers resource.", +"id": "Autoscaler", +"properties": { +"autoscalingPolicy": { +"$ref": "AutoscalingPolicy", +"description": "The configuration parameters for the autoscaling algorithm. You can define\none or more signals for an autoscaler: cpuUtilization,customMetricUtilizations, andloadBalancingUtilization.\n\nIf none of these are specified, the default will be to autoscale based oncpuUtilization to 0.6 or 60%." +}, +"creationTimestamp": { +"description": "Output only. [Output Only] Creation timestamp inRFC3339\ntext format.", +"readOnly": true, +"type": "string" +}, +"description": { +"description": "An optional description of this resource. Provide this property when you\ncreate the resource.", +"type": "string" +}, +"id": { +"description": "Output only. [Output Only] The unique identifier for the resource. This identifier is\ndefined by the server.", +"format": "uint64", +"readOnly": true, +"type": "string" +}, +"kind": { +"default": "compute#autoscaler", +"description": "Output only. [Output Only] Type of the resource. Always compute#autoscaler\nfor autoscalers.", +"readOnly": true, +"type": "string" +}, +"name": { +"annotations": { +"required": [ +"compute.autoscalers.insert" +] +}, +"description": "Name of the resource. Provided by the client when the resource is created.\nThe name must be 1-63 characters long, and comply withRFC1035.\nSpecifically, the name must be 1-63 characters long and match the regular\nexpression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first\ncharacter must be a lowercase letter, and all following characters must\nbe a dash, lowercase letter, or digit, except the last character, which\ncannot be a dash.", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"type": "string" +}, +"recommendedSize": { +"description": "Output only. [Output Only] Target recommended MIG size (number of instances) computed by\nautoscaler. Autoscaler calculates the recommended MIG size even when the\nautoscaling policy mode is different from ON. This field is empty when\nautoscaler is not connected to an existing managed instance group or\nautoscaler did not generate its prediction.", +"format": "int32", +"readOnly": true, +"type": "integer" +}, +"region": { +"description": "Output only. [Output Only] URL of theregion\nwhere the instance group resides (for autoscalers living in regional\nscope).", +"readOnly": true, +"type": "string" +}, +"scalingScheduleStatus": { +"additionalProperties": { +"$ref": "ScalingScheduleStatus" +}, +"description": "Output only. [Output Only] Status information of existing scaling schedules.", +"readOnly": true, +"type": "object" +}, +"selfLink": { +"description": "[Output Only] Server-defined URL for the resource.", +"type": "string" +}, +"status": { +"description": "[Output Only] The status of the autoscaler configuration. Current set of\npossible values:\n \n - PENDING:\n Autoscaler backend hasn't read new/updated configuration.\n - DELETING:\n Configuration is being deleted.\n - ACTIVE:\n Configuration is acknowledged to be effective. Some warnings might\n be present in the statusDetails field.\n - ERROR:\n Configuration has errors. Actionable for users. Details are present in\n the statusDetails field.\n\n\nNew values might be added in the future.", +"enum": [ +"ACTIVE", +"DELETING", +"ERROR", +"PENDING" +], +"enumDescriptions": [ +"Configuration is acknowledged to be effective", +"Configuration is being deleted", +"Configuration has errors. Actionable for users.", +"Autoscaler backend hasn't read new/updated configuration" +], +"type": "string" +}, +"statusDetails": { +"description": "[Output Only] Human-readable details about the current state of the\nautoscaler. Read the documentation forCommonly\nreturned status messages for examples of status messages you might\nencounter.", +"items": { +"$ref": "AutoscalerStatusDetails" +}, +"type": "array" +}, +"target": { +"description": "URL of the managed instance group that this autoscaler will scale. This\nfield is required when creating an autoscaler.", +"type": "string" +}, +"zone": { +"description": "Output only. [Output Only] URL of thezone\nwhere the instance group resides (for autoscalers living in zonal scope).", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"AutoscalerAggregatedList": { +"id": "AutoscalerAggregatedList", +"properties": { +"id": { +"description": "[Output Only] Unique identifier for the resource; defined by the server.", +"type": "string" +}, +"items": { +"additionalProperties": { +"$ref": "AutoscalersScopedList", +"description": "[Output Only] Name of the scope containing this set of autoscalers." +}, +"description": "A list of AutoscalersScopedList resources.", +"type": "object" +}, +"kind": { +"default": "compute#autoscalerAggregatedList", +"description": "Output only. [Output Only] Type of resource. Alwayscompute#autoscalerAggregatedList for aggregated lists of\nautoscalers.", +"readOnly": true, +"type": "string" +}, +"nextPageToken": { +"description": "[Output Only] This token allows you to get the next page of results for\nlist requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for\nthe query parameter pageToken in the next list request.\nSubsequent list requests will have their own nextPageToken to\ncontinue paging through the results.", +"type": "string" +}, +"selfLink": { +"description": "Output only. [Output Only] Server-defined URL for this resource.", +"readOnly": true, +"type": "string" +}, +"unreachables": { +"description": "Output only. [Output Only] Unreachable resources.\nend_interface: MixerListResponseWithEtagBuilder", +"items": { +"type": "string" +}, +"readOnly": true, +"type": "array" +}, +"warning": { +"description": "[Output Only] Informational warning message.", +"properties": { +"code": { +"description": "[Output Only] A warning code, if applicable. For example, Compute\nEngine returns NO_RESULTS_ON_PAGE if there\nare no results in the response.", +"enum": [ +"CLEANUP_FAILED", +"DEPRECATED_RESOURCE_USED", +"DEPRECATED_TYPE_USED", +"DISK_SIZE_LARGER_THAN_IMAGE_SIZE", +"EXPERIMENTAL_TYPE_USED", +"EXTERNAL_API_WARNING", +"FIELD_VALUE_OVERRIDEN", +"INJECTED_KERNELS_DEPRECATED", +"INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", +"LARGE_DEPLOYMENT_WARNING", +"LIST_OVERHEAD_QUOTA_EXCEED", +"MISSING_TYPE_DEPENDENCY", +"NEXT_HOP_ADDRESS_NOT_ASSIGNED", +"NEXT_HOP_CANNOT_IP_FORWARD", +"NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", +"NEXT_HOP_INSTANCE_NOT_FOUND", +"NEXT_HOP_INSTANCE_NOT_ON_NETWORK", +"NEXT_HOP_NOT_RUNNING", +"NOT_CRITICAL_ERROR", +"NO_RESULTS_ON_PAGE", +"PARTIAL_SUCCESS", +"QUOTA_INFO_UNAVAILABLE", +"REQUIRED_TOS_AGREEMENT", +"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", +"RESOURCE_NOT_DELETED", +"SCHEMA_VALIDATION_IGNORED", +"SINGLE_INSTANCE_PROPERTY_TEMPLATE", +"UNDECLARED_PROPERTIES", +"UNREACHABLE" +], +"enumDeprecated": [ +false, +false, +false, +false, +false, +false, +true, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false +], +"enumDescriptions": [ +"Warning about failed cleanup of transient changes made by a failed\noperation.", +"A link to a deprecated resource was created.", +"When deploying and at least one of the resources has a type marked as\ndeprecated", +"The user created a boot disk that is larger than image size.", +"When deploying and at least one of the resources has a type marked as\nexperimental", +"Warning that is present in an external api call", +"Warning that value of a field has been overridden.\nDeprecated unused field.", +"The operation involved use of an injected kernel, which is deprecated.", +"A WEIGHTED_MAGLEV backend service is associated with a health check that is\nnot of type HTTP/HTTPS/HTTP2.", +"When deploying a deployment with a exceedingly large number of resources", +"Resource can't be retrieved due to list overhead quota exceed\nwhich captures the amount of resources filtered out by\nuser-defined list filter.", +"A resource depends on a missing type", +"The route's nextHopIp address is not assigned to an instance on the\nnetwork.", +"The route's next hop instance cannot ip forward.", +"The route's nextHopInstance URL refers to an instance that does not have an\nipv6 interface on the same network as the route.", +"The route's nextHopInstance URL refers to an instance that does not exist.", +"The route's nextHopInstance URL refers to an instance that is not on the\nsame network as the route.", +"The route's next hop instance does not have a status of RUNNING.", +"Error which is not critical. We decided to continue the process despite\nthe mentioned error.", +"No results are present on a particular list page.", +"Success is reported, but some results may be missing due to errors", +"Quota information is not available to client requests (e.g:\nregions.list).", +"The user attempted to use a resource that requires a TOS they have not\naccepted.", +"Warning that a resource is in use.", +"One or more of the resources set to auto-delete could not be deleted\nbecause they were in use.", +"When a resource schema validation is ignored.", +"Instance template used in instance group manager is valid as such, but\nits application does not make a lot of sense, because it allows only\nsingle instance in instance group.", +"When undeclared properties in the schema are present", +"A given scope cannot be reached." +], +"type": "string" +}, +"data": { +"description": "[Output Only] Metadata about this warning in key:\nvalue format. For example:\n\n\"data\": [\n {\n \"key\": \"scope\",\n \"value\": \"zones/us-east1-d\"\n }", +"items": { +"properties": { +"key": { +"description": "[Output Only] A key that provides more detail on the warning being\nreturned. For example, for warnings where there are no results in a list\nrequest for a particular zone, this key might be scope and\nthe key value might be the zone name. Other examples might be a key\nindicating a deprecated resource and a suggested replacement, or a\nwarning about invalid network settings (for example, if an instance\nattempts to perform IP forwarding but is not enabled for IP forwarding).", +"type": "string" +}, +"value": { +"description": "[Output Only] A warning data value corresponding to the key.", +"type": "string" +} +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "[Output Only] A human-readable description of the warning code.", +"type": "string" +} +}, +"type": "object" +} +}, +"type": "object" +}, +"AutoscalerList": { +"description": "Contains a list of Autoscaler resources.", +"id": "AutoscalerList", +"properties": { +"id": { +"description": "[Output Only] Unique identifier for the resource; defined by the server.", +"type": "string" +}, +"items": { +"description": "A list of Autoscaler resources.", +"items": { +"$ref": "Autoscaler" +}, +"type": "array" +}, +"kind": { +"default": "compute#autoscalerList", +"description": "Output only. [Output Only] Type of resource. Always compute#autoscalerList\nfor lists of autoscalers.", +"readOnly": true, +"type": "string" +}, +"nextPageToken": { +"description": "[Output Only] This token allows you to get the next page of results for\nlist requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for\nthe query parameter pageToken in the next list request.\nSubsequent list requests will have their own nextPageToken to\ncontinue paging through the results.", +"type": "string" +}, +"selfLink": { +"description": "Output only. [Output Only] Server-defined URL for this resource.", +"readOnly": true, +"type": "string" +}, +"warning": { +"description": "[Output Only] Informational warning message.", +"properties": { +"code": { +"description": "[Output Only] A warning code, if applicable. For example, Compute\nEngine returns NO_RESULTS_ON_PAGE if there\nare no results in the response.", +"enum": [ +"CLEANUP_FAILED", +"DEPRECATED_RESOURCE_USED", +"DEPRECATED_TYPE_USED", +"DISK_SIZE_LARGER_THAN_IMAGE_SIZE", +"EXPERIMENTAL_TYPE_USED", +"EXTERNAL_API_WARNING", +"FIELD_VALUE_OVERRIDEN", +"INJECTED_KERNELS_DEPRECATED", +"INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", +"LARGE_DEPLOYMENT_WARNING", +"LIST_OVERHEAD_QUOTA_EXCEED", +"MISSING_TYPE_DEPENDENCY", +"NEXT_HOP_ADDRESS_NOT_ASSIGNED", +"NEXT_HOP_CANNOT_IP_FORWARD", +"NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", +"NEXT_HOP_INSTANCE_NOT_FOUND", +"NEXT_HOP_INSTANCE_NOT_ON_NETWORK", +"NEXT_HOP_NOT_RUNNING", +"NOT_CRITICAL_ERROR", +"NO_RESULTS_ON_PAGE", +"PARTIAL_SUCCESS", +"QUOTA_INFO_UNAVAILABLE", +"REQUIRED_TOS_AGREEMENT", +"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", +"RESOURCE_NOT_DELETED", +"SCHEMA_VALIDATION_IGNORED", +"SINGLE_INSTANCE_PROPERTY_TEMPLATE", +"UNDECLARED_PROPERTIES", +"UNREACHABLE" +], +"enumDeprecated": [ +false, +false, +false, +false, +false, +false, +true, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false +], +"enumDescriptions": [ +"Warning about failed cleanup of transient changes made by a failed\noperation.", +"A link to a deprecated resource was created.", +"When deploying and at least one of the resources has a type marked as\ndeprecated", +"The user created a boot disk that is larger than image size.", +"When deploying and at least one of the resources has a type marked as\nexperimental", +"Warning that is present in an external api call", +"Warning that value of a field has been overridden.\nDeprecated unused field.", +"The operation involved use of an injected kernel, which is deprecated.", +"A WEIGHTED_MAGLEV backend service is associated with a health check that is\nnot of type HTTP/HTTPS/HTTP2.", +"When deploying a deployment with a exceedingly large number of resources", +"Resource can't be retrieved due to list overhead quota exceed\nwhich captures the amount of resources filtered out by\nuser-defined list filter.", +"A resource depends on a missing type", +"The route's nextHopIp address is not assigned to an instance on the\nnetwork.", +"The route's next hop instance cannot ip forward.", +"The route's nextHopInstance URL refers to an instance that does not have an\nipv6 interface on the same network as the route.", +"The route's nextHopInstance URL refers to an instance that does not exist.", +"The route's nextHopInstance URL refers to an instance that is not on the\nsame network as the route.", +"The route's next hop instance does not have a status of RUNNING.", +"Error which is not critical. We decided to continue the process despite\nthe mentioned error.", +"No results are present on a particular list page.", +"Success is reported, but some results may be missing due to errors", +"Quota information is not available to client requests (e.g:\nregions.list).", +"The user attempted to use a resource that requires a TOS they have not\naccepted.", +"Warning that a resource is in use.", +"One or more of the resources set to auto-delete could not be deleted\nbecause they were in use.", +"When a resource schema validation is ignored.", +"Instance template used in instance group manager is valid as such, but\nits application does not make a lot of sense, because it allows only\nsingle instance in instance group.", +"When undeclared properties in the schema are present", +"A given scope cannot be reached." +], +"type": "string" +}, +"data": { +"description": "[Output Only] Metadata about this warning in key:\nvalue format. For example:\n\n\"data\": [\n {\n \"key\": \"scope\",\n \"value\": \"zones/us-east1-d\"\n }", +"items": { +"properties": { +"key": { +"description": "[Output Only] A key that provides more detail on the warning being\nreturned. For example, for warnings where there are no results in a list\nrequest for a particular zone, this key might be scope and\nthe key value might be the zone name. Other examples might be a key\nindicating a deprecated resource and a suggested replacement, or a\nwarning about invalid network settings (for example, if an instance\nattempts to perform IP forwarding but is not enabled for IP forwarding).", +"type": "string" +}, +"value": { +"description": "[Output Only] A warning data value corresponding to the key.", +"type": "string" +} +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "[Output Only] A human-readable description of the warning code.", +"type": "string" +} +}, +"type": "object" +} +}, +"type": "object" +}, +"AutoscalerStatusDetails": { +"id": "AutoscalerStatusDetails", +"properties": { +"message": { +"description": "The status message.", +"type": "string" +}, +"type": { +"description": "The type of error, warning, or notice returned. Current set of possible\nvalues:\n \n - ALL_INSTANCES_UNHEALTHY (WARNING):\n All instances in the instance group are unhealthy (not in RUNNING\n state).\n - BACKEND_SERVICE_DOES_NOT_EXIST (ERROR):\n There is no backend service attached to the instance group.\n - CAPPED_AT_MAX_NUM_REPLICAS (WARNING):\n Autoscaler recommends a size greater than maxNumReplicas.\n - CUSTOM_METRIC_DATA_POINTS_TOO_SPARSE (WARNING):\n The custom metric samples are not exported often enough to be\n a credible base for autoscaling.\n - CUSTOM_METRIC_INVALID (ERROR):\n The custom metric that was specified does not exist or does not have\n the necessary labels.\n - MIN_EQUALS_MAX (WARNING):\n The minNumReplicas is equal to maxNumReplicas. This means the\n autoscaler cannot add or remove instances from the instance group.\n - MISSING_CUSTOM_METRIC_DATA_POINTS (WARNING):\n The autoscaler did not receive any data from the custom metric\n configured for autoscaling.\n - MISSING_LOAD_BALANCING_DATA_POINTS (WARNING):\n The autoscaler is configured to scale based on a load balancing signal\n but the instance group has not received any requests from the load\n balancer.\n - MODE_OFF (WARNING):\n Autoscaling is turned off. The number of instances in the group won't\n change automatically. The autoscaling configuration is preserved.\n - MODE_ONLY_UP (WARNING):\n Autoscaling is in the \"Autoscale only out\" mode. The autoscaler can add\n instances but not remove any.\n - MORE_THAN_ONE_BACKEND_SERVICE (ERROR):\n The instance group cannot be autoscaled because it has more than one\n backend service attached to it.\n - NOT_ENOUGH_QUOTA_AVAILABLE (ERROR):\n There is insufficient quota for the necessary resources, such as CPU or\n number of instances.\n - REGION_RESOURCE_STOCKOUT (ERROR):\n Shown only for regional autoscalers: there is a resource stockout in\n the chosen region.\n - SCALING_TARGET_DOES_NOT_EXIST (ERROR):\n The target to be scaled does not exist.\n - UNSUPPORTED_MAX_RATE_LOAD_BALANCING_CONFIGURATION\n (ERROR): Autoscaling does not work with an HTTP/S load balancer that\n has been configured for maxRate.\n - ZONE_RESOURCE_STOCKOUT (ERROR):\n For zonal autoscalers: there is a resource stockout in the chosen zone.\n For regional autoscalers: in at least one of the zones you're using\n there is a resource stockout.\n\n\nNew values might be added in the future. Some of the values might not be\navailable in all API versions.", +"enum": [ +"ALL_INSTANCES_UNHEALTHY", +"BACKEND_SERVICE_DOES_NOT_EXIST", +"CAPPED_AT_MAX_NUM_REPLICAS", +"CUSTOM_METRIC_DATA_POINTS_TOO_SPARSE", +"CUSTOM_METRIC_INVALID", +"MIN_EQUALS_MAX", +"MISSING_CUSTOM_METRIC_DATA_POINTS", +"MISSING_LOAD_BALANCING_DATA_POINTS", +"MODE_OFF", +"MODE_ONLY_SCALE_OUT", +"MODE_ONLY_UP", +"MORE_THAN_ONE_BACKEND_SERVICE", +"NOT_ENOUGH_QUOTA_AVAILABLE", +"REGION_RESOURCE_STOCKOUT", +"SCALING_TARGET_DOES_NOT_EXIST", +"SCHEDULED_INSTANCES_GREATER_THAN_AUTOSCALER_MAX", +"SCHEDULED_INSTANCES_LESS_THAN_AUTOSCALER_MIN", +"UNKNOWN", +"UNSUPPORTED_MAX_RATE_LOAD_BALANCING_CONFIGURATION", +"ZONE_RESOURCE_STOCKOUT" +], +"enumDescriptions": [ +"All instances in the instance group are unhealthy (not in RUNNING state).", +"There is no backend service attached to the instance group.", +"Autoscaler recommends a size greater than maxNumReplicas.", +"The custom metric samples are not exported often enough to be a credible\nbase for autoscaling.", +"The custom metric that was specified does not exist or does not have the\nnecessary labels.", +"The minNumReplicas is equal to maxNumReplicas. This means the autoscaler\ncannot add or remove instances from the instance group.", +"The autoscaler did not receive any data from the custom metric configured\nfor autoscaling.", +"The autoscaler is configured to scale based on a load balancing signal\nbut the instance group has not received any requests from the load\nbalancer.", +"Autoscaling is turned off. The number of instances in the group won't\nchange automatically. The autoscaling configuration is preserved.", +"Autoscaling is in the \"Autoscale only scale out\" mode.\nInstances in the group will be only added.", +"Autoscaling is in the \"Autoscale only out\" mode. Instances in the group\nwill be only added.", +"The instance group cannot be autoscaled because it has more than one\nbackend service attached to it.", +"There is insufficient quota for the necessary resources, such as CPU or\nnumber of instances.", +"Showed only for regional autoscalers: there is a resource stockout in\nthe chosen region.", +"The target to be scaled does not exist.", +"For some scaling schedules minRequiredReplicas is greater than\nmaxNumReplicas. Autoscaler always recommends at most maxNumReplicas\ninstances.", +"For some scaling schedules minRequiredReplicas is less than\nminNumReplicas. Autoscaler always recommends at least minNumReplicas\ninstances.", +"", +"Autoscaling does not work with an HTTP/S load balancer that has been\nconfigured for maxRate.", +"For zonal autoscalers: there is a resource stockout in the chosen zone.\nFor regional autoscalers: in at least one of the zones you're using there\nis a resource stockout." +], +"type": "string" +} +}, +"type": "object" +}, +"AutoscalersScopedList": { +"id": "AutoscalersScopedList", +"properties": { +"autoscalers": { +"description": "[Output Only] A list of autoscalers contained in this scope.", +"items": { +"$ref": "Autoscaler" +}, +"type": "array" +}, +"warning": { +"description": "[Output Only] Informational warning which replaces the list of autoscalers\nwhen the list is empty.", +"properties": { +"code": { +"description": "[Output Only] A warning code, if applicable. For example, Compute\nEngine returns NO_RESULTS_ON_PAGE if there\nare no results in the response.", +"enum": [ +"CLEANUP_FAILED", +"DEPRECATED_RESOURCE_USED", +"DEPRECATED_TYPE_USED", +"DISK_SIZE_LARGER_THAN_IMAGE_SIZE", +"EXPERIMENTAL_TYPE_USED", +"EXTERNAL_API_WARNING", +"FIELD_VALUE_OVERRIDEN", +"INJECTED_KERNELS_DEPRECATED", +"INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", +"LARGE_DEPLOYMENT_WARNING", +"LIST_OVERHEAD_QUOTA_EXCEED", +"MISSING_TYPE_DEPENDENCY", +"NEXT_HOP_ADDRESS_NOT_ASSIGNED", +"NEXT_HOP_CANNOT_IP_FORWARD", +"NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", +"NEXT_HOP_INSTANCE_NOT_FOUND", +"NEXT_HOP_INSTANCE_NOT_ON_NETWORK", +"NEXT_HOP_NOT_RUNNING", +"NOT_CRITICAL_ERROR", +"NO_RESULTS_ON_PAGE", +"PARTIAL_SUCCESS", +"QUOTA_INFO_UNAVAILABLE", +"REQUIRED_TOS_AGREEMENT", +"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", +"RESOURCE_NOT_DELETED", +"SCHEMA_VALIDATION_IGNORED", +"SINGLE_INSTANCE_PROPERTY_TEMPLATE", +"UNDECLARED_PROPERTIES", +"UNREACHABLE" +], +"enumDeprecated": [ +false, +false, +false, +false, +false, +false, +true, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false +], +"enumDescriptions": [ +"Warning about failed cleanup of transient changes made by a failed\noperation.", +"A link to a deprecated resource was created.", +"When deploying and at least one of the resources has a type marked as\ndeprecated", +"The user created a boot disk that is larger than image size.", +"When deploying and at least one of the resources has a type marked as\nexperimental", +"Warning that is present in an external api call", +"Warning that value of a field has been overridden.\nDeprecated unused field.", +"The operation involved use of an injected kernel, which is deprecated.", +"A WEIGHTED_MAGLEV backend service is associated with a health check that is\nnot of type HTTP/HTTPS/HTTP2.", +"When deploying a deployment with a exceedingly large number of resources", +"Resource can't be retrieved due to list overhead quota exceed\nwhich captures the amount of resources filtered out by\nuser-defined list filter.", +"A resource depends on a missing type", +"The route's nextHopIp address is not assigned to an instance on the\nnetwork.", +"The route's next hop instance cannot ip forward.", +"The route's nextHopInstance URL refers to an instance that does not have an\nipv6 interface on the same network as the route.", +"The route's nextHopInstance URL refers to an instance that does not exist.", +"The route's nextHopInstance URL refers to an instance that is not on the\nsame network as the route.", +"The route's next hop instance does not have a status of RUNNING.", +"Error which is not critical. We decided to continue the process despite\nthe mentioned error.", +"No results are present on a particular list page.", +"Success is reported, but some results may be missing due to errors", +"Quota information is not available to client requests (e.g:\nregions.list).", +"The user attempted to use a resource that requires a TOS they have not\naccepted.", +"Warning that a resource is in use.", +"One or more of the resources set to auto-delete could not be deleted\nbecause they were in use.", +"When a resource schema validation is ignored.", +"Instance template used in instance group manager is valid as such, but\nits application does not make a lot of sense, because it allows only\nsingle instance in instance group.", +"When undeclared properties in the schema are present", +"A given scope cannot be reached." +], +"type": "string" +}, +"data": { +"description": "[Output Only] Metadata about this warning in key:\nvalue format. For example:\n\n\"data\": [\n {\n \"key\": \"scope\",\n \"value\": \"zones/us-east1-d\"\n }", +"items": { +"properties": { +"key": { +"description": "[Output Only] A key that provides more detail on the warning being\nreturned. For example, for warnings where there are no results in a list\nrequest for a particular zone, this key might be scope and\nthe key value might be the zone name. Other examples might be a key\nindicating a deprecated resource and a suggested replacement, or a\nwarning about invalid network settings (for example, if an instance\nattempts to perform IP forwarding but is not enabled for IP forwarding).", +"type": "string" +}, +"value": { +"description": "[Output Only] A warning data value corresponding to the key.", +"type": "string" +} +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "[Output Only] A human-readable description of the warning code.", +"type": "string" +} +}, +"type": "object" +} +}, +"type": "object" +}, +"AutoscalingPolicy": { +"description": "Cloud Autoscaler policy.", +"id": "AutoscalingPolicy", +"properties": { +"coolDownPeriodSec": { +"description": "The number of seconds that your application takes to initialize on a VM\ninstance. This is referred to as the\n[initialization period](/compute/docs/autoscaler#cool_down_period).\nSpecifying an accurate initialization period improves\nautoscaler decisions. For example, when scaling out, the autoscaler ignores\ndata from VMs that are still initializing because those VMs might not yet\nrepresent normal usage of your application. The default initialization\nperiod is 60 seconds.\n\nInitialization periods might vary because of numerous\nfactors. We recommend that you test how long your application takes to\ninitialize. To do this, create a VM and time your application's startup\nprocess.", +"format": "int32", +"type": "integer" +}, +"cpuUtilization": { +"$ref": "AutoscalingPolicyCpuUtilization", +"description": "Defines the CPU utilization policy that allows the autoscaler to scale\nbased on the average CPU utilization of a managed instance group." +}, +"customMetricUtilizations": { +"description": "Configuration parameters of autoscaling based on a custom metric.", +"items": { +"$ref": "AutoscalingPolicyCustomMetricUtilization" +}, +"type": "array" +}, +"loadBalancingUtilization": { +"$ref": "AutoscalingPolicyLoadBalancingUtilization", +"description": "Configuration parameters of autoscaling based on load balancer." +}, +"maxNumReplicas": { +"description": "The maximum number of instances that the autoscaler can scale out to. This\nis required when creating or updating an autoscaler. The maximum number\nof replicas must not be lower than minimal number of replicas.", +"format": "int32", +"type": "integer" +}, +"minNumReplicas": { +"description": "The minimum number of replicas that the autoscaler can scale in to.\nThis cannot be less than 0. If not provided, autoscaler chooses a\ndefault value depending on maximum number of instances allowed.", +"format": "int32", +"type": "integer" +}, +"mode": { +"description": "Defines the operating mode for this policy.\nThe following modes are available:\n \n - OFF: Disables the autoscaler but maintains its\n configuration.\n - ONLY_SCALE_OUT: Restricts the autoscaler to add\n VM instances only.\n - ON: Enables all autoscaler activities according to its\n policy.\n\n\nFor more information, see \n\"Turning off or restricting an autoscaler\"", +"enum": [ +"OFF", +"ON", +"ONLY_SCALE_OUT", +"ONLY_UP" +], +"enumDescriptions": [ +"Do not automatically scale the MIG in or out.\nThe recommended_size field contains the size of MIG that would be set if\nthe actuation mode was enabled.", +"Automatically scale the MIG in and out according to the policy.", +"Automatically create VMs according to the policy, but do not scale\nthe MIG in.", +"Automatically create VMs according to the policy, but do not scale\nthe MIG in." +], +"type": "string" +}, +"scaleDownControl": { +"$ref": "AutoscalingPolicyScaleDownControl" +}, +"scaleInControl": { +"$ref": "AutoscalingPolicyScaleInControl" +}, +"scalingSchedules": { +"additionalProperties": { +"$ref": "AutoscalingPolicyScalingSchedule" +}, +"description": "Scaling schedules defined for an autoscaler. Multiple schedules\ncan be set on an autoscaler, and they can overlap. During overlapping\nperiods the greatest min_required_replicas of all scaling schedules is\napplied. Up to 128 scaling schedules are allowed.", +"type": "object" +} +}, +"type": "object" +}, +"AutoscalingPolicyCpuUtilization": { +"description": "CPU utilization policy.", +"id": "AutoscalingPolicyCpuUtilization", +"properties": { +"predictiveMethod": { +"description": "Indicates whether predictive autoscaling based on CPU metric is enabled.\nValid values are:\n\n* NONE (default). No predictive method is used. The autoscaler scales the\ngroup to meet current demand based on real-time metrics.\n* OPTIMIZE_AVAILABILITY. Predictive autoscaling improves availability by\nmonitoring daily and weekly load patterns and scaling out ahead of\nanticipated demand.", +"enum": [ +"NONE", +"OPTIMIZE_AVAILABILITY", +"PREDICTIVE_METHOD_UNSPECIFIED" +], +"enumDescriptions": [ +"No predictive method is used. The autoscaler scales the group to meet\ncurrent demand based on real-time metrics", +"Predictive autoscaling improves availability by monitoring daily and\nweekly load patterns and scaling out ahead of anticipated demand.", +"" +], +"type": "string" +}, +"utilizationTarget": { +"description": "The target CPU utilization that the autoscaler maintains. Must be\na float value in the range (0, 1]. If not specified, the default is0.6.\n\nIf the CPU level is below the target utilization, the autoscaler scales\nin the number of instances until it reaches the minimum number of\ninstances you specified or until the average CPU of your instances\nreaches the target utilization.\n\nIf the average CPU is above the target utilization, the autoscaler\nscales out until it reaches the maximum number of instances you\nspecified or until the average utilization reaches the target\nutilization.", +"format": "double", +"type": "number" +} +}, +"type": "object" +}, +"AutoscalingPolicyCustomMetricUtilization": { +"description": "Custom utilization metric policy.", +"id": "AutoscalingPolicyCustomMetricUtilization", +"properties": { +"filter": { +"description": "A filter string, compatible with a Stackdriver Monitoringfilter string forTimeSeries.list API call. This filter is\nused to select a specific TimeSeries for the purpose of autoscaling and\nto determine whether the metric is exporting per-instance or\nper-group data.\n\nFor the filter to be valid for autoscaling purposes, the following rules\napply:\n \n \n - You can only use the AND operator for joining\n selectors.\n - You can only use direct equality comparison operator\n (=) without any functions for each selector.\n - You can specify the metric in both the filter string and in the\n metric field. However, if specified in both places, the metric must\n be identical.\n - The monitored resource type\n determines what kind of values are expected for the metric. If it is\n a gce_instance, the autoscaler expects the metric to\n include a separate TimeSeries for each instance in a group. In such a\n case, you cannot filter on resource labels.\n \n \n If the resource type is any other value, the autoscaler expects\n this metric to contain values that apply to the entire autoscaled\n instance group and resource label filtering can be performed to\n point autoscaler at the correct TimeSeries to scale upon. This is\n called a *per-group metric* for the purpose of autoscaling.\n \n If not specified, the type defaults to\n gce_instance.\n\n\n\nTry to provide a filter that is selective enough to pick just one\nTimeSeries for the autoscaled group or for each of the instances (if you\nare using gce_instance resource type). If multiple\nTimeSeries are returned upon the query execution, the autoscaler will sum\ntheir respective values to obtain its scaling value.", +"type": "string" +}, +"metric": { +"description": "The identifier (type) of the Stackdriver Monitoring metric. The metric\ncannot have negative values.\n\nThe metric must have a value type of INT64 orDOUBLE.", +"type": "string" +}, +"singleInstanceAssignment": { +"description": "If scaling is based on a per-group metric value that represents the\ntotal amount of work to be done or resource usage, set this value to an\namount assigned for a single instance of the scaled group. Autoscaler\nkeeps the number of instances proportional to the value of this\nmetric. The metric itself does not change value due to group\nresizing.\n\nA good metric to use with the target is for examplepubsub.googleapis.com/subscription/num_undelivered_messages\nor a custom metric exporting the total number of requests coming to\nyour instances.\n\nA bad example would be a metric exporting an average or median latency,\nsince this value can't include a chunk assignable to a single instance,\nit could be better used with utilization_target instead.", +"format": "double", +"type": "number" +}, +"utilizationTarget": { +"description": "The target value of the metric that autoscaler maintains. This\nmust be a positive value. A utilization metric scales number of\nvirtual machines handling requests to increase or decrease\nproportionally to the metric.\n\nFor example, a good metric to use as a utilization_target ishttps://www.googleapis.com/compute/v1/instance/network/received_bytes_count.\nThe autoscaler works to keep this value constant for each of the\ninstances.", +"format": "double", +"type": "number" +}, +"utilizationTargetType": { +"description": "Defines how target utilization value is expressed for a Stackdriver\nMonitoring metric. Either GAUGE,DELTA_PER_SECOND, or DELTA_PER_MINUTE.", +"enum": [ +"DELTA_PER_MINUTE", +"DELTA_PER_SECOND", +"GAUGE" +], +"enumDescriptions": [ +"Sets the utilization target value for a cumulative or delta metric,\nexpressed as the rate of growth per minute.", +"Sets the utilization target value for a cumulative or delta metric,\nexpressed as the rate of growth per second.", +"Sets the utilization target value for a gauge metric. The autoscaler\nwill collect the average utilization of the virtual machines from the\nlast couple of minutes, and compare the value to the utilization\ntarget value to perform autoscaling." +], +"type": "string" +} +}, +"type": "object" +}, +"AutoscalingPolicyLoadBalancingUtilization": { +"description": "Configuration parameters of autoscaling based on load balancing.", +"id": "AutoscalingPolicyLoadBalancingUtilization", +"properties": { +"utilizationTarget": { +"description": "Fraction of backend capacity utilization (set in HTTP(S) load balancing\nconfiguration) that the autoscaler maintains. Must be a positive float\nvalue. If not defined, the default is 0.8.", +"format": "double", +"type": "number" +} +}, +"type": "object" +}, +"AutoscalingPolicyScaleDownControl": { +"description": "Configuration that allows for slower scale in so that even if Autoscaler\nrecommends an abrupt scale in of a MIG, it will be throttled as specified\nby the parameters below.", +"id": "AutoscalingPolicyScaleDownControl", +"properties": { +"maxScaledDownReplicas": { +"$ref": "FixedOrPercent", +"description": "Maximum allowed number (or %) of VMs that can be deducted from the peak\nrecommendation during the window autoscaler looks at when computing\nrecommendations. Possibly all these VMs can be deleted at once so user\nservice needs to be prepared to lose that many VMs in one step." +}, +"timeWindowSec": { +"description": "How far back autoscaling looks when computing recommendations to\ninclude directives regarding slower scale in, as described above.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"AutoscalingPolicyScaleInControl": { +"description": "Configuration that allows for slower scale in so that even if Autoscaler\nrecommends an abrupt scale in of a MIG, it will be throttled as specified\nby the parameters below.", +"id": "AutoscalingPolicyScaleInControl", +"properties": { +"maxScaledInReplicas": { +"$ref": "FixedOrPercent", +"description": "Maximum allowed number (or %) of VMs that can be deducted from the peak\nrecommendation during the window autoscaler looks at when computing\nrecommendations. Possibly all these VMs can be deleted at once so user\nservice needs to be prepared to lose that many VMs in one step." +}, +"timeWindowSec": { +"description": "How far back autoscaling looks when computing recommendations to\ninclude directives regarding slower scale in, as described above.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"AutoscalingPolicyScalingSchedule": { +"description": "Scaling based on user-defined schedule. The message describes a single\nscaling schedule. A scaling schedule changes the minimum number of VM\ninstances an autoscaler can recommend, which can trigger scaling out.", +"id": "AutoscalingPolicyScalingSchedule", +"properties": { +"description": { +"description": "A description of a scaling schedule.", +"type": "string" +}, +"disabled": { +"description": "A boolean value that specifies whether a scaling schedule can influence\nautoscaler recommendations. If set to true, then a scaling schedule has\nno effect. This field is optional, and its value is false by default.", +"type": "boolean" +}, +"durationSec": { +"description": "The duration of time intervals, in seconds, for which this\nscaling schedule is to run. The minimum allowed value is 300.\nThis field is required.", +"format": "int32", +"type": "integer" +}, +"minRequiredReplicas": { +"description": "The minimum number of VM instances that the autoscaler will\nrecommend in time intervals starting according to schedule. This field is\nrequired.", +"format": "int32", +"type": "integer" +}, +"schedule": { +"description": "The start timestamps of time intervals when this scaling\nschedule is to provide a scaling signal. This field uses the extended\ncron format (with an optional year field). The expression can describe a\nsingle timestamp if the optional year is set, in which case the scaling\nschedule runs once. The schedule is interpreted with respect to\ntime_zone. This field is required. Note: These timestamps only describe\nwhen autoscaler starts providing the scaling signal. The VMs\nneed additional time to become serving.", +"type": "string" +}, +"timeZone": { +"description": "The time zone to use when interpreting the schedule.\nThe value of this field must be a time zone name from the tz database:\nhttps://en.wikipedia.org/wiki/Tz_database. This field is assigned a\ndefault value of \"UTC\" if left empty.", +"type": "string" +} +}, +"type": "object" +}, +"Backend": { +"description": "Message containing information of one individual backend.", +"id": "Backend", +"properties": { +"balancingMode": { +"description": "Specifies how to determine whether the backend of a load balancer can\nhandle additional traffic or is fully loaded. For usage guidelines, see\nConnection balancing mode.\n\nBackends must use compatible balancing modes. For more information, see\nSupported balancing modes and target capacity settings and\nRestrictions and guidance for instance groups.\n\nNote: Currently, if you use the API to configure incompatible balancing\nmodes, the configuration might be accepted even though it has no impact\nand is ignored. Specifically, Backend.maxUtilization is ignored when\nBackend.balancingMode is RATE. In the future, this incompatible combination\nwill be rejected.", +"enum": [ +"CONNECTION", +"CUSTOM_METRICS", +"IN_FLIGHT", +"RATE", +"UTILIZATION" +], +"enumDescriptions": [ +"Balance based on the number of simultaneous connections.", +"Based on custom defined and reported metrics.", +"Balance based on the number of in-flight requests.", +"Balance based on requests per second (RPS).", +"Balance based on the backend utilization." +], +"type": "string" +}, +"capacityScaler": { +"description": "A multiplier applied to the backend's target capacity of its balancing\nmode.\nThe default value is 1, which means the group serves up to\n100% of its configured capacity (depending onbalancingMode). A setting of 0 means the group is\ncompletely drained, offering 0% of its available capacity. The valid ranges\nare 0.0 and [0.1,1.0].\nYou cannot configure a setting larger than 0 and smaller than0.1.\nYou cannot configure a setting of 0 when there is only one\nbackend attached to the backend service.\n\nNot available with backends that don't support using abalancingMode. This includes backends such as global\ninternet NEGs, regional serverless NEGs, and PSC NEGs.", +"format": "float", +"type": "number" +}, +"customMetrics": { +"description": "List of custom metrics that are used for CUSTOM_METRICS\nBalancingMode.", +"items": { +"$ref": "BackendCustomMetric" +}, +"type": "array" +}, +"description": { +"description": "An optional description of this resource. Provide this property when you\ncreate the resource.", +"type": "string" +}, +"failover": { +"description": "This field designates whether this is a failover backend. More than one\nfailover backend can be configured for a given BackendService.", +"type": "boolean" +}, +"group": { +"description": "The fully-qualified URL of aninstance\ngroup or network endpoint\ngroup (NEG) resource. To determine what types of backends a load\nbalancer supports, see the [Backend services\noverview](https://cloud.google.com/load-balancing/docs/backend-service#backends).\n\nYou must use the *fully-qualified* URL (starting withhttps://www.googleapis.com/) to specify the instance group\nor NEG. Partial URLs are not supported.\n\nIf haPolicy is specified, backends must refer to NEG resources of type\nGCE_VM_IP.", +"type": "string" +}, +"maxConnections": { +"description": "Defines a target maximum number of simultaneous connections. For usage\nguidelines, seeConnection\nbalancing mode and Utilization\nbalancing mode. Not available if the backend'sbalancingMode is RATE.", +"format": "int32", +"type": "integer" +}, +"maxConnectionsPerEndpoint": { +"description": "Defines a target maximum number of simultaneous connections. For usage\nguidelines, seeConnection\nbalancing mode and Utilization\nbalancing mode.\n\nNot available if the backend's balancingMode isRATE.", +"format": "int32", +"type": "integer" +}, +"maxConnectionsPerInstance": { +"description": "Defines a target maximum number of simultaneous connections.\nFor usage guidelines, seeConnection\nbalancing mode and Utilization\nbalancing mode.\n\nNot available if the backend's balancingMode isRATE.", +"format": "int32", +"type": "integer" +}, +"maxInFlightRequests": { +"description": "Defines a maximum number of in-flight requests for the whole NEG or\ninstance group. Not available if backend's balancingMode isRATE or CONNECTION.", +"format": "int32", +"type": "integer" +}, +"maxInFlightRequestsPerEndpoint": { +"description": "Defines a maximum number of in-flight requests for a single endpoint.\nNot available if backend's balancingMode is RATE\nor CONNECTION.", +"format": "int32", +"type": "integer" +}, +"maxInFlightRequestsPerInstance": { +"description": "Defines a maximum number of in-flight requests for a single VM.\nNot available if backend's balancingMode is RATE\nor CONNECTION.", +"format": "int32", +"type": "integer" +}, +"maxRate": { +"description": "Defines a maximum number of HTTP requests per second (RPS). For\nusage guidelines, seeRate\nbalancing mode and Utilization\nbalancing mode.\n\nNot available if the backend's balancingMode isCONNECTION.", +"format": "int32", +"type": "integer" +}, +"maxRatePerEndpoint": { +"description": "Defines a maximum target for requests per second (RPS). For usage\nguidelines, seeRate\nbalancing mode and Utilization\nbalancing mode.\n\nNot available if the backend's balancingMode isCONNECTION.", +"format": "float", +"type": "number" +}, +"maxRatePerInstance": { +"description": "Defines a maximum target for requests per second (RPS). For usage\nguidelines, seeRate\nbalancing mode and Utilization\nbalancing mode.\n\nNot available if the backend's balancingMode isCONNECTION.", +"format": "float", +"type": "number" +}, +"maxUtilization": { +"description": "Optional parameter to define a target capacity for theUTILIZATION balancing mode. The valid range is[0.0, 1.0].\n\nFor usage guidelines, seeUtilization\nbalancing mode.", +"format": "float", +"type": "number" +}, +"orchestrationInfo": { +"$ref": "BackendBackendOrchestrationInfo", +"description": "Information about the resource or system that manages the backend." +}, +"preference": { +"description": "This field indicates whether this backend should be fully utilized before\nsending traffic to backends with default preference. The possible values\nare:\n \n - PREFERRED: Backends with this preference level will be\n filled up to their capacity limits first, based on RTT.\n - DEFAULT: If preferred backends don't have enough\n capacity, backends in this layer would be used and traffic would be\n assigned based on the load balancing algorithm you use. This is the\n default", +"enum": [ +"DEFAULT", +"PREFERENCE_UNSPECIFIED", +"PREFERRED" +], +"enumDescriptions": [ +"No preference.", +"If preference is unspecified, we set it to the DEFAULT value", +"Traffic will be sent to this backend first." +], +"type": "string" +}, +"trafficDuration": { +"enum": [ +"LONG", +"SHORT", +"TRAFFIC_DURATION_UNSPECIFIED" +], +"enumDescriptions": [ +"Most of the requests are expected to take more than multiple seconds to\nfinish.", +"Most requests are expected to finish with a sub-second latency.", +"Traffic duration is unspecified." +], +"type": "string" +} +}, +"type": "object" +}, +"BackendBackendOrchestrationInfo": { +"description": "A message containing information about the resource or system that manages\nthe backend.", +"id": "BackendBackendOrchestrationInfo", +"properties": { +"resourceUri": { +"description": "The URI of the resource or system that manages the backend.", +"type": "string" +} +}, +"type": "object" +}, +"BackendBucket": { +"description": "Represents a Cloud Storage Bucket resource.\n\nThis Cloud Storage bucket resource is referenced by a URL map of a load\nbalancer. For more information, readBackend Buckets.", +"id": "BackendBucket", +"properties": { +"bucketName": { +"description": "Cloud Storage bucket name.", +"type": "string" +}, +"cdnPolicy": { +"$ref": "BackendBucketCdnPolicy", +"description": "Cloud CDN configuration for this BackendBucket." +}, +"compressionMode": { +"description": "Compress text responses using Brotli or gzip compression, based on\nthe client's Accept-Encoding header.", +"enum": [ +"AUTOMATIC", +"DISABLED" +], +"enumDescriptions": [ +"Automatically uses the best compression based on the Accept-Encoding\nheader sent by the client.", +"Disables compression. Existing compressed responses cached by\nCloud CDN will not be served to clients." +], +"type": "string" +}, +"creationTimestamp": { +"description": "[Output Only] Creation timestamp inRFC3339\ntext format.", +"type": "string" +}, +"customResponseHeaders": { +"description": "Headers that the Application Load Balancer should add to proxied responses.", +"items": { +"type": "string" +}, +"type": "array" +}, +"description": { +"description": "An optional textual description of the resource; provided by the client\nwhen the resource is created.", +"type": "string" +}, +"edgeSecurityPolicy": { +"description": "[Output Only] The resource URL for the edge security policy associated with\nthis backend bucket.", +"type": "string" +}, +"enableCdn": { +"description": "If true, enable Cloud CDN for this BackendBucket.", +"type": "boolean" +}, +"id": { +"description": "[Output Only] Unique identifier for the resource; defined by the server.", +"format": "uint64", +"type": "string" +}, +"kind": { +"default": "compute#backendBucket", +"description": "Output only. Type of the resource.", +"readOnly": true, +"type": "string" +}, +"loadBalancingScheme": { +"description": "The value can only be INTERNAL_MANAGED for cross-region internal layer 7\nload balancer.\n\nIf loadBalancingScheme is not specified, the backend bucket can be used by\nclassic global external load balancers, or global application external load\nbalancers, or both.", +"enum": [ +"EXTERNAL_MANAGED", +"INTERNAL_MANAGED" +], +"enumDescriptions": [ +"Signifies that this will be used for regional external Application Load\nBalancers.", +"Signifies that this will be used for internal Application Load Balancers." +], +"type": "string" +}, +"name": { +"description": "Name of the resource. Provided by the client when the resource is created.\nThe name must be 1-63 characters long, and comply withRFC1035.\nSpecifically, the name must be 1-63 characters long and match the regular\nexpression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first\ncharacter must be a lowercase letter, and all following characters must\nbe a dash, lowercase letter, or digit, except the last character, which\ncannot be a dash.", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"type": "string" +}, +"params": { +"$ref": "BackendBucketParams", +"description": "Input only. [Input Only] Additional params passed with the request, but not persisted\nas part of resource payload." +}, +"region": { +"description": "Output only. [Output Only] URL of the region where the regional backend bucket\nresides. This field is not applicable to global backend buckets.\nYou must specify this field as part of the HTTP request URL. It is\nnot settable as a field in the request body.", +"readOnly": true, +"type": "string" +}, +"selfLink": { +"description": "[Output Only] Server-defined URL for the resource.", +"type": "string" +}, +"usedBy": { +"description": "Output only. [Output Only] List of resources referencing that backend bucket.", +"items": { +"$ref": "BackendBucketUsedBy" +}, +"readOnly": true, +"type": "array" +} +}, +"type": "object" +}, +"BackendBucketAggregatedList": { +"id": "BackendBucketAggregatedList", +"properties": { +"id": { +"description": "[Output Only] Unique identifier for the resource; defined by the server.", +"type": "string" +}, +"items": { +"additionalProperties": { +"$ref": "BackendBucketsScopedList", +"description": "Name of the scope containing this set of BackendBuckets." +}, +"description": "A list of BackendBucketsScopedList resources.", +"type": "object" +}, +"kind": { +"default": "compute#backendBucketAggregatedList", +"description": "Output only. Type of resource.", +"readOnly": true, +"type": "string" +}, +"nextPageToken": { +"description": "[Output Only] This token allows you to get the next page of results for\nlist requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for\nthe query parameter pageToken in the next list request.\nSubsequent list requests will have their own nextPageToken to\ncontinue paging through the results.", +"type": "string" +}, +"selfLink": { +"description": "Output only. [Output Only] Server-defined URL for this resource.", +"readOnly": true, +"type": "string" +}, +"warning": { +"description": "[Output Only] Informational warning message.", +"properties": { +"code": { +"description": "[Output Only] A warning code, if applicable. For example, Compute\nEngine returns NO_RESULTS_ON_PAGE if there\nare no results in the response.", +"enum": [ +"CLEANUP_FAILED", +"DEPRECATED_RESOURCE_USED", +"DEPRECATED_TYPE_USED", +"DISK_SIZE_LARGER_THAN_IMAGE_SIZE", +"EXPERIMENTAL_TYPE_USED", +"EXTERNAL_API_WARNING", +"FIELD_VALUE_OVERRIDEN", +"INJECTED_KERNELS_DEPRECATED", +"INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", +"LARGE_DEPLOYMENT_WARNING", +"LIST_OVERHEAD_QUOTA_EXCEED", +"MISSING_TYPE_DEPENDENCY", +"NEXT_HOP_ADDRESS_NOT_ASSIGNED", +"NEXT_HOP_CANNOT_IP_FORWARD", +"NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", +"NEXT_HOP_INSTANCE_NOT_FOUND", +"NEXT_HOP_INSTANCE_NOT_ON_NETWORK", +"NEXT_HOP_NOT_RUNNING", +"NOT_CRITICAL_ERROR", +"NO_RESULTS_ON_PAGE", +"PARTIAL_SUCCESS", +"QUOTA_INFO_UNAVAILABLE", +"REQUIRED_TOS_AGREEMENT", +"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", +"RESOURCE_NOT_DELETED", +"SCHEMA_VALIDATION_IGNORED", +"SINGLE_INSTANCE_PROPERTY_TEMPLATE", +"UNDECLARED_PROPERTIES", +"UNREACHABLE" +], +"enumDeprecated": [ +false, +false, +false, +false, +false, +false, +true, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false +], +"enumDescriptions": [ +"Warning about failed cleanup of transient changes made by a failed\noperation.", +"A link to a deprecated resource was created.", +"When deploying and at least one of the resources has a type marked as\ndeprecated", +"The user created a boot disk that is larger than image size.", +"When deploying and at least one of the resources has a type marked as\nexperimental", +"Warning that is present in an external api call", +"Warning that value of a field has been overridden.\nDeprecated unused field.", +"The operation involved use of an injected kernel, which is deprecated.", +"A WEIGHTED_MAGLEV backend service is associated with a health check that is\nnot of type HTTP/HTTPS/HTTP2.", +"When deploying a deployment with a exceedingly large number of resources", +"Resource can't be retrieved due to list overhead quota exceed\nwhich captures the amount of resources filtered out by\nuser-defined list filter.", +"A resource depends on a missing type", +"The route's nextHopIp address is not assigned to an instance on the\nnetwork.", +"The route's next hop instance cannot ip forward.", +"The route's nextHopInstance URL refers to an instance that does not have an\nipv6 interface on the same network as the route.", +"The route's nextHopInstance URL refers to an instance that does not exist.", +"The route's nextHopInstance URL refers to an instance that is not on the\nsame network as the route.", +"The route's next hop instance does not have a status of RUNNING.", +"Error which is not critical. We decided to continue the process despite\nthe mentioned error.", +"No results are present on a particular list page.", +"Success is reported, but some results may be missing due to errors", +"Quota information is not available to client requests (e.g:\nregions.list).", +"The user attempted to use a resource that requires a TOS they have not\naccepted.", +"Warning that a resource is in use.", +"One or more of the resources set to auto-delete could not be deleted\nbecause they were in use.", +"When a resource schema validation is ignored.", +"Instance template used in instance group manager is valid as such, but\nits application does not make a lot of sense, because it allows only\nsingle instance in instance group.", +"When undeclared properties in the schema are present", +"A given scope cannot be reached." +], +"type": "string" +}, +"data": { +"description": "[Output Only] Metadata about this warning in key:\nvalue format. For example:\n\n\"data\": [\n {\n \"key\": \"scope\",\n \"value\": \"zones/us-east1-d\"\n }", +"items": { +"properties": { +"key": { +"description": "[Output Only] A key that provides more detail on the warning being\nreturned. For example, for warnings where there are no results in a list\nrequest for a particular zone, this key might be scope and\nthe key value might be the zone name. Other examples might be a key\nindicating a deprecated resource and a suggested replacement, or a\nwarning about invalid network settings (for example, if an instance\nattempts to perform IP forwarding but is not enabled for IP forwarding).", +"type": "string" +}, +"value": { +"description": "[Output Only] A warning data value corresponding to the key.", +"type": "string" +} +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "[Output Only] A human-readable description of the warning code.", +"type": "string" +} +}, +"type": "object" +} +}, +"type": "object" +}, +"BackendBucketCdnPolicy": { +"description": "Message containing Cloud CDN configuration for a backend bucket.", +"id": "BackendBucketCdnPolicy", +"properties": { +"bypassCacheOnRequestHeaders": { +"description": "Bypass the cache when the specified request headers are matched - e.g.\nPragma or Authorization headers. Up to 5 headers can be specified.\nThe cache is bypassed for all cdnPolicy.cacheMode settings.", +"items": { +"$ref": "BackendBucketCdnPolicyBypassCacheOnRequestHeader" +}, +"type": "array" +}, +"cacheKeyPolicy": { +"$ref": "BackendBucketCdnPolicyCacheKeyPolicy", +"description": "The CacheKeyPolicy for this CdnPolicy." +}, +"cacheMode": { +"description": "Specifies the cache setting for all responses from this backend.\nThe possible values are:USE_ORIGIN_HEADERS Requires the origin to set valid caching\nheaders to cache content. Responses without these headers will not be\ncached at Google's edge, and will require a full trip to the origin on\nevery request, potentially impacting performance and increasing load on\nthe origin server.FORCE_CACHE_ALL Cache all content, ignoring any \"private\",\n\"no-store\" or \"no-cache\" directives in Cache-Control response headers.\nWarning: this may result in Cloud CDN caching private,\nper-user (user identifiable) content.CACHE_ALL_STATIC Automatically cache static content,\nincluding common image formats, media (video and audio), and web assets\n(JavaScript and CSS). Requests and responses that are marked as\nuncacheable, as well as dynamic content (including HTML), will not be\ncached.\n\nIf no value is provided for cdnPolicy.cacheMode, it defaults\nto CACHE_ALL_STATIC.", +"enum": [ +"CACHE_ALL_STATIC", +"FORCE_CACHE_ALL", +"INVALID_CACHE_MODE", +"USE_ORIGIN_HEADERS" +], +"enumDescriptions": [ +"Automatically cache static content, including common image formats,\nmedia (video and audio), and web assets (JavaScript and CSS).\nRequests and responses that are marked as uncacheable, as well as\ndynamic content (including HTML), will not be cached.", +"Cache all content, ignoring any \"private\", \"no-store\" or \"no-cache\"\ndirectives in Cache-Control response headers.\nWarning: this may result in Cloud CDN caching private,\nper-user (user identifiable) content.", +"", +"Requires the origin to set valid caching headers to cache content.\nResponses without these headers will not be cached at Google's edge,\nand will require a full trip to the origin on every request,\npotentially impacting performance and increasing load on the\norigin server." +], +"type": "string" +}, +"clientTtl": { +"description": "Specifies a separate client (e.g. browser client) maximum TTL. This is\nused to clamp the max-age (or Expires) value sent to the client. With\nFORCE_CACHE_ALL, the lesser of client_ttl and default_ttl is used for the\nresponse max-age directive, along with a \"public\" directive. For\ncacheable content in CACHE_ALL_STATIC mode, client_ttl clamps the max-age\nfrom the origin (if specified), or else sets the response max-age\ndirective to the lesser of the client_ttl and default_ttl, and also\nensures a \"public\" cache-control directive is present.\nIf a client TTL is not specified, a default value (1 hour) will be used.\nThe maximum allowed value is 31,622,400s (1 year).", +"format": "int32", +"type": "integer" +}, +"defaultTtl": { +"description": "Specifies the default TTL for cached content served by this origin for\nresponses that do not have an existing valid TTL (max-age or s-maxage).\nSetting a TTL of \"0\" means \"always revalidate\".\nThe value of defaultTTL cannot be set to a value greater than that of\nmaxTTL, but can be equal.\nWhen the cacheMode is set to FORCE_CACHE_ALL, the defaultTTL\nwill overwrite the TTL set in all responses. The maximum allowed value is\n31,622,400s (1 year), noting that infrequently accessed objects may be\nevicted from the cache before the defined TTL.", +"format": "int32", +"type": "integer" +}, +"maxTtl": { +"description": "Specifies the maximum allowed TTL for cached content served by this\norigin.\nCache directives that attempt to set a max-age or s-maxage higher than\nthis, or an Expires header more than maxTTL seconds in the future will\nbe capped at the value of maxTTL, as if it were the value of an\ns-maxage Cache-Control directive.\nHeaders sent to the client will not be modified.\nSetting a TTL of \"0\" means \"always revalidate\".\nThe maximum allowed value is 31,622,400s (1 year), noting that\ninfrequently accessed objects may be evicted from the cache before\nthe defined TTL.", +"format": "int32", +"type": "integer" +}, +"negativeCaching": { +"description": "Negative caching allows per-status code TTLs to be set, in order\nto apply fine-grained caching for common errors or redirects.\nThis can reduce the load on your origin and improve end-user\nexperience by reducing response latency.\nWhen the cache mode is set to CACHE_ALL_STATIC or USE_ORIGIN_HEADERS,\nnegative caching applies to responses with the specified response code\nthat lack any Cache-Control, Expires, or Pragma: no-cache directives.\nWhen the cache mode is set to FORCE_CACHE_ALL, negative caching applies\nto all responses with the specified response code, and override any\ncaching headers.\nBy default, Cloud CDN will apply the following default TTLs to these\nstatus codes:\nHTTP 300 (Multiple Choice), 301, 308 (Permanent Redirects): 10m\nHTTP 404 (Not Found), 410 (Gone),\n451 (Unavailable For Legal Reasons): 120s\nHTTP 405 (Method Not Found), 501 (Not Implemented): 60s.\nThese defaults can be overridden in negative_caching_policy.", +"type": "boolean" +}, +"negativeCachingPolicy": { +"description": "Sets a cache TTL for the specified HTTP status code.\nnegative_caching must be enabled to configure negative_caching_policy.\nOmitting the policy and leaving negative_caching enabled will use\nCloud CDN's default cache TTLs.\nNote that when specifying an explicit negative_caching_policy, you\nshould take care to specify a cache TTL for all response codes\nthat you wish to cache. Cloud CDN will not apply any default\nnegative caching when a policy exists.", +"items": { +"$ref": "BackendBucketCdnPolicyNegativeCachingPolicy" +}, +"type": "array" +}, +"requestCoalescing": { +"description": "If true then Cloud CDN will combine multiple concurrent cache fill\nrequests into a small number of requests to the origin.", +"type": "boolean" +}, +"serveWhileStale": { +"description": "Serve existing content from the cache (if available) when revalidating\ncontent with the origin, or when an error is encountered when refreshing\nthe cache.\nThis setting defines the default \"max-stale\" duration for any cached\nresponses that do not specify a max-stale directive. Stale responses that\nexceed the TTL configured here will not be served. The default limit\n(max-stale) is 86400s (1 day), which will allow stale content to be\nserved up to this limit beyond the max-age (or s-maxage) of a cached\nresponse.\nThe maximum allowed value is 604800 (1 week).\nSet this to zero (0) to disable serve-while-stale.", +"format": "int32", +"type": "integer" +}, +"signedUrlCacheMaxAgeSec": { +"description": "Maximum number of seconds the response to a signed URL request will be\nconsidered fresh. After this time period, the response will be\nrevalidated before being served. Defaults to 1hr (3600s). When serving\nresponses to signed URL requests, Cloud CDN will internally behave as\nthough all responses from this backend had a \"Cache-Control:\npublic, max-age=[TTL]\" header, regardless of any existing\nCache-Control header. The actual headers served in responses will not be\naltered.", +"format": "int64", +"type": "string" +}, +"signedUrlKeyNames": { +"description": "[Output Only] Names of the keys for signing request URLs.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"BackendBucketCdnPolicyBypassCacheOnRequestHeader": { +"description": "Bypass the cache when the specified request headers are present,\ne.g. Pragma or Authorization headers. Values are case insensitive.\nThe presence of such a header overrides the cache_mode setting.", +"id": "BackendBucketCdnPolicyBypassCacheOnRequestHeader", +"properties": { +"headerName": { +"description": "The header field name to match on when bypassing cache.\nValues are case-insensitive.", +"type": "string" +} +}, +"type": "object" +}, +"BackendBucketCdnPolicyCacheKeyPolicy": { +"description": "Message containing what to include in the cache key for a request for\nCloud CDN.", +"id": "BackendBucketCdnPolicyCacheKeyPolicy", +"properties": { +"includeHttpHeaders": { +"description": "Allows HTTP request headers (by name) to be used in the cache key.", +"items": { +"type": "string" +}, +"type": "array" +}, +"queryStringWhitelist": { +"description": "Names of query string parameters to include in cache keys. Default\nparameters are always included. '&' and '=' will be percent encoded\nand not treated as delimiters.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"BackendBucketCdnPolicyNegativeCachingPolicy": { +"description": "Specify CDN TTLs for response error codes.", +"id": "BackendBucketCdnPolicyNegativeCachingPolicy", +"properties": { +"code": { +"description": "The HTTP status code to define a TTL against. Only HTTP status codes\n300, 301, 302, 307, 308, 404, 405, 410, 421, 451 and 501 can be\nspecified as values, and you cannot specify a status code more than\nonce.", +"format": "int32", +"type": "integer" +}, +"ttl": { +"description": "The TTL (in seconds) for which to cache responses with the\ncorresponding status code.\nThe maximum allowed value is 1800s (30 minutes), noting that\ninfrequently accessed objects may be evicted from the cache before the\ndefined TTL.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"BackendBucketList": { +"description": "Contains a list of BackendBucket resources.", +"id": "BackendBucketList", +"properties": { +"id": { +"description": "[Output Only] Unique identifier for the resource; defined by the server.", +"type": "string" +}, +"items": { +"description": "A list of BackendBucket resources.", +"items": { +"$ref": "BackendBucket" +}, +"type": "array" +}, +"kind": { +"default": "compute#backendBucketList", +"description": "Output only. Type of resource.", +"readOnly": true, +"type": "string" +}, +"nextPageToken": { +"description": "[Output Only] This token allows you to get the next page of results for\nlist requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for\nthe query parameter pageToken in the next list request.\nSubsequent list requests will have their own nextPageToken to\ncontinue paging through the results.", +"type": "string" +}, +"selfLink": { +"description": "Output only. [Output Only] Server-defined URL for this resource.", +"readOnly": true, +"type": "string" +}, +"warning": { +"description": "[Output Only] Informational warning message.", +"properties": { +"code": { +"description": "[Output Only] A warning code, if applicable. For example, Compute\nEngine returns NO_RESULTS_ON_PAGE if there\nare no results in the response.", +"enum": [ +"CLEANUP_FAILED", +"DEPRECATED_RESOURCE_USED", +"DEPRECATED_TYPE_USED", +"DISK_SIZE_LARGER_THAN_IMAGE_SIZE", +"EXPERIMENTAL_TYPE_USED", +"EXTERNAL_API_WARNING", +"FIELD_VALUE_OVERRIDEN", +"INJECTED_KERNELS_DEPRECATED", +"INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", +"LARGE_DEPLOYMENT_WARNING", +"LIST_OVERHEAD_QUOTA_EXCEED", +"MISSING_TYPE_DEPENDENCY", +"NEXT_HOP_ADDRESS_NOT_ASSIGNED", +"NEXT_HOP_CANNOT_IP_FORWARD", +"NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", +"NEXT_HOP_INSTANCE_NOT_FOUND", +"NEXT_HOP_INSTANCE_NOT_ON_NETWORK", +"NEXT_HOP_NOT_RUNNING", +"NOT_CRITICAL_ERROR", +"NO_RESULTS_ON_PAGE", +"PARTIAL_SUCCESS", +"QUOTA_INFO_UNAVAILABLE", +"REQUIRED_TOS_AGREEMENT", +"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", +"RESOURCE_NOT_DELETED", +"SCHEMA_VALIDATION_IGNORED", +"SINGLE_INSTANCE_PROPERTY_TEMPLATE", +"UNDECLARED_PROPERTIES", +"UNREACHABLE" +], +"enumDeprecated": [ +false, +false, +false, +false, +false, +false, +true, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false +], +"enumDescriptions": [ +"Warning about failed cleanup of transient changes made by a failed\noperation.", +"A link to a deprecated resource was created.", +"When deploying and at least one of the resources has a type marked as\ndeprecated", +"The user created a boot disk that is larger than image size.", +"When deploying and at least one of the resources has a type marked as\nexperimental", +"Warning that is present in an external api call", +"Warning that value of a field has been overridden.\nDeprecated unused field.", +"The operation involved use of an injected kernel, which is deprecated.", +"A WEIGHTED_MAGLEV backend service is associated with a health check that is\nnot of type HTTP/HTTPS/HTTP2.", +"When deploying a deployment with a exceedingly large number of resources", +"Resource can't be retrieved due to list overhead quota exceed\nwhich captures the amount of resources filtered out by\nuser-defined list filter.", +"A resource depends on a missing type", +"The route's nextHopIp address is not assigned to an instance on the\nnetwork.", +"The route's next hop instance cannot ip forward.", +"The route's nextHopInstance URL refers to an instance that does not have an\nipv6 interface on the same network as the route.", +"The route's nextHopInstance URL refers to an instance that does not exist.", +"The route's nextHopInstance URL refers to an instance that is not on the\nsame network as the route.", +"The route's next hop instance does not have a status of RUNNING.", +"Error which is not critical. We decided to continue the process despite\nthe mentioned error.", +"No results are present on a particular list page.", +"Success is reported, but some results may be missing due to errors", +"Quota information is not available to client requests (e.g:\nregions.list).", +"The user attempted to use a resource that requires a TOS they have not\naccepted.", +"Warning that a resource is in use.", +"One or more of the resources set to auto-delete could not be deleted\nbecause they were in use.", +"When a resource schema validation is ignored.", +"Instance template used in instance group manager is valid as such, but\nits application does not make a lot of sense, because it allows only\nsingle instance in instance group.", +"When undeclared properties in the schema are present", +"A given scope cannot be reached." +], +"type": "string" +}, +"data": { +"description": "[Output Only] Metadata about this warning in key:\nvalue format. For example:\n\n\"data\": [\n {\n \"key\": \"scope\",\n \"value\": \"zones/us-east1-d\"\n }", +"items": { +"properties": { +"key": { +"description": "[Output Only] A key that provides more detail on the warning being\nreturned. For example, for warnings where there are no results in a list\nrequest for a particular zone, this key might be scope and\nthe key value might be the zone name. Other examples might be a key\nindicating a deprecated resource and a suggested replacement, or a\nwarning about invalid network settings (for example, if an instance\nattempts to perform IP forwarding but is not enabled for IP forwarding).", +"type": "string" +}, +"value": { +"description": "[Output Only] A warning data value corresponding to the key.", +"type": "string" +} +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "[Output Only] A human-readable description of the warning code.", +"type": "string" +} +}, +"type": "object" +} +}, +"type": "object" +}, +"BackendBucketListUsable": { +"id": "BackendBucketListUsable", +"properties": { +"id": { +"description": "[Output Only] Unique identifier for the resource; defined by the server.", +"type": "string" +}, +"items": { +"description": "A list of BackendBucket resources.", +"items": { +"$ref": "BackendBucket" +}, +"type": "array" +}, +"kind": { +"default": "compute#usableBackendBucketList", +"description": "Output only. [Output Only] Type of resource. Alwayscompute#usableBackendBucketList for lists of usable backend\nbuckets.", +"readOnly": true, +"type": "string" +}, +"nextPageToken": { +"description": "[Output Only] This token allows you to get the next page of results for\nlist requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for\nthe query parameter pageToken in the next list request.\nSubsequent list requests will have their own nextPageToken to\ncontinue paging through the results.", +"type": "string" +}, +"selfLink": { +"description": "Output only. [Output Only] Server-defined URL for this resource.", +"readOnly": true, +"type": "string" +}, +"warning": { +"description": "[Output Only] Informational warning message.", +"properties": { +"code": { +"description": "[Output Only] A warning code, if applicable. For example, Compute\nEngine returns NO_RESULTS_ON_PAGE if there\nare no results in the response.", +"enum": [ +"CLEANUP_FAILED", +"DEPRECATED_RESOURCE_USED", +"DEPRECATED_TYPE_USED", +"DISK_SIZE_LARGER_THAN_IMAGE_SIZE", +"EXPERIMENTAL_TYPE_USED", +"EXTERNAL_API_WARNING", +"FIELD_VALUE_OVERRIDEN", +"INJECTED_KERNELS_DEPRECATED", +"INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", +"LARGE_DEPLOYMENT_WARNING", +"LIST_OVERHEAD_QUOTA_EXCEED", +"MISSING_TYPE_DEPENDENCY", +"NEXT_HOP_ADDRESS_NOT_ASSIGNED", +"NEXT_HOP_CANNOT_IP_FORWARD", +"NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", +"NEXT_HOP_INSTANCE_NOT_FOUND", +"NEXT_HOP_INSTANCE_NOT_ON_NETWORK", +"NEXT_HOP_NOT_RUNNING", +"NOT_CRITICAL_ERROR", +"NO_RESULTS_ON_PAGE", +"PARTIAL_SUCCESS", +"QUOTA_INFO_UNAVAILABLE", +"REQUIRED_TOS_AGREEMENT", +"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", +"RESOURCE_NOT_DELETED", +"SCHEMA_VALIDATION_IGNORED", +"SINGLE_INSTANCE_PROPERTY_TEMPLATE", +"UNDECLARED_PROPERTIES", +"UNREACHABLE" +], +"enumDeprecated": [ +false, +false, +false, +false, +false, +false, +true, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false +], +"enumDescriptions": [ +"Warning about failed cleanup of transient changes made by a failed\noperation.", +"A link to a deprecated resource was created.", +"When deploying and at least one of the resources has a type marked as\ndeprecated", +"The user created a boot disk that is larger than image size.", +"When deploying and at least one of the resources has a type marked as\nexperimental", +"Warning that is present in an external api call", +"Warning that value of a field has been overridden.\nDeprecated unused field.", +"The operation involved use of an injected kernel, which is deprecated.", +"A WEIGHTED_MAGLEV backend service is associated with a health check that is\nnot of type HTTP/HTTPS/HTTP2.", +"When deploying a deployment with a exceedingly large number of resources", +"Resource can't be retrieved due to list overhead quota exceed\nwhich captures the amount of resources filtered out by\nuser-defined list filter.", +"A resource depends on a missing type", +"The route's nextHopIp address is not assigned to an instance on the\nnetwork.", +"The route's next hop instance cannot ip forward.", +"The route's nextHopInstance URL refers to an instance that does not have an\nipv6 interface on the same network as the route.", +"The route's nextHopInstance URL refers to an instance that does not exist.", +"The route's nextHopInstance URL refers to an instance that is not on the\nsame network as the route.", +"The route's next hop instance does not have a status of RUNNING.", +"Error which is not critical. We decided to continue the process despite\nthe mentioned error.", +"No results are present on a particular list page.", +"Success is reported, but some results may be missing due to errors", +"Quota information is not available to client requests (e.g:\nregions.list).", +"The user attempted to use a resource that requires a TOS they have not\naccepted.", +"Warning that a resource is in use.", +"One or more of the resources set to auto-delete could not be deleted\nbecause they were in use.", +"When a resource schema validation is ignored.", +"Instance template used in instance group manager is valid as such, but\nits application does not make a lot of sense, because it allows only\nsingle instance in instance group.", +"When undeclared properties in the schema are present", +"A given scope cannot be reached." +], +"type": "string" +}, +"data": { +"description": "[Output Only] Metadata about this warning in key:\nvalue format. For example:\n\n\"data\": [\n {\n \"key\": \"scope\",\n \"value\": \"zones/us-east1-d\"\n }", +"items": { +"properties": { +"key": { +"description": "[Output Only] A key that provides more detail on the warning being\nreturned. For example, for warnings where there are no results in a list\nrequest for a particular zone, this key might be scope and\nthe key value might be the zone name. Other examples might be a key\nindicating a deprecated resource and a suggested replacement, or a\nwarning about invalid network settings (for example, if an instance\nattempts to perform IP forwarding but is not enabled for IP forwarding).", +"type": "string" +}, +"value": { +"description": "[Output Only] A warning data value corresponding to the key.", +"type": "string" +} +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "[Output Only] A human-readable description of the warning code.", +"type": "string" +} +}, +"type": "object" +} +}, +"type": "object" +}, +"BackendBucketParams": { +"description": "Additional Backend Bucket parameters.", +"id": "BackendBucketParams", +"properties": { +"resourceManagerTags": { +"additionalProperties": { +"type": "string" +}, +"description": "Tag keys/values directly bound to this resource.\nTag keys and values have the same definition as resource\nmanager tags. The field is allowed for INSERT\nonly. The keys/values to set on the resource should be specified in\neither ID { : } or Namespaced format\n{ : }.\nFor example the following are valid inputs:\n* {\"tagKeys/333\" : \"tagValues/444\", \"tagKeys/123\" : \"tagValues/456\"}\n* {\"123/environment\" : \"production\", \"345/abc\" : \"xyz\"}\nNote:\n* Invalid combinations of ID & namespaced format is not supported. For\n instance: {\"123/environment\" : \"tagValues/444\"} is invalid.", +"type": "object" +} +}, +"type": "object" +}, +"BackendBucketUsedBy": { +"id": "BackendBucketUsedBy", +"properties": { +"reference": { +"description": "Output only. [Output Only] Server-defined URL for UrlMaps referencing that\nBackendBucket.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"BackendBucketsScopedList": { +"id": "BackendBucketsScopedList", +"properties": { +"backendBuckets": { +"description": "A list of BackendBuckets contained in this scope.", +"items": { +"$ref": "BackendBucket" +}, +"type": "array" +}, +"warning": { +"description": "Informational warning which replaces the list of\nbackend services when the list is empty.", +"properties": { +"code": { +"description": "[Output Only] A warning code, if applicable. For example, Compute\nEngine returns NO_RESULTS_ON_PAGE if there\nare no results in the response.", +"enum": [ +"CLEANUP_FAILED", +"DEPRECATED_RESOURCE_USED", +"DEPRECATED_TYPE_USED", +"DISK_SIZE_LARGER_THAN_IMAGE_SIZE", +"EXPERIMENTAL_TYPE_USED", +"EXTERNAL_API_WARNING", +"FIELD_VALUE_OVERRIDEN", +"INJECTED_KERNELS_DEPRECATED", +"INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", +"LARGE_DEPLOYMENT_WARNING", +"LIST_OVERHEAD_QUOTA_EXCEED", +"MISSING_TYPE_DEPENDENCY", +"NEXT_HOP_ADDRESS_NOT_ASSIGNED", +"NEXT_HOP_CANNOT_IP_FORWARD", +"NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", +"NEXT_HOP_INSTANCE_NOT_FOUND", +"NEXT_HOP_INSTANCE_NOT_ON_NETWORK", +"NEXT_HOP_NOT_RUNNING", +"NOT_CRITICAL_ERROR", +"NO_RESULTS_ON_PAGE", +"PARTIAL_SUCCESS", +"QUOTA_INFO_UNAVAILABLE", +"REQUIRED_TOS_AGREEMENT", +"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", +"RESOURCE_NOT_DELETED", +"SCHEMA_VALIDATION_IGNORED", +"SINGLE_INSTANCE_PROPERTY_TEMPLATE", +"UNDECLARED_PROPERTIES", +"UNREACHABLE" +], +"enumDeprecated": [ +false, +false, +false, +false, +false, +false, +true, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false +], +"enumDescriptions": [ +"Warning about failed cleanup of transient changes made by a failed\noperation.", +"A link to a deprecated resource was created.", +"When deploying and at least one of the resources has a type marked as\ndeprecated", +"The user created a boot disk that is larger than image size.", +"When deploying and at least one of the resources has a type marked as\nexperimental", +"Warning that is present in an external api call", +"Warning that value of a field has been overridden.\nDeprecated unused field.", +"The operation involved use of an injected kernel, which is deprecated.", +"A WEIGHTED_MAGLEV backend service is associated with a health check that is\nnot of type HTTP/HTTPS/HTTP2.", +"When deploying a deployment with a exceedingly large number of resources", +"Resource can't be retrieved due to list overhead quota exceed\nwhich captures the amount of resources filtered out by\nuser-defined list filter.", +"A resource depends on a missing type", +"The route's nextHopIp address is not assigned to an instance on the\nnetwork.", +"The route's next hop instance cannot ip forward.", +"The route's nextHopInstance URL refers to an instance that does not have an\nipv6 interface on the same network as the route.", +"The route's nextHopInstance URL refers to an instance that does not exist.", +"The route's nextHopInstance URL refers to an instance that is not on the\nsame network as the route.", +"The route's next hop instance does not have a status of RUNNING.", +"Error which is not critical. We decided to continue the process despite\nthe mentioned error.", +"No results are present on a particular list page.", +"Success is reported, but some results may be missing due to errors", +"Quota information is not available to client requests (e.g:\nregions.list).", +"The user attempted to use a resource that requires a TOS they have not\naccepted.", +"Warning that a resource is in use.", +"One or more of the resources set to auto-delete could not be deleted\nbecause they were in use.", +"When a resource schema validation is ignored.", +"Instance template used in instance group manager is valid as such, but\nits application does not make a lot of sense, because it allows only\nsingle instance in instance group.", +"When undeclared properties in the schema are present", +"A given scope cannot be reached." +], +"type": "string" +}, +"data": { +"description": "[Output Only] Metadata about this warning in key:\nvalue format. For example:\n\n\"data\": [\n {\n \"key\": \"scope\",\n \"value\": \"zones/us-east1-d\"\n }", +"items": { +"properties": { +"key": { +"description": "[Output Only] A key that provides more detail on the warning being\nreturned. For example, for warnings where there are no results in a list\nrequest for a particular zone, this key might be scope and\nthe key value might be the zone name. Other examples might be a key\nindicating a deprecated resource and a suggested replacement, or a\nwarning about invalid network settings (for example, if an instance\nattempts to perform IP forwarding but is not enabled for IP forwarding).", +"type": "string" +}, +"value": { +"description": "[Output Only] A warning data value corresponding to the key.", +"type": "string" +} +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "[Output Only] A human-readable description of the warning code.", +"type": "string" +} +}, +"type": "object" +} +}, +"type": "object" +}, +"BackendCustomMetric": { +"description": "Custom Metrics are used for CUSTOM_METRICS balancing_mode.", +"id": "BackendCustomMetric", +"properties": { +"dryRun": { +"description": "If true, the metric data is collected and reported to Cloud\nMonitoring, but is not used for load balancing.", +"type": "boolean" +}, +"maxUtilization": { +"description": "Optional parameter to define a target utilization for the Custom Metrics\nbalancing mode. The valid range is [0.0, 1.0].", +"format": "float", +"type": "number" +}, +"name": { +"description": "Name of a custom utilization signal. The name must be 1-64 characters\nlong and match the regular expression\n`[a-z]([-_.a-z0-9]*[a-z0-9])?` which means that the\nfirst character must be a lowercase letter, and all following\ncharacters must be a dash, period, underscore, lowercase letter, or\ndigit, except the last character, which cannot be a dash, period, or\nunderscore. For usage guidelines, see Custom Metrics balancing mode. This\nfield can only be used for a global or regional backend service with the\nloadBalancingScheme set to EXTERNAL_MANAGED,INTERNAL_MANAGED INTERNAL_SELF_MANAGED.", +"type": "string" +} +}, +"type": "object" +}, +"BackendService": { +"description": "Represents a Backend Service resource.\n\nA backend service defines how Google Cloud load balancers distribute traffic.\nThe backend service configuration contains a set of values, such as the\nprotocol used to connect to backends, various distribution and session\nsettings, health checks, and timeouts. These settings provide fine-grained\ncontrol over how your load balancer behaves. Most of the settings have\ndefault values that allow for easy configuration if you need to get started\nquickly.\n\nBackend services in Google Compute Engine can be either regionally or\nglobally scoped.\n\n* [Global](https://cloud.google.com/compute/docs/reference/rest/beta/backendServices)\n* [Regional](https://cloud.google.com/compute/docs/reference/rest/beta/regionBackendServices)\n\nFor more information, seeBackend\nServices.", +"id": "BackendService", +"properties": { +"affinityCookieTtlSec": { +"description": "Lifetime of cookies in seconds. This setting is applicable to Application\nLoad Balancers and Traffic Director and requires\nGENERATED_COOKIE or HTTP_COOKIE session affinity.\n\nIf set to 0, the cookie is non-persistent and lasts only until\nthe end of the browser session (or equivalent). The maximum allowed value\nis two weeks (1,209,600).\n\nNot supported when the backend service is referenced by a URL map that is\nbound to target gRPC proxy that has validateForProxyless field set to true.", +"format": "int32", +"type": "integer" +}, +"backends": { +"description": "The list of backends that serve this BackendService.", +"items": { +"$ref": "Backend" +}, +"type": "array" +}, +"cdnPolicy": { +"$ref": "BackendServiceCdnPolicy", +"description": "Cloud CDN configuration for this BackendService. Only available for\nspecified load balancer types." +}, +"circuitBreakers": { +"$ref": "CircuitBreakers" +}, +"compressionMode": { +"description": "Compress text responses using Brotli or gzip compression, based on\nthe client's Accept-Encoding header.", +"enum": [ +"AUTOMATIC", +"DISABLED" +], +"enumDescriptions": [ +"Automatically uses the best compression based on the Accept-Encoding\nheader sent by the client.", +"Disables compression. Existing compressed responses cached by\nCloud CDN will not be served to clients." +], +"type": "string" +}, +"connectionDraining": { +"$ref": "ConnectionDraining", +"description": "connectionDraining cannot be specified with haPolicy." +}, +"connectionTrackingPolicy": { +"$ref": "BackendServiceConnectionTrackingPolicy", +"description": "Connection Tracking configuration for this BackendService. Connection\ntracking policy settings are only available for external passthrough\nNetwork Load Balancers and internal passthrough Network Load Balancers.\n\nconnectionTrackingPolicy cannot be specified with haPolicy." +}, +"consistentHash": { +"$ref": "ConsistentHashLoadBalancerSettings", +"description": "Consistent Hash-based load balancing can be used to provide soft session\naffinity based on HTTP headers, cookies or other properties. This load\nbalancing policy is applicable only for HTTP connections. The affinity to a\nparticular destination host will be lost when one or more hosts are\nadded/removed from the destination service. This field specifies parameters\nthat control consistent hashing. This field is only applicable whenlocalityLbPolicy is set to MAGLEV orRING_HASH.\n\nThis field is applicable to either:\n \n - A regional backend service with the service_protocol set to HTTP,\n HTTPS, HTTP2 or H2C, and load_balancing_scheme set to\n INTERNAL_MANAGED. \n - A global backend service with the\n load_balancing_scheme set to INTERNAL_SELF_MANAGED." +}, +"creationTimestamp": { +"description": "Output only. [Output Only] Creation timestamp inRFC3339\ntext format.", +"readOnly": true, +"type": "string" +}, +"customMetrics": { +"description": "List of custom metrics that are used for theWEIGHTED_ROUND_ROBIN locality_lb_policy.", +"items": { +"$ref": "BackendServiceCustomMetric" +}, +"type": "array" +}, +"customRequestHeaders": { +"description": "Headers that the load balancer adds to proxied requests. See [Creating\ncustom\nheaders](https://cloud.google.com/load-balancing/docs/custom-headers).", +"items": { +"type": "string" +}, +"type": "array" +}, +"customResponseHeaders": { +"description": "Headers that the load balancer adds to proxied responses. See [Creating\ncustom\nheaders](https://cloud.google.com/load-balancing/docs/custom-headers).", +"items": { +"type": "string" +}, +"type": "array" +}, +"description": { +"description": "An optional description of this resource. Provide this property when you\ncreate the resource.", +"type": "string" +}, +"dynamicForwarding": { +"$ref": "BackendServiceDynamicForwarding", +"description": "Dynamic forwarding configuration. This field is used to configure the\nbackend service with dynamic forwarding feature which together with Service\nExtension allows customized and complex routing logic." +}, +"edgeSecurityPolicy": { +"description": "[Output Only] The resource URL for the edge security policy associated with\nthis backend service.", +"type": "string" +}, +"enableCDN": { +"description": "If true, enables Cloud CDN for the backend service of a\nglobal external Application Load Balancer.", +"type": "boolean" +}, +"externalManagedMigrationState": { +"description": "Specifies the canary migration state. Possible values are PREPARE,\nTEST_BY_PERCENTAGE, and TEST_ALL_TRAFFIC.\n\nTo begin the migration from EXTERNAL to EXTERNAL_MANAGED, the state must be\nchanged to PREPARE. The state must be changed to TEST_ALL_TRAFFIC before\nthe loadBalancingScheme can be changed to EXTERNAL_MANAGED. Optionally, the\nTEST_BY_PERCENTAGE state can be used to migrate traffic by percentage using\nexternalManagedMigrationTestingPercentage.\n\nRolling back a migration requires the states to be set in reverse order. So\nchanging the scheme from EXTERNAL_MANAGED to EXTERNAL requires the state to\nbe set to TEST_ALL_TRAFFIC at the same time. Optionally, the\nTEST_BY_PERCENTAGE state can be used to migrate some traffic back to\nEXTERNAL or PREPARE can be used to migrate all traffic back to EXTERNAL.", +"enum": [ +"PREPARE", +"TEST_ALL_TRAFFIC", +"TEST_BY_PERCENTAGE" +], +"enumDescriptions": [ +"", +"", +"" +], +"type": "string" +}, +"externalManagedMigrationTestingPercentage": { +"description": "Determines the fraction of requests that should be processed by the Global\nexternal Application Load Balancer.\n\nThe value of this field must be in the range [0, 100].\n\nSession affinity options will slightly affect this routing behavior, for\nmore details, see:Session\nAffinity.\n\nThis value can only be set if the loadBalancingScheme in the BackendService\nis set to EXTERNAL (when using the classic Application Load Balancer) and\nthe migration state is TEST_BY_PERCENTAGE.", +"format": "float", +"type": "number" +}, +"failoverPolicy": { +"$ref": "BackendServiceFailoverPolicy", +"description": "Requires at least one backend instance group to be defined\nas a backup (failover) backend.\nFor load balancers that have configurable failover:\n[Internal passthrough Network Load\nBalancers](https://cloud.google.com/load-balancing/docs/internal/failover-overview)\nand [external passthrough Network Load\nBalancers](https://cloud.google.com/load-balancing/docs/network/networklb-failover-overview).\n\nfailoverPolicy cannot be specified with haPolicy." +}, +"fingerprint": { +"description": "Fingerprint of this resource. A hash of the contents stored in this object.\nThis field is used in optimistic locking. This field will be ignored when\ninserting a BackendService. An up-to-date fingerprint must be provided in\norder to update the BackendService, otherwise the request will\nfail with error 412 conditionNotMet.\n\nTo see the latest fingerprint, make a get() request to\nretrieve a BackendService.", +"format": "byte", +"type": "string" +}, +"haPolicy": { +"$ref": "BackendServiceHAPolicy", +"description": "Configures self-managed High Availability (HA) for External and Internal\nProtocol Forwarding.\n\nThe backends of this regional backend service must only specify zonal\nnetwork endpoint groups (NEGs) of type GCE_VM_IP.\n\nWhen haPolicy is set for an Internal Passthrough Network Load Balancer, the\nregional backend service must set the network field. All zonal NEGs must\nbelong to the same network. However, individual NEGs can\nbelong to different subnetworks of that network.\n\nWhen haPolicy is specified, the set of attached network endpoints across\nall backends comprise an High Availability domain from which one endpoint\nis selected as the active endpoint (the leader) that receives all\ntraffic.\n\nhaPolicy can be added only at backend service creation time. Once set up,\nit cannot be deleted.\n\nNote that haPolicy is not for load balancing, and therefore cannot be\nspecified with sessionAffinity, connectionTrackingPolicy, and\nfailoverPolicy.\n\nhaPolicy requires customers to be responsible for tracking backend\nendpoint health and electing a leader among the healthy endpoints.\nTherefore, haPolicy cannot be specified with healthChecks.\n\nhaPolicy can only be specified for External Passthrough Network Load\nBalancers and Internal Passthrough Network Load Balancers." +}, +"healthChecks": { +"description": "The list of URLs to the healthChecks, httpHealthChecks (legacy), or\nhttpsHealthChecks (legacy) resource for health checking this backend\nservice. Not all backend services support legacy health checks. See\nLoad balancer guide. Currently, at most one health check can be\nspecified for each backend service. Backend services with\ninstance group or zonal NEG backends must have a health check unless\nhaPolicy is specified. Backend services with internet or serverless NEG\nbackends must not have a health check.\n\nhealthChecks[] cannot be specified with haPolicy.", +"items": { +"type": "string" +}, +"type": "array" +}, +"iap": { +"$ref": "BackendServiceIAP", +"description": "The configurations for Identity-Aware Proxy on this resource.\nNot available for internal passthrough Network Load Balancers and external\npassthrough Network Load Balancers." +}, +"id": { +"description": "[Output Only] The unique identifier for the resource. This identifier is\ndefined by the server.", +"format": "uint64", +"type": "string" +}, +"ipAddressSelectionPolicy": { +"description": "Specifies a preference for traffic sent from the proxy to the backend (or\nfrom the client to the backend for proxyless gRPC).\nThe possible values are:\n \n - IPV4_ONLY: Only send IPv4 traffic to the backends of the\n backend service (Instance Group, Managed Instance Group, Network Endpoint\n Group), regardless of traffic from the client to the proxy. Only IPv4\n health checks are used to check the health of the backends. This is the\n default setting.\n - PREFER_IPV6: Prioritize the connection to the endpoint's\n IPv6 address over its IPv4 address (provided there is a healthy IPv6\n address).\n - IPV6_ONLY: Only send IPv6 traffic to the backends of the\n backend service (Instance Group, Managed Instance Group, Network Endpoint\n Group), regardless of traffic from the client to the proxy. Only IPv6\n health checks are used to check the health of the backends.\n\n\n\nThis field is applicable to either:\n \n - Advanced global external Application Load Balancer (load balancing\n scheme EXTERNAL_MANAGED), \n - Regional external Application Load\n Balancer, \n - Internal proxy Network Load Balancer (load balancing\n scheme INTERNAL_MANAGED), \n - Regional internal Application Load\n Balancer (load balancing scheme INTERNAL_MANAGED), \n - Traffic\n Director with Envoy proxies and proxyless gRPC (load balancing scheme\n INTERNAL_SELF_MANAGED).", +"enum": [ +"IPV4_ONLY", +"IPV6_ONLY", +"IP_ADDRESS_SELECTION_POLICY_UNSPECIFIED", +"PREFER_IPV6" +], +"enumDescriptions": [ +"Only send IPv4 traffic to the backends of the Backend Service\n(Instance Group, Managed Instance Group, Network Endpoint Group)\nregardless of traffic from the client to the proxy.\nOnly IPv4 health-checks are used to check the health of the backends.\nThis is the default setting.", +"Only send IPv6 traffic to the backends of the Backend Service\n(Instance Group, Managed Instance Group, Network Endpoint Group)\nregardless of traffic from the client to the proxy. Only IPv6\nhealth-checks are used to check the health of the backends.", +"Unspecified IP address selection policy.", +"Prioritize the connection to the endpoints IPv6 address\nover its IPv4 address (provided there is a healthy IPv6 address)." +], +"type": "string" +}, +"kind": { +"default": "compute#backendService", +"description": "Output only. [Output Only] Type of resource. Always compute#backendService\nfor backend services.", +"readOnly": true, +"type": "string" +}, +"loadBalancingScheme": { +"description": "Specifies the load balancer type. A backend service\ncreated for one type of load balancer cannot be used with another.\nFor more information, refer toChoosing\na load balancer.", +"enum": [ +"EXTERNAL", +"EXTERNAL_MANAGED", +"INTERNAL", +"INTERNAL_MANAGED", +"INTERNAL_SELF_MANAGED", +"INVALID_LOAD_BALANCING_SCHEME" +], +"enumDescriptions": [ +"Signifies that this will be used for classic Application Load Balancers,\nglobal external proxy Network Load Balancers,\nor external passthrough Network Load Balancers.", +"Signifies that this will be used for global external Application Load\nBalancers, regional external Application Load Balancers, or regional\nexternal proxy Network Load Balancers.", +"Signifies that this will be used for internal passthrough Network Load\nBalancers.", +"Signifies that this will be used for internal Application Load Balancers.", +"Signifies that this will be used by Traffic Director.", +"" +], +"type": "string" +}, +"localityLbPolicies": { +"description": "A list of locality load-balancing policies to be used in order of\npreference. When you use localityLbPolicies, you must set at least one\nvalue for either the localityLbPolicies[].policy or the\nlocalityLbPolicies[].customPolicy field. localityLbPolicies overrides any\nvalue set in the localityLbPolicy field.\n\nFor an example of how to use this field, seeDefine\na list of preferred policies.\n\nCaution: This field and its children are intended for use in a service mesh\nthat includes gRPC clients only. Envoy proxies can't use backend services\nthat have this configuration.", +"items": { +"$ref": "BackendServiceLocalityLoadBalancingPolicyConfig" +}, +"type": "array" +}, +"localityLbPolicy": { +"description": "The load balancing algorithm used within the scope of the locality. The\npossible values are:\n \n - ROUND_ROBIN: This is a simple policy in which each healthy\n backend is selected in round robin order. This is the default.\n - LEAST_REQUEST: An O(1) algorithm which\n selects two random healthy hosts and picks the host which has fewer active\n requests.\n - RING_HASH: The ring/modulo hash load balancer implements\n consistent hashing to backends. The algorithm has the property that the\n addition/removal of a host from a set of N hosts only affects 1/N of the\n requests.\n - RANDOM: The load balancer selects a random healthy\n host.\n - ORIGINAL_DESTINATION: Backend host is selected\n based on the client connection metadata, i.e., connections are opened to\n the same address as the destination address of the incoming connection\n before the connection was redirected to the load balancer.\n - MAGLEV: used as a drop in replacement for the ring hash\n load balancer. Maglev is not as stable as ring hash but has faster table\n lookup build times and host selection times. For more information about\n Maglev, see Maglev:\n A Fast and Reliable Software Network Load Balancer.\n - WEIGHTED_ROUND_ROBIN: Per-endpoint Weighted Round Robin\n Load Balancing using weights computed from Backend reported Custom Metrics.\n If set, the Backend Service responses are expected to contain non-standard\n HTTP response header field Endpoint-Load-Metrics. The reported\n metrics to use for computing the weights are specified via thecustomMetrics field.\n \n This field is applicable to either:\n - A regional backend service with the service_protocol set to HTTP,\n HTTPS, HTTP2 or H2C, and load_balancing_scheme set to\n INTERNAL_MANAGED. \n - A global backend service with the\n load_balancing_scheme set to INTERNAL_SELF_MANAGED, INTERNAL_MANAGED, or\n EXTERNAL_MANAGED.\n \n \n If sessionAffinity is not configured\u2014that is, if session\n affinity remains at the default value of NONE\u2014then the\n default value for localityLbPolicy\n is ROUND_ROBIN. If session affinity is set to a value other\n than NONE,\n then the default value for localityLbPolicy isMAGLEV.\n \n Only ROUND_ROBIN and RING_HASH are supported\n when the backend service is referenced by a URL map that is bound to\n target gRPC proxy that has validateForProxyless field set to true.\n \n localityLbPolicy cannot be specified with haPolicy.", +"enum": [ +"INVALID_LB_POLICY", +"LEAST_REQUEST", +"MAGLEV", +"ORIGINAL_DESTINATION", +"RANDOM", +"RING_HASH", +"ROUND_ROBIN", +"WEIGHTED_GCP_RENDEZVOUS", +"WEIGHTED_MAGLEV", +"WEIGHTED_ROUND_ROBIN" +], +"enumDescriptions": [ +"", +"An O(1) algorithm which selects two random healthy hosts and\npicks the host which has fewer active requests.", +"This algorithm implements consistent hashing to backends. Maglev can be\nused as a drop in replacement for the ring hash load balancer. Maglev is\nnot as stable as ring hash but has faster table lookup build times and\nhost selection times. For more information about Maglev, seeMaglev:\nA Fast and Reliable Software Network Load Balancer.", +"Backend host is selected based on the client connection metadata, i.e.,\nconnections are opened to the same address as the destination address of\nthe incoming connection before the connection was redirected to the load\nbalancer.", +"The load balancer selects a random healthy host.", +"The ring/modulo hash load balancer implements consistent hashing to\nbackends. The algorithm has the property that the addition/removal\nof a host from a set of N hosts only affects 1/N of the requests.", +"This is a simple policy in which each healthy backend is selected\nin round robin order. This is the default.", +"Per-instance weighted Load Balancing via health check reported weights.\nIn internal passthrough network load balancing, it is weighted\nrendezvous hashing.\nThis option is only supported in internal passthrough network load\nbalancing.", +"Per-instance weighted Load Balancing via health check reported weights.\nIf set, the Backend Service must configure a non legacy HTTP-based Health\nCheck, and health check replies are expected to contain non-standard HTTP\nresponse header field X-Load-Balancing-Endpoint-Weight to specify the\nper-instance weights.\nIf set, Load Balancing is weighted based on the\nper-instance weights reported in the last processed health check replies,\nas long as every instance either reported a valid weight or had\nUNAVAILABLE_WEIGHT. Otherwise, Load Balancing remains equal-weight.\nThis option is only supported in Network Load Balancing.", +"Per-endpoint weighted round-robin Load Balancing using weights computed\nfrom Backend reported Custom Metrics. If set, the Backend Service\nresponses are expected to contain non-standard HTTP response header field\nEndpoint-Load-Metrics. The reported metrics\nto use for computing the weights are specified via the\ncustomMetrics fields." +], +"type": "string" +}, +"logConfig": { +"$ref": "BackendServiceLogConfig", +"description": "This field denotes the logging options for the load balancer traffic served\nby this backend service. If logging is enabled, logs will be exported to\nStackdriver." +}, +"maxStreamDuration": { +"$ref": "Duration", +"description": "Specifies the default maximum duration (timeout) for streams to this\nservice. Duration is computed from the beginning of the stream until the\nresponse has been completely processed, including all retries. A stream\nthat does not complete in this duration is closed.\n\nIf not specified, there will be no timeout limit, i.e. the maximum\nduration is infinite.\n\nThis value can be overridden in the PathMatcher configuration of the\nUrlMap that references this backend service.\n\nThis field is only allowed when the loadBalancingScheme of\nthe backend service is INTERNAL_SELF_MANAGED." +}, +"metadatas": { +"additionalProperties": { +"type": "string" +}, +"description": "Deployment metadata associated with the resource to be set by a GKE hub\ncontroller and read by the backend RCTH", +"type": "object" +}, +"name": { +"description": "Name of the resource. Provided by the client when the resource is created.\nThe name must be 1-63 characters long, and comply withRFC1035.\nSpecifically, the name must be 1-63 characters long and match the regular\nexpression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first\ncharacter must be a lowercase letter, and all following characters must\nbe a dash, lowercase letter, or digit, except the last character, which\ncannot be a dash.", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"type": "string" +}, +"network": { +"description": "The URL of the network to which this backend service belongs.\n\nThis field must be set for Internal Passthrough Network Load Balancers when\nthe haPolicy is enabled, and for External Passthrough Network Load\nBalancers when the haPolicy fastIpMove is enabled.\n\nThis field can only be specified when the load balancing scheme is set toINTERNAL, or when the load balancing scheme is set toEXTERNAL and haPolicy fastIpMove is enabled.", +"type": "string" +}, +"networkPassThroughLbTrafficPolicy": { +"$ref": "BackendServiceNetworkPassThroughLbTrafficPolicy", +"description": "Configures traffic steering properties of internal passthrough Network\nLoad Balancers.\n\nnetworkPassThroughLbTrafficPolicy cannot be specified with haPolicy." +}, +"orchestrationInfo": { +"$ref": "BackendServiceOrchestrationInfo", +"description": "Information about the resource or system that manages the backend service." +}, +"outlierDetection": { +"$ref": "OutlierDetection", +"description": "Settings controlling the ejection of unhealthy backend endpoints from the\nload balancing pool of each individual proxy instance that processes the\ntraffic for the given backend service. If not set, this feature is\nconsidered disabled.\n\nResults of the outlier detection algorithm (ejection of endpoints from the\nload balancing pool and returning them back to the pool) are executed\nindependently by each proxy instance of the load balancer. In most cases,\nmore than one proxy instance handles the traffic received by a backend\nservice. Thus, it is possible that an unhealthy endpoint is detected and\nejected by only some of the proxies, and while this happens, other proxies\nmay continue to send requests to the same unhealthy endpoint until they\ndetect and eject the unhealthy endpoint.\n\nApplicable backend endpoints can be:\n \n - VM instances in an Instance Group\n - Endpoints in a Zonal NEG (GCE_VM_IP, GCE_VM_IP_PORT)\n - Endpoints in a Hybrid Connectivity NEG (NON_GCP_PRIVATE_IP_PORT)\n - Serverless NEGs, that resolve to Cloud Run, App Engine, or Cloud\n Functions Services \n - Private Service Connect NEGs, that resolve to\n Google-managed regional API endpoints or managed services published using\n Private Service Connect\n\n\n\nApplicable backend service types can be:\n \n - A global backend service with the loadBalancingScheme set to\n INTERNAL_SELF_MANAGED or EXTERNAL_MANAGED. \n - A regional backend\n service with the serviceProtocol set to HTTP, HTTPS, HTTP2 or H2C, and\n loadBalancingScheme set to INTERNAL_MANAGED or EXTERNAL_MANAGED. Not\n supported for Serverless NEGs.\n\n\n\nNot supported when the backend service is referenced by a URL map that is\nbound to target gRPC proxy that has validateForProxyless field set to true." +}, +"params": { +"$ref": "BackendServiceParams", +"description": "Input only. [Input Only] Additional params passed with the request, but not persisted\nas part of resource payload." +}, +"port": { +"deprecated": true, +"description": "Deprecated in favor of portName. The TCP port to connect on\nthe backend. The default value is 80.\nFor internal passthrough Network Load Balancers and external passthrough\nNetwork Load Balancers, omit port.", +"format": "int32", +"type": "integer" +}, +"portName": { +"description": "A named port on a backend instance group representing the port for\ncommunication to the backend VMs in that group. The\nnamed port must be [defined on each backend instance\ngroup](https://cloud.google.com/load-balancing/docs/backend-service#named_ports).\nThis parameter has no meaning if the backends are NEGs. For internal\npassthrough Network Load Balancers and external passthrough Network Load\nBalancers, omit port_name.", +"type": "string" +}, +"protocol": { +"description": "The protocol this BackendService uses to communicate\nwith backends.\n\nPossible values are HTTP, HTTPS, HTTP2, H2C, TCP, SSL, UDP or GRPC.\ndepending on the chosen load balancer or Traffic Director configuration.\nRefer to the documentation for the load balancers or for Traffic Director\nfor more information.\n\nMust be set to GRPC when the backend service is referenced by a URL map\nthat is bound to target gRPC proxy.", +"enum": [ +"GRPC", +"H2C", +"HTTP", +"HTTP2", +"HTTPS", +"SSL", +"TCP", +"UDP", +"UNSPECIFIED" +], +"enumDescriptions": [ +"gRPC (available for Traffic Director).", +"HTTP2 over cleartext", +"", +"HTTP/2 with SSL.", +"", +"TCP proxying with SSL.", +"TCP proxying or TCP pass-through.", +"UDP.", +"If a Backend Service has UNSPECIFIED as its protocol, it can be used with\nany L3/L4 Forwarding Rules." +], +"type": "string" +}, +"region": { +"description": "Output only. [Output Only] URL of the region where the regional backend service\nresides. This field is not applicable to global backend services.\nYou must specify this field as part of the HTTP request URL. It is\nnot settable as a field in the request body.", +"readOnly": true, +"type": "string" +}, +"securityPolicy": { +"description": "[Output Only] The resource URL for the security policy associated with this\nbackend service.", +"type": "string" +}, +"securitySettings": { +"$ref": "SecuritySettings", +"description": "This field specifies the security settings that apply to this backend\nservice. This field is applicable to a global backend service with the\nload_balancing_scheme set to INTERNAL_SELF_MANAGED." +}, +"selfLink": { +"description": "[Output Only] Server-defined URL for the resource.", +"type": "string" +}, +"serviceBindings": { +"description": "URLs of networkservices.ServiceBinding resources.\n\nCan only be set if load balancing scheme is INTERNAL_SELF_MANAGED.\nIf set, lists of backends and health checks must be both empty.", +"items": { +"type": "string" +}, +"type": "array" +}, +"serviceLbPolicy": { +"description": "URL to networkservices.ServiceLbPolicy resource.\n\nCan only be set if load balancing scheme is EXTERNAL_MANAGED,\nINTERNAL_MANAGED or INTERNAL_SELF_MANAGED and the scope is global.", +"type": "string" +}, +"sessionAffinity": { +"description": "Type of session affinity to use. The default is NONE.\n\nOnly NONE and HEADER_FIELD are supported\nwhen the backend service is referenced by a URL map that is bound to\ntarget gRPC proxy that has validateForProxyless field set to true.\n\nFor more details, see:\n[Session\nAffinity](https://cloud.google.com/load-balancing/docs/backend-service#session_affinity).\n\nsessionAffinity cannot be specified with haPolicy.", +"enum": [ +"CLIENT_IP", +"CLIENT_IP_NO_DESTINATION", +"CLIENT_IP_PORT_PROTO", +"CLIENT_IP_PROTO", +"GENERATED_COOKIE", +"HEADER_FIELD", +"HTTP_COOKIE", +"NONE", +"STRONG_COOKIE_AFFINITY" +], +"enumDescriptions": [ +"2-tuple hash on packet's source and destination IP addresses. Connections\nfrom the same source IP address to the same destination IP address will be\nserved by the same backend VM while that VM remains healthy.", +"1-tuple hash only on packet's source IP address. Connections from the\nsame source IP address will be served by the same backend VM while that VM\nremains healthy. This option can only be used for Internal TCP/UDP\nLoad Balancing.", +"5-tuple hash on packet's source and destination IP addresses, IP protocol,\nand source and destination ports. Connections for the same IP protocol\nfrom the same source IP address and port to the same destination IP address\nand port will be served by the same backend VM while that VM remains\nhealthy. This option cannot be used for HTTP(S) load balancing.", +"3-tuple hash on packet's source and destination IP addresses, and IP\nprotocol. Connections for the same IP protocol from the same source IP\naddress to the same destination IP address will be served by the same\nbackend VM while that VM remains healthy. This option cannot be used for\nHTTP(S) load balancing.", +"Hash based on a cookie generated by the L7 loadbalancer.\nOnly valid for HTTP(S) load balancing.", +"The hash is based on a user specified header field.", +"The hash is based on a user provided cookie.", +"No session affinity. Connections from the same client IP may go\nto any instance in the pool.", +"Strong cookie-based affinity. Connections bearing the same cookie will be\nserved by the same backend VM while that VM remains healthy, as long as the\ncookie has not expired." +], +"type": "string" +}, +"strongSessionAffinityCookie": { +"$ref": "BackendServiceHttpCookie", +"description": "Describes the HTTP cookie used for stateful session affinity. This field is\napplicable and required if the sessionAffinity is set toSTRONG_COOKIE_AFFINITY." +}, +"subsetting": { +"$ref": "Subsetting", +"description": "subsetting cannot be specified with haPolicy." +}, +"timeoutSec": { +"description": "The backend service timeout has a different meaning depending on the\ntype of load balancer. For more information see,\nBackend service settings.\nThe default is 30 seconds.\nThe full range of timeout values allowed goes from 1\nthrough 2,147,483,647 seconds.\n\nThis value can be overridden in the PathMatcher configuration of the\nUrlMap that references this backend service.\n\nNot supported when the backend service is referenced by a URL map that is\nbound to target gRPC proxy that has validateForProxyless field set to true.\nInstead, use maxStreamDuration.", +"format": "int32", +"type": "integer" +}, +"tlsSettings": { +"$ref": "BackendServiceTlsSettings", +"description": "Configuration for Backend Authenticated TLS and mTLS. May only be specified\nwhen the backend protocol is SSL, HTTPS or HTTP2." +}, +"usedBy": { +"description": "Output only. [Output Only] List of resources referencing given backend service.", +"items": { +"$ref": "BackendServiceUsedBy" +}, +"readOnly": true, +"type": "array" +} +}, +"type": "object" +}, +"BackendServiceAggregatedList": { +"description": "Contains a list of BackendServicesScopedList.", +"id": "BackendServiceAggregatedList", +"properties": { +"id": { +"description": "[Output Only] Unique identifier for the resource; defined by the server.", +"type": "string" +}, +"items": { +"additionalProperties": { +"$ref": "BackendServicesScopedList", +"description": "Name of the scope containing this set of BackendServices." +}, +"description": "A list of BackendServicesScopedList resources.", +"type": "object" +}, +"kind": { +"default": "compute#backendServiceAggregatedList", +"description": "Output only. Type of resource.", +"readOnly": true, +"type": "string" +}, +"nextPageToken": { +"description": "[Output Only] This token allows you to get the next page of results for\nlist requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for\nthe query parameter pageToken in the next list request.\nSubsequent list requests will have their own nextPageToken to\ncontinue paging through the results.", +"type": "string" +}, +"selfLink": { +"description": "Output only. [Output Only] Server-defined URL for this resource.", +"readOnly": true, +"type": "string" +}, +"unreachables": { +"description": "Output only. [Output Only] Unreachable resources.", +"items": { +"type": "string" +}, +"readOnly": true, +"type": "array" +}, +"warning": { +"description": "[Output Only] Informational warning message.", +"properties": { +"code": { +"description": "[Output Only] A warning code, if applicable. For example, Compute\nEngine returns NO_RESULTS_ON_PAGE if there\nare no results in the response.", +"enum": [ +"CLEANUP_FAILED", +"DEPRECATED_RESOURCE_USED", +"DEPRECATED_TYPE_USED", +"DISK_SIZE_LARGER_THAN_IMAGE_SIZE", +"EXPERIMENTAL_TYPE_USED", +"EXTERNAL_API_WARNING", +"FIELD_VALUE_OVERRIDEN", +"INJECTED_KERNELS_DEPRECATED", +"INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", +"LARGE_DEPLOYMENT_WARNING", +"LIST_OVERHEAD_QUOTA_EXCEED", +"MISSING_TYPE_DEPENDENCY", +"NEXT_HOP_ADDRESS_NOT_ASSIGNED", +"NEXT_HOP_CANNOT_IP_FORWARD", +"NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", +"NEXT_HOP_INSTANCE_NOT_FOUND", +"NEXT_HOP_INSTANCE_NOT_ON_NETWORK", +"NEXT_HOP_NOT_RUNNING", +"NOT_CRITICAL_ERROR", +"NO_RESULTS_ON_PAGE", +"PARTIAL_SUCCESS", +"QUOTA_INFO_UNAVAILABLE", +"REQUIRED_TOS_AGREEMENT", +"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", +"RESOURCE_NOT_DELETED", +"SCHEMA_VALIDATION_IGNORED", +"SINGLE_INSTANCE_PROPERTY_TEMPLATE", +"UNDECLARED_PROPERTIES", +"UNREACHABLE" +], +"enumDeprecated": [ +false, +false, +false, +false, +false, +false, +true, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false +], +"enumDescriptions": [ +"Warning about failed cleanup of transient changes made by a failed\noperation.", +"A link to a deprecated resource was created.", +"When deploying and at least one of the resources has a type marked as\ndeprecated", +"The user created a boot disk that is larger than image size.", +"When deploying and at least one of the resources has a type marked as\nexperimental", +"Warning that is present in an external api call", +"Warning that value of a field has been overridden.\nDeprecated unused field.", +"The operation involved use of an injected kernel, which is deprecated.", +"A WEIGHTED_MAGLEV backend service is associated with a health check that is\nnot of type HTTP/HTTPS/HTTP2.", +"When deploying a deployment with a exceedingly large number of resources", +"Resource can't be retrieved due to list overhead quota exceed\nwhich captures the amount of resources filtered out by\nuser-defined list filter.", +"A resource depends on a missing type", +"The route's nextHopIp address is not assigned to an instance on the\nnetwork.", +"The route's next hop instance cannot ip forward.", +"The route's nextHopInstance URL refers to an instance that does not have an\nipv6 interface on the same network as the route.", +"The route's nextHopInstance URL refers to an instance that does not exist.", +"The route's nextHopInstance URL refers to an instance that is not on the\nsame network as the route.", +"The route's next hop instance does not have a status of RUNNING.", +"Error which is not critical. We decided to continue the process despite\nthe mentioned error.", +"No results are present on a particular list page.", +"Success is reported, but some results may be missing due to errors", +"Quota information is not available to client requests (e.g:\nregions.list).", +"The user attempted to use a resource that requires a TOS they have not\naccepted.", +"Warning that a resource is in use.", +"One or more of the resources set to auto-delete could not be deleted\nbecause they were in use.", +"When a resource schema validation is ignored.", +"Instance template used in instance group manager is valid as such, but\nits application does not make a lot of sense, because it allows only\nsingle instance in instance group.", +"When undeclared properties in the schema are present", +"A given scope cannot be reached." +], +"type": "string" +}, +"data": { +"description": "[Output Only] Metadata about this warning in key:\nvalue format. For example:\n\n\"data\": [\n {\n \"key\": \"scope\",\n \"value\": \"zones/us-east1-d\"\n }", +"items": { +"properties": { +"key": { +"description": "[Output Only] A key that provides more detail on the warning being\nreturned. For example, for warnings where there are no results in a list\nrequest for a particular zone, this key might be scope and\nthe key value might be the zone name. Other examples might be a key\nindicating a deprecated resource and a suggested replacement, or a\nwarning about invalid network settings (for example, if an instance\nattempts to perform IP forwarding but is not enabled for IP forwarding).", +"type": "string" +}, +"value": { +"description": "[Output Only] A warning data value corresponding to the key.", +"type": "string" +} +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "[Output Only] A human-readable description of the warning code.", +"type": "string" +} +}, +"type": "object" +} +}, +"type": "object" +}, +"BackendServiceCdnPolicy": { +"description": "Message containing Cloud CDN configuration for a backend service.", +"id": "BackendServiceCdnPolicy", +"properties": { +"bypassCacheOnRequestHeaders": { +"description": "Bypass the cache when the specified request headers are matched - e.g.\nPragma or Authorization headers. Up to 5 headers can be specified.\nThe cache is bypassed for all cdnPolicy.cacheMode settings.", +"items": { +"$ref": "BackendServiceCdnPolicyBypassCacheOnRequestHeader" +}, +"type": "array" +}, +"cacheKeyPolicy": { +"$ref": "CacheKeyPolicy", +"description": "The CacheKeyPolicy for this CdnPolicy." +}, +"cacheMode": { +"description": "Specifies the cache setting for all responses from this backend.\nThe possible values are:USE_ORIGIN_HEADERS Requires the origin to set valid caching\nheaders to cache content. Responses without these headers will not be\ncached at Google's edge, and will require a full trip to the origin on\nevery request, potentially impacting performance and increasing load on\nthe origin server.FORCE_CACHE_ALL Cache all content, ignoring any \"private\",\n\"no-store\" or \"no-cache\" directives in Cache-Control response headers.\nWarning: this may result in Cloud CDN caching private,\nper-user (user identifiable) content.CACHE_ALL_STATIC Automatically cache static content,\nincluding common image formats, media (video and audio), and web assets\n(JavaScript and CSS). Requests and responses that are marked as\nuncacheable, as well as dynamic content (including HTML), will not be\ncached.\n\nIf no value is provided for cdnPolicy.cacheMode, it defaults\nto CACHE_ALL_STATIC.", +"enum": [ +"CACHE_ALL_STATIC", +"FORCE_CACHE_ALL", +"INVALID_CACHE_MODE", +"USE_ORIGIN_HEADERS" +], +"enumDescriptions": [ +"Automatically cache static content, including common image formats,\nmedia (video and audio), and web assets (JavaScript and CSS).\nRequests and responses that are marked as uncacheable, as well as\ndynamic content (including HTML), will not be cached.", +"Cache all content, ignoring any \"private\", \"no-store\" or \"no-cache\"\ndirectives in Cache-Control response headers.\nWarning: this may result in Cloud CDN caching private,\nper-user (user identifiable) content.", +"", +"Requires the origin to set valid caching headers to cache content.\nResponses without these headers will not be cached at Google's edge,\nand will require a full trip to the origin on every request,\npotentially impacting performance and increasing load on the\norigin server." +], +"type": "string" +}, +"clientTtl": { +"description": "Specifies a separate client (e.g. browser client) maximum TTL. This is\nused to clamp the max-age (or Expires) value sent to the client. With\nFORCE_CACHE_ALL, the lesser of client_ttl and default_ttl is used for the\nresponse max-age directive, along with a \"public\" directive. For\ncacheable content in CACHE_ALL_STATIC mode, client_ttl clamps the max-age\nfrom the origin (if specified), or else sets the response max-age\ndirective to the lesser of the client_ttl and default_ttl, and also\nensures a \"public\" cache-control directive is present.\nIf a client TTL is not specified, a default value (1 hour) will be used.\nThe maximum allowed value is 31,622,400s (1 year).", +"format": "int32", +"type": "integer" +}, +"defaultTtl": { +"description": "Specifies the default TTL for cached content served by this origin for\nresponses that do not have an existing valid TTL (max-age or s-maxage).\nSetting a TTL of \"0\" means \"always revalidate\".\nThe value of defaultTTL cannot be set to a value greater than that of\nmaxTTL, but can be equal.\nWhen the cacheMode is set to FORCE_CACHE_ALL, the defaultTTL\nwill overwrite the TTL set in all responses. The maximum allowed value is\n31,622,400s (1 year), noting that infrequently accessed objects may be\nevicted from the cache before the defined TTL.", +"format": "int32", +"type": "integer" +}, +"maxTtl": { +"description": "Specifies the maximum allowed TTL for cached content served by this\norigin.\nCache directives that attempt to set a max-age or s-maxage higher than\nthis, or an Expires header more than maxTTL seconds in the future will\nbe capped at the value of maxTTL, as if it were the value of an\ns-maxage Cache-Control directive.\nHeaders sent to the client will not be modified.\nSetting a TTL of \"0\" means \"always revalidate\".\nThe maximum allowed value is 31,622,400s (1 year), noting that\ninfrequently accessed objects may be evicted from the cache before\nthe defined TTL.", +"format": "int32", +"type": "integer" +}, +"negativeCaching": { +"description": "Negative caching allows per-status code TTLs to be set, in order\nto apply fine-grained caching for common errors or redirects.\nThis can reduce the load on your origin and improve end-user\nexperience by reducing response latency.\nWhen the cache mode is set to CACHE_ALL_STATIC or USE_ORIGIN_HEADERS,\nnegative caching applies to responses with the specified response code\nthat lack any Cache-Control, Expires, or Pragma: no-cache directives.\nWhen the cache mode is set to FORCE_CACHE_ALL, negative caching applies\nto all responses with the specified response code, and override any\ncaching headers.\nBy default, Cloud CDN will apply the following default TTLs to these\nstatus codes:\nHTTP 300 (Multiple Choice), 301, 308 (Permanent Redirects): 10m\nHTTP 404 (Not Found), 410 (Gone),\n451 (Unavailable For Legal Reasons): 120s\nHTTP 405 (Method Not Found), 501 (Not Implemented): 60s.\nThese defaults can be overridden in negative_caching_policy.", +"type": "boolean" +}, +"negativeCachingPolicy": { +"description": "Sets a cache TTL for the specified HTTP status code.\nnegative_caching must be enabled to configure negative_caching_policy.\nOmitting the policy and leaving negative_caching enabled will use\nCloud CDN's default cache TTLs.\nNote that when specifying an explicit negative_caching_policy, you\nshould take care to specify a cache TTL for all response codes\nthat you wish to cache. Cloud CDN will not apply any default\nnegative caching when a policy exists.", +"items": { +"$ref": "BackendServiceCdnPolicyNegativeCachingPolicy" +}, +"type": "array" +}, +"requestCoalescing": { +"description": "If true then Cloud CDN will combine multiple concurrent cache fill\nrequests into a small number of requests to the origin.", +"type": "boolean" +}, +"serveWhileStale": { +"description": "Serve existing content from the cache (if available) when revalidating\ncontent with the origin, or when an error is encountered when refreshing\nthe cache.\nThis setting defines the default \"max-stale\" duration for any cached\nresponses that do not specify a max-stale directive. Stale responses that\nexceed the TTL configured here will not be served. The default limit\n(max-stale) is 86400s (1 day), which will allow stale content to be\nserved up to this limit beyond the max-age (or s-maxage) of a cached\nresponse.\nThe maximum allowed value is 604800 (1 week).\nSet this to zero (0) to disable serve-while-stale.", +"format": "int32", +"type": "integer" +}, +"signedUrlCacheMaxAgeSec": { +"description": "Maximum number of seconds the response to a signed URL request will be\nconsidered fresh. After this time period, the response will be\nrevalidated before being served. Defaults to 1hr (3600s). When serving\nresponses to signed URL requests, Cloud CDN will internally behave as\nthough all responses from this backend had a \"Cache-Control:\npublic, max-age=[TTL]\" header, regardless of any existing\nCache-Control header. The actual headers served in responses will not be\naltered.", +"format": "int64", +"type": "string" +}, +"signedUrlKeyNames": { +"description": "[Output Only] Names of the keys for signing request URLs.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"BackendServiceCdnPolicyBypassCacheOnRequestHeader": { +"description": "Bypass the cache when the specified request headers are present,\ne.g. Pragma or Authorization headers. Values are case insensitive.\nThe presence of such a header overrides the cache_mode setting.", +"id": "BackendServiceCdnPolicyBypassCacheOnRequestHeader", +"properties": { +"headerName": { +"description": "The header field name to match on when bypassing cache.\nValues are case-insensitive.", +"type": "string" +} +}, +"type": "object" +}, +"BackendServiceCdnPolicyNegativeCachingPolicy": { +"description": "Specify CDN TTLs for response error codes.", +"id": "BackendServiceCdnPolicyNegativeCachingPolicy", +"properties": { +"code": { +"description": "The HTTP status code to define a TTL against. Only HTTP status codes\n300, 301, 302, 307, 308, 404, 405, 410, 421, 451 and 501 can be\nspecified as values, and you cannot specify a status code more than\nonce.", +"format": "int32", +"type": "integer" +}, +"ttl": { +"description": "The TTL (in seconds) for which to cache responses with the\ncorresponding status code.\nThe maximum allowed value is 1800s (30 minutes), noting that\ninfrequently accessed objects may be evicted from the cache before the\ndefined TTL.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"BackendServiceConnectionTrackingPolicy": { +"description": "Connection Tracking configuration for this BackendService.", +"id": "BackendServiceConnectionTrackingPolicy", +"properties": { +"connectionPersistenceOnUnhealthyBackends": { +"description": "Specifies connection persistence when backends are unhealthy. The default\nvalue is DEFAULT_FOR_PROTOCOL.\n\nIf set to DEFAULT_FOR_PROTOCOL, the existing connections\npersist on unhealthy backends only for connection-oriented protocols\n(TCP and SCTP) and only if the Tracking Mode isPER_CONNECTION (default tracking mode) or the Session\nAffinity is configured for 5-tuple. They do not persist forUDP.\n\nIf set to NEVER_PERSIST, after a backend becomes unhealthy,\nthe existing connections on the unhealthy backend are never persisted on\nthe unhealthy backend. They are always diverted to newly selected healthy\nbackends (unless all backends are unhealthy).\n\nIf set to ALWAYS_PERSIST, existing connections always\npersist on unhealthy backends regardless of protocol and session\naffinity. It is generally not recommended to use this mode overriding the\ndefault.\n\nFor more details, see [Connection Persistence for Network Load\nBalancing](https://cloud.google.com/load-balancing/docs/network/networklb-backend-service#connection-persistence)\nand [Connection Persistence for Internal TCP/UDP Load\nBalancing](https://cloud.google.com/load-balancing/docs/internal#connection-persistence).", +"enum": [ +"ALWAYS_PERSIST", +"DEFAULT_FOR_PROTOCOL", +"NEVER_PERSIST" +], +"enumDescriptions": [ +"", +"", +"" +], +"type": "string" +}, +"enableStrongAffinity": { +"description": "Enable Strong Session Affinity for external passthrough Network Load\nBalancers. This option is not available publicly.", +"type": "boolean" +}, +"idleTimeoutSec": { +"description": "Specifies how long to keep a Connection Tracking entry while there is no\nmatching traffic (in seconds).\n\nFor internal passthrough Network Load Balancers:\n \n - The minimum (default) is 10 minutes and the maximum is 16 hours.\n - It can be set only if Connection Tracking is less than 5-tuple\n (i.e. Session Affinity is CLIENT_IP_NO_DESTINATION,CLIENT_IP or CLIENT_IP_PROTO, and Tracking\n Mode is PER_SESSION).\n\n\n\nFor external passthrough Network Load Balancers the default is 60\nseconds. This option is not available publicly.", +"format": "int32", +"type": "integer" +}, +"trackingMode": { +"description": "Specifies the key used for connection tracking. There are two\noptions:\n \n - PER_CONNECTION: This is the default mode. The Connection\n Tracking is performed as per the Connection Key (default Hash Method) for\n the specific protocol.\n - PER_SESSION: The Connection Tracking is performed as per\n the configured Session Affinity. It matches the configured Session\n Affinity.\n\n\n\nFor more details, see [Tracking Mode for Network Load\nBalancing](https://cloud.google.com/load-balancing/docs/network/networklb-backend-service#tracking-mode)\nand [Tracking Mode for Internal TCP/UDP Load\nBalancing](https://cloud.google.com/load-balancing/docs/internal#tracking-mode).", +"enum": [ +"INVALID_TRACKING_MODE", +"PER_CONNECTION", +"PER_SESSION" +], +"enumDescriptions": [ +"", +"", +"" +], +"type": "string" +} +}, +"type": "object" +}, +"BackendServiceCustomMetric": { +"description": "Custom Metrics are used for WEIGHTED_ROUND_ROBIN\nlocality_lb_policy.", +"id": "BackendServiceCustomMetric", +"properties": { +"dryRun": { +"description": "If true, the metric data is not used for load balancing.", +"type": "boolean" +}, +"name": { +"description": "Name of a custom utilization signal. The name must be 1-64 characters\nlong and match the regular expression\n`[a-z]([-_.a-z0-9]*[a-z0-9])?` which means that the\nfirst character must be a lowercase letter, and all following\ncharacters must be a dash, period, underscore, lowercase letter, or\ndigit, except the last character, which cannot be a dash, period, or\nunderscore. For usage guidelines, see Custom Metrics balancing mode. This\nfield can only be used for a global or regional backend service with the\nloadBalancingScheme set to EXTERNAL_MANAGED,INTERNAL_MANAGED INTERNAL_SELF_MANAGED.", +"type": "string" +} +}, +"type": "object" +}, +"BackendServiceDynamicForwarding": { +"description": "Defines a dynamic forwarding configuration for the backend service.", +"id": "BackendServiceDynamicForwarding", +"properties": { +"ipPortSelection": { +"$ref": "BackendServiceDynamicForwardingIpPortSelection", +"description": "IP:PORT based dynamic forwarding configuration." +} +}, +"type": "object" +}, +"BackendServiceDynamicForwardingIpPortSelection": { +"description": "Defines a IP:PORT based dynamic forwarding configuration for the backend\nservice. Some ranges are restricted: Restricted\nranges.", +"id": "BackendServiceDynamicForwardingIpPortSelection", +"properties": { +"enabled": { +"description": "A boolean flag enabling IP:PORT based dynamic forwarding.", +"type": "boolean" +} +}, +"type": "object" +}, +"BackendServiceFailoverPolicy": { +"description": "For load balancers that have configurable\nfailover:\n[Internal passthrough Network Load\nBalancers](https://cloud.google.com/load-balancing/docs/internal/failover-overview)\nand [external passthrough\nNetwork Load\nBalancers](https://cloud.google.com/load-balancing/docs/network/networklb-failover-overview).\nOn failover or failback, this field indicates whether connection draining\nwill be honored. Google Cloud has a fixed connection draining timeout of\n10 minutes. A setting of true terminates existing TCP\nconnections to the active pool during failover and failback, immediately\ndraining traffic. A setting of false allows existing TCP\nconnections to persist, even on VMs no longer in the active pool, for up\nto the duration of the connection draining timeout (10 minutes).", +"id": "BackendServiceFailoverPolicy", +"properties": { +"disableConnectionDrainOnFailover": { +"description": "This can be set to true only if the protocol isTCP.\n\nThe default is false.", +"type": "boolean" +}, +"dropTrafficIfUnhealthy": { +"description": "If set to true, connections to the\nload balancer are dropped when all primary and all backup backend VMs are\nunhealthy.If set to false, connections are distributed\namong all primary VMs when all primary and all backup backend VMs are\n unhealthy.\nFor load balancers that have configurable\nfailover:\n[Internal passthrough\nNetwork Load\nBalancers](https://cloud.google.com/load-balancing/docs/internal/failover-overview)\nand [external passthrough\nNetwork Load\nBalancers](https://cloud.google.com/load-balancing/docs/network/networklb-failover-overview).\nThe default is false.", +"type": "boolean" +}, +"failoverRatio": { +"description": "The value of the field must be in the range[0, 1]. If the value is 0, the load balancer performs a\nfailover when the number of healthy primary VMs equals zero.\nFor all other values, the load balancer performs a failover when the\ntotal number of healthy primary VMs is less than this ratio.\nFor load balancers that have configurable\nfailover:\n[Internal TCP/UDP Load\nBalancing](https://cloud.google.com/load-balancing/docs/internal/failover-overview)\nand [external TCP/UDP Load\nBalancing](https://cloud.google.com/load-balancing/docs/network/networklb-failover-overview).", +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"BackendServiceGroupHealth": { +"id": "BackendServiceGroupHealth", +"properties": { +"annotations": { +"additionalProperties": { +"type": "string" +}, +"description": "Metadata defined as annotations on the network endpoint group.", +"type": "object" +}, +"healthStatus": { +"description": "Health state of the backend instances or endpoints in requested instance or\nnetwork endpoint group, determined based on configured health checks.", +"items": { +"$ref": "HealthStatus" +}, +"type": "array" +}, +"kind": { +"default": "compute#backendServiceGroupHealth", +"description": "Output only. [Output Only] Type of resource. Alwayscompute#backendServiceGroupHealth for the health of backend\nservices.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"BackendServiceHAPolicy": { +"id": "BackendServiceHAPolicy", +"properties": { +"fastIPMove": { +"description": "Specifies whether fast IP move is enabled, and if so, the mechanism to\nachieve it.\n\nSupported values are:\n \n - DISABLED: Fast IP Move is disabled. You can only use the\n haPolicy.leader API to update the leader.\n - >GARP_RA: Provides a method to very quickly define a new network\n endpoint as the leader. This method is faster than updating the leader\n using the haPolicy.leader API. Fast IP move works as follows: The VM\n hosting the network endpoint that should become the new leader sends\n either a Gratuitous ARP (GARP) packet (IPv4) or an ICMPv6 Router\n Advertisement(RA) packet (IPv6). Google Cloud immediately but\n temporarily associates the forwarding rule IP address with that VM, and\n both new and in-flight packets are quickly delivered to that VM.\n\n\n\nNote the important properties of the Fast IP Move functionality:\n \n - The GARP/RA-initiated re-routing stays active for approximately 20\n minutes. After triggering fast failover, you must also\n appropriately set the haPolicy.leader.\n - The new leader instance should continue to send GARP/RA packets\n periodically every 10 seconds until at least 10 minutes after updating\n the haPolicy.leader (but stop immediately if it is no longer the leader).\n - After triggering a fast failover, we recommend that you wait at least\n 3 seconds before sending another GARP/RA packet from a different VM\n instance to avoid race conditions.\n - Don't send GARP/RA packets from different VM\n instances at the same time. If multiple instances continue to send\n GARP/RA packets, traffic might be routed to different destinations in an\n alternating order. This condition ceases when a single instance\n issues a GARP/RA packet.\n - The GARP/RA request always takes priority over the leader API.\n Using the haPolicy.leader API to change the leader to a different\n instance will have no effect until the GARP/RA request becomes\n inactive.\n - The GARP/RA packets should follow the GARP/RA\n Packet Specifications..\n - When multiple forwarding rules refer to a regional backend service,\n you need only send a GARP or RA packet for a single forwarding rule\n virtual IP. The virtual IPs for all forwarding rules targeting the same\n backend service will also be moved to the sender of the GARP or RA\n packet. \n\n\n\nThe following are the Fast IP Move limitations (that is, when fastIPMove\nis not DISABLED):\n \n - Multiple forwarding rules cannot use the same IP address if one of\n them refers to a regional backend service with fastIPMove.\n - The regional backend service must set the network field, and all\n NEGs must belong to that network. However, individual\n NEGs can belong to different subnetworks of that network. \n - The maximum number of network endpoints across all backends of a\n backend service with fastIPMove is 32.\n - The maximum number of backend services with fastIPMove that can have\n the same network endpoint attached to one of its backends is 64.\n - The maximum number of backend services with fastIPMove in a VPC in a\n region is 64.\n - The network endpoints that are attached to a backend of a backend\n service with fastIPMove cannot resolve to Gen3+ machines for IPv6.\n - Traffic directed to the leader by a static route next hop will not be\n redirected to a new leader by fast failover. Such traffic will only be\n redirected once an haPolicy.leader update has taken effect. Only traffic\n to the forwarding rule's virtual IP will be redirected to a new leader by\n fast failover.\n\n\nhaPolicy.fastIPMove can be set only at backend service creation time.\nOnce set, it cannot be updated.\n\nBy default, fastIpMove is set to DISABLED.", +"enum": [ +"DISABLED", +"GARP_RA" +], +"enumDescriptions": [ +"", +"" +], +"type": "string" +}, +"leader": { +"$ref": "BackendServiceHAPolicyLeader", +"description": "Selects one of the network endpoints attached to the backend NEGs of\nthis service as the active endpoint (the leader) that receives all\ntraffic.\n\nWhen the leader changes, there is no connection draining to persist\nexisting connections on the old leader.\n\nYou are responsible for selecting a suitable endpoint as the\nleader. For example, preferring a healthy endpoint over unhealthy ones.\nNote that this service does not track backend endpoint health, and\nselects the configured leader unconditionally." +} +}, +"type": "object" +}, +"BackendServiceHAPolicyLeader": { +"id": "BackendServiceHAPolicyLeader", +"properties": { +"backendGroup": { +"description": "A fully-qualified URL (starting with https://www.googleapis.com/)\nof the zonal Network Endpoint Group (NEG) with `GCE_VM_IP` endpoints\nthat the leader is attached to.\n\nThe leader's backendGroup must already be specified as a backend of\nthis backend service. Removing a backend that is designated as the\nleader's backendGroup is not permitted.", +"type": "string" +}, +"networkEndpoint": { +"$ref": "BackendServiceHAPolicyLeaderNetworkEndpoint", +"description": "The network endpoint within the leader.backendGroup that is\ndesignated as the leader.\n\nThis network endpoint cannot be detached from the NEG specified in\nthe haPolicy.leader.backendGroup until the leader is updated with\nanother network endpoint, or the leader is removed from the haPolicy." +} +}, +"type": "object" +}, +"BackendServiceHAPolicyLeaderNetworkEndpoint": { +"id": "BackendServiceHAPolicyLeaderNetworkEndpoint", +"properties": { +"instance": { +"description": "The name of the VM instance of the leader network endpoint. The\ninstance must already be attached to the NEG specified in the\nhaPolicy.leader.backendGroup.\n\nThe name must be 1-63 characters long, and comply with RFC1035.\nAuthorization requires the following IAM permission on the\nspecified resource instance: compute.instances.use", +"type": "string" +} +}, +"type": "object" +}, +"BackendServiceHttpCookie": { +"description": "The HTTP cookie used for stateful session affinity.", +"id": "BackendServiceHttpCookie", +"properties": { +"name": { +"description": "Name of the cookie.", +"type": "string" +}, +"path": { +"description": "Path to set for the cookie.", +"type": "string" +}, +"ttl": { +"$ref": "Duration", +"description": "Lifetime of the cookie." +} +}, +"type": "object" +}, +"BackendServiceIAP": { +"description": "Identity-Aware Proxy", +"id": "BackendServiceIAP", +"properties": { +"enabled": { +"description": "Whether the serving infrastructure will authenticate and authorize all\nincoming requests.", +"type": "boolean" +}, +"oauth2ClientId": { +"description": "OAuth2 client ID to use for the authentication flow.", +"type": "string" +}, +"oauth2ClientSecret": { +"description": "OAuth2 client secret to use for the authentication flow.\nFor security reasons, this value cannot be retrieved via the API.\nInstead, the SHA-256 hash of the value is returned in the\noauth2ClientSecretSha256 field.\n\n@InputOnly", +"type": "string" +}, +"oauth2ClientSecretSha256": { +"description": "Output only. [Output Only] SHA256 hash value for the field oauth2_client_secret above.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"BackendServiceList": { +"description": "Contains a list of BackendService resources.", +"id": "BackendServiceList", +"properties": { +"id": { +"description": "[Output Only] Unique identifier for the resource; defined by the server.", +"type": "string" +}, +"items": { +"description": "A list of BackendService resources.", +"items": { +"$ref": "BackendService" +}, +"type": "array" +}, +"kind": { +"default": "compute#backendServiceList", +"description": "Output only. [Output Only] Type of resource. Alwayscompute#backendServiceList for lists of backend services.", +"readOnly": true, +"type": "string" +}, +"nextPageToken": { +"description": "[Output Only] This token allows you to get the next page of results for\nlist requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for\nthe query parameter pageToken in the next list request.\nSubsequent list requests will have their own nextPageToken to\ncontinue paging through the results.", +"type": "string" +}, +"selfLink": { +"description": "Output only. [Output Only] Server-defined URL for this resource.", +"readOnly": true, +"type": "string" +}, +"warning": { +"description": "[Output Only] Informational warning message.", +"properties": { +"code": { +"description": "[Output Only] A warning code, if applicable. For example, Compute\nEngine returns NO_RESULTS_ON_PAGE if there\nare no results in the response.", +"enum": [ +"CLEANUP_FAILED", +"DEPRECATED_RESOURCE_USED", +"DEPRECATED_TYPE_USED", +"DISK_SIZE_LARGER_THAN_IMAGE_SIZE", +"EXPERIMENTAL_TYPE_USED", +"EXTERNAL_API_WARNING", +"FIELD_VALUE_OVERRIDEN", +"INJECTED_KERNELS_DEPRECATED", +"INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", +"LARGE_DEPLOYMENT_WARNING", +"LIST_OVERHEAD_QUOTA_EXCEED", +"MISSING_TYPE_DEPENDENCY", +"NEXT_HOP_ADDRESS_NOT_ASSIGNED", +"NEXT_HOP_CANNOT_IP_FORWARD", +"NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", +"NEXT_HOP_INSTANCE_NOT_FOUND", +"NEXT_HOP_INSTANCE_NOT_ON_NETWORK", +"NEXT_HOP_NOT_RUNNING", +"NOT_CRITICAL_ERROR", +"NO_RESULTS_ON_PAGE", +"PARTIAL_SUCCESS", +"QUOTA_INFO_UNAVAILABLE", +"REQUIRED_TOS_AGREEMENT", +"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", +"RESOURCE_NOT_DELETED", +"SCHEMA_VALIDATION_IGNORED", +"SINGLE_INSTANCE_PROPERTY_TEMPLATE", +"UNDECLARED_PROPERTIES", +"UNREACHABLE" +], +"enumDeprecated": [ +false, +false, +false, +false, +false, +false, +true, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false +], +"enumDescriptions": [ +"Warning about failed cleanup of transient changes made by a failed\noperation.", +"A link to a deprecated resource was created.", +"When deploying and at least one of the resources has a type marked as\ndeprecated", +"The user created a boot disk that is larger than image size.", +"When deploying and at least one of the resources has a type marked as\nexperimental", +"Warning that is present in an external api call", +"Warning that value of a field has been overridden.\nDeprecated unused field.", +"The operation involved use of an injected kernel, which is deprecated.", +"A WEIGHTED_MAGLEV backend service is associated with a health check that is\nnot of type HTTP/HTTPS/HTTP2.", +"When deploying a deployment with a exceedingly large number of resources", +"Resource can't be retrieved due to list overhead quota exceed\nwhich captures the amount of resources filtered out by\nuser-defined list filter.", +"A resource depends on a missing type", +"The route's nextHopIp address is not assigned to an instance on the\nnetwork.", +"The route's next hop instance cannot ip forward.", +"The route's nextHopInstance URL refers to an instance that does not have an\nipv6 interface on the same network as the route.", +"The route's nextHopInstance URL refers to an instance that does not exist.", +"The route's nextHopInstance URL refers to an instance that is not on the\nsame network as the route.", +"The route's next hop instance does not have a status of RUNNING.", +"Error which is not critical. We decided to continue the process despite\nthe mentioned error.", +"No results are present on a particular list page.", +"Success is reported, but some results may be missing due to errors", +"Quota information is not available to client requests (e.g:\nregions.list).", +"The user attempted to use a resource that requires a TOS they have not\naccepted.", +"Warning that a resource is in use.", +"One or more of the resources set to auto-delete could not be deleted\nbecause they were in use.", +"When a resource schema validation is ignored.", +"Instance template used in instance group manager is valid as such, but\nits application does not make a lot of sense, because it allows only\nsingle instance in instance group.", +"When undeclared properties in the schema are present", +"A given scope cannot be reached." +], +"type": "string" +}, +"data": { +"description": "[Output Only] Metadata about this warning in key:\nvalue format. For example:\n\n\"data\": [\n {\n \"key\": \"scope\",\n \"value\": \"zones/us-east1-d\"\n }", +"items": { +"properties": { +"key": { +"description": "[Output Only] A key that provides more detail on the warning being\nreturned. For example, for warnings where there are no results in a list\nrequest for a particular zone, this key might be scope and\nthe key value might be the zone name. Other examples might be a key\nindicating a deprecated resource and a suggested replacement, or a\nwarning about invalid network settings (for example, if an instance\nattempts to perform IP forwarding but is not enabled for IP forwarding).", +"type": "string" +}, +"value": { +"description": "[Output Only] A warning data value corresponding to the key.", +"type": "string" +} +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "[Output Only] A human-readable description of the warning code.", +"type": "string" +} +}, +"type": "object" +} +}, +"type": "object" +}, +"BackendServiceListUsable": { +"description": "Contains a list of usable BackendService resources.", +"id": "BackendServiceListUsable", +"properties": { +"id": { +"description": "[Output Only] Unique identifier for the resource; defined by the server.", +"type": "string" +}, +"items": { +"description": "A list of BackendService resources.", +"items": { +"$ref": "BackendService" +}, +"type": "array" +}, +"kind": { +"default": "compute#usableBackendServiceList", +"description": "Output only. [Output Only] Type of resource. Alwayscompute#usableBackendServiceList for lists of usable backend\nservices.", +"readOnly": true, +"type": "string" +}, +"nextPageToken": { +"description": "[Output Only] This token allows you to get the next page of results for\nlist requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for\nthe query parameter pageToken in the next list request.\nSubsequent list requests will have their own nextPageToken to\ncontinue paging through the results.", +"type": "string" +}, +"selfLink": { +"description": "Output only. [Output Only] Server-defined URL for this resource.", +"readOnly": true, +"type": "string" +}, +"warning": { +"description": "[Output Only] Informational warning message.", +"properties": { +"code": { +"description": "[Output Only] A warning code, if applicable. For example, Compute\nEngine returns NO_RESULTS_ON_PAGE if there\nare no results in the response.", +"enum": [ +"CLEANUP_FAILED", +"DEPRECATED_RESOURCE_USED", +"DEPRECATED_TYPE_USED", +"DISK_SIZE_LARGER_THAN_IMAGE_SIZE", +"EXPERIMENTAL_TYPE_USED", +"EXTERNAL_API_WARNING", +"FIELD_VALUE_OVERRIDEN", +"INJECTED_KERNELS_DEPRECATED", +"INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", +"LARGE_DEPLOYMENT_WARNING", +"LIST_OVERHEAD_QUOTA_EXCEED", +"MISSING_TYPE_DEPENDENCY", +"NEXT_HOP_ADDRESS_NOT_ASSIGNED", +"NEXT_HOP_CANNOT_IP_FORWARD", +"NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", +"NEXT_HOP_INSTANCE_NOT_FOUND", +"NEXT_HOP_INSTANCE_NOT_ON_NETWORK", +"NEXT_HOP_NOT_RUNNING", +"NOT_CRITICAL_ERROR", +"NO_RESULTS_ON_PAGE", +"PARTIAL_SUCCESS", +"QUOTA_INFO_UNAVAILABLE", +"REQUIRED_TOS_AGREEMENT", +"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", +"RESOURCE_NOT_DELETED", +"SCHEMA_VALIDATION_IGNORED", +"SINGLE_INSTANCE_PROPERTY_TEMPLATE", +"UNDECLARED_PROPERTIES", +"UNREACHABLE" +], +"enumDeprecated": [ +false, +false, +false, +false, +false, +false, +true, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false +], +"enumDescriptions": [ +"Warning about failed cleanup of transient changes made by a failed\noperation.", +"A link to a deprecated resource was created.", +"When deploying and at least one of the resources has a type marked as\ndeprecated", +"The user created a boot disk that is larger than image size.", +"When deploying and at least one of the resources has a type marked as\nexperimental", +"Warning that is present in an external api call", +"Warning that value of a field has been overridden.\nDeprecated unused field.", +"The operation involved use of an injected kernel, which is deprecated.", +"A WEIGHTED_MAGLEV backend service is associated with a health check that is\nnot of type HTTP/HTTPS/HTTP2.", +"When deploying a deployment with a exceedingly large number of resources", +"Resource can't be retrieved due to list overhead quota exceed\nwhich captures the amount of resources filtered out by\nuser-defined list filter.", +"A resource depends on a missing type", +"The route's nextHopIp address is not assigned to an instance on the\nnetwork.", +"The route's next hop instance cannot ip forward.", +"The route's nextHopInstance URL refers to an instance that does not have an\nipv6 interface on the same network as the route.", +"The route's nextHopInstance URL refers to an instance that does not exist.", +"The route's nextHopInstance URL refers to an instance that is not on the\nsame network as the route.", +"The route's next hop instance does not have a status of RUNNING.", +"Error which is not critical. We decided to continue the process despite\nthe mentioned error.", +"No results are present on a particular list page.", +"Success is reported, but some results may be missing due to errors", +"Quota information is not available to client requests (e.g:\nregions.list).", +"The user attempted to use a resource that requires a TOS they have not\naccepted.", +"Warning that a resource is in use.", +"One or more of the resources set to auto-delete could not be deleted\nbecause they were in use.", +"When a resource schema validation is ignored.", +"Instance template used in instance group manager is valid as such, but\nits application does not make a lot of sense, because it allows only\nsingle instance in instance group.", +"When undeclared properties in the schema are present", +"A given scope cannot be reached." +], +"type": "string" +}, +"data": { +"description": "[Output Only] Metadata about this warning in key:\nvalue format. For example:\n\n\"data\": [\n {\n \"key\": \"scope\",\n \"value\": \"zones/us-east1-d\"\n }", +"items": { +"properties": { +"key": { +"description": "[Output Only] A key that provides more detail on the warning being\nreturned. For example, for warnings where there are no results in a list\nrequest for a particular zone, this key might be scope and\nthe key value might be the zone name. Other examples might be a key\nindicating a deprecated resource and a suggested replacement, or a\nwarning about invalid network settings (for example, if an instance\nattempts to perform IP forwarding but is not enabled for IP forwarding).", +"type": "string" +}, +"value": { +"description": "[Output Only] A warning data value corresponding to the key.", +"type": "string" +} +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "[Output Only] A human-readable description of the warning code.", +"type": "string" +} +}, +"type": "object" +} +}, +"type": "object" +}, +"BackendServiceLocalityLoadBalancingPolicyConfig": { +"description": "Container for either a built-in LB policy supported by gRPC or Envoy or\na custom one implemented by the end user.", +"id": "BackendServiceLocalityLoadBalancingPolicyConfig", +"properties": { +"customPolicy": { +"$ref": "BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicy" +}, +"policy": { +"$ref": "BackendServiceLocalityLoadBalancingPolicyConfigPolicy" +} +}, +"type": "object" +}, +"BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicy": { +"description": "The configuration for a custom policy implemented by the user and\ndeployed with the client.", +"id": "BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicy", +"properties": { +"data": { +"description": "An optional, arbitrary JSON object with configuration data, understood\nby a locally installed custom policy implementation.", +"type": "string" +}, +"name": { +"description": "Identifies the custom policy.\n\nThe value should match the name of a custom implementation registered\non the gRPC clients. It should follow protocol buffer message naming\nconventions and include the full path (for example,\nmyorg.CustomLbPolicy). The maximum length is 256 characters.\n\nDo not specify the same custom policy more than once for a\nbackend. If you do, the configuration is rejected.\n\nFor an example of how to use this field, seeUse\na custom policy.", +"type": "string" +} +}, +"type": "object" +}, +"BackendServiceLocalityLoadBalancingPolicyConfigPolicy": { +"description": "The configuration for a built-in load balancing policy.", +"id": "BackendServiceLocalityLoadBalancingPolicyConfigPolicy", +"properties": { +"name": { +"description": "The name of a locality load-balancing policy. Valid values include\nROUND_ROBIN and, for Java clients, LEAST_REQUEST. For information\nabout these values, see the description of localityLbPolicy.\n\nDo not specify the same policy more than once for a\nbackend. If you do, the configuration is rejected.", +"enum": [ +"INVALID_LB_POLICY", +"LEAST_REQUEST", +"MAGLEV", +"ORIGINAL_DESTINATION", +"RANDOM", +"RING_HASH", +"ROUND_ROBIN", +"WEIGHTED_GCP_RENDEZVOUS", +"WEIGHTED_MAGLEV", +"WEIGHTED_ROUND_ROBIN" +], +"enumDescriptions": [ +"", +"An O(1) algorithm which selects two random healthy hosts and\npicks the host which has fewer active requests.", +"This algorithm implements consistent hashing to backends. Maglev can be\nused as a drop in replacement for the ring hash load balancer. Maglev is\nnot as stable as ring hash but has faster table lookup build times and\nhost selection times. For more information about Maglev, seeMaglev:\nA Fast and Reliable Software Network Load Balancer.", +"Backend host is selected based on the client connection metadata, i.e.,\nconnections are opened to the same address as the destination address of\nthe incoming connection before the connection was redirected to the load\nbalancer.", +"The load balancer selects a random healthy host.", +"The ring/modulo hash load balancer implements consistent hashing to\nbackends. The algorithm has the property that the addition/removal\nof a host from a set of N hosts only affects 1/N of the requests.", +"This is a simple policy in which each healthy backend is selected\nin round robin order. This is the default.", +"Per-instance weighted Load Balancing via health check reported weights.\nIn internal passthrough network load balancing, it is weighted\nrendezvous hashing.\nThis option is only supported in internal passthrough network load\nbalancing.", +"Per-instance weighted Load Balancing via health check reported weights.\nIf set, the Backend Service must configure a non legacy HTTP-based Health\nCheck, and health check replies are expected to contain non-standard HTTP\nresponse header field X-Load-Balancing-Endpoint-Weight to specify the\nper-instance weights.\nIf set, Load Balancing is weighted based on the\nper-instance weights reported in the last processed health check replies,\nas long as every instance either reported a valid weight or had\nUNAVAILABLE_WEIGHT. Otherwise, Load Balancing remains equal-weight.\nThis option is only supported in Network Load Balancing.", +"Per-endpoint weighted round-robin Load Balancing using weights computed\nfrom Backend reported Custom Metrics. If set, the Backend Service\nresponses are expected to contain non-standard HTTP response header field\nEndpoint-Load-Metrics. The reported metrics\nto use for computing the weights are specified via the\ncustomMetrics fields." +], +"type": "string" +} +}, +"type": "object" +}, +"BackendServiceLogConfig": { +"description": "The available logging options for the load balancer traffic served by this\nbackend service.", +"id": "BackendServiceLogConfig", +"properties": { +"enable": { +"description": "Denotes whether to enable logging for the load balancer\ntraffic served by this backend service. The default value is false.", +"type": "boolean" +}, +"optionalFields": { +"description": "This field can only be specified if logging is enabled for this backend\nservice and \"logConfig.optionalMode\" was set to CUSTOM. Contains a list\nof optional fields you want to include in the logs. For example:\nserverInstance, serverGkeDetails.cluster,\nserverGkeDetails.pod.podNamespace", +"items": { +"type": "string" +}, +"type": "array" +}, +"optionalMode": { +"description": "This field can only be specified if logging is enabled for this backend\nservice. Configures whether all, none or a subset of optional fields\nshould be added to the reported logs. One of [INCLUDE_ALL_OPTIONAL,\nEXCLUDE_ALL_OPTIONAL, CUSTOM]. Default is EXCLUDE_ALL_OPTIONAL.", +"enum": [ +"CUSTOM", +"EXCLUDE_ALL_OPTIONAL", +"INCLUDE_ALL_OPTIONAL" +], +"enumDescriptions": [ +"A subset of optional fields.", +"None optional fields.", +"All optional fields." +], +"type": "string" +}, +"sampleRate": { +"description": "This field can only be specified if logging is enabled for this backend\nservice. The value of the field must be in [0, 1]. This configures the\nsampling rate of requests to the load balancer where 1.0 means all logged\nrequests are reported and 0.0 means no logged requests are reported. The\ndefault value is 1.0.", +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"BackendServiceNetworkPassThroughLbTrafficPolicy": { +"id": "BackendServiceNetworkPassThroughLbTrafficPolicy", +"properties": { +"zonalAffinity": { +"$ref": "BackendServiceNetworkPassThroughLbTrafficPolicyZonalAffinity", +"description": "When configured, new connections are load balanced across healthy backend\nendpoints in the local zone." +} +}, +"type": "object" +}, +"BackendServiceNetworkPassThroughLbTrafficPolicyZonalAffinity": { +"id": "BackendServiceNetworkPassThroughLbTrafficPolicyZonalAffinity", +"properties": { +"spillover": { +"description": "This field indicates whether zonal affinity is enabled or not. The\npossible values are:\n \n - ZONAL_AFFINITY_DISABLED: Default Value. Zonal Affinity\n is disabled. The load balancer distributes new connections to all\n healthy backend endpoints across all zones.\n - ZONAL_AFFINITY_STAY_WITHIN_ZONE: Zonal Affinity is\n enabled. The load balancer distributes new connections to all healthy\n backend endpoints in the local zone only. If there are no healthy\n backend endpoints in the local zone, the load balancer distributes\n new connections to all backend endpoints in the local zone.\n - ZONAL_AFFINITY_SPILL_CROSS_ZONE: Zonal Affinity is\n enabled. The load balancer distributes new connections to all healthy\n backend endpoints in the local zone only. If there aren't enough\n healthy backend endpoints in the local zone, the load balancer\n distributes new connections to all healthy backend endpoints across all\n zones.", +"enum": [ +"ZONAL_AFFINITY_DISABLED", +"ZONAL_AFFINITY_SPILL_CROSS_ZONE", +"ZONAL_AFFINITY_STAY_WITHIN_ZONE" +], +"enumDescriptions": [ +"", +"", +"" +], +"type": "string" +}, +"spilloverRatio": { +"description": "The value of the field must be in [0, 1]. When the ratio of the count\nof healthy backend endpoints in a zone to the count of backend\nendpoints in that same zone is equal to or above this threshold, the\nload balancer distributes new connections to all healthy endpoints in\nthe local zone only. When the ratio of the count of healthy backend\nendpoints in a zone to the count of backend endpoints in that same\nzone is below this threshold, the load balancer distributes all new\nconnections to all healthy endpoints across all zones.", +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"BackendServiceOrchestrationInfo": { +"description": "A message containing information about the resource or system that manages\nthe backend service.", +"id": "BackendServiceOrchestrationInfo", +"properties": { +"resourceUri": { +"description": "The resource URI of the resource or system that manages the backend\nservice.", +"type": "string" +} +}, +"type": "object" +}, +"BackendServiceParams": { +"description": "Additional Backend Service parameters.", +"id": "BackendServiceParams", +"properties": { +"resourceManagerTags": { +"additionalProperties": { +"type": "string" +}, +"description": "Tag keys/values directly bound to this resource.\nTag keys and values have the same definition as resource\nmanager tags. The field is allowed for INSERT\nonly. The keys/values to set on the resource should be specified in\neither ID { : } or Namespaced format\n{ : }.\nFor example the following are valid inputs:\n* {\"tagKeys/333\" : \"tagValues/444\", \"tagKeys/123\" : \"tagValues/456\"}\n* {\"123/environment\" : \"production\", \"345/abc\" : \"xyz\"}\nNote:\n* Invalid combinations of ID & namespaced format is not supported. For\n instance: {\"123/environment\" : \"tagValues/444\"} is invalid.", +"type": "object" +} +}, +"type": "object" +}, +"BackendServiceReference": { +"id": "BackendServiceReference", +"properties": { +"backendService": { +"type": "string" +} +}, +"type": "object" +}, +"BackendServiceTlsSettings": { +"id": "BackendServiceTlsSettings", +"properties": { +"authenticationConfig": { +"description": "Reference to the BackendAuthenticationConfig resource from the\nnetworksecurity.googleapis.com namespace. Can be used in authenticating\nTLS connections to the backend, as specified by the authenticationMode\nfield. Can only be specified if authenticationMode is not NONE.", +"type": "string" +}, +"identity": { +"description": "Assigns the Managed Identity for the BackendService Workload.\n\n\nUse this property to configure the load balancer back-end to use\ncertificates and roots of trust provisioned by the Managed Workload\nIdentity system. \n\n The `identity` property is the\nfully-specified SPIFFE ID to use in the SVID presented by the Load\nBalancer Workload. \n\n The SPIFFE ID must be a resource starting with the\n`trustDomain` property value, followed by the path to the Managed\nWorkload Identity. \n\n Supported SPIFFE ID format: \n \n - ///ns//sa/\n\n\nThe Trust Domain within the Managed Identity must refer to a valid\nWorkload Identity Pool. The TrustConfig and CertificateIssuanceConfig\nwill be inherited from the Workload Identity Pool. \n\n Restrictions: \n \n - If you set the `identity` property, you cannot manually set\n the following fields: \n - tlsSettings.sni\n - tlsSettings.subjectAltNames\n - tlsSettings.authenticationConfig\n \n\nWhen defining a `identity` for a RegionBackendServices, the\ncorresponding Workload Identity Pool must have a ca_pool\nconfigured in the same region. \n\n The system will set up a read-onlytlsSettings.authenticationConfig for the Managed Identity.", +"type": "string" +}, +"sni": { +"description": "Server Name Indication - see RFC3546 section 3.1. If set, the load\nbalancer sends this string as the SNI hostname in the TLS connection to\nthe backend, and requires that this string match a Subject Alternative\nName (SAN) in the backend's server certificate. With a Regional Internet\nNEG backend, if the SNI is specified here, the load balancer uses it\nregardless of whether the Regional Internet NEG is specified with FQDN or\nIP address and port. When both sni and subjectAltNames[] are specified,\nthe load balancer matches the backend certificate's SAN only to\nsubjectAltNames[].", +"type": "string" +}, +"subjectAltNames": { +"description": "A list of Subject Alternative Names (SANs) that the Load Balancer\nverifies during a TLS handshake with the backend. When the server\npresents its X.509 certificate to the Load Balancer, the Load Balancer\ninspects the certificate's SAN field, and requires that at least one SAN\nmatch one of the subjectAltNames in the list. This field is limited to 5\nentries. When both sni and subjectAltNames[] are specified, the load\nbalancer matches the backend certificate's SAN only to subjectAltNames[].", +"items": { +"$ref": "BackendServiceTlsSettingsSubjectAltName" +}, +"type": "array" +} +}, +"type": "object" +}, +"BackendServiceTlsSettingsSubjectAltName": { +"description": "A Subject Alternative Name that the load balancer matches against the SAN\nfield in the TLS certificate provided by the backend, specified as either\na DNS name or a URI, in accordance with RFC 5280 4.2.1.6", +"id": "BackendServiceTlsSettingsSubjectAltName", +"properties": { +"dnsName": { +"description": "The SAN specified as a DNS Name.", +"type": "string" +}, +"uniformResourceIdentifier": { +"description": "The SAN specified as a URI.", +"type": "string" +} +}, +"type": "object" +}, +"BackendServiceUsedBy": { +"id": "BackendServiceUsedBy", +"properties": { +"reference": { +"description": "Output only. [Output Only] Server-defined URL for resources referencing given\nBackendService like UrlMaps, TargetTcpProxies, TargetSslProxies\nand ForwardingRule.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"BackendServicesGetEffectiveSecurityPoliciesResponse": { +"id": "BackendServicesGetEffectiveSecurityPoliciesResponse", +"properties": { +"securityPolicies": { +"description": "Effective security policies for the backend service.", +"items": { +"$ref": "SecurityPolicy" +}, +"type": "array" +} +}, +"type": "object" +}, +"BackendServicesScopedList": { +"id": "BackendServicesScopedList", +"properties": { +"backendServices": { +"description": "A list of BackendServices contained in this scope.", +"items": { +"$ref": "BackendService" +}, +"type": "array" +}, +"warning": { +"description": "Informational warning which replaces the list of\nbackend services when the list is empty.", +"properties": { +"code": { +"description": "[Output Only] A warning code, if applicable. For example, Compute\nEngine returns NO_RESULTS_ON_PAGE if there\nare no results in the response.", +"enum": [ +"CLEANUP_FAILED", +"DEPRECATED_RESOURCE_USED", +"DEPRECATED_TYPE_USED", +"DISK_SIZE_LARGER_THAN_IMAGE_SIZE", +"EXPERIMENTAL_TYPE_USED", +"EXTERNAL_API_WARNING", +"FIELD_VALUE_OVERRIDEN", +"INJECTED_KERNELS_DEPRECATED", +"INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", +"LARGE_DEPLOYMENT_WARNING", +"LIST_OVERHEAD_QUOTA_EXCEED", +"MISSING_TYPE_DEPENDENCY", +"NEXT_HOP_ADDRESS_NOT_ASSIGNED", +"NEXT_HOP_CANNOT_IP_FORWARD", +"NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", +"NEXT_HOP_INSTANCE_NOT_FOUND", +"NEXT_HOP_INSTANCE_NOT_ON_NETWORK", +"NEXT_HOP_NOT_RUNNING", +"NOT_CRITICAL_ERROR", +"NO_RESULTS_ON_PAGE", +"PARTIAL_SUCCESS", +"QUOTA_INFO_UNAVAILABLE", +"REQUIRED_TOS_AGREEMENT", +"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", +"RESOURCE_NOT_DELETED", +"SCHEMA_VALIDATION_IGNORED", +"SINGLE_INSTANCE_PROPERTY_TEMPLATE", +"UNDECLARED_PROPERTIES", +"UNREACHABLE" +], +"enumDeprecated": [ +false, +false, +false, +false, +false, +false, +true, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false +], +"enumDescriptions": [ +"Warning about failed cleanup of transient changes made by a failed\noperation.", +"A link to a deprecated resource was created.", +"When deploying and at least one of the resources has a type marked as\ndeprecated", +"The user created a boot disk that is larger than image size.", +"When deploying and at least one of the resources has a type marked as\nexperimental", +"Warning that is present in an external api call", +"Warning that value of a field has been overridden.\nDeprecated unused field.", +"The operation involved use of an injected kernel, which is deprecated.", +"A WEIGHTED_MAGLEV backend service is associated with a health check that is\nnot of type HTTP/HTTPS/HTTP2.", +"When deploying a deployment with a exceedingly large number of resources", +"Resource can't be retrieved due to list overhead quota exceed\nwhich captures the amount of resources filtered out by\nuser-defined list filter.", +"A resource depends on a missing type", +"The route's nextHopIp address is not assigned to an instance on the\nnetwork.", +"The route's next hop instance cannot ip forward.", +"The route's nextHopInstance URL refers to an instance that does not have an\nipv6 interface on the same network as the route.", +"The route's nextHopInstance URL refers to an instance that does not exist.", +"The route's nextHopInstance URL refers to an instance that is not on the\nsame network as the route.", +"The route's next hop instance does not have a status of RUNNING.", +"Error which is not critical. We decided to continue the process despite\nthe mentioned error.", +"No results are present on a particular list page.", +"Success is reported, but some results may be missing due to errors", +"Quota information is not available to client requests (e.g:\nregions.list).", +"The user attempted to use a resource that requires a TOS they have not\naccepted.", +"Warning that a resource is in use.", +"One or more of the resources set to auto-delete could not be deleted\nbecause they were in use.", +"When a resource schema validation is ignored.", +"Instance template used in instance group manager is valid as such, but\nits application does not make a lot of sense, because it allows only\nsingle instance in instance group.", +"When undeclared properties in the schema are present", +"A given scope cannot be reached." +], +"type": "string" +}, +"data": { +"description": "[Output Only] Metadata about this warning in key:\nvalue format. For example:\n\n\"data\": [\n {\n \"key\": \"scope\",\n \"value\": \"zones/us-east1-d\"\n }", +"items": { +"properties": { +"key": { +"description": "[Output Only] A key that provides more detail on the warning being\nreturned. For example, for warnings where there are no results in a list\nrequest for a particular zone, this key might be scope and\nthe key value might be the zone name. Other examples might be a key\nindicating a deprecated resource and a suggested replacement, or a\nwarning about invalid network settings (for example, if an instance\nattempts to perform IP forwarding but is not enabled for IP forwarding).", +"type": "string" +}, +"value": { +"description": "[Output Only] A warning data value corresponding to the key.", +"type": "string" +} +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "[Output Only] A human-readable description of the warning code.", +"type": "string" +} +}, +"type": "object" +} +}, +"type": "object" +}, +"BfdPacket": { +"id": "BfdPacket", +"properties": { +"authenticationPresent": { +"description": "The Authentication Present bit of the BFD packet. This is specified in\nsection 4.1 ofRFC5880", +"type": "boolean" +}, +"controlPlaneIndependent": { +"description": "The Control Plane Independent bit of the BFD packet. This is specified in\nsection 4.1 ofRFC5880", +"type": "boolean" +}, +"demand": { +"description": "The demand bit of the BFD packet. This is specified in section 4.1 ofRFC5880", +"type": "boolean" +}, +"diagnostic": { +"description": "The diagnostic code specifies the local system's reason for the last change\nin session state. This allows remote systems to determine the reason that\nthe previous session failed, for example. These diagnostic codes are\nspecified in section 4.1 ofRFC5880", +"enum": [ +"ADMINISTRATIVELY_DOWN", +"CONCATENATED_PATH_DOWN", +"CONTROL_DETECTION_TIME_EXPIRED", +"DIAGNOSTIC_UNSPECIFIED", +"ECHO_FUNCTION_FAILED", +"FORWARDING_PLANE_RESET", +"NEIGHBOR_SIGNALED_SESSION_DOWN", +"NO_DIAGNOSTIC", +"PATH_DOWN", +"REVERSE_CONCATENATED_PATH_DOWN" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"", +"", +"", +"", +"" +], +"type": "string" +}, +"final": { +"description": "The Final bit of the BFD packet. This is specified in section 4.1 ofRFC5880", +"type": "boolean" +}, +"length": { +"description": "The length of the BFD Control packet in bytes. This is specified in section\n4.1 ofRFC5880", +"format": "uint32", +"type": "integer" +}, +"minEchoRxIntervalMs": { +"description": "The Required Min Echo RX Interval value in the BFD packet. This is\nspecified in section 4.1 ofRFC5880", +"format": "uint32", +"type": "integer" +}, +"minRxIntervalMs": { +"description": "The Required Min RX Interval value in the BFD packet. This is specified in\nsection 4.1 ofRFC5880", +"format": "uint32", +"type": "integer" +}, +"minTxIntervalMs": { +"description": "The Desired Min TX Interval value in the BFD packet. This is specified in\nsection 4.1 ofRFC5880", +"format": "uint32", +"type": "integer" +}, +"multiplier": { +"description": "The detection time multiplier of the BFD packet. This is specified in\nsection 4.1 ofRFC5880", +"format": "uint32", +"type": "integer" +}, +"multipoint": { +"description": "The multipoint bit of the BFD packet. This is specified in section 4.1 ofRFC5880", +"type": "boolean" +}, +"myDiscriminator": { +"description": "The My Discriminator value in the BFD packet. This is specified in section\n4.1 ofRFC5880", +"format": "uint32", +"type": "integer" +}, +"poll": { +"description": "The Poll bit of the BFD packet. This is specified in section 4.1 ofRFC5880", +"type": "boolean" +}, +"state": { +"description": "The current BFD session state as seen by the transmitting system. These\nstates are specified in section 4.1 ofRFC5880", +"enum": [ +"ADMIN_DOWN", +"DOWN", +"INIT", +"STATE_UNSPECIFIED", +"UP" +], +"enumDescriptions": [ +"", +"", +"", +"", +"" +], +"type": "string" +}, +"version": { +"description": "The version number of the BFD protocol, as specified in section 4.1 ofRFC5880.", +"format": "uint32", +"type": "integer" +}, +"yourDiscriminator": { +"description": "The Your Discriminator value in the BFD packet. This is specified in\nsection 4.1 ofRFC5880", +"format": "uint32", +"type": "integer" +} +}, +"type": "object" +}, +"BfdStatus": { +"description": "Next free: 15", +"id": "BfdStatus", +"properties": { +"bfdSessionInitializationMode": { +"description": "The BFD session initialization mode for this BGP peer.\nIf set to ACTIVE, the Cloud Router will initiate the BFD session for\nthis BGP peer. If set to PASSIVE, the Cloud Router will wait for the\npeer router to initiate the BFD session for this BGP peer. If set to\nDISABLED, BFD is disabled for this BGP peer.", +"enum": [ +"ACTIVE", +"DISABLED", +"PASSIVE" +], +"enumDescriptions": [ +"", +"", +"" +], +"type": "string" +}, +"configUpdateTimestampMicros": { +"description": "Unix timestamp of the most recent config update.", +"format": "int64", +"type": "string" +}, +"controlPacketCounts": { +"$ref": "BfdStatusPacketCounts", +"description": "Control packet counts for the current BFD session." +}, +"controlPacketIntervals": { +"description": "Inter-packet time interval statistics for control packets.", +"items": { +"$ref": "PacketIntervals" +}, +"type": "array" +}, +"localDiagnostic": { +"description": "The diagnostic code specifies the local system's reason for the last change\nin session state. This allows remote systems to determine the reason that\nthe previous session failed, for example. These diagnostic codes are\nspecified in section 4.1 ofRFC5880", +"enum": [ +"ADMINISTRATIVELY_DOWN", +"CONCATENATED_PATH_DOWN", +"CONTROL_DETECTION_TIME_EXPIRED", +"DIAGNOSTIC_UNSPECIFIED", +"ECHO_FUNCTION_FAILED", +"FORWARDING_PLANE_RESET", +"NEIGHBOR_SIGNALED_SESSION_DOWN", +"NO_DIAGNOSTIC", +"PATH_DOWN", +"REVERSE_CONCATENATED_PATH_DOWN" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"", +"", +"", +"", +"" +], +"type": "string" +}, +"localState": { +"description": "The current BFD session state as seen by the transmitting system. These\nstates are specified in section 4.1 ofRFC5880", +"enum": [ +"ADMIN_DOWN", +"DOWN", +"INIT", +"STATE_UNSPECIFIED", +"UP" +], +"enumDescriptions": [ +"", +"", +"", +"", +"" +], +"type": "string" +}, +"negotiatedLocalControlTxIntervalMs": { +"description": "Negotiated transmit interval for control packets.", +"format": "uint32", +"type": "integer" +}, +"rxPacket": { +"$ref": "BfdPacket", +"description": "The most recent Rx control packet for this BFD session." +}, +"txPacket": { +"$ref": "BfdPacket", +"description": "The most recent Tx control packet for this BFD session." +}, +"uptimeMs": { +"description": "Session uptime in milliseconds. Value will be 0 if session is not up.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"BfdStatusPacketCounts": { +"id": "BfdStatusPacketCounts", +"properties": { +"numRx": { +"description": "Number of packets received since the beginning of the current BFD\nsession.", +"format": "uint32", +"type": "integer" +}, +"numRxRejected": { +"description": "Number of packets received that were rejected because of errors since the\nbeginning of the current BFD session.", +"format": "uint32", +"type": "integer" +}, +"numRxSuccessful": { +"description": "Number of packets received that were successfully processed since the\nbeginning of the current BFD session.", +"format": "uint32", +"type": "integer" +}, +"numTx": { +"description": "Number of packets transmitted since the beginning of the current BFD\nsession.", +"format": "uint32", +"type": "integer" +} +}, +"type": "object" +}, +"BgpRoute": { +"id": "BgpRoute", +"properties": { +"asPaths": { +"description": "Output only. [Output only] AS-PATH for the route", +"items": { +"$ref": "BgpRouteAsPath" +}, +"readOnly": true, +"type": "array" +}, +"communities": { +"description": "Output only. [Output only] BGP communities in human-readable A:B format.", +"items": { +"type": "string" +}, +"readOnly": true, +"type": "array" +}, +"destination": { +"$ref": "BgpRouteNetworkLayerReachabilityInformation", +"description": "Output only. [Output only] Destination IP range for the route, in human-readable CIDR\nformat", +"readOnly": true +}, +"med": { +"description": "Output only. [Output only] BGP multi-exit discriminator", +"format": "uint32", +"readOnly": true, +"type": "integer" +}, +"origin": { +"description": "Output only. [Output only] BGP origin (EGP, IGP or INCOMPLETE)", +"enum": [ +"BGP_ORIGIN_EGP", +"BGP_ORIGIN_IGP", +"BGP_ORIGIN_INCOMPLETE" +], +"enumDescriptions": [ +"", +"", +"" +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"BgpRouteAsPath": { +"id": "BgpRouteAsPath", +"properties": { +"asns": { +"description": "Output only. [Output only] ASNs in the path segment. When type is SEQUENCE, these are\nordered.", +"items": { +"format": "int32", +"type": "integer" +}, +"readOnly": true, +"type": "array" +}, +"asns32": { +"description": "Output only. [Output only] ASNs in the path segment. This field is for better\nsupport of 32 bit ASNs as the other asns field suffers from overflow when\nthe ASN is larger. When type is SEQUENCE, these are ordered.", +"items": { +"format": "uint32", +"type": "integer" +}, +"readOnly": true, +"type": "array" +}, +"type": { +"description": "Output only. [Output only] Type of AS-PATH segment (SEQUENCE or SET)", +"enum": [ +"AS_PATH_TYPE_SEQUENCE", +"AS_PATH_TYPE_SET" +], +"enumDescriptions": [ +"", +"" +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"BgpRouteNetworkLayerReachabilityInformation": { +"description": "Network Layer Reachability Information (NLRI) for a route.", +"id": "BgpRouteNetworkLayerReachabilityInformation", +"properties": { +"pathId": { +"description": "If the BGP session supports multiple paths (RFC 7911), the path\nidentifier for this route.", +"format": "uint32", +"type": "integer" +}, +"prefix": { +"description": "Human readable CIDR notation for a prefix. E.g. 10.42.0.0/16.", +"type": "string" +} +}, +"type": "object" +}, +"Binding": { +"description": "Associates `members`, or principals, with a `role`.", +"id": "Binding", +"properties": { +"condition": { +"$ref": "Expr", +"description": "The condition that is associated with this binding.\n\nIf the condition evaluates to `true`, then this binding applies to the\ncurrent request.\n\nIf the condition evaluates to `false`, then this binding does not apply to\nthe current request. However, a different role binding might grant the same\nrole to one or more of the principals in this binding.\n\nTo learn which resources support conditions in their IAM policies, see the\n[IAM\ndocumentation](https://cloud.google.com/iam/help/conditions/resource-policies)." +}, +"members": { +"description": "Specifies the principals requesting access for a Google Cloud resource.\n`members` can have the following values:\n\n* `allUsers`: A special identifier that represents anyone who is\n on the internet; with or without a Google account.\n\n* `allAuthenticatedUsers`: A special identifier that represents anyone\n who is authenticated with a Google account or a service account.\n Does not include identities that come from external identity providers\n (IdPs) through identity federation.\n\n* `user:{emailid}`: An email address that represents a specific Google\n account. For example, `alice@example.com` .\n\n\n* `serviceAccount:{emailid}`: An email address that represents a Google\n service account. For example,\n `my-other-app@appspot.gserviceaccount.com`.\n\n* `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An\n identifier for a\n [Kubernetes service\n account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts).\n For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`.\n\n* `group:{emailid}`: An email address that represents a Google group.\n For example, `admins@example.com`.\n\n\n* `domain:{domain}`: The G Suite domain (primary) that represents all the\n users of that domain. For example, `google.com` or `example.com`.\n\n\n\n\n* `principal://iam.googleapis.com/locations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}`:\n A single identity in a workforce identity pool.\n\n* `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/group/{group_id}`:\n All workforce identities in a group.\n\n* `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/attribute.{attribute_name}/{attribute_value}`:\n All workforce identities with a specific attribute value.\n\n* `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/*`:\n All identities in a workforce identity pool.\n\n* `principal://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/subject/{subject_attribute_value}`:\n A single identity in a workload identity pool.\n\n* `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/group/{group_id}`:\n A workload identity pool group.\n\n* `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/attribute.{attribute_name}/{attribute_value}`:\n All identities in a workload identity pool with a certain attribute.\n\n* `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/*`:\n All identities in a workload identity pool.\n\n* `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique\n identifier) representing a user that has been recently deleted. For\n example, `alice@example.com?uid=123456789012345678901`. If the user is\n recovered, this value reverts to `user:{emailid}` and the recovered user\n retains the role in the binding.\n\n* `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus\n unique identifier) representing a service account that has been recently\n deleted. For example,\n `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`.\n If the service account is undeleted, this value reverts to\n `serviceAccount:{emailid}` and the undeleted service account retains the\n role in the binding.\n\n* `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique\n identifier) representing a Google group that has been recently\n deleted. For example, `admins@example.com?uid=123456789012345678901`. If\n the group is recovered, this value reverts to `group:{emailid}` and the\n recovered group retains the role in the binding.\n\n* `deleted:principal://iam.googleapis.com/locations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}`:\n Deleted single identity in a workforce identity pool. For example,\n `deleted:principal://iam.googleapis.com/locations/global/workforcePools/my-pool-id/subject/my-subject-attribute-value`.", +"items": { +"type": "string" +}, +"type": "array" +}, +"role": { +"description": "Role that is assigned to the list of `members`, or principals.\nFor example, `roles/viewer`, `roles/editor`, or `roles/owner`.\n\nFor an overview of the IAM roles and permissions, see the\n[IAM documentation](https://cloud.google.com/iam/docs/roles-overview). For\na list of the available pre-defined roles, see\n[here](https://cloud.google.com/iam/docs/understanding-roles).", +"type": "string" +} +}, +"type": "object" +}, +"BulkInsertDiskResource": { +"description": "A transient resource used in compute.disks.bulkInsert and\ncompute.regionDisks.bulkInsert. It is only used to process\nrequests and is not persisted.", +"id": "BulkInsertDiskResource", +"properties": { +"instantSnapshotGroupParameters": { +"$ref": "InstantSnapshotGroupParameters", +"description": "The parameters for the instant snapshot group." +}, +"snapshotGroupParameters": { +"$ref": "SnapshotGroupParameters", +"description": "The parameters for the snapshot group." +}, +"sourceConsistencyGroupPolicy": { +"description": "The URL of the DiskConsistencyGroupPolicy for the group of disks to clone.\nThis may be a full or partial URL, such as:\n \n \n - \n https://www.googleapis.com/compute/v1/projects/project/regions/region/resourcePolicies/resourcePolicy\n \n - \n projects/project/regions/region/resourcePolicies/resourcePolicy\n \n - \n regions/region/resourcePolicies/resourcePolicy", +"type": "string" +} +}, +"type": "object" +}, +"BulkInsertInstanceResource": { +"description": "A transient resource used in compute.instances.bulkInsert and\ncompute.regionInstances.bulkInsert . This resource is not persisted\nanywhere, it is used only for processing the requests.", +"id": "BulkInsertInstanceResource", +"properties": { +"count": { +"description": "The maximum number of instances to create.", +"format": "int64", +"type": "string" +}, +"instanceFlexibilityPolicy": { +"$ref": "InstanceFlexibilityPolicy", +"description": "A flexible specification of machine type of instances to create." +}, +"instanceProperties": { +"$ref": "InstanceProperties", +"description": "The instance properties defining the VM instances to be created. Required\nif sourceInstanceTemplate is not provided." +}, +"locationPolicy": { +"$ref": "LocationPolicy", +"description": "Policy for choosing target zone. For more information, seeCreate VMs in\nbulk." +}, +"minCount": { +"description": "The minimum number of instances to create. If no min_count is\nspecified then count is used as the default value. Ifmin_count instances cannot be created, then no instances will\nbe created and instances already created will be deleted.", +"format": "int64", +"type": "string" +}, +"namePattern": { +"description": "The string pattern used for the names of the VMs.\nEither name_pattern or per_instance_properties\nmust be set. The pattern must contain one continuous sequence of\nplaceholder hash characters (#) with each character corresponding to one\ndigit of the generated instance name. Example: a name_pattern\nof inst-#### generates instance names such asinst-0001 and inst-0002. If existing instances\nin the same project and zone have names that match the name pattern\nthen the generated instance numbers start after the biggest\nexisting number. For example, if there exists an instance with nameinst-0050, then instance names generated using the patterninst-#### begin with inst-0051. The name pattern\nplaceholder #...# can contain up to 18 characters.", +"type": "string" +}, +"perInstanceProperties": { +"additionalProperties": { +"$ref": "BulkInsertInstanceResourcePerInstanceProperties" +}, +"description": "Per-instance properties to be set on individual instances.\nKeys of this map specify requested instance names.\nCan be empty if name_pattern is used.", +"type": "object" +}, +"sourceInstanceTemplate": { +"description": "Specifies the instance template from which to create instances. You may\ncombine sourceInstanceTemplate withinstanceProperties to override specific values from an\nexisting instance template. Bulk API follows the semantics of JSON Merge\nPatch described by RFC\n7396.\n\nIt can be a full or partial URL. For example, the following are\nall valid URLs to an instance template: \n \n \n - https://www.googleapis.com/compute/v1/projects/project/global/instanceTemplates/instanceTemplate\n - projects/project/global/instanceTemplates/instanceTemplate\n - global/instanceTemplates/instanceTemplate\n\n\n\nThis field is optional.", +"type": "string" +} +}, +"type": "object" +}, +"BulkInsertInstanceResourcePerInstanceProperties": { +"description": "Per-instance properties to be set on individual instances.\nTo be extended in the future.", +"id": "BulkInsertInstanceResourcePerInstanceProperties", +"properties": { +"hostname": { +"description": "Specifies the hostname of the instance. More details in:\nhttps://cloud.google.com/compute/docs/instances/custom-hostname-vm#naming_convention", +"type": "string" +}, +"name": { +"description": "Output only. This field is only temporary. It will be removed. Do not use it.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"BulkInsertOperationStatus": { +"id": "BulkInsertOperationStatus", +"properties": { +"createdVmCount": { +"description": "[Output Only] Count of VMs successfully created so far.", +"format": "int32", +"type": "integer" +}, +"deletedVmCount": { +"description": "[Output Only] Count of VMs that got deleted during rollback.", +"format": "int32", +"type": "integer" +}, +"failedToCreateVmCount": { +"description": "[Output Only] Count of VMs that started creating but encountered an\nerror.", +"format": "int32", +"type": "integer" +}, +"status": { +"description": "[Output Only] Creation status of BulkInsert operation - information\nif the flow is rolling forward or rolling back.", +"enum": [ +"CREATING", +"DONE", +"ROLLING_BACK", +"STATUS_UNSPECIFIED" +], +"enumDescriptions": [ +"Rolling forward - creating VMs.", +"Done", +"Rolling back - cleaning up after an error.", +"" +], +"type": "string" +}, +"targetVmCount": { +"description": "[Output Only] Count of VMs originally planned to be created.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"BulkSetLabelsRequest": { +"id": "BulkSetLabelsRequest", +"properties": { +"labelFingerprint": { +"description": "The fingerprint of the previous set of labels for this resource,\nused to detect conflicts. The fingerprint is initially generated by Compute\nEngine and changes after every request to modify or update labels. You may\noptionally provide an up-to-date fingerprint hash in order to update or\nchange labels. Make a get() request to the resource to get the\nlatest fingerprint.", +"format": "byte", +"type": "string" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "The labels to set for this resource.", +"type": "object" +} +}, +"type": "object" +}, +"BulkZoneSetLabelsRequest": { +"id": "BulkZoneSetLabelsRequest", +"properties": { +"requests": { +"items": { +"$ref": "BulkSetLabelsRequest" +}, +"type": "array" +} +}, +"type": "object" +}, +"BundledLocalSsds": { +"id": "BundledLocalSsds", +"properties": { +"defaultInterface": { +"description": "The default disk interface if the interface is not specified.", +"type": "string" +}, +"partitionCount": { +"description": "The number of partitions.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"CacheInvalidationRule": { +"id": "CacheInvalidationRule", +"properties": { +"cacheTags": { +"description": "A list of cache tags used to identify cached objects.\n\n \n - Cache tags are specified when the response is first cached, by setting\n the `Cache-Tag` response header at the origin.\n - Multiple cache tags in the same invalidation request are treated as\n Boolean `OR` - for example, `tag1 OR tag2 OR tag3`.\n - If other fields are also specified, these are treated as Boolean `AND`\n with any tags.\n\n\nUp to 10 tags can be specified in a single invalidation request.", +"items": { +"type": "string" +}, +"type": "array" +}, +"host": { +"description": "If set, this invalidation rule will only apply to requests with a Host\nheader matching host.", +"type": "string" +}, +"path": { +"type": "string" +} +}, +"type": "object" +}, +"CacheKeyPolicy": { +"description": "Message containing what to include in the cache key for a request for Cloud\nCDN.", +"id": "CacheKeyPolicy", +"properties": { +"includeHost": { +"description": "If true, requests to different hosts will be cached separately.", +"type": "boolean" +}, +"includeHttpHeaders": { +"description": "Allows HTTP request headers (by name) to be used in the cache key.", +"items": { +"type": "string" +}, +"type": "array" +}, +"includeNamedCookies": { +"description": "Allows HTTP cookies (by name) to be used in the cache key.\nThe name=value pair will be used in the cache key Cloud CDN generates.", +"items": { +"type": "string" +}, +"type": "array" +}, +"includeProtocol": { +"description": "If true, http and https requests will be cached separately.", +"type": "boolean" +}, +"includeQueryString": { +"description": "If true, include query string parameters in the cache key according to\nquery_string_whitelist and query_string_blacklist. If neither is set, the\nentire query string will be included. If false, the query string will be\nexcluded from the cache key entirely.", +"type": "boolean" +}, +"queryStringBlacklist": { +"description": "Names of query string parameters to exclude in cache keys. All other\nparameters will be included. Either specify query_string_whitelist or\nquery_string_blacklist, not both. '&' and '=' will be percent encoded and\nnot treated as delimiters.", +"items": { +"type": "string" +}, +"type": "array" +}, +"queryStringWhitelist": { +"description": "Names of query string parameters to include in cache keys. All other\nparameters will be excluded. Either specify query_string_whitelist or\nquery_string_blacklist, not both. '&' and '=' will be percent encoded and\nnot treated as delimiters.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"CachePolicy": { +"description": "Message containing CachePolicy configuration for URL Map's Route Action.", +"id": "CachePolicy", +"properties": { +"cacheBypassRequestHeaderNames": { +"description": "Bypass the cache when the specified request headers are matched by name,\ne.g. Pragma or Authorization headers. Values are case-insensitive. Up to 5\nheader names can be specified. The cache is bypassed for all\ncachePolicy.cacheMode settings.", +"items": { +"type": "string" +}, +"type": "array" +}, +"cacheKeyPolicy": { +"$ref": "CachePolicyCacheKeyPolicy", +"description": "The CacheKeyPolicy for this CachePolicy." +}, +"cacheMode": { +"description": "Specifies the cache setting for all responses from this route.\nIf not specified, the default value is CACHE_ALL_STATIC.", +"enum": [ +"CACHE_ALL_STATIC", +"FORCE_CACHE_ALL", +"USE_ORIGIN_HEADERS" +], +"enumDescriptions": [ +"Automatically cache static content, including common image formats,\nmedia (video and audio), and web assets (JavaScript and CSS).\nRequests and responses that are marked as uncacheable, as well as\ndynamic content (including HTML), will not be cached.", +"Cache all content, ignoring any \"private\", \"no-store\" or \"no-cache\"\ndirectives in Cache-Control response headers.\nWarning: this may result in Cloud CDN caching private,\nper-user (user identifiable) content.", +"Requires the origin to set valid caching headers to cache content.\nResponses without these headers will not be cached at the edge, and will\nrequire a full trip to the origin on every request, potentially impacting\nperformance and increasing load on the origin server." +], +"type": "string" +}, +"clientTtl": { +"$ref": "Duration", +"description": "Specifies a separate client (e.g. browser client) maximum TTL. This is\nused to clamp the max-age (or Expires) value sent to the client. With\nFORCE_CACHE_ALL, the lesser of client_ttl and default_ttl is used for the\nresponse max-age directive, along with a \"public\" directive. For\ncacheable content in CACHE_ALL_STATIC mode, client_ttl clamps the max-age\nfrom the origin (if specified), or else sets the response max-age\ndirective to the lesser of the client_ttl and default_ttl, and also\nensures a \"public\" cache-control directive is present.\nIf a client TTL is not specified, a default value (1 hour) will be used.\nThe maximum allowed value is 31,622,400s (1 year)." +}, +"defaultTtl": { +"$ref": "Duration", +"description": "Specifies the default TTL for cached content served by this origin for\nresponses that do not have an existing valid TTL (max-age or s-maxage).\nSetting a TTL of \"0\" means \"always revalidate\".\nThe value of defaultTTL cannot be set to a value greater than that of\nmaxTTL.\nWhen the cacheMode is set to FORCE_CACHE_ALL, the defaultTTL\nwill overwrite the TTL set in all responses. The maximum allowed value is\n31,622,400s (1 year). Infrequently accessed objects may be evicted from\nthe cache before the defined TTL." +}, +"maxTtl": { +"$ref": "Duration", +"description": "Specifies the maximum allowed TTL for cached content served by this\norigin.\nCache directives that attempt to set a max-age or s-maxage higher than\nthis, or an Expires header more than maxTTL seconds in the future will\nbe capped at the value of maxTTL, as if it were the value of an\ns-maxage Cache-Control directive.\nHeaders sent to the client will not be modified.\nSetting a TTL of \"0\" means \"always revalidate\".\nThe maximum allowed value is 31,622,400s (1 year). Infrequently accessed\nobjects may be evicted from the cache before the defined TTL." +}, +"negativeCaching": { +"description": "Negative caching allows per-status code TTLs to be set, in order\nto apply fine-grained caching for common errors or redirects.\nThis can reduce the load on your origin and improve end-user\nexperience by reducing response latency.\nWhen the cache mode is set to CACHE_ALL_STATIC or USE_ORIGIN_HEADERS,\nnegative caching applies to responses with the specified response code\nthat lack any Cache-Control, Expires, or Pragma: no-cache directives.\nWhen the cache mode is set to FORCE_CACHE_ALL, negative caching applies\nto all responses with the specified response code, and override any\ncaching headers.\nBy default, Cloud CDN will apply the following default TTLs to these\nstatus codes:\nHTTP 300 (Multiple Choice), 301, 308 (Permanent Redirects): 10m\nHTTP 404 (Not Found), 410 (Gone),\n451 (Unavailable For Legal Reasons): 120s\nHTTP 405 (Method Not Found), 501 (Not Implemented): 60s.\nThese defaults can be overridden in negative_caching_policy.", +"type": "boolean" +}, +"negativeCachingPolicy": { +"description": "Sets a cache TTL for the specified HTTP status code.\nnegative_caching must be enabled to configure negative_caching_policy.\nOmitting the policy and leaving negative_caching enabled will use\nCloud CDN's default cache TTLs.\nNote that when specifying an explicit negative_caching_policy, you\nshould take care to specify a cache TTL for all response codes\nthat you wish to cache. Cloud CDN will not apply any default\nnegative caching when a policy exists.", +"items": { +"$ref": "CachePolicyNegativeCachingPolicy" +}, +"type": "array" +}, +"requestCoalescing": { +"description": "If true then Cloud CDN will combine multiple concurrent cache fill\nrequests into a small number of requests to the origin.", +"type": "boolean" +}, +"serveWhileStale": { +"$ref": "Duration", +"description": "Serve existing content from the cache (if available) when revalidating\ncontent with the origin, or when an error is encountered when refreshing\nthe cache.\nThis setting defines the default \"max-stale\" duration for any cached\nresponses that do not specify a max-stale directive. Stale responses that\nexceed the TTL configured here will not be served. The default limit\n(max-stale) is 86400s (1 day), which will allow stale content to be\nserved up to this limit beyond the max-age (or s-maxage) of a cached\nresponse.\nThe maximum allowed value is 604800 (1 week).\nSet this to zero (0) to disable serve-while-stale." +} +}, +"type": "object" +}, +"CachePolicyCacheKeyPolicy": { +"description": "Message containing what to include in the cache key for a request for Cache\nPolicy defined on Route Action.", +"id": "CachePolicyCacheKeyPolicy", +"properties": { +"excludedQueryParameters": { +"description": "Names of query string parameters to exclude in cache keys. All other\nparameters will be included. Either specify excluded_query_parameters or\nincluded_query_parameters, not both. '&' and '=' will be percent encoded\nand not treated as delimiters.\n\nNote: This field applies to routes that use backend services. Attempting\nto set it on a route that points exclusively to Backend Buckets will\nresult in a configuration error. For routes that point to a Backend\nBucket, use includedQueryParameters to define which parameters should\nbe a part of the cache key.", +"items": { +"type": "string" +}, +"type": "array" +}, +"includeHost": { +"description": "If true, requests to different hosts will be cached separately.\n\nNote: This setting is only applicable to routes that use a Backend\nService. It does not affect requests served by a Backend Bucket, as the\nhost is never included in a Backend Bucket's cache key. Attempting to set\nit on a route that points exclusively to Backend Buckets will result in a\nconfiguration error.", +"type": "boolean" +}, +"includeProtocol": { +"description": "If true, http and https requests will be cached separately.\n\nNote: This setting is only applicable to routes that use a Backend\nService. It does not affect requests served by a Backend Bucket, as the\nprotocol is never included in a Backend Bucket's cache key. Attempting to\nset on a route that points exclusively to Backend Buckets will result in\na configuration error.", +"type": "boolean" +}, +"includeQueryString": { +"description": "If true, include query string parameters in the cache key according to\nincluded_query_parameters and excluded_query_parameters. If neither is\nset, the entire query string will be included. If false, the query string\nwill be excluded from the cache key entirely.\n\nNote: This field applies to routes that use backend services. Attempting\nto set it on a route that points exclusively to Backend Buckets will\nresult in a configuration error. For routes that point to a Backend\nBucket, use includedQueryParameters to define which parameters should\nbe a part of the cache key.", +"type": "boolean" +}, +"includedCookieNames": { +"description": "Allows HTTP cookies (by name) to be used in the cache key.\nThe name=value pair will be used in the cache key Cloud CDN generates.\n\nNote: This setting is only applicable to routes that use a Backend\nService. It does not affect requests served by a Backend Bucket.\nAttempting to set it on a route that points exclusively to Backend\nBuckets will result in a configuration error. Up to 5 cookie names can be\nspecified.", +"items": { +"type": "string" +}, +"type": "array" +}, +"includedHeaderNames": { +"description": "Allows HTTP request headers (by name) to be used in the cache key.", +"items": { +"type": "string" +}, +"type": "array" +}, +"includedQueryParameters": { +"description": "Names of query string parameters to include in cache keys. All other\nparameters will be excluded. Either specify included_query_parameters or\nexcluded_query_parameters, not both. '&' and '=' will be percent encoded\nand not treated as delimiters.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"CachePolicyNegativeCachingPolicy": { +"description": "Specify CDN TTLs for response error codes.", +"id": "CachePolicyNegativeCachingPolicy", +"properties": { +"code": { +"description": "The HTTP status code to define a TTL against. Only HTTP status codes\n300, 301, 302, 307, 308, 404, 405, 410, 421, 451 and 501 can be\nspecified as values, and you cannot specify a status code more than\nonce.", +"format": "int32", +"type": "integer" +}, +"ttl": { +"$ref": "Duration", +"description": "The TTL (in seconds) for which to cache responses with the\ncorresponding status code.\nThe maximum allowed value is 1800s (30 minutes). Infrequently accessed\nobjects may be evicted from the cache before the defined TTL." +} +}, +"type": "object" +}, +"CalendarModeAdviceRequest": { +"description": "A request to recommend the best way to consume the specified resources in the\nfuture.", +"id": "CalendarModeAdviceRequest", +"properties": { +"futureResourcesSpecs": { +"additionalProperties": { +"$ref": "FutureResourcesSpec" +}, +"description": "Specification of resources to create in the future.\nThe key of the map is an arbitrary string specified by the caller.\nValue of the map is a specification of required resources and their\nconstraints. Currently only one value is allowed in this map.", +"type": "object" +} +}, +"type": "object" +}, +"CalendarModeAdviceResponse": { +"description": "A response containing the recommended way of creating the specified resources\nin the future. It contains (will contain) multiple recommendations that can\nbe analyzed by the customer and the best one can be picked.", +"id": "CalendarModeAdviceResponse", +"properties": { +"recommendations": { +"description": "Recommendations where, how and when to create the requested resources\nin order to maximize their obtainability and minimize cost.", +"items": { +"$ref": "CalendarModeRecommendation" +}, +"type": "array" +} +}, +"type": "object" +}, +"CalendarModeRecommendation": { +"description": "A single recommendation to create requested resources. Contains detailed\nrecommendations for every future resources specification specified in\nCalendarModeAdviceRequest.", +"id": "CalendarModeRecommendation", +"properties": { +"recommendationsPerSpec": { +"additionalProperties": { +"$ref": "FutureResourcesRecommendation" +}, +"description": "Recommendations for every future resource specification passed in\nCalendarModeAdviceRequest. Keys of the map correspond to keys\nspecified in the request.", +"type": "object" +} +}, +"type": "object" +}, +"CircuitBreakers": { +"description": "Settings controlling the volume of requests, connections and retries to this\nbackend service.", +"id": "CircuitBreakers", +"properties": { +"connectTimeout": { +"$ref": "Duration", +"description": "The timeout for new network connections to hosts." +}, +"maxConnections": { +"description": "The maximum number of connections to the backend service. If not specified,\nthere is no limit.\n\nNot supported when the backend service is referenced by a URL map that is\nbound to target gRPC proxy that has validateForProxyless field set to true.", +"format": "int32", +"type": "integer" +}, +"maxPendingRequests": { +"description": "The maximum number of pending requests allowed to the backend service. If\nnot specified, there is no limit.\n\nNot supported when the backend service is referenced by a URL map that is\nbound to target gRPC proxy that has validateForProxyless field set to true.", +"format": "int32", +"type": "integer" +}, +"maxRequests": { +"description": "The maximum number of parallel requests that allowed to the backend\nservice. If not specified, there is no limit.", +"format": "int32", +"type": "integer" +}, +"maxRequestsPerConnection": { +"description": "Maximum requests for a single connection to the backend service.\nThis parameter is respected by both the HTTP/1.1 and HTTP/2\nimplementations. If not specified, there is no limit. Setting this\nparameter to 1 will effectively disable keep alive.\n\nNot supported when the backend service is referenced by a URL map that is\nbound to target gRPC proxy that has validateForProxyless field set to true.", +"format": "int32", +"type": "integer" +}, +"maxRetries": { +"description": "The maximum number of parallel retries allowed to the backend cluster. If\nnot specified, the default is 1.\n\nNot supported when the backend service is referenced by a URL map that is\nbound to target gRPC proxy that has validateForProxyless field set to true.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"Commitment": { +"description": "Represents a regional resource-based commitment resource.\n\nCreating this commitment resource means that you are purchasing a\nresource-based committed use contract, with an explicit start and end time.\nYou can purchase resource-based commitments for both hardware and software\nresources. For more information, read\nResource-based committed use discounts", +"id": "Commitment", +"properties": { +"autoRenew": { +"description": "Specifies whether to automatically renew the commitment at the end of its\ncurrent term. The default value is false. If you set the field\nto true, each time your commitment reaches the end of its\nterm, Compute Engine automatically renews it for another term. You can\nupdate this field anytime before the commitment expires. For example, if\nthe commitment is set to expire at 12 AM UTC-8 on January 3, 2027, you can\nupdate this field until 11:59 PM UTC-8 on January 2, 2027.", +"type": "boolean" +}, +"category": { +"description": "The category of the commitment; specifies whether the commitment is for\nhardware or software resources. Category MACHINE specifies\nthat you are committing to hardware machine resources such asVCPU or MEMORY, listed in resources.\nCategory LICENSE specifies that you are committing to software\nlicenses, listed in licenseResources.\nNote that if you specify MACHINE commitments, then you must\nalso specify a type to indicate the machine series of the\nhardware resource that you are committing to.", +"enum": [ +"CATEGORY_UNSPECIFIED", +"LICENSE", +"MACHINE" +], +"enumDescriptions": [ +"", +"", +"" +], +"type": "string" +}, +"creationTimestamp": { +"description": "Output only. [Output Only] Creation timestamp inRFC3339\ntext format.", +"readOnly": true, +"type": "string" +}, +"customEndTimestamp": { +"description": "[Input Only] Optional, specifies the requested commitment end time inRFC3339 text format. Use this option when the desired\ncommitment's end date is later than the start date + term duration.", +"type": "string" +}, +"description": { +"description": "An optional description of the commitment. You can provide this property\nwhen you create the resource.", +"type": "string" +}, +"endTimestamp": { +"description": "Output only. [Output Only] Commitment end time inRFC3339\ntext format.", +"readOnly": true, +"type": "string" +}, +"existingReservations": { +"items": { +"type": "string" +}, +"type": "array" +}, +"id": { +"description": "Output only. [Output Only] The unique identifier for the resource. This identifier is\ndefined by the server.", +"format": "uint64", +"readOnly": true, +"type": "string" +}, +"kind": { +"default": "compute#commitment", +"description": "Output only. [Output Only] Type of the resource. Always compute#commitment\nfor commitments.", +"readOnly": true, +"type": "string" +}, +"licenseResource": { +"$ref": "LicenseResourceCommitment", +"description": "The license specification required as part of a license commitment." +}, +"mergeSourceCommitments": { +"description": "The list of source commitments that you are merging to create the new\nmerged commitment. For more information, see\nMerging commitments.", +"items": { +"type": "string" +}, +"type": "array" +}, +"name": { +"description": "Name of the commitment. You must specify a name when you purchase the\ncommitment. The name must be 1-63 characters long, and comply withRFC1035.\nSpecifically, the name must be 1-63 characters long and match the regular\nexpression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first\ncharacter must be a lowercase letter, and all following characters must\nbe a dash, lowercase letter, or digit, except the last character, which\ncannot be a dash.", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"type": "string" +}, +"plan": { +"description": "The minimum time duration that you commit to purchasing resources.\nThe plan that you choose determines the preset term length of the\ncommitment (which is 1 year or 3 years) and affects the discount rate that\nyou receive for your resources. Committing to a longer time duration\ntypically gives you a higher discount rate. The supported values for this\nfield are TWELVE_MONTH (1 year), andTHIRTY_SIX_MONTH (3 years).", +"enum": [ +"INVALID", +"THIRTY_SIX_MONTH", +"TWELVE_MONTH" +], +"enumDescriptions": [ +"", +"", +"" +], +"type": "string" +}, +"region": { +"description": "Output only. [Output Only] URL of the region where the commitment and committed\nresources are located.", +"readOnly": true, +"type": "string" +}, +"reservations": { +"description": "The list of new reservations that you want to create and attach to this\ncommitment.\n\nYou must attach reservations to your commitment if your commitment\nspecifies any GPUs or Local SSD disks. For more information, see \nAttach reservations to resource-based commitments.\n\nSpecify this property only if you want to create new\nreservations to attach. To attach existing reservations, specify theexistingReservations property instead.", +"items": { +"$ref": "Reservation" +}, +"type": "array" +}, +"resourceStatus": { +"$ref": "CommitmentResourceStatus", +"description": "Output only. [Output Only] Status information for Commitment resource.", +"readOnly": true +}, +"resources": { +"description": "The list of all the hardware resources, with their types and amounts, that\nyou want to commit to. Specify as a separate entry in the list for each\nindividual resource type.", +"items": { +"$ref": "ResourceCommitment" +}, +"type": "array" +}, +"selfLink": { +"description": "Output only. [Output Only] Server-defined URL for the resource.", +"readOnly": true, +"type": "string" +}, +"splitSourceCommitment": { +"description": "The source commitment from which you are transferring resources to create\nthe new split commitment. For more information, see \nSplit commitments.", +"type": "string" +}, +"startTimestamp": { +"description": "Output only. [Output Only] Commitment start time inRFC3339\ntext format.", +"readOnly": true, +"type": "string" +}, +"status": { +"description": "Output only. [Output Only] Status of the commitment with regards to eventual expiration\n(each commitment has an end date defined). Status can be one of the\nfollowing values: NOT_YET_ACTIVE, ACTIVE, orEXPIRED.", +"enum": [ +"ACTIVE", +"CANCELLED", +"CREATING", +"EXPIRED", +"NOT_YET_ACTIVE" +], +"enumDescriptions": [ +"", +"Deprecate CANCELED status. Will use separate status to differentiate\ncancel by mergeCud or manual cancellation.", +"", +"", +"" +], +"readOnly": true, +"type": "string" +}, +"statusMessage": { +"description": "Output only. [Output Only] An optional, human-readable explanation of the status.", +"readOnly": true, +"type": "string" +}, +"type": { +"description": "The type of commitment; specifies the\nmachine series for which you want to commit to purchasing resources.\nThe choice of machine series affects the discount rate and the eligible\nresource types.\n\n The type must be one of the following:ACCELERATOR_OPTIMIZED, ACCELERATOR_OPTIMIZED_A3,ACCELERATOR_OPTIMIZED_A3_MEGA,COMPUTE_OPTIMIZED, COMPUTE_OPTIMIZED_C2D,\n COMPUTE_OPTIMIZED_C3, COMPUTE_OPTIMIZED_C3D,COMPUTE_OPTIMIZED_H3, GENERAL_PURPOSE,GENERAL_PURPOSE_C4, GENERAL_PURPOSE_E2,GENERAL_PURPOSE_N2, GENERAL_PURPOSE_N2D,GENERAL_PURPOSE_N4, GENERAL_PURPOSE_T2D,GRAPHICS_OPTIMIZED, GRAPHICS_OPTIMIZED_G4,MEMORY_OPTIMIZED, MEMORY_OPTIMIZED_M3,MEMORY_OPTIMIZED_X4, STORAGE_OPTIMIZED_Z3. For\nexample, type MEMORY_OPTIMIZED specifies a commitment that\napplies only to eligible resources of memory optimized M1 and M2 machine\nseries. Type GENERAL_PURPOSE specifies a commitment that\napplies only to eligible resources of general purpose N1 machine series.", +"enum": [ +"ACCELERATOR_OPTIMIZED", +"ACCELERATOR_OPTIMIZED_A3", +"ACCELERATOR_OPTIMIZED_A3_MEGA", +"ACCELERATOR_OPTIMIZED_A3_ULTRA", +"ACCELERATOR_OPTIMIZED_A4", +"COMPUTE_OPTIMIZED", +"COMPUTE_OPTIMIZED_C2D", +"COMPUTE_OPTIMIZED_C3", +"COMPUTE_OPTIMIZED_C3D", +"COMPUTE_OPTIMIZED_H3", +"COMPUTE_OPTIMIZED_H4D", +"GENERAL_PURPOSE", +"GENERAL_PURPOSE_C4", +"GENERAL_PURPOSE_C4A", +"GENERAL_PURPOSE_C4D", +"GENERAL_PURPOSE_E2", +"GENERAL_PURPOSE_N2", +"GENERAL_PURPOSE_N2D", +"GENERAL_PURPOSE_N4", +"GENERAL_PURPOSE_N4A", +"GENERAL_PURPOSE_N4D", +"GENERAL_PURPOSE_T2D", +"GRAPHICS_OPTIMIZED", +"GRAPHICS_OPTIMIZED_G4", +"MEMORY_OPTIMIZED", +"MEMORY_OPTIMIZED_M3", +"MEMORY_OPTIMIZED_M4", +"MEMORY_OPTIMIZED_M4_6TB", +"MEMORY_OPTIMIZED_X4_1440_24T", +"MEMORY_OPTIMIZED_X4_16TB", +"MEMORY_OPTIMIZED_X4_1920_32T", +"MEMORY_OPTIMIZED_X4_24TB", +"MEMORY_OPTIMIZED_X4_32TB", +"MEMORY_OPTIMIZED_X4_480_6T", +"MEMORY_OPTIMIZED_X4_480_8T", +"MEMORY_OPTIMIZED_X4_960_12T", +"MEMORY_OPTIMIZED_X4_960_16T", +"STORAGE_OPTIMIZED_Z3", +"TYPE_UNSPECIFIED" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"CUD bucket for X4 machine with 1440 vCPUs and 24TB of memory.", +"", +"CUD bucket for X4 machine with 1920 vCPUs and 32TB of memory.", +"", +"", +"CUD bucket for X4 machine with 480 vCPUs and 6TB of memory.", +"CUD bucket for X4 machine with 480 vCPUs and 8TB of memory.", +"CUD bucket for X4 machine with 960 vCPUs and 12TB of memory.", +"CUD bucket for X4 machine with 960 vCPUs and 16TB of memory.", +"", +"Note for internal users: When adding a new enum Type for v1, make sure\nto also add it in the comment for the `optional Type type` definition.\nThis ensures that the public documentation displays the new enum Type." +], +"type": "string" +} +}, +"type": "object" +}, +"CommitmentAggregatedList": { +"id": "CommitmentAggregatedList", +"properties": { +"id": { +"description": "[Output Only] Unique identifier for the resource; defined by the server.", +"type": "string" +}, +"items": { +"additionalProperties": { +"$ref": "CommitmentsScopedList", +"description": "[Output Only] Name of the scope containing this set of commitments." +}, +"description": "A list of CommitmentsScopedList resources.", +"type": "object" +}, +"kind": { +"default": "compute#commitmentAggregatedList", +"description": "Output only. [Output Only] Type of resource. Alwayscompute#commitmentAggregatedList for aggregated lists of\ncommitments.", +"readOnly": true, +"type": "string" +}, +"nextPageToken": { +"description": "[Output Only] This token allows you to get the next page of results for\nlist requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for\nthe query parameter pageToken in the next list request.\nSubsequent list requests will have their own nextPageToken to\ncontinue paging through the results.", +"type": "string" +}, +"selfLink": { +"description": "Output only. [Output Only] Server-defined URL for this resource.", +"readOnly": true, +"type": "string" +}, +"unreachables": { +"description": "Output only. [Output Only] Unreachable resources.", +"items": { +"type": "string" +}, +"readOnly": true, +"type": "array" +}, +"warning": { +"description": "[Output Only] Informational warning message.", +"properties": { +"code": { +"description": "[Output Only] A warning code, if applicable. For example, Compute\nEngine returns NO_RESULTS_ON_PAGE if there\nare no results in the response.", +"enum": [ +"CLEANUP_FAILED", +"DEPRECATED_RESOURCE_USED", +"DEPRECATED_TYPE_USED", +"DISK_SIZE_LARGER_THAN_IMAGE_SIZE", +"EXPERIMENTAL_TYPE_USED", +"EXTERNAL_API_WARNING", +"FIELD_VALUE_OVERRIDEN", +"INJECTED_KERNELS_DEPRECATED", +"INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", +"LARGE_DEPLOYMENT_WARNING", +"LIST_OVERHEAD_QUOTA_EXCEED", +"MISSING_TYPE_DEPENDENCY", +"NEXT_HOP_ADDRESS_NOT_ASSIGNED", +"NEXT_HOP_CANNOT_IP_FORWARD", +"NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", +"NEXT_HOP_INSTANCE_NOT_FOUND", +"NEXT_HOP_INSTANCE_NOT_ON_NETWORK", +"NEXT_HOP_NOT_RUNNING", +"NOT_CRITICAL_ERROR", +"NO_RESULTS_ON_PAGE", +"PARTIAL_SUCCESS", +"QUOTA_INFO_UNAVAILABLE", +"REQUIRED_TOS_AGREEMENT", +"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", +"RESOURCE_NOT_DELETED", +"SCHEMA_VALIDATION_IGNORED", +"SINGLE_INSTANCE_PROPERTY_TEMPLATE", +"UNDECLARED_PROPERTIES", +"UNREACHABLE" +], +"enumDeprecated": [ +false, +false, +false, +false, +false, +false, +true, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false +], +"enumDescriptions": [ +"Warning about failed cleanup of transient changes made by a failed\noperation.", +"A link to a deprecated resource was created.", +"When deploying and at least one of the resources has a type marked as\ndeprecated", +"The user created a boot disk that is larger than image size.", +"When deploying and at least one of the resources has a type marked as\nexperimental", +"Warning that is present in an external api call", +"Warning that value of a field has been overridden.\nDeprecated unused field.", +"The operation involved use of an injected kernel, which is deprecated.", +"A WEIGHTED_MAGLEV backend service is associated with a health check that is\nnot of type HTTP/HTTPS/HTTP2.", +"When deploying a deployment with a exceedingly large number of resources", +"Resource can't be retrieved due to list overhead quota exceed\nwhich captures the amount of resources filtered out by\nuser-defined list filter.", +"A resource depends on a missing type", +"The route's nextHopIp address is not assigned to an instance on the\nnetwork.", +"The route's next hop instance cannot ip forward.", +"The route's nextHopInstance URL refers to an instance that does not have an\nipv6 interface on the same network as the route.", +"The route's nextHopInstance URL refers to an instance that does not exist.", +"The route's nextHopInstance URL refers to an instance that is not on the\nsame network as the route.", +"The route's next hop instance does not have a status of RUNNING.", +"Error which is not critical. We decided to continue the process despite\nthe mentioned error.", +"No results are present on a particular list page.", +"Success is reported, but some results may be missing due to errors", +"Quota information is not available to client requests (e.g:\nregions.list).", +"The user attempted to use a resource that requires a TOS they have not\naccepted.", +"Warning that a resource is in use.", +"One or more of the resources set to auto-delete could not be deleted\nbecause they were in use.", +"When a resource schema validation is ignored.", +"Instance template used in instance group manager is valid as such, but\nits application does not make a lot of sense, because it allows only\nsingle instance in instance group.", +"When undeclared properties in the schema are present", +"A given scope cannot be reached." +], +"type": "string" +}, +"data": { +"description": "[Output Only] Metadata about this warning in key:\nvalue format. For example:\n\n\"data\": [\n {\n \"key\": \"scope\",\n \"value\": \"zones/us-east1-d\"\n }", +"items": { +"properties": { +"key": { +"description": "[Output Only] A key that provides more detail on the warning being\nreturned. For example, for warnings where there are no results in a list\nrequest for a particular zone, this key might be scope and\nthe key value might be the zone name. Other examples might be a key\nindicating a deprecated resource and a suggested replacement, or a\nwarning about invalid network settings (for example, if an instance\nattempts to perform IP forwarding but is not enabled for IP forwarding).", +"type": "string" +}, +"value": { +"description": "[Output Only] A warning data value corresponding to the key.", +"type": "string" +} +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "[Output Only] A human-readable description of the warning code.", +"type": "string" +} +}, +"type": "object" +} +}, +"type": "object" +}, +"CommitmentList": { +"description": "Contains a list of Commitment resources.", +"id": "CommitmentList", +"properties": { +"id": { +"description": "[Output Only] Unique identifier for the resource; defined by the server.", +"type": "string" +}, +"items": { +"description": "A list of Commitment resources.", +"items": { +"$ref": "Commitment" +}, +"type": "array" +}, +"kind": { +"default": "compute#commitmentList", +"description": "Output only. [Output Only] Type of resource. Always compute#commitmentList\nfor lists of commitments.", +"readOnly": true, +"type": "string" +}, +"nextPageToken": { +"description": "[Output Only] This token allows you to get the next page of results for\nlist requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for\nthe query parameter pageToken in the next list request.\nSubsequent list requests will have their own nextPageToken to\ncontinue paging through the results.", +"type": "string" +}, +"selfLink": { +"description": "Output only. [Output Only] Server-defined URL for this resource.", +"readOnly": true, +"type": "string" +}, +"warning": { +"description": "[Output Only] Informational warning message.", +"properties": { +"code": { +"description": "[Output Only] A warning code, if applicable. For example, Compute\nEngine returns NO_RESULTS_ON_PAGE if there\nare no results in the response.", +"enum": [ +"CLEANUP_FAILED", +"DEPRECATED_RESOURCE_USED", +"DEPRECATED_TYPE_USED", +"DISK_SIZE_LARGER_THAN_IMAGE_SIZE", +"EXPERIMENTAL_TYPE_USED", +"EXTERNAL_API_WARNING", +"FIELD_VALUE_OVERRIDEN", +"INJECTED_KERNELS_DEPRECATED", +"INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", +"LARGE_DEPLOYMENT_WARNING", +"LIST_OVERHEAD_QUOTA_EXCEED", +"MISSING_TYPE_DEPENDENCY", +"NEXT_HOP_ADDRESS_NOT_ASSIGNED", +"NEXT_HOP_CANNOT_IP_FORWARD", +"NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", +"NEXT_HOP_INSTANCE_NOT_FOUND", +"NEXT_HOP_INSTANCE_NOT_ON_NETWORK", +"NEXT_HOP_NOT_RUNNING", +"NOT_CRITICAL_ERROR", +"NO_RESULTS_ON_PAGE", +"PARTIAL_SUCCESS", +"QUOTA_INFO_UNAVAILABLE", +"REQUIRED_TOS_AGREEMENT", +"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", +"RESOURCE_NOT_DELETED", +"SCHEMA_VALIDATION_IGNORED", +"SINGLE_INSTANCE_PROPERTY_TEMPLATE", +"UNDECLARED_PROPERTIES", +"UNREACHABLE" +], +"enumDeprecated": [ +false, +false, +false, +false, +false, +false, +true, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false +], +"enumDescriptions": [ +"Warning about failed cleanup of transient changes made by a failed\noperation.", +"A link to a deprecated resource was created.", +"When deploying and at least one of the resources has a type marked as\ndeprecated", +"The user created a boot disk that is larger than image size.", +"When deploying and at least one of the resources has a type marked as\nexperimental", +"Warning that is present in an external api call", +"Warning that value of a field has been overridden.\nDeprecated unused field.", +"The operation involved use of an injected kernel, which is deprecated.", +"A WEIGHTED_MAGLEV backend service is associated with a health check that is\nnot of type HTTP/HTTPS/HTTP2.", +"When deploying a deployment with a exceedingly large number of resources", +"Resource can't be retrieved due to list overhead quota exceed\nwhich captures the amount of resources filtered out by\nuser-defined list filter.", +"A resource depends on a missing type", +"The route's nextHopIp address is not assigned to an instance on the\nnetwork.", +"The route's next hop instance cannot ip forward.", +"The route's nextHopInstance URL refers to an instance that does not have an\nipv6 interface on the same network as the route.", +"The route's nextHopInstance URL refers to an instance that does not exist.", +"The route's nextHopInstance URL refers to an instance that is not on the\nsame network as the route.", +"The route's next hop instance does not have a status of RUNNING.", +"Error which is not critical. We decided to continue the process despite\nthe mentioned error.", +"No results are present on a particular list page.", +"Success is reported, but some results may be missing due to errors", +"Quota information is not available to client requests (e.g:\nregions.list).", +"The user attempted to use a resource that requires a TOS they have not\naccepted.", +"Warning that a resource is in use.", +"One or more of the resources set to auto-delete could not be deleted\nbecause they were in use.", +"When a resource schema validation is ignored.", +"Instance template used in instance group manager is valid as such, but\nits application does not make a lot of sense, because it allows only\nsingle instance in instance group.", +"When undeclared properties in the schema are present", +"A given scope cannot be reached." +], +"type": "string" +}, +"data": { +"description": "[Output Only] Metadata about this warning in key:\nvalue format. For example:\n\n\"data\": [\n {\n \"key\": \"scope\",\n \"value\": \"zones/us-east1-d\"\n }", +"items": { +"properties": { +"key": { +"description": "[Output Only] A key that provides more detail on the warning being\nreturned. For example, for warnings where there are no results in a list\nrequest for a particular zone, this key might be scope and\nthe key value might be the zone name. Other examples might be a key\nindicating a deprecated resource and a suggested replacement, or a\nwarning about invalid network settings (for example, if an instance\nattempts to perform IP forwarding but is not enabled for IP forwarding).", +"type": "string" +}, +"value": { +"description": "[Output Only] A warning data value corresponding to the key.", +"type": "string" +} +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "[Output Only] A human-readable description of the warning code.", +"type": "string" +} +}, +"type": "object" +} +}, +"type": "object" +}, +"CommitmentResourceStatus": { +"description": "[Output Only] Contains output only fields.", +"id": "CommitmentResourceStatus", +"properties": { +"customTermEligibilityEndTimestamp": { +"description": "Output only. [Output Only] Indicates the end time of customer's eligibility to send\ncustom term requests in RFC3339 text format. Term extension requests that\n(not the end time in the request) after this time will be rejected.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"CommitmentsScopedList": { +"id": "CommitmentsScopedList", +"properties": { +"commitments": { +"description": "[Output Only] The list of commitments contained in this scope.", +"items": { +"$ref": "Commitment" +}, +"type": "array" +}, +"warning": { +"description": "[Output Only] Informational warning which replaces the list of commitments\nwhen the list is empty.", +"properties": { +"code": { +"description": "[Output Only] A warning code, if applicable. For example, Compute\nEngine returns NO_RESULTS_ON_PAGE if there\nare no results in the response.", +"enum": [ +"CLEANUP_FAILED", +"DEPRECATED_RESOURCE_USED", +"DEPRECATED_TYPE_USED", +"DISK_SIZE_LARGER_THAN_IMAGE_SIZE", +"EXPERIMENTAL_TYPE_USED", +"EXTERNAL_API_WARNING", +"FIELD_VALUE_OVERRIDEN", +"INJECTED_KERNELS_DEPRECATED", +"INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", +"LARGE_DEPLOYMENT_WARNING", +"LIST_OVERHEAD_QUOTA_EXCEED", +"MISSING_TYPE_DEPENDENCY", +"NEXT_HOP_ADDRESS_NOT_ASSIGNED", +"NEXT_HOP_CANNOT_IP_FORWARD", +"NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", +"NEXT_HOP_INSTANCE_NOT_FOUND", +"NEXT_HOP_INSTANCE_NOT_ON_NETWORK", +"NEXT_HOP_NOT_RUNNING", +"NOT_CRITICAL_ERROR", +"NO_RESULTS_ON_PAGE", +"PARTIAL_SUCCESS", +"QUOTA_INFO_UNAVAILABLE", +"REQUIRED_TOS_AGREEMENT", +"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", +"RESOURCE_NOT_DELETED", +"SCHEMA_VALIDATION_IGNORED", +"SINGLE_INSTANCE_PROPERTY_TEMPLATE", +"UNDECLARED_PROPERTIES", +"UNREACHABLE" +], +"enumDeprecated": [ +false, +false, +false, +false, +false, +false, +true, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false +], +"enumDescriptions": [ +"Warning about failed cleanup of transient changes made by a failed\noperation.", +"A link to a deprecated resource was created.", +"When deploying and at least one of the resources has a type marked as\ndeprecated", +"The user created a boot disk that is larger than image size.", +"When deploying and at least one of the resources has a type marked as\nexperimental", +"Warning that is present in an external api call", +"Warning that value of a field has been overridden.\nDeprecated unused field.", +"The operation involved use of an injected kernel, which is deprecated.", +"A WEIGHTED_MAGLEV backend service is associated with a health check that is\nnot of type HTTP/HTTPS/HTTP2.", +"When deploying a deployment with a exceedingly large number of resources", +"Resource can't be retrieved due to list overhead quota exceed\nwhich captures the amount of resources filtered out by\nuser-defined list filter.", +"A resource depends on a missing type", +"The route's nextHopIp address is not assigned to an instance on the\nnetwork.", +"The route's next hop instance cannot ip forward.", +"The route's nextHopInstance URL refers to an instance that does not have an\nipv6 interface on the same network as the route.", +"The route's nextHopInstance URL refers to an instance that does not exist.", +"The route's nextHopInstance URL refers to an instance that is not on the\nsame network as the route.", +"The route's next hop instance does not have a status of RUNNING.", +"Error which is not critical. We decided to continue the process despite\nthe mentioned error.", +"No results are present on a particular list page.", +"Success is reported, but some results may be missing due to errors", +"Quota information is not available to client requests (e.g:\nregions.list).", +"The user attempted to use a resource that requires a TOS they have not\naccepted.", +"Warning that a resource is in use.", +"One or more of the resources set to auto-delete could not be deleted\nbecause they were in use.", +"When a resource schema validation is ignored.", +"Instance template used in instance group manager is valid as such, but\nits application does not make a lot of sense, because it allows only\nsingle instance in instance group.", +"When undeclared properties in the schema are present", +"A given scope cannot be reached." +], +"type": "string" +}, +"data": { +"description": "[Output Only] Metadata about this warning in key:\nvalue format. For example:\n\n\"data\": [\n {\n \"key\": \"scope\",\n \"value\": \"zones/us-east1-d\"\n }", +"items": { +"properties": { +"key": { +"description": "[Output Only] A key that provides more detail on the warning being\nreturned. For example, for warnings where there are no results in a list\nrequest for a particular zone, this key might be scope and\nthe key value might be the zone name. Other examples might be a key\nindicating a deprecated resource and a suggested replacement, or a\nwarning about invalid network settings (for example, if an instance\nattempts to perform IP forwarding but is not enabled for IP forwarding).", +"type": "string" +}, +"value": { +"description": "[Output Only] A warning data value corresponding to the key.", +"type": "string" +} +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "[Output Only] A human-readable description of the warning code.", +"type": "string" +} +}, +"type": "object" +} +}, +"type": "object" +}, +"CompositeHealthCheck": { +"description": "Represents a composite health check.\n\nA composite health check resource specifies the health source resources and\nthe health destination resource to which the aggregated health result from\nthe health source resources is delivered.", +"id": "CompositeHealthCheck", +"properties": { +"creationTimestamp": { +"description": "Output only. [Output Only] Creation timestamp inRFC3339\ntext format.", +"readOnly": true, +"type": "string" +}, +"description": { +"description": "An optional description of this resource. Provide this property when you\ncreate the resource.", +"type": "string" +}, +"fingerprint": { +"description": "Fingerprint of this resource. A hash of the contents stored in this object.\nThis field is used in optimistic locking. This field will be ignored when\ninserting a CompositeHealthCheck. An up-to-date fingerprint\nmust be provided in order to patch the CompositeHealthCheck; Otherwise,\nthe request will fail with error 412 conditionNotMet. To see\nthe latest fingerprint, make a get() request to retrieve the\nCompositeHealthCheck.", +"format": "byte", +"type": "string" +}, +"healthDestination": { +"description": "URL to the destination resource. Must be set. Must be aForwardingRule. The ForwardingRule must have\nload balancing scheme INTERNAL orINTERNAL_MANAGED and must be regional and in the same region\nas the CompositeHealthCheck (cross-region deployment forINTERNAL_MANAGED is not supported). Can be mutated.", +"type": "string" +}, +"healthSources": { +"description": "URLs to the HealthSource resources whose results are AND'ed.\nI.e. he aggregated result is is HEALTHY only if all sources\nare HEALTHY. Must have at least 1. Must not have more than 10.\nMust be regional and in the same region as theCompositeHealthCheck. Can be mutated.", +"items": { +"type": "string" +}, +"type": "array" +}, +"id": { +"description": "Output only. [Output Only] A unique identifier for this resource type. The server\ngenerates this identifier.", +"format": "uint64", +"readOnly": true, +"type": "string" +}, +"kind": { +"default": "compute#compositeHealthCheck", +"description": "Output only. [Output Only] Type of the resource. Alwayscompute#compositeHealthCheck for composite health checks.", +"readOnly": true, +"type": "string" +}, +"name": { +"description": "Name of the resource. Provided by the client when the resource is created.\nThe name must be 1-63 characters long, and comply withRFC1035.\nSpecifically, the name must be 1-63 characters long and match the regular\nexpression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first\ncharacter must be a lowercase letter, and all following characters must\nbe a dash, lowercase letter, or digit, except the last character, which\ncannot be a dash.", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"type": "string" +}, +"region": { +"description": "Output only. [Output Only] URL of the region where the composite health check resides.\nThis field applies only to the regional resource. You must specify this\nfield as part of the HTTP request URL. It is not settable as a field in\nthe request body.", +"readOnly": true, +"type": "string" +}, +"selfLink": { +"description": "Output only. [Output Only] Server-defined URL for the resource.", +"readOnly": true, +"type": "string" +}, +"selfLinkWithId": { +"description": "Output only. [Output Only] Server-defined URL with id for the resource.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"CompositeHealthCheckAggregatedList": { +"description": "Contains a list of CompositeHealthChecksScopedList.", +"id": "CompositeHealthCheckAggregatedList", +"properties": { +"id": { +"description": "[Output Only] Unique identifier for the resource; defined by the server.", +"type": "string" +}, +"items": { +"additionalProperties": { +"$ref": "CompositeHealthChecksScopedList", +"description": "Name of the scope containing this set of CompositeHealthChecks." +}, +"description": "A list of CompositeHealthChecksScopedList resources.", +"type": "object" +}, +"kind": { +"default": "compute#compositeHealthCheckAggregatedList", +"description": "Output only. Type of resource.", +"readOnly": true, +"type": "string" +}, +"nextPageToken": { +"description": "[Output Only] This token allows you to get the next page of results for\nlist requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for\nthe query parameter pageToken in the next list request.\nSubsequent list requests will have their own nextPageToken to\ncontinue paging through the results.", +"type": "string" +}, +"selfLink": { +"description": "Output only. [Output Only] Server-defined URL for this resource.", +"readOnly": true, +"type": "string" +}, +"unreachables": { +"description": "Output only. [Output Only] Unreachable resources.", +"items": { +"type": "string" +}, +"readOnly": true, +"type": "array" +}, +"warning": { +"description": "[Output Only] Informational warning message.", +"properties": { +"code": { +"description": "[Output Only] A warning code, if applicable. For example, Compute\nEngine returns NO_RESULTS_ON_PAGE if there\nare no results in the response.", +"enum": [ +"CLEANUP_FAILED", +"DEPRECATED_RESOURCE_USED", +"DEPRECATED_TYPE_USED", +"DISK_SIZE_LARGER_THAN_IMAGE_SIZE", +"EXPERIMENTAL_TYPE_USED", +"EXTERNAL_API_WARNING", +"FIELD_VALUE_OVERRIDEN", +"INJECTED_KERNELS_DEPRECATED", +"INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", +"LARGE_DEPLOYMENT_WARNING", +"LIST_OVERHEAD_QUOTA_EXCEED", +"MISSING_TYPE_DEPENDENCY", +"NEXT_HOP_ADDRESS_NOT_ASSIGNED", +"NEXT_HOP_CANNOT_IP_FORWARD", +"NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", +"NEXT_HOP_INSTANCE_NOT_FOUND", +"NEXT_HOP_INSTANCE_NOT_ON_NETWORK", +"NEXT_HOP_NOT_RUNNING", +"NOT_CRITICAL_ERROR", +"NO_RESULTS_ON_PAGE", +"PARTIAL_SUCCESS", +"QUOTA_INFO_UNAVAILABLE", +"REQUIRED_TOS_AGREEMENT", +"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", +"RESOURCE_NOT_DELETED", +"SCHEMA_VALIDATION_IGNORED", +"SINGLE_INSTANCE_PROPERTY_TEMPLATE", +"UNDECLARED_PROPERTIES", +"UNREACHABLE" +], +"enumDeprecated": [ +false, +false, +false, +false, +false, +false, +true, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false +], +"enumDescriptions": [ +"Warning about failed cleanup of transient changes made by a failed\noperation.", +"A link to a deprecated resource was created.", +"When deploying and at least one of the resources has a type marked as\ndeprecated", +"The user created a boot disk that is larger than image size.", +"When deploying and at least one of the resources has a type marked as\nexperimental", +"Warning that is present in an external api call", +"Warning that value of a field has been overridden.\nDeprecated unused field.", +"The operation involved use of an injected kernel, which is deprecated.", +"A WEIGHTED_MAGLEV backend service is associated with a health check that is\nnot of type HTTP/HTTPS/HTTP2.", +"When deploying a deployment with a exceedingly large number of resources", +"Resource can't be retrieved due to list overhead quota exceed\nwhich captures the amount of resources filtered out by\nuser-defined list filter.", +"A resource depends on a missing type", +"The route's nextHopIp address is not assigned to an instance on the\nnetwork.", +"The route's next hop instance cannot ip forward.", +"The route's nextHopInstance URL refers to an instance that does not have an\nipv6 interface on the same network as the route.", +"The route's nextHopInstance URL refers to an instance that does not exist.", +"The route's nextHopInstance URL refers to an instance that is not on the\nsame network as the route.", +"The route's next hop instance does not have a status of RUNNING.", +"Error which is not critical. We decided to continue the process despite\nthe mentioned error.", +"No results are present on a particular list page.", +"Success is reported, but some results may be missing due to errors", +"Quota information is not available to client requests (e.g:\nregions.list).", +"The user attempted to use a resource that requires a TOS they have not\naccepted.", +"Warning that a resource is in use.", +"One or more of the resources set to auto-delete could not be deleted\nbecause they were in use.", +"When a resource schema validation is ignored.", +"Instance template used in instance group manager is valid as such, but\nits application does not make a lot of sense, because it allows only\nsingle instance in instance group.", +"When undeclared properties in the schema are present", +"A given scope cannot be reached." +], +"type": "string" +}, +"data": { +"description": "[Output Only] Metadata about this warning in key:\nvalue format. For example:\n\n\"data\": [\n {\n \"key\": \"scope\",\n \"value\": \"zones/us-east1-d\"\n }", +"items": { +"properties": { +"key": { +"description": "[Output Only] A key that provides more detail on the warning being\nreturned. For example, for warnings where there are no results in a list\nrequest for a particular zone, this key might be scope and\nthe key value might be the zone name. Other examples might be a key\nindicating a deprecated resource and a suggested replacement, or a\nwarning about invalid network settings (for example, if an instance\nattempts to perform IP forwarding but is not enabled for IP forwarding).", +"type": "string" +}, +"value": { +"description": "[Output Only] A warning data value corresponding to the key.", +"type": "string" +} +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "[Output Only] A human-readable description of the warning code.", +"type": "string" +} +}, +"type": "object" +} +}, +"type": "object" +}, +"CompositeHealthCheckList": { +"id": "CompositeHealthCheckList", +"properties": { +"id": { +"description": "[Output Only] Unique identifier for the resource; defined by the server.", +"type": "string" +}, +"items": { +"description": "A list of CompositeHealthCheck resources.", +"items": { +"$ref": "CompositeHealthCheck" +}, +"type": "array" +}, +"kind": { +"default": "compute#compositeHealthCheckList", +"description": "Output only. [Output Only] Type of the resource. Alwayscompute#compositeHealthCheck for composite health checks.", +"readOnly": true, +"type": "string" +}, +"nextPageToken": { +"description": "[Output Only] This token allows you to get the next page of results for\nlist requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for\nthe query parameter pageToken in the next list request.\nSubsequent list requests will have their own nextPageToken to\ncontinue paging through the results.", +"type": "string" +}, +"selfLink": { +"description": "[Output Only] Server-defined URL for this resource.", +"type": "string" +}, +"warning": { +"description": "[Output Only] Informational warning message.", +"properties": { +"code": { +"description": "[Output Only] A warning code, if applicable. For example, Compute\nEngine returns NO_RESULTS_ON_PAGE if there\nare no results in the response.", +"enum": [ +"CLEANUP_FAILED", +"DEPRECATED_RESOURCE_USED", +"DEPRECATED_TYPE_USED", +"DISK_SIZE_LARGER_THAN_IMAGE_SIZE", +"EXPERIMENTAL_TYPE_USED", +"EXTERNAL_API_WARNING", +"FIELD_VALUE_OVERRIDEN", +"INJECTED_KERNELS_DEPRECATED", +"INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", +"LARGE_DEPLOYMENT_WARNING", +"LIST_OVERHEAD_QUOTA_EXCEED", +"MISSING_TYPE_DEPENDENCY", +"NEXT_HOP_ADDRESS_NOT_ASSIGNED", +"NEXT_HOP_CANNOT_IP_FORWARD", +"NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", +"NEXT_HOP_INSTANCE_NOT_FOUND", +"NEXT_HOP_INSTANCE_NOT_ON_NETWORK", +"NEXT_HOP_NOT_RUNNING", +"NOT_CRITICAL_ERROR", +"NO_RESULTS_ON_PAGE", +"PARTIAL_SUCCESS", +"QUOTA_INFO_UNAVAILABLE", +"REQUIRED_TOS_AGREEMENT", +"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", +"RESOURCE_NOT_DELETED", +"SCHEMA_VALIDATION_IGNORED", +"SINGLE_INSTANCE_PROPERTY_TEMPLATE", +"UNDECLARED_PROPERTIES", +"UNREACHABLE" +], +"enumDeprecated": [ +false, +false, +false, +false, +false, +false, +true, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false +], +"enumDescriptions": [ +"Warning about failed cleanup of transient changes made by a failed\noperation.", +"A link to a deprecated resource was created.", +"When deploying and at least one of the resources has a type marked as\ndeprecated", +"The user created a boot disk that is larger than image size.", +"When deploying and at least one of the resources has a type marked as\nexperimental", +"Warning that is present in an external api call", +"Warning that value of a field has been overridden.\nDeprecated unused field.", +"The operation involved use of an injected kernel, which is deprecated.", +"A WEIGHTED_MAGLEV backend service is associated with a health check that is\nnot of type HTTP/HTTPS/HTTP2.", +"When deploying a deployment with a exceedingly large number of resources", +"Resource can't be retrieved due to list overhead quota exceed\nwhich captures the amount of resources filtered out by\nuser-defined list filter.", +"A resource depends on a missing type", +"The route's nextHopIp address is not assigned to an instance on the\nnetwork.", +"The route's next hop instance cannot ip forward.", +"The route's nextHopInstance URL refers to an instance that does not have an\nipv6 interface on the same network as the route.", +"The route's nextHopInstance URL refers to an instance that does not exist.", +"The route's nextHopInstance URL refers to an instance that is not on the\nsame network as the route.", +"The route's next hop instance does not have a status of RUNNING.", +"Error which is not critical. We decided to continue the process despite\nthe mentioned error.", +"No results are present on a particular list page.", +"Success is reported, but some results may be missing due to errors", +"Quota information is not available to client requests (e.g:\nregions.list).", +"The user attempted to use a resource that requires a TOS they have not\naccepted.", +"Warning that a resource is in use.", +"One or more of the resources set to auto-delete could not be deleted\nbecause they were in use.", +"When a resource schema validation is ignored.", +"Instance template used in instance group manager is valid as such, but\nits application does not make a lot of sense, because it allows only\nsingle instance in instance group.", +"When undeclared properties in the schema are present", +"A given scope cannot be reached." +], +"type": "string" +}, +"data": { +"description": "[Output Only] Metadata about this warning in key:\nvalue format. For example:\n\n\"data\": [\n {\n \"key\": \"scope\",\n \"value\": \"zones/us-east1-d\"\n }", +"items": { +"properties": { +"key": { +"description": "[Output Only] A key that provides more detail on the warning being\nreturned. For example, for warnings where there are no results in a list\nrequest for a particular zone, this key might be scope and\nthe key value might be the zone name. Other examples might be a key\nindicating a deprecated resource and a suggested replacement, or a\nwarning about invalid network settings (for example, if an instance\nattempts to perform IP forwarding but is not enabled for IP forwarding).", +"type": "string" +}, +"value": { +"description": "[Output Only] A warning data value corresponding to the key.", +"type": "string" +} +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "[Output Only] A human-readable description of the warning code.", +"type": "string" +} +}, +"type": "object" +} +}, +"type": "object" +}, +"CompositeHealthChecksScopedList": { +"id": "CompositeHealthChecksScopedList", +"properties": { +"compositeHealthChecks": { +"description": "A list of CompositeHealthChecks contained in this scope.", +"items": { +"$ref": "CompositeHealthCheck" +}, +"type": "array" +}, +"warning": { +"description": "Informational warning which replaces the list of composite health checks\nwhen the list is empty.", +"properties": { +"code": { +"description": "[Output Only] A warning code, if applicable. For example, Compute\nEngine returns NO_RESULTS_ON_PAGE if there\nare no results in the response.", +"enum": [ +"CLEANUP_FAILED", +"DEPRECATED_RESOURCE_USED", +"DEPRECATED_TYPE_USED", +"DISK_SIZE_LARGER_THAN_IMAGE_SIZE", +"EXPERIMENTAL_TYPE_USED", +"EXTERNAL_API_WARNING", +"FIELD_VALUE_OVERRIDEN", +"INJECTED_KERNELS_DEPRECATED", +"INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", +"LARGE_DEPLOYMENT_WARNING", +"LIST_OVERHEAD_QUOTA_EXCEED", +"MISSING_TYPE_DEPENDENCY", +"NEXT_HOP_ADDRESS_NOT_ASSIGNED", +"NEXT_HOP_CANNOT_IP_FORWARD", +"NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", +"NEXT_HOP_INSTANCE_NOT_FOUND", +"NEXT_HOP_INSTANCE_NOT_ON_NETWORK", +"NEXT_HOP_NOT_RUNNING", +"NOT_CRITICAL_ERROR", +"NO_RESULTS_ON_PAGE", +"PARTIAL_SUCCESS", +"QUOTA_INFO_UNAVAILABLE", +"REQUIRED_TOS_AGREEMENT", +"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", +"RESOURCE_NOT_DELETED", +"SCHEMA_VALIDATION_IGNORED", +"SINGLE_INSTANCE_PROPERTY_TEMPLATE", +"UNDECLARED_PROPERTIES", +"UNREACHABLE" +], +"enumDeprecated": [ +false, +false, +false, +false, +false, +false, +true, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false +], +"enumDescriptions": [ +"Warning about failed cleanup of transient changes made by a failed\noperation.", +"A link to a deprecated resource was created.", +"When deploying and at least one of the resources has a type marked as\ndeprecated", +"The user created a boot disk that is larger than image size.", +"When deploying and at least one of the resources has a type marked as\nexperimental", +"Warning that is present in an external api call", +"Warning that value of a field has been overridden.\nDeprecated unused field.", +"The operation involved use of an injected kernel, which is deprecated.", +"A WEIGHTED_MAGLEV backend service is associated with a health check that is\nnot of type HTTP/HTTPS/HTTP2.", +"When deploying a deployment with a exceedingly large number of resources", +"Resource can't be retrieved due to list overhead quota exceed\nwhich captures the amount of resources filtered out by\nuser-defined list filter.", +"A resource depends on a missing type", +"The route's nextHopIp address is not assigned to an instance on the\nnetwork.", +"The route's next hop instance cannot ip forward.", +"The route's nextHopInstance URL refers to an instance that does not have an\nipv6 interface on the same network as the route.", +"The route's nextHopInstance URL refers to an instance that does not exist.", +"The route's nextHopInstance URL refers to an instance that is not on the\nsame network as the route.", +"The route's next hop instance does not have a status of RUNNING.", +"Error which is not critical. We decided to continue the process despite\nthe mentioned error.", +"No results are present on a particular list page.", +"Success is reported, but some results may be missing due to errors", +"Quota information is not available to client requests (e.g:\nregions.list).", +"The user attempted to use a resource that requires a TOS they have not\naccepted.", +"Warning that a resource is in use.", +"One or more of the resources set to auto-delete could not be deleted\nbecause they were in use.", +"When a resource schema validation is ignored.", +"Instance template used in instance group manager is valid as such, but\nits application does not make a lot of sense, because it allows only\nsingle instance in instance group.", +"When undeclared properties in the schema are present", +"A given scope cannot be reached." +], +"type": "string" +}, +"data": { +"description": "[Output Only] Metadata about this warning in key:\nvalue format. For example:\n\n\"data\": [\n {\n \"key\": \"scope\",\n \"value\": \"zones/us-east1-d\"\n }", +"items": { +"properties": { +"key": { +"description": "[Output Only] A key that provides more detail on the warning being\nreturned. For example, for warnings where there are no results in a list\nrequest for a particular zone, this key might be scope and\nthe key value might be the zone name. Other examples might be a key\nindicating a deprecated resource and a suggested replacement, or a\nwarning about invalid network settings (for example, if an instance\nattempts to perform IP forwarding but is not enabled for IP forwarding).", +"type": "string" +}, +"value": { +"description": "[Output Only] A warning data value corresponding to the key.", +"type": "string" +} +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "[Output Only] A human-readable description of the warning code.", +"type": "string" +} +}, +"type": "object" +} +}, +"type": "object" +}, +"ConfidentialInstanceConfig": { +"description": "A set of Confidential Instance options.", +"id": "ConfidentialInstanceConfig", +"properties": { +"confidentialInstanceType": { +"description": "Defines the type of technology used by the confidential instance.", +"enum": [ +"CONFIDENTIAL_INSTANCE_TYPE_UNSPECIFIED", +"SEV", +"SEV_SNP", +"TDX" +], +"enumDescriptions": [ +"No type specified. Do not use this value.", +"AMD Secure Encrypted Virtualization.", +"AMD Secure Encrypted Virtualization - Secure Nested Paging.", +"Intel Trust Domain eXtension." +], +"type": "string" +}, +"enableConfidentialCompute": { +"description": "Defines whether the instance should have confidential compute enabled.", +"type": "boolean" +} +}, +"type": "object" +}, +"ConnectionDraining": { +"description": "Message containing connection draining configuration.", +"id": "ConnectionDraining", +"properties": { +"drainingTimeoutSec": { +"description": "Configures a duration timeout for existing requests on a removed backend\ninstance. For supported load balancers and protocols, as described inEnabling\nconnection draining.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"ConsistentHashLoadBalancerSettings": { +"description": "This message defines settings for a consistent hash style load balancer.", +"id": "ConsistentHashLoadBalancerSettings", +"properties": { +"httpCookie": { +"$ref": "ConsistentHashLoadBalancerSettingsHttpCookie", +"description": "Hash is based on HTTP Cookie. This field describes a HTTP cookie that will\nbe used as the hash key for the consistent hash load balancer. If the\ncookie is not present, it will be generated. This field is applicable if\nthe sessionAffinity is set to HTTP_COOKIE.\n\nNot supported when the backend service is referenced by a URL map that is\nbound to target gRPC proxy that has validateForProxyless field set to true." +}, +"httpHeaderName": { +"description": "The hash based on the value of the specified header field. This field is\napplicable if the sessionAffinity is set toHEADER_FIELD.", +"type": "string" +}, +"minimumRingSize": { +"description": "The minimum number of virtual nodes to use for the hash ring. Defaults to\n1024. Larger ring sizes result in more granular load distributions. If the\nnumber of hosts in the load balancing pool is larger than the ring size,\neach host will be assigned a single virtual node.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"ConsistentHashLoadBalancerSettingsHttpCookie": { +"description": "The information about the HTTP Cookie on which the hash function is based\nfor load balancing policies that use a consistent hash.", +"id": "ConsistentHashLoadBalancerSettingsHttpCookie", +"properties": { +"name": { +"description": "Name of the cookie.", +"type": "string" +}, +"path": { +"description": "Path to set for the cookie.", +"type": "string" +}, +"ttl": { +"$ref": "Duration", +"description": "Lifetime of the cookie." +} +}, +"type": "object" +}, +"CorsPolicy": { +"description": "The specification for allowing client-side cross-origin requests. For more\ninformation about the W3C recommendation for cross-origin resource sharing\n(CORS), see Fetch API Living\nStandard.", +"id": "CorsPolicy", +"properties": { +"allowCredentials": { +"description": "In response to a preflight request, setting this to true\nindicates that\nthe actual request can include user credentials. This field translates to\nthe Access-Control-Allow-Credentials header.\n\nDefault is false.", +"type": "boolean" +}, +"allowHeaders": { +"description": "Specifies the content for the Access-Control-Allow-Headers\nheader.", +"items": { +"type": "string" +}, +"type": "array" +}, +"allowMethods": { +"description": "Specifies the content for the Access-Control-Allow-Methods\nheader.", +"items": { +"type": "string" +}, +"type": "array" +}, +"allowOriginRegexes": { +"description": "Specifies a regular expression that matches allowed origins. For\nmore information, see regular expression syntax. \n\nAn origin is allowed if it matches either an item inallowOrigins or an item inallowOriginRegexes.\n\nRegular expressions can only be used when the loadBalancingScheme is\nset to INTERNAL_SELF_MANAGED.", +"items": { +"type": "string" +}, +"type": "array" +}, +"allowOrigins": { +"description": "Specifies the list of origins that is allowed to do CORS requests.\n\nAn origin is allowed if it matches either an item inallowOrigins or an item inallowOriginRegexes.", +"items": { +"type": "string" +}, +"type": "array" +}, +"disabled": { +"description": "If true, disables the CORS policy.\nThe default value is false, which indicates that the CORS\npolicy is in effect.", +"type": "boolean" +}, +"exposeHeaders": { +"description": "Specifies the content for the Access-Control-Expose-Headers\nheader.", +"items": { +"type": "string" +}, +"type": "array" +}, +"maxAge": { +"description": "Specifies how long results of a preflight request can be cached in\nseconds. This field translates to the Access-Control-Max-Age\nheader.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"CrossSiteNetwork": { +"description": "A resource that represents a cross-site network.\n\nYou can use cross-site networks to connect your on-premises networks to\neach other through Interconnect connections.", +"id": "CrossSiteNetwork", +"properties": { +"creationTimestamp": { +"description": "Output only. [Output Only] Creation timestamp inRFC3339\ntext format.", +"readOnly": true, +"type": "string" +}, +"description": { +"description": "An optional description of the cross-site network.", +"type": "string" +}, +"id": { +"description": "Output only. [Output Only] The unique identifier for the resource type. The server\ngenerates this identifier.", +"format": "uint64", +"readOnly": true, +"type": "string" +}, +"kind": { +"default": "compute#crossSiteNetwork", +"description": "Output only. [Output Only] Type of the resource. Alwayscompute#crossSiteNetwork for cross-site networks.", +"readOnly": true, +"type": "string" +}, +"name": { +"description": "Name of the resource. Provided by the client when the resource is created.\nThe name must be 1-63 characters long, and comply withRFC1035.\nSpecifically, the name must be 1-63 characters long and match the regular\nexpression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first\ncharacter must be a lowercase letter, and all following characters must\nbe a dash, lowercase letter, or digit, except the last character, which\ncannot be a dash.", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"type": "string" +}, +"selfLink": { +"description": "Output only. [Output Only] Server-defined URL for the resource.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"CrossSiteNetworkList": { +"description": "Response to the list request that contains a list of cross-site networks.", +"id": "CrossSiteNetworkList", +"properties": { +"etag": { +"type": "string" +}, +"id": { +"description": "[Output Only] Unique identifier for the resource; defined by the server.", +"type": "string" +}, +"items": { +"description": "A list of CrossSiteNetwork resources.", +"items": { +"$ref": "CrossSiteNetwork" +}, +"type": "array" +}, +"kind": { +"default": "compute#crossSiteNetwork", +"description": "Output only. [Output Only] Type of the resource. Alwayscompute#crossSiteNetwork for cross-site networks.", +"readOnly": true, +"type": "string" +}, +"nextPageToken": { +"description": "[Output Only] This token allows you to get the next page of results for\nlist requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for\nthe query parameter pageToken in the next list request.\nSubsequent list requests will have their own nextPageToken to\ncontinue paging through the results.", +"type": "string" +}, +"selfLink": { +"description": "[Output Only] Server-defined URL for this resource.", +"type": "string" +}, +"unreachables": { +"description": "Output only. [Output Only] Unreachable resources.\nend_interface: MixerListResponseWithEtagBuilder", +"items": { +"type": "string" +}, +"readOnly": true, +"type": "array" +}, +"warning": { +"description": "[Output Only] Informational warning message.", +"properties": { +"code": { +"description": "[Output Only] A warning code, if applicable. For example, Compute\nEngine returns NO_RESULTS_ON_PAGE if there\nare no results in the response.", +"enum": [ +"CLEANUP_FAILED", +"DEPRECATED_RESOURCE_USED", +"DEPRECATED_TYPE_USED", +"DISK_SIZE_LARGER_THAN_IMAGE_SIZE", +"EXPERIMENTAL_TYPE_USED", +"EXTERNAL_API_WARNING", +"FIELD_VALUE_OVERRIDEN", +"INJECTED_KERNELS_DEPRECATED", +"INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", +"LARGE_DEPLOYMENT_WARNING", +"LIST_OVERHEAD_QUOTA_EXCEED", +"MISSING_TYPE_DEPENDENCY", +"NEXT_HOP_ADDRESS_NOT_ASSIGNED", +"NEXT_HOP_CANNOT_IP_FORWARD", +"NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", +"NEXT_HOP_INSTANCE_NOT_FOUND", +"NEXT_HOP_INSTANCE_NOT_ON_NETWORK", +"NEXT_HOP_NOT_RUNNING", +"NOT_CRITICAL_ERROR", +"NO_RESULTS_ON_PAGE", +"PARTIAL_SUCCESS", +"QUOTA_INFO_UNAVAILABLE", +"REQUIRED_TOS_AGREEMENT", +"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", +"RESOURCE_NOT_DELETED", +"SCHEMA_VALIDATION_IGNORED", +"SINGLE_INSTANCE_PROPERTY_TEMPLATE", +"UNDECLARED_PROPERTIES", +"UNREACHABLE" +], +"enumDeprecated": [ +false, +false, +false, +false, +false, +false, +true, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false +], +"enumDescriptions": [ +"Warning about failed cleanup of transient changes made by a failed\noperation.", +"A link to a deprecated resource was created.", +"When deploying and at least one of the resources has a type marked as\ndeprecated", +"The user created a boot disk that is larger than image size.", +"When deploying and at least one of the resources has a type marked as\nexperimental", +"Warning that is present in an external api call", +"Warning that value of a field has been overridden.\nDeprecated unused field.", +"The operation involved use of an injected kernel, which is deprecated.", +"A WEIGHTED_MAGLEV backend service is associated with a health check that is\nnot of type HTTP/HTTPS/HTTP2.", +"When deploying a deployment with a exceedingly large number of resources", +"Resource can't be retrieved due to list overhead quota exceed\nwhich captures the amount of resources filtered out by\nuser-defined list filter.", +"A resource depends on a missing type", +"The route's nextHopIp address is not assigned to an instance on the\nnetwork.", +"The route's next hop instance cannot ip forward.", +"The route's nextHopInstance URL refers to an instance that does not have an\nipv6 interface on the same network as the route.", +"The route's nextHopInstance URL refers to an instance that does not exist.", +"The route's nextHopInstance URL refers to an instance that is not on the\nsame network as the route.", +"The route's next hop instance does not have a status of RUNNING.", +"Error which is not critical. We decided to continue the process despite\nthe mentioned error.", +"No results are present on a particular list page.", +"Success is reported, but some results may be missing due to errors", +"Quota information is not available to client requests (e.g:\nregions.list).", +"The user attempted to use a resource that requires a TOS they have not\naccepted.", +"Warning that a resource is in use.", +"One or more of the resources set to auto-delete could not be deleted\nbecause they were in use.", +"When a resource schema validation is ignored.", +"Instance template used in instance group manager is valid as such, but\nits application does not make a lot of sense, because it allows only\nsingle instance in instance group.", +"When undeclared properties in the schema are present", +"A given scope cannot be reached." +], +"type": "string" +}, +"data": { +"description": "[Output Only] Metadata about this warning in key:\nvalue format. For example:\n\n\"data\": [\n {\n \"key\": \"scope\",\n \"value\": \"zones/us-east1-d\"\n }", +"items": { +"properties": { +"key": { +"description": "[Output Only] A key that provides more detail on the warning being\nreturned. For example, for warnings where there are no results in a list\nrequest for a particular zone, this key might be scope and\nthe key value might be the zone name. Other examples might be a key\nindicating a deprecated resource and a suggested replacement, or a\nwarning about invalid network settings (for example, if an instance\nattempts to perform IP forwarding but is not enabled for IP forwarding).", +"type": "string" +}, +"value": { +"description": "[Output Only] A warning data value corresponding to the key.", +"type": "string" +} +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "[Output Only] A human-readable description of the warning code.", +"type": "string" +} +}, +"type": "object" +} +}, +"type": "object" +}, +"CustomErrorResponsePolicy": { +"description": "Specifies the custom error response policy that must be applied when the\nbackend service or backend bucket responds with an error.", +"id": "CustomErrorResponsePolicy", +"properties": { +"errorResponseRules": { +"description": "Specifies rules for returning error responses.\n\nIn a given policy, if you specify rules for both a range of error codes\nas well as rules for specific error codes then rules with specific error\ncodes have a higher priority. For example, assume that you configure a rule\nfor 401 (Un-authorized) code, and another for all 4 series\nerror codes (4XX). If the backend service returns a401, then the rule for 401 will be applied.\nHowever if the backend service returns a 403, the rule for4xx takes effect.", +"items": { +"$ref": "CustomErrorResponsePolicyCustomErrorResponseRule" +}, +"type": "array" +}, +"errorService": { +"description": "The full or partial URL to the BackendBucket resource that\ncontains the custom error content. Examples are:\n \n \n - https://www.googleapis.com/compute/v1/projects/project/global/backendBuckets/myBackendBucket\n - compute/v1/projects/project/global/backendBuckets/myBackendBucket\n - global/backendBuckets/myBackendBucket\n\nIf errorService is not specified at lower levels likepathMatcher, pathRule and routeRule,\nan errorService specified at a higher level in theUrlMap will be used. IfUrlMap.defaultCustomErrorResponsePolicy contains one or moreerrorResponseRules[], it must specifyerrorService. \n\nIf load balancer cannot reach\nthe backendBucket, a simple Not Found Error will\nbe returned, with the original response code (oroverrideResponseCode if configured).\n\nerrorService is not supported for internal or regionalHTTP/HTTPS load balancers.", +"type": "string" +} +}, +"type": "object" +}, +"CustomErrorResponsePolicyCustomErrorResponseRule": { +"description": "Specifies the mapping between the response code that will be returned along\nwith the custom error content and the response code returned by the backend\nservice.", +"id": "CustomErrorResponsePolicyCustomErrorResponseRule", +"properties": { +"matchResponseCodes": { +"description": "Valid values include:\n \n \n - A number between 400 and 599: For example\n 401 or 503, in which case the load balancer\n applies the policy if the error code exactly matches this value.\n - 5xx: Load Balancer will apply the policy if the\n backend service responds with any response code in the range of\n 500 to 599. \n - 4xx: Load\n Balancer will apply the policy if the backend service responds with any\n response code in the range of 400 to\n 499.\n\nValues must be unique within matchResponseCodes and across allerrorResponseRules ofCustomErrorResponsePolicy.", +"items": { +"type": "string" +}, +"type": "array" +}, +"overrideResponseCode": { +"description": "The HTTP status code returned with the response containing the custom\nerror content. If overrideResponseCode is not supplied, the\nsame response code returned by the original backend bucket or backend\nservice is returned to the client.", +"format": "int32", +"type": "integer" +}, +"path": { +"description": "The full path to a file within backendBucket . For example:/errors/defaultError.html \n\npath must start\nwith a leading slash. path cannot have trailing slashes.\n\nIf the file is not available in backendBucket or the\nload balancer cannot reach the BackendBucket, a simpleNot Found Error is returned to the client. \n\nThe value must\nbe from 1 to 1024 characters", +"type": "string" +} +}, +"type": "object" +}, +"CustomerEncryptionKey": { +"id": "CustomerEncryptionKey", +"properties": { +"kmsKeyName": { +"description": "The name of the encryption key that is stored in Google Cloud KMS.\nFor example:\n\n\"kmsKeyName\": \"projects/kms_project_id/locations/region/keyRings/\nkey_region/cryptoKeys/key\n\nThe fully-qualifed key name may be returned for resource GET requests. For \nexample: \n\n\"kmsKeyName\": \"projects/kms_project_id/locations/region/keyRings/\nkey_region/cryptoKeys/key\n/cryptoKeyVersions/1", +"type": "string" +}, +"kmsKeyServiceAccount": { +"description": "The service account being used for the encryption request for the given KMS\nkey. If absent, the Compute Engine default service account is used.\nFor example:\n\n\"kmsKeyServiceAccount\": \"name@project_id.iam.gserviceaccount.com/", +"type": "string" +}, +"rawKey": { +"description": "Specifies a 256-bit customer-supplied\nencryption key, encoded in RFC\n4648 base64 to either encrypt or decrypt this resource. You can\nprovide either the rawKey or thersaEncryptedKey.\nFor example:\n\n\"rawKey\":\n\"SGVsbG8gZnJvbSBHb29nbGUgQ2xvdWQgUGxhdGZvcm0=\"", +"type": "string" +}, +"rsaEncryptedKey": { +"description": "Specifies an RFC 4648 base64 encoded, RSA-wrapped 2048-bit\ncustomer-supplied encryption key to either encrypt or decrypt this\nresource. You can provide either the rawKey or thersaEncryptedKey.\nFor example:\n\n\"rsaEncryptedKey\":\n\"ieCx/NcW06PcT7Ep1X6LUTc/hLvUDYyzSZPPVCVPTVEohpeHASqC8uw5TzyO9U+Fka9JFH\nz0mBibXUInrC/jEk014kCK/NPjYgEMOyssZ4ZINPKxlUh2zn1bV+MCaTICrdmuSBTWlUUiFoD\nD6PYznLwh8ZNdaheCeZ8ewEXgFQ8V+sDroLaN3Xs3MDTXQEMMoNUXMCZEIpg9Vtp9x2oe==\"\n\nThe key must meet the following requirements before you can provide it to \nCompute Engine: \n \n 1. The key is wrapped using a RSA public key certificate provided by \n Google. \n 2. After being wrapped, the key must be encoded in RFC 4648 base64 \n encoding. \n\nGets the RSA public key certificate provided by Google at: \n\n\nhttps://cloud-certs.storage.googleapis.com/google-cloud-csek-ingress.pem", +"type": "string" +}, +"sha256": { +"description": "[Output only] TheRFC\n4648 base64 encoded SHA-256 hash of the customer-supplied\nencryption key that protects this resource.", +"type": "string" +} +}, +"type": "object" +}, +"CustomerEncryptionKeyProtectedDisk": { +"id": "CustomerEncryptionKeyProtectedDisk", +"properties": { +"diskEncryptionKey": { +"$ref": "CustomerEncryptionKey", +"description": "Decrypts data associated with the disk with acustomer-supplied\nencryption key." +}, +"source": { +"description": "Specifies a valid partial or full URL to an existing Persistent Disk\nresource. This field is only applicable for persistent disks.\nFor example:\n\n\"source\": \"/compute/v1/projects/project_id/zones/zone/disks/\ndisk_name", +"type": "string" +} +}, +"type": "object" +}, +"Date": { +"description": "Represents a whole or partial calendar date, such as a birthday. The time of\nday and time zone are either specified elsewhere or are insignificant. The\ndate is relative to the Gregorian Calendar. This can represent one of the\nfollowing:\n\n* A full date, with non-zero year, month, and day values.\n* A month and day, with a zero year (for example, an anniversary).\n* A year on its own, with a zero month and a zero day.\n* A year and month, with a zero day (for example, a credit card expiration\n date).\n\nRelated types:\n\n* google.type.TimeOfDay\n* google.type.DateTime\n* google.protobuf.Timestamp", +"id": "Date", +"properties": { +"day": { +"description": "Day of a month. Must be from 1 to 31 and valid for the year and month, or 0\nto specify a year by itself or a year and month where the day isn't\nsignificant.", +"format": "int32", +"type": "integer" +}, +"month": { +"description": "Month of a year. Must be from 1 to 12, or 0 to specify a year without a\nmonth and day.", +"format": "int32", +"type": "integer" +}, +"year": { +"description": "Year of the date. Must be from 1 to 9999, or 0 to specify a date without\na year.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"DeprecationStatus": { +"description": "Deprecation status for a public resource.", +"id": "DeprecationStatus", +"properties": { +"deleted": { +"description": "An optional RFC3339 timestamp on or after which the state of this\nresource is intended to change to DELETED. This is only\ninformational and the status will not change unless the client explicitly\nchanges it.", +"type": "string" +}, +"deprecated": { +"description": "An optional RFC3339 timestamp on or after which the state of this\nresource is intended to change to DEPRECATED. This is only\ninformational and the status will not change unless the client explicitly\nchanges it.", +"type": "string" +}, +"obsolete": { +"description": "An optional RFC3339 timestamp on or after which the state of this\nresource is intended to change to OBSOLETE. This is only\ninformational and the status will not change unless the client explicitly\nchanges it.", +"type": "string" +}, +"replacement": { +"description": "The URL of the suggested replacement for a deprecated resource.\nThe suggested replacement resource must be the same kind of resource as the\ndeprecated resource.", +"type": "string" +}, +"state": { +"description": "The deprecation state of this resource. This can be ACTIVE,DEPRECATED, OBSOLETE, or DELETED.\nOperations which communicate the end of life date for an image, can useACTIVE. Operations which create a new resource using aDEPRECATED resource will return successfully, but with a\nwarning indicating the deprecated resource and recommending its\nreplacement. Operations which use OBSOLETE orDELETED resources will be rejected and result in an error.", +"enum": [ +"ACTIVE", +"DELETED", +"DEPRECATED", +"OBSOLETE" +], +"enumDescriptions": [ +"", +"", +"", +"" +], +"type": "string" +}, +"stateOverride": { +"$ref": "RolloutPolicy", +"description": "The rollout policy for this deprecation. This policy is only enforced by\nimage family views. The rollout policy restricts the zones where the\nassociated resource is considered in a deprecated state. When the rollout\npolicy does not include the user specified zone, or if the zone is rolled\nout, the associated resource is considered in a deprecated state.\n\nThe rollout policy for this deprecation is read-only, except for\nallowlisted users. This field might not be configured. To view the latest\nnon-deprecated image in a specific zone, use theimageFamilyViews.get method." +} +}, +"type": "object" +}, +"Disk": { +"description": "Represents a Persistent Disk resource.\n\nGoogle Compute Engine has two Disk resources:\n\n* [Zonal](/compute/docs/reference/rest/beta/disks)\n* [Regional](/compute/docs/reference/rest/beta/regionDisks)\n\nPersistent disks are required for running your VM instances.\nCreate both boot and non-boot (data) persistent disks. For more information,\nread Persistent Disks. For more\nstorage options, read Storage options.\n\nThe disks resource represents a zonal persistent disk.\nFor more information, readZonal persistent disks.\n\nThe regionDisks resource represents a\nregional persistent disk. For more information, read\nRegional resources.", +"id": "Disk", +"properties": { +"accessMode": { +"description": "The access mode of the disk.\n \n \n - READ_WRITE_SINGLE: The default AccessMode, means the\n disk can be attached to single instance in RW mode.\n - READ_WRITE_MANY: The AccessMode means the disk can be\n attached to multiple instances in RW mode.\n - READ_ONLY_MANY: The AccessMode means the disk can be\n attached to multiple instances in RO mode.\n\n\nThe AccessMode is only valid for Hyperdisk disk types.", +"enum": [ +"READ_ONLY_MANY", +"READ_WRITE_MANY", +"READ_WRITE_SINGLE" +], +"enumDescriptions": [ +"The AccessMode means the disk can be attached to multiple instances in RO\nmode.", +"The AccessMode means the disk can be attached to multiple instances in RW\nmode.", +"The default AccessMode, means the disk can be attached to single instance\nin RW mode." +], +"type": "string" +}, +"architecture": { +"description": "The architecture of the disk. Valid values are\nARM64 or X86_64.", +"enum": [ +"ARCHITECTURE_UNSPECIFIED", +"ARM64", +"X86_64" +], +"enumDescriptions": [ +"Default value indicating Architecture is not set.", +"Machines with architecture ARM64", +"Machines with architecture X86_64" +], +"type": "string" +}, +"asyncPrimaryDisk": { +"$ref": "DiskAsyncReplication", +"description": "Disk asynchronously replicated into this disk." +}, +"asyncSecondaryDisks": { +"additionalProperties": { +"$ref": "DiskAsyncReplicationList" +}, +"description": "Output only. [Output Only] A list of disks this disk is asynchronously replicated to.", +"readOnly": true, +"type": "object" +}, +"creationTimestamp": { +"description": "Output only. [Output Only] Creation timestamp inRFC3339\ntext format.", +"readOnly": true, +"type": "string" +}, +"description": { +"description": "An optional description of this resource. Provide this property when you\ncreate the resource.", +"type": "string" +}, +"diskEncryptionKey": { +"$ref": "CustomerEncryptionKey", +"description": "Encrypts the disk using a\ncustomer-supplied encryption key or a \ncustomer-managed encryption key.\n\nEncryption keys do not protect access to metadata of the disk.\n\nAfter you encrypt a disk with a customer-supplied key, you must provide the\nsame key if you use the disk later. For example, to create a disk snapshot,\nto create a disk image, to create a machine image, or to attach the disk to\na virtual machine.\n\nAfter you encrypt a disk with a customer-managed key, thediskEncryptionKey.kmsKeyName is set to a key *version*\nname once the disk is created. The disk is encrypted with this version of\nthe key. In the response, diskEncryptionKey.kmsKeyName appears\nin the following format:\n\n\"diskEncryptionKey.kmsKeyName\":\n\"projects/kms_project_id/locations/region/keyRings/\nkey_region/cryptoKeys/key\n/cryptoKeysVersions/version\n\nIf you do not provide an encryption key when creating the disk, then the \ndisk is encrypted using an automatically generated key and you don't need \nto provide a key to use the disk later." +}, +"enableConfidentialCompute": { +"description": "Whether this disk is using confidential compute mode.", +"type": "boolean" +}, +"eraseWindowsVssSignature": { +"description": "Specifies whether the disk restored from a source snapshot should erase\nWindows specific VSS signature.", +"type": "boolean" +}, +"guestOsFeatures": { +"description": "A list of features to enable on the guest operating system. Applicable\nonly for bootable images. Read\nEnabling guest operating system features to see a list of available\noptions.", +"items": { +"$ref": "GuestOsFeature" +}, +"type": "array" +}, +"id": { +"description": "Output only. [Output Only] The unique identifier for the resource. This identifier is\ndefined by the server.", +"format": "uint64", +"readOnly": true, +"type": "string" +}, +"interface": { +"deprecated": true, +"description": "[Deprecated] Specifies the disk interface to use for attaching this disk,\nwhich is either SCSI or NVME. The default isSCSI.", +"enum": [ +"NVME", +"SCSI", +"UNSPECIFIED" +], +"enumDescriptions": [ +"", +"", +"" +], +"type": "string" +}, +"kind": { +"default": "compute#disk", +"description": "Output only. [Output Only] Type of the resource. Always compute#disk for\ndisks.", +"readOnly": true, +"type": "string" +}, +"labelFingerprint": { +"description": "A fingerprint for the labels being applied to this disk, which is\nessentially a hash of the labels set used for optimistic locking. The\nfingerprint is initially generated by Compute Engine and changes after\nevery request to modify or update labels. You must always provide an\nup-to-date fingerprint hash in order to update or change labels,\notherwise the request will fail with error412 conditionNotMet.\n\nTo see the latest fingerprint, make a get() request to\nretrieve a disk.", +"format": "byte", +"type": "string" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Labels to apply to this disk. These can be later modified by\nthe setLabels method.", +"type": "object" +}, +"lastAttachTimestamp": { +"description": "Output only. [Output Only] Last attach timestamp inRFC3339\ntext format.", +"readOnly": true, +"type": "string" +}, +"lastDetachTimestamp": { +"description": "Output only. [Output Only] Last detach timestamp inRFC3339\ntext format.", +"readOnly": true, +"type": "string" +}, +"licenseCodes": { +"description": "Integer license codes indicating which licenses are attached to this disk.", +"items": { +"format": "int64", +"type": "string" +}, +"type": "array" +}, +"licenses": { +"description": "A list of publicly visible licenses. Reserved for Google's use.", +"items": { +"type": "string" +}, +"type": "array" +}, +"locationHint": { +"description": "An opaque location hint used to place the disk close to other resources.\nThis field is for use by internal tools that use the public API.", +"type": "string" +}, +"locked": { +"description": "Output only. [Output Only] The field indicates if the disk is created from a locked\nsource image. Attachment of a disk created from a locked source image will\ncause the following operations to become irreversibly prohibited:\n \n - R/W or R/O disk attachment to any other instance\n - Disk detachment. And the disk can only be deleted when the instance\n is deleted\n - Creation of images or snapshots\n - Disk cloning\n\n\n\nFurthermore, the instance with at least one disk with locked flag set to\ntrue will be prohibited from performing the operations below:\n \n - Further attachment of secondary disks.\n - Detachment of any disks\n - Create machine images\n - Create instance template\n - Delete the instance with --keep-disk parameter set to true for locked\n disks\n - Attach a locked disk with --auto-delete parameter set to false", +"readOnly": true, +"type": "boolean" +}, +"multiWriter": { +"description": "Indicates whether or not the disk can be read/write attached to\nmore than one instance.", +"type": "boolean" +}, +"name": { +"annotations": { +"required": [ +"compute.disks.insert" +] +}, +"description": "Name of the resource. Provided by the client when the resource is created.\nThe name must be 1-63 characters long, and comply withRFC1035.\nSpecifically, the name must be 1-63 characters long and match the regular\nexpression `[a-z]([-a-z0-9]*[a-z0-9])?`\nwhich means the first character must be a lowercase letter, and all\nfollowing characters must be a dash, lowercase letter, or digit, except\nthe last character, which cannot be a dash.", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"type": "string" +}, +"options": { +"description": "Internal use only.", +"type": "string" +}, +"params": { +"$ref": "DiskParams", +"description": "Input only. [Input Only] Additional params passed with the request, but not persisted\nas part of resource payload." +}, +"physicalBlockSizeBytes": { +"description": "Physical block size of the persistent disk, in bytes.\nIf not present in a request, a default value is used.\nThe currently supported size is 4096, other sizes may be added in\nthe future.\nIf an unsupported value is requested, the error message will list\nthe supported values for the caller's project.", +"format": "int64", +"type": "string" +}, +"provisionedIops": { +"description": "Indicates how many IOPS to provision for the disk. This sets the number\nof I/O operations per second that the disk can handle. Values must be\nbetween 10,000 and 120,000. For more details, see theExtreme persistent\ndisk documentation.", +"format": "int64", +"type": "string" +}, +"provisionedThroughput": { +"description": "Indicates how much throughput to provision for the disk. This sets the\nnumber of throughput mb per second that the disk can handle. Values must be\ngreater than or equal to 1.", +"format": "int64", +"type": "string" +}, +"region": { +"description": "Output only. [Output Only] URL of the region where the disk resides. Only applicable for\nregional resources.\nYou must specify this field as part of the HTTP request URL. It is\nnot settable as a field in the request body.", +"readOnly": true, +"type": "string" +}, +"replicaZones": { +"description": "URLs of the zones where the disk should be replicated to. Only applicable\nfor regional resources.", +"items": { +"type": "string" +}, +"type": "array" +}, +"resourcePolicies": { +"description": "Resource policies applied to this disk for automatic snapshot creations.", +"items": { +"type": "string" +}, +"type": "array" +}, +"resourceStatus": { +"$ref": "DiskResourceStatus", +"description": "Output only. [Output Only] Status information for the disk resource.", +"readOnly": true +}, +"satisfiesPzi": { +"description": "Output only. Reserved for future use.", +"readOnly": true, +"type": "boolean" +}, +"satisfiesPzs": { +"description": "Output only. [Output Only] Reserved for future use.", +"readOnly": true, +"type": "boolean" +}, +"selfLink": { +"description": "Output only. [Output Only] Server-defined fully-qualified URL for this resource.", +"readOnly": true, +"type": "string" +}, +"sizeGb": { +"description": "Size, in GB, of the persistent disk. You can specify\nthis field when creating a persistent disk using thesourceImage, sourceSnapshot, orsourceDisk parameter, or specify it alone to create an empty\npersistent disk.\n\nIf you specify this field along with a source, the value ofsizeGb must not be less than the size of the\nsource.\nAcceptable values are greater than 0.", +"format": "int64", +"type": "string" +}, +"sourceConsistencyGroupPolicy": { +"description": "Output only. [Output Only] URL of the DiskConsistencyGroupPolicy for a secondary disk\nthat was created using a consistency group.", +"readOnly": true, +"type": "string" +}, +"sourceConsistencyGroupPolicyId": { +"description": "Output only. [Output Only] ID of the DiskConsistencyGroupPolicy for a secondary disk\nthat was created using a consistency group.", +"readOnly": true, +"type": "string" +}, +"sourceDisk": { +"description": "The source disk used to create this disk. You can provide this as a\npartial or full URL to the resource. For example, the following are valid\nvalues:\n \n \n - \n https://www.googleapis.com/compute/v1/projects/project/zones/zone/disks/disk\n \n - \n https://www.googleapis.com/compute/v1/projects/project/regions/region/disks/disk\n \n - \n projects/project/zones/zone/disks/disk\n \n - \n projects/project/regions/region/disks/disk\n \n - \n zones/zone/disks/disk\n \n - \n regions/region/disks/disk", +"type": "string" +}, +"sourceDiskId": { +"description": "Output only. [Output Only] The unique ID of the disk used to create this disk. This\nvalue identifies the exact disk that was used to create this persistent\ndisk. For example, if you created the persistent disk from a disk that\nwas later deleted and recreated under the same name, the source disk ID\nwould identify the exact version of the disk that was used.", +"readOnly": true, +"type": "string" +}, +"sourceImage": { +"description": "The source image used to create this disk. If the source image is\ndeleted, this field will not be set.\n\nTo create a disk with one of the public operating system images, specify\nthe image by its family name. For example, specifyfamily/debian-9 to use the latest Debian 9 image:\n\nprojects/debian-cloud/global/images/family/debian-9\n\n\nAlternatively, use a specific version of a public operating system image:\n\nprojects/debian-cloud/global/images/debian-9-stretch-vYYYYMMDD\n\n\nTo create a disk with a custom image that you created, specify the\nimage name in the following format:\n\nglobal/images/my-custom-image\n\n\nYou can also specify a custom image by its image family, which returns\nthe latest version of the image in that family. Replace the image name\nwith family/family-name:\n\nglobal/images/family/my-image-family", +"type": "string" +}, +"sourceImageEncryptionKey": { +"$ref": "CustomerEncryptionKey", +"description": "Thecustomer-supplied\nencryption key of the source image. Required if the source image is\nprotected by a customer-supplied encryption key." +}, +"sourceImageId": { +"description": "Output only. [Output Only] The ID value of the image used to create this disk. This\nvalue identifies the exact image that was used to create this persistent\ndisk. For example, if you created the persistent disk from an image that\nwas later deleted and recreated under the same name, the source image ID\nwould identify the exact version of the image that was used.", +"readOnly": true, +"type": "string" +}, +"sourceInstantSnapshot": { +"description": "The source instant snapshot used to create this disk. You can provide\nthis as a partial or full URL to the resource. For example, the following\nare valid values:\n \n \n - https://www.googleapis.com/compute/v1/projects/project/zones/zone/instantSnapshots/instantSnapshot\n - projects/project/zones/zone/instantSnapshots/instantSnapshot \n - zones/zone/instantSnapshots/instantSnapshot", +"type": "string" +}, +"sourceInstantSnapshotId": { +"description": "Output only. [Output Only] The unique ID of the instant snapshot used to create this\ndisk. This value identifies the exact instant snapshot that was used to\ncreate this persistent disk. For example, if you created the persistent\ndisk from an instant snapshot that was later deleted and recreated under\nthe same name, the source instant snapshot ID would identify the exact\nversion of the instant snapshot that was used.", +"readOnly": true, +"type": "string" +}, +"sourceSnapshot": { +"description": "The source snapshot used to create this disk. You can provide this as a\npartial or full URL to the resource. For example, the following are valid\nvalues:\n \n \n - https://www.googleapis.com/compute/v1/projects/project/global/snapshots/snapshot \n - projects/project/global/snapshots/snapshot\n - global/snapshots/snapshot", +"type": "string" +}, +"sourceSnapshotEncryptionKey": { +"$ref": "CustomerEncryptionKey", +"description": "Thecustomer-supplied\nencryption key of the source snapshot. Required if the source snapshot\nis protected by a customer-supplied encryption key." +}, +"sourceSnapshotId": { +"description": "Output only. [Output Only] The unique ID of the snapshot used to create this disk. This\nvalue identifies the exact snapshot that was used to create this persistent\ndisk. For example, if you created the persistent disk from a snapshot that\nwas later deleted and recreated under the same name, the source snapshot ID\nwould identify the exact version of the snapshot that was used.", +"readOnly": true, +"type": "string" +}, +"sourceStorageObject": { +"description": "The full Google Cloud Storage URI where the disk image is stored. This file\nmust be a gzip-compressed tarball whose name ends in .tar.gz or virtual\nmachine disk whose name ends in vmdk. Valid URIs may start with gs:// or\nhttps://storage.googleapis.com/. This flag is not optimized for creating\nmultiple disks from a source storage object. To create many disks from a\nsource storage object, use gcloud compute images\nimport instead.", +"type": "string" +}, +"status": { +"description": "Output only. [Output Only] The status of disk creation.\n \n \n - CREATING: Disk is provisioning.\n - RESTORING: Source data is being copied into the\n disk.\n - FAILED: Disk creation failed.\n - READY: Disk is ready for use.\n - DELETING: Disk is deleting.", +"enum": [ +"CREATING", +"DELETING", +"FAILED", +"READY", +"RESTORING", +"UNAVAILABLE" +], +"enumDescriptions": [ +"Disk is provisioning", +"Disk is deleting.", +"Disk creation failed.", +"Disk is ready for use.", +"Source data is being copied into the disk.", +"Disk is currently unavailable and cannot be accessed, attached or\ndetached." +], +"readOnly": true, +"type": "string" +}, +"storagePool": { +"description": "The storage pool in which the new disk is created. You can provide\nthis as a partial or full URL to the resource. For example, the following\nare valid values:\n \n \n - https://www.googleapis.com/compute/v1/projects/project/zones/zone/storagePools/storagePool\n - projects/project/zones/zone/storagePools/storagePool \n - zones/zone/storagePools/storagePool", +"type": "string" +}, +"storageType": { +"description": "[Deprecated] Storage type of the persistent disk.", +"enum": [ +"HDD", +"SSD" +], +"enumDescriptions": [ +"", +"" +], +"type": "string" +}, +"type": { +"description": "URL of the disk type resource describing which disk type to use to create\nthe disk. Provide this when creating the disk. For example:projects/project/zones/zone/diskTypes/pd-ssd. See Persistent disk\ntypes.", +"type": "string" +}, +"users": { +"description": "Output only. [Output Only] Links to the users of the disk (attached instances)\nin form:projects/project/zones/zone/instances/instance", +"items": { +"type": "string" +}, +"readOnly": true, +"type": "array" +}, +"zone": { +"description": "Output only. [Output Only] URL of the zone where the disk resides.\nYou must specify this field as part of the HTTP request URL. It is\nnot settable as a field in the request body.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"DiskAggregatedList": { +"id": "DiskAggregatedList", +"properties": { +"id": { +"description": "[Output Only] Unique identifier for the resource; defined by the server.", +"type": "string" +}, +"items": { +"additionalProperties": { +"$ref": "DisksScopedList", +"description": "[Output Only] Name of the scope containing this set of disks." +}, +"description": "A list of DisksScopedList resources.", +"type": "object" +}, +"kind": { +"default": "compute#diskAggregatedList", +"description": "Output only. [Output Only] Type of resource. Alwayscompute#diskAggregatedList for aggregated lists of persistent\ndisks.", +"readOnly": true, +"type": "string" +}, +"nextPageToken": { +"description": "[Output Only] This token allows you to get the next page of results for\nlist requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for\nthe query parameter pageToken in the next list request.\nSubsequent list requests will have their own nextPageToken to\ncontinue paging through the results.", +"type": "string" +}, +"selfLink": { +"description": "Output only. [Output Only] Server-defined URL for this resource.", +"readOnly": true, +"type": "string" +}, +"unreachables": { +"description": "Output only. [Output Only] Unreachable resources.", +"items": { +"type": "string" +}, +"readOnly": true, +"type": "array" +}, +"warning": { +"description": "[Output Only] Informational warning message.", +"properties": { +"code": { +"description": "[Output Only] A warning code, if applicable. For example, Compute\nEngine returns NO_RESULTS_ON_PAGE if there\nare no results in the response.", +"enum": [ +"CLEANUP_FAILED", +"DEPRECATED_RESOURCE_USED", +"DEPRECATED_TYPE_USED", +"DISK_SIZE_LARGER_THAN_IMAGE_SIZE", +"EXPERIMENTAL_TYPE_USED", +"EXTERNAL_API_WARNING", +"FIELD_VALUE_OVERRIDEN", +"INJECTED_KERNELS_DEPRECATED", +"INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", +"LARGE_DEPLOYMENT_WARNING", +"LIST_OVERHEAD_QUOTA_EXCEED", +"MISSING_TYPE_DEPENDENCY", +"NEXT_HOP_ADDRESS_NOT_ASSIGNED", +"NEXT_HOP_CANNOT_IP_FORWARD", +"NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", +"NEXT_HOP_INSTANCE_NOT_FOUND", +"NEXT_HOP_INSTANCE_NOT_ON_NETWORK", +"NEXT_HOP_NOT_RUNNING", +"NOT_CRITICAL_ERROR", +"NO_RESULTS_ON_PAGE", +"PARTIAL_SUCCESS", +"QUOTA_INFO_UNAVAILABLE", +"REQUIRED_TOS_AGREEMENT", +"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", +"RESOURCE_NOT_DELETED", +"SCHEMA_VALIDATION_IGNORED", +"SINGLE_INSTANCE_PROPERTY_TEMPLATE", +"UNDECLARED_PROPERTIES", +"UNREACHABLE" +], +"enumDeprecated": [ +false, +false, +false, +false, +false, +false, +true, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false +], +"enumDescriptions": [ +"Warning about failed cleanup of transient changes made by a failed\noperation.", +"A link to a deprecated resource was created.", +"When deploying and at least one of the resources has a type marked as\ndeprecated", +"The user created a boot disk that is larger than image size.", +"When deploying and at least one of the resources has a type marked as\nexperimental", +"Warning that is present in an external api call", +"Warning that value of a field has been overridden.\nDeprecated unused field.", +"The operation involved use of an injected kernel, which is deprecated.", +"A WEIGHTED_MAGLEV backend service is associated with a health check that is\nnot of type HTTP/HTTPS/HTTP2.", +"When deploying a deployment with a exceedingly large number of resources", +"Resource can't be retrieved due to list overhead quota exceed\nwhich captures the amount of resources filtered out by\nuser-defined list filter.", +"A resource depends on a missing type", +"The route's nextHopIp address is not assigned to an instance on the\nnetwork.", +"The route's next hop instance cannot ip forward.", +"The route's nextHopInstance URL refers to an instance that does not have an\nipv6 interface on the same network as the route.", +"The route's nextHopInstance URL refers to an instance that does not exist.", +"The route's nextHopInstance URL refers to an instance that is not on the\nsame network as the route.", +"The route's next hop instance does not have a status of RUNNING.", +"Error which is not critical. We decided to continue the process despite\nthe mentioned error.", +"No results are present on a particular list page.", +"Success is reported, but some results may be missing due to errors", +"Quota information is not available to client requests (e.g:\nregions.list).", +"The user attempted to use a resource that requires a TOS they have not\naccepted.", +"Warning that a resource is in use.", +"One or more of the resources set to auto-delete could not be deleted\nbecause they were in use.", +"When a resource schema validation is ignored.", +"Instance template used in instance group manager is valid as such, but\nits application does not make a lot of sense, because it allows only\nsingle instance in instance group.", +"When undeclared properties in the schema are present", +"A given scope cannot be reached." +], +"type": "string" +}, +"data": { +"description": "[Output Only] Metadata about this warning in key:\nvalue format. For example:\n\n\"data\": [\n {\n \"key\": \"scope\",\n \"value\": \"zones/us-east1-d\"\n }", +"items": { +"properties": { +"key": { +"description": "[Output Only] A key that provides more detail on the warning being\nreturned. For example, for warnings where there are no results in a list\nrequest for a particular zone, this key might be scope and\nthe key value might be the zone name. Other examples might be a key\nindicating a deprecated resource and a suggested replacement, or a\nwarning about invalid network settings (for example, if an instance\nattempts to perform IP forwarding but is not enabled for IP forwarding).", +"type": "string" +}, +"value": { +"description": "[Output Only] A warning data value corresponding to the key.", +"type": "string" +} +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "[Output Only] A human-readable description of the warning code.", +"type": "string" +} +}, +"type": "object" +} +}, +"type": "object" +}, +"DiskAsyncReplication": { +"id": "DiskAsyncReplication", +"properties": { +"consistencyGroupPolicy": { +"description": "Output only. [Output Only] URL of the DiskConsistencyGroupPolicy if replication was\nstarted on the disk as a member of a group.", +"readOnly": true, +"type": "string" +}, +"consistencyGroupPolicyId": { +"description": "Output only. [Output Only] ID of the DiskConsistencyGroupPolicy if replication was\nstarted on the disk as a member of a group.", +"readOnly": true, +"type": "string" +}, +"disk": { +"description": "The other disk asynchronously replicated to or from the current disk.\nYou can provide this as a partial or full URL to the resource.\nFor example, the following are valid values:\n \n \n - https://www.googleapis.com/compute/v1/projects/project/zones/zone/disks/disk \n - projects/project/zones/zone/disks/disk \n - zones/zone/disks/disk", +"type": "string" +}, +"diskId": { +"description": "Output only. [Output Only] The unique ID of the other disk asynchronously replicated\nto or from the current disk. This value identifies the exact disk that\nwas used to create this replication. For example, if you started\nreplicating the persistent disk from a disk that was later deleted and\nrecreated under the same name, the disk ID would identify the exact\nversion of the disk that was used.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"DiskAsyncReplicationList": { +"id": "DiskAsyncReplicationList", +"properties": { +"asyncReplicationDisk": { +"$ref": "DiskAsyncReplication" +} +}, +"type": "object" +}, +"DiskInstantiationConfig": { +"description": "A specification of the desired way to instantiate a disk in the instance\ntemplate when its created from a source instance.", +"id": "DiskInstantiationConfig", +"properties": { +"autoDelete": { +"description": "Specifies whether the disk will be auto-deleted when the instance is\ndeleted (but not when the disk is detached from the instance).", +"type": "boolean" +}, +"customImage": { +"description": "The custom source image to be used to restore this disk when instantiating\nthis instance template.", +"type": "string" +}, +"deviceName": { +"description": "Specifies the device name of the disk to which the configurations apply to.", +"type": "string" +}, +"instantiateFrom": { +"description": "Specifies whether to include the disk and what image to use. Possible\nvalues are:\n \n \n - source-image: to use the same image that was used to\n create the source instance's corresponding disk. Applicable to the boot\n disk and additional read-write disks.\n - source-image-family: to use the same image family that\n was used to create the source instance's corresponding disk. Applicable\n to the boot disk and additional read-write disks.\n - custom-image: to use a user-provided image url for disk\n creation. Applicable to the boot disk and additional read-write\n disks. \n - attach-read-only: to attach a read-only\n disk. Applicable to read-only disks.\n - do-not-include: to exclude a disk from the template.\n Applicable to additional read-write disks, local SSDs, and read-only\n disks.", +"enum": [ +"ATTACH_READ_ONLY", +"BLANK", +"CUSTOM_IMAGE", +"DEFAULT", +"DO_NOT_INCLUDE", +"SOURCE_IMAGE", +"SOURCE_IMAGE_FAMILY" +], +"enumDescriptions": [ +"Attach the existing disk in read-only mode. The request will fail if the\ndisk was attached in read-write mode on the source instance. Applicable\nto: read-only disks.", +"Create a blank disk. The disk will be created unformatted. Applicable to:\nadditional read-write disks, local SSDs.", +"Use the custom image specified in the custom_image field. Applicable to:\nboot disk, additional read-write disks.", +"Use the default instantiation option for the corresponding type of disk.\nFor boot disk and any other R/W disks, new custom images will be created\nfrom each disk. For read-only disks, they will be attached in read-only\nmode. Local SSD disks will be created as blank volumes.", +"Do not include the disk in the instance template. Applicable to:\nadditional read-write disks, local SSDs, read-only disks.", +"Use the same source image used for creation of the source instance's\ncorresponding disk. The request will fail if the source VM's disk was\ncreated from a snapshot. Applicable to: boot disk, additional read-write\ndisks.", +"Use the same source image family used for creation of the source\ninstance's corresponding disk. The request will fail if the source image\nof the source disk does not belong to any image family. Applicable to:\nboot disk, additional read-write disks." +], +"type": "string" +} +}, +"type": "object" +}, +"DiskList": { +"description": "A list of Disk resources.", +"id": "DiskList", +"properties": { +"id": { +"description": "[Output Only] Unique identifier for the resource; defined by the server.", +"type": "string" +}, +"items": { +"description": "A list of Disk resources.", +"items": { +"$ref": "Disk" +}, +"type": "array" +}, +"kind": { +"default": "compute#diskList", +"description": "Output only. [Output Only] Type of resource. Always compute#diskList for\nlists of disks.", +"readOnly": true, +"type": "string" +}, +"nextPageToken": { +"description": "[Output Only] This token allows you to get the next page of results for\nlist requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for\nthe query parameter pageToken in the next list request.\nSubsequent list requests will have their own nextPageToken to\ncontinue paging through the results.", +"type": "string" +}, +"selfLink": { +"description": "Output only. [Output Only] Server-defined URL for this resource.", +"readOnly": true, +"type": "string" +}, +"warning": { +"description": "[Output Only] Informational warning message.", +"properties": { +"code": { +"description": "[Output Only] A warning code, if applicable. For example, Compute\nEngine returns NO_RESULTS_ON_PAGE if there\nare no results in the response.", +"enum": [ +"CLEANUP_FAILED", +"DEPRECATED_RESOURCE_USED", +"DEPRECATED_TYPE_USED", +"DISK_SIZE_LARGER_THAN_IMAGE_SIZE", +"EXPERIMENTAL_TYPE_USED", +"EXTERNAL_API_WARNING", +"FIELD_VALUE_OVERRIDEN", +"INJECTED_KERNELS_DEPRECATED", +"INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", +"LARGE_DEPLOYMENT_WARNING", +"LIST_OVERHEAD_QUOTA_EXCEED", +"MISSING_TYPE_DEPENDENCY", +"NEXT_HOP_ADDRESS_NOT_ASSIGNED", +"NEXT_HOP_CANNOT_IP_FORWARD", +"NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", +"NEXT_HOP_INSTANCE_NOT_FOUND", +"NEXT_HOP_INSTANCE_NOT_ON_NETWORK", +"NEXT_HOP_NOT_RUNNING", +"NOT_CRITICAL_ERROR", +"NO_RESULTS_ON_PAGE", +"PARTIAL_SUCCESS", +"QUOTA_INFO_UNAVAILABLE", +"REQUIRED_TOS_AGREEMENT", +"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", +"RESOURCE_NOT_DELETED", +"SCHEMA_VALIDATION_IGNORED", +"SINGLE_INSTANCE_PROPERTY_TEMPLATE", +"UNDECLARED_PROPERTIES", +"UNREACHABLE" +], +"enumDeprecated": [ +false, +false, +false, +false, +false, +false, +true, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false +], +"enumDescriptions": [ +"Warning about failed cleanup of transient changes made by a failed\noperation.", +"A link to a deprecated resource was created.", +"When deploying and at least one of the resources has a type marked as\ndeprecated", +"The user created a boot disk that is larger than image size.", +"When deploying and at least one of the resources has a type marked as\nexperimental", +"Warning that is present in an external api call", +"Warning that value of a field has been overridden.\nDeprecated unused field.", +"The operation involved use of an injected kernel, which is deprecated.", +"A WEIGHTED_MAGLEV backend service is associated with a health check that is\nnot of type HTTP/HTTPS/HTTP2.", +"When deploying a deployment with a exceedingly large number of resources", +"Resource can't be retrieved due to list overhead quota exceed\nwhich captures the amount of resources filtered out by\nuser-defined list filter.", +"A resource depends on a missing type", +"The route's nextHopIp address is not assigned to an instance on the\nnetwork.", +"The route's next hop instance cannot ip forward.", +"The route's nextHopInstance URL refers to an instance that does not have an\nipv6 interface on the same network as the route.", +"The route's nextHopInstance URL refers to an instance that does not exist.", +"The route's nextHopInstance URL refers to an instance that is not on the\nsame network as the route.", +"The route's next hop instance does not have a status of RUNNING.", +"Error which is not critical. We decided to continue the process despite\nthe mentioned error.", +"No results are present on a particular list page.", +"Success is reported, but some results may be missing due to errors", +"Quota information is not available to client requests (e.g:\nregions.list).", +"The user attempted to use a resource that requires a TOS they have not\naccepted.", +"Warning that a resource is in use.", +"One or more of the resources set to auto-delete could not be deleted\nbecause they were in use.", +"When a resource schema validation is ignored.", +"Instance template used in instance group manager is valid as such, but\nits application does not make a lot of sense, because it allows only\nsingle instance in instance group.", +"When undeclared properties in the schema are present", +"A given scope cannot be reached." +], +"type": "string" +}, +"data": { +"description": "[Output Only] Metadata about this warning in key:\nvalue format. For example:\n\n\"data\": [\n {\n \"key\": \"scope\",\n \"value\": \"zones/us-east1-d\"\n }", +"items": { +"properties": { +"key": { +"description": "[Output Only] A key that provides more detail on the warning being\nreturned. For example, for warnings where there are no results in a list\nrequest for a particular zone, this key might be scope and\nthe key value might be the zone name. Other examples might be a key\nindicating a deprecated resource and a suggested replacement, or a\nwarning about invalid network settings (for example, if an instance\nattempts to perform IP forwarding but is not enabled for IP forwarding).", +"type": "string" +}, +"value": { +"description": "[Output Only] A warning data value corresponding to the key.", +"type": "string" +} +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "[Output Only] A human-readable description of the warning code.", +"type": "string" +} +}, +"type": "object" +} +}, +"type": "object" +}, +"DiskMoveRequest": { +"id": "DiskMoveRequest", +"properties": { +"destinationZone": { +"description": "The URL of the destination zone to move the disk. This can be a full or\npartial URL. For example, the following are all valid URLs to a zone:\n \n - https://www.googleapis.com/compute/v1/projects/project/zones/zone \n - projects/project/zones/zone \n - zones/zone", +"type": "string" +}, +"targetDisk": { +"description": "The URL of the target disk to move. This can be a full or partial URL.\nFor example, the following are all valid URLs to a disk:\n \n - https://www.googleapis.com/compute/v1/projects/project/zones/zone/disks/disk \n - projects/project/zones/zone/disks/disk \n - zones/zone/disks/disk", +"type": "string" +} +}, +"type": "object" +}, +"DiskParams": { +"description": "Additional disk params.", +"id": "DiskParams", +"properties": { +"resourceManagerTags": { +"additionalProperties": { +"type": "string" +}, +"description": "Input only. Resource manager tags to be bound to the disk. Tag keys and values\nhave the same definition as resource\nmanager tags. Keys and values can be either in numeric format,\nsuch as `tagKeys/{tag_key_id}` and `tagValues/456` or in namespaced\nformat such as `{org_id|project_id}/{tag_key_short_name}` and\n`{tag_value_short_name}`. The field is ignored (both PUT &\nPATCH) when empty.", +"type": "object" +} +}, +"type": "object" +}, +"DiskResourceStatus": { +"id": "DiskResourceStatus", +"properties": { +"asyncPrimaryDisk": { +"$ref": "DiskResourceStatusAsyncReplicationStatus" +}, +"asyncSecondaryDisks": { +"additionalProperties": { +"$ref": "DiskResourceStatusAsyncReplicationStatus" +}, +"description": "Key: disk, value: AsyncReplicationStatus message", +"type": "object" +} +}, +"type": "object" +}, +"DiskResourceStatusAsyncReplicationStatus": { +"id": "DiskResourceStatusAsyncReplicationStatus", +"properties": { +"state": { +"enum": [ +"ACTIVE", +"CREATED", +"STARTING", +"STATE_UNSPECIFIED", +"STOPPED", +"STOPPING" +], +"enumDescriptions": [ +"Replication is active.", +"Secondary disk is created and is waiting for replication to start.", +"Replication is starting.", +"", +"Replication is stopped.", +"Replication is stopping." +], +"type": "string" +} +}, +"type": "object" +}, +"DiskSettings": { +"id": "DiskSettings", +"properties": { +"accessLocation": { +"$ref": "DiskSettingsAccessLocation", +"description": "Policy of which locations are allowed to create regional\nsnapshots." +} +}, +"type": "object" +}, +"DiskSettingsAccessLocation": { +"description": "AccessLocation is only used for regional snapshot. It contains which\nregions are allowed to create a regional snapshot from disks located in the\ngiven region/zone.\nIt includes key-value pairs designed to store the following structure. The\nkeys should match their corresponding values, which must be provided:\naccess_location: {\n locations {\n us-central1 {\n region: \"us-central1\"\n },\n asia-west2 {\n region: \"asia-west2\"\n }\n }\n}", +"id": "DiskSettingsAccessLocation", +"properties": { +"locations": { +"additionalProperties": { +"$ref": "DiskSettingsAccessLocationAccessLocationPreference" +}, +"description": "List of regions that can create a regional\nsnapshot from the current region", +"type": "object" +}, +"policy": { +"description": "Policy of which location is allowed to access snapshot.", +"enum": [ +"ALL_REGIONS", +"POLICY_UNSPECIFIED", +"SPECIFIC_REGIONS" +], +"enumDescriptions": [ +"Any regions will be able to access the source location.", +"", +"Only allowlisted regions will be able to create region scoped\nsnapshots" +], +"type": "string" +} +}, +"type": "object" +}, +"DiskSettingsAccessLocationAccessLocationPreference": { +"description": "A structure for specifying an allowed target region to create snapshot.", +"id": "DiskSettingsAccessLocationAccessLocationPreference", +"properties": { +"region": { +"description": "Accessible region name", +"type": "string" +} +}, +"type": "object" +}, +"DiskType": { +"description": "Represents a Disk Type resource.\n\nGoogle Compute Engine has two Disk Type resources:\n\n* [Regional](/compute/docs/reference/rest/beta/regionDiskTypes)\n* [Zonal](/compute/docs/reference/rest/beta/diskTypes)\n\nYou can choose from a variety of disk types based on your needs.\nFor more information, readStorage options.\n\nThe diskTypes resource represents disk types for a zonal\npersistent disk.\nFor more information, readZonal persistent disks.\n\nThe regionDiskTypes resource represents disk types for a\nregional persistent disk. For more information, read Regional persistent disks.", +"id": "DiskType", +"properties": { +"creationTimestamp": { +"description": "[Output Only] Creation timestamp inRFC3339\ntext format.", +"type": "string" +}, +"defaultDiskSizeGb": { +"description": "[Output Only] Server-defined default disk size in GB.", +"format": "int64", +"type": "string" +}, +"deprecated": { +"$ref": "DeprecationStatus", +"description": "[Output Only] The deprecation status associated with this disk type." +}, +"description": { +"description": "[Output Only] An optional description of this resource.", +"type": "string" +}, +"id": { +"description": "[Output Only] The unique identifier for the resource. This identifier is\ndefined by the server.", +"format": "uint64", +"type": "string" +}, +"kind": { +"default": "compute#diskType", +"description": "Output only. [Output Only] Type of the resource. Always compute#diskType\nfor disk types.", +"readOnly": true, +"type": "string" +}, +"name": { +"description": "[Output Only] Name of the resource.", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"type": "string" +}, +"region": { +"description": "[Output Only] URL of the region where the disk type resides. Only\napplicable for regional resources.\nYou must specify this field as part of the HTTP request URL. It is\nnot settable as a field in the request body.", +"type": "string" +}, +"selfLink": { +"description": "[Output Only] Server-defined URL for the resource.", +"type": "string" +}, +"validDiskSize": { +"description": "[Output Only] An optional textual description of the valid disk size,\nsuch as \"10GB-10TB\".", +"type": "string" +}, +"zone": { +"description": "[Output Only] URL of the zone where the disk type resides.\nYou must specify this field as part of the HTTP request URL. It is\nnot settable as a field in the request body.", +"type": "string" +} +}, +"type": "object" +}, +"DiskTypeAggregatedList": { +"id": "DiskTypeAggregatedList", +"properties": { +"id": { +"description": "[Output Only] Unique identifier for the resource; defined by the server.", +"type": "string" +}, +"items": { +"additionalProperties": { +"$ref": "DiskTypesScopedList", +"description": "[Output Only] Name of the scope containing this set of disk types." +}, +"description": "A list of DiskTypesScopedList resources.", +"type": "object" +}, +"kind": { +"default": "compute#diskTypeAggregatedList", +"description": "Output only. [Output Only] Type of resource. Alwayscompute#diskTypeAggregatedList.", +"readOnly": true, +"type": "string" +}, +"nextPageToken": { +"description": "[Output Only] This token allows you to get the next page of results for\nlist requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for\nthe query parameter pageToken in the next list request.\nSubsequent list requests will have their own nextPageToken to\ncontinue paging through the results.", +"type": "string" +}, +"selfLink": { +"description": "Output only. [Output Only] Server-defined URL for this resource.", +"readOnly": true, +"type": "string" +}, +"unreachables": { +"description": "Output only. [Output Only] Unreachable resources.", +"items": { +"type": "string" +}, +"readOnly": true, +"type": "array" +}, +"warning": { +"description": "[Output Only] Informational warning message.", +"properties": { +"code": { +"description": "[Output Only] A warning code, if applicable. For example, Compute\nEngine returns NO_RESULTS_ON_PAGE if there\nare no results in the response.", +"enum": [ +"CLEANUP_FAILED", +"DEPRECATED_RESOURCE_USED", +"DEPRECATED_TYPE_USED", +"DISK_SIZE_LARGER_THAN_IMAGE_SIZE", +"EXPERIMENTAL_TYPE_USED", +"EXTERNAL_API_WARNING", +"FIELD_VALUE_OVERRIDEN", +"INJECTED_KERNELS_DEPRECATED", +"INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", +"LARGE_DEPLOYMENT_WARNING", +"LIST_OVERHEAD_QUOTA_EXCEED", +"MISSING_TYPE_DEPENDENCY", +"NEXT_HOP_ADDRESS_NOT_ASSIGNED", +"NEXT_HOP_CANNOT_IP_FORWARD", +"NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", +"NEXT_HOP_INSTANCE_NOT_FOUND", +"NEXT_HOP_INSTANCE_NOT_ON_NETWORK", +"NEXT_HOP_NOT_RUNNING", +"NOT_CRITICAL_ERROR", +"NO_RESULTS_ON_PAGE", +"PARTIAL_SUCCESS", +"QUOTA_INFO_UNAVAILABLE", +"REQUIRED_TOS_AGREEMENT", +"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", +"RESOURCE_NOT_DELETED", +"SCHEMA_VALIDATION_IGNORED", +"SINGLE_INSTANCE_PROPERTY_TEMPLATE", +"UNDECLARED_PROPERTIES", +"UNREACHABLE" +], +"enumDeprecated": [ +false, +false, +false, +false, +false, +false, +true, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false +], +"enumDescriptions": [ +"Warning about failed cleanup of transient changes made by a failed\noperation.", +"A link to a deprecated resource was created.", +"When deploying and at least one of the resources has a type marked as\ndeprecated", +"The user created a boot disk that is larger than image size.", +"When deploying and at least one of the resources has a type marked as\nexperimental", +"Warning that is present in an external api call", +"Warning that value of a field has been overridden.\nDeprecated unused field.", +"The operation involved use of an injected kernel, which is deprecated.", +"A WEIGHTED_MAGLEV backend service is associated with a health check that is\nnot of type HTTP/HTTPS/HTTP2.", +"When deploying a deployment with a exceedingly large number of resources", +"Resource can't be retrieved due to list overhead quota exceed\nwhich captures the amount of resources filtered out by\nuser-defined list filter.", +"A resource depends on a missing type", +"The route's nextHopIp address is not assigned to an instance on the\nnetwork.", +"The route's next hop instance cannot ip forward.", +"The route's nextHopInstance URL refers to an instance that does not have an\nipv6 interface on the same network as the route.", +"The route's nextHopInstance URL refers to an instance that does not exist.", +"The route's nextHopInstance URL refers to an instance that is not on the\nsame network as the route.", +"The route's next hop instance does not have a status of RUNNING.", +"Error which is not critical. We decided to continue the process despite\nthe mentioned error.", +"No results are present on a particular list page.", +"Success is reported, but some results may be missing due to errors", +"Quota information is not available to client requests (e.g:\nregions.list).", +"The user attempted to use a resource that requires a TOS they have not\naccepted.", +"Warning that a resource is in use.", +"One or more of the resources set to auto-delete could not be deleted\nbecause they were in use.", +"When a resource schema validation is ignored.", +"Instance template used in instance group manager is valid as such, but\nits application does not make a lot of sense, because it allows only\nsingle instance in instance group.", +"When undeclared properties in the schema are present", +"A given scope cannot be reached." +], +"type": "string" +}, +"data": { +"description": "[Output Only] Metadata about this warning in key:\nvalue format. For example:\n\n\"data\": [\n {\n \"key\": \"scope\",\n \"value\": \"zones/us-east1-d\"\n }", +"items": { +"properties": { +"key": { +"description": "[Output Only] A key that provides more detail on the warning being\nreturned. For example, for warnings where there are no results in a list\nrequest for a particular zone, this key might be scope and\nthe key value might be the zone name. Other examples might be a key\nindicating a deprecated resource and a suggested replacement, or a\nwarning about invalid network settings (for example, if an instance\nattempts to perform IP forwarding but is not enabled for IP forwarding).", +"type": "string" +}, +"value": { +"description": "[Output Only] A warning data value corresponding to the key.", +"type": "string" +} +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "[Output Only] A human-readable description of the warning code.", +"type": "string" +} +}, +"type": "object" +} +}, +"type": "object" +}, +"DiskTypeList": { +"description": "Contains a list of disk types.", +"id": "DiskTypeList", +"properties": { +"id": { +"description": "[Output Only] Unique identifier for the resource; defined by the server.", +"type": "string" +}, +"items": { +"description": "A list of DiskType resources.", +"items": { +"$ref": "DiskType" +}, +"type": "array" +}, +"kind": { +"default": "compute#diskTypeList", +"description": "Output only. [Output Only] Type of resource. Always compute#diskTypeList\nfor disk types.", +"readOnly": true, +"type": "string" +}, +"nextPageToken": { +"description": "[Output Only] This token allows you to get the next page of results for\nlist requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for\nthe query parameter pageToken in the next list request.\nSubsequent list requests will have their own nextPageToken to\ncontinue paging through the results.", +"type": "string" +}, +"selfLink": { +"description": "Output only. [Output Only] Server-defined URL for this resource.", +"readOnly": true, +"type": "string" +}, +"warning": { +"description": "[Output Only] Informational warning message.", +"properties": { +"code": { +"description": "[Output Only] A warning code, if applicable. For example, Compute\nEngine returns NO_RESULTS_ON_PAGE if there\nare no results in the response.", +"enum": [ +"CLEANUP_FAILED", +"DEPRECATED_RESOURCE_USED", +"DEPRECATED_TYPE_USED", +"DISK_SIZE_LARGER_THAN_IMAGE_SIZE", +"EXPERIMENTAL_TYPE_USED", +"EXTERNAL_API_WARNING", +"FIELD_VALUE_OVERRIDEN", +"INJECTED_KERNELS_DEPRECATED", +"INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", +"LARGE_DEPLOYMENT_WARNING", +"LIST_OVERHEAD_QUOTA_EXCEED", +"MISSING_TYPE_DEPENDENCY", +"NEXT_HOP_ADDRESS_NOT_ASSIGNED", +"NEXT_HOP_CANNOT_IP_FORWARD", +"NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", +"NEXT_HOP_INSTANCE_NOT_FOUND", +"NEXT_HOP_INSTANCE_NOT_ON_NETWORK", +"NEXT_HOP_NOT_RUNNING", +"NOT_CRITICAL_ERROR", +"NO_RESULTS_ON_PAGE", +"PARTIAL_SUCCESS", +"QUOTA_INFO_UNAVAILABLE", +"REQUIRED_TOS_AGREEMENT", +"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", +"RESOURCE_NOT_DELETED", +"SCHEMA_VALIDATION_IGNORED", +"SINGLE_INSTANCE_PROPERTY_TEMPLATE", +"UNDECLARED_PROPERTIES", +"UNREACHABLE" +], +"enumDeprecated": [ +false, +false, +false, +false, +false, +false, +true, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false +], +"enumDescriptions": [ +"Warning about failed cleanup of transient changes made by a failed\noperation.", +"A link to a deprecated resource was created.", +"When deploying and at least one of the resources has a type marked as\ndeprecated", +"The user created a boot disk that is larger than image size.", +"When deploying and at least one of the resources has a type marked as\nexperimental", +"Warning that is present in an external api call", +"Warning that value of a field has been overridden.\nDeprecated unused field.", +"The operation involved use of an injected kernel, which is deprecated.", +"A WEIGHTED_MAGLEV backend service is associated with a health check that is\nnot of type HTTP/HTTPS/HTTP2.", +"When deploying a deployment with a exceedingly large number of resources", +"Resource can't be retrieved due to list overhead quota exceed\nwhich captures the amount of resources filtered out by\nuser-defined list filter.", +"A resource depends on a missing type", +"The route's nextHopIp address is not assigned to an instance on the\nnetwork.", +"The route's next hop instance cannot ip forward.", +"The route's nextHopInstance URL refers to an instance that does not have an\nipv6 interface on the same network as the route.", +"The route's nextHopInstance URL refers to an instance that does not exist.", +"The route's nextHopInstance URL refers to an instance that is not on the\nsame network as the route.", +"The route's next hop instance does not have a status of RUNNING.", +"Error which is not critical. We decided to continue the process despite\nthe mentioned error.", +"No results are present on a particular list page.", +"Success is reported, but some results may be missing due to errors", +"Quota information is not available to client requests (e.g:\nregions.list).", +"The user attempted to use a resource that requires a TOS they have not\naccepted.", +"Warning that a resource is in use.", +"One or more of the resources set to auto-delete could not be deleted\nbecause they were in use.", +"When a resource schema validation is ignored.", +"Instance template used in instance group manager is valid as such, but\nits application does not make a lot of sense, because it allows only\nsingle instance in instance group.", +"When undeclared properties in the schema are present", +"A given scope cannot be reached." +], +"type": "string" +}, +"data": { +"description": "[Output Only] Metadata about this warning in key:\nvalue format. For example:\n\n\"data\": [\n {\n \"key\": \"scope\",\n \"value\": \"zones/us-east1-d\"\n }", +"items": { +"properties": { +"key": { +"description": "[Output Only] A key that provides more detail on the warning being\nreturned. For example, for warnings where there are no results in a list\nrequest for a particular zone, this key might be scope and\nthe key value might be the zone name. Other examples might be a key\nindicating a deprecated resource and a suggested replacement, or a\nwarning about invalid network settings (for example, if an instance\nattempts to perform IP forwarding but is not enabled for IP forwarding).", +"type": "string" +}, +"value": { +"description": "[Output Only] A warning data value corresponding to the key.", +"type": "string" +} +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "[Output Only] A human-readable description of the warning code.", +"type": "string" +} +}, +"type": "object" +} +}, +"type": "object" +}, +"DiskTypesScopedList": { +"id": "DiskTypesScopedList", +"properties": { +"diskTypes": { +"description": "[Output Only] A list of disk types contained in this scope.", +"items": { +"$ref": "DiskType" +}, +"type": "array" +}, +"warning": { +"description": "[Output Only] Informational warning which replaces the list of disk types\nwhen the list is empty.", +"properties": { +"code": { +"description": "[Output Only] A warning code, if applicable. For example, Compute\nEngine returns NO_RESULTS_ON_PAGE if there\nare no results in the response.", +"enum": [ +"CLEANUP_FAILED", +"DEPRECATED_RESOURCE_USED", +"DEPRECATED_TYPE_USED", +"DISK_SIZE_LARGER_THAN_IMAGE_SIZE", +"EXPERIMENTAL_TYPE_USED", +"EXTERNAL_API_WARNING", +"FIELD_VALUE_OVERRIDEN", +"INJECTED_KERNELS_DEPRECATED", +"INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", +"LARGE_DEPLOYMENT_WARNING", +"LIST_OVERHEAD_QUOTA_EXCEED", +"MISSING_TYPE_DEPENDENCY", +"NEXT_HOP_ADDRESS_NOT_ASSIGNED", +"NEXT_HOP_CANNOT_IP_FORWARD", +"NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", +"NEXT_HOP_INSTANCE_NOT_FOUND", +"NEXT_HOP_INSTANCE_NOT_ON_NETWORK", +"NEXT_HOP_NOT_RUNNING", +"NOT_CRITICAL_ERROR", +"NO_RESULTS_ON_PAGE", +"PARTIAL_SUCCESS", +"QUOTA_INFO_UNAVAILABLE", +"REQUIRED_TOS_AGREEMENT", +"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", +"RESOURCE_NOT_DELETED", +"SCHEMA_VALIDATION_IGNORED", +"SINGLE_INSTANCE_PROPERTY_TEMPLATE", +"UNDECLARED_PROPERTIES", +"UNREACHABLE" +], +"enumDeprecated": [ +false, +false, +false, +false, +false, +false, +true, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false +], +"enumDescriptions": [ +"Warning about failed cleanup of transient changes made by a failed\noperation.", +"A link to a deprecated resource was created.", +"When deploying and at least one of the resources has a type marked as\ndeprecated", +"The user created a boot disk that is larger than image size.", +"When deploying and at least one of the resources has a type marked as\nexperimental", +"Warning that is present in an external api call", +"Warning that value of a field has been overridden.\nDeprecated unused field.", +"The operation involved use of an injected kernel, which is deprecated.", +"A WEIGHTED_MAGLEV backend service is associated with a health check that is\nnot of type HTTP/HTTPS/HTTP2.", +"When deploying a deployment with a exceedingly large number of resources", +"Resource can't be retrieved due to list overhead quota exceed\nwhich captures the amount of resources filtered out by\nuser-defined list filter.", +"A resource depends on a missing type", +"The route's nextHopIp address is not assigned to an instance on the\nnetwork.", +"The route's next hop instance cannot ip forward.", +"The route's nextHopInstance URL refers to an instance that does not have an\nipv6 interface on the same network as the route.", +"The route's nextHopInstance URL refers to an instance that does not exist.", +"The route's nextHopInstance URL refers to an instance that is not on the\nsame network as the route.", +"The route's next hop instance does not have a status of RUNNING.", +"Error which is not critical. We decided to continue the process despite\nthe mentioned error.", +"No results are present on a particular list page.", +"Success is reported, but some results may be missing due to errors", +"Quota information is not available to client requests (e.g:\nregions.list).", +"The user attempted to use a resource that requires a TOS they have not\naccepted.", +"Warning that a resource is in use.", +"One or more of the resources set to auto-delete could not be deleted\nbecause they were in use.", +"When a resource schema validation is ignored.", +"Instance template used in instance group manager is valid as such, but\nits application does not make a lot of sense, because it allows only\nsingle instance in instance group.", +"When undeclared properties in the schema are present", +"A given scope cannot be reached." +], +"type": "string" +}, +"data": { +"description": "[Output Only] Metadata about this warning in key:\nvalue format. For example:\n\n\"data\": [\n {\n \"key\": \"scope\",\n \"value\": \"zones/us-east1-d\"\n }", +"items": { +"properties": { +"key": { +"description": "[Output Only] A key that provides more detail on the warning being\nreturned. For example, for warnings where there are no results in a list\nrequest for a particular zone, this key might be scope and\nthe key value might be the zone name. Other examples might be a key\nindicating a deprecated resource and a suggested replacement, or a\nwarning about invalid network settings (for example, if an instance\nattempts to perform IP forwarding but is not enabled for IP forwarding).", +"type": "string" +}, +"value": { +"description": "[Output Only] A warning data value corresponding to the key.", +"type": "string" +} +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "[Output Only] A human-readable description of the warning code.", +"type": "string" +} +}, +"type": "object" +} +}, +"type": "object" +}, +"DisksAddResourcePoliciesRequest": { +"id": "DisksAddResourcePoliciesRequest", +"properties": { +"resourcePolicies": { +"description": "Full or relative path to the resource policy to be added to this disk. You\ncan only specify one resource policy.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"DisksRemoveResourcePoliciesRequest": { +"id": "DisksRemoveResourcePoliciesRequest", +"properties": { +"resourcePolicies": { +"description": "Resource policies to be removed from this disk.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"DisksResizeRequest": { +"id": "DisksResizeRequest", +"properties": { +"sizeGb": { +"description": "The new size of the persistent disk, which is specified in GB.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"DisksScopedList": { +"id": "DisksScopedList", +"properties": { +"disks": { +"description": "[Output Only] A list of disks contained in this scope.", +"items": { +"$ref": "Disk" +}, +"type": "array" +}, +"warning": { +"description": "[Output Only] Informational warning which replaces the list of disks when\nthe list is empty.", +"properties": { +"code": { +"description": "[Output Only] A warning code, if applicable. For example, Compute\nEngine returns NO_RESULTS_ON_PAGE if there\nare no results in the response.", +"enum": [ +"CLEANUP_FAILED", +"DEPRECATED_RESOURCE_USED", +"DEPRECATED_TYPE_USED", +"DISK_SIZE_LARGER_THAN_IMAGE_SIZE", +"EXPERIMENTAL_TYPE_USED", +"EXTERNAL_API_WARNING", +"FIELD_VALUE_OVERRIDEN", +"INJECTED_KERNELS_DEPRECATED", +"INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", +"LARGE_DEPLOYMENT_WARNING", +"LIST_OVERHEAD_QUOTA_EXCEED", +"MISSING_TYPE_DEPENDENCY", +"NEXT_HOP_ADDRESS_NOT_ASSIGNED", +"NEXT_HOP_CANNOT_IP_FORWARD", +"NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", +"NEXT_HOP_INSTANCE_NOT_FOUND", +"NEXT_HOP_INSTANCE_NOT_ON_NETWORK", +"NEXT_HOP_NOT_RUNNING", +"NOT_CRITICAL_ERROR", +"NO_RESULTS_ON_PAGE", +"PARTIAL_SUCCESS", +"QUOTA_INFO_UNAVAILABLE", +"REQUIRED_TOS_AGREEMENT", +"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", +"RESOURCE_NOT_DELETED", +"SCHEMA_VALIDATION_IGNORED", +"SINGLE_INSTANCE_PROPERTY_TEMPLATE", +"UNDECLARED_PROPERTIES", +"UNREACHABLE" +], +"enumDeprecated": [ +false, +false, +false, +false, +false, +false, +true, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false +], +"enumDescriptions": [ +"Warning about failed cleanup of transient changes made by a failed\noperation.", +"A link to a deprecated resource was created.", +"When deploying and at least one of the resources has a type marked as\ndeprecated", +"The user created a boot disk that is larger than image size.", +"When deploying and at least one of the resources has a type marked as\nexperimental", +"Warning that is present in an external api call", +"Warning that value of a field has been overridden.\nDeprecated unused field.", +"The operation involved use of an injected kernel, which is deprecated.", +"A WEIGHTED_MAGLEV backend service is associated with a health check that is\nnot of type HTTP/HTTPS/HTTP2.", +"When deploying a deployment with a exceedingly large number of resources", +"Resource can't be retrieved due to list overhead quota exceed\nwhich captures the amount of resources filtered out by\nuser-defined list filter.", +"A resource depends on a missing type", +"The route's nextHopIp address is not assigned to an instance on the\nnetwork.", +"The route's next hop instance cannot ip forward.", +"The route's nextHopInstance URL refers to an instance that does not have an\nipv6 interface on the same network as the route.", +"The route's nextHopInstance URL refers to an instance that does not exist.", +"The route's nextHopInstance URL refers to an instance that is not on the\nsame network as the route.", +"The route's next hop instance does not have a status of RUNNING.", +"Error which is not critical. We decided to continue the process despite\nthe mentioned error.", +"No results are present on a particular list page.", +"Success is reported, but some results may be missing due to errors", +"Quota information is not available to client requests (e.g:\nregions.list).", +"The user attempted to use a resource that requires a TOS they have not\naccepted.", +"Warning that a resource is in use.", +"One or more of the resources set to auto-delete could not be deleted\nbecause they were in use.", +"When a resource schema validation is ignored.", +"Instance template used in instance group manager is valid as such, but\nits application does not make a lot of sense, because it allows only\nsingle instance in instance group.", +"When undeclared properties in the schema are present", +"A given scope cannot be reached." +], +"type": "string" +}, +"data": { +"description": "[Output Only] Metadata about this warning in key:\nvalue format. For example:\n\n\"data\": [\n {\n \"key\": \"scope\",\n \"value\": \"zones/us-east1-d\"\n }", +"items": { +"properties": { +"key": { +"description": "[Output Only] A key that provides more detail on the warning being\nreturned. For example, for warnings where there are no results in a list\nrequest for a particular zone, this key might be scope and\nthe key value might be the zone name. Other examples might be a key\nindicating a deprecated resource and a suggested replacement, or a\nwarning about invalid network settings (for example, if an instance\nattempts to perform IP forwarding but is not enabled for IP forwarding).", +"type": "string" +}, +"value": { +"description": "[Output Only] A warning data value corresponding to the key.", +"type": "string" +} +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "[Output Only] A human-readable description of the warning code.", +"type": "string" +} +}, +"type": "object" +} +}, +"type": "object" +}, +"DisksStartAsyncReplicationRequest": { +"id": "DisksStartAsyncReplicationRequest", +"properties": { +"asyncSecondaryDisk": { +"description": "The secondary disk to start asynchronous replication to.\nYou can provide this as a partial or full URL to the resource. For example,\nthe following are valid values:\n \n \n - \n https://www.googleapis.com/compute/v1/projects/project/zones/zone/disks/disk\n \n - \n https://www.googleapis.com/compute/v1/projects/project/regions/region/disks/disk\n \n - \n projects/project/zones/zone/disks/disk\n \n - \n projects/project/regions/region/disks/disk\n \n - \n zones/zone/disks/disk\n \n - \n regions/region/disks/disk", +"type": "string" +} +}, +"type": "object" +}, +"DisksStopGroupAsyncReplicationResource": { +"description": "A transient resource used in compute.disks.stopGroupAsyncReplication and\ncompute.regionDisks.stopGroupAsyncReplication. It is only used to process\nrequests and is not persisted.", +"id": "DisksStopGroupAsyncReplicationResource", +"properties": { +"resourcePolicy": { +"description": "The URL of the DiskConsistencyGroupPolicy for the group of disks to stop.\nThis may be a full or partial URL, such as:\n \n \n - \n https://www.googleapis.com/compute/v1/projects/project/regions/region/resourcePolicies/resourcePolicy\n \n - \n projects/project/regions/region/resourcePolicies/resourcePolicy\n \n - \n regions/region/resourcePolicies/resourcePolicy", +"type": "string" +} +}, +"type": "object" +}, +"DisplayDevice": { +"description": "A set of Display Device options", +"id": "DisplayDevice", +"properties": { +"enableDisplay": { +"description": "Defines whether the instance has Display enabled.", +"type": "boolean" +} +}, +"type": "object" +}, +"DistributionPolicy": { +"id": "DistributionPolicy", +"properties": { +"targetShape": { +"description": "The distribution shape to which the group converges either proactively or\non resize events (depending on the value set inupdatePolicy.instanceRedistributionType).", +"enum": [ +"ANY", +"ANY_SINGLE_ZONE", +"BALANCED", +"EVEN" +], +"enumDescriptions": [ +"The group picks zones for creating VM instances to fulfill the requested\nnumber of VMs within present resource constraints and to maximize\nutilization of unused zonal reservations. Recommended for batch workloads\nthat do not require high availability.", +"The group creates all VM instances within a single zone. The zone is\nselected based on the present resource constraints and to maximize\nutilization of unused zonal reservations.\nRecommended for batch workloads with heavy interprocess communication.", +"The group prioritizes acquisition of resources, scheduling VMs in zones\nwhere resources are available while distributing VMs as evenly as\npossible across selected zones to minimize the impact of zonal failure.\nRecommended for highly available serving workloads.", +"The group schedules VM instance creation and deletion to achieve and\nmaintain an even number of managed instances across the selected zones.\nThe distribution is even when the number of managed instances does not\ndiffer by more than 1 between any two zones. Recommended for highly\navailable serving workloads." +], +"type": "string" +}, +"zones": { +"description": "Zones where the regional managed instance group will create and manage\nits instances.", +"items": { +"$ref": "DistributionPolicyZoneConfiguration" +}, +"type": "array" +} +}, +"type": "object" +}, +"DistributionPolicyZoneConfiguration": { +"id": "DistributionPolicyZoneConfiguration", +"properties": { +"zone": { +"annotations": { +"required": [ +"compute.regionInstanceGroupManagers.insert", +"compute.regionInstanceGroupManagers.update" +] +}, +"description": "The URL of thezone.\nThe zone must exist in the region where the managed instance group is\nlocated.", +"type": "string" +} +}, +"type": "object" +}, +"Duration": { +"description": "A Duration represents a fixed-length span of time represented\nas a count of seconds and fractions of seconds at nanosecond\nresolution. It is independent of any calendar and concepts like \"day\"\nor \"month\". Range is approximately 10,000 years.", +"id": "Duration", +"properties": { +"nanos": { +"description": "Span of time that's a fraction of a second at nanosecond resolution.\nDurations less than one second are represented with a 0\n`seconds` field and a positive `nanos` field. Must be from 0\nto 999,999,999 inclusive.", +"format": "int32", +"type": "integer" +}, +"seconds": { +"description": "Span of time at a resolution of a second. Must be from 0\nto 315,576,000,000 inclusive. Note: these bounds are computed from:\n60 sec/min * 60 min/hr * 24 hr/day * 365.25 days/year * 10000 years", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"ErrorInfo": { +"description": "Describes the cause of the error with structured details.\n\nExample of an error when contacting the \"pubsub.googleapis.com\" API when it\nis not enabled:\n\n { \"reason\": \"API_DISABLED\"\n \"domain\": \"googleapis.com\"\n \"metadata\": {\n \"resource\": \"projects/123\",\n \"service\": \"pubsub.googleapis.com\"\n }\n }\n\nThis response indicates that the pubsub.googleapis.com API is not enabled.\n\nExample of an error that is returned when attempting to create a Spanner\ninstance in a region that is out of stock:\n\n { \"reason\": \"STOCKOUT\"\n \"domain\": \"spanner.googleapis.com\",\n \"metadata\": {\n \"availableRegions\": \"us-central1,us-east2\"\n }\n }", +"id": "ErrorInfo", +"properties": { +"domain": { +"description": "The logical grouping to which the \"reason\" belongs. The error domain\nis typically the registered service name of the tool or product that\ngenerates the error. Example: \"pubsub.googleapis.com\". If the error is\ngenerated by some common infrastructure, the error domain must be a\nglobally unique value that identifies the infrastructure. For Google API\ninfrastructure, the error domain is \"googleapis.com\".", +"type": "string" +}, +"metadatas": { +"additionalProperties": { +"type": "string" +}, +"description": "Additional structured details about this error.\n\nKeys must match a regular expression of `a-z+` but should\nideally be lowerCamelCase. Also, they must be limited to 64 characters in\nlength. When identifying the current value of an exceeded limit, the units\nshould be contained in the key, not the value. For example, rather than\n`{\"instanceLimit\": \"100/request\"}`, should be returned as,\n`{\"instanceLimitPerRequest\": \"100\"}`, if the client exceeds the number of\ninstances that can be created in a single (batch) request.", +"type": "object" +}, +"reason": { +"description": "The reason of the error. This is a constant value that identifies the\nproximate cause of the error. Error reasons are unique within a particular\ndomain of errors. This should be at most 63 characters and match a\nregular expression of `A-Z+[A-Z0-9]`, which represents\nUPPER_SNAKE_CASE.", +"type": "string" +} +}, +"type": "object" +}, +"ExchangedPeeringRoute": { +"id": "ExchangedPeeringRoute", +"properties": { +"destRange": { +"description": "The destination range of the route.", +"type": "string" +}, +"imported": { +"description": "True if the peering route has been imported from a peer. The actual import\nhappens if the field networkPeering.importCustomRoutes is true\nfor this network, and networkPeering.exportCustomRoutes is\ntrue for the peer network, and the import does not result in a route\nconflict.", +"type": "boolean" +}, +"nextHopRegion": { +"description": "The region of peering route next hop, only applies to dynamic routes.", +"type": "string" +}, +"priority": { +"description": "The priority of the peering route.", +"format": "uint32", +"type": "integer" +}, +"type": { +"description": "The type of the peering route.", +"enum": [ +"DYNAMIC_PEERING_ROUTE", +"STATIC_PEERING_ROUTE", +"SUBNET_PEERING_ROUTE" +], +"enumDescriptions": [ +"For routes exported from local network.", +"The peering route.", +"The peering route corresponding to subnetwork range." +], +"type": "string" +} +}, +"type": "object" +}, +"ExchangedPeeringRoutesList": { +"id": "ExchangedPeeringRoutesList", +"properties": { +"id": { +"description": "[Output Only] Unique identifier for the resource; defined by the server.", +"type": "string" +}, +"items": { +"description": "A list of ExchangedPeeringRoute resources.", +"items": { +"$ref": "ExchangedPeeringRoute" +}, +"type": "array" +}, +"kind": { +"default": "compute#exchangedPeeringRoutesList", +"description": "Output only. [Output Only] Type of resource. Alwayscompute#exchangedPeeringRoutesList for exchanged peering\nroutes lists.", +"readOnly": true, +"type": "string" +}, +"nextPageToken": { +"description": "[Output Only] This token allows you to get the next page of results for\nlist requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for\nthe query parameter pageToken in the next list request.\nSubsequent list requests will have their own nextPageToken to\ncontinue paging through the results.", +"type": "string" +}, +"selfLink": { +"description": "Output only. [Output Only] Server-defined URL for this resource.", +"readOnly": true, +"type": "string" +}, +"warning": { +"description": "[Output Only] Informational warning message.", +"properties": { +"code": { +"description": "[Output Only] A warning code, if applicable. For example, Compute\nEngine returns NO_RESULTS_ON_PAGE if there\nare no results in the response.", +"enum": [ +"CLEANUP_FAILED", +"DEPRECATED_RESOURCE_USED", +"DEPRECATED_TYPE_USED", +"DISK_SIZE_LARGER_THAN_IMAGE_SIZE", +"EXPERIMENTAL_TYPE_USED", +"EXTERNAL_API_WARNING", +"FIELD_VALUE_OVERRIDEN", +"INJECTED_KERNELS_DEPRECATED", +"INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", +"LARGE_DEPLOYMENT_WARNING", +"LIST_OVERHEAD_QUOTA_EXCEED", +"MISSING_TYPE_DEPENDENCY", +"NEXT_HOP_ADDRESS_NOT_ASSIGNED", +"NEXT_HOP_CANNOT_IP_FORWARD", +"NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", +"NEXT_HOP_INSTANCE_NOT_FOUND", +"NEXT_HOP_INSTANCE_NOT_ON_NETWORK", +"NEXT_HOP_NOT_RUNNING", +"NOT_CRITICAL_ERROR", +"NO_RESULTS_ON_PAGE", +"PARTIAL_SUCCESS", +"QUOTA_INFO_UNAVAILABLE", +"REQUIRED_TOS_AGREEMENT", +"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", +"RESOURCE_NOT_DELETED", +"SCHEMA_VALIDATION_IGNORED", +"SINGLE_INSTANCE_PROPERTY_TEMPLATE", +"UNDECLARED_PROPERTIES", +"UNREACHABLE" +], +"enumDeprecated": [ +false, +false, +false, +false, +false, +false, +true, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false +], +"enumDescriptions": [ +"Warning about failed cleanup of transient changes made by a failed\noperation.", +"A link to a deprecated resource was created.", +"When deploying and at least one of the resources has a type marked as\ndeprecated", +"The user created a boot disk that is larger than image size.", +"When deploying and at least one of the resources has a type marked as\nexperimental", +"Warning that is present in an external api call", +"Warning that value of a field has been overridden.\nDeprecated unused field.", +"The operation involved use of an injected kernel, which is deprecated.", +"A WEIGHTED_MAGLEV backend service is associated with a health check that is\nnot of type HTTP/HTTPS/HTTP2.", +"When deploying a deployment with a exceedingly large number of resources", +"Resource can't be retrieved due to list overhead quota exceed\nwhich captures the amount of resources filtered out by\nuser-defined list filter.", +"A resource depends on a missing type", +"The route's nextHopIp address is not assigned to an instance on the\nnetwork.", +"The route's next hop instance cannot ip forward.", +"The route's nextHopInstance URL refers to an instance that does not have an\nipv6 interface on the same network as the route.", +"The route's nextHopInstance URL refers to an instance that does not exist.", +"The route's nextHopInstance URL refers to an instance that is not on the\nsame network as the route.", +"The route's next hop instance does not have a status of RUNNING.", +"Error which is not critical. We decided to continue the process despite\nthe mentioned error.", +"No results are present on a particular list page.", +"Success is reported, but some results may be missing due to errors", +"Quota information is not available to client requests (e.g:\nregions.list).", +"The user attempted to use a resource that requires a TOS they have not\naccepted.", +"Warning that a resource is in use.", +"One or more of the resources set to auto-delete could not be deleted\nbecause they were in use.", +"When a resource schema validation is ignored.", +"Instance template used in instance group manager is valid as such, but\nits application does not make a lot of sense, because it allows only\nsingle instance in instance group.", +"When undeclared properties in the schema are present", +"A given scope cannot be reached." +], +"type": "string" +}, +"data": { +"description": "[Output Only] Metadata about this warning in key:\nvalue format. For example:\n\n\"data\": [\n {\n \"key\": \"scope\",\n \"value\": \"zones/us-east1-d\"\n }", +"items": { +"properties": { +"key": { +"description": "[Output Only] A key that provides more detail on the warning being\nreturned. For example, for warnings where there are no results in a list\nrequest for a particular zone, this key might be scope and\nthe key value might be the zone name. Other examples might be a key\nindicating a deprecated resource and a suggested replacement, or a\nwarning about invalid network settings (for example, if an instance\nattempts to perform IP forwarding but is not enabled for IP forwarding).", +"type": "string" +}, +"value": { +"description": "[Output Only] A warning data value corresponding to the key.", +"type": "string" +} +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "[Output Only] A human-readable description of the warning code.", +"type": "string" +} +}, +"type": "object" +} +}, +"type": "object" +}, +"Expr": { +"description": "Represents a textual expression in the Common Expression Language (CEL)\nsyntax. CEL is a C-like expression language. The syntax and semantics of CEL\nare documented at https://github.com/google/cel-spec.\n\nExample (Comparison):\n\n title: \"Summary size limit\"\n description: \"Determines if a summary is less than 100 chars\"\n expression: \"document.summary.size() < 100\"\n\nExample (Equality):\n\n title: \"Requestor is owner\"\n description: \"Determines if requestor is the document owner\"\n expression: \"document.owner == request.auth.claims.email\"\n\nExample (Logic):\n\n title: \"Public documents\"\n description: \"Determine whether the document should be publicly visible\"\n expression: \"document.type != 'private' && document.type != 'internal'\"\n\nExample (Data Manipulation):\n\n title: \"Notification string\"\n description: \"Create a notification string with a timestamp.\"\n expression: \"'New message received at ' + string(document.create_time)\"\n\nThe exact variables and functions that may be referenced within an expression\nare determined by the service that evaluates it. See the service\ndocumentation for additional information.", +"id": "Expr", +"properties": { +"description": { +"description": "Optional. Description of the expression. This is a longer text which\ndescribes the expression, e.g. when hovered over it in a UI.", +"type": "string" +}, +"expression": { +"description": "Textual representation of an expression in Common Expression Language\nsyntax.", +"type": "string" +}, +"location": { +"description": "Optional. String indicating the location of the expression for error\nreporting, e.g. a file name and a position in the file.", +"type": "string" +}, +"title": { +"description": "Optional. Title for the expression, i.e. a short string describing\nits purpose. This can be used e.g. in UIs which allow to enter the\nexpression.", +"type": "string" +} +}, +"type": "object" +}, +"ExternalVpnGateway": { +"description": "Represents an external VPN gateway.\n\nExternal VPN gateway is the on-premises VPN gateway(s) or another cloud\nprovider's VPN gateway that connects to your Google Cloud VPN gateway.\n\nTo create a highly available VPN from Google Cloud Platform to your\nVPN gateway or another cloud provider's VPN gateway, you must create a\nexternal VPN gateway resource with information about the other gateway.\n\nFor more information about using external VPN gateways, see\nCreating an HA VPN gateway and tunnel pair to a peer VPN.", +"id": "ExternalVpnGateway", +"properties": { +"creationTimestamp": { +"description": "Output only. [Output Only] Creation timestamp inRFC3339\ntext format.", +"readOnly": true, +"type": "string" +}, +"description": { +"description": "An optional description of this resource. Provide this property when you\ncreate the resource.", +"type": "string" +}, +"id": { +"description": "Output only. [Output Only] The unique identifier for the resource. This identifier is\ndefined by the server.", +"format": "uint64", +"readOnly": true, +"type": "string" +}, +"interfaces": { +"description": "A list of interfaces for this external VPN gateway.\n\nIf your peer-side gateway is an on-premises gateway and non-AWS cloud\nproviders' gateway, at most two interfaces can be provided for an external\nVPN gateway. If your peer side is an AWS virtual private gateway, four\ninterfaces should be provided for an external VPN gateway.", +"items": { +"$ref": "ExternalVpnGatewayInterface" +}, +"type": "array" +}, +"kind": { +"default": "compute#externalVpnGateway", +"description": "Output only. [Output Only] Type of the resource. Alwayscompute#externalVpnGateway for externalVpnGateways.", +"readOnly": true, +"type": "string" +}, +"labelFingerprint": { +"description": "A fingerprint for the labels being applied to this ExternalVpnGateway,\nwhich is essentially a hash of the labels set used for optimistic locking.\nThe fingerprint is initially generated by Compute Engine and changes after\nevery request to modify or update labels. You must always provide an\nup-to-date fingerprint hash in order to update or change labels,\notherwise the request will fail with error412 conditionNotMet.\n\nTo see the latest fingerprint, make a get() request to\nretrieve an ExternalVpnGateway.", +"format": "byte", +"type": "string" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Labels for this resource. These can only be added or modified by thesetLabels method. Each label key/value pair must comply withRFC1035.\nLabel values may be empty.", +"type": "object" +}, +"name": { +"annotations": { +"required": [ +"compute.externalVpnGateways.insert" +] +}, +"description": "Name of the resource. Provided by the client when the resource is created.\nThe name must be 1-63 characters long, and comply withRFC1035.\nSpecifically, the name must be 1-63 characters long and match the regular\nexpression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first\ncharacter must be a lowercase letter, and all following characters must be\na dash, lowercase letter, or digit, except the last character, which cannot\nbe a dash.", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"type": "string" +}, +"params": { +"$ref": "ExternalVpnGatewayParams", +"description": "Input only. [Input Only] Additional params passed with the request, but not persisted\nas part of resource payload." +}, +"redundancyType": { +"description": "Indicates the user-supplied redundancy type of this external VPN gateway.", +"enum": [ +"FOUR_IPS_REDUNDANCY", +"SINGLE_IP_INTERNALLY_REDUNDANT", +"TWO_IPS_REDUNDANCY" +], +"enumDescriptions": [ +"The external VPN gateway has four public IP addresses; at the time of\nwriting this API, the AWS virtual private gateway is an example which has\nfour public IP addresses for high availability connections; there should\nbe two VPN connections in the AWS virtual private gateway , each AWS VPN\nconnection has two public IP addresses; please make sure to put two\npublic IP addresses from one AWS VPN connection into interfaces 0 and 1\nof this external VPN gateway, and put the other two public IP addresses\nfrom another AWS VPN connection into interfaces 2 and 3 of this external\nVPN gateway. When displaying highly available configuration status\nfor the VPN tunnels connected to FOUR_IPS_REDUNDANCY external VPN\ngateway, Google will always detect whether interfaces 0 and 1 are\nconnected on one interface of HA Cloud VPN gateway, and detect whether\ninterfaces 2 and 3 are connected to another interface of the HA Cloud VPN\ngateway.", +"The external VPN gateway has only one public IP address which internally\nprovide redundancy or failover.", +"The external VPN gateway has two public IP addresses which are redundant\nwith each other, the following two types of setup on your on-premises\nside would have this type of redundancy:\n(1) Two separate on-premises gateways, each with one public IP address,\n the two on-premises gateways are redundant with each other.\n(2) A single on-premise gateway with two public IP addresses that are\n redundant with eatch other." +], +"type": "string" +}, +"selfLink": { +"description": "Output only. [Output Only] Server-defined URL for the resource.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"ExternalVpnGatewayInterface": { +"description": "The interface for the external VPN gateway.", +"id": "ExternalVpnGatewayInterface", +"properties": { +"id": { +"description": "The numeric ID of this interface.\nThe allowed input values for this id for different redundancy types of\nexternal VPN gateway:\n \n - SINGLE_IP_INTERNALLY_REDUNDANT - 0\n - TWO_IPS_REDUNDANCY - 0, 1\n - FOUR_IPS_REDUNDANCY - 0, 1, 2, 3", +"format": "uint32", +"type": "integer" +}, +"ipAddress": { +"description": "IP address of the interface in the external VPN gateway. Only IPv4 is\nsupported. This IP address can be either from your on-premise gateway or\nanother Cloud provider's VPN gateway, it cannot be an IP address from\nGoogle Compute Engine.", +"type": "string" +}, +"ipv6Address": { +"description": "IPv6 address of the interface in the external VPN gateway. This IPv6\naddress can be either from your on-premise gateway or another Cloud\nprovider's VPN gateway, it cannot be an IP address from Google Compute\nEngine. Must specify an IPv6 address (not IPV4-mapped) using any format\ndescribed in RFC 4291 (e.g. 2001:db8:0:0:2d9:51:0:0). The output format\nis RFC 5952 format (e.g. 2001:db8::2d9:51:0:0).", +"type": "string" +} +}, +"type": "object" +}, +"ExternalVpnGatewayList": { +"description": "Response to the list request, and contains a list of externalVpnGateways.", +"id": "ExternalVpnGatewayList", +"properties": { +"etag": { +"type": "string" +}, +"id": { +"description": "[Output Only] Unique identifier for the resource; defined by the server.", +"type": "string" +}, +"items": { +"description": "A list of ExternalVpnGateway resources.", +"items": { +"$ref": "ExternalVpnGateway" +}, +"type": "array" +}, +"kind": { +"default": "compute#externalVpnGatewayList", +"description": "Output only. [Output Only] Type of resource. Always compute#externalVpnGatewayList for lists of externalVpnGateways.", +"readOnly": true, +"type": "string" +}, +"nextPageToken": { +"description": "[Output Only] This token allows you to get the next page of results for\nlist requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for\nthe query parameter pageToken in the next list request.\nSubsequent list requests will have their own nextPageToken to\ncontinue paging through the results.", +"type": "string" +}, +"selfLink": { +"description": "Output only. [Output Only] Server-defined URL for this resource.", +"readOnly": true, +"type": "string" +}, +"warning": { +"description": "[Output Only] Informational warning message.", +"properties": { +"code": { +"description": "[Output Only] A warning code, if applicable. For example, Compute\nEngine returns NO_RESULTS_ON_PAGE if there\nare no results in the response.", +"enum": [ +"CLEANUP_FAILED", +"DEPRECATED_RESOURCE_USED", +"DEPRECATED_TYPE_USED", +"DISK_SIZE_LARGER_THAN_IMAGE_SIZE", +"EXPERIMENTAL_TYPE_USED", +"EXTERNAL_API_WARNING", +"FIELD_VALUE_OVERRIDEN", +"INJECTED_KERNELS_DEPRECATED", +"INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", +"LARGE_DEPLOYMENT_WARNING", +"LIST_OVERHEAD_QUOTA_EXCEED", +"MISSING_TYPE_DEPENDENCY", +"NEXT_HOP_ADDRESS_NOT_ASSIGNED", +"NEXT_HOP_CANNOT_IP_FORWARD", +"NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", +"NEXT_HOP_INSTANCE_NOT_FOUND", +"NEXT_HOP_INSTANCE_NOT_ON_NETWORK", +"NEXT_HOP_NOT_RUNNING", +"NOT_CRITICAL_ERROR", +"NO_RESULTS_ON_PAGE", +"PARTIAL_SUCCESS", +"QUOTA_INFO_UNAVAILABLE", +"REQUIRED_TOS_AGREEMENT", +"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", +"RESOURCE_NOT_DELETED", +"SCHEMA_VALIDATION_IGNORED", +"SINGLE_INSTANCE_PROPERTY_TEMPLATE", +"UNDECLARED_PROPERTIES", +"UNREACHABLE" +], +"enumDeprecated": [ +false, +false, +false, +false, +false, +false, +true, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false +], +"enumDescriptions": [ +"Warning about failed cleanup of transient changes made by a failed\noperation.", +"A link to a deprecated resource was created.", +"When deploying and at least one of the resources has a type marked as\ndeprecated", +"The user created a boot disk that is larger than image size.", +"When deploying and at least one of the resources has a type marked as\nexperimental", +"Warning that is present in an external api call", +"Warning that value of a field has been overridden.\nDeprecated unused field.", +"The operation involved use of an injected kernel, which is deprecated.", +"A WEIGHTED_MAGLEV backend service is associated with a health check that is\nnot of type HTTP/HTTPS/HTTP2.", +"When deploying a deployment with a exceedingly large number of resources", +"Resource can't be retrieved due to list overhead quota exceed\nwhich captures the amount of resources filtered out by\nuser-defined list filter.", +"A resource depends on a missing type", +"The route's nextHopIp address is not assigned to an instance on the\nnetwork.", +"The route's next hop instance cannot ip forward.", +"The route's nextHopInstance URL refers to an instance that does not have an\nipv6 interface on the same network as the route.", +"The route's nextHopInstance URL refers to an instance that does not exist.", +"The route's nextHopInstance URL refers to an instance that is not on the\nsame network as the route.", +"The route's next hop instance does not have a status of RUNNING.", +"Error which is not critical. We decided to continue the process despite\nthe mentioned error.", +"No results are present on a particular list page.", +"Success is reported, but some results may be missing due to errors", +"Quota information is not available to client requests (e.g:\nregions.list).", +"The user attempted to use a resource that requires a TOS they have not\naccepted.", +"Warning that a resource is in use.", +"One or more of the resources set to auto-delete could not be deleted\nbecause they were in use.", +"When a resource schema validation is ignored.", +"Instance template used in instance group manager is valid as such, but\nits application does not make a lot of sense, because it allows only\nsingle instance in instance group.", +"When undeclared properties in the schema are present", +"A given scope cannot be reached." +], +"type": "string" +}, +"data": { +"description": "[Output Only] Metadata about this warning in key:\nvalue format. For example:\n\n\"data\": [\n {\n \"key\": \"scope\",\n \"value\": \"zones/us-east1-d\"\n }", +"items": { +"properties": { +"key": { +"description": "[Output Only] A key that provides more detail on the warning being\nreturned. For example, for warnings where there are no results in a list\nrequest for a particular zone, this key might be scope and\nthe key value might be the zone name. Other examples might be a key\nindicating a deprecated resource and a suggested replacement, or a\nwarning about invalid network settings (for example, if an instance\nattempts to perform IP forwarding but is not enabled for IP forwarding).", +"type": "string" +}, +"value": { +"description": "[Output Only] A warning data value corresponding to the key.", +"type": "string" +} +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "[Output Only] A human-readable description of the warning code.", +"type": "string" +} +}, +"type": "object" +} +}, +"type": "object" +}, +"ExternalVpnGatewayParams": { +"id": "ExternalVpnGatewayParams", +"properties": { +"resourceManagerTags": { +"additionalProperties": { +"type": "string" +}, +"description": "Tag keys/values directly bound to this resource.\nTag keys and values have the same definition as resource\nmanager tags. The field is allowed for INSERT\nonly. The keys/values to set on the resource should be specified in\neither ID { : } or Namespaced format\n{ : }.\nFor example the following are valid inputs:\n* {\"tagKeys/333\" : \"tagValues/444\", \"tagKeys/123\" : \"tagValues/456\"}\n* {\"123/environment\" : \"production\", \"345/abc\" : \"xyz\"}\nNote:\n* Invalid combinations of ID & namespaced format is not supported. For\n instance: {\"123/environment\" : \"tagValues/444\"} is invalid.\n* Inconsistent format is not supported. For instance:\n {\"tagKeys/333\" : \"tagValues/444\", \"123/env\" : \"prod\"} is invalid.", +"type": "object" +} +}, +"type": "object" +}, +"FileContentBuffer": { +"id": "FileContentBuffer", +"properties": { +"content": { +"description": "The raw content in the secure keys file.", +"format": "byte", +"type": "string" +}, +"fileType": { +"description": "The file type of source file.", +"enum": [ +"BIN", +"UNDEFINED", +"X509" +], +"enumDescriptions": [ +"", +"", +"" +], +"type": "string" +} +}, +"type": "object" +}, +"Firewall": { +"description": "Represents a Firewall Rule resource.\n\nFirewall rules allow or deny ingress traffic to, and egress traffic from your\ninstances. For more information, readFirewall rules.", +"id": "Firewall", +"properties": { +"allowed": { +"description": "The list of ALLOW rules specified by this firewall. Each rule specifies a\nprotocol and port-range tuple that describes a permitted connection.", +"items": { +"properties": { +"IPProtocol": { +"description": "The IP protocol to which this rule applies. The protocol type is\nrequired when creating a firewall rule. This value can either be one of the\nfollowing well known protocol strings (tcp, udp,icmp, esp, ah, ipip,sctp) or the IP protocol number.", +"type": "string" +}, +"ports": { +"description": "An optional list of ports to which this rule applies.\nThis field is only applicable for the UDP or TCP protocol.\nEach entry must be either an integer or a range.\nIf not specified, this rule applies to connections through any port.\n\nExample inputs include: [\"22\"], [\"80\",\"443\"],\nand [\"12345-12349\"].", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"type": "array" +}, +"creationTimestamp": { +"description": "Output only. [Output Only] Creation timestamp inRFC3339\ntext format.", +"readOnly": true, +"type": "string" +}, +"denied": { +"description": "The list of DENY rules specified by this firewall. Each rule specifies a\nprotocol and port-range tuple that describes a denied connection.", +"items": { +"properties": { +"IPProtocol": { +"description": "The IP protocol to which this rule applies. The protocol type is\nrequired when creating a firewall rule. This value can either be one of the\nfollowing well known protocol strings (tcp, udp,icmp, esp, ah, ipip,sctp) or the IP protocol number.", +"type": "string" +}, +"ports": { +"description": "An optional list of ports to which this rule applies.\nThis field is only applicable for the UDP or TCP protocol.\nEach entry must be either an integer or a range.\nIf not specified, this rule applies to connections through any port.\n\nExample inputs include: [\"22\"], [\"80\",\"443\"],\nand [\"12345-12349\"].", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"type": "array" +}, +"description": { +"description": "An optional description of this resource. Provide this field when you\ncreate the resource.", +"type": "string" +}, +"destinationRanges": { +"description": "If destination ranges are specified, the firewall rule applies only to\ntraffic that has destination IP address in these ranges. These ranges must\nbe expressed inCIDR format. Both IPv4 and IPv6 are supported.", +"items": { +"type": "string" +}, +"type": "array" +}, +"direction": { +"description": "Direction of traffic to which this firewall applies, either `INGRESS` or\n`EGRESS`. The default is `INGRESS`. For `EGRESS` traffic, you cannot\nspecify the sourceTags fields.", +"enum": [ +"EGRESS", +"INGRESS" +], +"enumDescriptions": [ +"Indicates that firewall should apply to outgoing traffic.", +"Indicates that firewall should apply to incoming traffic." +], +"type": "string" +}, +"disabled": { +"description": "Denotes whether the firewall rule is disabled. When set to true, the\nfirewall rule is not enforced and the network behaves as if it did not\nexist. If this is unspecified, the firewall rule will be enabled.", +"type": "boolean" +}, +"enableLogging": { +"deprecated": true, +"description": "Deprecated in favor of enable in LogConfig.\nThis field denotes whether to enable logging for a particular\nfirewall rule. If logging is enabled, logs will be exported t\nCloud Logging.", +"type": "boolean" +}, +"id": { +"description": "Output only. [Output Only] The unique identifier for the resource. This identifier is\ndefined by the server.", +"format": "uint64", +"readOnly": true, +"type": "string" +}, +"kind": { +"default": "compute#firewall", +"description": "Output only. [Output Only] Type of the resource. Always compute#firewall\nfor firewall rules.", +"readOnly": true, +"type": "string" +}, +"logConfig": { +"$ref": "FirewallLogConfig", +"description": "This field denotes the logging options for a particular firewall rule. If\nlogging is enabled, logs will be exported to Cloud Logging." +}, +"name": { +"annotations": { +"required": [ +"compute.firewalls.insert", +"compute.firewalls.patch" +] +}, +"description": "Name of the resource; provided by the client when the resource is created.\nThe name must be 1-63 characters long, and comply withRFC1035.\nSpecifically, the name must be 1-63 characters long and match the regular\nexpression `[a-z]([-a-z0-9]*[a-z0-9])?`. The first character\nmust be a lowercase letter, and all following characters (except for the\nlast character) must be a dash, lowercase letter, or digit. The last\ncharacter must be a lowercase letter or digit.", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"type": "string" +}, +"network": { +"description": "URL of the network resource for this firewall rule. If not\nspecified when creating a firewall rule, the default network\nis used:\n\nglobal/networks/default\n\nIf you choose to specify this field, you can specify the network as a full \nor partial URL. For example, the following are all valid URLs: \n \n - \n https://www.googleapis.com/compute/v1/projects/myproject/global/networks/my-network \n - projects/myproject/global/networks/my-network \n - global/networks/default", +"type": "string" +}, +"params": { +"$ref": "FirewallParams", +"description": "Input only. [Input Only] Additional params passed with the request, but not persisted\nas part of resource payload." +}, +"priority": { +"description": "Priority for this rule.\nThis is an integer between `0` and `65535`, both inclusive.\nThe default value is `1000`.\nRelative priorities determine which rule takes effect if multiple rules\napply. Lower values indicate higher priority. For example, a rule with\npriority `0` has higher precedence than a rule with priority `1`.\nDENY rules take precedence over ALLOW rules if they have equal priority.\nNote that VPC networks have implied\nrules with a priority of `65535`. To avoid conflicts with the implied\nrules, use a priority number less than `65535`.", +"format": "int32", +"type": "integer" +}, +"selfLink": { +"description": "[Output Only] Server-defined URL for the resource.", +"type": "string" +}, +"sourceRanges": { +"description": "If source ranges are specified, the firewall rule applies only to traffic\nthat has a source IP address in these ranges. These ranges must be\nexpressed inCIDR format. One or both of sourceRanges\nand sourceTags may be set.\nIf both fields are set, the rule applies to traffic that has a\nsource IP address within sourceRanges OR a source IP\nfrom a resource with a matching tag listed in thesourceTags field. The connection does not need to match\nboth fields for the rule to\napply. Both IPv4 and IPv6 are supported.", +"items": { +"type": "string" +}, +"type": "array" +}, +"sourceServiceAccounts": { +"description": "If source service accounts are specified, the firewall rules apply only to\ntraffic originating from an instance with a service account in this list.\nSource service accounts cannot be used to control traffic to an instance's\nexternal IP address because service accounts are associated with an\ninstance, not an IP address.sourceRanges can be set at the same time assourceServiceAccounts.\nIf both are set, the firewall applies to traffic that\nhas a source IP address within the sourceRanges OR a source\nIP that belongs to an instance with service account listed insourceServiceAccount. The connection does not need to match\nboth fields for the firewall to apply.sourceServiceAccounts cannot be used at the same time assourceTags or targetTags.", +"items": { +"type": "string" +}, +"type": "array" +}, +"sourceTags": { +"description": "If source tags are specified, the firewall rule applies only to traffic\nwith source IPs that match the primary network interfaces of VM instances\nthat have the tag and are in the same VPC network.\nSource tags cannot be used to control traffic to an instance's external IP\naddress, it only applies to traffic between instances in the same virtual\nnetwork. Because tags are associated with instances, not IP addresses.\nOne or both of sourceRanges and sourceTags may be\nset. If both fields are set, the firewall applies to traffic that has a\nsource IP address within sourceRanges OR a source IP from a\nresource with a matching tag listed in the sourceTags\nfield. The connection does not need to match both fields for the\nfirewall to apply.", +"items": { +"type": "string" +}, +"type": "array" +}, +"targetServiceAccounts": { +"description": "A list of service accounts indicating sets of instances located in the\nnetwork that may make network connections as specified inallowed[].targetServiceAccounts cannot be used at the same time astargetTags or sourceTags.\nIf neither targetServiceAccounts nor targetTags\nare specified, the firewall rule applies to all instances on the specified\nnetwork.", +"items": { +"type": "string" +}, +"type": "array" +}, +"targetTags": { +"description": "A list of tags that controls which instances the firewall rule\napplies to. If targetTags are specified, then the firewall\nrule applies only to instances in the VPC network that have one of those\ntags. If no targetTags are specified, the firewall rule\napplies to all instances on the specified network.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"FirewallList": { +"description": "Contains a list of firewalls.", +"id": "FirewallList", +"properties": { +"id": { +"description": "[Output Only] Unique identifier for the resource; defined by the server.", +"type": "string" +}, +"items": { +"description": "A list of Firewall resources.", +"items": { +"$ref": "Firewall" +}, +"type": "array" +}, +"kind": { +"default": "compute#firewallList", +"description": "Output only. [Output Only] Type of resource. Always compute#firewallList\nfor lists of firewalls.", +"readOnly": true, +"type": "string" +}, +"nextPageToken": { +"description": "[Output Only] This token allows you to get the next page of results for\nlist requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for\nthe query parameter pageToken in the next list request.\nSubsequent list requests will have their own nextPageToken to\ncontinue paging through the results.", +"type": "string" +}, +"selfLink": { +"description": "Output only. [Output Only] Server-defined URL for this resource.", +"readOnly": true, +"type": "string" +}, +"warning": { +"description": "[Output Only] Informational warning message.", +"properties": { +"code": { +"description": "[Output Only] A warning code, if applicable. For example, Compute\nEngine returns NO_RESULTS_ON_PAGE if there\nare no results in the response.", +"enum": [ +"CLEANUP_FAILED", +"DEPRECATED_RESOURCE_USED", +"DEPRECATED_TYPE_USED", +"DISK_SIZE_LARGER_THAN_IMAGE_SIZE", +"EXPERIMENTAL_TYPE_USED", +"EXTERNAL_API_WARNING", +"FIELD_VALUE_OVERRIDEN", +"INJECTED_KERNELS_DEPRECATED", +"INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", +"LARGE_DEPLOYMENT_WARNING", +"LIST_OVERHEAD_QUOTA_EXCEED", +"MISSING_TYPE_DEPENDENCY", +"NEXT_HOP_ADDRESS_NOT_ASSIGNED", +"NEXT_HOP_CANNOT_IP_FORWARD", +"NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", +"NEXT_HOP_INSTANCE_NOT_FOUND", +"NEXT_HOP_INSTANCE_NOT_ON_NETWORK", +"NEXT_HOP_NOT_RUNNING", +"NOT_CRITICAL_ERROR", +"NO_RESULTS_ON_PAGE", +"PARTIAL_SUCCESS", +"QUOTA_INFO_UNAVAILABLE", +"REQUIRED_TOS_AGREEMENT", +"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", +"RESOURCE_NOT_DELETED", +"SCHEMA_VALIDATION_IGNORED", +"SINGLE_INSTANCE_PROPERTY_TEMPLATE", +"UNDECLARED_PROPERTIES", +"UNREACHABLE" +], +"enumDeprecated": [ +false, +false, +false, +false, +false, +false, +true, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false +], +"enumDescriptions": [ +"Warning about failed cleanup of transient changes made by a failed\noperation.", +"A link to a deprecated resource was created.", +"When deploying and at least one of the resources has a type marked as\ndeprecated", +"The user created a boot disk that is larger than image size.", +"When deploying and at least one of the resources has a type marked as\nexperimental", +"Warning that is present in an external api call", +"Warning that value of a field has been overridden.\nDeprecated unused field.", +"The operation involved use of an injected kernel, which is deprecated.", +"A WEIGHTED_MAGLEV backend service is associated with a health check that is\nnot of type HTTP/HTTPS/HTTP2.", +"When deploying a deployment with a exceedingly large number of resources", +"Resource can't be retrieved due to list overhead quota exceed\nwhich captures the amount of resources filtered out by\nuser-defined list filter.", +"A resource depends on a missing type", +"The route's nextHopIp address is not assigned to an instance on the\nnetwork.", +"The route's next hop instance cannot ip forward.", +"The route's nextHopInstance URL refers to an instance that does not have an\nipv6 interface on the same network as the route.", +"The route's nextHopInstance URL refers to an instance that does not exist.", +"The route's nextHopInstance URL refers to an instance that is not on the\nsame network as the route.", +"The route's next hop instance does not have a status of RUNNING.", +"Error which is not critical. We decided to continue the process despite\nthe mentioned error.", +"No results are present on a particular list page.", +"Success is reported, but some results may be missing due to errors", +"Quota information is not available to client requests (e.g:\nregions.list).", +"The user attempted to use a resource that requires a TOS they have not\naccepted.", +"Warning that a resource is in use.", +"One or more of the resources set to auto-delete could not be deleted\nbecause they were in use.", +"When a resource schema validation is ignored.", +"Instance template used in instance group manager is valid as such, but\nits application does not make a lot of sense, because it allows only\nsingle instance in instance group.", +"When undeclared properties in the schema are present", +"A given scope cannot be reached." +], +"type": "string" +}, +"data": { +"description": "[Output Only] Metadata about this warning in key:\nvalue format. For example:\n\n\"data\": [\n {\n \"key\": \"scope\",\n \"value\": \"zones/us-east1-d\"\n }", +"items": { +"properties": { +"key": { +"description": "[Output Only] A key that provides more detail on the warning being\nreturned. For example, for warnings where there are no results in a list\nrequest for a particular zone, this key might be scope and\nthe key value might be the zone name. Other examples might be a key\nindicating a deprecated resource and a suggested replacement, or a\nwarning about invalid network settings (for example, if an instance\nattempts to perform IP forwarding but is not enabled for IP forwarding).", +"type": "string" +}, +"value": { +"description": "[Output Only] A warning data value corresponding to the key.", +"type": "string" +} +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "[Output Only] A human-readable description of the warning code.", +"type": "string" +} +}, +"type": "object" +} +}, +"type": "object" +}, +"FirewallLogConfig": { +"description": "The available logging options for a firewall rule.", +"id": "FirewallLogConfig", +"properties": { +"enable": { +"description": "This field denotes whether to enable logging for a particular firewall\nrule.", +"type": "boolean" +}, +"metadata": { +"description": "This field can only be specified for a particular firewall rule if\nlogging is enabled for that rule. This field denotes whether to include\nor exclude metadata for firewall logs.", +"enum": [ +"EXCLUDE_ALL_METADATA", +"INCLUDE_ALL_METADATA" +], +"enumDescriptions": [ +"", +"" +], +"type": "string" +} +}, +"type": "object" +}, +"FirewallParams": { +"description": "Additional firewall parameters.", +"id": "FirewallParams", +"properties": { +"resourceManagerTags": { +"additionalProperties": { +"type": "string" +}, +"description": "Tag keys/values directly bound to this resource.\nTag keys and values have the same definition as resource\nmanager tags. The field is allowed for INSERT\nonly. The keys/values to set on the resource should be specified in\neither ID { : } or Namespaced format\n{ : }.\nFor example the following are valid inputs:\n* {\"tagKeys/333\" : \"tagValues/444\", \"tagKeys/123\" : \"tagValues/456\"}\n* {\"123/environment\" : \"production\", \"345/abc\" : \"xyz\"}\nNote:\n* Invalid combinations of ID & namespaced format is not supported. For\n instance: {\"123/environment\" : \"tagValues/444\"} is invalid.", +"type": "object" +} +}, +"type": "object" +}, +"FirewallPoliciesListAssociationsResponse": { +"id": "FirewallPoliciesListAssociationsResponse", +"properties": { +"associations": { +"description": "A list of associations.", +"items": { +"$ref": "FirewallPolicyAssociation" +}, +"type": "array" +}, +"kind": { +"default": "compute#firewallPoliciesListAssociationsResponse", +"description": "Output only. [Output Only] Type of firewallPolicy associations. Alwayscompute#FirewallPoliciesListAssociations for lists of\nfirewallPolicy associations.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"FirewallPoliciesScopedList": { +"id": "FirewallPoliciesScopedList", +"properties": { +"firewallPolicies": { +"description": "A list of firewall policies contained in this scope.", +"items": { +"$ref": "FirewallPolicy" +}, +"type": "array" +}, +"warning": { +"description": "Informational warning which replaces the list of firewall policies when\nthe list is empty.", +"properties": { +"code": { +"description": "[Output Only] A warning code, if applicable. For example, Compute\nEngine returns NO_RESULTS_ON_PAGE if there\nare no results in the response.", +"enum": [ +"CLEANUP_FAILED", +"DEPRECATED_RESOURCE_USED", +"DEPRECATED_TYPE_USED", +"DISK_SIZE_LARGER_THAN_IMAGE_SIZE", +"EXPERIMENTAL_TYPE_USED", +"EXTERNAL_API_WARNING", +"FIELD_VALUE_OVERRIDEN", +"INJECTED_KERNELS_DEPRECATED", +"INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", +"LARGE_DEPLOYMENT_WARNING", +"LIST_OVERHEAD_QUOTA_EXCEED", +"MISSING_TYPE_DEPENDENCY", +"NEXT_HOP_ADDRESS_NOT_ASSIGNED", +"NEXT_HOP_CANNOT_IP_FORWARD", +"NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", +"NEXT_HOP_INSTANCE_NOT_FOUND", +"NEXT_HOP_INSTANCE_NOT_ON_NETWORK", +"NEXT_HOP_NOT_RUNNING", +"NOT_CRITICAL_ERROR", +"NO_RESULTS_ON_PAGE", +"PARTIAL_SUCCESS", +"QUOTA_INFO_UNAVAILABLE", +"REQUIRED_TOS_AGREEMENT", +"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", +"RESOURCE_NOT_DELETED", +"SCHEMA_VALIDATION_IGNORED", +"SINGLE_INSTANCE_PROPERTY_TEMPLATE", +"UNDECLARED_PROPERTIES", +"UNREACHABLE" +], +"enumDeprecated": [ +false, +false, +false, +false, +false, +false, +true, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false +], +"enumDescriptions": [ +"Warning about failed cleanup of transient changes made by a failed\noperation.", +"A link to a deprecated resource was created.", +"When deploying and at least one of the resources has a type marked as\ndeprecated", +"The user created a boot disk that is larger than image size.", +"When deploying and at least one of the resources has a type marked as\nexperimental", +"Warning that is present in an external api call", +"Warning that value of a field has been overridden.\nDeprecated unused field.", +"The operation involved use of an injected kernel, which is deprecated.", +"A WEIGHTED_MAGLEV backend service is associated with a health check that is\nnot of type HTTP/HTTPS/HTTP2.", +"When deploying a deployment with a exceedingly large number of resources", +"Resource can't be retrieved due to list overhead quota exceed\nwhich captures the amount of resources filtered out by\nuser-defined list filter.", +"A resource depends on a missing type", +"The route's nextHopIp address is not assigned to an instance on the\nnetwork.", +"The route's next hop instance cannot ip forward.", +"The route's nextHopInstance URL refers to an instance that does not have an\nipv6 interface on the same network as the route.", +"The route's nextHopInstance URL refers to an instance that does not exist.", +"The route's nextHopInstance URL refers to an instance that is not on the\nsame network as the route.", +"The route's next hop instance does not have a status of RUNNING.", +"Error which is not critical. We decided to continue the process despite\nthe mentioned error.", +"No results are present on a particular list page.", +"Success is reported, but some results may be missing due to errors", +"Quota information is not available to client requests (e.g:\nregions.list).", +"The user attempted to use a resource that requires a TOS they have not\naccepted.", +"Warning that a resource is in use.", +"One or more of the resources set to auto-delete could not be deleted\nbecause they were in use.", +"When a resource schema validation is ignored.", +"Instance template used in instance group manager is valid as such, but\nits application does not make a lot of sense, because it allows only\nsingle instance in instance group.", +"When undeclared properties in the schema are present", +"A given scope cannot be reached." +], +"type": "string" +}, +"data": { +"description": "[Output Only] Metadata about this warning in key:\nvalue format. For example:\n\n\"data\": [\n {\n \"key\": \"scope\",\n \"value\": \"zones/us-east1-d\"\n }", +"items": { +"properties": { +"key": { +"description": "[Output Only] A key that provides more detail on the warning being\nreturned. For example, for warnings where there are no results in a list\nrequest for a particular zone, this key might be scope and\nthe key value might be the zone name. Other examples might be a key\nindicating a deprecated resource and a suggested replacement, or a\nwarning about invalid network settings (for example, if an instance\nattempts to perform IP forwarding but is not enabled for IP forwarding).", +"type": "string" +}, +"value": { +"description": "[Output Only] A warning data value corresponding to the key.", +"type": "string" +} +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "[Output Only] A human-readable description of the warning code.", +"type": "string" +} +}, +"type": "object" +} +}, +"type": "object" +}, +"FirewallPolicy": { +"description": "Represents a Firewall Policy resource.", +"id": "FirewallPolicy", +"properties": { +"associations": { +"description": "A list of associations that belong to this firewall policy.", +"items": { +"$ref": "FirewallPolicyAssociation" +}, +"type": "array" +}, +"creationTimestamp": { +"description": "Output only. [Output Only] Creation timestamp inRFC3339\ntext format.", +"readOnly": true, +"type": "string" +}, +"description": { +"description": "An optional description of this resource. Provide this property when you\ncreate the resource.", +"type": "string" +}, +"displayName": { +"deprecated": true, +"description": "Deprecated, please use short name instead. User-provided name of the\nOrganization firewall policy. The name should be unique in the organization\nin which the firewall policy is created.\nThis field is not applicable to network firewall policies.\nThis name must be set on creation and cannot be changed.\nThe name must be 1-63 characters long, and comply\nwith RFC1035. Specifically, the name must be 1-63 characters\nlong and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which\nmeans the first character must be a lowercase letter, and all following\ncharacters must be a dash, lowercase letter, or digit, except the last\ncharacter, which cannot be a dash.", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"type": "string" +}, +"fingerprint": { +"description": "Specifies a fingerprint for this resource, which is essentially a hash of\nthe metadata's contents and used for optimistic locking. The\nfingerprint is initially generated by Compute Engine and changes after\nevery request to modify or update metadata. You must always provide an\nup-to-date fingerprint hash in order to update or change metadata,\notherwise the request will fail with error412 conditionNotMet.\n\nTo see the latest fingerprint, make get() request to the\nfirewall policy.", +"format": "byte", +"type": "string" +}, +"id": { +"description": "[Output Only] The unique identifier for the resource. This identifier is\ndefined by the server.", +"format": "uint64", +"type": "string" +}, +"kind": { +"default": "compute#firewallPolicy", +"description": "Output only. [Output only] Type of the resource. Alwayscompute#firewallPolicyfor firewall policies", +"readOnly": true, +"type": "string" +}, +"name": { +"description": "Name of the resource. For Organization Firewall Policies it's a\n[Output Only] numeric ID allocated by Google Cloud which uniquely\nidentifies the Organization Firewall Policy.", +"type": "string" +}, +"packetMirroringRules": { +"description": "A list of packet mirroring rules that belong to this policy.", +"items": { +"$ref": "FirewallPolicyRule" +}, +"type": "array" +}, +"parent": { +"description": "Output only. [Output Only] The parent of the firewall policy.\nThis field is not applicable to network firewall policies.", +"readOnly": true, +"type": "string" +}, +"policySource": { +"description": "Indicates the source of this Firewall Policy. This field is optional on\ncreation and defaults to USER_DEFINED.\n\nThe USER_DEFINED value indicates a regular firewall policy.\n\nThe SYSTEM value indicates a system-level policy managed by an\ninternal service like GKE. This SYSTEM value is reserved for\ninternal services and cannot be set by users during policy creation.\nPolicies with a SYSTEM source cannot be modified or deleted by\nusers.", +"enum": [ +"SYSTEM", +"USER_DEFINED" +], +"enumDescriptions": [ +"", +"" +], +"type": "string" +}, +"policyType": { +"description": "The type of the firewall policy. This field can be eitherVPC_POLICY or RDMA_ROCE_POLICY.\n\nNote: if not specified then VPC_POLICY will be used.", +"enum": [ +"RDMA_FALCON_POLICY", +"RDMA_ROCE_POLICY", +"ULL_POLICY", +"VPC_POLICY" +], +"enumDescriptions": [ +"", +"", +"", +"" +], +"type": "string" +}, +"region": { +"description": "Output only. [Output Only] URL of the region where the regional firewall policy resides.\nThis field is not applicable to global firewall policies.\nYou must specify this field as part of the HTTP request URL. It is\nnot settable as a field in the request body.", +"readOnly": true, +"type": "string" +}, +"ruleTupleCount": { +"description": "Output only. [Output Only] Total count of all firewall policy rule tuples. A firewall\npolicy can not exceed a set number of tuples.", +"format": "int32", +"readOnly": true, +"type": "integer" +}, +"rules": { +"description": "A list of rules that belong to this policy.\nThere must always be a default rule (rule with priority 2147483647 and\nmatch \"*\"). If no rules are provided when creating a firewall policy, a\ndefault rule with action \"allow\" will be added.", +"items": { +"$ref": "FirewallPolicyRule" +}, +"type": "array" +}, +"selfLink": { +"description": "[Output Only] Server-defined URL for the resource.", +"type": "string" +}, +"selfLinkWithId": { +"description": "Output only. [Output Only] Server-defined URL for this resource with the resource id.", +"readOnly": true, +"type": "string" +}, +"shortName": { +"description": "User-provided name of the Organization firewall policy. The name should be\nunique in the organization in which the firewall policy is created.\nThis field is not applicable to network firewall policies.\nThis name must be set on creation and cannot be changed. The name must be\n1-63 characters long, and comply with RFC1035.\nSpecifically, the name must be 1-63 characters long and match the regular\nexpression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first\ncharacter must be a lowercase letter, and all following characters must\nbe a dash, lowercase letter, or digit, except the last character, which\ncannot be a dash.", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"type": "string" +} +}, +"type": "object" +}, +"FirewallPolicyAssociation": { +"id": "FirewallPolicyAssociation", +"properties": { +"attachmentTarget": { +"description": "The target that the firewall policy is attached to.", +"type": "string" +}, +"displayName": { +"deprecated": true, +"description": "[Output Only] Deprecated, please use short name instead. The display name\nof the firewall policy of the association.", +"type": "string" +}, +"firewallPolicyId": { +"description": "Output only. [Output Only] The firewall policy ID of the association.", +"readOnly": true, +"type": "string" +}, +"name": { +"description": "The name for an association.", +"type": "string" +}, +"priority": { +"description": "An integer indicating the priority of an association. The priority\nmust be a positive value between 1 and 2147483647.\nFirewall Policies are evaluated from highest to lowest priority where 1\nis the highest priority and 2147483647 is the lowest priority.\nThe default value is `1000`. If two associations have the same priority\nthen lexicographical order on association names is applied.", +"format": "int32", +"type": "integer" +}, +"shortName": { +"description": "Output only. [Output Only] The short name of the firewall policy of the association.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"FirewallPolicyList": { +"id": "FirewallPolicyList", +"properties": { +"id": { +"description": "[Output Only] Unique identifier for the resource; defined by the server.", +"type": "string" +}, +"items": { +"description": "A list of FirewallPolicy resources.", +"items": { +"$ref": "FirewallPolicy" +}, +"type": "array" +}, +"kind": { +"default": "compute#firewallPolicyList", +"description": "Output only. [Output Only] Type of resource. Alwayscompute#firewallPolicyList for listsof FirewallPolicies", +"readOnly": true, +"type": "string" +}, +"nextPageToken": { +"description": "[Output Only] This token allows you to get the next page of results for\nlist requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for\nthe query parameter pageToken in the next list request.\nSubsequent list requests will have their own nextPageToken to\ncontinue paging through the results.", +"type": "string" +}, +"warning": { +"description": "[Output Only] Informational warning message.", +"properties": { +"code": { +"description": "[Output Only] A warning code, if applicable. For example, Compute\nEngine returns NO_RESULTS_ON_PAGE if there\nare no results in the response.", +"enum": [ +"CLEANUP_FAILED", +"DEPRECATED_RESOURCE_USED", +"DEPRECATED_TYPE_USED", +"DISK_SIZE_LARGER_THAN_IMAGE_SIZE", +"EXPERIMENTAL_TYPE_USED", +"EXTERNAL_API_WARNING", +"FIELD_VALUE_OVERRIDEN", +"INJECTED_KERNELS_DEPRECATED", +"INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", +"LARGE_DEPLOYMENT_WARNING", +"LIST_OVERHEAD_QUOTA_EXCEED", +"MISSING_TYPE_DEPENDENCY", +"NEXT_HOP_ADDRESS_NOT_ASSIGNED", +"NEXT_HOP_CANNOT_IP_FORWARD", +"NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", +"NEXT_HOP_INSTANCE_NOT_FOUND", +"NEXT_HOP_INSTANCE_NOT_ON_NETWORK", +"NEXT_HOP_NOT_RUNNING", +"NOT_CRITICAL_ERROR", +"NO_RESULTS_ON_PAGE", +"PARTIAL_SUCCESS", +"QUOTA_INFO_UNAVAILABLE", +"REQUIRED_TOS_AGREEMENT", +"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", +"RESOURCE_NOT_DELETED", +"SCHEMA_VALIDATION_IGNORED", +"SINGLE_INSTANCE_PROPERTY_TEMPLATE", +"UNDECLARED_PROPERTIES", +"UNREACHABLE" +], +"enumDeprecated": [ +false, +false, +false, +false, +false, +false, +true, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false +], +"enumDescriptions": [ +"Warning about failed cleanup of transient changes made by a failed\noperation.", +"A link to a deprecated resource was created.", +"When deploying and at least one of the resources has a type marked as\ndeprecated", +"The user created a boot disk that is larger than image size.", +"When deploying and at least one of the resources has a type marked as\nexperimental", +"Warning that is present in an external api call", +"Warning that value of a field has been overridden.\nDeprecated unused field.", +"The operation involved use of an injected kernel, which is deprecated.", +"A WEIGHTED_MAGLEV backend service is associated with a health check that is\nnot of type HTTP/HTTPS/HTTP2.", +"When deploying a deployment with a exceedingly large number of resources", +"Resource can't be retrieved due to list overhead quota exceed\nwhich captures the amount of resources filtered out by\nuser-defined list filter.", +"A resource depends on a missing type", +"The route's nextHopIp address is not assigned to an instance on the\nnetwork.", +"The route's next hop instance cannot ip forward.", +"The route's nextHopInstance URL refers to an instance that does not have an\nipv6 interface on the same network as the route.", +"The route's nextHopInstance URL refers to an instance that does not exist.", +"The route's nextHopInstance URL refers to an instance that is not on the\nsame network as the route.", +"The route's next hop instance does not have a status of RUNNING.", +"Error which is not critical. We decided to continue the process despite\nthe mentioned error.", +"No results are present on a particular list page.", +"Success is reported, but some results may be missing due to errors", +"Quota information is not available to client requests (e.g:\nregions.list).", +"The user attempted to use a resource that requires a TOS they have not\naccepted.", +"Warning that a resource is in use.", +"One or more of the resources set to auto-delete could not be deleted\nbecause they were in use.", +"When a resource schema validation is ignored.", +"Instance template used in instance group manager is valid as such, but\nits application does not make a lot of sense, because it allows only\nsingle instance in instance group.", +"When undeclared properties in the schema are present", +"A given scope cannot be reached." +], +"type": "string" +}, +"data": { +"description": "[Output Only] Metadata about this warning in key:\nvalue format. For example:\n\n\"data\": [\n {\n \"key\": \"scope\",\n \"value\": \"zones/us-east1-d\"\n }", +"items": { +"properties": { +"key": { +"description": "[Output Only] A key that provides more detail on the warning being\nreturned. For example, for warnings where there are no results in a list\nrequest for a particular zone, this key might be scope and\nthe key value might be the zone name. Other examples might be a key\nindicating a deprecated resource and a suggested replacement, or a\nwarning about invalid network settings (for example, if an instance\nattempts to perform IP forwarding but is not enabled for IP forwarding).", +"type": "string" +}, +"value": { +"description": "[Output Only] A warning data value corresponding to the key.", +"type": "string" +} +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "[Output Only] A human-readable description of the warning code.", +"type": "string" +} +}, +"type": "object" +} +}, +"type": "object" +}, +"FirewallPolicyRule": { +"description": "Represents a rule that describes one or more match conditions along with\nthe action to be taken when traffic matches this condition (allow or deny).", +"id": "FirewallPolicyRule", +"properties": { +"action": { +"description": "The Action to perform when the client connection triggers the rule.\nValid actions for firewall rules are: \"allow\", \"deny\",\n\"apply_security_profile_group\" and \"goto_next\".\nValid actions for packet mirroring rules are: \"mirror\", \"do_not_mirror\"\nand \"goto_next\".", +"type": "string" +}, +"description": { +"description": "An optional description for this resource.", +"type": "string" +}, +"direction": { +"description": "The direction in which this rule applies.", +"enum": [ +"EGRESS", +"INGRESS" +], +"enumDescriptions": [ +"", +"" +], +"type": "string" +}, +"disabled": { +"description": "Denotes whether the firewall policy rule is disabled. When set to true,\nthe firewall policy rule is not enforced and traffic behaves as if it did\nnot exist. If this is unspecified, the firewall policy rule will be\nenabled.", +"type": "boolean" +}, +"enableLogging": { +"description": "Denotes whether to enable logging for a particular rule. If logging is\nenabled, logs will be exported to the configured export destination in\nStackdriver. Logs may be exported to BigQuery or Pub/Sub. Note: you\ncannot enable logging on \"goto_next\" rules.", +"type": "boolean" +}, +"kind": { +"default": "compute#firewallPolicyRule", +"description": "Output only. [Output only] Type of the resource. Returnscompute#firewallPolicyRule for firewall rules andcompute#packetMirroringRule for packet mirroring rules.", +"readOnly": true, +"type": "string" +}, +"match": { +"$ref": "FirewallPolicyRuleMatcher", +"description": "A match condition that incoming traffic is evaluated against.\nIf it evaluates to true, the corresponding 'action' is enforced." +}, +"priority": { +"description": "An integer indicating the priority of a rule in the list. The priority\nmust be a positive value between 0 and 2147483647.\nRules are evaluated from highest to lowest priority where 0 is the\nhighest priority and 2147483647 is the lowest priority.", +"format": "int32", +"type": "integer" +}, +"ruleName": { +"description": "An optional name for the rule. This field is not a unique identifier\nand can be updated.", +"type": "string" +}, +"ruleTupleCount": { +"description": "Output only. [Output Only] Calculation of the complexity of a single firewall policy\nrule.", +"format": "int32", +"readOnly": true, +"type": "integer" +}, +"securityProfileGroup": { +"description": "A fully-qualified URL of a SecurityProfile resource instance.\nExample:\nhttps://networksecurity.googleapis.com/v1/projects/{project}/locations/{location}/securityProfileGroups/my-security-profile-group\nMust be specified if action is one of 'apply_security_profile_group' or\n'mirror'. Cannot be specified for other actions.", +"type": "string" +}, +"targetForwardingRules": { +"description": "A list of forwarding rules to which this rule applies.\nThis field allows you to control which load balancers get this rule.\nFor example, the following are valid values:\n \n \n - https://www.googleapis.com/compute/v1/projects/project/global/forwardingRules/forwardingRule\n - https://www.googleapis.com/compute/v1/projects/project/regions/region/forwardingRules/forwardingRule\n - projects/project/global/\n forwardingRules/forwardingRule\n - projects/project/regions/region/forwardingRules/\n forwardingRule", +"items": { +"type": "string" +}, +"type": "array" +}, +"targetResources": { +"description": "A list of network resource URLs to which this rule applies. This field\nallows you to control which network's VMs get this rule. If this field\nis left blank, all VMs within the organization will receive the rule.", +"items": { +"type": "string" +}, +"type": "array" +}, +"targetSecureTags": { +"description": "A list of secure tags that controls which instances the firewall rule\napplies to. If targetSecureTag are specified, then the\nfirewall rule applies only to instances in the VPC network that have one\nof those EFFECTIVE secure tags, if all the target_secure_tag are in\nINEFFECTIVE state, then this rule will be ignored.targetSecureTag may not be set at the same time astargetServiceAccounts.\nIf neither targetServiceAccounts nortargetSecureTag are specified, the firewall rule applies\nto all instances on the specified network.\nMaximum number of target label tags allowed is 256.", +"items": { +"$ref": "FirewallPolicyRuleSecureTag" +}, +"type": "array" +}, +"targetServiceAccounts": { +"description": "A list of service accounts indicating the sets of instances that are\napplied with this rule.", +"items": { +"type": "string" +}, +"type": "array" +}, +"targetType": { +"description": "Target types of the firewall policy rule.\nDefault value is INSTANCES.", +"enum": [ +"INSTANCES", +"INTERNAL_MANAGED_LB" +], +"enumDescriptions": [ +"", +"" +], +"type": "string" +}, +"tlsInspect": { +"description": "Boolean flag indicating if the traffic should be TLS decrypted.\nCan be set only if action = 'apply_security_profile_group' and cannot\nbe set for other actions.", +"type": "boolean" +} +}, +"type": "object" +}, +"FirewallPolicyRuleMatcher": { +"description": "Represents a match condition that incoming traffic is evaluated against.\nExactly one field must be specified.", +"id": "FirewallPolicyRuleMatcher", +"properties": { +"destAddressGroups": { +"description": "Address groups which should be matched against the traffic destination.\nMaximum number of destination address groups is 10.", +"items": { +"type": "string" +}, +"type": "array" +}, +"destFqdns": { +"description": "Fully Qualified Domain Name (FQDN) which should be matched against\ntraffic destination.\nMaximum number of destination fqdn allowed is 100.", +"items": { +"type": "string" +}, +"type": "array" +}, +"destIpRanges": { +"description": "CIDR IP address range.\nMaximum number of destination CIDR IP ranges allowed is 5000.", +"items": { +"type": "string" +}, +"type": "array" +}, +"destNetworkContext": { +"description": "Network context of the traffic destination. Allowed values are:\n \n \n - UNSPECIFIED\n - INTERNET\n - NON_INTERNET", +"enum": [ +"INTERNET", +"INTRA_VPC", +"NON_INTERNET", +"UNSPECIFIED", +"VPC_NETWORKS" +], +"enumDescriptions": [ +"", +"", +"", +"", +"" +], +"type": "string" +}, +"destNetworkScope": { +"description": "Network scope of the traffic destination.", +"enum": [ +"INTERNET", +"INTRA_VPC", +"NON_INTERNET", +"UNSPECIFIED", +"VPC_NETWORKS" +], +"enumDescriptions": [ +"", +"", +"", +"", +"" +], +"type": "string" +}, +"destNetworkType": { +"description": "Network type of the traffic destination. Allowed values are:\n \n \n - UNSPECIFIED\n - INTERNET\n - NON_INTERNET", +"enum": [ +"INTERNET", +"INTRA_VPC", +"NON_INTERNET", +"UNSPECIFIED", +"VPC_NETWORKS" +], +"enumDescriptions": [ +"", +"", +"", +"", +"" +], +"type": "string" +}, +"destRegionCodes": { +"description": "Region codes whose IP addresses will be used to match for destination\nof traffic. Should be specified as 2 letter country code defined as per\nISO 3166 alpha-2 country codes. ex.\"US\"\nMaximum number of dest region codes allowed is 5000.", +"items": { +"type": "string" +}, +"type": "array" +}, +"destThreatIntelligences": { +"description": "Names of Network Threat Intelligence lists.\nThe IPs in these lists will be matched against traffic destination.", +"items": { +"type": "string" +}, +"type": "array" +}, +"layer4Configs": { +"description": "Pairs of IP protocols and ports that the rule should match.", +"items": { +"$ref": "FirewallPolicyRuleMatcherLayer4Config" +}, +"type": "array" +}, +"srcAddressGroups": { +"description": "Address groups which should be matched against the traffic source.\nMaximum number of source address groups is 10.", +"items": { +"type": "string" +}, +"type": "array" +}, +"srcFqdns": { +"description": "Fully Qualified Domain Name (FQDN) which should be matched against\ntraffic source.\nMaximum number of source fqdn allowed is 100.", +"items": { +"type": "string" +}, +"type": "array" +}, +"srcIpRanges": { +"description": "CIDR IP address range.\nMaximum number of source CIDR IP ranges allowed is 5000.", +"items": { +"type": "string" +}, +"type": "array" +}, +"srcNetworkContext": { +"description": "Network context of the traffic source. Allowed values are:\n \n \n - UNSPECIFIED\n - INTERNET\n - INTRA_VPC\n - NON_INTERNET\n - VPC_NETWORKS", +"enum": [ +"INTERNET", +"INTRA_VPC", +"NON_INTERNET", +"UNSPECIFIED", +"VPC_NETWORKS" +], +"enumDescriptions": [ +"", +"", +"", +"", +"" +], +"type": "string" +}, +"srcNetworkScope": { +"description": "Network scope of the traffic source.", +"enum": [ +"INTERNET", +"INTRA_VPC", +"NON_INTERNET", +"UNSPECIFIED", +"VPC_NETWORKS" +], +"enumDescriptions": [ +"", +"", +"", +"", +"" +], +"type": "string" +}, +"srcNetworkType": { +"description": "Network type of the traffic source. Allowed values are:\n \n \n - UNSPECIFIED\n - INTERNET\n - INTRA_VPC\n - NON_INTERNET\n - VPC_NETWORKS", +"enum": [ +"INTERNET", +"INTRA_VPC", +"NON_INTERNET", +"UNSPECIFIED", +"VPC_NETWORKS" +], +"enumDescriptions": [ +"", +"", +"", +"", +"" +], +"type": "string" +}, +"srcNetworks": { +"description": "Networks of the traffic source. It can be either a full or partial url.", +"items": { +"type": "string" +}, +"type": "array" +}, +"srcRegionCodes": { +"description": "Region codes whose IP addresses will be used to match for source\nof traffic. Should be specified as 2 letter country code defined as per\nISO 3166 alpha-2 country codes. ex.\"US\"\nMaximum number of source region codes allowed is 5000.", +"items": { +"type": "string" +}, +"type": "array" +}, +"srcSecureTags": { +"description": "List of secure tag values, which should be matched at the source\nof the traffic.\nFor INGRESS rule, if all the srcSecureTag are INEFFECTIVE,\nand there is no srcIpRange, this rule will be ignored.\nMaximum number of source tag values allowed is 256.", +"items": { +"$ref": "FirewallPolicyRuleSecureTag" +}, +"type": "array" +}, +"srcThreatIntelligences": { +"description": "Names of Network Threat Intelligence lists.\nThe IPs in these lists will be matched against traffic source.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"FirewallPolicyRuleMatcherLayer4Config": { +"id": "FirewallPolicyRuleMatcherLayer4Config", +"properties": { +"ipProtocol": { +"description": "The IP protocol to which this rule applies. The protocol type is\nrequired when creating a firewall rule. This value can either be\none of the following well known protocol strings (tcp,udp, icmp, esp,ah, ipip, sctp), or the IP\nprotocol number.", +"type": "string" +}, +"ports": { +"description": "An optional list of ports to which this rule applies. This field is\nonly applicable for UDP or TCP protocol. Each entry must be either\nan integer or a range. If not specified, this rule applies to\nconnections through any port.\n\nExample inputs include: [\"22\"],[\"80\",\"443\"], and [\"12345-12349\"].", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"FirewallPolicyRuleSecureTag": { +"id": "FirewallPolicyRuleSecureTag", +"properties": { +"name": { +"description": "Name of the secure tag, created with TagManager's TagValue API.", +"pattern": "tagValues/[0-9]+", +"type": "string" +}, +"state": { +"description": "Output only. [Output Only] State of the secure tag, either `EFFECTIVE` or\n`INEFFECTIVE`. A secure tag is `INEFFECTIVE` when it is deleted\nor its network is deleted.", +"enum": [ +"EFFECTIVE", +"INEFFECTIVE" +], +"enumDescriptions": [ +"", +"" +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"FixedOrPercent": { +"description": "Encapsulates numeric value that can be either absolute or relative.", +"id": "FixedOrPercent", +"properties": { +"calculated": { +"description": "Output only. [Output Only] Absolute value of VM instances calculated based on the\nspecific mode.\n\n \n \n - If the value is fixed, then the calculated\n value is equal to the fixed value.\n - If the value is a percent, then the\n calculated\n value is percent/100 * targetSize. For example,\n the calculated value of a 80% of a managed instance group\n with 150 instances would be (80/100 * 150) = 120 VM instances. If there\n is a remainder, the number is rounded.", +"format": "int32", +"readOnly": true, +"type": "integer" +}, +"fixed": { +"description": "Specifies a fixed number of VM instances. This must be a positive integer.", +"format": "int32", +"type": "integer" +}, +"percent": { +"description": "Specifies a percentage of instances between 0 to 100%, inclusive. For\nexample, specify 80 for 80%.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"FlexibleTimeRange": { +"description": "Specifies a flexible time range with flexible start time and duration.\n\nIt is possible to specify a contradictory time range that cannot be matched\nby any Interval. This causes a validation error.", +"id": "FlexibleTimeRange", +"properties": { +"endTimeNotEarlierThan": { +"format": "google-datetime", +"type": "string" +}, +"endTimeNotLaterThan": { +"format": "google-datetime", +"type": "string" +}, +"maxDuration": { +"format": "google-duration", +"type": "string" +}, +"minDuration": { +"format": "google-duration", +"type": "string" +}, +"startTimeNotEarlierThan": { +"format": "google-datetime", +"type": "string" +}, +"startTimeNotLaterThan": { +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"ForwardingRule": { +"description": "Represents a Forwarding Rule resource.\n\nForwarding rule resources in Google Cloud can be either regional or global in\nscope:\n\n* [Global](https://cloud.google.com/compute/docs/reference/rest/beta/globalForwardingRules)\n* [Regional](https://cloud.google.com/compute/docs/reference/rest/beta/forwardingRules)\n\nA forwarding rule and its corresponding IP address represent the frontend\nconfiguration of a Google Cloud load balancer.\nForwarding rules can also reference target instances and Cloud VPN Classic\ngateways (targetVpnGateway).\n\nFor more information, read\nForwarding rule concepts and\nUsing protocol forwarding.", +"id": "ForwardingRule", +"properties": { +"IPAddress": { +"description": "IP address for which this forwarding rule accepts traffic. When a client\nsends traffic to this IP address, the forwarding rule directs the traffic\nto the referenced target or backendService.\nWhile creating a forwarding rule, specifying an IPAddress is\nrequired under the following circumstances:\n\n \n - When the target is set to targetGrpcProxy andvalidateForProxyless is set to true, theIPAddress should be set to 0.0.0.0.\n - When the target is a Private Service Connect Google APIs\n bundle, you must specify an IPAddress.\n\n\nOtherwise, you can optionally specify an IP address that references an\nexisting static (reserved) IP address resource. When omitted, Google Cloud\nassigns an ephemeral IP address.\n\nUse one of the following formats to specify an IP address while creating a\nforwarding rule:\n\n* IP address number, as in `100.1.2.3`\n* IPv6 address range, as in `2600:1234::/96`\n* Full resource URL, as inhttps://www.googleapis.com/compute/v1/projects/project_id/regions/region/addresses/address-name\n* Partial URL or by name, as in:\n \n - projects/project_id/regions/region/addresses/address-name\n - regions/region/addresses/address-name\n - global/addresses/address-name\n - address-name\n\n\n\nThe forwarding rule's target or backendService,\nand in most cases, also the loadBalancingScheme, determine the\ntype of IP address that you can use. For detailed information, see\n[IP address\nspecifications](https://cloud.google.com/load-balancing/docs/forwarding-rule-concepts#ip_address_specifications).\n\nWhen reading an IPAddress, the API always returns the IP\naddress number.", +"type": "string" +}, +"IPProtocol": { +"description": "The IP protocol to which this rule applies.\n\nFor protocol forwarding, valid\noptions are TCP, UDP, ESP,AH, SCTP, ICMP andL3_DEFAULT.\n\nThe valid IP protocols are different for different load balancing products\nas described in [Load balancing\nfeatures](https://cloud.google.com/load-balancing/docs/features#protocols_from_the_load_balancer_to_the_backends).", +"enum": [ +"AH", +"ESP", +"ICMP", +"L3_DEFAULT", +"SCTP", +"TCP", +"UDP" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"", +"" +], +"type": "string" +}, +"allPorts": { +"description": "The ports, portRange, and allPorts\nfields are mutually exclusive. Only packets addressed to ports in the\nspecified range will be forwarded to the backends configured with this\nforwarding rule.\n\nThe allPorts field has the following limitations:\n \n - It requires that the forwarding rule IPProtocol be TCP,\n UDP, SCTP, or L3_DEFAULT.\n - It's applicable only to the following products: internal passthrough\n Network Load Balancers, backend service-based external passthrough Network\n Load Balancers, and internal and external protocol forwarding.\n - Set this field to true to allow packets addressed to any port or\n packets lacking destination port information (for example, UDP fragments\n after the first fragment) to be forwarded to the backends configured with\n this forwarding rule. The L3_DEFAULT protocol requiresallPorts be set to true.", +"type": "boolean" +}, +"allowGlobalAccess": { +"description": "If set to true, clients can access the internal passthrough Network Load\nBalancers, the regional internal Application Load Balancer, and the\nregional internal proxy Network Load Balancer from all regions.\nIf false, only allows access from the local region the load balancer is\nlocated at. Note that for INTERNAL_MANAGED forwarding rules, this field\ncannot be changed after the forwarding rule is created.", +"type": "boolean" +}, +"allowPscGlobalAccess": { +"description": "This is used in PSC consumer ForwardingRule to control whether the PSC\nendpoint can be accessed from another region.", +"type": "boolean" +}, +"backendService": { +"description": "Identifies the backend service to which the forwarding rule sends traffic.\nRequired for internal and external passthrough Network Load Balancers;\nmust be omitted for all other load balancer types.", +"type": "string" +}, +"baseForwardingRule": { +"description": "Output only. [Output Only] The URL for the corresponding base forwarding rule. By base\nforwarding rule, we mean the forwarding rule that has the same IP address,\nprotocol, and port settings with the current forwarding rule, but without\nsourceIPRanges specified.\nAlways empty if the current forwarding rule does not have sourceIPRanges\nspecified.", +"readOnly": true, +"type": "string" +}, +"creationTimestamp": { +"description": "Output only. [Output Only] Creation timestamp inRFC3339\ntext format.", +"readOnly": true, +"type": "string" +}, +"description": { +"description": "An optional description of this resource. Provide this property when you\ncreate the resource.", +"type": "string" +}, +"externalManagedBackendBucketMigrationState": { +"description": "Specifies the canary migration state for the backend buckets attached to\nthis forwarding rule. Possible values are PREPARE, TEST_BY_PERCENTAGE, and\nTEST_ALL_TRAFFIC.\n\nTo begin the migration from EXTERNAL to EXTERNAL_MANAGED, the state must be\nchanged to PREPARE. The state must be changed to TEST_ALL_TRAFFIC before\nthe loadBalancingScheme can be changed to EXTERNAL_MANAGED. Optionally, the\nTEST_BY_PERCENTAGE state can be used to migrate traffic to backend buckets\nattached to this forwarding rule by percentage using\nexternalManagedBackendBucketMigrationTestingPercentage.\n\nRolling back a migration requires the states to be set in reverse order. So\nchanging the scheme from EXTERNAL_MANAGED to EXTERNAL requires the state to\nbe set to TEST_ALL_TRAFFIC at the same time. Optionally, the\nTEST_BY_PERCENTAGE state can be used to migrate some traffic back to\nEXTERNAL or PREPARE can be used to migrate all traffic back to EXTERNAL.", +"enum": [ +"PREPARE", +"TEST_ALL_TRAFFIC", +"TEST_BY_PERCENTAGE" +], +"enumDescriptions": [ +"", +"", +"" +], +"type": "string" +}, +"externalManagedBackendBucketMigrationTestingPercentage": { +"description": "Determines the fraction of requests to backend buckets that should be\nprocessed by the global external Application Load Balancer.\n\nThe value of this field must be in the range [0, 100].\n\nThis value can only be set if the loadBalancingScheme in the BackendService\nis set to EXTERNAL (when using the classic Application Load Balancer) and\nthe migration state is TEST_BY_PERCENTAGE.", +"format": "float", +"type": "number" +}, +"fingerprint": { +"description": "Fingerprint of this resource. A hash of the contents stored in this object.\nThis field is used in optimistic locking. This field will be ignored when\ninserting a ForwardingRule. Include the fingerprint in patch request to\nensure that you do not overwrite changes that were applied from another\nconcurrent request.\n\nTo see the latest fingerprint, make a get() request to\nretrieve a ForwardingRule.", +"format": "byte", +"type": "string" +}, +"id": { +"description": "[Output Only] The unique identifier for the resource. This identifier is\ndefined by the server.", +"format": "uint64", +"type": "string" +}, +"ipCollection": { +"description": "Resource reference of a PublicDelegatedPrefix. The PDP must\nbe a sub-PDP in EXTERNAL_IPV6_FORWARDING_RULE_CREATION mode.\n\nUse one of the following formats to specify a sub-PDP when creating an IPv6\nNetLB forwarding rule using BYOIP:\nFull resource URL, as inhttps://www.googleapis.com/compute/v1/projects/project_id/regions/region/publicDelegatedPrefixes/sub-pdp-name\nPartial URL, as in:\n \n - projects/project_id/regions/region/publicDelegatedPrefixes/sub-pdp-name\n - regions/region/publicDelegatedPrefixes/sub-pdp-name", +"type": "string" +}, +"ipVersion": { +"description": "The IP Version that will be used by this forwarding rule. Valid options\nare IPV4 or IPV6.", +"enum": [ +"IPV4", +"IPV6", +"UNSPECIFIED_VERSION" +], +"enumDescriptions": [ +"", +"", +"" +], +"type": "string" +}, +"isMirroringCollector": { +"description": "Indicates whether or not this load balancer can be used as a collector for\npacket mirroring. To prevent mirroring loops, instances behind this\nload balancer will not have their traffic mirrored even if aPacketMirroring rule applies to them.\nThis can only be set to true for load balancers that have theirloadBalancingScheme set to INTERNAL.", +"type": "boolean" +}, +"kind": { +"default": "compute#forwardingRule", +"description": "Output only. [Output Only] Type of the resource. Alwayscompute#forwardingRule for forwarding rule resources.", +"readOnly": true, +"type": "string" +}, +"labelFingerprint": { +"description": "A fingerprint for the labels being applied to this resource, which is\nessentially a hash of the labels set used for optimistic locking. The\nfingerprint is initially generated by Compute Engine and changes after\nevery request to modify or update labels. You must always provide an\nup-to-date fingerprint hash in order to update or change labels,\notherwise the request will fail with error412 conditionNotMet.\n\nTo see the latest fingerprint, make a get() request to\nretrieve a ForwardingRule.", +"format": "byte", +"type": "string" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Labels for this resource. These can only be added or modified by thesetLabels method. Each label key/value pair must comply withRFC1035.\nLabel values may be empty.", +"type": "object" +}, +"loadBalancingScheme": { +"description": "Specifies the forwarding rule type.\n\nFor more information about forwarding rules, refer to\nForwarding rule concepts.", +"enum": [ +"EXTERNAL", +"EXTERNAL_MANAGED", +"INTERNAL", +"INTERNAL_MANAGED", +"INTERNAL_SELF_MANAGED", +"INVALID" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"" +], +"type": "string" +}, +"metadataFilters": { +"description": "Opaque filter criteria used by load balancer to restrict routing\nconfiguration to a limited set of xDS\ncompliant clients. In their xDS requests to load balancer, xDS clients\npresent node\nmetadata. When there is a match, the relevant configuration\nis made available to those proxies. Otherwise, all the resources (e.g.TargetHttpProxy, UrlMap)\nreferenced by the ForwardingRule are not visible to\nthose proxies.\n\nFor each metadataFilter in this list, if itsfilterMatchCriteria is set to MATCH_ANY, at least one of thefilterLabels must match the corresponding label provided in\nthe metadata. If its filterMatchCriteria is set to\nMATCH_ALL, then all of its filterLabels must match with\ncorresponding labels provided in the metadata. If multiplemetadataFilters are specified, all of them need to be satisfied\nin order to be considered a match.\n\nmetadataFilters specified here will be applifed before\nthose specified in the UrlMap that thisForwardingRule references.\n\nmetadataFilters only applies to Loadbalancers that have\ntheir loadBalancingScheme set toINTERNAL_SELF_MANAGED.", +"items": { +"$ref": "MetadataFilter" +}, +"type": "array" +}, +"name": { +"description": "Name of the resource; provided by the client when the resource is created.\nThe name must be 1-63 characters long, and comply withRFC1035.\nSpecifically, the name must be 1-63 characters long and match the regular\nexpression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first\ncharacter must be a lowercase letter, and all following characters must\nbe a dash, lowercase letter, or digit, except the last character, which\ncannot be a dash.\n\nFor Private Service Connect forwarding rules that forward traffic to Google\nAPIs, the forwarding rule name must be a 1-20 characters string with\nlowercase letters and numbers and must start with a letter.", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"type": "string" +}, +"network": { +"description": "This field is not used for global external load balancing.\n\nFor internal passthrough Network Load Balancers, this field identifies the\nnetwork that the load balanced IP should belong to for this forwarding\nrule.\nIf the subnetwork is specified, the network of the subnetwork will be used.\nIf neither subnetwork nor this field is specified, the default network will\nbe used.\n\nFor Private Service Connect forwarding rules that forward traffic to Google\nAPIs, a network must be provided.", +"type": "string" +}, +"networkTier": { +"description": "This signifies the networking tier used for configuring\nthis load balancer and can only take the following values:PREMIUM, STANDARD.\n\nFor regional ForwardingRule, the valid values are PREMIUM andSTANDARD. For GlobalForwardingRule, the valid value isPREMIUM.\n\nIf this field is not specified, it is assumed to be PREMIUM.\nIf IPAddress is specified, this value must be equal to the\nnetworkTier of the Address.", +"enum": [ +"FIXED_STANDARD", +"PREMIUM", +"STANDARD", +"STANDARD_OVERRIDES_FIXED_STANDARD" +], +"enumDescriptions": [ +"Public internet quality with fixed bandwidth.", +"High quality, Google-grade network tier, support for all networking\nproducts.", +"Public internet quality, only limited support for other networking\nproducts.", +"(Output only) Temporary tier for FIXED_STANDARD when fixed standard tier\nis expired or not configured." +], +"type": "string" +}, +"noAutomateDnsZone": { +"description": "This is used in PSC consumer ForwardingRule to control whether it should\ntry to auto-generate a DNS zone or not. Non-PSC forwarding rules do not use\nthis field. Once set, this field is not mutable.", +"type": "boolean" +}, +"portRange": { +"description": "The ports, portRange, and allPorts\nfields are mutually exclusive. Only packets addressed to ports in the\nspecified range will be forwarded to the backends configured with this\nforwarding rule.\n\nThe portRange field has the following limitations:\n \n - It requires that the forwarding rule IPProtocol be TCP,\n UDP, or SCTP, and\n - It's applicable only to the following products: external passthrough\n Network Load Balancers, internal and external proxy Network Load Balancers,\n internal and external Application Load Balancers, external protocol\n forwarding, and Classic VPN.\n - Some products have restrictions on what ports can be used. See \n port specifications for details.\n\n\n\nFor external forwarding rules, two or more forwarding rules cannot use the\nsame [IPAddress, IPProtocol] pair, and cannot have overlappingportRanges.\n\nFor internal forwarding rules within the same VPC network, two or more\nforwarding rules cannot use the same [IPAddress, IPProtocol]\npair, and cannot have overlapping portRanges.\n\n@pattern: \\\\d+(?:-\\\\d+)?", +"type": "string" +}, +"ports": { +"description": "The ports, portRange, and allPorts\nfields are mutually exclusive. Only packets addressed to ports in the\nspecified range will be forwarded to the backends configured with this\nforwarding rule.\n\nThe ports field has the following limitations:\n \n - It requires that the forwarding rule IPProtocol be TCP,\n UDP, or SCTP, and\n - It's applicable only to the following products: internal passthrough\n Network Load Balancers, backend service-based external passthrough Network\n Load Balancers, and internal protocol forwarding.\n - You can specify a list of up to five ports by number, separated by\n commas. The ports can be contiguous or discontiguous.\n\n\n\nFor external forwarding rules, two or more forwarding rules cannot use the\nsame [IPAddress, IPProtocol] pair if they share at least one\nport number.\n\nFor internal forwarding rules within the same VPC network, two or more\nforwarding rules cannot use the same [IPAddress, IPProtocol]\npair if they share at least one port number.\n\n@pattern: \\\\d+(?:-\\\\d+)?", +"items": { +"type": "string" +}, +"type": "array" +}, +"pscConnectionId": { +"description": "[Output Only] The PSC connection id of the PSC forwarding rule.", +"format": "uint64", +"type": "string" +}, +"pscConnectionStatus": { +"enum": [ +"ACCEPTED", +"CLOSED", +"NEEDS_ATTENTION", +"PENDING", +"REJECTED", +"STATUS_UNSPECIFIED" +], +"enumDescriptions": [ +"The connection has been accepted by the producer.", +"The connection has been closed by the producer and will not serve traffic\ngoing forward.", +"The connection has been accepted by the producer, but the producer needs\nto take further action before the forwarding rule can serve traffic.", +"The connection is pending acceptance by the producer.", +"The connection has been rejected by the producer.", +"" +], +"readOnly": true, +"type": "string" +}, +"region": { +"description": "Output only. [Output Only] URL of the region where the regional forwarding rule resides.\nThis field is not applicable to global forwarding rules.\nYou must specify this field as part of the HTTP request URL. It is\nnot settable as a field in the request body.", +"readOnly": true, +"type": "string" +}, +"selfLink": { +"description": "[Output Only] Server-defined URL for the resource.", +"type": "string" +}, +"selfLinkWithId": { +"description": "Output only. [Output Only] Server-defined URL for this resource with the resource id.", +"readOnly": true, +"type": "string" +}, +"serviceDirectoryRegistrations": { +"description": "Service Directory resources to register this forwarding rule with.\nCurrently, only supports a single Service Directory resource.", +"items": { +"$ref": "ForwardingRuleServiceDirectoryRegistration" +}, +"type": "array" +}, +"serviceLabel": { +"description": "An optional prefix to the service name for this forwarding rule.\nIf specified, the prefix is the first label of the fully qualified service\nname.\n\nThe label must be 1-63 characters long, and comply withRFC1035.\nSpecifically, the label must be 1-63 characters long and match the regular\nexpression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first\ncharacter must be a lowercase letter, and all following characters must\nbe a dash, lowercase letter, or digit, except the last character, which\ncannot be a dash.\n\nThis field is only used for internal load balancing.", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"type": "string" +}, +"serviceName": { +"description": "[Output Only]\nThe internal fully qualified service name for this forwarding rule.\n\nThis field is only used for internal load balancing.", +"type": "string" +}, +"sourceIpRanges": { +"description": "If not empty, this forwarding rule will only forward the traffic when the\nsource IP address matches one of the IP addresses or CIDR ranges set here.\nNote that a forwarding rule can only have up to 64 source IP ranges, and\nthis field can only be used with a regional forwarding rule whose scheme isEXTERNAL.\nEach source_ip_range entry should be either an IP address (for\nexample, 1.2.3.4) or a CIDR range (for example, 1.2.3.0/24).", +"items": { +"type": "string" +}, +"type": "array" +}, +"subnetwork": { +"description": "This field identifies the subnetwork that the load balanced IP should\nbelong to for this forwarding rule, used with internal load balancers and\nexternal passthrough Network Load Balancers with IPv6.\n\nIf the network specified is in auto subnet mode, this field is optional.\nHowever, a subnetwork must be specified if the network is in custom subnet\nmode or when creating external forwarding rule with IPv6.", +"type": "string" +}, +"target": { +"description": "The URL of the target resource to receive the matched traffic. For\nregional forwarding rules, this target must be in the same region as the\nforwarding rule. For global forwarding rules, this target must be a global\nload balancing resource.\n\nThe forwarded traffic must be of a type appropriate to the target object.\n \n \n - For load balancers, see the \"Target\" column in [Port specifications](https://cloud.google.com/load-balancing/docs/forwarding-rule-concepts#ip_address_specifications).\n - For Private Service Connect forwarding rules that forward traffic to Google APIs, provide the name of a supported Google API bundle:\n \n \n - vpc-sc - APIs that support VPC Service Controls. \n - all-apis - All supported Google APIs. \n \n \n - For Private Service Connect forwarding rules that forward traffic to managed services, the target must be a service attachment. The target is not mutable once set as a service attachment.", +"type": "string" +} +}, +"type": "object" +}, +"ForwardingRuleAggregatedList": { +"id": "ForwardingRuleAggregatedList", +"properties": { +"id": { +"description": "[Output Only] Unique identifier for the resource; defined by the server.", +"type": "string" +}, +"items": { +"additionalProperties": { +"$ref": "ForwardingRulesScopedList", +"description": "Name of the scope containing this set of addresses." +}, +"description": "A list of ForwardingRulesScopedList resources.", +"type": "object" +}, +"kind": { +"default": "compute#forwardingRuleAggregatedList", +"description": "Output only. [Output Only] Type of resource. Alwayscompute#forwardingRuleAggregatedList for lists of forwarding rules.", +"readOnly": true, +"type": "string" +}, +"nextPageToken": { +"description": "[Output Only] This token allows you to get the next page of results for\nlist requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for\nthe query parameter pageToken in the next list request.\nSubsequent list requests will have their own nextPageToken to\ncontinue paging through the results.", +"type": "string" +}, +"selfLink": { +"description": "Output only. [Output Only] Server-defined URL for this resource.", +"readOnly": true, +"type": "string" +}, +"unreachables": { +"description": "Output only. [Output Only] Unreachable resources.", +"items": { +"type": "string" +}, +"readOnly": true, +"type": "array" +}, +"warning": { +"description": "[Output Only] Informational warning message.", +"properties": { +"code": { +"description": "[Output Only] A warning code, if applicable. For example, Compute\nEngine returns NO_RESULTS_ON_PAGE if there\nare no results in the response.", +"enum": [ +"CLEANUP_FAILED", +"DEPRECATED_RESOURCE_USED", +"DEPRECATED_TYPE_USED", +"DISK_SIZE_LARGER_THAN_IMAGE_SIZE", +"EXPERIMENTAL_TYPE_USED", +"EXTERNAL_API_WARNING", +"FIELD_VALUE_OVERRIDEN", +"INJECTED_KERNELS_DEPRECATED", +"INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", +"LARGE_DEPLOYMENT_WARNING", +"LIST_OVERHEAD_QUOTA_EXCEED", +"MISSING_TYPE_DEPENDENCY", +"NEXT_HOP_ADDRESS_NOT_ASSIGNED", +"NEXT_HOP_CANNOT_IP_FORWARD", +"NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", +"NEXT_HOP_INSTANCE_NOT_FOUND", +"NEXT_HOP_INSTANCE_NOT_ON_NETWORK", +"NEXT_HOP_NOT_RUNNING", +"NOT_CRITICAL_ERROR", +"NO_RESULTS_ON_PAGE", +"PARTIAL_SUCCESS", +"QUOTA_INFO_UNAVAILABLE", +"REQUIRED_TOS_AGREEMENT", +"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", +"RESOURCE_NOT_DELETED", +"SCHEMA_VALIDATION_IGNORED", +"SINGLE_INSTANCE_PROPERTY_TEMPLATE", +"UNDECLARED_PROPERTIES", +"UNREACHABLE" +], +"enumDeprecated": [ +false, +false, +false, +false, +false, +false, +true, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false +], +"enumDescriptions": [ +"Warning about failed cleanup of transient changes made by a failed\noperation.", +"A link to a deprecated resource was created.", +"When deploying and at least one of the resources has a type marked as\ndeprecated", +"The user created a boot disk that is larger than image size.", +"When deploying and at least one of the resources has a type marked as\nexperimental", +"Warning that is present in an external api call", +"Warning that value of a field has been overridden.\nDeprecated unused field.", +"The operation involved use of an injected kernel, which is deprecated.", +"A WEIGHTED_MAGLEV backend service is associated with a health check that is\nnot of type HTTP/HTTPS/HTTP2.", +"When deploying a deployment with a exceedingly large number of resources", +"Resource can't be retrieved due to list overhead quota exceed\nwhich captures the amount of resources filtered out by\nuser-defined list filter.", +"A resource depends on a missing type", +"The route's nextHopIp address is not assigned to an instance on the\nnetwork.", +"The route's next hop instance cannot ip forward.", +"The route's nextHopInstance URL refers to an instance that does not have an\nipv6 interface on the same network as the route.", +"The route's nextHopInstance URL refers to an instance that does not exist.", +"The route's nextHopInstance URL refers to an instance that is not on the\nsame network as the route.", +"The route's next hop instance does not have a status of RUNNING.", +"Error which is not critical. We decided to continue the process despite\nthe mentioned error.", +"No results are present on a particular list page.", +"Success is reported, but some results may be missing due to errors", +"Quota information is not available to client requests (e.g:\nregions.list).", +"The user attempted to use a resource that requires a TOS they have not\naccepted.", +"Warning that a resource is in use.", +"One or more of the resources set to auto-delete could not be deleted\nbecause they were in use.", +"When a resource schema validation is ignored.", +"Instance template used in instance group manager is valid as such, but\nits application does not make a lot of sense, because it allows only\nsingle instance in instance group.", +"When undeclared properties in the schema are present", +"A given scope cannot be reached." +], +"type": "string" +}, +"data": { +"description": "[Output Only] Metadata about this warning in key:\nvalue format. For example:\n\n\"data\": [\n {\n \"key\": \"scope\",\n \"value\": \"zones/us-east1-d\"\n }", +"items": { +"properties": { +"key": { +"description": "[Output Only] A key that provides more detail on the warning being\nreturned. For example, for warnings where there are no results in a list\nrequest for a particular zone, this key might be scope and\nthe key value might be the zone name. Other examples might be a key\nindicating a deprecated resource and a suggested replacement, or a\nwarning about invalid network settings (for example, if an instance\nattempts to perform IP forwarding but is not enabled for IP forwarding).", +"type": "string" +}, +"value": { +"description": "[Output Only] A warning data value corresponding to the key.", +"type": "string" +} +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "[Output Only] A human-readable description of the warning code.", +"type": "string" +} +}, +"type": "object" +} +}, +"type": "object" +}, +"ForwardingRuleList": { +"description": "Contains a list of ForwardingRule resources.", +"id": "ForwardingRuleList", +"properties": { +"id": { +"description": "[Output Only] Unique identifier for the resource; defined by the server.", +"type": "string" +}, +"items": { +"description": "A list of ForwardingRule resources.", +"items": { +"$ref": "ForwardingRule" +}, +"type": "array" +}, +"kind": { +"default": "compute#forwardingRuleList", +"description": "Output only. Type of resource.", +"readOnly": true, +"type": "string" +}, +"nextPageToken": { +"description": "[Output Only] This token allows you to get the next page of results for\nlist requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for\nthe query parameter pageToken in the next list request.\nSubsequent list requests will have their own nextPageToken to\ncontinue paging through the results.", +"type": "string" +}, +"selfLink": { +"description": "Output only. [Output Only] Server-defined URL for this resource.", +"readOnly": true, +"type": "string" +}, +"warning": { +"description": "[Output Only] Informational warning message.", +"properties": { +"code": { +"description": "[Output Only] A warning code, if applicable. For example, Compute\nEngine returns NO_RESULTS_ON_PAGE if there\nare no results in the response.", +"enum": [ +"CLEANUP_FAILED", +"DEPRECATED_RESOURCE_USED", +"DEPRECATED_TYPE_USED", +"DISK_SIZE_LARGER_THAN_IMAGE_SIZE", +"EXPERIMENTAL_TYPE_USED", +"EXTERNAL_API_WARNING", +"FIELD_VALUE_OVERRIDEN", +"INJECTED_KERNELS_DEPRECATED", +"INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", +"LARGE_DEPLOYMENT_WARNING", +"LIST_OVERHEAD_QUOTA_EXCEED", +"MISSING_TYPE_DEPENDENCY", +"NEXT_HOP_ADDRESS_NOT_ASSIGNED", +"NEXT_HOP_CANNOT_IP_FORWARD", +"NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", +"NEXT_HOP_INSTANCE_NOT_FOUND", +"NEXT_HOP_INSTANCE_NOT_ON_NETWORK", +"NEXT_HOP_NOT_RUNNING", +"NOT_CRITICAL_ERROR", +"NO_RESULTS_ON_PAGE", +"PARTIAL_SUCCESS", +"QUOTA_INFO_UNAVAILABLE", +"REQUIRED_TOS_AGREEMENT", +"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", +"RESOURCE_NOT_DELETED", +"SCHEMA_VALIDATION_IGNORED", +"SINGLE_INSTANCE_PROPERTY_TEMPLATE", +"UNDECLARED_PROPERTIES", +"UNREACHABLE" +], +"enumDeprecated": [ +false, +false, +false, +false, +false, +false, +true, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false +], +"enumDescriptions": [ +"Warning about failed cleanup of transient changes made by a failed\noperation.", +"A link to a deprecated resource was created.", +"When deploying and at least one of the resources has a type marked as\ndeprecated", +"The user created a boot disk that is larger than image size.", +"When deploying and at least one of the resources has a type marked as\nexperimental", +"Warning that is present in an external api call", +"Warning that value of a field has been overridden.\nDeprecated unused field.", +"The operation involved use of an injected kernel, which is deprecated.", +"A WEIGHTED_MAGLEV backend service is associated with a health check that is\nnot of type HTTP/HTTPS/HTTP2.", +"When deploying a deployment with a exceedingly large number of resources", +"Resource can't be retrieved due to list overhead quota exceed\nwhich captures the amount of resources filtered out by\nuser-defined list filter.", +"A resource depends on a missing type", +"The route's nextHopIp address is not assigned to an instance on the\nnetwork.", +"The route's next hop instance cannot ip forward.", +"The route's nextHopInstance URL refers to an instance that does not have an\nipv6 interface on the same network as the route.", +"The route's nextHopInstance URL refers to an instance that does not exist.", +"The route's nextHopInstance URL refers to an instance that is not on the\nsame network as the route.", +"The route's next hop instance does not have a status of RUNNING.", +"Error which is not critical. We decided to continue the process despite\nthe mentioned error.", +"No results are present on a particular list page.", +"Success is reported, but some results may be missing due to errors", +"Quota information is not available to client requests (e.g:\nregions.list).", +"The user attempted to use a resource that requires a TOS they have not\naccepted.", +"Warning that a resource is in use.", +"One or more of the resources set to auto-delete could not be deleted\nbecause they were in use.", +"When a resource schema validation is ignored.", +"Instance template used in instance group manager is valid as such, but\nits application does not make a lot of sense, because it allows only\nsingle instance in instance group.", +"When undeclared properties in the schema are present", +"A given scope cannot be reached." +], +"type": "string" +}, +"data": { +"description": "[Output Only] Metadata about this warning in key:\nvalue format. For example:\n\n\"data\": [\n {\n \"key\": \"scope\",\n \"value\": \"zones/us-east1-d\"\n }", +"items": { +"properties": { +"key": { +"description": "[Output Only] A key that provides more detail on the warning being\nreturned. For example, for warnings where there are no results in a list\nrequest for a particular zone, this key might be scope and\nthe key value might be the zone name. Other examples might be a key\nindicating a deprecated resource and a suggested replacement, or a\nwarning about invalid network settings (for example, if an instance\nattempts to perform IP forwarding but is not enabled for IP forwarding).", +"type": "string" +}, +"value": { +"description": "[Output Only] A warning data value corresponding to the key.", +"type": "string" +} +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "[Output Only] A human-readable description of the warning code.", +"type": "string" +} +}, +"type": "object" +} +}, +"type": "object" +}, +"ForwardingRuleReference": { +"id": "ForwardingRuleReference", +"properties": { +"forwardingRule": { +"type": "string" +} +}, +"type": "object" +}, +"ForwardingRuleServiceDirectoryRegistration": { +"description": "Describes the auto-registration of the forwarding rule to Service Directory.\nThe region and project of the Service Directory resource generated from\nthis registration will be the same as this forwarding rule.", +"id": "ForwardingRuleServiceDirectoryRegistration", +"properties": { +"namespace": { +"description": "Service Directory namespace to register the forwarding rule under.", +"type": "string" +}, +"service": { +"description": "Service Directory service to register the forwarding rule under.", +"type": "string" +}, +"serviceDirectoryRegion": { +"description": "[Optional] Service Directory region to register this global forwarding\nrule under. Default to \"us-central1\". Only used for PSC for Google APIs.\nAll PSC for Google APIs forwarding rules on the same network should use\nthe same Service Directory region.", +"type": "string" +} +}, +"type": "object" +}, +"ForwardingRulesScopedList": { +"id": "ForwardingRulesScopedList", +"properties": { +"forwardingRules": { +"description": "A list of forwarding rules contained in this scope.", +"items": { +"$ref": "ForwardingRule" +}, +"type": "array" +}, +"warning": { +"description": "Informational warning which replaces the list of forwarding rules when\nthe list is empty.", +"properties": { +"code": { +"description": "[Output Only] A warning code, if applicable. For example, Compute\nEngine returns NO_RESULTS_ON_PAGE if there\nare no results in the response.", +"enum": [ +"CLEANUP_FAILED", +"DEPRECATED_RESOURCE_USED", +"DEPRECATED_TYPE_USED", +"DISK_SIZE_LARGER_THAN_IMAGE_SIZE", +"EXPERIMENTAL_TYPE_USED", +"EXTERNAL_API_WARNING", +"FIELD_VALUE_OVERRIDEN", +"INJECTED_KERNELS_DEPRECATED", +"INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", +"LARGE_DEPLOYMENT_WARNING", +"LIST_OVERHEAD_QUOTA_EXCEED", +"MISSING_TYPE_DEPENDENCY", +"NEXT_HOP_ADDRESS_NOT_ASSIGNED", +"NEXT_HOP_CANNOT_IP_FORWARD", +"NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", +"NEXT_HOP_INSTANCE_NOT_FOUND", +"NEXT_HOP_INSTANCE_NOT_ON_NETWORK", +"NEXT_HOP_NOT_RUNNING", +"NOT_CRITICAL_ERROR", +"NO_RESULTS_ON_PAGE", +"PARTIAL_SUCCESS", +"QUOTA_INFO_UNAVAILABLE", +"REQUIRED_TOS_AGREEMENT", +"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", +"RESOURCE_NOT_DELETED", +"SCHEMA_VALIDATION_IGNORED", +"SINGLE_INSTANCE_PROPERTY_TEMPLATE", +"UNDECLARED_PROPERTIES", +"UNREACHABLE" +], +"enumDeprecated": [ +false, +false, +false, +false, +false, +false, +true, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false +], +"enumDescriptions": [ +"Warning about failed cleanup of transient changes made by a failed\noperation.", +"A link to a deprecated resource was created.", +"When deploying and at least one of the resources has a type marked as\ndeprecated", +"The user created a boot disk that is larger than image size.", +"When deploying and at least one of the resources has a type marked as\nexperimental", +"Warning that is present in an external api call", +"Warning that value of a field has been overridden.\nDeprecated unused field.", +"The operation involved use of an injected kernel, which is deprecated.", +"A WEIGHTED_MAGLEV backend service is associated with a health check that is\nnot of type HTTP/HTTPS/HTTP2.", +"When deploying a deployment with a exceedingly large number of resources", +"Resource can't be retrieved due to list overhead quota exceed\nwhich captures the amount of resources filtered out by\nuser-defined list filter.", +"A resource depends on a missing type", +"The route's nextHopIp address is not assigned to an instance on the\nnetwork.", +"The route's next hop instance cannot ip forward.", +"The route's nextHopInstance URL refers to an instance that does not have an\nipv6 interface on the same network as the route.", +"The route's nextHopInstance URL refers to an instance that does not exist.", +"The route's nextHopInstance URL refers to an instance that is not on the\nsame network as the route.", +"The route's next hop instance does not have a status of RUNNING.", +"Error which is not critical. We decided to continue the process despite\nthe mentioned error.", +"No results are present on a particular list page.", +"Success is reported, but some results may be missing due to errors", +"Quota information is not available to client requests (e.g:\nregions.list).", +"The user attempted to use a resource that requires a TOS they have not\naccepted.", +"Warning that a resource is in use.", +"One or more of the resources set to auto-delete could not be deleted\nbecause they were in use.", +"When a resource schema validation is ignored.", +"Instance template used in instance group manager is valid as such, but\nits application does not make a lot of sense, because it allows only\nsingle instance in instance group.", +"When undeclared properties in the schema are present", +"A given scope cannot be reached." +], +"type": "string" +}, +"data": { +"description": "[Output Only] Metadata about this warning in key:\nvalue format. For example:\n\n\"data\": [\n {\n \"key\": \"scope\",\n \"value\": \"zones/us-east1-d\"\n }", +"items": { +"properties": { +"key": { +"description": "[Output Only] A key that provides more detail on the warning being\nreturned. For example, for warnings where there are no results in a list\nrequest for a particular zone, this key might be scope and\nthe key value might be the zone name. Other examples might be a key\nindicating a deprecated resource and a suggested replacement, or a\nwarning about invalid network settings (for example, if an instance\nattempts to perform IP forwarding but is not enabled for IP forwarding).", +"type": "string" +}, +"value": { +"description": "[Output Only] A warning data value corresponding to the key.", +"type": "string" +} +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "[Output Only] A human-readable description of the warning code.", +"type": "string" +} +}, +"type": "object" +} +}, +"type": "object" +}, +"FutureReservation": { +"id": "FutureReservation", +"properties": { +"advancedDeploymentControl": { +"$ref": "ReservationAdvancedDeploymentControl", +"description": "Advanced control for cluster management, applicable only to DENSE\ndeployment type future reservations." +}, +"aggregateReservation": { +"$ref": "AllocationAggregateReservation", +"description": "Aggregate reservation details for the future reservation." +}, +"autoCreatedReservationsDeleteTime": { +"description": "Future timestamp when the FR auto-created reservations will be deleted by\nCompute Engine. Format of this field must be a valid\nhref=\"https://www.ietf.org/rfc/rfc3339.txt\">RFC3339 value.", +"type": "string" +}, +"autoCreatedReservationsDuration": { +"$ref": "Duration", +"description": "Specifies the duration of auto-created reservations.\nIt represents relative time to future reservation start_time when\nauto-created reservations will be automatically deleted by Compute\nEngine. Duration time unit is represented as a count of seconds\nand fractions of seconds at nanosecond resolution." +}, +"autoDeleteAutoCreatedReservations": { +"description": "Setting for enabling or disabling automatic deletion for auto-created\nreservation. If set to true, auto-created reservations will be\ndeleted at Future Reservation's end time (default) or at user's defined\ntimestamp if any of the\n[auto_created_reservations_delete_time, auto_created_reservations_duration]\nvalues is specified.\nFor keeping auto-created reservation indefinitely, this value should be set\nto false.", +"type": "boolean" +}, +"commitmentInfo": { +"$ref": "FutureReservationCommitmentInfo", +"description": "If not present, then FR will not deliver a new commitment or update an\nexisting commitment." +}, +"creationTimestamp": { +"description": "Output only. [Output Only] The creation timestamp for this future reservation inRFC3339\ntext format.", +"readOnly": true, +"type": "string" +}, +"deploymentType": { +"description": "Type of the deployment requested as part of future reservation.", +"enum": [ +"DENSE", +"DEPLOYMENT_TYPE_UNSPECIFIED", +"FLEXIBLE" +], +"enumDescriptions": [ +"The reserved capacity is made up of densely deployed reservation blocks.", +"", +"The reserved capacity is made up of highly flexible, logical reservation\nblocks." +], +"type": "string" +}, +"description": { +"description": "An optional description of this resource. Provide this property when you\ncreate the future reservation.", +"type": "string" +}, +"enableEmergentMaintenance": { +"description": "Indicates if this group of VMs have emergent maintenance enabled.", +"type": "boolean" +}, +"id": { +"description": "Output only. [Output Only] A unique identifier for this future reservation. The server\ndefines this identifier.", +"format": "uint64", +"readOnly": true, +"type": "string" +}, +"kind": { +"default": "compute#futureReservation", +"description": "Output only. [Output Only] Type of the resource. Alwayscompute#futureReservation for future reservations.", +"readOnly": true, +"type": "string" +}, +"name": { +"annotations": { +"required": [ +"compute.instances.insert" +] +}, +"description": "The name of the resource, provided by the client when initially creating\nthe resource. The resource name must be 1-63 characters long, and comply\nwithRFC1035.\nSpecifically, the name must be 1-63 characters long and match the regular\nexpression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first\ncharacter must be a lowercase letter, and all following characters must be\na dash, lowercase letter, or digit, except the last character, which cannot\nbe a dash.", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"type": "string" +}, +"namePrefix": { +"description": "Name prefix for the reservations to be created at the time of\ndelivery. The name prefix must comply with RFC1035.\nMaximum allowed length for name prefix is 20. Automatically created\nreservations name format will be -date-####.", +"type": "string" +}, +"planningStatus": { +"description": "Planning state before being submitted for evaluation", +"enum": [ +"DRAFT", +"PLANNING_STATUS_UNSPECIFIED", +"SUBMITTED" +], +"enumDescriptions": [ +"Future Reservation is being drafted.", +"", +"Future Reservation has been submitted for evaluation by GCP." +], +"type": "string" +}, +"protectionTier": { +"description": "Protection tier for the workload.", +"enum": [ +"CAPACITY_OPTIMIZED", +"PROTECTION_TIER_UNSPECIFIED", +"STANDARD" +], +"enumDescriptions": [ +"CAPACITY_OPTIMIZED capacity leverages redundancies (e.g. power, cooling)\nat the data center during normal operating conditions. In the event of\ninfrastructure failures at data center (e.g. power and/or cooling\nfailures), this workload may be disrupted. As a consequence, it has a\nweaker availability SLO than STANDARD.", +"Unspecified protection tier.", +"STANDARD protection for workload that should be protected by redundancies\n(e.g. power, cooling) at the data center level. In the event of\ninfrastructure failures at data center (e.g. power and/or cooling\nfailures), this workload is expected to continue as normal using the\nredundancies." +], +"type": "string" +}, +"reservationMode": { +"description": "The reservation mode which determines reservation-termination behavior and\nexpected pricing.", +"enum": [ +"CALENDAR", +"DEFAULT", +"RESERVATION_MODE_UNSPECIFIED" +], +"enumDescriptions": [ +"The delivered reservations will delivered at specified start time and\nterminated at specified end time along with terminating the VMs running\non it.", +"The delivered reservations do not terminate VMs at the end of\nreservations. This is default mode.", +"" +], +"type": "string" +}, +"reservationName": { +"description": "Name of reservations where the capacity is provisioned at the time of\ndelivery of future reservations. If the reservation with the given name\ndoes not exist already, it is created automatically at the time of Approval\nwith INACTIVE state till specified start-time. Either provide the\nreservation_name or a name_prefix.", +"type": "string" +}, +"schedulingType": { +"description": "Maintenance information for this reservation", +"enum": [ +"GROUPED", +"GROUP_MAINTENANCE_TYPE_UNSPECIFIED", +"INDEPENDENT" +], +"enumDescriptions": [ +"Maintenance on all reserved instances in the reservation is synchronized.", +"Unknown maintenance type.", +"Maintenance is not synchronized for this reservation. Instead, each\ninstance has its own maintenance window." +], +"type": "string" +}, +"selfLink": { +"description": "Output only. [Output Only] Server-defined fully-qualified URL for this resource.", +"readOnly": true, +"type": "string" +}, +"selfLinkWithId": { +"description": "Output only. [Output Only] Server-defined URL for this resource with the resource id.", +"readOnly": true, +"type": "string" +}, +"shareSettings": { +"$ref": "ShareSettings", +"description": "List of Projects/Folders to share with." +}, +"specificReservationRequired": { +"description": "Indicates whether the auto-created reservation can be consumed by VMs with\naffinity for \"any\" reservation. If the field is set, then only VMs that\ntarget the reservation by name can consume from the delivered reservation.", +"type": "boolean" +}, +"specificSkuProperties": { +"$ref": "FutureReservationSpecificSKUProperties", +"description": "Future Reservation configuration to indicate instance properties and\ntotal count." +}, +"status": { +"$ref": "FutureReservationStatus", +"description": "Output only. [Output only] Status of the Future Reservation", +"readOnly": true +}, +"timeWindow": { +"$ref": "FutureReservationTimeWindow", +"description": "Time window for this Future Reservation." +}, +"zone": { +"description": "Output only. [Output Only] URL of the Zone where this future reservation resides.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"FutureReservationCommitmentInfo": { +"id": "FutureReservationCommitmentInfo", +"properties": { +"commitmentName": { +"description": "name of the commitment where capacity is being delivered to.", +"type": "string" +}, +"commitmentPlan": { +"description": "Indicates if a Commitment needs to be created as part of FR delivery. If\nthis field is not present, then no\ncommitment needs to be created.", +"enum": [ +"INVALID", +"THIRTY_SIX_MONTH", +"TWELVE_MONTH" +], +"enumDescriptions": [ +"", +"", +"" +], +"type": "string" +}, +"previousCommitmentTerms": { +"description": "Only applicable if FR is delivering to the same reservation. If set, all\nparent commitments will be extended to match the end date of the plan for\nthis commitment.", +"enum": [ +"EXTEND", +"PREVIOUSCOMMITMENTTERM_UNSPECIFIED" +], +"enumDescriptions": [ +"All associated parent Committed Used Discount(s) end-date/term will be\nextended to the end-time of this future reservation. Default is to\nextend previous commitment(s) time to the end_time of the reservation.", +"No changes to associated parents Committed Used Discount(s) terms." +], +"type": "string" +} +}, +"type": "object" +}, +"FutureReservationSpecificSKUProperties": { +"id": "FutureReservationSpecificSKUProperties", +"properties": { +"instanceProperties": { +"$ref": "AllocationSpecificSKUAllocationReservedInstanceProperties", +"description": "Properties of the SKU instances being reserved." +}, +"sourceInstanceTemplate": { +"description": "The instance template that will be used to populate the\nReservedInstanceProperties of the future reservation", +"type": "string" +}, +"totalCount": { +"description": "Total number of instances for which capacity assurance is requested at a\nfuture time period.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"FutureReservationStatus": { +"description": "[Output only] Represents status related to the future reservation.", +"id": "FutureReservationStatus", +"properties": { +"amendmentStatus": { +"description": "Output only. [Output Only] The current status of the requested amendment.", +"enum": [ +"AMENDMENT_APPROVED", +"AMENDMENT_DECLINED", +"AMENDMENT_IN_REVIEW", +"AMENDMENT_STATUS_UNSPECIFIED" +], +"enumDescriptions": [ +"The requested amendment to the Future Resevation has been approved and\napplied by GCP.", +"The requested amendment to the Future Reservation has been declined by\nGCP and the original state was restored.", +"The requested amendment to the Future Reservation is currently being\nreviewd by GCP.", +"" +], +"readOnly": true, +"type": "string" +}, +"autoCreatedReservations": { +"description": "Output only. Fully qualified urls of the automatically created reservations at\nstart_time.", +"items": { +"type": "string" +}, +"readOnly": true, +"type": "array" +}, +"existingMatchingUsageInfo": { +"$ref": "FutureReservationStatusExistingMatchingUsageInfo", +"description": "Output only. [Output Only] Represents the existing matching usage for the future\nreservation.", +"readOnly": true +}, +"fulfilledCount": { +"description": "Output only. This count indicates the fulfilled capacity so far. This is set during\n\"PROVISIONING\" state. This count also includes capacity delivered as part\nof existing matching reservations.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"lastKnownGoodState": { +"$ref": "FutureReservationStatusLastKnownGoodState", +"description": "Output only. [Output Only] This field represents the future reservation before an\namendment was requested. If the amendment is declined, the Future\nReservation will be reverted to the last known good state. The last known\ngood state is not set when updating a future reservation whose\nProcurement Status is DRAFTING.", +"readOnly": true +}, +"lockTime": { +"description": "Output only. Time when Future Reservation would become LOCKED, after which no\nmodifications to Future Reservation will be allowed. Applicable only\nafter the Future Reservation is in the APPROVED state. The lock_time is\nan RFC3339 string. The procurement_status will transition to PROCURING\nstate at this time.", +"readOnly": true, +"type": "string" +}, +"procurementStatus": { +"description": "Output only. Current state of this Future Reservation", +"enum": [ +"APPROVED", +"CANCELLED", +"COMMITTED", +"DECLINED", +"DRAFTING", +"FAILED", +"FAILED_PARTIALLY_FULFILLED", +"FULFILLED", +"PENDING_AMENDMENT_APPROVAL", +"PENDING_APPROVAL", +"PROCUREMENT_STATUS_UNSPECIFIED", +"PROCURING", +"PROVISIONING" +], +"enumDescriptions": [ +"Future reservation is approved by GCP.", +"Future reservation is cancelled by the customer.", +"Future reservation is committed by the customer.", +"Future reservation is rejected by GCP.", +"Related status for PlanningStatus.Draft. Transitions to\nPENDING_APPROVAL upon user submitting FR.", +"Future reservation failed. No additional reservations were provided.", +"Future reservation is partially fulfilled. Additional reservations were\nprovided but did not reach total_count reserved instance slots.", +"Future reservation is fulfilled completely.", +"An Amendment to the Future Reservation has been requested. If the\nAmendment is declined, the Future Reservation will be restored to the\nlast known good state.", +"Future reservation is pending approval by GCP.", +"", +"Future reservation is being procured by GCP. Beyond this point, Future\nreservation is locked and no further modifications are allowed.", +"Future reservation capacity is being provisioned. This state will be\nentered after start_time, while reservations are being created to\nprovide total_count reserved instance slots. This state will not\npersist past start_time + 24h." +], +"readOnly": true, +"type": "string" +}, +"specificSkuProperties": { +"$ref": "FutureReservationStatusSpecificSKUProperties" +} +}, +"type": "object" +}, +"FutureReservationStatusExistingMatchingUsageInfo": { +"description": "[Output Only] Represents the existing matching usage for the future\nreservation.", +"id": "FutureReservationStatusExistingMatchingUsageInfo", +"properties": { +"count": { +"description": "Output only. Count to represent min(FR total_count,\nmatching_reserved_capacity+matching_unreserved_instances)", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"timestamp": { +"description": "Output only. Timestamp when the matching usage was calculated", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"FutureReservationStatusLastKnownGoodState": { +"description": "The state that the future reservation will be reverted to should the\namendment be declined.", +"id": "FutureReservationStatusLastKnownGoodState", +"properties": { +"description": { +"description": "Output only. [Output Only] The description of the FutureReservation before an\namendment was requested.", +"readOnly": true, +"type": "string" +}, +"existingMatchingUsageInfo": { +"$ref": "FutureReservationStatusExistingMatchingUsageInfo", +"description": "Output only. [Output Only] Represents the matching usage for the future\nreservation before an amendment was requested.", +"readOnly": true +}, +"futureReservationSpecs": { +"$ref": "FutureReservationStatusLastKnownGoodStateFutureReservationSpecs", +"readOnly": true +}, +"lockTime": { +"description": "Output only. [Output Only] The lock time of the FutureReservation before an\namendment was requested.", +"readOnly": true, +"type": "string" +}, +"namePrefix": { +"description": "Output only. [Output Only] The name prefix of the Future Reservation before an\namendment was requested.", +"readOnly": true, +"type": "string" +}, +"procurementStatus": { +"description": "Output only. [Output Only] The status of the last known good state for the Future\nReservation.", +"enum": [ +"APPROVED", +"CANCELLED", +"COMMITTED", +"DECLINED", +"DRAFTING", +"FAILED", +"FAILED_PARTIALLY_FULFILLED", +"FULFILLED", +"PENDING_AMENDMENT_APPROVAL", +"PENDING_APPROVAL", +"PROCUREMENT_STATUS_UNSPECIFIED", +"PROCURING", +"PROVISIONING" +], +"enumDescriptions": [ +"Future reservation is approved by GCP.", +"Future reservation is cancelled by the customer.", +"Future reservation is committed by the customer.", +"Future reservation is rejected by GCP.", +"Related status for PlanningStatus.Draft. Transitions to\nPENDING_APPROVAL upon user submitting FR.", +"Future reservation failed. No additional reservations were provided.", +"Future reservation is partially fulfilled. Additional reservations were\nprovided but did not reach total_count reserved instance slots.", +"Future reservation is fulfilled completely.", +"An Amendment to the Future Reservation has been requested. If the\nAmendment is declined, the Future Reservation will be restored to the\nlast known good state.", +"Future reservation is pending approval by GCP.", +"", +"Future reservation is being procured by GCP. Beyond this point, Future\nreservation is locked and no further modifications are allowed.", +"Future reservation capacity is being provisioned. This state will be\nentered after start_time, while reservations are being created to\nprovide total_count reserved instance slots. This state will not\npersist past start_time + 24h." +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"FutureReservationStatusLastKnownGoodStateFutureReservationSpecs": { +"description": "The properties of the last known good state for the Future Reservation.", +"id": "FutureReservationStatusLastKnownGoodStateFutureReservationSpecs", +"properties": { +"shareSettings": { +"$ref": "ShareSettings", +"description": "Output only. [Output Only] The previous share settings of the Future Reservation.", +"readOnly": true +}, +"specificSkuProperties": { +"$ref": "FutureReservationSpecificSKUProperties", +"description": "Output only. [Output Only] The previous instance related properties of the\nFuture Reservation.", +"readOnly": true +}, +"timeWindow": { +"$ref": "FutureReservationTimeWindow", +"description": "Output only. [Output Only] The previous time window of the Future Reservation.", +"readOnly": true +} +}, +"type": "object" +}, +"FutureReservationStatusSpecificSKUProperties": { +"description": "Properties to be set for the Future Reservation.", +"id": "FutureReservationStatusSpecificSKUProperties", +"properties": { +"sourceInstanceTemplateId": { +"description": "ID of the instance template used to populate the Future Reservation\nproperties.", +"type": "string" +} +}, +"type": "object" +}, +"FutureReservationTimeWindow": { +"id": "FutureReservationTimeWindow", +"properties": { +"duration": { +"$ref": "Duration" +}, +"endTime": { +"type": "string" +}, +"startTime": { +"description": "Start time of the Future Reservation. The start_time is an RFC3339\nstring.", +"type": "string" +} +}, +"type": "object" +}, +"FutureReservationsAggregatedListResponse": { +"description": "Contains a list of future reservations.", +"id": "FutureReservationsAggregatedListResponse", +"properties": { +"etag": { +"type": "string" +}, +"id": { +"description": "[Output Only] Unique identifier for the resource; defined by the server.", +"type": "string" +}, +"items": { +"additionalProperties": { +"$ref": "FutureReservationsScopedList", +"description": "Name of the scope containing this set of future reservations." +}, +"description": "A list of Future reservation resources.", +"type": "object" +}, +"kind": { +"default": "compute#futureReservationsAggregatedListResponse", +"description": "Output only. [Output Only] Type of resource. Alwayscompute#futureReservationsAggregatedListResponse for future\nresevation aggregated list response.", +"readOnly": true, +"type": "string" +}, +"nextPageToken": { +"description": "[Output Only] This token allows you to get the next page of results for\nlist requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for\nthe query parameter pageToken in the next list request.\nSubsequent list requests will have their own nextPageToken to\ncontinue paging through the results.", +"type": "string" +}, +"selfLink": { +"description": "Output only. [Output Only] Server-defined URL for this resource.", +"readOnly": true, +"type": "string" +}, +"unreachables": { +"description": "Output only. [Output Only] Unreachable resources.", +"items": { +"type": "string" +}, +"readOnly": true, +"type": "array" +}, +"warning": { +"description": "[Output Only] Informational warning message.", +"properties": { +"code": { +"description": "[Output Only] A warning code, if applicable. For example, Compute\nEngine returns NO_RESULTS_ON_PAGE if there\nare no results in the response.", +"enum": [ +"CLEANUP_FAILED", +"DEPRECATED_RESOURCE_USED", +"DEPRECATED_TYPE_USED", +"DISK_SIZE_LARGER_THAN_IMAGE_SIZE", +"EXPERIMENTAL_TYPE_USED", +"EXTERNAL_API_WARNING", +"FIELD_VALUE_OVERRIDEN", +"INJECTED_KERNELS_DEPRECATED", +"INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", +"LARGE_DEPLOYMENT_WARNING", +"LIST_OVERHEAD_QUOTA_EXCEED", +"MISSING_TYPE_DEPENDENCY", +"NEXT_HOP_ADDRESS_NOT_ASSIGNED", +"NEXT_HOP_CANNOT_IP_FORWARD", +"NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", +"NEXT_HOP_INSTANCE_NOT_FOUND", +"NEXT_HOP_INSTANCE_NOT_ON_NETWORK", +"NEXT_HOP_NOT_RUNNING", +"NOT_CRITICAL_ERROR", +"NO_RESULTS_ON_PAGE", +"PARTIAL_SUCCESS", +"QUOTA_INFO_UNAVAILABLE", +"REQUIRED_TOS_AGREEMENT", +"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", +"RESOURCE_NOT_DELETED", +"SCHEMA_VALIDATION_IGNORED", +"SINGLE_INSTANCE_PROPERTY_TEMPLATE", +"UNDECLARED_PROPERTIES", +"UNREACHABLE" +], +"enumDeprecated": [ +false, +false, +false, +false, +false, +false, +true, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false +], +"enumDescriptions": [ +"Warning about failed cleanup of transient changes made by a failed\noperation.", +"A link to a deprecated resource was created.", +"When deploying and at least one of the resources has a type marked as\ndeprecated", +"The user created a boot disk that is larger than image size.", +"When deploying and at least one of the resources has a type marked as\nexperimental", +"Warning that is present in an external api call", +"Warning that value of a field has been overridden.\nDeprecated unused field.", +"The operation involved use of an injected kernel, which is deprecated.", +"A WEIGHTED_MAGLEV backend service is associated with a health check that is\nnot of type HTTP/HTTPS/HTTP2.", +"When deploying a deployment with a exceedingly large number of resources", +"Resource can't be retrieved due to list overhead quota exceed\nwhich captures the amount of resources filtered out by\nuser-defined list filter.", +"A resource depends on a missing type", +"The route's nextHopIp address is not assigned to an instance on the\nnetwork.", +"The route's next hop instance cannot ip forward.", +"The route's nextHopInstance URL refers to an instance that does not have an\nipv6 interface on the same network as the route.", +"The route's nextHopInstance URL refers to an instance that does not exist.", +"The route's nextHopInstance URL refers to an instance that is not on the\nsame network as the route.", +"The route's next hop instance does not have a status of RUNNING.", +"Error which is not critical. We decided to continue the process despite\nthe mentioned error.", +"No results are present on a particular list page.", +"Success is reported, but some results may be missing due to errors", +"Quota information is not available to client requests (e.g:\nregions.list).", +"The user attempted to use a resource that requires a TOS they have not\naccepted.", +"Warning that a resource is in use.", +"One or more of the resources set to auto-delete could not be deleted\nbecause they were in use.", +"When a resource schema validation is ignored.", +"Instance template used in instance group manager is valid as such, but\nits application does not make a lot of sense, because it allows only\nsingle instance in instance group.", +"When undeclared properties in the schema are present", +"A given scope cannot be reached." +], +"type": "string" +}, +"data": { +"description": "[Output Only] Metadata about this warning in key:\nvalue format. For example:\n\n\"data\": [\n {\n \"key\": \"scope\",\n \"value\": \"zones/us-east1-d\"\n }", +"items": { +"properties": { +"key": { +"description": "[Output Only] A key that provides more detail on the warning being\nreturned. For example, for warnings where there are no results in a list\nrequest for a particular zone, this key might be scope and\nthe key value might be the zone name. Other examples might be a key\nindicating a deprecated resource and a suggested replacement, or a\nwarning about invalid network settings (for example, if an instance\nattempts to perform IP forwarding but is not enabled for IP forwarding).", +"type": "string" +}, +"value": { +"description": "[Output Only] A warning data value corresponding to the key.", +"type": "string" +} +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "[Output Only] A human-readable description of the warning code.", +"type": "string" +} +}, +"type": "object" +} +}, +"type": "object" +}, +"FutureReservationsListResponse": { +"id": "FutureReservationsListResponse", +"properties": { +"etag": { +"type": "string" +}, +"id": { +"description": "[Output Only] The unique identifier for the resource. This identifier is\ndefined by the server.", +"type": "string" +}, +"items": { +"description": "[Output Only] A list of future reservation resources.", +"items": { +"$ref": "FutureReservation" +}, +"type": "array" +}, +"kind": { +"default": "compute#futureReservationsListResponse", +"description": "Output only. [Output Only] Type of resource.Alwayscompute#FutureReservationsListResponse for lists of\nreservations", +"readOnly": true, +"type": "string" +}, +"nextPageToken": { +"description": "[Output Only] This token allows you to get the next page of results for\nlist requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for\nthe query parameter pageToken in the next list request.\nSubsequent list requests will have their own nextPageToken to\ncontinue paging through the results.", +"type": "string" +}, +"selfLink": { +"description": "Output only. [Output Only] Server-defined URL for this resource.", +"readOnly": true, +"type": "string" +}, +"unreachables": { +"description": "Output only. [Output Only] Unreachable resources.", +"items": { +"type": "string" +}, +"readOnly": true, +"type": "array" +}, +"warning": { +"description": "[Output Only] Informational warning message.", +"properties": { +"code": { +"description": "[Output Only] A warning code, if applicable. For example, Compute\nEngine returns NO_RESULTS_ON_PAGE if there\nare no results in the response.", +"enum": [ +"CLEANUP_FAILED", +"DEPRECATED_RESOURCE_USED", +"DEPRECATED_TYPE_USED", +"DISK_SIZE_LARGER_THAN_IMAGE_SIZE", +"EXPERIMENTAL_TYPE_USED", +"EXTERNAL_API_WARNING", +"FIELD_VALUE_OVERRIDEN", +"INJECTED_KERNELS_DEPRECATED", +"INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", +"LARGE_DEPLOYMENT_WARNING", +"LIST_OVERHEAD_QUOTA_EXCEED", +"MISSING_TYPE_DEPENDENCY", +"NEXT_HOP_ADDRESS_NOT_ASSIGNED", +"NEXT_HOP_CANNOT_IP_FORWARD", +"NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", +"NEXT_HOP_INSTANCE_NOT_FOUND", +"NEXT_HOP_INSTANCE_NOT_ON_NETWORK", +"NEXT_HOP_NOT_RUNNING", +"NOT_CRITICAL_ERROR", +"NO_RESULTS_ON_PAGE", +"PARTIAL_SUCCESS", +"QUOTA_INFO_UNAVAILABLE", +"REQUIRED_TOS_AGREEMENT", +"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", +"RESOURCE_NOT_DELETED", +"SCHEMA_VALIDATION_IGNORED", +"SINGLE_INSTANCE_PROPERTY_TEMPLATE", +"UNDECLARED_PROPERTIES", +"UNREACHABLE" +], +"enumDeprecated": [ +false, +false, +false, +false, +false, +false, +true, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false +], +"enumDescriptions": [ +"Warning about failed cleanup of transient changes made by a failed\noperation.", +"A link to a deprecated resource was created.", +"When deploying and at least one of the resources has a type marked as\ndeprecated", +"The user created a boot disk that is larger than image size.", +"When deploying and at least one of the resources has a type marked as\nexperimental", +"Warning that is present in an external api call", +"Warning that value of a field has been overridden.\nDeprecated unused field.", +"The operation involved use of an injected kernel, which is deprecated.", +"A WEIGHTED_MAGLEV backend service is associated with a health check that is\nnot of type HTTP/HTTPS/HTTP2.", +"When deploying a deployment with a exceedingly large number of resources", +"Resource can't be retrieved due to list overhead quota exceed\nwhich captures the amount of resources filtered out by\nuser-defined list filter.", +"A resource depends on a missing type", +"The route's nextHopIp address is not assigned to an instance on the\nnetwork.", +"The route's next hop instance cannot ip forward.", +"The route's nextHopInstance URL refers to an instance that does not have an\nipv6 interface on the same network as the route.", +"The route's nextHopInstance URL refers to an instance that does not exist.", +"The route's nextHopInstance URL refers to an instance that is not on the\nsame network as the route.", +"The route's next hop instance does not have a status of RUNNING.", +"Error which is not critical. We decided to continue the process despite\nthe mentioned error.", +"No results are present on a particular list page.", +"Success is reported, but some results may be missing due to errors", +"Quota information is not available to client requests (e.g:\nregions.list).", +"The user attempted to use a resource that requires a TOS they have not\naccepted.", +"Warning that a resource is in use.", +"One or more of the resources set to auto-delete could not be deleted\nbecause they were in use.", +"When a resource schema validation is ignored.", +"Instance template used in instance group manager is valid as such, but\nits application does not make a lot of sense, because it allows only\nsingle instance in instance group.", +"When undeclared properties in the schema are present", +"A given scope cannot be reached." +], +"type": "string" +}, +"data": { +"description": "[Output Only] Metadata about this warning in key:\nvalue format. For example:\n\n\"data\": [\n {\n \"key\": \"scope\",\n \"value\": \"zones/us-east1-d\"\n }", +"items": { +"properties": { +"key": { +"description": "[Output Only] A key that provides more detail on the warning being\nreturned. For example, for warnings where there are no results in a list\nrequest for a particular zone, this key might be scope and\nthe key value might be the zone name. Other examples might be a key\nindicating a deprecated resource and a suggested replacement, or a\nwarning about invalid network settings (for example, if an instance\nattempts to perform IP forwarding but is not enabled for IP forwarding).", +"type": "string" +}, +"value": { +"description": "[Output Only] A warning data value corresponding to the key.", +"type": "string" +} +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "[Output Only] A human-readable description of the warning code.", +"type": "string" +} +}, +"type": "object" +} +}, +"type": "object" +}, +"FutureReservationsScopedList": { +"id": "FutureReservationsScopedList", +"properties": { +"futureReservations": { +"description": "A list of future reservations contained in this scope.", +"items": { +"$ref": "FutureReservation" +}, +"type": "array" +}, +"warning": { +"description": "Informational warning which replaces the list of future reservations when\nthe list is empty.", +"properties": { +"code": { +"description": "[Output Only] A warning code, if applicable. For example, Compute\nEngine returns NO_RESULTS_ON_PAGE if there\nare no results in the response.", +"enum": [ +"CLEANUP_FAILED", +"DEPRECATED_RESOURCE_USED", +"DEPRECATED_TYPE_USED", +"DISK_SIZE_LARGER_THAN_IMAGE_SIZE", +"EXPERIMENTAL_TYPE_USED", +"EXTERNAL_API_WARNING", +"FIELD_VALUE_OVERRIDEN", +"INJECTED_KERNELS_DEPRECATED", +"INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", +"LARGE_DEPLOYMENT_WARNING", +"LIST_OVERHEAD_QUOTA_EXCEED", +"MISSING_TYPE_DEPENDENCY", +"NEXT_HOP_ADDRESS_NOT_ASSIGNED", +"NEXT_HOP_CANNOT_IP_FORWARD", +"NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", +"NEXT_HOP_INSTANCE_NOT_FOUND", +"NEXT_HOP_INSTANCE_NOT_ON_NETWORK", +"NEXT_HOP_NOT_RUNNING", +"NOT_CRITICAL_ERROR", +"NO_RESULTS_ON_PAGE", +"PARTIAL_SUCCESS", +"QUOTA_INFO_UNAVAILABLE", +"REQUIRED_TOS_AGREEMENT", +"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", +"RESOURCE_NOT_DELETED", +"SCHEMA_VALIDATION_IGNORED", +"SINGLE_INSTANCE_PROPERTY_TEMPLATE", +"UNDECLARED_PROPERTIES", +"UNREACHABLE" +], +"enumDeprecated": [ +false, +false, +false, +false, +false, +false, +true, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false +], +"enumDescriptions": [ +"Warning about failed cleanup of transient changes made by a failed\noperation.", +"A link to a deprecated resource was created.", +"When deploying and at least one of the resources has a type marked as\ndeprecated", +"The user created a boot disk that is larger than image size.", +"When deploying and at least one of the resources has a type marked as\nexperimental", +"Warning that is present in an external api call", +"Warning that value of a field has been overridden.\nDeprecated unused field.", +"The operation involved use of an injected kernel, which is deprecated.", +"A WEIGHTED_MAGLEV backend service is associated with a health check that is\nnot of type HTTP/HTTPS/HTTP2.", +"When deploying a deployment with a exceedingly large number of resources", +"Resource can't be retrieved due to list overhead quota exceed\nwhich captures the amount of resources filtered out by\nuser-defined list filter.", +"A resource depends on a missing type", +"The route's nextHopIp address is not assigned to an instance on the\nnetwork.", +"The route's next hop instance cannot ip forward.", +"The route's nextHopInstance URL refers to an instance that does not have an\nipv6 interface on the same network as the route.", +"The route's nextHopInstance URL refers to an instance that does not exist.", +"The route's nextHopInstance URL refers to an instance that is not on the\nsame network as the route.", +"The route's next hop instance does not have a status of RUNNING.", +"Error which is not critical. We decided to continue the process despite\nthe mentioned error.", +"No results are present on a particular list page.", +"Success is reported, but some results may be missing due to errors", +"Quota information is not available to client requests (e.g:\nregions.list).", +"The user attempted to use a resource that requires a TOS they have not\naccepted.", +"Warning that a resource is in use.", +"One or more of the resources set to auto-delete could not be deleted\nbecause they were in use.", +"When a resource schema validation is ignored.", +"Instance template used in instance group manager is valid as such, but\nits application does not make a lot of sense, because it allows only\nsingle instance in instance group.", +"When undeclared properties in the schema are present", +"A given scope cannot be reached." +], +"type": "string" +}, +"data": { +"description": "[Output Only] Metadata about this warning in key:\nvalue format. For example:\n\n\"data\": [\n {\n \"key\": \"scope\",\n \"value\": \"zones/us-east1-d\"\n }", +"items": { +"properties": { +"key": { +"description": "[Output Only] A key that provides more detail on the warning being\nreturned. For example, for warnings where there are no results in a list\nrequest for a particular zone, this key might be scope and\nthe key value might be the zone name. Other examples might be a key\nindicating a deprecated resource and a suggested replacement, or a\nwarning about invalid network settings (for example, if an instance\nattempts to perform IP forwarding but is not enabled for IP forwarding).", +"type": "string" +}, +"value": { +"description": "[Output Only] A warning data value corresponding to the key.", +"type": "string" +} +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "[Output Only] A human-readable description of the warning code.", +"type": "string" +} +}, +"type": "object" +} +}, +"type": "object" +}, +"FutureResourcesRecommendation": { +"description": "Recommendation for single resources specification, to be created in the\nfuture.", +"id": "FutureResourcesRecommendation", +"properties": { +"endTime": { +"format": "google-datetime", +"type": "string" +}, +"location": { +"description": "The advised location for resource usage. When a zone, in format\n'zones/'.\nIf not set, it means that no location is recommended - see\nother_locations for details.", +"type": "string" +}, +"otherLocations": { +"additionalProperties": { +"$ref": "FutureResourcesRecommendationOtherLocation" +}, +"description": "List of locations in the request scope that were not\nrecommended. Keys of the map are zones, in format 'zones/'.\nThe values are status information indicating the recommendation status.", +"type": "object" +}, +"recommendationId": { +"description": "Unique id of the recommendation, a UUID string generated by the API.", +"type": "string" +}, +"recommendationType": { +"description": "Type of recommendation. Currently only FUTURE_RESERVATION is supported.", +"enum": [ +"FUTURE_RESERVATION", +"RECOMMENDATION_TYPE_UNSPECIFIED" +], +"enumDescriptions": [ +"A Future Reservation is recommended.", +"Default value, unused." +], +"type": "string" +}, +"startTime": { +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"FutureResourcesRecommendationOtherLocation": { +"description": "Information about recommendation status for locations\nthat were allowed but not used by the response.", +"id": "FutureResourcesRecommendationOtherLocation", +"properties": { +"details": { +"description": "Details (human readable) describing the situation.\nFor example, if status is CONDITION_NOT_MET, then\ndetails contain information about the parameters of the time window\nthat did not meet the required conditions.", +"type": "string" +}, +"status": { +"description": "Status of recommendation in this location.", +"enum": [ +"CONDITIONS_NOT_MET", +"NOT_SUPPORTED", +"NO_CAPACITY", +"OTHER_LOCATION_STATUS_UNDEFINED", +"RECOMMENDED" +], +"enumDescriptions": [ +"The requested resources are offered in this location\nbut the requested time window is does not meet the required conditions.", +"The requested resources are not offered in this location.\nRetrying the request will not change this status.", +"The requested resources are offered in this location\nand the requested time window is accepted\nbut there is no capacity within the requested time window.", +"Default value, unused.", +"The requested resources are offered in this location\nand it is possible to request them. However, another location\nwas better and was recommended." +], +"type": "string" +} +}, +"type": "object" +}, +"FutureResourcesSpec": { +"description": "Specification of resources to be created at some time in the future within an\noptionally specified set of locations, and within the specified time range.", +"id": "FutureResourcesSpec", +"properties": { +"deploymentType": { +"description": "Indicates if the reservation allocation strategy is static (DENSE) or\ndynamic (STANDARD). Defaults to DENSE.", +"enum": [ +"DENSE", +"DEPLOYMENT_TYPE_UNSPECIFIED", +"FLEXIBLE" +], +"enumDescriptions": [ +"The reserved capacity is made up of densely deployed reservation blocks.", +"", +"The reserved capacity is made up of highly flexible, logical reservation\nblocks." +], +"type": "string" +}, +"locationPolicy": { +"$ref": "FutureResourcesSpecLocationPolicy", +"description": "Optional location policy allowing to exclude some zone(s) in which\nthe resources must not be created." +}, +"targetResources": { +"$ref": "FutureResourcesSpecTargetResources", +"description": "Specification of the reserved resources." +}, +"timeRangeSpec": { +"$ref": "FlexibleTimeRange", +"description": "Specification of a time range in which the resources may be created.\nThe time range specifies start of resource use and planned end of resource\nuse." +} +}, +"type": "object" +}, +"FutureResourcesSpecAggregateResources": { +"id": "FutureResourcesSpecAggregateResources", +"properties": { +"acceleratorCount": { +"description": "Size of the request, in accelerator (chip) count.", +"format": "int64", +"type": "string" +}, +"vmFamily": { +"description": "The VM family that all instances scheduled against this reservation\nmust belong to. Use for TPU reservations.", +"enum": [ +"VM_FAMILY_CLOUD_TPU_DEVICE_CT3", +"VM_FAMILY_CLOUD_TPU_LITE_DEVICE_CT5L", +"VM_FAMILY_CLOUD_TPU_LITE_POD_SLICE_CT5LP", +"VM_FAMILY_CLOUD_TPU_LITE_POD_SLICE_CT6E", +"VM_FAMILY_CLOUD_TPU_POD_SLICE_CT3P", +"VM_FAMILY_CLOUD_TPU_POD_SLICE_CT4P", +"VM_FAMILY_CLOUD_TPU_POD_SLICE_CT5P", +"VM_FAMILY_CLOUD_TPU_POD_SLICE_TPU7X" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"", +"", +"" +], +"type": "string" +}, +"workloadType": { +"description": "Workload type. Use for TPU reservations.", +"enum": [ +"BATCH", +"SERVING", +"UNSPECIFIED" +], +"enumDescriptions": [ +"Reserved resources will be optimized for BATCH workloads, such as ML\ntraining.", +"Reserved resources will be optimized for SERVING workloads, such as ML\ninference.", +"" +], +"type": "string" +} +}, +"type": "object" +}, +"FutureResourcesSpecLocalSsdPartition": { +"id": "FutureResourcesSpecLocalSsdPartition", +"properties": { +"diskInterface": { +"description": "Disk interface. Defaults to SCSI.", +"enum": [ +"NVME", +"SCSI" +], +"enumDescriptions": [ +"", +"" +], +"type": "string" +}, +"diskSizeGb": { +"description": "The size of the disk in GB.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"FutureResourcesSpecLocationPolicy": { +"description": "Specification of locations to create resources in.", +"id": "FutureResourcesSpecLocationPolicy", +"properties": { +"locations": { +"additionalProperties": { +"$ref": "FutureResourcesSpecLocationPolicyLocation" +}, +"description": "Preferences for specified locations.\nKeys of the map are locations - zones, in format of 'zones/'.\nValues are preferences for the zones.\nIf a zone is not specified in this map, it is ALLOWed.", +"type": "object" +} +}, +"type": "object" +}, +"FutureResourcesSpecLocationPolicyLocation": { +"description": "Preference for a single specified location.", +"id": "FutureResourcesSpecLocationPolicyLocation", +"properties": { +"preference": { +"description": "Preference for this location.", +"enum": [ +"ALLOW", +"DENY", +"PREFERENCE_UNSPECIFIED" +], +"enumDescriptions": [ +"Location is allowed for use.", +"Location is prohibited.", +"Default value, unused." +], +"type": "string" +} +}, +"type": "object" +}, +"FutureResourcesSpecSpecificSKUResources": { +"id": "FutureResourcesSpecSpecificSKUResources", +"properties": { +"instanceCount": { +"description": "Size of the request, in instance count.", +"format": "int64", +"type": "string" +}, +"localSsdPartitions": { +"description": "Local SSD partitions. You do not have to include SSD partitions that\nare built in the machine type.", +"items": { +"$ref": "FutureResourcesSpecLocalSsdPartition" +}, +"type": "array" +}, +"machineType": { +"description": "The machine type to use for instances that will use the reservation.\nThis field only accepts machine type names. e.g. n2-standard-4\nand does not accept machine type full or partial url. e.g.\nprojects/my-l7ilb-project/zones/us-central1-a/machineTypes/n2-standard-4.\nUse for GPU reservations.", +"type": "string" +} +}, +"type": "object" +}, +"FutureResourcesSpecTargetResources": { +"description": "Specification of reserved resources.", +"id": "FutureResourcesSpecTargetResources", +"properties": { +"aggregateResources": { +"$ref": "FutureResourcesSpecAggregateResources" +}, +"specificSkuResources": { +"$ref": "FutureResourcesSpecSpecificSKUResources" +} +}, +"type": "object" +}, +"GRPCHealthCheck": { +"id": "GRPCHealthCheck", +"properties": { +"grpcServiceName": { +"description": "The gRPC service name for the health check. This field is optional. The\nvalue of grpc_service_name has the following meanings by convention: \n\n- Empty service_name means the overall status of all services at the\nbackend. \n\n- Non-empty service_name means the health of that gRPC service, as defined\nby the owner of the service. \n\nThe grpc_service_name can only be ASCII.", +"type": "string" +}, +"port": { +"description": "The TCP port number to which the health check prober sends packets. Valid\nvalues are 1 through 65535.", +"format": "int32", +"type": "integer" +}, +"portName": { +"description": "Not supported.", +"type": "string" +}, +"portSpecification": { +"description": "Specifies how a port is selected for health checking. Can be one of the\nfollowing values: \nUSE_FIXED_PORT: Specifies a port number explicitly using theport field in the health check. Supported by backend services\nfor passthrough load balancers and backend services for proxy load\nbalancers. Not supported by target pools. The health check supports all\nbackends supported by the backend service provided the backend can be\nhealth checked. For example, GCE_VM_IP network endpoint\ngroups, GCE_VM_IP_PORT network endpoint groups, and instance\ngroup backends. \n USE_NAMED_PORT: Not supported. \nUSE_SERVING_PORT: Provides an indirect method of specifying\nthe health check port by referring to the backend service. Only supported\nby backend services for proxy load balancers. Not supported by target\npools. Not supported by backend services for passthrough load balancers.\nSupports all backends that can be health checked; for example,GCE_VM_IP_PORT network endpoint groups and instance group\nbackends.\n\nFor GCE_VM_IP_PORT network endpoint group backends, the health\ncheck uses the port number specified for each endpoint in the network\nendpoint group. For instance group backends, the health check uses the\nport number determined by looking up the backend service's named port in\nthe instance group's list of named ports.", +"enum": [ +"USE_FIXED_PORT", +"USE_NAMED_PORT", +"USE_SERVING_PORT" +], +"enumDescriptions": [ +"The port number in the health check's port is used for health\nchecking. Applies to network endpoint group and instance group backends.", +"Not supported.", +"For network endpoint group backends, the health check uses the port number\nspecified on each endpoint in the network endpoint group. For instance\ngroup backends, the health check uses the port number specified for the\nbackend service's named port defined in the instance group's named ports." +], +"type": "string" +} +}, +"type": "object" +}, +"GRPCTLSHealthCheck": { +"id": "GRPCTLSHealthCheck", +"properties": { +"grpcServiceName": { +"description": "The gRPC service name for the health check. This field is optional. The\nvalue of grpc_service_name has the following meanings by convention: \n\n- Empty service_name means the overall status of all services at the\nbackend. \n\n- Non-empty service_name means the health of that gRPC service, as defined\nby the owner of the service. \n\nThe grpc_service_name can only be ASCII.", +"type": "string" +}, +"port": { +"description": "The TCP port number to which the health check prober sends packets. Valid\nvalues are 1 through 65535.", +"format": "int32", +"type": "integer" +}, +"portSpecification": { +"description": "Specifies how a port is selected for health checking. Can be one of the\nfollowing values: \nUSE_FIXED_PORT: Specifies a port number explicitly using theport field in the health check. Supported by backend services\nfor passthrough load balancers and backend services for proxy load\nbalancers. Not supported by target pools. The health check supports all\nbackends supported by the backend service provided the backend can be\nhealth checked. For example, GCE_VM_IP network endpoint\ngroups, GCE_VM_IP_PORT network endpoint groups, and instance\ngroup backends. \n USE_NAMED_PORT: Not supported. \nUSE_SERVING_PORT: Provides an indirect method of specifying\nthe health check port by referring to the backend service. Only supported\nby backend services for proxy load balancers. Not supported by target\npools. Not supported by backend services for passthrough load balancers.\nSupports all backends that can be health checked; for example,GCE_VM_IP_PORT network endpoint groups and instance group\nbackends.\n\nFor GCE_VM_IP_PORT network endpoint group backends, the health\ncheck uses the port number specified for each endpoint in the network\nendpoint group. For instance group backends, the health check uses the\nport number determined by looking up the backend service's named port in\nthe instance group's list of named ports.", +"enum": [ +"USE_FIXED_PORT", +"USE_NAMED_PORT", +"USE_SERVING_PORT" +], +"enumDescriptions": [ +"The port number in the health check's port is used for health\nchecking. Applies to network endpoint group and instance group backends.", +"Not supported.", +"For network endpoint group backends, the health check uses the port number\nspecified on each endpoint in the network endpoint group. For instance\ngroup backends, the health check uses the port number specified for the\nbackend service's named port defined in the instance group's named ports." +], +"type": "string" +} +}, +"type": "object" +}, +"GlobalAddressesMoveRequest": { +"id": "GlobalAddressesMoveRequest", +"properties": { +"description": { +"description": "An optional destination address description if intended to be different\nfrom the source.", +"type": "string" +}, +"destinationAddress": { +"description": "The URL of the destination address to move to. This can be a full or\npartial URL. For example, the following are all valid URLs to a address:\n \n - https://www.googleapis.com/compute/v1/projects/project/global/addresses/address \n - projects/project/global/addresses/address\n\n\nNote that destination project must be different from the source project. So/global/addresses/address is not valid partial url.", +"type": "string" +} +}, +"type": "object" +}, +"GlobalNetworkEndpointGroupsAttachEndpointsRequest": { +"id": "GlobalNetworkEndpointGroupsAttachEndpointsRequest", +"properties": { +"networkEndpoints": { +"description": "The list of network endpoints to be attached.", +"items": { +"$ref": "NetworkEndpoint" +}, +"type": "array" +} +}, +"type": "object" +}, +"GlobalNetworkEndpointGroupsDetachEndpointsRequest": { +"id": "GlobalNetworkEndpointGroupsDetachEndpointsRequest", +"properties": { +"networkEndpoints": { +"description": "The list of network endpoints to be detached.", +"items": { +"$ref": "NetworkEndpoint" +}, +"type": "array" +} +}, +"type": "object" +}, +"GlobalOrganizationSetPolicyRequest": { +"id": "GlobalOrganizationSetPolicyRequest", +"properties": { +"bindings": { +"description": "Flatten Policy to create a backward compatible wire-format.\nDeprecated. Use 'policy' to specify bindings.", +"items": { +"$ref": "Binding" +}, +"type": "array" +}, +"etag": { +"description": "Flatten Policy to create a backward compatible wire-format.\nDeprecated. Use 'policy' to specify the etag.", +"format": "byte", +"type": "string" +}, +"policy": { +"$ref": "Policy", +"description": "REQUIRED: The complete policy to be applied to the 'resource'. The size of\nthe policy is limited to a few 10s of KB. An empty policy is in general a\nvalid policy but certain services (like Projects) might reject them." +} +}, +"type": "object" +}, +"GlobalSetLabelsRequest": { +"id": "GlobalSetLabelsRequest", +"properties": { +"labelFingerprint": { +"description": "The fingerprint of the previous set of labels for this resource,\nused to detect conflicts. The fingerprint is initially generated by Compute\nEngine and changes after every request to modify or update labels. You must\nalways provide an up-to-date fingerprint hash when updating or changing\nlabels, otherwise the request will fail with error412 conditionNotMet. Make a get() request to the\nresource to get the latest fingerprint.", +"format": "byte", +"type": "string" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "A list of labels to apply for this resource. Each label must comply with\nthe\nrequirements for labels. For example,\"webserver-frontend\": \"images\". A label value can also be\nempty (e.g. \"my-label\": \"\").", +"type": "object" +} +}, +"type": "object" +}, +"GlobalSetPolicyRequest": { +"id": "GlobalSetPolicyRequest", +"properties": { +"bindings": { +"description": "Flatten Policy to create a backward compatible wire-format.\nDeprecated. Use 'policy' to specify bindings.", +"items": { +"$ref": "Binding" +}, +"type": "array" +}, +"etag": { +"description": "Flatten Policy to create a backward compatible wire-format.\nDeprecated. Use 'policy' to specify the etag.", +"format": "byte", +"type": "string" +}, +"policy": { +"$ref": "Policy", +"description": "REQUIRED: The complete policy to be applied to the 'resource'. The size of\nthe policy is limited to a few 10s of KB. An empty policy is in general a\nvalid policy but certain services (like Projects) might reject them." +} +}, +"type": "object" +}, +"GlobalVmExtensionPolicy": { +"description": "Message describing GlobalVmExtensionPolicy object.", +"id": "GlobalVmExtensionPolicy", +"properties": { +"creationTimestamp": { +"description": "Output only. [Output Only] Creation timestamp inRFC3339\ntext format.", +"readOnly": true, +"type": "string" +}, +"description": { +"description": "An optional description of this resource. Provide this property when you\ncreate the resource.", +"type": "string" +}, +"extensionPolicies": { +"additionalProperties": { +"$ref": "GlobalVmExtensionPolicyExtensionPolicy" +}, +"description": "Required. Map from extension (eg: \"cloudops\") to its policy configuration.\nThe key is the name of the extension.", +"type": "object" +}, +"id": { +"description": "Output only. [Output Only] The unique identifier for the resource. This identifier is\ndefined by the server.", +"format": "uint64", +"readOnly": true, +"type": "string" +}, +"instanceSelectors": { +"description": "Optional. Selector to target VMs for a policy.\nThere is a logical \"AND\" between instance_selectors.", +"items": { +"$ref": "GlobalVmExtensionPolicyInstanceSelector" +}, +"type": "array" +}, +"kind": { +"default": "compute#globalVmExtensionPolicy", +"description": "Output only. [Output Only] Type of the resource. Alwayscompute#globalVmExtensionPolicy for globalVmExtensionPolicies.", +"readOnly": true, +"type": "string" +}, +"name": { +"description": "Name of the resource. Provided by the client when the resource is created.\nThe name must be 1-63 characters long, and comply withRFC1035.\nSpecifically, the name must be 1-63 characters long and match the regular\nexpression `[a-z]([-a-z0-9]*[a-z0-9])?`\nwhich means the first character must be a lowercase letter, and all\nfollowing characters must be a dash, lowercase letter, or digit, except\nthe last character, which cannot be a dash.", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"type": "string" +}, +"priority": { +"description": "Optional. Used to resolve conflicts when multiple policies are active for the same\nextension. Defaults to 0.\n\nLarger the number, higher the priority. When the priority is the same,\nthe policy with the newer create time has higher priority.", +"format": "int32", +"type": "integer" +}, +"rolloutOperation": { +"$ref": "GlobalVmExtensionPolicyRolloutOperation", +"description": "Required. The rollout strategy and status." +}, +"scopedResourceStatus": { +"description": "Output only. [Output Only] The scoped resource status. It's only for tracking the\npurging status of the policy.", +"enum": [ +"SCOPED_RESOURCE_STATUS_DELETING", +"SCOPED_RESOURCE_STATUS_UNSPECIFIED" +], +"enumDescriptions": [ +"The zonal policies are being deleted.", +"Default value. This value is unused." +], +"readOnly": true, +"type": "string" +}, +"selfLink": { +"description": "Output only. [Output Only] Server-defined fully-qualified URL for this resource.", +"readOnly": true, +"type": "string" +}, +"selfLinkWithId": { +"description": "Output only. [Output Only] Server-defined URL for this resource's resource id.", +"readOnly": true, +"type": "string" +}, +"updateTimestamp": { +"description": "Output only. [Output Only] Update timestamp inRFC3339\ntext format.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GlobalVmExtensionPolicyExtensionPolicy": { +"description": "Policy for a single extension.", +"id": "GlobalVmExtensionPolicyExtensionPolicy", +"properties": { +"pinnedVersion": { +"description": "Optional. The version pinning for the extension.\nIf empty, the extension will be installed with the latest version\nreleased by the extension producer.", +"type": "string" +}, +"stringConfig": { +"description": "Optional. String configuration. Any string payload that the extension\nunderstands.", +"type": "string" +} +}, +"type": "object" +}, +"GlobalVmExtensionPolicyInstanceSelector": { +"description": "Selector to target VMs for a zone VM extension policy.", +"id": "GlobalVmExtensionPolicyInstanceSelector", +"properties": { +"labelSelector": { +"$ref": "GlobalVmExtensionPolicyLabelSelector", +"description": "Optional. Labels within the LabelSelector are OR'd." +} +}, +"type": "object" +}, +"GlobalVmExtensionPolicyLabelSelector": { +"description": "A LabelSelector is applicable for a VM only if it matches all labels in\nthe LabelSelector.", +"id": "GlobalVmExtensionPolicyLabelSelector", +"properties": { +"inclusionLabels": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. Labels as key value pairs.\nA VM should contain all the pairs specified in this map to be selected;\nLabels within the LabelSelector are OR'ed.", +"type": "object" +} +}, +"type": "object" +}, +"GlobalVmExtensionPolicyList": { +"description": "Response to list global VM extension policy resources.", +"id": "GlobalVmExtensionPolicyList", +"properties": { +"etag": { +"type": "string" +}, +"id": { +"description": "[Output Only] Unique identifier for the resource; defined by the server.", +"type": "string" +}, +"items": { +"description": "A list of GlobalVmExtensionPolicy resources.", +"items": { +"$ref": "GlobalVmExtensionPolicy" +}, +"type": "array" +}, +"kind": { +"default": "compute#globalVmExtensionPolicyList", +"description": "Output only. Type of resource.", +"readOnly": true, +"type": "string" +}, +"nextPageToken": { +"description": "[Output Only] This token allows you to get the next page of results for\nlist requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for\nthe query parameter pageToken in the next list request.\nSubsequent list requests will have their own nextPageToken to\ncontinue paging through the results.", +"type": "string" +}, +"selfLink": { +"description": "Output only. [Output Only] Server-defined URL for this resource.", +"readOnly": true, +"type": "string" +}, +"unreachables": { +"description": "Output only. [Output Only] Unreachable resources.", +"items": { +"type": "string" +}, +"readOnly": true, +"type": "array" +}, +"warning": { +"description": "[Output Only] Informational warning message.", +"properties": { +"code": { +"description": "[Output Only] A warning code, if applicable. For example, Compute\nEngine returns NO_RESULTS_ON_PAGE if there\nare no results in the response.", +"enum": [ +"CLEANUP_FAILED", +"DEPRECATED_RESOURCE_USED", +"DEPRECATED_TYPE_USED", +"DISK_SIZE_LARGER_THAN_IMAGE_SIZE", +"EXPERIMENTAL_TYPE_USED", +"EXTERNAL_API_WARNING", +"FIELD_VALUE_OVERRIDEN", +"INJECTED_KERNELS_DEPRECATED", +"INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", +"LARGE_DEPLOYMENT_WARNING", +"LIST_OVERHEAD_QUOTA_EXCEED", +"MISSING_TYPE_DEPENDENCY", +"NEXT_HOP_ADDRESS_NOT_ASSIGNED", +"NEXT_HOP_CANNOT_IP_FORWARD", +"NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", +"NEXT_HOP_INSTANCE_NOT_FOUND", +"NEXT_HOP_INSTANCE_NOT_ON_NETWORK", +"NEXT_HOP_NOT_RUNNING", +"NOT_CRITICAL_ERROR", +"NO_RESULTS_ON_PAGE", +"PARTIAL_SUCCESS", +"QUOTA_INFO_UNAVAILABLE", +"REQUIRED_TOS_AGREEMENT", +"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", +"RESOURCE_NOT_DELETED", +"SCHEMA_VALIDATION_IGNORED", +"SINGLE_INSTANCE_PROPERTY_TEMPLATE", +"UNDECLARED_PROPERTIES", +"UNREACHABLE" +], +"enumDeprecated": [ +false, +false, +false, +false, +false, +false, +true, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false +], +"enumDescriptions": [ +"Warning about failed cleanup of transient changes made by a failed\noperation.", +"A link to a deprecated resource was created.", +"When deploying and at least one of the resources has a type marked as\ndeprecated", +"The user created a boot disk that is larger than image size.", +"When deploying and at least one of the resources has a type marked as\nexperimental", +"Warning that is present in an external api call", +"Warning that value of a field has been overridden.\nDeprecated unused field.", +"The operation involved use of an injected kernel, which is deprecated.", +"A WEIGHTED_MAGLEV backend service is associated with a health check that is\nnot of type HTTP/HTTPS/HTTP2.", +"When deploying a deployment with a exceedingly large number of resources", +"Resource can't be retrieved due to list overhead quota exceed\nwhich captures the amount of resources filtered out by\nuser-defined list filter.", +"A resource depends on a missing type", +"The route's nextHopIp address is not assigned to an instance on the\nnetwork.", +"The route's next hop instance cannot ip forward.", +"The route's nextHopInstance URL refers to an instance that does not have an\nipv6 interface on the same network as the route.", +"The route's nextHopInstance URL refers to an instance that does not exist.", +"The route's nextHopInstance URL refers to an instance that is not on the\nsame network as the route.", +"The route's next hop instance does not have a status of RUNNING.", +"Error which is not critical. We decided to continue the process despite\nthe mentioned error.", +"No results are present on a particular list page.", +"Success is reported, but some results may be missing due to errors", +"Quota information is not available to client requests (e.g:\nregions.list).", +"The user attempted to use a resource that requires a TOS they have not\naccepted.", +"Warning that a resource is in use.", +"One or more of the resources set to auto-delete could not be deleted\nbecause they were in use.", +"When a resource schema validation is ignored.", +"Instance template used in instance group manager is valid as such, but\nits application does not make a lot of sense, because it allows only\nsingle instance in instance group.", +"When undeclared properties in the schema are present", +"A given scope cannot be reached." +], +"type": "string" +}, +"data": { +"description": "[Output Only] Metadata about this warning in key:\nvalue format. For example:\n\n\"data\": [\n {\n \"key\": \"scope\",\n \"value\": \"zones/us-east1-d\"\n }", +"items": { +"properties": { +"key": { +"description": "[Output Only] A key that provides more detail on the warning being\nreturned. For example, for warnings where there are no results in a list\nrequest for a particular zone, this key might be scope and\nthe key value might be the zone name. Other examples might be a key\nindicating a deprecated resource and a suggested replacement, or a\nwarning about invalid network settings (for example, if an instance\nattempts to perform IP forwarding but is not enabled for IP forwarding).", +"type": "string" +}, +"value": { +"description": "[Output Only] A warning data value corresponding to the key.", +"type": "string" +} +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "[Output Only] A human-readable description of the warning code.", +"type": "string" +} +}, +"type": "object" +} +}, +"type": "object" +}, +"GlobalVmExtensionPolicyRolloutOperation": { +"description": "Represents the rollout operation", +"id": "GlobalVmExtensionPolicyRolloutOperation", +"properties": { +"rolloutInput": { +"$ref": "GlobalVmExtensionPolicyRolloutOperationRolloutInput", +"description": "Required. The rollout input which defines the rollout plan." +}, +"rolloutStatus": { +"$ref": "GlobalVmExtensionPolicyRolloutOperationRolloutStatus", +"description": "Output only. [Output Only] The rollout status of the policy.", +"readOnly": true +} +}, +"type": "object" +}, +"GlobalVmExtensionPolicyRolloutOperationRolloutInput": { +"id": "GlobalVmExtensionPolicyRolloutOperationRolloutInput", +"properties": { +"conflictBehavior": { +"description": "Optional. Specifies the behavior of the rollout if a conflict is detected in a\nproject during a rollout. This only applies to `insert` and `update`\nmethods.\n\nA conflict occurs in the following cases:\n* `insert` method: If the zonal policy already exists when the insert\n happens.\n* `update` method: If the zonal policy was modified by a zonal API call\n outside of this rollout.\n\nPossible values are the following:\n* `\"\"` (empty string): If a conflict occurs, the local value is not\n overwritten. This is the default behavior.\n* `\"overwrite\"`: If a conflict occurs, the local value is overwritten\n with the rollout value.", +"type": "string" +}, +"name": { +"description": "Optional. The name of the rollout plan.\nEx.\nprojects//locations/global/rolloutPlans/.", +"type": "string" +}, +"predefinedRolloutPlan": { +"description": "Optional. Predefined rollout plan.", +"enum": [ +"FAST_ROLLOUT", +"ROLLOUT_PLAN_UNSPECIFIED", +"SLOW_ROLLOUT" +], +"enumDescriptions": [ +"", +"", +"" +], +"type": "string" +}, +"retryUuid": { +"description": "Optional. The UUID that identifies a policy rollout retry attempt for update and\ndelete operations. Set this field only when retrying a rollout for an\nexisting extension policy.\n\n* `update` method: Lets you retry policy rollout without changes.\nAn error occurs if you set retry_uuid but the policy is modified.\n* `delete` method: Lets you retry policy deletion rollout if the\nprevious deletion rollout is not finished and the policy is in the\nDELETING state. If you set this field when the policy is not in the\nDELETING state, an error occurs.", +"type": "string" +} +}, +"type": "object" +}, +"GlobalVmExtensionPolicyRolloutOperationRolloutStatus": { +"id": "GlobalVmExtensionPolicyRolloutOperationRolloutStatus", +"properties": { +"currentRollouts": { +"description": "Output only. [Output Only] The current rollouts for the latest version of the\nresource. There should be only one current rollout, but for\nscalability, we make it repeated.", +"items": { +"$ref": "GlobalVmExtensionPolicyRolloutOperationRolloutStatusRolloutMetadata" +}, +"readOnly": true, +"type": "array" +}, +"previousRollout": { +"$ref": "GlobalVmExtensionPolicyRolloutOperationRolloutStatusRolloutMetadata", +"description": "Output only. [Output Only] The last completed rollout resource. This field will not\nbe populated until the first rollout is completed.", +"readOnly": true +} +}, +"type": "object" +}, +"GlobalVmExtensionPolicyRolloutOperationRolloutStatusRolloutMetadata": { +"id": "GlobalVmExtensionPolicyRolloutOperationRolloutStatusRolloutMetadata", +"properties": { +"rollout": { +"description": "Output only. [Output Only] The name of the rollout.\nEx. projects//locations/global/rollouts/.", +"readOnly": true, +"type": "string" +}, +"rolloutPlan": { +"description": "Output only. [Output Only] The name of the rollout plan.\nEx.\nprojects//locations/global/rolloutPlans/.", +"readOnly": true, +"type": "string" +}, +"state": { +"description": "Output only. [Output Only] The overall state of the rollout.", +"enum": [ +"STATE_CANCELLED", +"STATE_COMPLETED", +"STATE_FAILED", +"STATE_PAUSED", +"STATE_PROCESSING", +"STATE_UNKNOWN", +"STATE_UNSPECIFIED" +], +"enumDescriptions": [ +"Iteration was explicitly cancelled.", +"Iteration completed, with all actions being successful.", +"Iteration completed, with failures.", +"The rollout is paused.", +"Iteration is in progress.", +"Impossible to determine current state of the iteration.", +"Default value. This value is unused." +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GroupMaintenanceInfo": { +"description": "Maintenance Info for ReservationBlocks.", +"id": "GroupMaintenanceInfo", +"properties": { +"instanceMaintenanceOngoingCount": { +"description": "Describes number of instances that have ongoing maintenance.", +"format": "int32", +"type": "integer" +}, +"instanceMaintenancePendingCount": { +"description": "Describes number of instances that have pending maintenance.", +"format": "int32", +"type": "integer" +}, +"maintenanceOngoingCount": { +"description": "Progress for ongoing maintenance for this group of VMs/hosts.\nDescribes number of hosts in the block that have ongoing maintenance.", +"format": "int32", +"type": "integer" +}, +"maintenancePendingCount": { +"description": "Progress for ongoing maintenance for this group of VMs/hosts.\nDescribes number of hosts in the block that have pending maintenance.", +"format": "int32", +"type": "integer" +}, +"schedulingType": { +"description": "The type of maintenance for the reservation.", +"enum": [ +"GROUPED", +"GROUP_MAINTENANCE_TYPE_UNSPECIFIED", +"INDEPENDENT" +], +"enumDescriptions": [ +"Maintenance on all reserved instances in the reservation is synchronized.", +"Unknown maintenance type.", +"Maintenance is not synchronized for this reservation. Instead, each\ninstance has its own maintenance window." +], +"type": "string" +}, +"subblockInfraMaintenanceOngoingCount": { +"description": "Describes number of subblock Infrastructure that has ongoing maintenance.\nHere, Subblock Infrastructure Maintenance pertains to upstream hardware\ncontained in the Subblock that is necessary for a VM Family(e.g. NVLink\nDomains). Not all VM Families will support this field.", +"format": "int32", +"type": "integer" +}, +"subblockInfraMaintenancePendingCount": { +"description": "Describes number of subblock Infrastructure that has pending maintenance.\n Here, Subblock Infrastructure Maintenance pertains to upstream hardware\n contained in the Subblock that is necessary for a VM Family (e.g. NVLink\n Domains). Not all VM Families will support this field.", +"format": "int32", +"type": "integer" +}, +"upcomingGroupMaintenance": { +"$ref": "UpcomingMaintenance", +"description": "Maintenance information on this group of VMs." +} +}, +"type": "object" +}, +"GuestAttributes": { +"description": "A guest attributes entry.", +"id": "GuestAttributes", +"properties": { +"kind": { +"default": "compute#guestAttributes", +"description": "Output only. [Output Only] Type of the resource. Alwayscompute#guestAttributes for guest attributes entry.", +"readOnly": true, +"type": "string" +}, +"queryPath": { +"description": "The path to be queried. This can be the default namespace ('') or a\nnested namespace ('\\/') or a specified key\n('\\/\\').", +"type": "string" +}, +"queryValue": { +"$ref": "GuestAttributesValue", +"description": "Output only. [Output Only] The value of the requested queried path.", +"readOnly": true +}, +"selfLink": { +"description": "Output only. [Output Only] Server-defined URL for this resource.", +"readOnly": true, +"type": "string" +}, +"variableKey": { +"description": "The key to search for.", +"type": "string" +}, +"variableValue": { +"description": "Output only. [Output Only] The value found for the requested key.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GuestAttributesEntry": { +"description": "A guest attributes namespace/key/value entry.", +"id": "GuestAttributesEntry", +"properties": { +"key": { +"description": "Key for the guest attribute entry.", +"type": "string" +}, +"namespace": { +"description": "Namespace for the guest attribute entry.", +"type": "string" +}, +"value": { +"description": "Value for the guest attribute entry.", +"type": "string" +} +}, +"type": "object" +}, +"GuestAttributesValue": { +"description": "Array of guest attribute namespace/key/value tuples.", +"id": "GuestAttributesValue", +"properties": { +"items": { +"items": { +"$ref": "GuestAttributesEntry" +}, +"type": "array" +} +}, +"type": "object" +}, +"GuestOsFeature": { +"description": "Guest OS features.", +"id": "GuestOsFeature", +"properties": { +"type": { +"description": "The ID of a supported feature. To add multiple values, use commas to\nseparate values. Set to one or more of the following values:\n \n - VIRTIO_SCSI_MULTIQUEUE\n - WINDOWS\n - MULTI_IP_SUBNET\n - UEFI_COMPATIBLE\n - GVNIC\n - SEV_CAPABLE\n - SUSPEND_RESUME_COMPATIBLE\n - SEV_LIVE_MIGRATABLE_V2\n - SEV_SNP_CAPABLE\n - TDX_CAPABLE\n - IDPF\n - SNP_SVSM_CAPABLE\n\n\nFor more information, see\nEnabling guest operating system features.", +"enum": [ +"BARE_METAL_LINUX_COMPATIBLE", +"FEATURE_TYPE_UNSPECIFIED", +"GVNIC", +"IDPF", +"MULTI_IP_SUBNET", +"SECURE_BOOT", +"SEV_CAPABLE", +"SEV_LIVE_MIGRATABLE", +"SEV_LIVE_MIGRATABLE_V2", +"SEV_SNP_CAPABLE", +"SNP_SVSM_CAPABLE", +"TDX_CAPABLE", +"UEFI_COMPATIBLE", +"VIRTIO_SCSI_MULTIQUEUE", +"WINDOWS" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"" +], +"type": "string" +} +}, +"type": "object" +}, +"HTTP2HealthCheck": { +"id": "HTTP2HealthCheck", +"properties": { +"host": { +"description": "The value of the host header in the HTTP/2 health check request. If left\nempty (default value), the host header is set to the destination IP address\nto which health check packets are sent. The destination IP address depends\non the type of load balancer. For details, see:\nhttps://cloud.google.com/load-balancing/docs/health-check-concepts#hc-packet-dest", +"type": "string" +}, +"port": { +"description": "The TCP port number to which the health check prober sends packets. The\ndefault value is 443. Valid values are 1 through65535.", +"format": "int32", +"type": "integer" +}, +"portName": { +"description": "Not supported.", +"type": "string" +}, +"portSpecification": { +"description": "Specifies how a port is selected for health checking. Can be one of the\nfollowing values: \nUSE_FIXED_PORT: Specifies a port number explicitly using theport field in the health check. Supported by backend services\nfor passthrough load balancers and backend services for proxy load\nbalancers. Not supported by target pools. The health check supports all\nbackends supported by the backend service provided the backend can be\nhealth checked. For example, GCE_VM_IP network endpoint\ngroups, GCE_VM_IP_PORT network endpoint groups, and instance\ngroup backends. \n USE_NAMED_PORT: Not supported. \nUSE_SERVING_PORT: Provides an indirect method of specifying\nthe health check port by referring to the backend service. Only supported\nby backend services for proxy load balancers. Not supported by target\npools. Not supported by backend services for passthrough load balancers.\nSupports all backends that can be health checked; for example,GCE_VM_IP_PORT network endpoint groups and instance group\nbackends.\n\nFor GCE_VM_IP_PORT network endpoint group backends, the health\ncheck uses the port number specified for each endpoint in the network\nendpoint group. For instance group backends, the health check uses the\nport number determined by looking up the backend service's named port in\nthe instance group's list of named ports.", +"enum": [ +"USE_FIXED_PORT", +"USE_NAMED_PORT", +"USE_SERVING_PORT" +], +"enumDescriptions": [ +"The port number in the health check's port is used for health\nchecking. Applies to network endpoint group and instance group backends.", +"Not supported.", +"For network endpoint group backends, the health check uses the port number\nspecified on each endpoint in the network endpoint group. For instance\ngroup backends, the health check uses the port number specified for the\nbackend service's named port defined in the instance group's named ports." +], +"type": "string" +}, +"proxyHeader": { +"description": "Specifies the type of proxy header to append before sending data to the\nbackend, either NONE or PROXY_V1. The default\nis NONE.", +"enum": [ +"NONE", +"PROXY_V1" +], +"enumDescriptions": [ +"", +"" +], +"type": "string" +}, +"requestPath": { +"description": "The request path of the HTTP/2 health check request. The default value is/. Must comply withRFC3986.", +"type": "string" +}, +"response": { +"description": "Creates a content-based HTTP/2 health check. In addition to the required\nHTTP 200 (OK) status code, you can configure the health check to pass only\nwhen the backend sends this specific ASCII response string within the first\n1024 bytes of the HTTP response body. For details, see:\nhttps://cloud.google.com/load-balancing/docs/health-check-concepts#criteria-protocol-http", +"type": "string" +} +}, +"type": "object" +}, +"HTTPHealthCheck": { +"id": "HTTPHealthCheck", +"properties": { +"host": { +"description": "The value of the host header in the HTTP health check request. If left\nempty (default value), the host header is set to the destination IP address\nto which health check packets are sent. The destination IP address depends\non the type of load balancer. For details, see:\nhttps://cloud.google.com/load-balancing/docs/health-check-concepts#hc-packet-dest", +"type": "string" +}, +"port": { +"description": "The TCP port number to which the health check prober sends packets. The\ndefault value is 80. Valid values are 1 through65535.", +"format": "int32", +"type": "integer" +}, +"portName": { +"description": "Not supported.", +"type": "string" +}, +"portSpecification": { +"description": "Specifies how a port is selected for health checking. Can be one of the\nfollowing values: \nUSE_FIXED_PORT: Specifies a port number explicitly using theport field in the health check. Supported by backend services\nfor passthrough load balancers and backend services for proxy load\nbalancers. Also supported in legacy HTTP health checks for target pools.\nThe health check supports all backends supported by the backend service\nprovided the backend can be health checked. For example,GCE_VM_IP network endpoint groups, GCE_VM_IP_PORT\nnetwork endpoint groups, and instance group backends. \nUSE_NAMED_PORT: Not supported. \nUSE_SERVING_PORT: Provides an indirect method of specifying\nthe health check port by referring to the backend service. Only supported\nby backend services for proxy load balancers. Not supported by target\npools. Not supported by backend services for pass-through load balancers.\nSupports all backends that can be health checked; for example,GCE_VM_IP_PORT network endpoint groups and instance group\nbackends.\n\nFor GCE_VM_IP_PORT network endpoint group backends, the health\ncheck uses the port number specified for each endpoint in the network\nendpoint group. For instance group backends, the health check uses the\nport number determined by looking up the backend service's named port in\nthe instance group's list of named ports.", +"enum": [ +"USE_FIXED_PORT", +"USE_NAMED_PORT", +"USE_SERVING_PORT" +], +"enumDescriptions": [ +"The port number in the health check's port is used for health\nchecking. Applies to network endpoint group and instance group backends.", +"Not supported.", +"For network endpoint group backends, the health check uses the port number\nspecified on each endpoint in the network endpoint group. For instance\ngroup backends, the health check uses the port number specified for the\nbackend service's named port defined in the instance group's named ports." +], +"type": "string" +}, +"proxyHeader": { +"description": "Specifies the type of proxy header to append before sending data to the\nbackend, either NONE or PROXY_V1. The default\nis NONE.", +"enum": [ +"NONE", +"PROXY_V1" +], +"enumDescriptions": [ +"", +"" +], +"type": "string" +}, +"requestPath": { +"description": "The request path of the HTTP health check request. The default value is/. Must comply withRFC3986.", +"type": "string" +}, +"response": { +"description": "Creates a content-based HTTP health check. In addition to the required\nHTTP 200 (OK) status code, you can configure the health check to pass only\nwhen the backend sends this specific ASCII response string within the first\n1024 bytes of the HTTP response body. For details, see:\nhttps://cloud.google.com/load-balancing/docs/health-check-concepts#criteria-protocol-http", +"type": "string" +} +}, +"type": "object" +}, +"HTTPSHealthCheck": { +"id": "HTTPSHealthCheck", +"properties": { +"host": { +"description": "The value of the host header in the HTTPS health check request. If left\nempty (default value), the host header is set to the destination IP address\nto which health check packets are sent. The destination IP address depends\non the type of load balancer. For details, see:\nhttps://cloud.google.com/load-balancing/docs/health-check-concepts#hc-packet-dest", +"type": "string" +}, +"port": { +"description": "The TCP port number to which the health check prober sends packets. The\ndefault value is 443. Valid values are 1 through65535.", +"format": "int32", +"type": "integer" +}, +"portName": { +"description": "Not supported.", +"type": "string" +}, +"portSpecification": { +"description": "Specifies how a port is selected for health checking. Can be one of the\nfollowing values: \nUSE_FIXED_PORT: Specifies a port number explicitly using theport field in the health check. Supported by backend services\nfor passthrough load balancers and backend services for proxy load\nbalancers. Not supported by target pools. The health check supports all\nbackends supported by the backend service provided the backend can be\nhealth checked. For example, GCE_VM_IP network endpoint\ngroups, GCE_VM_IP_PORT network endpoint groups, and instance\ngroup backends. \n USE_NAMED_PORT: Not supported. \nUSE_SERVING_PORT: Provides an indirect method of specifying\nthe health check port by referring to the backend service. Only supported\nby backend services for proxy load balancers. Not supported by target\npools. Not supported by backend services for passthrough load balancers.\nSupports all backends that can be health checked; for example,GCE_VM_IP_PORT network endpoint groups and instance group\nbackends.\n\nFor GCE_VM_IP_PORT network endpoint group backends, the health\ncheck uses the port number specified for each endpoint in the network\nendpoint group. For instance group backends, the health check uses the\nport number determined by looking up the backend service's named port in\nthe instance group's list of named ports.", +"enum": [ +"USE_FIXED_PORT", +"USE_NAMED_PORT", +"USE_SERVING_PORT" +], +"enumDescriptions": [ +"The port number in the health check's port is used for health\nchecking. Applies to network endpoint group and instance group backends.", +"Not supported.", +"For network endpoint group backends, the health check uses the port number\nspecified on each endpoint in the network endpoint group. For instance\ngroup backends, the health check uses the port number specified for the\nbackend service's named port defined in the instance group's named ports." +], +"type": "string" +}, +"proxyHeader": { +"description": "Specifies the type of proxy header to append before sending data to the\nbackend, either NONE or PROXY_V1. The default\nis NONE.", +"enum": [ +"NONE", +"PROXY_V1" +], +"enumDescriptions": [ +"", +"" +], +"type": "string" +}, +"requestPath": { +"description": "The request path of the HTTPS health check request. The default value is/. Must comply withRFC3986.", +"type": "string" +}, +"response": { +"description": "Creates a content-based HTTPS health check. In addition to the required\nHTTP 200 (OK) status code, you can configure the health check to pass only\nwhen the backend sends this specific ASCII response string within the first\n1024 bytes of the HTTP response body. For details, see:\nhttps://cloud.google.com/load-balancing/docs/health-check-concepts#criteria-protocol-http", +"type": "string" +} +}, +"type": "object" +}, +"HealthAggregationPoliciesScopedList": { +"id": "HealthAggregationPoliciesScopedList", +"properties": { +"healthAggregationPolicies": { +"description": "A list of HealthAggregationPolicys contained in this scope.", +"items": { +"$ref": "HealthAggregationPolicy" +}, +"type": "array" +}, +"warning": { +"description": "Informational warning which replaces the list of health aggregation\npolicies when the list is empty.", +"properties": { +"code": { +"description": "[Output Only] A warning code, if applicable. For example, Compute\nEngine returns NO_RESULTS_ON_PAGE if there\nare no results in the response.", +"enum": [ +"CLEANUP_FAILED", +"DEPRECATED_RESOURCE_USED", +"DEPRECATED_TYPE_USED", +"DISK_SIZE_LARGER_THAN_IMAGE_SIZE", +"EXPERIMENTAL_TYPE_USED", +"EXTERNAL_API_WARNING", +"FIELD_VALUE_OVERRIDEN", +"INJECTED_KERNELS_DEPRECATED", +"INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", +"LARGE_DEPLOYMENT_WARNING", +"LIST_OVERHEAD_QUOTA_EXCEED", +"MISSING_TYPE_DEPENDENCY", +"NEXT_HOP_ADDRESS_NOT_ASSIGNED", +"NEXT_HOP_CANNOT_IP_FORWARD", +"NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", +"NEXT_HOP_INSTANCE_NOT_FOUND", +"NEXT_HOP_INSTANCE_NOT_ON_NETWORK", +"NEXT_HOP_NOT_RUNNING", +"NOT_CRITICAL_ERROR", +"NO_RESULTS_ON_PAGE", +"PARTIAL_SUCCESS", +"QUOTA_INFO_UNAVAILABLE", +"REQUIRED_TOS_AGREEMENT", +"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", +"RESOURCE_NOT_DELETED", +"SCHEMA_VALIDATION_IGNORED", +"SINGLE_INSTANCE_PROPERTY_TEMPLATE", +"UNDECLARED_PROPERTIES", +"UNREACHABLE" +], +"enumDeprecated": [ +false, +false, +false, +false, +false, +false, +true, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false +], +"enumDescriptions": [ +"Warning about failed cleanup of transient changes made by a failed\noperation.", +"A link to a deprecated resource was created.", +"When deploying and at least one of the resources has a type marked as\ndeprecated", +"The user created a boot disk that is larger than image size.", +"When deploying and at least one of the resources has a type marked as\nexperimental", +"Warning that is present in an external api call", +"Warning that value of a field has been overridden.\nDeprecated unused field.", +"The operation involved use of an injected kernel, which is deprecated.", +"A WEIGHTED_MAGLEV backend service is associated with a health check that is\nnot of type HTTP/HTTPS/HTTP2.", +"When deploying a deployment with a exceedingly large number of resources", +"Resource can't be retrieved due to list overhead quota exceed\nwhich captures the amount of resources filtered out by\nuser-defined list filter.", +"A resource depends on a missing type", +"The route's nextHopIp address is not assigned to an instance on the\nnetwork.", +"The route's next hop instance cannot ip forward.", +"The route's nextHopInstance URL refers to an instance that does not have an\nipv6 interface on the same network as the route.", +"The route's nextHopInstance URL refers to an instance that does not exist.", +"The route's nextHopInstance URL refers to an instance that is not on the\nsame network as the route.", +"The route's next hop instance does not have a status of RUNNING.", +"Error which is not critical. We decided to continue the process despite\nthe mentioned error.", +"No results are present on a particular list page.", +"Success is reported, but some results may be missing due to errors", +"Quota information is not available to client requests (e.g:\nregions.list).", +"The user attempted to use a resource that requires a TOS they have not\naccepted.", +"Warning that a resource is in use.", +"One or more of the resources set to auto-delete could not be deleted\nbecause they were in use.", +"When a resource schema validation is ignored.", +"Instance template used in instance group manager is valid as such, but\nits application does not make a lot of sense, because it allows only\nsingle instance in instance group.", +"When undeclared properties in the schema are present", +"A given scope cannot be reached." +], +"type": "string" +}, +"data": { +"description": "[Output Only] Metadata about this warning in key:\nvalue format. For example:\n\n\"data\": [\n {\n \"key\": \"scope\",\n \"value\": \"zones/us-east1-d\"\n }", +"items": { +"properties": { +"key": { +"description": "[Output Only] A key that provides more detail on the warning being\nreturned. For example, for warnings where there are no results in a list\nrequest for a particular zone, this key might be scope and\nthe key value might be the zone name. Other examples might be a key\nindicating a deprecated resource and a suggested replacement, or a\nwarning about invalid network settings (for example, if an instance\nattempts to perform IP forwarding but is not enabled for IP forwarding).", +"type": "string" +}, +"value": { +"description": "[Output Only] A warning data value corresponding to the key.", +"type": "string" +} +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "[Output Only] A human-readable description of the warning code.", +"type": "string" +} +}, +"type": "object" +} +}, +"type": "object" +}, +"HealthAggregationPolicy": { +"description": "Represents a health aggregation policy.\n\nA health aggregation policy resource defines a policy to aggregate health.\n\nFor more information, see\nHealth checks overview.", +"id": "HealthAggregationPolicy", +"properties": { +"creationTimestamp": { +"description": "Output only. [Output Only] Creation timestamp inRFC3339\ntext format.", +"readOnly": true, +"type": "string" +}, +"description": { +"description": "An optional description of this resource. Provide this property when you\ncreate the resource.", +"type": "string" +}, +"fingerprint": { +"description": "Fingerprint of this resource. A hash of the contents stored in this object.\nThis field is used in optimistic locking. This field will be ignored when\ninserting a HealthAggregationPolicy. An up-to-date fingerprint\nmust be provided in order to patch the HealthAggregationPolicy; Otherwise,\nthe request will fail with error 412 conditionNotMet. To see\nthe latest fingerprint, make a get() request to retrieve the\nHealthAggregationPolicy.", +"format": "byte", +"type": "string" +}, +"healthyPercentThreshold": { +"description": "Can only be set if the policyType field isBACKEND_SERVICE_POLICY. Specifies the threshold (as a\npercentage) of healthy endpoints required in order to consider the\naggregated health result HEALTHY. Defaults to 60. Must be in\nrange [0, 100]. Not applicable if the policyType field isDNB_PUBLIC_IP_POLICY. Can be mutated. This field is optional,\nand will be set to the default if unspecified. Note that both this\nthreshold and minHealthyThreshold must be satisfied in order\nfor HEALTHY to be the aggregated result. \"Endpoints\" refers to network\nendpoints within a Network Endpoint Group or instances within an Instance\nGroup.", +"format": "uint32", +"type": "integer" +}, +"id": { +"description": "Output only. [Output Only] The unique identifier for the resource. This identifier is\ndefined by the server.", +"format": "uint64", +"readOnly": true, +"type": "string" +}, +"kind": { +"default": "compute#healthAggregationPolicy", +"description": "Output only. [Output Only] Type of the resource. Alwayscompute#healthAggregationPolicy for health aggregation\npolicies.", +"readOnly": true, +"type": "string" +}, +"minHealthyThreshold": { +"description": "Can only be set if the policyType field isBACKEND_SERVICE_POLICY. Specifies the minimum number of\nhealthy endpoints required in order to consider the aggregated health\nresult HEALTHY. Defaults to 1. Must be positive. Not\napplicable if the policyType field isDNB_PUBLIC_IP_POLICY. Can be mutated. This field is optional,\nand will be set to the default if unspecified. Note that both this\nthreshold and healthyPercentThreshold must be satisfied in\norder for HEALTHY to be the aggregated result. \"Endpoints\" refers to\nnetwork endpoints within a Network Endpoint Group or instances within an\nInstance Group.", +"format": "uint32", +"type": "integer" +}, +"name": { +"description": "Name of the resource. Provided by the client when the resource is created.\nThe name must be 1-63 characters long, and comply withRFC1035.\nSpecifically, the name must be 1-63 characters long and match the regular\nexpression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first\ncharacter must be a lowercase letter, and all following characters must\nbe a dash, lowercase letter, or digit, except the last character, which\ncannot be a dash.", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"type": "string" +}, +"policyType": { +"description": "Specifies the type of the healthAggregationPolicy. The only allowed value\nfor global resources is DNS_PUBLIC_IP_POLICY. The only allowed\nvalue for regional resources is BACKEND_SERVICE_POLICY. Must\nbe specified when the healthAggregationPolicy is created, and cannot be\nmutated.", +"enum": [ +"BACKEND_SERVICE_POLICY", +"DNS_PUBLIC_IP_POLICY" +], +"enumDescriptions": [ +"", +"" +], +"type": "string" +}, +"region": { +"description": "Output only. [Output Only] URL of the region where the health aggregation policy\nresides. This field applies only to the regional resource. You must specify\nthis field as part of the HTTP request URL. It is not settable as a field\nin the request body.", +"readOnly": true, +"type": "string" +}, +"selfLink": { +"description": "Output only. [Output Only] Server-defined URL for the resource.", +"readOnly": true, +"type": "string" +}, +"selfLinkWithId": { +"description": "Output only. [Output Only] Server-defined URL with id for the resource.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"HealthAggregationPolicyAggregatedList": { +"description": "Contains a list of HealthAggregationPoliciesScopedList.", +"id": "HealthAggregationPolicyAggregatedList", +"properties": { +"id": { +"description": "[Output Only] Unique identifier for the resource; defined by the server.", +"type": "string" +}, +"items": { +"additionalProperties": { +"$ref": "HealthAggregationPoliciesScopedList", +"description": "Name of the scope containing this set of HealthAggregationPolicies." +}, +"description": "A list of HealthAggregationPoliciesScopedList resources.", +"type": "object" +}, +"kind": { +"default": "compute#healthAggregationPolicyAggregatedList", +"description": "Output only. Type of resource.", +"readOnly": true, +"type": "string" +}, +"nextPageToken": { +"description": "[Output Only] This token allows you to get the next page of results for\nlist requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for\nthe query parameter pageToken in the next list request.\nSubsequent list requests will have their own nextPageToken to\ncontinue paging through the results.", +"type": "string" +}, +"selfLink": { +"description": "Output only. [Output Only] Server-defined URL for this resource.", +"readOnly": true, +"type": "string" +}, +"unreachables": { +"description": "Output only. [Output Only] Unreachable resources.", +"items": { +"type": "string" +}, +"readOnly": true, +"type": "array" +}, +"warning": { +"description": "[Output Only] Informational warning message.", +"properties": { +"code": { +"description": "[Output Only] A warning code, if applicable. For example, Compute\nEngine returns NO_RESULTS_ON_PAGE if there\nare no results in the response.", +"enum": [ +"CLEANUP_FAILED", +"DEPRECATED_RESOURCE_USED", +"DEPRECATED_TYPE_USED", +"DISK_SIZE_LARGER_THAN_IMAGE_SIZE", +"EXPERIMENTAL_TYPE_USED", +"EXTERNAL_API_WARNING", +"FIELD_VALUE_OVERRIDEN", +"INJECTED_KERNELS_DEPRECATED", +"INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", +"LARGE_DEPLOYMENT_WARNING", +"LIST_OVERHEAD_QUOTA_EXCEED", +"MISSING_TYPE_DEPENDENCY", +"NEXT_HOP_ADDRESS_NOT_ASSIGNED", +"NEXT_HOP_CANNOT_IP_FORWARD", +"NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", +"NEXT_HOP_INSTANCE_NOT_FOUND", +"NEXT_HOP_INSTANCE_NOT_ON_NETWORK", +"NEXT_HOP_NOT_RUNNING", +"NOT_CRITICAL_ERROR", +"NO_RESULTS_ON_PAGE", +"PARTIAL_SUCCESS", +"QUOTA_INFO_UNAVAILABLE", +"REQUIRED_TOS_AGREEMENT", +"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", +"RESOURCE_NOT_DELETED", +"SCHEMA_VALIDATION_IGNORED", +"SINGLE_INSTANCE_PROPERTY_TEMPLATE", +"UNDECLARED_PROPERTIES", +"UNREACHABLE" +], +"enumDeprecated": [ +false, +false, +false, +false, +false, +false, +true, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false +], +"enumDescriptions": [ +"Warning about failed cleanup of transient changes made by a failed\noperation.", +"A link to a deprecated resource was created.", +"When deploying and at least one of the resources has a type marked as\ndeprecated", +"The user created a boot disk that is larger than image size.", +"When deploying and at least one of the resources has a type marked as\nexperimental", +"Warning that is present in an external api call", +"Warning that value of a field has been overridden.\nDeprecated unused field.", +"The operation involved use of an injected kernel, which is deprecated.", +"A WEIGHTED_MAGLEV backend service is associated with a health check that is\nnot of type HTTP/HTTPS/HTTP2.", +"When deploying a deployment with a exceedingly large number of resources", +"Resource can't be retrieved due to list overhead quota exceed\nwhich captures the amount of resources filtered out by\nuser-defined list filter.", +"A resource depends on a missing type", +"The route's nextHopIp address is not assigned to an instance on the\nnetwork.", +"The route's next hop instance cannot ip forward.", +"The route's nextHopInstance URL refers to an instance that does not have an\nipv6 interface on the same network as the route.", +"The route's nextHopInstance URL refers to an instance that does not exist.", +"The route's nextHopInstance URL refers to an instance that is not on the\nsame network as the route.", +"The route's next hop instance does not have a status of RUNNING.", +"Error which is not critical. We decided to continue the process despite\nthe mentioned error.", +"No results are present on a particular list page.", +"Success is reported, but some results may be missing due to errors", +"Quota information is not available to client requests (e.g:\nregions.list).", +"The user attempted to use a resource that requires a TOS they have not\naccepted.", +"Warning that a resource is in use.", +"One or more of the resources set to auto-delete could not be deleted\nbecause they were in use.", +"When a resource schema validation is ignored.", +"Instance template used in instance group manager is valid as such, but\nits application does not make a lot of sense, because it allows only\nsingle instance in instance group.", +"When undeclared properties in the schema are present", +"A given scope cannot be reached." +], +"type": "string" +}, +"data": { +"description": "[Output Only] Metadata about this warning in key:\nvalue format. For example:\n\n\"data\": [\n {\n \"key\": \"scope\",\n \"value\": \"zones/us-east1-d\"\n }", +"items": { +"properties": { +"key": { +"description": "[Output Only] A key that provides more detail on the warning being\nreturned. For example, for warnings where there are no results in a list\nrequest for a particular zone, this key might be scope and\nthe key value might be the zone name. Other examples might be a key\nindicating a deprecated resource and a suggested replacement, or a\nwarning about invalid network settings (for example, if an instance\nattempts to perform IP forwarding but is not enabled for IP forwarding).", +"type": "string" +}, +"value": { +"description": "[Output Only] A warning data value corresponding to the key.", +"type": "string" +} +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "[Output Only] A human-readable description of the warning code.", +"type": "string" +} +}, +"type": "object" +} +}, +"type": "object" +}, +"HealthAggregationPolicyList": { +"id": "HealthAggregationPolicyList", +"properties": { +"id": { +"description": "[Output Only] Unique identifier for the resource; defined by the server.", +"type": "string" +}, +"items": { +"description": "A list of HealthAggregationPolicy resources.", +"items": { +"$ref": "HealthAggregationPolicy" +}, +"type": "array" +}, +"kind": { +"default": "compute#healthAggregationPolicyList", +"description": "Output only. [Output Only] Type of the resource. Alwayscompute#healthAggregationPolicy for health aggregation\npolicies.", +"readOnly": true, +"type": "string" +}, +"nextPageToken": { +"description": "[Output Only] This token allows you to get the next page of results for\nlist requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for\nthe query parameter pageToken in the next list request.\nSubsequent list requests will have their own nextPageToken to\ncontinue paging through the results.", +"type": "string" +}, +"selfLink": { +"description": "[Output Only] Server-defined URL for this resource.", +"type": "string" +}, +"warning": { +"description": "[Output Only] Informational warning message.", +"properties": { +"code": { +"description": "[Output Only] A warning code, if applicable. For example, Compute\nEngine returns NO_RESULTS_ON_PAGE if there\nare no results in the response.", +"enum": [ +"CLEANUP_FAILED", +"DEPRECATED_RESOURCE_USED", +"DEPRECATED_TYPE_USED", +"DISK_SIZE_LARGER_THAN_IMAGE_SIZE", +"EXPERIMENTAL_TYPE_USED", +"EXTERNAL_API_WARNING", +"FIELD_VALUE_OVERRIDEN", +"INJECTED_KERNELS_DEPRECATED", +"INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", +"LARGE_DEPLOYMENT_WARNING", +"LIST_OVERHEAD_QUOTA_EXCEED", +"MISSING_TYPE_DEPENDENCY", +"NEXT_HOP_ADDRESS_NOT_ASSIGNED", +"NEXT_HOP_CANNOT_IP_FORWARD", +"NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", +"NEXT_HOP_INSTANCE_NOT_FOUND", +"NEXT_HOP_INSTANCE_NOT_ON_NETWORK", +"NEXT_HOP_NOT_RUNNING", +"NOT_CRITICAL_ERROR", +"NO_RESULTS_ON_PAGE", +"PARTIAL_SUCCESS", +"QUOTA_INFO_UNAVAILABLE", +"REQUIRED_TOS_AGREEMENT", +"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", +"RESOURCE_NOT_DELETED", +"SCHEMA_VALIDATION_IGNORED", +"SINGLE_INSTANCE_PROPERTY_TEMPLATE", +"UNDECLARED_PROPERTIES", +"UNREACHABLE" +], +"enumDeprecated": [ +false, +false, +false, +false, +false, +false, +true, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false +], +"enumDescriptions": [ +"Warning about failed cleanup of transient changes made by a failed\noperation.", +"A link to a deprecated resource was created.", +"When deploying and at least one of the resources has a type marked as\ndeprecated", +"The user created a boot disk that is larger than image size.", +"When deploying and at least one of the resources has a type marked as\nexperimental", +"Warning that is present in an external api call", +"Warning that value of a field has been overridden.\nDeprecated unused field.", +"The operation involved use of an injected kernel, which is deprecated.", +"A WEIGHTED_MAGLEV backend service is associated with a health check that is\nnot of type HTTP/HTTPS/HTTP2.", +"When deploying a deployment with a exceedingly large number of resources", +"Resource can't be retrieved due to list overhead quota exceed\nwhich captures the amount of resources filtered out by\nuser-defined list filter.", +"A resource depends on a missing type", +"The route's nextHopIp address is not assigned to an instance on the\nnetwork.", +"The route's next hop instance cannot ip forward.", +"The route's nextHopInstance URL refers to an instance that does not have an\nipv6 interface on the same network as the route.", +"The route's nextHopInstance URL refers to an instance that does not exist.", +"The route's nextHopInstance URL refers to an instance that is not on the\nsame network as the route.", +"The route's next hop instance does not have a status of RUNNING.", +"Error which is not critical. We decided to continue the process despite\nthe mentioned error.", +"No results are present on a particular list page.", +"Success is reported, but some results may be missing due to errors", +"Quota information is not available to client requests (e.g:\nregions.list).", +"The user attempted to use a resource that requires a TOS they have not\naccepted.", +"Warning that a resource is in use.", +"One or more of the resources set to auto-delete could not be deleted\nbecause they were in use.", +"When a resource schema validation is ignored.", +"Instance template used in instance group manager is valid as such, but\nits application does not make a lot of sense, because it allows only\nsingle instance in instance group.", +"When undeclared properties in the schema are present", +"A given scope cannot be reached." +], +"type": "string" +}, +"data": { +"description": "[Output Only] Metadata about this warning in key:\nvalue format. For example:\n\n\"data\": [\n {\n \"key\": \"scope\",\n \"value\": \"zones/us-east1-d\"\n }", +"items": { +"properties": { +"key": { +"description": "[Output Only] A key that provides more detail on the warning being\nreturned. For example, for warnings where there are no results in a list\nrequest for a particular zone, this key might be scope and\nthe key value might be the zone name. Other examples might be a key\nindicating a deprecated resource and a suggested replacement, or a\nwarning about invalid network settings (for example, if an instance\nattempts to perform IP forwarding but is not enabled for IP forwarding).", +"type": "string" +}, +"value": { +"description": "[Output Only] A warning data value corresponding to the key.", +"type": "string" +} +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "[Output Only] A human-readable description of the warning code.", +"type": "string" +} +}, +"type": "object" +} +}, +"type": "object" +}, +"HealthCheck": { +"description": "Represents a health check resource.\n\nGoogle Compute Engine has two health check resources:\n\n* [Regional](/compute/docs/reference/rest/beta/regionHealthChecks)\n* [Global](/compute/docs/reference/rest/beta/healthChecks)\n\nThese health check resources can be used for load balancing and for\nautohealing VMs in a managed instance group (MIG).\n\n**Load balancing**\n\nHealth check requirements vary depending on the type of load balancer. For\ndetails about the type of health check supported for\neach load balancer and corresponding backend type,\nsee Health\nchecks overview: Load balancer guide.\n\n**Autohealing in MIGs**\n\nThe health checks that you use for autohealing VMs in a MIG can be either\nregional or global. For more information, see Set up an\napplication health check and autohealing.\n\nFor more information, seeHealth checks\noverview.", +"id": "HealthCheck", +"properties": { +"checkIntervalSec": { +"description": "How often (in seconds) to send a health check. The default value is 5\nseconds.", +"format": "int32", +"type": "integer" +}, +"creationTimestamp": { +"description": "Output only. [Output Only] Creation timestamp in3339\ntext format.", +"readOnly": true, +"type": "string" +}, +"description": { +"description": "An optional description of this resource. Provide this property when you\ncreate the resource.", +"type": "string" +}, +"grpcHealthCheck": { +"$ref": "GRPCHealthCheck" +}, +"grpcTlsHealthCheck": { +"$ref": "GRPCTLSHealthCheck" +}, +"healthyThreshold": { +"description": "A so-far unhealthy instance will be marked healthy after this\nmany consecutive successes. The default value is 2.", +"format": "int32", +"type": "integer" +}, +"http2HealthCheck": { +"$ref": "HTTP2HealthCheck" +}, +"httpHealthCheck": { +"$ref": "HTTPHealthCheck" +}, +"httpsHealthCheck": { +"$ref": "HTTPSHealthCheck" +}, +"id": { +"description": "[Output Only] The unique identifier for the resource. This identifier is\ndefined by the server.", +"format": "uint64", +"type": "string" +}, +"kind": { +"default": "compute#healthCheck", +"description": "Output only. Type of the resource.", +"readOnly": true, +"type": "string" +}, +"logConfig": { +"$ref": "HealthCheckLogConfig", +"description": "Configure logging on this health check." +}, +"name": { +"description": "Name of the resource. Provided by the client when the resource is created.\nThe name must be 1-63 characters long, and comply withRFC1035.\nFor example, a name that is 1-63 characters long, matches the regular\nexpression `[a-z]([-a-z0-9]*[a-z0-9])?`, and otherwise complies with\nRFC1035. This regular expression describes a name where the first\ncharacter is a lowercase letter, and all following characters are a dash,\nlowercase letter, or digit, except the last character, which isn't a dash.", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"type": "string" +}, +"region": { +"description": "Output only. [Output Only] Region where the health check resides. Not applicable to\nglobal health checks.", +"readOnly": true, +"type": "string" +}, +"selfLink": { +"description": "[Output Only] Server-defined URL for the resource.", +"type": "string" +}, +"sourceRegions": { +"description": "The list of cloud regions from which health checks are performed. If any\nregions are specified, then exactly 3 regions should be specified. The\nregion names must be valid names of Google Cloud regions.\nThis can only be set for global health check.\nIf this list is non-empty, then there are restrictions\non what other health check fields are supported and what other resources\ncan use this health check:\n \n - SSL, HTTP2, and GRPC protocols are not supported.\n - The TCP request field is not supported.\n - The proxyHeader field for HTTP, HTTPS, and TCP is not\n supported.\n - The checkIntervalSec field must be at least 30.\n - The health check cannot be used with BackendService nor with managed\n instance group auto-healing.", +"items": { +"type": "string" +}, +"type": "array" +}, +"sslHealthCheck": { +"$ref": "SSLHealthCheck" +}, +"tcpHealthCheck": { +"$ref": "TCPHealthCheck" +}, +"timeoutSec": { +"description": "How long (in seconds) to wait before claiming failure. The default value is\n5 seconds. It is invalid for timeoutSec to have greater\nvalue than checkIntervalSec.", +"format": "int32", +"type": "integer" +}, +"type": { +"description": "Specifies the type of the healthCheck, either TCP,SSL, HTTP, HTTPS,HTTP2 or GRPC. Exactly one of the\nprotocol-specific health check fields must be specified, which must matchtype field.", +"enum": [ +"GRPC", +"GRPC_WITH_TLS", +"HTTP", +"HTTP2", +"HTTPS", +"INVALID", +"SSL", +"TCP" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"", +"", +"" +], +"type": "string" +}, +"unhealthyThreshold": { +"description": "A so-far healthy instance will be marked unhealthy after this many\nconsecutive failures. The default value is 2.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"HealthCheckList": { +"description": "Contains a list of HealthCheck resources.", +"id": "HealthCheckList", +"properties": { +"id": { +"description": "[Output Only] Unique identifier for the resource; defined by the server.", +"type": "string" +}, +"items": { +"description": "A list of HealthCheck resources.", +"items": { +"$ref": "HealthCheck" +}, +"type": "array" +}, +"kind": { +"default": "compute#healthCheckList", +"description": "Output only. Type of resource.", +"readOnly": true, +"type": "string" +}, +"nextPageToken": { +"description": "[Output Only] This token allows you to get the next page of results for\nlist requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for\nthe query parameter pageToken in the next list request.\nSubsequent list requests will have their own nextPageToken to\ncontinue paging through the results.", +"type": "string" +}, +"selfLink": { +"description": "Output only. [Output Only] Server-defined URL for this resource.", +"readOnly": true, +"type": "string" +}, +"warning": { +"description": "[Output Only] Informational warning message.", +"properties": { +"code": { +"description": "[Output Only] A warning code, if applicable. For example, Compute\nEngine returns NO_RESULTS_ON_PAGE if there\nare no results in the response.", +"enum": [ +"CLEANUP_FAILED", +"DEPRECATED_RESOURCE_USED", +"DEPRECATED_TYPE_USED", +"DISK_SIZE_LARGER_THAN_IMAGE_SIZE", +"EXPERIMENTAL_TYPE_USED", +"EXTERNAL_API_WARNING", +"FIELD_VALUE_OVERRIDEN", +"INJECTED_KERNELS_DEPRECATED", +"INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", +"LARGE_DEPLOYMENT_WARNING", +"LIST_OVERHEAD_QUOTA_EXCEED", +"MISSING_TYPE_DEPENDENCY", +"NEXT_HOP_ADDRESS_NOT_ASSIGNED", +"NEXT_HOP_CANNOT_IP_FORWARD", +"NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", +"NEXT_HOP_INSTANCE_NOT_FOUND", +"NEXT_HOP_INSTANCE_NOT_ON_NETWORK", +"NEXT_HOP_NOT_RUNNING", +"NOT_CRITICAL_ERROR", +"NO_RESULTS_ON_PAGE", +"PARTIAL_SUCCESS", +"QUOTA_INFO_UNAVAILABLE", +"REQUIRED_TOS_AGREEMENT", +"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", +"RESOURCE_NOT_DELETED", +"SCHEMA_VALIDATION_IGNORED", +"SINGLE_INSTANCE_PROPERTY_TEMPLATE", +"UNDECLARED_PROPERTIES", +"UNREACHABLE" +], +"enumDeprecated": [ +false, +false, +false, +false, +false, +false, +true, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false +], +"enumDescriptions": [ +"Warning about failed cleanup of transient changes made by a failed\noperation.", +"A link to a deprecated resource was created.", +"When deploying and at least one of the resources has a type marked as\ndeprecated", +"The user created a boot disk that is larger than image size.", +"When deploying and at least one of the resources has a type marked as\nexperimental", +"Warning that is present in an external api call", +"Warning that value of a field has been overridden.\nDeprecated unused field.", +"The operation involved use of an injected kernel, which is deprecated.", +"A WEIGHTED_MAGLEV backend service is associated with a health check that is\nnot of type HTTP/HTTPS/HTTP2.", +"When deploying a deployment with a exceedingly large number of resources", +"Resource can't be retrieved due to list overhead quota exceed\nwhich captures the amount of resources filtered out by\nuser-defined list filter.", +"A resource depends on a missing type", +"The route's nextHopIp address is not assigned to an instance on the\nnetwork.", +"The route's next hop instance cannot ip forward.", +"The route's nextHopInstance URL refers to an instance that does not have an\nipv6 interface on the same network as the route.", +"The route's nextHopInstance URL refers to an instance that does not exist.", +"The route's nextHopInstance URL refers to an instance that is not on the\nsame network as the route.", +"The route's next hop instance does not have a status of RUNNING.", +"Error which is not critical. We decided to continue the process despite\nthe mentioned error.", +"No results are present on a particular list page.", +"Success is reported, but some results may be missing due to errors", +"Quota information is not available to client requests (e.g:\nregions.list).", +"The user attempted to use a resource that requires a TOS they have not\naccepted.", +"Warning that a resource is in use.", +"One or more of the resources set to auto-delete could not be deleted\nbecause they were in use.", +"When a resource schema validation is ignored.", +"Instance template used in instance group manager is valid as such, but\nits application does not make a lot of sense, because it allows only\nsingle instance in instance group.", +"When undeclared properties in the schema are present", +"A given scope cannot be reached." +], +"type": "string" +}, +"data": { +"description": "[Output Only] Metadata about this warning in key:\nvalue format. For example:\n\n\"data\": [\n {\n \"key\": \"scope\",\n \"value\": \"zones/us-east1-d\"\n }", +"items": { +"properties": { +"key": { +"description": "[Output Only] A key that provides more detail on the warning being\nreturned. For example, for warnings where there are no results in a list\nrequest for a particular zone, this key might be scope and\nthe key value might be the zone name. Other examples might be a key\nindicating a deprecated resource and a suggested replacement, or a\nwarning about invalid network settings (for example, if an instance\nattempts to perform IP forwarding but is not enabled for IP forwarding).", +"type": "string" +}, +"value": { +"description": "[Output Only] A warning data value corresponding to the key.", +"type": "string" +} +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "[Output Only] A human-readable description of the warning code.", +"type": "string" +} +}, +"type": "object" +} +}, +"type": "object" +}, +"HealthCheckLogConfig": { +"description": "Configuration of logging on a health check. If logging is enabled, logs\nwill be exported to Stackdriver.", +"id": "HealthCheckLogConfig", +"properties": { +"enable": { +"description": "Indicates whether or not to export logs. This is false by default, which\nmeans no health check logging will be done.", +"type": "boolean" +} +}, +"type": "object" +}, +"HealthCheckReference": { +"description": "A full or valid partial URL to a health check. For example, the following are\nvalid URLs:\n \n - https://www.googleapis.com/compute/beta/projects/project-id/global/httpHealthChecks/health-check\n - projects/project-id/global/httpHealthChecks/health-check\n - global/httpHealthChecks/health-check", +"id": "HealthCheckReference", +"properties": { +"healthCheck": { +"type": "string" +} +}, +"type": "object" +}, +"HealthCheckService": { +"description": "Represents a Health-Check as a Service resource.", +"id": "HealthCheckService", +"properties": { +"creationTimestamp": { +"description": "Output only. [Output Only] Creation timestamp inRFC3339\ntext format.", +"readOnly": true, +"type": "string" +}, +"description": { +"description": "An optional description of this resource. Provide this property when you\ncreate the resource.", +"type": "string" +}, +"fingerprint": { +"description": "Fingerprint of this resource. A hash of the contents stored in this object.\nThis field is used in optimistic locking. This field will be ignored when\ninserting a HealthCheckService. An up-to-date fingerprint must\nbe provided in order to patch/update the HealthCheckService; Otherwise, the\nrequest will fail with error 412 conditionNotMet. To see the\nlatest fingerprint, make a get() request to retrieve the\nHealthCheckService.", +"format": "byte", +"type": "string" +}, +"healthChecks": { +"description": "A list of URLs to the HealthCheck resources. Must have\nat least one HealthCheck, and not more than 10 for regionalHealthCheckService, and not more than 1 for globalHealthCheckService.HealthCheck resources must haveportSpecification=USE_SERVING_PORT orportSpecification=USE_FIXED_PORT. For\nregional HealthCheckService, theHealthCheck must be regional and in the same\nregion. For global HealthCheckService,HealthCheck must be global. Mix of regional and globalHealthChecks is not supported. Multiple regionalHealthChecks must belong to the same region. RegionalHealthChecks must belong to the same region as zones ofNetworkEndpointGroups. For globalHealthCheckService using globalINTERNET_IP_PORT NetworkEndpointGroups, the\nglobal HealthChecks must specify sourceRegions,\nand HealthChecks that specify sourceRegions can\nonly be used with global INTERNET_IP_PORTNetworkEndpointGroups.", +"items": { +"type": "string" +}, +"type": "array" +}, +"healthStatusAggregationPolicy": { +"description": "Optional. Policy for how the results from multiple health checks\nfor the same endpoint are aggregated. Defaults to NO_AGGREGATION\nif unspecified.\n \n - NO_AGGREGATION. An EndpointHealth message is\n returned for each pair in the health check\n service.\n - AND. If any health check of an endpoint reportsUNHEALTHY, then UNHEALTHY is theHealthState of the endpoint. If all health checks reportHEALTHY, the HealthState of the endpoint isHEALTHY.\n\n.\nThis is only allowed with regional HealthCheckService.", +"enum": [ +"AND", +"NO_AGGREGATION" +], +"enumDescriptions": [ +"If any backend's health check reports UNHEALTHY,\nthen UNHEALTHY is the HealthState of\nthe entire health check service. If all backend's are healthy,\nthe HealthState of the health check service isHEALTHY.", +"An EndpointHealth message is returned for each\nbackend in the health check service." +], +"type": "string" +}, +"healthStatusAggregationStrategy": { +"deprecated": true, +"description": "This field is deprecated. Use health_status_aggregation_policy\ninstead.\n\nPolicy for how the results from multiple health checks for the\nsame endpoint are aggregated.\n \n - NO_AGGREGATION. An EndpointHealth\n message is returned for each backend in the health check\n service.\n - AND. If any backend's health check reportsUNHEALTHY, then UNHEALTHY is theHealthState of the entire health check service. If\n all backend's are healthy, the HealthState of the\n health check service is HEALTHY.\n\n.", +"enum": [ +"AND", +"NO_AGGREGATION" +], +"enumDescriptions": [ +"This is deprecated. Use health_status_aggregation_policy instead.\nIf any backend's health check reports UNHEALTHY,\nthen UNHEALTHY is the HealthState of\nthe entire health check service. If all backend's are healthy,\nthe HealthState of the health check service isHEALTHY.", +"This is deprecated. Use health_status_aggregation_policy instead.\nAn EndpointHealth message is returned for each\nbackend in the health check service." +], +"type": "string" +}, +"id": { +"description": "Output only. [Output Only] The unique identifier for the resource. This identifier is\ndefined by the server.", +"format": "uint64", +"readOnly": true, +"type": "string" +}, +"kind": { +"default": "compute#healthCheckService", +"description": "Output only. [Output only] Type of the resource. Alwayscompute#healthCheckServicefor health check services.", +"readOnly": true, +"type": "string" +}, +"name": { +"description": "Name of the resource. The name must be 1-63 characters long, and comply\nwith RFC1035. Specifically, the name must be 1-63 characters\nlong and match the regular expression\n`[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character\nmust be a lowercase letter, and all following characters must be a dash,\nlowercase letter, or digit, except the last character, which cannot be a\ndash.", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"type": "string" +}, +"networkEndpointGroups": { +"description": "A list of URLs to the NetworkEndpointGroup\nresources. Must not have more than 100. For regionalHealthCheckService, NEGs must be in\nzones in the region of the HealthCheckService. For globalHealthCheckServices, the NetworkEndpointGroups\nmust be global INTERNET_IP_PORT.", +"items": { +"type": "string" +}, +"type": "array" +}, +"notificationEndpoints": { +"description": "A list of URLs to the NotificationEndpoint\nresources. Must not have more than 10. A list of endpoints for\nreceiving notifications of change in health status. For regionalHealthCheckService,NotificationEndpoint must be regional and in the\nsame region. For global HealthCheckService,NotificationEndpoint must be global.", +"items": { +"type": "string" +}, +"type": "array" +}, +"region": { +"description": "Output only. [Output Only] URL of the region where the health check service\nresides. This field is not applicable to global health check services.\nYou must specify this field as part of the HTTP request URL. It is\nnot settable as a field in the request body.", +"readOnly": true, +"type": "string" +}, +"selfLink": { +"description": "Output only. [Output Only] Server-defined URL for the resource.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"HealthCheckServiceReference": { +"description": "A full or valid partial URL to a health check service. For example, the\nfollowing are valid URLs:\n \n - https://www.googleapis.com/compute/beta/projects/project-id/regions/us-west1/healthCheckServices/health-check-service\n - projects/project-id/regions/us-west1/healthCheckServices/health-check-service\n - regions/us-west1/healthCheckServices/health-check-service", +"id": "HealthCheckServiceReference", +"properties": { +"healthCheckService": { +"type": "string" +} +}, +"type": "object" +}, +"HealthCheckServicesList": { +"id": "HealthCheckServicesList", +"properties": { +"id": { +"description": "Output only. [Output Only] Unique identifier for the resource; defined by the server.", +"readOnly": true, +"type": "string" +}, +"items": { +"description": "Output only. A list of HealthCheckService resources.", +"items": { +"$ref": "HealthCheckService" +}, +"readOnly": true, +"type": "array" +}, +"kind": { +"default": "compute#healthCheckServicesList", +"description": "Output only. [Output Only] Type of the resource. Alwayscompute#healthCheckServicesList for lists of\nHealthCheckServices.", +"readOnly": true, +"type": "string" +}, +"nextPageToken": { +"description": "Output only. [Output Only] This token allows you to get the next page of results for\nlist requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for\nthe query parameter pageToken in the next list request.\nSubsequent list requests will have their own nextPageToken to\ncontinue paging through the results.", +"readOnly": true, +"type": "string" +}, +"selfLink": { +"description": "Output only. [Output Only] Server-defined URL for this resource.", +"readOnly": true, +"type": "string" +}, +"warning": { +"description": "[Output Only] Informational warning message.", +"properties": { +"code": { +"description": "[Output Only] A warning code, if applicable. For example, Compute\nEngine returns NO_RESULTS_ON_PAGE if there\nare no results in the response.", +"enum": [ +"CLEANUP_FAILED", +"DEPRECATED_RESOURCE_USED", +"DEPRECATED_TYPE_USED", +"DISK_SIZE_LARGER_THAN_IMAGE_SIZE", +"EXPERIMENTAL_TYPE_USED", +"EXTERNAL_API_WARNING", +"FIELD_VALUE_OVERRIDEN", +"INJECTED_KERNELS_DEPRECATED", +"INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", +"LARGE_DEPLOYMENT_WARNING", +"LIST_OVERHEAD_QUOTA_EXCEED", +"MISSING_TYPE_DEPENDENCY", +"NEXT_HOP_ADDRESS_NOT_ASSIGNED", +"NEXT_HOP_CANNOT_IP_FORWARD", +"NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", +"NEXT_HOP_INSTANCE_NOT_FOUND", +"NEXT_HOP_INSTANCE_NOT_ON_NETWORK", +"NEXT_HOP_NOT_RUNNING", +"NOT_CRITICAL_ERROR", +"NO_RESULTS_ON_PAGE", +"PARTIAL_SUCCESS", +"QUOTA_INFO_UNAVAILABLE", +"REQUIRED_TOS_AGREEMENT", +"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", +"RESOURCE_NOT_DELETED", +"SCHEMA_VALIDATION_IGNORED", +"SINGLE_INSTANCE_PROPERTY_TEMPLATE", +"UNDECLARED_PROPERTIES", +"UNREACHABLE" +], +"enumDeprecated": [ +false, +false, +false, +false, +false, +false, +true, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false +], +"enumDescriptions": [ +"Warning about failed cleanup of transient changes made by a failed\noperation.", +"A link to a deprecated resource was created.", +"When deploying and at least one of the resources has a type marked as\ndeprecated", +"The user created a boot disk that is larger than image size.", +"When deploying and at least one of the resources has a type marked as\nexperimental", +"Warning that is present in an external api call", +"Warning that value of a field has been overridden.\nDeprecated unused field.", +"The operation involved use of an injected kernel, which is deprecated.", +"A WEIGHTED_MAGLEV backend service is associated with a health check that is\nnot of type HTTP/HTTPS/HTTP2.", +"When deploying a deployment with a exceedingly large number of resources", +"Resource can't be retrieved due to list overhead quota exceed\nwhich captures the amount of resources filtered out by\nuser-defined list filter.", +"A resource depends on a missing type", +"The route's nextHopIp address is not assigned to an instance on the\nnetwork.", +"The route's next hop instance cannot ip forward.", +"The route's nextHopInstance URL refers to an instance that does not have an\nipv6 interface on the same network as the route.", +"The route's nextHopInstance URL refers to an instance that does not exist.", +"The route's nextHopInstance URL refers to an instance that is not on the\nsame network as the route.", +"The route's next hop instance does not have a status of RUNNING.", +"Error which is not critical. We decided to continue the process despite\nthe mentioned error.", +"No results are present on a particular list page.", +"Success is reported, but some results may be missing due to errors", +"Quota information is not available to client requests (e.g:\nregions.list).", +"The user attempted to use a resource that requires a TOS they have not\naccepted.", +"Warning that a resource is in use.", +"One or more of the resources set to auto-delete could not be deleted\nbecause they were in use.", +"When a resource schema validation is ignored.", +"Instance template used in instance group manager is valid as such, but\nits application does not make a lot of sense, because it allows only\nsingle instance in instance group.", +"When undeclared properties in the schema are present", +"A given scope cannot be reached." +], +"type": "string" +}, +"data": { +"description": "[Output Only] Metadata about this warning in key:\nvalue format. For example:\n\n\"data\": [\n {\n \"key\": \"scope\",\n \"value\": \"zones/us-east1-d\"\n }", +"items": { +"properties": { +"key": { +"description": "[Output Only] A key that provides more detail on the warning being\nreturned. For example, for warnings where there are no results in a list\nrequest for a particular zone, this key might be scope and\nthe key value might be the zone name. Other examples might be a key\nindicating a deprecated resource and a suggested replacement, or a\nwarning about invalid network settings (for example, if an instance\nattempts to perform IP forwarding but is not enabled for IP forwarding).", +"type": "string" +}, +"value": { +"description": "[Output Only] A warning data value corresponding to the key.", +"type": "string" +} +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "[Output Only] A human-readable description of the warning code.", +"type": "string" +} +}, +"type": "object" +} +}, +"type": "object" +}, +"HealthChecksAggregatedList": { +"id": "HealthChecksAggregatedList", +"properties": { +"id": { +"description": "[Output Only] Unique identifier for the resource; defined by the server.", +"type": "string" +}, +"items": { +"additionalProperties": { +"$ref": "HealthChecksScopedList", +"description": "Name of the scope containing this set of HealthChecks." +}, +"description": "A list of HealthChecksScopedList resources.", +"type": "object" +}, +"kind": { +"default": "compute#healthChecksAggregatedList", +"description": "Output only. Type of resource.", +"readOnly": true, +"type": "string" +}, +"nextPageToken": { +"description": "[Output Only] This token allows you to get the next page of results for\nlist requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for\nthe query parameter pageToken in the next list request.\nSubsequent list requests will have their own nextPageToken to\ncontinue paging through the results.", +"type": "string" +}, +"selfLink": { +"description": "Output only. [Output Only] Server-defined URL for this resource.", +"readOnly": true, +"type": "string" +}, +"unreachables": { +"description": "Output only. [Output Only] Unreachable resources.", +"items": { +"type": "string" +}, +"readOnly": true, +"type": "array" +}, +"warning": { +"description": "[Output Only] Informational warning message.", +"properties": { +"code": { +"description": "[Output Only] A warning code, if applicable. For example, Compute\nEngine returns NO_RESULTS_ON_PAGE if there\nare no results in the response.", +"enum": [ +"CLEANUP_FAILED", +"DEPRECATED_RESOURCE_USED", +"DEPRECATED_TYPE_USED", +"DISK_SIZE_LARGER_THAN_IMAGE_SIZE", +"EXPERIMENTAL_TYPE_USED", +"EXTERNAL_API_WARNING", +"FIELD_VALUE_OVERRIDEN", +"INJECTED_KERNELS_DEPRECATED", +"INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", +"LARGE_DEPLOYMENT_WARNING", +"LIST_OVERHEAD_QUOTA_EXCEED", +"MISSING_TYPE_DEPENDENCY", +"NEXT_HOP_ADDRESS_NOT_ASSIGNED", +"NEXT_HOP_CANNOT_IP_FORWARD", +"NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", +"NEXT_HOP_INSTANCE_NOT_FOUND", +"NEXT_HOP_INSTANCE_NOT_ON_NETWORK", +"NEXT_HOP_NOT_RUNNING", +"NOT_CRITICAL_ERROR", +"NO_RESULTS_ON_PAGE", +"PARTIAL_SUCCESS", +"QUOTA_INFO_UNAVAILABLE", +"REQUIRED_TOS_AGREEMENT", +"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", +"RESOURCE_NOT_DELETED", +"SCHEMA_VALIDATION_IGNORED", +"SINGLE_INSTANCE_PROPERTY_TEMPLATE", +"UNDECLARED_PROPERTIES", +"UNREACHABLE" +], +"enumDeprecated": [ +false, +false, +false, +false, +false, +false, +true, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false +], +"enumDescriptions": [ +"Warning about failed cleanup of transient changes made by a failed\noperation.", +"A link to a deprecated resource was created.", +"When deploying and at least one of the resources has a type marked as\ndeprecated", +"The user created a boot disk that is larger than image size.", +"When deploying and at least one of the resources has a type marked as\nexperimental", +"Warning that is present in an external api call", +"Warning that value of a field has been overridden.\nDeprecated unused field.", +"The operation involved use of an injected kernel, which is deprecated.", +"A WEIGHTED_MAGLEV backend service is associated with a health check that is\nnot of type HTTP/HTTPS/HTTP2.", +"When deploying a deployment with a exceedingly large number of resources", +"Resource can't be retrieved due to list overhead quota exceed\nwhich captures the amount of resources filtered out by\nuser-defined list filter.", +"A resource depends on a missing type", +"The route's nextHopIp address is not assigned to an instance on the\nnetwork.", +"The route's next hop instance cannot ip forward.", +"The route's nextHopInstance URL refers to an instance that does not have an\nipv6 interface on the same network as the route.", +"The route's nextHopInstance URL refers to an instance that does not exist.", +"The route's nextHopInstance URL refers to an instance that is not on the\nsame network as the route.", +"The route's next hop instance does not have a status of RUNNING.", +"Error which is not critical. We decided to continue the process despite\nthe mentioned error.", +"No results are present on a particular list page.", +"Success is reported, but some results may be missing due to errors", +"Quota information is not available to client requests (e.g:\nregions.list).", +"The user attempted to use a resource that requires a TOS they have not\naccepted.", +"Warning that a resource is in use.", +"One or more of the resources set to auto-delete could not be deleted\nbecause they were in use.", +"When a resource schema validation is ignored.", +"Instance template used in instance group manager is valid as such, but\nits application does not make a lot of sense, because it allows only\nsingle instance in instance group.", +"When undeclared properties in the schema are present", +"A given scope cannot be reached." +], +"type": "string" +}, +"data": { +"description": "[Output Only] Metadata about this warning in key:\nvalue format. For example:\n\n\"data\": [\n {\n \"key\": \"scope\",\n \"value\": \"zones/us-east1-d\"\n }", +"items": { +"properties": { +"key": { +"description": "[Output Only] A key that provides more detail on the warning being\nreturned. For example, for warnings where there are no results in a list\nrequest for a particular zone, this key might be scope and\nthe key value might be the zone name. Other examples might be a key\nindicating a deprecated resource and a suggested replacement, or a\nwarning about invalid network settings (for example, if an instance\nattempts to perform IP forwarding but is not enabled for IP forwarding).", +"type": "string" +}, +"value": { +"description": "[Output Only] A warning data value corresponding to the key.", +"type": "string" +} +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "[Output Only] A human-readable description of the warning code.", +"type": "string" +} +}, +"type": "object" +} +}, +"type": "object" +}, +"HealthChecksScopedList": { +"id": "HealthChecksScopedList", +"properties": { +"healthChecks": { +"description": "A list of HealthChecks contained in this scope.", +"items": { +"$ref": "HealthCheck" +}, +"type": "array" +}, +"warning": { +"description": "Informational warning which replaces the list of\nbackend services when the list is empty.", +"properties": { +"code": { +"description": "[Output Only] A warning code, if applicable. For example, Compute\nEngine returns NO_RESULTS_ON_PAGE if there\nare no results in the response.", +"enum": [ +"CLEANUP_FAILED", +"DEPRECATED_RESOURCE_USED", +"DEPRECATED_TYPE_USED", +"DISK_SIZE_LARGER_THAN_IMAGE_SIZE", +"EXPERIMENTAL_TYPE_USED", +"EXTERNAL_API_WARNING", +"FIELD_VALUE_OVERRIDEN", +"INJECTED_KERNELS_DEPRECATED", +"INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", +"LARGE_DEPLOYMENT_WARNING", +"LIST_OVERHEAD_QUOTA_EXCEED", +"MISSING_TYPE_DEPENDENCY", +"NEXT_HOP_ADDRESS_NOT_ASSIGNED", +"NEXT_HOP_CANNOT_IP_FORWARD", +"NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", +"NEXT_HOP_INSTANCE_NOT_FOUND", +"NEXT_HOP_INSTANCE_NOT_ON_NETWORK", +"NEXT_HOP_NOT_RUNNING", +"NOT_CRITICAL_ERROR", +"NO_RESULTS_ON_PAGE", +"PARTIAL_SUCCESS", +"QUOTA_INFO_UNAVAILABLE", +"REQUIRED_TOS_AGREEMENT", +"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", +"RESOURCE_NOT_DELETED", +"SCHEMA_VALIDATION_IGNORED", +"SINGLE_INSTANCE_PROPERTY_TEMPLATE", +"UNDECLARED_PROPERTIES", +"UNREACHABLE" +], +"enumDeprecated": [ +false, +false, +false, +false, +false, +false, +true, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false +], +"enumDescriptions": [ +"Warning about failed cleanup of transient changes made by a failed\noperation.", +"A link to a deprecated resource was created.", +"When deploying and at least one of the resources has a type marked as\ndeprecated", +"The user created a boot disk that is larger than image size.", +"When deploying and at least one of the resources has a type marked as\nexperimental", +"Warning that is present in an external api call", +"Warning that value of a field has been overridden.\nDeprecated unused field.", +"The operation involved use of an injected kernel, which is deprecated.", +"A WEIGHTED_MAGLEV backend service is associated with a health check that is\nnot of type HTTP/HTTPS/HTTP2.", +"When deploying a deployment with a exceedingly large number of resources", +"Resource can't be retrieved due to list overhead quota exceed\nwhich captures the amount of resources filtered out by\nuser-defined list filter.", +"A resource depends on a missing type", +"The route's nextHopIp address is not assigned to an instance on the\nnetwork.", +"The route's next hop instance cannot ip forward.", +"The route's nextHopInstance URL refers to an instance that does not have an\nipv6 interface on the same network as the route.", +"The route's nextHopInstance URL refers to an instance that does not exist.", +"The route's nextHopInstance URL refers to an instance that is not on the\nsame network as the route.", +"The route's next hop instance does not have a status of RUNNING.", +"Error which is not critical. We decided to continue the process despite\nthe mentioned error.", +"No results are present on a particular list page.", +"Success is reported, but some results may be missing due to errors", +"Quota information is not available to client requests (e.g:\nregions.list).", +"The user attempted to use a resource that requires a TOS they have not\naccepted.", +"Warning that a resource is in use.", +"One or more of the resources set to auto-delete could not be deleted\nbecause they were in use.", +"When a resource schema validation is ignored.", +"Instance template used in instance group manager is valid as such, but\nits application does not make a lot of sense, because it allows only\nsingle instance in instance group.", +"When undeclared properties in the schema are present", +"A given scope cannot be reached." +], +"type": "string" +}, +"data": { +"description": "[Output Only] Metadata about this warning in key:\nvalue format. For example:\n\n\"data\": [\n {\n \"key\": \"scope\",\n \"value\": \"zones/us-east1-d\"\n }", +"items": { +"properties": { +"key": { +"description": "[Output Only] A key that provides more detail on the warning being\nreturned. For example, for warnings where there are no results in a list\nrequest for a particular zone, this key might be scope and\nthe key value might be the zone name. Other examples might be a key\nindicating a deprecated resource and a suggested replacement, or a\nwarning about invalid network settings (for example, if an instance\nattempts to perform IP forwarding but is not enabled for IP forwarding).", +"type": "string" +}, +"value": { +"description": "[Output Only] A warning data value corresponding to the key.", +"type": "string" +} +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "[Output Only] A human-readable description of the warning code.", +"type": "string" +} +}, +"type": "object" +} +}, +"type": "object" +}, +"HealthSource": { +"description": "Represents a health source.\n\nA health source resource specifies the source resources and the health\naggregation policy applied to the source resources to determine the\naggregated health status.", +"id": "HealthSource", +"properties": { +"creationTimestamp": { +"description": "Output only. [Output Only] Creation timestamp inRFC3339\ntext format.", +"readOnly": true, +"type": "string" +}, +"description": { +"description": "An optional description of this resource. Provide this property when you\ncreate the resource.", +"type": "string" +}, +"fingerprint": { +"description": "Fingerprint of this resource. A hash of the contents stored in this object.\nThis field is used in optimistic locking. This field will be ignored when\ninserting a HealthSource. An up-to-date fingerprint\nmust be provided in order to patch the HealthSource; Otherwise, the request\nwill fail with error 412 conditionNotMet. To see the latest\nfingerprint, make a get() request to retrieve the\nHealthSource.", +"format": "byte", +"type": "string" +}, +"healthAggregationPolicy": { +"description": "URL to the HealthAggregationPolicy resource. Must be set. Must\nbe regional and in the same region as the HealthSource. Can be\nmutated.", +"type": "string" +}, +"id": { +"description": "Output only. [Output Only] A unique identifier for this resource type. The server\ngenerates this identifier.", +"format": "uint64", +"readOnly": true, +"type": "string" +}, +"kind": { +"default": "compute#healthSource", +"description": "Output only. [Output Only] Type of the resource. Alwayscompute#healthSource for health sources.", +"readOnly": true, +"type": "string" +}, +"name": { +"description": "Name of the resource. Provided by the client when the resource is created.\nThe name must be 1-63 characters long, and comply withRFC1035.\nSpecifically, the name must be 1-63 characters long and match the regular\nexpression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first\ncharacter must be a lowercase letter, and all following characters must\nbe a dash, lowercase letter, or digit, except the last character, which\ncannot be a dash.", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"type": "string" +}, +"region": { +"description": "Output only. [Output Only] URL of the region where the health source resides.\nThis field applies only to the regional resource. You must specify this\nfield as part of the HTTP request URL. It is not settable as a field in\nthe request body.", +"readOnly": true, +"type": "string" +}, +"selfLink": { +"description": "Output only. [Output Only] Server-defined URL for the resource.", +"readOnly": true, +"type": "string" +}, +"selfLinkWithId": { +"description": "Output only. [Output Only] Server-defined URL with id for the resource.", +"readOnly": true, +"type": "string" +}, +"sourceType": { +"description": "Specifies the type of the HealthSource. The only allowed value\nis BACKEND_SERVICE. Must be specified when theHealthSource is created, and cannot be mutated.", +"enum": [ +"BACKEND_SERVICE" +], +"enumDescriptions": [ +"" +], +"type": "string" +}, +"sources": { +"description": "URLs to the source resources. Must be size 1. Must be aBackendService if\nthe sourceType is BACKEND_SERVICE. TheBackendService must have load balancing schemeINTERNAL or INTERNAL_MANAGED and must be regional\nand in the same region as the HealthSource (cross-region\ndeployment for INTERNAL_MANAGED is not supported). TheBackendService may use only IGs, MIGs, or NEGs of typeGCE_VM_IP or GCE_VM_IP_PORT. TheBackendService may not use haPolicy. Can be\nmutated.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"HealthSourceAggregatedList": { +"description": "Contains a list of HealthSourcesScopedList.", +"id": "HealthSourceAggregatedList", +"properties": { +"id": { +"description": "[Output Only] Unique identifier for the resource; defined by the server.", +"type": "string" +}, +"items": { +"additionalProperties": { +"$ref": "HealthSourcesScopedList", +"description": "Name of the scope containing this set of HealthSources." +}, +"description": "A list of HealthSourcesScopedList resources.", +"type": "object" +}, +"kind": { +"default": "compute#healthSourceAggregatedList", +"description": "Output only. Type of resource.", +"readOnly": true, +"type": "string" +}, +"nextPageToken": { +"description": "[Output Only] This token allows you to get the next page of results for\nlist requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for\nthe query parameter pageToken in the next list request.\nSubsequent list requests will have their own nextPageToken to\ncontinue paging through the results.", +"type": "string" +}, +"selfLink": { +"description": "Output only. [Output Only] Server-defined URL for this resource.", +"readOnly": true, +"type": "string" +}, +"unreachables": { +"description": "Output only. [Output Only] Unreachable resources.", +"items": { +"type": "string" +}, +"readOnly": true, +"type": "array" +}, +"warning": { +"description": "[Output Only] Informational warning message.", +"properties": { +"code": { +"description": "[Output Only] A warning code, if applicable. For example, Compute\nEngine returns NO_RESULTS_ON_PAGE if there\nare no results in the response.", +"enum": [ +"CLEANUP_FAILED", +"DEPRECATED_RESOURCE_USED", +"DEPRECATED_TYPE_USED", +"DISK_SIZE_LARGER_THAN_IMAGE_SIZE", +"EXPERIMENTAL_TYPE_USED", +"EXTERNAL_API_WARNING", +"FIELD_VALUE_OVERRIDEN", +"INJECTED_KERNELS_DEPRECATED", +"INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", +"LARGE_DEPLOYMENT_WARNING", +"LIST_OVERHEAD_QUOTA_EXCEED", +"MISSING_TYPE_DEPENDENCY", +"NEXT_HOP_ADDRESS_NOT_ASSIGNED", +"NEXT_HOP_CANNOT_IP_FORWARD", +"NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", +"NEXT_HOP_INSTANCE_NOT_FOUND", +"NEXT_HOP_INSTANCE_NOT_ON_NETWORK", +"NEXT_HOP_NOT_RUNNING", +"NOT_CRITICAL_ERROR", +"NO_RESULTS_ON_PAGE", +"PARTIAL_SUCCESS", +"QUOTA_INFO_UNAVAILABLE", +"REQUIRED_TOS_AGREEMENT", +"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", +"RESOURCE_NOT_DELETED", +"SCHEMA_VALIDATION_IGNORED", +"SINGLE_INSTANCE_PROPERTY_TEMPLATE", +"UNDECLARED_PROPERTIES", +"UNREACHABLE" +], +"enumDeprecated": [ +false, +false, +false, +false, +false, +false, +true, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false +], +"enumDescriptions": [ +"Warning about failed cleanup of transient changes made by a failed\noperation.", +"A link to a deprecated resource was created.", +"When deploying and at least one of the resources has a type marked as\ndeprecated", +"The user created a boot disk that is larger than image size.", +"When deploying and at least one of the resources has a type marked as\nexperimental", +"Warning that is present in an external api call", +"Warning that value of a field has been overridden.\nDeprecated unused field.", +"The operation involved use of an injected kernel, which is deprecated.", +"A WEIGHTED_MAGLEV backend service is associated with a health check that is\nnot of type HTTP/HTTPS/HTTP2.", +"When deploying a deployment with a exceedingly large number of resources", +"Resource can't be retrieved due to list overhead quota exceed\nwhich captures the amount of resources filtered out by\nuser-defined list filter.", +"A resource depends on a missing type", +"The route's nextHopIp address is not assigned to an instance on the\nnetwork.", +"The route's next hop instance cannot ip forward.", +"The route's nextHopInstance URL refers to an instance that does not have an\nipv6 interface on the same network as the route.", +"The route's nextHopInstance URL refers to an instance that does not exist.", +"The route's nextHopInstance URL refers to an instance that is not on the\nsame network as the route.", +"The route's next hop instance does not have a status of RUNNING.", +"Error which is not critical. We decided to continue the process despite\nthe mentioned error.", +"No results are present on a particular list page.", +"Success is reported, but some results may be missing due to errors", +"Quota information is not available to client requests (e.g:\nregions.list).", +"The user attempted to use a resource that requires a TOS they have not\naccepted.", +"Warning that a resource is in use.", +"One or more of the resources set to auto-delete could not be deleted\nbecause they were in use.", +"When a resource schema validation is ignored.", +"Instance template used in instance group manager is valid as such, but\nits application does not make a lot of sense, because it allows only\nsingle instance in instance group.", +"When undeclared properties in the schema are present", +"A given scope cannot be reached." +], +"type": "string" +}, +"data": { +"description": "[Output Only] Metadata about this warning in key:\nvalue format. For example:\n\n\"data\": [\n {\n \"key\": \"scope\",\n \"value\": \"zones/us-east1-d\"\n }", +"items": { +"properties": { +"key": { +"description": "[Output Only] A key that provides more detail on the warning being\nreturned. For example, for warnings where there are no results in a list\nrequest for a particular zone, this key might be scope and\nthe key value might be the zone name. Other examples might be a key\nindicating a deprecated resource and a suggested replacement, or a\nwarning about invalid network settings (for example, if an instance\nattempts to perform IP forwarding but is not enabled for IP forwarding).", +"type": "string" +}, +"value": { +"description": "[Output Only] A warning data value corresponding to the key.", +"type": "string" +} +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "[Output Only] A human-readable description of the warning code.", +"type": "string" +} +}, +"type": "object" +} +}, +"type": "object" +}, +"HealthSourceList": { +"id": "HealthSourceList", +"properties": { +"id": { +"description": "[Output Only] Unique identifier for the resource; defined by the server.", +"type": "string" +}, +"items": { +"description": "A list of HealthSource resources.", +"items": { +"$ref": "HealthSource" +}, +"type": "array" +}, +"kind": { +"default": "compute#healthSourceList", +"description": "Output only. [Output Only] Type of the resource. Alwayscompute#healthSource for health sources.", +"readOnly": true, +"type": "string" +}, +"nextPageToken": { +"description": "[Output Only] This token allows you to get the next page of results for\nlist requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for\nthe query parameter pageToken in the next list request.\nSubsequent list requests will have their own nextPageToken to\ncontinue paging through the results.", +"type": "string" +}, +"selfLink": { +"description": "[Output Only] Server-defined URL for this resource.", +"type": "string" +}, +"warning": { +"description": "[Output Only] Informational warning message.", +"properties": { +"code": { +"description": "[Output Only] A warning code, if applicable. For example, Compute\nEngine returns NO_RESULTS_ON_PAGE if there\nare no results in the response.", +"enum": [ +"CLEANUP_FAILED", +"DEPRECATED_RESOURCE_USED", +"DEPRECATED_TYPE_USED", +"DISK_SIZE_LARGER_THAN_IMAGE_SIZE", +"EXPERIMENTAL_TYPE_USED", +"EXTERNAL_API_WARNING", +"FIELD_VALUE_OVERRIDEN", +"INJECTED_KERNELS_DEPRECATED", +"INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", +"LARGE_DEPLOYMENT_WARNING", +"LIST_OVERHEAD_QUOTA_EXCEED", +"MISSING_TYPE_DEPENDENCY", +"NEXT_HOP_ADDRESS_NOT_ASSIGNED", +"NEXT_HOP_CANNOT_IP_FORWARD", +"NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", +"NEXT_HOP_INSTANCE_NOT_FOUND", +"NEXT_HOP_INSTANCE_NOT_ON_NETWORK", +"NEXT_HOP_NOT_RUNNING", +"NOT_CRITICAL_ERROR", +"NO_RESULTS_ON_PAGE", +"PARTIAL_SUCCESS", +"QUOTA_INFO_UNAVAILABLE", +"REQUIRED_TOS_AGREEMENT", +"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", +"RESOURCE_NOT_DELETED", +"SCHEMA_VALIDATION_IGNORED", +"SINGLE_INSTANCE_PROPERTY_TEMPLATE", +"UNDECLARED_PROPERTIES", +"UNREACHABLE" +], +"enumDeprecated": [ +false, +false, +false, +false, +false, +false, +true, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false +], +"enumDescriptions": [ +"Warning about failed cleanup of transient changes made by a failed\noperation.", +"A link to a deprecated resource was created.", +"When deploying and at least one of the resources has a type marked as\ndeprecated", +"The user created a boot disk that is larger than image size.", +"When deploying and at least one of the resources has a type marked as\nexperimental", +"Warning that is present in an external api call", +"Warning that value of a field has been overridden.\nDeprecated unused field.", +"The operation involved use of an injected kernel, which is deprecated.", +"A WEIGHTED_MAGLEV backend service is associated with a health check that is\nnot of type HTTP/HTTPS/HTTP2.", +"When deploying a deployment with a exceedingly large number of resources", +"Resource can't be retrieved due to list overhead quota exceed\nwhich captures the amount of resources filtered out by\nuser-defined list filter.", +"A resource depends on a missing type", +"The route's nextHopIp address is not assigned to an instance on the\nnetwork.", +"The route's next hop instance cannot ip forward.", +"The route's nextHopInstance URL refers to an instance that does not have an\nipv6 interface on the same network as the route.", +"The route's nextHopInstance URL refers to an instance that does not exist.", +"The route's nextHopInstance URL refers to an instance that is not on the\nsame network as the route.", +"The route's next hop instance does not have a status of RUNNING.", +"Error which is not critical. We decided to continue the process despite\nthe mentioned error.", +"No results are present on a particular list page.", +"Success is reported, but some results may be missing due to errors", +"Quota information is not available to client requests (e.g:\nregions.list).", +"The user attempted to use a resource that requires a TOS they have not\naccepted.", +"Warning that a resource is in use.", +"One or more of the resources set to auto-delete could not be deleted\nbecause they were in use.", +"When a resource schema validation is ignored.", +"Instance template used in instance group manager is valid as such, but\nits application does not make a lot of sense, because it allows only\nsingle instance in instance group.", +"When undeclared properties in the schema are present", +"A given scope cannot be reached." +], +"type": "string" +}, +"data": { +"description": "[Output Only] Metadata about this warning in key:\nvalue format. For example:\n\n\"data\": [\n {\n \"key\": \"scope\",\n \"value\": \"zones/us-east1-d\"\n }", +"items": { +"properties": { +"key": { +"description": "[Output Only] A key that provides more detail on the warning being\nreturned. For example, for warnings where there are no results in a list\nrequest for a particular zone, this key might be scope and\nthe key value might be the zone name. Other examples might be a key\nindicating a deprecated resource and a suggested replacement, or a\nwarning about invalid network settings (for example, if an instance\nattempts to perform IP forwarding but is not enabled for IP forwarding).", +"type": "string" +}, +"value": { +"description": "[Output Only] A warning data value corresponding to the key.", +"type": "string" +} +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "[Output Only] A human-readable description of the warning code.", +"type": "string" +} +}, +"type": "object" +} +}, +"type": "object" +}, +"HealthSourcesScopedList": { +"id": "HealthSourcesScopedList", +"properties": { +"healthSources": { +"description": "A list of HealthSources contained in this scope.", +"items": { +"$ref": "HealthSource" +}, +"type": "array" +}, +"warning": { +"description": "Informational warning which replaces the list of\nhealth sources when the list is empty.", +"properties": { +"code": { +"description": "[Output Only] A warning code, if applicable. For example, Compute\nEngine returns NO_RESULTS_ON_PAGE if there\nare no results in the response.", +"enum": [ +"CLEANUP_FAILED", +"DEPRECATED_RESOURCE_USED", +"DEPRECATED_TYPE_USED", +"DISK_SIZE_LARGER_THAN_IMAGE_SIZE", +"EXPERIMENTAL_TYPE_USED", +"EXTERNAL_API_WARNING", +"FIELD_VALUE_OVERRIDEN", +"INJECTED_KERNELS_DEPRECATED", +"INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", +"LARGE_DEPLOYMENT_WARNING", +"LIST_OVERHEAD_QUOTA_EXCEED", +"MISSING_TYPE_DEPENDENCY", +"NEXT_HOP_ADDRESS_NOT_ASSIGNED", +"NEXT_HOP_CANNOT_IP_FORWARD", +"NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", +"NEXT_HOP_INSTANCE_NOT_FOUND", +"NEXT_HOP_INSTANCE_NOT_ON_NETWORK", +"NEXT_HOP_NOT_RUNNING", +"NOT_CRITICAL_ERROR", +"NO_RESULTS_ON_PAGE", +"PARTIAL_SUCCESS", +"QUOTA_INFO_UNAVAILABLE", +"REQUIRED_TOS_AGREEMENT", +"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", +"RESOURCE_NOT_DELETED", +"SCHEMA_VALIDATION_IGNORED", +"SINGLE_INSTANCE_PROPERTY_TEMPLATE", +"UNDECLARED_PROPERTIES", +"UNREACHABLE" +], +"enumDeprecated": [ +false, +false, +false, +false, +false, +false, +true, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false +], +"enumDescriptions": [ +"Warning about failed cleanup of transient changes made by a failed\noperation.", +"A link to a deprecated resource was created.", +"When deploying and at least one of the resources has a type marked as\ndeprecated", +"The user created a boot disk that is larger than image size.", +"When deploying and at least one of the resources has a type marked as\nexperimental", +"Warning that is present in an external api call", +"Warning that value of a field has been overridden.\nDeprecated unused field.", +"The operation involved use of an injected kernel, which is deprecated.", +"A WEIGHTED_MAGLEV backend service is associated with a health check that is\nnot of type HTTP/HTTPS/HTTP2.", +"When deploying a deployment with a exceedingly large number of resources", +"Resource can't be retrieved due to list overhead quota exceed\nwhich captures the amount of resources filtered out by\nuser-defined list filter.", +"A resource depends on a missing type", +"The route's nextHopIp address is not assigned to an instance on the\nnetwork.", +"The route's next hop instance cannot ip forward.", +"The route's nextHopInstance URL refers to an instance that does not have an\nipv6 interface on the same network as the route.", +"The route's nextHopInstance URL refers to an instance that does not exist.", +"The route's nextHopInstance URL refers to an instance that is not on the\nsame network as the route.", +"The route's next hop instance does not have a status of RUNNING.", +"Error which is not critical. We decided to continue the process despite\nthe mentioned error.", +"No results are present on a particular list page.", +"Success is reported, but some results may be missing due to errors", +"Quota information is not available to client requests (e.g:\nregions.list).", +"The user attempted to use a resource that requires a TOS they have not\naccepted.", +"Warning that a resource is in use.", +"One or more of the resources set to auto-delete could not be deleted\nbecause they were in use.", +"When a resource schema validation is ignored.", +"Instance template used in instance group manager is valid as such, but\nits application does not make a lot of sense, because it allows only\nsingle instance in instance group.", +"When undeclared properties in the schema are present", +"A given scope cannot be reached." +], +"type": "string" +}, +"data": { +"description": "[Output Only] Metadata about this warning in key:\nvalue format. For example:\n\n\"data\": [\n {\n \"key\": \"scope\",\n \"value\": \"zones/us-east1-d\"\n }", +"items": { +"properties": { +"key": { +"description": "[Output Only] A key that provides more detail on the warning being\nreturned. For example, for warnings where there are no results in a list\nrequest for a particular zone, this key might be scope and\nthe key value might be the zone name. Other examples might be a key\nindicating a deprecated resource and a suggested replacement, or a\nwarning about invalid network settings (for example, if an instance\nattempts to perform IP forwarding but is not enabled for IP forwarding).", +"type": "string" +}, +"value": { +"description": "[Output Only] A warning data value corresponding to the key.", +"type": "string" +} +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "[Output Only] A human-readable description of the warning code.", +"type": "string" +} +}, +"type": "object" +} +}, +"type": "object" +}, +"HealthStatus": { +"id": "HealthStatus", +"properties": { +"annotations": { +"additionalProperties": { +"type": "string" +}, +"description": "Metadata defined as annotations for network endpoint.", +"type": "object" +}, +"forwardingRule": { +"description": "URL of the forwarding rule associated with the health status of the\ninstance.", +"type": "string" +}, +"forwardingRuleIp": { +"description": "A forwarding rule IP address assigned to this instance.", +"type": "string" +}, +"healthState": { +"description": "Health state of the IPv4 address of the instance.", +"enum": [ +"HEALTHY", +"UNHEALTHY" +], +"enumDescriptions": [ +"", +"" +], +"type": "string" +}, +"instance": { +"description": "URL of the instance resource.", +"type": "string" +}, +"ipAddress": { +"description": "For target pool based Network Load Balancing, it indicates the forwarding\nrule's IP address assigned to this instance. For other types of load\nbalancing, the field indicates VM internal ip.", +"type": "string" +}, +"ipv6Address": { +"type": "string" +}, +"ipv6HealthState": { +"description": "Health state of the IPv6 address of the instance.", +"enum": [ +"HEALTHY", +"UNHEALTHY" +], +"enumDescriptions": [ +"", +"" +], +"type": "string" +}, +"port": { +"description": "The named port of the instance group, not necessarily the port that is\nhealth-checked.", +"format": "int32", +"type": "integer" +}, +"weight": { +"type": "string" +}, +"weightError": { +"enum": [ +"INVALID_WEIGHT", +"MISSING_WEIGHT", +"UNAVAILABLE_WEIGHT", +"WEIGHT_NONE" +], +"enumDescriptions": [ +"The response to a Health Check probe had the HTTP response header field\nX-Load-Balancing-Endpoint-Weight, but its content was invalid (i.e., not\na non-negative single-precision floating-point number in decimal string\nrepresentation).", +"The response to a Health Check probe did not have the HTTP response\nheader field X-Load-Balancing-Endpoint-Weight.", +"This is the value when the accompanied health status is either TIMEOUT\n(i.e.,the Health Check probe was not able to get a response in time) or\nUNKNOWN. For the latter, it should be typically because there has not\nbeen sufficient time to parse and report the weight for a new backend\n(which is with 0.0.0.0 ip address). However, it can be also due to an\noutage case for which the health status is explicitly reset to UNKNOWN.", +"This is the default value when WeightReportMode is DISABLE,\nand is also the initial value when WeightReportMode has just updated to\nENABLE or DRY_RUN and there has not been\nsufficient time to parse and report the backend weight." +], +"type": "string" +} +}, +"type": "object" +}, +"HealthStatusForNetworkEndpoint": { +"id": "HealthStatusForNetworkEndpoint", +"properties": { +"backendService": { +"$ref": "BackendServiceReference", +"description": "URL of the backend service associated with the health state of the network\nendpoint." +}, +"forwardingRule": { +"$ref": "ForwardingRuleReference", +"description": "URL of the forwarding rule associated with the health state of the network\nendpoint." +}, +"healthCheck": { +"$ref": "HealthCheckReference", +"description": "URL of the health check associated with the health state of the network\nendpoint." +}, +"healthCheckService": { +"$ref": "HealthCheckServiceReference", +"description": "URL of the health check service associated with the health state of the\nnetwork endpoint." +}, +"healthState": { +"description": "Health state of the network endpoint determined based on the health checks\nconfigured.", +"enum": [ +"DRAINING", +"HEALTHY", +"UNHEALTHY", +"UNKNOWN" +], +"enumDescriptions": [ +"Endpoint is being drained.", +"Endpoint is healthy.", +"Endpoint is unhealthy.", +"Health status of the endpoint is unknown." +], +"type": "string" +}, +"ipv6HealthState": { +"description": "Health state of the ipv6 network endpoint determined based on the health\nchecks configured.", +"enum": [ +"DRAINING", +"HEALTHY", +"UNHEALTHY", +"UNKNOWN" +], +"enumDescriptions": [ +"Endpoint is being drained.", +"Endpoint is healthy.", +"Endpoint is unhealthy.", +"Health status of the endpoint is unknown." +], +"type": "string" +} +}, +"type": "object" +}, +"Help": { +"description": "Provides links to documentation or for performing an out of band action.\n\nFor example, if a quota check failed with an error indicating the calling\nproject hasn't enabled the accessed service, this can contain a URL pointing\ndirectly to the right place in the developer console to flip the bit.", +"id": "Help", +"properties": { +"links": { +"description": "URL(s) pointing to additional information on handling the current error.", +"items": { +"$ref": "HelpLink" +}, +"type": "array" +} +}, +"type": "object" +}, +"HelpLink": { +"description": "Describes a URL link.", +"id": "HelpLink", +"properties": { +"description": { +"description": "Describes what the link offers.", +"type": "string" +}, +"url": { +"description": "The URL of the link.", +"type": "string" +} +}, +"type": "object" +}, +"HostRule": { +"description": "UrlMaps\nA host-matching rule for a URL. If matched, will use the namedPathMatcher to select the BackendService.", +"id": "HostRule", +"properties": { +"description": { +"description": "An optional description of this resource. Provide this property when you\ncreate the resource.", +"type": "string" +}, +"hosts": { +"description": "The list of host patterns to match. They must be valid hostnames with\noptional port numbers in the format host:port.* matches any string of ([a-z0-9-.]*). In\nthat case, * must be the first character, and if followed by\nanything, the immediate following character must be either -\nor ..\n\n* based matching is not supported when the URL map is bound\nto a target gRPC proxy that has the validateForProxyless field\nset to true.", +"items": { +"type": "string" +}, +"type": "array" +}, +"pathMatcher": { +"description": "The name of the PathMatcher to use to match the path portion\nof the URL if the hostRule matches the URL's host portion.", +"type": "string" +} +}, +"type": "object" +}, +"HttpFaultAbort": { +"description": "Specification for how requests are aborted as part of fault injection.", +"id": "HttpFaultAbort", +"properties": { +"httpStatus": { +"description": "The HTTP status code used to abort the request.\n\nThe value must be from 200 to 599 inclusive.\n\nFor gRPC protocol, the gRPC status code is mapped to HTTP status code\naccording to this \nmapping table. HTTP status 200 is mapped to gRPC status\nUNKNOWN. Injecting an OK status is currently not supported by\nTraffic Director.", +"format": "uint32", +"type": "integer" +}, +"percentage": { +"description": "The percentage of traffic for connections, operations, or requests\nthat is aborted as part of fault injection.\n\nThe value must be from 0.0 to 100.0 inclusive.", +"format": "double", +"type": "number" +} +}, +"type": "object" +}, +"HttpFaultDelay": { +"description": "Specifies the delay introduced by the load balancer before forwarding the\nrequest to the backend service as part of fault injection.", +"id": "HttpFaultDelay", +"properties": { +"fixedDelay": { +"$ref": "Duration", +"description": "Specifies the value of the fixed delay interval." +}, +"percentage": { +"description": "The percentage of traffic for connections, operations, or requests for\nwhich a delay is introduced as part of fault injection.\n\nThe value must be from 0.0 to 100.0 inclusive.", +"format": "double", +"type": "number" +} +}, +"type": "object" +}, +"HttpFaultInjection": { +"description": "The specification for fault injection introduced into traffic to test\nthe resiliency of clients to backend service failure. As part of fault\ninjection, when clients send requests to a backend service, delays can be\nintroduced by the load balancer on a percentage of requests before sending\nthose request to the backend service. Similarly requests from clients can be\naborted by the load balancer for a percentage of requests.", +"id": "HttpFaultInjection", +"properties": { +"abort": { +"$ref": "HttpFaultAbort", +"description": "The specification for how client requests are aborted as part of fault\ninjection." +}, +"delay": { +"$ref": "HttpFaultDelay", +"description": "The specification for how client requests are delayed as part of fault\ninjection, before being sent to a backend service." +} +}, +"type": "object" +}, +"HttpFilterConfig": { +"description": "HttpFilterConfiguration supplies additional contextual settings\nfor networkservices.HttpFilter resources enabled by Traffic\nDirector.", +"id": "HttpFilterConfig", +"properties": { +"config": { +"description": "The configuration needed to enable thenetworkservices.HttpFilter resource. The configuration must be\nYAML formatted and only contain fields defined in the protobuf identified\nin configTypeUrl", +"type": "string" +}, +"configTypeUrl": { +"description": "The fully qualified versioned proto3 type url of the protobuf that the\nfilter expects for its contextual settings, for example:type.googleapis.com/google.protobuf.Struct", +"type": "string" +}, +"filterName": { +"description": "Name of the networkservices.HttpFilter resource this\nconfiguration belongs to. This name must be known to the xDS client.\nExample: envoy.wasm", +"type": "string" +} +}, +"type": "object" +}, +"HttpHeaderAction": { +"description": "The request and response header transformations that take effect before\nthe request is passed along to the selected backendService.", +"id": "HttpHeaderAction", +"properties": { +"requestHeadersToAdd": { +"description": "Headers to add to a matching request before forwarding the request to thebackendService.", +"items": { +"$ref": "HttpHeaderOption" +}, +"type": "array" +}, +"requestHeadersToRemove": { +"description": "A list of header names for headers that need to be removed from the\nrequest before forwarding the request to the backendService.", +"items": { +"type": "string" +}, +"type": "array" +}, +"responseHeadersToAdd": { +"description": "Headers to add the response before sending the response back to the\nclient.", +"items": { +"$ref": "HttpHeaderOption" +}, +"type": "array" +}, +"responseHeadersToRemove": { +"description": "A list of header names for headers that need to be removed from the\nresponse before sending the response back to the client.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"HttpHeaderMatch": { +"description": "matchRule criteria for request header matches.", +"id": "HttpHeaderMatch", +"properties": { +"exactMatch": { +"description": "The value should exactly match contents of exactMatch.\n\nOnly one of exactMatch, prefixMatch,suffixMatch, regexMatch,presentMatch or rangeMatch must be set.", +"type": "string" +}, +"headerName": { +"description": "The name of the HTTP header to match.\n\nFor matching against the HTTP request's authority, use a headerMatch\nwith the header name \":authority\".\n\nFor matching a request's method, use the headerName \":method\".\n\nWhen the URL map is bound to a target gRPC proxy that has\nthe validateForProxyless field set to true, only\nnon-binary\nuser-specified custom metadata and the `content-type` header are supported.\nThe following transport-level headers cannot be used in header matching\nrules:\n`:authority`, `:method`, `:path`, `:scheme`, `user-agent`,\n`accept-encoding`, `content-encoding`, `grpc-accept-encoding`,\n`grpc-encoding`, `grpc-previous-rpc-attempts`, `grpc-tags-bin`,\n`grpc-timeout` and `grpc-trace-bin`.", +"type": "string" +}, +"invertMatch": { +"description": "If set to false, the headerMatch is considered a\nmatch if the preceding match criteria are met. If set to true,\nthe headerMatch is considered a match if the preceding\nmatch criteria are NOT met.\n\nThe default setting is false.", +"type": "boolean" +}, +"prefixMatch": { +"description": "The value of the header must start with the contents ofprefixMatch.\n\nOnly one of exactMatch, prefixMatch,suffixMatch, regexMatch,presentMatch or rangeMatch must be set.", +"type": "string" +}, +"presentMatch": { +"description": "A header with the contents of headerName must exist. The\nmatch takes place whether or not the request's header has a value.\n\nOnly one of exactMatch, prefixMatch,suffixMatch, regexMatch,presentMatch or rangeMatch must be set.", +"type": "boolean" +}, +"rangeMatch": { +"$ref": "Int64RangeMatch", +"description": "The header value must be an integer and its value must be in the range\nspecified in rangeMatch. If the header does not contain an\ninteger, number or is empty, the match fails.\n\nFor example for a range [-5, 0]\n \n \n - -3 will match.\n - 0 will not match.\n - 0.25 will not match.\n - -3someString will not match.\n\nOnly one of exactMatch, prefixMatch,suffixMatch, regexMatch,presentMatch or rangeMatch must be set.\n\nrangeMatch is not supported for load balancers\nthat have loadBalancingScheme set to EXTERNAL." +}, +"regexMatch": { +"description": "The value of the header must match the regular expression specified inregexMatch.\nFor more information about regular expression syntax, see Syntax.\n\nFor matching against a port specified in the HTTP request, use a\nheaderMatch with headerName set to PORT and a regular expression that\nsatisfies the RFC2616 Host header's port specifier.\n\nOnly one of exactMatch, prefixMatch,suffixMatch, regexMatch,presentMatch or rangeMatch must be set.\n\nRegular expressions can only be used when the loadBalancingScheme is\nset to INTERNAL_SELF_MANAGED, EXTERNAL_MANAGED\n(regional scope) or INTERNAL_MANAGED.", +"type": "string" +}, +"suffixMatch": { +"description": "The value of the header must end with the contents ofsuffixMatch.\n\nOnly one of exactMatch, prefixMatch,suffixMatch, regexMatch,presentMatch or rangeMatch must be set.", +"type": "string" +} +}, +"type": "object" +}, +"HttpHeaderOption": { +"description": "Specification determining how headers are added to requests or responses.", +"id": "HttpHeaderOption", +"properties": { +"headerName": { +"description": "The name of the header.", +"type": "string" +}, +"headerValue": { +"description": "The value of the header to add.", +"type": "string" +}, +"replace": { +"description": "If false, headerValue is appended to any values\nthat already\nexist for the header. If true, headerValue is set for the\nheader, discarding any values that were set for that header.\n\nThe default value is true,\nunless a variable is present in headerValue,\nin which case the default value is false.\n.", +"type": "boolean" +} +}, +"type": "object" +}, +"HttpHealthCheck": { +"description": "Represents a legacy HTTP Health Check resource.\n\nLegacy HTTP health checks are now only required by target pool-based network\nload balancers. For all other load balancers, including backend service-based\nnetwork load balancers, and for managed instance group auto-healing, you must\nuse modern (non-legacy) health checks.\n\nFor more information, seeHealth checks\noverview.", +"id": "HttpHealthCheck", +"properties": { +"checkIntervalSec": { +"description": "How often (in seconds) to send a health check. The default value is5 seconds.", +"format": "int32", +"type": "integer" +}, +"creationTimestamp": { +"description": "[Output Only] Creation timestamp inRFC3339\ntext format.", +"type": "string" +}, +"description": { +"description": "An optional description of this resource. Provide this property when you\ncreate the resource.", +"type": "string" +}, +"healthyThreshold": { +"description": "A so-far unhealthy instance will be marked healthy after this\nmany consecutive successes. The default value is 2.", +"format": "int32", +"type": "integer" +}, +"host": { +"description": "The value of the host header in the HTTP health check request. If left\nempty (default value), the public IP on behalf of which this health check\nis performed will be used.", +"type": "string" +}, +"id": { +"description": "[Output Only] The unique identifier for the resource. This identifier is\ndefined by the server.", +"format": "uint64", +"type": "string" +}, +"kind": { +"default": "compute#httpHealthCheck", +"description": "Output only. [Output Only] Type of the resource. Alwayscompute#httpHealthCheck for HTTP health checks.", +"readOnly": true, +"type": "string" +}, +"name": { +"description": "Name of the resource. Provided by the client when the resource is created.\nThe name must be 1-63 characters long, and comply withRFC1035.\nSpecifically, the name must be 1-63 characters long and match the regular\nexpression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first\ncharacter must be a lowercase letter, and all following characters must\nbe a dash, lowercase letter, or digit, except the last character, which\ncannot be a dash.", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"type": "string" +}, +"port": { +"description": "The TCP port number for the HTTP health check request. The default value is80.", +"format": "int32", +"type": "integer" +}, +"requestPath": { +"description": "The request path of the HTTP health check request. The default value is/. This field does not support query\nparameters. Must comply withRFC3986.", +"type": "string" +}, +"selfLink": { +"description": "[Output Only] Server-defined URL for the resource.", +"type": "string" +}, +"timeoutSec": { +"description": "How long (in seconds) to wait before claiming failure. The default value is5 seconds. It is invalid for timeoutSec to have\ngreater value than checkIntervalSec.", +"format": "int32", +"type": "integer" +}, +"unhealthyThreshold": { +"description": "A so-far healthy instance will be marked unhealthy after this\nmany consecutive failures. The default value is 2.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"HttpHealthCheckList": { +"description": "Contains a list of HttpHealthCheck resources.", +"id": "HttpHealthCheckList", +"properties": { +"id": { +"description": "[Output Only] Unique identifier for the resource; defined by the server.", +"type": "string" +}, +"items": { +"description": "A list of HttpHealthCheck resources.", +"items": { +"$ref": "HttpHealthCheck" +}, +"type": "array" +}, +"kind": { +"default": "compute#httpHealthCheckList", +"description": "Output only. Type of resource.", +"readOnly": true, +"type": "string" +}, +"nextPageToken": { +"description": "[Output Only] This token allows you to get the next page of results for\nlist requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for\nthe query parameter pageToken in the next list request.\nSubsequent list requests will have their own nextPageToken to\ncontinue paging through the results.", +"type": "string" +}, +"selfLink": { +"description": "Output only. [Output Only] Server-defined URL for this resource.", +"readOnly": true, +"type": "string" +}, +"warning": { +"description": "[Output Only] Informational warning message.", +"properties": { +"code": { +"description": "[Output Only] A warning code, if applicable. For example, Compute\nEngine returns NO_RESULTS_ON_PAGE if there\nare no results in the response.", +"enum": [ +"CLEANUP_FAILED", +"DEPRECATED_RESOURCE_USED", +"DEPRECATED_TYPE_USED", +"DISK_SIZE_LARGER_THAN_IMAGE_SIZE", +"EXPERIMENTAL_TYPE_USED", +"EXTERNAL_API_WARNING", +"FIELD_VALUE_OVERRIDEN", +"INJECTED_KERNELS_DEPRECATED", +"INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", +"LARGE_DEPLOYMENT_WARNING", +"LIST_OVERHEAD_QUOTA_EXCEED", +"MISSING_TYPE_DEPENDENCY", +"NEXT_HOP_ADDRESS_NOT_ASSIGNED", +"NEXT_HOP_CANNOT_IP_FORWARD", +"NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", +"NEXT_HOP_INSTANCE_NOT_FOUND", +"NEXT_HOP_INSTANCE_NOT_ON_NETWORK", +"NEXT_HOP_NOT_RUNNING", +"NOT_CRITICAL_ERROR", +"NO_RESULTS_ON_PAGE", +"PARTIAL_SUCCESS", +"QUOTA_INFO_UNAVAILABLE", +"REQUIRED_TOS_AGREEMENT", +"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", +"RESOURCE_NOT_DELETED", +"SCHEMA_VALIDATION_IGNORED", +"SINGLE_INSTANCE_PROPERTY_TEMPLATE", +"UNDECLARED_PROPERTIES", +"UNREACHABLE" +], +"enumDeprecated": [ +false, +false, +false, +false, +false, +false, +true, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false +], +"enumDescriptions": [ +"Warning about failed cleanup of transient changes made by a failed\noperation.", +"A link to a deprecated resource was created.", +"When deploying and at least one of the resources has a type marked as\ndeprecated", +"The user created a boot disk that is larger than image size.", +"When deploying and at least one of the resources has a type marked as\nexperimental", +"Warning that is present in an external api call", +"Warning that value of a field has been overridden.\nDeprecated unused field.", +"The operation involved use of an injected kernel, which is deprecated.", +"A WEIGHTED_MAGLEV backend service is associated with a health check that is\nnot of type HTTP/HTTPS/HTTP2.", +"When deploying a deployment with a exceedingly large number of resources", +"Resource can't be retrieved due to list overhead quota exceed\nwhich captures the amount of resources filtered out by\nuser-defined list filter.", +"A resource depends on a missing type", +"The route's nextHopIp address is not assigned to an instance on the\nnetwork.", +"The route's next hop instance cannot ip forward.", +"The route's nextHopInstance URL refers to an instance that does not have an\nipv6 interface on the same network as the route.", +"The route's nextHopInstance URL refers to an instance that does not exist.", +"The route's nextHopInstance URL refers to an instance that is not on the\nsame network as the route.", +"The route's next hop instance does not have a status of RUNNING.", +"Error which is not critical. We decided to continue the process despite\nthe mentioned error.", +"No results are present on a particular list page.", +"Success is reported, but some results may be missing due to errors", +"Quota information is not available to client requests (e.g:\nregions.list).", +"The user attempted to use a resource that requires a TOS they have not\naccepted.", +"Warning that a resource is in use.", +"One or more of the resources set to auto-delete could not be deleted\nbecause they were in use.", +"When a resource schema validation is ignored.", +"Instance template used in instance group manager is valid as such, but\nits application does not make a lot of sense, because it allows only\nsingle instance in instance group.", +"When undeclared properties in the schema are present", +"A given scope cannot be reached." +], +"type": "string" +}, +"data": { +"description": "[Output Only] Metadata about this warning in key:\nvalue format. For example:\n\n\"data\": [\n {\n \"key\": \"scope\",\n \"value\": \"zones/us-east1-d\"\n }", +"items": { +"properties": { +"key": { +"description": "[Output Only] A key that provides more detail on the warning being\nreturned. For example, for warnings where there are no results in a list\nrequest for a particular zone, this key might be scope and\nthe key value might be the zone name. Other examples might be a key\nindicating a deprecated resource and a suggested replacement, or a\nwarning about invalid network settings (for example, if an instance\nattempts to perform IP forwarding but is not enabled for IP forwarding).", +"type": "string" +}, +"value": { +"description": "[Output Only] A warning data value corresponding to the key.", +"type": "string" +} +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "[Output Only] A human-readable description of the warning code.", +"type": "string" +} +}, +"type": "object" +} +}, +"type": "object" +}, +"HttpQueryParameterMatch": { +"description": "HttpRouteRuleMatch criteria for a request's query parameter.", +"id": "HttpQueryParameterMatch", +"properties": { +"exactMatch": { +"description": "The queryParameterMatch matches if the value of the\nparameter exactly matches the contents of exactMatch.\n\nOnly one of presentMatch, exactMatch, orregexMatch must be set.", +"type": "string" +}, +"name": { +"description": "The name of the query parameter to match. The query parameter must exist in\nthe request, in the absence of which the request match fails.", +"type": "string" +}, +"presentMatch": { +"description": "Specifies that the queryParameterMatch matches if the\nrequest contains the query parameter, irrespective of whether the\nparameter has a value or not.\n\nOnly one of presentMatch, exactMatch, orregexMatch must be set.", +"type": "boolean" +}, +"regexMatch": { +"description": "The queryParameterMatch matches if the value of the\nparameter matches the regular expression specified byregexMatch. For\nmore information about regular expression syntax, see Syntax.\n\nOnly one of presentMatch, exactMatch, orregexMatch must be set.\n\nRegular expressions can only be used when the loadBalancingScheme is\nset to INTERNAL_SELF_MANAGED, EXTERNAL_MANAGED\n(regional scope) or INTERNAL_MANAGED.", +"type": "string" +} +}, +"type": "object" +}, +"HttpRedirectAction": { +"description": "Specifies settings for an HTTP redirect.", +"id": "HttpRedirectAction", +"properties": { +"hostRedirect": { +"description": "The host that is used in the redirect response instead of the one that\nwas supplied in the request.\n\nThe value must be from 1 to 255\ncharacters.", +"type": "string" +}, +"httpsRedirect": { +"description": "If set to true, the URL scheme in the redirected request is\nset to HTTPS.\nIf set to false, the URL scheme of the redirected request\nremains the same as that of the request.\n\nThis must only be set for URL maps used inTargetHttpProxys. Setting this true forTargetHttpsProxy is not permitted.\n\nThe default is set to false.", +"type": "boolean" +}, +"pathRedirect": { +"description": "The path that is used in the redirect response instead of the one\nthat was supplied in the request.\n\npathRedirect cannot be supplied together withprefixRedirect. Supply one alone or neither. If neither is\nsupplied, the path of the original request is used for the redirect.\n\nThe value must be from 1 to 1024 characters.", +"type": "string" +}, +"prefixRedirect": { +"description": "The prefix that replaces the prefixMatch specified in\nthe HttpRouteRuleMatch, retaining the remaining portion\nof the URL before redirecting the request.\n\nprefixRedirect cannot be supplied together withpathRedirect. Supply one alone or neither. If neither is\nsupplied, the path of the original request is used for the redirect.\n\nThe value must be from 1 to 1024 characters.", +"type": "string" +}, +"redirectResponseCode": { +"description": "The HTTP Status code to use for this RedirectAction.\n\nSupported values are:\n \n - MOVED_PERMANENTLY_DEFAULT, which is the default value and corresponds\n to 301.\n - FOUND, which corresponds to 302.\n - SEE_OTHER which corresponds to 303.\n - TEMPORARY_REDIRECT, which corresponds to 307. In this case, the request\n method is retained.\n - PERMANENT_REDIRECT, which corresponds to 308. In this case, the request\n method is retained.", +"enum": [ +"FOUND", +"MOVED_PERMANENTLY_DEFAULT", +"PERMANENT_REDIRECT", +"SEE_OTHER", +"TEMPORARY_REDIRECT" +], +"enumDescriptions": [ +"Http Status Code 302 - Found.", +"Http Status Code 301 - Moved Permanently.", +"Http Status Code 308 - Permanent Redirect maintaining HTTP method.", +"Http Status Code 303 - See Other.", +"Http Status Code 307 - Temporary Redirect maintaining HTTP method." +], +"type": "string" +}, +"stripQuery": { +"description": "If set to true, any accompanying query portion of the original\nURL is\nremoved before redirecting the request. If set to false, the\nquery portion of the original URL is retained.\n\nThe default is set to false.", +"type": "boolean" +} +}, +"type": "object" +}, +"HttpRetryPolicy": { +"description": "The retry policy associates with HttpRouteRule", +"id": "HttpRetryPolicy", +"properties": { +"numRetries": { +"description": "Specifies the allowed number retries. This number must be > 0.\nIf not specified, defaults to 1.", +"format": "uint32", +"type": "integer" +}, +"perTryTimeout": { +"$ref": "Duration", +"description": "Specifies a non-zero timeout per retry attempt.\n\nIf not specified, will use the timeout set in theHttpRouteAction field.\nIf timeout in the HttpRouteAction field is not set, this field\nuses the largest timeout\namong all backend services associated with the route.\n\nNot supported when the URL map is bound to a target gRPC proxy that\nhas the validateForProxyless field set to true." +}, +"retryConditions": { +"description": "Specifies one or more conditions when this retry policy applies. Valid\nvalues are:\n \n - 5xx: retry is attempted if the instance or endpoint\n responds with any 5xx response code, or if the instance or\n endpoint does not respond at all. For example, disconnects, reset, read\n timeout, connection failure, and refused streams.\n - gateway-error: Similar to 5xx, but only\n applies to response codes 502, 503 or504.\n - connect-failure: a retry is attempted on failures\n connecting to the instance or endpoint. For example, connection\n timeouts.\n - retriable-4xx: a retry is attempted if the instance\n or endpoint responds with a 4xx response code.\n The only error that you can retry is error code 409.\n - refused-stream: a retry is attempted if the instance\n or endpoint resets the stream with a REFUSED_STREAM error\n code. This reset type indicates that it is safe to retry.\n - cancelled: a retry is attempted if the gRPC status\n code in the response header is set to cancelled.\n - deadline-exceeded: a retry is attempted if the gRPC\n status code in the response header is set todeadline-exceeded.\n - internal: a retry is attempted if the gRPC\n status code in the response header is set tointernal.\n - resource-exhausted: a retry is attempted if the gRPC\n status code in the response header is set toresource-exhausted.\n - unavailable: a retry is attempted if the gRPC\n status code in the response header is set tounavailable.\n\nOnly the following codes are supported when the URL map is bound to\ntarget gRPC proxy that has validateForProxyless field set to true.\n \n - cancelled\n - deadline-exceeded\n - internal\n - resource-exhausted\n - unavailable", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"HttpRouteAction": { +"id": "HttpRouteAction", +"properties": { +"cachePolicy": { +"$ref": "CachePolicy", +"description": "Cache policy for this URL Map\u2019s route. Available only for Global\nEXTERNAL_MANAGED load balancer schemes." +}, +"corsPolicy": { +"$ref": "CorsPolicy", +"description": "The specification for allowing client-side cross-origin requests. For more\ninformation about the W3C recommendation for cross-origin resource sharing\n(CORS), see Fetch API Living\nStandard.\n\nNot supported when the URL map is bound to a target gRPC proxy." +}, +"faultInjectionPolicy": { +"$ref": "HttpFaultInjection", +"description": "The specification for fault injection introduced into traffic to test\nthe resiliency of clients to backend service failure. As part of fault\ninjection, when clients send requests to a backend service, delays can be\nintroduced by a load balancer on a percentage of requests before sending\nthose requests to the backend service. Similarly requests from clients can\nbe aborted by the load balancer for a percentage of requests.timeout and retry_policy is ignored by clients\nthat are configured with a fault_injection_policy if:\n1. The traffic is generated by fault injection AND\n2. The fault injection is not a delay fault injection.\nFault injection is not supported with the classic Application Load Balancer\n. To see which load balancers support fault injection,\nsee Load\nbalancing: Routing and traffic management features." +}, +"maxStreamDuration": { +"$ref": "Duration", +"description": "Specifies the maximum duration (timeout) for streams on the selected route.\nUnlike the timeout field where the timeout duration starts\nfrom the time the request has been fully processed (known as*end-of-stream*),\nthe duration in this field is computed from the beginning of the stream\nuntil the response has been processed, including all retries. A\nstream that does not complete in this duration is closed.\n\nIf not specified, this field uses the maximummaxStreamDuration value among all backend services associated\nwith the route.\n\nThis field is only allowed if the Url map is used with backend services\nwith loadBalancingScheme set toINTERNAL_SELF_MANAGED." +}, +"requestMirrorPolicy": { +"$ref": "RequestMirrorPolicy", +"description": "Specifies the policy on how requests intended for the route's backends\nare shadowed to a separate mirrored backend service. The load balancer does\nnot wait for responses from the shadow service. Before sending traffic\nto the shadow service, the host / authority header is suffixed with-shadow.\n\nNot supported when the URL map is bound to a target gRPC proxy that\nhas the validateForProxyless field set to true." +}, +"retryPolicy": { +"$ref": "HttpRetryPolicy", +"description": "Specifies the retry policy associated with this route." +}, +"timeout": { +"$ref": "Duration", +"description": "Specifies the timeout for the selected route. Timeout is computed from the\ntime the request has been fully processed (known as *end-of-stream*)\nup until the response has been processed. Timeout includes\nall retries.\n\nIf not specified, this field uses the largest timeout among all backend\nservices associated with the route.\n\nNot supported when the URL map is bound to a target gRPC proxy that\nhas validateForProxyless field set to true." +}, +"urlRewrite": { +"$ref": "UrlRewrite", +"description": "The spec to modify the URL of the request, before forwarding the request\nto the matched service.\n\n urlRewrite is the only action supported in UrlMaps\nfor classic Application Load Balancers.\n\nNot supported when the URL map is bound to a target gRPC proxy that\nhas the validateForProxyless field set to true." +}, +"weightedBackendServices": { +"description": "A list of weighted backend services to send traffic to when a route match\noccurs. The weights determine the fraction of traffic that flows to\ntheir corresponding backend service. If all traffic needs to\ngo to a single backend service, there must be oneweightedBackendService with weight set to a non-zero number.\n\nAfter a backend service is identified and before forwarding\nthe request to\nthe backend service, advanced routing actions such as URL rewrites and\nheader transformations are applied depending on additional settings\nspecified in this HttpRouteAction.", +"items": { +"$ref": "WeightedBackendService" +}, +"type": "array" +} +}, +"type": "object" +}, +"HttpRouteRule": { +"description": "The HttpRouteRule setting specifies how to match an HTTP request\nand the corresponding routing action that load balancing proxies perform.", +"id": "HttpRouteRule", +"properties": { +"customErrorResponsePolicy": { +"$ref": "CustomErrorResponsePolicy", +"description": "customErrorResponsePolicy specifies how the Load\nBalancer returns error responses when BackendServiceorBackendBucket responds with an error. \n\nIf a policy for an\nerror code is not configured for the RouteRule, a policy for\nthe error code configured inpathMatcher.defaultCustomErrorResponsePolicy is applied. If\none is not specified inpathMatcher.defaultCustomErrorResponsePolicy, the policy\nconfigured in UrlMap.defaultCustomErrorResponsePolicy takes\neffect. \n\nFor example, consider a UrlMap with the following configuration:\n \n \n - UrlMap.defaultCustomErrorResponsePolicy are configured\n with policies for 5xx and 4xx errors\n - A RouteRule for /coming_soon/ is configured for the\n error code 404.\n\nIf the request is for www.myotherdomain.com and a404 is encountered, the policy underUrlMap.defaultCustomErrorResponsePolicy takes effect. If a404 response is encountered for the requestwww.example.com/current_events/, the pathMatcher's policy\ntakes effect. If however, the request forwww.example.com/coming_soon/ encounters a 404,\nthe policy in RouteRule.customErrorResponsePolicy takes\neffect. If any of the requests in this example encounter a 500\nerror code, the policy atUrlMap.defaultCustomErrorResponsePolicy takes effect. \n\nWhen\nused in conjunction withrouteRules.routeAction.retryPolicy, retries take\nprecedence. Only once all retries are exhausted, thecustomErrorResponsePolicy is applied. While attempting\na retry, if load balancer is successful in reaching the\nservice, the customErrorResponsePolicy is ignored and\nthe response from the service is returned to the client.\n\ncustomErrorResponsePolicy is supported only for\nglobal external Application Load Balancers." +}, +"description": { +"description": "The short description conveying the intent of this routeRule.\n\n\nThe description can have a maximum length of 1024 characters.", +"type": "string" +}, +"headerAction": { +"$ref": "HttpHeaderAction", +"description": "Specifies changes to request and response headers that need to take effect\nfor the selected backendService.\n\nThe headerAction value specified here is applied before the\nmatching pathMatchers[].headerAction and afterpathMatchers[].routeRules[].routeAction.weightedBackendService.backendServiceWeightAction[].headerAction\n\nHeaderAction is not supported for load balancers\nthat have\ntheir loadBalancingScheme set to EXTERNAL.\n\nNot supported when the URL map is bound to a target gRPC proxy that\nhas validateForProxyless field set to true." +}, +"httpFilterConfigs": { +"description": "Outbound route specific configuration fornetworkservices.HttpFilter resources enabled by Traffic\nDirector. httpFilterConfigs only applies for load balancers\nwith loadBalancingScheme set toINTERNAL_SELF_MANAGED. See ForwardingRule for\nmore details.\n\nNot supported when the URL map is bound to a target gRPC proxy that\nhas validateForProxyless field set to true.", +"items": { +"$ref": "HttpFilterConfig" +}, +"type": "array" +}, +"httpFilterMetadata": { +"description": "Outbound route specific metadata supplied tonetworkservices.HttpFilter resources enabled by Traffic\nDirector. httpFilterMetadata only applies for load balancers\nwith loadBalancingScheme set toINTERNAL_SELF_MANAGED. See ForwardingRule for\nmore details. \n\n The only configTypeUrl supported istype.googleapis.com/google.protobuf.Struct\n\nNot supported when the URL map is bound to a target gRPC proxy that\nhas validateForProxyless field set to true.", +"items": { +"$ref": "HttpFilterConfig" +}, +"type": "array" +}, +"matchRules": { +"description": "The list of criteria for matching attributes of a request to thisrouteRule. This list has OR semantics: the request matches\nthis routeRule when any of thematchRules are satisfied. However predicates within\na given matchRule have AND semantics. All predicates\nwithin a matchRule must match for the request to\nmatch the rule.", +"items": { +"$ref": "HttpRouteRuleMatch" +}, +"type": "array" +}, +"priority": { +"description": "For routeRules within a given pathMatcher,\npriority determines the order in which a load balancer interpretsrouteRules. RouteRules are evaluated in order\nof priority, from the lowest to highest number. The priority of a\nrule decreases as its number increases (1, 2, 3, N+1). The first rule\nthat matches the request is applied.\n\n\nYou cannot configure two or more routeRules with the same priority.\nPriority for each rule must be set to a number from 0 to 2147483647\ninclusive.\n\n\nPriority numbers can have gaps, which enable you to add or remove rules\nin the future without affecting the rest of the rules. For example, 1, 2,\n3, 4, 5, 9, 12, 16 is a valid series of priority numbers to which you\ncould add rules numbered from 6 to 8, 10 to 11, and 13 to 15 in the future\nwithout any impact on existing rules.", +"format": "int32", +"type": "integer" +}, +"routeAction": { +"$ref": "HttpRouteAction", +"description": "In response to a matching matchRule, the load balancer\nperforms advanced routing actions, such as URL rewrites and header\ntransformations, before forwarding the request to the selected backend.\n\n\nOnly one of urlRedirect, service orrouteAction.weightedBackendService can be set.\n\n\nURL maps for classic Application Load Balancers only support\nthe urlRewrite action within a route rule'srouteAction." +}, +"service": { +"description": "The full or partial URL of the backend service resource to which traffic\nis directed if this rule is matched. If routeAction is\nalso specified, advanced routing actions, such as URL rewrites,\ntake effect before sending the request to the backend.\n\n\nOnly one of urlRedirect, service orrouteAction.weightedBackendService can be set.", +"type": "string" +}, +"urlRedirect": { +"$ref": "HttpRedirectAction", +"description": "When this rule is matched, the request is redirected to a URL\nspecified by urlRedirect.\n\n\nOnly one of urlRedirect, service orrouteAction.weightedBackendService can be set.\n\n\nNot supported when the URL map is bound to a target gRPC proxy." +} +}, +"type": "object" +}, +"HttpRouteRuleMatch": { +"description": "HttpRouteRuleMatch specifies a set of criteria for matching\nrequests to an HttpRouteRule. All specified criteria must\nbe satisfied for a match to occur.", +"id": "HttpRouteRuleMatch", +"properties": { +"fullPathMatch": { +"description": "For satisfying the matchRule condition, the path of the\nrequest must exactly match the value specified infullPathMatch after removing any query parameters and anchor\nthat may be part of the original URL.\n\nfullPathMatch must be from 1 to 1024 characters.\n\nOnly one of prefixMatch, fullPathMatch,regexMatch or path_template_match must be\nspecified.", +"type": "string" +}, +"headerMatches": { +"description": "Specifies a list of header match criteria, all of which must match\ncorresponding headers in the request.", +"items": { +"$ref": "HttpHeaderMatch" +}, +"type": "array" +}, +"ignoreCase": { +"description": "Specifies that prefixMatch and fullPathMatch\nmatches are case sensitive.\n\nThe default value is false.\n\nignoreCase must not be used with regexMatch.\n\nNot supported when the URL map is bound to a target gRPC proxy.", +"type": "boolean" +}, +"metadataFilters": { +"description": "Opaque filter criteria used by the load balancer to restrict routing\nconfiguration to a limited set of xDS\ncompliant clients. In their xDS requests to the load balancer, xDS clients\npresent node\nmetadata. When there is a match, the relevant routing configuration\nis made available to those proxies.\n\nFor each metadataFilter in this list, if itsfilterMatchCriteria is set to MATCH_ANY, at least one of thefilterLabels must match the corresponding label provided in\nthe metadata. If its filterMatchCriteria is set to\nMATCH_ALL, then all of its filterLabels must match with\ncorresponding labels provided in the metadata. If multiple\nmetadata filters are specified, all of them need to be\nsatisfied in order to be considered a match.\n\nmetadataFilters specified here is applied after those\nspecified in ForwardingRule that refers to theUrlMap this HttpRouteRuleMatch belongs to.\n\nmetadataFilters only applies to load balancers that haveloadBalancingScheme set toINTERNAL_SELF_MANAGED.\n\nNot supported when the URL map is bound to a target gRPC proxy that\nhas validateForProxyless field set to true.", +"items": { +"$ref": "MetadataFilter" +}, +"type": "array" +}, +"pathTemplateMatch": { +"description": "If specified, this field defines a path template pattern that must match\nthe :path header after the query string is removed.\n\nA path template pattern can include variables and wildcards.\nVariables are enclosed in curly braces, for example{variable_name}. Wildcards include * that\nmatches a single path segment, and ** that matches zero or\nmore path segments. The pattern must follow these rules:\n\n \n - The value must be between 1 and 1024 characters.\n - The pattern must start with a leading slash (\"/\").\n - No more than 5 operators (variables or wildcards) may appear in\n the pattern.\n\nPrecisely one ofprefixMatch, fullPathMatch,regexMatch, or pathTemplateMatch must be\nset.", +"type": "string" +}, +"prefixMatch": { +"description": "For satisfying the matchRule condition, the request's\npath must begin with the specified prefixMatch.prefixMatch must begin with a /.\n\nThe value must be from 1 to 1024 characters.\n\nThe * character inside a prefix match is\ntreated as a literal character, not as a wildcard.\n\nOnly one of prefixMatch, fullPathMatch,regexMatch or path_template_match can be\nused within a matchRule.", +"type": "string" +}, +"queryParameterMatches": { +"description": "Specifies a list of query parameter match criteria, all of which must\nmatch corresponding query parameters in the request.\n\nNot supported when the URL map is bound to a target gRPC proxy.", +"items": { +"$ref": "HttpQueryParameterMatch" +}, +"type": "array" +}, +"regexMatch": { +"description": "For satisfying the matchRule condition, the path of the\nrequest must satisfy the regular expression specified inregexMatch after removing any query parameters and anchor\nsupplied with the original URL. For\nmore information about regular expression syntax, see Syntax.\n\nOnly one of prefixMatch, fullPathMatch,regexMatch or path_template_match must be\nspecified.\n\nRegular expressions can only be used when the loadBalancingScheme is\nset to INTERNAL_SELF_MANAGED, EXTERNAL_MANAGED\n(regional scope) or INTERNAL_MANAGED.", +"type": "string" +} +}, +"type": "object" +}, +"HttpsHealthCheck": { +"description": "Represents a legacy HTTPS Health Check resource.\n\nLegacy HTTPS health checks have been deprecated. If you are using a target\npool-based network load balancer, you must use a legacy HTTP (not HTTPS)\nhealth check. For all other load balancers, including backend service-based\nnetwork load balancers, and for managed instance group auto-healing, you must\nuse modern (non-legacy) health checks.\n\nFor more information, seeHealth checks\noverview.", +"id": "HttpsHealthCheck", +"properties": { +"checkIntervalSec": { +"description": "How often (in seconds) to send a health check. The default value is 5\nseconds.", +"format": "int32", +"type": "integer" +}, +"creationTimestamp": { +"description": "[Output Only] Creation timestamp inRFC3339\ntext format.", +"type": "string" +}, +"description": { +"description": "An optional description of this resource. Provide this property when you\ncreate the resource.", +"type": "string" +}, +"healthyThreshold": { +"description": "A so-far unhealthy instance will be marked healthy after this\nmany consecutive successes. The default value is 2.", +"format": "int32", +"type": "integer" +}, +"host": { +"description": "The value of the host header in the HTTPS health check request. If left\nempty (default value), the public IP on behalf of which this health check\nis performed will be used.", +"type": "string" +}, +"id": { +"description": "[Output Only] The unique identifier for the resource. This identifier is\ndefined by the server.", +"format": "uint64", +"type": "string" +}, +"kind": { +"default": "compute#httpsHealthCheck", +"description": "Output only. Type of the resource.", +"readOnly": true, +"type": "string" +}, +"name": { +"description": "Name of the resource. Provided by the client when the resource is created.\nThe name must be 1-63 characters long, and comply withRFC1035.\nSpecifically, the name must be 1-63 characters long and match the regular\nexpression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first\ncharacter must be a lowercase letter, and all following characters must\nbe a dash, lowercase letter, or digit, except the last character, which\ncannot be a dash.", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"type": "string" +}, +"port": { +"description": "The TCP port number for the HTTPS health check request. The default value\nis 443.", +"format": "int32", +"type": "integer" +}, +"requestPath": { +"description": "The request path of the HTTPS health check request. The default value is\n\"/\". Must comply withRFC3986.", +"type": "string" +}, +"selfLink": { +"description": "[Output Only] Server-defined URL for the resource.", +"type": "string" +}, +"timeoutSec": { +"description": "How long (in seconds) to wait before claiming failure. The default value is\n5 seconds. It is invalid for timeoutSec to have a greater value than\ncheckIntervalSec.", +"format": "int32", +"type": "integer" +}, +"unhealthyThreshold": { +"description": "A so-far healthy instance will be marked unhealthy after this\nmany consecutive failures. The default value is 2.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"HttpsHealthCheckList": { +"description": "Contains a list of HttpsHealthCheck resources.", +"id": "HttpsHealthCheckList", +"properties": { +"id": { +"description": "[Output Only] Unique identifier for the resource; defined by the server.", +"type": "string" +}, +"items": { +"description": "A list of HttpsHealthCheck resources.", +"items": { +"$ref": "HttpsHealthCheck" +}, +"type": "array" +}, +"kind": { +"default": "compute#httpsHealthCheckList", +"description": "Output only. Type of resource.", +"readOnly": true, +"type": "string" +}, +"nextPageToken": { +"description": "[Output Only] This token allows you to get the next page of results for\nlist requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for\nthe query parameter pageToken in the next list request.\nSubsequent list requests will have their own nextPageToken to\ncontinue paging through the results.", +"type": "string" +}, +"selfLink": { +"description": "Output only. [Output Only] Server-defined URL for this resource.", +"readOnly": true, +"type": "string" +}, +"warning": { +"description": "[Output Only] Informational warning message.", +"properties": { +"code": { +"description": "[Output Only] A warning code, if applicable. For example, Compute\nEngine returns NO_RESULTS_ON_PAGE if there\nare no results in the response.", +"enum": [ +"CLEANUP_FAILED", +"DEPRECATED_RESOURCE_USED", +"DEPRECATED_TYPE_USED", +"DISK_SIZE_LARGER_THAN_IMAGE_SIZE", +"EXPERIMENTAL_TYPE_USED", +"EXTERNAL_API_WARNING", +"FIELD_VALUE_OVERRIDEN", +"INJECTED_KERNELS_DEPRECATED", +"INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", +"LARGE_DEPLOYMENT_WARNING", +"LIST_OVERHEAD_QUOTA_EXCEED", +"MISSING_TYPE_DEPENDENCY", +"NEXT_HOP_ADDRESS_NOT_ASSIGNED", +"NEXT_HOP_CANNOT_IP_FORWARD", +"NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", +"NEXT_HOP_INSTANCE_NOT_FOUND", +"NEXT_HOP_INSTANCE_NOT_ON_NETWORK", +"NEXT_HOP_NOT_RUNNING", +"NOT_CRITICAL_ERROR", +"NO_RESULTS_ON_PAGE", +"PARTIAL_SUCCESS", +"QUOTA_INFO_UNAVAILABLE", +"REQUIRED_TOS_AGREEMENT", +"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", +"RESOURCE_NOT_DELETED", +"SCHEMA_VALIDATION_IGNORED", +"SINGLE_INSTANCE_PROPERTY_TEMPLATE", +"UNDECLARED_PROPERTIES", +"UNREACHABLE" +], +"enumDeprecated": [ +false, +false, +false, +false, +false, +false, +true, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false +], +"enumDescriptions": [ +"Warning about failed cleanup of transient changes made by a failed\noperation.", +"A link to a deprecated resource was created.", +"When deploying and at least one of the resources has a type marked as\ndeprecated", +"The user created a boot disk that is larger than image size.", +"When deploying and at least one of the resources has a type marked as\nexperimental", +"Warning that is present in an external api call", +"Warning that value of a field has been overridden.\nDeprecated unused field.", +"The operation involved use of an injected kernel, which is deprecated.", +"A WEIGHTED_MAGLEV backend service is associated with a health check that is\nnot of type HTTP/HTTPS/HTTP2.", +"When deploying a deployment with a exceedingly large number of resources", +"Resource can't be retrieved due to list overhead quota exceed\nwhich captures the amount of resources filtered out by\nuser-defined list filter.", +"A resource depends on a missing type", +"The route's nextHopIp address is not assigned to an instance on the\nnetwork.", +"The route's next hop instance cannot ip forward.", +"The route's nextHopInstance URL refers to an instance that does not have an\nipv6 interface on the same network as the route.", +"The route's nextHopInstance URL refers to an instance that does not exist.", +"The route's nextHopInstance URL refers to an instance that is not on the\nsame network as the route.", +"The route's next hop instance does not have a status of RUNNING.", +"Error which is not critical. We decided to continue the process despite\nthe mentioned error.", +"No results are present on a particular list page.", +"Success is reported, but some results may be missing due to errors", +"Quota information is not available to client requests (e.g:\nregions.list).", +"The user attempted to use a resource that requires a TOS they have not\naccepted.", +"Warning that a resource is in use.", +"One or more of the resources set to auto-delete could not be deleted\nbecause they were in use.", +"When a resource schema validation is ignored.", +"Instance template used in instance group manager is valid as such, but\nits application does not make a lot of sense, because it allows only\nsingle instance in instance group.", +"When undeclared properties in the schema are present", +"A given scope cannot be reached." +], +"type": "string" +}, +"data": { +"description": "[Output Only] Metadata about this warning in key:\nvalue format. For example:\n\n\"data\": [\n {\n \"key\": \"scope\",\n \"value\": \"zones/us-east1-d\"\n }", +"items": { +"properties": { +"key": { +"description": "[Output Only] A key that provides more detail on the warning being\nreturned. For example, for warnings where there are no results in a list\nrequest for a particular zone, this key might be scope and\nthe key value might be the zone name. Other examples might be a key\nindicating a deprecated resource and a suggested replacement, or a\nwarning about invalid network settings (for example, if an instance\nattempts to perform IP forwarding but is not enabled for IP forwarding).", +"type": "string" +}, +"value": { +"description": "[Output Only] A warning data value corresponding to the key.", +"type": "string" +} +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "[Output Only] A human-readable description of the warning code.", +"type": "string" +} +}, +"type": "object" +} +}, +"type": "object" +}, +"Image": { +"description": "Represents an Image resource.\n\nYou can use images to create boot disks for your VM instances.\nFor more information, read Images.", +"id": "Image", +"properties": { +"architecture": { +"description": "The architecture of the image. Valid values are\nARM64 or X86_64.", +"enum": [ +"ARCHITECTURE_UNSPECIFIED", +"ARM64", +"X86_64" +], +"enumDescriptions": [ +"Default value indicating Architecture is not set.", +"Machines with architecture ARM64", +"Machines with architecture X86_64" +], +"type": "string" +}, +"archiveSizeBytes": { +"description": "Size of the image tar.gz archive stored in Google Cloud\nStorage (in bytes).", +"format": "int64", +"type": "string" +}, +"creationTimestamp": { +"description": "Output only. [Output Only] Creation timestamp inRFC3339\ntext format.", +"readOnly": true, +"type": "string" +}, +"deprecated": { +"$ref": "DeprecationStatus", +"description": "Output only. The deprecation status associated with this image.", +"readOnly": true +}, +"description": { +"description": "An optional description of this resource. Provide this property when you\ncreate the resource.", +"type": "string" +}, +"diskSizeGb": { +"description": "Size of the image when restored onto a persistent disk (in GB).", +"format": "int64", +"type": "string" +}, +"enableConfidentialCompute": { +"description": "Output only. Whether this image is created from a confidential compute mode disk.\n[Output Only]: This field is not set by user, but from source disk.", +"readOnly": true, +"type": "boolean" +}, +"family": { +"description": "The name of the image family to which this image belongs. The image\nfamily name can be from a publicly managed image family provided by\nCompute Engine, or from a custom image family you create. For example,centos-stream-9 is a publicly available image family.\nFor more information, see Image\nfamily best practices.\n\nWhen creating disks, you can specify an image family instead of a specific\nimage name. The image family always returns its latest image that is not\ndeprecated. The name of the image family must comply with RFC1035.", +"type": "string" +}, +"guestOsFeatures": { +"description": "A list of features to enable on the guest operating system. Applicable\nonly for bootable images. To see a list of available options, see theguestOSfeatures[].type parameter.", +"items": { +"$ref": "GuestOsFeature" +}, +"type": "array" +}, +"id": { +"description": "Output only. [Output Only] The unique identifier for the resource. This identifier is\ndefined by the server.", +"format": "uint64", +"readOnly": true, +"type": "string" +}, +"imageEncryptionKey": { +"$ref": "CustomerEncryptionKey", +"description": "Encrypts the image using acustomer-supplied\nencryption key.\n\nAfter you encrypt an image with a customer-supplied key, you must provide\nthe same key if you use the image later (e.g. to create a disk from\nthe image).\n\nCustomer-supplied encryption keys do not protect access to metadata\nof the disk.\n\nIf you do not provide an encryption key when creating the image, then the\ndisk will be encrypted using an automatically generated key and you do not\nneed to provide a key to use the image later." +}, +"kind": { +"default": "compute#image", +"description": "Output only. [Output Only] Type of the resource. Always compute#image for\nimages.", +"readOnly": true, +"type": "string" +}, +"labelFingerprint": { +"description": "A fingerprint for the labels being applied to this image, which is\nessentially a hash of the labels used for optimistic locking. The\nfingerprint is initially generated by Compute Engine and changes after\nevery request to modify or update labels. You must always provide an\nup-to-date fingerprint hash in order to update or change labels,\notherwise the request will fail with error412 conditionNotMet.\n\nTo see the latest fingerprint, make a get() request to\nretrieve an image.", +"format": "byte", +"type": "string" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Labels to apply to this image. These can be later modified by\nthe setLabels method.", +"type": "object" +}, +"licenseCodes": { +"description": "Integer license codes indicating which licenses are attached to this image.", +"items": { +"format": "int64", +"type": "string" +}, +"type": "array" +}, +"licenses": { +"description": "Any applicable license URI.", +"items": { +"type": "string" +}, +"type": "array" +}, +"locked": { +"description": "A flag for marketplace VM disk created from the image, which is designed\nfor marketplace VM disk to prevent the proprietary data on the disk from\nbeing accessed unwantedly. The flag will be inherited by the disk created\nfrom the image.\n\nThe disk with locked flag set to true will be prohibited from performing\nthe operations below:\n \n - R/W or R/O disk attach\n - Disk detach, if disk is created via create-on-create\n - Create images\n - Create snapshots\n - Create disk clone (create disk from the current disk)\n\n\n\nThe image with the locked field set to true will be prohibited from\nperforming the operations below:\n \n - Create images from the current image\n - Update the locked field for the current image\n\n\n\nThe instance with at least one disk with locked flag set to true will be\nprohibited from performing the operations below:\n \n - Secondary disk attach\n - Create instant snapshot\n - Create machine images\n - Create instance template\n - Delete the instance with --keep-disk parameter set to true", +"type": "boolean" +}, +"name": { +"annotations": { +"required": [ +"compute.images.insert" +] +}, +"description": "Name of the resource; provided by the client when the resource is created.\nThe name must be 1-63 characters long, and comply withRFC1035.\nSpecifically, the name must be 1-63 characters long and match the regular\nexpression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first\ncharacter must be a lowercase letter, and all following characters must be\na dash, lowercase letter, or digit, except the last character, which cannot\nbe a dash.", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"type": "string" +}, +"params": { +"$ref": "ImageParams", +"description": "Input only. [Input Only] Additional params passed with the request, but not persisted\nas part of resource payload." +}, +"rawDisk": { +"description": "The parameters of the raw disk image.", +"properties": { +"containerType": { +"description": "The format used to encode and transmit the block device, which should beTAR. This is just a container and transmission format and not\na runtime format. Provided by the client when the disk image is created.", +"enum": [ +"TAR" +], +"enumDescriptions": [ +"" +], +"type": "string" +}, +"sha1Checksum": { +"deprecated": true, +"description": "[Deprecated] This field is deprecated.\nAn optional SHA1 checksum of the disk image before unpackaging provided\nby the client when the disk image is created.", +"pattern": "[a-f0-9]{40}", +"type": "string" +}, +"source": { +"description": "The full Google Cloud Storage URL where the raw disk image archive is\nstored.\nThe following are valid formats for the URL:\n \n - https://storage.googleapis.com/bucket_name/image_archive_name\n - https://storage.googleapis.com/bucket_name/folder_name/image_archive_name\n\n\n\nIn order to create an image, you must provide the full or partial URL of\none of the following:\n \n - The rawDisk.source URL \n - The sourceDisk URL \n - The sourceImage URL \n - The sourceSnapshot URL", +"type": "string" +} +}, +"type": "object" +}, +"rolloutOverride": { +"$ref": "RolloutPolicy", +"description": "A rollout policy to apply to this image. When specified, the rollout policy\noverrides per-zone references to the image via the associated image family.\nThe rollout policy restricts the zones where this image is accessible when\nusing a zonal image family reference. When the rollout policy does not\ninclude the user specified zone, or if the zone is rolled out, this image\nis accessible.\n\nThe rollout policy for this image is read-only, except for allowlisted\nusers. This field might not be configured. To view the latest\nnon-deprecated image in a specific zone, use theimageFamilyViews.get method." +}, +"satisfiesPzi": { +"description": "Output only. Reserved for future use.", +"readOnly": true, +"type": "boolean" +}, +"satisfiesPzs": { +"description": "Output only. [Output Only] Reserved for future use.", +"readOnly": true, +"type": "boolean" +}, +"selfLink": { +"description": "Output only. [Output Only] Server-defined URL for the resource.", +"readOnly": true, +"type": "string" +}, +"shieldedInstanceInitialState": { +"$ref": "InitialStateConfig", +"description": "Set the secure boot keys of shielded instance." +}, +"sourceDisk": { +"description": "URL of the source disk used to create this image.\nFor example, the following are valid values:\n \n - https://www.googleapis.com/compute/v1/projects/project/zones/zone/disks/disk \n - projects/project/zones/zone/disks/disk \n - zones/zone/disks/disk\n\n\n\nIn order to create an image, you must provide the full or partial URL of\none of the following:\n \n - The rawDisk.source URL \n - The sourceDisk URL \n - The sourceImage URL \n - The sourceSnapshot URL", +"type": "string" +}, +"sourceDiskEncryptionKey": { +"$ref": "CustomerEncryptionKey", +"description": "Thecustomer-supplied\nencryption key of the source disk. Required if the source disk is\nprotected by a customer-supplied encryption key." +}, +"sourceDiskId": { +"description": "Output only. [Output Only]\nThe ID value of the disk used to create this image. This value may be used\nto determine whether the image was taken from the current or a previous\ninstance of a given disk name.", +"readOnly": true, +"type": "string" +}, +"sourceImage": { +"description": "URL of the source image used to create this image.\nThe following are valid formats for the URL:\n \n - https://www.googleapis.com/compute/v1/projects/project_id/global/\n images/image_name\n - projects/project_id/global/images/image_name\n\n\n\nIn order to create an image, you must provide the full or partial URL of\none of the following:\n \n - The rawDisk.source URL \n - The sourceDisk URL \n - The sourceImage URL \n - The sourceSnapshot URL", +"type": "string" +}, +"sourceImageEncryptionKey": { +"$ref": "CustomerEncryptionKey", +"description": "The customer-supplied encryption key of the source image. Required if the\nsource image is protected by a customer-supplied encryption key." +}, +"sourceImageId": { +"description": "Output only. [Output Only]\nThe ID value of the image used to create this image. This value may be used\nto determine whether the image was taken from the current or a previous\ninstance of a given image name.", +"readOnly": true, +"type": "string" +}, +"sourceSnapshot": { +"description": "URL of the source snapshot used to create this image.\nThe following are valid formats for the URL:\n \n - https://www.googleapis.com/compute/v1/projects/project_id/global/\n snapshots/snapshot_name\n - projects/project_id/global/snapshots/snapshot_name\n\n\n\nIn order to create an image, you must provide the full or partial URL of\none of the following:\n \n - The rawDisk.source URL \n - The sourceDisk URL \n - The sourceImage URL \n - The sourceSnapshot URL", +"type": "string" +}, +"sourceSnapshotEncryptionKey": { +"$ref": "CustomerEncryptionKey", +"description": "The customer-supplied encryption key of the source snapshot. Required if\nthe source snapshot is protected by a customer-supplied encryption key." +}, +"sourceSnapshotId": { +"description": "Output only. [Output Only]\nThe ID value of the snapshot used to create this image. This value may be\nused to determine whether the snapshot was taken from the current or a\nprevious instance of a given snapshot name.", +"readOnly": true, +"type": "string" +}, +"sourceType": { +"default": "RAW", +"description": "The type of the image used to create this disk. The\ndefault and only valid value is RAW.", +"enum": [ +"RAW" +], +"enumDescriptions": [ +"" +], +"type": "string" +}, +"status": { +"description": "Output only. [Output Only] The status of the image. An image can be used to create other\nresources, such as instances, only after the image has been successfully\ncreated and the status is set to READY. Possible\nvalues are FAILED, PENDING, orREADY.", +"enum": [ +"DELETING", +"FAILED", +"PENDING", +"READY" +], +"enumDescriptions": [ +"Image is deleting.", +"Image creation failed due to an error.", +"Image hasn't been created as yet.", +"Image has been successfully created." +], +"readOnly": true, +"type": "string" +}, +"storageLocations": { +"description": "Cloud Storage bucket storage location of the image (regional or\nmulti-regional).", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ImageFamilyView": { +"id": "ImageFamilyView", +"properties": { +"image": { +"$ref": "Image", +"description": "The latest image that is part of the specified image family in the\nrequested location, and that is not deprecated." +} +}, +"type": "object" +}, +"ImageList": { +"description": "Contains a list of images.", +"id": "ImageList", +"properties": { +"id": { +"description": "[Output Only] Unique identifier for the resource; defined by the server.", +"type": "string" +}, +"items": { +"description": "A list of Image resources.", +"items": { +"$ref": "Image" +}, +"type": "array" +}, +"kind": { +"default": "compute#imageList", +"description": "Output only. Type of resource.", +"readOnly": true, +"type": "string" +}, +"nextPageToken": { +"description": "[Output Only] This token allows you to get the next page of results for\nlist requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for\nthe query parameter pageToken in the next list request.\nSubsequent list requests will have their own nextPageToken to\ncontinue paging through the results.", +"type": "string" +}, +"selfLink": { +"description": "Output only. [Output Only] Server-defined URL for this resource.", +"readOnly": true, +"type": "string" +}, +"warning": { +"description": "[Output Only] Informational warning message.", +"properties": { +"code": { +"description": "[Output Only] A warning code, if applicable. For example, Compute\nEngine returns NO_RESULTS_ON_PAGE if there\nare no results in the response.", +"enum": [ +"CLEANUP_FAILED", +"DEPRECATED_RESOURCE_USED", +"DEPRECATED_TYPE_USED", +"DISK_SIZE_LARGER_THAN_IMAGE_SIZE", +"EXPERIMENTAL_TYPE_USED", +"EXTERNAL_API_WARNING", +"FIELD_VALUE_OVERRIDEN", +"INJECTED_KERNELS_DEPRECATED", +"INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", +"LARGE_DEPLOYMENT_WARNING", +"LIST_OVERHEAD_QUOTA_EXCEED", +"MISSING_TYPE_DEPENDENCY", +"NEXT_HOP_ADDRESS_NOT_ASSIGNED", +"NEXT_HOP_CANNOT_IP_FORWARD", +"NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", +"NEXT_HOP_INSTANCE_NOT_FOUND", +"NEXT_HOP_INSTANCE_NOT_ON_NETWORK", +"NEXT_HOP_NOT_RUNNING", +"NOT_CRITICAL_ERROR", +"NO_RESULTS_ON_PAGE", +"PARTIAL_SUCCESS", +"QUOTA_INFO_UNAVAILABLE", +"REQUIRED_TOS_AGREEMENT", +"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", +"RESOURCE_NOT_DELETED", +"SCHEMA_VALIDATION_IGNORED", +"SINGLE_INSTANCE_PROPERTY_TEMPLATE", +"UNDECLARED_PROPERTIES", +"UNREACHABLE" +], +"enumDeprecated": [ +false, +false, +false, +false, +false, +false, +true, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false +], +"enumDescriptions": [ +"Warning about failed cleanup of transient changes made by a failed\noperation.", +"A link to a deprecated resource was created.", +"When deploying and at least one of the resources has a type marked as\ndeprecated", +"The user created a boot disk that is larger than image size.", +"When deploying and at least one of the resources has a type marked as\nexperimental", +"Warning that is present in an external api call", +"Warning that value of a field has been overridden.\nDeprecated unused field.", +"The operation involved use of an injected kernel, which is deprecated.", +"A WEIGHTED_MAGLEV backend service is associated with a health check that is\nnot of type HTTP/HTTPS/HTTP2.", +"When deploying a deployment with a exceedingly large number of resources", +"Resource can't be retrieved due to list overhead quota exceed\nwhich captures the amount of resources filtered out by\nuser-defined list filter.", +"A resource depends on a missing type", +"The route's nextHopIp address is not assigned to an instance on the\nnetwork.", +"The route's next hop instance cannot ip forward.", +"The route's nextHopInstance URL refers to an instance that does not have an\nipv6 interface on the same network as the route.", +"The route's nextHopInstance URL refers to an instance that does not exist.", +"The route's nextHopInstance URL refers to an instance that is not on the\nsame network as the route.", +"The route's next hop instance does not have a status of RUNNING.", +"Error which is not critical. We decided to continue the process despite\nthe mentioned error.", +"No results are present on a particular list page.", +"Success is reported, but some results may be missing due to errors", +"Quota information is not available to client requests (e.g:\nregions.list).", +"The user attempted to use a resource that requires a TOS they have not\naccepted.", +"Warning that a resource is in use.", +"One or more of the resources set to auto-delete could not be deleted\nbecause they were in use.", +"When a resource schema validation is ignored.", +"Instance template used in instance group manager is valid as such, but\nits application does not make a lot of sense, because it allows only\nsingle instance in instance group.", +"When undeclared properties in the schema are present", +"A given scope cannot be reached." +], +"type": "string" +}, +"data": { +"description": "[Output Only] Metadata about this warning in key:\nvalue format. For example:\n\n\"data\": [\n {\n \"key\": \"scope\",\n \"value\": \"zones/us-east1-d\"\n }", +"items": { +"properties": { +"key": { +"description": "[Output Only] A key that provides more detail on the warning being\nreturned. For example, for warnings where there are no results in a list\nrequest for a particular zone, this key might be scope and\nthe key value might be the zone name. Other examples might be a key\nindicating a deprecated resource and a suggested replacement, or a\nwarning about invalid network settings (for example, if an instance\nattempts to perform IP forwarding but is not enabled for IP forwarding).", +"type": "string" +}, +"value": { +"description": "[Output Only] A warning data value corresponding to the key.", +"type": "string" +} +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "[Output Only] A human-readable description of the warning code.", +"type": "string" +} +}, +"type": "object" +} +}, +"type": "object" +}, +"ImageParams": { +"description": "Additional image params.", +"id": "ImageParams", +"properties": { +"resourceManagerTags": { +"additionalProperties": { +"type": "string" +}, +"description": "Input only. Resource manager tags to be bound to the image. Tag keys and values have\nthe same definition as resource\nmanager tags. Keys and values can be either in numeric format,\nsuch as `tagKeys/{tag_key_id}` and `tagValues/456` or in namespaced\nformat such as `{org_id|project_id}/{tag_key_short_name}` and\n`{tag_value_short_name}`. The field is ignored (both PUT &\nPATCH) when empty.", +"type": "object" +} +}, +"type": "object" +}, +"InitialStateConfig": { +"description": "Initial State for shielded instance,\nthese are public keys which are safe to store in public", +"id": "InitialStateConfig", +"properties": { +"dbs": { +"description": "The Key Database (db).", +"items": { +"$ref": "FileContentBuffer" +}, +"type": "array" +}, +"dbxs": { +"description": "The forbidden key database (dbx).", +"items": { +"$ref": "FileContentBuffer" +}, +"type": "array" +}, +"keks": { +"description": "The Key Exchange Key (KEK).", +"items": { +"$ref": "FileContentBuffer" +}, +"type": "array" +}, +"pk": { +"$ref": "FileContentBuffer", +"description": "The Platform Key (PK)." +} +}, +"type": "object" +}, +"Instance": { +"description": "Represents an Instance resource.\n\nAn instance is a virtual machine that is hosted on Google Cloud Platform.\nFor more information, readVirtual Machine Instances.", +"id": "Instance", +"properties": { +"advancedMachineFeatures": { +"$ref": "AdvancedMachineFeatures", +"description": "Controls for advanced machine-related behavior features." +}, +"canIpForward": { +"description": "Allows this instance to send and receive packets with non-matching\ndestination or source IPs. This is required if you plan to use this\ninstance to forward routes. For more information, seeEnabling IP Forwarding.", +"type": "boolean" +}, +"confidentialInstanceConfig": { +"$ref": "ConfidentialInstanceConfig" +}, +"cpuPlatform": { +"description": "Output only. [Output Only] The CPU platform used by this instance.", +"readOnly": true, +"type": "string" +}, +"creationTimestamp": { +"description": "Output only. [Output Only] Creation timestamp inRFC3339 text format.", +"readOnly": true, +"type": "string" +}, +"deletionProtection": { +"description": "Whether the resource should be protected against deletion.", +"type": "boolean" +}, +"description": { +"description": "An optional description of this resource. Provide this property when you\ncreate the resource.", +"type": "string" +}, +"disks": { +"description": "Array of disks associated with this instance. Persistent disks must be\ncreated before you can assign them.", +"items": { +"$ref": "AttachedDisk" +}, +"type": "array" +}, +"displayDevice": { +"$ref": "DisplayDevice", +"description": "Enables display device for the instance." +}, +"eraseWindowsVssSignature": { +"description": "Specifies whether the disks restored from source snapshots or source\nmachine image should erase Windows specific VSS signature.", +"type": "boolean" +}, +"fingerprint": { +"description": "Specifies a fingerprint for this resource, which is essentially a hash of\nthe instance's contents and used for optimistic locking. The\nfingerprint is initially generated by Compute Engine and changes after\nevery request to modify or update the instance. You must always provide an\nup-to-date fingerprint hash in order to update the instance.\n\nTo see the latest fingerprint, make get() request to the\ninstance.", +"format": "byte", +"type": "string" +}, +"guestAccelerators": { +"description": "A list of the type and count of accelerator cards attached to the instance.", +"items": { +"$ref": "AcceleratorConfig" +}, +"type": "array" +}, +"hostname": { +"description": "Specifies the hostname of the instance. The specified hostname must be\nRFC1035 compliant. If hostname is not specified, the default hostname is\n[INSTANCE_NAME].c.[PROJECT_ID].internal when using the global DNS, and\n[INSTANCE_NAME].[ZONE].c.[PROJECT_ID].internal when using zonal DNS.", +"type": "string" +}, +"id": { +"description": "Output only. [Output Only] The unique identifier for the resource. This identifier is\ndefined by the server.", +"format": "uint64", +"readOnly": true, +"type": "string" +}, +"instanceEncryptionKey": { +"$ref": "CustomerEncryptionKey", +"description": "Encrypts suspended data for an instance with acustomer-managed\nencryption key.\n\nIf you are creating a new instance, this field will encrypt the local SSD\nand in-memory contents of the instance during the suspend operation.\n\nIf you do not provide an encryption key when creating the instance, then\nthe local SSD and in-memory contents will be encrypted using\nan automatically generated key during the suspend operation." +}, +"keyRevocationActionType": { +"description": "KeyRevocationActionType of the instance. Supported options are \"STOP\" and\n\"NONE\". The default value is \"NONE\" if it is not specified.", +"enum": [ +"KEY_REVOCATION_ACTION_TYPE_UNSPECIFIED", +"NONE", +"STOP" +], +"enumDescriptions": [ +"Default value. This value is unused.", +"Indicates user chose no operation.", +"Indicates user chose to opt for VM shutdown on key revocation." +], +"type": "string" +}, +"kind": { +"default": "compute#instance", +"description": "Output only. [Output Only] Type of the resource. Always compute#instance\nfor instances.", +"readOnly": true, +"type": "string" +}, +"labelFingerprint": { +"description": "A fingerprint for this request, which is essentially a hash of\nthe label's contents and used for optimistic locking. The\nfingerprint is initially generated by Compute Engine and changes after\nevery request to modify or update labels. You must always provide an\nup-to-date fingerprint hash in order to update or change labels.\n\nTo see the latest fingerprint, make get() request to the\ninstance.", +"format": "byte", +"type": "string" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Labels to apply to this instance. These can be later modified by\nthe setLabels method.", +"type": "object" +}, +"lastStartTimestamp": { +"description": "Output only. [Output Only] Last start timestamp inRFC3339 text format.", +"readOnly": true, +"type": "string" +}, +"lastStopTimestamp": { +"description": "Output only. [Output Only] Last stop timestamp inRFC3339 text format.", +"readOnly": true, +"type": "string" +}, +"lastSuspendedTimestamp": { +"description": "Output only. [Output Only] Last suspended timestamp inRFC3339 text format.", +"readOnly": true, +"type": "string" +}, +"machineType": { +"description": "Full or partial URL of the machine type resource to use for this instance,\nin the format:zones/zone/machineTypes/machine-type. This is provided by the client\nwhen the instance is created. For example, the following is a valid partial\nurl to a predefined\nmachine type:\n\nzones/us-central1-f/machineTypes/n1-standard-1\n\n\nTo create acustom\nmachine type, provide a URL to a machine type in the following format,\nwhere CPUS is 1 or an even number up to 32 (2,\n4, 6, ... 24, etc), and MEMORY is the total\nmemory for this instance. Memory must be a multiple of 256 MB and must\nbe supplied in MB (e.g. 5 GB of memory is 5120 MB):\n\nzones/zone/machineTypes/custom-CPUS-MEMORY\n\n\nFor example: zones/us-central1-f/machineTypes/custom-4-5120\nFor a full list of restrictions, read theSpecifications\nfor custom machine types.", +"type": "string" +}, +"metadata": { +"$ref": "Metadata", +"description": "The metadata key/value pairs assigned\nto this instance. This includes metadata keys that were explicitly defined\nfor the instance." +}, +"minCpuPlatform": { +"description": "Specifies aminimum CPU\nplatform for the VM instance. Applicable values are the friendly names\nof CPU platforms, such as minCpuPlatform: \"Intel\nHaswell\" or minCpuPlatform: \"Intel Sandy\nBridge\".", +"type": "string" +}, +"name": { +"annotations": { +"required": [ +"compute.instances.insert" +] +}, +"description": "The name of the resource, provided by the client when initially creating\nthe resource. The resource name must be 1-63 characters long, and comply\nwithRFC1035.\nSpecifically, the name must be 1-63 characters long and match the regular\nexpression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first\ncharacter must be a lowercase letter, and all following characters must be\na dash, lowercase letter, or digit, except the last character, which cannot\nbe a dash.", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"type": "string" +}, +"networkInterfaces": { +"description": "An array of network configurations for this instance. These specify how\ninterfaces are configured to interact with other network services, such as\nconnecting to the internet. Multiple interfaces are supported\nper instance.", +"items": { +"$ref": "NetworkInterface" +}, +"type": "array" +}, +"networkPerformanceConfig": { +"$ref": "NetworkPerformanceConfig" +}, +"params": { +"$ref": "InstanceParams", +"description": "Input only. [Input Only] Additional params passed with the request, but not persisted\nas part of resource payload." +}, +"partnerMetadata": { +"additionalProperties": { +"$ref": "StructuredEntries" +}, +"description": "Partner Metadata assigned to the instance. A map from a subdomain\n(namespace) to entries map.", +"type": "object" +}, +"postKeyRevocationActionType": { +"description": "PostKeyRevocationActionType of the instance.", +"enum": [ +"NOOP", +"POST_KEY_REVOCATION_ACTION_TYPE_UNSPECIFIED", +"SHUTDOWN" +], +"enumDescriptions": [ +"Indicates user chose no operation.", +"Default value. This value is unused.", +"Indicates user chose to opt for VM shutdown on key revocation." +], +"type": "string" +}, +"privateIpv6GoogleAccess": { +"description": "The private IPv6 google access type for the VM.\nIf not specified, use INHERIT_FROM_SUBNETWORK as default.", +"enum": [ +"ENABLE_BIDIRECTIONAL_ACCESS_TO_GOOGLE", +"ENABLE_OUTBOUND_VM_ACCESS_TO_GOOGLE", +"INHERIT_FROM_SUBNETWORK" +], +"enumDescriptions": [ +"Bidirectional private IPv6 access to/from Google services. If\nspecified, the subnetwork who is attached to the instance's default network\ninterface will be assigned an internal IPv6 prefix if it doesn't have\nbefore.", +"Outbound private IPv6 access from VMs in this subnet to Google services. If\nspecified, the subnetwork who is attached to the instance's default network\ninterface will be assigned an internal IPv6 prefix if it doesn't have\nbefore.", +"Each network interface inherits PrivateIpv6GoogleAccess from its\nsubnetwork." +], +"type": "string" +}, +"reservationAffinity": { +"$ref": "ReservationAffinity", +"description": "Specifies the reservations that this instance can consume from." +}, +"resourcePolicies": { +"description": "Resource policies applied to this instance.", +"items": { +"type": "string" +}, +"type": "array" +}, +"resourceStatus": { +"$ref": "ResourceStatus", +"description": "Output only. [Output Only] Specifies values set for instance attributes as\ncompared to the values requested by user in the corresponding input only\nfield.", +"readOnly": true +}, +"satisfiesPzi": { +"description": "Output only. [Output Only] Reserved for future use.", +"readOnly": true, +"type": "boolean" +}, +"satisfiesPzs": { +"description": "Output only. [Output Only] Reserved for future use.", +"readOnly": true, +"type": "boolean" +}, +"scheduling": { +"$ref": "Scheduling", +"description": "Sets the scheduling options for this instance." +}, +"selfLink": { +"description": "Output only. [Output Only] Server-defined URL for this resource.", +"readOnly": true, +"type": "string" +}, +"serviceAccounts": { +"description": "A list of service accounts, with their specified scopes, authorized for\nthis instance. Only one service account per VM instance is supported.\n\nService accounts generate access tokens that can be accessed\nthrough the metadata server and used to authenticate applications on the\ninstance. SeeService Accounts\nfor more information.", +"items": { +"$ref": "ServiceAccount" +}, +"type": "array" +}, +"shieldedInstanceConfig": { +"$ref": "ShieldedInstanceConfig" +}, +"shieldedInstanceIntegrityPolicy": { +"$ref": "ShieldedInstanceIntegrityPolicy" +}, +"shieldedVmConfig": { +"$ref": "ShieldedVmConfig", +"description": "Output only. Deprecating, please use shielded_instance_config.", +"readOnly": true +}, +"shieldedVmIntegrityPolicy": { +"$ref": "ShieldedVmIntegrityPolicy", +"description": "Output only. Deprecating, please use shielded_instance_integrity_policy.", +"readOnly": true +}, +"sourceMachineImage": { +"description": "Source machine image", +"type": "string" +}, +"sourceMachineImageEncryptionKey": { +"$ref": "CustomerEncryptionKey", +"description": "Source machine image encryption key when creating an instance from a\nmachine image." +}, +"startRestricted": { +"description": "Output only. [Output Only] Whether a VM has been restricted for start because Compute\nEngine has detected suspicious activity.", +"readOnly": true, +"type": "boolean" +}, +"status": { +"description": "Output only. [Output Only] The status of the instance. One of the\nfollowing values: PROVISIONING, STAGING,RUNNING, STOPPING, SUSPENDING,SUSPENDED, REPAIRING, andTERMINATED. For more information about the status of the\ninstance, see \nInstance life cycle.", +"enum": [ +"DEPROVISIONING", +"PENDING", +"PENDING_STOP", +"PROVISIONING", +"REPAIRING", +"RUNNING", +"STAGING", +"STOPPED", +"STOPPING", +"SUSPENDED", +"SUSPENDING", +"TERMINATED" +], +"enumDescriptions": [ +"The instance is halted and we are performing tear down tasks like network\ndeprogramming, releasing quota, IP, tearing down disks etc.", +"For Flex Start provisioning instance is waiting for available capacity\nfrom Dynamic Workload Scheduler (DWS).", +"The instance is gracefully shutting down.", +"Resources are being allocated for the instance.", +"The instance is in repair.", +"The instance is running.", +"All required resources have been allocated and the instance\nis being started.", +"The instance has stopped successfully.", +"The instance is currently stopping (either being deleted or killed).", +"The instance has suspended.", +"The instance is suspending.", +"The instance has stopped (either by explicit action or underlying\nfailure)." +], +"readOnly": true, +"type": "string" +}, +"statusMessage": { +"description": "Output only. [Output Only] An optional, human-readable explanation of the status.", +"readOnly": true, +"type": "string" +}, +"tags": { +"$ref": "Tags", +"description": "Tags to apply to this instance. Tags are used to identify valid\nsources or targets for network firewalls and are specified by the client\nduring instance creation. The tags can be later modified by the setTags\nmethod. Each tag within the list must comply withRFC1035.\nMultiple tags can be specified via the 'tags.items' field." +}, +"workloadIdentityConfig": { +"$ref": "WorkloadIdentityConfig" +}, +"zone": { +"description": "Output only. [Output Only] URL of the zone where the instance resides.\nYou must specify this field as part of the HTTP request URL. It is\nnot settable as a field in the request body.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"InstanceAggregatedList": { +"id": "InstanceAggregatedList", +"properties": { +"id": { +"description": "[Output Only] Unique identifier for the resource; defined by the server.", +"type": "string" +}, +"items": { +"additionalProperties": { +"$ref": "InstancesScopedList", +"description": "[Output Only] Name of the scope containing this set of instances." +}, +"description": "An object that contains a list of instances scoped by zone.", +"type": "object" +}, +"kind": { +"default": "compute#instanceAggregatedList", +"description": "Output only. [Output Only] Type of resource. Alwayscompute#instanceAggregatedList for aggregated lists of\nInstance resources.", +"readOnly": true, +"type": "string" +}, +"nextPageToken": { +"description": "[Output Only] This token allows you to get the next page of results for\nlist requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for\nthe query parameter pageToken in the next list request.\nSubsequent list requests will have their own nextPageToken to\ncontinue paging through the results.", +"type": "string" +}, +"selfLink": { +"description": "Output only. [Output Only] Server-defined URL for this resource.", +"readOnly": true, +"type": "string" +}, +"unreachables": { +"description": "Output only. [Output Only] Unreachable resources.", +"items": { +"type": "string" +}, +"readOnly": true, +"type": "array" +}, +"warning": { +"description": "[Output Only] Informational warning message.", +"properties": { +"code": { +"description": "[Output Only] A warning code, if applicable. For example, Compute\nEngine returns NO_RESULTS_ON_PAGE if there\nare no results in the response.", +"enum": [ +"CLEANUP_FAILED", +"DEPRECATED_RESOURCE_USED", +"DEPRECATED_TYPE_USED", +"DISK_SIZE_LARGER_THAN_IMAGE_SIZE", +"EXPERIMENTAL_TYPE_USED", +"EXTERNAL_API_WARNING", +"FIELD_VALUE_OVERRIDEN", +"INJECTED_KERNELS_DEPRECATED", +"INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", +"LARGE_DEPLOYMENT_WARNING", +"LIST_OVERHEAD_QUOTA_EXCEED", +"MISSING_TYPE_DEPENDENCY", +"NEXT_HOP_ADDRESS_NOT_ASSIGNED", +"NEXT_HOP_CANNOT_IP_FORWARD", +"NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", +"NEXT_HOP_INSTANCE_NOT_FOUND", +"NEXT_HOP_INSTANCE_NOT_ON_NETWORK", +"NEXT_HOP_NOT_RUNNING", +"NOT_CRITICAL_ERROR", +"NO_RESULTS_ON_PAGE", +"PARTIAL_SUCCESS", +"QUOTA_INFO_UNAVAILABLE", +"REQUIRED_TOS_AGREEMENT", +"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", +"RESOURCE_NOT_DELETED", +"SCHEMA_VALIDATION_IGNORED", +"SINGLE_INSTANCE_PROPERTY_TEMPLATE", +"UNDECLARED_PROPERTIES", +"UNREACHABLE" +], +"enumDeprecated": [ +false, +false, +false, +false, +false, +false, +true, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false +], +"enumDescriptions": [ +"Warning about failed cleanup of transient changes made by a failed\noperation.", +"A link to a deprecated resource was created.", +"When deploying and at least one of the resources has a type marked as\ndeprecated", +"The user created a boot disk that is larger than image size.", +"When deploying and at least one of the resources has a type marked as\nexperimental", +"Warning that is present in an external api call", +"Warning that value of a field has been overridden.\nDeprecated unused field.", +"The operation involved use of an injected kernel, which is deprecated.", +"A WEIGHTED_MAGLEV backend service is associated with a health check that is\nnot of type HTTP/HTTPS/HTTP2.", +"When deploying a deployment with a exceedingly large number of resources", +"Resource can't be retrieved due to list overhead quota exceed\nwhich captures the amount of resources filtered out by\nuser-defined list filter.", +"A resource depends on a missing type", +"The route's nextHopIp address is not assigned to an instance on the\nnetwork.", +"The route's next hop instance cannot ip forward.", +"The route's nextHopInstance URL refers to an instance that does not have an\nipv6 interface on the same network as the route.", +"The route's nextHopInstance URL refers to an instance that does not exist.", +"The route's nextHopInstance URL refers to an instance that is not on the\nsame network as the route.", +"The route's next hop instance does not have a status of RUNNING.", +"Error which is not critical. We decided to continue the process despite\nthe mentioned error.", +"No results are present on a particular list page.", +"Success is reported, but some results may be missing due to errors", +"Quota information is not available to client requests (e.g:\nregions.list).", +"The user attempted to use a resource that requires a TOS they have not\naccepted.", +"Warning that a resource is in use.", +"One or more of the resources set to auto-delete could not be deleted\nbecause they were in use.", +"When a resource schema validation is ignored.", +"Instance template used in instance group manager is valid as such, but\nits application does not make a lot of sense, because it allows only\nsingle instance in instance group.", +"When undeclared properties in the schema are present", +"A given scope cannot be reached." +], +"type": "string" +}, +"data": { +"description": "[Output Only] Metadata about this warning in key:\nvalue format. For example:\n\n\"data\": [\n {\n \"key\": \"scope\",\n \"value\": \"zones/us-east1-d\"\n }", +"items": { +"properties": { +"key": { +"description": "[Output Only] A key that provides more detail on the warning being\nreturned. For example, for warnings where there are no results in a list\nrequest for a particular zone, this key might be scope and\nthe key value might be the zone name. Other examples might be a key\nindicating a deprecated resource and a suggested replacement, or a\nwarning about invalid network settings (for example, if an instance\nattempts to perform IP forwarding but is not enabled for IP forwarding).", +"type": "string" +}, +"value": { +"description": "[Output Only] A warning data value corresponding to the key.", +"type": "string" +} +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "[Output Only] A human-readable description of the warning code.", +"type": "string" +} +}, +"type": "object" +} +}, +"type": "object" +}, +"InstanceConsumptionData": { +"id": "InstanceConsumptionData", +"properties": { +"consumptionInfo": { +"$ref": "InstanceConsumptionInfo", +"description": "Output only. Resources consumed by the instance.", +"readOnly": true +}, +"instance": { +"description": "Output only. Server-defined URL for the instance.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"InstanceConsumptionInfo": { +"id": "InstanceConsumptionInfo", +"properties": { +"guestCpus": { +"description": "Output only. The number of virtual CPUs that are available to the instance.", +"format": "int32", +"readOnly": true, +"type": "integer" +}, +"localSsdGb": { +"description": "Output only. The amount of local SSD storage available to the instance,\ndefined in GiB.", +"format": "int32", +"readOnly": true, +"type": "integer" +}, +"memoryMb": { +"description": "Output only. The amount of physical memory available to the instance,\ndefined in MiB.", +"format": "int32", +"readOnly": true, +"type": "integer" +}, +"minNodeCpus": { +"description": "Output only. The minimal guaranteed number of virtual CPUs that are reserved.", +"format": "int32", +"readOnly": true, +"type": "integer" +} +}, +"type": "object" +}, +"InstanceFlexibilityPolicy": { +"description": "A flexible specification of machine types for instances to create.", +"id": "InstanceFlexibilityPolicy", +"properties": { +"instanceSelections": { +"additionalProperties": { +"$ref": "InstanceFlexibilityPolicyInstanceSelection" +}, +"description": "Specification of alternative, flexible instance subsets.\nOne of them will be selected to create the instances\nbased on various criteria, like:\n- ranks,\n- location policy,\n- current capacity,\n- available reservations (you can specify affinity in\nInstanceProperties),\n- SWAN/GOOSE limitations.\nKey is an arbitrary, unique RFC1035 string that identifies the instance\nselection.", +"type": "object" +} +}, +"type": "object" +}, +"InstanceFlexibilityPolicyInstanceSelection": { +"description": "Specification of machine type to use. Every position inside this message\nis an alternative.\nThe count specified in the shape flexibility must not exceed the number\nof entries in per_instance_properties or the capacity of the\nname_pattern, if used.", +"id": "InstanceFlexibilityPolicyInstanceSelection", +"properties": { +"disks": { +"description": "Disks to be attached to the instances created from in this selection.\nThey override the disks specified in the instance properties.", +"items": { +"$ref": "AttachedDisk" +}, +"type": "array" +}, +"machineTypes": { +"description": "Alternative machine types to use for instances that are created from\nthese properties. This field only accepts a machine type names, for\nexample `n2-standard-4` and not URLs or partial URLs.", +"items": { +"type": "string" +}, +"type": "array" +}, +"rank": { +"description": "Rank when prioritizing the shape flexibilities.\nThe instance selections with rank are considered\nfirst, in the ascending order of the rank.\nIf not set, defaults to 0.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"InstanceGroup": { +"description": "Represents an Instance Group resource.\n\nInstance Groups can be used to configure a target forload\nbalancing.\n\nInstance groups can either be managed or unmanaged.\n\nTo create \nmanaged instance groups, use the instanceGroupManager orregionInstanceGroupManager resource instead.\n\nUse zonal unmanaged instance groups if you need to applyload\nbalancing to groups of heterogeneous instances or if you need to manage\nthe instances yourself. You cannot create regional unmanaged instance groups.\n\nFor more information, readInstance\ngroups.", +"id": "InstanceGroup", +"properties": { +"creationTimestamp": { +"description": "Output only. [Output Only] The creation timestamp for this instance group inRFC3339\ntext format.", +"readOnly": true, +"type": "string" +}, +"description": { +"description": "An optional description of this resource. Provide this property when you\ncreate the resource.", +"type": "string" +}, +"fingerprint": { +"description": "Output only. [Output Only] The fingerprint of the named ports. The system\nuses this fingerprint to detect conflicts when multiple users change the\nnamed ports concurrently.", +"format": "byte", +"readOnly": true, +"type": "string" +}, +"id": { +"description": "Output only. [Output Only] A unique identifier for this instance group, generated\nby the server.", +"format": "uint64", +"readOnly": true, +"type": "string" +}, +"kind": { +"default": "compute#instanceGroup", +"description": "Output only. [Output Only] The resource type, which is alwayscompute#instanceGroup for instance groups.", +"readOnly": true, +"type": "string" +}, +"name": { +"annotations": { +"required": [ +"compute.instanceGroups.insert" +] +}, +"description": "The name of the instance group. The name must be 1-63 characters\nlong, and comply withRFC1035.", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"type": "string" +}, +"namedPorts": { +"description": "Optional. Assigns a name to a port number. For example:{name: \"http\", port: 80}\n\nThis\nallows the system to reference ports by the assigned name instead of a\nport number. Named ports can also contain multiple ports. For example:[{name: \"app1\", port: 8080}, {name:\n\"app1\", port: 8081}, {name: \"app2\", port:\n8082}]\n\nNamed ports apply to all instances in this instance group.", +"items": { +"$ref": "NamedPort" +}, +"type": "array" +}, +"network": { +"description": "[Output Only] The URL of the network to which all instances in the\ninstance group belong. If your instance has multiple network interfaces,\nthen the network and subnetwork fields only refer to the\nnetwork and subnet used by your primary interface (nic0).", +"type": "string" +}, +"region": { +"description": "Output only. [Output Only] The URL of theregion\nwhere the instance group is located (for regional resources).", +"readOnly": true, +"type": "string" +}, +"selfLink": { +"description": "Output only. [Output Only] The URL for this instance group. The server generates\nthis URL.", +"readOnly": true, +"type": "string" +}, +"size": { +"description": "Output only. [Output Only] The total number of instances in the instance group.", +"format": "int32", +"readOnly": true, +"type": "integer" +}, +"subnetwork": { +"description": "Output only. [Output Only] The URL of the subnetwork to which all instances in the\ninstance group belong. If your instance has multiple network interfaces,\nthen the network and subnetwork fields only refer to the\nnetwork and subnet used by your primary interface (nic0).", +"readOnly": true, +"type": "string" +}, +"zone": { +"description": "Output only. [Output Only] The URL of thezone\nwhere the instance group is located (for zonal resources).", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"InstanceGroupAggregatedList": { +"id": "InstanceGroupAggregatedList", +"properties": { +"id": { +"description": "Output only. [Output Only] Unique identifier for the resource; defined by the server.", +"readOnly": true, +"type": "string" +}, +"items": { +"additionalProperties": { +"$ref": "InstanceGroupsScopedList", +"description": "The name of the scope that contains this set of instance groups." +}, +"description": "A list of InstanceGroupsScopedList resources.", +"type": "object" +}, +"kind": { +"default": "compute#instanceGroupAggregatedList", +"description": "Output only. [Output Only] The resource type, which is alwayscompute#instanceGroupAggregatedList for aggregated lists of\ninstance groups.", +"readOnly": true, +"type": "string" +}, +"nextPageToken": { +"description": "Output only. [Output Only] This token allows you to get the next page of results for\nlist requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for\nthe query parameter pageToken in the next list request.\nSubsequent list requests will have their own nextPageToken to\ncontinue paging through the results.", +"readOnly": true, +"type": "string" +}, +"selfLink": { +"description": "Output only. [Output Only] Server-defined URL for this resource.", +"readOnly": true, +"type": "string" +}, +"unreachables": { +"description": "Output only. [Output Only] Unreachable resources.", +"items": { +"type": "string" +}, +"readOnly": true, +"type": "array" +}, +"warning": { +"description": "Output only. [Output Only] Informational warning message.", +"properties": { +"code": { +"description": "[Output Only] A warning code, if applicable. For example, Compute\nEngine returns NO_RESULTS_ON_PAGE if there\nare no results in the response.", +"enum": [ +"CLEANUP_FAILED", +"DEPRECATED_RESOURCE_USED", +"DEPRECATED_TYPE_USED", +"DISK_SIZE_LARGER_THAN_IMAGE_SIZE", +"EXPERIMENTAL_TYPE_USED", +"EXTERNAL_API_WARNING", +"FIELD_VALUE_OVERRIDEN", +"INJECTED_KERNELS_DEPRECATED", +"INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", +"LARGE_DEPLOYMENT_WARNING", +"LIST_OVERHEAD_QUOTA_EXCEED", +"MISSING_TYPE_DEPENDENCY", +"NEXT_HOP_ADDRESS_NOT_ASSIGNED", +"NEXT_HOP_CANNOT_IP_FORWARD", +"NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", +"NEXT_HOP_INSTANCE_NOT_FOUND", +"NEXT_HOP_INSTANCE_NOT_ON_NETWORK", +"NEXT_HOP_NOT_RUNNING", +"NOT_CRITICAL_ERROR", +"NO_RESULTS_ON_PAGE", +"PARTIAL_SUCCESS", +"QUOTA_INFO_UNAVAILABLE", +"REQUIRED_TOS_AGREEMENT", +"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", +"RESOURCE_NOT_DELETED", +"SCHEMA_VALIDATION_IGNORED", +"SINGLE_INSTANCE_PROPERTY_TEMPLATE", +"UNDECLARED_PROPERTIES", +"UNREACHABLE" +], +"enumDeprecated": [ +false, +false, +false, +false, +false, +false, +true, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false +], +"enumDescriptions": [ +"Warning about failed cleanup of transient changes made by a failed\noperation.", +"A link to a deprecated resource was created.", +"When deploying and at least one of the resources has a type marked as\ndeprecated", +"The user created a boot disk that is larger than image size.", +"When deploying and at least one of the resources has a type marked as\nexperimental", +"Warning that is present in an external api call", +"Warning that value of a field has been overridden.\nDeprecated unused field.", +"The operation involved use of an injected kernel, which is deprecated.", +"A WEIGHTED_MAGLEV backend service is associated with a health check that is\nnot of type HTTP/HTTPS/HTTP2.", +"When deploying a deployment with a exceedingly large number of resources", +"Resource can't be retrieved due to list overhead quota exceed\nwhich captures the amount of resources filtered out by\nuser-defined list filter.", +"A resource depends on a missing type", +"The route's nextHopIp address is not assigned to an instance on the\nnetwork.", +"The route's next hop instance cannot ip forward.", +"The route's nextHopInstance URL refers to an instance that does not have an\nipv6 interface on the same network as the route.", +"The route's nextHopInstance URL refers to an instance that does not exist.", +"The route's nextHopInstance URL refers to an instance that is not on the\nsame network as the route.", +"The route's next hop instance does not have a status of RUNNING.", +"Error which is not critical. We decided to continue the process despite\nthe mentioned error.", +"No results are present on a particular list page.", +"Success is reported, but some results may be missing due to errors", +"Quota information is not available to client requests (e.g:\nregions.list).", +"The user attempted to use a resource that requires a TOS they have not\naccepted.", +"Warning that a resource is in use.", +"One or more of the resources set to auto-delete could not be deleted\nbecause they were in use.", +"When a resource schema validation is ignored.", +"Instance template used in instance group manager is valid as such, but\nits application does not make a lot of sense, because it allows only\nsingle instance in instance group.", +"When undeclared properties in the schema are present", +"A given scope cannot be reached." +], +"type": "string" +}, +"data": { +"description": "[Output Only] Metadata about this warning in key:\nvalue format. For example:\n\n\"data\": [\n {\n \"key\": \"scope\",\n \"value\": \"zones/us-east1-d\"\n }", +"items": { +"properties": { +"key": { +"description": "[Output Only] A key that provides more detail on the warning being\nreturned. For example, for warnings where there are no results in a list\nrequest for a particular zone, this key might be scope and\nthe key value might be the zone name. Other examples might be a key\nindicating a deprecated resource and a suggested replacement, or a\nwarning about invalid network settings (for example, if an instance\nattempts to perform IP forwarding but is not enabled for IP forwarding).", +"type": "string" +}, +"value": { +"description": "[Output Only] A warning data value corresponding to the key.", +"type": "string" +} +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "[Output Only] A human-readable description of the warning code.", +"type": "string" +} +}, +"readOnly": true, +"type": "object" +} +}, +"type": "object" +}, +"InstanceGroupList": { +"description": "A list of InstanceGroup resources.", +"id": "InstanceGroupList", +"properties": { +"id": { +"description": "Output only. [Output Only] Unique identifier for the resource; defined by the server.", +"readOnly": true, +"type": "string" +}, +"items": { +"description": "A list of InstanceGroup resources.", +"items": { +"$ref": "InstanceGroup" +}, +"type": "array" +}, +"kind": { +"default": "compute#instanceGroupList", +"description": "Output only. [Output Only] The resource type, which is alwayscompute#instanceGroupList for instance group lists.", +"readOnly": true, +"type": "string" +}, +"nextPageToken": { +"description": "Output only. [Output Only] This token allows you to get the next page of results for\nlist requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for\nthe query parameter pageToken in the next list request.\nSubsequent list requests will have their own nextPageToken to\ncontinue paging through the results.", +"readOnly": true, +"type": "string" +}, +"selfLink": { +"description": "Output only. [Output Only] Server-defined URL for this resource.", +"readOnly": true, +"type": "string" +}, +"warning": { +"description": "Output only. [Output Only] Informational warning message.", +"properties": { +"code": { +"description": "[Output Only] A warning code, if applicable. For example, Compute\nEngine returns NO_RESULTS_ON_PAGE if there\nare no results in the response.", +"enum": [ +"CLEANUP_FAILED", +"DEPRECATED_RESOURCE_USED", +"DEPRECATED_TYPE_USED", +"DISK_SIZE_LARGER_THAN_IMAGE_SIZE", +"EXPERIMENTAL_TYPE_USED", +"EXTERNAL_API_WARNING", +"FIELD_VALUE_OVERRIDEN", +"INJECTED_KERNELS_DEPRECATED", +"INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", +"LARGE_DEPLOYMENT_WARNING", +"LIST_OVERHEAD_QUOTA_EXCEED", +"MISSING_TYPE_DEPENDENCY", +"NEXT_HOP_ADDRESS_NOT_ASSIGNED", +"NEXT_HOP_CANNOT_IP_FORWARD", +"NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", +"NEXT_HOP_INSTANCE_NOT_FOUND", +"NEXT_HOP_INSTANCE_NOT_ON_NETWORK", +"NEXT_HOP_NOT_RUNNING", +"NOT_CRITICAL_ERROR", +"NO_RESULTS_ON_PAGE", +"PARTIAL_SUCCESS", +"QUOTA_INFO_UNAVAILABLE", +"REQUIRED_TOS_AGREEMENT", +"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", +"RESOURCE_NOT_DELETED", +"SCHEMA_VALIDATION_IGNORED", +"SINGLE_INSTANCE_PROPERTY_TEMPLATE", +"UNDECLARED_PROPERTIES", +"UNREACHABLE" +], +"enumDeprecated": [ +false, +false, +false, +false, +false, +false, +true, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false +], +"enumDescriptions": [ +"Warning about failed cleanup of transient changes made by a failed\noperation.", +"A link to a deprecated resource was created.", +"When deploying and at least one of the resources has a type marked as\ndeprecated", +"The user created a boot disk that is larger than image size.", +"When deploying and at least one of the resources has a type marked as\nexperimental", +"Warning that is present in an external api call", +"Warning that value of a field has been overridden.\nDeprecated unused field.", +"The operation involved use of an injected kernel, which is deprecated.", +"A WEIGHTED_MAGLEV backend service is associated with a health check that is\nnot of type HTTP/HTTPS/HTTP2.", +"When deploying a deployment with a exceedingly large number of resources", +"Resource can't be retrieved due to list overhead quota exceed\nwhich captures the amount of resources filtered out by\nuser-defined list filter.", +"A resource depends on a missing type", +"The route's nextHopIp address is not assigned to an instance on the\nnetwork.", +"The route's next hop instance cannot ip forward.", +"The route's nextHopInstance URL refers to an instance that does not have an\nipv6 interface on the same network as the route.", +"The route's nextHopInstance URL refers to an instance that does not exist.", +"The route's nextHopInstance URL refers to an instance that is not on the\nsame network as the route.", +"The route's next hop instance does not have a status of RUNNING.", +"Error which is not critical. We decided to continue the process despite\nthe mentioned error.", +"No results are present on a particular list page.", +"Success is reported, but some results may be missing due to errors", +"Quota information is not available to client requests (e.g:\nregions.list).", +"The user attempted to use a resource that requires a TOS they have not\naccepted.", +"Warning that a resource is in use.", +"One or more of the resources set to auto-delete could not be deleted\nbecause they were in use.", +"When a resource schema validation is ignored.", +"Instance template used in instance group manager is valid as such, but\nits application does not make a lot of sense, because it allows only\nsingle instance in instance group.", +"When undeclared properties in the schema are present", +"A given scope cannot be reached." +], +"type": "string" +}, +"data": { +"description": "[Output Only] Metadata about this warning in key:\nvalue format. For example:\n\n\"data\": [\n {\n \"key\": \"scope\",\n \"value\": \"zones/us-east1-d\"\n }", +"items": { +"properties": { +"key": { +"description": "[Output Only] A key that provides more detail on the warning being\nreturned. For example, for warnings where there are no results in a list\nrequest for a particular zone, this key might be scope and\nthe key value might be the zone name. Other examples might be a key\nindicating a deprecated resource and a suggested replacement, or a\nwarning about invalid network settings (for example, if an instance\nattempts to perform IP forwarding but is not enabled for IP forwarding).", +"type": "string" +}, +"value": { +"description": "[Output Only] A warning data value corresponding to the key.", +"type": "string" +} +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "[Output Only] A human-readable description of the warning code.", +"type": "string" +} +}, +"readOnly": true, +"type": "object" +} +}, +"type": "object" +}, +"InstanceGroupManager": { +"description": "Represents a Managed Instance Group resource.\n\nAn instance group is a collection of VM instances that you can manage as a\nsingle entity. For more information, readInstance groups.\n\nFor zonal Managed Instance Group, use the instanceGroupManagers\nresource.\n\nFor regional Managed Instance Group, use theregionInstanceGroupManagers resource.", +"id": "InstanceGroupManager", +"properties": { +"allInstancesConfig": { +"$ref": "InstanceGroupManagerAllInstancesConfig", +"description": "Specifies configuration that overrides the instance template configuration\nfor the group." +}, +"autoHealingPolicies": { +"description": "The autohealing policy for this managed instance group. You can specify\nonly one value.", +"items": { +"$ref": "InstanceGroupManagerAutoHealingPolicy" +}, +"type": "array" +}, +"baseInstanceName": { +"description": "The base instance name is a prefix that you want to attach to the names of\nall VMs in a MIG. The maximum character length is 58 and the name must\ncomply with RFC1035 format.\n\nWhen a VM is created in the group, the MIG appends a hyphen and a random\nfour-character string to the base instance name. If you want the MIG to\nassign sequential numbers instead of a random string, then end the base\ninstance name with a hyphen followed by one or more hash symbols. The hash\nsymbols indicate the number of digits. For example, a base instance name of\n\"vm-###\" results in \"vm-001\" as a VM name.\n@pattern\n[a-z](([-a-z0-9]{0,57})|([-a-z0-9]{0,51}-#{1,10}(\\\\[[0-9]{1,10}\\\\])?))", +"type": "string" +}, +"creationTimestamp": { +"description": "Output only. [Output Only] The creation timestamp for this managed instance group inRFC3339\ntext format.", +"readOnly": true, +"type": "string" +}, +"currentActions": { +"$ref": "InstanceGroupManagerActionsSummary", +"description": "Output only. [Output Only] The list of instance actions and the number of instances\nin this managed instance group that are scheduled for each of those\nactions.", +"readOnly": true +}, +"description": { +"description": "An optional description of this resource.", +"type": "string" +}, +"distributionPolicy": { +"$ref": "DistributionPolicy", +"description": "Policy specifying the intended distribution of managed instances across\nzones in a regional managed instance group." +}, +"failoverAction": { +"description": "The action to perform in case of zone failure. Only one value is supported,NO_FAILOVER. The default is NO_FAILOVER.", +"enum": [ +"NO_FAILOVER", +"UNKNOWN" +], +"enumDescriptions": [ +"", +"" +], +"type": "string" +}, +"fingerprint": { +"description": "Fingerprint of this resource. This field may be used in optimistic locking.\nIt will be ignored when inserting an InstanceGroupManager. An up-to-date\nfingerprint must be provided in order to update the InstanceGroupManager,\notherwise the request will fail with error412 conditionNotMet.\n\nTo see the latest fingerprint, make a get() request to\nretrieve an InstanceGroupManager.", +"format": "byte", +"type": "string" +}, +"id": { +"description": "Output only. [Output Only] A unique identifier for this resource type. The server\ngenerates this identifier.", +"format": "uint64", +"readOnly": true, +"type": "string" +}, +"instanceFlexibilityPolicy": { +"$ref": "InstanceGroupManagerInstanceFlexibilityPolicy", +"description": "Instance flexibility allowing MIG to create VMs from multiple\ntypes of machines.\nInstance flexibility configuration on MIG overrides instance\ntemplate configuration." +}, +"instanceGroup": { +"description": "Output only. [Output Only] The URL of the Instance Group resource.", +"readOnly": true, +"type": "string" +}, +"instanceLifecyclePolicy": { +"$ref": "InstanceGroupManagerInstanceLifecyclePolicy", +"description": "The repair policy for this managed instance group." +}, +"instanceTemplate": { +"description": "The URL of the instance template that is specified for this managed\ninstance group. The group uses this template to create all new instances\nin the managed instance group. The templates for existing instances in the\ngroup do not change unless you run recreateInstances, runapplyUpdatesToInstances, or set the group'supdatePolicy.type to PROACTIVE.", +"type": "string" +}, +"kind": { +"default": "compute#instanceGroupManager", +"description": "Output only. [Output Only] The resource type, which is alwayscompute#instanceGroupManager for managed instance groups.", +"readOnly": true, +"type": "string" +}, +"listManagedInstancesResults": { +"description": "Pagination behavior of the listManagedInstances API method for\nthis managed instance group.", +"enum": [ +"PAGELESS", +"PAGINATED" +], +"enumDescriptions": [ +"(Default) Pagination is disabled for the group'slistManagedInstances API method. maxResults\nand pageToken query parameters are ignored and all\ninstances are returned in a single response.", +"Pagination is enabled for the group's listManagedInstances\nAPI method. maxResults and pageToken query\nparameters are respected." +], +"type": "string" +}, +"multiMig": { +"description": "URL to the multi-MIG that this Managed Instance Group belongs to.", +"type": "string" +}, +"name": { +"annotations": { +"required": [ +"compute.instanceGroupManagers.insert", +"compute.regionInstanceGroupManagers.insert" +] +}, +"description": "The name of the managed instance group. The name must be 1-63 characters\nlong, and comply withRFC1035.", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"type": "string" +}, +"namedPorts": { +"description": "[Output Only] Named ports configured on the Instance Groups complementary\nto this Instance Group Manager.", +"items": { +"$ref": "NamedPort" +}, +"type": "array" +}, +"params": { +"$ref": "InstanceGroupManagerParams", +"description": "Input only. Additional params passed with the request, but not persisted\nas part of resource payload." +}, +"region": { +"description": "Output only. [Output Only] The URL of theregion\nwhere the managed instance group resides (for regional resources).", +"readOnly": true, +"type": "string" +}, +"resourcePolicies": { +"$ref": "InstanceGroupManagerResourcePolicies", +"description": "Resource policies for this managed instance group." +}, +"satisfiesPzi": { +"description": "Output only. [Output Only] Reserved for future use.", +"readOnly": true, +"type": "boolean" +}, +"satisfiesPzs": { +"description": "Output only. [Output Only] Reserved for future use.", +"readOnly": true, +"type": "boolean" +}, +"selfLink": { +"description": "Output only. [Output Only] The URL for this managed instance group. The server defines\nthis URL.", +"readOnly": true, +"type": "string" +}, +"serviceAccount": { +"description": "The service account to be used as credentials for all operations performed\nby the managed instance group on instances. The service accounts needs all\npermissions required to create and delete instances.\nBy default, the service account\n{projectNumber}@cloudservices.gserviceaccount.com is used.", +"type": "string" +}, +"standbyPolicy": { +"$ref": "InstanceGroupManagerStandbyPolicy", +"description": "Standby policy for stopped and suspended instances." +}, +"statefulPolicy": { +"$ref": "StatefulPolicy", +"description": "Stateful configuration for this Instanced Group Manager" +}, +"status": { +"$ref": "InstanceGroupManagerStatus", +"description": "Output only. [Output Only] The status of this managed instance group.", +"readOnly": true +}, +"targetPools": { +"description": "The URLs for all TargetPool resources to which instances in theinstanceGroup field are added. The target pools automatically\napply to all of the instances in the managed instance group.", +"items": { +"type": "string" +}, +"type": "array" +}, +"targetSize": { +"annotations": { +"required": [ +"compute.instanceGroupManagers.insert", +"compute.regionInstanceGroupManagers.insert" +] +}, +"description": "The target number of running instances for this managed instance group.\nYou can reduce this number by using the instanceGroupManager\ndeleteInstances or abandonInstances methods. Resizing the group also\nchanges this number.", +"format": "int32", +"type": "integer" +}, +"targetSizePolicy": { +"$ref": "InstanceGroupManagerTargetSizePolicy", +"description": "The policy that specifies how the MIG creates its VMs to achieve the target\nsize." +}, +"targetStoppedSize": { +"description": "The target number of stopped instances for this managed instance group.\nThis number changes when you: \n \n - Stop instance using the stopInstances\n method or start instances using the startInstances\n method.\n - Manually change the targetStoppedSize using the update\n method.", +"format": "int32", +"type": "integer" +}, +"targetSuspendedSize": { +"description": "The target number of suspended instances for this managed instance group.\nThis number changes when you: \n \n - Suspend instance using the suspendInstances\n method or resume instances using the resumeInstances\n method.\n - Manually change the targetSuspendedSize using the update\n method.", +"format": "int32", +"type": "integer" +}, +"updatePolicy": { +"$ref": "InstanceGroupManagerUpdatePolicy", +"description": "The update policy for this managed instance group." +}, +"versions": { +"description": "Specifies the instance templates used by this managed instance group to\ncreate instances.\n\nEach version is defined by an instanceTemplate and aname. Every version can appear at most once per instance\ngroup. This field overrides the top-level instanceTemplate\nfield. Read more about therelationships\nbetween these fields. Exactly one version must leave thetargetSize field unset. That version will be applied to all\nremaining instances. For more information, read aboutcanary\nupdates.", +"items": { +"$ref": "InstanceGroupManagerVersion" +}, +"type": "array" +}, +"zone": { +"description": "Output only. [Output Only] The URL of azone\nwhere the managed instance group is located (for zonal resources).", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"InstanceGroupManagerActionsSummary": { +"id": "InstanceGroupManagerActionsSummary", +"properties": { +"abandoning": { +"description": "Output only. [Output Only] The total number of instances in the managed instance group\nthat are scheduled to be abandoned. Abandoning an instance removes it\nfrom the managed instance group without deleting it.", +"format": "int32", +"readOnly": true, +"type": "integer" +}, +"adopting": { +"description": "[Output Only] The number of instances in the managed instance group that\nare scheduled to be adopted or are currently being adopted.", +"format": "int32", +"type": "integer" +}, +"creating": { +"description": "Output only. [Output Only] The number of instances in the managed instance group that\nare scheduled to be created or are currently being created. If the group\nfails to create any of these instances, it tries again until it creates\nthe instance successfully.\n\nIf you have disabled creation retries, this field will not be populated;\ninstead, the creatingWithoutRetries field will be populated.", +"format": "int32", +"readOnly": true, +"type": "integer" +}, +"creatingWithoutRetries": { +"description": "Output only. [Output Only] The number of instances that the managed instance group\nwill attempt to create. The group attempts to create each instance\nonly once. If the group fails to create any of these instances, it\ndecreases the group's targetSize value accordingly.", +"format": "int32", +"readOnly": true, +"type": "integer" +}, +"deleting": { +"description": "Output only. [Output Only] The number of instances in the managed instance group that\nare scheduled to be deleted or are currently being deleted.", +"format": "int32", +"readOnly": true, +"type": "integer" +}, +"none": { +"description": "Output only. [Output Only] The number of instances in the managed instance group that\nare running and have no scheduled actions.", +"format": "int32", +"readOnly": true, +"type": "integer" +}, +"recreating": { +"description": "Output only. [Output Only] The number of instances in the managed instance group that\nare scheduled to be recreated or are currently being being recreated.\nRecreating an instance deletes the existing root persistent disk\nand creates a new disk from the image that is defined in the\ninstance template.", +"format": "int32", +"readOnly": true, +"type": "integer" +}, +"refreshing": { +"description": "Output only. [Output Only] The number of instances in the managed instance group that\nare being reconfigured with properties that do not require a restart\nor a recreate action. For example, setting or removing target\npools for the instance.", +"format": "int32", +"readOnly": true, +"type": "integer" +}, +"restarting": { +"description": "Output only. [Output Only] The number of instances in the managed instance group that\nare scheduled to be restarted or are currently being restarted.", +"format": "int32", +"readOnly": true, +"type": "integer" +}, +"resuming": { +"description": "Output only. [Output Only] The number of instances in the managed instance group that\nare scheduled to be resumed or are currently being resumed.", +"format": "int32", +"readOnly": true, +"type": "integer" +}, +"starting": { +"description": "Output only. [Output Only] The number of instances in the managed instance group that\nare scheduled to be started or are currently being started.", +"format": "int32", +"readOnly": true, +"type": "integer" +}, +"stopping": { +"description": "Output only. [Output Only] The number of instances in the managed instance group that\nare scheduled to be stopped or are currently being stopped.", +"format": "int32", +"readOnly": true, +"type": "integer" +}, +"suspending": { +"description": "Output only. [Output Only] The number of instances in the managed instance group that\nare scheduled to be suspended or are currently being suspended.", +"format": "int32", +"readOnly": true, +"type": "integer" +}, +"verifying": { +"description": "Output only. [Output Only] The number of instances in the managed instance group that\nare being verified. See the managedInstances[].currentAction\nproperty in the listManagedInstances method documentation.", +"format": "int32", +"readOnly": true, +"type": "integer" +} +}, +"type": "object" +}, +"InstanceGroupManagerAggregatedList": { +"id": "InstanceGroupManagerAggregatedList", +"properties": { +"id": { +"description": "Output only. [Output Only] Unique identifier for the resource; defined by the server.", +"readOnly": true, +"type": "string" +}, +"items": { +"additionalProperties": { +"$ref": "InstanceGroupManagersScopedList", +"description": "Output only. [Output Only] The name of the scope that contains this set of managed\ninstance groups." +}, +"description": "A list of InstanceGroupManagersScopedList resources.", +"type": "object" +}, +"kind": { +"default": "compute#instanceGroupManagerAggregatedList", +"description": "Output only. [Output Only] The resource type, which is alwayscompute#instanceGroupManagerAggregatedList for an aggregated\nlist of managed instance groups.", +"readOnly": true, +"type": "string" +}, +"nextPageToken": { +"description": "Output only. [Output Only] This token allows you to get the next page of results for\nlist requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for\nthe query parameter pageToken in the next list request.\nSubsequent list requests will have their own nextPageToken to\ncontinue paging through the results.", +"readOnly": true, +"type": "string" +}, +"selfLink": { +"description": "Output only. [Output Only] Server-defined URL for this resource.", +"readOnly": true, +"type": "string" +}, +"unreachables": { +"description": "Output only. [Output Only] Unreachable resources.", +"items": { +"type": "string" +}, +"readOnly": true, +"type": "array" +}, +"warning": { +"description": "Output only. [Output Only] Informational warning message.", +"properties": { +"code": { +"description": "[Output Only] A warning code, if applicable. For example, Compute\nEngine returns NO_RESULTS_ON_PAGE if there\nare no results in the response.", +"enum": [ +"CLEANUP_FAILED", +"DEPRECATED_RESOURCE_USED", +"DEPRECATED_TYPE_USED", +"DISK_SIZE_LARGER_THAN_IMAGE_SIZE", +"EXPERIMENTAL_TYPE_USED", +"EXTERNAL_API_WARNING", +"FIELD_VALUE_OVERRIDEN", +"INJECTED_KERNELS_DEPRECATED", +"INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", +"LARGE_DEPLOYMENT_WARNING", +"LIST_OVERHEAD_QUOTA_EXCEED", +"MISSING_TYPE_DEPENDENCY", +"NEXT_HOP_ADDRESS_NOT_ASSIGNED", +"NEXT_HOP_CANNOT_IP_FORWARD", +"NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", +"NEXT_HOP_INSTANCE_NOT_FOUND", +"NEXT_HOP_INSTANCE_NOT_ON_NETWORK", +"NEXT_HOP_NOT_RUNNING", +"NOT_CRITICAL_ERROR", +"NO_RESULTS_ON_PAGE", +"PARTIAL_SUCCESS", +"QUOTA_INFO_UNAVAILABLE", +"REQUIRED_TOS_AGREEMENT", +"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", +"RESOURCE_NOT_DELETED", +"SCHEMA_VALIDATION_IGNORED", +"SINGLE_INSTANCE_PROPERTY_TEMPLATE", +"UNDECLARED_PROPERTIES", +"UNREACHABLE" +], +"enumDeprecated": [ +false, +false, +false, +false, +false, +false, +true, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false +], +"enumDescriptions": [ +"Warning about failed cleanup of transient changes made by a failed\noperation.", +"A link to a deprecated resource was created.", +"When deploying and at least one of the resources has a type marked as\ndeprecated", +"The user created a boot disk that is larger than image size.", +"When deploying and at least one of the resources has a type marked as\nexperimental", +"Warning that is present in an external api call", +"Warning that value of a field has been overridden.\nDeprecated unused field.", +"The operation involved use of an injected kernel, which is deprecated.", +"A WEIGHTED_MAGLEV backend service is associated with a health check that is\nnot of type HTTP/HTTPS/HTTP2.", +"When deploying a deployment with a exceedingly large number of resources", +"Resource can't be retrieved due to list overhead quota exceed\nwhich captures the amount of resources filtered out by\nuser-defined list filter.", +"A resource depends on a missing type", +"The route's nextHopIp address is not assigned to an instance on the\nnetwork.", +"The route's next hop instance cannot ip forward.", +"The route's nextHopInstance URL refers to an instance that does not have an\nipv6 interface on the same network as the route.", +"The route's nextHopInstance URL refers to an instance that does not exist.", +"The route's nextHopInstance URL refers to an instance that is not on the\nsame network as the route.", +"The route's next hop instance does not have a status of RUNNING.", +"Error which is not critical. We decided to continue the process despite\nthe mentioned error.", +"No results are present on a particular list page.", +"Success is reported, but some results may be missing due to errors", +"Quota information is not available to client requests (e.g:\nregions.list).", +"The user attempted to use a resource that requires a TOS they have not\naccepted.", +"Warning that a resource is in use.", +"One or more of the resources set to auto-delete could not be deleted\nbecause they were in use.", +"When a resource schema validation is ignored.", +"Instance template used in instance group manager is valid as such, but\nits application does not make a lot of sense, because it allows only\nsingle instance in instance group.", +"When undeclared properties in the schema are present", +"A given scope cannot be reached." +], +"type": "string" +}, +"data": { +"description": "[Output Only] Metadata about this warning in key:\nvalue format. For example:\n\n\"data\": [\n {\n \"key\": \"scope\",\n \"value\": \"zones/us-east1-d\"\n }", +"items": { +"properties": { +"key": { +"description": "[Output Only] A key that provides more detail on the warning being\nreturned. For example, for warnings where there are no results in a list\nrequest for a particular zone, this key might be scope and\nthe key value might be the zone name. Other examples might be a key\nindicating a deprecated resource and a suggested replacement, or a\nwarning about invalid network settings (for example, if an instance\nattempts to perform IP forwarding but is not enabled for IP forwarding).", +"type": "string" +}, +"value": { +"description": "[Output Only] A warning data value corresponding to the key.", +"type": "string" +} +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "[Output Only] A human-readable description of the warning code.", +"type": "string" +} +}, +"readOnly": true, +"type": "object" +} +}, +"type": "object" +}, +"InstanceGroupManagerAllInstancesConfig": { +"id": "InstanceGroupManagerAllInstancesConfig", +"properties": { +"properties": { +"$ref": "InstancePropertiesPatch", +"description": "Properties to set on all instances in the group.\n\nYou can add or modify properties using theinstanceGroupManagers.patch orregionInstanceGroupManagers.patch. After settingallInstancesConfig on the group, you must update the group's\ninstances to apply the configuration. To apply the configuration, set the\ngroup's updatePolicy.type field to use proactive updates or\nuse the applyUpdatesToInstances method." +} +}, +"type": "object" +}, +"InstanceGroupManagerAutoHealingPolicy": { +"id": "InstanceGroupManagerAutoHealingPolicy", +"properties": { +"healthCheck": { +"description": "The URL for the health check that signals autohealing.", +"type": "string" +}, +"initialDelaySec": { +"description": "The initial delay is the number of seconds that a new VM takes to\ninitialize and run its startup script. During a VM's initial delay\nperiod, the MIG ignores unsuccessful health checks because the VM might\nbe in the startup process. This prevents the MIG from prematurely\nrecreating a VM. If the health check receives a healthy response during\nthe initial delay, it indicates that the startup process is complete and\nthe VM is ready. The value of initial delay must be between 0 and 3600\nseconds. The default value is 0.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"InstanceGroupManagerInstanceFlexibilityPolicy": { +"id": "InstanceGroupManagerInstanceFlexibilityPolicy", +"properties": { +"instanceSelections": { +"additionalProperties": { +"$ref": "InstanceGroupManagerInstanceFlexibilityPolicyInstanceSelection" +}, +"description": "Named instance selections configuring properties that the group will use\nwhen creating new VMs.", +"type": "object" +}, +"provisioningModelMix": { +"$ref": "InstanceGroupManagerInstanceFlexibilityPolicyProvisioningModelMix", +"description": "Provisioning model configuration used by this managed instance group to\ncreate instances." +} +}, +"type": "object" +}, +"InstanceGroupManagerInstanceFlexibilityPolicyInstanceSelection": { +"id": "InstanceGroupManagerInstanceFlexibilityPolicyInstanceSelection", +"properties": { +"disks": { +"description": "List of disks to be attached to the instances created from this\nselection.", +"items": { +"$ref": "AttachedDisk" +}, +"type": "array" +}, +"machineTypes": { +"description": "Full machine-type names, e.g. \"n1-standard-16\".", +"items": { +"type": "string" +}, +"type": "array" +}, +"minCpuPlatform": { +"description": "Name of the minimum CPU platform to be used by this instance selection.\ne.g. 'Intel Ice Lake'.", +"type": "string" +}, +"rank": { +"description": "Preference of this instance selection. Lower number means higher\npreference. MIG will first try to create a VM based on the machine-type\nwith lowest rank and fallback to next rank based on availability.\nMachine types and instance selections with the same rank have the same\npreference.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"InstanceGroupManagerInstanceFlexibilityPolicyProvisioningModelMix": { +"id": "InstanceGroupManagerInstanceFlexibilityPolicyProvisioningModelMix", +"properties": { +"standardCapacityBase": { +"description": "The base capacity that will always use Standard VMs to avoid risk of\nmore preemption than the minimum capacity user needs. MIG will create\nonly Standard VMs until it reaches standard_capacity_base and only\nthen will start using standard_capacity_percent_above_base to mix Spot\nwith Standard VMs.", +"format": "int32", +"type": "integer" +}, +"standardCapacityPercentAboveBase": { +"description": "The percentage of target capacity that should use Standard VM. The\nremaining percentage will use Spot VMs. The percentage applies only to\nthe capacity above standard_capacity_base.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"InstanceGroupManagerInstanceLifecyclePolicy": { +"id": "InstanceGroupManagerInstanceLifecyclePolicy", +"properties": { +"defaultActionOnFailure": { +"description": "The action that a MIG performs on a failed VM. If the value of the onFailedHealthCheck field\nis `DEFAULT_ACTION`, then the same action also applies to the VMs on which your application\nfails a health check. Valid values are - REPAIR (default): MIG automatically repairs a failed\nVM by recreating it. For more information, seeAbout repairing\nVMs in a MIG. - DO_NOTHING: MIG does not repair a failed VM.", +"enum": [ +"DELETE", +"DO_NOTHING", +"REPAIR" +], +"enumDescriptions": [ +"MIG deletes a failed or an unhealthy VM. Deleting the VM decreases\nthe target size of the MIG.", +"MIG does not repair a failed VM.", +"(default): MIG automatically repairs a failed VM by recreating it. For more information, seeAbout repairing\nVMs in a MIG." +], +"type": "string" +}, +"forceUpdateOnRepair": { +"description": "A bit indicating whether to forcefully apply the group's latest\nconfiguration when repairing a VM. Valid options are:\n\n \n \n - NO (default): If configuration updates are available, they are not\n forcefully applied during repair. Instead, configuration updates are\n applied according to the group's update policy.\n \n - YES: If configuration updates are available, they are applied\n during repair.", +"enum": [ +"NO", +"YES" +], +"enumDescriptions": [ +"", +"" +], +"type": "string" +}, +"onFailedHealthCheck": { +"description": "The action that a MIG performs on an unhealthy VM. A VM is marked as\nunhealthy when the application running on that VM fails a health check.\nValid values are:\n \n - DEFAULT_ACTION (default): MIG uses the same action\n configured for instanceLifecyclePolicy.defaultActionOnFailure field.\n - REPAIR: MIG automatically repairs an unhealthy VM by\n recreating it.\n - DO_NOTHING: MIG doesn't repair an unhealthy VM.\n For more information, see \n About repairing VMs in a MIG.", +"enum": [ +"DEFAULT_ACTION", +"DO_NOTHING", +"REPAIR" +], +"enumDescriptions": [ +"(Default) MIG uses the same action configured for\ninstanceLifecyclePolicy.defaultActionOnFailure field.", +"MIG doesn't repair an unhealthy VM.", +"MIG automatically repairs an unhealthy VM by recreating it." +], +"type": "string" +}, +"onRepair": { +"$ref": "InstanceGroupManagerInstanceLifecyclePolicyOnRepair", +"description": "Configuration for VM repairs in the MIG." +} +}, +"type": "object" +}, +"InstanceGroupManagerInstanceLifecyclePolicyOnRepair": { +"description": "Configuration for VM repairs in the MIG.", +"id": "InstanceGroupManagerInstanceLifecyclePolicyOnRepair", +"properties": { +"allowChangingZone": { +"description": "Specifies whether the MIG can change a VM's zone during a repair.\nValid values are:\n \n - NO (default): MIG cannot change a VM's zone during a\n repair.\n - YES: MIG can select a different zone for the VM during\n a repair.", +"enum": [ +"NO", +"YES" +], +"enumDescriptions": [ +"[Default] MIG cannot change a VM's zone during a repair.", +"MIG can select a different zone for the VM during a repair." +], +"type": "string" +} +}, +"type": "object" +}, +"InstanceGroupManagerList": { +"description": "[Output Only] A list of managed instance groups.", +"id": "InstanceGroupManagerList", +"properties": { +"id": { +"description": "Output only. [Output Only] Unique identifier for the resource; defined by the server.", +"readOnly": true, +"type": "string" +}, +"items": { +"description": "A list of InstanceGroupManager resources.", +"items": { +"$ref": "InstanceGroupManager" +}, +"type": "array" +}, +"kind": { +"default": "compute#instanceGroupManagerList", +"description": "Output only. [Output Only] The resource type, which is always\ncompute#instanceGroupManagerList for a list of managed instance groups.", +"readOnly": true, +"type": "string" +}, +"nextPageToken": { +"description": "Output only. [Output Only] This token allows you to get the next page of results for\nlist requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for\nthe query parameter pageToken in the next list request.\nSubsequent list requests will have their own nextPageToken to\ncontinue paging through the results.", +"readOnly": true, +"type": "string" +}, +"selfLink": { +"description": "Output only. [Output Only] Server-defined URL for this resource.", +"readOnly": true, +"type": "string" +}, +"warning": { +"description": "Output only. [Output Only] Informational warning message.", +"properties": { +"code": { +"description": "[Output Only] A warning code, if applicable. For example, Compute\nEngine returns NO_RESULTS_ON_PAGE if there\nare no results in the response.", +"enum": [ +"CLEANUP_FAILED", +"DEPRECATED_RESOURCE_USED", +"DEPRECATED_TYPE_USED", +"DISK_SIZE_LARGER_THAN_IMAGE_SIZE", +"EXPERIMENTAL_TYPE_USED", +"EXTERNAL_API_WARNING", +"FIELD_VALUE_OVERRIDEN", +"INJECTED_KERNELS_DEPRECATED", +"INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", +"LARGE_DEPLOYMENT_WARNING", +"LIST_OVERHEAD_QUOTA_EXCEED", +"MISSING_TYPE_DEPENDENCY", +"NEXT_HOP_ADDRESS_NOT_ASSIGNED", +"NEXT_HOP_CANNOT_IP_FORWARD", +"NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", +"NEXT_HOP_INSTANCE_NOT_FOUND", +"NEXT_HOP_INSTANCE_NOT_ON_NETWORK", +"NEXT_HOP_NOT_RUNNING", +"NOT_CRITICAL_ERROR", +"NO_RESULTS_ON_PAGE", +"PARTIAL_SUCCESS", +"QUOTA_INFO_UNAVAILABLE", +"REQUIRED_TOS_AGREEMENT", +"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", +"RESOURCE_NOT_DELETED", +"SCHEMA_VALIDATION_IGNORED", +"SINGLE_INSTANCE_PROPERTY_TEMPLATE", +"UNDECLARED_PROPERTIES", +"UNREACHABLE" +], +"enumDeprecated": [ +false, +false, +false, +false, +false, +false, +true, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false +], +"enumDescriptions": [ +"Warning about failed cleanup of transient changes made by a failed\noperation.", +"A link to a deprecated resource was created.", +"When deploying and at least one of the resources has a type marked as\ndeprecated", +"The user created a boot disk that is larger than image size.", +"When deploying and at least one of the resources has a type marked as\nexperimental", +"Warning that is present in an external api call", +"Warning that value of a field has been overridden.\nDeprecated unused field.", +"The operation involved use of an injected kernel, which is deprecated.", +"A WEIGHTED_MAGLEV backend service is associated with a health check that is\nnot of type HTTP/HTTPS/HTTP2.", +"When deploying a deployment with a exceedingly large number of resources", +"Resource can't be retrieved due to list overhead quota exceed\nwhich captures the amount of resources filtered out by\nuser-defined list filter.", +"A resource depends on a missing type", +"The route's nextHopIp address is not assigned to an instance on the\nnetwork.", +"The route's next hop instance cannot ip forward.", +"The route's nextHopInstance URL refers to an instance that does not have an\nipv6 interface on the same network as the route.", +"The route's nextHopInstance URL refers to an instance that does not exist.", +"The route's nextHopInstance URL refers to an instance that is not on the\nsame network as the route.", +"The route's next hop instance does not have a status of RUNNING.", +"Error which is not critical. We decided to continue the process despite\nthe mentioned error.", +"No results are present on a particular list page.", +"Success is reported, but some results may be missing due to errors", +"Quota information is not available to client requests (e.g:\nregions.list).", +"The user attempted to use a resource that requires a TOS they have not\naccepted.", +"Warning that a resource is in use.", +"One or more of the resources set to auto-delete could not be deleted\nbecause they were in use.", +"When a resource schema validation is ignored.", +"Instance template used in instance group manager is valid as such, but\nits application does not make a lot of sense, because it allows only\nsingle instance in instance group.", +"When undeclared properties in the schema are present", +"A given scope cannot be reached." +], +"type": "string" +}, +"data": { +"description": "[Output Only] Metadata about this warning in key:\nvalue format. For example:\n\n\"data\": [\n {\n \"key\": \"scope\",\n \"value\": \"zones/us-east1-d\"\n }", +"items": { +"properties": { +"key": { +"description": "[Output Only] A key that provides more detail on the warning being\nreturned. For example, for warnings where there are no results in a list\nrequest for a particular zone, this key might be scope and\nthe key value might be the zone name. Other examples might be a key\nindicating a deprecated resource and a suggested replacement, or a\nwarning about invalid network settings (for example, if an instance\nattempts to perform IP forwarding but is not enabled for IP forwarding).", +"type": "string" +}, +"value": { +"description": "[Output Only] A warning data value corresponding to the key.", +"type": "string" +} +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "[Output Only] A human-readable description of the warning code.", +"type": "string" +} +}, +"readOnly": true, +"type": "object" +} +}, +"type": "object" +}, +"InstanceGroupManagerParams": { +"description": "Input only additional params for instance group manager creation.", +"id": "InstanceGroupManagerParams", +"properties": { +"resourceManagerTags": { +"additionalProperties": { +"type": "string" +}, +"description": "Input only. Resource manager tags to bind to the managed instance group. The tags are\nkey-value pairs. Keys and values can be either in numeric format,\nsuch as `tagKeys/{tag_key_id}` and `tagValues/456` or in namespaced\nformat such as `{org_id|project_id}/{tag_key_short_name}` and\n`{tag_value_short_name}`. For more information, seeManage tags\nfor resources.", +"type": "object" +} +}, +"type": "object" +}, +"InstanceGroupManagerResizeRequest": { +"description": "InstanceGroupManagerResizeRequest represents a request to create\na number of VMs: either immediately or by queuing the request for the\nspecified time. This resize request is nested under InstanceGroupManager\nand the VMs created by this request are added to the owning\nInstanceGroupManager.", +"id": "InstanceGroupManagerResizeRequest", +"properties": { +"count": { +"deprecated": true, +"description": "This field is deprecated, please use resize_by instead.\nThe count of instances to create as part of this resize request.", +"format": "int32", +"type": "integer" +}, +"creationTimestamp": { +"description": "Output only. [Output Only] The creation timestamp for this resize request inRFC3339\ntext format.", +"readOnly": true, +"type": "string" +}, +"description": { +"description": "An optional description of this resource.", +"type": "string" +}, +"id": { +"description": "Output only. [Output Only] A unique identifier for this resource type. The server\ngenerates this identifier.", +"format": "uint64", +"readOnly": true, +"type": "string" +}, +"instances": { +"description": "The names of instances to be created by this resize request. The number of\nnames specified determines the number of instances to create. The group's\ntarget size will be increased by this number. This field cannot be used\ntogether with 'resize_by'.", +"items": { +"$ref": "PerInstanceConfig" +}, +"type": "array" +}, +"kind": { +"default": "compute#instanceGroupManagerResizeRequest", +"description": "Output only. [Output Only] The resource type, which is alwayscompute#instanceGroupManagerResizeRequest for\nresize requests.", +"readOnly": true, +"type": "string" +}, +"name": { +"annotations": { +"required": [ +"compute.instanceGroupManagerResizeRequests.insert" +] +}, +"description": "The name of this resize request. The name must be 1-63 characters\nlong, and comply withRFC1035.", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"type": "string" +}, +"region": { +"description": "Output only. [Output Only] The URL of aregion\nwhere the resize request is located. Populated only for regional resize\nrequests.", +"readOnly": true, +"type": "string" +}, +"requestedRunDuration": { +"$ref": "Duration", +"description": "Requested run duration for instances that will be created by this request.\nAt the end of the run duration instance will be deleted." +}, +"resizeBy": { +"description": "The number of instances to be created by this resize request. The group's\ntarget size will be increased by this number. This field cannot be used\ntogether with 'instances'.", +"format": "int32", +"type": "integer" +}, +"selfLink": { +"description": "Output only. [Output Only] The URL for this resize request. The server defines\nthis URL.", +"readOnly": true, +"type": "string" +}, +"selfLinkWithId": { +"description": "Output only. [Output Only] Server-defined URL for this resource with the resource id.", +"readOnly": true, +"type": "string" +}, +"state": { +"description": "Output only. [Output only] Current state of the request.", +"enum": [ +"ACCEPTED", +"CANCELLED", +"CREATING", +"FAILED", +"PROVISIONING", +"STATE_UNSPECIFIED", +"SUCCEEDED" +], +"enumDeprecated": [ +false, +false, +false, +false, +true, +false, +false +], +"enumDescriptions": [ +"The request was created successfully and was accepted for provisioning\nwhen the capacity becomes available.", +"The request is cancelled.", +"Resize request is being created and may still fail creation.", +"The request failed before or during provisioning. If the request fails\nduring provisioning, any VMs that were created during provisioning are\nrolled back and removed from the MIG.", +"The value is deprecated. ResizeRequests would stay in the ACCEPTED state\nduring provisioning attempts.\nThe target resource(s) are being provisioned.", +"Default value. This value should never be returned.", +"The request succeeded." +], +"readOnly": true, +"type": "string" +}, +"status": { +"$ref": "InstanceGroupManagerResizeRequestStatus", +"description": "Output only. [Output only] Status of the request.", +"readOnly": true +}, +"zone": { +"description": "Output only. [Output Only] The URL of azone\nwhere the resize request is located. Populated only for zonal resize\nrequests.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"InstanceGroupManagerResizeRequestStatus": { +"id": "InstanceGroupManagerResizeRequestStatus", +"properties": { +"error": { +"description": "Output only. [Output only] Fatal errors encountered during the queueing or\nprovisioning phases of the ResizeRequest that caused the transition to\nthe FAILED state. Contrary to the last_attempt errors, this field is\nfinal and errors are never removed from here, as the ResizeRequest is not\ngoing to retry.", +"properties": { +"errors": { +"description": "[Output Only] The array of errors encountered while processing this\noperation.", +"items": { +"properties": { +"code": { +"description": "[Output Only] The error type identifier for this error.", +"type": "string" +}, +"errorDetails": { +"description": "[Output Only] An optional list of messages that contain the error\ndetails. There is a set of defined message types to use for providing\ndetails.The syntax depends on the error code. For example,\nQuotaExceededInfo will have details when the error code is\nQUOTA_EXCEEDED.", +"items": { +"properties": { +"errorInfo": { +"$ref": "ErrorInfo" +}, +"help": { +"$ref": "Help" +}, +"localizedMessage": { +"$ref": "LocalizedMessage" +}, +"quotaInfo": { +"$ref": "QuotaExceededInfo" +} +}, +"type": "object" +}, +"type": "array" +}, +"location": { +"description": "[Output Only] Indicates the field in the request that caused the error.\nThis property is optional.", +"type": "string" +}, +"message": { +"description": "[Output Only] An optional, human-readable error message.", +"type": "string" +} +}, +"type": "object" +}, +"type": "array" +} +}, +"readOnly": true, +"type": "object" +}, +"lastAttempt": { +"$ref": "InstanceGroupManagerResizeRequestStatusLastAttempt", +"description": "Output only. [Output only] Information about the last attempt to fulfill the request.\nThe value is temporary since the ResizeRequest can retry, as long as it's\nstill active and the last attempt value can either be cleared or replaced\nwith a different error. Since ResizeRequest retries infrequently, the\nvalue may be stale and no longer show an active problem. The value is\ncleared when ResizeRequest transitions to the final state (becomes\ninactive). If the final state is FAILED the error describing it will be\nstorred in the \"error\" field only.", +"readOnly": true +} +}, +"type": "object" +}, +"InstanceGroupManagerResizeRequestStatusLastAttempt": { +"id": "InstanceGroupManagerResizeRequestStatusLastAttempt", +"properties": { +"error": { +"description": "Output only. Errors that prevented the ResizeRequest to be fulfilled.", +"properties": { +"errors": { +"description": "[Output Only] The array of errors encountered while processing this\noperation.", +"items": { +"properties": { +"code": { +"description": "[Output Only] The error type identifier for this error.", +"type": "string" +}, +"errorDetails": { +"description": "[Output Only] An optional list of messages that contain the error\ndetails. There is a set of defined message types to use for providing\ndetails.The syntax depends on the error code. For example,\nQuotaExceededInfo will have details when the error code is\nQUOTA_EXCEEDED.", +"items": { +"properties": { +"errorInfo": { +"$ref": "ErrorInfo" +}, +"help": { +"$ref": "Help" +}, +"localizedMessage": { +"$ref": "LocalizedMessage" +}, +"quotaInfo": { +"$ref": "QuotaExceededInfo" +} +}, +"type": "object" +}, +"type": "array" +}, +"location": { +"description": "[Output Only] Indicates the field in the request that caused the error.\nThis property is optional.", +"type": "string" +}, +"message": { +"description": "[Output Only] An optional, human-readable error message.", +"type": "string" +} +}, +"type": "object" +}, +"type": "array" +} +}, +"readOnly": true, +"type": "object" +} +}, +"type": "object" +}, +"InstanceGroupManagerResizeRequestsListResponse": { +"description": "[Output Only] A list of resize requests.", +"id": "InstanceGroupManagerResizeRequestsListResponse", +"properties": { +"id": { +"description": "Output only. [Output Only] Unique identifier for the resource; defined by the server.", +"readOnly": true, +"type": "string" +}, +"items": { +"description": "A list of resize request resources.", +"items": { +"$ref": "InstanceGroupManagerResizeRequest" +}, +"type": "array" +}, +"kind": { +"default": "compute#instanceGroupManagerResizeRequestList", +"description": "Output only. [Output Only] Type of the resource. Alwayscompute#instanceGroupManagerResizeRequestList for\na list of resize requests.", +"readOnly": true, +"type": "string" +}, +"nextPageToken": { +"description": "Output only. [Output Only] This token allows you to get the next page of results for\nlist requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for\nthe query parameter pageToken in the next list request.\nSubsequent list requests will have their own nextPageToken to\ncontinue paging through the results.", +"readOnly": true, +"type": "string" +}, +"selfLink": { +"description": "Output only. [Output Only] Server-defined URL for this resource.", +"readOnly": true, +"type": "string" +}, +"warning": { +"description": "Output only. [Output Only] Informational warning message.", +"properties": { +"code": { +"description": "[Output Only] A warning code, if applicable. For example, Compute\nEngine returns NO_RESULTS_ON_PAGE if there\nare no results in the response.", +"enum": [ +"CLEANUP_FAILED", +"DEPRECATED_RESOURCE_USED", +"DEPRECATED_TYPE_USED", +"DISK_SIZE_LARGER_THAN_IMAGE_SIZE", +"EXPERIMENTAL_TYPE_USED", +"EXTERNAL_API_WARNING", +"FIELD_VALUE_OVERRIDEN", +"INJECTED_KERNELS_DEPRECATED", +"INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", +"LARGE_DEPLOYMENT_WARNING", +"LIST_OVERHEAD_QUOTA_EXCEED", +"MISSING_TYPE_DEPENDENCY", +"NEXT_HOP_ADDRESS_NOT_ASSIGNED", +"NEXT_HOP_CANNOT_IP_FORWARD", +"NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", +"NEXT_HOP_INSTANCE_NOT_FOUND", +"NEXT_HOP_INSTANCE_NOT_ON_NETWORK", +"NEXT_HOP_NOT_RUNNING", +"NOT_CRITICAL_ERROR", +"NO_RESULTS_ON_PAGE", +"PARTIAL_SUCCESS", +"QUOTA_INFO_UNAVAILABLE", +"REQUIRED_TOS_AGREEMENT", +"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", +"RESOURCE_NOT_DELETED", +"SCHEMA_VALIDATION_IGNORED", +"SINGLE_INSTANCE_PROPERTY_TEMPLATE", +"UNDECLARED_PROPERTIES", +"UNREACHABLE" +], +"enumDeprecated": [ +false, +false, +false, +false, +false, +false, +true, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false +], +"enumDescriptions": [ +"Warning about failed cleanup of transient changes made by a failed\noperation.", +"A link to a deprecated resource was created.", +"When deploying and at least one of the resources has a type marked as\ndeprecated", +"The user created a boot disk that is larger than image size.", +"When deploying and at least one of the resources has a type marked as\nexperimental", +"Warning that is present in an external api call", +"Warning that value of a field has been overridden.\nDeprecated unused field.", +"The operation involved use of an injected kernel, which is deprecated.", +"A WEIGHTED_MAGLEV backend service is associated with a health check that is\nnot of type HTTP/HTTPS/HTTP2.", +"When deploying a deployment with a exceedingly large number of resources", +"Resource can't be retrieved due to list overhead quota exceed\nwhich captures the amount of resources filtered out by\nuser-defined list filter.", +"A resource depends on a missing type", +"The route's nextHopIp address is not assigned to an instance on the\nnetwork.", +"The route's next hop instance cannot ip forward.", +"The route's nextHopInstance URL refers to an instance that does not have an\nipv6 interface on the same network as the route.", +"The route's nextHopInstance URL refers to an instance that does not exist.", +"The route's nextHopInstance URL refers to an instance that is not on the\nsame network as the route.", +"The route's next hop instance does not have a status of RUNNING.", +"Error which is not critical. We decided to continue the process despite\nthe mentioned error.", +"No results are present on a particular list page.", +"Success is reported, but some results may be missing due to errors", +"Quota information is not available to client requests (e.g:\nregions.list).", +"The user attempted to use a resource that requires a TOS they have not\naccepted.", +"Warning that a resource is in use.", +"One or more of the resources set to auto-delete could not be deleted\nbecause they were in use.", +"When a resource schema validation is ignored.", +"Instance template used in instance group manager is valid as such, but\nits application does not make a lot of sense, because it allows only\nsingle instance in instance group.", +"When undeclared properties in the schema are present", +"A given scope cannot be reached." +], +"type": "string" +}, +"data": { +"description": "[Output Only] Metadata about this warning in key:\nvalue format. For example:\n\n\"data\": [\n {\n \"key\": \"scope\",\n \"value\": \"zones/us-east1-d\"\n }", +"items": { +"properties": { +"key": { +"description": "[Output Only] A key that provides more detail on the warning being\nreturned. For example, for warnings where there are no results in a list\nrequest for a particular zone, this key might be scope and\nthe key value might be the zone name. Other examples might be a key\nindicating a deprecated resource and a suggested replacement, or a\nwarning about invalid network settings (for example, if an instance\nattempts to perform IP forwarding but is not enabled for IP forwarding).", +"type": "string" +}, +"value": { +"description": "[Output Only] A warning data value corresponding to the key.", +"type": "string" +} +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "[Output Only] A human-readable description of the warning code.", +"type": "string" +} +}, +"readOnly": true, +"type": "object" +} +}, +"type": "object" +}, +"InstanceGroupManagerResourcePolicies": { +"id": "InstanceGroupManagerResourcePolicies", +"properties": { +"workloadPolicy": { +"description": "The URL of the workload policy that is specified for this managed\ninstance group.\nIt can be a full or partial URL. For example, the following are\nall valid URLs to a workload policy: \n \n \n - https://www.googleapis.com/compute/v1/projects/project/regions/region/resourcePolicies/resourcePolicy\n - projects/project/regions/region/resourcePolicies/resourcePolicy\n - regions/region/resourcePolicies/resourcePolicy", +"type": "string" +} +}, +"type": "object" +}, +"InstanceGroupManagerStandbyPolicy": { +"id": "InstanceGroupManagerStandbyPolicy", +"properties": { +"initialDelaySec": { +"description": "Specifies the number of seconds that the MIG should wait to suspend or\nstop a VM after that VM was created. The initial delay gives the\ninitialization script the time to prepare your VM for a quick scale out.\nThe value of initial delay must be between 0 and 3600 seconds. The\ndefault value is 0.", +"format": "int32", +"type": "integer" +}, +"mode": { +"description": "Defines how a MIG resumes or starts VMs from a standby pool when the\ngroup scales out. The default mode is `MANUAL`.", +"enum": [ +"MANUAL", +"SCALE_OUT_POOL" +], +"enumDescriptions": [ +"MIG does not automatically resume or start VMs in the standby pool when\nthe group scales out.", +"MIG automatically resumes or starts VMs in the standby pool when the\ngroup scales out, and replenishes the standby pool afterwards." +], +"type": "string" +} +}, +"type": "object" +}, +"InstanceGroupManagerStatus": { +"id": "InstanceGroupManagerStatus", +"properties": { +"allInstancesConfig": { +"$ref": "InstanceGroupManagerStatusAllInstancesConfig", +"description": "Output only. [Output only] Status of all-instances configuration on the group.", +"readOnly": true +}, +"autoscaler": { +"description": "Output only. [Output Only] The URL of theAutoscaler\nthat targets this instance group manager.", +"readOnly": true, +"type": "string" +}, +"bulkInstanceOperation": { +"$ref": "InstanceGroupManagerStatusBulkInstanceOperation", +"description": "Output only. [Output Only] The status of bulk instance operation.", +"readOnly": true +}, +"currentInstanceStatuses": { +"$ref": "InstanceGroupManagerStatusInstanceStatusSummary", +"description": "Output only. [Output Only] The list of instance statuses and the number of instances\nin this managed instance group that have the status. Currently only shown\nfor TPU MIGs", +"readOnly": true +}, +"isStable": { +"description": "Output only. [Output Only] A bit indicating whether the managed instance group is in a\nstable state. A stable state means that: none of the instances in the\nmanaged instance group is currently undergoing any type of change (for\nexample, creation, restart, or deletion); no future changes are scheduled\nfor instances in the managed instance group; and the managed instance\ngroup itself is not being modified.", +"readOnly": true, +"type": "boolean" +}, +"stateful": { +"$ref": "InstanceGroupManagerStatusStateful", +"description": "Output only. [Output Only] Stateful status of the given Instance Group Manager.", +"readOnly": true +}, +"versionTarget": { +"$ref": "InstanceGroupManagerStatusVersionTarget", +"description": "Output only. [Output Only] A status of consistency of Instances' versions with their\ntarget version specified by version field on Instance Group\nManager.", +"readOnly": true +} +}, +"type": "object" +}, +"InstanceGroupManagerStatusAllInstancesConfig": { +"id": "InstanceGroupManagerStatusAllInstancesConfig", +"properties": { +"currentRevision": { +"description": "Output only. [Output Only] Current all-instances configuration revision.\nThis value is in RFC3339 text format.", +"readOnly": true, +"type": "string" +}, +"effective": { +"description": "Output only. [Output Only] A bit indicating whether this configuration has\nbeen applied to all managed instances in the group.", +"readOnly": true, +"type": "boolean" +} +}, +"type": "object" +}, +"InstanceGroupManagerStatusBulkInstanceOperation": { +"description": "Bulk instance operation is the creation of VMs in a MIG when the\ntargetSizePolicy.mode is set to BULK.", +"id": "InstanceGroupManagerStatusBulkInstanceOperation", +"properties": { +"inProgress": { +"description": "Output only. [Output Only] Informs whether bulk instance operation is in progress.", +"readOnly": true, +"type": "boolean" +}, +"lastProgressCheck": { +"$ref": "InstanceGroupManagerStatusBulkInstanceOperationLastProgressCheck", +"description": "Output only. [Output Only] Information from the last progress check of bulk instance\noperation.", +"readOnly": true +} +}, +"type": "object" +}, +"InstanceGroupManagerStatusBulkInstanceOperationLastProgressCheck": { +"id": "InstanceGroupManagerStatusBulkInstanceOperationLastProgressCheck", +"properties": { +"error": { +"description": "Output only. [Output Only] Errors encountered during bulk instance operation.", +"properties": { +"errors": { +"description": "[Output Only] The array of errors encountered while processing this\noperation.", +"items": { +"properties": { +"code": { +"description": "[Output Only] The error type identifier for this error.", +"type": "string" +}, +"errorDetails": { +"description": "[Output Only] An optional list of messages that contain the error\ndetails. There is a set of defined message types to use for providing\ndetails.The syntax depends on the error code. For example,\nQuotaExceededInfo will have details when the error code is\nQUOTA_EXCEEDED.", +"items": { +"properties": { +"errorInfo": { +"$ref": "ErrorInfo" +}, +"help": { +"$ref": "Help" +}, +"localizedMessage": { +"$ref": "LocalizedMessage" +}, +"quotaInfo": { +"$ref": "QuotaExceededInfo" +} +}, +"type": "object" +}, +"type": "array" +}, +"location": { +"description": "[Output Only] Indicates the field in the request that caused the error.\nThis property is optional.", +"type": "string" +}, +"message": { +"description": "[Output Only] An optional, human-readable error message.", +"type": "string" +} +}, +"type": "object" +}, +"type": "array" +} +}, +"readOnly": true, +"type": "object" +}, +"timestamp": { +"description": "Output only. [Output Only] Timestamp of the last progress check of bulk instance\noperation. Timestamp is in RFC3339 text format.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"InstanceGroupManagerStatusInstanceStatusSummary": { +"description": "The list of instance statuses and the number of instances in this managed\ninstance group that have the status. For more information about how to\ninterpret each status check the instance lifecycle documentation.\nCurrently only shown for TPU MIGs.", +"id": "InstanceGroupManagerStatusInstanceStatusSummary", +"properties": { +"deprovisioning": { +"description": "Output only. [Output Only] The number of instances in the managed instance group\nthat have DEPROVISIONING status.", +"format": "int32", +"readOnly": true, +"type": "integer" +}, +"nonExistent": { +"description": "Output only. [Output Only] The number of instances that have not been created yet or\nhave been deleted. Includes only instances that would be shown in the\nlistManagedInstances method and not all instances that have been\ndeleted in the lifetime of the MIG.\nDoes not include FlexStart instances that are waiting for the resources\navailability, they are considered as 'pending'.", +"format": "int32", +"readOnly": true, +"type": "integer" +}, +"pending": { +"description": "Output only. [Output Only] The number of instances in the managed instance group\nthat have PENDING status, that is FlexStart instances that are waiting\nfor resources. Instances that do not exist because of the other reasons\nare counted as 'non_existent'.", +"format": "int32", +"readOnly": true, +"type": "integer" +}, +"pendingStop": { +"description": "Output only. [Output Only] The number of instances in the managed instance group\nthat have PENDING_STOP status.", +"format": "int32", +"readOnly": true, +"type": "integer" +}, +"provisioning": { +"description": "Output only. [Output Only] The number of instances in the managed instance group\nthat have PROVISIONING status.", +"format": "int32", +"readOnly": true, +"type": "integer" +}, +"repairing": { +"description": "Output only. [Output Only] The number of instances in the managed instance group\nthat have REPAIRING status.", +"format": "int32", +"readOnly": true, +"type": "integer" +}, +"running": { +"description": "Output only. [Output Only] The number of instances in the managed instance group\nthat have RUNNING status.", +"format": "int32", +"readOnly": true, +"type": "integer" +}, +"staging": { +"description": "Output only. [Output Only] The number of instances in the managed instance group\nthat have STAGING status.", +"format": "int32", +"readOnly": true, +"type": "integer" +}, +"stopped": { +"description": "Output only. [Output Only] The number of instances in the managed instance group\nthat have STOPPED status.", +"format": "int32", +"readOnly": true, +"type": "integer" +}, +"stopping": { +"description": "Output only. [Output Only] The number of instances in the managed instance group\nthat have STOPPING status.", +"format": "int32", +"readOnly": true, +"type": "integer" +}, +"suspended": { +"description": "Output only. [Output Only] The number of instances in the managed instance group\nthat have SUSPENDED status.", +"format": "int32", +"readOnly": true, +"type": "integer" +}, +"suspending": { +"description": "Output only. [Output Only] The number of instances in the managed instance group\nthat have SUSPENDING status.", +"format": "int32", +"readOnly": true, +"type": "integer" +}, +"terminated": { +"description": "Output only. [Output Only] The number of instances in the managed instance group\nthat have TERMINATED status.", +"format": "int32", +"readOnly": true, +"type": "integer" +} +}, +"type": "object" +}, +"InstanceGroupManagerStatusStateful": { +"id": "InstanceGroupManagerStatusStateful", +"properties": { +"hasStatefulConfig": { +"description": "Output only. [Output Only] A bit indicating whether the managed instance group\nhas stateful configuration, that is, if you have configured any items\nin a stateful policy or in per-instance configs.\nThe group might report that it has no stateful configuration even when\nthere is still some preserved state on a managed instance, for example,\nif you have deleted all PICs but not yet applied those deletions.", +"readOnly": true, +"type": "boolean" +}, +"isStateful": { +"deprecated": true, +"description": "Output only. [Output Only] A bit indicating whether the managed instance group\nhas stateful configuration, that is, if you have configured any items\nin a stateful policy or in per-instance configs.\nThe group might report that it has no stateful configuration even when\nthere is still some preserved state on a managed instance, for example,\nif you have deleted all PICs but not yet applied those deletions. This\nfield is deprecated in favor of has_stateful_config.", +"readOnly": true, +"type": "boolean" +}, +"perInstanceConfigs": { +"$ref": "InstanceGroupManagerStatusStatefulPerInstanceConfigs", +"description": "Output only. [Output Only] Status of per-instance configurations on the instances.", +"readOnly": true +} +}, +"type": "object" +}, +"InstanceGroupManagerStatusStatefulPerInstanceConfigs": { +"id": "InstanceGroupManagerStatusStatefulPerInstanceConfigs", +"properties": { +"allEffective": { +"description": "Output only. A bit indicating if all of the group's per-instance configurations\n(listed in the output of a listPerInstanceConfigs API call) have\nstatus EFFECTIVE or there are no per-instance-configs.", +"readOnly": true, +"type": "boolean" +} +}, +"type": "object" +}, +"InstanceGroupManagerStatusVersionTarget": { +"id": "InstanceGroupManagerStatusVersionTarget", +"properties": { +"isReached": { +"description": "Output only. [Output Only] A bit indicating whether version target has been reached\nin this managed instance group, i.e. all instances are in their target\nversion. Instances' target version are specified byversion field on Instance Group Manager.", +"readOnly": true, +"type": "boolean" +} +}, +"type": "object" +}, +"InstanceGroupManagerTargetSizePolicy": { +"id": "InstanceGroupManagerTargetSizePolicy", +"properties": { +"mode": { +"description": "The mode of target size policy based on which the MIG creates its VMs\nindividually or all at once.", +"enum": [ +"BULK", +"INDIVIDUAL", +"UNSPECIFIED_MODE" +], +"enumDescriptions": [ +"The mode in which the MIG creates VMs all at once. In this mode, if the\nMIG is unable to create even one VM, the MIG waits until all VMs can be\ncreated at the same time.", +"The mode in which the MIG creates VMs individually. In this mode, if\nthe MIG is unable to create a VM, the MIG will continue to create the\nother VMs in the group. This is the default mode.", +"If mode is unspecified, MIG will behave as in the default `INDIVIDUAL`\nmode." +], +"type": "string" +} +}, +"type": "object" +}, +"InstanceGroupManagerUpdatePolicy": { +"id": "InstanceGroupManagerUpdatePolicy", +"properties": { +"instanceRedistributionType": { +"description": "The \ninstance redistribution policy for regional managed instance groups.\nValid values are: \n \n - PROACTIVE (default): The group attempts to maintain an\n even distribution of VM instances across zones in the region.\n - NONE: For non-autoscaled groups, proactive\n redistribution is disabled.", +"enum": [ +"NONE", +"PROACTIVE" +], +"enumDescriptions": [ +"No action is being proactively performed in order to bring this IGM\nto its target instance distribution.", +"This IGM will actively converge to its target instance distribution." +], +"type": "string" +}, +"maxSurge": { +"$ref": "FixedOrPercent", +"description": "The maximum number of instances that can be created above the specifiedtargetSize during the update process. This value can be\neither a fixed number or, if the group has 10 or more instances, a\npercentage. If you set a percentage, the number of instances is rounded\nif necessary. The default value for maxSurge is a fixed\nvalue equal to the number of zones in which the managed instance group\noperates.\n\nAt least one of either maxSurge ormaxUnavailable must be greater than 0. Learn more about maxSurge." +}, +"maxUnavailable": { +"$ref": "FixedOrPercent", +"description": "The maximum number of instances that can be unavailable during the update\nprocess. An instance is considered available if all of the following\nconditions are satisfied:\n\n \n \n - The instance's status is\n RUNNING. \n - If there is a health\n check on the instance group, the instance's health check status\n must be HEALTHY at least once. If there is no health check\n on the group, then the instance only needs to have a status of\n RUNNING to be considered available.\n\n\nThis value can be either a fixed number or, if the group has 10 or more\ninstances, a percentage. If you set a percentage, the number of instances\nis rounded if necessary. The default value formaxUnavailable is a fixed value equal to the number of zones\nin which the managed instance group operates.\n\nAt least one of either maxSurge ormaxUnavailable must be greater than 0. Learn more about maxUnavailable." +}, +"minReadySec": { +"description": "Minimum number of seconds to wait for after a newly created instance\nbecomes available. This value must be from range [0, 3600].", +"format": "int32", +"type": "integer" +}, +"minimalAction": { +"description": "Minimal action to be taken on an instance. Use this option to minimize\ndisruption as much as possible or to apply a more disruptive action than\nis necessary.\n \n - To limit disruption as much as possible, set the minimal action toREFRESH. If your update requires a more disruptive action,\n Compute Engine performs the necessary action to execute the update.\n - To apply a more disruptive action than is strictly necessary, set the\n minimal action to RESTART or REPLACE. For\n example, Compute Engine does not need to restart a VM to change its\n metadata. But if your application reads instance metadata only when a VM\n is restarted, you can set the minimal action to RESTART in\n order to pick up metadata changes.", +"enum": [ +"NONE", +"REFRESH", +"REPLACE", +"RESTART" +], +"enumDescriptions": [ +"Do not perform any action.", +"Do not stop the instance.", +"(Default.) Replace the instance according to the replacement method\noption.", +"Stop the instance and start it again." +], +"type": "string" +}, +"mostDisruptiveAllowedAction": { +"description": "Most disruptive action that is allowed to be taken on an instance.\nYou can specify either NONE to forbid any actions,REFRESH to avoid restarting the VM and to limit disruption\nas much as possible. RESTART to allow actions that can be\napplied without instance replacing or REPLACE to allow all\npossible actions. If the Updater determines that the minimal update\naction needed is more disruptive than most disruptive allowed action you\nspecify it will not perform the update at all.", +"enum": [ +"NONE", +"REFRESH", +"REPLACE", +"RESTART" +], +"enumDescriptions": [ +"Do not perform any action.", +"Do not stop the instance.", +"(Default.) Replace the instance according to the replacement method\noption.", +"Stop the instance and start it again." +], +"type": "string" +}, +"replacementMethod": { +"description": "What action should be used to replace instances.\nSee minimal_action.REPLACE", +"enum": [ +"RECREATE", +"SUBSTITUTE" +], +"enumDescriptions": [ +"Instances will be recreated (with the same name)", +"Default option: instances will be deleted and created (with a new name)" +], +"type": "string" +}, +"type": { +"description": "The type\nof update process. You can specify either PROACTIVE so\nthat the MIG automatically updates VMs to the latest configurations orOPPORTUNISTIC so that you can select the VMs that you want\nto update.", +"enum": [ +"OPPORTUNISTIC", +"PROACTIVE" +], +"enumDescriptions": [ +"MIG will apply new configurations\nto existing VMs only when you selectively target specific or all VMs to\nbe updated.", +"MIG will automatically apply new configurations\nto all or a subset of existing VMs and also to new VMs that are added\nto the group." +], +"type": "string" +} +}, +"type": "object" +}, +"InstanceGroupManagerVersion": { +"id": "InstanceGroupManagerVersion", +"properties": { +"instanceTemplate": { +"description": "The URL of the instance template that is specified for this managed\ninstance group. The group uses this template to create new instances in\nthe managed instance group until the `targetSize` for this version is\nreached. The templates for existing instances in the group do not change\nunless you run recreateInstances, runapplyUpdatesToInstances, or set the group'supdatePolicy.type to PROACTIVE; in those cases,\nexisting instances are updated until the `targetSize` for this version is\nreached.", +"type": "string" +}, +"name": { +"description": "Name of the version. Unique among all versions in the scope of this\nmanaged instance group.", +"type": "string" +}, +"targetSize": { +"$ref": "FixedOrPercent", +"description": "Specifies the intended number of instances to be created from theinstanceTemplate. The final number of instances created\nfrom the template will be equal to:\n \n \n - If expressed as a fixed number, the minimum of either\n targetSize.fixed or\n instanceGroupManager.targetSize is used.\n - if expressed as a percent, the targetSize\n would be (targetSize.percent/100 *\n InstanceGroupManager.targetSize) If there is a remainder, the\n number is rounded.\n \n If unset, this version will update any remaining instances not\nupdated by another version. ReadStarting\na canary update for more information." +} +}, +"type": "object" +}, +"InstanceGroupManagersAbandonInstancesRequest": { +"id": "InstanceGroupManagersAbandonInstancesRequest", +"properties": { +"instances": { +"description": "The URLs of one or more instances to abandon. This can be a full URL or\na partial URL, such as zones/[ZONE]/instances/[INSTANCE_NAME].", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"InstanceGroupManagersApplyUpdatesRequest": { +"description": "InstanceGroupManagers.applyUpdatesToInstances", +"id": "InstanceGroupManagersApplyUpdatesRequest", +"properties": { +"allInstances": { +"description": "Flag to update all instances instead of specified list of \u201cinstances\u201d.\nIf the flag is set to true then the instances may not be specified\nin the request.", +"type": "boolean" +}, +"instances": { +"description": "The list of URLs of one or more instances for which you want to apply\nupdates. Each URL can be a full URL or a partial URL, such aszones/[ZONE]/instances/[INSTANCE_NAME].", +"items": { +"type": "string" +}, +"type": "array" +}, +"minimalAction": { +"description": "The minimal action that you want to perform on each instance during the\nupdate:\n \n \n - REPLACE: At minimum, delete the instance and create it\n again. \n - RESTART: Stop the instance and start it\n again. \n - REFRESH: Do not stop the instance and limit\n disruption as much as possible. \n - NONE: Do not\n disrupt the instance at all.\n\n\nBy default, the minimum action is NONE. If your update\nrequires a more disruptive action than you set with this flag, the\nnecessary action is performed to execute the update.", +"enum": [ +"NONE", +"REFRESH", +"REPLACE", +"RESTART" +], +"enumDescriptions": [ +"Do not perform any action.", +"Do not stop the instance.", +"(Default.) Replace the instance according to the replacement method\noption.", +"Stop the instance and start it again." +], +"type": "string" +}, +"mostDisruptiveAllowedAction": { +"description": "The most disruptive action that you want to perform on each instance during\nthe update:\n \n \n - REPLACE: Delete the instance and create it again.\n - RESTART: Stop the instance and start it again.\n - REFRESH: Do not stop the instance and limit disruption\n as much as possible. \n - NONE: Do not disrupt the\n instance at all.\n\n\nBy default, the most disruptive allowed action is REPLACE. If\nyour update requires a more disruptive action than you set with this flag,\nthe update request will fail.", +"enum": [ +"NONE", +"REFRESH", +"REPLACE", +"RESTART" +], +"enumDescriptions": [ +"Do not perform any action.", +"Do not stop the instance.", +"(Default.) Replace the instance according to the replacement method\noption.", +"Stop the instance and start it again." +], +"type": "string" +} +}, +"type": "object" +}, +"InstanceGroupManagersConfigureAcceleratorTopologiesRequest": { +"description": "InstanceGroupManagers.ConfigureAcceleratorTopologies", +"id": "InstanceGroupManagersConfigureAcceleratorTopologiesRequest", +"properties": { +"acceleratorTopologyActions": { +"additionalProperties": { +"enum": [ +"ACCELERATOR_TOPOLOGY_ACTION_UNSPECIFIED", +"ACTIVATE", +"DEACTIVATE" +], +"enumDescriptions": [ +"Default value. Should not be used.", +"The accelerator topology is to be activated.", +"The accelerator topology is to be deactivated." +], +"type": "string" +}, +"description": "Map of accelerator topologies that should have their state changed to\nthe specified value. The key is the hashed topology locus id. It can be\nobtained from the GetAvailableAcceleratorTopologies rpc.", +"type": "object" +} +}, +"type": "object" +}, +"InstanceGroupManagersCreateInstancesRequest": { +"description": "InstanceGroupManagers.createInstances", +"id": "InstanceGroupManagersCreateInstancesRequest", +"properties": { +"instances": { +"description": "[Required] List of specifications of per-instance configs.", +"items": { +"$ref": "PerInstanceConfig" +}, +"type": "array" +} +}, +"type": "object" +}, +"InstanceGroupManagersDeleteInstancesRequest": { +"id": "InstanceGroupManagersDeleteInstancesRequest", +"properties": { +"instances": { +"description": "The URLs of one or more instances to delete. This can be a full URL or\na partial URL, such as zones/[ZONE]/instances/[INSTANCE_NAME].\nQueued instances do not have URL and can be deleted only by name.\nOne cannot specify both URLs and names in a single request.", +"items": { +"type": "string" +}, +"type": "array" +}, +"skipInstancesOnValidationError": { +"description": "Specifies whether the request should proceed despite the inclusion of\ninstances that are not members of the group or that are already in the\nprocess of being deleted or abandoned. If this field is set to `false` and\nsuch an instance is specified in the request, the operation fails. The\noperation always fails if the request contains a malformed instance URL or\na reference to an instance that exists in a zone or region other than the\ngroup's zone or region.", +"type": "boolean" +} +}, +"type": "object" +}, +"InstanceGroupManagersDeletePerInstanceConfigsReq": { +"description": "InstanceGroupManagers.deletePerInstanceConfigs", +"id": "InstanceGroupManagersDeletePerInstanceConfigsReq", +"properties": { +"names": { +"description": "The list of instance names for which we want to delete per-instance configs\non this managed instance group.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"InstanceGroupManagersGetAvailableAcceleratorTopologiesResponse": { +"id": "InstanceGroupManagersGetAvailableAcceleratorTopologiesResponse", +"properties": { +"acceleratorTopologiesInfo": { +"additionalProperties": { +"$ref": "InstanceGroupManagersGetAvailableAcceleratorTopologiesResponseAcceleratorTopologyInfo" +}, +"description": "The accelerator topology information returned per id of the topology\nlocation.", +"type": "object" +}, +"multiMig": { +"description": "URL to MMIG this MIG belongs to.", +"type": "string" +} +}, +"type": "object" +}, +"InstanceGroupManagersGetAvailableAcceleratorTopologiesResponseAcceleratorTopologyInfo": { +"id": "InstanceGroupManagersGetAvailableAcceleratorTopologiesResponseAcceleratorTopologyInfo", +"properties": { +"acceleratorTopology": { +"description": "Topology in the format of: \"16x16\", \"4x4x4\", etc.", +"type": "string" +}, +"acceleratorTopologyHealth": { +"enum": [ +"DEGRADED", +"HEALTHY", +"UNHEALTHY", +"UNKNOWN" +], +"enumDescriptions": [ +"All VM are in RUNNING state, but there is an issue with\nthe inter-chip connectivity that makes this part\nof the infrastructure ready to use as a working\ninter-chip connected group only in a degraded mode.\nThis is allowed only for Instances configured with ICI\nresiliency", +"All VM are in RUNNING state, there are no issues with the\ninter-chip connectivity.", +"Some VMs may not be in RUNNING state, or there is an\nissue with the inter-chip connectivity that makes this\npart of the infrastructure unsuitable for forming a\nworking inter-chip connected group.", +"No signal available" +], +"type": "string" +}, +"acceleratorTopologyState": { +"$ref": "InstanceGroupManagersGetAvailableAcceleratorTopologiesResponseAcceleratorTopologyState" +}, +"instancesHealth": { +"enum": [ +"ALL_HEALTHY", +"UNHEALTHY_OR_MISSING" +], +"enumDescriptions": [ +"Infrastructure is healthy", +"Some VMs are in another state than RUNNING or they are missing." +], +"type": "string" +}, +"parent": { +"description": "Identified by the topology Id in the accelerator_topology_info map. Empty\nfor the top-level topology", +"type": "string" +} +}, +"type": "object" +}, +"InstanceGroupManagersGetAvailableAcceleratorTopologiesResponseAcceleratorTopologyState": { +"description": "Specifies the topology state", +"id": "InstanceGroupManagersGetAvailableAcceleratorTopologiesResponseAcceleratorTopologyState", +"properties": { +"currentState": { +"enum": [ +"ACTIVATING", +"ACTIVE", +"ACTIVE_DEGRADED", +"DEACTIVATING", +"FAILED", +"INACTIVE", +"INCOMPLETE" +], +"enumDescriptions": [ +"", +"", +"The topology is active but with potential performance degradation.", +"", +"Critical non-retriable error that the user has to act manually", +"", +"Not all VMs have been provisioned" +], +"type": "string" +}, +"error": { +"description": "Reason why the topology state change failed", +"properties": { +"errors": { +"description": "[Output Only] The array of errors encountered while processing this\noperation.", +"items": { +"properties": { +"code": { +"description": "[Output Only] The error type identifier for this error.", +"type": "string" +}, +"errorDetails": { +"description": "[Output Only] An optional list of messages that contain the error\ndetails. There is a set of defined message types to use for providing\ndetails.The syntax depends on the error code. For example,\nQuotaExceededInfo will have details when the error code is\nQUOTA_EXCEEDED.", +"items": { +"properties": { +"errorInfo": { +"$ref": "ErrorInfo" +}, +"help": { +"$ref": "Help" +}, +"localizedMessage": { +"$ref": "LocalizedMessage" +}, +"quotaInfo": { +"$ref": "QuotaExceededInfo" +} +}, +"type": "object" +}, +"type": "array" +}, +"location": { +"description": "[Output Only] Indicates the field in the request that caused the error.\nThis property is optional.", +"type": "string" +}, +"message": { +"description": "[Output Only] An optional, human-readable error message.", +"type": "string" +} +}, +"type": "object" +}, +"type": "array" +} +}, +"type": "object" +}, +"errorTimestamp": { +"description": "Timestamp when the last error happened", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"InstanceGroupManagersListErrorsResponse": { +"id": "InstanceGroupManagersListErrorsResponse", +"properties": { +"items": { +"description": "Output only. [Output Only] The list of errors of the managed instance group.", +"items": { +"$ref": "InstanceManagedByIgmError" +}, +"readOnly": true, +"type": "array" +}, +"nextPageToken": { +"description": "Output only. [Output Only] This token allows you to get the next page of results for\nlist requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for\nthe query parameter pageToken in the next list request.\nSubsequent list requests will have their own nextPageToken to\ncontinue paging through the results.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"InstanceGroupManagersListManagedInstancesResponse": { +"id": "InstanceGroupManagersListManagedInstancesResponse", +"properties": { +"managedInstances": { +"description": "Output only. [Output Only] The list of instances in the managed instance group.", +"items": { +"$ref": "ManagedInstance" +}, +"readOnly": true, +"type": "array" +}, +"nextPageToken": { +"description": "Output only. [Output Only] This token allows you to get the next page of results for\nlist requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for\nthe query parameter pageToken in the next list request.\nSubsequent list requests will have their own nextPageToken to\ncontinue paging through the results.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"InstanceGroupManagersListPerInstanceConfigsResp": { +"id": "InstanceGroupManagersListPerInstanceConfigsResp", +"properties": { +"items": { +"description": "Output only. [Output Only] The list of PerInstanceConfig.", +"items": { +"$ref": "PerInstanceConfig" +}, +"readOnly": true, +"type": "array" +}, +"nextPageToken": { +"description": "Output only. [Output Only] This token allows you to get the next page of results for\nlist requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for\nthe query parameter pageToken in the next list request.\nSubsequent list requests will have their own nextPageToken to\ncontinue paging through the results.", +"readOnly": true, +"type": "string" +}, +"warning": { +"description": "Output only. [Output Only] Informational warning message.", +"properties": { +"code": { +"description": "[Output Only] A warning code, if applicable. For example, Compute\nEngine returns NO_RESULTS_ON_PAGE if there\nare no results in the response.", +"enum": [ +"CLEANUP_FAILED", +"DEPRECATED_RESOURCE_USED", +"DEPRECATED_TYPE_USED", +"DISK_SIZE_LARGER_THAN_IMAGE_SIZE", +"EXPERIMENTAL_TYPE_USED", +"EXTERNAL_API_WARNING", +"FIELD_VALUE_OVERRIDEN", +"INJECTED_KERNELS_DEPRECATED", +"INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", +"LARGE_DEPLOYMENT_WARNING", +"LIST_OVERHEAD_QUOTA_EXCEED", +"MISSING_TYPE_DEPENDENCY", +"NEXT_HOP_ADDRESS_NOT_ASSIGNED", +"NEXT_HOP_CANNOT_IP_FORWARD", +"NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", +"NEXT_HOP_INSTANCE_NOT_FOUND", +"NEXT_HOP_INSTANCE_NOT_ON_NETWORK", +"NEXT_HOP_NOT_RUNNING", +"NOT_CRITICAL_ERROR", +"NO_RESULTS_ON_PAGE", +"PARTIAL_SUCCESS", +"QUOTA_INFO_UNAVAILABLE", +"REQUIRED_TOS_AGREEMENT", +"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", +"RESOURCE_NOT_DELETED", +"SCHEMA_VALIDATION_IGNORED", +"SINGLE_INSTANCE_PROPERTY_TEMPLATE", +"UNDECLARED_PROPERTIES", +"UNREACHABLE" +], +"enumDeprecated": [ +false, +false, +false, +false, +false, +false, +true, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false +], +"enumDescriptions": [ +"Warning about failed cleanup of transient changes made by a failed\noperation.", +"A link to a deprecated resource was created.", +"When deploying and at least one of the resources has a type marked as\ndeprecated", +"The user created a boot disk that is larger than image size.", +"When deploying and at least one of the resources has a type marked as\nexperimental", +"Warning that is present in an external api call", +"Warning that value of a field has been overridden.\nDeprecated unused field.", +"The operation involved use of an injected kernel, which is deprecated.", +"A WEIGHTED_MAGLEV backend service is associated with a health check that is\nnot of type HTTP/HTTPS/HTTP2.", +"When deploying a deployment with a exceedingly large number of resources", +"Resource can't be retrieved due to list overhead quota exceed\nwhich captures the amount of resources filtered out by\nuser-defined list filter.", +"A resource depends on a missing type", +"The route's nextHopIp address is not assigned to an instance on the\nnetwork.", +"The route's next hop instance cannot ip forward.", +"The route's nextHopInstance URL refers to an instance that does not have an\nipv6 interface on the same network as the route.", +"The route's nextHopInstance URL refers to an instance that does not exist.", +"The route's nextHopInstance URL refers to an instance that is not on the\nsame network as the route.", +"The route's next hop instance does not have a status of RUNNING.", +"Error which is not critical. We decided to continue the process despite\nthe mentioned error.", +"No results are present on a particular list page.", +"Success is reported, but some results may be missing due to errors", +"Quota information is not available to client requests (e.g:\nregions.list).", +"The user attempted to use a resource that requires a TOS they have not\naccepted.", +"Warning that a resource is in use.", +"One or more of the resources set to auto-delete could not be deleted\nbecause they were in use.", +"When a resource schema validation is ignored.", +"Instance template used in instance group manager is valid as such, but\nits application does not make a lot of sense, because it allows only\nsingle instance in instance group.", +"When undeclared properties in the schema are present", +"A given scope cannot be reached." +], +"type": "string" +}, +"data": { +"description": "[Output Only] Metadata about this warning in key:\nvalue format. For example:\n\n\"data\": [\n {\n \"key\": \"scope\",\n \"value\": \"zones/us-east1-d\"\n }", +"items": { +"properties": { +"key": { +"description": "[Output Only] A key that provides more detail on the warning being\nreturned. For example, for warnings where there are no results in a list\nrequest for a particular zone, this key might be scope and\nthe key value might be the zone name. Other examples might be a key\nindicating a deprecated resource and a suggested replacement, or a\nwarning about invalid network settings (for example, if an instance\nattempts to perform IP forwarding but is not enabled for IP forwarding).", +"type": "string" +}, +"value": { +"description": "[Output Only] A warning data value corresponding to the key.", +"type": "string" +} +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "[Output Only] A human-readable description of the warning code.", +"type": "string" +} +}, +"readOnly": true, +"type": "object" +} +}, +"type": "object" +}, +"InstanceGroupManagersPatchPerInstanceConfigsReq": { +"description": "InstanceGroupManagers.patchPerInstanceConfigs", +"id": "InstanceGroupManagersPatchPerInstanceConfigsReq", +"properties": { +"perInstanceConfigs": { +"description": "The list of per-instance configurations to insert or patch on this managed\ninstance group.", +"items": { +"$ref": "PerInstanceConfig" +}, +"type": "array" +} +}, +"type": "object" +}, +"InstanceGroupManagersRecreateInstancesRequest": { +"id": "InstanceGroupManagersRecreateInstancesRequest", +"properties": { +"instances": { +"description": "The URLs of one or more instances to recreate. This can be a full URL or\na partial URL, such as zones/[ZONE]/instances/[INSTANCE_NAME].", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"InstanceGroupManagersResizeAdvancedRequest": { +"id": "InstanceGroupManagersResizeAdvancedRequest", +"properties": { +"noCreationRetries": { +"description": "If this flag is true, the managed instance group attempts to create all\ninstances initiated by this resize request only once. If there is an error\nduring creation, the managed instance group does not retry create this\ninstance, and we will decrease the targetSize of the request\ninstead. If the flag is false, the group attempts to recreate each instance\ncontinuously until it succeeds.\n\nThis flag matters only in the first attempt of creation of an instance.\nAfter an instance is successfully created while this flag is enabled, the\ninstance behaves the same way as all the other instances created with a\nregular resize request. In particular, if a running instance dies\nunexpectedly at a later time and needs to be recreated, this mode does not\naffect the recreation behavior in that scenario.\n\nThis flag is applicable only to the current resize request. It does not\ninfluence other resize requests in any way.\n\nYou can see which instances is being creating in which mode by calling\nthe get or listManagedInstances API.", +"type": "boolean" +}, +"targetSize": { +"description": "The number of running instances that the managed instance group should\nmaintain at any given time. The group automatically adds or removes\ninstances to maintain the number of instances specified by this parameter.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"InstanceGroupManagersResumeInstancesRequest": { +"id": "InstanceGroupManagersResumeInstancesRequest", +"properties": { +"instances": { +"description": "The URLs of one or more instances to resume. This can be a full URL or\na partial URL, such as zones/[ZONE]/instances/[INSTANCE_NAME].", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"InstanceGroupManagersScopedList": { +"id": "InstanceGroupManagersScopedList", +"properties": { +"instanceGroupManagers": { +"description": "Output only. [Output Only] The list of managed instance groups that are contained in\nthe specified project and zone.", +"items": { +"$ref": "InstanceGroupManager" +}, +"readOnly": true, +"type": "array" +}, +"warning": { +"description": "Output only. [Output Only] The warning that replaces the list of managed instance\ngroups when the list is empty.", +"properties": { +"code": { +"description": "[Output Only] A warning code, if applicable. For example, Compute\nEngine returns NO_RESULTS_ON_PAGE if there\nare no results in the response.", +"enum": [ +"CLEANUP_FAILED", +"DEPRECATED_RESOURCE_USED", +"DEPRECATED_TYPE_USED", +"DISK_SIZE_LARGER_THAN_IMAGE_SIZE", +"EXPERIMENTAL_TYPE_USED", +"EXTERNAL_API_WARNING", +"FIELD_VALUE_OVERRIDEN", +"INJECTED_KERNELS_DEPRECATED", +"INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", +"LARGE_DEPLOYMENT_WARNING", +"LIST_OVERHEAD_QUOTA_EXCEED", +"MISSING_TYPE_DEPENDENCY", +"NEXT_HOP_ADDRESS_NOT_ASSIGNED", +"NEXT_HOP_CANNOT_IP_FORWARD", +"NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", +"NEXT_HOP_INSTANCE_NOT_FOUND", +"NEXT_HOP_INSTANCE_NOT_ON_NETWORK", +"NEXT_HOP_NOT_RUNNING", +"NOT_CRITICAL_ERROR", +"NO_RESULTS_ON_PAGE", +"PARTIAL_SUCCESS", +"QUOTA_INFO_UNAVAILABLE", +"REQUIRED_TOS_AGREEMENT", +"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", +"RESOURCE_NOT_DELETED", +"SCHEMA_VALIDATION_IGNORED", +"SINGLE_INSTANCE_PROPERTY_TEMPLATE", +"UNDECLARED_PROPERTIES", +"UNREACHABLE" +], +"enumDeprecated": [ +false, +false, +false, +false, +false, +false, +true, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false +], +"enumDescriptions": [ +"Warning about failed cleanup of transient changes made by a failed\noperation.", +"A link to a deprecated resource was created.", +"When deploying and at least one of the resources has a type marked as\ndeprecated", +"The user created a boot disk that is larger than image size.", +"When deploying and at least one of the resources has a type marked as\nexperimental", +"Warning that is present in an external api call", +"Warning that value of a field has been overridden.\nDeprecated unused field.", +"The operation involved use of an injected kernel, which is deprecated.", +"A WEIGHTED_MAGLEV backend service is associated with a health check that is\nnot of type HTTP/HTTPS/HTTP2.", +"When deploying a deployment with a exceedingly large number of resources", +"Resource can't be retrieved due to list overhead quota exceed\nwhich captures the amount of resources filtered out by\nuser-defined list filter.", +"A resource depends on a missing type", +"The route's nextHopIp address is not assigned to an instance on the\nnetwork.", +"The route's next hop instance cannot ip forward.", +"The route's nextHopInstance URL refers to an instance that does not have an\nipv6 interface on the same network as the route.", +"The route's nextHopInstance URL refers to an instance that does not exist.", +"The route's nextHopInstance URL refers to an instance that is not on the\nsame network as the route.", +"The route's next hop instance does not have a status of RUNNING.", +"Error which is not critical. We decided to continue the process despite\nthe mentioned error.", +"No results are present on a particular list page.", +"Success is reported, but some results may be missing due to errors", +"Quota information is not available to client requests (e.g:\nregions.list).", +"The user attempted to use a resource that requires a TOS they have not\naccepted.", +"Warning that a resource is in use.", +"One or more of the resources set to auto-delete could not be deleted\nbecause they were in use.", +"When a resource schema validation is ignored.", +"Instance template used in instance group manager is valid as such, but\nits application does not make a lot of sense, because it allows only\nsingle instance in instance group.", +"When undeclared properties in the schema are present", +"A given scope cannot be reached." +], +"type": "string" +}, +"data": { +"description": "[Output Only] Metadata about this warning in key:\nvalue format. For example:\n\n\"data\": [\n {\n \"key\": \"scope\",\n \"value\": \"zones/us-east1-d\"\n }", +"items": { +"properties": { +"key": { +"description": "[Output Only] A key that provides more detail on the warning being\nreturned. For example, for warnings where there are no results in a list\nrequest for a particular zone, this key might be scope and\nthe key value might be the zone name. Other examples might be a key\nindicating a deprecated resource and a suggested replacement, or a\nwarning about invalid network settings (for example, if an instance\nattempts to perform IP forwarding but is not enabled for IP forwarding).", +"type": "string" +}, +"value": { +"description": "[Output Only] A warning data value corresponding to the key.", +"type": "string" +} +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "[Output Only] A human-readable description of the warning code.", +"type": "string" +} +}, +"readOnly": true, +"type": "object" +} +}, +"type": "object" +}, +"InstanceGroupManagersSetAutoHealingRequest": { +"id": "InstanceGroupManagersSetAutoHealingRequest", +"properties": { +"autoHealingPolicies": { +"items": { +"$ref": "InstanceGroupManagerAutoHealingPolicy" +}, +"type": "array" +} +}, +"type": "object" +}, +"InstanceGroupManagersSetInstanceTemplateRequest": { +"id": "InstanceGroupManagersSetInstanceTemplateRequest", +"properties": { +"instanceTemplate": { +"description": "The URL of the instance template that is specified for this managed\ninstance group. The group uses this template to create all new instances\nin the managed instance group. The templates for existing instances in the\ngroup do not change unless you run recreateInstances, runapplyUpdatesToInstances, or set the group'supdatePolicy.type to PROACTIVE.", +"type": "string" +} +}, +"type": "object" +}, +"InstanceGroupManagersSetTargetPoolsRequest": { +"id": "InstanceGroupManagersSetTargetPoolsRequest", +"properties": { +"fingerprint": { +"description": "The fingerprint of the target pools information. Use this optional\nproperty to prevent conflicts when multiple users change the target pools\nsettings concurrently. Obtain the fingerprint with theinstanceGroupManagers.get\nmethod. Then, include the fingerprint in your request to ensure that you\ndo not overwrite changes that were applied from another\nconcurrent request.", +"format": "byte", +"type": "string" +}, +"targetPools": { +"description": "The list of target pool URLs that instances in this managed instance group\nbelong to. The managed instance group applies these target pools to all\nof the instances in the group. Existing instances and new instances in the\ngroup all receive these target pool settings.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"InstanceGroupManagersStartInstancesRequest": { +"id": "InstanceGroupManagersStartInstancesRequest", +"properties": { +"instances": { +"description": "The URLs of one or more instances to start. This can be a full URL or\na partial URL, such as zones/[ZONE]/instances/[INSTANCE_NAME].", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"InstanceGroupManagersStopInstancesRequest": { +"id": "InstanceGroupManagersStopInstancesRequest", +"properties": { +"forceStop": { +"description": "If this flag is set to true, the Instance Group Manager will proceed to\nstop the instances, skipping initialization on them.", +"type": "boolean" +}, +"instances": { +"description": "The URLs of one or more instances to stop. This can be a full URL or\na partial URL, such as zones/[ZONE]/instances/[INSTANCE_NAME].", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"InstanceGroupManagersSuspendInstancesRequest": { +"id": "InstanceGroupManagersSuspendInstancesRequest", +"properties": { +"forceSuspend": { +"description": "If this flag is set to true, the Instance Group Manager will proceed to\nsuspend the instances, skipping initialization on them.", +"type": "boolean" +}, +"instances": { +"description": "The URLs of one or more instances to suspend. This can be a full URL or\na partial URL, such as zones/[ZONE]/instances/[INSTANCE_NAME].", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"InstanceGroupManagersUpdatePerInstanceConfigsReq": { +"description": "InstanceGroupManagers.updatePerInstanceConfigs", +"id": "InstanceGroupManagersUpdatePerInstanceConfigsReq", +"properties": { +"perInstanceConfigs": { +"description": "The list of per-instance configurations to insert or patch on this managed\ninstance group.", +"items": { +"$ref": "PerInstanceConfig" +}, +"type": "array" +} +}, +"type": "object" +}, +"InstanceGroupsAddInstancesRequest": { +"id": "InstanceGroupsAddInstancesRequest", +"properties": { +"instances": { +"description": "The list of instances to add to the instance group.", +"items": { +"$ref": "InstanceReference" +}, +"type": "array" +} +}, +"type": "object" +}, +"InstanceGroupsListInstances": { +"id": "InstanceGroupsListInstances", +"properties": { +"id": { +"description": "Output only. [Output Only] Unique identifier for the resource; defined by the server.", +"readOnly": true, +"type": "string" +}, +"items": { +"description": "A list of InstanceWithNamedPorts resources.", +"items": { +"$ref": "InstanceWithNamedPorts" +}, +"type": "array" +}, +"kind": { +"default": "compute#instanceGroupsListInstances", +"description": "Output only. [Output Only] The resource type, which is alwayscompute#instanceGroupsListInstances for the list of instances\nin the specified instance group.", +"readOnly": true, +"type": "string" +}, +"nextPageToken": { +"description": "Output only. [Output Only] This token allows you to get the next page of results for\nlist requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for\nthe query parameter pageToken in the next list request.\nSubsequent list requests will have their own nextPageToken to\ncontinue paging through the results.", +"readOnly": true, +"type": "string" +}, +"selfLink": { +"description": "Output only. [Output Only] Server-defined URL for this resource.", +"readOnly": true, +"type": "string" +}, +"warning": { +"description": "Output only. [Output Only] Informational warning message.", +"properties": { +"code": { +"description": "[Output Only] A warning code, if applicable. For example, Compute\nEngine returns NO_RESULTS_ON_PAGE if there\nare no results in the response.", +"enum": [ +"CLEANUP_FAILED", +"DEPRECATED_RESOURCE_USED", +"DEPRECATED_TYPE_USED", +"DISK_SIZE_LARGER_THAN_IMAGE_SIZE", +"EXPERIMENTAL_TYPE_USED", +"EXTERNAL_API_WARNING", +"FIELD_VALUE_OVERRIDEN", +"INJECTED_KERNELS_DEPRECATED", +"INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", +"LARGE_DEPLOYMENT_WARNING", +"LIST_OVERHEAD_QUOTA_EXCEED", +"MISSING_TYPE_DEPENDENCY", +"NEXT_HOP_ADDRESS_NOT_ASSIGNED", +"NEXT_HOP_CANNOT_IP_FORWARD", +"NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", +"NEXT_HOP_INSTANCE_NOT_FOUND", +"NEXT_HOP_INSTANCE_NOT_ON_NETWORK", +"NEXT_HOP_NOT_RUNNING", +"NOT_CRITICAL_ERROR", +"NO_RESULTS_ON_PAGE", +"PARTIAL_SUCCESS", +"QUOTA_INFO_UNAVAILABLE", +"REQUIRED_TOS_AGREEMENT", +"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", +"RESOURCE_NOT_DELETED", +"SCHEMA_VALIDATION_IGNORED", +"SINGLE_INSTANCE_PROPERTY_TEMPLATE", +"UNDECLARED_PROPERTIES", +"UNREACHABLE" +], +"enumDeprecated": [ +false, +false, +false, +false, +false, +false, +true, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false +], +"enumDescriptions": [ +"Warning about failed cleanup of transient changes made by a failed\noperation.", +"A link to a deprecated resource was created.", +"When deploying and at least one of the resources has a type marked as\ndeprecated", +"The user created a boot disk that is larger than image size.", +"When deploying and at least one of the resources has a type marked as\nexperimental", +"Warning that is present in an external api call", +"Warning that value of a field has been overridden.\nDeprecated unused field.", +"The operation involved use of an injected kernel, which is deprecated.", +"A WEIGHTED_MAGLEV backend service is associated with a health check that is\nnot of type HTTP/HTTPS/HTTP2.", +"When deploying a deployment with a exceedingly large number of resources", +"Resource can't be retrieved due to list overhead quota exceed\nwhich captures the amount of resources filtered out by\nuser-defined list filter.", +"A resource depends on a missing type", +"The route's nextHopIp address is not assigned to an instance on the\nnetwork.", +"The route's next hop instance cannot ip forward.", +"The route's nextHopInstance URL refers to an instance that does not have an\nipv6 interface on the same network as the route.", +"The route's nextHopInstance URL refers to an instance that does not exist.", +"The route's nextHopInstance URL refers to an instance that is not on the\nsame network as the route.", +"The route's next hop instance does not have a status of RUNNING.", +"Error which is not critical. We decided to continue the process despite\nthe mentioned error.", +"No results are present on a particular list page.", +"Success is reported, but some results may be missing due to errors", +"Quota information is not available to client requests (e.g:\nregions.list).", +"The user attempted to use a resource that requires a TOS they have not\naccepted.", +"Warning that a resource is in use.", +"One or more of the resources set to auto-delete could not be deleted\nbecause they were in use.", +"When a resource schema validation is ignored.", +"Instance template used in instance group manager is valid as such, but\nits application does not make a lot of sense, because it allows only\nsingle instance in instance group.", +"When undeclared properties in the schema are present", +"A given scope cannot be reached." +], +"type": "string" +}, +"data": { +"description": "[Output Only] Metadata about this warning in key:\nvalue format. For example:\n\n\"data\": [\n {\n \"key\": \"scope\",\n \"value\": \"zones/us-east1-d\"\n }", +"items": { +"properties": { +"key": { +"description": "[Output Only] A key that provides more detail on the warning being\nreturned. For example, for warnings where there are no results in a list\nrequest for a particular zone, this key might be scope and\nthe key value might be the zone name. Other examples might be a key\nindicating a deprecated resource and a suggested replacement, or a\nwarning about invalid network settings (for example, if an instance\nattempts to perform IP forwarding but is not enabled for IP forwarding).", +"type": "string" +}, +"value": { +"description": "[Output Only] A warning data value corresponding to the key.", +"type": "string" +} +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "[Output Only] A human-readable description of the warning code.", +"type": "string" +} +}, +"readOnly": true, +"type": "object" +} +}, +"type": "object" +}, +"InstanceGroupsListInstancesRequest": { +"id": "InstanceGroupsListInstancesRequest", +"properties": { +"instanceState": { +"description": "A filter for the state of the instances in the instance group. Valid\noptions are ALL or RUNNING. If you do not specify\nthis parameter the list includes all instances regardless of their state.", +"enum": [ +"ALL", +"RUNNING" +], +"enumDescriptions": [ +"Includes all instances in the generated list regardless of their state.", +"Includes instances in the generated list only if they have a RUNNING\nstate." +], +"type": "string" +} +}, +"type": "object" +}, +"InstanceGroupsRemoveInstancesRequest": { +"id": "InstanceGroupsRemoveInstancesRequest", +"properties": { +"instances": { +"description": "The list of instances to remove from the instance group.", +"items": { +"$ref": "InstanceReference" +}, +"type": "array" +} +}, +"type": "object" +}, +"InstanceGroupsScopedList": { +"id": "InstanceGroupsScopedList", +"properties": { +"instanceGroups": { +"description": "Output only. [Output Only] The list ofinstance\ngroups that are contained in this scope.", +"items": { +"$ref": "InstanceGroup" +}, +"readOnly": true, +"type": "array" +}, +"warning": { +"description": "Output only. [Output Only] An informational warning that replaces the list of\ninstance groups when the list is empty.", +"properties": { +"code": { +"description": "[Output Only] A warning code, if applicable. For example, Compute\nEngine returns NO_RESULTS_ON_PAGE if there\nare no results in the response.", +"enum": [ +"CLEANUP_FAILED", +"DEPRECATED_RESOURCE_USED", +"DEPRECATED_TYPE_USED", +"DISK_SIZE_LARGER_THAN_IMAGE_SIZE", +"EXPERIMENTAL_TYPE_USED", +"EXTERNAL_API_WARNING", +"FIELD_VALUE_OVERRIDEN", +"INJECTED_KERNELS_DEPRECATED", +"INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", +"LARGE_DEPLOYMENT_WARNING", +"LIST_OVERHEAD_QUOTA_EXCEED", +"MISSING_TYPE_DEPENDENCY", +"NEXT_HOP_ADDRESS_NOT_ASSIGNED", +"NEXT_HOP_CANNOT_IP_FORWARD", +"NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", +"NEXT_HOP_INSTANCE_NOT_FOUND", +"NEXT_HOP_INSTANCE_NOT_ON_NETWORK", +"NEXT_HOP_NOT_RUNNING", +"NOT_CRITICAL_ERROR", +"NO_RESULTS_ON_PAGE", +"PARTIAL_SUCCESS", +"QUOTA_INFO_UNAVAILABLE", +"REQUIRED_TOS_AGREEMENT", +"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", +"RESOURCE_NOT_DELETED", +"SCHEMA_VALIDATION_IGNORED", +"SINGLE_INSTANCE_PROPERTY_TEMPLATE", +"UNDECLARED_PROPERTIES", +"UNREACHABLE" +], +"enumDeprecated": [ +false, +false, +false, +false, +false, +false, +true, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false +], +"enumDescriptions": [ +"Warning about failed cleanup of transient changes made by a failed\noperation.", +"A link to a deprecated resource was created.", +"When deploying and at least one of the resources has a type marked as\ndeprecated", +"The user created a boot disk that is larger than image size.", +"When deploying and at least one of the resources has a type marked as\nexperimental", +"Warning that is present in an external api call", +"Warning that value of a field has been overridden.\nDeprecated unused field.", +"The operation involved use of an injected kernel, which is deprecated.", +"A WEIGHTED_MAGLEV backend service is associated with a health check that is\nnot of type HTTP/HTTPS/HTTP2.", +"When deploying a deployment with a exceedingly large number of resources", +"Resource can't be retrieved due to list overhead quota exceed\nwhich captures the amount of resources filtered out by\nuser-defined list filter.", +"A resource depends on a missing type", +"The route's nextHopIp address is not assigned to an instance on the\nnetwork.", +"The route's next hop instance cannot ip forward.", +"The route's nextHopInstance URL refers to an instance that does not have an\nipv6 interface on the same network as the route.", +"The route's nextHopInstance URL refers to an instance that does not exist.", +"The route's nextHopInstance URL refers to an instance that is not on the\nsame network as the route.", +"The route's next hop instance does not have a status of RUNNING.", +"Error which is not critical. We decided to continue the process despite\nthe mentioned error.", +"No results are present on a particular list page.", +"Success is reported, but some results may be missing due to errors", +"Quota information is not available to client requests (e.g:\nregions.list).", +"The user attempted to use a resource that requires a TOS they have not\naccepted.", +"Warning that a resource is in use.", +"One or more of the resources set to auto-delete could not be deleted\nbecause they were in use.", +"When a resource schema validation is ignored.", +"Instance template used in instance group manager is valid as such, but\nits application does not make a lot of sense, because it allows only\nsingle instance in instance group.", +"When undeclared properties in the schema are present", +"A given scope cannot be reached." +], +"type": "string" +}, +"data": { +"description": "[Output Only] Metadata about this warning in key:\nvalue format. For example:\n\n\"data\": [\n {\n \"key\": \"scope\",\n \"value\": \"zones/us-east1-d\"\n }", +"items": { +"properties": { +"key": { +"description": "[Output Only] A key that provides more detail on the warning being\nreturned. For example, for warnings where there are no results in a list\nrequest for a particular zone, this key might be scope and\nthe key value might be the zone name. Other examples might be a key\nindicating a deprecated resource and a suggested replacement, or a\nwarning about invalid network settings (for example, if an instance\nattempts to perform IP forwarding but is not enabled for IP forwarding).", +"type": "string" +}, +"value": { +"description": "[Output Only] A warning data value corresponding to the key.", +"type": "string" +} +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "[Output Only] A human-readable description of the warning code.", +"type": "string" +} +}, +"readOnly": true, +"type": "object" +} +}, +"type": "object" +}, +"InstanceGroupsSetNamedPortsRequest": { +"id": "InstanceGroupsSetNamedPortsRequest", +"properties": { +"fingerprint": { +"description": "The fingerprint of the named ports information for this instance group.\nUse this optional property to prevent conflicts when multiple users change\nthe named ports settings concurrently. Obtain the fingerprint with theinstanceGroups.get\nmethod. Then, include the fingerprint in your request to ensure that you\ndo not overwrite changes that were applied from another concurrent request.\nA request with an incorrect fingerprint will fail with error412 conditionNotMet.", +"format": "byte", +"type": "string" +}, +"namedPorts": { +"description": "The list of named ports to set for this instance group.", +"items": { +"$ref": "NamedPort" +}, +"type": "array" +} +}, +"type": "object" +}, +"InstanceList": { +"description": "Contains a list of instances.", +"id": "InstanceList", +"properties": { +"id": { +"description": "[Output Only] Unique identifier for the resource; defined by the server.", +"type": "string" +}, +"items": { +"description": "A list of Instance resources.", +"items": { +"$ref": "Instance" +}, +"type": "array" +}, +"kind": { +"default": "compute#instanceList", +"description": "Output only. [Output Only] Type of resource. Always compute#instanceList\nfor lists of Instance resources.", +"readOnly": true, +"type": "string" +}, +"nextPageToken": { +"description": "[Output Only] This token allows you to get the next page of results for\nlist requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for\nthe query parameter pageToken in the next list request.\nSubsequent list requests will have their own nextPageToken to\ncontinue paging through the results.", +"type": "string" +}, +"selfLink": { +"description": "Output only. [Output Only] Server-defined URL for this resource.", +"readOnly": true, +"type": "string" +}, +"warning": { +"description": "[Output Only] Informational warning message.", +"properties": { +"code": { +"description": "[Output Only] A warning code, if applicable. For example, Compute\nEngine returns NO_RESULTS_ON_PAGE if there\nare no results in the response.", +"enum": [ +"CLEANUP_FAILED", +"DEPRECATED_RESOURCE_USED", +"DEPRECATED_TYPE_USED", +"DISK_SIZE_LARGER_THAN_IMAGE_SIZE", +"EXPERIMENTAL_TYPE_USED", +"EXTERNAL_API_WARNING", +"FIELD_VALUE_OVERRIDEN", +"INJECTED_KERNELS_DEPRECATED", +"INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", +"LARGE_DEPLOYMENT_WARNING", +"LIST_OVERHEAD_QUOTA_EXCEED", +"MISSING_TYPE_DEPENDENCY", +"NEXT_HOP_ADDRESS_NOT_ASSIGNED", +"NEXT_HOP_CANNOT_IP_FORWARD", +"NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", +"NEXT_HOP_INSTANCE_NOT_FOUND", +"NEXT_HOP_INSTANCE_NOT_ON_NETWORK", +"NEXT_HOP_NOT_RUNNING", +"NOT_CRITICAL_ERROR", +"NO_RESULTS_ON_PAGE", +"PARTIAL_SUCCESS", +"QUOTA_INFO_UNAVAILABLE", +"REQUIRED_TOS_AGREEMENT", +"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", +"RESOURCE_NOT_DELETED", +"SCHEMA_VALIDATION_IGNORED", +"SINGLE_INSTANCE_PROPERTY_TEMPLATE", +"UNDECLARED_PROPERTIES", +"UNREACHABLE" +], +"enumDeprecated": [ +false, +false, +false, +false, +false, +false, +true, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false +], +"enumDescriptions": [ +"Warning about failed cleanup of transient changes made by a failed\noperation.", +"A link to a deprecated resource was created.", +"When deploying and at least one of the resources has a type marked as\ndeprecated", +"The user created a boot disk that is larger than image size.", +"When deploying and at least one of the resources has a type marked as\nexperimental", +"Warning that is present in an external api call", +"Warning that value of a field has been overridden.\nDeprecated unused field.", +"The operation involved use of an injected kernel, which is deprecated.", +"A WEIGHTED_MAGLEV backend service is associated with a health check that is\nnot of type HTTP/HTTPS/HTTP2.", +"When deploying a deployment with a exceedingly large number of resources", +"Resource can't be retrieved due to list overhead quota exceed\nwhich captures the amount of resources filtered out by\nuser-defined list filter.", +"A resource depends on a missing type", +"The route's nextHopIp address is not assigned to an instance on the\nnetwork.", +"The route's next hop instance cannot ip forward.", +"The route's nextHopInstance URL refers to an instance that does not have an\nipv6 interface on the same network as the route.", +"The route's nextHopInstance URL refers to an instance that does not exist.", +"The route's nextHopInstance URL refers to an instance that is not on the\nsame network as the route.", +"The route's next hop instance does not have a status of RUNNING.", +"Error which is not critical. We decided to continue the process despite\nthe mentioned error.", +"No results are present on a particular list page.", +"Success is reported, but some results may be missing due to errors", +"Quota information is not available to client requests (e.g:\nregions.list).", +"The user attempted to use a resource that requires a TOS they have not\naccepted.", +"Warning that a resource is in use.", +"One or more of the resources set to auto-delete could not be deleted\nbecause they were in use.", +"When a resource schema validation is ignored.", +"Instance template used in instance group manager is valid as such, but\nits application does not make a lot of sense, because it allows only\nsingle instance in instance group.", +"When undeclared properties in the schema are present", +"A given scope cannot be reached." +], +"type": "string" +}, +"data": { +"description": "[Output Only] Metadata about this warning in key:\nvalue format. For example:\n\n\"data\": [\n {\n \"key\": \"scope\",\n \"value\": \"zones/us-east1-d\"\n }", +"items": { +"properties": { +"key": { +"description": "[Output Only] A key that provides more detail on the warning being\nreturned. For example, for warnings where there are no results in a list\nrequest for a particular zone, this key might be scope and\nthe key value might be the zone name. Other examples might be a key\nindicating a deprecated resource and a suggested replacement, or a\nwarning about invalid network settings (for example, if an instance\nattempts to perform IP forwarding but is not enabled for IP forwarding).", +"type": "string" +}, +"value": { +"description": "[Output Only] A warning data value corresponding to the key.", +"type": "string" +} +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "[Output Only] A human-readable description of the warning code.", +"type": "string" +} +}, +"type": "object" +} +}, +"type": "object" +}, +"InstanceListReferrers": { +"description": "Contains a list of instance referrers.", +"id": "InstanceListReferrers", +"properties": { +"id": { +"description": "[Output Only] Unique identifier for the resource; defined by the server.", +"type": "string" +}, +"items": { +"description": "A list of Reference resources.", +"items": { +"$ref": "Reference" +}, +"type": "array" +}, +"kind": { +"default": "compute#instanceListReferrers", +"description": "Output only. [Output Only] Type of resource. Alwayscompute#instanceListReferrers for lists of Instance referrers.", +"readOnly": true, +"type": "string" +}, +"nextPageToken": { +"description": "[Output Only] This token allows you to get the next page of results for\nlist requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for\nthe query parameter pageToken in the next list request.\nSubsequent list requests will have their own nextPageToken to\ncontinue paging through the results.", +"type": "string" +}, +"selfLink": { +"description": "Output only. [Output Only] Server-defined URL for this resource.", +"readOnly": true, +"type": "string" +}, +"warning": { +"description": "[Output Only] Informational warning message.", +"properties": { +"code": { +"description": "[Output Only] A warning code, if applicable. For example, Compute\nEngine returns NO_RESULTS_ON_PAGE if there\nare no results in the response.", +"enum": [ +"CLEANUP_FAILED", +"DEPRECATED_RESOURCE_USED", +"DEPRECATED_TYPE_USED", +"DISK_SIZE_LARGER_THAN_IMAGE_SIZE", +"EXPERIMENTAL_TYPE_USED", +"EXTERNAL_API_WARNING", +"FIELD_VALUE_OVERRIDEN", +"INJECTED_KERNELS_DEPRECATED", +"INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", +"LARGE_DEPLOYMENT_WARNING", +"LIST_OVERHEAD_QUOTA_EXCEED", +"MISSING_TYPE_DEPENDENCY", +"NEXT_HOP_ADDRESS_NOT_ASSIGNED", +"NEXT_HOP_CANNOT_IP_FORWARD", +"NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", +"NEXT_HOP_INSTANCE_NOT_FOUND", +"NEXT_HOP_INSTANCE_NOT_ON_NETWORK", +"NEXT_HOP_NOT_RUNNING", +"NOT_CRITICAL_ERROR", +"NO_RESULTS_ON_PAGE", +"PARTIAL_SUCCESS", +"QUOTA_INFO_UNAVAILABLE", +"REQUIRED_TOS_AGREEMENT", +"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", +"RESOURCE_NOT_DELETED", +"SCHEMA_VALIDATION_IGNORED", +"SINGLE_INSTANCE_PROPERTY_TEMPLATE", +"UNDECLARED_PROPERTIES", +"UNREACHABLE" +], +"enumDeprecated": [ +false, +false, +false, +false, +false, +false, +true, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false +], +"enumDescriptions": [ +"Warning about failed cleanup of transient changes made by a failed\noperation.", +"A link to a deprecated resource was created.", +"When deploying and at least one of the resources has a type marked as\ndeprecated", +"The user created a boot disk that is larger than image size.", +"When deploying and at least one of the resources has a type marked as\nexperimental", +"Warning that is present in an external api call", +"Warning that value of a field has been overridden.\nDeprecated unused field.", +"The operation involved use of an injected kernel, which is deprecated.", +"A WEIGHTED_MAGLEV backend service is associated with a health check that is\nnot of type HTTP/HTTPS/HTTP2.", +"When deploying a deployment with a exceedingly large number of resources", +"Resource can't be retrieved due to list overhead quota exceed\nwhich captures the amount of resources filtered out by\nuser-defined list filter.", +"A resource depends on a missing type", +"The route's nextHopIp address is not assigned to an instance on the\nnetwork.", +"The route's next hop instance cannot ip forward.", +"The route's nextHopInstance URL refers to an instance that does not have an\nipv6 interface on the same network as the route.", +"The route's nextHopInstance URL refers to an instance that does not exist.", +"The route's nextHopInstance URL refers to an instance that is not on the\nsame network as the route.", +"The route's next hop instance does not have a status of RUNNING.", +"Error which is not critical. We decided to continue the process despite\nthe mentioned error.", +"No results are present on a particular list page.", +"Success is reported, but some results may be missing due to errors", +"Quota information is not available to client requests (e.g:\nregions.list).", +"The user attempted to use a resource that requires a TOS they have not\naccepted.", +"Warning that a resource is in use.", +"One or more of the resources set to auto-delete could not be deleted\nbecause they were in use.", +"When a resource schema validation is ignored.", +"Instance template used in instance group manager is valid as such, but\nits application does not make a lot of sense, because it allows only\nsingle instance in instance group.", +"When undeclared properties in the schema are present", +"A given scope cannot be reached." +], +"type": "string" +}, +"data": { +"description": "[Output Only] Metadata about this warning in key:\nvalue format. For example:\n\n\"data\": [\n {\n \"key\": \"scope\",\n \"value\": \"zones/us-east1-d\"\n }", +"items": { +"properties": { +"key": { +"description": "[Output Only] A key that provides more detail on the warning being\nreturned. For example, for warnings where there are no results in a list\nrequest for a particular zone, this key might be scope and\nthe key value might be the zone name. Other examples might be a key\nindicating a deprecated resource and a suggested replacement, or a\nwarning about invalid network settings (for example, if an instance\nattempts to perform IP forwarding but is not enabled for IP forwarding).", +"type": "string" +}, +"value": { +"description": "[Output Only] A warning data value corresponding to the key.", +"type": "string" +} +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "[Output Only] A human-readable description of the warning code.", +"type": "string" +} +}, +"type": "object" +} +}, +"type": "object" +}, +"InstanceManagedByIgmError": { +"id": "InstanceManagedByIgmError", +"properties": { +"error": { +"$ref": "InstanceManagedByIgmErrorManagedInstanceError", +"description": "Output only. [Output Only] Contents of the error.", +"readOnly": true +}, +"instanceActionDetails": { +"$ref": "InstanceManagedByIgmErrorInstanceActionDetails", +"description": "Output only. [Output Only] Details of the instance action that triggered this error.\nMay be null, if the error was not caused by an action on an instance.\nThis field is optional.", +"readOnly": true +}, +"timestamp": { +"description": "Output only. [Output Only] The time that this error occurred.\nThis value is in RFC3339 text format.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"InstanceManagedByIgmErrorInstanceActionDetails": { +"id": "InstanceManagedByIgmErrorInstanceActionDetails", +"properties": { +"action": { +"description": "Output only. [Output Only] Action that managed instance group was executing on\nthe instance when the error occurred. Possible values:", +"enum": [ +"ABANDONING", +"ADOPTING", +"CREATING", +"CREATING_WITHOUT_RETRIES", +"DELETING", +"NONE", +"RECREATING", +"REFRESHING", +"RESTARTING", +"RESUMING", +"STARTING", +"STOPPING", +"SUSPENDING", +"VERIFYING" +], +"enumDescriptions": [ +"The managed instance group is abandoning this instance. The instance\nwill be removed from the instance group and from any target pools that\nare associated with this group.", +"The managed instance group is adopting this instance.", +"The managed instance group is creating this instance. If the group\nfails to create this instance, it will try again until it is\nsuccessful.", +"The managed instance group is attempting to create this instance\nonly once. If the group fails to create this instance, it does\nnot try again and the group's targetSize value is\ndecreased.", +"The managed instance group is permanently deleting this instance.", +"The managed instance group has not scheduled any actions for this\ninstance.", +"The managed instance group is recreating this instance.", +"The managed instance group is applying configuration changes to the\ninstance without stopping it. For example, the group can update the\ntarget pool list for an instance without stopping that instance.", +"The managed instance group is restarting this instance.", +"The managed instance group is resuming this instance.", +"The managed instance group is starting this instance.", +"The managed instance group is stopping this instance.", +"The managed instance group is suspending this instance.", +"The managed instance group is verifying this already created instance.\nVerification happens every time the instance is (re)created or restarted\nand consists of:\n 1. Waiting until health check specified as part of this managed instance\n group's autohealing policy reports HEALTHY.\n Note: Applies only if autohealing policy has a health check specified\n 2. Waiting for addition verification steps performed as post-instance\n creation (subject to future extensions)." +], +"readOnly": true, +"type": "string" +}, +"instance": { +"description": "Output only. [Output Only] The URL of the instance.\nThe URL can be set even if the instance has not yet been created.", +"readOnly": true, +"type": "string" +}, +"version": { +"$ref": "ManagedInstanceVersion", +"description": "Output only. [Output Only] Version this instance was created from, or was being\ncreated from, but the creation failed. Corresponds to one of the versions\nthat were set on the Instance Group Manager resource at the time this\ninstance was being created.", +"readOnly": true +} +}, +"type": "object" +}, +"InstanceManagedByIgmErrorManagedInstanceError": { +"id": "InstanceManagedByIgmErrorManagedInstanceError", +"properties": { +"code": { +"description": "Output only. [Output Only] Error code.", +"readOnly": true, +"type": "string" +}, +"message": { +"description": "Output only. [Output Only] Error message.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"InstanceMoveRequest": { +"id": "InstanceMoveRequest", +"properties": { +"destinationZone": { +"description": "The URL of the destination zone to move the instance. This can be a full or\npartial URL. For example, the following are all valid URLs to a zone:\n \n - https://www.googleapis.com/compute/v1/projects/project/zones/zone \n - projects/project/zones/zone \n - zones/zone", +"type": "string" +}, +"targetInstance": { +"description": "The URL of the target instance to move. This can be a full or partial URL.\nFor example, the following are all valid URLs to an instance:\n \n - https://www.googleapis.com/compute/v1/projects/project/zones/zone/instances/instance \n - projects/project/zones/zone/instances/instance \n - zones/zone/instances/instance", +"type": "string" +} +}, +"type": "object" +}, +"InstanceParams": { +"description": "Additional instance params.", +"id": "InstanceParams", +"properties": { +"requestValidForDuration": { +"$ref": "Duration", +"description": "Relative deadline for waiting for capacity. Relevant only for\nInstances.Insert API." +}, +"resourceManagerTags": { +"additionalProperties": { +"type": "string" +}, +"description": "Input only. Resource manager tags to be bound to the instance. Tag keys and values\nhave the same definition as resource\nmanager tags. Keys and values can be either in numeric format,\nsuch as `tagKeys/{tag_key_id}` and `tagValues/456` or in namespaced\nformat such as `{org_id|project_id}/{tag_key_short_name}` and\n`{tag_value_short_name}`. The field is ignored (both PUT &\nPATCH) when empty.", +"type": "object" +} +}, +"type": "object" +}, +"InstanceProperties": { +"id": "InstanceProperties", +"properties": { +"advancedMachineFeatures": { +"$ref": "AdvancedMachineFeatures", +"description": "Controls for advanced machine-related behavior features.\nNote that for MachineImage, this is not supported yet." +}, +"canIpForward": { +"description": "Enables instances created based on these properties to send packets with\nsource IP addresses other than their own and receive packets with\ndestination IP addresses other than their own. If these instances will be\nused as an IP gateway or it will be set as the next-hop in a Route\nresource, specify true. If unsure, leave this set tofalse. See theEnable IP forwarding\ndocumentation for more information.", +"type": "boolean" +}, +"confidentialInstanceConfig": { +"$ref": "ConfidentialInstanceConfig", +"description": "Specifies the Confidential Instance options.\nNote that for MachineImage, this is not supported yet." +}, +"description": { +"description": "An optional text description for the instances that are created from these\nproperties.", +"type": "string" +}, +"disks": { +"description": "An array of disks that are associated with the instances that are created\nfrom these properties.", +"items": { +"$ref": "AttachedDisk" +}, +"type": "array" +}, +"displayDevice": { +"$ref": "DisplayDevice", +"description": "Display Device properties to enable support\nfor remote display products like: Teradici,\nVNC and TeamViewer\nNote that for MachineImage, this is not supported yet." +}, +"guestAccelerators": { +"description": "A list of guest accelerator cards' type and count to use for instances\ncreated from these properties.", +"items": { +"$ref": "AcceleratorConfig" +}, +"type": "array" +}, +"keyRevocationActionType": { +"description": "KeyRevocationActionType of the instance. Supported options are \"STOP\" and\n\"NONE\". The default value is \"NONE\" if it is not specified.", +"enum": [ +"KEY_REVOCATION_ACTION_TYPE_UNSPECIFIED", +"NONE", +"STOP" +], +"enumDescriptions": [ +"Default value. This value is unused.", +"Indicates user chose no operation.", +"Indicates user chose to opt for VM shutdown on key revocation." +], +"type": "string" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Labels to apply to instances that are created from these properties.", +"type": "object" +}, +"machineType": { +"annotations": { +"required": [ +"compute.instanceTemplates.insert" +] +}, +"description": "The machine type to use for instances that are created from these\nproperties.\nThis field only accepts a machine type name, for example `n2-standard-4`.\nIf you use the machine type full or partial URL, for example\n`projects/my-l7ilb-project/zones/us-central1-a/machineTypes/n2-standard-4`,\nthe request will result in an `INTERNAL_ERROR`.", +"type": "string" +}, +"metadata": { +"$ref": "Metadata", +"description": "The metadata key/value pairs to assign to instances that are created from\nthese properties. These pairs can consist of custom metadata or predefined\nkeys. SeeProject and\ninstance metadata for more information." +}, +"minCpuPlatform": { +"description": "Minimum cpu/platform to be used by instances. The instance may be\nscheduled on the specified or newer cpu/platform. Applicable values are the\nfriendly names of CPU platforms, such asminCpuPlatform: \"Intel Haswell\" orminCpuPlatform: \"Intel Sandy Bridge\". For more\ninformation, read Specifying a\nMinimum CPU Platform.", +"type": "string" +}, +"networkInterfaces": { +"description": "An array of network access configurations for this interface.", +"items": { +"$ref": "NetworkInterface" +}, +"type": "array" +}, +"networkPerformanceConfig": { +"$ref": "NetworkPerformanceConfig", +"description": "Note that for MachineImage, this is not supported yet." +}, +"partnerMetadata": { +"additionalProperties": { +"$ref": "StructuredEntries" +}, +"description": "Partner Metadata assigned to the instance properties. A map from a\nsubdomain (namespace) to entries map.", +"type": "object" +}, +"postKeyRevocationActionType": { +"description": "PostKeyRevocationActionType of the instance.", +"enum": [ +"NOOP", +"POST_KEY_REVOCATION_ACTION_TYPE_UNSPECIFIED", +"SHUTDOWN" +], +"enumDescriptions": [ +"Indicates user chose no operation.", +"Default value. This value is unused.", +"Indicates user chose to opt for VM shutdown on key revocation." +], +"type": "string" +}, +"privateIpv6GoogleAccess": { +"description": "The private IPv6 google access type for VMs.\nIf not specified, use INHERIT_FROM_SUBNETWORK as default.\nNote that for MachineImage, this is not supported yet.", +"enum": [ +"ENABLE_BIDIRECTIONAL_ACCESS_TO_GOOGLE", +"ENABLE_OUTBOUND_VM_ACCESS_TO_GOOGLE", +"INHERIT_FROM_SUBNETWORK" +], +"enumDescriptions": [ +"Bidirectional private IPv6 access to/from Google services. If\nspecified, the subnetwork who is attached to the instance's default network\ninterface will be assigned an internal IPv6 prefix if it doesn't have\nbefore.", +"Outbound private IPv6 access from VMs in this subnet to Google services. If\nspecified, the subnetwork who is attached to the instance's default network\ninterface will be assigned an internal IPv6 prefix if it doesn't have\nbefore.", +"Each network interface inherits PrivateIpv6GoogleAccess from its\nsubnetwork." +], +"type": "string" +}, +"reservationAffinity": { +"$ref": "ReservationAffinity", +"description": "Specifies the reservations that instances can consume from.\nNote that for MachineImage, this is not supported yet." +}, +"resourceManagerTags": { +"additionalProperties": { +"type": "string" +}, +"description": "Input only. Resource manager tags to be bound to the instance. Tag keys and values\nhave the same definition as resource\nmanager tags. Keys must be in the format `tagKeys/{tag_key_id}`, and\nvalues are in the format `tagValues/456`. The field is ignored (both PUT &\nPATCH) when empty.", +"type": "object" +}, +"resourcePolicies": { +"description": "Resource policies (names, not URLs) applied to instances created from\nthese properties.\nNote that for MachineImage, this is not supported yet.", +"items": { +"type": "string" +}, +"type": "array" +}, +"scheduling": { +"$ref": "Scheduling", +"description": "Specifies the scheduling options for the instances that are created from\nthese properties." +}, +"serviceAccounts": { +"description": "A list of service accounts with specified scopes. Access tokens for these\nservice accounts are available to the instances that are created from\nthese properties. Use metadata queries to obtain the access tokens for\nthese instances.", +"items": { +"$ref": "ServiceAccount" +}, +"type": "array" +}, +"shieldedInstanceConfig": { +"$ref": "ShieldedInstanceConfig", +"description": "Note that for MachineImage, this is not supported yet." +}, +"shieldedVmConfig": { +"$ref": "ShieldedVmConfig", +"description": "Specifies the Shielded VM options for the instances that are created from\nthese properties." +}, +"tags": { +"$ref": "Tags", +"description": "A list of tags to apply to the instances that are created from these\nproperties. The tags identify valid sources or targets for network\nfirewalls. The setTags method can modify this list of tags. Each tag within\nthe list must comply with RFC1035." +}, +"workloadIdentityConfig": { +"$ref": "WorkloadIdentityConfig" +} +}, +"type": "object" +}, +"InstancePropertiesPatch": { +"description": "Represents the change that you want to make to the instance properties.", +"id": "InstancePropertiesPatch", +"properties": { +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "The label key-value pairs that you want to patch onto the instance.", +"type": "object" +}, +"metadata": { +"additionalProperties": { +"type": "string" +}, +"description": "The metadata key-value pairs that you want to patch onto the instance. For\nmore information, see Project and\ninstance metadata.", +"type": "object" +} +}, +"type": "object" +}, +"InstanceReference": { +"id": "InstanceReference", +"properties": { +"instance": { +"description": "The URL for a specific instance.\n@required compute.instancegroups.addInstances/removeInstances", +"type": "string" +} +}, +"type": "object" +}, +"InstanceSettings": { +"description": "Represents a Instance Settings resource. You can use instance settings to\nconfigure default settings for Compute Engine VM instances. For example, you\ncan use it to configure default machine type of Compute Engine VM instances.", +"id": "InstanceSettings", +"properties": { +"fingerprint": { +"description": "Specifies a fingerprint for instance settings, which is essentially a hash\nof the instance settings resource's contents and used for optimistic\nlocking. The fingerprint is initially generated by Compute Engine and\nchanges after every request to modify or update the instance settings\nresource. You must always provide an up-to-date fingerprint hash in order\nto update or change the resource, otherwise the request will fail with\nerror 412 conditionNotMet.\n\nTo see the latest fingerprint, make a get() request to\nretrieve the resource.", +"format": "byte", +"type": "string" +}, +"kind": { +"default": "compute#instanceSettings", +"description": "Output only. [Output Only] Type of the resource. Alwayscompute#instance_settings for instance settings.", +"readOnly": true, +"type": "string" +}, +"metadata": { +"$ref": "InstanceSettingsMetadata", +"description": "The metadata key/value pairs assigned to all the instances in the\ncorresponding scope." +}, +"zone": { +"description": "Output only. [Output Only] URL of the zone where the resource resides\nYou must specify this field as part of the HTTP request URL. It is not\nsettable as a field in the request body.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"InstanceSettingsMetadata": { +"id": "InstanceSettingsMetadata", +"properties": { +"items": { +"additionalProperties": { +"type": "string" +}, +"description": "A metadata key/value items map.\nThe total size of all keys and values must be less than 512KB.", +"type": "object" +}, +"kind": { +"default": "compute#metadata", +"description": "Output only. [Output Only] Type of the resource. Always compute#metadata\nfor metadata.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"InstanceTemplate": { +"description": "Represents an Instance Template resource.\n\nGoogle Compute Engine has two Instance Template resources:\n\n* [Global](/compute/docs/reference/rest/beta/instanceTemplates)\n* [Regional](/compute/docs/reference/rest/beta/regionInstanceTemplates)\n\nYou can reuse a global instance template in\ndifferent regions whereas you can use a regional instance template in a\nspecified region only. If you want to reduce cross-region dependency or\nachieve data residency, use a regional instance template.\n\nTo create VMs, managed instance groups, and reservations, you can use either\nglobal or regional instance templates.\n\nFor more information, readInstance Templates.", +"id": "InstanceTemplate", +"properties": { +"creationTimestamp": { +"description": "Output only. [Output Only] The creation timestamp for this instance template inRFC3339\ntext format.", +"readOnly": true, +"type": "string" +}, +"description": { +"description": "An optional description of this resource. Provide this property when you\ncreate the resource.", +"type": "string" +}, +"id": { +"description": "Output only. [Output Only] A unique identifier for this instance template. The server\ndefines this identifier.", +"format": "uint64", +"readOnly": true, +"type": "string" +}, +"kind": { +"default": "compute#instanceTemplate", +"description": "Output only. [Output Only] The resource type, which is alwayscompute#instanceTemplate for instance templates.", +"readOnly": true, +"type": "string" +}, +"name": { +"annotations": { +"required": [ +"compute.instanceTemplates.insert" +] +}, +"description": "Name of the resource; provided by the client when the resource is created.\nThe name must be 1-63 characters long, and comply withRFC1035.\nSpecifically, the name must be 1-63 characters long and match the regular\nexpression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first\ncharacter must be a lowercase letter, and all following characters must be\na dash, lowercase letter, or digit, except the last character, which cannot\nbe a dash.", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"type": "string" +}, +"properties": { +"$ref": "InstanceProperties", +"description": "The instance properties for this instance template." +}, +"region": { +"description": "Output only. [Output Only] URL of the region where the instance template resides. Only\napplicable for regional resources.", +"readOnly": true, +"type": "string" +}, +"selfLink": { +"description": "Output only. [Output Only] The URL for this instance template. The server defines this\nURL.", +"readOnly": true, +"type": "string" +}, +"sourceInstance": { +"description": "The source instance used to create the template. You can provide this as a\npartial or full URL to the resource. For example, the following are valid\nvalues:\n \n \n - https://www.googleapis.com/compute/v1/projects/project/zones/zone/instances/instance \n - projects/project/zones/zone/instances/instance", +"type": "string" +}, +"sourceInstanceParams": { +"$ref": "SourceInstanceParams", +"description": "The source instance params to use to create this instance template." +} +}, +"type": "object" +}, +"InstanceTemplateAggregatedList": { +"description": "Contains a list of InstanceTemplatesScopedList.", +"id": "InstanceTemplateAggregatedList", +"properties": { +"id": { +"description": "[Output Only] Unique identifier for the resource; defined by the server.", +"type": "string" +}, +"items": { +"additionalProperties": { +"$ref": "InstanceTemplatesScopedList", +"description": "The name of the scope that contains this set of instance templates." +}, +"description": "A list of InstanceTemplatesScopedList resources.", +"type": "object" +}, +"kind": { +"default": "compute#instanceTemplateAggregatedList", +"description": "Output only. Type of resource.", +"readOnly": true, +"type": "string" +}, +"nextPageToken": { +"description": "[Output Only] This token allows you to get the next page of results for\nlist requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for\nthe query parameter pageToken in the next list request.\nSubsequent list requests will have their own nextPageToken to\ncontinue paging through the results.", +"type": "string" +}, +"selfLink": { +"description": "Output only. [Output Only] Server-defined URL for this resource.", +"readOnly": true, +"type": "string" +}, +"warning": { +"description": "[Output Only] Informational warning message.", +"properties": { +"code": { +"description": "[Output Only] A warning code, if applicable. For example, Compute\nEngine returns NO_RESULTS_ON_PAGE if there\nare no results in the response.", +"enum": [ +"CLEANUP_FAILED", +"DEPRECATED_RESOURCE_USED", +"DEPRECATED_TYPE_USED", +"DISK_SIZE_LARGER_THAN_IMAGE_SIZE", +"EXPERIMENTAL_TYPE_USED", +"EXTERNAL_API_WARNING", +"FIELD_VALUE_OVERRIDEN", +"INJECTED_KERNELS_DEPRECATED", +"INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", +"LARGE_DEPLOYMENT_WARNING", +"LIST_OVERHEAD_QUOTA_EXCEED", +"MISSING_TYPE_DEPENDENCY", +"NEXT_HOP_ADDRESS_NOT_ASSIGNED", +"NEXT_HOP_CANNOT_IP_FORWARD", +"NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", +"NEXT_HOP_INSTANCE_NOT_FOUND", +"NEXT_HOP_INSTANCE_NOT_ON_NETWORK", +"NEXT_HOP_NOT_RUNNING", +"NOT_CRITICAL_ERROR", +"NO_RESULTS_ON_PAGE", +"PARTIAL_SUCCESS", +"QUOTA_INFO_UNAVAILABLE", +"REQUIRED_TOS_AGREEMENT", +"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", +"RESOURCE_NOT_DELETED", +"SCHEMA_VALIDATION_IGNORED", +"SINGLE_INSTANCE_PROPERTY_TEMPLATE", +"UNDECLARED_PROPERTIES", +"UNREACHABLE" +], +"enumDeprecated": [ +false, +false, +false, +false, +false, +false, +true, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false +], +"enumDescriptions": [ +"Warning about failed cleanup of transient changes made by a failed\noperation.", +"A link to a deprecated resource was created.", +"When deploying and at least one of the resources has a type marked as\ndeprecated", +"The user created a boot disk that is larger than image size.", +"When deploying and at least one of the resources has a type marked as\nexperimental", +"Warning that is present in an external api call", +"Warning that value of a field has been overridden.\nDeprecated unused field.", +"The operation involved use of an injected kernel, which is deprecated.", +"A WEIGHTED_MAGLEV backend service is associated with a health check that is\nnot of type HTTP/HTTPS/HTTP2.", +"When deploying a deployment with a exceedingly large number of resources", +"Resource can't be retrieved due to list overhead quota exceed\nwhich captures the amount of resources filtered out by\nuser-defined list filter.", +"A resource depends on a missing type", +"The route's nextHopIp address is not assigned to an instance on the\nnetwork.", +"The route's next hop instance cannot ip forward.", +"The route's nextHopInstance URL refers to an instance that does not have an\nipv6 interface on the same network as the route.", +"The route's nextHopInstance URL refers to an instance that does not exist.", +"The route's nextHopInstance URL refers to an instance that is not on the\nsame network as the route.", +"The route's next hop instance does not have a status of RUNNING.", +"Error which is not critical. We decided to continue the process despite\nthe mentioned error.", +"No results are present on a particular list page.", +"Success is reported, but some results may be missing due to errors", +"Quota information is not available to client requests (e.g:\nregions.list).", +"The user attempted to use a resource that requires a TOS they have not\naccepted.", +"Warning that a resource is in use.", +"One or more of the resources set to auto-delete could not be deleted\nbecause they were in use.", +"When a resource schema validation is ignored.", +"Instance template used in instance group manager is valid as such, but\nits application does not make a lot of sense, because it allows only\nsingle instance in instance group.", +"When undeclared properties in the schema are present", +"A given scope cannot be reached." +], +"type": "string" +}, +"data": { +"description": "[Output Only] Metadata about this warning in key:\nvalue format. For example:\n\n\"data\": [\n {\n \"key\": \"scope\",\n \"value\": \"zones/us-east1-d\"\n }", +"items": { +"properties": { +"key": { +"description": "[Output Only] A key that provides more detail on the warning being\nreturned. For example, for warnings where there are no results in a list\nrequest for a particular zone, this key might be scope and\nthe key value might be the zone name. Other examples might be a key\nindicating a deprecated resource and a suggested replacement, or a\nwarning about invalid network settings (for example, if an instance\nattempts to perform IP forwarding but is not enabled for IP forwarding).", +"type": "string" +}, +"value": { +"description": "[Output Only] A warning data value corresponding to the key.", +"type": "string" +} +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "[Output Only] A human-readable description of the warning code.", +"type": "string" +} +}, +"type": "object" +} +}, +"type": "object" +}, +"InstanceTemplateList": { +"description": "A list of instance templates.", +"id": "InstanceTemplateList", +"properties": { +"id": { +"description": "[Output Only] Unique identifier for the resource; defined by the server.", +"type": "string" +}, +"items": { +"description": "A list of InstanceTemplate resources.", +"items": { +"$ref": "InstanceTemplate" +}, +"type": "array" +}, +"kind": { +"default": "compute#instanceTemplateList", +"description": "Output only. [Output Only] The resource type, which is alwayscompute#instanceTemplatesListResponse for instance template\nlists.", +"readOnly": true, +"type": "string" +}, +"nextPageToken": { +"description": "[Output Only] This token allows you to get the next page of results for\nlist requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for\nthe query parameter pageToken in the next list request.\nSubsequent list requests will have their own nextPageToken to\ncontinue paging through the results.", +"type": "string" +}, +"selfLink": { +"description": "Output only. [Output Only] Server-defined URL for this resource.", +"readOnly": true, +"type": "string" +}, +"warning": { +"description": "[Output Only] Informational warning message.", +"properties": { +"code": { +"description": "[Output Only] A warning code, if applicable. For example, Compute\nEngine returns NO_RESULTS_ON_PAGE if there\nare no results in the response.", +"enum": [ +"CLEANUP_FAILED", +"DEPRECATED_RESOURCE_USED", +"DEPRECATED_TYPE_USED", +"DISK_SIZE_LARGER_THAN_IMAGE_SIZE", +"EXPERIMENTAL_TYPE_USED", +"EXTERNAL_API_WARNING", +"FIELD_VALUE_OVERRIDEN", +"INJECTED_KERNELS_DEPRECATED", +"INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", +"LARGE_DEPLOYMENT_WARNING", +"LIST_OVERHEAD_QUOTA_EXCEED", +"MISSING_TYPE_DEPENDENCY", +"NEXT_HOP_ADDRESS_NOT_ASSIGNED", +"NEXT_HOP_CANNOT_IP_FORWARD", +"NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", +"NEXT_HOP_INSTANCE_NOT_FOUND", +"NEXT_HOP_INSTANCE_NOT_ON_NETWORK", +"NEXT_HOP_NOT_RUNNING", +"NOT_CRITICAL_ERROR", +"NO_RESULTS_ON_PAGE", +"PARTIAL_SUCCESS", +"QUOTA_INFO_UNAVAILABLE", +"REQUIRED_TOS_AGREEMENT", +"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", +"RESOURCE_NOT_DELETED", +"SCHEMA_VALIDATION_IGNORED", +"SINGLE_INSTANCE_PROPERTY_TEMPLATE", +"UNDECLARED_PROPERTIES", +"UNREACHABLE" +], +"enumDeprecated": [ +false, +false, +false, +false, +false, +false, +true, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false +], +"enumDescriptions": [ +"Warning about failed cleanup of transient changes made by a failed\noperation.", +"A link to a deprecated resource was created.", +"When deploying and at least one of the resources has a type marked as\ndeprecated", +"The user created a boot disk that is larger than image size.", +"When deploying and at least one of the resources has a type marked as\nexperimental", +"Warning that is present in an external api call", +"Warning that value of a field has been overridden.\nDeprecated unused field.", +"The operation involved use of an injected kernel, which is deprecated.", +"A WEIGHTED_MAGLEV backend service is associated with a health check that is\nnot of type HTTP/HTTPS/HTTP2.", +"When deploying a deployment with a exceedingly large number of resources", +"Resource can't be retrieved due to list overhead quota exceed\nwhich captures the amount of resources filtered out by\nuser-defined list filter.", +"A resource depends on a missing type", +"The route's nextHopIp address is not assigned to an instance on the\nnetwork.", +"The route's next hop instance cannot ip forward.", +"The route's nextHopInstance URL refers to an instance that does not have an\nipv6 interface on the same network as the route.", +"The route's nextHopInstance URL refers to an instance that does not exist.", +"The route's nextHopInstance URL refers to an instance that is not on the\nsame network as the route.", +"The route's next hop instance does not have a status of RUNNING.", +"Error which is not critical. We decided to continue the process despite\nthe mentioned error.", +"No results are present on a particular list page.", +"Success is reported, but some results may be missing due to errors", +"Quota information is not available to client requests (e.g:\nregions.list).", +"The user attempted to use a resource that requires a TOS they have not\naccepted.", +"Warning that a resource is in use.", +"One or more of the resources set to auto-delete could not be deleted\nbecause they were in use.", +"When a resource schema validation is ignored.", +"Instance template used in instance group manager is valid as such, but\nits application does not make a lot of sense, because it allows only\nsingle instance in instance group.", +"When undeclared properties in the schema are present", +"A given scope cannot be reached." +], +"type": "string" +}, +"data": { +"description": "[Output Only] Metadata about this warning in key:\nvalue format. For example:\n\n\"data\": [\n {\n \"key\": \"scope\",\n \"value\": \"zones/us-east1-d\"\n }", +"items": { +"properties": { +"key": { +"description": "[Output Only] A key that provides more detail on the warning being\nreturned. For example, for warnings where there are no results in a list\nrequest for a particular zone, this key might be scope and\nthe key value might be the zone name. Other examples might be a key\nindicating a deprecated resource and a suggested replacement, or a\nwarning about invalid network settings (for example, if an instance\nattempts to perform IP forwarding but is not enabled for IP forwarding).", +"type": "string" +}, +"value": { +"description": "[Output Only] A warning data value corresponding to the key.", +"type": "string" +} +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "[Output Only] A human-readable description of the warning code.", +"type": "string" +} +}, +"type": "object" +} +}, +"type": "object" +}, +"InstanceTemplatesScopedList": { +"id": "InstanceTemplatesScopedList", +"properties": { +"instanceTemplates": { +"description": "[Output Only] A list of instance templates that are contained within\nthe specified project and zone.", +"items": { +"$ref": "InstanceTemplate" +}, +"type": "array" +}, +"warning": { +"description": "[Output Only] An informational warning that replaces the list of instance\ntemplates when the list is empty.", +"properties": { +"code": { +"description": "[Output Only] A warning code, if applicable. For example, Compute\nEngine returns NO_RESULTS_ON_PAGE if there\nare no results in the response.", +"enum": [ +"CLEANUP_FAILED", +"DEPRECATED_RESOURCE_USED", +"DEPRECATED_TYPE_USED", +"DISK_SIZE_LARGER_THAN_IMAGE_SIZE", +"EXPERIMENTAL_TYPE_USED", +"EXTERNAL_API_WARNING", +"FIELD_VALUE_OVERRIDEN", +"INJECTED_KERNELS_DEPRECATED", +"INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", +"LARGE_DEPLOYMENT_WARNING", +"LIST_OVERHEAD_QUOTA_EXCEED", +"MISSING_TYPE_DEPENDENCY", +"NEXT_HOP_ADDRESS_NOT_ASSIGNED", +"NEXT_HOP_CANNOT_IP_FORWARD", +"NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", +"NEXT_HOP_INSTANCE_NOT_FOUND", +"NEXT_HOP_INSTANCE_NOT_ON_NETWORK", +"NEXT_HOP_NOT_RUNNING", +"NOT_CRITICAL_ERROR", +"NO_RESULTS_ON_PAGE", +"PARTIAL_SUCCESS", +"QUOTA_INFO_UNAVAILABLE", +"REQUIRED_TOS_AGREEMENT", +"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", +"RESOURCE_NOT_DELETED", +"SCHEMA_VALIDATION_IGNORED", +"SINGLE_INSTANCE_PROPERTY_TEMPLATE", +"UNDECLARED_PROPERTIES", +"UNREACHABLE" +], +"enumDeprecated": [ +false, +false, +false, +false, +false, +false, +true, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false +], +"enumDescriptions": [ +"Warning about failed cleanup of transient changes made by a failed\noperation.", +"A link to a deprecated resource was created.", +"When deploying and at least one of the resources has a type marked as\ndeprecated", +"The user created a boot disk that is larger than image size.", +"When deploying and at least one of the resources has a type marked as\nexperimental", +"Warning that is present in an external api call", +"Warning that value of a field has been overridden.\nDeprecated unused field.", +"The operation involved use of an injected kernel, which is deprecated.", +"A WEIGHTED_MAGLEV backend service is associated with a health check that is\nnot of type HTTP/HTTPS/HTTP2.", +"When deploying a deployment with a exceedingly large number of resources", +"Resource can't be retrieved due to list overhead quota exceed\nwhich captures the amount of resources filtered out by\nuser-defined list filter.", +"A resource depends on a missing type", +"The route's nextHopIp address is not assigned to an instance on the\nnetwork.", +"The route's next hop instance cannot ip forward.", +"The route's nextHopInstance URL refers to an instance that does not have an\nipv6 interface on the same network as the route.", +"The route's nextHopInstance URL refers to an instance that does not exist.", +"The route's nextHopInstance URL refers to an instance that is not on the\nsame network as the route.", +"The route's next hop instance does not have a status of RUNNING.", +"Error which is not critical. We decided to continue the process despite\nthe mentioned error.", +"No results are present on a particular list page.", +"Success is reported, but some results may be missing due to errors", +"Quota information is not available to client requests (e.g:\nregions.list).", +"The user attempted to use a resource that requires a TOS they have not\naccepted.", +"Warning that a resource is in use.", +"One or more of the resources set to auto-delete could not be deleted\nbecause they were in use.", +"When a resource schema validation is ignored.", +"Instance template used in instance group manager is valid as such, but\nits application does not make a lot of sense, because it allows only\nsingle instance in instance group.", +"When undeclared properties in the schema are present", +"A given scope cannot be reached." +], +"type": "string" +}, +"data": { +"description": "[Output Only] Metadata about this warning in key:\nvalue format. For example:\n\n\"data\": [\n {\n \"key\": \"scope\",\n \"value\": \"zones/us-east1-d\"\n }", +"items": { +"properties": { +"key": { +"description": "[Output Only] A key that provides more detail on the warning being\nreturned. For example, for warnings where there are no results in a list\nrequest for a particular zone, this key might be scope and\nthe key value might be the zone name. Other examples might be a key\nindicating a deprecated resource and a suggested replacement, or a\nwarning about invalid network settings (for example, if an instance\nattempts to perform IP forwarding but is not enabled for IP forwarding).", +"type": "string" +}, +"value": { +"description": "[Output Only] A warning data value corresponding to the key.", +"type": "string" +} +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "[Output Only] A human-readable description of the warning code.", +"type": "string" +} +}, +"type": "object" +} +}, +"type": "object" +}, +"InstanceWithNamedPorts": { +"id": "InstanceWithNamedPorts", +"properties": { +"instance": { +"description": "Output only. [Output Only] The URL of the instance.", +"readOnly": true, +"type": "string" +}, +"namedPorts": { +"description": "Output only. [Output Only] The named ports that belong to this instance group.", +"items": { +"$ref": "NamedPort" +}, +"readOnly": true, +"type": "array" +}, +"status": { +"description": "Output only. [Output Only] The status of the instance.", +"enum": [ +"DEPROVISIONING", +"PENDING", +"PENDING_STOP", +"PROVISIONING", +"REPAIRING", +"RUNNING", +"STAGING", +"STOPPED", +"STOPPING", +"SUSPENDED", +"SUSPENDING", +"TERMINATED" +], +"enumDescriptions": [ +"The instance is halted and we are performing tear down tasks like network\ndeprogramming, releasing quota, IP, tearing down disks etc.", +"For Flex Start provisioning instance is waiting for available capacity\nfrom Dynamic Workload Scheduler (DWS).", +"The instance is gracefully shutting down.", +"Resources are being allocated for the instance.", +"The instance is in repair.", +"The instance is running.", +"All required resources have been allocated and the instance\nis being started.", +"The instance has stopped successfully.", +"The instance is currently stopping (either being deleted or killed).", +"The instance has suspended.", +"The instance is suspending.", +"The instance has stopped (either by explicit action or underlying\nfailure)." +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"InstancesAddResourcePoliciesRequest": { +"id": "InstancesAddResourcePoliciesRequest", +"properties": { +"resourcePolicies": { +"description": "Resource policies to be added to this instance.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"InstancesBulkInsertOperationMetadata": { +"id": "InstancesBulkInsertOperationMetadata", +"properties": { +"perLocationStatus": { +"additionalProperties": { +"$ref": "BulkInsertOperationStatus" +}, +"description": "Status information per location (location name is key).\nExample key: zones/us-central1-a", +"type": "object" +} +}, +"type": "object" +}, +"InstancesGetEffectiveFirewallsResponse": { +"id": "InstancesGetEffectiveFirewallsResponse", +"properties": { +"firewallPolicys": { +"description": "[Output Only] Effective firewalls from firewall policies.", +"items": { +"$ref": "InstancesGetEffectiveFirewallsResponseEffectiveFirewallPolicy" +}, +"type": "array" +}, +"firewalls": { +"description": "Effective firewalls on the instance.", +"items": { +"$ref": "Firewall" +}, +"type": "array" +}, +"organizationFirewalls": { +"description": "Effective firewalls from organization policies.", +"items": { +"$ref": "InstancesGetEffectiveFirewallsResponseOrganizationFirewallPolicy" +}, +"type": "array" +} +}, +"type": "object" +}, +"InstancesGetEffectiveFirewallsResponseEffectiveFirewallPolicy": { +"id": "InstancesGetEffectiveFirewallsResponseEffectiveFirewallPolicy", +"properties": { +"displayName": { +"deprecated": true, +"description": "Output only. [Output Only] Deprecated, please use short name instead. The display name\nof the firewall policy.", +"readOnly": true, +"type": "string" +}, +"name": { +"description": "Output only. [Output Only] The name of the firewall policy.", +"readOnly": true, +"type": "string" +}, +"packetMirroringRules": { +"description": "Output only. [Output Only] The packet mirroring rules that apply to the instance.", +"items": { +"$ref": "FirewallPolicyRule" +}, +"readOnly": true, +"type": "array" +}, +"priority": { +"description": "Output only. [Output only] Priority of firewall policy association. Not applicable for\ntype=HIERARCHY.", +"format": "int32", +"readOnly": true, +"type": "integer" +}, +"rules": { +"description": "[Output Only] The rules that apply to the instance. Only rules that\ntarget the specific VM instance are returned if target service accounts\nor target secure tags are specified in the rules.", +"items": { +"$ref": "FirewallPolicyRule" +}, +"type": "array" +}, +"shortName": { +"description": "Output only. [Output Only] The short name of the firewall policy.", +"readOnly": true, +"type": "string" +}, +"type": { +"description": "Output only. [Output Only] The type of the firewall policy. Can be one of HIERARCHY,\nNETWORK, NETWORK_REGIONAL, SYSTEM_GLOBAL, SYSTEM_REGIONAL.", +"enum": [ +"HIERARCHY", +"NETWORK", +"NETWORK_REGIONAL", +"SYSTEM_GLOBAL", +"SYSTEM_REGIONAL", +"UNSPECIFIED" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"" +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"InstancesGetEffectiveFirewallsResponseOrganizationFirewallPolicy": { +"description": "A pruned SecurityPolicy containing ID and any applicable firewall rules.", +"id": "InstancesGetEffectiveFirewallsResponseOrganizationFirewallPolicy", +"properties": { +"id": { +"description": "Output only. The unique identifier for the security policy. This\nidentifier is defined by the server.", +"format": "uint64", +"readOnly": true, +"type": "string" +}, +"rules": { +"description": "The rules that apply to the network.", +"items": { +"$ref": "SecurityPolicyRule" +}, +"type": "array" +} +}, +"type": "object" +}, +"InstancesRemoveResourcePoliciesRequest": { +"id": "InstancesRemoveResourcePoliciesRequest", +"properties": { +"resourcePolicies": { +"description": "Resource policies to be removed from this instance.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"InstancesReportHostAsFaultyRequest": { +"id": "InstancesReportHostAsFaultyRequest", +"properties": { +"disruptionSchedule": { +"description": "The disruption schedule for the VM. Required field, only allows IMMEDIATE.", +"enum": [ +"DISRUPTION_SCHEDULE_UNSPECIFIED", +"FUTURE", +"IMMEDIATE" +], +"enumDescriptions": [ +"Not used. Required as per aip/126.", +"Delay disruption for caller control. Will be default soon.", +"Default value. Disrupt the VM immediately." +], +"type": "string" +}, +"faultReasons": { +"items": { +"$ref": "InstancesReportHostAsFaultyRequestFaultReason" +}, +"type": "array" +} +}, +"type": "object" +}, +"InstancesReportHostAsFaultyRequestFaultReason": { +"id": "InstancesReportHostAsFaultyRequestFaultReason", +"properties": { +"behavior": { +"enum": [ +"BEHAVIOR_UNSPECIFIED", +"CHIP_ERROR", +"PERFORMANCE", +"SILENT_DATA_CORRUPTION", +"UNRECOVERABLE_GPU_ERROR" +], +"enumDescriptions": [ +"Public reportable behaviors", +"Any GPU or TPU errors or faults where the accelerator becomes unusable", +"", +"", +"Unrecoverable GPU error identified by an XID" +], +"type": "string" +}, +"description": { +"type": "string" +} +}, +"type": "object" +}, +"InstancesResumeRequest": { +"id": "InstancesResumeRequest", +"properties": { +"disks": { +"description": "Array of disks associated with this instance that are protected with acustomer-supplied\nencryption key.\n\nIn order to resume the instance, the disk url and its corresponding key\nmust be provided.\n\nIf the disk is not protected with a customer-supplied encryption key it\nshould not be specified.", +"items": { +"$ref": "CustomerEncryptionKeyProtectedDisk" +}, +"type": "array" +}, +"instanceEncryptionKey": { +"$ref": "CustomerEncryptionKey", +"description": "Decrypts data associated with an instance that is protected with acustomer-supplied\nencryption key.\n\nIf the instance you are starting is protected with a customer-supplied\nencryption key, the correct key must be provided otherwise the\ninstance resume will not succeed." +} +}, +"type": "object" +}, +"InstancesScopedList": { +"id": "InstancesScopedList", +"properties": { +"instances": { +"description": "[Output Only] A list of instances contained in this scope.", +"items": { +"$ref": "Instance" +}, +"type": "array" +}, +"warning": { +"description": "[Output Only] Informational warning which replaces the list of instances\nwhen the list is empty.", +"properties": { +"code": { +"description": "[Output Only] A warning code, if applicable. For example, Compute\nEngine returns NO_RESULTS_ON_PAGE if there\nare no results in the response.", +"enum": [ +"CLEANUP_FAILED", +"DEPRECATED_RESOURCE_USED", +"DEPRECATED_TYPE_USED", +"DISK_SIZE_LARGER_THAN_IMAGE_SIZE", +"EXPERIMENTAL_TYPE_USED", +"EXTERNAL_API_WARNING", +"FIELD_VALUE_OVERRIDEN", +"INJECTED_KERNELS_DEPRECATED", +"INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", +"LARGE_DEPLOYMENT_WARNING", +"LIST_OVERHEAD_QUOTA_EXCEED", +"MISSING_TYPE_DEPENDENCY", +"NEXT_HOP_ADDRESS_NOT_ASSIGNED", +"NEXT_HOP_CANNOT_IP_FORWARD", +"NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", +"NEXT_HOP_INSTANCE_NOT_FOUND", +"NEXT_HOP_INSTANCE_NOT_ON_NETWORK", +"NEXT_HOP_NOT_RUNNING", +"NOT_CRITICAL_ERROR", +"NO_RESULTS_ON_PAGE", +"PARTIAL_SUCCESS", +"QUOTA_INFO_UNAVAILABLE", +"REQUIRED_TOS_AGREEMENT", +"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", +"RESOURCE_NOT_DELETED", +"SCHEMA_VALIDATION_IGNORED", +"SINGLE_INSTANCE_PROPERTY_TEMPLATE", +"UNDECLARED_PROPERTIES", +"UNREACHABLE" +], +"enumDeprecated": [ +false, +false, +false, +false, +false, +false, +true, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false +], +"enumDescriptions": [ +"Warning about failed cleanup of transient changes made by a failed\noperation.", +"A link to a deprecated resource was created.", +"When deploying and at least one of the resources has a type marked as\ndeprecated", +"The user created a boot disk that is larger than image size.", +"When deploying and at least one of the resources has a type marked as\nexperimental", +"Warning that is present in an external api call", +"Warning that value of a field has been overridden.\nDeprecated unused field.", +"The operation involved use of an injected kernel, which is deprecated.", +"A WEIGHTED_MAGLEV backend service is associated with a health check that is\nnot of type HTTP/HTTPS/HTTP2.", +"When deploying a deployment with a exceedingly large number of resources", +"Resource can't be retrieved due to list overhead quota exceed\nwhich captures the amount of resources filtered out by\nuser-defined list filter.", +"A resource depends on a missing type", +"The route's nextHopIp address is not assigned to an instance on the\nnetwork.", +"The route's next hop instance cannot ip forward.", +"The route's nextHopInstance URL refers to an instance that does not have an\nipv6 interface on the same network as the route.", +"The route's nextHopInstance URL refers to an instance that does not exist.", +"The route's nextHopInstance URL refers to an instance that is not on the\nsame network as the route.", +"The route's next hop instance does not have a status of RUNNING.", +"Error which is not critical. We decided to continue the process despite\nthe mentioned error.", +"No results are present on a particular list page.", +"Success is reported, but some results may be missing due to errors", +"Quota information is not available to client requests (e.g:\nregions.list).", +"The user attempted to use a resource that requires a TOS they have not\naccepted.", +"Warning that a resource is in use.", +"One or more of the resources set to auto-delete could not be deleted\nbecause they were in use.", +"When a resource schema validation is ignored.", +"Instance template used in instance group manager is valid as such, but\nits application does not make a lot of sense, because it allows only\nsingle instance in instance group.", +"When undeclared properties in the schema are present", +"A given scope cannot be reached." +], +"type": "string" +}, +"data": { +"description": "[Output Only] Metadata about this warning in key:\nvalue format. For example:\n\n\"data\": [\n {\n \"key\": \"scope\",\n \"value\": \"zones/us-east1-d\"\n }", +"items": { +"properties": { +"key": { +"description": "[Output Only] A key that provides more detail on the warning being\nreturned. For example, for warnings where there are no results in a list\nrequest for a particular zone, this key might be scope and\nthe key value might be the zone name. Other examples might be a key\nindicating a deprecated resource and a suggested replacement, or a\nwarning about invalid network settings (for example, if an instance\nattempts to perform IP forwarding but is not enabled for IP forwarding).", +"type": "string" +}, +"value": { +"description": "[Output Only] A warning data value corresponding to the key.", +"type": "string" +} +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "[Output Only] A human-readable description of the warning code.", +"type": "string" +} +}, +"type": "object" +} +}, +"type": "object" +}, +"InstancesSetLabelsRequest": { +"id": "InstancesSetLabelsRequest", +"properties": { +"labelFingerprint": { +"description": "Fingerprint of the previous set of labels for this resource,\nused to prevent conflicts. Provide the latest fingerprint value when making\na request to add or change labels.", +"format": "byte", +"type": "string" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"type": "object" +} +}, +"type": "object" +}, +"InstancesSetMachineResourcesRequest": { +"id": "InstancesSetMachineResourcesRequest", +"properties": { +"guestAccelerators": { +"description": "A list of the type and count of accelerator cards attached to the instance.", +"items": { +"$ref": "AcceleratorConfig" +}, +"type": "array" +} +}, +"type": "object" +}, +"InstancesSetMachineTypeRequest": { +"id": "InstancesSetMachineTypeRequest", +"properties": { +"machineType": { +"description": "Full or partial URL of the machine type resource. See Machine Types for a full list of\nmachine types. For example:zones/us-central1-f/machineTypes/n1-standard-1", +"type": "string" +} +}, +"type": "object" +}, +"InstancesSetMinCpuPlatformRequest": { +"id": "InstancesSetMinCpuPlatformRequest", +"properties": { +"minCpuPlatform": { +"description": "Minimum cpu/platform this instance should be started at.", +"type": "string" +} +}, +"type": "object" +}, +"InstancesSetNameRequest": { +"id": "InstancesSetNameRequest", +"properties": { +"currentName": { +"description": "The current name of this resource, used to prevent conflicts. Provide the\nlatest name when making a request to change name.", +"type": "string" +}, +"name": { +"description": "The name to be applied to the instance. Needs to be RFC 1035 compliant.", +"type": "string" +} +}, +"type": "object" +}, +"InstancesSetSecurityPolicyRequest": { +"id": "InstancesSetSecurityPolicyRequest", +"properties": { +"networkInterfaces": { +"description": "The network interfaces that the security policy will be applied to. Network\ninterfaces use the nicN naming format. You can only set a\nsecurity policy for network interfaces with an access config.", +"items": { +"type": "string" +}, +"type": "array" +}, +"securityPolicy": { +"description": "A full or partial URL to a security policy to add to this instance.\nIf this field is set to an empty string it will remove the associated\nsecurity policy.", +"type": "string" +} +}, +"type": "object" +}, +"InstancesSetServiceAccountRequest": { +"id": "InstancesSetServiceAccountRequest", +"properties": { +"email": { +"description": "Email address of the service account.", +"type": "string" +}, +"scopes": { +"description": "The list of scopes to be made available for this service account.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"InstancesStartWithEncryptionKeyRequest": { +"id": "InstancesStartWithEncryptionKeyRequest", +"properties": { +"disks": { +"description": "Array of disks associated with this instance that are protected with acustomer-supplied\nencryption key.\n\nIn order to start the instance, the disk url and its corresponding key must\nbe provided.\n\nIf the disk is not protected with a customer-supplied encryption key it\nshould not be specified.", +"items": { +"$ref": "CustomerEncryptionKeyProtectedDisk" +}, +"type": "array" +} +}, +"type": "object" +}, +"InstantSnapshot": { +"description": "Represents a InstantSnapshot resource.\n\nYou can use instant snapshots to create disk rollback points quickly..", +"id": "InstantSnapshot", +"properties": { +"architecture": { +"description": "Output only. [Output Only] The architecture of the instant snapshot. Valid values are\nARM64 or X86_64.", +"enum": [ +"ARCHITECTURE_UNSPECIFIED", +"ARM64", +"X86_64" +], +"enumDescriptions": [ +"Default value indicating Architecture is not set.", +"Machines with architecture ARM64", +"Machines with architecture X86_64" +], +"readOnly": true, +"type": "string" +}, +"creationTimestamp": { +"description": "Output only. [Output Only] Creation timestamp inRFC3339\ntext format.", +"readOnly": true, +"type": "string" +}, +"description": { +"description": "An optional description of this resource. Provide this property when you\ncreate the resource.", +"type": "string" +}, +"diskSizeGb": { +"description": "Output only. [Output Only] Size of the source disk, specified in GB.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"id": { +"description": "Output only. [Output Only] The unique identifier for the resource. This identifier is\ndefined by the server.", +"format": "uint64", +"readOnly": true, +"type": "string" +}, +"kind": { +"default": "compute#instantSnapshot", +"description": "Output only. [Output Only] Type of the resource. Alwayscompute#instantSnapshot for InstantSnapshot resources.", +"readOnly": true, +"type": "string" +}, +"labelFingerprint": { +"description": "A fingerprint for the labels being applied to this InstantSnapshot, which\nis essentially a hash of the labels set used for optimistic locking. The\nfingerprint is initially generated by Compute Engine and changes after\nevery request to modify or update labels. You must always provide an\nup-to-date fingerprint hash in order to update or change labels,\notherwise the request will fail with error412 conditionNotMet.\n\nTo see the latest fingerprint, make a get() request to\nretrieve a InstantSnapshot.", +"format": "byte", +"type": "string" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Labels to apply to this InstantSnapshot. These can be later modified by\nthe setLabels method.\nLabel values may be empty.", +"type": "object" +}, +"name": { +"description": "Name of the resource; provided by the client when the resource is created.\nThe name must be 1-63 characters long, and comply withRFC1035.\nSpecifically, the name must be 1-63 characters long and match the regular\nexpression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first\ncharacter must be a lowercase letter, and all following characters must be\na dash, lowercase letter, or digit, except the last character, which cannot\nbe a dash.", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"type": "string" +}, +"params": { +"$ref": "InstantSnapshotParams", +"description": "Input only. Additional params passed with the request, but not persisted\nas part of resource payload." +}, +"region": { +"description": "Output only. [Output Only] URL of the region where the instant snapshot resides.\nYou must specify this field as part of the HTTP request URL. It is\nnot settable as a field in the request body.", +"readOnly": true, +"type": "string" +}, +"resourceStatus": { +"$ref": "InstantSnapshotResourceStatus", +"description": "Output only. [Output Only] Status information for the instant snapshot resource.", +"readOnly": true +}, +"satisfiesPzi": { +"description": "Output only. Reserved for future use.", +"readOnly": true, +"type": "boolean" +}, +"satisfiesPzs": { +"description": "Output only. [Output Only] Reserved for future use.", +"readOnly": true, +"type": "boolean" +}, +"selfLink": { +"description": "Output only. [Output Only] Server-defined URL for the resource.", +"readOnly": true, +"type": "string" +}, +"selfLinkWithId": { +"description": "Output only. [Output Only] Server-defined URL for this resource's resource id.", +"readOnly": true, +"type": "string" +}, +"sourceDisk": { +"description": "URL of the source disk used to create this instant snapshot.\nNote that the source disk must be in the same zone/region as the\ninstant snapshot to be created. This can be a full or valid partial URL.\nFor example, the following are valid values:\n \n \n - \n https://www.googleapis.com/compute/v1/projects/project/zones/zone/disks/disk\n \n - \n https://www.googleapis.com/compute/v1/projects/project/regions/region/disks/disk\n \n - \n projects/project/zones/zone/disks/disk\n \n - \n projects/project/regions/region/disks/disk\n \n - \n zones/zone/disks/disk\n \n - \n regions/region/disks/disk", +"type": "string" +}, +"sourceDiskId": { +"description": "Output only. [Output Only] The ID value of the disk used to create this InstantSnapshot.\nThis value may be used to determine whether the InstantSnapshot\nwas taken from the current or a previous instance of a given disk name.", +"readOnly": true, +"type": "string" +}, +"sourceInstantSnapshotGroup": { +"description": "Output only. [Output Only] URL of the source instant snapshot this instant snapshot is\npart of. Note that the source instant snapshot group must be in the same\nzone/region as the instant snapshot to be created. This can be a full or\nvalid partial URL.", +"readOnly": true, +"type": "string" +}, +"sourceInstantSnapshotGroupId": { +"description": "Output only. [Output Only] The ID value of the source instant snapshot group this\nInstantSnapshot is part of. This value may be used to determine whether the\nInstantSnapshot was created as part of an InstantSnapshotGroup creation.", +"readOnly": true, +"type": "string" +}, +"status": { +"description": "Output only. [Output Only] The status of the instantSnapshot. This can beCREATING, DELETING, FAILED, orREADY.", +"enum": [ +"CREATING", +"DELETING", +"FAILED", +"READY", +"UNAVAILABLE" +], +"enumDescriptions": [ +"InstantSnapshot creation is in progress.", +"InstantSnapshot is currently being deleted.", +"InstantSnapshot creation failed.", +"InstantSnapshot has been created successfully.", +"InstantSnapshot is currently unavailable and cannot be used for\nDisk restoration" +], +"readOnly": true, +"type": "string" +}, +"zone": { +"description": "Output only. [Output Only] URL of the zone where the instant snapshot resides.\nYou must specify this field as part of the HTTP request URL. It is\nnot settable as a field in the request body.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"InstantSnapshotAggregatedList": { +"id": "InstantSnapshotAggregatedList", +"properties": { +"id": { +"description": "[Output Only] Unique identifier for the resource; defined by the server.", +"type": "string" +}, +"items": { +"additionalProperties": { +"$ref": "InstantSnapshotsScopedList", +"description": "[Output Only] Name of the scope containing this set of instantSnapshots." +}, +"description": "A list of InstantSnapshotsScopedList resources.", +"type": "object" +}, +"kind": { +"default": "compute#instantSnapshotAggregatedList", +"description": "Output only. [Output Only] Type of resource. Alwayscompute#instantSnapshotAggregatedList for aggregated lists of\ninstantSnapshots.", +"readOnly": true, +"type": "string" +}, +"nextPageToken": { +"description": "[Output Only] This token allows you to get the next page of results for\nlist requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for\nthe query parameter pageToken in the next list request.\nSubsequent list requests will have their own nextPageToken to\ncontinue paging through the results.", +"type": "string" +}, +"selfLink": { +"description": "Output only. [Output Only] Server-defined URL for this resource.", +"readOnly": true, +"type": "string" +}, +"unreachables": { +"description": "Output only. [Output Only] Unreachable resources.", +"items": { +"type": "string" +}, +"readOnly": true, +"type": "array" +}, +"warning": { +"description": "[Output Only] Informational warning message.", +"properties": { +"code": { +"description": "[Output Only] A warning code, if applicable. For example, Compute\nEngine returns NO_RESULTS_ON_PAGE if there\nare no results in the response.", +"enum": [ +"CLEANUP_FAILED", +"DEPRECATED_RESOURCE_USED", +"DEPRECATED_TYPE_USED", +"DISK_SIZE_LARGER_THAN_IMAGE_SIZE", +"EXPERIMENTAL_TYPE_USED", +"EXTERNAL_API_WARNING", +"FIELD_VALUE_OVERRIDEN", +"INJECTED_KERNELS_DEPRECATED", +"INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", +"LARGE_DEPLOYMENT_WARNING", +"LIST_OVERHEAD_QUOTA_EXCEED", +"MISSING_TYPE_DEPENDENCY", +"NEXT_HOP_ADDRESS_NOT_ASSIGNED", +"NEXT_HOP_CANNOT_IP_FORWARD", +"NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", +"NEXT_HOP_INSTANCE_NOT_FOUND", +"NEXT_HOP_INSTANCE_NOT_ON_NETWORK", +"NEXT_HOP_NOT_RUNNING", +"NOT_CRITICAL_ERROR", +"NO_RESULTS_ON_PAGE", +"PARTIAL_SUCCESS", +"QUOTA_INFO_UNAVAILABLE", +"REQUIRED_TOS_AGREEMENT", +"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", +"RESOURCE_NOT_DELETED", +"SCHEMA_VALIDATION_IGNORED", +"SINGLE_INSTANCE_PROPERTY_TEMPLATE", +"UNDECLARED_PROPERTIES", +"UNREACHABLE" +], +"enumDeprecated": [ +false, +false, +false, +false, +false, +false, +true, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false +], +"enumDescriptions": [ +"Warning about failed cleanup of transient changes made by a failed\noperation.", +"A link to a deprecated resource was created.", +"When deploying and at least one of the resources has a type marked as\ndeprecated", +"The user created a boot disk that is larger than image size.", +"When deploying and at least one of the resources has a type marked as\nexperimental", +"Warning that is present in an external api call", +"Warning that value of a field has been overridden.\nDeprecated unused field.", +"The operation involved use of an injected kernel, which is deprecated.", +"A WEIGHTED_MAGLEV backend service is associated with a health check that is\nnot of type HTTP/HTTPS/HTTP2.", +"When deploying a deployment with a exceedingly large number of resources", +"Resource can't be retrieved due to list overhead quota exceed\nwhich captures the amount of resources filtered out by\nuser-defined list filter.", +"A resource depends on a missing type", +"The route's nextHopIp address is not assigned to an instance on the\nnetwork.", +"The route's next hop instance cannot ip forward.", +"The route's nextHopInstance URL refers to an instance that does not have an\nipv6 interface on the same network as the route.", +"The route's nextHopInstance URL refers to an instance that does not exist.", +"The route's nextHopInstance URL refers to an instance that is not on the\nsame network as the route.", +"The route's next hop instance does not have a status of RUNNING.", +"Error which is not critical. We decided to continue the process despite\nthe mentioned error.", +"No results are present on a particular list page.", +"Success is reported, but some results may be missing due to errors", +"Quota information is not available to client requests (e.g:\nregions.list).", +"The user attempted to use a resource that requires a TOS they have not\naccepted.", +"Warning that a resource is in use.", +"One or more of the resources set to auto-delete could not be deleted\nbecause they were in use.", +"When a resource schema validation is ignored.", +"Instance template used in instance group manager is valid as such, but\nits application does not make a lot of sense, because it allows only\nsingle instance in instance group.", +"When undeclared properties in the schema are present", +"A given scope cannot be reached." +], +"type": "string" +}, +"data": { +"description": "[Output Only] Metadata about this warning in key:\nvalue format. For example:\n\n\"data\": [\n {\n \"key\": \"scope\",\n \"value\": \"zones/us-east1-d\"\n }", +"items": { +"properties": { +"key": { +"description": "[Output Only] A key that provides more detail on the warning being\nreturned. For example, for warnings where there are no results in a list\nrequest for a particular zone, this key might be scope and\nthe key value might be the zone name. Other examples might be a key\nindicating a deprecated resource and a suggested replacement, or a\nwarning about invalid network settings (for example, if an instance\nattempts to perform IP forwarding but is not enabled for IP forwarding).", +"type": "string" +}, +"value": { +"description": "[Output Only] A warning data value corresponding to the key.", +"type": "string" +} +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "[Output Only] A human-readable description of the warning code.", +"type": "string" +} +}, +"type": "object" +} +}, +"type": "object" +}, +"InstantSnapshotGroup": { +"description": "Represents an InstantSnapshotGroup resource.\n\nAn instant snapshot group is a set of instant snapshots that represents a\npoint in time state of a consistency group.", +"id": "InstantSnapshotGroup", +"properties": { +"creationTimestamp": { +"description": "Output only. [Output Only] Creation timestamp inRFC3339\ntext format.", +"readOnly": true, +"type": "string" +}, +"description": { +"description": "Optional. An optional description of this resource. Provide this property when you\ncreate the resource.", +"type": "string" +}, +"id": { +"description": "Output only. [Output Only] The unique identifier for the resource. This identifier is\ndefined by the server.", +"format": "uint64", +"readOnly": true, +"type": "string" +}, +"kind": { +"default": "compute#instantSnapshotGroup", +"description": "Output only. [Output Only] Type of the resource. Alwayscompute#instantSnapshotGroup for InstantSnapshotGroup\nresources.", +"readOnly": true, +"type": "string" +}, +"name": { +"description": "Identifier. Name of the resource; provided by the client when the resource is created.\nThe name must be 1-63 characters long, and comply withRFC1035.\nSpecifically, the name must be 1-63 characters long and match the regular\nexpression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first\ncharacter must be a lowercase letter, and all following characters must be\na dash, lowercase letter, or digit, except the last character, which cannot\nbe a dash.", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"type": "string" +}, +"region": { +"description": "Output only. [Output Only] URL of the region where the instant snapshot group resides.\nYou must specify this field as part of the HTTP request URL. It is\nnot settable as a field in the request body.", +"readOnly": true, +"type": "string" +}, +"resourceStatus": { +"$ref": "InstantSnapshotGroupResourceStatus", +"readOnly": true +}, +"selfLink": { +"description": "Output only. [Output Only] Server-defined URL for the resource.", +"readOnly": true, +"type": "string" +}, +"selfLinkWithId": { +"description": "Output only. [Output Only] Server-defined URL for this resource's resource id.", +"readOnly": true, +"type": "string" +}, +"sourceConsistencyGroup": { +"type": "string" +}, +"status": { +"description": "Output only. [Output Only]", +"enum": [ +"CREATING", +"DELETING", +"FAILED", +"INVALID", +"READY", +"UNKNOWN" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"" +], +"readOnly": true, +"type": "string" +}, +"zone": { +"description": "Output only. [Output Only] URL of the zone where the instant snapshot group resides.\nYou must specify this field as part of the HTTP request URL. It is\nnot settable as a field in the request body.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"InstantSnapshotGroupParameters": { +"id": "InstantSnapshotGroupParameters", +"properties": { +"sourceInstantSnapshotGroup": { +"description": "The source instant snapshot group used to create disks. You can provide\nthis as a partial or full URL to the resource. For example, the following\nare valid values:\n \n \n - https://www.googleapis.com/compute/v1/projects/project/zones/zone/instantSnapshotGroups/instantSnapshotGroup\n - projects/project/zones/zone/instantSnapshotGroups/instantSnapshotGroup\n - zones/zone/instantSnapshotGroups/instantSnapshotGroup", +"type": "string" +} +}, +"type": "object" +}, +"InstantSnapshotGroupResourceStatus": { +"id": "InstantSnapshotGroupResourceStatus", +"properties": { +"consistencyMembershipResolutionTime": { +"description": "Output only. [Output Only]", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"sourceInfo": { +"$ref": "InstantSnapshotGroupSourceInfo", +"description": "Output only. [Output Only]", +"readOnly": true +} +}, +"type": "object" +}, +"InstantSnapshotGroupSourceInfo": { +"id": "InstantSnapshotGroupSourceInfo", +"properties": { +"consistencyGroup": { +"readOnly": true, +"type": "string" +}, +"consistencyGroupId": { +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"InstantSnapshotList": { +"description": "Contains a list of InstantSnapshot resources.", +"id": "InstantSnapshotList", +"properties": { +"id": { +"description": "[Output Only] Unique identifier for the resource; defined by the server.", +"type": "string" +}, +"items": { +"description": "A list of InstantSnapshot resources.", +"items": { +"$ref": "InstantSnapshot" +}, +"type": "array" +}, +"kind": { +"default": "compute#instantSnapshotList", +"description": "Output only. Type of resource.", +"readOnly": true, +"type": "string" +}, +"nextPageToken": { +"description": "[Output Only] This token allows you to get the next page of results for\nlist requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for\nthe query parameter pageToken in the next list request.\nSubsequent list requests will have their own nextPageToken to\ncontinue paging through the results.", +"type": "string" +}, +"selfLink": { +"description": "Output only. [Output Only] Server-defined URL for this resource.", +"readOnly": true, +"type": "string" +}, +"warning": { +"description": "[Output Only] Informational warning message.", +"properties": { +"code": { +"description": "[Output Only] A warning code, if applicable. For example, Compute\nEngine returns NO_RESULTS_ON_PAGE if there\nare no results in the response.", +"enum": [ +"CLEANUP_FAILED", +"DEPRECATED_RESOURCE_USED", +"DEPRECATED_TYPE_USED", +"DISK_SIZE_LARGER_THAN_IMAGE_SIZE", +"EXPERIMENTAL_TYPE_USED", +"EXTERNAL_API_WARNING", +"FIELD_VALUE_OVERRIDEN", +"INJECTED_KERNELS_DEPRECATED", +"INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", +"LARGE_DEPLOYMENT_WARNING", +"LIST_OVERHEAD_QUOTA_EXCEED", +"MISSING_TYPE_DEPENDENCY", +"NEXT_HOP_ADDRESS_NOT_ASSIGNED", +"NEXT_HOP_CANNOT_IP_FORWARD", +"NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", +"NEXT_HOP_INSTANCE_NOT_FOUND", +"NEXT_HOP_INSTANCE_NOT_ON_NETWORK", +"NEXT_HOP_NOT_RUNNING", +"NOT_CRITICAL_ERROR", +"NO_RESULTS_ON_PAGE", +"PARTIAL_SUCCESS", +"QUOTA_INFO_UNAVAILABLE", +"REQUIRED_TOS_AGREEMENT", +"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", +"RESOURCE_NOT_DELETED", +"SCHEMA_VALIDATION_IGNORED", +"SINGLE_INSTANCE_PROPERTY_TEMPLATE", +"UNDECLARED_PROPERTIES", +"UNREACHABLE" +], +"enumDeprecated": [ +false, +false, +false, +false, +false, +false, +true, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false +], +"enumDescriptions": [ +"Warning about failed cleanup of transient changes made by a failed\noperation.", +"A link to a deprecated resource was created.", +"When deploying and at least one of the resources has a type marked as\ndeprecated", +"The user created a boot disk that is larger than image size.", +"When deploying and at least one of the resources has a type marked as\nexperimental", +"Warning that is present in an external api call", +"Warning that value of a field has been overridden.\nDeprecated unused field.", +"The operation involved use of an injected kernel, which is deprecated.", +"A WEIGHTED_MAGLEV backend service is associated with a health check that is\nnot of type HTTP/HTTPS/HTTP2.", +"When deploying a deployment with a exceedingly large number of resources", +"Resource can't be retrieved due to list overhead quota exceed\nwhich captures the amount of resources filtered out by\nuser-defined list filter.", +"A resource depends on a missing type", +"The route's nextHopIp address is not assigned to an instance on the\nnetwork.", +"The route's next hop instance cannot ip forward.", +"The route's nextHopInstance URL refers to an instance that does not have an\nipv6 interface on the same network as the route.", +"The route's nextHopInstance URL refers to an instance that does not exist.", +"The route's nextHopInstance URL refers to an instance that is not on the\nsame network as the route.", +"The route's next hop instance does not have a status of RUNNING.", +"Error which is not critical. We decided to continue the process despite\nthe mentioned error.", +"No results are present on a particular list page.", +"Success is reported, but some results may be missing due to errors", +"Quota information is not available to client requests (e.g:\nregions.list).", +"The user attempted to use a resource that requires a TOS they have not\naccepted.", +"Warning that a resource is in use.", +"One or more of the resources set to auto-delete could not be deleted\nbecause they were in use.", +"When a resource schema validation is ignored.", +"Instance template used in instance group manager is valid as such, but\nits application does not make a lot of sense, because it allows only\nsingle instance in instance group.", +"When undeclared properties in the schema are present", +"A given scope cannot be reached." +], +"type": "string" +}, +"data": { +"description": "[Output Only] Metadata about this warning in key:\nvalue format. For example:\n\n\"data\": [\n {\n \"key\": \"scope\",\n \"value\": \"zones/us-east1-d\"\n }", +"items": { +"properties": { +"key": { +"description": "[Output Only] A key that provides more detail on the warning being\nreturned. For example, for warnings where there are no results in a list\nrequest for a particular zone, this key might be scope and\nthe key value might be the zone name. Other examples might be a key\nindicating a deprecated resource and a suggested replacement, or a\nwarning about invalid network settings (for example, if an instance\nattempts to perform IP forwarding but is not enabled for IP forwarding).", +"type": "string" +}, +"value": { +"description": "[Output Only] A warning data value corresponding to the key.", +"type": "string" +} +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "[Output Only] A human-readable description of the warning code.", +"type": "string" +} +}, +"type": "object" +} +}, +"type": "object" +}, +"InstantSnapshotParams": { +"description": "Additional instant snapshot params.", +"id": "InstantSnapshotParams", +"properties": { +"resourceManagerTags": { +"additionalProperties": { +"type": "string" +}, +"description": "Input only. Resource manager tags to be bound to the instant snapshot. Tag keys and\nvalues have the same definition as resource\nmanager tags. Keys and values can be either in numeric format,\nsuch as `tagKeys/{tag_key_id}` and `tagValues/{tag_value_id}` or in\nnamespaced format such as `{org_id|project_id}/{tag_key_short_name}` and\n`{tag_value_short_name}`. The field is ignored (both PUT &\nPATCH) when empty.", +"type": "object" +} +}, +"type": "object" +}, +"InstantSnapshotResourceStatus": { +"id": "InstantSnapshotResourceStatus", +"properties": { +"storageSizeBytes": { +"description": "[Output Only] The storage size of this instant snapshot.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"InstantSnapshotsScopedList": { +"id": "InstantSnapshotsScopedList", +"properties": { +"instantSnapshots": { +"description": "[Output Only] A list of instantSnapshots contained in this scope.", +"items": { +"$ref": "InstantSnapshot" +}, +"type": "array" +}, +"warning": { +"description": "[Output Only] Informational warning which replaces the list of\ninstantSnapshots when the list is empty.", +"properties": { +"code": { +"description": "[Output Only] A warning code, if applicable. For example, Compute\nEngine returns NO_RESULTS_ON_PAGE if there\nare no results in the response.", +"enum": [ +"CLEANUP_FAILED", +"DEPRECATED_RESOURCE_USED", +"DEPRECATED_TYPE_USED", +"DISK_SIZE_LARGER_THAN_IMAGE_SIZE", +"EXPERIMENTAL_TYPE_USED", +"EXTERNAL_API_WARNING", +"FIELD_VALUE_OVERRIDEN", +"INJECTED_KERNELS_DEPRECATED", +"INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", +"LARGE_DEPLOYMENT_WARNING", +"LIST_OVERHEAD_QUOTA_EXCEED", +"MISSING_TYPE_DEPENDENCY", +"NEXT_HOP_ADDRESS_NOT_ASSIGNED", +"NEXT_HOP_CANNOT_IP_FORWARD", +"NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", +"NEXT_HOP_INSTANCE_NOT_FOUND", +"NEXT_HOP_INSTANCE_NOT_ON_NETWORK", +"NEXT_HOP_NOT_RUNNING", +"NOT_CRITICAL_ERROR", +"NO_RESULTS_ON_PAGE", +"PARTIAL_SUCCESS", +"QUOTA_INFO_UNAVAILABLE", +"REQUIRED_TOS_AGREEMENT", +"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", +"RESOURCE_NOT_DELETED", +"SCHEMA_VALIDATION_IGNORED", +"SINGLE_INSTANCE_PROPERTY_TEMPLATE", +"UNDECLARED_PROPERTIES", +"UNREACHABLE" +], +"enumDeprecated": [ +false, +false, +false, +false, +false, +false, +true, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false +], +"enumDescriptions": [ +"Warning about failed cleanup of transient changes made by a failed\noperation.", +"A link to a deprecated resource was created.", +"When deploying and at least one of the resources has a type marked as\ndeprecated", +"The user created a boot disk that is larger than image size.", +"When deploying and at least one of the resources has a type marked as\nexperimental", +"Warning that is present in an external api call", +"Warning that value of a field has been overridden.\nDeprecated unused field.", +"The operation involved use of an injected kernel, which is deprecated.", +"A WEIGHTED_MAGLEV backend service is associated with a health check that is\nnot of type HTTP/HTTPS/HTTP2.", +"When deploying a deployment with a exceedingly large number of resources", +"Resource can't be retrieved due to list overhead quota exceed\nwhich captures the amount of resources filtered out by\nuser-defined list filter.", +"A resource depends on a missing type", +"The route's nextHopIp address is not assigned to an instance on the\nnetwork.", +"The route's next hop instance cannot ip forward.", +"The route's nextHopInstance URL refers to an instance that does not have an\nipv6 interface on the same network as the route.", +"The route's nextHopInstance URL refers to an instance that does not exist.", +"The route's nextHopInstance URL refers to an instance that is not on the\nsame network as the route.", +"The route's next hop instance does not have a status of RUNNING.", +"Error which is not critical. We decided to continue the process despite\nthe mentioned error.", +"No results are present on a particular list page.", +"Success is reported, but some results may be missing due to errors", +"Quota information is not available to client requests (e.g:\nregions.list).", +"The user attempted to use a resource that requires a TOS they have not\naccepted.", +"Warning that a resource is in use.", +"One or more of the resources set to auto-delete could not be deleted\nbecause they were in use.", +"When a resource schema validation is ignored.", +"Instance template used in instance group manager is valid as such, but\nits application does not make a lot of sense, because it allows only\nsingle instance in instance group.", +"When undeclared properties in the schema are present", +"A given scope cannot be reached." +], +"type": "string" +}, +"data": { +"description": "[Output Only] Metadata about this warning in key:\nvalue format. For example:\n\n\"data\": [\n {\n \"key\": \"scope\",\n \"value\": \"zones/us-east1-d\"\n }", +"items": { +"properties": { +"key": { +"description": "[Output Only] A key that provides more detail on the warning being\nreturned. For example, for warnings where there are no results in a list\nrequest for a particular zone, this key might be scope and\nthe key value might be the zone name. Other examples might be a key\nindicating a deprecated resource and a suggested replacement, or a\nwarning about invalid network settings (for example, if an instance\nattempts to perform IP forwarding but is not enabled for IP forwarding).", +"type": "string" +}, +"value": { +"description": "[Output Only] A warning data value corresponding to the key.", +"type": "string" +} +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "[Output Only] A human-readable description of the warning code.", +"type": "string" +} +}, +"type": "object" +} +}, +"type": "object" +}, +"Int64RangeMatch": { +"description": "HttpRouteRuleMatch criteria for field values that must stay\nwithin the specified integer range.", +"id": "Int64RangeMatch", +"properties": { +"rangeEnd": { +"description": "The end of the range (exclusive) in signed long integer format.", +"format": "int64", +"type": "string" +}, +"rangeStart": { +"description": "The start of the range (inclusive) in signed long integer format.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"Interconnect": { +"description": "Represents an Interconnect resource.\n\nAn Interconnect resource is a dedicated connection between the Google\nCloud network and your on-premises network. For more information, read the\nDedicated Interconnect Overview.", +"id": "Interconnect", +"properties": { +"aaiEnabled": { +"description": "Enable or disable the application awareness feature on this Cloud\nInterconnect.", +"type": "boolean" +}, +"adminEnabled": { +"description": "Administrative status of the interconnect. When this is set to true, the\nInterconnect is functional and can carry traffic.\nWhen set to false, no packets can be carried over the interconnect and\nno BGP routes are exchanged over it. By default, the status is set to true.", +"type": "boolean" +}, +"applicationAwareInterconnect": { +"$ref": "InterconnectApplicationAwareInterconnect", +"description": "Configuration information for application awareness on this Cloud\nInterconnect." +}, +"availableFeatures": { +"description": "[Output only] List of features available for this Interconnect connection,\nwhich can take one of the following values:\n \n - IF_MACSEC: If present, then the Interconnect connection is\n provisioned on MACsec capable hardware ports. If not present, then the\n Interconnect connection is provisioned on non-MACsec capable ports. Any\n attempt to enable MACsec will fail.\n - IF_CROSS_SITE_NETWORK: If present, then the Interconnect connection is\n provisioned exclusively for Cross-Site Networking. Any attempt to configure\n VLAN attachments will fail. If not present, then the Interconnect\n connection is not provisioned for Cross-Site Networking. Any attempt to use\n it for Cross-Site Networking will fail.", +"items": { +"enum": [ +"IF_CROSS_SITE_NETWORK", +"IF_L2_FORWARDING", +"IF_MACSEC" +], +"enumDescriptions": [ +"Cross-Site Networking", +"L2 Interconnect Attachment Forwarding", +"Media Access Control security (MACsec)" +], +"type": "string" +}, +"type": "array" +}, +"circuitInfos": { +"description": "Output only. [Output Only] A list of CircuitInfo objects, that describe the individual\ncircuits in this LAG.", +"items": { +"$ref": "InterconnectCircuitInfo" +}, +"readOnly": true, +"type": "array" +}, +"creationTimestamp": { +"description": "Output only. [Output Only] Creation timestamp inRFC3339\ntext format.", +"readOnly": true, +"type": "string" +}, +"customerName": { +"description": "Customer name, to put in the Letter of Authorization as the party\nauthorized to request a crossconnect.", +"type": "string" +}, +"description": { +"description": "An optional description of this resource. Provide this property when you\ncreate the resource.", +"type": "string" +}, +"expectedOutages": { +"description": "Output only. [Output Only] A list of outages expected for this Interconnect.", +"items": { +"$ref": "InterconnectOutageNotification" +}, +"readOnly": true, +"type": "array" +}, +"googleIpAddress": { +"description": "Output only. [Output Only] IP address configured on the Google side of the Interconnect\nlink. This can be used only for ping tests.", +"readOnly": true, +"type": "string" +}, +"googleReferenceId": { +"description": "Output only. [Output Only] Google reference ID to be used when raising support tickets\nwith Google or otherwise to debug backend connectivity issues.", +"readOnly": true, +"type": "string" +}, +"id": { +"description": "Output only. [Output Only] The unique identifier for the resource. This identifier is\ndefined by the server.", +"format": "uint64", +"readOnly": true, +"type": "string" +}, +"interconnectAttachments": { +"description": "Output only. [Output Only] A list of the URLs of all InterconnectAttachments configured\nto use this Interconnect.", +"items": { +"type": "string" +}, +"readOnly": true, +"type": "array" +}, +"interconnectGroups": { +"description": "Output only. [Output Only] URLs of InterconnectGroups that include this Interconnect.\nOrder is arbitrary and items are unique.", +"items": { +"type": "string" +}, +"readOnly": true, +"type": "array" +}, +"interconnectType": { +"description": "Type of interconnect, which can take one of the following values:\n \n - PARTNER: A partner-managed interconnection shared between customers\n though a partner.\n - DEDICATED: A dedicated physical interconnection with the\n customer.\n\n\nNote that a value IT_PRIVATE has been deprecated in favor of DEDICATED.", +"enum": [ +"DEDICATED", +"IT_PRIVATE", +"PARTNER" +], +"enumDescriptions": [ +"A dedicated physical interconnection with the customer.", +"[Deprecated] A private, physical interconnection with the customer.", +"A partner-managed interconnection shared between customers via partner." +], +"type": "string" +}, +"kind": { +"default": "compute#interconnect", +"description": "Output only. [Output Only] Type of the resource. Alwayscompute#interconnect for interconnects.", +"readOnly": true, +"type": "string" +}, +"labelFingerprint": { +"description": "A fingerprint for the labels being applied to this Interconnect, which\nis essentially a hash of the labels set used for optimistic locking. The\nfingerprint is initially generated by Compute Engine and changes after\nevery request to modify or update labels. You must always provide an\nup-to-date fingerprint hash in order to update or change labels,\notherwise the request will fail with error412 conditionNotMet.\n\nTo see the latest fingerprint, make a get() request to\nretrieve an Interconnect.", +"format": "byte", +"type": "string" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Labels for this resource. These can only be added or modified by thesetLabels method. Each label key/value pair must comply withRFC1035.\nLabel values may be empty.", +"type": "object" +}, +"linkType": { +"description": "Type of link requested, which can take one of the following values:\n \n - LINK_TYPE_ETHERNET_10G_LR: A 10G Ethernet with LR optics\n - LINK_TYPE_ETHERNET_100G_LR: A 100G Ethernet with LR optics.\n - LINK_TYPE_ETHERNET_400G_LR4: A 400G Ethernet with LR4 optics.\n\n\n Note that this field indicates the speed of each of\nthe links in the bundle, not the speed of the entire bundle.", +"enum": [ +"LINK_TYPE_ETHERNET_100G_LR", +"LINK_TYPE_ETHERNET_10G_LR", +"LINK_TYPE_ETHERNET_400G_LR4" +], +"enumDescriptions": [ +"100G Ethernet, LR Optics.", +"10G Ethernet, LR Optics.\n[(rate_bps) = 10000000000];", +"400G Ethernet, LR4 Optics." +], +"type": "string" +}, +"location": { +"description": "URL of the InterconnectLocation object that represents where this\nconnection is to be provisioned.", +"type": "string" +}, +"macsec": { +"$ref": "InterconnectMacsec", +"description": "Configuration that enables Media Access Control security (MACsec) on the\nCloud Interconnect connection between Google and your on-premises router." +}, +"macsecEnabled": { +"description": "Enable or disable MACsec on this Interconnect connection. MACsec enablement\nfails if the MACsec object is not specified.", +"type": "boolean" +}, +"name": { +"annotations": { +"required": [ +"compute.interconnects.insert" +] +}, +"description": "Name of the resource. Provided by the client when the resource is created.\nThe name must be 1-63 characters long, and comply withRFC1035.\nSpecifically, the name must be 1-63 characters long and match the regular\nexpression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first\ncharacter must be a lowercase letter, and all following characters must be\na dash, lowercase letter, or digit, except the last character, which cannot\nbe a dash.", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"type": "string" +}, +"nocContactEmail": { +"description": "Email address to contact the customer NOC for operations and maintenance\nnotifications regarding this Interconnect. If specified, this will be used\nfor notifications in addition to all other forms described, such as\nCloud Monitoring logs alerting and Cloud Notifications. This field is\nrequired for users who sign up for Cloud Interconnect using\nworkforce identity federation.", +"type": "string" +}, +"operationalStatus": { +"description": "Output only. [Output Only] The current status of this Interconnect's functionality,\nwhich can take one of the following values:\n \n - OS_ACTIVE: A valid Interconnect, which is turned up and is ready to\n use. Attachments may be provisioned on this Interconnect.\n\n- OS_UNPROVISIONED: An Interconnect that has not completed turnup. No\nattachments may be provisioned on this Interconnect.\n- OS_UNDER_MAINTENANCE: An Interconnect that is undergoing internal\nmaintenance. No attachments may be provisioned or updated on this\nInterconnect.", +"enum": [ +"OS_ACTIVE", +"OS_UNPROVISIONED" +], +"enumDescriptions": [ +"The interconnect is valid, turned up, and ready to use. Attachments may\nbe provisioned on this interconnect.", +"The interconnect has not completed turnup. No attachments may be\nprovisioned on this interconnect." +], +"readOnly": true, +"type": "string" +}, +"params": { +"$ref": "InterconnectParams", +"description": "Input only. [Input Only] Additional params passed with the request, but not persisted\nas part of resource payload." +}, +"peerIpAddress": { +"description": "Output only. [Output Only] IP address configured on the customer side of the\nInterconnect link. The customer should configure this IP address during\nturnup when prompted by Google NOC. This can be used only for ping tests.", +"readOnly": true, +"type": "string" +}, +"provisionedLinkCount": { +"description": "Output only. [Output Only] Number of links actually provisioned in this interconnect.", +"format": "int32", +"readOnly": true, +"type": "integer" +}, +"remoteLocation": { +"description": "Indicates that this is a Cross-Cloud Interconnect. This field specifies the\nlocation outside of Google's network that the interconnect is connected to.", +"type": "string" +}, +"requestedFeatures": { +"description": "Optional. This parameter can be provided only with Interconnect INSERT. It\nisn't valid for Interconnect PATCH. List of features requested for this\nInterconnect connection, which can take one of the following values:\n \n - IF_MACSEC: If specified, then the connection is created on MACsec\n capable hardware ports. If not specified, non-MACsec capable ports will\n also be considered.\n - IF_CROSS_SITE_NETWORK: If specified, then the connection is created\n exclusively for Cross-Site Networking. The connection can not be used for\n Cross-Site Networking unless this feature is specified.", +"items": { +"enum": [ +"IF_CROSS_SITE_NETWORK", +"IF_L2_FORWARDING", +"IF_MACSEC" +], +"enumDescriptions": [ +"Cross-Site Networking", +"L2 Interconnect Attachment Forwarding", +"Media Access Control security (MACsec)" +], +"type": "string" +}, +"type": "array" +}, +"requestedLinkCount": { +"description": "Target number of physical links in the link bundle, as requested by the\ncustomer.", +"format": "int32", +"type": "integer" +}, +"satisfiesPzs": { +"description": "Output only. [Output Only] Reserved for future use.", +"readOnly": true, +"type": "boolean" +}, +"selfLink": { +"description": "Output only. [Output Only] Server-defined URL for the resource.", +"readOnly": true, +"type": "string" +}, +"state": { +"description": "Output only. [Output Only] The current state of Interconnect functionality, which can\ntake one of the following values:\n \n - ACTIVE: The Interconnect is valid, turned up and ready to use.\n Attachments may be provisioned on this Interconnect.\n - UNPROVISIONED: The Interconnect has not completed turnup. No\n attachments may be provisioned on this Interconnect.\n - UNDER_MAINTENANCE: The Interconnect is undergoing internal maintenance.\n No attachments may be provisioned or updated on this\n Interconnect.", +"enum": [ +"ACTIVE", +"UNPROVISIONED" +], +"enumDescriptions": [ +"The interconnect is valid, turned up, and ready to use. Attachments may\nbe provisioned on this interconnect.", +"The interconnect has not completed turnup. No attachments may be\nprovisioned on this interconnect." +], +"readOnly": true, +"type": "string" +}, +"subzone": { +"description": "To be deprecated.", +"enum": [ +"SUBZONE_A", +"SUBZONE_B" +], +"enumDescriptions": [ +"Subzone A.", +"Subzone B." +], +"type": "string" +}, +"wireGroups": { +"description": "Output only. [Output Only] A list of the URLs of all CrossSiteNetwork WireGroups\nconfigured to use this Interconnect. The Interconnect cannot be deleted if\nthis list is non-empty.", +"items": { +"type": "string" +}, +"readOnly": true, +"type": "array" +} +}, +"type": "object" +}, +"InterconnectApplicationAwareInterconnect": { +"description": "Configuration information for application awareness on this Cloud\nInterconnect.", +"id": "InterconnectApplicationAwareInterconnect", +"properties": { +"bandwidthPercentagePolicy": { +"$ref": "InterconnectApplicationAwareInterconnectBandwidthPercentagePolicy" +}, +"profileDescription": { +"description": "Description for the application awareness profile on this Cloud\nInterconnect.", +"type": "string" +}, +"shapeAveragePercentages": { +"description": "Optional field to specify a list of shape average percentages to be\napplied in conjunction with StrictPriorityPolicy or\nBandwidthPercentagePolicy.", +"items": { +"$ref": "InterconnectApplicationAwareInterconnectBandwidthPercentage" +}, +"type": "array" +}, +"strictPriorityPolicy": { +"$ref": "InterconnectApplicationAwareInterconnectStrictPriorityPolicy" +} +}, +"type": "object" +}, +"InterconnectApplicationAwareInterconnectBandwidthPercentage": { +"description": "Specify bandwidth percentages [1-100] for various traffic classes in\nBandwidthPercentagePolicy. The sum of all percentages must equal 100.\nAll traffic classes must have a percentage value specified.", +"id": "InterconnectApplicationAwareInterconnectBandwidthPercentage", +"properties": { +"percentage": { +"description": "Bandwidth percentage for a specific traffic class.", +"format": "uint32", +"type": "integer" +}, +"trafficClass": { +"description": "TrafficClass whose bandwidth percentage is being specified.", +"enum": [ +"TC1", +"TC2", +"TC3", +"TC4", +"TC5", +"TC6" +], +"enumDescriptions": [ +"Traffic Class 1, corresponding to DSCP ranges (0-7) 000xxx.", +"Traffic Class 2, corresponding to DSCP ranges (8-15) 001xxx.", +"Traffic Class 3, corresponding to DSCP ranges (16-23) 010xxx.", +"Traffic Class 4, corresponding to DSCP ranges (24-31) 011xxx.", +"Traffic Class 5, corresponding to DSCP ranges (32-47) 10xxxx.", +"Traffic Class 6, corresponding to DSCP ranges (48-63) 11xxxx." +], +"type": "string" +} +}, +"type": "object" +}, +"InterconnectApplicationAwareInterconnectBandwidthPercentagePolicy": { +"id": "InterconnectApplicationAwareInterconnectBandwidthPercentagePolicy", +"properties": { +"bandwidthPercentages": { +"description": "Specify bandwidth percentages for various traffic classes for queuing\ntype Bandwidth Percent.", +"items": { +"$ref": "InterconnectApplicationAwareInterconnectBandwidthPercentage" +}, +"type": "array" +} +}, +"type": "object" +}, +"InterconnectApplicationAwareInterconnectStrictPriorityPolicy": { +"description": "Specify configuration for StrictPriorityPolicy.", +"id": "InterconnectApplicationAwareInterconnectStrictPriorityPolicy", +"properties": {}, +"type": "object" +}, +"InterconnectAttachment": { +"description": "Represents an Interconnect Attachment (VLAN) resource.\n\nYou can use Interconnect attachments (VLANS) to connect your Virtual Private\nCloud networks to your on-premises networks through an Interconnect.\nFor more information, read\nCreating VLAN Attachments.", +"id": "InterconnectAttachment", +"properties": { +"adminEnabled": { +"description": "Determines whether this Attachment will carry packets.\nNot present for PARTNER_PROVIDER.", +"type": "boolean" +}, +"attachmentGroup": { +"description": "Output only. [Output Only] URL of the AttachmentGroup that includes this Attachment.", +"readOnly": true, +"type": "string" +}, +"bandwidth": { +"description": "Provisioned bandwidth capacity for the interconnect attachment. For\nattachments of type DEDICATED, the user can set the bandwidth.\nFor attachments of type PARTNER, the Google Partner that is operating\nthe interconnect must set the bandwidth.\nOutput only for PARTNER type, mutable for PARTNER_PROVIDER and DEDICATED,\nand can take one of the following values:\n \n - BPS_50M: 50 Mbit/s\n - BPS_100M: 100 Mbit/s\n - BPS_200M: 200 Mbit/s\n - BPS_300M: 300 Mbit/s\n - BPS_400M: 400 Mbit/s\n - BPS_500M: 500 Mbit/s\n - BPS_1G: 1 Gbit/s\n - BPS_2G: 2 Gbit/s\n - BPS_5G: 5 Gbit/s\n - BPS_10G: 10 Gbit/s\n - BPS_20G: 20 Gbit/s\n - BPS_50G: 50 Gbit/s\n - BPS_100G: 100 Gbit/s\n - BPS_400G: 400 Gbit/s", +"enum": [ +"BPS_100G", +"BPS_100M", +"BPS_10G", +"BPS_1G", +"BPS_200M", +"BPS_20G", +"BPS_2G", +"BPS_300M", +"BPS_400G", +"BPS_400M", +"BPS_500M", +"BPS_50G", +"BPS_50M", +"BPS_5G" +], +"enumDescriptions": [ +"100 Gbit/s", +"100 Mbit/s", +"10 Gbit/s", +"1 Gbit/s", +"200 Mbit/s", +"20 Gbit/s", +"2 Gbit/s", +"300 Mbit/s", +"400 Gbit/s", +"400 Mbit/s", +"500 Mbit/s", +"50 Gbit/s", +"50 Mbit/s", +"5 Gbit/s" +], +"type": "string" +}, +"candidateCloudRouterIpAddress": { +"description": "Single IPv4 address + prefix length to be configured on the cloud router\ninterface for this interconnect attachment.\n \n - Both candidate_cloud_router_ip_address and\n candidate_customer_router_ip_address fields must be set or both must be\n unset.\n - Prefix length of both candidate_cloud_router_ip_address and\n candidate_customer_router_ip_address must be the same.\n - Max prefix length is 31.", +"type": "string" +}, +"candidateCloudRouterIpv6Address": { +"description": "Single IPv6 address + prefix length to be configured on the cloud router\ninterface for this interconnect attachment.\n \n - Both candidate_cloud_router_ipv6_address and\n candidate_customer_router_ipv6_address fields must be set or both must be\n unset.\n - Prefix length of both candidate_cloud_router_ipv6_address and\n candidate_customer_router_ipv6_address must be the same.\n - Max prefix length is 126.", +"type": "string" +}, +"candidateCustomerRouterIpAddress": { +"description": "Single IPv4 address + prefix length to be configured on the customer router\ninterface for this interconnect attachment.", +"type": "string" +}, +"candidateCustomerRouterIpv6Address": { +"description": "Single IPv6 address + prefix length to be configured on the customer router\ninterface for this interconnect attachment.", +"type": "string" +}, +"candidateIpv6Subnets": { +"description": "This field is not available.", +"items": { +"type": "string" +}, +"type": "array" +}, +"candidateSubnets": { +"description": "Input only. Up to 16 candidate prefixes that can be used to restrict the allocation\nof cloudRouterIpAddress and customerRouterIpAddress for this attachment.\nAll prefixes must be within link-local address space (169.254.0.0/16) and\nmust be /29 or shorter (/28, /27, etc). Google will attempt to select an\nunused /29 from the supplied candidate prefix(es). The request will fail if\nall possible /29s are in use on Google's edge. If not supplied, Google will\nrandomly select an unused /29 from all of link-local space.", +"items": { +"type": "string" +}, +"type": "array" +}, +"cloudRouterIpAddress": { +"description": "Output only. [Output Only] IPv4 address + prefix length to be configured on Cloud Router\nInterface for this interconnect attachment.", +"readOnly": true, +"type": "string" +}, +"cloudRouterIpv6Address": { +"description": "Output only. [Output Only] IPv6 address + prefix length to be configured on Cloud\nRouter Interface for this interconnect attachment.", +"readOnly": true, +"type": "string" +}, +"cloudRouterIpv6InterfaceId": { +"description": "This field is not available.", +"type": "string" +}, +"configurationConstraints": { +"$ref": "InterconnectAttachmentConfigurationConstraints", +"description": "Output only. [Output Only] Constraints for this attachment, if any. The attachment does\nnot work if these constraints are not met.", +"readOnly": true +}, +"creationTimestamp": { +"description": "Output only. [Output Only] Creation timestamp inRFC3339\ntext format.", +"readOnly": true, +"type": "string" +}, +"customerRouterIpAddress": { +"description": "Output only. [Output Only] IPv4 address + prefix length to be configured on the customer\nrouter subinterface for this interconnect attachment.", +"readOnly": true, +"type": "string" +}, +"customerRouterIpv6Address": { +"description": "Output only. [Output Only] IPv6 address + prefix length to be configured on the\ncustomer router subinterface for this interconnect attachment.", +"readOnly": true, +"type": "string" +}, +"customerRouterIpv6InterfaceId": { +"description": "This field is not available.", +"type": "string" +}, +"dataplaneVersion": { +"description": "Output only. [Output Only] Dataplane version for this InterconnectAttachment. This\nfield is only present for Dataplane version 2 and higher. Absence of this\nfield in the API output indicates that the Dataplane is version 1.", +"format": "int32", +"readOnly": true, +"type": "integer" +}, +"description": { +"description": "An optional description of this resource.", +"type": "string" +}, +"edgeAvailabilityDomain": { +"description": "Input only. Desired availability domain for the attachment. Only available for type\nPARTNER, at creation time, and can take one of the following values:\n \n - AVAILABILITY_DOMAIN_ANY\n - AVAILABILITY_DOMAIN_1\n - AVAILABILITY_DOMAIN_2\n\n\nFor improved reliability, customers should configure a pair of attachments,\none per availability domain. The selected availability domain will be\nprovided to the Partner via the pairing key, so that the provisioned\ncircuit will lie in the specified domain. If not specified, the value will\ndefault to AVAILABILITY_DOMAIN_ANY.", +"enum": [ +"AVAILABILITY_DOMAIN_1", +"AVAILABILITY_DOMAIN_2", +"AVAILABILITY_DOMAIN_ANY" +], +"enumDescriptions": [ +"", +"", +"" +], +"type": "string" +}, +"encryption": { +"description": "Indicates the user-supplied encryption option of this VLAN attachment\n(interconnectAttachment). Can only be specified at attachment creation\nfor PARTNER or DEDICATED attachments.\nPossible values are:\n \n - NONE - This is the default value, which means that the\n VLAN attachment carries unencrypted traffic. VMs are able to send\n traffic to, or receive traffic from, such a VLAN attachment.\n - IPSEC - The VLAN attachment carries only encrypted\n traffic that is encrypted by an IPsec device, such as an HA VPN gateway or\n third-party IPsec VPN. VMs cannot directly send traffic to, or receive\n traffic from, such a VLAN attachment. To use *HA VPN over Cloud\n Interconnect*, the VLAN attachment must be created with this\n option.", +"enum": [ +"IPSEC", +"NONE" +], +"enumDescriptions": [ +"The interconnect attachment will carry only encrypted traffic that is\nencrypted by an IPsec device such as HA VPN gateway;\nVMs cannot directly send traffic to or receive traffic from such an\ninterconnect attachment. To use HA VPN over Cloud Interconnect,\nthe interconnect attachment must be created with this option.", +"This is the default value, which means the Interconnect Attachment will\ncarry unencrypted traffic. VMs will be able to send traffic to or receive\ntraffic from such interconnect attachment." +], +"type": "string" +}, +"googleReferenceId": { +"deprecated": true, +"description": "Output only. [Output Only] Google reference ID, to be used when raising support tickets\nwith Google or otherwise to debug backend connectivity issues.\n[Deprecated] This field is not used.", +"readOnly": true, +"type": "string" +}, +"id": { +"description": "Output only. [Output Only] The unique identifier for the resource. This identifier is\ndefined by the server.", +"format": "uint64", +"readOnly": true, +"type": "string" +}, +"interconnect": { +"description": "URL of the underlying Interconnect object that this attachment's traffic\nwill traverse through.", +"type": "string" +}, +"ipsecInternalAddresses": { +"description": "A list of URLs of addresses that have been reserved for the VLAN\nattachment. Used only for the VLAN attachment that has the encryption\noption as IPSEC. The addresses must be regional internal IP address ranges.\nWhen creating an HA VPN gateway over the VLAN attachment, if the attachment\nis configured to use a regional internal IP address, then the VPN gateway's\nIP address is allocated from the IP address range specified here. For\nexample, if the HA VPN gateway's interface 0 is paired to this VLAN\nattachment, then a regional internal IP address for the VPN gateway\ninterface 0 will be allocated from the IP address specified for this\nVLAN attachment.\nIf this field is not specified when creating the VLAN attachment, then\nlater on when creating an HA VPN gateway on this VLAN attachment, the HA\nVPN gateway's IP address is allocated from the regional external IP address\npool.", +"items": { +"type": "string" +}, +"type": "array" +}, +"kind": { +"default": "compute#interconnectAttachment", +"description": "Output only. [Output Only] Type of the resource. Alwayscompute#interconnectAttachment for interconnect attachments.", +"readOnly": true, +"type": "string" +}, +"l2Forwarding": { +"$ref": "InterconnectAttachmentL2Forwarding", +"description": "L2 Interconnect Attachment related config. This field is required if the\ntype is L2_DEDICATED.\n\nThe configuration specifies how VLAN tags (like dot1q, qinq, or dot1ad)\nwithin L2 packets are mapped to the destination appliances IP addresses.\nThe packet is then encapsulated with the appliance IP address and sent to\nthe edge appliance." +}, +"labelFingerprint": { +"description": "A fingerprint for the labels being applied to this InterconnectAttachment,\nwhich is essentially a hash of the labels set used for optimistic locking.\nThe fingerprint is initially generated by Compute Engine and changes after\nevery request to modify or update labels. You must always provide an\nup-to-date fingerprint hash in order to update or change labels,\notherwise the request will fail with error412 conditionNotMet.\n\nTo see the latest fingerprint, make a get() request to\nretrieve an InterconnectAttachment.", +"format": "byte", +"type": "string" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Labels for this resource. These can only be added or modified by thesetLabels method. Each label key/value pair must comply withRFC1035.\nLabel values may be empty.", +"type": "object" +}, +"mtu": { +"description": "Maximum Transmission Unit (MTU), in bytes, of packets passing through this\ninterconnect attachment.\nValid values are 1440, 1460, 1500, and 8896. If not specified,\nthe value will default to 1440.", +"format": "int32", +"type": "integer" +}, +"name": { +"description": "Name of the resource. Provided by the client when the resource is created.\nThe name must be 1-63 characters long, and comply withRFC1035.\nSpecifically, the name must be 1-63 characters long and match the regular\nexpression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first\ncharacter must be a lowercase letter, and all following characters must\nbe a dash, lowercase letter, or digit, except the last character, which\ncannot be a dash.", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"type": "string" +}, +"operationalStatus": { +"description": "Output only. [Output Only] The current status of whether or not this interconnect\nattachment is functional, which can take one of the following values:\n \n - OS_ACTIVE: The attachment has been turned up and is ready to\n use. \n - OS_UNPROVISIONED: The attachment is not ready to use yet,\n because turnup is not complete.", +"enum": [ +"OS_ACTIVE", +"OS_UNPROVISIONED" +], +"enumDescriptions": [ +"Indicates that attachment has been turned up and is ready to\nuse.", +"Indicates that attachment is not ready to use yet, because\nturnup is not complete." +], +"readOnly": true, +"type": "string" +}, +"pairingKey": { +"description": "[Output only for type PARTNER. Input only for PARTNER_PROVIDER. Not\npresent for DEDICATED].\nThe opaque identifier of a PARTNER attachment used to initiate\nprovisioning with a selected partner.\nOf the form \"XXXXX/region/domain\"", +"type": "string" +}, +"params": { +"$ref": "InterconnectAttachmentParams", +"description": "Input only. [Input Only] Additional params passed with the request, but not persisted\nas part of resource payload." +}, +"partnerAsn": { +"description": "Optional BGP ASN for the router supplied by a Layer 3 Partner if they\nconfigured BGP on behalf of the customer.\nOutput only for PARTNER type, input only for PARTNER_PROVIDER, not\navailable for DEDICATED.", +"format": "int64", +"type": "string" +}, +"partnerMetadata": { +"$ref": "InterconnectAttachmentPartnerMetadata", +"description": "Informational metadata about Partner attachments from Partners to display\nto customers.\nOutput only for PARTNER type, mutable for PARTNER_PROVIDER, not\navailable for DEDICATED." +}, +"privateInterconnectInfo": { +"$ref": "InterconnectAttachmentPrivateInfo", +"description": "Output only. [Output Only] Information specific to an InterconnectAttachment.\nThis property is populated if the interconnect that\nthis is attached to is of type DEDICATED.", +"readOnly": true +}, +"region": { +"description": "Output only. [Output Only] URL of the region where the regional interconnect attachment\nresides.\nYou must specify this field as part of the HTTP request URL. It is\nnot settable as a field in the request body.", +"readOnly": true, +"type": "string" +}, +"remoteService": { +"description": "Output only. [Output Only]\nIf the attachment is on a Cross-Cloud Interconnect connection, this field\ncontains the interconnect's remote location service provider. Example\nvalues: \"Amazon Web Services\" \"Microsoft Azure\".\n\nThe field is set only for attachments on Cross-Cloud Interconnect\nconnections. Its value is copied from the InterconnectRemoteLocation\nremoteService field.", +"readOnly": true, +"type": "string" +}, +"router": { +"description": "URL of the Cloud Router to be used for dynamic routing. This router must be\nin the same region as this InterconnectAttachment. The\nInterconnectAttachment will automatically connect the Interconnect to the\nnetwork & region within which the Cloud Router is configured.", +"type": "string" +}, +"satisfiesPzs": { +"description": "Output only. [Output Only] Reserved for future use.", +"readOnly": true, +"type": "boolean" +}, +"selfLink": { +"description": "Output only. [Output Only] Server-defined URL for the resource.", +"readOnly": true, +"type": "string" +}, +"stackType": { +"description": "The stack type for this interconnect attachment to identify whether the\nIPv6 feature is enabled or not. If not specified, IPV4_ONLY\nwill be used.\n\nThis field can be both set at interconnect attachments creation and\nupdate interconnect attachment operations.", +"enum": [ +"IPV4_IPV6", +"IPV4_ONLY" +], +"enumDescriptions": [ +"The interconnect attachment can have both IPv4 and IPv6 addresses.", +"The interconnect attachment will only be assigned IPv4 addresses." +], +"type": "string" +}, +"state": { +"description": "Output only. [Output Only] The current state of this attachment's functionality.\nEnum values ACTIVE and UNPROVISIONED are shared by DEDICATED/PRIVATE,\nPARTNER, and PARTNER_PROVIDER interconnect attachments, while enum values\nPENDING_PARTNER, PARTNER_REQUEST_RECEIVED, and PENDING_CUSTOMER are used\nfor only PARTNER and PARTNER_PROVIDER interconnect attachments.\nThis state can take one of the following values:\n \n - ACTIVE: The attachment has been turned up and is ready to use.\n - UNPROVISIONED: The attachment is not ready to use yet, because turnup\n is not complete.\n - PENDING_PARTNER: A newly-created PARTNER attachment that has not yet\n been configured on the Partner side.\n - PARTNER_REQUEST_RECEIVED: A PARTNER attachment is in the process of\n provisioning after a PARTNER_PROVIDER attachment was created that\n references it. \n - PENDING_CUSTOMER: A PARTNER or PARTNER_PROVIDER\n attachment that is waiting for a customer to activate it. \n - DEFUNCT:\n The attachment was deleted externally and is no longer functional. This\n could be because the associated Interconnect was removed, or because the\n other side of a Partner attachment was deleted.", +"enum": [ +"ACTIVE", +"DEFUNCT", +"PARTNER_REQUEST_RECEIVED", +"PENDING_CUSTOMER", +"PENDING_PARTNER", +"STATE_UNSPECIFIED", +"UNPROVISIONED" +], +"enumDescriptions": [ +"Indicates that attachment has been turned up and is ready to use.", +"The attachment was deleted externally and is no longer functional.\nThis could be because the associated Interconnect was wiped out,\nor because the other side of a Partner attachment was deleted.", +"A PARTNER attachment is in the process of provisioning after a\nPARTNER_PROVIDER attachment was created that references it.", +"PARTNER or PARTNER_PROVIDER attachment that is waiting for the customer\nto activate.", +"A newly created PARTNER attachment that has not yet been configured on\nthe Partner side.", +"", +"Indicates that attachment is not ready to use yet, because turnup is not\ncomplete." +], +"readOnly": true, +"type": "string" +}, +"subnetLength": { +"description": "Input only. Length of the IPv4 subnet mask.\nAllowed values:\n \n \n - 29 (default)\n - 30\n\nThe default value is 29, except for Cross-Cloud Interconnect\nconnections that use an InterconnectRemoteLocation with a\nconstraints.subnetLengthRange.min equal to 30. For example,\nconnections that use an Azure remote location fall into this\ncategory. In these cases, the default value is 30, and requesting\n29 returns an error.\n\nWhere both 29 and 30 are allowed, 29 is preferred, because it gives\nGoogle Cloud Support more debugging visibility.", +"format": "int32", +"type": "integer" +}, +"type": { +"description": "The type of interconnect attachment this is, which can take one of the\nfollowing values:\n \n - DEDICATED: an attachment to a Dedicated Interconnect.\n - PARTNER: an attachment to a Partner Interconnect, created by the\n customer.\n - PARTNER_PROVIDER: an attachment to a Partner Interconnect, created by\n the partner.\n\n- L2_DEDICATED: a L2 attachment to a Dedicated Interconnect.", +"enum": [ +"DEDICATED", +"L2_DEDICATED", +"PARTNER", +"PARTNER_PROVIDER" +], +"enumDescriptions": [ +"Attachment to a dedicated interconnect.", +"Attachment to a dedicated interconnect, forwarding L2 packets.", +"Attachment to a partner interconnect, created by the customer.", +"Attachment to a partner interconnect, created by the partner." +], +"type": "string" +}, +"vlanTag8021q": { +"description": "The IEEE 802.1Q VLAN tag for this attachment, in the range 2-4093.\nOnly specified at creation time.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"InterconnectAttachmentAggregatedList": { +"id": "InterconnectAttachmentAggregatedList", +"properties": { +"id": { +"description": "[Output Only] Unique identifier for the resource; defined by the server.", +"type": "string" +}, +"items": { +"additionalProperties": { +"$ref": "InterconnectAttachmentsScopedList", +"description": "Name of the scope containing this set of interconnect attachments." +}, +"description": "A list of InterconnectAttachmentsScopedList resources.", +"type": "object" +}, +"kind": { +"default": "compute#interconnectAttachmentAggregatedList", +"description": "Output only. [Output Only] Type of resource. Alwayscompute#interconnectAttachmentAggregatedList for aggregated\nlists of interconnect attachments.", +"readOnly": true, +"type": "string" +}, +"nextPageToken": { +"description": "[Output Only] This token allows you to get the next page of results for\nlist requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for\nthe query parameter pageToken in the next list request.\nSubsequent list requests will have their own nextPageToken to\ncontinue paging through the results.", +"type": "string" +}, +"selfLink": { +"description": "Output only. [Output Only] Server-defined URL for this resource.", +"readOnly": true, +"type": "string" +}, +"unreachables": { +"description": "Output only. [Output Only] Unreachable resources.", +"items": { +"type": "string" +}, +"readOnly": true, +"type": "array" +}, +"warning": { +"description": "[Output Only] Informational warning message.", +"properties": { +"code": { +"description": "[Output Only] A warning code, if applicable. For example, Compute\nEngine returns NO_RESULTS_ON_PAGE if there\nare no results in the response.", +"enum": [ +"CLEANUP_FAILED", +"DEPRECATED_RESOURCE_USED", +"DEPRECATED_TYPE_USED", +"DISK_SIZE_LARGER_THAN_IMAGE_SIZE", +"EXPERIMENTAL_TYPE_USED", +"EXTERNAL_API_WARNING", +"FIELD_VALUE_OVERRIDEN", +"INJECTED_KERNELS_DEPRECATED", +"INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", +"LARGE_DEPLOYMENT_WARNING", +"LIST_OVERHEAD_QUOTA_EXCEED", +"MISSING_TYPE_DEPENDENCY", +"NEXT_HOP_ADDRESS_NOT_ASSIGNED", +"NEXT_HOP_CANNOT_IP_FORWARD", +"NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", +"NEXT_HOP_INSTANCE_NOT_FOUND", +"NEXT_HOP_INSTANCE_NOT_ON_NETWORK", +"NEXT_HOP_NOT_RUNNING", +"NOT_CRITICAL_ERROR", +"NO_RESULTS_ON_PAGE", +"PARTIAL_SUCCESS", +"QUOTA_INFO_UNAVAILABLE", +"REQUIRED_TOS_AGREEMENT", +"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", +"RESOURCE_NOT_DELETED", +"SCHEMA_VALIDATION_IGNORED", +"SINGLE_INSTANCE_PROPERTY_TEMPLATE", +"UNDECLARED_PROPERTIES", +"UNREACHABLE" +], +"enumDeprecated": [ +false, +false, +false, +false, +false, +false, +true, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false +], +"enumDescriptions": [ +"Warning about failed cleanup of transient changes made by a failed\noperation.", +"A link to a deprecated resource was created.", +"When deploying and at least one of the resources has a type marked as\ndeprecated", +"The user created a boot disk that is larger than image size.", +"When deploying and at least one of the resources has a type marked as\nexperimental", +"Warning that is present in an external api call", +"Warning that value of a field has been overridden.\nDeprecated unused field.", +"The operation involved use of an injected kernel, which is deprecated.", +"A WEIGHTED_MAGLEV backend service is associated with a health check that is\nnot of type HTTP/HTTPS/HTTP2.", +"When deploying a deployment with a exceedingly large number of resources", +"Resource can't be retrieved due to list overhead quota exceed\nwhich captures the amount of resources filtered out by\nuser-defined list filter.", +"A resource depends on a missing type", +"The route's nextHopIp address is not assigned to an instance on the\nnetwork.", +"The route's next hop instance cannot ip forward.", +"The route's nextHopInstance URL refers to an instance that does not have an\nipv6 interface on the same network as the route.", +"The route's nextHopInstance URL refers to an instance that does not exist.", +"The route's nextHopInstance URL refers to an instance that is not on the\nsame network as the route.", +"The route's next hop instance does not have a status of RUNNING.", +"Error which is not critical. We decided to continue the process despite\nthe mentioned error.", +"No results are present on a particular list page.", +"Success is reported, but some results may be missing due to errors", +"Quota information is not available to client requests (e.g:\nregions.list).", +"The user attempted to use a resource that requires a TOS they have not\naccepted.", +"Warning that a resource is in use.", +"One or more of the resources set to auto-delete could not be deleted\nbecause they were in use.", +"When a resource schema validation is ignored.", +"Instance template used in instance group manager is valid as such, but\nits application does not make a lot of sense, because it allows only\nsingle instance in instance group.", +"When undeclared properties in the schema are present", +"A given scope cannot be reached." +], +"type": "string" +}, +"data": { +"description": "[Output Only] Metadata about this warning in key:\nvalue format. For example:\n\n\"data\": [\n {\n \"key\": \"scope\",\n \"value\": \"zones/us-east1-d\"\n }", +"items": { +"properties": { +"key": { +"description": "[Output Only] A key that provides more detail on the warning being\nreturned. For example, for warnings where there are no results in a list\nrequest for a particular zone, this key might be scope and\nthe key value might be the zone name. Other examples might be a key\nindicating a deprecated resource and a suggested replacement, or a\nwarning about invalid network settings (for example, if an instance\nattempts to perform IP forwarding but is not enabled for IP forwarding).", +"type": "string" +}, +"value": { +"description": "[Output Only] A warning data value corresponding to the key.", +"type": "string" +} +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "[Output Only] A human-readable description of the warning code.", +"type": "string" +} +}, +"type": "object" +} +}, +"type": "object" +}, +"InterconnectAttachmentConfigurationConstraints": { +"id": "InterconnectAttachmentConfigurationConstraints", +"properties": { +"bgpMd5": { +"description": "Output only. [Output Only] Whether the attachment's BGP session\nrequires/allows/disallows BGP MD5 authentication. This can take one of\nthe following values: MD5_OPTIONAL, MD5_REQUIRED, MD5_UNSUPPORTED.\n\nFor example, a Cross-Cloud Interconnect connection to a remote cloud\nprovider that requires BGP MD5 authentication has the\ninterconnectRemoteLocation attachment_configuration_constraints.bgp_md5\nfield set to MD5_REQUIRED, and that property is propagated to the\nattachment. Similarly, if BGP MD5 is MD5_UNSUPPORTED, an error is\nreturned if MD5 is requested.", +"enum": [ +"MD5_OPTIONAL", +"MD5_REQUIRED", +"MD5_UNSUPPORTED" +], +"enumDescriptions": [ +"MD5_OPTIONAL: BGP MD5 authentication is supported and can optionally be\nconfigured.", +"MD5_REQUIRED: BGP MD5 authentication must be configured.", +"MD5_UNSUPPORTED: BGP MD5 authentication must not be configured" +], +"readOnly": true, +"type": "string" +}, +"bgpPeerAsnRanges": { +"description": "Output only. [Output Only] List of ASN ranges that the remote location is known to\nsupport. Formatted as an array of inclusive ranges {min: min-value, max:\nmax-value}. For example, [{min: 123, max: 123}, {min: 64512, max: 65534}]\nallows the peer ASN to be 123 or anything in the range 64512-65534.\n\nThis field is only advisory. Although the API accepts other ranges, these\nare the ranges that we recommend.", +"items": { +"$ref": "InterconnectAttachmentConfigurationConstraintsBgpPeerASNRange" +}, +"readOnly": true, +"type": "array" +} +}, +"type": "object" +}, +"InterconnectAttachmentConfigurationConstraintsBgpPeerASNRange": { +"id": "InterconnectAttachmentConfigurationConstraintsBgpPeerASNRange", +"properties": { +"max": { +"format": "uint32", +"type": "integer" +}, +"min": { +"format": "uint32", +"type": "integer" +} +}, +"type": "object" +}, +"InterconnectAttachmentGroup": { +"description": "An interconnect attachment group resource allows customers to create,\nanalyze, and expand highly available deployments.", +"id": "InterconnectAttachmentGroup", +"properties": { +"attachments": { +"additionalProperties": { +"$ref": "InterconnectAttachmentGroupAttachment" +}, +"description": "Attachments in the AttachmentGroup. Keys are arbitrary user-specified\nstrings. Users are encouraged, but not required, to use their preferred\nformat for resource links as keys.\nNote that there are add-members and remove-members methods in gcloud.\nThe size of this map is limited by an \"Attachments per group\" quota.", +"type": "object" +}, +"configured": { +"$ref": "InterconnectAttachmentGroupConfigured", +"readOnly": true +}, +"creationTimestamp": { +"description": "Output only. [Output Only] Creation timestamp inRFC3339\ntext format.", +"readOnly": true, +"type": "string" +}, +"description": { +"description": "An optional description of this resource. Provide this property when you\ncreate the resource.", +"type": "string" +}, +"etag": { +"description": "Opaque system-generated token that uniquely identifies the configuration.\nIf provided when patching a configuration in update mode, the provided\ntoken must match the current token or the update is rejected. This provides\na reliable means of doing read-modify-write (optimistic locking) as\ndescribed byAIP 154.", +"type": "string" +}, +"id": { +"description": "Output only. [Output Only] The unique identifier for the resource type. The server\ngenerates this identifier.", +"format": "uint64", +"readOnly": true, +"type": "string" +}, +"intent": { +"$ref": "InterconnectAttachmentGroupIntent" +}, +"interconnectGroup": { +"description": "The URL of an InterconnectGroup that groups these Attachments'\nInterconnects. Customers do not need to set this unless directed by\nGoogle Support.", +"type": "string" +}, +"kind": { +"default": "compute#interconnectAttachmentGroup", +"description": "Output only. [Output Only] Type of the resource. Always\ncompute#interconnectAttachmentGroup.", +"readOnly": true, +"type": "string" +}, +"logicalStructure": { +"$ref": "InterconnectAttachmentGroupLogicalStructure", +"readOnly": true +}, +"name": { +"description": "Name of the resource. Provided by the client when the resource is created.\nThe name must be 1-63 characters long, and comply withRFC1035.\nSpecifically, the name must be 1-63 characters long and match the regular\nexpression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first\ncharacter must be a lowercase letter, and all following characters must\nbe a dash, lowercase letter, or digit, except the last character, which\ncannot be a dash.", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"type": "string" +}, +"selfLink": { +"description": "Output only. [Output Only] Server-defined URL for the resource.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"InterconnectAttachmentGroupAttachment": { +"description": "An Attachment in this AttachmentGroup.", +"id": "InterconnectAttachmentGroupAttachment", +"properties": { +"attachment": { +"type": "string" +} +}, +"type": "object" +}, +"InterconnectAttachmentGroupConfigured": { +"description": "[Output Only] The redundancy this group is configured to support. The way a\nuser queries what SLA their Attachment gets is by looking at this field of\nthe Attachment's AttachmentGroup.", +"id": "InterconnectAttachmentGroupConfigured", +"properties": { +"availabilitySla": { +"$ref": "InterconnectAttachmentGroupConfiguredAvailabilitySLA", +"readOnly": true +} +}, +"type": "object" +}, +"InterconnectAttachmentGroupConfiguredAvailabilitySLA": { +"description": "[Output Only] Which SLA this group is configured to support, and why this\ngroup does or does not meet that SLA's requirements.", +"id": "InterconnectAttachmentGroupConfiguredAvailabilitySLA", +"properties": { +"effectiveSla": { +"enum": [ +"EFFECTIVE_SLA_UNSPECIFIED", +"NO_SLA", +"PRODUCTION_CRITICAL", +"PRODUCTION_NON_CRITICAL" +], +"enumDescriptions": [ +"", +"", +"", +"" +], +"readOnly": true, +"type": "string" +}, +"intendedSlaBlockers": { +"items": { +"$ref": "InterconnectAttachmentGroupConfiguredAvailabilitySLAIntendedSlaBlockers" +}, +"readOnly": true, +"type": "array" +} +}, +"type": "object" +}, +"InterconnectAttachmentGroupConfiguredAvailabilitySLAIntendedSlaBlockers": { +"description": "[Output Only] Reasons why configuration.availabilitySLA.sla differs from\nintent.availabilitySLA. This list is empty if and only if those are the\nsame.", +"id": "InterconnectAttachmentGroupConfiguredAvailabilitySLAIntendedSlaBlockers", +"properties": { +"attachments": { +"description": "Output only. [Output Only] URLs of any particular Attachments to explain this\nblocker in more detail.", +"items": { +"type": "string" +}, +"readOnly": true, +"type": "array" +}, +"blockerType": { +"enum": [ +"BLOCKER_TYPE_UNSPECIFIED", +"INCOMPATIBLE_METROS", +"INCOMPATIBLE_REGIONS", +"MISSING_GLOBAL_ROUTING", +"NO_ATTACHMENTS", +"NO_ATTACHMENTS_IN_METRO_AND_ZONE", +"OTHER" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"", +"" +], +"readOnly": true, +"type": "string" +}, +"documentationLink": { +"description": "Output only. [Output Only] The url of Google Cloud public documentation explaining\nthis requirement. This is set for every type of requirement.", +"readOnly": true, +"type": "string" +}, +"explanation": { +"description": "Output only. [Output Only] A human-readable explanation of this requirement and\nwhy it's not met. This is set for every type of requirement.", +"readOnly": true, +"type": "string" +}, +"metros": { +"description": "Output only. [Output Only] Metros used to explain this blocker in more detail.\nThese are three-letter lowercase strings like \"iad\". This will be set\nfor some blockers (like NO_ATTACHMENTS_IN_METRO_AND_ZONE) but does\nnot apply to others.", +"items": { +"type": "string" +}, +"readOnly": true, +"type": "array" +}, +"regions": { +"description": "Output only. [Output Only] Regions used to explain this blocker in more\ndetail. These are region names formatted like \"us-central1\". This\nwill be set for some blockers (like INCOMPATIBLE_REGIONS) but does\nnot apply to others.", +"items": { +"type": "string" +}, +"readOnly": true, +"type": "array" +}, +"zones": { +"description": "Output only. [Output Only] Zones used to explain this blocker in more detail.\nFormat is \"zone1\" and/or \"zone2\". This will be set for some blockers\n(like MISSING_ZONE) but does not apply to others.", +"items": { +"type": "string" +}, +"readOnly": true, +"type": "array" +} +}, +"type": "object" +}, +"InterconnectAttachmentGroupIntent": { +"description": "The user's intent for this AttachmentGroup. This is the only required field\nbesides the name that must be specified on group creation.", +"id": "InterconnectAttachmentGroupIntent", +"properties": { +"availabilitySla": { +"enum": [ +"AVAILABILITY_SLA_UNSPECIFIED", +"NO_SLA", +"PRODUCTION_CRITICAL", +"PRODUCTION_NON_CRITICAL" +], +"enumDescriptions": [ +"", +"", +"", +"" +], +"type": "string" +} +}, +"type": "object" +}, +"InterconnectAttachmentGroupLogicalStructure": { +"description": "[Output Only] An analysis of the logical layout of Attachments in this\ngroup. Every Attachment in the group is shown once in this structure.", +"id": "InterconnectAttachmentGroupLogicalStructure", +"properties": { +"regions": { +"items": { +"$ref": "InterconnectAttachmentGroupLogicalStructureRegion" +}, +"readOnly": true, +"type": "array" +} +}, +"type": "object" +}, +"InterconnectAttachmentGroupLogicalStructureRegion": { +"description": "[Output Only] The regions Attachments in this group are in.", +"id": "InterconnectAttachmentGroupLogicalStructureRegion", +"properties": { +"metros": { +"items": { +"$ref": "InterconnectAttachmentGroupLogicalStructureRegionMetro" +}, +"readOnly": true, +"type": "array" +}, +"region": { +"description": "Output only. [Output Only] The name of a region, like \"us-central1\".", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"InterconnectAttachmentGroupLogicalStructureRegionMetro": { +"description": "[Output Only] The metros of Attachments in this group in this region.", +"id": "InterconnectAttachmentGroupLogicalStructureRegionMetro", +"properties": { +"facilities": { +"items": { +"$ref": "InterconnectAttachmentGroupLogicalStructureRegionMetroFacility" +}, +"readOnly": true, +"type": "array" +}, +"metro": { +"description": "Output only. [Output Only] The name of the metro, as a three-letter lowercase\nstring like \"iad\". This is the first component of the location of an\nInterconnect.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"InterconnectAttachmentGroupLogicalStructureRegionMetroFacility": { +"description": "[Output Only] The facilities used for this group's Attachments'\nInterconnects.", +"id": "InterconnectAttachmentGroupLogicalStructureRegionMetroFacility", +"properties": { +"facility": { +"description": "Output only. [Output Only] The name of a facility, like \"iad-1234\".", +"readOnly": true, +"type": "string" +}, +"zones": { +"items": { +"$ref": "InterconnectAttachmentGroupLogicalStructureRegionMetroFacilityZone" +}, +"readOnly": true, +"type": "array" +} +}, +"type": "object" +}, +"InterconnectAttachmentGroupLogicalStructureRegionMetroFacilityZone": { +"description": "[Output Only] The zones that Attachments in this group are present\nin, in the given facilities. This is inherited from their\nInterconnects.", +"id": "InterconnectAttachmentGroupLogicalStructureRegionMetroFacilityZone", +"properties": { +"attachments": { +"description": "Output only. [Output Only] URLs of Attachments in the given zone, to the given\nregion, on Interconnects in the given facility and metro. Every\nAttachment in the AG has such an entry.", +"items": { +"type": "string" +}, +"readOnly": true, +"type": "array" +}, +"zone": { +"description": "Output only. [Output Only] The name of a zone, either \"zone1\" or \"zone2\".", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"InterconnectAttachmentGroupsGetOperationalStatusResponse": { +"description": "Response for the InterconnectAttachmentGroupsGetOperationalStatusResponse.", +"id": "InterconnectAttachmentGroupsGetOperationalStatusResponse", +"properties": { +"etag": { +"type": "string" +}, +"result": { +"$ref": "InterconnectAttachmentGroupsOperationalStatus" +} +}, +"type": "object" +}, +"InterconnectAttachmentGroupsListResponse": { +"id": "InterconnectAttachmentGroupsListResponse", +"properties": { +"etag": { +"type": "string" +}, +"id": { +"description": "[Output Only] Unique identifier for the resource; defined by the server.", +"type": "string" +}, +"items": { +"description": "A list of InterconnectAttachmentGroup resources.", +"items": { +"$ref": "InterconnectAttachmentGroup" +}, +"type": "array" +}, +"kind": { +"default": "compute#interconnectAttachmentGroup", +"readOnly": true, +"type": "string" +}, +"nextPageToken": { +"description": "[Output Only] This token allows you to get the next page of results for\nlist requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for\nthe query parameter pageToken in the next list request.\nSubsequent list requests will have their own nextPageToken to\ncontinue paging through the results.", +"type": "string" +}, +"selfLink": { +"description": "[Output Only] Server-defined URL for this resource.", +"type": "string" +}, +"unreachables": { +"description": "Output only. [Output Only] Unreachable resources.\nend_interface:\nMixerListResponseWithEtagBuilder", +"items": { +"type": "string" +}, +"readOnly": true, +"type": "array" +}, +"warning": { +"description": "[Output Only] Informational warning message.", +"properties": { +"code": { +"description": "[Output Only] A warning code, if applicable. For example, Compute\nEngine returns NO_RESULTS_ON_PAGE if there\nare no results in the response.", +"enum": [ +"CLEANUP_FAILED", +"DEPRECATED_RESOURCE_USED", +"DEPRECATED_TYPE_USED", +"DISK_SIZE_LARGER_THAN_IMAGE_SIZE", +"EXPERIMENTAL_TYPE_USED", +"EXTERNAL_API_WARNING", +"FIELD_VALUE_OVERRIDEN", +"INJECTED_KERNELS_DEPRECATED", +"INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", +"LARGE_DEPLOYMENT_WARNING", +"LIST_OVERHEAD_QUOTA_EXCEED", +"MISSING_TYPE_DEPENDENCY", +"NEXT_HOP_ADDRESS_NOT_ASSIGNED", +"NEXT_HOP_CANNOT_IP_FORWARD", +"NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", +"NEXT_HOP_INSTANCE_NOT_FOUND", +"NEXT_HOP_INSTANCE_NOT_ON_NETWORK", +"NEXT_HOP_NOT_RUNNING", +"NOT_CRITICAL_ERROR", +"NO_RESULTS_ON_PAGE", +"PARTIAL_SUCCESS", +"QUOTA_INFO_UNAVAILABLE", +"REQUIRED_TOS_AGREEMENT", +"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", +"RESOURCE_NOT_DELETED", +"SCHEMA_VALIDATION_IGNORED", +"SINGLE_INSTANCE_PROPERTY_TEMPLATE", +"UNDECLARED_PROPERTIES", +"UNREACHABLE" +], +"enumDeprecated": [ +false, +false, +false, +false, +false, +false, +true, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false +], +"enumDescriptions": [ +"Warning about failed cleanup of transient changes made by a failed\noperation.", +"A link to a deprecated resource was created.", +"When deploying and at least one of the resources has a type marked as\ndeprecated", +"The user created a boot disk that is larger than image size.", +"When deploying and at least one of the resources has a type marked as\nexperimental", +"Warning that is present in an external api call", +"Warning that value of a field has been overridden.\nDeprecated unused field.", +"The operation involved use of an injected kernel, which is deprecated.", +"A WEIGHTED_MAGLEV backend service is associated with a health check that is\nnot of type HTTP/HTTPS/HTTP2.", +"When deploying a deployment with a exceedingly large number of resources", +"Resource can't be retrieved due to list overhead quota exceed\nwhich captures the amount of resources filtered out by\nuser-defined list filter.", +"A resource depends on a missing type", +"The route's nextHopIp address is not assigned to an instance on the\nnetwork.", +"The route's next hop instance cannot ip forward.", +"The route's nextHopInstance URL refers to an instance that does not have an\nipv6 interface on the same network as the route.", +"The route's nextHopInstance URL refers to an instance that does not exist.", +"The route's nextHopInstance URL refers to an instance that is not on the\nsame network as the route.", +"The route's next hop instance does not have a status of RUNNING.", +"Error which is not critical. We decided to continue the process despite\nthe mentioned error.", +"No results are present on a particular list page.", +"Success is reported, but some results may be missing due to errors", +"Quota information is not available to client requests (e.g:\nregions.list).", +"The user attempted to use a resource that requires a TOS they have not\naccepted.", +"Warning that a resource is in use.", +"One or more of the resources set to auto-delete could not be deleted\nbecause they were in use.", +"When a resource schema validation is ignored.", +"Instance template used in instance group manager is valid as such, but\nits application does not make a lot of sense, because it allows only\nsingle instance in instance group.", +"When undeclared properties in the schema are present", +"A given scope cannot be reached." +], +"type": "string" +}, +"data": { +"description": "[Output Only] Metadata about this warning in key:\nvalue format. For example:\n\n\"data\": [\n {\n \"key\": \"scope\",\n \"value\": \"zones/us-east1-d\"\n }", +"items": { +"properties": { +"key": { +"description": "[Output Only] A key that provides more detail on the warning being\nreturned. For example, for warnings where there are no results in a list\nrequest for a particular zone, this key might be scope and\nthe key value might be the zone name. Other examples might be a key\nindicating a deprecated resource and a suggested replacement, or a\nwarning about invalid network settings (for example, if an instance\nattempts to perform IP forwarding but is not enabled for IP forwarding).", +"type": "string" +}, +"value": { +"description": "[Output Only] A warning data value corresponding to the key.", +"type": "string" +} +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "[Output Only] A human-readable description of the warning code.", +"type": "string" +} +}, +"type": "object" +} +}, +"type": "object" +}, +"InterconnectAttachmentGroupsOperationalStatus": { +"id": "InterconnectAttachmentGroupsOperationalStatus", +"properties": { +"attachmentStatuses": { +"items": { +"$ref": "InterconnectAttachmentGroupsOperationalStatusAttachmentStatus" +}, +"readOnly": true, +"type": "array" +}, +"configured": { +"$ref": "InterconnectAttachmentGroupConfigured", +"readOnly": true +}, +"groupStatus": { +"description": "Output only. Summarizes the status of the group.", +"enum": [ +"DEGRADED", +"FULLY_DOWN", +"FULLY_UP", +"UNSPECIFIED" +], +"enumDescriptions": [ +"", +"", +"", +"" +], +"readOnly": true, +"type": "string" +}, +"intent": { +"$ref": "InterconnectAttachmentGroupIntent", +"readOnly": true +}, +"operational": { +"$ref": "InterconnectAttachmentGroupConfigured", +"description": "Output only. The operational state of the group, including only active Attachments.", +"readOnly": true +} +}, +"type": "object" +}, +"InterconnectAttachmentGroupsOperationalStatusAttachmentStatus": { +"description": "The status of one Attachment in the group. List order is arbitrary.", +"id": "InterconnectAttachmentGroupsOperationalStatusAttachmentStatus", +"properties": { +"adminEnabled": { +"description": "Output only. Whether this Attachment is enabled. This becomes false when the customer\ndrains their Attachment.", +"readOnly": true, +"type": "boolean" +}, +"attachment": { +"description": "Output only. The URL of the Attachment being described.", +"readOnly": true, +"type": "string" +}, +"isActive": { +"description": "Output only. Whether this Attachment is participating in the redundant configuration.\nThis will be ACTIVE if and only if the status below is CONNECTION_UP.\nAny INACTIVE Attachments are excluded from the analysis that generates\noperational.availabilitySLA.", +"enum": [ +"ACTIVE", +"INACTIVE", +"UNSPECIFIED" +], +"enumDescriptions": [ +"", +"", +"" +], +"readOnly": true, +"type": "string" +}, +"status": { +"description": "Output only. Whether this Attachment is active, and if so, whether BGP is up.", +"enum": [ +"ATTACHMENT_STATUS_UNKNOWN", +"CONNECTION_DISABLED", +"CONNECTION_DOWN", +"CONNECTION_UP", +"DEFUNCT", +"IPSEC_CONFIGURATION_NEEDED_STATUS", +"IPSEC_READY_TO_RESUME_FLOW_STATUS", +"IPV4_DOWN_IPV6_UP", +"IPV4_UP_IPV6_DOWN", +"PARTNER_REQUEST_RECEIVED", +"PENDING_CUSTOMER", +"PENDING_PARTNER", +"PROVISIONED", +"ROUTER_CONFIGURATION_BROKEN", +"UNPROVISIONED" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"" +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"InterconnectAttachmentL2Forwarding": { +"description": "L2 Interconnect Attachment related configuration.", +"id": "InterconnectAttachmentL2Forwarding", +"properties": { +"applianceMappings": { +"additionalProperties": { +"$ref": "InterconnectAttachmentL2ForwardingApplianceMapping" +}, +"description": "Optional. A map of VLAN tags to appliances and optional inner mapping\nrules. If VLANs are not explicitly mapped to any appliance, the\ndefaultApplianceIpAddress is used.\n\nEach VLAN tag can be a single number or a range of numbers in the range\nof 1 to 4094, e.g., \"1\" or \"4001-4094\". Non-empty and non-overlapping\nVLAN tag ranges are enforced, and violating operations will be rejected.\n\nThe VLAN tags in the Ethernet header must use an ethertype value of\n0x88A8 or 0x8100.", +"type": "object" +}, +"defaultApplianceIpAddress": { +"description": "Optional. A single IPv4 or IPv6 address used as the default destination\nIP when there is no VLAN mapping result found.\n\nUnset field (null-value) indicates the unmatched packet should be\ndropped.", +"type": "string" +}, +"geneveHeader": { +"$ref": "InterconnectAttachmentL2ForwardingGeneveHeader", +"description": "Optional. It represents the structure of a Geneve (Generic Network\nVirtualization Encapsulation) header, as defined in RFC8926. It encapsulates packets from various\nprotocols (e.g., Ethernet, IPv4, IPv6) for use in network virtualization\nenvironments." +}, +"network": { +"description": "Required. Resource URL of the network to which this attachment belongs.", +"type": "string" +}, +"tunnelEndpointIpAddress": { +"description": "Required. A single IPv4 or IPv6 address. This address will be used as the\nsource IP address for packets sent to the appliances, and must be used as\nthe destination IP address for packets that should be sent out through\nthis attachment.", +"type": "string" +} +}, +"type": "object" +}, +"InterconnectAttachmentL2ForwardingApplianceMapping": { +"description": "Two-level VLAN-to-Appliance mapping rule.", +"id": "InterconnectAttachmentL2ForwardingApplianceMapping", +"properties": { +"applianceIpAddress": { +"description": "Optional. A single IPv4 or IPv6 address used as the destination IP\naddress for ingress packets that match on a VLAN tag, but do not match\na more specific inner VLAN tag.\n\nUnset field (null-value) indicates both VLAN tags are required to be\nmapped. Otherwise, defaultApplianceIpAddress is used.", +"type": "string" +}, +"innerVlanToApplianceMappings": { +"description": "Optional. Used to match against the inner VLAN when the packet\ncontains two VLAN tags.\n\nA list of mapping rules from inner VLAN tags to IP addresses. If the\ninner VLAN is not explicitly mapped to an IP address range, the\napplianceIpAddress is used.", +"items": { +"$ref": "InterconnectAttachmentL2ForwardingApplianceMappingInnerVlanToApplianceMapping" +}, +"type": "array" +}, +"name": { +"description": "Optional. The name of this appliance mapping rule.", +"type": "string" +} +}, +"type": "object" +}, +"InterconnectAttachmentL2ForwardingApplianceMappingInnerVlanToApplianceMapping": { +"description": "The inner VLAN-to-Appliance mapping.", +"id": "InterconnectAttachmentL2ForwardingApplianceMappingInnerVlanToApplianceMapping", +"properties": { +"innerApplianceIpAddress": { +"description": "Required in this object. A single IPv4 or IPv6 address used as the\ndestination IP address for ingress packets that match on both VLAN\ntags.", +"type": "string" +}, +"innerVlanTags": { +"description": "Required in this object. Used to match the inner VLAN tag on the\npacket. Each entry can be a single number or a range of numbers in\nthe range of 1 to 4094, e.g., [\"1\", \"4001-4094\"] is valid. Non-empty\nand Non-overlapping VLAN tag ranges are enforced, and violating\noperations will be rejected.\n\nThe inner VLAN tags must have an ethertype value of 0x8100.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"InterconnectAttachmentL2ForwardingGeneveHeader": { +"description": "GeneveHeader related configurations.", +"id": "InterconnectAttachmentL2ForwardingGeneveHeader", +"properties": { +"vni": { +"description": "Optional. VNI is a 24-bit unique virtual network identifier, from 0 to\n16,777,215.", +"format": "uint32", +"type": "integer" +} +}, +"type": "object" +}, +"InterconnectAttachmentList": { +"description": "Response to the list request, and contains a list of interconnect\nattachments.", +"id": "InterconnectAttachmentList", +"properties": { +"id": { +"description": "[Output Only] Unique identifier for the resource; defined by the server.", +"type": "string" +}, +"items": { +"description": "A list of InterconnectAttachment resources.", +"items": { +"$ref": "InterconnectAttachment" +}, +"type": "array" +}, +"kind": { +"default": "compute#interconnectAttachmentList", +"description": "Output only. [Output Only] Type of resource. Alwayscompute#interconnectAttachmentList for lists of interconnect\nattachments.", +"readOnly": true, +"type": "string" +}, +"nextPageToken": { +"description": "[Output Only] This token allows you to get the next page of results for\nlist requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for\nthe query parameter pageToken in the next list request.\nSubsequent list requests will have their own nextPageToken to\ncontinue paging through the results.", +"type": "string" +}, +"selfLink": { +"description": "Output only. [Output Only] Server-defined URL for this resource.", +"readOnly": true, +"type": "string" +}, +"warning": { +"description": "[Output Only] Informational warning message.", +"properties": { +"code": { +"description": "[Output Only] A warning code, if applicable. For example, Compute\nEngine returns NO_RESULTS_ON_PAGE if there\nare no results in the response.", +"enum": [ +"CLEANUP_FAILED", +"DEPRECATED_RESOURCE_USED", +"DEPRECATED_TYPE_USED", +"DISK_SIZE_LARGER_THAN_IMAGE_SIZE", +"EXPERIMENTAL_TYPE_USED", +"EXTERNAL_API_WARNING", +"FIELD_VALUE_OVERRIDEN", +"INJECTED_KERNELS_DEPRECATED", +"INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", +"LARGE_DEPLOYMENT_WARNING", +"LIST_OVERHEAD_QUOTA_EXCEED", +"MISSING_TYPE_DEPENDENCY", +"NEXT_HOP_ADDRESS_NOT_ASSIGNED", +"NEXT_HOP_CANNOT_IP_FORWARD", +"NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", +"NEXT_HOP_INSTANCE_NOT_FOUND", +"NEXT_HOP_INSTANCE_NOT_ON_NETWORK", +"NEXT_HOP_NOT_RUNNING", +"NOT_CRITICAL_ERROR", +"NO_RESULTS_ON_PAGE", +"PARTIAL_SUCCESS", +"QUOTA_INFO_UNAVAILABLE", +"REQUIRED_TOS_AGREEMENT", +"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", +"RESOURCE_NOT_DELETED", +"SCHEMA_VALIDATION_IGNORED", +"SINGLE_INSTANCE_PROPERTY_TEMPLATE", +"UNDECLARED_PROPERTIES", +"UNREACHABLE" +], +"enumDeprecated": [ +false, +false, +false, +false, +false, +false, +true, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false +], +"enumDescriptions": [ +"Warning about failed cleanup of transient changes made by a failed\noperation.", +"A link to a deprecated resource was created.", +"When deploying and at least one of the resources has a type marked as\ndeprecated", +"The user created a boot disk that is larger than image size.", +"When deploying and at least one of the resources has a type marked as\nexperimental", +"Warning that is present in an external api call", +"Warning that value of a field has been overridden.\nDeprecated unused field.", +"The operation involved use of an injected kernel, which is deprecated.", +"A WEIGHTED_MAGLEV backend service is associated with a health check that is\nnot of type HTTP/HTTPS/HTTP2.", +"When deploying a deployment with a exceedingly large number of resources", +"Resource can't be retrieved due to list overhead quota exceed\nwhich captures the amount of resources filtered out by\nuser-defined list filter.", +"A resource depends on a missing type", +"The route's nextHopIp address is not assigned to an instance on the\nnetwork.", +"The route's next hop instance cannot ip forward.", +"The route's nextHopInstance URL refers to an instance that does not have an\nipv6 interface on the same network as the route.", +"The route's nextHopInstance URL refers to an instance that does not exist.", +"The route's nextHopInstance URL refers to an instance that is not on the\nsame network as the route.", +"The route's next hop instance does not have a status of RUNNING.", +"Error which is not critical. We decided to continue the process despite\nthe mentioned error.", +"No results are present on a particular list page.", +"Success is reported, but some results may be missing due to errors", +"Quota information is not available to client requests (e.g:\nregions.list).", +"The user attempted to use a resource that requires a TOS they have not\naccepted.", +"Warning that a resource is in use.", +"One or more of the resources set to auto-delete could not be deleted\nbecause they were in use.", +"When a resource schema validation is ignored.", +"Instance template used in instance group manager is valid as such, but\nits application does not make a lot of sense, because it allows only\nsingle instance in instance group.", +"When undeclared properties in the schema are present", +"A given scope cannot be reached." +], +"type": "string" +}, +"data": { +"description": "[Output Only] Metadata about this warning in key:\nvalue format. For example:\n\n\"data\": [\n {\n \"key\": \"scope\",\n \"value\": \"zones/us-east1-d\"\n }", +"items": { +"properties": { +"key": { +"description": "[Output Only] A key that provides more detail on the warning being\nreturned. For example, for warnings where there are no results in a list\nrequest for a particular zone, this key might be scope and\nthe key value might be the zone name. Other examples might be a key\nindicating a deprecated resource and a suggested replacement, or a\nwarning about invalid network settings (for example, if an instance\nattempts to perform IP forwarding but is not enabled for IP forwarding).", +"type": "string" +}, +"value": { +"description": "[Output Only] A warning data value corresponding to the key.", +"type": "string" +} +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "[Output Only] A human-readable description of the warning code.", +"type": "string" +} +}, +"type": "object" +} +}, +"type": "object" +}, +"InterconnectAttachmentParams": { +"description": "Additional interconnect attachment parameters.", +"id": "InterconnectAttachmentParams", +"properties": { +"resourceManagerTags": { +"additionalProperties": { +"type": "string" +}, +"description": "Tag keys/values directly bound to this resource.\nTag keys and values have the same definition as resource\nmanager tags. The field is allowed for INSERT\nonly. The keys/values to set on the resource should be specified in\neither ID { : } or Namespaced format\n{ : }.\nFor example the following are valid inputs:\n* {\"tagKeys/333\" : \"tagValues/444\", \"tagKeys/123\" : \"tagValues/456\"}\n* {\"123/environment\" : \"production\", \"345/abc\" : \"xyz\"}\nNote:\n* Invalid combinations of ID & namespaced format is not supported. For\n instance: {\"123/environment\" : \"tagValues/444\"} is invalid.\n* Inconsistent format is not supported. For instance:\n {\"tagKeys/333\" : \"tagValues/444\", \"123/env\" : \"prod\"} is invalid.", +"type": "object" +} +}, +"type": "object" +}, +"InterconnectAttachmentPartnerMetadata": { +"description": "Informational metadata about Partner attachments from Partners to display\nto customers. These fields are propagated from PARTNER_PROVIDER\nattachments to their corresponding PARTNER attachments.", +"id": "InterconnectAttachmentPartnerMetadata", +"properties": { +"interconnectName": { +"description": "Plain text name of the Interconnect this attachment is connected to, as\ndisplayed in the Partner's portal. For instance \"Chicago 1\".\nThis value may be validated to match approved Partner values.", +"type": "string" +}, +"partnerName": { +"description": "Plain text name of the Partner providing this attachment.\nThis value may be validated to match approved Partner values.", +"type": "string" +}, +"portalUrl": { +"description": "URL of the Partner's portal for this Attachment. Partners may customise\nthis to be a deep link to the specific resource on the Partner portal.\nThis value may be validated to match approved Partner values.", +"type": "string" +} +}, +"type": "object" +}, +"InterconnectAttachmentPrivateInfo": { +"description": "Information for an interconnect attachment when this belongs to an\ninterconnect of type DEDICATED.", +"id": "InterconnectAttachmentPrivateInfo", +"properties": { +"tag8021q": { +"description": "[Output Only] 802.1q encapsulation tag to be used for traffic between\nGoogle and the customer, going to and from this network and region.", +"format": "uint32", +"type": "integer" +} +}, +"type": "object" +}, +"InterconnectAttachmentsScopedList": { +"id": "InterconnectAttachmentsScopedList", +"properties": { +"interconnectAttachments": { +"description": "A list of interconnect attachments contained in this scope.", +"items": { +"$ref": "InterconnectAttachment" +}, +"type": "array" +}, +"warning": { +"description": "Informational warning which replaces the list of addresses when\nthe list is empty.", +"properties": { +"code": { +"description": "[Output Only] A warning code, if applicable. For example, Compute\nEngine returns NO_RESULTS_ON_PAGE if there\nare no results in the response.", +"enum": [ +"CLEANUP_FAILED", +"DEPRECATED_RESOURCE_USED", +"DEPRECATED_TYPE_USED", +"DISK_SIZE_LARGER_THAN_IMAGE_SIZE", +"EXPERIMENTAL_TYPE_USED", +"EXTERNAL_API_WARNING", +"FIELD_VALUE_OVERRIDEN", +"INJECTED_KERNELS_DEPRECATED", +"INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", +"LARGE_DEPLOYMENT_WARNING", +"LIST_OVERHEAD_QUOTA_EXCEED", +"MISSING_TYPE_DEPENDENCY", +"NEXT_HOP_ADDRESS_NOT_ASSIGNED", +"NEXT_HOP_CANNOT_IP_FORWARD", +"NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", +"NEXT_HOP_INSTANCE_NOT_FOUND", +"NEXT_HOP_INSTANCE_NOT_ON_NETWORK", +"NEXT_HOP_NOT_RUNNING", +"NOT_CRITICAL_ERROR", +"NO_RESULTS_ON_PAGE", +"PARTIAL_SUCCESS", +"QUOTA_INFO_UNAVAILABLE", +"REQUIRED_TOS_AGREEMENT", +"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", +"RESOURCE_NOT_DELETED", +"SCHEMA_VALIDATION_IGNORED", +"SINGLE_INSTANCE_PROPERTY_TEMPLATE", +"UNDECLARED_PROPERTIES", +"UNREACHABLE" +], +"enumDeprecated": [ +false, +false, +false, +false, +false, +false, +true, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false +], +"enumDescriptions": [ +"Warning about failed cleanup of transient changes made by a failed\noperation.", +"A link to a deprecated resource was created.", +"When deploying and at least one of the resources has a type marked as\ndeprecated", +"The user created a boot disk that is larger than image size.", +"When deploying and at least one of the resources has a type marked as\nexperimental", +"Warning that is present in an external api call", +"Warning that value of a field has been overridden.\nDeprecated unused field.", +"The operation involved use of an injected kernel, which is deprecated.", +"A WEIGHTED_MAGLEV backend service is associated with a health check that is\nnot of type HTTP/HTTPS/HTTP2.", +"When deploying a deployment with a exceedingly large number of resources", +"Resource can't be retrieved due to list overhead quota exceed\nwhich captures the amount of resources filtered out by\nuser-defined list filter.", +"A resource depends on a missing type", +"The route's nextHopIp address is not assigned to an instance on the\nnetwork.", +"The route's next hop instance cannot ip forward.", +"The route's nextHopInstance URL refers to an instance that does not have an\nipv6 interface on the same network as the route.", +"The route's nextHopInstance URL refers to an instance that does not exist.", +"The route's nextHopInstance URL refers to an instance that is not on the\nsame network as the route.", +"The route's next hop instance does not have a status of RUNNING.", +"Error which is not critical. We decided to continue the process despite\nthe mentioned error.", +"No results are present on a particular list page.", +"Success is reported, but some results may be missing due to errors", +"Quota information is not available to client requests (e.g:\nregions.list).", +"The user attempted to use a resource that requires a TOS they have not\naccepted.", +"Warning that a resource is in use.", +"One or more of the resources set to auto-delete could not be deleted\nbecause they were in use.", +"When a resource schema validation is ignored.", +"Instance template used in instance group manager is valid as such, but\nits application does not make a lot of sense, because it allows only\nsingle instance in instance group.", +"When undeclared properties in the schema are present", +"A given scope cannot be reached." +], +"type": "string" +}, +"data": { +"description": "[Output Only] Metadata about this warning in key:\nvalue format. For example:\n\n\"data\": [\n {\n \"key\": \"scope\",\n \"value\": \"zones/us-east1-d\"\n }", +"items": { +"properties": { +"key": { +"description": "[Output Only] A key that provides more detail on the warning being\nreturned. For example, for warnings where there are no results in a list\nrequest for a particular zone, this key might be scope and\nthe key value might be the zone name. Other examples might be a key\nindicating a deprecated resource and a suggested replacement, or a\nwarning about invalid network settings (for example, if an instance\nattempts to perform IP forwarding but is not enabled for IP forwarding).", +"type": "string" +}, +"value": { +"description": "[Output Only] A warning data value corresponding to the key.", +"type": "string" +} +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "[Output Only] A human-readable description of the warning code.", +"type": "string" +} +}, +"type": "object" +} +}, +"type": "object" +}, +"InterconnectCircuitInfo": { +"description": "Describes a single physical circuit between the Customer and Google.\nCircuitInfo objects are created by Google, so all fields are output only.", +"id": "InterconnectCircuitInfo", +"properties": { +"customerDemarcId": { +"description": "Customer-side demarc ID for this circuit.", +"type": "string" +}, +"googleCircuitId": { +"description": "Google-assigned unique ID for this circuit. Assigned at circuit turn-up.", +"type": "string" +}, +"googleDemarcId": { +"description": "Google-side demarc ID for this circuit. Assigned at circuit turn-up and\nprovided by Google to the customer in the LOA.", +"type": "string" +} +}, +"type": "object" +}, +"InterconnectDiagnostics": { +"description": "Diagnostics information about the Interconnect connection, which contains\ndetailed and current technical information about Google's side of the\nconnection.", +"id": "InterconnectDiagnostics", +"properties": { +"arpCaches": { +"description": "A list of InterconnectDiagnostics.ARPEntry objects,\ndescribing individual neighbors currently seen by the Google router in\nthe ARP cache for the Interconnect.\nThis will be empty when the Interconnect is not bundled.", +"items": { +"$ref": "InterconnectDiagnosticsARPEntry" +}, +"type": "array" +}, +"bundleAggregationType": { +"description": "The aggregation type of the bundle interface.", +"enum": [ +"BUNDLE_AGGREGATION_TYPE_LACP", +"BUNDLE_AGGREGATION_TYPE_STATIC" +], +"enumDescriptions": [ +"LACP is enabled.", +"LACP is disabled." +], +"type": "string" +}, +"bundleOperationalStatus": { +"description": "The operational status of the bundle interface.", +"enum": [ +"BUNDLE_OPERATIONAL_STATUS_DOWN", +"BUNDLE_OPERATIONAL_STATUS_UP" +], +"enumDescriptions": [ +"If bundleAggregationType is LACP: LACP is not established and/or all\nlinks in the bundle have DOWN operational status. If\nbundleAggregationType is STATIC: one or more links in the bundle has\nDOWN operational status.", +"If bundleAggregationType is LACP: LACP is established and at least one\nlink in the bundle has UP operational status. If bundleAggregationType\nis STATIC: all links in the bundle (typically just one) have UP\noperational status." +], +"type": "string" +}, +"links": { +"description": "A list of InterconnectDiagnostics.LinkStatus objects,\ndescribing the status for each link on the Interconnect.", +"items": { +"$ref": "InterconnectDiagnosticsLinkStatus" +}, +"type": "array" +}, +"macAddress": { +"description": "The MAC address of the Interconnect's bundle interface.", +"type": "string" +} +}, +"type": "object" +}, +"InterconnectDiagnosticsARPEntry": { +"description": "Describing the ARP neighbor entries seen on this link", +"id": "InterconnectDiagnosticsARPEntry", +"properties": { +"ipAddress": { +"description": "The IP address of this ARP neighbor.", +"type": "string" +}, +"macAddress": { +"description": "The MAC address of this ARP neighbor.", +"type": "string" +} +}, +"type": "object" +}, +"InterconnectDiagnosticsLinkLACPStatus": { +"id": "InterconnectDiagnosticsLinkLACPStatus", +"properties": { +"googleSystemId": { +"description": "System ID of the port on Google's side of the LACP exchange.", +"type": "string" +}, +"neighborSystemId": { +"description": "System ID of the port on the neighbor's side of the LACP exchange.", +"type": "string" +}, +"state": { +"description": "The state of a LACP link, which can take one of the following values:\n \n - ACTIVE: The link is configured and active within the bundle.\n - DETACHED: The link is not configured within the bundle. This means\n that the rest of the object should be empty.", +"enum": [ +"ACTIVE", +"DETACHED" +], +"enumDescriptions": [ +"The link is configured and active within the bundle.", +"The link is not configured within the bundle, this means the rest of\nthe object should be empty." +], +"type": "string" +} +}, +"type": "object" +}, +"InterconnectDiagnosticsLinkOpticalPower": { +"id": "InterconnectDiagnosticsLinkOpticalPower", +"properties": { +"state": { +"description": "The status of the current value when compared to the warning and alarm\nlevels for the receiving or transmitting transceiver. Possible states\ninclude:\n \n \n - OK: The value has not crossed a warning threshold.\n - LOW_WARNING: The value has crossed below the low\n warning threshold. \n - HIGH_WARNING: The value has\n crossed above the high warning threshold.\n - LOW_ALARM: The value has crossed below the low alarm\n threshold.\n - HIGH_ALARM: The value has crossed above the high alarm\n threshold.", +"enum": [ +"HIGH_ALARM", +"HIGH_WARNING", +"LOW_ALARM", +"LOW_WARNING", +"OK" +], +"enumDescriptions": [ +"The value has crossed above the high alarm threshold.", +"The value of the current optical power has crossed above the high\nwarning threshold.", +"The value of the current optical power has crossed below the low alarm\nthreshold.", +"The value of the current optical power has crossed below the low\nwarning threshold.", +"The value of the current optical power has not crossed a warning\nthreshold." +], +"type": "string" +}, +"value": { +"description": "Value of the current receiving or transmitting optical power, read in\ndBm. Take a known good optical value, give it a 10% margin and trigger\nwarnings relative to that value. In general, a -7dBm warning and a -11dBm\nalarm are good optical value estimates for most links.", +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"InterconnectDiagnosticsLinkStatus": { +"id": "InterconnectDiagnosticsLinkStatus", +"properties": { +"arpCaches": { +"description": "A list of InterconnectDiagnostics.ARPEntry objects,\ndescribing the ARP neighbor entries seen on this link.\nThis will be empty if the link is bundled", +"items": { +"$ref": "InterconnectDiagnosticsARPEntry" +}, +"type": "array" +}, +"circuitId": { +"description": "The unique ID for this link assigned during turn up by Google.", +"type": "string" +}, +"googleDemarc": { +"description": "The Demarc address assigned by Google and provided in the LoA.", +"type": "string" +}, +"lacpStatus": { +"$ref": "InterconnectDiagnosticsLinkLACPStatus" +}, +"macsec": { +"$ref": "InterconnectDiagnosticsMacsecStatus", +"description": "Describes the status of MACsec encryption on this link." +}, +"operationalStatus": { +"description": "The operational status of the link.", +"enum": [ +"LINK_OPERATIONAL_STATUS_DOWN", +"LINK_OPERATIONAL_STATUS_UP" +], +"enumDescriptions": [ +"The interface is unable to communicate with the remote end.", +"The interface has low level communication with the remote end." +], +"type": "string" +}, +"receivingOpticalPower": { +"$ref": "InterconnectDiagnosticsLinkOpticalPower", +"description": "An InterconnectDiagnostics.LinkOpticalPower object,\ndescribing the current value and status of the received light level." +}, +"transmittingOpticalPower": { +"$ref": "InterconnectDiagnosticsLinkOpticalPower", +"description": "An InterconnectDiagnostics.LinkOpticalPower object,\ndescribing the current value and status of the transmitted light level." +} +}, +"type": "object" +}, +"InterconnectDiagnosticsMacsecStatus": { +"description": "Describes the status of MACsec encryption on the link.", +"id": "InterconnectDiagnosticsMacsecStatus", +"properties": { +"ckn": { +"description": "Indicates the Connectivity Association Key Name (CKN)\ncurrently being used if MACsec is operational.", +"type": "string" +}, +"operational": { +"description": "Indicates whether or not MACsec is operational on this link.", +"type": "boolean" +} +}, +"type": "object" +}, +"InterconnectGroup": { +"description": "An interconnect group resource allows customers to create, analyze, and\nexpand their redundant connections.", +"id": "InterconnectGroup", +"properties": { +"configured": { +"$ref": "InterconnectGroupConfigured", +"readOnly": true +}, +"creationTimestamp": { +"description": "Output only. [Output Only] Creation timestamp inRFC3339\ntext format.", +"readOnly": true, +"type": "string" +}, +"description": { +"description": "An optional description of this resource. Provide this property when you\ncreate the resource.", +"type": "string" +}, +"etag": { +"description": "Opaque system-generated token that uniquely identifies the configuration.\nIf provided when patching a configuration in update mode, the provided\ntoken must match the current token or the update is rejected. This provides\na reliable means of doing read-modify-write (optimistic locking) as\ndescribed by AIP 154.", +"type": "string" +}, +"id": { +"description": "Output only. [Output Only] The unique identifier for the resource type. The server\ngenerates this identifier.", +"format": "uint64", +"readOnly": true, +"type": "string" +}, +"intent": { +"$ref": "InterconnectGroupIntent" +}, +"interconnects": { +"additionalProperties": { +"$ref": "InterconnectGroupInterconnect" +}, +"description": "Interconnects in the InterconnectGroup. Keys are arbitrary user-specified\nstrings. Users are encouraged, but not required, to use their preferred\nformat for resource links as keys.\nNote that there are add-members and remove-members methods in gcloud.\nThe size of this map is limited by an \"Interconnects per group\" quota.", +"type": "object" +}, +"kind": { +"default": "compute#InterconnectGroup", +"description": "Output only. [Output Only] Type of the resource. Always compute#InterconnectGroup", +"readOnly": true, +"type": "string" +}, +"name": { +"annotations": { +"required": [ +"compute.interconnectGroups.insert" +] +}, +"description": "Name of the resource. Provided by the client when the resource is created.\nThe name must be 1-63 characters long, and comply withRFC1035.\nSpecifically, the name must be 1-63 characters long and match the regular\nexpression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first\ncharacter must be a lowercase letter, and all following characters must\nbe a dash, lowercase letter, or digit, except the last character, which\ncannot be a dash.", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"type": "string" +}, +"physicalStructure": { +"$ref": "InterconnectGroupPhysicalStructure", +"readOnly": true +}, +"selfLink": { +"description": "Output only. [Output Only] Server-defined URL for the resource.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"InterconnectGroupConfigured": { +"description": "[Output Only] The status of the group as configured. This has the same\nstructure as the operational field reported by the OperationalStatus\nmethod, but does not take into account the operational status of each\nresource.", +"id": "InterconnectGroupConfigured", +"properties": { +"topologyCapability": { +"$ref": "InterconnectGroupConfiguredTopologyCapability", +"readOnly": true +} +}, +"type": "object" +}, +"InterconnectGroupConfiguredTopologyCapability": { +"description": "[Output Only] How reliable this topology is configured to be, and why\nthis group does or does not meet the requirements for the intended\ncapability.", +"id": "InterconnectGroupConfiguredTopologyCapability", +"properties": { +"intendedCapabilityBlockers": { +"items": { +"$ref": "InterconnectGroupConfiguredTopologyCapabilityIntendedCapabilityBlockers" +}, +"readOnly": true, +"type": "array" +}, +"supportedSla": { +"enum": [ +"NO_SLA", +"PRODUCTION_CRITICAL", +"PRODUCTION_NON_CRITICAL", +"UNSPECIFIED" +], +"enumDescriptions": [ +"", +"", +"", +"" +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"InterconnectGroupConfiguredTopologyCapabilityIntendedCapabilityBlockers": { +"description": "[Output Only] Reasons why configuration.topologyCapability.sla differs\nfrom intent.topologyCapability. This list is empty if and only if those\nare the same.", +"id": "InterconnectGroupConfiguredTopologyCapabilityIntendedCapabilityBlockers", +"properties": { +"blockerType": { +"enum": [ +"INCOMPATIBLE_METROS", +"NOT_AVAILABLE", +"NO_INTERCONNECTS", +"NO_INTERCONNECTS_IN_METRO_AND_ZONE", +"OTHER", +"UNSPECIFIED" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"" +], +"readOnly": true, +"type": "string" +}, +"documentationLink": { +"description": "Output only. [Output Only] The url of Google Cloud public documentation explaining\nthis requirement. This is set for every type of requirement.", +"readOnly": true, +"type": "string" +}, +"explanation": { +"description": "Output only. [Output Only] A human-readable explanation of this requirement and\nwhy it's not met. This is set for every type of requirement.", +"readOnly": true, +"type": "string" +}, +"facilities": { +"description": "Output only. [Output Only] Facilities used to explain this blocker in more detail.\nLike physicalStructure.metros.facilities.facility, this is a numeric\nstring like \"5467\".", +"items": { +"type": "string" +}, +"readOnly": true, +"type": "array" +}, +"interconnects": { +"description": "Output only. [Output Only] Interconnects used to explain this blocker in more\ndetail.", +"items": { +"type": "string" +}, +"readOnly": true, +"type": "array" +}, +"metros": { +"description": "Output only. [Output Only] Metros used to explain this blocker in more detail.\nThese are three-letter lowercase strings like \"iad\". A blocker like\nINCOMPATIBLE_METROS will specify the problematic metros in this\nfield.", +"items": { +"type": "string" +}, +"readOnly": true, +"type": "array" +}, +"zones": { +"description": "Output only. [Output Only] Zones used to explain this blocker in more detail.\nZone names are \"zone1\" and/or \"zone2\".", +"items": { +"type": "string" +}, +"readOnly": true, +"type": "array" +} +}, +"type": "object" +}, +"InterconnectGroupIntent": { +"description": "The user's intent for this group. This is the only required field besides\nthe name that must be specified on group creation.", +"id": "InterconnectGroupIntent", +"properties": { +"topologyCapability": { +"enum": [ +"NO_SLA", +"PRODUCTION_CRITICAL", +"PRODUCTION_NON_CRITICAL", +"UNSPECIFIED" +], +"enumDescriptions": [ +"", +"", +"", +"" +], +"type": "string" +} +}, +"type": "object" +}, +"InterconnectGroupInterconnect": { +"description": "An Interconnect in this InterconnectGroup.", +"id": "InterconnectGroupInterconnect", +"properties": { +"interconnect": { +"description": "The URL of an Interconnect in this group. All Interconnects in the group\nare unique.", +"type": "string" +} +}, +"type": "object" +}, +"InterconnectGroupPhysicalStructure": { +"description": "[Output Only] An analysis of the physical layout of Interconnects in this\ngroup. Every Interconnect in the group is shown once in this structure.", +"id": "InterconnectGroupPhysicalStructure", +"properties": { +"metros": { +"items": { +"$ref": "InterconnectGroupPhysicalStructureMetros" +}, +"readOnly": true, +"type": "array" +} +}, +"type": "object" +}, +"InterconnectGroupPhysicalStructureMetros": { +"description": "[Output Only] The metros Interconnects in this group are in.", +"id": "InterconnectGroupPhysicalStructureMetros", +"properties": { +"facilities": { +"items": { +"$ref": "InterconnectGroupPhysicalStructureMetrosFacilities" +}, +"readOnly": true, +"type": "array" +}, +"metro": { +"description": "Output only. [Output Only] The name of the metro, as a three-letter lowercase string\nlike \"iad\". This is the first component of the location of\nInterconnects underneath this.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"InterconnectGroupPhysicalStructureMetrosFacilities": { +"description": "[Output Only] The facilities Interconnects in this metro are present\nin.", +"id": "InterconnectGroupPhysicalStructureMetrosFacilities", +"properties": { +"facility": { +"description": "Output only. [Output Only] The ID of this facility, as a numeric string like\n\"5467\". This is the third component of the location of Interconnects\nin this facility.", +"readOnly": true, +"type": "string" +}, +"zones": { +"items": { +"$ref": "InterconnectGroupPhysicalStructureMetrosFacilitiesZones" +}, +"readOnly": true, +"type": "array" +} +}, +"type": "object" +}, +"InterconnectGroupPhysicalStructureMetrosFacilitiesZones": { +"description": "[Output Only] The zones that Interconnects in this facility are\npresent in.", +"id": "InterconnectGroupPhysicalStructureMetrosFacilitiesZones", +"properties": { +"interconnects": { +"description": "Output only. [Output Only] URLs of Interconnects in this redundancy group in the\ngiven metro, facility, and zone.", +"items": { +"type": "string" +}, +"readOnly": true, +"type": "array" +}, +"zone": { +"description": "Output only. [Output Only] The name of the zone, either \"zone1\" or \"zone2\".\nThis is the second component of the location of Interconnects in\nthis facility.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"InterconnectGroupsCreateMembers": { +"id": "InterconnectGroupsCreateMembers", +"properties": { +"intentMismatchBehavior": { +"description": "How to behave when configured.topologyCapability.supportedSLA would not\nequal intent.topologyCapability after this call.", +"enum": [ +"CREATE", +"REJECT", +"UNSPECIFIED" +], +"enumDescriptions": [ +"", +"", +"" +], +"type": "string" +}, +"interconnects": { +"items": { +"$ref": "InterconnectGroupsCreateMembersInterconnectInput" +}, +"type": "array" +}, +"templateInterconnect": { +"$ref": "InterconnectGroupsCreateMembersInterconnectInput", +"description": "Parameters for the Interconnects to create." +} +}, +"type": "object" +}, +"InterconnectGroupsCreateMembersInterconnectInput": { +"description": "LINT.IfChange", +"id": "InterconnectGroupsCreateMembersInterconnectInput", +"properties": { +"adminEnabled": { +"description": "Administrative status of the interconnect. When this is set to true, the\nInterconnect is functional and can carry traffic.\nWhen set to false, no packets can be carried over the interconnect and\nno BGP routes are exchanged over it. By default, the status is set to\ntrue.", +"type": "boolean" +}, +"customerName": { +"description": "Customer name, to put in the Letter of Authorization as the party\nauthorized to request a crossconnect.", +"type": "string" +}, +"description": { +"description": "An optional description of this resource. Provide this property when you\ncreate the resource.", +"type": "string" +}, +"facility": { +"description": "A zone-free location to use for all Interconnects created in this call,\nlike \"iad-1234\".", +"type": "string" +}, +"interconnectType": { +"description": "Type of interconnect, which can take one of the following values:\n \n - PARTNER: A partner-managed interconnection shared between\n customers though a partner. \n - DEDICATED: A dedicated physical\n interconnection with the customer.\n\n Note that a value IT_PRIVATE\nhas been deprecated in favor of DEDICATED.", +"enum": [ +"DEDICATED", +"IT_PRIVATE", +"PARTNER" +], +"enumDescriptions": [ +"A dedicated physical interconnection with the customer.", +"[Deprecated] A private, physical interconnection with the customer.", +"A partner-managed interconnection shared between customers via partner." +], +"type": "string" +}, +"linkType": { +"description": "Type of link requested, which can take one of the following values:\n \n - LINK_TYPE_ETHERNET_10G_LR: A 10G Ethernet with LR optics\n - LINK_TYPE_ETHERNET_100G_LR: A 100G Ethernet with LR optics.\n - LINK_TYPE_ETHERNET_400G_LR4: A 400G Ethernet with LR4\n optics.\n\n Note that this field indicates the speed of each of the\nlinks in the bundle, not the speed of the entire bundle.", +"enum": [ +"LINK_TYPE_ETHERNET_100G_LR", +"LINK_TYPE_ETHERNET_10G_LR", +"LINK_TYPE_ETHERNET_400G_LR4" +], +"enumDescriptions": [ +"100G Ethernet, LR Optics.", +"10G Ethernet, LR Optics.\n[(rate_bps) = 10000000000];", +"400G Ethernet, LR4 Optics." +], +"type": "string" +}, +"name": { +"description": "Name of the Interconnects to be created. This must be specified on the\ntemplate and/or on each individual interconnect. The name, if not empty,\nmust be 1-63 characters long, and comply with RFC1035.\nSpecifically, any nonempty name must be 1-63 characters long and match\nthe regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first\ncharacter must be a lowercase letter, and all following characters must\nbe a dash, lowercase letter, or digit, except the last character, which\ncannot be a dash.", +"type": "string" +}, +"nocContactEmail": { +"description": "Email address to contact the customer NOC for operations and maintenance\nnotifications regarding this Interconnect. If specified, this will be\nused for notifications in addition to all other forms described, such as\nCloud Monitoring logs alerting and Cloud Notifications. This field is\nrequired for users who sign up for Cloud Interconnect using\nworkforce identity federation.", +"type": "string" +}, +"remoteLocation": { +"description": "Indicates that this is a Cross-Cloud Interconnect. This field specifies\nthe location outside of Google's network that the interconnect is\nconnected to.", +"type": "string" +}, +"requestedFeatures": { +"description": "Optional. List of features requested for this Interconnect connection,\nwhich can take one of the following values:\n \n - IF_MACSEC: If specified, then the connection is created on MACsec\n capable hardware ports. If not specified, non-MACsec capable ports will\n also be considered.\n - IF_CROSS_SITE_NETWORK: If specified, then the connection is created\n exclusively for Cross-Site Networking. The connection can not be used for\n Cross-Site Networking unless this feature is specified.", +"items": { +"enum": [ +"IF_CROSS_SITE_NETWORK", +"IF_L2_FORWARDING", +"IF_MACSEC" +], +"enumDescriptions": [ +"Cross-Site Networking", +"L2 Interconnect Attachment Forwarding", +"Media Access Control security (MACsec)" +], +"type": "string" +}, +"type": "array" +}, +"requestedLinkCount": { +"description": "Target number of physical links in the link bundle, as requested by the\ncustomer.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"InterconnectGroupsCreateMembersRequest": { +"id": "InterconnectGroupsCreateMembersRequest", +"properties": { +"request": { +"$ref": "InterconnectGroupsCreateMembers" +} +}, +"type": "object" +}, +"InterconnectGroupsGetOperationalStatusResponse": { +"description": "Response for the InterconnectGroupsGetOperationalStatusResponse.", +"id": "InterconnectGroupsGetOperationalStatusResponse", +"properties": { +"etag": { +"type": "string" +}, +"result": { +"$ref": "InterconnectGroupsOperationalStatus" +} +}, +"type": "object" +}, +"InterconnectGroupsListResponse": { +"id": "InterconnectGroupsListResponse", +"properties": { +"etag": { +"type": "string" +}, +"id": { +"description": "[Output Only] Unique identifier for the resource; defined by the server.", +"type": "string" +}, +"items": { +"description": "A list of InterconnectGroup resources.", +"items": { +"$ref": "InterconnectGroup" +}, +"type": "array" +}, +"kind": { +"default": "compute#InterconnectGroup", +"readOnly": true, +"type": "string" +}, +"nextPageToken": { +"description": "[Output Only] This token allows you to get the next page of results for\nlist requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for\nthe query parameter pageToken in the next list request.\nSubsequent list requests will have their own nextPageToken to\ncontinue paging through the results.", +"type": "string" +}, +"selfLink": { +"description": "[Output Only] Server-defined URL for this resource.", +"type": "string" +}, +"unreachables": { +"description": "Output only. [Output Only] Unreachable resources.\nend_interface: MixerListResponseWithEtagBuilder", +"items": { +"type": "string" +}, +"readOnly": true, +"type": "array" +}, +"warning": { +"description": "[Output Only] Informational warning message.", +"properties": { +"code": { +"description": "[Output Only] A warning code, if applicable. For example, Compute\nEngine returns NO_RESULTS_ON_PAGE if there\nare no results in the response.", +"enum": [ +"CLEANUP_FAILED", +"DEPRECATED_RESOURCE_USED", +"DEPRECATED_TYPE_USED", +"DISK_SIZE_LARGER_THAN_IMAGE_SIZE", +"EXPERIMENTAL_TYPE_USED", +"EXTERNAL_API_WARNING", +"FIELD_VALUE_OVERRIDEN", +"INJECTED_KERNELS_DEPRECATED", +"INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", +"LARGE_DEPLOYMENT_WARNING", +"LIST_OVERHEAD_QUOTA_EXCEED", +"MISSING_TYPE_DEPENDENCY", +"NEXT_HOP_ADDRESS_NOT_ASSIGNED", +"NEXT_HOP_CANNOT_IP_FORWARD", +"NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", +"NEXT_HOP_INSTANCE_NOT_FOUND", +"NEXT_HOP_INSTANCE_NOT_ON_NETWORK", +"NEXT_HOP_NOT_RUNNING", +"NOT_CRITICAL_ERROR", +"NO_RESULTS_ON_PAGE", +"PARTIAL_SUCCESS", +"QUOTA_INFO_UNAVAILABLE", +"REQUIRED_TOS_AGREEMENT", +"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", +"RESOURCE_NOT_DELETED", +"SCHEMA_VALIDATION_IGNORED", +"SINGLE_INSTANCE_PROPERTY_TEMPLATE", +"UNDECLARED_PROPERTIES", +"UNREACHABLE" +], +"enumDeprecated": [ +false, +false, +false, +false, +false, +false, +true, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false +], +"enumDescriptions": [ +"Warning about failed cleanup of transient changes made by a failed\noperation.", +"A link to a deprecated resource was created.", +"When deploying and at least one of the resources has a type marked as\ndeprecated", +"The user created a boot disk that is larger than image size.", +"When deploying and at least one of the resources has a type marked as\nexperimental", +"Warning that is present in an external api call", +"Warning that value of a field has been overridden.\nDeprecated unused field.", +"The operation involved use of an injected kernel, which is deprecated.", +"A WEIGHTED_MAGLEV backend service is associated with a health check that is\nnot of type HTTP/HTTPS/HTTP2.", +"When deploying a deployment with a exceedingly large number of resources", +"Resource can't be retrieved due to list overhead quota exceed\nwhich captures the amount of resources filtered out by\nuser-defined list filter.", +"A resource depends on a missing type", +"The route's nextHopIp address is not assigned to an instance on the\nnetwork.", +"The route's next hop instance cannot ip forward.", +"The route's nextHopInstance URL refers to an instance that does not have an\nipv6 interface on the same network as the route.", +"The route's nextHopInstance URL refers to an instance that does not exist.", +"The route's nextHopInstance URL refers to an instance that is not on the\nsame network as the route.", +"The route's next hop instance does not have a status of RUNNING.", +"Error which is not critical. We decided to continue the process despite\nthe mentioned error.", +"No results are present on a particular list page.", +"Success is reported, but some results may be missing due to errors", +"Quota information is not available to client requests (e.g:\nregions.list).", +"The user attempted to use a resource that requires a TOS they have not\naccepted.", +"Warning that a resource is in use.", +"One or more of the resources set to auto-delete could not be deleted\nbecause they were in use.", +"When a resource schema validation is ignored.", +"Instance template used in instance group manager is valid as such, but\nits application does not make a lot of sense, because it allows only\nsingle instance in instance group.", +"When undeclared properties in the schema are present", +"A given scope cannot be reached." +], +"type": "string" +}, +"data": { +"description": "[Output Only] Metadata about this warning in key:\nvalue format. For example:\n\n\"data\": [\n {\n \"key\": \"scope\",\n \"value\": \"zones/us-east1-d\"\n }", +"items": { +"properties": { +"key": { +"description": "[Output Only] A key that provides more detail on the warning being\nreturned. For example, for warnings where there are no results in a list\nrequest for a particular zone, this key might be scope and\nthe key value might be the zone name. Other examples might be a key\nindicating a deprecated resource and a suggested replacement, or a\nwarning about invalid network settings (for example, if an instance\nattempts to perform IP forwarding but is not enabled for IP forwarding).", +"type": "string" +}, +"value": { +"description": "[Output Only] A warning data value corresponding to the key.", +"type": "string" +} +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "[Output Only] A human-readable description of the warning code.", +"type": "string" +} +}, +"type": "object" +} +}, +"type": "object" +}, +"InterconnectGroupsOperationalStatus": { +"description": "Request to get the status of the interconnect group with extra detail.", +"id": "InterconnectGroupsOperationalStatus", +"properties": { +"configured": { +"$ref": "InterconnectGroupConfigured", +"description": "Output only. The configuration analysis, as returned by Get.", +"readOnly": true +}, +"groupStatus": { +"description": "Output only. Summarizes the status of the group.", +"enum": [ +"DEGRADED", +"FULLY_DOWN", +"FULLY_UP", +"GROUPS_STATUS_UNSPECIFIED" +], +"enumDescriptions": [ +"", +"", +"", +"" +], +"readOnly": true, +"type": "string" +}, +"intent": { +"$ref": "InterconnectGroupIntent", +"description": "Output only. The intent of the resource, as returned by Get.", +"readOnly": true +}, +"interconnectStatuses": { +"items": { +"$ref": "InterconnectGroupsOperationalStatusInterconnectStatus" +}, +"readOnly": true, +"type": "array" +}, +"operational": { +"$ref": "InterconnectGroupConfigured", +"description": "Output only. The operational state of the group, including only active Interconnects.", +"readOnly": true +} +}, +"type": "object" +}, +"InterconnectGroupsOperationalStatusInterconnectStatus": { +"description": "The status of one Interconnect in the group. The order is arbitrary.", +"id": "InterconnectGroupsOperationalStatusInterconnectStatus", +"properties": { +"adminEnabled": { +"description": "Output only. Whether the Interconnect is enabled.", +"readOnly": true, +"type": "boolean" +}, +"diagnostics": { +"$ref": "InterconnectDiagnostics", +"description": "Output only. The diagnostics of the Interconnect, as returned by the existing\nget-diagnostics method.", +"readOnly": true +}, +"interconnect": { +"description": "Output only. The URL of the Interconnect being described.", +"readOnly": true, +"type": "string" +}, +"isActive": { +"description": "Output only. Whether this interconnect is participating in the redundant\nconfiguration.", +"enum": [ +"ACTIVE", +"INACTIVE", +"IS_ACTIVE_UNSPECIFIED" +], +"enumDescriptions": [ +"", +"", +"" +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"InterconnectList": { +"description": "Response to the list request, and contains a list of interconnects.", +"id": "InterconnectList", +"properties": { +"id": { +"description": "[Output Only] Unique identifier for the resource; defined by the server.", +"type": "string" +}, +"items": { +"description": "A list of Interconnect resources.", +"items": { +"$ref": "Interconnect" +}, +"type": "array" +}, +"kind": { +"default": "compute#interconnectList", +"description": "Output only. [Output Only] Type of resource. Alwayscompute#interconnectList for lists of interconnects.", +"readOnly": true, +"type": "string" +}, +"nextPageToken": { +"description": "[Output Only] This token allows you to get the next page of results for\nlist requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for\nthe query parameter pageToken in the next list request.\nSubsequent list requests will have their own nextPageToken to\ncontinue paging through the results.", +"type": "string" +}, +"selfLink": { +"description": "Output only. [Output Only] Server-defined URL for this resource.", +"readOnly": true, +"type": "string" +}, +"warning": { +"description": "[Output Only] Informational warning message.", +"properties": { +"code": { +"description": "[Output Only] A warning code, if applicable. For example, Compute\nEngine returns NO_RESULTS_ON_PAGE if there\nare no results in the response.", +"enum": [ +"CLEANUP_FAILED", +"DEPRECATED_RESOURCE_USED", +"DEPRECATED_TYPE_USED", +"DISK_SIZE_LARGER_THAN_IMAGE_SIZE", +"EXPERIMENTAL_TYPE_USED", +"EXTERNAL_API_WARNING", +"FIELD_VALUE_OVERRIDEN", +"INJECTED_KERNELS_DEPRECATED", +"INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", +"LARGE_DEPLOYMENT_WARNING", +"LIST_OVERHEAD_QUOTA_EXCEED", +"MISSING_TYPE_DEPENDENCY", +"NEXT_HOP_ADDRESS_NOT_ASSIGNED", +"NEXT_HOP_CANNOT_IP_FORWARD", +"NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", +"NEXT_HOP_INSTANCE_NOT_FOUND", +"NEXT_HOP_INSTANCE_NOT_ON_NETWORK", +"NEXT_HOP_NOT_RUNNING", +"NOT_CRITICAL_ERROR", +"NO_RESULTS_ON_PAGE", +"PARTIAL_SUCCESS", +"QUOTA_INFO_UNAVAILABLE", +"REQUIRED_TOS_AGREEMENT", +"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", +"RESOURCE_NOT_DELETED", +"SCHEMA_VALIDATION_IGNORED", +"SINGLE_INSTANCE_PROPERTY_TEMPLATE", +"UNDECLARED_PROPERTIES", +"UNREACHABLE" +], +"enumDeprecated": [ +false, +false, +false, +false, +false, +false, +true, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false +], +"enumDescriptions": [ +"Warning about failed cleanup of transient changes made by a failed\noperation.", +"A link to a deprecated resource was created.", +"When deploying and at least one of the resources has a type marked as\ndeprecated", +"The user created a boot disk that is larger than image size.", +"When deploying and at least one of the resources has a type marked as\nexperimental", +"Warning that is present in an external api call", +"Warning that value of a field has been overridden.\nDeprecated unused field.", +"The operation involved use of an injected kernel, which is deprecated.", +"A WEIGHTED_MAGLEV backend service is associated with a health check that is\nnot of type HTTP/HTTPS/HTTP2.", +"When deploying a deployment with a exceedingly large number of resources", +"Resource can't be retrieved due to list overhead quota exceed\nwhich captures the amount of resources filtered out by\nuser-defined list filter.", +"A resource depends on a missing type", +"The route's nextHopIp address is not assigned to an instance on the\nnetwork.", +"The route's next hop instance cannot ip forward.", +"The route's nextHopInstance URL refers to an instance that does not have an\nipv6 interface on the same network as the route.", +"The route's nextHopInstance URL refers to an instance that does not exist.", +"The route's nextHopInstance URL refers to an instance that is not on the\nsame network as the route.", +"The route's next hop instance does not have a status of RUNNING.", +"Error which is not critical. We decided to continue the process despite\nthe mentioned error.", +"No results are present on a particular list page.", +"Success is reported, but some results may be missing due to errors", +"Quota information is not available to client requests (e.g:\nregions.list).", +"The user attempted to use a resource that requires a TOS they have not\naccepted.", +"Warning that a resource is in use.", +"One or more of the resources set to auto-delete could not be deleted\nbecause they were in use.", +"When a resource schema validation is ignored.", +"Instance template used in instance group manager is valid as such, but\nits application does not make a lot of sense, because it allows only\nsingle instance in instance group.", +"When undeclared properties in the schema are present", +"A given scope cannot be reached." +], +"type": "string" +}, +"data": { +"description": "[Output Only] Metadata about this warning in key:\nvalue format. For example:\n\n\"data\": [\n {\n \"key\": \"scope\",\n \"value\": \"zones/us-east1-d\"\n }", +"items": { +"properties": { +"key": { +"description": "[Output Only] A key that provides more detail on the warning being\nreturned. For example, for warnings where there are no results in a list\nrequest for a particular zone, this key might be scope and\nthe key value might be the zone name. Other examples might be a key\nindicating a deprecated resource and a suggested replacement, or a\nwarning about invalid network settings (for example, if an instance\nattempts to perform IP forwarding but is not enabled for IP forwarding).", +"type": "string" +}, +"value": { +"description": "[Output Only] A warning data value corresponding to the key.", +"type": "string" +} +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "[Output Only] A human-readable description of the warning code.", +"type": "string" +} +}, +"type": "object" +} +}, +"type": "object" +}, +"InterconnectLocation": { +"description": "Represents an Interconnect Attachment (VLAN) Location resource.\n\nYou can use this resource to find location details about an Interconnect\nattachment (VLAN). For more information about interconnect attachments, read\nCreating VLAN Attachments.", +"id": "InterconnectLocation", +"properties": { +"address": { +"description": "Output only. [Output Only] The postal address of the Point of Presence, each line in\nthe address is separated by a newline character.", +"readOnly": true, +"type": "string" +}, +"availabilityZone": { +"description": "[Output Only] Availability zone for this InterconnectLocation. Within a\nmetropolitan area (metro), maintenance will not be simultaneously scheduled\nin more than one availability zone. Example: \"zone1\" or \"zone2\".", +"type": "string" +}, +"availableFeatures": { +"description": "[Output only] List of features available at this InterconnectLocation,\nwhich can take one of the following values:\n \n - IF_MACSEC\n - IF_CROSS_SITE_NETWORK", +"items": { +"enum": [ +"IF_CROSS_SITE_NETWORK", +"IF_L2_FORWARDING", +"IF_MACSEC" +], +"enumDescriptions": [ +"Cross-Site Networking", +"L2 Interconnect Attachment Forwarding", +"Media Access Control security (MACsec)" +], +"type": "string" +}, +"type": "array" +}, +"availableLinkTypes": { +"description": "[Output only] List of link types available at this InterconnectLocation,\nwhich can take one of the following values:\n \n - LINK_TYPE_ETHERNET_10G_LR\n - LINK_TYPE_ETHERNET_100G_LR\n - LINK_TYPE_ETHERNET_400G_LR4", +"items": { +"enum": [ +"LINK_TYPE_ETHERNET_100G_LR", +"LINK_TYPE_ETHERNET_10G_LR", +"LINK_TYPE_ETHERNET_400G_LR4" +], +"enumDescriptions": [ +"100G Ethernet, LR Optics.", +"10G Ethernet, LR Optics.\n[(rate_bps) = 10000000000];", +"400G Ethernet, LR4 Optics." +], +"type": "string" +}, +"type": "array" +}, +"city": { +"description": "[Output Only] Metropolitan area designator that indicates which city an\ninterconnect is located.\nFor example: \"Chicago, IL\", \"Amsterdam, Netherlands\".", +"type": "string" +}, +"continent": { +"description": "[Output Only] Continent for this location, which can take one of the\nfollowing values:\n \n - AFRICA\n - ASIA_PAC\n - EUROPE\n - NORTH_AMERICA\n - SOUTH_AMERICA", +"enum": [ +"AFRICA", +"ASIA_PAC", +"C_AFRICA", +"C_ASIA_PAC", +"C_EUROPE", +"C_NORTH_AMERICA", +"C_SOUTH_AMERICA", +"EUROPE", +"NORTH_AMERICA", +"SOUTH_AMERICA" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"", +"", +"", +"", +"" +], +"type": "string" +}, +"creationTimestamp": { +"description": "Output only. [Output Only] Creation timestamp inRFC3339\ntext format.", +"readOnly": true, +"type": "string" +}, +"crossSiteInterconnectInfos": { +"description": "[Output Only] A list of InterconnectLocation.CrossSiteInterconnectInfo\nobjects, that describe where Cross-Site Interconnect wires may connect to\nfrom this location and associated connection parameters. Cross-Site\nInterconnect isn't allowed to locations which are not listed.", +"items": { +"$ref": "InterconnectLocationCrossSiteInterconnectInfo" +}, +"type": "array" +}, +"description": { +"description": "Output only. [Output Only] An optional description of the resource.", +"readOnly": true, +"type": "string" +}, +"facilityProvider": { +"description": "Output only. [Output Only] The name of the provider for this facility (e.g., EQUINIX).", +"readOnly": true, +"type": "string" +}, +"facilityProviderFacilityId": { +"description": "Output only. [Output Only] A provider-assigned Identifier for this facility (e.g.,\nAshburn-DC1).", +"readOnly": true, +"type": "string" +}, +"id": { +"description": "Output only. [Output Only] The unique identifier for the resource. This identifier is\ndefined by the server.", +"format": "uint64", +"readOnly": true, +"type": "string" +}, +"kind": { +"default": "compute#interconnectLocation", +"description": "Output only. [Output Only] Type of the resource. Alwayscompute#interconnectLocation for interconnect locations.", +"readOnly": true, +"type": "string" +}, +"name": { +"description": "Output only. [Output Only] Name of the resource.", +"readOnly": true, +"type": "string" +}, +"peeringdbFacilityId": { +"description": "Output only. [Output Only] The peeringdb identifier for this facility (corresponding\nwith a netfac type in peeringdb).", +"readOnly": true, +"type": "string" +}, +"regionInfos": { +"description": "Output only. [Output Only] A list of InterconnectLocation.RegionInfo objects, that\ndescribe parameters pertaining to the relation between this\nInterconnectLocation and various Google Cloud regions.", +"items": { +"$ref": "InterconnectLocationRegionInfo" +}, +"readOnly": true, +"type": "array" +}, +"selfLink": { +"description": "Output only. [Output Only] Server-defined URL for the resource.", +"readOnly": true, +"type": "string" +}, +"singleRegionProductionCriticalPeerLocations": { +"description": "Output only. [Output Only] URLs of the other locations that can pair up with this\nlocation to support Single-Region 99.99% SLA. E.g. iad-zone1-1 and\niad-zone2-5467 are Single-Region 99.99% peer locations of each other.", +"items": { +"type": "string" +}, +"readOnly": true, +"type": "array" +}, +"status": { +"description": "[Output Only] The status of this InterconnectLocation, which can take one\nof the following values:\n \n - CLOSED: The InterconnectLocation is closed and is unavailable for\n provisioning new Interconnects.\n - AVAILABLE: The InterconnectLocation is available for provisioning new\n Interconnects.", +"enum": [ +"AVAILABLE", +"CLOSED" +], +"enumDescriptions": [ +"The InterconnectLocation is available for provisioning new Interconnects.", +"The InterconnectLocation is closed for provisioning new Interconnects." +], +"type": "string" +}, +"supportsPzs": { +"description": "Output only. [Output Only] Reserved for future use.", +"readOnly": true, +"type": "boolean" +} +}, +"type": "object" +}, +"InterconnectLocationCrossSiteInterconnectInfo": { +"description": "Information about Cross-Site Interconnect wires which may be created\nbetween the containing location and another remote location.", +"id": "InterconnectLocationCrossSiteInterconnectInfo", +"properties": { +"city": { +"description": "Output only. The remote location for Cross-Site Interconnect wires. This specifies an\nInterconnectLocation city (metropolitan area designator), which itself\nmay match multiple InterconnectLocations.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"InterconnectLocationList": { +"description": "Response to the list request, and contains a list of interconnect locations.", +"id": "InterconnectLocationList", +"properties": { +"id": { +"description": "[Output Only] Unique identifier for the resource; defined by the server.", +"type": "string" +}, +"items": { +"description": "A list of InterconnectLocation resources.", +"items": { +"$ref": "InterconnectLocation" +}, +"type": "array" +}, +"kind": { +"default": "compute#interconnectLocationList", +"description": "Output only. [Output Only] Type of resource. Alwayscompute#interconnectLocationList for lists of interconnect\nlocations.", +"readOnly": true, +"type": "string" +}, +"nextPageToken": { +"description": "[Output Only] This token allows you to get the next page of results for\nlist requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for\nthe query parameter pageToken in the next list request.\nSubsequent list requests will have their own nextPageToken to\ncontinue paging through the results.", +"type": "string" +}, +"selfLink": { +"description": "Output only. [Output Only] Server-defined URL for this resource.", +"readOnly": true, +"type": "string" +}, +"warning": { +"description": "[Output Only] Informational warning message.", +"properties": { +"code": { +"description": "[Output Only] A warning code, if applicable. For example, Compute\nEngine returns NO_RESULTS_ON_PAGE if there\nare no results in the response.", +"enum": [ +"CLEANUP_FAILED", +"DEPRECATED_RESOURCE_USED", +"DEPRECATED_TYPE_USED", +"DISK_SIZE_LARGER_THAN_IMAGE_SIZE", +"EXPERIMENTAL_TYPE_USED", +"EXTERNAL_API_WARNING", +"FIELD_VALUE_OVERRIDEN", +"INJECTED_KERNELS_DEPRECATED", +"INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", +"LARGE_DEPLOYMENT_WARNING", +"LIST_OVERHEAD_QUOTA_EXCEED", +"MISSING_TYPE_DEPENDENCY", +"NEXT_HOP_ADDRESS_NOT_ASSIGNED", +"NEXT_HOP_CANNOT_IP_FORWARD", +"NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", +"NEXT_HOP_INSTANCE_NOT_FOUND", +"NEXT_HOP_INSTANCE_NOT_ON_NETWORK", +"NEXT_HOP_NOT_RUNNING", +"NOT_CRITICAL_ERROR", +"NO_RESULTS_ON_PAGE", +"PARTIAL_SUCCESS", +"QUOTA_INFO_UNAVAILABLE", +"REQUIRED_TOS_AGREEMENT", +"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", +"RESOURCE_NOT_DELETED", +"SCHEMA_VALIDATION_IGNORED", +"SINGLE_INSTANCE_PROPERTY_TEMPLATE", +"UNDECLARED_PROPERTIES", +"UNREACHABLE" +], +"enumDeprecated": [ +false, +false, +false, +false, +false, +false, +true, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false +], +"enumDescriptions": [ +"Warning about failed cleanup of transient changes made by a failed\noperation.", +"A link to a deprecated resource was created.", +"When deploying and at least one of the resources has a type marked as\ndeprecated", +"The user created a boot disk that is larger than image size.", +"When deploying and at least one of the resources has a type marked as\nexperimental", +"Warning that is present in an external api call", +"Warning that value of a field has been overridden.\nDeprecated unused field.", +"The operation involved use of an injected kernel, which is deprecated.", +"A WEIGHTED_MAGLEV backend service is associated with a health check that is\nnot of type HTTP/HTTPS/HTTP2.", +"When deploying a deployment with a exceedingly large number of resources", +"Resource can't be retrieved due to list overhead quota exceed\nwhich captures the amount of resources filtered out by\nuser-defined list filter.", +"A resource depends on a missing type", +"The route's nextHopIp address is not assigned to an instance on the\nnetwork.", +"The route's next hop instance cannot ip forward.", +"The route's nextHopInstance URL refers to an instance that does not have an\nipv6 interface on the same network as the route.", +"The route's nextHopInstance URL refers to an instance that does not exist.", +"The route's nextHopInstance URL refers to an instance that is not on the\nsame network as the route.", +"The route's next hop instance does not have a status of RUNNING.", +"Error which is not critical. We decided to continue the process despite\nthe mentioned error.", +"No results are present on a particular list page.", +"Success is reported, but some results may be missing due to errors", +"Quota information is not available to client requests (e.g:\nregions.list).", +"The user attempted to use a resource that requires a TOS they have not\naccepted.", +"Warning that a resource is in use.", +"One or more of the resources set to auto-delete could not be deleted\nbecause they were in use.", +"When a resource schema validation is ignored.", +"Instance template used in instance group manager is valid as such, but\nits application does not make a lot of sense, because it allows only\nsingle instance in instance group.", +"When undeclared properties in the schema are present", +"A given scope cannot be reached." +], +"type": "string" +}, +"data": { +"description": "[Output Only] Metadata about this warning in key:\nvalue format. For example:\n\n\"data\": [\n {\n \"key\": \"scope\",\n \"value\": \"zones/us-east1-d\"\n }", +"items": { +"properties": { +"key": { +"description": "[Output Only] A key that provides more detail on the warning being\nreturned. For example, for warnings where there are no results in a list\nrequest for a particular zone, this key might be scope and\nthe key value might be the zone name. Other examples might be a key\nindicating a deprecated resource and a suggested replacement, or a\nwarning about invalid network settings (for example, if an instance\nattempts to perform IP forwarding but is not enabled for IP forwarding).", +"type": "string" +}, +"value": { +"description": "[Output Only] A warning data value corresponding to the key.", +"type": "string" +} +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "[Output Only] A human-readable description of the warning code.", +"type": "string" +} +}, +"type": "object" +} +}, +"type": "object" +}, +"InterconnectLocationRegionInfo": { +"description": "Information about any potential InterconnectAttachments between an\nInterconnect at a specific InterconnectLocation, and a specific Cloud\nRegion.", +"id": "InterconnectLocationRegionInfo", +"properties": { +"expectedRttMs": { +"description": "Output only. Expected round-trip time in milliseconds, from this InterconnectLocation\nto a VM in this region.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"l2ForwardingEnabled": { +"description": "Output only. Identifies whether L2 Interconnect Attachments can be created in this\nregion for interconnects that are in this location.", +"readOnly": true, +"type": "boolean" +}, +"locationPresence": { +"description": "Output only. Identifies the network presence of this location.", +"enum": [ +"GLOBAL", +"LOCAL_REGION", +"LP_GLOBAL", +"LP_LOCAL_REGION" +], +"enumDescriptions": [ +"This region is not in any common network presence with this\nInterconnectLocation.", +"This region shares the same regional network presence as this\nInterconnectLocation.", +"[Deprecated] This region is not in any common network presence with\nthis InterconnectLocation.", +"[Deprecated] This region shares the same regional network presence as\nthis InterconnectLocation." +], +"readOnly": true, +"type": "string" +}, +"region": { +"description": "Output only. URL for the region of this location.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"InterconnectMacsec": { +"description": "Configuration information for enabling Media Access Control security\n(MACsec) on this Cloud Interconnect connection between Google and your\non-premises router.", +"id": "InterconnectMacsec", +"properties": { +"failOpen": { +"description": "If set to true, the Interconnect connection is configured with ashould-secure MACsec security policy, that allows the Google\nrouter to fallback to cleartext traffic if the MKA session cannot be\nestablished. By default, the Interconnect connection is configured with amust-secure security policy that drops all traffic if the\nMKA session cannot be established with your router.", +"type": "boolean" +}, +"preSharedKeys": { +"description": "Required. A keychain placeholder describing a set of named key objects\nalong with their start times. A MACsec CKN/CAK is generated for each\nkey in the key chain. Google router automatically picks the key with\nthe most recent startTime when establishing or re-establishing a MACsec\nsecure link.", +"items": { +"$ref": "InterconnectMacsecPreSharedKey" +}, +"type": "array" +} +}, +"type": "object" +}, +"InterconnectMacsecConfig": { +"description": "MACsec configuration information for the Interconnect connection. Contains\nthe generated Connectivity Association Key Name (CKN) and the key (CAK) for\nthis Interconnect connection.", +"id": "InterconnectMacsecConfig", +"properties": { +"preSharedKeys": { +"description": "A keychain placeholder describing a set of named key objects\nalong with their start times. A MACsec CKN/CAK is generated for each key in\nthe key chain. Google router automatically picks the key with the most\nrecent startTime when establishing or re-establishing a MACsec secure link.", +"items": { +"$ref": "InterconnectMacsecConfigPreSharedKey" +}, +"type": "array" +} +}, +"type": "object" +}, +"InterconnectMacsecConfigPreSharedKey": { +"description": "Describes a pre-shared key used to setup MACsec in static connectivity\nassociation key (CAK) mode.", +"id": "InterconnectMacsecConfigPreSharedKey", +"properties": { +"cak": { +"description": "An auto-generated Connectivity Association Key (CAK) for this key.", +"type": "string" +}, +"ckn": { +"description": "An auto-generated Connectivity Association Key Name (CKN) for this key.", +"type": "string" +}, +"name": { +"description": "User provided name for this pre-shared key.", +"type": "string" +}, +"startTime": { +"description": "User provided timestamp on or after which this key is valid.", +"type": "string" +} +}, +"type": "object" +}, +"InterconnectMacsecPreSharedKey": { +"description": "Describes a pre-shared key used to setup MACsec in static connectivity\nassociation key (CAK) mode.", +"id": "InterconnectMacsecPreSharedKey", +"properties": { +"name": { +"description": "Required. A name for this pre-shared key.\nThe name must be 1-63 characters long, and comply withRFC1035. Specifically, the name must be 1-63\ncharacters long and match the regular expression\n`[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a\nlowercase letter, and all following characters must be a dash,\nlowercase letter, or digit, except the last character, which cannot be\na dash.", +"type": "string" +}, +"startTime": { +"description": "A RFC3339 timestamp on or after which the key is\nvalid. startTime can be in the future. If the keychain has a single\nkey, startTime can be omitted. If the keychain has multiple keys,\nstartTime is mandatory for each key. The start times of keys must be in\nincreasing order. The start times of two consecutive keys must be\nat least 6 hours apart.", +"type": "string" +} +}, +"type": "object" +}, +"InterconnectOutageNotification": { +"description": "Description of a planned outage on this Interconnect.", +"id": "InterconnectOutageNotification", +"properties": { +"affectedCircuits": { +"description": "If issue_type is IT_PARTIAL_OUTAGE, a list of the Google-side circuit\nIDs that will be affected.", +"items": { +"type": "string" +}, +"type": "array" +}, +"description": { +"description": "A description about the purpose of the outage.", +"type": "string" +}, +"endTime": { +"description": "Scheduled end time for the outage (milliseconds since Unix\nepoch).", +"format": "int64", +"type": "string" +}, +"issueType": { +"description": "Form this outage is expected to take, which can take one of the following\nvalues:\n \n - OUTAGE: The Interconnect may be completely out of service for\n some or all of the specified window.\n - PARTIAL_OUTAGE: Some circuits comprising the Interconnect as a whole\n should remain up, but with reduced bandwidth.\n\n\nNote that the versions of this enum prefixed with \"IT_\" have been\ndeprecated in favor of the unprefixed values.", +"enum": [ +"IT_OUTAGE", +"IT_PARTIAL_OUTAGE", +"OUTAGE", +"PARTIAL_OUTAGE" +], +"enumDescriptions": [ +"[Deprecated] The Interconnect may be completely out of service for some\nor all of the specified window.", +"[Deprecated] Some circuits comprising the Interconnect will be out of\nservice during the expected window. The interconnect as a whole should\nremain up, albeit with reduced bandwidth.", +"The Interconnect may be completely out of service for some or all of\nthe specified window.", +"Some circuits comprising the Interconnect will be out of service during\nthe expected window. The interconnect as a whole should remain\nup, albeit with reduced bandwidth." +], +"type": "string" +}, +"name": { +"description": "Unique identifier for this outage notification.", +"type": "string" +}, +"source": { +"description": "The party that generated this notification, which can take the following\nvalue:\n \n - GOOGLE: this notification as generated by Google.\n\n\nNote that the value of NSRC_GOOGLE has been deprecated in favor of\nGOOGLE.", +"enum": [ +"GOOGLE", +"NSRC_GOOGLE" +], +"enumDescriptions": [ +"This notification was generated by Google.", +"[Deprecated] This notification was generated by Google." +], +"type": "string" +}, +"startTime": { +"description": "Scheduled start time for the outage (milliseconds since Unix\nepoch).", +"format": "int64", +"type": "string" +}, +"state": { +"description": "State of this notification, which can take one of the following values:\n \n - ACTIVE: This outage notification is active. The event could be in\n the past, present, or future. See start_time and end_time for\n scheduling.\n - CANCELLED: The outage associated with this notification was cancelled\n before the outage was due to start.\n - COMPLETED: The outage associated with this notification is complete.\n\n\nNote that the versions of this enum prefixed with \"NS_\" have been\ndeprecated in favor of the unprefixed values.", +"enum": [ +"ACTIVE", +"CANCELLED", +"COMPLETED", +"NS_ACTIVE", +"NS_CANCELED" +], +"enumDescriptions": [ +"This outage notification is active. The event could be in the future,\npresent, or past. See start_time and end_time for scheduling.", +"The outage associated with this notification was cancelled before the\noutage was due to start.", +"The outage associated with this notification is complete.", +"[Deprecated] This outage notification is active. The event could be in\nthe future, present, or past. See start_time and end_time for\nscheduling.", +"[Deprecated] The outage associated with this notification was canceled\nbefore the outage was due to start." +], +"type": "string" +} +}, +"type": "object" +}, +"InterconnectParams": { +"description": "Additional interconnect parameters.", +"id": "InterconnectParams", +"properties": { +"resourceManagerTags": { +"additionalProperties": { +"type": "string" +}, +"description": "Tag keys/values directly bound to this resource.\nTag keys and values have the same definition as resource\nmanager tags. The field is allowed for INSERT\nonly. The keys/values to set on the resource should be specified in\neither ID { : } or Namespaced format\n{ : }.\nFor example the following are valid inputs:\n* {\"tagKeys/333\" : \"tagValues/444\", \"tagKeys/123\" : \"tagValues/456\"}\n* {\"123/environment\" : \"production\", \"345/abc\" : \"xyz\"}\nNote:\n* Invalid combinations of ID & namespaced format is not supported. For\n instance: {\"123/environment\" : \"tagValues/444\"} is invalid.\n* Inconsistent format is not supported. For instance:\n {\"tagKeys/333\" : \"tagValues/444\", \"123/env\" : \"prod\"} is invalid.", +"type": "object" +} +}, +"type": "object" +}, +"InterconnectRemoteLocation": { +"description": "Represents a Cross-Cloud Interconnect Remote Location resource.\n\nYou can use this resource to find remote location details about an\nInterconnect attachment (VLAN).", +"id": "InterconnectRemoteLocation", +"properties": { +"address": { +"description": "Output only. [Output Only] The postal address of the Point of Presence, each line in\nthe address is separated by a newline character.", +"readOnly": true, +"type": "string" +}, +"attachmentConfigurationConstraints": { +"$ref": "InterconnectAttachmentConfigurationConstraints", +"description": "Output only. [Output Only] Subset of fields from InterconnectAttachment's\n|configurationConstraints| field that apply to all attachments for this\nremote location.", +"readOnly": true +}, +"city": { +"description": "Output only. [Output Only] Metropolitan area designator that indicates which city an\ninterconnect is located.\nFor example: \"Chicago, IL\", \"Amsterdam, Netherlands\".", +"readOnly": true, +"type": "string" +}, +"constraints": { +"$ref": "InterconnectRemoteLocationConstraints", +"description": "Output only. [Output Only] Constraints on the parameters for creating Cross-Cloud\nInterconnect and associated InterconnectAttachments.", +"readOnly": true +}, +"continent": { +"description": "Output only. [Output Only] Continent for this location, which can take one of the\nfollowing values:\n \n - AFRICA\n - ASIA_PAC\n - EUROPE\n - NORTH_AMERICA\n - SOUTH_AMERICA", +"enum": [ +"AFRICA", +"ASIA_PAC", +"EUROPE", +"NORTH_AMERICA", +"SOUTH_AMERICA" +], +"enumDescriptions": [ +"", +"", +"", +"", +"" +], +"readOnly": true, +"type": "string" +}, +"creationTimestamp": { +"description": "Output only. [Output Only] Creation timestamp inRFC3339\ntext format.", +"readOnly": true, +"type": "string" +}, +"description": { +"description": "Output only. [Output Only] An optional description of the resource.", +"readOnly": true, +"type": "string" +}, +"facilityProvider": { +"description": "Output only. [Output Only] The name of the provider for this facility (e.g., EQUINIX).", +"readOnly": true, +"type": "string" +}, +"facilityProviderFacilityId": { +"description": "Output only. [Output Only] A provider-assigned Identifier for this facility (e.g.,\nAshburn-DC1).", +"readOnly": true, +"type": "string" +}, +"id": { +"description": "Output only. [Output Only] The unique identifier for the resource. This identifier is\ndefined by the server.", +"format": "uint64", +"readOnly": true, +"type": "string" +}, +"kind": { +"default": "compute#interconnectRemoteLocation", +"description": "Output only. [Output Only] Type of the resource. Alwayscompute#interconnectRemoteLocation for interconnect remote\nlocations.", +"readOnly": true, +"type": "string" +}, +"lacp": { +"description": "Output only. [Output Only] Link Aggregation Control Protocol (LACP) constraints, which\ncan take one of the following values: LACP_SUPPORTED, LACP_UNSUPPORTED", +"enum": [ +"LACP_SUPPORTED", +"LACP_UNSUPPORTED" +], +"enumDescriptions": [ +"LACP_SUPPORTED: LACP is supported, and enabled by default on\nthe Cross-Cloud Interconnect.", +"LACP_UNSUPPORTED: LACP is not supported and is not be enabled on this\nport. GetDiagnostics shows bundleAggregationType as \"static\". GCP does\nnot support LAGs without LACP, so requestedLinkCount must be 1." +], +"readOnly": true, +"type": "string" +}, +"maxLagSize100Gbps": { +"description": "Output only. [Output Only]\nThe maximum number of 100 Gbps ports supported in a link aggregation group\n(LAG). When linkType is 100 Gbps, requestedLinkCount cannot exceed\nmax_lag_size_100_gbps.", +"format": "int32", +"readOnly": true, +"type": "integer" +}, +"maxLagSize10Gbps": { +"description": "Output only. [Output Only]\nThe maximum number of 10 Gbps ports supported in a link aggregation group\n(LAG). When linkType is 10 Gbps, requestedLinkCount cannot exceed\nmax_lag_size_10_gbps.", +"format": "int32", +"readOnly": true, +"type": "integer" +}, +"maxLagSize400Gbps": { +"description": "Output only. [Output Only]\nThe maximum number of 400 Gbps ports supported in a link aggregation group\n(LAG). When linkType is 400 Gbps, requestedLinkCount cannot exceed\nmax_lag_size_400_gbps.", +"format": "int32", +"readOnly": true, +"type": "integer" +}, +"name": { +"description": "Output only. [Output Only] Name of the resource.", +"readOnly": true, +"type": "string" +}, +"peeringdbFacilityId": { +"description": "Output only. [Output Only] The peeringdb identifier for this facility (corresponding\nwith a netfac type in peeringdb).", +"readOnly": true, +"type": "string" +}, +"permittedConnections": { +"description": "Output only. [Output Only] Permitted connections.", +"items": { +"$ref": "InterconnectRemoteLocationPermittedConnections" +}, +"readOnly": true, +"type": "array" +}, +"remoteService": { +"description": "Output only. [Output Only] Indicates the service provider present at the remote\nlocation. Example values: \"Amazon Web Services\", \"Microsoft Azure\".", +"readOnly": true, +"type": "string" +}, +"selfLink": { +"description": "Output only. [Output Only] Server-defined URL for the resource.", +"readOnly": true, +"type": "string" +}, +"status": { +"description": "Output only. [Output Only] The status of this InterconnectRemoteLocation, which can take\none of the following values:\n \n - CLOSED: The InterconnectRemoteLocation is closed and is unavailable\n for provisioning new Cross-Cloud Interconnects. \n - AVAILABLE: The\n InterconnectRemoteLocation is available for provisioning new\n Cross-Cloud Interconnects.", +"enum": [ +"AVAILABLE", +"CLOSED" +], +"enumDescriptions": [ +"The InterconnectRemoteLocation is available for provisioning new\nCross-Cloud Interconnects.", +"The InterconnectRemoteLocation is closed for provisioning new\nCross-Cloud Interconnects." +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"InterconnectRemoteLocationConstraints": { +"id": "InterconnectRemoteLocationConstraints", +"properties": { +"portPairRemoteLocation": { +"description": "Output only. [Output Only] Port pair remote location constraints, which can take one\nof the following values: PORT_PAIR_UNCONSTRAINED_REMOTE_LOCATION,\nPORT_PAIR_MATCHING_REMOTE_LOCATION.\n\nGoogle Cloud API refers only to individual ports, but the UI uses this\nfield when ordering a pair of ports, to prevent users from accidentally\nordering something that is incompatible with their cloud provider.\nSpecifically, when ordering a redundant pair of Cross-Cloud Interconnect\nports, and one of them uses a remote location with\nportPairMatchingRemoteLocation set to matching, the UI requires that\nboth ports use the same remote location.", +"enum": [ +"PORT_PAIR_MATCHING_REMOTE_LOCATION", +"PORT_PAIR_UNCONSTRAINED_REMOTE_LOCATION" +], +"enumDescriptions": [ +"If PORT_PAIR_MATCHING_REMOTE_LOCATION, the remote cloud provider\nallocates ports in pairs, and the user should choose the same remote\nlocation for both ports.", +"If PORT_PAIR_UNCONSTRAINED_REMOTE_LOCATION, a user may opt to provision\na redundant pair of Cross-Cloud Interconnects using two different\nremote locations in the same city." +], +"readOnly": true, +"type": "string" +}, +"portPairVlan": { +"description": "Output only. [Output Only] Port pair VLAN constraints, which can take one of the\nfollowing values: PORT_PAIR_UNCONSTRAINED_VLAN, PORT_PAIR_MATCHING_VLAN", +"enum": [ +"PORT_PAIR_MATCHING_VLAN", +"PORT_PAIR_UNCONSTRAINED_VLAN" +], +"enumDescriptions": [ +"If PORT_PAIR_MATCHING_VLAN, the Interconnect for this attachment is\npart of a pair of ports that should have matching VLAN allocations.\nThis occurs with Cross-Cloud Interconnect to Azure remote locations.\nWhile GCP's API does not explicitly group pairs of ports, the UI uses\nthis field to ensure matching VLAN ids when configuring a redundant\nVLAN pair.", +"PORT_PAIR_UNCONSTRAINED_VLAN means there is no constraint." +], +"readOnly": true, +"type": "string" +}, +"subnetLengthRange": { +"$ref": "InterconnectRemoteLocationConstraintsSubnetLengthRange", +"description": "Output only. [Output Only]\n\n[min-length, max-length] \n\nThe minimum and maximum value (inclusive) for the IPv4 subnet\nlength.\n\n For example, an interconnectRemoteLocation for Azure has {min: 30,\nmax:\n30} because Azure requires /30 subnets. \n\nThis range specifies the values supported by both cloud providers.\nInterconnect currently supports /29 and /30 IPv4 subnet lengths. If a\nremote cloud has no constraint on IPv4 subnet length, the range would\nthus be {min: 29, max: 30}.", +"readOnly": true +} +}, +"type": "object" +}, +"InterconnectRemoteLocationConstraintsSubnetLengthRange": { +"id": "InterconnectRemoteLocationConstraintsSubnetLengthRange", +"properties": { +"max": { +"format": "int32", +"type": "integer" +}, +"min": { +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"InterconnectRemoteLocationList": { +"description": "Response to the list request, and contains a list of interconnect remote\nlocations.", +"id": "InterconnectRemoteLocationList", +"properties": { +"id": { +"description": "[Output Only] Unique identifier for the resource; defined by the server.", +"type": "string" +}, +"items": { +"description": "A list of InterconnectRemoteLocation resources.", +"items": { +"$ref": "InterconnectRemoteLocation" +}, +"type": "array" +}, +"kind": { +"default": "compute#interconnectRemoteLocationList", +"description": "Output only. [Output Only] Type of resource. Alwayscompute#interconnectRemoteLocationList for lists of\ninterconnect remote locations.", +"readOnly": true, +"type": "string" +}, +"nextPageToken": { +"description": "[Output Only] This token lets you get the next page of results for\nlist requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for\nthe query parameter pageToken in the next list request.\nSubsequent list requests will have their own nextPageToken to\ncontinue paging through the results.", +"type": "string" +}, +"selfLink": { +"description": "Output only. [Output Only] Server-defined URL for this resource.", +"readOnly": true, +"type": "string" +}, +"warning": { +"description": "[Output Only] Informational warning message.", +"properties": { +"code": { +"description": "[Output Only] A warning code, if applicable. For example, Compute\nEngine returns NO_RESULTS_ON_PAGE if there\nare no results in the response.", +"enum": [ +"CLEANUP_FAILED", +"DEPRECATED_RESOURCE_USED", +"DEPRECATED_TYPE_USED", +"DISK_SIZE_LARGER_THAN_IMAGE_SIZE", +"EXPERIMENTAL_TYPE_USED", +"EXTERNAL_API_WARNING", +"FIELD_VALUE_OVERRIDEN", +"INJECTED_KERNELS_DEPRECATED", +"INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", +"LARGE_DEPLOYMENT_WARNING", +"LIST_OVERHEAD_QUOTA_EXCEED", +"MISSING_TYPE_DEPENDENCY", +"NEXT_HOP_ADDRESS_NOT_ASSIGNED", +"NEXT_HOP_CANNOT_IP_FORWARD", +"NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", +"NEXT_HOP_INSTANCE_NOT_FOUND", +"NEXT_HOP_INSTANCE_NOT_ON_NETWORK", +"NEXT_HOP_NOT_RUNNING", +"NOT_CRITICAL_ERROR", +"NO_RESULTS_ON_PAGE", +"PARTIAL_SUCCESS", +"QUOTA_INFO_UNAVAILABLE", +"REQUIRED_TOS_AGREEMENT", +"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", +"RESOURCE_NOT_DELETED", +"SCHEMA_VALIDATION_IGNORED", +"SINGLE_INSTANCE_PROPERTY_TEMPLATE", +"UNDECLARED_PROPERTIES", +"UNREACHABLE" +], +"enumDeprecated": [ +false, +false, +false, +false, +false, +false, +true, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false +], +"enumDescriptions": [ +"Warning about failed cleanup of transient changes made by a failed\noperation.", +"A link to a deprecated resource was created.", +"When deploying and at least one of the resources has a type marked as\ndeprecated", +"The user created a boot disk that is larger than image size.", +"When deploying and at least one of the resources has a type marked as\nexperimental", +"Warning that is present in an external api call", +"Warning that value of a field has been overridden.\nDeprecated unused field.", +"The operation involved use of an injected kernel, which is deprecated.", +"A WEIGHTED_MAGLEV backend service is associated with a health check that is\nnot of type HTTP/HTTPS/HTTP2.", +"When deploying a deployment with a exceedingly large number of resources", +"Resource can't be retrieved due to list overhead quota exceed\nwhich captures the amount of resources filtered out by\nuser-defined list filter.", +"A resource depends on a missing type", +"The route's nextHopIp address is not assigned to an instance on the\nnetwork.", +"The route's next hop instance cannot ip forward.", +"The route's nextHopInstance URL refers to an instance that does not have an\nipv6 interface on the same network as the route.", +"The route's nextHopInstance URL refers to an instance that does not exist.", +"The route's nextHopInstance URL refers to an instance that is not on the\nsame network as the route.", +"The route's next hop instance does not have a status of RUNNING.", +"Error which is not critical. We decided to continue the process despite\nthe mentioned error.", +"No results are present on a particular list page.", +"Success is reported, but some results may be missing due to errors", +"Quota information is not available to client requests (e.g:\nregions.list).", +"The user attempted to use a resource that requires a TOS they have not\naccepted.", +"Warning that a resource is in use.", +"One or more of the resources set to auto-delete could not be deleted\nbecause they were in use.", +"When a resource schema validation is ignored.", +"Instance template used in instance group manager is valid as such, but\nits application does not make a lot of sense, because it allows only\nsingle instance in instance group.", +"When undeclared properties in the schema are present", +"A given scope cannot be reached." +], +"type": "string" +}, +"data": { +"description": "[Output Only] Metadata about this warning in key:\nvalue format. For example:\n\n\"data\": [\n {\n \"key\": \"scope\",\n \"value\": \"zones/us-east1-d\"\n }", +"items": { +"properties": { +"key": { +"description": "[Output Only] A key that provides more detail on the warning being\nreturned. For example, for warnings where there are no results in a list\nrequest for a particular zone, this key might be scope and\nthe key value might be the zone name. Other examples might be a key\nindicating a deprecated resource and a suggested replacement, or a\nwarning about invalid network settings (for example, if an instance\nattempts to perform IP forwarding but is not enabled for IP forwarding).", +"type": "string" +}, +"value": { +"description": "[Output Only] A warning data value corresponding to the key.", +"type": "string" +} +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "[Output Only] A human-readable description of the warning code.", +"type": "string" +} +}, +"type": "object" +} +}, +"type": "object" +}, +"InterconnectRemoteLocationPermittedConnections": { +"id": "InterconnectRemoteLocationPermittedConnections", +"properties": { +"interconnectLocation": { +"description": "Output only. [Output Only] URL of an Interconnect location that is permitted to\nconnect to this Interconnect remote location.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"InterconnectsGetDiagnosticsResponse": { +"description": "Response for the InterconnectsGetDiagnosticsRequest.", +"id": "InterconnectsGetDiagnosticsResponse", +"properties": { +"result": { +"$ref": "InterconnectDiagnostics" +} +}, +"type": "object" +}, +"InterconnectsGetMacsecConfigResponse": { +"description": "Response for the InterconnectsGetMacsecConfigRequest.", +"id": "InterconnectsGetMacsecConfigResponse", +"properties": { +"etag": { +"description": "end_interface: MixerGetResponseWithEtagBuilder", +"type": "string" +}, +"result": { +"$ref": "InterconnectMacsecConfig" +} +}, +"type": "object" +}, +"License": { +"description": "Represents a License resource.\n\nA License represents billing and aggregate usage data forpublic andmarketplace images.\n *Caution* This resource is intended for\nuse only by third-party partners who are creatingCloud Marketplace\nimages.", +"id": "License", +"properties": { +"allowedReplacementLicenses": { +"description": "Specifies licenseCodes of licenses that can replace this license. Note:\nsuch replacements are allowed even if removable_from_disk is false.", +"items": { +"type": "string" +}, +"type": "array" +}, +"appendableToDisk": { +"description": "If true, this license can be appended to an existing disk's set of\nlicenses.", +"type": "boolean" +}, +"chargesUseFee": { +"description": "[Output Only] Deprecated. This field no longer reflects whether a license\ncharges a usage fee.", +"type": "boolean" +}, +"creationTimestamp": { +"description": "Output only. [Output Only] Creation timestamp inRFC3339\ntext format.", +"readOnly": true, +"type": "string" +}, +"description": { +"description": "An optional textual description of the resource; provided by the client\nwhen the resource is created.", +"type": "string" +}, +"id": { +"description": "[Output Only] The unique identifier for the resource. This identifier is\ndefined by the server.", +"format": "uint64", +"type": "string" +}, +"incompatibleLicenses": { +"description": "Specifies licenseCodes of licenses that are incompatible with this license.\nIf a license is incompatible with this license, it cannot be attached to\nthe same disk or image.", +"items": { +"type": "string" +}, +"type": "array" +}, +"kind": { +"default": "compute#license", +"description": "Output only. [Output Only] Type of resource. Always compute#license for\nlicenses.", +"readOnly": true, +"type": "string" +}, +"licenseCode": { +"description": "[Output Only] The unique code used to attach this license to images,\nsnapshots, and disks.", +"format": "uint64", +"type": "string" +}, +"minimumRetention": { +"$ref": "Duration", +"description": "If set, this license will be unable to be removed or replaced once attached\nto a disk until the minimum_retention period has passed." +}, +"multiTenantOnly": { +"description": "If true, this license can only be used on VMs on multi tenant nodes.", +"type": "boolean" +}, +"name": { +"annotations": { +"required": [ +"compute.images.insert" +] +}, +"description": "Name of the resource. The name must be 1-63 characters long and\ncomply withRFC1035.", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"type": "string" +}, +"osLicense": { +"description": "If true, indicates this is an OS license. Only one OS license can be\nattached to a disk or image at a time.", +"type": "boolean" +}, +"params": { +"$ref": "LicenseParams", +"description": "Input only. Additional params passed with the request, but not persisted\nas part of resource payload." +}, +"removableFromDisk": { +"description": "If true, this license can be removed from a disk's set of licenses, with no\nreplacement license needed.", +"type": "boolean" +}, +"requiredCoattachedLicenses": { +"description": "Specifies the set of permissible coattached licenseCodes of licenses that\nsatisfy the coattachment requirement of this license. At least one license\nfrom the set must be attached to the same disk or image as this license.", +"items": { +"type": "string" +}, +"type": "array" +}, +"resourceRequirements": { +"$ref": "LicenseResourceRequirements", +"description": "[Input Only] Deprecated." +}, +"selfLink": { +"description": "Output only. [Output Only] Server-defined URL for the resource.", +"readOnly": true, +"type": "string" +}, +"selfLinkWithId": { +"description": "Output only. [Output Only] Server-defined URL for this resource with the resource id.", +"readOnly": true, +"type": "string" +}, +"soleTenantOnly": { +"description": "If true, this license can only be used on VMs on sole tenant nodes.", +"type": "boolean" +}, +"transferable": { +"description": "If false, licenses will not be copied from the source resource when\ncreating an image from a disk, disk from snapshot, or snapshot from disk.", +"type": "boolean" +}, +"updateTimestamp": { +"description": "Output only. [Output Only] Last update timestamp inRFC3339\ntext format.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"LicenseCode": { +"description": "Represents a License Code resource.\n\nA License Code is a unique identifier used to represent alicense\nresource.\n *Caution* This resource is intended for\nuse only by third-party partners who are creatingCloud Marketplace\nimages.", +"id": "LicenseCode", +"properties": { +"creationTimestamp": { +"description": "Output only. [Output Only] Creation timestamp inRFC3339\ntext format.", +"readOnly": true, +"type": "string" +}, +"description": { +"description": "Output only. [Output Only] Description of this License Code.", +"readOnly": true, +"type": "string" +}, +"id": { +"description": "Output only. [Output Only] The unique identifier for the resource. This identifier is\ndefined by the server.", +"format": "uint64", +"readOnly": true, +"type": "string" +}, +"kind": { +"default": "compute#licenseCode", +"description": "Output only. [Output Only] Type of resource. Always compute#licenseCode for\nlicenses.", +"readOnly": true, +"type": "string" +}, +"licenseAlias": { +"description": "[Output Only] URL and description aliases of Licenses with the same\nLicense Code.", +"items": { +"$ref": "LicenseCodeLicenseAlias" +}, +"type": "array" +}, +"name": { +"annotations": { +"required": [ +"compute.licenses.insert" +] +}, +"description": "Output only. [Output Only] Name of the resource. The name is 1-20 characters long and\nmust be a valid 64 bit integer.", +"pattern": "[0-9]{0,20}?", +"readOnly": true, +"type": "string" +}, +"selfLink": { +"description": "Output only. [Output Only] Server-defined URL for the resource.", +"readOnly": true, +"type": "string" +}, +"state": { +"description": "Output only. [Output Only] Current state of this License Code.", +"enum": [ +"DISABLED", +"ENABLED", +"RESTRICTED", +"STATE_UNSPECIFIED", +"TERMINATED" +], +"enumDescriptions": [ +"Machines are not allowed to attach boot disks with this License Code.\nRequests to create new resources with this license will be rejected.", +"Use is allowed for anyone with USE_READ_ONLY access to this License Code.", +"Use of this license is limited to a project whitelist.", +"", +"Reserved state." +], +"readOnly": true, +"type": "string" +}, +"transferable": { +"description": "Output only. [Output Only] If true, the license will remain attached when creating\nimages or snapshots from disks. Otherwise, the license is not transferred.", +"readOnly": true, +"type": "boolean" +} +}, +"type": "object" +}, +"LicenseCodeLicenseAlias": { +"id": "LicenseCodeLicenseAlias", +"properties": { +"description": { +"description": "Output only. [Output Only] Description of this License Code.", +"readOnly": true, +"type": "string" +}, +"selfLink": { +"description": "Output only. [Output Only] URL of license corresponding to this License Code.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"LicenseParams": { +"description": "Additional license params.", +"id": "LicenseParams", +"properties": { +"resourceManagerTags": { +"additionalProperties": { +"type": "string" +}, +"description": "Input only. Resource manager tags to be bound to the license. Tag keys and values\nhave the same definition as resource\nmanager tags. Keys and values can be either in numeric format,\nsuch as `tagKeys/{tag_key_id}` and `tagValues/456` or in namespaced\nformat such as `{org_id|project_id}/{tag_key_short_name}` and\n`{tag_value_short_name}`. The field is ignored (both PUT &\nPATCH) when empty.", +"type": "object" +} +}, +"type": "object" +}, +"LicenseResourceCommitment": { +"description": "Commitment for a particular license resource.", +"id": "LicenseResourceCommitment", +"properties": { +"amount": { +"description": "The number of licenses you plan to purchase.", +"format": "int64", +"type": "string" +}, +"coresPerLicense": { +"description": "The number of cores per license.", +"type": "string" +}, +"license": { +"description": "The applicable license URI.", +"type": "string" +} +}, +"type": "object" +}, +"LicenseResourceRequirements": { +"id": "LicenseResourceRequirements", +"properties": { +"minGuestCpuCount": { +"description": "[Input Only] Deprecated. This field no longer reflects the minimum number\nof guest cpus required to use the Instance.", +"format": "int32", +"type": "integer" +}, +"minMemoryMb": { +"description": "[Input Only] Deprecated. This field no longer reflects the minimum memory\nrequired to use the Instance.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"LicensesListResponse": { +"id": "LicensesListResponse", +"properties": { +"id": { +"description": "[Output Only] Unique identifier for the resource; defined by the server.", +"type": "string" +}, +"items": { +"description": "A list of License resources.", +"items": { +"$ref": "License" +}, +"type": "array" +}, +"nextPageToken": { +"description": "[Output Only] This token allows you to get the next page of results for\nlist requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for\nthe query parameter pageToken in the next list request.\nSubsequent list requests will have their own nextPageToken to\ncontinue paging through the results.", +"type": "string" +}, +"selfLink": { +"description": "Output only. [Output Only] Server-defined URL for this resource.", +"readOnly": true, +"type": "string" +}, +"warning": { +"description": "[Output Only] Informational warning message.", +"properties": { +"code": { +"description": "[Output Only] A warning code, if applicable. For example, Compute\nEngine returns NO_RESULTS_ON_PAGE if there\nare no results in the response.", +"enum": [ +"CLEANUP_FAILED", +"DEPRECATED_RESOURCE_USED", +"DEPRECATED_TYPE_USED", +"DISK_SIZE_LARGER_THAN_IMAGE_SIZE", +"EXPERIMENTAL_TYPE_USED", +"EXTERNAL_API_WARNING", +"FIELD_VALUE_OVERRIDEN", +"INJECTED_KERNELS_DEPRECATED", +"INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", +"LARGE_DEPLOYMENT_WARNING", +"LIST_OVERHEAD_QUOTA_EXCEED", +"MISSING_TYPE_DEPENDENCY", +"NEXT_HOP_ADDRESS_NOT_ASSIGNED", +"NEXT_HOP_CANNOT_IP_FORWARD", +"NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", +"NEXT_HOP_INSTANCE_NOT_FOUND", +"NEXT_HOP_INSTANCE_NOT_ON_NETWORK", +"NEXT_HOP_NOT_RUNNING", +"NOT_CRITICAL_ERROR", +"NO_RESULTS_ON_PAGE", +"PARTIAL_SUCCESS", +"QUOTA_INFO_UNAVAILABLE", +"REQUIRED_TOS_AGREEMENT", +"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", +"RESOURCE_NOT_DELETED", +"SCHEMA_VALIDATION_IGNORED", +"SINGLE_INSTANCE_PROPERTY_TEMPLATE", +"UNDECLARED_PROPERTIES", +"UNREACHABLE" +], +"enumDeprecated": [ +false, +false, +false, +false, +false, +false, +true, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false +], +"enumDescriptions": [ +"Warning about failed cleanup of transient changes made by a failed\noperation.", +"A link to a deprecated resource was created.", +"When deploying and at least one of the resources has a type marked as\ndeprecated", +"The user created a boot disk that is larger than image size.", +"When deploying and at least one of the resources has a type marked as\nexperimental", +"Warning that is present in an external api call", +"Warning that value of a field has been overridden.\nDeprecated unused field.", +"The operation involved use of an injected kernel, which is deprecated.", +"A WEIGHTED_MAGLEV backend service is associated with a health check that is\nnot of type HTTP/HTTPS/HTTP2.", +"When deploying a deployment with a exceedingly large number of resources", +"Resource can't be retrieved due to list overhead quota exceed\nwhich captures the amount of resources filtered out by\nuser-defined list filter.", +"A resource depends on a missing type", +"The route's nextHopIp address is not assigned to an instance on the\nnetwork.", +"The route's next hop instance cannot ip forward.", +"The route's nextHopInstance URL refers to an instance that does not have an\nipv6 interface on the same network as the route.", +"The route's nextHopInstance URL refers to an instance that does not exist.", +"The route's nextHopInstance URL refers to an instance that is not on the\nsame network as the route.", +"The route's next hop instance does not have a status of RUNNING.", +"Error which is not critical. We decided to continue the process despite\nthe mentioned error.", +"No results are present on a particular list page.", +"Success is reported, but some results may be missing due to errors", +"Quota information is not available to client requests (e.g:\nregions.list).", +"The user attempted to use a resource that requires a TOS they have not\naccepted.", +"Warning that a resource is in use.", +"One or more of the resources set to auto-delete could not be deleted\nbecause they were in use.", +"When a resource schema validation is ignored.", +"Instance template used in instance group manager is valid as such, but\nits application does not make a lot of sense, because it allows only\nsingle instance in instance group.", +"When undeclared properties in the schema are present", +"A given scope cannot be reached." +], +"type": "string" +}, +"data": { +"description": "[Output Only] Metadata about this warning in key:\nvalue format. For example:\n\n\"data\": [\n {\n \"key\": \"scope\",\n \"value\": \"zones/us-east1-d\"\n }", +"items": { +"properties": { +"key": { +"description": "[Output Only] A key that provides more detail on the warning being\nreturned. For example, for warnings where there are no results in a list\nrequest for a particular zone, this key might be scope and\nthe key value might be the zone name. Other examples might be a key\nindicating a deprecated resource and a suggested replacement, or a\nwarning about invalid network settings (for example, if an instance\nattempts to perform IP forwarding but is not enabled for IP forwarding).", +"type": "string" +}, +"value": { +"description": "[Output Only] A warning data value corresponding to the key.", +"type": "string" +} +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "[Output Only] A human-readable description of the warning code.", +"type": "string" +} +}, +"type": "object" +} +}, +"type": "object" +}, +"ListInstantSnapshotGroups": { +"description": "Contains a list of InstantSnapshotGroup resources.", +"id": "ListInstantSnapshotGroups", +"properties": { +"etag": { +"type": "string" +}, +"id": { +"description": "[Output Only] Unique identifier for the resource; defined by the server.", +"type": "string" +}, +"items": { +"description": "A list of InstantSnapshotGroup resources.", +"items": { +"$ref": "InstantSnapshotGroup" +}, +"type": "array" +}, +"kind": { +"default": "compute#instantSnapshotGroupsList", +"description": "Output only. Type of resource.", +"readOnly": true, +"type": "string" +}, +"nextPageToken": { +"description": "[Output Only] This token allows you to get the next page of results for\nlist requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for\nthe query parameter pageToken in the next list request.\nSubsequent list requests will have their own nextPageToken to\ncontinue paging through the results.", +"type": "string" +}, +"selfLink": { +"description": "Output only. [Output Only] Server-defined URL for this resource.", +"readOnly": true, +"type": "string" +}, +"unreachables": { +"description": "Output only. [Output Only] Unreachable resources.\nend_interface: MixerListResponseWithEtagBuilder", +"items": { +"type": "string" +}, +"readOnly": true, +"type": "array" +}, +"warning": { +"description": "[Output Only] Informational warning message.", +"properties": { +"code": { +"description": "[Output Only] A warning code, if applicable. For example, Compute\nEngine returns NO_RESULTS_ON_PAGE if there\nare no results in the response.", +"enum": [ +"CLEANUP_FAILED", +"DEPRECATED_RESOURCE_USED", +"DEPRECATED_TYPE_USED", +"DISK_SIZE_LARGER_THAN_IMAGE_SIZE", +"EXPERIMENTAL_TYPE_USED", +"EXTERNAL_API_WARNING", +"FIELD_VALUE_OVERRIDEN", +"INJECTED_KERNELS_DEPRECATED", +"INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", +"LARGE_DEPLOYMENT_WARNING", +"LIST_OVERHEAD_QUOTA_EXCEED", +"MISSING_TYPE_DEPENDENCY", +"NEXT_HOP_ADDRESS_NOT_ASSIGNED", +"NEXT_HOP_CANNOT_IP_FORWARD", +"NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", +"NEXT_HOP_INSTANCE_NOT_FOUND", +"NEXT_HOP_INSTANCE_NOT_ON_NETWORK", +"NEXT_HOP_NOT_RUNNING", +"NOT_CRITICAL_ERROR", +"NO_RESULTS_ON_PAGE", +"PARTIAL_SUCCESS", +"QUOTA_INFO_UNAVAILABLE", +"REQUIRED_TOS_AGREEMENT", +"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", +"RESOURCE_NOT_DELETED", +"SCHEMA_VALIDATION_IGNORED", +"SINGLE_INSTANCE_PROPERTY_TEMPLATE", +"UNDECLARED_PROPERTIES", +"UNREACHABLE" +], +"enumDeprecated": [ +false, +false, +false, +false, +false, +false, +true, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false +], +"enumDescriptions": [ +"Warning about failed cleanup of transient changes made by a failed\noperation.", +"A link to a deprecated resource was created.", +"When deploying and at least one of the resources has a type marked as\ndeprecated", +"The user created a boot disk that is larger than image size.", +"When deploying and at least one of the resources has a type marked as\nexperimental", +"Warning that is present in an external api call", +"Warning that value of a field has been overridden.\nDeprecated unused field.", +"The operation involved use of an injected kernel, which is deprecated.", +"A WEIGHTED_MAGLEV backend service is associated with a health check that is\nnot of type HTTP/HTTPS/HTTP2.", +"When deploying a deployment with a exceedingly large number of resources", +"Resource can't be retrieved due to list overhead quota exceed\nwhich captures the amount of resources filtered out by\nuser-defined list filter.", +"A resource depends on a missing type", +"The route's nextHopIp address is not assigned to an instance on the\nnetwork.", +"The route's next hop instance cannot ip forward.", +"The route's nextHopInstance URL refers to an instance that does not have an\nipv6 interface on the same network as the route.", +"The route's nextHopInstance URL refers to an instance that does not exist.", +"The route's nextHopInstance URL refers to an instance that is not on the\nsame network as the route.", +"The route's next hop instance does not have a status of RUNNING.", +"Error which is not critical. We decided to continue the process despite\nthe mentioned error.", +"No results are present on a particular list page.", +"Success is reported, but some results may be missing due to errors", +"Quota information is not available to client requests (e.g:\nregions.list).", +"The user attempted to use a resource that requires a TOS they have not\naccepted.", +"Warning that a resource is in use.", +"One or more of the resources set to auto-delete could not be deleted\nbecause they were in use.", +"When a resource schema validation is ignored.", +"Instance template used in instance group manager is valid as such, but\nits application does not make a lot of sense, because it allows only\nsingle instance in instance group.", +"When undeclared properties in the schema are present", +"A given scope cannot be reached." +], +"type": "string" +}, +"data": { +"description": "[Output Only] Metadata about this warning in key:\nvalue format. For example:\n\n\"data\": [\n {\n \"key\": \"scope\",\n \"value\": \"zones/us-east1-d\"\n }", +"items": { +"properties": { +"key": { +"description": "[Output Only] A key that provides more detail on the warning being\nreturned. For example, for warnings where there are no results in a list\nrequest for a particular zone, this key might be scope and\nthe key value might be the zone name. Other examples might be a key\nindicating a deprecated resource and a suggested replacement, or a\nwarning about invalid network settings (for example, if an instance\nattempts to perform IP forwarding but is not enabled for IP forwarding).", +"type": "string" +}, +"value": { +"description": "[Output Only] A warning data value corresponding to the key.", +"type": "string" +} +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "[Output Only] A human-readable description of the warning code.", +"type": "string" +} +}, +"type": "object" +} +}, +"type": "object" +}, +"ListSnapshotGroups": { +"description": "Contains a list of SnapshotGroup resources.", +"id": "ListSnapshotGroups", +"properties": { +"etag": { +"type": "string" +}, +"id": { +"description": "[Output Only] Unique identifier for the resource; defined by the server.", +"type": "string" +}, +"items": { +"description": "A list of SnapshotGroup resources.", +"items": { +"$ref": "SnapshotGroup" +}, +"type": "array" +}, +"kind": { +"default": "compute#snapshotGroupsList", +"description": "Output only. Type of resource.", +"readOnly": true, +"type": "string" +}, +"nextPageToken": { +"description": "[Output Only] This token allows you to get the next page of results for\nlist requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for\nthe query parameter pageToken in the next list request.\nSubsequent list requests will have their own nextPageToken to\ncontinue paging through the results.", +"type": "string" +}, +"selfLink": { +"description": "Output only. [Output Only] Server-defined URL for this resource.", +"readOnly": true, +"type": "string" +}, +"unreachables": { +"description": "Output only. [Output Only] Unreachable resources.\nend_interface: MixerListResponseWithEtagBuilder", +"items": { +"type": "string" +}, +"readOnly": true, +"type": "array" +}, +"warning": { +"description": "[Output Only] Informational warning message.", +"properties": { +"code": { +"description": "[Output Only] A warning code, if applicable. For example, Compute\nEngine returns NO_RESULTS_ON_PAGE if there\nare no results in the response.", +"enum": [ +"CLEANUP_FAILED", +"DEPRECATED_RESOURCE_USED", +"DEPRECATED_TYPE_USED", +"DISK_SIZE_LARGER_THAN_IMAGE_SIZE", +"EXPERIMENTAL_TYPE_USED", +"EXTERNAL_API_WARNING", +"FIELD_VALUE_OVERRIDEN", +"INJECTED_KERNELS_DEPRECATED", +"INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", +"LARGE_DEPLOYMENT_WARNING", +"LIST_OVERHEAD_QUOTA_EXCEED", +"MISSING_TYPE_DEPENDENCY", +"NEXT_HOP_ADDRESS_NOT_ASSIGNED", +"NEXT_HOP_CANNOT_IP_FORWARD", +"NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", +"NEXT_HOP_INSTANCE_NOT_FOUND", +"NEXT_HOP_INSTANCE_NOT_ON_NETWORK", +"NEXT_HOP_NOT_RUNNING", +"NOT_CRITICAL_ERROR", +"NO_RESULTS_ON_PAGE", +"PARTIAL_SUCCESS", +"QUOTA_INFO_UNAVAILABLE", +"REQUIRED_TOS_AGREEMENT", +"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", +"RESOURCE_NOT_DELETED", +"SCHEMA_VALIDATION_IGNORED", +"SINGLE_INSTANCE_PROPERTY_TEMPLATE", +"UNDECLARED_PROPERTIES", +"UNREACHABLE" +], +"enumDeprecated": [ +false, +false, +false, +false, +false, +false, +true, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false +], +"enumDescriptions": [ +"Warning about failed cleanup of transient changes made by a failed\noperation.", +"A link to a deprecated resource was created.", +"When deploying and at least one of the resources has a type marked as\ndeprecated", +"The user created a boot disk that is larger than image size.", +"When deploying and at least one of the resources has a type marked as\nexperimental", +"Warning that is present in an external api call", +"Warning that value of a field has been overridden.\nDeprecated unused field.", +"The operation involved use of an injected kernel, which is deprecated.", +"A WEIGHTED_MAGLEV backend service is associated with a health check that is\nnot of type HTTP/HTTPS/HTTP2.", +"When deploying a deployment with a exceedingly large number of resources", +"Resource can't be retrieved due to list overhead quota exceed\nwhich captures the amount of resources filtered out by\nuser-defined list filter.", +"A resource depends on a missing type", +"The route's nextHopIp address is not assigned to an instance on the\nnetwork.", +"The route's next hop instance cannot ip forward.", +"The route's nextHopInstance URL refers to an instance that does not have an\nipv6 interface on the same network as the route.", +"The route's nextHopInstance URL refers to an instance that does not exist.", +"The route's nextHopInstance URL refers to an instance that is not on the\nsame network as the route.", +"The route's next hop instance does not have a status of RUNNING.", +"Error which is not critical. We decided to continue the process despite\nthe mentioned error.", +"No results are present on a particular list page.", +"Success is reported, but some results may be missing due to errors", +"Quota information is not available to client requests (e.g:\nregions.list).", +"The user attempted to use a resource that requires a TOS they have not\naccepted.", +"Warning that a resource is in use.", +"One or more of the resources set to auto-delete could not be deleted\nbecause they were in use.", +"When a resource schema validation is ignored.", +"Instance template used in instance group manager is valid as such, but\nits application does not make a lot of sense, because it allows only\nsingle instance in instance group.", +"When undeclared properties in the schema are present", +"A given scope cannot be reached." +], +"type": "string" +}, +"data": { +"description": "[Output Only] Metadata about this warning in key:\nvalue format. For example:\n\n\"data\": [\n {\n \"key\": \"scope\",\n \"value\": \"zones/us-east1-d\"\n }", +"items": { +"properties": { +"key": { +"description": "[Output Only] A key that provides more detail on the warning being\nreturned. For example, for warnings where there are no results in a list\nrequest for a particular zone, this key might be scope and\nthe key value might be the zone name. Other examples might be a key\nindicating a deprecated resource and a suggested replacement, or a\nwarning about invalid network settings (for example, if an instance\nattempts to perform IP forwarding but is not enabled for IP forwarding).", +"type": "string" +}, +"value": { +"description": "[Output Only] A warning data value corresponding to the key.", +"type": "string" +} +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "[Output Only] A human-readable description of the warning code.", +"type": "string" +} +}, +"type": "object" +} +}, +"type": "object" +}, +"LocalDisk": { +"id": "LocalDisk", +"properties": { +"diskCount": { +"description": "Specifies the number of such disks.", +"format": "int32", +"type": "integer" +}, +"diskSizeGb": { +"description": "Specifies the size of the disk in base-2 GB.", +"format": "int32", +"type": "integer" +}, +"diskType": { +"description": "Specifies the desired disk type on the node. This disk type must be a\nlocal storage type (e.g.: local-ssd).\nNote that for nodeTemplates, this should be the name of the disk type and\nnot its URL.", +"type": "string" +} +}, +"type": "object" +}, +"LocalizedMessage": { +"description": "Provides a localized error message that is safe to return to the user\nwhich can be attached to an RPC error.", +"id": "LocalizedMessage", +"properties": { +"locale": { +"description": "The locale used following the specification defined at\nhttps://www.rfc-editor.org/rfc/bcp/bcp47.txt.\nExamples are: \"en-US\", \"fr-CH\", \"es-MX\"", +"type": "string" +}, +"message": { +"description": "The localized error message in the above locale.", +"type": "string" +} +}, +"type": "object" +}, +"LocationPolicy": { +"description": "Configuration for location policy among multiple possible locations\n(e.g. preferences for zone selection among zones in a single region).", +"id": "LocationPolicy", +"properties": { +"locations": { +"additionalProperties": { +"$ref": "LocationPolicyLocation" +}, +"description": "Location configurations mapped by location name.\nCurrently only zone names are supported and must be represented as valid\ninternal URLs, such as zones/us-central1-a.\nThe bulkInsert operation doesn't create instances in an AI zone, even if\nan AI zone is available in the specified region. For example, if you set a\nDENY preference for us-central1-a, Compute Engine will consider\nus-central1-b and us-central1-c for instance creation, but not\nus-central1-ai1a. Also, you can't use the locations[] configuration to\nallow instance creation in an AI zone. To include an AI zone in bulkInsert\noperations, use the locationPolicy.zones[] field.", +"type": "object" +}, +"targetShape": { +"description": "Strategy for distributing VMs across zones in a region.", +"enum": [ +"ANY", +"ANY_SINGLE_ZONE", +"BALANCED" +], +"enumDescriptions": [ +"GCE picks zones for creating VM instances to fulfill the requested\nnumber of VMs within present resource constraints and to maximize\nutilization of unused zonal reservations. Recommended for batch workloads\nthat do not require high availability.", +"GCE always selects a single zone for all the VMs, optimizing for resource\nquotas, available reservations and general capacity. Recommended for\nbatch workloads that cannot tollerate distribution over multiple zones.\nThis the default shape in Bulk Insert and Capacity Advisor APIs.", +"GCE prioritizes acquisition of resources, scheduling VMs in zones\nwhere resources are available while distributing VMs as evenly as\npossible across allowed zones to minimize the impact of zonal failure.\nRecommended for highly available serving workloads." +], +"type": "string" +}, +"zones": { +"description": "The bulkInsert operation applies any preferences set in the locations\nfield to the specific zones listed in the zones field if the same zones\nare specified in both fields.", +"items": { +"$ref": "LocationPolicyZoneConfiguration" +}, +"type": "array" +} +}, +"type": "object" +}, +"LocationPolicyLocation": { +"id": "LocationPolicyLocation", +"properties": { +"constraints": { +"$ref": "LocationPolicyLocationConstraints", +"description": "Constraints that the caller requires on the result distribution\nin this zone." +}, +"preference": { +"description": "Preference for a given location. Set to either ALLOW orDENY.", +"enum": [ +"ALLOW", +"DENY", +"PREFERENCE_UNSPECIFIED" +], +"enumDescriptions": [ +"Location is allowed for use.", +"Location is prohibited.", +"Default value, unused." +], +"type": "string" +} +}, +"type": "object" +}, +"LocationPolicyLocationConstraints": { +"description": "Per-zone constraints on location policy for this zone.", +"id": "LocationPolicyLocationConstraints", +"properties": { +"maxCount": { +"description": "Maximum number of items that are allowed to be placed in this zone.\nThe value must be non-negative.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"LocationPolicyZoneConfiguration": { +"id": "LocationPolicyZoneConfiguration", +"properties": { +"zone": { +"description": "The URL of the zone.\nThe zone must exist in the region where the request is called.\nZones must be represented as valid partial URLs,\nsuch as zones/us-central1-a.", +"type": "string" +} +}, +"type": "object" +}, +"MachineImage": { +"description": "Represents a machine image resource.\n\nA machine image is a Compute Engine resource that stores all the\nconfiguration, metadata, permissions, and data from one or more disks\nrequired to create a Virtual machine (VM) instance. For more information, seeMachine images.", +"id": "MachineImage", +"properties": { +"creationTimestamp": { +"description": "Output only. [Output Only] The creation timestamp for this machine image inRFC3339\ntext format.", +"readOnly": true, +"type": "string" +}, +"description": { +"description": "An optional description of this resource. Provide this property when you\ncreate the resource.", +"type": "string" +}, +"guestFlush": { +"description": "[Input Only] Whether to attempt an application consistent machine image by\ninforming the OS to prepare for the snapshot process.", +"type": "boolean" +}, +"id": { +"description": "Output only. [Output Only] A unique identifier for this machine image. The server\ndefines this identifier.", +"format": "uint64", +"readOnly": true, +"type": "string" +}, +"instanceProperties": { +"$ref": "InstanceProperties", +"description": "[Output Only] Properties of source instance" +}, +"kind": { +"default": "compute#machineImage", +"description": "Output only. [Output Only] The resource type, which is alwayscompute#machineImage for machine image.", +"readOnly": true, +"type": "string" +}, +"labelFingerprint": { +"description": "A fingerprint for the labels being applied to this machine image, which is\nessentially a hash of the labels set used for optimistic locking. The\nfingerprint is initially generated by Compute Engine and changes after\nevery request to modify or update labels. You must always provide an\nup-to-date fingerprint hash in order to update or change labels.\n\nTo see the latest fingerprint, make get() request to the\nmachine image.", +"format": "byte", +"type": "string" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Labels to apply to this machine image. These can be later modified by\nthe setLabels method.", +"type": "object" +}, +"machineImageEncryptionKey": { +"$ref": "CustomerEncryptionKey", +"description": "Encrypts the machine image using acustomer-supplied\nencryption key.\n\nAfter you encrypt a machine image using a customer-supplied key, you must\nprovide the same key if you use the machine image later. For example, you\nmust provide the encryption key when you create an instance from the\nencrypted machine image in a future request.\n\nCustomer-supplied encryption keys do not protect access to metadata of the\nmachine image.\n\nIf you do not provide an encryption key when creating the machine image,\nthen the machine image will be encrypted using an automatically generated\nkey and you do not need to provide a key to use the machine image later." +}, +"name": { +"annotations": { +"required": [ +"compute.machineImages.insert" +] +}, +"description": "Name of the resource; provided by the client when the resource is created.\nThe name must be 1-63 characters long, and comply withRFC1035.\nSpecifically, the name must be 1-63 characters long and match the regular\nexpression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first\ncharacter must be a lowercase letter, and all following characters must be\na dash, lowercase letter, or digit, except the last character, which cannot\nbe a dash.", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"type": "string" +}, +"params": { +"$ref": "MachineImageParams", +"description": "Input only. [Input Only] Additional parameters that are passed in the request, but are\nnot persisted in the resource." +}, +"satisfiesPzi": { +"description": "Output only. Reserved for future use.", +"readOnly": true, +"type": "boolean" +}, +"satisfiesPzs": { +"description": "Output only. [Output Only] Reserved for future use.", +"readOnly": true, +"type": "boolean" +}, +"savedDisks": { +"description": "Output only. An array of Machine Image specific properties for disks attached to the\nsource instance", +"items": { +"$ref": "SavedDisk" +}, +"readOnly": true, +"type": "array" +}, +"selfLink": { +"description": "Output only. [Output Only] The URL for this machine image. The server defines this URL.", +"readOnly": true, +"type": "string" +}, +"sourceDiskEncryptionKeys": { +"description": "[Input Only] Thecustomer-supplied\nencryption key of the disks attached to the source instance. Required\nif the source disk is protected by a customer-supplied encryption key.", +"items": { +"$ref": "SourceDiskEncryptionKey" +}, +"type": "array" +}, +"sourceInstance": { +"description": "The source instance used to create the machine image. You can provide this\nas a partial or full URL to the resource. For example, the following are\nvalid values: \n \n \n - https://www.googleapis.com/compute/v1/projects/project/zones/zone/instances/instance \n - projects/project/zones/zone/instances/instance", +"type": "string" +}, +"sourceInstanceProperties": { +"$ref": "SourceInstanceProperties", +"description": "Output only. [Output Only] DEPRECATED: Please use instance_properties\ninstead for source instance related properties. New properties will not be\nadded to this field.", +"readOnly": true +}, +"status": { +"description": "Output only. [Output Only] The status of the machine image. One of the following values:INVALID, CREATING, READY,DELETING, and UPLOADING.", +"enum": [ +"CREATING", +"DELETING", +"INVALID", +"READY", +"UPLOADING" +], +"enumDescriptions": [ +"", +"", +"", +"", +"" +], +"readOnly": true, +"type": "string" +}, +"storageLocations": { +"description": "The regional or multi-regional Cloud Storage bucket location where themachine image is\nstored.", +"items": { +"type": "string" +}, +"type": "array" +}, +"totalStorageBytes": { +"description": "Output only. [Output Only] Total size of the storage used by the machine image.", +"format": "int64", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"MachineImageList": { +"description": "A list of machine images.", +"id": "MachineImageList", +"properties": { +"id": { +"description": "[Output Only] Unique identifier for the resource; defined by the server.", +"type": "string" +}, +"items": { +"description": "A list of MachineImage resources.", +"items": { +"$ref": "MachineImage" +}, +"type": "array" +}, +"kind": { +"default": "compute#machineImageList", +"description": "Output only. [Output Only] The resource type, which is alwayscompute#machineImagesListResponse for machine image lists.", +"readOnly": true, +"type": "string" +}, +"nextPageToken": { +"description": "[Output Only] This token allows you to get the next page of results for\nlist requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for\nthe query parameter pageToken in the next list request.\nSubsequent list requests will have their own nextPageToken to\ncontinue paging through the results.", +"type": "string" +}, +"selfLink": { +"description": "Output only. [Output Only] Server-defined URL for this resource.", +"readOnly": true, +"type": "string" +}, +"warning": { +"description": "[Output Only] Informational warning message.", +"properties": { +"code": { +"description": "[Output Only] A warning code, if applicable. For example, Compute\nEngine returns NO_RESULTS_ON_PAGE if there\nare no results in the response.", +"enum": [ +"CLEANUP_FAILED", +"DEPRECATED_RESOURCE_USED", +"DEPRECATED_TYPE_USED", +"DISK_SIZE_LARGER_THAN_IMAGE_SIZE", +"EXPERIMENTAL_TYPE_USED", +"EXTERNAL_API_WARNING", +"FIELD_VALUE_OVERRIDEN", +"INJECTED_KERNELS_DEPRECATED", +"INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", +"LARGE_DEPLOYMENT_WARNING", +"LIST_OVERHEAD_QUOTA_EXCEED", +"MISSING_TYPE_DEPENDENCY", +"NEXT_HOP_ADDRESS_NOT_ASSIGNED", +"NEXT_HOP_CANNOT_IP_FORWARD", +"NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", +"NEXT_HOP_INSTANCE_NOT_FOUND", +"NEXT_HOP_INSTANCE_NOT_ON_NETWORK", +"NEXT_HOP_NOT_RUNNING", +"NOT_CRITICAL_ERROR", +"NO_RESULTS_ON_PAGE", +"PARTIAL_SUCCESS", +"QUOTA_INFO_UNAVAILABLE", +"REQUIRED_TOS_AGREEMENT", +"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", +"RESOURCE_NOT_DELETED", +"SCHEMA_VALIDATION_IGNORED", +"SINGLE_INSTANCE_PROPERTY_TEMPLATE", +"UNDECLARED_PROPERTIES", +"UNREACHABLE" +], +"enumDeprecated": [ +false, +false, +false, +false, +false, +false, +true, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false +], +"enumDescriptions": [ +"Warning about failed cleanup of transient changes made by a failed\noperation.", +"A link to a deprecated resource was created.", +"When deploying and at least one of the resources has a type marked as\ndeprecated", +"The user created a boot disk that is larger than image size.", +"When deploying and at least one of the resources has a type marked as\nexperimental", +"Warning that is present in an external api call", +"Warning that value of a field has been overridden.\nDeprecated unused field.", +"The operation involved use of an injected kernel, which is deprecated.", +"A WEIGHTED_MAGLEV backend service is associated with a health check that is\nnot of type HTTP/HTTPS/HTTP2.", +"When deploying a deployment with a exceedingly large number of resources", +"Resource can't be retrieved due to list overhead quota exceed\nwhich captures the amount of resources filtered out by\nuser-defined list filter.", +"A resource depends on a missing type", +"The route's nextHopIp address is not assigned to an instance on the\nnetwork.", +"The route's next hop instance cannot ip forward.", +"The route's nextHopInstance URL refers to an instance that does not have an\nipv6 interface on the same network as the route.", +"The route's nextHopInstance URL refers to an instance that does not exist.", +"The route's nextHopInstance URL refers to an instance that is not on the\nsame network as the route.", +"The route's next hop instance does not have a status of RUNNING.", +"Error which is not critical. We decided to continue the process despite\nthe mentioned error.", +"No results are present on a particular list page.", +"Success is reported, but some results may be missing due to errors", +"Quota information is not available to client requests (e.g:\nregions.list).", +"The user attempted to use a resource that requires a TOS they have not\naccepted.", +"Warning that a resource is in use.", +"One or more of the resources set to auto-delete could not be deleted\nbecause they were in use.", +"When a resource schema validation is ignored.", +"Instance template used in instance group manager is valid as such, but\nits application does not make a lot of sense, because it allows only\nsingle instance in instance group.", +"When undeclared properties in the schema are present", +"A given scope cannot be reached." +], +"type": "string" +}, +"data": { +"description": "[Output Only] Metadata about this warning in key:\nvalue format. For example:\n\n\"data\": [\n {\n \"key\": \"scope\",\n \"value\": \"zones/us-east1-d\"\n }", +"items": { +"properties": { +"key": { +"description": "[Output Only] A key that provides more detail on the warning being\nreturned. For example, for warnings where there are no results in a list\nrequest for a particular zone, this key might be scope and\nthe key value might be the zone name. Other examples might be a key\nindicating a deprecated resource and a suggested replacement, or a\nwarning about invalid network settings (for example, if an instance\nattempts to perform IP forwarding but is not enabled for IP forwarding).", +"type": "string" +}, +"value": { +"description": "[Output Only] A warning data value corresponding to the key.", +"type": "string" +} +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "[Output Only] A human-readable description of the warning code.", +"type": "string" +} +}, +"type": "object" +} +}, +"type": "object" +}, +"MachineImageParams": { +"description": "Machine Image parameters", +"id": "MachineImageParams", +"properties": { +"resourceManagerTags": { +"additionalProperties": { +"type": "string" +}, +"description": "Input only. Resource manager tags to be bound to the machine image. Tag keys and values\nhave the same definition as resource\nmanager tags. Keys and values can be either in numeric format,\nsuch as `tagKeys/{tag_key_id}` and `tagValues/{tag_value_id}` or in\nnamespaced format such as `{org_id|project_id}/{tag_key_short_name}` and\n`{tag_value_short_name}`. The field is ignored (both PUT &\nPATCH) when empty.", +"type": "object" +} +}, +"type": "object" +}, +"MachineType": { +"description": "Represents a Machine Type resource.\n\nYou can use specific machine types for your VM instances based on performance\nand pricing requirements. For more information, readMachine Types.", +"id": "MachineType", +"properties": { +"accelerators": { +"description": "[Output Only] A list of accelerator configurations assigned to this\nmachine type.", +"items": { +"properties": { +"guestAcceleratorCount": { +"description": "Number of accelerator cards exposed to the guest.", +"format": "int32", +"type": "integer" +}, +"guestAcceleratorType": { +"description": "The accelerator type resource name, not a full URL, e.g.nvidia-tesla-t4.", +"type": "string" +} +}, +"type": "object" +}, +"type": "array" +}, +"architecture": { +"description": "[Output Only] The architecture of the machine type.", +"enum": [ +"ARCHITECTURE_UNSPECIFIED", +"ARM64", +"X86_64" +], +"enumDescriptions": [ +"Default value indicating Architecture is not set.", +"Machines with architecture ARM64", +"Machines with architecture X86_64" +], +"type": "string" +}, +"bundledLocalSsds": { +"$ref": "BundledLocalSsds", +"description": "[Output Only] The configuration of bundled local SSD for the machine type." +}, +"creationTimestamp": { +"description": "[Output Only] Creation timestamp inRFC3339\ntext format.", +"type": "string" +}, +"deprecated": { +"$ref": "DeprecationStatus", +"description": "[Output Only] The deprecation status associated with this machine type.\nOnly applicable if the machine type is unavailable." +}, +"description": { +"description": "[Output Only] An optional textual description of the resource.", +"type": "string" +}, +"guestCpus": { +"description": "[Output Only] The number of virtual CPUs that are available to the\ninstance.", +"format": "int32", +"type": "integer" +}, +"id": { +"description": "[Output Only] The unique identifier for the resource. This identifier is\ndefined by the server.", +"format": "uint64", +"type": "string" +}, +"isSharedCpu": { +"description": "[Output Only] Whether this machine type has a shared CPU. SeeShared-core machine\ntypes for more information.", +"type": "boolean" +}, +"kind": { +"default": "compute#machineType", +"description": "Output only. [Output Only] The type of the resource. Alwayscompute#machineType for machine types.", +"readOnly": true, +"type": "string" +}, +"maximumPersistentDisks": { +"description": "[Output Only] Maximum persistent disks allowed.", +"format": "int32", +"type": "integer" +}, +"maximumPersistentDisksSizeGb": { +"description": "[Output Only] Maximum total persistent disks size (GB) allowed.", +"format": "int64", +"type": "string" +}, +"memoryMb": { +"description": "[Output Only] The amount of physical memory available to the instance,\ndefined in MB.", +"format": "int32", +"type": "integer" +}, +"name": { +"description": "[Output Only] Name of the resource.", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"type": "string" +}, +"selfLink": { +"description": "[Output Only] Server-defined URL for the resource.", +"type": "string" +}, +"zone": { +"description": "[Output Only] The name of the zone where the machine type resides,\nsuch as us-central1-a.", +"type": "string" +} +}, +"type": "object" +}, +"MachineTypeAggregatedList": { +"id": "MachineTypeAggregatedList", +"properties": { +"id": { +"description": "[Output Only] Unique identifier for the resource; defined by the server.", +"type": "string" +}, +"items": { +"additionalProperties": { +"$ref": "MachineTypesScopedList", +"description": "[Output Only] Name of the scope containing this set of machine types." +}, +"description": "A list of MachineTypesScopedList resources.", +"type": "object" +}, +"kind": { +"default": "compute#machineTypeAggregatedList", +"description": "Output only. [Output Only] Type of resource. Alwayscompute#machineTypeAggregatedList for aggregated lists of\nmachine types.", +"readOnly": true, +"type": "string" +}, +"nextPageToken": { +"description": "[Output Only] This token allows you to get the next page of results for\nlist requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for\nthe query parameter pageToken in the next list request.\nSubsequent list requests will have their own nextPageToken to\ncontinue paging through the results.", +"type": "string" +}, +"selfLink": { +"description": "Output only. [Output Only] Server-defined URL for this resource.", +"readOnly": true, +"type": "string" +}, +"unreachables": { +"description": "Output only. [Output Only] Unreachable resources.", +"items": { +"type": "string" +}, +"readOnly": true, +"type": "array" +}, +"warning": { +"description": "[Output Only] Informational warning message.", +"properties": { +"code": { +"description": "[Output Only] A warning code, if applicable. For example, Compute\nEngine returns NO_RESULTS_ON_PAGE if there\nare no results in the response.", +"enum": [ +"CLEANUP_FAILED", +"DEPRECATED_RESOURCE_USED", +"DEPRECATED_TYPE_USED", +"DISK_SIZE_LARGER_THAN_IMAGE_SIZE", +"EXPERIMENTAL_TYPE_USED", +"EXTERNAL_API_WARNING", +"FIELD_VALUE_OVERRIDEN", +"INJECTED_KERNELS_DEPRECATED", +"INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", +"LARGE_DEPLOYMENT_WARNING", +"LIST_OVERHEAD_QUOTA_EXCEED", +"MISSING_TYPE_DEPENDENCY", +"NEXT_HOP_ADDRESS_NOT_ASSIGNED", +"NEXT_HOP_CANNOT_IP_FORWARD", +"NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", +"NEXT_HOP_INSTANCE_NOT_FOUND", +"NEXT_HOP_INSTANCE_NOT_ON_NETWORK", +"NEXT_HOP_NOT_RUNNING", +"NOT_CRITICAL_ERROR", +"NO_RESULTS_ON_PAGE", +"PARTIAL_SUCCESS", +"QUOTA_INFO_UNAVAILABLE", +"REQUIRED_TOS_AGREEMENT", +"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", +"RESOURCE_NOT_DELETED", +"SCHEMA_VALIDATION_IGNORED", +"SINGLE_INSTANCE_PROPERTY_TEMPLATE", +"UNDECLARED_PROPERTIES", +"UNREACHABLE" +], +"enumDeprecated": [ +false, +false, +false, +false, +false, +false, +true, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false +], +"enumDescriptions": [ +"Warning about failed cleanup of transient changes made by a failed\noperation.", +"A link to a deprecated resource was created.", +"When deploying and at least one of the resources has a type marked as\ndeprecated", +"The user created a boot disk that is larger than image size.", +"When deploying and at least one of the resources has a type marked as\nexperimental", +"Warning that is present in an external api call", +"Warning that value of a field has been overridden.\nDeprecated unused field.", +"The operation involved use of an injected kernel, which is deprecated.", +"A WEIGHTED_MAGLEV backend service is associated with a health check that is\nnot of type HTTP/HTTPS/HTTP2.", +"When deploying a deployment with a exceedingly large number of resources", +"Resource can't be retrieved due to list overhead quota exceed\nwhich captures the amount of resources filtered out by\nuser-defined list filter.", +"A resource depends on a missing type", +"The route's nextHopIp address is not assigned to an instance on the\nnetwork.", +"The route's next hop instance cannot ip forward.", +"The route's nextHopInstance URL refers to an instance that does not have an\nipv6 interface on the same network as the route.", +"The route's nextHopInstance URL refers to an instance that does not exist.", +"The route's nextHopInstance URL refers to an instance that is not on the\nsame network as the route.", +"The route's next hop instance does not have a status of RUNNING.", +"Error which is not critical. We decided to continue the process despite\nthe mentioned error.", +"No results are present on a particular list page.", +"Success is reported, but some results may be missing due to errors", +"Quota information is not available to client requests (e.g:\nregions.list).", +"The user attempted to use a resource that requires a TOS they have not\naccepted.", +"Warning that a resource is in use.", +"One or more of the resources set to auto-delete could not be deleted\nbecause they were in use.", +"When a resource schema validation is ignored.", +"Instance template used in instance group manager is valid as such, but\nits application does not make a lot of sense, because it allows only\nsingle instance in instance group.", +"When undeclared properties in the schema are present", +"A given scope cannot be reached." +], +"type": "string" +}, +"data": { +"description": "[Output Only] Metadata about this warning in key:\nvalue format. For example:\n\n\"data\": [\n {\n \"key\": \"scope\",\n \"value\": \"zones/us-east1-d\"\n }", +"items": { +"properties": { +"key": { +"description": "[Output Only] A key that provides more detail on the warning being\nreturned. For example, for warnings where there are no results in a list\nrequest for a particular zone, this key might be scope and\nthe key value might be the zone name. Other examples might be a key\nindicating a deprecated resource and a suggested replacement, or a\nwarning about invalid network settings (for example, if an instance\nattempts to perform IP forwarding but is not enabled for IP forwarding).", +"type": "string" +}, +"value": { +"description": "[Output Only] A warning data value corresponding to the key.", +"type": "string" +} +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "[Output Only] A human-readable description of the warning code.", +"type": "string" +} +}, +"type": "object" +} +}, +"type": "object" +}, +"MachineTypeList": { +"description": "Contains a list of machine types.", +"id": "MachineTypeList", +"properties": { +"id": { +"description": "[Output Only] Unique identifier for the resource; defined by the server.", +"type": "string" +}, +"items": { +"description": "A list of MachineType resources.", +"items": { +"$ref": "MachineType" +}, +"type": "array" +}, +"kind": { +"default": "compute#machineTypeList", +"description": "Output only. [Output Only] Type of resource. Always compute#machineTypeList\nfor lists of machine types.", +"readOnly": true, +"type": "string" +}, +"nextPageToken": { +"description": "[Output Only] This token allows you to get the next page of results for\nlist requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for\nthe query parameter pageToken in the next list request.\nSubsequent list requests will have their own nextPageToken to\ncontinue paging through the results.", +"type": "string" +}, +"selfLink": { +"description": "Output only. [Output Only] Server-defined URL for this resource.", +"readOnly": true, +"type": "string" +}, +"warning": { +"description": "[Output Only] Informational warning message.", +"properties": { +"code": { +"description": "[Output Only] A warning code, if applicable. For example, Compute\nEngine returns NO_RESULTS_ON_PAGE if there\nare no results in the response.", +"enum": [ +"CLEANUP_FAILED", +"DEPRECATED_RESOURCE_USED", +"DEPRECATED_TYPE_USED", +"DISK_SIZE_LARGER_THAN_IMAGE_SIZE", +"EXPERIMENTAL_TYPE_USED", +"EXTERNAL_API_WARNING", +"FIELD_VALUE_OVERRIDEN", +"INJECTED_KERNELS_DEPRECATED", +"INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", +"LARGE_DEPLOYMENT_WARNING", +"LIST_OVERHEAD_QUOTA_EXCEED", +"MISSING_TYPE_DEPENDENCY", +"NEXT_HOP_ADDRESS_NOT_ASSIGNED", +"NEXT_HOP_CANNOT_IP_FORWARD", +"NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", +"NEXT_HOP_INSTANCE_NOT_FOUND", +"NEXT_HOP_INSTANCE_NOT_ON_NETWORK", +"NEXT_HOP_NOT_RUNNING", +"NOT_CRITICAL_ERROR", +"NO_RESULTS_ON_PAGE", +"PARTIAL_SUCCESS", +"QUOTA_INFO_UNAVAILABLE", +"REQUIRED_TOS_AGREEMENT", +"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", +"RESOURCE_NOT_DELETED", +"SCHEMA_VALIDATION_IGNORED", +"SINGLE_INSTANCE_PROPERTY_TEMPLATE", +"UNDECLARED_PROPERTIES", +"UNREACHABLE" +], +"enumDeprecated": [ +false, +false, +false, +false, +false, +false, +true, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false +], +"enumDescriptions": [ +"Warning about failed cleanup of transient changes made by a failed\noperation.", +"A link to a deprecated resource was created.", +"When deploying and at least one of the resources has a type marked as\ndeprecated", +"The user created a boot disk that is larger than image size.", +"When deploying and at least one of the resources has a type marked as\nexperimental", +"Warning that is present in an external api call", +"Warning that value of a field has been overridden.\nDeprecated unused field.", +"The operation involved use of an injected kernel, which is deprecated.", +"A WEIGHTED_MAGLEV backend service is associated with a health check that is\nnot of type HTTP/HTTPS/HTTP2.", +"When deploying a deployment with a exceedingly large number of resources", +"Resource can't be retrieved due to list overhead quota exceed\nwhich captures the amount of resources filtered out by\nuser-defined list filter.", +"A resource depends on a missing type", +"The route's nextHopIp address is not assigned to an instance on the\nnetwork.", +"The route's next hop instance cannot ip forward.", +"The route's nextHopInstance URL refers to an instance that does not have an\nipv6 interface on the same network as the route.", +"The route's nextHopInstance URL refers to an instance that does not exist.", +"The route's nextHopInstance URL refers to an instance that is not on the\nsame network as the route.", +"The route's next hop instance does not have a status of RUNNING.", +"Error which is not critical. We decided to continue the process despite\nthe mentioned error.", +"No results are present on a particular list page.", +"Success is reported, but some results may be missing due to errors", +"Quota information is not available to client requests (e.g:\nregions.list).", +"The user attempted to use a resource that requires a TOS they have not\naccepted.", +"Warning that a resource is in use.", +"One or more of the resources set to auto-delete could not be deleted\nbecause they were in use.", +"When a resource schema validation is ignored.", +"Instance template used in instance group manager is valid as such, but\nits application does not make a lot of sense, because it allows only\nsingle instance in instance group.", +"When undeclared properties in the schema are present", +"A given scope cannot be reached." +], +"type": "string" +}, +"data": { +"description": "[Output Only] Metadata about this warning in key:\nvalue format. For example:\n\n\"data\": [\n {\n \"key\": \"scope\",\n \"value\": \"zones/us-east1-d\"\n }", +"items": { +"properties": { +"key": { +"description": "[Output Only] A key that provides more detail on the warning being\nreturned. For example, for warnings where there are no results in a list\nrequest for a particular zone, this key might be scope and\nthe key value might be the zone name. Other examples might be a key\nindicating a deprecated resource and a suggested replacement, or a\nwarning about invalid network settings (for example, if an instance\nattempts to perform IP forwarding but is not enabled for IP forwarding).", +"type": "string" +}, +"value": { +"description": "[Output Only] A warning data value corresponding to the key.", +"type": "string" +} +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "[Output Only] A human-readable description of the warning code.", +"type": "string" +} +}, +"type": "object" +} +}, +"type": "object" +}, +"MachineTypesScopedList": { +"id": "MachineTypesScopedList", +"properties": { +"machineTypes": { +"description": "[Output Only] A list of machine types contained in this scope.", +"items": { +"$ref": "MachineType" +}, +"type": "array" +}, +"warning": { +"description": "[Output Only] An informational warning that appears when the machine types\nlist is empty.", +"properties": { +"code": { +"description": "[Output Only] A warning code, if applicable. For example, Compute\nEngine returns NO_RESULTS_ON_PAGE if there\nare no results in the response.", +"enum": [ +"CLEANUP_FAILED", +"DEPRECATED_RESOURCE_USED", +"DEPRECATED_TYPE_USED", +"DISK_SIZE_LARGER_THAN_IMAGE_SIZE", +"EXPERIMENTAL_TYPE_USED", +"EXTERNAL_API_WARNING", +"FIELD_VALUE_OVERRIDEN", +"INJECTED_KERNELS_DEPRECATED", +"INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", +"LARGE_DEPLOYMENT_WARNING", +"LIST_OVERHEAD_QUOTA_EXCEED", +"MISSING_TYPE_DEPENDENCY", +"NEXT_HOP_ADDRESS_NOT_ASSIGNED", +"NEXT_HOP_CANNOT_IP_FORWARD", +"NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", +"NEXT_HOP_INSTANCE_NOT_FOUND", +"NEXT_HOP_INSTANCE_NOT_ON_NETWORK", +"NEXT_HOP_NOT_RUNNING", +"NOT_CRITICAL_ERROR", +"NO_RESULTS_ON_PAGE", +"PARTIAL_SUCCESS", +"QUOTA_INFO_UNAVAILABLE", +"REQUIRED_TOS_AGREEMENT", +"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", +"RESOURCE_NOT_DELETED", +"SCHEMA_VALIDATION_IGNORED", +"SINGLE_INSTANCE_PROPERTY_TEMPLATE", +"UNDECLARED_PROPERTIES", +"UNREACHABLE" +], +"enumDeprecated": [ +false, +false, +false, +false, +false, +false, +true, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false +], +"enumDescriptions": [ +"Warning about failed cleanup of transient changes made by a failed\noperation.", +"A link to a deprecated resource was created.", +"When deploying and at least one of the resources has a type marked as\ndeprecated", +"The user created a boot disk that is larger than image size.", +"When deploying and at least one of the resources has a type marked as\nexperimental", +"Warning that is present in an external api call", +"Warning that value of a field has been overridden.\nDeprecated unused field.", +"The operation involved use of an injected kernel, which is deprecated.", +"A WEIGHTED_MAGLEV backend service is associated with a health check that is\nnot of type HTTP/HTTPS/HTTP2.", +"When deploying a deployment with a exceedingly large number of resources", +"Resource can't be retrieved due to list overhead quota exceed\nwhich captures the amount of resources filtered out by\nuser-defined list filter.", +"A resource depends on a missing type", +"The route's nextHopIp address is not assigned to an instance on the\nnetwork.", +"The route's next hop instance cannot ip forward.", +"The route's nextHopInstance URL refers to an instance that does not have an\nipv6 interface on the same network as the route.", +"The route's nextHopInstance URL refers to an instance that does not exist.", +"The route's nextHopInstance URL refers to an instance that is not on the\nsame network as the route.", +"The route's next hop instance does not have a status of RUNNING.", +"Error which is not critical. We decided to continue the process despite\nthe mentioned error.", +"No results are present on a particular list page.", +"Success is reported, but some results may be missing due to errors", +"Quota information is not available to client requests (e.g:\nregions.list).", +"The user attempted to use a resource that requires a TOS they have not\naccepted.", +"Warning that a resource is in use.", +"One or more of the resources set to auto-delete could not be deleted\nbecause they were in use.", +"When a resource schema validation is ignored.", +"Instance template used in instance group manager is valid as such, but\nits application does not make a lot of sense, because it allows only\nsingle instance in instance group.", +"When undeclared properties in the schema are present", +"A given scope cannot be reached." +], +"type": "string" +}, +"data": { +"description": "[Output Only] Metadata about this warning in key:\nvalue format. For example:\n\n\"data\": [\n {\n \"key\": \"scope\",\n \"value\": \"zones/us-east1-d\"\n }", +"items": { +"properties": { +"key": { +"description": "[Output Only] A key that provides more detail on the warning being\nreturned. For example, for warnings where there are no results in a list\nrequest for a particular zone, this key might be scope and\nthe key value might be the zone name. Other examples might be a key\nindicating a deprecated resource and a suggested replacement, or a\nwarning about invalid network settings (for example, if an instance\nattempts to perform IP forwarding but is not enabled for IP forwarding).", +"type": "string" +}, +"value": { +"description": "[Output Only] A warning data value corresponding to the key.", +"type": "string" +} +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "[Output Only] A human-readable description of the warning code.", +"type": "string" +} +}, +"type": "object" +} +}, +"type": "object" +}, +"ManagedInstance": { +"description": "A Managed Instance resource.", +"id": "ManagedInstance", +"properties": { +"allInstancesConfig": { +"$ref": "ManagedInstanceAllInstancesConfig", +"description": "Output only. [Output Only] Current all-instances configuration revision applied to this\ninstance.", +"readOnly": true +}, +"currentAction": { +"description": "Output only. [Output Only] The current action that the managed instance group has\nscheduled for the instance. Possible values:\n \n - NONE The instance is running, and the managed\n instance group does not have any scheduled actions for this instance.\n - CREATING The managed instance group is creating this\n instance. If the group fails to create this instance, it will try again\n until it is successful.\n - CREATING_WITHOUT_RETRIES The managed instance group\n is attempting to create this instance only once. If the group fails\n to create this instance, it does not try again and the group'stargetSize value is decreased instead.\n - RECREATING The managed instance group is recreating\n this instance.\n - DELETING The managed instance group is permanently\n deleting this instance.\n - ABANDONING The managed instance group is abandoning\n this instance. The instance will be removed from the instance group\n and from any target pools that are associated with this group.\n - RESTARTING The managed instance group is restarting\n the instance.\n - REFRESHING The managed instance group is applying\n configuration changes to the instance without stopping it. For example,\n the group can update the target pool list for an instance without\n stopping that instance.\n - VERIFYING The managed instance group has created the\n instance and it is in the process of being verified.", +"enum": [ +"ABANDONING", +"ADOPTING", +"CREATING", +"CREATING_WITHOUT_RETRIES", +"DELETING", +"NONE", +"RECREATING", +"REFRESHING", +"RESTARTING", +"RESUMING", +"STARTING", +"STOPPING", +"SUSPENDING", +"VERIFYING" +], +"enumDescriptions": [ +"The managed instance group is abandoning this instance. The instance\nwill be removed from the instance group and from any target pools that\nare associated with this group.", +"The managed instance group is adopting this instance.", +"The managed instance group is creating this instance. If the group\nfails to create this instance, it will try again until it is\nsuccessful.", +"The managed instance group is attempting to create this instance\nonly once. If the group fails to create this instance, it does\nnot try again and the group's targetSize value is\ndecreased.", +"The managed instance group is permanently deleting this instance.", +"The managed instance group has not scheduled any actions for this\ninstance.", +"The managed instance group is recreating this instance.", +"The managed instance group is applying configuration changes to the\ninstance without stopping it. For example, the group can update the\ntarget pool list for an instance without stopping that instance.", +"The managed instance group is restarting this instance.", +"The managed instance group is resuming this instance.", +"The managed instance group is starting this instance.", +"The managed instance group is stopping this instance.", +"The managed instance group is suspending this instance.", +"The managed instance group is verifying this already created instance.\nVerification happens every time the instance is (re)created or restarted\nand consists of:\n 1. Waiting until health check specified as part of this managed instance\n group's autohealing policy reports HEALTHY.\n Note: Applies only if autohealing policy has a health check specified\n 2. Waiting for addition verification steps performed as post-instance\n creation (subject to future extensions)." +], +"readOnly": true, +"type": "string" +}, +"id": { +"description": "Output only. [Output only] The unique identifier for this resource. This field is empty\nwhen instance does not exist.", +"format": "uint64", +"readOnly": true, +"type": "string" +}, +"instance": { +"description": "Output only. [Output Only] The URL of the instance. The URL can exist even if the\ninstance has not yet been created.", +"readOnly": true, +"type": "string" +}, +"instanceHealth": { +"description": "Output only. [Output Only] Health state of the instance per health-check.", +"items": { +"$ref": "ManagedInstanceInstanceHealth" +}, +"readOnly": true, +"type": "array" +}, +"instanceStatus": { +"description": "Output only. [Output Only] The status of the instance. This field is empty when\nthe instance does not exist.", +"enum": [ +"DEPROVISIONING", +"PENDING", +"PENDING_STOP", +"PROVISIONING", +"REPAIRING", +"RUNNING", +"STAGING", +"STOPPED", +"STOPPING", +"SUSPENDED", +"SUSPENDING", +"TERMINATED" +], +"enumDescriptions": [ +"The instance is halted and we are performing tear down tasks like network\ndeprogramming, releasing quota, IP, tearing down disks etc.", +"For Flex Start provisioning instance is waiting for available capacity\nfrom Dynamic Workload Scheduler (DWS).", +"The instance is gracefully shutting down.", +"Resources are being allocated for the instance.", +"The instance is in repair.", +"The instance is running.", +"All required resources have been allocated and the instance\nis being started.", +"The instance has stopped successfully.", +"The instance is currently stopping (either being deleted or killed).", +"The instance has suspended.", +"The instance is suspending.", +"The instance has stopped (either by explicit action or underlying\nfailure)." +], +"readOnly": true, +"type": "string" +}, +"lastAttempt": { +"$ref": "ManagedInstanceLastAttempt", +"description": "Output only. [Output Only] Information about the last attempt to create or delete\nthe instance.", +"readOnly": true +}, +"name": { +"description": "Output only. [Output Only] The name of the instance. The name always exists even if the\ninstance has not yet been created.", +"readOnly": true, +"type": "string" +}, +"preservedStateFromConfig": { +"$ref": "PreservedState", +"description": "Output only. [Output Only] Preserved state applied from per-instance config\nfor this instance.", +"readOnly": true +}, +"preservedStateFromPolicy": { +"$ref": "PreservedState", +"description": "Output only. [Output Only] Preserved state generated based on stateful policy\nfor this instance.", +"readOnly": true +}, +"propertiesFromFlexibilityPolicy": { +"$ref": "ManagedInstancePropertiesFromFlexibilityPolicy", +"description": "Output only. [Output Only] Instance properties selected for this instance resulting from\nInstanceFlexibilityPolicy.", +"readOnly": true +}, +"scheduling": { +"$ref": "ManagedInstanceScheduling", +"description": "Output only. [Output Only] Information about the termination timestamp of the instance,\nif applicable.", +"readOnly": true +}, +"targetStatus": { +"description": "Output only. [Output Only] The eventual status of the instance. The instance group\nmanager will not be identified as stable till each managed instance reaches\nits targetStatus.", +"enum": [ +"ABANDONED", +"DELETED", +"RUNNING", +"STOPPED", +"SUSPENDED" +], +"enumDescriptions": [ +"The managed instance will eventually be ABANDONED, i.e. dissociated\nfrom the managed instance group.", +"The managed instance will eventually be DELETED.", +"The managed instance will eventually reach status RUNNING.", +"The managed instance will eventually reach status TERMINATED.", +"The managed instance will eventually reach status SUSPENDED." +], +"readOnly": true, +"type": "string" +}, +"version": { +"$ref": "ManagedInstanceVersion", +"description": "Output only. [Output Only] Intended version of this instance.", +"readOnly": true +} +}, +"type": "object" +}, +"ManagedInstanceAllInstancesConfig": { +"id": "ManagedInstanceAllInstancesConfig", +"properties": { +"revision": { +"description": "Output only. [Output Only] Current all-instances configuration revision.\nThis value is in RFC3339 text format.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"ManagedInstanceInstanceHealth": { +"id": "ManagedInstanceInstanceHealth", +"properties": { +"detailedHealthState": { +"description": "Output only. [Output Only] The current detailed instance health state.", +"enum": [ +"DRAINING", +"HEALTHY", +"TIMEOUT", +"UNHEALTHY", +"UNKNOWN" +], +"enumDescriptions": [ +"The instance is being drained. The existing connections to the instance\nhave time to complete, but the new ones are being refused.", +"The instance is reachable i.e. a connection to the application health\nchecking endpoint can be established, and conforms to the requirements\ndefined by the health check.", +"The instance is unreachable i.e. a connection to the application health\nchecking endpoint cannot be established, or the server does not respond\nwithin the specified timeout.", +"The instance is reachable, but does not conform to the requirements\ndefined by the health check.", +"The health checking system is aware of the instance but its health is\nnot known at the moment." +], +"readOnly": true, +"type": "string" +}, +"healthCheck": { +"description": "Output only. [Output Only] The URL for the health check that verifies whether the\ninstance is healthy.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"ManagedInstanceLastAttempt": { +"id": "ManagedInstanceLastAttempt", +"properties": { +"errors": { +"description": "Output only. [Output Only] Encountered errors during the last attempt to create or\ndelete the instance.", +"properties": { +"errors": { +"description": "[Output Only] The array of errors encountered while processing this\noperation.", +"items": { +"properties": { +"code": { +"description": "[Output Only] The error type identifier for this error.", +"type": "string" +}, +"errorDetails": { +"description": "[Output Only] An optional list of messages that contain the error\ndetails. There is a set of defined message types to use for providing\ndetails.The syntax depends on the error code. For example,\nQuotaExceededInfo will have details when the error code is\nQUOTA_EXCEEDED.", +"items": { +"properties": { +"errorInfo": { +"$ref": "ErrorInfo" +}, +"help": { +"$ref": "Help" +}, +"localizedMessage": { +"$ref": "LocalizedMessage" +}, +"quotaInfo": { +"$ref": "QuotaExceededInfo" +} +}, +"type": "object" +}, +"type": "array" +}, +"location": { +"description": "[Output Only] Indicates the field in the request that caused the error.\nThis property is optional.", +"type": "string" +}, +"message": { +"description": "[Output Only] An optional, human-readable error message.", +"type": "string" +} +}, +"type": "object" +}, +"type": "array" +} +}, +"readOnly": true, +"type": "object" +} +}, +"type": "object" +}, +"ManagedInstancePropertiesFromFlexibilityPolicy": { +"id": "ManagedInstancePropertiesFromFlexibilityPolicy", +"properties": { +"disks": { +"description": "List of disks to be attached to the instance.", +"items": { +"$ref": "AttachedDisk" +}, +"type": "array" +}, +"machineType": { +"description": "Output only. The machine type to be used for this instance.", +"readOnly": true, +"type": "string" +}, +"minCpuPlatform": { +"description": "Name of the minimum CPU platform to be used by this instance.\ne.g. 'Intel Ice Lake'.", +"type": "string" +}, +"provisioningModel": { +"description": "Output only. The provisioning model to be used for this instance.", +"enum": [ +"FLEX_START", +"RESERVATION_BOUND", +"SPOT", +"STANDARD" +], +"enumDescriptions": [ +"Instance is provisioned using the Flex Start provisioning model and\nhas a limited runtime.", +"Bound to the lifecycle of the reservation in which it is provisioned.", +"Heavily discounted, no guaranteed runtime.", +"Standard provisioning with user controlled runtime, no discounts." +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"ManagedInstanceScheduling": { +"id": "ManagedInstanceScheduling", +"properties": { +"terminationTimestamp": { +"description": "Output only. [Output Only] The timestamp at which the managed instance will be\nterminated. This is in RFC3339 text format.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"ManagedInstanceVersion": { +"id": "ManagedInstanceVersion", +"properties": { +"instanceTemplate": { +"description": "Output only. [Output Only] The intended template of the instance. This field is empty\nwhen current_action is one of { DELETING, ABANDONING }.", +"readOnly": true, +"type": "string" +}, +"name": { +"description": "Output only. [Output Only] Name of the version.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"Metadata": { +"description": "A metadata key/value entry.", +"id": "Metadata", +"properties": { +"fingerprint": { +"description": "Specifies a fingerprint for this request, which is essentially a hash of\nthe metadata's contents and used for optimistic locking. The\nfingerprint is initially generated by Compute Engine and changes after\nevery request to modify or update metadata. You must always provide an\nup-to-date fingerprint hash in order to update or change metadata,\notherwise the request will fail with error412 conditionNotMet.\n\nTo see the latest fingerprint, make a get() request to\nretrieve the resource.", +"format": "byte", +"type": "string" +}, +"items": { +"description": "Array of key/value pairs. The total size of all keys and values must be\nless than 512 KB.", +"items": { +"description": "Metadata", +"properties": { +"key": { +"annotations": { +"required": [ +"compute.instances.insert", +"compute.projects.setCommonInstanceMetadata" +] +}, +"description": "Key for the metadata entry. Keys must conform to the following\nregexp: [a-zA-Z0-9-_]+, and be less than 128 bytes in length.\nThis is reflected as part of a URL in the metadata server. Additionally, to\navoid ambiguity, keys must not conflict with any other metadata keys\nfor the project.", +"pattern": "[a-zA-Z0-9-_]{1,128}", +"type": "string" +}, +"value": { +"annotations": { +"required": [ +"compute.instances.insert", +"compute.projects.setCommonInstanceMetadata" +] +}, +"description": "Value for the metadata entry. These are free-form strings, and only\nhave meaning as interpreted by the image running in the instance. The\nonly restriction placed on values is that their size must be less than\nor equal to 262144 bytes (256 KiB).", +"type": "string" +} +}, +"type": "object" +}, +"type": "array" +}, +"kind": { +"default": "compute#metadata", +"description": "Output only. [Output Only] Type of the resource. Always compute#metadata\nfor metadata.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"MetadataFilter": { +"description": "Opaque filter criteria used by load balancers to restrict routing\nconfiguration to a limited set of load balancing proxies. Proxies and\nsidecars involved in load balancing would typically present metadata to the\nload balancers that need to match criteria specified here. If a match takes\nplace, the relevant configuration is made available to those\nproxies.\n\nFor each metadataFilter in this list, if itsfilterMatchCriteria is set to MATCH_ANY, at least\none of thefilterLabels must match the corresponding label provided in\nthe metadata. If its filterMatchCriteria is set to\nMATCH_ALL, then all of its filterLabels must match with\ncorresponding labels provided in the metadata.\n\nAn example for using metadataFilters would be: if\nload balancing involves\nEnvoys, they receive routing configuration when values inmetadataFilters match values supplied in of their XDS requests to loadbalancers.", +"id": "MetadataFilter", +"properties": { +"filterLabels": { +"description": "The list of label value pairs that must match labels in the provided\nmetadata based on filterMatchCriteria\n\nThis list must not be empty and can have at the most 64 entries.", +"items": { +"$ref": "MetadataFilterLabelMatch" +}, +"type": "array" +}, +"filterMatchCriteria": { +"description": "Specifies how individual filter label matches\nwithin the list of filterLabels and contributes toward the\noverall metadataFilter match.\n\n Supported values are:\n \n - MATCH_ANY: at least one of the filterLabels\n must have a matching label in the provided metadata.\n - MATCH_ALL: all filterLabels must have\n matching labels in the provided metadata.", +"enum": [ +"MATCH_ALL", +"MATCH_ANY", +"NOT_SET" +], +"enumDescriptions": [ +"Specifies that all filterLabels must match for themetadataFilter to be considered a match.", +"Specifies that any filterLabel must match for themetadataFilter to be considered a match.", +"Indicates that the match criteria was not set. AmetadataFilter must never be created with this value." +], +"type": "string" +} +}, +"type": "object" +}, +"MetadataFilterLabelMatch": { +"description": "MetadataFilter label name value pairs that are expected\nto match corresponding labels presented as metadata to the load balancer.", +"id": "MetadataFilterLabelMatch", +"properties": { +"name": { +"description": "Name of metadata label.\n\n The name can have a maximum length of 1024 characters and must be at\nleast 1 character long.", +"type": "string" +}, +"value": { +"description": "The value of the label must match the specified value.\n\nvalue can have a maximum length of 1024 characters.", +"type": "string" +} +}, +"type": "object" +}, +"MultiMig": { +"description": "Multi-MIG represents a group of managed instance groups.", +"id": "MultiMig", +"properties": { +"creationTimestamp": { +"description": "Output only. [Output only] The creation timestamp of this multi-MIG in RFC3339\ntext format.", +"readOnly": true, +"type": "string" +}, +"description": { +"description": "An optional description of this resource.", +"type": "string" +}, +"id": { +"description": "Output only. [Output only] The unique identifier for this resource type. The server\ngenerates this identifier.", +"format": "uint64", +"readOnly": true, +"type": "string" +}, +"kind": { +"default": "compute#multiMig", +"description": "Output only. [Output only] Type of the resource. Alwayscompute#multiMig for multi-MIGs.", +"readOnly": true, +"type": "string" +}, +"name": { +"description": "The name of the multi-MIG.\nThe name must be 1-63 characters long, and comply withRFC1035.\nSpecifically, the name must be 1-63 characters long and match the regular\nexpression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character\nmust be a lowercase letter, and all following characters must be a dash,\nlowercase letter, or digit, except the last character, which cannot be a\ndash.", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"type": "string" +}, +"region": { +"description": "Output only. [Output only] The URL of the region where the resource resides. You must\nspecify this field as part of the HTTP request URL. You cannot set the\nregion as a field in the request body.", +"readOnly": true, +"type": "string" +}, +"resourcePolicies": { +"$ref": "MultiMigResourcePolicies", +"description": "Resource policies for this multi-MIG." +}, +"selfLink": { +"description": "Output only. [Output only] Server-defined URL for the resource.", +"readOnly": true, +"type": "string" +}, +"status": { +"$ref": "MultiMigStatus", +"readOnly": true +} +}, +"type": "object" +}, +"MultiMigMember": { +"description": "Represents a Multi-MIG member resource.", +"id": "MultiMigMember", +"properties": { +"creationTimestamp": { +"description": "Output only. [Output Only] Creation timestamp of this multi-MIG member inRFC3339 text format.", +"readOnly": true, +"type": "string" +}, +"id": { +"description": "Output only. [Output only] The unique identifier for this resource type. The server\ngenerates this identifier.", +"format": "uint64", +"readOnly": true, +"type": "string" +}, +"kind": { +"default": "compute#multiMigMember", +"description": "Output only. Type of the resource. Alwayscompute#multiMigMember for a list of multi-MIG members.", +"readOnly": true, +"type": "string" +}, +"name": { +"description": "Output only. [Output Only] Server-defined name for the multi-MIG member.", +"readOnly": true, +"type": "string" +}, +"region": { +"description": "Output only. [Output Only] The URL of the region where the multi-MIG resides.", +"readOnly": true, +"type": "string" +}, +"selfLink": { +"description": "Output only. [Output Only] Server-defined fully-qualified URL for this resource.", +"readOnly": true, +"type": "string" +}, +"status": { +"$ref": "MultiMigMemberStatus", +"description": "Output only. [Output Only] The status of this multi-MIG member", +"readOnly": true +} +}, +"type": "object" +}, +"MultiMigMemberList": { +"id": "MultiMigMemberList", +"properties": { +"id": { +"description": "Unique identifier for the resource; defined by the server.", +"type": "string" +}, +"items": { +"description": "A list of multi-MIG member resources.", +"items": { +"$ref": "MultiMigMember" +}, +"type": "array" +}, +"kind": { +"default": "compute#multiMigMemberList", +"description": "Output only. Type of the resource. Alwayscompute#multiMigMember for a list of multi-MIG members.", +"readOnly": true, +"type": "string" +}, +"nextPageToken": { +"description": "This token allows you to get the next page of results for\nlist requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for\nthe query parameter pageToken in the next list request.\nSubsequent list requests will have their own nextPageToken to\ncontinue paging through the results.", +"type": "string" +}, +"selfLink": { +"description": "Output only. [Output only] Server-defined URL for this resource.", +"readOnly": true, +"type": "string" +}, +"warning": { +"description": "Informational warning message.", +"properties": { +"code": { +"description": "[Output Only] A warning code, if applicable. For example, Compute\nEngine returns NO_RESULTS_ON_PAGE if there\nare no results in the response.", +"enum": [ +"CLEANUP_FAILED", +"DEPRECATED_RESOURCE_USED", +"DEPRECATED_TYPE_USED", +"DISK_SIZE_LARGER_THAN_IMAGE_SIZE", +"EXPERIMENTAL_TYPE_USED", +"EXTERNAL_API_WARNING", +"FIELD_VALUE_OVERRIDEN", +"INJECTED_KERNELS_DEPRECATED", +"INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", +"LARGE_DEPLOYMENT_WARNING", +"LIST_OVERHEAD_QUOTA_EXCEED", +"MISSING_TYPE_DEPENDENCY", +"NEXT_HOP_ADDRESS_NOT_ASSIGNED", +"NEXT_HOP_CANNOT_IP_FORWARD", +"NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", +"NEXT_HOP_INSTANCE_NOT_FOUND", +"NEXT_HOP_INSTANCE_NOT_ON_NETWORK", +"NEXT_HOP_NOT_RUNNING", +"NOT_CRITICAL_ERROR", +"NO_RESULTS_ON_PAGE", +"PARTIAL_SUCCESS", +"QUOTA_INFO_UNAVAILABLE", +"REQUIRED_TOS_AGREEMENT", +"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", +"RESOURCE_NOT_DELETED", +"SCHEMA_VALIDATION_IGNORED", +"SINGLE_INSTANCE_PROPERTY_TEMPLATE", +"UNDECLARED_PROPERTIES", +"UNREACHABLE" +], +"enumDeprecated": [ +false, +false, +false, +false, +false, +false, +true, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false +], +"enumDescriptions": [ +"Warning about failed cleanup of transient changes made by a failed\noperation.", +"A link to a deprecated resource was created.", +"When deploying and at least one of the resources has a type marked as\ndeprecated", +"The user created a boot disk that is larger than image size.", +"When deploying and at least one of the resources has a type marked as\nexperimental", +"Warning that is present in an external api call", +"Warning that value of a field has been overridden.\nDeprecated unused field.", +"The operation involved use of an injected kernel, which is deprecated.", +"A WEIGHTED_MAGLEV backend service is associated with a health check that is\nnot of type HTTP/HTTPS/HTTP2.", +"When deploying a deployment with a exceedingly large number of resources", +"Resource can't be retrieved due to list overhead quota exceed\nwhich captures the amount of resources filtered out by\nuser-defined list filter.", +"A resource depends on a missing type", +"The route's nextHopIp address is not assigned to an instance on the\nnetwork.", +"The route's next hop instance cannot ip forward.", +"The route's nextHopInstance URL refers to an instance that does not have an\nipv6 interface on the same network as the route.", +"The route's nextHopInstance URL refers to an instance that does not exist.", +"The route's nextHopInstance URL refers to an instance that is not on the\nsame network as the route.", +"The route's next hop instance does not have a status of RUNNING.", +"Error which is not critical. We decided to continue the process despite\nthe mentioned error.", +"No results are present on a particular list page.", +"Success is reported, but some results may be missing due to errors", +"Quota information is not available to client requests (e.g:\nregions.list).", +"The user attempted to use a resource that requires a TOS they have not\naccepted.", +"Warning that a resource is in use.", +"One or more of the resources set to auto-delete could not be deleted\nbecause they were in use.", +"When a resource schema validation is ignored.", +"Instance template used in instance group manager is valid as such, but\nits application does not make a lot of sense, because it allows only\nsingle instance in instance group.", +"When undeclared properties in the schema are present", +"A given scope cannot be reached." +], +"type": "string" +}, +"data": { +"description": "[Output Only] Metadata about this warning in key:\nvalue format. For example:\n\n\"data\": [\n {\n \"key\": \"scope\",\n \"value\": \"zones/us-east1-d\"\n }", +"items": { +"properties": { +"key": { +"description": "[Output Only] A key that provides more detail on the warning being\nreturned. For example, for warnings where there are no results in a list\nrequest for a particular zone, this key might be scope and\nthe key value might be the zone name. Other examples might be a key\nindicating a deprecated resource and a suggested replacement, or a\nwarning about invalid network settings (for example, if an instance\nattempts to perform IP forwarding but is not enabled for IP forwarding).", +"type": "string" +}, +"value": { +"description": "[Output Only] A warning data value corresponding to the key.", +"type": "string" +} +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "[Output Only] A human-readable description of the warning code.", +"type": "string" +} +}, +"type": "object" +} +}, +"type": "object" +}, +"MultiMigMemberStatus": { +"id": "MultiMigMemberStatus", +"properties": { +"instanceGroupManager": { +"description": "[Output Only] URL of member instance group manager", +"type": "string" +} +}, +"type": "object" +}, +"MultiMigResourcePolicies": { +"description": "Resource policies message for a multi-MIG. Specifies the workload policy\nconfiguration of the multi-MIG.", +"id": "MultiMigResourcePolicies", +"properties": { +"workloadPolicy": { +"description": "The URL of the workload policy for this multi-MIG.\nIt can be a full or partial URL. For example, the following are\nall valid URLs to a workload policy: \n \n \n - https://www.googleapis.com/compute/v1/projects/project/regions/region/resourcePolicies/resourcePolicy\n - projects/project/regions/region/resourcePolicies/resourcePolicy\n - regions/region/resourcePolicies/resourcePolicy", +"type": "string" +} +}, +"type": "object" +}, +"MultiMigStatus": { +"id": "MultiMigStatus", +"properties": { +"appliedAcceleratorTopologies": { +"description": "Output only. [Output Only] The accelerator topology applied to this multi-MIG.\nCurrently only one accelerator topology is supported.", +"items": { +"$ref": "MultiMigStatusAcceleratorTopology" +}, +"readOnly": true, +"type": "array" +}, +"membersCount": { +"description": "Output only. [Output Only] The number of instance group manager members in this\nmulti-MIG.", +"format": "int32", +"readOnly": true, +"type": "integer" +} +}, +"type": "object" +}, +"MultiMigStatusAcceleratorTopology": { +"id": "MultiMigStatusAcceleratorTopology", +"properties": { +"acceleratorTopology": { +"description": "Output only. [Output Only] Topology in the format of: \"16x16\", \"4x4x4\", etc.\nThe value is the same as configured in the WorkloadPolicy.", +"readOnly": true, +"type": "string" +}, +"acceleratorTopologyState": { +"description": "Output only. [Output Only] The state of the accelerator topology.", +"enum": [ +"ACTIVATING", +"ACTIVE", +"ACTIVE_DEGRADED", +"DEACTIVATING", +"FAILED", +"INCOMPLETE" +], +"enumDescriptions": [ +"The accelerator topology is being activated.", +"The accelerator topology is active.", +"The accelerator topology is active but operating in degraded mode.", +"The accelerator topology is being deactivated.", +"The accelerator topology failed.", +"The configuration is incomplete and the accelerator topology cannot\nbe activated due to insufficient number of running VMs." +], +"readOnly": true, +"type": "string" +}, +"acceleratorTopologyStateLastCheck": { +"$ref": "MultiMigStatusAcceleratorTopologyAcceleratorTopologyStateLastCheck", +"description": "Output only. [Output Only] The result of the latest accelerator topology state\ncheck.", +"readOnly": true +} +}, +"type": "object" +}, +"MultiMigStatusAcceleratorTopologyAcceleratorTopologyStateLastCheck": { +"id": "MultiMigStatusAcceleratorTopologyAcceleratorTopologyStateLastCheck", +"properties": { +"error": { +"description": "Output only. [Output Only] Encountered errors on the last state check.", +"properties": { +"errors": { +"description": "[Output Only] The array of errors encountered while processing this\noperation.", +"items": { +"properties": { +"code": { +"description": "[Output Only] The error type identifier for this error.", +"type": "string" +}, +"errorDetails": { +"description": "[Output Only] An optional list of messages that contain the error\ndetails. There is a set of defined message types to use for providing\ndetails.The syntax depends on the error code. For example,\nQuotaExceededInfo will have details when the error code is\nQUOTA_EXCEEDED.", +"items": { +"properties": { +"errorInfo": { +"$ref": "ErrorInfo" +}, +"help": { +"$ref": "Help" +}, +"localizedMessage": { +"$ref": "LocalizedMessage" +}, +"quotaInfo": { +"$ref": "QuotaExceededInfo" +} +}, +"type": "object" +}, +"type": "array" +}, +"location": { +"description": "[Output Only] Indicates the field in the request that caused the error.\nThis property is optional.", +"type": "string" +}, +"message": { +"description": "[Output Only] An optional, human-readable error message.", +"type": "string" +} +}, +"type": "object" +}, +"type": "array" +} +}, +"readOnly": true, +"type": "object" +}, +"timestamp": { +"description": "Output only. [Output Only] Timestamp is shown only if there is an error. The field\nhas // RFC3339 //\ntext format.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"MultiMigsList": { +"id": "MultiMigsList", +"properties": { +"id": { +"description": "Unique identifier for the resource; defined by the server.", +"type": "string" +}, +"items": { +"description": "A list of multi-MIGs in the specified project and region.", +"items": { +"$ref": "MultiMig" +}, +"type": "array" +}, +"kind": { +"default": "compute#multiMigList", +"description": "Output only. Type of resource.", +"readOnly": true, +"type": "string" +}, +"nextPageToken": { +"description": "This token allows you to get the next page of results formaxResults, use the nextPageToken as a value for\nthe query parameter pageToken in the next list request.\nSubsequent list requests will have their own nextPageToken to\ncontinue paging through the results.", +"type": "string" +}, +"selfLink": { +"description": "Output only. [Output only] Server-defined URL for this resource.", +"readOnly": true, +"type": "string" +}, +"warning": { +"description": "Informational warning message.", +"properties": { +"code": { +"description": "[Output Only] A warning code, if applicable. For example, Compute\nEngine returns NO_RESULTS_ON_PAGE if there\nare no results in the response.", +"enum": [ +"CLEANUP_FAILED", +"DEPRECATED_RESOURCE_USED", +"DEPRECATED_TYPE_USED", +"DISK_SIZE_LARGER_THAN_IMAGE_SIZE", +"EXPERIMENTAL_TYPE_USED", +"EXTERNAL_API_WARNING", +"FIELD_VALUE_OVERRIDEN", +"INJECTED_KERNELS_DEPRECATED", +"INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", +"LARGE_DEPLOYMENT_WARNING", +"LIST_OVERHEAD_QUOTA_EXCEED", +"MISSING_TYPE_DEPENDENCY", +"NEXT_HOP_ADDRESS_NOT_ASSIGNED", +"NEXT_HOP_CANNOT_IP_FORWARD", +"NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", +"NEXT_HOP_INSTANCE_NOT_FOUND", +"NEXT_HOP_INSTANCE_NOT_ON_NETWORK", +"NEXT_HOP_NOT_RUNNING", +"NOT_CRITICAL_ERROR", +"NO_RESULTS_ON_PAGE", +"PARTIAL_SUCCESS", +"QUOTA_INFO_UNAVAILABLE", +"REQUIRED_TOS_AGREEMENT", +"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", +"RESOURCE_NOT_DELETED", +"SCHEMA_VALIDATION_IGNORED", +"SINGLE_INSTANCE_PROPERTY_TEMPLATE", +"UNDECLARED_PROPERTIES", +"UNREACHABLE" +], +"enumDeprecated": [ +false, +false, +false, +false, +false, +false, +true, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false +], +"enumDescriptions": [ +"Warning about failed cleanup of transient changes made by a failed\noperation.", +"A link to a deprecated resource was created.", +"When deploying and at least one of the resources has a type marked as\ndeprecated", +"The user created a boot disk that is larger than image size.", +"When deploying and at least one of the resources has a type marked as\nexperimental", +"Warning that is present in an external api call", +"Warning that value of a field has been overridden.\nDeprecated unused field.", +"The operation involved use of an injected kernel, which is deprecated.", +"A WEIGHTED_MAGLEV backend service is associated with a health check that is\nnot of type HTTP/HTTPS/HTTP2.", +"When deploying a deployment with a exceedingly large number of resources", +"Resource can't be retrieved due to list overhead quota exceed\nwhich captures the amount of resources filtered out by\nuser-defined list filter.", +"A resource depends on a missing type", +"The route's nextHopIp address is not assigned to an instance on the\nnetwork.", +"The route's next hop instance cannot ip forward.", +"The route's nextHopInstance URL refers to an instance that does not have an\nipv6 interface on the same network as the route.", +"The route's nextHopInstance URL refers to an instance that does not exist.", +"The route's nextHopInstance URL refers to an instance that is not on the\nsame network as the route.", +"The route's next hop instance does not have a status of RUNNING.", +"Error which is not critical. We decided to continue the process despite\nthe mentioned error.", +"No results are present on a particular list page.", +"Success is reported, but some results may be missing due to errors", +"Quota information is not available to client requests (e.g:\nregions.list).", +"The user attempted to use a resource that requires a TOS they have not\naccepted.", +"Warning that a resource is in use.", +"One or more of the resources set to auto-delete could not be deleted\nbecause they were in use.", +"When a resource schema validation is ignored.", +"Instance template used in instance group manager is valid as such, but\nits application does not make a lot of sense, because it allows only\nsingle instance in instance group.", +"When undeclared properties in the schema are present", +"A given scope cannot be reached." +], +"type": "string" +}, +"data": { +"description": "[Output Only] Metadata about this warning in key:\nvalue format. For example:\n\n\"data\": [\n {\n \"key\": \"scope\",\n \"value\": \"zones/us-east1-d\"\n }", +"items": { +"properties": { +"key": { +"description": "[Output Only] A key that provides more detail on the warning being\nreturned. For example, for warnings where there are no results in a list\nrequest for a particular zone, this key might be scope and\nthe key value might be the zone name. Other examples might be a key\nindicating a deprecated resource and a suggested replacement, or a\nwarning about invalid network settings (for example, if an instance\nattempts to perform IP forwarding but is not enabled for IP forwarding).", +"type": "string" +}, +"value": { +"description": "[Output Only] A warning data value corresponding to the key.", +"type": "string" +} +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "[Output Only] A human-readable description of the warning code.", +"type": "string" +} +}, +"type": "object" +} +}, +"type": "object" +}, +"NamedPort": { +"description": "The named port. For example: <\"http\", 80>.", +"id": "NamedPort", +"properties": { +"name": { +"description": "The name for this named port.\nThe name must be 1-63 characters long, and comply withRFC1035.", +"type": "string" +}, +"port": { +"description": "The port number, which can be a value between 1 and 65535.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"NamedSet": { +"id": "NamedSet", +"properties": { +"description": { +"description": "An optional description of named set.", +"type": "string" +}, +"elements": { +"description": "CEL expressions that are comparable to constructs of this set's type\n(see Policy Language).", +"items": { +"$ref": "Expr" +}, +"type": "array" +}, +"fingerprint": { +"description": "A fingerprint for the Named Set being applied to this Router, which is\nessentially a hash of the Named Set used for optimistic locking.\nThe fingerprint is initially generated by Compute Engine and changes\nafter every request to modify or update the Named Set. You must always\nprovide an up-to-date fingerprint hash in order to update or change\nlabels.\n\nTo see the latest fingerprint, make a getNamedSet() request\nto retrieve a Named Set.", +"format": "byte", +"type": "string" +}, +"name": { +"description": "This set's name, which must be a resource ID segment and unique within all\nnamed sets owned by the Router. Name should conform to RFC1035.", +"type": "string" +}, +"type": { +"description": "This named set's type", +"enum": [ +"NAMED_SET_TYPE_COMMUNITY", +"NAMED_SET_TYPE_PREFIX" +], +"enumDescriptions": [ +"The Named Set is a Community Named Set.", +"The Named Set is a Prefix Named Set." +], +"type": "string" +} +}, +"type": "object" +}, +"NatIpInfo": { +"description": "Contains NAT IP information of a NAT config (i.e. usage status, mode).", +"id": "NatIpInfo", +"properties": { +"natIpInfoMappings": { +"description": "Output only. A list of all NAT IPs assigned to this NAT config.", +"items": { +"$ref": "NatIpInfoNatIpInfoMapping" +}, +"readOnly": true, +"type": "array" +}, +"natName": { +"description": "Output only. Name of the NAT config which the NAT IP belongs to.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"NatIpInfoNatIpInfoMapping": { +"description": "Contains information of a NAT IP.", +"id": "NatIpInfoNatIpInfoMapping", +"properties": { +"mode": { +"description": "Output only. Specifies whether NAT IP is auto or manual.", +"enum": [ +"AUTO", +"MANUAL" +], +"enumDescriptions": [ +"", +"" +], +"readOnly": true, +"type": "string" +}, +"natIp": { +"description": "Output only. NAT IP address. For example: 203.0.113.11.", +"readOnly": true, +"type": "string" +}, +"usage": { +"description": "Output only. Specifies whether NAT IP is currently serving at least one endpoint or\nnot.", +"enum": [ +"IN_USE", +"UNUSED" +], +"enumDescriptions": [ +"", +"" +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"NatIpInfoResponse": { +"id": "NatIpInfoResponse", +"properties": { +"result": { +"description": "[Output Only] A list of NAT IP information.", +"items": { +"$ref": "NatIpInfo" +}, +"type": "array" +} +}, +"type": "object" +}, +"Network": { +"description": "Represents a VPC Network resource.\n\nNetworks connect resources to each other and to the internet. For more\ninformation, readVirtual Private Cloud (VPC) Network.", +"id": "Network", +"properties": { +"IPv4Range": { +"deprecated": true, +"description": "Deprecated in favor of subnet mode networks.\nThe range of internal addresses that are legal on this network. This\nrange is aCIDR specification, for example:192.168.0.0/16. Provided by the client when the network is\ncreated.", +"pattern": "[0-9]{1,3}(?:\\.[0-9]{1,3}){3}/[0-9]{1,2}", +"type": "string" +}, +"autoCreateSubnetworks": { +"description": "Must be set to create a VPC network. If not set, a legacy network is\ncreated.\n\nWhen set to true, the VPC network is created in auto mode.\nWhen set to false, the VPC network is created in custom mode.\n\nAn auto mode VPC network starts with one subnet per region. Each subnet\nhas a predetermined range as described inAuto mode VPC network IP ranges.\n\nFor custom mode VPC networks, you can add subnets using the subnetworksinsert\nmethod.", +"type": "boolean" +}, +"creationTimestamp": { +"description": "Output only. [Output Only] Creation timestamp inRFC3339\ntext format.", +"readOnly": true, +"type": "string" +}, +"description": { +"description": "An optional description of this resource. Provide this field when you\ncreate the resource.", +"type": "string" +}, +"enableUlaInternalIpv6": { +"description": "Enable ULA internal ipv6 on this network. Enabling this feature will assign\na /48 from google defined ULA prefix fd20::/20.\n.", +"type": "boolean" +}, +"firewallPolicy": { +"description": "Output only. [Output Only] URL of the firewall policy the network is associated with.", +"readOnly": true, +"type": "string" +}, +"gatewayIPv4": { +"description": "[Output Only] The gateway address for default routing out of the network,\nselected by Google Cloud.", +"pattern": "[0-9]{1,3}(?:\\.[0-9]{1,3}){3}", +"type": "string" +}, +"id": { +"description": "Output only. [Output Only] The unique identifier for the resource. This identifier is\ndefined by the server.", +"format": "uint64", +"readOnly": true, +"type": "string" +}, +"internalIpv6Range": { +"description": "When enabling ula internal ipv6, caller optionally can specify the /48\nrange they want from the google defined ULA prefix fd20::/20. The input\nmust be a valid /48 ULA IPv6 address and must be within the fd20::/20.\nOperation will fail if the speficied /48 is already in used by another\nresource. If the field is not speficied, then a /48 range will be randomly\nallocated from fd20::/20 and returned via this field.\n.", +"type": "string" +}, +"kind": { +"default": "compute#network", +"description": "Output only. [Output Only] Type of the resource. Always compute#network for\nnetworks.", +"readOnly": true, +"type": "string" +}, +"mtu": { +"description": "Maximum Transmission Unit in bytes.\nThe minimum value for this field is 1300 and the maximum value is 8896.\nThe suggested value is 1500, which is the default MTU used on the\nInternet, or 8896 if you want to use Jumbo frames. If unspecified, the\nvalue defaults to 1460.", +"format": "int32", +"type": "integer" +}, +"name": { +"annotations": { +"required": [ +"compute.networks.insert" +] +}, +"description": "Name of the resource. Provided by the client when the resource is created.\nThe name must be 1-63 characters long, and comply withRFC1035.\nSpecifically, the name must be 1-63 characters long and match the regular\nexpression `[a-z]([-a-z0-9]*[a-z0-9])?`. The first character must be a\nlowercase letter, and all following characters (except for the last\ncharacter) must be a dash, lowercase letter, or digit. The last character\nmust be a lowercase letter or digit.", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"type": "string" +}, +"networkFirewallPolicyEnforcementOrder": { +"description": "The network firewall policy enforcement order. Can be either\nAFTER_CLASSIC_FIREWALL or BEFORE_CLASSIC_FIREWALL. Defaults to\nAFTER_CLASSIC_FIREWALL if the field is not specified.", +"enum": [ +"AFTER_CLASSIC_FIREWALL", +"BEFORE_CLASSIC_FIREWALL" +], +"enumDescriptions": [ +"", +"" +], +"type": "string" +}, +"networkProfile": { +"description": "A full or partial URL of the network profile to apply to this network.\nThis field can be set only at resource creation time. For example, the\nfollowing are valid URLs: \n \n - https://www.googleapis.com/compute/{api_version}/projects/{project_id}/global/networkProfiles/{network_profile_name}\n - projects/{project_id}/global/networkProfiles/{network_profile_name}", +"type": "string" +}, +"params": { +"$ref": "NetworkParams", +"description": "Input only. [Input Only] Additional params passed with the request, but not persisted\nas part of resource payload." +}, +"peerings": { +"description": "Output only. [Output Only] A list of network peerings for the resource.", +"items": { +"$ref": "NetworkPeering" +}, +"readOnly": true, +"type": "array" +}, +"routingConfig": { +"$ref": "NetworkRoutingConfig", +"description": "The network-level routing configuration for this network. Used by Cloud\nRouter to determine what type of network-wide routing behavior to enforce." +}, +"selfLink": { +"description": "[Output Only] Server-defined URL for the resource.", +"type": "string" +}, +"selfLinkWithId": { +"description": "Output only. [Output Only] Server-defined URL for this resource with the resource id.", +"readOnly": true, +"type": "string" +}, +"subnetworks": { +"description": "[Output Only] Server-defined fully-qualified URLs for all subnetworks\nin this VPC network.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"NetworkAttachment": { +"description": "NetworkAttachments\nA network attachment resource ...", +"id": "NetworkAttachment", +"properties": { +"connectionEndpoints": { +"description": "Output only. [Output Only] An array of connections for all the producers connected\nto this network attachment.", +"items": { +"$ref": "NetworkAttachmentConnectedEndpoint" +}, +"readOnly": true, +"type": "array" +}, +"connectionPreference": { +"enum": [ +"ACCEPT_AUTOMATIC", +"ACCEPT_MANUAL", +"INVALID" +], +"enumDescriptions": [ +"", +"", +"" +], +"type": "string" +}, +"creationTimestamp": { +"description": "Output only. [Output Only] Creation timestamp inRFC3339\ntext format.", +"readOnly": true, +"type": "string" +}, +"description": { +"description": "An optional description of this resource. Provide this property when you\ncreate the resource.", +"type": "string" +}, +"fingerprint": { +"description": "Fingerprint of this resource. A hash of the contents stored\nin this object. This field is used in optimistic locking. An up-to-date\nfingerprint must be provided in order to patch.", +"format": "byte", +"type": "string" +}, +"id": { +"description": "Output only. [Output Only] The unique identifier for the resource type. The server\ngenerates this identifier.", +"format": "uint64", +"readOnly": true, +"type": "string" +}, +"kind": { +"default": "compute#networkAttachment", +"description": "Output only. [Output Only] Type of the resource.", +"readOnly": true, +"type": "string" +}, +"name": { +"annotations": { +"required": [ +"compute.networkAttachments.insert" +] +}, +"description": "Name of the resource. Provided by the client when the resource is created.\nThe name must be 1-63 characters long, and comply withRFC1035.\nSpecifically, the name must be 1-63 characters long and match the regular\nexpression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first\ncharacter must be a lowercase letter, and all following characters must\nbe a dash, lowercase letter, or digit, except the last character, which\ncannot be a dash.", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"type": "string" +}, +"network": { +"description": "Output only. [Output Only] The URL of the network which the Network Attachment\nbelongs to. Practically it is inferred by fetching the network of the first\nsubnetwork associated. Because it is required that all the subnetworks must\nbe from the same network, it is assured that the Network Attachment belongs\nto the same network as all the subnetworks.", +"readOnly": true, +"type": "string" +}, +"producerAcceptLists": { +"description": "Projects that are allowed to connect to this network attachment.\nThe project can be specified using its id or number.", +"items": { +"type": "string" +}, +"type": "array" +}, +"producerRejectLists": { +"description": "Projects that are not allowed to connect to this network attachment.\nThe project can be specified using its id or number.", +"items": { +"type": "string" +}, +"type": "array" +}, +"region": { +"description": "Output only. [Output Only] URL of the region where the network attachment resides.\nThis field applies only to the region resource. You must specify this\nfield as part of the HTTP request URL. It is not settable as a field in\nthe request body.", +"readOnly": true, +"type": "string" +}, +"selfLink": { +"description": "Output only. [Output Only] Server-defined URL for the resource.", +"readOnly": true, +"type": "string" +}, +"selfLinkWithId": { +"description": "Output only. [Output Only] Server-defined URL for this resource's resource id.", +"readOnly": true, +"type": "string" +}, +"subnetworks": { +"description": "An array of URLs where each entry is the URL of a subnet\nprovided by the service consumer to use for\nendpoints in the producers that connect to this network attachment.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"NetworkAttachmentAggregatedList": { +"description": "Contains a list of NetworkAttachmentsScopedList.", +"id": "NetworkAttachmentAggregatedList", +"properties": { +"id": { +"description": "[Output Only] Unique identifier for the resource; defined by the server.", +"type": "string" +}, +"items": { +"additionalProperties": { +"$ref": "NetworkAttachmentsScopedList", +"description": "Name of the scope containing this set of NetworkAttachments." +}, +"description": "A list of NetworkAttachmentsScopedList resources.", +"type": "object" +}, +"kind": { +"default": "compute#networkAttachmentAggregatedList", +"readOnly": true, +"type": "string" +}, +"nextPageToken": { +"description": "[Output Only] This token allows you to get the next page of results for\nlist requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for\nthe query parameter pageToken in the next list request.\nSubsequent list requests will have their own nextPageToken to\ncontinue paging through the results.", +"type": "string" +}, +"selfLink": { +"description": "[Output Only] Server-defined URL for this resource.", +"type": "string" +}, +"warning": { +"description": "[Output Only] Informational warning message.", +"properties": { +"code": { +"description": "[Output Only] A warning code, if applicable. For example, Compute\nEngine returns NO_RESULTS_ON_PAGE if there\nare no results in the response.", +"enum": [ +"CLEANUP_FAILED", +"DEPRECATED_RESOURCE_USED", +"DEPRECATED_TYPE_USED", +"DISK_SIZE_LARGER_THAN_IMAGE_SIZE", +"EXPERIMENTAL_TYPE_USED", +"EXTERNAL_API_WARNING", +"FIELD_VALUE_OVERRIDEN", +"INJECTED_KERNELS_DEPRECATED", +"INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", +"LARGE_DEPLOYMENT_WARNING", +"LIST_OVERHEAD_QUOTA_EXCEED", +"MISSING_TYPE_DEPENDENCY", +"NEXT_HOP_ADDRESS_NOT_ASSIGNED", +"NEXT_HOP_CANNOT_IP_FORWARD", +"NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", +"NEXT_HOP_INSTANCE_NOT_FOUND", +"NEXT_HOP_INSTANCE_NOT_ON_NETWORK", +"NEXT_HOP_NOT_RUNNING", +"NOT_CRITICAL_ERROR", +"NO_RESULTS_ON_PAGE", +"PARTIAL_SUCCESS", +"QUOTA_INFO_UNAVAILABLE", +"REQUIRED_TOS_AGREEMENT", +"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", +"RESOURCE_NOT_DELETED", +"SCHEMA_VALIDATION_IGNORED", +"SINGLE_INSTANCE_PROPERTY_TEMPLATE", +"UNDECLARED_PROPERTIES", +"UNREACHABLE" +], +"enumDeprecated": [ +false, +false, +false, +false, +false, +false, +true, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false +], +"enumDescriptions": [ +"Warning about failed cleanup of transient changes made by a failed\noperation.", +"A link to a deprecated resource was created.", +"When deploying and at least one of the resources has a type marked as\ndeprecated", +"The user created a boot disk that is larger than image size.", +"When deploying and at least one of the resources has a type marked as\nexperimental", +"Warning that is present in an external api call", +"Warning that value of a field has been overridden.\nDeprecated unused field.", +"The operation involved use of an injected kernel, which is deprecated.", +"A WEIGHTED_MAGLEV backend service is associated with a health check that is\nnot of type HTTP/HTTPS/HTTP2.", +"When deploying a deployment with a exceedingly large number of resources", +"Resource can't be retrieved due to list overhead quota exceed\nwhich captures the amount of resources filtered out by\nuser-defined list filter.", +"A resource depends on a missing type", +"The route's nextHopIp address is not assigned to an instance on the\nnetwork.", +"The route's next hop instance cannot ip forward.", +"The route's nextHopInstance URL refers to an instance that does not have an\nipv6 interface on the same network as the route.", +"The route's nextHopInstance URL refers to an instance that does not exist.", +"The route's nextHopInstance URL refers to an instance that is not on the\nsame network as the route.", +"The route's next hop instance does not have a status of RUNNING.", +"Error which is not critical. We decided to continue the process despite\nthe mentioned error.", +"No results are present on a particular list page.", +"Success is reported, but some results may be missing due to errors", +"Quota information is not available to client requests (e.g:\nregions.list).", +"The user attempted to use a resource that requires a TOS they have not\naccepted.", +"Warning that a resource is in use.", +"One or more of the resources set to auto-delete could not be deleted\nbecause they were in use.", +"When a resource schema validation is ignored.", +"Instance template used in instance group manager is valid as such, but\nits application does not make a lot of sense, because it allows only\nsingle instance in instance group.", +"When undeclared properties in the schema are present", +"A given scope cannot be reached." +], +"type": "string" +}, +"data": { +"description": "[Output Only] Metadata about this warning in key:\nvalue format. For example:\n\n\"data\": [\n {\n \"key\": \"scope\",\n \"value\": \"zones/us-east1-d\"\n }", +"items": { +"properties": { +"key": { +"description": "[Output Only] A key that provides more detail on the warning being\nreturned. For example, for warnings where there are no results in a list\nrequest for a particular zone, this key might be scope and\nthe key value might be the zone name. Other examples might be a key\nindicating a deprecated resource and a suggested replacement, or a\nwarning about invalid network settings (for example, if an instance\nattempts to perform IP forwarding but is not enabled for IP forwarding).", +"type": "string" +}, +"value": { +"description": "[Output Only] A warning data value corresponding to the key.", +"type": "string" +} +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "[Output Only] A human-readable description of the warning code.", +"type": "string" +} +}, +"type": "object" +} +}, +"type": "object" +}, +"NetworkAttachmentConnectedEndpoint": { +"description": "[Output Only] A connection connected to this network attachment.", +"id": "NetworkAttachmentConnectedEndpoint", +"properties": { +"ipAddress": { +"description": "The IPv4 address assigned to the producer instance network interface.\nThis value will be a range in case of Serverless.", +"type": "string" +}, +"ipv6Address": { +"description": "The IPv6 address assigned to the producer instance network interface.\nThis is only assigned when the stack types of both the instance network\ninterface and the consumer subnet are IPv4_IPv6.", +"type": "string" +}, +"projectIdOrNum": { +"description": "The project id or number of the interface to which the IP was assigned.", +"type": "string" +}, +"secondaryIpCidrRanges": { +"description": "Alias IP ranges from the same subnetwork.", +"items": { +"type": "string" +}, +"type": "array" +}, +"status": { +"description": "The status of a connected endpoint to this network attachment.", +"enum": [ +"ACCEPTED", +"CLOSED", +"NEEDS_ATTENTION", +"PENDING", +"REJECTED", +"STATUS_UNSPECIFIED" +], +"enumDescriptions": [ +"The consumer allows traffic from the producer to reach its VPC.", +"The consumer network attachment no longer exists.", +"The consumer needs to take further action before traffic can be served.", +"The consumer neither allows nor prohibits traffic\nfrom the producer to reach its VPC.", +"The consumer prohibits traffic from the producer to reach its VPC.", +"" +], +"type": "string" +}, +"subnetwork": { +"description": "The subnetwork used to assign the IP to the producer\ninstance network interface.", +"type": "string" +}, +"subnetworkCidrRange": { +"description": "Output only. [Output Only] The CIDR range of the subnet from which the IPv4 internal\nIP was allocated from.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"NetworkAttachmentList": { +"id": "NetworkAttachmentList", +"properties": { +"id": { +"description": "[Output Only] Unique identifier for the resource; defined by the server.", +"type": "string" +}, +"items": { +"description": "A list of NetworkAttachment resources.", +"items": { +"$ref": "NetworkAttachment" +}, +"type": "array" +}, +"kind": { +"default": "compute#networkAttachmentList", +"readOnly": true, +"type": "string" +}, +"nextPageToken": { +"description": "[Output Only] This token allows you to get the next page of results for\nlist requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for\nthe query parameter pageToken in the next list request.\nSubsequent list requests will have their own nextPageToken to\ncontinue paging through the results.", +"type": "string" +}, +"selfLink": { +"description": "[Output Only] Server-defined URL for this resource.", +"type": "string" +}, +"warning": { +"description": "[Output Only] Informational warning message.", +"properties": { +"code": { +"description": "[Output Only] A warning code, if applicable. For example, Compute\nEngine returns NO_RESULTS_ON_PAGE if there\nare no results in the response.", +"enum": [ +"CLEANUP_FAILED", +"DEPRECATED_RESOURCE_USED", +"DEPRECATED_TYPE_USED", +"DISK_SIZE_LARGER_THAN_IMAGE_SIZE", +"EXPERIMENTAL_TYPE_USED", +"EXTERNAL_API_WARNING", +"FIELD_VALUE_OVERRIDEN", +"INJECTED_KERNELS_DEPRECATED", +"INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", +"LARGE_DEPLOYMENT_WARNING", +"LIST_OVERHEAD_QUOTA_EXCEED", +"MISSING_TYPE_DEPENDENCY", +"NEXT_HOP_ADDRESS_NOT_ASSIGNED", +"NEXT_HOP_CANNOT_IP_FORWARD", +"NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", +"NEXT_HOP_INSTANCE_NOT_FOUND", +"NEXT_HOP_INSTANCE_NOT_ON_NETWORK", +"NEXT_HOP_NOT_RUNNING", +"NOT_CRITICAL_ERROR", +"NO_RESULTS_ON_PAGE", +"PARTIAL_SUCCESS", +"QUOTA_INFO_UNAVAILABLE", +"REQUIRED_TOS_AGREEMENT", +"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", +"RESOURCE_NOT_DELETED", +"SCHEMA_VALIDATION_IGNORED", +"SINGLE_INSTANCE_PROPERTY_TEMPLATE", +"UNDECLARED_PROPERTIES", +"UNREACHABLE" +], +"enumDeprecated": [ +false, +false, +false, +false, +false, +false, +true, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false +], +"enumDescriptions": [ +"Warning about failed cleanup of transient changes made by a failed\noperation.", +"A link to a deprecated resource was created.", +"When deploying and at least one of the resources has a type marked as\ndeprecated", +"The user created a boot disk that is larger than image size.", +"When deploying and at least one of the resources has a type marked as\nexperimental", +"Warning that is present in an external api call", +"Warning that value of a field has been overridden.\nDeprecated unused field.", +"The operation involved use of an injected kernel, which is deprecated.", +"A WEIGHTED_MAGLEV backend service is associated with a health check that is\nnot of type HTTP/HTTPS/HTTP2.", +"When deploying a deployment with a exceedingly large number of resources", +"Resource can't be retrieved due to list overhead quota exceed\nwhich captures the amount of resources filtered out by\nuser-defined list filter.", +"A resource depends on a missing type", +"The route's nextHopIp address is not assigned to an instance on the\nnetwork.", +"The route's next hop instance cannot ip forward.", +"The route's nextHopInstance URL refers to an instance that does not have an\nipv6 interface on the same network as the route.", +"The route's nextHopInstance URL refers to an instance that does not exist.", +"The route's nextHopInstance URL refers to an instance that is not on the\nsame network as the route.", +"The route's next hop instance does not have a status of RUNNING.", +"Error which is not critical. We decided to continue the process despite\nthe mentioned error.", +"No results are present on a particular list page.", +"Success is reported, but some results may be missing due to errors", +"Quota information is not available to client requests (e.g:\nregions.list).", +"The user attempted to use a resource that requires a TOS they have not\naccepted.", +"Warning that a resource is in use.", +"One or more of the resources set to auto-delete could not be deleted\nbecause they were in use.", +"When a resource schema validation is ignored.", +"Instance template used in instance group manager is valid as such, but\nits application does not make a lot of sense, because it allows only\nsingle instance in instance group.", +"When undeclared properties in the schema are present", +"A given scope cannot be reached." +], +"type": "string" +}, +"data": { +"description": "[Output Only] Metadata about this warning in key:\nvalue format. For example:\n\n\"data\": [\n {\n \"key\": \"scope\",\n \"value\": \"zones/us-east1-d\"\n }", +"items": { +"properties": { +"key": { +"description": "[Output Only] A key that provides more detail on the warning being\nreturned. For example, for warnings where there are no results in a list\nrequest for a particular zone, this key might be scope and\nthe key value might be the zone name. Other examples might be a key\nindicating a deprecated resource and a suggested replacement, or a\nwarning about invalid network settings (for example, if an instance\nattempts to perform IP forwarding but is not enabled for IP forwarding).", +"type": "string" +}, +"value": { +"description": "[Output Only] A warning data value corresponding to the key.", +"type": "string" +} +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "[Output Only] A human-readable description of the warning code.", +"type": "string" +} +}, +"type": "object" +} +}, +"type": "object" +}, +"NetworkAttachmentsScopedList": { +"id": "NetworkAttachmentsScopedList", +"properties": { +"networkAttachments": { +"description": "A list of NetworkAttachments contained in this scope.", +"items": { +"$ref": "NetworkAttachment" +}, +"type": "array" +}, +"warning": { +"description": "Informational warning which replaces the list of\nnetwork attachments when the list is empty.", +"properties": { +"code": { +"description": "[Output Only] A warning code, if applicable. For example, Compute\nEngine returns NO_RESULTS_ON_PAGE if there\nare no results in the response.", +"enum": [ +"CLEANUP_FAILED", +"DEPRECATED_RESOURCE_USED", +"DEPRECATED_TYPE_USED", +"DISK_SIZE_LARGER_THAN_IMAGE_SIZE", +"EXPERIMENTAL_TYPE_USED", +"EXTERNAL_API_WARNING", +"FIELD_VALUE_OVERRIDEN", +"INJECTED_KERNELS_DEPRECATED", +"INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", +"LARGE_DEPLOYMENT_WARNING", +"LIST_OVERHEAD_QUOTA_EXCEED", +"MISSING_TYPE_DEPENDENCY", +"NEXT_HOP_ADDRESS_NOT_ASSIGNED", +"NEXT_HOP_CANNOT_IP_FORWARD", +"NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", +"NEXT_HOP_INSTANCE_NOT_FOUND", +"NEXT_HOP_INSTANCE_NOT_ON_NETWORK", +"NEXT_HOP_NOT_RUNNING", +"NOT_CRITICAL_ERROR", +"NO_RESULTS_ON_PAGE", +"PARTIAL_SUCCESS", +"QUOTA_INFO_UNAVAILABLE", +"REQUIRED_TOS_AGREEMENT", +"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", +"RESOURCE_NOT_DELETED", +"SCHEMA_VALIDATION_IGNORED", +"SINGLE_INSTANCE_PROPERTY_TEMPLATE", +"UNDECLARED_PROPERTIES", +"UNREACHABLE" +], +"enumDeprecated": [ +false, +false, +false, +false, +false, +false, +true, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false +], +"enumDescriptions": [ +"Warning about failed cleanup of transient changes made by a failed\noperation.", +"A link to a deprecated resource was created.", +"When deploying and at least one of the resources has a type marked as\ndeprecated", +"The user created a boot disk that is larger than image size.", +"When deploying and at least one of the resources has a type marked as\nexperimental", +"Warning that is present in an external api call", +"Warning that value of a field has been overridden.\nDeprecated unused field.", +"The operation involved use of an injected kernel, which is deprecated.", +"A WEIGHTED_MAGLEV backend service is associated with a health check that is\nnot of type HTTP/HTTPS/HTTP2.", +"When deploying a deployment with a exceedingly large number of resources", +"Resource can't be retrieved due to list overhead quota exceed\nwhich captures the amount of resources filtered out by\nuser-defined list filter.", +"A resource depends on a missing type", +"The route's nextHopIp address is not assigned to an instance on the\nnetwork.", +"The route's next hop instance cannot ip forward.", +"The route's nextHopInstance URL refers to an instance that does not have an\nipv6 interface on the same network as the route.", +"The route's nextHopInstance URL refers to an instance that does not exist.", +"The route's nextHopInstance URL refers to an instance that is not on the\nsame network as the route.", +"The route's next hop instance does not have a status of RUNNING.", +"Error which is not critical. We decided to continue the process despite\nthe mentioned error.", +"No results are present on a particular list page.", +"Success is reported, but some results may be missing due to errors", +"Quota information is not available to client requests (e.g:\nregions.list).", +"The user attempted to use a resource that requires a TOS they have not\naccepted.", +"Warning that a resource is in use.", +"One or more of the resources set to auto-delete could not be deleted\nbecause they were in use.", +"When a resource schema validation is ignored.", +"Instance template used in instance group manager is valid as such, but\nits application does not make a lot of sense, because it allows only\nsingle instance in instance group.", +"When undeclared properties in the schema are present", +"A given scope cannot be reached." +], +"type": "string" +}, +"data": { +"description": "[Output Only] Metadata about this warning in key:\nvalue format. For example:\n\n\"data\": [\n {\n \"key\": \"scope\",\n \"value\": \"zones/us-east1-d\"\n }", +"items": { +"properties": { +"key": { +"description": "[Output Only] A key that provides more detail on the warning being\nreturned. For example, for warnings where there are no results in a list\nrequest for a particular zone, this key might be scope and\nthe key value might be the zone name. Other examples might be a key\nindicating a deprecated resource and a suggested replacement, or a\nwarning about invalid network settings (for example, if an instance\nattempts to perform IP forwarding but is not enabled for IP forwarding).", +"type": "string" +}, +"value": { +"description": "[Output Only] A warning data value corresponding to the key.", +"type": "string" +} +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "[Output Only] A human-readable description of the warning code.", +"type": "string" +} +}, +"type": "object" +} +}, +"type": "object" +}, +"NetworkEdgeSecurityService": { +"description": "Represents a Google Cloud Armor network edge security service resource.", +"id": "NetworkEdgeSecurityService", +"properties": { +"creationTimestamp": { +"description": "Output only. [Output Only] Creation timestamp inRFC3339\ntext format.", +"readOnly": true, +"type": "string" +}, +"description": { +"description": "An optional description of this resource. Provide this property when you\ncreate the resource.", +"type": "string" +}, +"fingerprint": { +"description": "Fingerprint of this resource. A hash of the contents stored in this object.\nThis field is used in optimistic locking. This field will be ignored when\ninserting a NetworkEdgeSecurityService. An up-to-date fingerprint must be\nprovided in order to update the NetworkEdgeSecurityService,\notherwise the request will fail with error412 conditionNotMet.\n\nTo see the latest fingerprint, make a get() request to\nretrieve a NetworkEdgeSecurityService.", +"format": "byte", +"type": "string" +}, +"id": { +"description": "Output only. [Output Only] The unique identifier for the resource. This identifier is\ndefined by the server.", +"format": "uint64", +"readOnly": true, +"type": "string" +}, +"kind": { +"default": "compute#networkEdgeSecurityService", +"description": "Output only. [Output only] Type of the resource. Alwayscompute#networkEdgeSecurityService for\nNetworkEdgeSecurityServices", +"readOnly": true, +"type": "string" +}, +"name": { +"description": "Name of the resource. Provided by the client when the resource is created.\nThe name must be 1-63 characters long, and comply withRFC1035.\nSpecifically, the name must be 1-63 characters long and match the regular\nexpression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first\ncharacter must be a lowercase letter, and all following characters must\nbe a dash, lowercase letter, or digit, except the last character, which\ncannot be a dash.", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"type": "string" +}, +"region": { +"description": "Output only. [Output Only] URL of the region where the resource resides. You must\nspecify this field as part of the HTTP request URL. It is not settable as a\nfield in the request body.", +"readOnly": true, +"type": "string" +}, +"securityPolicy": { +"description": "The resource URL for the network edge security service associated with this\nnetwork edge security service.", +"type": "string" +}, +"selfLink": { +"description": "Output only. [Output Only] Server-defined URL for the resource.", +"readOnly": true, +"type": "string" +}, +"selfLinkWithId": { +"description": "Output only. [Output Only] Server-defined URL for this resource with the resource id.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"NetworkEdgeSecurityServiceAggregatedList": { +"id": "NetworkEdgeSecurityServiceAggregatedList", +"properties": { +"etag": { +"type": "string" +}, +"id": { +"description": "[Output Only] Unique identifier for the resource; defined by the server.", +"type": "string" +}, +"items": { +"additionalProperties": { +"$ref": "NetworkEdgeSecurityServicesScopedList", +"description": "Name of the scope containing this set of security policies." +}, +"description": "A list of NetworkEdgeSecurityServicesScopedList resources.", +"type": "object" +}, +"kind": { +"default": "compute#networkEdgeSecurityServiceAggregatedList", +"description": "Output only. [Output Only] Type of resource. Alwayscompute#networkEdgeSecurityServiceAggregatedList for lists of\nNetwork Edge Security Services.", +"readOnly": true, +"type": "string" +}, +"nextPageToken": { +"description": "[Output Only] This token allows you to get the next page of results for\nlist requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for\nthe query parameter pageToken in the next list request.\nSubsequent list requests will have their own nextPageToken to\ncontinue paging through the results.", +"type": "string" +}, +"selfLink": { +"description": "Output only. [Output Only] Server-defined URL for this resource.", +"readOnly": true, +"type": "string" +}, +"unreachables": { +"description": "Output only. [Output Only] Unreachable resources.", +"items": { +"type": "string" +}, +"readOnly": true, +"type": "array" +}, +"warning": { +"description": "[Output Only] Informational warning message.", +"properties": { +"code": { +"description": "[Output Only] A warning code, if applicable. For example, Compute\nEngine returns NO_RESULTS_ON_PAGE if there\nare no results in the response.", +"enum": [ +"CLEANUP_FAILED", +"DEPRECATED_RESOURCE_USED", +"DEPRECATED_TYPE_USED", +"DISK_SIZE_LARGER_THAN_IMAGE_SIZE", +"EXPERIMENTAL_TYPE_USED", +"EXTERNAL_API_WARNING", +"FIELD_VALUE_OVERRIDEN", +"INJECTED_KERNELS_DEPRECATED", +"INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", +"LARGE_DEPLOYMENT_WARNING", +"LIST_OVERHEAD_QUOTA_EXCEED", +"MISSING_TYPE_DEPENDENCY", +"NEXT_HOP_ADDRESS_NOT_ASSIGNED", +"NEXT_HOP_CANNOT_IP_FORWARD", +"NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", +"NEXT_HOP_INSTANCE_NOT_FOUND", +"NEXT_HOP_INSTANCE_NOT_ON_NETWORK", +"NEXT_HOP_NOT_RUNNING", +"NOT_CRITICAL_ERROR", +"NO_RESULTS_ON_PAGE", +"PARTIAL_SUCCESS", +"QUOTA_INFO_UNAVAILABLE", +"REQUIRED_TOS_AGREEMENT", +"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", +"RESOURCE_NOT_DELETED", +"SCHEMA_VALIDATION_IGNORED", +"SINGLE_INSTANCE_PROPERTY_TEMPLATE", +"UNDECLARED_PROPERTIES", +"UNREACHABLE" +], +"enumDeprecated": [ +false, +false, +false, +false, +false, +false, +true, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false +], +"enumDescriptions": [ +"Warning about failed cleanup of transient changes made by a failed\noperation.", +"A link to a deprecated resource was created.", +"When deploying and at least one of the resources has a type marked as\ndeprecated", +"The user created a boot disk that is larger than image size.", +"When deploying and at least one of the resources has a type marked as\nexperimental", +"Warning that is present in an external api call", +"Warning that value of a field has been overridden.\nDeprecated unused field.", +"The operation involved use of an injected kernel, which is deprecated.", +"A WEIGHTED_MAGLEV backend service is associated with a health check that is\nnot of type HTTP/HTTPS/HTTP2.", +"When deploying a deployment with a exceedingly large number of resources", +"Resource can't be retrieved due to list overhead quota exceed\nwhich captures the amount of resources filtered out by\nuser-defined list filter.", +"A resource depends on a missing type", +"The route's nextHopIp address is not assigned to an instance on the\nnetwork.", +"The route's next hop instance cannot ip forward.", +"The route's nextHopInstance URL refers to an instance that does not have an\nipv6 interface on the same network as the route.", +"The route's nextHopInstance URL refers to an instance that does not exist.", +"The route's nextHopInstance URL refers to an instance that is not on the\nsame network as the route.", +"The route's next hop instance does not have a status of RUNNING.", +"Error which is not critical. We decided to continue the process despite\nthe mentioned error.", +"No results are present on a particular list page.", +"Success is reported, but some results may be missing due to errors", +"Quota information is not available to client requests (e.g:\nregions.list).", +"The user attempted to use a resource that requires a TOS they have not\naccepted.", +"Warning that a resource is in use.", +"One or more of the resources set to auto-delete could not be deleted\nbecause they were in use.", +"When a resource schema validation is ignored.", +"Instance template used in instance group manager is valid as such, but\nits application does not make a lot of sense, because it allows only\nsingle instance in instance group.", +"When undeclared properties in the schema are present", +"A given scope cannot be reached." +], +"type": "string" +}, +"data": { +"description": "[Output Only] Metadata about this warning in key:\nvalue format. For example:\n\n\"data\": [\n {\n \"key\": \"scope\",\n \"value\": \"zones/us-east1-d\"\n }", +"items": { +"properties": { +"key": { +"description": "[Output Only] A key that provides more detail on the warning being\nreturned. For example, for warnings where there are no results in a list\nrequest for a particular zone, this key might be scope and\nthe key value might be the zone name. Other examples might be a key\nindicating a deprecated resource and a suggested replacement, or a\nwarning about invalid network settings (for example, if an instance\nattempts to perform IP forwarding but is not enabled for IP forwarding).", +"type": "string" +}, +"value": { +"description": "[Output Only] A warning data value corresponding to the key.", +"type": "string" +} +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "[Output Only] A human-readable description of the warning code.", +"type": "string" +} +}, +"type": "object" +} +}, +"type": "object" +}, +"NetworkEdgeSecurityServicesScopedList": { +"id": "NetworkEdgeSecurityServicesScopedList", +"properties": { +"networkEdgeSecurityServices": { +"description": "A list of NetworkEdgeSecurityServices contained in this scope.", +"items": { +"$ref": "NetworkEdgeSecurityService" +}, +"type": "array" +}, +"warning": { +"description": "Informational warning which replaces the list of\nsecurity policies when the list is empty.", +"properties": { +"code": { +"description": "[Output Only] A warning code, if applicable. For example, Compute\nEngine returns NO_RESULTS_ON_PAGE if there\nare no results in the response.", +"enum": [ +"CLEANUP_FAILED", +"DEPRECATED_RESOURCE_USED", +"DEPRECATED_TYPE_USED", +"DISK_SIZE_LARGER_THAN_IMAGE_SIZE", +"EXPERIMENTAL_TYPE_USED", +"EXTERNAL_API_WARNING", +"FIELD_VALUE_OVERRIDEN", +"INJECTED_KERNELS_DEPRECATED", +"INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", +"LARGE_DEPLOYMENT_WARNING", +"LIST_OVERHEAD_QUOTA_EXCEED", +"MISSING_TYPE_DEPENDENCY", +"NEXT_HOP_ADDRESS_NOT_ASSIGNED", +"NEXT_HOP_CANNOT_IP_FORWARD", +"NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", +"NEXT_HOP_INSTANCE_NOT_FOUND", +"NEXT_HOP_INSTANCE_NOT_ON_NETWORK", +"NEXT_HOP_NOT_RUNNING", +"NOT_CRITICAL_ERROR", +"NO_RESULTS_ON_PAGE", +"PARTIAL_SUCCESS", +"QUOTA_INFO_UNAVAILABLE", +"REQUIRED_TOS_AGREEMENT", +"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", +"RESOURCE_NOT_DELETED", +"SCHEMA_VALIDATION_IGNORED", +"SINGLE_INSTANCE_PROPERTY_TEMPLATE", +"UNDECLARED_PROPERTIES", +"UNREACHABLE" +], +"enumDeprecated": [ +false, +false, +false, +false, +false, +false, +true, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false +], +"enumDescriptions": [ +"Warning about failed cleanup of transient changes made by a failed\noperation.", +"A link to a deprecated resource was created.", +"When deploying and at least one of the resources has a type marked as\ndeprecated", +"The user created a boot disk that is larger than image size.", +"When deploying and at least one of the resources has a type marked as\nexperimental", +"Warning that is present in an external api call", +"Warning that value of a field has been overridden.\nDeprecated unused field.", +"The operation involved use of an injected kernel, which is deprecated.", +"A WEIGHTED_MAGLEV backend service is associated with a health check that is\nnot of type HTTP/HTTPS/HTTP2.", +"When deploying a deployment with a exceedingly large number of resources", +"Resource can't be retrieved due to list overhead quota exceed\nwhich captures the amount of resources filtered out by\nuser-defined list filter.", +"A resource depends on a missing type", +"The route's nextHopIp address is not assigned to an instance on the\nnetwork.", +"The route's next hop instance cannot ip forward.", +"The route's nextHopInstance URL refers to an instance that does not have an\nipv6 interface on the same network as the route.", +"The route's nextHopInstance URL refers to an instance that does not exist.", +"The route's nextHopInstance URL refers to an instance that is not on the\nsame network as the route.", +"The route's next hop instance does not have a status of RUNNING.", +"Error which is not critical. We decided to continue the process despite\nthe mentioned error.", +"No results are present on a particular list page.", +"Success is reported, but some results may be missing due to errors", +"Quota information is not available to client requests (e.g:\nregions.list).", +"The user attempted to use a resource that requires a TOS they have not\naccepted.", +"Warning that a resource is in use.", +"One or more of the resources set to auto-delete could not be deleted\nbecause they were in use.", +"When a resource schema validation is ignored.", +"Instance template used in instance group manager is valid as such, but\nits application does not make a lot of sense, because it allows only\nsingle instance in instance group.", +"When undeclared properties in the schema are present", +"A given scope cannot be reached." +], +"type": "string" +}, +"data": { +"description": "[Output Only] Metadata about this warning in key:\nvalue format. For example:\n\n\"data\": [\n {\n \"key\": \"scope\",\n \"value\": \"zones/us-east1-d\"\n }", +"items": { +"properties": { +"key": { +"description": "[Output Only] A key that provides more detail on the warning being\nreturned. For example, for warnings where there are no results in a list\nrequest for a particular zone, this key might be scope and\nthe key value might be the zone name. Other examples might be a key\nindicating a deprecated resource and a suggested replacement, or a\nwarning about invalid network settings (for example, if an instance\nattempts to perform IP forwarding but is not enabled for IP forwarding).", +"type": "string" +}, +"value": { +"description": "[Output Only] A warning data value corresponding to the key.", +"type": "string" +} +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "[Output Only] A human-readable description of the warning code.", +"type": "string" +} +}, +"type": "object" +} +}, +"type": "object" +}, +"NetworkEndpoint": { +"description": "The network endpoint.", +"id": "NetworkEndpoint", +"properties": { +"annotations": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional metadata defined as annotations on the network endpoint.", +"type": "object" +}, +"clientDestinationPort": { +"description": "Represents the port number to which PSC consumer sends packets.\n\nOptional. Only valid for network endpoint groups created withGCE_VM_IP_PORTMAP endpoint type.", +"format": "int32", +"type": "integer" +}, +"fqdn": { +"description": "Optional fully qualified domain name of network endpoint. This can only be\nspecified when NetworkEndpointGroup.network_endpoint_type isNON_GCP_FQDN_PORT.", +"type": "string" +}, +"instance": { +"description": "The name or a URL of VM instance of this network endpoint.\nOptional, the field presence depends on the network endpoint type. The\nfield is required for network endpoints of type GCE_VM_IP andGCE_VM_IP_PORT.\n\nThe instance must be in the same zone of network endpoint group (for zonal\nNEGs) or in the zone within the region of the NEG (for regional NEGs).\nIf the ipAddress is specified, it must belongs to the VM\ninstance.\n\nThe name must be 1-63 characters long, and comply withRFC1035\nor be a valid URL pointing to an existing instance.", +"type": "string" +}, +"ipAddress": { +"description": "Optional IPv4 address of network endpoint. The IP address must belong to a\nVM in Compute Engine (either the primary IP or as part of an aliased IP\nrange). If the IP address is not specified, then the primary IP address for\nthe VM instance in the network that the network endpoint group belongs to\nwill be used.\n\nThis field is redundant and need not be set for network endpoints of typeGCE_VM_IP. If set, it must be set to the primary internal IP\naddress of the attached VM instance that matches the subnetwork of the NEG.\nThe primary internal IP address from any NIC of a multi-NIC VM instance can\nbe added to a NEG as long as it matches the NEG subnetwork.", +"type": "string" +}, +"ipv6Address": { +"description": "Optional IPv6 address of network endpoint.", +"type": "string" +}, +"port": { +"description": "Optional port number of network endpoint. If not specified, the\ndefaultPort for the network endpoint group will be used.\n\nThis field can not be set for network endpoints of typeGCE_VM_IP.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"NetworkEndpointGroup": { +"description": "Represents a collection of network endpoints.\n\nA network endpoint group (NEG) defines how a set of endpoints should be\nreached, whether they are reachable, and where they are located.\nFor more information about using NEGs for different use cases, seeNetwork endpoint groups overview.\n\nNote: Use the following APIs to manage network endpoint groups:\n \n - \n To manage NEGs with zonal scope (such as zonal NEGs, hybrid connectivity\n NEGs): zonal\n API\n - \n To manage NEGs with regional scope (such as regional internet NEGs,\n serverless NEGs, Private Service Connect NEGs): regional\n API\n - \n To manage NEGs with global scope (such as global internet NEGs):global\n API", +"id": "NetworkEndpointGroup", +"properties": { +"annotations": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. Metadata defined as annotations on the network endpoint group.", +"type": "object" +}, +"appEngine": { +"$ref": "NetworkEndpointGroupAppEngine", +"description": "Optional. Only valid when networkEndpointType isSERVERLESS. Only one of cloudRun,appEngine or cloudFunction may be set." +}, +"cloudFunction": { +"$ref": "NetworkEndpointGroupCloudFunction", +"description": "Optional. Only valid when networkEndpointType isSERVERLESS. Only one of cloudRun,appEngine or cloudFunction may be set." +}, +"cloudRun": { +"$ref": "NetworkEndpointGroupCloudRun", +"description": "Optional. Only valid when networkEndpointType isSERVERLESS. Only one of cloudRun,appEngine or cloudFunction may be set." +}, +"creationTimestamp": { +"description": "Output only. [Output Only] Creation timestamp inRFC3339\ntext format.", +"readOnly": true, +"type": "string" +}, +"defaultPort": { +"description": "The default port used if the port number is not specified in the network\nendpoint.\n\nOptional. If the network endpoint type is either GCE_VM_IP,SERVERLESS or PRIVATE_SERVICE_CONNECT, this\nfield must not be specified.", +"format": "int32", +"type": "integer" +}, +"description": { +"description": "An optional description of this resource. Provide this property when you\ncreate the resource.", +"type": "string" +}, +"id": { +"description": "Output only. [Output Only] The unique identifier for the resource. This identifier is\ndefined by the server.", +"format": "uint64", +"readOnly": true, +"type": "string" +}, +"kind": { +"default": "compute#networkEndpointGroup", +"description": "Output only. [Output Only] Type of the resource. Alwayscompute#networkEndpointGroup for network endpoint group.", +"readOnly": true, +"type": "string" +}, +"loadBalancer": { +"$ref": "NetworkEndpointGroupLbNetworkEndpointGroup", +"deprecated": true, +"description": "This field is only valid when the network endpoint group is used for load\nbalancing.\n[Deprecated] This field is deprecated." +}, +"name": { +"description": "Name of the resource; provided by the client when the resource is created.\nThe name must be 1-63 characters long, and comply withRFC1035.\nSpecifically, the name must be 1-63 characters long and match the regular\nexpression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first\ncharacter must be a lowercase letter, and all following characters must be\na dash, lowercase letter, or digit, except the last character, which cannot\nbe a dash.", +"type": "string" +}, +"network": { +"description": "The URL of the network to which all network endpoints in the NEG belong.\nUses default project network if unspecified.", +"type": "string" +}, +"networkEndpointType": { +"description": "Type of network endpoints in this network endpoint group. Can be one ofGCE_VM_IP, GCE_VM_IP_PORT,NON_GCP_PRIVATE_IP_PORT, INTERNET_FQDN_PORT,INTERNET_IP_PORT, SERVERLESS,PRIVATE_SERVICE_CONNECT, GCE_VM_IP_PORTMAP.", +"enum": [ +"GCE_VM_IP", +"GCE_VM_IP_PORT", +"GCE_VM_IP_PORTMAP", +"INTERNET_FQDN_PORT", +"INTERNET_IP_PORT", +"NON_GCP_PRIVATE_IP_PORT", +"PRIVATE_SERVICE_CONNECT", +"SERVERLESS" +], +"enumDescriptions": [ +"The network endpoint is represented by an IP address.", +"The network endpoint is represented by IP address and port pair.", +"The network endpoint is represented by an IP, Port and Client Destination\nPort.", +"The network endpoint is represented by fully qualified domain name and\nport.", +"The network endpoint is represented by an internet IP address and port.", +"The network endpoint is represented by an IP address and port. The\nendpoint belongs to a VM or pod running in a customer's on-premises.", +"The network endpoint is either public Google APIs or\nservices exposed by other GCP Project with a Service Attachment.\nThe connection is set up by private service connect", +"The network endpoint is handled by specified serverless infrastructure." +], +"type": "string" +}, +"pscData": { +"$ref": "NetworkEndpointGroupPscData", +"description": "Optional. Only valid when networkEndpointType isPRIVATE_SERVICE_CONNECT." +}, +"pscTargetService": { +"description": "The target service url used to set up private service connection to\na Google API or a PSC Producer Service Attachment.\nAn example value is: asia-northeast3-cloudkms.googleapis.com.\n\nOptional. Only valid when networkEndpointType isPRIVATE_SERVICE_CONNECT.", +"type": "string" +}, +"region": { +"description": "Output only. [Output Only] The URL of theregion\nwhere the network endpoint group is located.", +"readOnly": true, +"type": "string" +}, +"selfLink": { +"description": "Output only. [Output Only] Server-defined URL for the resource.", +"readOnly": true, +"type": "string" +}, +"serverlessDeployment": { +"$ref": "NetworkEndpointGroupServerlessDeployment", +"description": "Only valid when networkEndpointType isSERVERLESS. Only one of cloudRun,appEngine, cloudFunction orserverlessDeployment may be set." +}, +"size": { +"description": "Output only. [Output only] Number of network endpoints in the network endpoint group.", +"format": "int32", +"readOnly": true, +"type": "integer" +}, +"subnetwork": { +"description": "Optional URL of the subnetwork to which all network endpoints in the NEG\nbelong.", +"type": "string" +}, +"zone": { +"description": "Output only. [Output Only] The URL of thezone\nwhere the network endpoint group is located.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"NetworkEndpointGroupAggregatedList": { +"id": "NetworkEndpointGroupAggregatedList", +"properties": { +"id": { +"description": "[Output Only] Unique identifier for the resource; defined by the server.", +"type": "string" +}, +"items": { +"additionalProperties": { +"$ref": "NetworkEndpointGroupsScopedList", +"description": "The name of the scope that contains this set of network endpoint groups." +}, +"description": "A list of NetworkEndpointGroupsScopedList resources.", +"type": "object" +}, +"kind": { +"default": "compute#networkEndpointGroupAggregatedList", +"description": "Output only. [Output Only] The resource type, which is alwayscompute#networkEndpointGroupAggregatedList for aggregated\nlists of network endpoint groups.", +"readOnly": true, +"type": "string" +}, +"nextPageToken": { +"description": "[Output Only] This token allows you to get the next page of results for\nlist requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for\nthe query parameter pageToken in the next list request.\nSubsequent list requests will have their own nextPageToken to\ncontinue paging through the results.", +"type": "string" +}, +"selfLink": { +"description": "Output only. [Output Only] Server-defined URL for this resource.", +"readOnly": true, +"type": "string" +}, +"unreachables": { +"description": "Output only. [Output Only] Unreachable resources.", +"items": { +"type": "string" +}, +"readOnly": true, +"type": "array" +}, +"warning": { +"description": "[Output Only] Informational warning message.", +"properties": { +"code": { +"description": "[Output Only] A warning code, if applicable. For example, Compute\nEngine returns NO_RESULTS_ON_PAGE if there\nare no results in the response.", +"enum": [ +"CLEANUP_FAILED", +"DEPRECATED_RESOURCE_USED", +"DEPRECATED_TYPE_USED", +"DISK_SIZE_LARGER_THAN_IMAGE_SIZE", +"EXPERIMENTAL_TYPE_USED", +"EXTERNAL_API_WARNING", +"FIELD_VALUE_OVERRIDEN", +"INJECTED_KERNELS_DEPRECATED", +"INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", +"LARGE_DEPLOYMENT_WARNING", +"LIST_OVERHEAD_QUOTA_EXCEED", +"MISSING_TYPE_DEPENDENCY", +"NEXT_HOP_ADDRESS_NOT_ASSIGNED", +"NEXT_HOP_CANNOT_IP_FORWARD", +"NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", +"NEXT_HOP_INSTANCE_NOT_FOUND", +"NEXT_HOP_INSTANCE_NOT_ON_NETWORK", +"NEXT_HOP_NOT_RUNNING", +"NOT_CRITICAL_ERROR", +"NO_RESULTS_ON_PAGE", +"PARTIAL_SUCCESS", +"QUOTA_INFO_UNAVAILABLE", +"REQUIRED_TOS_AGREEMENT", +"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", +"RESOURCE_NOT_DELETED", +"SCHEMA_VALIDATION_IGNORED", +"SINGLE_INSTANCE_PROPERTY_TEMPLATE", +"UNDECLARED_PROPERTIES", +"UNREACHABLE" +], +"enumDeprecated": [ +false, +false, +false, +false, +false, +false, +true, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false +], +"enumDescriptions": [ +"Warning about failed cleanup of transient changes made by a failed\noperation.", +"A link to a deprecated resource was created.", +"When deploying and at least one of the resources has a type marked as\ndeprecated", +"The user created a boot disk that is larger than image size.", +"When deploying and at least one of the resources has a type marked as\nexperimental", +"Warning that is present in an external api call", +"Warning that value of a field has been overridden.\nDeprecated unused field.", +"The operation involved use of an injected kernel, which is deprecated.", +"A WEIGHTED_MAGLEV backend service is associated with a health check that is\nnot of type HTTP/HTTPS/HTTP2.", +"When deploying a deployment with a exceedingly large number of resources", +"Resource can't be retrieved due to list overhead quota exceed\nwhich captures the amount of resources filtered out by\nuser-defined list filter.", +"A resource depends on a missing type", +"The route's nextHopIp address is not assigned to an instance on the\nnetwork.", +"The route's next hop instance cannot ip forward.", +"The route's nextHopInstance URL refers to an instance that does not have an\nipv6 interface on the same network as the route.", +"The route's nextHopInstance URL refers to an instance that does not exist.", +"The route's nextHopInstance URL refers to an instance that is not on the\nsame network as the route.", +"The route's next hop instance does not have a status of RUNNING.", +"Error which is not critical. We decided to continue the process despite\nthe mentioned error.", +"No results are present on a particular list page.", +"Success is reported, but some results may be missing due to errors", +"Quota information is not available to client requests (e.g:\nregions.list).", +"The user attempted to use a resource that requires a TOS they have not\naccepted.", +"Warning that a resource is in use.", +"One or more of the resources set to auto-delete could not be deleted\nbecause they were in use.", +"When a resource schema validation is ignored.", +"Instance template used in instance group manager is valid as such, but\nits application does not make a lot of sense, because it allows only\nsingle instance in instance group.", +"When undeclared properties in the schema are present", +"A given scope cannot be reached." +], +"type": "string" +}, +"data": { +"description": "[Output Only] Metadata about this warning in key:\nvalue format. For example:\n\n\"data\": [\n {\n \"key\": \"scope\",\n \"value\": \"zones/us-east1-d\"\n }", +"items": { +"properties": { +"key": { +"description": "[Output Only] A key that provides more detail on the warning being\nreturned. For example, for warnings where there are no results in a list\nrequest for a particular zone, this key might be scope and\nthe key value might be the zone name. Other examples might be a key\nindicating a deprecated resource and a suggested replacement, or a\nwarning about invalid network settings (for example, if an instance\nattempts to perform IP forwarding but is not enabled for IP forwarding).", +"type": "string" +}, +"value": { +"description": "[Output Only] A warning data value corresponding to the key.", +"type": "string" +} +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "[Output Only] A human-readable description of the warning code.", +"type": "string" +} +}, +"type": "object" +} +}, +"type": "object" +}, +"NetworkEndpointGroupAppEngine": { +"description": "Configuration for an App Engine network endpoint group (NEG).\nThe service is optional, may be provided explicitly or in the\nURL mask. The version is optional and can only be provided\nexplicitly or in the URL mask when service is present.\n\nNote: App Engine service must be in the same project and located in the\nsame region as the Serverless NEG.", +"id": "NetworkEndpointGroupAppEngine", +"properties": { +"service": { +"description": "Optional serving service.\n\nThe service name is case-sensitive and must be 1-63\ncharacters long.\n\nExample value: default, my-service.", +"type": "string" +}, +"urlMask": { +"description": "An URL\nmask is one of the main components of the Cloud Function.\n\nA template to parse service and version fields\nfrom a request URL. URL mask allows for routing to multiple App Engine\nservices without having to create multiple Network Endpoint Groups and\nbackend services.\n\nFor example, the request URLsfoo1-dot-appname.appspot.com/v1 andfoo1-dot-appname.appspot.com/v2 can be backed by the same\nServerless NEG with URL mask-dot-appname.appspot.com/.\nThe URL mask will parse them to { service = \"foo1\", version = \"v1\"\n} and { service = \"foo1\", version = \"v2\" }\nrespectively.", +"type": "string" +}, +"version": { +"description": "Optional serving version.\n\nThe version name is case-sensitive and must be 1-100\ncharacters long.\n\nExample value: v1, v2.", +"type": "string" +} +}, +"type": "object" +}, +"NetworkEndpointGroupCloudFunction": { +"description": "Configuration for a Cloud Function network endpoint group (NEG).\nThe function must be provided explicitly or in the URL mask.\n\nNote: Cloud Function must be in the same project and located in the same\nregion as the Serverless NEG.", +"id": "NetworkEndpointGroupCloudFunction", +"properties": { +"function": { +"description": "A user-defined name of the Cloud Function.\n\nThe function name is case-sensitive and must be 1-63\ncharacters long.\n\nExample value: func1.", +"type": "string" +}, +"urlMask": { +"description": "An URL\nmask is one of the main components of the Cloud Function.\n\nA template to parse function field from a request URL. URL\nmask allows for routing to multiple Cloud Functions without having to\ncreate multiple Network Endpoint Groups and backend services.\n\nFor example, request URLs mydomain.com/function1 andmydomain.com/function2 can be backed by the same\nServerless NEG with URL mask /. The URL\nmask will parse them to { function = \"function1\" } and{ function = \"function2\" } respectively.", +"type": "string" +} +}, +"type": "object" +}, +"NetworkEndpointGroupCloudRun": { +"description": "Configuration for a Cloud Run network endpoint group (NEG).\nThe service must be provided explicitly or in the URL mask.\nThe tag is optional, may be provided explicitly or in the URL\nmask.\n\nNote: Cloud Run service must be in the same project and located in the same\nregion as the Serverless NEG.", +"id": "NetworkEndpointGroupCloudRun", +"properties": { +"service": { +"description": "Cloud Run service is the main resource of Cloud Run.\n\nThe service must be 1-63 characters long, and comply withRFC1035.\n\nExample value: \"run-service\".", +"type": "string" +}, +"tag": { +"description": "Optional Cloud Run tag represents the \"named-revision\" to provide additional\nfine-grained traffic routing information.\n\nThe tag must be 1-63 characters long, and comply withRFC1035.\n\nExample value: \"revision-0010\".", +"type": "string" +}, +"urlMask": { +"description": "An URL\nmask is one of the main components of the Cloud Function.\n\nA template to parse and fields from a request URL. URL mask allows for\nrouting to multiple Run services without having to create multiple\nnetwork endpoint groups and backend services.\n\nFor example, request URLs foo1.domain.com/bar1 andfoo1.domain.com/bar2 can be backed by the same Serverless\nNetwork Endpoint Group (NEG) with URL mask.domain.com/. The URL mask will\nparse them to { service=\"bar1\", tag=\"foo1\" } and {\nservice=\"bar2\", tag=\"foo2\" } respectively.", +"type": "string" +} +}, +"type": "object" +}, +"NetworkEndpointGroupLbNetworkEndpointGroup": { +"description": "Load balancing specific fields for network endpoint group.", +"id": "NetworkEndpointGroupLbNetworkEndpointGroup", +"properties": { +"defaultPort": { +"deprecated": true, +"description": "The default port used if the port number is not specified in the network\nendpoint.\n\nIf the network endpoint type is either GCE_VM_IP,SERVERLESS or PRIVATE_SERVICE_CONNECT, this\nfield must not be specified.\n[Deprecated] This field is deprecated.", +"format": "int32", +"type": "integer" +}, +"network": { +"deprecated": true, +"description": "The URL of the network to which all network endpoints in the NEG belong.\nUses default project network if unspecified.\n[Deprecated] This field is deprecated.", +"type": "string" +}, +"subnetwork": { +"deprecated": true, +"description": "Optional URL of the subnetwork to which all network endpoints in the NEG\nbelong.\n[Deprecated] This field is deprecated.", +"type": "string" +}, +"zone": { +"deprecated": true, +"description": "Output only. [Output Only] The URL of thezone\nwhere the network endpoint group is located.\n[Deprecated] This field is deprecated.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"NetworkEndpointGroupList": { +"id": "NetworkEndpointGroupList", +"properties": { +"id": { +"description": "[Output Only] Unique identifier for the resource; defined by the server.", +"type": "string" +}, +"items": { +"description": "A list of NetworkEndpointGroup resources.", +"items": { +"$ref": "NetworkEndpointGroup" +}, +"type": "array" +}, +"kind": { +"default": "compute#networkEndpointGroupList", +"description": "Output only. [Output Only] The resource type, which is alwayscompute#networkEndpointGroupList for network endpoint group\nlists.", +"readOnly": true, +"type": "string" +}, +"nextPageToken": { +"description": "[Output Only] This token allows you to get the next page of results for\nlist requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for\nthe query parameter pageToken in the next list request.\nSubsequent list requests will have their own nextPageToken to\ncontinue paging through the results.", +"type": "string" +}, +"selfLink": { +"description": "Output only. [Output Only] Server-defined URL for this resource.", +"readOnly": true, +"type": "string" +}, +"warning": { +"description": "[Output Only] Informational warning message.", +"properties": { +"code": { +"description": "[Output Only] A warning code, if applicable. For example, Compute\nEngine returns NO_RESULTS_ON_PAGE if there\nare no results in the response.", +"enum": [ +"CLEANUP_FAILED", +"DEPRECATED_RESOURCE_USED", +"DEPRECATED_TYPE_USED", +"DISK_SIZE_LARGER_THAN_IMAGE_SIZE", +"EXPERIMENTAL_TYPE_USED", +"EXTERNAL_API_WARNING", +"FIELD_VALUE_OVERRIDEN", +"INJECTED_KERNELS_DEPRECATED", +"INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", +"LARGE_DEPLOYMENT_WARNING", +"LIST_OVERHEAD_QUOTA_EXCEED", +"MISSING_TYPE_DEPENDENCY", +"NEXT_HOP_ADDRESS_NOT_ASSIGNED", +"NEXT_HOP_CANNOT_IP_FORWARD", +"NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", +"NEXT_HOP_INSTANCE_NOT_FOUND", +"NEXT_HOP_INSTANCE_NOT_ON_NETWORK", +"NEXT_HOP_NOT_RUNNING", +"NOT_CRITICAL_ERROR", +"NO_RESULTS_ON_PAGE", +"PARTIAL_SUCCESS", +"QUOTA_INFO_UNAVAILABLE", +"REQUIRED_TOS_AGREEMENT", +"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", +"RESOURCE_NOT_DELETED", +"SCHEMA_VALIDATION_IGNORED", +"SINGLE_INSTANCE_PROPERTY_TEMPLATE", +"UNDECLARED_PROPERTIES", +"UNREACHABLE" +], +"enumDeprecated": [ +false, +false, +false, +false, +false, +false, +true, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false +], +"enumDescriptions": [ +"Warning about failed cleanup of transient changes made by a failed\noperation.", +"A link to a deprecated resource was created.", +"When deploying and at least one of the resources has a type marked as\ndeprecated", +"The user created a boot disk that is larger than image size.", +"When deploying and at least one of the resources has a type marked as\nexperimental", +"Warning that is present in an external api call", +"Warning that value of a field has been overridden.\nDeprecated unused field.", +"The operation involved use of an injected kernel, which is deprecated.", +"A WEIGHTED_MAGLEV backend service is associated with a health check that is\nnot of type HTTP/HTTPS/HTTP2.", +"When deploying a deployment with a exceedingly large number of resources", +"Resource can't be retrieved due to list overhead quota exceed\nwhich captures the amount of resources filtered out by\nuser-defined list filter.", +"A resource depends on a missing type", +"The route's nextHopIp address is not assigned to an instance on the\nnetwork.", +"The route's next hop instance cannot ip forward.", +"The route's nextHopInstance URL refers to an instance that does not have an\nipv6 interface on the same network as the route.", +"The route's nextHopInstance URL refers to an instance that does not exist.", +"The route's nextHopInstance URL refers to an instance that is not on the\nsame network as the route.", +"The route's next hop instance does not have a status of RUNNING.", +"Error which is not critical. We decided to continue the process despite\nthe mentioned error.", +"No results are present on a particular list page.", +"Success is reported, but some results may be missing due to errors", +"Quota information is not available to client requests (e.g:\nregions.list).", +"The user attempted to use a resource that requires a TOS they have not\naccepted.", +"Warning that a resource is in use.", +"One or more of the resources set to auto-delete could not be deleted\nbecause they were in use.", +"When a resource schema validation is ignored.", +"Instance template used in instance group manager is valid as such, but\nits application does not make a lot of sense, because it allows only\nsingle instance in instance group.", +"When undeclared properties in the schema are present", +"A given scope cannot be reached." +], +"type": "string" +}, +"data": { +"description": "[Output Only] Metadata about this warning in key:\nvalue format. For example:\n\n\"data\": [\n {\n \"key\": \"scope\",\n \"value\": \"zones/us-east1-d\"\n }", +"items": { +"properties": { +"key": { +"description": "[Output Only] A key that provides more detail on the warning being\nreturned. For example, for warnings where there are no results in a list\nrequest for a particular zone, this key might be scope and\nthe key value might be the zone name. Other examples might be a key\nindicating a deprecated resource and a suggested replacement, or a\nwarning about invalid network settings (for example, if an instance\nattempts to perform IP forwarding but is not enabled for IP forwarding).", +"type": "string" +}, +"value": { +"description": "[Output Only] A warning data value corresponding to the key.", +"type": "string" +} +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "[Output Only] A human-readable description of the warning code.", +"type": "string" +} +}, +"type": "object" +} +}, +"type": "object" +}, +"NetworkEndpointGroupPscData": { +"description": "All data that is specifically relevant to only network endpoint groups of\ntype PRIVATE_SERVICE_CONNECT.", +"id": "NetworkEndpointGroupPscData", +"properties": { +"consumerPscAddress": { +"description": "Output only. [Output Only] Address allocated from given subnetwork for PSC. This IP\naddress acts as a VIP for a PSC NEG, allowing it to act as an endpoint in\nL7 PSC-XLB.", +"readOnly": true, +"type": "string" +}, +"producerPort": { +"description": "The psc producer port is used to connect PSC NEG with specific port on\nthe PSC Producer side; should only be used for the\nPRIVATE_SERVICE_CONNECT NEG type", +"format": "int32", +"type": "integer" +}, +"pscConnectionId": { +"description": "Output only. [Output Only] The PSC connection id of the PSC Network Endpoint Group\nConsumer.", +"format": "uint64", +"readOnly": true, +"type": "string" +}, +"pscConnectionStatus": { +"description": "Output only. [Output Only] The connection status of the PSC Forwarding Rule.", +"enum": [ +"ACCEPTED", +"CLOSED", +"NEEDS_ATTENTION", +"PENDING", +"REJECTED", +"STATUS_UNSPECIFIED" +], +"enumDescriptions": [ +"The connection has been accepted by the producer.", +"The connection has been closed by the producer and will not serve\ntraffic going forward.", +"The connection has been accepted by the producer, but the producer\nneeds to take further action before the forwarding rule can serve\ntraffic.", +"The connection is pending acceptance by the producer.", +"The connection has been rejected by the producer.", +"" +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"NetworkEndpointGroupServerlessDeployment": { +"description": "Configuration for a serverless network endpoint group (NEG). Theplatform must be provided.\n\nNote: The target backend service must be in the same project and located in\nthe same region as the Serverless NEG.", +"id": "NetworkEndpointGroupServerlessDeployment", +"properties": { +"platform": { +"description": "The platform of the backend target(s) of this NEG.\nThe only supported value is\nAPI Gateway: apigateway.googleapis.com.", +"type": "string" +}, +"resource": { +"description": "The user-defined name of the workload/instance. This value must be\nprovided explicitly or in the urlMask. The resource\nidentified by this value is platform-specific and is as follows:\n\n \n \n 1. API Gateway: The gateway ID\n 2. App Engine: The service name\n 3. Cloud Functions: The function name\n 4. Cloud Run: The service name", +"type": "string" +}, +"urlMask": { +"description": "An URL\nmask is one of the main components of the Cloud Function.\n\nA template to parse platform-specific fields from a request URL. URL mask\nallows for routing to multiple resources on the same serverless platform\nwithout having to create multiple Network Endpoint Groups and backend\nresources. The fields parsed by this template are platform-specific and\nare as follows:\n\n \n \n 1. API Gateway: The gateway ID\n 2. App Engine: The service and version\n 3. Cloud Functions: The function name\n 4. Cloud Run: The service and tag", +"type": "string" +}, +"version": { +"description": "The optional resource version. The version identified by this value is\nplatform-specific and is follows:\n\n \n \n 1. API Gateway: Unused\n 2. App Engine: The service version\n 3. Cloud Functions: Unused\n 4. Cloud Run: The service tag", +"type": "string" +} +}, +"type": "object" +}, +"NetworkEndpointGroupsAttachEndpointsRequest": { +"id": "NetworkEndpointGroupsAttachEndpointsRequest", +"properties": { +"networkEndpoints": { +"description": "The list of network endpoints to be attached.", +"items": { +"$ref": "NetworkEndpoint" +}, +"type": "array" +} +}, +"type": "object" +}, +"NetworkEndpointGroupsDetachEndpointsRequest": { +"id": "NetworkEndpointGroupsDetachEndpointsRequest", +"properties": { +"networkEndpoints": { +"description": "The list of network endpoints to be detached.", +"items": { +"$ref": "NetworkEndpoint" +}, +"type": "array" +} +}, +"type": "object" +}, +"NetworkEndpointGroupsListEndpointsRequest": { +"id": "NetworkEndpointGroupsListEndpointsRequest", +"properties": { +"endpointFilters": { +"description": "Optional list of endpoints to query.\nThis is a more efficient but also limited version of filter parameter.\nEndpoints in the filter must have ip_address and port fields populated,\nother fields are not supported.", +"items": { +"$ref": "NetworkEndpointGroupsListEndpointsRequestNetworkEndpointFilter" +}, +"type": "array" +}, +"healthStatus": { +"description": "Optional query parameter for showing the health status of each network\nendpoint. Valid options are SKIP or SHOW. If you\ndon't specify this parameter, the health status of network endpoints will\nnot be provided.", +"enum": [ +"SHOW", +"SKIP" +], +"enumDescriptions": [ +"Show the health status for each network endpoint. Impacts latency of the\ncall.", +"Health status for network endpoints will not be provided." +], +"type": "string" +} +}, +"type": "object" +}, +"NetworkEndpointGroupsListEndpointsRequestNetworkEndpointFilter": { +"id": "NetworkEndpointGroupsListEndpointsRequestNetworkEndpointFilter", +"properties": { +"networkEndpoint": { +"$ref": "NetworkEndpoint" +} +}, +"type": "object" +}, +"NetworkEndpointGroupsListNetworkEndpoints": { +"id": "NetworkEndpointGroupsListNetworkEndpoints", +"properties": { +"id": { +"description": "[Output Only] Unique identifier for the resource; defined by the server.", +"type": "string" +}, +"items": { +"description": "A list of NetworkEndpointWithHealthStatus resources.", +"items": { +"$ref": "NetworkEndpointWithHealthStatus" +}, +"type": "array" +}, +"kind": { +"default": "compute#networkEndpointGroupsListNetworkEndpoints", +"description": "Output only. [Output Only] The resource type, which is alwayscompute#networkEndpointGroupsListNetworkEndpoints for the list\nof network endpoints in the specified network endpoint group.", +"readOnly": true, +"type": "string" +}, +"nextPageToken": { +"description": "[Output Only] This token allows you to get the next page of results for\nlist requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for\nthe query parameter pageToken in the next list request.\nSubsequent list requests will have their own nextPageToken to\ncontinue paging through the results.", +"type": "string" +}, +"warning": { +"description": "[Output Only] Informational warning message.", +"properties": { +"code": { +"description": "[Output Only] A warning code, if applicable. For example, Compute\nEngine returns NO_RESULTS_ON_PAGE if there\nare no results in the response.", +"enum": [ +"CLEANUP_FAILED", +"DEPRECATED_RESOURCE_USED", +"DEPRECATED_TYPE_USED", +"DISK_SIZE_LARGER_THAN_IMAGE_SIZE", +"EXPERIMENTAL_TYPE_USED", +"EXTERNAL_API_WARNING", +"FIELD_VALUE_OVERRIDEN", +"INJECTED_KERNELS_DEPRECATED", +"INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", +"LARGE_DEPLOYMENT_WARNING", +"LIST_OVERHEAD_QUOTA_EXCEED", +"MISSING_TYPE_DEPENDENCY", +"NEXT_HOP_ADDRESS_NOT_ASSIGNED", +"NEXT_HOP_CANNOT_IP_FORWARD", +"NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", +"NEXT_HOP_INSTANCE_NOT_FOUND", +"NEXT_HOP_INSTANCE_NOT_ON_NETWORK", +"NEXT_HOP_NOT_RUNNING", +"NOT_CRITICAL_ERROR", +"NO_RESULTS_ON_PAGE", +"PARTIAL_SUCCESS", +"QUOTA_INFO_UNAVAILABLE", +"REQUIRED_TOS_AGREEMENT", +"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", +"RESOURCE_NOT_DELETED", +"SCHEMA_VALIDATION_IGNORED", +"SINGLE_INSTANCE_PROPERTY_TEMPLATE", +"UNDECLARED_PROPERTIES", +"UNREACHABLE" +], +"enumDeprecated": [ +false, +false, +false, +false, +false, +false, +true, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false +], +"enumDescriptions": [ +"Warning about failed cleanup of transient changes made by a failed\noperation.", +"A link to a deprecated resource was created.", +"When deploying and at least one of the resources has a type marked as\ndeprecated", +"The user created a boot disk that is larger than image size.", +"When deploying and at least one of the resources has a type marked as\nexperimental", +"Warning that is present in an external api call", +"Warning that value of a field has been overridden.\nDeprecated unused field.", +"The operation involved use of an injected kernel, which is deprecated.", +"A WEIGHTED_MAGLEV backend service is associated with a health check that is\nnot of type HTTP/HTTPS/HTTP2.", +"When deploying a deployment with a exceedingly large number of resources", +"Resource can't be retrieved due to list overhead quota exceed\nwhich captures the amount of resources filtered out by\nuser-defined list filter.", +"A resource depends on a missing type", +"The route's nextHopIp address is not assigned to an instance on the\nnetwork.", +"The route's next hop instance cannot ip forward.", +"The route's nextHopInstance URL refers to an instance that does not have an\nipv6 interface on the same network as the route.", +"The route's nextHopInstance URL refers to an instance that does not exist.", +"The route's nextHopInstance URL refers to an instance that is not on the\nsame network as the route.", +"The route's next hop instance does not have a status of RUNNING.", +"Error which is not critical. We decided to continue the process despite\nthe mentioned error.", +"No results are present on a particular list page.", +"Success is reported, but some results may be missing due to errors", +"Quota information is not available to client requests (e.g:\nregions.list).", +"The user attempted to use a resource that requires a TOS they have not\naccepted.", +"Warning that a resource is in use.", +"One or more of the resources set to auto-delete could not be deleted\nbecause they were in use.", +"When a resource schema validation is ignored.", +"Instance template used in instance group manager is valid as such, but\nits application does not make a lot of sense, because it allows only\nsingle instance in instance group.", +"When undeclared properties in the schema are present", +"A given scope cannot be reached." +], +"type": "string" +}, +"data": { +"description": "[Output Only] Metadata about this warning in key:\nvalue format. For example:\n\n\"data\": [\n {\n \"key\": \"scope\",\n \"value\": \"zones/us-east1-d\"\n }", +"items": { +"properties": { +"key": { +"description": "[Output Only] A key that provides more detail on the warning being\nreturned. For example, for warnings where there are no results in a list\nrequest for a particular zone, this key might be scope and\nthe key value might be the zone name. Other examples might be a key\nindicating a deprecated resource and a suggested replacement, or a\nwarning about invalid network settings (for example, if an instance\nattempts to perform IP forwarding but is not enabled for IP forwarding).", +"type": "string" +}, +"value": { +"description": "[Output Only] A warning data value corresponding to the key.", +"type": "string" +} +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "[Output Only] A human-readable description of the warning code.", +"type": "string" +} +}, +"type": "object" +} +}, +"type": "object" +}, +"NetworkEndpointGroupsScopedList": { +"id": "NetworkEndpointGroupsScopedList", +"properties": { +"networkEndpointGroups": { +"description": "Output only. [Output Only] The list ofnetwork\nendpoint groups that are contained in this scope.", +"items": { +"$ref": "NetworkEndpointGroup" +}, +"readOnly": true, +"type": "array" +}, +"warning": { +"description": "Output only. [Output Only] An informational warning that replaces the list of network\nendpoint groups when the list is empty.", +"properties": { +"code": { +"description": "[Output Only] A warning code, if applicable. For example, Compute\nEngine returns NO_RESULTS_ON_PAGE if there\nare no results in the response.", +"enum": [ +"CLEANUP_FAILED", +"DEPRECATED_RESOURCE_USED", +"DEPRECATED_TYPE_USED", +"DISK_SIZE_LARGER_THAN_IMAGE_SIZE", +"EXPERIMENTAL_TYPE_USED", +"EXTERNAL_API_WARNING", +"FIELD_VALUE_OVERRIDEN", +"INJECTED_KERNELS_DEPRECATED", +"INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", +"LARGE_DEPLOYMENT_WARNING", +"LIST_OVERHEAD_QUOTA_EXCEED", +"MISSING_TYPE_DEPENDENCY", +"NEXT_HOP_ADDRESS_NOT_ASSIGNED", +"NEXT_HOP_CANNOT_IP_FORWARD", +"NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", +"NEXT_HOP_INSTANCE_NOT_FOUND", +"NEXT_HOP_INSTANCE_NOT_ON_NETWORK", +"NEXT_HOP_NOT_RUNNING", +"NOT_CRITICAL_ERROR", +"NO_RESULTS_ON_PAGE", +"PARTIAL_SUCCESS", +"QUOTA_INFO_UNAVAILABLE", +"REQUIRED_TOS_AGREEMENT", +"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", +"RESOURCE_NOT_DELETED", +"SCHEMA_VALIDATION_IGNORED", +"SINGLE_INSTANCE_PROPERTY_TEMPLATE", +"UNDECLARED_PROPERTIES", +"UNREACHABLE" +], +"enumDeprecated": [ +false, +false, +false, +false, +false, +false, +true, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false +], +"enumDescriptions": [ +"Warning about failed cleanup of transient changes made by a failed\noperation.", +"A link to a deprecated resource was created.", +"When deploying and at least one of the resources has a type marked as\ndeprecated", +"The user created a boot disk that is larger than image size.", +"When deploying and at least one of the resources has a type marked as\nexperimental", +"Warning that is present in an external api call", +"Warning that value of a field has been overridden.\nDeprecated unused field.", +"The operation involved use of an injected kernel, which is deprecated.", +"A WEIGHTED_MAGLEV backend service is associated with a health check that is\nnot of type HTTP/HTTPS/HTTP2.", +"When deploying a deployment with a exceedingly large number of resources", +"Resource can't be retrieved due to list overhead quota exceed\nwhich captures the amount of resources filtered out by\nuser-defined list filter.", +"A resource depends on a missing type", +"The route's nextHopIp address is not assigned to an instance on the\nnetwork.", +"The route's next hop instance cannot ip forward.", +"The route's nextHopInstance URL refers to an instance that does not have an\nipv6 interface on the same network as the route.", +"The route's nextHopInstance URL refers to an instance that does not exist.", +"The route's nextHopInstance URL refers to an instance that is not on the\nsame network as the route.", +"The route's next hop instance does not have a status of RUNNING.", +"Error which is not critical. We decided to continue the process despite\nthe mentioned error.", +"No results are present on a particular list page.", +"Success is reported, but some results may be missing due to errors", +"Quota information is not available to client requests (e.g:\nregions.list).", +"The user attempted to use a resource that requires a TOS they have not\naccepted.", +"Warning that a resource is in use.", +"One or more of the resources set to auto-delete could not be deleted\nbecause they were in use.", +"When a resource schema validation is ignored.", +"Instance template used in instance group manager is valid as such, but\nits application does not make a lot of sense, because it allows only\nsingle instance in instance group.", +"When undeclared properties in the schema are present", +"A given scope cannot be reached." +], +"type": "string" +}, +"data": { +"description": "[Output Only] Metadata about this warning in key:\nvalue format. For example:\n\n\"data\": [\n {\n \"key\": \"scope\",\n \"value\": \"zones/us-east1-d\"\n }", +"items": { +"properties": { +"key": { +"description": "[Output Only] A key that provides more detail on the warning being\nreturned. For example, for warnings where there are no results in a list\nrequest for a particular zone, this key might be scope and\nthe key value might be the zone name. Other examples might be a key\nindicating a deprecated resource and a suggested replacement, or a\nwarning about invalid network settings (for example, if an instance\nattempts to perform IP forwarding but is not enabled for IP forwarding).", +"type": "string" +}, +"value": { +"description": "[Output Only] A warning data value corresponding to the key.", +"type": "string" +} +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "[Output Only] A human-readable description of the warning code.", +"type": "string" +} +}, +"readOnly": true, +"type": "object" +} +}, +"type": "object" +}, +"NetworkEndpointWithHealthStatus": { +"id": "NetworkEndpointWithHealthStatus", +"properties": { +"healths": { +"description": "Output only. [Output only] The health status of network endpoint.\n\nOptional. Displayed only if the network endpoint has centralized health\nchecking configured.", +"items": { +"$ref": "HealthStatusForNetworkEndpoint" +}, +"readOnly": true, +"type": "array" +}, +"networkEndpoint": { +"$ref": "NetworkEndpoint", +"description": "Output only. [Output only] The network endpoint.", +"readOnly": true +} +}, +"type": "object" +}, +"NetworkFirewallPolicyAggregatedList": { +"id": "NetworkFirewallPolicyAggregatedList", +"properties": { +"id": { +"description": "[Output Only] Unique identifier for the resource; defined by the server.", +"type": "string" +}, +"items": { +"additionalProperties": { +"$ref": "FirewallPoliciesScopedList", +"description": "Name of the scope containing this set of addresses." +}, +"description": "A list of FirewallPoliciesScopedList resources.", +"type": "object" +}, +"kind": { +"default": "compute#networkFirewallPolicyAggregatedList", +"description": "Output only. [Output Only] Type of resource. Alwayscompute#networkFirewallPoliciesAggregatedList for lists of\nnetwork firewall policies.", +"readOnly": true, +"type": "string" +}, +"nextPageToken": { +"description": "[Output Only] This token allows you to get the next page of results for\nlist requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for\nthe query parameter pageToken in the next list request.\nSubsequent list requests will have their own nextPageToken to\ncontinue paging through the results.", +"type": "string" +}, +"selfLink": { +"description": "Output only. [Output Only] Server-defined URL for this resource.", +"readOnly": true, +"type": "string" +}, +"unreachables": { +"description": "Output only. [Output Only] Unreachable resources.", +"items": { +"type": "string" +}, +"readOnly": true, +"type": "array" +}, +"warning": { +"description": "[Output Only] Informational warning message.", +"properties": { +"code": { +"description": "[Output Only] A warning code, if applicable. For example, Compute\nEngine returns NO_RESULTS_ON_PAGE if there\nare no results in the response.", +"enum": [ +"CLEANUP_FAILED", +"DEPRECATED_RESOURCE_USED", +"DEPRECATED_TYPE_USED", +"DISK_SIZE_LARGER_THAN_IMAGE_SIZE", +"EXPERIMENTAL_TYPE_USED", +"EXTERNAL_API_WARNING", +"FIELD_VALUE_OVERRIDEN", +"INJECTED_KERNELS_DEPRECATED", +"INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", +"LARGE_DEPLOYMENT_WARNING", +"LIST_OVERHEAD_QUOTA_EXCEED", +"MISSING_TYPE_DEPENDENCY", +"NEXT_HOP_ADDRESS_NOT_ASSIGNED", +"NEXT_HOP_CANNOT_IP_FORWARD", +"NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", +"NEXT_HOP_INSTANCE_NOT_FOUND", +"NEXT_HOP_INSTANCE_NOT_ON_NETWORK", +"NEXT_HOP_NOT_RUNNING", +"NOT_CRITICAL_ERROR", +"NO_RESULTS_ON_PAGE", +"PARTIAL_SUCCESS", +"QUOTA_INFO_UNAVAILABLE", +"REQUIRED_TOS_AGREEMENT", +"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", +"RESOURCE_NOT_DELETED", +"SCHEMA_VALIDATION_IGNORED", +"SINGLE_INSTANCE_PROPERTY_TEMPLATE", +"UNDECLARED_PROPERTIES", +"UNREACHABLE" +], +"enumDeprecated": [ +false, +false, +false, +false, +false, +false, +true, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false +], +"enumDescriptions": [ +"Warning about failed cleanup of transient changes made by a failed\noperation.", +"A link to a deprecated resource was created.", +"When deploying and at least one of the resources has a type marked as\ndeprecated", +"The user created a boot disk that is larger than image size.", +"When deploying and at least one of the resources has a type marked as\nexperimental", +"Warning that is present in an external api call", +"Warning that value of a field has been overridden.\nDeprecated unused field.", +"The operation involved use of an injected kernel, which is deprecated.", +"A WEIGHTED_MAGLEV backend service is associated with a health check that is\nnot of type HTTP/HTTPS/HTTP2.", +"When deploying a deployment with a exceedingly large number of resources", +"Resource can't be retrieved due to list overhead quota exceed\nwhich captures the amount of resources filtered out by\nuser-defined list filter.", +"A resource depends on a missing type", +"The route's nextHopIp address is not assigned to an instance on the\nnetwork.", +"The route's next hop instance cannot ip forward.", +"The route's nextHopInstance URL refers to an instance that does not have an\nipv6 interface on the same network as the route.", +"The route's nextHopInstance URL refers to an instance that does not exist.", +"The route's nextHopInstance URL refers to an instance that is not on the\nsame network as the route.", +"The route's next hop instance does not have a status of RUNNING.", +"Error which is not critical. We decided to continue the process despite\nthe mentioned error.", +"No results are present on a particular list page.", +"Success is reported, but some results may be missing due to errors", +"Quota information is not available to client requests (e.g:\nregions.list).", +"The user attempted to use a resource that requires a TOS they have not\naccepted.", +"Warning that a resource is in use.", +"One or more of the resources set to auto-delete could not be deleted\nbecause they were in use.", +"When a resource schema validation is ignored.", +"Instance template used in instance group manager is valid as such, but\nits application does not make a lot of sense, because it allows only\nsingle instance in instance group.", +"When undeclared properties in the schema are present", +"A given scope cannot be reached." +], +"type": "string" +}, +"data": { +"description": "[Output Only] Metadata about this warning in key:\nvalue format. For example:\n\n\"data\": [\n {\n \"key\": \"scope\",\n \"value\": \"zones/us-east1-d\"\n }", +"items": { +"properties": { +"key": { +"description": "[Output Only] A key that provides more detail on the warning being\nreturned. For example, for warnings where there are no results in a list\nrequest for a particular zone, this key might be scope and\nthe key value might be the zone name. Other examples might be a key\nindicating a deprecated resource and a suggested replacement, or a\nwarning about invalid network settings (for example, if an instance\nattempts to perform IP forwarding but is not enabled for IP forwarding).", +"type": "string" +}, +"value": { +"description": "[Output Only] A warning data value corresponding to the key.", +"type": "string" +} +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "[Output Only] A human-readable description of the warning code.", +"type": "string" +} +}, +"type": "object" +} +}, +"type": "object" +}, +"NetworkInterface": { +"description": "A network interface resource attached to an instance.", +"id": "NetworkInterface", +"properties": { +"accessConfigs": { +"description": "An array of configurations for this interface. Currently, only one access\nconfig, ONE_TO_ONE_NAT, is supported. If there are noaccessConfigs specified, then this instance will have\nno external internet access.", +"items": { +"$ref": "AccessConfig" +}, +"type": "array" +}, +"aliasIpRanges": { +"description": "An array of alias IP ranges for this network interface.\nYou can only specify this field for network interfaces in VPC networks.", +"items": { +"$ref": "AliasIpRange" +}, +"type": "array" +}, +"enableVpcScopedDns": { +"description": "Optional. If true, DNS resolution will be enabled over this interface. Only valid\nwith network_attachment.", +"type": "boolean" +}, +"fingerprint": { +"description": "Fingerprint hash of contents stored in this network interface.\nThis field will be ignored when inserting an Instance or\nadding a NetworkInterface. An up-to-date\nfingerprint must be provided in order to update theNetworkInterface. The request will fail with error400 Bad Request if the fingerprint is not provided, or412 Precondition Failed if the fingerprint is out of date.", +"format": "byte", +"type": "string" +}, +"igmpQuery": { +"description": "Indicate whether igmp query is enabled on the network interface\nor not. If enabled, also indicates the version of IGMP supported.", +"enum": [ +"IGMP_QUERY_DISABLED", +"IGMP_QUERY_V2" +], +"enumDescriptions": [ +"The network interface has disabled IGMP query.", +"The network interface has enabled IGMP query - v2." +], +"type": "string" +}, +"internalIpv6PrefixLength": { +"description": "The prefix length of the primary internal IPv6 range.", +"format": "int32", +"type": "integer" +}, +"ipv6AccessConfigs": { +"description": "An array of IPv6 access configurations for this interface. Currently, only\none IPv6 access config, DIRECT_IPV6, is supported. If there\nis no ipv6AccessConfig specified, then this instance will\nhave no external IPv6 Internet access.", +"items": { +"$ref": "AccessConfig" +}, +"type": "array" +}, +"ipv6AccessType": { +"description": "Output only. [Output Only] One of EXTERNAL, INTERNAL to indicate whether the IP can be\naccessed from the Internet. This field is always inherited from its\nsubnetwork.\n\nValid only if stackType is IPV4_IPV6.", +"enum": [ +"EXTERNAL", +"INTERNAL" +], +"enumDescriptions": [ +"This network interface can have external IPv6.", +"This network interface can have internal IPv6." +], +"readOnly": true, +"type": "string" +}, +"ipv6Address": { +"description": "An IPv6 internal network address for this network interface. To\nuse a static internal IP address, it must be unused and in the same region\nas the instance's zone. If not specified, Google Cloud will automatically\nassign an internal IPv6 address from the instance's subnetwork.", +"type": "string" +}, +"kind": { +"default": "compute#networkInterface", +"description": "Output only. [Output Only] Type of the resource. Alwayscompute#networkInterface for network interfaces.", +"readOnly": true, +"type": "string" +}, +"macAddress": { +"description": "Output only. [Output Only] MAC address assigned to this network interface.", +"readOnly": true, +"type": "string" +}, +"name": { +"description": "[Output Only] The name of the network interface, which is generated by the\nserver. For a VM, the network interface uses the nicN naming\nformat. Where N is a value between 0 and7. The default interface value is nic0.", +"type": "string" +}, +"network": { +"description": "URL of the VPC network resource for this instance. When creating an\ninstance, if neither the network nor the subnetwork is specified, the\ndefault network global/networks/default is used. If the\nselected project doesn't have the default network, you must specify a\nnetwork or subnet. If the network is not specified but the subnetwork is\nspecified, the network is inferred.\n\nIf you specify this property, you can specify the network as\na full or partial URL. For example, the following are all valid URLs:\n \n \n - https://www.googleapis.com/compute/v1/projects/project/global/networks/network\n - projects/project/global/networks/network\n - global/networks/default", +"type": "string" +}, +"networkAttachment": { +"description": "The URL of the network attachment that this interface should connect\nto in the following format:\nprojects/{project_number}/regions/{region_name}/networkAttachments/{network_attachment_name}.", +"type": "string" +}, +"networkIP": { +"description": "An IPv4 internal IP address to assign to the instance for this network\ninterface. If not specified by the user, an unused internal IP is\nassigned by the system.", +"type": "string" +}, +"nicType": { +"description": "The type of vNIC to be used on this interface. This may be gVNIC or\nVirtioNet.", +"enum": [ +"GVNIC", +"IDPF", +"IRDMA", +"MRDMA", +"UNSPECIFIED_NIC_TYPE", +"VIRTIO_NET" +], +"enumDescriptions": [ +"GVNIC", +"IDPF", +"IRDMA", +"MRDMA", +"No type specified.", +"VIRTIO" +], +"type": "string" +}, +"parentNicName": { +"description": "Name of the parent network interface of a dynamic network interface.", +"type": "string" +}, +"queueCount": { +"description": "The networking queue count that's specified by users for the network\ninterface. Both Rx and Tx queues will be set to this number. It'll be empty\nif not specified by the users.", +"format": "int32", +"type": "integer" +}, +"stackType": { +"description": "The stack type for this network interface. To assign only IPv4 addresses,\nuse IPV4_ONLY. To assign both IPv4 and IPv6 addresses, useIPV4_IPV6. If not specified, IPV4_ONLY is used.\n\nThis field can be both set at instance creation and update network\ninterface operations.", +"enum": [ +"IPV4_IPV6", +"IPV4_ONLY", +"IPV6_ONLY" +], +"enumDescriptions": [ +"The network interface can have both IPv4 and IPv6 addresses.", +"The network interface will only be assigned IPv4 addresses.", +"The network interface will only be assigned IPv6 addresses." +], +"type": "string" +}, +"subnetwork": { +"description": "The URL of the Subnetwork resource for this instance. If the network\nresource is inlegacy\nmode, do not specify this field. If the network is in auto subnet\nmode, specifying the subnetwork is optional. If the network is in custom\nsubnet mode, specifying the subnetwork is required. If you specify this\nfield, you can specify the subnetwork as a full or partial URL. For\nexample, the following are all valid URLs:\n \n \n - https://www.googleapis.com/compute/v1/projects/project/regions/region/subnetworks/subnetwork \n - regions/region/subnetworks/subnetwork", +"type": "string" +}, +"vlan": { +"description": "VLAN tag of a dynamic network interface, must be an integer in the range\nfrom 2 to 255 inclusively.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"NetworkList": { +"description": "Contains a list of networks.", +"id": "NetworkList", +"properties": { +"id": { +"description": "[Output Only] Unique identifier for the resource; defined by the server.", +"type": "string" +}, +"items": { +"description": "A list of Network resources.", +"items": { +"$ref": "Network" +}, +"type": "array" +}, +"kind": { +"default": "compute#networkList", +"description": "Output only. [Output Only] Type of resource. Always compute#networkList for\nlists of networks.", +"readOnly": true, +"type": "string" +}, +"nextPageToken": { +"description": "[Output Only] This token allows you to get the next page of results for\nlist requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for\nthe query parameter pageToken in the next list request.\nSubsequent list requests will have their own nextPageToken to\ncontinue paging through the results.", +"type": "string" +}, +"selfLink": { +"description": "Output only. [Output Only] Server-defined URL for this resource.", +"readOnly": true, +"type": "string" +}, +"warning": { +"description": "[Output Only] Informational warning message.", +"properties": { +"code": { +"description": "[Output Only] A warning code, if applicable. For example, Compute\nEngine returns NO_RESULTS_ON_PAGE if there\nare no results in the response.", +"enum": [ +"CLEANUP_FAILED", +"DEPRECATED_RESOURCE_USED", +"DEPRECATED_TYPE_USED", +"DISK_SIZE_LARGER_THAN_IMAGE_SIZE", +"EXPERIMENTAL_TYPE_USED", +"EXTERNAL_API_WARNING", +"FIELD_VALUE_OVERRIDEN", +"INJECTED_KERNELS_DEPRECATED", +"INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", +"LARGE_DEPLOYMENT_WARNING", +"LIST_OVERHEAD_QUOTA_EXCEED", +"MISSING_TYPE_DEPENDENCY", +"NEXT_HOP_ADDRESS_NOT_ASSIGNED", +"NEXT_HOP_CANNOT_IP_FORWARD", +"NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", +"NEXT_HOP_INSTANCE_NOT_FOUND", +"NEXT_HOP_INSTANCE_NOT_ON_NETWORK", +"NEXT_HOP_NOT_RUNNING", +"NOT_CRITICAL_ERROR", +"NO_RESULTS_ON_PAGE", +"PARTIAL_SUCCESS", +"QUOTA_INFO_UNAVAILABLE", +"REQUIRED_TOS_AGREEMENT", +"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", +"RESOURCE_NOT_DELETED", +"SCHEMA_VALIDATION_IGNORED", +"SINGLE_INSTANCE_PROPERTY_TEMPLATE", +"UNDECLARED_PROPERTIES", +"UNREACHABLE" +], +"enumDeprecated": [ +false, +false, +false, +false, +false, +false, +true, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false +], +"enumDescriptions": [ +"Warning about failed cleanup of transient changes made by a failed\noperation.", +"A link to a deprecated resource was created.", +"When deploying and at least one of the resources has a type marked as\ndeprecated", +"The user created a boot disk that is larger than image size.", +"When deploying and at least one of the resources has a type marked as\nexperimental", +"Warning that is present in an external api call", +"Warning that value of a field has been overridden.\nDeprecated unused field.", +"The operation involved use of an injected kernel, which is deprecated.", +"A WEIGHTED_MAGLEV backend service is associated with a health check that is\nnot of type HTTP/HTTPS/HTTP2.", +"When deploying a deployment with a exceedingly large number of resources", +"Resource can't be retrieved due to list overhead quota exceed\nwhich captures the amount of resources filtered out by\nuser-defined list filter.", +"A resource depends on a missing type", +"The route's nextHopIp address is not assigned to an instance on the\nnetwork.", +"The route's next hop instance cannot ip forward.", +"The route's nextHopInstance URL refers to an instance that does not have an\nipv6 interface on the same network as the route.", +"The route's nextHopInstance URL refers to an instance that does not exist.", +"The route's nextHopInstance URL refers to an instance that is not on the\nsame network as the route.", +"The route's next hop instance does not have a status of RUNNING.", +"Error which is not critical. We decided to continue the process despite\nthe mentioned error.", +"No results are present on a particular list page.", +"Success is reported, but some results may be missing due to errors", +"Quota information is not available to client requests (e.g:\nregions.list).", +"The user attempted to use a resource that requires a TOS they have not\naccepted.", +"Warning that a resource is in use.", +"One or more of the resources set to auto-delete could not be deleted\nbecause they were in use.", +"When a resource schema validation is ignored.", +"Instance template used in instance group manager is valid as such, but\nits application does not make a lot of sense, because it allows only\nsingle instance in instance group.", +"When undeclared properties in the schema are present", +"A given scope cannot be reached." +], +"type": "string" +}, +"data": { +"description": "[Output Only] Metadata about this warning in key:\nvalue format. For example:\n\n\"data\": [\n {\n \"key\": \"scope\",\n \"value\": \"zones/us-east1-d\"\n }", +"items": { +"properties": { +"key": { +"description": "[Output Only] A key that provides more detail on the warning being\nreturned. For example, for warnings where there are no results in a list\nrequest for a particular zone, this key might be scope and\nthe key value might be the zone name. Other examples might be a key\nindicating a deprecated resource and a suggested replacement, or a\nwarning about invalid network settings (for example, if an instance\nattempts to perform IP forwarding but is not enabled for IP forwarding).", +"type": "string" +}, +"value": { +"description": "[Output Only] A warning data value corresponding to the key.", +"type": "string" +} +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "[Output Only] A human-readable description of the warning code.", +"type": "string" +} +}, +"type": "object" +} +}, +"type": "object" +}, +"NetworkParams": { +"description": "Additional network parameters.", +"id": "NetworkParams", +"properties": { +"resourceManagerTags": { +"additionalProperties": { +"type": "string" +}, +"description": "Tag keys/values directly bound to this resource.\nTag keys and values have the same definition as resource\nmanager tags. The field is allowed for INSERT\nonly. The keys/values to set on the resource should be specified in\neither ID { : } or Namespaced format\n{ : }.\nFor example the following are valid inputs:\n* {\"tagKeys/333\" : \"tagValues/444\", \"tagKeys/123\" : \"tagValues/456\"}\n* {\"123/environment\" : \"production\", \"345/abc\" : \"xyz\"}\nNote:\n* Invalid combinations of ID & namespaced format is not supported. For\n instance: {\"123/environment\" : \"tagValues/444\"} is invalid.", +"type": "object" +} +}, +"type": "object" +}, +"NetworkPeering": { +"description": "A network peering attached to a network resource. The message includes the\npeering name, peer network, peering state, and a flag indicating whether\nGoogle Compute Engine should automatically create routes for the peering.", +"id": "NetworkPeering", +"properties": { +"autoCreateRoutes": { +"description": "This field will be deprecated soon. Use theexchange_subnet_routes field instead.\nIndicates whether full mesh connectivity is created and managed\nautomatically between peered networks. Currently this field should always\nbe true since Google Compute Engine will automatically create and manage\nsubnetwork routes between two networks when peering state isACTIVE.", +"type": "boolean" +}, +"connectionStatus": { +"$ref": "NetworkPeeringConnectionStatus", +"description": "Output only. [Output Only] The effective state of the peering connection\nas a whole.", +"readOnly": true +}, +"exchangeSubnetRoutes": { +"description": "Indicates whether full mesh connectivity is created and managed\nautomatically between peered networks. Currently this field should always\nbe true since Google Compute Engine will automatically create and manage\nsubnetwork routes between two networks when peering state isACTIVE.", +"type": "boolean" +}, +"exportCustomRoutes": { +"description": "Whether to export the custom routes to peer network. The default value is\nfalse.", +"type": "boolean" +}, +"exportSubnetRoutesWithPublicIp": { +"description": "Whether subnet routes with public IP range are exported. The default value\nis true, all subnet routes are exported.IPv4\nspecial-use ranges are always\nexported to peers and are not controlled by this field.", +"type": "boolean" +}, +"importCustomRoutes": { +"description": "Whether to import the custom routes from peer network. The default value is\nfalse.", +"type": "boolean" +}, +"importSubnetRoutesWithPublicIp": { +"description": "Whether subnet routes with public IP range are imported. The default value\nis false.IPv4\nspecial-use ranges are always\nimported from peers and are not controlled by this field.", +"type": "boolean" +}, +"name": { +"description": "Name of this peering. Provided by the client when the peering is created.\nThe name must comply withRFC1035.\nSpecifically, the name must be 1-63 characters long and match regular\nexpression `[a-z]([-a-z0-9]*[a-z0-9])?`. The first character must be a\nlowercase letter, and all the following characters must be a dash,\nlowercase letter, or digit, except the last character, which cannot be a\ndash.", +"type": "string" +}, +"network": { +"description": "The URL of the peer network. It can be either full URL or partial URL. The\npeer network may belong to a different project. If the partial URL does not\ncontain project, it is assumed that the peer network is in the same project\nas the current network.", +"type": "string" +}, +"peerMtu": { +"description": "Output only. [Output Only] Maximum Transmission Unit in bytes of the peer network.", +"format": "int32", +"readOnly": true, +"type": "integer" +}, +"stackType": { +"description": "Which IP version(s) of traffic and routes are allowed to be imported or\nexported between peer networks. The default value is IPV4_ONLY.", +"enum": [ +"IPV4_IPV6", +"IPV4_ONLY" +], +"enumDescriptions": [ +"This Peering will allow IPv4 traffic and routes to be\nexchanged. Additionally if the matching peering is\nIPV4_IPV6, IPv6 traffic and routes will be exchanged as\nwell.", +"This Peering will only allow IPv4 traffic and routes to be\nexchanged, even if the matching peering is IPV4_IPV6." +], +"type": "string" +}, +"state": { +"description": "Output only. [Output Only] State for the peering.", +"enum": [ +"ACTIVE", +"INACTIVE" +], +"enumDescriptions": [ +"Matching configuration exists on the peer.", +"There is no matching configuration on the peer, including the case when\npeer does not exist." +], +"readOnly": true, +"type": "string" +}, +"stateDetails": { +"description": "Output only. [Output Only] Details about the current state of the peering.", +"readOnly": true, +"type": "string" +}, +"updateStrategy": { +"description": "The update strategy determines the semantics for updates and deletes to the\npeering connection configuration.", +"enum": [ +"CONSENSUS", +"INDEPENDENT", +"UNSPECIFIED" +], +"enumDescriptions": [ +"Updates are reflected in the local peering but aren't applied to the\npeering connection until a complementary change is made to the\nmatching peering.\nTo delete a peering with the consensus update strategy, both the peerings\nmust request the deletion of the peering before the peering can be\ndeleted.", +"In this mode, changes to the peering configuration can\nbe unilaterally altered by changing either side of the peering.\nThis is the default value if the field is unspecified.", +"Peerings with update strategy UNSPECIFIED are created with\nupdate strategy INDEPENDENT." +], +"type": "string" +} +}, +"type": "object" +}, +"NetworkPeeringConnectionStatus": { +"description": "[Output Only] Describes the state of a peering connection, not just the\nlocal peering. This field provides information about the effective settings\nfor the connection as a whole, including pending delete/update requests for\nCONSENSUS peerings.", +"id": "NetworkPeeringConnectionStatus", +"properties": { +"consensusState": { +"$ref": "NetworkPeeringConnectionStatusConsensusState", +"description": "The consensus state contains information about the status of update\nand delete for a consensus peering connection." +}, +"trafficConfiguration": { +"$ref": "NetworkPeeringConnectionStatusTrafficConfiguration", +"description": "The active connectivity settings for the peering connection based on the\nsettings of the network peerings." +}, +"updateStrategy": { +"description": "The update strategy determines the update/delete semantics for this\npeering connection.", +"enum": [ +"CONSENSUS", +"INDEPENDENT", +"UNSPECIFIED" +], +"enumDescriptions": [ +"Updates are reflected in the local peering but aren't applied to the\npeering connection until a complementary change is made to the\nmatching peering.\nTo delete a peering with the consensus update strategy, both the peerings\nmust request the deletion of the peering before the peering can be\ndeleted.", +"In this mode, changes to the peering configuration can\nbe unilaterally altered by changing either side of the peering.\nThis is the default value if the field is unspecified.", +"Peerings with update strategy UNSPECIFIED are created with\nupdate strategy INDEPENDENT." +], +"type": "string" +} +}, +"type": "object" +}, +"NetworkPeeringConnectionStatusConsensusState": { +"description": "The status of update/delete for a consensus peering connection. Only set\nwhen connection_status.update_strategy isCONSENSUS or a network peering is proposing to update the\nstrategy to CONSENSUS.", +"id": "NetworkPeeringConnectionStatusConsensusState", +"properties": { +"deleteStatus": { +"description": "The status of the delete request.", +"enum": [ +"DELETE_ACKNOWLEDGED", +"DELETE_STATUS_UNSPECIFIED", +"LOCAL_CANCEL_REQUESTED", +"LOCAL_DELETE_REQUESTED", +"PEER_CANCEL_REQUESTED", +"PEER_DELETE_REQUESTED" +], +"enumDescriptions": [ +"Both network admins have agreed this consensus peering connection can\nbe deleted.", +"", +"The local network admin requested to cancel their delete request\nafter DELETE_ACKNOWLEDGED.", +"Network admin has requested deletion of this peering connection.", +"The peer network admin requested to cancel their delete request after\nDELETE_ACKNOWLEDGED.", +"The peer network admin has requested deletion of this peering\nconnection." +], +"type": "string" +}, +"updateStatus": { +"description": "The status of the update request.", +"enum": [ +"IN_SYNC", +"PENDING_LOCAL_ACKNOWLEDMENT", +"PENDING_PEER_ACKNOWLEDGEMENT", +"UPDATE_STATUS_UNSPECIFIED" +], +"enumDescriptions": [ +"No pending configuration update proposals to the peering connection.", +"The peer network admin has made an updatePeering call. The change is\nawaiting acknowledgment from this peering's network admin.", +"The local network admin has made an updatePeering call. The change\nis awaiting acknowledgment from the peer network admin.", +"" +], +"type": "string" +} +}, +"type": "object" +}, +"NetworkPeeringConnectionStatusTrafficConfiguration": { +"id": "NetworkPeeringConnectionStatusTrafficConfiguration", +"properties": { +"exportCustomRoutesToPeer": { +"description": "Whether custom routes are being exported to the peer network.", +"type": "boolean" +}, +"exportSubnetRoutesWithPublicIpToPeer": { +"description": "Whether subnet routes with public IP ranges are being exported to the\npeer network.", +"type": "boolean" +}, +"importCustomRoutesFromPeer": { +"description": "Whether custom routes are being imported from the peer network.", +"type": "boolean" +}, +"importSubnetRoutesWithPublicIpFromPeer": { +"description": "Whether subnet routes with public IP ranges are being imported\nfrom the peer network.", +"type": "boolean" +}, +"stackType": { +"description": "Which IP version(s) of traffic and routes are being imported or\nexported between peer networks.", +"enum": [ +"IPV4_IPV6", +"IPV4_ONLY" +], +"enumDescriptions": [ +"This Peering will allow IPv4 traffic and routes to be\nexchanged. Additionally if the matching peering is\nIPV4_IPV6, IPv6 traffic and routes will be exchanged as\nwell.", +"This Peering will only allow IPv4 traffic and routes to be\nexchanged, even if the matching peering is IPV4_IPV6." +], +"type": "string" +} +}, +"type": "object" +}, +"NetworkPerformanceConfig": { +"id": "NetworkPerformanceConfig", +"properties": { +"totalEgressBandwidthTier": { +"enum": [ +"DEFAULT", +"TIER_1" +], +"enumDescriptions": [ +"", +"" +], +"type": "string" +} +}, +"type": "object" +}, +"NetworkPoliciesScopedList": { +"id": "NetworkPoliciesScopedList", +"properties": { +"networkPolicies": { +"description": "A list of network policies contained in this scope.", +"items": { +"$ref": "NetworkPolicy" +}, +"type": "array" +}, +"warning": { +"description": "Informational warning which replaces the list of network policies when\nthe list is empty.", +"properties": { +"code": { +"description": "[Output Only] A warning code, if applicable. For example, Compute\nEngine returns NO_RESULTS_ON_PAGE if there\nare no results in the response.", +"enum": [ +"CLEANUP_FAILED", +"DEPRECATED_RESOURCE_USED", +"DEPRECATED_TYPE_USED", +"DISK_SIZE_LARGER_THAN_IMAGE_SIZE", +"EXPERIMENTAL_TYPE_USED", +"EXTERNAL_API_WARNING", +"FIELD_VALUE_OVERRIDEN", +"INJECTED_KERNELS_DEPRECATED", +"INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", +"LARGE_DEPLOYMENT_WARNING", +"LIST_OVERHEAD_QUOTA_EXCEED", +"MISSING_TYPE_DEPENDENCY", +"NEXT_HOP_ADDRESS_NOT_ASSIGNED", +"NEXT_HOP_CANNOT_IP_FORWARD", +"NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", +"NEXT_HOP_INSTANCE_NOT_FOUND", +"NEXT_HOP_INSTANCE_NOT_ON_NETWORK", +"NEXT_HOP_NOT_RUNNING", +"NOT_CRITICAL_ERROR", +"NO_RESULTS_ON_PAGE", +"PARTIAL_SUCCESS", +"QUOTA_INFO_UNAVAILABLE", +"REQUIRED_TOS_AGREEMENT", +"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", +"RESOURCE_NOT_DELETED", +"SCHEMA_VALIDATION_IGNORED", +"SINGLE_INSTANCE_PROPERTY_TEMPLATE", +"UNDECLARED_PROPERTIES", +"UNREACHABLE" +], +"enumDeprecated": [ +false, +false, +false, +false, +false, +false, +true, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false +], +"enumDescriptions": [ +"Warning about failed cleanup of transient changes made by a failed\noperation.", +"A link to a deprecated resource was created.", +"When deploying and at least one of the resources has a type marked as\ndeprecated", +"The user created a boot disk that is larger than image size.", +"When deploying and at least one of the resources has a type marked as\nexperimental", +"Warning that is present in an external api call", +"Warning that value of a field has been overridden.\nDeprecated unused field.", +"The operation involved use of an injected kernel, which is deprecated.", +"A WEIGHTED_MAGLEV backend service is associated with a health check that is\nnot of type HTTP/HTTPS/HTTP2.", +"When deploying a deployment with a exceedingly large number of resources", +"Resource can't be retrieved due to list overhead quota exceed\nwhich captures the amount of resources filtered out by\nuser-defined list filter.", +"A resource depends on a missing type", +"The route's nextHopIp address is not assigned to an instance on the\nnetwork.", +"The route's next hop instance cannot ip forward.", +"The route's nextHopInstance URL refers to an instance that does not have an\nipv6 interface on the same network as the route.", +"The route's nextHopInstance URL refers to an instance that does not exist.", +"The route's nextHopInstance URL refers to an instance that is not on the\nsame network as the route.", +"The route's next hop instance does not have a status of RUNNING.", +"Error which is not critical. We decided to continue the process despite\nthe mentioned error.", +"No results are present on a particular list page.", +"Success is reported, but some results may be missing due to errors", +"Quota information is not available to client requests (e.g:\nregions.list).", +"The user attempted to use a resource that requires a TOS they have not\naccepted.", +"Warning that a resource is in use.", +"One or more of the resources set to auto-delete could not be deleted\nbecause they were in use.", +"When a resource schema validation is ignored.", +"Instance template used in instance group manager is valid as such, but\nits application does not make a lot of sense, because it allows only\nsingle instance in instance group.", +"When undeclared properties in the schema are present", +"A given scope cannot be reached." +], +"type": "string" +}, +"data": { +"description": "[Output Only] Metadata about this warning in key:\nvalue format. For example:\n\n\"data\": [\n {\n \"key\": \"scope\",\n \"value\": \"zones/us-east1-d\"\n }", +"items": { +"properties": { +"key": { +"description": "[Output Only] A key that provides more detail on the warning being\nreturned. For example, for warnings where there are no results in a list\nrequest for a particular zone, this key might be scope and\nthe key value might be the zone name. Other examples might be a key\nindicating a deprecated resource and a suggested replacement, or a\nwarning about invalid network settings (for example, if an instance\nattempts to perform IP forwarding but is not enabled for IP forwarding).", +"type": "string" +}, +"value": { +"description": "[Output Only] A warning data value corresponding to the key.", +"type": "string" +} +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "[Output Only] A human-readable description of the warning code.", +"type": "string" +} +}, +"type": "object" +} +}, +"type": "object" +}, +"NetworkPolicy": { +"description": "Represents a Network Policy resource.", +"id": "NetworkPolicy", +"properties": { +"associations": { +"description": "Output only. [Output Only] A list of associations that belong to this network policy.", +"items": { +"$ref": "NetworkPolicyAssociation" +}, +"readOnly": true, +"type": "array" +}, +"creationTimestamp": { +"description": "Output only. [Output Only] Creation timestamp inRFC3339\ntext format.", +"readOnly": true, +"type": "string" +}, +"description": { +"description": "An optional description of this resource. Provide this property when you\ncreate the resource.", +"type": "string" +}, +"id": { +"description": "[Output Only] The unique identifier for the resource. This identifier is\ndefined by the server.", +"format": "uint64", +"type": "string" +}, +"kind": { +"default": "compute#networkPolicy", +"description": "Output only. [Output only] Type of the resource. Alwayscompute#networkPolicy for network policies", +"readOnly": true, +"type": "string" +}, +"name": { +"description": "Name of the resource.", +"type": "string" +}, +"region": { +"description": "Output only. [Output Only] URL of the region where the regional network policy resides.\nYou must specify this field as part of the HTTP request URL. It is\nnot settable as a field in the request body.", +"readOnly": true, +"type": "string" +}, +"ruleTupleCount": { +"description": "Output only. [Output Only] Total count of all network policy rule tuples. A network\npolicy can not exceed a set number of tuples.", +"format": "int32", +"readOnly": true, +"type": "integer" +}, +"selfLink": { +"description": "Output only. [Output Only] Server-defined URL for the resource.", +"readOnly": true, +"type": "string" +}, +"selfLinkWithId": { +"description": "Output only. [Output Only] Server-defined URL for this resource with the resource id.", +"readOnly": true, +"type": "string" +}, +"trafficClassificationRules": { +"description": "Output only. [Output Only] A list of traffic classification rules that belong to this\npolicy.", +"items": { +"$ref": "NetworkPolicyTrafficClassificationRule" +}, +"readOnly": true, +"type": "array" +} +}, +"type": "object" +}, +"NetworkPolicyAggregatedList": { +"id": "NetworkPolicyAggregatedList", +"properties": { +"id": { +"description": "[Output Only] Unique identifier for the resource; defined by the server.", +"type": "string" +}, +"items": { +"additionalProperties": { +"$ref": "NetworkPoliciesScopedList", +"description": "Name of the scope containing this set of addresses." +}, +"description": "A list of NetworkPoliciesScopedList resources.", +"type": "object" +}, +"kind": { +"default": "compute#networkPolicyAggregatedList", +"description": "Output only. [Output Only] Type of resource. Alwayscompute#networkPolicyAggregatedList for lists of\nnetwork policies.", +"readOnly": true, +"type": "string" +}, +"nextPageToken": { +"description": "[Output Only] This token allows you to get the next page of results for\nlist requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for\nthe query parameter pageToken in the next list request.\nSubsequent list requests will have their own nextPageToken to\ncontinue paging through the results.", +"type": "string" +}, +"selfLink": { +"description": "Output only. [Output Only] Server-defined URL for this resource.", +"readOnly": true, +"type": "string" +}, +"unreachables": { +"description": "Output only. [Output Only] Unreachable resources.", +"items": { +"type": "string" +}, +"readOnly": true, +"type": "array" +}, +"warning": { +"description": "[Output Only] Informational warning message.", +"properties": { +"code": { +"description": "[Output Only] A warning code, if applicable. For example, Compute\nEngine returns NO_RESULTS_ON_PAGE if there\nare no results in the response.", +"enum": [ +"CLEANUP_FAILED", +"DEPRECATED_RESOURCE_USED", +"DEPRECATED_TYPE_USED", +"DISK_SIZE_LARGER_THAN_IMAGE_SIZE", +"EXPERIMENTAL_TYPE_USED", +"EXTERNAL_API_WARNING", +"FIELD_VALUE_OVERRIDEN", +"INJECTED_KERNELS_DEPRECATED", +"INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", +"LARGE_DEPLOYMENT_WARNING", +"LIST_OVERHEAD_QUOTA_EXCEED", +"MISSING_TYPE_DEPENDENCY", +"NEXT_HOP_ADDRESS_NOT_ASSIGNED", +"NEXT_HOP_CANNOT_IP_FORWARD", +"NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", +"NEXT_HOP_INSTANCE_NOT_FOUND", +"NEXT_HOP_INSTANCE_NOT_ON_NETWORK", +"NEXT_HOP_NOT_RUNNING", +"NOT_CRITICAL_ERROR", +"NO_RESULTS_ON_PAGE", +"PARTIAL_SUCCESS", +"QUOTA_INFO_UNAVAILABLE", +"REQUIRED_TOS_AGREEMENT", +"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", +"RESOURCE_NOT_DELETED", +"SCHEMA_VALIDATION_IGNORED", +"SINGLE_INSTANCE_PROPERTY_TEMPLATE", +"UNDECLARED_PROPERTIES", +"UNREACHABLE" +], +"enumDeprecated": [ +false, +false, +false, +false, +false, +false, +true, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false +], +"enumDescriptions": [ +"Warning about failed cleanup of transient changes made by a failed\noperation.", +"A link to a deprecated resource was created.", +"When deploying and at least one of the resources has a type marked as\ndeprecated", +"The user created a boot disk that is larger than image size.", +"When deploying and at least one of the resources has a type marked as\nexperimental", +"Warning that is present in an external api call", +"Warning that value of a field has been overridden.\nDeprecated unused field.", +"The operation involved use of an injected kernel, which is deprecated.", +"A WEIGHTED_MAGLEV backend service is associated with a health check that is\nnot of type HTTP/HTTPS/HTTP2.", +"When deploying a deployment with a exceedingly large number of resources", +"Resource can't be retrieved due to list overhead quota exceed\nwhich captures the amount of resources filtered out by\nuser-defined list filter.", +"A resource depends on a missing type", +"The route's nextHopIp address is not assigned to an instance on the\nnetwork.", +"The route's next hop instance cannot ip forward.", +"The route's nextHopInstance URL refers to an instance that does not have an\nipv6 interface on the same network as the route.", +"The route's nextHopInstance URL refers to an instance that does not exist.", +"The route's nextHopInstance URL refers to an instance that is not on the\nsame network as the route.", +"The route's next hop instance does not have a status of RUNNING.", +"Error which is not critical. We decided to continue the process despite\nthe mentioned error.", +"No results are present on a particular list page.", +"Success is reported, but some results may be missing due to errors", +"Quota information is not available to client requests (e.g:\nregions.list).", +"The user attempted to use a resource that requires a TOS they have not\naccepted.", +"Warning that a resource is in use.", +"One or more of the resources set to auto-delete could not be deleted\nbecause they were in use.", +"When a resource schema validation is ignored.", +"Instance template used in instance group manager is valid as such, but\nits application does not make a lot of sense, because it allows only\nsingle instance in instance group.", +"When undeclared properties in the schema are present", +"A given scope cannot be reached." +], +"type": "string" +}, +"data": { +"description": "[Output Only] Metadata about this warning in key:\nvalue format. For example:\n\n\"data\": [\n {\n \"key\": \"scope\",\n \"value\": \"zones/us-east1-d\"\n }", +"items": { +"properties": { +"key": { +"description": "[Output Only] A key that provides more detail on the warning being\nreturned. For example, for warnings where there are no results in a list\nrequest for a particular zone, this key might be scope and\nthe key value might be the zone name. Other examples might be a key\nindicating a deprecated resource and a suggested replacement, or a\nwarning about invalid network settings (for example, if an instance\nattempts to perform IP forwarding but is not enabled for IP forwarding).", +"type": "string" +}, +"value": { +"description": "[Output Only] A warning data value corresponding to the key.", +"type": "string" +} +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "[Output Only] A human-readable description of the warning code.", +"type": "string" +} +}, +"type": "object" +} +}, +"type": "object" +}, +"NetworkPolicyAssociation": { +"id": "NetworkPolicyAssociation", +"properties": { +"attachmentTarget": { +"description": "The target that the network policy is attached to.", +"type": "string" +}, +"name": { +"description": "The name for an association.", +"type": "string" +} +}, +"type": "object" +}, +"NetworkPolicyList": { +"id": "NetworkPolicyList", +"properties": { +"id": { +"description": "[Output Only] Unique identifier for the resource; defined by the server.", +"type": "string" +}, +"items": { +"description": "A list of NetworkPolicy resources.", +"items": { +"$ref": "NetworkPolicy" +}, +"type": "array" +}, +"kind": { +"default": "compute#networkPolicyList", +"description": "Output only. [Output Only] Type of resource. Alwayscompute#networkPolicyList for lists of network policies.", +"readOnly": true, +"type": "string" +}, +"nextPageToken": { +"description": "[Output Only] This token allows you to get the next page of results for\nlist requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for\nthe query parameter pageToken in the next list request.\nSubsequent list requests will have their own nextPageToken to\ncontinue paging through the results.", +"type": "string" +}, +"warning": { +"description": "[Output Only] Informational warning message.", +"properties": { +"code": { +"description": "[Output Only] A warning code, if applicable. For example, Compute\nEngine returns NO_RESULTS_ON_PAGE if there\nare no results in the response.", +"enum": [ +"CLEANUP_FAILED", +"DEPRECATED_RESOURCE_USED", +"DEPRECATED_TYPE_USED", +"DISK_SIZE_LARGER_THAN_IMAGE_SIZE", +"EXPERIMENTAL_TYPE_USED", +"EXTERNAL_API_WARNING", +"FIELD_VALUE_OVERRIDEN", +"INJECTED_KERNELS_DEPRECATED", +"INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", +"LARGE_DEPLOYMENT_WARNING", +"LIST_OVERHEAD_QUOTA_EXCEED", +"MISSING_TYPE_DEPENDENCY", +"NEXT_HOP_ADDRESS_NOT_ASSIGNED", +"NEXT_HOP_CANNOT_IP_FORWARD", +"NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", +"NEXT_HOP_INSTANCE_NOT_FOUND", +"NEXT_HOP_INSTANCE_NOT_ON_NETWORK", +"NEXT_HOP_NOT_RUNNING", +"NOT_CRITICAL_ERROR", +"NO_RESULTS_ON_PAGE", +"PARTIAL_SUCCESS", +"QUOTA_INFO_UNAVAILABLE", +"REQUIRED_TOS_AGREEMENT", +"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", +"RESOURCE_NOT_DELETED", +"SCHEMA_VALIDATION_IGNORED", +"SINGLE_INSTANCE_PROPERTY_TEMPLATE", +"UNDECLARED_PROPERTIES", +"UNREACHABLE" +], +"enumDeprecated": [ +false, +false, +false, +false, +false, +false, +true, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false +], +"enumDescriptions": [ +"Warning about failed cleanup of transient changes made by a failed\noperation.", +"A link to a deprecated resource was created.", +"When deploying and at least one of the resources has a type marked as\ndeprecated", +"The user created a boot disk that is larger than image size.", +"When deploying and at least one of the resources has a type marked as\nexperimental", +"Warning that is present in an external api call", +"Warning that value of a field has been overridden.\nDeprecated unused field.", +"The operation involved use of an injected kernel, which is deprecated.", +"A WEIGHTED_MAGLEV backend service is associated with a health check that is\nnot of type HTTP/HTTPS/HTTP2.", +"When deploying a deployment with a exceedingly large number of resources", +"Resource can't be retrieved due to list overhead quota exceed\nwhich captures the amount of resources filtered out by\nuser-defined list filter.", +"A resource depends on a missing type", +"The route's nextHopIp address is not assigned to an instance on the\nnetwork.", +"The route's next hop instance cannot ip forward.", +"The route's nextHopInstance URL refers to an instance that does not have an\nipv6 interface on the same network as the route.", +"The route's nextHopInstance URL refers to an instance that does not exist.", +"The route's nextHopInstance URL refers to an instance that is not on the\nsame network as the route.", +"The route's next hop instance does not have a status of RUNNING.", +"Error which is not critical. We decided to continue the process despite\nthe mentioned error.", +"No results are present on a particular list page.", +"Success is reported, but some results may be missing due to errors", +"Quota information is not available to client requests (e.g:\nregions.list).", +"The user attempted to use a resource that requires a TOS they have not\naccepted.", +"Warning that a resource is in use.", +"One or more of the resources set to auto-delete could not be deleted\nbecause they were in use.", +"When a resource schema validation is ignored.", +"Instance template used in instance group manager is valid as such, but\nits application does not make a lot of sense, because it allows only\nsingle instance in instance group.", +"When undeclared properties in the schema are present", +"A given scope cannot be reached." +], +"type": "string" +}, +"data": { +"description": "[Output Only] Metadata about this warning in key:\nvalue format. For example:\n\n\"data\": [\n {\n \"key\": \"scope\",\n \"value\": \"zones/us-east1-d\"\n }", +"items": { +"properties": { +"key": { +"description": "[Output Only] A key that provides more detail on the warning being\nreturned. For example, for warnings where there are no results in a list\nrequest for a particular zone, this key might be scope and\nthe key value might be the zone name. Other examples might be a key\nindicating a deprecated resource and a suggested replacement, or a\nwarning about invalid network settings (for example, if an instance\nattempts to perform IP forwarding but is not enabled for IP forwarding).", +"type": "string" +}, +"value": { +"description": "[Output Only] A warning data value corresponding to the key.", +"type": "string" +} +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "[Output Only] A human-readable description of the warning code.", +"type": "string" +} +}, +"type": "object" +} +}, +"type": "object" +}, +"NetworkPolicyTrafficClassificationRule": { +"description": "Represents a traffic classification rule that describes one or more match\nconditions along with the action to be taken when traffic matches this\ncondition.", +"id": "NetworkPolicyTrafficClassificationRule", +"properties": { +"action": { +"$ref": "NetworkPolicyTrafficClassificationRuleAction", +"description": "The Action to perform when the client connection triggers the rule." +}, +"description": { +"description": "An optional description for this resource.", +"type": "string" +}, +"disabled": { +"description": "Denotes whether the network policy rule is disabled. When set to true,\nthe network policy rule is not enforced and traffic behaves as if it did\nnot exist. If this is unspecified, the network policy rule will be\nenabled.", +"type": "boolean" +}, +"kind": { +"default": "compute#networkPolicyTrafficClassificationRule", +"description": "Output only. [Output only] Type of the resource. Alwayscompute#networkPolicyTrafficClassificationRule for network\npolicy traffic classification rules", +"readOnly": true, +"type": "string" +}, +"match": { +"$ref": "NetworkPolicyTrafficClassificationRuleMatcher", +"description": "A match condition that outgoing traffic is evaluated against.\nIf it evaluates to true, the corresponding 'action' is enforced." +}, +"priority": { +"description": "An integer indicating the priority of a rule in the list. The priority\nmust be a positive value between 1 and 2147482647.\nThe priority values from 2147482648 to 2147483647 (1000) are reserved for\nsystem default network policy rules. Rules are evaluated from highest to\nlowest priority where 1 is the highest priority and 2147483647 is the\nlowest priority.", +"format": "int32", +"type": "integer" +}, +"ruleName": { +"description": "An optional name for the rule. This field is not a unique identifier\nand can be updated.", +"type": "string" +}, +"ruleTupleCount": { +"description": "Output only. [Output Only] Calculation of the complexity of a single network policy\nrule.", +"format": "int32", +"readOnly": true, +"type": "integer" +}, +"targetSecureTags": { +"description": "A list of secure tags that controls which instances the traffic\nclassification rule applies to. If targetSecureTag are\nspecified, then the traffic classification rule applies only to instances\nin the VPC network that have one of those EFFECTIVE secure tags, if all\nthe targetSecureTag are in INEFFECTIVE state, then this rule\nwill be ignored. targetSecureTag may not be set at the same\ntime as targetServiceAccounts. If neithertargetServiceAccounts nor targetSecureTag are\nspecified, the traffic classification rule applies to all instances on\nthe specified network. Maximum number of target label tags allowed is\n256.", +"items": { +"$ref": "NetworkPolicyTrafficClassificationRuleSecureTag" +}, +"type": "array" +}, +"targetServiceAccounts": { +"description": "A list of service accounts indicating the sets of instances that are\napplied with this rule.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"NetworkPolicyTrafficClassificationRuleAction": { +"id": "NetworkPolicyTrafficClassificationRuleAction", +"properties": { +"dscpMode": { +"description": "DSCP mode. When set to AUTO, the DSCP value will be picked\nautomatically based on selected trafficClass. Otherwise,dscpValue needs to be explicitly specified.", +"enum": [ +"AUTO", +"CUSTOM" +], +"enumDescriptions": [ +"DSCP value will be automatically picked up based on configured\ntraffic_class.", +"Allows to specify custom DSCP value from selected traffic_class\nrange." +], +"type": "string" +}, +"dscpValue": { +"description": "Custom DSCP value from 0-63 range.", +"format": "int32", +"type": "integer" +}, +"trafficClass": { +"description": "The traffic class that should be applied to the matching packet.", +"enum": [ +"TC1", +"TC2", +"TC3", +"TC4", +"TC5", +"TC6" +], +"enumDescriptions": [ +"Traffic Class 1, corresponding to DSCP ranges (0-7) 000xxx.", +"Traffic Class 2, corresponding to DSCP ranges (8-15) 001xxx.", +"Traffic Class 3, corresponding to DSCP ranges (16-23) 010xxx.", +"Traffic Class 4, corresponding to DSCP ranges (24-31) 011xxx.", +"Traffic Class 5, corresponding to DSCP ranges (32-47) 10xxxx.", +"Traffic Class 6, corresponding to DSCP ranges (48-63) 11xxxx." +], +"type": "string" +}, +"type": { +"description": "Always \"apply_traffic_classification\" for traffic classification rules.", +"type": "string" +} +}, +"type": "object" +}, +"NetworkPolicyTrafficClassificationRuleMatcher": { +"description": "Represents a match condition that incoming traffic is evaluated against.\nExactly one field must be specified.", +"id": "NetworkPolicyTrafficClassificationRuleMatcher", +"properties": { +"destIpRanges": { +"description": "CIDR IP address range.\nMaximum number of destination CIDR IP ranges allowed is 5000.", +"items": { +"type": "string" +}, +"type": "array" +}, +"layer4Configs": { +"description": "Pairs of IP protocols and ports that the rule should match.", +"items": { +"$ref": "NetworkPolicyTrafficClassificationRuleMatcherLayer4Config" +}, +"type": "array" +}, +"srcIpRanges": { +"description": "CIDR IP address range.\nMaximum number of source CIDR IP ranges allowed is 5000.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"NetworkPolicyTrafficClassificationRuleMatcherLayer4Config": { +"id": "NetworkPolicyTrafficClassificationRuleMatcherLayer4Config", +"properties": { +"ipProtocol": { +"description": "The IP protocol to which this rule applies. The protocol type is\nrequired when creating a traffic classification rule. This value can\neither be one of the following well known protocol strings\n(tcp, udp, icmp,esp, ah, ipip,sctp), or the IP protocol number.", +"type": "string" +}, +"ports": { +"description": "An optional list of ports to which this rule applies. This field is\nonly applicable for UDP, TCP or SCTP protocol. Each entry must be\neither an integer or a range. If not specified, this rule applies to\nconnections through any port.\n\nExample inputs include: [\"22\"],[\"80\",\"443\"], and [\"12345-12349\"].", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"NetworkPolicyTrafficClassificationRuleSecureTag": { +"id": "NetworkPolicyTrafficClassificationRuleSecureTag", +"properties": { +"name": { +"description": "Name of the secure tag, created with TagManager's TagValue API.", +"pattern": "tagValues/[0-9]+", +"type": "string" +}, +"state": { +"description": "Output only. [Output Only] State of the secure tag, either `EFFECTIVE` or\n`INEFFECTIVE`. A secure tag is `INEFFECTIVE` when it is deleted\nor its network is deleted.", +"enum": [ +"EFFECTIVE", +"INEFFECTIVE", +"STATE_UNSPECIFIED" +], +"enumDescriptions": [ +"", +"", +"" +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"NetworkProfile": { +"description": "NetworkProfile represents a Google managed network profile resource.", +"id": "NetworkProfile", +"properties": { +"creationTimestamp": { +"description": "Output only. [Output Only] Creation timestamp inRFC3339\ntext format.", +"readOnly": true, +"type": "string" +}, +"description": { +"description": "Output only. [Output Only] An optional description of this resource.", +"readOnly": true, +"type": "string" +}, +"features": { +"$ref": "NetworkProfileNetworkFeatures", +"description": "Output only. [Output Only] Features supported by the network.", +"readOnly": true +}, +"id": { +"description": "Output only. [Output Only] The unique identifier for the resource. This identifier is\ndefined by the server.", +"format": "uint64", +"readOnly": true, +"type": "string" +}, +"kind": { +"default": "compute#networkProfile", +"description": "Output only. [Output Only] Type of the resource. Alwayscompute#networkProfile for network profiles.", +"readOnly": true, +"type": "string" +}, +"location": { +"$ref": "NetworkProfileLocation", +"description": "Output only. [Output Only] Location to which the network is restricted.", +"readOnly": true +}, +"name": { +"description": "Output only. [Output Only] Name of the resource.", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"readOnly": true, +"type": "string" +}, +"profileType": { +"$ref": "NetworkProfileProfileType", +"description": "Output only. [Output Only] Type of the network profile.", +"readOnly": true +}, +"selfLink": { +"description": "Output only. [Output Only] Server-defined URL for the resource.", +"readOnly": true, +"type": "string" +}, +"selfLinkWithId": { +"description": "Output only. [Output Only] Server-defined URL for this resource with the resource id.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"NetworkProfileLocation": { +"id": "NetworkProfileLocation", +"properties": { +"name": { +"type": "string" +}, +"scope": { +"enum": [ +"REGION", +"ZONE" +], +"enumDescriptions": [ +"", +"" +], +"type": "string" +} +}, +"type": "object" +}, +"NetworkProfileNetworkFeatures": { +"id": "NetworkProfileNetworkFeatures", +"properties": { +"addressPurposes": { +"description": "Specifies what address purposes are supported. If empty, all address\npurposes are supported.", +"items": { +"enum": [ +"DNS_RESOLVER", +"GCE_ENDPOINT", +"IPSEC_INTERCONNECT", +"NAT_AUTO", +"PRIVATE_SERVICE_CONNECT", +"SERVERLESS", +"SHARED_LOADBALANCER_VIP", +"VPC_PEERING" +], +"enumDescriptions": [ +"DNS resolver address in the subnetwork.", +"VM internal/alias IP, Internal LB service IP, etc.", +"A regional internal IP address range reserved for the VLAN attachment\nthat is used in HA VPN over Cloud Interconnect. This regional\ninternal IP address range must not overlap with any IP address range\nof subnet/route in the VPC network and its peering networks. After the\nVLAN attachment is created with the reserved IP address range, when\ncreating a new VPN gateway, its interface IP address is allocated\nfrom the associated VLAN attachment\u2019s IP address range.", +"External IP automatically reserved for Cloud NAT.", +"A private network IP address that can be used to configure Private\nService Connect. This purpose can be specified only forGLOBAL addresses of Type INTERNAL", +"A regional internal IP address range reserved for Serverless.", +"A private network IP address that can be shared by multiple Internal\nLoad Balancer forwarding rules.", +"IP range for peer networks." +], +"type": "string" +}, +"type": "array" +}, +"allowAddressCreation": { +"description": "Specifies whether address creation is allowed.", +"enum": [ +"ADDRESS_CREATION_ALLOWED", +"ADDRESS_CREATION_BLOCKED" +], +"enumDescriptions": [ +"", +"" +], +"type": "string" +}, +"allowAliasIpRanges": { +"description": "Specifies whether alias IP ranges (and secondary address ranges) are\nallowed.", +"enum": [ +"ALIAS_IP_RANGES_ALLOWED", +"ALIAS_IP_RANGES_BLOCKED" +], +"enumDescriptions": [ +"", +"" +], +"type": "string" +}, +"allowAutoModeSubnet": { +"description": "Specifies whether auto mode subnet creation is allowed.", +"enum": [ +"AUTO_MODE_SUBNET_ALLOWED", +"AUTO_MODE_SUBNET_BLOCKED" +], +"enumDescriptions": [ +"", +"" +], +"type": "string" +}, +"allowClassDFirewalls": { +"description": "Specifies whether firewalls for Class D address ranges are supported.", +"enum": [ +"CLASS_D_FIREWALLS_ALLOWED", +"CLASS_D_FIREWALLS_BLOCKED" +], +"enumDescriptions": [ +"", +"" +], +"type": "string" +}, +"allowCloudNat": { +"description": "Specifies whether cloud NAT creation is allowed.", +"enum": [ +"CLOUD_NAT_ALLOWED", +"CLOUD_NAT_BLOCKED" +], +"enumDescriptions": [ +"", +"" +], +"type": "string" +}, +"allowCloudRouter": { +"description": "Specifies whether cloud router creation is allowed.", +"enum": [ +"CLOUD_ROUTER_ALLOWED", +"CLOUD_ROUTER_BLOCKED" +], +"enumDescriptions": [ +"", +"" +], +"type": "string" +}, +"allowDefaultNicAttachment": { +"description": "Specifies whether default NIC attachment is allowed.", +"enum": [ +"DEFAULT_NIC_ATTACHMENT_ALLOWED", +"DEFAULT_NIC_ATTACHMENT_BLOCKED" +], +"enumDescriptions": [ +"", +"" +], +"type": "string" +}, +"allowExternalIpAccess": { +"description": "Specifies whether VMs are allowed to have external IP access on network\ninterfaces connected to this VPC.", +"enum": [ +"EXTERNAL_IP_ACCESS_ALLOWED", +"EXTERNAL_IP_ACCESS_BLOCKED" +], +"enumDescriptions": [ +"", +"" +], +"type": "string" +}, +"allowFirewallPolicy": { +"description": "Specifies whether firewall policy can be attached to the network.", +"enum": [ +"FIREWALL_POLICY_ALLOWED", +"FIREWALL_POLICY_BLOCKED" +], +"enumDescriptions": [ +"", +"" +], +"type": "string" +}, +"allowInterconnect": { +"description": "Specifies whether Cloud Interconnect creation is allowed.", +"enum": [ +"INTERCONNECT_ALLOWED", +"INTERCONNECT_BLOCKED" +], +"enumDescriptions": [ +"", +"" +], +"type": "string" +}, +"allowIpForwarding": { +"description": "Specifies whether IP forwarding is allowed.", +"enum": [ +"IP_FORWARDING_ALLOWED", +"IP_FORWARDING_BLOCKED" +], +"enumDescriptions": [ +"", +"" +], +"type": "string" +}, +"allowLoadBalancing": { +"description": "Specifies whether cloud load balancing is allowed.", +"enum": [ +"LOAD_BALANCING_ALLOWED", +"LOAD_BALANCING_BLOCKED" +], +"enumDescriptions": [ +"", +"" +], +"type": "string" +}, +"allowMultiNicInSameNetwork": { +"description": "Specifies whether multi-nic in the same network is allowed.", +"enum": [ +"MULTI_NIC_IN_SAME_NETWORK_ALLOWED", +"MULTI_NIC_IN_SAME_NETWORK_BLOCKED" +], +"enumDescriptions": [ +"", +"" +], +"type": "string" +}, +"allowMultiNicInSameSubnetwork": { +"description": "Specifies whether multi-nic in the same subnetwork is allowed.", +"enum": [ +"MULTI_NIC_IN_SAME_SUBNETWORK_ALLOWED", +"MULTI_NIC_IN_SAME_SUBNETWORK_BLOCKED" +], +"enumDescriptions": [ +"", +"" +], +"type": "string" +}, +"allowMulticast": { +"description": "Specifies whether multicast is allowed.", +"enum": [ +"MULTICAST_ALLOWED", +"MULTICAST_BLOCKED" +], +"enumDescriptions": [ +"", +"" +], +"type": "string" +}, +"allowNcc": { +"description": "Specifies whether NCC is allowed.", +"enum": [ +"NCC_ALLOWED", +"NCC_BLOCKED" +], +"enumDescriptions": [ +"", +"" +], +"type": "string" +}, +"allowNetworkMigration": { +"description": "Specifies whether VM network migration is allowed.", +"enum": [ +"NETWORK_MIGRATION_ALLOWED", +"NETWORK_MIGRATION_BLOCKED" +], +"enumDescriptions": [ +"", +"" +], +"type": "string" +}, +"allowPacketMirroring": { +"description": "Specifies whether Packet Mirroring 1.0 is supported.", +"enum": [ +"PACKET_MIRRORING_ALLOWED", +"PACKET_MIRRORING_BLOCKED" +], +"enumDescriptions": [ +"", +"" +], +"type": "string" +}, +"allowPrivateGoogleAccess": { +"description": "Specifies whether private Google access is allowed.", +"enum": [ +"PRIVATE_GOOGLE_ACCESS_ALLOWED", +"PRIVATE_GOOGLE_ACCESS_BLOCKED" +], +"enumDescriptions": [ +"", +"" +], +"type": "string" +}, +"allowPsc": { +"description": "Specifies whether PSC creation is allowed.", +"enum": [ +"PSC_ALLOWED", +"PSC_BLOCKED" +], +"enumDescriptions": [ +"", +"" +], +"type": "string" +}, +"allowSameNetworkUnicast": { +"description": "Specifies whether unicast within the same network is allowed.", +"enum": [ +"SAME_NETWORK_UNICAST_ALLOWED", +"SAME_NETWORK_UNICAST_BLOCKED" +], +"enumDescriptions": [ +"", +"" +], +"type": "string" +}, +"allowStaticRoutes": { +"description": "Specifies whether static route creation is allowed.", +"enum": [ +"STATIC_ROUTES_ALLOWED", +"STATIC_ROUTES_BLOCKED" +], +"enumDescriptions": [ +"", +"" +], +"type": "string" +}, +"allowSubInterfaces": { +"description": "Specifies whether sub interfaces are allowed.", +"enum": [ +"SUBINTERFACES_ALLOWED", +"SUBINTERFACES_BLOCKED" +], +"enumDescriptions": [ +"", +"" +], +"type": "string" +}, +"allowSubnetworkCreation": { +"description": "Specifies whether subnetwork creation is allowed.", +"enum": [ +"SUBNETWORK_CREATION_ALLOWED", +"SUBNETWORK_CREATION_BLOCKED" +], +"enumDescriptions": [ +"", +"" +], +"type": "string" +}, +"allowVpcFirewallRules": { +"description": "Specifies whether VPC firewall rules can be created under the network.", +"enum": [ +"VPC_FIREWALL_RULES_ALLOWED", +"VPC_FIREWALL_RULES_BLOCKED" +], +"enumDescriptions": [ +"", +"" +], +"type": "string" +}, +"allowVpcPeering": { +"description": "Specifies whether VPC peering is allowed.", +"enum": [ +"VPC_PEERING_ALLOWED", +"VPC_PEERING_BLOCKED" +], +"enumDescriptions": [ +"", +"" +], +"type": "string" +}, +"allowVpn": { +"description": "Specifies whether VPN creation is allowed.", +"enum": [ +"VPN_ALLOWED", +"VPN_BLOCKED" +], +"enumDescriptions": [ +"", +"" +], +"type": "string" +}, +"firewallPolicyTypes": { +"items": { +"enum": [ +"RDMA_FALCON_POLICY", +"RDMA_ROCE_POLICY", +"ULL_POLICY", +"VPC_POLICY" +], +"enumDescriptions": [ +"", +"", +"", +"" +], +"type": "string" +}, +"type": "array" +}, +"interfaceTypes": { +"description": "If set, limits the interface types that the network supports. If\nempty, all interface types are supported.", +"items": { +"enum": [ +"GVNIC", +"IDPF", +"IRDMA", +"MRDMA", +"UNSPECIFIED_NIC_TYPE", +"VIRTIO_NET" +], +"enumDescriptions": [ +"GVNIC", +"IDPF", +"IRDMA", +"MRDMA", +"No type specified.", +"VIRTIO" +], +"type": "string" +}, +"type": "array" +}, +"multicast": { +"description": "Specifies which type of multicast is supported.", +"enum": [ +"MULTICAST_SDN", +"MULTICAST_ULL" +], +"enumDescriptions": [ +"", +"" +], +"type": "string" +}, +"predefinedNetworkInternalIpv6Range": { +"description": "Specifies a predefined internal IPv6 range for the network.", +"type": "string" +}, +"predefinedSubnetworkRanges": { +"description": "Predefined subnetwork ranges for the network.", +"items": { +"$ref": "NetworkProfileNetworkFeaturesPredefinedSubnetworkRange" +}, +"type": "array" +}, +"subnetPurposes": { +"description": "Specifies which subnetwork purposes are supported.", +"items": { +"enum": [ +"SUBNET_PURPOSE_CUSTOM_HARDWARE", +"SUBNET_PURPOSE_PRIVATE" +], +"enumDescriptions": [ +"", +"" +], +"type": "string" +}, +"type": "array" +}, +"subnetStackTypes": { +"description": "Specifies which subnetwork stack types are supported.", +"items": { +"enum": [ +"SUBNET_STACK_TYPE_IPV4_IPV6", +"SUBNET_STACK_TYPE_IPV4_ONLY", +"SUBNET_STACK_TYPE_IPV6_ONLY" +], +"enumDescriptions": [ +"", +"", +"" +], +"type": "string" +}, +"type": "array" +}, +"subnetworkPurposes": { +"description": "Output only. Specifies which subnetwork purposes are supported.", +"items": { +"enum": [ +"GLOBAL_MANAGED_PROXY", +"INTERNAL_HTTPS_LOAD_BALANCER", +"PEER_MIGRATION", +"PRIVATE", +"PRIVATE_NAT", +"PRIVATE_RFC_1918", +"PRIVATE_SERVICE_CONNECT", +"REGIONAL_MANAGED_PROXY" +], +"enumDescriptions": [ +"Subnet reserved for Global Envoy-based Load Balancing.", +"Subnet reserved for Internal HTTP(S) Load Balancing. This is a legacy\npurpose, please use REGIONAL_MANAGED_PROXY instead.", +"Subnetwork will be used for Migration from one peered VPC to another.\n(a transient state of subnetwork\nwhile migrating resources from one project to another).", +"Regular user created or automatically created subnet.", +"Subnetwork used as source range for Private NAT Gateways.", +"Regular user created or automatically created subnet.", +"Subnetworks created for Private Service Connect in the producer network.", +"Subnetwork used for Regional Envoy-based Load Balancing." +], +"type": "string" +}, +"readOnly": true, +"type": "array" +}, +"subnetworkStackTypes": { +"description": "Output only. Specifies which subnetwork stack types are supported.", +"items": { +"enum": [ +"IPV4_IPV6", +"IPV4_ONLY", +"IPV6_ONLY" +], +"enumDescriptions": [ +"New VMs in this subnet can have both IPv4 and IPv6 addresses.", +"New VMs in this subnet will only be assigned IPv4 addresses.", +"New VMs in this subnet will only be assigned IPv6 addresses." +], +"type": "string" +}, +"readOnly": true, +"type": "array" +}, +"unicast": { +"description": "Specifies which type of unicast is supported.", +"enum": [ +"UNICAST_SDN", +"UNICAST_ULL" +], +"enumDescriptions": [ +"", +"" +], +"type": "string" +} +}, +"type": "object" +}, +"NetworkProfileNetworkFeaturesPredefinedSubnetworkRange": { +"id": "NetworkProfileNetworkFeaturesPredefinedSubnetworkRange", +"properties": { +"ipv6Range": { +"description": "The IPv6 range of the predefined subnetwork.", +"type": "string" +}, +"namePrefix": { +"description": "The naming prefix of the predefined subnetwork.", +"type": "string" +} +}, +"type": "object" +}, +"NetworkProfileProfileType": { +"id": "NetworkProfileProfileType", +"properties": { +"networkType": { +"enum": [ +"RDMA", +"ULL", +"VPC" +], +"enumDescriptions": [ +"RDMA network.", +"ULL network.", +"VPC network." +], +"type": "string" +}, +"rdmaSubtype": { +"enum": [ +"FALCON", +"ROCE", +"ROCE_METAL" +], +"enumDescriptions": [ +"RDMA over Falcon.", +"RDMA over Converged Ethernet (RoCE).", +"RDMA over Converged Ethernet (RoCE) for Bare Metal." +], +"type": "string" +}, +"ullSubtype": { +"enum": [ +"OPERATOR", +"PARTICIPANT" +], +"enumDescriptions": [ +"Exchange operator.", +"Exchange participant." +], +"type": "string" +}, +"vpcSubtype": { +"enum": [ +"REGIONAL" +], +"enumDescriptions": [ +"Regionally bound VPC network." +], +"type": "string" +} +}, +"type": "object" +}, +"NetworkProfilesListResponse": { +"description": "Contains a list of network profiles.", +"id": "NetworkProfilesListResponse", +"properties": { +"etag": { +"type": "string" +}, +"id": { +"description": "[Output Only] Unique identifier for the resource; defined by the server.", +"type": "string" +}, +"items": { +"description": "A list of NetworkProfile resources.", +"items": { +"$ref": "NetworkProfile" +}, +"type": "array" +}, +"kind": { +"default": "compute#networkProfileList", +"description": "Output only. [Output Only] Type of resource. Alwayscompute#networkProfileList for network profiles.", +"readOnly": true, +"type": "string" +}, +"nextPageToken": { +"description": "[Output Only] This token allows you to get the next page of results for\nlist requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value\nfor\nthe query parameter pageToken in the next list request.\nSubsequent list requests will have their own nextPageToken\nto\ncontinue paging through the results.", +"type": "string" +}, +"selfLink": { +"description": "Output only. [Output Only] Server-defined URL for this resource.", +"readOnly": true, +"type": "string" +}, +"unreachables": { +"description": "Output only. [Output Only] Unreachable resources.\nend_interface: MixerListResponseWithEtagBuilder", +"items": { +"type": "string" +}, +"readOnly": true, +"type": "array" +}, +"warning": { +"description": "[Output Only] Informational warning message.", +"properties": { +"code": { +"description": "[Output Only] A warning code, if applicable. For example, Compute\nEngine returns NO_RESULTS_ON_PAGE if there\nare no results in the response.", +"enum": [ +"CLEANUP_FAILED", +"DEPRECATED_RESOURCE_USED", +"DEPRECATED_TYPE_USED", +"DISK_SIZE_LARGER_THAN_IMAGE_SIZE", +"EXPERIMENTAL_TYPE_USED", +"EXTERNAL_API_WARNING", +"FIELD_VALUE_OVERRIDEN", +"INJECTED_KERNELS_DEPRECATED", +"INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", +"LARGE_DEPLOYMENT_WARNING", +"LIST_OVERHEAD_QUOTA_EXCEED", +"MISSING_TYPE_DEPENDENCY", +"NEXT_HOP_ADDRESS_NOT_ASSIGNED", +"NEXT_HOP_CANNOT_IP_FORWARD", +"NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", +"NEXT_HOP_INSTANCE_NOT_FOUND", +"NEXT_HOP_INSTANCE_NOT_ON_NETWORK", +"NEXT_HOP_NOT_RUNNING", +"NOT_CRITICAL_ERROR", +"NO_RESULTS_ON_PAGE", +"PARTIAL_SUCCESS", +"QUOTA_INFO_UNAVAILABLE", +"REQUIRED_TOS_AGREEMENT", +"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", +"RESOURCE_NOT_DELETED", +"SCHEMA_VALIDATION_IGNORED", +"SINGLE_INSTANCE_PROPERTY_TEMPLATE", +"UNDECLARED_PROPERTIES", +"UNREACHABLE" +], +"enumDeprecated": [ +false, +false, +false, +false, +false, +false, +true, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false +], +"enumDescriptions": [ +"Warning about failed cleanup of transient changes made by a failed\noperation.", +"A link to a deprecated resource was created.", +"When deploying and at least one of the resources has a type marked as\ndeprecated", +"The user created a boot disk that is larger than image size.", +"When deploying and at least one of the resources has a type marked as\nexperimental", +"Warning that is present in an external api call", +"Warning that value of a field has been overridden.\nDeprecated unused field.", +"The operation involved use of an injected kernel, which is deprecated.", +"A WEIGHTED_MAGLEV backend service is associated with a health check that is\nnot of type HTTP/HTTPS/HTTP2.", +"When deploying a deployment with a exceedingly large number of resources", +"Resource can't be retrieved due to list overhead quota exceed\nwhich captures the amount of resources filtered out by\nuser-defined list filter.", +"A resource depends on a missing type", +"The route's nextHopIp address is not assigned to an instance on the\nnetwork.", +"The route's next hop instance cannot ip forward.", +"The route's nextHopInstance URL refers to an instance that does not have an\nipv6 interface on the same network as the route.", +"The route's nextHopInstance URL refers to an instance that does not exist.", +"The route's nextHopInstance URL refers to an instance that is not on the\nsame network as the route.", +"The route's next hop instance does not have a status of RUNNING.", +"Error which is not critical. We decided to continue the process despite\nthe mentioned error.", +"No results are present on a particular list page.", +"Success is reported, but some results may be missing due to errors", +"Quota information is not available to client requests (e.g:\nregions.list).", +"The user attempted to use a resource that requires a TOS they have not\naccepted.", +"Warning that a resource is in use.", +"One or more of the resources set to auto-delete could not be deleted\nbecause they were in use.", +"When a resource schema validation is ignored.", +"Instance template used in instance group manager is valid as such, but\nits application does not make a lot of sense, because it allows only\nsingle instance in instance group.", +"When undeclared properties in the schema are present", +"A given scope cannot be reached." +], +"type": "string" +}, +"data": { +"description": "[Output Only] Metadata about this warning in key:\nvalue format. For example:\n\n\"data\": [\n {\n \"key\": \"scope\",\n \"value\": \"zones/us-east1-d\"\n }", +"items": { +"properties": { +"key": { +"description": "[Output Only] A key that provides more detail on the warning being\nreturned. For example, for warnings where there are no results in a list\nrequest for a particular zone, this key might be scope and\nthe key value might be the zone name. Other examples might be a key\nindicating a deprecated resource and a suggested replacement, or a\nwarning about invalid network settings (for example, if an instance\nattempts to perform IP forwarding but is not enabled for IP forwarding).", +"type": "string" +}, +"value": { +"description": "[Output Only] A warning data value corresponding to the key.", +"type": "string" +} +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "[Output Only] A human-readable description of the warning code.", +"type": "string" +} +}, +"type": "object" +} +}, +"type": "object" +}, +"NetworkRoutingConfig": { +"description": "A routing configuration attached to a network resource. The message\nincludes the list of routers associated with the network, and a flag\nindicating the type of routing behavior to enforce network-wide.", +"id": "NetworkRoutingConfig", +"properties": { +"bgpAlwaysCompareMed": { +"description": "Enable comparison of Multi-Exit Discriminators (MED) across routes with\ndifferent neighbor ASNs when using the STANDARD BGP best path selection\nalgorithm.", +"type": "boolean" +}, +"bgpBestPathSelectionMode": { +"description": "The BGP best path selection algorithm to be employed within this network\nfor dynamic routes learned by Cloud Routers. Can be LEGACY\n(default) or STANDARD.", +"enum": [ +"LEGACY", +"STANDARD" +], +"enumDescriptions": [ +"", +"" +], +"type": "string" +}, +"bgpInterRegionCost": { +"description": "Allows to define a preferred approach for handling inter-region cost in\nthe selection process when using the STANDARD BGP best path\nselection algorithm. Can be DEFAULT orADD_COST_TO_MED.", +"enum": [ +"ADD_COST_TO_MED", +"DEFAULT" +], +"enumDescriptions": [ +"", +"" +], +"type": "string" +}, +"effectiveBgpAlwaysCompareMed": { +"description": "Output only. [Output Only] Effective value of the bgp_always_compare_med\nfield.", +"readOnly": true, +"type": "boolean" +}, +"effectiveBgpInterRegionCost": { +"description": "Output only. [Output Only] Effective value of the bgp_inter_region_cost\nfield.", +"enum": [ +"ADD_COST_TO_MED", +"DEFAULT" +], +"enumDescriptions": [ +"", +"" +], +"readOnly": true, +"type": "string" +}, +"routingMode": { +"description": "The network-wide routing mode to use. If set to REGIONAL,\nthis network's Cloud Routers will only advertise routes with subnets\nof this network in the same region as the router. If set toGLOBAL, this network's Cloud Routers will advertise\nroutes with all subnets of this network, across regions.", +"enum": [ +"GLOBAL", +"REGIONAL" +], +"enumDescriptions": [ +"", +"" +], +"type": "string" +} +}, +"type": "object" +}, +"NetworksAddPeeringRequest": { +"id": "NetworksAddPeeringRequest", +"properties": { +"autoCreateRoutes": { +"description": "This field will be deprecated soon. Useexchange_subnet_routes in network_peering\ninstead.\nIndicates whether full mesh connectivity is created and managed\nautomatically between peered networks. Currently this field should always\nbe true since Google Compute Engine will automatically create and manage\nsubnetwork routes between two networks when peering state isACTIVE.", +"type": "boolean" +}, +"name": { +"annotations": { +"required": [ +"compute.networks.addPeering" +] +}, +"description": "Name of the peering, which should conform to RFC1035.", +"type": "string" +}, +"networkPeering": { +"$ref": "NetworkPeering", +"description": "Network peering parameters.\nIn order to specify route policies for peering using import and export\ncustom routes, you must specify all peering related parameters\n(name, peer network,exchange_subnet_routes) in the network_peering\nfield.\nThe corresponding fields in NetworksAddPeeringRequest will be\ndeprecated soon." +}, +"peerNetwork": { +"description": "URL of the peer network. It can be either full URL or partial URL. The\npeer network may belong to a different project. If the partial URL does not\ncontain project, it is assumed that the peer network is in the same project\nas the current network.", +"type": "string" +} +}, +"type": "object" +}, +"NetworksCancelRequestRemovePeeringRequest": { +"id": "NetworksCancelRequestRemovePeeringRequest", +"properties": { +"name": { +"description": "Name of the peering, which should conform to RFC1035.", +"type": "string" +} +}, +"type": "object" +}, +"NetworksGetEffectiveFirewallsResponse": { +"id": "NetworksGetEffectiveFirewallsResponse", +"properties": { +"firewallPolicys": { +"description": "[Output Only] Effective firewalls from firewall policy. It returns Global\nNetwork Firewall Policies and Hierarchical Firewall Policies. UseregionNetworkFirewallPolicies.getEffectiveFirewalls to get\nRegional Network Firewall Policies as well.", +"items": { +"$ref": "NetworksGetEffectiveFirewallsResponseEffectiveFirewallPolicy" +}, +"type": "array" +}, +"firewalls": { +"description": "Effective firewalls on the network.", +"items": { +"$ref": "Firewall" +}, +"type": "array" +}, +"organizationFirewalls": { +"description": "Effective firewalls from organization policies.", +"items": { +"$ref": "NetworksGetEffectiveFirewallsResponseOrganizationFirewallPolicy" +}, +"type": "array" +} +}, +"type": "object" +}, +"NetworksGetEffectiveFirewallsResponseEffectiveFirewallPolicy": { +"id": "NetworksGetEffectiveFirewallsResponseEffectiveFirewallPolicy", +"properties": { +"displayName": { +"deprecated": true, +"description": "Output only. [Output Only] Deprecated, please use short name instead. The display name\nof the firewall policy.", +"readOnly": true, +"type": "string" +}, +"name": { +"description": "Output only. [Output Only] The name of the firewall policy.", +"readOnly": true, +"type": "string" +}, +"packetMirroringRules": { +"description": "Output only. [Output Only] The packet mirroring rules that apply to the network.", +"items": { +"$ref": "FirewallPolicyRule" +}, +"readOnly": true, +"type": "array" +}, +"priority": { +"description": "Output only. [Output only] Priority of firewall policy association. Not applicable for\ntype=HIERARCHY.", +"format": "int32", +"readOnly": true, +"type": "integer" +}, +"rules": { +"description": "[Output Only] The rules that apply to the network.", +"items": { +"$ref": "FirewallPolicyRule" +}, +"type": "array" +}, +"shortName": { +"description": "Output only. [Output Only] The short name of the firewall policy.", +"readOnly": true, +"type": "string" +}, +"type": { +"description": "Output only. [Output Only] The type of the firewall policy.", +"enum": [ +"HIERARCHY", +"NETWORK", +"SYSTEM", +"UNSPECIFIED" +], +"enumDescriptions": [ +"", +"", +"", +"" +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"NetworksGetEffectiveFirewallsResponseOrganizationFirewallPolicy": { +"description": "A pruned SecurityPolicy containing ID and any applicable firewall rules.", +"id": "NetworksGetEffectiveFirewallsResponseOrganizationFirewallPolicy", +"properties": { +"id": { +"description": "Output only. [Output Only] The unique identifier for the security policy. This\nidentifier is defined by the server.", +"format": "uint64", +"readOnly": true, +"type": "string" +}, +"rules": { +"description": "The rules that apply to the network.", +"items": { +"$ref": "SecurityPolicyRule" +}, +"type": "array" +} +}, +"type": "object" +}, +"NetworksRemovePeeringRequest": { +"id": "NetworksRemovePeeringRequest", +"properties": { +"name": { +"description": "Name of the peering, which should conform to RFC1035.", +"type": "string" +} +}, +"type": "object" +}, +"NetworksRequestRemovePeeringRequest": { +"id": "NetworksRequestRemovePeeringRequest", +"properties": { +"name": { +"description": "Name of the peering, which should conform to RFC1035.", +"type": "string" +} +}, +"type": "object" +}, +"NetworksUpdatePeeringRequest": { +"id": "NetworksUpdatePeeringRequest", +"properties": { +"networkPeering": { +"$ref": "NetworkPeering" +} +}, +"type": "object" +}, +"NodeGroup": { +"description": "Represents a sole-tenant Node Group resource.\n\nA sole-tenant node is a physical server that is dedicated to\nhosting VM instances only for your specific project. Use sole-tenant nodes to\nkeep your instances physically separated from instances in other projects, or\nto group your instances together on the same host hardware. For more\ninformation, readSole-tenant nodes.", +"id": "NodeGroup", +"properties": { +"autoscalingPolicy": { +"$ref": "NodeGroupAutoscalingPolicy", +"description": "Specifies how autoscaling should behave." +}, +"creationTimestamp": { +"description": "Output only. [Output Only] Creation timestamp inRFC3339\ntext format.", +"readOnly": true, +"type": "string" +}, +"description": { +"description": "An optional description of this resource. Provide this property when you\ncreate the resource.", +"type": "string" +}, +"fingerprint": { +"format": "byte", +"type": "string" +}, +"id": { +"description": "Output only. [Output Only] The unique identifier for the resource. This identifier is\ndefined by the server.", +"format": "uint64", +"readOnly": true, +"type": "string" +}, +"kind": { +"default": "compute#nodeGroup", +"description": "Output only. [Output Only] The type of the resource. Alwayscompute#nodeGroup for node group.", +"readOnly": true, +"type": "string" +}, +"locationHint": { +"description": "An opaque location hint used to place the Node close to other\nresources.\nThis field is for use by internal tools that use the public API.\nThe location hint here on the NodeGroup overrides any location_hint\npresent in the NodeTemplate.", +"type": "string" +}, +"maintenanceInterval": { +"description": "Specifies the frequency of planned maintenance events. The accepted values\nare: `AS_NEEDED` and `RECURRENT`.", +"enum": [ +"AS_NEEDED", +"PERIODIC", +"RECURRENT" +], +"enumDescriptions": [ +"VMs are eligible to receive infrastructure and hypervisor updates as they\nbecome available. This may result in more maintenance operations (live\nmigrations or terminations) for the VM than the PERIODIC andRECURRENT options.", +"VMs receive infrastructure and hypervisor updates on a periodic basis,\nminimizing the number of maintenance operations (live migrations or\nterminations) on an individual VM. This may mean a VM will take longer\nto receive an update than if it was configured forAS_NEEDED. Security updates will still be applied as soon\nas they are available.", +"VMs receive infrastructure and hypervisor updates on a periodic basis,\nminimizing the number of maintenance operations (live migrations or\nterminations) on an individual VM. This may mean a VM will take longer\nto receive an update than if it was configured forAS_NEEDED. Security updates will still be applied as soon\nas they are available. RECURRENT is used for GEN3 and Slice\nof Hardware VMs." +], +"type": "string" +}, +"maintenancePolicy": { +"description": "Specifies how to handle instances when a node in the group undergoes\nmaintenance. Set to one of: DEFAULT,RESTART_IN_PLACE, or MIGRATE_WITHIN_NODE_GROUP.\nThe default value is DEFAULT. For more information, see\nMaintenance policies.", +"enum": [ +"DEFAULT", +"MAINTENANCE_POLICY_UNSPECIFIED", +"MIGRATE_WITHIN_NODE_GROUP", +"RESTART_IN_PLACE" +], +"enumDescriptions": [ +"Allow the node and corresponding instances to retain default\nmaintenance behavior.", +"", +"When maintenance must be done on a node, the instances on that node will\nbe moved to other nodes in the group.\nInstances with onHostMaintenance = MIGRATE will live migrate to their\ndestinations while instances with onHostMaintenance = TERMINATE will\nterminate and then restart on their destination nodes if\nautomaticRestart = true.", +"Instances in this group will restart on the same node when maintenance\nhas completed. Instances must have onHostMaintenance = TERMINATE, and\nthey will only restart if automaticRestart = true." +], +"type": "string" +}, +"maintenanceWindow": { +"$ref": "NodeGroupMaintenanceWindow" +}, +"name": { +"description": "The name of the resource, provided by the client when initially creating\nthe resource. The resource name must be 1-63 characters long, and comply\nwithRFC1035.\nSpecifically, the name must be 1-63 characters long and match the regular\nexpression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first\ncharacter must be a lowercase letter, and all following characters must be\na dash, lowercase letter, or digit, except the last character, which cannot\nbe a dash.", +"type": "string" +}, +"nodeTemplate": { +"description": "URL of the node template to create the node group from.", +"type": "string" +}, +"selfLink": { +"description": "Output only. [Output Only] Server-defined URL for the resource.", +"readOnly": true, +"type": "string" +}, +"shareSettings": { +"$ref": "ShareSettings", +"description": "Share-settings for the node group" +}, +"size": { +"description": "Output only. [Output Only] The total number of nodes in the node group.", +"format": "int32", +"readOnly": true, +"type": "integer" +}, +"status": { +"enum": [ +"CREATING", +"DELETING", +"INVALID", +"READY" +], +"enumDescriptions": [ +"", +"", +"", +"" +], +"readOnly": true, +"type": "string" +}, +"zone": { +"description": "Output only. [Output Only] The name of the zone where the node group resides,\nsuch as us-central1-a.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"NodeGroupAggregatedList": { +"id": "NodeGroupAggregatedList", +"properties": { +"id": { +"description": "[Output Only] Unique identifier for the resource; defined by the server.", +"type": "string" +}, +"items": { +"additionalProperties": { +"$ref": "NodeGroupsScopedList", +"description": "[Output Only] Name of the scope containing this set of node groups." +}, +"description": "A list of NodeGroupsScopedList resources.", +"type": "object" +}, +"kind": { +"default": "compute#nodeGroupAggregatedList", +"description": "Output only. [Output Only] Type of resource.Alwayscompute#nodeGroupAggregatedList for aggregated lists of node\ngroups.", +"readOnly": true, +"type": "string" +}, +"nextPageToken": { +"description": "[Output Only] This token allows you to get the next page of results for\nlist requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for\nthe query parameter pageToken in the next list request.\nSubsequent list requests will have their own nextPageToken to\ncontinue paging through the results.", +"type": "string" +}, +"selfLink": { +"description": "Output only. [Output Only] Server-defined URL for this resource.", +"readOnly": true, +"type": "string" +}, +"unreachables": { +"description": "Output only. [Output Only] Unreachable resources.", +"items": { +"type": "string" +}, +"readOnly": true, +"type": "array" +}, +"warning": { +"description": "[Output Only] Informational warning message.", +"properties": { +"code": { +"description": "[Output Only] A warning code, if applicable. For example, Compute\nEngine returns NO_RESULTS_ON_PAGE if there\nare no results in the response.", +"enum": [ +"CLEANUP_FAILED", +"DEPRECATED_RESOURCE_USED", +"DEPRECATED_TYPE_USED", +"DISK_SIZE_LARGER_THAN_IMAGE_SIZE", +"EXPERIMENTAL_TYPE_USED", +"EXTERNAL_API_WARNING", +"FIELD_VALUE_OVERRIDEN", +"INJECTED_KERNELS_DEPRECATED", +"INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", +"LARGE_DEPLOYMENT_WARNING", +"LIST_OVERHEAD_QUOTA_EXCEED", +"MISSING_TYPE_DEPENDENCY", +"NEXT_HOP_ADDRESS_NOT_ASSIGNED", +"NEXT_HOP_CANNOT_IP_FORWARD", +"NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", +"NEXT_HOP_INSTANCE_NOT_FOUND", +"NEXT_HOP_INSTANCE_NOT_ON_NETWORK", +"NEXT_HOP_NOT_RUNNING", +"NOT_CRITICAL_ERROR", +"NO_RESULTS_ON_PAGE", +"PARTIAL_SUCCESS", +"QUOTA_INFO_UNAVAILABLE", +"REQUIRED_TOS_AGREEMENT", +"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", +"RESOURCE_NOT_DELETED", +"SCHEMA_VALIDATION_IGNORED", +"SINGLE_INSTANCE_PROPERTY_TEMPLATE", +"UNDECLARED_PROPERTIES", +"UNREACHABLE" +], +"enumDeprecated": [ +false, +false, +false, +false, +false, +false, +true, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false +], +"enumDescriptions": [ +"Warning about failed cleanup of transient changes made by a failed\noperation.", +"A link to a deprecated resource was created.", +"When deploying and at least one of the resources has a type marked as\ndeprecated", +"The user created a boot disk that is larger than image size.", +"When deploying and at least one of the resources has a type marked as\nexperimental", +"Warning that is present in an external api call", +"Warning that value of a field has been overridden.\nDeprecated unused field.", +"The operation involved use of an injected kernel, which is deprecated.", +"A WEIGHTED_MAGLEV backend service is associated with a health check that is\nnot of type HTTP/HTTPS/HTTP2.", +"When deploying a deployment with a exceedingly large number of resources", +"Resource can't be retrieved due to list overhead quota exceed\nwhich captures the amount of resources filtered out by\nuser-defined list filter.", +"A resource depends on a missing type", +"The route's nextHopIp address is not assigned to an instance on the\nnetwork.", +"The route's next hop instance cannot ip forward.", +"The route's nextHopInstance URL refers to an instance that does not have an\nipv6 interface on the same network as the route.", +"The route's nextHopInstance URL refers to an instance that does not exist.", +"The route's nextHopInstance URL refers to an instance that is not on the\nsame network as the route.", +"The route's next hop instance does not have a status of RUNNING.", +"Error which is not critical. We decided to continue the process despite\nthe mentioned error.", +"No results are present on a particular list page.", +"Success is reported, but some results may be missing due to errors", +"Quota information is not available to client requests (e.g:\nregions.list).", +"The user attempted to use a resource that requires a TOS they have not\naccepted.", +"Warning that a resource is in use.", +"One or more of the resources set to auto-delete could not be deleted\nbecause they were in use.", +"When a resource schema validation is ignored.", +"Instance template used in instance group manager is valid as such, but\nits application does not make a lot of sense, because it allows only\nsingle instance in instance group.", +"When undeclared properties in the schema are present", +"A given scope cannot be reached." +], +"type": "string" +}, +"data": { +"description": "[Output Only] Metadata about this warning in key:\nvalue format. For example:\n\n\"data\": [\n {\n \"key\": \"scope\",\n \"value\": \"zones/us-east1-d\"\n }", +"items": { +"properties": { +"key": { +"description": "[Output Only] A key that provides more detail on the warning being\nreturned. For example, for warnings where there are no results in a list\nrequest for a particular zone, this key might be scope and\nthe key value might be the zone name. Other examples might be a key\nindicating a deprecated resource and a suggested replacement, or a\nwarning about invalid network settings (for example, if an instance\nattempts to perform IP forwarding but is not enabled for IP forwarding).", +"type": "string" +}, +"value": { +"description": "[Output Only] A warning data value corresponding to the key.", +"type": "string" +} +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "[Output Only] A human-readable description of the warning code.", +"type": "string" +} +}, +"type": "object" +} +}, +"type": "object" +}, +"NodeGroupAutoscalingPolicy": { +"id": "NodeGroupAutoscalingPolicy", +"properties": { +"maxNodes": { +"description": "The maximum number of nodes that the group should have. Must be set if\nautoscaling is enabled. Maximum value allowed is 100.", +"format": "int32", +"type": "integer" +}, +"minNodes": { +"description": "The minimum number of nodes that the group should have.", +"format": "int32", +"type": "integer" +}, +"mode": { +"description": "The autoscaling mode. Set to one of: ON, OFF,\nor ONLY_SCALE_OUT. For more information, see \nAutoscaler modes.", +"enum": [ +"MODE_UNSPECIFIED", +"OFF", +"ON", +"ONLY_SCALE_OUT" +], +"enumDescriptions": [ +"", +"Autoscaling is disabled.", +"Autocaling is fully enabled.", +"Autoscaling will only scale out and will not remove nodes." +], +"type": "string" +} +}, +"type": "object" +}, +"NodeGroupList": { +"description": "Contains a list of nodeGroups.", +"id": "NodeGroupList", +"properties": { +"id": { +"description": "[Output Only] Unique identifier for the resource; defined by the server.", +"type": "string" +}, +"items": { +"description": "A list of NodeGroup resources.", +"items": { +"$ref": "NodeGroup" +}, +"type": "array" +}, +"kind": { +"default": "compute#nodeGroupList", +"description": "Output only. [Output Only] Type of resource.Always compute#nodeGroupList\nfor lists of node groups.", +"readOnly": true, +"type": "string" +}, +"nextPageToken": { +"description": "[Output Only] This token allows you to get the next page of results for\nlist requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for\nthe query parameter pageToken in the next list request.\nSubsequent list requests will have their own nextPageToken to\ncontinue paging through the results.", +"type": "string" +}, +"selfLink": { +"description": "Output only. [Output Only] Server-defined URL for this resource.", +"readOnly": true, +"type": "string" +}, +"warning": { +"description": "[Output Only] Informational warning message.", +"properties": { +"code": { +"description": "[Output Only] A warning code, if applicable. For example, Compute\nEngine returns NO_RESULTS_ON_PAGE if there\nare no results in the response.", +"enum": [ +"CLEANUP_FAILED", +"DEPRECATED_RESOURCE_USED", +"DEPRECATED_TYPE_USED", +"DISK_SIZE_LARGER_THAN_IMAGE_SIZE", +"EXPERIMENTAL_TYPE_USED", +"EXTERNAL_API_WARNING", +"FIELD_VALUE_OVERRIDEN", +"INJECTED_KERNELS_DEPRECATED", +"INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", +"LARGE_DEPLOYMENT_WARNING", +"LIST_OVERHEAD_QUOTA_EXCEED", +"MISSING_TYPE_DEPENDENCY", +"NEXT_HOP_ADDRESS_NOT_ASSIGNED", +"NEXT_HOP_CANNOT_IP_FORWARD", +"NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", +"NEXT_HOP_INSTANCE_NOT_FOUND", +"NEXT_HOP_INSTANCE_NOT_ON_NETWORK", +"NEXT_HOP_NOT_RUNNING", +"NOT_CRITICAL_ERROR", +"NO_RESULTS_ON_PAGE", +"PARTIAL_SUCCESS", +"QUOTA_INFO_UNAVAILABLE", +"REQUIRED_TOS_AGREEMENT", +"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", +"RESOURCE_NOT_DELETED", +"SCHEMA_VALIDATION_IGNORED", +"SINGLE_INSTANCE_PROPERTY_TEMPLATE", +"UNDECLARED_PROPERTIES", +"UNREACHABLE" +], +"enumDeprecated": [ +false, +false, +false, +false, +false, +false, +true, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false +], +"enumDescriptions": [ +"Warning about failed cleanup of transient changes made by a failed\noperation.", +"A link to a deprecated resource was created.", +"When deploying and at least one of the resources has a type marked as\ndeprecated", +"The user created a boot disk that is larger than image size.", +"When deploying and at least one of the resources has a type marked as\nexperimental", +"Warning that is present in an external api call", +"Warning that value of a field has been overridden.\nDeprecated unused field.", +"The operation involved use of an injected kernel, which is deprecated.", +"A WEIGHTED_MAGLEV backend service is associated with a health check that is\nnot of type HTTP/HTTPS/HTTP2.", +"When deploying a deployment with a exceedingly large number of resources", +"Resource can't be retrieved due to list overhead quota exceed\nwhich captures the amount of resources filtered out by\nuser-defined list filter.", +"A resource depends on a missing type", +"The route's nextHopIp address is not assigned to an instance on the\nnetwork.", +"The route's next hop instance cannot ip forward.", +"The route's nextHopInstance URL refers to an instance that does not have an\nipv6 interface on the same network as the route.", +"The route's nextHopInstance URL refers to an instance that does not exist.", +"The route's nextHopInstance URL refers to an instance that is not on the\nsame network as the route.", +"The route's next hop instance does not have a status of RUNNING.", +"Error which is not critical. We decided to continue the process despite\nthe mentioned error.", +"No results are present on a particular list page.", +"Success is reported, but some results may be missing due to errors", +"Quota information is not available to client requests (e.g:\nregions.list).", +"The user attempted to use a resource that requires a TOS they have not\naccepted.", +"Warning that a resource is in use.", +"One or more of the resources set to auto-delete could not be deleted\nbecause they were in use.", +"When a resource schema validation is ignored.", +"Instance template used in instance group manager is valid as such, but\nits application does not make a lot of sense, because it allows only\nsingle instance in instance group.", +"When undeclared properties in the schema are present", +"A given scope cannot be reached." +], +"type": "string" +}, +"data": { +"description": "[Output Only] Metadata about this warning in key:\nvalue format. For example:\n\n\"data\": [\n {\n \"key\": \"scope\",\n \"value\": \"zones/us-east1-d\"\n }", +"items": { +"properties": { +"key": { +"description": "[Output Only] A key that provides more detail on the warning being\nreturned. For example, for warnings where there are no results in a list\nrequest for a particular zone, this key might be scope and\nthe key value might be the zone name. Other examples might be a key\nindicating a deprecated resource and a suggested replacement, or a\nwarning about invalid network settings (for example, if an instance\nattempts to perform IP forwarding but is not enabled for IP forwarding).", +"type": "string" +}, +"value": { +"description": "[Output Only] A warning data value corresponding to the key.", +"type": "string" +} +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "[Output Only] A human-readable description of the warning code.", +"type": "string" +} +}, +"type": "object" +} +}, +"type": "object" +}, +"NodeGroupMaintenanceWindow": { +"description": "Time window specified for daily maintenance operations. GCE's internal\nmaintenance will be performed within this window.", +"id": "NodeGroupMaintenanceWindow", +"properties": { +"maintenanceDuration": { +"$ref": "Duration", +"description": "Output only. [Output only] A predetermined duration for the window, automatically\nchosen to be the smallest possible in the given scenario.", +"readOnly": true +}, +"startTime": { +"description": "Start time of the window. This must be in UTC format that resolves to one\nof 00:00, 04:00, 08:00,12:00, 16:00, or 20:00. For\nexample, both 13:00-5 and 08:00 are valid.", +"type": "string" +} +}, +"type": "object" +}, +"NodeGroupNode": { +"id": "NodeGroupNode", +"properties": { +"accelerators": { +"description": "Accelerators for this node.", +"items": { +"$ref": "AcceleratorConfig" +}, +"type": "array" +}, +"consumedResources": { +"$ref": "InstanceConsumptionInfo", +"description": "Output only. Node resources that are reserved by all instances.", +"readOnly": true +}, +"cpuOvercommitType": { +"description": "CPU overcommit.", +"enum": [ +"CPU_OVERCOMMIT_TYPE_UNSPECIFIED", +"ENABLED", +"NONE" +], +"enumDescriptions": [ +"", +"", +"" +], +"type": "string" +}, +"disks": { +"description": "Local disk configurations.", +"items": { +"$ref": "LocalDisk" +}, +"type": "array" +}, +"instanceConsumptionData": { +"description": "Output only. Instance data that shows consumed resources on the node.", +"items": { +"$ref": "InstanceConsumptionData" +}, +"readOnly": true, +"type": "array" +}, +"instances": { +"description": "Instances scheduled on this node.", +"items": { +"type": "string" +}, +"type": "array" +}, +"name": { +"description": "The name of the node.", +"type": "string" +}, +"nodeType": { +"description": "The type of this node.", +"type": "string" +}, +"satisfiesPzs": { +"description": "Output only. [Output Only] Reserved for future use.", +"readOnly": true, +"type": "boolean" +}, +"serverBinding": { +"$ref": "ServerBinding", +"description": "Binding properties for the physical server." +}, +"serverId": { +"description": "Server ID associated with this node.", +"type": "string" +}, +"status": { +"enum": [ +"CREATING", +"DELETING", +"INVALID", +"READY", +"REPAIRING" +], +"enumDescriptions": [ +"", +"", +"", +"", +"" +], +"type": "string" +}, +"totalResources": { +"$ref": "InstanceConsumptionInfo", +"description": "Output only. Total amount of available resources on the node.", +"readOnly": true +}, +"upcomingMaintenance": { +"$ref": "UpcomingMaintenance", +"description": "Output only. [Output Only] The information about an upcoming maintenance event.", +"readOnly": true +} +}, +"type": "object" +}, +"NodeGroupsAddNodesRequest": { +"id": "NodeGroupsAddNodesRequest", +"properties": { +"additionalNodeCount": { +"description": "Count of additional nodes to be added to the node group.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"NodeGroupsDeleteNodesRequest": { +"id": "NodeGroupsDeleteNodesRequest", +"properties": { +"nodes": { +"description": "Names of the nodes to delete.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"NodeGroupsListNodes": { +"id": "NodeGroupsListNodes", +"properties": { +"id": { +"description": "Output only. [Output Only] Unique identifier for the resource; defined by the server.", +"readOnly": true, +"type": "string" +}, +"items": { +"description": "A list of Node resources.", +"items": { +"$ref": "NodeGroupNode" +}, +"type": "array" +}, +"kind": { +"default": "compute#nodeGroupsListNodes", +"description": "Output only. [Output Only] The resource type, which is alwayscompute.nodeGroupsListNodes for the list of nodes in the\nspecified node group.", +"readOnly": true, +"type": "string" +}, +"nextPageToken": { +"description": "Output only. [Output Only] This token allows you to get the next page of results for\nlist requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for\nthe query parameter pageToken in the next list request.\nSubsequent list requests will have their own nextPageToken to\ncontinue paging through the results.", +"readOnly": true, +"type": "string" +}, +"selfLink": { +"description": "Output only. [Output Only] Server-defined URL for this resource.", +"readOnly": true, +"type": "string" +}, +"warning": { +"description": "Output only. [Output Only] Informational warning message.", +"properties": { +"code": { +"description": "[Output Only] A warning code, if applicable. For example, Compute\nEngine returns NO_RESULTS_ON_PAGE if there\nare no results in the response.", +"enum": [ +"CLEANUP_FAILED", +"DEPRECATED_RESOURCE_USED", +"DEPRECATED_TYPE_USED", +"DISK_SIZE_LARGER_THAN_IMAGE_SIZE", +"EXPERIMENTAL_TYPE_USED", +"EXTERNAL_API_WARNING", +"FIELD_VALUE_OVERRIDEN", +"INJECTED_KERNELS_DEPRECATED", +"INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", +"LARGE_DEPLOYMENT_WARNING", +"LIST_OVERHEAD_QUOTA_EXCEED", +"MISSING_TYPE_DEPENDENCY", +"NEXT_HOP_ADDRESS_NOT_ASSIGNED", +"NEXT_HOP_CANNOT_IP_FORWARD", +"NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", +"NEXT_HOP_INSTANCE_NOT_FOUND", +"NEXT_HOP_INSTANCE_NOT_ON_NETWORK", +"NEXT_HOP_NOT_RUNNING", +"NOT_CRITICAL_ERROR", +"NO_RESULTS_ON_PAGE", +"PARTIAL_SUCCESS", +"QUOTA_INFO_UNAVAILABLE", +"REQUIRED_TOS_AGREEMENT", +"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", +"RESOURCE_NOT_DELETED", +"SCHEMA_VALIDATION_IGNORED", +"SINGLE_INSTANCE_PROPERTY_TEMPLATE", +"UNDECLARED_PROPERTIES", +"UNREACHABLE" +], +"enumDeprecated": [ +false, +false, +false, +false, +false, +false, +true, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false +], +"enumDescriptions": [ +"Warning about failed cleanup of transient changes made by a failed\noperation.", +"A link to a deprecated resource was created.", +"When deploying and at least one of the resources has a type marked as\ndeprecated", +"The user created a boot disk that is larger than image size.", +"When deploying and at least one of the resources has a type marked as\nexperimental", +"Warning that is present in an external api call", +"Warning that value of a field has been overridden.\nDeprecated unused field.", +"The operation involved use of an injected kernel, which is deprecated.", +"A WEIGHTED_MAGLEV backend service is associated with a health check that is\nnot of type HTTP/HTTPS/HTTP2.", +"When deploying a deployment with a exceedingly large number of resources", +"Resource can't be retrieved due to list overhead quota exceed\nwhich captures the amount of resources filtered out by\nuser-defined list filter.", +"A resource depends on a missing type", +"The route's nextHopIp address is not assigned to an instance on the\nnetwork.", +"The route's next hop instance cannot ip forward.", +"The route's nextHopInstance URL refers to an instance that does not have an\nipv6 interface on the same network as the route.", +"The route's nextHopInstance URL refers to an instance that does not exist.", +"The route's nextHopInstance URL refers to an instance that is not on the\nsame network as the route.", +"The route's next hop instance does not have a status of RUNNING.", +"Error which is not critical. We decided to continue the process despite\nthe mentioned error.", +"No results are present on a particular list page.", +"Success is reported, but some results may be missing due to errors", +"Quota information is not available to client requests (e.g:\nregions.list).", +"The user attempted to use a resource that requires a TOS they have not\naccepted.", +"Warning that a resource is in use.", +"One or more of the resources set to auto-delete could not be deleted\nbecause they were in use.", +"When a resource schema validation is ignored.", +"Instance template used in instance group manager is valid as such, but\nits application does not make a lot of sense, because it allows only\nsingle instance in instance group.", +"When undeclared properties in the schema are present", +"A given scope cannot be reached." +], +"type": "string" +}, +"data": { +"description": "[Output Only] Metadata about this warning in key:\nvalue format. For example:\n\n\"data\": [\n {\n \"key\": \"scope\",\n \"value\": \"zones/us-east1-d\"\n }", +"items": { +"properties": { +"key": { +"description": "[Output Only] A key that provides more detail on the warning being\nreturned. For example, for warnings where there are no results in a list\nrequest for a particular zone, this key might be scope and\nthe key value might be the zone name. Other examples might be a key\nindicating a deprecated resource and a suggested replacement, or a\nwarning about invalid network settings (for example, if an instance\nattempts to perform IP forwarding but is not enabled for IP forwarding).", +"type": "string" +}, +"value": { +"description": "[Output Only] A warning data value corresponding to the key.", +"type": "string" +} +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "[Output Only] A human-readable description of the warning code.", +"type": "string" +} +}, +"readOnly": true, +"type": "object" +} +}, +"type": "object" +}, +"NodeGroupsPerformMaintenanceRequest": { +"id": "NodeGroupsPerformMaintenanceRequest", +"properties": { +"nodes": { +"description": "[Required] List of nodes affected by the call.", +"items": { +"type": "string" +}, +"type": "array" +}, +"startTime": { +"description": "The start time of the schedule. The timestamp is an RFC3339 string.", +"type": "string" +} +}, +"type": "object" +}, +"NodeGroupsScopedList": { +"id": "NodeGroupsScopedList", +"properties": { +"nodeGroups": { +"description": "[Output Only] A list of node groups contained in this scope.", +"items": { +"$ref": "NodeGroup" +}, +"type": "array" +}, +"warning": { +"description": "[Output Only] An informational warning that appears when the nodeGroup\nlist is empty.", +"properties": { +"code": { +"description": "[Output Only] A warning code, if applicable. For example, Compute\nEngine returns NO_RESULTS_ON_PAGE if there\nare no results in the response.", +"enum": [ +"CLEANUP_FAILED", +"DEPRECATED_RESOURCE_USED", +"DEPRECATED_TYPE_USED", +"DISK_SIZE_LARGER_THAN_IMAGE_SIZE", +"EXPERIMENTAL_TYPE_USED", +"EXTERNAL_API_WARNING", +"FIELD_VALUE_OVERRIDEN", +"INJECTED_KERNELS_DEPRECATED", +"INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", +"LARGE_DEPLOYMENT_WARNING", +"LIST_OVERHEAD_QUOTA_EXCEED", +"MISSING_TYPE_DEPENDENCY", +"NEXT_HOP_ADDRESS_NOT_ASSIGNED", +"NEXT_HOP_CANNOT_IP_FORWARD", +"NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", +"NEXT_HOP_INSTANCE_NOT_FOUND", +"NEXT_HOP_INSTANCE_NOT_ON_NETWORK", +"NEXT_HOP_NOT_RUNNING", +"NOT_CRITICAL_ERROR", +"NO_RESULTS_ON_PAGE", +"PARTIAL_SUCCESS", +"QUOTA_INFO_UNAVAILABLE", +"REQUIRED_TOS_AGREEMENT", +"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", +"RESOURCE_NOT_DELETED", +"SCHEMA_VALIDATION_IGNORED", +"SINGLE_INSTANCE_PROPERTY_TEMPLATE", +"UNDECLARED_PROPERTIES", +"UNREACHABLE" +], +"enumDeprecated": [ +false, +false, +false, +false, +false, +false, +true, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false +], +"enumDescriptions": [ +"Warning about failed cleanup of transient changes made by a failed\noperation.", +"A link to a deprecated resource was created.", +"When deploying and at least one of the resources has a type marked as\ndeprecated", +"The user created a boot disk that is larger than image size.", +"When deploying and at least one of the resources has a type marked as\nexperimental", +"Warning that is present in an external api call", +"Warning that value of a field has been overridden.\nDeprecated unused field.", +"The operation involved use of an injected kernel, which is deprecated.", +"A WEIGHTED_MAGLEV backend service is associated with a health check that is\nnot of type HTTP/HTTPS/HTTP2.", +"When deploying a deployment with a exceedingly large number of resources", +"Resource can't be retrieved due to list overhead quota exceed\nwhich captures the amount of resources filtered out by\nuser-defined list filter.", +"A resource depends on a missing type", +"The route's nextHopIp address is not assigned to an instance on the\nnetwork.", +"The route's next hop instance cannot ip forward.", +"The route's nextHopInstance URL refers to an instance that does not have an\nipv6 interface on the same network as the route.", +"The route's nextHopInstance URL refers to an instance that does not exist.", +"The route's nextHopInstance URL refers to an instance that is not on the\nsame network as the route.", +"The route's next hop instance does not have a status of RUNNING.", +"Error which is not critical. We decided to continue the process despite\nthe mentioned error.", +"No results are present on a particular list page.", +"Success is reported, but some results may be missing due to errors", +"Quota information is not available to client requests (e.g:\nregions.list).", +"The user attempted to use a resource that requires a TOS they have not\naccepted.", +"Warning that a resource is in use.", +"One or more of the resources set to auto-delete could not be deleted\nbecause they were in use.", +"When a resource schema validation is ignored.", +"Instance template used in instance group manager is valid as such, but\nits application does not make a lot of sense, because it allows only\nsingle instance in instance group.", +"When undeclared properties in the schema are present", +"A given scope cannot be reached." +], +"type": "string" +}, +"data": { +"description": "[Output Only] Metadata about this warning in key:\nvalue format. For example:\n\n\"data\": [\n {\n \"key\": \"scope\",\n \"value\": \"zones/us-east1-d\"\n }", +"items": { +"properties": { +"key": { +"description": "[Output Only] A key that provides more detail on the warning being\nreturned. For example, for warnings where there are no results in a list\nrequest for a particular zone, this key might be scope and\nthe key value might be the zone name. Other examples might be a key\nindicating a deprecated resource and a suggested replacement, or a\nwarning about invalid network settings (for example, if an instance\nattempts to perform IP forwarding but is not enabled for IP forwarding).", +"type": "string" +}, +"value": { +"description": "[Output Only] A warning data value corresponding to the key.", +"type": "string" +} +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "[Output Only] A human-readable description of the warning code.", +"type": "string" +} +}, +"type": "object" +} +}, +"type": "object" +}, +"NodeGroupsSetNodeTemplateRequest": { +"id": "NodeGroupsSetNodeTemplateRequest", +"properties": { +"nodeTemplate": { +"description": "Full or partial URL of the node template resource to be updated for this\nnode group.", +"type": "string" +} +}, +"type": "object" +}, +"NodeGroupsSimulateMaintenanceEventRequest": { +"id": "NodeGroupsSimulateMaintenanceEventRequest", +"properties": { +"nodes": { +"description": "Names of the nodes to go under maintenance simulation.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"NodeTemplate": { +"description": "Represent a sole-tenant Node Template resource.\n\nYou can use a template to define properties for nodes in a node group. For\nmore information, readCreating node groups\nand instances.", +"id": "NodeTemplate", +"properties": { +"accelerators": { +"items": { +"$ref": "AcceleratorConfig" +}, +"type": "array" +}, +"cpuOvercommitType": { +"description": "CPU overcommit.", +"enum": [ +"CPU_OVERCOMMIT_TYPE_UNSPECIFIED", +"ENABLED", +"NONE" +], +"enumDescriptions": [ +"", +"", +"" +], +"type": "string" +}, +"creationTimestamp": { +"description": "Output only. [Output Only] Creation timestamp inRFC3339\ntext format.", +"readOnly": true, +"type": "string" +}, +"description": { +"description": "An optional description of this resource. Provide this property when you\ncreate the resource.", +"type": "string" +}, +"disks": { +"items": { +"$ref": "LocalDisk" +}, +"type": "array" +}, +"id": { +"description": "Output only. [Output Only] The unique identifier for the resource. This identifier is\ndefined by the server.", +"format": "uint64", +"readOnly": true, +"type": "string" +}, +"kind": { +"default": "compute#nodeTemplate", +"description": "Output only. [Output Only] The type of the resource. Alwayscompute#nodeTemplate for node templates.", +"readOnly": true, +"type": "string" +}, +"name": { +"description": "The name of the resource, provided by the client when initially creating\nthe resource. The resource name must be 1-63 characters long, and comply\nwithRFC1035.\nSpecifically, the name must be 1-63 characters long and match the regular\nexpression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first\ncharacter must be a lowercase letter, and all following characters must be\na dash, lowercase letter, or digit, except the last character, which\ncannot be a dash.", +"type": "string" +}, +"nodeAffinityLabels": { +"additionalProperties": { +"type": "string" +}, +"description": "Labels to use for node affinity, which will be used in instance scheduling.", +"type": "object" +}, +"nodeType": { +"description": "The node type to use for nodes group that are created from this template.", +"type": "string" +}, +"nodeTypeFlexibility": { +"$ref": "NodeTemplateNodeTypeFlexibility", +"description": "Do not use. Instead, use the node_type property." +}, +"region": { +"description": "Output only. [Output Only] The name of the region where the node template resides,\nsuch as us-central1.", +"readOnly": true, +"type": "string" +}, +"selfLink": { +"description": "Output only. [Output Only] Server-defined URL for the resource.", +"readOnly": true, +"type": "string" +}, +"serverBinding": { +"$ref": "ServerBinding", +"description": "Sets the binding properties for the physical server. Valid values include:\n \n - *[Default]* RESTART_NODE_ON_ANY_SERVER:\n Restarts VMs on any available\n physical server\n - RESTART_NODE_ON_MINIMAL_SERVER: Restarts VMs on the same\n physical server whenever possible\n\n\n\nSee Sole-tenant\nnode options for more information." +}, +"status": { +"description": "Output only. [Output Only] The status of the node template. One of the following values:CREATING, READY, and DELETING.", +"enum": [ +"CREATING", +"DELETING", +"INVALID", +"READY" +], +"enumDescriptions": [ +"Resources are being allocated.", +"The node template is currently being deleted.", +"Invalid status.", +"The node template is ready." +], +"readOnly": true, +"type": "string" +}, +"statusMessage": { +"description": "Output only. [Output Only] An optional, human-readable explanation of the status.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"NodeTemplateAggregatedList": { +"id": "NodeTemplateAggregatedList", +"properties": { +"id": { +"description": "[Output Only] Unique identifier for the resource; defined by the server.", +"type": "string" +}, +"items": { +"additionalProperties": { +"$ref": "NodeTemplatesScopedList", +"description": "[Output Only] Name of the scope containing this set of node templates." +}, +"description": "A list of NodeTemplatesScopedList resources.", +"type": "object" +}, +"kind": { +"default": "compute#nodeTemplateAggregatedList", +"description": "Output only. [Output Only] Type of resource.Alwayscompute#nodeTemplateAggregatedList for aggregated lists of\nnode templates.", +"readOnly": true, +"type": "string" +}, +"nextPageToken": { +"description": "[Output Only] This token allows you to get the next page of results for\nlist requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for\nthe query parameter pageToken in the next list request.\nSubsequent list requests will have their own nextPageToken to\ncontinue paging through the results.", +"type": "string" +}, +"selfLink": { +"description": "Output only. [Output Only] Server-defined URL for this resource.", +"readOnly": true, +"type": "string" +}, +"unreachables": { +"description": "Output only. [Output Only] Unreachable resources.", +"items": { +"type": "string" +}, +"readOnly": true, +"type": "array" +}, +"warning": { +"description": "[Output Only] Informational warning message.", +"properties": { +"code": { +"description": "[Output Only] A warning code, if applicable. For example, Compute\nEngine returns NO_RESULTS_ON_PAGE if there\nare no results in the response.", +"enum": [ +"CLEANUP_FAILED", +"DEPRECATED_RESOURCE_USED", +"DEPRECATED_TYPE_USED", +"DISK_SIZE_LARGER_THAN_IMAGE_SIZE", +"EXPERIMENTAL_TYPE_USED", +"EXTERNAL_API_WARNING", +"FIELD_VALUE_OVERRIDEN", +"INJECTED_KERNELS_DEPRECATED", +"INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", +"LARGE_DEPLOYMENT_WARNING", +"LIST_OVERHEAD_QUOTA_EXCEED", +"MISSING_TYPE_DEPENDENCY", +"NEXT_HOP_ADDRESS_NOT_ASSIGNED", +"NEXT_HOP_CANNOT_IP_FORWARD", +"NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", +"NEXT_HOP_INSTANCE_NOT_FOUND", +"NEXT_HOP_INSTANCE_NOT_ON_NETWORK", +"NEXT_HOP_NOT_RUNNING", +"NOT_CRITICAL_ERROR", +"NO_RESULTS_ON_PAGE", +"PARTIAL_SUCCESS", +"QUOTA_INFO_UNAVAILABLE", +"REQUIRED_TOS_AGREEMENT", +"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", +"RESOURCE_NOT_DELETED", +"SCHEMA_VALIDATION_IGNORED", +"SINGLE_INSTANCE_PROPERTY_TEMPLATE", +"UNDECLARED_PROPERTIES", +"UNREACHABLE" +], +"enumDeprecated": [ +false, +false, +false, +false, +false, +false, +true, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false +], +"enumDescriptions": [ +"Warning about failed cleanup of transient changes made by a failed\noperation.", +"A link to a deprecated resource was created.", +"When deploying and at least one of the resources has a type marked as\ndeprecated", +"The user created a boot disk that is larger than image size.", +"When deploying and at least one of the resources has a type marked as\nexperimental", +"Warning that is present in an external api call", +"Warning that value of a field has been overridden.\nDeprecated unused field.", +"The operation involved use of an injected kernel, which is deprecated.", +"A WEIGHTED_MAGLEV backend service is associated with a health check that is\nnot of type HTTP/HTTPS/HTTP2.", +"When deploying a deployment with a exceedingly large number of resources", +"Resource can't be retrieved due to list overhead quota exceed\nwhich captures the amount of resources filtered out by\nuser-defined list filter.", +"A resource depends on a missing type", +"The route's nextHopIp address is not assigned to an instance on the\nnetwork.", +"The route's next hop instance cannot ip forward.", +"The route's nextHopInstance URL refers to an instance that does not have an\nipv6 interface on the same network as the route.", +"The route's nextHopInstance URL refers to an instance that does not exist.", +"The route's nextHopInstance URL refers to an instance that is not on the\nsame network as the route.", +"The route's next hop instance does not have a status of RUNNING.", +"Error which is not critical. We decided to continue the process despite\nthe mentioned error.", +"No results are present on a particular list page.", +"Success is reported, but some results may be missing due to errors", +"Quota information is not available to client requests (e.g:\nregions.list).", +"The user attempted to use a resource that requires a TOS they have not\naccepted.", +"Warning that a resource is in use.", +"One or more of the resources set to auto-delete could not be deleted\nbecause they were in use.", +"When a resource schema validation is ignored.", +"Instance template used in instance group manager is valid as such, but\nits application does not make a lot of sense, because it allows only\nsingle instance in instance group.", +"When undeclared properties in the schema are present", +"A given scope cannot be reached." +], +"type": "string" +}, +"data": { +"description": "[Output Only] Metadata about this warning in key:\nvalue format. For example:\n\n\"data\": [\n {\n \"key\": \"scope\",\n \"value\": \"zones/us-east1-d\"\n }", +"items": { +"properties": { +"key": { +"description": "[Output Only] A key that provides more detail on the warning being\nreturned. For example, for warnings where there are no results in a list\nrequest for a particular zone, this key might be scope and\nthe key value might be the zone name. Other examples might be a key\nindicating a deprecated resource and a suggested replacement, or a\nwarning about invalid network settings (for example, if an instance\nattempts to perform IP forwarding but is not enabled for IP forwarding).", +"type": "string" +}, +"value": { +"description": "[Output Only] A warning data value corresponding to the key.", +"type": "string" +} +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "[Output Only] A human-readable description of the warning code.", +"type": "string" +} +}, +"type": "object" +} +}, +"type": "object" +}, +"NodeTemplateList": { +"description": "Contains a list of node templates.", +"id": "NodeTemplateList", +"properties": { +"id": { +"description": "[Output Only] Unique identifier for the resource; defined by the server.", +"type": "string" +}, +"items": { +"description": "A list of NodeTemplate resources.", +"items": { +"$ref": "NodeTemplate" +}, +"type": "array" +}, +"kind": { +"default": "compute#nodeTemplateList", +"description": "Output only. [Output Only] Type of resource.Always compute#nodeTemplateList\nfor lists of node templates.", +"readOnly": true, +"type": "string" +}, +"nextPageToken": { +"description": "[Output Only] This token allows you to get the next page of results for\nlist requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for\nthe query parameter pageToken in the next list request.\nSubsequent list requests will have their own nextPageToken to\ncontinue paging through the results.", +"type": "string" +}, +"selfLink": { +"description": "Output only. [Output Only] Server-defined URL for this resource.", +"readOnly": true, +"type": "string" +}, +"warning": { +"description": "[Output Only] Informational warning message.", +"properties": { +"code": { +"description": "[Output Only] A warning code, if applicable. For example, Compute\nEngine returns NO_RESULTS_ON_PAGE if there\nare no results in the response.", +"enum": [ +"CLEANUP_FAILED", +"DEPRECATED_RESOURCE_USED", +"DEPRECATED_TYPE_USED", +"DISK_SIZE_LARGER_THAN_IMAGE_SIZE", +"EXPERIMENTAL_TYPE_USED", +"EXTERNAL_API_WARNING", +"FIELD_VALUE_OVERRIDEN", +"INJECTED_KERNELS_DEPRECATED", +"INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", +"LARGE_DEPLOYMENT_WARNING", +"LIST_OVERHEAD_QUOTA_EXCEED", +"MISSING_TYPE_DEPENDENCY", +"NEXT_HOP_ADDRESS_NOT_ASSIGNED", +"NEXT_HOP_CANNOT_IP_FORWARD", +"NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", +"NEXT_HOP_INSTANCE_NOT_FOUND", +"NEXT_HOP_INSTANCE_NOT_ON_NETWORK", +"NEXT_HOP_NOT_RUNNING", +"NOT_CRITICAL_ERROR", +"NO_RESULTS_ON_PAGE", +"PARTIAL_SUCCESS", +"QUOTA_INFO_UNAVAILABLE", +"REQUIRED_TOS_AGREEMENT", +"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", +"RESOURCE_NOT_DELETED", +"SCHEMA_VALIDATION_IGNORED", +"SINGLE_INSTANCE_PROPERTY_TEMPLATE", +"UNDECLARED_PROPERTIES", +"UNREACHABLE" +], +"enumDeprecated": [ +false, +false, +false, +false, +false, +false, +true, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false +], +"enumDescriptions": [ +"Warning about failed cleanup of transient changes made by a failed\noperation.", +"A link to a deprecated resource was created.", +"When deploying and at least one of the resources has a type marked as\ndeprecated", +"The user created a boot disk that is larger than image size.", +"When deploying and at least one of the resources has a type marked as\nexperimental", +"Warning that is present in an external api call", +"Warning that value of a field has been overridden.\nDeprecated unused field.", +"The operation involved use of an injected kernel, which is deprecated.", +"A WEIGHTED_MAGLEV backend service is associated with a health check that is\nnot of type HTTP/HTTPS/HTTP2.", +"When deploying a deployment with a exceedingly large number of resources", +"Resource can't be retrieved due to list overhead quota exceed\nwhich captures the amount of resources filtered out by\nuser-defined list filter.", +"A resource depends on a missing type", +"The route's nextHopIp address is not assigned to an instance on the\nnetwork.", +"The route's next hop instance cannot ip forward.", +"The route's nextHopInstance URL refers to an instance that does not have an\nipv6 interface on the same network as the route.", +"The route's nextHopInstance URL refers to an instance that does not exist.", +"The route's nextHopInstance URL refers to an instance that is not on the\nsame network as the route.", +"The route's next hop instance does not have a status of RUNNING.", +"Error which is not critical. We decided to continue the process despite\nthe mentioned error.", +"No results are present on a particular list page.", +"Success is reported, but some results may be missing due to errors", +"Quota information is not available to client requests (e.g:\nregions.list).", +"The user attempted to use a resource that requires a TOS they have not\naccepted.", +"Warning that a resource is in use.", +"One or more of the resources set to auto-delete could not be deleted\nbecause they were in use.", +"When a resource schema validation is ignored.", +"Instance template used in instance group manager is valid as such, but\nits application does not make a lot of sense, because it allows only\nsingle instance in instance group.", +"When undeclared properties in the schema are present", +"A given scope cannot be reached." +], +"type": "string" +}, +"data": { +"description": "[Output Only] Metadata about this warning in key:\nvalue format. For example:\n\n\"data\": [\n {\n \"key\": \"scope\",\n \"value\": \"zones/us-east1-d\"\n }", +"items": { +"properties": { +"key": { +"description": "[Output Only] A key that provides more detail on the warning being\nreturned. For example, for warnings where there are no results in a list\nrequest for a particular zone, this key might be scope and\nthe key value might be the zone name. Other examples might be a key\nindicating a deprecated resource and a suggested replacement, or a\nwarning about invalid network settings (for example, if an instance\nattempts to perform IP forwarding but is not enabled for IP forwarding).", +"type": "string" +}, +"value": { +"description": "[Output Only] A warning data value corresponding to the key.", +"type": "string" +} +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "[Output Only] A human-readable description of the warning code.", +"type": "string" +} +}, +"type": "object" +} +}, +"type": "object" +}, +"NodeTemplateNodeTypeFlexibility": { +"id": "NodeTemplateNodeTypeFlexibility", +"properties": { +"cpus": { +"type": "string" +}, +"localSsd": { +"type": "string" +}, +"memory": { +"type": "string" +} +}, +"type": "object" +}, +"NodeTemplatesScopedList": { +"id": "NodeTemplatesScopedList", +"properties": { +"nodeTemplates": { +"description": "[Output Only] A list of node templates contained in this scope.", +"items": { +"$ref": "NodeTemplate" +}, +"type": "array" +}, +"warning": { +"description": "[Output Only] An informational warning that appears when the node templates\nlist is empty.", +"properties": { +"code": { +"description": "[Output Only] A warning code, if applicable. For example, Compute\nEngine returns NO_RESULTS_ON_PAGE if there\nare no results in the response.", +"enum": [ +"CLEANUP_FAILED", +"DEPRECATED_RESOURCE_USED", +"DEPRECATED_TYPE_USED", +"DISK_SIZE_LARGER_THAN_IMAGE_SIZE", +"EXPERIMENTAL_TYPE_USED", +"EXTERNAL_API_WARNING", +"FIELD_VALUE_OVERRIDEN", +"INJECTED_KERNELS_DEPRECATED", +"INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", +"LARGE_DEPLOYMENT_WARNING", +"LIST_OVERHEAD_QUOTA_EXCEED", +"MISSING_TYPE_DEPENDENCY", +"NEXT_HOP_ADDRESS_NOT_ASSIGNED", +"NEXT_HOP_CANNOT_IP_FORWARD", +"NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", +"NEXT_HOP_INSTANCE_NOT_FOUND", +"NEXT_HOP_INSTANCE_NOT_ON_NETWORK", +"NEXT_HOP_NOT_RUNNING", +"NOT_CRITICAL_ERROR", +"NO_RESULTS_ON_PAGE", +"PARTIAL_SUCCESS", +"QUOTA_INFO_UNAVAILABLE", +"REQUIRED_TOS_AGREEMENT", +"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", +"RESOURCE_NOT_DELETED", +"SCHEMA_VALIDATION_IGNORED", +"SINGLE_INSTANCE_PROPERTY_TEMPLATE", +"UNDECLARED_PROPERTIES", +"UNREACHABLE" +], +"enumDeprecated": [ +false, +false, +false, +false, +false, +false, +true, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false +], +"enumDescriptions": [ +"Warning about failed cleanup of transient changes made by a failed\noperation.", +"A link to a deprecated resource was created.", +"When deploying and at least one of the resources has a type marked as\ndeprecated", +"The user created a boot disk that is larger than image size.", +"When deploying and at least one of the resources has a type marked as\nexperimental", +"Warning that is present in an external api call", +"Warning that value of a field has been overridden.\nDeprecated unused field.", +"The operation involved use of an injected kernel, which is deprecated.", +"A WEIGHTED_MAGLEV backend service is associated with a health check that is\nnot of type HTTP/HTTPS/HTTP2.", +"When deploying a deployment with a exceedingly large number of resources", +"Resource can't be retrieved due to list overhead quota exceed\nwhich captures the amount of resources filtered out by\nuser-defined list filter.", +"A resource depends on a missing type", +"The route's nextHopIp address is not assigned to an instance on the\nnetwork.", +"The route's next hop instance cannot ip forward.", +"The route's nextHopInstance URL refers to an instance that does not have an\nipv6 interface on the same network as the route.", +"The route's nextHopInstance URL refers to an instance that does not exist.", +"The route's nextHopInstance URL refers to an instance that is not on the\nsame network as the route.", +"The route's next hop instance does not have a status of RUNNING.", +"Error which is not critical. We decided to continue the process despite\nthe mentioned error.", +"No results are present on a particular list page.", +"Success is reported, but some results may be missing due to errors", +"Quota information is not available to client requests (e.g:\nregions.list).", +"The user attempted to use a resource that requires a TOS they have not\naccepted.", +"Warning that a resource is in use.", +"One or more of the resources set to auto-delete could not be deleted\nbecause they were in use.", +"When a resource schema validation is ignored.", +"Instance template used in instance group manager is valid as such, but\nits application does not make a lot of sense, because it allows only\nsingle instance in instance group.", +"When undeclared properties in the schema are present", +"A given scope cannot be reached." +], +"type": "string" +}, +"data": { +"description": "[Output Only] Metadata about this warning in key:\nvalue format. For example:\n\n\"data\": [\n {\n \"key\": \"scope\",\n \"value\": \"zones/us-east1-d\"\n }", +"items": { +"properties": { +"key": { +"description": "[Output Only] A key that provides more detail on the warning being\nreturned. For example, for warnings where there are no results in a list\nrequest for a particular zone, this key might be scope and\nthe key value might be the zone name. Other examples might be a key\nindicating a deprecated resource and a suggested replacement, or a\nwarning about invalid network settings (for example, if an instance\nattempts to perform IP forwarding but is not enabled for IP forwarding).", +"type": "string" +}, +"value": { +"description": "[Output Only] A warning data value corresponding to the key.", +"type": "string" +} +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "[Output Only] A human-readable description of the warning code.", +"type": "string" +} +}, +"type": "object" +} +}, +"type": "object" +}, +"NodeType": { +"description": "Represent a sole-tenant Node Type resource.\n\nEach node within a node group must have a node type. A node type specifies\nthe total amount of cores and memory for that node. Currently, the only\navailable node type is n1-node-96-624 node type that has 96\nvCPUs and 624 GB of memory, available in multiple zones. For more information\nreadNode types.", +"id": "NodeType", +"properties": { +"cpuPlatform": { +"description": "[Output Only] The CPU platform used by this node type.", +"type": "string" +}, +"creationTimestamp": { +"description": "[Output Only] Creation timestamp inRFC3339\ntext format.", +"type": "string" +}, +"deprecated": { +"$ref": "DeprecationStatus", +"description": "[Output Only] The deprecation status associated with this node type." +}, +"description": { +"description": "[Output Only] An optional textual description of the resource.", +"type": "string" +}, +"guestCpus": { +"description": "[Output Only] The number of virtual CPUs that are available to the node\ntype.", +"format": "int32", +"type": "integer" +}, +"id": { +"description": "[Output Only] The unique identifier for the resource. This identifier is\ndefined by the server.", +"format": "uint64", +"type": "string" +}, +"kind": { +"default": "compute#nodeType", +"description": "Output only. [Output Only] The type of the resource. Alwayscompute#nodeType for node types.", +"readOnly": true, +"type": "string" +}, +"localSsdGb": { +"description": "[Output Only] Local SSD available to the node type, defined in GB.", +"format": "int32", +"type": "integer" +}, +"maxVms": { +"description": "Output only. [Output Only] Maximum number of VMs that can be created for this node type.", +"format": "int32", +"readOnly": true, +"type": "integer" +}, +"memoryMb": { +"description": "[Output Only] The amount of physical memory available to the node type,\ndefined in MB.", +"format": "int32", +"type": "integer" +}, +"name": { +"description": "[Output Only] Name of the resource.", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"type": "string" +}, +"selfLink": { +"description": "Output only. [Output Only] Server-defined URL for the resource.", +"readOnly": true, +"type": "string" +}, +"zone": { +"description": "Output only. [Output Only] The name of the zone where the node type resides,\nsuch as us-central1-a.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"NodeTypeAggregatedList": { +"id": "NodeTypeAggregatedList", +"properties": { +"id": { +"description": "[Output Only] Unique identifier for the resource; defined by the server.", +"type": "string" +}, +"items": { +"additionalProperties": { +"$ref": "NodeTypesScopedList", +"description": "[Output Only] Name of the scope containing this set of node types." +}, +"description": "A list of NodeTypesScopedList resources.", +"type": "object" +}, +"kind": { +"default": "compute#nodeTypeAggregatedList", +"description": "Output only. [Output Only] Type of resource.Alwayscompute#nodeTypeAggregatedList for aggregated lists of node\ntypes.", +"readOnly": true, +"type": "string" +}, +"nextPageToken": { +"description": "[Output Only] This token allows you to get the next page of results for\nlist requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for\nthe query parameter pageToken in the next list request.\nSubsequent list requests will have their own nextPageToken to\ncontinue paging through the results.", +"type": "string" +}, +"selfLink": { +"description": "Output only. [Output Only] Server-defined URL for this resource.", +"readOnly": true, +"type": "string" +}, +"unreachables": { +"description": "Output only. [Output Only] Unreachable resources.", +"items": { +"type": "string" +}, +"readOnly": true, +"type": "array" +}, +"warning": { +"description": "[Output Only] Informational warning message.", +"properties": { +"code": { +"description": "[Output Only] A warning code, if applicable. For example, Compute\nEngine returns NO_RESULTS_ON_PAGE if there\nare no results in the response.", +"enum": [ +"CLEANUP_FAILED", +"DEPRECATED_RESOURCE_USED", +"DEPRECATED_TYPE_USED", +"DISK_SIZE_LARGER_THAN_IMAGE_SIZE", +"EXPERIMENTAL_TYPE_USED", +"EXTERNAL_API_WARNING", +"FIELD_VALUE_OVERRIDEN", +"INJECTED_KERNELS_DEPRECATED", +"INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", +"LARGE_DEPLOYMENT_WARNING", +"LIST_OVERHEAD_QUOTA_EXCEED", +"MISSING_TYPE_DEPENDENCY", +"NEXT_HOP_ADDRESS_NOT_ASSIGNED", +"NEXT_HOP_CANNOT_IP_FORWARD", +"NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", +"NEXT_HOP_INSTANCE_NOT_FOUND", +"NEXT_HOP_INSTANCE_NOT_ON_NETWORK", +"NEXT_HOP_NOT_RUNNING", +"NOT_CRITICAL_ERROR", +"NO_RESULTS_ON_PAGE", +"PARTIAL_SUCCESS", +"QUOTA_INFO_UNAVAILABLE", +"REQUIRED_TOS_AGREEMENT", +"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", +"RESOURCE_NOT_DELETED", +"SCHEMA_VALIDATION_IGNORED", +"SINGLE_INSTANCE_PROPERTY_TEMPLATE", +"UNDECLARED_PROPERTIES", +"UNREACHABLE" +], +"enumDeprecated": [ +false, +false, +false, +false, +false, +false, +true, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false +], +"enumDescriptions": [ +"Warning about failed cleanup of transient changes made by a failed\noperation.", +"A link to a deprecated resource was created.", +"When deploying and at least one of the resources has a type marked as\ndeprecated", +"The user created a boot disk that is larger than image size.", +"When deploying and at least one of the resources has a type marked as\nexperimental", +"Warning that is present in an external api call", +"Warning that value of a field has been overridden.\nDeprecated unused field.", +"The operation involved use of an injected kernel, which is deprecated.", +"A WEIGHTED_MAGLEV backend service is associated with a health check that is\nnot of type HTTP/HTTPS/HTTP2.", +"When deploying a deployment with a exceedingly large number of resources", +"Resource can't be retrieved due to list overhead quota exceed\nwhich captures the amount of resources filtered out by\nuser-defined list filter.", +"A resource depends on a missing type", +"The route's nextHopIp address is not assigned to an instance on the\nnetwork.", +"The route's next hop instance cannot ip forward.", +"The route's nextHopInstance URL refers to an instance that does not have an\nipv6 interface on the same network as the route.", +"The route's nextHopInstance URL refers to an instance that does not exist.", +"The route's nextHopInstance URL refers to an instance that is not on the\nsame network as the route.", +"The route's next hop instance does not have a status of RUNNING.", +"Error which is not critical. We decided to continue the process despite\nthe mentioned error.", +"No results are present on a particular list page.", +"Success is reported, but some results may be missing due to errors", +"Quota information is not available to client requests (e.g:\nregions.list).", +"The user attempted to use a resource that requires a TOS they have not\naccepted.", +"Warning that a resource is in use.", +"One or more of the resources set to auto-delete could not be deleted\nbecause they were in use.", +"When a resource schema validation is ignored.", +"Instance template used in instance group manager is valid as such, but\nits application does not make a lot of sense, because it allows only\nsingle instance in instance group.", +"When undeclared properties in the schema are present", +"A given scope cannot be reached." +], +"type": "string" +}, +"data": { +"description": "[Output Only] Metadata about this warning in key:\nvalue format. For example:\n\n\"data\": [\n {\n \"key\": \"scope\",\n \"value\": \"zones/us-east1-d\"\n }", +"items": { +"properties": { +"key": { +"description": "[Output Only] A key that provides more detail on the warning being\nreturned. For example, for warnings where there are no results in a list\nrequest for a particular zone, this key might be scope and\nthe key value might be the zone name. Other examples might be a key\nindicating a deprecated resource and a suggested replacement, or a\nwarning about invalid network settings (for example, if an instance\nattempts to perform IP forwarding but is not enabled for IP forwarding).", +"type": "string" +}, +"value": { +"description": "[Output Only] A warning data value corresponding to the key.", +"type": "string" +} +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "[Output Only] A human-readable description of the warning code.", +"type": "string" +} +}, +"type": "object" +} +}, +"type": "object" +}, +"NodeTypeList": { +"description": "Contains a list of node types.", +"id": "NodeTypeList", +"properties": { +"id": { +"description": "[Output Only] Unique identifier for the resource; defined by the server.", +"type": "string" +}, +"items": { +"description": "A list of NodeType resources.", +"items": { +"$ref": "NodeType" +}, +"type": "array" +}, +"kind": { +"default": "compute#nodeTypeList", +"description": "Output only. [Output Only] Type of resource.Always compute#nodeTypeList for\nlists of node types.", +"readOnly": true, +"type": "string" +}, +"nextPageToken": { +"description": "[Output Only] This token allows you to get the next page of results for\nlist requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for\nthe query parameter pageToken in the next list request.\nSubsequent list requests will have their own nextPageToken to\ncontinue paging through the results.", +"type": "string" +}, +"selfLink": { +"description": "Output only. [Output Only] Server-defined URL for this resource.", +"readOnly": true, +"type": "string" +}, +"warning": { +"description": "[Output Only] Informational warning message.", +"properties": { +"code": { +"description": "[Output Only] A warning code, if applicable. For example, Compute\nEngine returns NO_RESULTS_ON_PAGE if there\nare no results in the response.", +"enum": [ +"CLEANUP_FAILED", +"DEPRECATED_RESOURCE_USED", +"DEPRECATED_TYPE_USED", +"DISK_SIZE_LARGER_THAN_IMAGE_SIZE", +"EXPERIMENTAL_TYPE_USED", +"EXTERNAL_API_WARNING", +"FIELD_VALUE_OVERRIDEN", +"INJECTED_KERNELS_DEPRECATED", +"INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", +"LARGE_DEPLOYMENT_WARNING", +"LIST_OVERHEAD_QUOTA_EXCEED", +"MISSING_TYPE_DEPENDENCY", +"NEXT_HOP_ADDRESS_NOT_ASSIGNED", +"NEXT_HOP_CANNOT_IP_FORWARD", +"NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", +"NEXT_HOP_INSTANCE_NOT_FOUND", +"NEXT_HOP_INSTANCE_NOT_ON_NETWORK", +"NEXT_HOP_NOT_RUNNING", +"NOT_CRITICAL_ERROR", +"NO_RESULTS_ON_PAGE", +"PARTIAL_SUCCESS", +"QUOTA_INFO_UNAVAILABLE", +"REQUIRED_TOS_AGREEMENT", +"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", +"RESOURCE_NOT_DELETED", +"SCHEMA_VALIDATION_IGNORED", +"SINGLE_INSTANCE_PROPERTY_TEMPLATE", +"UNDECLARED_PROPERTIES", +"UNREACHABLE" +], +"enumDeprecated": [ +false, +false, +false, +false, +false, +false, +true, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false +], +"enumDescriptions": [ +"Warning about failed cleanup of transient changes made by a failed\noperation.", +"A link to a deprecated resource was created.", +"When deploying and at least one of the resources has a type marked as\ndeprecated", +"The user created a boot disk that is larger than image size.", +"When deploying and at least one of the resources has a type marked as\nexperimental", +"Warning that is present in an external api call", +"Warning that value of a field has been overridden.\nDeprecated unused field.", +"The operation involved use of an injected kernel, which is deprecated.", +"A WEIGHTED_MAGLEV backend service is associated with a health check that is\nnot of type HTTP/HTTPS/HTTP2.", +"When deploying a deployment with a exceedingly large number of resources", +"Resource can't be retrieved due to list overhead quota exceed\nwhich captures the amount of resources filtered out by\nuser-defined list filter.", +"A resource depends on a missing type", +"The route's nextHopIp address is not assigned to an instance on the\nnetwork.", +"The route's next hop instance cannot ip forward.", +"The route's nextHopInstance URL refers to an instance that does not have an\nipv6 interface on the same network as the route.", +"The route's nextHopInstance URL refers to an instance that does not exist.", +"The route's nextHopInstance URL refers to an instance that is not on the\nsame network as the route.", +"The route's next hop instance does not have a status of RUNNING.", +"Error which is not critical. We decided to continue the process despite\nthe mentioned error.", +"No results are present on a particular list page.", +"Success is reported, but some results may be missing due to errors", +"Quota information is not available to client requests (e.g:\nregions.list).", +"The user attempted to use a resource that requires a TOS they have not\naccepted.", +"Warning that a resource is in use.", +"One or more of the resources set to auto-delete could not be deleted\nbecause they were in use.", +"When a resource schema validation is ignored.", +"Instance template used in instance group manager is valid as such, but\nits application does not make a lot of sense, because it allows only\nsingle instance in instance group.", +"When undeclared properties in the schema are present", +"A given scope cannot be reached." +], +"type": "string" +}, +"data": { +"description": "[Output Only] Metadata about this warning in key:\nvalue format. For example:\n\n\"data\": [\n {\n \"key\": \"scope\",\n \"value\": \"zones/us-east1-d\"\n }", +"items": { +"properties": { +"key": { +"description": "[Output Only] A key that provides more detail on the warning being\nreturned. For example, for warnings where there are no results in a list\nrequest for a particular zone, this key might be scope and\nthe key value might be the zone name. Other examples might be a key\nindicating a deprecated resource and a suggested replacement, or a\nwarning about invalid network settings (for example, if an instance\nattempts to perform IP forwarding but is not enabled for IP forwarding).", +"type": "string" +}, +"value": { +"description": "[Output Only] A warning data value corresponding to the key.", +"type": "string" +} +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "[Output Only] A human-readable description of the warning code.", +"type": "string" +} +}, +"type": "object" +} +}, +"type": "object" +}, +"NodeTypesScopedList": { +"id": "NodeTypesScopedList", +"properties": { +"nodeTypes": { +"description": "[Output Only] A list of node types contained in this scope.", +"items": { +"$ref": "NodeType" +}, +"type": "array" +}, +"warning": { +"description": "[Output Only] An informational warning that appears when the node types\nlist is empty.", +"properties": { +"code": { +"description": "[Output Only] A warning code, if applicable. For example, Compute\nEngine returns NO_RESULTS_ON_PAGE if there\nare no results in the response.", +"enum": [ +"CLEANUP_FAILED", +"DEPRECATED_RESOURCE_USED", +"DEPRECATED_TYPE_USED", +"DISK_SIZE_LARGER_THAN_IMAGE_SIZE", +"EXPERIMENTAL_TYPE_USED", +"EXTERNAL_API_WARNING", +"FIELD_VALUE_OVERRIDEN", +"INJECTED_KERNELS_DEPRECATED", +"INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", +"LARGE_DEPLOYMENT_WARNING", +"LIST_OVERHEAD_QUOTA_EXCEED", +"MISSING_TYPE_DEPENDENCY", +"NEXT_HOP_ADDRESS_NOT_ASSIGNED", +"NEXT_HOP_CANNOT_IP_FORWARD", +"NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", +"NEXT_HOP_INSTANCE_NOT_FOUND", +"NEXT_HOP_INSTANCE_NOT_ON_NETWORK", +"NEXT_HOP_NOT_RUNNING", +"NOT_CRITICAL_ERROR", +"NO_RESULTS_ON_PAGE", +"PARTIAL_SUCCESS", +"QUOTA_INFO_UNAVAILABLE", +"REQUIRED_TOS_AGREEMENT", +"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", +"RESOURCE_NOT_DELETED", +"SCHEMA_VALIDATION_IGNORED", +"SINGLE_INSTANCE_PROPERTY_TEMPLATE", +"UNDECLARED_PROPERTIES", +"UNREACHABLE" +], +"enumDeprecated": [ +false, +false, +false, +false, +false, +false, +true, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false +], +"enumDescriptions": [ +"Warning about failed cleanup of transient changes made by a failed\noperation.", +"A link to a deprecated resource was created.", +"When deploying and at least one of the resources has a type marked as\ndeprecated", +"The user created a boot disk that is larger than image size.", +"When deploying and at least one of the resources has a type marked as\nexperimental", +"Warning that is present in an external api call", +"Warning that value of a field has been overridden.\nDeprecated unused field.", +"The operation involved use of an injected kernel, which is deprecated.", +"A WEIGHTED_MAGLEV backend service is associated with a health check that is\nnot of type HTTP/HTTPS/HTTP2.", +"When deploying a deployment with a exceedingly large number of resources", +"Resource can't be retrieved due to list overhead quota exceed\nwhich captures the amount of resources filtered out by\nuser-defined list filter.", +"A resource depends on a missing type", +"The route's nextHopIp address is not assigned to an instance on the\nnetwork.", +"The route's next hop instance cannot ip forward.", +"The route's nextHopInstance URL refers to an instance that does not have an\nipv6 interface on the same network as the route.", +"The route's nextHopInstance URL refers to an instance that does not exist.", +"The route's nextHopInstance URL refers to an instance that is not on the\nsame network as the route.", +"The route's next hop instance does not have a status of RUNNING.", +"Error which is not critical. We decided to continue the process despite\nthe mentioned error.", +"No results are present on a particular list page.", +"Success is reported, but some results may be missing due to errors", +"Quota information is not available to client requests (e.g:\nregions.list).", +"The user attempted to use a resource that requires a TOS they have not\naccepted.", +"Warning that a resource is in use.", +"One or more of the resources set to auto-delete could not be deleted\nbecause they were in use.", +"When a resource schema validation is ignored.", +"Instance template used in instance group manager is valid as such, but\nits application does not make a lot of sense, because it allows only\nsingle instance in instance group.", +"When undeclared properties in the schema are present", +"A given scope cannot be reached." +], +"type": "string" +}, +"data": { +"description": "[Output Only] Metadata about this warning in key:\nvalue format. For example:\n\n\"data\": [\n {\n \"key\": \"scope\",\n \"value\": \"zones/us-east1-d\"\n }", +"items": { +"properties": { +"key": { +"description": "[Output Only] A key that provides more detail on the warning being\nreturned. For example, for warnings where there are no results in a list\nrequest for a particular zone, this key might be scope and\nthe key value might be the zone name. Other examples might be a key\nindicating a deprecated resource and a suggested replacement, or a\nwarning about invalid network settings (for example, if an instance\nattempts to perform IP forwarding but is not enabled for IP forwarding).", +"type": "string" +}, +"value": { +"description": "[Output Only] A warning data value corresponding to the key.", +"type": "string" +} +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "[Output Only] A human-readable description of the warning code.", +"type": "string" +} +}, +"type": "object" +} +}, +"type": "object" +}, +"NotificationEndpoint": { +"description": "Represents a notification endpoint.\n\nA notification endpoint resource defines an endpoint to receive notifications\nwhen there are status changes detected by the associated health check\nservice.\n\nFor more information, see\nHealth checks overview.", +"id": "NotificationEndpoint", +"properties": { +"creationTimestamp": { +"description": "Output only. [Output Only] Creation timestamp inRFC3339\ntext format.", +"readOnly": true, +"type": "string" +}, +"description": { +"description": "An optional description of this resource. Provide this property when you\ncreate the resource.", +"type": "string" +}, +"grpcSettings": { +"$ref": "NotificationEndpointGrpcSettings", +"description": "Settings of the gRPC notification endpoint including the endpoint URL and\nthe retry duration." +}, +"id": { +"description": "Output only. [Output Only] A unique identifier for this resource type. The server\ngenerates this identifier.", +"format": "uint64", +"readOnly": true, +"type": "string" +}, +"kind": { +"default": "compute#notificationEndpoint", +"description": "Output only. [Output Only] Type of the resource. Alwayscompute#notificationEndpoint for notification endpoints.", +"readOnly": true, +"type": "string" +}, +"name": { +"description": "Name of the resource. Provided by the client when the resource is created.\nThe name must be 1-63 characters long, and comply withRFC1035.\nSpecifically, the name must be 1-63 characters long and match the regular\nexpression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first\ncharacter must be a lowercase letter, and all following characters must\nbe a dash, lowercase letter, or digit, except the last character, which\ncannot be a dash.", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"type": "string" +}, +"region": { +"description": "Output only. [Output Only] URL of the region where the notification endpoint resides.\nThis field applies only to the regional resource. You must specify this\nfield as part of the HTTP request URL. It is not settable as a field in\nthe request body.", +"readOnly": true, +"type": "string" +}, +"selfLink": { +"description": "Output only. [Output Only] Server-defined URL for the resource.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"NotificationEndpointGrpcSettings": { +"description": "Represents a gRPC setting that describes one gRPC notification endpoint and\nthe retry duration attempting to send notification to this endpoint.", +"id": "NotificationEndpointGrpcSettings", +"properties": { +"authority": { +"description": "Optional. If specified, this field is used to set the authority header by\nthe sender of notifications. See\nhttps://tools.ietf.org/html/rfc7540#section-8.1.2.3", +"type": "string" +}, +"endpoint": { +"description": "Endpoint to which gRPC notifications are sent. This must be a valid\ngRPCLB DNS name.", +"type": "string" +}, +"payloadName": { +"description": "Optional. If specified, this field is used to populate the \"name\" field\nin gRPC requests.", +"type": "string" +}, +"resendInterval": { +"$ref": "Duration", +"description": "Optional. This field is used to configure how often to send a full update\nof all non-healthy backends. If unspecified, full updates are not sent.\nIf specified, must be in the range between 600 seconds to 3600 seconds.\nNanos are disallowed. Can only be set for regional notification\nendpoints." +}, +"retryDurationSec": { +"description": "How much time (in seconds) is spent attempting notification retries\nuntil a successful response is received. Default is 30s. Limit is 20m\n(1200s). Must be a positive number.", +"format": "uint32", +"type": "integer" +} +}, +"type": "object" +}, +"NotificationEndpointList": { +"id": "NotificationEndpointList", +"properties": { +"id": { +"description": "[Output Only] Unique identifier for the resource; defined by the server.", +"type": "string" +}, +"items": { +"description": "A list of NotificationEndpoint resources.", +"items": { +"$ref": "NotificationEndpoint" +}, +"type": "array" +}, +"kind": { +"default": "compute#notificationEndpointList", +"description": "Output only. [Output Only] Type of the resource. Alwayscompute#notificationEndpoint for notification endpoints.", +"readOnly": true, +"type": "string" +}, +"nextPageToken": { +"description": "[Output Only] This token allows you to get the next page of results for\nlist requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for\nthe query parameter pageToken in the next list request.\nSubsequent list requests will have their own nextPageToken to\ncontinue paging through the results.", +"type": "string" +}, +"selfLink": { +"description": "[Output Only] Server-defined URL for this resource.", +"type": "string" +}, +"warning": { +"description": "[Output Only] Informational warning message.", +"properties": { +"code": { +"description": "[Output Only] A warning code, if applicable. For example, Compute\nEngine returns NO_RESULTS_ON_PAGE if there\nare no results in the response.", +"enum": [ +"CLEANUP_FAILED", +"DEPRECATED_RESOURCE_USED", +"DEPRECATED_TYPE_USED", +"DISK_SIZE_LARGER_THAN_IMAGE_SIZE", +"EXPERIMENTAL_TYPE_USED", +"EXTERNAL_API_WARNING", +"FIELD_VALUE_OVERRIDEN", +"INJECTED_KERNELS_DEPRECATED", +"INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", +"LARGE_DEPLOYMENT_WARNING", +"LIST_OVERHEAD_QUOTA_EXCEED", +"MISSING_TYPE_DEPENDENCY", +"NEXT_HOP_ADDRESS_NOT_ASSIGNED", +"NEXT_HOP_CANNOT_IP_FORWARD", +"NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", +"NEXT_HOP_INSTANCE_NOT_FOUND", +"NEXT_HOP_INSTANCE_NOT_ON_NETWORK", +"NEXT_HOP_NOT_RUNNING", +"NOT_CRITICAL_ERROR", +"NO_RESULTS_ON_PAGE", +"PARTIAL_SUCCESS", +"QUOTA_INFO_UNAVAILABLE", +"REQUIRED_TOS_AGREEMENT", +"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", +"RESOURCE_NOT_DELETED", +"SCHEMA_VALIDATION_IGNORED", +"SINGLE_INSTANCE_PROPERTY_TEMPLATE", +"UNDECLARED_PROPERTIES", +"UNREACHABLE" +], +"enumDeprecated": [ +false, +false, +false, +false, +false, +false, +true, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false +], +"enumDescriptions": [ +"Warning about failed cleanup of transient changes made by a failed\noperation.", +"A link to a deprecated resource was created.", +"When deploying and at least one of the resources has a type marked as\ndeprecated", +"The user created a boot disk that is larger than image size.", +"When deploying and at least one of the resources has a type marked as\nexperimental", +"Warning that is present in an external api call", +"Warning that value of a field has been overridden.\nDeprecated unused field.", +"The operation involved use of an injected kernel, which is deprecated.", +"A WEIGHTED_MAGLEV backend service is associated with a health check that is\nnot of type HTTP/HTTPS/HTTP2.", +"When deploying a deployment with a exceedingly large number of resources", +"Resource can't be retrieved due to list overhead quota exceed\nwhich captures the amount of resources filtered out by\nuser-defined list filter.", +"A resource depends on a missing type", +"The route's nextHopIp address is not assigned to an instance on the\nnetwork.", +"The route's next hop instance cannot ip forward.", +"The route's nextHopInstance URL refers to an instance that does not have an\nipv6 interface on the same network as the route.", +"The route's nextHopInstance URL refers to an instance that does not exist.", +"The route's nextHopInstance URL refers to an instance that is not on the\nsame network as the route.", +"The route's next hop instance does not have a status of RUNNING.", +"Error which is not critical. We decided to continue the process despite\nthe mentioned error.", +"No results are present on a particular list page.", +"Success is reported, but some results may be missing due to errors", +"Quota information is not available to client requests (e.g:\nregions.list).", +"The user attempted to use a resource that requires a TOS they have not\naccepted.", +"Warning that a resource is in use.", +"One or more of the resources set to auto-delete could not be deleted\nbecause they were in use.", +"When a resource schema validation is ignored.", +"Instance template used in instance group manager is valid as such, but\nits application does not make a lot of sense, because it allows only\nsingle instance in instance group.", +"When undeclared properties in the schema are present", +"A given scope cannot be reached." +], +"type": "string" +}, +"data": { +"description": "[Output Only] Metadata about this warning in key:\nvalue format. For example:\n\n\"data\": [\n {\n \"key\": \"scope\",\n \"value\": \"zones/us-east1-d\"\n }", +"items": { +"properties": { +"key": { +"description": "[Output Only] A key that provides more detail on the warning being\nreturned. For example, for warnings where there are no results in a list\nrequest for a particular zone, this key might be scope and\nthe key value might be the zone name. Other examples might be a key\nindicating a deprecated resource and a suggested replacement, or a\nwarning about invalid network settings (for example, if an instance\nattempts to perform IP forwarding but is not enabled for IP forwarding).", +"type": "string" +}, +"value": { +"description": "[Output Only] A warning data value corresponding to the key.", +"type": "string" +} +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "[Output Only] A human-readable description of the warning code.", +"type": "string" +} +}, +"type": "object" +} +}, +"type": "object" +}, +"Operation": { +"description": "Represents an Operation resource.\n\nGoogle Compute Engine has three Operation resources:\n\n* [Global](/compute/docs/reference/rest/beta/globalOperations)\n* [Regional](/compute/docs/reference/rest/beta/regionOperations)\n* [Zonal](/compute/docs/reference/rest/beta/zoneOperations)\n\nYou can use an operation resource to manage asynchronous API requests.\nFor more information, readHandling\nAPI responses.\n\nOperations can be global, regional or zonal.\n \n - For global operations, use the `globalOperations`\n resource. \n - For regional operations, use the\n `regionOperations` resource. \n - For zonal operations, use\n the `zoneOperations` resource.\n\n\n\nFor more information, read\nGlobal, Regional, and Zonal Resources.\n\nNote that completed Operation resources have a limited \nretention period.", +"id": "Operation", +"properties": { +"clientOperationId": { +"description": "[Output Only] The value of `requestId` if you provided it in the request.\nNot present otherwise.", +"type": "string" +}, +"creationTimestamp": { +"description": "[Deprecated] This field is deprecated.", +"type": "string" +}, +"description": { +"description": "[Output Only] A textual description of the operation, which is\nset when the operation is created.", +"type": "string" +}, +"endTime": { +"description": "[Output Only] The time that this operation was completed. This value is inRFC3339\ntext format.", +"type": "string" +}, +"error": { +"description": "[Output Only] If errors are generated during processing of the operation,\nthis field will be populated.", +"properties": { +"errors": { +"description": "[Output Only] The array of errors encountered while processing this\noperation.", +"items": { +"properties": { +"code": { +"description": "[Output Only] The error type identifier for this error.", +"type": "string" +}, +"errorDetails": { +"description": "[Output Only] An optional list of messages that contain the error\ndetails. There is a set of defined message types to use for providing\ndetails.The syntax depends on the error code. For example,\nQuotaExceededInfo will have details when the error code is\nQUOTA_EXCEEDED.", +"items": { +"properties": { +"errorInfo": { +"$ref": "ErrorInfo" +}, +"help": { +"$ref": "Help" +}, +"localizedMessage": { +"$ref": "LocalizedMessage" +}, +"quotaInfo": { +"$ref": "QuotaExceededInfo" +} +}, +"type": "object" +}, +"type": "array" +}, +"location": { +"description": "[Output Only] Indicates the field in the request that caused the error.\nThis property is optional.", +"type": "string" +}, +"message": { +"description": "[Output Only] An optional, human-readable error message.", +"type": "string" +} +}, +"type": "object" +}, +"type": "array" +} +}, +"type": "object" +}, +"httpErrorMessage": { +"description": "[Output Only] If the operation fails, this field contains the HTTP error\nmessage that was returned, such as `NOT FOUND`.", +"type": "string" +}, +"httpErrorStatusCode": { +"description": "[Output Only] If the operation fails, this field contains the HTTP error\nstatus code that was returned. For example, a `404` means the\nresource was not found.", +"format": "int32", +"type": "integer" +}, +"id": { +"description": "[Output Only] The unique identifier for the operation. This identifier is\ndefined by the server.", +"format": "uint64", +"type": "string" +}, +"insertTime": { +"description": "[Output Only] The time that this operation was requested.\nThis value is inRFC3339\ntext format.", +"type": "string" +}, +"instancesBulkInsertOperationMetadata": { +"$ref": "InstancesBulkInsertOperationMetadata" +}, +"kind": { +"default": "compute#operation", +"description": "Output only. [Output Only] Type of the resource. Always `compute#operation` for\nOperation resources.", +"readOnly": true, +"type": "string" +}, +"name": { +"description": "[Output Only] Name of the operation.", +"type": "string" +}, +"operationGroupId": { +"description": "Output only. [Output Only] An ID that represents a group of operations, such as when a\ngroup of operations results from a `bulkInsert` API request.", +"readOnly": true, +"type": "string" +}, +"operationType": { +"description": "[Output Only] The type of operation, such as `insert`,\n`update`, or `delete`, and so on.", +"type": "string" +}, +"progress": { +"description": "[Output Only] An optional progress indicator that ranges from 0 to 100.\nThere is no requirement that this be linear or support any granularity of\noperations. This should not be used to guess when the operation will be\ncomplete. This number should monotonically increase as the operation\nprogresses.", +"format": "int32", +"type": "integer" +}, +"region": { +"description": "[Output Only] The URL of the region where the operation resides. Only\napplicable when performing regional operations.", +"type": "string" +}, +"selfLink": { +"description": "[Output Only] Server-defined URL for the resource.", +"type": "string" +}, +"setCommonInstanceMetadataOperationMetadata": { +"$ref": "SetCommonInstanceMetadataOperationMetadata", +"description": "Output only. [Output Only] If the operation is for projects.setCommonInstanceMetadata,\nthis field will contain information on all underlying zonal actions and\ntheir state.", +"readOnly": true +}, +"startTime": { +"description": "[Output Only] The time that this operation was started by the server.\nThis value is inRFC3339\ntext format.", +"type": "string" +}, +"status": { +"description": "[Output Only] The status of the operation, which can be one of the\nfollowing:\n`PENDING`, `RUNNING`, or `DONE`.", +"enum": [ +"DONE", +"PENDING", +"RUNNING" +], +"enumDescriptions": [ +"", +"", +"" +], +"type": "string" +}, +"statusMessage": { +"description": "[Output Only] An optional textual description of the current status of the\noperation.", +"type": "string" +}, +"targetId": { +"description": "[Output Only] The unique target ID, which identifies a specific incarnation\nof the target resource.", +"format": "uint64", +"type": "string" +}, +"targetLink": { +"description": "[Output Only] The URL of the resource that the operation modifies. For\noperations related to creating a snapshot, this points to the disk\nthat the snapshot was created from.", +"type": "string" +}, +"user": { +"description": "[Output Only] User who requested the operation, for example:\n`user@example.com` or\n`alice_smith_identifier (global/workforcePools/example-com-us-employees)`.", +"type": "string" +}, +"warnings": { +"description": "[Output Only] If warning messages are generated during processing of the\noperation, this field will be populated.", +"items": { +"properties": { +"code": { +"description": "[Output Only] A warning code, if applicable. For example, Compute\nEngine returns NO_RESULTS_ON_PAGE if there\nare no results in the response.", +"enum": [ +"CLEANUP_FAILED", +"DEPRECATED_RESOURCE_USED", +"DEPRECATED_TYPE_USED", +"DISK_SIZE_LARGER_THAN_IMAGE_SIZE", +"EXPERIMENTAL_TYPE_USED", +"EXTERNAL_API_WARNING", +"FIELD_VALUE_OVERRIDEN", +"INJECTED_KERNELS_DEPRECATED", +"INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", +"LARGE_DEPLOYMENT_WARNING", +"LIST_OVERHEAD_QUOTA_EXCEED", +"MISSING_TYPE_DEPENDENCY", +"NEXT_HOP_ADDRESS_NOT_ASSIGNED", +"NEXT_HOP_CANNOT_IP_FORWARD", +"NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", +"NEXT_HOP_INSTANCE_NOT_FOUND", +"NEXT_HOP_INSTANCE_NOT_ON_NETWORK", +"NEXT_HOP_NOT_RUNNING", +"NOT_CRITICAL_ERROR", +"NO_RESULTS_ON_PAGE", +"PARTIAL_SUCCESS", +"QUOTA_INFO_UNAVAILABLE", +"REQUIRED_TOS_AGREEMENT", +"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", +"RESOURCE_NOT_DELETED", +"SCHEMA_VALIDATION_IGNORED", +"SINGLE_INSTANCE_PROPERTY_TEMPLATE", +"UNDECLARED_PROPERTIES", +"UNREACHABLE" +], +"enumDeprecated": [ +false, +false, +false, +false, +false, +false, +true, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false +], +"enumDescriptions": [ +"Warning about failed cleanup of transient changes made by a failed\noperation.", +"A link to a deprecated resource was created.", +"When deploying and at least one of the resources has a type marked as\ndeprecated", +"The user created a boot disk that is larger than image size.", +"When deploying and at least one of the resources has a type marked as\nexperimental", +"Warning that is present in an external api call", +"Warning that value of a field has been overridden.\nDeprecated unused field.", +"The operation involved use of an injected kernel, which is deprecated.", +"A WEIGHTED_MAGLEV backend service is associated with a health check that is\nnot of type HTTP/HTTPS/HTTP2.", +"When deploying a deployment with a exceedingly large number of resources", +"Resource can't be retrieved due to list overhead quota exceed\nwhich captures the amount of resources filtered out by\nuser-defined list filter.", +"A resource depends on a missing type", +"The route's nextHopIp address is not assigned to an instance on the\nnetwork.", +"The route's next hop instance cannot ip forward.", +"The route's nextHopInstance URL refers to an instance that does not have an\nipv6 interface on the same network as the route.", +"The route's nextHopInstance URL refers to an instance that does not exist.", +"The route's nextHopInstance URL refers to an instance that is not on the\nsame network as the route.", +"The route's next hop instance does not have a status of RUNNING.", +"Error which is not critical. We decided to continue the process despite\nthe mentioned error.", +"No results are present on a particular list page.", +"Success is reported, but some results may be missing due to errors", +"Quota information is not available to client requests (e.g:\nregions.list).", +"The user attempted to use a resource that requires a TOS they have not\naccepted.", +"Warning that a resource is in use.", +"One or more of the resources set to auto-delete could not be deleted\nbecause they were in use.", +"When a resource schema validation is ignored.", +"Instance template used in instance group manager is valid as such, but\nits application does not make a lot of sense, because it allows only\nsingle instance in instance group.", +"When undeclared properties in the schema are present", +"A given scope cannot be reached." +], +"type": "string" +}, +"data": { +"description": "[Output Only] Metadata about this warning in key:\nvalue format. For example:\n\n\"data\": [\n {\n \"key\": \"scope\",\n \"value\": \"zones/us-east1-d\"\n }", +"items": { +"properties": { +"key": { +"description": "[Output Only] A key that provides more detail on the warning being\nreturned. For example, for warnings where there are no results in a list\nrequest for a particular zone, this key might be scope and\nthe key value might be the zone name. Other examples might be a key\nindicating a deprecated resource and a suggested replacement, or a\nwarning about invalid network settings (for example, if an instance\nattempts to perform IP forwarding but is not enabled for IP forwarding).", +"type": "string" +}, +"value": { +"description": "[Output Only] A warning data value corresponding to the key.", +"type": "string" +} +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "[Output Only] A human-readable description of the warning code.", +"type": "string" +} +}, +"type": "object" +}, +"type": "array" +}, +"zone": { +"description": "[Output Only] The URL of the zone where the operation resides. Only\napplicable when performing per-zone operations.", +"type": "string" +} +}, +"type": "object" +}, +"OperationAggregatedList": { +"id": "OperationAggregatedList", +"properties": { +"id": { +"description": "[Output Only] The unique identifier for the resource. This identifier is\ndefined by the server.", +"type": "string" +}, +"items": { +"additionalProperties": { +"$ref": "OperationsScopedList", +"description": "[Output Only] Name of the scope containing this set of operations." +}, +"description": "[Output Only] A map of scoped operation lists.", +"type": "object" +}, +"kind": { +"default": "compute#operationAggregatedList", +"description": "Output only. [Output Only] Type of resource. Always `compute#operationAggregatedList`\nfor aggregated lists of operations.", +"readOnly": true, +"type": "string" +}, +"nextPageToken": { +"description": "[Output Only] This token allows you to get the next page of results for\nlist requests. If the number of results is larger than\n`maxResults`, use the `nextPageToken` as a value for\nthe query parameter `pageToken` in the next list request.\nSubsequent list requests will have their own `nextPageToken` to\ncontinue paging through the results.", +"type": "string" +}, +"selfLink": { +"description": "[Output Only] Server-defined URL for this resource.", +"type": "string" +}, +"unreachables": { +"description": "Output only. [Output Only] Unreachable resources.", +"items": { +"type": "string" +}, +"readOnly": true, +"type": "array" +}, +"warning": { +"description": "[Output Only] Informational warning message.", +"properties": { +"code": { +"description": "[Output Only] A warning code, if applicable. For example, Compute\nEngine returns NO_RESULTS_ON_PAGE if there\nare no results in the response.", +"enum": [ +"CLEANUP_FAILED", +"DEPRECATED_RESOURCE_USED", +"DEPRECATED_TYPE_USED", +"DISK_SIZE_LARGER_THAN_IMAGE_SIZE", +"EXPERIMENTAL_TYPE_USED", +"EXTERNAL_API_WARNING", +"FIELD_VALUE_OVERRIDEN", +"INJECTED_KERNELS_DEPRECATED", +"INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", +"LARGE_DEPLOYMENT_WARNING", +"LIST_OVERHEAD_QUOTA_EXCEED", +"MISSING_TYPE_DEPENDENCY", +"NEXT_HOP_ADDRESS_NOT_ASSIGNED", +"NEXT_HOP_CANNOT_IP_FORWARD", +"NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", +"NEXT_HOP_INSTANCE_NOT_FOUND", +"NEXT_HOP_INSTANCE_NOT_ON_NETWORK", +"NEXT_HOP_NOT_RUNNING", +"NOT_CRITICAL_ERROR", +"NO_RESULTS_ON_PAGE", +"PARTIAL_SUCCESS", +"QUOTA_INFO_UNAVAILABLE", +"REQUIRED_TOS_AGREEMENT", +"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", +"RESOURCE_NOT_DELETED", +"SCHEMA_VALIDATION_IGNORED", +"SINGLE_INSTANCE_PROPERTY_TEMPLATE", +"UNDECLARED_PROPERTIES", +"UNREACHABLE" +], +"enumDeprecated": [ +false, +false, +false, +false, +false, +false, +true, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false +], +"enumDescriptions": [ +"Warning about failed cleanup of transient changes made by a failed\noperation.", +"A link to a deprecated resource was created.", +"When deploying and at least one of the resources has a type marked as\ndeprecated", +"The user created a boot disk that is larger than image size.", +"When deploying and at least one of the resources has a type marked as\nexperimental", +"Warning that is present in an external api call", +"Warning that value of a field has been overridden.\nDeprecated unused field.", +"The operation involved use of an injected kernel, which is deprecated.", +"A WEIGHTED_MAGLEV backend service is associated with a health check that is\nnot of type HTTP/HTTPS/HTTP2.", +"When deploying a deployment with a exceedingly large number of resources", +"Resource can't be retrieved due to list overhead quota exceed\nwhich captures the amount of resources filtered out by\nuser-defined list filter.", +"A resource depends on a missing type", +"The route's nextHopIp address is not assigned to an instance on the\nnetwork.", +"The route's next hop instance cannot ip forward.", +"The route's nextHopInstance URL refers to an instance that does not have an\nipv6 interface on the same network as the route.", +"The route's nextHopInstance URL refers to an instance that does not exist.", +"The route's nextHopInstance URL refers to an instance that is not on the\nsame network as the route.", +"The route's next hop instance does not have a status of RUNNING.", +"Error which is not critical. We decided to continue the process despite\nthe mentioned error.", +"No results are present on a particular list page.", +"Success is reported, but some results may be missing due to errors", +"Quota information is not available to client requests (e.g:\nregions.list).", +"The user attempted to use a resource that requires a TOS they have not\naccepted.", +"Warning that a resource is in use.", +"One or more of the resources set to auto-delete could not be deleted\nbecause they were in use.", +"When a resource schema validation is ignored.", +"Instance template used in instance group manager is valid as such, but\nits application does not make a lot of sense, because it allows only\nsingle instance in instance group.", +"When undeclared properties in the schema are present", +"A given scope cannot be reached." +], +"type": "string" +}, +"data": { +"description": "[Output Only] Metadata about this warning in key:\nvalue format. For example:\n\n\"data\": [\n {\n \"key\": \"scope\",\n \"value\": \"zones/us-east1-d\"\n }", +"items": { +"properties": { +"key": { +"description": "[Output Only] A key that provides more detail on the warning being\nreturned. For example, for warnings where there are no results in a list\nrequest for a particular zone, this key might be scope and\nthe key value might be the zone name. Other examples might be a key\nindicating a deprecated resource and a suggested replacement, or a\nwarning about invalid network settings (for example, if an instance\nattempts to perform IP forwarding but is not enabled for IP forwarding).", +"type": "string" +}, +"value": { +"description": "[Output Only] A warning data value corresponding to the key.", +"type": "string" +} +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "[Output Only] A human-readable description of the warning code.", +"type": "string" +} +}, +"type": "object" +} +}, +"type": "object" +}, +"OperationList": { +"description": "Contains a list of Operation resources.", +"id": "OperationList", +"properties": { +"id": { +"description": "[Output Only] The unique identifier for the resource. This identifier is\ndefined by the server.", +"type": "string" +}, +"items": { +"description": "[Output Only] A list of Operation resources.", +"items": { +"$ref": "Operation" +}, +"type": "array" +}, +"kind": { +"default": "compute#operationList", +"description": "Output only. [Output Only] Type of resource. Always `compute#operations` for Operations\nresource.", +"readOnly": true, +"type": "string" +}, +"nextPageToken": { +"description": "[Output Only] This token allows you to get the next page of results for\nlist requests. If the number of results is larger than\n`maxResults`, use the `nextPageToken` as a value for\nthe query parameter `pageToken` in the next list request.\nSubsequent list requests will have their own `nextPageToken` to\ncontinue paging through the results.", +"type": "string" +}, +"selfLink": { +"description": "[Output Only] Server-defined URL for this resource.", +"type": "string" +}, +"warning": { +"description": "[Output Only] Informational warning message.", +"properties": { +"code": { +"description": "[Output Only] A warning code, if applicable. For example, Compute\nEngine returns NO_RESULTS_ON_PAGE if there\nare no results in the response.", +"enum": [ +"CLEANUP_FAILED", +"DEPRECATED_RESOURCE_USED", +"DEPRECATED_TYPE_USED", +"DISK_SIZE_LARGER_THAN_IMAGE_SIZE", +"EXPERIMENTAL_TYPE_USED", +"EXTERNAL_API_WARNING", +"FIELD_VALUE_OVERRIDEN", +"INJECTED_KERNELS_DEPRECATED", +"INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", +"LARGE_DEPLOYMENT_WARNING", +"LIST_OVERHEAD_QUOTA_EXCEED", +"MISSING_TYPE_DEPENDENCY", +"NEXT_HOP_ADDRESS_NOT_ASSIGNED", +"NEXT_HOP_CANNOT_IP_FORWARD", +"NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", +"NEXT_HOP_INSTANCE_NOT_FOUND", +"NEXT_HOP_INSTANCE_NOT_ON_NETWORK", +"NEXT_HOP_NOT_RUNNING", +"NOT_CRITICAL_ERROR", +"NO_RESULTS_ON_PAGE", +"PARTIAL_SUCCESS", +"QUOTA_INFO_UNAVAILABLE", +"REQUIRED_TOS_AGREEMENT", +"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", +"RESOURCE_NOT_DELETED", +"SCHEMA_VALIDATION_IGNORED", +"SINGLE_INSTANCE_PROPERTY_TEMPLATE", +"UNDECLARED_PROPERTIES", +"UNREACHABLE" +], +"enumDeprecated": [ +false, +false, +false, +false, +false, +false, +true, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false +], +"enumDescriptions": [ +"Warning about failed cleanup of transient changes made by a failed\noperation.", +"A link to a deprecated resource was created.", +"When deploying and at least one of the resources has a type marked as\ndeprecated", +"The user created a boot disk that is larger than image size.", +"When deploying and at least one of the resources has a type marked as\nexperimental", +"Warning that is present in an external api call", +"Warning that value of a field has been overridden.\nDeprecated unused field.", +"The operation involved use of an injected kernel, which is deprecated.", +"A WEIGHTED_MAGLEV backend service is associated with a health check that is\nnot of type HTTP/HTTPS/HTTP2.", +"When deploying a deployment with a exceedingly large number of resources", +"Resource can't be retrieved due to list overhead quota exceed\nwhich captures the amount of resources filtered out by\nuser-defined list filter.", +"A resource depends on a missing type", +"The route's nextHopIp address is not assigned to an instance on the\nnetwork.", +"The route's next hop instance cannot ip forward.", +"The route's nextHopInstance URL refers to an instance that does not have an\nipv6 interface on the same network as the route.", +"The route's nextHopInstance URL refers to an instance that does not exist.", +"The route's nextHopInstance URL refers to an instance that is not on the\nsame network as the route.", +"The route's next hop instance does not have a status of RUNNING.", +"Error which is not critical. We decided to continue the process despite\nthe mentioned error.", +"No results are present on a particular list page.", +"Success is reported, but some results may be missing due to errors", +"Quota information is not available to client requests (e.g:\nregions.list).", +"The user attempted to use a resource that requires a TOS they have not\naccepted.", +"Warning that a resource is in use.", +"One or more of the resources set to auto-delete could not be deleted\nbecause they were in use.", +"When a resource schema validation is ignored.", +"Instance template used in instance group manager is valid as such, but\nits application does not make a lot of sense, because it allows only\nsingle instance in instance group.", +"When undeclared properties in the schema are present", +"A given scope cannot be reached." +], +"type": "string" +}, +"data": { +"description": "[Output Only] Metadata about this warning in key:\nvalue format. For example:\n\n\"data\": [\n {\n \"key\": \"scope\",\n \"value\": \"zones/us-east1-d\"\n }", +"items": { +"properties": { +"key": { +"description": "[Output Only] A key that provides more detail on the warning being\nreturned. For example, for warnings where there are no results in a list\nrequest for a particular zone, this key might be scope and\nthe key value might be the zone name. Other examples might be a key\nindicating a deprecated resource and a suggested replacement, or a\nwarning about invalid network settings (for example, if an instance\nattempts to perform IP forwarding but is not enabled for IP forwarding).", +"type": "string" +}, +"value": { +"description": "[Output Only] A warning data value corresponding to the key.", +"type": "string" +} +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "[Output Only] A human-readable description of the warning code.", +"type": "string" +} +}, +"type": "object" +} +}, +"type": "object" +}, +"OperationsScopedList": { +"id": "OperationsScopedList", +"properties": { +"operations": { +"description": "[Output Only] A list of operations contained in this scope.", +"items": { +"$ref": "Operation" +}, +"type": "array" +}, +"warning": { +"description": "[Output Only] Informational warning which replaces the list of operations\nwhen the list is empty.", +"properties": { +"code": { +"description": "[Output Only] A warning code, if applicable. For example, Compute\nEngine returns NO_RESULTS_ON_PAGE if there\nare no results in the response.", +"enum": [ +"CLEANUP_FAILED", +"DEPRECATED_RESOURCE_USED", +"DEPRECATED_TYPE_USED", +"DISK_SIZE_LARGER_THAN_IMAGE_SIZE", +"EXPERIMENTAL_TYPE_USED", +"EXTERNAL_API_WARNING", +"FIELD_VALUE_OVERRIDEN", +"INJECTED_KERNELS_DEPRECATED", +"INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", +"LARGE_DEPLOYMENT_WARNING", +"LIST_OVERHEAD_QUOTA_EXCEED", +"MISSING_TYPE_DEPENDENCY", +"NEXT_HOP_ADDRESS_NOT_ASSIGNED", +"NEXT_HOP_CANNOT_IP_FORWARD", +"NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", +"NEXT_HOP_INSTANCE_NOT_FOUND", +"NEXT_HOP_INSTANCE_NOT_ON_NETWORK", +"NEXT_HOP_NOT_RUNNING", +"NOT_CRITICAL_ERROR", +"NO_RESULTS_ON_PAGE", +"PARTIAL_SUCCESS", +"QUOTA_INFO_UNAVAILABLE", +"REQUIRED_TOS_AGREEMENT", +"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", +"RESOURCE_NOT_DELETED", +"SCHEMA_VALIDATION_IGNORED", +"SINGLE_INSTANCE_PROPERTY_TEMPLATE", +"UNDECLARED_PROPERTIES", +"UNREACHABLE" +], +"enumDeprecated": [ +false, +false, +false, +false, +false, +false, +true, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false +], +"enumDescriptions": [ +"Warning about failed cleanup of transient changes made by a failed\noperation.", +"A link to a deprecated resource was created.", +"When deploying and at least one of the resources has a type marked as\ndeprecated", +"The user created a boot disk that is larger than image size.", +"When deploying and at least one of the resources has a type marked as\nexperimental", +"Warning that is present in an external api call", +"Warning that value of a field has been overridden.\nDeprecated unused field.", +"The operation involved use of an injected kernel, which is deprecated.", +"A WEIGHTED_MAGLEV backend service is associated with a health check that is\nnot of type HTTP/HTTPS/HTTP2.", +"When deploying a deployment with a exceedingly large number of resources", +"Resource can't be retrieved due to list overhead quota exceed\nwhich captures the amount of resources filtered out by\nuser-defined list filter.", +"A resource depends on a missing type", +"The route's nextHopIp address is not assigned to an instance on the\nnetwork.", +"The route's next hop instance cannot ip forward.", +"The route's nextHopInstance URL refers to an instance that does not have an\nipv6 interface on the same network as the route.", +"The route's nextHopInstance URL refers to an instance that does not exist.", +"The route's nextHopInstance URL refers to an instance that is not on the\nsame network as the route.", +"The route's next hop instance does not have a status of RUNNING.", +"Error which is not critical. We decided to continue the process despite\nthe mentioned error.", +"No results are present on a particular list page.", +"Success is reported, but some results may be missing due to errors", +"Quota information is not available to client requests (e.g:\nregions.list).", +"The user attempted to use a resource that requires a TOS they have not\naccepted.", +"Warning that a resource is in use.", +"One or more of the resources set to auto-delete could not be deleted\nbecause they were in use.", +"When a resource schema validation is ignored.", +"Instance template used in instance group manager is valid as such, but\nits application does not make a lot of sense, because it allows only\nsingle instance in instance group.", +"When undeclared properties in the schema are present", +"A given scope cannot be reached." +], +"type": "string" +}, +"data": { +"description": "[Output Only] Metadata about this warning in key:\nvalue format. For example:\n\n\"data\": [\n {\n \"key\": \"scope\",\n \"value\": \"zones/us-east1-d\"\n }", +"items": { +"properties": { +"key": { +"description": "[Output Only] A key that provides more detail on the warning being\nreturned. For example, for warnings where there are no results in a list\nrequest for a particular zone, this key might be scope and\nthe key value might be the zone name. Other examples might be a key\nindicating a deprecated resource and a suggested replacement, or a\nwarning about invalid network settings (for example, if an instance\nattempts to perform IP forwarding but is not enabled for IP forwarding).", +"type": "string" +}, +"value": { +"description": "[Output Only] A warning data value corresponding to the key.", +"type": "string" +} +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "[Output Only] A human-readable description of the warning code.", +"type": "string" +} +}, +"type": "object" +} +}, +"type": "object" +}, +"OrganizationSecurityPoliciesListAssociationsResponse": { +"id": "OrganizationSecurityPoliciesListAssociationsResponse", +"properties": { +"associations": { +"description": "A list of associations.", +"items": { +"$ref": "SecurityPolicyAssociation" +}, +"type": "array" +}, +"kind": { +"default": "compute#organizationSecurityPoliciesListAssociationsResponse", +"description": "Output only. [Output Only] Type of securityPolicy associations. Alwayscompute#organizationSecurityPoliciesListAssociations for lists\nof securityPolicy associations.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"OutlierDetection": { +"description": "Settings controlling the eviction of unhealthy hosts from the load balancing\npool for the backend service.", +"id": "OutlierDetection", +"properties": { +"baseEjectionTime": { +"$ref": "Duration", +"description": "The base time that a backend endpoint is ejected for. Defaults to 30000ms\nor 30s.\n\nAfter a backend endpoint is returned back to the load balancing pool, it\ncan be ejected again in another ejection analysis. Thus, the total ejection\ntime is equal to the base ejection time multiplied by the number of times\nthe backend endpoint has been ejected. Defaults to 30000ms or 30s." +}, +"consecutiveErrors": { +"description": "Number of consecutive errors before a backend endpoint is ejected from the\nload balancing pool. When the backend endpoint is accessed over HTTP, a 5xx\nreturn code qualifies as an error. Defaults to 5.", +"format": "int32", +"type": "integer" +}, +"consecutiveGatewayFailure": { +"description": "The number of consecutive gateway failures (502, 503, 504 status or\nconnection errors that are mapped to one of those status codes) before a\nconsecutive gateway failure ejection occurs. Defaults to 3.", +"format": "int32", +"type": "integer" +}, +"enforcingConsecutiveErrors": { +"description": "The percentage chance that a backend endpoint will be ejected when an\noutlier status is detected through consecutive 5xx. This setting can be\nused to disable ejection or to ramp it up slowly. Defaults to 0.", +"format": "int32", +"type": "integer" +}, +"enforcingConsecutiveGatewayFailure": { +"description": "The percentage chance that a backend endpoint will be ejected when an\noutlier status is detected through consecutive gateway failures. This\nsetting can be used to disable ejection or to ramp it up slowly. Defaults\nto 100.", +"format": "int32", +"type": "integer" +}, +"enforcingSuccessRate": { +"description": "The percentage chance that a backend endpoint will be ejected when an\noutlier status is detected through success rate statistics. This setting\ncan be used to disable ejection or to ramp it up slowly. Defaults to 100.\n\nNot supported when the backend service uses Serverless NEG.", +"format": "int32", +"type": "integer" +}, +"interval": { +"$ref": "Duration", +"description": "Time interval between ejection analysis sweeps. This can result in both new\nejections and backend endpoints being returned to service. The interval is\nequal to the number of seconds as defined in\noutlierDetection.interval.seconds plus the number of nanoseconds as defined\nin outlierDetection.interval.nanos. Defaults to 1 second." +}, +"maxEjectionPercent": { +"description": "Maximum percentage of backend endpoints in the load balancing pool for the\nbackend service that can be ejected if the ejection conditions are met.\nDefaults to 50%.", +"format": "int32", +"type": "integer" +}, +"successRateMinimumHosts": { +"description": "The number of backend endpoints in the load balancing pool that must have\nenough request volume to detect success rate outliers. If the number of\nbackend endpoints is fewer than this setting, outlier detection via success\nrate statistics is not performed for any backend endpoint in the load\nbalancing pool. Defaults to 5.\n\nNot supported when the backend service uses Serverless NEG.", +"format": "int32", +"type": "integer" +}, +"successRateRequestVolume": { +"description": "The minimum number of total requests that must be collected in one interval\n(as defined by the interval duration above) to include this backend\nendpoint in success rate based outlier detection. If the volume is lower\nthan this setting, outlier detection via success rate statistics is not\nperformed for that backend endpoint. Defaults to 100.\n\nNot supported when the backend service uses Serverless NEG.", +"format": "int32", +"type": "integer" +}, +"successRateStdevFactor": { +"description": "This factor is used to determine the ejection threshold for success rate\noutlier ejection. The ejection threshold is the difference between the mean\nsuccess rate, and the product of this factor and the standard deviation of\nthe mean success rate: mean - (stdev * successRateStdevFactor). This factor\nis divided by a thousand to get a double. That is, if the desired factor\nis 1.9, the runtime value should be 1900. Defaults to 1900.\n\nNot supported when the backend service uses Serverless NEG.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"PacketIntervals": { +"description": "Next free: 7", +"id": "PacketIntervals", +"properties": { +"avgMs": { +"description": "Average observed inter-packet interval in milliseconds.", +"format": "int64", +"type": "string" +}, +"duration": { +"description": "From how long ago in the past these intervals were observed.", +"enum": [ +"DURATION_UNSPECIFIED", +"HOUR", +"MAX", +"MINUTE" +], +"enumDescriptions": [ +"", +"", +"From BfdSession object creation time.", +"" +], +"type": "string" +}, +"maxMs": { +"description": "Maximum observed inter-packet interval in milliseconds.", +"format": "int64", +"type": "string" +}, +"minMs": { +"description": "Minimum observed inter-packet interval in milliseconds.", +"format": "int64", +"type": "string" +}, +"numIntervals": { +"description": "Number of inter-packet intervals from which these statistics were derived.", +"format": "int64", +"type": "string" +}, +"type": { +"description": "The type of packets for which inter-packet intervals were computed.", +"enum": [ +"LOOPBACK", +"RECEIVE", +"TRANSMIT", +"TYPE_UNSPECIFIED" +], +"enumDescriptions": [ +"Only applies to Echo packets. This shows the intervals between sending\nand receiving the same packet.", +"Intervals between received packets.", +"Intervals between transmitted packets.", +"" +], +"type": "string" +} +}, +"type": "object" +}, +"PacketMirroring": { +"description": "Represents a Packet Mirroring resource.\n\nPacket Mirroring clones the traffic of specified instances in your Virtual\nPrivate Cloud (VPC) network and forwards it to a collector destination,\nsuch as an instance group of an internal TCP/UDP load balancer, for analysis\nor examination.\nFor more information about setting up Packet Mirroring, seeUsing Packet Mirroring.", +"id": "PacketMirroring", +"properties": { +"collectorIlb": { +"$ref": "PacketMirroringForwardingRuleInfo", +"description": "The Forwarding Rule resource of typeloadBalancingScheme=INTERNAL that will be used as collector\nfor mirrored traffic.\nThe specified forwarding rule must have isMirroringCollector\nset to true." +}, +"creationTimestamp": { +"description": "Output only. [Output Only] Creation timestamp inRFC3339\ntext format.", +"readOnly": true, +"type": "string" +}, +"description": { +"description": "An optional description of this resource. Provide this property when you\ncreate the resource.", +"type": "string" +}, +"enable": { +"description": "Indicates whether or not this packet mirroring takes effect.\nIf set to FALSE, this packet mirroring policy will not be enforced on the\nnetwork.\n\nThe default is TRUE.", +"enum": [ +"FALSE", +"TRUE" +], +"enumDescriptions": [ +"", +"" +], +"type": "string" +}, +"filter": { +"$ref": "PacketMirroringFilter", +"description": "Filter for mirrored traffic. If unspecified, all IPv4 traffic is mirrored." +}, +"id": { +"description": "Output only. [Output Only] The unique identifier for the resource. This identifier is\ndefined by the server.", +"format": "uint64", +"readOnly": true, +"type": "string" +}, +"kind": { +"default": "compute#packetMirroring", +"description": "Output only. [Output Only] Type of the resource. Alwayscompute#packetMirroring for packet mirrorings.", +"readOnly": true, +"type": "string" +}, +"mirroredResources": { +"$ref": "PacketMirroringMirroredResourceInfo", +"description": "PacketMirroring mirroredResourceInfos.\nMirroredResourceInfo specifies a set of mirrored VM instances, subnetworks\nand/or tags for which traffic from/to all VM instances will be mirrored." +}, +"name": { +"annotations": { +"required": [ +"compute.packetMirrorings.insert" +] +}, +"description": "Name of the resource; provided by the client when the resource is created.\nThe name must be 1-63 characters long, and comply withRFC1035.\nSpecifically, the name must be 1-63 characters long and match the regular\nexpression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first\ncharacter must be a lowercase letter, and all following characters must be\na dash, lowercase letter, or digit, except the last character, which cannot\nbe a dash.", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"type": "string" +}, +"network": { +"$ref": "PacketMirroringNetworkInfo", +"annotations": { +"required": [ +"compute.packetMirrorings.insert" +] +}, +"description": "Specifies the mirrored VPC network. Only packets in this network will be\nmirrored. All mirrored VMs should have a NIC in the given network.\nAll mirrored subnetworks should belong to the given network." +}, +"priority": { +"description": "The priority of applying this configuration. Priority is used to break ties\nin cases where there is more than one matching rule. In the case of two\nrules that apply for a given Instance, the one with the lowest-numbered\npriority value wins.\n\nDefault value is 1000. Valid range is 0 through 65535.", +"format": "uint32", +"type": "integer" +}, +"region": { +"description": "[Output Only] URI of the region where the packetMirroring resides.", +"type": "string" +}, +"selfLink": { +"description": "Output only. [Output Only] Server-defined URL for the resource.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"PacketMirroringAggregatedList": { +"description": "Contains a list of packetMirrorings.", +"id": "PacketMirroringAggregatedList", +"properties": { +"id": { +"description": "[Output Only] Unique identifier for the resource; defined by the server.", +"type": "string" +}, +"items": { +"additionalProperties": { +"$ref": "PacketMirroringsScopedList", +"description": "Name of the scope containing this set of packetMirrorings." +}, +"description": "A list of PacketMirroring resources.", +"type": "object" +}, +"kind": { +"default": "compute#packetMirroringAggregatedList", +"description": "Output only. Type of resource.", +"readOnly": true, +"type": "string" +}, +"nextPageToken": { +"description": "[Output Only] This token allows you to get the next page of results for\nlist requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for\nthe query parameter pageToken in the next list request.\nSubsequent list requests will have their own nextPageToken to\ncontinue paging through the results.", +"type": "string" +}, +"selfLink": { +"description": "Output only. [Output Only] Server-defined URL for this resource.", +"readOnly": true, +"type": "string" +}, +"unreachables": { +"description": "Output only. [Output Only] Unreachable resources.", +"items": { +"type": "string" +}, +"readOnly": true, +"type": "array" +}, +"warning": { +"description": "[Output Only] Informational warning message.", +"properties": { +"code": { +"description": "[Output Only] A warning code, if applicable. For example, Compute\nEngine returns NO_RESULTS_ON_PAGE if there\nare no results in the response.", +"enum": [ +"CLEANUP_FAILED", +"DEPRECATED_RESOURCE_USED", +"DEPRECATED_TYPE_USED", +"DISK_SIZE_LARGER_THAN_IMAGE_SIZE", +"EXPERIMENTAL_TYPE_USED", +"EXTERNAL_API_WARNING", +"FIELD_VALUE_OVERRIDEN", +"INJECTED_KERNELS_DEPRECATED", +"INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", +"LARGE_DEPLOYMENT_WARNING", +"LIST_OVERHEAD_QUOTA_EXCEED", +"MISSING_TYPE_DEPENDENCY", +"NEXT_HOP_ADDRESS_NOT_ASSIGNED", +"NEXT_HOP_CANNOT_IP_FORWARD", +"NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", +"NEXT_HOP_INSTANCE_NOT_FOUND", +"NEXT_HOP_INSTANCE_NOT_ON_NETWORK", +"NEXT_HOP_NOT_RUNNING", +"NOT_CRITICAL_ERROR", +"NO_RESULTS_ON_PAGE", +"PARTIAL_SUCCESS", +"QUOTA_INFO_UNAVAILABLE", +"REQUIRED_TOS_AGREEMENT", +"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", +"RESOURCE_NOT_DELETED", +"SCHEMA_VALIDATION_IGNORED", +"SINGLE_INSTANCE_PROPERTY_TEMPLATE", +"UNDECLARED_PROPERTIES", +"UNREACHABLE" +], +"enumDeprecated": [ +false, +false, +false, +false, +false, +false, +true, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false +], +"enumDescriptions": [ +"Warning about failed cleanup of transient changes made by a failed\noperation.", +"A link to a deprecated resource was created.", +"When deploying and at least one of the resources has a type marked as\ndeprecated", +"The user created a boot disk that is larger than image size.", +"When deploying and at least one of the resources has a type marked as\nexperimental", +"Warning that is present in an external api call", +"Warning that value of a field has been overridden.\nDeprecated unused field.", +"The operation involved use of an injected kernel, which is deprecated.", +"A WEIGHTED_MAGLEV backend service is associated with a health check that is\nnot of type HTTP/HTTPS/HTTP2.", +"When deploying a deployment with a exceedingly large number of resources", +"Resource can't be retrieved due to list overhead quota exceed\nwhich captures the amount of resources filtered out by\nuser-defined list filter.", +"A resource depends on a missing type", +"The route's nextHopIp address is not assigned to an instance on the\nnetwork.", +"The route's next hop instance cannot ip forward.", +"The route's nextHopInstance URL refers to an instance that does not have an\nipv6 interface on the same network as the route.", +"The route's nextHopInstance URL refers to an instance that does not exist.", +"The route's nextHopInstance URL refers to an instance that is not on the\nsame network as the route.", +"The route's next hop instance does not have a status of RUNNING.", +"Error which is not critical. We decided to continue the process despite\nthe mentioned error.", +"No results are present on a particular list page.", +"Success is reported, but some results may be missing due to errors", +"Quota information is not available to client requests (e.g:\nregions.list).", +"The user attempted to use a resource that requires a TOS they have not\naccepted.", +"Warning that a resource is in use.", +"One or more of the resources set to auto-delete could not be deleted\nbecause they were in use.", +"When a resource schema validation is ignored.", +"Instance template used in instance group manager is valid as such, but\nits application does not make a lot of sense, because it allows only\nsingle instance in instance group.", +"When undeclared properties in the schema are present", +"A given scope cannot be reached." +], +"type": "string" +}, +"data": { +"description": "[Output Only] Metadata about this warning in key:\nvalue format. For example:\n\n\"data\": [\n {\n \"key\": \"scope\",\n \"value\": \"zones/us-east1-d\"\n }", +"items": { +"properties": { +"key": { +"description": "[Output Only] A key that provides more detail on the warning being\nreturned. For example, for warnings where there are no results in a list\nrequest for a particular zone, this key might be scope and\nthe key value might be the zone name. Other examples might be a key\nindicating a deprecated resource and a suggested replacement, or a\nwarning about invalid network settings (for example, if an instance\nattempts to perform IP forwarding but is not enabled for IP forwarding).", +"type": "string" +}, +"value": { +"description": "[Output Only] A warning data value corresponding to the key.", +"type": "string" +} +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "[Output Only] A human-readable description of the warning code.", +"type": "string" +} +}, +"type": "object" +} +}, +"type": "object" +}, +"PacketMirroringFilter": { +"id": "PacketMirroringFilter", +"properties": { +"IPProtocols": { +"description": "Protocols that apply as filter on mirrored traffic.\nIf no protocols are specified, all traffic that matches the specified\nCIDR ranges is mirrored.\nIf neither cidrRanges nor IPProtocols is specified, all IPv4 traffic is\nmirrored.", +"items": { +"type": "string" +}, +"type": "array" +}, +"cidrRanges": { +"description": "One or more IPv4 or IPv6 CIDR ranges that apply as filters on the source\n(ingress) or destination (egress) IP in the IP header. If no ranges are\nspecified, all IPv4 traffic that matches the specified IPProtocols is\nmirrored. If neither cidrRanges nor IPProtocols is specified, all IPv4\ntraffic is mirrored. To mirror all IPv4 and IPv6 traffic, use\n\"0.0.0.0/0,::/0\".", +"items": { +"type": "string" +}, +"type": "array" +}, +"direction": { +"description": "Direction of traffic to mirror, either INGRESS, EGRESS, or BOTH.\nThe default is BOTH.", +"enum": [ +"BOTH", +"EGRESS", +"INGRESS" +], +"enumDescriptions": [ +"Default, both directions are mirrored.", +"Only egress traffic is mirrored.", +"Only ingress traffic is mirrored." +], +"type": "string" +} +}, +"type": "object" +}, +"PacketMirroringForwardingRuleInfo": { +"id": "PacketMirroringForwardingRuleInfo", +"properties": { +"canonicalUrl": { +"description": "Output only. [Output Only] Unique identifier for the forwarding rule; defined by the\nserver.", +"readOnly": true, +"type": "string" +}, +"url": { +"description": "Resource URL to the forwarding rule representing the ILB\nconfigured as destination of the mirrored traffic.", +"type": "string" +} +}, +"type": "object" +}, +"PacketMirroringList": { +"description": "Contains a list of PacketMirroring resources.", +"id": "PacketMirroringList", +"properties": { +"id": { +"description": "[Output Only] Unique identifier for the resource; defined by the server.", +"type": "string" +}, +"items": { +"description": "A list of PacketMirroring resources.", +"items": { +"$ref": "PacketMirroring" +}, +"type": "array" +}, +"kind": { +"default": "compute#packetMirroringList", +"description": "Output only. [Output Only] Type of resource. Always compute#packetMirroring\nfor packetMirrorings.", +"readOnly": true, +"type": "string" +}, +"nextPageToken": { +"description": "[Output Only] This token allows you to get the next page of results for\nlist requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for\nthe query parameter pageToken in the next list request.\nSubsequent list requests will have their own nextPageToken to\ncontinue paging through the results.", +"type": "string" +}, +"selfLink": { +"description": "Output only. [Output Only] Server-defined URL for this resource.", +"readOnly": true, +"type": "string" +}, +"warning": { +"description": "[Output Only] Informational warning message.", +"properties": { +"code": { +"description": "[Output Only] A warning code, if applicable. For example, Compute\nEngine returns NO_RESULTS_ON_PAGE if there\nare no results in the response.", +"enum": [ +"CLEANUP_FAILED", +"DEPRECATED_RESOURCE_USED", +"DEPRECATED_TYPE_USED", +"DISK_SIZE_LARGER_THAN_IMAGE_SIZE", +"EXPERIMENTAL_TYPE_USED", +"EXTERNAL_API_WARNING", +"FIELD_VALUE_OVERRIDEN", +"INJECTED_KERNELS_DEPRECATED", +"INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", +"LARGE_DEPLOYMENT_WARNING", +"LIST_OVERHEAD_QUOTA_EXCEED", +"MISSING_TYPE_DEPENDENCY", +"NEXT_HOP_ADDRESS_NOT_ASSIGNED", +"NEXT_HOP_CANNOT_IP_FORWARD", +"NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", +"NEXT_HOP_INSTANCE_NOT_FOUND", +"NEXT_HOP_INSTANCE_NOT_ON_NETWORK", +"NEXT_HOP_NOT_RUNNING", +"NOT_CRITICAL_ERROR", +"NO_RESULTS_ON_PAGE", +"PARTIAL_SUCCESS", +"QUOTA_INFO_UNAVAILABLE", +"REQUIRED_TOS_AGREEMENT", +"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", +"RESOURCE_NOT_DELETED", +"SCHEMA_VALIDATION_IGNORED", +"SINGLE_INSTANCE_PROPERTY_TEMPLATE", +"UNDECLARED_PROPERTIES", +"UNREACHABLE" +], +"enumDeprecated": [ +false, +false, +false, +false, +false, +false, +true, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false +], +"enumDescriptions": [ +"Warning about failed cleanup of transient changes made by a failed\noperation.", +"A link to a deprecated resource was created.", +"When deploying and at least one of the resources has a type marked as\ndeprecated", +"The user created a boot disk that is larger than image size.", +"When deploying and at least one of the resources has a type marked as\nexperimental", +"Warning that is present in an external api call", +"Warning that value of a field has been overridden.\nDeprecated unused field.", +"The operation involved use of an injected kernel, which is deprecated.", +"A WEIGHTED_MAGLEV backend service is associated with a health check that is\nnot of type HTTP/HTTPS/HTTP2.", +"When deploying a deployment with a exceedingly large number of resources", +"Resource can't be retrieved due to list overhead quota exceed\nwhich captures the amount of resources filtered out by\nuser-defined list filter.", +"A resource depends on a missing type", +"The route's nextHopIp address is not assigned to an instance on the\nnetwork.", +"The route's next hop instance cannot ip forward.", +"The route's nextHopInstance URL refers to an instance that does not have an\nipv6 interface on the same network as the route.", +"The route's nextHopInstance URL refers to an instance that does not exist.", +"The route's nextHopInstance URL refers to an instance that is not on the\nsame network as the route.", +"The route's next hop instance does not have a status of RUNNING.", +"Error which is not critical. We decided to continue the process despite\nthe mentioned error.", +"No results are present on a particular list page.", +"Success is reported, but some results may be missing due to errors", +"Quota information is not available to client requests (e.g:\nregions.list).", +"The user attempted to use a resource that requires a TOS they have not\naccepted.", +"Warning that a resource is in use.", +"One or more of the resources set to auto-delete could not be deleted\nbecause they were in use.", +"When a resource schema validation is ignored.", +"Instance template used in instance group manager is valid as such, but\nits application does not make a lot of sense, because it allows only\nsingle instance in instance group.", +"When undeclared properties in the schema are present", +"A given scope cannot be reached." +], +"type": "string" +}, +"data": { +"description": "[Output Only] Metadata about this warning in key:\nvalue format. For example:\n\n\"data\": [\n {\n \"key\": \"scope\",\n \"value\": \"zones/us-east1-d\"\n }", +"items": { +"properties": { +"key": { +"description": "[Output Only] A key that provides more detail on the warning being\nreturned. For example, for warnings where there are no results in a list\nrequest for a particular zone, this key might be scope and\nthe key value might be the zone name. Other examples might be a key\nindicating a deprecated resource and a suggested replacement, or a\nwarning about invalid network settings (for example, if an instance\nattempts to perform IP forwarding but is not enabled for IP forwarding).", +"type": "string" +}, +"value": { +"description": "[Output Only] A warning data value corresponding to the key.", +"type": "string" +} +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "[Output Only] A human-readable description of the warning code.", +"type": "string" +} +}, +"type": "object" +} +}, +"type": "object" +}, +"PacketMirroringMirroredResourceInfo": { +"id": "PacketMirroringMirroredResourceInfo", +"properties": { +"instances": { +"description": "A set of virtual machine instances that are being mirrored.\nThey must live in zones contained in the same region as this\npacketMirroring.\n\nNote that this config will apply only to those network interfaces of the\nInstances that belong to the network specified in this packetMirroring.\n\nYou may specify a maximum of 50 Instances.", +"items": { +"$ref": "PacketMirroringMirroredResourceInfoInstanceInfo" +}, +"type": "array" +}, +"subnetworks": { +"description": "A set of subnetworks for which traffic from/to all VM instances will be\nmirrored. They must live in the same region as this packetMirroring.\n\nYou may specify a maximum of 5 subnetworks.", +"items": { +"$ref": "PacketMirroringMirroredResourceInfoSubnetInfo" +}, +"type": "array" +}, +"tags": { +"description": "A set of mirrored tags. Traffic from/to all VM instances that have one or\nmore of these tags will be mirrored.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"PacketMirroringMirroredResourceInfoInstanceInfo": { +"id": "PacketMirroringMirroredResourceInfoInstanceInfo", +"properties": { +"canonicalUrl": { +"description": "Output only. [Output Only] Unique identifier for the instance; defined by the\nserver.", +"readOnly": true, +"type": "string" +}, +"url": { +"description": "Resource URL to the virtual machine instance which is being mirrored.", +"type": "string" +} +}, +"type": "object" +}, +"PacketMirroringMirroredResourceInfoSubnetInfo": { +"id": "PacketMirroringMirroredResourceInfoSubnetInfo", +"properties": { +"canonicalUrl": { +"description": "Output only. [Output Only] Unique identifier for the subnetwork; defined by the\nserver.", +"readOnly": true, +"type": "string" +}, +"url": { +"description": "Resource URL to the subnetwork for which\ntraffic from/to all VM instances will be mirrored.", +"type": "string" +} +}, +"type": "object" +}, +"PacketMirroringNetworkInfo": { +"id": "PacketMirroringNetworkInfo", +"properties": { +"canonicalUrl": { +"description": "Output only. [Output Only] Unique identifier for the network; defined by the server.", +"readOnly": true, +"type": "string" +}, +"url": { +"description": "URL of the network resource.", +"type": "string" +} +}, +"type": "object" +}, +"PacketMirroringsScopedList": { +"id": "PacketMirroringsScopedList", +"properties": { +"packetMirrorings": { +"description": "A list of packetMirrorings contained in this scope.", +"items": { +"$ref": "PacketMirroring" +}, +"type": "array" +}, +"warning": { +"description": "Informational warning which replaces the list of packetMirrorings when the\nlist is empty.", +"properties": { +"code": { +"description": "[Output Only] A warning code, if applicable. For example, Compute\nEngine returns NO_RESULTS_ON_PAGE if there\nare no results in the response.", +"enum": [ +"CLEANUP_FAILED", +"DEPRECATED_RESOURCE_USED", +"DEPRECATED_TYPE_USED", +"DISK_SIZE_LARGER_THAN_IMAGE_SIZE", +"EXPERIMENTAL_TYPE_USED", +"EXTERNAL_API_WARNING", +"FIELD_VALUE_OVERRIDEN", +"INJECTED_KERNELS_DEPRECATED", +"INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", +"LARGE_DEPLOYMENT_WARNING", +"LIST_OVERHEAD_QUOTA_EXCEED", +"MISSING_TYPE_DEPENDENCY", +"NEXT_HOP_ADDRESS_NOT_ASSIGNED", +"NEXT_HOP_CANNOT_IP_FORWARD", +"NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", +"NEXT_HOP_INSTANCE_NOT_FOUND", +"NEXT_HOP_INSTANCE_NOT_ON_NETWORK", +"NEXT_HOP_NOT_RUNNING", +"NOT_CRITICAL_ERROR", +"NO_RESULTS_ON_PAGE", +"PARTIAL_SUCCESS", +"QUOTA_INFO_UNAVAILABLE", +"REQUIRED_TOS_AGREEMENT", +"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", +"RESOURCE_NOT_DELETED", +"SCHEMA_VALIDATION_IGNORED", +"SINGLE_INSTANCE_PROPERTY_TEMPLATE", +"UNDECLARED_PROPERTIES", +"UNREACHABLE" +], +"enumDeprecated": [ +false, +false, +false, +false, +false, +false, +true, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false +], +"enumDescriptions": [ +"Warning about failed cleanup of transient changes made by a failed\noperation.", +"A link to a deprecated resource was created.", +"When deploying and at least one of the resources has a type marked as\ndeprecated", +"The user created a boot disk that is larger than image size.", +"When deploying and at least one of the resources has a type marked as\nexperimental", +"Warning that is present in an external api call", +"Warning that value of a field has been overridden.\nDeprecated unused field.", +"The operation involved use of an injected kernel, which is deprecated.", +"A WEIGHTED_MAGLEV backend service is associated with a health check that is\nnot of type HTTP/HTTPS/HTTP2.", +"When deploying a deployment with a exceedingly large number of resources", +"Resource can't be retrieved due to list overhead quota exceed\nwhich captures the amount of resources filtered out by\nuser-defined list filter.", +"A resource depends on a missing type", +"The route's nextHopIp address is not assigned to an instance on the\nnetwork.", +"The route's next hop instance cannot ip forward.", +"The route's nextHopInstance URL refers to an instance that does not have an\nipv6 interface on the same network as the route.", +"The route's nextHopInstance URL refers to an instance that does not exist.", +"The route's nextHopInstance URL refers to an instance that is not on the\nsame network as the route.", +"The route's next hop instance does not have a status of RUNNING.", +"Error which is not critical. We decided to continue the process despite\nthe mentioned error.", +"No results are present on a particular list page.", +"Success is reported, but some results may be missing due to errors", +"Quota information is not available to client requests (e.g:\nregions.list).", +"The user attempted to use a resource that requires a TOS they have not\naccepted.", +"Warning that a resource is in use.", +"One or more of the resources set to auto-delete could not be deleted\nbecause they were in use.", +"When a resource schema validation is ignored.", +"Instance template used in instance group manager is valid as such, but\nits application does not make a lot of sense, because it allows only\nsingle instance in instance group.", +"When undeclared properties in the schema are present", +"A given scope cannot be reached." +], +"type": "string" +}, +"data": { +"description": "[Output Only] Metadata about this warning in key:\nvalue format. For example:\n\n\"data\": [\n {\n \"key\": \"scope\",\n \"value\": \"zones/us-east1-d\"\n }", +"items": { +"properties": { +"key": { +"description": "[Output Only] A key that provides more detail on the warning being\nreturned. For example, for warnings where there are no results in a list\nrequest for a particular zone, this key might be scope and\nthe key value might be the zone name. Other examples might be a key\nindicating a deprecated resource and a suggested replacement, or a\nwarning about invalid network settings (for example, if an instance\nattempts to perform IP forwarding but is not enabled for IP forwarding).", +"type": "string" +}, +"value": { +"description": "[Output Only] A warning data value corresponding to the key.", +"type": "string" +} +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "[Output Only] A human-readable description of the warning code.", +"type": "string" +} +}, +"type": "object" +} +}, +"type": "object" +}, +"PartnerMetadata": { +"description": "Model definition of partner_metadata field.\nTo be used in dedicated Partner Metadata methods and to be inlined in\nthe Instance and InstanceTemplate resources.", +"id": "PartnerMetadata", +"properties": { +"fingerprint": { +"description": "Instance-level hash to be used for optimistic\nlocking.", +"format": "byte", +"type": "string" +}, +"partnerMetadata": { +"additionalProperties": { +"$ref": "StructuredEntries" +}, +"description": "Partner Metadata assigned to the instance. A map from a subdomain to\nentries map. Subdomain name must be compliant withRFC1035\ndefinition. The total size of all keys and values must be less than 2MB.\nSubdomain 'metadata.compute.googleapis.com' is reserverd for instance's\nmetadata.", +"type": "object" +} +}, +"type": "object" +}, +"PathMatcher": { +"description": "A matcher for the path portion of the URL. The BackendService\nfrom the longest-matched rule will serve the URL. If no rule was matched, the\ndefault service is used.", +"id": "PathMatcher", +"properties": { +"defaultCustomErrorResponsePolicy": { +"$ref": "CustomErrorResponsePolicy", +"description": "defaultCustomErrorResponsePolicy specifies how the Load\nBalancer returns error responses when BackendServiceorBackendBucket responds with an error. \n\nThis policy takes\neffect at the PathMatcher level and applies only when no\npolicy has been defined for the error code at lower levels likeRouteRule and PathRule within thisPathMatcher. If an error code does not have a policy defined\nin defaultCustomErrorResponsePolicy, then a policy defined for\nthe error code in UrlMap.defaultCustomErrorResponsePolicy\ntakes effect. \n\nFor example, consider a UrlMap with the following\nconfiguration:\n \n \n - UrlMap.defaultCustomErrorResponsePolicy is configured\n with policies for 5xx and 4xx errors\n - A RouteRule for /coming_soon/ is configured for the\n error code 404.\n\nIf the request is for www.myotherdomain.com and a404 is encountered, the policy underUrlMap.defaultCustomErrorResponsePolicy takes effect. If a404 response is encountered for the requestwww.example.com/current_events/, the pathMatcher's policy\ntakes effect. If however, the request forwww.example.com/coming_soon/ encounters a 404,\nthe policy in RouteRule.customErrorResponsePolicy takes\neffect. If any of the requests in this example encounter a 500\nerror code, the policy atUrlMap.defaultCustomErrorResponsePolicy takes effect. \n\nWhen\nused in conjunction withpathMatcher.defaultRouteAction.retryPolicy, retries take\nprecedence. Only once all retries are exhausted, thedefaultCustomErrorResponsePolicy is applied. While attempting\na retry, if load balancer is successful in reaching the\nservice, the defaultCustomErrorResponsePolicy is ignored and\nthe response from the service is returned to the client.\n\ndefaultCustomErrorResponsePolicy is supported only for\nglobal external Application Load Balancers." +}, +"defaultRouteAction": { +"$ref": "HttpRouteAction", +"description": "defaultRouteAction takes effect when none of the \npathRules or routeRules match. The load balancer\nperforms advanced routing actions, such as URL rewrites and\nheader transformations, before forwarding the request to the\nselected backend.\n\n\nOnly one of defaultUrlRedirect, defaultService\nor defaultRouteAction.weightedBackendService can be set.\n\n\nURL maps for classic Application Load Balancers only support\nthe urlRewrite action within a path matcher'sdefaultRouteAction." +}, +"defaultService": { +"description": "The full or partial URL to the BackendService resource. This\nURL is used if none of the pathRules orrouteRules defined by this PathMatcher are\nmatched. For example, the\nfollowing are all valid URLs to a BackendService resource:\n \n \n - https://www.googleapis.com/compute/v1/projects/project/global/backendServices/backendService\n - compute/v1/projects/project/global/backendServices/backendService\n - global/backendServices/backendService\n\n\nIf defaultRouteAction is also specified, advanced\nrouting actions, such as URL rewrites, take effect before sending the\nrequest to the backend.\n\n\nOnly one of defaultUrlRedirect, defaultService\nor defaultRouteAction.weightedBackendService can be set.\n\n\nAuthorization requires one or more of the following Google IAM permissions on the\nspecified resource default_service: \n \n \n - compute.backendBuckets.use\n - compute.backendServices.use", +"type": "string" +}, +"defaultUrlRedirect": { +"$ref": "HttpRedirectAction", +"description": "When none of the specified pathRules orrouteRules match, the request is redirected to a URL specified\nby defaultUrlRedirect.\n\n\nOnly one of defaultUrlRedirect, defaultService\nor defaultRouteAction.weightedBackendService can be set.\n\n\nNot supported when the URL map is bound to a target gRPC proxy." +}, +"description": { +"description": "An optional description of this resource. Provide this property when you\ncreate the resource.", +"type": "string" +}, +"headerAction": { +"$ref": "HttpHeaderAction", +"description": "Specifies changes to request and response headers that need to take effect\nfor the selected backend service.\n\nHeaderAction specified here are applied after the matchingHttpRouteRule HeaderAction and before theHeaderAction in the UrlMap\n\nHeaderAction is not supported for load balancers\nthat have\ntheir loadBalancingScheme set to EXTERNAL.\n\nNot supported when the URL map is bound to a target gRPC proxy that\nhas validateForProxyless field set to true." +}, +"name": { +"description": "The name to which this PathMatcher is referred by theHostRule.", +"type": "string" +}, +"pathRules": { +"description": "The list of path rules. Use this list instead of routeRules\nwhen routing based on simple path matching is all that's required. A path\nrule can only include a wildcard character (*) after a\nforward slash character (\"/\").\n\nThe order by which path rules are specified does not matter.\nMatches are always done on the longest-path-first basis.\n\nFor example: a pathRule with a path /a/b/c/* will match\nbefore /a/b/* irrespective of the order in which those paths appear in this\nlist.\n\nWithin a given pathMatcher, only one ofpathRules or routeRules must be set.", +"items": { +"$ref": "PathRule" +}, +"type": "array" +}, +"routeRules": { +"description": "The list of HTTP route rules. Use this list instead ofpathRules when advanced route matching and routing actions are\ndesired. routeRules are evaluated in order of priority, from\nthe lowest to highest number.\n\nWithin a given pathMatcher, you can set only one ofpathRules or routeRules.", +"items": { +"$ref": "HttpRouteRule" +}, +"type": "array" +} +}, +"type": "object" +}, +"PathRule": { +"description": "A path-matching rule for a URL. If matched, will use the specifiedBackendService to handle the traffic arriving at this URL.", +"id": "PathRule", +"properties": { +"customErrorResponsePolicy": { +"$ref": "CustomErrorResponsePolicy", +"description": "customErrorResponsePolicy specifies how the Load\nBalancer returns error responses when BackendServiceorBackendBucket responds with an error. \n\nIf a policy for an\nerror code is not configured for the PathRule, a policy for\nthe error code configured inpathMatcher.defaultCustomErrorResponsePolicy is applied. If\none is not specified inpathMatcher.defaultCustomErrorResponsePolicy, the policy\nconfigured in UrlMap.defaultCustomErrorResponsePolicy takes\neffect. \n\nFor example, consider a UrlMap with the following configuration:\n \n \n - UrlMap.defaultCustomErrorResponsePolicy are configured\n with policies for 5xx and 4xx errors\n - A PathRule for /coming_soon/ is configured for the error\n code 404.\n\nIf the request is for www.myotherdomain.com and a404 is encountered, the policy underUrlMap.defaultCustomErrorResponsePolicy takes effect. If a404 response is encountered for the requestwww.example.com/current_events/, the pathMatcher's policy\ntakes effect. If however, the request forwww.example.com/coming_soon/ encounters a 404,\nthe policy in PathRule.customErrorResponsePolicy takes\neffect. If any of the requests in this example encounter a 500\nerror code, the policy atUrlMap.defaultCustomErrorResponsePolicy takes effect.\n\ncustomErrorResponsePolicy is supported only for\nglobal external Application Load Balancers." +}, +"paths": { +"description": "The list of path patterns to match. Each must start with /\nand the only place a * is allowed is at the end following\na /. The string fed to the path matcher does not include\nany text after the first ? or #, and\nthose chars are not allowed here.", +"items": { +"type": "string" +}, +"type": "array" +}, +"routeAction": { +"$ref": "HttpRouteAction", +"description": "In response to a matching path, the load balancer\nperforms advanced routing actions, such as URL rewrites and header\ntransformations, before forwarding the request to the selected\nbackend.\n\n\nOnly one of urlRedirect, service orrouteAction.weightedBackendService can be set.\n\n\nURL maps for classic Application Load Balancers only support\nthe urlRewrite action within a path rule'srouteAction." +}, +"service": { +"description": "The full or partial URL of the backend service resource to which traffic\nis directed if this rule is matched. If routeAction is\nalso specified, advanced routing actions, such as URL rewrites,\ntake effect before sending the request to the backend.\n\n\nOnly one of urlRedirect, service orrouteAction.weightedBackendService can be set.", +"type": "string" +}, +"urlRedirect": { +"$ref": "HttpRedirectAction", +"description": "When a path pattern is matched, the request is redirected to a URL\nspecified by urlRedirect.\n\n\nOnly one of urlRedirect, service orrouteAction.weightedBackendService can be set.\n\n\nNot supported when the URL map is bound to a target gRPC proxy." +} +}, +"type": "object" +}, +"PerInstanceConfig": { +"id": "PerInstanceConfig", +"properties": { +"fingerprint": { +"description": "Fingerprint of this per-instance config. This field can be used in\noptimistic locking. It is ignored when inserting a per-instance\nconfig. An up-to-date fingerprint must be provided in order to update an\nexisting per-instance configuration or the field needs to be unset.", +"format": "byte", +"type": "string" +}, +"name": { +"description": "The name of a per-instance configuration and its corresponding instance.\nServes as a merge key during UpdatePerInstanceConfigs\noperations, that is, if a per-instance configuration with the same name\nexists then it will be updated, otherwise a new one will be created for the\nVM instance with the same name. An attempt to create a per-instance\nconfiguration for a VM instance that either doesn't exist or is not part\nof the group will result in an error.", +"type": "string" +}, +"preservedState": { +"$ref": "PreservedState", +"description": "The intended preserved state for the given instance. Does not contain\npreserved state generated from a stateful policy." +}, +"status": { +"description": "The status of applying this per-instance configuration on the corresponding\nmanaged instance.", +"enum": [ +"APPLYING", +"DELETING", +"EFFECTIVE", +"NONE", +"UNAPPLIED", +"UNAPPLIED_DELETION" +], +"enumDescriptions": [ +"The per-instance configuration is being applied to the instance, but is\nnot yet effective, possibly waiting for the instance to, for example,REFRESH.", +"The per-instance configuration deletion is being applied on the instance,\npossibly waiting for the instance to, for example, REFRESH.", +"The per-instance configuration is effective on the instance, meaning that\nall disks, ips and metadata specified in this configuration are attached\nor set on the instance.", +"*[Default]* The default status, when no per-instance configuration\nexists.", +"The per-instance configuration is set on an instance but not been applied\nyet.", +"The per-instance configuration has been deleted, but the deletion is not\nyet applied." +], +"type": "string" +} +}, +"type": "object" +}, +"Policy": { +"description": "An Identity and Access Management (IAM) policy, which specifies access\ncontrols for Google Cloud resources.\n\n\nA `Policy` is a collection of `bindings`. A `binding` binds one or more\n`members`, or principals, to a single `role`. Principals can be user\naccounts, service accounts, Google groups, and domains (such as G Suite). A\n`role` is a named list of permissions; each `role` can be an IAM predefined\nrole or a user-created custom role.\n\nFor some types of Google Cloud resources, a `binding` can also specify a\n`condition`, which is a logical expression that allows access to a resource\nonly if the expression evaluates to `true`. A condition can add constraints\nbased on attributes of the request, the resource, or both. To learn which\nresources support conditions in their IAM policies, see the\n[IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).\n\n**JSON example:**\n\n```\n {\n \"bindings\": [\n {\n \"role\": \"roles/resourcemanager.organizationAdmin\",\n \"members\": [\n \"user:mike@example.com\",\n \"group:admins@example.com\",\n \"domain:google.com\",\n \"serviceAccount:my-project-id@appspot.gserviceaccount.com\"\n ]\n },\n {\n \"role\": \"roles/resourcemanager.organizationViewer\",\n \"members\": [\n \"user:eve@example.com\"\n ],\n \"condition\": {\n \"title\": \"expirable access\",\n \"description\": \"Does not grant access after Sep 2020\",\n \"expression\": \"request.time < timestamp('2020-10-01T00:00:00.000Z')\",\n }\n }\n ],\n \"etag\": \"BwWWja0YfJA=\",\n \"version\": 3\n }\n```\n\n**YAML example:**\n\n```\n bindings:\n - members:\n - user:mike@example.com\n - group:admins@example.com\n - domain:google.com\n - serviceAccount:my-project-id@appspot.gserviceaccount.com\n role: roles/resourcemanager.organizationAdmin\n - members:\n - user:eve@example.com\n role: roles/resourcemanager.organizationViewer\n condition:\n title: expirable access\n description: Does not grant access after Sep 2020\n expression: request.time < timestamp('2020-10-01T00:00:00.000Z')\n etag: BwWWja0YfJA=\n version: 3\n```\n\nFor a description of IAM and its features, see the\n[IAM documentation](https://cloud.google.com/iam/docs/).", +"id": "Policy", +"properties": { +"auditConfigs": { +"description": "Specifies cloud audit logging configuration for this policy.", +"items": { +"$ref": "AuditConfig" +}, +"type": "array" +}, +"bindings": { +"description": "Associates a list of `members`, or principals, with a `role`. Optionally,\nmay specify a `condition` that determines how and when the `bindings` are\napplied. Each of the `bindings` must contain at least one principal.\n\nThe `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250\nof these principals can be Google groups. Each occurrence of a principal\ncounts towards these limits. For example, if the `bindings` grant 50\ndifferent roles to `user:alice@example.com`, and not to any other\nprincipal, then you can add another 1,450 principals to the `bindings` in\nthe `Policy`.", +"items": { +"$ref": "Binding" +}, +"type": "array" +}, +"etag": { +"description": "`etag` is used for optimistic concurrency control as a way to help\nprevent simultaneous updates of a policy from overwriting each other.\nIt is strongly suggested that systems make use of the `etag` in the\nread-modify-write cycle to perform policy updates in order to avoid race\nconditions: An `etag` is returned in the response to `getIamPolicy`, and\nsystems are expected to put that etag in the request to `setIamPolicy` to\nensure that their change will be applied to the same version of the policy.\n\n**Important:** If you use IAM Conditions, you must include the `etag` field\nwhenever you call `setIamPolicy`. If you omit this field, then IAM allows\nyou to overwrite a version `3` policy with a version `1` policy, and all of\nthe conditions in the version `3` policy are lost.", +"format": "byte", +"type": "string" +}, +"version": { +"description": "Specifies the format of the policy.\n\nValid values are `0`, `1`, and `3`. Requests that specify an invalid value\nare rejected.\n\nAny operation that affects conditional role bindings must specify version\n`3`. This requirement applies to the following operations:\n\n* Getting a policy that includes a conditional role binding\n* Adding a conditional role binding to a policy\n* Changing a conditional role binding in a policy\n* Removing any role binding, with or without a condition, from a policy\n that includes conditions\n\n**Important:** If you use IAM Conditions, you must include the `etag` field\nwhenever you call `setIamPolicy`. If you omit this field, then IAM allows\nyou to overwrite a version `3` policy with a version `1` policy, and all of\nthe conditions in the version `3` policy are lost.\n\nIf a policy does not include any conditions, operations on that policy may\nspecify any valid version or leave the field unset.\n\nTo learn which resources support conditions in their IAM policies, see the\n[IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"PreconfiguredWafSet": { +"id": "PreconfiguredWafSet", +"properties": { +"expressionSets": { +"description": "List of entities that are currently supported for WAF rules.", +"items": { +"$ref": "WafExpressionSet" +}, +"type": "array" +} +}, +"type": "object" +}, +"PreservedState": { +"description": "Preserved state for a given instance.", +"id": "PreservedState", +"properties": { +"disks": { +"additionalProperties": { +"$ref": "PreservedStatePreservedDisk" +}, +"description": "Preserved disks defined for this instance.\nThis map is keyed with the device names of the disks.", +"type": "object" +}, +"externalIPs": { +"additionalProperties": { +"$ref": "PreservedStatePreservedNetworkIp" +}, +"description": "Preserved external IPs defined for this instance.\nThis map is keyed with the name of the network interface.", +"type": "object" +}, +"internalIPs": { +"additionalProperties": { +"$ref": "PreservedStatePreservedNetworkIp" +}, +"description": "Preserved internal IPs defined for this instance.\nThis map is keyed with the name of the network interface.", +"type": "object" +}, +"metadata": { +"additionalProperties": { +"type": "string" +}, +"description": "Preserved metadata defined for this instance.", +"type": "object" +} +}, +"type": "object" +}, +"PreservedStatePreservedDisk": { +"id": "PreservedStatePreservedDisk", +"properties": { +"autoDelete": { +"description": "These stateful disks will never be deleted during autohealing,\nupdate, instance recreate operations. This flag is used to configure\nif the disk should be deleted after it is no longer used by the group,\ne.g. when the given instance or the whole MIG is deleted.\nNote: disks attached in READ_ONLY mode cannot be\nauto-deleted.", +"enum": [ +"NEVER", +"ON_PERMANENT_INSTANCE_DELETION" +], +"enumDescriptions": [ +"", +"" +], +"type": "string" +}, +"mode": { +"description": "The mode in which to attach this disk, either READ_WRITE orREAD_ONLY. If not specified, the default is to attach the\ndisk in READ_WRITE mode.", +"enum": [ +"READ_ONLY", +"READ_WRITE" +], +"enumDescriptions": [ +"Attaches this disk in read-only mode. Multiple VM instances can use\na disk in READ_ONLY mode at a time.", +"*[Default]* Attaches this disk in READ_WRITE mode. Only\none VM instance at a time can be attached to a disk inREAD_WRITE mode." +], +"type": "string" +}, +"source": { +"description": "The URL of the disk resource that is stateful and should be attached\nto the VM instance.", +"type": "string" +} +}, +"type": "object" +}, +"PreservedStatePreservedNetworkIp": { +"id": "PreservedStatePreservedNetworkIp", +"properties": { +"autoDelete": { +"description": "These stateful IPs will never be released during autohealing,\nupdate or VM instance recreate operations.\nThis flag is used to configure if the IP reservation should be deleted\nafter it is no longer used by the group, e.g. when the given instance\nor the whole group is deleted.", +"enum": [ +"NEVER", +"ON_PERMANENT_INSTANCE_DELETION" +], +"enumDescriptions": [ +"", +"" +], +"type": "string" +}, +"ipAddress": { +"$ref": "PreservedStatePreservedNetworkIpIpAddress", +"description": "Ip address representation" +} +}, +"type": "object" +}, +"PreservedStatePreservedNetworkIpIpAddress": { +"id": "PreservedStatePreservedNetworkIpIpAddress", +"properties": { +"address": { +"description": "The URL of the reservation for this IP address.", +"type": "string" +}, +"literal": { +"description": "An IPv4 internal network address to assign to the instance for this\nnetwork interface.", +"type": "string" +} +}, +"type": "object" +}, +"PreviewFeature": { +"description": "Represents a single Google Compute Engine preview feature.", +"id": "PreviewFeature", +"properties": { +"activationStatus": { +"description": "Specifies whether the feature is enabled or disabled.", +"enum": [ +"ACTIVATION_STATE_UNSPECIFIED", +"DISABLED", +"ENABLED" +], +"enumDescriptions": [ +"", +"", +"" +], +"type": "string" +}, +"creationTimestamp": { +"description": "Output only. [Output Only] Creation timestamp inRFC3339\ntext format.", +"readOnly": true, +"type": "string" +}, +"description": { +"description": "Output only. [Output Only] Description of the feature.", +"readOnly": true, +"type": "string" +}, +"id": { +"description": "Output only. [Output Only] The unique identifier for the resource. This identifier is\ndefined by the server.", +"format": "uint64", +"readOnly": true, +"type": "string" +}, +"kind": { +"default": "compute#previewFeature", +"description": "Output only. [Output only] The type of the feature. Always \"compute#previewFeature\" for\npreview features.", +"readOnly": true, +"type": "string" +}, +"name": { +"description": "Name of the feature.", +"type": "string" +}, +"rolloutOperation": { +"$ref": "PreviewFeatureRolloutOperation", +"description": "Rollout operation of the feature." +}, +"selfLink": { +"description": "Output only. [Output Only] Server-defined URL for the resource.", +"readOnly": true, +"type": "string" +}, +"status": { +"$ref": "PreviewFeatureStatus", +"description": "Output only. [Output only] Status of the feature.", +"readOnly": true +} +}, +"type": "object" +}, +"PreviewFeatureList": { +"id": "PreviewFeatureList", +"properties": { +"etag": { +"type": "string" +}, +"id": { +"description": "[Output Only] Unique identifier for the resource; defined by the server.", +"type": "string" +}, +"items": { +"description": "A list of PreviewFeature resources.", +"items": { +"$ref": "PreviewFeature" +}, +"type": "array" +}, +"nextPageToken": { +"description": "[Output Only] This token allows you to get the next page of results for\nlist requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for\nthe query parameter pageToken in the next list request.\nSubsequent list requests will have their own nextPageToken to\ncontinue paging through the results.", +"type": "string" +}, +"selfLink": { +"description": "Output only. [Output Only] Server-defined URL for this resource.", +"readOnly": true, +"type": "string" +}, +"unreachables": { +"description": "Output only. [Output Only] Unreachable resources.\nend_interface: MixerListResponseWithEtagBuilder", +"items": { +"type": "string" +}, +"readOnly": true, +"type": "array" +}, +"warning": { +"description": "[Output Only] Informational warning message.", +"properties": { +"code": { +"description": "[Output Only] A warning code, if applicable. For example, Compute\nEngine returns NO_RESULTS_ON_PAGE if there\nare no results in the response.", +"enum": [ +"CLEANUP_FAILED", +"DEPRECATED_RESOURCE_USED", +"DEPRECATED_TYPE_USED", +"DISK_SIZE_LARGER_THAN_IMAGE_SIZE", +"EXPERIMENTAL_TYPE_USED", +"EXTERNAL_API_WARNING", +"FIELD_VALUE_OVERRIDEN", +"INJECTED_KERNELS_DEPRECATED", +"INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", +"LARGE_DEPLOYMENT_WARNING", +"LIST_OVERHEAD_QUOTA_EXCEED", +"MISSING_TYPE_DEPENDENCY", +"NEXT_HOP_ADDRESS_NOT_ASSIGNED", +"NEXT_HOP_CANNOT_IP_FORWARD", +"NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", +"NEXT_HOP_INSTANCE_NOT_FOUND", +"NEXT_HOP_INSTANCE_NOT_ON_NETWORK", +"NEXT_HOP_NOT_RUNNING", +"NOT_CRITICAL_ERROR", +"NO_RESULTS_ON_PAGE", +"PARTIAL_SUCCESS", +"QUOTA_INFO_UNAVAILABLE", +"REQUIRED_TOS_AGREEMENT", +"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", +"RESOURCE_NOT_DELETED", +"SCHEMA_VALIDATION_IGNORED", +"SINGLE_INSTANCE_PROPERTY_TEMPLATE", +"UNDECLARED_PROPERTIES", +"UNREACHABLE" +], +"enumDeprecated": [ +false, +false, +false, +false, +false, +false, +true, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false +], +"enumDescriptions": [ +"Warning about failed cleanup of transient changes made by a failed\noperation.", +"A link to a deprecated resource was created.", +"When deploying and at least one of the resources has a type marked as\ndeprecated", +"The user created a boot disk that is larger than image size.", +"When deploying and at least one of the resources has a type marked as\nexperimental", +"Warning that is present in an external api call", +"Warning that value of a field has been overridden.\nDeprecated unused field.", +"The operation involved use of an injected kernel, which is deprecated.", +"A WEIGHTED_MAGLEV backend service is associated with a health check that is\nnot of type HTTP/HTTPS/HTTP2.", +"When deploying a deployment with a exceedingly large number of resources", +"Resource can't be retrieved due to list overhead quota exceed\nwhich captures the amount of resources filtered out by\nuser-defined list filter.", +"A resource depends on a missing type", +"The route's nextHopIp address is not assigned to an instance on the\nnetwork.", +"The route's next hop instance cannot ip forward.", +"The route's nextHopInstance URL refers to an instance that does not have an\nipv6 interface on the same network as the route.", +"The route's nextHopInstance URL refers to an instance that does not exist.", +"The route's nextHopInstance URL refers to an instance that is not on the\nsame network as the route.", +"The route's next hop instance does not have a status of RUNNING.", +"Error which is not critical. We decided to continue the process despite\nthe mentioned error.", +"No results are present on a particular list page.", +"Success is reported, but some results may be missing due to errors", +"Quota information is not available to client requests (e.g:\nregions.list).", +"The user attempted to use a resource that requires a TOS they have not\naccepted.", +"Warning that a resource is in use.", +"One or more of the resources set to auto-delete could not be deleted\nbecause they were in use.", +"When a resource schema validation is ignored.", +"Instance template used in instance group manager is valid as such, but\nits application does not make a lot of sense, because it allows only\nsingle instance in instance group.", +"When undeclared properties in the schema are present", +"A given scope cannot be reached." +], +"type": "string" +}, +"data": { +"description": "[Output Only] Metadata about this warning in key:\nvalue format. For example:\n\n\"data\": [\n {\n \"key\": \"scope\",\n \"value\": \"zones/us-east1-d\"\n }", +"items": { +"properties": { +"key": { +"description": "[Output Only] A key that provides more detail on the warning being\nreturned. For example, for warnings where there are no results in a list\nrequest for a particular zone, this key might be scope and\nthe key value might be the zone name. Other examples might be a key\nindicating a deprecated resource and a suggested replacement, or a\nwarning about invalid network settings (for example, if an instance\nattempts to perform IP forwarding but is not enabled for IP forwarding).", +"type": "string" +}, +"value": { +"description": "[Output Only] A warning data value corresponding to the key.", +"type": "string" +} +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "[Output Only] A human-readable description of the warning code.", +"type": "string" +} +}, +"type": "object" +} +}, +"type": "object" +}, +"PreviewFeatureRolloutOperation": { +"description": "Represents the rollout operation", +"id": "PreviewFeatureRolloutOperation", +"properties": { +"rolloutInput": { +"$ref": "PreviewFeatureRolloutOperationRolloutInput", +"description": "Input only. The input for the rollout operation." +} +}, +"type": "object" +}, +"PreviewFeatureRolloutOperationRolloutInput": { +"description": "Represents the input for the rollout operation.", +"id": "PreviewFeatureRolloutOperationRolloutInput", +"properties": { +"name": { +"description": "The name of the rollout plan\nEx.\norganizations//locations/global/rolloutPlans/\nEx.\nfolders//locations/global/rolloutPlans/\nEx.\nprojects//locations/global/rolloutPlans/.", +"type": "string" +}, +"predefinedRolloutPlan": { +"description": "Predefined rollout plan.", +"enum": [ +"ROLLOUT_PLAN_FAST_ROLLOUT", +"ROLLOUT_PLAN_TWO_DAY_ROLLOUT", +"ROLLOUT_PLAN_UNSPECIFIED" +], +"enumDescriptions": [ +"", +"", +"" +], +"type": "string" +} +}, +"type": "object" +}, +"PreviewFeatureStatus": { +"description": "[Output Only] The status of the feature.", +"id": "PreviewFeatureStatus", +"properties": { +"description": { +"description": "Output only. [Output Only] The description of the feature.", +"readOnly": true, +"type": "string" +}, +"helpLink": { +"description": "Output only. [Output Only] Link to the public documentation for the feature.", +"readOnly": true, +"type": "string" +}, +"releaseStatus": { +"$ref": "PreviewFeatureStatusReleaseStatus" +} +}, +"type": "object" +}, +"PreviewFeatureStatusReleaseStatus": { +"description": "[Output Only] The release status of the feature.", +"id": "PreviewFeatureStatusReleaseStatus", +"properties": { +"stage": { +"description": "Output only. [Output Only] The stage of the feature.", +"enum": [ +"DEPRECATED", +"GA", +"PREVIEW", +"STAGE_UNSPECIFIED" +], +"enumDescriptions": [ +"", +"", +"", +"" +], +"readOnly": true, +"type": "string" +}, +"updateDate": { +"$ref": "Date", +"description": "Output only. The last date when a feature transitioned between ReleaseStatuses.", +"readOnly": true +} +}, +"type": "object" +}, +"Project": { +"description": "Represents a Project resource.\n\nA project is used to organize resources in a Google Cloud Platform\nenvironment. For more information, read about the \nResource Hierarchy.", +"id": "Project", +"properties": { +"cloudArmorTier": { +"description": "Output only. [Output Only] The Cloud Armor tier for this project. It can be one of the\nfollowing values: CA_STANDARD,CA_ENTERPRISE_PAYGO.\n\nIf this field is not specified, it is assumed to beCA_STANDARD.", +"enum": [ +"CA_ENTERPRISE_ANNUAL", +"CA_ENTERPRISE_PAYGO", +"CA_STANDARD" +], +"enumDescriptions": [ +"Enterprise tier protection billed annually.", +"Enterprise tier protection billed monthly.", +"Standard protection." +], +"readOnly": true, +"type": "string" +}, +"commonInstanceMetadata": { +"$ref": "Metadata", +"description": "Metadata key/value pairs available to all instances contained in this\nproject. See Custom\nmetadata for more information." +}, +"creationTimestamp": { +"description": "[Output Only] Creation timestamp inRFC3339\ntext format.", +"type": "string" +}, +"defaultNetworkTier": { +"description": "This signifies the default network tier used for configuring resources of\nthe project and can only take the following values:PREMIUM, STANDARD. Initially the default network\ntier is PREMIUM.", +"enum": [ +"FIXED_STANDARD", +"PREMIUM", +"STANDARD", +"STANDARD_OVERRIDES_FIXED_STANDARD" +], +"enumDescriptions": [ +"Public internet quality with fixed bandwidth.", +"High quality, Google-grade network tier, support for all networking\nproducts.", +"Public internet quality, only limited support for other networking\nproducts.", +"(Output only) Temporary tier for FIXED_STANDARD when fixed standard tier\nis expired or not configured." +], +"type": "string" +}, +"defaultServiceAccount": { +"description": "[Output Only] Default service account used by VMs running in this project.", +"type": "string" +}, +"description": { +"description": "An optional textual description of the resource.", +"type": "string" +}, +"enabledFeatures": { +"description": "An optional list of restricted features enabled for use on this project.", +"items": { +"type": "string" +}, +"type": "array" +}, +"id": { +"description": "[Output Only] The unique identifier for the resource. This identifier is\ndefined by the server. This is *not* the project ID, and is\njust a unique ID used by Compute Engine to identify resources.", +"format": "uint64", +"type": "string" +}, +"kind": { +"default": "compute#project", +"description": "Output only. [Output Only] Type of the resource. Always compute#project for\nprojects.", +"readOnly": true, +"type": "string" +}, +"managedProtectionTier": { +"description": "Output only. [Output Only] The Cloud Armor Managed Protection (CAMP) tier for\nthis project. It can be one of the following values:CA_STANDARD, CAMP_PLUS_PAYGO.\n\nIf this field is not specified, it is assumed to beCA_STANDARD.", +"enum": [ +"CAMP_PLUS_ANNUAL", +"CAMP_PLUS_PAYGO", +"CA_STANDARD" +], +"enumDescriptions": [ +"Plus tier protection annual.", +"Plus tier protection monthly.", +"Standard protection." +], +"readOnly": true, +"type": "string" +}, +"name": { +"description": "The project ID. For example: my-example-project. Use the\nproject ID to make requests to Compute Engine.", +"type": "string" +}, +"quotas": { +"description": "[Output Only] Quotas assigned to this project.", +"items": { +"$ref": "Quota" +}, +"type": "array" +}, +"selfLink": { +"description": "[Output Only] Server-defined URL for the resource.", +"type": "string" +}, +"usageExportLocation": { +"$ref": "UsageExportLocation", +"description": "An optional naming prefix for daily usage reports and the Google Cloud\nStorage bucket where they are stored." +}, +"vmDnsSetting": { +"description": "Output only. [Output Only] Default internal DNS setting used by VMs running in\nthis project.", +"enum": [ +"GLOBAL_DEFAULT", +"UNSPECIFIED_VM_DNS_SETTING", +"ZONAL_DEFAULT", +"ZONAL_ONLY" +], +"enumDescriptions": [ +"", +"", +"", +"" +], +"readOnly": true, +"type": "string" +}, +"xpnProjectStatus": { +"description": "[Output Only] The role this project has in a shared VPC configuration.\nCurrently, only projects with the host role, which is specified by the\nvalue HOST, are differentiated.", +"enum": [ +"HOST", +"UNSPECIFIED_XPN_PROJECT_STATUS" +], +"enumDescriptions": [ +"", +"" +], +"type": "string" +} +}, +"type": "object" +}, +"ProjectsDisableXpnResourceRequest": { +"id": "ProjectsDisableXpnResourceRequest", +"properties": { +"xpnResource": { +"$ref": "XpnResourceId", +"description": "Service resource (a.k.a service project) ID." +} +}, +"type": "object" +}, +"ProjectsEnableXpnResourceRequest": { +"id": "ProjectsEnableXpnResourceRequest", +"properties": { +"xpnResource": { +"$ref": "XpnResourceId", +"description": "Service resource (a.k.a service project) ID." +} +}, +"type": "object" +}, +"ProjectsGetXpnResources": { +"id": "ProjectsGetXpnResources", +"properties": { +"kind": { +"default": "compute#projectsGetXpnResources", +"description": "Output only. [Output Only] Type of resource. Alwayscompute#projectsGetXpnResources for lists of service resources\n(a.k.a service projects)", +"readOnly": true, +"type": "string" +}, +"nextPageToken": { +"description": "Output only. [Output Only] This token allows you to get the next page of results for\nlist requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for\nthe query parameter pageToken in the next list request.\nSubsequent list requests will have their own nextPageToken to\ncontinue paging through the results.", +"readOnly": true, +"type": "string" +}, +"resources": { +"description": "Service resources (a.k.a service projects) attached to this project as\ntheir shared VPC host.", +"items": { +"$ref": "XpnResourceId" +}, +"type": "array" +} +}, +"type": "object" +}, +"ProjectsListXpnHostsRequest": { +"id": "ProjectsListXpnHostsRequest", +"properties": { +"organization": { +"description": "Optional organization ID managed by Cloud Resource Manager, for which to\nlist shared VPC host projects. If not specified, the organization will be\ninferred from the project.", +"type": "string" +} +}, +"type": "object" +}, +"ProjectsSetCloudArmorTierRequest": { +"id": "ProjectsSetCloudArmorTierRequest", +"properties": { +"cloudArmorTier": { +"description": "Managed protection tier to be set.", +"enum": [ +"CA_ENTERPRISE_ANNUAL", +"CA_ENTERPRISE_PAYGO", +"CA_STANDARD" +], +"enumDescriptions": [ +"Enterprise tier protection billed annually.", +"Enterprise tier protection billed monthly.", +"Standard protection." +], +"type": "string" +} +}, +"type": "object" +}, +"ProjectsSetDefaultNetworkTierRequest": { +"id": "ProjectsSetDefaultNetworkTierRequest", +"properties": { +"networkTier": { +"description": "Default network tier to be set.", +"enum": [ +"FIXED_STANDARD", +"PREMIUM", +"STANDARD", +"STANDARD_OVERRIDES_FIXED_STANDARD" +], +"enumDescriptions": [ +"Public internet quality with fixed bandwidth.", +"High quality, Google-grade network tier, support for all networking\nproducts.", +"Public internet quality, only limited support for other networking\nproducts.", +"(Output only) Temporary tier for FIXED_STANDARD when fixed standard tier\nis expired or not configured." +], +"type": "string" +} +}, +"type": "object" +}, +"ProjectsSetManagedProtectionTierRequest": { +"id": "ProjectsSetManagedProtectionTierRequest", +"properties": { +"managedProtectionTier": { +"description": "Managed protection tier to be set.", +"enum": [ +"CAMP_PLUS_ANNUAL", +"CAMP_PLUS_PAYGO", +"CA_STANDARD" +], +"enumDescriptions": [ +"Plus tier protection annual.", +"Plus tier protection monthly.", +"Standard protection." +], +"type": "string" +} +}, +"type": "object" +}, +"PublicAdvertisedPrefix": { +"description": "A public advertised prefix represents an aggregated IP prefix or netblock\nwhich customers bring to cloud. The IP prefix is a single unit of route\nadvertisement and is announced globally to the internet.", +"id": "PublicAdvertisedPrefix", +"properties": { +"byoipApiVersion": { +"description": "Output only. [Output Only] The version of BYOIP API.", +"enum": [ +"V1", +"V2" +], +"enumDescriptions": [ +"This public advertised prefix can be used to create both regional and\nglobal public delegated prefixes. It usually takes 4 weeks to create or\ndelete a public delegated prefix. The BGP status cannot be changed.", +"This public advertised prefix can only be used to create regional public\ndelegated prefixes. Public delegated prefix creation and deletion takes\nminutes and the BGP status can be modified." +], +"readOnly": true, +"type": "string" +}, +"creationTimestamp": { +"description": "Output only. [Output Only] Creation timestamp inRFC3339\ntext format.", +"readOnly": true, +"type": "string" +}, +"description": { +"description": "An optional description of this resource. Provide this property when you\ncreate the resource.", +"type": "string" +}, +"dnsVerificationIp": { +"description": "The address to be used for reverse DNS verification.", +"type": "string" +}, +"fingerprint": { +"description": "Fingerprint of this resource. A hash of the contents stored in this object.\nThis field is used in optimistic locking. This field will be ignored when\ninserting a new PublicAdvertisedPrefix. An up-to-date\nfingerprint must be provided in order to update thePublicAdvertisedPrefix, otherwise the request will fail with\nerror 412 conditionNotMet.\n\nTo see the latest fingerprint, make a get() request to\nretrieve a PublicAdvertisedPrefix.", +"format": "byte", +"type": "string" +}, +"id": { +"description": "Output only. [Output Only] The unique identifier for the resource type. The server\ngenerates this identifier.", +"format": "uint64", +"readOnly": true, +"type": "string" +}, +"ipCidrRange": { +"description": "The address range, in CIDR format, represented by this public advertised\nprefix.", +"type": "string" +}, +"ipv6AccessType": { +"description": "The internet access type for IPv6 Public Advertised Prefixes.", +"enum": [ +"EXTERNAL", +"INTERNAL" +], +"enumDescriptions": [ +"Default IPv6 access type. The prefix will be announced to the internet.\nAll children Public Delegated Prefixes will have IPv6 access type as\nEXTERNAL.", +"The prefix will not be announced to the internet. Prefix will be used\nprivately within Cloud. All children Public Delegated Prefixes\nwill have IPv6 access type as INTERNAL." +], +"type": "string" +}, +"kind": { +"default": "compute#publicAdvertisedPrefix", +"description": "Output only. [Output Only] Type of the resource. Alwayscompute#publicAdvertisedPrefix for public advertised prefixes.", +"readOnly": true, +"type": "string" +}, +"name": { +"annotations": { +"required": [ +"compute.publicAdvertisedPrefixes.insert" +] +}, +"description": "Name of the resource. Provided by the client when the resource is created.\nThe name must be 1-63 characters long, and comply withRFC1035.\nSpecifically, the name must be 1-63 characters long and match the regular\nexpression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first\ncharacter must be a lowercase letter, and all following characters must\nbe a dash, lowercase letter, or digit, except the last character, which\ncannot be a dash.", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"type": "string" +}, +"pdpScope": { +"description": "Specifies how child public delegated prefix will be scoped. It could\nbe one of following values:\n \n \n - `REGIONAL`: The public delegated prefix is regional only. The\n provisioning will take a few minutes.\n - `GLOBAL`: The public delegated prefix is global only. The\n provisioning will take ~4 weeks.\n - `GLOBAL_AND_REGIONAL` [output only]: The public delegated prefixes is\n BYOIP V1 legacy prefix. This is output only value and no longer\n supported in BYOIP V2.", +"enum": [ +"GLOBAL", +"GLOBAL_AND_REGIONAL", +"REGIONAL" +], +"enumDescriptions": [ +"The public delegated prefix is global only. The provisioning will take ~4\nweeks.", +"The public delegated prefixes is BYOIP V1 legacy prefix. This is output\nonly value and no longer supported in BYOIP V2.", +"The public delegated prefix is regional only. The provisioning will take\na few minutes." +], +"type": "string" +}, +"publicDelegatedPrefixs": { +"description": "Output only. [Output Only] The list of public delegated prefixes that exist for this\npublic advertised prefix.", +"items": { +"$ref": "PublicAdvertisedPrefixPublicDelegatedPrefix" +}, +"readOnly": true, +"type": "array" +}, +"selfLink": { +"description": "Output only. [Output Only] Server-defined URL for the resource.", +"readOnly": true, +"type": "string" +}, +"sharedSecret": { +"description": "[Output Only] The shared secret to be used for reverse DNS verification.", +"type": "string" +}, +"status": { +"description": "The status of the public advertised prefix. Possible values include:\n \n \n - `INITIAL`: RPKI validation is complete.\n - `PTR_CONFIGURED`: User has configured the PTR.\n - `VALIDATED`: Reverse DNS lookup is successful.\n - `REVERSE_DNS_LOOKUP_FAILED`: Reverse DNS lookup failed.\n - `PREFIX_CONFIGURATION_IN_PROGRESS`: The prefix is being\n configured.\n - `PREFIX_CONFIGURATION_COMPLETE`: The prefix is fully configured.\n - `PREFIX_REMOVAL_IN_PROGRESS`: The prefix is being removed.", +"enum": [ +"ANNOUNCED_TO_INTERNET", +"INITIAL", +"PREFIX_CONFIGURATION_COMPLETE", +"PREFIX_CONFIGURATION_IN_PROGRESS", +"PREFIX_REMOVAL_IN_PROGRESS", +"PTR_CONFIGURED", +"READY_TO_ANNOUNCE", +"REVERSE_DNS_LOOKUP_FAILED", +"VALIDATED" +], +"enumDescriptions": [ +"The prefix is announced to Internet.", +"RPKI validation is complete.", +"The prefix is fully configured.", +"The prefix is being configured.", +"The prefix is being removed.", +"User has configured the PTR.", +"The prefix is currently withdrawn but ready to be announced.", +"Reverse DNS lookup failed.", +"Reverse DNS lookup is successful." +], +"type": "string" +} +}, +"type": "object" +}, +"PublicAdvertisedPrefixList": { +"id": "PublicAdvertisedPrefixList", +"properties": { +"id": { +"description": "[Output Only] Unique identifier for the resource; defined by the server.", +"type": "string" +}, +"items": { +"description": "A list of PublicAdvertisedPrefix resources.", +"items": { +"$ref": "PublicAdvertisedPrefix" +}, +"type": "array" +}, +"kind": { +"default": "compute#publicAdvertisedPrefixList", +"description": "Output only. [Output Only] Type of the resource. Alwayscompute#publicAdvertisedPrefix for public advertised prefixes.", +"readOnly": true, +"type": "string" +}, +"nextPageToken": { +"description": "[Output Only] This token allows you to get the next page of results for\nlist requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for\nthe query parameter pageToken in the next list request.\nSubsequent list requests will have their own nextPageToken to\ncontinue paging through the results.", +"type": "string" +}, +"selfLink": { +"description": "[Output Only] Server-defined URL for this resource.", +"type": "string" +}, +"warning": { +"description": "[Output Only] Informational warning message.", +"properties": { +"code": { +"description": "[Output Only] A warning code, if applicable. For example, Compute\nEngine returns NO_RESULTS_ON_PAGE if there\nare no results in the response.", +"enum": [ +"CLEANUP_FAILED", +"DEPRECATED_RESOURCE_USED", +"DEPRECATED_TYPE_USED", +"DISK_SIZE_LARGER_THAN_IMAGE_SIZE", +"EXPERIMENTAL_TYPE_USED", +"EXTERNAL_API_WARNING", +"FIELD_VALUE_OVERRIDEN", +"INJECTED_KERNELS_DEPRECATED", +"INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", +"LARGE_DEPLOYMENT_WARNING", +"LIST_OVERHEAD_QUOTA_EXCEED", +"MISSING_TYPE_DEPENDENCY", +"NEXT_HOP_ADDRESS_NOT_ASSIGNED", +"NEXT_HOP_CANNOT_IP_FORWARD", +"NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", +"NEXT_HOP_INSTANCE_NOT_FOUND", +"NEXT_HOP_INSTANCE_NOT_ON_NETWORK", +"NEXT_HOP_NOT_RUNNING", +"NOT_CRITICAL_ERROR", +"NO_RESULTS_ON_PAGE", +"PARTIAL_SUCCESS", +"QUOTA_INFO_UNAVAILABLE", +"REQUIRED_TOS_AGREEMENT", +"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", +"RESOURCE_NOT_DELETED", +"SCHEMA_VALIDATION_IGNORED", +"SINGLE_INSTANCE_PROPERTY_TEMPLATE", +"UNDECLARED_PROPERTIES", +"UNREACHABLE" +], +"enumDeprecated": [ +false, +false, +false, +false, +false, +false, +true, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false +], +"enumDescriptions": [ +"Warning about failed cleanup of transient changes made by a failed\noperation.", +"A link to a deprecated resource was created.", +"When deploying and at least one of the resources has a type marked as\ndeprecated", +"The user created a boot disk that is larger than image size.", +"When deploying and at least one of the resources has a type marked as\nexperimental", +"Warning that is present in an external api call", +"Warning that value of a field has been overridden.\nDeprecated unused field.", +"The operation involved use of an injected kernel, which is deprecated.", +"A WEIGHTED_MAGLEV backend service is associated with a health check that is\nnot of type HTTP/HTTPS/HTTP2.", +"When deploying a deployment with a exceedingly large number of resources", +"Resource can't be retrieved due to list overhead quota exceed\nwhich captures the amount of resources filtered out by\nuser-defined list filter.", +"A resource depends on a missing type", +"The route's nextHopIp address is not assigned to an instance on the\nnetwork.", +"The route's next hop instance cannot ip forward.", +"The route's nextHopInstance URL refers to an instance that does not have an\nipv6 interface on the same network as the route.", +"The route's nextHopInstance URL refers to an instance that does not exist.", +"The route's nextHopInstance URL refers to an instance that is not on the\nsame network as the route.", +"The route's next hop instance does not have a status of RUNNING.", +"Error which is not critical. We decided to continue the process despite\nthe mentioned error.", +"No results are present on a particular list page.", +"Success is reported, but some results may be missing due to errors", +"Quota information is not available to client requests (e.g:\nregions.list).", +"The user attempted to use a resource that requires a TOS they have not\naccepted.", +"Warning that a resource is in use.", +"One or more of the resources set to auto-delete could not be deleted\nbecause they were in use.", +"When a resource schema validation is ignored.", +"Instance template used in instance group manager is valid as such, but\nits application does not make a lot of sense, because it allows only\nsingle instance in instance group.", +"When undeclared properties in the schema are present", +"A given scope cannot be reached." +], +"type": "string" +}, +"data": { +"description": "[Output Only] Metadata about this warning in key:\nvalue format. For example:\n\n\"data\": [\n {\n \"key\": \"scope\",\n \"value\": \"zones/us-east1-d\"\n }", +"items": { +"properties": { +"key": { +"description": "[Output Only] A key that provides more detail on the warning being\nreturned. For example, for warnings where there are no results in a list\nrequest for a particular zone, this key might be scope and\nthe key value might be the zone name. Other examples might be a key\nindicating a deprecated resource and a suggested replacement, or a\nwarning about invalid network settings (for example, if an instance\nattempts to perform IP forwarding but is not enabled for IP forwarding).", +"type": "string" +}, +"value": { +"description": "[Output Only] A warning data value corresponding to the key.", +"type": "string" +} +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "[Output Only] A human-readable description of the warning code.", +"type": "string" +} +}, +"type": "object" +} +}, +"type": "object" +}, +"PublicAdvertisedPrefixPublicDelegatedPrefix": { +"description": "Represents a CIDR range which can be used to assign addresses.", +"id": "PublicAdvertisedPrefixPublicDelegatedPrefix", +"properties": { +"ipRange": { +"description": "The IP address range of the public delegated prefix", +"type": "string" +}, +"name": { +"description": "The name of the public delegated prefix", +"type": "string" +}, +"project": { +"description": "The project number of the public delegated prefix", +"type": "string" +}, +"region": { +"description": "The region of the public delegated prefix if it is regional. If absent,\nthe prefix is global.", +"type": "string" +}, +"status": { +"description": "The status of the public delegated prefix. Possible values are:\n INITIALIZING: The public delegated prefix is being initialized and\n addresses cannot be created yet.\n ANNOUNCED: The public delegated prefix is active.", +"type": "string" +} +}, +"type": "object" +}, +"PublicDelegatedPrefix": { +"description": "A PublicDelegatedPrefix resource represents an IP block within a\nPublicAdvertisedPrefix that is configured within a single cloud scope\n(global or region). IPs in the block can be allocated to resources within\nthat scope. Public delegated prefixes may be further broken up into\nsmaller IP blocks in the same scope as the parent block.", +"id": "PublicDelegatedPrefix", +"properties": { +"allocatablePrefixLength": { +"description": "The allocatable prefix length supported by this public delegated prefix.\nThis field is optional and cannot be set for prefixes in DELEGATION mode.\nIt cannot be set for IPv4 prefixes either, and it always defaults to 32.", +"format": "int32", +"type": "integer" +}, +"byoipApiVersion": { +"description": "Output only. [Output Only] The version of BYOIP API.", +"enum": [ +"V1", +"V2" +], +"enumDescriptions": [ +"This public delegated prefix usually takes 4 weeks to delete, and the BGP\nstatus cannot be changed. Announce and Withdraw APIs can not be used on\nthis prefix.", +"This public delegated prefix takes minutes to delete. Announce and\nWithdraw APIs can be used on this prefix to change the BGP status." +], +"readOnly": true, +"type": "string" +}, +"creationTimestamp": { +"description": "Output only. [Output Only] Creation timestamp inRFC3339\ntext format.", +"readOnly": true, +"type": "string" +}, +"description": { +"description": "An optional description of this resource. Provide this property when you\ncreate the resource.", +"type": "string" +}, +"enableEnhancedIpv4Allocation": { +"description": "Output only. [Output Only] Whether this PDP supports enhanced IPv4 allocations.\nApplicable for IPv4 PDPs only.", +"readOnly": true, +"type": "boolean" +}, +"fingerprint": { +"description": "Fingerprint of this resource. A hash of the contents stored in this object.\nThis field is used in optimistic locking. This field will be ignored when\ninserting a new PublicDelegatedPrefix. An up-to-date\nfingerprint must be provided in order to update thePublicDelegatedPrefix, otherwise the request will fail with\nerror 412 conditionNotMet.\n\nTo see the latest fingerprint, make a get() request to\nretrieve a PublicDelegatedPrefix.", +"format": "byte", +"type": "string" +}, +"id": { +"description": "Output only. [Output Only] The unique identifier for the resource type. The server\ngenerates this identifier.", +"format": "uint64", +"readOnly": true, +"type": "string" +}, +"ipCidrRange": { +"description": "The IP address range, in CIDR format, represented by this public\ndelegated prefix.", +"type": "string" +}, +"ipv6AccessType": { +"description": "Output only. [Output Only] The internet access type for IPv6 Public Delegated Prefixes.\nInherited from parent prefix.", +"enum": [ +"EXTERNAL", +"INTERNAL" +], +"enumDescriptions": [ +"The parent public advertised prefix will be announced to the internet.\nAll children public delegated prefixes will have IPv6 access type as\nEXTERNAL.", +"The parent public advertised prefix will not be announced to the\ninternet. Prefix will be used privately within Cloud. All children\npublic delegated prefixes will have IPv6 access type as INTERNAL." +], +"readOnly": true, +"type": "string" +}, +"isLiveMigration": { +"description": "If true, the prefix will be live migrated.", +"type": "boolean" +}, +"kind": { +"default": "compute#publicDelegatedPrefix", +"description": "Output only. [Output Only] Type of the resource. Alwayscompute#publicDelegatedPrefix for public delegated prefixes.", +"readOnly": true, +"type": "string" +}, +"mode": { +"description": "The public delegated prefix mode for IPv6 only.", +"enum": [ +"DELEGATION", +"EXTERNAL_IPV6_FORWARDING_RULE_CREATION", +"EXTERNAL_IPV6_SUBNETWORK_CREATION", +"INTERNAL_IPV6_SUBNETWORK_CREATION" +], +"enumDescriptions": [ +"The public delegated prefix is used for further sub-delegation only. Such\nprefixes cannot set allocatablePrefixLength.", +"The public delegated prefix is used for creating forwarding rules only.\nSuch prefixes cannot set publicDelegatedSubPrefixes. Parent public\ndelegated prefix must have IPv6 access type as EXTERNAL.", +"The public delegated prefix is used for creating dual-mode subnetworks\nonly. Such prefixes cannot set publicDelegatedSubPrefixes. Parent public\ndelegated prefix must have IPv6 access type as EXTERNAL.", +"The public delegated prefix is used for creating dual stack or IPv6-only\nsubnetwork with internal access only. Such prefixes cannot set\npublicDelegatedSubPrefixes and allocatablePrefixLength. Parent public\ndelegated prefix must have IPv6 access type as INTERNAL." +], +"type": "string" +}, +"name": { +"annotations": { +"required": [ +"compute.publicDelegatedPrefixes.insert" +] +}, +"description": "Name of the resource. Provided by the client when the resource is created.\nThe name must be 1-63 characters long, and comply withRFC1035.\nSpecifically, the name must be 1-63 characters long and match the regular\nexpression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first\ncharacter must be a lowercase letter, and all following characters must\nbe a dash, lowercase letter, or digit, except the last character, which\ncannot be a dash.", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"type": "string" +}, +"parentPrefix": { +"description": "The URL of parent prefix. Either PublicAdvertisedPrefix or\nPublicDelegatedPrefix.", +"type": "string" +}, +"publicDelegatedSubPrefixs": { +"description": "The list of sub public delegated prefixes that exist for this public\ndelegated prefix.", +"items": { +"$ref": "PublicDelegatedPrefixPublicDelegatedSubPrefix" +}, +"type": "array" +}, +"region": { +"description": "Output only. [Output Only] URL of the region where the public delegated prefix resides.\nThis field applies only to the region resource. You must specify this\nfield as part of the HTTP request URL. It is not settable as a field in\nthe request body.", +"readOnly": true, +"type": "string" +}, +"selfLink": { +"description": "Output only. [Output Only] Server-defined URL for the resource.", +"readOnly": true, +"type": "string" +}, +"status": { +"description": "[Output Only] The status of the public delegated prefix, which can be one\nof following values:\n \n \n - `INITIALIZING` The public delegated prefix is being initialized and\n addresses cannot be created yet.\n - `READY_TO_ANNOUNCE` The public delegated prefix is a live migration\n prefix and is active.\n - `ANNOUNCED` The public delegated prefix is announced and ready to\n use.\n - `DELETING` The public delegated prefix is being deprovsioned.\n - `ACTIVE` The public delegated prefix is ready to use.", +"enum": [ +"ACTIVE", +"ANNOUNCED", +"ANNOUNCED_TO_GOOGLE", +"ANNOUNCED_TO_INTERNET", +"DELETING", +"INITIALIZING", +"READY_TO_ANNOUNCE" +], +"enumDescriptions": [ +"The public delegated prefix is ready to use.", +"The public delegated prefix is announced and ready to use.", +"The prefix is announced within Google network.", +"The prefix is announced to Internet and within Google.", +"The public delegated prefix is being deprovsioned.", +"The public delegated prefix is being initialized and addresses cannot be\ncreated yet.", +"The public delegated prefix is currently withdrawn but ready to be\nannounced." +], +"type": "string" +} +}, +"type": "object" +}, +"PublicDelegatedPrefixAggregatedList": { +"id": "PublicDelegatedPrefixAggregatedList", +"properties": { +"id": { +"description": "[Output Only] Unique identifier for the resource; defined by the server.", +"type": "string" +}, +"items": { +"additionalProperties": { +"$ref": "PublicDelegatedPrefixesScopedList", +"description": "[Output Only] Name of the scope containing this set of\nPublicDelegatedPrefixes." +}, +"description": "A list of PublicDelegatedPrefixesScopedList resources.", +"type": "object" +}, +"kind": { +"default": "compute#publicDelegatedPrefixAggregatedList", +"description": "Output only. [Output Only] Type of the resource. Alwayscompute#publicDelegatedPrefixAggregatedList for aggregated\nlists of public delegated prefixes.", +"readOnly": true, +"type": "string" +}, +"nextPageToken": { +"description": "[Output Only] This token allows you to get the next page of results for\nlist requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for\nthe query parameter pageToken in the next list request.\nSubsequent list requests will have their own nextPageToken to\ncontinue paging through the results.", +"type": "string" +}, +"selfLink": { +"description": "[Output Only] Server-defined URL for this resource.", +"type": "string" +}, +"unreachables": { +"description": "Output only. [Output Only] Unreachable resources.", +"items": { +"type": "string" +}, +"readOnly": true, +"type": "array" +}, +"warning": { +"description": "[Output Only] Informational warning message.", +"properties": { +"code": { +"description": "[Output Only] A warning code, if applicable. For example, Compute\nEngine returns NO_RESULTS_ON_PAGE if there\nare no results in the response.", +"enum": [ +"CLEANUP_FAILED", +"DEPRECATED_RESOURCE_USED", +"DEPRECATED_TYPE_USED", +"DISK_SIZE_LARGER_THAN_IMAGE_SIZE", +"EXPERIMENTAL_TYPE_USED", +"EXTERNAL_API_WARNING", +"FIELD_VALUE_OVERRIDEN", +"INJECTED_KERNELS_DEPRECATED", +"INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", +"LARGE_DEPLOYMENT_WARNING", +"LIST_OVERHEAD_QUOTA_EXCEED", +"MISSING_TYPE_DEPENDENCY", +"NEXT_HOP_ADDRESS_NOT_ASSIGNED", +"NEXT_HOP_CANNOT_IP_FORWARD", +"NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", +"NEXT_HOP_INSTANCE_NOT_FOUND", +"NEXT_HOP_INSTANCE_NOT_ON_NETWORK", +"NEXT_HOP_NOT_RUNNING", +"NOT_CRITICAL_ERROR", +"NO_RESULTS_ON_PAGE", +"PARTIAL_SUCCESS", +"QUOTA_INFO_UNAVAILABLE", +"REQUIRED_TOS_AGREEMENT", +"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", +"RESOURCE_NOT_DELETED", +"SCHEMA_VALIDATION_IGNORED", +"SINGLE_INSTANCE_PROPERTY_TEMPLATE", +"UNDECLARED_PROPERTIES", +"UNREACHABLE" +], +"enumDeprecated": [ +false, +false, +false, +false, +false, +false, +true, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false +], +"enumDescriptions": [ +"Warning about failed cleanup of transient changes made by a failed\noperation.", +"A link to a deprecated resource was created.", +"When deploying and at least one of the resources has a type marked as\ndeprecated", +"The user created a boot disk that is larger than image size.", +"When deploying and at least one of the resources has a type marked as\nexperimental", +"Warning that is present in an external api call", +"Warning that value of a field has been overridden.\nDeprecated unused field.", +"The operation involved use of an injected kernel, which is deprecated.", +"A WEIGHTED_MAGLEV backend service is associated with a health check that is\nnot of type HTTP/HTTPS/HTTP2.", +"When deploying a deployment with a exceedingly large number of resources", +"Resource can't be retrieved due to list overhead quota exceed\nwhich captures the amount of resources filtered out by\nuser-defined list filter.", +"A resource depends on a missing type", +"The route's nextHopIp address is not assigned to an instance on the\nnetwork.", +"The route's next hop instance cannot ip forward.", +"The route's nextHopInstance URL refers to an instance that does not have an\nipv6 interface on the same network as the route.", +"The route's nextHopInstance URL refers to an instance that does not exist.", +"The route's nextHopInstance URL refers to an instance that is not on the\nsame network as the route.", +"The route's next hop instance does not have a status of RUNNING.", +"Error which is not critical. We decided to continue the process despite\nthe mentioned error.", +"No results are present on a particular list page.", +"Success is reported, but some results may be missing due to errors", +"Quota information is not available to client requests (e.g:\nregions.list).", +"The user attempted to use a resource that requires a TOS they have not\naccepted.", +"Warning that a resource is in use.", +"One or more of the resources set to auto-delete could not be deleted\nbecause they were in use.", +"When a resource schema validation is ignored.", +"Instance template used in instance group manager is valid as such, but\nits application does not make a lot of sense, because it allows only\nsingle instance in instance group.", +"When undeclared properties in the schema are present", +"A given scope cannot be reached." +], +"type": "string" +}, +"data": { +"description": "[Output Only] Metadata about this warning in key:\nvalue format. For example:\n\n\"data\": [\n {\n \"key\": \"scope\",\n \"value\": \"zones/us-east1-d\"\n }", +"items": { +"properties": { +"key": { +"description": "[Output Only] A key that provides more detail on the warning being\nreturned. For example, for warnings where there are no results in a list\nrequest for a particular zone, this key might be scope and\nthe key value might be the zone name. Other examples might be a key\nindicating a deprecated resource and a suggested replacement, or a\nwarning about invalid network settings (for example, if an instance\nattempts to perform IP forwarding but is not enabled for IP forwarding).", +"type": "string" +}, +"value": { +"description": "[Output Only] A warning data value corresponding to the key.", +"type": "string" +} +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "[Output Only] A human-readable description of the warning code.", +"type": "string" +} +}, +"type": "object" +} +}, +"type": "object" +}, +"PublicDelegatedPrefixList": { +"id": "PublicDelegatedPrefixList", +"properties": { +"id": { +"description": "[Output Only] Unique identifier for the resource; defined by the server.", +"type": "string" +}, +"items": { +"description": "A list of PublicDelegatedPrefix resources.", +"items": { +"$ref": "PublicDelegatedPrefix" +}, +"type": "array" +}, +"kind": { +"default": "compute#publicDelegatedPrefixList", +"description": "Output only. [Output Only] Type of the resource. Alwayscompute#publicDelegatedPrefixList for public delegated\nprefixes.", +"readOnly": true, +"type": "string" +}, +"nextPageToken": { +"description": "[Output Only] This token allows you to get the next page of results for\nlist requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for\nthe query parameter pageToken in the next list request.\nSubsequent list requests will have their own nextPageToken to\ncontinue paging through the results.", +"type": "string" +}, +"selfLink": { +"description": "[Output Only] Server-defined URL for this resource.", +"type": "string" +}, +"warning": { +"description": "[Output Only] Informational warning message.", +"properties": { +"code": { +"description": "[Output Only] A warning code, if applicable. For example, Compute\nEngine returns NO_RESULTS_ON_PAGE if there\nare no results in the response.", +"enum": [ +"CLEANUP_FAILED", +"DEPRECATED_RESOURCE_USED", +"DEPRECATED_TYPE_USED", +"DISK_SIZE_LARGER_THAN_IMAGE_SIZE", +"EXPERIMENTAL_TYPE_USED", +"EXTERNAL_API_WARNING", +"FIELD_VALUE_OVERRIDEN", +"INJECTED_KERNELS_DEPRECATED", +"INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", +"LARGE_DEPLOYMENT_WARNING", +"LIST_OVERHEAD_QUOTA_EXCEED", +"MISSING_TYPE_DEPENDENCY", +"NEXT_HOP_ADDRESS_NOT_ASSIGNED", +"NEXT_HOP_CANNOT_IP_FORWARD", +"NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", +"NEXT_HOP_INSTANCE_NOT_FOUND", +"NEXT_HOP_INSTANCE_NOT_ON_NETWORK", +"NEXT_HOP_NOT_RUNNING", +"NOT_CRITICAL_ERROR", +"NO_RESULTS_ON_PAGE", +"PARTIAL_SUCCESS", +"QUOTA_INFO_UNAVAILABLE", +"REQUIRED_TOS_AGREEMENT", +"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", +"RESOURCE_NOT_DELETED", +"SCHEMA_VALIDATION_IGNORED", +"SINGLE_INSTANCE_PROPERTY_TEMPLATE", +"UNDECLARED_PROPERTIES", +"UNREACHABLE" +], +"enumDeprecated": [ +false, +false, +false, +false, +false, +false, +true, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false +], +"enumDescriptions": [ +"Warning about failed cleanup of transient changes made by a failed\noperation.", +"A link to a deprecated resource was created.", +"When deploying and at least one of the resources has a type marked as\ndeprecated", +"The user created a boot disk that is larger than image size.", +"When deploying and at least one of the resources has a type marked as\nexperimental", +"Warning that is present in an external api call", +"Warning that value of a field has been overridden.\nDeprecated unused field.", +"The operation involved use of an injected kernel, which is deprecated.", +"A WEIGHTED_MAGLEV backend service is associated with a health check that is\nnot of type HTTP/HTTPS/HTTP2.", +"When deploying a deployment with a exceedingly large number of resources", +"Resource can't be retrieved due to list overhead quota exceed\nwhich captures the amount of resources filtered out by\nuser-defined list filter.", +"A resource depends on a missing type", +"The route's nextHopIp address is not assigned to an instance on the\nnetwork.", +"The route's next hop instance cannot ip forward.", +"The route's nextHopInstance URL refers to an instance that does not have an\nipv6 interface on the same network as the route.", +"The route's nextHopInstance URL refers to an instance that does not exist.", +"The route's nextHopInstance URL refers to an instance that is not on the\nsame network as the route.", +"The route's next hop instance does not have a status of RUNNING.", +"Error which is not critical. We decided to continue the process despite\nthe mentioned error.", +"No results are present on a particular list page.", +"Success is reported, but some results may be missing due to errors", +"Quota information is not available to client requests (e.g:\nregions.list).", +"The user attempted to use a resource that requires a TOS they have not\naccepted.", +"Warning that a resource is in use.", +"One or more of the resources set to auto-delete could not be deleted\nbecause they were in use.", +"When a resource schema validation is ignored.", +"Instance template used in instance group manager is valid as such, but\nits application does not make a lot of sense, because it allows only\nsingle instance in instance group.", +"When undeclared properties in the schema are present", +"A given scope cannot be reached." +], +"type": "string" +}, +"data": { +"description": "[Output Only] Metadata about this warning in key:\nvalue format. For example:\n\n\"data\": [\n {\n \"key\": \"scope\",\n \"value\": \"zones/us-east1-d\"\n }", +"items": { +"properties": { +"key": { +"description": "[Output Only] A key that provides more detail on the warning being\nreturned. For example, for warnings where there are no results in a list\nrequest for a particular zone, this key might be scope and\nthe key value might be the zone name. Other examples might be a key\nindicating a deprecated resource and a suggested replacement, or a\nwarning about invalid network settings (for example, if an instance\nattempts to perform IP forwarding but is not enabled for IP forwarding).", +"type": "string" +}, +"value": { +"description": "[Output Only] A warning data value corresponding to the key.", +"type": "string" +} +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "[Output Only] A human-readable description of the warning code.", +"type": "string" +} +}, +"type": "object" +} +}, +"type": "object" +}, +"PublicDelegatedPrefixPublicDelegatedSubPrefix": { +"description": "Represents a sub PublicDelegatedPrefix.", +"id": "PublicDelegatedPrefixPublicDelegatedSubPrefix", +"properties": { +"allocatablePrefixLength": { +"description": "The allocatable prefix length supported by this PublicDelegatedSubPrefix.", +"format": "int32", +"type": "integer" +}, +"delegateeProject": { +"description": "Name of the project scoping this PublicDelegatedSubPrefix.", +"type": "string" +}, +"description": { +"description": "An optional description of this resource. Provide this property when you\ncreate the resource.", +"type": "string" +}, +"enableEnhancedIpv4Allocation": { +"description": "Output only. [Output Only] Whether this PDP supports enhanced IPv4 allocations.\nApplicable for IPv4 PDPs only.", +"readOnly": true, +"type": "boolean" +}, +"ipCidrRange": { +"description": "The IP address range, in CIDR format, represented by this sub public\ndelegated prefix.", +"type": "string" +}, +"ipv6AccessType": { +"description": "Output only. [Output Only] The internet access type for IPv6 Public Delegated Sub\nPrefixes. Inherited from parent prefix.", +"enum": [ +"EXTERNAL", +"INTERNAL" +], +"enumDescriptions": [ +"The parent public advertised prefix will be announced to the internet.\nAll children public delegated prefixes will have IPv6 access type as\nEXTERNAL.", +"The parent public advertised prefix will not be announced to the\ninternet. Prefix will be used privately within Cloud. All children\npublic delegated prefixes will have IPv6 access type as INTERNAL." +], +"readOnly": true, +"type": "string" +}, +"isAddress": { +"description": "Whether the sub prefix is delegated to create Address resources in the\ndelegatee project.", +"type": "boolean" +}, +"mode": { +"description": "The PublicDelegatedSubPrefix mode for IPv6 only.", +"enum": [ +"DELEGATION", +"EXTERNAL_IPV6_FORWARDING_RULE_CREATION", +"EXTERNAL_IPV6_SUBNETWORK_CREATION", +"INTERNAL_IPV6_SUBNETWORK_CREATION" +], +"enumDescriptions": [ +"The public delegated prefix is used for further sub-delegation only. Such\nprefixes cannot set allocatablePrefixLength.", +"The public delegated prefix is used for creating forwarding rules only.\nSuch prefixes cannot set publicDelegatedSubPrefixes. Parent public\ndelegated prefix must have IPv6 access type as EXTERNAL.", +"The public delegated prefix is used for creating dual-mode subnetworks\nonly. Such prefixes cannot set publicDelegatedSubPrefixes. Parent public\ndelegated prefix must have IPv6 access type as EXTERNAL.", +"The public delegated prefix is used for creating dual stack or IPv6-only\nsubnetwork with internal access only. Such prefixes cannot set\npublicDelegatedSubPrefixes and allocatablePrefixLength. Parent public\ndelegated prefix must have IPv6 access type as INTERNAL." +], +"type": "string" +}, +"name": { +"description": "The name of the sub public delegated prefix.", +"type": "string" +}, +"region": { +"description": "Output only. [Output Only] The region of the sub public delegated prefix if it is\nregional. If absent, the sub prefix is global.", +"readOnly": true, +"type": "string" +}, +"status": { +"description": "Output only. [Output Only] The status of the sub public delegated prefix.", +"enum": [ +"ACTIVE", +"INACTIVE" +], +"enumDescriptions": [ +"", +"" +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"PublicDelegatedPrefixesScopedList": { +"id": "PublicDelegatedPrefixesScopedList", +"properties": { +"publicDelegatedPrefixes": { +"description": "[Output Only] A list of PublicDelegatedPrefixes contained in this scope.", +"items": { +"$ref": "PublicDelegatedPrefix" +}, +"type": "array" +}, +"warning": { +"description": "[Output Only] Informational warning which replaces the list of\npublic delegated prefixes when the list is empty.", +"properties": { +"code": { +"description": "[Output Only] A warning code, if applicable. For example, Compute\nEngine returns NO_RESULTS_ON_PAGE if there\nare no results in the response.", +"enum": [ +"CLEANUP_FAILED", +"DEPRECATED_RESOURCE_USED", +"DEPRECATED_TYPE_USED", +"DISK_SIZE_LARGER_THAN_IMAGE_SIZE", +"EXPERIMENTAL_TYPE_USED", +"EXTERNAL_API_WARNING", +"FIELD_VALUE_OVERRIDEN", +"INJECTED_KERNELS_DEPRECATED", +"INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", +"LARGE_DEPLOYMENT_WARNING", +"LIST_OVERHEAD_QUOTA_EXCEED", +"MISSING_TYPE_DEPENDENCY", +"NEXT_HOP_ADDRESS_NOT_ASSIGNED", +"NEXT_HOP_CANNOT_IP_FORWARD", +"NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", +"NEXT_HOP_INSTANCE_NOT_FOUND", +"NEXT_HOP_INSTANCE_NOT_ON_NETWORK", +"NEXT_HOP_NOT_RUNNING", +"NOT_CRITICAL_ERROR", +"NO_RESULTS_ON_PAGE", +"PARTIAL_SUCCESS", +"QUOTA_INFO_UNAVAILABLE", +"REQUIRED_TOS_AGREEMENT", +"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", +"RESOURCE_NOT_DELETED", +"SCHEMA_VALIDATION_IGNORED", +"SINGLE_INSTANCE_PROPERTY_TEMPLATE", +"UNDECLARED_PROPERTIES", +"UNREACHABLE" +], +"enumDeprecated": [ +false, +false, +false, +false, +false, +false, +true, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false +], +"enumDescriptions": [ +"Warning about failed cleanup of transient changes made by a failed\noperation.", +"A link to a deprecated resource was created.", +"When deploying and at least one of the resources has a type marked as\ndeprecated", +"The user created a boot disk that is larger than image size.", +"When deploying and at least one of the resources has a type marked as\nexperimental", +"Warning that is present in an external api call", +"Warning that value of a field has been overridden.\nDeprecated unused field.", +"The operation involved use of an injected kernel, which is deprecated.", +"A WEIGHTED_MAGLEV backend service is associated with a health check that is\nnot of type HTTP/HTTPS/HTTP2.", +"When deploying a deployment with a exceedingly large number of resources", +"Resource can't be retrieved due to list overhead quota exceed\nwhich captures the amount of resources filtered out by\nuser-defined list filter.", +"A resource depends on a missing type", +"The route's nextHopIp address is not assigned to an instance on the\nnetwork.", +"The route's next hop instance cannot ip forward.", +"The route's nextHopInstance URL refers to an instance that does not have an\nipv6 interface on the same network as the route.", +"The route's nextHopInstance URL refers to an instance that does not exist.", +"The route's nextHopInstance URL refers to an instance that is not on the\nsame network as the route.", +"The route's next hop instance does not have a status of RUNNING.", +"Error which is not critical. We decided to continue the process despite\nthe mentioned error.", +"No results are present on a particular list page.", +"Success is reported, but some results may be missing due to errors", +"Quota information is not available to client requests (e.g:\nregions.list).", +"The user attempted to use a resource that requires a TOS they have not\naccepted.", +"Warning that a resource is in use.", +"One or more of the resources set to auto-delete could not be deleted\nbecause they were in use.", +"When a resource schema validation is ignored.", +"Instance template used in instance group manager is valid as such, but\nits application does not make a lot of sense, because it allows only\nsingle instance in instance group.", +"When undeclared properties in the schema are present", +"A given scope cannot be reached." +], +"type": "string" +}, +"data": { +"description": "[Output Only] Metadata about this warning in key:\nvalue format. For example:\n\n\"data\": [\n {\n \"key\": \"scope\",\n \"value\": \"zones/us-east1-d\"\n }", +"items": { +"properties": { +"key": { +"description": "[Output Only] A key that provides more detail on the warning being\nreturned. For example, for warnings where there are no results in a list\nrequest for a particular zone, this key might be scope and\nthe key value might be the zone name. Other examples might be a key\nindicating a deprecated resource and a suggested replacement, or a\nwarning about invalid network settings (for example, if an instance\nattempts to perform IP forwarding but is not enabled for IP forwarding).", +"type": "string" +}, +"value": { +"description": "[Output Only] A warning data value corresponding to the key.", +"type": "string" +} +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "[Output Only] A human-readable description of the warning code.", +"type": "string" +} +}, +"type": "object" +} +}, +"type": "object" +}, +"Quota": { +"description": "A quotas entry.", +"id": "Quota", +"properties": { +"limit": { +"description": "[Output Only] Quota limit for this metric.", +"format": "double", +"type": "number" +}, +"metric": { +"description": "[Output Only] Name of the quota metric.", +"enum": [ +"A2_CPUS", +"AFFINITY_GROUPS", +"AUTOSCALERS", +"BACKEND_BUCKETS", +"BACKEND_SERVICES", +"C2D_CPUS", +"C2_CPUS", +"C3_CPUS", +"COMMITMENTS", +"COMMITTED_A2_CPUS", +"COMMITTED_C2D_CPUS", +"COMMITTED_C2_CPUS", +"COMMITTED_C3_CPUS", +"COMMITTED_CPUS", +"COMMITTED_E2_CPUS", +"COMMITTED_LICENSES", +"COMMITTED_LOCAL_SSD_TOTAL_GB", +"COMMITTED_M3_CPUS", +"COMMITTED_MEMORY_OPTIMIZED_CPUS", +"COMMITTED_N2A_CPUS", +"COMMITTED_N2D_CPUS", +"COMMITTED_N2_CPUS", +"COMMITTED_NVIDIA_A100_80GB_GPUS", +"COMMITTED_NVIDIA_A100_GPUS", +"COMMITTED_NVIDIA_H100_GPUS", +"COMMITTED_NVIDIA_K80_GPUS", +"COMMITTED_NVIDIA_L4_GPUS", +"COMMITTED_NVIDIA_P100_GPUS", +"COMMITTED_NVIDIA_P4_GPUS", +"COMMITTED_NVIDIA_T4_GPUS", +"COMMITTED_NVIDIA_V100_GPUS", +"COMMITTED_T2A_CPUS", +"COMMITTED_T2D_CPUS", +"COMMITTED_Z3_CPUS", +"CPUS", +"CPUS_ALL_REGIONS", +"DISKS_TOTAL_GB", +"E2_CPUS", +"EXTERNAL_MANAGED_FORWARDING_RULES", +"EXTERNAL_NETWORK_LB_FORWARDING_RULES", +"EXTERNAL_PROTOCOL_FORWARDING_RULES", +"EXTERNAL_VPN_GATEWAYS", +"FIREWALLS", +"FORWARDING_RULES", +"GLOBAL_EXTERNAL_MANAGED_BACKEND_SERVICES", +"GLOBAL_EXTERNAL_MANAGED_FORWARDING_RULES", +"GLOBAL_EXTERNAL_PROXY_LB_BACKEND_SERVICES", +"GLOBAL_INTERNAL_ADDRESSES", +"GLOBAL_INTERNAL_MANAGED_BACKEND_SERVICES", +"GLOBAL_INTERNAL_TRAFFIC_DIRECTOR_BACKEND_SERVICES", +"GPUS_ALL_REGIONS", +"HDB_TOTAL_GB", +"HDB_TOTAL_IOPS", +"HDB_TOTAL_THROUGHPUT", +"HEALTH_CHECKS", +"IMAGES", +"INSTANCES", +"INSTANCE_GROUPS", +"INSTANCE_GROUP_MANAGERS", +"INSTANCE_TEMPLATES", +"INTERCONNECTS", +"INTERCONNECT_ATTACHMENTS_PER_REGION", +"INTERCONNECT_ATTACHMENTS_TOTAL_MBPS", +"INTERCONNECT_TOTAL_GBPS", +"INTERNAL_ADDRESSES", +"INTERNAL_TRAFFIC_DIRECTOR_FORWARDING_RULES", +"IN_PLACE_SNAPSHOTS", +"IN_USE_ADDRESSES", +"IN_USE_BACKUP_SCHEDULES", +"IN_USE_SNAPSHOT_SCHEDULES", +"LOCAL_SSD_TOTAL_GB", +"M1_CPUS", +"M2_CPUS", +"M3_CPUS", +"MACHINE_IMAGES", +"N2A_CPUS", +"N2D_CPUS", +"N2_CPUS", +"NETWORKS", +"NETWORK_ATTACHMENTS", +"NETWORK_ENDPOINT_GROUPS", +"NETWORK_FIREWALL_POLICIES", +"NET_LB_SECURITY_POLICIES_PER_REGION", +"NET_LB_SECURITY_POLICY_RULES_PER_REGION", +"NET_LB_SECURITY_POLICY_RULE_ATTRIBUTES_PER_REGION", +"NODE_GROUPS", +"NODE_TEMPLATES", +"NVIDIA_A100_80GB_GPUS", +"NVIDIA_A100_GPUS", +"NVIDIA_K80_GPUS", +"NVIDIA_L4_GPUS", +"NVIDIA_P100_GPUS", +"NVIDIA_P100_VWS_GPUS", +"NVIDIA_P4_GPUS", +"NVIDIA_P4_VWS_GPUS", +"NVIDIA_T4_GPUS", +"NVIDIA_T4_VWS_GPUS", +"NVIDIA_V100_GPUS", +"PACKET_MIRRORINGS", +"PD_EXTREME_TOTAL_PROVISIONED_IOPS", +"PREEMPTIBLE_CPUS", +"PREEMPTIBLE_LOCAL_SSD_GB", +"PREEMPTIBLE_NVIDIA_A100_80GB_GPUS", +"PREEMPTIBLE_NVIDIA_A100_GPUS", +"PREEMPTIBLE_NVIDIA_H100_GPUS", +"PREEMPTIBLE_NVIDIA_K80_GPUS", +"PREEMPTIBLE_NVIDIA_L4_GPUS", +"PREEMPTIBLE_NVIDIA_P100_GPUS", +"PREEMPTIBLE_NVIDIA_P100_VWS_GPUS", +"PREEMPTIBLE_NVIDIA_P4_GPUS", +"PREEMPTIBLE_NVIDIA_P4_VWS_GPUS", +"PREEMPTIBLE_NVIDIA_T4_GPUS", +"PREEMPTIBLE_NVIDIA_T4_VWS_GPUS", +"PREEMPTIBLE_NVIDIA_V100_GPUS", +"PREEMPTIBLE_TPU_LITE_DEVICE_V5", +"PREEMPTIBLE_TPU_LITE_PODSLICE_V5", +"PREEMPTIBLE_TPU_PODSLICE_V4", +"PRIVATE_V6_ACCESS_SUBNETWORKS", +"PSC_ILB_CONSUMER_FORWARDING_RULES_PER_PRODUCER_NETWORK", +"PSC_INTERNAL_LB_FORWARDING_RULES", +"PUBLIC_ADVERTISED_PREFIXES", +"PUBLIC_DELEGATED_PREFIXES", +"REGIONAL_AUTOSCALERS", +"REGIONAL_EXTERNAL_MANAGED_BACKEND_SERVICES", +"REGIONAL_EXTERNAL_NETWORK_LB_BACKEND_SERVICES", +"REGIONAL_INSTANCE_GROUP_MANAGERS", +"REGIONAL_INTERNAL_LB_BACKEND_SERVICES", +"REGIONAL_INTERNAL_MANAGED_BACKEND_SERVICES", +"REGIONAL_INTERNAL_TRAFFIC_DIRECTOR_BACKEND_SERVICES", +"RESERVATIONS", +"RESOURCE_POLICIES", +"ROUTERS", +"ROUTES", +"SECURITY_POLICIES", +"SECURITY_POLICIES_PER_REGION", +"SECURITY_POLICY_ADVANCED_RULES_PER_REGION", +"SECURITY_POLICY_CEVAL_RULES", +"SECURITY_POLICY_RULES", +"SECURITY_POLICY_RULES_PER_REGION", +"SERVICE_ATTACHMENTS", +"SNAPSHOTS", +"SSD_TOTAL_GB", +"SSL_CERTIFICATES", +"SSL_POLICIES", +"STATIC_ADDRESSES", +"STATIC_BYOIP_ADDRESSES", +"STATIC_EXTERNAL_IPV6_ADDRESS_RANGES", +"SUBNETWORKS", +"T2A_CPUS", +"T2D_CPUS", +"TARGET_HTTPS_PROXIES", +"TARGET_HTTP_PROXIES", +"TARGET_INSTANCES", +"TARGET_POOLS", +"TARGET_SSL_PROXIES", +"TARGET_TCP_PROXIES", +"TARGET_VPN_GATEWAYS", +"TPU_LITE_DEVICE_V5", +"TPU_LITE_PODSLICE_V5", +"TPU_PODSLICE_V4", +"URL_MAPS", +"VARIABLE_IPV6_PUBLIC_DELEGATED_PREFIXES", +"VPN_GATEWAYS", +"VPN_TUNNELS", +"XPN_SERVICE_PROJECTS" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"Guest CPUs", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"The total number of snapshots allowed for a single project.", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"" +], +"type": "string" +}, +"owner": { +"description": "[Output Only] Owning resource. This is the resource on which this quota\nis applied.", +"type": "string" +}, +"usage": { +"description": "[Output Only] Current usage of this metric.", +"format": "double", +"type": "number" +} +}, +"type": "object" +}, +"QuotaExceededInfo": { +"description": "Additional details for quota exceeded error for resource quota.", +"id": "QuotaExceededInfo", +"properties": { +"dimensions": { +"additionalProperties": { +"type": "string" +}, +"description": "The map holding related quota dimensions.", +"type": "object" +}, +"futureLimit": { +"description": "Future quota limit being rolled out. The limit's unit depends on the quota\n type or metric.", +"format": "double", +"type": "number" +}, +"limit": { +"description": "Current effective quota limit. The limit's unit depends on the quota type\nor metric.", +"format": "double", +"type": "number" +}, +"limitName": { +"description": "The name of the quota limit.", +"type": "string" +}, +"metricName": { +"description": "The Compute Engine quota metric name.", +"type": "string" +}, +"rolloutStatus": { +"description": "Rollout status of the future quota limit.", +"enum": [ +"IN_PROGRESS", +"ROLLOUT_STATUS_UNSPECIFIED" +], +"enumDescriptions": [ +"IN_PROGRESS - A rollout is in process which will change the limit value\nto future limit.", +"ROLLOUT_STATUS_UNSPECIFIED - Rollout status is not specified. The default\nvalue." +], +"type": "string" +} +}, +"type": "object" +}, +"Reference": { +"description": "Represents a reference to a resource.", +"id": "Reference", +"properties": { +"kind": { +"default": "compute#reference", +"description": "Output only. [Output Only] Type of the resource. Always compute#reference\nfor references.", +"readOnly": true, +"type": "string" +}, +"referenceType": { +"description": "A description of the reference type with no implied semantics. Possible\nvalues include:\n \n \n 1. MEMBER_OF", +"type": "string" +}, +"referrer": { +"description": "URL of the resource which refers to the target.", +"type": "string" +}, +"target": { +"description": "URL of the resource to which this reference points.", +"type": "string" +} +}, +"type": "object" +}, +"Region": { +"description": "Represents a Region resource.\n\nA region is a geographical area where a resource is located. For more\ninformation, readRegions\nand Zones.", +"id": "Region", +"properties": { +"creationTimestamp": { +"description": "[Output Only] Creation timestamp inRFC3339\ntext format.", +"type": "string" +}, +"deprecated": { +"$ref": "DeprecationStatus", +"description": "[Output Only] The deprecation status associated with this region." +}, +"description": { +"description": "[Output Only] Textual description of the resource.", +"type": "string" +}, +"id": { +"description": "[Output Only] The unique identifier for the resource. This identifier is\ndefined by the server.", +"format": "uint64", +"type": "string" +}, +"kind": { +"default": "compute#region", +"description": "Output only. [Output Only] Type of the resource. Always compute#region for\nregions.", +"readOnly": true, +"type": "string" +}, +"name": { +"description": "[Output Only] Name of the resource.", +"type": "string" +}, +"quotaStatusWarning": { +"description": "Output only. [Output Only] Warning of fetching the `quotas` field for this region. This\nfield is populated only if fetching of the `quotas` field fails.", +"properties": { +"code": { +"description": "[Output Only] A warning code, if applicable. For example, Compute\nEngine returns NO_RESULTS_ON_PAGE if there\nare no results in the response.", +"enum": [ +"CLEANUP_FAILED", +"DEPRECATED_RESOURCE_USED", +"DEPRECATED_TYPE_USED", +"DISK_SIZE_LARGER_THAN_IMAGE_SIZE", +"EXPERIMENTAL_TYPE_USED", +"EXTERNAL_API_WARNING", +"FIELD_VALUE_OVERRIDEN", +"INJECTED_KERNELS_DEPRECATED", +"INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", +"LARGE_DEPLOYMENT_WARNING", +"LIST_OVERHEAD_QUOTA_EXCEED", +"MISSING_TYPE_DEPENDENCY", +"NEXT_HOP_ADDRESS_NOT_ASSIGNED", +"NEXT_HOP_CANNOT_IP_FORWARD", +"NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", +"NEXT_HOP_INSTANCE_NOT_FOUND", +"NEXT_HOP_INSTANCE_NOT_ON_NETWORK", +"NEXT_HOP_NOT_RUNNING", +"NOT_CRITICAL_ERROR", +"NO_RESULTS_ON_PAGE", +"PARTIAL_SUCCESS", +"QUOTA_INFO_UNAVAILABLE", +"REQUIRED_TOS_AGREEMENT", +"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", +"RESOURCE_NOT_DELETED", +"SCHEMA_VALIDATION_IGNORED", +"SINGLE_INSTANCE_PROPERTY_TEMPLATE", +"UNDECLARED_PROPERTIES", +"UNREACHABLE" +], +"enumDeprecated": [ +false, +false, +false, +false, +false, +false, +true, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false +], +"enumDescriptions": [ +"Warning about failed cleanup of transient changes made by a failed\noperation.", +"A link to a deprecated resource was created.", +"When deploying and at least one of the resources has a type marked as\ndeprecated", +"The user created a boot disk that is larger than image size.", +"When deploying and at least one of the resources has a type marked as\nexperimental", +"Warning that is present in an external api call", +"Warning that value of a field has been overridden.\nDeprecated unused field.", +"The operation involved use of an injected kernel, which is deprecated.", +"A WEIGHTED_MAGLEV backend service is associated with a health check that is\nnot of type HTTP/HTTPS/HTTP2.", +"When deploying a deployment with a exceedingly large number of resources", +"Resource can't be retrieved due to list overhead quota exceed\nwhich captures the amount of resources filtered out by\nuser-defined list filter.", +"A resource depends on a missing type", +"The route's nextHopIp address is not assigned to an instance on the\nnetwork.", +"The route's next hop instance cannot ip forward.", +"The route's nextHopInstance URL refers to an instance that does not have an\nipv6 interface on the same network as the route.", +"The route's nextHopInstance URL refers to an instance that does not exist.", +"The route's nextHopInstance URL refers to an instance that is not on the\nsame network as the route.", +"The route's next hop instance does not have a status of RUNNING.", +"Error which is not critical. We decided to continue the process despite\nthe mentioned error.", +"No results are present on a particular list page.", +"Success is reported, but some results may be missing due to errors", +"Quota information is not available to client requests (e.g:\nregions.list).", +"The user attempted to use a resource that requires a TOS they have not\naccepted.", +"Warning that a resource is in use.", +"One or more of the resources set to auto-delete could not be deleted\nbecause they were in use.", +"When a resource schema validation is ignored.", +"Instance template used in instance group manager is valid as such, but\nits application does not make a lot of sense, because it allows only\nsingle instance in instance group.", +"When undeclared properties in the schema are present", +"A given scope cannot be reached." +], +"type": "string" +}, +"data": { +"description": "[Output Only] Metadata about this warning in key:\nvalue format. For example:\n\n\"data\": [\n {\n \"key\": \"scope\",\n \"value\": \"zones/us-east1-d\"\n }", +"items": { +"properties": { +"key": { +"description": "[Output Only] A key that provides more detail on the warning being\nreturned. For example, for warnings where there are no results in a list\nrequest for a particular zone, this key might be scope and\nthe key value might be the zone name. Other examples might be a key\nindicating a deprecated resource and a suggested replacement, or a\nwarning about invalid network settings (for example, if an instance\nattempts to perform IP forwarding but is not enabled for IP forwarding).", +"type": "string" +}, +"value": { +"description": "[Output Only] A warning data value corresponding to the key.", +"type": "string" +} +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "[Output Only] A human-readable description of the warning code.", +"type": "string" +} +}, +"readOnly": true, +"type": "object" +}, +"quotas": { +"description": "[Output Only] Quotas assigned to this region.", +"items": { +"$ref": "Quota" +}, +"type": "array" +}, +"selfLink": { +"description": "[Output Only] Server-defined URL for the resource.", +"type": "string" +}, +"status": { +"description": "[Output Only] Status of the region, either UP orDOWN.", +"enum": [ +"DOWN", +"UP" +], +"enumDescriptions": [ +"", +"" +], +"type": "string" +}, +"supportsPzs": { +"description": "Output only. [Output Only] Reserved for future use.", +"readOnly": true, +"type": "boolean" +}, +"zones": { +"description": "[Output Only] A list of zones available in this region, in the form of\nresource URLs.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"RegionAddressesMoveRequest": { +"id": "RegionAddressesMoveRequest", +"properties": { +"description": { +"description": "An optional destination address description if intended to be different\nfrom the source.", +"type": "string" +}, +"destinationAddress": { +"description": "The URL of the destination address to move to. This can be a full or\npartial URL. For example, the following are all valid URLs to a address:\n \n - https://www.googleapis.com/compute/v1/projects/project/regions/region/addresses/address \n - projects/project/regions/region/addresses/address\n\n\nNote that destination project must be different from the source project. So/regions/region/addresses/address is not valid partial url.", +"type": "string" +} +}, +"type": "object" +}, +"RegionAutoscalerList": { +"description": "Contains a list of autoscalers.", +"id": "RegionAutoscalerList", +"properties": { +"id": { +"description": "[Output Only] Unique identifier for the resource; defined by the server.", +"type": "string" +}, +"items": { +"description": "A list of Autoscaler resources.", +"items": { +"$ref": "Autoscaler" +}, +"type": "array" +}, +"kind": { +"default": "compute#regionAutoscalerList", +"description": "Output only. Type of resource.", +"readOnly": true, +"type": "string" +}, +"nextPageToken": { +"description": "[Output Only] This token allows you to get the next page of results for\nlist requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for\nthe query parameter pageToken in the next list request.\nSubsequent list requests will have their own nextPageToken to\ncontinue paging through the results.", +"type": "string" +}, +"selfLink": { +"description": "Output only. [Output Only] Server-defined URL for this resource.", +"readOnly": true, +"type": "string" +}, +"warning": { +"description": "[Output Only] Informational warning message.", +"properties": { +"code": { +"description": "[Output Only] A warning code, if applicable. For example, Compute\nEngine returns NO_RESULTS_ON_PAGE if there\nare no results in the response.", +"enum": [ +"CLEANUP_FAILED", +"DEPRECATED_RESOURCE_USED", +"DEPRECATED_TYPE_USED", +"DISK_SIZE_LARGER_THAN_IMAGE_SIZE", +"EXPERIMENTAL_TYPE_USED", +"EXTERNAL_API_WARNING", +"FIELD_VALUE_OVERRIDEN", +"INJECTED_KERNELS_DEPRECATED", +"INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", +"LARGE_DEPLOYMENT_WARNING", +"LIST_OVERHEAD_QUOTA_EXCEED", +"MISSING_TYPE_DEPENDENCY", +"NEXT_HOP_ADDRESS_NOT_ASSIGNED", +"NEXT_HOP_CANNOT_IP_FORWARD", +"NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", +"NEXT_HOP_INSTANCE_NOT_FOUND", +"NEXT_HOP_INSTANCE_NOT_ON_NETWORK", +"NEXT_HOP_NOT_RUNNING", +"NOT_CRITICAL_ERROR", +"NO_RESULTS_ON_PAGE", +"PARTIAL_SUCCESS", +"QUOTA_INFO_UNAVAILABLE", +"REQUIRED_TOS_AGREEMENT", +"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", +"RESOURCE_NOT_DELETED", +"SCHEMA_VALIDATION_IGNORED", +"SINGLE_INSTANCE_PROPERTY_TEMPLATE", +"UNDECLARED_PROPERTIES", +"UNREACHABLE" +], +"enumDeprecated": [ +false, +false, +false, +false, +false, +false, +true, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false +], +"enumDescriptions": [ +"Warning about failed cleanup of transient changes made by a failed\noperation.", +"A link to a deprecated resource was created.", +"When deploying and at least one of the resources has a type marked as\ndeprecated", +"The user created a boot disk that is larger than image size.", +"When deploying and at least one of the resources has a type marked as\nexperimental", +"Warning that is present in an external api call", +"Warning that value of a field has been overridden.\nDeprecated unused field.", +"The operation involved use of an injected kernel, which is deprecated.", +"A WEIGHTED_MAGLEV backend service is associated with a health check that is\nnot of type HTTP/HTTPS/HTTP2.", +"When deploying a deployment with a exceedingly large number of resources", +"Resource can't be retrieved due to list overhead quota exceed\nwhich captures the amount of resources filtered out by\nuser-defined list filter.", +"A resource depends on a missing type", +"The route's nextHopIp address is not assigned to an instance on the\nnetwork.", +"The route's next hop instance cannot ip forward.", +"The route's nextHopInstance URL refers to an instance that does not have an\nipv6 interface on the same network as the route.", +"The route's nextHopInstance URL refers to an instance that does not exist.", +"The route's nextHopInstance URL refers to an instance that is not on the\nsame network as the route.", +"The route's next hop instance does not have a status of RUNNING.", +"Error which is not critical. We decided to continue the process despite\nthe mentioned error.", +"No results are present on a particular list page.", +"Success is reported, but some results may be missing due to errors", +"Quota information is not available to client requests (e.g:\nregions.list).", +"The user attempted to use a resource that requires a TOS they have not\naccepted.", +"Warning that a resource is in use.", +"One or more of the resources set to auto-delete could not be deleted\nbecause they were in use.", +"When a resource schema validation is ignored.", +"Instance template used in instance group manager is valid as such, but\nits application does not make a lot of sense, because it allows only\nsingle instance in instance group.", +"When undeclared properties in the schema are present", +"A given scope cannot be reached." +], +"type": "string" +}, +"data": { +"description": "[Output Only] Metadata about this warning in key:\nvalue format. For example:\n\n\"data\": [\n {\n \"key\": \"scope\",\n \"value\": \"zones/us-east1-d\"\n }", +"items": { +"properties": { +"key": { +"description": "[Output Only] A key that provides more detail on the warning being\nreturned. For example, for warnings where there are no results in a list\nrequest for a particular zone, this key might be scope and\nthe key value might be the zone name. Other examples might be a key\nindicating a deprecated resource and a suggested replacement, or a\nwarning about invalid network settings (for example, if an instance\nattempts to perform IP forwarding but is not enabled for IP forwarding).", +"type": "string" +}, +"value": { +"description": "[Output Only] A warning data value corresponding to the key.", +"type": "string" +} +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "[Output Only] A human-readable description of the warning code.", +"type": "string" +} +}, +"type": "object" +} +}, +"type": "object" +}, +"RegionCommitmentsUpdateReservationsRequest": { +"id": "RegionCommitmentsUpdateReservationsRequest", +"properties": { +"reservations": { +"description": "A list of two reservations to transfer GPUs and Local SSD disks between.", +"items": { +"$ref": "Reservation" +}, +"type": "array" +} +}, +"type": "object" +}, +"RegionDiskTypeList": { +"id": "RegionDiskTypeList", +"properties": { +"id": { +"description": "[Output Only] Unique identifier for the resource; defined by the server.", +"type": "string" +}, +"items": { +"description": "A list of DiskType resources.", +"items": { +"$ref": "DiskType" +}, +"type": "array" +}, +"kind": { +"default": "compute#regionDiskTypeList", +"description": "Output only. [Output Only] Type of resource. Alwayscompute#regionDiskTypeList for region disk types.", +"readOnly": true, +"type": "string" +}, +"nextPageToken": { +"description": "[Output Only] This token allows you to get the next page of results for\nlist requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for\nthe query parameter pageToken in the next list request.\nSubsequent list requests will have their own nextPageToken to\ncontinue paging through the results.", +"type": "string" +}, +"selfLink": { +"description": "Output only. [Output Only] Server-defined URL for this resource.", +"readOnly": true, +"type": "string" +}, +"warning": { +"description": "[Output Only] Informational warning message.", +"properties": { +"code": { +"description": "[Output Only] A warning code, if applicable. For example, Compute\nEngine returns NO_RESULTS_ON_PAGE if there\nare no results in the response.", +"enum": [ +"CLEANUP_FAILED", +"DEPRECATED_RESOURCE_USED", +"DEPRECATED_TYPE_USED", +"DISK_SIZE_LARGER_THAN_IMAGE_SIZE", +"EXPERIMENTAL_TYPE_USED", +"EXTERNAL_API_WARNING", +"FIELD_VALUE_OVERRIDEN", +"INJECTED_KERNELS_DEPRECATED", +"INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", +"LARGE_DEPLOYMENT_WARNING", +"LIST_OVERHEAD_QUOTA_EXCEED", +"MISSING_TYPE_DEPENDENCY", +"NEXT_HOP_ADDRESS_NOT_ASSIGNED", +"NEXT_HOP_CANNOT_IP_FORWARD", +"NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", +"NEXT_HOP_INSTANCE_NOT_FOUND", +"NEXT_HOP_INSTANCE_NOT_ON_NETWORK", +"NEXT_HOP_NOT_RUNNING", +"NOT_CRITICAL_ERROR", +"NO_RESULTS_ON_PAGE", +"PARTIAL_SUCCESS", +"QUOTA_INFO_UNAVAILABLE", +"REQUIRED_TOS_AGREEMENT", +"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", +"RESOURCE_NOT_DELETED", +"SCHEMA_VALIDATION_IGNORED", +"SINGLE_INSTANCE_PROPERTY_TEMPLATE", +"UNDECLARED_PROPERTIES", +"UNREACHABLE" +], +"enumDeprecated": [ +false, +false, +false, +false, +false, +false, +true, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false +], +"enumDescriptions": [ +"Warning about failed cleanup of transient changes made by a failed\noperation.", +"A link to a deprecated resource was created.", +"When deploying and at least one of the resources has a type marked as\ndeprecated", +"The user created a boot disk that is larger than image size.", +"When deploying and at least one of the resources has a type marked as\nexperimental", +"Warning that is present in an external api call", +"Warning that value of a field has been overridden.\nDeprecated unused field.", +"The operation involved use of an injected kernel, which is deprecated.", +"A WEIGHTED_MAGLEV backend service is associated with a health check that is\nnot of type HTTP/HTTPS/HTTP2.", +"When deploying a deployment with a exceedingly large number of resources", +"Resource can't be retrieved due to list overhead quota exceed\nwhich captures the amount of resources filtered out by\nuser-defined list filter.", +"A resource depends on a missing type", +"The route's nextHopIp address is not assigned to an instance on the\nnetwork.", +"The route's next hop instance cannot ip forward.", +"The route's nextHopInstance URL refers to an instance that does not have an\nipv6 interface on the same network as the route.", +"The route's nextHopInstance URL refers to an instance that does not exist.", +"The route's nextHopInstance URL refers to an instance that is not on the\nsame network as the route.", +"The route's next hop instance does not have a status of RUNNING.", +"Error which is not critical. We decided to continue the process despite\nthe mentioned error.", +"No results are present on a particular list page.", +"Success is reported, but some results may be missing due to errors", +"Quota information is not available to client requests (e.g:\nregions.list).", +"The user attempted to use a resource that requires a TOS they have not\naccepted.", +"Warning that a resource is in use.", +"One or more of the resources set to auto-delete could not be deleted\nbecause they were in use.", +"When a resource schema validation is ignored.", +"Instance template used in instance group manager is valid as such, but\nits application does not make a lot of sense, because it allows only\nsingle instance in instance group.", +"When undeclared properties in the schema are present", +"A given scope cannot be reached." +], +"type": "string" +}, +"data": { +"description": "[Output Only] Metadata about this warning in key:\nvalue format. For example:\n\n\"data\": [\n {\n \"key\": \"scope\",\n \"value\": \"zones/us-east1-d\"\n }", +"items": { +"properties": { +"key": { +"description": "[Output Only] A key that provides more detail on the warning being\nreturned. For example, for warnings where there are no results in a list\nrequest for a particular zone, this key might be scope and\nthe key value might be the zone name. Other examples might be a key\nindicating a deprecated resource and a suggested replacement, or a\nwarning about invalid network settings (for example, if an instance\nattempts to perform IP forwarding but is not enabled for IP forwarding).", +"type": "string" +}, +"value": { +"description": "[Output Only] A warning data value corresponding to the key.", +"type": "string" +} +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "[Output Only] A human-readable description of the warning code.", +"type": "string" +} +}, +"type": "object" +} +}, +"type": "object" +}, +"RegionDisksAddResourcePoliciesRequest": { +"id": "RegionDisksAddResourcePoliciesRequest", +"properties": { +"resourcePolicies": { +"description": "Resource policies to be added to this disk.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"RegionDisksRemoveResourcePoliciesRequest": { +"id": "RegionDisksRemoveResourcePoliciesRequest", +"properties": { +"resourcePolicies": { +"description": "Resource policies to be removed from this disk.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"RegionDisksResizeRequest": { +"id": "RegionDisksResizeRequest", +"properties": { +"sizeGb": { +"description": "The new size of the regional persistent disk, which is specified in GB.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"RegionDisksStartAsyncReplicationRequest": { +"id": "RegionDisksStartAsyncReplicationRequest", +"properties": { +"asyncSecondaryDisk": { +"description": "The secondary disk to start asynchronous replication to.\nYou can provide this as a partial or full URL to the resource. For example,\nthe following are valid values:\n \n \n - \n https://www.googleapis.com/compute/v1/projects/project/zones/zone/disks/disk\n \n - \n https://www.googleapis.com/compute/v1/projects/project/regions/region/disks/disk\n \n - \n projects/project/zones/zone/disks/disk\n \n - \n projects/project/regions/region/disks/disk\n \n - \n zones/zone/disks/disk\n \n - \n regions/region/disks/disk", +"type": "string" +} +}, +"type": "object" +}, +"RegionInstanceGroupList": { +"description": "Contains a list of InstanceGroup resources.", +"id": "RegionInstanceGroupList", +"properties": { +"id": { +"description": "Output only. [Output Only] Unique identifier for the resource; defined by the server.", +"readOnly": true, +"type": "string" +}, +"items": { +"description": "A list of InstanceGroup resources.", +"items": { +"$ref": "InstanceGroup" +}, +"type": "array" +}, +"kind": { +"default": "compute#regionInstanceGroupList", +"description": "Output only. The resource type.", +"readOnly": true, +"type": "string" +}, +"nextPageToken": { +"description": "Output only. [Output Only] This token allows you to get the next page of results for\nlist requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for\nthe query parameter pageToken in the next list request.\nSubsequent list requests will have their own nextPageToken to\ncontinue paging through the results.", +"readOnly": true, +"type": "string" +}, +"selfLink": { +"description": "Output only. [Output Only] Server-defined URL for this resource.", +"readOnly": true, +"type": "string" +}, +"warning": { +"description": "Output only. [Output Only] Informational warning message.", +"properties": { +"code": { +"description": "[Output Only] A warning code, if applicable. For example, Compute\nEngine returns NO_RESULTS_ON_PAGE if there\nare no results in the response.", +"enum": [ +"CLEANUP_FAILED", +"DEPRECATED_RESOURCE_USED", +"DEPRECATED_TYPE_USED", +"DISK_SIZE_LARGER_THAN_IMAGE_SIZE", +"EXPERIMENTAL_TYPE_USED", +"EXTERNAL_API_WARNING", +"FIELD_VALUE_OVERRIDEN", +"INJECTED_KERNELS_DEPRECATED", +"INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", +"LARGE_DEPLOYMENT_WARNING", +"LIST_OVERHEAD_QUOTA_EXCEED", +"MISSING_TYPE_DEPENDENCY", +"NEXT_HOP_ADDRESS_NOT_ASSIGNED", +"NEXT_HOP_CANNOT_IP_FORWARD", +"NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", +"NEXT_HOP_INSTANCE_NOT_FOUND", +"NEXT_HOP_INSTANCE_NOT_ON_NETWORK", +"NEXT_HOP_NOT_RUNNING", +"NOT_CRITICAL_ERROR", +"NO_RESULTS_ON_PAGE", +"PARTIAL_SUCCESS", +"QUOTA_INFO_UNAVAILABLE", +"REQUIRED_TOS_AGREEMENT", +"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", +"RESOURCE_NOT_DELETED", +"SCHEMA_VALIDATION_IGNORED", +"SINGLE_INSTANCE_PROPERTY_TEMPLATE", +"UNDECLARED_PROPERTIES", +"UNREACHABLE" +], +"enumDeprecated": [ +false, +false, +false, +false, +false, +false, +true, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false +], +"enumDescriptions": [ +"Warning about failed cleanup of transient changes made by a failed\noperation.", +"A link to a deprecated resource was created.", +"When deploying and at least one of the resources has a type marked as\ndeprecated", +"The user created a boot disk that is larger than image size.", +"When deploying and at least one of the resources has a type marked as\nexperimental", +"Warning that is present in an external api call", +"Warning that value of a field has been overridden.\nDeprecated unused field.", +"The operation involved use of an injected kernel, which is deprecated.", +"A WEIGHTED_MAGLEV backend service is associated with a health check that is\nnot of type HTTP/HTTPS/HTTP2.", +"When deploying a deployment with a exceedingly large number of resources", +"Resource can't be retrieved due to list overhead quota exceed\nwhich captures the amount of resources filtered out by\nuser-defined list filter.", +"A resource depends on a missing type", +"The route's nextHopIp address is not assigned to an instance on the\nnetwork.", +"The route's next hop instance cannot ip forward.", +"The route's nextHopInstance URL refers to an instance that does not have an\nipv6 interface on the same network as the route.", +"The route's nextHopInstance URL refers to an instance that does not exist.", +"The route's nextHopInstance URL refers to an instance that is not on the\nsame network as the route.", +"The route's next hop instance does not have a status of RUNNING.", +"Error which is not critical. We decided to continue the process despite\nthe mentioned error.", +"No results are present on a particular list page.", +"Success is reported, but some results may be missing due to errors", +"Quota information is not available to client requests (e.g:\nregions.list).", +"The user attempted to use a resource that requires a TOS they have not\naccepted.", +"Warning that a resource is in use.", +"One or more of the resources set to auto-delete could not be deleted\nbecause they were in use.", +"When a resource schema validation is ignored.", +"Instance template used in instance group manager is valid as such, but\nits application does not make a lot of sense, because it allows only\nsingle instance in instance group.", +"When undeclared properties in the schema are present", +"A given scope cannot be reached." +], +"type": "string" +}, +"data": { +"description": "[Output Only] Metadata about this warning in key:\nvalue format. For example:\n\n\"data\": [\n {\n \"key\": \"scope\",\n \"value\": \"zones/us-east1-d\"\n }", +"items": { +"properties": { +"key": { +"description": "[Output Only] A key that provides more detail on the warning being\nreturned. For example, for warnings where there are no results in a list\nrequest for a particular zone, this key might be scope and\nthe key value might be the zone name. Other examples might be a key\nindicating a deprecated resource and a suggested replacement, or a\nwarning about invalid network settings (for example, if an instance\nattempts to perform IP forwarding but is not enabled for IP forwarding).", +"type": "string" +}, +"value": { +"description": "[Output Only] A warning data value corresponding to the key.", +"type": "string" +} +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "[Output Only] A human-readable description of the warning code.", +"type": "string" +} +}, +"readOnly": true, +"type": "object" +} +}, +"type": "object" +}, +"RegionInstanceGroupManagerDeleteInstanceConfigReq": { +"description": "RegionInstanceGroupManagers.deletePerInstanceConfigs", +"id": "RegionInstanceGroupManagerDeleteInstanceConfigReq", +"properties": { +"names": { +"description": "The list of instance names for which we want to delete per-instance configs\non this managed instance group.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"RegionInstanceGroupManagerList": { +"description": "Contains a list of managed instance groups.", +"id": "RegionInstanceGroupManagerList", +"properties": { +"id": { +"description": "Output only. [Output Only] Unique identifier for the resource; defined by the server.", +"readOnly": true, +"type": "string" +}, +"items": { +"description": "A list of InstanceGroupManager resources.", +"items": { +"$ref": "InstanceGroupManager" +}, +"type": "array" +}, +"kind": { +"default": "compute#regionInstanceGroupManagerList", +"description": "Output only. [Output Only] The resource type, which is always\ncompute#instanceGroupManagerList for a list of managed instance groups that\nexist in th regional scope.", +"readOnly": true, +"type": "string" +}, +"nextPageToken": { +"description": "Output only. [Output Only] This token allows you to get the next page of results for\nlist requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for\nthe query parameter pageToken in the next list request.\nSubsequent list requests will have their own nextPageToken to\ncontinue paging through the results.", +"readOnly": true, +"type": "string" +}, +"selfLink": { +"description": "Output only. [Output Only] Server-defined URL for this resource.", +"readOnly": true, +"type": "string" +}, +"warning": { +"description": "Output only. [Output Only] Informational warning message.", +"properties": { +"code": { +"description": "[Output Only] A warning code, if applicable. For example, Compute\nEngine returns NO_RESULTS_ON_PAGE if there\nare no results in the response.", +"enum": [ +"CLEANUP_FAILED", +"DEPRECATED_RESOURCE_USED", +"DEPRECATED_TYPE_USED", +"DISK_SIZE_LARGER_THAN_IMAGE_SIZE", +"EXPERIMENTAL_TYPE_USED", +"EXTERNAL_API_WARNING", +"FIELD_VALUE_OVERRIDEN", +"INJECTED_KERNELS_DEPRECATED", +"INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", +"LARGE_DEPLOYMENT_WARNING", +"LIST_OVERHEAD_QUOTA_EXCEED", +"MISSING_TYPE_DEPENDENCY", +"NEXT_HOP_ADDRESS_NOT_ASSIGNED", +"NEXT_HOP_CANNOT_IP_FORWARD", +"NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", +"NEXT_HOP_INSTANCE_NOT_FOUND", +"NEXT_HOP_INSTANCE_NOT_ON_NETWORK", +"NEXT_HOP_NOT_RUNNING", +"NOT_CRITICAL_ERROR", +"NO_RESULTS_ON_PAGE", +"PARTIAL_SUCCESS", +"QUOTA_INFO_UNAVAILABLE", +"REQUIRED_TOS_AGREEMENT", +"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", +"RESOURCE_NOT_DELETED", +"SCHEMA_VALIDATION_IGNORED", +"SINGLE_INSTANCE_PROPERTY_TEMPLATE", +"UNDECLARED_PROPERTIES", +"UNREACHABLE" +], +"enumDeprecated": [ +false, +false, +false, +false, +false, +false, +true, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false +], +"enumDescriptions": [ +"Warning about failed cleanup of transient changes made by a failed\noperation.", +"A link to a deprecated resource was created.", +"When deploying and at least one of the resources has a type marked as\ndeprecated", +"The user created a boot disk that is larger than image size.", +"When deploying and at least one of the resources has a type marked as\nexperimental", +"Warning that is present in an external api call", +"Warning that value of a field has been overridden.\nDeprecated unused field.", +"The operation involved use of an injected kernel, which is deprecated.", +"A WEIGHTED_MAGLEV backend service is associated with a health check that is\nnot of type HTTP/HTTPS/HTTP2.", +"When deploying a deployment with a exceedingly large number of resources", +"Resource can't be retrieved due to list overhead quota exceed\nwhich captures the amount of resources filtered out by\nuser-defined list filter.", +"A resource depends on a missing type", +"The route's nextHopIp address is not assigned to an instance on the\nnetwork.", +"The route's next hop instance cannot ip forward.", +"The route's nextHopInstance URL refers to an instance that does not have an\nipv6 interface on the same network as the route.", +"The route's nextHopInstance URL refers to an instance that does not exist.", +"The route's nextHopInstance URL refers to an instance that is not on the\nsame network as the route.", +"The route's next hop instance does not have a status of RUNNING.", +"Error which is not critical. We decided to continue the process despite\nthe mentioned error.", +"No results are present on a particular list page.", +"Success is reported, but some results may be missing due to errors", +"Quota information is not available to client requests (e.g:\nregions.list).", +"The user attempted to use a resource that requires a TOS they have not\naccepted.", +"Warning that a resource is in use.", +"One or more of the resources set to auto-delete could not be deleted\nbecause they were in use.", +"When a resource schema validation is ignored.", +"Instance template used in instance group manager is valid as such, but\nits application does not make a lot of sense, because it allows only\nsingle instance in instance group.", +"When undeclared properties in the schema are present", +"A given scope cannot be reached." +], +"type": "string" +}, +"data": { +"description": "[Output Only] Metadata about this warning in key:\nvalue format. For example:\n\n\"data\": [\n {\n \"key\": \"scope\",\n \"value\": \"zones/us-east1-d\"\n }", +"items": { +"properties": { +"key": { +"description": "[Output Only] A key that provides more detail on the warning being\nreturned. For example, for warnings where there are no results in a list\nrequest for a particular zone, this key might be scope and\nthe key value might be the zone name. Other examples might be a key\nindicating a deprecated resource and a suggested replacement, or a\nwarning about invalid network settings (for example, if an instance\nattempts to perform IP forwarding but is not enabled for IP forwarding).", +"type": "string" +}, +"value": { +"description": "[Output Only] A warning data value corresponding to the key.", +"type": "string" +} +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "[Output Only] A human-readable description of the warning code.", +"type": "string" +} +}, +"readOnly": true, +"type": "object" +} +}, +"type": "object" +}, +"RegionInstanceGroupManagerPatchInstanceConfigReq": { +"description": "RegionInstanceGroupManagers.patchPerInstanceConfigs", +"id": "RegionInstanceGroupManagerPatchInstanceConfigReq", +"properties": { +"perInstanceConfigs": { +"description": "The list of per-instance configurations to insert or patch on this managed\ninstance group.", +"items": { +"$ref": "PerInstanceConfig" +}, +"type": "array" +} +}, +"type": "object" +}, +"RegionInstanceGroupManagerResizeRequestsListResponse": { +"id": "RegionInstanceGroupManagerResizeRequestsListResponse", +"properties": { +"etag": { +"type": "string" +}, +"id": { +"description": "Output only. [Output Only] Unique identifier for the resource; defined by the server.", +"readOnly": true, +"type": "string" +}, +"items": { +"description": "A list of Resize Request resources.", +"items": { +"$ref": "InstanceGroupManagerResizeRequest" +}, +"type": "array" +}, +"kind": { +"default": "compute#regionInstanceGroupManagerResizeRequestList", +"description": "Output only. [Output Only] Type of the resource. Alwayscompute#regionInstanceGroupManagerResizeRequestList for\na list of Resize Requests.", +"readOnly": true, +"type": "string" +}, +"nextPageToken": { +"description": "Output only. [Output Only] This token allows you to get the next page of results for\nlist requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for\nthe query parameter pageToken in the next list request.\nSubsequent list requests will have their own nextPageToken to\ncontinue paging through the results.", +"readOnly": true, +"type": "string" +}, +"selfLink": { +"description": "Output only. [Output Only] Server-defined URL for this resource.", +"readOnly": true, +"type": "string" +}, +"unreachables": { +"description": "Output only. [Output Only] Unreachable resources.\nend_interface: MixerListResponseWithEtagBuilder", +"items": { +"type": "string" +}, +"readOnly": true, +"type": "array" +}, +"warning": { +"description": "Output only. [Output Only] Informational warning message.", +"properties": { +"code": { +"description": "[Output Only] A warning code, if applicable. For example, Compute\nEngine returns NO_RESULTS_ON_PAGE if there\nare no results in the response.", +"enum": [ +"CLEANUP_FAILED", +"DEPRECATED_RESOURCE_USED", +"DEPRECATED_TYPE_USED", +"DISK_SIZE_LARGER_THAN_IMAGE_SIZE", +"EXPERIMENTAL_TYPE_USED", +"EXTERNAL_API_WARNING", +"FIELD_VALUE_OVERRIDEN", +"INJECTED_KERNELS_DEPRECATED", +"INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", +"LARGE_DEPLOYMENT_WARNING", +"LIST_OVERHEAD_QUOTA_EXCEED", +"MISSING_TYPE_DEPENDENCY", +"NEXT_HOP_ADDRESS_NOT_ASSIGNED", +"NEXT_HOP_CANNOT_IP_FORWARD", +"NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", +"NEXT_HOP_INSTANCE_NOT_FOUND", +"NEXT_HOP_INSTANCE_NOT_ON_NETWORK", +"NEXT_HOP_NOT_RUNNING", +"NOT_CRITICAL_ERROR", +"NO_RESULTS_ON_PAGE", +"PARTIAL_SUCCESS", +"QUOTA_INFO_UNAVAILABLE", +"REQUIRED_TOS_AGREEMENT", +"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", +"RESOURCE_NOT_DELETED", +"SCHEMA_VALIDATION_IGNORED", +"SINGLE_INSTANCE_PROPERTY_TEMPLATE", +"UNDECLARED_PROPERTIES", +"UNREACHABLE" +], +"enumDeprecated": [ +false, +false, +false, +false, +false, +false, +true, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false +], +"enumDescriptions": [ +"Warning about failed cleanup of transient changes made by a failed\noperation.", +"A link to a deprecated resource was created.", +"When deploying and at least one of the resources has a type marked as\ndeprecated", +"The user created a boot disk that is larger than image size.", +"When deploying and at least one of the resources has a type marked as\nexperimental", +"Warning that is present in an external api call", +"Warning that value of a field has been overridden.\nDeprecated unused field.", +"The operation involved use of an injected kernel, which is deprecated.", +"A WEIGHTED_MAGLEV backend service is associated with a health check that is\nnot of type HTTP/HTTPS/HTTP2.", +"When deploying a deployment with a exceedingly large number of resources", +"Resource can't be retrieved due to list overhead quota exceed\nwhich captures the amount of resources filtered out by\nuser-defined list filter.", +"A resource depends on a missing type", +"The route's nextHopIp address is not assigned to an instance on the\nnetwork.", +"The route's next hop instance cannot ip forward.", +"The route's nextHopInstance URL refers to an instance that does not have an\nipv6 interface on the same network as the route.", +"The route's nextHopInstance URL refers to an instance that does not exist.", +"The route's nextHopInstance URL refers to an instance that is not on the\nsame network as the route.", +"The route's next hop instance does not have a status of RUNNING.", +"Error which is not critical. We decided to continue the process despite\nthe mentioned error.", +"No results are present on a particular list page.", +"Success is reported, but some results may be missing due to errors", +"Quota information is not available to client requests (e.g:\nregions.list).", +"The user attempted to use a resource that requires a TOS they have not\naccepted.", +"Warning that a resource is in use.", +"One or more of the resources set to auto-delete could not be deleted\nbecause they were in use.", +"When a resource schema validation is ignored.", +"Instance template used in instance group manager is valid as such, but\nits application does not make a lot of sense, because it allows only\nsingle instance in instance group.", +"When undeclared properties in the schema are present", +"A given scope cannot be reached." +], +"type": "string" +}, +"data": { +"description": "[Output Only] Metadata about this warning in key:\nvalue format. For example:\n\n\"data\": [\n {\n \"key\": \"scope\",\n \"value\": \"zones/us-east1-d\"\n }", +"items": { +"properties": { +"key": { +"description": "[Output Only] A key that provides more detail on the warning being\nreturned. For example, for warnings where there are no results in a list\nrequest for a particular zone, this key might be scope and\nthe key value might be the zone name. Other examples might be a key\nindicating a deprecated resource and a suggested replacement, or a\nwarning about invalid network settings (for example, if an instance\nattempts to perform IP forwarding but is not enabled for IP forwarding).", +"type": "string" +}, +"value": { +"description": "[Output Only] A warning data value corresponding to the key.", +"type": "string" +} +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "[Output Only] A human-readable description of the warning code.", +"type": "string" +} +}, +"readOnly": true, +"type": "object" +} +}, +"type": "object" +}, +"RegionInstanceGroupManagerUpdateInstanceConfigReq": { +"description": "RegionInstanceGroupManagers.updatePerInstanceConfigs", +"id": "RegionInstanceGroupManagerUpdateInstanceConfigReq", +"properties": { +"perInstanceConfigs": { +"description": "The list of per-instance configurations to insert or patch on this managed\ninstance group.", +"items": { +"$ref": "PerInstanceConfig" +}, +"type": "array" +} +}, +"type": "object" +}, +"RegionInstanceGroupManagersAbandonInstancesRequest": { +"id": "RegionInstanceGroupManagersAbandonInstancesRequest", +"properties": { +"instances": { +"description": "The URLs of one or more instances to abandon. This can be a full URL or\na partial URL, such as zones/[ZONE]/instances/[INSTANCE_NAME].", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"RegionInstanceGroupManagersAdoptInstancesRequest": { +"id": "RegionInstanceGroupManagersAdoptInstancesRequest", +"properties": { +"instances": { +"description": "The list of per-instance configs specifying instances to adopt.", +"items": { +"$ref": "PerInstanceConfig" +}, +"type": "array" +} +}, +"type": "object" +}, +"RegionInstanceGroupManagersApplyUpdatesRequest": { +"description": "RegionInstanceGroupManagers.applyUpdatesToInstances", +"id": "RegionInstanceGroupManagersApplyUpdatesRequest", +"properties": { +"allInstances": { +"description": "Flag to update all instances instead of specified list of \u201cinstances\u201d.\nIf the flag is set to true then the instances may not be specified\nin the request.", +"type": "boolean" +}, +"instances": { +"description": "The list of URLs of one or more instances for which you want to apply\nupdates. Each URL can be a full URL or a partial URL, such aszones/[ZONE]/instances/[INSTANCE_NAME].", +"items": { +"type": "string" +}, +"type": "array" +}, +"minimalAction": { +"description": "The minimal action that you want to perform on each instance during the\nupdate:\n \n \n - REPLACE: At minimum, delete the instance and create it\n again. \n - RESTART: Stop the instance and start it\n again. \n - REFRESH: Do not stop the instance and limit\n disruption as much as possible. \n - NONE: Do not\n disrupt the instance at all.\n\n\nBy default, the minimum action is NONE. If your update\nrequires a more disruptive action than you set with this flag, the\nnecessary action is performed to execute the update.", +"enum": [ +"NONE", +"REFRESH", +"REPLACE", +"RESTART" +], +"enumDescriptions": [ +"Do not perform any action.", +"Do not stop the instance.", +"(Default.) Replace the instance according to the replacement method\noption.", +"Stop the instance and start it again." +], +"type": "string" +}, +"mostDisruptiveAllowedAction": { +"description": "The most disruptive action that you want to perform on each instance during\nthe update:\n \n \n - REPLACE: Delete the instance and create it again.\n - RESTART: Stop the instance and start it again.\n - REFRESH: Do not stop the instance and limit disruption\n as much as possible. \n - NONE: Do not disrupt the\n instance at all.\n\n\nBy default, the most disruptive allowed action is REPLACE. If\nyour update requires a more disruptive action than you set with this flag,\nthe update request will fail.", +"enum": [ +"NONE", +"REFRESH", +"REPLACE", +"RESTART" +], +"enumDescriptions": [ +"Do not perform any action.", +"Do not stop the instance.", +"(Default.) Replace the instance according to the replacement method\noption.", +"Stop the instance and start it again." +], +"type": "string" +} +}, +"type": "object" +}, +"RegionInstanceGroupManagersCreateInstancesRequest": { +"description": "RegionInstanceGroupManagers.createInstances", +"id": "RegionInstanceGroupManagersCreateInstancesRequest", +"properties": { +"instances": { +"description": "[Required] List of specifications of per-instance configs.", +"items": { +"$ref": "PerInstanceConfig" +}, +"type": "array" +} +}, +"type": "object" +}, +"RegionInstanceGroupManagersDeleteInstancesRequest": { +"id": "RegionInstanceGroupManagersDeleteInstancesRequest", +"properties": { +"instances": { +"description": "The URLs of one or more instances to delete. This can be a full URL or\na partial URL, such as zones/[ZONE]/instances/[INSTANCE_NAME].", +"items": { +"type": "string" +}, +"type": "array" +}, +"skipInstancesOnValidationError": { +"description": "Specifies whether the request should proceed despite the inclusion of\ninstances that are not members of the group or that are already in the\nprocess of being deleted or abandoned. If this field is set to `false` and\nsuch an instance is specified in the request, the operation fails. The\noperation always fails if the request contains a malformed instance URL or\na reference to an instance that exists in a zone or region other than the\ngroup's zone or region.", +"type": "boolean" +} +}, +"type": "object" +}, +"RegionInstanceGroupManagersListErrorsResponse": { +"id": "RegionInstanceGroupManagersListErrorsResponse", +"properties": { +"items": { +"description": "[Output Only] The list of errors of the managed instance group.", +"items": { +"$ref": "InstanceManagedByIgmError" +}, +"type": "array" +}, +"nextPageToken": { +"description": "Output only. [Output Only] This token allows you to get the next page of results for\nlist requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for\nthe query parameter pageToken in the next list request.\nSubsequent list requests will have their own nextPageToken to\ncontinue paging through the results.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"RegionInstanceGroupManagersListInstanceConfigsResp": { +"id": "RegionInstanceGroupManagersListInstanceConfigsResp", +"properties": { +"items": { +"description": "Output only. [Output Only] The list of PerInstanceConfig.", +"items": { +"$ref": "PerInstanceConfig" +}, +"readOnly": true, +"type": "array" +}, +"nextPageToken": { +"description": "Output only. [Output Only] This token allows you to get the next page of results for\nlist requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for\nthe query parameter pageToken in the next list request.\nSubsequent list requests will have their own nextPageToken to\ncontinue paging through the results.", +"readOnly": true, +"type": "string" +}, +"warning": { +"description": "Output only. [Output Only] Informational warning message.", +"properties": { +"code": { +"description": "[Output Only] A warning code, if applicable. For example, Compute\nEngine returns NO_RESULTS_ON_PAGE if there\nare no results in the response.", +"enum": [ +"CLEANUP_FAILED", +"DEPRECATED_RESOURCE_USED", +"DEPRECATED_TYPE_USED", +"DISK_SIZE_LARGER_THAN_IMAGE_SIZE", +"EXPERIMENTAL_TYPE_USED", +"EXTERNAL_API_WARNING", +"FIELD_VALUE_OVERRIDEN", +"INJECTED_KERNELS_DEPRECATED", +"INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", +"LARGE_DEPLOYMENT_WARNING", +"LIST_OVERHEAD_QUOTA_EXCEED", +"MISSING_TYPE_DEPENDENCY", +"NEXT_HOP_ADDRESS_NOT_ASSIGNED", +"NEXT_HOP_CANNOT_IP_FORWARD", +"NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", +"NEXT_HOP_INSTANCE_NOT_FOUND", +"NEXT_HOP_INSTANCE_NOT_ON_NETWORK", +"NEXT_HOP_NOT_RUNNING", +"NOT_CRITICAL_ERROR", +"NO_RESULTS_ON_PAGE", +"PARTIAL_SUCCESS", +"QUOTA_INFO_UNAVAILABLE", +"REQUIRED_TOS_AGREEMENT", +"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", +"RESOURCE_NOT_DELETED", +"SCHEMA_VALIDATION_IGNORED", +"SINGLE_INSTANCE_PROPERTY_TEMPLATE", +"UNDECLARED_PROPERTIES", +"UNREACHABLE" +], +"enumDeprecated": [ +false, +false, +false, +false, +false, +false, +true, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false +], +"enumDescriptions": [ +"Warning about failed cleanup of transient changes made by a failed\noperation.", +"A link to a deprecated resource was created.", +"When deploying and at least one of the resources has a type marked as\ndeprecated", +"The user created a boot disk that is larger than image size.", +"When deploying and at least one of the resources has a type marked as\nexperimental", +"Warning that is present in an external api call", +"Warning that value of a field has been overridden.\nDeprecated unused field.", +"The operation involved use of an injected kernel, which is deprecated.", +"A WEIGHTED_MAGLEV backend service is associated with a health check that is\nnot of type HTTP/HTTPS/HTTP2.", +"When deploying a deployment with a exceedingly large number of resources", +"Resource can't be retrieved due to list overhead quota exceed\nwhich captures the amount of resources filtered out by\nuser-defined list filter.", +"A resource depends on a missing type", +"The route's nextHopIp address is not assigned to an instance on the\nnetwork.", +"The route's next hop instance cannot ip forward.", +"The route's nextHopInstance URL refers to an instance that does not have an\nipv6 interface on the same network as the route.", +"The route's nextHopInstance URL refers to an instance that does not exist.", +"The route's nextHopInstance URL refers to an instance that is not on the\nsame network as the route.", +"The route's next hop instance does not have a status of RUNNING.", +"Error which is not critical. We decided to continue the process despite\nthe mentioned error.", +"No results are present on a particular list page.", +"Success is reported, but some results may be missing due to errors", +"Quota information is not available to client requests (e.g:\nregions.list).", +"The user attempted to use a resource that requires a TOS they have not\naccepted.", +"Warning that a resource is in use.", +"One or more of the resources set to auto-delete could not be deleted\nbecause they were in use.", +"When a resource schema validation is ignored.", +"Instance template used in instance group manager is valid as such, but\nits application does not make a lot of sense, because it allows only\nsingle instance in instance group.", +"When undeclared properties in the schema are present", +"A given scope cannot be reached." +], +"type": "string" +}, +"data": { +"description": "[Output Only] Metadata about this warning in key:\nvalue format. For example:\n\n\"data\": [\n {\n \"key\": \"scope\",\n \"value\": \"zones/us-east1-d\"\n }", +"items": { +"properties": { +"key": { +"description": "[Output Only] A key that provides more detail on the warning being\nreturned. For example, for warnings where there are no results in a list\nrequest for a particular zone, this key might be scope and\nthe key value might be the zone name. Other examples might be a key\nindicating a deprecated resource and a suggested replacement, or a\nwarning about invalid network settings (for example, if an instance\nattempts to perform IP forwarding but is not enabled for IP forwarding).", +"type": "string" +}, +"value": { +"description": "[Output Only] A warning data value corresponding to the key.", +"type": "string" +} +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "[Output Only] A human-readable description of the warning code.", +"type": "string" +} +}, +"readOnly": true, +"type": "object" +} +}, +"type": "object" +}, +"RegionInstanceGroupManagersListInstancesResponse": { +"id": "RegionInstanceGroupManagersListInstancesResponse", +"properties": { +"managedInstances": { +"description": "A list of managed instances.", +"items": { +"$ref": "ManagedInstance" +}, +"type": "array" +}, +"nextPageToken": { +"description": "Output only. [Output Only] This token allows you to get the next page of results for\nlist requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for\nthe query parameter pageToken in the next list request.\nSubsequent list requests will have their own nextPageToken to\ncontinue paging through the results.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"RegionInstanceGroupManagersRecreateRequest": { +"id": "RegionInstanceGroupManagersRecreateRequest", +"properties": { +"instances": { +"description": "The URLs of one or more instances to recreate. This can be a full URL or\na partial URL, such as zones/[ZONE]/instances/[INSTANCE_NAME].", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"RegionInstanceGroupManagersResizeAdvancedRequest": { +"id": "RegionInstanceGroupManagersResizeAdvancedRequest", +"properties": { +"noCreationRetries": { +"description": "If this flag is true, the managed instance group attempts to create all\ninstances initiated by this resize request only once. If there is an error\nduring creation, the managed instance group does not retry create this\ninstance, and we will decrease the targetSize of the request\ninstead. If the flag is false, the group attempts to recreate each instance\ncontinuously until it succeeds.\n\nThis flag matters only in the first attempt of creation of an instance.\nAfter an instance is successfully created while this flag is enabled, the\ninstance behaves the same way as all the other instances created with a\nregular resize request. In particular, if a running instance dies\nunexpectedly at a later time and needs to be recreated, this mode does not\naffect the recreation behavior in that scenario.\n\nThis flag is applicable only to the current resize request. It does not\ninfluence other resize requests in any way.\n\nYou can see which instances ar being created in which mode by calling\nthe get or listManagedInstances API.", +"type": "boolean" +}, +"targetSize": { +"description": "The number of running instances that the managed instance group should\nmaintain at any given time. The group automatically adds or removes\ninstances to maintain the number of instances specified by this parameter.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"RegionInstanceGroupManagersResumeInstancesRequest": { +"id": "RegionInstanceGroupManagersResumeInstancesRequest", +"properties": { +"instances": { +"description": "The URLs of one or more instances to resume. This can be a full URL or\na partial URL, such as zones/[ZONE]/instances/[INSTANCE_NAME].", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"RegionInstanceGroupManagersSetAutoHealingRequest": { +"id": "RegionInstanceGroupManagersSetAutoHealingRequest", +"properties": { +"autoHealingPolicies": { +"items": { +"$ref": "InstanceGroupManagerAutoHealingPolicy" +}, +"type": "array" +} +}, +"type": "object" +}, +"RegionInstanceGroupManagersSetTargetPoolsRequest": { +"id": "RegionInstanceGroupManagersSetTargetPoolsRequest", +"properties": { +"fingerprint": { +"description": "Fingerprint of the target pools information, which is a hash of the\ncontents. This field is used for optimistic locking when you update the\ntarget pool entries. This field is optional.", +"format": "byte", +"type": "string" +}, +"targetPools": { +"description": "The URL of all TargetPool resources to which instances in theinstanceGroup field are added. The target pools automatically\napply to all of the instances in the managed instance group.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"RegionInstanceGroupManagersSetTemplateRequest": { +"id": "RegionInstanceGroupManagersSetTemplateRequest", +"properties": { +"instanceTemplate": { +"description": "URL of the InstanceTemplate resource from which all new instances will be\ncreated.", +"type": "string" +} +}, +"type": "object" +}, +"RegionInstanceGroupManagersStartInstancesRequest": { +"id": "RegionInstanceGroupManagersStartInstancesRequest", +"properties": { +"instances": { +"description": "The URLs of one or more instances to start. This can be a full URL or\na partial URL, such as zones/[ZONE]/instances/[INSTANCE_NAME].", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"RegionInstanceGroupManagersStopInstancesRequest": { +"id": "RegionInstanceGroupManagersStopInstancesRequest", +"properties": { +"forceStop": { +"description": "If this flag is set to true, the Instance Group Manager will proceed to\nstop the instances, skipping initialization on them.", +"type": "boolean" +}, +"instances": { +"description": "The URLs of one or more instances to stop. This can be a full URL or\na partial URL, such as zones/[ZONE]/instances/[INSTANCE_NAME].", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"RegionInstanceGroupManagersSuspendInstancesRequest": { +"id": "RegionInstanceGroupManagersSuspendInstancesRequest", +"properties": { +"forceSuspend": { +"description": "If this flag is set to true, the Instance Group Manager will proceed to\nsuspend the instances, skipping initialization on them.", +"type": "boolean" +}, +"instances": { +"description": "The URLs of one or more instances to suspend. This can be a full URL or\na partial URL, such as zones/[ZONE]/instances/[INSTANCE_NAME].", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"RegionInstanceGroupsListInstances": { +"id": "RegionInstanceGroupsListInstances", +"properties": { +"id": { +"description": "Output only. [Output Only] Unique identifier for the resource; defined by the server.", +"readOnly": true, +"type": "string" +}, +"items": { +"description": "A list of InstanceWithNamedPorts resources.", +"items": { +"$ref": "InstanceWithNamedPorts" +}, +"type": "array" +}, +"kind": { +"default": "compute#regionInstanceGroupsListInstances", +"description": "Output only. The resource type.", +"readOnly": true, +"type": "string" +}, +"nextPageToken": { +"description": "Output only. [Output Only] This token allows you to get the next page of results for\nlist requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for\nthe query parameter pageToken in the next list request.\nSubsequent list requests will have their own nextPageToken to\ncontinue paging through the results.", +"readOnly": true, +"type": "string" +}, +"selfLink": { +"description": "Output only. [Output Only] Server-defined URL for this resource.", +"readOnly": true, +"type": "string" +}, +"warning": { +"description": "Output only. [Output Only] Informational warning message.", +"properties": { +"code": { +"description": "[Output Only] A warning code, if applicable. For example, Compute\nEngine returns NO_RESULTS_ON_PAGE if there\nare no results in the response.", +"enum": [ +"CLEANUP_FAILED", +"DEPRECATED_RESOURCE_USED", +"DEPRECATED_TYPE_USED", +"DISK_SIZE_LARGER_THAN_IMAGE_SIZE", +"EXPERIMENTAL_TYPE_USED", +"EXTERNAL_API_WARNING", +"FIELD_VALUE_OVERRIDEN", +"INJECTED_KERNELS_DEPRECATED", +"INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", +"LARGE_DEPLOYMENT_WARNING", +"LIST_OVERHEAD_QUOTA_EXCEED", +"MISSING_TYPE_DEPENDENCY", +"NEXT_HOP_ADDRESS_NOT_ASSIGNED", +"NEXT_HOP_CANNOT_IP_FORWARD", +"NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", +"NEXT_HOP_INSTANCE_NOT_FOUND", +"NEXT_HOP_INSTANCE_NOT_ON_NETWORK", +"NEXT_HOP_NOT_RUNNING", +"NOT_CRITICAL_ERROR", +"NO_RESULTS_ON_PAGE", +"PARTIAL_SUCCESS", +"QUOTA_INFO_UNAVAILABLE", +"REQUIRED_TOS_AGREEMENT", +"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", +"RESOURCE_NOT_DELETED", +"SCHEMA_VALIDATION_IGNORED", +"SINGLE_INSTANCE_PROPERTY_TEMPLATE", +"UNDECLARED_PROPERTIES", +"UNREACHABLE" +], +"enumDeprecated": [ +false, +false, +false, +false, +false, +false, +true, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false +], +"enumDescriptions": [ +"Warning about failed cleanup of transient changes made by a failed\noperation.", +"A link to a deprecated resource was created.", +"When deploying and at least one of the resources has a type marked as\ndeprecated", +"The user created a boot disk that is larger than image size.", +"When deploying and at least one of the resources has a type marked as\nexperimental", +"Warning that is present in an external api call", +"Warning that value of a field has been overridden.\nDeprecated unused field.", +"The operation involved use of an injected kernel, which is deprecated.", +"A WEIGHTED_MAGLEV backend service is associated with a health check that is\nnot of type HTTP/HTTPS/HTTP2.", +"When deploying a deployment with a exceedingly large number of resources", +"Resource can't be retrieved due to list overhead quota exceed\nwhich captures the amount of resources filtered out by\nuser-defined list filter.", +"A resource depends on a missing type", +"The route's nextHopIp address is not assigned to an instance on the\nnetwork.", +"The route's next hop instance cannot ip forward.", +"The route's nextHopInstance URL refers to an instance that does not have an\nipv6 interface on the same network as the route.", +"The route's nextHopInstance URL refers to an instance that does not exist.", +"The route's nextHopInstance URL refers to an instance that is not on the\nsame network as the route.", +"The route's next hop instance does not have a status of RUNNING.", +"Error which is not critical. We decided to continue the process despite\nthe mentioned error.", +"No results are present on a particular list page.", +"Success is reported, but some results may be missing due to errors", +"Quota information is not available to client requests (e.g:\nregions.list).", +"The user attempted to use a resource that requires a TOS they have not\naccepted.", +"Warning that a resource is in use.", +"One or more of the resources set to auto-delete could not be deleted\nbecause they were in use.", +"When a resource schema validation is ignored.", +"Instance template used in instance group manager is valid as such, but\nits application does not make a lot of sense, because it allows only\nsingle instance in instance group.", +"When undeclared properties in the schema are present", +"A given scope cannot be reached." +], +"type": "string" +}, +"data": { +"description": "[Output Only] Metadata about this warning in key:\nvalue format. For example:\n\n\"data\": [\n {\n \"key\": \"scope\",\n \"value\": \"zones/us-east1-d\"\n }", +"items": { +"properties": { +"key": { +"description": "[Output Only] A key that provides more detail on the warning being\nreturned. For example, for warnings where there are no results in a list\nrequest for a particular zone, this key might be scope and\nthe key value might be the zone name. Other examples might be a key\nindicating a deprecated resource and a suggested replacement, or a\nwarning about invalid network settings (for example, if an instance\nattempts to perform IP forwarding but is not enabled for IP forwarding).", +"type": "string" +}, +"value": { +"description": "[Output Only] A warning data value corresponding to the key.", +"type": "string" +} +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "[Output Only] A human-readable description of the warning code.", +"type": "string" +} +}, +"readOnly": true, +"type": "object" +} +}, +"type": "object" +}, +"RegionInstanceGroupsListInstancesRequest": { +"id": "RegionInstanceGroupsListInstancesRequest", +"properties": { +"instanceState": { +"description": "Instances in which state should be returned. Valid options are:\n'ALL', 'RUNNING'. By default, it lists all instances.", +"enum": [ +"ALL", +"RUNNING" +], +"enumDescriptions": [ +"Matches any status of the instances, running, non-running and others.", +"Instance is in RUNNING state if it is running." +], +"type": "string" +}, +"portName": { +"description": "Name of port user is interested in. It is optional. If it is set, only\ninformation about this ports will be returned. If it is not set, all the\nnamed ports will be returned.\nAlways lists all instances.", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"type": "string" +} +}, +"type": "object" +}, +"RegionInstanceGroupsSetNamedPortsRequest": { +"id": "RegionInstanceGroupsSetNamedPortsRequest", +"properties": { +"fingerprint": { +"description": "The fingerprint of the named ports information for this instance group.\nUse this optional property to prevent conflicts when multiple users change\nthe named ports settings concurrently. Obtain the fingerprint with theinstanceGroups.get\nmethod. Then, include the fingerprint in your request to ensure that you\ndo not overwrite changes that were applied from another\nconcurrent request.", +"format": "byte", +"type": "string" +}, +"namedPorts": { +"description": "The list of named ports to set for this instance group.", +"items": { +"$ref": "NamedPort" +}, +"type": "array" +} +}, +"type": "object" +}, +"RegionList": { +"description": "Contains a list of region resources.", +"id": "RegionList", +"properties": { +"id": { +"description": "[Output Only] Unique identifier for the resource; defined by the server.", +"type": "string" +}, +"items": { +"description": "A list of Region resources.", +"items": { +"$ref": "Region" +}, +"type": "array" +}, +"kind": { +"default": "compute#regionList", +"description": "Output only. [Output Only] Type of resource. Always compute#regionList for\nlists of regions.", +"readOnly": true, +"type": "string" +}, +"nextPageToken": { +"description": "[Output Only] This token allows you to get the next page of results for\nlist requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for\nthe query parameter pageToken in the next list request.\nSubsequent list requests will have their own nextPageToken to\ncontinue paging through the results.", +"type": "string" +}, +"selfLink": { +"description": "Output only. [Output Only] Server-defined URL for this resource.", +"readOnly": true, +"type": "string" +}, +"warning": { +"description": "[Output Only] Informational warning message.", +"properties": { +"code": { +"description": "[Output Only] A warning code, if applicable. For example, Compute\nEngine returns NO_RESULTS_ON_PAGE if there\nare no results in the response.", +"enum": [ +"CLEANUP_FAILED", +"DEPRECATED_RESOURCE_USED", +"DEPRECATED_TYPE_USED", +"DISK_SIZE_LARGER_THAN_IMAGE_SIZE", +"EXPERIMENTAL_TYPE_USED", +"EXTERNAL_API_WARNING", +"FIELD_VALUE_OVERRIDEN", +"INJECTED_KERNELS_DEPRECATED", +"INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", +"LARGE_DEPLOYMENT_WARNING", +"LIST_OVERHEAD_QUOTA_EXCEED", +"MISSING_TYPE_DEPENDENCY", +"NEXT_HOP_ADDRESS_NOT_ASSIGNED", +"NEXT_HOP_CANNOT_IP_FORWARD", +"NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", +"NEXT_HOP_INSTANCE_NOT_FOUND", +"NEXT_HOP_INSTANCE_NOT_ON_NETWORK", +"NEXT_HOP_NOT_RUNNING", +"NOT_CRITICAL_ERROR", +"NO_RESULTS_ON_PAGE", +"PARTIAL_SUCCESS", +"QUOTA_INFO_UNAVAILABLE", +"REQUIRED_TOS_AGREEMENT", +"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", +"RESOURCE_NOT_DELETED", +"SCHEMA_VALIDATION_IGNORED", +"SINGLE_INSTANCE_PROPERTY_TEMPLATE", +"UNDECLARED_PROPERTIES", +"UNREACHABLE" +], +"enumDeprecated": [ +false, +false, +false, +false, +false, +false, +true, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false +], +"enumDescriptions": [ +"Warning about failed cleanup of transient changes made by a failed\noperation.", +"A link to a deprecated resource was created.", +"When deploying and at least one of the resources has a type marked as\ndeprecated", +"The user created a boot disk that is larger than image size.", +"When deploying and at least one of the resources has a type marked as\nexperimental", +"Warning that is present in an external api call", +"Warning that value of a field has been overridden.\nDeprecated unused field.", +"The operation involved use of an injected kernel, which is deprecated.", +"A WEIGHTED_MAGLEV backend service is associated with a health check that is\nnot of type HTTP/HTTPS/HTTP2.", +"When deploying a deployment with a exceedingly large number of resources", +"Resource can't be retrieved due to list overhead quota exceed\nwhich captures the amount of resources filtered out by\nuser-defined list filter.", +"A resource depends on a missing type", +"The route's nextHopIp address is not assigned to an instance on the\nnetwork.", +"The route's next hop instance cannot ip forward.", +"The route's nextHopInstance URL refers to an instance that does not have an\nipv6 interface on the same network as the route.", +"The route's nextHopInstance URL refers to an instance that does not exist.", +"The route's nextHopInstance URL refers to an instance that is not on the\nsame network as the route.", +"The route's next hop instance does not have a status of RUNNING.", +"Error which is not critical. We decided to continue the process despite\nthe mentioned error.", +"No results are present on a particular list page.", +"Success is reported, but some results may be missing due to errors", +"Quota information is not available to client requests (e.g:\nregions.list).", +"The user attempted to use a resource that requires a TOS they have not\naccepted.", +"Warning that a resource is in use.", +"One or more of the resources set to auto-delete could not be deleted\nbecause they were in use.", +"When a resource schema validation is ignored.", +"Instance template used in instance group manager is valid as such, but\nits application does not make a lot of sense, because it allows only\nsingle instance in instance group.", +"When undeclared properties in the schema are present", +"A given scope cannot be reached." +], +"type": "string" +}, +"data": { +"description": "[Output Only] Metadata about this warning in key:\nvalue format. For example:\n\n\"data\": [\n {\n \"key\": \"scope\",\n \"value\": \"zones/us-east1-d\"\n }", +"items": { +"properties": { +"key": { +"description": "[Output Only] A key that provides more detail on the warning being\nreturned. For example, for warnings where there are no results in a list\nrequest for a particular zone, this key might be scope and\nthe key value might be the zone name. Other examples might be a key\nindicating a deprecated resource and a suggested replacement, or a\nwarning about invalid network settings (for example, if an instance\nattempts to perform IP forwarding but is not enabled for IP forwarding).", +"type": "string" +}, +"value": { +"description": "[Output Only] A warning data value corresponding to the key.", +"type": "string" +} +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "[Output Only] A human-readable description of the warning code.", +"type": "string" +} +}, +"type": "object" +} +}, +"type": "object" +}, +"RegionNetworkEndpointGroupsAttachEndpointsRequest": { +"id": "RegionNetworkEndpointGroupsAttachEndpointsRequest", +"properties": { +"networkEndpoints": { +"description": "The list of network endpoints to be attached.", +"items": { +"$ref": "NetworkEndpoint" +}, +"type": "array" +} +}, +"type": "object" +}, +"RegionNetworkEndpointGroupsDetachEndpointsRequest": { +"id": "RegionNetworkEndpointGroupsDetachEndpointsRequest", +"properties": { +"networkEndpoints": { +"description": "The list of network endpoints to be detached.", +"items": { +"$ref": "NetworkEndpoint" +}, +"type": "array" +} +}, +"type": "object" +}, +"RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponse": { +"id": "RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponse", +"properties": { +"firewallPolicys": { +"description": "Output only. [Output only] Effective firewalls from firewall policy. It applies to\nRegional Network Firewall Policies in the specified region, Global Network\nFirewall Policies and Hierachial Firewall Policies which are associated\nwith the network.", +"items": { +"$ref": "RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy" +}, +"readOnly": true, +"type": "array" +}, +"firewalls": { +"description": "Effective firewalls on the network.", +"items": { +"$ref": "Firewall" +}, +"type": "array" +} +}, +"type": "object" +}, +"RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy": { +"id": "RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy", +"properties": { +"displayName": { +"description": "Output only. [Output Only] The display name of the firewall policy.", +"readOnly": true, +"type": "string" +}, +"name": { +"description": "Output only. [Output Only] The name of the firewall policy.", +"readOnly": true, +"type": "string" +}, +"packetMirroringRules": { +"description": "Output only. [Output only] The packet mirroring rules that apply to the network.", +"items": { +"$ref": "FirewallPolicyRule" +}, +"readOnly": true, +"type": "array" +}, +"priority": { +"description": "Output only. [Output only] Priority of firewall policy association. Not applicable for\ntype=HIERARCHY.", +"format": "int32", +"readOnly": true, +"type": "integer" +}, +"rules": { +"description": "Output only. [Output only] The rules that apply to the network.", +"items": { +"$ref": "FirewallPolicyRule" +}, +"readOnly": true, +"type": "array" +}, +"type": { +"description": "Output only. [Output Only] The type of the firewall policy. Can be one of HIERARCHY,\nNETWORK, NETWORK_REGIONAL, SYSTEM_GLOBAL, SYSTEM_REGIONAL.", +"enum": [ +"HIERARCHY", +"NETWORK", +"NETWORK_REGIONAL", +"SYSTEM_GLOBAL", +"SYSTEM_REGIONAL", +"UNSPECIFIED" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"" +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"RegionSetLabelsRequest": { +"id": "RegionSetLabelsRequest", +"properties": { +"labelFingerprint": { +"description": "The fingerprint of the previous set of labels for this resource,\nused to detect conflicts. The fingerprint is initially generated by Compute\nEngine and changes after every request to modify or update labels. You must\nalways provide an up-to-date fingerprint hash in order to update or change\nlabels. Make a get() request to the resource to get the latest\nfingerprint.", +"format": "byte", +"type": "string" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "The labels to set for this resource.", +"type": "object" +} +}, +"type": "object" +}, +"RegionSetPolicyRequest": { +"id": "RegionSetPolicyRequest", +"properties": { +"bindings": { +"description": "Flatten Policy to create a backwacd compatible wire-format.\nDeprecated. Use 'policy' to specify bindings.", +"items": { +"$ref": "Binding" +}, +"type": "array" +}, +"etag": { +"description": "Flatten Policy to create a backward compatible wire-format.\nDeprecated. Use 'policy' to specify the etag.", +"format": "byte", +"type": "string" +}, +"policy": { +"$ref": "Policy", +"description": "REQUIRED: The complete policy to be applied to the 'resource'. The size of\nthe policy is limited to a few 10s of KB. An empty policy is in general a\nvalid policy but certain services (like Projects) might reject them." +} +}, +"type": "object" +}, +"RegionTargetHttpsProxiesSetSslCertificatesRequest": { +"id": "RegionTargetHttpsProxiesSetSslCertificatesRequest", +"properties": { +"sslCertificates": { +"description": "New set of SslCertificate resources to associate\nwith this TargetHttpsProxy resource.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"RegionUrlMapsValidateRequest": { +"id": "RegionUrlMapsValidateRequest", +"properties": { +"resource": { +"$ref": "UrlMap", +"description": "Content of the UrlMap to be validated." +} +}, +"type": "object" +}, +"RequestMirrorPolicy": { +"description": "A policy that specifies how requests intended for the route's backends\nare shadowed to a separate mirrored backend service. The load balancer\ndoesn't wait for responses from the shadow service. Before sending traffic\nto the shadow service, the host or authority header is suffixed with-shadow.", +"id": "RequestMirrorPolicy", +"properties": { +"backendService": { +"description": "The full or partial URL to the BackendService resource being\nmirrored to.\n\nThe backend service configured for a mirroring\npolicy must reference backends that are of the same type as the original\nbackend service matched in the URL map.\n\nServerless NEG backends are not currently supported as a mirrored\nbackend service.", +"type": "string" +}, +"mirrorPercent": { +"description": "The percentage of requests to be mirrored to `backend_service`.", +"format": "double", +"type": "number" +} +}, +"type": "object" +}, +"Reservation": { +"description": "Represents a reservation resource. A reservation ensures that capacity is\nheld in a specific zone even if the reserved VMs are not running. For more\ninformation, read Reserving zonal\nresources.", +"id": "Reservation", +"properties": { +"advancedDeploymentControl": { +"$ref": "ReservationAdvancedDeploymentControl", +"description": "Advanced control for cluster management, applicable only to DENSE\ndeployment type reservations." +}, +"aggregateReservation": { +"$ref": "AllocationAggregateReservation", +"description": "Reservation for aggregated resources, providing shape flexibility." +}, +"commitment": { +"description": "Output only. [Output Only] Full or partial URL to a parent commitment. This field\ndisplays for reservations that are tied to a commitment.", +"readOnly": true, +"type": "string" +}, +"creationTimestamp": { +"description": "Output only. [Output Only] Creation timestamp inRFC3339\ntext format.", +"readOnly": true, +"type": "string" +}, +"deleteAfterDuration": { +"$ref": "Duration", +"description": "Duration time relative to reservation creation when Compute Engine will\nautomatically delete this resource." +}, +"deleteAtTime": { +"description": "Absolute time in future when the reservation will be\n auto-deleted by Compute Engine. Timestamp is represented inRFC3339 text format.", +"type": "string" +}, +"deploymentType": { +"description": "Specifies the deployment strategy for this reservation.", +"enum": [ +"DENSE", +"DEPLOYMENT_TYPE_UNSPECIFIED", +"FLEXIBLE" +], +"enumDescriptions": [ +"The reserved capacity is made up of densely deployed reservation blocks.", +"", +"The reserved capacity is made up of highly flexible, logical reservation\nblocks." +], +"type": "string" +}, +"description": { +"description": "An optional description of this resource. Provide this property when you\ncreate the resource.", +"type": "string" +}, +"earlyAccessMaintenance": { +"description": "Indicates the early access maintenance for the reservation.\nIf this field is absent or set to NO_EARLY_ACCESS, the reservation is not\nenrolled in early access maintenance and the standard notice applies.", +"enum": [ +"NO_EARLY_ACCESS", +"WAVE1", +"WAVE2" +], +"enumDescriptions": [ +"No early access.", +"Wave 1: Fastest notification period", +"Wave 2: Medium notification period" +], +"type": "string" +}, +"enableEmergentMaintenance": { +"description": "Indicates whether Compute Engine allows unplanned maintenance for your VMs;\nfor example, to fix hardware errors.", +"type": "boolean" +}, +"id": { +"description": "Output only. [Output Only] The unique identifier for the resource. This identifier is\ndefined by the server.", +"format": "uint64", +"readOnly": true, +"type": "string" +}, +"kind": { +"default": "compute#reservation", +"description": "Output only. [Output Only] Type of the resource. Alwayscompute#reservations for reservations.", +"readOnly": true, +"type": "string" +}, +"linkedCommitments": { +"description": "Output only. [Output Only] Full or partial URL to parent commitments. This field\ndisplays for reservations that are tied to multiple commitments.", +"items": { +"type": "string" +}, +"readOnly": true, +"type": "array" +}, +"name": { +"annotations": { +"required": [ +"compute.instances.insert" +] +}, +"description": "The name of the resource, provided by the client when initially creating\nthe resource. The resource name must be 1-63 characters long, and comply\nwithRFC1035.\nSpecifically, the name must be 1-63 characters long and match the regular\nexpression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first\ncharacter must be a lowercase letter, and all following characters must be\na dash, lowercase letter, or digit, except the last character, which cannot\nbe a dash.", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"type": "string" +}, +"params": { +"$ref": "ReservationParams", +"description": "Input only. Additional params passed with the request, but not persisted\nas part of resource payload." +}, +"protectionTier": { +"description": "Protection tier for the workload which specifies the workload expectations\nin the event of infrastructure failures at data center (e.g. power\nand/or cooling failures).", +"enum": [ +"CAPACITY_OPTIMIZED", +"PROTECTION_TIER_UNSPECIFIED", +"STANDARD" +], +"enumDescriptions": [ +"CAPACITY_OPTIMIZED capacity leverages redundancies (e.g. power, cooling)\nat the data center during normal operating conditions. In the event of\ninfrastructure failures at data center (e.g. power and/or cooling\nfailures), this workload may be disrupted. As a consequence, it has a\nweaker availability SLO than STANDARD.", +"Unspecified protection tier.", +"STANDARD protection for workload that should be protected by redundancies\n(e.g. power, cooling) at the data center level. In the event of\ninfrastructure failures at data center (e.g. power and/or cooling\nfailures), this workload is expected to continue as normal using the\nredundancies." +], +"type": "string" +}, +"reservationMode": { +"description": "Output only. [Output only] Indicates the reservation mode of the reservation.", +"enum": [ +"CALENDAR", +"DEFAULT", +"RESERVATION_MODE_UNSPECIFIED" +], +"enumDescriptions": [ +"The delivered reservations terminate at specified endtime along with\nterminating VMs running on it. The price for this reservation is\ndifferent from on-demand. Currently offered for A3+ GPUs and TPUs only.", +"The delivered reservations do not terminate VMs at the end of\nreservations. On-demand pricing and available for all VM families.\nThis is default mode.", +"" +], +"readOnly": true, +"type": "string" +}, +"reservationSharingPolicy": { +"$ref": "AllocationReservationSharingPolicy", +"description": "Specify the reservation sharing policy. If unspecified, the reservation\nwill not be shared with Google Cloud managed services." +}, +"resourcePolicies": { +"additionalProperties": { +"type": "string" +}, +"description": "Resource policies to be added to this reservation. The key is defined by\nuser, and the value is resource policy url. This is to define placement\npolicy with reservation.", +"type": "object" +}, +"resourceStatus": { +"$ref": "AllocationResourceStatus", +"description": "Output only. [Output Only] Status information for Reservation resource.", +"readOnly": true +}, +"satisfiesPzs": { +"description": "Output only. [Output Only] Reserved for future use.", +"readOnly": true, +"type": "boolean" +}, +"schedulingType": { +"description": "The type of maintenance for the reservation.", +"enum": [ +"GROUPED", +"GROUP_MAINTENANCE_TYPE_UNSPECIFIED", +"INDEPENDENT" +], +"enumDescriptions": [ +"Maintenance on all reserved instances in the reservation is synchronized.", +"Unknown maintenance type.", +"Maintenance is not synchronized for this reservation. Instead, each\ninstance has its own maintenance window." +], +"type": "string" +}, +"selfLink": { +"description": "Output only. [Output Only] Server-defined fully-qualified URL for this resource.", +"readOnly": true, +"type": "string" +}, +"shareSettings": { +"$ref": "ShareSettings", +"description": "Specify share-settings to create a shared reservation. This property is\noptional. For more information about the syntax and options for this\nfield and its subfields, see the guide for creating\na shared reservation." +}, +"specificReservation": { +"$ref": "AllocationSpecificSKUReservation", +"description": "Reservation for instances with specific machine shapes." +}, +"specificReservationRequired": { +"description": "Indicates whether the reservation can be consumed by VMs with affinity\nfor \"any\" reservation. If the field is set, then only VMs that target\nthe reservation by name can consume from this reservation.", +"type": "boolean" +}, +"status": { +"description": "Output only. [Output Only] The status of the reservation.\n \n \n - CREATING: Reservation resources are being\n allocated.\n - READY: Reservation resources have been allocated,\n and the reservation is ready for use.\n - DELETING: Reservation deletion is in progress.\n - UPDATING: Reservation update is in progress.", +"enum": [ +"CREATING", +"DELETING", +"INVALID", +"READY", +"UPDATING" +], +"enumDescriptions": [ +"Reservation resources are being allocated.", +"Reservation deletion is in progress.", +"", +"Reservation resources have been allocated, and the reservation is ready\nfor use.", +"Reservation update is in progress." +], +"readOnly": true, +"type": "string" +}, +"zone": { +"description": "Zone in which the reservation resides. A zone must be provided if the\nreservation is created within a commitment.", +"type": "string" +} +}, +"type": "object" +}, +"ReservationAdvancedDeploymentControl": { +"description": "Advance control for cluster management, applicable only to DENSE deployment\ntype reservations.", +"id": "ReservationAdvancedDeploymentControl", +"properties": { +"reservationOperationalMode": { +"description": "Indicates chosen reservation operational mode for the reservation.", +"enum": [ +"ALL_CAPACITY", +"HIGHLY_AVAILABLE_CAPACITY", +"RESERVATION_OPERATIONAL_MODE_UNSPECIFIED" +], +"enumDescriptions": [ +"Google Cloud does not manage the failure of machines, but provides\nadditional capacity, which is not guaranteed to be available.", +"Google Cloud manages the failure of machines to provide high\navailability.", +"" +], +"type": "string" +} +}, +"type": "object" +}, +"ReservationAffinity": { +"description": "Specifies the reservations that this instance can consume from.", +"id": "ReservationAffinity", +"properties": { +"consumeReservationType": { +"description": "Specifies the type of reservation from which this instance can consume\nresources: ANY_RESERVATION (default),SPECIFIC_RESERVATION, or NO_RESERVATION. See\nConsuming reserved instances for examples.", +"enum": [ +"ANY_RESERVATION", +"NO_RESERVATION", +"SPECIFIC_RESERVATION", +"SPECIFIC_THEN_ANY_RESERVATION", +"SPECIFIC_THEN_NO_RESERVATION", +"UNSPECIFIED" +], +"enumDescriptions": [ +"Consume any allocation available.", +"Do not consume from any allocated capacity.", +"Must consume from a specific reservation. Must specify key value fields\nfor specifying the reservations.", +"Prefer to consume from a specific reservation, but still consume any\nreservation available if the specified reservation is not available or\nexhausted. Must specify key value fields for specifying the reservations.", +"Prefer to consume from a specific reservation, but still consume\nfrom the on-demand pool if the specified reservation is exhausted. Must\nspecify key value fields for specifying the reservations.", +"" +], +"type": "string" +}, +"key": { +"description": "Corresponds to the label key of a reservation resource. To target aSPECIFIC_RESERVATION by name, specifygoogleapis.com/reservation-name as the key and specify\nthe name of your reservation as its value.", +"type": "string" +}, +"values": { +"description": "Corresponds to the label values of a reservation resource. This can be\neither a name to a reservation in the same project or\n\"projects/different-project/reservations/some-reservation-name\" to target a\nshared reservation in the same zone but in a different project.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ReservationAggregatedList": { +"description": "Contains a list of reservations.", +"id": "ReservationAggregatedList", +"properties": { +"id": { +"description": "[Output Only] Unique identifier for the resource; defined by the server.", +"type": "string" +}, +"items": { +"additionalProperties": { +"$ref": "ReservationsScopedList", +"description": "Name of the scope containing this set of reservations." +}, +"description": "A list of Allocation resources.", +"type": "object" +}, +"kind": { +"default": "compute#reservationAggregatedList", +"description": "Output only. Type of resource.", +"readOnly": true, +"type": "string" +}, +"nextPageToken": { +"description": "[Output Only] This token allows you to get the next page of results for\nlist requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for\nthe query parameter pageToken in the next list request.\nSubsequent list requests will have their own nextPageToken to\ncontinue paging through the results.", +"type": "string" +}, +"selfLink": { +"description": "Output only. [Output Only] Server-defined URL for this resource.", +"readOnly": true, +"type": "string" +}, +"unreachables": { +"description": "Output only. [Output Only] Unreachable resources.", +"items": { +"type": "string" +}, +"readOnly": true, +"type": "array" +}, +"warning": { +"description": "[Output Only] Informational warning message.", +"properties": { +"code": { +"description": "[Output Only] A warning code, if applicable. For example, Compute\nEngine returns NO_RESULTS_ON_PAGE if there\nare no results in the response.", +"enum": [ +"CLEANUP_FAILED", +"DEPRECATED_RESOURCE_USED", +"DEPRECATED_TYPE_USED", +"DISK_SIZE_LARGER_THAN_IMAGE_SIZE", +"EXPERIMENTAL_TYPE_USED", +"EXTERNAL_API_WARNING", +"FIELD_VALUE_OVERRIDEN", +"INJECTED_KERNELS_DEPRECATED", +"INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", +"LARGE_DEPLOYMENT_WARNING", +"LIST_OVERHEAD_QUOTA_EXCEED", +"MISSING_TYPE_DEPENDENCY", +"NEXT_HOP_ADDRESS_NOT_ASSIGNED", +"NEXT_HOP_CANNOT_IP_FORWARD", +"NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", +"NEXT_HOP_INSTANCE_NOT_FOUND", +"NEXT_HOP_INSTANCE_NOT_ON_NETWORK", +"NEXT_HOP_NOT_RUNNING", +"NOT_CRITICAL_ERROR", +"NO_RESULTS_ON_PAGE", +"PARTIAL_SUCCESS", +"QUOTA_INFO_UNAVAILABLE", +"REQUIRED_TOS_AGREEMENT", +"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", +"RESOURCE_NOT_DELETED", +"SCHEMA_VALIDATION_IGNORED", +"SINGLE_INSTANCE_PROPERTY_TEMPLATE", +"UNDECLARED_PROPERTIES", +"UNREACHABLE" +], +"enumDeprecated": [ +false, +false, +false, +false, +false, +false, +true, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false +], +"enumDescriptions": [ +"Warning about failed cleanup of transient changes made by a failed\noperation.", +"A link to a deprecated resource was created.", +"When deploying and at least one of the resources has a type marked as\ndeprecated", +"The user created a boot disk that is larger than image size.", +"When deploying and at least one of the resources has a type marked as\nexperimental", +"Warning that is present in an external api call", +"Warning that value of a field has been overridden.\nDeprecated unused field.", +"The operation involved use of an injected kernel, which is deprecated.", +"A WEIGHTED_MAGLEV backend service is associated with a health check that is\nnot of type HTTP/HTTPS/HTTP2.", +"When deploying a deployment with a exceedingly large number of resources", +"Resource can't be retrieved due to list overhead quota exceed\nwhich captures the amount of resources filtered out by\nuser-defined list filter.", +"A resource depends on a missing type", +"The route's nextHopIp address is not assigned to an instance on the\nnetwork.", +"The route's next hop instance cannot ip forward.", +"The route's nextHopInstance URL refers to an instance that does not have an\nipv6 interface on the same network as the route.", +"The route's nextHopInstance URL refers to an instance that does not exist.", +"The route's nextHopInstance URL refers to an instance that is not on the\nsame network as the route.", +"The route's next hop instance does not have a status of RUNNING.", +"Error which is not critical. We decided to continue the process despite\nthe mentioned error.", +"No results are present on a particular list page.", +"Success is reported, but some results may be missing due to errors", +"Quota information is not available to client requests (e.g:\nregions.list).", +"The user attempted to use a resource that requires a TOS they have not\naccepted.", +"Warning that a resource is in use.", +"One or more of the resources set to auto-delete could not be deleted\nbecause they were in use.", +"When a resource schema validation is ignored.", +"Instance template used in instance group manager is valid as such, but\nits application does not make a lot of sense, because it allows only\nsingle instance in instance group.", +"When undeclared properties in the schema are present", +"A given scope cannot be reached." +], +"type": "string" +}, +"data": { +"description": "[Output Only] Metadata about this warning in key:\nvalue format. For example:\n\n\"data\": [\n {\n \"key\": \"scope\",\n \"value\": \"zones/us-east1-d\"\n }", +"items": { +"properties": { +"key": { +"description": "[Output Only] A key that provides more detail on the warning being\nreturned. For example, for warnings where there are no results in a list\nrequest for a particular zone, this key might be scope and\nthe key value might be the zone name. Other examples might be a key\nindicating a deprecated resource and a suggested replacement, or a\nwarning about invalid network settings (for example, if an instance\nattempts to perform IP forwarding but is not enabled for IP forwarding).", +"type": "string" +}, +"value": { +"description": "[Output Only] A warning data value corresponding to the key.", +"type": "string" +} +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "[Output Only] A human-readable description of the warning code.", +"type": "string" +} +}, +"type": "object" +} +}, +"type": "object" +}, +"ReservationBlock": { +"description": "Represents a reservation block resource.", +"id": "ReservationBlock", +"properties": { +"count": { +"description": "Output only. [Output Only] The number of resources that are allocated in this\nreservation block.", +"format": "int32", +"readOnly": true, +"type": "integer" +}, +"creationTimestamp": { +"description": "Output only. [Output Only] Creation timestamp inRFC3339 text format.", +"readOnly": true, +"type": "string" +}, +"healthInfo": { +"$ref": "ReservationBlockHealthInfo", +"description": "Output only. [Output Only] Health information for the reservation block.", +"readOnly": true +}, +"id": { +"description": "Output only. [Output Only] The unique identifier for the resource. This identifier is\ndefined by the server.", +"format": "uint64", +"readOnly": true, +"type": "string" +}, +"inUseCount": { +"description": "Output only. [Output Only] The number of instances that are currently in use on this\nreservation block.", +"format": "int32", +"readOnly": true, +"type": "integer" +}, +"inUseHostCount": { +"description": "Output only. Number of hosts currently in use. If there is one or more Instances running\non the host, it is considered in use.", +"format": "int32", +"readOnly": true, +"type": "integer" +}, +"kind": { +"default": "compute#reservationBlock", +"description": "Output only. [Output Only] Type of the resource. Alwayscompute#reservationBlock for reservation blocks.", +"readOnly": true, +"type": "string" +}, +"name": { +"description": "Output only. [Output Only] The name of this reservation block generated by Google\nCompute Engine. The name must be 1-63 characters long, and comply with\nRFC1035 @pattern [a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"readOnly": true, +"type": "string" +}, +"physicalTopology": { +"$ref": "ReservationBlockPhysicalTopology", +"description": "Output only. [Output Only] The physical topology of the reservation block.", +"readOnly": true +}, +"reservationMaintenance": { +"$ref": "GroupMaintenanceInfo", +"description": "Output only. [Output Only] Maintenance information for this reservation block.", +"readOnly": true +}, +"reservationSubBlockCount": { +"description": "Output only. [Output Only] The number of reservation subBlocks associated with this\nreservation block.", +"format": "int32", +"readOnly": true, +"type": "integer" +}, +"reservationSubBlockInUseCount": { +"description": "Output only. [Output Only] The number of in-use reservation subBlocks associated with\nthis reservation block. If at least one VM is running on a subBlock, it is\nconsidered in-use.", +"format": "int32", +"readOnly": true, +"type": "integer" +}, +"selfLink": { +"description": "Output only. [Output Only] Server-defined fully-qualified URL for this resource.", +"readOnly": true, +"type": "string" +}, +"selfLinkWithId": { +"description": "Output only. [Output Only] Server-defined URL for this resource with the resource id.", +"readOnly": true, +"type": "string" +}, +"status": { +"description": "Output only. [Output Only] Status of the reservation block.", +"enum": [ +"CREATING", +"DELETING", +"INVALID", +"READY" +], +"enumDescriptions": [ +"Resources are being allocated for the reservation block.", +"Reservation block is currently being deleted.", +"", +"Reservation block has allocated all its resources." +], +"readOnly": true, +"type": "string" +}, +"zone": { +"description": "Output only. [Output Only] Zone in which the reservation block resides.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"ReservationBlockHealthInfo": { +"description": "Health information for the reservation block.", +"id": "ReservationBlockHealthInfo", +"properties": { +"degradedSubBlockCount": { +"description": "The number of subBlocks that are degraded.", +"format": "int32", +"type": "integer" +}, +"healthStatus": { +"description": "The health status of the reservation block.", +"enum": [ +"DEGRADED", +"HEALTHY", +"HEALTH_STATUS_UNSPECIFIED" +], +"enumDescriptions": [ +"The reservation block is degraded.", +"The reservation block is healthy.", +"The health status of the reservation block is unspecified." +], +"type": "string" +}, +"healthySubBlockCount": { +"description": "The number of subBlocks that are healthy.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"ReservationBlockPhysicalTopology": { +"id": "ReservationBlockPhysicalTopology", +"properties": { +"block": { +"description": "The hash of the capacity block within the cluster.", +"type": "string" +}, +"cluster": { +"description": "The cluster name of the reservation block.", +"type": "string" +}, +"instances": { +"description": "Output only. The detailed instances information for a given Block", +"items": { +"$ref": "ReservationBlockPhysicalTopologyInstance" +}, +"readOnly": true, +"type": "array" +} +}, +"type": "object" +}, +"ReservationBlockPhysicalTopologyInstance": { +"description": "The instances information for a given Block", +"id": "ReservationBlockPhysicalTopologyInstance", +"properties": { +"instanceId": { +"description": "The InstanceId of the instance", +"format": "uint64", +"type": "string" +}, +"physicalHostTopology": { +"$ref": "ReservationBlockPhysicalTopologyInstancePhysicalHostTopology", +"description": "Output only. The PhysicalHostTopology of instances within a Block resource.", +"readOnly": true +}, +"projectId": { +"description": "Project where the instance lives", +"format": "uint64", +"type": "string" +} +}, +"type": "object" +}, +"ReservationBlockPhysicalTopologyInstancePhysicalHostTopology": { +"description": "The PhysicalHostTopology of the instance within a Block resource.", +"id": "ReservationBlockPhysicalTopologyInstancePhysicalHostTopology", +"properties": { +"host": { +"description": "Host hash for a given instance", +"type": "string" +}, +"subBlock": { +"description": "Sub block hash for a given instance", +"type": "string" +} +}, +"type": "object" +}, +"ReservationBlocksGetResponse": { +"id": "ReservationBlocksGetResponse", +"properties": { +"resource": { +"$ref": "ReservationBlock" +} +}, +"type": "object" +}, +"ReservationBlocksListResponse": { +"description": "A list of reservation blocks under a single reservation.", +"id": "ReservationBlocksListResponse", +"properties": { +"id": { +"description": "Unique identifier for the resource; defined by the server.", +"type": "string" +}, +"items": { +"description": "A list of reservation block resources.", +"items": { +"$ref": "ReservationBlock" +}, +"type": "array" +}, +"kind": { +"default": "compute#reservationBlock", +"description": "Type of the resource. Alwayscompute#reservationBlock for a list of reservation blocks.", +"type": "string" +}, +"nextPageToken": { +"description": "This token allows you to get the next page of results for\nlist requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for\nthe query parameter pageToken in the next list request.\nSubsequent list requests will have their own nextPageToken to\ncontinue paging through the results.", +"type": "string" +}, +"selfLink": { +"description": "Server-defined URL for this resource.", +"type": "string" +}, +"warning": { +"description": "Informational warning message.", +"properties": { +"code": { +"description": "[Output Only] A warning code, if applicable. For example, Compute\nEngine returns NO_RESULTS_ON_PAGE if there\nare no results in the response.", +"enum": [ +"CLEANUP_FAILED", +"DEPRECATED_RESOURCE_USED", +"DEPRECATED_TYPE_USED", +"DISK_SIZE_LARGER_THAN_IMAGE_SIZE", +"EXPERIMENTAL_TYPE_USED", +"EXTERNAL_API_WARNING", +"FIELD_VALUE_OVERRIDEN", +"INJECTED_KERNELS_DEPRECATED", +"INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", +"LARGE_DEPLOYMENT_WARNING", +"LIST_OVERHEAD_QUOTA_EXCEED", +"MISSING_TYPE_DEPENDENCY", +"NEXT_HOP_ADDRESS_NOT_ASSIGNED", +"NEXT_HOP_CANNOT_IP_FORWARD", +"NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", +"NEXT_HOP_INSTANCE_NOT_FOUND", +"NEXT_HOP_INSTANCE_NOT_ON_NETWORK", +"NEXT_HOP_NOT_RUNNING", +"NOT_CRITICAL_ERROR", +"NO_RESULTS_ON_PAGE", +"PARTIAL_SUCCESS", +"QUOTA_INFO_UNAVAILABLE", +"REQUIRED_TOS_AGREEMENT", +"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", +"RESOURCE_NOT_DELETED", +"SCHEMA_VALIDATION_IGNORED", +"SINGLE_INSTANCE_PROPERTY_TEMPLATE", +"UNDECLARED_PROPERTIES", +"UNREACHABLE" +], +"enumDeprecated": [ +false, +false, +false, +false, +false, +false, +true, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false +], +"enumDescriptions": [ +"Warning about failed cleanup of transient changes made by a failed\noperation.", +"A link to a deprecated resource was created.", +"When deploying and at least one of the resources has a type marked as\ndeprecated", +"The user created a boot disk that is larger than image size.", +"When deploying and at least one of the resources has a type marked as\nexperimental", +"Warning that is present in an external api call", +"Warning that value of a field has been overridden.\nDeprecated unused field.", +"The operation involved use of an injected kernel, which is deprecated.", +"A WEIGHTED_MAGLEV backend service is associated with a health check that is\nnot of type HTTP/HTTPS/HTTP2.", +"When deploying a deployment with a exceedingly large number of resources", +"Resource can't be retrieved due to list overhead quota exceed\nwhich captures the amount of resources filtered out by\nuser-defined list filter.", +"A resource depends on a missing type", +"The route's nextHopIp address is not assigned to an instance on the\nnetwork.", +"The route's next hop instance cannot ip forward.", +"The route's nextHopInstance URL refers to an instance that does not have an\nipv6 interface on the same network as the route.", +"The route's nextHopInstance URL refers to an instance that does not exist.", +"The route's nextHopInstance URL refers to an instance that is not on the\nsame network as the route.", +"The route's next hop instance does not have a status of RUNNING.", +"Error which is not critical. We decided to continue the process despite\nthe mentioned error.", +"No results are present on a particular list page.", +"Success is reported, but some results may be missing due to errors", +"Quota information is not available to client requests (e.g:\nregions.list).", +"The user attempted to use a resource that requires a TOS they have not\naccepted.", +"Warning that a resource is in use.", +"One or more of the resources set to auto-delete could not be deleted\nbecause they were in use.", +"When a resource schema validation is ignored.", +"Instance template used in instance group manager is valid as such, but\nits application does not make a lot of sense, because it allows only\nsingle instance in instance group.", +"When undeclared properties in the schema are present", +"A given scope cannot be reached." +], +"type": "string" +}, +"data": { +"description": "[Output Only] Metadata about this warning in key:\nvalue format. For example:\n\n\"data\": [\n {\n \"key\": \"scope\",\n \"value\": \"zones/us-east1-d\"\n }", +"items": { +"properties": { +"key": { +"description": "[Output Only] A key that provides more detail on the warning being\nreturned. For example, for warnings where there are no results in a list\nrequest for a particular zone, this key might be scope and\nthe key value might be the zone name. Other examples might be a key\nindicating a deprecated resource and a suggested replacement, or a\nwarning about invalid network settings (for example, if an instance\nattempts to perform IP forwarding but is not enabled for IP forwarding).", +"type": "string" +}, +"value": { +"description": "[Output Only] A warning data value corresponding to the key.", +"type": "string" +} +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "[Output Only] A human-readable description of the warning code.", +"type": "string" +} +}, +"type": "object" +} +}, +"type": "object" +}, +"ReservationList": { +"id": "ReservationList", +"properties": { +"id": { +"description": "[Output Only] The unique identifier for the resource. This identifier is\ndefined by the server.", +"type": "string" +}, +"items": { +"description": "[Output Only] A list of Allocation resources.", +"items": { +"$ref": "Reservation" +}, +"type": "array" +}, +"kind": { +"default": "compute#reservationList", +"description": "Output only. [Output Only] Type of resource.Always compute#reservationsList\nfor listsof reservations", +"readOnly": true, +"type": "string" +}, +"nextPageToken": { +"description": "[Output Only] This token allows you to get the next page of results for\nlist requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for\nthe query parameter pageToken in the next list request.\nSubsequent list requests will have their own nextPageToken to\ncontinue paging through the results.", +"type": "string" +}, +"selfLink": { +"description": "Output only. [Output Only] Server-defined URL for this resource.", +"readOnly": true, +"type": "string" +}, +"warning": { +"description": "[Output Only] Informational warning message.", +"properties": { +"code": { +"description": "[Output Only] A warning code, if applicable. For example, Compute\nEngine returns NO_RESULTS_ON_PAGE if there\nare no results in the response.", +"enum": [ +"CLEANUP_FAILED", +"DEPRECATED_RESOURCE_USED", +"DEPRECATED_TYPE_USED", +"DISK_SIZE_LARGER_THAN_IMAGE_SIZE", +"EXPERIMENTAL_TYPE_USED", +"EXTERNAL_API_WARNING", +"FIELD_VALUE_OVERRIDEN", +"INJECTED_KERNELS_DEPRECATED", +"INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", +"LARGE_DEPLOYMENT_WARNING", +"LIST_OVERHEAD_QUOTA_EXCEED", +"MISSING_TYPE_DEPENDENCY", +"NEXT_HOP_ADDRESS_NOT_ASSIGNED", +"NEXT_HOP_CANNOT_IP_FORWARD", +"NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", +"NEXT_HOP_INSTANCE_NOT_FOUND", +"NEXT_HOP_INSTANCE_NOT_ON_NETWORK", +"NEXT_HOP_NOT_RUNNING", +"NOT_CRITICAL_ERROR", +"NO_RESULTS_ON_PAGE", +"PARTIAL_SUCCESS", +"QUOTA_INFO_UNAVAILABLE", +"REQUIRED_TOS_AGREEMENT", +"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", +"RESOURCE_NOT_DELETED", +"SCHEMA_VALIDATION_IGNORED", +"SINGLE_INSTANCE_PROPERTY_TEMPLATE", +"UNDECLARED_PROPERTIES", +"UNREACHABLE" +], +"enumDeprecated": [ +false, +false, +false, +false, +false, +false, +true, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false +], +"enumDescriptions": [ +"Warning about failed cleanup of transient changes made by a failed\noperation.", +"A link to a deprecated resource was created.", +"When deploying and at least one of the resources has a type marked as\ndeprecated", +"The user created a boot disk that is larger than image size.", +"When deploying and at least one of the resources has a type marked as\nexperimental", +"Warning that is present in an external api call", +"Warning that value of a field has been overridden.\nDeprecated unused field.", +"The operation involved use of an injected kernel, which is deprecated.", +"A WEIGHTED_MAGLEV backend service is associated with a health check that is\nnot of type HTTP/HTTPS/HTTP2.", +"When deploying a deployment with a exceedingly large number of resources", +"Resource can't be retrieved due to list overhead quota exceed\nwhich captures the amount of resources filtered out by\nuser-defined list filter.", +"A resource depends on a missing type", +"The route's nextHopIp address is not assigned to an instance on the\nnetwork.", +"The route's next hop instance cannot ip forward.", +"The route's nextHopInstance URL refers to an instance that does not have an\nipv6 interface on the same network as the route.", +"The route's nextHopInstance URL refers to an instance that does not exist.", +"The route's nextHopInstance URL refers to an instance that is not on the\nsame network as the route.", +"The route's next hop instance does not have a status of RUNNING.", +"Error which is not critical. We decided to continue the process despite\nthe mentioned error.", +"No results are present on a particular list page.", +"Success is reported, but some results may be missing due to errors", +"Quota information is not available to client requests (e.g:\nregions.list).", +"The user attempted to use a resource that requires a TOS they have not\naccepted.", +"Warning that a resource is in use.", +"One or more of the resources set to auto-delete could not be deleted\nbecause they were in use.", +"When a resource schema validation is ignored.", +"Instance template used in instance group manager is valid as such, but\nits application does not make a lot of sense, because it allows only\nsingle instance in instance group.", +"When undeclared properties in the schema are present", +"A given scope cannot be reached." +], +"type": "string" +}, +"data": { +"description": "[Output Only] Metadata about this warning in key:\nvalue format. For example:\n\n\"data\": [\n {\n \"key\": \"scope\",\n \"value\": \"zones/us-east1-d\"\n }", +"items": { +"properties": { +"key": { +"description": "[Output Only] A key that provides more detail on the warning being\nreturned. For example, for warnings where there are no results in a list\nrequest for a particular zone, this key might be scope and\nthe key value might be the zone name. Other examples might be a key\nindicating a deprecated resource and a suggested replacement, or a\nwarning about invalid network settings (for example, if an instance\nattempts to perform IP forwarding but is not enabled for IP forwarding).", +"type": "string" +}, +"value": { +"description": "[Output Only] A warning data value corresponding to the key.", +"type": "string" +} +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "[Output Only] A human-readable description of the warning code.", +"type": "string" +} +}, +"type": "object" +} +}, +"type": "object" +}, +"ReservationParams": { +"description": "Additional reservation params.", +"id": "ReservationParams", +"properties": { +"resourceManagerTags": { +"additionalProperties": { +"type": "string" +}, +"description": "Input only. Resource manager tags to be bound to the reservation. Tag keys and\nvalues have the same definition as resource\nmanager tags. Keys and values can be either in numeric format,\nsuch as `tagKeys/{tag_key_id}` and `tagValues/{tag_value_id}` or in\nnamespaced format such as `{org_id|project_id}/{tag_key_short_name}` and\n`{tag_value_short_name}`. The field is ignored (both PUT &\nPATCH) when empty.", +"type": "object" +} +}, +"type": "object" +}, +"ReservationSlot": { +"description": "Represents a reservation slot resource.", +"id": "ReservationSlot", +"properties": { +"creationTimestamp": { +"description": "Output only. [Output Only] The creation timestamp, formatted asRFC3339 text.", +"readOnly": true, +"type": "string" +}, +"id": { +"description": "Output only. [Output Only] The unique identifier for this resource. This identifier is\ndefined by the server.", +"format": "uint64", +"readOnly": true, +"type": "string" +}, +"kind": { +"default": "compute#reservationSlot", +"description": "Output only. [Output Only] The type of resource. Alwayscompute#reservationSlot for reservation slots.", +"readOnly": true, +"type": "string" +}, +"name": { +"description": "Output only. [Output Only] The name of the reservation slot.", +"readOnly": true, +"type": "string" +}, +"physicalTopology": { +"$ref": "ReservationSlotPhysicalTopology", +"deprecated": true, +"description": "Output only. [Output Only] The physical topology of the reservation slot.", +"readOnly": true +}, +"selfLink": { +"description": "Output only. [Output Only] A server-defined fully-qualified URL for this resource.", +"readOnly": true, +"type": "string" +}, +"selfLinkWithId": { +"description": "Output only. [Output Only] A server-defined URL for this resource with the resource ID.", +"readOnly": true, +"type": "string" +}, +"shareSettings": { +"$ref": "ShareSettings", +"description": "Specify share settings to create a shared slot. Set to empty\nto inherit the share settings from a parent resource." +}, +"state": { +"description": "Output only. [Output Only] The state of the reservation slot.", +"enum": [ +"ACTIVE", +"CREATING", +"DELETING", +"STATE_UNSPECIFIED", +"UNAVAILABLE" +], +"enumDescriptions": [ +"The reservation slot has allocated all its resources.", +"The resources are being allocated for the reservation slot.", +"The reservation slot is currently being deleted.", +"", +"The reservation slot is currently unavailable." +], +"readOnly": true, +"type": "string" +}, +"status": { +"$ref": "ReservationSlotStatus", +"description": "Output only. [Output Only] The status of the reservation slot.", +"readOnly": true +}, +"zone": { +"description": "Output only. [Output Only] The zone in which the reservation slot resides.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"ReservationSlotPhysicalTopology": { +"id": "ReservationSlotPhysicalTopology", +"properties": { +"block": { +"description": "The unique identifier of the capacity block within the cluster.", +"type": "string" +}, +"cluster": { +"description": "The cluster name of the reservation sub-block.", +"type": "string" +}, +"host": { +"description": "The unique identifier of the capacity host within the capacity sub-block.", +"type": "string" +}, +"subBlock": { +"description": "The unique identifier of the capacity sub-block within the capacity\nblock.", +"type": "string" +} +}, +"type": "object" +}, +"ReservationSlotStatus": { +"id": "ReservationSlotStatus", +"properties": { +"physicalTopology": { +"$ref": "ReservationSlotPhysicalTopology", +"description": "Output only. [Output Only] The physical topology of the reservation sub-block.", +"readOnly": true +}, +"rdmaIpAddresses": { +"description": "Output only. The RDMA IP address of the physical host.", +"items": { +"type": "string" +}, +"readOnly": true, +"type": "array" +}, +"runningInstances": { +"description": "Output only. The URIs of the instances currently running on this slot.", +"items": { +"type": "string" +}, +"readOnly": true, +"type": "array" +} +}, +"type": "object" +}, +"ReservationSlotsGetResponse": { +"id": "ReservationSlotsGetResponse", +"properties": { +"resource": { +"$ref": "ReservationSlot" +} +}, +"type": "object" +}, +"ReservationSlotsListResponse": { +"description": "A list of reservation slots within a single reservation.", +"id": "ReservationSlotsListResponse", +"properties": { +"id": { +"description": "The unique identifier for the resource; defined by the server.", +"type": "string" +}, +"items": { +"description": "A list of reservation slot resources.", +"items": { +"$ref": "ReservationSlot" +}, +"type": "array" +}, +"kind": { +"default": "compute#reservationSlot", +"description": "The type of resource. Alwayscompute#reservationSlot for a list of reservation\nslots.", +"type": "string" +}, +"nextPageToken": { +"description": "This token allows you to get the next page of results for\nlist requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for\nthe query parameter pageToken in the next list request.\nSubsequent list requests will have their own nextPageToken to\ncontinue paging through the results.", +"type": "string" +}, +"selfLink": { +"description": "The server-defined URL for this resource.", +"type": "string" +}, +"warning": { +"description": "An informational warning message.", +"properties": { +"code": { +"description": "[Output Only] A warning code, if applicable. For example, Compute\nEngine returns NO_RESULTS_ON_PAGE if there\nare no results in the response.", +"enum": [ +"CLEANUP_FAILED", +"DEPRECATED_RESOURCE_USED", +"DEPRECATED_TYPE_USED", +"DISK_SIZE_LARGER_THAN_IMAGE_SIZE", +"EXPERIMENTAL_TYPE_USED", +"EXTERNAL_API_WARNING", +"FIELD_VALUE_OVERRIDEN", +"INJECTED_KERNELS_DEPRECATED", +"INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", +"LARGE_DEPLOYMENT_WARNING", +"LIST_OVERHEAD_QUOTA_EXCEED", +"MISSING_TYPE_DEPENDENCY", +"NEXT_HOP_ADDRESS_NOT_ASSIGNED", +"NEXT_HOP_CANNOT_IP_FORWARD", +"NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", +"NEXT_HOP_INSTANCE_NOT_FOUND", +"NEXT_HOP_INSTANCE_NOT_ON_NETWORK", +"NEXT_HOP_NOT_RUNNING", +"NOT_CRITICAL_ERROR", +"NO_RESULTS_ON_PAGE", +"PARTIAL_SUCCESS", +"QUOTA_INFO_UNAVAILABLE", +"REQUIRED_TOS_AGREEMENT", +"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", +"RESOURCE_NOT_DELETED", +"SCHEMA_VALIDATION_IGNORED", +"SINGLE_INSTANCE_PROPERTY_TEMPLATE", +"UNDECLARED_PROPERTIES", +"UNREACHABLE" +], +"enumDeprecated": [ +false, +false, +false, +false, +false, +false, +true, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false +], +"enumDescriptions": [ +"Warning about failed cleanup of transient changes made by a failed\noperation.", +"A link to a deprecated resource was created.", +"When deploying and at least one of the resources has a type marked as\ndeprecated", +"The user created a boot disk that is larger than image size.", +"When deploying and at least one of the resources has a type marked as\nexperimental", +"Warning that is present in an external api call", +"Warning that value of a field has been overridden.\nDeprecated unused field.", +"The operation involved use of an injected kernel, which is deprecated.", +"A WEIGHTED_MAGLEV backend service is associated with a health check that is\nnot of type HTTP/HTTPS/HTTP2.", +"When deploying a deployment with a exceedingly large number of resources", +"Resource can't be retrieved due to list overhead quota exceed\nwhich captures the amount of resources filtered out by\nuser-defined list filter.", +"A resource depends on a missing type", +"The route's nextHopIp address is not assigned to an instance on the\nnetwork.", +"The route's next hop instance cannot ip forward.", +"The route's nextHopInstance URL refers to an instance that does not have an\nipv6 interface on the same network as the route.", +"The route's nextHopInstance URL refers to an instance that does not exist.", +"The route's nextHopInstance URL refers to an instance that is not on the\nsame network as the route.", +"The route's next hop instance does not have a status of RUNNING.", +"Error which is not critical. We decided to continue the process despite\nthe mentioned error.", +"No results are present on a particular list page.", +"Success is reported, but some results may be missing due to errors", +"Quota information is not available to client requests (e.g:\nregions.list).", +"The user attempted to use a resource that requires a TOS they have not\naccepted.", +"Warning that a resource is in use.", +"One or more of the resources set to auto-delete could not be deleted\nbecause they were in use.", +"When a resource schema validation is ignored.", +"Instance template used in instance group manager is valid as such, but\nits application does not make a lot of sense, because it allows only\nsingle instance in instance group.", +"When undeclared properties in the schema are present", +"A given scope cannot be reached." +], +"type": "string" +}, +"data": { +"description": "[Output Only] Metadata about this warning in key:\nvalue format. For example:\n\n\"data\": [\n {\n \"key\": \"scope\",\n \"value\": \"zones/us-east1-d\"\n }", +"items": { +"properties": { +"key": { +"description": "[Output Only] A key that provides more detail on the warning being\nreturned. For example, for warnings where there are no results in a list\nrequest for a particular zone, this key might be scope and\nthe key value might be the zone name. Other examples might be a key\nindicating a deprecated resource and a suggested replacement, or a\nwarning about invalid network settings (for example, if an instance\nattempts to perform IP forwarding but is not enabled for IP forwarding).", +"type": "string" +}, +"value": { +"description": "[Output Only] A warning data value corresponding to the key.", +"type": "string" +} +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "[Output Only] A human-readable description of the warning code.", +"type": "string" +} +}, +"type": "object" +} +}, +"type": "object" +}, +"ReservationSubBlock": { +"description": "Represents a reservation subBlock resource.", +"id": "ReservationSubBlock", +"properties": { +"acceleratorTopologiesInfo": { +"$ref": "AcceleratorTopologiesInfo", +"description": "Output only. [Output Only] Slice info for the reservation subBlock.", +"readOnly": true +}, +"count": { +"description": "Output only. [Output Only] The number of hosts that are allocated in this\nreservation subBlock.", +"format": "int32", +"readOnly": true, +"type": "integer" +}, +"creationTimestamp": { +"description": "Output only. [Output Only] Creation timestamp inRFC3339 text format.", +"readOnly": true, +"type": "string" +}, +"healthInfo": { +"$ref": "ReservationSubBlockHealthInfo", +"description": "Output only. [Output Only] Health information for the reservation subBlock.", +"readOnly": true +}, +"id": { +"description": "Output only. [Output Only] The unique identifier for the resource. This identifier is\ndefined by the server.", +"format": "uint64", +"readOnly": true, +"type": "string" +}, +"inUseCount": { +"description": "Output only. [Output Only] The number of instances that are currently in use on this\nreservation subBlock.", +"format": "int32", +"readOnly": true, +"type": "integer" +}, +"inUseHostCount": { +"description": "Output only. Number of hosts currently in use. If there is one or more Instances running\non the host, it is considered in use.", +"format": "int32", +"readOnly": true, +"type": "integer" +}, +"kind": { +"default": "compute#reservationSubBlock", +"description": "Output only. [Output Only] Type of the resource. Alwayscompute#reservationSubBlock for reservation subBlocks.", +"readOnly": true, +"type": "string" +}, +"name": { +"description": "Output only. [Output Only] The name of this reservation subBlock generated by Google\nCompute Engine. The name must be 1-63 characters long, and comply with\nRFC1035 @pattern [a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"readOnly": true, +"type": "string" +}, +"physicalTopology": { +"$ref": "ReservationSubBlockPhysicalTopology", +"description": "Output only. [Output Only] The physical topology of the reservation subBlock.", +"readOnly": true +}, +"reservationSubBlockMaintenance": { +"$ref": "GroupMaintenanceInfo", +"description": "Output only. Maintenance information for this reservation subBlock.", +"readOnly": true +}, +"selfLink": { +"description": "Output only. [Output Only] Server-defined fully-qualified URL for this resource.", +"readOnly": true, +"type": "string" +}, +"selfLinkWithId": { +"description": "Output only. [Output Only] Server-defined URL for this resource with the resource id.", +"readOnly": true, +"type": "string" +}, +"status": { +"description": "Output only. [Output Only] Status of the reservation subBlock.", +"enum": [ +"CREATING", +"DELETING", +"INVALID", +"READY" +], +"enumDescriptions": [ +"Resources are being allocated for the reservation subBlock.", +"Reservation subBlock is currently being deleted.", +"", +"Reservation subBlock has allocated all its resources." +], +"readOnly": true, +"type": "string" +}, +"zone": { +"description": "Output only. [Output Only] Zone in which the reservation subBlock resides.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"ReservationSubBlockHealthInfo": { +"description": "Health information for the reservation subBlock.", +"id": "ReservationSubBlockHealthInfo", +"properties": { +"degradedHostCount": { +"description": "The number of degraded hosts in the reservation subBlock.", +"format": "int32", +"type": "integer" +}, +"degradedInfraCount": { +"description": "The number of degraded infrastructure (e.g NV link domain) in the\nreservation subblock.", +"format": "int32", +"type": "integer" +}, +"healthStatus": { +"description": "The health status of the reservation subBlock.", +"enum": [ +"DEGRADED", +"HEALTHY", +"HEALTH_STATUS_UNSPECIFIED" +], +"enumDescriptions": [ +"The reservation subBlock is degraded.", +"The reservation subBlock is healthy.", +"The health status of the reservation subBlock is unspecified." +], +"type": "string" +}, +"healthyHostCount": { +"description": "The number of healthy hosts in the reservation subBlock.", +"format": "int32", +"type": "integer" +}, +"healthyInfraCount": { +"description": "The number of healthy infrastructure (e.g NV link domain) in the\nreservation subblock.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"ReservationSubBlockPhysicalTopology": { +"id": "ReservationSubBlockPhysicalTopology", +"properties": { +"block": { +"description": "The hash of the capacity block within the cluster.", +"type": "string" +}, +"cluster": { +"description": "The cluster name of the reservation subBlock.", +"type": "string" +}, +"subBlock": { +"description": "The hash of the capacity sub-block within the capacity block.", +"type": "string" +} +}, +"type": "object" +}, +"ReservationSubBlocksGetResponse": { +"id": "ReservationSubBlocksGetResponse", +"properties": { +"resource": { +"$ref": "ReservationSubBlock" +} +}, +"type": "object" +}, +"ReservationSubBlocksListResponse": { +"description": "A list of reservation subBlocks under a single reservation.", +"id": "ReservationSubBlocksListResponse", +"properties": { +"id": { +"description": "Unique identifier for the resource; defined by the server.", +"type": "string" +}, +"items": { +"description": "A list of reservation subBlock resources.", +"items": { +"$ref": "ReservationSubBlock" +}, +"type": "array" +}, +"kind": { +"default": "compute#reservationSubBlock", +"description": "Type of the resource. Alwayscompute#reservationSubBlock for a list of reservation\nsubBlocks.", +"type": "string" +}, +"nextPageToken": { +"description": "This token allows you to get the next page of results for\nlist requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for\nthe query parameter pageToken in the next list request.\nSubsequent list requests will have their own nextPageToken to\ncontinue paging through the results.", +"type": "string" +}, +"selfLink": { +"description": "Server-defined URL for this resource.", +"type": "string" +}, +"warning": { +"description": "Informational warning message.", +"properties": { +"code": { +"description": "[Output Only] A warning code, if applicable. For example, Compute\nEngine returns NO_RESULTS_ON_PAGE if there\nare no results in the response.", +"enum": [ +"CLEANUP_FAILED", +"DEPRECATED_RESOURCE_USED", +"DEPRECATED_TYPE_USED", +"DISK_SIZE_LARGER_THAN_IMAGE_SIZE", +"EXPERIMENTAL_TYPE_USED", +"EXTERNAL_API_WARNING", +"FIELD_VALUE_OVERRIDEN", +"INJECTED_KERNELS_DEPRECATED", +"INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", +"LARGE_DEPLOYMENT_WARNING", +"LIST_OVERHEAD_QUOTA_EXCEED", +"MISSING_TYPE_DEPENDENCY", +"NEXT_HOP_ADDRESS_NOT_ASSIGNED", +"NEXT_HOP_CANNOT_IP_FORWARD", +"NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", +"NEXT_HOP_INSTANCE_NOT_FOUND", +"NEXT_HOP_INSTANCE_NOT_ON_NETWORK", +"NEXT_HOP_NOT_RUNNING", +"NOT_CRITICAL_ERROR", +"NO_RESULTS_ON_PAGE", +"PARTIAL_SUCCESS", +"QUOTA_INFO_UNAVAILABLE", +"REQUIRED_TOS_AGREEMENT", +"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", +"RESOURCE_NOT_DELETED", +"SCHEMA_VALIDATION_IGNORED", +"SINGLE_INSTANCE_PROPERTY_TEMPLATE", +"UNDECLARED_PROPERTIES", +"UNREACHABLE" +], +"enumDeprecated": [ +false, +false, +false, +false, +false, +false, +true, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false +], +"enumDescriptions": [ +"Warning about failed cleanup of transient changes made by a failed\noperation.", +"A link to a deprecated resource was created.", +"When deploying and at least one of the resources has a type marked as\ndeprecated", +"The user created a boot disk that is larger than image size.", +"When deploying and at least one of the resources has a type marked as\nexperimental", +"Warning that is present in an external api call", +"Warning that value of a field has been overridden.\nDeprecated unused field.", +"The operation involved use of an injected kernel, which is deprecated.", +"A WEIGHTED_MAGLEV backend service is associated with a health check that is\nnot of type HTTP/HTTPS/HTTP2.", +"When deploying a deployment with a exceedingly large number of resources", +"Resource can't be retrieved due to list overhead quota exceed\nwhich captures the amount of resources filtered out by\nuser-defined list filter.", +"A resource depends on a missing type", +"The route's nextHopIp address is not assigned to an instance on the\nnetwork.", +"The route's next hop instance cannot ip forward.", +"The route's nextHopInstance URL refers to an instance that does not have an\nipv6 interface on the same network as the route.", +"The route's nextHopInstance URL refers to an instance that does not exist.", +"The route's nextHopInstance URL refers to an instance that is not on the\nsame network as the route.", +"The route's next hop instance does not have a status of RUNNING.", +"Error which is not critical. We decided to continue the process despite\nthe mentioned error.", +"No results are present on a particular list page.", +"Success is reported, but some results may be missing due to errors", +"Quota information is not available to client requests (e.g:\nregions.list).", +"The user attempted to use a resource that requires a TOS they have not\naccepted.", +"Warning that a resource is in use.", +"One or more of the resources set to auto-delete could not be deleted\nbecause they were in use.", +"When a resource schema validation is ignored.", +"Instance template used in instance group manager is valid as such, but\nits application does not make a lot of sense, because it allows only\nsingle instance in instance group.", +"When undeclared properties in the schema are present", +"A given scope cannot be reached." +], +"type": "string" +}, +"data": { +"description": "[Output Only] Metadata about this warning in key:\nvalue format. For example:\n\n\"data\": [\n {\n \"key\": \"scope\",\n \"value\": \"zones/us-east1-d\"\n }", +"items": { +"properties": { +"key": { +"description": "[Output Only] A key that provides more detail on the warning being\nreturned. For example, for warnings where there are no results in a list\nrequest for a particular zone, this key might be scope and\nthe key value might be the zone name. Other examples might be a key\nindicating a deprecated resource and a suggested replacement, or a\nwarning about invalid network settings (for example, if an instance\nattempts to perform IP forwarding but is not enabled for IP forwarding).", +"type": "string" +}, +"value": { +"description": "[Output Only] A warning data value corresponding to the key.", +"type": "string" +} +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "[Output Only] A human-readable description of the warning code.", +"type": "string" +} +}, +"type": "object" +} +}, +"type": "object" +}, +"ReservationSubBlocksReportFaultyRequest": { +"id": "ReservationSubBlocksReportFaultyRequest", +"properties": { +"disruptionSchedule": { +"description": "The disruption schedule for the subBlock.", +"enum": [ +"DISRUPTION_SCHEDULE_UNSPECIFIED", +"IMMEDIATE" +], +"enumDescriptions": [ +"", +"All VMs will be disrupted immediately." +], +"type": "string" +}, +"failureComponent": { +"description": "The component that experienced the fault.", +"enum": [ +"FAILURE_COMPONENT_UNSPECIFIED", +"MULTIPLE_FAULTY_HOSTS", +"NVLINK_SWITCH" +], +"enumDescriptions": [ +"", +"Multiple hosts experienced the fault.", +"The NVLink switch experienced the fault." +], +"type": "string" +}, +"faultReasons": { +"description": "The reasons for the fault experienced with the subBlock.", +"items": { +"$ref": "ReservationSubBlocksReportFaultyRequestFaultReason" +}, +"type": "array" +} +}, +"type": "object" +}, +"ReservationSubBlocksReportFaultyRequestFaultReason": { +"description": "The reason for the fault experienced with the subBlock.", +"id": "ReservationSubBlocksReportFaultyRequestFaultReason", +"properties": { +"behavior": { +"description": "The behavior of the fault experienced with the subBlock.", +"enum": [ +"FAULT_BEHAVIOR_UNSPECIFIED", +"GPU_ERROR", +"PERFORMANCE", +"SILENT_DATA_CORRUPTION", +"SWITCH_FAILURE" +], +"enumDescriptions": [ +"", +"The subBlock experienced a GPU error.", +"The subBlock experienced performance issues.", +"The subBlock experienced silent data corruption.", +"The subBlock experienced a switch failure." +], +"type": "string" +}, +"description": { +"description": "The description of the fault experienced with the subBlock.", +"type": "string" +} +}, +"type": "object" +}, +"ReservationsBlocksPerformMaintenanceRequest": { +"id": "ReservationsBlocksPerformMaintenanceRequest", +"properties": { +"maintenanceScope": { +"description": "Specifies if all, running or unused hosts are in scope for this request.", +"enum": [ +"ALL", +"MAINTENANCE_SCOPE_UNSPECIFIED", +"RUNNING_VMS", +"UNUSED_CAPACITY" +], +"enumDescriptions": [ +"Trigger maintenance for all hosts belonging to this reservation\nirrespective of whether VMs are running on them or not.", +"Internal only", +"Trigger maintenance only on the hosts belonging to this reservation which\nhave VMs running on them.", +"Trigger maintenance only on the hosts belonging to this reservation which\ndo not have any VMs running on them. This is not allowed for Standard ExR" +], +"type": "string" +} +}, +"type": "object" +}, +"ReservationsPerformMaintenanceRequest": { +"id": "ReservationsPerformMaintenanceRequest", +"properties": { +"maintenanceScope": { +"description": "Specifies if all, running or unused hosts are in scope for this request.", +"enum": [ +"ALL", +"MAINTENANCE_SCOPE_UNSPECIFIED", +"RUNNING_VMS", +"UNUSED_CAPACITY" +], +"enumDescriptions": [ +"Trigger maintenance for all hosts belonging to this reservation\nirrespective of whether VMs are running on them or not.", +"Internal only", +"Trigger maintenance only on the hosts belonging to this reservation which\nhave VMs running on them.", +"Trigger maintenance only on the hosts belonging to this reservation which\ndo not have any VMs running on them. This is not allowed for Standard ExR" +], +"type": "string" +} +}, +"type": "object" +}, +"ReservationsResizeRequest": { +"id": "ReservationsResizeRequest", +"properties": { +"specificSkuCount": { +"description": "Number of allocated resources can be resized with minimum = 1 and\nmaximum = 1000.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"ReservationsScopedList": { +"id": "ReservationsScopedList", +"properties": { +"reservations": { +"description": "A list of reservations contained in this scope.", +"items": { +"$ref": "Reservation" +}, +"type": "array" +}, +"warning": { +"description": "Informational warning which replaces the list of reservations when\nthe list is empty.", +"properties": { +"code": { +"description": "[Output Only] A warning code, if applicable. For example, Compute\nEngine returns NO_RESULTS_ON_PAGE if there\nare no results in the response.", +"enum": [ +"CLEANUP_FAILED", +"DEPRECATED_RESOURCE_USED", +"DEPRECATED_TYPE_USED", +"DISK_SIZE_LARGER_THAN_IMAGE_SIZE", +"EXPERIMENTAL_TYPE_USED", +"EXTERNAL_API_WARNING", +"FIELD_VALUE_OVERRIDEN", +"INJECTED_KERNELS_DEPRECATED", +"INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", +"LARGE_DEPLOYMENT_WARNING", +"LIST_OVERHEAD_QUOTA_EXCEED", +"MISSING_TYPE_DEPENDENCY", +"NEXT_HOP_ADDRESS_NOT_ASSIGNED", +"NEXT_HOP_CANNOT_IP_FORWARD", +"NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", +"NEXT_HOP_INSTANCE_NOT_FOUND", +"NEXT_HOP_INSTANCE_NOT_ON_NETWORK", +"NEXT_HOP_NOT_RUNNING", +"NOT_CRITICAL_ERROR", +"NO_RESULTS_ON_PAGE", +"PARTIAL_SUCCESS", +"QUOTA_INFO_UNAVAILABLE", +"REQUIRED_TOS_AGREEMENT", +"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", +"RESOURCE_NOT_DELETED", +"SCHEMA_VALIDATION_IGNORED", +"SINGLE_INSTANCE_PROPERTY_TEMPLATE", +"UNDECLARED_PROPERTIES", +"UNREACHABLE" +], +"enumDeprecated": [ +false, +false, +false, +false, +false, +false, +true, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false +], +"enumDescriptions": [ +"Warning about failed cleanup of transient changes made by a failed\noperation.", +"A link to a deprecated resource was created.", +"When deploying and at least one of the resources has a type marked as\ndeprecated", +"The user created a boot disk that is larger than image size.", +"When deploying and at least one of the resources has a type marked as\nexperimental", +"Warning that is present in an external api call", +"Warning that value of a field has been overridden.\nDeprecated unused field.", +"The operation involved use of an injected kernel, which is deprecated.", +"A WEIGHTED_MAGLEV backend service is associated with a health check that is\nnot of type HTTP/HTTPS/HTTP2.", +"When deploying a deployment with a exceedingly large number of resources", +"Resource can't be retrieved due to list overhead quota exceed\nwhich captures the amount of resources filtered out by\nuser-defined list filter.", +"A resource depends on a missing type", +"The route's nextHopIp address is not assigned to an instance on the\nnetwork.", +"The route's next hop instance cannot ip forward.", +"The route's nextHopInstance URL refers to an instance that does not have an\nipv6 interface on the same network as the route.", +"The route's nextHopInstance URL refers to an instance that does not exist.", +"The route's nextHopInstance URL refers to an instance that is not on the\nsame network as the route.", +"The route's next hop instance does not have a status of RUNNING.", +"Error which is not critical. We decided to continue the process despite\nthe mentioned error.", +"No results are present on a particular list page.", +"Success is reported, but some results may be missing due to errors", +"Quota information is not available to client requests (e.g:\nregions.list).", +"The user attempted to use a resource that requires a TOS they have not\naccepted.", +"Warning that a resource is in use.", +"One or more of the resources set to auto-delete could not be deleted\nbecause they were in use.", +"When a resource schema validation is ignored.", +"Instance template used in instance group manager is valid as such, but\nits application does not make a lot of sense, because it allows only\nsingle instance in instance group.", +"When undeclared properties in the schema are present", +"A given scope cannot be reached." +], +"type": "string" +}, +"data": { +"description": "[Output Only] Metadata about this warning in key:\nvalue format. For example:\n\n\"data\": [\n {\n \"key\": \"scope\",\n \"value\": \"zones/us-east1-d\"\n }", +"items": { +"properties": { +"key": { +"description": "[Output Only] A key that provides more detail on the warning being\nreturned. For example, for warnings where there are no results in a list\nrequest for a particular zone, this key might be scope and\nthe key value might be the zone name. Other examples might be a key\nindicating a deprecated resource and a suggested replacement, or a\nwarning about invalid network settings (for example, if an instance\nattempts to perform IP forwarding but is not enabled for IP forwarding).", +"type": "string" +}, +"value": { +"description": "[Output Only] A warning data value corresponding to the key.", +"type": "string" +} +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "[Output Only] A human-readable description of the warning code.", +"type": "string" +} +}, +"type": "object" +} +}, +"type": "object" +}, +"ResourceCommitment": { +"description": "Commitment for a particular hardware resource (a commitment is composed of\none or more of these).", +"id": "ResourceCommitment", +"properties": { +"acceleratorType": { +"description": "Name of the accelerator type or GPU resource. Specify this field only when\nthe type of hardware resource is ACCELERATOR.", +"type": "string" +}, +"amount": { +"description": "The quantity of the hardware resource that you want to commit to purchasing\n(in a type-dependent unit).\n \n - For vCPUs, you must specify an integer value.\n - For memory, you specify the amount of MB that you want. The value you\n specify must be a multiple of 256 MB, with up to 6.5 GB of\n memory per every vCPU.\n - For GPUs, you must specify an integer value.\n - For Local SSD disks, you must specify the amount in GB. The size of a\n single Local SSD disk is 375 GB.", +"format": "int64", +"type": "string" +}, +"type": { +"description": "The type of hardware resource that you want to specify.\nYou can specify any of the following values:\n \n - VCPU\n - MEMORY\n - LOCAL_SSD\n - ACCELERATOR\n\n\n\nSpecify as a separate entry in the list for each\nindividual resource type.", +"enum": [ +"ACCELERATOR", +"LOCAL_SSD", +"MEMORY", +"UNSPECIFIED", +"VCPU" +], +"enumDescriptions": [ +"", +"", +"", +"", +"" +], +"type": "string" +} +}, +"type": "object" +}, +"ResourceGroupReference": { +"id": "ResourceGroupReference", +"properties": { +"group": { +"description": "A URI referencing one of the instance groups or network endpoint groups\nlisted in the backend service.", +"type": "string" +} +}, +"type": "object" +}, +"ResourcePoliciesScopedList": { +"id": "ResourcePoliciesScopedList", +"properties": { +"resourcePolicies": { +"description": "A list of resourcePolicies contained in this scope.", +"items": { +"$ref": "ResourcePolicy" +}, +"type": "array" +}, +"warning": { +"description": "Informational warning which replaces the list of resourcePolicies when\nthe list is empty.", +"properties": { +"code": { +"description": "[Output Only] A warning code, if applicable. For example, Compute\nEngine returns NO_RESULTS_ON_PAGE if there\nare no results in the response.", +"enum": [ +"CLEANUP_FAILED", +"DEPRECATED_RESOURCE_USED", +"DEPRECATED_TYPE_USED", +"DISK_SIZE_LARGER_THAN_IMAGE_SIZE", +"EXPERIMENTAL_TYPE_USED", +"EXTERNAL_API_WARNING", +"FIELD_VALUE_OVERRIDEN", +"INJECTED_KERNELS_DEPRECATED", +"INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", +"LARGE_DEPLOYMENT_WARNING", +"LIST_OVERHEAD_QUOTA_EXCEED", +"MISSING_TYPE_DEPENDENCY", +"NEXT_HOP_ADDRESS_NOT_ASSIGNED", +"NEXT_HOP_CANNOT_IP_FORWARD", +"NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", +"NEXT_HOP_INSTANCE_NOT_FOUND", +"NEXT_HOP_INSTANCE_NOT_ON_NETWORK", +"NEXT_HOP_NOT_RUNNING", +"NOT_CRITICAL_ERROR", +"NO_RESULTS_ON_PAGE", +"PARTIAL_SUCCESS", +"QUOTA_INFO_UNAVAILABLE", +"REQUIRED_TOS_AGREEMENT", +"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", +"RESOURCE_NOT_DELETED", +"SCHEMA_VALIDATION_IGNORED", +"SINGLE_INSTANCE_PROPERTY_TEMPLATE", +"UNDECLARED_PROPERTIES", +"UNREACHABLE" +], +"enumDeprecated": [ +false, +false, +false, +false, +false, +false, +true, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false +], +"enumDescriptions": [ +"Warning about failed cleanup of transient changes made by a failed\noperation.", +"A link to a deprecated resource was created.", +"When deploying and at least one of the resources has a type marked as\ndeprecated", +"The user created a boot disk that is larger than image size.", +"When deploying and at least one of the resources has a type marked as\nexperimental", +"Warning that is present in an external api call", +"Warning that value of a field has been overridden.\nDeprecated unused field.", +"The operation involved use of an injected kernel, which is deprecated.", +"A WEIGHTED_MAGLEV backend service is associated with a health check that is\nnot of type HTTP/HTTPS/HTTP2.", +"When deploying a deployment with a exceedingly large number of resources", +"Resource can't be retrieved due to list overhead quota exceed\nwhich captures the amount of resources filtered out by\nuser-defined list filter.", +"A resource depends on a missing type", +"The route's nextHopIp address is not assigned to an instance on the\nnetwork.", +"The route's next hop instance cannot ip forward.", +"The route's nextHopInstance URL refers to an instance that does not have an\nipv6 interface on the same network as the route.", +"The route's nextHopInstance URL refers to an instance that does not exist.", +"The route's nextHopInstance URL refers to an instance that is not on the\nsame network as the route.", +"The route's next hop instance does not have a status of RUNNING.", +"Error which is not critical. We decided to continue the process despite\nthe mentioned error.", +"No results are present on a particular list page.", +"Success is reported, but some results may be missing due to errors", +"Quota information is not available to client requests (e.g:\nregions.list).", +"The user attempted to use a resource that requires a TOS they have not\naccepted.", +"Warning that a resource is in use.", +"One or more of the resources set to auto-delete could not be deleted\nbecause they were in use.", +"When a resource schema validation is ignored.", +"Instance template used in instance group manager is valid as such, but\nits application does not make a lot of sense, because it allows only\nsingle instance in instance group.", +"When undeclared properties in the schema are present", +"A given scope cannot be reached." +], +"type": "string" +}, +"data": { +"description": "[Output Only] Metadata about this warning in key:\nvalue format. For example:\n\n\"data\": [\n {\n \"key\": \"scope\",\n \"value\": \"zones/us-east1-d\"\n }", +"items": { +"properties": { +"key": { +"description": "[Output Only] A key that provides more detail on the warning being\nreturned. For example, for warnings where there are no results in a list\nrequest for a particular zone, this key might be scope and\nthe key value might be the zone name. Other examples might be a key\nindicating a deprecated resource and a suggested replacement, or a\nwarning about invalid network settings (for example, if an instance\nattempts to perform IP forwarding but is not enabled for IP forwarding).", +"type": "string" +}, +"value": { +"description": "[Output Only] A warning data value corresponding to the key.", +"type": "string" +} +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "[Output Only] A human-readable description of the warning code.", +"type": "string" +} +}, +"type": "object" +} +}, +"type": "object" +}, +"ResourcePolicy": { +"description": "Represents a Resource Policy resource. You can use resource policies to\nschedule actions for some Compute Engine resources. For example, you can\nuse them toschedule persistent disk\nsnapshots.", +"id": "ResourcePolicy", +"properties": { +"creationTimestamp": { +"description": "Output only. [Output Only] Creation timestamp inRFC3339\ntext format.", +"readOnly": true, +"type": "string" +}, +"description": { +"type": "string" +}, +"diskConsistencyGroupPolicy": { +"$ref": "ResourcePolicyDiskConsistencyGroupPolicy", +"description": "Resource policy for disk consistency groups." +}, +"groupPlacementPolicy": { +"$ref": "ResourcePolicyGroupPlacementPolicy", +"description": "Resource policy for instances for placement configuration." +}, +"id": { +"description": "Output only. [Output Only] The unique identifier for the resource. This identifier is\ndefined by the server.", +"format": "uint64", +"readOnly": true, +"type": "string" +}, +"instanceSchedulePolicy": { +"$ref": "ResourcePolicyInstanceSchedulePolicy", +"description": "Resource policy for scheduling instance operations." +}, +"kind": { +"default": "compute#resourcePolicy", +"description": "Output only. [Output Only] Type of the resource. Alwayscompute#resource_policies for resource policies.", +"readOnly": true, +"type": "string" +}, +"name": { +"annotations": { +"required": [ +"compute.instances.insert" +] +}, +"description": "The name of the resource, provided by the client when initially creating\nthe resource. The resource name must be 1-63 characters long, and comply\nwithRFC1035.\nSpecifically, the name must be 1-63 characters long and match the regular\nexpression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first\ncharacter must be a lowercase letter, and all following characters must be\na dash, lowercase letter, or digit, except the last character, which cannot\nbe a dash.", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"type": "string" +}, +"region": { +"readOnly": true, +"type": "string" +}, +"resourceStatus": { +"$ref": "ResourcePolicyResourceStatus", +"description": "Output only. [Output Only] The system status of the resource policy.", +"readOnly": true +}, +"selfLink": { +"description": "Output only. [Output Only] Server-defined fully-qualified URL for this resource.", +"readOnly": true, +"type": "string" +}, +"snapshotSchedulePolicy": { +"$ref": "ResourcePolicySnapshotSchedulePolicy", +"description": "Resource policy for persistent disks for creating snapshots." +}, +"status": { +"description": "Output only. [Output Only] The status of resource policy creation.", +"enum": [ +"CREATING", +"DELETING", +"EXPIRED", +"INVALID", +"READY" +], +"enumDescriptions": [ +"Resource policy is being created.", +"Resource policy is being deleted.", +"Resource policy is expired and will not run again.", +"", +"Resource policy is ready to be used." +], +"readOnly": true, +"type": "string" +}, +"workloadPolicy": { +"$ref": "ResourcePolicyWorkloadPolicy", +"description": "Resource policy for defining instance placement for MIGs." +} +}, +"type": "object" +}, +"ResourcePolicyAggregatedList": { +"description": "Contains a list of resourcePolicies.", +"id": "ResourcePolicyAggregatedList", +"properties": { +"etag": { +"type": "string" +}, +"id": { +"description": "[Output Only] Unique identifier for the resource; defined by the server.", +"type": "string" +}, +"items": { +"additionalProperties": { +"$ref": "ResourcePoliciesScopedList", +"description": "Name of the scope containing this set of resourcePolicies." +}, +"description": "A list of ResourcePolicy resources.", +"type": "object" +}, +"kind": { +"default": "compute#resourcePolicyAggregatedList", +"description": "Output only. Type of resource.", +"readOnly": true, +"type": "string" +}, +"nextPageToken": { +"description": "[Output Only] This token allows you to get the next page of results for\nlist requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for\nthe query parameter pageToken in the next list request.\nSubsequent list requests will have their own nextPageToken to\ncontinue paging through the results.", +"type": "string" +}, +"selfLink": { +"description": "Output only. [Output Only] Server-defined URL for this resource.", +"readOnly": true, +"type": "string" +}, +"unreachables": { +"description": "Output only. [Output Only] Unreachable resources.", +"items": { +"type": "string" +}, +"readOnly": true, +"type": "array" +}, +"warning": { +"description": "[Output Only] Informational warning message.", +"properties": { +"code": { +"description": "[Output Only] A warning code, if applicable. For example, Compute\nEngine returns NO_RESULTS_ON_PAGE if there\nare no results in the response.", +"enum": [ +"CLEANUP_FAILED", +"DEPRECATED_RESOURCE_USED", +"DEPRECATED_TYPE_USED", +"DISK_SIZE_LARGER_THAN_IMAGE_SIZE", +"EXPERIMENTAL_TYPE_USED", +"EXTERNAL_API_WARNING", +"FIELD_VALUE_OVERRIDEN", +"INJECTED_KERNELS_DEPRECATED", +"INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", +"LARGE_DEPLOYMENT_WARNING", +"LIST_OVERHEAD_QUOTA_EXCEED", +"MISSING_TYPE_DEPENDENCY", +"NEXT_HOP_ADDRESS_NOT_ASSIGNED", +"NEXT_HOP_CANNOT_IP_FORWARD", +"NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", +"NEXT_HOP_INSTANCE_NOT_FOUND", +"NEXT_HOP_INSTANCE_NOT_ON_NETWORK", +"NEXT_HOP_NOT_RUNNING", +"NOT_CRITICAL_ERROR", +"NO_RESULTS_ON_PAGE", +"PARTIAL_SUCCESS", +"QUOTA_INFO_UNAVAILABLE", +"REQUIRED_TOS_AGREEMENT", +"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", +"RESOURCE_NOT_DELETED", +"SCHEMA_VALIDATION_IGNORED", +"SINGLE_INSTANCE_PROPERTY_TEMPLATE", +"UNDECLARED_PROPERTIES", +"UNREACHABLE" +], +"enumDeprecated": [ +false, +false, +false, +false, +false, +false, +true, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false +], +"enumDescriptions": [ +"Warning about failed cleanup of transient changes made by a failed\noperation.", +"A link to a deprecated resource was created.", +"When deploying and at least one of the resources has a type marked as\ndeprecated", +"The user created a boot disk that is larger than image size.", +"When deploying and at least one of the resources has a type marked as\nexperimental", +"Warning that is present in an external api call", +"Warning that value of a field has been overridden.\nDeprecated unused field.", +"The operation involved use of an injected kernel, which is deprecated.", +"A WEIGHTED_MAGLEV backend service is associated with a health check that is\nnot of type HTTP/HTTPS/HTTP2.", +"When deploying a deployment with a exceedingly large number of resources", +"Resource can't be retrieved due to list overhead quota exceed\nwhich captures the amount of resources filtered out by\nuser-defined list filter.", +"A resource depends on a missing type", +"The route's nextHopIp address is not assigned to an instance on the\nnetwork.", +"The route's next hop instance cannot ip forward.", +"The route's nextHopInstance URL refers to an instance that does not have an\nipv6 interface on the same network as the route.", +"The route's nextHopInstance URL refers to an instance that does not exist.", +"The route's nextHopInstance URL refers to an instance that is not on the\nsame network as the route.", +"The route's next hop instance does not have a status of RUNNING.", +"Error which is not critical. We decided to continue the process despite\nthe mentioned error.", +"No results are present on a particular list page.", +"Success is reported, but some results may be missing due to errors", +"Quota information is not available to client requests (e.g:\nregions.list).", +"The user attempted to use a resource that requires a TOS they have not\naccepted.", +"Warning that a resource is in use.", +"One or more of the resources set to auto-delete could not be deleted\nbecause they were in use.", +"When a resource schema validation is ignored.", +"Instance template used in instance group manager is valid as such, but\nits application does not make a lot of sense, because it allows only\nsingle instance in instance group.", +"When undeclared properties in the schema are present", +"A given scope cannot be reached." +], +"type": "string" +}, +"data": { +"description": "[Output Only] Metadata about this warning in key:\nvalue format. For example:\n\n\"data\": [\n {\n \"key\": \"scope\",\n \"value\": \"zones/us-east1-d\"\n }", +"items": { +"properties": { +"key": { +"description": "[Output Only] A key that provides more detail on the warning being\nreturned. For example, for warnings where there are no results in a list\nrequest for a particular zone, this key might be scope and\nthe key value might be the zone name. Other examples might be a key\nindicating a deprecated resource and a suggested replacement, or a\nwarning about invalid network settings (for example, if an instance\nattempts to perform IP forwarding but is not enabled for IP forwarding).", +"type": "string" +}, +"value": { +"description": "[Output Only] A warning data value corresponding to the key.", +"type": "string" +} +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "[Output Only] A human-readable description of the warning code.", +"type": "string" +} +}, +"type": "object" +} +}, +"type": "object" +}, +"ResourcePolicyDailyCycle": { +"description": "Time window specified for daily operations.", +"id": "ResourcePolicyDailyCycle", +"properties": { +"daysInCycle": { +"description": "Defines a schedule with units measured in days. The value determines\nhow many days pass between the start of each cycle.", +"format": "int32", +"type": "integer" +}, +"duration": { +"description": "Output only. [Output only] A predetermined duration for the window, automatically\nchosen to be the smallest possible in the given scenario.", +"readOnly": true, +"type": "string" +}, +"startTime": { +"description": "Start time of the window. This must be in UTC format that resolves to one\nof 00:00, 04:00, 08:00,12:00, 16:00, or 20:00. For\nexample, both 13:00-5 and 08:00 are valid.", +"type": "string" +} +}, +"type": "object" +}, +"ResourcePolicyDiskConsistencyGroupPolicy": { +"description": "Resource policy for disk consistency groups.", +"id": "ResourcePolicyDiskConsistencyGroupPolicy", +"properties": {}, +"type": "object" +}, +"ResourcePolicyGroupPlacementPolicy": { +"description": "A GroupPlacementPolicy specifies resource placement configuration.\nIt specifies the failure bucket separation", +"id": "ResourcePolicyGroupPlacementPolicy", +"properties": { +"acceleratorTopologyMode": { +"description": "Specifies the connection mode for the accelerator topology. If not\nspecified, the default is AUTO_CONNECT.", +"enum": [ +"AUTO_CONNECT", +"PROVISION_ONLY" +], +"enumDescriptions": [ +"The interconnected chips are pre-configured at the time of VM creation.", +"The interconnected chips are connected on demand. At the time of VM\ncreation, the chips are not connected." +], +"type": "string" +}, +"availabilityDomainCount": { +"description": "The number of availability domains to spread instances across. If two\ninstances are in different availability domain, they are not in the same\nlow latency network.", +"format": "int32", +"type": "integer" +}, +"collocation": { +"description": "Specifies network collocation", +"enum": [ +"COLLOCATED", +"UNSPECIFIED_COLLOCATION" +], +"enumDescriptions": [ +"", +"" +], +"type": "string" +}, +"gpuTopology": { +"description": "Specifies the shape of the GPU slice, in slice based GPU families eg.\nA4X.", +"type": "string" +}, +"maxDistance": { +"description": "Specifies the number of max logical switches.", +"format": "int32", +"type": "integer" +}, +"sliceCount": { +"description": "Specifies the number of slices in a multislice workload.", +"format": "int32", +"type": "integer" +}, +"tpuTopology": { +"description": "Specifies the shape of the TPU slice", +"type": "string" +}, +"vmCount": { +"description": "Number of VMs in this placement group. Google does not recommend that you\nuse this field unless you use a compact policy and you want your policy\nto work only if it contains this exact number of VMs.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"ResourcePolicyHourlyCycle": { +"description": "Time window specified for hourly operations.", +"id": "ResourcePolicyHourlyCycle", +"properties": { +"duration": { +"description": "Output only. [Output only] Duration of the time window, automatically chosen to be\nsmallest possible in the given scenario.", +"readOnly": true, +"type": "string" +}, +"hoursInCycle": { +"description": "Defines a schedule with units measured in hours. The value determines\nhow many hours pass between the start of each cycle.", +"format": "int32", +"type": "integer" +}, +"startTime": { +"description": "Time within the window to start the operations.\nIt must be in format \"HH:MM\", where HH : [00-23] and MM : [00-00] GMT.", +"type": "string" +} +}, +"type": "object" +}, +"ResourcePolicyInstanceSchedulePolicy": { +"description": "An InstanceSchedulePolicy specifies when and how frequent certain\noperations are performed on the instance.", +"id": "ResourcePolicyInstanceSchedulePolicy", +"properties": { +"expirationTime": { +"description": "The expiration time of the schedule. The timestamp is an RFC3339 string.", +"type": "string" +}, +"startTime": { +"description": "The start time of the schedule. The timestamp is an RFC3339 string.", +"type": "string" +}, +"timeZone": { +"description": "Specifies the time zone to be used in interpreting Schedule.schedule.\nThe value of this field must be a time zone name from the tz database:\nhttps://wikipedia.org/wiki/Tz_database.", +"type": "string" +}, +"vmStartSchedule": { +"$ref": "ResourcePolicyInstanceSchedulePolicySchedule", +"description": "Specifies the schedule for starting instances." +}, +"vmStopSchedule": { +"$ref": "ResourcePolicyInstanceSchedulePolicySchedule", +"description": "Specifies the schedule for stopping instances." +} +}, +"type": "object" +}, +"ResourcePolicyInstanceSchedulePolicySchedule": { +"description": "Schedule for an instance operation.", +"id": "ResourcePolicyInstanceSchedulePolicySchedule", +"properties": { +"schedule": { +"description": "Specifies the frequency for the operation, using the unix-cron format.", +"type": "string" +} +}, +"type": "object" +}, +"ResourcePolicyList": { +"id": "ResourcePolicyList", +"properties": { +"etag": { +"type": "string" +}, +"id": { +"description": "[Output Only] The unique identifier for the resource. This identifier is\ndefined by the server.", +"type": "string" +}, +"items": { +"description": "[Output Only] A list of ResourcePolicy resources.", +"items": { +"$ref": "ResourcePolicy" +}, +"type": "array" +}, +"kind": { +"default": "compute#resourcePolicyList", +"description": "Output only. [Output Only] Type of resource.Alwayscompute#resourcePoliciesList for listsof resourcePolicies", +"readOnly": true, +"type": "string" +}, +"nextPageToken": { +"description": "[Output Only] This token allows you to get the next page of results for\nlist requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for\nthe query parameter pageToken in the next list request.\nSubsequent list requests will have their own nextPageToken to\ncontinue paging through the results.", +"type": "string" +}, +"selfLink": { +"description": "Output only. [Output Only] Server-defined URL for this resource.", +"readOnly": true, +"type": "string" +}, +"warning": { +"description": "[Output Only] Informational warning message.", +"properties": { +"code": { +"description": "[Output Only] A warning code, if applicable. For example, Compute\nEngine returns NO_RESULTS_ON_PAGE if there\nare no results in the response.", +"enum": [ +"CLEANUP_FAILED", +"DEPRECATED_RESOURCE_USED", +"DEPRECATED_TYPE_USED", +"DISK_SIZE_LARGER_THAN_IMAGE_SIZE", +"EXPERIMENTAL_TYPE_USED", +"EXTERNAL_API_WARNING", +"FIELD_VALUE_OVERRIDEN", +"INJECTED_KERNELS_DEPRECATED", +"INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", +"LARGE_DEPLOYMENT_WARNING", +"LIST_OVERHEAD_QUOTA_EXCEED", +"MISSING_TYPE_DEPENDENCY", +"NEXT_HOP_ADDRESS_NOT_ASSIGNED", +"NEXT_HOP_CANNOT_IP_FORWARD", +"NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", +"NEXT_HOP_INSTANCE_NOT_FOUND", +"NEXT_HOP_INSTANCE_NOT_ON_NETWORK", +"NEXT_HOP_NOT_RUNNING", +"NOT_CRITICAL_ERROR", +"NO_RESULTS_ON_PAGE", +"PARTIAL_SUCCESS", +"QUOTA_INFO_UNAVAILABLE", +"REQUIRED_TOS_AGREEMENT", +"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", +"RESOURCE_NOT_DELETED", +"SCHEMA_VALIDATION_IGNORED", +"SINGLE_INSTANCE_PROPERTY_TEMPLATE", +"UNDECLARED_PROPERTIES", +"UNREACHABLE" +], +"enumDeprecated": [ +false, +false, +false, +false, +false, +false, +true, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false +], +"enumDescriptions": [ +"Warning about failed cleanup of transient changes made by a failed\noperation.", +"A link to a deprecated resource was created.", +"When deploying and at least one of the resources has a type marked as\ndeprecated", +"The user created a boot disk that is larger than image size.", +"When deploying and at least one of the resources has a type marked as\nexperimental", +"Warning that is present in an external api call", +"Warning that value of a field has been overridden.\nDeprecated unused field.", +"The operation involved use of an injected kernel, which is deprecated.", +"A WEIGHTED_MAGLEV backend service is associated with a health check that is\nnot of type HTTP/HTTPS/HTTP2.", +"When deploying a deployment with a exceedingly large number of resources", +"Resource can't be retrieved due to list overhead quota exceed\nwhich captures the amount of resources filtered out by\nuser-defined list filter.", +"A resource depends on a missing type", +"The route's nextHopIp address is not assigned to an instance on the\nnetwork.", +"The route's next hop instance cannot ip forward.", +"The route's nextHopInstance URL refers to an instance that does not have an\nipv6 interface on the same network as the route.", +"The route's nextHopInstance URL refers to an instance that does not exist.", +"The route's nextHopInstance URL refers to an instance that is not on the\nsame network as the route.", +"The route's next hop instance does not have a status of RUNNING.", +"Error which is not critical. We decided to continue the process despite\nthe mentioned error.", +"No results are present on a particular list page.", +"Success is reported, but some results may be missing due to errors", +"Quota information is not available to client requests (e.g:\nregions.list).", +"The user attempted to use a resource that requires a TOS they have not\naccepted.", +"Warning that a resource is in use.", +"One or more of the resources set to auto-delete could not be deleted\nbecause they were in use.", +"When a resource schema validation is ignored.", +"Instance template used in instance group manager is valid as such, but\nits application does not make a lot of sense, because it allows only\nsingle instance in instance group.", +"When undeclared properties in the schema are present", +"A given scope cannot be reached." +], +"type": "string" +}, +"data": { +"description": "[Output Only] Metadata about this warning in key:\nvalue format. For example:\n\n\"data\": [\n {\n \"key\": \"scope\",\n \"value\": \"zones/us-east1-d\"\n }", +"items": { +"properties": { +"key": { +"description": "[Output Only] A key that provides more detail on the warning being\nreturned. For example, for warnings where there are no results in a list\nrequest for a particular zone, this key might be scope and\nthe key value might be the zone name. Other examples might be a key\nindicating a deprecated resource and a suggested replacement, or a\nwarning about invalid network settings (for example, if an instance\nattempts to perform IP forwarding but is not enabled for IP forwarding).", +"type": "string" +}, +"value": { +"description": "[Output Only] A warning data value corresponding to the key.", +"type": "string" +} +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "[Output Only] A human-readable description of the warning code.", +"type": "string" +} +}, +"type": "object" +} +}, +"type": "object" +}, +"ResourcePolicyResourceStatus": { +"description": "Contains output only fields.\nUse this sub-message for all output fields set on ResourcePolicy.\nThe internal structure of this \"status\" field should mimic the structure\nof ResourcePolicy proto specification.", +"id": "ResourcePolicyResourceStatus", +"properties": { +"instanceSchedulePolicy": { +"$ref": "ResourcePolicyResourceStatusInstanceSchedulePolicyStatus", +"description": "Output only. [Output Only] Specifies a set of output values reffering to\nthe instance_schedule_policy system status.\nThis field should have the same name as corresponding policy field.", +"readOnly": true +} +}, +"type": "object" +}, +"ResourcePolicyResourceStatusInstanceSchedulePolicyStatus": { +"id": "ResourcePolicyResourceStatusInstanceSchedulePolicyStatus", +"properties": { +"lastRunStartTime": { +"description": "Output only. [Output Only] The last time the schedule successfully ran.\nThe timestamp is an RFC3339 string.", +"readOnly": true, +"type": "string" +}, +"nextRunStartTime": { +"description": "Output only. [Output Only] The next time the schedule is planned to run.\nThe actual time might be slightly different.\nThe timestamp is an RFC3339 string.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"ResourcePolicySnapshotSchedulePolicy": { +"description": "A snapshot schedule policy specifies when and how frequently snapshots are\nto be created for the target disk. Also specifies how many and how long\nthese scheduled snapshots should be retained.", +"id": "ResourcePolicySnapshotSchedulePolicy", +"properties": { +"retentionPolicy": { +"$ref": "ResourcePolicySnapshotSchedulePolicyRetentionPolicy", +"description": "Retention policy applied to snapshots created by this resource policy." +}, +"schedule": { +"$ref": "ResourcePolicySnapshotSchedulePolicySchedule", +"description": "A Vm Maintenance Policy specifies what kind of infrastructure\nmaintenance we are allowed to perform on this VM and when. Schedule\nthat is applied to disks covered by this policy." +}, +"snapshotProperties": { +"$ref": "ResourcePolicySnapshotSchedulePolicySnapshotProperties", +"description": "Properties with which snapshots are created such as labels, encryption\nkeys." +} +}, +"type": "object" +}, +"ResourcePolicySnapshotSchedulePolicyRetentionPolicy": { +"description": "Policy for retention of scheduled snapshots.", +"id": "ResourcePolicySnapshotSchedulePolicyRetentionPolicy", +"properties": { +"maxRetentionDays": { +"description": "Maximum age of the snapshot that is allowed to be kept.", +"format": "int32", +"type": "integer" +}, +"onSourceDiskDelete": { +"description": "Specifies the behavior to apply to scheduled snapshots when\nthe source disk is deleted.", +"enum": [ +"APPLY_RETENTION_POLICY", +"KEEP_AUTO_SNAPSHOTS", +"UNSPECIFIED_ON_SOURCE_DISK_DELETE" +], +"enumDescriptions": [ +"", +"", +"" +], +"type": "string" +} +}, +"type": "object" +}, +"ResourcePolicySnapshotSchedulePolicySchedule": { +"description": "A schedule for disks where the schedueled operations are performed.", +"id": "ResourcePolicySnapshotSchedulePolicySchedule", +"properties": { +"dailySchedule": { +"$ref": "ResourcePolicyDailyCycle" +}, +"hourlySchedule": { +"$ref": "ResourcePolicyHourlyCycle" +}, +"weeklySchedule": { +"$ref": "ResourcePolicyWeeklyCycle" +} +}, +"type": "object" +}, +"ResourcePolicySnapshotSchedulePolicySnapshotProperties": { +"description": "Specified snapshot properties for scheduled snapshots created by this\npolicy.", +"id": "ResourcePolicySnapshotSchedulePolicySnapshotProperties", +"properties": { +"chainName": { +"description": "Chain name that the snapshot is created in.", +"type": "string" +}, +"guestFlush": { +"description": "Indication to perform a 'guest aware' snapshot.", +"type": "boolean" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Labels to apply to scheduled snapshots. These can be later modified\nby the setLabels method. Label values may be empty.", +"type": "object" +}, +"region": { +"description": "Region where the snapshot is scoped to.", +"type": "string" +}, +"storageLocations": { +"description": "Cloud Storage bucket storage location of the auto snapshot (regional or\nmulti-regional).", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ResourcePolicyWeeklyCycle": { +"description": "Time window specified for weekly operations.", +"id": "ResourcePolicyWeeklyCycle", +"properties": { +"dayOfWeeks": { +"description": "Up to 7 intervals/windows, one for each day of the week.", +"items": { +"$ref": "ResourcePolicyWeeklyCycleDayOfWeek" +}, +"type": "array" +} +}, +"type": "object" +}, +"ResourcePolicyWeeklyCycleDayOfWeek": { +"id": "ResourcePolicyWeeklyCycleDayOfWeek", +"properties": { +"day": { +"description": "Defines a schedule that runs on specific days of the week. Specify\none or more days. The following options are available:\nMONDAY, TUESDAY, WEDNESDAY, THURSDAY, FRIDAY, SATURDAY, SUNDAY.", +"enum": [ +"FRIDAY", +"INVALID", +"MONDAY", +"SATURDAY", +"SUNDAY", +"THURSDAY", +"TUESDAY", +"WEDNESDAY" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"", +"", +"" +], +"type": "string" +}, +"duration": { +"description": "Output only. [Output only] Duration of the time window, automatically chosen to be\nsmallest possible in the given scenario.", +"readOnly": true, +"type": "string" +}, +"startTime": { +"description": "Time within the window to start the operations.\nIt must be in format \"HH:MM\", where HH : [00-23] and MM : [00-00] GMT.", +"type": "string" +} +}, +"type": "object" +}, +"ResourcePolicyWorkloadPolicy": { +"description": "Represents the workload policy.", +"id": "ResourcePolicyWorkloadPolicy", +"properties": { +"acceleratorTopology": { +"description": "Specifies the topology required to create a partition for VMs that have\ninterconnected GPUs.", +"type": "string" +}, +"acceleratorTopologyMode": { +"description": "Specifies the connection mode for the accelerator topology. If not\nspecified, the default is AUTO_CONNECT.", +"enum": [ +"AUTO_CONNECT", +"PROVISION_ONLY" +], +"enumDescriptions": [ +"The interconnected chips are pre-configured at the time of VM creation.", +"The interconnected chips are connected on demand. At the time of VM\ncreation, the chips are not connected." +], +"type": "string" +}, +"maxTopologyDistance": { +"description": "Specifies the maximum distance between instances.", +"enum": [ +"BLOCK", +"CLUSTER", +"SUBBLOCK" +], +"enumDescriptions": [ +"VMs must be provisioned in the same block.", +"VMs must be provisioned in the same cluster.", +"VMs must be provisioned in the same subblock." +], +"type": "string" +}, +"type": { +"description": "Specifies the intent of the instance placement in the MIG.", +"enum": [ +"HIGH_AVAILABILITY", +"HIGH_THROUGHPUT" +], +"enumDescriptions": [ +"MIG spreads out the instances as much as possible for high availability.", +"MIG provisions instances as close to each other as possible for high\nthroughput." +], +"type": "string" +} +}, +"type": "object" +}, +"ResourceStatus": { +"description": "Contains output only fields.\nUse this sub-message for actual values set on Instance attributes as compared\nto the value requested by the user (intent) in their instance CRUD calls.", +"id": "ResourceStatus", +"properties": { +"effectiveInstanceMetadata": { +"$ref": "ResourceStatusEffectiveInstanceMetadata", +"description": "Output only. [Output Only] Effective metadata is a field that consolidates project,\nzonal instance settings, and instance-level predefined metadata keys to\nprovide the overridden value for those metadata keys at the instance level.", +"readOnly": true +}, +"physicalHost": { +"description": "Output only. [Output Only] The precise location of your instance within the zone's data\ncenter, including the block, sub-block, and host. The field is formatted as\nfollows: blockId/subBlockId/hostId.", +"readOnly": true, +"type": "string" +}, +"physicalHostTopology": { +"$ref": "ResourceStatusPhysicalHostTopology", +"description": "Output only. [Output Only] A series of fields containing the global name of the Compute\nEngine cluster, as well as the ID of the block, sub-block, and host on\nwhich the running instance is located.", +"readOnly": true +}, +"reservationConsumptionInfo": { +"$ref": "ResourceStatusReservationConsumptionInfo", +"description": "Output only. [Output Only] Reservation information that the instance is consuming from.", +"readOnly": true +}, +"scheduling": { +"$ref": "ResourceStatusScheduling" +}, +"shutdownDetails": { +"$ref": "ResourceStatusShutdownDetails", +"description": "Output only. [Output Only] Details about the instance stopping state.", +"readOnly": true +}, +"upcomingMaintenance": { +"$ref": "UpcomingMaintenance", +"readOnly": true +} +}, +"type": "object" +}, +"ResourceStatusEffectiveInstanceMetadata": { +"description": "Effective values of predefined metadata keys for an instance.", +"id": "ResourceStatusEffectiveInstanceMetadata", +"properties": { +"blockProjectSshKeysMetadataValue": { +"description": "Effective block-project-ssh-keys value at Instance level.", +"type": "boolean" +}, +"enableGuestAttributesMetadataValue": { +"description": "Effective enable-guest-attributes value at Instance level.", +"type": "boolean" +}, +"enableOsInventoryMetadataValue": { +"description": "Effective enable-os-inventory value at Instance level.", +"type": "boolean" +}, +"enableOsconfigMetadataValue": { +"description": "Effective enable-osconfig value at Instance level.", +"type": "boolean" +}, +"enableOsloginMetadataValue": { +"description": "Effective enable-oslogin value at Instance level.", +"type": "boolean" +}, +"gceContainerDeclarationMetadataValue": { +"description": "Effective gce-container-declaration value at Instance level.", +"type": "boolean" +}, +"serialPortEnableMetadataValue": { +"description": "Effective serial-port-enable value at Instance level.", +"type": "boolean" +}, +"serialPortLoggingEnableMetadataValue": { +"description": "Effective serial-port-logging-enable value at Instance level.", +"type": "boolean" +}, +"vmDnsSettingMetadataValue": { +"description": "Effective VM DNS setting at Instance level.", +"type": "string" +} +}, +"type": "object" +}, +"ResourceStatusPhysicalHostTopology": { +"description": "Represents the physical host topology of the host on which the VM is\nrunning.", +"id": "ResourceStatusPhysicalHostTopology", +"properties": { +"block": { +"description": "[Output Only] The ID of the block in which the running instance is\nlocated. Instances within the same block experience low network latency.", +"type": "string" +}, +"cluster": { +"description": "[Output Only] The global name of the Compute Engine cluster where the\nrunning instance is located.", +"type": "string" +}, +"host": { +"description": "[Output Only] The ID of the host on which the running instance is located.\nInstances on the same host experience the lowest possible network\nlatency.", +"type": "string" +}, +"subblock": { +"description": "[Output Only] The ID of the sub-block in which the running instance is\nlocated. Instances in the same sub-block experience lower network latency\nthan instances in the same block.", +"type": "string" +} +}, +"type": "object" +}, +"ResourceStatusReservationConsumptionInfo": { +"description": "Reservation consumption information that the instance is consuming from.", +"id": "ResourceStatusReservationConsumptionInfo", +"properties": { +"consumedReservation": { +"description": "Output only. [Output Only] The full resource name of the reservation that this\ninstance is consuming from.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"ResourceStatusScheduling": { +"id": "ResourceStatusScheduling", +"properties": { +"availabilityDomain": { +"description": "Specifies the availability domain to place the instance in. The value\nmust be a number between 1 and the number of availability domains\nspecified in the spread placement policy attached to the instance.", +"format": "int32", +"type": "integer" +}, +"terminationTimestamp": { +"description": "Time in future when the instance will be terminated inRFC3339 text format.", +"type": "string" +} +}, +"type": "object" +}, +"ResourceStatusShutdownDetails": { +"description": "Specifies if the instance is in `PENDING_STOP` state or there is a\nprogrammed stop scheduled.", +"id": "ResourceStatusShutdownDetails", +"properties": { +"maxDuration": { +"$ref": "Duration", +"description": "The duration for graceful shutdown. Only applicable when\n`stop_state=PENDING_STOP`." +}, +"requestTimestamp": { +"description": "Past timestamp indicating the beginning of current `stopState` in RFC3339 text format.", +"type": "string" +}, +"stopState": { +"description": "Current stopping state of the instance.", +"enum": [ +"PENDING_STOP", +"STOPPING" +], +"enumDescriptions": [ +"The instance is gracefully shutting down.", +"The instance is stopping." +], +"type": "string" +}, +"targetState": { +"description": "Target instance state.", +"enum": [ +"DELETED", +"STOPPED" +], +"enumDescriptions": [ +"The instance will be deleted.", +"The instance will be stopped." +], +"type": "string" +} +}, +"type": "object" +}, +"Rollout": { +"description": "Rollout resource.\n\nA Rollout is a specific instance of a RolloutPlan. It represents a single\nexecution of a strategy to roll out a specific resource. It also provides\nAPIs to interact with the rollout.", +"id": "Rollout", +"properties": { +"cancellationTime": { +"description": "Output only. The timestamp at which the Rollout was cancelled.", +"readOnly": true, +"type": "string" +}, +"completionTime": { +"description": "Output only. The timestamp at which the Rollout was completed.", +"readOnly": true, +"type": "string" +}, +"creationTimestamp": { +"description": "Output only. [Output Only] Creation timestamp inRFC3339\ntext format.", +"readOnly": true, +"type": "string" +}, +"currentWaveNumber": { +"description": "Output only. The number of the currently running wave.\nEx. 1", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"description": { +"description": "An optional description of this resource. Provide this property when you\ncreate the resource.", +"type": "string" +}, +"etag": { +"description": "Output only. etag of the Rollout\nEx. abc1234", +"readOnly": true, +"type": "string" +}, +"id": { +"description": "Output only. [Output Only] The unique identifier for the resource. This identifier is\ndefined by the server.", +"format": "uint64", +"readOnly": true, +"type": "string" +}, +"kind": { +"default": "compute#rollout", +"description": "Output only. [Output Only] Type of the resource. Always compute#rollout\nfor rollouts.", +"readOnly": true, +"type": "string" +}, +"name": { +"description": "Name of the resource. Provided by the client when the resource is created.\nThe name must be 1-63 characters long, and comply withRFC1035.\nSpecifically, the name must be 1-63 characters long and match the regular\nexpression `[a-z]([-a-z0-9]*[a-z0-9])?`\nwhich means the first character must be a lowercase letter, and all\nfollowing characters must be a dash, lowercase letter, or digit, except\nthe last character, which cannot be a dash.", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"type": "string" +}, +"rolloutEntity": { +"$ref": "RolloutRolloutEntity", +"description": "Required. The resource being rolled out." +}, +"rolloutPlan": { +"description": "Required. Rollout Plan used to model the Rollout.\nEx. compute.googleapis.com/v1/projects/1234/rolloutPlans/rp1", +"type": "string" +}, +"selfLink": { +"description": "Output only. [Output Only] Server-defined fully-qualified URL for this resource.", +"readOnly": true, +"type": "string" +}, +"selfLinkWithId": { +"description": "Output only. [Output Only] Server-defined URL for this resource's resource id.", +"readOnly": true, +"type": "string" +}, +"state": { +"description": "Output only. The current state of the Rollout.", +"enum": [ +"CANCELLED", +"CANCELLING", +"CANCEL_FAILED", +"COMPLETED", +"COMPLETE_FAILED", +"COMPLETING", +"FAILED", +"PAUSED", +"PAUSE_FAILED", +"PAUSING", +"PROCESSING", +"READY", +"RESUMING", +"ROLLBACK_WAVE_FAILED", +"ROLLING_BACK", +"STATE_UNSPECIFIED", +"UNINITIALIZED", +"WAVE_FAILED" +], +"enumDescriptions": [ +"The rollout is in a failure terminal state.", +"The rollout is being cancelled.", +"An attempted cancel operation was unsuccessful.", +"The rollout is in a successful terminal state.", +"An attempted complete operation was unsuccessful.", +"The rollout is being marked as completed.", +"The rollout completed with failures.", +"The rollout is paused.", +"An attempted pause operation was unsuccessful.", +"The rollout is being paused.", +"A wave is being processed by the product.", +"The rollout has been successfully initialized and is ready to start.", +"The rollout is being resumed after being paused.", +"An attempted rollback operation failed to complete successfully.", +"A wave rollback is in progress for this rollout.", +"Undefined default state. Should never be exposed to users.", +"The rollout has been created but is not yet ready to be started.", +"The product failed to process the wave." +], +"readOnly": true, +"type": "string" +}, +"waveDetails": { +"description": "Output only. Details about each wave of the rollout.", +"items": { +"$ref": "RolloutWaveDetails" +}, +"readOnly": true, +"type": "array" +} +}, +"type": "object" +}, +"RolloutPlan": { +"description": "RolloutPlan resource.\n\nA RolloutPlan is the customer-defined strategy to divide a large-scale change\ninto smaller increments, referred to as \"waves\". Each wave targets a specific\nportion of the overall affected area and defines criteria that must be met\nbefore progressing to the subsequent wave.", +"id": "RolloutPlan", +"properties": { +"creationTimestamp": { +"description": "Output only. [Output Only] Creation timestamp inRFC3339\ntext format.", +"readOnly": true, +"type": "string" +}, +"description": { +"description": "An optional description of this resource. Provide this property when you\ncreate the resource.", +"type": "string" +}, +"id": { +"description": "Output only. [Output Only] The unique identifier for the resource. This identifier is\ndefined by the server.", +"format": "uint64", +"readOnly": true, +"type": "string" +}, +"kind": { +"default": "compute#rolloutPlan", +"description": "Output only. [Output Only] Type of the resource. Always compute#rolloutPlan\nfor rolloutPlans.", +"readOnly": true, +"type": "string" +}, +"locationScope": { +"description": "The location scope of the rollout plan. If not specified, the location\nscope is considered as ZONAL.", +"enum": [ +"LOCATION_SCOPE_UNSPECIFIED", +"REGIONAL", +"ZONAL" +], +"enumDescriptions": [ +"Unspecified value. Considered as ZONAL.", +"Regional scope.", +"Zonal scope." +], +"type": "string" +}, +"name": { +"annotations": { +"required": [ +"compute.rolloutPlans.insert" +] +}, +"description": "Name of the resource. Provided by the client when the resource is created.\nThe name must be 1-63 characters long, and comply withRFC1035.\nSpecifically, the name must be 1-63 characters long and match the regular\nexpression `[a-z]([-a-z0-9]*[a-z0-9])?`\nwhich means the first character must be a lowercase letter, and all\nfollowing characters must be a dash, lowercase letter, or digit, except\nthe last character, which cannot be a dash.", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"type": "string" +}, +"selfLink": { +"description": "Output only. [Output Only] Server-defined fully-qualified URL for this resource.", +"readOnly": true, +"type": "string" +}, +"selfLinkWithId": { +"description": "Output only. [Output Only] Server-defined URL for this resource's resource id.", +"readOnly": true, +"type": "string" +}, +"waves": { +"description": "Required. The waves included in this rollout plan.", +"items": { +"$ref": "RolloutPlanWave" +}, +"type": "array" +} +}, +"type": "object" +}, +"RolloutPlanWave": { +"description": "A single wave in a rollout plan.", +"id": "RolloutPlanWave", +"properties": { +"displayName": { +"description": "Optional. The display name of this wave of the rollout plan.", +"type": "string" +}, +"number": { +"description": "Output only. The wave number.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"orchestrationOptions": { +"$ref": "RolloutPlanWaveOrchestrationOptions", +"description": "Optional. The orchestration options for this wave." +}, +"selectors": { +"description": "Required. The selectors for this wave. There is a logical AND between each selector\ndefined in a wave, so a resource must satisfy the criteria of *all* the\nspecified selectors to be in scope for the wave.", +"items": { +"$ref": "RolloutPlanWaveSelector" +}, +"type": "array" +}, +"validation": { +"$ref": "RolloutPlanWaveValidation", +"description": "Required. The validation to be performed at the end of this wave." +} +}, +"type": "object" +}, +"RolloutPlanWaveOrchestrationOptions": { +"description": "Options to control the pace of orchestration of a wave. These options are\nrequired only if the resource being rolled out follows the Orchestrated\npattern.", +"id": "RolloutPlanWaveOrchestrationOptions", +"properties": { +"delays": { +"description": "Optional. Delays, if any, to be added between batches of projects. We allow\nmultiple Delays to be specified, letting users set separate delays\nbetween batches of projects corresponding to different locations and\nbatches of projects corresponding to the same location.", +"items": { +"$ref": "RolloutPlanWaveOrchestrationOptionsDelay" +}, +"type": "array" +}, +"maxConcurrentLocations": { +"description": "Optional. Maximum number of locations to be orchestrated in parallel.", +"format": "int64", +"type": "string" +}, +"maxConcurrentResourcesPerLocation": { +"description": "Optional. Maximum number of resources to be orchestrated per location in\nparallel.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"RolloutPlanWaveOrchestrationOptionsDelay": { +"description": "Options to control the delay, if any, between batches of projects.", +"id": "RolloutPlanWaveOrchestrationOptionsDelay", +"properties": { +"delimiter": { +"description": "Optional. Controls whether the delay should only be added between batches of\nprojects corresponding to different locations, or also between\nbatches of projects corresponding to the same location.\n\nMust be set to DELIMITER_UNSPECIFIED if no delay is to be added.", +"enum": [ +"DELIMITER_BATCH", +"DELIMITER_LOCATION", +"DELIMITER_UNSPECIFIED" +], +"enumDescriptions": [ +"The delay will also be added between batches of projects\ncorresponding to the same location.", +"The delay will only be added between batches of projects\ncorresponding to different locations.", +"No delay will be added between batches of projects. Processing will\ncontinue with the next batch as soon as the previous batch of LROs\nis done." +], +"type": "string" +}, +"duration": { +"description": "Optional. The duration of the delay, if any, to be added between batches of\nprojects. A zero duration corresponds to no delay.", +"format": "google-duration", +"type": "string" +}, +"type": { +"description": "Optional. Controls whether the specified duration is to be added at the end of\neach batch, or if the total processing time for each batch will be\npadded if needed to meet the specified duration.\n\nMust be set to TYPE_UNSPECIFIED if no delay is to be added.", +"enum": [ +"TYPE_MINIMUM", +"TYPE_OFFSET", +"TYPE_UNSPECIFIED" +], +"enumDescriptions": [ +"The total processing time for each batch of projects will be padded\nif needed to meet the specified delay duration.", +"The specified delay will directly be added after each batch of\nprojects as specified by the delimiter.", +"No delay will be added between batches of projects. Processing will\ncontinue with the next batch as soon as the previous batch of LROs\nis done." +], +"type": "string" +} +}, +"type": "object" +}, +"RolloutPlanWaveSelector": { +"description": "A selector which specifies what resource(s) are included in a given wave.", +"id": "RolloutPlanWaveSelector", +"properties": { +"locationSelector": { +"$ref": "RolloutPlanWaveSelectorLocationSelector", +"description": "Optional. Roll out to resources by Cloud locations." +}, +"resourceHierarchySelector": { +"$ref": "RolloutPlanWaveSelectorResourceHierarchySelector", +"description": "Optional. Roll out to resources by Cloud Resource Manager resource hierarchy." +} +}, +"type": "object" +}, +"RolloutPlanWaveSelectorLocationSelector": { +"description": "Roll out to resources by location.", +"id": "RolloutPlanWaveSelectorLocationSelector", +"properties": { +"includedLocations": { +"description": "Optional. Example: \"us-central1-a\"", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"RolloutPlanWaveSelectorResourceHierarchySelector": { +"description": "Roll out to resources by Cloud Resource Manager resource hierarchy\nnodes such as projects, folders, orgs.", +"id": "RolloutPlanWaveSelectorResourceHierarchySelector", +"properties": { +"includedFolders": { +"description": "Optional. Format: \"folders/{folder_id}\"", +"items": { +"type": "string" +}, +"type": "array" +}, +"includedOrganizations": { +"description": "Optional. Format: \"organizations/{organization_id}\"", +"items": { +"type": "string" +}, +"type": "array" +}, +"includedProjects": { +"description": "Optional. Format: \"projects/{project_id}\"", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"RolloutPlanWaveValidation": { +"description": "The validation to be performed before progressing to the next wave.", +"id": "RolloutPlanWaveValidation", +"properties": { +"timeBasedValidationMetadata": { +"$ref": "RolloutPlanWaveValidationTimeBasedValidationMetadata", +"description": "Optional. Metadata required if type = \"time\"." +}, +"type": { +"description": "Required. The type of the validation. If a type of validation is associated with\na metadata object, the appropriate metadata field mapping to the\nvalidation type must be provided in the validation message. Possible\nvalues are in quotes below alongside an explanation:\n \"manual\": The system waits for an end-user approval API before\n progressing to the next wave.\n \"time\": The system waits for a user specified duration before\n progressing to the next wave. TimeBasedValidation must be provided.", +"type": "string" +} +}, +"type": "object" +}, +"RolloutPlanWaveValidationTimeBasedValidationMetadata": { +"description": "Metadata required if type = \"time\".", +"id": "RolloutPlanWaveValidationTimeBasedValidationMetadata", +"properties": { +"waitDuration": { +"description": "Optional. The duration that the system waits in between waves. This wait starts\nafter all changes in the wave are rolled out.", +"format": "google-duration", +"type": "string" +} +}, +"type": "object" +}, +"RolloutPlansListResponse": { +"description": "Contains a list of RolloutPlan resources.", +"id": "RolloutPlansListResponse", +"properties": { +"etag": { +"type": "string" +}, +"id": { +"description": "[Output Only] Unique identifier for the resource; defined by the server.", +"type": "string" +}, +"items": { +"description": "A list of RolloutPlan resources.", +"items": { +"$ref": "RolloutPlan" +}, +"type": "array" +}, +"nextPageToken": { +"description": "[Output Only] This token allows you to get the next page of results for\nlist requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for\nthe query parameter pageToken in the next list request.\nSubsequent list requests will have their own nextPageToken to\ncontinue paging through the results.", +"type": "string" +}, +"selfLink": { +"description": "Output only. [Output Only] Server-defined URL for this resource.", +"readOnly": true, +"type": "string" +}, +"unreachables": { +"description": "Output only. [Output Only] Unreachable resources.\nend_interface: MixerListResponseWithEtagBuilder", +"items": { +"type": "string" +}, +"readOnly": true, +"type": "array" +}, +"warning": { +"description": "[Output Only] Informational warning message.", +"properties": { +"code": { +"description": "[Output Only] A warning code, if applicable. For example, Compute\nEngine returns NO_RESULTS_ON_PAGE if there\nare no results in the response.", +"enum": [ +"CLEANUP_FAILED", +"DEPRECATED_RESOURCE_USED", +"DEPRECATED_TYPE_USED", +"DISK_SIZE_LARGER_THAN_IMAGE_SIZE", +"EXPERIMENTAL_TYPE_USED", +"EXTERNAL_API_WARNING", +"FIELD_VALUE_OVERRIDEN", +"INJECTED_KERNELS_DEPRECATED", +"INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", +"LARGE_DEPLOYMENT_WARNING", +"LIST_OVERHEAD_QUOTA_EXCEED", +"MISSING_TYPE_DEPENDENCY", +"NEXT_HOP_ADDRESS_NOT_ASSIGNED", +"NEXT_HOP_CANNOT_IP_FORWARD", +"NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", +"NEXT_HOP_INSTANCE_NOT_FOUND", +"NEXT_HOP_INSTANCE_NOT_ON_NETWORK", +"NEXT_HOP_NOT_RUNNING", +"NOT_CRITICAL_ERROR", +"NO_RESULTS_ON_PAGE", +"PARTIAL_SUCCESS", +"QUOTA_INFO_UNAVAILABLE", +"REQUIRED_TOS_AGREEMENT", +"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", +"RESOURCE_NOT_DELETED", +"SCHEMA_VALIDATION_IGNORED", +"SINGLE_INSTANCE_PROPERTY_TEMPLATE", +"UNDECLARED_PROPERTIES", +"UNREACHABLE" +], +"enumDeprecated": [ +false, +false, +false, +false, +false, +false, +true, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false +], +"enumDescriptions": [ +"Warning about failed cleanup of transient changes made by a failed\noperation.", +"A link to a deprecated resource was created.", +"When deploying and at least one of the resources has a type marked as\ndeprecated", +"The user created a boot disk that is larger than image size.", +"When deploying and at least one of the resources has a type marked as\nexperimental", +"Warning that is present in an external api call", +"Warning that value of a field has been overridden.\nDeprecated unused field.", +"The operation involved use of an injected kernel, which is deprecated.", +"A WEIGHTED_MAGLEV backend service is associated with a health check that is\nnot of type HTTP/HTTPS/HTTP2.", +"When deploying a deployment with a exceedingly large number of resources", +"Resource can't be retrieved due to list overhead quota exceed\nwhich captures the amount of resources filtered out by\nuser-defined list filter.", +"A resource depends on a missing type", +"The route's nextHopIp address is not assigned to an instance on the\nnetwork.", +"The route's next hop instance cannot ip forward.", +"The route's nextHopInstance URL refers to an instance that does not have an\nipv6 interface on the same network as the route.", +"The route's nextHopInstance URL refers to an instance that does not exist.", +"The route's nextHopInstance URL refers to an instance that is not on the\nsame network as the route.", +"The route's next hop instance does not have a status of RUNNING.", +"Error which is not critical. We decided to continue the process despite\nthe mentioned error.", +"No results are present on a particular list page.", +"Success is reported, but some results may be missing due to errors", +"Quota information is not available to client requests (e.g:\nregions.list).", +"The user attempted to use a resource that requires a TOS they have not\naccepted.", +"Warning that a resource is in use.", +"One or more of the resources set to auto-delete could not be deleted\nbecause they were in use.", +"When a resource schema validation is ignored.", +"Instance template used in instance group manager is valid as such, but\nits application does not make a lot of sense, because it allows only\nsingle instance in instance group.", +"When undeclared properties in the schema are present", +"A given scope cannot be reached." +], +"type": "string" +}, +"data": { +"description": "[Output Only] Metadata about this warning in key:\nvalue format. For example:\n\n\"data\": [\n {\n \"key\": \"scope\",\n \"value\": \"zones/us-east1-d\"\n }", +"items": { +"properties": { +"key": { +"description": "[Output Only] A key that provides more detail on the warning being\nreturned. For example, for warnings where there are no results in a list\nrequest for a particular zone, this key might be scope and\nthe key value might be the zone name. Other examples might be a key\nindicating a deprecated resource and a suggested replacement, or a\nwarning about invalid network settings (for example, if an instance\nattempts to perform IP forwarding but is not enabled for IP forwarding).", +"type": "string" +}, +"value": { +"description": "[Output Only] A warning data value corresponding to the key.", +"type": "string" +} +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "[Output Only] A human-readable description of the warning code.", +"type": "string" +} +}, +"type": "object" +} +}, +"type": "object" +}, +"RolloutPolicy": { +"description": "A rollout policy configuration.", +"id": "RolloutPolicy", +"properties": { +"defaultRolloutTime": { +"description": "An optional RFC3339 timestamp on or after which the update is\nconsidered rolled out to any zone that is not explicitly stated.", +"type": "string" +}, +"locationRolloutPolicies": { +"additionalProperties": { +"type": "string" +}, +"description": "Location based rollout policies to apply to the resource.\n\nCurrently only zone names are supported and must be represented\nas valid URLs, like: zones/us-central1-a.\n\nThe value expects an RFC3339 timestamp on or after which the update is\nconsidered rolled out to the specified location.", +"type": "object" +} +}, +"type": "object" +}, +"RolloutRolloutEntity": { +"description": "Specifications of the resource to roll out.", +"id": "RolloutRolloutEntity", +"properties": { +"orchestratedEntity": { +"$ref": "RolloutRolloutEntityOrchestratedEntity", +"description": "Optional. Entity details for products using the Orchestrated Integration model." +} +}, +"type": "object" +}, +"RolloutRolloutEntityOrchestratedEntity": { +"description": "This message is used if the resource type follows the Orchestrated\nintegration model with ProgressiveRollout.", +"id": "RolloutRolloutEntityOrchestratedEntity", +"properties": { +"conflictBehavior": { +"description": "Required. Specifies the behavior of the Rollout if an out of band update is\ndetected in a project during a Rollout. It can be one of the following\nvalues:\n1) overwrite : Overwrite the local value with the rollout value.\n2) no_overwrite : Do not overwrite the local value with the rollout\nvalue.", +"type": "string" +}, +"orchestrationAction": { +"description": "Required. Orchestration action during the Rollout. It can be one of the following\nvalues:\n1) \"update\": Resources will be updated by the rollout.\n2) \"delete\": Resources will be deleted by the rollout.", +"type": "string" +}, +"orchestrationSource": { +"description": "Required. Fully qualified resource name of the resource which contains the source\nof truth of the configuration being rolled out across\nlocations/projects. For example, in the case of a global Rollout which\nis applied across regions, this contains the name of the global\nresource created by the user which contains a payload for a resource\nthat is orchestrated across regions. This follows the following format:\n//.googleapis.com/projects//locations/global//\ne.g.\n//osconfig.googleapis.com/projects/1/locations/global/policyOrchestrators/po1", +"type": "string" +} +}, +"type": "object" +}, +"RolloutWaveDetails": { +"description": "Additional metadata about the status of each wave provided by the server.", +"id": "RolloutWaveDetails", +"properties": { +"orchestratedWaveDetails": { +"$ref": "RolloutWaveDetailsOrchestratedWaveDetails", +"description": "Output only. Additional details of the wave for products using the Orchestrated\nIntegration model.", +"readOnly": true +}, +"waveDisplayName": { +"description": "Output only. Wave name.\nEx. wave1", +"readOnly": true, +"type": "string" +}, +"waveNumber": { +"description": "Output only. System generated number for the wave.", +"format": "int64", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"RolloutWaveDetailsOrchestratedWaveDetails": { +"description": "Details of the wave for products using the Orchestrated integration\nmodel.", +"id": "RolloutWaveDetailsOrchestratedWaveDetails", +"properties": { +"completedResourcesCount": { +"description": "Output only. Resource completed so far.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"estimatedTotalResourcesCount": { +"description": "Output only. Estimated total count of resources.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"failedLocations": { +"description": "Output only. Locations that failed during orchestration, and ProgressiveRollout\nstopped retrying. There may be some successful resources rolled out in\nthe wave as the location may have failed later in the Rollout.", +"items": { +"type": "string" +}, +"readOnly": true, +"type": "array" +}, +"failedResourcesCount": { +"description": "Output only. Resources failed.", +"format": "int64", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"RolloutsListResponse": { +"id": "RolloutsListResponse", +"properties": { +"etag": { +"type": "string" +}, +"id": { +"description": "[Output Only] Unique identifier for the resource; defined by the server.", +"type": "string" +}, +"items": { +"description": "A list of Rollout resources.", +"items": { +"$ref": "Rollout" +}, +"type": "array" +}, +"nextPageToken": { +"description": "[Output Only] This token allows you to get the next page of results for\nlist requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for\nthe query parameter pageToken in the next list request.\nSubsequent list requests will have their own nextPageToken to\ncontinue paging through the results.", +"type": "string" +}, +"selfLink": { +"description": "Output only. [Output Only] Server-defined URL for this resource.", +"readOnly": true, +"type": "string" +}, +"unreachables": { +"description": "Output only. [Output Only] Unreachable resources.\nend_interface: MixerListResponseWithEtagBuilder", +"items": { +"type": "string" +}, +"readOnly": true, +"type": "array" +}, +"warning": { +"description": "[Output Only] Informational warning message.", +"properties": { +"code": { +"description": "[Output Only] A warning code, if applicable. For example, Compute\nEngine returns NO_RESULTS_ON_PAGE if there\nare no results in the response.", +"enum": [ +"CLEANUP_FAILED", +"DEPRECATED_RESOURCE_USED", +"DEPRECATED_TYPE_USED", +"DISK_SIZE_LARGER_THAN_IMAGE_SIZE", +"EXPERIMENTAL_TYPE_USED", +"EXTERNAL_API_WARNING", +"FIELD_VALUE_OVERRIDEN", +"INJECTED_KERNELS_DEPRECATED", +"INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", +"LARGE_DEPLOYMENT_WARNING", +"LIST_OVERHEAD_QUOTA_EXCEED", +"MISSING_TYPE_DEPENDENCY", +"NEXT_HOP_ADDRESS_NOT_ASSIGNED", +"NEXT_HOP_CANNOT_IP_FORWARD", +"NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", +"NEXT_HOP_INSTANCE_NOT_FOUND", +"NEXT_HOP_INSTANCE_NOT_ON_NETWORK", +"NEXT_HOP_NOT_RUNNING", +"NOT_CRITICAL_ERROR", +"NO_RESULTS_ON_PAGE", +"PARTIAL_SUCCESS", +"QUOTA_INFO_UNAVAILABLE", +"REQUIRED_TOS_AGREEMENT", +"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", +"RESOURCE_NOT_DELETED", +"SCHEMA_VALIDATION_IGNORED", +"SINGLE_INSTANCE_PROPERTY_TEMPLATE", +"UNDECLARED_PROPERTIES", +"UNREACHABLE" +], +"enumDeprecated": [ +false, +false, +false, +false, +false, +false, +true, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false +], +"enumDescriptions": [ +"Warning about failed cleanup of transient changes made by a failed\noperation.", +"A link to a deprecated resource was created.", +"When deploying and at least one of the resources has a type marked as\ndeprecated", +"The user created a boot disk that is larger than image size.", +"When deploying and at least one of the resources has a type marked as\nexperimental", +"Warning that is present in an external api call", +"Warning that value of a field has been overridden.\nDeprecated unused field.", +"The operation involved use of an injected kernel, which is deprecated.", +"A WEIGHTED_MAGLEV backend service is associated with a health check that is\nnot of type HTTP/HTTPS/HTTP2.", +"When deploying a deployment with a exceedingly large number of resources", +"Resource can't be retrieved due to list overhead quota exceed\nwhich captures the amount of resources filtered out by\nuser-defined list filter.", +"A resource depends on a missing type", +"The route's nextHopIp address is not assigned to an instance on the\nnetwork.", +"The route's next hop instance cannot ip forward.", +"The route's nextHopInstance URL refers to an instance that does not have an\nipv6 interface on the same network as the route.", +"The route's nextHopInstance URL refers to an instance that does not exist.", +"The route's nextHopInstance URL refers to an instance that is not on the\nsame network as the route.", +"The route's next hop instance does not have a status of RUNNING.", +"Error which is not critical. We decided to continue the process despite\nthe mentioned error.", +"No results are present on a particular list page.", +"Success is reported, but some results may be missing due to errors", +"Quota information is not available to client requests (e.g:\nregions.list).", +"The user attempted to use a resource that requires a TOS they have not\naccepted.", +"Warning that a resource is in use.", +"One or more of the resources set to auto-delete could not be deleted\nbecause they were in use.", +"When a resource schema validation is ignored.", +"Instance template used in instance group manager is valid as such, but\nits application does not make a lot of sense, because it allows only\nsingle instance in instance group.", +"When undeclared properties in the schema are present", +"A given scope cannot be reached." +], +"type": "string" +}, +"data": { +"description": "[Output Only] Metadata about this warning in key:\nvalue format. For example:\n\n\"data\": [\n {\n \"key\": \"scope\",\n \"value\": \"zones/us-east1-d\"\n }", +"items": { +"properties": { +"key": { +"description": "[Output Only] A key that provides more detail on the warning being\nreturned. For example, for warnings where there are no results in a list\nrequest for a particular zone, this key might be scope and\nthe key value might be the zone name. Other examples might be a key\nindicating a deprecated resource and a suggested replacement, or a\nwarning about invalid network settings (for example, if an instance\nattempts to perform IP forwarding but is not enabled for IP forwarding).", +"type": "string" +}, +"value": { +"description": "[Output Only] A warning data value corresponding to the key.", +"type": "string" +} +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "[Output Only] A human-readable description of the warning code.", +"type": "string" +} +}, +"type": "object" +} +}, +"type": "object" +}, +"Route": { +"description": "Represents a Route resource.\n\nA route defines a path from VM instances in the VPC network to a specific\ndestination. This destination can be inside or outside the VPC network.\nFor more information, read theRoutes overview.", +"id": "Route", +"properties": { +"asPaths": { +"description": "Output only. [Output Only] AS path.", +"items": { +"$ref": "RouteAsPath" +}, +"readOnly": true, +"type": "array" +}, +"creationTimestamp": { +"description": "Output only. [Output Only] Creation timestamp inRFC3339\ntext format.", +"readOnly": true, +"type": "string" +}, +"description": { +"description": "An optional description of this resource. Provide this field when you\ncreate the resource.", +"type": "string" +}, +"destRange": { +"annotations": { +"required": [ +"compute.routes.insert" +] +}, +"description": "The destination range of outgoing packets that this route applies to. Both\nIPv4 and IPv6 are supported.\nMust specify an IPv4 range (e.g. 192.0.2.0/24) or an IPv6 range in RFC 4291\nformat (e.g. 2001:db8::/32). IPv6 range will be displayed using RFC 5952\ncompressed format.", +"type": "string" +}, +"id": { +"description": "Output only. [Output Only] The unique identifier for the resource. This identifier is\ndefined by the server.", +"format": "uint64", +"readOnly": true, +"type": "string" +}, +"kind": { +"default": "compute#route", +"description": "Output only. [Output Only] Type of this resource. Always compute#routes for\nRoute resources.", +"readOnly": true, +"type": "string" +}, +"name": { +"annotations": { +"required": [ +"compute.routes.insert" +] +}, +"description": "Name of the resource. Provided by the client when the resource is created.\nThe name must be 1-63 characters long, and comply withRFC1035.\nSpecifically, the name must be 1-63 characters long and match the regular\nexpression `[a-z]([-a-z0-9]*[a-z0-9])?`. The first character must be a\nlowercase letter, and all following characters (except for the last\ncharacter) must be a dash, lowercase letter, or digit. The last character\nmust be a lowercase letter or digit.", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"type": "string" +}, +"network": { +"annotations": { +"required": [ +"compute.routes.insert" +] +}, +"description": "Fully-qualified URL of the network that this route applies to.", +"type": "string" +}, +"nextHopGateway": { +"description": "The URL to a gateway that should handle matching packets.\nYou can only specify the internet gateway using a full or\npartial valid URL: projects/project/global/gateways/default-internet-gateway", +"type": "string" +}, +"nextHopHub": { +"description": "Output only. [Output Only] The full resource name of the Network Connectivity Center hub\nthat will handle matching packets.", +"readOnly": true, +"type": "string" +}, +"nextHopIlb": { +"description": "The URL to a forwarding rule of typeloadBalancingScheme=INTERNAL that should handle matching\npackets or the IP address of the forwarding Rule.\nFor example, the following are all valid URLs:\n \n \n - https://www.googleapis.com/compute/v1/projects/project/regions/region/forwardingRules/forwardingRule \n - regions/region/forwardingRules/forwardingRule\n\n\nIf an IP address is provided, must specify an IPv4 address in dot-decimal\nnotation or an IPv6 address in RFC 4291 format. For example, the following\nare all valid IP addresses:\n \n \n - 10.128.0.56\n - 2001:db8::2d9:51:0:0\n - 2001:db8:0:0:2d9:51:0:0\n\n\nIPv6 addresses will be displayed using RFC 5952 compressed format (e.g.\n2001:db8::2d9:51:0:0). Should never be an IPv4-mapped IPv6 address.", +"type": "string" +}, +"nextHopInstance": { +"description": "The URL to an instance that should handle matching packets. You can specify\nthis as a full or partial URL.\nFor example: \nhttps://www.googleapis.com/compute/v1/projects/project/zones/zone/instances/", +"type": "string" +}, +"nextHopInterRegionCost": { +"description": "Output only. [Output only] Internal fixed region-to-region cost that Google Cloud\ncalculates based on factors such as network performance, distance, and\navailable bandwidth between regions.", +"format": "uint32", +"readOnly": true, +"type": "integer" +}, +"nextHopInterconnectAttachment": { +"description": "Output only. [Output Only] The URL to an InterconnectAttachment which is the next hop\nfor the route.\nThis field will only be populated for dynamic routes generated by\nCloud Router with a linked interconnectAttachment or the static route\ngenerated by each L2 Interconnect Attachment.", +"readOnly": true, +"type": "string" +}, +"nextHopIp": { +"description": "The network IP address of an instance that should handle matching packets.\nBoth IPv6 address and IPv4 addresses are supported.\nMust specify an IPv4 address in dot-decimal notation (e.g. 192.0.2.99) or\nan IPv6 address in RFC 4291 format (e.g. 2001:db8::2d9:51:0:0 or\n2001:db8:0:0:2d9:51:0:0). IPv6 addresses will be displayed using RFC 5952\ncompressed format (e.g. 2001:db8::2d9:51:0:0). Should never be an\nIPv4-mapped IPv6 address.", +"type": "string" +}, +"nextHopMed": { +"description": "Output only. [Output Only] Multi-Exit Discriminator, a BGP route metric that indicates\nthe desirability of a particular route in a network.", +"format": "uint32", +"readOnly": true, +"type": "integer" +}, +"nextHopNetwork": { +"description": "The URL of the local network if it should handle matching packets.", +"type": "string" +}, +"nextHopOrigin": { +"description": "Output only. [Output Only] Indicates the origin of the route. Can be IGP\n(Interior Gateway Protocol), EGP (Exterior Gateway Protocol),\nor INCOMPLETE.", +"enum": [ +"EGP", +"IGP", +"INCOMPLETE" +], +"enumDescriptions": [ +"", +"", +"" +], +"readOnly": true, +"type": "string" +}, +"nextHopPeering": { +"description": "Output only. [Output Only] The network peering name that should handle matching packets,\nwhich should conform to RFC1035.", +"readOnly": true, +"type": "string" +}, +"nextHopVpnTunnel": { +"description": "The URL to a VpnTunnel that should handle matching packets.", +"type": "string" +}, +"params": { +"$ref": "RouteParams", +"description": "Input only. [Input Only] Additional params passed with the request, but not persisted\nas part of resource payload." +}, +"priority": { +"annotations": { +"required": [ +"compute.routes.insert" +] +}, +"description": "The priority of this route. Priority is used to break ties in cases\nwhere there is more than one matching route of equal prefix length. In\ncases where multiple routes have equal prefix length, the one with the\nlowest-numbered priority value wins. The default value is `1000`. The\npriority value must be from `0` to `65535`, inclusive.", +"format": "uint32", +"type": "integer" +}, +"routeStatus": { +"description": "[Output only] The status of the route. This status applies to\ndynamic routes learned by Cloud Routers. It is also applicable to routes\nundergoing migration.", +"enum": [ +"ACTIVE", +"DROPPED", +"INACTIVE", +"PENDING" +], +"enumDescriptions": [ +"This route is processed and active.", +"The route is dropped due to the VPC exceeding the dynamic route limit.\n For dynamic route limit, please refer to the\nLearned route example", +"This route is processed but inactive due to failure from the backend. The\nbackend may have rejected the route", +"This route is being processed internally. The status will change once\nprocessed." +], +"type": "string" +}, +"routeType": { +"description": "Output only. [Output Only] The type of this route, which can be one of the following\nvalues:\n- 'TRANSIT' for a transit route that this router learned from\nanother Cloud Router and will readvertise to one of its BGP peers \n- 'SUBNET' for a route from a subnet of the VPC \n- 'BGP' for a route learned from a BGP peer of this router \n- 'STATIC' for a static route", +"enum": [ +"BGP", +"STATIC", +"SUBNET", +"TRANSIT" +], +"enumDescriptions": [ +"", +"", +"", +"" +], +"readOnly": true, +"type": "string" +}, +"selfLink": { +"description": "[Output Only] Server-defined fully-qualified URL for this resource.", +"type": "string" +}, +"tags": { +"description": "A list of instance tags to which this route applies.", +"items": { +"type": "string" +}, +"type": "array" +}, +"warnings": { +"description": "Output only. [Output Only] If potential misconfigurations are detected for this\nroute, this field will be populated with warning messages.", +"items": { +"properties": { +"code": { +"description": "[Output Only] A warning code, if applicable. For example, Compute\nEngine returns NO_RESULTS_ON_PAGE if there\nare no results in the response.", +"enum": [ +"CLEANUP_FAILED", +"DEPRECATED_RESOURCE_USED", +"DEPRECATED_TYPE_USED", +"DISK_SIZE_LARGER_THAN_IMAGE_SIZE", +"EXPERIMENTAL_TYPE_USED", +"EXTERNAL_API_WARNING", +"FIELD_VALUE_OVERRIDEN", +"INJECTED_KERNELS_DEPRECATED", +"INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", +"LARGE_DEPLOYMENT_WARNING", +"LIST_OVERHEAD_QUOTA_EXCEED", +"MISSING_TYPE_DEPENDENCY", +"NEXT_HOP_ADDRESS_NOT_ASSIGNED", +"NEXT_HOP_CANNOT_IP_FORWARD", +"NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", +"NEXT_HOP_INSTANCE_NOT_FOUND", +"NEXT_HOP_INSTANCE_NOT_ON_NETWORK", +"NEXT_HOP_NOT_RUNNING", +"NOT_CRITICAL_ERROR", +"NO_RESULTS_ON_PAGE", +"PARTIAL_SUCCESS", +"QUOTA_INFO_UNAVAILABLE", +"REQUIRED_TOS_AGREEMENT", +"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", +"RESOURCE_NOT_DELETED", +"SCHEMA_VALIDATION_IGNORED", +"SINGLE_INSTANCE_PROPERTY_TEMPLATE", +"UNDECLARED_PROPERTIES", +"UNREACHABLE" +], +"enumDeprecated": [ +false, +false, +false, +false, +false, +false, +true, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false +], +"enumDescriptions": [ +"Warning about failed cleanup of transient changes made by a failed\noperation.", +"A link to a deprecated resource was created.", +"When deploying and at least one of the resources has a type marked as\ndeprecated", +"The user created a boot disk that is larger than image size.", +"When deploying and at least one of the resources has a type marked as\nexperimental", +"Warning that is present in an external api call", +"Warning that value of a field has been overridden.\nDeprecated unused field.", +"The operation involved use of an injected kernel, which is deprecated.", +"A WEIGHTED_MAGLEV backend service is associated with a health check that is\nnot of type HTTP/HTTPS/HTTP2.", +"When deploying a deployment with a exceedingly large number of resources", +"Resource can't be retrieved due to list overhead quota exceed\nwhich captures the amount of resources filtered out by\nuser-defined list filter.", +"A resource depends on a missing type", +"The route's nextHopIp address is not assigned to an instance on the\nnetwork.", +"The route's next hop instance cannot ip forward.", +"The route's nextHopInstance URL refers to an instance that does not have an\nipv6 interface on the same network as the route.", +"The route's nextHopInstance URL refers to an instance that does not exist.", +"The route's nextHopInstance URL refers to an instance that is not on the\nsame network as the route.", +"The route's next hop instance does not have a status of RUNNING.", +"Error which is not critical. We decided to continue the process despite\nthe mentioned error.", +"No results are present on a particular list page.", +"Success is reported, but some results may be missing due to errors", +"Quota information is not available to client requests (e.g:\nregions.list).", +"The user attempted to use a resource that requires a TOS they have not\naccepted.", +"Warning that a resource is in use.", +"One or more of the resources set to auto-delete could not be deleted\nbecause they were in use.", +"When a resource schema validation is ignored.", +"Instance template used in instance group manager is valid as such, but\nits application does not make a lot of sense, because it allows only\nsingle instance in instance group.", +"When undeclared properties in the schema are present", +"A given scope cannot be reached." +], +"type": "string" +}, +"data": { +"description": "[Output Only] Metadata about this warning in key:\nvalue format. For example:\n\n\"data\": [\n {\n \"key\": \"scope\",\n \"value\": \"zones/us-east1-d\"\n }", +"items": { +"properties": { +"key": { +"description": "[Output Only] A key that provides more detail on the warning being\nreturned. For example, for warnings where there are no results in a list\nrequest for a particular zone, this key might be scope and\nthe key value might be the zone name. Other examples might be a key\nindicating a deprecated resource and a suggested replacement, or a\nwarning about invalid network settings (for example, if an instance\nattempts to perform IP forwarding but is not enabled for IP forwarding).", +"type": "string" +}, +"value": { +"description": "[Output Only] A warning data value corresponding to the key.", +"type": "string" +} +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "[Output Only] A human-readable description of the warning code.", +"type": "string" +} +}, +"type": "object" +}, +"readOnly": true, +"type": "array" +} +}, +"type": "object" +}, +"RouteAsPath": { +"id": "RouteAsPath", +"properties": { +"asLists": { +"description": "[Output Only] The AS numbers of the AS Path.", +"items": { +"format": "uint32", +"type": "integer" +}, +"type": "array" +}, +"pathSegmentType": { +"description": "[Output Only] The type of the AS Path, which can be one of the following\nvalues: \n- 'AS_SET': unordered set of autonomous systems that the route\nin has traversed \n- 'AS_SEQUENCE': ordered set of autonomous\nsystems that the route has traversed \n- 'AS_CONFED_SEQUENCE':\nordered set of Member Autonomous Systems in the local confederation that\nthe route has traversed \n- 'AS_CONFED_SET': unordered set of\nMember Autonomous Systems in the local confederation that the route has\ntraversed", +"enum": [ +"AS_CONFED_SEQUENCE", +"AS_CONFED_SET", +"AS_SEQUENCE", +"AS_SET" +], +"enumDescriptions": [ +"", +"", +"", +"" +], +"type": "string" +} +}, +"type": "object" +}, +"RouteList": { +"description": "Contains a list of Route resources.", +"id": "RouteList", +"properties": { +"id": { +"description": "[Output Only] Unique identifier for the resource; defined by the server.", +"type": "string" +}, +"items": { +"description": "A list of Route resources.", +"items": { +"$ref": "Route" +}, +"type": "array" +}, +"kind": { +"default": "compute#routeList", +"description": "Output only. Type of resource.", +"readOnly": true, +"type": "string" +}, +"nextPageToken": { +"description": "[Output Only] This token allows you to get the next page of results for\nlist requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for\nthe query parameter pageToken in the next list request.\nSubsequent list requests will have their own nextPageToken to\ncontinue paging through the results.", +"type": "string" +}, +"selfLink": { +"description": "Output only. [Output Only] Server-defined URL for this resource.", +"readOnly": true, +"type": "string" +}, +"warning": { +"description": "[Output Only] Informational warning message.", +"properties": { +"code": { +"description": "[Output Only] A warning code, if applicable. For example, Compute\nEngine returns NO_RESULTS_ON_PAGE if there\nare no results in the response.", +"enum": [ +"CLEANUP_FAILED", +"DEPRECATED_RESOURCE_USED", +"DEPRECATED_TYPE_USED", +"DISK_SIZE_LARGER_THAN_IMAGE_SIZE", +"EXPERIMENTAL_TYPE_USED", +"EXTERNAL_API_WARNING", +"FIELD_VALUE_OVERRIDEN", +"INJECTED_KERNELS_DEPRECATED", +"INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", +"LARGE_DEPLOYMENT_WARNING", +"LIST_OVERHEAD_QUOTA_EXCEED", +"MISSING_TYPE_DEPENDENCY", +"NEXT_HOP_ADDRESS_NOT_ASSIGNED", +"NEXT_HOP_CANNOT_IP_FORWARD", +"NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", +"NEXT_HOP_INSTANCE_NOT_FOUND", +"NEXT_HOP_INSTANCE_NOT_ON_NETWORK", +"NEXT_HOP_NOT_RUNNING", +"NOT_CRITICAL_ERROR", +"NO_RESULTS_ON_PAGE", +"PARTIAL_SUCCESS", +"QUOTA_INFO_UNAVAILABLE", +"REQUIRED_TOS_AGREEMENT", +"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", +"RESOURCE_NOT_DELETED", +"SCHEMA_VALIDATION_IGNORED", +"SINGLE_INSTANCE_PROPERTY_TEMPLATE", +"UNDECLARED_PROPERTIES", +"UNREACHABLE" +], +"enumDeprecated": [ +false, +false, +false, +false, +false, +false, +true, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false +], +"enumDescriptions": [ +"Warning about failed cleanup of transient changes made by a failed\noperation.", +"A link to a deprecated resource was created.", +"When deploying and at least one of the resources has a type marked as\ndeprecated", +"The user created a boot disk that is larger than image size.", +"When deploying and at least one of the resources has a type marked as\nexperimental", +"Warning that is present in an external api call", +"Warning that value of a field has been overridden.\nDeprecated unused field.", +"The operation involved use of an injected kernel, which is deprecated.", +"A WEIGHTED_MAGLEV backend service is associated with a health check that is\nnot of type HTTP/HTTPS/HTTP2.", +"When deploying a deployment with a exceedingly large number of resources", +"Resource can't be retrieved due to list overhead quota exceed\nwhich captures the amount of resources filtered out by\nuser-defined list filter.", +"A resource depends on a missing type", +"The route's nextHopIp address is not assigned to an instance on the\nnetwork.", +"The route's next hop instance cannot ip forward.", +"The route's nextHopInstance URL refers to an instance that does not have an\nipv6 interface on the same network as the route.", +"The route's nextHopInstance URL refers to an instance that does not exist.", +"The route's nextHopInstance URL refers to an instance that is not on the\nsame network as the route.", +"The route's next hop instance does not have a status of RUNNING.", +"Error which is not critical. We decided to continue the process despite\nthe mentioned error.", +"No results are present on a particular list page.", +"Success is reported, but some results may be missing due to errors", +"Quota information is not available to client requests (e.g:\nregions.list).", +"The user attempted to use a resource that requires a TOS they have not\naccepted.", +"Warning that a resource is in use.", +"One or more of the resources set to auto-delete could not be deleted\nbecause they were in use.", +"When a resource schema validation is ignored.", +"Instance template used in instance group manager is valid as such, but\nits application does not make a lot of sense, because it allows only\nsingle instance in instance group.", +"When undeclared properties in the schema are present", +"A given scope cannot be reached." +], +"type": "string" +}, +"data": { +"description": "[Output Only] Metadata about this warning in key:\nvalue format. For example:\n\n\"data\": [\n {\n \"key\": \"scope\",\n \"value\": \"zones/us-east1-d\"\n }", +"items": { +"properties": { +"key": { +"description": "[Output Only] A key that provides more detail on the warning being\nreturned. For example, for warnings where there are no results in a list\nrequest for a particular zone, this key might be scope and\nthe key value might be the zone name. Other examples might be a key\nindicating a deprecated resource and a suggested replacement, or a\nwarning about invalid network settings (for example, if an instance\nattempts to perform IP forwarding but is not enabled for IP forwarding).", +"type": "string" +}, +"value": { +"description": "[Output Only] A warning data value corresponding to the key.", +"type": "string" +} +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "[Output Only] A human-readable description of the warning code.", +"type": "string" +} +}, +"type": "object" +} +}, +"type": "object" +}, +"RouteParams": { +"description": "Additional route parameters.", +"id": "RouteParams", +"properties": { +"resourceManagerTags": { +"additionalProperties": { +"type": "string" +}, +"description": "Tag keys/values directly bound to this resource.\nTag keys and values have the same definition as resource\nmanager tags. The field is allowed for INSERT\nonly. The keys/values to set on the resource should be specified in\neither ID { : } or Namespaced format\n{ : }.\nFor example the following are valid inputs:\n* {\"tagKeys/333\" : \"tagValues/444\", \"tagKeys/123\" : \"tagValues/456\"}\n* {\"123/environment\" : \"production\", \"345/abc\" : \"xyz\"}\nNote:\n* Invalid combinations of ID & namespaced format is not supported. For\n instance: {\"123/environment\" : \"tagValues/444\"} is invalid.", +"type": "object" +} +}, +"type": "object" +}, +"RoutePolicy": { +"id": "RoutePolicy", +"properties": { +"description": { +"description": "An optional description of route policy.", +"type": "string" +}, +"fingerprint": { +"description": "A fingerprint for the Route Policy being applied to this Router, which is\nessentially a hash of the Route Policy used for optimistic locking.\nThe fingerprint is initially generated by Compute Engine and changes\nafter every request to modify or update Route Policy. You must always\nprovide an up-to-date fingerprint hash in order to update or change\nlabels.\n\nTo see the latest fingerprint, make a getRoutePolicy() request\nto retrieve a Route Policy.", +"format": "byte", +"type": "string" +}, +"name": { +"description": "Route Policy name, which must be a resource ID segment and unique\nwithin all the router's Route Policies. Name should conform to RFC1035.", +"type": "string" +}, +"terms": { +"description": "List of terms (the order in the list is not important, they are evaluated\nin order of priority). Order of policies is not retained and might change\nwhen getting policy later.", +"items": { +"$ref": "RoutePolicyPolicyTerm" +}, +"type": "array" +}, +"type": { +"enum": [ +"ROUTE_POLICY_TYPE_EXPORT", +"ROUTE_POLICY_TYPE_IMPORT" +], +"enumDescriptions": [ +"The Route Policy is an Export Policy.", +"The Route Policy is an Import Policy." +], +"type": "string" +} +}, +"type": "object" +}, +"RoutePolicyPolicyTerm": { +"id": "RoutePolicyPolicyTerm", +"properties": { +"actions": { +"description": "CEL expressions to evaluate to modify a route when this term matches.", +"items": { +"$ref": "Expr" +}, +"type": "array" +}, +"match": { +"$ref": "Expr", +"description": "CEL expression evaluated against a route to determine if this term\napplies. When not set, the term applies to all\nroutes." +}, +"priority": { +"description": "The evaluation priority for this term, which must be between 0\n(inclusive) and 2^31 (exclusive), and unique within the list.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"Router": { +"description": "Represents a Cloud Router resource.\n\nFor more information about Cloud Router, read theCloud\nRouter overview.", +"id": "Router", +"properties": { +"bgp": { +"$ref": "RouterBgp", +"description": "BGP information specific to this router." +}, +"bgpPeers": { +"description": "BGP information that must be configured into the routing stack to\nestablish BGP peering. This information must specify the peer ASN and\neither the interface name, IP address, or peer IP address. Please refer toRFC4273.", +"items": { +"$ref": "RouterBgpPeer" +}, +"type": "array" +}, +"creationTimestamp": { +"description": "Output only. [Output Only] Creation timestamp inRFC3339\ntext format.", +"readOnly": true, +"type": "string" +}, +"description": { +"description": "An optional description of this resource. Provide this property when you\ncreate the resource.", +"type": "string" +}, +"encryptedInterconnectRouter": { +"description": "Indicates if a router is dedicated for use with encrypted VLAN\nattachments (interconnectAttachments).", +"type": "boolean" +}, +"id": { +"description": "[Output Only] The unique identifier for the resource. This identifier is\ndefined by the server.", +"format": "uint64", +"type": "string" +}, +"interfaces": { +"description": "Router interfaces.\nTo create a BGP peer that uses a router interface,\nthe interface must have one of the following fields specified:\n \n - linkedVpnTunnel\n - linkedInterconnectAttachment\n - subnetwork\n\n\nYou can create a router interface without any of these fields specified.\nHowever, you cannot create a BGP peer that uses that interface.", +"items": { +"$ref": "RouterInterface" +}, +"type": "array" +}, +"kind": { +"default": "compute#router", +"description": "Output only. [Output Only] Type of resource. Always compute#router for\nrouters.", +"readOnly": true, +"type": "string" +}, +"md5AuthenticationKeys": { +"description": "Keys used for MD5 authentication.", +"items": { +"$ref": "RouterMd5AuthenticationKey" +}, +"type": "array" +}, +"name": { +"annotations": { +"required": [ +"compute.routers.insert" +] +}, +"description": "Name of the resource. Provided by the client when the resource is created.\nThe name must be 1-63 characters long, and comply withRFC1035.\nSpecifically, the name must be 1-63 characters long and match the regular\nexpression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first\ncharacter must be a lowercase letter, and all following characters must\nbe a dash, lowercase letter, or digit, except the last character, which\ncannot be a dash.", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"type": "string" +}, +"nats": { +"description": "A list of NAT services created in this router.", +"items": { +"$ref": "RouterNat" +}, +"type": "array" +}, +"nccGateway": { +"description": "URI of the ncc_gateway to which this router associated.", +"type": "string" +}, +"network": { +"annotations": { +"required": [ +"compute.routers.insert", +"compute.routers.update" +] +}, +"description": "URI of the network to which this router belongs.", +"type": "string" +}, +"params": { +"$ref": "RouterParams", +"description": "Input only. [Input Only] Additional params passed with the request, but not persisted\nas part of resource payload." +}, +"region": { +"description": "[Output Only] URI of the region where the router resides.\nYou must specify this field as part of the HTTP request URL. It is\nnot settable as a field in the request body.", +"type": "string" +}, +"selfLink": { +"description": "[Output Only] Server-defined URL for the resource.", +"type": "string" +} +}, +"type": "object" +}, +"RouterAdvertisedIpRange": { +"description": "Description-tagged IP ranges for the router to advertise.", +"id": "RouterAdvertisedIpRange", +"properties": { +"description": { +"description": "User-specified description for the IP range.", +"type": "string" +}, +"range": { +"description": "The IP range to advertise. The value must be a CIDR-formatted string.", +"type": "string" +} +}, +"type": "object" +}, +"RouterAggregatedList": { +"description": "Contains a list of routers.", +"id": "RouterAggregatedList", +"properties": { +"id": { +"description": "[Output Only] Unique identifier for the resource; defined by the server.", +"type": "string" +}, +"items": { +"additionalProperties": { +"$ref": "RoutersScopedList", +"description": "Name of the scope containing this set of routers." +}, +"description": "A list of Router resources.", +"type": "object" +}, +"kind": { +"default": "compute#routerAggregatedList", +"description": "Output only. Type of resource.", +"readOnly": true, +"type": "string" +}, +"nextPageToken": { +"description": "[Output Only] This token allows you to get the next page of results for\nlist requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for\nthe query parameter pageToken in the next list request.\nSubsequent list requests will have their own nextPageToken to\ncontinue paging through the results.", +"type": "string" +}, +"selfLink": { +"description": "Output only. [Output Only] Server-defined URL for this resource.", +"readOnly": true, +"type": "string" +}, +"unreachables": { +"description": "Output only. [Output Only] Unreachable resources.", +"items": { +"type": "string" +}, +"readOnly": true, +"type": "array" +}, +"warning": { +"description": "[Output Only] Informational warning message.", +"properties": { +"code": { +"description": "[Output Only] A warning code, if applicable. For example, Compute\nEngine returns NO_RESULTS_ON_PAGE if there\nare no results in the response.", +"enum": [ +"CLEANUP_FAILED", +"DEPRECATED_RESOURCE_USED", +"DEPRECATED_TYPE_USED", +"DISK_SIZE_LARGER_THAN_IMAGE_SIZE", +"EXPERIMENTAL_TYPE_USED", +"EXTERNAL_API_WARNING", +"FIELD_VALUE_OVERRIDEN", +"INJECTED_KERNELS_DEPRECATED", +"INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", +"LARGE_DEPLOYMENT_WARNING", +"LIST_OVERHEAD_QUOTA_EXCEED", +"MISSING_TYPE_DEPENDENCY", +"NEXT_HOP_ADDRESS_NOT_ASSIGNED", +"NEXT_HOP_CANNOT_IP_FORWARD", +"NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", +"NEXT_HOP_INSTANCE_NOT_FOUND", +"NEXT_HOP_INSTANCE_NOT_ON_NETWORK", +"NEXT_HOP_NOT_RUNNING", +"NOT_CRITICAL_ERROR", +"NO_RESULTS_ON_PAGE", +"PARTIAL_SUCCESS", +"QUOTA_INFO_UNAVAILABLE", +"REQUIRED_TOS_AGREEMENT", +"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", +"RESOURCE_NOT_DELETED", +"SCHEMA_VALIDATION_IGNORED", +"SINGLE_INSTANCE_PROPERTY_TEMPLATE", +"UNDECLARED_PROPERTIES", +"UNREACHABLE" +], +"enumDeprecated": [ +false, +false, +false, +false, +false, +false, +true, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false +], +"enumDescriptions": [ +"Warning about failed cleanup of transient changes made by a failed\noperation.", +"A link to a deprecated resource was created.", +"When deploying and at least one of the resources has a type marked as\ndeprecated", +"The user created a boot disk that is larger than image size.", +"When deploying and at least one of the resources has a type marked as\nexperimental", +"Warning that is present in an external api call", +"Warning that value of a field has been overridden.\nDeprecated unused field.", +"The operation involved use of an injected kernel, which is deprecated.", +"A WEIGHTED_MAGLEV backend service is associated with a health check that is\nnot of type HTTP/HTTPS/HTTP2.", +"When deploying a deployment with a exceedingly large number of resources", +"Resource can't be retrieved due to list overhead quota exceed\nwhich captures the amount of resources filtered out by\nuser-defined list filter.", +"A resource depends on a missing type", +"The route's nextHopIp address is not assigned to an instance on the\nnetwork.", +"The route's next hop instance cannot ip forward.", +"The route's nextHopInstance URL refers to an instance that does not have an\nipv6 interface on the same network as the route.", +"The route's nextHopInstance URL refers to an instance that does not exist.", +"The route's nextHopInstance URL refers to an instance that is not on the\nsame network as the route.", +"The route's next hop instance does not have a status of RUNNING.", +"Error which is not critical. We decided to continue the process despite\nthe mentioned error.", +"No results are present on a particular list page.", +"Success is reported, but some results may be missing due to errors", +"Quota information is not available to client requests (e.g:\nregions.list).", +"The user attempted to use a resource that requires a TOS they have not\naccepted.", +"Warning that a resource is in use.", +"One or more of the resources set to auto-delete could not be deleted\nbecause they were in use.", +"When a resource schema validation is ignored.", +"Instance template used in instance group manager is valid as such, but\nits application does not make a lot of sense, because it allows only\nsingle instance in instance group.", +"When undeclared properties in the schema are present", +"A given scope cannot be reached." +], +"type": "string" +}, +"data": { +"description": "[Output Only] Metadata about this warning in key:\nvalue format. For example:\n\n\"data\": [\n {\n \"key\": \"scope\",\n \"value\": \"zones/us-east1-d\"\n }", +"items": { +"properties": { +"key": { +"description": "[Output Only] A key that provides more detail on the warning being\nreturned. For example, for warnings where there are no results in a list\nrequest for a particular zone, this key might be scope and\nthe key value might be the zone name. Other examples might be a key\nindicating a deprecated resource and a suggested replacement, or a\nwarning about invalid network settings (for example, if an instance\nattempts to perform IP forwarding but is not enabled for IP forwarding).", +"type": "string" +}, +"value": { +"description": "[Output Only] A warning data value corresponding to the key.", +"type": "string" +} +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "[Output Only] A human-readable description of the warning code.", +"type": "string" +} +}, +"type": "object" +} +}, +"type": "object" +}, +"RouterBgp": { +"id": "RouterBgp", +"properties": { +"advertiseMode": { +"description": "User-specified flag to indicate which mode to use for advertisement.\nThe options are DEFAULT or CUSTOM.", +"enum": [ +"CUSTOM", +"DEFAULT" +], +"enumDescriptions": [ +"", +"" +], +"type": "string" +}, +"advertisedGroups": { +"description": "User-specified list of prefix groups to advertise in custom mode.\nThis field can only be populated if advertise_mode is CUSTOM and\nis advertised to all peers of the router.\nThese groups will be advertised in addition to any specified prefixes.\nLeave this field blank to advertise no custom groups.", +"items": { +"enum": [ +"ALL_SUBNETS" +], +"enumDescriptions": [ +"Advertise all available subnets (including peer VPC subnets)." +], +"type": "string" +}, +"type": "array" +}, +"advertisedIpRanges": { +"description": "User-specified list of individual IP ranges to advertise in custom mode.\nThis field can only be populated if advertise_mode is CUSTOM and\nis advertised to all peers of the router.\nThese IP ranges will be advertised in addition to any specified groups.\nLeave this field blank to advertise no custom IP ranges.", +"items": { +"$ref": "RouterAdvertisedIpRange" +}, +"type": "array" +}, +"asn": { +"description": "Local BGP Autonomous System Number (ASN).\nMust be anRFC6996 private ASN, either 16-bit or 32-bit. The\nvalue will be fixed for this router resource. All VPN tunnels that link\nto this router will have the same local ASN.", +"format": "uint32", +"type": "integer" +}, +"identifierRange": { +"description": "Explicitly specifies a range of valid BGP Identifiers for this Router. It\nis provided as a link-local IPv4 range (from 169.254.0.0/16), of size at\nleast /30, even if the BGP sessions are over IPv6. It must not overlap\nwith any IPv4 BGP session ranges.\n\n\nOther vendors commonly call this \"router ID\".", +"type": "string" +}, +"keepaliveInterval": { +"description": "The interval in seconds between BGP keepalive messages that are\nsent to the peer.\n\n\nHold time is three times the interval at which keepalive messages are\nsent, and the hold time is the maximum number of seconds allowed to\nelapse between successive keepalive messages that BGP receives from a\npeer.\n\n\nBGP will use the smaller of either the local hold time value or the\npeer's hold time value as the hold time for the BGP connection between\nthe two peers.\n\n\nIf set, this value must be between 20 and 60. The default is 20.", +"format": "uint32", +"type": "integer" +} +}, +"type": "object" +}, +"RouterBgpPeer": { +"id": "RouterBgpPeer", +"properties": { +"advertiseMode": { +"description": "User-specified flag to indicate which mode to use for advertisement.", +"enum": [ +"CUSTOM", +"DEFAULT" +], +"enumDescriptions": [ +"", +"" +], +"type": "string" +}, +"advertisedGroups": { +"description": "User-specified list of prefix groups to advertise in custom mode,\nwhich currently supports the following option:\n \n - ALL_SUBNETS: Advertises all of the router's own VPC subnets. This\n excludes any routes learned for subnets that use\n VPC Network Peering.\n\n\nNote that this field can only be populated if advertise_mode is CUSTOM\nand overrides the list defined for the router (in the \"bgp\" message).\nThese groups are advertised in addition to any specified prefixes.\nLeave this field blank to advertise no custom groups.", +"items": { +"enum": [ +"ALL_SUBNETS" +], +"enumDescriptions": [ +"Advertise all available subnets (including peer VPC subnets)." +], +"type": "string" +}, +"type": "array" +}, +"advertisedIpRanges": { +"description": "User-specified list of individual IP ranges to advertise in custom mode.\nThis field can only be populated if advertise_mode is CUSTOM and\noverrides the list defined for the router (in the \"bgp\" message).\nThese IP ranges are advertised in addition to any specified groups.\nLeave this field blank to advertise no custom IP ranges.", +"items": { +"$ref": "RouterAdvertisedIpRange" +}, +"type": "array" +}, +"advertisedRoutePriority": { +"description": "The priority of routes advertised to this BGP peer. Where there is more\nthan one matching route of maximum length, the routes with the lowest\npriority value win.", +"format": "uint32", +"type": "integer" +}, +"bfd": { +"$ref": "RouterBgpPeerBfd", +"description": "BFD configuration for the BGP peering." +}, +"customLearnedIpRanges": { +"description": "A list of user-defined custom learned route IP address ranges for a BGP\nsession.", +"items": { +"$ref": "RouterBgpPeerCustomLearnedIpRange" +}, +"type": "array" +}, +"customLearnedRoutePriority": { +"description": "The user-defined custom learned route priority for a BGP session. This\nvalue is applied to all custom learned route ranges for the session.\nYou can choose a value from `0` to `65335`. If you don't provide a\nvalue, Google Cloud assigns a priority of `100` to the ranges.", +"format": "int32", +"type": "integer" +}, +"enable": { +"description": "The status of the BGP peer connection.\n\n\nIf set to FALSE, any active session with the peer is terminated and\nall associated routing information is removed. If set to TRUE, the\npeer connection can be established with routing information. The default\nis TRUE.", +"enum": [ +"FALSE", +"TRUE" +], +"enumDescriptions": [ +"", +"" +], +"type": "string" +}, +"enableIpv4": { +"description": "Enable IPv4 traffic over BGP Peer. It is enabled by default if\nthe peerIpAddress is version 4.", +"type": "boolean" +}, +"enableIpv6": { +"description": "Enable IPv6 traffic over BGP Peer. It is enabled by default if the\npeerIpAddress is version 6.", +"type": "boolean" +}, +"exportPolicies": { +"description": "List of export policies applied to this peer, in the order they must be\nevaluated. The name must correspond to an existing policy that has\nROUTE_POLICY_TYPE_EXPORT type.", +"items": { +"type": "string" +}, +"type": "array" +}, +"importPolicies": { +"description": "List of import policies applied to this peer, in the order they must be\nevaluated. The name must correspond to an existing policy that has\nROUTE_POLICY_TYPE_IMPORT type.", +"items": { +"type": "string" +}, +"type": "array" +}, +"interfaceName": { +"description": "Name of the interface the BGP peer is associated with.", +"type": "string" +}, +"ipAddress": { +"description": "IP address of the interface inside Google Cloud Platform.", +"type": "string" +}, +"ipv4NexthopAddress": { +"description": "IPv4 address of the interface inside Google Cloud Platform.", +"type": "string" +}, +"ipv6NexthopAddress": { +"description": "IPv6 address of the interface inside Google Cloud Platform.", +"type": "string" +}, +"managementType": { +"description": "Output only. [Output Only] The resource that configures and manages this BGP peer.\n \n - MANAGED_BY_USER is the default value and can be managed by you\n or other users\n - MANAGED_BY_ATTACHMENT is a BGP peer that is configured and managed\n by Cloud Interconnect, specifically by an InterconnectAttachment of type\n PARTNER. Google automatically creates, updates, and deletes this type of\n BGP peer when the PARTNER InterconnectAttachment is created, updated,\n or deleted.", +"enum": [ +"MANAGED_BY_ATTACHMENT", +"MANAGED_BY_USER" +], +"enumDescriptions": [ +"The BGP peer is automatically created for PARTNER type\nInterconnectAttachment; Google will automatically create/delete\nthis BGP peer when the PARTNER InterconnectAttachment is\ncreated/deleted, and Google will update the ipAddress and\npeerIpAddress when the PARTNER InterconnectAttachment is provisioned.\nThis type of BGP peer cannot be created or deleted, but can be\nmodified for all fields except for name, ipAddress and peerIpAddress.", +"Default value, the BGP peer is manually created and managed by user." +], +"readOnly": true, +"type": "string" +}, +"md5AuthenticationKeyName": { +"description": "Present if MD5 authentication is enabled for the peering. Must be the\nname of one of the entries in the Router.md5_authentication_keys. The\nfield must comply with RFC1035.", +"type": "string" +}, +"name": { +"annotations": { +"required": [ +"compute.routers.insert" +] +}, +"description": "Name of this BGP peer.\nThe name must be 1-63 characters long, and comply withRFC1035. Specifically, the name must be 1-63\ncharacters long and match the regular expression\n`[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a\nlowercase letter, and all following characters must be a dash, lowercase\nletter, or digit, except the last character, which cannot be a dash.", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"type": "string" +}, +"peerAsn": { +"annotations": { +"required": [ +"compute.routers.insert" +] +}, +"description": "Peer BGP Autonomous System Number (ASN). Each BGP interface may use\na different value.", +"format": "uint32", +"type": "integer" +}, +"peerIpAddress": { +"description": "IP address of the BGP interface outside Google Cloud Platform.", +"type": "string" +}, +"peerIpv4NexthopAddress": { +"description": "IPv4 address of the BGP interface outside Google Cloud Platform.", +"type": "string" +}, +"peerIpv6NexthopAddress": { +"description": "IPv6 address of the BGP interface outside Google Cloud Platform.", +"type": "string" +}, +"routerApplianceInstance": { +"description": "URI of the VM instance that is used as third-party router\nappliances such as Next Gen Firewalls, Virtual Routers, or Router\nAppliances. The VM instance must be located in zones contained in the\nsame region as this Cloud Router.\nThe VM instance is the peer side of the BGP session.", +"type": "string" +} +}, +"type": "object" +}, +"RouterBgpPeerBfd": { +"id": "RouterBgpPeerBfd", +"properties": { +"minReceiveInterval": { +"description": "The minimum interval, in milliseconds, between BFD control packets\nreceived from the peer router. The actual value is negotiated between\nthe two routers and is equal to the greater of this value and the\ntransmit interval of the other router.\n\n\nIf set, this value must be between 1000 and 30000.\n\n\nThe default is 1000.", +"format": "uint32", +"type": "integer" +}, +"minTransmitInterval": { +"description": "The minimum interval, in milliseconds, between BFD control packets\ntransmitted to the peer router. The actual value is negotiated between\nthe two routers and is equal to the greater of this value and the\ncorresponding receive interval of the other router.\n\n\nIf set, this value must be between 1000 and 30000.\n\n\nThe default is 1000.", +"format": "uint32", +"type": "integer" +}, +"multiplier": { +"description": "The number of consecutive BFD packets that must be missed\nbefore BFD declares that a peer is unavailable.\n\n\nIf set, the value must be a value between 5 and 16.\n\n\nThe default is 5.", +"format": "uint32", +"type": "integer" +}, +"sessionInitializationMode": { +"description": "The BFD session initialization mode for this BGP peer.\n\n\nIf set to ACTIVE, the Cloud Router will initiate the BFD session for\nthis BGP peer. If set to PASSIVE, the Cloud Router will wait for the\npeer router to initiate the BFD session for this BGP peer. If set to\nDISABLED, BFD is disabled for this BGP peer. The default is DISABLED.", +"enum": [ +"ACTIVE", +"DISABLED", +"PASSIVE" +], +"enumDescriptions": [ +"", +"", +"" +], +"type": "string" +} +}, +"type": "object" +}, +"RouterBgpPeerCustomLearnedIpRange": { +"id": "RouterBgpPeerCustomLearnedIpRange", +"properties": { +"range": { +"description": "The custom learned route IP address range. Must be a valid\nCIDR-formatted prefix. If an IP address is provided without a subnet\nmask, it is interpreted as, for IPv4, a `/32` singular IP address\nrange, and, for IPv6, `/128`.", +"type": "string" +} +}, +"type": "object" +}, +"RouterInterface": { +"id": "RouterInterface", +"properties": { +"ipRange": { +"description": "IP address and range of the interface.\n \n - For Internet Protocol version 4 (IPv4), the IP range must be in theRFC3927 link-local IP address space. The value must\n be a CIDR-formatted string, for example, 169.254.0.1/30.\n Note: Do not truncate the IP address, as it represents the IP address of\n the interface. \n - For Internet Protocol version 6 (IPv6), the value\n must be a unique local address (ULA) range from fdff:1::/64\n with a mask length of 126 or less. This value should be a CIDR-formatted\n string, for example, fdff:1::1/112. Within the router's\n VPC, this IPv6 prefix will be reserved exclusively for this connection\n and cannot be used for any other purpose.", +"type": "string" +}, +"ipVersion": { +"description": "IP version of this interface.", +"enum": [ +"IPV4", +"IPV6" +], +"enumDescriptions": [ +"", +"" +], +"type": "string" +}, +"linkedInterconnectAttachment": { +"description": "URI of the linked Interconnect attachment. It must be in the same region\nas the router. Each interface can have one linked resource, which can be\na VPN tunnel, an Interconnect attachment, or a subnetwork.", +"type": "string" +}, +"linkedVpnTunnel": { +"description": "URI of the linked VPN tunnel, which must be in the same region as the\nrouter. Each interface can have one linked resource, which can be\na VPN tunnel, an Interconnect attachment, or a subnetwork.", +"type": "string" +}, +"managementType": { +"description": "Output only. [Output Only] The resource that configures and manages this interface.\n \n - MANAGED_BY_USER is the default value and can be managed directly\n by users.\n - MANAGED_BY_ATTACHMENT is an interface that is configured and\n managed by Cloud Interconnect, specifically, by an InterconnectAttachment\n of type PARTNER. Google automatically creates, updates, and deletes\n this type of interface when the PARTNER InterconnectAttachment is\n created, updated, or deleted.", +"enum": [ +"MANAGED_BY_ATTACHMENT", +"MANAGED_BY_USER" +], +"enumDescriptions": [ +"The interface is automatically created for PARTNER type\nInterconnectAttachment, Google will automatically create/update/delete\nthis interface when the PARTNER InterconnectAttachment is\ncreated/provisioned/deleted.\nThis type of interface cannot be manually managed by user.", +"Default value, the interface is manually created and managed by user." +], +"readOnly": true, +"type": "string" +}, +"name": { +"annotations": { +"required": [ +"compute.routers.insert" +] +}, +"description": "Name of this interface entry.\nThe name must be 1-63 characters long, and comply withRFC1035. Specifically, the name must be 1-63\ncharacters long and match the regular expression\n`[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a\nlowercase letter, and all following characters must be a dash, lowercase\nletter, or digit, except the last character, which cannot be a dash.", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"type": "string" +}, +"privateIpAddress": { +"description": "The regional private internal IP address that is used to establish\nBGP sessions to a VM instance acting as a third-party\nRouter Appliance, such as a Next Gen Firewall, a Virtual Router, or\nan SD-WAN VM.", +"type": "string" +}, +"redundantInterface": { +"description": "Name of the interface that will be redundant with the current interface\nyou are creating. The redundantInterface must belong to the same Cloud\nRouter as the interface here. To establish the BGP session to a Router\nAppliance VM, you must create two BGP peers. The two BGP peers must be\nattached to two separate interfaces that are redundant with each other.\nThe redundant_interface must be 1-63 characters long, and comply withRFC1035. Specifically, the redundant_interface must\nbe 1-63 characters long and match the regular expression\n`[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a\nlowercase letter, and all following characters must be a dash, lowercase\nletter, or digit, except the last character, which cannot be a dash.", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"type": "string" +}, +"subnetwork": { +"description": "The URI of the subnetwork resource that this interface belongs to, which\nmust be in the same region as the Cloud Router.\nWhen you establish a BGP session to a VM instance using this interface,\nthe VM instance must belong to the same subnetwork as the subnetwork\nspecified here.", +"type": "string" +} +}, +"type": "object" +}, +"RouterList": { +"description": "Contains a list of Router resources.", +"id": "RouterList", +"properties": { +"id": { +"description": "[Output Only] Unique identifier for the resource; defined by the server.", +"type": "string" +}, +"items": { +"description": "A list of Router resources.", +"items": { +"$ref": "Router" +}, +"type": "array" +}, +"kind": { +"default": "compute#routerList", +"description": "Output only. [Output Only] Type of resource. Always compute#router for\nrouters.", +"readOnly": true, +"type": "string" +}, +"nextPageToken": { +"description": "[Output Only] This token allows you to get the next page of results for\nlist requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for\nthe query parameter pageToken in the next list request.\nSubsequent list requests will have their own nextPageToken to\ncontinue paging through the results.", +"type": "string" +}, +"selfLink": { +"description": "Output only. [Output Only] Server-defined URL for this resource.", +"readOnly": true, +"type": "string" +}, +"warning": { +"description": "[Output Only] Informational warning message.", +"properties": { +"code": { +"description": "[Output Only] A warning code, if applicable. For example, Compute\nEngine returns NO_RESULTS_ON_PAGE if there\nare no results in the response.", +"enum": [ +"CLEANUP_FAILED", +"DEPRECATED_RESOURCE_USED", +"DEPRECATED_TYPE_USED", +"DISK_SIZE_LARGER_THAN_IMAGE_SIZE", +"EXPERIMENTAL_TYPE_USED", +"EXTERNAL_API_WARNING", +"FIELD_VALUE_OVERRIDEN", +"INJECTED_KERNELS_DEPRECATED", +"INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", +"LARGE_DEPLOYMENT_WARNING", +"LIST_OVERHEAD_QUOTA_EXCEED", +"MISSING_TYPE_DEPENDENCY", +"NEXT_HOP_ADDRESS_NOT_ASSIGNED", +"NEXT_HOP_CANNOT_IP_FORWARD", +"NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", +"NEXT_HOP_INSTANCE_NOT_FOUND", +"NEXT_HOP_INSTANCE_NOT_ON_NETWORK", +"NEXT_HOP_NOT_RUNNING", +"NOT_CRITICAL_ERROR", +"NO_RESULTS_ON_PAGE", +"PARTIAL_SUCCESS", +"QUOTA_INFO_UNAVAILABLE", +"REQUIRED_TOS_AGREEMENT", +"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", +"RESOURCE_NOT_DELETED", +"SCHEMA_VALIDATION_IGNORED", +"SINGLE_INSTANCE_PROPERTY_TEMPLATE", +"UNDECLARED_PROPERTIES", +"UNREACHABLE" +], +"enumDeprecated": [ +false, +false, +false, +false, +false, +false, +true, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false +], +"enumDescriptions": [ +"Warning about failed cleanup of transient changes made by a failed\noperation.", +"A link to a deprecated resource was created.", +"When deploying and at least one of the resources has a type marked as\ndeprecated", +"The user created a boot disk that is larger than image size.", +"When deploying and at least one of the resources has a type marked as\nexperimental", +"Warning that is present in an external api call", +"Warning that value of a field has been overridden.\nDeprecated unused field.", +"The operation involved use of an injected kernel, which is deprecated.", +"A WEIGHTED_MAGLEV backend service is associated with a health check that is\nnot of type HTTP/HTTPS/HTTP2.", +"When deploying a deployment with a exceedingly large number of resources", +"Resource can't be retrieved due to list overhead quota exceed\nwhich captures the amount of resources filtered out by\nuser-defined list filter.", +"A resource depends on a missing type", +"The route's nextHopIp address is not assigned to an instance on the\nnetwork.", +"The route's next hop instance cannot ip forward.", +"The route's nextHopInstance URL refers to an instance that does not have an\nipv6 interface on the same network as the route.", +"The route's nextHopInstance URL refers to an instance that does not exist.", +"The route's nextHopInstance URL refers to an instance that is not on the\nsame network as the route.", +"The route's next hop instance does not have a status of RUNNING.", +"Error which is not critical. We decided to continue the process despite\nthe mentioned error.", +"No results are present on a particular list page.", +"Success is reported, but some results may be missing due to errors", +"Quota information is not available to client requests (e.g:\nregions.list).", +"The user attempted to use a resource that requires a TOS they have not\naccepted.", +"Warning that a resource is in use.", +"One or more of the resources set to auto-delete could not be deleted\nbecause they were in use.", +"When a resource schema validation is ignored.", +"Instance template used in instance group manager is valid as such, but\nits application does not make a lot of sense, because it allows only\nsingle instance in instance group.", +"When undeclared properties in the schema are present", +"A given scope cannot be reached." +], +"type": "string" +}, +"data": { +"description": "[Output Only] Metadata about this warning in key:\nvalue format. For example:\n\n\"data\": [\n {\n \"key\": \"scope\",\n \"value\": \"zones/us-east1-d\"\n }", +"items": { +"properties": { +"key": { +"description": "[Output Only] A key that provides more detail on the warning being\nreturned. For example, for warnings where there are no results in a list\nrequest for a particular zone, this key might be scope and\nthe key value might be the zone name. Other examples might be a key\nindicating a deprecated resource and a suggested replacement, or a\nwarning about invalid network settings (for example, if an instance\nattempts to perform IP forwarding but is not enabled for IP forwarding).", +"type": "string" +}, +"value": { +"description": "[Output Only] A warning data value corresponding to the key.", +"type": "string" +} +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "[Output Only] A human-readable description of the warning code.", +"type": "string" +} +}, +"type": "object" +} +}, +"type": "object" +}, +"RouterMd5AuthenticationKey": { +"id": "RouterMd5AuthenticationKey", +"properties": { +"key": { +"annotations": { +"required": [ +"compute.routers.insert" +] +}, +"description": "[Input only] Value of the key.\n\nFor patch and update calls, it can be skipped to\ncopy the value from the previous configuration. This is allowed if the\nkey with the same name existed before the operation. Maximum length is 80\ncharacters. Can only contain printable ASCII characters.", +"type": "string" +}, +"name": { +"annotations": { +"required": [ +"compute.routers.insert", +"compute.routers.update" +] +}, +"description": "Name used to identify the key.\n\nMust be unique within a router. Must be referenced by exactly\none bgpPeer. Must comply withRFC1035.", +"type": "string" +} +}, +"type": "object" +}, +"RouterNat": { +"description": "Represents a Nat resource. It enables the VMs within the specified\nsubnetworks to access Internet without external IP addresses. It specifies\na list of subnetworks (and the ranges within) that want to use NAT.\nCustomers can also provide the external IPs that would be used for NAT. GCP\nwould auto-allocate ephemeral IPs if no external IPs are provided.", +"id": "RouterNat", +"properties": { +"autoNetworkTier": { +"description": "The network tier to use when automatically reserving NAT IP addresses.\nMust be one of: PREMIUM, STANDARD.\nIf not specified, then the current \nproject-level default tier is used.", +"enum": [ +"FIXED_STANDARD", +"PREMIUM", +"STANDARD", +"STANDARD_OVERRIDES_FIXED_STANDARD" +], +"enumDescriptions": [ +"Public internet quality with fixed bandwidth.", +"High quality, Google-grade network tier, support for all networking\nproducts.", +"Public internet quality, only limited support for other networking\nproducts.", +"(Output only) Temporary tier for FIXED_STANDARD when fixed standard tier\nis expired or not configured." +], +"type": "string" +}, +"drainNatIps": { +"description": "A list of URLs of the IP resources to be drained. These IPs\nmust be valid static external IPs that have been assigned to the NAT.\nThese IPs should be used for updating/patching a NAT only.", +"items": { +"type": "string" +}, +"type": "array" +}, +"enableDynamicPortAllocation": { +"description": "Enable Dynamic Port Allocation.\n\n\nIf not specified, it is disabled by default.\n\n\nIf set to true,\n \n - Dynamic Port Allocation will be enabled on this NAT\n config.\n - enableEndpointIndependentMapping cannot be set to true.\n - If minPorts is set, minPortsPerVm must be set to a\n power of two greater than or equal to 32. If minPortsPerVm is not set, a\n minimum of 32 ports will be allocated to a VM from this NAT\n config.", +"type": "boolean" +}, +"enableEndpointIndependentMapping": { +"type": "boolean" +}, +"endpointTypes": { +"description": "List of NAT-ted endpoint types supported by the Nat Gateway. If the list\nis empty, then it will be equivalent to include ENDPOINT_TYPE_VM", +"items": { +"enum": [ +"ENDPOINT_TYPE_MANAGED_PROXY_LB", +"ENDPOINT_TYPE_SWG", +"ENDPOINT_TYPE_VM" +], +"enumDescriptions": [ +"This is used for regional Application Load Balancers (internal and\nexternal) and regional proxy Network Load Balancers (internal and\nexternal) endpoints.", +"This is used for Secure Web Gateway endpoints.", +"This is the default." +], +"type": "string" +}, +"type": "array" +}, +"icmpIdleTimeoutSec": { +"description": "Timeout (in seconds) for ICMP connections. Defaults to 30s if not set.", +"format": "int32", +"type": "integer" +}, +"logConfig": { +"$ref": "RouterNatLogConfig", +"description": "Configure logging on this NAT." +}, +"maxPortsPerVm": { +"description": "Maximum number of ports allocated to a VM from this NAT config when\nDynamic Port Allocation is enabled.\n\n\nIf Dynamic Port Allocation is not enabled, this field has no effect.\n\n\nIf Dynamic Port Allocation is enabled, and this field is set, it must be\nset to a power of two greater than minPortsPerVm, or 64 if minPortsPerVm\nis not set.\n\n\nIf Dynamic Port Allocation is enabled and this field is not set,\na maximum of 65536 ports will be allocated to a VM from this NAT\nconfig.", +"format": "int32", +"type": "integer" +}, +"minPortsPerVm": { +"description": "Minimum number of ports allocated to a VM from this NAT config. If not\nset, a default number of ports is allocated to a VM. This is rounded\nup to the nearest power of 2. For example, if the value of this field is\n50, at least 64 ports are allocated to a VM.", +"format": "int32", +"type": "integer" +}, +"name": { +"description": "Unique name of this Nat service.\nThe name must be 1-63 characters long and comply withRFC1035.", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"type": "string" +}, +"nat64Subnetworks": { +"description": "List of Subnetwork resources whose traffic should be translated by NAT64\nGateway. It is used only when LIST_OF_IPV6_SUBNETWORKS is\nselected for the SubnetworkIpRangeToNat64Option above.", +"items": { +"$ref": "RouterNatSubnetworkToNat64" +}, +"type": "array" +}, +"natIpAllocateOption": { +"description": "Specify the NatIpAllocateOption, which can take one of the following\nvalues: \n \n - MANUAL_ONLY: Uses only Nat IP addresses provided by\n customers. When there are not enough specified Nat IPs, the Nat service\n fails for new VMs.\n - AUTO_ONLY: Nat IPs are allocated by Google Cloud Platform; customers\n can't specify any Nat IPs. When choosing AUTO_ONLY, then nat_ip should\n be empty.", +"enum": [ +"AUTO_ONLY", +"MANUAL_ONLY" +], +"enumDescriptions": [ +"Nat IPs are allocated by GCP; customers can not specify any Nat IPs.", +"Only use Nat IPs provided by customers. When specified Nat IPs are not\nenough then the Nat service fails for new VMs." +], +"type": "string" +}, +"natIps": { +"description": "A list of URLs of the IP resources used for this Nat service. These IP\naddresses must be valid static external IP addresses assigned to the\nproject.", +"items": { +"type": "string" +}, +"type": "array" +}, +"rules": { +"description": "A list of rules associated with this NAT.", +"items": { +"$ref": "RouterNatRule" +}, +"type": "array" +}, +"sourceSubnetworkIpRangesToNat": { +"description": "Specify the Nat option, which can take one of the following values:\n \n - ALL_SUBNETWORKS_ALL_IP_RANGES: All of the IP ranges in every\n Subnetwork are allowed to Nat.\n - ALL_SUBNETWORKS_ALL_PRIMARY_IP_RANGES: All of the primary IP ranges\n in every Subnetwork are allowed to Nat.\n - LIST_OF_SUBNETWORKS: A list of Subnetworks are allowed to Nat\n (specified in the field subnetwork below)\n\n\nThe default is SUBNETWORK_IP_RANGE_TO_NAT_OPTION_UNSPECIFIED.\nNote that if this field contains ALL_SUBNETWORKS_ALL_IP_RANGES then there\nshould not be any other Router.Nat section in any Router for this network\nin this region.", +"enum": [ +"ALL_SUBNETWORKS_ALL_IP_RANGES", +"ALL_SUBNETWORKS_ALL_PRIMARY_IP_RANGES", +"LIST_OF_SUBNETWORKS" +], +"enumDescriptions": [ +"All the IP ranges in every Subnetwork are allowed to Nat.", +"All the primary IP ranges in every Subnetwork are allowed to Nat.", +"A list of Subnetworks are allowed to Nat (specified in the field\nsubnetwork below)" +], +"type": "string" +}, +"sourceSubnetworkIpRangesToNat64": { +"description": "Specify the Nat option for NAT64, which can take one of the following\nvalues: \n \n - ALL_IPV6_SUBNETWORKS: All of the IP ranges in\n every Subnetwork are allowed to Nat.\n - LIST_OF_IPV6_SUBNETWORKS: A list of Subnetworks are allowed to Nat\n (specified in the field nat64_subnetwork below)\n\n\nThe default is NAT64_OPTION_UNSPECIFIED.\nNote that if this field contains NAT64_ALL_V6_SUBNETWORKS no other\nRouter.Nat section in this region can also enable NAT64 for any\nSubnetworks in this network. Other Router.Nat sections can still be\npresent to enable NAT44 only.", +"enum": [ +"ALL_IPV6_SUBNETWORKS", +"LIST_OF_IPV6_SUBNETWORKS" +], +"enumDescriptions": [ +"NAT64 is enabled for all the IPv6 subnet ranges.\nIn dual stack subnets, NAT64 will only be enabled for IPv6-only VMs.", +"NAT64 is enabled for a list of IPv6 subnet ranges.\nIn dual stack subnets, NAT64 will only be enabled for IPv6-only VMs.\nIf this option is used, the nat64_subnetworks field must be specified." +], +"type": "string" +}, +"subnetworks": { +"description": "A list of Subnetwork resources whose traffic should be translated by NAT\nGateway. It is used only when LIST_OF_SUBNETWORKS is selected for the\nSubnetworkIpRangeToNatOption above.", +"items": { +"$ref": "RouterNatSubnetworkToNat" +}, +"type": "array" +}, +"tcpEstablishedIdleTimeoutSec": { +"description": "Timeout (in seconds) for TCP established connections. Defaults to 1200s\nif not set.", +"format": "int32", +"type": "integer" +}, +"tcpTimeWaitTimeoutSec": { +"description": "Timeout (in seconds) for TCP connections that are in TIME_WAIT state.\nDefaults to 120s if not set.", +"format": "int32", +"type": "integer" +}, +"tcpTransitoryIdleTimeoutSec": { +"description": "Timeout (in seconds) for TCP transitory connections. Defaults to 30s if\nnot set.", +"format": "int32", +"type": "integer" +}, +"type": { +"description": "Indicates whether this NAT is used for public or private IP\ntranslation. If unspecified, it defaults to PUBLIC.", +"enum": [ +"PRIVATE", +"PUBLIC" +], +"enumDescriptions": [ +"NAT used for private IP translation.", +"NAT used for public IP translation.\nThis is the default." +], +"type": "string" +}, +"udpIdleTimeoutSec": { +"description": "Timeout (in seconds) for UDP connections. Defaults to 30s if not set.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"RouterNatLogConfig": { +"description": "Configuration of logging on a NAT.", +"id": "RouterNatLogConfig", +"properties": { +"enable": { +"description": "Indicates whether or not to export logs. This is false by default.", +"type": "boolean" +}, +"filter": { +"description": "Specify the desired filtering of logs on this NAT. If unspecified,\nlogs are exported for all connections handled by this NAT.\nThis option can take one of the following values:\n \n - ERRORS_ONLY: Export logs only for connection failures.\n - TRANSLATIONS_ONLY: Export logs only for successful\n connections.\n - ALL: Export logs for all connections, successful and\n unsuccessful.", +"enum": [ +"ALL", +"ERRORS_ONLY", +"TRANSLATIONS_ONLY" +], +"enumDescriptions": [ +"Export logs for all (successful and unsuccessful) connections.", +"Export logs for connection failures only.", +"Export logs for successful connections only." +], +"type": "string" +} +}, +"type": "object" +}, +"RouterNatRule": { +"id": "RouterNatRule", +"properties": { +"action": { +"$ref": "RouterNatRuleAction", +"description": "The action to be enforced for traffic that matches this rule." +}, +"description": { +"description": "An optional description of this rule.", +"type": "string" +}, +"match": { +"description": "CEL expression that specifies the match condition that egress traffic\nfrom a VM is evaluated against. If it evaluates to true, the\ncorresponding `action` is enforced.\n\nThe following examples are valid match expressions for public NAT:\n\n`inIpRange(destination.ip, '1.1.0.0/16') || inIpRange(destination.ip,\n '2.2.0.0/16')`\n\n`destination.ip == '1.1.0.1' || destination.ip == '8.8.8.8'`\n\nThe following example is a valid match expression for private NAT:\n\n`nexthop.hub ==\n'//networkconnectivity.googleapis.com/projects/my-project/locations/global/hubs/hub-1'`", +"type": "string" +}, +"ruleNumber": { +"description": "An integer uniquely identifying a rule in the list. The rule number\nmust be a positive value between 0 and 65000, and\nmust be unique among rules within a NAT.", +"format": "uint32", +"type": "integer" +} +}, +"type": "object" +}, +"RouterNatRuleAction": { +"id": "RouterNatRuleAction", +"properties": { +"sourceNatActiveIps": { +"description": "A list of URLs of the IP resources used for this NAT rule. These IP\naddresses must be valid static external IP addresses assigned to the\nproject.\nThis field is used for public NAT.", +"items": { +"type": "string" +}, +"type": "array" +}, +"sourceNatActiveRanges": { +"description": "A list of URLs of the subnetworks used as source ranges for this\nNAT Rule. These subnetworks must have purpose set to PRIVATE_NAT.\nThis field is used for private NAT.", +"items": { +"type": "string" +}, +"type": "array" +}, +"sourceNatDrainIps": { +"description": "A list of URLs of the IP resources to be drained. These IPs\nmust be valid static external IPs that have been assigned to the NAT.\nThese IPs should be used for updating/patching a NAT rule only.\nThis field is used for public NAT.", +"items": { +"type": "string" +}, +"type": "array" +}, +"sourceNatDrainRanges": { +"description": "A list of URLs of subnetworks representing source ranges to be\ndrained. This is only supported on patch/update, and these\nsubnetworks must have previously been used as active ranges in this\nNAT Rule.\nThis field is used for private NAT.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"RouterNatSubnetworkToNat": { +"description": "Defines the IP ranges that want to use NAT for a subnetwork.", +"id": "RouterNatSubnetworkToNat", +"properties": { +"name": { +"description": "URL for the subnetwork resource that will use NAT.", +"type": "string" +}, +"secondaryIpRangeNames": { +"description": "A list of the secondary ranges of the Subnetwork that are allowed to\nuse NAT. This can be populated only if \"LIST_OF_SECONDARY_IP_RANGES\"\nis one of the values in source_ip_ranges_to_nat.", +"items": { +"type": "string" +}, +"type": "array" +}, +"sourceIpRangesToNat": { +"description": "Specify the options for NAT ranges in the Subnetwork. All\noptions of a single value are valid except\nNAT_IP_RANGE_OPTION_UNSPECIFIED.\nThe only valid option with multiple values is: [\"PRIMARY_IP_RANGE\",\n\"LIST_OF_SECONDARY_IP_RANGES\"]\nDefault: [ALL_IP_RANGES]", +"items": { +"enum": [ +"ALL_IP_RANGES", +"LIST_OF_SECONDARY_IP_RANGES", +"PRIMARY_IP_RANGE" +], +"enumDescriptions": [ +"The primary and all the secondary ranges are allowed to Nat.", +"A list of secondary ranges are allowed to Nat.", +"The primary range is allowed to Nat." +], +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"RouterNatSubnetworkToNat64": { +"description": "Specifies a subnetwork to enable NAT64.", +"id": "RouterNatSubnetworkToNat64", +"properties": { +"name": { +"description": "URL for the subnetwork resource that will use NAT64.", +"type": "string" +} +}, +"type": "object" +}, +"RouterParams": { +"description": "Additional router parameters.", +"id": "RouterParams", +"properties": { +"resourceManagerTags": { +"additionalProperties": { +"type": "string" +}, +"description": "Tag keys/values directly bound to this resource.\nThe field is allowed for INSERT\nonly. The keys/values to set on the resource should be specified in\neither ID { : } or Namespaced format\n{ : }.\nFor example the following are valid inputs:\n* {\"tagKeys/333\" : \"tagValues/444\", \"tagKeys/123\" : \"tagValues/456\"}\n* {\"123/environment\" : \"production\", \"345/abc\" : \"xyz\"}\nNote:\n* Invalid combinations of ID & namespaced format is not supported. For\n instance: {\"123/environment\" : \"tagValues/444\"} is invalid.\n* Inconsistent format is not supported. For instance:\n {\"tagKeys/333\" : \"tagValues/444\", \"123/env\" : \"prod\"} is invalid.", +"type": "object" +} +}, +"type": "object" +}, +"RouterStatus": { +"id": "RouterStatus", +"properties": { +"bestRoutes": { +"description": "A list of the best dynamic routes for this Cloud Router's Virtual Private\nCloud (VPC) network in the same region as this Cloud Router.\n\nLists all of the best routes per prefix that are programmed into this\nregion's VPC data plane.\n\nWhen global dynamic routing mode is turned on in the VPC network, this list\ncan include cross-region dynamic routes from Cloud Routers in other\nregions.", +"items": { +"$ref": "Route" +}, +"type": "array" +}, +"bestRoutesForRouter": { +"description": "A list of the best BGP routes learned by this Cloud Router.\n\nIt is possible that routes listed might not be programmed into the data\nplane, if the Google Cloud control plane finds a more optimal route for a\nprefix than a route learned by this Cloud Router.", +"items": { +"$ref": "Route" +}, +"type": "array" +}, +"bgpPeerStatus": { +"items": { +"$ref": "RouterStatusBgpPeerStatus" +}, +"type": "array" +}, +"natStatus": { +"items": { +"$ref": "RouterStatusNatStatus" +}, +"type": "array" +}, +"nccGateway": { +"description": "URI of the ncc_gateway to which this router associated.", +"type": "string" +}, +"network": { +"description": "URI of the network to which this router belongs.", +"type": "string" +} +}, +"type": "object" +}, +"RouterStatusBgpPeerStatus": { +"id": "RouterStatusBgpPeerStatus", +"properties": { +"advertisedRoutes": { +"description": "Routes that were advertised to the remote BGP peer", +"items": { +"$ref": "Route" +}, +"type": "array" +}, +"bfdStatus": { +"$ref": "BfdStatus" +}, +"enableIpv4": { +"description": "Output only. Enable IPv4 traffic over BGP Peer.\nIt is enabled by default if the peerIpAddress is version 4.", +"readOnly": true, +"type": "boolean" +}, +"enableIpv6": { +"description": "Output only. Enable IPv6 traffic over BGP Peer.\nIt is enabled by default if the peerIpAddress is version 6.", +"readOnly": true, +"type": "boolean" +}, +"ipAddress": { +"description": "Output only. IP address of the local BGP interface.", +"readOnly": true, +"type": "string" +}, +"ipv4NexthopAddress": { +"description": "Output only. IPv4 address of the local BGP interface.", +"readOnly": true, +"type": "string" +}, +"ipv6NexthopAddress": { +"description": "Output only. IPv6 address of the local BGP interface.", +"readOnly": true, +"type": "string" +}, +"linkedVpnTunnel": { +"description": "Output only. URL of the VPN tunnel that this BGP peer controls.", +"readOnly": true, +"type": "string" +}, +"md5AuthEnabled": { +"description": "Informs whether MD5 authentication is enabled on this BGP peer.", +"type": "boolean" +}, +"name": { +"description": "Output only. Name of this BGP peer. Unique within the Routers resource.", +"readOnly": true, +"type": "string" +}, +"numLearnedRoutes": { +"description": "Output only. Number of routes learned from the remote BGP Peer.", +"format": "uint32", +"readOnly": true, +"type": "integer" +}, +"peerIpAddress": { +"description": "Output only. IP address of the remote BGP interface.", +"readOnly": true, +"type": "string" +}, +"peerIpv4NexthopAddress": { +"description": "Output only. IPv4 address of the remote BGP interface.", +"readOnly": true, +"type": "string" +}, +"peerIpv6NexthopAddress": { +"description": "Output only. IPv6 address of the remote BGP interface.", +"readOnly": true, +"type": "string" +}, +"routerApplianceInstance": { +"description": "Output only. [Output only] URI of the VM instance that is used as third-party router\nappliances such as Next Gen Firewalls, Virtual Routers, or Router\nAppliances.\nThe VM instance is the peer side of the BGP session.", +"readOnly": true, +"type": "string" +}, +"state": { +"description": "Output only. The state of the BGP session. For a list of possible values for this\nfield, seeBGP session states.", +"readOnly": true, +"type": "string" +}, +"status": { +"description": "Output only. Status of the BGP peer: {UP, DOWN}", +"enum": [ +"DOWN", +"UNKNOWN", +"UP" +], +"enumDescriptions": [ +"", +"", +"" +], +"readOnly": true, +"type": "string" +}, +"statusReason": { +"description": "Indicates why particular status was returned.", +"enum": [ +"IPV4_PEER_ON_IPV6_ONLY_CONNECTION", +"IPV6_PEER_ON_IPV4_ONLY_CONNECTION", +"MD5_AUTH_INTERNAL_PROBLEM", +"STATUS_REASON_UNSPECIFIED" +], +"enumDescriptions": [ +"BGP peer disabled because it requires IPv4 but the underlying\nconnection is IPv6-only.", +"BGP peer disabled because it requires IPv6 but the underlying\nconnection is IPv4-only.", +"Indicates internal problems with configuration of MD5 authentication.\nThis particular reason can only be returned when md5AuthEnabled is true\nand status is DOWN.", +"" +], +"type": "string" +}, +"uptime": { +"description": "Output only. Time this session has been up.\nFormat:\n 14 years, 51 weeks, 6 days, 23 hours, 59 minutes, 59 seconds", +"readOnly": true, +"type": "string" +}, +"uptimeSeconds": { +"description": "Output only. Time this session has been up, in seconds.\nFormat:\n 145", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"RouterStatusNatStatus": { +"description": "Status of a NAT contained in this router.", +"id": "RouterStatusNatStatus", +"properties": { +"autoAllocatedNatIps": { +"description": "Output only. A list of IPs auto-allocated for NAT. Example: [\"1.1.1.1\", \"129.2.16.89\"]", +"items": { +"type": "string" +}, +"readOnly": true, +"type": "array" +}, +"drainAutoAllocatedNatIps": { +"description": "Output only. A list of IPs auto-allocated for NAT that are in drain mode.\nExample: [\"1.1.1.1\", \"179.12.26.133\"].", +"items": { +"type": "string" +}, +"readOnly": true, +"type": "array" +}, +"drainUserAllocatedNatIps": { +"description": "Output only. A list of IPs user-allocated for NAT that are in drain mode.\nExample: [\"1.1.1.1\", \"179.12.26.133\"].", +"items": { +"type": "string" +}, +"readOnly": true, +"type": "array" +}, +"minExtraNatIpsNeeded": { +"description": "Output only. The number of extra IPs to allocate. This will be greater than 0 only if\nuser-specified IPs are NOT enough to allow all configured VMs to use NAT.\nThis value is meaningful only when auto-allocation of NAT IPs is *not*\nused.", +"format": "int32", +"readOnly": true, +"type": "integer" +}, +"name": { +"description": "Output only. Unique name of this NAT.", +"readOnly": true, +"type": "string" +}, +"numVmEndpointsWithNatMappings": { +"description": "Output only. Number of VM endpoints (i.e., Nics) that can use NAT.", +"format": "int32", +"readOnly": true, +"type": "integer" +}, +"ruleStatus": { +"description": "Status of rules in this NAT.", +"items": { +"$ref": "RouterStatusNatStatusNatRuleStatus" +}, +"type": "array" +}, +"userAllocatedNatIpResources": { +"description": "Output only. A list of fully qualified URLs of reserved IP address resources.", +"items": { +"type": "string" +}, +"readOnly": true, +"type": "array" +}, +"userAllocatedNatIps": { +"description": "Output only. A list of IPs user-allocated for NAT.\nThey will be raw IP strings like \"179.12.26.133\".", +"items": { +"type": "string" +}, +"readOnly": true, +"type": "array" +} +}, +"type": "object" +}, +"RouterStatusNatStatusNatRuleStatus": { +"description": "Status of a NAT Rule contained in this NAT.", +"id": "RouterStatusNatStatusNatRuleStatus", +"properties": { +"activeNatIps": { +"description": "Output only. A list of active IPs for NAT.\nExample: [\"1.1.1.1\", \"179.12.26.133\"].", +"items": { +"type": "string" +}, +"readOnly": true, +"type": "array" +}, +"drainNatIps": { +"description": "Output only. A list of IPs for NAT that are in drain mode.\nExample: [\"1.1.1.1\", \"179.12.26.133\"].", +"items": { +"type": "string" +}, +"readOnly": true, +"type": "array" +}, +"minExtraIpsNeeded": { +"description": "Output only. The number of extra IPs to allocate. This will be greater than 0 only\nif the existing IPs in this NAT Rule are NOT enough to allow all\nconfigured VMs to use NAT.", +"format": "int32", +"readOnly": true, +"type": "integer" +}, +"numVmEndpointsWithNatMappings": { +"description": "Output only. Number of VM endpoints (i.e., NICs) that have NAT Mappings from this\nNAT Rule.", +"format": "int32", +"readOnly": true, +"type": "integer" +}, +"ruleNumber": { +"description": "Output only. Rule number of the rule.", +"format": "int32", +"readOnly": true, +"type": "integer" +} +}, +"type": "object" +}, +"RouterStatusResponse": { +"id": "RouterStatusResponse", +"properties": { +"kind": { +"default": "compute#routerStatusResponse", +"description": "Output only. Type of resource.", +"readOnly": true, +"type": "string" +}, +"result": { +"$ref": "RouterStatus" +} +}, +"type": "object" +}, +"RoutersGetNamedSetResponse": { +"id": "RoutersGetNamedSetResponse", +"properties": { +"etag": { +"description": "end_interface: MixerGetResponseWithEtagBuilder", +"type": "string" +}, +"resource": { +"$ref": "NamedSet" +} +}, +"type": "object" +}, +"RoutersGetRoutePolicyResponse": { +"id": "RoutersGetRoutePolicyResponse", +"properties": { +"resource": { +"$ref": "RoutePolicy" +} +}, +"type": "object" +}, +"RoutersListBgpRoutes": { +"id": "RoutersListBgpRoutes", +"properties": { +"etag": { +"type": "string" +}, +"id": { +"description": "[Output Only] The unique identifier for the resource. This identifier is\ndefined by the server.", +"type": "string" +}, +"kind": { +"default": "compute#routersListBgpRoutes", +"description": "Output only. [Output Only] Type of resource. Alwayscompute#routersListBgpRoutes for lists of bgp routes.", +"readOnly": true, +"type": "string" +}, +"nextPageToken": { +"description": "[Output Only] This token allows you to get the next page of results for\nlist requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for\nthe query parameter pageToken in the next list request.\nSubsequent list requests will have their own nextPageToken to\ncontinue paging through the results.", +"type": "string" +}, +"result": { +"description": "[Output Only] A list of bgp routes.", +"items": { +"$ref": "BgpRoute" +}, +"type": "array" +}, +"selfLink": { +"description": "Output only. [Output Only] Server-defined URL for this resource.", +"readOnly": true, +"type": "string" +}, +"unreachables": { +"description": "Output only. [Output Only] Unreachable resources.", +"items": { +"type": "string" +}, +"readOnly": true, +"type": "array" +}, +"warning": { +"description": "[Output Only] Informational warning message.", +"properties": { +"code": { +"description": "[Output Only] A warning code, if applicable. For example, Compute\nEngine returns NO_RESULTS_ON_PAGE if there\nare no results in the response.", +"enum": [ +"CLEANUP_FAILED", +"DEPRECATED_RESOURCE_USED", +"DEPRECATED_TYPE_USED", +"DISK_SIZE_LARGER_THAN_IMAGE_SIZE", +"EXPERIMENTAL_TYPE_USED", +"EXTERNAL_API_WARNING", +"FIELD_VALUE_OVERRIDEN", +"INJECTED_KERNELS_DEPRECATED", +"INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", +"LARGE_DEPLOYMENT_WARNING", +"LIST_OVERHEAD_QUOTA_EXCEED", +"MISSING_TYPE_DEPENDENCY", +"NEXT_HOP_ADDRESS_NOT_ASSIGNED", +"NEXT_HOP_CANNOT_IP_FORWARD", +"NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", +"NEXT_HOP_INSTANCE_NOT_FOUND", +"NEXT_HOP_INSTANCE_NOT_ON_NETWORK", +"NEXT_HOP_NOT_RUNNING", +"NOT_CRITICAL_ERROR", +"NO_RESULTS_ON_PAGE", +"PARTIAL_SUCCESS", +"QUOTA_INFO_UNAVAILABLE", +"REQUIRED_TOS_AGREEMENT", +"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", +"RESOURCE_NOT_DELETED", +"SCHEMA_VALIDATION_IGNORED", +"SINGLE_INSTANCE_PROPERTY_TEMPLATE", +"UNDECLARED_PROPERTIES", +"UNREACHABLE" +], +"enumDeprecated": [ +false, +false, +false, +false, +false, +false, +true, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false +], +"enumDescriptions": [ +"Warning about failed cleanup of transient changes made by a failed\noperation.", +"A link to a deprecated resource was created.", +"When deploying and at least one of the resources has a type marked as\ndeprecated", +"The user created a boot disk that is larger than image size.", +"When deploying and at least one of the resources has a type marked as\nexperimental", +"Warning that is present in an external api call", +"Warning that value of a field has been overridden.\nDeprecated unused field.", +"The operation involved use of an injected kernel, which is deprecated.", +"A WEIGHTED_MAGLEV backend service is associated with a health check that is\nnot of type HTTP/HTTPS/HTTP2.", +"When deploying a deployment with a exceedingly large number of resources", +"Resource can't be retrieved due to list overhead quota exceed\nwhich captures the amount of resources filtered out by\nuser-defined list filter.", +"A resource depends on a missing type", +"The route's nextHopIp address is not assigned to an instance on the\nnetwork.", +"The route's next hop instance cannot ip forward.", +"The route's nextHopInstance URL refers to an instance that does not have an\nipv6 interface on the same network as the route.", +"The route's nextHopInstance URL refers to an instance that does not exist.", +"The route's nextHopInstance URL refers to an instance that is not on the\nsame network as the route.", +"The route's next hop instance does not have a status of RUNNING.", +"Error which is not critical. We decided to continue the process despite\nthe mentioned error.", +"No results are present on a particular list page.", +"Success is reported, but some results may be missing due to errors", +"Quota information is not available to client requests (e.g:\nregions.list).", +"The user attempted to use a resource that requires a TOS they have not\naccepted.", +"Warning that a resource is in use.", +"One or more of the resources set to auto-delete could not be deleted\nbecause they were in use.", +"When a resource schema validation is ignored.", +"Instance template used in instance group manager is valid as such, but\nits application does not make a lot of sense, because it allows only\nsingle instance in instance group.", +"When undeclared properties in the schema are present", +"A given scope cannot be reached." +], +"type": "string" +}, +"data": { +"description": "[Output Only] Metadata about this warning in key:\nvalue format. For example:\n\n\"data\": [\n {\n \"key\": \"scope\",\n \"value\": \"zones/us-east1-d\"\n }", +"items": { +"properties": { +"key": { +"description": "[Output Only] A key that provides more detail on the warning being\nreturned. For example, for warnings where there are no results in a list\nrequest for a particular zone, this key might be scope and\nthe key value might be the zone name. Other examples might be a key\nindicating a deprecated resource and a suggested replacement, or a\nwarning about invalid network settings (for example, if an instance\nattempts to perform IP forwarding but is not enabled for IP forwarding).", +"type": "string" +}, +"value": { +"description": "[Output Only] A warning data value corresponding to the key.", +"type": "string" +} +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "[Output Only] A human-readable description of the warning code.", +"type": "string" +} +}, +"type": "object" +} +}, +"type": "object" +}, +"RoutersListNamedSets": { +"id": "RoutersListNamedSets", +"properties": { +"etag": { +"type": "string" +}, +"id": { +"description": "[Output Only] The unique identifier for the resource. This identifier is\ndefined by the server.", +"type": "string" +}, +"kind": { +"default": "compute#routersListNamedSets", +"description": "Output only. [Output Only] Type of resource. Alwayscompute#routersListNamedSets for lists of named sets.", +"readOnly": true, +"type": "string" +}, +"nextPageToken": { +"description": "[Output Only] This token allows you to get the next page of results for\nlist requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for\nthe query parameter pageToken in the next list request.\nSubsequent list requests will have their own nextPageToken to\ncontinue paging through the results.", +"type": "string" +}, +"result": { +"description": "[Output Only] A list of named sets.", +"items": { +"$ref": "NamedSet" +}, +"type": "array" +}, +"selfLink": { +"description": "Output only. [Output Only] Server-defined URL for this resource.", +"readOnly": true, +"type": "string" +}, +"unreachables": { +"description": "Output only. [Output Only] Unreachable resources.", +"items": { +"type": "string" +}, +"readOnly": true, +"type": "array" +}, +"warning": { +"description": "[Output Only] Informational warning message.", +"properties": { +"code": { +"description": "[Output Only] A warning code, if applicable. For example, Compute\nEngine returns NO_RESULTS_ON_PAGE if there\nare no results in the response.", +"enum": [ +"CLEANUP_FAILED", +"DEPRECATED_RESOURCE_USED", +"DEPRECATED_TYPE_USED", +"DISK_SIZE_LARGER_THAN_IMAGE_SIZE", +"EXPERIMENTAL_TYPE_USED", +"EXTERNAL_API_WARNING", +"FIELD_VALUE_OVERRIDEN", +"INJECTED_KERNELS_DEPRECATED", +"INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", +"LARGE_DEPLOYMENT_WARNING", +"LIST_OVERHEAD_QUOTA_EXCEED", +"MISSING_TYPE_DEPENDENCY", +"NEXT_HOP_ADDRESS_NOT_ASSIGNED", +"NEXT_HOP_CANNOT_IP_FORWARD", +"NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", +"NEXT_HOP_INSTANCE_NOT_FOUND", +"NEXT_HOP_INSTANCE_NOT_ON_NETWORK", +"NEXT_HOP_NOT_RUNNING", +"NOT_CRITICAL_ERROR", +"NO_RESULTS_ON_PAGE", +"PARTIAL_SUCCESS", +"QUOTA_INFO_UNAVAILABLE", +"REQUIRED_TOS_AGREEMENT", +"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", +"RESOURCE_NOT_DELETED", +"SCHEMA_VALIDATION_IGNORED", +"SINGLE_INSTANCE_PROPERTY_TEMPLATE", +"UNDECLARED_PROPERTIES", +"UNREACHABLE" +], +"enumDeprecated": [ +false, +false, +false, +false, +false, +false, +true, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false +], +"enumDescriptions": [ +"Warning about failed cleanup of transient changes made by a failed\noperation.", +"A link to a deprecated resource was created.", +"When deploying and at least one of the resources has a type marked as\ndeprecated", +"The user created a boot disk that is larger than image size.", +"When deploying and at least one of the resources has a type marked as\nexperimental", +"Warning that is present in an external api call", +"Warning that value of a field has been overridden.\nDeprecated unused field.", +"The operation involved use of an injected kernel, which is deprecated.", +"A WEIGHTED_MAGLEV backend service is associated with a health check that is\nnot of type HTTP/HTTPS/HTTP2.", +"When deploying a deployment with a exceedingly large number of resources", +"Resource can't be retrieved due to list overhead quota exceed\nwhich captures the amount of resources filtered out by\nuser-defined list filter.", +"A resource depends on a missing type", +"The route's nextHopIp address is not assigned to an instance on the\nnetwork.", +"The route's next hop instance cannot ip forward.", +"The route's nextHopInstance URL refers to an instance that does not have an\nipv6 interface on the same network as the route.", +"The route's nextHopInstance URL refers to an instance that does not exist.", +"The route's nextHopInstance URL refers to an instance that is not on the\nsame network as the route.", +"The route's next hop instance does not have a status of RUNNING.", +"Error which is not critical. We decided to continue the process despite\nthe mentioned error.", +"No results are present on a particular list page.", +"Success is reported, but some results may be missing due to errors", +"Quota information is not available to client requests (e.g:\nregions.list).", +"The user attempted to use a resource that requires a TOS they have not\naccepted.", +"Warning that a resource is in use.", +"One or more of the resources set to auto-delete could not be deleted\nbecause they were in use.", +"When a resource schema validation is ignored.", +"Instance template used in instance group manager is valid as such, but\nits application does not make a lot of sense, because it allows only\nsingle instance in instance group.", +"When undeclared properties in the schema are present", +"A given scope cannot be reached." +], +"type": "string" +}, +"data": { +"description": "[Output Only] Metadata about this warning in key:\nvalue format. For example:\n\n\"data\": [\n {\n \"key\": \"scope\",\n \"value\": \"zones/us-east1-d\"\n }", +"items": { +"properties": { +"key": { +"description": "[Output Only] A key that provides more detail on the warning being\nreturned. For example, for warnings where there are no results in a list\nrequest for a particular zone, this key might be scope and\nthe key value might be the zone name. Other examples might be a key\nindicating a deprecated resource and a suggested replacement, or a\nwarning about invalid network settings (for example, if an instance\nattempts to perform IP forwarding but is not enabled for IP forwarding).", +"type": "string" +}, +"value": { +"description": "[Output Only] A warning data value corresponding to the key.", +"type": "string" +} +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "[Output Only] A human-readable description of the warning code.", +"type": "string" +} +}, +"type": "object" +} +}, +"type": "object" +}, +"RoutersListRoutePolicies": { +"id": "RoutersListRoutePolicies", +"properties": { +"etag": { +"type": "string" +}, +"id": { +"description": "[Output Only] The unique identifier for the resource. This identifier is\ndefined by the server.", +"type": "string" +}, +"kind": { +"default": "compute#routersListRoutePolicies", +"description": "Output only. [Output Only] Type of resource. Alwayscompute#routersListRoutePolicies for lists of route policies.", +"readOnly": true, +"type": "string" +}, +"nextPageToken": { +"description": "[Output Only] This token allows you to get the next page of results for\nlist requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for\nthe query parameter pageToken in the next list request.\nSubsequent list requests will have their own nextPageToken to\ncontinue paging through the results.", +"type": "string" +}, +"result": { +"description": "[Output Only] A list of route policies.", +"items": { +"$ref": "RoutePolicy" +}, +"type": "array" +}, +"selfLink": { +"description": "Output only. [Output Only] Server-defined URL for this resource.", +"readOnly": true, +"type": "string" +}, +"unreachables": { +"description": "Output only. [Output Only] Unreachable resources.", +"items": { +"type": "string" +}, +"readOnly": true, +"type": "array" +}, +"warning": { +"description": "[Output Only] Informational warning message.", +"properties": { +"code": { +"description": "[Output Only] A warning code, if applicable. For example, Compute\nEngine returns NO_RESULTS_ON_PAGE if there\nare no results in the response.", +"enum": [ +"CLEANUP_FAILED", +"DEPRECATED_RESOURCE_USED", +"DEPRECATED_TYPE_USED", +"DISK_SIZE_LARGER_THAN_IMAGE_SIZE", +"EXPERIMENTAL_TYPE_USED", +"EXTERNAL_API_WARNING", +"FIELD_VALUE_OVERRIDEN", +"INJECTED_KERNELS_DEPRECATED", +"INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", +"LARGE_DEPLOYMENT_WARNING", +"LIST_OVERHEAD_QUOTA_EXCEED", +"MISSING_TYPE_DEPENDENCY", +"NEXT_HOP_ADDRESS_NOT_ASSIGNED", +"NEXT_HOP_CANNOT_IP_FORWARD", +"NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", +"NEXT_HOP_INSTANCE_NOT_FOUND", +"NEXT_HOP_INSTANCE_NOT_ON_NETWORK", +"NEXT_HOP_NOT_RUNNING", +"NOT_CRITICAL_ERROR", +"NO_RESULTS_ON_PAGE", +"PARTIAL_SUCCESS", +"QUOTA_INFO_UNAVAILABLE", +"REQUIRED_TOS_AGREEMENT", +"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", +"RESOURCE_NOT_DELETED", +"SCHEMA_VALIDATION_IGNORED", +"SINGLE_INSTANCE_PROPERTY_TEMPLATE", +"UNDECLARED_PROPERTIES", +"UNREACHABLE" +], +"enumDeprecated": [ +false, +false, +false, +false, +false, +false, +true, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false +], +"enumDescriptions": [ +"Warning about failed cleanup of transient changes made by a failed\noperation.", +"A link to a deprecated resource was created.", +"When deploying and at least one of the resources has a type marked as\ndeprecated", +"The user created a boot disk that is larger than image size.", +"When deploying and at least one of the resources has a type marked as\nexperimental", +"Warning that is present in an external api call", +"Warning that value of a field has been overridden.\nDeprecated unused field.", +"The operation involved use of an injected kernel, which is deprecated.", +"A WEIGHTED_MAGLEV backend service is associated with a health check that is\nnot of type HTTP/HTTPS/HTTP2.", +"When deploying a deployment with a exceedingly large number of resources", +"Resource can't be retrieved due to list overhead quota exceed\nwhich captures the amount of resources filtered out by\nuser-defined list filter.", +"A resource depends on a missing type", +"The route's nextHopIp address is not assigned to an instance on the\nnetwork.", +"The route's next hop instance cannot ip forward.", +"The route's nextHopInstance URL refers to an instance that does not have an\nipv6 interface on the same network as the route.", +"The route's nextHopInstance URL refers to an instance that does not exist.", +"The route's nextHopInstance URL refers to an instance that is not on the\nsame network as the route.", +"The route's next hop instance does not have a status of RUNNING.", +"Error which is not critical. We decided to continue the process despite\nthe mentioned error.", +"No results are present on a particular list page.", +"Success is reported, but some results may be missing due to errors", +"Quota information is not available to client requests (e.g:\nregions.list).", +"The user attempted to use a resource that requires a TOS they have not\naccepted.", +"Warning that a resource is in use.", +"One or more of the resources set to auto-delete could not be deleted\nbecause they were in use.", +"When a resource schema validation is ignored.", +"Instance template used in instance group manager is valid as such, but\nits application does not make a lot of sense, because it allows only\nsingle instance in instance group.", +"When undeclared properties in the schema are present", +"A given scope cannot be reached." +], +"type": "string" +}, +"data": { +"description": "[Output Only] Metadata about this warning in key:\nvalue format. For example:\n\n\"data\": [\n {\n \"key\": \"scope\",\n \"value\": \"zones/us-east1-d\"\n }", +"items": { +"properties": { +"key": { +"description": "[Output Only] A key that provides more detail on the warning being\nreturned. For example, for warnings where there are no results in a list\nrequest for a particular zone, this key might be scope and\nthe key value might be the zone name. Other examples might be a key\nindicating a deprecated resource and a suggested replacement, or a\nwarning about invalid network settings (for example, if an instance\nattempts to perform IP forwarding but is not enabled for IP forwarding).", +"type": "string" +}, +"value": { +"description": "[Output Only] A warning data value corresponding to the key.", +"type": "string" +} +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "[Output Only] A human-readable description of the warning code.", +"type": "string" +} +}, +"type": "object" +} +}, +"type": "object" +}, +"RoutersPreviewResponse": { +"id": "RoutersPreviewResponse", +"properties": { +"resource": { +"$ref": "Router", +"description": "Preview of given router." +} +}, +"type": "object" +}, +"RoutersScopedList": { +"id": "RoutersScopedList", +"properties": { +"routers": { +"description": "A list of routers contained in this scope.", +"items": { +"$ref": "Router" +}, +"type": "array" +}, +"warning": { +"description": "Informational warning which replaces the list of routers when\nthe list is empty.", +"properties": { +"code": { +"description": "[Output Only] A warning code, if applicable. For example, Compute\nEngine returns NO_RESULTS_ON_PAGE if there\nare no results in the response.", +"enum": [ +"CLEANUP_FAILED", +"DEPRECATED_RESOURCE_USED", +"DEPRECATED_TYPE_USED", +"DISK_SIZE_LARGER_THAN_IMAGE_SIZE", +"EXPERIMENTAL_TYPE_USED", +"EXTERNAL_API_WARNING", +"FIELD_VALUE_OVERRIDEN", +"INJECTED_KERNELS_DEPRECATED", +"INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", +"LARGE_DEPLOYMENT_WARNING", +"LIST_OVERHEAD_QUOTA_EXCEED", +"MISSING_TYPE_DEPENDENCY", +"NEXT_HOP_ADDRESS_NOT_ASSIGNED", +"NEXT_HOP_CANNOT_IP_FORWARD", +"NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", +"NEXT_HOP_INSTANCE_NOT_FOUND", +"NEXT_HOP_INSTANCE_NOT_ON_NETWORK", +"NEXT_HOP_NOT_RUNNING", +"NOT_CRITICAL_ERROR", +"NO_RESULTS_ON_PAGE", +"PARTIAL_SUCCESS", +"QUOTA_INFO_UNAVAILABLE", +"REQUIRED_TOS_AGREEMENT", +"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", +"RESOURCE_NOT_DELETED", +"SCHEMA_VALIDATION_IGNORED", +"SINGLE_INSTANCE_PROPERTY_TEMPLATE", +"UNDECLARED_PROPERTIES", +"UNREACHABLE" +], +"enumDeprecated": [ +false, +false, +false, +false, +false, +false, +true, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false +], +"enumDescriptions": [ +"Warning about failed cleanup of transient changes made by a failed\noperation.", +"A link to a deprecated resource was created.", +"When deploying and at least one of the resources has a type marked as\ndeprecated", +"The user created a boot disk that is larger than image size.", +"When deploying and at least one of the resources has a type marked as\nexperimental", +"Warning that is present in an external api call", +"Warning that value of a field has been overridden.\nDeprecated unused field.", +"The operation involved use of an injected kernel, which is deprecated.", +"A WEIGHTED_MAGLEV backend service is associated with a health check that is\nnot of type HTTP/HTTPS/HTTP2.", +"When deploying a deployment with a exceedingly large number of resources", +"Resource can't be retrieved due to list overhead quota exceed\nwhich captures the amount of resources filtered out by\nuser-defined list filter.", +"A resource depends on a missing type", +"The route's nextHopIp address is not assigned to an instance on the\nnetwork.", +"The route's next hop instance cannot ip forward.", +"The route's nextHopInstance URL refers to an instance that does not have an\nipv6 interface on the same network as the route.", +"The route's nextHopInstance URL refers to an instance that does not exist.", +"The route's nextHopInstance URL refers to an instance that is not on the\nsame network as the route.", +"The route's next hop instance does not have a status of RUNNING.", +"Error which is not critical. We decided to continue the process despite\nthe mentioned error.", +"No results are present on a particular list page.", +"Success is reported, but some results may be missing due to errors", +"Quota information is not available to client requests (e.g:\nregions.list).", +"The user attempted to use a resource that requires a TOS they have not\naccepted.", +"Warning that a resource is in use.", +"One or more of the resources set to auto-delete could not be deleted\nbecause they were in use.", +"When a resource schema validation is ignored.", +"Instance template used in instance group manager is valid as such, but\nits application does not make a lot of sense, because it allows only\nsingle instance in instance group.", +"When undeclared properties in the schema are present", +"A given scope cannot be reached." +], +"type": "string" +}, +"data": { +"description": "[Output Only] Metadata about this warning in key:\nvalue format. For example:\n\n\"data\": [\n {\n \"key\": \"scope\",\n \"value\": \"zones/us-east1-d\"\n }", +"items": { +"properties": { +"key": { +"description": "[Output Only] A key that provides more detail on the warning being\nreturned. For example, for warnings where there are no results in a list\nrequest for a particular zone, this key might be scope and\nthe key value might be the zone name. Other examples might be a key\nindicating a deprecated resource and a suggested replacement, or a\nwarning about invalid network settings (for example, if an instance\nattempts to perform IP forwarding but is not enabled for IP forwarding).", +"type": "string" +}, +"value": { +"description": "[Output Only] A warning data value corresponding to the key.", +"type": "string" +} +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "[Output Only] A human-readable description of the warning code.", +"type": "string" +} +}, +"type": "object" +} +}, +"type": "object" +}, +"SSLHealthCheck": { +"id": "SSLHealthCheck", +"properties": { +"port": { +"description": "The TCP port number to which the health check prober sends packets. The\ndefault value is 443. Valid values are 1 through65535.", +"format": "int32", +"type": "integer" +}, +"portName": { +"description": "Not supported.", +"type": "string" +}, +"portSpecification": { +"description": "Specifies how a port is selected for health checking. Can be one of the\nfollowing values: \nUSE_FIXED_PORT: Specifies a port number explicitly using theport field in the health check. Supported by backend services\nfor passthrough load balancers and backend services for proxy load\nbalancers. Not supported by target pools. The health check supports all\nbackends supported by the backend service provided the backend can be\nhealth checked. For example, GCE_VM_IP network endpoint\ngroups, GCE_VM_IP_PORT network endpoint groups, and instance\ngroup backends. \n USE_NAMED_PORT: Not supported. \nUSE_SERVING_PORT: Provides an indirect method of specifying\nthe health check port by referring to the backend service. Only supported\nby backend services for proxy load balancers. Not supported by target\npools. Not supported by backend services for passthrough load balancers.\nSupports all backends that can be health checked; for example,GCE_VM_IP_PORT network endpoint groups and instance group\nbackends.\n\nFor GCE_VM_IP_PORT network endpoint group backends, the health\ncheck uses the port number specified for each endpoint in the network\nendpoint group. For instance group backends, the health check uses the\nport number determined by looking up the backend service's named port in\nthe instance group's list of named ports.", +"enum": [ +"USE_FIXED_PORT", +"USE_NAMED_PORT", +"USE_SERVING_PORT" +], +"enumDescriptions": [ +"The port number in the health check's port is used for health\nchecking. Applies to network endpoint group and instance group backends.", +"Not supported.", +"For network endpoint group backends, the health check uses the port number\nspecified on each endpoint in the network endpoint group. For instance\ngroup backends, the health check uses the port number specified for the\nbackend service's named port defined in the instance group's named ports." +], +"type": "string" +}, +"proxyHeader": { +"description": "Specifies the type of proxy header to append before sending data to the\nbackend, either NONE or PROXY_V1. The default\nis NONE.", +"enum": [ +"NONE", +"PROXY_V1" +], +"enumDescriptions": [ +"", +"" +], +"type": "string" +}, +"request": { +"description": "Instructs the health check prober to send this exact ASCII string, up to\n1024 bytes in length, after establishing the TCP connection and SSL\nhandshake.", +"type": "string" +}, +"response": { +"description": "Creates a content-based SSL health check. In addition to establishing a\nTCP connection and the TLS handshake, you can configure the health check to\npass only when the backend sends this exact response ASCII string, up to\n1024 bytes in length. For details, see:\nhttps://cloud.google.com/load-balancing/docs/health-check-concepts#criteria-protocol-ssl-tcp", +"type": "string" +} +}, +"type": "object" +}, +"SavedAttachedDisk": { +"description": "DEPRECATED: Please use compute#savedDisk instead.\nAn instance-attached disk resource.", +"id": "SavedAttachedDisk", +"properties": { +"autoDelete": { +"description": "Specifies whether the disk will be auto-deleted when the instance is\ndeleted (but not when the disk is detached from the instance).", +"type": "boolean" +}, +"boot": { +"description": "Indicates that this is a boot disk. The virtual machine will use the first\npartition of the disk for its root filesystem.", +"type": "boolean" +}, +"deviceName": { +"description": "Specifies the name of the disk attached to the source instance.", +"type": "string" +}, +"diskEncryptionKey": { +"$ref": "CustomerEncryptionKey", +"description": "The encryption key for the disk." +}, +"diskSizeGb": { +"description": "The size of the disk in base-2 GB.", +"format": "int64", +"type": "string" +}, +"diskType": { +"description": "Output only. [Output Only] URL of the disk type resource. For example:projects/project/zones/zone/diskTypes/pd-standard or\npd-ssd", +"readOnly": true, +"type": "string" +}, +"guestOsFeatures": { +"description": "A list of features to enable on the guest operating system. Applicable only\nfor bootable images. Read\nEnabling guest operating system features to see a list of available\noptions.", +"items": { +"$ref": "GuestOsFeature" +}, +"type": "array" +}, +"index": { +"description": "Output only. Specifies zero-based index of the disk that is attached to the source\ninstance.", +"format": "int32", +"readOnly": true, +"type": "integer" +}, +"interface": { +"description": "Specifies the disk interface to use for attaching this disk, which is\neither SCSI or NVME.", +"enum": [ +"NVME", +"SCSI" +], +"enumDescriptions": [ +"", +"" +], +"type": "string" +}, +"kind": { +"default": "compute#savedAttachedDisk", +"description": "Output only. [Output Only] Type of the resource. Alwayscompute#attachedDisk for attached disks.", +"readOnly": true, +"type": "string" +}, +"licenses": { +"description": "Output only. [Output Only] Any valid publicly visible licenses.", +"items": { +"type": "string" +}, +"readOnly": true, +"type": "array" +}, +"mode": { +"description": "The mode in which this disk is attached to the source instance, eitherREAD_WRITE or READ_ONLY.", +"enum": [ +"READ_ONLY", +"READ_WRITE" +], +"enumDescriptions": [ +"Attaches this disk in read-only mode. Multiple virtual machines can use\na disk in read-only mode at a time.", +"*[Default]* Attaches this disk in read-write mode. Only one\nvirtual machine at a time can be attached to a disk in read-write mode." +], +"type": "string" +}, +"source": { +"description": "Specifies a URL of the disk attached to the source instance.", +"type": "string" +}, +"storageBytes": { +"description": "Output only. [Output Only] A size of the storage used by the disk's snapshot by this\nmachine image.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"storageBytesStatus": { +"description": "Output only. [Output Only] An indicator whether storageBytes is in a\nstable state or it is being adjusted as a result of shared storage\nreallocation. This status can either be UPDATING, meaning\nthe size of the snapshot is being updated, or UP_TO_DATE,\nmeaning the size of the snapshot is up-to-date.", +"enum": [ +"UPDATING", +"UP_TO_DATE" +], +"enumDescriptions": [ +"", +"" +], +"readOnly": true, +"type": "string" +}, +"type": { +"description": "Specifies the type of the attached disk, either SCRATCH orPERSISTENT.", +"enum": [ +"PERSISTENT", +"SCRATCH" +], +"enumDescriptions": [ +"", +"" +], +"type": "string" +} +}, +"type": "object" +}, +"SavedDisk": { +"description": "An instance-attached disk resource.", +"id": "SavedDisk", +"properties": { +"architecture": { +"description": "Output only. [Output Only] The architecture of the attached disk.", +"enum": [ +"ARCHITECTURE_UNSPECIFIED", +"ARM64", +"X86_64" +], +"enumDescriptions": [ +"Default value indicating Architecture is not set.", +"Machines with architecture ARM64", +"Machines with architecture X86_64" +], +"readOnly": true, +"type": "string" +}, +"kind": { +"default": "compute#savedDisk", +"description": "Output only. [Output Only] Type of the resource. Always compute#savedDisk\nfor attached disks.", +"readOnly": true, +"type": "string" +}, +"sourceDisk": { +"description": "Output only. Specifies a URL of the disk attached to the source instance.", +"readOnly": true, +"type": "string" +}, +"storageBytes": { +"description": "Output only. [Output Only] Size of the individual disk snapshot used by this machine\nimage.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"storageBytesStatus": { +"description": "Output only. [Output Only] An indicator whether storageBytes is in a\nstable state or it is being adjusted as a result of shared storage\nreallocation. This status can either be UPDATING, meaning\nthe size of the snapshot is being updated, or UP_TO_DATE,\nmeaning the size of the snapshot is up-to-date.", +"enum": [ +"UPDATING", +"UP_TO_DATE" +], +"enumDescriptions": [ +"", +"" +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"ScalingScheduleStatus": { +"id": "ScalingScheduleStatus", +"properties": { +"lastStartTime": { +"description": "[Output Only] The last time the scaling schedule became active.\nNote: this is a timestamp when a schedule actually became active, not when\nit was planned to do so.\nThe timestamp is in RFC3339\ntext format.", +"type": "string" +}, +"nextStartTime": { +"description": "[Output Only] The next time the scaling schedule is to become active.\nNote: this is a timestamp when a schedule is planned to run, but the actual\ntime might be slightly different.\nThe timestamp is in RFC3339\ntext format.", +"type": "string" +}, +"state": { +"description": "[Output Only] The current state of a scaling schedule.", +"enum": [ +"ACTIVE", +"DISABLED", +"OBSOLETE", +"READY" +], +"enumDescriptions": [ +"The current autoscaling recommendation is influenced by this scaling\nschedule.", +"This scaling schedule has been disabled by the user.", +"This scaling schedule will never become active again.", +"The current autoscaling recommendation is not influenced by this scaling\nschedule." +], +"type": "string" +} +}, +"type": "object" +}, +"Scheduling": { +"description": "Sets the scheduling options for an Instance.", +"id": "Scheduling", +"properties": { +"automaticRestart": { +"description": "Specifies whether the instance should be automatically restarted if it is\nterminated by Compute Engine (not terminated by a user). You can only set\nthe automatic restart option for standard instances.Preemptible instances\ncannot be automatically restarted.\n\nBy default, this is set to true so an instance is\nautomatically restarted if it is terminated by Compute Engine.", +"type": "boolean" +}, +"availabilityDomain": { +"description": "Specifies the availability domain to place the instance in. The value\nmust be a number between 1 and the number of availability domains\nspecified in the spread placement policy attached to the instance.", +"format": "int32", +"type": "integer" +}, +"gracefulShutdown": { +"$ref": "SchedulingGracefulShutdown" +}, +"hostErrorTimeoutSeconds": { +"description": "Specify the time in seconds for host error detection, the value must be\nwithin the range of [90, 330] with the increment of 30, if unset, the\ndefault behavior of host error recovery will be used.", +"format": "int32", +"type": "integer" +}, +"instanceTerminationAction": { +"description": "Specifies the termination action for the instance.", +"enum": [ +"DELETE", +"INSTANCE_TERMINATION_ACTION_UNSPECIFIED", +"STOP" +], +"enumDescriptions": [ +"Delete the VM.", +"Default value. This value is unused.", +"Stop the VM without storing in-memory content. default action." +], +"type": "string" +}, +"localSsdRecoveryTimeout": { +"$ref": "Duration", +"description": "Specifies the maximum amount of time a Local Ssd Vm should wait while\nrecovery of the Local Ssd state is attempted. Its value should be in\nbetween 0 and 168 hours with hour granularity and the default value being 1\nhour." +}, +"locationHint": { +"description": "An opaque location hint used to place the instance close to other\nresources.\nThis field is for use by internal tools that use the public API.", +"type": "string" +}, +"maintenanceFreezeDurationHours": { +"description": "Specifies the number of hours after VM instance creation where the VM won't\nbe scheduled for maintenance.", +"format": "int32", +"type": "integer" +}, +"maintenanceInterval": { +"description": "Specifies the frequency of planned maintenance events. The accepted values\nare: `PERIODIC`.", +"enum": [ +"AS_NEEDED", +"PERIODIC", +"RECURRENT" +], +"enumDescriptions": [ +"VMs are eligible to receive infrastructure and hypervisor updates as they\nbecome available. This may result in more maintenance operations (live\nmigrations or terminations) for the VM than the PERIODIC andRECURRENT options.", +"VMs receive infrastructure and hypervisor updates on a periodic basis,\nminimizing the number of maintenance operations (live migrations or\nterminations) on an individual VM. This may mean a VM will take longer\nto receive an update than if it was configured forAS_NEEDED. Security updates will still be applied as soon\nas they are available.", +"VMs receive infrastructure and hypervisor updates on a periodic basis,\nminimizing the number of maintenance operations (live migrations or\nterminations) on an individual VM. This may mean a VM will take longer\nto receive an update than if it was configured forAS_NEEDED. Security updates will still be applied as soon\nas they are available. RECURRENT is used for GEN3 and Slice\nof Hardware VMs." +], +"type": "string" +}, +"maxRunDuration": { +"$ref": "Duration", +"description": "Specifies the max run duration for the given instance. If specified,\nthe instance termination action will be performed at the end of the run\nduration." +}, +"minNodeCpus": { +"description": "The minimum number of virtual CPUs this instance will consume when running\non a sole-tenant node.", +"format": "int32", +"type": "integer" +}, +"nodeAffinities": { +"description": "A set of node affinity and anti-affinity configurations. Refer toConfiguring node\naffinity for more information.\nOverrides reservationAffinity.", +"items": { +"$ref": "SchedulingNodeAffinity" +}, +"type": "array" +}, +"onHostMaintenance": { +"description": "Defines the maintenance behavior for this instance. For standard instances,\nthe default behavior is MIGRATE. Forpreemptible instances,\nthe default and only possible behavior is TERMINATE. For more\ninformation, see\n Set\n VM host maintenance policy.", +"enum": [ +"MIGRATE", +"TERMINATE" +], +"enumDescriptions": [ +"*[Default]* Allows Compute Engine to automatically migrate instances\nout of the way of maintenance events.", +"Tells Compute Engine to terminate and (optionally) restart the instance\naway from the maintenance activity. If you would like your instance to be\nrestarted, set the automaticRestart flag to true. Your\ninstance may be restarted more than once, and it may be restarted outside\nthe window of maintenance events." +], +"type": "string" +}, +"onInstanceStopAction": { +"$ref": "SchedulingOnInstanceStopAction" +}, +"preemptible": { +"description": "Defines whether the instance is preemptible. This can only be set during\ninstance creation or while the instance isstopped and\ntherefore, in a `TERMINATED` state. SeeInstance Life\nCycle for more information on the possible instance states.", +"type": "boolean" +}, +"preemptionNoticeDuration": { +"$ref": "Duration", +"description": "Specifies the Metadata Service preemption notice duration before the GCE ACPI G2 Soft\n Off signal is triggered for Spot\n VMs only. If not specified, there will be no wait before the G2 Soft\n Off signal is triggered." +}, +"provisioningModel": { +"description": "Specifies the provisioning model of the instance.", +"enum": [ +"FLEX_START", +"RESERVATION_BOUND", +"SPOT", +"STANDARD" +], +"enumDescriptions": [ +"Instance is provisioned using the Flex Start provisioning model and\nhas a limited runtime.", +"Bound to the lifecycle of the reservation in which it is provisioned.", +"Heavily discounted, no guaranteed runtime.", +"Standard provisioning with user controlled runtime, no discounts." +], +"type": "string" +}, +"skipGuestOsShutdown": { +"description": "Default is false and there will be 120 seconds between GCE ACPI G2 Soft\nOff and ACPI G3 Mechanical\nOff for Standard VMs and 30 seconds for Spot VMs.", +"type": "boolean" +}, +"terminationTime": { +"description": "Specifies the timestamp, when the instance will be terminated, inRFC3339 text format. If specified, the instance\ntermination action will be performed at the termination time.", +"type": "string" +} +}, +"type": "object" +}, +"SchedulingGracefulShutdown": { +"description": "The configuration for gracefully shutting down the instance.", +"id": "SchedulingGracefulShutdown", +"properties": { +"enabled": { +"description": "Opts-in for graceful shutdown.", +"type": "boolean" +}, +"maxDuration": { +"$ref": "Duration", +"description": "The time allotted for the instance to gracefully shut down. If the\ngraceful shutdown isn't complete after this time, then the instance\ntransitions to the STOPPING state." +} +}, +"type": "object" +}, +"SchedulingNodeAffinity": { +"description": "Node Affinity: the configuration of desired nodes onto which this Instance\n could be scheduled.", +"id": "SchedulingNodeAffinity", +"properties": { +"key": { +"description": "Corresponds to the label key of Node resource.", +"type": "string" +}, +"operator": { +"description": "Defines the operation of node selection. Valid operators areIN for affinity and NOT_IN for anti-affinity.", +"enum": [ +"IN", +"NOT_IN", +"OPERATOR_UNSPECIFIED" +], +"enumDescriptions": [ +"Requires Compute Engine to seek for matched nodes.", +"Requires Compute Engine to avoid certain nodes.", +"" +], +"type": "string" +}, +"values": { +"description": "Corresponds to the label values of Node resource.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"SchedulingOnInstanceStopAction": { +"description": "Defines the behaviour for instances with the instance_termination_actionSTOP.", +"id": "SchedulingOnInstanceStopAction", +"properties": { +"discardLocalSsd": { +"description": "If true, the contents of any attached Local SSD disks will be discarded\nelse, the Local SSD data will be preserved when the instance is stopped\nat the end of the run duration/termination time.", +"type": "boolean" +} +}, +"type": "object" +}, +"Screenshot": { +"description": "An instance's screenshot.", +"id": "Screenshot", +"properties": { +"contents": { +"description": "[Output Only] The Base64-encoded screenshot data.", +"type": "string" +}, +"kind": { +"default": "compute#screenshot", +"description": "Output only. [Output Only] Type of the resource. Always compute#screenshot\nfor the screenshots.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"SecurityPoliciesAggregatedList": { +"id": "SecurityPoliciesAggregatedList", +"properties": { +"etag": { +"type": "string" +}, +"id": { +"description": "[Output Only] Unique identifier for the resource; defined by the server.", +"type": "string" +}, +"items": { +"additionalProperties": { +"$ref": "SecurityPoliciesScopedList", +"description": "Name of the scope containing this set of security policies." +}, +"description": "A list of SecurityPoliciesScopedList resources.", +"type": "object" +}, +"kind": { +"default": "compute#securityPoliciesAggregatedList", +"description": "Output only. [Output Only] Type of resource. Alwayscompute#securityPolicyAggregatedList for lists of Security\nPolicies.", +"readOnly": true, +"type": "string" +}, +"nextPageToken": { +"description": "[Output Only] This token allows you to get the next page of results for\nlist requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for\nthe query parameter pageToken in the next list request.\nSubsequent list requests will have their own nextPageToken to\ncontinue paging through the results.", +"type": "string" +}, +"selfLink": { +"description": "Output only. [Output Only] Server-defined URL for this resource.", +"readOnly": true, +"type": "string" +}, +"unreachables": { +"description": "Output only. [Output Only] Unreachable resources.", +"items": { +"type": "string" +}, +"readOnly": true, +"type": "array" +}, +"warning": { +"description": "[Output Only] Informational warning message.", +"properties": { +"code": { +"description": "[Output Only] A warning code, if applicable. For example, Compute\nEngine returns NO_RESULTS_ON_PAGE if there\nare no results in the response.", +"enum": [ +"CLEANUP_FAILED", +"DEPRECATED_RESOURCE_USED", +"DEPRECATED_TYPE_USED", +"DISK_SIZE_LARGER_THAN_IMAGE_SIZE", +"EXPERIMENTAL_TYPE_USED", +"EXTERNAL_API_WARNING", +"FIELD_VALUE_OVERRIDEN", +"INJECTED_KERNELS_DEPRECATED", +"INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", +"LARGE_DEPLOYMENT_WARNING", +"LIST_OVERHEAD_QUOTA_EXCEED", +"MISSING_TYPE_DEPENDENCY", +"NEXT_HOP_ADDRESS_NOT_ASSIGNED", +"NEXT_HOP_CANNOT_IP_FORWARD", +"NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", +"NEXT_HOP_INSTANCE_NOT_FOUND", +"NEXT_HOP_INSTANCE_NOT_ON_NETWORK", +"NEXT_HOP_NOT_RUNNING", +"NOT_CRITICAL_ERROR", +"NO_RESULTS_ON_PAGE", +"PARTIAL_SUCCESS", +"QUOTA_INFO_UNAVAILABLE", +"REQUIRED_TOS_AGREEMENT", +"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", +"RESOURCE_NOT_DELETED", +"SCHEMA_VALIDATION_IGNORED", +"SINGLE_INSTANCE_PROPERTY_TEMPLATE", +"UNDECLARED_PROPERTIES", +"UNREACHABLE" +], +"enumDeprecated": [ +false, +false, +false, +false, +false, +false, +true, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false +], +"enumDescriptions": [ +"Warning about failed cleanup of transient changes made by a failed\noperation.", +"A link to a deprecated resource was created.", +"When deploying and at least one of the resources has a type marked as\ndeprecated", +"The user created a boot disk that is larger than image size.", +"When deploying and at least one of the resources has a type marked as\nexperimental", +"Warning that is present in an external api call", +"Warning that value of a field has been overridden.\nDeprecated unused field.", +"The operation involved use of an injected kernel, which is deprecated.", +"A WEIGHTED_MAGLEV backend service is associated with a health check that is\nnot of type HTTP/HTTPS/HTTP2.", +"When deploying a deployment with a exceedingly large number of resources", +"Resource can't be retrieved due to list overhead quota exceed\nwhich captures the amount of resources filtered out by\nuser-defined list filter.", +"A resource depends on a missing type", +"The route's nextHopIp address is not assigned to an instance on the\nnetwork.", +"The route's next hop instance cannot ip forward.", +"The route's nextHopInstance URL refers to an instance that does not have an\nipv6 interface on the same network as the route.", +"The route's nextHopInstance URL refers to an instance that does not exist.", +"The route's nextHopInstance URL refers to an instance that is not on the\nsame network as the route.", +"The route's next hop instance does not have a status of RUNNING.", +"Error which is not critical. We decided to continue the process despite\nthe mentioned error.", +"No results are present on a particular list page.", +"Success is reported, but some results may be missing due to errors", +"Quota information is not available to client requests (e.g:\nregions.list).", +"The user attempted to use a resource that requires a TOS they have not\naccepted.", +"Warning that a resource is in use.", +"One or more of the resources set to auto-delete could not be deleted\nbecause they were in use.", +"When a resource schema validation is ignored.", +"Instance template used in instance group manager is valid as such, but\nits application does not make a lot of sense, because it allows only\nsingle instance in instance group.", +"When undeclared properties in the schema are present", +"A given scope cannot be reached." +], +"type": "string" +}, +"data": { +"description": "[Output Only] Metadata about this warning in key:\nvalue format. For example:\n\n\"data\": [\n {\n \"key\": \"scope\",\n \"value\": \"zones/us-east1-d\"\n }", +"items": { +"properties": { +"key": { +"description": "[Output Only] A key that provides more detail on the warning being\nreturned. For example, for warnings where there are no results in a list\nrequest for a particular zone, this key might be scope and\nthe key value might be the zone name. Other examples might be a key\nindicating a deprecated resource and a suggested replacement, or a\nwarning about invalid network settings (for example, if an instance\nattempts to perform IP forwarding but is not enabled for IP forwarding).", +"type": "string" +}, +"value": { +"description": "[Output Only] A warning data value corresponding to the key.", +"type": "string" +} +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "[Output Only] A human-readable description of the warning code.", +"type": "string" +} +}, +"type": "object" +} +}, +"type": "object" +}, +"SecurityPoliciesListPreconfiguredExpressionSetsResponse": { +"id": "SecurityPoliciesListPreconfiguredExpressionSetsResponse", +"properties": { +"preconfiguredExpressionSets": { +"$ref": "SecurityPoliciesWafConfig" +} +}, +"type": "object" +}, +"SecurityPoliciesScopedList": { +"id": "SecurityPoliciesScopedList", +"properties": { +"securityPolicies": { +"description": "A list of SecurityPolicies contained in this scope.", +"items": { +"$ref": "SecurityPolicy" +}, +"type": "array" +}, +"warning": { +"description": "Informational warning which replaces the list of\nsecurity policies when the list is empty.", +"properties": { +"code": { +"description": "[Output Only] A warning code, if applicable. For example, Compute\nEngine returns NO_RESULTS_ON_PAGE if there\nare no results in the response.", +"enum": [ +"CLEANUP_FAILED", +"DEPRECATED_RESOURCE_USED", +"DEPRECATED_TYPE_USED", +"DISK_SIZE_LARGER_THAN_IMAGE_SIZE", +"EXPERIMENTAL_TYPE_USED", +"EXTERNAL_API_WARNING", +"FIELD_VALUE_OVERRIDEN", +"INJECTED_KERNELS_DEPRECATED", +"INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", +"LARGE_DEPLOYMENT_WARNING", +"LIST_OVERHEAD_QUOTA_EXCEED", +"MISSING_TYPE_DEPENDENCY", +"NEXT_HOP_ADDRESS_NOT_ASSIGNED", +"NEXT_HOP_CANNOT_IP_FORWARD", +"NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", +"NEXT_HOP_INSTANCE_NOT_FOUND", +"NEXT_HOP_INSTANCE_NOT_ON_NETWORK", +"NEXT_HOP_NOT_RUNNING", +"NOT_CRITICAL_ERROR", +"NO_RESULTS_ON_PAGE", +"PARTIAL_SUCCESS", +"QUOTA_INFO_UNAVAILABLE", +"REQUIRED_TOS_AGREEMENT", +"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", +"RESOURCE_NOT_DELETED", +"SCHEMA_VALIDATION_IGNORED", +"SINGLE_INSTANCE_PROPERTY_TEMPLATE", +"UNDECLARED_PROPERTIES", +"UNREACHABLE" +], +"enumDeprecated": [ +false, +false, +false, +false, +false, +false, +true, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false +], +"enumDescriptions": [ +"Warning about failed cleanup of transient changes made by a failed\noperation.", +"A link to a deprecated resource was created.", +"When deploying and at least one of the resources has a type marked as\ndeprecated", +"The user created a boot disk that is larger than image size.", +"When deploying and at least one of the resources has a type marked as\nexperimental", +"Warning that is present in an external api call", +"Warning that value of a field has been overridden.\nDeprecated unused field.", +"The operation involved use of an injected kernel, which is deprecated.", +"A WEIGHTED_MAGLEV backend service is associated with a health check that is\nnot of type HTTP/HTTPS/HTTP2.", +"When deploying a deployment with a exceedingly large number of resources", +"Resource can't be retrieved due to list overhead quota exceed\nwhich captures the amount of resources filtered out by\nuser-defined list filter.", +"A resource depends on a missing type", +"The route's nextHopIp address is not assigned to an instance on the\nnetwork.", +"The route's next hop instance cannot ip forward.", +"The route's nextHopInstance URL refers to an instance that does not have an\nipv6 interface on the same network as the route.", +"The route's nextHopInstance URL refers to an instance that does not exist.", +"The route's nextHopInstance URL refers to an instance that is not on the\nsame network as the route.", +"The route's next hop instance does not have a status of RUNNING.", +"Error which is not critical. We decided to continue the process despite\nthe mentioned error.", +"No results are present on a particular list page.", +"Success is reported, but some results may be missing due to errors", +"Quota information is not available to client requests (e.g:\nregions.list).", +"The user attempted to use a resource that requires a TOS they have not\naccepted.", +"Warning that a resource is in use.", +"One or more of the resources set to auto-delete could not be deleted\nbecause they were in use.", +"When a resource schema validation is ignored.", +"Instance template used in instance group manager is valid as such, but\nits application does not make a lot of sense, because it allows only\nsingle instance in instance group.", +"When undeclared properties in the schema are present", +"A given scope cannot be reached." +], +"type": "string" +}, +"data": { +"description": "[Output Only] Metadata about this warning in key:\nvalue format. For example:\n\n\"data\": [\n {\n \"key\": \"scope\",\n \"value\": \"zones/us-east1-d\"\n }", +"items": { +"properties": { +"key": { +"description": "[Output Only] A key that provides more detail on the warning being\nreturned. For example, for warnings where there are no results in a list\nrequest for a particular zone, this key might be scope and\nthe key value might be the zone name. Other examples might be a key\nindicating a deprecated resource and a suggested replacement, or a\nwarning about invalid network settings (for example, if an instance\nattempts to perform IP forwarding but is not enabled for IP forwarding).", +"type": "string" +}, +"value": { +"description": "[Output Only] A warning data value corresponding to the key.", +"type": "string" +} +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "[Output Only] A human-readable description of the warning code.", +"type": "string" +} +}, +"type": "object" +} +}, +"type": "object" +}, +"SecurityPoliciesWafConfig": { +"id": "SecurityPoliciesWafConfig", +"properties": { +"wafRules": { +"$ref": "PreconfiguredWafSet" +} +}, +"type": "object" +}, +"SecurityPolicy": { +"description": "Represents a Google Cloud Armor security policy resource.\n\nOnly external backend services that use load balancers can\nreference a security policy. For more information, see\nGoogle Cloud Armor security policy overview.", +"id": "SecurityPolicy", +"properties": { +"adaptiveProtectionConfig": { +"$ref": "SecurityPolicyAdaptiveProtectionConfig" +}, +"advancedOptionsConfig": { +"$ref": "SecurityPolicyAdvancedOptionsConfig" +}, +"associations": { +"description": "A list of associations that belong to this policy.", +"items": { +"$ref": "SecurityPolicyAssociation" +}, +"type": "array" +}, +"creationTimestamp": { +"description": "Output only. [Output Only] Creation timestamp inRFC3339\ntext format.", +"readOnly": true, +"type": "string" +}, +"ddosProtectionConfig": { +"$ref": "SecurityPolicyDdosProtectionConfig" +}, +"description": { +"description": "An optional description of this resource. Provide this property when you\ncreate the resource.", +"type": "string" +}, +"displayName": { +"deprecated": true, +"description": "User-provided name of the organization security policy. The name should be\nunique in the organization in which the security policy is created. This\nshould only be used when SecurityPolicyType is FIREWALL.\nThe name must be 1-63 characters long, and comply with\nhttps://www.ietf.org/rfc/rfc1035.txt. Specifically, the name must be 1-63\ncharacters long and match the regular expression\n`[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a\nlowercase letter, and all following characters must be a dash, lowercase\nletter, or digit, except the last character, which cannot be a dash.", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"type": "string" +}, +"fingerprint": { +"description": "Specifies a fingerprint for this resource, which is essentially a hash of\nthe metadata's contents and used for optimistic locking. The\nfingerprint is initially generated by Compute Engine and changes after\nevery request to modify or update metadata. You must always provide an\nup-to-date fingerprint hash in order to update or change metadata,\notherwise the request will fail with error412 conditionNotMet.\n\nTo see the latest fingerprint, make get() request to the\nsecurity policy.", +"format": "byte", +"type": "string" +}, +"id": { +"description": "Output only. [Output Only] The unique identifier for the resource. This identifier is\ndefined by the server.", +"format": "uint64", +"readOnly": true, +"type": "string" +}, +"kind": { +"default": "compute#securityPolicy", +"description": "Output only. [Output only] Type of the resource. Alwayscompute#securityPolicyfor security policies", +"readOnly": true, +"type": "string" +}, +"labelFingerprint": { +"description": "A fingerprint for the labels being applied to this security policy, which\nis essentially a hash of the labels set used for optimistic locking. The\nfingerprint is initially generated by Compute Engine and changes after\nevery request to modify or update labels. You must always provide an\nup-to-date fingerprint hash in order to update or change labels.\n\nTo see the latest fingerprint, make get() request to the\nsecurity policy.", +"format": "byte", +"type": "string" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Labels for this resource. These can only be added or modified by thesetLabels method. Each label key/value pair must comply withRFC1035.\nLabel values may be empty.", +"type": "object" +}, +"name": { +"description": "Name of the resource. Provided by the client when the resource is created.\nThe name must be 1-63 characters long, and comply withRFC1035.\nSpecifically, the name must be 1-63 characters long and match the regular\nexpression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first\ncharacter must be a lowercase letter, and all following characters must\nbe a dash, lowercase letter, or digit, except the last character, which\ncannot be a dash.", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"type": "string" +}, +"parent": { +"description": "Output only. [Output Only] The parent of the security policy.", +"readOnly": true, +"type": "string" +}, +"recaptchaOptionsConfig": { +"$ref": "SecurityPolicyRecaptchaOptionsConfig" +}, +"region": { +"description": "Output only. [Output Only] URL of the region where the regional security policy\nresides. This field is not applicable to global security policies.", +"readOnly": true, +"type": "string" +}, +"ruleTupleCount": { +"deprecated": true, +"description": "Output only. [Output Only] Total count of all security policy rule tuples. A security\npolicy can not exceed a set number of tuples.", +"format": "int32", +"readOnly": true, +"type": "integer" +}, +"rules": { +"description": "A list of rules that belong to this policy.\nThere must always be a default rule which is a rule with priority\n2147483647 and match all condition (for the match condition this means\nmatch \"*\" for srcIpRanges and for the networkMatch condition every field\nmust be either match \"*\" or not set). If no rules are provided when\ncreating a security policy, a default rule with action \"allow\" will be\nadded.", +"items": { +"$ref": "SecurityPolicyRule" +}, +"type": "array" +}, +"selfLink": { +"description": "Output only. [Output Only] Server-defined URL for the resource.", +"readOnly": true, +"type": "string" +}, +"selfLinkWithId": { +"description": "Output only. [Output Only] Server-defined URL for this resource with the resource id.", +"readOnly": true, +"type": "string" +}, +"shortName": { +"description": "User-provided name of the organization security policy. The name should be\nunique in the organization in which the security policy is created. This\nshould only be used when SecurityPolicyType is CLOUD_ARMOR.\nThe name must be 1-63 characters long, and comply with\nhttps://www.ietf.org/rfc/rfc1035.txt. Specifically, the name must be 1-63\ncharacters long and match the regular expression\n`[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a\nlowercase letter, and all following characters must be a dash, lowercase\nletter, or digit, except the last character, which cannot be a dash.", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"type": "string" +}, +"type": { +"description": "The type indicates the intended use of the security policy.\n \n - CLOUD_ARMOR: Cloud Armor backend security policies can\n be configured to filter incoming HTTP requests targeting backend services.\n They filter requests before they hit the origin servers.\n - CLOUD_ARMOR_EDGE: Cloud Armor edge security policies can\n be configured to filter incoming HTTP requests targeting backend services\n (including Cloud CDN-enabled) as well as backend buckets (Cloud Storage).\n They filter requests before the request is served from Google's cache.\n - CLOUD_ARMOR_INTERNAL_SERVICE (preview only): Cloud Armor\n internal service policies can be configured to filter HTTP requests\n targeting services managed by Traffic Director in a service mesh. They\n filter requests before the request is served from the application.\n\n- CLOUD_ARMOR_NETWORK: Cloud Armor network policies\ncan be configured to filter packets targeting network load balancing\nresources such as backend services, target pools, target instances, and\ninstances with external IPs. They filter requests before the request is\nserved from the application.\n\n\nThis field can be set only at resource creation time.", +"enum": [ +"CLOUD_ARMOR", +"CLOUD_ARMOR_EDGE", +"CLOUD_ARMOR_INTERNAL_SERVICE", +"CLOUD_ARMOR_NETWORK", +"FIREWALL" +], +"enumDescriptions": [ +"", +"", +"", +"", +"" +], +"type": "string" +}, +"userDefinedFields": { +"description": "Definitions of user-defined fields for CLOUD_ARMOR_NETWORK policies. A\nuser-defined field consists of up to 4 bytes extracted from a fixed offset\nin the packet, relative to the IPv4, IPv6, TCP, or UDP header, with an\noptional mask to select certain bits. Rules may then specify matching\nvalues for these fields.\n\nExample:\n\n userDefinedFields:\n - name: \"ipv4_fragment_offset\"\n base: IPV4\n offset: 6\n size: 2\n mask: \"0x1fff\"", +"items": { +"$ref": "SecurityPolicyUserDefinedField" +}, +"type": "array" +} +}, +"type": "object" +}, +"SecurityPolicyAdaptiveProtectionConfig": { +"description": "Configuration options for Cloud Armor Adaptive Protection (CAAP).", +"id": "SecurityPolicyAdaptiveProtectionConfig", +"properties": { +"autoDeployConfig": { +"$ref": "SecurityPolicyAdaptiveProtectionConfigAutoDeployConfig" +}, +"layer7DdosDefenseConfig": { +"$ref": "SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfig", +"description": "If set to true, enables Cloud Armor Machine Learning." +} +}, +"type": "object" +}, +"SecurityPolicyAdaptiveProtectionConfigAutoDeployConfig": { +"description": "Configuration options for Adaptive Protection auto-deploy feature.", +"id": "SecurityPolicyAdaptiveProtectionConfigAutoDeployConfig", +"properties": { +"confidenceThreshold": { +"format": "float", +"type": "number" +}, +"expirationSec": { +"format": "int32", +"type": "integer" +}, +"impactedBaselineThreshold": { +"format": "float", +"type": "number" +}, +"loadThreshold": { +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfig": { +"description": "Configuration options for L7 DDoS detection.\nThis field is only supported in Global Security Policies of type\nCLOUD_ARMOR.", +"id": "SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfig", +"properties": { +"enable": { +"description": "If set to true, enables CAAP for L7 DDoS detection.\nThis field is only supported in Global Security Policies of type\nCLOUD_ARMOR.", +"type": "boolean" +}, +"ruleVisibility": { +"description": "Rule visibility can be one of the following:\nSTANDARD - opaque rules. (default)\nPREMIUM - transparent rules.\nThis field is only supported in Global Security Policies of type\nCLOUD_ARMOR.", +"enum": [ +"PREMIUM", +"STANDARD" +], +"enumDescriptions": [ +"", +"" +], +"type": "string" +}, +"thresholdConfigs": { +"description": "Configuration options for layer7 adaptive protection for various\ncustomizable thresholds.", +"items": { +"$ref": "SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfig" +}, +"type": "array" +} +}, +"type": "object" +}, +"SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfig": { +"id": "SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfig", +"properties": { +"autoDeployConfidenceThreshold": { +"format": "float", +"type": "number" +}, +"autoDeployExpirationSec": { +"format": "int32", +"type": "integer" +}, +"autoDeployImpactedBaselineThreshold": { +"format": "float", +"type": "number" +}, +"autoDeployLoadThreshold": { +"format": "float", +"type": "number" +}, +"detectionAbsoluteQps": { +"format": "float", +"type": "number" +}, +"detectionLoadThreshold": { +"format": "float", +"type": "number" +}, +"detectionRelativeToBaselineQps": { +"format": "float", +"type": "number" +}, +"name": { +"description": "The name must be 1-63 characters long, and comply withRFC1035.\nThe name must be unique within the security policy.", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"type": "string" +}, +"trafficGranularityConfigs": { +"description": "Configuration options for enabling Adaptive Protection to operate\non specified granular traffic units.", +"items": { +"$ref": "SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfigTrafficGranularityConfig" +}, +"type": "array" +} +}, +"type": "object" +}, +"SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfigTrafficGranularityConfig": { +"description": "Configurations to specifc granular traffic units processed by\nAdaptive Protection.", +"id": "SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfigTrafficGranularityConfig", +"properties": { +"enableEachUniqueValue": { +"description": "If enabled, traffic matching each unique value for the specified\ntype constitutes a separate traffic unit.\nIt can only be set to true if `value` is empty.", +"type": "boolean" +}, +"type": { +"description": "Type of this configuration.", +"enum": [ +"HTTP_HEADER_HOST", +"HTTP_PATH", +"UNSPECIFIED_TYPE" +], +"enumDescriptions": [ +"", +"", +"" +], +"type": "string" +}, +"value": { +"description": "Requests that match this value constitute a granular traffic unit.", +"type": "string" +} +}, +"type": "object" +}, +"SecurityPolicyAdvancedOptionsConfig": { +"id": "SecurityPolicyAdvancedOptionsConfig", +"properties": { +"jsonCustomConfig": { +"$ref": "SecurityPolicyAdvancedOptionsConfigJsonCustomConfig", +"description": "Custom configuration to apply the JSON parsing. Only applicable when\njson_parsing is set to STANDARD." +}, +"jsonParsing": { +"enum": [ +"DISABLED", +"STANDARD", +"STANDARD_WITH_GRAPHQL" +], +"enumDescriptions": [ +"", +"", +"" +], +"type": "string" +}, +"logLevel": { +"enum": [ +"NORMAL", +"VERBOSE" +], +"enumDescriptions": [ +"", +"" +], +"type": "string" +}, +"requestBodyInspectionSize": { +"description": "The maximum request size chosen by the customer with Waf enabled.\nValues supported are \"8KB\", \"16KB, \"32KB\", \"48KB\" and \"64KB\".\nValues are case insensitive.", +"type": "string" +}, +"userIpRequestHeaders": { +"description": "An optional list of case-insensitive request header names to use for\nresolving the callers client IP address.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"SecurityPolicyAdvancedOptionsConfigJsonCustomConfig": { +"id": "SecurityPolicyAdvancedOptionsConfigJsonCustomConfig", +"properties": { +"contentTypes": { +"description": "A list of custom Content-Type header values to apply the JSON parsing.\n\nAs per RFC 1341, a Content-Type header value has the following format:\n\nContent-Type := type \"/\" subtype *[\";\" parameter]\n\nWhen configuring a custom Content-Type header value, only the\ntype/subtype needs to be specified, and the parameters should be\nexcluded.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"SecurityPolicyAssociation": { +"id": "SecurityPolicyAssociation", +"properties": { +"attachmentId": { +"description": "The resource that the security policy is attached to.", +"type": "string" +}, +"displayName": { +"deprecated": true, +"description": "Output only. [Output Only] The display name of the security policy of the association.", +"readOnly": true, +"type": "string" +}, +"excludedFolders": { +"description": "A list of folders to exclude from the security policy.", +"items": { +"type": "string" +}, +"type": "array" +}, +"excludedProjects": { +"description": "A list of projects to exclude from the security policy.", +"items": { +"type": "string" +}, +"type": "array" +}, +"name": { +"description": "The name for an association.", +"type": "string" +}, +"securityPolicyId": { +"description": "Output only. [Output Only] The security policy ID of the association.", +"readOnly": true, +"type": "string" +}, +"shortName": { +"description": "Output only. [Output Only] The short name of the security policy of the association.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"SecurityPolicyDdosProtectionConfig": { +"id": "SecurityPolicyDdosProtectionConfig", +"properties": { +"ddosAdaptiveProtection": { +"enum": [ +"DISABLED", +"ENABLED", +"PREVIEW" +], +"enumDescriptions": [ +"", +"", +"" +], +"type": "string" +}, +"ddosImpactedBaselineThreshold": { +"description": "DDoS Protection for Network Load Balancers (and VMs with public IPs)\nbuilds DDos mitigations that minimize collateral damage. It quantifies\nthis as the fraction of a non-abuse baseline that's inadvertently\nblocked.\n\nRules whose collateral damage exceeds ddosImpactedBaselineThreshold will\nnot be deployed. Using a lower value will prioritize keeping collateral\ndamage low, possibly at the cost of its effectiveness in rate limiting\nsome or all of the attack. It should typically be unset, so Advanced DDos\n(and Adaptive Protection) uses the best mitigation it can find. Setting\nthe threshold is advised if there are logs for false positive detections\nwith high collateral damage, and will cause Advanced DDos to attempt to\nfind a less aggressive rule that satisfies the constraint; Failing that,\nit will fall back to no mitigation (smaller attack) or to broader network\nthrottles (larger attack).", +"format": "float", +"type": "number" +}, +"ddosProtection": { +"enum": [ +"ADVANCED", +"ADVANCED_PREVIEW", +"STANDARD" +], +"enumDescriptions": [ +"", +"", +"" +], +"type": "string" +} +}, +"type": "object" +}, +"SecurityPolicyList": { +"id": "SecurityPolicyList", +"properties": { +"id": { +"description": "[Output Only] Unique identifier for the resource; defined by the server.", +"type": "string" +}, +"items": { +"description": "A list of SecurityPolicy resources.", +"items": { +"$ref": "SecurityPolicy" +}, +"type": "array" +}, +"kind": { +"default": "compute#securityPolicyList", +"description": "Output only. [Output Only] Type of resource. Alwayscompute#securityPolicyList for listsof securityPolicies", +"readOnly": true, +"type": "string" +}, +"nextPageToken": { +"description": "[Output Only] This token allows you to get the next page of results for\nlist requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for\nthe query parameter pageToken in the next list request.\nSubsequent list requests will have their own nextPageToken to\ncontinue paging through the results.", +"type": "string" +}, +"warning": { +"description": "[Output Only] Informational warning message.", +"properties": { +"code": { +"description": "[Output Only] A warning code, if applicable. For example, Compute\nEngine returns NO_RESULTS_ON_PAGE if there\nare no results in the response.", +"enum": [ +"CLEANUP_FAILED", +"DEPRECATED_RESOURCE_USED", +"DEPRECATED_TYPE_USED", +"DISK_SIZE_LARGER_THAN_IMAGE_SIZE", +"EXPERIMENTAL_TYPE_USED", +"EXTERNAL_API_WARNING", +"FIELD_VALUE_OVERRIDEN", +"INJECTED_KERNELS_DEPRECATED", +"INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", +"LARGE_DEPLOYMENT_WARNING", +"LIST_OVERHEAD_QUOTA_EXCEED", +"MISSING_TYPE_DEPENDENCY", +"NEXT_HOP_ADDRESS_NOT_ASSIGNED", +"NEXT_HOP_CANNOT_IP_FORWARD", +"NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", +"NEXT_HOP_INSTANCE_NOT_FOUND", +"NEXT_HOP_INSTANCE_NOT_ON_NETWORK", +"NEXT_HOP_NOT_RUNNING", +"NOT_CRITICAL_ERROR", +"NO_RESULTS_ON_PAGE", +"PARTIAL_SUCCESS", +"QUOTA_INFO_UNAVAILABLE", +"REQUIRED_TOS_AGREEMENT", +"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", +"RESOURCE_NOT_DELETED", +"SCHEMA_VALIDATION_IGNORED", +"SINGLE_INSTANCE_PROPERTY_TEMPLATE", +"UNDECLARED_PROPERTIES", +"UNREACHABLE" +], +"enumDeprecated": [ +false, +false, +false, +false, +false, +false, +true, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false +], +"enumDescriptions": [ +"Warning about failed cleanup of transient changes made by a failed\noperation.", +"A link to a deprecated resource was created.", +"When deploying and at least one of the resources has a type marked as\ndeprecated", +"The user created a boot disk that is larger than image size.", +"When deploying and at least one of the resources has a type marked as\nexperimental", +"Warning that is present in an external api call", +"Warning that value of a field has been overridden.\nDeprecated unused field.", +"The operation involved use of an injected kernel, which is deprecated.", +"A WEIGHTED_MAGLEV backend service is associated with a health check that is\nnot of type HTTP/HTTPS/HTTP2.", +"When deploying a deployment with a exceedingly large number of resources", +"Resource can't be retrieved due to list overhead quota exceed\nwhich captures the amount of resources filtered out by\nuser-defined list filter.", +"A resource depends on a missing type", +"The route's nextHopIp address is not assigned to an instance on the\nnetwork.", +"The route's next hop instance cannot ip forward.", +"The route's nextHopInstance URL refers to an instance that does not have an\nipv6 interface on the same network as the route.", +"The route's nextHopInstance URL refers to an instance that does not exist.", +"The route's nextHopInstance URL refers to an instance that is not on the\nsame network as the route.", +"The route's next hop instance does not have a status of RUNNING.", +"Error which is not critical. We decided to continue the process despite\nthe mentioned error.", +"No results are present on a particular list page.", +"Success is reported, but some results may be missing due to errors", +"Quota information is not available to client requests (e.g:\nregions.list).", +"The user attempted to use a resource that requires a TOS they have not\naccepted.", +"Warning that a resource is in use.", +"One or more of the resources set to auto-delete could not be deleted\nbecause they were in use.", +"When a resource schema validation is ignored.", +"Instance template used in instance group manager is valid as such, but\nits application does not make a lot of sense, because it allows only\nsingle instance in instance group.", +"When undeclared properties in the schema are present", +"A given scope cannot be reached." +], +"type": "string" +}, +"data": { +"description": "[Output Only] Metadata about this warning in key:\nvalue format. For example:\n\n\"data\": [\n {\n \"key\": \"scope\",\n \"value\": \"zones/us-east1-d\"\n }", +"items": { +"properties": { +"key": { +"description": "[Output Only] A key that provides more detail on the warning being\nreturned. For example, for warnings where there are no results in a list\nrequest for a particular zone, this key might be scope and\nthe key value might be the zone name. Other examples might be a key\nindicating a deprecated resource and a suggested replacement, or a\nwarning about invalid network settings (for example, if an instance\nattempts to perform IP forwarding but is not enabled for IP forwarding).", +"type": "string" +}, +"value": { +"description": "[Output Only] A warning data value corresponding to the key.", +"type": "string" +} +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "[Output Only] A human-readable description of the warning code.", +"type": "string" +} +}, +"type": "object" +} +}, +"type": "object" +}, +"SecurityPolicyRecaptchaOptionsConfig": { +"id": "SecurityPolicyRecaptchaOptionsConfig", +"properties": { +"redirectSiteKey": { +"description": "An optional field to supply a reCAPTCHA site key to be used for all the\nrules using the redirect action with the type of GOOGLE_RECAPTCHA under\nthe security policy. The specified site key needs to be created from the\nreCAPTCHA API. The user is responsible for the validity of the specified\nsite key. If not specified, a Google-managed site key is used.\nThis field is only supported in Global Security Policies of type\nCLOUD_ARMOR.", +"type": "string" +} +}, +"type": "object" +}, +"SecurityPolicyReference": { +"id": "SecurityPolicyReference", +"properties": { +"securityPolicy": { +"type": "string" +} +}, +"type": "object" +}, +"SecurityPolicyRule": { +"description": "Represents a rule that describes one or more match conditions along with\nthe action to be taken when traffic matches this condition (allow or deny).", +"id": "SecurityPolicyRule", +"properties": { +"action": { +"description": "The Action to perform when the rule is matched.\nThe following are the valid actions:\n \n - allow: allow access to target.\n - deny(STATUS): deny access to target, returns the\n HTTP response code specified. Valid values for `STATUS`\n are 403, 404, and 502.\n - rate_based_ban: limit client traffic to the configured\n threshold and ban the client if the traffic exceeds the threshold.\n Configure parameters for this action in RateLimitOptions. Requires\n rate_limit_options to be set.\n - redirect: redirect to a different target. This can\n either be an internal reCAPTCHA redirect, or an external URL-based\n redirect via a 302 response. Parameters for this action can be configured\n via redirectOptions. This action is only supported in Global Security\n Policies of type CLOUD_ARMOR.\n - throttle: limit\n client traffic to the configured threshold. Configure parameters for this\n action in rateLimitOptions. Requires rate_limit_options to be set for\n this.\n - fairshare (preview only): when traffic reaches the\n threshold limit, requests from the clients matching this rule begin to be\n rate-limited using the Fair Share algorithm. This action is only allowed\n in security policies of type `CLOUD_ARMOR_INTERNAL_SERVICE`.", +"type": "string" +}, +"description": { +"description": "An optional description of this resource. Provide this property when you\ncreate the resource.", +"type": "string" +}, +"direction": { +"deprecated": true, +"description": "The direction in which this rule applies. This field may only be\nspecified when versioned_expr is set to FIREWALL.", +"enum": [ +"EGRESS", +"INGRESS" +], +"enumDescriptions": [ +"", +"" +], +"type": "string" +}, +"enableLogging": { +"deprecated": true, +"description": "Denotes whether to enable logging for a particular rule. If logging is\nenabled, logs will be exported to the configured export destination in\nStackdriver. Logs may be exported to BigQuery or Pub/Sub. Note: you\ncannot enable logging on \"goto_next\" rules.\n\nThis field may only be specified when the versioned_expr is set to\nFIREWALL.", +"type": "boolean" +}, +"headerAction": { +"$ref": "SecurityPolicyRuleHttpHeaderAction", +"description": "Optional, additional actions that are performed on headers.\nThis field is only supported in Global Security Policies of type\nCLOUD_ARMOR." +}, +"kind": { +"default": "compute#securityPolicyRule", +"description": "Output only. [Output only] Type of the resource. Alwayscompute#securityPolicyRule for security policy rules", +"readOnly": true, +"type": "string" +}, +"match": { +"$ref": "SecurityPolicyRuleMatcher", +"description": "A match condition that incoming traffic is evaluated against.\nIf it evaluates to true, the corresponding 'action' is enforced." +}, +"networkMatch": { +"$ref": "SecurityPolicyRuleNetworkMatcher", +"description": "A match condition that incoming packets are evaluated against for\nCLOUD_ARMOR_NETWORK security policies. If it matches, the corresponding\n'action' is enforced.\n\nThe match criteria for a rule consists of built-in match fields (like\n'srcIpRanges') and potentially multiple user-defined match fields\n('userDefinedFields').\n\nField values may be extracted directly from the packet or derived from it\n(e.g. 'srcRegionCodes'). Some fields may not be present in every packet\n(e.g. 'srcPorts'). A user-defined field is only present if the base\nheader is found in the packet and the entire field is in bounds.\n\nEach match field may specify which values can match it, listing one or\nmore ranges, prefixes, or exact values that are considered a match for\nthe field. A field value must be present in order to match a specified\nmatch field. If no match values are specified for a match field, then any\nfield value is considered to match it, and it's not required to be\npresent. For strings specifying '*' is also equivalent to match all.\n\nFor a packet to match a rule, all specified match fields must match the\ncorresponding field values derived from the packet.\n\nExample:\n\nnetworkMatch:\n srcIpRanges:\n - \"192.0.2.0/24\"\n - \"198.51.100.0/24\"\n userDefinedFields:\n - name: \"ipv4_fragment_offset\"\n values:\n - \"1-0x1fff\"\n\nThe above match condition matches packets with a source IP in\n192.0.2.0/24 or 198.51.100.0/24 and a user-defined field named\n\"ipv4_fragment_offset\" with a value between 1 and 0x1fff inclusive." +}, +"preconfiguredWafConfig": { +"$ref": "SecurityPolicyRulePreconfiguredWafConfig", +"description": "Preconfigured WAF configuration to be applied for the rule. If the rule\ndoes not evaluate preconfigured WAF rules, i.e., if\nevaluatePreconfiguredWaf() is not used, this field will have no effect." +}, +"preview": { +"description": "If set to true, the specified action is not enforced.", +"type": "boolean" +}, +"priority": { +"description": "An integer indicating the priority of a rule in the list. The priority\nmust be a positive value between 0 and 2147483647.\nRules are evaluated from highest to lowest priority where 0 is the\nhighest priority and 2147483647 is the lowest priority.", +"format": "int32", +"type": "integer" +}, +"rateLimitOptions": { +"$ref": "SecurityPolicyRuleRateLimitOptions", +"description": "Must be specified if the action is \"rate_based_ban\" or \"throttle\" or\n\"fairshare\". Cannot be specified for any other actions." +}, +"redirectOptions": { +"$ref": "SecurityPolicyRuleRedirectOptions", +"description": "Parameters defining the redirect action. Cannot be specified for any\nother actions.\nThis field is only supported in Global Security Policies of type\nCLOUD_ARMOR." +}, +"ruleNumber": { +"description": "Identifier for the rule. This is only unique within the given security\npolicy. This can only be set during rule creation, if rule number is not\nspecified it will be generated by the server.", +"format": "int64", +"type": "string" +}, +"ruleTupleCount": { +"deprecated": true, +"description": "Output only. [Output Only] Calculation of the complexity of a single firewall security\npolicy rule.", +"format": "int32", +"readOnly": true, +"type": "integer" +}, +"targetResources": { +"deprecated": true, +"description": "A list of network resource URLs to which this rule applies. This field\nallows you to control which network's VMs get this rule. If this field\nis left blank, all VMs within the organization will receive the rule.\n\nThis field may only be specified when versioned_expr is set to FIREWALL.", +"items": { +"type": "string" +}, +"type": "array" +}, +"targetServiceAccounts": { +"deprecated": true, +"description": "A list of service accounts indicating the sets of instances that are\napplied with this rule.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"SecurityPolicyRuleHttpHeaderAction": { +"id": "SecurityPolicyRuleHttpHeaderAction", +"properties": { +"requestHeadersToAdds": { +"description": "The list of request headers to add or overwrite if they're already\npresent.", +"items": { +"$ref": "SecurityPolicyRuleHttpHeaderActionHttpHeaderOption" +}, +"type": "array" +} +}, +"type": "object" +}, +"SecurityPolicyRuleHttpHeaderActionHttpHeaderOption": { +"id": "SecurityPolicyRuleHttpHeaderActionHttpHeaderOption", +"properties": { +"headerName": { +"description": "The name of the header to set.", +"type": "string" +}, +"headerValue": { +"description": "The value to set the named header to.", +"type": "string" +} +}, +"type": "object" +}, +"SecurityPolicyRuleMatcher": { +"description": "Represents a match condition that incoming traffic is evaluated against.\nExactly one field must be specified.", +"id": "SecurityPolicyRuleMatcher", +"properties": { +"config": { +"$ref": "SecurityPolicyRuleMatcherConfig", +"description": "The configuration options available when specifying versioned_expr.\nThis field must be specified if versioned_expr is specified and cannot\nbe specified if versioned_expr is not specified." +}, +"expr": { +"$ref": "Expr", +"description": "User defined CEVAL expression.\nA CEVAL expression is used to specify match criteria such as origin.ip,\nsource.region_code and contents in the request header.\nExpressions containing `evaluateThreatIntelligence` require a Cloud\nArmor Enterprise subscription and are not supported in Edge Policies\nnor in Regional Policies. Expressions containing\n`evaluatePreconfiguredExpr('sourceiplist-*')` require a Cloud Armor\nEnterprise subscription and are only supported in Global Security\nPolicies." +}, +"exprOptions": { +"$ref": "SecurityPolicyRuleMatcherExprOptions", +"description": "The configuration options available when specifying a user defined\nCEVAL expression (i.e., 'expr')." +}, +"versionedExpr": { +"description": "Preconfigured versioned expression.\nIf this field is specified, config must also be specified.\nAvailable preconfigured expressions along with their requirements are:\nSRC_IPS_V1 - must specify the corresponding src_ip_range field in\nconfig.", +"enum": [ +"FIREWALL", +"SRC_IPS_V1" +], +"enumDescriptions": [ +"", +"Matches the source IP address of a request to the IP ranges supplied\nin config." +], +"type": "string" +} +}, +"type": "object" +}, +"SecurityPolicyRuleMatcherConfig": { +"id": "SecurityPolicyRuleMatcherConfig", +"properties": { +"destIpRanges": { +"deprecated": true, +"description": "CIDR IP address range.\n\nThis field may only be specified when versioned_expr is set to\nFIREWALL.", +"items": { +"type": "string" +}, +"type": "array" +}, +"layer4Configs": { +"deprecated": true, +"description": "Pairs of IP protocols and ports that the rule should match.\n\nThis field may only be specified when versioned_expr is set to\nFIREWALL.", +"items": { +"$ref": "SecurityPolicyRuleMatcherConfigLayer4Config" +}, +"type": "array" +}, +"srcIpRanges": { +"description": "CIDR IP address range.\nMaximum number of src_ip_ranges allowed is 10.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"SecurityPolicyRuleMatcherConfigLayer4Config": { +"id": "SecurityPolicyRuleMatcherConfigLayer4Config", +"properties": { +"ipProtocol": { +"deprecated": true, +"description": "The IP protocol to which this rule applies. The protocol type is\nrequired when creating a firewall rule. This value can either be\none of the following well known protocol strings (tcp,udp, icmp, esp,ah, ipip, sctp), or the IP\nprotocol number.", +"type": "string" +}, +"ports": { +"deprecated": true, +"description": "An optional list of ports to which this rule applies. This field is\nonly applicable for UDP or TCP protocol. Each entry must be either\nan integer or a range. If not specified, this rule applies to\nconnections through any port.\n\nExample inputs include: [\"22\"],[\"80\",\"443\"], and [\"12345-12349\"].\n\nThis field may only be specified when versioned_expr is set to\nFIREWALL.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"SecurityPolicyRuleMatcherExprOptions": { +"id": "SecurityPolicyRuleMatcherExprOptions", +"properties": { +"recaptchaOptions": { +"$ref": "SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions", +"description": "reCAPTCHA configuration options to be applied for the rule. If the\nrule does not evaluate reCAPTCHA tokens, this field has no effect." +} +}, +"type": "object" +}, +"SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions": { +"id": "SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions", +"properties": { +"actionTokenSiteKeys": { +"description": "A list of site keys to be used during the validation of reCAPTCHA\naction-tokens. The provided site keys need to be created from\nreCAPTCHA API under the same project where the security policy is\ncreated.", +"items": { +"type": "string" +}, +"type": "array" +}, +"sessionTokenSiteKeys": { +"description": "A list of site keys to be used during the validation of reCAPTCHA\nsession-tokens. The provided site keys need to be created from\nreCAPTCHA API under the same project where the security policy is\ncreated.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"SecurityPolicyRuleNetworkMatcher": { +"description": "Represents a match condition that incoming network traffic is evaluated\nagainst.", +"id": "SecurityPolicyRuleNetworkMatcher", +"properties": { +"destIpRanges": { +"description": "Destination IPv4/IPv6 addresses or CIDR prefixes, in standard text\nformat.", +"items": { +"type": "string" +}, +"type": "array" +}, +"destPorts": { +"description": "Destination port numbers for TCP/UDP/SCTP. Each element can be a 16-bit\nunsigned decimal number (e.g. \"80\") or range (e.g. \"0-1023\").", +"items": { +"type": "string" +}, +"type": "array" +}, +"ipProtocols": { +"description": "IPv4 protocol / IPv6 next header (after extension headers). Each\nelement can be an 8-bit unsigned decimal number (e.g. \"6\"), range (e.g.\n\"253-254\"), or one of the following protocol names: \"tcp\", \"udp\",\n\"icmp\", \"esp\", \"ah\", \"ipip\", or \"sctp\".", +"items": { +"type": "string" +}, +"type": "array" +}, +"srcAsns": { +"description": "BGP Autonomous System Number associated with the source IP address.", +"items": { +"format": "uint32", +"type": "integer" +}, +"type": "array" +}, +"srcIpRanges": { +"description": "Source IPv4/IPv6 addresses or CIDR prefixes, in standard text format.", +"items": { +"type": "string" +}, +"type": "array" +}, +"srcPorts": { +"description": "Source port numbers for TCP/UDP/SCTP. Each element can be a 16-bit\nunsigned decimal number (e.g. \"80\") or range (e.g. \"0-1023\").", +"items": { +"type": "string" +}, +"type": "array" +}, +"srcRegionCodes": { +"description": "Two-letter ISO 3166-1 alpha-2 country code associated with the source\nIP address.", +"items": { +"type": "string" +}, +"type": "array" +}, +"userDefinedFields": { +"description": "User-defined fields. Each element names a defined field and lists the\nmatching values for that field.", +"items": { +"$ref": "SecurityPolicyRuleNetworkMatcherUserDefinedFieldMatch" +}, +"type": "array" +} +}, +"type": "object" +}, +"SecurityPolicyRuleNetworkMatcherUserDefinedFieldMatch": { +"id": "SecurityPolicyRuleNetworkMatcherUserDefinedFieldMatch", +"properties": { +"name": { +"description": "Name of the user-defined field, as given in the definition.", +"type": "string" +}, +"values": { +"description": "Matching values of the field. Each element can be a 32-bit unsigned\ndecimal or hexadecimal (starting with \"0x\") number (e.g. \"64\") or\nrange (e.g. \"0x400-0x7ff\").", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"SecurityPolicyRulePreconfiguredWafConfig": { +"id": "SecurityPolicyRulePreconfiguredWafConfig", +"properties": { +"exclusions": { +"description": "A list of exclusions to apply during preconfigured WAF evaluation.", +"items": { +"$ref": "SecurityPolicyRulePreconfiguredWafConfigExclusion" +}, +"type": "array" +} +}, +"type": "object" +}, +"SecurityPolicyRulePreconfiguredWafConfigExclusion": { +"id": "SecurityPolicyRulePreconfiguredWafConfigExclusion", +"properties": { +"requestBodiesToExclude": { +"description": "A list of request body fields to be excluded from inspection during\npreconfigured WAF evaluation.", +"items": { +"$ref": "SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParams" +}, +"type": "array" +}, +"requestCookiesToExclude": { +"description": "A list of request cookie names whose value will be excluded from\ninspection during preconfigured WAF evaluation.", +"items": { +"$ref": "SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParams" +}, +"type": "array" +}, +"requestHeadersToExclude": { +"description": "A list of request header names whose value will be excluded from\ninspection during preconfigured WAF evaluation.", +"items": { +"$ref": "SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParams" +}, +"type": "array" +}, +"requestQueryParamsToExclude": { +"description": "A list of request query parameter names whose value will be excluded\nfrom inspection during preconfigured WAF evaluation. Note that the\nparameter can be in the query string or in the POST body.", +"items": { +"$ref": "SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParams" +}, +"type": "array" +}, +"requestUrisToExclude": { +"description": "A list of request URIs from the request line to be excluded from\ninspection during preconfigured WAF evaluation. When specifying this\nfield, the query or fragment part should be excluded.", +"items": { +"$ref": "SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParams" +}, +"type": "array" +}, +"targetRuleIds": { +"description": "A list of target rule IDs under the WAF rule set to apply the\npreconfigured WAF exclusion. If omitted, it refers to all the rule\nIDs under the WAF rule set.", +"items": { +"type": "string" +}, +"type": "array" +}, +"targetRuleSet": { +"description": "Target WAF rule set to apply the preconfigured WAF exclusion.", +"type": "string" +} +}, +"type": "object" +}, +"SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParams": { +"id": "SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParams", +"properties": { +"op": { +"description": "The match operator for the field.", +"enum": [ +"CONTAINS", +"ENDS_WITH", +"EQUALS", +"EQUALS_ANY", +"STARTS_WITH" +], +"enumDescriptions": [ +"The operator matches if the field value contains the specified\nvalue.", +"The operator matches if the field value ends with the specified\nvalue.", +"The operator matches if the field value equals the specified\nvalue.", +"The operator matches if the field value is any value.", +"The operator matches if the field value starts with the specified\nvalue." +], +"type": "string" +}, +"val": { +"description": "The value of the field.", +"type": "string" +} +}, +"type": "object" +}, +"SecurityPolicyRuleRateLimitOptions": { +"id": "SecurityPolicyRuleRateLimitOptions", +"properties": { +"banDurationSec": { +"description": "Can only be specified if the action for the rule is\n\"rate_based_ban\". If specified, determines the time (in seconds)\nthe traffic will continue to be banned by the rate limit after the\nrate falls below the threshold.", +"format": "int32", +"type": "integer" +}, +"banThreshold": { +"$ref": "SecurityPolicyRuleRateLimitOptionsThreshold", +"description": "Can only be specified if the action for the rule is\n\"rate_based_ban\". If specified, the key will be banned for the\nconfigured 'ban_duration_sec' when the number of requests that exceed\nthe 'rate_limit_threshold' also exceed this 'ban_threshold'." +}, +"conformAction": { +"description": "Action to take for requests that are under the configured rate limit\nthreshold. Valid option is \"allow\" only.", +"type": "string" +}, +"enforceOnKey": { +"description": "Determines the key to enforce the rate_limit_threshold on. Possible\nvalues are:\n \n - ALL: A single rate limit threshold is applied to all\n the requests matching this rule. This is the default value if\n \"enforceOnKey\" is not configured.\n - IP: The source IP address of\n the request is the key. Each IP has this limit enforced\n separately.\n - HTTP_HEADER: The value of the HTTP\n header whose name is configured under \"enforceOnKeyName\". The key\n value is truncated to the first 128 bytes of the header value. If no\n such header is present in the request, the key type defaults toALL.\n - XFF_IP: The first IP address (i.e. the\n originating client IP address) specified in the list of IPs under\n X-Forwarded-For HTTP header. If no such header is present or the value\n is not a valid IP, the key defaults to the source IP address of\n the request i.e. key type IP.\n - HTTP_COOKIE: The value of the HTTP\n cookie whose name is configured under \"enforceOnKeyName\". The key\n value is truncated to the first 128 bytes of the cookie value. If no\n such cookie is present in the request, the key type defaults toALL.\n - HTTP_PATH: The URL path of the HTTP request. The key\n value is truncated to the first 128 bytes. \n - SNI: Server name indication in the TLS session of the\n HTTPS request. The key value is truncated to the first 128 bytes. The\n key type defaults to ALL on a HTTP session. \n - REGION_CODE: The country/region from which the request\n originates. \n - TLS_JA3_FINGERPRINT: JA3 TLS/SSL fingerprint if the\n client connects using HTTPS, HTTP/2 or HTTP/3. If not available, the\n key type defaults to ALL. \n - USER_IP: The IP address of the originating client,\n which is resolved based on \"userIpRequestHeaders\" configured with the\n security policy. If there is no \"userIpRequestHeaders\" configuration or\n an IP address cannot be resolved from it, the key type defaults toIP. \n\n- TLS_JA4_FINGERPRINT: JA4 TLS/SSL fingerprint if the\nclient connects using HTTPS, HTTP/2 or HTTP/3. If not available, the\nkey type defaults to ALL. \nFor \"fairshare\" action, this value is limited to ALL i.e. a single rate\nlimit threshold is enforced for all the requests matching the rule.", +"enum": [ +"ALL", +"ALL_IPS", +"HTTP_COOKIE", +"HTTP_HEADER", +"HTTP_PATH", +"IP", +"REGION_CODE", +"SNI", +"TLS_JA3_FINGERPRINT", +"TLS_JA4_FINGERPRINT", +"USER_IP", +"XFF_IP" +], +"enumDeprecated": [ +false, +true, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"" +], +"type": "string" +}, +"enforceOnKeyConfigs": { +"description": "If specified, any combination of values of\nenforce_on_key_type/enforce_on_key_name is treated as the key on which\nratelimit threshold/action is enforced. You can specify up to 3\nenforce_on_key_configs. If enforce_on_key_configs is specified,\nenforce_on_key must not be specified.", +"items": { +"$ref": "SecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfig" +}, +"type": "array" +}, +"enforceOnKeyName": { +"description": "Rate limit key name applicable only for the following key types:\nHTTP_HEADER -- Name of the HTTP header whose value is taken as the key\nvalue.\nHTTP_COOKIE -- Name of the HTTP cookie whose value is taken as the key\nvalue.", +"type": "string" +}, +"exceedAction": { +"description": "Action to take for requests that are above the configured rate limit\nthreshold, to either deny with a specified HTTP response code, or\nredirect to a different endpoint.\nValid options are `deny(STATUS)`, where valid values for\n`STATUS` are 403, 404, 429, and 502, and\n`redirect`, where the redirect parameters come from\n`exceedRedirectOptions` below.\nThe `redirect` action is only supported in Global Security Policies of\ntype CLOUD_ARMOR.", +"type": "string" +}, +"exceedRedirectOptions": { +"$ref": "SecurityPolicyRuleRedirectOptions", +"description": "Parameters defining the redirect action that is used as the exceed\naction. Cannot be specified if the exceed action is not redirect.\nThis field is only supported in Global Security Policies of type\nCLOUD_ARMOR." +}, +"rateLimitThreshold": { +"$ref": "SecurityPolicyRuleRateLimitOptionsThreshold", +"description": "Threshold at which to begin ratelimiting." +} +}, +"type": "object" +}, +"SecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfig": { +"id": "SecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfig", +"properties": { +"enforceOnKeyName": { +"description": "Rate limit key name applicable only for the following key types:\nHTTP_HEADER -- Name of the HTTP header whose value is taken as the\nkey value. HTTP_COOKIE -- Name of the HTTP cookie whose value is\ntaken as the key value.", +"type": "string" +}, +"enforceOnKeyType": { +"description": "Determines the key to enforce the rate_limit_threshold on. Possible\nvalues are:\n \n - ALL: A single rate limit threshold is applied to all\n the requests matching this rule. This is the default value if\n \"enforceOnKeyConfigs\" is not configured.\n - IP: The source IP address of\n the request is the key. Each IP has this limit enforced\n separately.\n - HTTP_HEADER: The value of the HTTP\n header whose name is configured under \"enforceOnKeyName\". The key\n value is truncated to the first 128 bytes of the header value. If no\n such header is present in the request, the key type defaults toALL.\n - XFF_IP: The first IP address (i.e. the\n originating client IP address) specified in the list of IPs under\n X-Forwarded-For HTTP header. If no such header is present or the\n value is not a valid IP, the key defaults to the source IP address of\n the request i.e. key type IP.\n - HTTP_COOKIE: The value of the HTTP\n cookie whose name is configured under \"enforceOnKeyName\". The key\n value is truncated to the first 128 bytes of the cookie value. If no\n such cookie is present in the request, the key type defaults toALL.\n - HTTP_PATH: The URL path of the HTTP request. The key\n value is truncated to the first 128 bytes. \n - SNI: Server name indication in the TLS session of\n the HTTPS request. The key value is truncated to the first 128 bytes.\n The key type defaults to ALL on a HTTP session. \n - REGION_CODE: The country/region from which the\n request originates. \n - TLS_JA3_FINGERPRINT: JA3 TLS/SSL fingerprint if the\n client connects using HTTPS, HTTP/2 or HTTP/3. If not available, the\n key type defaults to ALL. \n - USER_IP: The IP address of the originating client,\n which is resolved based on \"userIpRequestHeaders\" configured with the\n security policy. If there is no \"userIpRequestHeaders\" configuration\n or an IP address cannot be resolved from it, the key type defaults toIP. \n\n- TLS_JA4_FINGERPRINT: JA4 TLS/SSL fingerprint if the\nclient connects using HTTPS, HTTP/2 or HTTP/3. If not available, the\nkey type defaults to ALL.", +"enum": [ +"ALL", +"ALL_IPS", +"HTTP_COOKIE", +"HTTP_HEADER", +"HTTP_PATH", +"IP", +"REGION_CODE", +"SNI", +"TLS_JA3_FINGERPRINT", +"TLS_JA4_FINGERPRINT", +"USER_IP", +"XFF_IP" +], +"enumDeprecated": [ +false, +true, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"" +], +"type": "string" +} +}, +"type": "object" +}, +"SecurityPolicyRuleRateLimitOptionsThreshold": { +"id": "SecurityPolicyRuleRateLimitOptionsThreshold", +"properties": { +"count": { +"description": "Number of HTTP(S) requests for calculating the threshold.", +"format": "int32", +"type": "integer" +}, +"intervalSec": { +"description": "Interval over which the threshold is computed.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"SecurityPolicyRuleRedirectOptions": { +"id": "SecurityPolicyRuleRedirectOptions", +"properties": { +"target": { +"description": "Target for the redirect action. This is required if the type is\nEXTERNAL_302 and cannot be specified for GOOGLE_RECAPTCHA.", +"type": "string" +}, +"type": { +"description": "Type of the redirect action. Possible values are:\n \n - GOOGLE_RECAPTCHA: redirect to reCAPTCHA for manual\n challenge assessment.\n - EXTERNAL_302: redirect to a different URL via a 302\n response.", +"enum": [ +"EXTERNAL_302", +"GOOGLE_RECAPTCHA" +], +"enumDescriptions": [ +"", +"" +], +"type": "string" +} +}, +"type": "object" +}, +"SecurityPolicyUserDefinedField": { +"id": "SecurityPolicyUserDefinedField", +"properties": { +"base": { +"description": "The base relative to which 'offset' is measured. Possible values are:\n \n - IPV4: Points to the beginning of the IPv4 header.\n - IPV6: Points to the beginning of the IPv6 header.\n - TCP: Points to the beginning of the TCP header, skipping\n over any IPv4 options or IPv6 extension headers. Not present for\n non-first fragments.\n - UDP: Points to the beginning of the UDP header, skipping\n over any IPv4 options or IPv6 extension headers. Not present for\n non-first fragments.\n\n\nrequired", +"enum": [ +"IPV4", +"IPV6", +"TCP", +"UDP" +], +"enumDescriptions": [ +"", +"", +"", +"" +], +"type": "string" +}, +"mask": { +"description": "If specified, apply this mask (bitwise AND) to the field to ignore bits\nbefore matching. Encoded as a hexadecimal number (starting with \"0x\").\nThe last byte of the field (in network byte order) corresponds to the\nleast significant byte of the mask.", +"type": "string" +}, +"name": { +"description": "The name of this field. Must be unique within the policy.", +"type": "string" +}, +"offset": { +"description": "Offset of the first byte of the field (in network byte order) relative to\n'base'.", +"format": "int32", +"type": "integer" +}, +"size": { +"description": "Size of the field in bytes. Valid values: 1-4.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"SecuritySettings": { +"description": "The authentication and authorization settings for a BackendService.", +"id": "SecuritySettings", +"properties": { +"authentication": { +"deprecated": true, +"description": "[Deprecated] Use clientTlsPolicy instead.", +"type": "string" +}, +"awsV4Authentication": { +"$ref": "AWSV4Signature", +"description": "The configuration needed to generate a signature for access to private\nstorage buckets that support AWS's Signature Version 4 for authentication.\nAllowed only for INTERNET_IP_PORT and INTERNET_FQDN_PORT NEG backends." +}, +"clientTlsPolicy": { +"description": "Optional. A URL referring to a networksecurity.ClientTlsPolicy resource\nthat describes how clients should authenticate with this service's\nbackends.\n\n clientTlsPolicy only applies to a globalBackendService with the loadBalancingScheme set\nto INTERNAL_SELF_MANAGED.\n\n If left blank, communications are not encrypted.", +"type": "string" +}, +"subjectAltNames": { +"description": "Optional. A list of Subject Alternative Names (SANs) that the client\nverifies during a mutual TLS handshake with an server/endpoint for thisBackendService. When the server presents its X.509 certificate\nto the client, the client inspects the certificate'ssubjectAltName field. If the field contains one of the\nspecified values, the communication continues. Otherwise, it fails. This\nadditional check enables the client to verify that the server is authorized\nto run the requested service.\n\n Note that the contents of the server\ncertificate's subjectAltName field are configured by the\nPublic Key Infrastructure which provisions server identities.\n\n Only applies to a global BackendService withloadBalancingScheme set to INTERNAL_SELF_MANAGED.\nOnly applies when BackendService has an attachedclientTlsPolicy with clientCertificate (mTLS\nmode).", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"SerialPortOutput": { +"description": "An instance serial console output.", +"id": "SerialPortOutput", +"properties": { +"contents": { +"description": "[Output Only] The contents of the console output.", +"type": "string" +}, +"kind": { +"default": "compute#serialPortOutput", +"description": "Output only. [Output Only] Type of the resource. Alwayscompute#serialPortOutput for serial port output.", +"readOnly": true, +"type": "string" +}, +"next": { +"description": "[Output Only] The position of the next byte of content, regardless of\nwhether the content exists, following the output returned in the `contents`\nproperty. Use this value in the next request as the start\nparameter.", +"format": "int64", +"type": "string" +}, +"selfLink": { +"description": "Output only. [Output Only] Server-defined URL for this resource.", +"readOnly": true, +"type": "string" +}, +"start": { +"description": "The starting byte position of the output that was returned.\nThis should match the start parameter sent with the request.\nIf the serial console output exceeds the size of the buffer (1 MB), older\noutput is overwritten by newer content. The output start value will\nindicate the byte position of the output that was returned, which might be\ndifferent than the `start` value that was specified in the request.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"ServerBinding": { +"id": "ServerBinding", +"properties": { +"type": { +"enum": [ +"RESTART_NODE_ON_ANY_SERVER", +"RESTART_NODE_ON_MINIMAL_SERVERS", +"SERVER_BINDING_TYPE_UNSPECIFIED" +], +"enumDescriptions": [ +"Node may associate with any physical server over its lifetime.", +"Node may associate with minimal physical servers over its lifetime.", +"" +], +"type": "string" +} +}, +"type": "object" +}, +"ServiceAccount": { +"description": "A service account.", +"id": "ServiceAccount", +"properties": { +"email": { +"description": "Email address of the service account.", +"type": "string" +}, +"scopes": { +"description": "The list of scopes to be made available for this service account.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ServiceAttachment": { +"description": "Represents a ServiceAttachment resource.\n\nA service attachment represents a service that a producer has exposed.\nIt encapsulates the load balancer which fronts the service runs and\na list of NAT IP ranges that the producers uses to represent\nthe consumers connecting to the service.", +"id": "ServiceAttachment", +"properties": { +"connectedEndpoints": { +"description": "Output only. [Output Only] An array of connections for all the consumers connected to\nthis service attachment.", +"items": { +"$ref": "ServiceAttachmentConnectedEndpoint" +}, +"readOnly": true, +"type": "array" +}, +"connectionPreference": { +"description": "The connection preference of service attachment. The value can be set\nto ACCEPT_AUTOMATIC. An ACCEPT_AUTOMATIC\nservice attachment is one that always accepts the connection from consumer\nforwarding rules.", +"enum": [ +"ACCEPT_AUTOMATIC", +"ACCEPT_MANUAL", +"CONNECTION_PREFERENCE_UNSPECIFIED" +], +"enumDescriptions": [ +"", +"", +"" +], +"type": "string" +}, +"consumerAcceptLists": { +"description": "Specifies which consumer projects or networks are allowed to connect to the\nservice attachment. Each project or network has a connection limit. A given\nservice attachment can manage connections at either the project or network\nlevel. Therefore, both the accept and reject lists for a given service\nattachment must contain either only projects or only networks or only\nendpoints.", +"items": { +"$ref": "ServiceAttachmentConsumerProjectLimit" +}, +"type": "array" +}, +"consumerRejectLists": { +"description": "Specifies a list of projects or networks that are not allowed to connect to\nthis service attachment. The project can be specified using its project ID\nor project number and the network can be specified using its URL. A given\nservice attachment can manage connections at either the project or network\nlevel. Therefore, both the reject and accept lists for a given service\nattachment must contain either only projects or only networks.", +"items": { +"type": "string" +}, +"type": "array" +}, +"creationTimestamp": { +"description": "Output only. [Output Only] Creation timestamp inRFC3339\ntext format.", +"readOnly": true, +"type": "string" +}, +"description": { +"description": "An optional description of this resource. Provide this property when you\ncreate the resource.", +"type": "string" +}, +"domainNames": { +"description": "If specified, the domain name will be used during the integration between\nthe PSC connected endpoints and the Cloud DNS. For example, this is a valid\ndomain name: \"p.mycompany.com.\". Current max number of domain names\nsupported is 1.", +"items": { +"type": "string" +}, +"type": "array" +}, +"enableProxyProtocol": { +"description": "If true, enable the proxy protocol which is for supplying client TCP/IP\naddress data in TCP connections that traverse proxies on their way to\ndestination servers.", +"type": "boolean" +}, +"fingerprint": { +"description": "Fingerprint of this resource. A hash of the contents stored in this object.\nThis field is used in optimistic locking. This field will be ignored when\ninserting a ServiceAttachment. An up-to-date fingerprint must\nbe provided in order to patch/update the ServiceAttachment; otherwise, the\nrequest will fail with error 412 conditionNotMet. To see the\nlatest fingerprint, make a get() request to retrieve the\nServiceAttachment.", +"format": "byte", +"type": "string" +}, +"id": { +"description": "Output only. [Output Only] The unique identifier for the resource type. The server\ngenerates this identifier.", +"format": "uint64", +"readOnly": true, +"type": "string" +}, +"kind": { +"default": "compute#serviceAttachment", +"description": "Output only. [Output Only] Type of the resource. Alwayscompute#serviceAttachment for service attachments.", +"readOnly": true, +"type": "string" +}, +"metadata": { +"additionalProperties": { +"type": "string" +}, +"description": "Metadata of the service attachment.", +"type": "object" +}, +"name": { +"annotations": { +"required": [ +"compute.serviceAttachments.insert" +] +}, +"description": "Name of the resource. Provided by the client when the resource is created.\nThe name must be 1-63 characters long, and comply withRFC1035.\nSpecifically, the name must be 1-63 characters long and match the regular\nexpression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first\ncharacter must be a lowercase letter, and all following characters must\nbe a dash, lowercase letter, or digit, except the last character, which\ncannot be a dash.", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"type": "string" +}, +"natSubnets": { +"description": "An array of URLs where each entry is the URL of a subnet provided\nby the service producer to use for NAT in this service attachment.", +"items": { +"type": "string" +}, +"type": "array" +}, +"producerForwardingRule": { +"deprecated": true, +"description": "The URL of a forwarding rule with loadBalancingScheme INTERNAL* that is\nserving the endpoint identified by this service attachment.", +"type": "string" +}, +"propagatedConnectionLimit": { +"description": "The number of consumer spokes that connected Private Service Connect\nendpoints can be propagated to through Network Connectivity Center. This\nlimit lets the service producer limit how many propagated Private Service\nConnect connections can be established to this service attachment from a\nsingle consumer.\n\nIf the connection preference of the service attachment is ACCEPT_MANUAL,\nthe limit applies to each project or network that is listed in the consumer\naccept list. If the connection preference of the service attachment is\nACCEPT_AUTOMATIC, the limit applies to each project that contains a\nconnected endpoint.\n\nIf unspecified, the default propagated connection limit is 250.", +"format": "uint32", +"type": "integer" +}, +"pscServiceAttachmentId": { +"$ref": "Uint128", +"description": "Output only. [Output Only] An 128-bit global unique ID of the PSC service attachment.", +"readOnly": true +}, +"reconcileConnections": { +"description": "This flag determines whether a consumer accept/reject list change can\nreconcile the statuses of existing ACCEPTED or REJECTED PSC endpoints.\n \n \n - If false, connection policy update will only affect existing PENDING\n PSC endpoints. Existing ACCEPTED/REJECTED endpoints will remain untouched\n regardless how the connection policy is modified . \n - If true,\n update will affect both PENDING and ACCEPTED/REJECTED PSC endpoints. For\n example, an ACCEPTED PSC endpoint will be moved to REJECTED if its project\n is added to the reject list.\n\n\nFor newly created service attachment, this boolean defaults to false.", +"type": "boolean" +}, +"region": { +"description": "Output only. [Output Only] URL of the region where the service attachment resides.\nThis field applies only to the region resource. You must specify this\nfield as part of the HTTP request URL. It is not settable as a field in\nthe request body.", +"readOnly": true, +"type": "string" +}, +"selfLink": { +"description": "Output only. [Output Only] Server-defined URL for the resource.", +"readOnly": true, +"type": "string" +}, +"targetService": { +"description": "The URL of a service serving the endpoint identified by this service\nattachment.", +"type": "string" +}, +"tunnelingConfig": { +"$ref": "ServiceAttachmentTunnelingConfig", +"description": "When a tunneling config is set on this service attachment it will\nencapsulate traffic between consumer and producer.\n\nWhen tunneling is enabled:\n \n \n - nat_subnets must be unset \n - enable_proxy_protocol must be false \n - producer_forwarding_rule must be a L4 ILB. \n -" +} +}, +"type": "object" +}, +"ServiceAttachmentAggregatedList": { +"description": "Contains a list of ServiceAttachmentsScopedList.", +"id": "ServiceAttachmentAggregatedList", +"properties": { +"id": { +"description": "[Output Only] Unique identifier for the resource; defined by the server.", +"type": "string" +}, +"items": { +"additionalProperties": { +"$ref": "ServiceAttachmentsScopedList", +"description": "Name of the scope containing this set of ServiceAttachments." +}, +"description": "A list of ServiceAttachmentsScopedList resources.", +"type": "object" +}, +"kind": { +"default": "compute#serviceAttachmentAggregatedList", +"description": "Output only. Type of resource.", +"readOnly": true, +"type": "string" +}, +"nextPageToken": { +"description": "[Output Only] This token allows you to get the next page of results for\nlist requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for\nthe query parameter pageToken in the next list request.\nSubsequent list requests will have their own nextPageToken to\ncontinue paging through the results.", +"type": "string" +}, +"selfLink": { +"description": "Output only. [Output Only] Server-defined URL for this resource.", +"readOnly": true, +"type": "string" +}, +"unreachables": { +"description": "Output only. [Output Only] Unreachable resources.", +"items": { +"type": "string" +}, +"readOnly": true, +"type": "array" +}, +"warning": { +"description": "[Output Only] Informational warning message.", +"properties": { +"code": { +"description": "[Output Only] A warning code, if applicable. For example, Compute\nEngine returns NO_RESULTS_ON_PAGE if there\nare no results in the response.", +"enum": [ +"CLEANUP_FAILED", +"DEPRECATED_RESOURCE_USED", +"DEPRECATED_TYPE_USED", +"DISK_SIZE_LARGER_THAN_IMAGE_SIZE", +"EXPERIMENTAL_TYPE_USED", +"EXTERNAL_API_WARNING", +"FIELD_VALUE_OVERRIDEN", +"INJECTED_KERNELS_DEPRECATED", +"INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", +"LARGE_DEPLOYMENT_WARNING", +"LIST_OVERHEAD_QUOTA_EXCEED", +"MISSING_TYPE_DEPENDENCY", +"NEXT_HOP_ADDRESS_NOT_ASSIGNED", +"NEXT_HOP_CANNOT_IP_FORWARD", +"NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", +"NEXT_HOP_INSTANCE_NOT_FOUND", +"NEXT_HOP_INSTANCE_NOT_ON_NETWORK", +"NEXT_HOP_NOT_RUNNING", +"NOT_CRITICAL_ERROR", +"NO_RESULTS_ON_PAGE", +"PARTIAL_SUCCESS", +"QUOTA_INFO_UNAVAILABLE", +"REQUIRED_TOS_AGREEMENT", +"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", +"RESOURCE_NOT_DELETED", +"SCHEMA_VALIDATION_IGNORED", +"SINGLE_INSTANCE_PROPERTY_TEMPLATE", +"UNDECLARED_PROPERTIES", +"UNREACHABLE" +], +"enumDeprecated": [ +false, +false, +false, +false, +false, +false, +true, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false +], +"enumDescriptions": [ +"Warning about failed cleanup of transient changes made by a failed\noperation.", +"A link to a deprecated resource was created.", +"When deploying and at least one of the resources has a type marked as\ndeprecated", +"The user created a boot disk that is larger than image size.", +"When deploying and at least one of the resources has a type marked as\nexperimental", +"Warning that is present in an external api call", +"Warning that value of a field has been overridden.\nDeprecated unused field.", +"The operation involved use of an injected kernel, which is deprecated.", +"A WEIGHTED_MAGLEV backend service is associated with a health check that is\nnot of type HTTP/HTTPS/HTTP2.", +"When deploying a deployment with a exceedingly large number of resources", +"Resource can't be retrieved due to list overhead quota exceed\nwhich captures the amount of resources filtered out by\nuser-defined list filter.", +"A resource depends on a missing type", +"The route's nextHopIp address is not assigned to an instance on the\nnetwork.", +"The route's next hop instance cannot ip forward.", +"The route's nextHopInstance URL refers to an instance that does not have an\nipv6 interface on the same network as the route.", +"The route's nextHopInstance URL refers to an instance that does not exist.", +"The route's nextHopInstance URL refers to an instance that is not on the\nsame network as the route.", +"The route's next hop instance does not have a status of RUNNING.", +"Error which is not critical. We decided to continue the process despite\nthe mentioned error.", +"No results are present on a particular list page.", +"Success is reported, but some results may be missing due to errors", +"Quota information is not available to client requests (e.g:\nregions.list).", +"The user attempted to use a resource that requires a TOS they have not\naccepted.", +"Warning that a resource is in use.", +"One or more of the resources set to auto-delete could not be deleted\nbecause they were in use.", +"When a resource schema validation is ignored.", +"Instance template used in instance group manager is valid as such, but\nits application does not make a lot of sense, because it allows only\nsingle instance in instance group.", +"When undeclared properties in the schema are present", +"A given scope cannot be reached." +], +"type": "string" +}, +"data": { +"description": "[Output Only] Metadata about this warning in key:\nvalue format. For example:\n\n\"data\": [\n {\n \"key\": \"scope\",\n \"value\": \"zones/us-east1-d\"\n }", +"items": { +"properties": { +"key": { +"description": "[Output Only] A key that provides more detail on the warning being\nreturned. For example, for warnings where there are no results in a list\nrequest for a particular zone, this key might be scope and\nthe key value might be the zone name. Other examples might be a key\nindicating a deprecated resource and a suggested replacement, or a\nwarning about invalid network settings (for example, if an instance\nattempts to perform IP forwarding but is not enabled for IP forwarding).", +"type": "string" +}, +"value": { +"description": "[Output Only] A warning data value corresponding to the key.", +"type": "string" +} +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "[Output Only] A human-readable description of the warning code.", +"type": "string" +} +}, +"type": "object" +} +}, +"type": "object" +}, +"ServiceAttachmentConnectedEndpoint": { +"description": "[Output Only] A connection connected to this service attachment.", +"id": "ServiceAttachmentConnectedEndpoint", +"properties": { +"consumerNetwork": { +"description": "The url of the consumer network.", +"type": "string" +}, +"endpoint": { +"description": "The url of a connected endpoint.", +"type": "string" +}, +"endpointWithId": { +"description": "The url of a connected endpoint with resource id.", +"type": "string" +}, +"natIps": { +"description": "NAT IPs of the connected PSC endpoint and those of other endpoints\npropagated from it.", +"items": { +"type": "string" +}, +"type": "array" +}, +"propagatedConnectionCount": { +"description": "The number of consumer Network Connectivity Center spokes that the\nconnected Private Service Connect endpoint has propagated to.", +"format": "uint32", +"type": "integer" +}, +"pscConnectionId": { +"description": "The PSC connection id of the connected endpoint.", +"format": "uint64", +"type": "string" +}, +"status": { +"description": "The status of a connected endpoint to this service attachment.", +"enum": [ +"ACCEPTED", +"CLOSED", +"NEEDS_ATTENTION", +"PENDING", +"REJECTED", +"STATUS_UNSPECIFIED" +], +"enumDescriptions": [ +"The connection has been accepted by the producer.", +"The connection has been closed by the producer.", +"The connection has been accepted by the producer, but the producer\nneeds to take further action before the forwarding rule can serve\ntraffic.", +"The connection is pending acceptance by the producer.", +"The consumer is still connected but not using the connection.", +"" +], +"type": "string" +} +}, +"type": "object" +}, +"ServiceAttachmentConsumerProjectLimit": { +"id": "ServiceAttachmentConsumerProjectLimit", +"properties": { +"connectionLimit": { +"description": "The value of the limit to set. For endpoint_url, the limit should be no\nmore than 1.", +"format": "uint32", +"type": "integer" +}, +"endpointUrl": { +"description": "The URL for the PSC endpoint to accept", +"type": "string" +}, +"networkUrl": { +"description": "The network URL for the network to set the limit for.", +"type": "string" +}, +"projectIdOrNum": { +"description": "The project id or number for the project to set the limit for.", +"type": "string" +} +}, +"type": "object" +}, +"ServiceAttachmentList": { +"id": "ServiceAttachmentList", +"properties": { +"id": { +"description": "[Output Only] Unique identifier for the resource; defined by the server.", +"type": "string" +}, +"items": { +"description": "A list of ServiceAttachment resources.", +"items": { +"$ref": "ServiceAttachment" +}, +"type": "array" +}, +"kind": { +"default": "compute#serviceAttachmentList", +"description": "Output only. [Output Only] Type of the resource. Alwayscompute#serviceAttachment for service attachments.", +"readOnly": true, +"type": "string" +}, +"nextPageToken": { +"description": "[Output Only] This token allows you to get the next page of results for\nlist requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for\nthe query parameter pageToken in the next list request.\nSubsequent list requests will have their own nextPageToken to\ncontinue paging through the results.", +"type": "string" +}, +"selfLink": { +"description": "[Output Only] Server-defined URL for this resource.", +"type": "string" +}, +"warning": { +"description": "[Output Only] Informational warning message.", +"properties": { +"code": { +"description": "[Output Only] A warning code, if applicable. For example, Compute\nEngine returns NO_RESULTS_ON_PAGE if there\nare no results in the response.", +"enum": [ +"CLEANUP_FAILED", +"DEPRECATED_RESOURCE_USED", +"DEPRECATED_TYPE_USED", +"DISK_SIZE_LARGER_THAN_IMAGE_SIZE", +"EXPERIMENTAL_TYPE_USED", +"EXTERNAL_API_WARNING", +"FIELD_VALUE_OVERRIDEN", +"INJECTED_KERNELS_DEPRECATED", +"INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", +"LARGE_DEPLOYMENT_WARNING", +"LIST_OVERHEAD_QUOTA_EXCEED", +"MISSING_TYPE_DEPENDENCY", +"NEXT_HOP_ADDRESS_NOT_ASSIGNED", +"NEXT_HOP_CANNOT_IP_FORWARD", +"NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", +"NEXT_HOP_INSTANCE_NOT_FOUND", +"NEXT_HOP_INSTANCE_NOT_ON_NETWORK", +"NEXT_HOP_NOT_RUNNING", +"NOT_CRITICAL_ERROR", +"NO_RESULTS_ON_PAGE", +"PARTIAL_SUCCESS", +"QUOTA_INFO_UNAVAILABLE", +"REQUIRED_TOS_AGREEMENT", +"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", +"RESOURCE_NOT_DELETED", +"SCHEMA_VALIDATION_IGNORED", +"SINGLE_INSTANCE_PROPERTY_TEMPLATE", +"UNDECLARED_PROPERTIES", +"UNREACHABLE" +], +"enumDeprecated": [ +false, +false, +false, +false, +false, +false, +true, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false +], +"enumDescriptions": [ +"Warning about failed cleanup of transient changes made by a failed\noperation.", +"A link to a deprecated resource was created.", +"When deploying and at least one of the resources has a type marked as\ndeprecated", +"The user created a boot disk that is larger than image size.", +"When deploying and at least one of the resources has a type marked as\nexperimental", +"Warning that is present in an external api call", +"Warning that value of a field has been overridden.\nDeprecated unused field.", +"The operation involved use of an injected kernel, which is deprecated.", +"A WEIGHTED_MAGLEV backend service is associated with a health check that is\nnot of type HTTP/HTTPS/HTTP2.", +"When deploying a deployment with a exceedingly large number of resources", +"Resource can't be retrieved due to list overhead quota exceed\nwhich captures the amount of resources filtered out by\nuser-defined list filter.", +"A resource depends on a missing type", +"The route's nextHopIp address is not assigned to an instance on the\nnetwork.", +"The route's next hop instance cannot ip forward.", +"The route's nextHopInstance URL refers to an instance that does not have an\nipv6 interface on the same network as the route.", +"The route's nextHopInstance URL refers to an instance that does not exist.", +"The route's nextHopInstance URL refers to an instance that is not on the\nsame network as the route.", +"The route's next hop instance does not have a status of RUNNING.", +"Error which is not critical. We decided to continue the process despite\nthe mentioned error.", +"No results are present on a particular list page.", +"Success is reported, but some results may be missing due to errors", +"Quota information is not available to client requests (e.g:\nregions.list).", +"The user attempted to use a resource that requires a TOS they have not\naccepted.", +"Warning that a resource is in use.", +"One or more of the resources set to auto-delete could not be deleted\nbecause they were in use.", +"When a resource schema validation is ignored.", +"Instance template used in instance group manager is valid as such, but\nits application does not make a lot of sense, because it allows only\nsingle instance in instance group.", +"When undeclared properties in the schema are present", +"A given scope cannot be reached." +], +"type": "string" +}, +"data": { +"description": "[Output Only] Metadata about this warning in key:\nvalue format. For example:\n\n\"data\": [\n {\n \"key\": \"scope\",\n \"value\": \"zones/us-east1-d\"\n }", +"items": { +"properties": { +"key": { +"description": "[Output Only] A key that provides more detail on the warning being\nreturned. For example, for warnings where there are no results in a list\nrequest for a particular zone, this key might be scope and\nthe key value might be the zone name. Other examples might be a key\nindicating a deprecated resource and a suggested replacement, or a\nwarning about invalid network settings (for example, if an instance\nattempts to perform IP forwarding but is not enabled for IP forwarding).", +"type": "string" +}, +"value": { +"description": "[Output Only] A warning data value corresponding to the key.", +"type": "string" +} +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "[Output Only] A human-readable description of the warning code.", +"type": "string" +} +}, +"type": "object" +} +}, +"type": "object" +}, +"ServiceAttachmentTunnelingConfig": { +"description": "Use to configure this PSC connection in tunneling mode. In tunneling mode\ntraffic from consumer to producer will be encapsulated as it crosses the\nVPC boundary and traffic from producer to consumer will be decapsulated in\nthe same manner.", +"id": "ServiceAttachmentTunnelingConfig", +"properties": { +"encapsulationProfile": { +"description": "Specify the encapsulation protocol and what metadata to include in\nincoming encapsulated packet headers.", +"enum": [ +"GENEVE_SECURITY_V1", +"UNSPECIFIED_ENCAPSULATION_PROFILE" +], +"enumDescriptions": [ +"Use GENEVE encapsulation protocol and include the SECURITY_V1 set of\nGENEVE headers.", +"" +], +"type": "string" +}, +"routingMode": { +"description": "How this Service Attachment will treat traffic sent to the tunnel_ip,\ndestined for the consumer network.", +"enum": [ +"PACKET_INJECTION", +"STANDARD_ROUTING", +"UNSPECIFIED_ROUTING_MODE" +], +"enumDescriptions": [ +"Traffic sent to this service attachment will be reinjected into the\nconsumer network.", +"Response traffic, after de-encapsulation, will be returned to the\nclient.", +"" +], +"type": "string" +} +}, +"type": "object" +}, +"ServiceAttachmentsScopedList": { +"id": "ServiceAttachmentsScopedList", +"properties": { +"serviceAttachments": { +"description": "A list of ServiceAttachments contained in this scope.", +"items": { +"$ref": "ServiceAttachment" +}, +"type": "array" +}, +"warning": { +"description": "Informational warning which replaces the list of\nservice attachments when the list is empty.", +"properties": { +"code": { +"description": "[Output Only] A warning code, if applicable. For example, Compute\nEngine returns NO_RESULTS_ON_PAGE if there\nare no results in the response.", +"enum": [ +"CLEANUP_FAILED", +"DEPRECATED_RESOURCE_USED", +"DEPRECATED_TYPE_USED", +"DISK_SIZE_LARGER_THAN_IMAGE_SIZE", +"EXPERIMENTAL_TYPE_USED", +"EXTERNAL_API_WARNING", +"FIELD_VALUE_OVERRIDEN", +"INJECTED_KERNELS_DEPRECATED", +"INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", +"LARGE_DEPLOYMENT_WARNING", +"LIST_OVERHEAD_QUOTA_EXCEED", +"MISSING_TYPE_DEPENDENCY", +"NEXT_HOP_ADDRESS_NOT_ASSIGNED", +"NEXT_HOP_CANNOT_IP_FORWARD", +"NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", +"NEXT_HOP_INSTANCE_NOT_FOUND", +"NEXT_HOP_INSTANCE_NOT_ON_NETWORK", +"NEXT_HOP_NOT_RUNNING", +"NOT_CRITICAL_ERROR", +"NO_RESULTS_ON_PAGE", +"PARTIAL_SUCCESS", +"QUOTA_INFO_UNAVAILABLE", +"REQUIRED_TOS_AGREEMENT", +"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", +"RESOURCE_NOT_DELETED", +"SCHEMA_VALIDATION_IGNORED", +"SINGLE_INSTANCE_PROPERTY_TEMPLATE", +"UNDECLARED_PROPERTIES", +"UNREACHABLE" +], +"enumDeprecated": [ +false, +false, +false, +false, +false, +false, +true, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false +], +"enumDescriptions": [ +"Warning about failed cleanup of transient changes made by a failed\noperation.", +"A link to a deprecated resource was created.", +"When deploying and at least one of the resources has a type marked as\ndeprecated", +"The user created a boot disk that is larger than image size.", +"When deploying and at least one of the resources has a type marked as\nexperimental", +"Warning that is present in an external api call", +"Warning that value of a field has been overridden.\nDeprecated unused field.", +"The operation involved use of an injected kernel, which is deprecated.", +"A WEIGHTED_MAGLEV backend service is associated with a health check that is\nnot of type HTTP/HTTPS/HTTP2.", +"When deploying a deployment with a exceedingly large number of resources", +"Resource can't be retrieved due to list overhead quota exceed\nwhich captures the amount of resources filtered out by\nuser-defined list filter.", +"A resource depends on a missing type", +"The route's nextHopIp address is not assigned to an instance on the\nnetwork.", +"The route's next hop instance cannot ip forward.", +"The route's nextHopInstance URL refers to an instance that does not have an\nipv6 interface on the same network as the route.", +"The route's nextHopInstance URL refers to an instance that does not exist.", +"The route's nextHopInstance URL refers to an instance that is not on the\nsame network as the route.", +"The route's next hop instance does not have a status of RUNNING.", +"Error which is not critical. We decided to continue the process despite\nthe mentioned error.", +"No results are present on a particular list page.", +"Success is reported, but some results may be missing due to errors", +"Quota information is not available to client requests (e.g:\nregions.list).", +"The user attempted to use a resource that requires a TOS they have not\naccepted.", +"Warning that a resource is in use.", +"One or more of the resources set to auto-delete could not be deleted\nbecause they were in use.", +"When a resource schema validation is ignored.", +"Instance template used in instance group manager is valid as such, but\nits application does not make a lot of sense, because it allows only\nsingle instance in instance group.", +"When undeclared properties in the schema are present", +"A given scope cannot be reached." +], +"type": "string" +}, +"data": { +"description": "[Output Only] Metadata about this warning in key:\nvalue format. For example:\n\n\"data\": [\n {\n \"key\": \"scope\",\n \"value\": \"zones/us-east1-d\"\n }", +"items": { +"properties": { +"key": { +"description": "[Output Only] A key that provides more detail on the warning being\nreturned. For example, for warnings where there are no results in a list\nrequest for a particular zone, this key might be scope and\nthe key value might be the zone name. Other examples might be a key\nindicating a deprecated resource and a suggested replacement, or a\nwarning about invalid network settings (for example, if an instance\nattempts to perform IP forwarding but is not enabled for IP forwarding).", +"type": "string" +}, +"value": { +"description": "[Output Only] A warning data value corresponding to the key.", +"type": "string" +} +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "[Output Only] A human-readable description of the warning code.", +"type": "string" +} +}, +"type": "object" +} +}, +"type": "object" +}, +"SetCommonInstanceMetadataOperationMetadata": { +"id": "SetCommonInstanceMetadataOperationMetadata", +"properties": { +"clientOperationId": { +"description": "[Output Only] The client operation id.", +"type": "string" +}, +"perLocationOperations": { +"additionalProperties": { +"$ref": "SetCommonInstanceMetadataOperationMetadataPerLocationOperationInfo" +}, +"description": "[Output Only] Status information per location (location name is key).\nExample key: zones/us-central1-a", +"type": "object" +} +}, +"type": "object" +}, +"SetCommonInstanceMetadataOperationMetadataPerLocationOperationInfo": { +"id": "SetCommonInstanceMetadataOperationMetadataPerLocationOperationInfo", +"properties": { +"error": { +"$ref": "Status", +"description": "[Output Only] If state is `ABANDONED` or `FAILED`, this field is\npopulated." +}, +"state": { +"description": "[Output Only] Status of the action, which can be one of the following:\n`PROPAGATING`, `PROPAGATED`, `ABANDONED`, `FAILED`, or `DONE`.", +"enum": [ +"ABANDONED", +"DONE", +"FAILED", +"PROPAGATED", +"PROPAGATING", +"UNSPECIFIED" +], +"enumDescriptions": [ +"Operation not tracked in this location e.g. zone is marked as DOWN.", +"Operation has completed successfully.", +"Operation is in an error state.", +"Operation is confirmed to be in the location.", +"Operation is not yet confirmed to have been created in the location.", +"" +], +"type": "string" +} +}, +"type": "object" +}, +"ShareSettings": { +"description": "The share setting for reservations and sole tenancy node groups.", +"id": "ShareSettings", +"properties": { +"projectMap": { +"additionalProperties": { +"$ref": "ShareSettingsProjectConfig" +}, +"description": "A map of project id and project config. This is only valid when\nshare_type's value is SPECIFIC_PROJECTS.", +"type": "object" +}, +"projects": { +"description": "A List of Project names to specify consumer projects for this\nshared-reservation. This is only valid when share_type's value is\nSPECIFIC_PROJECTS.", +"items": { +"type": "string" +}, +"type": "array" +}, +"shareType": { +"description": "Type of sharing for this shared-reservation", +"enum": [ +"LOCAL", +"ORGANIZATION", +"SHARE_TYPE_UNSPECIFIED", +"SPECIFIC_PROJECTS" +], +"enumDescriptions": [ +"Default value.", +"Shared-reservation is open to entire Organization", +"Default value. This value is unused.", +"Shared-reservation is open to specific projects" +], +"type": "string" +} +}, +"type": "object" +}, +"ShareSettingsProjectConfig": { +"description": "Config for each project in the share settings.", +"id": "ShareSettingsProjectConfig", +"properties": { +"projectId": { +"description": "The project ID, should be same as the key of this project config in the\nparent map.", +"type": "string" +} +}, +"type": "object" +}, +"ShieldedInstanceConfig": { +"description": "A set of Shielded Instance options.", +"id": "ShieldedInstanceConfig", +"properties": { +"enableIntegrityMonitoring": { +"description": "Defines whether the instance has integrity monitoring enabled.Enabled by\ndefault.", +"type": "boolean" +}, +"enableSecureBoot": { +"description": "Defines whether the instance has Secure Boot enabled.Disabled by\ndefault.", +"type": "boolean" +}, +"enableVtpm": { +"description": "Defines whether the instance has the vTPM enabled.Enabled by\ndefault.", +"type": "boolean" +} +}, +"type": "object" +}, +"ShieldedInstanceIdentity": { +"description": "A Shielded Instance Identity.", +"id": "ShieldedInstanceIdentity", +"properties": { +"eccP256EncryptionKey": { +"$ref": "ShieldedInstanceIdentityEntry", +"description": "An Endorsement Key (EK) made by the ECC P256 algorithm\nissued to the Shielded Instance's vTPM." +}, +"eccP256SigningKey": { +"$ref": "ShieldedInstanceIdentityEntry", +"description": "An Attestation Key (AK) made by the ECC P256 algorithm\nissued to the Shielded Instance's vTPM." +}, +"encryptionKey": { +"$ref": "ShieldedInstanceIdentityEntry", +"description": "An Endorsement Key (EK) made by the RSA 2048 algorithm\nissued to the Shielded Instance's vTPM." +}, +"kind": { +"default": "compute#shieldedInstanceIdentity", +"description": "Output only. [Output Only] Type of the resource. Alwayscompute#shieldedInstanceIdentity for shielded Instance\nidentity entry.", +"readOnly": true, +"type": "string" +}, +"signingKey": { +"$ref": "ShieldedInstanceIdentityEntry", +"description": "An Attestation Key (AK) made by the RSA 2048 algorithm\nissued to the Shielded Instance's vTPM." +} +}, +"type": "object" +}, +"ShieldedInstanceIdentityEntry": { +"description": "A Shielded Instance Identity Entry.", +"id": "ShieldedInstanceIdentityEntry", +"properties": { +"ekCert": { +"description": "A PEM-encoded X.509 certificate. This field can be empty.", +"type": "string" +}, +"ekPub": { +"description": "A PEM-encoded public key.", +"type": "string" +} +}, +"type": "object" +}, +"ShieldedInstanceIntegrityPolicy": { +"description": "The policy describes the baseline against which\nInstance boot integrity is measured.", +"id": "ShieldedInstanceIntegrityPolicy", +"properties": { +"updateAutoLearnPolicy": { +"description": "Updates the integrity policy baseline using the\nmeasurements from the VM instance's most recent boot.", +"type": "boolean" +} +}, +"type": "object" +}, +"ShieldedVmConfig": { +"description": "A set of Shielded VM options.", +"id": "ShieldedVmConfig", +"properties": { +"enableIntegrityMonitoring": { +"description": "Defines whether the instance has integrity monitoring enabled.", +"type": "boolean" +}, +"enableSecureBoot": { +"description": "Defines whether the instance has Secure Boot enabled.", +"type": "boolean" +}, +"enableVtpm": { +"description": "Defines whether the instance has the vTPM enabled.", +"type": "boolean" +} +}, +"type": "object" +}, +"ShieldedVmIdentity": { +"description": "A Shielded VM Identity.", +"id": "ShieldedVmIdentity", +"properties": { +"encryptionKey": { +"$ref": "ShieldedVmIdentityEntry", +"description": "An Endorsement Key (EK) issued to the Shielded VM's vTPM." +}, +"kind": { +"default": "compute#shieldedVmIdentity", +"description": "Output only. [Output Only] Type of the resource. Alwayscompute#shieldedVmIdentity for shielded VM identity entry.", +"readOnly": true, +"type": "string" +}, +"signingKey": { +"$ref": "ShieldedVmIdentityEntry", +"description": "An Attestation Key (AK) issued to the Shielded VM's vTPM." +} +}, +"type": "object" +}, +"ShieldedVmIdentityEntry": { +"description": "A Shielded Instance Identity Entry.", +"id": "ShieldedVmIdentityEntry", +"properties": { +"ekCert": { +"description": "A PEM-encoded X.509 certificate. This field can be empty.", +"type": "string" +}, +"ekPub": { +"description": "A PEM-encoded public key.", +"type": "string" +} +}, +"type": "object" +}, +"ShieldedVmIntegrityPolicy": { +"description": "The policy describes the baseline against which\nVM instance boot integrity is measured.", +"id": "ShieldedVmIntegrityPolicy", +"properties": { +"updateAutoLearnPolicy": { +"description": "Updates the integrity policy baseline using the\nmeasurements from the VM instance's most recent boot.", +"type": "boolean" +} +}, +"type": "object" +}, +"SignedUrlKey": { +"description": "Represents a customer-supplied Signing Key used by Cloud CDN Signed URLs", +"id": "SignedUrlKey", +"properties": { +"keyName": { +"description": "Name of the key. The name must be 1-63 characters long, and comply withRFC1035.\nSpecifically, the name must be 1-63 characters long and match the regular\nexpression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first\ncharacter must be a lowercase letter, and all following characters must\nbe a dash, lowercase letter, or digit, except the last character, which\ncannot be a dash.", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"type": "string" +}, +"keyValue": { +"description": "128-bit key value used for signing the URL. The key value must be a validRFC\n4648 Section 5 base64url encoded string.", +"type": "string" +} +}, +"type": "object" +}, +"Snapshot": { +"description": "Represents a Persistent Disk Snapshot resource.\n\nYou can use snapshots to back up data on a regular interval. For more\ninformation, read Creating\npersistent disk snapshots.", +"id": "Snapshot", +"properties": { +"architecture": { +"description": "Output only. [Output Only] The architecture of the snapshot. Valid values are\nARM64 or X86_64.", +"enum": [ +"ARCHITECTURE_UNSPECIFIED", +"ARM64", +"X86_64" +], +"enumDescriptions": [ +"Default value indicating Architecture is not set.", +"Machines with architecture ARM64", +"Machines with architecture X86_64" +], +"readOnly": true, +"type": "string" +}, +"autoCreated": { +"description": "Output only. [Output Only] Set to true if snapshots are automatically created by\napplying resource policy on the target disk.", +"readOnly": true, +"type": "boolean" +}, +"chainName": { +"description": "Creates the new snapshot in the snapshot chain labeled with the\nspecified name. The chain name must be 1-63 characters long and comply\nwith RFC1035. This is an uncommon option only for advanced service\nowners who needs to create separate snapshot chains, for example,\nfor chargeback tracking. When you describe your snapshot resource, this\nfield is visible only if it has a non-empty value.", +"type": "string" +}, +"creationSizeBytes": { +"description": "Output only. [Output Only] Size in bytes of the snapshot at creation time.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"creationTimestamp": { +"description": "Output only. [Output Only] Creation timestamp inRFC3339\ntext format.", +"readOnly": true, +"type": "string" +}, +"description": { +"description": "An optional description of this resource. Provide this property when you\ncreate the resource.", +"type": "string" +}, +"diskSizeGb": { +"description": "Output only. [Output Only] Size of the source disk, specified in GB.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"downloadBytes": { +"description": "Output only. [Output Only] Number of bytes downloaded to restore a snapshot to a disk.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"enableConfidentialCompute": { +"description": "Output only. Whether this snapshot is created from a confidential compute mode disk.\n[Output Only]: This field is not set by user, but from source disk.", +"readOnly": true, +"type": "boolean" +}, +"guestFlush": { +"description": "[Input Only] Whether to attempt an application consistent snapshot by\ninforming the OS to prepare for the snapshot process.", +"type": "boolean" +}, +"guestOsFeatures": { +"description": "Output only. [Output Only] A list of features to enable on the guest operating system.\nApplicable only for bootable images. Read \nEnabling guest operating system features to see a list of available\noptions.", +"items": { +"$ref": "GuestOsFeature" +}, +"readOnly": true, +"type": "array" +}, +"id": { +"description": "Output only. [Output Only] The unique identifier for the resource. This identifier is\ndefined by the server.", +"format": "uint64", +"readOnly": true, +"type": "string" +}, +"kind": { +"default": "compute#snapshot", +"description": "Output only. [Output Only] Type of the resource. Always compute#snapshot\nfor Snapshot resources.", +"readOnly": true, +"type": "string" +}, +"labelFingerprint": { +"description": "A fingerprint for the labels being applied to this snapshot, which is\nessentially a hash of the labels set used for optimistic locking. The\nfingerprint is initially generated by Compute Engine and changes after\nevery request to modify or update labels. You must always provide an\nup-to-date fingerprint hash in order to update or change labels,\notherwise the request will fail with error412 conditionNotMet.\n\nTo see the latest fingerprint, make a get() request to\nretrieve a snapshot.", +"format": "byte", +"type": "string" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Labels to apply to this snapshot. These can be later modified by\nthe setLabels method.\nLabel values may be empty.", +"type": "object" +}, +"licenseCodes": { +"description": "Output only. [Output Only] Integer license codes indicating which licenses are attached\nto this snapshot.", +"items": { +"format": "int64", +"type": "string" +}, +"readOnly": true, +"type": "array" +}, +"licenses": { +"description": "Output only. [Output Only] A list of public visible licenses that apply to this\nsnapshot. This can be because the original image had licenses attached\n(such as a Windows image).", +"items": { +"type": "string" +}, +"readOnly": true, +"type": "array" +}, +"locationHint": { +"description": "An opaque location hint used to place the snapshot close to other\nresources.\nThis field is for use by internal tools that use the public API.", +"type": "string" +}, +"name": { +"annotations": { +"required": [ +"compute.disks.createSnapshot", +"compute.snapshots.insert" +] +}, +"description": "Name of the resource; provided by the client when the resource is created.\nThe name must be 1-63 characters long, and comply withRFC1035.\nSpecifically, the name must be 1-63 characters long and match the regular\nexpression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first\ncharacter must be a lowercase letter, and all following characters must be\na dash, lowercase letter, or digit, except the last character, which cannot\nbe a dash.", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"type": "string" +}, +"params": { +"$ref": "SnapshotParams", +"description": "Input only. [Input Only] Additional params passed with the request, but not persisted\nas part of resource payload." +}, +"region": { +"description": "Output only. [Output Only] URL of the region where the snapshot resides. Only applicable\nfor regional snapshots.", +"readOnly": true, +"type": "string" +}, +"satisfiesPzi": { +"description": "Output only. Reserved for future use.", +"readOnly": true, +"type": "boolean" +}, +"satisfiesPzs": { +"description": "Output only. [Output Only] Reserved for future use.", +"readOnly": true, +"type": "boolean" +}, +"selfLink": { +"description": "Output only. [Output Only] Server-defined URL for the resource.", +"readOnly": true, +"type": "string" +}, +"snapshotEncryptionKey": { +"$ref": "CustomerEncryptionKey", +"description": "Encrypts the snapshot using acustomer-supplied\nencryption key.\n\nAfter you encrypt a snapshot using a customer-supplied key, you must\nprovide the same key if you use the snapshot later. For example, you must\nprovide the encryption key when you create a disk from the encrypted\nsnapshot in a future request.\n\nCustomer-supplied encryption keys do not protect access to metadata\nof the snapshot.\n\nIf you do not provide an encryption key when creating the snapshot, then\nthe snapshot will be encrypted using an automatically generated key and you\ndo not need to provide a key to use the snapshot later." +}, +"snapshotGroupId": { +"description": "Output only. [Output Only] The unique ID of the snapshot group that this snapshot\nbelongs to.", +"readOnly": true, +"type": "string" +}, +"snapshotGroupName": { +"description": "Output only. [Output only] The snapshot group that this snapshot belongs to.", +"readOnly": true, +"type": "string" +}, +"snapshotType": { +"description": "Indicates the type of the snapshot.", +"enum": [ +"ARCHIVE", +"STANDARD" +], +"enumDescriptions": [ +"", +"" +], +"type": "string" +}, +"sourceDisk": { +"description": "The source disk used to create this snapshot.", +"type": "string" +}, +"sourceDiskEncryptionKey": { +"$ref": "CustomerEncryptionKey", +"description": "The customer-supplied\nencryption key of the source disk. Required if the source disk is\nprotected by a customer-supplied encryption key." +}, +"sourceDiskForRecoveryCheckpoint": { +"description": "The source disk whose recovery checkpoint will be used to create this\nsnapshot.", +"type": "string" +}, +"sourceDiskId": { +"description": "Output only. [Output Only] The ID value of the disk used to create this snapshot. This\nvalue may be used to determine whether the snapshot was taken from the\ncurrent or a previous instance of a given disk name.", +"readOnly": true, +"type": "string" +}, +"sourceInstantSnapshot": { +"description": "The source instant snapshot used to create this snapshot. You can provide\nthis as a partial or full URL to the resource. For example, the following\nare valid values:\n \n \n - https://www.googleapis.com/compute/v1/projects/project/zones/zone/instantSnapshots/instantSnapshot\n - projects/project/zones/zone/instantSnapshots/instantSnapshot \n - zones/zone/instantSnapshots/instantSnapshot", +"type": "string" +}, +"sourceInstantSnapshotEncryptionKey": { +"$ref": "CustomerEncryptionKey", +"description": "Customer provided encryption key when creating Snapshot from Instant\nSnapshot." +}, +"sourceInstantSnapshotId": { +"description": "Output only. [Output Only] The unique ID of the instant snapshot used to create this\nsnapshot. This value identifies the exact instant snapshot that was used to\ncreate this snapshot. For example, if you created the snapshot from an\ninstant snapshot that was later deleted and recreated under the same name,\nthe source instant snapshot ID would identify the exact instant snapshot\nthat was used.", +"readOnly": true, +"type": "string" +}, +"sourceSnapshotSchedulePolicy": { +"description": "Output only. [Output Only] URL of the resource policy which created this\nscheduled snapshot.", +"readOnly": true, +"type": "string" +}, +"sourceSnapshotSchedulePolicyId": { +"description": "Output only. [Output Only] ID of the resource policy which created this\nscheduled snapshot.", +"readOnly": true, +"type": "string" +}, +"status": { +"description": "Output only. [Output Only] The status of the snapshot. This can beCREATING, DELETING, FAILED,READY, or UPLOADING.", +"enum": [ +"CREATING", +"DELETING", +"FAILED", +"READY", +"UPLOADING" +], +"enumDescriptions": [ +"Snapshot creation is in progress.", +"Snapshot is currently being deleted.", +"Snapshot creation failed.", +"Snapshot has been created successfully.", +"Snapshot is being uploaded." +], +"readOnly": true, +"type": "string" +}, +"storageBytes": { +"description": "Output only. [Output Only] A size of the storage used by the snapshot. As snapshots\nshare storage, this number is expected to change with snapshot\ncreation/deletion.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"storageBytesStatus": { +"description": "Output only. [Output Only] An indicator whether storageBytes is in a\nstable state or it is being adjusted as a result of shared storage\nreallocation. This status can either be UPDATING, meaning\nthe size of the snapshot is being updated, or UP_TO_DATE,\nmeaning the size of the snapshot is up-to-date.", +"enum": [ +"UPDATING", +"UP_TO_DATE" +], +"enumDescriptions": [ +"", +"" +], +"readOnly": true, +"type": "string" +}, +"storageLocations": { +"description": "Cloud Storage bucket storage location of the snapshot (regional or\nmulti-regional).", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"SnapshotAggregatedList": { +"id": "SnapshotAggregatedList", +"properties": { +"etag": { +"type": "string" +}, +"id": { +"description": "[Output Only] Unique identifier for the resource; defined by the server.", +"type": "string" +}, +"items": { +"additionalProperties": { +"$ref": "SnapshotsScopedList", +"description": "[Output Only] Name of the scope containing this set of snapshots." +}, +"description": "A list of SnapshotsScopedList resources.", +"type": "object" +}, +"kind": { +"default": "compute#snapshotAggregatedList", +"description": "Output only. [Output Only] Type of resource. Alwayscompute#snapshotAggregatedList for aggregated lists of\nsnapshots.", +"readOnly": true, +"type": "string" +}, +"nextPageToken": { +"description": "[Output Only] This token allows you to get the next page of results for\nlist requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for\nthe query parameter pageToken in the next list request.\nSubsequent list requests will have their own nextPageToken to\ncontinue paging through the results.", +"type": "string" +}, +"selfLink": { +"description": "Output only. [Output Only] Server-defined URL for this resource.", +"readOnly": true, +"type": "string" +}, +"unreachables": { +"description": "Output only. [Output Only] Unreachable resources.", +"items": { +"type": "string" +}, +"readOnly": true, +"type": "array" +}, +"warning": { +"description": "[Output Only] Informational warning message.", +"properties": { +"code": { +"description": "[Output Only] A warning code, if applicable. For example, Compute\nEngine returns NO_RESULTS_ON_PAGE if there\nare no results in the response.", +"enum": [ +"CLEANUP_FAILED", +"DEPRECATED_RESOURCE_USED", +"DEPRECATED_TYPE_USED", +"DISK_SIZE_LARGER_THAN_IMAGE_SIZE", +"EXPERIMENTAL_TYPE_USED", +"EXTERNAL_API_WARNING", +"FIELD_VALUE_OVERRIDEN", +"INJECTED_KERNELS_DEPRECATED", +"INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", +"LARGE_DEPLOYMENT_WARNING", +"LIST_OVERHEAD_QUOTA_EXCEED", +"MISSING_TYPE_DEPENDENCY", +"NEXT_HOP_ADDRESS_NOT_ASSIGNED", +"NEXT_HOP_CANNOT_IP_FORWARD", +"NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", +"NEXT_HOP_INSTANCE_NOT_FOUND", +"NEXT_HOP_INSTANCE_NOT_ON_NETWORK", +"NEXT_HOP_NOT_RUNNING", +"NOT_CRITICAL_ERROR", +"NO_RESULTS_ON_PAGE", +"PARTIAL_SUCCESS", +"QUOTA_INFO_UNAVAILABLE", +"REQUIRED_TOS_AGREEMENT", +"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", +"RESOURCE_NOT_DELETED", +"SCHEMA_VALIDATION_IGNORED", +"SINGLE_INSTANCE_PROPERTY_TEMPLATE", +"UNDECLARED_PROPERTIES", +"UNREACHABLE" +], +"enumDeprecated": [ +false, +false, +false, +false, +false, +false, +true, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false +], +"enumDescriptions": [ +"Warning about failed cleanup of transient changes made by a failed\noperation.", +"A link to a deprecated resource was created.", +"When deploying and at least one of the resources has a type marked as\ndeprecated", +"The user created a boot disk that is larger than image size.", +"When deploying and at least one of the resources has a type marked as\nexperimental", +"Warning that is present in an external api call", +"Warning that value of a field has been overridden.\nDeprecated unused field.", +"The operation involved use of an injected kernel, which is deprecated.", +"A WEIGHTED_MAGLEV backend service is associated with a health check that is\nnot of type HTTP/HTTPS/HTTP2.", +"When deploying a deployment with a exceedingly large number of resources", +"Resource can't be retrieved due to list overhead quota exceed\nwhich captures the amount of resources filtered out by\nuser-defined list filter.", +"A resource depends on a missing type", +"The route's nextHopIp address is not assigned to an instance on the\nnetwork.", +"The route's next hop instance cannot ip forward.", +"The route's nextHopInstance URL refers to an instance that does not have an\nipv6 interface on the same network as the route.", +"The route's nextHopInstance URL refers to an instance that does not exist.", +"The route's nextHopInstance URL refers to an instance that is not on the\nsame network as the route.", +"The route's next hop instance does not have a status of RUNNING.", +"Error which is not critical. We decided to continue the process despite\nthe mentioned error.", +"No results are present on a particular list page.", +"Success is reported, but some results may be missing due to errors", +"Quota information is not available to client requests (e.g:\nregions.list).", +"The user attempted to use a resource that requires a TOS they have not\naccepted.", +"Warning that a resource is in use.", +"One or more of the resources set to auto-delete could not be deleted\nbecause they were in use.", +"When a resource schema validation is ignored.", +"Instance template used in instance group manager is valid as such, but\nits application does not make a lot of sense, because it allows only\nsingle instance in instance group.", +"When undeclared properties in the schema are present", +"A given scope cannot be reached." +], +"type": "string" +}, +"data": { +"description": "[Output Only] Metadata about this warning in key:\nvalue format. For example:\n\n\"data\": [\n {\n \"key\": \"scope\",\n \"value\": \"zones/us-east1-d\"\n }", +"items": { +"properties": { +"key": { +"description": "[Output Only] A key that provides more detail on the warning being\nreturned. For example, for warnings where there are no results in a list\nrequest for a particular zone, this key might be scope and\nthe key value might be the zone name. Other examples might be a key\nindicating a deprecated resource and a suggested replacement, or a\nwarning about invalid network settings (for example, if an instance\nattempts to perform IP forwarding but is not enabled for IP forwarding).", +"type": "string" +}, +"value": { +"description": "[Output Only] A warning data value corresponding to the key.", +"type": "string" +} +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "[Output Only] A human-readable description of the warning code.", +"type": "string" +} +}, +"type": "object" +} +}, +"type": "object" +}, +"SnapshotGroup": { +"description": "Represents a SnapshotGroup resource.\n\nA snapshot group is a set of snapshots that represents a point in time state\nof a consistency group.", +"id": "SnapshotGroup", +"properties": { +"creationTimestamp": { +"description": "Output only. [Output Only] Creation timestamp inRFC3339\ntext format.", +"readOnly": true, +"type": "string" +}, +"description": { +"description": "Optional. An optional description of this resource. Provide this property when you\ncreate the resource.", +"type": "string" +}, +"id": { +"description": "Output only. [Output Only] The unique identifier for the resource. This identifier is\ndefined by the server.", +"format": "uint64", +"readOnly": true, +"type": "string" +}, +"kind": { +"default": "compute#snapshotGroup", +"description": "Output only. [Output Only] Type of the resource. Alwayscompute#snapshotGroup for SnapshotGroup\nresources.", +"readOnly": true, +"type": "string" +}, +"name": { +"description": "Identifier. Name of the resource; provided by the client when the resource is created.\nThe name must be 1-63 characters long, and comply withRFC1035.\nSpecifically, the name must be 1-63 characters long and match the regular\nexpression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first\ncharacter must be a lowercase letter, and all following characters must be\na dash, lowercase letter, or digit, except the last character, which cannot\nbe a dash.", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"type": "string" +}, +"selfLink": { +"description": "Output only. [Output Only] Server-defined URL for the resource.", +"readOnly": true, +"type": "string" +}, +"selfLinkWithId": { +"description": "Output only. [Output Only] Server-defined URL for this resource's resource id.", +"readOnly": true, +"type": "string" +}, +"sourceInfo": { +"$ref": "SnapshotGroupSourceInfo", +"description": "Output only. [Output Only]", +"readOnly": true +}, +"sourceInstantSnapshotGroup": { +"description": "Input field for the source instant snapshot group.", +"type": "string" +}, +"sourceInstantSnapshotGroupInfo": { +"$ref": "SnapshotGroupSourceInstantSnapshotGroupInfo", +"description": "Output only. [Output Only]", +"readOnly": true +}, +"status": { +"description": "Output only. [Output Only]", +"enum": [ +"CREATING", +"DELETING", +"FAILED", +"INVALID", +"READY", +"UNKNOWN", +"UPLOADING" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"", +"" +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"SnapshotGroupParameters": { +"id": "SnapshotGroupParameters", +"properties": { +"replicaZones": { +"description": "URLs of the zones where disks should be replicated to. Only applicable\nfor regional resources.", +"items": { +"type": "string" +}, +"type": "array" +}, +"sourceSnapshotGroup": { +"description": "The source snapshot group used to create disks. You can provide this as a\npartial or full URL to the resource. For example, the following are valid\nvalues:\n \n \n - https://www.googleapis.com/compute/v1/projects/project/global/snapshotGroups/snapshotGroup \n - projects/project/global/snapshotGroups/snapshotGroup\n - global/snapshotGroups/snapshotGroup", +"type": "string" +}, +"type": { +"description": "URL of the disk type resource describing which disk type to use to create\ndisks. Provide this when creating the disk. For example:projects/project/zones/zone/diskTypes/pd-ssd. See Persistent disk\ntypes.", +"type": "string" +} +}, +"type": "object" +}, +"SnapshotGroupSourceInfo": { +"id": "SnapshotGroupSourceInfo", +"properties": { +"consistencyGroup": { +"readOnly": true, +"type": "string" +}, +"consistencyGroupId": { +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"SnapshotGroupSourceInstantSnapshotGroupInfo": { +"id": "SnapshotGroupSourceInstantSnapshotGroupInfo", +"properties": { +"instantSnapshotGroup": { +"readOnly": true, +"type": "string" +}, +"instantSnapshotGroupId": { +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"SnapshotList": { +"description": "Contains a list of Snapshot resources.", +"id": "SnapshotList", +"properties": { +"id": { +"description": "[Output Only] Unique identifier for the resource; defined by the server.", +"type": "string" +}, +"items": { +"description": "A list of Snapshot resources.", +"items": { +"$ref": "Snapshot" +}, +"type": "array" +}, +"kind": { +"default": "compute#snapshotList", +"description": "Output only. Type of resource.", +"readOnly": true, +"type": "string" +}, +"nextPageToken": { +"description": "[Output Only] This token allows you to get the next page of results for\nlist requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for\nthe query parameter pageToken in the next list request.\nSubsequent list requests will have their own nextPageToken to\ncontinue paging through the results.", +"type": "string" +}, +"selfLink": { +"description": "Output only. [Output Only] Server-defined URL for this resource.", +"readOnly": true, +"type": "string" +}, +"warning": { +"description": "[Output Only] Informational warning message.", +"properties": { +"code": { +"description": "[Output Only] A warning code, if applicable. For example, Compute\nEngine returns NO_RESULTS_ON_PAGE if there\nare no results in the response.", +"enum": [ +"CLEANUP_FAILED", +"DEPRECATED_RESOURCE_USED", +"DEPRECATED_TYPE_USED", +"DISK_SIZE_LARGER_THAN_IMAGE_SIZE", +"EXPERIMENTAL_TYPE_USED", +"EXTERNAL_API_WARNING", +"FIELD_VALUE_OVERRIDEN", +"INJECTED_KERNELS_DEPRECATED", +"INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", +"LARGE_DEPLOYMENT_WARNING", +"LIST_OVERHEAD_QUOTA_EXCEED", +"MISSING_TYPE_DEPENDENCY", +"NEXT_HOP_ADDRESS_NOT_ASSIGNED", +"NEXT_HOP_CANNOT_IP_FORWARD", +"NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", +"NEXT_HOP_INSTANCE_NOT_FOUND", +"NEXT_HOP_INSTANCE_NOT_ON_NETWORK", +"NEXT_HOP_NOT_RUNNING", +"NOT_CRITICAL_ERROR", +"NO_RESULTS_ON_PAGE", +"PARTIAL_SUCCESS", +"QUOTA_INFO_UNAVAILABLE", +"REQUIRED_TOS_AGREEMENT", +"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", +"RESOURCE_NOT_DELETED", +"SCHEMA_VALIDATION_IGNORED", +"SINGLE_INSTANCE_PROPERTY_TEMPLATE", +"UNDECLARED_PROPERTIES", +"UNREACHABLE" +], +"enumDeprecated": [ +false, +false, +false, +false, +false, +false, +true, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false +], +"enumDescriptions": [ +"Warning about failed cleanup of transient changes made by a failed\noperation.", +"A link to a deprecated resource was created.", +"When deploying and at least one of the resources has a type marked as\ndeprecated", +"The user created a boot disk that is larger than image size.", +"When deploying and at least one of the resources has a type marked as\nexperimental", +"Warning that is present in an external api call", +"Warning that value of a field has been overridden.\nDeprecated unused field.", +"The operation involved use of an injected kernel, which is deprecated.", +"A WEIGHTED_MAGLEV backend service is associated with a health check that is\nnot of type HTTP/HTTPS/HTTP2.", +"When deploying a deployment with a exceedingly large number of resources", +"Resource can't be retrieved due to list overhead quota exceed\nwhich captures the amount of resources filtered out by\nuser-defined list filter.", +"A resource depends on a missing type", +"The route's nextHopIp address is not assigned to an instance on the\nnetwork.", +"The route's next hop instance cannot ip forward.", +"The route's nextHopInstance URL refers to an instance that does not have an\nipv6 interface on the same network as the route.", +"The route's nextHopInstance URL refers to an instance that does not exist.", +"The route's nextHopInstance URL refers to an instance that is not on the\nsame network as the route.", +"The route's next hop instance does not have a status of RUNNING.", +"Error which is not critical. We decided to continue the process despite\nthe mentioned error.", +"No results are present on a particular list page.", +"Success is reported, but some results may be missing due to errors", +"Quota information is not available to client requests (e.g:\nregions.list).", +"The user attempted to use a resource that requires a TOS they have not\naccepted.", +"Warning that a resource is in use.", +"One or more of the resources set to auto-delete could not be deleted\nbecause they were in use.", +"When a resource schema validation is ignored.", +"Instance template used in instance group manager is valid as such, but\nits application does not make a lot of sense, because it allows only\nsingle instance in instance group.", +"When undeclared properties in the schema are present", +"A given scope cannot be reached." +], +"type": "string" +}, +"data": { +"description": "[Output Only] Metadata about this warning in key:\nvalue format. For example:\n\n\"data\": [\n {\n \"key\": \"scope\",\n \"value\": \"zones/us-east1-d\"\n }", +"items": { +"properties": { +"key": { +"description": "[Output Only] A key that provides more detail on the warning being\nreturned. For example, for warnings where there are no results in a list\nrequest for a particular zone, this key might be scope and\nthe key value might be the zone name. Other examples might be a key\nindicating a deprecated resource and a suggested replacement, or a\nwarning about invalid network settings (for example, if an instance\nattempts to perform IP forwarding but is not enabled for IP forwarding).", +"type": "string" +}, +"value": { +"description": "[Output Only] A warning data value corresponding to the key.", +"type": "string" +} +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "[Output Only] A human-readable description of the warning code.", +"type": "string" +} +}, +"type": "object" +} +}, +"type": "object" +}, +"SnapshotParams": { +"description": "Additional snapshot params.", +"id": "SnapshotParams", +"properties": { +"resourceManagerTags": { +"additionalProperties": { +"type": "string" +}, +"description": "Input only. Resource manager tags to be bound to the snapshot. Tag keys and values have\nthe same definition as resource\nmanager tags. Keys and values can be either in numeric format,\nsuch as `tagKeys/{tag_key_id}` and `tagValues/456` or in namespaced\nformat such as `{org_id|project_id}/{tag_key_short_name}` and\n`{tag_value_short_name}`. The field is ignored (both PUT &\nPATCH) when empty.", +"type": "object" +} +}, +"type": "object" +}, +"SnapshotSettings": { +"id": "SnapshotSettings", +"properties": { +"accessLocation": { +"$ref": "SnapshotSettingsAccessLocation", +"description": "(Regional snapshots use only)Policy of which location is allowed to access\nsnapshot." +}, +"storageLocation": { +"$ref": "SnapshotSettingsStorageLocationSettings", +"description": "Policy of which storage location is going to be resolved, and additional\ndata that particularizes how the policy is going to be carried out." +} +}, +"type": "object" +}, +"SnapshotSettingsAccessLocation": { +"id": "SnapshotSettingsAccessLocation", +"properties": { +"locations": { +"additionalProperties": { +"$ref": "SnapshotSettingsAccessLocationAccessLocationPreference" +}, +"description": "List of regions that can restore a regional\n snapshot from the current region", +"type": "object" +}, +"policy": { +"description": "Policy of which location is allowed to access snapshot.", +"enum": [ +"ALL_REGIONS", +"POLICY_UNSPECIFIED", +"SPECIFIC_REGIONS" +], +"enumDescriptions": [ +"Any regions will be able to access the source location.", +"", +"Only allowlisted regions will be able to restore region scoped\nsnapshots" +], +"type": "string" +} +}, +"type": "object" +}, +"SnapshotSettingsAccessLocationAccessLocationPreference": { +"description": "A structure for specifying an allowed target region.", +"id": "SnapshotSettingsAccessLocationAccessLocationPreference", +"properties": { +"region": { +"description": "Accessible region name", +"type": "string" +} +}, +"type": "object" +}, +"SnapshotSettingsStorageLocationSettings": { +"id": "SnapshotSettingsStorageLocationSettings", +"properties": { +"locations": { +"additionalProperties": { +"$ref": "SnapshotSettingsStorageLocationSettingsStorageLocationPreference" +}, +"description": "When the policy is SPECIFIC_LOCATIONS, snapshots will be stored\nin the locations listed in this field. Keys are Cloud Storage bucket\nlocations. Only one location can be specified.", +"type": "object" +}, +"policy": { +"description": "The chosen location policy.", +"enum": [ +"LOCAL_REGION", +"NEAREST_MULTI_REGION", +"SPECIFIC_LOCATIONS", +"STORAGE_LOCATION_POLICY_UNSPECIFIED" +], +"enumDescriptions": [ +"Store snapshot in the same region as with the originating disk.\nNo additional parameters are needed.", +"Store snapshot in the nearest multi region Cloud Storage bucket,\nrelative to the originating disk. No additional parameters are needed.", +"Store snapshot in the specific locations, as specified by the user.\nThe list of regions to store must be defined under the `locations`\nfield.", +"" +], +"type": "string" +} +}, +"type": "object" +}, +"SnapshotSettingsStorageLocationSettingsStorageLocationPreference": { +"description": "A structure for specifying storage locations.", +"id": "SnapshotSettingsStorageLocationSettingsStorageLocationPreference", +"properties": { +"name": { +"description": "Name of the location. It should be one of the Cloud Storage buckets.\nOnly one location can be specified.", +"type": "string" +} +}, +"type": "object" +}, +"SnapshotsScopedList": { +"id": "SnapshotsScopedList", +"properties": { +"snapshots": { +"description": "[Output Only] A list of snapshots contained in this scope.", +"items": { +"$ref": "Snapshot" +}, +"type": "array" +}, +"warning": { +"description": "[Output Only] Informational warning which replaces the list of snapshots\nwhen the list is empty.", +"properties": { +"code": { +"description": "[Output Only] A warning code, if applicable. For example, Compute\nEngine returns NO_RESULTS_ON_PAGE if there\nare no results in the response.", +"enum": [ +"CLEANUP_FAILED", +"DEPRECATED_RESOURCE_USED", +"DEPRECATED_TYPE_USED", +"DISK_SIZE_LARGER_THAN_IMAGE_SIZE", +"EXPERIMENTAL_TYPE_USED", +"EXTERNAL_API_WARNING", +"FIELD_VALUE_OVERRIDEN", +"INJECTED_KERNELS_DEPRECATED", +"INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", +"LARGE_DEPLOYMENT_WARNING", +"LIST_OVERHEAD_QUOTA_EXCEED", +"MISSING_TYPE_DEPENDENCY", +"NEXT_HOP_ADDRESS_NOT_ASSIGNED", +"NEXT_HOP_CANNOT_IP_FORWARD", +"NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", +"NEXT_HOP_INSTANCE_NOT_FOUND", +"NEXT_HOP_INSTANCE_NOT_ON_NETWORK", +"NEXT_HOP_NOT_RUNNING", +"NOT_CRITICAL_ERROR", +"NO_RESULTS_ON_PAGE", +"PARTIAL_SUCCESS", +"QUOTA_INFO_UNAVAILABLE", +"REQUIRED_TOS_AGREEMENT", +"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", +"RESOURCE_NOT_DELETED", +"SCHEMA_VALIDATION_IGNORED", +"SINGLE_INSTANCE_PROPERTY_TEMPLATE", +"UNDECLARED_PROPERTIES", +"UNREACHABLE" +], +"enumDeprecated": [ +false, +false, +false, +false, +false, +false, +true, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false +], +"enumDescriptions": [ +"Warning about failed cleanup of transient changes made by a failed\noperation.", +"A link to a deprecated resource was created.", +"When deploying and at least one of the resources has a type marked as\ndeprecated", +"The user created a boot disk that is larger than image size.", +"When deploying and at least one of the resources has a type marked as\nexperimental", +"Warning that is present in an external api call", +"Warning that value of a field has been overridden.\nDeprecated unused field.", +"The operation involved use of an injected kernel, which is deprecated.", +"A WEIGHTED_MAGLEV backend service is associated with a health check that is\nnot of type HTTP/HTTPS/HTTP2.", +"When deploying a deployment with a exceedingly large number of resources", +"Resource can't be retrieved due to list overhead quota exceed\nwhich captures the amount of resources filtered out by\nuser-defined list filter.", +"A resource depends on a missing type", +"The route's nextHopIp address is not assigned to an instance on the\nnetwork.", +"The route's next hop instance cannot ip forward.", +"The route's nextHopInstance URL refers to an instance that does not have an\nipv6 interface on the same network as the route.", +"The route's nextHopInstance URL refers to an instance that does not exist.", +"The route's nextHopInstance URL refers to an instance that is not on the\nsame network as the route.", +"The route's next hop instance does not have a status of RUNNING.", +"Error which is not critical. We decided to continue the process despite\nthe mentioned error.", +"No results are present on a particular list page.", +"Success is reported, but some results may be missing due to errors", +"Quota information is not available to client requests (e.g:\nregions.list).", +"The user attempted to use a resource that requires a TOS they have not\naccepted.", +"Warning that a resource is in use.", +"One or more of the resources set to auto-delete could not be deleted\nbecause they were in use.", +"When a resource schema validation is ignored.", +"Instance template used in instance group manager is valid as such, but\nits application does not make a lot of sense, because it allows only\nsingle instance in instance group.", +"When undeclared properties in the schema are present", +"A given scope cannot be reached." +], +"type": "string" +}, +"data": { +"description": "[Output Only] Metadata about this warning in key:\nvalue format. For example:\n\n\"data\": [\n {\n \"key\": \"scope\",\n \"value\": \"zones/us-east1-d\"\n }", +"items": { +"properties": { +"key": { +"description": "[Output Only] A key that provides more detail on the warning being\nreturned. For example, for warnings where there are no results in a list\nrequest for a particular zone, this key might be scope and\nthe key value might be the zone name. Other examples might be a key\nindicating a deprecated resource and a suggested replacement, or a\nwarning about invalid network settings (for example, if an instance\nattempts to perform IP forwarding but is not enabled for IP forwarding).", +"type": "string" +}, +"value": { +"description": "[Output Only] A warning data value corresponding to the key.", +"type": "string" +} +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "[Output Only] A human-readable description of the warning code.", +"type": "string" +} +}, +"type": "object" +} +}, +"type": "object" +}, +"SourceDiskEncryptionKey": { +"id": "SourceDiskEncryptionKey", +"properties": { +"diskEncryptionKey": { +"$ref": "CustomerEncryptionKey", +"description": "Thecustomer-supplied\nencryption key of the source disk. Required if the source disk is\nprotected by a customer-supplied encryption key." +}, +"sourceDisk": { +"description": "URL of the disk attached to the source instance. This can be a full or\nvalid partial URL. For example, the following are valid values:\n \n \n - https://www.googleapis.com/compute/v1/projects/project/zones/zone/disks/disk \n - projects/project/zones/zone/disks/disk \n - zones/zone/disks/disk", +"type": "string" +} +}, +"type": "object" +}, +"SourceInstanceParams": { +"description": "A specification of the parameters to use when creating the instance template\nfrom a source instance.", +"id": "SourceInstanceParams", +"properties": { +"diskConfigs": { +"description": "Attached disks configuration. If not provided, defaults are applied:\nFor boot disk and any other R/W disks, the source images for each disk\nwill be used. For read-only disks, they will be attached in read-only\nmode. Local SSD disks will be created as blank volumes.", +"items": { +"$ref": "DiskInstantiationConfig" +}, +"type": "array" +} +}, +"type": "object" +}, +"SourceInstanceProperties": { +"description": "DEPRECATED: Please use compute#instanceProperties instead.\nNew properties will not be added to this field.", +"id": "SourceInstanceProperties", +"properties": { +"canIpForward": { +"description": "Enables instances created based on this machine image to send packets with\nsource IP addresses other than their own and receive packets with\ndestination IP addresses other than their own. If these instances will be\nused as an IP gateway or it will be set as the next-hop in a Route\nresource, specify true. If unsure, leave this set tofalse. See theEnable IP forwarding\ndocumentation for more information.", +"type": "boolean" +}, +"deletionProtection": { +"description": "Whether the instance created from this machine image should be protected\nagainst deletion.", +"type": "boolean" +}, +"description": { +"description": "An optional text description for the instances that are created from this\nmachine image.", +"type": "string" +}, +"disks": { +"description": "An array of disks that are associated with the instances that are created\nfrom this machine image.", +"items": { +"$ref": "SavedAttachedDisk" +}, +"type": "array" +}, +"guestAccelerators": { +"description": "A list of guest accelerator cards' type and count to use for instances\ncreated from this machine image.", +"items": { +"$ref": "AcceleratorConfig" +}, +"type": "array" +}, +"keyRevocationActionType": { +"description": "KeyRevocationActionType of the instance. Supported options are \"STOP\" and\n\"NONE\". The default value is \"NONE\" if it is not specified.", +"enum": [ +"KEY_REVOCATION_ACTION_TYPE_UNSPECIFIED", +"NONE", +"STOP" +], +"enumDescriptions": [ +"Default value. This value is unused.", +"Indicates user chose no operation.", +"Indicates user chose to opt for VM shutdown on key revocation." +], +"type": "string" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Labels to apply to instances that are created from this machine image.", +"type": "object" +}, +"machineType": { +"description": "The machine type to use for instances that are created from this machine\nimage.", +"type": "string" +}, +"metadata": { +"$ref": "Metadata", +"description": "The metadata key/value pairs to assign to instances that are created from\nthis machine image. These pairs can consist of custom metadata or\npredefined keys. SeeProject and\ninstance metadata for more information." +}, +"minCpuPlatform": { +"description": "Minimum cpu/platform to be used by instances created from this machine\nimage. The instance may be scheduled on the specified or newer\ncpu/platform. Applicable values are the friendly names of CPU platforms,\nsuch as minCpuPlatform: \"Intel Haswell\" orminCpuPlatform: \"Intel Sandy Bridge\". For more\ninformation, read Specifying a\nMinimum CPU Platform.", +"type": "string" +}, +"networkInterfaces": { +"description": "An array of network access configurations for this interface.", +"items": { +"$ref": "NetworkInterface" +}, +"type": "array" +}, +"postKeyRevocationActionType": { +"description": "PostKeyRevocationActionType of the instance.", +"enum": [ +"NOOP", +"POST_KEY_REVOCATION_ACTION_TYPE_UNSPECIFIED", +"SHUTDOWN" +], +"enumDescriptions": [ +"Indicates user chose no operation.", +"Default value. This value is unused.", +"Indicates user chose to opt for VM shutdown on key revocation." +], +"type": "string" +}, +"scheduling": { +"$ref": "Scheduling", +"description": "Specifies the scheduling options for the instances that are created from\nthis machine image." +}, +"serviceAccounts": { +"description": "A list of service accounts with specified scopes. Access tokens for these\nservice accounts are available to the instances that are created from this\nmachine image. Use metadata queries to obtain the access tokens for these\ninstances.", +"items": { +"$ref": "ServiceAccount" +}, +"type": "array" +}, +"tags": { +"$ref": "Tags", +"description": "A list of tags to apply to the instances that are created from this machine\nimage. The tags identify valid sources or targets for network firewalls.\nThe setTags method can modify this list of tags. Each tag within the list\nmust comply withRFC1035." +} +}, +"type": "object" +}, +"SslCertificate": { +"description": "Represents an SSL certificate resource.\n\nGoogle Compute Engine has two SSL certificate resources:\n\n* [Global](/compute/docs/reference/rest/beta/sslCertificates)\n* [Regional](/compute/docs/reference/rest/beta/regionSslCertificates)\n\n\nThe global SSL certificates (sslCertificates) are used by:\n \n - Global external Application Load Balancers\n - Classic Application Load Balancers\n - Proxy Network Load Balancers (with target SSL proxies)\n\n\n\nThe regional SSL certificates (regionSslCertificates) are used\nby:\n \n - Regional external Application Load Balancers\n - Regional internal Application Load Balancers\n\n\n\nOptionally, certificate file contents that you upload can contain a set of up\nto five PEM-encoded certificates.\nThe API call creates an object (sslCertificate) that holds this data.\nYou can use SSL keys and certificates to secure connections to a load\nbalancer.\nFor more information, read \nCreating and using SSL certificates,SSL certificates\nquotas and limits, and\nTroubleshooting SSL certificates.", +"id": "SslCertificate", +"properties": { +"certificate": { +"description": "A value read into memory from a certificate file. The certificate file must\nbe in PEM format. The certificate chain must be no greater than 5 certs\nlong. The chain must include at least one intermediate cert.", +"type": "string" +}, +"creationTimestamp": { +"description": "[Output Only] Creation timestamp inRFC3339\ntext format.", +"type": "string" +}, +"description": { +"description": "An optional description of this resource. Provide this property when you\ncreate the resource.", +"type": "string" +}, +"expireTime": { +"description": "Output only. [Output Only] Expire time of the certificate. RFC3339", +"readOnly": true, +"type": "string" +}, +"id": { +"description": "[Output Only] The unique identifier for the resource. This identifier is\ndefined by the server.", +"format": "uint64", +"type": "string" +}, +"kind": { +"default": "compute#sslCertificate", +"description": "Output only. [Output Only] Type of the resource. Alwayscompute#sslCertificate for SSL certificates.", +"readOnly": true, +"type": "string" +}, +"managed": { +"$ref": "SslCertificateManagedSslCertificate", +"description": "Configuration and status of a managed SSL certificate." +}, +"name": { +"description": "Name of the resource. Provided by the client when the resource is created.\nThe name must be 1-63 characters long, and comply withRFC1035.\nSpecifically, the name must be 1-63 characters long and match the regular\nexpression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first\ncharacter must be a lowercase letter, and all following characters must\nbe a dash, lowercase letter, or digit, except the last character, which\ncannot be a dash.", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"type": "string" +}, +"privateKey": { +"description": "A value read into memory from a write-only private key file. The private\nkey file must be in PEM format. For security, only insert\nrequests include this field.", +"type": "string" +}, +"region": { +"description": "Output only. [Output Only] URL of the region where the regional SSL Certificate\nresides. This field is not applicable to global SSL Certificate.", +"readOnly": true, +"type": "string" +}, +"selfLink": { +"description": "[Output only] Server-defined URL for the resource.", +"type": "string" +}, +"selfManaged": { +"$ref": "SslCertificateSelfManagedSslCertificate", +"description": "Configuration and status of a self-managed SSL certificate." +}, +"subjectAlternativeNames": { +"description": "Output only. [Output Only] Domains associated with the certificate via Subject\nAlternative Name.", +"items": { +"type": "string" +}, +"readOnly": true, +"type": "array" +}, +"type": { +"description": "(Optional) Specifies the type of SSL certificate, either \"SELF_MANAGED\" or\n\"MANAGED\". If not specified, the certificate is self-managed and the fieldscertificate and private_key are used.", +"enum": [ +"MANAGED", +"SELF_MANAGED", +"TYPE_UNSPECIFIED" +], +"enumDescriptions": [ +"Google-managed SSLCertificate.", +"Certificate uploaded by user.", +"" +], +"type": "string" +} +}, +"type": "object" +}, +"SslCertificateAggregatedList": { +"id": "SslCertificateAggregatedList", +"properties": { +"id": { +"description": "[Output Only] Unique identifier for the resource; defined by the server.", +"type": "string" +}, +"items": { +"additionalProperties": { +"$ref": "SslCertificatesScopedList", +"description": "Name of the scope containing this set of SslCertificates." +}, +"description": "A list of SslCertificatesScopedList resources.", +"type": "object" +}, +"kind": { +"default": "compute#sslCertificateAggregatedList", +"description": "Output only. [Output Only] Type of resource. Alwayscompute#sslCertificateAggregatedList for lists of SSL\nCertificates.", +"readOnly": true, +"type": "string" +}, +"nextPageToken": { +"description": "[Output Only] This token allows you to get the next page of results for\nlist requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for\nthe query parameter pageToken in the next list request.\nSubsequent list requests will have their own nextPageToken to\ncontinue paging through the results.", +"type": "string" +}, +"selfLink": { +"description": "Output only. [Output Only] Server-defined URL for this resource.", +"readOnly": true, +"type": "string" +}, +"unreachables": { +"description": "Output only. [Output Only] Unreachable resources.", +"items": { +"type": "string" +}, +"readOnly": true, +"type": "array" +}, +"warning": { +"description": "[Output Only] Informational warning message.", +"properties": { +"code": { +"description": "[Output Only] A warning code, if applicable. For example, Compute\nEngine returns NO_RESULTS_ON_PAGE if there\nare no results in the response.", +"enum": [ +"CLEANUP_FAILED", +"DEPRECATED_RESOURCE_USED", +"DEPRECATED_TYPE_USED", +"DISK_SIZE_LARGER_THAN_IMAGE_SIZE", +"EXPERIMENTAL_TYPE_USED", +"EXTERNAL_API_WARNING", +"FIELD_VALUE_OVERRIDEN", +"INJECTED_KERNELS_DEPRECATED", +"INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", +"LARGE_DEPLOYMENT_WARNING", +"LIST_OVERHEAD_QUOTA_EXCEED", +"MISSING_TYPE_DEPENDENCY", +"NEXT_HOP_ADDRESS_NOT_ASSIGNED", +"NEXT_HOP_CANNOT_IP_FORWARD", +"NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", +"NEXT_HOP_INSTANCE_NOT_FOUND", +"NEXT_HOP_INSTANCE_NOT_ON_NETWORK", +"NEXT_HOP_NOT_RUNNING", +"NOT_CRITICAL_ERROR", +"NO_RESULTS_ON_PAGE", +"PARTIAL_SUCCESS", +"QUOTA_INFO_UNAVAILABLE", +"REQUIRED_TOS_AGREEMENT", +"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", +"RESOURCE_NOT_DELETED", +"SCHEMA_VALIDATION_IGNORED", +"SINGLE_INSTANCE_PROPERTY_TEMPLATE", +"UNDECLARED_PROPERTIES", +"UNREACHABLE" +], +"enumDeprecated": [ +false, +false, +false, +false, +false, +false, +true, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false +], +"enumDescriptions": [ +"Warning about failed cleanup of transient changes made by a failed\noperation.", +"A link to a deprecated resource was created.", +"When deploying and at least one of the resources has a type marked as\ndeprecated", +"The user created a boot disk that is larger than image size.", +"When deploying and at least one of the resources has a type marked as\nexperimental", +"Warning that is present in an external api call", +"Warning that value of a field has been overridden.\nDeprecated unused field.", +"The operation involved use of an injected kernel, which is deprecated.", +"A WEIGHTED_MAGLEV backend service is associated with a health check that is\nnot of type HTTP/HTTPS/HTTP2.", +"When deploying a deployment with a exceedingly large number of resources", +"Resource can't be retrieved due to list overhead quota exceed\nwhich captures the amount of resources filtered out by\nuser-defined list filter.", +"A resource depends on a missing type", +"The route's nextHopIp address is not assigned to an instance on the\nnetwork.", +"The route's next hop instance cannot ip forward.", +"The route's nextHopInstance URL refers to an instance that does not have an\nipv6 interface on the same network as the route.", +"The route's nextHopInstance URL refers to an instance that does not exist.", +"The route's nextHopInstance URL refers to an instance that is not on the\nsame network as the route.", +"The route's next hop instance does not have a status of RUNNING.", +"Error which is not critical. We decided to continue the process despite\nthe mentioned error.", +"No results are present on a particular list page.", +"Success is reported, but some results may be missing due to errors", +"Quota information is not available to client requests (e.g:\nregions.list).", +"The user attempted to use a resource that requires a TOS they have not\naccepted.", +"Warning that a resource is in use.", +"One or more of the resources set to auto-delete could not be deleted\nbecause they were in use.", +"When a resource schema validation is ignored.", +"Instance template used in instance group manager is valid as such, but\nits application does not make a lot of sense, because it allows only\nsingle instance in instance group.", +"When undeclared properties in the schema are present", +"A given scope cannot be reached." +], +"type": "string" +}, +"data": { +"description": "[Output Only] Metadata about this warning in key:\nvalue format. For example:\n\n\"data\": [\n {\n \"key\": \"scope\",\n \"value\": \"zones/us-east1-d\"\n }", +"items": { +"properties": { +"key": { +"description": "[Output Only] A key that provides more detail on the warning being\nreturned. For example, for warnings where there are no results in a list\nrequest for a particular zone, this key might be scope and\nthe key value might be the zone name. Other examples might be a key\nindicating a deprecated resource and a suggested replacement, or a\nwarning about invalid network settings (for example, if an instance\nattempts to perform IP forwarding but is not enabled for IP forwarding).", +"type": "string" +}, +"value": { +"description": "[Output Only] A warning data value corresponding to the key.", +"type": "string" +} +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "[Output Only] A human-readable description of the warning code.", +"type": "string" +} +}, +"type": "object" +} +}, +"type": "object" +}, +"SslCertificateList": { +"description": "Contains a list of SslCertificate resources.", +"id": "SslCertificateList", +"properties": { +"id": { +"description": "[Output Only] Unique identifier for the resource; defined by the server.", +"type": "string" +}, +"items": { +"description": "A list of SslCertificate resources.", +"items": { +"$ref": "SslCertificate" +}, +"type": "array" +}, +"kind": { +"default": "compute#sslCertificateList", +"description": "Output only. Type of resource.", +"readOnly": true, +"type": "string" +}, +"nextPageToken": { +"description": "[Output Only] This token allows you to get the next page of results for\nlist requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for\nthe query parameter pageToken in the next list request.\nSubsequent list requests will have their own nextPageToken to\ncontinue paging through the results.", +"type": "string" +}, +"selfLink": { +"description": "Output only. [Output Only] Server-defined URL for this resource.", +"readOnly": true, +"type": "string" +}, +"warning": { +"description": "[Output Only] Informational warning message.", +"properties": { +"code": { +"description": "[Output Only] A warning code, if applicable. For example, Compute\nEngine returns NO_RESULTS_ON_PAGE if there\nare no results in the response.", +"enum": [ +"CLEANUP_FAILED", +"DEPRECATED_RESOURCE_USED", +"DEPRECATED_TYPE_USED", +"DISK_SIZE_LARGER_THAN_IMAGE_SIZE", +"EXPERIMENTAL_TYPE_USED", +"EXTERNAL_API_WARNING", +"FIELD_VALUE_OVERRIDEN", +"INJECTED_KERNELS_DEPRECATED", +"INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", +"LARGE_DEPLOYMENT_WARNING", +"LIST_OVERHEAD_QUOTA_EXCEED", +"MISSING_TYPE_DEPENDENCY", +"NEXT_HOP_ADDRESS_NOT_ASSIGNED", +"NEXT_HOP_CANNOT_IP_FORWARD", +"NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", +"NEXT_HOP_INSTANCE_NOT_FOUND", +"NEXT_HOP_INSTANCE_NOT_ON_NETWORK", +"NEXT_HOP_NOT_RUNNING", +"NOT_CRITICAL_ERROR", +"NO_RESULTS_ON_PAGE", +"PARTIAL_SUCCESS", +"QUOTA_INFO_UNAVAILABLE", +"REQUIRED_TOS_AGREEMENT", +"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", +"RESOURCE_NOT_DELETED", +"SCHEMA_VALIDATION_IGNORED", +"SINGLE_INSTANCE_PROPERTY_TEMPLATE", +"UNDECLARED_PROPERTIES", +"UNREACHABLE" +], +"enumDeprecated": [ +false, +false, +false, +false, +false, +false, +true, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false +], +"enumDescriptions": [ +"Warning about failed cleanup of transient changes made by a failed\noperation.", +"A link to a deprecated resource was created.", +"When deploying and at least one of the resources has a type marked as\ndeprecated", +"The user created a boot disk that is larger than image size.", +"When deploying and at least one of the resources has a type marked as\nexperimental", +"Warning that is present in an external api call", +"Warning that value of a field has been overridden.\nDeprecated unused field.", +"The operation involved use of an injected kernel, which is deprecated.", +"A WEIGHTED_MAGLEV backend service is associated with a health check that is\nnot of type HTTP/HTTPS/HTTP2.", +"When deploying a deployment with a exceedingly large number of resources", +"Resource can't be retrieved due to list overhead quota exceed\nwhich captures the amount of resources filtered out by\nuser-defined list filter.", +"A resource depends on a missing type", +"The route's nextHopIp address is not assigned to an instance on the\nnetwork.", +"The route's next hop instance cannot ip forward.", +"The route's nextHopInstance URL refers to an instance that does not have an\nipv6 interface on the same network as the route.", +"The route's nextHopInstance URL refers to an instance that does not exist.", +"The route's nextHopInstance URL refers to an instance that is not on the\nsame network as the route.", +"The route's next hop instance does not have a status of RUNNING.", +"Error which is not critical. We decided to continue the process despite\nthe mentioned error.", +"No results are present on a particular list page.", +"Success is reported, but some results may be missing due to errors", +"Quota information is not available to client requests (e.g:\nregions.list).", +"The user attempted to use a resource that requires a TOS they have not\naccepted.", +"Warning that a resource is in use.", +"One or more of the resources set to auto-delete could not be deleted\nbecause they were in use.", +"When a resource schema validation is ignored.", +"Instance template used in instance group manager is valid as such, but\nits application does not make a lot of sense, because it allows only\nsingle instance in instance group.", +"When undeclared properties in the schema are present", +"A given scope cannot be reached." +], +"type": "string" +}, +"data": { +"description": "[Output Only] Metadata about this warning in key:\nvalue format. For example:\n\n\"data\": [\n {\n \"key\": \"scope\",\n \"value\": \"zones/us-east1-d\"\n }", +"items": { +"properties": { +"key": { +"description": "[Output Only] A key that provides more detail on the warning being\nreturned. For example, for warnings where there are no results in a list\nrequest for a particular zone, this key might be scope and\nthe key value might be the zone name. Other examples might be a key\nindicating a deprecated resource and a suggested replacement, or a\nwarning about invalid network settings (for example, if an instance\nattempts to perform IP forwarding but is not enabled for IP forwarding).", +"type": "string" +}, +"value": { +"description": "[Output Only] A warning data value corresponding to the key.", +"type": "string" +} +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "[Output Only] A human-readable description of the warning code.", +"type": "string" +} +}, +"type": "object" +} +}, +"type": "object" +}, +"SslCertificateManagedSslCertificate": { +"description": "Configuration and status of a managed SSL certificate.", +"id": "SslCertificateManagedSslCertificate", +"properties": { +"domainStatus": { +"additionalProperties": { +"enum": [ +"ACTIVE", +"DOMAIN_STATUS_UNSPECIFIED", +"FAILED_CAA_CHECKING", +"FAILED_CAA_FORBIDDEN", +"FAILED_NOT_VISIBLE", +"FAILED_RATE_LIMITED", +"PROVISIONING" +], +"enumDescriptions": [ +"A managed certificate can be provisioned, no issues for this domain.", +"", +"Failed to check CAA records for the domain.", +"Certificate issuance forbidden by an explicit CAA record for the\ndomain.", +"There seems to be problem with the user's DNS or load balancer\nconfiguration for this domain.", +"Reached rate-limit for certificates per top-level private domain.", +"Certificate provisioning for this domain is under way. GCP will\nattempt to provision the first certificate." +], +"type": "string" +}, +"description": "Output only. [Output only] Detailed statuses of the domains specified for managed\ncertificate resource.", +"readOnly": true, +"type": "object" +}, +"domains": { +"description": "The domains for which a managed SSL certificate will be generated. Each\nGoogle-managed SSL certificate supports up to the [maximum number of\ndomains per Google-managed SSL\ncertificate](/load-balancing/docs/quotas#ssl_certificates).", +"items": { +"type": "string" +}, +"type": "array" +}, +"status": { +"description": "Output only. [Output only] Status of the managed certificate resource.", +"enum": [ +"ACTIVE", +"MANAGED_CERTIFICATE_STATUS_UNSPECIFIED", +"PROVISIONING", +"PROVISIONING_FAILED", +"PROVISIONING_FAILED_PERMANENTLY", +"RENEWAL_FAILED" +], +"enumDescriptions": [ +"The certificate management is working, and a certificate has been\nprovisioned.", +"", +"The certificate management is working. GCP will attempt to provision\nthe first certificate.", +"Certificate provisioning failed due to an issue with the DNS\nor load balancing configuration.\nFor details of which domain failed, consult domain_status field.", +"Certificate provisioning failed due to an issue with the DNS\nor load balancing configuration. It won't be retried. To try again\ndelete and create a new managed SslCertificate resource.\nFor details of which domain failed, consult domain_status field.", +"Renewal of the certificate has failed due to an issue with the DNS\nor load balancing configuration. The existing cert is still serving;\nhowever, it will expire shortly. To provision a renewed certificate,\ndelete and create a new managed SslCertificate resource.\nFor details on which domain failed, consult domain_status field." +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"SslCertificateSelfManagedSslCertificate": { +"description": "Configuration and status of a self-managed SSL certificate.", +"id": "SslCertificateSelfManagedSslCertificate", +"properties": { +"certificate": { +"description": "A local certificate file. The certificate must be in\nPEM format. The certificate chain must be no greater than 5 certs\nlong. The chain must include at least one intermediate cert.", +"type": "string" +}, +"privateKey": { +"description": "A write-only private key in PEM format. Only insert\nrequests will include this field.", +"type": "string" +} +}, +"type": "object" +}, +"SslCertificatesScopedList": { +"id": "SslCertificatesScopedList", +"properties": { +"sslCertificates": { +"description": "List of SslCertificates contained in this scope.", +"items": { +"$ref": "SslCertificate" +}, +"type": "array" +}, +"warning": { +"description": "Informational warning which replaces the list of\nbackend services when the list is empty.", +"properties": { +"code": { +"description": "[Output Only] A warning code, if applicable. For example, Compute\nEngine returns NO_RESULTS_ON_PAGE if there\nare no results in the response.", +"enum": [ +"CLEANUP_FAILED", +"DEPRECATED_RESOURCE_USED", +"DEPRECATED_TYPE_USED", +"DISK_SIZE_LARGER_THAN_IMAGE_SIZE", +"EXPERIMENTAL_TYPE_USED", +"EXTERNAL_API_WARNING", +"FIELD_VALUE_OVERRIDEN", +"INJECTED_KERNELS_DEPRECATED", +"INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", +"LARGE_DEPLOYMENT_WARNING", +"LIST_OVERHEAD_QUOTA_EXCEED", +"MISSING_TYPE_DEPENDENCY", +"NEXT_HOP_ADDRESS_NOT_ASSIGNED", +"NEXT_HOP_CANNOT_IP_FORWARD", +"NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", +"NEXT_HOP_INSTANCE_NOT_FOUND", +"NEXT_HOP_INSTANCE_NOT_ON_NETWORK", +"NEXT_HOP_NOT_RUNNING", +"NOT_CRITICAL_ERROR", +"NO_RESULTS_ON_PAGE", +"PARTIAL_SUCCESS", +"QUOTA_INFO_UNAVAILABLE", +"REQUIRED_TOS_AGREEMENT", +"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", +"RESOURCE_NOT_DELETED", +"SCHEMA_VALIDATION_IGNORED", +"SINGLE_INSTANCE_PROPERTY_TEMPLATE", +"UNDECLARED_PROPERTIES", +"UNREACHABLE" +], +"enumDeprecated": [ +false, +false, +false, +false, +false, +false, +true, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false +], +"enumDescriptions": [ +"Warning about failed cleanup of transient changes made by a failed\noperation.", +"A link to a deprecated resource was created.", +"When deploying and at least one of the resources has a type marked as\ndeprecated", +"The user created a boot disk that is larger than image size.", +"When deploying and at least one of the resources has a type marked as\nexperimental", +"Warning that is present in an external api call", +"Warning that value of a field has been overridden.\nDeprecated unused field.", +"The operation involved use of an injected kernel, which is deprecated.", +"A WEIGHTED_MAGLEV backend service is associated with a health check that is\nnot of type HTTP/HTTPS/HTTP2.", +"When deploying a deployment with a exceedingly large number of resources", +"Resource can't be retrieved due to list overhead quota exceed\nwhich captures the amount of resources filtered out by\nuser-defined list filter.", +"A resource depends on a missing type", +"The route's nextHopIp address is not assigned to an instance on the\nnetwork.", +"The route's next hop instance cannot ip forward.", +"The route's nextHopInstance URL refers to an instance that does not have an\nipv6 interface on the same network as the route.", +"The route's nextHopInstance URL refers to an instance that does not exist.", +"The route's nextHopInstance URL refers to an instance that is not on the\nsame network as the route.", +"The route's next hop instance does not have a status of RUNNING.", +"Error which is not critical. We decided to continue the process despite\nthe mentioned error.", +"No results are present on a particular list page.", +"Success is reported, but some results may be missing due to errors", +"Quota information is not available to client requests (e.g:\nregions.list).", +"The user attempted to use a resource that requires a TOS they have not\naccepted.", +"Warning that a resource is in use.", +"One or more of the resources set to auto-delete could not be deleted\nbecause they were in use.", +"When a resource schema validation is ignored.", +"Instance template used in instance group manager is valid as such, but\nits application does not make a lot of sense, because it allows only\nsingle instance in instance group.", +"When undeclared properties in the schema are present", +"A given scope cannot be reached." +], +"type": "string" +}, +"data": { +"description": "[Output Only] Metadata about this warning in key:\nvalue format. For example:\n\n\"data\": [\n {\n \"key\": \"scope\",\n \"value\": \"zones/us-east1-d\"\n }", +"items": { +"properties": { +"key": { +"description": "[Output Only] A key that provides more detail on the warning being\nreturned. For example, for warnings where there are no results in a list\nrequest for a particular zone, this key might be scope and\nthe key value might be the zone name. Other examples might be a key\nindicating a deprecated resource and a suggested replacement, or a\nwarning about invalid network settings (for example, if an instance\nattempts to perform IP forwarding but is not enabled for IP forwarding).", +"type": "string" +}, +"value": { +"description": "[Output Only] A warning data value corresponding to the key.", +"type": "string" +} +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "[Output Only] A human-readable description of the warning code.", +"type": "string" +} +}, +"type": "object" +} +}, +"type": "object" +}, +"SslPoliciesAggregatedList": { +"id": "SslPoliciesAggregatedList", +"properties": { +"etag": { +"type": "string" +}, +"id": { +"description": "[Output Only] Unique identifier for the resource; defined by the server.", +"type": "string" +}, +"items": { +"additionalProperties": { +"$ref": "SslPoliciesScopedList", +"description": "Name of the scope containing this set of SSL policies." +}, +"description": "A list of SslPoliciesScopedList resources.", +"type": "object" +}, +"kind": { +"default": "compute#sslPoliciesAggregatedList", +"description": "Output only. [Output Only] Type of resource. Alwayscompute#sslPolicyAggregatedList for lists of SSL Policies.", +"readOnly": true, +"type": "string" +}, +"nextPageToken": { +"description": "[Output Only] This token allows you to get the next page of results for\nlist requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for\nthe query parameter pageToken in the next list request.\nSubsequent list requests will have their own nextPageToken to\ncontinue paging through the results.", +"type": "string" +}, +"selfLink": { +"description": "Output only. [Output Only] Server-defined URL for this resource.", +"readOnly": true, +"type": "string" +}, +"unreachables": { +"description": "Output only. [Output Only] Unreachable resources.", +"items": { +"type": "string" +}, +"readOnly": true, +"type": "array" +}, +"warning": { +"description": "[Output Only] Informational warning message.", +"properties": { +"code": { +"description": "[Output Only] A warning code, if applicable. For example, Compute\nEngine returns NO_RESULTS_ON_PAGE if there\nare no results in the response.", +"enum": [ +"CLEANUP_FAILED", +"DEPRECATED_RESOURCE_USED", +"DEPRECATED_TYPE_USED", +"DISK_SIZE_LARGER_THAN_IMAGE_SIZE", +"EXPERIMENTAL_TYPE_USED", +"EXTERNAL_API_WARNING", +"FIELD_VALUE_OVERRIDEN", +"INJECTED_KERNELS_DEPRECATED", +"INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", +"LARGE_DEPLOYMENT_WARNING", +"LIST_OVERHEAD_QUOTA_EXCEED", +"MISSING_TYPE_DEPENDENCY", +"NEXT_HOP_ADDRESS_NOT_ASSIGNED", +"NEXT_HOP_CANNOT_IP_FORWARD", +"NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", +"NEXT_HOP_INSTANCE_NOT_FOUND", +"NEXT_HOP_INSTANCE_NOT_ON_NETWORK", +"NEXT_HOP_NOT_RUNNING", +"NOT_CRITICAL_ERROR", +"NO_RESULTS_ON_PAGE", +"PARTIAL_SUCCESS", +"QUOTA_INFO_UNAVAILABLE", +"REQUIRED_TOS_AGREEMENT", +"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", +"RESOURCE_NOT_DELETED", +"SCHEMA_VALIDATION_IGNORED", +"SINGLE_INSTANCE_PROPERTY_TEMPLATE", +"UNDECLARED_PROPERTIES", +"UNREACHABLE" +], +"enumDeprecated": [ +false, +false, +false, +false, +false, +false, +true, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false +], +"enumDescriptions": [ +"Warning about failed cleanup of transient changes made by a failed\noperation.", +"A link to a deprecated resource was created.", +"When deploying and at least one of the resources has a type marked as\ndeprecated", +"The user created a boot disk that is larger than image size.", +"When deploying and at least one of the resources has a type marked as\nexperimental", +"Warning that is present in an external api call", +"Warning that value of a field has been overridden.\nDeprecated unused field.", +"The operation involved use of an injected kernel, which is deprecated.", +"A WEIGHTED_MAGLEV backend service is associated with a health check that is\nnot of type HTTP/HTTPS/HTTP2.", +"When deploying a deployment with a exceedingly large number of resources", +"Resource can't be retrieved due to list overhead quota exceed\nwhich captures the amount of resources filtered out by\nuser-defined list filter.", +"A resource depends on a missing type", +"The route's nextHopIp address is not assigned to an instance on the\nnetwork.", +"The route's next hop instance cannot ip forward.", +"The route's nextHopInstance URL refers to an instance that does not have an\nipv6 interface on the same network as the route.", +"The route's nextHopInstance URL refers to an instance that does not exist.", +"The route's nextHopInstance URL refers to an instance that is not on the\nsame network as the route.", +"The route's next hop instance does not have a status of RUNNING.", +"Error which is not critical. We decided to continue the process despite\nthe mentioned error.", +"No results are present on a particular list page.", +"Success is reported, but some results may be missing due to errors", +"Quota information is not available to client requests (e.g:\nregions.list).", +"The user attempted to use a resource that requires a TOS they have not\naccepted.", +"Warning that a resource is in use.", +"One or more of the resources set to auto-delete could not be deleted\nbecause they were in use.", +"When a resource schema validation is ignored.", +"Instance template used in instance group manager is valid as such, but\nits application does not make a lot of sense, because it allows only\nsingle instance in instance group.", +"When undeclared properties in the schema are present", +"A given scope cannot be reached." +], +"type": "string" +}, +"data": { +"description": "[Output Only] Metadata about this warning in key:\nvalue format. For example:\n\n\"data\": [\n {\n \"key\": \"scope\",\n \"value\": \"zones/us-east1-d\"\n }", +"items": { +"properties": { +"key": { +"description": "[Output Only] A key that provides more detail on the warning being\nreturned. For example, for warnings where there are no results in a list\nrequest for a particular zone, this key might be scope and\nthe key value might be the zone name. Other examples might be a key\nindicating a deprecated resource and a suggested replacement, or a\nwarning about invalid network settings (for example, if an instance\nattempts to perform IP forwarding but is not enabled for IP forwarding).", +"type": "string" +}, +"value": { +"description": "[Output Only] A warning data value corresponding to the key.", +"type": "string" +} +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "[Output Only] A human-readable description of the warning code.", +"type": "string" +} +}, +"type": "object" +} +}, +"type": "object" +}, +"SslPoliciesList": { +"id": "SslPoliciesList", +"properties": { +"id": { +"description": "Output only. [Output Only] Unique identifier for the resource; defined by the server.", +"readOnly": true, +"type": "string" +}, +"items": { +"description": "Output only. A list of SslPolicy resources.", +"items": { +"$ref": "SslPolicy" +}, +"readOnly": true, +"type": "array" +}, +"kind": { +"default": "compute#sslPoliciesList", +"description": "Output only. [Output Only] Type of the resource. Alwayscompute#sslPoliciesList for lists of sslPolicies.", +"readOnly": true, +"type": "string" +}, +"nextPageToken": { +"description": "Output only. [Output Only] This token allows you to get the next page of results for\nlist requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for\nthe query parameter pageToken in the next list request.\nSubsequent list requests will have their own nextPageToken to\ncontinue paging through the results.", +"readOnly": true, +"type": "string" +}, +"selfLink": { +"description": "Output only. [Output Only] Server-defined URL for this resource.", +"readOnly": true, +"type": "string" +}, +"warning": { +"description": "[Output Only] Informational warning message.", +"properties": { +"code": { +"description": "[Output Only] A warning code, if applicable. For example, Compute\nEngine returns NO_RESULTS_ON_PAGE if there\nare no results in the response.", +"enum": [ +"CLEANUP_FAILED", +"DEPRECATED_RESOURCE_USED", +"DEPRECATED_TYPE_USED", +"DISK_SIZE_LARGER_THAN_IMAGE_SIZE", +"EXPERIMENTAL_TYPE_USED", +"EXTERNAL_API_WARNING", +"FIELD_VALUE_OVERRIDEN", +"INJECTED_KERNELS_DEPRECATED", +"INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", +"LARGE_DEPLOYMENT_WARNING", +"LIST_OVERHEAD_QUOTA_EXCEED", +"MISSING_TYPE_DEPENDENCY", +"NEXT_HOP_ADDRESS_NOT_ASSIGNED", +"NEXT_HOP_CANNOT_IP_FORWARD", +"NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", +"NEXT_HOP_INSTANCE_NOT_FOUND", +"NEXT_HOP_INSTANCE_NOT_ON_NETWORK", +"NEXT_HOP_NOT_RUNNING", +"NOT_CRITICAL_ERROR", +"NO_RESULTS_ON_PAGE", +"PARTIAL_SUCCESS", +"QUOTA_INFO_UNAVAILABLE", +"REQUIRED_TOS_AGREEMENT", +"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", +"RESOURCE_NOT_DELETED", +"SCHEMA_VALIDATION_IGNORED", +"SINGLE_INSTANCE_PROPERTY_TEMPLATE", +"UNDECLARED_PROPERTIES", +"UNREACHABLE" +], +"enumDeprecated": [ +false, +false, +false, +false, +false, +false, +true, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false +], +"enumDescriptions": [ +"Warning about failed cleanup of transient changes made by a failed\noperation.", +"A link to a deprecated resource was created.", +"When deploying and at least one of the resources has a type marked as\ndeprecated", +"The user created a boot disk that is larger than image size.", +"When deploying and at least one of the resources has a type marked as\nexperimental", +"Warning that is present in an external api call", +"Warning that value of a field has been overridden.\nDeprecated unused field.", +"The operation involved use of an injected kernel, which is deprecated.", +"A WEIGHTED_MAGLEV backend service is associated with a health check that is\nnot of type HTTP/HTTPS/HTTP2.", +"When deploying a deployment with a exceedingly large number of resources", +"Resource can't be retrieved due to list overhead quota exceed\nwhich captures the amount of resources filtered out by\nuser-defined list filter.", +"A resource depends on a missing type", +"The route's nextHopIp address is not assigned to an instance on the\nnetwork.", +"The route's next hop instance cannot ip forward.", +"The route's nextHopInstance URL refers to an instance that does not have an\nipv6 interface on the same network as the route.", +"The route's nextHopInstance URL refers to an instance that does not exist.", +"The route's nextHopInstance URL refers to an instance that is not on the\nsame network as the route.", +"The route's next hop instance does not have a status of RUNNING.", +"Error which is not critical. We decided to continue the process despite\nthe mentioned error.", +"No results are present on a particular list page.", +"Success is reported, but some results may be missing due to errors", +"Quota information is not available to client requests (e.g:\nregions.list).", +"The user attempted to use a resource that requires a TOS they have not\naccepted.", +"Warning that a resource is in use.", +"One or more of the resources set to auto-delete could not be deleted\nbecause they were in use.", +"When a resource schema validation is ignored.", +"Instance template used in instance group manager is valid as such, but\nits application does not make a lot of sense, because it allows only\nsingle instance in instance group.", +"When undeclared properties in the schema are present", +"A given scope cannot be reached." +], +"type": "string" +}, +"data": { +"description": "[Output Only] Metadata about this warning in key:\nvalue format. For example:\n\n\"data\": [\n {\n \"key\": \"scope\",\n \"value\": \"zones/us-east1-d\"\n }", +"items": { +"properties": { +"key": { +"description": "[Output Only] A key that provides more detail on the warning being\nreturned. For example, for warnings where there are no results in a list\nrequest for a particular zone, this key might be scope and\nthe key value might be the zone name. Other examples might be a key\nindicating a deprecated resource and a suggested replacement, or a\nwarning about invalid network settings (for example, if an instance\nattempts to perform IP forwarding but is not enabled for IP forwarding).", +"type": "string" +}, +"value": { +"description": "[Output Only] A warning data value corresponding to the key.", +"type": "string" +} +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "[Output Only] A human-readable description of the warning code.", +"type": "string" +} +}, +"type": "object" +} +}, +"type": "object" +}, +"SslPoliciesListAvailableFeaturesResponse": { +"id": "SslPoliciesListAvailableFeaturesResponse", +"properties": { +"features": { +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"SslPoliciesScopedList": { +"id": "SslPoliciesScopedList", +"properties": { +"sslPolicies": { +"description": "A list of SslPolicies contained in this scope.", +"items": { +"$ref": "SslPolicy" +}, +"type": "array" +}, +"warning": { +"description": "Informational warning which replaces the list of\nSSL policies when the list is empty.", +"properties": { +"code": { +"description": "[Output Only] A warning code, if applicable. For example, Compute\nEngine returns NO_RESULTS_ON_PAGE if there\nare no results in the response.", +"enum": [ +"CLEANUP_FAILED", +"DEPRECATED_RESOURCE_USED", +"DEPRECATED_TYPE_USED", +"DISK_SIZE_LARGER_THAN_IMAGE_SIZE", +"EXPERIMENTAL_TYPE_USED", +"EXTERNAL_API_WARNING", +"FIELD_VALUE_OVERRIDEN", +"INJECTED_KERNELS_DEPRECATED", +"INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", +"LARGE_DEPLOYMENT_WARNING", +"LIST_OVERHEAD_QUOTA_EXCEED", +"MISSING_TYPE_DEPENDENCY", +"NEXT_HOP_ADDRESS_NOT_ASSIGNED", +"NEXT_HOP_CANNOT_IP_FORWARD", +"NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", +"NEXT_HOP_INSTANCE_NOT_FOUND", +"NEXT_HOP_INSTANCE_NOT_ON_NETWORK", +"NEXT_HOP_NOT_RUNNING", +"NOT_CRITICAL_ERROR", +"NO_RESULTS_ON_PAGE", +"PARTIAL_SUCCESS", +"QUOTA_INFO_UNAVAILABLE", +"REQUIRED_TOS_AGREEMENT", +"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", +"RESOURCE_NOT_DELETED", +"SCHEMA_VALIDATION_IGNORED", +"SINGLE_INSTANCE_PROPERTY_TEMPLATE", +"UNDECLARED_PROPERTIES", +"UNREACHABLE" +], +"enumDeprecated": [ +false, +false, +false, +false, +false, +false, +true, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false +], +"enumDescriptions": [ +"Warning about failed cleanup of transient changes made by a failed\noperation.", +"A link to a deprecated resource was created.", +"When deploying and at least one of the resources has a type marked as\ndeprecated", +"The user created a boot disk that is larger than image size.", +"When deploying and at least one of the resources has a type marked as\nexperimental", +"Warning that is present in an external api call", +"Warning that value of a field has been overridden.\nDeprecated unused field.", +"The operation involved use of an injected kernel, which is deprecated.", +"A WEIGHTED_MAGLEV backend service is associated with a health check that is\nnot of type HTTP/HTTPS/HTTP2.", +"When deploying a deployment with a exceedingly large number of resources", +"Resource can't be retrieved due to list overhead quota exceed\nwhich captures the amount of resources filtered out by\nuser-defined list filter.", +"A resource depends on a missing type", +"The route's nextHopIp address is not assigned to an instance on the\nnetwork.", +"The route's next hop instance cannot ip forward.", +"The route's nextHopInstance URL refers to an instance that does not have an\nipv6 interface on the same network as the route.", +"The route's nextHopInstance URL refers to an instance that does not exist.", +"The route's nextHopInstance URL refers to an instance that is not on the\nsame network as the route.", +"The route's next hop instance does not have a status of RUNNING.", +"Error which is not critical. We decided to continue the process despite\nthe mentioned error.", +"No results are present on a particular list page.", +"Success is reported, but some results may be missing due to errors", +"Quota information is not available to client requests (e.g:\nregions.list).", +"The user attempted to use a resource that requires a TOS they have not\naccepted.", +"Warning that a resource is in use.", +"One or more of the resources set to auto-delete could not be deleted\nbecause they were in use.", +"When a resource schema validation is ignored.", +"Instance template used in instance group manager is valid as such, but\nits application does not make a lot of sense, because it allows only\nsingle instance in instance group.", +"When undeclared properties in the schema are present", +"A given scope cannot be reached." +], +"type": "string" +}, +"data": { +"description": "[Output Only] Metadata about this warning in key:\nvalue format. For example:\n\n\"data\": [\n {\n \"key\": \"scope\",\n \"value\": \"zones/us-east1-d\"\n }", +"items": { +"properties": { +"key": { +"description": "[Output Only] A key that provides more detail on the warning being\nreturned. For example, for warnings where there are no results in a list\nrequest for a particular zone, this key might be scope and\nthe key value might be the zone name. Other examples might be a key\nindicating a deprecated resource and a suggested replacement, or a\nwarning about invalid network settings (for example, if an instance\nattempts to perform IP forwarding but is not enabled for IP forwarding).", +"type": "string" +}, +"value": { +"description": "[Output Only] A warning data value corresponding to the key.", +"type": "string" +} +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "[Output Only] A human-readable description of the warning code.", +"type": "string" +} +}, +"type": "object" +} +}, +"type": "object" +}, +"SslPolicy": { +"description": "Represents an SSL Policy resource.\n\nUse SSL policies to control SSL features, such as versions and cipher\nsuites, that are offered by Application Load Balancers and proxy Network Load\nBalancers. For more information, read \nSSL policies overview.", +"id": "SslPolicy", +"properties": { +"creationTimestamp": { +"description": "Output only. [Output Only] Creation timestamp inRFC3339\ntext format.", +"readOnly": true, +"type": "string" +}, +"customFeatures": { +"description": "A list of features enabled when the selected profile is CUSTOM. The\n method returns the set of features that can be\nspecified in this list. This field must be empty if the profile is notCUSTOM.", +"items": { +"type": "string" +}, +"type": "array" +}, +"description": { +"description": "An optional description of this resource. Provide this property when you\ncreate the resource.", +"type": "string" +}, +"enabledFeatures": { +"description": "Output only. [Output Only] The list of features enabled in the SSL policy.", +"items": { +"type": "string" +}, +"readOnly": true, +"type": "array" +}, +"fingerprint": { +"description": "Fingerprint of this resource. A hash of the contents stored in this object.\nThis field is used in optimistic locking. This field will be ignored when\ninserting a SslPolicy. An up-to-date fingerprint must be\nprovided in order to update the SslPolicy, otherwise the\nrequest will fail with error 412 conditionNotMet.\n\nTo see the latest fingerprint, make a get() request to\nretrieve an SslPolicy.", +"format": "byte", +"type": "string" +}, +"id": { +"description": "Output only. [Output Only] The unique identifier for the resource. This identifier is\ndefined by the server.", +"format": "uint64", +"readOnly": true, +"type": "string" +}, +"kind": { +"default": "compute#sslPolicy", +"description": "Output only. [Output only] Type of the resource. Alwayscompute#sslPolicyfor SSL policies.", +"readOnly": true, +"type": "string" +}, +"minTlsVersion": { +"description": "The minimum version of SSL protocol that can be used by the clients to\nestablish a connection with the load balancer. This can be one ofTLS_1_0, TLS_1_1, TLS_1_2,TLS_1_3. When set to TLS_1_3, the profile field\nmust be set to RESTRICTED.", +"enum": [ +"TLS_1_0", +"TLS_1_1", +"TLS_1_2", +"TLS_1_3" +], +"enumDescriptions": [ +"TLS 1.0", +"TLS 1.1", +"TLS 1.2", +"TLS 1.3" +], +"type": "string" +}, +"name": { +"description": "Name of the resource. The name must be 1-63 characters long, and comply\nwith RFC1035. Specifically, the name must be 1-63 characters\nlong and match the regular expression\n`[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character\nmust be a lowercase letter, and all following characters must be a dash,\nlowercase letter, or digit, except the last character, which cannot be a\ndash.", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"type": "string" +}, +"profile": { +"description": "Profile specifies the set of SSL features that can be used by the load\nbalancer when negotiating SSL with clients. This can be one ofCOMPATIBLE, MODERN, RESTRICTED, orCUSTOM. If using CUSTOM, the set of SSL features\nto enable must be specified in the customFeatures field.", +"enum": [ +"COMPATIBLE", +"CUSTOM", +"FIPS_202205", +"MODERN", +"RESTRICTED" +], +"enumDescriptions": [ +"Compatible profile. Allows the broadset set of clients, even those which\nsupport only out-of-date SSL features to negotiate with the load\nbalancer.", +"Custom profile. Allow only the set of allowed SSL features specified in\nthe customFeatures field.", +"FIPS compatible profile. Supports a reduced set of SSL features,\nintended to meet FIPS 140-3 compliance requirements.", +"Modern profile. Supports a wide set of SSL features, allowing modern\nclients to negotiate SSL with the load balancer.", +"Restricted profile. Supports a reduced set of SSL features, intended to\nmeet stricter compliance requirements." +], +"type": "string" +}, +"region": { +"description": "Output only. [Output Only] URL of the region where the regional SSL policy\nresides. This field is not applicable to global SSL policies.", +"readOnly": true, +"type": "string" +}, +"selfLink": { +"description": "Output only. [Output Only] Server-defined URL for the resource.", +"readOnly": true, +"type": "string" +}, +"warnings": { +"description": "Output only. [Output Only] If potential misconfigurations are detected for this\nSSL policy, this field will be populated with warning messages.", +"items": { +"properties": { +"code": { +"description": "[Output Only] A warning code, if applicable. For example, Compute\nEngine returns NO_RESULTS_ON_PAGE if there\nare no results in the response.", +"enum": [ +"CLEANUP_FAILED", +"DEPRECATED_RESOURCE_USED", +"DEPRECATED_TYPE_USED", +"DISK_SIZE_LARGER_THAN_IMAGE_SIZE", +"EXPERIMENTAL_TYPE_USED", +"EXTERNAL_API_WARNING", +"FIELD_VALUE_OVERRIDEN", +"INJECTED_KERNELS_DEPRECATED", +"INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", +"LARGE_DEPLOYMENT_WARNING", +"LIST_OVERHEAD_QUOTA_EXCEED", +"MISSING_TYPE_DEPENDENCY", +"NEXT_HOP_ADDRESS_NOT_ASSIGNED", +"NEXT_HOP_CANNOT_IP_FORWARD", +"NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", +"NEXT_HOP_INSTANCE_NOT_FOUND", +"NEXT_HOP_INSTANCE_NOT_ON_NETWORK", +"NEXT_HOP_NOT_RUNNING", +"NOT_CRITICAL_ERROR", +"NO_RESULTS_ON_PAGE", +"PARTIAL_SUCCESS", +"QUOTA_INFO_UNAVAILABLE", +"REQUIRED_TOS_AGREEMENT", +"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", +"RESOURCE_NOT_DELETED", +"SCHEMA_VALIDATION_IGNORED", +"SINGLE_INSTANCE_PROPERTY_TEMPLATE", +"UNDECLARED_PROPERTIES", +"UNREACHABLE" +], +"enumDeprecated": [ +false, +false, +false, +false, +false, +false, +true, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false +], +"enumDescriptions": [ +"Warning about failed cleanup of transient changes made by a failed\noperation.", +"A link to a deprecated resource was created.", +"When deploying and at least one of the resources has a type marked as\ndeprecated", +"The user created a boot disk that is larger than image size.", +"When deploying and at least one of the resources has a type marked as\nexperimental", +"Warning that is present in an external api call", +"Warning that value of a field has been overridden.\nDeprecated unused field.", +"The operation involved use of an injected kernel, which is deprecated.", +"A WEIGHTED_MAGLEV backend service is associated with a health check that is\nnot of type HTTP/HTTPS/HTTP2.", +"When deploying a deployment with a exceedingly large number of resources", +"Resource can't be retrieved due to list overhead quota exceed\nwhich captures the amount of resources filtered out by\nuser-defined list filter.", +"A resource depends on a missing type", +"The route's nextHopIp address is not assigned to an instance on the\nnetwork.", +"The route's next hop instance cannot ip forward.", +"The route's nextHopInstance URL refers to an instance that does not have an\nipv6 interface on the same network as the route.", +"The route's nextHopInstance URL refers to an instance that does not exist.", +"The route's nextHopInstance URL refers to an instance that is not on the\nsame network as the route.", +"The route's next hop instance does not have a status of RUNNING.", +"Error which is not critical. We decided to continue the process despite\nthe mentioned error.", +"No results are present on a particular list page.", +"Success is reported, but some results may be missing due to errors", +"Quota information is not available to client requests (e.g:\nregions.list).", +"The user attempted to use a resource that requires a TOS they have not\naccepted.", +"Warning that a resource is in use.", +"One or more of the resources set to auto-delete could not be deleted\nbecause they were in use.", +"When a resource schema validation is ignored.", +"Instance template used in instance group manager is valid as such, but\nits application does not make a lot of sense, because it allows only\nsingle instance in instance group.", +"When undeclared properties in the schema are present", +"A given scope cannot be reached." +], +"type": "string" +}, +"data": { +"description": "[Output Only] Metadata about this warning in key:\nvalue format. For example:\n\n\"data\": [\n {\n \"key\": \"scope\",\n \"value\": \"zones/us-east1-d\"\n }", +"items": { +"properties": { +"key": { +"description": "[Output Only] A key that provides more detail on the warning being\nreturned. For example, for warnings where there are no results in a list\nrequest for a particular zone, this key might be scope and\nthe key value might be the zone name. Other examples might be a key\nindicating a deprecated resource and a suggested replacement, or a\nwarning about invalid network settings (for example, if an instance\nattempts to perform IP forwarding but is not enabled for IP forwarding).", +"type": "string" +}, +"value": { +"description": "[Output Only] A warning data value corresponding to the key.", +"type": "string" +} +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "[Output Only] A human-readable description of the warning code.", +"type": "string" +} +}, +"type": "object" +}, +"readOnly": true, +"type": "array" +} +}, +"type": "object" +}, +"SslPolicyReference": { +"id": "SslPolicyReference", +"properties": { +"sslPolicy": { +"description": "URL of the SSL policy resource. Set this to empty string to clear any\nexisting SSL policy associated with the target proxy resource.", +"type": "string" +} +}, +"type": "object" +}, +"StatefulPolicy": { +"id": "StatefulPolicy", +"properties": { +"preservedState": { +"$ref": "StatefulPolicyPreservedState" +} +}, +"type": "object" +}, +"StatefulPolicyPreservedState": { +"description": "Configuration of preserved resources.", +"id": "StatefulPolicyPreservedState", +"properties": { +"disks": { +"additionalProperties": { +"$ref": "StatefulPolicyPreservedStateDiskDevice" +}, +"description": "Disks created on the instances that will be preserved on instance\ndelete, update, etc. This map is keyed with the device names of\nthe disks.", +"type": "object" +}, +"externalIPs": { +"additionalProperties": { +"$ref": "StatefulPolicyPreservedStateNetworkIp" +}, +"description": "External network IPs assigned to the instances that will be preserved on\ninstance delete, update, etc. This map is keyed with the network\ninterface name.", +"type": "object" +}, +"internalIPs": { +"additionalProperties": { +"$ref": "StatefulPolicyPreservedStateNetworkIp" +}, +"description": "Internal network IPs assigned to the instances that will be preserved on\ninstance delete, update, etc. This map is keyed with the network\ninterface name.", +"type": "object" +} +}, +"type": "object" +}, +"StatefulPolicyPreservedStateDiskDevice": { +"id": "StatefulPolicyPreservedStateDiskDevice", +"properties": { +"autoDelete": { +"description": "These stateful disks will never be deleted during autohealing,\nupdate or VM instance recreate operations.\nThis flag is used to configure if the disk should be deleted after it\nis no longer used by the group, e.g. when the given instance or\nthe whole group is deleted. Note: disks attached inREAD_ONLY mode cannot be auto-deleted.", +"enum": [ +"NEVER", +"ON_PERMANENT_INSTANCE_DELETION" +], +"enumDescriptions": [ +"", +"" +], +"type": "string" +} +}, +"type": "object" +}, +"StatefulPolicyPreservedStateNetworkIp": { +"id": "StatefulPolicyPreservedStateNetworkIp", +"properties": { +"autoDelete": { +"description": "These stateful IPs will never be released during autohealing,\nupdate or VM instance recreate operations.\nThis flag is used to configure if the IP reservation should be deleted\nafter it is no longer used by the group, e.g. when the given instance\nor the whole group is deleted.", +"enum": [ +"NEVER", +"ON_PERMANENT_INSTANCE_DELETION" +], +"enumDescriptions": [ +"", +"" +], +"type": "string" +} +}, +"type": "object" +}, +"Status": { +"description": "The `Status` type defines a logical error model that is suitable for\ndifferent programming environments, including REST APIs and RPC APIs. It is\nused by [gRPC](https://github.com/grpc). Each `Status` message contains\nthree pieces of data: error code, error message, and error details.\n\nYou can find out more about this error model and how to work with it in the\n[API Design Guide](https://cloud.google.com/apis/design/errors).", +"id": "Status", +"properties": { +"code": { +"description": "The status code, which should be an enum value of google.rpc.Code.", +"format": "int32", +"type": "integer" +}, +"details": { +"description": "A list of messages that carry the error details. There is a common set of\nmessage types for APIs to use.", +"items": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"format": "google.protobuf.Any", +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "A developer-facing error message, which should be in English. Any\nuser-facing error message should be localized and sent in the\ngoogle.rpc.Status.details field, or localized by the client.", +"type": "string" +} +}, +"type": "object" +}, +"StoragePool": { +"description": "Represents a zonal storage pool resource.", +"id": "StoragePool", +"properties": { +"capacityProvisioningType": { +"description": "Provisioning type of the byte capacity of the pool.", +"enum": [ +"ADVANCED", +"STANDARD", +"UNSPECIFIED" +], +"enumDescriptions": [ +"Advanced provisioning \"thinly\" allocates the related resource.", +"Standard provisioning allocates the related resource for the pool\ndisks' exclusive use.", +"" +], +"type": "string" +}, +"creationTimestamp": { +"description": "Output only. [Output Only] Creation timestamp inRFC3339\ntext format.", +"readOnly": true, +"type": "string" +}, +"description": { +"description": "An optional description of this resource. Provide this property when you\ncreate the resource.", +"type": "string" +}, +"exapoolProvisionedCapacityGb": { +"$ref": "StoragePoolExapoolProvisionedCapacityGb", +"description": "Output only. [Output Only] Provisioned capacities for each SKU for this Exapool in GiB", +"readOnly": true +}, +"id": { +"description": "Output only. [Output Only] The unique identifier for the resource. This identifier is\ndefined by the server.", +"format": "uint64", +"readOnly": true, +"type": "string" +}, +"kind": { +"default": "compute#storagePool", +"description": "Output only. [Output Only] Type of the resource. Always compute#storagePool\nfor storage pools.", +"readOnly": true, +"type": "string" +}, +"labelFingerprint": { +"description": "A fingerprint for the labels being applied to this storage pool, which is\nessentially a hash of the labels set used for optimistic locking. The\nfingerprint is initially generated by Compute Engine and changes after\nevery request to modify or update labels. You must always provide an\nup-to-date fingerprint hash in order to update or change labels,\notherwise the request will fail with error412 conditionNotMet.\n\nTo see the latest fingerprint, make a get() request to\nretrieve a storage pool.", +"format": "byte", +"type": "string" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Labels to apply to this storage pool. These can be later modified by\nthe setLabels method.", +"type": "object" +}, +"name": { +"annotations": { +"required": [ +"compute.storagePools.insert" +] +}, +"description": "Name of the resource. Provided by the client when the resource is created.\nThe name must be 1-63 characters long, and comply withRFC1035.\nSpecifically, the name must be 1-63 characters long and match the regular\nexpression `[a-z]([-a-z0-9]*[a-z0-9])?`\nwhich means the first character must be a lowercase letter, and all\nfollowing characters must be a dash, lowercase letter, or digit, except\nthe last character, which cannot be a dash.", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"type": "string" +}, +"params": { +"$ref": "StoragePoolParams", +"description": "Input only. Additional params passed with the request, but not persisted\nas part of resource payload." +}, +"performanceProvisioningType": { +"description": "Provisioning type of the performance-related parameters of the pool,\nsuch as throughput and IOPS.", +"enum": [ +"ADVANCED", +"STANDARD", +"UNSPECIFIED" +], +"enumDescriptions": [ +"Advanced provisioning \"thinly\" allocates the related resource.", +"Standard provisioning allocates the related resource for the pool\ndisks' exclusive use.", +"" +], +"type": "string" +}, +"poolProvisionedCapacityGb": { +"annotations": { +"required": [ +"compute.storagePools.insert" +] +}, +"description": "Size of the storage pool in GiB. For more information about the size\nlimits, see https://cloud.google.com/compute/docs/disks/storage-pools.", +"format": "int64", +"type": "string" +}, +"poolProvisionedIops": { +"description": "Provisioned IOPS of the storage pool. Only relevant if the storage pool\ntype is hyperdisk-balanced.", +"format": "int64", +"type": "string" +}, +"poolProvisionedThroughput": { +"description": "Provisioned throughput of the storage pool in MiB/s. Only relevant if the\nstorage pool type is hyperdisk-balanced or hyperdisk-throughput.", +"format": "int64", +"type": "string" +}, +"resourceStatus": { +"$ref": "StoragePoolResourceStatus", +"description": "Output only. [Output Only] Status information for the storage pool resource.", +"readOnly": true +}, +"selfLink": { +"description": "Output only. [Output Only] Server-defined fully-qualified URL for this resource.", +"readOnly": true, +"type": "string" +}, +"selfLinkWithId": { +"description": "Output only. [Output Only] Server-defined URL for this resource's resource id.", +"readOnly": true, +"type": "string" +}, +"state": { +"description": "Output only. [Output Only] The status of storage pool creation.\n \n \n - CREATING: Storage pool is provisioning.\n storagePool.\n - FAILED: Storage pool creation failed.\n - READY: Storage pool is ready for use.\n - DELETING: Storage pool is deleting.", +"enum": [ +"CREATING", +"DELETING", +"FAILED", +"READY" +], +"enumDescriptions": [ +"StoragePool is provisioning", +"StoragePool is deleting.", +"StoragePool creation failed.", +"StoragePool is ready for use." +], +"readOnly": true, +"type": "string" +}, +"status": { +"$ref": "StoragePoolResourceStatus", +"description": "Output only. [Output Only] Status information for the storage pool resource.", +"readOnly": true +}, +"storagePoolType": { +"description": "Type of the storage pool.", +"type": "string" +}, +"zone": { +"description": "Output only. [Output Only] URL of the zone where the storage pool resides.\nYou must specify this field as part of the HTTP request URL. It is\nnot settable as a field in the request body.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"StoragePoolAggregatedList": { +"id": "StoragePoolAggregatedList", +"properties": { +"etag": { +"type": "string" +}, +"id": { +"description": "[Output Only] Unique identifier for the resource; defined by the server.", +"type": "string" +}, +"items": { +"additionalProperties": { +"$ref": "StoragePoolsScopedList", +"description": "[Output Only] Name of the scope containing this set of storage pool." +}, +"description": "A list of StoragePoolsScopedList resources.", +"type": "object" +}, +"kind": { +"default": "compute#storagePoolAggregatedList", +"description": "Output only. [Output Only] Type of resource. Alwayscompute#storagePoolAggregatedList for aggregated lists of\nstorage pools.", +"readOnly": true, +"type": "string" +}, +"nextPageToken": { +"description": "[Output Only] This token allows you to get the next page of results for\nlist requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for\nthe query parameter pageToken in the next list request.\nSubsequent list requests will have their own nextPageToken to\ncontinue paging through the results.", +"type": "string" +}, +"selfLink": { +"description": "Output only. [Output Only] Server-defined URL for this resource.", +"readOnly": true, +"type": "string" +}, +"unreachables": { +"description": "Output only. [Output Only] Unreachable resources.", +"items": { +"type": "string" +}, +"readOnly": true, +"type": "array" +}, +"warning": { +"description": "[Output Only] Informational warning message.", +"properties": { +"code": { +"description": "[Output Only] A warning code, if applicable. For example, Compute\nEngine returns NO_RESULTS_ON_PAGE if there\nare no results in the response.", +"enum": [ +"CLEANUP_FAILED", +"DEPRECATED_RESOURCE_USED", +"DEPRECATED_TYPE_USED", +"DISK_SIZE_LARGER_THAN_IMAGE_SIZE", +"EXPERIMENTAL_TYPE_USED", +"EXTERNAL_API_WARNING", +"FIELD_VALUE_OVERRIDEN", +"INJECTED_KERNELS_DEPRECATED", +"INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", +"LARGE_DEPLOYMENT_WARNING", +"LIST_OVERHEAD_QUOTA_EXCEED", +"MISSING_TYPE_DEPENDENCY", +"NEXT_HOP_ADDRESS_NOT_ASSIGNED", +"NEXT_HOP_CANNOT_IP_FORWARD", +"NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", +"NEXT_HOP_INSTANCE_NOT_FOUND", +"NEXT_HOP_INSTANCE_NOT_ON_NETWORK", +"NEXT_HOP_NOT_RUNNING", +"NOT_CRITICAL_ERROR", +"NO_RESULTS_ON_PAGE", +"PARTIAL_SUCCESS", +"QUOTA_INFO_UNAVAILABLE", +"REQUIRED_TOS_AGREEMENT", +"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", +"RESOURCE_NOT_DELETED", +"SCHEMA_VALIDATION_IGNORED", +"SINGLE_INSTANCE_PROPERTY_TEMPLATE", +"UNDECLARED_PROPERTIES", +"UNREACHABLE" +], +"enumDeprecated": [ +false, +false, +false, +false, +false, +false, +true, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false +], +"enumDescriptions": [ +"Warning about failed cleanup of transient changes made by a failed\noperation.", +"A link to a deprecated resource was created.", +"When deploying and at least one of the resources has a type marked as\ndeprecated", +"The user created a boot disk that is larger than image size.", +"When deploying and at least one of the resources has a type marked as\nexperimental", +"Warning that is present in an external api call", +"Warning that value of a field has been overridden.\nDeprecated unused field.", +"The operation involved use of an injected kernel, which is deprecated.", +"A WEIGHTED_MAGLEV backend service is associated with a health check that is\nnot of type HTTP/HTTPS/HTTP2.", +"When deploying a deployment with a exceedingly large number of resources", +"Resource can't be retrieved due to list overhead quota exceed\nwhich captures the amount of resources filtered out by\nuser-defined list filter.", +"A resource depends on a missing type", +"The route's nextHopIp address is not assigned to an instance on the\nnetwork.", +"The route's next hop instance cannot ip forward.", +"The route's nextHopInstance URL refers to an instance that does not have an\nipv6 interface on the same network as the route.", +"The route's nextHopInstance URL refers to an instance that does not exist.", +"The route's nextHopInstance URL refers to an instance that is not on the\nsame network as the route.", +"The route's next hop instance does not have a status of RUNNING.", +"Error which is not critical. We decided to continue the process despite\nthe mentioned error.", +"No results are present on a particular list page.", +"Success is reported, but some results may be missing due to errors", +"Quota information is not available to client requests (e.g:\nregions.list).", +"The user attempted to use a resource that requires a TOS they have not\naccepted.", +"Warning that a resource is in use.", +"One or more of the resources set to auto-delete could not be deleted\nbecause they were in use.", +"When a resource schema validation is ignored.", +"Instance template used in instance group manager is valid as such, but\nits application does not make a lot of sense, because it allows only\nsingle instance in instance group.", +"When undeclared properties in the schema are present", +"A given scope cannot be reached." +], +"type": "string" +}, +"data": { +"description": "[Output Only] Metadata about this warning in key:\nvalue format. For example:\n\n\"data\": [\n {\n \"key\": \"scope\",\n \"value\": \"zones/us-east1-d\"\n }", +"items": { +"properties": { +"key": { +"description": "[Output Only] A key that provides more detail on the warning being\nreturned. For example, for warnings where there are no results in a list\nrequest for a particular zone, this key might be scope and\nthe key value might be the zone name. Other examples might be a key\nindicating a deprecated resource and a suggested replacement, or a\nwarning about invalid network settings (for example, if an instance\nattempts to perform IP forwarding but is not enabled for IP forwarding).", +"type": "string" +}, +"value": { +"description": "[Output Only] A warning data value corresponding to the key.", +"type": "string" +} +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "[Output Only] A human-readable description of the warning code.", +"type": "string" +} +}, +"type": "object" +} +}, +"type": "object" +}, +"StoragePoolDisk": { +"id": "StoragePoolDisk", +"properties": { +"attachedInstances": { +"description": "Output only. [Output Only] Instances this disk is attached to.", +"items": { +"type": "string" +}, +"readOnly": true, +"type": "array" +}, +"creationTimestamp": { +"description": "Output only. [Output Only] Creation timestamp inRFC3339\ntext format.", +"readOnly": true, +"type": "string" +}, +"disk": { +"description": "Output only. [Output Only] The URL of the disk.", +"readOnly": true, +"type": "string" +}, +"name": { +"description": "Output only. [Output Only] The name of the disk.", +"readOnly": true, +"type": "string" +}, +"provisionedIops": { +"description": "Output only. [Output Only] The number of IOPS provisioned for the disk.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"provisionedThroughput": { +"description": "Output only. [Output Only] The throughput provisioned for the disk.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"resourcePolicies": { +"description": "Output only. [Output Only] Resource policies applied to disk for automatic snapshot\ncreations.", +"items": { +"type": "string" +}, +"readOnly": true, +"type": "array" +}, +"sizeGb": { +"description": "Output only. [Output Only] The disk size, in GB.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"status": { +"description": "Output only. [Output Only] The disk status.", +"enum": [ +"CREATING", +"DELETING", +"FAILED", +"READY", +"RESTORING", +"UNAVAILABLE" +], +"enumDescriptions": [ +"Disk is provisioning", +"Disk is deleting.", +"Disk creation failed.", +"Disk is ready for use.", +"Source data is being copied into the disk.", +"Disk is currently unavailable and cannot be accessed, attached or\ndetached." +], +"readOnly": true, +"type": "string" +}, +"type": { +"description": "Output only. [Output Only] The disk type.", +"readOnly": true, +"type": "string" +}, +"usedBytes": { +"description": "Output only. [Output Only] Amount of disk space used.", +"format": "int64", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"StoragePoolExapoolProvisionedCapacityGb": { +"description": "Exapool provisioned capacities for each SKU type", +"id": "StoragePoolExapoolProvisionedCapacityGb", +"properties": { +"capacityOptimized": { +"description": "Size, in GiB, of provisioned capacity-optimized capacity for this Exapool", +"format": "int64", +"type": "string" +}, +"readOptimized": { +"description": "Size, in GiB, of provisioned read-optimized capacity for this Exapool", +"format": "int64", +"type": "string" +}, +"writeOptimized": { +"description": "Size, in GiB, of provisioned write-optimized capacity for this Exapool", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"StoragePoolList": { +"description": "A list of StoragePool resources.", +"id": "StoragePoolList", +"properties": { +"etag": { +"type": "string" +}, +"id": { +"description": "[Output Only] Unique identifier for the resource; defined by the server.", +"type": "string" +}, +"items": { +"description": "A list of StoragePool resources.", +"items": { +"$ref": "StoragePool" +}, +"type": "array" +}, +"kind": { +"default": "compute#storagePoolList", +"description": "Output only. [Output Only] Type of resource. Always compute#storagePoolList\nfor lists of storagePools.", +"readOnly": true, +"type": "string" +}, +"nextPageToken": { +"description": "[Output Only] This token allows you to get the next page of results for\nlist requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for\nthe query parameter pageToken in the next list request.\nSubsequent list requests will have their own nextPageToken to\ncontinue paging through the results.", +"type": "string" +}, +"selfLink": { +"description": "Output only. [Output Only] Server-defined URL for this resource.", +"readOnly": true, +"type": "string" +}, +"unreachables": { +"description": "Output only. [Output Only] Unreachable resources.\nend_interface: MixerListResponseWithEtagBuilder", +"items": { +"type": "string" +}, +"readOnly": true, +"type": "array" +}, +"warning": { +"description": "[Output Only] Informational warning message.", +"properties": { +"code": { +"description": "[Output Only] A warning code, if applicable. For example, Compute\nEngine returns NO_RESULTS_ON_PAGE if there\nare no results in the response.", +"enum": [ +"CLEANUP_FAILED", +"DEPRECATED_RESOURCE_USED", +"DEPRECATED_TYPE_USED", +"DISK_SIZE_LARGER_THAN_IMAGE_SIZE", +"EXPERIMENTAL_TYPE_USED", +"EXTERNAL_API_WARNING", +"FIELD_VALUE_OVERRIDEN", +"INJECTED_KERNELS_DEPRECATED", +"INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", +"LARGE_DEPLOYMENT_WARNING", +"LIST_OVERHEAD_QUOTA_EXCEED", +"MISSING_TYPE_DEPENDENCY", +"NEXT_HOP_ADDRESS_NOT_ASSIGNED", +"NEXT_HOP_CANNOT_IP_FORWARD", +"NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", +"NEXT_HOP_INSTANCE_NOT_FOUND", +"NEXT_HOP_INSTANCE_NOT_ON_NETWORK", +"NEXT_HOP_NOT_RUNNING", +"NOT_CRITICAL_ERROR", +"NO_RESULTS_ON_PAGE", +"PARTIAL_SUCCESS", +"QUOTA_INFO_UNAVAILABLE", +"REQUIRED_TOS_AGREEMENT", +"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", +"RESOURCE_NOT_DELETED", +"SCHEMA_VALIDATION_IGNORED", +"SINGLE_INSTANCE_PROPERTY_TEMPLATE", +"UNDECLARED_PROPERTIES", +"UNREACHABLE" +], +"enumDeprecated": [ +false, +false, +false, +false, +false, +false, +true, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false +], +"enumDescriptions": [ +"Warning about failed cleanup of transient changes made by a failed\noperation.", +"A link to a deprecated resource was created.", +"When deploying and at least one of the resources has a type marked as\ndeprecated", +"The user created a boot disk that is larger than image size.", +"When deploying and at least one of the resources has a type marked as\nexperimental", +"Warning that is present in an external api call", +"Warning that value of a field has been overridden.\nDeprecated unused field.", +"The operation involved use of an injected kernel, which is deprecated.", +"A WEIGHTED_MAGLEV backend service is associated with a health check that is\nnot of type HTTP/HTTPS/HTTP2.", +"When deploying a deployment with a exceedingly large number of resources", +"Resource can't be retrieved due to list overhead quota exceed\nwhich captures the amount of resources filtered out by\nuser-defined list filter.", +"A resource depends on a missing type", +"The route's nextHopIp address is not assigned to an instance on the\nnetwork.", +"The route's next hop instance cannot ip forward.", +"The route's nextHopInstance URL refers to an instance that does not have an\nipv6 interface on the same network as the route.", +"The route's nextHopInstance URL refers to an instance that does not exist.", +"The route's nextHopInstance URL refers to an instance that is not on the\nsame network as the route.", +"The route's next hop instance does not have a status of RUNNING.", +"Error which is not critical. We decided to continue the process despite\nthe mentioned error.", +"No results are present on a particular list page.", +"Success is reported, but some results may be missing due to errors", +"Quota information is not available to client requests (e.g:\nregions.list).", +"The user attempted to use a resource that requires a TOS they have not\naccepted.", +"Warning that a resource is in use.", +"One or more of the resources set to auto-delete could not be deleted\nbecause they were in use.", +"When a resource schema validation is ignored.", +"Instance template used in instance group manager is valid as such, but\nits application does not make a lot of sense, because it allows only\nsingle instance in instance group.", +"When undeclared properties in the schema are present", +"A given scope cannot be reached." +], +"type": "string" +}, +"data": { +"description": "[Output Only] Metadata about this warning in key:\nvalue format. For example:\n\n\"data\": [\n {\n \"key\": \"scope\",\n \"value\": \"zones/us-east1-d\"\n }", +"items": { +"properties": { +"key": { +"description": "[Output Only] A key that provides more detail on the warning being\nreturned. For example, for warnings where there are no results in a list\nrequest for a particular zone, this key might be scope and\nthe key value might be the zone name. Other examples might be a key\nindicating a deprecated resource and a suggested replacement, or a\nwarning about invalid network settings (for example, if an instance\nattempts to perform IP forwarding but is not enabled for IP forwarding).", +"type": "string" +}, +"value": { +"description": "[Output Only] A warning data value corresponding to the key.", +"type": "string" +} +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "[Output Only] A human-readable description of the warning code.", +"type": "string" +} +}, +"type": "object" +} +}, +"type": "object" +}, +"StoragePoolListDisks": { +"id": "StoragePoolListDisks", +"properties": { +"etag": { +"type": "string" +}, +"id": { +"description": "Output only. [Output Only] Unique identifier for the resource; defined by the server.", +"readOnly": true, +"type": "string" +}, +"items": { +"description": "A list of StoragePoolDisk resources.", +"items": { +"$ref": "StoragePoolDisk" +}, +"type": "array" +}, +"kind": { +"default": "compute#storagePoolListDisks", +"description": "Output only. [Output Only] Type of resource. Alwayscompute#storagePoolListDisks for lists of disks in a\nstoragePool.", +"readOnly": true, +"type": "string" +}, +"nextPageToken": { +"description": "Output only. [Output Only] This token allows you to get the next page of results for\nlist requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for\nthe query parameter pageToken in the next list request.\nSubsequent list requests will have their own nextPageToken to\ncontinue paging through the results.", +"readOnly": true, +"type": "string" +}, +"selfLink": { +"description": "Output only. [Output Only] Server-defined URL for this resource.", +"readOnly": true, +"type": "string" +}, +"unreachables": { +"description": "Output only. [Output Only] Unreachable resources.\nend_interface: MixerListResponseWithEtagBuilder", +"items": { +"type": "string" +}, +"readOnly": true, +"type": "array" +}, +"warning": { +"description": "Output only. [Output Only] Informational warning message.", +"properties": { +"code": { +"description": "[Output Only] A warning code, if applicable. For example, Compute\nEngine returns NO_RESULTS_ON_PAGE if there\nare no results in the response.", +"enum": [ +"CLEANUP_FAILED", +"DEPRECATED_RESOURCE_USED", +"DEPRECATED_TYPE_USED", +"DISK_SIZE_LARGER_THAN_IMAGE_SIZE", +"EXPERIMENTAL_TYPE_USED", +"EXTERNAL_API_WARNING", +"FIELD_VALUE_OVERRIDEN", +"INJECTED_KERNELS_DEPRECATED", +"INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", +"LARGE_DEPLOYMENT_WARNING", +"LIST_OVERHEAD_QUOTA_EXCEED", +"MISSING_TYPE_DEPENDENCY", +"NEXT_HOP_ADDRESS_NOT_ASSIGNED", +"NEXT_HOP_CANNOT_IP_FORWARD", +"NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", +"NEXT_HOP_INSTANCE_NOT_FOUND", +"NEXT_HOP_INSTANCE_NOT_ON_NETWORK", +"NEXT_HOP_NOT_RUNNING", +"NOT_CRITICAL_ERROR", +"NO_RESULTS_ON_PAGE", +"PARTIAL_SUCCESS", +"QUOTA_INFO_UNAVAILABLE", +"REQUIRED_TOS_AGREEMENT", +"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", +"RESOURCE_NOT_DELETED", +"SCHEMA_VALIDATION_IGNORED", +"SINGLE_INSTANCE_PROPERTY_TEMPLATE", +"UNDECLARED_PROPERTIES", +"UNREACHABLE" +], +"enumDeprecated": [ +false, +false, +false, +false, +false, +false, +true, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false +], +"enumDescriptions": [ +"Warning about failed cleanup of transient changes made by a failed\noperation.", +"A link to a deprecated resource was created.", +"When deploying and at least one of the resources has a type marked as\ndeprecated", +"The user created a boot disk that is larger than image size.", +"When deploying and at least one of the resources has a type marked as\nexperimental", +"Warning that is present in an external api call", +"Warning that value of a field has been overridden.\nDeprecated unused field.", +"The operation involved use of an injected kernel, which is deprecated.", +"A WEIGHTED_MAGLEV backend service is associated with a health check that is\nnot of type HTTP/HTTPS/HTTP2.", +"When deploying a deployment with a exceedingly large number of resources", +"Resource can't be retrieved due to list overhead quota exceed\nwhich captures the amount of resources filtered out by\nuser-defined list filter.", +"A resource depends on a missing type", +"The route's nextHopIp address is not assigned to an instance on the\nnetwork.", +"The route's next hop instance cannot ip forward.", +"The route's nextHopInstance URL refers to an instance that does not have an\nipv6 interface on the same network as the route.", +"The route's nextHopInstance URL refers to an instance that does not exist.", +"The route's nextHopInstance URL refers to an instance that is not on the\nsame network as the route.", +"The route's next hop instance does not have a status of RUNNING.", +"Error which is not critical. We decided to continue the process despite\nthe mentioned error.", +"No results are present on a particular list page.", +"Success is reported, but some results may be missing due to errors", +"Quota information is not available to client requests (e.g:\nregions.list).", +"The user attempted to use a resource that requires a TOS they have not\naccepted.", +"Warning that a resource is in use.", +"One or more of the resources set to auto-delete could not be deleted\nbecause they were in use.", +"When a resource schema validation is ignored.", +"Instance template used in instance group manager is valid as such, but\nits application does not make a lot of sense, because it allows only\nsingle instance in instance group.", +"When undeclared properties in the schema are present", +"A given scope cannot be reached." +], +"type": "string" +}, +"data": { +"description": "[Output Only] Metadata about this warning in key:\nvalue format. For example:\n\n\"data\": [\n {\n \"key\": \"scope\",\n \"value\": \"zones/us-east1-d\"\n }", +"items": { +"properties": { +"key": { +"description": "[Output Only] A key that provides more detail on the warning being\nreturned. For example, for warnings where there are no results in a list\nrequest for a particular zone, this key might be scope and\nthe key value might be the zone name. Other examples might be a key\nindicating a deprecated resource and a suggested replacement, or a\nwarning about invalid network settings (for example, if an instance\nattempts to perform IP forwarding but is not enabled for IP forwarding).", +"type": "string" +}, +"value": { +"description": "[Output Only] A warning data value corresponding to the key.", +"type": "string" +} +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "[Output Only] A human-readable description of the warning code.", +"type": "string" +} +}, +"readOnly": true, +"type": "object" +} +}, +"type": "object" +}, +"StoragePoolParams": { +"description": "Additional storage pool params.", +"id": "StoragePoolParams", +"properties": { +"resourceManagerTags": { +"additionalProperties": { +"type": "string" +}, +"description": "Input only. Resource manager tags to be bound to the storage pool. Tag keys and values\nhave the same definition as resource\nmanager tags. Keys and values can be either in numeric format,\nsuch as `tagKeys/{tag_key_id}` and `tagValues/456` or in namespaced\nformat such as `{org_id|project_id}/{tag_key_short_name}` and\n`{tag_value_short_name}`. The field is ignored (both PUT &\nPATCH) when empty.", +"type": "object" +} +}, +"type": "object" +}, +"StoragePoolResourceStatus": { +"description": "[Output Only] Contains output only fields.", +"id": "StoragePoolResourceStatus", +"properties": { +"diskCount": { +"description": "[Output Only] Number of disks used.", +"format": "int64", +"type": "string" +}, +"exapoolMaxReadIops": { +"description": "Output only. [Output Only] Maximum allowed read IOPS for this Exapool.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"exapoolMaxReadThroughput": { +"description": "Output only. [Output Only] Maximum allowed read throughput in MiB/s for\nthis Exapool.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"exapoolMaxWriteIops": { +"description": "Output only. [Output Only] Maximum allowed write IOPS for this Exapool.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"exapoolMaxWriteThroughput": { +"description": "Output only. [Output Only] Maximum allowed write throughput in MiB/s\nfor this Exapool.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"lastResizeTimestamp": { +"description": "Output only. [Output Only] Timestamp of the last successful resize inRFC3339 text format.", +"readOnly": true, +"type": "string" +}, +"maxTotalProvisionedDiskCapacityGb": { +"description": "[Output Only] Maximum allowed aggregate disk size in GiB.", +"format": "int64", +"type": "string" +}, +"poolUsedCapacityBytes": { +"description": "[Output Only] Space used by data stored in disks within the storage pool\n(in bytes). This will reflect the total number of bytes written to the\ndisks in the pool, in contrast to the capacity of those disks.", +"format": "int64", +"type": "string" +}, +"poolUsedIops": { +"description": "[Output Only] Sum of all the disks' provisioned IOPS, minus some amount\nthat is allowed per disk that is not counted towards pool's IOPS\ncapacity. For more information, see\nhttps://cloud.google.com/compute/docs/disks/storage-pools.", +"format": "int64", +"type": "string" +}, +"poolUsedThroughput": { +"description": "[Output Only] Sum of all the disks' provisioned throughput in MiB/s.", +"format": "int64", +"type": "string" +}, +"poolUserWrittenBytes": { +"description": "[Output Only] Amount of data written into the pool, before it is\ncompacted.", +"format": "int64", +"type": "string" +}, +"totalProvisionedDiskCapacityGb": { +"description": "[Output Only] Sum of all the disks' provisioned capacity (in GiB) in\nthis storage pool. A disk's provisioned capacity is the same as its total\ncapacity.", +"format": "int64", +"type": "string" +}, +"totalProvisionedDiskIops": { +"description": "[Output Only] Sum of all the disks' provisioned IOPS.", +"format": "int64", +"type": "string" +}, +"totalProvisionedDiskThroughput": { +"description": "[Output Only] Sum of all the disks' provisioned throughput in MiB/s,\nminus some amount that is allowed per disk that is not counted towards\npool's throughput capacity.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"StoragePoolType": { +"id": "StoragePoolType", +"properties": { +"creationTimestamp": { +"description": "[Output Only] Creation timestamp inRFC3339\ntext format.", +"type": "string" +}, +"deprecated": { +"$ref": "DeprecationStatus", +"description": "[Output Only] The deprecation status associated with this storage pool\ntype." +}, +"description": { +"description": "[Output Only] An optional description of this resource.", +"type": "string" +}, +"id": { +"description": "[Output Only] The unique identifier for the resource. This identifier is\ndefined by the server.", +"format": "uint64", +"type": "string" +}, +"kind": { +"default": "compute#storagePoolType", +"description": "Output only. [Output Only] Type of the resource. Alwayscompute#storagePoolType for storage pool types.", +"readOnly": true, +"type": "string" +}, +"maxPoolProvisionedCapacityGb": { +"description": "[Output Only] Maximum storage pool size in GB.", +"format": "int64", +"type": "string" +}, +"maxPoolProvisionedIops": { +"description": "[Output Only] Maximum provisioned IOPS.", +"format": "int64", +"type": "string" +}, +"maxPoolProvisionedThroughput": { +"description": "[Output Only] Maximum provisioned throughput.", +"format": "int64", +"type": "string" +}, +"minPoolProvisionedCapacityGb": { +"description": "[Output Only] Minimum storage pool size in GB.", +"format": "int64", +"type": "string" +}, +"minPoolProvisionedIops": { +"description": "[Output Only] Minimum provisioned IOPS.", +"format": "int64", +"type": "string" +}, +"minPoolProvisionedThroughput": { +"description": "[Output Only] Minimum provisioned throughput.", +"format": "int64", +"type": "string" +}, +"minSizeGb": { +"description": "[Deprecated] This field is deprecated. Use minPoolProvisionedCapacityGb\ninstead.", +"format": "int64", +"type": "string" +}, +"name": { +"description": "[Output Only] Name of the resource.", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"type": "string" +}, +"selfLink": { +"description": "[Output Only] Server-defined URL for the resource.", +"type": "string" +}, +"selfLinkWithId": { +"description": "Output only. [Output Only] Server-defined URL for this resource with the resource id.", +"readOnly": true, +"type": "string" +}, +"supportedDiskTypes": { +"description": "[Output Only] The list of disk types supported in this storage pool type.", +"items": { +"type": "string" +}, +"type": "array" +}, +"zone": { +"description": "[Output Only] URL of the zone where the storage pool type resides.\nYou must specify this field as part of the HTTP request URL. It is\nnot settable as a field in the request body.", +"type": "string" +} +}, +"type": "object" +}, +"StoragePoolTypeAggregatedList": { +"id": "StoragePoolTypeAggregatedList", +"properties": { +"id": { +"description": "[Output Only] Unique identifier for the resource; defined by the server.", +"type": "string" +}, +"items": { +"additionalProperties": { +"$ref": "StoragePoolTypesScopedList", +"description": "[Output Only] Name of the scope containing this set of storage pool types." +}, +"description": "A list of StoragePoolTypesScopedList resources.", +"type": "object" +}, +"kind": { +"default": "compute#storagePoolTypeAggregatedList", +"description": "Output only. [Output Only] Type of resource. Alwayscompute#storagePoolTypeAggregatedList.", +"readOnly": true, +"type": "string" +}, +"nextPageToken": { +"description": "[Output Only] This token allows you to get the next page of results for\nlist requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for\nthe query parameter pageToken in the next list request.\nSubsequent list requests will have their own nextPageToken to\ncontinue paging through the results.", +"type": "string" +}, +"selfLink": { +"description": "Output only. [Output Only] Server-defined URL for this resource.", +"readOnly": true, +"type": "string" +}, +"warning": { +"description": "[Output Only] Informational warning message.", +"properties": { +"code": { +"description": "[Output Only] A warning code, if applicable. For example, Compute\nEngine returns NO_RESULTS_ON_PAGE if there\nare no results in the response.", +"enum": [ +"CLEANUP_FAILED", +"DEPRECATED_RESOURCE_USED", +"DEPRECATED_TYPE_USED", +"DISK_SIZE_LARGER_THAN_IMAGE_SIZE", +"EXPERIMENTAL_TYPE_USED", +"EXTERNAL_API_WARNING", +"FIELD_VALUE_OVERRIDEN", +"INJECTED_KERNELS_DEPRECATED", +"INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", +"LARGE_DEPLOYMENT_WARNING", +"LIST_OVERHEAD_QUOTA_EXCEED", +"MISSING_TYPE_DEPENDENCY", +"NEXT_HOP_ADDRESS_NOT_ASSIGNED", +"NEXT_HOP_CANNOT_IP_FORWARD", +"NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", +"NEXT_HOP_INSTANCE_NOT_FOUND", +"NEXT_HOP_INSTANCE_NOT_ON_NETWORK", +"NEXT_HOP_NOT_RUNNING", +"NOT_CRITICAL_ERROR", +"NO_RESULTS_ON_PAGE", +"PARTIAL_SUCCESS", +"QUOTA_INFO_UNAVAILABLE", +"REQUIRED_TOS_AGREEMENT", +"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", +"RESOURCE_NOT_DELETED", +"SCHEMA_VALIDATION_IGNORED", +"SINGLE_INSTANCE_PROPERTY_TEMPLATE", +"UNDECLARED_PROPERTIES", +"UNREACHABLE" +], +"enumDeprecated": [ +false, +false, +false, +false, +false, +false, +true, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false +], +"enumDescriptions": [ +"Warning about failed cleanup of transient changes made by a failed\noperation.", +"A link to a deprecated resource was created.", +"When deploying and at least one of the resources has a type marked as\ndeprecated", +"The user created a boot disk that is larger than image size.", +"When deploying and at least one of the resources has a type marked as\nexperimental", +"Warning that is present in an external api call", +"Warning that value of a field has been overridden.\nDeprecated unused field.", +"The operation involved use of an injected kernel, which is deprecated.", +"A WEIGHTED_MAGLEV backend service is associated with a health check that is\nnot of type HTTP/HTTPS/HTTP2.", +"When deploying a deployment with a exceedingly large number of resources", +"Resource can't be retrieved due to list overhead quota exceed\nwhich captures the amount of resources filtered out by\nuser-defined list filter.", +"A resource depends on a missing type", +"The route's nextHopIp address is not assigned to an instance on the\nnetwork.", +"The route's next hop instance cannot ip forward.", +"The route's nextHopInstance URL refers to an instance that does not have an\nipv6 interface on the same network as the route.", +"The route's nextHopInstance URL refers to an instance that does not exist.", +"The route's nextHopInstance URL refers to an instance that is not on the\nsame network as the route.", +"The route's next hop instance does not have a status of RUNNING.", +"Error which is not critical. We decided to continue the process despite\nthe mentioned error.", +"No results are present on a particular list page.", +"Success is reported, but some results may be missing due to errors", +"Quota information is not available to client requests (e.g:\nregions.list).", +"The user attempted to use a resource that requires a TOS they have not\naccepted.", +"Warning that a resource is in use.", +"One or more of the resources set to auto-delete could not be deleted\nbecause they were in use.", +"When a resource schema validation is ignored.", +"Instance template used in instance group manager is valid as such, but\nits application does not make a lot of sense, because it allows only\nsingle instance in instance group.", +"When undeclared properties in the schema are present", +"A given scope cannot be reached." +], +"type": "string" +}, +"data": { +"description": "[Output Only] Metadata about this warning in key:\nvalue format. For example:\n\n\"data\": [\n {\n \"key\": \"scope\",\n \"value\": \"zones/us-east1-d\"\n }", +"items": { +"properties": { +"key": { +"description": "[Output Only] A key that provides more detail on the warning being\nreturned. For example, for warnings where there are no results in a list\nrequest for a particular zone, this key might be scope and\nthe key value might be the zone name. Other examples might be a key\nindicating a deprecated resource and a suggested replacement, or a\nwarning about invalid network settings (for example, if an instance\nattempts to perform IP forwarding but is not enabled for IP forwarding).", +"type": "string" +}, +"value": { +"description": "[Output Only] A warning data value corresponding to the key.", +"type": "string" +} +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "[Output Only] A human-readable description of the warning code.", +"type": "string" +} +}, +"type": "object" +} +}, +"type": "object" +}, +"StoragePoolTypeList": { +"description": "Contains a list of storage pool types.", +"id": "StoragePoolTypeList", +"properties": { +"id": { +"description": "[Output Only] Unique identifier for the resource; defined by the server.", +"type": "string" +}, +"items": { +"description": "A list of StoragePoolType resources.", +"items": { +"$ref": "StoragePoolType" +}, +"type": "array" +}, +"kind": { +"default": "compute#storagePoolTypeList", +"description": "Output only. [Output Only] Type of resource. Alwayscompute#storagePoolTypeList for storage pool types.", +"readOnly": true, +"type": "string" +}, +"nextPageToken": { +"description": "[Output Only] This token allows you to get the next page of results for\nlist requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for\nthe query parameter pageToken in the next list request.\nSubsequent list requests will have their own nextPageToken to\ncontinue paging through the results.", +"type": "string" +}, +"selfLink": { +"description": "Output only. [Output Only] Server-defined URL for this resource.", +"readOnly": true, +"type": "string" +}, +"warning": { +"description": "[Output Only] Informational warning message.", +"properties": { +"code": { +"description": "[Output Only] A warning code, if applicable. For example, Compute\nEngine returns NO_RESULTS_ON_PAGE if there\nare no results in the response.", +"enum": [ +"CLEANUP_FAILED", +"DEPRECATED_RESOURCE_USED", +"DEPRECATED_TYPE_USED", +"DISK_SIZE_LARGER_THAN_IMAGE_SIZE", +"EXPERIMENTAL_TYPE_USED", +"EXTERNAL_API_WARNING", +"FIELD_VALUE_OVERRIDEN", +"INJECTED_KERNELS_DEPRECATED", +"INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", +"LARGE_DEPLOYMENT_WARNING", +"LIST_OVERHEAD_QUOTA_EXCEED", +"MISSING_TYPE_DEPENDENCY", +"NEXT_HOP_ADDRESS_NOT_ASSIGNED", +"NEXT_HOP_CANNOT_IP_FORWARD", +"NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", +"NEXT_HOP_INSTANCE_NOT_FOUND", +"NEXT_HOP_INSTANCE_NOT_ON_NETWORK", +"NEXT_HOP_NOT_RUNNING", +"NOT_CRITICAL_ERROR", +"NO_RESULTS_ON_PAGE", +"PARTIAL_SUCCESS", +"QUOTA_INFO_UNAVAILABLE", +"REQUIRED_TOS_AGREEMENT", +"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", +"RESOURCE_NOT_DELETED", +"SCHEMA_VALIDATION_IGNORED", +"SINGLE_INSTANCE_PROPERTY_TEMPLATE", +"UNDECLARED_PROPERTIES", +"UNREACHABLE" +], +"enumDeprecated": [ +false, +false, +false, +false, +false, +false, +true, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false +], +"enumDescriptions": [ +"Warning about failed cleanup of transient changes made by a failed\noperation.", +"A link to a deprecated resource was created.", +"When deploying and at least one of the resources has a type marked as\ndeprecated", +"The user created a boot disk that is larger than image size.", +"When deploying and at least one of the resources has a type marked as\nexperimental", +"Warning that is present in an external api call", +"Warning that value of a field has been overridden.\nDeprecated unused field.", +"The operation involved use of an injected kernel, which is deprecated.", +"A WEIGHTED_MAGLEV backend service is associated with a health check that is\nnot of type HTTP/HTTPS/HTTP2.", +"When deploying a deployment with a exceedingly large number of resources", +"Resource can't be retrieved due to list overhead quota exceed\nwhich captures the amount of resources filtered out by\nuser-defined list filter.", +"A resource depends on a missing type", +"The route's nextHopIp address is not assigned to an instance on the\nnetwork.", +"The route's next hop instance cannot ip forward.", +"The route's nextHopInstance URL refers to an instance that does not have an\nipv6 interface on the same network as the route.", +"The route's nextHopInstance URL refers to an instance that does not exist.", +"The route's nextHopInstance URL refers to an instance that is not on the\nsame network as the route.", +"The route's next hop instance does not have a status of RUNNING.", +"Error which is not critical. We decided to continue the process despite\nthe mentioned error.", +"No results are present on a particular list page.", +"Success is reported, but some results may be missing due to errors", +"Quota information is not available to client requests (e.g:\nregions.list).", +"The user attempted to use a resource that requires a TOS they have not\naccepted.", +"Warning that a resource is in use.", +"One or more of the resources set to auto-delete could not be deleted\nbecause they were in use.", +"When a resource schema validation is ignored.", +"Instance template used in instance group manager is valid as such, but\nits application does not make a lot of sense, because it allows only\nsingle instance in instance group.", +"When undeclared properties in the schema are present", +"A given scope cannot be reached." +], +"type": "string" +}, +"data": { +"description": "[Output Only] Metadata about this warning in key:\nvalue format. For example:\n\n\"data\": [\n {\n \"key\": \"scope\",\n \"value\": \"zones/us-east1-d\"\n }", +"items": { +"properties": { +"key": { +"description": "[Output Only] A key that provides more detail on the warning being\nreturned. For example, for warnings where there are no results in a list\nrequest for a particular zone, this key might be scope and\nthe key value might be the zone name. Other examples might be a key\nindicating a deprecated resource and a suggested replacement, or a\nwarning about invalid network settings (for example, if an instance\nattempts to perform IP forwarding but is not enabled for IP forwarding).", +"type": "string" +}, +"value": { +"description": "[Output Only] A warning data value corresponding to the key.", +"type": "string" +} +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "[Output Only] A human-readable description of the warning code.", +"type": "string" +} +}, +"type": "object" +} +}, +"type": "object" +}, +"StoragePoolTypesScopedList": { +"id": "StoragePoolTypesScopedList", +"properties": { +"storagePoolTypes": { +"description": "[Output Only] A list of storage pool types contained in this scope.", +"items": { +"$ref": "StoragePoolType" +}, +"type": "array" +}, +"warning": { +"description": "[Output Only] Informational warning which replaces the list of storage pool\ntypes when the list is empty.", +"properties": { +"code": { +"description": "[Output Only] A warning code, if applicable. For example, Compute\nEngine returns NO_RESULTS_ON_PAGE if there\nare no results in the response.", +"enum": [ +"CLEANUP_FAILED", +"DEPRECATED_RESOURCE_USED", +"DEPRECATED_TYPE_USED", +"DISK_SIZE_LARGER_THAN_IMAGE_SIZE", +"EXPERIMENTAL_TYPE_USED", +"EXTERNAL_API_WARNING", +"FIELD_VALUE_OVERRIDEN", +"INJECTED_KERNELS_DEPRECATED", +"INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", +"LARGE_DEPLOYMENT_WARNING", +"LIST_OVERHEAD_QUOTA_EXCEED", +"MISSING_TYPE_DEPENDENCY", +"NEXT_HOP_ADDRESS_NOT_ASSIGNED", +"NEXT_HOP_CANNOT_IP_FORWARD", +"NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", +"NEXT_HOP_INSTANCE_NOT_FOUND", +"NEXT_HOP_INSTANCE_NOT_ON_NETWORK", +"NEXT_HOP_NOT_RUNNING", +"NOT_CRITICAL_ERROR", +"NO_RESULTS_ON_PAGE", +"PARTIAL_SUCCESS", +"QUOTA_INFO_UNAVAILABLE", +"REQUIRED_TOS_AGREEMENT", +"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", +"RESOURCE_NOT_DELETED", +"SCHEMA_VALIDATION_IGNORED", +"SINGLE_INSTANCE_PROPERTY_TEMPLATE", +"UNDECLARED_PROPERTIES", +"UNREACHABLE" +], +"enumDeprecated": [ +false, +false, +false, +false, +false, +false, +true, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false +], +"enumDescriptions": [ +"Warning about failed cleanup of transient changes made by a failed\noperation.", +"A link to a deprecated resource was created.", +"When deploying and at least one of the resources has a type marked as\ndeprecated", +"The user created a boot disk that is larger than image size.", +"When deploying and at least one of the resources has a type marked as\nexperimental", +"Warning that is present in an external api call", +"Warning that value of a field has been overridden.\nDeprecated unused field.", +"The operation involved use of an injected kernel, which is deprecated.", +"A WEIGHTED_MAGLEV backend service is associated with a health check that is\nnot of type HTTP/HTTPS/HTTP2.", +"When deploying a deployment with a exceedingly large number of resources", +"Resource can't be retrieved due to list overhead quota exceed\nwhich captures the amount of resources filtered out by\nuser-defined list filter.", +"A resource depends on a missing type", +"The route's nextHopIp address is not assigned to an instance on the\nnetwork.", +"The route's next hop instance cannot ip forward.", +"The route's nextHopInstance URL refers to an instance that does not have an\nipv6 interface on the same network as the route.", +"The route's nextHopInstance URL refers to an instance that does not exist.", +"The route's nextHopInstance URL refers to an instance that is not on the\nsame network as the route.", +"The route's next hop instance does not have a status of RUNNING.", +"Error which is not critical. We decided to continue the process despite\nthe mentioned error.", +"No results are present on a particular list page.", +"Success is reported, but some results may be missing due to errors", +"Quota information is not available to client requests (e.g:\nregions.list).", +"The user attempted to use a resource that requires a TOS they have not\naccepted.", +"Warning that a resource is in use.", +"One or more of the resources set to auto-delete could not be deleted\nbecause they were in use.", +"When a resource schema validation is ignored.", +"Instance template used in instance group manager is valid as such, but\nits application does not make a lot of sense, because it allows only\nsingle instance in instance group.", +"When undeclared properties in the schema are present", +"A given scope cannot be reached." +], +"type": "string" +}, +"data": { +"description": "[Output Only] Metadata about this warning in key:\nvalue format. For example:\n\n\"data\": [\n {\n \"key\": \"scope\",\n \"value\": \"zones/us-east1-d\"\n }", +"items": { +"properties": { +"key": { +"description": "[Output Only] A key that provides more detail on the warning being\nreturned. For example, for warnings where there are no results in a list\nrequest for a particular zone, this key might be scope and\nthe key value might be the zone name. Other examples might be a key\nindicating a deprecated resource and a suggested replacement, or a\nwarning about invalid network settings (for example, if an instance\nattempts to perform IP forwarding but is not enabled for IP forwarding).", +"type": "string" +}, +"value": { +"description": "[Output Only] A warning data value corresponding to the key.", +"type": "string" +} +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "[Output Only] A human-readable description of the warning code.", +"type": "string" +} +}, +"type": "object" +} +}, +"type": "object" +}, +"StoragePoolsScopedList": { +"id": "StoragePoolsScopedList", +"properties": { +"storagePools": { +"description": "[Output Only] A list of storage pool contained in this scope.", +"items": { +"$ref": "StoragePool" +}, +"type": "array" +}, +"warning": { +"description": "[Output Only] Informational warning which replaces the list of storage pool\nwhen the list is empty.", +"properties": { +"code": { +"description": "[Output Only] A warning code, if applicable. For example, Compute\nEngine returns NO_RESULTS_ON_PAGE if there\nare no results in the response.", +"enum": [ +"CLEANUP_FAILED", +"DEPRECATED_RESOURCE_USED", +"DEPRECATED_TYPE_USED", +"DISK_SIZE_LARGER_THAN_IMAGE_SIZE", +"EXPERIMENTAL_TYPE_USED", +"EXTERNAL_API_WARNING", +"FIELD_VALUE_OVERRIDEN", +"INJECTED_KERNELS_DEPRECATED", +"INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", +"LARGE_DEPLOYMENT_WARNING", +"LIST_OVERHEAD_QUOTA_EXCEED", +"MISSING_TYPE_DEPENDENCY", +"NEXT_HOP_ADDRESS_NOT_ASSIGNED", +"NEXT_HOP_CANNOT_IP_FORWARD", +"NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", +"NEXT_HOP_INSTANCE_NOT_FOUND", +"NEXT_HOP_INSTANCE_NOT_ON_NETWORK", +"NEXT_HOP_NOT_RUNNING", +"NOT_CRITICAL_ERROR", +"NO_RESULTS_ON_PAGE", +"PARTIAL_SUCCESS", +"QUOTA_INFO_UNAVAILABLE", +"REQUIRED_TOS_AGREEMENT", +"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", +"RESOURCE_NOT_DELETED", +"SCHEMA_VALIDATION_IGNORED", +"SINGLE_INSTANCE_PROPERTY_TEMPLATE", +"UNDECLARED_PROPERTIES", +"UNREACHABLE" +], +"enumDeprecated": [ +false, +false, +false, +false, +false, +false, +true, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false +], +"enumDescriptions": [ +"Warning about failed cleanup of transient changes made by a failed\noperation.", +"A link to a deprecated resource was created.", +"When deploying and at least one of the resources has a type marked as\ndeprecated", +"The user created a boot disk that is larger than image size.", +"When deploying and at least one of the resources has a type marked as\nexperimental", +"Warning that is present in an external api call", +"Warning that value of a field has been overridden.\nDeprecated unused field.", +"The operation involved use of an injected kernel, which is deprecated.", +"A WEIGHTED_MAGLEV backend service is associated with a health check that is\nnot of type HTTP/HTTPS/HTTP2.", +"When deploying a deployment with a exceedingly large number of resources", +"Resource can't be retrieved due to list overhead quota exceed\nwhich captures the amount of resources filtered out by\nuser-defined list filter.", +"A resource depends on a missing type", +"The route's nextHopIp address is not assigned to an instance on the\nnetwork.", +"The route's next hop instance cannot ip forward.", +"The route's nextHopInstance URL refers to an instance that does not have an\nipv6 interface on the same network as the route.", +"The route's nextHopInstance URL refers to an instance that does not exist.", +"The route's nextHopInstance URL refers to an instance that is not on the\nsame network as the route.", +"The route's next hop instance does not have a status of RUNNING.", +"Error which is not critical. We decided to continue the process despite\nthe mentioned error.", +"No results are present on a particular list page.", +"Success is reported, but some results may be missing due to errors", +"Quota information is not available to client requests (e.g:\nregions.list).", +"The user attempted to use a resource that requires a TOS they have not\naccepted.", +"Warning that a resource is in use.", +"One or more of the resources set to auto-delete could not be deleted\nbecause they were in use.", +"When a resource schema validation is ignored.", +"Instance template used in instance group manager is valid as such, but\nits application does not make a lot of sense, because it allows only\nsingle instance in instance group.", +"When undeclared properties in the schema are present", +"A given scope cannot be reached." +], +"type": "string" +}, +"data": { +"description": "[Output Only] Metadata about this warning in key:\nvalue format. For example:\n\n\"data\": [\n {\n \"key\": \"scope\",\n \"value\": \"zones/us-east1-d\"\n }", +"items": { +"properties": { +"key": { +"description": "[Output Only] A key that provides more detail on the warning being\nreturned. For example, for warnings where there are no results in a list\nrequest for a particular zone, this key might be scope and\nthe key value might be the zone name. Other examples might be a key\nindicating a deprecated resource and a suggested replacement, or a\nwarning about invalid network settings (for example, if an instance\nattempts to perform IP forwarding but is not enabled for IP forwarding).", +"type": "string" +}, +"value": { +"description": "[Output Only] A warning data value corresponding to the key.", +"type": "string" +} +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "[Output Only] A human-readable description of the warning code.", +"type": "string" +} +}, +"type": "object" +} +}, +"type": "object" +}, +"StructuredEntries": { +"id": "StructuredEntries", +"properties": { +"entries": { +"additionalProperties": { +"format": "google.protobuf.Value", +"type": "any" +}, +"description": "Map of a partner metadata that belong to the same subdomain.\nIt accepts any value including google.protobuf.Struct.", +"type": "object" +} +}, +"type": "object" +}, +"Subnetwork": { +"description": "Represents a Subnetwork resource.\n\nA subnetwork (also known as a subnet) is a logical partition of a Virtual\nPrivate Cloud network with one primary IP range and zero or more secondary\nIP ranges. For more information, read\nVirtual Private Cloud (VPC) Network.", +"id": "Subnetwork", +"properties": { +"allowSubnetCidrRoutesOverlap": { +"description": "Whether this subnetwork's ranges can conflict with existing custom routes.\nSetting this to true allows this subnetwork's primary and secondary ranges\nto overlap with (and contain) custom routes that have already been\nconfigured on the corresponding network.\n\nFor example if a static route has range 10.1.0.0/16, a subnet\nrange 10.0.0.0/8 could only be created if allow_conflicting_routes=true.\n\nOverlapping is only allowed on subnetwork operations; routes\nwhose ranges conflict with this subnetwork's ranges won't be allowed unless\nroute.allow_conflicting_subnetworks is set to true.\n\nTypically packets destined to IPs within the subnetwork (which may contain\nprivate/sensitive data) are prevented from leaving the virtual network.\nSetting this field to true will disable this feature.\n\nThe default value is false and applies to all existing subnetworks and\nautomatically created subnetworks.", +"type": "boolean" +}, +"creationTimestamp": { +"description": "Output only. [Output Only] Creation timestamp inRFC3339\ntext format.", +"readOnly": true, +"type": "string" +}, +"description": { +"description": "An optional description of this resource. Provide this property when you\ncreate the resource. This field can be set only at resource creation time.", +"type": "string" +}, +"enableFlowLogs": { +"description": "Whether to enable flow logging for this subnetwork. If this field is not\nexplicitly set, it will not appear in get listings. If not set\nthe default behavior is determined by the org policy, if there is no org\npolicy specified, then it will default to disabled. This field isn't\nsupported if the subnet purpose field is set toREGIONAL_MANAGED_PROXY. It is recommended to uselogConfig.enable field instead.", +"type": "boolean" +}, +"externalIpv6Prefix": { +"description": "The external IPv6 address range that is owned by this\nsubnetwork.", +"type": "string" +}, +"fingerprint": { +"description": "Fingerprint of this resource. A hash of the contents stored in this object.\nThis field is used in optimistic locking. This field will be ignored when\ninserting a Subnetwork. An up-to-date fingerprint must be\nprovided in order to update the Subnetwork, otherwise the\nrequest will fail with error 412 conditionNotMet.\n\nTo see the latest fingerprint, make a get() request to\nretrieve a Subnetwork.", +"format": "byte", +"type": "string" +}, +"gatewayAddress": { +"description": "Output only. [Output Only] The gateway address for default routes to reach destination\naddresses outside this subnetwork.", +"readOnly": true, +"type": "string" +}, +"id": { +"description": "Output only. [Output Only] The unique identifier for the resource. This identifier is\ndefined by the server.", +"format": "uint64", +"readOnly": true, +"type": "string" +}, +"internalIpv6Prefix": { +"description": "The internal IPv6 address range that is owned by this\nsubnetwork.", +"type": "string" +}, +"ipCidrRange": { +"description": "The range of internal addresses that are owned by this subnetwork.\nProvide this property when you create the subnetwork. For example,10.0.0.0/8 or 100.64.0.0/10. Ranges must\nbe unique and non-overlapping within a network. Only IPv4 is supported.\nThis field is set at resource creation time. The range can be any range\nlisted in theValid\nranges list. The range can be expanded after creation usingexpandIpCidrRange.", +"type": "string" +}, +"ipCollection": { +"description": "Reference to the source of IP, like a PublicDelegatedPrefix\n(PDP) for BYOIP. The PDP must be a sub-PDP in\nEXTERNAL_IPV6_SUBNETWORK_CREATION or INTERNAL_IPV6_SUBNETWORK_CREATION\nmode.\n\nUse one of the following formats to specify a sub-PDP when creating a dual\nstack or IPv6-only subnetwork with external access using BYOIP:\n \n - \n Full resource URL, as inhttps://www.googleapis.com/compute/v1/projects/projectId/regions/region/publicDelegatedPrefixes/sub-pdp-name\n - \n Partial URL, as in\n \n \n - projects/projectId/regions/region/publicDelegatedPrefixes/sub-pdp-name\n - regions/region/publicDelegatedPrefixes/sub-pdp-name", +"type": "string" +}, +"ipv6AccessType": { +"description": "The access type of IPv6 address this subnet holds. It's immutable and can\nonly be specified during creation or the first time the subnet is updated\ninto IPV4_IPV6 dual stack.", +"enum": [ +"EXTERNAL", +"INTERNAL" +], +"enumDescriptions": [ +"VMs on this subnet will be assigned IPv6 addresses that are accessible\nvia the Internet, as well as the VPC network.", +"VMs on this subnet will be assigned IPv6 addresses that are only\naccessible over the VPC network." +], +"type": "string" +}, +"ipv6CidrRange": { +"description": "Output only. [Output Only] This field is for internal use.", +"readOnly": true, +"type": "string" +}, +"ipv6GceEndpoint": { +"description": "Output only. [Output Only] Possible endpoints of this subnetwork. It can be one of the\nfollowing:\n \n - VM_ONLY: The subnetwork can be used for creating instances and\n IPv6 addresses with VM endpoint type. Such a subnetwork gets external IPv6\n ranges from a public delegated prefix and cannot be used to create NetLb.\n - VM_AND_FR: The subnetwork can be used for creating both VM\n instances and Forwarding Rules. It can also be used to reserve IPv6\n addresses with both VM and FR endpoint types. Such a subnetwork gets its\n IPv6 range from Google IP Pool directly.", +"enum": [ +"VM_AND_FR", +"VM_ONLY" +], +"enumDescriptions": [ +"", +"" +], +"readOnly": true, +"type": "string" +}, +"kind": { +"default": "compute#subnetwork", +"description": "Output only. [Output Only] Type of the resource. Always compute#subnetwork\nfor Subnetwork resources.", +"readOnly": true, +"type": "string" +}, +"logConfig": { +"$ref": "SubnetworkLogConfig", +"description": "This field denotes the VPC flow logging options for this subnetwork.\nIf logging is enabled, logs are exported to Cloud Logging." +}, +"name": { +"description": "The name of the resource, provided by the client when initially creating\nthe resource. The name must be 1-63 characters long, and comply withRFC1035.\nSpecifically, the name must be 1-63 characters long and match the regular\nexpression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first\ncharacter must be a lowercase letter, and all following characters must\nbe a dash, lowercase letter, or digit, except the last character, which\ncannot be a dash.", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"type": "string" +}, +"network": { +"description": "The URL of the network to which this subnetwork belongs, provided by the\nclient when initially creating the subnetwork. This field can be set only\nat resource creation time.", +"type": "string" +}, +"params": { +"$ref": "SubnetworkParams", +"description": "Input only. [Input Only] Additional params passed with the request, but not persisted\nas part of resource payload." +}, +"privateIpGoogleAccess": { +"description": "Whether the VMs in this subnet can access Google services without assigned\nexternal IP addresses. This field can be both set at resource creation\ntime and updated using setPrivateIpGoogleAccess.", +"type": "boolean" +}, +"privateIpv6GoogleAccess": { +"description": "This field is for internal use.\n\nThis field can be both set at resource creation time and updated usingpatch.", +"enum": [ +"DISABLE_GOOGLE_ACCESS", +"ENABLE_BIDIRECTIONAL_ACCESS_TO_GOOGLE", +"ENABLE_OUTBOUND_VM_ACCESS_TO_GOOGLE" +], +"enumDescriptions": [ +"Disable private IPv6 access to/from Google services.", +"Bidirectional private IPv6 access to/from Google services.", +"Outbound private IPv6 access from VMs in this subnet to Google services." +], +"type": "string" +}, +"purpose": { +"enum": [ +"GLOBAL_MANAGED_PROXY", +"INTERNAL_HTTPS_LOAD_BALANCER", +"PEER_MIGRATION", +"PRIVATE", +"PRIVATE_NAT", +"PRIVATE_RFC_1918", +"PRIVATE_SERVICE_CONNECT", +"REGIONAL_MANAGED_PROXY" +], +"enumDescriptions": [ +"Subnet reserved for Global Envoy-based Load Balancing.", +"Subnet reserved for Internal HTTP(S) Load Balancing. This is a legacy\npurpose, please use REGIONAL_MANAGED_PROXY instead.", +"Subnetwork will be used for Migration from one peered VPC to another.\n(a transient state of subnetwork\nwhile migrating resources from one project to another).", +"Regular user created or automatically created subnet.", +"Subnetwork used as source range for Private NAT Gateways.", +"Regular user created or automatically created subnet.", +"Subnetworks created for Private Service Connect in the producer network.", +"Subnetwork used for Regional Envoy-based Load Balancing." +], +"type": "string" +}, +"region": { +"description": "URL of the region where the Subnetwork resides. This\nfield can be set only at resource creation time.", +"type": "string" +}, +"reservedInternalRange": { +"description": "The URL of the reserved internal range.", +"type": "string" +}, +"resolveSubnetMask": { +"description": "Configures subnet mask resolution for this subnetwork.", +"enum": [ +"ARP_ALL_RANGES", +"ARP_PRIMARY_RANGE" +], +"enumDescriptions": [ +"All ranges assigned to the VM NIC will respond to ARP.", +"Only the primary range of the VM NIC will respond to ARP." +], +"type": "string" +}, +"role": { +"description": "The role of subnetwork. Currently, this field is only used when\npurpose is set to GLOBAL_MANAGED_PROXY orREGIONAL_MANAGED_PROXY. The value can be set toACTIVE or BACKUP. An ACTIVE\nsubnetwork is one that is currently being used for Envoy-based load\nbalancers in a region. A BACKUP subnetwork is one that is\nready to be promoted to ACTIVE or is currently draining.\nThis field can be updated with a patch request.", +"enum": [ +"ACTIVE", +"BACKUP" +], +"enumDescriptions": [ +"The ACTIVE subnet that is currently used.", +"The BACKUP subnet that could be promoted to ACTIVE." +], +"type": "string" +}, +"secondaryIpRanges": { +"description": "An array of configurations for secondary IP ranges for VM instances\ncontained in this subnetwork. The primary IP of such VM must belong to the\nprimary ipCidrRange of the subnetwork. The alias IPs may belong to either\nprimary or secondary ranges. This field can be updated with apatch request. Supports both IPv4 and IPv6 ranges.", +"items": { +"$ref": "SubnetworkSecondaryRange" +}, +"type": "array" +}, +"selfLink": { +"description": "[Output Only] Server-defined URL for the resource.", +"type": "string" +}, +"stackType": { +"description": "The stack type for the subnet. If set to IPV4_ONLY, new VMs\nin the subnet are assigned IPv4 addresses only. If set toIPV4_IPV6, new VMs in the subnet can be assigned both IPv4 and\nIPv6 addresses. If not specified, IPV4_ONLY is used.\n\nThis field can be both set at resource creation time and updated usingpatch.", +"enum": [ +"IPV4_IPV6", +"IPV4_ONLY", +"IPV6_ONLY" +], +"enumDescriptions": [ +"New VMs in this subnet can have both IPv4 and IPv6 addresses.", +"New VMs in this subnet will only be assigned IPv4 addresses.", +"New VMs in this subnet will only be assigned IPv6 addresses." +], +"type": "string" +}, +"state": { +"description": "Output only. [Output Only] The state of the subnetwork, which can be one of the\nfollowing values:READY: Subnetwork is created and ready to useDRAINING: only applicable to subnetworks that have the\npurpose set to INTERNAL_HTTPS_LOAD_BALANCER and indicates that\nconnections to the load balancer are being drained. A subnetwork that is\ndraining cannot be used or modified until it reaches a status ofREADY", +"enum": [ +"DRAINING", +"READY" +], +"enumDescriptions": [ +"Subnetwork is being drained.", +"Subnetwork is ready for use." +], +"readOnly": true, +"type": "string" +}, +"systemReservedExternalIpv6Ranges": { +"description": "Output only. [Output Only] The array of external IPv6 network ranges reserved from\nthe subnetwork's external IPv6 range for system use.", +"items": { +"type": "string" +}, +"readOnly": true, +"type": "array" +}, +"systemReservedInternalIpv6Ranges": { +"description": "Output only. [Output Only] The array of internal IPv6 network ranges reserved from\nthe subnetwork's internal IPv6 range for system use.", +"items": { +"type": "string" +}, +"readOnly": true, +"type": "array" +}, +"utilizationDetails": { +"$ref": "SubnetworkUtilizationDetails", +"description": "Output only. [Output Only] The current IP utilization of all subnetwork ranges. Contains\nthe total number of allocated and free IPs in each range.", +"readOnly": true +} +}, +"type": "object" +}, +"SubnetworkAggregatedList": { +"id": "SubnetworkAggregatedList", +"properties": { +"id": { +"description": "[Output Only] Unique identifier for the resource; defined by the server.", +"type": "string" +}, +"items": { +"additionalProperties": { +"$ref": "SubnetworksScopedList", +"description": "Name of the scope containing this set of Subnetworks." +}, +"description": "A list of SubnetworksScopedList resources.", +"type": "object" +}, +"kind": { +"default": "compute#subnetworkAggregatedList", +"description": "Output only. [Output Only] Type of resource. Alwayscompute#subnetworkAggregatedList for aggregated lists of\nsubnetworks.", +"readOnly": true, +"type": "string" +}, +"nextPageToken": { +"description": "[Output Only] This token allows you to get the next page of results for\nlist requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for\nthe query parameter pageToken in the next list request.\nSubsequent list requests will have their own nextPageToken to\ncontinue paging through the results.", +"type": "string" +}, +"selfLink": { +"description": "Output only. [Output Only] Server-defined URL for this resource.", +"readOnly": true, +"type": "string" +}, +"unreachables": { +"description": "Output only. [Output Only] Unreachable resources.", +"items": { +"type": "string" +}, +"readOnly": true, +"type": "array" +}, +"warning": { +"description": "[Output Only] Informational warning message.", +"properties": { +"code": { +"description": "[Output Only] A warning code, if applicable. For example, Compute\nEngine returns NO_RESULTS_ON_PAGE if there\nare no results in the response.", +"enum": [ +"CLEANUP_FAILED", +"DEPRECATED_RESOURCE_USED", +"DEPRECATED_TYPE_USED", +"DISK_SIZE_LARGER_THAN_IMAGE_SIZE", +"EXPERIMENTAL_TYPE_USED", +"EXTERNAL_API_WARNING", +"FIELD_VALUE_OVERRIDEN", +"INJECTED_KERNELS_DEPRECATED", +"INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", +"LARGE_DEPLOYMENT_WARNING", +"LIST_OVERHEAD_QUOTA_EXCEED", +"MISSING_TYPE_DEPENDENCY", +"NEXT_HOP_ADDRESS_NOT_ASSIGNED", +"NEXT_HOP_CANNOT_IP_FORWARD", +"NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", +"NEXT_HOP_INSTANCE_NOT_FOUND", +"NEXT_HOP_INSTANCE_NOT_ON_NETWORK", +"NEXT_HOP_NOT_RUNNING", +"NOT_CRITICAL_ERROR", +"NO_RESULTS_ON_PAGE", +"PARTIAL_SUCCESS", +"QUOTA_INFO_UNAVAILABLE", +"REQUIRED_TOS_AGREEMENT", +"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", +"RESOURCE_NOT_DELETED", +"SCHEMA_VALIDATION_IGNORED", +"SINGLE_INSTANCE_PROPERTY_TEMPLATE", +"UNDECLARED_PROPERTIES", +"UNREACHABLE" +], +"enumDeprecated": [ +false, +false, +false, +false, +false, +false, +true, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false +], +"enumDescriptions": [ +"Warning about failed cleanup of transient changes made by a failed\noperation.", +"A link to a deprecated resource was created.", +"When deploying and at least one of the resources has a type marked as\ndeprecated", +"The user created a boot disk that is larger than image size.", +"When deploying and at least one of the resources has a type marked as\nexperimental", +"Warning that is present in an external api call", +"Warning that value of a field has been overridden.\nDeprecated unused field.", +"The operation involved use of an injected kernel, which is deprecated.", +"A WEIGHTED_MAGLEV backend service is associated with a health check that is\nnot of type HTTP/HTTPS/HTTP2.", +"When deploying a deployment with a exceedingly large number of resources", +"Resource can't be retrieved due to list overhead quota exceed\nwhich captures the amount of resources filtered out by\nuser-defined list filter.", +"A resource depends on a missing type", +"The route's nextHopIp address is not assigned to an instance on the\nnetwork.", +"The route's next hop instance cannot ip forward.", +"The route's nextHopInstance URL refers to an instance that does not have an\nipv6 interface on the same network as the route.", +"The route's nextHopInstance URL refers to an instance that does not exist.", +"The route's nextHopInstance URL refers to an instance that is not on the\nsame network as the route.", +"The route's next hop instance does not have a status of RUNNING.", +"Error which is not critical. We decided to continue the process despite\nthe mentioned error.", +"No results are present on a particular list page.", +"Success is reported, but some results may be missing due to errors", +"Quota information is not available to client requests (e.g:\nregions.list).", +"The user attempted to use a resource that requires a TOS they have not\naccepted.", +"Warning that a resource is in use.", +"One or more of the resources set to auto-delete could not be deleted\nbecause they were in use.", +"When a resource schema validation is ignored.", +"Instance template used in instance group manager is valid as such, but\nits application does not make a lot of sense, because it allows only\nsingle instance in instance group.", +"When undeclared properties in the schema are present", +"A given scope cannot be reached." +], +"type": "string" +}, +"data": { +"description": "[Output Only] Metadata about this warning in key:\nvalue format. For example:\n\n\"data\": [\n {\n \"key\": \"scope\",\n \"value\": \"zones/us-east1-d\"\n }", +"items": { +"properties": { +"key": { +"description": "[Output Only] A key that provides more detail on the warning being\nreturned. For example, for warnings where there are no results in a list\nrequest for a particular zone, this key might be scope and\nthe key value might be the zone name. Other examples might be a key\nindicating a deprecated resource and a suggested replacement, or a\nwarning about invalid network settings (for example, if an instance\nattempts to perform IP forwarding but is not enabled for IP forwarding).", +"type": "string" +}, +"value": { +"description": "[Output Only] A warning data value corresponding to the key.", +"type": "string" +} +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "[Output Only] A human-readable description of the warning code.", +"type": "string" +} +}, +"type": "object" +} +}, +"type": "object" +}, +"SubnetworkList": { +"description": "Contains a list of Subnetwork resources.", +"id": "SubnetworkList", +"properties": { +"id": { +"description": "[Output Only] Unique identifier for the resource; defined by the server.", +"type": "string" +}, +"items": { +"description": "A list of Subnetwork resources.", +"items": { +"$ref": "Subnetwork" +}, +"type": "array" +}, +"kind": { +"default": "compute#subnetworkList", +"description": "Output only. [Output Only] Type of resource. Always compute#subnetworkList\nfor lists of subnetworks.", +"readOnly": true, +"type": "string" +}, +"nextPageToken": { +"description": "[Output Only] This token allows you to get the next page of results for\nlist requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for\nthe query parameter pageToken in the next list request.\nSubsequent list requests will have their own nextPageToken to\ncontinue paging through the results.", +"type": "string" +}, +"selfLink": { +"description": "Output only. [Output Only] Server-defined URL for this resource.", +"readOnly": true, +"type": "string" +}, +"warning": { +"description": "[Output Only] Informational warning message.", +"properties": { +"code": { +"description": "[Output Only] A warning code, if applicable. For example, Compute\nEngine returns NO_RESULTS_ON_PAGE if there\nare no results in the response.", +"enum": [ +"CLEANUP_FAILED", +"DEPRECATED_RESOURCE_USED", +"DEPRECATED_TYPE_USED", +"DISK_SIZE_LARGER_THAN_IMAGE_SIZE", +"EXPERIMENTAL_TYPE_USED", +"EXTERNAL_API_WARNING", +"FIELD_VALUE_OVERRIDEN", +"INJECTED_KERNELS_DEPRECATED", +"INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", +"LARGE_DEPLOYMENT_WARNING", +"LIST_OVERHEAD_QUOTA_EXCEED", +"MISSING_TYPE_DEPENDENCY", +"NEXT_HOP_ADDRESS_NOT_ASSIGNED", +"NEXT_HOP_CANNOT_IP_FORWARD", +"NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", +"NEXT_HOP_INSTANCE_NOT_FOUND", +"NEXT_HOP_INSTANCE_NOT_ON_NETWORK", +"NEXT_HOP_NOT_RUNNING", +"NOT_CRITICAL_ERROR", +"NO_RESULTS_ON_PAGE", +"PARTIAL_SUCCESS", +"QUOTA_INFO_UNAVAILABLE", +"REQUIRED_TOS_AGREEMENT", +"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", +"RESOURCE_NOT_DELETED", +"SCHEMA_VALIDATION_IGNORED", +"SINGLE_INSTANCE_PROPERTY_TEMPLATE", +"UNDECLARED_PROPERTIES", +"UNREACHABLE" +], +"enumDeprecated": [ +false, +false, +false, +false, +false, +false, +true, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false +], +"enumDescriptions": [ +"Warning about failed cleanup of transient changes made by a failed\noperation.", +"A link to a deprecated resource was created.", +"When deploying and at least one of the resources has a type marked as\ndeprecated", +"The user created a boot disk that is larger than image size.", +"When deploying and at least one of the resources has a type marked as\nexperimental", +"Warning that is present in an external api call", +"Warning that value of a field has been overridden.\nDeprecated unused field.", +"The operation involved use of an injected kernel, which is deprecated.", +"A WEIGHTED_MAGLEV backend service is associated with a health check that is\nnot of type HTTP/HTTPS/HTTP2.", +"When deploying a deployment with a exceedingly large number of resources", +"Resource can't be retrieved due to list overhead quota exceed\nwhich captures the amount of resources filtered out by\nuser-defined list filter.", +"A resource depends on a missing type", +"The route's nextHopIp address is not assigned to an instance on the\nnetwork.", +"The route's next hop instance cannot ip forward.", +"The route's nextHopInstance URL refers to an instance that does not have an\nipv6 interface on the same network as the route.", +"The route's nextHopInstance URL refers to an instance that does not exist.", +"The route's nextHopInstance URL refers to an instance that is not on the\nsame network as the route.", +"The route's next hop instance does not have a status of RUNNING.", +"Error which is not critical. We decided to continue the process despite\nthe mentioned error.", +"No results are present on a particular list page.", +"Success is reported, but some results may be missing due to errors", +"Quota information is not available to client requests (e.g:\nregions.list).", +"The user attempted to use a resource that requires a TOS they have not\naccepted.", +"Warning that a resource is in use.", +"One or more of the resources set to auto-delete could not be deleted\nbecause they were in use.", +"When a resource schema validation is ignored.", +"Instance template used in instance group manager is valid as such, but\nits application does not make a lot of sense, because it allows only\nsingle instance in instance group.", +"When undeclared properties in the schema are present", +"A given scope cannot be reached." +], +"type": "string" +}, +"data": { +"description": "[Output Only] Metadata about this warning in key:\nvalue format. For example:\n\n\"data\": [\n {\n \"key\": \"scope\",\n \"value\": \"zones/us-east1-d\"\n }", +"items": { +"properties": { +"key": { +"description": "[Output Only] A key that provides more detail on the warning being\nreturned. For example, for warnings where there are no results in a list\nrequest for a particular zone, this key might be scope and\nthe key value might be the zone name. Other examples might be a key\nindicating a deprecated resource and a suggested replacement, or a\nwarning about invalid network settings (for example, if an instance\nattempts to perform IP forwarding but is not enabled for IP forwarding).", +"type": "string" +}, +"value": { +"description": "[Output Only] A warning data value corresponding to the key.", +"type": "string" +} +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "[Output Only] A human-readable description of the warning code.", +"type": "string" +} +}, +"type": "object" +} +}, +"type": "object" +}, +"SubnetworkLogConfig": { +"description": "The available logging options for this subnetwork.", +"id": "SubnetworkLogConfig", +"properties": { +"aggregationInterval": { +"description": "Can only be specified if VPC flow logging for this subnetwork is enabled.\nToggles the aggregation interval for collecting flow logs. Increasing the\ninterval time will reduce the amount of generated flow logs for long\nlasting connections. Default is an interval of 5 seconds per connection.", +"enum": [ +"INTERVAL_10_MIN", +"INTERVAL_15_MIN", +"INTERVAL_1_MIN", +"INTERVAL_30_SEC", +"INTERVAL_5_MIN", +"INTERVAL_5_SEC" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"" +], +"type": "string" +}, +"enable": { +"description": "Whether to enable flow logging for this subnetwork. If this field is not\nexplicitly set, it will not appear in get listings. If not\nset the default behavior is determined by the org policy, if there is no\norg policy specified, then it will default to disabled.\nFlow logging isn't supported if the subnet purpose field is\nset to REGIONAL_MANAGED_PROXY.", +"type": "boolean" +}, +"filterExpr": { +"description": "Can only be specified if VPC flow logs for this subnetwork is enabled.\nThe filter expression is used to define which VPC flow logs should be\nexported to Cloud Logging.", +"type": "string" +}, +"flowSampling": { +"description": "Can only be specified if VPC flow logging for this subnetwork is enabled.\nThe value of the field must be in [0, 1]. Set the sampling rate of VPC\nflow logs within the subnetwork where 1.0 means all collected logs are\nreported and 0.0 means no logs are reported. Default is 0.5 unless\notherwise specified by the org policy, which means half of all collected\nlogs are reported.", +"format": "float", +"type": "number" +}, +"metadata": { +"description": "Can only be specified if VPC flow logs for this subnetwork is enabled.\nConfigures whether all, none or a subset of metadata fields should be\nadded to the reported VPC flow logs. Default isEXCLUDE_ALL_METADATA.", +"enum": [ +"CUSTOM_METADATA", +"EXCLUDE_ALL_METADATA", +"INCLUDE_ALL_METADATA" +], +"enumDescriptions": [ +"", +"", +"" +], +"type": "string" +}, +"metadataFields": { +"description": "Can only be specified if VPC flow logs for this subnetwork is enabled and\n\"metadata\" was set to CUSTOM_METADATA.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"SubnetworkParams": { +"description": "Additional subnetwork parameters.", +"id": "SubnetworkParams", +"properties": { +"resourceManagerTags": { +"additionalProperties": { +"type": "string" +}, +"description": "Tag keys/values directly bound to this resource.\nTag keys and values have the same definition as resource\nmanager tags. The field is allowed for INSERT\nonly. The keys/values to set on the resource should be specified in\neither ID { : } or Namespaced format\n{ : }.\nFor example the following are valid inputs:\n* {\"tagKeys/333\" : \"tagValues/444\", \"tagKeys/123\" : \"tagValues/456\"}\n* {\"123/environment\" : \"production\", \"345/abc\" : \"xyz\"}\nNote:\n* Invalid combinations of ID & namespaced format is not supported. For\n instance: {\"123/environment\" : \"tagValues/444\"} is invalid.", +"type": "object" +} +}, +"type": "object" +}, +"SubnetworkSecondaryRange": { +"description": "Represents a secondary IP range of a subnetwork.", +"id": "SubnetworkSecondaryRange", +"properties": { +"ipCidrRange": { +"description": "The range of IP addresses belonging to this subnetwork secondary range.\nProvide this property when you create the subnetwork. Ranges must be\nunique and non-overlapping with all primary and secondary IP ranges\nwithin a network. Both IPv4 and IPv6 ranges are supported. For IPv4,\nthe range can be any range listed in theValid\nranges list.\n\nFor IPv6:\nThe range must have a /64 prefix length.\nThe range must be omitted, for auto-allocation from Google-defined ULA\nIPv6 range.\nFor BYOGUA internal IPv6 secondary range, the range may be specified\nalong with the `ipCollection` field.\nIf an `ipCollection` is specified, the requested ip_cidr_range must lie\nwithin the range of the PDP referenced by the `ipCollection` field for\nallocation.\nIf `ipCollection` field is specified, but ip_cidr_range is not,\nthe range is auto-allocated from the PDP referenced by the `ipCollection`\nfield.", +"type": "string" +}, +"rangeName": { +"description": "The name associated with this subnetwork secondary range, used when adding\nan alias IP/IPv6 range to a VM instance.\nThe name must be 1-63 characters long, and comply withRFC1035.\nThe name must be unique within the subnetwork.", +"type": "string" +}, +"reservedInternalRange": { +"description": "The URL of the reserved internal range. Only IPv4 is supported.", +"type": "string" +} +}, +"type": "object" +}, +"SubnetworkUtilizationDetails": { +"description": "The current IP utilization of all subnetwork ranges. Contains the total\nnumber of allocated and free IPs in each range.", +"id": "SubnetworkUtilizationDetails", +"properties": { +"externalIpv6InstanceUtilization": { +"$ref": "SubnetworkUtilizationDetailsIPV6Utilization", +"description": "Utilizations of external IPV6 IP range." +}, +"externalIpv6LbUtilization": { +"$ref": "SubnetworkUtilizationDetailsIPV6Utilization", +"description": "Utilizations of external IPV6 IP range for NetLB." +}, +"internalIpv6Utilization": { +"$ref": "SubnetworkUtilizationDetailsIPV6Utilization", +"description": "Utilizations of internal IPV6 IP range." +}, +"ipv4Utilizations": { +"description": "Utilizations of all IPV4 IP ranges. For primary ranges, the range name\nwill be empty.", +"items": { +"$ref": "SubnetworkUtilizationDetailsIPV4Utilization" +}, +"type": "array" +} +}, +"type": "object" +}, +"SubnetworkUtilizationDetailsIPV4Utilization": { +"description": "The IPV4 utilization of a single IP range.", +"id": "SubnetworkUtilizationDetailsIPV4Utilization", +"properties": { +"rangeName": { +"description": "Will be set for secondary range. Empty for primary IPv4 range.", +"type": "string" +}, +"totalAllocatedIp": { +"format": "int64", +"type": "string" +}, +"totalFreeIp": { +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"SubnetworkUtilizationDetailsIPV6Utilization": { +"description": "The IPV6 utilization of a single IP range.", +"id": "SubnetworkUtilizationDetailsIPV6Utilization", +"properties": { +"totalAllocatedIp": { +"$ref": "Uint128" +}, +"totalFreeIp": { +"$ref": "Uint128" +} +}, +"type": "object" +}, +"SubnetworksExpandIpCidrRangeRequest": { +"id": "SubnetworksExpandIpCidrRangeRequest", +"properties": { +"ipCidrRange": { +"description": "The IP (in CIDR format or netmask) of internal addresses that are legal on\nthis Subnetwork. This range should be disjoint from other subnetworks\nwithin this network. This range can only be larger than (i.e. a superset\nof) the range previously defined before the update.", +"type": "string" +} +}, +"type": "object" +}, +"SubnetworksScopedList": { +"id": "SubnetworksScopedList", +"properties": { +"subnetworks": { +"description": "A list of subnetworks contained in this scope.", +"items": { +"$ref": "Subnetwork" +}, +"type": "array" +}, +"warning": { +"description": "An informational warning that appears when the list of addresses\nis empty.", +"properties": { +"code": { +"description": "[Output Only] A warning code, if applicable. For example, Compute\nEngine returns NO_RESULTS_ON_PAGE if there\nare no results in the response.", +"enum": [ +"CLEANUP_FAILED", +"DEPRECATED_RESOURCE_USED", +"DEPRECATED_TYPE_USED", +"DISK_SIZE_LARGER_THAN_IMAGE_SIZE", +"EXPERIMENTAL_TYPE_USED", +"EXTERNAL_API_WARNING", +"FIELD_VALUE_OVERRIDEN", +"INJECTED_KERNELS_DEPRECATED", +"INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", +"LARGE_DEPLOYMENT_WARNING", +"LIST_OVERHEAD_QUOTA_EXCEED", +"MISSING_TYPE_DEPENDENCY", +"NEXT_HOP_ADDRESS_NOT_ASSIGNED", +"NEXT_HOP_CANNOT_IP_FORWARD", +"NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", +"NEXT_HOP_INSTANCE_NOT_FOUND", +"NEXT_HOP_INSTANCE_NOT_ON_NETWORK", +"NEXT_HOP_NOT_RUNNING", +"NOT_CRITICAL_ERROR", +"NO_RESULTS_ON_PAGE", +"PARTIAL_SUCCESS", +"QUOTA_INFO_UNAVAILABLE", +"REQUIRED_TOS_AGREEMENT", +"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", +"RESOURCE_NOT_DELETED", +"SCHEMA_VALIDATION_IGNORED", +"SINGLE_INSTANCE_PROPERTY_TEMPLATE", +"UNDECLARED_PROPERTIES", +"UNREACHABLE" +], +"enumDeprecated": [ +false, +false, +false, +false, +false, +false, +true, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false +], +"enumDescriptions": [ +"Warning about failed cleanup of transient changes made by a failed\noperation.", +"A link to a deprecated resource was created.", +"When deploying and at least one of the resources has a type marked as\ndeprecated", +"The user created a boot disk that is larger than image size.", +"When deploying and at least one of the resources has a type marked as\nexperimental", +"Warning that is present in an external api call", +"Warning that value of a field has been overridden.\nDeprecated unused field.", +"The operation involved use of an injected kernel, which is deprecated.", +"A WEIGHTED_MAGLEV backend service is associated with a health check that is\nnot of type HTTP/HTTPS/HTTP2.", +"When deploying a deployment with a exceedingly large number of resources", +"Resource can't be retrieved due to list overhead quota exceed\nwhich captures the amount of resources filtered out by\nuser-defined list filter.", +"A resource depends on a missing type", +"The route's nextHopIp address is not assigned to an instance on the\nnetwork.", +"The route's next hop instance cannot ip forward.", +"The route's nextHopInstance URL refers to an instance that does not have an\nipv6 interface on the same network as the route.", +"The route's nextHopInstance URL refers to an instance that does not exist.", +"The route's nextHopInstance URL refers to an instance that is not on the\nsame network as the route.", +"The route's next hop instance does not have a status of RUNNING.", +"Error which is not critical. We decided to continue the process despite\nthe mentioned error.", +"No results are present on a particular list page.", +"Success is reported, but some results may be missing due to errors", +"Quota information is not available to client requests (e.g:\nregions.list).", +"The user attempted to use a resource that requires a TOS they have not\naccepted.", +"Warning that a resource is in use.", +"One or more of the resources set to auto-delete could not be deleted\nbecause they were in use.", +"When a resource schema validation is ignored.", +"Instance template used in instance group manager is valid as such, but\nits application does not make a lot of sense, because it allows only\nsingle instance in instance group.", +"When undeclared properties in the schema are present", +"A given scope cannot be reached." +], +"type": "string" +}, +"data": { +"description": "[Output Only] Metadata about this warning in key:\nvalue format. For example:\n\n\"data\": [\n {\n \"key\": \"scope\",\n \"value\": \"zones/us-east1-d\"\n }", +"items": { +"properties": { +"key": { +"description": "[Output Only] A key that provides more detail on the warning being\nreturned. For example, for warnings where there are no results in a list\nrequest for a particular zone, this key might be scope and\nthe key value might be the zone name. Other examples might be a key\nindicating a deprecated resource and a suggested replacement, or a\nwarning about invalid network settings (for example, if an instance\nattempts to perform IP forwarding but is not enabled for IP forwarding).", +"type": "string" +}, +"value": { +"description": "[Output Only] A warning data value corresponding to the key.", +"type": "string" +} +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "[Output Only] A human-readable description of the warning code.", +"type": "string" +} +}, +"type": "object" +} +}, +"type": "object" +}, +"SubnetworksScopedWarning": { +"id": "SubnetworksScopedWarning", +"properties": { +"scopeName": { +"description": "Name of the scope containing this set of Subnetworks.", +"type": "string" +}, +"warning": { +"description": "An informational warning about unreachable scope", +"properties": { +"code": { +"description": "[Output Only] A warning code, if applicable. For example, Compute\nEngine returns NO_RESULTS_ON_PAGE if there\nare no results in the response.", +"enum": [ +"CLEANUP_FAILED", +"DEPRECATED_RESOURCE_USED", +"DEPRECATED_TYPE_USED", +"DISK_SIZE_LARGER_THAN_IMAGE_SIZE", +"EXPERIMENTAL_TYPE_USED", +"EXTERNAL_API_WARNING", +"FIELD_VALUE_OVERRIDEN", +"INJECTED_KERNELS_DEPRECATED", +"INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", +"LARGE_DEPLOYMENT_WARNING", +"LIST_OVERHEAD_QUOTA_EXCEED", +"MISSING_TYPE_DEPENDENCY", +"NEXT_HOP_ADDRESS_NOT_ASSIGNED", +"NEXT_HOP_CANNOT_IP_FORWARD", +"NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", +"NEXT_HOP_INSTANCE_NOT_FOUND", +"NEXT_HOP_INSTANCE_NOT_ON_NETWORK", +"NEXT_HOP_NOT_RUNNING", +"NOT_CRITICAL_ERROR", +"NO_RESULTS_ON_PAGE", +"PARTIAL_SUCCESS", +"QUOTA_INFO_UNAVAILABLE", +"REQUIRED_TOS_AGREEMENT", +"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", +"RESOURCE_NOT_DELETED", +"SCHEMA_VALIDATION_IGNORED", +"SINGLE_INSTANCE_PROPERTY_TEMPLATE", +"UNDECLARED_PROPERTIES", +"UNREACHABLE" +], +"enumDeprecated": [ +false, +false, +false, +false, +false, +false, +true, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false +], +"enumDescriptions": [ +"Warning about failed cleanup of transient changes made by a failed\noperation.", +"A link to a deprecated resource was created.", +"When deploying and at least one of the resources has a type marked as\ndeprecated", +"The user created a boot disk that is larger than image size.", +"When deploying and at least one of the resources has a type marked as\nexperimental", +"Warning that is present in an external api call", +"Warning that value of a field has been overridden.\nDeprecated unused field.", +"The operation involved use of an injected kernel, which is deprecated.", +"A WEIGHTED_MAGLEV backend service is associated with a health check that is\nnot of type HTTP/HTTPS/HTTP2.", +"When deploying a deployment with a exceedingly large number of resources", +"Resource can't be retrieved due to list overhead quota exceed\nwhich captures the amount of resources filtered out by\nuser-defined list filter.", +"A resource depends on a missing type", +"The route's nextHopIp address is not assigned to an instance on the\nnetwork.", +"The route's next hop instance cannot ip forward.", +"The route's nextHopInstance URL refers to an instance that does not have an\nipv6 interface on the same network as the route.", +"The route's nextHopInstance URL refers to an instance that does not exist.", +"The route's nextHopInstance URL refers to an instance that is not on the\nsame network as the route.", +"The route's next hop instance does not have a status of RUNNING.", +"Error which is not critical. We decided to continue the process despite\nthe mentioned error.", +"No results are present on a particular list page.", +"Success is reported, but some results may be missing due to errors", +"Quota information is not available to client requests (e.g:\nregions.list).", +"The user attempted to use a resource that requires a TOS they have not\naccepted.", +"Warning that a resource is in use.", +"One or more of the resources set to auto-delete could not be deleted\nbecause they were in use.", +"When a resource schema validation is ignored.", +"Instance template used in instance group manager is valid as such, but\nits application does not make a lot of sense, because it allows only\nsingle instance in instance group.", +"When undeclared properties in the schema are present", +"A given scope cannot be reached." +], +"type": "string" +}, +"data": { +"description": "[Output Only] Metadata about this warning in key:\nvalue format. For example:\n\n\"data\": [\n {\n \"key\": \"scope\",\n \"value\": \"zones/us-east1-d\"\n }", +"items": { +"properties": { +"key": { +"description": "[Output Only] A key that provides more detail on the warning being\nreturned. For example, for warnings where there are no results in a list\nrequest for a particular zone, this key might be scope and\nthe key value might be the zone name. Other examples might be a key\nindicating a deprecated resource and a suggested replacement, or a\nwarning about invalid network settings (for example, if an instance\nattempts to perform IP forwarding but is not enabled for IP forwarding).", +"type": "string" +}, +"value": { +"description": "[Output Only] A warning data value corresponding to the key.", +"type": "string" +} +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "[Output Only] A human-readable description of the warning code.", +"type": "string" +} +}, +"type": "object" +} +}, +"type": "object" +}, +"SubnetworksSetPrivateIpGoogleAccessRequest": { +"id": "SubnetworksSetPrivateIpGoogleAccessRequest", +"properties": { +"privateIpGoogleAccess": { +"type": "boolean" +} +}, +"type": "object" +}, +"Subsetting": { +"description": "Subsetting configuration for this BackendService.\nCurrently this is applicable only for Internal TCP/UDP load balancing,\nInternal HTTP(S) load balancing and Traffic Director.", +"id": "Subsetting", +"properties": { +"policy": { +"enum": [ +"CONSISTENT_HASH_SUBSETTING", +"NONE" +], +"enumDescriptions": [ +"Subsetting based on consistent hashing.\n\nFor Traffic Director, the number of backends per backend group\n(the subset size) is based on the `subset_size` parameter.\n\nFor Internal HTTP(S) load balancing, the number of backends per backend\ngroup (the subset size) is dynamically adjusted in two cases:\n- As the number of proxy instances participating in Internal HTTP(S) load\n balancing increases, the subset size decreases.\n- When the total number of backends in a network exceeds the capacity of\n a single proxy instance, subset sizes are reduced automatically for\n each service that has backend subsetting enabled.", +"No Subsetting.\n\nClients may open connections and send traffic to all backends of this\nbackend service. This can lead to performance issues if there is\nsubstantial imbalance in the count of clients and backends." +], +"type": "string" +}, +"subsetSize": { +"description": "The number of backends per backend group assigned to each proxy instance or\neach service mesh client.\n\nAn input parameter to the `CONSISTENT_HASH_SUBSETTING` algorithm.\nCan only be set if `policy` is set to `CONSISTENT_HASH_SUBSETTING`.\nCan only be set if load balancing scheme is `INTERNAL_MANAGED` or\n`INTERNAL_SELF_MANAGED`.\n\n`subset_size` is optional for Internal HTTP(S) load balancing\nand required for Traffic Director.\n\nIf you do not provide this value, Cloud Load Balancing will calculate it\ndynamically to optimize the number of proxies/clients visible to each\nbackend and vice versa.\n\nMust be greater than 0. If `subset_size` is larger than the number of\nbackends/endpoints, then subsetting is disabled.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"TCPHealthCheck": { +"id": "TCPHealthCheck", +"properties": { +"port": { +"description": "The TCP port number to which the health check prober sends packets. The\ndefault value is 80. Valid values are 1 through65535.", +"format": "int32", +"type": "integer" +}, +"portName": { +"description": "Not supported.", +"type": "string" +}, +"portSpecification": { +"description": "Specifies how a port is selected for health checking. Can be one of the\nfollowing values: \nUSE_FIXED_PORT: Specifies a port number explicitly using theport field in the health check. Supported by backend services\nfor passthrough load balancers and backend services for proxy load\nbalancers. Not supported by target pools. The health check supports all\nbackends supported by the backend service provided the backend can be\nhealth checked. For example, GCE_VM_IP network endpoint\ngroups, GCE_VM_IP_PORT network endpoint groups, and instance\ngroup backends. \nUSE_NAMED_PORT: Not supported. \nUSE_SERVING_PORT: Provides an indirect method of specifying\nthe health check port by referring to the backend service. Only supported\nby backend services for proxy load balancers. Not supported by target\npools. Not supported by backend services for passthrough load balancers.\nSupports all backends that can be health checked; for example,GCE_VM_IP_PORT network endpoint groups and instance group\nbackends.\n\nFor GCE_VM_IP_PORT network endpoint group backends, the health\ncheck uses the port number specified for each endpoint in the network\nendpoint group. For instance group backends, the health check uses the\nport number determined by looking up the backend service's named port in\nthe instance group's list of named ports.", +"enum": [ +"USE_FIXED_PORT", +"USE_NAMED_PORT", +"USE_SERVING_PORT" +], +"enumDescriptions": [ +"The port number in the health check's port is used for health\nchecking. Applies to network endpoint group and instance group backends.", +"Not supported.", +"For network endpoint group backends, the health check uses the port number\nspecified on each endpoint in the network endpoint group. For instance\ngroup backends, the health check uses the port number specified for the\nbackend service's named port defined in the instance group's named ports." +], +"type": "string" +}, +"proxyHeader": { +"description": "Specifies the type of proxy header to append before sending data to the\nbackend, either NONE or PROXY_V1. The default\nis NONE.", +"enum": [ +"NONE", +"PROXY_V1" +], +"enumDescriptions": [ +"", +"" +], +"type": "string" +}, +"request": { +"description": "Instructs the health check prober to send this exact ASCII string, up to\n1024 bytes in length, after establishing the TCP connection.", +"type": "string" +}, +"response": { +"description": "Creates a content-based TCP health check. In addition to establishing a\nTCP connection, you can configure the health check to pass only when the\nbackend sends this exact response ASCII string, up to 1024 bytes in length.\nFor details, see:\nhttps://cloud.google.com/load-balancing/docs/health-check-concepts#criteria-protocol-ssl-tcp", +"type": "string" +} +}, +"type": "object" +}, +"Tags": { +"description": "A set of instance tags.", +"id": "Tags", +"properties": { +"fingerprint": { +"description": "Specifies a fingerprint for this request, which is essentially a hash of\nthe tags' contents and used for optimistic locking. The\nfingerprint is initially generated by Compute Engine and changes after\nevery request to modify or update tags. You must always provide an\nup-to-date fingerprint hash in order to update or change tags.\n\nTo see the latest fingerprint, make get() request to the\ninstance.", +"format": "byte", +"type": "string" +}, +"items": { +"description": "An array of tags. Each tag must be 1-63 characters long, and comply\nwith RFC1035.", +"items": { +"type": "string" +}, +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"type": "array" +} +}, +"type": "object" +}, +"TargetGrpcProxy": { +"description": "Represents a Target gRPC Proxy resource.\n\nA target gRPC proxy is a component of load balancers intended for\nload balancing gRPC traffic. Only global forwarding rules with load balancing\nscheme INTERNAL_SELF_MANAGED can reference a target gRPC proxy. The target\ngRPC Proxy references a URL map that specifies how traffic is routed to\ngRPC backend services.", +"id": "TargetGrpcProxy", +"properties": { +"creationTimestamp": { +"description": "Output only. [Output Only] Creation timestamp inRFC3339\ntext format.", +"readOnly": true, +"type": "string" +}, +"description": { +"description": "An optional description of this resource. Provide this property when you\ncreate the resource.", +"type": "string" +}, +"fingerprint": { +"description": "Fingerprint of this resource. A hash of the contents stored in this object.\nThis field is used in optimistic locking. This field will be ignored when\ninserting a TargetGrpcProxy. An up-to-date fingerprint must\nbe provided in order to patch/update the TargetGrpcProxy; otherwise, the\nrequest will fail with error 412 conditionNotMet. To see the\nlatest fingerprint, make a get() request to retrieve the\nTargetGrpcProxy.", +"format": "byte", +"type": "string" +}, +"id": { +"description": "Output only. [Output Only] The unique identifier for the resource type. The server\ngenerates this identifier.", +"format": "uint64", +"readOnly": true, +"type": "string" +}, +"kind": { +"default": "compute#targetGrpcProxy", +"description": "Output only. [Output Only] Type of the resource. Alwayscompute#targetGrpcProxy for target grpc proxies.", +"readOnly": true, +"type": "string" +}, +"name": { +"annotations": { +"required": [ +"compute.targetGrpcProxies.insert" +] +}, +"description": "Name of the resource. Provided by the client when the resource is created.\nThe name must be 1-63 characters long, and comply withRFC1035.\nSpecifically, the name must be 1-63 characters long and match the regular\nexpression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first\ncharacter must be a lowercase letter, and all following characters must\nbe a dash, lowercase letter, or digit, except the last character, which\ncannot be a dash.", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"type": "string" +}, +"selfLink": { +"description": "Output only. [Output Only] Server-defined URL for the resource.", +"readOnly": true, +"type": "string" +}, +"selfLinkWithId": { +"description": "Output only. [Output Only] Server-defined URL with id for the resource.", +"readOnly": true, +"type": "string" +}, +"urlMap": { +"description": "URL to the UrlMap resource that defines the mapping from URL to the\nBackendService. The protocol field in the BackendService must be set to\nGRPC.", +"type": "string" +}, +"validateForProxyless": { +"description": "If true, indicates that the BackendServices referenced by the urlMap may be\naccessed by gRPC applications without using a sidecar proxy. This will\nenable configuration checks on urlMap and its referenced BackendServices to\nnot allow unsupported features. A gRPC application must use\n\"xds:///\" scheme in the target URI of the service it is\nconnecting to.\nIf false, indicates that the BackendServices referenced by the urlMap will\nbe accessed by gRPC applications via a sidecar proxy. In this case, a gRPC\napplication must not use \"xds:///\" scheme in the target URI of\nthe service it is connecting to", +"type": "boolean" +} +}, +"type": "object" +}, +"TargetGrpcProxyList": { +"id": "TargetGrpcProxyList", +"properties": { +"id": { +"description": "[Output Only] Unique identifier for the resource; defined by the server.", +"type": "string" +}, +"items": { +"description": "A list of TargetGrpcProxy resources.", +"items": { +"$ref": "TargetGrpcProxy" +}, +"type": "array" +}, +"kind": { +"default": "compute#targetGrpcProxyList", +"description": "Output only. [Output Only] Type of the resource. Alwayscompute#targetGrpcProxy for target grpc proxies.", +"readOnly": true, +"type": "string" +}, +"nextPageToken": { +"description": "[Output Only] This token allows you to get the next page of results for\nlist requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for\nthe query parameter pageToken in the next list request.\nSubsequent list requests will have their own nextPageToken to\ncontinue paging through the results.", +"type": "string" +}, +"selfLink": { +"description": "[Output Only] Server-defined URL for this resource.", +"type": "string" +}, +"warning": { +"description": "[Output Only] Informational warning message.", +"properties": { +"code": { +"description": "[Output Only] A warning code, if applicable. For example, Compute\nEngine returns NO_RESULTS_ON_PAGE if there\nare no results in the response.", +"enum": [ +"CLEANUP_FAILED", +"DEPRECATED_RESOURCE_USED", +"DEPRECATED_TYPE_USED", +"DISK_SIZE_LARGER_THAN_IMAGE_SIZE", +"EXPERIMENTAL_TYPE_USED", +"EXTERNAL_API_WARNING", +"FIELD_VALUE_OVERRIDEN", +"INJECTED_KERNELS_DEPRECATED", +"INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", +"LARGE_DEPLOYMENT_WARNING", +"LIST_OVERHEAD_QUOTA_EXCEED", +"MISSING_TYPE_DEPENDENCY", +"NEXT_HOP_ADDRESS_NOT_ASSIGNED", +"NEXT_HOP_CANNOT_IP_FORWARD", +"NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", +"NEXT_HOP_INSTANCE_NOT_FOUND", +"NEXT_HOP_INSTANCE_NOT_ON_NETWORK", +"NEXT_HOP_NOT_RUNNING", +"NOT_CRITICAL_ERROR", +"NO_RESULTS_ON_PAGE", +"PARTIAL_SUCCESS", +"QUOTA_INFO_UNAVAILABLE", +"REQUIRED_TOS_AGREEMENT", +"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", +"RESOURCE_NOT_DELETED", +"SCHEMA_VALIDATION_IGNORED", +"SINGLE_INSTANCE_PROPERTY_TEMPLATE", +"UNDECLARED_PROPERTIES", +"UNREACHABLE" +], +"enumDeprecated": [ +false, +false, +false, +false, +false, +false, +true, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false +], +"enumDescriptions": [ +"Warning about failed cleanup of transient changes made by a failed\noperation.", +"A link to a deprecated resource was created.", +"When deploying and at least one of the resources has a type marked as\ndeprecated", +"The user created a boot disk that is larger than image size.", +"When deploying and at least one of the resources has a type marked as\nexperimental", +"Warning that is present in an external api call", +"Warning that value of a field has been overridden.\nDeprecated unused field.", +"The operation involved use of an injected kernel, which is deprecated.", +"A WEIGHTED_MAGLEV backend service is associated with a health check that is\nnot of type HTTP/HTTPS/HTTP2.", +"When deploying a deployment with a exceedingly large number of resources", +"Resource can't be retrieved due to list overhead quota exceed\nwhich captures the amount of resources filtered out by\nuser-defined list filter.", +"A resource depends on a missing type", +"The route's nextHopIp address is not assigned to an instance on the\nnetwork.", +"The route's next hop instance cannot ip forward.", +"The route's nextHopInstance URL refers to an instance that does not have an\nipv6 interface on the same network as the route.", +"The route's nextHopInstance URL refers to an instance that does not exist.", +"The route's nextHopInstance URL refers to an instance that is not on the\nsame network as the route.", +"The route's next hop instance does not have a status of RUNNING.", +"Error which is not critical. We decided to continue the process despite\nthe mentioned error.", +"No results are present on a particular list page.", +"Success is reported, but some results may be missing due to errors", +"Quota information is not available to client requests (e.g:\nregions.list).", +"The user attempted to use a resource that requires a TOS they have not\naccepted.", +"Warning that a resource is in use.", +"One or more of the resources set to auto-delete could not be deleted\nbecause they were in use.", +"When a resource schema validation is ignored.", +"Instance template used in instance group manager is valid as such, but\nits application does not make a lot of sense, because it allows only\nsingle instance in instance group.", +"When undeclared properties in the schema are present", +"A given scope cannot be reached." +], +"type": "string" +}, +"data": { +"description": "[Output Only] Metadata about this warning in key:\nvalue format. For example:\n\n\"data\": [\n {\n \"key\": \"scope\",\n \"value\": \"zones/us-east1-d\"\n }", +"items": { +"properties": { +"key": { +"description": "[Output Only] A key that provides more detail on the warning being\nreturned. For example, for warnings where there are no results in a list\nrequest for a particular zone, this key might be scope and\nthe key value might be the zone name. Other examples might be a key\nindicating a deprecated resource and a suggested replacement, or a\nwarning about invalid network settings (for example, if an instance\nattempts to perform IP forwarding but is not enabled for IP forwarding).", +"type": "string" +}, +"value": { +"description": "[Output Only] A warning data value corresponding to the key.", +"type": "string" +} +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "[Output Only] A human-readable description of the warning code.", +"type": "string" +} +}, +"type": "object" +} +}, +"type": "object" +}, +"TargetHttpProxiesScopedList": { +"id": "TargetHttpProxiesScopedList", +"properties": { +"targetHttpProxies": { +"description": "A list of TargetHttpProxies contained in this scope.", +"items": { +"$ref": "TargetHttpProxy" +}, +"type": "array" +}, +"warning": { +"description": "Informational warning which replaces the list of\nbackend services when the list is empty.", +"properties": { +"code": { +"description": "[Output Only] A warning code, if applicable. For example, Compute\nEngine returns NO_RESULTS_ON_PAGE if there\nare no results in the response.", +"enum": [ +"CLEANUP_FAILED", +"DEPRECATED_RESOURCE_USED", +"DEPRECATED_TYPE_USED", +"DISK_SIZE_LARGER_THAN_IMAGE_SIZE", +"EXPERIMENTAL_TYPE_USED", +"EXTERNAL_API_WARNING", +"FIELD_VALUE_OVERRIDEN", +"INJECTED_KERNELS_DEPRECATED", +"INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", +"LARGE_DEPLOYMENT_WARNING", +"LIST_OVERHEAD_QUOTA_EXCEED", +"MISSING_TYPE_DEPENDENCY", +"NEXT_HOP_ADDRESS_NOT_ASSIGNED", +"NEXT_HOP_CANNOT_IP_FORWARD", +"NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", +"NEXT_HOP_INSTANCE_NOT_FOUND", +"NEXT_HOP_INSTANCE_NOT_ON_NETWORK", +"NEXT_HOP_NOT_RUNNING", +"NOT_CRITICAL_ERROR", +"NO_RESULTS_ON_PAGE", +"PARTIAL_SUCCESS", +"QUOTA_INFO_UNAVAILABLE", +"REQUIRED_TOS_AGREEMENT", +"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", +"RESOURCE_NOT_DELETED", +"SCHEMA_VALIDATION_IGNORED", +"SINGLE_INSTANCE_PROPERTY_TEMPLATE", +"UNDECLARED_PROPERTIES", +"UNREACHABLE" +], +"enumDeprecated": [ +false, +false, +false, +false, +false, +false, +true, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false +], +"enumDescriptions": [ +"Warning about failed cleanup of transient changes made by a failed\noperation.", +"A link to a deprecated resource was created.", +"When deploying and at least one of the resources has a type marked as\ndeprecated", +"The user created a boot disk that is larger than image size.", +"When deploying and at least one of the resources has a type marked as\nexperimental", +"Warning that is present in an external api call", +"Warning that value of a field has been overridden.\nDeprecated unused field.", +"The operation involved use of an injected kernel, which is deprecated.", +"A WEIGHTED_MAGLEV backend service is associated with a health check that is\nnot of type HTTP/HTTPS/HTTP2.", +"When deploying a deployment with a exceedingly large number of resources", +"Resource can't be retrieved due to list overhead quota exceed\nwhich captures the amount of resources filtered out by\nuser-defined list filter.", +"A resource depends on a missing type", +"The route's nextHopIp address is not assigned to an instance on the\nnetwork.", +"The route's next hop instance cannot ip forward.", +"The route's nextHopInstance URL refers to an instance that does not have an\nipv6 interface on the same network as the route.", +"The route's nextHopInstance URL refers to an instance that does not exist.", +"The route's nextHopInstance URL refers to an instance that is not on the\nsame network as the route.", +"The route's next hop instance does not have a status of RUNNING.", +"Error which is not critical. We decided to continue the process despite\nthe mentioned error.", +"No results are present on a particular list page.", +"Success is reported, but some results may be missing due to errors", +"Quota information is not available to client requests (e.g:\nregions.list).", +"The user attempted to use a resource that requires a TOS they have not\naccepted.", +"Warning that a resource is in use.", +"One or more of the resources set to auto-delete could not be deleted\nbecause they were in use.", +"When a resource schema validation is ignored.", +"Instance template used in instance group manager is valid as such, but\nits application does not make a lot of sense, because it allows only\nsingle instance in instance group.", +"When undeclared properties in the schema are present", +"A given scope cannot be reached." +], +"type": "string" +}, +"data": { +"description": "[Output Only] Metadata about this warning in key:\nvalue format. For example:\n\n\"data\": [\n {\n \"key\": \"scope\",\n \"value\": \"zones/us-east1-d\"\n }", +"items": { +"properties": { +"key": { +"description": "[Output Only] A key that provides more detail on the warning being\nreturned. For example, for warnings where there are no results in a list\nrequest for a particular zone, this key might be scope and\nthe key value might be the zone name. Other examples might be a key\nindicating a deprecated resource and a suggested replacement, or a\nwarning about invalid network settings (for example, if an instance\nattempts to perform IP forwarding but is not enabled for IP forwarding).", +"type": "string" +}, +"value": { +"description": "[Output Only] A warning data value corresponding to the key.", +"type": "string" +} +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "[Output Only] A human-readable description of the warning code.", +"type": "string" +} +}, +"type": "object" +} +}, +"type": "object" +}, +"TargetHttpProxy": { +"description": "Represents a Target HTTP Proxy resource.\n\nGoogle Compute Engine has two Target HTTP Proxy resources:\n\n* [Global](/compute/docs/reference/rest/beta/targetHttpProxies)\n* [Regional](/compute/docs/reference/rest/beta/regionTargetHttpProxies)\n\nA target HTTP proxy is a component of Google Cloud HTTP load balancers.\n\n* targetHttpProxies are used by global external Application Load Balancers,\n classic Application Load Balancers, cross-region internal Application Load\n Balancers, and Traffic Director.\n* regionTargetHttpProxies are used by regional internal Application Load\n Balancers and regional external Application Load Balancers.\n\nForwarding rules reference a target HTTP proxy, and the target proxy\nthen references a URL map. For more information, readUsing Target Proxies\nand \nForwarding rule concepts.", +"id": "TargetHttpProxy", +"properties": { +"creationTimestamp": { +"description": "Output only. [Output Only] Creation timestamp inRFC3339\ntext format.", +"readOnly": true, +"type": "string" +}, +"description": { +"description": "An optional description of this resource. Provide this property when you\ncreate the resource.", +"type": "string" +}, +"fingerprint": { +"description": "Fingerprint of this resource. A hash of the contents stored in this object.\nThis field is used in optimistic locking. This field will be ignored when\ninserting a TargetHttpProxy. An up-to-date fingerprint must\nbe provided in order to patch/update the TargetHttpProxy; otherwise, the\nrequest will fail with error 412 conditionNotMet. To see the\nlatest fingerprint, make a get() request to retrieve the\nTargetHttpProxy.", +"format": "byte", +"type": "string" +}, +"httpFilters": { +"description": "URLs to networkservices.HttpFilter resources\nenabled for xDS clients using this configuration. For example,https://networkservices.googleapis.com/v1alpha1/projects/project/locations/locationhttpFilters/httpFilter\nOnly filters that handle outbound connection and\nstream events may be specified. These filters work in conjunction with\na default set of HTTP filters that may already be configured by Traffic\nDirector. Traffic Director will determine the final location of these\nfilters within xDS configuration based on the name of the HTTP filter. If\nTraffic Director positions multiple filters at the same location, those\nfilters will be in the same order as specified in this list. \n\nhttpFilters only applies for loadbalancers withloadBalancingScheme set to INTERNAL_SELF_MANAGED.\nSee ForwardingRule for more details.", +"items": { +"type": "string" +}, +"type": "array" +}, +"httpKeepAliveTimeoutSec": { +"description": "Specifies how long to keep a connection open, after completing a response,\nwhile there is no matching traffic (in seconds). If an HTTP keep-alive is\nnot specified, a default value (610 seconds) will be used.\n\nFor global external Application Load Balancers, the minimum allowed value\nis 5 seconds and the maximum allowed value is 1200 seconds.\n\nFor classic Application Load Balancers, this option is not supported.", +"format": "int32", +"type": "integer" +}, +"id": { +"description": "[Output Only] The unique identifier for the resource. This identifier is\ndefined by the server.", +"format": "uint64", +"type": "string" +}, +"kind": { +"default": "compute#targetHttpProxy", +"description": "Output only. [Output Only] Type of resource. Always compute#targetHttpProxy\nfor target HTTP proxies.", +"readOnly": true, +"type": "string" +}, +"name": { +"description": "Name of the resource. Provided by the client when the resource is created.\nThe name must be 1-63 characters long, and comply withRFC1035.\nSpecifically, the name must be 1-63 characters long and match the regular\nexpression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first\ncharacter must be a lowercase letter, and all following characters must\nbe a dash, lowercase letter, or digit, except the last character, which\ncannot be a dash.", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"type": "string" +}, +"proxyBind": { +"description": "This field only applies when the forwarding rule that references this\ntarget proxy has a loadBalancingScheme set toINTERNAL_SELF_MANAGED.\n\nWhen this field is set to true, Envoy proxies set up inbound\ntraffic interception and bind to the IP address and port specified in the\nforwarding rule. This is generally useful when using Traffic Director to\nconfigure Envoy as a gateway or middle proxy (in other words, not a\nsidecar proxy). The Envoy proxy listens for inbound requests and handles\nrequests when it receives them.\n\nThe default is false.", +"type": "boolean" +}, +"region": { +"description": "Output only. [Output Only] URL of the region where the regional Target HTTP Proxy\nresides. This field is not applicable to global Target HTTP Proxies.", +"readOnly": true, +"type": "string" +}, +"selfLink": { +"description": "[Output Only] Server-defined URL for the resource.", +"type": "string" +}, +"urlMap": { +"description": "URL to the UrlMap resource that defines the mapping from URL to\nthe BackendService.", +"type": "string" +} +}, +"type": "object" +}, +"TargetHttpProxyAggregatedList": { +"id": "TargetHttpProxyAggregatedList", +"properties": { +"id": { +"description": "[Output Only] Unique identifier for the resource; defined by the server.", +"type": "string" +}, +"items": { +"additionalProperties": { +"$ref": "TargetHttpProxiesScopedList", +"description": "Name of the scope containing this set of TargetHttpProxies." +}, +"description": "A list of TargetHttpProxiesScopedList resources.", +"type": "object" +}, +"kind": { +"default": "compute#targetHttpProxyAggregatedList", +"description": "Output only. [Output Only] Type of resource. Alwayscompute#targetHttpProxyAggregatedList for lists of Target HTTP\nProxies.", +"readOnly": true, +"type": "string" +}, +"nextPageToken": { +"description": "[Output Only] This token allows you to get the next page of results for\nlist requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for\nthe query parameter pageToken in the next list request.\nSubsequent list requests will have their own nextPageToken to\ncontinue paging through the results.", +"type": "string" +}, +"selfLink": { +"description": "Output only. [Output Only] Server-defined URL for this resource.", +"readOnly": true, +"type": "string" +}, +"unreachables": { +"description": "Output only. [Output Only] Unreachable resources.", +"items": { +"type": "string" +}, +"readOnly": true, +"type": "array" +}, +"warning": { +"description": "[Output Only] Informational warning message.", +"properties": { +"code": { +"description": "[Output Only] A warning code, if applicable. For example, Compute\nEngine returns NO_RESULTS_ON_PAGE if there\nare no results in the response.", +"enum": [ +"CLEANUP_FAILED", +"DEPRECATED_RESOURCE_USED", +"DEPRECATED_TYPE_USED", +"DISK_SIZE_LARGER_THAN_IMAGE_SIZE", +"EXPERIMENTAL_TYPE_USED", +"EXTERNAL_API_WARNING", +"FIELD_VALUE_OVERRIDEN", +"INJECTED_KERNELS_DEPRECATED", +"INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", +"LARGE_DEPLOYMENT_WARNING", +"LIST_OVERHEAD_QUOTA_EXCEED", +"MISSING_TYPE_DEPENDENCY", +"NEXT_HOP_ADDRESS_NOT_ASSIGNED", +"NEXT_HOP_CANNOT_IP_FORWARD", +"NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", +"NEXT_HOP_INSTANCE_NOT_FOUND", +"NEXT_HOP_INSTANCE_NOT_ON_NETWORK", +"NEXT_HOP_NOT_RUNNING", +"NOT_CRITICAL_ERROR", +"NO_RESULTS_ON_PAGE", +"PARTIAL_SUCCESS", +"QUOTA_INFO_UNAVAILABLE", +"REQUIRED_TOS_AGREEMENT", +"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", +"RESOURCE_NOT_DELETED", +"SCHEMA_VALIDATION_IGNORED", +"SINGLE_INSTANCE_PROPERTY_TEMPLATE", +"UNDECLARED_PROPERTIES", +"UNREACHABLE" +], +"enumDeprecated": [ +false, +false, +false, +false, +false, +false, +true, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false +], +"enumDescriptions": [ +"Warning about failed cleanup of transient changes made by a failed\noperation.", +"A link to a deprecated resource was created.", +"When deploying and at least one of the resources has a type marked as\ndeprecated", +"The user created a boot disk that is larger than image size.", +"When deploying and at least one of the resources has a type marked as\nexperimental", +"Warning that is present in an external api call", +"Warning that value of a field has been overridden.\nDeprecated unused field.", +"The operation involved use of an injected kernel, which is deprecated.", +"A WEIGHTED_MAGLEV backend service is associated with a health check that is\nnot of type HTTP/HTTPS/HTTP2.", +"When deploying a deployment with a exceedingly large number of resources", +"Resource can't be retrieved due to list overhead quota exceed\nwhich captures the amount of resources filtered out by\nuser-defined list filter.", +"A resource depends on a missing type", +"The route's nextHopIp address is not assigned to an instance on the\nnetwork.", +"The route's next hop instance cannot ip forward.", +"The route's nextHopInstance URL refers to an instance that does not have an\nipv6 interface on the same network as the route.", +"The route's nextHopInstance URL refers to an instance that does not exist.", +"The route's nextHopInstance URL refers to an instance that is not on the\nsame network as the route.", +"The route's next hop instance does not have a status of RUNNING.", +"Error which is not critical. We decided to continue the process despite\nthe mentioned error.", +"No results are present on a particular list page.", +"Success is reported, but some results may be missing due to errors", +"Quota information is not available to client requests (e.g:\nregions.list).", +"The user attempted to use a resource that requires a TOS they have not\naccepted.", +"Warning that a resource is in use.", +"One or more of the resources set to auto-delete could not be deleted\nbecause they were in use.", +"When a resource schema validation is ignored.", +"Instance template used in instance group manager is valid as such, but\nits application does not make a lot of sense, because it allows only\nsingle instance in instance group.", +"When undeclared properties in the schema are present", +"A given scope cannot be reached." +], +"type": "string" +}, +"data": { +"description": "[Output Only] Metadata about this warning in key:\nvalue format. For example:\n\n\"data\": [\n {\n \"key\": \"scope\",\n \"value\": \"zones/us-east1-d\"\n }", +"items": { +"properties": { +"key": { +"description": "[Output Only] A key that provides more detail on the warning being\nreturned. For example, for warnings where there are no results in a list\nrequest for a particular zone, this key might be scope and\nthe key value might be the zone name. Other examples might be a key\nindicating a deprecated resource and a suggested replacement, or a\nwarning about invalid network settings (for example, if an instance\nattempts to perform IP forwarding but is not enabled for IP forwarding).", +"type": "string" +}, +"value": { +"description": "[Output Only] A warning data value corresponding to the key.", +"type": "string" +} +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "[Output Only] A human-readable description of the warning code.", +"type": "string" +} +}, +"type": "object" +} +}, +"type": "object" +}, +"TargetHttpProxyList": { +"description": "A list of TargetHttpProxy resources.", +"id": "TargetHttpProxyList", +"properties": { +"id": { +"description": "[Output Only] Unique identifier for the resource; defined by the server.", +"type": "string" +}, +"items": { +"description": "A list of TargetHttpProxy resources.", +"items": { +"$ref": "TargetHttpProxy" +}, +"type": "array" +}, +"kind": { +"default": "compute#targetHttpProxyList", +"description": "Output only. Type of resource. Always compute#targetHttpProxyList for lists\nof target HTTP proxies.", +"readOnly": true, +"type": "string" +}, +"nextPageToken": { +"description": "[Output Only] This token allows you to get the next page of results for\nlist requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for\nthe query parameter pageToken in the next list request.\nSubsequent list requests will have their own nextPageToken to\ncontinue paging through the results.", +"type": "string" +}, +"selfLink": { +"description": "Output only. [Output Only] Server-defined URL for this resource.", +"readOnly": true, +"type": "string" +}, +"warning": { +"description": "[Output Only] Informational warning message.", +"properties": { +"code": { +"description": "[Output Only] A warning code, if applicable. For example, Compute\nEngine returns NO_RESULTS_ON_PAGE if there\nare no results in the response.", +"enum": [ +"CLEANUP_FAILED", +"DEPRECATED_RESOURCE_USED", +"DEPRECATED_TYPE_USED", +"DISK_SIZE_LARGER_THAN_IMAGE_SIZE", +"EXPERIMENTAL_TYPE_USED", +"EXTERNAL_API_WARNING", +"FIELD_VALUE_OVERRIDEN", +"INJECTED_KERNELS_DEPRECATED", +"INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", +"LARGE_DEPLOYMENT_WARNING", +"LIST_OVERHEAD_QUOTA_EXCEED", +"MISSING_TYPE_DEPENDENCY", +"NEXT_HOP_ADDRESS_NOT_ASSIGNED", +"NEXT_HOP_CANNOT_IP_FORWARD", +"NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", +"NEXT_HOP_INSTANCE_NOT_FOUND", +"NEXT_HOP_INSTANCE_NOT_ON_NETWORK", +"NEXT_HOP_NOT_RUNNING", +"NOT_CRITICAL_ERROR", +"NO_RESULTS_ON_PAGE", +"PARTIAL_SUCCESS", +"QUOTA_INFO_UNAVAILABLE", +"REQUIRED_TOS_AGREEMENT", +"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", +"RESOURCE_NOT_DELETED", +"SCHEMA_VALIDATION_IGNORED", +"SINGLE_INSTANCE_PROPERTY_TEMPLATE", +"UNDECLARED_PROPERTIES", +"UNREACHABLE" +], +"enumDeprecated": [ +false, +false, +false, +false, +false, +false, +true, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false +], +"enumDescriptions": [ +"Warning about failed cleanup of transient changes made by a failed\noperation.", +"A link to a deprecated resource was created.", +"When deploying and at least one of the resources has a type marked as\ndeprecated", +"The user created a boot disk that is larger than image size.", +"When deploying and at least one of the resources has a type marked as\nexperimental", +"Warning that is present in an external api call", +"Warning that value of a field has been overridden.\nDeprecated unused field.", +"The operation involved use of an injected kernel, which is deprecated.", +"A WEIGHTED_MAGLEV backend service is associated with a health check that is\nnot of type HTTP/HTTPS/HTTP2.", +"When deploying a deployment with a exceedingly large number of resources", +"Resource can't be retrieved due to list overhead quota exceed\nwhich captures the amount of resources filtered out by\nuser-defined list filter.", +"A resource depends on a missing type", +"The route's nextHopIp address is not assigned to an instance on the\nnetwork.", +"The route's next hop instance cannot ip forward.", +"The route's nextHopInstance URL refers to an instance that does not have an\nipv6 interface on the same network as the route.", +"The route's nextHopInstance URL refers to an instance that does not exist.", +"The route's nextHopInstance URL refers to an instance that is not on the\nsame network as the route.", +"The route's next hop instance does not have a status of RUNNING.", +"Error which is not critical. We decided to continue the process despite\nthe mentioned error.", +"No results are present on a particular list page.", +"Success is reported, but some results may be missing due to errors", +"Quota information is not available to client requests (e.g:\nregions.list).", +"The user attempted to use a resource that requires a TOS they have not\naccepted.", +"Warning that a resource is in use.", +"One or more of the resources set to auto-delete could not be deleted\nbecause they were in use.", +"When a resource schema validation is ignored.", +"Instance template used in instance group manager is valid as such, but\nits application does not make a lot of sense, because it allows only\nsingle instance in instance group.", +"When undeclared properties in the schema are present", +"A given scope cannot be reached." +], +"type": "string" +}, +"data": { +"description": "[Output Only] Metadata about this warning in key:\nvalue format. For example:\n\n\"data\": [\n {\n \"key\": \"scope\",\n \"value\": \"zones/us-east1-d\"\n }", +"items": { +"properties": { +"key": { +"description": "[Output Only] A key that provides more detail on the warning being\nreturned. For example, for warnings where there are no results in a list\nrequest for a particular zone, this key might be scope and\nthe key value might be the zone name. Other examples might be a key\nindicating a deprecated resource and a suggested replacement, or a\nwarning about invalid network settings (for example, if an instance\nattempts to perform IP forwarding but is not enabled for IP forwarding).", +"type": "string" +}, +"value": { +"description": "[Output Only] A warning data value corresponding to the key.", +"type": "string" +} +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "[Output Only] A human-readable description of the warning code.", +"type": "string" +} +}, +"type": "object" +} +}, +"type": "object" +}, +"TargetHttpsProxiesScopedList": { +"id": "TargetHttpsProxiesScopedList", +"properties": { +"targetHttpsProxies": { +"description": "A list of TargetHttpsProxies contained in this scope.", +"items": { +"$ref": "TargetHttpsProxy" +}, +"type": "array" +}, +"warning": { +"description": "Informational warning which replaces the list of\nbackend services when the list is empty.", +"properties": { +"code": { +"description": "[Output Only] A warning code, if applicable. For example, Compute\nEngine returns NO_RESULTS_ON_PAGE if there\nare no results in the response.", +"enum": [ +"CLEANUP_FAILED", +"DEPRECATED_RESOURCE_USED", +"DEPRECATED_TYPE_USED", +"DISK_SIZE_LARGER_THAN_IMAGE_SIZE", +"EXPERIMENTAL_TYPE_USED", +"EXTERNAL_API_WARNING", +"FIELD_VALUE_OVERRIDEN", +"INJECTED_KERNELS_DEPRECATED", +"INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", +"LARGE_DEPLOYMENT_WARNING", +"LIST_OVERHEAD_QUOTA_EXCEED", +"MISSING_TYPE_DEPENDENCY", +"NEXT_HOP_ADDRESS_NOT_ASSIGNED", +"NEXT_HOP_CANNOT_IP_FORWARD", +"NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", +"NEXT_HOP_INSTANCE_NOT_FOUND", +"NEXT_HOP_INSTANCE_NOT_ON_NETWORK", +"NEXT_HOP_NOT_RUNNING", +"NOT_CRITICAL_ERROR", +"NO_RESULTS_ON_PAGE", +"PARTIAL_SUCCESS", +"QUOTA_INFO_UNAVAILABLE", +"REQUIRED_TOS_AGREEMENT", +"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", +"RESOURCE_NOT_DELETED", +"SCHEMA_VALIDATION_IGNORED", +"SINGLE_INSTANCE_PROPERTY_TEMPLATE", +"UNDECLARED_PROPERTIES", +"UNREACHABLE" +], +"enumDeprecated": [ +false, +false, +false, +false, +false, +false, +true, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false +], +"enumDescriptions": [ +"Warning about failed cleanup of transient changes made by a failed\noperation.", +"A link to a deprecated resource was created.", +"When deploying and at least one of the resources has a type marked as\ndeprecated", +"The user created a boot disk that is larger than image size.", +"When deploying and at least one of the resources has a type marked as\nexperimental", +"Warning that is present in an external api call", +"Warning that value of a field has been overridden.\nDeprecated unused field.", +"The operation involved use of an injected kernel, which is deprecated.", +"A WEIGHTED_MAGLEV backend service is associated with a health check that is\nnot of type HTTP/HTTPS/HTTP2.", +"When deploying a deployment with a exceedingly large number of resources", +"Resource can't be retrieved due to list overhead quota exceed\nwhich captures the amount of resources filtered out by\nuser-defined list filter.", +"A resource depends on a missing type", +"The route's nextHopIp address is not assigned to an instance on the\nnetwork.", +"The route's next hop instance cannot ip forward.", +"The route's nextHopInstance URL refers to an instance that does not have an\nipv6 interface on the same network as the route.", +"The route's nextHopInstance URL refers to an instance that does not exist.", +"The route's nextHopInstance URL refers to an instance that is not on the\nsame network as the route.", +"The route's next hop instance does not have a status of RUNNING.", +"Error which is not critical. We decided to continue the process despite\nthe mentioned error.", +"No results are present on a particular list page.", +"Success is reported, but some results may be missing due to errors", +"Quota information is not available to client requests (e.g:\nregions.list).", +"The user attempted to use a resource that requires a TOS they have not\naccepted.", +"Warning that a resource is in use.", +"One or more of the resources set to auto-delete could not be deleted\nbecause they were in use.", +"When a resource schema validation is ignored.", +"Instance template used in instance group manager is valid as such, but\nits application does not make a lot of sense, because it allows only\nsingle instance in instance group.", +"When undeclared properties in the schema are present", +"A given scope cannot be reached." +], +"type": "string" +}, +"data": { +"description": "[Output Only] Metadata about this warning in key:\nvalue format. For example:\n\n\"data\": [\n {\n \"key\": \"scope\",\n \"value\": \"zones/us-east1-d\"\n }", +"items": { +"properties": { +"key": { +"description": "[Output Only] A key that provides more detail on the warning being\nreturned. For example, for warnings where there are no results in a list\nrequest for a particular zone, this key might be scope and\nthe key value might be the zone name. Other examples might be a key\nindicating a deprecated resource and a suggested replacement, or a\nwarning about invalid network settings (for example, if an instance\nattempts to perform IP forwarding but is not enabled for IP forwarding).", +"type": "string" +}, +"value": { +"description": "[Output Only] A warning data value corresponding to the key.", +"type": "string" +} +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "[Output Only] A human-readable description of the warning code.", +"type": "string" +} +}, +"type": "object" +} +}, +"type": "object" +}, +"TargetHttpsProxiesSetCertificateMapRequest": { +"id": "TargetHttpsProxiesSetCertificateMapRequest", +"properties": { +"certificateMap": { +"description": "URL of the Certificate Map to associate with this TargetHttpsProxy.\n\n Accepted format is//certificatemanager.googleapis.com/projects/{project}/locations/{location}/certificateMaps/{resourceName}.", +"type": "string" +} +}, +"type": "object" +}, +"TargetHttpsProxiesSetQuicOverrideRequest": { +"id": "TargetHttpsProxiesSetQuicOverrideRequest", +"properties": { +"quicOverride": { +"description": "QUIC policy for the TargetHttpsProxy resource.", +"enum": [ +"DISABLE", +"ENABLE", +"NONE" +], +"enumDescriptions": [ +"The load balancer will not attempt to negotiate QUIC with clients.", +"The load balancer will attempt to negotiate QUIC with clients.", +"No overrides to the default QUIC policy. This option is implicit if\nno QUIC override has been specified in the request." +], +"type": "string" +} +}, +"type": "object" +}, +"TargetHttpsProxiesSetSslCertificatesRequest": { +"id": "TargetHttpsProxiesSetSslCertificatesRequest", +"properties": { +"sslCertificates": { +"description": "New set of SslCertificate resources to associate\nwith this TargetHttpsProxy resource. At least one SSL\ncertificate must be specified. Currently, you may specify up to 15 SSL\ncertificates.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"TargetHttpsProxy": { +"description": "Represents a Target HTTPS Proxy resource.\n\nGoogle Compute Engine has two Target HTTPS Proxy resources:\n\n* [Global](/compute/docs/reference/rest/beta/targetHttpsProxies)\n* [Regional](/compute/docs/reference/rest/beta/regionTargetHttpsProxies)\n\nA target HTTPS proxy is a component of Google Cloud HTTPS load balancers.\n\n* targetHttpsProxies are used by global external Application Load Balancers,\n classic Application Load Balancers, cross-region internal Application Load\n Balancers, and Traffic Director.\n* regionTargetHttpsProxies are used by regional internal Application Load\n Balancers and regional external Application Load Balancers.\n\nForwarding rules reference a target HTTPS proxy, and the target proxy\nthen references a URL map. For more information, readUsing Target Proxies\nand \nForwarding rule concepts.", +"id": "TargetHttpsProxy", +"properties": { +"authentication": { +"deprecated": true, +"description": "[Deprecated] Use serverTlsPolicy instead.", +"type": "string" +}, +"authorization": { +"deprecated": true, +"description": "[Deprecated] Use authorizationPolicy instead.", +"type": "string" +}, +"authorizationPolicy": { +"description": "Optional. A URL referring to a networksecurity.AuthorizationPolicy resource\nthat describes how the proxy should authorize inbound traffic. If left\nblank, access will not be restricted by an authorization policy.\n\n Refer to the AuthorizationPolicy resource for additional\ndetails.\n\n authorizationPolicy only applies to a globalTargetHttpsProxy attached toglobalForwardingRules with theloadBalancingScheme set to INTERNAL_SELF_MANAGED.\n\n Note: This field currently has no impact.", +"type": "string" +}, +"certificateMap": { +"description": "URL of a certificate map that identifies a certificate map associated with\nthe given target proxy.\nThis field can only be set for Global external Application Load Balancer or\nClassic Application Load Balancer. For other products use Certificate\nManager Certificates instead.\n\nIf set, sslCertificates will be ignored.\n\n Accepted format is//certificatemanager.googleapis.com/projects/{project}/locations/{location}/certificateMaps/{resourceName}.", +"type": "string" +}, +"creationTimestamp": { +"description": "Output only. [Output Only] Creation timestamp inRFC3339\ntext format.", +"readOnly": true, +"type": "string" +}, +"description": { +"description": "An optional description of this resource. Provide this property when you\ncreate the resource.", +"type": "string" +}, +"fingerprint": { +"description": "Fingerprint of this resource. A hash of the contents stored in this object.\nThis field is used in optimistic locking. This field will be ignored when\ninserting a TargetHttpsProxy. An up-to-date fingerprint must\nbe provided in order to patch the TargetHttpsProxy; otherwise, the request\nwill fail with error 412 conditionNotMet. To see the latest\nfingerprint, make a get() request to retrieve the\nTargetHttpsProxy.", +"format": "byte", +"type": "string" +}, +"httpFilters": { +"description": "URLs to networkservices.HttpFilter resources\nenabled for xDS clients using this configuration. For example,https://networkservices.googleapis.com/beta/projects/project/locations/location/httpFilters/httpFilter\nOnly filters that handle outbound connection and\nstream events may be specified. These filters work in conjunction with\na default set of HTTP filters that may already be configured by Traffic\nDirector. Traffic Director will determine the final location of these\nfilters within xDS configuration based on the name of the HTTP filter. If\nTraffic Director positions multiple filters at the same location, those\nfilters will be in the same order as specified in this list. \n\nhttpFilters only applies for loadbalancers withloadBalancingScheme set to INTERNAL_SELF_MANAGED.\nSee ForwardingRule for more details.", +"items": { +"type": "string" +}, +"type": "array" +}, +"httpKeepAliveTimeoutSec": { +"description": "Specifies how long to keep a connection open, after completing a response,\nwhile there is no matching traffic (in seconds). If an HTTP keep-alive is\nnot specified, a default value (610 seconds) will be used.\n\nFor global external Application Load Balancers, the minimum allowed value\nis 5 seconds and the maximum allowed value is 1200 seconds.\n\nFor classic Application Load Balancers, this option is not supported.", +"format": "int32", +"type": "integer" +}, +"id": { +"description": "[Output Only] The unique identifier for the resource. This identifier is\ndefined by the server.", +"format": "uint64", +"type": "string" +}, +"kind": { +"default": "compute#targetHttpsProxy", +"description": "Output only. [Output Only] Type of resource. Alwayscompute#targetHttpsProxy for target HTTPS proxies.", +"readOnly": true, +"type": "string" +}, +"name": { +"description": "Name of the resource. Provided by the client when the resource is created.\nThe name must be 1-63 characters long, and comply withRFC1035.\nSpecifically, the name must be 1-63 characters long and match the regular\nexpression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first\ncharacter must be a lowercase letter, and all following characters must\nbe a dash, lowercase letter, or digit, except the last character, which\ncannot be a dash.", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"type": "string" +}, +"proxyBind": { +"description": "This field only applies when the forwarding rule that references this\ntarget proxy has a loadBalancingScheme set toINTERNAL_SELF_MANAGED.\n\nWhen this field is set to true, Envoy proxies set up inbound\ntraffic interception and bind to the IP address and port specified in the\nforwarding rule. This is generally useful when using Traffic Director to\nconfigure Envoy as a gateway or middle proxy (in other words, not a\nsidecar proxy). The Envoy proxy listens for inbound requests and handles\nrequests when it receives them.\n\nThe default is false.", +"type": "boolean" +}, +"quicOverride": { +"description": "Specifies the QUIC override policy for this TargetHttpsProxy resource. This\nsetting determines whether the load balancer attempts to negotiate QUIC\nwith clients.\nYou can specify NONE, ENABLE, orDISABLE.\n \n - When quic-override is set to NONE,\n Google manages whether QUIC is used.\n - When quic-override is set to ENABLE, the\n load balancer uses QUIC when possible.\n - When quic-override is set to DISABLE, the\n load balancer doesn't use QUIC.\n - If the quic-override flag is not specified,NONE is implied.", +"enum": [ +"DISABLE", +"ENABLE", +"NONE" +], +"enumDescriptions": [ +"The load balancer will not attempt to negotiate QUIC with clients.", +"The load balancer will attempt to negotiate QUIC with clients.", +"No overrides to the default QUIC policy. This option is implicit if\nno QUIC override has been specified in the request." +], +"type": "string" +}, +"region": { +"description": "Output only. [Output Only] URL of the region where the regional TargetHttpsProxy\nresides. This field is not applicable to global TargetHttpsProxies.", +"readOnly": true, +"type": "string" +}, +"selfLink": { +"description": "[Output Only] Server-defined URL for the resource.", +"type": "string" +}, +"serverTlsPolicy": { +"description": "Optional. A URL referring to a networksecurity.ServerTlsPolicy resource\nthat describes how the proxy should authenticate inbound traffic.\n\n serverTlsPolicy only applies to a globalTargetHttpsProxy attached toglobalForwardingRules with theloadBalancingScheme set to INTERNAL_SELF_MANAGED\nor EXTERNAL orEXTERNAL_MANAGED or INTERNAL_MANAGED.\nIt also applies to a regional TargetHttpsProxy attached to\nregional forwardingRules with theloadBalancingScheme set to EXTERNAL_MANAGED orINTERNAL_MANAGED. For details whichServerTlsPolicy resources are accepted withINTERNAL_SELF_MANAGED and which with EXTERNAL,INTERNAL_MANAGED, EXTERNAL_MANAGEDloadBalancingScheme consult ServerTlsPolicy\ndocumentation.\n\n If left blank, communications are not encrypted.", +"type": "string" +}, +"sslCertificates": { +"description": "URLs to SslCertificate resources that are used to authenticate\nconnections between users and the load balancer. At least one SSL\ncertificate must be specified. SslCertificates do not apply when the load\nbalancing scheme is set to INTERNAL_SELF_MANAGED.\n\nThe URLs should refer to a SSL Certificate resource or Certificate Manager\nCertificate resource. Mixing Classic Certificates and Certificate Manager\nCertificates is not allowed. Certificate Manager Certificates must include\nthe certificatemanager API namespace. Using Certificate Manager\nCertificates in this field is not supported by Global external Application\nLoad Balancer or Classic Application Load Balancer, use certificate_map\ninstead.\n\nCurrently, you may specify up to 15 Classic SSL Certificates or up to 100\nCertificate Manager Certificates.\n\nCertificate Manager Certificates accepted formats are:\n \n - //certificatemanager.googleapis.com/projects/{project}/locations/{location}/certificates/{resourceName}.\n - https://certificatemanager.googleapis.com/v1alpha1/projects/{project}/locations/{location}/certificates/{resourceName}.", +"items": { +"type": "string" +}, +"type": "array" +}, +"sslPolicy": { +"description": "URL of SslPolicy resource that will be associated with the TargetHttpsProxy\nresource. If not set, the TargetHttpsProxy resource has no\nSSL policy configured.", +"type": "string" +}, +"tlsEarlyData": { +"description": "Specifies whether TLS 1.3 0-RTT Data (\"Early Data\") should be accepted\nfor this service. Early Data allows a TLS resumption handshake to include\nthe initial application payload (a HTTP request) alongside the handshake,\nreducing the effective round trips to \"zero\". This applies to TLS 1.3\nconnections over TCP (HTTP/2) as well as over UDP (QUIC/h3).\n\n\nThis can improve application performance, especially on networks where\ninterruptions may be common, such as on mobile.\n\n\nRequests with Early Data will have the \"Early-Data\" HTTP header set on\nthe request, with a value of \"1\", to allow the backend to determine whether\nEarly Data was included.\n\n\nNote: TLS Early Data may allow requests to be replayed, as the data is\nsent to the backend before the handshake has fully completed. Applications\nthat allow idempotent HTTP methods to make non-idempotent changes, such as\na GET request updating a database, should not accept Early Data on those\nrequests, and reject requests with the \"Early-Data: 1\" HTTP header by\nreturning a HTTP 425 (Too Early) status code, in order to remain RFC\ncompliant.\n\n\nThe default value is DISABLED.", +"enum": [ +"DISABLED", +"PERMISSIVE", +"STRICT", +"UNRESTRICTED" +], +"enumDescriptions": [ +"TLS 1.3 Early Data is not advertised, and any (invalid) attempts to send\nEarly Data will be rejected by closing the connection.", +"This enables TLS 1.3 0-RTT, and only allows Early Data to be included on\nrequests with safe HTTP methods (GET, HEAD, OPTIONS, TRACE). This mode\ndoes not enforce any other limitations for requests with Early Data. The\napplication owner should validate that Early Data is acceptable for a\ngiven request path.", +"This enables TLS 1.3 0-RTT, and only allows Early Data to be included on\nrequests with safe HTTP methods (GET, HEAD, OPTIONS, TRACE) without query\nparameters. Requests that send Early Data with non-idempotent HTTP\nmethods or with query parameters will be rejected with a HTTP 425.", +"This enables TLS 1.3 Early Data for requests with any HTTP method\nincluding non-idempotent methods list POST. This mode does not enforce\nany other limitations. This may be valuable for gRPC use cases. However,\nwe do not recommend this method unless you have evaluated your security\nstance and mitigated the risk of replay attacks using other mechanisms." +], +"type": "string" +}, +"urlMap": { +"description": "A fully-qualified or valid partial URL to the UrlMap resource that defines\nthe mapping from URL to the BackendService. For example, the following are\nall valid URLs for specifying a URL map:\n \n - https://www.googleapis.compute/v1/projects/project/global/urlMaps/url-map \n - projects/project/global/urlMaps/url-map \n - global/urlMaps/url-map", +"type": "string" +} +}, +"type": "object" +}, +"TargetHttpsProxyAggregatedList": { +"id": "TargetHttpsProxyAggregatedList", +"properties": { +"id": { +"description": "[Output Only] Unique identifier for the resource; defined by the server.", +"type": "string" +}, +"items": { +"additionalProperties": { +"$ref": "TargetHttpsProxiesScopedList", +"description": "Name of the scope containing this set of TargetHttpsProxies." +}, +"description": "A list of TargetHttpsProxiesScopedList resources.", +"type": "object" +}, +"kind": { +"default": "compute#targetHttpsProxyAggregatedList", +"description": "Output only. [Output Only] Type of resource. Alwayscompute#targetHttpsProxyAggregatedList for lists of Target\nHTTP Proxies.", +"readOnly": true, +"type": "string" +}, +"nextPageToken": { +"description": "[Output Only] This token allows you to get the next page of results for\nlist requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for\nthe query parameter pageToken in the next list request.\nSubsequent list requests will have their own nextPageToken to\ncontinue paging through the results.", +"type": "string" +}, +"selfLink": { +"description": "Output only. [Output Only] Server-defined URL for this resource.", +"readOnly": true, +"type": "string" +}, +"unreachables": { +"description": "Output only. [Output Only] Unreachable resources.", +"items": { +"type": "string" +}, +"readOnly": true, +"type": "array" +}, +"warning": { +"description": "[Output Only] Informational warning message.", +"properties": { +"code": { +"description": "[Output Only] A warning code, if applicable. For example, Compute\nEngine returns NO_RESULTS_ON_PAGE if there\nare no results in the response.", +"enum": [ +"CLEANUP_FAILED", +"DEPRECATED_RESOURCE_USED", +"DEPRECATED_TYPE_USED", +"DISK_SIZE_LARGER_THAN_IMAGE_SIZE", +"EXPERIMENTAL_TYPE_USED", +"EXTERNAL_API_WARNING", +"FIELD_VALUE_OVERRIDEN", +"INJECTED_KERNELS_DEPRECATED", +"INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", +"LARGE_DEPLOYMENT_WARNING", +"LIST_OVERHEAD_QUOTA_EXCEED", +"MISSING_TYPE_DEPENDENCY", +"NEXT_HOP_ADDRESS_NOT_ASSIGNED", +"NEXT_HOP_CANNOT_IP_FORWARD", +"NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", +"NEXT_HOP_INSTANCE_NOT_FOUND", +"NEXT_HOP_INSTANCE_NOT_ON_NETWORK", +"NEXT_HOP_NOT_RUNNING", +"NOT_CRITICAL_ERROR", +"NO_RESULTS_ON_PAGE", +"PARTIAL_SUCCESS", +"QUOTA_INFO_UNAVAILABLE", +"REQUIRED_TOS_AGREEMENT", +"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", +"RESOURCE_NOT_DELETED", +"SCHEMA_VALIDATION_IGNORED", +"SINGLE_INSTANCE_PROPERTY_TEMPLATE", +"UNDECLARED_PROPERTIES", +"UNREACHABLE" +], +"enumDeprecated": [ +false, +false, +false, +false, +false, +false, +true, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false +], +"enumDescriptions": [ +"Warning about failed cleanup of transient changes made by a failed\noperation.", +"A link to a deprecated resource was created.", +"When deploying and at least one of the resources has a type marked as\ndeprecated", +"The user created a boot disk that is larger than image size.", +"When deploying and at least one of the resources has a type marked as\nexperimental", +"Warning that is present in an external api call", +"Warning that value of a field has been overridden.\nDeprecated unused field.", +"The operation involved use of an injected kernel, which is deprecated.", +"A WEIGHTED_MAGLEV backend service is associated with a health check that is\nnot of type HTTP/HTTPS/HTTP2.", +"When deploying a deployment with a exceedingly large number of resources", +"Resource can't be retrieved due to list overhead quota exceed\nwhich captures the amount of resources filtered out by\nuser-defined list filter.", +"A resource depends on a missing type", +"The route's nextHopIp address is not assigned to an instance on the\nnetwork.", +"The route's next hop instance cannot ip forward.", +"The route's nextHopInstance URL refers to an instance that does not have an\nipv6 interface on the same network as the route.", +"The route's nextHopInstance URL refers to an instance that does not exist.", +"The route's nextHopInstance URL refers to an instance that is not on the\nsame network as the route.", +"The route's next hop instance does not have a status of RUNNING.", +"Error which is not critical. We decided to continue the process despite\nthe mentioned error.", +"No results are present on a particular list page.", +"Success is reported, but some results may be missing due to errors", +"Quota information is not available to client requests (e.g:\nregions.list).", +"The user attempted to use a resource that requires a TOS they have not\naccepted.", +"Warning that a resource is in use.", +"One or more of the resources set to auto-delete could not be deleted\nbecause they were in use.", +"When a resource schema validation is ignored.", +"Instance template used in instance group manager is valid as such, but\nits application does not make a lot of sense, because it allows only\nsingle instance in instance group.", +"When undeclared properties in the schema are present", +"A given scope cannot be reached." +], +"type": "string" +}, +"data": { +"description": "[Output Only] Metadata about this warning in key:\nvalue format. For example:\n\n\"data\": [\n {\n \"key\": \"scope\",\n \"value\": \"zones/us-east1-d\"\n }", +"items": { +"properties": { +"key": { +"description": "[Output Only] A key that provides more detail on the warning being\nreturned. For example, for warnings where there are no results in a list\nrequest for a particular zone, this key might be scope and\nthe key value might be the zone name. Other examples might be a key\nindicating a deprecated resource and a suggested replacement, or a\nwarning about invalid network settings (for example, if an instance\nattempts to perform IP forwarding but is not enabled for IP forwarding).", +"type": "string" +}, +"value": { +"description": "[Output Only] A warning data value corresponding to the key.", +"type": "string" +} +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "[Output Only] A human-readable description of the warning code.", +"type": "string" +} +}, +"type": "object" +} +}, +"type": "object" +}, +"TargetHttpsProxyList": { +"description": "Contains a list of TargetHttpsProxy resources.", +"id": "TargetHttpsProxyList", +"properties": { +"id": { +"description": "[Output Only] Unique identifier for the resource; defined by the server.", +"type": "string" +}, +"items": { +"description": "A list of TargetHttpsProxy resources.", +"items": { +"$ref": "TargetHttpsProxy" +}, +"type": "array" +}, +"kind": { +"default": "compute#targetHttpsProxyList", +"description": "Output only. Type of resource. Always compute#targetHttpsProxyList for\nlists of target HTTPS proxies.", +"readOnly": true, +"type": "string" +}, +"nextPageToken": { +"description": "[Output Only] This token allows you to get the next page of results for\nlist requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for\nthe query parameter pageToken in the next list request.\nSubsequent list requests will have their own nextPageToken to\ncontinue paging through the results.", +"type": "string" +}, +"selfLink": { +"description": "Output only. [Output Only] Server-defined URL for this resource.", +"readOnly": true, +"type": "string" +}, +"warning": { +"description": "[Output Only] Informational warning message.", +"properties": { +"code": { +"description": "[Output Only] A warning code, if applicable. For example, Compute\nEngine returns NO_RESULTS_ON_PAGE if there\nare no results in the response.", +"enum": [ +"CLEANUP_FAILED", +"DEPRECATED_RESOURCE_USED", +"DEPRECATED_TYPE_USED", +"DISK_SIZE_LARGER_THAN_IMAGE_SIZE", +"EXPERIMENTAL_TYPE_USED", +"EXTERNAL_API_WARNING", +"FIELD_VALUE_OVERRIDEN", +"INJECTED_KERNELS_DEPRECATED", +"INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", +"LARGE_DEPLOYMENT_WARNING", +"LIST_OVERHEAD_QUOTA_EXCEED", +"MISSING_TYPE_DEPENDENCY", +"NEXT_HOP_ADDRESS_NOT_ASSIGNED", +"NEXT_HOP_CANNOT_IP_FORWARD", +"NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", +"NEXT_HOP_INSTANCE_NOT_FOUND", +"NEXT_HOP_INSTANCE_NOT_ON_NETWORK", +"NEXT_HOP_NOT_RUNNING", +"NOT_CRITICAL_ERROR", +"NO_RESULTS_ON_PAGE", +"PARTIAL_SUCCESS", +"QUOTA_INFO_UNAVAILABLE", +"REQUIRED_TOS_AGREEMENT", +"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", +"RESOURCE_NOT_DELETED", +"SCHEMA_VALIDATION_IGNORED", +"SINGLE_INSTANCE_PROPERTY_TEMPLATE", +"UNDECLARED_PROPERTIES", +"UNREACHABLE" +], +"enumDeprecated": [ +false, +false, +false, +false, +false, +false, +true, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false +], +"enumDescriptions": [ +"Warning about failed cleanup of transient changes made by a failed\noperation.", +"A link to a deprecated resource was created.", +"When deploying and at least one of the resources has a type marked as\ndeprecated", +"The user created a boot disk that is larger than image size.", +"When deploying and at least one of the resources has a type marked as\nexperimental", +"Warning that is present in an external api call", +"Warning that value of a field has been overridden.\nDeprecated unused field.", +"The operation involved use of an injected kernel, which is deprecated.", +"A WEIGHTED_MAGLEV backend service is associated with a health check that is\nnot of type HTTP/HTTPS/HTTP2.", +"When deploying a deployment with a exceedingly large number of resources", +"Resource can't be retrieved due to list overhead quota exceed\nwhich captures the amount of resources filtered out by\nuser-defined list filter.", +"A resource depends on a missing type", +"The route's nextHopIp address is not assigned to an instance on the\nnetwork.", +"The route's next hop instance cannot ip forward.", +"The route's nextHopInstance URL refers to an instance that does not have an\nipv6 interface on the same network as the route.", +"The route's nextHopInstance URL refers to an instance that does not exist.", +"The route's nextHopInstance URL refers to an instance that is not on the\nsame network as the route.", +"The route's next hop instance does not have a status of RUNNING.", +"Error which is not critical. We decided to continue the process despite\nthe mentioned error.", +"No results are present on a particular list page.", +"Success is reported, but some results may be missing due to errors", +"Quota information is not available to client requests (e.g:\nregions.list).", +"The user attempted to use a resource that requires a TOS they have not\naccepted.", +"Warning that a resource is in use.", +"One or more of the resources set to auto-delete could not be deleted\nbecause they were in use.", +"When a resource schema validation is ignored.", +"Instance template used in instance group manager is valid as such, but\nits application does not make a lot of sense, because it allows only\nsingle instance in instance group.", +"When undeclared properties in the schema are present", +"A given scope cannot be reached." +], +"type": "string" +}, +"data": { +"description": "[Output Only] Metadata about this warning in key:\nvalue format. For example:\n\n\"data\": [\n {\n \"key\": \"scope\",\n \"value\": \"zones/us-east1-d\"\n }", +"items": { +"properties": { +"key": { +"description": "[Output Only] A key that provides more detail on the warning being\nreturned. For example, for warnings where there are no results in a list\nrequest for a particular zone, this key might be scope and\nthe key value might be the zone name. Other examples might be a key\nindicating a deprecated resource and a suggested replacement, or a\nwarning about invalid network settings (for example, if an instance\nattempts to perform IP forwarding but is not enabled for IP forwarding).", +"type": "string" +}, +"value": { +"description": "[Output Only] A warning data value corresponding to the key.", +"type": "string" +} +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "[Output Only] A human-readable description of the warning code.", +"type": "string" +} +}, +"type": "object" +} +}, +"type": "object" +}, +"TargetInstance": { +"description": "Represents a Target Instance resource.\n\nYou can use a target instance to handle traffic for one or more forwarding\nrules, which is ideal for forwarding protocol traffic that is managed by a\nsingle source. For example, ESP, AH, TCP, or UDP.\nFor more information, readTarget\ninstances.", +"id": "TargetInstance", +"properties": { +"creationTimestamp": { +"description": "Output only. [Output Only] Creation timestamp inRFC3339\ntext format.", +"readOnly": true, +"type": "string" +}, +"description": { +"description": "An optional description of this resource. Provide this property when you\ncreate the resource.", +"type": "string" +}, +"id": { +"description": "[Output Only] The unique identifier for the resource. This identifier is\ndefined by the server.", +"format": "uint64", +"type": "string" +}, +"instance": { +"description": "A URL to the virtual machine instance that handles traffic for this target\ninstance. When creating a target instance, you can provide the\nfully-qualified URL or a valid partial URL to the desired virtual machine.\nFor example, the following are all valid URLs:\n \n - https://www.googleapis.com/compute/v1/projects/project/zones/zone/instances/instance \n - projects/project/zones/zone/instances/instance \n - zones/zone/instances/instance", +"type": "string" +}, +"kind": { +"default": "compute#targetInstance", +"description": "Output only. [Output Only] The type of the resource. Alwayscompute#targetInstance for target instances.", +"readOnly": true, +"type": "string" +}, +"name": { +"description": "Name of the resource. Provided by the client when the resource is created.\nThe name must be 1-63 characters long, and comply withRFC1035.\nSpecifically, the name must be 1-63 characters long and match the regular\nexpression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first\ncharacter must be a lowercase letter, and all following characters must\nbe a dash, lowercase letter, or digit, except the last character, which\ncannot be a dash.", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"type": "string" +}, +"natPolicy": { +"description": "Must have a value of NO_NAT.\nProtocol forwarding delivers packets while preserving the destination IP\naddress of the forwarding rule referencing the target instance.", +"enum": [ +"NO_NAT" +], +"enumDescriptions": [ +"No NAT performed." +], +"type": "string" +}, +"network": { +"description": "The URL of the network this target instance uses to forward traffic.\nIf not specified, the traffic will be forwarded to the network that\nthe default network interface belongs to.", +"type": "string" +}, +"securityPolicy": { +"description": "[Output Only] The resource URL for the security policy associated with this\ntarget instance.", +"type": "string" +}, +"selfLink": { +"description": "[Output Only] Server-defined URL for the resource.", +"type": "string" +}, +"zone": { +"description": "Output only. [Output Only] URL of the zone where the target instance resides.\nYou must specify this field as part of the HTTP request URL. It is\nnot settable as a field in the request body.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"TargetInstanceAggregatedList": { +"id": "TargetInstanceAggregatedList", +"properties": { +"id": { +"description": "[Output Only] Unique identifier for the resource; defined by the server.", +"type": "string" +}, +"items": { +"additionalProperties": { +"$ref": "TargetInstancesScopedList", +"description": "Name of the scope containing this set of target instances." +}, +"description": "A list of TargetInstance resources.", +"type": "object" +}, +"kind": { +"default": "compute#targetInstanceAggregatedList", +"description": "Output only. Type of resource.", +"readOnly": true, +"type": "string" +}, +"nextPageToken": { +"description": "[Output Only] This token allows you to get the next page of results for\nlist requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for\nthe query parameter pageToken in the next list request.\nSubsequent list requests will have their own nextPageToken to\ncontinue paging through the results.", +"type": "string" +}, +"selfLink": { +"description": "Output only. [Output Only] Server-defined URL for this resource.", +"readOnly": true, +"type": "string" +}, +"unreachables": { +"description": "Output only. [Output Only] Unreachable resources.", +"items": { +"type": "string" +}, +"readOnly": true, +"type": "array" +}, +"warning": { +"description": "[Output Only] Informational warning message.", +"properties": { +"code": { +"description": "[Output Only] A warning code, if applicable. For example, Compute\nEngine returns NO_RESULTS_ON_PAGE if there\nare no results in the response.", +"enum": [ +"CLEANUP_FAILED", +"DEPRECATED_RESOURCE_USED", +"DEPRECATED_TYPE_USED", +"DISK_SIZE_LARGER_THAN_IMAGE_SIZE", +"EXPERIMENTAL_TYPE_USED", +"EXTERNAL_API_WARNING", +"FIELD_VALUE_OVERRIDEN", +"INJECTED_KERNELS_DEPRECATED", +"INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", +"LARGE_DEPLOYMENT_WARNING", +"LIST_OVERHEAD_QUOTA_EXCEED", +"MISSING_TYPE_DEPENDENCY", +"NEXT_HOP_ADDRESS_NOT_ASSIGNED", +"NEXT_HOP_CANNOT_IP_FORWARD", +"NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", +"NEXT_HOP_INSTANCE_NOT_FOUND", +"NEXT_HOP_INSTANCE_NOT_ON_NETWORK", +"NEXT_HOP_NOT_RUNNING", +"NOT_CRITICAL_ERROR", +"NO_RESULTS_ON_PAGE", +"PARTIAL_SUCCESS", +"QUOTA_INFO_UNAVAILABLE", +"REQUIRED_TOS_AGREEMENT", +"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", +"RESOURCE_NOT_DELETED", +"SCHEMA_VALIDATION_IGNORED", +"SINGLE_INSTANCE_PROPERTY_TEMPLATE", +"UNDECLARED_PROPERTIES", +"UNREACHABLE" +], +"enumDeprecated": [ +false, +false, +false, +false, +false, +false, +true, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false +], +"enumDescriptions": [ +"Warning about failed cleanup of transient changes made by a failed\noperation.", +"A link to a deprecated resource was created.", +"When deploying and at least one of the resources has a type marked as\ndeprecated", +"The user created a boot disk that is larger than image size.", +"When deploying and at least one of the resources has a type marked as\nexperimental", +"Warning that is present in an external api call", +"Warning that value of a field has been overridden.\nDeprecated unused field.", +"The operation involved use of an injected kernel, which is deprecated.", +"A WEIGHTED_MAGLEV backend service is associated with a health check that is\nnot of type HTTP/HTTPS/HTTP2.", +"When deploying a deployment with a exceedingly large number of resources", +"Resource can't be retrieved due to list overhead quota exceed\nwhich captures the amount of resources filtered out by\nuser-defined list filter.", +"A resource depends on a missing type", +"The route's nextHopIp address is not assigned to an instance on the\nnetwork.", +"The route's next hop instance cannot ip forward.", +"The route's nextHopInstance URL refers to an instance that does not have an\nipv6 interface on the same network as the route.", +"The route's nextHopInstance URL refers to an instance that does not exist.", +"The route's nextHopInstance URL refers to an instance that is not on the\nsame network as the route.", +"The route's next hop instance does not have a status of RUNNING.", +"Error which is not critical. We decided to continue the process despite\nthe mentioned error.", +"No results are present on a particular list page.", +"Success is reported, but some results may be missing due to errors", +"Quota information is not available to client requests (e.g:\nregions.list).", +"The user attempted to use a resource that requires a TOS they have not\naccepted.", +"Warning that a resource is in use.", +"One or more of the resources set to auto-delete could not be deleted\nbecause they were in use.", +"When a resource schema validation is ignored.", +"Instance template used in instance group manager is valid as such, but\nits application does not make a lot of sense, because it allows only\nsingle instance in instance group.", +"When undeclared properties in the schema are present", +"A given scope cannot be reached." +], +"type": "string" +}, +"data": { +"description": "[Output Only] Metadata about this warning in key:\nvalue format. For example:\n\n\"data\": [\n {\n \"key\": \"scope\",\n \"value\": \"zones/us-east1-d\"\n }", +"items": { +"properties": { +"key": { +"description": "[Output Only] A key that provides more detail on the warning being\nreturned. For example, for warnings where there are no results in a list\nrequest for a particular zone, this key might be scope and\nthe key value might be the zone name. Other examples might be a key\nindicating a deprecated resource and a suggested replacement, or a\nwarning about invalid network settings (for example, if an instance\nattempts to perform IP forwarding but is not enabled for IP forwarding).", +"type": "string" +}, +"value": { +"description": "[Output Only] A warning data value corresponding to the key.", +"type": "string" +} +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "[Output Only] A human-readable description of the warning code.", +"type": "string" +} +}, +"type": "object" +} +}, +"type": "object" +}, +"TargetInstanceList": { +"description": "Contains a list of TargetInstance resources.", +"id": "TargetInstanceList", +"properties": { +"id": { +"description": "[Output Only] Unique identifier for the resource; defined by the server.", +"type": "string" +}, +"items": { +"description": "A list of TargetInstance resources.", +"items": { +"$ref": "TargetInstance" +}, +"type": "array" +}, +"kind": { +"default": "compute#targetInstanceList", +"description": "Output only. Type of resource.", +"readOnly": true, +"type": "string" +}, +"nextPageToken": { +"description": "[Output Only] This token allows you to get the next page of results for\nlist requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for\nthe query parameter pageToken in the next list request.\nSubsequent list requests will have their own nextPageToken to\ncontinue paging through the results.", +"type": "string" +}, +"selfLink": { +"description": "Output only. [Output Only] Server-defined URL for this resource.", +"readOnly": true, +"type": "string" +}, +"warning": { +"description": "[Output Only] Informational warning message.", +"properties": { +"code": { +"description": "[Output Only] A warning code, if applicable. For example, Compute\nEngine returns NO_RESULTS_ON_PAGE if there\nare no results in the response.", +"enum": [ +"CLEANUP_FAILED", +"DEPRECATED_RESOURCE_USED", +"DEPRECATED_TYPE_USED", +"DISK_SIZE_LARGER_THAN_IMAGE_SIZE", +"EXPERIMENTAL_TYPE_USED", +"EXTERNAL_API_WARNING", +"FIELD_VALUE_OVERRIDEN", +"INJECTED_KERNELS_DEPRECATED", +"INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", +"LARGE_DEPLOYMENT_WARNING", +"LIST_OVERHEAD_QUOTA_EXCEED", +"MISSING_TYPE_DEPENDENCY", +"NEXT_HOP_ADDRESS_NOT_ASSIGNED", +"NEXT_HOP_CANNOT_IP_FORWARD", +"NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", +"NEXT_HOP_INSTANCE_NOT_FOUND", +"NEXT_HOP_INSTANCE_NOT_ON_NETWORK", +"NEXT_HOP_NOT_RUNNING", +"NOT_CRITICAL_ERROR", +"NO_RESULTS_ON_PAGE", +"PARTIAL_SUCCESS", +"QUOTA_INFO_UNAVAILABLE", +"REQUIRED_TOS_AGREEMENT", +"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", +"RESOURCE_NOT_DELETED", +"SCHEMA_VALIDATION_IGNORED", +"SINGLE_INSTANCE_PROPERTY_TEMPLATE", +"UNDECLARED_PROPERTIES", +"UNREACHABLE" +], +"enumDeprecated": [ +false, +false, +false, +false, +false, +false, +true, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false +], +"enumDescriptions": [ +"Warning about failed cleanup of transient changes made by a failed\noperation.", +"A link to a deprecated resource was created.", +"When deploying and at least one of the resources has a type marked as\ndeprecated", +"The user created a boot disk that is larger than image size.", +"When deploying and at least one of the resources has a type marked as\nexperimental", +"Warning that is present in an external api call", +"Warning that value of a field has been overridden.\nDeprecated unused field.", +"The operation involved use of an injected kernel, which is deprecated.", +"A WEIGHTED_MAGLEV backend service is associated with a health check that is\nnot of type HTTP/HTTPS/HTTP2.", +"When deploying a deployment with a exceedingly large number of resources", +"Resource can't be retrieved due to list overhead quota exceed\nwhich captures the amount of resources filtered out by\nuser-defined list filter.", +"A resource depends on a missing type", +"The route's nextHopIp address is not assigned to an instance on the\nnetwork.", +"The route's next hop instance cannot ip forward.", +"The route's nextHopInstance URL refers to an instance that does not have an\nipv6 interface on the same network as the route.", +"The route's nextHopInstance URL refers to an instance that does not exist.", +"The route's nextHopInstance URL refers to an instance that is not on the\nsame network as the route.", +"The route's next hop instance does not have a status of RUNNING.", +"Error which is not critical. We decided to continue the process despite\nthe mentioned error.", +"No results are present on a particular list page.", +"Success is reported, but some results may be missing due to errors", +"Quota information is not available to client requests (e.g:\nregions.list).", +"The user attempted to use a resource that requires a TOS they have not\naccepted.", +"Warning that a resource is in use.", +"One or more of the resources set to auto-delete could not be deleted\nbecause they were in use.", +"When a resource schema validation is ignored.", +"Instance template used in instance group manager is valid as such, but\nits application does not make a lot of sense, because it allows only\nsingle instance in instance group.", +"When undeclared properties in the schema are present", +"A given scope cannot be reached." +], +"type": "string" +}, +"data": { +"description": "[Output Only] Metadata about this warning in key:\nvalue format. For example:\n\n\"data\": [\n {\n \"key\": \"scope\",\n \"value\": \"zones/us-east1-d\"\n }", +"items": { +"properties": { +"key": { +"description": "[Output Only] A key that provides more detail on the warning being\nreturned. For example, for warnings where there are no results in a list\nrequest for a particular zone, this key might be scope and\nthe key value might be the zone name. Other examples might be a key\nindicating a deprecated resource and a suggested replacement, or a\nwarning about invalid network settings (for example, if an instance\nattempts to perform IP forwarding but is not enabled for IP forwarding).", +"type": "string" +}, +"value": { +"description": "[Output Only] A warning data value corresponding to the key.", +"type": "string" +} +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "[Output Only] A human-readable description of the warning code.", +"type": "string" +} +}, +"type": "object" +} +}, +"type": "object" +}, +"TargetInstancesScopedList": { +"id": "TargetInstancesScopedList", +"properties": { +"targetInstances": { +"description": "A list of target instances contained in this scope.", +"items": { +"$ref": "TargetInstance" +}, +"type": "array" +}, +"warning": { +"description": "Informational warning which replaces the list of addresses when\nthe list is empty.", +"properties": { +"code": { +"description": "[Output Only] A warning code, if applicable. For example, Compute\nEngine returns NO_RESULTS_ON_PAGE if there\nare no results in the response.", +"enum": [ +"CLEANUP_FAILED", +"DEPRECATED_RESOURCE_USED", +"DEPRECATED_TYPE_USED", +"DISK_SIZE_LARGER_THAN_IMAGE_SIZE", +"EXPERIMENTAL_TYPE_USED", +"EXTERNAL_API_WARNING", +"FIELD_VALUE_OVERRIDEN", +"INJECTED_KERNELS_DEPRECATED", +"INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", +"LARGE_DEPLOYMENT_WARNING", +"LIST_OVERHEAD_QUOTA_EXCEED", +"MISSING_TYPE_DEPENDENCY", +"NEXT_HOP_ADDRESS_NOT_ASSIGNED", +"NEXT_HOP_CANNOT_IP_FORWARD", +"NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", +"NEXT_HOP_INSTANCE_NOT_FOUND", +"NEXT_HOP_INSTANCE_NOT_ON_NETWORK", +"NEXT_HOP_NOT_RUNNING", +"NOT_CRITICAL_ERROR", +"NO_RESULTS_ON_PAGE", +"PARTIAL_SUCCESS", +"QUOTA_INFO_UNAVAILABLE", +"REQUIRED_TOS_AGREEMENT", +"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", +"RESOURCE_NOT_DELETED", +"SCHEMA_VALIDATION_IGNORED", +"SINGLE_INSTANCE_PROPERTY_TEMPLATE", +"UNDECLARED_PROPERTIES", +"UNREACHABLE" +], +"enumDeprecated": [ +false, +false, +false, +false, +false, +false, +true, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false +], +"enumDescriptions": [ +"Warning about failed cleanup of transient changes made by a failed\noperation.", +"A link to a deprecated resource was created.", +"When deploying and at least one of the resources has a type marked as\ndeprecated", +"The user created a boot disk that is larger than image size.", +"When deploying and at least one of the resources has a type marked as\nexperimental", +"Warning that is present in an external api call", +"Warning that value of a field has been overridden.\nDeprecated unused field.", +"The operation involved use of an injected kernel, which is deprecated.", +"A WEIGHTED_MAGLEV backend service is associated with a health check that is\nnot of type HTTP/HTTPS/HTTP2.", +"When deploying a deployment with a exceedingly large number of resources", +"Resource can't be retrieved due to list overhead quota exceed\nwhich captures the amount of resources filtered out by\nuser-defined list filter.", +"A resource depends on a missing type", +"The route's nextHopIp address is not assigned to an instance on the\nnetwork.", +"The route's next hop instance cannot ip forward.", +"The route's nextHopInstance URL refers to an instance that does not have an\nipv6 interface on the same network as the route.", +"The route's nextHopInstance URL refers to an instance that does not exist.", +"The route's nextHopInstance URL refers to an instance that is not on the\nsame network as the route.", +"The route's next hop instance does not have a status of RUNNING.", +"Error which is not critical. We decided to continue the process despite\nthe mentioned error.", +"No results are present on a particular list page.", +"Success is reported, but some results may be missing due to errors", +"Quota information is not available to client requests (e.g:\nregions.list).", +"The user attempted to use a resource that requires a TOS they have not\naccepted.", +"Warning that a resource is in use.", +"One or more of the resources set to auto-delete could not be deleted\nbecause they were in use.", +"When a resource schema validation is ignored.", +"Instance template used in instance group manager is valid as such, but\nits application does not make a lot of sense, because it allows only\nsingle instance in instance group.", +"When undeclared properties in the schema are present", +"A given scope cannot be reached." +], +"type": "string" +}, +"data": { +"description": "[Output Only] Metadata about this warning in key:\nvalue format. For example:\n\n\"data\": [\n {\n \"key\": \"scope\",\n \"value\": \"zones/us-east1-d\"\n }", +"items": { +"properties": { +"key": { +"description": "[Output Only] A key that provides more detail on the warning being\nreturned. For example, for warnings where there are no results in a list\nrequest for a particular zone, this key might be scope and\nthe key value might be the zone name. Other examples might be a key\nindicating a deprecated resource and a suggested replacement, or a\nwarning about invalid network settings (for example, if an instance\nattempts to perform IP forwarding but is not enabled for IP forwarding).", +"type": "string" +}, +"value": { +"description": "[Output Only] A warning data value corresponding to the key.", +"type": "string" +} +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "[Output Only] A human-readable description of the warning code.", +"type": "string" +} +}, +"type": "object" +} +}, +"type": "object" +}, +"TargetPool": { +"description": "Represents a Target Pool resource.\n\nTarget pools are used with external passthrough Network Load Balancers.\nA target pool references member instances, an associated legacy\nHttpHealthCheck resource, and, optionally, a backup target pool.\nFor more information, readUsing target pools.", +"id": "TargetPool", +"properties": { +"backupPool": { +"description": "The server-defined URL for the resource. This field is applicable only when\nthe containing target pool is serving a forwarding rule as the primary\npool, and its failoverRatio field is properly set to a value\nbetween [0, 1].backupPool and failoverRatio together define\nthe fallback behavior of the primary target pool: if the ratio of the\nhealthy instances in the primary pool is at or belowfailoverRatio, traffic arriving at the load-balanced\nIP will be directed to the backup pool.\n\nIn case where failoverRatio and backupPool\nare not set, or all the instances in the backup pool are unhealthy,\nthe traffic will be directed back to the primary pool in the \"force\"\nmode, where traffic will be spread to the healthy instances with the\nbest effort, or to all instances when no instance is healthy.", +"type": "string" +}, +"creationTimestamp": { +"description": "Output only. [Output Only] Creation timestamp inRFC3339\ntext format.", +"readOnly": true, +"type": "string" +}, +"description": { +"description": "An optional description of this resource. Provide this property when you\ncreate the resource.", +"type": "string" +}, +"failoverRatio": { +"description": "This field is applicable only when the containing target pool is serving a\nforwarding rule as the primary pool (i.e., not as a backup pool to some\nother target pool). The value of the field must be in [0, 1].\n\nIf set, backupPool must also be set. They together define\nthe fallback behavior of the primary target pool: if the ratio of the\nhealthy instances in the primary pool is at or below this number,\ntraffic arriving at the load-balanced IP will be directed to the\nbackup pool.\n\nIn case where failoverRatio is not set or all the\ninstances in the backup pool are unhealthy, the traffic will be\ndirected back to the primary pool in the \"force\" mode, where traffic\nwill be spread to the healthy instances with the\nbest effort, or to all instances when no instance is healthy.", +"format": "float", +"type": "number" +}, +"healthChecks": { +"description": "The URL of the HttpHealthCheck resource. A member instance in this\npool is considered healthy if and only if the health checks pass.\nOnly legacy HttpHealthChecks are supported. Only one health check may be\nspecified.", +"items": { +"type": "string" +}, +"type": "array" +}, +"id": { +"description": "[Output Only] The unique identifier for the resource. This identifier is\ndefined by the server.", +"format": "uint64", +"type": "string" +}, +"instances": { +"description": "A list of resource URLs to the virtual machine instances serving this pool.\nThey must live in zones contained in the same region as this pool.", +"items": { +"type": "string" +}, +"type": "array" +}, +"kind": { +"default": "compute#targetPool", +"description": "Output only. [Output Only] Type of the resource. Always compute#targetPool\nfor target pools.", +"readOnly": true, +"type": "string" +}, +"name": { +"description": "Name of the resource. Provided by the client when the resource is created.\nThe name must be 1-63 characters long, and comply withRFC1035.\nSpecifically, the name must be 1-63 characters long and match the regular\nexpression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first\ncharacter must be a lowercase letter, and all following characters must\nbe a dash, lowercase letter, or digit, except the last character, which\ncannot be a dash.", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"type": "string" +}, +"region": { +"description": "Output only. [Output Only] URL of the region where the target pool resides.", +"readOnly": true, +"type": "string" +}, +"securityPolicy": { +"description": "[Output Only] The resource URL for the security policy associated with this\ntarget pool.", +"type": "string" +}, +"selfLink": { +"description": "[Output Only] Server-defined URL for the resource.", +"type": "string" +}, +"sessionAffinity": { +"description": "Session affinity option, must be one of the following values: \nNONE: Connections from the same client IP may go to any\n instance in the pool. \nCLIENT_IP: Connections from the same client IP will go\n to the same instance in\n the pool while that instance remains healthy. \nCLIENT_IP_PROTO: Connections from the same client IP\n with the same IP protocol will go to the same instance in the\n pool while that instance remains healthy.", +"enum": [ +"CLIENT_IP", +"CLIENT_IP_NO_DESTINATION", +"CLIENT_IP_PORT_PROTO", +"CLIENT_IP_PROTO", +"GENERATED_COOKIE", +"HEADER_FIELD", +"HTTP_COOKIE", +"NONE", +"STRONG_COOKIE_AFFINITY" +], +"enumDescriptions": [ +"2-tuple hash on packet's source and destination IP addresses. Connections\nfrom the same source IP address to the same destination IP address will be\nserved by the same backend VM while that VM remains healthy.", +"1-tuple hash only on packet's source IP address. Connections from the\nsame source IP address will be served by the same backend VM while that VM\nremains healthy. This option can only be used for Internal TCP/UDP\nLoad Balancing.", +"5-tuple hash on packet's source and destination IP addresses, IP protocol,\nand source and destination ports. Connections for the same IP protocol\nfrom the same source IP address and port to the same destination IP address\nand port will be served by the same backend VM while that VM remains\nhealthy. This option cannot be used for HTTP(S) load balancing.", +"3-tuple hash on packet's source and destination IP addresses, and IP\nprotocol. Connections for the same IP protocol from the same source IP\naddress to the same destination IP address will be served by the same\nbackend VM while that VM remains healthy. This option cannot be used for\nHTTP(S) load balancing.", +"Hash based on a cookie generated by the L7 loadbalancer.\nOnly valid for HTTP(S) load balancing.", +"The hash is based on a user specified header field.", +"The hash is based on a user provided cookie.", +"No session affinity. Connections from the same client IP may go\nto any instance in the pool.", +"Strong cookie-based affinity. Connections bearing the same cookie will be\nserved by the same backend VM while that VM remains healthy, as long as the\ncookie has not expired." +], +"type": "string" +} +}, +"type": "object" +}, +"TargetPoolAggregatedList": { +"id": "TargetPoolAggregatedList", +"properties": { +"id": { +"description": "[Output Only] Unique identifier for the resource; defined by the server.", +"type": "string" +}, +"items": { +"additionalProperties": { +"$ref": "TargetPoolsScopedList", +"description": "Name of the scope containing this set of target pools." +}, +"description": "A list of TargetPool resources.", +"type": "object" +}, +"kind": { +"default": "compute#targetPoolAggregatedList", +"description": "Output only. [Output Only] Type of resource. Alwayscompute#targetPoolAggregatedList for aggregated lists of\ntarget pools.", +"readOnly": true, +"type": "string" +}, +"nextPageToken": { +"description": "[Output Only] This token allows you to get the next page of results for\nlist requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for\nthe query parameter pageToken in the next list request.\nSubsequent list requests will have their own nextPageToken to\ncontinue paging through the results.", +"type": "string" +}, +"selfLink": { +"description": "Output only. [Output Only] Server-defined URL for this resource.", +"readOnly": true, +"type": "string" +}, +"unreachables": { +"description": "Output only. [Output Only] Unreachable resources.", +"items": { +"type": "string" +}, +"readOnly": true, +"type": "array" +}, +"warning": { +"description": "[Output Only] Informational warning message.", +"properties": { +"code": { +"description": "[Output Only] A warning code, if applicable. For example, Compute\nEngine returns NO_RESULTS_ON_PAGE if there\nare no results in the response.", +"enum": [ +"CLEANUP_FAILED", +"DEPRECATED_RESOURCE_USED", +"DEPRECATED_TYPE_USED", +"DISK_SIZE_LARGER_THAN_IMAGE_SIZE", +"EXPERIMENTAL_TYPE_USED", +"EXTERNAL_API_WARNING", +"FIELD_VALUE_OVERRIDEN", +"INJECTED_KERNELS_DEPRECATED", +"INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", +"LARGE_DEPLOYMENT_WARNING", +"LIST_OVERHEAD_QUOTA_EXCEED", +"MISSING_TYPE_DEPENDENCY", +"NEXT_HOP_ADDRESS_NOT_ASSIGNED", +"NEXT_HOP_CANNOT_IP_FORWARD", +"NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", +"NEXT_HOP_INSTANCE_NOT_FOUND", +"NEXT_HOP_INSTANCE_NOT_ON_NETWORK", +"NEXT_HOP_NOT_RUNNING", +"NOT_CRITICAL_ERROR", +"NO_RESULTS_ON_PAGE", +"PARTIAL_SUCCESS", +"QUOTA_INFO_UNAVAILABLE", +"REQUIRED_TOS_AGREEMENT", +"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", +"RESOURCE_NOT_DELETED", +"SCHEMA_VALIDATION_IGNORED", +"SINGLE_INSTANCE_PROPERTY_TEMPLATE", +"UNDECLARED_PROPERTIES", +"UNREACHABLE" +], +"enumDeprecated": [ +false, +false, +false, +false, +false, +false, +true, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false +], +"enumDescriptions": [ +"Warning about failed cleanup of transient changes made by a failed\noperation.", +"A link to a deprecated resource was created.", +"When deploying and at least one of the resources has a type marked as\ndeprecated", +"The user created a boot disk that is larger than image size.", +"When deploying and at least one of the resources has a type marked as\nexperimental", +"Warning that is present in an external api call", +"Warning that value of a field has been overridden.\nDeprecated unused field.", +"The operation involved use of an injected kernel, which is deprecated.", +"A WEIGHTED_MAGLEV backend service is associated with a health check that is\nnot of type HTTP/HTTPS/HTTP2.", +"When deploying a deployment with a exceedingly large number of resources", +"Resource can't be retrieved due to list overhead quota exceed\nwhich captures the amount of resources filtered out by\nuser-defined list filter.", +"A resource depends on a missing type", +"The route's nextHopIp address is not assigned to an instance on the\nnetwork.", +"The route's next hop instance cannot ip forward.", +"The route's nextHopInstance URL refers to an instance that does not have an\nipv6 interface on the same network as the route.", +"The route's nextHopInstance URL refers to an instance that does not exist.", +"The route's nextHopInstance URL refers to an instance that is not on the\nsame network as the route.", +"The route's next hop instance does not have a status of RUNNING.", +"Error which is not critical. We decided to continue the process despite\nthe mentioned error.", +"No results are present on a particular list page.", +"Success is reported, but some results may be missing due to errors", +"Quota information is not available to client requests (e.g:\nregions.list).", +"The user attempted to use a resource that requires a TOS they have not\naccepted.", +"Warning that a resource is in use.", +"One or more of the resources set to auto-delete could not be deleted\nbecause they were in use.", +"When a resource schema validation is ignored.", +"Instance template used in instance group manager is valid as such, but\nits application does not make a lot of sense, because it allows only\nsingle instance in instance group.", +"When undeclared properties in the schema are present", +"A given scope cannot be reached." +], +"type": "string" +}, +"data": { +"description": "[Output Only] Metadata about this warning in key:\nvalue format. For example:\n\n\"data\": [\n {\n \"key\": \"scope\",\n \"value\": \"zones/us-east1-d\"\n }", +"items": { +"properties": { +"key": { +"description": "[Output Only] A key that provides more detail on the warning being\nreturned. For example, for warnings where there are no results in a list\nrequest for a particular zone, this key might be scope and\nthe key value might be the zone name. Other examples might be a key\nindicating a deprecated resource and a suggested replacement, or a\nwarning about invalid network settings (for example, if an instance\nattempts to perform IP forwarding but is not enabled for IP forwarding).", +"type": "string" +}, +"value": { +"description": "[Output Only] A warning data value corresponding to the key.", +"type": "string" +} +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "[Output Only] A human-readable description of the warning code.", +"type": "string" +} +}, +"type": "object" +} +}, +"type": "object" +}, +"TargetPoolInstanceHealth": { +"id": "TargetPoolInstanceHealth", +"properties": { +"healthStatus": { +"items": { +"$ref": "HealthStatus" +}, +"type": "array" +}, +"kind": { +"default": "compute#targetPoolInstanceHealth", +"description": "Output only. [Output Only] Type of resource. Alwayscompute#targetPoolInstanceHealth when checking the health of\nan instance.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"TargetPoolList": { +"description": "Contains a list of TargetPool resources.", +"id": "TargetPoolList", +"properties": { +"id": { +"description": "[Output Only] Unique identifier for the resource; defined by the server.", +"type": "string" +}, +"items": { +"description": "A list of TargetPool resources.", +"items": { +"$ref": "TargetPool" +}, +"type": "array" +}, +"kind": { +"default": "compute#targetPoolList", +"description": "Output only. [Output Only] Type of resource. Always compute#targetPoolList\nfor lists of target pools.", +"readOnly": true, +"type": "string" +}, +"nextPageToken": { +"description": "[Output Only] This token allows you to get the next page of results for\nlist requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for\nthe query parameter pageToken in the next list request.\nSubsequent list requests will have their own nextPageToken to\ncontinue paging through the results.", +"type": "string" +}, +"selfLink": { +"description": "Output only. [Output Only] Server-defined URL for this resource.", +"readOnly": true, +"type": "string" +}, +"warning": { +"description": "[Output Only] Informational warning message.", +"properties": { +"code": { +"description": "[Output Only] A warning code, if applicable. For example, Compute\nEngine returns NO_RESULTS_ON_PAGE if there\nare no results in the response.", +"enum": [ +"CLEANUP_FAILED", +"DEPRECATED_RESOURCE_USED", +"DEPRECATED_TYPE_USED", +"DISK_SIZE_LARGER_THAN_IMAGE_SIZE", +"EXPERIMENTAL_TYPE_USED", +"EXTERNAL_API_WARNING", +"FIELD_VALUE_OVERRIDEN", +"INJECTED_KERNELS_DEPRECATED", +"INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", +"LARGE_DEPLOYMENT_WARNING", +"LIST_OVERHEAD_QUOTA_EXCEED", +"MISSING_TYPE_DEPENDENCY", +"NEXT_HOP_ADDRESS_NOT_ASSIGNED", +"NEXT_HOP_CANNOT_IP_FORWARD", +"NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", +"NEXT_HOP_INSTANCE_NOT_FOUND", +"NEXT_HOP_INSTANCE_NOT_ON_NETWORK", +"NEXT_HOP_NOT_RUNNING", +"NOT_CRITICAL_ERROR", +"NO_RESULTS_ON_PAGE", +"PARTIAL_SUCCESS", +"QUOTA_INFO_UNAVAILABLE", +"REQUIRED_TOS_AGREEMENT", +"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", +"RESOURCE_NOT_DELETED", +"SCHEMA_VALIDATION_IGNORED", +"SINGLE_INSTANCE_PROPERTY_TEMPLATE", +"UNDECLARED_PROPERTIES", +"UNREACHABLE" +], +"enumDeprecated": [ +false, +false, +false, +false, +false, +false, +true, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false +], +"enumDescriptions": [ +"Warning about failed cleanup of transient changes made by a failed\noperation.", +"A link to a deprecated resource was created.", +"When deploying and at least one of the resources has a type marked as\ndeprecated", +"The user created a boot disk that is larger than image size.", +"When deploying and at least one of the resources has a type marked as\nexperimental", +"Warning that is present in an external api call", +"Warning that value of a field has been overridden.\nDeprecated unused field.", +"The operation involved use of an injected kernel, which is deprecated.", +"A WEIGHTED_MAGLEV backend service is associated with a health check that is\nnot of type HTTP/HTTPS/HTTP2.", +"When deploying a deployment with a exceedingly large number of resources", +"Resource can't be retrieved due to list overhead quota exceed\nwhich captures the amount of resources filtered out by\nuser-defined list filter.", +"A resource depends on a missing type", +"The route's nextHopIp address is not assigned to an instance on the\nnetwork.", +"The route's next hop instance cannot ip forward.", +"The route's nextHopInstance URL refers to an instance that does not have an\nipv6 interface on the same network as the route.", +"The route's nextHopInstance URL refers to an instance that does not exist.", +"The route's nextHopInstance URL refers to an instance that is not on the\nsame network as the route.", +"The route's next hop instance does not have a status of RUNNING.", +"Error which is not critical. We decided to continue the process despite\nthe mentioned error.", +"No results are present on a particular list page.", +"Success is reported, but some results may be missing due to errors", +"Quota information is not available to client requests (e.g:\nregions.list).", +"The user attempted to use a resource that requires a TOS they have not\naccepted.", +"Warning that a resource is in use.", +"One or more of the resources set to auto-delete could not be deleted\nbecause they were in use.", +"When a resource schema validation is ignored.", +"Instance template used in instance group manager is valid as such, but\nits application does not make a lot of sense, because it allows only\nsingle instance in instance group.", +"When undeclared properties in the schema are present", +"A given scope cannot be reached." +], +"type": "string" +}, +"data": { +"description": "[Output Only] Metadata about this warning in key:\nvalue format. For example:\n\n\"data\": [\n {\n \"key\": \"scope\",\n \"value\": \"zones/us-east1-d\"\n }", +"items": { +"properties": { +"key": { +"description": "[Output Only] A key that provides more detail on the warning being\nreturned. For example, for warnings where there are no results in a list\nrequest for a particular zone, this key might be scope and\nthe key value might be the zone name. Other examples might be a key\nindicating a deprecated resource and a suggested replacement, or a\nwarning about invalid network settings (for example, if an instance\nattempts to perform IP forwarding but is not enabled for IP forwarding).", +"type": "string" +}, +"value": { +"description": "[Output Only] A warning data value corresponding to the key.", +"type": "string" +} +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "[Output Only] A human-readable description of the warning code.", +"type": "string" +} +}, +"type": "object" +} +}, +"type": "object" +}, +"TargetPoolsAddHealthCheckRequest": { +"id": "TargetPoolsAddHealthCheckRequest", +"properties": { +"healthChecks": { +"description": "The HttpHealthCheck to add to the target pool.", +"items": { +"$ref": "HealthCheckReference" +}, +"type": "array" +} +}, +"type": "object" +}, +"TargetPoolsAddInstanceRequest": { +"id": "TargetPoolsAddInstanceRequest", +"properties": { +"instances": { +"description": "A full or partial URL to an instance to add to this target pool. This can\nbe a full or partial URL. For example, the following are valid URLs: \n \n - https://www.googleapis.com/compute/v1/projects/project-id/zones/zone/instances/instance-name \n - projects/project-id/zones/zone/instances/instance-name \n - zones/zone/instances/instance-name", +"items": { +"$ref": "InstanceReference" +}, +"type": "array" +} +}, +"type": "object" +}, +"TargetPoolsRemoveHealthCheckRequest": { +"id": "TargetPoolsRemoveHealthCheckRequest", +"properties": { +"healthChecks": { +"description": "Health check URL to be removed. This can be a full or valid partial URL.\nFor example, the following are valid URLs:\n \n - https://www.googleapis.com/compute/beta/projects/project/global/httpHealthChecks/health-check \n - projects/project/global/httpHealthChecks/health-check\n - global/httpHealthChecks/health-check", +"items": { +"$ref": "HealthCheckReference" +}, +"type": "array" +} +}, +"type": "object" +}, +"TargetPoolsRemoveInstanceRequest": { +"id": "TargetPoolsRemoveInstanceRequest", +"properties": { +"instances": { +"description": "URLs of the instances to be removed from target pool.", +"items": { +"$ref": "InstanceReference" +}, +"type": "array" +} +}, +"type": "object" +}, +"TargetPoolsScopedList": { +"id": "TargetPoolsScopedList", +"properties": { +"targetPools": { +"description": "A list of target pools contained in this scope.", +"items": { +"$ref": "TargetPool" +}, +"type": "array" +}, +"warning": { +"description": "Informational warning which replaces the list of addresses when\nthe list is empty.", +"properties": { +"code": { +"description": "[Output Only] A warning code, if applicable. For example, Compute\nEngine returns NO_RESULTS_ON_PAGE if there\nare no results in the response.", +"enum": [ +"CLEANUP_FAILED", +"DEPRECATED_RESOURCE_USED", +"DEPRECATED_TYPE_USED", +"DISK_SIZE_LARGER_THAN_IMAGE_SIZE", +"EXPERIMENTAL_TYPE_USED", +"EXTERNAL_API_WARNING", +"FIELD_VALUE_OVERRIDEN", +"INJECTED_KERNELS_DEPRECATED", +"INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", +"LARGE_DEPLOYMENT_WARNING", +"LIST_OVERHEAD_QUOTA_EXCEED", +"MISSING_TYPE_DEPENDENCY", +"NEXT_HOP_ADDRESS_NOT_ASSIGNED", +"NEXT_HOP_CANNOT_IP_FORWARD", +"NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", +"NEXT_HOP_INSTANCE_NOT_FOUND", +"NEXT_HOP_INSTANCE_NOT_ON_NETWORK", +"NEXT_HOP_NOT_RUNNING", +"NOT_CRITICAL_ERROR", +"NO_RESULTS_ON_PAGE", +"PARTIAL_SUCCESS", +"QUOTA_INFO_UNAVAILABLE", +"REQUIRED_TOS_AGREEMENT", +"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", +"RESOURCE_NOT_DELETED", +"SCHEMA_VALIDATION_IGNORED", +"SINGLE_INSTANCE_PROPERTY_TEMPLATE", +"UNDECLARED_PROPERTIES", +"UNREACHABLE" +], +"enumDeprecated": [ +false, +false, +false, +false, +false, +false, +true, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false +], +"enumDescriptions": [ +"Warning about failed cleanup of transient changes made by a failed\noperation.", +"A link to a deprecated resource was created.", +"When deploying and at least one of the resources has a type marked as\ndeprecated", +"The user created a boot disk that is larger than image size.", +"When deploying and at least one of the resources has a type marked as\nexperimental", +"Warning that is present in an external api call", +"Warning that value of a field has been overridden.\nDeprecated unused field.", +"The operation involved use of an injected kernel, which is deprecated.", +"A WEIGHTED_MAGLEV backend service is associated with a health check that is\nnot of type HTTP/HTTPS/HTTP2.", +"When deploying a deployment with a exceedingly large number of resources", +"Resource can't be retrieved due to list overhead quota exceed\nwhich captures the amount of resources filtered out by\nuser-defined list filter.", +"A resource depends on a missing type", +"The route's nextHopIp address is not assigned to an instance on the\nnetwork.", +"The route's next hop instance cannot ip forward.", +"The route's nextHopInstance URL refers to an instance that does not have an\nipv6 interface on the same network as the route.", +"The route's nextHopInstance URL refers to an instance that does not exist.", +"The route's nextHopInstance URL refers to an instance that is not on the\nsame network as the route.", +"The route's next hop instance does not have a status of RUNNING.", +"Error which is not critical. We decided to continue the process despite\nthe mentioned error.", +"No results are present on a particular list page.", +"Success is reported, but some results may be missing due to errors", +"Quota information is not available to client requests (e.g:\nregions.list).", +"The user attempted to use a resource that requires a TOS they have not\naccepted.", +"Warning that a resource is in use.", +"One or more of the resources set to auto-delete could not be deleted\nbecause they were in use.", +"When a resource schema validation is ignored.", +"Instance template used in instance group manager is valid as such, but\nits application does not make a lot of sense, because it allows only\nsingle instance in instance group.", +"When undeclared properties in the schema are present", +"A given scope cannot be reached." +], +"type": "string" +}, +"data": { +"description": "[Output Only] Metadata about this warning in key:\nvalue format. For example:\n\n\"data\": [\n {\n \"key\": \"scope\",\n \"value\": \"zones/us-east1-d\"\n }", +"items": { +"properties": { +"key": { +"description": "[Output Only] A key that provides more detail on the warning being\nreturned. For example, for warnings where there are no results in a list\nrequest for a particular zone, this key might be scope and\nthe key value might be the zone name. Other examples might be a key\nindicating a deprecated resource and a suggested replacement, or a\nwarning about invalid network settings (for example, if an instance\nattempts to perform IP forwarding but is not enabled for IP forwarding).", +"type": "string" +}, +"value": { +"description": "[Output Only] A warning data value corresponding to the key.", +"type": "string" +} +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "[Output Only] A human-readable description of the warning code.", +"type": "string" +} +}, +"type": "object" +} +}, +"type": "object" +}, +"TargetReference": { +"id": "TargetReference", +"properties": { +"target": { +"type": "string" +} +}, +"type": "object" +}, +"TargetSslProxiesSetBackendServiceRequest": { +"id": "TargetSslProxiesSetBackendServiceRequest", +"properties": { +"service": { +"description": "The URL of the new BackendService resource for the targetSslProxy.", +"type": "string" +} +}, +"type": "object" +}, +"TargetSslProxiesSetCertificateMapRequest": { +"id": "TargetSslProxiesSetCertificateMapRequest", +"properties": { +"certificateMap": { +"description": "URL of the Certificate Map to associate with this TargetSslProxy.\n\n Accepted format is//certificatemanager.googleapis.com/projects/{project}/locations/{location}/certificateMaps/{resourceName}.", +"type": "string" +} +}, +"type": "object" +}, +"TargetSslProxiesSetProxyHeaderRequest": { +"id": "TargetSslProxiesSetProxyHeaderRequest", +"properties": { +"proxyHeader": { +"description": "The new type of proxy header to append before sending data to the\nbackend. NONE or PROXY_V1 are allowed.", +"enum": [ +"NONE", +"PROXY_V1" +], +"enumDescriptions": [ +"", +"" +], +"type": "string" +} +}, +"type": "object" +}, +"TargetSslProxiesSetSslCertificatesRequest": { +"id": "TargetSslProxiesSetSslCertificatesRequest", +"properties": { +"sslCertificates": { +"description": "New set of URLs to SslCertificate resources to associate with this\nTargetSslProxy. At least one SSL certificate must be specified.\nCurrently, you may specify up to 15 SSL certificates.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"TargetSslProxy": { +"description": "Represents a Target SSL Proxy resource.\n\nA target SSL proxy is a component of a Proxy Network Load Balancer.\nThe forwarding rule references the target SSL proxy, and the target proxy\nthen references a backend service. For more information, readProxy Network\nLoad Balancer overview.", +"id": "TargetSslProxy", +"properties": { +"certificateMap": { +"description": "URL of a certificate map that identifies a certificate map associated with\nthe given target proxy.\nThis field can only be set for global target proxies.\nIf set, sslCertificates will be ignored.\n\n Accepted format is//certificatemanager.googleapis.com/projects/{project}/locations/{location}/certificateMaps/{resourceName}.", +"type": "string" +}, +"creationTimestamp": { +"description": "Output only. [Output Only] Creation timestamp inRFC3339\ntext format.", +"readOnly": true, +"type": "string" +}, +"description": { +"description": "An optional description of this resource. Provide this property when you\ncreate the resource.", +"type": "string" +}, +"id": { +"description": "[Output Only] The unique identifier for the resource. This identifier is\ndefined by the server.", +"format": "uint64", +"type": "string" +}, +"kind": { +"default": "compute#targetSslProxy", +"description": "Output only. [Output Only] Type of the resource. Alwayscompute#targetSslProxy for target SSL proxies.", +"readOnly": true, +"type": "string" +}, +"name": { +"description": "Name of the resource. Provided by the client when the resource is created.\nThe name must be 1-63 characters long, and comply withRFC1035.\nSpecifically, the name must be 1-63 characters long and match the regular\nexpression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first\ncharacter must be a lowercase letter, and all following characters must\nbe a dash, lowercase letter, or digit, except the last character, which\ncannot be a dash.", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"type": "string" +}, +"proxyHeader": { +"description": "Specifies the type of proxy header to append before sending data to the\nbackend, either NONE or PROXY_V1. The default\nis NONE.", +"enum": [ +"NONE", +"PROXY_V1" +], +"enumDescriptions": [ +"", +"" +], +"type": "string" +}, +"selfLink": { +"description": "[Output Only] Server-defined URL for the resource.", +"type": "string" +}, +"service": { +"description": "URL to the BackendService resource.", +"type": "string" +}, +"sslCertificates": { +"description": "URLs to SslCertificate resources that are used to\nauthenticate connections to Backends. At least one SSL certificate\nmust be specified. Currently, you may specify up to 15 SSL certificates.\nsslCertificates do not apply when the load balancing scheme is set to\nINTERNAL_SELF_MANAGED.", +"items": { +"type": "string" +}, +"type": "array" +}, +"sslPolicy": { +"description": "URL of SslPolicy resource that will be associated with the TargetSslProxy\nresource. If not set, the TargetSslProxy resource will not have any\nSSL policy configured.", +"type": "string" +} +}, +"type": "object" +}, +"TargetSslProxyList": { +"description": "Contains a list of TargetSslProxy resources.", +"id": "TargetSslProxyList", +"properties": { +"id": { +"description": "[Output Only] Unique identifier for the resource; defined by the server.", +"type": "string" +}, +"items": { +"description": "A list of TargetSslProxy resources.", +"items": { +"$ref": "TargetSslProxy" +}, +"type": "array" +}, +"kind": { +"default": "compute#targetSslProxyList", +"description": "Output only. Type of resource.", +"readOnly": true, +"type": "string" +}, +"nextPageToken": { +"description": "[Output Only] This token allows you to get the next page of results for\nlist requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for\nthe query parameter pageToken in the next list request.\nSubsequent list requests will have their own nextPageToken to\ncontinue paging through the results.", +"type": "string" +}, +"selfLink": { +"description": "Output only. [Output Only] Server-defined URL for this resource.", +"readOnly": true, +"type": "string" +}, +"warning": { +"description": "[Output Only] Informational warning message.", +"properties": { +"code": { +"description": "[Output Only] A warning code, if applicable. For example, Compute\nEngine returns NO_RESULTS_ON_PAGE if there\nare no results in the response.", +"enum": [ +"CLEANUP_FAILED", +"DEPRECATED_RESOURCE_USED", +"DEPRECATED_TYPE_USED", +"DISK_SIZE_LARGER_THAN_IMAGE_SIZE", +"EXPERIMENTAL_TYPE_USED", +"EXTERNAL_API_WARNING", +"FIELD_VALUE_OVERRIDEN", +"INJECTED_KERNELS_DEPRECATED", +"INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", +"LARGE_DEPLOYMENT_WARNING", +"LIST_OVERHEAD_QUOTA_EXCEED", +"MISSING_TYPE_DEPENDENCY", +"NEXT_HOP_ADDRESS_NOT_ASSIGNED", +"NEXT_HOP_CANNOT_IP_FORWARD", +"NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", +"NEXT_HOP_INSTANCE_NOT_FOUND", +"NEXT_HOP_INSTANCE_NOT_ON_NETWORK", +"NEXT_HOP_NOT_RUNNING", +"NOT_CRITICAL_ERROR", +"NO_RESULTS_ON_PAGE", +"PARTIAL_SUCCESS", +"QUOTA_INFO_UNAVAILABLE", +"REQUIRED_TOS_AGREEMENT", +"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", +"RESOURCE_NOT_DELETED", +"SCHEMA_VALIDATION_IGNORED", +"SINGLE_INSTANCE_PROPERTY_TEMPLATE", +"UNDECLARED_PROPERTIES", +"UNREACHABLE" +], +"enumDeprecated": [ +false, +false, +false, +false, +false, +false, +true, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false +], +"enumDescriptions": [ +"Warning about failed cleanup of transient changes made by a failed\noperation.", +"A link to a deprecated resource was created.", +"When deploying and at least one of the resources has a type marked as\ndeprecated", +"The user created a boot disk that is larger than image size.", +"When deploying and at least one of the resources has a type marked as\nexperimental", +"Warning that is present in an external api call", +"Warning that value of a field has been overridden.\nDeprecated unused field.", +"The operation involved use of an injected kernel, which is deprecated.", +"A WEIGHTED_MAGLEV backend service is associated with a health check that is\nnot of type HTTP/HTTPS/HTTP2.", +"When deploying a deployment with a exceedingly large number of resources", +"Resource can't be retrieved due to list overhead quota exceed\nwhich captures the amount of resources filtered out by\nuser-defined list filter.", +"A resource depends on a missing type", +"The route's nextHopIp address is not assigned to an instance on the\nnetwork.", +"The route's next hop instance cannot ip forward.", +"The route's nextHopInstance URL refers to an instance that does not have an\nipv6 interface on the same network as the route.", +"The route's nextHopInstance URL refers to an instance that does not exist.", +"The route's nextHopInstance URL refers to an instance that is not on the\nsame network as the route.", +"The route's next hop instance does not have a status of RUNNING.", +"Error which is not critical. We decided to continue the process despite\nthe mentioned error.", +"No results are present on a particular list page.", +"Success is reported, but some results may be missing due to errors", +"Quota information is not available to client requests (e.g:\nregions.list).", +"The user attempted to use a resource that requires a TOS they have not\naccepted.", +"Warning that a resource is in use.", +"One or more of the resources set to auto-delete could not be deleted\nbecause they were in use.", +"When a resource schema validation is ignored.", +"Instance template used in instance group manager is valid as such, but\nits application does not make a lot of sense, because it allows only\nsingle instance in instance group.", +"When undeclared properties in the schema are present", +"A given scope cannot be reached." +], +"type": "string" +}, +"data": { +"description": "[Output Only] Metadata about this warning in key:\nvalue format. For example:\n\n\"data\": [\n {\n \"key\": \"scope\",\n \"value\": \"zones/us-east1-d\"\n }", +"items": { +"properties": { +"key": { +"description": "[Output Only] A key that provides more detail on the warning being\nreturned. For example, for warnings where there are no results in a list\nrequest for a particular zone, this key might be scope and\nthe key value might be the zone name. Other examples might be a key\nindicating a deprecated resource and a suggested replacement, or a\nwarning about invalid network settings (for example, if an instance\nattempts to perform IP forwarding but is not enabled for IP forwarding).", +"type": "string" +}, +"value": { +"description": "[Output Only] A warning data value corresponding to the key.", +"type": "string" +} +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "[Output Only] A human-readable description of the warning code.", +"type": "string" +} +}, +"type": "object" +} +}, +"type": "object" +}, +"TargetTcpProxiesScopedList": { +"id": "TargetTcpProxiesScopedList", +"properties": { +"targetTcpProxies": { +"description": "A list of TargetTcpProxies contained in this scope.", +"items": { +"$ref": "TargetTcpProxy" +}, +"type": "array" +}, +"warning": { +"description": "Informational warning which replaces the list of\nbackend services when the list is empty.", +"properties": { +"code": { +"description": "[Output Only] A warning code, if applicable. For example, Compute\nEngine returns NO_RESULTS_ON_PAGE if there\nare no results in the response.", +"enum": [ +"CLEANUP_FAILED", +"DEPRECATED_RESOURCE_USED", +"DEPRECATED_TYPE_USED", +"DISK_SIZE_LARGER_THAN_IMAGE_SIZE", +"EXPERIMENTAL_TYPE_USED", +"EXTERNAL_API_WARNING", +"FIELD_VALUE_OVERRIDEN", +"INJECTED_KERNELS_DEPRECATED", +"INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", +"LARGE_DEPLOYMENT_WARNING", +"LIST_OVERHEAD_QUOTA_EXCEED", +"MISSING_TYPE_DEPENDENCY", +"NEXT_HOP_ADDRESS_NOT_ASSIGNED", +"NEXT_HOP_CANNOT_IP_FORWARD", +"NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", +"NEXT_HOP_INSTANCE_NOT_FOUND", +"NEXT_HOP_INSTANCE_NOT_ON_NETWORK", +"NEXT_HOP_NOT_RUNNING", +"NOT_CRITICAL_ERROR", +"NO_RESULTS_ON_PAGE", +"PARTIAL_SUCCESS", +"QUOTA_INFO_UNAVAILABLE", +"REQUIRED_TOS_AGREEMENT", +"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", +"RESOURCE_NOT_DELETED", +"SCHEMA_VALIDATION_IGNORED", +"SINGLE_INSTANCE_PROPERTY_TEMPLATE", +"UNDECLARED_PROPERTIES", +"UNREACHABLE" +], +"enumDeprecated": [ +false, +false, +false, +false, +false, +false, +true, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false +], +"enumDescriptions": [ +"Warning about failed cleanup of transient changes made by a failed\noperation.", +"A link to a deprecated resource was created.", +"When deploying and at least one of the resources has a type marked as\ndeprecated", +"The user created a boot disk that is larger than image size.", +"When deploying and at least one of the resources has a type marked as\nexperimental", +"Warning that is present in an external api call", +"Warning that value of a field has been overridden.\nDeprecated unused field.", +"The operation involved use of an injected kernel, which is deprecated.", +"A WEIGHTED_MAGLEV backend service is associated with a health check that is\nnot of type HTTP/HTTPS/HTTP2.", +"When deploying a deployment with a exceedingly large number of resources", +"Resource can't be retrieved due to list overhead quota exceed\nwhich captures the amount of resources filtered out by\nuser-defined list filter.", +"A resource depends on a missing type", +"The route's nextHopIp address is not assigned to an instance on the\nnetwork.", +"The route's next hop instance cannot ip forward.", +"The route's nextHopInstance URL refers to an instance that does not have an\nipv6 interface on the same network as the route.", +"The route's nextHopInstance URL refers to an instance that does not exist.", +"The route's nextHopInstance URL refers to an instance that is not on the\nsame network as the route.", +"The route's next hop instance does not have a status of RUNNING.", +"Error which is not critical. We decided to continue the process despite\nthe mentioned error.", +"No results are present on a particular list page.", +"Success is reported, but some results may be missing due to errors", +"Quota information is not available to client requests (e.g:\nregions.list).", +"The user attempted to use a resource that requires a TOS they have not\naccepted.", +"Warning that a resource is in use.", +"One or more of the resources set to auto-delete could not be deleted\nbecause they were in use.", +"When a resource schema validation is ignored.", +"Instance template used in instance group manager is valid as such, but\nits application does not make a lot of sense, because it allows only\nsingle instance in instance group.", +"When undeclared properties in the schema are present", +"A given scope cannot be reached." +], +"type": "string" +}, +"data": { +"description": "[Output Only] Metadata about this warning in key:\nvalue format. For example:\n\n\"data\": [\n {\n \"key\": \"scope\",\n \"value\": \"zones/us-east1-d\"\n }", +"items": { +"properties": { +"key": { +"description": "[Output Only] A key that provides more detail on the warning being\nreturned. For example, for warnings where there are no results in a list\nrequest for a particular zone, this key might be scope and\nthe key value might be the zone name. Other examples might be a key\nindicating a deprecated resource and a suggested replacement, or a\nwarning about invalid network settings (for example, if an instance\nattempts to perform IP forwarding but is not enabled for IP forwarding).", +"type": "string" +}, +"value": { +"description": "[Output Only] A warning data value corresponding to the key.", +"type": "string" +} +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "[Output Only] A human-readable description of the warning code.", +"type": "string" +} +}, +"type": "object" +} +}, +"type": "object" +}, +"TargetTcpProxiesSetBackendServiceRequest": { +"id": "TargetTcpProxiesSetBackendServiceRequest", +"properties": { +"service": { +"description": "The URL of the new BackendService resource for the targetTcpProxy.", +"type": "string" +} +}, +"type": "object" +}, +"TargetTcpProxiesSetProxyHeaderRequest": { +"id": "TargetTcpProxiesSetProxyHeaderRequest", +"properties": { +"proxyHeader": { +"description": "The new type of proxy header to append before sending data to the\nbackend. NONE or PROXY_V1 are allowed.", +"enum": [ +"NONE", +"PROXY_V1" +], +"enumDescriptions": [ +"", +"" +], +"type": "string" +} +}, +"type": "object" +}, +"TargetTcpProxy": { +"description": "Represents a Target TCP Proxy resource.\n\nA target TCP proxy is a component of a Proxy Network Load Balancer.\nThe forwarding rule references the target TCP proxy, and the target proxy\nthen references a backend service. For more information, readProxy Network\nLoad Balancer overview.", +"id": "TargetTcpProxy", +"properties": { +"creationTimestamp": { +"description": "Output only. [Output Only] Creation timestamp inRFC3339\ntext format.", +"readOnly": true, +"type": "string" +}, +"description": { +"description": "An optional description of this resource. Provide this property when you\ncreate the resource.", +"type": "string" +}, +"id": { +"description": "[Output Only] The unique identifier for the resource. This identifier is\ndefined by the server.", +"format": "uint64", +"type": "string" +}, +"kind": { +"default": "compute#targetTcpProxy", +"description": "Output only. [Output Only] Type of the resource. Alwayscompute#targetTcpProxy for target TCP proxies.", +"readOnly": true, +"type": "string" +}, +"loadBalancingScheme": { +"description": "Specifies the type of load balancing scheme used by this target proxy.", +"enum": [ +"EXTERNAL", +"EXTERNAL_MANAGED", +"INTERNAL_MANAGED" +], +"enumDescriptions": [ +"", +"", +"" +], +"type": "string" +}, +"name": { +"description": "Name of the resource. Provided by the client when the resource is created.\nThe name must be 1-63 characters long, and comply withRFC1035.\nSpecifically, the name must be 1-63 characters long and match the regular\nexpression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first\ncharacter must be a lowercase letter, and all following characters must\nbe a dash, lowercase letter, or digit, except the last character, which\ncannot be a dash.", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"type": "string" +}, +"proxyBind": { +"description": "This field only applies when the forwarding rule that references this\ntarget proxy has a loadBalancingScheme set toINTERNAL_SELF_MANAGED.\n\nWhen this field is set to true, Envoy proxies set up inbound\ntraffic interception and bind to the IP address and port specified in the\nforwarding rule. This is generally useful when using Traffic Director to\nconfigure Envoy as a gateway or middle proxy (in other words, not a\nsidecar proxy). The Envoy proxy listens for inbound requests and handles\nrequests when it receives them.\n\nThe default is false.", +"type": "boolean" +}, +"proxyHeader": { +"description": "Specifies the type of proxy header to append before sending data to the\nbackend, either NONE or PROXY_V1. The default\nis NONE.", +"enum": [ +"NONE", +"PROXY_V1" +], +"enumDescriptions": [ +"", +"" +], +"type": "string" +}, +"region": { +"description": "Output only. [Output Only] URL of the region where the regional TCP proxy resides.\nThis field is not applicable to global TCP proxy.", +"readOnly": true, +"type": "string" +}, +"selfLink": { +"description": "[Output Only] Server-defined URL for the resource.", +"type": "string" +}, +"service": { +"description": "URL to the BackendService resource.", +"type": "string" +} +}, +"type": "object" +}, +"TargetTcpProxyAggregatedList": { +"id": "TargetTcpProxyAggregatedList", +"properties": { +"id": { +"description": "[Output Only] Unique identifier for the resource; defined by the server.", +"type": "string" +}, +"items": { +"additionalProperties": { +"$ref": "TargetTcpProxiesScopedList", +"description": "Name of the scope containing this set of TargetTcpProxies." +}, +"description": "A list of TargetTcpProxiesScopedList resources.", +"type": "object" +}, +"kind": { +"default": "compute#targetTcpProxyAggregatedList", +"description": "Output only. [Output Only] Type of resource. Alwayscompute#targetTcpProxyAggregatedList for lists of Target\nTCP Proxies.", +"readOnly": true, +"type": "string" +}, +"nextPageToken": { +"description": "[Output Only] This token allows you to get the next page of results for\nlist requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for\nthe query parameter pageToken in the next list request.\nSubsequent list requests will have their own nextPageToken to\ncontinue paging through the results.", +"type": "string" +}, +"selfLink": { +"description": "Output only. [Output Only] Server-defined URL for this resource.", +"readOnly": true, +"type": "string" +}, +"unreachables": { +"description": "Output only. [Output Only] Unreachable resources.", +"items": { +"type": "string" +}, +"readOnly": true, +"type": "array" +}, +"warning": { +"description": "[Output Only] Informational warning message.", +"properties": { +"code": { +"description": "[Output Only] A warning code, if applicable. For example, Compute\nEngine returns NO_RESULTS_ON_PAGE if there\nare no results in the response.", +"enum": [ +"CLEANUP_FAILED", +"DEPRECATED_RESOURCE_USED", +"DEPRECATED_TYPE_USED", +"DISK_SIZE_LARGER_THAN_IMAGE_SIZE", +"EXPERIMENTAL_TYPE_USED", +"EXTERNAL_API_WARNING", +"FIELD_VALUE_OVERRIDEN", +"INJECTED_KERNELS_DEPRECATED", +"INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", +"LARGE_DEPLOYMENT_WARNING", +"LIST_OVERHEAD_QUOTA_EXCEED", +"MISSING_TYPE_DEPENDENCY", +"NEXT_HOP_ADDRESS_NOT_ASSIGNED", +"NEXT_HOP_CANNOT_IP_FORWARD", +"NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", +"NEXT_HOP_INSTANCE_NOT_FOUND", +"NEXT_HOP_INSTANCE_NOT_ON_NETWORK", +"NEXT_HOP_NOT_RUNNING", +"NOT_CRITICAL_ERROR", +"NO_RESULTS_ON_PAGE", +"PARTIAL_SUCCESS", +"QUOTA_INFO_UNAVAILABLE", +"REQUIRED_TOS_AGREEMENT", +"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", +"RESOURCE_NOT_DELETED", +"SCHEMA_VALIDATION_IGNORED", +"SINGLE_INSTANCE_PROPERTY_TEMPLATE", +"UNDECLARED_PROPERTIES", +"UNREACHABLE" +], +"enumDeprecated": [ +false, +false, +false, +false, +false, +false, +true, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false +], +"enumDescriptions": [ +"Warning about failed cleanup of transient changes made by a failed\noperation.", +"A link to a deprecated resource was created.", +"When deploying and at least one of the resources has a type marked as\ndeprecated", +"The user created a boot disk that is larger than image size.", +"When deploying and at least one of the resources has a type marked as\nexperimental", +"Warning that is present in an external api call", +"Warning that value of a field has been overridden.\nDeprecated unused field.", +"The operation involved use of an injected kernel, which is deprecated.", +"A WEIGHTED_MAGLEV backend service is associated with a health check that is\nnot of type HTTP/HTTPS/HTTP2.", +"When deploying a deployment with a exceedingly large number of resources", +"Resource can't be retrieved due to list overhead quota exceed\nwhich captures the amount of resources filtered out by\nuser-defined list filter.", +"A resource depends on a missing type", +"The route's nextHopIp address is not assigned to an instance on the\nnetwork.", +"The route's next hop instance cannot ip forward.", +"The route's nextHopInstance URL refers to an instance that does not have an\nipv6 interface on the same network as the route.", +"The route's nextHopInstance URL refers to an instance that does not exist.", +"The route's nextHopInstance URL refers to an instance that is not on the\nsame network as the route.", +"The route's next hop instance does not have a status of RUNNING.", +"Error which is not critical. We decided to continue the process despite\nthe mentioned error.", +"No results are present on a particular list page.", +"Success is reported, but some results may be missing due to errors", +"Quota information is not available to client requests (e.g:\nregions.list).", +"The user attempted to use a resource that requires a TOS they have not\naccepted.", +"Warning that a resource is in use.", +"One or more of the resources set to auto-delete could not be deleted\nbecause they were in use.", +"When a resource schema validation is ignored.", +"Instance template used in instance group manager is valid as such, but\nits application does not make a lot of sense, because it allows only\nsingle instance in instance group.", +"When undeclared properties in the schema are present", +"A given scope cannot be reached." +], +"type": "string" +}, +"data": { +"description": "[Output Only] Metadata about this warning in key:\nvalue format. For example:\n\n\"data\": [\n {\n \"key\": \"scope\",\n \"value\": \"zones/us-east1-d\"\n }", +"items": { +"properties": { +"key": { +"description": "[Output Only] A key that provides more detail on the warning being\nreturned. For example, for warnings where there are no results in a list\nrequest for a particular zone, this key might be scope and\nthe key value might be the zone name. Other examples might be a key\nindicating a deprecated resource and a suggested replacement, or a\nwarning about invalid network settings (for example, if an instance\nattempts to perform IP forwarding but is not enabled for IP forwarding).", +"type": "string" +}, +"value": { +"description": "[Output Only] A warning data value corresponding to the key.", +"type": "string" +} +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "[Output Only] A human-readable description of the warning code.", +"type": "string" +} +}, +"type": "object" +} +}, +"type": "object" +}, +"TargetTcpProxyList": { +"description": "Contains a list of TargetTcpProxy resources.", +"id": "TargetTcpProxyList", +"properties": { +"id": { +"description": "[Output Only] Unique identifier for the resource; defined by the server.", +"type": "string" +}, +"items": { +"description": "A list of TargetTcpProxy resources.", +"items": { +"$ref": "TargetTcpProxy" +}, +"type": "array" +}, +"kind": { +"default": "compute#targetTcpProxyList", +"description": "Output only. Type of resource.", +"readOnly": true, +"type": "string" +}, +"nextPageToken": { +"description": "[Output Only] This token allows you to get the next page of results for\nlist requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for\nthe query parameter pageToken in the next list request.\nSubsequent list requests will have their own nextPageToken to\ncontinue paging through the results.", +"type": "string" +}, +"selfLink": { +"description": "Output only. [Output Only] Server-defined URL for this resource.", +"readOnly": true, +"type": "string" +}, +"warning": { +"description": "[Output Only] Informational warning message.", +"properties": { +"code": { +"description": "[Output Only] A warning code, if applicable. For example, Compute\nEngine returns NO_RESULTS_ON_PAGE if there\nare no results in the response.", +"enum": [ +"CLEANUP_FAILED", +"DEPRECATED_RESOURCE_USED", +"DEPRECATED_TYPE_USED", +"DISK_SIZE_LARGER_THAN_IMAGE_SIZE", +"EXPERIMENTAL_TYPE_USED", +"EXTERNAL_API_WARNING", +"FIELD_VALUE_OVERRIDEN", +"INJECTED_KERNELS_DEPRECATED", +"INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", +"LARGE_DEPLOYMENT_WARNING", +"LIST_OVERHEAD_QUOTA_EXCEED", +"MISSING_TYPE_DEPENDENCY", +"NEXT_HOP_ADDRESS_NOT_ASSIGNED", +"NEXT_HOP_CANNOT_IP_FORWARD", +"NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", +"NEXT_HOP_INSTANCE_NOT_FOUND", +"NEXT_HOP_INSTANCE_NOT_ON_NETWORK", +"NEXT_HOP_NOT_RUNNING", +"NOT_CRITICAL_ERROR", +"NO_RESULTS_ON_PAGE", +"PARTIAL_SUCCESS", +"QUOTA_INFO_UNAVAILABLE", +"REQUIRED_TOS_AGREEMENT", +"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", +"RESOURCE_NOT_DELETED", +"SCHEMA_VALIDATION_IGNORED", +"SINGLE_INSTANCE_PROPERTY_TEMPLATE", +"UNDECLARED_PROPERTIES", +"UNREACHABLE" +], +"enumDeprecated": [ +false, +false, +false, +false, +false, +false, +true, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false +], +"enumDescriptions": [ +"Warning about failed cleanup of transient changes made by a failed\noperation.", +"A link to a deprecated resource was created.", +"When deploying and at least one of the resources has a type marked as\ndeprecated", +"The user created a boot disk that is larger than image size.", +"When deploying and at least one of the resources has a type marked as\nexperimental", +"Warning that is present in an external api call", +"Warning that value of a field has been overridden.\nDeprecated unused field.", +"The operation involved use of an injected kernel, which is deprecated.", +"A WEIGHTED_MAGLEV backend service is associated with a health check that is\nnot of type HTTP/HTTPS/HTTP2.", +"When deploying a deployment with a exceedingly large number of resources", +"Resource can't be retrieved due to list overhead quota exceed\nwhich captures the amount of resources filtered out by\nuser-defined list filter.", +"A resource depends on a missing type", +"The route's nextHopIp address is not assigned to an instance on the\nnetwork.", +"The route's next hop instance cannot ip forward.", +"The route's nextHopInstance URL refers to an instance that does not have an\nipv6 interface on the same network as the route.", +"The route's nextHopInstance URL refers to an instance that does not exist.", +"The route's nextHopInstance URL refers to an instance that is not on the\nsame network as the route.", +"The route's next hop instance does not have a status of RUNNING.", +"Error which is not critical. We decided to continue the process despite\nthe mentioned error.", +"No results are present on a particular list page.", +"Success is reported, but some results may be missing due to errors", +"Quota information is not available to client requests (e.g:\nregions.list).", +"The user attempted to use a resource that requires a TOS they have not\naccepted.", +"Warning that a resource is in use.", +"One or more of the resources set to auto-delete could not be deleted\nbecause they were in use.", +"When a resource schema validation is ignored.", +"Instance template used in instance group manager is valid as such, but\nits application does not make a lot of sense, because it allows only\nsingle instance in instance group.", +"When undeclared properties in the schema are present", +"A given scope cannot be reached." +], +"type": "string" +}, +"data": { +"description": "[Output Only] Metadata about this warning in key:\nvalue format. For example:\n\n\"data\": [\n {\n \"key\": \"scope\",\n \"value\": \"zones/us-east1-d\"\n }", +"items": { +"properties": { +"key": { +"description": "[Output Only] A key that provides more detail on the warning being\nreturned. For example, for warnings where there are no results in a list\nrequest for a particular zone, this key might be scope and\nthe key value might be the zone name. Other examples might be a key\nindicating a deprecated resource and a suggested replacement, or a\nwarning about invalid network settings (for example, if an instance\nattempts to perform IP forwarding but is not enabled for IP forwarding).", +"type": "string" +}, +"value": { +"description": "[Output Only] A warning data value corresponding to the key.", +"type": "string" +} +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "[Output Only] A human-readable description of the warning code.", +"type": "string" +} +}, +"type": "object" +} +}, +"type": "object" +}, +"TargetVpnGateway": { +"description": "Represents a Target VPN Gateway resource.\n\nThe target VPN gateway resource represents a Classic Cloud VPN gateway.\nFor more information, read thethe\nCloud VPN Overview.", +"id": "TargetVpnGateway", +"properties": { +"creationTimestamp": { +"description": "Output only. [Output Only] Creation timestamp inRFC3339\ntext format.", +"readOnly": true, +"type": "string" +}, +"description": { +"description": "An optional description of this resource. Provide this property when you\ncreate the resource.", +"type": "string" +}, +"forwardingRules": { +"description": "[Output Only] A list of URLs to the ForwardingRule resources.\nForwardingRules are created usingcompute.forwardingRules.insert and associated with a VPN\ngateway.", +"items": { +"type": "string" +}, +"type": "array" +}, +"id": { +"description": "[Output Only] The unique identifier for the resource. This identifier is\ndefined by the server.", +"format": "uint64", +"type": "string" +}, +"kind": { +"default": "compute#targetVpnGateway", +"description": "Output only. [Output Only] Type of resource. Alwayscompute#targetVpnGateway for target VPN gateways.", +"readOnly": true, +"type": "string" +}, +"labelFingerprint": { +"description": "A fingerprint for the labels being applied to this TargetVpnGateway, which\nis essentially a hash of the labels set used for optimistic locking. The\nfingerprint is initially generated by Compute Engine and changes after\nevery request to modify or update labels. You must always provide an\nup-to-date fingerprint hash in order to update or change labels,\notherwise the request will fail with error412 conditionNotMet.\n\nTo see the latest fingerprint, make a get() request to\nretrieve a TargetVpnGateway.", +"format": "byte", +"type": "string" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Labels for this resource. These can only be added or modified by thesetLabels method. Each label key/value pair must comply withRFC1035.\nLabel values may be empty.", +"type": "object" +}, +"name": { +"annotations": { +"required": [ +"compute.targetVpnGateways.insert" +] +}, +"description": "Name of the resource. Provided by the client when the resource is created.\nThe name must be 1-63 characters long, and comply withRFC1035.\nSpecifically, the name must be 1-63 characters long and match the regular\nexpression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first\ncharacter must be a lowercase letter, and all following characters must\nbe a dash, lowercase letter, or digit, except the last character, which\ncannot be a dash.", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"type": "string" +}, +"network": { +"annotations": { +"required": [ +"compute.targetVpnGateways.insert" +] +}, +"description": "URL of the network to which this VPN gateway is attached. Provided by the\nclient when the VPN gateway is created.", +"type": "string" +}, +"params": { +"$ref": "TargetVpnGatewayParams", +"description": "Input only. [Input Only] Additional params passed with the request, but not persisted\nas part of resource payload." +}, +"region": { +"description": "[Output Only] URL of the region where the target VPN gateway resides.\nYou must specify this field as part of the HTTP request URL. It is\nnot settable as a field in the request body.", +"type": "string" +}, +"selfLink": { +"description": "[Output Only] Server-defined URL for the resource.", +"type": "string" +}, +"status": { +"description": "[Output Only] The status of the VPN gateway,\nwhich can be one of the following: CREATING, READY, FAILED, or DELETING.", +"enum": [ +"CREATING", +"DELETING", +"FAILED", +"READY" +], +"enumDescriptions": [ +"", +"", +"", +"" +], +"type": "string" +}, +"tunnels": { +"description": "[Output Only] A list of URLs to VpnTunnel resources. VpnTunnels are\ncreated using the compute.vpntunnels.insert method and\nassociated with a VPN gateway.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"TargetVpnGatewayAggregatedList": { +"id": "TargetVpnGatewayAggregatedList", +"properties": { +"id": { +"description": "[Output Only] Unique identifier for the resource; defined by the server.", +"type": "string" +}, +"items": { +"additionalProperties": { +"$ref": "TargetVpnGatewaysScopedList", +"description": "[Output Only] Name of the scope containing this set of target VPN gateways." +}, +"description": "A list of TargetVpnGateway resources.", +"type": "object" +}, +"kind": { +"default": "compute#targetVpnGatewayAggregatedList", +"description": "Output only. [Output Only] Type of resource. Alwayscompute#targetVpnGateway for target VPN gateways.", +"readOnly": true, +"type": "string" +}, +"nextPageToken": { +"description": "[Output Only] This token allows you to get the next page of results for\nlist requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for\nthe query parameter pageToken in the next list request.\nSubsequent list requests will have their own nextPageToken to\ncontinue paging through the results.", +"type": "string" +}, +"selfLink": { +"description": "Output only. [Output Only] Server-defined URL for this resource.", +"readOnly": true, +"type": "string" +}, +"unreachables": { +"description": "Output only. [Output Only] Unreachable resources.", +"items": { +"type": "string" +}, +"readOnly": true, +"type": "array" +}, +"warning": { +"description": "[Output Only] Informational warning message.", +"properties": { +"code": { +"description": "[Output Only] A warning code, if applicable. For example, Compute\nEngine returns NO_RESULTS_ON_PAGE if there\nare no results in the response.", +"enum": [ +"CLEANUP_FAILED", +"DEPRECATED_RESOURCE_USED", +"DEPRECATED_TYPE_USED", +"DISK_SIZE_LARGER_THAN_IMAGE_SIZE", +"EXPERIMENTAL_TYPE_USED", +"EXTERNAL_API_WARNING", +"FIELD_VALUE_OVERRIDEN", +"INJECTED_KERNELS_DEPRECATED", +"INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", +"LARGE_DEPLOYMENT_WARNING", +"LIST_OVERHEAD_QUOTA_EXCEED", +"MISSING_TYPE_DEPENDENCY", +"NEXT_HOP_ADDRESS_NOT_ASSIGNED", +"NEXT_HOP_CANNOT_IP_FORWARD", +"NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", +"NEXT_HOP_INSTANCE_NOT_FOUND", +"NEXT_HOP_INSTANCE_NOT_ON_NETWORK", +"NEXT_HOP_NOT_RUNNING", +"NOT_CRITICAL_ERROR", +"NO_RESULTS_ON_PAGE", +"PARTIAL_SUCCESS", +"QUOTA_INFO_UNAVAILABLE", +"REQUIRED_TOS_AGREEMENT", +"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", +"RESOURCE_NOT_DELETED", +"SCHEMA_VALIDATION_IGNORED", +"SINGLE_INSTANCE_PROPERTY_TEMPLATE", +"UNDECLARED_PROPERTIES", +"UNREACHABLE" +], +"enumDeprecated": [ +false, +false, +false, +false, +false, +false, +true, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false +], +"enumDescriptions": [ +"Warning about failed cleanup of transient changes made by a failed\noperation.", +"A link to a deprecated resource was created.", +"When deploying and at least one of the resources has a type marked as\ndeprecated", +"The user created a boot disk that is larger than image size.", +"When deploying and at least one of the resources has a type marked as\nexperimental", +"Warning that is present in an external api call", +"Warning that value of a field has been overridden.\nDeprecated unused field.", +"The operation involved use of an injected kernel, which is deprecated.", +"A WEIGHTED_MAGLEV backend service is associated with a health check that is\nnot of type HTTP/HTTPS/HTTP2.", +"When deploying a deployment with a exceedingly large number of resources", +"Resource can't be retrieved due to list overhead quota exceed\nwhich captures the amount of resources filtered out by\nuser-defined list filter.", +"A resource depends on a missing type", +"The route's nextHopIp address is not assigned to an instance on the\nnetwork.", +"The route's next hop instance cannot ip forward.", +"The route's nextHopInstance URL refers to an instance that does not have an\nipv6 interface on the same network as the route.", +"The route's nextHopInstance URL refers to an instance that does not exist.", +"The route's nextHopInstance URL refers to an instance that is not on the\nsame network as the route.", +"The route's next hop instance does not have a status of RUNNING.", +"Error which is not critical. We decided to continue the process despite\nthe mentioned error.", +"No results are present on a particular list page.", +"Success is reported, but some results may be missing due to errors", +"Quota information is not available to client requests (e.g:\nregions.list).", +"The user attempted to use a resource that requires a TOS they have not\naccepted.", +"Warning that a resource is in use.", +"One or more of the resources set to auto-delete could not be deleted\nbecause they were in use.", +"When a resource schema validation is ignored.", +"Instance template used in instance group manager is valid as such, but\nits application does not make a lot of sense, because it allows only\nsingle instance in instance group.", +"When undeclared properties in the schema are present", +"A given scope cannot be reached." +], +"type": "string" +}, +"data": { +"description": "[Output Only] Metadata about this warning in key:\nvalue format. For example:\n\n\"data\": [\n {\n \"key\": \"scope\",\n \"value\": \"zones/us-east1-d\"\n }", +"items": { +"properties": { +"key": { +"description": "[Output Only] A key that provides more detail on the warning being\nreturned. For example, for warnings where there are no results in a list\nrequest for a particular zone, this key might be scope and\nthe key value might be the zone name. Other examples might be a key\nindicating a deprecated resource and a suggested replacement, or a\nwarning about invalid network settings (for example, if an instance\nattempts to perform IP forwarding but is not enabled for IP forwarding).", +"type": "string" +}, +"value": { +"description": "[Output Only] A warning data value corresponding to the key.", +"type": "string" +} +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "[Output Only] A human-readable description of the warning code.", +"type": "string" +} +}, +"type": "object" +} +}, +"type": "object" +}, +"TargetVpnGatewayList": { +"description": "Contains a list of TargetVpnGateway resources.", +"id": "TargetVpnGatewayList", +"properties": { +"id": { +"description": "[Output Only] Unique identifier for the resource; defined by the server.", +"type": "string" +}, +"items": { +"description": "A list of TargetVpnGateway resources.", +"items": { +"$ref": "TargetVpnGateway" +}, +"type": "array" +}, +"kind": { +"default": "compute#targetVpnGatewayList", +"description": "Output only. [Output Only] Type of resource. Alwayscompute#targetVpnGateway for target VPN gateways.", +"readOnly": true, +"type": "string" +}, +"nextPageToken": { +"description": "[Output Only] This token allows you to get the next page of results for\nlist requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for\nthe query parameter pageToken in the next list request.\nSubsequent list requests will have their own nextPageToken to\ncontinue paging through the results.", +"type": "string" +}, +"selfLink": { +"description": "Output only. [Output Only] Server-defined URL for this resource.", +"readOnly": true, +"type": "string" +}, +"warning": { +"description": "[Output Only] Informational warning message.", +"properties": { +"code": { +"description": "[Output Only] A warning code, if applicable. For example, Compute\nEngine returns NO_RESULTS_ON_PAGE if there\nare no results in the response.", +"enum": [ +"CLEANUP_FAILED", +"DEPRECATED_RESOURCE_USED", +"DEPRECATED_TYPE_USED", +"DISK_SIZE_LARGER_THAN_IMAGE_SIZE", +"EXPERIMENTAL_TYPE_USED", +"EXTERNAL_API_WARNING", +"FIELD_VALUE_OVERRIDEN", +"INJECTED_KERNELS_DEPRECATED", +"INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", +"LARGE_DEPLOYMENT_WARNING", +"LIST_OVERHEAD_QUOTA_EXCEED", +"MISSING_TYPE_DEPENDENCY", +"NEXT_HOP_ADDRESS_NOT_ASSIGNED", +"NEXT_HOP_CANNOT_IP_FORWARD", +"NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", +"NEXT_HOP_INSTANCE_NOT_FOUND", +"NEXT_HOP_INSTANCE_NOT_ON_NETWORK", +"NEXT_HOP_NOT_RUNNING", +"NOT_CRITICAL_ERROR", +"NO_RESULTS_ON_PAGE", +"PARTIAL_SUCCESS", +"QUOTA_INFO_UNAVAILABLE", +"REQUIRED_TOS_AGREEMENT", +"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", +"RESOURCE_NOT_DELETED", +"SCHEMA_VALIDATION_IGNORED", +"SINGLE_INSTANCE_PROPERTY_TEMPLATE", +"UNDECLARED_PROPERTIES", +"UNREACHABLE" +], +"enumDeprecated": [ +false, +false, +false, +false, +false, +false, +true, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false +], +"enumDescriptions": [ +"Warning about failed cleanup of transient changes made by a failed\noperation.", +"A link to a deprecated resource was created.", +"When deploying and at least one of the resources has a type marked as\ndeprecated", +"The user created a boot disk that is larger than image size.", +"When deploying and at least one of the resources has a type marked as\nexperimental", +"Warning that is present in an external api call", +"Warning that value of a field has been overridden.\nDeprecated unused field.", +"The operation involved use of an injected kernel, which is deprecated.", +"A WEIGHTED_MAGLEV backend service is associated with a health check that is\nnot of type HTTP/HTTPS/HTTP2.", +"When deploying a deployment with a exceedingly large number of resources", +"Resource can't be retrieved due to list overhead quota exceed\nwhich captures the amount of resources filtered out by\nuser-defined list filter.", +"A resource depends on a missing type", +"The route's nextHopIp address is not assigned to an instance on the\nnetwork.", +"The route's next hop instance cannot ip forward.", +"The route's nextHopInstance URL refers to an instance that does not have an\nipv6 interface on the same network as the route.", +"The route's nextHopInstance URL refers to an instance that does not exist.", +"The route's nextHopInstance URL refers to an instance that is not on the\nsame network as the route.", +"The route's next hop instance does not have a status of RUNNING.", +"Error which is not critical. We decided to continue the process despite\nthe mentioned error.", +"No results are present on a particular list page.", +"Success is reported, but some results may be missing due to errors", +"Quota information is not available to client requests (e.g:\nregions.list).", +"The user attempted to use a resource that requires a TOS they have not\naccepted.", +"Warning that a resource is in use.", +"One or more of the resources set to auto-delete could not be deleted\nbecause they were in use.", +"When a resource schema validation is ignored.", +"Instance template used in instance group manager is valid as such, but\nits application does not make a lot of sense, because it allows only\nsingle instance in instance group.", +"When undeclared properties in the schema are present", +"A given scope cannot be reached." +], +"type": "string" +}, +"data": { +"description": "[Output Only] Metadata about this warning in key:\nvalue format. For example:\n\n\"data\": [\n {\n \"key\": \"scope\",\n \"value\": \"zones/us-east1-d\"\n }", +"items": { +"properties": { +"key": { +"description": "[Output Only] A key that provides more detail on the warning being\nreturned. For example, for warnings where there are no results in a list\nrequest for a particular zone, this key might be scope and\nthe key value might be the zone name. Other examples might be a key\nindicating a deprecated resource and a suggested replacement, or a\nwarning about invalid network settings (for example, if an instance\nattempts to perform IP forwarding but is not enabled for IP forwarding).", +"type": "string" +}, +"value": { +"description": "[Output Only] A warning data value corresponding to the key.", +"type": "string" +} +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "[Output Only] A human-readable description of the warning code.", +"type": "string" +} +}, +"type": "object" +} +}, +"type": "object" +}, +"TargetVpnGatewayParams": { +"id": "TargetVpnGatewayParams", +"properties": { +"resourceManagerTags": { +"additionalProperties": { +"type": "string" +}, +"description": "Tag keys/values directly bound to this resource.\nTag keys and values have the same definition as resource\nmanager tags. The field is allowed for INSERT\nonly. The keys/values to set on the resource should be specified in\neither ID { : } or Namespaced format\n{ : }.\nFor example the following are valid inputs:\n* {\"tagKeys/333\" : \"tagValues/444\", \"tagKeys/123\" : \"tagValues/456\"}\n* {\"123/environment\" : \"production\", \"345/abc\" : \"xyz\"}\nNote:\n* Invalid combinations of ID & namespaced format is not supported. For\n instance: {\"123/environment\" : \"tagValues/444\"} is invalid.\n* Inconsistent format is not supported. For instance:\n {\"tagKeys/333\" : \"tagValues/444\", \"123/env\" : \"prod\"} is invalid.", +"type": "object" +} +}, +"type": "object" +}, +"TargetVpnGatewaysScopedList": { +"id": "TargetVpnGatewaysScopedList", +"properties": { +"targetVpnGateways": { +"description": "[Output Only] A list of target VPN gateways contained in this scope.", +"items": { +"$ref": "TargetVpnGateway" +}, +"type": "array" +}, +"warning": { +"description": "[Output Only] Informational warning which replaces the list of addresses\nwhen the list is empty.", +"properties": { +"code": { +"description": "[Output Only] A warning code, if applicable. For example, Compute\nEngine returns NO_RESULTS_ON_PAGE if there\nare no results in the response.", +"enum": [ +"CLEANUP_FAILED", +"DEPRECATED_RESOURCE_USED", +"DEPRECATED_TYPE_USED", +"DISK_SIZE_LARGER_THAN_IMAGE_SIZE", +"EXPERIMENTAL_TYPE_USED", +"EXTERNAL_API_WARNING", +"FIELD_VALUE_OVERRIDEN", +"INJECTED_KERNELS_DEPRECATED", +"INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", +"LARGE_DEPLOYMENT_WARNING", +"LIST_OVERHEAD_QUOTA_EXCEED", +"MISSING_TYPE_DEPENDENCY", +"NEXT_HOP_ADDRESS_NOT_ASSIGNED", +"NEXT_HOP_CANNOT_IP_FORWARD", +"NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", +"NEXT_HOP_INSTANCE_NOT_FOUND", +"NEXT_HOP_INSTANCE_NOT_ON_NETWORK", +"NEXT_HOP_NOT_RUNNING", +"NOT_CRITICAL_ERROR", +"NO_RESULTS_ON_PAGE", +"PARTIAL_SUCCESS", +"QUOTA_INFO_UNAVAILABLE", +"REQUIRED_TOS_AGREEMENT", +"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", +"RESOURCE_NOT_DELETED", +"SCHEMA_VALIDATION_IGNORED", +"SINGLE_INSTANCE_PROPERTY_TEMPLATE", +"UNDECLARED_PROPERTIES", +"UNREACHABLE" +], +"enumDeprecated": [ +false, +false, +false, +false, +false, +false, +true, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false +], +"enumDescriptions": [ +"Warning about failed cleanup of transient changes made by a failed\noperation.", +"A link to a deprecated resource was created.", +"When deploying and at least one of the resources has a type marked as\ndeprecated", +"The user created a boot disk that is larger than image size.", +"When deploying and at least one of the resources has a type marked as\nexperimental", +"Warning that is present in an external api call", +"Warning that value of a field has been overridden.\nDeprecated unused field.", +"The operation involved use of an injected kernel, which is deprecated.", +"A WEIGHTED_MAGLEV backend service is associated with a health check that is\nnot of type HTTP/HTTPS/HTTP2.", +"When deploying a deployment with a exceedingly large number of resources", +"Resource can't be retrieved due to list overhead quota exceed\nwhich captures the amount of resources filtered out by\nuser-defined list filter.", +"A resource depends on a missing type", +"The route's nextHopIp address is not assigned to an instance on the\nnetwork.", +"The route's next hop instance cannot ip forward.", +"The route's nextHopInstance URL refers to an instance that does not have an\nipv6 interface on the same network as the route.", +"The route's nextHopInstance URL refers to an instance that does not exist.", +"The route's nextHopInstance URL refers to an instance that is not on the\nsame network as the route.", +"The route's next hop instance does not have a status of RUNNING.", +"Error which is not critical. We decided to continue the process despite\nthe mentioned error.", +"No results are present on a particular list page.", +"Success is reported, but some results may be missing due to errors", +"Quota information is not available to client requests (e.g:\nregions.list).", +"The user attempted to use a resource that requires a TOS they have not\naccepted.", +"Warning that a resource is in use.", +"One or more of the resources set to auto-delete could not be deleted\nbecause they were in use.", +"When a resource schema validation is ignored.", +"Instance template used in instance group manager is valid as such, but\nits application does not make a lot of sense, because it allows only\nsingle instance in instance group.", +"When undeclared properties in the schema are present", +"A given scope cannot be reached." +], +"type": "string" +}, +"data": { +"description": "[Output Only] Metadata about this warning in key:\nvalue format. For example:\n\n\"data\": [\n {\n \"key\": \"scope\",\n \"value\": \"zones/us-east1-d\"\n }", +"items": { +"properties": { +"key": { +"description": "[Output Only] A key that provides more detail on the warning being\nreturned. For example, for warnings where there are no results in a list\nrequest for a particular zone, this key might be scope and\nthe key value might be the zone name. Other examples might be a key\nindicating a deprecated resource and a suggested replacement, or a\nwarning about invalid network settings (for example, if an instance\nattempts to perform IP forwarding but is not enabled for IP forwarding).", +"type": "string" +}, +"value": { +"description": "[Output Only] A warning data value corresponding to the key.", +"type": "string" +} +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "[Output Only] A human-readable description of the warning code.", +"type": "string" +} +}, +"type": "object" +} +}, +"type": "object" +}, +"TestFailure": { +"id": "TestFailure", +"properties": { +"actualOutputUrl": { +"description": "The actual output URL evaluated by a load balancer containing the scheme,\nhost, path and query parameters.", +"type": "string" +}, +"actualRedirectResponseCode": { +"description": "Actual HTTP status code for rule with `urlRedirect`\ncalculated by load balancer", +"format": "int32", +"type": "integer" +}, +"actualService": { +"description": "BackendService or BackendBucket returned by load\nbalancer.", +"type": "string" +}, +"expectedOutputUrl": { +"description": "The expected output URL evaluated by a load balancer containing the scheme,\nhost, path and query parameters.", +"type": "string" +}, +"expectedRedirectResponseCode": { +"description": "Expected HTTP status code for rule with `urlRedirect`\ncalculated by load balancer", +"format": "int32", +"type": "integer" +}, +"expectedService": { +"description": "Expected BackendService or BackendBucket resource\nthe given URL should be mapped to.", +"type": "string" +}, +"headers": { +"description": "HTTP headers of the request.", +"items": { +"$ref": "UrlMapTestHeader" +}, +"type": "array" +}, +"host": { +"description": "Host portion of the URL.", +"type": "string" +}, +"path": { +"description": "Path portion including query parameters in the URL.", +"type": "string" +} +}, +"type": "object" +}, +"TestPermissionsRequest": { +"id": "TestPermissionsRequest", +"properties": { +"permissions": { +"description": "The set of permissions to check for the 'resource'. Permissions with\nwildcards (such as '*' or 'storage.*') are not allowed.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"TestPermissionsResponse": { +"id": "TestPermissionsResponse", +"properties": { +"permissions": { +"description": "A subset of `TestPermissionsRequest.permissions` that the caller is\nallowed.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"Uint128": { +"id": "Uint128", +"properties": { +"high": { +"format": "uint64", +"type": "string" +}, +"low": { +"format": "uint64", +"type": "string" +} +}, +"type": "object" +}, +"UpcomingMaintenance": { +"description": "Upcoming Maintenance notification information.", +"id": "UpcomingMaintenance", +"properties": { +"canReschedule": { +"description": "Indicates if the maintenance can be customer triggered.", +"type": "boolean" +}, +"latestWindowStartTime": { +"description": "The latest time for the planned maintenance window to start.\nThis timestamp value is in RFC3339 text format.", +"type": "string" +}, +"maintenanceOnShutdown": { +"description": "Indicates whether the UpcomingMaintenance will be triggered on VM shutdown.", +"type": "boolean" +}, +"maintenanceReasons": { +"description": "The reasons for the maintenance. Only valid for vms.", +"items": { +"enum": [ +"FAILURE_DISK", +"FAILURE_GPU", +"FAILURE_GPU_MULTIPLE_FAULTY_HOSTS_CUSTOMER_REPORTED", +"FAILURE_GPU_NVLINK_SWITCH_CUSTOMER_REPORTED", +"FAILURE_GPU_TEMPERATURE", +"FAILURE_GPU_XID", +"FAILURE_INFRA", +"FAILURE_INTERFACE", +"FAILURE_MEMORY", +"FAILURE_NETWORK", +"FAILURE_NVLINK", +"FAILURE_REDUNDANT_HARDWARE_FAULT", +"FAILURE_TPU", +"INFRASTRUCTURE_RELOCATION", +"MAINTENANCE_REASON_UNKNOWN", +"PLANNED_NETWORK_UPDATE", +"PLANNED_UPDATE" +], +"enumDescriptions": [ +"Maintenance due to disk errors.", +"Maintenance due to GPU errors.", +"Maintenance due to customer reported multiple faulty hosts via R&R\nSubblock API.", +"Maintenance due to customer reported NVLink switch failure via R&R\nSubblock API.", +"Maintenance due to high GPU temperature.", +"Maintenance due to GPU xid failure.", +"Maintenance due to infrastructure errors.", +"Maintenance due to interface errors.", +"Maintenance due to memory errors.", +"Maintenance due to network errors.", +"Maintenance due to NVLink failure.", +"Maintenance due to redundant hardware fault.", +"Maintenance due to TPU errors.", +"Maintenance due to infrastructure relocation.", +"Unknown maintenance reason. Do not use this value.", +"Maintenance due to planned network update.", +"Maintenance due to planned update to the instance." +], +"type": "string" +}, +"type": "array" +}, +"maintenanceStatus": { +"enum": [ +"ONGOING", +"PENDING", +"UNKNOWN" +], +"enumDescriptions": [ +"There is ongoing maintenance on this VM.", +"There is pending maintenance.", +"Unknown maintenance status. Do not use this value." +], +"type": "string" +}, +"type": { +"description": "Defines the type of maintenance.", +"enum": [ +"MULTIPLE", +"SCHEDULED", +"UNKNOWN_TYPE", +"UNSCHEDULED" +], +"enumDescriptions": [ +"Multiple maintenance types in one window.\nThis is only intended to be used for groups.", +"Scheduled maintenance (e.g. maintenance after uptime guarantee is\ncomplete).", +"No type specified. Do not use this value.", +"Unscheduled maintenance (e.g. emergency maintenance during\nuptime guarantee)." +], +"type": "string" +}, +"windowEndTime": { +"description": "The time by which the maintenance disruption will be completed.\nThis timestamp value is in RFC3339 text format.", +"type": "string" +}, +"windowStartTime": { +"description": "The current start time of the maintenance window.\nThis timestamp value is in RFC3339 text format.", +"type": "string" +} +}, +"type": "object" +}, +"UrlMap": { +"description": "Represents a URL Map resource.\n\nCompute Engine has two URL Map resources:\n\n* [Global](/compute/docs/reference/rest/beta/urlMaps)\n* [Regional](/compute/docs/reference/rest/beta/regionUrlMaps)\n\nA URL map resource is a component of certain types of cloud load balancers\nand Traffic Director:\n\n* urlMaps are used by global external Application Load\nBalancers, classic Application Load Balancers, and cross-region internal\nApplication Load Balancers.\n* regionUrlMaps are used by internal Application Load Balancers,\nregional external Application Load Balancers and regional internal\nApplication Load Balancers.\n\nFor a list of supported URL map features by the load balancer type, see the\nLoad balancing features: Routing and traffic management table.\n\nFor a list of supported URL map features for Traffic Director, see the\nTraffic Director features: Routing and traffic management table.\n\nThis resource defines mappings from hostnames and URL paths to either a\nbackend service or a backend bucket.\n\nTo use the global urlMaps resource, the backend service must\nhave a loadBalancingScheme of either EXTERNAL,EXTERNAL_MANAGED, or INTERNAL_SELF_MANAGED. To use\nthe regionUrlMaps resource, the backend service must have aloadBalancingScheme of INTERNAL_MANAGED. For more\ninformation, read URL\nMap Concepts.", +"id": "UrlMap", +"properties": { +"creationTimestamp": { +"description": "Output only. [Output Only] Creation timestamp inRFC3339\ntext format.", +"readOnly": true, +"type": "string" +}, +"defaultCustomErrorResponsePolicy": { +"$ref": "CustomErrorResponsePolicy", +"description": "defaultCustomErrorResponsePolicy specifies how the Load\nBalancer returns error responses when BackendServiceorBackendBucket responds with an error. \n\nThis policy takes\neffect at the load balancer level and applies only when no policy has been\ndefined for the error code at lower levels like PathMatcher, RouteRule and\nPathRule within this UrlMap. \n\nFor example, consider a UrlMap with the\nfollowing configuration:\n \n \n - defaultCustomErrorResponsePolicy containing policies for\n responding to 5xx and 4xx errors\n - A PathMatcher configured for *.example.com has\n defaultCustomErrorResponsePolicy for 4xx.\n\nIf a request for http://www.example.com/ encounters a404, the policy inpathMatcher.defaultCustomErrorResponsePolicy will be enforced.\nWhen the request for http://www.example.com/ encounters a502, the policy inUrlMap.defaultCustomErrorResponsePolicy will be enforced. When\na request that does not match any host in *.example.com such\nas http://www.myotherexample.com/, encounters a404, UrlMap.defaultCustomErrorResponsePolicy\ntakes effect. \n\nWhen used in conjunction withdefaultRouteAction.retryPolicy, retries take precedence. Only\nonce all retries are exhausted, thedefaultCustomErrorResponsePolicy is applied. While attempting\na retry, if load balancer is successful in reaching the\nservice, the defaultCustomErrorResponsePolicy is ignored and\nthe response from the service is returned to the client.\n\ndefaultCustomErrorResponsePolicy is supported only for\nglobal external Application Load Balancers." +}, +"defaultRouteAction": { +"$ref": "HttpRouteAction", +"description": "defaultRouteAction takes effect when none of the \nhostRules match. The load balancer performs advanced routing\nactions, such as URL rewrites and header transformations, before forwarding\nthe request to the selected backend.\n\n\nOnly one of defaultUrlRedirect, defaultService\nor defaultRouteAction.weightedBackendService can be set.\n\n\n URL maps for classic Application Load Balancers only support\nthe urlRewrite action within defaultRouteAction.\n\n\ndefaultRouteAction has no effect when the URL map is bound\nto a target gRPC proxy that has the validateForProxyless field\nset to true." +}, +"defaultService": { +"description": "The full or partial URL of the defaultService resource to\nwhich traffic is directed if none of the hostRules match.\nIf defaultRouteAction is also specified, advanced\nrouting actions, such as URL rewrites, take effect before sending the\nrequest to the backend.\n\n\nOnly one of defaultUrlRedirect, defaultService\nor defaultRouteAction.weightedBackendService can be set.\n\n\ndefaultService has no effect when the URL map is bound\nto a target gRPC proxy that has the validateForProxyless field\nset to true.", +"type": "string" +}, +"defaultUrlRedirect": { +"$ref": "HttpRedirectAction", +"description": "When none of the specified hostRules match, the request\nis redirected to a URL specified by defaultUrlRedirect.\n\n\nOnly one of defaultUrlRedirect, defaultService\nor defaultRouteAction.weightedBackendService can be set.\n\n\nNot supported when the URL map is bound to a target gRPC proxy." +}, +"description": { +"description": "An optional description of this resource. Provide this property when you\ncreate the resource.", +"type": "string" +}, +"fingerprint": { +"description": "Fingerprint of this resource. A hash of the contents stored in this object.\nThis field is used in optimistic locking. This field is ignored when\ninserting a UrlMap. An up-to-date fingerprint must be provided\nin order to update the UrlMap, otherwise the request will\nfail with error 412 conditionNotMet.\n\nTo see the latest fingerprint, make a get() request to\nretrieve a UrlMap.", +"format": "byte", +"type": "string" +}, +"headerAction": { +"$ref": "HttpHeaderAction", +"description": "Specifies changes to request and response headers that need to take effect\nfor the selected backendService.\n\nThe headerAction specified here take effect afterheaderAction specified under pathMatcher.\n\nheaderAction is not supported for load balancers\nthat have\ntheir loadBalancingScheme set to EXTERNAL.\n\nNot supported when the URL map is bound to a target gRPC proxy that\nhas validateForProxyless field set to true." +}, +"hostRules": { +"description": "The list of host rules to use against the URL.", +"items": { +"$ref": "HostRule" +}, +"type": "array" +}, +"id": { +"description": "[Output Only] The unique identifier for the resource. This identifier is\ndefined by the server.", +"format": "uint64", +"type": "string" +}, +"kind": { +"default": "compute#urlMap", +"description": "Output only. [Output Only] Type of the resource. Always compute#urlMaps for\nurl maps.", +"readOnly": true, +"type": "string" +}, +"name": { +"description": "Name of the resource. Provided by the client when the resource is created.\nThe name must be 1-63 characters long, and comply withRFC1035.\nSpecifically, the name must be 1-63 characters long and match the regular\nexpression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first\ncharacter must be a lowercase letter, and all following characters must\nbe a dash, lowercase letter, or digit, except the last character, which\ncannot be a dash.", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"type": "string" +}, +"pathMatchers": { +"description": "The list of named PathMatchers to use against the URL.", +"items": { +"$ref": "PathMatcher" +}, +"type": "array" +}, +"region": { +"description": "Output only. [Output Only] URL of the region where the regional URL map resides.\nThis field is not applicable to global URL maps.\nYou must specify this field as part of the HTTP request URL. It is\nnot settable as a field in the request body.", +"readOnly": true, +"type": "string" +}, +"selfLink": { +"description": "[Output Only] Server-defined URL for the resource.", +"type": "string" +}, +"tests": { +"description": "The list of expected URL mapping tests. Request to update theUrlMap succeeds only if all test cases pass. You can specify a\nmaximum of 100 tests per UrlMap.\n\nNot supported when the URL map is bound to a target gRPC proxy that\nhas validateForProxyless field set to true.", +"items": { +"$ref": "UrlMapTest" +}, +"type": "array" +} +}, +"type": "object" +}, +"UrlMapList": { +"description": "Contains a list of UrlMap resources.", +"id": "UrlMapList", +"properties": { +"id": { +"description": "[Output Only] Unique identifier for the resource; defined by the server.", +"type": "string" +}, +"items": { +"description": "A list of UrlMap resources.", +"items": { +"$ref": "UrlMap" +}, +"type": "array" +}, +"kind": { +"default": "compute#urlMapList", +"description": "Output only. Type of resource.", +"readOnly": true, +"type": "string" +}, +"nextPageToken": { +"description": "[Output Only] This token allows you to get the next page of results for\nlist requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for\nthe query parameter pageToken in the next list request.\nSubsequent list requests will have their own nextPageToken to\ncontinue paging through the results.", +"type": "string" +}, +"selfLink": { +"description": "Output only. [Output Only] Server-defined URL for this resource.", +"readOnly": true, +"type": "string" +}, +"warning": { +"description": "[Output Only] Informational warning message.", +"properties": { +"code": { +"description": "[Output Only] A warning code, if applicable. For example, Compute\nEngine returns NO_RESULTS_ON_PAGE if there\nare no results in the response.", +"enum": [ +"CLEANUP_FAILED", +"DEPRECATED_RESOURCE_USED", +"DEPRECATED_TYPE_USED", +"DISK_SIZE_LARGER_THAN_IMAGE_SIZE", +"EXPERIMENTAL_TYPE_USED", +"EXTERNAL_API_WARNING", +"FIELD_VALUE_OVERRIDEN", +"INJECTED_KERNELS_DEPRECATED", +"INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", +"LARGE_DEPLOYMENT_WARNING", +"LIST_OVERHEAD_QUOTA_EXCEED", +"MISSING_TYPE_DEPENDENCY", +"NEXT_HOP_ADDRESS_NOT_ASSIGNED", +"NEXT_HOP_CANNOT_IP_FORWARD", +"NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", +"NEXT_HOP_INSTANCE_NOT_FOUND", +"NEXT_HOP_INSTANCE_NOT_ON_NETWORK", +"NEXT_HOP_NOT_RUNNING", +"NOT_CRITICAL_ERROR", +"NO_RESULTS_ON_PAGE", +"PARTIAL_SUCCESS", +"QUOTA_INFO_UNAVAILABLE", +"REQUIRED_TOS_AGREEMENT", +"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", +"RESOURCE_NOT_DELETED", +"SCHEMA_VALIDATION_IGNORED", +"SINGLE_INSTANCE_PROPERTY_TEMPLATE", +"UNDECLARED_PROPERTIES", +"UNREACHABLE" +], +"enumDeprecated": [ +false, +false, +false, +false, +false, +false, +true, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false +], +"enumDescriptions": [ +"Warning about failed cleanup of transient changes made by a failed\noperation.", +"A link to a deprecated resource was created.", +"When deploying and at least one of the resources has a type marked as\ndeprecated", +"The user created a boot disk that is larger than image size.", +"When deploying and at least one of the resources has a type marked as\nexperimental", +"Warning that is present in an external api call", +"Warning that value of a field has been overridden.\nDeprecated unused field.", +"The operation involved use of an injected kernel, which is deprecated.", +"A WEIGHTED_MAGLEV backend service is associated with a health check that is\nnot of type HTTP/HTTPS/HTTP2.", +"When deploying a deployment with a exceedingly large number of resources", +"Resource can't be retrieved due to list overhead quota exceed\nwhich captures the amount of resources filtered out by\nuser-defined list filter.", +"A resource depends on a missing type", +"The route's nextHopIp address is not assigned to an instance on the\nnetwork.", +"The route's next hop instance cannot ip forward.", +"The route's nextHopInstance URL refers to an instance that does not have an\nipv6 interface on the same network as the route.", +"The route's nextHopInstance URL refers to an instance that does not exist.", +"The route's nextHopInstance URL refers to an instance that is not on the\nsame network as the route.", +"The route's next hop instance does not have a status of RUNNING.", +"Error which is not critical. We decided to continue the process despite\nthe mentioned error.", +"No results are present on a particular list page.", +"Success is reported, but some results may be missing due to errors", +"Quota information is not available to client requests (e.g:\nregions.list).", +"The user attempted to use a resource that requires a TOS they have not\naccepted.", +"Warning that a resource is in use.", +"One or more of the resources set to auto-delete could not be deleted\nbecause they were in use.", +"When a resource schema validation is ignored.", +"Instance template used in instance group manager is valid as such, but\nits application does not make a lot of sense, because it allows only\nsingle instance in instance group.", +"When undeclared properties in the schema are present", +"A given scope cannot be reached." +], +"type": "string" +}, +"data": { +"description": "[Output Only] Metadata about this warning in key:\nvalue format. For example:\n\n\"data\": [\n {\n \"key\": \"scope\",\n \"value\": \"zones/us-east1-d\"\n }", +"items": { +"properties": { +"key": { +"description": "[Output Only] A key that provides more detail on the warning being\nreturned. For example, for warnings where there are no results in a list\nrequest for a particular zone, this key might be scope and\nthe key value might be the zone name. Other examples might be a key\nindicating a deprecated resource and a suggested replacement, or a\nwarning about invalid network settings (for example, if an instance\nattempts to perform IP forwarding but is not enabled for IP forwarding).", +"type": "string" +}, +"value": { +"description": "[Output Only] A warning data value corresponding to the key.", +"type": "string" +} +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "[Output Only] A human-readable description of the warning code.", +"type": "string" +} +}, +"type": "object" +} +}, +"type": "object" +}, +"UrlMapReference": { +"id": "UrlMapReference", +"properties": { +"urlMap": { +"type": "string" +} +}, +"type": "object" +}, +"UrlMapTest": { +"description": "Message for the expected URL mappings.", +"id": "UrlMapTest", +"properties": { +"description": { +"description": "Description of this test case.", +"type": "string" +}, +"expectedOutputUrl": { +"description": "The expected output URL evaluated by the load balancer\ncontaining the scheme, host, path and query parameters.\n\nFor rules that forward requests to backends, the test passes only whenexpectedOutputUrl matches the request forwarded by\nthe load balancer to backends. For rules with urlRewrite,\nthe test verifies that the forwarded request matcheshostRewrite and pathPrefixRewrite in theurlRewrite action. When service is specified,expectedOutputUrl`s scheme is ignored.\n\nFor rules with urlRedirect, the test passes only ifexpectedOutputUrl matches the URL in the load balancer's\nredirect response. If urlRedirect specifieshttps_redirect, the test passes only if the scheme inexpectedOutputUrl is also set to HTTPS.\nIf urlRedirect specifies strip_query, the test\npasses only if expectedOutputUrl does not contain any query\nparameters. \n\nexpectedOutputUrl is optional whenservice is specified.", +"type": "string" +}, +"expectedRedirectResponseCode": { +"description": "For rules with urlRedirect, the test passes only ifexpectedRedirectResponseCode matches the HTTP status code in\nload balancer's redirect response.\n\nexpectedRedirectResponseCode cannot be set whenservice is set.", +"format": "int32", +"type": "integer" +}, +"headers": { +"description": "HTTP headers for this request. If headers contains\na host header, then host must also match the header value.", +"items": { +"$ref": "UrlMapTestHeader" +}, +"type": "array" +}, +"host": { +"description": "Host portion of the URL. If headers contains a host header,\nthen host must also match the header value.", +"type": "string" +}, +"path": { +"description": "Path portion of the URL.", +"type": "string" +}, +"service": { +"description": "Expected BackendService or BackendBucket resource\nthe given URL should be mapped to. \n\nThe service field cannot\nbe set if expectedRedirectResponseCode is set.", +"type": "string" +} +}, +"type": "object" +}, +"UrlMapTestHeader": { +"description": "HTTP headers used in UrlMapTests.", +"id": "UrlMapTestHeader", +"properties": { +"name": { +"description": "Header name.", +"type": "string" +}, +"value": { +"description": "Header value.", +"type": "string" +} +}, +"type": "object" +}, +"UrlMapValidationResult": { +"description": "Message representing the validation result for a UrlMap.", +"id": "UrlMapValidationResult", +"properties": { +"loadErrors": { +"items": { +"type": "string" +}, +"type": "array" +}, +"loadSucceeded": { +"description": "Whether the given UrlMap can be successfully loaded.\nIf false, 'loadErrors' indicates the reasons.", +"type": "boolean" +}, +"testFailures": { +"items": { +"$ref": "TestFailure" +}, +"type": "array" +}, +"testPassed": { +"description": "If successfully loaded, this field indicates whether the test passed.\nIf false, 'testFailures's indicate the reason of failure.", +"type": "boolean" +} +}, +"type": "object" +}, +"UrlMapsAggregatedList": { +"id": "UrlMapsAggregatedList", +"properties": { +"id": { +"description": "[Output Only] Unique identifier for the resource; defined by the server.", +"type": "string" +}, +"items": { +"additionalProperties": { +"$ref": "UrlMapsScopedList", +"description": "Name of the scope containing this set of UrlMaps." +}, +"description": "A list of UrlMapsScopedList resources.", +"type": "object" +}, +"kind": { +"default": "compute#urlMapsAggregatedList", +"description": "Output only. Type of resource.", +"readOnly": true, +"type": "string" +}, +"nextPageToken": { +"description": "[Output Only] This token allows you to get the next page of results for\nlist requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for\nthe query parameter pageToken in the next list request.\nSubsequent list requests will have their own nextPageToken to\ncontinue paging through the results.", +"type": "string" +}, +"selfLink": { +"description": "Output only. [Output Only] Server-defined URL for this resource.", +"readOnly": true, +"type": "string" +}, +"unreachables": { +"description": "Output only. [Output Only] Unreachable resources.", +"items": { +"type": "string" +}, +"readOnly": true, +"type": "array" +}, +"warning": { +"description": "[Output Only] Informational warning message.", +"properties": { +"code": { +"description": "[Output Only] A warning code, if applicable. For example, Compute\nEngine returns NO_RESULTS_ON_PAGE if there\nare no results in the response.", +"enum": [ +"CLEANUP_FAILED", +"DEPRECATED_RESOURCE_USED", +"DEPRECATED_TYPE_USED", +"DISK_SIZE_LARGER_THAN_IMAGE_SIZE", +"EXPERIMENTAL_TYPE_USED", +"EXTERNAL_API_WARNING", +"FIELD_VALUE_OVERRIDEN", +"INJECTED_KERNELS_DEPRECATED", +"INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", +"LARGE_DEPLOYMENT_WARNING", +"LIST_OVERHEAD_QUOTA_EXCEED", +"MISSING_TYPE_DEPENDENCY", +"NEXT_HOP_ADDRESS_NOT_ASSIGNED", +"NEXT_HOP_CANNOT_IP_FORWARD", +"NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", +"NEXT_HOP_INSTANCE_NOT_FOUND", +"NEXT_HOP_INSTANCE_NOT_ON_NETWORK", +"NEXT_HOP_NOT_RUNNING", +"NOT_CRITICAL_ERROR", +"NO_RESULTS_ON_PAGE", +"PARTIAL_SUCCESS", +"QUOTA_INFO_UNAVAILABLE", +"REQUIRED_TOS_AGREEMENT", +"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", +"RESOURCE_NOT_DELETED", +"SCHEMA_VALIDATION_IGNORED", +"SINGLE_INSTANCE_PROPERTY_TEMPLATE", +"UNDECLARED_PROPERTIES", +"UNREACHABLE" +], +"enumDeprecated": [ +false, +false, +false, +false, +false, +false, +true, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false +], +"enumDescriptions": [ +"Warning about failed cleanup of transient changes made by a failed\noperation.", +"A link to a deprecated resource was created.", +"When deploying and at least one of the resources has a type marked as\ndeprecated", +"The user created a boot disk that is larger than image size.", +"When deploying and at least one of the resources has a type marked as\nexperimental", +"Warning that is present in an external api call", +"Warning that value of a field has been overridden.\nDeprecated unused field.", +"The operation involved use of an injected kernel, which is deprecated.", +"A WEIGHTED_MAGLEV backend service is associated with a health check that is\nnot of type HTTP/HTTPS/HTTP2.", +"When deploying a deployment with a exceedingly large number of resources", +"Resource can't be retrieved due to list overhead quota exceed\nwhich captures the amount of resources filtered out by\nuser-defined list filter.", +"A resource depends on a missing type", +"The route's nextHopIp address is not assigned to an instance on the\nnetwork.", +"The route's next hop instance cannot ip forward.", +"The route's nextHopInstance URL refers to an instance that does not have an\nipv6 interface on the same network as the route.", +"The route's nextHopInstance URL refers to an instance that does not exist.", +"The route's nextHopInstance URL refers to an instance that is not on the\nsame network as the route.", +"The route's next hop instance does not have a status of RUNNING.", +"Error which is not critical. We decided to continue the process despite\nthe mentioned error.", +"No results are present on a particular list page.", +"Success is reported, but some results may be missing due to errors", +"Quota information is not available to client requests (e.g:\nregions.list).", +"The user attempted to use a resource that requires a TOS they have not\naccepted.", +"Warning that a resource is in use.", +"One or more of the resources set to auto-delete could not be deleted\nbecause they were in use.", +"When a resource schema validation is ignored.", +"Instance template used in instance group manager is valid as such, but\nits application does not make a lot of sense, because it allows only\nsingle instance in instance group.", +"When undeclared properties in the schema are present", +"A given scope cannot be reached." +], +"type": "string" +}, +"data": { +"description": "[Output Only] Metadata about this warning in key:\nvalue format. For example:\n\n\"data\": [\n {\n \"key\": \"scope\",\n \"value\": \"zones/us-east1-d\"\n }", +"items": { +"properties": { +"key": { +"description": "[Output Only] A key that provides more detail on the warning being\nreturned. For example, for warnings where there are no results in a list\nrequest for a particular zone, this key might be scope and\nthe key value might be the zone name. Other examples might be a key\nindicating a deprecated resource and a suggested replacement, or a\nwarning about invalid network settings (for example, if an instance\nattempts to perform IP forwarding but is not enabled for IP forwarding).", +"type": "string" +}, +"value": { +"description": "[Output Only] A warning data value corresponding to the key.", +"type": "string" +} +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "[Output Only] A human-readable description of the warning code.", +"type": "string" +} +}, +"type": "object" +} +}, +"type": "object" +}, +"UrlMapsScopedList": { +"id": "UrlMapsScopedList", +"properties": { +"urlMaps": { +"description": "A list of UrlMaps contained in this scope.", +"items": { +"$ref": "UrlMap" +}, +"type": "array" +}, +"warning": { +"description": "Informational warning which replaces the list of\nbackend services when the list is empty.", +"properties": { +"code": { +"description": "[Output Only] A warning code, if applicable. For example, Compute\nEngine returns NO_RESULTS_ON_PAGE if there\nare no results in the response.", +"enum": [ +"CLEANUP_FAILED", +"DEPRECATED_RESOURCE_USED", +"DEPRECATED_TYPE_USED", +"DISK_SIZE_LARGER_THAN_IMAGE_SIZE", +"EXPERIMENTAL_TYPE_USED", +"EXTERNAL_API_WARNING", +"FIELD_VALUE_OVERRIDEN", +"INJECTED_KERNELS_DEPRECATED", +"INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", +"LARGE_DEPLOYMENT_WARNING", +"LIST_OVERHEAD_QUOTA_EXCEED", +"MISSING_TYPE_DEPENDENCY", +"NEXT_HOP_ADDRESS_NOT_ASSIGNED", +"NEXT_HOP_CANNOT_IP_FORWARD", +"NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", +"NEXT_HOP_INSTANCE_NOT_FOUND", +"NEXT_HOP_INSTANCE_NOT_ON_NETWORK", +"NEXT_HOP_NOT_RUNNING", +"NOT_CRITICAL_ERROR", +"NO_RESULTS_ON_PAGE", +"PARTIAL_SUCCESS", +"QUOTA_INFO_UNAVAILABLE", +"REQUIRED_TOS_AGREEMENT", +"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", +"RESOURCE_NOT_DELETED", +"SCHEMA_VALIDATION_IGNORED", +"SINGLE_INSTANCE_PROPERTY_TEMPLATE", +"UNDECLARED_PROPERTIES", +"UNREACHABLE" +], +"enumDeprecated": [ +false, +false, +false, +false, +false, +false, +true, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false +], +"enumDescriptions": [ +"Warning about failed cleanup of transient changes made by a failed\noperation.", +"A link to a deprecated resource was created.", +"When deploying and at least one of the resources has a type marked as\ndeprecated", +"The user created a boot disk that is larger than image size.", +"When deploying and at least one of the resources has a type marked as\nexperimental", +"Warning that is present in an external api call", +"Warning that value of a field has been overridden.\nDeprecated unused field.", +"The operation involved use of an injected kernel, which is deprecated.", +"A WEIGHTED_MAGLEV backend service is associated with a health check that is\nnot of type HTTP/HTTPS/HTTP2.", +"When deploying a deployment with a exceedingly large number of resources", +"Resource can't be retrieved due to list overhead quota exceed\nwhich captures the amount of resources filtered out by\nuser-defined list filter.", +"A resource depends on a missing type", +"The route's nextHopIp address is not assigned to an instance on the\nnetwork.", +"The route's next hop instance cannot ip forward.", +"The route's nextHopInstance URL refers to an instance that does not have an\nipv6 interface on the same network as the route.", +"The route's nextHopInstance URL refers to an instance that does not exist.", +"The route's nextHopInstance URL refers to an instance that is not on the\nsame network as the route.", +"The route's next hop instance does not have a status of RUNNING.", +"Error which is not critical. We decided to continue the process despite\nthe mentioned error.", +"No results are present on a particular list page.", +"Success is reported, but some results may be missing due to errors", +"Quota information is not available to client requests (e.g:\nregions.list).", +"The user attempted to use a resource that requires a TOS they have not\naccepted.", +"Warning that a resource is in use.", +"One or more of the resources set to auto-delete could not be deleted\nbecause they were in use.", +"When a resource schema validation is ignored.", +"Instance template used in instance group manager is valid as such, but\nits application does not make a lot of sense, because it allows only\nsingle instance in instance group.", +"When undeclared properties in the schema are present", +"A given scope cannot be reached." +], +"type": "string" +}, +"data": { +"description": "[Output Only] Metadata about this warning in key:\nvalue format. For example:\n\n\"data\": [\n {\n \"key\": \"scope\",\n \"value\": \"zones/us-east1-d\"\n }", +"items": { +"properties": { +"key": { +"description": "[Output Only] A key that provides more detail on the warning being\nreturned. For example, for warnings where there are no results in a list\nrequest for a particular zone, this key might be scope and\nthe key value might be the zone name. Other examples might be a key\nindicating a deprecated resource and a suggested replacement, or a\nwarning about invalid network settings (for example, if an instance\nattempts to perform IP forwarding but is not enabled for IP forwarding).", +"type": "string" +}, +"value": { +"description": "[Output Only] A warning data value corresponding to the key.", +"type": "string" +} +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "[Output Only] A human-readable description of the warning code.", +"type": "string" +} +}, +"type": "object" +} +}, +"type": "object" +}, +"UrlMapsValidateRequest": { +"id": "UrlMapsValidateRequest", +"properties": { +"loadBalancingSchemes": { +"description": "Specifies the load balancer type(s) this validation request is for. UseEXTERNAL_MANAGED for global external Application Load\nBalancers and regional external Application Load Balancers.\nUse EXTERNAL for classic Application Load Balancers.\n\nUse INTERNAL_MANAGED for internal Application Load Balancers. For more\ninformation, refer to Choosing\na load balancer.\n\nIf unspecified, the load balancing scheme will be inferred from the backend\nservice resources this URL map references. If that can not be inferred (for\nexample, this URL map only references backend buckets, or this Url map is\nfor rewrites and redirects only and doesn't reference any backends),EXTERNAL will be used as the default type.\n\nIf specified, the scheme(s) must not conflict with the load balancing\nscheme of the backend service resources this Url map references.", +"items": { +"enum": [ +"EXTERNAL", +"EXTERNAL_MANAGED", +"LOAD_BALANCING_SCHEME_UNSPECIFIED" +], +"enumDescriptions": [ +"Signifies that this will be used for classic Application Load Balancers.", +"Signifies that this will be used for Envoy-based global external\nApplication Load Balancers.", +"If unspecified, the validation will try to infer the scheme from the\nbackend service resources this Url map references. If the inference is not\npossible, EXTERNAL will be used as the default type." +], +"type": "string" +}, +"type": "array" +}, +"resource": { +"$ref": "UrlMap", +"description": "Content of the UrlMap to be validated." +} +}, +"type": "object" +}, +"UrlMapsValidateResponse": { +"id": "UrlMapsValidateResponse", +"properties": { +"result": { +"$ref": "UrlMapValidationResult" +} +}, +"type": "object" +}, +"UrlRewrite": { +"description": "The spec for modifying the path before sending the request to the matched\nbackend service.", +"id": "UrlRewrite", +"properties": { +"hostRewrite": { +"description": "Before forwarding the request to the selected service, the request's\nhost header is replaced with contents of hostRewrite.\n\nThe value must be from 1 to 255 characters.", +"type": "string" +}, +"pathPrefixRewrite": { +"description": "Before forwarding the request to the selected backend service, the\nmatching portion of the request's path is replaced bypathPrefixRewrite.\n\nThe value must be from 1 to 1024 characters.", +"type": "string" +}, +"pathTemplateRewrite": { +"description": "If specified, the pattern rewrites the URL path (based on the :path\nheader) using the HTTP template syntax. \n\nA corresponding\npath_template_match must be specified. Any template variables must exist in\nthe path_template_match field. \n \n \n - -At least one variable must be specified in the path_template_match\n field \n - You can omit variables from the rewritten URL\n - The * and ** operators cannot be matched\n unless they have a corresponding variable name - e.g.\n {format=*} or {var=**}.\n\nFor example, a path_template_match of /static/{format=**}\ncould be rewritten as /static/content/{format} to prefix/content to the URL. Variables can also be re-ordered in a\nrewrite, so that /{country}/{format}/{suffix=**} can be\nrewritten as /content/{format}/{country}/{suffix}. \n\nAt least\none non-empty routeRules[].matchRules[].path_template_match is\nrequired. \n\nOnly one of path_prefix_rewrite orpath_template_rewrite may be specified.", +"type": "string" +} +}, +"type": "object" +}, +"UsableSubnetwork": { +"description": "Subnetwork which the current user has compute.subnetworks.use permission on.", +"id": "UsableSubnetwork", +"properties": { +"externalIpv6Prefix": { +"description": "Output only. [Output Only] The external IPv6 address range that is assigned to this\nsubnetwork.", +"readOnly": true, +"type": "string" +}, +"internalIpv6Prefix": { +"description": "Output only. [Output Only] The internal IPv6 address range that is assigned to this\nsubnetwork.", +"readOnly": true, +"type": "string" +}, +"ipCidrRange": { +"description": "The range of internal addresses that are owned by this subnetwork.", +"type": "string" +}, +"ipv6AccessType": { +"description": "The access type of IPv6 address this subnet holds. It's immutable and can\nonly be specified during creation or the first time the subnet is updated\ninto IPV4_IPV6 dual stack.", +"enum": [ +"EXTERNAL", +"INTERNAL" +], +"enumDescriptions": [ +"VMs on this subnet will be assigned IPv6 addresses that are accessible\nvia the Internet, as well as the VPC network.", +"VMs on this subnet will be assigned IPv6 addresses that are only\naccessible over the VPC network." +], +"type": "string" +}, +"network": { +"description": "Network URL.", +"type": "string" +}, +"purpose": { +"enum": [ +"GLOBAL_MANAGED_PROXY", +"INTERNAL_HTTPS_LOAD_BALANCER", +"PEER_MIGRATION", +"PRIVATE", +"PRIVATE_NAT", +"PRIVATE_RFC_1918", +"PRIVATE_SERVICE_CONNECT", +"REGIONAL_MANAGED_PROXY" +], +"enumDescriptions": [ +"Subnet reserved for Global Envoy-based Load Balancing.", +"Subnet reserved for Internal HTTP(S) Load Balancing. This is a legacy\npurpose, please use REGIONAL_MANAGED_PROXY instead.", +"Subnetwork will be used for Migration from one peered VPC to another.\n(a transient state of subnetwork\nwhile migrating resources from one project to another).", +"Regular user created or automatically created subnet.", +"Subnetwork used as source range for Private NAT Gateways.", +"Regular user created or automatically created subnet.", +"Subnetworks created for Private Service Connect in the producer network.", +"Subnetwork used for Regional Envoy-based Load Balancing." +], +"type": "string" +}, +"role": { +"description": "The role of subnetwork. Currently, this field is only used when\npurpose is set to GLOBAL_MANAGED_PROXY orREGIONAL_MANAGED_PROXY. The value can be set toACTIVE or BACKUP. An ACTIVE\nsubnetwork is one that is currently being used for Envoy-based load\nbalancers in a region. A BACKUP subnetwork is one that is\nready to be promoted to ACTIVE or is currently draining.\nThis field can be updated with a patch request.", +"enum": [ +"ACTIVE", +"BACKUP" +], +"enumDescriptions": [ +"The ACTIVE subnet that is currently used.", +"The BACKUP subnet that could be promoted to ACTIVE." +], +"type": "string" +}, +"secondaryIpRanges": { +"description": "Secondary IP ranges.", +"items": { +"$ref": "UsableSubnetworkSecondaryRange" +}, +"type": "array" +}, +"stackType": { +"description": "The stack type for the subnet. If set to IPV4_ONLY, new VMs\nin the subnet are assigned IPv4 addresses only. If set toIPV4_IPV6, new VMs in the subnet can be assigned both IPv4 and\nIPv6 addresses. If not specified, IPV4_ONLY is used.\n\nThis field can be both set at resource creation time and updated usingpatch.", +"enum": [ +"IPV4_IPV6", +"IPV4_ONLY", +"IPV6_ONLY" +], +"enumDescriptions": [ +"New VMs in this subnet can have both IPv4 and IPv6 addresses.", +"New VMs in this subnet will only be assigned IPv4 addresses.", +"New VMs in this subnet will only be assigned IPv6 addresses." +], +"type": "string" +}, +"subnetwork": { +"description": "Subnetwork URL.", +"type": "string" +} +}, +"type": "object" +}, +"UsableSubnetworkSecondaryRange": { +"description": "Secondary IP range of a usable subnetwork.", +"id": "UsableSubnetworkSecondaryRange", +"properties": { +"ipCidrRange": { +"description": "The range of IP addresses belonging to this subnetwork secondary range.\nCan be Ipv4 or Ipv6 range.", +"type": "string" +}, +"rangeName": { +"description": "The name associated with this subnetwork secondary range, used when adding\nan alias IP range to a VM instance.\nThe name must be 1-63 characters long, and comply withRFC1035.\nThe name must be unique within the subnetwork.", +"type": "string" +} +}, +"type": "object" +}, +"UsableSubnetworksAggregatedList": { +"id": "UsableSubnetworksAggregatedList", +"properties": { +"id": { +"description": "[Output Only] The unique identifier for the resource. This identifier is\ndefined by the server.", +"type": "string" +}, +"items": { +"description": "[Output] A list of usable subnetwork URLs.", +"items": { +"$ref": "UsableSubnetwork" +}, +"type": "array" +}, +"kind": { +"default": "compute#usableSubnetworksAggregatedList", +"description": "Output only. [Output Only] Type of resource. Alwayscompute#usableSubnetworksAggregatedList for aggregated lists\nof usable subnetworks.", +"readOnly": true, +"type": "string" +}, +"nextPageToken": { +"description": "[Output Only] This token allows you to get the next page of results for\nlist requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for\nthe query parameter pageToken in the next list request.\nSubsequent list requests will have their own nextPageToken to\ncontinue paging through the results.\nIn special cases listUsable may return 0 subnetworks andnextPageToken which still should be used to get the\nnext page of results.", +"type": "string" +}, +"scopedWarnings": { +"description": "Output only. [Output Only] Informational warning messages for failures encountered from\nscopes.", +"items": { +"$ref": "SubnetworksScopedWarning" +}, +"readOnly": true, +"type": "array" +}, +"selfLink": { +"description": "Output only. [Output Only] Server-defined URL for this resource.", +"readOnly": true, +"type": "string" +}, +"unreachables": { +"description": "Output only. [Output Only] Unreachable resources.", +"items": { +"type": "string" +}, +"readOnly": true, +"type": "array" +}, +"warning": { +"description": "[Output Only] Informational warning message.", +"properties": { +"code": { +"description": "[Output Only] A warning code, if applicable. For example, Compute\nEngine returns NO_RESULTS_ON_PAGE if there\nare no results in the response.", +"enum": [ +"CLEANUP_FAILED", +"DEPRECATED_RESOURCE_USED", +"DEPRECATED_TYPE_USED", +"DISK_SIZE_LARGER_THAN_IMAGE_SIZE", +"EXPERIMENTAL_TYPE_USED", +"EXTERNAL_API_WARNING", +"FIELD_VALUE_OVERRIDEN", +"INJECTED_KERNELS_DEPRECATED", +"INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", +"LARGE_DEPLOYMENT_WARNING", +"LIST_OVERHEAD_QUOTA_EXCEED", +"MISSING_TYPE_DEPENDENCY", +"NEXT_HOP_ADDRESS_NOT_ASSIGNED", +"NEXT_HOP_CANNOT_IP_FORWARD", +"NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", +"NEXT_HOP_INSTANCE_NOT_FOUND", +"NEXT_HOP_INSTANCE_NOT_ON_NETWORK", +"NEXT_HOP_NOT_RUNNING", +"NOT_CRITICAL_ERROR", +"NO_RESULTS_ON_PAGE", +"PARTIAL_SUCCESS", +"QUOTA_INFO_UNAVAILABLE", +"REQUIRED_TOS_AGREEMENT", +"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", +"RESOURCE_NOT_DELETED", +"SCHEMA_VALIDATION_IGNORED", +"SINGLE_INSTANCE_PROPERTY_TEMPLATE", +"UNDECLARED_PROPERTIES", +"UNREACHABLE" +], +"enumDeprecated": [ +false, +false, +false, +false, +false, +false, +true, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false +], +"enumDescriptions": [ +"Warning about failed cleanup of transient changes made by a failed\noperation.", +"A link to a deprecated resource was created.", +"When deploying and at least one of the resources has a type marked as\ndeprecated", +"The user created a boot disk that is larger than image size.", +"When deploying and at least one of the resources has a type marked as\nexperimental", +"Warning that is present in an external api call", +"Warning that value of a field has been overridden.\nDeprecated unused field.", +"The operation involved use of an injected kernel, which is deprecated.", +"A WEIGHTED_MAGLEV backend service is associated with a health check that is\nnot of type HTTP/HTTPS/HTTP2.", +"When deploying a deployment with a exceedingly large number of resources", +"Resource can't be retrieved due to list overhead quota exceed\nwhich captures the amount of resources filtered out by\nuser-defined list filter.", +"A resource depends on a missing type", +"The route's nextHopIp address is not assigned to an instance on the\nnetwork.", +"The route's next hop instance cannot ip forward.", +"The route's nextHopInstance URL refers to an instance that does not have an\nipv6 interface on the same network as the route.", +"The route's nextHopInstance URL refers to an instance that does not exist.", +"The route's nextHopInstance URL refers to an instance that is not on the\nsame network as the route.", +"The route's next hop instance does not have a status of RUNNING.", +"Error which is not critical. We decided to continue the process despite\nthe mentioned error.", +"No results are present on a particular list page.", +"Success is reported, but some results may be missing due to errors", +"Quota information is not available to client requests (e.g:\nregions.list).", +"The user attempted to use a resource that requires a TOS they have not\naccepted.", +"Warning that a resource is in use.", +"One or more of the resources set to auto-delete could not be deleted\nbecause they were in use.", +"When a resource schema validation is ignored.", +"Instance template used in instance group manager is valid as such, but\nits application does not make a lot of sense, because it allows only\nsingle instance in instance group.", +"When undeclared properties in the schema are present", +"A given scope cannot be reached." +], +"type": "string" +}, +"data": { +"description": "[Output Only] Metadata about this warning in key:\nvalue format. For example:\n\n\"data\": [\n {\n \"key\": \"scope\",\n \"value\": \"zones/us-east1-d\"\n }", +"items": { +"properties": { +"key": { +"description": "[Output Only] A key that provides more detail on the warning being\nreturned. For example, for warnings where there are no results in a list\nrequest for a particular zone, this key might be scope and\nthe key value might be the zone name. Other examples might be a key\nindicating a deprecated resource and a suggested replacement, or a\nwarning about invalid network settings (for example, if an instance\nattempts to perform IP forwarding but is not enabled for IP forwarding).", +"type": "string" +}, +"value": { +"description": "[Output Only] A warning data value corresponding to the key.", +"type": "string" +} +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "[Output Only] A human-readable description of the warning code.", +"type": "string" +} +}, +"type": "object" +} +}, +"type": "object" +}, +"UsageExportLocation": { +"description": "The location in Cloud Storage and naming method of the daily usage\nreport. Contains bucket_name and report_name prefix.", +"id": "UsageExportLocation", +"properties": { +"bucketName": { +"description": "The name of an existing bucket in Cloud Storage where the usage report\nobject is stored. The Google Service Account is granted write access to\nthis bucket. This can either be the bucket name by itself, such asexample-bucket, or the bucket name with gs://\nor https://storage.googleapis.com/ in front of it, such\nas gs://example-bucket.", +"type": "string" +}, +"reportNamePrefix": { +"description": "An optional prefix for the name of the usage report object stored inbucketName. If not supplied, defaults tousage_gce. The report is stored as a CSV file namedreport_name_prefix_gce_YYYYMMDD.csv whereYYYYMMDD is the day of the usage according to Pacific Time.\nIf you supply a prefix, it should conform to Cloud Storageobject naming\nconventions.", +"type": "string" +} +}, +"type": "object" +}, +"VmEndpointNatMappings": { +"description": "Contain information of Nat mapping for a VM endpoint (i.e., NIC).", +"id": "VmEndpointNatMappings", +"properties": { +"instanceName": { +"description": "Output only. Name of the VM instance which the endpoint belongs to", +"readOnly": true, +"type": "string" +}, +"interfaceNatMappings": { +"items": { +"$ref": "VmEndpointNatMappingsInterfaceNatMappings" +}, +"readOnly": true, +"type": "array" +} +}, +"type": "object" +}, +"VmEndpointNatMappingsInterfaceNatMappings": { +"description": "Contain information of Nat mapping for an interface of this endpoint.", +"id": "VmEndpointNatMappingsInterfaceNatMappings", +"properties": { +"drainNatIpPortRanges": { +"description": "Output only. List of all drain IP:port-range mappings assigned to this interface.\nThese ranges are inclusive, that is, both the first and the last\nports can be used for NAT. Example: [\"2.2.2.2:12345-12355\",\n\"1.1.1.1:2234-2234\"].", +"items": { +"type": "string" +}, +"readOnly": true, +"type": "array" +}, +"natIpPortRanges": { +"description": "Output only. A list of all IP:port-range mappings assigned to this interface.\nThese ranges are inclusive, that is, both the first and the last\nports can be used for NAT. Example: [\"2.2.2.2:12345-12355\",\n\"1.1.1.1:2234-2234\"].", +"items": { +"type": "string" +}, +"readOnly": true, +"type": "array" +}, +"numTotalDrainNatPorts": { +"description": "Output only. Total number of drain ports across all NAT IPs allocated to this\ninterface. It equals to the aggregated port number in the field\ndrain_nat_ip_port_ranges.", +"format": "int32", +"readOnly": true, +"type": "integer" +}, +"numTotalNatPorts": { +"description": "Output only. Total number of ports across all NAT IPs allocated to this interface.\nIt equals to the aggregated port number in the field nat_ip_port_ranges.", +"format": "int32", +"readOnly": true, +"type": "integer" +}, +"ruleMappings": { +"description": "Output only. Information about mappings provided by rules in this NAT.", +"items": { +"$ref": "VmEndpointNatMappingsInterfaceNatMappingsNatRuleMappings" +}, +"readOnly": true, +"type": "array" +}, +"sourceAliasIpRange": { +"description": "Output only. Alias IP range for this interface endpoint.\nIt will be a private (RFC 1918) IP range.\nExamples: \"10.33.4.55/32\", or \"192.168.5.0/24\".", +"readOnly": true, +"type": "string" +}, +"sourceVirtualIp": { +"description": "Output only. Primary IP of the VM for this NIC.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"VmEndpointNatMappingsInterfaceNatMappingsNatRuleMappings": { +"description": "Contains information of NAT Mappings provided by a NAT Rule.", +"id": "VmEndpointNatMappingsInterfaceNatMappingsNatRuleMappings", +"properties": { +"drainNatIpPortRanges": { +"description": "Output only. List of all drain IP:port-range mappings assigned to this interface\nby this rule.\nThese ranges are inclusive, that is, both the first and the last\nports can be used for NAT. Example: [\"2.2.2.2:12345-12355\",\n\"1.1.1.1:2234-2234\"].", +"items": { +"type": "string" +}, +"readOnly": true, +"type": "array" +}, +"natIpPortRanges": { +"description": "Output only. A list of all IP:port-range mappings assigned to this interface by this\nrule.\nThese ranges are inclusive, that is, both the first and the last\nports can be used for NAT. Example: [\"2.2.2.2:12345-12355\",\n\"1.1.1.1:2234-2234\"].", +"items": { +"type": "string" +}, +"readOnly": true, +"type": "array" +}, +"numTotalDrainNatPorts": { +"description": "Output only. Total number of drain ports across all NAT IPs allocated to this\ninterface by this rule.\nIt equals the aggregated port number in the field\ndrain_nat_ip_port_ranges.", +"format": "int32", +"readOnly": true, +"type": "integer" +}, +"numTotalNatPorts": { +"description": "Output only. Total number of ports across all NAT IPs allocated to this interface\nby this rule.\nIt equals the aggregated port number in the field nat_ip_port_ranges.", +"format": "int32", +"readOnly": true, +"type": "integer" +}, +"ruleNumber": { +"description": "Output only. Rule number of the NAT Rule.", +"format": "int32", +"readOnly": true, +"type": "integer" +} +}, +"type": "object" +}, +"VmEndpointNatMappingsList": { +"description": "Contains a list of VmEndpointNatMappings.", +"id": "VmEndpointNatMappingsList", +"properties": { +"id": { +"description": "[Output Only] The unique identifier for the resource. This identifier is\ndefined by the server.", +"type": "string" +}, +"kind": { +"default": "compute#vmEndpointNatMappingsList", +"description": "Output only. [Output Only] Type of resource. Alwayscompute#vmEndpointNatMappingsList for lists of Nat mappings of\nVM endpoints.", +"readOnly": true, +"type": "string" +}, +"nextPageToken": { +"description": "[Output Only] This token allows you to get the next page of results for\nlist requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for\nthe query parameter pageToken in the next list request.\nSubsequent list requests will have their own nextPageToken to\ncontinue paging through the results.", +"type": "string" +}, +"result": { +"description": "[Output Only] A list of Nat mapping information of VM endpoints.", +"items": { +"$ref": "VmEndpointNatMappings" +}, +"type": "array" +}, +"selfLink": { +"description": "Output only. [Output Only] Server-defined URL for this resource.", +"readOnly": true, +"type": "string" +}, +"warning": { +"description": "[Output Only] Informational warning message.", +"properties": { +"code": { +"description": "[Output Only] A warning code, if applicable. For example, Compute\nEngine returns NO_RESULTS_ON_PAGE if there\nare no results in the response.", +"enum": [ +"CLEANUP_FAILED", +"DEPRECATED_RESOURCE_USED", +"DEPRECATED_TYPE_USED", +"DISK_SIZE_LARGER_THAN_IMAGE_SIZE", +"EXPERIMENTAL_TYPE_USED", +"EXTERNAL_API_WARNING", +"FIELD_VALUE_OVERRIDEN", +"INJECTED_KERNELS_DEPRECATED", +"INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", +"LARGE_DEPLOYMENT_WARNING", +"LIST_OVERHEAD_QUOTA_EXCEED", +"MISSING_TYPE_DEPENDENCY", +"NEXT_HOP_ADDRESS_NOT_ASSIGNED", +"NEXT_HOP_CANNOT_IP_FORWARD", +"NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", +"NEXT_HOP_INSTANCE_NOT_FOUND", +"NEXT_HOP_INSTANCE_NOT_ON_NETWORK", +"NEXT_HOP_NOT_RUNNING", +"NOT_CRITICAL_ERROR", +"NO_RESULTS_ON_PAGE", +"PARTIAL_SUCCESS", +"QUOTA_INFO_UNAVAILABLE", +"REQUIRED_TOS_AGREEMENT", +"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", +"RESOURCE_NOT_DELETED", +"SCHEMA_VALIDATION_IGNORED", +"SINGLE_INSTANCE_PROPERTY_TEMPLATE", +"UNDECLARED_PROPERTIES", +"UNREACHABLE" +], +"enumDeprecated": [ +false, +false, +false, +false, +false, +false, +true, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false +], +"enumDescriptions": [ +"Warning about failed cleanup of transient changes made by a failed\noperation.", +"A link to a deprecated resource was created.", +"When deploying and at least one of the resources has a type marked as\ndeprecated", +"The user created a boot disk that is larger than image size.", +"When deploying and at least one of the resources has a type marked as\nexperimental", +"Warning that is present in an external api call", +"Warning that value of a field has been overridden.\nDeprecated unused field.", +"The operation involved use of an injected kernel, which is deprecated.", +"A WEIGHTED_MAGLEV backend service is associated with a health check that is\nnot of type HTTP/HTTPS/HTTP2.", +"When deploying a deployment with a exceedingly large number of resources", +"Resource can't be retrieved due to list overhead quota exceed\nwhich captures the amount of resources filtered out by\nuser-defined list filter.", +"A resource depends on a missing type", +"The route's nextHopIp address is not assigned to an instance on the\nnetwork.", +"The route's next hop instance cannot ip forward.", +"The route's nextHopInstance URL refers to an instance that does not have an\nipv6 interface on the same network as the route.", +"The route's nextHopInstance URL refers to an instance that does not exist.", +"The route's nextHopInstance URL refers to an instance that is not on the\nsame network as the route.", +"The route's next hop instance does not have a status of RUNNING.", +"Error which is not critical. We decided to continue the process despite\nthe mentioned error.", +"No results are present on a particular list page.", +"Success is reported, but some results may be missing due to errors", +"Quota information is not available to client requests (e.g:\nregions.list).", +"The user attempted to use a resource that requires a TOS they have not\naccepted.", +"Warning that a resource is in use.", +"One or more of the resources set to auto-delete could not be deleted\nbecause they were in use.", +"When a resource schema validation is ignored.", +"Instance template used in instance group manager is valid as such, but\nits application does not make a lot of sense, because it allows only\nsingle instance in instance group.", +"When undeclared properties in the schema are present", +"A given scope cannot be reached." +], +"type": "string" +}, +"data": { +"description": "[Output Only] Metadata about this warning in key:\nvalue format. For example:\n\n\"data\": [\n {\n \"key\": \"scope\",\n \"value\": \"zones/us-east1-d\"\n }", +"items": { +"properties": { +"key": { +"description": "[Output Only] A key that provides more detail on the warning being\nreturned. For example, for warnings where there are no results in a list\nrequest for a particular zone, this key might be scope and\nthe key value might be the zone name. Other examples might be a key\nindicating a deprecated resource and a suggested replacement, or a\nwarning about invalid network settings (for example, if an instance\nattempts to perform IP forwarding but is not enabled for IP forwarding).", +"type": "string" +}, +"value": { +"description": "[Output Only] A warning data value corresponding to the key.", +"type": "string" +} +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "[Output Only] A human-readable description of the warning code.", +"type": "string" +} +}, +"type": "object" +} +}, +"type": "object" +}, +"VmExtensionPoliciesScopedList": { +"id": "VmExtensionPoliciesScopedList", +"properties": { +"vmExtensionPolicies": { +"description": "List of VmExtensionPolicy resources contained in this scope.", +"items": { +"$ref": "VmExtensionPolicy" +}, +"type": "array" +}, +"warning": { +"description": "Informational warning which replaces the list of\nbackend services when the list is empty.", +"properties": { +"code": { +"description": "[Output Only] A warning code, if applicable. For example, Compute\nEngine returns NO_RESULTS_ON_PAGE if there\nare no results in the response.", +"enum": [ +"CLEANUP_FAILED", +"DEPRECATED_RESOURCE_USED", +"DEPRECATED_TYPE_USED", +"DISK_SIZE_LARGER_THAN_IMAGE_SIZE", +"EXPERIMENTAL_TYPE_USED", +"EXTERNAL_API_WARNING", +"FIELD_VALUE_OVERRIDEN", +"INJECTED_KERNELS_DEPRECATED", +"INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", +"LARGE_DEPLOYMENT_WARNING", +"LIST_OVERHEAD_QUOTA_EXCEED", +"MISSING_TYPE_DEPENDENCY", +"NEXT_HOP_ADDRESS_NOT_ASSIGNED", +"NEXT_HOP_CANNOT_IP_FORWARD", +"NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", +"NEXT_HOP_INSTANCE_NOT_FOUND", +"NEXT_HOP_INSTANCE_NOT_ON_NETWORK", +"NEXT_HOP_NOT_RUNNING", +"NOT_CRITICAL_ERROR", +"NO_RESULTS_ON_PAGE", +"PARTIAL_SUCCESS", +"QUOTA_INFO_UNAVAILABLE", +"REQUIRED_TOS_AGREEMENT", +"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", +"RESOURCE_NOT_DELETED", +"SCHEMA_VALIDATION_IGNORED", +"SINGLE_INSTANCE_PROPERTY_TEMPLATE", +"UNDECLARED_PROPERTIES", +"UNREACHABLE" +], +"enumDeprecated": [ +false, +false, +false, +false, +false, +false, +true, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false +], +"enumDescriptions": [ +"Warning about failed cleanup of transient changes made by a failed\noperation.", +"A link to a deprecated resource was created.", +"When deploying and at least one of the resources has a type marked as\ndeprecated", +"The user created a boot disk that is larger than image size.", +"When deploying and at least one of the resources has a type marked as\nexperimental", +"Warning that is present in an external api call", +"Warning that value of a field has been overridden.\nDeprecated unused field.", +"The operation involved use of an injected kernel, which is deprecated.", +"A WEIGHTED_MAGLEV backend service is associated with a health check that is\nnot of type HTTP/HTTPS/HTTP2.", +"When deploying a deployment with a exceedingly large number of resources", +"Resource can't be retrieved due to list overhead quota exceed\nwhich captures the amount of resources filtered out by\nuser-defined list filter.", +"A resource depends on a missing type", +"The route's nextHopIp address is not assigned to an instance on the\nnetwork.", +"The route's next hop instance cannot ip forward.", +"The route's nextHopInstance URL refers to an instance that does not have an\nipv6 interface on the same network as the route.", +"The route's nextHopInstance URL refers to an instance that does not exist.", +"The route's nextHopInstance URL refers to an instance that is not on the\nsame network as the route.", +"The route's next hop instance does not have a status of RUNNING.", +"Error which is not critical. We decided to continue the process despite\nthe mentioned error.", +"No results are present on a particular list page.", +"Success is reported, but some results may be missing due to errors", +"Quota information is not available to client requests (e.g:\nregions.list).", +"The user attempted to use a resource that requires a TOS they have not\naccepted.", +"Warning that a resource is in use.", +"One or more of the resources set to auto-delete could not be deleted\nbecause they were in use.", +"When a resource schema validation is ignored.", +"Instance template used in instance group manager is valid as such, but\nits application does not make a lot of sense, because it allows only\nsingle instance in instance group.", +"When undeclared properties in the schema are present", +"A given scope cannot be reached." +], +"type": "string" +}, +"data": { +"description": "[Output Only] Metadata about this warning in key:\nvalue format. For example:\n\n\"data\": [\n {\n \"key\": \"scope\",\n \"value\": \"zones/us-east1-d\"\n }", +"items": { +"properties": { +"key": { +"description": "[Output Only] A key that provides more detail on the warning being\nreturned. For example, for warnings where there are no results in a list\nrequest for a particular zone, this key might be scope and\nthe key value might be the zone name. Other examples might be a key\nindicating a deprecated resource and a suggested replacement, or a\nwarning about invalid network settings (for example, if an instance\nattempts to perform IP forwarding but is not enabled for IP forwarding).", +"type": "string" +}, +"value": { +"description": "[Output Only] A warning data value corresponding to the key.", +"type": "string" +} +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "[Output Only] A human-readable description of the warning code.", +"type": "string" +} +}, +"type": "object" +} +}, +"type": "object" +}, +"VmExtensionPolicy": { +"description": "Represents a VM extension policy.", +"id": "VmExtensionPolicy", +"properties": { +"creationTimestamp": { +"description": "Output only. [Output Only] Creation timestamp inRFC3339\ntext format.", +"readOnly": true, +"type": "string" +}, +"description": { +"description": "An optional description of this resource.", +"type": "string" +}, +"extensionPolicies": { +"additionalProperties": { +"$ref": "VmExtensionPolicyExtensionPolicy" +}, +"description": "Required. A map of extension names (for example, \"ops-agent\") to their corresponding\npolicy configurations.", +"type": "object" +}, +"globalResourceLink": { +"description": "Optional. Output only. [Output Only] Link to the global policy that manages this zone policy, if\napplicable.", +"readOnly": true, +"type": "string" +}, +"id": { +"description": "Output only. [Output Only] The unique identifier for the resource. This identifier is\ndefined by the server.", +"format": "uint64", +"readOnly": true, +"type": "string" +}, +"instanceSelectors": { +"description": "Optional. Selectors to target VMs for this policy. VMs are selected if they match\n*any* of the provided selectors (logical OR). If this list is empty, the\npolicy applies to all VMs.", +"items": { +"$ref": "VmExtensionPolicyInstanceSelector" +}, +"type": "array" +}, +"kind": { +"default": "compute#vmExtensionPolicy", +"description": "Output only. [Output Only] Type of the resource. Alwayscompute#vmExtensionPolicy.", +"readOnly": true, +"type": "string" +}, +"managedByGlobal": { +"description": "Optional. Output only. [Output Only] Indicates if this policy is managed by a global policy.", +"readOnly": true, +"type": "boolean" +}, +"name": { +"annotations": { +"required": [ +"compute.zoneVmExtensionPolicies.insert" +] +}, +"description": "Name of the resource. Provided by the client when the resource is created.\nThe name must be 1-63 characters long, and comply withRFC1035.\nSpecifically, the name must be 1-63 characters long and match the regular\nexpression `[a-z]([-a-z0-9]*[a-z0-9])?`\nwhich means the first character must be a lowercase letter, and all\nfollowing characters must be a dash, lowercase letter, or digit, except\nthe last character, which cannot be a dash.", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"type": "string" +}, +"priority": { +"description": "Optional. Priority of this policy. Used to resolve conflicts when multiple policies\napply to the same extension.\nThe policy priority is an integer from 0 to 65535, inclusive. Lower\nintegers indicate higher priorities. If you do not specify a priority when\ncreating a rule, it is assigned a priority of 1000. If priorities are\nequal, the policy with the most recent creation timestamp takes precedence.", +"format": "int32", +"type": "integer" +}, +"selfLink": { +"description": "Output only. [Output Only] Server-defined fully-qualified URL for this resource.", +"readOnly": true, +"type": "string" +}, +"selfLinkWithId": { +"description": "Output only. [Output Only] Server-defined URL for this resource's resource id.", +"readOnly": true, +"type": "string" +}, +"state": { +"description": "Optional. Output only. [Output Only] Current state of the policy: ACTIVE or DELETING.", +"enum": [ +"ACTIVE", +"DELETING", +"STATE_UNSPECIFIED" +], +"enumDescriptions": [ +"The policy is active and applied to matching VMs.\nNewly created VMs that match the policy will also receive the\nextension policy.", +"The policy is in the process of being deleted. After the extension is\nremoved from all matching VMs, the policy will be deleted.", +"Default value. Do not use." +], +"readOnly": true, +"type": "string" +}, +"updateTimestamp": { +"description": "Output only. [Output Only] Update timestamp inRFC3339\ntext format.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"VmExtensionPolicyAggregatedListResponse": { +"description": "Response for the aggregated list of VM extension policies.", +"id": "VmExtensionPolicyAggregatedListResponse", +"properties": { +"etag": { +"type": "string" +}, +"id": { +"description": "[Output Only] Unique identifier for the resource; defined by the server.", +"type": "string" +}, +"items": { +"additionalProperties": { +"$ref": "VmExtensionPoliciesScopedList", +"description": "Name of the scope containing this set of VmExtensionPolicies." +}, +"description": "A list of VmExtensionPoliciesScopedList resources.", +"type": "object" +}, +"kind": { +"default": "compute#VmExtensionPolicyAggregatedList", +"description": "Output only. [Output Only] Type of resource. Alwayscompute#VmExtensionPolicyAggregatedList for lists of\nVmExtensionPolicies.", +"readOnly": true, +"type": "string" +}, +"nextPageToken": { +"description": "[Output Only] This token allows you to get the next page of results for\nlist requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for\nthe query parameter pageToken in the next list request.\nSubsequent list requests will have their own nextPageToken to\ncontinue paging through the results.", +"type": "string" +}, +"selfLink": { +"description": "Output only. [Output Only] Server-defined URL for this resource.", +"readOnly": true, +"type": "string" +}, +"unreachables": { +"description": "Output only. [Output Only] Unreachable resources.", +"items": { +"type": "string" +}, +"readOnly": true, +"type": "array" +}, +"warning": { +"description": "[Output Only] Informational warning message.", +"properties": { +"code": { +"description": "[Output Only] A warning code, if applicable. For example, Compute\nEngine returns NO_RESULTS_ON_PAGE if there\nare no results in the response.", +"enum": [ +"CLEANUP_FAILED", +"DEPRECATED_RESOURCE_USED", +"DEPRECATED_TYPE_USED", +"DISK_SIZE_LARGER_THAN_IMAGE_SIZE", +"EXPERIMENTAL_TYPE_USED", +"EXTERNAL_API_WARNING", +"FIELD_VALUE_OVERRIDEN", +"INJECTED_KERNELS_DEPRECATED", +"INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", +"LARGE_DEPLOYMENT_WARNING", +"LIST_OVERHEAD_QUOTA_EXCEED", +"MISSING_TYPE_DEPENDENCY", +"NEXT_HOP_ADDRESS_NOT_ASSIGNED", +"NEXT_HOP_CANNOT_IP_FORWARD", +"NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", +"NEXT_HOP_INSTANCE_NOT_FOUND", +"NEXT_HOP_INSTANCE_NOT_ON_NETWORK", +"NEXT_HOP_NOT_RUNNING", +"NOT_CRITICAL_ERROR", +"NO_RESULTS_ON_PAGE", +"PARTIAL_SUCCESS", +"QUOTA_INFO_UNAVAILABLE", +"REQUIRED_TOS_AGREEMENT", +"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", +"RESOURCE_NOT_DELETED", +"SCHEMA_VALIDATION_IGNORED", +"SINGLE_INSTANCE_PROPERTY_TEMPLATE", +"UNDECLARED_PROPERTIES", +"UNREACHABLE" +], +"enumDeprecated": [ +false, +false, +false, +false, +false, +false, +true, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false +], +"enumDescriptions": [ +"Warning about failed cleanup of transient changes made by a failed\noperation.", +"A link to a deprecated resource was created.", +"When deploying and at least one of the resources has a type marked as\ndeprecated", +"The user created a boot disk that is larger than image size.", +"When deploying and at least one of the resources has a type marked as\nexperimental", +"Warning that is present in an external api call", +"Warning that value of a field has been overridden.\nDeprecated unused field.", +"The operation involved use of an injected kernel, which is deprecated.", +"A WEIGHTED_MAGLEV backend service is associated with a health check that is\nnot of type HTTP/HTTPS/HTTP2.", +"When deploying a deployment with a exceedingly large number of resources", +"Resource can't be retrieved due to list overhead quota exceed\nwhich captures the amount of resources filtered out by\nuser-defined list filter.", +"A resource depends on a missing type", +"The route's nextHopIp address is not assigned to an instance on the\nnetwork.", +"The route's next hop instance cannot ip forward.", +"The route's nextHopInstance URL refers to an instance that does not have an\nipv6 interface on the same network as the route.", +"The route's nextHopInstance URL refers to an instance that does not exist.", +"The route's nextHopInstance URL refers to an instance that is not on the\nsame network as the route.", +"The route's next hop instance does not have a status of RUNNING.", +"Error which is not critical. We decided to continue the process despite\nthe mentioned error.", +"No results are present on a particular list page.", +"Success is reported, but some results may be missing due to errors", +"Quota information is not available to client requests (e.g:\nregions.list).", +"The user attempted to use a resource that requires a TOS they have not\naccepted.", +"Warning that a resource is in use.", +"One or more of the resources set to auto-delete could not be deleted\nbecause they were in use.", +"When a resource schema validation is ignored.", +"Instance template used in instance group manager is valid as such, but\nits application does not make a lot of sense, because it allows only\nsingle instance in instance group.", +"When undeclared properties in the schema are present", +"A given scope cannot be reached." +], +"type": "string" +}, +"data": { +"description": "[Output Only] Metadata about this warning in key:\nvalue format. For example:\n\n\"data\": [\n {\n \"key\": \"scope\",\n \"value\": \"zones/us-east1-d\"\n }", +"items": { +"properties": { +"key": { +"description": "[Output Only] A key that provides more detail on the warning being\nreturned. For example, for warnings where there are no results in a list\nrequest for a particular zone, this key might be scope and\nthe key value might be the zone name. Other examples might be a key\nindicating a deprecated resource and a suggested replacement, or a\nwarning about invalid network settings (for example, if an instance\nattempts to perform IP forwarding but is not enabled for IP forwarding).", +"type": "string" +}, +"value": { +"description": "[Output Only] A warning data value corresponding to the key.", +"type": "string" +} +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "[Output Only] A human-readable description of the warning code.", +"type": "string" +} +}, +"type": "object" +} +}, +"type": "object" +}, +"VmExtensionPolicyExtensionPolicy": { +"description": "Configuration for a specific VM extension.", +"id": "VmExtensionPolicyExtensionPolicy", +"properties": { +"pinnedVersion": { +"description": "Optional. The specific version of the extension to install. If not set, the latest\nversion is used.", +"type": "string" +}, +"stringConfig": { +"description": "Optional. String-based configuration data for the extension.", +"type": "string" +} +}, +"type": "object" +}, +"VmExtensionPolicyInstanceSelector": { +"description": "Defines how to select VMs to apply a zone VM extension policy.", +"id": "VmExtensionPolicyInstanceSelector", +"properties": { +"labelSelector": { +"$ref": "VmExtensionPolicyLabelSelector", +"description": "Optional. LabelSelector selects VMs based on their labels." +} +}, +"type": "object" +}, +"VmExtensionPolicyLabelSelector": { +"description": "A LabelSelector is applied to a VM only if it matches all the specified\nlabels.", +"id": "VmExtensionPolicyLabelSelector", +"properties": { +"inclusionLabels": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. A map of key-value pairs representing VM labels.\nVMs must have all of the labels specified in this map to be selected\n(logical AND).\n\ne.g. If the `inclusion_labels` are {(\"key1\", \"value1\"), (\"key2\",\n\"value2\")}, the VM labels must contain both (\"key1\", \"value1\") and\n(\"key2\", \"value2\") to be selected. If the VM labels are (\"key1\",\n\"value1\") and (\"something\", \"else\"), it will not be selected.\n\nIf the map is empty, it's considered a match.", +"type": "object" +} +}, +"type": "object" +}, +"VmExtensionPolicyList": { +"id": "VmExtensionPolicyList", +"properties": { +"etag": { +"description": "Output only. [Output Only] Fingerprint of this resource. A hash of the contents stored\nin this object. This field is used in optimistic locking. This field will\nbe ignored when inserting a VmExtensionPolicy. An up-to-date\nfingerprint must be provided in order to update the VmExtensionPolicy.\n\nTo see the latest value of the fingerprint, make a get() request to\nretrieve a VmExtensionPolicy.", +"readOnly": true, +"type": "string" +}, +"id": { +"description": "Output only. [Output Only] Unique identifier for the resource; defined by the server.", +"readOnly": true, +"type": "string" +}, +"items": { +"description": "Output only. [Output Only] A list of VM extension policy resources.", +"items": { +"$ref": "VmExtensionPolicy" +}, +"readOnly": true, +"type": "array" +}, +"kind": { +"default": "compute#vmExtensionPolicyList", +"description": "Output only. Type of resource.", +"readOnly": true, +"type": "string" +}, +"nextPageToken": { +"description": "Output only. [Output Only] This token allows you to get the next page of results for\nlist requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for\nthe query parameter pageToken in the next list request.\nSubsequent list requests will have their own nextPageToken to\ncontinue paging through the results.", +"readOnly": true, +"type": "string" +}, +"selfLink": { +"description": "Output only. [Output Only] Server-defined URL for this resource.", +"readOnly": true, +"type": "string" +}, +"unreachables": { +"description": "Output only. [Output Only] Unreachable resources.", +"items": { +"type": "string" +}, +"readOnly": true, +"type": "array" +}, +"warning": { +"description": "Output only. [Output Only] Informational warning message.", +"properties": { +"code": { +"description": "[Output Only] A warning code, if applicable. For example, Compute\nEngine returns NO_RESULTS_ON_PAGE if there\nare no results in the response.", +"enum": [ +"CLEANUP_FAILED", +"DEPRECATED_RESOURCE_USED", +"DEPRECATED_TYPE_USED", +"DISK_SIZE_LARGER_THAN_IMAGE_SIZE", +"EXPERIMENTAL_TYPE_USED", +"EXTERNAL_API_WARNING", +"FIELD_VALUE_OVERRIDEN", +"INJECTED_KERNELS_DEPRECATED", +"INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", +"LARGE_DEPLOYMENT_WARNING", +"LIST_OVERHEAD_QUOTA_EXCEED", +"MISSING_TYPE_DEPENDENCY", +"NEXT_HOP_ADDRESS_NOT_ASSIGNED", +"NEXT_HOP_CANNOT_IP_FORWARD", +"NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", +"NEXT_HOP_INSTANCE_NOT_FOUND", +"NEXT_HOP_INSTANCE_NOT_ON_NETWORK", +"NEXT_HOP_NOT_RUNNING", +"NOT_CRITICAL_ERROR", +"NO_RESULTS_ON_PAGE", +"PARTIAL_SUCCESS", +"QUOTA_INFO_UNAVAILABLE", +"REQUIRED_TOS_AGREEMENT", +"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", +"RESOURCE_NOT_DELETED", +"SCHEMA_VALIDATION_IGNORED", +"SINGLE_INSTANCE_PROPERTY_TEMPLATE", +"UNDECLARED_PROPERTIES", +"UNREACHABLE" +], +"enumDeprecated": [ +false, +false, +false, +false, +false, +false, +true, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false +], +"enumDescriptions": [ +"Warning about failed cleanup of transient changes made by a failed\noperation.", +"A link to a deprecated resource was created.", +"When deploying and at least one of the resources has a type marked as\ndeprecated", +"The user created a boot disk that is larger than image size.", +"When deploying and at least one of the resources has a type marked as\nexperimental", +"Warning that is present in an external api call", +"Warning that value of a field has been overridden.\nDeprecated unused field.", +"The operation involved use of an injected kernel, which is deprecated.", +"A WEIGHTED_MAGLEV backend service is associated with a health check that is\nnot of type HTTP/HTTPS/HTTP2.", +"When deploying a deployment with a exceedingly large number of resources", +"Resource can't be retrieved due to list overhead quota exceed\nwhich captures the amount of resources filtered out by\nuser-defined list filter.", +"A resource depends on a missing type", +"The route's nextHopIp address is not assigned to an instance on the\nnetwork.", +"The route's next hop instance cannot ip forward.", +"The route's nextHopInstance URL refers to an instance that does not have an\nipv6 interface on the same network as the route.", +"The route's nextHopInstance URL refers to an instance that does not exist.", +"The route's nextHopInstance URL refers to an instance that is not on the\nsame network as the route.", +"The route's next hop instance does not have a status of RUNNING.", +"Error which is not critical. We decided to continue the process despite\nthe mentioned error.", +"No results are present on a particular list page.", +"Success is reported, but some results may be missing due to errors", +"Quota information is not available to client requests (e.g:\nregions.list).", +"The user attempted to use a resource that requires a TOS they have not\naccepted.", +"Warning that a resource is in use.", +"One or more of the resources set to auto-delete could not be deleted\nbecause they were in use.", +"When a resource schema validation is ignored.", +"Instance template used in instance group manager is valid as such, but\nits application does not make a lot of sense, because it allows only\nsingle instance in instance group.", +"When undeclared properties in the schema are present", +"A given scope cannot be reached." +], +"type": "string" +}, +"data": { +"description": "[Output Only] Metadata about this warning in key:\nvalue format. For example:\n\n\"data\": [\n {\n \"key\": \"scope\",\n \"value\": \"zones/us-east1-d\"\n }", +"items": { +"properties": { +"key": { +"description": "[Output Only] A key that provides more detail on the warning being\nreturned. For example, for warnings where there are no results in a list\nrequest for a particular zone, this key might be scope and\nthe key value might be the zone name. Other examples might be a key\nindicating a deprecated resource and a suggested replacement, or a\nwarning about invalid network settings (for example, if an instance\nattempts to perform IP forwarding but is not enabled for IP forwarding).", +"type": "string" +}, +"value": { +"description": "[Output Only] A warning data value corresponding to the key.", +"type": "string" +} +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "[Output Only] A human-readable description of the warning code.", +"type": "string" +} +}, +"readOnly": true, +"type": "object" +} +}, +"type": "object" +}, +"VpnGateway": { +"description": "Represents a HA VPN gateway.\n\nHA VPN is a high-availability (HA) Cloud VPN solution that lets you securely\nconnect your on-premises network to your Google Cloud Virtual Private Cloud\nnetwork through an IPsec VPN connection in a single region.\nFor more information about Cloud HA VPN solutions, see\nCloud VPN topologies .", +"id": "VpnGateway", +"properties": { +"creationTimestamp": { +"description": "Output only. [Output Only] Creation timestamp inRFC3339\ntext format.", +"readOnly": true, +"type": "string" +}, +"description": { +"description": "An optional description of this resource. Provide this property when you\ncreate the resource.", +"type": "string" +}, +"gatewayIpVersion": { +"description": "The IP family of the gateway IPs for the HA-VPN gateway interfaces. If not\nspecified, IPV4 will be used.", +"enum": [ +"IPV4", +"IPV6" +], +"enumDescriptions": [ +"Every HA-VPN gateway interface is configured with an IPv4 address.", +"Every HA-VPN gateway interface is configured with an IPv6 address." +], +"type": "string" +}, +"id": { +"description": "Output only. [Output Only] The unique identifier for the resource. This identifier is\ndefined by the server.", +"format": "uint64", +"readOnly": true, +"type": "string" +}, +"kind": { +"default": "compute#vpnGateway", +"description": "Output only. [Output Only] Type of resource. Always compute#vpnGateway for\nVPN gateways.", +"readOnly": true, +"type": "string" +}, +"labelFingerprint": { +"description": "A fingerprint for the labels being applied to this VpnGateway, which\nis essentially a hash of the labels set used for optimistic locking. The\nfingerprint is initially generated by Compute Engine and changes after\nevery request to modify or update labels. You must always provide an\nup-to-date fingerprint hash in order to update or change labels,\notherwise the request will fail with error412 conditionNotMet.\n\nTo see the latest fingerprint, make a get() request to\nretrieve a VpnGateway.", +"format": "byte", +"type": "string" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Labels for this resource. These can only be added or modified by thesetLabels method. Each label key/value pair must comply withRFC1035.\nLabel values may be empty.", +"type": "object" +}, +"name": { +"annotations": { +"required": [ +"compute.vpnGateways.insert" +] +}, +"description": "Name of the resource. Provided by the client when the resource is created.\nThe name must be 1-63 characters long, and comply withRFC1035.\nSpecifically, the name must be 1-63 characters long and match the regular\nexpression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first\ncharacter must be a lowercase letter, and all following characters must\nbe a dash, lowercase letter, or digit, except the last character, which\ncannot be a dash.", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"type": "string" +}, +"network": { +"annotations": { +"required": [ +"compute.vpnGateways.insert" +] +}, +"description": "URL of the network to which this VPN gateway is attached. Provided by the\nclient when the VPN gateway is created.", +"type": "string" +}, +"params": { +"$ref": "VpnGatewayParams", +"description": "Input only. [Input Only] Additional params passed with the request, but not persisted\nas part of resource payload." +}, +"region": { +"description": "Output only. [Output Only] URL of the region where the VPN gateway resides.", +"readOnly": true, +"type": "string" +}, +"selfLink": { +"description": "Output only. [Output Only] Server-defined URL for the resource.", +"readOnly": true, +"type": "string" +}, +"stackType": { +"description": "The stack type for this VPN gateway to identify the IP protocols that are\nenabled. Possible values are: IPV4_ONLY,IPV4_IPV6, IPV6_ONLY. If not specified,IPV4_ONLY is used if the gateway IP version isIPV4, or IPV4_IPV6 if the gateway IP version isIPV6.", +"enum": [ +"IPV4_IPV6", +"IPV4_ONLY", +"IPV6_ONLY" +], +"enumDescriptions": [ +"Enable VPN gateway with both IPv4 and IPv6 protocols.", +"Enable VPN gateway with only IPv4 protocol.", +"Enable VPN gateway with only IPv6 protocol." +], +"type": "string" +}, +"vpnInterfaces": { +"description": "The list of VPN interfaces associated with this VPN gateway.", +"items": { +"$ref": "VpnGatewayVpnGatewayInterface" +}, +"type": "array" +} +}, +"type": "object" +}, +"VpnGatewayAggregatedList": { +"id": "VpnGatewayAggregatedList", +"properties": { +"id": { +"description": "[Output Only] Unique identifier for the resource; defined by the server.", +"type": "string" +}, +"items": { +"additionalProperties": { +"$ref": "VpnGatewaysScopedList", +"description": "[Output Only] Name of the scope containing this set of VPN gateways." +}, +"description": "A list of VpnGateway resources.", +"type": "object" +}, +"kind": { +"default": "compute#vpnGatewayAggregatedList", +"description": "Output only. [Output Only] Type of resource. Always compute#vpnGateway for\nVPN gateways.", +"readOnly": true, +"type": "string" +}, +"nextPageToken": { +"description": "[Output Only] This token allows you to get the next page of results for\nlist requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for\nthe query parameter pageToken in the next list request.\nSubsequent list requests will have their own nextPageToken to\ncontinue paging through the results.", +"type": "string" +}, +"selfLink": { +"description": "Output only. [Output Only] Server-defined URL for this resource.", +"readOnly": true, +"type": "string" +}, +"unreachables": { +"description": "Output only. [Output Only] Unreachable resources.", +"items": { +"type": "string" +}, +"readOnly": true, +"type": "array" +}, +"warning": { +"description": "[Output Only] Informational warning message.", +"properties": { +"code": { +"description": "[Output Only] A warning code, if applicable. For example, Compute\nEngine returns NO_RESULTS_ON_PAGE if there\nare no results in the response.", +"enum": [ +"CLEANUP_FAILED", +"DEPRECATED_RESOURCE_USED", +"DEPRECATED_TYPE_USED", +"DISK_SIZE_LARGER_THAN_IMAGE_SIZE", +"EXPERIMENTAL_TYPE_USED", +"EXTERNAL_API_WARNING", +"FIELD_VALUE_OVERRIDEN", +"INJECTED_KERNELS_DEPRECATED", +"INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", +"LARGE_DEPLOYMENT_WARNING", +"LIST_OVERHEAD_QUOTA_EXCEED", +"MISSING_TYPE_DEPENDENCY", +"NEXT_HOP_ADDRESS_NOT_ASSIGNED", +"NEXT_HOP_CANNOT_IP_FORWARD", +"NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", +"NEXT_HOP_INSTANCE_NOT_FOUND", +"NEXT_HOP_INSTANCE_NOT_ON_NETWORK", +"NEXT_HOP_NOT_RUNNING", +"NOT_CRITICAL_ERROR", +"NO_RESULTS_ON_PAGE", +"PARTIAL_SUCCESS", +"QUOTA_INFO_UNAVAILABLE", +"REQUIRED_TOS_AGREEMENT", +"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", +"RESOURCE_NOT_DELETED", +"SCHEMA_VALIDATION_IGNORED", +"SINGLE_INSTANCE_PROPERTY_TEMPLATE", +"UNDECLARED_PROPERTIES", +"UNREACHABLE" +], +"enumDeprecated": [ +false, +false, +false, +false, +false, +false, +true, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false +], +"enumDescriptions": [ +"Warning about failed cleanup of transient changes made by a failed\noperation.", +"A link to a deprecated resource was created.", +"When deploying and at least one of the resources has a type marked as\ndeprecated", +"The user created a boot disk that is larger than image size.", +"When deploying and at least one of the resources has a type marked as\nexperimental", +"Warning that is present in an external api call", +"Warning that value of a field has been overridden.\nDeprecated unused field.", +"The operation involved use of an injected kernel, which is deprecated.", +"A WEIGHTED_MAGLEV backend service is associated with a health check that is\nnot of type HTTP/HTTPS/HTTP2.", +"When deploying a deployment with a exceedingly large number of resources", +"Resource can't be retrieved due to list overhead quota exceed\nwhich captures the amount of resources filtered out by\nuser-defined list filter.", +"A resource depends on a missing type", +"The route's nextHopIp address is not assigned to an instance on the\nnetwork.", +"The route's next hop instance cannot ip forward.", +"The route's nextHopInstance URL refers to an instance that does not have an\nipv6 interface on the same network as the route.", +"The route's nextHopInstance URL refers to an instance that does not exist.", +"The route's nextHopInstance URL refers to an instance that is not on the\nsame network as the route.", +"The route's next hop instance does not have a status of RUNNING.", +"Error which is not critical. We decided to continue the process despite\nthe mentioned error.", +"No results are present on a particular list page.", +"Success is reported, but some results may be missing due to errors", +"Quota information is not available to client requests (e.g:\nregions.list).", +"The user attempted to use a resource that requires a TOS they have not\naccepted.", +"Warning that a resource is in use.", +"One or more of the resources set to auto-delete could not be deleted\nbecause they were in use.", +"When a resource schema validation is ignored.", +"Instance template used in instance group manager is valid as such, but\nits application does not make a lot of sense, because it allows only\nsingle instance in instance group.", +"When undeclared properties in the schema are present", +"A given scope cannot be reached." +], +"type": "string" +}, +"data": { +"description": "[Output Only] Metadata about this warning in key:\nvalue format. For example:\n\n\"data\": [\n {\n \"key\": \"scope\",\n \"value\": \"zones/us-east1-d\"\n }", +"items": { +"properties": { +"key": { +"description": "[Output Only] A key that provides more detail on the warning being\nreturned. For example, for warnings where there are no results in a list\nrequest for a particular zone, this key might be scope and\nthe key value might be the zone name. Other examples might be a key\nindicating a deprecated resource and a suggested replacement, or a\nwarning about invalid network settings (for example, if an instance\nattempts to perform IP forwarding but is not enabled for IP forwarding).", +"type": "string" +}, +"value": { +"description": "[Output Only] A warning data value corresponding to the key.", +"type": "string" +} +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "[Output Only] A human-readable description of the warning code.", +"type": "string" +} +}, +"type": "object" +} +}, +"type": "object" +}, +"VpnGatewayList": { +"description": "Contains a list of VpnGateway resources.", +"id": "VpnGatewayList", +"properties": { +"id": { +"description": "[Output Only] Unique identifier for the resource; defined by the server.", +"type": "string" +}, +"items": { +"description": "A list of VpnGateway resources.", +"items": { +"$ref": "VpnGateway" +}, +"type": "array" +}, +"kind": { +"default": "compute#vpnGatewayList", +"description": "Output only. [Output Only] Type of resource. Always compute#vpnGateway for\nVPN gateways.", +"readOnly": true, +"type": "string" +}, +"nextPageToken": { +"description": "[Output Only] This token allows you to get the next page of results for\nlist requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for\nthe query parameter pageToken in the next list request.\nSubsequent list requests will have their own nextPageToken to\ncontinue paging through the results.", +"type": "string" +}, +"selfLink": { +"description": "Output only. [Output Only] Server-defined URL for this resource.", +"readOnly": true, +"type": "string" +}, +"warning": { +"description": "[Output Only] Informational warning message.", +"properties": { +"code": { +"description": "[Output Only] A warning code, if applicable. For example, Compute\nEngine returns NO_RESULTS_ON_PAGE if there\nare no results in the response.", +"enum": [ +"CLEANUP_FAILED", +"DEPRECATED_RESOURCE_USED", +"DEPRECATED_TYPE_USED", +"DISK_SIZE_LARGER_THAN_IMAGE_SIZE", +"EXPERIMENTAL_TYPE_USED", +"EXTERNAL_API_WARNING", +"FIELD_VALUE_OVERRIDEN", +"INJECTED_KERNELS_DEPRECATED", +"INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", +"LARGE_DEPLOYMENT_WARNING", +"LIST_OVERHEAD_QUOTA_EXCEED", +"MISSING_TYPE_DEPENDENCY", +"NEXT_HOP_ADDRESS_NOT_ASSIGNED", +"NEXT_HOP_CANNOT_IP_FORWARD", +"NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", +"NEXT_HOP_INSTANCE_NOT_FOUND", +"NEXT_HOP_INSTANCE_NOT_ON_NETWORK", +"NEXT_HOP_NOT_RUNNING", +"NOT_CRITICAL_ERROR", +"NO_RESULTS_ON_PAGE", +"PARTIAL_SUCCESS", +"QUOTA_INFO_UNAVAILABLE", +"REQUIRED_TOS_AGREEMENT", +"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", +"RESOURCE_NOT_DELETED", +"SCHEMA_VALIDATION_IGNORED", +"SINGLE_INSTANCE_PROPERTY_TEMPLATE", +"UNDECLARED_PROPERTIES", +"UNREACHABLE" +], +"enumDeprecated": [ +false, +false, +false, +false, +false, +false, +true, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false +], +"enumDescriptions": [ +"Warning about failed cleanup of transient changes made by a failed\noperation.", +"A link to a deprecated resource was created.", +"When deploying and at least one of the resources has a type marked as\ndeprecated", +"The user created a boot disk that is larger than image size.", +"When deploying and at least one of the resources has a type marked as\nexperimental", +"Warning that is present in an external api call", +"Warning that value of a field has been overridden.\nDeprecated unused field.", +"The operation involved use of an injected kernel, which is deprecated.", +"A WEIGHTED_MAGLEV backend service is associated with a health check that is\nnot of type HTTP/HTTPS/HTTP2.", +"When deploying a deployment with a exceedingly large number of resources", +"Resource can't be retrieved due to list overhead quota exceed\nwhich captures the amount of resources filtered out by\nuser-defined list filter.", +"A resource depends on a missing type", +"The route's nextHopIp address is not assigned to an instance on the\nnetwork.", +"The route's next hop instance cannot ip forward.", +"The route's nextHopInstance URL refers to an instance that does not have an\nipv6 interface on the same network as the route.", +"The route's nextHopInstance URL refers to an instance that does not exist.", +"The route's nextHopInstance URL refers to an instance that is not on the\nsame network as the route.", +"The route's next hop instance does not have a status of RUNNING.", +"Error which is not critical. We decided to continue the process despite\nthe mentioned error.", +"No results are present on a particular list page.", +"Success is reported, but some results may be missing due to errors", +"Quota information is not available to client requests (e.g:\nregions.list).", +"The user attempted to use a resource that requires a TOS they have not\naccepted.", +"Warning that a resource is in use.", +"One or more of the resources set to auto-delete could not be deleted\nbecause they were in use.", +"When a resource schema validation is ignored.", +"Instance template used in instance group manager is valid as such, but\nits application does not make a lot of sense, because it allows only\nsingle instance in instance group.", +"When undeclared properties in the schema are present", +"A given scope cannot be reached." +], +"type": "string" +}, +"data": { +"description": "[Output Only] Metadata about this warning in key:\nvalue format. For example:\n\n\"data\": [\n {\n \"key\": \"scope\",\n \"value\": \"zones/us-east1-d\"\n }", +"items": { +"properties": { +"key": { +"description": "[Output Only] A key that provides more detail on the warning being\nreturned. For example, for warnings where there are no results in a list\nrequest for a particular zone, this key might be scope and\nthe key value might be the zone name. Other examples might be a key\nindicating a deprecated resource and a suggested replacement, or a\nwarning about invalid network settings (for example, if an instance\nattempts to perform IP forwarding but is not enabled for IP forwarding).", +"type": "string" +}, +"value": { +"description": "[Output Only] A warning data value corresponding to the key.", +"type": "string" +} +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "[Output Only] A human-readable description of the warning code.", +"type": "string" +} +}, +"type": "object" +} +}, +"type": "object" +}, +"VpnGatewayParams": { +"id": "VpnGatewayParams", +"properties": { +"resourceManagerTags": { +"additionalProperties": { +"type": "string" +}, +"description": "Tag keys/values directly bound to this resource.\nTag keys and values have the same definition as resource\nmanager tags. The field is allowed for INSERT\nonly. The keys/values to set on the resource should be specified in\neither ID { : } or Namespaced format\n{ : }.\nFor example the following are valid inputs:\n* {\"tagKeys/333\" : \"tagValues/444\", \"tagKeys/123\" : \"tagValues/456\"}\n* {\"123/environment\" : \"production\", \"345/abc\" : \"xyz\"}\nNote:\n* Invalid combinations of ID & namespaced format is not supported. For\n instance: {\"123/environment\" : \"tagValues/444\"} is invalid.\n* Inconsistent format is not supported. For instance:\n {\"tagKeys/333\" : \"tagValues/444\", \"123/env\" : \"prod\"} is invalid.", +"type": "object" +} +}, +"type": "object" +}, +"VpnGatewayStatus": { +"id": "VpnGatewayStatus", +"properties": { +"vpnConnections": { +"description": "Output only. List of VPN connection for this VpnGateway.", +"items": { +"$ref": "VpnGatewayStatusVpnConnection" +}, +"readOnly": true, +"type": "array" +} +}, +"type": "object" +}, +"VpnGatewayStatusHighAvailabilityRequirementState": { +"description": "Describes the high availability requirement state for the VPN connection\nbetween this Cloud VPN gateway and a peer gateway.", +"id": "VpnGatewayStatusHighAvailabilityRequirementState", +"properties": { +"state": { +"description": "Indicates the high availability requirement state for the VPN connection.\nValid values are CONNECTION_REDUNDANCY_MET,CONNECTION_REDUNDANCY_NOT_MET.", +"enum": [ +"CONNECTION_REDUNDANCY_MET", +"CONNECTION_REDUNDANCY_NOT_MET" +], +"enumDescriptions": [ +"VPN tunnels are configured with adequate redundancy from Cloud VPN\ngateway to the peer VPN gateway. For both GCP-to-non-GCP and GCP-to-GCP\nconnections, the adequate redundancy is a pre-requirement for users to\nget 99.99% availability on GCP side; please note that for any\nconnection, end-to-end 99.99% availability is subject to proper\nconfiguration on the peer VPN gateway.", +"VPN tunnels are not configured with adequate redundancy from the Cloud\nVPN gateway to the peer gateway" +], +"type": "string" +}, +"unsatisfiedReason": { +"description": "Indicates the reason why the VPN connection does not meet the high\navailability redundancy criteria/requirement.\nValid values is INCOMPLETE_TUNNELS_COVERAGE.", +"enum": [ +"INCOMPLETE_TUNNELS_COVERAGE" +], +"enumDescriptions": [ +"" +], +"type": "string" +} +}, +"type": "object" +}, +"VpnGatewayStatusTunnel": { +"description": "Contains some information about a VPN tunnel.", +"id": "VpnGatewayStatusTunnel", +"properties": { +"localGatewayInterface": { +"description": "Output only. The VPN gateway interface this VPN tunnel is associated with.", +"format": "uint32", +"readOnly": true, +"type": "integer" +}, +"peerGatewayInterface": { +"description": "Output only. The peer gateway interface this VPN tunnel is connected to, the peer\ngateway could either be an external VPN gateway or a Google Cloud\nVPN gateway.", +"format": "uint32", +"readOnly": true, +"type": "integer" +}, +"tunnelUrl": { +"description": "Output only. URL reference to the VPN tunnel.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"VpnGatewayStatusVpnConnection": { +"description": "A VPN connection contains all VPN tunnels connected from this VpnGateway\nto the same peer gateway. The peer gateway could either be an external VPN\ngateway or a Google Cloud VPN gateway.", +"id": "VpnGatewayStatusVpnConnection", +"properties": { +"peerExternalGateway": { +"description": "Output only. URL reference to the peer external VPN gateways to which the VPN tunnels\nin this VPN connection are connected.\nThis field is mutually exclusive with peer_gcp_gateway.", +"readOnly": true, +"type": "string" +}, +"peerGcpGateway": { +"description": "Output only. URL reference to the peer side VPN gateways to which the VPN tunnels in\nthis VPN connection are connected.\nThis field is mutually exclusive with peer_gcp_gateway.", +"readOnly": true, +"type": "string" +}, +"state": { +"$ref": "VpnGatewayStatusHighAvailabilityRequirementState", +"description": "HighAvailabilityRequirementState for the VPN connection." +}, +"tunnels": { +"description": "List of VPN tunnels that are in this VPN connection.", +"items": { +"$ref": "VpnGatewayStatusTunnel" +}, +"type": "array" +} +}, +"type": "object" +}, +"VpnGatewayVpnGatewayInterface": { +"description": "A VPN gateway interface.", +"id": "VpnGatewayVpnGatewayInterface", +"properties": { +"id": { +"description": "Output only. [Output Only] Numeric identifier for this VPN interface associated with\nthe VPN gateway.", +"format": "uint32", +"readOnly": true, +"type": "integer" +}, +"interconnectAttachment": { +"description": "URL of the VLAN attachment (interconnectAttachment) resource for this\nVPN gateway interface. When the value of this field is present, the VPN\ngateway is used for HA VPN over Cloud Interconnect; all egress\nor ingress traffic for this VPN gateway interface goes through the\nspecified VLAN attachment resource.", +"type": "string" +}, +"ipAddress": { +"description": "Output only. [Output Only] IP address for this VPN interface associated with the VPN\ngateway.\nThe IP address could be either a regional external IP address or\na regional internal IP address. The two IP addresses for a VPN gateway\nmust be all regional external or regional internal IP addresses. There\ncannot be a mix of regional external IP addresses and regional internal\nIP addresses. For HA VPN over Cloud Interconnect, the IP addresses\nfor both interfaces could either be regional internal IP addresses or\nregional external IP addresses. For regular (non HA VPN over Cloud\nInterconnect) HA VPN tunnels, the IP address must be a regional external\nIP address.", +"readOnly": true, +"type": "string" +}, +"ipv6Address": { +"description": "Output only. [Output Only] IPv6 address for this VPN interface associated with the VPN\ngateway.\nThe IPv6 address must be a regional external IPv6 address. The format is\nRFC 5952 format (e.g. 2001:db8::2d9:51:0:0).", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"VpnGatewaysGetStatusResponse": { +"id": "VpnGatewaysGetStatusResponse", +"properties": { +"result": { +"$ref": "VpnGatewayStatus" +} +}, +"type": "object" +}, +"VpnGatewaysScopedList": { +"id": "VpnGatewaysScopedList", +"properties": { +"vpnGateways": { +"description": "[Output Only] A list of VPN gateways contained in this scope.", +"items": { +"$ref": "VpnGateway" +}, +"type": "array" +}, +"warning": { +"description": "[Output Only] Informational warning which replaces the list of addresses\nwhen the list is empty.", +"properties": { +"code": { +"description": "[Output Only] A warning code, if applicable. For example, Compute\nEngine returns NO_RESULTS_ON_PAGE if there\nare no results in the response.", +"enum": [ +"CLEANUP_FAILED", +"DEPRECATED_RESOURCE_USED", +"DEPRECATED_TYPE_USED", +"DISK_SIZE_LARGER_THAN_IMAGE_SIZE", +"EXPERIMENTAL_TYPE_USED", +"EXTERNAL_API_WARNING", +"FIELD_VALUE_OVERRIDEN", +"INJECTED_KERNELS_DEPRECATED", +"INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", +"LARGE_DEPLOYMENT_WARNING", +"LIST_OVERHEAD_QUOTA_EXCEED", +"MISSING_TYPE_DEPENDENCY", +"NEXT_HOP_ADDRESS_NOT_ASSIGNED", +"NEXT_HOP_CANNOT_IP_FORWARD", +"NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", +"NEXT_HOP_INSTANCE_NOT_FOUND", +"NEXT_HOP_INSTANCE_NOT_ON_NETWORK", +"NEXT_HOP_NOT_RUNNING", +"NOT_CRITICAL_ERROR", +"NO_RESULTS_ON_PAGE", +"PARTIAL_SUCCESS", +"QUOTA_INFO_UNAVAILABLE", +"REQUIRED_TOS_AGREEMENT", +"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", +"RESOURCE_NOT_DELETED", +"SCHEMA_VALIDATION_IGNORED", +"SINGLE_INSTANCE_PROPERTY_TEMPLATE", +"UNDECLARED_PROPERTIES", +"UNREACHABLE" +], +"enumDeprecated": [ +false, +false, +false, +false, +false, +false, +true, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false +], +"enumDescriptions": [ +"Warning about failed cleanup of transient changes made by a failed\noperation.", +"A link to a deprecated resource was created.", +"When deploying and at least one of the resources has a type marked as\ndeprecated", +"The user created a boot disk that is larger than image size.", +"When deploying and at least one of the resources has a type marked as\nexperimental", +"Warning that is present in an external api call", +"Warning that value of a field has been overridden.\nDeprecated unused field.", +"The operation involved use of an injected kernel, which is deprecated.", +"A WEIGHTED_MAGLEV backend service is associated with a health check that is\nnot of type HTTP/HTTPS/HTTP2.", +"When deploying a deployment with a exceedingly large number of resources", +"Resource can't be retrieved due to list overhead quota exceed\nwhich captures the amount of resources filtered out by\nuser-defined list filter.", +"A resource depends on a missing type", +"The route's nextHopIp address is not assigned to an instance on the\nnetwork.", +"The route's next hop instance cannot ip forward.", +"The route's nextHopInstance URL refers to an instance that does not have an\nipv6 interface on the same network as the route.", +"The route's nextHopInstance URL refers to an instance that does not exist.", +"The route's nextHopInstance URL refers to an instance that is not on the\nsame network as the route.", +"The route's next hop instance does not have a status of RUNNING.", +"Error which is not critical. We decided to continue the process despite\nthe mentioned error.", +"No results are present on a particular list page.", +"Success is reported, but some results may be missing due to errors", +"Quota information is not available to client requests (e.g:\nregions.list).", +"The user attempted to use a resource that requires a TOS they have not\naccepted.", +"Warning that a resource is in use.", +"One or more of the resources set to auto-delete could not be deleted\nbecause they were in use.", +"When a resource schema validation is ignored.", +"Instance template used in instance group manager is valid as such, but\nits application does not make a lot of sense, because it allows only\nsingle instance in instance group.", +"When undeclared properties in the schema are present", +"A given scope cannot be reached." +], +"type": "string" +}, +"data": { +"description": "[Output Only] Metadata about this warning in key:\nvalue format. For example:\n\n\"data\": [\n {\n \"key\": \"scope\",\n \"value\": \"zones/us-east1-d\"\n }", +"items": { +"properties": { +"key": { +"description": "[Output Only] A key that provides more detail on the warning being\nreturned. For example, for warnings where there are no results in a list\nrequest for a particular zone, this key might be scope and\nthe key value might be the zone name. Other examples might be a key\nindicating a deprecated resource and a suggested replacement, or a\nwarning about invalid network settings (for example, if an instance\nattempts to perform IP forwarding but is not enabled for IP forwarding).", +"type": "string" +}, +"value": { +"description": "[Output Only] A warning data value corresponding to the key.", +"type": "string" +} +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "[Output Only] A human-readable description of the warning code.", +"type": "string" +} +}, +"type": "object" +} +}, +"type": "object" +}, +"VpnTunnel": { +"description": "Represents a Cloud VPN Tunnel resource.\n\nFor more information about VPN, read the\nthe Cloud VPN Overview.", +"id": "VpnTunnel", +"properties": { +"capacityTier": { +"description": "Capacity tier of the VPN tunnel. This is used for IPsec over Interconnect\ntunnels to indicate different bandwidth limits.", +"enum": [ +"DEFAULT", +"HIGH" +], +"enumDescriptions": [ +"DEFAULT: A VPN tunnel which can support up to 3 Gbps.", +"HIGH: A VPN tunnel which can support up to 6 Gbps." +], +"type": "string" +}, +"cipherSuite": { +"$ref": "VpnTunnelCipherSuite", +"description": "User specified list of ciphers to use for the phase 1 and phase 2 of the\nIKE protocol." +}, +"creationTimestamp": { +"description": "Output only. [Output Only] Creation timestamp inRFC3339\ntext format.", +"readOnly": true, +"type": "string" +}, +"description": { +"description": "An optional description of this resource. Provide this property when you\ncreate the resource.", +"type": "string" +}, +"detailedStatus": { +"description": "[Output Only] Detailed status message for the VPN tunnel.", +"type": "string" +}, +"id": { +"description": "[Output Only] The unique identifier for the resource. This identifier is\ndefined by the server.", +"format": "uint64", +"type": "string" +}, +"ikeVersion": { +"description": "IKE protocol version to use when establishing the VPN tunnel with the peer\nVPN gateway. Acceptable IKE versions are 1 or 2.\nThe default version is 2.", +"format": "int32", +"type": "integer" +}, +"kind": { +"default": "compute#vpnTunnel", +"description": "Output only. [Output Only] Type of resource. Always compute#vpnTunnel for\nVPN tunnels.", +"readOnly": true, +"type": "string" +}, +"labelFingerprint": { +"description": "A fingerprint for the labels being applied to this VpnTunnel, which is\nessentially a hash of the labels set used for optimistic locking. The\nfingerprint is initially generated by Compute Engine and changes after\nevery request to modify or update labels. You must always provide an\nup-to-date fingerprint hash in order to update or change labels,\notherwise the request will fail with error412 conditionNotMet.\n\nTo see the latest fingerprint, make a get() request to\nretrieve a VpnTunnel.", +"format": "byte", +"type": "string" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Labels for this resource. These can only be added or modified by thesetLabels method. Each label key/value pair must comply withRFC1035.\nLabel values may be empty.", +"type": "object" +}, +"localTrafficSelector": { +"description": "Local traffic selector to use when establishing the VPN tunnel with the\npeer VPN gateway. The value should be a CIDR formatted string, for\nexample: 192.168.0.0/16. The ranges must be disjoint.\nOnly IPv4 is supported for Classic VPN tunnels. This field is output only\nfor HA VPN tunnels.", +"items": { +"type": "string" +}, +"type": "array" +}, +"name": { +"annotations": { +"required": [ +"compute.vpnTunnels.insert" +] +}, +"description": "Name of the resource. Provided by the client when the resource is created.\nThe name must be 1-63 characters long, and comply withRFC1035.\nSpecifically, the name must be 1-63 characters long and match the regular\nexpression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first\ncharacter must be a lowercase letter, and all following characters must\nbe a dash, lowercase letter, or digit, except the last character, which\ncannot be a dash.", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"type": "string" +}, +"params": { +"$ref": "VpnTunnelParams", +"description": "Input only. [Input Only] Additional params passed with the request, but not persisted\nas part of resource payload." +}, +"peerExternalGateway": { +"description": "URL of the peer side external VPN gateway to which this VPN tunnel is\nconnected.\nProvided by the client when the VPN tunnel is created.\nThis field is exclusive with the field peerGcpGateway.", +"type": "string" +}, +"peerExternalGatewayInterface": { +"description": "The interface ID of the external VPN gateway to which this VPN tunnel is\nconnected. Provided by the client when the VPN tunnel is created.\nPossible values are: `0`, `1`, `2`, `3`. The number of IDs in use\ndepends on the external VPN gateway redundancy type.", +"format": "int32", +"type": "integer" +}, +"peerGcpGateway": { +"description": "URL of the peer side HA VPN gateway to which this VPN tunnel\nis connected. Provided by the client when the VPN tunnel is created.\nThis field can be used when creating highly available VPN from VPC network\nto VPC network, the field is exclusive with the field peerExternalGateway.\nIf provided, the VPN tunnel will automatically use the same\nvpnGatewayInterface ID in the peer Google Cloud VPN gateway.", +"type": "string" +}, +"peerIp": { +"description": "IP address of the peer VPN gateway. Only IPv4 is supported. This field can\nbe set only for Classic VPN tunnels.", +"type": "string" +}, +"region": { +"description": "[Output Only] URL of the region where the VPN tunnel resides.\nYou must specify this field as part of the HTTP request URL. It is\nnot settable as a field in the request body.", +"type": "string" +}, +"remoteTrafficSelector": { +"description": "Remote traffic selectors to use when establishing the VPN tunnel with\nthe peer VPN gateway. The value should be a CIDR formatted string,\nfor example: 192.168.0.0/16. The ranges should be disjoint. Only IPv4 is\nsupported for Classic VPN tunnels. This field is output only for HA VPN\ntunnels.", +"items": { +"type": "string" +}, +"type": "array" +}, +"router": { +"description": "URL of the router resource to be used for dynamic routing.", +"type": "string" +}, +"selfLink": { +"description": "[Output Only] Server-defined URL for the resource.", +"type": "string" +}, +"sharedSecret": { +"description": "Shared secret used to set the secure session between the Cloud VPN gateway\nand the peer VPN gateway.", +"type": "string" +}, +"sharedSecretHash": { +"description": "Hash of the shared secret.", +"type": "string" +}, +"status": { +"description": "[Output Only] The status of the VPN tunnel, which can be one of the\nfollowing:\n \n - PROVISIONING: Resource is being allocated for the VPN tunnel.\n - WAITING_FOR_FULL_CONFIG: Waiting to receive all VPN-related configs\n from\n the user. Network, TargetVpnGateway, VpnTunnel, ForwardingRule, and Route\n resources are needed to setup the VPN tunnel.\n - FIRST_HANDSHAKE: Successful first handshake with the peer VPN.\n - ESTABLISHED: Secure session is successfully established with the peer\n VPN. \n - NETWORK_ERROR: Deprecated, replaced by\n NO_INCOMING_PACKETS \n - AUTHORIZATION_ERROR: Auth error (for example,\n bad shared secret). \n - NEGOTIATION_FAILURE: Handshake failed.\n - DEPROVISIONING: Resources are being deallocated for the VPN\n tunnel. \n - FAILED: Tunnel creation has failed and the tunnel is not\n ready to be used. \n - NO_INCOMING_PACKETS: No incoming packets from\n peer. \n - REJECTED: Tunnel configuration was rejected, can be result\n of being denied access. \n - ALLOCATING_RESOURCES: Cloud VPN is in the\n process of allocating all required resources.\n - STOPPED: Tunnel is stopped due to its Forwarding Rules being deleted\n for Classic VPN tunnels or the project is in frozen state.\n - PEER_IDENTITY_MISMATCH: Peer identity does not match peer IP,\n probably behind NAT. \n - TS_NARROWING_NOT_ALLOWED: Traffic selector\n narrowing not allowed for an HA-VPN tunnel.", +"enum": [ +"ALLOCATING_RESOURCES", +"AUTHORIZATION_ERROR", +"DEPROVISIONING", +"ESTABLISHED", +"FAILED", +"FIRST_HANDSHAKE", +"NEGOTIATION_FAILURE", +"NETWORK_ERROR", +"NO_INCOMING_PACKETS", +"PROVISIONING", +"REJECTED", +"STOPPED", +"WAITING_FOR_FULL_CONFIG" +], +"enumDescriptions": [ +"Cloud VPN is in the process of allocating all required resources\n(specifically, a borg task).", +"Auth error (e.g. bad shared secret).", +"Resources is being deallocated for the VPN tunnel.", +"Secure session is successfully established with peer VPN.", +"Tunnel creation has failed and the tunnel is not ready to be used.", +"Successful first handshake with peer VPN.", +"Handshake failed.", +"Deprecated, replaced by NO_INCOMING_PACKETS", +"No incoming packets from peer", +"Resource is being allocated for the VPN tunnel.", +"Tunnel configuration was rejected, can be result of being denylisted.", +"Tunnel is stopped due to its Forwarding Rules being deleted.", +"Waiting to receive all VPN-related configs from user. Network,\nTargetVpnGateway, VpnTunnel, ForwardingRule and Route resources are\nneeded to setup VPN tunnel." +], +"type": "string" +}, +"targetVpnGateway": { +"description": "URL of the Target VPN gateway with which this VPN tunnel is associated.\nProvided by the client when the VPN tunnel is created.\nThis field can be set only for Classic VPN tunnels.", +"type": "string" +}, +"vpnGateway": { +"description": "URL of the VPN gateway with which this VPN tunnel is associated.\nProvided by the client when the VPN tunnel is created. This must be\nused (instead of target_vpn_gateway) if a High Availability VPN gateway\nresource is created.", +"type": "string" +}, +"vpnGatewayInterface": { +"description": "The interface ID of the VPN gateway with which this VPN tunnel is\nassociated.\nPossible values are: `0`, `1`.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"VpnTunnelAggregatedList": { +"id": "VpnTunnelAggregatedList", +"properties": { +"id": { +"description": "[Output Only] Unique identifier for the resource; defined by the server.", +"type": "string" +}, +"items": { +"additionalProperties": { +"$ref": "VpnTunnelsScopedList", +"description": "Name of the scope containing this set of VPN tunnels." +}, +"description": "A list of VpnTunnelsScopedList resources.", +"type": "object" +}, +"kind": { +"default": "compute#vpnTunnelAggregatedList", +"description": "Output only. [Output Only] Type of resource. Always compute#vpnTunnel for\nVPN tunnels.", +"readOnly": true, +"type": "string" +}, +"nextPageToken": { +"description": "[Output Only] This token allows you to get the next page of results for\nlist requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for\nthe query parameter pageToken in the next list request.\nSubsequent list requests will have their own nextPageToken to\ncontinue paging through the results.", +"type": "string" +}, +"selfLink": { +"description": "Output only. [Output Only] Server-defined URL for this resource.", +"readOnly": true, +"type": "string" +}, +"unreachables": { +"description": "Output only. [Output Only] Unreachable resources.", +"items": { +"type": "string" +}, +"readOnly": true, +"type": "array" +}, +"warning": { +"description": "[Output Only] Informational warning message.", +"properties": { +"code": { +"description": "[Output Only] A warning code, if applicable. For example, Compute\nEngine returns NO_RESULTS_ON_PAGE if there\nare no results in the response.", +"enum": [ +"CLEANUP_FAILED", +"DEPRECATED_RESOURCE_USED", +"DEPRECATED_TYPE_USED", +"DISK_SIZE_LARGER_THAN_IMAGE_SIZE", +"EXPERIMENTAL_TYPE_USED", +"EXTERNAL_API_WARNING", +"FIELD_VALUE_OVERRIDEN", +"INJECTED_KERNELS_DEPRECATED", +"INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", +"LARGE_DEPLOYMENT_WARNING", +"LIST_OVERHEAD_QUOTA_EXCEED", +"MISSING_TYPE_DEPENDENCY", +"NEXT_HOP_ADDRESS_NOT_ASSIGNED", +"NEXT_HOP_CANNOT_IP_FORWARD", +"NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", +"NEXT_HOP_INSTANCE_NOT_FOUND", +"NEXT_HOP_INSTANCE_NOT_ON_NETWORK", +"NEXT_HOP_NOT_RUNNING", +"NOT_CRITICAL_ERROR", +"NO_RESULTS_ON_PAGE", +"PARTIAL_SUCCESS", +"QUOTA_INFO_UNAVAILABLE", +"REQUIRED_TOS_AGREEMENT", +"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", +"RESOURCE_NOT_DELETED", +"SCHEMA_VALIDATION_IGNORED", +"SINGLE_INSTANCE_PROPERTY_TEMPLATE", +"UNDECLARED_PROPERTIES", +"UNREACHABLE" +], +"enumDeprecated": [ +false, +false, +false, +false, +false, +false, +true, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false +], +"enumDescriptions": [ +"Warning about failed cleanup of transient changes made by a failed\noperation.", +"A link to a deprecated resource was created.", +"When deploying and at least one of the resources has a type marked as\ndeprecated", +"The user created a boot disk that is larger than image size.", +"When deploying and at least one of the resources has a type marked as\nexperimental", +"Warning that is present in an external api call", +"Warning that value of a field has been overridden.\nDeprecated unused field.", +"The operation involved use of an injected kernel, which is deprecated.", +"A WEIGHTED_MAGLEV backend service is associated with a health check that is\nnot of type HTTP/HTTPS/HTTP2.", +"When deploying a deployment with a exceedingly large number of resources", +"Resource can't be retrieved due to list overhead quota exceed\nwhich captures the amount of resources filtered out by\nuser-defined list filter.", +"A resource depends on a missing type", +"The route's nextHopIp address is not assigned to an instance on the\nnetwork.", +"The route's next hop instance cannot ip forward.", +"The route's nextHopInstance URL refers to an instance that does not have an\nipv6 interface on the same network as the route.", +"The route's nextHopInstance URL refers to an instance that does not exist.", +"The route's nextHopInstance URL refers to an instance that is not on the\nsame network as the route.", +"The route's next hop instance does not have a status of RUNNING.", +"Error which is not critical. We decided to continue the process despite\nthe mentioned error.", +"No results are present on a particular list page.", +"Success is reported, but some results may be missing due to errors", +"Quota information is not available to client requests (e.g:\nregions.list).", +"The user attempted to use a resource that requires a TOS they have not\naccepted.", +"Warning that a resource is in use.", +"One or more of the resources set to auto-delete could not be deleted\nbecause they were in use.", +"When a resource schema validation is ignored.", +"Instance template used in instance group manager is valid as such, but\nits application does not make a lot of sense, because it allows only\nsingle instance in instance group.", +"When undeclared properties in the schema are present", +"A given scope cannot be reached." +], +"type": "string" +}, +"data": { +"description": "[Output Only] Metadata about this warning in key:\nvalue format. For example:\n\n\"data\": [\n {\n \"key\": \"scope\",\n \"value\": \"zones/us-east1-d\"\n }", +"items": { +"properties": { +"key": { +"description": "[Output Only] A key that provides more detail on the warning being\nreturned. For example, for warnings where there are no results in a list\nrequest for a particular zone, this key might be scope and\nthe key value might be the zone name. Other examples might be a key\nindicating a deprecated resource and a suggested replacement, or a\nwarning about invalid network settings (for example, if an instance\nattempts to perform IP forwarding but is not enabled for IP forwarding).", +"type": "string" +}, +"value": { +"description": "[Output Only] A warning data value corresponding to the key.", +"type": "string" +} +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "[Output Only] A human-readable description of the warning code.", +"type": "string" +} +}, +"type": "object" +} +}, +"type": "object" +}, +"VpnTunnelCipherSuite": { +"id": "VpnTunnelCipherSuite", +"properties": { +"phase1": { +"$ref": "VpnTunnelPhase1Algorithms" +}, +"phase2": { +"$ref": "VpnTunnelPhase2Algorithms" +} +}, +"type": "object" +}, +"VpnTunnelList": { +"description": "Contains a list of VpnTunnel resources.", +"id": "VpnTunnelList", +"properties": { +"id": { +"description": "[Output Only] Unique identifier for the resource; defined by the server.", +"type": "string" +}, +"items": { +"description": "A list of VpnTunnel resources.", +"items": { +"$ref": "VpnTunnel" +}, +"type": "array" +}, +"kind": { +"default": "compute#vpnTunnelList", +"description": "Output only. [Output Only] Type of resource. Always compute#vpnTunnel for\nVPN tunnels.", +"readOnly": true, +"type": "string" +}, +"nextPageToken": { +"description": "[Output Only] This token allows you to get the next page of results for\nlist requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for\nthe query parameter pageToken in the next list request.\nSubsequent list requests will have their own nextPageToken to\ncontinue paging through the results.", +"type": "string" +}, +"selfLink": { +"description": "Output only. [Output Only] Server-defined URL for this resource.", +"readOnly": true, +"type": "string" +}, +"warning": { +"description": "[Output Only] Informational warning message.", +"properties": { +"code": { +"description": "[Output Only] A warning code, if applicable. For example, Compute\nEngine returns NO_RESULTS_ON_PAGE if there\nare no results in the response.", +"enum": [ +"CLEANUP_FAILED", +"DEPRECATED_RESOURCE_USED", +"DEPRECATED_TYPE_USED", +"DISK_SIZE_LARGER_THAN_IMAGE_SIZE", +"EXPERIMENTAL_TYPE_USED", +"EXTERNAL_API_WARNING", +"FIELD_VALUE_OVERRIDEN", +"INJECTED_KERNELS_DEPRECATED", +"INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", +"LARGE_DEPLOYMENT_WARNING", +"LIST_OVERHEAD_QUOTA_EXCEED", +"MISSING_TYPE_DEPENDENCY", +"NEXT_HOP_ADDRESS_NOT_ASSIGNED", +"NEXT_HOP_CANNOT_IP_FORWARD", +"NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", +"NEXT_HOP_INSTANCE_NOT_FOUND", +"NEXT_HOP_INSTANCE_NOT_ON_NETWORK", +"NEXT_HOP_NOT_RUNNING", +"NOT_CRITICAL_ERROR", +"NO_RESULTS_ON_PAGE", +"PARTIAL_SUCCESS", +"QUOTA_INFO_UNAVAILABLE", +"REQUIRED_TOS_AGREEMENT", +"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", +"RESOURCE_NOT_DELETED", +"SCHEMA_VALIDATION_IGNORED", +"SINGLE_INSTANCE_PROPERTY_TEMPLATE", +"UNDECLARED_PROPERTIES", +"UNREACHABLE" +], +"enumDeprecated": [ +false, +false, +false, +false, +false, +false, +true, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false +], +"enumDescriptions": [ +"Warning about failed cleanup of transient changes made by a failed\noperation.", +"A link to a deprecated resource was created.", +"When deploying and at least one of the resources has a type marked as\ndeprecated", +"The user created a boot disk that is larger than image size.", +"When deploying and at least one of the resources has a type marked as\nexperimental", +"Warning that is present in an external api call", +"Warning that value of a field has been overridden.\nDeprecated unused field.", +"The operation involved use of an injected kernel, which is deprecated.", +"A WEIGHTED_MAGLEV backend service is associated with a health check that is\nnot of type HTTP/HTTPS/HTTP2.", +"When deploying a deployment with a exceedingly large number of resources", +"Resource can't be retrieved due to list overhead quota exceed\nwhich captures the amount of resources filtered out by\nuser-defined list filter.", +"A resource depends on a missing type", +"The route's nextHopIp address is not assigned to an instance on the\nnetwork.", +"The route's next hop instance cannot ip forward.", +"The route's nextHopInstance URL refers to an instance that does not have an\nipv6 interface on the same network as the route.", +"The route's nextHopInstance URL refers to an instance that does not exist.", +"The route's nextHopInstance URL refers to an instance that is not on the\nsame network as the route.", +"The route's next hop instance does not have a status of RUNNING.", +"Error which is not critical. We decided to continue the process despite\nthe mentioned error.", +"No results are present on a particular list page.", +"Success is reported, but some results may be missing due to errors", +"Quota information is not available to client requests (e.g:\nregions.list).", +"The user attempted to use a resource that requires a TOS they have not\naccepted.", +"Warning that a resource is in use.", +"One or more of the resources set to auto-delete could not be deleted\nbecause they were in use.", +"When a resource schema validation is ignored.", +"Instance template used in instance group manager is valid as such, but\nits application does not make a lot of sense, because it allows only\nsingle instance in instance group.", +"When undeclared properties in the schema are present", +"A given scope cannot be reached." +], +"type": "string" +}, +"data": { +"description": "[Output Only] Metadata about this warning in key:\nvalue format. For example:\n\n\"data\": [\n {\n \"key\": \"scope\",\n \"value\": \"zones/us-east1-d\"\n }", +"items": { +"properties": { +"key": { +"description": "[Output Only] A key that provides more detail on the warning being\nreturned. For example, for warnings where there are no results in a list\nrequest for a particular zone, this key might be scope and\nthe key value might be the zone name. Other examples might be a key\nindicating a deprecated resource and a suggested replacement, or a\nwarning about invalid network settings (for example, if an instance\nattempts to perform IP forwarding but is not enabled for IP forwarding).", +"type": "string" +}, +"value": { +"description": "[Output Only] A warning data value corresponding to the key.", +"type": "string" +} +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "[Output Only] A human-readable description of the warning code.", +"type": "string" +} +}, +"type": "object" +} +}, +"type": "object" +}, +"VpnTunnelParams": { +"id": "VpnTunnelParams", +"properties": { +"resourceManagerTags": { +"additionalProperties": { +"type": "string" +}, +"description": "Tag keys/values directly bound to this resource.\nTag keys and values have the same definition as resource\nmanager tags. The field is allowed for INSERT\nonly. The keys/values to set on the resource should be specified in\neither ID { : } or Namespaced format\n{ : }.\nFor example the following are valid inputs:\n* {\"tagKeys/333\" : \"tagValues/444\", \"tagKeys/123\" : \"tagValues/456\"}\n* {\"123/environment\" : \"production\", \"345/abc\" : \"xyz\"}\nNote:\n* Invalid combinations of ID & namespaced format is not supported. For\n instance: {\"123/environment\" : \"tagValues/444\"} is invalid.\n* Inconsistent format is not supported. For instance:\n {\"tagKeys/333\" : \"tagValues/444\", \"123/env\" : \"prod\"} is invalid.", +"type": "object" +} +}, +"type": "object" +}, +"VpnTunnelPhase1Algorithms": { +"id": "VpnTunnelPhase1Algorithms", +"properties": { +"dh": { +"items": { +"type": "string" +}, +"type": "array" +}, +"encryption": { +"items": { +"type": "string" +}, +"type": "array" +}, +"integrity": { +"items": { +"type": "string" +}, +"type": "array" +}, +"prf": { +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"VpnTunnelPhase2Algorithms": { +"id": "VpnTunnelPhase2Algorithms", +"properties": { +"encryption": { +"items": { +"type": "string" +}, +"type": "array" +}, +"integrity": { +"items": { +"type": "string" +}, +"type": "array" +}, +"pfs": { +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"VpnTunnelsScopedList": { +"id": "VpnTunnelsScopedList", +"properties": { +"vpnTunnels": { +"description": "A list of VPN tunnels contained in this scope.", +"items": { +"$ref": "VpnTunnel" +}, +"type": "array" +}, +"warning": { +"description": "Informational warning which replaces the list of addresses when\nthe list is empty.", +"properties": { +"code": { +"description": "[Output Only] A warning code, if applicable. For example, Compute\nEngine returns NO_RESULTS_ON_PAGE if there\nare no results in the response.", +"enum": [ +"CLEANUP_FAILED", +"DEPRECATED_RESOURCE_USED", +"DEPRECATED_TYPE_USED", +"DISK_SIZE_LARGER_THAN_IMAGE_SIZE", +"EXPERIMENTAL_TYPE_USED", +"EXTERNAL_API_WARNING", +"FIELD_VALUE_OVERRIDEN", +"INJECTED_KERNELS_DEPRECATED", +"INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", +"LARGE_DEPLOYMENT_WARNING", +"LIST_OVERHEAD_QUOTA_EXCEED", +"MISSING_TYPE_DEPENDENCY", +"NEXT_HOP_ADDRESS_NOT_ASSIGNED", +"NEXT_HOP_CANNOT_IP_FORWARD", +"NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", +"NEXT_HOP_INSTANCE_NOT_FOUND", +"NEXT_HOP_INSTANCE_NOT_ON_NETWORK", +"NEXT_HOP_NOT_RUNNING", +"NOT_CRITICAL_ERROR", +"NO_RESULTS_ON_PAGE", +"PARTIAL_SUCCESS", +"QUOTA_INFO_UNAVAILABLE", +"REQUIRED_TOS_AGREEMENT", +"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", +"RESOURCE_NOT_DELETED", +"SCHEMA_VALIDATION_IGNORED", +"SINGLE_INSTANCE_PROPERTY_TEMPLATE", +"UNDECLARED_PROPERTIES", +"UNREACHABLE" +], +"enumDeprecated": [ +false, +false, +false, +false, +false, +false, +true, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false +], +"enumDescriptions": [ +"Warning about failed cleanup of transient changes made by a failed\noperation.", +"A link to a deprecated resource was created.", +"When deploying and at least one of the resources has a type marked as\ndeprecated", +"The user created a boot disk that is larger than image size.", +"When deploying and at least one of the resources has a type marked as\nexperimental", +"Warning that is present in an external api call", +"Warning that value of a field has been overridden.\nDeprecated unused field.", +"The operation involved use of an injected kernel, which is deprecated.", +"A WEIGHTED_MAGLEV backend service is associated with a health check that is\nnot of type HTTP/HTTPS/HTTP2.", +"When deploying a deployment with a exceedingly large number of resources", +"Resource can't be retrieved due to list overhead quota exceed\nwhich captures the amount of resources filtered out by\nuser-defined list filter.", +"A resource depends on a missing type", +"The route's nextHopIp address is not assigned to an instance on the\nnetwork.", +"The route's next hop instance cannot ip forward.", +"The route's nextHopInstance URL refers to an instance that does not have an\nipv6 interface on the same network as the route.", +"The route's nextHopInstance URL refers to an instance that does not exist.", +"The route's nextHopInstance URL refers to an instance that is not on the\nsame network as the route.", +"The route's next hop instance does not have a status of RUNNING.", +"Error which is not critical. We decided to continue the process despite\nthe mentioned error.", +"No results are present on a particular list page.", +"Success is reported, but some results may be missing due to errors", +"Quota information is not available to client requests (e.g:\nregions.list).", +"The user attempted to use a resource that requires a TOS they have not\naccepted.", +"Warning that a resource is in use.", +"One or more of the resources set to auto-delete could not be deleted\nbecause they were in use.", +"When a resource schema validation is ignored.", +"Instance template used in instance group manager is valid as such, but\nits application does not make a lot of sense, because it allows only\nsingle instance in instance group.", +"When undeclared properties in the schema are present", +"A given scope cannot be reached." +], +"type": "string" +}, +"data": { +"description": "[Output Only] Metadata about this warning in key:\nvalue format. For example:\n\n\"data\": [\n {\n \"key\": \"scope\",\n \"value\": \"zones/us-east1-d\"\n }", +"items": { +"properties": { +"key": { +"description": "[Output Only] A key that provides more detail on the warning being\nreturned. For example, for warnings where there are no results in a list\nrequest for a particular zone, this key might be scope and\nthe key value might be the zone name. Other examples might be a key\nindicating a deprecated resource and a suggested replacement, or a\nwarning about invalid network settings (for example, if an instance\nattempts to perform IP forwarding but is not enabled for IP forwarding).", +"type": "string" +}, +"value": { +"description": "[Output Only] A warning data value corresponding to the key.", +"type": "string" +} +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "[Output Only] A human-readable description of the warning code.", +"type": "string" +} +}, +"type": "object" +} +}, +"type": "object" +}, +"WafExpressionSet": { +"id": "WafExpressionSet", +"properties": { +"aliases": { +"description": "A list of alternate IDs. The format should be:\n- E.g. XSS-stable\nGeneric suffix like \"stable\" is particularly useful if a policy\nlikes to avail newer set of expressions without having to change\nthe policy.\nA given alias name can't be used for more than one entity set.", +"items": { +"type": "string" +}, +"type": "array" +}, +"expressions": { +"description": "List of available expressions.", +"items": { +"$ref": "WafExpressionSetExpression" +}, +"type": "array" +}, +"id": { +"description": "Google specified expression set ID. The format should be:\n- E.g. XSS-20170329\nrequired", +"type": "string" +} +}, +"type": "object" +}, +"WafExpressionSetExpression": { +"id": "WafExpressionSetExpression", +"properties": { +"id": { +"description": "Expression ID should uniquely identify the origin of the expression.\nE.g. owasp-crs-v020901-id973337 identifies Owasp core rule set\nversion 2.9.1 rule id 973337.\nThe ID could be used to determine the individual attack definition\nthat has been detected. It could also be used to exclude it from\nthe policy in case of false positive.\nrequired", +"type": "string" +}, +"sensitivity": { +"description": "The sensitivity value associated with the WAF rule ID. This corresponds\nto the ModSecurity paranoia level, ranging from 1 to 4. 0 is reserved for\nopt-in only rules.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"WeightedBackendService": { +"description": "In contrast to a single BackendService in \nHttpRouteAction to which all matching traffic is directed to,WeightedBackendService allows traffic to be split across\nmultiple backend services. The volume of traffic for each\nbackend service is proportional to the weight specified\nin each WeightedBackendService", +"id": "WeightedBackendService", +"properties": { +"backendService": { +"description": "The full or partial URL to the default BackendService\nresource. Before\nforwarding the request to backendService, the load balancer\napplies any relevant headerActions specified as part of thisbackendServiceWeight.", +"type": "string" +}, +"headerAction": { +"$ref": "HttpHeaderAction", +"description": "Specifies changes to request and response headers that need to take\neffect for the selected backendService.\n\nheaderAction specified here take effect beforeheaderAction in the enclosing HttpRouteRule,PathMatcher and UrlMap.\n\nheaderAction is not supported for load balancers that have\ntheir loadBalancingScheme set to EXTERNAL.\n\nNot supported when the URL map is bound to a target gRPC proxy that\nhas validateForProxyless field set to true." +}, +"weight": { +"description": "Specifies the fraction of traffic sent to a backend service,\ncomputed asweight / (sum of all weightedBackendService weights in routeAction).\n\nThe selection of a backend service is determined only for new traffic.\nOnce a user's request has been directed to a backend service,\nsubsequent requests are sent to the same backend service as\ndetermined by the backend service's session affinity policy.\nDon't configure session affinity if you're using weighted traffic\nsplitting. If you do, the weighted traffic splitting configuration takes\nprecedence.\n\nThe value must be from 0 to 1000.", +"format": "uint32", +"type": "integer" +} +}, +"type": "object" +}, +"Wire": { +"description": "A pseudowire that connects two Interconnect connections.", +"id": "Wire", +"properties": { +"adminEnabled": { +"description": "Output only. [Output Only] Indicates whether the wire is enabled.\nWhen false, the wire is disabled. When true and when the wire group of\nthe wire is also enabled, the wire is enabled. Defaults to true.", +"readOnly": true, +"type": "boolean" +}, +"endpoints": { +"description": "Output only. Wire endpoints are specific Interconnect connections.", +"items": { +"$ref": "WireEndpoint" +}, +"readOnly": true, +"type": "array" +}, +"label": { +"description": "Output only. [Output Only] A label that identifies the wire. The format of this label\ncombines the existing labels of the wire group endpoints and Interconnect\nconnections used by this wire in alphabetical order as follows:\n`ENDPOINT_A+CONNECTION_A1,ENDPOINT_B+CONNECTION_B1`, where:\n \n - ENDPOINT_A and ENDPOINT_B: are the labels\n that you entered as map keys when you specified the wire group endpoint\n objects.\n - CONNECTION_A1 and CONNECTION_B1: are the\n labels that you entered as map keys when you specified the wire group\n Interconnect objects.", +"readOnly": true, +"type": "string" +}, +"wireProperties": { +"$ref": "WireProperties", +"description": "Output only. [Output Only] Properties of the wire.", +"readOnly": true +} +}, +"type": "object" +}, +"WireEndpoint": { +"description": "Wire endpoints are specific Interconnect connections.", +"id": "WireEndpoint", +"properties": { +"interconnect": { +"readOnly": true, +"type": "string" +}, +"vlanTag": { +"format": "int32", +"readOnly": true, +"type": "integer" +} +}, +"type": "object" +}, +"WireGroup": { +"description": "A resource that represents a group of redundant wires.", +"id": "WireGroup", +"properties": { +"adminEnabled": { +"description": "Indicates whether the wires in the wire group are enabled. When false, the\nwires in the wire group are disabled. When true and when\nthere is simultaneously no wire-specific override of `adminEnabled` to\nfalse, a given wire is enabled. Defaults to true.", +"type": "boolean" +}, +"creationTimestamp": { +"description": "Output only. [Output Only] Creation timestamp inRFC3339\ntext format.", +"readOnly": true, +"type": "string" +}, +"description": { +"description": "An optional description of the wire group.", +"type": "string" +}, +"endpoints": { +"additionalProperties": { +"$ref": "WireGroupEndpoint" +}, +"description": "A map that contains the logical endpoints of the wire group. Specify\nkey-value pairs for the map as follows:\n \n - Key: an RFC1035 user-specified label.\n - Value: an Endpoint object.", +"type": "object" +}, +"id": { +"description": "Output only. [Output Only] The unique identifier for the resource type. The server\ngenerates this identifier.", +"format": "uint64", +"readOnly": true, +"type": "string" +}, +"kind": { +"default": "compute#wireGroup", +"description": "Output only. [Output Only] Type of the resource. Alwayscompute#wireGroups for wire groups.", +"readOnly": true, +"type": "string" +}, +"name": { +"description": "Name of the resource. Provided by the client when the resource is created.\nThe name must be 1-63 characters long, and comply withRFC1035.\nSpecifically, the name must be 1-63 characters long and match the regular\nexpression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first\ncharacter must be a lowercase letter, and all following characters must\nbe a dash, lowercase letter, or digit, except the last character, which\ncannot be a dash.", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"type": "string" +}, +"reconciling": { +"description": "Output only. [Output Only] Indicates whether there are wire changes yet to be processed.", +"readOnly": true, +"type": "boolean" +}, +"selfLink": { +"description": "Output only. [Output Only] Server-defined URL for the resource.", +"readOnly": true, +"type": "string" +}, +"topology": { +"$ref": "WireGroupTopology", +"description": "Output only. Topology details for the wire group configuration.", +"readOnly": true +}, +"wireGroupProperties": { +"$ref": "WireGroupProperties", +"description": "Properties of the wire group." +}, +"wireProperties": { +"$ref": "WireProperties", +"description": "Properties for all wires in the wire group." +}, +"wires": { +"description": "Output only. The single/redundant wire(s) managed by the wire group.", +"items": { +"$ref": "Wire" +}, +"readOnly": true, +"type": "array" +} +}, +"type": "object" +}, +"WireGroupEndpoint": { +"description": "A logical endpoint for the wire group. An endpoint represents a metro that\ncontains redundant Interconnect connections. A wire group is created\nbetween two endpoints.", +"id": "WireGroupEndpoint", +"properties": { +"interconnects": { +"additionalProperties": { +"$ref": "WireGroupEndpointInterconnect" +}, +"description": "A map that contains the redundant Interconnect connections. Specify\nkey-value pairs for the map as follows:\n \n - Key: an RFC1035 user-specified label.\n - Value: an Interconnect object.", +"type": "object" +} +}, +"type": "object" +}, +"WireGroupEndpointInterconnect": { +"description": "The redundant Interconnect connections for this endpoint.", +"id": "WireGroupEndpointInterconnect", +"properties": { +"interconnect": { +"description": "Required. An Interconnect connection. You can specify the connection as\na partial or full URL. If the connection is in a different project from\nthe cross-site network, use a format that specifies the project. See\nthe following examples of partial and full URLs:\n \n \n \n global/interconnects/NAME\n \n \n projects/PROJECT_ID/global/interconnects/NAME\n \n - \n https://compute.googleapis.com/compute/projects/PROJECT_ID/global/interconnects/NAME", +"type": "string" +}, +"vlanTags": { +"description": "Required. To configure the wire group for VLAN mode, enter a VLAN tag,\nwhich is a number from `2` to `4093`. You can autoallocate a tag by\nentering `0`. To configure the wire group for port mode, enter `-1`.\nReview the following guidelines:\n \n - A VLAN tag must be unique for an Interconnect connection across all\n attachments and wire groups.\n - Both endpoints of a wire must use the same VLAN tag value.\n - Single wire and redundant type wire groups must have only one\n VLAN tag.\n - Port mode pseudowires must have a single VLAN tag with a value of\n `-1` for both endpoints.\n - Box and cross type wire groups must have two VLAN tags. The first\n is for the same-zone pseudowire, and the second is for the cross-zone\n pseudowire.", +"items": { +"format": "int32", +"type": "integer" +}, +"type": "array" +} +}, +"type": "object" +}, +"WireGroupList": { +"description": "Response for the list request.", +"id": "WireGroupList", +"properties": { +"etag": { +"type": "string" +}, +"id": { +"description": "[Output Only] Unique identifier for the resource; defined by the server.", +"type": "string" +}, +"items": { +"description": "A list of wire group resources.", +"items": { +"$ref": "WireGroup" +}, +"type": "array" +}, +"kind": { +"default": "compute#wireGroup", +"description": "Output only. [Output Only] Type of the resource. Alwayscompute#wireGroups for wire groups.", +"readOnly": true, +"type": "string" +}, +"nextPageToken": { +"description": "[Output Only] This token allows you to get the next page of results for\nlist requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for\nthe query parameter pageToken in the next list request.\nSubsequent list requests will have their own nextPageToken to\ncontinue paging through the results.", +"type": "string" +}, +"selfLink": { +"description": "[Output Only] Server-defined URL for this resource.", +"type": "string" +}, +"unreachables": { +"description": "Output only. [Output Only] Unreachable resources.\nend_interface: MixerListResponseWithEtagBuilder", +"items": { +"type": "string" +}, +"readOnly": true, +"type": "array" +}, +"warning": { +"description": "[Output Only] Informational warning message.", +"properties": { +"code": { +"description": "[Output Only] A warning code, if applicable. For example, Compute\nEngine returns NO_RESULTS_ON_PAGE if there\nare no results in the response.", +"enum": [ +"CLEANUP_FAILED", +"DEPRECATED_RESOURCE_USED", +"DEPRECATED_TYPE_USED", +"DISK_SIZE_LARGER_THAN_IMAGE_SIZE", +"EXPERIMENTAL_TYPE_USED", +"EXTERNAL_API_WARNING", +"FIELD_VALUE_OVERRIDEN", +"INJECTED_KERNELS_DEPRECATED", +"INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", +"LARGE_DEPLOYMENT_WARNING", +"LIST_OVERHEAD_QUOTA_EXCEED", +"MISSING_TYPE_DEPENDENCY", +"NEXT_HOP_ADDRESS_NOT_ASSIGNED", +"NEXT_HOP_CANNOT_IP_FORWARD", +"NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", +"NEXT_HOP_INSTANCE_NOT_FOUND", +"NEXT_HOP_INSTANCE_NOT_ON_NETWORK", +"NEXT_HOP_NOT_RUNNING", +"NOT_CRITICAL_ERROR", +"NO_RESULTS_ON_PAGE", +"PARTIAL_SUCCESS", +"QUOTA_INFO_UNAVAILABLE", +"REQUIRED_TOS_AGREEMENT", +"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", +"RESOURCE_NOT_DELETED", +"SCHEMA_VALIDATION_IGNORED", +"SINGLE_INSTANCE_PROPERTY_TEMPLATE", +"UNDECLARED_PROPERTIES", +"UNREACHABLE" +], +"enumDeprecated": [ +false, +false, +false, +false, +false, +false, +true, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false +], +"enumDescriptions": [ +"Warning about failed cleanup of transient changes made by a failed\noperation.", +"A link to a deprecated resource was created.", +"When deploying and at least one of the resources has a type marked as\ndeprecated", +"The user created a boot disk that is larger than image size.", +"When deploying and at least one of the resources has a type marked as\nexperimental", +"Warning that is present in an external api call", +"Warning that value of a field has been overridden.\nDeprecated unused field.", +"The operation involved use of an injected kernel, which is deprecated.", +"A WEIGHTED_MAGLEV backend service is associated with a health check that is\nnot of type HTTP/HTTPS/HTTP2.", +"When deploying a deployment with a exceedingly large number of resources", +"Resource can't be retrieved due to list overhead quota exceed\nwhich captures the amount of resources filtered out by\nuser-defined list filter.", +"A resource depends on a missing type", +"The route's nextHopIp address is not assigned to an instance on the\nnetwork.", +"The route's next hop instance cannot ip forward.", +"The route's nextHopInstance URL refers to an instance that does not have an\nipv6 interface on the same network as the route.", +"The route's nextHopInstance URL refers to an instance that does not exist.", +"The route's nextHopInstance URL refers to an instance that is not on the\nsame network as the route.", +"The route's next hop instance does not have a status of RUNNING.", +"Error which is not critical. We decided to continue the process despite\nthe mentioned error.", +"No results are present on a particular list page.", +"Success is reported, but some results may be missing due to errors", +"Quota information is not available to client requests (e.g:\nregions.list).", +"The user attempted to use a resource that requires a TOS they have not\naccepted.", +"Warning that a resource is in use.", +"One or more of the resources set to auto-delete could not be deleted\nbecause they were in use.", +"When a resource schema validation is ignored.", +"Instance template used in instance group manager is valid as such, but\nits application does not make a lot of sense, because it allows only\nsingle instance in instance group.", +"When undeclared properties in the schema are present", +"A given scope cannot be reached." +], +"type": "string" +}, +"data": { +"description": "[Output Only] Metadata about this warning in key:\nvalue format. For example:\n\n\"data\": [\n {\n \"key\": \"scope\",\n \"value\": \"zones/us-east1-d\"\n }", +"items": { +"properties": { +"key": { +"description": "[Output Only] A key that provides more detail on the warning being\nreturned. For example, for warnings where there are no results in a list\nrequest for a particular zone, this key might be scope and\nthe key value might be the zone name. Other examples might be a key\nindicating a deprecated resource and a suggested replacement, or a\nwarning about invalid network settings (for example, if an instance\nattempts to perform IP forwarding but is not enabled for IP forwarding).", +"type": "string" +}, +"value": { +"description": "[Output Only] A warning data value corresponding to the key.", +"type": "string" +} +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "[Output Only] A human-readable description of the warning code.", +"type": "string" +} +}, +"type": "object" +} +}, +"type": "object" +}, +"WireGroupProperties": { +"description": "The properties of a wire group. These properties\ndetermine how a group of redundant wires are created and managed.", +"id": "WireGroupProperties", +"properties": { +"type": { +"description": "The type of the wire group, one of the following:\n \n - WIRE: a single pseudowire over two Interconnect connections with no\n redundancy.\n - REDUNDANT: two pseudowires over four Interconnect connections, with\n two connections in one metro and two connections in another metro.\n Each redundant pair of Interconnect connections spans both edge\n availability domains of the metro. Each pseudowire connects Interconnect\n connections in matching edge availability domains of the two metros.\n - BOX_AND_CROSS: four pseudowires over four Interconnect connections,\n with two connections in one metro and two connections in another metro.\n Each redundant pair of Interconnect connections spans both edge\n availability domains of the metro. Two pseudowires connect Interconnect\n connections in matching edge availability domains of the two metros.\n Two additional pseudowires connect the non-matching edge availability\n domains of the two metros.", +"enum": [ +"BOX_AND_CROSS", +"REDUNDANT", +"WIRE" +], +"enumDescriptions": [ +"Four pseudowires over four Interconnect connections,\nwith two connections in one metro and two connections in another metro.\nEach redundant pair of Interconnect connections spans both edge\navailability domains of the metro. Two pseudowires connect Interconnect\nconnections in matching edge availability domains of the two metros.\nTwo additional pseudowires connect the non-matching edge availability\ndomains of the two metros.", +"Two pseudowires over four Interconnect connections, with\ntwo connections in one metro and two connections in another metro.\nEach redundant pair of Interconnect connections spans both edge\navailability domains of the metro. Each pseudowire connects Interconnect\nconnections in matching edge availability domains of the two metros.", +"A single pseudowire over two Interconnect connections with no redundancy." +], +"type": "string" +} +}, +"type": "object" +}, +"WireGroupTopology": { +"description": "Topology details for the wire group.", +"id": "WireGroupTopology", +"properties": { +"endpoints": { +"description": "Output only. Topology details for all endpoints in the wire group.", +"items": { +"$ref": "WireGroupTopologyEndpoint" +}, +"readOnly": true, +"type": "array" +} +}, +"type": "object" +}, +"WireGroupTopologyEndpoint": { +"description": "Topology details for a single wire group endpoint.", +"id": "WireGroupTopologyEndpoint", +"properties": { +"city": { +"description": "Output only. The InterconnectLocation.city (metropolitan area designator) that all\ninterconnects are located in.", +"readOnly": true, +"type": "string" +}, +"label": { +"description": "Output only. Endpoint label from the wire group.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"WireProperties": { +"description": "The properties of a wire.", +"id": "WireProperties", +"properties": { +"bandwidthAllocation": { +"description": "The configuration of the bandwidth allocation, one of the following:\n \n - ALLOCATE_PER_WIRE: configures a separate unmetered bandwidth allocation\n (and associated charges) for each wire in the group.\n - SHARED_WITH_WIRE_GROUP: this is the default behavior, which configures\n one unmetered bandwidth allocation for the wire group. The unmetered\n bandwidth is divided equally across each wire in the group, but dynamic\n throttling reallocates unused unmetered bandwidth from unused or underused\n wires to other wires in the group.", +"enum": [ +"ALLOCATE_PER_WIRE", +"SHARED_WITH_WIRE_GROUP" +], +"enumDescriptions": [ +"Configures a separate unmetered bandwidth allocation (and associated\ncharges) for each wire in the group.", +"This is the default behavior. Configures one unmetered bandwidth\nallocation for the wire group. The unmetered bandwidth is divided equally\nacross each wire in the group, but dynamic throttling reallocates unused\nunmetered bandwidth from unused or underused wires to other wires in the\ngroup." +], +"type": "string" +}, +"bandwidthUnmetered": { +"description": "The unmetered bandwidth in Gigabits per second, using decimal units. `10`\nis 10 Gbps, `100` is 100 Gbps. The bandwidth must be greater than 0.", +"format": "int64", +"type": "string" +}, +"faultResponse": { +"description": "Response when a fault is detected in a pseudowire:\n \n - NONE: default.\n - DISABLE_PORT: set the port line protocol down when inline probes\n detect a fault. This setting is only permitted on port mode\n pseudowires.", +"enum": [ +"DISABLE_PORT", +"NONE" +], +"enumDescriptions": [ +"Set the port line protocol down when inline probes detect a fault. This\nsetting is only permitted on port mode pseudowires.", +"Default." +], +"type": "string" +} +}, +"type": "object" +}, +"WorkloadIdentityConfig": { +"id": "WorkloadIdentityConfig", +"properties": { +"identity": { +"type": "string" +}, +"identityCertificateEnabled": { +"type": "boolean" +} +}, +"type": "object" +}, +"XpnHostList": { +"id": "XpnHostList", +"properties": { +"id": { +"description": "[Output Only] Unique identifier for the resource; defined by the server.", +"type": "string" +}, +"items": { +"description": "[Output Only] A list of shared VPC host project URLs.", +"items": { +"$ref": "Project" +}, +"type": "array" +}, +"kind": { +"default": "compute#xpnHostList", +"description": "Output only. [Output Only] Type of resource. Always compute#xpnHostList for\nlists of shared VPC hosts.", +"readOnly": true, +"type": "string" +}, +"nextPageToken": { +"description": "[Output Only] This token allows you to get the next page of results for\nlist requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for\nthe query parameter pageToken in the next list request.\nSubsequent list requests will have their own nextPageToken to\ncontinue paging through the results.", +"type": "string" +}, +"selfLink": { +"description": "Output only. [Output Only] Server-defined URL for this resource.", +"readOnly": true, +"type": "string" +}, +"warning": { +"description": "[Output Only] Informational warning message.", +"properties": { +"code": { +"description": "[Output Only] A warning code, if applicable. For example, Compute\nEngine returns NO_RESULTS_ON_PAGE if there\nare no results in the response.", +"enum": [ +"CLEANUP_FAILED", +"DEPRECATED_RESOURCE_USED", +"DEPRECATED_TYPE_USED", +"DISK_SIZE_LARGER_THAN_IMAGE_SIZE", +"EXPERIMENTAL_TYPE_USED", +"EXTERNAL_API_WARNING", +"FIELD_VALUE_OVERRIDEN", +"INJECTED_KERNELS_DEPRECATED", +"INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", +"LARGE_DEPLOYMENT_WARNING", +"LIST_OVERHEAD_QUOTA_EXCEED", +"MISSING_TYPE_DEPENDENCY", +"NEXT_HOP_ADDRESS_NOT_ASSIGNED", +"NEXT_HOP_CANNOT_IP_FORWARD", +"NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", +"NEXT_HOP_INSTANCE_NOT_FOUND", +"NEXT_HOP_INSTANCE_NOT_ON_NETWORK", +"NEXT_HOP_NOT_RUNNING", +"NOT_CRITICAL_ERROR", +"NO_RESULTS_ON_PAGE", +"PARTIAL_SUCCESS", +"QUOTA_INFO_UNAVAILABLE", +"REQUIRED_TOS_AGREEMENT", +"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", +"RESOURCE_NOT_DELETED", +"SCHEMA_VALIDATION_IGNORED", +"SINGLE_INSTANCE_PROPERTY_TEMPLATE", +"UNDECLARED_PROPERTIES", +"UNREACHABLE" +], +"enumDeprecated": [ +false, +false, +false, +false, +false, +false, +true, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false +], +"enumDescriptions": [ +"Warning about failed cleanup of transient changes made by a failed\noperation.", +"A link to a deprecated resource was created.", +"When deploying and at least one of the resources has a type marked as\ndeprecated", +"The user created a boot disk that is larger than image size.", +"When deploying and at least one of the resources has a type marked as\nexperimental", +"Warning that is present in an external api call", +"Warning that value of a field has been overridden.\nDeprecated unused field.", +"The operation involved use of an injected kernel, which is deprecated.", +"A WEIGHTED_MAGLEV backend service is associated with a health check that is\nnot of type HTTP/HTTPS/HTTP2.", +"When deploying a deployment with a exceedingly large number of resources", +"Resource can't be retrieved due to list overhead quota exceed\nwhich captures the amount of resources filtered out by\nuser-defined list filter.", +"A resource depends on a missing type", +"The route's nextHopIp address is not assigned to an instance on the\nnetwork.", +"The route's next hop instance cannot ip forward.", +"The route's nextHopInstance URL refers to an instance that does not have an\nipv6 interface on the same network as the route.", +"The route's nextHopInstance URL refers to an instance that does not exist.", +"The route's nextHopInstance URL refers to an instance that is not on the\nsame network as the route.", +"The route's next hop instance does not have a status of RUNNING.", +"Error which is not critical. We decided to continue the process despite\nthe mentioned error.", +"No results are present on a particular list page.", +"Success is reported, but some results may be missing due to errors", +"Quota information is not available to client requests (e.g:\nregions.list).", +"The user attempted to use a resource that requires a TOS they have not\naccepted.", +"Warning that a resource is in use.", +"One or more of the resources set to auto-delete could not be deleted\nbecause they were in use.", +"When a resource schema validation is ignored.", +"Instance template used in instance group manager is valid as such, but\nits application does not make a lot of sense, because it allows only\nsingle instance in instance group.", +"When undeclared properties in the schema are present", +"A given scope cannot be reached." +], +"type": "string" +}, +"data": { +"description": "[Output Only] Metadata about this warning in key:\nvalue format. For example:\n\n\"data\": [\n {\n \"key\": \"scope\",\n \"value\": \"zones/us-east1-d\"\n }", +"items": { +"properties": { +"key": { +"description": "[Output Only] A key that provides more detail on the warning being\nreturned. For example, for warnings where there are no results in a list\nrequest for a particular zone, this key might be scope and\nthe key value might be the zone name. Other examples might be a key\nindicating a deprecated resource and a suggested replacement, or a\nwarning about invalid network settings (for example, if an instance\nattempts to perform IP forwarding but is not enabled for IP forwarding).", +"type": "string" +}, +"value": { +"description": "[Output Only] A warning data value corresponding to the key.", +"type": "string" +} +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "[Output Only] A human-readable description of the warning code.", +"type": "string" +} +}, +"type": "object" +} +}, +"type": "object" +}, +"XpnResourceId": { +"description": "Service resource (a.k.a service project) ID.", +"id": "XpnResourceId", +"properties": { +"id": { +"description": "The ID of the service resource. In the case of projects, this field\nsupports project id (e.g., my-project-123) and project number\n(e.g. 12345678).", +"type": "string" +}, +"type": { +"description": "The type of the service resource.", +"enum": [ +"PROJECT", +"XPN_RESOURCE_TYPE_UNSPECIFIED" +], +"enumDescriptions": [ +"", +"" +], +"type": "string" +} +}, +"type": "object" +}, +"Zone": { +"description": "Represents a Zone resource.\n\nA zone is a deployment area. These deployment areas are subsets of a region.\nFor example the zone us-east1-b is located in theus-east1 region. For more information, readRegions and\nZones.", +"id": "Zone", +"properties": { +"availableCpuPlatforms": { +"description": "[Output Only] Available cpu/platform selections for the zone.", +"items": { +"type": "string" +}, +"type": "array" +}, +"creationTimestamp": { +"description": "[Output Only] Creation timestamp inRFC3339\ntext format.", +"type": "string" +}, +"deprecated": { +"$ref": "DeprecationStatus", +"description": "[Output Only] The deprecation status associated with this zone." +}, +"description": { +"description": "[Output Only] Textual description of the resource.", +"type": "string" +}, +"id": { +"description": "[Output Only] The unique identifier for the resource. This identifier is\ndefined by the server.", +"format": "uint64", +"type": "string" +}, +"kind": { +"default": "compute#zone", +"description": "Output only. [Output Only] Type of the resource. Always compute#zone for\nzones.", +"readOnly": true, +"type": "string" +}, +"name": { +"description": "[Output Only] Name of the resource.", +"type": "string" +}, +"region": { +"description": "[Output Only] Full URL reference to the region which hosts the zone.", +"type": "string" +}, +"selfLink": { +"description": "[Output Only] Server-defined URL for the resource.", +"type": "string" +}, +"status": { +"description": "[Output Only] Status of the zone, either UP orDOWN.", +"enum": [ +"DOWN", +"UP" +], +"enumDescriptions": [ +"", +"" +], +"type": "string" +}, +"supportsPzs": { +"description": "Output only. [Output Only] Reserved for future use.", +"readOnly": true, +"type": "boolean" +} +}, +"type": "object" +}, +"ZoneList": { +"description": "Contains a list of zone resources.", +"id": "ZoneList", +"properties": { +"id": { +"description": "[Output Only] Unique identifier for the resource; defined by the server.", +"type": "string" +}, +"items": { +"description": "A list of Zone resources.", +"items": { +"$ref": "Zone" +}, +"type": "array" +}, +"kind": { +"default": "compute#zoneList", +"description": "Output only. Type of resource.", +"readOnly": true, +"type": "string" +}, +"nextPageToken": { +"description": "[Output Only] This token allows you to get the next page of results for\nlist requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for\nthe query parameter pageToken in the next list request.\nSubsequent list requests will have their own nextPageToken to\ncontinue paging through the results.", +"type": "string" +}, +"selfLink": { +"description": "Output only. [Output Only] Server-defined URL for this resource.", +"readOnly": true, +"type": "string" +}, +"warning": { +"description": "[Output Only] Informational warning message.", +"properties": { +"code": { +"description": "[Output Only] A warning code, if applicable. For example, Compute\nEngine returns NO_RESULTS_ON_PAGE if there\nare no results in the response.", +"enum": [ +"CLEANUP_FAILED", +"DEPRECATED_RESOURCE_USED", +"DEPRECATED_TYPE_USED", +"DISK_SIZE_LARGER_THAN_IMAGE_SIZE", +"EXPERIMENTAL_TYPE_USED", +"EXTERNAL_API_WARNING", +"FIELD_VALUE_OVERRIDEN", +"INJECTED_KERNELS_DEPRECATED", +"INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", +"LARGE_DEPLOYMENT_WARNING", +"LIST_OVERHEAD_QUOTA_EXCEED", +"MISSING_TYPE_DEPENDENCY", +"NEXT_HOP_ADDRESS_NOT_ASSIGNED", +"NEXT_HOP_CANNOT_IP_FORWARD", +"NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", +"NEXT_HOP_INSTANCE_NOT_FOUND", +"NEXT_HOP_INSTANCE_NOT_ON_NETWORK", +"NEXT_HOP_NOT_RUNNING", +"NOT_CRITICAL_ERROR", +"NO_RESULTS_ON_PAGE", +"PARTIAL_SUCCESS", +"QUOTA_INFO_UNAVAILABLE", +"REQUIRED_TOS_AGREEMENT", +"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", +"RESOURCE_NOT_DELETED", +"SCHEMA_VALIDATION_IGNORED", +"SINGLE_INSTANCE_PROPERTY_TEMPLATE", +"UNDECLARED_PROPERTIES", +"UNREACHABLE" +], +"enumDeprecated": [ +false, +false, +false, +false, +false, +false, +true, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false +], +"enumDescriptions": [ +"Warning about failed cleanup of transient changes made by a failed\noperation.", +"A link to a deprecated resource was created.", +"When deploying and at least one of the resources has a type marked as\ndeprecated", +"The user created a boot disk that is larger than image size.", +"When deploying and at least one of the resources has a type marked as\nexperimental", +"Warning that is present in an external api call", +"Warning that value of a field has been overridden.\nDeprecated unused field.", +"The operation involved use of an injected kernel, which is deprecated.", +"A WEIGHTED_MAGLEV backend service is associated with a health check that is\nnot of type HTTP/HTTPS/HTTP2.", +"When deploying a deployment with a exceedingly large number of resources", +"Resource can't be retrieved due to list overhead quota exceed\nwhich captures the amount of resources filtered out by\nuser-defined list filter.", +"A resource depends on a missing type", +"The route's nextHopIp address is not assigned to an instance on the\nnetwork.", +"The route's next hop instance cannot ip forward.", +"The route's nextHopInstance URL refers to an instance that does not have an\nipv6 interface on the same network as the route.", +"The route's nextHopInstance URL refers to an instance that does not exist.", +"The route's nextHopInstance URL refers to an instance that is not on the\nsame network as the route.", +"The route's next hop instance does not have a status of RUNNING.", +"Error which is not critical. We decided to continue the process despite\nthe mentioned error.", +"No results are present on a particular list page.", +"Success is reported, but some results may be missing due to errors", +"Quota information is not available to client requests (e.g:\nregions.list).", +"The user attempted to use a resource that requires a TOS they have not\naccepted.", +"Warning that a resource is in use.", +"One or more of the resources set to auto-delete could not be deleted\nbecause they were in use.", +"When a resource schema validation is ignored.", +"Instance template used in instance group manager is valid as such, but\nits application does not make a lot of sense, because it allows only\nsingle instance in instance group.", +"When undeclared properties in the schema are present", +"A given scope cannot be reached." +], +"type": "string" +}, +"data": { +"description": "[Output Only] Metadata about this warning in key:\nvalue format. For example:\n\n\"data\": [\n {\n \"key\": \"scope\",\n \"value\": \"zones/us-east1-d\"\n }", +"items": { +"properties": { +"key": { +"description": "[Output Only] A key that provides more detail on the warning being\nreturned. For example, for warnings where there are no results in a list\nrequest for a particular zone, this key might be scope and\nthe key value might be the zone name. Other examples might be a key\nindicating a deprecated resource and a suggested replacement, or a\nwarning about invalid network settings (for example, if an instance\nattempts to perform IP forwarding but is not enabled for IP forwarding).", +"type": "string" +}, +"value": { +"description": "[Output Only] A warning data value corresponding to the key.", +"type": "string" +} +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "[Output Only] A human-readable description of the warning code.", +"type": "string" +} +}, +"type": "object" +} +}, +"type": "object" +}, +"ZoneSetLabelsRequest": { +"id": "ZoneSetLabelsRequest", +"properties": { +"labelFingerprint": { +"description": "The fingerprint of the previous set of labels for this resource,\nused to detect conflicts. The fingerprint is initially generated by Compute\nEngine and changes after every request to modify or update labels. You must\nalways provide an up-to-date fingerprint hash in order to update or change\nlabels. Make a get() request to the resource to get the latest\nfingerprint.", +"format": "byte", +"type": "string" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "The labels to set for this resource.", +"type": "object" +} +}, +"type": "object" +}, +"ZoneSetNestedPolicyRequest": { +"id": "ZoneSetNestedPolicyRequest", +"properties": { +"bindings": { +"description": "Flatten Policy to create a backwacd compatible wire-format.\nDeprecated. Use 'policy' to specify bindings.", +"items": { +"$ref": "Binding" +}, +"type": "array" +}, +"etag": { +"description": "Flatten Policy to create a backward compatible wire-format.\nDeprecated. Use 'policy' to specify the etag.", +"format": "byte", +"type": "string" +}, +"policy": { +"$ref": "Policy", +"description": "REQUIRED: The complete policy to be applied to the 'resource'. The size of\nthe policy is limited to a few 10s of KB. An empty policy is in general a\nvalid policy but certain services (like Projects) might reject them." +} +}, +"type": "object" +}, +"ZoneSetPolicyRequest": { +"id": "ZoneSetPolicyRequest", +"properties": { +"bindings": { +"description": "Flatten Policy to create a backwacd compatible wire-format.\nDeprecated. Use 'policy' to specify bindings.", +"items": { +"$ref": "Binding" +}, +"type": "array" +}, +"etag": { +"description": "Flatten Policy to create a backward compatible wire-format.\nDeprecated. Use 'policy' to specify the etag.", +"format": "byte", +"type": "string" +}, +"policy": { +"$ref": "Policy", +"description": "REQUIRED: The complete policy to be applied to the 'resource'. The size of\nthe policy is limited to a few 10s of KB. An empty policy is in general a\nvalid policy but certain services (like Projects) might reject them." +} +}, +"type": "object" +} +}, +"servicePath": "compute/beta/", +"title": "Compute Engine API", +"version": "beta" +} \ No newline at end of file diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/connectors.v2.json b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/connectors.v2.json new file mode 100644 index 0000000000000000000000000000000000000000..3f2d13ed7a87fc7b1f34c845c5c4bbf0f473929c --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/connectors.v2.json @@ -0,0 +1,3395 @@ +{ +"auth": { +"oauth2": { +"scopes": { +"https://www.googleapis.com/auth/cloud-platform": { +"description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." +} +} +} +}, +"basePath": "", +"baseUrl": "https://connectors.googleapis.com/", +"batchPath": "batch", +"canonicalName": "Connectors", +"description": "Enables users to create and manage connections to Google Cloud services and third-party business applications using the Connectors interface.", +"discoveryVersion": "v1", +"documentationLink": "https://cloud.google.com/apigee/docs/api-platform/connectors/about-connectors", +"fullyEncodeReservedExpansion": true, +"icons": { +"x16": "http://www.google.com/images/icons/product/search-16.gif", +"x32": "http://www.google.com/images/icons/product/search-32.gif" +}, +"id": "connectors:v2", +"kind": "discovery#restDescription", +"mtlsRootUrl": "https://connectors.mtls.googleapis.com/", +"name": "connectors", +"ownerDomain": "google.com", +"ownerName": "Google", +"parameters": { +"$.xgafv": { +"description": "V1 error format.", +"enum": [ +"1", +"2" +], +"enumDescriptions": [ +"v1 error format", +"v2 error format" +], +"location": "query", +"type": "string" +}, +"access_token": { +"description": "OAuth access token.", +"location": "query", +"type": "string" +}, +"alt": { +"default": "json", +"description": "Data format for response.", +"enum": [ +"json", +"media", +"proto" +], +"enumDescriptions": [ +"Responses with Content-Type of application/json", +"Media download with context-dependent Content-Type", +"Responses with Content-Type of application/x-protobuf" +], +"location": "query", +"type": "string" +}, +"callback": { +"description": "JSONP", +"location": "query", +"type": "string" +}, +"fields": { +"description": "Selector specifying which fields to include in a partial response.", +"location": "query", +"type": "string" +}, +"key": { +"description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", +"location": "query", +"type": "string" +}, +"oauth_token": { +"description": "OAuth 2.0 token for the current user.", +"location": "query", +"type": "string" +}, +"prettyPrint": { +"default": "true", +"description": "Returns response with indentations and line breaks.", +"location": "query", +"type": "boolean" +}, +"quotaUser": { +"description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.", +"location": "query", +"type": "string" +}, +"uploadType": { +"description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", +"location": "query", +"type": "string" +}, +"upload_protocol": { +"description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", +"location": "query", +"type": "string" +} +}, +"protocol": "rest", +"resources": { +"projects": { +"resources": { +"locations": { +"resources": { +"connections": { +"methods": { +"checkReadiness": { +"description": "Reports readiness status of the connector. Similar logic to GetStatus but modified for kubernetes health check to understand.", +"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/connections/{connectionsId}:checkReadiness", +"httpMethod": "GET", +"id": "connectors.projects.locations.connections.checkReadiness", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/connections/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+name}:checkReadiness", +"response": { +"$ref": "CheckReadinessResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"checkStatus": { +"description": "Reports the status of the connection. Note that when the connection is in a state that is not ACTIVE, the implementation of this RPC method must return a Status with the corresponding State instead of returning a gRPC status code that is not \"OK\", which indicates that ConnectionStatus itself, not the connection, failed.", +"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/connections/{connectionsId}:checkStatus", +"httpMethod": "GET", +"id": "connectors.projects.locations.connections.checkStatus", +"parameterOrder": [ +"name" +], +"parameters": { +"executionConfig.headers": { +"description": "headers to be used for the request. For example: headers:'{\"x-integration-connectors-managed-connection-id\":\"conn-id\",\"x-integration-connectors-runtime-config\":\"runtime-cfg\"}'", +"location": "query", +"type": "string" +}, +"name": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/connections/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+name}:checkStatus", +"response": { +"$ref": "CheckStatusResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"exchangeAuthCode": { +"description": "ExchangeAuthCode exchanges the OAuth authorization code (and other necessary data) for an access token (and associated credentials).", +"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/connections/{connectionsId}:exchangeAuthCode", +"httpMethod": "POST", +"id": "connectors.projects.locations.connections.exchangeAuthCode", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/connections/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+name}:exchangeAuthCode", +"request": { +"$ref": "ExchangeAuthCodeRequest" +}, +"response": { +"$ref": "ExchangeAuthCodeResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"executeSqlQuery": { +"description": "Executes a SQL statement specified in the body of the request. An example of this SQL statement in the case of Salesforce connector would be 'select * from Account a, Order o where a.Id = o.AccountId'.", +"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/connections/{connectionsId}:executeSqlQuery", +"httpMethod": "POST", +"id": "connectors.projects.locations.connections.executeSqlQuery", +"parameterOrder": [ +"connection" +], +"parameters": { +"connection": { +"description": "Required. Resource name of the Connection. Format: projects/{project}/locations/{location}/connections/{connection}", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/connections/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+connection}:executeSqlQuery", +"request": { +"$ref": "ExecuteSqlQueryRequest" +}, +"response": { +"$ref": "ExecuteSqlQueryResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"generateConnectionToolspecOverride": { +"description": "Generate toolspec override for the given list of toolNames.", +"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/connections/{connectionsId}:generateConnectionToolspecOverride", +"httpMethod": "POST", +"id": "connectors.projects.locations.connections.generateConnectionToolspecOverride", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Resource name of the Connection. Format: projects/{project}/locations/{location}/connections/{connection}", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/connections/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+name}:generateConnectionToolspecOverride", +"request": { +"$ref": "GenerateCustomToolspecRequest" +}, +"response": { +"$ref": "GenerateCustomToolspecResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"listCustomToolNames": { +"description": "Lists custom tool names.", +"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/connections/{connectionsId}:listCustomToolNames", +"httpMethod": "GET", +"id": "connectors.projects.locations.connections.listCustomToolNames", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Resource name of the Connection. Format: projects/{project}/locations/{location}/connections/{connection}", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/connections/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+name}:listCustomToolNames", +"response": { +"$ref": "ListCustomToolNamesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"refreshAccessToken": { +"description": "RefreshAccessToken exchanges the OAuth refresh token (and other necessary data) for a new access token (and new associated credentials).", +"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/connections/{connectionsId}:refreshAccessToken", +"httpMethod": "POST", +"id": "connectors.projects.locations.connections.refreshAccessToken", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/connections/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+name}:refreshAccessToken", +"request": { +"$ref": "RefreshAccessTokenRequest" +}, +"response": { +"$ref": "RefreshAccessTokenResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"tools": { +"description": "Lists all available tools with POST.", +"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/connections/{connectionsId}/tools", +"httpMethod": "POST", +"id": "connectors.projects.locations.connections.tools", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. Resource name of the Connection. Format: projects/{project}/locations/{location}/connections/{connection}", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/connections/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+parent}/tools", +"request": { +"$ref": "ListToolsPostRequest" +}, +"response": { +"$ref": "ListToolsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"actions": { +"methods": { +"execute": { +"description": "Executes an action with the name specified in the request. The input parameters for executing the action are passed through the body of the ExecuteAction request.", +"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/connections/{connectionsId}/actions/{actionsId}:execute", +"httpMethod": "POST", +"id": "connectors.projects.locations.connections.actions.execute", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Resource name of the Action. Format: projects/{project}/locations/{location}/connections/{connection}/actions/{action}", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/connections/[^/]+/actions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+name}:execute", +"request": { +"$ref": "ExecuteActionRequest" +}, +"response": { +"$ref": "ExecuteActionResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets the schema of the given action.", +"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/connections/{connectionsId}/actions/{actionsId}", +"httpMethod": "GET", +"id": "connectors.projects.locations.connections.actions.get", +"parameterOrder": [ +"name" +], +"parameters": { +"executionConfig.headers": { +"description": "headers to be used for the request. For example: headers:'{\"x-integration-connectors-managed-connection-id\":\"conn-id\",\"x-integration-connectors-runtime-config\":\"runtime-cfg\"}'", +"location": "query", +"type": "string" +}, +"name": { +"description": "Required. Resource name of the Action. Format: projects/{project}/locations/{location}/connections/{connection}/actions/{action}", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/connections/[^/]+/actions/[^/]+$", +"required": true, +"type": "string" +}, +"view": { +"description": "Specified view of the action schema.", +"enum": [ +"ACTION_SCHEMA_VIEW_UNSPECIFIED", +"ACTION_SCHEMA_VIEW_BASIC", +"ACTION_SCHEMA_VIEW_ENRICHED" +], +"enumDescriptions": [ +"VIEW_UNSPECIFIED. The unset value. Defaults to BASIC View.", +"Return basic action schema.", +"Return enriched action schema." +], +"location": "query", +"type": "string" +} +}, +"path": "v2/{+name}", +"response": { +"$ref": "Action" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Gets the schema of all the actions supported by the connector.", +"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/connections/{connectionsId}/actions", +"httpMethod": "GET", +"id": "connectors.projects.locations.connections.actions.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"executionConfig.headers": { +"description": "headers to be used for the request. For example: headers:'{\"x-integration-connectors-managed-connection-id\":\"conn-id\",\"x-integration-connectors-runtime-config\":\"runtime-cfg\"}'", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Number of Actions to return. Defaults to 25.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Page token, return from a previous ListActions call, that can be used retrieve the next page of content. If unspecified, the request returns the first page of actions.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. Parent resource name of the Action. Format: projects/{project}/locations/{location}/connections/{connection}", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/connections/[^/]+$", +"required": true, +"type": "string" +}, +"view": { +"description": "Specifies which fields of the Action are returned in the response.", +"enum": [ +"ACTION_VIEW_UNSPECIFIED", +"ACTION_VIEW_BASIC", +"ACTION_VIEW_FULL" +], +"enumDescriptions": [ +"VIEW_UNSPECIFIED. The unset value Defaults to FULL View.", +"Return only action names.", +"Return actions with schema." +], +"location": "query", +"type": "string" +} +}, +"path": "v2/{+parent}/actions", +"response": { +"$ref": "ListActionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"entityTypes": { +"methods": { +"get": { +"description": "Gets metadata of given entity type", +"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/connections/{connectionsId}/entityTypes/{entityTypesId}", +"httpMethod": "GET", +"id": "connectors.projects.locations.connections.entityTypes.get", +"parameterOrder": [ +"name" +], +"parameters": { +"contextMetadata": { +"description": "Context metadata for request could be used to fetch customization of entity type schema.", +"location": "query", +"type": "string" +}, +"executionConfig.headers": { +"description": "headers to be used for the request. For example: headers:'{\"x-integration-connectors-managed-connection-id\":\"conn-id\",\"x-integration-connectors-runtime-config\":\"runtime-cfg\"}'", +"location": "query", +"type": "string" +}, +"name": { +"description": "Required. Resource name of the Entity Type. Format: projects/{project}/locations/{location}/connections/{connection}/entityTypes/{entityType}", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/connections/[^/]+/entityTypes/[^/]+$", +"required": true, +"type": "string" +}, +"view": { +"description": "Specifies view for entity type schema.", +"enum": [ +"ENTITY_TYPE_SCHEMA_VIEW_UNSPECIFIED", +"ENTITY_TYPE_SCHEMA_VIEW_BASIC", +"ENTITY_TYPE_SCHEMA_VIEW_ENRICHED" +], +"enumDescriptions": [ +"VIEW_UNSPECIFIED. The unset value. Defaults to BASIC View.", +"Return basic entity type schema.", +"Return enriched entity types schema." +], +"location": "query", +"type": "string" +} +}, +"path": "v2/{+name}", +"response": { +"$ref": "EntityType" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists metadata related to all entity types present in the external system.", +"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/connections/{connectionsId}/entityTypes", +"httpMethod": "GET", +"id": "connectors.projects.locations.connections.entityTypes.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"executionConfig.headers": { +"description": "headers to be used for the request. For example: headers:'{\"x-integration-connectors-managed-connection-id\":\"conn-id\",\"x-integration-connectors-runtime-config\":\"runtime-cfg\"}'", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Number of entity types to return. Defaults to 25.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Page token, return from a previous ListEntityTypes call, that can be used retrieve the next page of content. If unspecified, the request returns the first page of entity types.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. Resource name of the Entity Type. Format: projects/{project}/locations/{location}/connections/{connection}", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/connections/[^/]+$", +"required": true, +"type": "string" +}, +"view": { +"description": "Specifies which fields of the Entity Type are returned in the response.", +"enum": [ +"ENTITY_TYPE_VIEW_UNSPECIFIED", +"ENTITY_TYPE_VIEW_BASIC", +"ENTITY_TYPE_VIEW_FULL" +], +"enumDescriptions": [ +"VIEW_UNSPECIFIED. The unset value. Defaults to FULL View.", +"Return only entity type names.", +"Return entity types with schema" +], +"location": "query", +"type": "string" +} +}, +"path": "v2/{+parent}/entityTypes", +"response": { +"$ref": "ListEntityTypesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"entities": { +"methods": { +"create": { +"description": "Creates a new entity row of the specified entity type in the external system. The field values for creating the row are contained in the body of the request. The response message contains a `Entity` message object returned as a response by the external system.", +"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/connections/{connectionsId}/entityTypes/{entityTypesId}/entities", +"httpMethod": "POST", +"id": "connectors.projects.locations.connections.entityTypes.entities.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"executionConfig.headers": { +"description": "headers to be used for the request. For example: headers:'{\"x-integration-connectors-managed-connection-id\":\"conn-id\",\"x-integration-connectors-runtime-config\":\"runtime-cfg\"}'", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. Resource name of the Entity Type. Format: projects/{project}/locations/{location}/connections/{connection}/entityTypes/{type}", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/connections/[^/]+/entityTypes/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+parent}/entities", +"request": { +"$ref": "Entity" +}, +"response": { +"$ref": "Entity" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes an existing entity row matching the entity type and entity id specified in the request.", +"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/connections/{connectionsId}/entityTypes/{entityTypesId}/entities/{entitiesId}", +"httpMethod": "DELETE", +"id": "connectors.projects.locations.connections.entityTypes.entities.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"executionConfig.headers": { +"description": "headers to be used for the request. For example: headers:'{\"x-integration-connectors-managed-connection-id\":\"conn-id\",\"x-integration-connectors-runtime-config\":\"runtime-cfg\"}'", +"location": "query", +"type": "string" +}, +"name": { +"description": "Required. Resource name of the Entity Type. Format: projects/{project}/locations/{location}/connections/{connection}/entityTypes/{type}/entities/{id}", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/connections/[^/]+/entityTypes/[^/]+/entities/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+name}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"deleteEntitiesWithConditions": { +"description": "Deletes entities based on conditions specified in the request and not on entity id.", +"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/connections/{connectionsId}/entityTypes/{entityTypesId}/entities:deleteEntitiesWithConditions", +"httpMethod": "POST", +"id": "connectors.projects.locations.connections.entityTypes.entities.deleteEntitiesWithConditions", +"parameterOrder": [ +"entityType" +], +"parameters": { +"conditions": { +"description": "Required. Conditions to be used when deleting entities. From a proto standpoint, There are no restrictions on what can be passed using this field. The connector documentation should have information about what format of filters/conditions are supported. Note: If this conditions field is left empty, an exception is thrown. We don't want to consider 'empty conditions' to be a match-all case. Connector developers can determine and document what a match-all case constraint would be.", +"location": "query", +"type": "string" +}, +"entityType": { +"description": "Required. Resource name of the Entity Type. Format: projects/{project}/locations/{location}/connections/{connection}/entityTypes/{type}", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/connections/[^/]+/entityTypes/[^/]+$", +"required": true, +"type": "string" +}, +"executionConfig.headers": { +"description": "headers to be used for the request. For example: headers:'{\"x-integration-connectors-managed-connection-id\":\"conn-id\",\"x-integration-connectors-runtime-config\":\"runtime-cfg\"}'", +"location": "query", +"type": "string" +} +}, +"path": "v2/{+entityType}/entities:deleteEntitiesWithConditions", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets a single entity row matching the entity type and entity id specified in the request.", +"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/connections/{connectionsId}/entityTypes/{entityTypesId}/entities/{entitiesId}", +"httpMethod": "GET", +"id": "connectors.projects.locations.connections.entityTypes.entities.get", +"parameterOrder": [ +"name" +], +"parameters": { +"executionConfig.headers": { +"description": "headers to be used for the request. For example: headers:'{\"x-integration-connectors-managed-connection-id\":\"conn-id\",\"x-integration-connectors-runtime-config\":\"runtime-cfg\"}'", +"location": "query", +"type": "string" +}, +"name": { +"description": "Required. Resource name of the Entity Type. Format: projects/{project}/locations/{location}/connections/{connection}/entityTypes/{type}/entities/{id}", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/connections/[^/]+/entityTypes/[^/]+/entities/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+name}", +"response": { +"$ref": "Entity" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists entity rows of a particular entity type contained in the request. Note: 1. Currently, only max of one 'sort_by' column is supported. 2. If no 'sort_by' column is provided, the primary key of the table is used. If zero or more than one primary key is available, we default to the unpaginated list entities logic which only returns the first page. 3. The values of the 'sort_by' columns must uniquely identify an entity row, otherwise undefined behaviors may be observed during pagination. 4. Since transactions are not supported, any updates, inserts or deletes during pagination can lead to stale data being returned or other unexpected behaviors.", +"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/connections/{connectionsId}/entityTypes/{entityTypesId}/entities", +"httpMethod": "GET", +"id": "connectors.projects.locations.connections.entityTypes.entities.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"conditions": { +"description": "Conditions to be used when listing entities. From a proto standpoint, There are no restrictions on what can be passed using this field. The connector documentation should have information about what format of filters/conditions are supported.", +"location": "query", +"type": "string" +}, +"executionConfig.headers": { +"description": "headers to be used for the request. For example: headers:'{\"x-integration-connectors-managed-connection-id\":\"conn-id\",\"x-integration-connectors-runtime-config\":\"runtime-cfg\"}'", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Number of entity rows to return. Defaults page size = 25. Max page size = 200.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Page token value if available from a previous request.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. Resource name of the Entity Type. Format: projects/{project}/locations/{location}/connections/{connection}/entityTypes/{type}", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/connections/[^/]+/entityTypes/[^/]+$", +"required": true, +"type": "string" +}, +"sortBy": { +"description": "List of 'sort_by' columns to use when returning the results.", +"location": "query", +"repeated": true, +"type": "string" +}, +"sortOrder": { +"description": "List of 'sort_order' columns to use when returning the results.", +"location": "query", +"repeated": true, +"type": "string" +} +}, +"path": "v2/{+parent}/entities", +"response": { +"$ref": "ListEntitiesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates an existing entity row matching the entity type and entity id specified in the request. The fields in the entity row that need to be modified are contained in the body of the request. All unspecified fields are left unchanged. The response message contains a `Entity` message object returned as a response by the external system.", +"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/connections/{connectionsId}/entityTypes/{entityTypesId}/entities/{entitiesId}", +"httpMethod": "PATCH", +"id": "connectors.projects.locations.connections.entityTypes.entities.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"executionConfig.headers": { +"description": "headers to be used for the request. For example: headers:'{\"x-integration-connectors-managed-connection-id\":\"conn-id\",\"x-integration-connectors-runtime-config\":\"runtime-cfg\"}'", +"location": "query", +"type": "string" +}, +"name": { +"description": "Output only. Resource name of the Entity. Format: projects/{project}/locations/{location}/connections/{connection}/entityTypes/{type}/entities/{id}", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/connections/[^/]+/entityTypes/[^/]+/entities/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+name}", +"request": { +"$ref": "Entity" +}, +"response": { +"$ref": "Entity" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"updateEntitiesWithConditions": { +"description": "Updates entities based on conditions specified in the request and not on entity id.", +"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/connections/{connectionsId}/entityTypes/{entityTypesId}/entities:updateEntitiesWithConditions", +"httpMethod": "POST", +"id": "connectors.projects.locations.connections.entityTypes.entities.updateEntitiesWithConditions", +"parameterOrder": [ +"entityType" +], +"parameters": { +"conditions": { +"description": "Required. Conditions to be used when updating entities. From a proto standpoint, There are no restrictions on what can be passed using this field. The connector documentation should have information about what format of filters/conditions are supported. Note: If this conditions field is left empty, an exception is thrown. We don't want to consider 'empty conditions' to be a match-all case. Connector developers can determine and document what a match-all case constraint would be.", +"location": "query", +"type": "string" +}, +"entityType": { +"description": "Required. Resource name of the Entity Type. Format: projects/{project}/locations/{location}/connections/{connection}/entityTypes/{type}", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/connections/[^/]+/entityTypes/[^/]+$", +"required": true, +"type": "string" +}, +"executionConfig.headers": { +"description": "headers to be used for the request. For example: headers:'{\"x-integration-connectors-managed-connection-id\":\"conn-id\",\"x-integration-connectors-runtime-config\":\"runtime-cfg\"}'", +"location": "query", +"type": "string" +} +}, +"path": "v2/{+entityType}/entities:updateEntitiesWithConditions", +"request": { +"$ref": "Entity" +}, +"response": { +"$ref": "UpdateEntitiesWithConditionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +}, +"resources": { +"methods": { +"get": { +"description": "Gets a specific resource.", +"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/connections/{connectionsId}/resources/{resourcesId}", +"httpMethod": "GET", +"id": "connectors.projects.locations.connections.resources.get", +"parameterOrder": [ +"name" +], +"parameters": { +"executionConfig.headers": { +"description": "headers to be used for the request. For example: headers:'{\"x-integration-connectors-managed-connection-id\":\"conn-id\",\"x-integration-connectors-runtime-config\":\"runtime-cfg\"}'", +"location": "query", +"type": "string" +}, +"name": { +"description": "Required. Resource name of the Resource. Format: projects/{project}/locations/{location}/connections/{connection}/resources/{resource}", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/connections/[^/]+/resources/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+name}", +"response": { +"$ref": "GetResourceResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"getResourcePost": { +"description": "Gets a specific resource with POST.", +"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/connections/{connectionsId}/resources/{resourcesId}", +"httpMethod": "POST", +"id": "connectors.projects.locations.connections.resources.getResourcePost", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Resource name of the Resource. Format: projects/{project}/locations/{location}/connections/{connection}/resources/{resource}", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/connections/[^/]+/resources/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+name}", +"request": { +"$ref": "GetResourcePostRequest" +}, +"response": { +"$ref": "GetResourceResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists all available resources.", +"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/connections/{connectionsId}/resources", +"httpMethod": "GET", +"id": "connectors.projects.locations.connections.resources.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"executionConfig.headers": { +"description": "headers to be used for the request. For example: headers:'{\"x-integration-connectors-managed-connection-id\":\"conn-id\",\"x-integration-connectors-runtime-config\":\"runtime-cfg\"}'", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Optional. Page size for the request.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. Page token for the request.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. Resource name of the connection. Format: projects/{project}/locations/{location}/connections/{connection}", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/connections/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+parent}/resources", +"response": { +"$ref": "ListResourcesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"tools": { +"methods": { +"execute": { +"description": "Executes a specific tool.", +"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/connections/{connectionsId}/tools/{toolsId}:execute", +"httpMethod": "POST", +"id": "connectors.projects.locations.connections.tools.execute", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Resource name of the Tool. Format: projects/{project}/locations/{location}/connections/{connection}/tools/{tool}", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/connections/[^/]+/tools/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+name}:execute", +"request": { +"$ref": "ExecuteToolRequest" +}, +"response": { +"$ref": "ExecuteToolResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists all available tools.", +"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/connections/{connectionsId}/tools", +"httpMethod": "GET", +"id": "connectors.projects.locations.connections.tools.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"executionConfig.headers": { +"description": "headers to be used for the request. For example: headers:'{\"x-integration-connectors-managed-connection-id\":\"conn-id\",\"x-integration-connectors-runtime-config\":\"runtime-cfg\"}'", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Page size.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Page token.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. Resource name of the Connection. Format: projects/{project}/locations/{location}/connections/{connection}", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/connections/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+parent}/tools", +"response": { +"$ref": "ListToolsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +} +} +} +} +} +}, +"revision": "20260128", +"rootUrl": "https://connectors.googleapis.com/", +"schemas": { +"AccessCredentials": { +"description": "AccessCredentials includes the OAuth access token, and the other fields returned along with it.", +"id": "AccessCredentials", +"properties": { +"accessToken": { +"description": "OAuth access token.", +"type": "string" +}, +"expiresIn": { +"description": "Duration till the access token expires.", +"format": "google-duration", +"type": "string" +}, +"refreshToken": { +"description": "OAuth refresh token.", +"type": "string" +} +}, +"type": "object" +}, +"Action": { +"description": "Action message contains metadata information about a single action present in the external system.", +"id": "Action", +"properties": { +"description": { +"description": "Brief Description of action", +"type": "string" +}, +"displayName": { +"description": "Display Name of action to be shown on client side", +"type": "string" +}, +"inputJsonSchema": { +"$ref": "JsonSchema", +"description": "JsonSchema representation of this actions's input schema" +}, +"inputParameters": { +"description": "List containing input parameter metadata.", +"items": { +"$ref": "InputParameter" +}, +"type": "array" +}, +"metadata": { +"additionalProperties": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"type": "object" +}, +"description": "Metadata like service latency, etc.", +"type": "object" +}, +"name": { +"description": "Name of the action.", +"type": "string" +}, +"resultJsonSchema": { +"$ref": "JsonSchema", +"description": "JsonSchema representation of this actions's result schema" +}, +"resultMetadata": { +"description": "List containing the metadata of result fields.", +"items": { +"$ref": "ResultMetadata" +}, +"type": "array" +} +}, +"type": "object" +}, +"AuthCodeData": { +"description": "AuthCodeData contains the data the runtime plane will give the connector backend in exchange for access and refresh tokens.", +"id": "AuthCodeData", +"properties": { +"authCode": { +"description": "OAuth authorization code.", +"type": "string" +}, +"pkceVerifier": { +"description": "OAuth PKCE verifier, needed if PKCE is enabled for this particular connection.", +"type": "string" +}, +"redirectUri": { +"description": "OAuth redirect URI passed in during the auth code flow, required by some OAuth backends.", +"type": "string" +}, +"scopes": { +"description": "Scopes the connection will request when the user performs the auth code flow.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"CheckReadinessResponse": { +"description": "Response containing status of the connector for readiness prober.", +"id": "CheckReadinessResponse", +"properties": { +"status": { +"type": "string" +} +}, +"type": "object" +}, +"CheckStatusResponse": { +"description": "The status of the connector.", +"id": "CheckStatusResponse", +"properties": { +"description": { +"description": "When the connector is not in ACTIVE state, the description must be populated to specify the reason why it's not in ACTIVE state.", +"type": "string" +}, +"metadata": { +"additionalProperties": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"type": "object" +}, +"description": "Metadata like service latency, etc.", +"type": "object" +}, +"state": { +"description": "State of the connector.", +"enum": [ +"STATE_UNSPECIFIED", +"ACTIVE", +"ERROR", +"AUTH_ERROR" +], +"enumDescriptions": [ +"State unspecified.", +"The connector is active and ready to process runtime requests. This can also mean that from the connector's perspective, the connector is not in an error state and should be able to process runtime requests successfully.", +"The connector is in an error state and cannot process runtime requests. An example reason would be that the connection container has some network issues that prevent outbound requests from being sent.", +"This is a more specific error state that the developers can opt to use when the connector is facing auth-related errors caused by auth configuration not present, invalid auth credentials, etc." +], +"type": "string" +} +}, +"type": "object" +}, +"DailyCycle": { +"description": "Time window specified for daily operations.", +"id": "DailyCycle", +"properties": { +"duration": { +"description": "Output only. Duration of the time window, set by service producer.", +"format": "google-duration", +"type": "string" +}, +"startTime": { +"$ref": "TimeOfDay", +"description": "Time within the day to start the operations." +} +}, +"type": "object" +}, +"Date": { +"description": "Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following: * A full date, with non-zero year, month, and day values. * A month and day, with a zero year (for example, an anniversary). * A year on its own, with a zero month and a zero day. * A year and month, with a zero day (for example, a credit card expiration date). Related types: * google.type.TimeOfDay * google.type.DateTime * google.protobuf.Timestamp", +"id": "Date", +"properties": { +"day": { +"description": "Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn't significant.", +"format": "int32", +"type": "integer" +}, +"month": { +"description": "Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.", +"format": "int32", +"type": "integer" +}, +"year": { +"description": "Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"DenyMaintenancePeriod": { +"description": "DenyMaintenancePeriod definition. Maintenance is forbidden within the deny period. The start_date must be less than the end_date.", +"id": "DenyMaintenancePeriod", +"properties": { +"endDate": { +"$ref": "Date", +"description": "Deny period end date. This can be: * A full date, with non-zero year, month and day values. * A month and day value, with a zero year. Allows recurring deny periods each year. Date matching this period will have to be before the end." +}, +"startDate": { +"$ref": "Date", +"description": "Deny period start date. This can be: * A full date, with non-zero year, month and day values. * A month and day value, with a zero year. Allows recurring deny periods each year. Date matching this period will have to be the same or after the start." +}, +"time": { +"$ref": "TimeOfDay", +"description": "Time in UTC when the Blackout period starts on start_date and ends on end_date. This can be: * Full time. * All zeros for 00:00:00 UTC" +} +}, +"type": "object" +}, +"Empty": { +"description": "A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }", +"id": "Empty", +"properties": {}, +"type": "object" +}, +"Entity": { +"description": "'Entity row'/ 'Entity' refers to a single row of an entity type.", +"id": "Entity", +"properties": { +"fields": { +"additionalProperties": { +"type": "any" +}, +"description": "Fields of the entity. The key is name of the field and the value contains the applicable `google.protobuf.Value` entry for this field.", +"type": "object" +}, +"metadata": { +"additionalProperties": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"type": "object" +}, +"description": "Metadata like service latency, etc.", +"type": "object" +}, +"name": { +"description": "Output only. Resource name of the Entity. Format: projects/{project}/locations/{location}/connections/{connection}/entityTypes/{type}/entities/{id}", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"EntityType": { +"description": "EntityType message contains metadata information about a single entity type present in the external system.", +"id": "EntityType", +"properties": { +"defaultSortBy": { +"type": "string" +}, +"fields": { +"description": "List containing metadata information about each field of the entity type.", +"items": { +"$ref": "Field" +}, +"type": "array" +}, +"jsonSchema": { +"$ref": "JsonSchema", +"description": "JsonSchema representation of this entity's schema" +}, +"metadata": { +"additionalProperties": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"type": "object" +}, +"description": "Metadata like service latency, etc.", +"type": "object" +}, +"name": { +"description": "The name of the entity type.", +"type": "string" +}, +"operations": { +"items": { +"enum": [ +"OPERATION_UNSPECIFIED", +"LIST", +"GET", +"CREATE", +"UPDATE", +"DELETE" +], +"enumDescriptions": [ +"Operation unspecified.", +"This operation means entity type supports LIST method.", +"This operation means entity type supports GET method.", +"This operation means entity type supports CREATE method.", +"This operation means entity type supports UPDATE method.", +"This operation means entity type supports DELETE method." +], +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ExchangeAuthCodeRequest": { +"description": "ExchangeAuthCodeRequest currently includes the auth code data.", +"id": "ExchangeAuthCodeRequest", +"properties": { +"authCodeData": { +"$ref": "AuthCodeData", +"description": "Optional. AuthCodeData contains the data the runtime requires to exchange for access and refresh tokens. If the data is not provided, the runtime will read the data from the secret manager." +}, +"executionConfig": { +"$ref": "ExecutionConfig", +"description": "ExecutionConfig contains the configuration for the execution of the request." +}, +"oauth2Config": { +"$ref": "OAuth2Config", +"description": "OAuth2Config contains the OAuth2 config for the connection." +} +}, +"type": "object" +}, +"ExchangeAuthCodeResponse": { +"description": "ExchangeAuthCodeResponse includes the returned access token and its associated credentials.", +"id": "ExchangeAuthCodeResponse", +"properties": { +"accessCredentials": { +"$ref": "AccessCredentials" +}, +"metadata": { +"additionalProperties": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"type": "object" +}, +"description": "Metadata like service latency, etc.", +"type": "object" +} +}, +"type": "object" +}, +"ExecuteActionRequest": { +"description": "Request message for ActionService.ExecuteAction", +"id": "ExecuteActionRequest", +"properties": { +"executionConfig": { +"$ref": "ExecutionConfig", +"description": "Execution config for the request." +}, +"parameters": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"description": "Parameters for executing the action. The parameters can be key/value pairs or nested structs.", +"type": "object" +} +}, +"type": "object" +}, +"ExecuteActionResponse": { +"description": "Response message for ActionService.ExecuteAction", +"id": "ExecuteActionResponse", +"properties": { +"metadata": { +"additionalProperties": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"type": "object" +}, +"description": "Metadata like service latency, etc.", +"type": "object" +}, +"results": { +"description": "In the case of successful invocation of the specified action, the results Struct contains values based on the response of the action invoked. 1. If the action execution produces any entities as a result, they are returned as an array of Structs with the 'key' being the field name and the 'value' being the value of that field in each result row. { 'results': [{'key': 'value'}, ...] }", +"items": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"type": "object" +}, +"type": "array" +} +}, +"type": "object" +}, +"ExecuteSqlQueryRequest": { +"description": "An execute sql query request containing the query and the connection to execute it on.", +"id": "ExecuteSqlQueryRequest", +"properties": { +"query": { +"$ref": "Query", +"description": "Required. SQL statement passed by clients like Integration Platform, the query is passed as-is to the driver used for interfacing with external systems." +} +}, +"type": "object" +}, +"ExecuteSqlQueryResponse": { +"description": "A response returned by the connection after executing the sql query.", +"id": "ExecuteSqlQueryResponse", +"properties": { +"results": { +"description": "In the case of successful execution of the query the response contains results returned by the external system. For example, the result rows of the query are contained in the 'results' Struct list - \"results\": [ { \"field1\": \"val1\", \"field2\": \"val2\",.. },.. ] Each Struct row can contain fields any type of like nested Structs or lists.", +"items": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"type": "object" +}, +"type": "array" +} +}, +"type": "object" +}, +"ExecuteToolRequest": { +"description": "Request message for ConnectorAgentService.ExecuteTool", +"id": "ExecuteToolRequest", +"properties": { +"executionConfig": { +"$ref": "ExecutionConfig", +"description": "execution config for the request." +}, +"parameters": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"description": "Input parameters for the tool.", +"type": "object" +}, +"toolDefinition": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"description": "Tool definition for the tool to be executed.", +"type": "object" +} +}, +"type": "object" +}, +"ExecuteToolResponse": { +"description": "Response message for ConnectorAgentService.ExecuteTool", +"id": "ExecuteToolResponse", +"properties": { +"metadata": { +"additionalProperties": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"type": "object" +}, +"description": "Metadata like service latency, etc.", +"type": "object" +}, +"result": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"description": "Output from the tool execution.", +"type": "object" +} +}, +"type": "object" +}, +"ExecutionConfig": { +"id": "ExecutionConfig", +"properties": { +"headers": { +"description": "headers to be used for the request. For example: headers:'{\"x-integration-connectors-managed-connection-id\":\"conn-id\",\"x-integration-connectors-runtime-config\":\"runtime-cfg\"}'", +"type": "string" +} +}, +"type": "object" +}, +"Field": { +"description": "Message contains EntityType's Field metadata.", +"id": "Field", +"properties": { +"additionalDetails": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"description": "The following map contains fields that are not explicitly mentioned above,this give connectors the flexibility to add new metadata fields.", +"type": "object" +}, +"dataType": { +"description": "The data type of the Field.", +"enum": [ +"DATA_TYPE_UNSPECIFIED", +"INT", +"SMALLINT", +"DOUBLE", +"DATE", +"DATETIME", +"TIME", +"STRING", +"LONG", +"BOOLEAN", +"DECIMAL", +"UUID", +"BLOB", +"BIT", +"TINYINT", +"INTEGER", +"BIGINT", +"FLOAT", +"REAL", +"NUMERIC", +"CHAR", +"VARCHAR", +"LONGVARCHAR", +"TIMESTAMP", +"NCHAR", +"NVARCHAR", +"LONGNVARCHAR", +"NULL", +"OTHER", +"JAVA_OBJECT", +"DISTINCT", +"STRUCT", +"ARRAY", +"CLOB", +"REF", +"DATALINK", +"ROWID", +"BINARY", +"VARBINARY", +"LONGVARBINARY", +"NCLOB", +"SQLXML", +"REF_CURSOR", +"TIME_WITH_TIMEZONE", +"TIMESTAMP_WITH_TIMEZONE" +], +"enumDeprecated": [ +false, +true, +false, +false, +false, +true, +false, +true, +true, +false, +false, +true, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false +], +"enumDescriptions": [ +"Datatype unspecified.", +"Deprecated Int type, use INTEGER type instead.", +"Small int type.", +"Double type.", +"Date type.", +"Deprecated Datetime type.", +"Time type.", +"Deprecated string type, use VARCHAR type instead.", +"Deprecated Long type, use BIGINT type instead.", +"Boolean type.", +"Decimal type.", +"Deprecated UUID type, use VARCHAR instead.", +"Blob type.", +"Bit type.", +"Tiny int type.", +"Integer type.", +"Big int type.", +"Float type.", +"Real type.", +"Numeric type.", +"Char type.", +"Varchar type.", +"Long varchar type.", +"Timestamp type.", +"Nchar type.", +"Nvarchar type.", +"Long Nvarchar type.", +"Null type.", +"Other type.", +"Java object type.", +"Distinct type keyword.", +"Struct type.", +"Array type.", +"Clob type.", +"Ref type.", +"Datalink type.", +"Row ID type.", +"Binary type.", +"Varbinary type.", +"Long Varbinary type.", +"Nclob type.", +"SQLXML type.", +"Ref_cursor type.", +"Time with timezone type.", +"Timestamp with timezone type." +], +"type": "string" +}, +"defaultValue": { +"description": "The following field specifies the default value of the Field provided by the external system if a value is not provided.", +"type": "any" +}, +"description": { +"description": "A brief description of the Field.", +"type": "string" +}, +"jsonSchema": { +"$ref": "JsonSchema", +"description": "JsonSchema of the field, applicable only if field is of type `STRUCT`" +}, +"key": { +"description": "The following boolean field specifies if the current Field acts as a primary key or id if the parent is of type entity.", +"type": "boolean" +}, +"name": { +"description": "Name of the Field.", +"type": "string" +}, +"nullable": { +"description": "Specifies whether a null value is allowed.", +"type": "boolean" +}, +"reference": { +"$ref": "Reference", +"description": "Reference captures the association between two different entity types. Value links to the reference of another entity type." +} +}, +"type": "object" +}, +"GenerateCustomToolspecRequest": { +"id": "GenerateCustomToolspecRequest", +"properties": { +"toolNames": { +"description": "list of tools to be generated.", +"items": { +"$ref": "ToolName" +}, +"type": "array" +} +}, +"type": "object" +}, +"GenerateCustomToolspecResponse": { +"id": "GenerateCustomToolspecResponse", +"properties": { +"toolSpec": { +"$ref": "ToolSpec", +"description": "tool spec that has tool_defitions array containing the tools for all sted tool_names." +} +}, +"type": "object" +}, +"GetResourcePostRequest": { +"description": "Request message for ConnectorAgentService.GetResourcePost", +"id": "GetResourcePostRequest", +"properties": { +"executionConfig": { +"$ref": "ExecutionConfig", +"description": "execution config for the request." +}, +"toolSpec": { +"$ref": "ToolSpec", +"description": "List of tool specifications." +} +}, +"type": "object" +}, +"GetResourceResponse": { +"id": "GetResourceResponse", +"properties": { +"data": { +"description": "The content of the resource.", +"format": "byte", +"type": "string" +}, +"metadata": { +"additionalProperties": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"type": "object" +}, +"description": "Metadata like service latency, etc.", +"type": "object" +}, +"mimeType": { +"description": "The MIME type of the resource.", +"type": "string" +} +}, +"type": "object" +}, +"InputParameter": { +"description": "Input Parameter message contains metadata about the parameters required for executing an Action.", +"id": "InputParameter", +"properties": { +"additionalDetails": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"description": "The following map contains fields that are not explicitly mentioned above,this give connectors the flexibility to add new metadata fields.", +"type": "object" +}, +"dataType": { +"description": "The data type of the Parameter", +"enum": [ +"DATA_TYPE_UNSPECIFIED", +"INT", +"SMALLINT", +"DOUBLE", +"DATE", +"DATETIME", +"TIME", +"STRING", +"LONG", +"BOOLEAN", +"DECIMAL", +"UUID", +"BLOB", +"BIT", +"TINYINT", +"INTEGER", +"BIGINT", +"FLOAT", +"REAL", +"NUMERIC", +"CHAR", +"VARCHAR", +"LONGVARCHAR", +"TIMESTAMP", +"NCHAR", +"NVARCHAR", +"LONGNVARCHAR", +"NULL", +"OTHER", +"JAVA_OBJECT", +"DISTINCT", +"STRUCT", +"ARRAY", +"CLOB", +"REF", +"DATALINK", +"ROWID", +"BINARY", +"VARBINARY", +"LONGVARBINARY", +"NCLOB", +"SQLXML", +"REF_CURSOR", +"TIME_WITH_TIMEZONE", +"TIMESTAMP_WITH_TIMEZONE" +], +"enumDeprecated": [ +false, +true, +false, +false, +false, +true, +false, +true, +true, +false, +false, +true, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false +], +"enumDescriptions": [ +"Datatype unspecified.", +"Deprecated Int type, use INTEGER type instead.", +"Small int type.", +"Double type.", +"Date type.", +"Deprecated Datetime type.", +"Time type.", +"Deprecated string type, use VARCHAR type instead.", +"Deprecated Long type, use BIGINT type instead.", +"Boolean type.", +"Decimal type.", +"Deprecated UUID type, use VARCHAR instead.", +"Blob type.", +"Bit type.", +"Tiny int type.", +"Integer type.", +"Big int type.", +"Float type.", +"Real type.", +"Numeric type.", +"Char type.", +"Varchar type.", +"Long varchar type.", +"Timestamp type.", +"Nchar type.", +"Nvarchar type.", +"Long Nvarchar type.", +"Null type.", +"Other type.", +"Java object type.", +"Distinct type keyword.", +"Struct type.", +"Array type.", +"Clob type.", +"Ref type.", +"Datalink type.", +"Row ID type.", +"Binary type.", +"Varbinary type.", +"Long Varbinary type.", +"Nclob type.", +"SQLXML type.", +"Ref_cursor type.", +"Time with timezone type.", +"Timestamp with timezone type." +], +"type": "string" +}, +"defaultValue": { +"description": "The following field specifies the default value of the Parameter provided by the external system if a value is not provided.", +"type": "any" +}, +"description": { +"description": "A brief description of the Parameter.", +"type": "string" +}, +"jsonSchema": { +"$ref": "JsonSchema", +"description": "JsonSchema of the parameter, applicable only if parameter is of type `STRUCT`" +}, +"name": { +"description": "Name of the Parameter.", +"type": "string" +}, +"nullable": { +"description": "Specifies whether a null value is allowed.", +"type": "boolean" +} +}, +"type": "object" +}, +"Instance": { +"description": "Instance represents the interface for SLM services to actuate the state of control plane resources. Example Instance in JSON, where consumer-project-number=123456, producer-project-id=cloud-sql: ```json Instance: { \"name\": \"projects/123456/locations/us-east1/instances/prod-instance\", \"create_time\": { \"seconds\": 1526406431, }, \"labels\": { \"env\": \"prod\", \"foo\": \"bar\" }, \"state\": READY, \"software_versions\": { \"software_update\": \"cloud-sql-09-28-2018\", }, \"maintenance_policy_names\": { \"UpdatePolicy\": \"projects/123456/locations/us-east1/maintenancePolicies/prod-update-policy\", } \"tenant_project_id\": \"cloud-sql-test-tenant\", \"producer_metadata\": { \"cloud-sql-tier\": \"basic\", \"cloud-sql-instance-size\": \"1G\", }, \"provisioned_resources\": [ { \"resource-type\": \"compute-instance\", \"resource-url\": \"https://www.googleapis.com/compute/v1/projects/cloud-sql/zones/us-east1-b/instances/vm-1\", } ], \"maintenance_schedules\": { \"csa_rollout\": { \"start_time\": { \"seconds\": 1526406431, }, \"end_time\": { \"seconds\": 1535406431, }, }, \"ncsa_rollout\": { \"start_time\": { \"seconds\": 1526406431, }, \"end_time\": { \"seconds\": 1535406431, }, } }, \"consumer_defined_name\": \"my-sql-instance1\", } ``` LINT.IfChange", +"id": "Instance", +"properties": { +"consumerDefinedName": { +"description": "consumer_defined_name is the name of the instance set by the service consumers. Generally this is different from the `name` field which reperesents the system-assigned id of the instance which the service consumers do not recognize. This is a required field for tenants onboarding to Maintenance Window notifications (go/slm-rollout-maintenance-policies#prerequisites).", +"type": "string" +}, +"consumerProjectNumber": { +"description": "Optional. The consumer_project_number associated with this Apigee instance. This field is added specifically to support Apigee integration with SLM Rollout and UMM. It represents the numerical project ID of the GCP project that consumes this Apigee instance. It is used for SLM rollout notifications and UMM integration, enabling proper mapping to customer projects and log delivery for Apigee instances. This field complements consumer_project_id and may be used for specific Apigee scenarios where the numerical ID is required.", +"type": "string" +}, +"createTime": { +"description": "Output only. Timestamp when the resource was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"instanceType": { +"description": "Optional. The instance_type of this instance of format: projects/{project_number}/locations/{location_id}/instanceTypes/{instance_type_id}. Instance Type represents a high-level tier or SKU of the service that this instance belong to. When enabled(eg: Maintenance Rollout), Rollout uses 'instance_type' along with 'software_versions' to determine whether instance needs an update or not.", +"type": "string" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. Resource labels to represent user provided metadata. Each label is a key-value pair, where both the key and the value are arbitrary strings provided by the user.", +"type": "object" +}, +"maintenancePolicyNames": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. The MaintenancePolicies that have been attached to the instance. The key must be of the type name of the oneof policy name defined in MaintenancePolicy, and the referenced policy must define the same policy type. For details, please refer to go/mr-user-guide. Should not be set if maintenance_settings.maintenance_policies is set.", +"type": "object" +}, +"maintenanceSchedules": { +"additionalProperties": { +"$ref": "MaintenanceSchedule" +}, +"description": "The MaintenanceSchedule contains the scheduling information of published maintenance schedule with same key as software_versions.", +"type": "object" +}, +"maintenanceSettings": { +"$ref": "MaintenanceSettings", +"description": "Optional. The MaintenanceSettings associated with instance." +}, +"name": { +"description": "Unique name of the resource. It uses the form: `projects/{project_number}/locations/{location_id}/instances/{instance_id}` Note: This name is passed, stored and logged across the rollout system. So use of consumer project_id or any other consumer PII in the name is strongly discouraged for wipeout (go/wipeout) compliance. See go/elysium/project_ids#storage-guidance for more details.", +"type": "string" +}, +"notificationParameters": { +"additionalProperties": { +"$ref": "NotificationParameter" +}, +"description": "Optional. notification_parameter are information that service producers may like to include that is not relevant to Rollout. This parameter will only be passed to Gamma and Cloud Logging for notification/logging purpose.", +"type": "object" +}, +"producerMetadata": { +"additionalProperties": { +"type": "string" +}, +"description": "Output only. Custom string attributes used primarily to expose producer-specific information in monitoring dashboards. See go/get-instance-metadata.", +"readOnly": true, +"type": "object" +}, +"provisionedResources": { +"description": "Output only. The list of data plane resources provisioned for this instance, e.g. compute VMs. See go/get-instance-metadata.", +"items": { +"$ref": "ProvisionedResource" +}, +"readOnly": true, +"type": "array" +}, +"slmInstanceTemplate": { +"description": "Link to the SLM instance template. Only populated when updating SLM instances via SSA's Actuation service adaptor. Service producers with custom control plane (e.g. Cloud SQL) doesn't need to populate this field. Instead they should use software_versions.", +"type": "string" +}, +"sloMetadata": { +"$ref": "SloMetadata", +"description": "Output only. SLO metadata for instance classification in the Standardized dataplane SLO platform. See go/cloud-ssa-standard-slo for feature description.", +"readOnly": true +}, +"softwareVersions": { +"additionalProperties": { +"type": "string" +}, +"description": "Software versions that are used to deploy this instance. This can be mutated by rollout services.", +"type": "object" +}, +"state": { +"description": "Output only. Current lifecycle state of the resource (e.g. if it's being created or ready to use).", +"enum": [ +"STATE_UNSPECIFIED", +"CREATING", +"READY", +"UPDATING", +"REPAIRING", +"DELETING", +"ERROR" +], +"enumDescriptions": [ +"Unspecified state.", +"Instance is being created.", +"Instance has been created and is ready to use.", +"Instance is being updated.", +"Instance is unheathy and under repair.", +"Instance is being deleted.", +"Instance encountered an error and is in indeterministic state." +], +"readOnly": true, +"type": "string" +}, +"tenantProjectId": { +"description": "Output only. ID of the associated GCP tenant project. See go/get-instance-metadata.", +"readOnly": true, +"type": "string" +}, +"updateTime": { +"description": "Output only. Timestamp when the resource was last modified.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"JsonSchema": { +"description": "JsonSchema representation of schema metadata", +"id": "JsonSchema", +"properties": { +"additionalDetails": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"description": "Additional details apart from standard json schema fields, this gives flexibility to store metadata about the schema", +"type": "object" +}, +"default": { +"description": "The default value of the field or object described by this schema.", +"type": "any" +}, +"description": { +"description": "A description of this schema.", +"type": "string" +}, +"enum": { +"description": "Possible values for an enumeration. This works in conjunction with `type` to represent types with a fixed set of legal values", +"items": { +"type": "any" +}, +"type": "array" +}, +"format": { +"description": "Format of the value as per https://json-schema.org/understanding-json-schema/reference/string.html#format", +"type": "string" +}, +"items": { +"$ref": "JsonSchema", +"description": "Schema that applies to array values, applicable only if this is of type `array`." +}, +"jdbcType": { +"description": "JDBC datatype of the field.", +"enum": [ +"DATA_TYPE_UNSPECIFIED", +"INT", +"SMALLINT", +"DOUBLE", +"DATE", +"DATETIME", +"TIME", +"STRING", +"LONG", +"BOOLEAN", +"DECIMAL", +"UUID", +"BLOB", +"BIT", +"TINYINT", +"INTEGER", +"BIGINT", +"FLOAT", +"REAL", +"NUMERIC", +"CHAR", +"VARCHAR", +"LONGVARCHAR", +"TIMESTAMP", +"NCHAR", +"NVARCHAR", +"LONGNVARCHAR", +"NULL", +"OTHER", +"JAVA_OBJECT", +"DISTINCT", +"STRUCT", +"ARRAY", +"CLOB", +"REF", +"DATALINK", +"ROWID", +"BINARY", +"VARBINARY", +"LONGVARBINARY", +"NCLOB", +"SQLXML", +"REF_CURSOR", +"TIME_WITH_TIMEZONE", +"TIMESTAMP_WITH_TIMEZONE" +], +"enumDeprecated": [ +false, +true, +false, +false, +false, +true, +false, +true, +true, +false, +false, +true, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false +], +"enumDescriptions": [ +"Datatype unspecified.", +"Deprecated Int type, use INTEGER type instead.", +"Small int type.", +"Double type.", +"Date type.", +"Deprecated Datetime type.", +"Time type.", +"Deprecated string type, use VARCHAR type instead.", +"Deprecated Long type, use BIGINT type instead.", +"Boolean type.", +"Decimal type.", +"Deprecated UUID type, use VARCHAR instead.", +"Blob type.", +"Bit type.", +"Tiny int type.", +"Integer type.", +"Big int type.", +"Float type.", +"Real type.", +"Numeric type.", +"Char type.", +"Varchar type.", +"Long varchar type.", +"Timestamp type.", +"Nchar type.", +"Nvarchar type.", +"Long Nvarchar type.", +"Null type.", +"Other type.", +"Java object type.", +"Distinct type keyword.", +"Struct type.", +"Array type.", +"Clob type.", +"Ref type.", +"Datalink type.", +"Row ID type.", +"Binary type.", +"Varbinary type.", +"Long Varbinary type.", +"Nclob type.", +"SQLXML type.", +"Ref_cursor type.", +"Time with timezone type.", +"Timestamp with timezone type." +], +"type": "string" +}, +"properties": { +"additionalProperties": { +"$ref": "JsonSchema" +}, +"description": "The child schemas, applicable only if this is of type `object`. The key is the name of the property and the value is the json schema that describes that property", +"type": "object" +}, +"required": { +"description": "Whether this property is required.", +"items": { +"type": "string" +}, +"type": "array" +}, +"type": { +"description": "JSON Schema Validation: A Vocabulary for Structural Validation of JSON", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListActionsResponse": { +"description": "Response message for ActionService.ListActions", +"id": "ListActionsResponse", +"properties": { +"actions": { +"description": "List of action metadata.", +"items": { +"$ref": "Action" +}, +"type": "array" +}, +"metadata": { +"additionalProperties": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"type": "object" +}, +"description": "Metadata like service latency, etc.", +"type": "object" +}, +"nextPageToken": { +"description": "Next page token if more actions available.", +"type": "string" +}, +"unsupportedActionNames": { +"description": "List of actions which contain unsupported Datatypes. Check datatype.proto for more information.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListCustomToolNamesResponse": { +"id": "ListCustomToolNamesResponse", +"properties": { +"toolNames": { +"description": "List of custom tools.", +"items": { +"$ref": "ToolName" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListEntitiesResponse": { +"description": "Response message for EntityService.ListEntities", +"id": "ListEntitiesResponse", +"properties": { +"entities": { +"description": "List containing entity rows.", +"items": { +"$ref": "Entity" +}, +"type": "array" +}, +"metadata": { +"additionalProperties": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"type": "object" +}, +"description": "Metadata like service latency, etc.", +"type": "object" +}, +"nextPageToken": { +"description": "Next page token if more records are available.", +"type": "string" +} +}, +"type": "object" +}, +"ListEntityTypesResponse": { +"description": "Response message for EntityService.ListEntityTypes", +"id": "ListEntityTypesResponse", +"properties": { +"metadata": { +"additionalProperties": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"type": "object" +}, +"description": "Metadata like service latency, etc.", +"type": "object" +}, +"nextPageToken": { +"description": "Next page token if more entity types available.", +"type": "string" +}, +"types": { +"description": "List of metadata related to all entity types.", +"items": { +"$ref": "EntityType" +}, +"type": "array" +}, +"unsupportedTypeNames": { +"description": "List of entity type names which contain unsupported Datatypes. Check datatype.proto for more information.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListResourcesResponse": { +"id": "ListResourcesResponse", +"properties": { +"metadata": { +"additionalProperties": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"type": "object" +}, +"description": "Metadata like service latency, etc.", +"type": "object" +}, +"nextPageToken": { +"description": "Next page token if more resources available.", +"type": "string" +}, +"resources": { +"description": "List of available resources.", +"items": { +"$ref": "Resource" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListToolsPostRequest": { +"description": "Request message for ConnectorAgentService.ListToolsPost", +"id": "ListToolsPostRequest", +"properties": { +"executionConfig": { +"$ref": "ExecutionConfig", +"description": "execution config for the request." +}, +"pageSize": { +"description": "Page size.", +"format": "int32", +"type": "integer" +}, +"pageToken": { +"description": "Page token.", +"type": "string" +}, +"toolSpec": { +"$ref": "ToolSpec", +"description": "List of tool specifications." +} +}, +"type": "object" +}, +"ListToolsResponse": { +"description": "Response message for ConnectorAgentService.ListTools", +"id": "ListToolsResponse", +"properties": { +"metadata": { +"additionalProperties": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"type": "object" +}, +"description": "Metadata like service latency, etc.", +"type": "object" +}, +"nextPageToken": { +"description": "Next page token.", +"type": "string" +}, +"tools": { +"description": "List of available tools.", +"items": { +"$ref": "Tool" +}, +"type": "array" +} +}, +"type": "object" +}, +"MaintenancePolicy": { +"description": "Defines policies to service maintenance events.", +"id": "MaintenancePolicy", +"properties": { +"createTime": { +"description": "Output only. The time when the resource was created.", +"format": "google-datetime", +"type": "string" +}, +"description": { +"description": "Optional. Description of what this policy is for. Create/Update methods return INVALID_ARGUMENT if the length is greater than 512.", +"type": "string" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. Resource labels to represent user provided metadata. Each label is a key-value pair, where both the key and the value are arbitrary strings provided by the user.", +"type": "object" +}, +"name": { +"description": "Required. MaintenancePolicy name using the form: `projects/{project_id}/locations/{location_id}/maintenancePolicies/{maintenance_policy_id}` where {project_id} refers to a GCP consumer project ID, {location_id} refers to a GCP region/zone, {maintenance_policy_id} must be 1-63 characters long and match the regular expression `[a-z0-9]([-a-z0-9]*[a-z0-9])?`.", +"type": "string" +}, +"state": { +"description": "Optional. The state of the policy.", +"enum": [ +"STATE_UNSPECIFIED", +"READY", +"DELETING" +], +"enumDescriptions": [ +"Unspecified state.", +"Resource is ready to be used.", +"Resource is being deleted. It can no longer be attached to instances." +], +"type": "string" +}, +"updatePolicy": { +"$ref": "UpdatePolicy", +"description": "Maintenance policy applicable to instance update." +}, +"updateTime": { +"description": "Output only. The time when the resource was updated.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"MaintenanceSchedule": { +"description": "Maintenance schedule which is exposed to customer and potentially end user, indicating published upcoming future maintenance schedule", +"id": "MaintenanceSchedule", +"properties": { +"canReschedule": { +"deprecated": true, +"description": "This field is deprecated, and will be always set to true since reschedule can happen multiple times now. This field should not be removed until all service producers remove this for their customers.", +"type": "boolean" +}, +"endTime": { +"description": "The scheduled end time for the maintenance.", +"format": "google-datetime", +"type": "string" +}, +"rolloutManagementPolicy": { +"description": "The rollout management policy this maintenance schedule is associated with. When doing reschedule update request, the reschedule should be against this given policy.", +"type": "string" +}, +"scheduleDeadlineTime": { +"description": "schedule_deadline_time is the time deadline any schedule start time cannot go beyond, including reschedule. It's normally the initial schedule start time plus maintenance window length (1 day or 1 week). Maintenance cannot be scheduled to start beyond this deadline.", +"format": "google-datetime", +"type": "string" +}, +"startTime": { +"description": "The scheduled start time for the maintenance.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"MaintenanceSettings": { +"description": "Maintenance settings associated with instance. Allows service producers and end users to assign settings that controls maintenance on this instance.", +"id": "MaintenanceSettings", +"properties": { +"exclude": { +"description": "Optional. Exclude instance from maintenance. When true, rollout service will not attempt maintenance on the instance. Rollout service will include the instance in reported rollout progress as not attempted.", +"type": "boolean" +}, +"isRollback": { +"description": "Optional. If the update call is triggered from rollback, set the value as true.", +"type": "boolean" +}, +"maintenancePolicies": { +"additionalProperties": { +"$ref": "MaintenancePolicy" +}, +"description": "Optional. The MaintenancePolicies that have been attached to the instance. The key must be of the type name of the oneof policy name defined in MaintenancePolicy, and the embedded policy must define the same policy type. For details, please refer to go/mr-user-guide. Should not be set if maintenance_policy_names is set. If only the name is needed, then only populate MaintenancePolicy.name.", +"type": "object" +} +}, +"type": "object" +}, +"MaintenanceWindow": { +"description": "MaintenanceWindow definition.", +"id": "MaintenanceWindow", +"properties": { +"dailyCycle": { +"$ref": "DailyCycle", +"description": "Daily cycle." +}, +"weeklyCycle": { +"$ref": "WeeklyCycle", +"description": "Weekly cycle." +} +}, +"type": "object" +}, +"NodeSloMetadata": { +"description": "Node information for custom per-node SLO implementations. SSA does not support per-node SLO, but producers can populate per-node information in SloMetadata for custom precomputations. SSA Eligibility Exporter will emit per-node metric based on this information.", +"id": "NodeSloMetadata", +"properties": { +"location": { +"description": "The location of the node, if different from instance location.", +"type": "string" +}, +"nodeId": { +"description": "The id of the node. This should be equal to SaasInstanceNode.node_id.", +"type": "string" +}, +"perSliEligibility": { +"$ref": "PerSliSloEligibility", +"description": "If present, this will override eligibility for the node coming from instance or exclusions for specified SLIs." +} +}, +"type": "object" +}, +"NotificationParameter": { +"description": "Contains notification related data.", +"id": "NotificationParameter", +"properties": { +"values": { +"description": "Optional. Array of string values. e.g. instance's replica information.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"OAuth2Config": { +"id": "OAuth2Config", +"properties": { +"authUri": { +"description": "Authorization Server URL/Token Endpoint for Authorization Code Flow", +"type": "string" +}, +"clientId": { +"description": "Client ID for the OAuth2 flow.", +"type": "string" +}, +"clientSecret": { +"description": "Client secret for the OAuth2 flow.", +"type": "string" +} +}, +"type": "object" +}, +"PerSliSloEligibility": { +"description": "PerSliSloEligibility is a mapping from an SLI name to eligibility.", +"id": "PerSliSloEligibility", +"properties": { +"eligibilities": { +"additionalProperties": { +"$ref": "SloEligibility" +}, +"description": "An entry in the eligibilities map specifies an eligibility for a particular SLI for the given instance. The SLI key in the name must be a valid SLI name specified in the Eligibility Exporter binary flags otherwise an error will be emitted by Eligibility Exporter and the oncaller will be alerted. If an SLI has been defined in the binary flags but the eligibilities map does not contain it, the corresponding SLI time series will not be emitted by the Eligibility Exporter. This ensures a smooth rollout and compatibility between the data produced by different versions of the Eligibility Exporters. If eligibilities map contains a key for an SLI which has not been declared in the binary flags, there will be an error message emitted in the Eligibility Exporter log and the metric for the SLI in question will not be emitted.", +"type": "object" +} +}, +"type": "object" +}, +"ProvisionedResource": { +"description": "Describes provisioned dataplane resources.", +"id": "ProvisionedResource", +"properties": { +"resourceType": { +"description": "Type of the resource. This can be either a GCP resource or a custom one (e.g. another cloud provider's VM). For GCP compute resources use singular form of the names listed in GCP compute API documentation (https://cloud.google.com/compute/docs/reference/rest/v1/), prefixed with 'compute-', for example: 'compute-instance', 'compute-disk', 'compute-autoscaler'.", +"type": "string" +}, +"resourceUrl": { +"description": "URL identifying the resource, e.g. \"https://www.googleapis.com/compute/v1/projects/...)\".", +"type": "string" +} +}, +"type": "object" +}, +"Query": { +"description": "A wrapper around the SQL query statement. This is needed so that the JSON representation of ExecuteSqlQueryRequest has the following format: `{\"query\":\"select *\"}`.", +"id": "Query", +"properties": { +"maxRows": { +"description": "Sets the limit for the maximum number of rows returned after the query execution.", +"format": "int64", +"type": "string" +}, +"query": { +"description": "Required. Sql query to execute.", +"type": "string" +}, +"queryParameters": { +"description": "In the struct, the value corresponds to the value of query parameter and date type corresponds to the date type of the query parameter.", +"items": { +"$ref": "QueryParameter" +}, +"type": "array" +}, +"timeout": { +"description": "Sets the number of seconds the driver will wait for a query to execute.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"QueryParameter": { +"description": "Query parameter definition", +"id": "QueryParameter", +"properties": { +"dataType": { +"enum": [ +"DATA_TYPE_UNSPECIFIED", +"INT", +"SMALLINT", +"DOUBLE", +"DATE", +"DATETIME", +"TIME", +"STRING", +"LONG", +"BOOLEAN", +"DECIMAL", +"UUID", +"BLOB", +"BIT", +"TINYINT", +"INTEGER", +"BIGINT", +"FLOAT", +"REAL", +"NUMERIC", +"CHAR", +"VARCHAR", +"LONGVARCHAR", +"TIMESTAMP", +"NCHAR", +"NVARCHAR", +"LONGNVARCHAR", +"NULL", +"OTHER", +"JAVA_OBJECT", +"DISTINCT", +"STRUCT", +"ARRAY", +"CLOB", +"REF", +"DATALINK", +"ROWID", +"BINARY", +"VARBINARY", +"LONGVARBINARY", +"NCLOB", +"SQLXML", +"REF_CURSOR", +"TIME_WITH_TIMEZONE", +"TIMESTAMP_WITH_TIMEZONE" +], +"enumDeprecated": [ +false, +true, +false, +false, +false, +true, +false, +true, +true, +false, +false, +true, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false +], +"enumDescriptions": [ +"Datatype unspecified.", +"Deprecated Int type, use INTEGER type instead.", +"Small int type.", +"Double type.", +"Date type.", +"Deprecated Datetime type.", +"Time type.", +"Deprecated string type, use VARCHAR type instead.", +"Deprecated Long type, use BIGINT type instead.", +"Boolean type.", +"Decimal type.", +"Deprecated UUID type, use VARCHAR instead.", +"Blob type.", +"Bit type.", +"Tiny int type.", +"Integer type.", +"Big int type.", +"Float type.", +"Real type.", +"Numeric type.", +"Char type.", +"Varchar type.", +"Long varchar type.", +"Timestamp type.", +"Nchar type.", +"Nvarchar type.", +"Long Nvarchar type.", +"Null type.", +"Other type.", +"Java object type.", +"Distinct type keyword.", +"Struct type.", +"Array type.", +"Clob type.", +"Ref type.", +"Datalink type.", +"Row ID type.", +"Binary type.", +"Varbinary type.", +"Long Varbinary type.", +"Nclob type.", +"SQLXML type.", +"Ref_cursor type.", +"Time with timezone type.", +"Timestamp with timezone type." +], +"type": "string" +}, +"value": { +"type": "any" +} +}, +"type": "object" +}, +"Reference": { +"id": "Reference", +"properties": { +"name": { +"description": "Name of the reference field.", +"type": "string" +}, +"type": { +"description": "Name of reference entity type.", +"type": "string" +} +}, +"type": "object" +}, +"RefreshAccessTokenRequest": { +"description": "RefreshAccessTokenRequest includes the refresh token.", +"id": "RefreshAccessTokenRequest", +"properties": { +"executionConfig": { +"$ref": "ExecutionConfig", +"description": "ExecutionConfig contains the configuration for the execution of the request." +}, +"oauth2Config": { +"$ref": "OAuth2Config", +"description": "OAuth2Config contains the OAuth2 config for the connection." +}, +"refreshToken": { +"description": "Optional. Refresh Token String. If the Refresh Token is not provided, the runtime will read the data from the secret manager.", +"type": "string" +} +}, +"type": "object" +}, +"RefreshAccessTokenResponse": { +"description": "RefreshAccessTokenResponse includes the returned access token and its associated credentials.", +"id": "RefreshAccessTokenResponse", +"properties": { +"accessCredentials": { +"$ref": "AccessCredentials" +}, +"metadata": { +"additionalProperties": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"type": "object" +}, +"description": "Metadata like service latency, etc.", +"type": "object" +} +}, +"type": "object" +}, +"Resource": { +"id": "Resource", +"properties": { +"description": { +"description": "A description of what this resource represents.", +"type": "string" +}, +"mimeType": { +"description": "The MIME type of this resource, if known.", +"type": "string" +}, +"name": { +"description": "A human-readable name for this resource.", +"type": "string" +}, +"size": { +"description": "The size of the raw resource content, in bytes, if known.", +"format": "int64", +"type": "string" +}, +"uri": { +"description": "The URI of this resource.", +"type": "string" +} +}, +"type": "object" +}, +"ResultMetadata": { +"description": "Result Metadata message contains metadata about the result returned after executing an Action.", +"id": "ResultMetadata", +"properties": { +"dataType": { +"description": "The data type of the metadata field", +"enum": [ +"DATA_TYPE_UNSPECIFIED", +"INT", +"SMALLINT", +"DOUBLE", +"DATE", +"DATETIME", +"TIME", +"STRING", +"LONG", +"BOOLEAN", +"DECIMAL", +"UUID", +"BLOB", +"BIT", +"TINYINT", +"INTEGER", +"BIGINT", +"FLOAT", +"REAL", +"NUMERIC", +"CHAR", +"VARCHAR", +"LONGVARCHAR", +"TIMESTAMP", +"NCHAR", +"NVARCHAR", +"LONGNVARCHAR", +"NULL", +"OTHER", +"JAVA_OBJECT", +"DISTINCT", +"STRUCT", +"ARRAY", +"CLOB", +"REF", +"DATALINK", +"ROWID", +"BINARY", +"VARBINARY", +"LONGVARBINARY", +"NCLOB", +"SQLXML", +"REF_CURSOR", +"TIME_WITH_TIMEZONE", +"TIMESTAMP_WITH_TIMEZONE" +], +"enumDeprecated": [ +false, +true, +false, +false, +false, +true, +false, +true, +true, +false, +false, +true, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false +], +"enumDescriptions": [ +"Datatype unspecified.", +"Deprecated Int type, use INTEGER type instead.", +"Small int type.", +"Double type.", +"Date type.", +"Deprecated Datetime type.", +"Time type.", +"Deprecated string type, use VARCHAR type instead.", +"Deprecated Long type, use BIGINT type instead.", +"Boolean type.", +"Decimal type.", +"Deprecated UUID type, use VARCHAR instead.", +"Blob type.", +"Bit type.", +"Tiny int type.", +"Integer type.", +"Big int type.", +"Float type.", +"Real type.", +"Numeric type.", +"Char type.", +"Varchar type.", +"Long varchar type.", +"Timestamp type.", +"Nchar type.", +"Nvarchar type.", +"Long Nvarchar type.", +"Null type.", +"Other type.", +"Java object type.", +"Distinct type keyword.", +"Struct type.", +"Array type.", +"Clob type.", +"Ref type.", +"Datalink type.", +"Row ID type.", +"Binary type.", +"Varbinary type.", +"Long Varbinary type.", +"Nclob type.", +"SQLXML type.", +"Ref_cursor type.", +"Time with timezone type.", +"Timestamp with timezone type." +], +"type": "string" +}, +"defaultValue": { +"description": "The following field specifies the default value of the Parameter provided by the external system if a value is not provided.", +"type": "any" +}, +"description": { +"description": "A brief description of the metadata field.", +"type": "string" +}, +"jsonSchema": { +"$ref": "JsonSchema", +"description": "JsonSchema of the result, applicable only if parameter is of type `STRUCT`" +}, +"name": { +"description": "Name of the metadata field.", +"type": "string" +}, +"nullable": { +"description": "Specifies whether a null value is allowed.", +"type": "boolean" +} +}, +"type": "object" +}, +"Schedule": { +"description": "Configure the schedule.", +"id": "Schedule", +"properties": { +"day": { +"description": "Allows to define schedule that runs specified day of the week.", +"enum": [ +"DAY_OF_WEEK_UNSPECIFIED", +"MONDAY", +"TUESDAY", +"WEDNESDAY", +"THURSDAY", +"FRIDAY", +"SATURDAY", +"SUNDAY" +], +"enumDescriptions": [ +"The day of the week is unspecified.", +"Monday", +"Tuesday", +"Wednesday", +"Thursday", +"Friday", +"Saturday", +"Sunday" +], +"type": "string" +}, +"duration": { +"description": "Output only. Duration of the time window, set by service producer.", +"format": "google-duration", +"type": "string" +}, +"startTime": { +"$ref": "TimeOfDay", +"description": "Time within the window to start the operations." +} +}, +"type": "object" +}, +"SloEligibility": { +"description": "SloEligibility is a tuple containing eligibility value: true if an instance is eligible for SLO calculation or false if it should be excluded from all SLO-related calculations along with a user-defined reason.", +"id": "SloEligibility", +"properties": { +"eligible": { +"description": "Whether an instance is eligible or ineligible.", +"type": "boolean" +}, +"reason": { +"description": "User-defined reason for the current value of instance eligibility. Usually, this can be directly mapped to the internal state. An empty reason is allowed.", +"type": "string" +} +}, +"type": "object" +}, +"SloMetadata": { +"description": "SloMetadata contains resources required for proper SLO classification of the instance.", +"id": "SloMetadata", +"properties": { +"nodes": { +"description": "Optional. List of nodes. Some producers need to use per-node metadata to calculate SLO. This field allows such producers to publish per-node SLO meta data, which will be consumed by SSA Eligibility Exporter and published in the form of per node metric to Monarch.", +"items": { +"$ref": "NodeSloMetadata" +}, +"type": "array" +}, +"perSliEligibility": { +"$ref": "PerSliSloEligibility", +"description": "Optional. Multiple per-instance SLI eligibilities which apply for individual SLIs." +}, +"tier": { +"description": "Name of the SLO tier the Instance belongs to. This name will be expected to match the tiers specified in the service SLO configuration. Field is mandatory and must not be empty.", +"type": "string" +} +}, +"type": "object" +}, +"TimeOfDay": { +"description": "Represents a time of day. The date and time zone are either not significant or are specified elsewhere. An API may choose to allow leap seconds. Related types are google.type.Date and `google.protobuf.Timestamp`.", +"id": "TimeOfDay", +"properties": { +"hours": { +"description": "Hours of a day in 24 hour format. Must be greater than or equal to 0 and typically must be less than or equal to 23. An API may choose to allow the value \"24:00:00\" for scenarios like business closing time.", +"format": "int32", +"type": "integer" +}, +"minutes": { +"description": "Minutes of an hour. Must be greater than or equal to 0 and less than or equal to 59.", +"format": "int32", +"type": "integer" +}, +"nanos": { +"description": "Fractions of seconds, in nanoseconds. Must be greater than or equal to 0 and less than or equal to 999,999,999.", +"format": "int32", +"type": "integer" +}, +"seconds": { +"description": "Seconds of a minute. Must be greater than or equal to 0 and typically must be less than or equal to 59. An API may allow the value 60 if it allows leap-seconds.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"Tool": { +"description": "Message representing a single tool.", +"id": "Tool", +"properties": { +"annotations": { +"$ref": "ToolAnnotations", +"description": "Annotations for the tool." +}, +"dependsOn": { +"description": "List of tool names that this tool depends on.", +"items": { +"type": "string" +}, +"type": "array" +}, +"description": { +"description": "Description of the tool.", +"type": "string" +}, +"inputSchema": { +"$ref": "JsonSchema", +"description": "JSON schema for the input parameters of the tool." +}, +"name": { +"description": "Name of the tool.", +"type": "string" +}, +"outputSchema": { +"$ref": "JsonSchema", +"description": "JSON schema for the output of the tool." +} +}, +"type": "object" +}, +"ToolAnnotations": { +"description": "ToolAnnotations holds annotations for a tool.", +"id": "ToolAnnotations", +"properties": { +"destructiveHint": { +"description": "If true, the tool may perform destructive updates to its environment. If false, the tool performs only additive updates. (This property is meaningful only when `read_only_hint == false`)", +"type": "boolean" +}, +"idempotentHint": { +"description": "If true, calling the tool repeatedly with the same arguments will have no additional effect on the environment. (This property is meaningful only when `read_only_hint == false`)", +"type": "boolean" +}, +"openWorldHint": { +"description": "If true, this tool may interact with an \"open world\" of external entities. If false, the tool's domain of interaction is closed. For example, the world of a web search tool is open, whereas that of a memory tool is not.", +"type": "boolean" +}, +"readOnlyHint": { +"description": "If true, the tool does not modify its environment.", +"type": "boolean" +}, +"title": { +"description": "A human-readable title for the tool.", +"type": "string" +} +}, +"type": "object" +}, +"ToolName": { +"id": "ToolName", +"properties": { +"entityName": { +"description": "Entity name for which the tool was generated.", +"type": "string" +}, +"name": { +"description": "Tool name that was generated in the list tools call.", +"type": "string" +}, +"operation": { +"description": "Operation for which the tool was generated.", +"enum": [ +"OPERATION_UNSPECIFIED", +"LIST", +"GET", +"CREATE", +"UPDATE", +"DELETE" +], +"enumDescriptions": [ +"Operation unspecified.", +"LIST entities.", +"GET entity.", +"CREATE entity.", +"UPDATE entity.", +"DELETE entity." +], +"type": "string" +} +}, +"type": "object" +}, +"ToolSpec": { +"id": "ToolSpec", +"properties": { +"toolDefinitions": { +"description": "List of tool definitions.", +"items": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"type": "object" +}, +"type": "array" +}, +"toolSpecVersion": { +"description": "Version of the tool spec. Format: providerId/connectorId/versionId/toolSpecId", +"type": "string" +} +}, +"type": "object" +}, +"UpdateEntitiesWithConditionsResponse": { +"description": "Response message for EntityService.UpdateEntitiesWithConditions", +"id": "UpdateEntitiesWithConditionsResponse", +"properties": { +"metadata": { +"additionalProperties": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"type": "object" +}, +"description": "Metadata like service latency, etc.", +"type": "object" +}, +"response": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"description": "Response returned by the external system.", +"type": "object" +} +}, +"type": "object" +}, +"UpdatePolicy": { +"description": "Maintenance policy applicable to instance updates.", +"id": "UpdatePolicy", +"properties": { +"channel": { +"description": "Optional. Relative scheduling channel applied to resource.", +"enum": [ +"UPDATE_CHANNEL_UNSPECIFIED", +"EARLIER", +"LATER", +"WEEK1", +"WEEK2", +"WEEK5" +], +"enumDescriptions": [ +"Unspecified channel.", +"Early channel within a customer project.", +"Later channel within a customer project.", +"! ! The follow channels can ONLY be used if you adopt the new MW system! ! ! NOTE: all WEEK channels are assumed to be under a weekly window. ! There is currently no dedicated channel definitions for Daily windows. ! If you use Daily window, the system will assume a 1d (24Hours) advanced ! notification period b/w EARLY and LATER. ! We may consider support more flexible daily channel specifications in ! the future. WEEK1 == EARLIER with minimum 7d advanced notification. {7d, 14d} The system will treat them equally and will use WEEK1 whenever it can. New customers are encouraged to use this channel annotation.", +"WEEK2 == LATER with minimum 14d advanced notification {14d, 21d}.", +"WEEK5 == 40d support. minimum 35d advanced notification {35d, 42d}." +], +"type": "string" +}, +"denyMaintenancePeriods": { +"description": "Deny Maintenance Period that is applied to resource to indicate when maintenance is forbidden. The protocol supports zero-to-many such periods, but the current SLM Rollout implementation only supports zero-to-one.", +"items": { +"$ref": "DenyMaintenancePeriod" +}, +"type": "array" +}, +"window": { +"$ref": "MaintenanceWindow", +"description": "Optional. Maintenance window that is applied to resources covered by this policy." +} +}, +"type": "object" +}, +"WeeklyCycle": { +"description": "Time window specified for weekly operations.", +"id": "WeeklyCycle", +"properties": { +"schedule": { +"description": "User can specify multiple windows in a week. Minimum of 1 window.", +"items": { +"$ref": "Schedule" +}, +"type": "array" +} +}, +"type": "object" +} +}, +"servicePath": "", +"title": "Connectors API", +"version": "v2", +"version_module": true +} \ No newline at end of file diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/contactcenteraiplatform.v1alpha1.json b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/contactcenteraiplatform.v1alpha1.json new file mode 100644 index 0000000000000000000000000000000000000000..86d3b142ccf3272ad6a3c0b88378df3725679b70 --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/contactcenteraiplatform.v1alpha1.json @@ -0,0 +1,1763 @@ +{ +"auth": { +"oauth2": { +"scopes": { +"https://www.googleapis.com/auth/cloud-platform": { +"description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." +} +} +} +}, +"basePath": "", +"baseUrl": "https://contactcenteraiplatform.googleapis.com/", +"batchPath": "batch", +"canonicalName": "CCAI Platform", +"description": "", +"discoveryVersion": "v1", +"documentationLink": "https://cloud.google.com/solutions/contact-center-ai-platform", +"fullyEncodeReservedExpansion": true, +"icons": { +"x16": "http://www.google.com/images/icons/product/search-16.gif", +"x32": "http://www.google.com/images/icons/product/search-32.gif" +}, +"id": "contactcenteraiplatform:v1alpha1", +"kind": "discovery#restDescription", +"mtlsRootUrl": "https://contactcenteraiplatform.mtls.googleapis.com/", +"name": "contactcenteraiplatform", +"ownerDomain": "google.com", +"ownerName": "Google", +"parameters": { +"$.xgafv": { +"description": "V1 error format.", +"enum": [ +"1", +"2" +], +"enumDescriptions": [ +"v1 error format", +"v2 error format" +], +"location": "query", +"type": "string" +}, +"access_token": { +"description": "OAuth access token.", +"location": "query", +"type": "string" +}, +"alt": { +"default": "json", +"description": "Data format for response.", +"enum": [ +"json", +"media", +"proto" +], +"enumDescriptions": [ +"Responses with Content-Type of application/json", +"Media download with context-dependent Content-Type", +"Responses with Content-Type of application/x-protobuf" +], +"location": "query", +"type": "string" +}, +"callback": { +"description": "JSONP", +"location": "query", +"type": "string" +}, +"fields": { +"description": "Selector specifying which fields to include in a partial response.", +"location": "query", +"type": "string" +}, +"key": { +"description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", +"location": "query", +"type": "string" +}, +"oauth_token": { +"description": "OAuth 2.0 token for the current user.", +"location": "query", +"type": "string" +}, +"prettyPrint": { +"default": "true", +"description": "Returns response with indentations and line breaks.", +"location": "query", +"type": "boolean" +}, +"quotaUser": { +"description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.", +"location": "query", +"type": "string" +}, +"uploadType": { +"description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", +"location": "query", +"type": "string" +}, +"upload_protocol": { +"description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", +"location": "query", +"type": "string" +} +}, +"protocol": "rest", +"resources": { +"projects": { +"resources": { +"locations": { +"methods": { +"generateShifts": { +"description": "Generates shifts constrained by various parameters.", +"flatPath": "v1alpha1/projects/{projectsId}/locations/{locationsId}:generateShifts", +"httpMethod": "POST", +"id": "contactcenteraiplatform.projects.locations.generateShifts", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. Name of the parent resource associated with the request. Format: projects/{project}/locations/{location}", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha1/{+parent}:generateShifts", +"request": { +"$ref": "GenerateShiftsRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets information about a location.", +"flatPath": "v1alpha1/projects/{projectsId}/locations/{locationsId}", +"httpMethod": "GET", +"id": "contactcenteraiplatform.projects.locations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Resource name for the location.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha1/{+name}", +"response": { +"$ref": "Location" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists information about the supported locations for this service. This method can be called in two ways: * **List all public locations:** Use the path `GET /v1/locations`. * **List project-visible locations:** Use the path `GET /v1/projects/{project_id}/locations`. This may include public locations as well as private or other locations specifically visible to the project.", +"flatPath": "v1alpha1/projects/{projectsId}/locations", +"httpMethod": "GET", +"id": "contactcenteraiplatform.projects.locations.list", +"parameterOrder": [ +"name" +], +"parameters": { +"extraLocationTypes": { +"description": "Optional. Do not use this field. It is unsupported and is ignored unless explicitly documented otherwise. This is primarily for internal usage.", +"location": "query", +"repeated": true, +"type": "string" +}, +"filter": { +"description": "A filter to narrow down results to a preferred subset. The filtering language accepts strings like `\"displayName=tokyo\"`, and is documented in more detail in [AIP-160](https://google.aip.dev/160).", +"location": "query", +"type": "string" +}, +"name": { +"description": "The resource that owns the locations collection, if applicable.", +"location": "path", +"pattern": "^projects/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The maximum number of results to return. If not set, the service selects a default.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A page token received from the `next_page_token` field in the response. Send that page token to receive the subsequent page.", +"location": "query", +"type": "string" +} +}, +"path": "v1alpha1/{+name}/locations", +"response": { +"$ref": "ListLocationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"queryContactCenterQuota": { +"description": "Queries the contact center quota, an aggregation over all the projects, that belongs to the billing account, which the input project belongs to.", +"flatPath": "v1alpha1/projects/{projectsId}/locations/{locationsId}:queryContactCenterQuota", +"httpMethod": "GET", +"id": "contactcenteraiplatform.projects.locations.queryContactCenterQuota", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. Parent project resource id.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha1/{+parent}:queryContactCenterQuota", +"response": { +"$ref": "ContactCenterQuota" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"contactCenters": { +"methods": { +"create": { +"description": "Creates a new ContactCenter in a given project and location.", +"flatPath": "v1alpha1/projects/{projectsId}/locations/{locationsId}/contactCenters", +"httpMethod": "POST", +"id": "contactcenteraiplatform.projects.locations.contactCenters.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"contactCenterId": { +"description": "Required. Id of the requesting object If auto-generating Id server-side, remove this field and contact_center_id from the method_signature of Create RPC", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. Value for parent.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "v1alpha1/{+parent}/contactCenters", +"request": { +"$ref": "ContactCenter" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a single ContactCenter.", +"flatPath": "v1alpha1/projects/{projectsId}/locations/{locationsId}/contactCenters/{contactCentersId}", +"httpMethod": "DELETE", +"id": "contactcenteraiplatform.projects.locations.contactCenters.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of the resource", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/contactCenters/[^/]+$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes after the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "v1alpha1/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets details of a single ContactCenter.", +"flatPath": "v1alpha1/projects/{projectsId}/locations/{locationsId}/contactCenters/{contactCentersId}", +"httpMethod": "GET", +"id": "contactcenteraiplatform.projects.locations.contactCenters.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of the resource", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/contactCenters/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha1/{+name}", +"response": { +"$ref": "ContactCenter" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists ContactCenters in a given project and location.", +"flatPath": "v1alpha1/projects/{projectsId}/locations/{locationsId}/contactCenters", +"httpMethod": "GET", +"id": "contactcenteraiplatform.projects.locations.contactCenters.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Filtering results", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "Hint for how to order the results", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A token identifying a page of results the server should return.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. Parent value for ListContactCentersRequest", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha1/{+parent}/contactCenters", +"response": { +"$ref": "ListContactCentersResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates the parameters of a single ContactCenter.", +"flatPath": "v1alpha1/projects/{projectsId}/locations/{locationsId}/contactCenters/{contactCentersId}", +"httpMethod": "PATCH", +"id": "contactcenteraiplatform.projects.locations.contactCenters.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "name of resource", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/contactCenters/[^/]+$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"updateMask": { +"description": "Required. Field mask is used to specify the fields to be overwritten in the ContactCenter resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1alpha1/{+name}", +"request": { +"$ref": "ContactCenter" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"operations": { +"methods": { +"cancel": { +"description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.", +"flatPath": "v1alpha1/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}:cancel", +"httpMethod": "POST", +"id": "contactcenteraiplatform.projects.locations.operations.cancel", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be cancelled.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha1/{+name}:cancel", +"request": { +"$ref": "CancelOperationRequest" +}, +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.", +"flatPath": "v1alpha1/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}", +"httpMethod": "DELETE", +"id": "contactcenteraiplatform.projects.locations.operations.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be deleted.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha1/{+name}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", +"flatPath": "v1alpha1/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}", +"httpMethod": "GET", +"id": "contactcenteraiplatform.projects.locations.operations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha1/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.", +"flatPath": "v1alpha1/projects/{projectsId}/locations/{locationsId}/operations", +"httpMethod": "GET", +"id": "contactcenteraiplatform.projects.locations.operations.list", +"parameterOrder": [ +"name" +], +"parameters": { +"filter": { +"description": "The standard list filter.", +"location": "query", +"type": "string" +}, +"name": { +"description": "The name of the operation's parent resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The standard list page size.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The standard list page token.", +"location": "query", +"type": "string" +}, +"returnPartialSuccess": { +"description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `\"projects/example/locations/-\"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1alpha1/{+name}/operations", +"response": { +"$ref": "ListOperationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +} +} +} +}, +"revision": "20260129", +"rootUrl": "https://contactcenteraiplatform.googleapis.com/", +"schemas": { +"AdminUser": { +"description": "Message storing info about the first admin user. Next ID: 3", +"id": "AdminUser", +"properties": { +"familyName": { +"description": "Optional. Last/family name of the first admin user.", +"type": "string" +}, +"givenName": { +"description": "Optional. First/given name of the first admin user.", +"type": "string" +} +}, +"type": "object" +}, +"CancelOperationRequest": { +"description": "The request message for Operations.CancelOperation.", +"id": "CancelOperationRequest", +"properties": {}, +"type": "object" +}, +"Component": { +"description": "Defines a logical CCAIP component that e.g. \u201cEMAIL\u201d, \"CRM\". For more information see go/ccaip-private-path-v2. Each logical component is associated with a list of service attachments.", +"id": "Component", +"properties": { +"name": { +"description": "Name of the component.", +"type": "string" +}, +"serviceAttachmentNames": { +"description": "Associated service attachments. The service attachment names that will be used for sending private traffic to the CCAIP tenant project. Example service attachment name: \"projects/${TENANT_PROJECT_ID}/regions/${REGION}/serviceAttachments/ingress-default\".", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ContactCenter": { +"description": "Message describing ContactCenter object", +"id": "ContactCenter", +"properties": { +"adminUser": { +"$ref": "AdminUser", +"description": "Optional. Info about the first admin user, such as given name and family name." +}, +"advancedReportingEnabled": { +"description": "Optional. Whether the advanced reporting feature is enabled.", +"type": "boolean" +}, +"ccaipManagedUsers": { +"description": "Optional. Whether to enable users to be created in the CCAIP-instance concurrently to having users in Cloud identity", +"type": "boolean" +}, +"createTime": { +"description": "Output only. [Output only] Create time stamp", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"critical": { +"$ref": "Critical", +"description": "Optional. Critical release channel." +}, +"customerDomainPrefix": { +"description": "Required. Immutable. At least 2 and max 16 char long, must conform to [RFC 1035](https://www.ietf.org/rfc/rfc1035.txt).", +"type": "string" +}, +"deleteTime": { +"description": "Output only. Timestamp in UTC of when this resource was soft-deleted.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"displayName": { +"description": "Required. A user friendly name for the ContactCenter.", +"type": "string" +}, +"early": { +"$ref": "Early", +"description": "Optional. Early release channel." +}, +"expireTime": { +"description": "Output only. Timestamp in UTC of when this resource is considered expired.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"featureConfig": { +"$ref": "FeatureConfig", +"description": "Optional. Feature configuration to populate the feature flags." +}, +"instanceConfig": { +"$ref": "InstanceConfig", +"description": "The configuration of this instance, it is currently immutable once created." +}, +"kmsKey": { +"description": "Immutable. The KMS key name to encrypt the user input (`ContactCenter`).", +"type": "string" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Labels as key value pairs", +"type": "object" +}, +"name": { +"description": "name of resource", +"type": "string" +}, +"normal": { +"$ref": "Normal", +"description": "Optional. Normal release channel." +}, +"privateAccess": { +"$ref": "PrivateAccess", +"description": "Optional. VPC-SC related networking configuration." +}, +"privateComponents": { +"description": "Output only. TODO(b/283407860) Deprecate this field.", +"items": { +"type": "string" +}, +"readOnly": true, +"type": "array" +}, +"purgeTime": { +"description": "Output only. Timestamp in UTC of when this resource is going to be hard-deleted.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"releaseVersion": { +"description": "Output only. UJET release version, unique for each new release.", +"readOnly": true, +"type": "string" +}, +"samlParams": { +"$ref": "SAMLParams", +"description": "Optional. Params that sets up Google as IdP." +}, +"state": { +"description": "Output only. The state of this contact center.", +"enum": [ +"STATE_UNSPECIFIED", +"STATE_DEPLOYING", +"STATE_DEPLOYED", +"STATE_TERMINATING", +"STATE_FAILED", +"STATE_TERMINATING_FAILED", +"STATE_TERMINATED", +"STATE_IN_GRACE_PERIOD", +"STATE_FAILING_OVER", +"STATE_DEGRADED", +"STATE_REPAIRING" +], +"enumDescriptions": [ +"The default value. This value is used if the state is omitted.", +"State DEPLOYING", +"State DEPLOYED", +"State TERMINATING", +"State FAILED", +"State TERMINATING_FAILED", +"Reused for soft-deleted state because semantically equivalent to `DELETED` as implied by go/aip/164.", +"State IN_GRACE_PERIOD", +"State in STATE_FAILING_OVER. This State must ONLY be used by Multiregional Instances when a failover was triggered. Customers are not able to update instances in this state.", +"State DEGRADED. This State must ONLY be used by Multiregional Instances after a failover was executed successfully. Customers are not able to update instances in this state.", +"State REPAIRING. This State must ONLY be used by Multiregional Instances after a fallback was triggered. Customers are not able to update instancs in this state." +], +"readOnly": true, +"type": "string" +}, +"updateTime": { +"description": "Output only. [Output only] Update time stamp", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"uris": { +"$ref": "URIs", +"description": "Output only. URIs to access the deployed ContactCenters.", +"readOnly": true +}, +"userEmail": { +"description": "Optional. Email address of the first admin user.", +"type": "string" +} +}, +"type": "object" +}, +"ContactCenterQuota": { +"description": "Represents a quota for contact centers.", +"id": "ContactCenterQuota", +"properties": { +"contactCenterCountLimit": { +"deprecated": true, +"description": "Deprecated: Use the Quota fields instead. Reflects the count limit of contact centers on a billing account.", +"format": "int32", +"type": "integer" +}, +"contactCenterCountSum": { +"deprecated": true, +"description": "Deprecated: Use the Quota fields instead. Reflects the count sum of contact centers on a billing account.", +"format": "int32", +"type": "integer" +}, +"quotas": { +"description": "Quota details per contact center instance type.", +"items": { +"$ref": "Quota" +}, +"type": "array" +} +}, +"type": "object" +}, +"Critical": { +"description": "Instances in this Channel will receive updates after all instances in `Normal` were updated. They also will only be updated outside of their peak hours.", +"id": "Critical", +"properties": { +"peakHours": { +"description": "Required. Hours during which the instance should not be updated.", +"items": { +"$ref": "WeeklySchedule" +}, +"type": "array" +} +}, +"type": "object" +}, +"Date": { +"description": "Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following: * A full date, with non-zero year, month, and day values. * A month and day, with a zero year (for example, an anniversary). * A year on its own, with a zero month and a zero day. * A year and month, with a zero day (for example, a credit card expiration date). Related types: * google.type.TimeOfDay * google.type.DateTime * google.protobuf.Timestamp", +"id": "Date", +"properties": { +"day": { +"description": "Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn't significant.", +"format": "int32", +"type": "integer" +}, +"month": { +"description": "Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.", +"format": "int32", +"type": "integer" +}, +"year": { +"description": "Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"DateList": { +"description": "List of dates.", +"id": "DateList", +"properties": { +"values": { +"description": "Optional. Values in the list.", +"items": { +"$ref": "Date" +}, +"type": "array" +} +}, +"type": "object" +}, +"DateTime": { +"description": "Represents civil time (or occasionally physical time). This type can represent a civil time in one of a few possible ways: * When utc_offset is set and time_zone is unset: a civil time on a calendar day with a particular offset from UTC. * When time_zone is set and utc_offset is unset: a civil time on a calendar day in a particular time zone. * When neither time_zone nor utc_offset is set: a civil time on a calendar day in local time. The date is relative to the Proleptic Gregorian Calendar. If year, month, or day are 0, the DateTime is considered not to have a specific year, month, or day respectively. This type may also be used to represent a physical time if all the date and time fields are set and either case of the `time_offset` oneof is set. Consider using `Timestamp` message for physical time instead. If your use case also would like to store the user's timezone, that can be done in another field. This type is more flexible than some applications may want. Make sure to document and validate your application's limitations.", +"id": "DateTime", +"properties": { +"day": { +"description": "Optional. Day of month. Must be from 1 to 31 and valid for the year and month, or 0 if specifying a datetime without a day.", +"format": "int32", +"type": "integer" +}, +"hours": { +"description": "Optional. Hours of day in 24 hour format. Should be from 0 to 23, defaults to 0 (midnight). An API may choose to allow the value \"24:00:00\" for scenarios like business closing time.", +"format": "int32", +"type": "integer" +}, +"minutes": { +"description": "Optional. Minutes of hour of day. Must be from 0 to 59, defaults to 0.", +"format": "int32", +"type": "integer" +}, +"month": { +"description": "Optional. Month of year. Must be from 1 to 12, or 0 if specifying a datetime without a month.", +"format": "int32", +"type": "integer" +}, +"nanos": { +"description": "Optional. Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999, defaults to 0.", +"format": "int32", +"type": "integer" +}, +"seconds": { +"description": "Optional. Seconds of minutes of the time. Must normally be from 0 to 59, defaults to 0. An API may allow the value 60 if it allows leap-seconds.", +"format": "int32", +"type": "integer" +}, +"timeZone": { +"$ref": "TimeZone", +"description": "Time zone." +}, +"utcOffset": { +"description": "UTC offset. Must be whole seconds, between -18 hours and +18 hours. For example, a UTC offset of -4:00 would be represented as { seconds: -14400 }.", +"format": "google-duration", +"type": "string" +}, +"year": { +"description": "Optional. Year of date. Must be from 1 to 9999, or 0 if specifying a datetime without a year.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"Early": { +"description": "LINT.IfChange First Channel to receive the updates. Meant to dev/test instances", +"id": "Early", +"properties": {}, +"type": "object" +}, +"EmployeeInfo": { +"description": "Information about a particular employee for planning purposes.", +"id": "EmployeeInfo", +"properties": { +"id": { +"description": "Required. Unique ID of this employee.", +"type": "string" +}, +"unwantedEventIntervals": { +"description": "Optional. A list of unwanted event intervals for this employee. The start time of the interval must be in the planning horizon.", +"items": { +"$ref": "UnwantedEventInterval" +}, +"type": "array" +} +}, +"type": "object" +}, +"Empty": { +"description": "A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }", +"id": "Empty", +"properties": {}, +"type": "object" +}, +"EventTemplate": { +"description": "Template specifying rules for generating a single event that occurs during a shift. An event may represent a meeting, break, lunch, etc.", +"id": "EventTemplate", +"properties": { +"durationMinutes": { +"description": "Required. Fixed duration in minutes of this event.", +"format": "int32", +"type": "integer" +}, +"id": { +"description": "Required. Unique ID of this template.", +"type": "string" +}, +"maximumMinutesAfterShiftStart": { +"description": "Optional. Maximum number of minutes after the beginning of a shift that this event can start.", +"format": "int32", +"type": "integer" +}, +"minimumMinutesAfterShiftStart": { +"description": "Optional. Minimum number of minutes after the beginning of a shift that this event can start.", +"format": "int32", +"type": "integer" +}, +"startTimeIncrementMinutes": { +"description": "Required. The time increment (in minutes) used to generate the set of possible event start times between `minimum_minutes_after_shift_start` and `maximum_minutes_after_shift_start`. For example, if the minimum minutes after shift start are 30, maximum minutes after shift start are 45, and the start time increment is 5 minutes, the event can take place 30, 35, 40, or 45 minutes after the start of the shift.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"FeatureConfig": { +"id": "FeatureConfig", +"properties": { +"agentDesktopEnabled": { +"description": "Optional. If true - enables the agent desktop feature. Default is false.", +"type": "boolean" +} +}, +"type": "object" +}, +"GenerateShiftsRequest": { +"description": "Request with constraints for generating shifts. The shifts generated must adhere to these constraints.", +"id": "GenerateShiftsRequest", +"properties": { +"employeeInfo": { +"description": "Optional. Employee information that should be considered when generating shifts.", +"items": { +"$ref": "EmployeeInfo" +}, +"type": "array" +}, +"planningHorizon": { +"$ref": "PlanningHorizon", +"description": "Required. The solver will generate the maximum number of shifts per shift template." +}, +"shiftTemplates": { +"description": "Required. Set of shift templates specifying rules for generating shifts. A shift template can be used for generating multiple shifts.", +"items": { +"$ref": "ShiftTemplate" +}, +"type": "array" +}, +"solverConfig": { +"$ref": "SolverConfig", +"description": "Required. Parameters for the solver." +}, +"workforceDemands": { +"$ref": "WorkforceDemandList", +"description": "Required. All the workforce demands that the generated shifts need to cover. The planning horizon is defined between the earliest start time and the latest end time across all the entries. This field cannot be empty." +} +}, +"type": "object" +}, +"GoogleCloudCommonOperationMetadata": { +"description": "Represents the metadata of the long-running operation.", +"id": "GoogleCloudCommonOperationMetadata", +"properties": { +"apiVersion": { +"description": "Output only. API version used to start the operation.", +"readOnly": true, +"type": "string" +}, +"cancelRequested": { +"description": "Output only. Identifies whether the user has requested cancellation of the operation. Operations that have been cancelled successfully have google.longrunning.Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.", +"readOnly": true, +"type": "boolean" +}, +"createTime": { +"description": "Output only. The time the operation was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"endTime": { +"description": "Output only. The time the operation finished running.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"statusDetail": { +"description": "Output only. Human-readable status of the operation, if any.", +"readOnly": true, +"type": "string" +}, +"target": { +"description": "Output only. Server-defined resource path for the target of the operation.", +"readOnly": true, +"type": "string" +}, +"verb": { +"description": "Output only. Name of the verb executed by the operation.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"InstanceConfig": { +"description": "Message storing the instance configuration.", +"id": "InstanceConfig", +"properties": { +"instanceSize": { +"description": "The instance size of this the instance configuration.", +"enum": [ +"INSTANCE_SIZE_UNSPECIFIED", +"STANDARD_SMALL", +"STANDARD_MEDIUM", +"STANDARD_LARGE", +"STANDARD_XLARGE", +"STANDARD_2XLARGE", +"STANDARD_3XLARGE", +"MULTIREGION_SMALL", +"MULTIREGION_MEDIUM", +"MULTIREGION_LARGE", +"MULTIREGION_XLARGE", +"MULTIREGION_2XLARGE", +"MULTIREGION_3XLARGE", +"DEV_SMALL", +"SANDBOX_SMALL", +"TRIAL_SMALL", +"TIME_LIMITED_TRIAL_SMALL" +], +"enumDescriptions": [ +"The default value. This value is used if the state is omitted.", +"Instance Size STANDARD_SMALL.", +"Instance Size STANDARD_MEDIUM.", +"Instance Size STANDARD_LARGE.", +"Instance Size STANDARD_XLARGE.", +"Instance Size STANDARD_2XLARGE.", +"Instance Size STANDARD_3XLARGE.", +"Instance Size MULTIREGION_SMALL", +"Instance Size MULTIREGION_MEDIUM", +"Instance Size MULTIREGION_LARGE", +"Instance Size MULTIREGION_XLARGE", +"Instance Size MULTIREGION_2XLARGE.", +"Instance Size MULTIREGION_3XLARGE.", +"Instance Size DEV_SMALL", +"Instance Size SANDBOX_SMALL", +"Instance Size TRIAL_SMALL", +"Instance Size TIME_LIMITED_TRIAL_SMALL" +], +"type": "string" +} +}, +"type": "object" +}, +"ListContactCentersResponse": { +"description": "Message for response to listing ContactCenters", +"id": "ListContactCentersResponse", +"properties": { +"contactCenters": { +"description": "The list of ContactCenter", +"items": { +"$ref": "ContactCenter" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A token identifying a page of results the server should return.", +"type": "string" +}, +"unreachable": { +"description": "Locations that could not be reached.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListLocationsResponse": { +"description": "The response message for Locations.ListLocations.", +"id": "ListLocationsResponse", +"properties": { +"locations": { +"description": "A list of locations that matches the specified filter in the request.", +"items": { +"$ref": "Location" +}, +"type": "array" +}, +"nextPageToken": { +"description": "The standard List next-page token.", +"type": "string" +} +}, +"type": "object" +}, +"ListOperationsResponse": { +"description": "The response message for Operations.ListOperations.", +"id": "ListOperationsResponse", +"properties": { +"nextPageToken": { +"description": "The standard List next-page token.", +"type": "string" +}, +"operations": { +"description": "A list of operations that matches the specified filter in the request.", +"items": { +"$ref": "Operation" +}, +"type": "array" +}, +"unreachable": { +"description": "Unordered list. Unreachable resources. Populated when the request sets `ListOperationsRequest.return_partial_success` and reads across collections. For example, when attempting to list all resources across all supported locations.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"Location": { +"description": "A resource that represents a Google Cloud location.", +"id": "Location", +"properties": { +"displayName": { +"description": "The friendly name for this location, typically a nearby city name. For example, \"Tokyo\".", +"type": "string" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Cross-service attributes for the location. For example {\"cloud.googleapis.com/region\": \"us-east1\"}", +"type": "object" +}, +"locationId": { +"description": "The canonical id for this location. For example: `\"us-east1\"`.", +"type": "string" +}, +"metadata": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "Service-specific metadata. For example the available capacity at the given location.", +"type": "object" +}, +"name": { +"description": "Resource name for the location, which may vary between implementations. For example: `\"projects/example-project/locations/us-east1\"`", +"type": "string" +} +}, +"type": "object" +}, +"Normal": { +"description": "Instances in this Channel will receive updates after all instances in `Early` were updated + 2 days.", +"id": "Normal", +"properties": {}, +"type": "object" +}, +"Operation": { +"description": "This resource represents a long-running operation that is the result of a network API call.", +"id": "Operation", +"properties": { +"done": { +"description": "If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.", +"type": "boolean" +}, +"error": { +"$ref": "Status", +"description": "The error result of the operation in case of failure or cancellation." +}, +"metadata": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.", +"type": "object" +}, +"name": { +"description": "The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.", +"type": "string" +}, +"response": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "The normal, successful response of the operation. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.", +"type": "object" +} +}, +"type": "object" +}, +"OperationMetadata": { +"description": "Represents the metadata of the long-running operation.", +"id": "OperationMetadata", +"properties": { +"apiVersion": { +"description": "Output only. API version used to start the operation.", +"readOnly": true, +"type": "string" +}, +"contactCenter": { +"$ref": "ContactCenter", +"description": "Contact center information for this request" +}, +"createTime": { +"description": "Output only. The time the operation was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"endTime": { +"description": "Output only. The time the operation finished running.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"requestedCancellation": { +"description": "Output only. Identifies whether the user has requested cancellation of the operation. Operations that have been cancelled successfully have Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.", +"readOnly": true, +"type": "boolean" +}, +"statusMessage": { +"description": "Output only. Human-readable status of the operation, if any.", +"readOnly": true, +"type": "string" +}, +"target": { +"description": "Output only. Server-defined resource path for the target of the operation.", +"readOnly": true, +"type": "string" +}, +"verb": { +"description": "Output only. Name of the verb executed by the operation.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"PlanningHorizon": { +"description": "Specifies the time interval during which the solver should generate shifts. The start time must be before the end time.", +"id": "PlanningHorizon", +"properties": { +"endTime": { +"$ref": "DateTime", +"description": "Required. End of the time interval for the given demand (exclusive). These values are read down to the minute; seconds and all smaller units are ignored." +}, +"startTime": { +"$ref": "DateTime", +"description": "Required. Start of the time interval for the given demand (inclusive). These values are read down to the minute; seconds and all smaller units are ignored." +} +}, +"type": "object" +}, +"PrivateAccess": { +"description": "Defines ingress and egress private traffic settings for CCAIP instances.", +"id": "PrivateAccess", +"properties": { +"egressSettings": { +"description": "List of egress components that should not be accessed via the Internet. For more information see go/ccaip-private-path-v2.", +"items": { +"$ref": "Component" +}, +"type": "array" +}, +"ingressSettings": { +"description": "List of ingress components that should not be accessed via the Internet. For more information see go/ccaip-private-path-v2.", +"items": { +"$ref": "Component" +}, +"type": "array" +}, +"pscSetting": { +"$ref": "PscSetting", +"description": "Private service connect settings." +} +}, +"type": "object" +}, +"PscSetting": { +"description": "Private service connect settings.", +"id": "PscSetting", +"properties": { +"allowedConsumerProjectIds": { +"description": "The list of project ids that are allowed to send traffic to the service attachment. This field should be filled only for the ingress components.", +"items": { +"type": "string" +}, +"type": "array" +}, +"producerProjectIds": { +"description": "Output only. The CCAIP tenant project ids.", +"items": { +"type": "string" +}, +"readOnly": true, +"type": "array" +} +}, +"type": "object" +}, +"Quota": { +"description": "Quota details.", +"id": "Quota", +"properties": { +"contactCenterCountLimit": { +"description": "Reflects the count limit of contact centers on a billing account.", +"format": "int32", +"type": "integer" +}, +"contactCenterCountSum": { +"description": "Reflects the count sum of contact centers on a billing account.", +"format": "int32", +"type": "integer" +}, +"contactCenterInstanceSize": { +"description": "Contact center instance type.", +"enum": [ +"INSTANCE_SIZE_UNSPECIFIED", +"STANDARD_SMALL", +"STANDARD_MEDIUM", +"STANDARD_LARGE", +"STANDARD_XLARGE", +"STANDARD_2XLARGE", +"STANDARD_3XLARGE", +"MULTIREGION_SMALL", +"MULTIREGION_MEDIUM", +"MULTIREGION_LARGE", +"MULTIREGION_XLARGE", +"MULTIREGION_2XLARGE", +"MULTIREGION_3XLARGE", +"DEV_SMALL", +"SANDBOX_SMALL", +"TRIAL_SMALL", +"TIME_LIMITED_TRIAL_SMALL" +], +"enumDescriptions": [ +"The default value. This value is used if the state is omitted.", +"Instance Size STANDARD_SMALL.", +"Instance Size STANDARD_MEDIUM.", +"Instance Size STANDARD_LARGE.", +"Instance Size STANDARD_XLARGE.", +"Instance Size STANDARD_2XLARGE.", +"Instance Size STANDARD_3XLARGE.", +"Instance Size MULTIREGION_SMALL", +"Instance Size MULTIREGION_MEDIUM", +"Instance Size MULTIREGION_LARGE", +"Instance Size MULTIREGION_XLARGE", +"Instance Size MULTIREGION_2XLARGE.", +"Instance Size MULTIREGION_3XLARGE.", +"Instance Size DEV_SMALL", +"Instance Size SANDBOX_SMALL", +"Instance Size TRIAL_SMALL", +"Instance Size TIME_LIMITED_TRIAL_SMALL" +], +"type": "string" +} +}, +"type": "object" +}, +"SAMLParams": { +"description": "Message storing SAML params to enable Google as IDP.", +"id": "SAMLParams", +"properties": { +"authenticationContexts": { +"description": "Additional contexts used for authentication.", +"items": { +"enum": [ +"AUTHENTICATION_CONTEXT_UNSPECIFIED", +"INTERNET_PROTOCOL", +"INTERNET_PROTOCOL_PASSWORD", +"KERBEROS", +"MOBILE_ONE_FACTOR_UNREGISTERED", +"MOBILE_TWO_FACTOR_UNREGISTERED", +"MOBILE_ONE_FACTOR_CONTRACT", +"MOBILE_TWO_FACTOR_CONTRACT", +"PASSWORD", +"PASSWORD_PROTECTED_TRANSPORT", +"PREVIOUS_SESSION", +"PUBLIC_KEY_X509", +"PUBLIC_KEY_PGP", +"PUBLIC_KEY_SPKI", +"PUBLIC_KEY_XML_DIGITAL_SIGNATURE", +"SMARTCARD", +"SMARTCARD_PKI", +"SOFTWARE_PKI", +"TELEPHONY", +"TELEPHONY_NOMADIC", +"TELEPHONY_PERSONALIZED", +"TELEPHONY_AUTHENTICATED", +"SECURE_REMOTE_PASSWORD", +"SSL_TLS_CERTIFICATE_BASED", +"TIME_SYNC_TOKEN" +], +"enumDescriptions": [ +"The Unspecified class indicates that the authentication was performed by unspecified means.", +"The Internet Protocol class is applicable when a principal is authenticated through the use of a provided IP address.", +"The Internet Protocol Password class is applicable when a principal is authenticated through the use of a provided IP address, in addition to a username/password.", +"This class is applicable when the principal has authenticated using a password to a local authentication authority, in order to acquire a Kerberos ticket. That Kerberos ticket is then used for subsequent network authentication.", +"Reflects no mobile customer registration procedures and an authentication of the mobile device without requiring explicit end-user interaction. This context class authenticates only the device and never the user; it is useful when services other than the mobile operator want to add a secure device authentication to their authentication process.", +"Reflects no mobile customer registration procedures and a two-factor based authentication, such as secure device and user PIN. This context class is useful when a service other than the mobile operator wants to link their customer ID to a mobile supplied two-factor authentication service by capturing mobile phone data at enrollment.", +"Reflects mobile contract customer registration procedures and a single factor authentication. For example, a digital signing device with tamper resistant memory for key storage, such as the mobile MSISDN, but no required PIN or biometric for real-time user authentication.", +"Reflects mobile contract customer registration procedures and a two-factor based authentication. For example, a digital signing device with tamper resistant memory for key storage, such as a GSM SIM, that requires explicit proof of user identity and intent, such as a PIN or biometric.", +"The Password class is applicable when a principal authenticates to an authentication authority through the presentation of a password over an unprotected HTTP session.", +"The PasswordProtectedTransport class is applicable when a principal authenticates to an authentication authority through the presentation of a password over a protected session.", +"The PreviousSession class is applicable when a principal had authenticated to an authentication authority at some point in the past using any authentication context supported by that authentication authority", +"The X509 context class indicates that the principal authenticated by means of a digital signature where the key was validated as part of an X.509 Public Key Infrastructure.", +"The PGP context class indicates that the principal authenticated by means of a digital signature where the key was validated as part of a PGP Public Key Infrastructure.", +"The SPKI context class indicates that the principal authenticated by means of a digital signature where the key was validated via an SPKI Infrastructure.", +"This context class indicates that the principal authenticated by means of a digital signature according to the processing rules specified in the XML Digital Signature specification [XMLSig].", +"The Smartcard class is identified when a principal authenticates to an authentication authority using a smartcard.", +"The SmartcardPKI class is applicable when a principal authenticates to an authentication authority through a two-factor authentication mechanism using a smartcard with enclosed private key and a PIN.", +"The Software-PKI class is applicable when a principal uses an X.509 certificate stored in software to authenticate to the authentication authority.", +"This class is used to indicate that the principal authenticated via the provision of a fixed-line telephone number, transported via a telephony protocol such as ADSL.", +"Indicates that the principal is \"roaming\" (perhaps using a phone card) and authenticates via the means of the line number, a user suffix, and a password element.", +"This class is used to indicate that the principal authenticated via the provision of a fixed-line telephone number and a user suffix, transported via a telephony protocol such as ADSL.", +"Indicates that the principal authenticated via the means of the line number, a user suffix, and a password element.", +"The Secure Remote Password class is applicable when the authentication was performed by means of Secure Remote Password as specified in [RFC 2945].", +"This class indicates that the principal authenticated by means of a client certificate, secured with the SSL/TLS transport.", +"The TimeSyncToken class is applicable when a principal authenticates through a time synchronization token." +], +"type": "string" +}, +"type": "array" +}, +"certificate": { +"description": "SAML certificate", +"type": "string" +}, +"emailMapping": { +"description": "IdP field that maps to the user\u2019s email address", +"type": "string" +}, +"entityId": { +"description": "Entity id URL", +"type": "string" +}, +"ssoUri": { +"description": "Single sign-on URL", +"type": "string" +}, +"userEmail": { +"deprecated": true, +"description": "Email address of the first admin users.", +"type": "string" +} +}, +"type": "object" +}, +"ShiftTemplate": { +"description": "Template specifying rules for generating shifts. A shift is a unit of work that specifies a start time, end time, and may contain events (e.g. lunch, breaks etc.). Shifts will be assigned to specific dates in the response.", +"id": "ShiftTemplate", +"properties": { +"assignableEmployeeIds": { +"description": "Optional. A list of specific employee IDs that can be assigned to shifts generated by this template. If this field is present, there will be `EmployeeSchedule`s in the response for which the `EmployeeSchedule.employee_id` field is set to one of the IDs in this list. The number of employee schedules with an assigned employee ID will be between `minimum_employee_count` and `maximum_employee_count`. If this field is empty, between `minimum_employee_count` and `maximum_employee_count` employees can be assigned to shifts generated by this template and the employee schedules won't have an assigned employee ID. Currently, only one assignable employee ID is supported.", +"items": { +"type": "string" +}, +"type": "array" +}, +"daysOffCountPerWeek": { +"description": "Optional. Fixed number of days off per week. An employee has a given day off if they are not assigned to a shift that starts on that day. A week is 7 days and begins on Sunday.", +"format": "int32", +"type": "integer" +}, +"daysOffDates": { +"$ref": "DateList", +"description": "Optional. Fixed dates when shifts from this template should not be generated." +}, +"durationMinutes": { +"description": "Required. Fixed duration of a shift generated by this template.", +"format": "int32", +"type": "integer" +}, +"earliestStartTime": { +"$ref": "TimeOfDay", +"description": "Required. Earliest time in the day that a shift can start. This value is specified with hours and minutes; seconds and nanos are ignored." +}, +"eventTemplates": { +"description": "Optional. Rules for generating events for each shift. Exactly one event will be included in each shift for each `EventTemplate` specified.", +"items": { +"$ref": "EventTemplate" +}, +"type": "array" +}, +"id": { +"description": "Required. Unique ID of this template.", +"type": "string" +}, +"latestStartTime": { +"$ref": "TimeOfDay", +"description": "Required. Latest time in the day that a shift can start. This value is specified with hours and minutes; seconds and nanos are ignored. If this value is less than the `earliest_start_time`, it may imply an overnight shift." +}, +"maximumEmployeeCount": { +"description": "Required. Maximum number of employees that can be assigned to all shifts generated by this template on working days.", +"format": "int32", +"type": "integer" +}, +"minimumEmployeeCount": { +"description": "Optional. Minimum number of employees that can be assigned to all shifts generated by this template on working days.", +"format": "int32", +"type": "integer" +}, +"minimumIntereventGapMinutes": { +"description": "Optional. Minimum minutes between the end of one event and the start of the next.", +"format": "int32", +"type": "integer" +}, +"startTimeIncrementMinutes": { +"description": "Optional. The time increment (in minutes) used to generate the set of possible start times between `earliest_start_time` and `latest_start_time`. For example, if the earliest start time is 8:00, the latest start time is 8:30, and the start time increment is 10 minutes, then all possible start times for this shift template are: 8:00, 8:10, 8:20, and 8:30.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"SolverConfig": { +"description": "Specifies additional parameters for the solver generating shifts.", +"id": "SolverConfig", +"properties": { +"maximumProcessingDuration": { +"description": "Optional. Maximum time the solver should spend on the problem. If not set, defaults to 1 minute. The choice of a time limit should depend on the size of the problem. To give an example, when solving a 7-day instance with 2 `ShiftTemplates`, each with ~20 possible start times and holding 2 events with ~30 possible start times, and two days off per week, recommended values are: <10s for fast solutions (and likely suboptimal), (10s, 300s) for good quality solutions, and >300s for an exhaustive search. Larger instances may require longer time limits. This value is not a hard limit and it does not account for the communication overhead. The expected latency to solve the problem may slightly exceed this value.", +"format": "google-duration", +"type": "string" +}, +"scheduleType": { +"description": "Required. Specifies the type of schedule to generate.", +"enum": [ +"SCHEDULE_TYPE_UNSPECIFIED", +"SINGLE_SHIFT", +"WEEKLY_WITH_FIXED_EVENTS", +"WEEKLY_WITH_VARIABLE_EVENTS" +], +"enumDescriptions": [ +"Unspecified schedule type. Should not be used.", +"Each `EmployeeSchedule` will include exactly one shift.", +"`EmployeeSchedule`s will include several shifts to generate a week-long schedule. The start and end time of events in a particular `EmployeeSchedule` will be identical. All the shifts have the same start and end time.", +"`EmployeeSchedule`s will include several shifts to generate a week-long schedule. The start and end time of events in a particular `EmployeeSchedule` can vary. All the shifts have the same start and end time. This option may result in longer solve times." +], +"type": "string" +} +}, +"type": "object" +}, +"Status": { +"description": "The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors).", +"id": "Status", +"properties": { +"code": { +"description": "The status code, which should be an enum value of google.rpc.Code.", +"format": "int32", +"type": "integer" +}, +"details": { +"description": "A list of messages that carry the error details. There is a common set of message types for APIs to use.", +"items": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.", +"type": "string" +} +}, +"type": "object" +}, +"TimeOfDay": { +"description": "Represents a time of day. The date and time zone are either not significant or are specified elsewhere. An API may choose to allow leap seconds. Related types are google.type.Date and `google.protobuf.Timestamp`.", +"id": "TimeOfDay", +"properties": { +"hours": { +"description": "Hours of a day in 24 hour format. Must be greater than or equal to 0 and typically must be less than or equal to 23. An API may choose to allow the value \"24:00:00\" for scenarios like business closing time.", +"format": "int32", +"type": "integer" +}, +"minutes": { +"description": "Minutes of an hour. Must be greater than or equal to 0 and less than or equal to 59.", +"format": "int32", +"type": "integer" +}, +"nanos": { +"description": "Fractions of seconds, in nanoseconds. Must be greater than or equal to 0 and less than or equal to 999,999,999.", +"format": "int32", +"type": "integer" +}, +"seconds": { +"description": "Seconds of a minute. Must be greater than or equal to 0 and typically must be less than or equal to 59. An API may allow the value 60 if it allows leap-seconds.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"TimeZone": { +"description": "Represents a time zone from the [IANA Time Zone Database](https://www.iana.org/time-zones).", +"id": "TimeZone", +"properties": { +"id": { +"description": "IANA Time Zone Database time zone. For example \"America/New_York\".", +"type": "string" +}, +"version": { +"description": "Optional. IANA Time Zone Database version number. For example \"2019a\".", +"type": "string" +} +}, +"type": "object" +}, +"URIs": { +"description": "Message storing the URIs of the ContactCenter.", +"id": "URIs", +"properties": { +"chatBotUri": { +"description": "Chat Bot Uri of the ContactCenter", +"type": "string" +}, +"mediaUri": { +"description": "Media Uri of the ContactCenter.", +"type": "string" +}, +"rootUri": { +"description": "Root Uri of the ContactCenter.", +"type": "string" +}, +"virtualAgentStreamingServiceUri": { +"description": "Virtual Agent Streaming Service Uri of the ContactCenter.", +"type": "string" +} +}, +"type": "object" +}, +"UnwantedEventInterval": { +"description": "Specifies a time interval during which the overlap with events (generated from event templates) should be minimal.", +"id": "UnwantedEventInterval", +"properties": { +"durationMinutes": { +"description": "Required. Duration of the event.", +"format": "int32", +"type": "integer" +}, +"startTime": { +"$ref": "DateTime", +"description": "Required. Start time of the event." +} +}, +"type": "object" +}, +"WeeklySchedule": { +"description": "Message representing a weekly schedule.", +"id": "WeeklySchedule", +"properties": { +"days": { +"description": "Required. Days of the week this schedule applies to.", +"items": { +"enum": [ +"DAY_OF_WEEK_UNSPECIFIED", +"MONDAY", +"TUESDAY", +"WEDNESDAY", +"THURSDAY", +"FRIDAY", +"SATURDAY", +"SUNDAY" +], +"enumDescriptions": [ +"The day of the week is unspecified.", +"Monday", +"Tuesday", +"Wednesday", +"Thursday", +"Friday", +"Saturday", +"Sunday" +], +"type": "string" +}, +"type": "array" +}, +"duration": { +"description": "Optional. Duration of the schedule.", +"format": "google-duration", +"type": "string" +}, +"endTime": { +"$ref": "TimeOfDay", +"description": "Optional. Daily end time of the schedule. If `end_time` is before `start_time`, the schedule will be considered as ending on the next day." +}, +"startTime": { +"$ref": "TimeOfDay", +"description": "Required. Daily start time of the schedule." +} +}, +"type": "object" +}, +"WorkforceDemand": { +"description": "Specifies the number of employees required to cover the demand in the given time interval. The length of the interval must be strictly positive.", +"id": "WorkforceDemand", +"properties": { +"employeeCount": { +"description": "Optional. Number of employees needed to cover the demand for this interval.", +"format": "int32", +"type": "integer" +}, +"endTime": { +"$ref": "DateTime", +"description": "Required. End of the time interval for the given demand (exclusive). These values are read down to the minute; seconds and all smaller units are ignored." +}, +"startTime": { +"$ref": "DateTime", +"description": "Required. Start of the time interval for the given demand (inclusive). These values are read down to the minute; seconds and all smaller units are ignored." +} +}, +"type": "object" +}, +"WorkforceDemandList": { +"description": "List of workforce demands.", +"id": "WorkforceDemandList", +"properties": { +"values": { +"description": "Optional. Values in the list.", +"items": { +"$ref": "WorkforceDemand" +}, +"type": "array" +} +}, +"type": "object" +} +}, +"servicePath": "", +"title": "Contact Center AI Platform API", +"version": "v1alpha1", +"version_module": true +} \ No newline at end of file diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/container.v1beta1.json b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/container.v1beta1.json new file mode 100644 index 0000000000000000000000000000000000000000..231fb3b607cd263f1f45feff00511032a96288d3 --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/container.v1beta1.json @@ -0,0 +1,10757 @@ +{ +"auth": { +"oauth2": { +"scopes": { +"https://www.googleapis.com/auth/cloud-platform": { +"description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." +} +} +} +}, +"basePath": "", +"baseUrl": "https://container.googleapis.com/", +"batchPath": "batch", +"canonicalName": "Container", +"description": "Builds and manages container-based applications, powered by the open source Kubernetes technology.", +"discoveryVersion": "v1", +"documentationLink": "https://cloud.google.com/kubernetes-engine/docs/", +"fullyEncodeReservedExpansion": true, +"icons": { +"x16": "http://www.google.com/images/icons/product/search-16.gif", +"x32": "http://www.google.com/images/icons/product/search-32.gif" +}, +"id": "container:v1beta1", +"kind": "discovery#restDescription", +"mtlsRootUrl": "https://container.mtls.googleapis.com/", +"name": "container", +"ownerDomain": "google.com", +"ownerName": "Google", +"parameters": { +"$.xgafv": { +"description": "V1 error format.", +"enum": [ +"1", +"2" +], +"enumDescriptions": [ +"v1 error format", +"v2 error format" +], +"location": "query", +"type": "string" +}, +"access_token": { +"description": "OAuth access token.", +"location": "query", +"type": "string" +}, +"alt": { +"default": "json", +"description": "Data format for response.", +"enum": [ +"json", +"media", +"proto" +], +"enumDescriptions": [ +"Responses with Content-Type of application/json", +"Media download with context-dependent Content-Type", +"Responses with Content-Type of application/x-protobuf" +], +"location": "query", +"type": "string" +}, +"callback": { +"description": "JSONP", +"location": "query", +"type": "string" +}, +"fields": { +"description": "Selector specifying which fields to include in a partial response.", +"location": "query", +"type": "string" +}, +"key": { +"description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", +"location": "query", +"type": "string" +}, +"oauth_token": { +"description": "OAuth 2.0 token for the current user.", +"location": "query", +"type": "string" +}, +"prettyPrint": { +"default": "true", +"description": "Returns response with indentations and line breaks.", +"location": "query", +"type": "boolean" +}, +"quotaUser": { +"description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.", +"location": "query", +"type": "string" +}, +"uploadType": { +"description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", +"location": "query", +"type": "string" +}, +"upload_protocol": { +"description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", +"location": "query", +"type": "string" +} +}, +"protocol": "rest", +"resources": { +"projects": { +"resources": { +"aggregated": { +"resources": { +"usableSubnetworks": { +"methods": { +"list": { +"description": "Lists subnetworks that can be used for creating clusters in a project.", +"flatPath": "v1beta1/projects/{projectsId}/aggregated/usableSubnetworks", +"httpMethod": "GET", +"id": "container.projects.aggregated.usableSubnetworks.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Filtering currently only supports equality on the networkProjectId and must be in the form: \"networkProjectId=[PROJECTID]\", where `networkProjectId` is the project which owns the listed subnetworks. This defaults to the parent project ID.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "The max number of results per page that should be returned. If the number of available results is larger than `page_size`, a `next_page_token` is returned which can be used to get the next page of results in subsequent requests. Acceptable values are 0 to 500, inclusive. (Default: 500)", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Specifies a page token to use. Set this to the nextPageToken returned by previous list requests to get the next page of results.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent project where subnetworks are usable. Specified in the format `projects/*`.", +"location": "path", +"pattern": "^projects/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+parent}/aggregated/usableSubnetworks", +"response": { +"$ref": "ListUsableSubnetworksResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +}, +"locations": { +"methods": { +"getServerConfig": { +"description": "Returns configuration info about the Google Kubernetes Engine service.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/serverConfig", +"httpMethod": "GET", +"id": "container.projects.locations.getServerConfig", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name (project and location) of the server config to get, specified in the format `projects/*/locations/*`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +}, +"projectId": { +"deprecated": true, +"description": "Deprecated. The Google Developers Console [project ID or project number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). This field has been deprecated and replaced by the name field.", +"location": "query", +"type": "string" +}, +"zone": { +"deprecated": true, +"description": "Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/zones#available) to return operations for. This field has been deprecated and replaced by the name field.", +"location": "query", +"type": "string" +} +}, +"path": "v1beta1/{+name}/serverConfig", +"response": { +"$ref": "ServerConfig" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Fetches locations that offer Google Kubernetes Engine.", +"flatPath": "v1beta1/projects/{projectsId}/locations", +"httpMethod": "GET", +"id": "container.projects.locations.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. Contains the name of the resource requested. Specified in the format `projects/*`.", +"location": "path", +"pattern": "^projects/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+parent}/locations", +"response": { +"$ref": "ListLocationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"clusters": { +"methods": { +"checkAutopilotCompatibility": { +"description": "Checks the cluster compatibility with Autopilot mode, and returns a list of compatibility issues.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/clusters/{clustersId}:checkAutopilotCompatibility", +"httpMethod": "GET", +"id": "container.projects.locations.clusters.checkAutopilotCompatibility", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name (project, location, cluster) of the cluster to retrieve. Specified in the format `projects/*/locations/*/clusters/*`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/clusters/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+name}:checkAutopilotCompatibility", +"response": { +"$ref": "CheckAutopilotCompatibilityResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"completeControlPlaneUpgrade": { +"description": "CompleteControlPlaneUpgrade completes the rollback-safe upgrade by performing the step two upgrade for a specific cluster.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/clusters/{clustersId}:completeControlPlaneUpgrade", +"httpMethod": "POST", +"id": "container.projects.locations.clusters.completeControlPlaneUpgrade", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name (project, location, cluster) of the cluster to complete upgrade. Specified in the format `projects/*/locations/*/clusters/*`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/clusters/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+name}:completeControlPlaneUpgrade", +"request": { +"$ref": "CompleteControlPlaneUpgradeRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"completeIpRotation": { +"description": "Completes master IP rotation.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/clusters/{clustersId}:completeIpRotation", +"httpMethod": "POST", +"id": "container.projects.locations.clusters.completeIpRotation", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name (project, location, cluster name) of the cluster to complete IP rotation. Specified in the format `projects/*/locations/*/clusters/*`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/clusters/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+name}:completeIpRotation", +"request": { +"$ref": "CompleteIPRotationRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"create": { +"description": "Creates a cluster, consisting of the specified number and type of Google Compute Engine instances. By default, the cluster is created in the project's [default network](https://cloud.google.com/compute/docs/networks-and-firewalls#networks). One firewall is added for the cluster. After cluster creation, the kubelet creates routes for each node to allow the containers on that node to communicate with all other instances in the cluster. Finally, an entry is added to the project's global metadata indicating which CIDR range the cluster is using.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/clusters", +"httpMethod": "POST", +"id": "container.projects.locations.clusters.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "The parent (project and location) where the cluster will be created. Specified in the format `projects/*/locations/*`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+parent}/clusters", +"request": { +"$ref": "CreateClusterRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes the cluster, including the Kubernetes endpoint and all worker nodes. Firewalls and routes that were configured during cluster creation are also deleted. Other Google Compute Engine resources that might be in use by the cluster, such as load balancer resources, are not deleted if they weren't present when the cluster was initially created.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/clusters/{clustersId}", +"httpMethod": "DELETE", +"id": "container.projects.locations.clusters.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"clusterId": { +"deprecated": true, +"description": "Deprecated. The name of the cluster to delete. This field has been deprecated and replaced by the name field.", +"location": "query", +"type": "string" +}, +"name": { +"description": "The name (project, location, cluster) of the cluster to delete. Specified in the format `projects/*/locations/*/clusters/*`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/clusters/[^/]+$", +"required": true, +"type": "string" +}, +"projectId": { +"deprecated": true, +"description": "Deprecated. The Google Developers Console [project ID or project number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). This field has been deprecated and replaced by the name field.", +"location": "query", +"type": "string" +}, +"zone": { +"deprecated": true, +"description": "Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster resides. This field has been deprecated and replaced by the name field.", +"location": "query", +"type": "string" +} +}, +"path": "v1beta1/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"fetchClusterUpgradeInfo": { +"description": "Fetch upgrade information of a specific cluster.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/clusters/{clustersId}:fetchClusterUpgradeInfo", +"httpMethod": "GET", +"id": "container.projects.locations.clusters.fetchClusterUpgradeInfo", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name (project, location, cluster) of the cluster to get. Specified in the format `projects/*/locations/*/clusters/*` or `projects/*/zones/*/clusters/*`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/clusters/[^/]+$", +"required": true, +"type": "string" +}, +"version": { +"description": "API request version that initiates this operation.", +"location": "query", +"type": "string" +} +}, +"path": "v1beta1/{+name}:fetchClusterUpgradeInfo", +"response": { +"$ref": "ClusterUpgradeInfo" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets the details for a specific cluster.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/clusters/{clustersId}", +"httpMethod": "GET", +"id": "container.projects.locations.clusters.get", +"parameterOrder": [ +"name" +], +"parameters": { +"clusterId": { +"deprecated": true, +"description": "Deprecated. The name of the cluster to retrieve. This field has been deprecated and replaced by the name field.", +"location": "query", +"type": "string" +}, +"name": { +"description": "The name (project, location, cluster) of the cluster to retrieve. Specified in the format `projects/*/locations/*/clusters/*`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/clusters/[^/]+$", +"required": true, +"type": "string" +}, +"projectId": { +"deprecated": true, +"description": "Deprecated. The Google Developers Console [project ID or project number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). This field has been deprecated and replaced by the name field.", +"location": "query", +"type": "string" +}, +"zone": { +"deprecated": true, +"description": "Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster resides. This field has been deprecated and replaced by the name field.", +"location": "query", +"type": "string" +} +}, +"path": "v1beta1/{+name}", +"response": { +"$ref": "Cluster" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"getJwks": { +"description": "Gets the public component of the cluster signing keys in JSON Web Key format.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/clusters/{clustersId}/jwks", +"httpMethod": "GET", +"id": "container.projects.locations.clusters.getJwks", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "The cluster (project, location, cluster name) to get keys for. Specified in the format `projects/*/locations/*/clusters/*`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/clusters/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+parent}/jwks", +"response": { +"$ref": "GetJSONWebKeysResponse" +} +}, +"list": { +"description": "Lists all clusters owned by a project in either the specified zone or all zones.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/clusters", +"httpMethod": "GET", +"id": "container.projects.locations.clusters.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "The parent (project and location) where the clusters will be listed. Specified in the format `projects/*/locations/*`. Location \"-\" matches all zones and all regions.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +}, +"projectId": { +"deprecated": true, +"description": "Deprecated. The Google Developers Console [project ID or project number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). This field has been deprecated and replaced by the parent field.", +"location": "query", +"type": "string" +}, +"zone": { +"deprecated": true, +"description": "Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster resides, or \"-\" for all zones. This field has been deprecated and replaced by the parent field.", +"location": "query", +"type": "string" +} +}, +"path": "v1beta1/{+parent}/clusters", +"response": { +"$ref": "ListClustersResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"setAddons": { +"description": "Sets the addons for a specific cluster.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/clusters/{clustersId}:setAddons", +"httpMethod": "POST", +"id": "container.projects.locations.clusters.setAddons", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name (project, location, cluster) of the cluster to set addons. Specified in the format `projects/*/locations/*/clusters/*`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/clusters/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+name}:setAddons", +"request": { +"$ref": "SetAddonsConfigRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"setLegacyAbac": { +"description": "Enables or disables the ABAC authorization mechanism on a cluster.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/clusters/{clustersId}:setLegacyAbac", +"httpMethod": "POST", +"id": "container.projects.locations.clusters.setLegacyAbac", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name (project, location, cluster name) of the cluster to set legacy abac. Specified in the format `projects/*/locations/*/clusters/*`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/clusters/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+name}:setLegacyAbac", +"request": { +"$ref": "SetLegacyAbacRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"setLocations": { +"deprecated": true, +"description": "Sets the locations for a specific cluster. Deprecated. Use [projects.locations.clusters.update](https://cloud.google.com/kubernetes-engine/docs/reference/rest/v1beta1/projects.locations.clusters/update) instead.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/clusters/{clustersId}:setLocations", +"httpMethod": "POST", +"id": "container.projects.locations.clusters.setLocations", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name (project, location, cluster) of the cluster to set locations. Specified in the format `projects/*/locations/*/clusters/*`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/clusters/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+name}:setLocations", +"request": { +"$ref": "SetLocationsRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"setLogging": { +"description": "Sets the logging service for a specific cluster.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/clusters/{clustersId}:setLogging", +"httpMethod": "POST", +"id": "container.projects.locations.clusters.setLogging", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name (project, location, cluster) of the cluster to set logging. Specified in the format `projects/*/locations/*/clusters/*`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/clusters/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+name}:setLogging", +"request": { +"$ref": "SetLoggingServiceRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"setMaintenancePolicy": { +"description": "Sets the maintenance policy for a cluster.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/clusters/{clustersId}:setMaintenancePolicy", +"httpMethod": "POST", +"id": "container.projects.locations.clusters.setMaintenancePolicy", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name (project, location, cluster name) of the cluster to set maintenance policy. Specified in the format `projects/*/locations/*/clusters/*`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/clusters/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+name}:setMaintenancePolicy", +"request": { +"$ref": "SetMaintenancePolicyRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"setMasterAuth": { +"description": "Sets master auth materials. Currently supports changing the admin password or a specific cluster, either via password generation or explicitly setting the password.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/clusters/{clustersId}:setMasterAuth", +"httpMethod": "POST", +"id": "container.projects.locations.clusters.setMasterAuth", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name (project, location, cluster) of the cluster to set auth. Specified in the format `projects/*/locations/*/clusters/*`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/clusters/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+name}:setMasterAuth", +"request": { +"$ref": "SetMasterAuthRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"setMonitoring": { +"description": "Sets the monitoring service for a specific cluster.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/clusters/{clustersId}:setMonitoring", +"httpMethod": "POST", +"id": "container.projects.locations.clusters.setMonitoring", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name (project, location, cluster) of the cluster to set monitoring. Specified in the format `projects/*/locations/*/clusters/*`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/clusters/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+name}:setMonitoring", +"request": { +"$ref": "SetMonitoringServiceRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"setNetworkPolicy": { +"description": "Enables or disables Network Policy for a cluster.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/clusters/{clustersId}:setNetworkPolicy", +"httpMethod": "POST", +"id": "container.projects.locations.clusters.setNetworkPolicy", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name (project, location, cluster name) of the cluster to set networking policy. Specified in the format `projects/*/locations/*/clusters/*`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/clusters/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+name}:setNetworkPolicy", +"request": { +"$ref": "SetNetworkPolicyRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"setResourceLabels": { +"description": "Sets labels on a cluster.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/clusters/{clustersId}:setResourceLabels", +"httpMethod": "POST", +"id": "container.projects.locations.clusters.setResourceLabels", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name (project, location, cluster name) of the cluster to set labels. Specified in the format `projects/*/locations/*/clusters/*`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/clusters/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+name}:setResourceLabels", +"request": { +"$ref": "SetLabelsRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"startIpRotation": { +"description": "Starts master IP rotation.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/clusters/{clustersId}:startIpRotation", +"httpMethod": "POST", +"id": "container.projects.locations.clusters.startIpRotation", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name (project, location, cluster name) of the cluster to start IP rotation. Specified in the format `projects/*/locations/*/clusters/*`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/clusters/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+name}:startIpRotation", +"request": { +"$ref": "StartIPRotationRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"update": { +"description": "Updates the settings for a specific cluster.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/clusters/{clustersId}", +"httpMethod": "PUT", +"id": "container.projects.locations.clusters.update", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name (project, location, cluster) of the cluster to update. Specified in the format `projects/*/locations/*/clusters/*`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/clusters/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+name}", +"request": { +"$ref": "UpdateClusterRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"updateMaster": { +"description": "Updates the master for a specific cluster.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/clusters/{clustersId}:updateMaster", +"httpMethod": "POST", +"id": "container.projects.locations.clusters.updateMaster", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name (project, location, cluster) of the cluster to update. Specified in the format `projects/*/locations/*/clusters/*`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/clusters/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+name}:updateMaster", +"request": { +"$ref": "UpdateMasterRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"nodePools": { +"methods": { +"completeUpgrade": { +"description": "CompleteNodePoolUpgrade will signal an on-going node pool upgrade to complete.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/clusters/{clustersId}/nodePools/{nodePoolsId}:completeUpgrade", +"httpMethod": "POST", +"id": "container.projects.locations.clusters.nodePools.completeUpgrade", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name (project, location, cluster, node pool id) of the node pool to complete upgrade. Specified in the format `projects/*/locations/*/clusters/*/nodePools/*`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/clusters/[^/]+/nodePools/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+name}:completeUpgrade", +"request": { +"$ref": "CompleteNodePoolUpgradeRequest" +}, +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"create": { +"description": "Creates a node pool for a cluster.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/clusters/{clustersId}/nodePools", +"httpMethod": "POST", +"id": "container.projects.locations.clusters.nodePools.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "The parent (project, location, cluster name) where the node pool will be created. Specified in the format `projects/*/locations/*/clusters/*`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/clusters/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+parent}/nodePools", +"request": { +"$ref": "CreateNodePoolRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a node pool from a cluster.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/clusters/{clustersId}/nodePools/{nodePoolsId}", +"httpMethod": "DELETE", +"id": "container.projects.locations.clusters.nodePools.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"clusterId": { +"deprecated": true, +"description": "Deprecated. The name of the cluster. This field has been deprecated and replaced by the name field.", +"location": "query", +"type": "string" +}, +"name": { +"description": "The name (project, location, cluster, node pool id) of the node pool to delete. Specified in the format `projects/*/locations/*/clusters/*/nodePools/*`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/clusters/[^/]+/nodePools/[^/]+$", +"required": true, +"type": "string" +}, +"nodePoolId": { +"deprecated": true, +"description": "Deprecated. The name of the node pool to delete. This field has been deprecated and replaced by the name field.", +"location": "query", +"type": "string" +}, +"projectId": { +"deprecated": true, +"description": "Deprecated. The Google Developers Console [project ID or project number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). This field has been deprecated and replaced by the name field.", +"location": "query", +"type": "string" +}, +"zone": { +"deprecated": true, +"description": "Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster resides. This field has been deprecated and replaced by the name field.", +"location": "query", +"type": "string" +} +}, +"path": "v1beta1/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"fetchNodePoolUpgradeInfo": { +"description": "Fetch upgrade information of a specific nodepool.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/clusters/{clustersId}/nodePools/{nodePoolsId}:fetchNodePoolUpgradeInfo", +"httpMethod": "GET", +"id": "container.projects.locations.clusters.nodePools.fetchNodePoolUpgradeInfo", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name (project, location, cluster, nodepool) of the nodepool to get. Specified in the format `projects/*/locations/*/clusters/*/nodePools/*` or `projects/*/zones/*/clusters/*/nodePools/*`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/clusters/[^/]+/nodePools/[^/]+$", +"required": true, +"type": "string" +}, +"version": { +"description": "API request version that initiates this operation.", +"location": "query", +"type": "string" +} +}, +"path": "v1beta1/{+name}:fetchNodePoolUpgradeInfo", +"response": { +"$ref": "NodePoolUpgradeInfo" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Retrieves the requested node pool.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/clusters/{clustersId}/nodePools/{nodePoolsId}", +"httpMethod": "GET", +"id": "container.projects.locations.clusters.nodePools.get", +"parameterOrder": [ +"name" +], +"parameters": { +"clusterId": { +"deprecated": true, +"description": "Deprecated. The name of the cluster. This field has been deprecated and replaced by the name field.", +"location": "query", +"type": "string" +}, +"name": { +"description": "The name (project, location, cluster, node pool id) of the node pool to get. Specified in the format `projects/*/locations/*/clusters/*/nodePools/*`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/clusters/[^/]+/nodePools/[^/]+$", +"required": true, +"type": "string" +}, +"nodePoolId": { +"deprecated": true, +"description": "Deprecated. The name of the node pool. This field has been deprecated and replaced by the name field.", +"location": "query", +"type": "string" +}, +"projectId": { +"deprecated": true, +"description": "Deprecated. The Google Developers Console [project ID or project number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). This field has been deprecated and replaced by the name field.", +"location": "query", +"type": "string" +}, +"zone": { +"deprecated": true, +"description": "Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster resides. This field has been deprecated and replaced by the name field.", +"location": "query", +"type": "string" +} +}, +"path": "v1beta1/{+name}", +"response": { +"$ref": "NodePool" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists the node pools for a cluster.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/clusters/{clustersId}/nodePools", +"httpMethod": "GET", +"id": "container.projects.locations.clusters.nodePools.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"clusterId": { +"deprecated": true, +"description": "Deprecated. The name of the cluster. This field has been deprecated and replaced by the parent field.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "The parent (project, location, cluster name) where the node pools will be listed. Specified in the format `projects/*/locations/*/clusters/*`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/clusters/[^/]+$", +"required": true, +"type": "string" +}, +"projectId": { +"deprecated": true, +"description": "Deprecated. The Google Developers Console [project ID or project number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). This field has been deprecated and replaced by the parent field.", +"location": "query", +"type": "string" +}, +"zone": { +"deprecated": true, +"description": "Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster resides. This field has been deprecated and replaced by the parent field.", +"location": "query", +"type": "string" +} +}, +"path": "v1beta1/{+parent}/nodePools", +"response": { +"$ref": "ListNodePoolsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"rollback": { +"description": "Rolls back a previously Aborted or Failed NodePool upgrade. This makes no changes if the last upgrade successfully completed.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/clusters/{clustersId}/nodePools/{nodePoolsId}:rollback", +"httpMethod": "POST", +"id": "container.projects.locations.clusters.nodePools.rollback", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name (project, location, cluster, node pool id) of the node poll to rollback upgrade. Specified in the format `projects/*/locations/*/clusters/*/nodePools/*`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/clusters/[^/]+/nodePools/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+name}:rollback", +"request": { +"$ref": "RollbackNodePoolUpgradeRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"setAutoscaling": { +"description": "Sets the autoscaling settings of a specific node pool.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/clusters/{clustersId}/nodePools/{nodePoolsId}:setAutoscaling", +"httpMethod": "POST", +"id": "container.projects.locations.clusters.nodePools.setAutoscaling", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name (project, location, cluster, node pool) of the node pool to set autoscaler settings. Specified in the format `projects/*/locations/*/clusters/*/nodePools/*`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/clusters/[^/]+/nodePools/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+name}:setAutoscaling", +"request": { +"$ref": "SetNodePoolAutoscalingRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"setManagement": { +"description": "Sets the NodeManagement options for a node pool.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/clusters/{clustersId}/nodePools/{nodePoolsId}:setManagement", +"httpMethod": "POST", +"id": "container.projects.locations.clusters.nodePools.setManagement", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name (project, location, cluster, node pool id) of the node pool to set management properties. Specified in the format `projects/*/locations/*/clusters/*/nodePools/*`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/clusters/[^/]+/nodePools/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+name}:setManagement", +"request": { +"$ref": "SetNodePoolManagementRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"setSize": { +"description": "SetNodePoolSizeRequest sets the size of a node pool. The new size will be used for all replicas, including future replicas created by modifying NodePool.locations.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/clusters/{clustersId}/nodePools/{nodePoolsId}:setSize", +"httpMethod": "POST", +"id": "container.projects.locations.clusters.nodePools.setSize", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name (project, location, cluster, node pool id) of the node pool to set size. Specified in the format `projects/*/locations/*/clusters/*/nodePools/*`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/clusters/[^/]+/nodePools/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+name}:setSize", +"request": { +"$ref": "SetNodePoolSizeRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"update": { +"description": "Updates the version and/or image type of a specific node pool.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/clusters/{clustersId}/nodePools/{nodePoolsId}", +"httpMethod": "PUT", +"id": "container.projects.locations.clusters.nodePools.update", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name (project, location, cluster, node pool) of the node pool to update. Specified in the format `projects/*/locations/*/clusters/*/nodePools/*`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/clusters/[^/]+/nodePools/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+name}", +"request": { +"$ref": "UpdateNodePoolRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"well-known": { +"methods": { +"getOpenid-configuration": { +"description": "Gets the OIDC discovery document for the cluster. See the [OpenID Connect Discovery 1.0 specification](https://openid.net/specs/openid-connect-discovery-1_0.html) for details.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/clusters/{clustersId}/.well-known/openid-configuration", +"httpMethod": "GET", +"id": "container.projects.locations.clusters.well-known.getOpenid-configuration", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "The cluster (project, location, cluster name) to get the discovery document for. Specified in the format `projects/*/locations/*/clusters/*`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/clusters/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+parent}/.well-known/openid-configuration", +"response": { +"$ref": "GetOpenIDConfigResponse" +} +} +} +} +} +}, +"operations": { +"methods": { +"cancel": { +"description": "Cancels the specified operation.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}:cancel", +"httpMethod": "POST", +"id": "container.projects.locations.operations.cancel", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name (project, location, operation id) of the operation to cancel. Specified in the format `projects/*/locations/*/operations/*`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+name}:cancel", +"request": { +"$ref": "CancelOperationRequest" +}, +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets the specified operation.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}", +"httpMethod": "GET", +"id": "container.projects.locations.operations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name (project, location, operation id) of the operation to get. Specified in the format `projects/*/locations/*/operations/*`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +}, +"operationId": { +"deprecated": true, +"description": "Deprecated. The server-assigned `name` of the operation. This field has been deprecated and replaced by the name field.", +"location": "query", +"type": "string" +}, +"projectId": { +"deprecated": true, +"description": "Deprecated. The Google Developers Console [project ID or project number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). This field has been deprecated and replaced by the name field.", +"location": "query", +"type": "string" +}, +"zone": { +"deprecated": true, +"description": "Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster resides. This field has been deprecated and replaced by the name field.", +"location": "query", +"type": "string" +} +}, +"path": "v1beta1/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists all operations in a project in the specified zone or all zones.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/operations", +"httpMethod": "GET", +"id": "container.projects.locations.operations.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "The parent (project and location) where the operations will be listed. Specified in the format `projects/*/locations/*`. Location \"-\" matches all zones and all regions.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +}, +"projectId": { +"deprecated": true, +"description": "Deprecated. The Google Developers Console [project ID or project number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). This field has been deprecated and replaced by the parent field.", +"location": "query", +"type": "string" +}, +"zone": { +"deprecated": true, +"description": "Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/zones#available) to return operations for, or `-` for all zones. This field has been deprecated and replaced by the parent field.", +"location": "query", +"type": "string" +} +}, +"path": "v1beta1/{+parent}/operations", +"response": { +"$ref": "ListOperationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +}, +"zones": { +"methods": { +"getServerconfig": { +"description": "Returns configuration info about the Google Kubernetes Engine service.", +"flatPath": "v1beta1/projects/{projectId}/zones/{zone}/serverconfig", +"httpMethod": "GET", +"id": "container.projects.zones.getServerconfig", +"parameterOrder": [ +"projectId", +"zone" +], +"parameters": { +"name": { +"description": "The name (project and location) of the server config to get, specified in the format `projects/*/locations/*`.", +"location": "query", +"type": "string" +}, +"projectId": { +"description": "Deprecated. The Google Developers Console [project ID or project number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). This field has been deprecated and replaced by the name field.", +"location": "path", +"required": true, +"type": "string" +}, +"zone": { +"description": "Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/zones#available) to return operations for. This field has been deprecated and replaced by the name field.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/projects/{projectId}/zones/{zone}/serverconfig", +"response": { +"$ref": "ServerConfig" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"clusters": { +"methods": { +"addons": { +"description": "Sets the addons for a specific cluster.", +"flatPath": "v1beta1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/addons", +"httpMethod": "POST", +"id": "container.projects.zones.clusters.addons", +"parameterOrder": [ +"projectId", +"zone", +"clusterId" +], +"parameters": { +"clusterId": { +"description": "Deprecated. The name of the cluster to upgrade. This field has been deprecated and replaced by the name field.", +"location": "path", +"required": true, +"type": "string" +}, +"projectId": { +"description": "Deprecated. The Google Developers Console [project ID or project number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). This field has been deprecated and replaced by the name field.", +"location": "path", +"required": true, +"type": "string" +}, +"zone": { +"description": "Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster resides. This field has been deprecated and replaced by the name field.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/addons", +"request": { +"$ref": "SetAddonsConfigRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"completeControlPlaneUpgrade": { +"description": "CompleteControlPlaneUpgrade completes the rollback-safe upgrade by performing the step two upgrade for a specific cluster.", +"flatPath": "v1beta1/projects/{projectsId}/zones/{zonesId}/clusters/{clustersId}:completeControlPlaneUpgrade", +"httpMethod": "POST", +"id": "container.projects.zones.clusters.completeControlPlaneUpgrade", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name (project, location, cluster) of the cluster to complete upgrade. Specified in the format `projects/*/locations/*/clusters/*`.", +"location": "path", +"pattern": "^projects/[^/]+/zones/[^/]+/clusters/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+name}:completeControlPlaneUpgrade", +"request": { +"$ref": "CompleteControlPlaneUpgradeRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"completeIpRotation": { +"description": "Completes master IP rotation.", +"flatPath": "v1beta1/projects/{projectId}/zones/{zone}/clusters/{clusterId}:completeIpRotation", +"httpMethod": "POST", +"id": "container.projects.zones.clusters.completeIpRotation", +"parameterOrder": [ +"projectId", +"zone", +"clusterId" +], +"parameters": { +"clusterId": { +"description": "Deprecated. The name of the cluster. This field has been deprecated and replaced by the name field.", +"location": "path", +"required": true, +"type": "string" +}, +"projectId": { +"description": "Deprecated. The Google Developers Console [project ID or project number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). This field has been deprecated and replaced by the name field.", +"location": "path", +"required": true, +"type": "string" +}, +"zone": { +"description": "Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster resides. This field has been deprecated and replaced by the name field.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/projects/{projectId}/zones/{zone}/clusters/{clusterId}:completeIpRotation", +"request": { +"$ref": "CompleteIPRotationRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"create": { +"description": "Creates a cluster, consisting of the specified number and type of Google Compute Engine instances. By default, the cluster is created in the project's [default network](https://cloud.google.com/compute/docs/networks-and-firewalls#networks). One firewall is added for the cluster. After cluster creation, the kubelet creates routes for each node to allow the containers on that node to communicate with all other instances in the cluster. Finally, an entry is added to the project's global metadata indicating which CIDR range the cluster is using.", +"flatPath": "v1beta1/projects/{projectId}/zones/{zone}/clusters", +"httpMethod": "POST", +"id": "container.projects.zones.clusters.create", +"parameterOrder": [ +"projectId", +"zone" +], +"parameters": { +"projectId": { +"description": "Deprecated. The Google Developers Console [project ID or project number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). This field has been deprecated and replaced by the parent field.", +"location": "path", +"required": true, +"type": "string" +}, +"zone": { +"description": "Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster resides. This field has been deprecated and replaced by the parent field.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/projects/{projectId}/zones/{zone}/clusters", +"request": { +"$ref": "CreateClusterRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes the cluster, including the Kubernetes endpoint and all worker nodes. Firewalls and routes that were configured during cluster creation are also deleted. Other Google Compute Engine resources that might be in use by the cluster, such as load balancer resources, are not deleted if they weren't present when the cluster was initially created.", +"flatPath": "v1beta1/projects/{projectId}/zones/{zone}/clusters/{clusterId}", +"httpMethod": "DELETE", +"id": "container.projects.zones.clusters.delete", +"parameterOrder": [ +"projectId", +"zone", +"clusterId" +], +"parameters": { +"clusterId": { +"description": "Deprecated. The name of the cluster to delete. This field has been deprecated and replaced by the name field.", +"location": "path", +"required": true, +"type": "string" +}, +"name": { +"description": "The name (project, location, cluster) of the cluster to delete. Specified in the format `projects/*/locations/*/clusters/*`.", +"location": "query", +"type": "string" +}, +"projectId": { +"description": "Deprecated. The Google Developers Console [project ID or project number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). This field has been deprecated and replaced by the name field.", +"location": "path", +"required": true, +"type": "string" +}, +"zone": { +"description": "Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster resides. This field has been deprecated and replaced by the name field.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/projects/{projectId}/zones/{zone}/clusters/{clusterId}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"fetchClusterUpgradeInfo": { +"description": "Fetch upgrade information of a specific cluster.", +"flatPath": "v1beta1/projects/{projectsId}/zones/{zonesId}/clusters/{clustersId}:fetchClusterUpgradeInfo", +"httpMethod": "GET", +"id": "container.projects.zones.clusters.fetchClusterUpgradeInfo", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name (project, location, cluster) of the cluster to get. Specified in the format `projects/*/locations/*/clusters/*` or `projects/*/zones/*/clusters/*`.", +"location": "path", +"pattern": "^projects/[^/]+/zones/[^/]+/clusters/[^/]+$", +"required": true, +"type": "string" +}, +"version": { +"description": "API request version that initiates this operation.", +"location": "query", +"type": "string" +} +}, +"path": "v1beta1/{+name}:fetchClusterUpgradeInfo", +"response": { +"$ref": "ClusterUpgradeInfo" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets the details for a specific cluster.", +"flatPath": "v1beta1/projects/{projectId}/zones/{zone}/clusters/{clusterId}", +"httpMethod": "GET", +"id": "container.projects.zones.clusters.get", +"parameterOrder": [ +"projectId", +"zone", +"clusterId" +], +"parameters": { +"clusterId": { +"description": "Deprecated. The name of the cluster to retrieve. This field has been deprecated and replaced by the name field.", +"location": "path", +"required": true, +"type": "string" +}, +"name": { +"description": "The name (project, location, cluster) of the cluster to retrieve. Specified in the format `projects/*/locations/*/clusters/*`.", +"location": "query", +"type": "string" +}, +"projectId": { +"description": "Deprecated. The Google Developers Console [project ID or project number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). This field has been deprecated and replaced by the name field.", +"location": "path", +"required": true, +"type": "string" +}, +"zone": { +"description": "Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster resides. This field has been deprecated and replaced by the name field.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/projects/{projectId}/zones/{zone}/clusters/{clusterId}", +"response": { +"$ref": "Cluster" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"legacyAbac": { +"description": "Enables or disables the ABAC authorization mechanism on a cluster.", +"flatPath": "v1beta1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/legacyAbac", +"httpMethod": "POST", +"id": "container.projects.zones.clusters.legacyAbac", +"parameterOrder": [ +"projectId", +"zone", +"clusterId" +], +"parameters": { +"clusterId": { +"description": "Deprecated. The name of the cluster to update. This field has been deprecated and replaced by the name field.", +"location": "path", +"required": true, +"type": "string" +}, +"projectId": { +"description": "Deprecated. The Google Developers Console [project ID or project number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). This field has been deprecated and replaced by the name field.", +"location": "path", +"required": true, +"type": "string" +}, +"zone": { +"description": "Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster resides. This field has been deprecated and replaced by the name field.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/legacyAbac", +"request": { +"$ref": "SetLegacyAbacRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists all clusters owned by a project in either the specified zone or all zones.", +"flatPath": "v1beta1/projects/{projectId}/zones/{zone}/clusters", +"httpMethod": "GET", +"id": "container.projects.zones.clusters.list", +"parameterOrder": [ +"projectId", +"zone" +], +"parameters": { +"parent": { +"description": "The parent (project and location) where the clusters will be listed. Specified in the format `projects/*/locations/*`. Location \"-\" matches all zones and all regions.", +"location": "query", +"type": "string" +}, +"projectId": { +"description": "Deprecated. The Google Developers Console [project ID or project number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). This field has been deprecated and replaced by the parent field.", +"location": "path", +"required": true, +"type": "string" +}, +"zone": { +"description": "Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster resides, or \"-\" for all zones. This field has been deprecated and replaced by the parent field.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/projects/{projectId}/zones/{zone}/clusters", +"response": { +"$ref": "ListClustersResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"locations": { +"deprecated": true, +"description": "Sets the locations for a specific cluster. Deprecated. Use [projects.locations.clusters.update](https://cloud.google.com/kubernetes-engine/docs/reference/rest/v1beta1/projects.locations.clusters/update) instead.", +"flatPath": "v1beta1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/locations", +"httpMethod": "POST", +"id": "container.projects.zones.clusters.locations", +"parameterOrder": [ +"projectId", +"zone", +"clusterId" +], +"parameters": { +"clusterId": { +"description": "Deprecated. The name of the cluster to upgrade. This field has been deprecated and replaced by the name field.", +"location": "path", +"required": true, +"type": "string" +}, +"projectId": { +"description": "Deprecated. The Google Developers Console [project ID or project number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). This field has been deprecated and replaced by the name field.", +"location": "path", +"required": true, +"type": "string" +}, +"zone": { +"description": "Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster resides. This field has been deprecated and replaced by the name field.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/locations", +"request": { +"$ref": "SetLocationsRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"logging": { +"description": "Sets the logging service for a specific cluster.", +"flatPath": "v1beta1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/logging", +"httpMethod": "POST", +"id": "container.projects.zones.clusters.logging", +"parameterOrder": [ +"projectId", +"zone", +"clusterId" +], +"parameters": { +"clusterId": { +"description": "Deprecated. The name of the cluster to upgrade. This field has been deprecated and replaced by the name field.", +"location": "path", +"required": true, +"type": "string" +}, +"projectId": { +"description": "Deprecated. The Google Developers Console [project ID or project number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). This field has been deprecated and replaced by the name field.", +"location": "path", +"required": true, +"type": "string" +}, +"zone": { +"description": "Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster resides. This field has been deprecated and replaced by the name field.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/logging", +"request": { +"$ref": "SetLoggingServiceRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"master": { +"description": "Updates the master for a specific cluster.", +"flatPath": "v1beta1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/master", +"httpMethod": "POST", +"id": "container.projects.zones.clusters.master", +"parameterOrder": [ +"projectId", +"zone", +"clusterId" +], +"parameters": { +"clusterId": { +"description": "Deprecated. The name of the cluster to upgrade. This field has been deprecated and replaced by the name field.", +"location": "path", +"required": true, +"type": "string" +}, +"projectId": { +"description": "Deprecated. The Google Developers Console [project ID or project number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). This field has been deprecated and replaced by the name field.", +"location": "path", +"required": true, +"type": "string" +}, +"zone": { +"description": "Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster resides. This field has been deprecated and replaced by the name field.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/master", +"request": { +"$ref": "UpdateMasterRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"monitoring": { +"description": "Sets the monitoring service for a specific cluster.", +"flatPath": "v1beta1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/monitoring", +"httpMethod": "POST", +"id": "container.projects.zones.clusters.monitoring", +"parameterOrder": [ +"projectId", +"zone", +"clusterId" +], +"parameters": { +"clusterId": { +"description": "Deprecated. The name of the cluster to upgrade. This field has been deprecated and replaced by the name field.", +"location": "path", +"required": true, +"type": "string" +}, +"projectId": { +"description": "Deprecated. The Google Developers Console [project ID or project number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). This field has been deprecated and replaced by the name field.", +"location": "path", +"required": true, +"type": "string" +}, +"zone": { +"description": "Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster resides. This field has been deprecated and replaced by the name field.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/monitoring", +"request": { +"$ref": "SetMonitoringServiceRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"resourceLabels": { +"description": "Sets labels on a cluster.", +"flatPath": "v1beta1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/resourceLabels", +"httpMethod": "POST", +"id": "container.projects.zones.clusters.resourceLabels", +"parameterOrder": [ +"projectId", +"zone", +"clusterId" +], +"parameters": { +"clusterId": { +"description": "Deprecated. The name of the cluster. This field has been deprecated and replaced by the name field.", +"location": "path", +"required": true, +"type": "string" +}, +"projectId": { +"description": "Deprecated. The Google Developers Console [project ID or project number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). This field has been deprecated and replaced by the name field.", +"location": "path", +"required": true, +"type": "string" +}, +"zone": { +"description": "Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster resides. This field has been deprecated and replaced by the name field.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/resourceLabels", +"request": { +"$ref": "SetLabelsRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"setMaintenancePolicy": { +"description": "Sets the maintenance policy for a cluster.", +"flatPath": "v1beta1/projects/{projectId}/zones/{zone}/clusters/{clusterId}:setMaintenancePolicy", +"httpMethod": "POST", +"id": "container.projects.zones.clusters.setMaintenancePolicy", +"parameterOrder": [ +"projectId", +"zone", +"clusterId" +], +"parameters": { +"clusterId": { +"description": "Required. The name of the cluster to update.", +"location": "path", +"required": true, +"type": "string" +}, +"projectId": { +"description": "Required. The Google Developers Console [project ID or project number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).", +"location": "path", +"required": true, +"type": "string" +}, +"zone": { +"description": "Required. The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster resides.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/projects/{projectId}/zones/{zone}/clusters/{clusterId}:setMaintenancePolicy", +"request": { +"$ref": "SetMaintenancePolicyRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"setMasterAuth": { +"description": "Sets master auth materials. Currently supports changing the admin password or a specific cluster, either via password generation or explicitly setting the password.", +"flatPath": "v1beta1/projects/{projectId}/zones/{zone}/clusters/{clusterId}:setMasterAuth", +"httpMethod": "POST", +"id": "container.projects.zones.clusters.setMasterAuth", +"parameterOrder": [ +"projectId", +"zone", +"clusterId" +], +"parameters": { +"clusterId": { +"description": "Deprecated. The name of the cluster to upgrade. This field has been deprecated and replaced by the name field.", +"location": "path", +"required": true, +"type": "string" +}, +"projectId": { +"description": "Deprecated. The Google Developers Console [project ID or project number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). This field has been deprecated and replaced by the name field.", +"location": "path", +"required": true, +"type": "string" +}, +"zone": { +"description": "Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster resides. This field has been deprecated and replaced by the name field.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/projects/{projectId}/zones/{zone}/clusters/{clusterId}:setMasterAuth", +"request": { +"$ref": "SetMasterAuthRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"setNetworkPolicy": { +"description": "Enables or disables Network Policy for a cluster.", +"flatPath": "v1beta1/projects/{projectId}/zones/{zone}/clusters/{clusterId}:setNetworkPolicy", +"httpMethod": "POST", +"id": "container.projects.zones.clusters.setNetworkPolicy", +"parameterOrder": [ +"projectId", +"zone", +"clusterId" +], +"parameters": { +"clusterId": { +"description": "Deprecated. The name of the cluster. This field has been deprecated and replaced by the name field.", +"location": "path", +"required": true, +"type": "string" +}, +"projectId": { +"description": "Deprecated. The Google Developers Console [project ID or project number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). This field has been deprecated and replaced by the name field.", +"location": "path", +"required": true, +"type": "string" +}, +"zone": { +"description": "Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster resides. This field has been deprecated and replaced by the name field.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/projects/{projectId}/zones/{zone}/clusters/{clusterId}:setNetworkPolicy", +"request": { +"$ref": "SetNetworkPolicyRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"startIpRotation": { +"description": "Starts master IP rotation.", +"flatPath": "v1beta1/projects/{projectId}/zones/{zone}/clusters/{clusterId}:startIpRotation", +"httpMethod": "POST", +"id": "container.projects.zones.clusters.startIpRotation", +"parameterOrder": [ +"projectId", +"zone", +"clusterId" +], +"parameters": { +"clusterId": { +"description": "Deprecated. The name of the cluster. This field has been deprecated and replaced by the name field.", +"location": "path", +"required": true, +"type": "string" +}, +"projectId": { +"description": "Deprecated. The Google Developers Console [project ID or project number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). This field has been deprecated and replaced by the name field.", +"location": "path", +"required": true, +"type": "string" +}, +"zone": { +"description": "Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster resides. This field has been deprecated and replaced by the name field.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/projects/{projectId}/zones/{zone}/clusters/{clusterId}:startIpRotation", +"request": { +"$ref": "StartIPRotationRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"update": { +"description": "Updates the settings for a specific cluster.", +"flatPath": "v1beta1/projects/{projectId}/zones/{zone}/clusters/{clusterId}", +"httpMethod": "PUT", +"id": "container.projects.zones.clusters.update", +"parameterOrder": [ +"projectId", +"zone", +"clusterId" +], +"parameters": { +"clusterId": { +"description": "Deprecated. The name of the cluster to upgrade. This field has been deprecated and replaced by the name field.", +"location": "path", +"required": true, +"type": "string" +}, +"projectId": { +"description": "Deprecated. The Google Developers Console [project ID or project number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). This field has been deprecated and replaced by the name field.", +"location": "path", +"required": true, +"type": "string" +}, +"zone": { +"description": "Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster resides. This field has been deprecated and replaced by the name field.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/projects/{projectId}/zones/{zone}/clusters/{clusterId}", +"request": { +"$ref": "UpdateClusterRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"nodePools": { +"methods": { +"autoscaling": { +"description": "Sets the autoscaling settings of a specific node pool.", +"flatPath": "v1beta1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/nodePools/{nodePoolId}/autoscaling", +"httpMethod": "POST", +"id": "container.projects.zones.clusters.nodePools.autoscaling", +"parameterOrder": [ +"projectId", +"zone", +"clusterId", +"nodePoolId" +], +"parameters": { +"clusterId": { +"description": "Deprecated. The name of the cluster to upgrade. This field has been deprecated and replaced by the name field.", +"location": "path", +"required": true, +"type": "string" +}, +"nodePoolId": { +"description": "Deprecated. The name of the node pool to upgrade. This field has been deprecated and replaced by the name field.", +"location": "path", +"required": true, +"type": "string" +}, +"projectId": { +"description": "Deprecated. The Google Developers Console [project ID or project number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). This field has been deprecated and replaced by the name field.", +"location": "path", +"required": true, +"type": "string" +}, +"zone": { +"description": "Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster resides. This field has been deprecated and replaced by the name field.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/nodePools/{nodePoolId}/autoscaling", +"request": { +"$ref": "SetNodePoolAutoscalingRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"create": { +"description": "Creates a node pool for a cluster.", +"flatPath": "v1beta1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/nodePools", +"httpMethod": "POST", +"id": "container.projects.zones.clusters.nodePools.create", +"parameterOrder": [ +"projectId", +"zone", +"clusterId" +], +"parameters": { +"clusterId": { +"description": "Deprecated. The name of the cluster. This field has been deprecated and replaced by the parent field.", +"location": "path", +"required": true, +"type": "string" +}, +"projectId": { +"description": "Deprecated. The Google Developers Console [project ID or project number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). This field has been deprecated and replaced by the parent field.", +"location": "path", +"required": true, +"type": "string" +}, +"zone": { +"description": "Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster resides. This field has been deprecated and replaced by the parent field.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/nodePools", +"request": { +"$ref": "CreateNodePoolRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a node pool from a cluster.", +"flatPath": "v1beta1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/nodePools/{nodePoolId}", +"httpMethod": "DELETE", +"id": "container.projects.zones.clusters.nodePools.delete", +"parameterOrder": [ +"projectId", +"zone", +"clusterId", +"nodePoolId" +], +"parameters": { +"clusterId": { +"description": "Deprecated. The name of the cluster. This field has been deprecated and replaced by the name field.", +"location": "path", +"required": true, +"type": "string" +}, +"name": { +"description": "The name (project, location, cluster, node pool id) of the node pool to delete. Specified in the format `projects/*/locations/*/clusters/*/nodePools/*`.", +"location": "query", +"type": "string" +}, +"nodePoolId": { +"description": "Deprecated. The name of the node pool to delete. This field has been deprecated and replaced by the name field.", +"location": "path", +"required": true, +"type": "string" +}, +"projectId": { +"description": "Deprecated. The Google Developers Console [project ID or project number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). This field has been deprecated and replaced by the name field.", +"location": "path", +"required": true, +"type": "string" +}, +"zone": { +"description": "Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster resides. This field has been deprecated and replaced by the name field.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/nodePools/{nodePoolId}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"fetchNodePoolUpgradeInfo": { +"description": "Fetch upgrade information of a specific nodepool.", +"flatPath": "v1beta1/projects/{projectsId}/zones/{zonesId}/clusters/{clustersId}/nodePools/{nodePoolsId}:fetchNodePoolUpgradeInfo", +"httpMethod": "GET", +"id": "container.projects.zones.clusters.nodePools.fetchNodePoolUpgradeInfo", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name (project, location, cluster, nodepool) of the nodepool to get. Specified in the format `projects/*/locations/*/clusters/*/nodePools/*` or `projects/*/zones/*/clusters/*/nodePools/*`.", +"location": "path", +"pattern": "^projects/[^/]+/zones/[^/]+/clusters/[^/]+/nodePools/[^/]+$", +"required": true, +"type": "string" +}, +"version": { +"description": "API request version that initiates this operation.", +"location": "query", +"type": "string" +} +}, +"path": "v1beta1/{+name}:fetchNodePoolUpgradeInfo", +"response": { +"$ref": "NodePoolUpgradeInfo" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Retrieves the requested node pool.", +"flatPath": "v1beta1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/nodePools/{nodePoolId}", +"httpMethod": "GET", +"id": "container.projects.zones.clusters.nodePools.get", +"parameterOrder": [ +"projectId", +"zone", +"clusterId", +"nodePoolId" +], +"parameters": { +"clusterId": { +"description": "Deprecated. The name of the cluster. This field has been deprecated and replaced by the name field.", +"location": "path", +"required": true, +"type": "string" +}, +"name": { +"description": "The name (project, location, cluster, node pool id) of the node pool to get. Specified in the format `projects/*/locations/*/clusters/*/nodePools/*`.", +"location": "query", +"type": "string" +}, +"nodePoolId": { +"description": "Deprecated. The name of the node pool. This field has been deprecated and replaced by the name field.", +"location": "path", +"required": true, +"type": "string" +}, +"projectId": { +"description": "Deprecated. The Google Developers Console [project ID or project number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). This field has been deprecated and replaced by the name field.", +"location": "path", +"required": true, +"type": "string" +}, +"zone": { +"description": "Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster resides. This field has been deprecated and replaced by the name field.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/nodePools/{nodePoolId}", +"response": { +"$ref": "NodePool" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists the node pools for a cluster.", +"flatPath": "v1beta1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/nodePools", +"httpMethod": "GET", +"id": "container.projects.zones.clusters.nodePools.list", +"parameterOrder": [ +"projectId", +"zone", +"clusterId" +], +"parameters": { +"clusterId": { +"description": "Deprecated. The name of the cluster. This field has been deprecated and replaced by the parent field.", +"location": "path", +"required": true, +"type": "string" +}, +"parent": { +"description": "The parent (project, location, cluster name) where the node pools will be listed. Specified in the format `projects/*/locations/*/clusters/*`.", +"location": "query", +"type": "string" +}, +"projectId": { +"description": "Deprecated. The Google Developers Console [project ID or project number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). This field has been deprecated and replaced by the parent field.", +"location": "path", +"required": true, +"type": "string" +}, +"zone": { +"description": "Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster resides. This field has been deprecated and replaced by the parent field.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/nodePools", +"response": { +"$ref": "ListNodePoolsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"rollback": { +"description": "Rolls back a previously Aborted or Failed NodePool upgrade. This makes no changes if the last upgrade successfully completed.", +"flatPath": "v1beta1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/nodePools/{nodePoolId}:rollback", +"httpMethod": "POST", +"id": "container.projects.zones.clusters.nodePools.rollback", +"parameterOrder": [ +"projectId", +"zone", +"clusterId", +"nodePoolId" +], +"parameters": { +"clusterId": { +"description": "Deprecated. The name of the cluster to rollback. This field has been deprecated and replaced by the name field.", +"location": "path", +"required": true, +"type": "string" +}, +"nodePoolId": { +"description": "Deprecated. The name of the node pool to rollback. This field has been deprecated and replaced by the name field.", +"location": "path", +"required": true, +"type": "string" +}, +"projectId": { +"description": "Deprecated. The Google Developers Console [project ID or project number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). This field has been deprecated and replaced by the name field.", +"location": "path", +"required": true, +"type": "string" +}, +"zone": { +"description": "Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster resides. This field has been deprecated and replaced by the name field.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/nodePools/{nodePoolId}:rollback", +"request": { +"$ref": "RollbackNodePoolUpgradeRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"setManagement": { +"description": "Sets the NodeManagement options for a node pool.", +"flatPath": "v1beta1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/nodePools/{nodePoolId}/setManagement", +"httpMethod": "POST", +"id": "container.projects.zones.clusters.nodePools.setManagement", +"parameterOrder": [ +"projectId", +"zone", +"clusterId", +"nodePoolId" +], +"parameters": { +"clusterId": { +"description": "Deprecated. The name of the cluster to update. This field has been deprecated and replaced by the name field.", +"location": "path", +"required": true, +"type": "string" +}, +"nodePoolId": { +"description": "Deprecated. The name of the node pool to update. This field has been deprecated and replaced by the name field.", +"location": "path", +"required": true, +"type": "string" +}, +"projectId": { +"description": "Deprecated. The Google Developers Console [project ID or project number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). This field has been deprecated and replaced by the name field.", +"location": "path", +"required": true, +"type": "string" +}, +"zone": { +"description": "Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster resides. This field has been deprecated and replaced by the name field.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/nodePools/{nodePoolId}/setManagement", +"request": { +"$ref": "SetNodePoolManagementRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"setSize": { +"description": "SetNodePoolSizeRequest sets the size of a node pool. The new size will be used for all replicas, including future replicas created by modifying NodePool.locations.", +"flatPath": "v1beta1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/nodePools/{nodePoolId}/setSize", +"httpMethod": "POST", +"id": "container.projects.zones.clusters.nodePools.setSize", +"parameterOrder": [ +"projectId", +"zone", +"clusterId", +"nodePoolId" +], +"parameters": { +"clusterId": { +"description": "Deprecated. The name of the cluster to update. This field has been deprecated and replaced by the name field.", +"location": "path", +"required": true, +"type": "string" +}, +"nodePoolId": { +"description": "Deprecated. The name of the node pool to update. This field has been deprecated and replaced by the name field.", +"location": "path", +"required": true, +"type": "string" +}, +"projectId": { +"description": "Deprecated. The Google Developers Console [project ID or project number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). This field has been deprecated and replaced by the name field.", +"location": "path", +"required": true, +"type": "string" +}, +"zone": { +"description": "Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster resides. This field has been deprecated and replaced by the name field.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/nodePools/{nodePoolId}/setSize", +"request": { +"$ref": "SetNodePoolSizeRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"update": { +"description": "Updates the version and/or image type of a specific node pool.", +"flatPath": "v1beta1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/nodePools/{nodePoolId}/update", +"httpMethod": "POST", +"id": "container.projects.zones.clusters.nodePools.update", +"parameterOrder": [ +"projectId", +"zone", +"clusterId", +"nodePoolId" +], +"parameters": { +"clusterId": { +"description": "Deprecated. The name of the cluster to upgrade. This field has been deprecated and replaced by the name field.", +"location": "path", +"required": true, +"type": "string" +}, +"nodePoolId": { +"description": "Deprecated. The name of the node pool to upgrade. This field has been deprecated and replaced by the name field.", +"location": "path", +"required": true, +"type": "string" +}, +"projectId": { +"description": "Deprecated. The Google Developers Console [project ID or project number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). This field has been deprecated and replaced by the name field.", +"location": "path", +"required": true, +"type": "string" +}, +"zone": { +"description": "Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster resides. This field has been deprecated and replaced by the name field.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/nodePools/{nodePoolId}/update", +"request": { +"$ref": "UpdateNodePoolRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +}, +"operations": { +"methods": { +"cancel": { +"description": "Cancels the specified operation.", +"flatPath": "v1beta1/projects/{projectId}/zones/{zone}/operations/{operationId}:cancel", +"httpMethod": "POST", +"id": "container.projects.zones.operations.cancel", +"parameterOrder": [ +"projectId", +"zone", +"operationId" +], +"parameters": { +"operationId": { +"description": "Deprecated. The server-assigned `name` of the operation. This field has been deprecated and replaced by the name field.", +"location": "path", +"required": true, +"type": "string" +}, +"projectId": { +"description": "Deprecated. The Google Developers Console [project ID or project number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). This field has been deprecated and replaced by the name field.", +"location": "path", +"required": true, +"type": "string" +}, +"zone": { +"description": "Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/zones#available) in which the operation resides. This field has been deprecated and replaced by the name field.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/projects/{projectId}/zones/{zone}/operations/{operationId}:cancel", +"request": { +"$ref": "CancelOperationRequest" +}, +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets the specified operation.", +"flatPath": "v1beta1/projects/{projectId}/zones/{zone}/operations/{operationId}", +"httpMethod": "GET", +"id": "container.projects.zones.operations.get", +"parameterOrder": [ +"projectId", +"zone", +"operationId" +], +"parameters": { +"name": { +"description": "The name (project, location, operation id) of the operation to get. Specified in the format `projects/*/locations/*/operations/*`.", +"location": "query", +"type": "string" +}, +"operationId": { +"description": "Deprecated. The server-assigned `name` of the operation. This field has been deprecated and replaced by the name field.", +"location": "path", +"required": true, +"type": "string" +}, +"projectId": { +"description": "Deprecated. The Google Developers Console [project ID or project number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). This field has been deprecated and replaced by the name field.", +"location": "path", +"required": true, +"type": "string" +}, +"zone": { +"description": "Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster resides. This field has been deprecated and replaced by the name field.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/projects/{projectId}/zones/{zone}/operations/{operationId}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists all operations in a project in the specified zone or all zones.", +"flatPath": "v1beta1/projects/{projectId}/zones/{zone}/operations", +"httpMethod": "GET", +"id": "container.projects.zones.operations.list", +"parameterOrder": [ +"projectId", +"zone" +], +"parameters": { +"parent": { +"description": "The parent (project and location) where the operations will be listed. Specified in the format `projects/*/locations/*`. Location \"-\" matches all zones and all regions.", +"location": "query", +"type": "string" +}, +"projectId": { +"description": "Deprecated. The Google Developers Console [project ID or project number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). This field has been deprecated and replaced by the parent field.", +"location": "path", +"required": true, +"type": "string" +}, +"zone": { +"description": "Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/zones#available) to return operations for, or `-` for all zones. This field has been deprecated and replaced by the parent field.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/projects/{projectId}/zones/{zone}/operations", +"response": { +"$ref": "ListOperationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +} +} +} +}, +"revision": "20260209", +"rootUrl": "https://container.googleapis.com/", +"schemas": { +"AcceleratorConfig": { +"description": "AcceleratorConfig represents a Hardware Accelerator request.", +"id": "AcceleratorConfig", +"properties": { +"acceleratorCount": { +"description": "The number of the accelerator cards exposed to an instance.", +"format": "int64", +"type": "string" +}, +"acceleratorType": { +"description": "The accelerator type resource name. List of supported accelerators [here](https://cloud.google.com/compute/docs/gpus)", +"type": "string" +}, +"gpuDriverInstallationConfig": { +"$ref": "GPUDriverInstallationConfig", +"description": "The configuration for auto installation of GPU driver." +}, +"gpuPartitionSize": { +"description": "Size of partitions to create on the GPU. Valid values are described in the NVIDIA [mig user guide](https://docs.nvidia.com/datacenter/tesla/mig-user-guide/#partitioning).", +"type": "string" +}, +"gpuSharingConfig": { +"$ref": "GPUSharingConfig", +"description": "The configuration for GPU sharing options." +}, +"maxTimeSharedClientsPerGpu": { +"deprecated": true, +"description": "The number of time-shared GPU resources to expose for each physical GPU.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"AdditionalIPRangesConfig": { +"description": "AdditionalIPRangesConfig is the configuration for individual additional subnetwork attached to the cluster", +"id": "AdditionalIPRangesConfig", +"properties": { +"podIpv4RangeNames": { +"description": "List of secondary ranges names within this subnetwork that can be used for pod IPs. Example1: gke-pod-range1 Example2: gke-pod-range1,gke-pod-range2", +"items": { +"type": "string" +}, +"type": "array" +}, +"status": { +"description": "Draining status of the additional subnet.", +"enum": [ +"STATUS_UNSPECIFIED", +"ACTIVE", +"DRAINING" +], +"enumDescriptions": [ +"Not set, same as ACTIVE.", +"ACTIVE status indicates that the subnet is available for new node pool creation.", +"DRAINING status indicates that the subnet is not used for new node pool creation." +], +"type": "string" +}, +"subnetwork": { +"description": "Name of the subnetwork. This can be the full path of the subnetwork or just the name. Example1: my-subnet Example2: projects/gke-project/regions/us-central1/subnetworks/my-subnet", +"type": "string" +} +}, +"type": "object" +}, +"AdditionalNodeNetworkConfig": { +"description": "AdditionalNodeNetworkConfig is the configuration for additional node networks within the NodeNetworkConfig message", +"id": "AdditionalNodeNetworkConfig", +"properties": { +"network": { +"description": "Name of the VPC where the additional interface belongs", +"type": "string" +}, +"subnetwork": { +"description": "Name of the subnetwork where the additional interface belongs", +"type": "string" +} +}, +"type": "object" +}, +"AdditionalPodNetworkConfig": { +"description": "AdditionalPodNetworkConfig is the configuration for additional pod networks within the NodeNetworkConfig message", +"id": "AdditionalPodNetworkConfig", +"properties": { +"maxPodsPerNode": { +"$ref": "MaxPodsConstraint", +"description": "The maximum number of pods per node which use this pod network." +}, +"networkAttachment": { +"description": "The name of the network attachment for pods to communicate to; cannot be specified along with subnetwork or secondary_pod_range.", +"type": "string" +}, +"secondaryPodRange": { +"description": "The name of the secondary range on the subnet which provides IP address for this pod range.", +"type": "string" +}, +"subnetwork": { +"description": "Name of the subnetwork where the additional pod network belongs.", +"type": "string" +} +}, +"type": "object" +}, +"AdditionalPodRangesConfig": { +"description": "AdditionalPodRangesConfig is the configuration for additional pod secondary ranges supporting the ClusterUpdate message.", +"id": "AdditionalPodRangesConfig", +"properties": { +"podRangeInfo": { +"description": "Output only. Information for additional pod range.", +"items": { +"$ref": "RangeInfo" +}, +"readOnly": true, +"type": "array" +}, +"podRangeNames": { +"description": "Name for pod secondary ipv4 range which has the actual range defined ahead.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"AddonsConfig": { +"description": "Configuration for the addons that can be automatically spun up in the cluster, enabling additional functionality.", +"id": "AddonsConfig", +"properties": { +"cloudRunConfig": { +"$ref": "CloudRunConfig", +"description": "Configuration for the Cloud Run addon. The `IstioConfig` addon must be enabled in order to enable Cloud Run addon. This option can only be enabled at cluster creation time." +}, +"configConnectorConfig": { +"$ref": "ConfigConnectorConfig", +"description": "Configuration for the ConfigConnector add-on, a Kubernetes extension to manage hosted Google Cloud services through the Kubernetes API." +}, +"dnsCacheConfig": { +"$ref": "DnsCacheConfig", +"description": "Configuration for NodeLocalDNS, a dns cache running on cluster nodes" +}, +"gcePersistentDiskCsiDriverConfig": { +"$ref": "GcePersistentDiskCsiDriverConfig", +"description": "Configuration for the Compute Engine Persistent Disk CSI driver." +}, +"gcpFilestoreCsiDriverConfig": { +"$ref": "GcpFilestoreCsiDriverConfig", +"description": "Configuration for the Filestore CSI driver." +}, +"gcsFuseCsiDriverConfig": { +"$ref": "GcsFuseCsiDriverConfig", +"description": "Configuration for the Cloud Storage Fuse CSI driver." +}, +"gkeBackupAgentConfig": { +"$ref": "GkeBackupAgentConfig", +"description": "Configuration for the Backup for GKE agent addon." +}, +"highScaleCheckpointingConfig": { +"$ref": "HighScaleCheckpointingConfig", +"description": "Configuration for the High Scale Checkpointing add-on." +}, +"horizontalPodAutoscaling": { +"$ref": "HorizontalPodAutoscaling", +"description": "Configuration for the horizontal pod autoscaling feature, which increases or decreases the number of replica pods a replication controller has based on the resource usage of the existing pods." +}, +"httpLoadBalancing": { +"$ref": "HttpLoadBalancing", +"description": "Configuration for the HTTP (L7) load balancing controller addon, which makes it easy to set up HTTP load balancers for services in a cluster." +}, +"istioConfig": { +"$ref": "IstioConfig", +"deprecated": true, +"description": "Configuration for Istio, an open platform to connect, manage, and secure microservices." +}, +"kalmConfig": { +"$ref": "KalmConfig", +"deprecated": true, +"description": "Configuration for the KALM addon, which manages the lifecycle of k8s applications." +}, +"kubernetesDashboard": { +"$ref": "KubernetesDashboard", +"deprecated": true, +"description": "Configuration for the Kubernetes Dashboard. This addon is deprecated, and will be disabled in 1.15. It is recommended to use the Cloud Console to manage and monitor your Kubernetes clusters, workloads and applications. For more information, see: https://cloud.google.com/kubernetes-engine/docs/concepts/dashboards" +}, +"lustreCsiDriverConfig": { +"$ref": "LustreCsiDriverConfig", +"description": "Configuration for the Lustre CSI driver." +}, +"networkPolicyConfig": { +"$ref": "NetworkPolicyConfig", +"description": "Configuration for NetworkPolicy. This only tracks whether the addon is enabled or not on the Master, it does not track whether network policy is enabled for the nodes." +}, +"parallelstoreCsiDriverConfig": { +"$ref": "ParallelstoreCsiDriverConfig", +"description": "Configuration for the Cloud Storage Parallelstore CSI driver." +}, +"podSnapshotConfig": { +"$ref": "PodSnapshotConfig", +"description": "Configuration for the Pod Snapshot feature." +}, +"rayOperatorConfig": { +"$ref": "RayOperatorConfig", +"description": "Optional. Configuration for Ray Operator addon." +}, +"sliceControllerConfig": { +"$ref": "SliceControllerConfig", +"description": "Optional. Configuration for the slice controller add-on." +}, +"statefulHaConfig": { +"$ref": "StatefulHAConfig", +"description": "Optional. Configuration for the StatefulHA add-on." +} +}, +"type": "object" +}, +"AdvancedDatapathObservabilityConfig": { +"description": "AdvancedDatapathObservabilityConfig specifies configuration of observability features of advanced datapath.", +"id": "AdvancedDatapathObservabilityConfig", +"properties": { +"enableMetrics": { +"description": "Expose flow metrics on nodes", +"type": "boolean" +}, +"enableRelay": { +"description": "Enable Relay component", +"type": "boolean" +}, +"relayMode": { +"description": "Method used to make Relay available", +"enum": [ +"RELAY_MODE_UNSPECIFIED", +"DISABLED", +"INTERNAL_VPC_LB", +"EXTERNAL_LB" +], +"enumDescriptions": [ +"Default value. This shouldn't be used.", +"disabled", +"exposed via internal load balancer", +"exposed via external load balancer" +], +"type": "string" +} +}, +"type": "object" +}, +"AdvancedMachineFeatures": { +"description": "Specifies options for controlling advanced machine features.", +"id": "AdvancedMachineFeatures", +"properties": { +"enableNestedVirtualization": { +"description": "Whether or not to enable nested virtualization (defaults to false).", +"type": "boolean" +}, +"performanceMonitoringUnit": { +"description": "Type of Performance Monitoring Unit (PMU) requested on node pool instances. If unset, PMU will not be available to the node.", +"enum": [ +"PERFORMANCE_MONITORING_UNIT_UNSPECIFIED", +"ARCHITECTURAL", +"STANDARD", +"ENHANCED" +], +"enumDescriptions": [ +"PMU not enabled.", +"Architecturally defined non-LLC events.", +"Most documented core/L2 events.", +"Most documented core/L2 and LLC events." +], +"type": "string" +}, +"threadsPerCore": { +"description": "The number of threads per physical core. To disable simultaneous multithreading (SMT) set this to 1. If unset, the maximum number of threads supported per core by the underlying processor is assumed.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"AnonymousAuthenticationConfig": { +"description": "AnonymousAuthenticationConfig defines the settings needed to limit endpoints that allow anonymous authentication.", +"id": "AnonymousAuthenticationConfig", +"properties": { +"mode": { +"description": "Defines the mode of limiting anonymous access in the cluster.", +"enum": [ +"MODE_UNSPECIFIED", +"ENABLED", +"LIMITED" +], +"enumDescriptions": [ +"Default value not specified.", +"Anonymous authentication is allowed for all endpoints.", +"Anonymous authentication is allowed for only health check endpoints." +], +"type": "string" +} +}, +"type": "object" +}, +"AuthenticatorGroupsConfig": { +"description": "Configuration for returning group information from authenticators.", +"id": "AuthenticatorGroupsConfig", +"properties": { +"enabled": { +"description": "Whether this cluster should return group membership lookups during authentication using a group of security groups.", +"type": "boolean" +}, +"securityGroup": { +"description": "The name of the security group-of-groups to be used. Only relevant if enabled = true.", +"type": "string" +} +}, +"type": "object" +}, +"AutoIpamConfig": { +"description": "AutoIpamConfig contains all information related to Auto IPAM", +"id": "AutoIpamConfig", +"properties": { +"enabled": { +"description": "The flag that enables Auto IPAM on this cluster", +"type": "boolean" +} +}, +"type": "object" +}, +"AutoMonitoringConfig": { +"description": "AutoMonitoringConfig defines the configuration for GKE Workload Auto-Monitoring.", +"id": "AutoMonitoringConfig", +"properties": { +"scope": { +"description": "Scope for GKE Workload Auto-Monitoring.", +"enum": [ +"SCOPE_UNSPECIFIED", +"ALL", +"NONE" +], +"enumDescriptions": [ +"Not set.", +"Auto-Monitoring is enabled for all supported applications.", +"Disable Auto-Monitoring." +], +"type": "string" +} +}, +"type": "object" +}, +"AutoUpgradeOptions": { +"description": "AutoUpgradeOptions defines the set of options for the user to control how the Auto Upgrades will proceed.", +"id": "AutoUpgradeOptions", +"properties": { +"autoUpgradeStartTime": { +"description": "Output only. This field is set when upgrades are about to commence with the approximate start time for the upgrades, in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.", +"readOnly": true, +"type": "string" +}, +"description": { +"description": "Output only. This field is set when upgrades are about to commence with the description of the upgrade.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"Autopilot": { +"description": "Autopilot is the configuration for Autopilot settings on the cluster.", +"id": "Autopilot", +"properties": { +"conversionStatus": { +"$ref": "AutopilotConversionStatus", +"description": "Output only. ConversionStatus shows conversion status.", +"readOnly": true +}, +"enabled": { +"description": "Enable Autopilot", +"type": "boolean" +}, +"privilegedAdmissionConfig": { +"$ref": "PrivilegedAdmissionConfig", +"description": "PrivilegedAdmissionConfig is the configuration related to privileged admission control." +}, +"workloadPolicyConfig": { +"$ref": "WorkloadPolicyConfig", +"description": "WorkloadPolicyConfig is the configuration related to GCW workload policy" +} +}, +"type": "object" +}, +"AutopilotCompatibilityIssue": { +"description": "AutopilotCompatibilityIssue contains information about a specific compatibility issue with Autopilot mode.", +"id": "AutopilotCompatibilityIssue", +"properties": { +"constraintType": { +"description": "The constraint type of the issue.", +"type": "string" +}, +"description": { +"description": "The description of the issue.", +"type": "string" +}, +"documentationUrl": { +"description": "A URL to a public documentation, which addresses resolving this issue.", +"type": "string" +}, +"incompatibilityType": { +"description": "The incompatibility type of this issue.", +"enum": [ +"UNSPECIFIED", +"INCOMPATIBILITY", +"ADDITIONAL_CONFIG_REQUIRED", +"PASSED_WITH_OPTIONAL_CONFIG" +], +"enumDescriptions": [ +"Default value, should not be used.", +"Indicates that the issue is a known incompatibility between the cluster and Autopilot mode.", +"Indicates the issue is an incompatibility if customers take no further action to resolve.", +"Indicates the issue is not an incompatibility, but depending on the workloads business logic, there is a potential that they won't work on Autopilot." +], +"type": "string" +}, +"lastObservation": { +"description": "The last time when this issue was observed.", +"format": "google-datetime", +"type": "string" +}, +"subjects": { +"description": "The name of the resources which are subject to this issue.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"AutopilotConfig": { +"description": "AutopilotConfig contains configuration of autopilot feature for this nodepool.", +"id": "AutopilotConfig", +"properties": { +"enabled": { +"description": "Denotes that nodes belonging to this node pool are Autopilot nodes.", +"type": "boolean" +} +}, +"type": "object" +}, +"AutopilotConversionStatus": { +"description": "AutopilotConversionStatus represents conversion status.", +"id": "AutopilotConversionStatus", +"properties": { +"state": { +"description": "Output only. The current state of the conversion.", +"enum": [ +"STATE_UNSPECIFIED", +"DONE" +], +"enumDescriptions": [ +"STATE_UNSPECIFIED indicates the state is unspecified.", +"DONE indicates the conversion has been completed. Old node pools will continue being deleted in the background." +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"AutoprovisioningNodePoolDefaults": { +"description": "AutoprovisioningNodePoolDefaults contains defaults for a node pool created by NAP.", +"id": "AutoprovisioningNodePoolDefaults", +"properties": { +"bootDiskKmsKey": { +"description": " The Customer Managed Encryption Key used to encrypt the boot disk attached to each node in the node pool. This should be of the form projects/[KEY_PROJECT_ID]/locations/[LOCATION]/keyRings/[RING_NAME]/cryptoKeys/[KEY_NAME]. For more information about protecting resources with Cloud KMS Keys please see: https://cloud.google.com/compute/docs/disks/customer-managed-encryption", +"type": "string" +}, +"diskSizeGb": { +"description": "Size of the disk attached to each node, specified in GB. The smallest allowed disk size is 10GB. If unspecified, the default disk size is 100GB.", +"format": "int32", +"type": "integer" +}, +"diskType": { +"description": "Type of the disk attached to each node (e.g. 'pd-standard', 'pd-ssd' or 'pd-balanced') If unspecified, the default disk type is 'pd-standard'", +"type": "string" +}, +"imageType": { +"description": "The image type to use for NAP created node. Please see https://cloud.google.com/kubernetes-engine/docs/concepts/node-images for available image types.", +"type": "string" +}, +"insecureKubeletReadonlyPortEnabled": { +"description": "DEPRECATED. Use NodePoolAutoConfig.NodeKubeletConfig instead.", +"type": "boolean" +}, +"management": { +"$ref": "NodeManagement", +"description": "NodeManagement configuration for this NodePool." +}, +"minCpuPlatform": { +"deprecated": true, +"description": "Deprecated. Minimum CPU platform to be used for NAP created node pools. The instance may be scheduled on the specified or newer CPU platform. Applicable values are the friendly names of CPU platforms, such as minCpuPlatform: Intel Haswell or minCpuPlatform: Intel Sandy Bridge. For more information, read [how to specify min CPU platform](https://cloud.google.com/compute/docs/instances/specify-min-cpu-platform). This field is deprecated, min_cpu_platform should be specified using `cloud.google.com/requested-min-cpu-platform` label selector on the pod. To unset the min cpu platform field pass \"automatic\" as field value.", +"type": "string" +}, +"oauthScopes": { +"description": "The set of Google API scopes to be made available on all of the node VMs under the \"default\" service account. The following scopes are recommended, but not required, and by default are not included: * `https://www.googleapis.com/auth/compute` is required for mounting persistent storage on your nodes. * `https://www.googleapis.com/auth/devstorage.read_only` is required for communicating with **gcr.io** (the [Artifact Registry](https://cloud.google.com/artifact-registry/)). If unspecified, no scopes are added, unless Cloud Logging or Cloud Monitoring are enabled, in which case their required scopes will be added.", +"items": { +"type": "string" +}, +"type": "array" +}, +"serviceAccount": { +"description": "The Google Cloud Platform Service Account to be used by the node VMs. Specify the email address of the Service Account; otherwise, if no Service Account is specified, the \"default\" service account is used.", +"type": "string" +}, +"shieldedInstanceConfig": { +"$ref": "ShieldedInstanceConfig", +"description": "Shielded Instance options." +}, +"upgradeSettings": { +"$ref": "UpgradeSettings", +"description": "Upgrade settings control disruption and speed of the upgrade." +} +}, +"type": "object" +}, +"AutoscaledRolloutPolicy": { +"description": "Autoscaled rollout policy utilizes the cluster autoscaler during blue-green upgrade to scale both the blue and green pools.", +"id": "AutoscaledRolloutPolicy", +"properties": { +"waitForDrainDuration": { +"description": "Optional. Time to wait after cordoning the blue pool before draining the nodes. Defaults to 3 days. The value can be set between 0 and 7 days, inclusive.", +"format": "google-duration", +"type": "string" +} +}, +"type": "object" +}, +"AvailableVersion": { +"deprecated": true, +"description": "Deprecated.", +"id": "AvailableVersion", +"properties": { +"reason": { +"description": "Reason for availability.", +"type": "string" +}, +"version": { +"description": "Kubernetes version.", +"type": "string" +} +}, +"type": "object" +}, +"BestEffortProvisioning": { +"description": "Best effort provisioning.", +"id": "BestEffortProvisioning", +"properties": { +"enabled": { +"description": "When this is enabled, cluster/node pool creations will ignore non-fatal errors like stockout to best provision as many nodes as possible right now and eventually bring up all target number of nodes", +"type": "boolean" +}, +"minProvisionNodes": { +"description": "Minimum number of nodes to be provisioned to be considered as succeeded, and the rest of nodes will be provisioned gradually and eventually when stockout issue has been resolved.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"BigQueryDestination": { +"description": "Parameters for using BigQuery as the destination of resource usage export.", +"id": "BigQueryDestination", +"properties": { +"datasetId": { +"description": "The ID of a BigQuery Dataset.", +"type": "string" +} +}, +"type": "object" +}, +"BinaryAuthorization": { +"description": "Configuration for Binary Authorization.", +"id": "BinaryAuthorization", +"properties": { +"enabled": { +"deprecated": true, +"description": "This field is deprecated. Leave this unset and instead configure BinaryAuthorization using evaluation_mode. If evaluation_mode is set to anything other than EVALUATION_MODE_UNSPECIFIED, this field is ignored.", +"type": "boolean" +}, +"evaluationMode": { +"description": "Mode of operation for binauthz policy evaluation. If unspecified, defaults to DISABLED.", +"enum": [ +"EVALUATION_MODE_UNSPECIFIED", +"DISABLED", +"PROJECT_SINGLETON_POLICY_ENFORCE", +"POLICY_BINDINGS", +"POLICY_BINDINGS_AND_PROJECT_SINGLETON_POLICY_ENFORCE" +], +"enumDescriptions": [ +"Default value", +"Disable BinaryAuthorization", +"Enforce Kubernetes admission requests with BinaryAuthorization using the project's singleton policy. This is equivalent to setting the enabled boolean to true.", +"Use Binary Authorization Continuous Validation with the policies specified in policy_bindings.", +"Use Binary Authorization Continuous Validation with the policies specified in policy_bindings and enforce Kubernetes admission requests with Binary Authorization using the project's singleton policy." +], +"type": "string" +}, +"policyBindings": { +"description": "Optional. Binauthz policies that apply to this cluster.", +"items": { +"$ref": "PolicyBinding" +}, +"type": "array" +} +}, +"type": "object" +}, +"BlueGreenInfo": { +"description": "Information relevant to blue-green upgrade.", +"id": "BlueGreenInfo", +"properties": { +"blueInstanceGroupUrls": { +"description": "The resource URLs of the [managed instance groups] (/compute/docs/instance-groups/creating-groups-of-managed-instances) associated with blue pool.", +"items": { +"type": "string" +}, +"type": "array" +}, +"bluePoolDeletionStartTime": { +"description": "Time to start deleting blue pool to complete blue-green upgrade, in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.", +"type": "string" +}, +"greenInstanceGroupUrls": { +"description": "The resource URLs of the [managed instance groups] (/compute/docs/instance-groups/creating-groups-of-managed-instances) associated with green pool.", +"items": { +"type": "string" +}, +"type": "array" +}, +"greenPoolVersion": { +"description": "Version of green pool.", +"type": "string" +}, +"phase": { +"description": "Current blue-green upgrade phase.", +"enum": [ +"PHASE_UNSPECIFIED", +"UPDATE_STARTED", +"CREATING_GREEN_POOL", +"CORDONING_BLUE_POOL", +"WAITING_TO_DRAIN_BLUE_POOL", +"DRAINING_BLUE_POOL", +"NODE_POOL_SOAKING", +"DELETING_BLUE_POOL", +"ROLLBACK_STARTED" +], +"enumDescriptions": [ +"Unspecified phase.", +"blue-green upgrade has been initiated.", +"Start creating green pool nodes.", +"Start cordoning blue pool nodes.", +"Start waiting after cordoning the blue pool and before draining it.", +"Start draining blue pool nodes.", +"Start soaking time after draining entire blue pool.", +"Start deleting blue nodes.", +"Rollback has been initiated." +], +"type": "string" +} +}, +"type": "object" +}, +"BlueGreenSettings": { +"description": "Settings for blue-green upgrade.", +"id": "BlueGreenSettings", +"properties": { +"autoscaledRolloutPolicy": { +"$ref": "AutoscaledRolloutPolicy", +"description": "Autoscaled policy for cluster autoscaler enabled blue-green upgrade." +}, +"nodePoolSoakDuration": { +"description": "Time needed after draining entire blue pool. After this period, blue pool will be cleaned up.", +"format": "google-duration", +"type": "string" +}, +"standardRolloutPolicy": { +"$ref": "StandardRolloutPolicy", +"description": "Standard policy for the blue-green upgrade." +} +}, +"type": "object" +}, +"BootDisk": { +"description": "BootDisk specifies the boot disk configuration for nodepools.", +"id": "BootDisk", +"properties": { +"diskType": { +"description": "Disk type of the boot disk. (i.e. Hyperdisk-Balanced, PD-Balanced, etc.)", +"type": "string" +}, +"provisionedIops": { +"description": "For Hyperdisk-Balanced only, the provisioned IOPS config value.", +"format": "int64", +"type": "string" +}, +"provisionedThroughput": { +"description": "For Hyperdisk-Balanced only, the provisioned throughput config value.", +"format": "int64", +"type": "string" +}, +"sizeGb": { +"description": "Disk size in GB. Replaces NodeConfig.disk_size_gb", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"BootDiskProfile": { +"description": "Swap on the node's boot disk.", +"id": "BootDiskProfile", +"properties": { +"swapSizeGib": { +"description": "Specifies the size of the swap space in gibibytes (GiB).", +"format": "int64", +"type": "string" +}, +"swapSizePercent": { +"description": "Specifies the size of the swap space as a percentage of the boot disk size.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"CancelOperationRequest": { +"description": "CancelOperationRequest cancels a single operation.", +"id": "CancelOperationRequest", +"properties": { +"name": { +"description": "The name (project, location, operation id) of the operation to cancel. Specified in the format `projects/*/locations/*/operations/*`.", +"type": "string" +}, +"operationId": { +"deprecated": true, +"description": "Deprecated. The server-assigned `name` of the operation. This field has been deprecated and replaced by the name field.", +"type": "string" +}, +"projectId": { +"deprecated": true, +"description": "Deprecated. The Google Developers Console [project ID or project number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). This field has been deprecated and replaced by the name field.", +"type": "string" +}, +"zone": { +"deprecated": true, +"description": "Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/zones#available) in which the operation resides. This field has been deprecated and replaced by the name field.", +"type": "string" +} +}, +"type": "object" +}, +"CertificateAuthorityDomainConfig": { +"description": "CertificateAuthorityDomainConfig configures one or more fully qualified domain names (FQDN) to a specific certificate.", +"id": "CertificateAuthorityDomainConfig", +"properties": { +"fqdns": { +"description": "List of fully qualified domain names (FQDN). Specifying port is supported. Wildcards are NOT supported. Examples: - my.customdomain.com - 10.0.1.2:5000", +"items": { +"type": "string" +}, +"type": "array" +}, +"gcpSecretManagerCertificateConfig": { +"$ref": "GCPSecretManagerCertificateConfig", +"description": "Secret Manager certificate configuration." +} +}, +"type": "object" +}, +"CertificateConfig": { +"description": "CertificateConfig configures certificate for the registry.", +"id": "CertificateConfig", +"properties": { +"gcpSecretManagerSecretUri": { +"description": "The URI configures a secret from [Secret Manager](https://cloud.google.com/secret-manager) in the format \"projects/$PROJECT_ID/secrets/$SECRET_NAME/versions/$VERSION\" for global secret or \"projects/$PROJECT_ID/locations/$REGION/secrets/$SECRET_NAME/versions/$VERSION\" for regional secret. Version can be fixed (e.g. \"2\") or \"latest\"", +"type": "string" +} +}, +"type": "object" +}, +"CertificateConfigPair": { +"description": "CertificateConfigPair configures pairs of certificates, which is used for client certificate and key pairs under a registry.", +"id": "CertificateConfigPair", +"properties": { +"cert": { +"$ref": "CertificateConfig", +"description": "Cert configures the client certificate." +}, +"key": { +"$ref": "CertificateConfig", +"description": "Key configures the client private key. Optional." +} +}, +"type": "object" +}, +"CheckAutopilotCompatibilityResponse": { +"description": "CheckAutopilotCompatibilityResponse has a list of compatibility issues.", +"id": "CheckAutopilotCompatibilityResponse", +"properties": { +"issues": { +"description": "The list of issues for the given operation.", +"items": { +"$ref": "AutopilotCompatibilityIssue" +}, +"type": "array" +}, +"summary": { +"description": "The summary of the autopilot compatibility response.", +"type": "string" +} +}, +"type": "object" +}, +"CidrBlock": { +"description": "CidrBlock contains an optional name and one CIDR block.", +"id": "CidrBlock", +"properties": { +"cidrBlock": { +"description": "cidr_block must be specified in CIDR notation.", +"type": "string" +}, +"displayName": { +"description": "display_name is an optional field for users to identify CIDR blocks.", +"type": "string" +} +}, +"type": "object" +}, +"ClientCertificateConfig": { +"description": "Configuration for client certificates on the cluster.", +"id": "ClientCertificateConfig", +"properties": { +"issueClientCertificate": { +"description": "Issue a client certificate.", +"type": "boolean" +} +}, +"type": "object" +}, +"CloudRunConfig": { +"description": "Configuration options for the Cloud Run feature.", +"id": "CloudRunConfig", +"properties": { +"disabled": { +"description": "Whether Cloud Run addon is enabled for this cluster.", +"type": "boolean" +}, +"loadBalancerType": { +"description": "Which load balancer type is installed for Cloud Run.", +"enum": [ +"LOAD_BALANCER_TYPE_UNSPECIFIED", +"LOAD_BALANCER_TYPE_EXTERNAL", +"LOAD_BALANCER_TYPE_INTERNAL" +], +"enumDescriptions": [ +"Load balancer type for Cloud Run is unspecified.", +"Install external load balancer for Cloud Run.", +"Install internal load balancer for Cloud Run." +], +"type": "string" +} +}, +"type": "object" +}, +"Cluster": { +"description": "A Google Kubernetes Engine cluster.", +"id": "Cluster", +"properties": { +"addonsConfig": { +"$ref": "AddonsConfig", +"description": "Configurations for the various addons available to run in the cluster." +}, +"alphaClusterFeatureGates": { +"description": "The list of user specified Kubernetes feature gates. Each string represents the activation status of a feature gate (e.g. \"featureX=true\" or \"featureX=false\")", +"items": { +"type": "string" +}, +"type": "array" +}, +"anonymousAuthenticationConfig": { +"$ref": "AnonymousAuthenticationConfig", +"description": "Configuration for limiting anonymous access to all endpoints except the health checks." +}, +"authenticatorGroupsConfig": { +"$ref": "AuthenticatorGroupsConfig", +"description": "Configuration controlling RBAC group membership information." +}, +"autopilot": { +"$ref": "Autopilot", +"description": "Autopilot configuration for the cluster." +}, +"autoscaling": { +"$ref": "ClusterAutoscaling", +"description": "Cluster-level autoscaling configuration." +}, +"binaryAuthorization": { +"$ref": "BinaryAuthorization", +"description": "Configuration for Binary Authorization." +}, +"clusterIpv4Cidr": { +"description": "The IP address range of the container pods in this cluster, in [CIDR](https://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing) notation (e.g. `10.96.0.0/14`). Leave blank to have one automatically chosen or specify a `/14` block in `10.0.0.0/8`.", +"type": "string" +}, +"clusterTelemetry": { +"$ref": "ClusterTelemetry", +"description": "Telemetry integration for the cluster." +}, +"compliancePostureConfig": { +"$ref": "CompliancePostureConfig", +"deprecated": true, +"description": "Optional. Deprecated: Compliance Posture is no longer supported. For more details, see https://cloud.google.com/kubernetes-engine/docs/deprecations/posture-management-deprecation. Enable/Disable Compliance Posture features for the cluster." +}, +"conditions": { +"description": "Which conditions caused the current cluster state.", +"items": { +"$ref": "StatusCondition" +}, +"type": "array" +}, +"confidentialNodes": { +"$ref": "ConfidentialNodes", +"description": "Configuration of Confidential Nodes. All the nodes in the cluster will be Confidential VM once enabled." +}, +"controlPlaneEndpointsConfig": { +"$ref": "ControlPlaneEndpointsConfig", +"description": "Configuration for all cluster's control plane endpoints." +}, +"costManagementConfig": { +"$ref": "CostManagementConfig", +"description": "Configuration for the fine-grained cost management feature." +}, +"createTime": { +"description": "Output only. The time the cluster was created, in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.", +"readOnly": true, +"type": "string" +}, +"currentEmulatedVersion": { +"description": "Output only. The current emulated version of the master endpoint. The version is in minor version format, e.g. 1.30. No value or empty string means the cluster has no emulated version.", +"readOnly": true, +"type": "string" +}, +"currentMasterVersion": { +"description": "Output only. The current software version of the master endpoint.", +"readOnly": true, +"type": "string" +}, +"currentNodeCount": { +"deprecated": true, +"description": "Output only. The number of nodes currently in the cluster. Deprecated. Call Kubernetes API directly to retrieve node information.", +"format": "int32", +"readOnly": true, +"type": "integer" +}, +"currentNodeVersion": { +"deprecated": true, +"description": "Output only. Deprecated, use [NodePool.version](https://cloud.google.com/kubernetes-engine/docs/reference/rest/v1beta1/projects.locations.clusters.nodePools) instead. The current version of the node software components. If they are currently at multiple versions because they're in the process of being upgraded, this reflects the minimum version of all nodes.", +"readOnly": true, +"type": "string" +}, +"databaseEncryption": { +"$ref": "DatabaseEncryption", +"description": "Configuration of etcd encryption." +}, +"defaultMaxPodsConstraint": { +"$ref": "MaxPodsConstraint", +"description": "The default constraint on the maximum number of pods that can be run simultaneously on a node in the node pool of this cluster. Only honored if cluster created with IP Alias support." +}, +"description": { +"description": "An optional description of this cluster.", +"type": "string" +}, +"enableK8sBetaApis": { +"$ref": "K8sBetaAPIConfig", +"description": "Kubernetes open source beta apis enabled on the cluster. Only beta apis." +}, +"enableKubernetesAlpha": { +"description": "Kubernetes alpha features are enabled on this cluster. This includes alpha API groups (e.g. v1beta1) and features that may not be production ready in the kubernetes version of the master and nodes. The cluster has no SLA for uptime and master/node upgrades are disabled. Alpha enabled clusters are automatically deleted thirty days after creation.", +"type": "boolean" +}, +"enableTpu": { +"deprecated": true, +"description": "Enable the ability to use Cloud TPUs in this cluster. This field is deprecated, use tpu_config.enabled instead. This field is deprecated due to the deprecation of 2VM TPU. The end of life date for 2VM TPU is 2025-04-25.", +"type": "boolean" +}, +"endpoint": { +"description": "Output only. The IP address of this cluster's master endpoint. The endpoint can be accessed from the internet at `https://username:password@endpoint/`. See the `masterAuth` property of this resource for username and password information.", +"readOnly": true, +"type": "string" +}, +"enterpriseConfig": { +"$ref": "EnterpriseConfig", +"deprecated": true, +"description": "GKE Enterprise Configuration. Deprecated: GKE Enterprise features are now available without an Enterprise tier." +}, +"etag": { +"description": "This checksum is computed by the server based on the value of cluster fields, and may be sent on update requests to ensure the client has an up-to-date value before proceeding.", +"type": "string" +}, +"expireTime": { +"description": "Output only. The time the cluster will be automatically deleted in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.", +"readOnly": true, +"type": "string" +}, +"fleet": { +"$ref": "Fleet", +"description": "Fleet information for the cluster." +}, +"gkeAutoUpgradeConfig": { +"$ref": "GkeAutoUpgradeConfig", +"description": "Configuration for GKE auto upgrades." +}, +"id": { +"description": "Output only. Unique id for the cluster.", +"readOnly": true, +"type": "string" +}, +"identityServiceConfig": { +"$ref": "IdentityServiceConfig", +"description": "Configuration for Identity Service component." +}, +"initialClusterVersion": { +"description": "The initial Kubernetes version for this cluster. Valid versions are those found in validMasterVersions returned by getServerConfig. The version can be upgraded over time; such upgrades are reflected in currentMasterVersion and currentNodeVersion. Users may specify either explicit versions offered by Kubernetes Engine or version aliases, which have the following behavior: - \"latest\": picks the highest valid Kubernetes version - \"1.X\": picks the highest valid patch+gke.N patch in the 1.X version - \"1.X.Y\": picks the highest valid gke.N patch in the 1.X.Y version - \"1.X.Y-gke.N\": picks an explicit Kubernetes version - \"\",\"-\": picks the default Kubernetes version", +"type": "string" +}, +"initialNodeCount": { +"deprecated": true, +"description": "The number of nodes to create in this cluster. You must ensure that your Compute Engine [resource quota](https://cloud.google.com/compute/quotas) is sufficient for this number of instances. You must also have available firewall and routes quota. For requests, this field should only be used in lieu of a \"node_pool\" object, since this configuration (along with the \"node_config\") will be used to create a \"NodePool\" object with an auto-generated name. Do not use this and a node_pool at the same time. This field is deprecated, use node_pool.initial_node_count instead.", +"format": "int32", +"type": "integer" +}, +"instanceGroupUrls": { +"deprecated": true, +"description": "Output only. Deprecated. Use node_pools.instance_group_urls.", +"items": { +"type": "string" +}, +"readOnly": true, +"type": "array" +}, +"ipAllocationPolicy": { +"$ref": "IPAllocationPolicy", +"description": "Configuration for cluster IP allocation." +}, +"labelFingerprint": { +"description": "The fingerprint of the set of labels for this cluster.", +"type": "string" +}, +"legacyAbac": { +"$ref": "LegacyAbac", +"description": "Configuration for the legacy ABAC authorization mode." +}, +"location": { +"description": "Output only. The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/regions-zones/regions-zones#available) or [region](https://cloud.google.com/compute/docs/regions-zones/regions-zones#available) in which the cluster resides.", +"readOnly": true, +"type": "string" +}, +"locations": { +"description": "The list of Google Compute Engine [zones](https://cloud.google.com/compute/docs/zones#available) in which the cluster's nodes should be located. This field provides a default value if [NodePool.Locations](https://cloud.google.com/kubernetes-engine/docs/reference/rest/v1/projects.locations.clusters.nodePools#NodePool.FIELDS.locations) are not specified during node pool creation. Warning: changing cluster locations will update the [NodePool.Locations](https://cloud.google.com/kubernetes-engine/docs/reference/rest/v1/projects.locations.clusters.nodePools#NodePool.FIELDS.locations) of all node pools and will result in nodes being added and/or removed.", +"items": { +"type": "string" +}, +"type": "array" +}, +"loggingConfig": { +"$ref": "LoggingConfig", +"description": "Logging configuration for the cluster." +}, +"loggingService": { +"description": "The logging service the cluster should use to write logs. Currently available options: * `logging.googleapis.com/kubernetes` - The Cloud Logging service with a Kubernetes-native resource model * `logging.googleapis.com` - The legacy Cloud Logging service (no longer available as of GKE 1.15). * `none` - no logs will be exported from the cluster. If left as an empty string,`logging.googleapis.com/kubernetes` will be used for GKE 1.14+ or `logging.googleapis.com` for earlier versions.", +"type": "string" +}, +"maintenancePolicy": { +"$ref": "MaintenancePolicy", +"description": "Configure the maintenance policy for this cluster." +}, +"managedOpentelemetryConfig": { +"$ref": "ManagedOpenTelemetryConfig", +"description": "Configuration for Managed OpenTelemetry pipeline." +}, +"master": { +"$ref": "Master", +"description": "Configuration for master components." +}, +"masterAuth": { +"$ref": "MasterAuth", +"description": "The authentication information for accessing the master endpoint. If unspecified, the defaults are used: For clusters before v1.12, if master_auth is unspecified, `username` will be set to \"admin\", a random password will be generated, and a client certificate will be issued." +}, +"masterAuthorizedNetworksConfig": { +"$ref": "MasterAuthorizedNetworksConfig", +"deprecated": true, +"description": "The configuration options for master authorized networks feature. Deprecated: Use ControlPlaneEndpointsConfig.IPEndpointsConfig.authorized_networks_config instead." +}, +"masterIpv4CidrBlock": { +"deprecated": true, +"description": "The IP prefix in CIDR notation to use for the hosted master network. This prefix will be used for assigning private IP addresses to the master or set of masters, as well as the ILB VIP. This field is deprecated, use private_cluster_config.master_ipv4_cidr_block instead.", +"type": "string" +}, +"meshCertificates": { +"$ref": "MeshCertificates", +"description": "Configuration for issuance of mTLS keys and certificates to Kubernetes pods." +}, +"monitoringConfig": { +"$ref": "MonitoringConfig", +"description": "Monitoring configuration for the cluster." +}, +"monitoringService": { +"description": "The monitoring service the cluster should use to write metrics. Currently available options: * `monitoring.googleapis.com/kubernetes` - The Cloud Monitoring service with a Kubernetes-native resource model * `monitoring.googleapis.com` - The legacy Cloud Monitoring service (no longer available as of GKE 1.15). * `none` - No metrics will be exported from the cluster. If left as an empty string,`monitoring.googleapis.com/kubernetes` will be used for GKE 1.14+ or `monitoring.googleapis.com` for earlier versions.", +"type": "string" +}, +"name": { +"description": "The name of this cluster. The name must be unique within this project and location (e.g. zone or region), and can be up to 40 characters with the following restrictions: * Lowercase letters, numbers, and hyphens only. * Must start with a letter. * Must end with a number or a letter.", +"type": "string" +}, +"network": { +"description": "The name of the Google Compute Engine [network](https://cloud.google.com/compute/docs/networks-and-firewalls#networks) to which the cluster is connected. If left unspecified, the `default` network will be used. On output this shows the network ID instead of the name.", +"type": "string" +}, +"networkConfig": { +"$ref": "NetworkConfig", +"description": "Configuration for cluster networking." +}, +"networkPolicy": { +"$ref": "NetworkPolicy", +"description": "Configuration options for the NetworkPolicy feature." +}, +"nodeConfig": { +"$ref": "NodeConfig", +"deprecated": true, +"description": "Parameters used in creating the cluster's nodes. For requests, this field should only be used in lieu of a \"node_pool\" object, since this configuration (along with the \"initial_node_count\") will be used to create a \"NodePool\" object with an auto-generated name. Do not use this and a node_pool at the same time. For responses, this field will be populated with the node configuration of the first node pool. (For configuration of each node pool, see `node_pool.config`) If unspecified, the defaults are used. This field is deprecated, use node_pool.config instead." +}, +"nodeIpv4CidrSize": { +"description": "Output only. The size of the address space on each node for hosting containers. This is provisioned from within the `container_ipv4_cidr` range. This field will only be set when cluster is in route-based network mode.", +"format": "int32", +"readOnly": true, +"type": "integer" +}, +"nodePoolAutoConfig": { +"$ref": "NodePoolAutoConfig", +"description": "Node pool configs that apply to all auto-provisioned node pools in autopilot clusters and node auto-provisioning enabled clusters." +}, +"nodePoolDefaults": { +"$ref": "NodePoolDefaults", +"description": "Default NodePool settings for the entire cluster. These settings are overridden if specified on the specific NodePool object." +}, +"nodePools": { +"description": "The node pools associated with this cluster. This field should not be set if \"node_config\" or \"initial_node_count\" are specified.", +"items": { +"$ref": "NodePool" +}, +"type": "array" +}, +"notificationConfig": { +"$ref": "NotificationConfig", +"description": "Notification configuration of the cluster." +}, +"parentProductConfig": { +"$ref": "ParentProductConfig", +"description": "The configuration of the parent product of the cluster. This field is used by Google internal products that are built on top of the GKE cluster and take the ownership of the cluster." +}, +"podAutoscaling": { +"$ref": "PodAutoscaling", +"description": "The config for pod autoscaling." +}, +"podSecurityPolicyConfig": { +"$ref": "PodSecurityPolicyConfig", +"description": "Configuration for the PodSecurityPolicy feature." +}, +"privateCluster": { +"deprecated": true, +"description": "If this is a private cluster setup. Private clusters are clusters that, by default have no external IP addresses on the nodes and where nodes and the master communicate over private IP addresses. This field is deprecated, use private_cluster_config.enable_private_nodes instead.", +"type": "boolean" +}, +"privateClusterConfig": { +"$ref": "PrivateClusterConfig", +"description": "Configuration for private cluster." +}, +"protectConfig": { +"$ref": "ProtectConfig", +"deprecated": true, +"description": "Deprecated: Use SecurityPostureConfig instead. Enable/Disable Protect API features for the cluster." +}, +"rbacBindingConfig": { +"$ref": "RBACBindingConfig", +"description": "RBACBindingConfig allows user to restrict ClusterRoleBindings an RoleBindings that can be created." +}, +"releaseChannel": { +"$ref": "ReleaseChannel", +"description": "Release channel configuration. If left unspecified on cluster creation and a version is specified, the cluster is enrolled in the most mature release channel where the version is available (first checking STABLE, then REGULAR, and finally RAPID). Otherwise, if no release channel configuration and no version is specified, the cluster is enrolled in the REGULAR channel with its default version." +}, +"resourceLabels": { +"additionalProperties": { +"type": "string" +}, +"description": "The resource labels for the cluster to use to annotate any related Google Compute Engine resources.", +"type": "object" +}, +"resourceUsageExportConfig": { +"$ref": "ResourceUsageExportConfig", +"description": "Configuration for exporting resource usages. Resource usage export is disabled when this config unspecified." +}, +"rollbackSafeUpgrade": { +"$ref": "RollbackSafeUpgrade", +"description": "The rollback safe upgrade information of the cluster. This field is used when user manually triggers a rollback safe upgrade." +}, +"satisfiesPzi": { +"description": "Output only. Reserved for future use.", +"readOnly": true, +"type": "boolean" +}, +"satisfiesPzs": { +"description": "Output only. Reserved for future use.", +"readOnly": true, +"type": "boolean" +}, +"secretManagerConfig": { +"$ref": "SecretManagerConfig", +"description": "Secret CSI driver configuration." +}, +"secretSyncConfig": { +"$ref": "SecretSyncConfig", +"description": "Configuration for sync Secret Manager secrets as k8s secrets." +}, +"securityPostureConfig": { +"$ref": "SecurityPostureConfig", +"description": "Optional. Enable/Disable Security Posture API features for the cluster." +}, +"selfLink": { +"description": "Output only. Server-defined URL for the resource.", +"readOnly": true, +"type": "string" +}, +"servicesIpv4Cidr": { +"description": "Output only. The IP address range of the Kubernetes services in this cluster, in [CIDR](https://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing) notation (e.g. `1.2.3.4/29`). Service addresses are typically put in the last `/16` from the container CIDR.", +"readOnly": true, +"type": "string" +}, +"shieldedNodes": { +"$ref": "ShieldedNodes", +"description": "Shielded Nodes configuration." +}, +"status": { +"description": "Output only. The current status of this cluster.", +"enum": [ +"STATUS_UNSPECIFIED", +"PROVISIONING", +"RUNNING", +"RECONCILING", +"STOPPING", +"ERROR", +"DEGRADED" +], +"enumDescriptions": [ +"Not set.", +"The PROVISIONING state indicates the cluster is being created.", +"The RUNNING state indicates the cluster has been created and is fully usable.", +"The RECONCILING state indicates that some work is actively being done on the cluster, such as upgrading the master or node software. Details can be found in the `statusMessage` field.", +"The STOPPING state indicates the cluster is being deleted.", +"The ERROR state indicates the cluster may be unusable. Details can be found in the `statusMessage` field.", +"The DEGRADED state indicates the cluster requires user action to restore full functionality. Details can be found in the `statusMessage` field." +], +"readOnly": true, +"type": "string" +}, +"statusMessage": { +"deprecated": true, +"description": "Output only. Deprecated. Use conditions instead. Additional information about the current status of this cluster, if available.", +"readOnly": true, +"type": "string" +}, +"subnetwork": { +"description": "The name of the Google Compute Engine [subnetwork](https://cloud.google.com/compute/docs/subnetworks) to which the cluster is connected. On output this shows the subnetwork ID instead of the name.", +"type": "string" +}, +"tpuConfig": { +"$ref": "TpuConfig", +"deprecated": true, +"description": "Configuration for Cloud TPU support; This field is deprecated due to the deprecation of 2VM TPU. The end of life date for 2VM TPU is 2025-04-25." +}, +"tpuIpv4CidrBlock": { +"deprecated": true, +"description": "Output only. The IP address range of the Cloud TPUs in this cluster, in [CIDR](https://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing) notation (e.g. `1.2.3.4/29`). This field is deprecated due to the deprecation of 2VM TPU. The end of life date for 2VM TPU is 2025-04-25.", +"readOnly": true, +"type": "string" +}, +"userManagedKeysConfig": { +"$ref": "UserManagedKeysConfig", +"description": "The Custom keys configuration for the cluster." +}, +"verticalPodAutoscaling": { +"$ref": "VerticalPodAutoscaling", +"description": "Cluster-level Vertical Pod Autoscaling configuration." +}, +"workloadAltsConfig": { +"$ref": "WorkloadALTSConfig", +"description": "Configuration for direct-path (via ALTS) with workload identity. This feature is not officially supported for external customers in Kubernetes Engine when using Workload Identity." +}, +"workloadCertificates": { +"$ref": "WorkloadCertificates", +"description": "Configuration for issuance of mTLS keys and certificates to Kubernetes pods." +}, +"workloadIdentityConfig": { +"$ref": "WorkloadIdentityConfig", +"description": "Configuration for the use of Kubernetes Service Accounts in IAM policies." +}, +"zone": { +"deprecated": true, +"description": "Output only. The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster resides. This field is deprecated, use location instead.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"ClusterAutoscaling": { +"description": "ClusterAutoscaling contains global, per-cluster information required by Cluster Autoscaler to automatically adjust the size of the cluster and create/delete node pools based on the current needs.", +"id": "ClusterAutoscaling", +"properties": { +"autopilotGeneralProfile": { +"description": "Autopilot general profile for the cluster, which defines the configuration for the cluster.", +"enum": [ +"AUTOPILOT_GENERAL_PROFILE_UNSPECIFIED", +"NO_PERFORMANCE", +"NONE" +], +"enumDescriptions": [ +"Use default configuration.", +"Avoid extra IP consumption.", +"Use default configuration." +], +"type": "string" +}, +"autoprovisioningLocations": { +"description": "The list of Google Compute Engine [zones](https://cloud.google.com/compute/docs/zones#available) in which the NodePool's nodes can be created by NAP.", +"items": { +"type": "string" +}, +"type": "array" +}, +"autoprovisioningNodePoolDefaults": { +"$ref": "AutoprovisioningNodePoolDefaults", +"description": "AutoprovisioningNodePoolDefaults contains defaults for a node pool created by NAP." +}, +"autoscalingProfile": { +"description": "Defines autoscaling behaviour.", +"enum": [ +"PROFILE_UNSPECIFIED", +"OPTIMIZE_UTILIZATION", +"BALANCED" +], +"enumDescriptions": [ +"No change to autoscaling configuration.", +"Prioritize optimizing utilization of resources.", +"Use default (balanced) autoscaling configuration." +], +"type": "string" +}, +"defaultComputeClassConfig": { +"$ref": "DefaultComputeClassConfig", +"description": "Default compute class is a configuration for default compute class." +}, +"enableNodeAutoprovisioning": { +"description": "Enables automatic node pool creation and deletion.", +"type": "boolean" +}, +"resourceLimits": { +"description": "Contains global constraints regarding minimum and maximum amount of resources in the cluster.", +"items": { +"$ref": "ResourceLimit" +}, +"type": "array" +} +}, +"type": "object" +}, +"ClusterNetworkPerformanceConfig": { +"description": "Configuration of all network bandwidth tiers", +"id": "ClusterNetworkPerformanceConfig", +"properties": { +"totalEgressBandwidthTier": { +"description": "Specifies the total network bandwidth tier for the NodePool.", +"enum": [ +"TIER_UNSPECIFIED", +"TIER_1" +], +"enumDescriptions": [ +"Default value", +"Higher bandwidth, actual values based on VM size." +], +"type": "string" +} +}, +"type": "object" +}, +"ClusterTelemetry": { +"description": "Telemetry integration for the cluster.", +"id": "ClusterTelemetry", +"properties": { +"type": { +"description": "Type of the integration.", +"enum": [ +"UNSPECIFIED", +"DISABLED", +"ENABLED", +"SYSTEM_ONLY" +], +"enumDescriptions": [ +"Not set.", +"Monitoring integration is disabled.", +"Monitoring integration is enabled.", +"Only system components are monitored and logged." +], +"type": "string" +} +}, +"type": "object" +}, +"ClusterUpdate": { +"description": "ClusterUpdate describes an update to the cluster. Exactly one update can be applied to a cluster with each request, so at most one field can be provided.", +"id": "ClusterUpdate", +"properties": { +"additionalPodRangesConfig": { +"$ref": "AdditionalPodRangesConfig", +"description": "The additional pod ranges to be added to the cluster. These pod ranges can be used by node pools to allocate pod IPs." +}, +"desiredAdditionalIpRangesConfig": { +"$ref": "DesiredAdditionalIPRangesConfig", +"description": "The desired config for additional subnetworks attached to the cluster." +}, +"desiredAddonsConfig": { +"$ref": "AddonsConfig", +"description": "Configurations for the various addons available to run in the cluster." +}, +"desiredAnonymousAuthenticationConfig": { +"$ref": "AnonymousAuthenticationConfig", +"description": "Configuration for limiting anonymous access to all endpoints except the health checks." +}, +"desiredAuthenticatorGroupsConfig": { +"$ref": "AuthenticatorGroupsConfig", +"description": "AuthenticatorGroupsConfig specifies the config for the cluster security groups settings." +}, +"desiredAutoIpamConfig": { +"$ref": "AutoIpamConfig", +"description": "AutoIpamConfig contains all information related to Auto IPAM" +}, +"desiredAutopilotWorkloadPolicyConfig": { +"$ref": "WorkloadPolicyConfig", +"description": "WorkloadPolicyConfig is the configuration related to GCW workload policy" +}, +"desiredBinaryAuthorization": { +"$ref": "BinaryAuthorization", +"description": "The desired configuration options for the Binary Authorization feature." +}, +"desiredClusterAutoscaling": { +"$ref": "ClusterAutoscaling", +"description": "Cluster-level autoscaling configuration." +}, +"desiredClusterTelemetry": { +"$ref": "ClusterTelemetry", +"description": "The desired telemetry integration for the cluster." +}, +"desiredCompliancePostureConfig": { +"$ref": "CompliancePostureConfig", +"deprecated": true, +"description": "Deprecated: Compliance Posture is no longer supported. For more details, see https://cloud.google.com/kubernetes-engine/docs/deprecations/posture-management-deprecation. Enable/Disable Compliance Posture features for the cluster." +}, +"desiredContainerdConfig": { +"$ref": "ContainerdConfig", +"description": "The desired containerd config for the cluster." +}, +"desiredControlPlaneEndpointsConfig": { +"$ref": "ControlPlaneEndpointsConfig", +"description": "Control plane endpoints configuration." +}, +"desiredCostManagementConfig": { +"$ref": "CostManagementConfig", +"description": "The desired configuration for the fine-grained cost management feature." +}, +"desiredDatabaseEncryption": { +"$ref": "DatabaseEncryption", +"description": "Configuration of etcd encryption." +}, +"desiredDatapathProvider": { +"description": "The desired datapath provider for the cluster.", +"enum": [ +"DATAPATH_PROVIDER_UNSPECIFIED", +"LEGACY_DATAPATH", +"ADVANCED_DATAPATH" +], +"enumDescriptions": [ +"Default value.", +"Use the IPTables implementation based on kube-proxy.", +"Use the eBPF based GKE Dataplane V2 with additional features. See the [GKE Dataplane V2 documentation](https://cloud.google.com/kubernetes-engine/docs/how-to/dataplane-v2) for more." +], +"type": "string" +}, +"desiredDefaultEnablePrivateNodes": { +"description": "Override the default setting of whether future created nodes have private IP addresses only, namely NetworkConfig.default_enable_private_nodes", +"type": "boolean" +}, +"desiredDefaultSnatStatus": { +"$ref": "DefaultSnatStatus", +"description": "The desired status of whether to disable default sNAT for this cluster." +}, +"desiredDisableL4LbFirewallReconciliation": { +"description": "Enable/Disable L4 LB VPC firewall reconciliation for the cluster.", +"type": "boolean" +}, +"desiredDnsConfig": { +"$ref": "DNSConfig", +"description": "DNSConfig contains clusterDNS config for this cluster." +}, +"desiredEnableCiliumClusterwideNetworkPolicy": { +"description": "Enable/Disable Cilium Clusterwide Network Policy for the cluster.", +"type": "boolean" +}, +"desiredEnableFqdnNetworkPolicy": { +"description": "Enable/Disable FQDN Network Policy for the cluster.", +"type": "boolean" +}, +"desiredEnableMultiNetworking": { +"description": "Enable/Disable Multi-Networking for the cluster", +"type": "boolean" +}, +"desiredEnablePrivateEndpoint": { +"deprecated": true, +"description": "Enable/Disable private endpoint for the cluster's master. Deprecated: Use desired_control_plane_endpoints_config.ip_endpoints_config.enable_public_endpoint instead. Note that the value of enable_public_endpoint is reversed: if enable_private_endpoint is false, then enable_public_endpoint will be true.", +"type": "boolean" +}, +"desiredEnterpriseConfig": { +"$ref": "DesiredEnterpriseConfig", +"deprecated": true, +"description": "The desired enterprise configuration for the cluster. Deprecated: GKE Enterprise features are now available without an Enterprise tier." +}, +"desiredFleet": { +"$ref": "Fleet", +"description": "The desired fleet configuration for the cluster." +}, +"desiredGatewayApiConfig": { +"$ref": "GatewayAPIConfig", +"description": "The desired config of Gateway API on this cluster." +}, +"desiredGcfsConfig": { +"$ref": "GcfsConfig", +"description": "The desired GCFS config for the cluster." +}, +"desiredHostMaintenancePolicy": { +"$ref": "HostMaintenancePolicy", +"description": "HostMaintenancePolicy contains the desired maintenance policy for the Google Compute Engine hosts." +}, +"desiredIdentityServiceConfig": { +"$ref": "IdentityServiceConfig", +"description": "The desired Identity Service component configuration." +}, +"desiredImageType": { +"description": "The desired image type for the node pool. NOTE: Set the \"desired_node_pool\" field as well.", +"type": "string" +}, +"desiredInTransitEncryptionConfig": { +"description": "Specify the details of in-transit encryption. Now named inter-node transparent encryption.", +"enum": [ +"IN_TRANSIT_ENCRYPTION_CONFIG_UNSPECIFIED", +"IN_TRANSIT_ENCRYPTION_DISABLED", +"IN_TRANSIT_ENCRYPTION_INTER_NODE_TRANSPARENT" +], +"enumDescriptions": [ +"Unspecified, will be inferred as default - IN_TRANSIT_ENCRYPTION_UNSPECIFIED.", +"In-transit encryption is disabled.", +"Data in-transit is encrypted using inter-node transparent encryption." +], +"type": "string" +}, +"desiredIntraNodeVisibilityConfig": { +"$ref": "IntraNodeVisibilityConfig", +"description": "The desired config of Intra-node visibility." +}, +"desiredK8sBetaApis": { +"$ref": "K8sBetaAPIConfig", +"description": "Beta APIs enabled for cluster." +}, +"desiredL4ilbSubsettingConfig": { +"$ref": "ILBSubsettingConfig", +"description": "The desired L4 Internal Load Balancer Subsetting configuration." +}, +"desiredLocations": { +"description": "The desired list of Google Compute Engine [zones](https://cloud.google.com/compute/docs/zones#available) in which the cluster's nodes should be located. This list must always include the cluster's primary zone. Warning: changing cluster locations will update the locations of all node pools and will result in nodes being added and/or removed.", +"items": { +"type": "string" +}, +"type": "array" +}, +"desiredLoggingConfig": { +"$ref": "LoggingConfig", +"description": "The desired logging configuration." +}, +"desiredLoggingService": { +"description": "The logging service the cluster should use to write logs. Currently available options: * `logging.googleapis.com/kubernetes` - The Cloud Logging service with a Kubernetes-native resource model * `logging.googleapis.com` - The legacy Cloud Logging service (no longer available as of GKE 1.15). * `none` - no logs will be exported from the cluster. If left as an empty string,`logging.googleapis.com/kubernetes` will be used for GKE 1.14+ or `logging.googleapis.com` for earlier versions.", +"type": "string" +}, +"desiredManagedOpentelemetryConfig": { +"$ref": "ManagedOpenTelemetryConfig", +"description": "The desired managed open telemetry configuration." +}, +"desiredMaster": { +"$ref": "Master", +"description": "Configuration for master components." +}, +"desiredMasterAuthorizedNetworksConfig": { +"$ref": "MasterAuthorizedNetworksConfig", +"deprecated": true, +"description": "The desired configuration options for master authorized networks feature. Deprecated: Use desired_control_plane_endpoints_config.ip_endpoints_config.authorized_networks_config instead." +}, +"desiredMasterVersion": { +"description": "The Kubernetes version to change the master to. The only valid value is the latest supported version. Users may specify either explicit versions offered by Kubernetes Engine or version aliases, which have the following behavior: - \"latest\": picks the highest valid Kubernetes version - \"1.X\": picks the highest valid patch+gke.N patch in the 1.X version - \"1.X.Y\": picks the highest valid gke.N patch in the 1.X.Y version - \"1.X.Y-gke.N\": picks an explicit Kubernetes version - \"-\": picks the default Kubernetes version", +"type": "string" +}, +"desiredMeshCertificates": { +"$ref": "MeshCertificates", +"description": "Configuration for issuance of mTLS keys and certificates to Kubernetes pods." +}, +"desiredMonitoringConfig": { +"$ref": "MonitoringConfig", +"description": "The desired monitoring configuration." +}, +"desiredMonitoringService": { +"description": "The monitoring service the cluster should use to write metrics. Currently available options: * `monitoring.googleapis.com/kubernetes` - The Cloud Monitoring service with a Kubernetes-native resource model * `monitoring.googleapis.com` - The legacy Cloud Monitoring service (no longer available as of GKE 1.15). * `none` - No metrics will be exported from the cluster. If left as an empty string,`monitoring.googleapis.com/kubernetes` will be used for GKE 1.14+ or `monitoring.googleapis.com` for earlier versions.", +"type": "string" +}, +"desiredNetworkPerformanceConfig": { +"$ref": "ClusterNetworkPerformanceConfig", +"description": "The desired network performance config." +}, +"desiredNetworkTierConfig": { +"$ref": "NetworkTierConfig", +"description": "The desired network tier configuration for the cluster." +}, +"desiredNodeKubeletConfig": { +"$ref": "NodeKubeletConfig", +"description": "The desired node kubelet config for the cluster." +}, +"desiredNodePoolAutoConfigKubeletConfig": { +"$ref": "NodeKubeletConfig", +"description": "The desired node kubelet config for all auto-provisioned node pools in autopilot clusters and node auto-provisioning enabled clusters." +}, +"desiredNodePoolAutoConfigLinuxNodeConfig": { +"$ref": "LinuxNodeConfig", +"description": "The desired Linux node config for all auto-provisioned node pools in autopilot clusters and node auto-provisioning enabled clusters. Currently only `cgroup_mode` can be set here." +}, +"desiredNodePoolAutoConfigNetworkTags": { +"$ref": "NetworkTags", +"description": "The desired network tags that apply to all auto-provisioned node pools in autopilot clusters and node auto-provisioning enabled clusters." +}, +"desiredNodePoolAutoConfigResourceManagerTags": { +"$ref": "ResourceManagerTags", +"description": "The desired resource manager tags that apply to all auto-provisioned node pools in autopilot clusters and node auto-provisioning enabled clusters." +}, +"desiredNodePoolAutoscaling": { +"$ref": "NodePoolAutoscaling", +"description": "Autoscaler configuration for the node pool specified in desired_node_pool_id. If there is only one pool in the cluster and desired_node_pool_id is not provided then the change applies to that single node pool." +}, +"desiredNodePoolId": { +"description": "The node pool to be upgraded. This field is mandatory if \"desired_node_version\", \"desired_image_family\", \"desired_node_pool_autoscaling\", or \"desired_workload_metadata_config\" is specified and there is more than one node pool on the cluster.", +"type": "string" +}, +"desiredNodePoolLoggingConfig": { +"$ref": "NodePoolLoggingConfig", +"description": "The desired node pool logging configuration defaults for the cluster." +}, +"desiredNodeVersion": { +"description": "The Kubernetes version to change the nodes to (typically an upgrade). Users may specify either explicit versions offered by Kubernetes Engine or version aliases, which have the following behavior: - \"latest\": picks the highest valid Kubernetes version - \"1.X\": picks the highest valid patch+gke.N patch in the 1.X version - \"1.X.Y\": picks the highest valid gke.N patch in the 1.X.Y version - \"1.X.Y-gke.N\": picks an explicit Kubernetes version - \"-\": picks the Kubernetes master version", +"type": "string" +}, +"desiredNotificationConfig": { +"$ref": "NotificationConfig", +"description": "The desired notification configuration." +}, +"desiredParentProductConfig": { +"$ref": "ParentProductConfig", +"description": "The desired parent product config for the cluster." +}, +"desiredPodAutoscaling": { +"$ref": "PodAutoscaling", +"description": "The desired config for pod autoscaling." +}, +"desiredPodSecurityPolicyConfig": { +"$ref": "PodSecurityPolicyConfig", +"description": "The desired configuration options for the PodSecurityPolicy feature." +}, +"desiredPrivateClusterConfig": { +"$ref": "PrivateClusterConfig", +"deprecated": true, +"description": "The desired private cluster configuration. master_global_access_config is the only field that can be changed via this field. See also ClusterUpdate.desired_enable_private_endpoint for modifying other fields within PrivateClusterConfig. Deprecated: Use desired_control_plane_endpoints_config.ip_endpoints_config.global_access instead." +}, +"desiredPrivateIpv6GoogleAccess": { +"description": "The desired state of IPv6 connectivity to Google Services.", +"enum": [ +"PRIVATE_IPV6_GOOGLE_ACCESS_UNSPECIFIED", +"PRIVATE_IPV6_GOOGLE_ACCESS_DISABLED", +"PRIVATE_IPV6_GOOGLE_ACCESS_TO_GOOGLE", +"PRIVATE_IPV6_GOOGLE_ACCESS_BIDIRECTIONAL" +], +"enumDescriptions": [ +"Default value. Same as DISABLED", +"No private access to or from Google Services", +"Enables private IPv6 access to Google Services from GKE", +"Enables private IPv6 access to and from Google Services" +], +"type": "string" +}, +"desiredPrivilegedAdmissionConfig": { +"$ref": "PrivilegedAdmissionConfig", +"description": "The desired privileged admission config for the cluster." +}, +"desiredProtectConfig": { +"$ref": "ProtectConfig", +"deprecated": true, +"description": "Deprecated: Use DesiredSecurityPostureConfig instead. Enable/Disable Protect API features for the cluster." +}, +"desiredRbacBindingConfig": { +"$ref": "RBACBindingConfig", +"description": "RBACBindingConfig allows user to restrict ClusterRoleBindings an RoleBindings that can be created." +}, +"desiredReleaseChannel": { +"$ref": "ReleaseChannel", +"description": "The desired release channel configuration." +}, +"desiredResourceUsageExportConfig": { +"$ref": "ResourceUsageExportConfig", +"description": "The desired configuration for exporting resource usage." +}, +"desiredRollbackSafeUpgrade": { +"$ref": "RollbackSafeUpgrade", +"description": "The desired rollback safe upgrade configuration." +}, +"desiredSecretManagerConfig": { +"$ref": "SecretManagerConfig", +"description": "Enable/Disable Secret Manager Config." +}, +"desiredSecretSyncConfig": { +"$ref": "SecretSyncConfig", +"description": "Configuration for sync Secret Manager secrets as k8s secrets." +}, +"desiredSecurityPostureConfig": { +"$ref": "SecurityPostureConfig", +"description": "Enable/Disable Security Posture API features for the cluster." +}, +"desiredServiceExternalIpsConfig": { +"$ref": "ServiceExternalIPsConfig", +"description": "ServiceExternalIPsConfig specifies the config for the use of Services with ExternalIPs field." +}, +"desiredShieldedNodes": { +"$ref": "ShieldedNodes", +"description": "Configuration for Shielded Nodes." +}, +"desiredStackType": { +"description": "The desired stack type of the cluster. If a stack type is provided and does not match the current stack type of the cluster, update will attempt to change the stack type to the new type.", +"enum": [ +"STACK_TYPE_UNSPECIFIED", +"IPV4", +"IPV4_IPV6" +], +"enumDescriptions": [ +"By default, the clusters will be IPV4 only", +"The value used if the cluster is a IPV4 only", +"The value used if the cluster is a dual stack cluster" +], +"type": "string" +}, +"desiredTpuConfig": { +"$ref": "TpuConfig", +"deprecated": true, +"description": "The desired Cloud TPU configuration. This field is deprecated due to the deprecation of 2VM TPU. The end of life date for 2VM TPU is 2025-04-25." +}, +"desiredUserManagedKeysConfig": { +"$ref": "UserManagedKeysConfig", +"description": "The desired user managed keys config for the cluster." +}, +"desiredVerticalPodAutoscaling": { +"$ref": "VerticalPodAutoscaling", +"description": "Cluster-level Vertical Pod Autoscaling configuration." +}, +"desiredWorkloadAltsConfig": { +"$ref": "WorkloadALTSConfig", +"description": "Configuration for direct-path (via ALTS) with workload identity. This feature is not officially supported for external customers in Kubernetes Engine when using Workload Identity." +}, +"desiredWorkloadCertificates": { +"$ref": "WorkloadCertificates", +"description": "Configuration for issuance of mTLS keys and certificates to Kubernetes pods." +}, +"desiredWorkloadIdentityConfig": { +"$ref": "WorkloadIdentityConfig", +"description": "Configuration for Workload Identity." +}, +"enableK8sBetaApis": { +"$ref": "K8sBetaAPIConfig", +"description": "Kubernetes open source beta apis enabled on the cluster. Only beta apis" +}, +"etag": { +"description": "The current etag of the cluster. If an etag is provided and does not match the current etag of the cluster, update will be blocked and an ABORTED error will be returned.", +"type": "string" +}, +"gkeAutoUpgradeConfig": { +"$ref": "GkeAutoUpgradeConfig", +"description": "Configuration for GKE auto upgrade." +}, +"privateClusterConfig": { +"$ref": "PrivateClusterConfig", +"deprecated": true, +"description": "The desired private cluster configuration. Has no effect. Use desired_private_cluster_config instead." +}, +"removedAdditionalPodRangesConfig": { +"$ref": "AdditionalPodRangesConfig", +"description": "The additional pod ranges that are to be removed from the cluster. The pod ranges specified here must have been specified earlier in the 'additional_pod_ranges_config' argument." +}, +"userManagedKeysConfig": { +"$ref": "UserManagedKeysConfig", +"deprecated": true, +"description": "The Custom keys configuration for the cluster. This field is deprecated. Use ClusterUpdate.desired_user_managed_keys_config instead." +} +}, +"type": "object" +}, +"ClusterUpgradeInfo": { +"description": "ClusterUpgradeInfo contains the upgrade information of a cluster.", +"id": "ClusterUpgradeInfo", +"properties": { +"autoUpgradeStatus": { +"description": "The auto upgrade status.", +"items": { +"enum": [ +"UNKNOWN", +"ACTIVE", +"MINOR_UPGRADE_PAUSED", +"UPGRADE_PAUSED" +], +"enumDescriptions": [ +"UNKNOWN indicates an unknown status.", +"ACTIVE indicates an active status.", +"MINOR_UPGRADE_PAUSED indicates the minor version upgrade is paused.", +"UPGRADE_PAUSED indicates the upgrade is paused." +], +"type": "string" +}, +"type": "array" +}, +"endOfExtendedSupportTimestamp": { +"description": "The cluster's current minor version's end of extended support timestamp.", +"type": "string" +}, +"endOfStandardSupportTimestamp": { +"description": "The cluster's current minor version's end of standard support timestamp.", +"type": "string" +}, +"minorTargetVersion": { +"description": "minor_target_version indicates the target version for minor upgrade.", +"type": "string" +}, +"patchTargetVersion": { +"description": "patch_target_version indicates the target version for patch upgrade.", +"type": "string" +}, +"pausedReason": { +"description": "The auto upgrade paused reason.", +"items": { +"enum": [ +"AUTO_UPGRADE_PAUSED_REASON_UNSPECIFIED", +"MAINTENANCE_WINDOW", +"MAINTENANCE_EXCLUSION_NO_UPGRADES", +"MAINTENANCE_EXCLUSION_NO_MINOR_UPGRADES", +"CLUSTER_DISRUPTION_BUDGET", +"CLUSTER_DISRUPTION_BUDGET_MINOR_UPGRADE", +"SYSTEM_CONFIG" +], +"enumDescriptions": [ +"AUTO_UPGRADE_PAUSED_REASON_UNSPECIFIED indicates an unspecified reason.", +"MAINTENANCE_WINDOW indicates the cluster is outside customer maintenance window.", +"MAINTENANCE_EXCLUSION_NO_UPGRADES indicates the cluster is in a maintenance exclusion with scope NO_UPGRADES.", +"MAINTENANCE_EXCLUSION_NO_MINOR_UPGRADES indicates the cluster is in a maintenance exclusion with scope NO_MINOR_UPGRADES.", +"CLUSTER_DISRUPTION_BUDGET indicates the cluster is outside the cluster disruption budget.", +"CLUSTER_DISRUPTION_BUDGET_MINOR_UPGRADE indicates the cluster is outside the cluster disruption budget for minor version upgrade.", +"SYSTEM_CONFIG indicates the cluster upgrade is paused by system config." +], +"type": "string" +}, +"type": "array" +}, +"rollbackSafeUpgradeStatus": { +"$ref": "RollbackSafeUpgradeStatus", +"description": "The cluster's rollback-safe upgrade status." +}, +"upgradeDetails": { +"description": "The list of past auto upgrades.", +"items": { +"$ref": "UpgradeDetails" +}, +"type": "array" +} +}, +"type": "object" +}, +"CompatibilityStatus": { +"description": "CompatibilityStatus is the status regarding the control plane's compatibility.", +"id": "CompatibilityStatus", +"properties": { +"downgradableVersion": { +"description": "Output only. The GKE version that the cluster can be safely downgraded to if the cluster is emulating the previous minor version. It is usually the cluster's previous version before a minor version upgrade.", +"readOnly": true, +"type": "string" +}, +"emulatedVersionTime": { +"description": "Output only. Last time the control plane became available after a minor version binary upgrade with emulated version set. It indicates the last time the cluster entered the rollback safe mode.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"CompleteControlPlaneUpgradeRequest": { +"description": "CompleteControlPlaneUpgradeRequest sets the name of target cluster to complete upgrade.", +"id": "CompleteControlPlaneUpgradeRequest", +"properties": { +"version": { +"description": "API request version that initiates this operation.", +"type": "string" +} +}, +"type": "object" +}, +"CompleteIPRotationRequest": { +"description": "CompleteIPRotationRequest moves the cluster master back into single-IP mode.", +"id": "CompleteIPRotationRequest", +"properties": { +"clusterId": { +"deprecated": true, +"description": "Deprecated. The name of the cluster. This field has been deprecated and replaced by the name field.", +"type": "string" +}, +"name": { +"description": "The name (project, location, cluster name) of the cluster to complete IP rotation. Specified in the format `projects/*/locations/*/clusters/*`.", +"type": "string" +}, +"projectId": { +"deprecated": true, +"description": "Deprecated. The Google Developers Console [project ID or project number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). This field has been deprecated and replaced by the name field.", +"type": "string" +}, +"zone": { +"deprecated": true, +"description": "Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster resides. This field has been deprecated and replaced by the name field.", +"type": "string" +} +}, +"type": "object" +}, +"CompleteNodePoolUpgradeRequest": { +"description": "CompleteNodePoolUpgradeRequest sets the name of target node pool to complete upgrade.", +"id": "CompleteNodePoolUpgradeRequest", +"properties": {}, +"type": "object" +}, +"CompliancePostureConfig": { +"deprecated": true, +"description": "Deprecated: Compliance Posture is no longer supported. For more details, see https://cloud.google.com/kubernetes-engine/docs/deprecations/posture-management-deprecation. CompliancePostureConfig defines the settings needed to enable/disable features for the Compliance Posture.", +"id": "CompliancePostureConfig", +"properties": { +"complianceStandards": { +"description": "List of enabled compliance standards.", +"items": { +"$ref": "ComplianceStandard" +}, +"type": "array" +}, +"mode": { +"description": "Defines the enablement mode for Compliance Posture.", +"enum": [ +"MODE_UNSPECIFIED", +"DISABLED", +"ENABLED" +], +"enumDescriptions": [ +"Default value not specified.", +"Disables Compliance Posture features on the cluster.", +"Enables Compliance Posture features on the cluster." +], +"type": "string" +} +}, +"type": "object" +}, +"ComplianceStandard": { +"description": "Defines the details of a compliance standard.", +"id": "ComplianceStandard", +"properties": { +"standard": { +"description": "Name of the compliance standard.", +"type": "string" +} +}, +"type": "object" +}, +"ConfidentialNodes": { +"description": "ConfidentialNodes is configuration for the confidential nodes feature, which makes nodes run on confidential VMs.", +"id": "ConfidentialNodes", +"properties": { +"confidentialInstanceType": { +"description": "Defines the type of technology used by the confidential node.", +"enum": [ +"CONFIDENTIAL_INSTANCE_TYPE_UNSPECIFIED", +"SEV", +"SEV_SNP", +"TDX" +], +"enumDescriptions": [ +"No type specified. Do not use this value.", +"AMD Secure Encrypted Virtualization.", +"AMD Secure Encrypted Virtualization - Secure Nested Paging.", +"Intel Trust Domain eXtension." +], +"type": "string" +}, +"enabled": { +"description": "Whether Confidential Nodes feature is enabled.", +"type": "boolean" +} +}, +"type": "object" +}, +"ConfigConnectorConfig": { +"description": "Configuration options for the Config Connector add-on.", +"id": "ConfigConnectorConfig", +"properties": { +"enabled": { +"description": "Whether Cloud Connector is enabled for this cluster.", +"type": "boolean" +} +}, +"type": "object" +}, +"ConsumptionMeteringConfig": { +"description": "Parameters for controlling consumption metering.", +"id": "ConsumptionMeteringConfig", +"properties": { +"enabled": { +"description": "Whether to enable consumption metering for this cluster. If enabled, a second BigQuery table will be created to hold resource consumption records.", +"type": "boolean" +} +}, +"type": "object" +}, +"ContainerdConfig": { +"description": "ContainerdConfig contains configuration to customize containerd.", +"id": "ContainerdConfig", +"properties": { +"privateRegistryAccessConfig": { +"$ref": "PrivateRegistryAccessConfig", +"description": "PrivateRegistryAccessConfig is used to configure access configuration for private container registries." +}, +"registryHosts": { +"description": "RegistryHostConfig configures containerd registry host configuration. Each registry_hosts represents a hosts.toml file. At most 25 registry_hosts are allowed.", +"items": { +"$ref": "RegistryHostConfig" +}, +"type": "array" +}, +"writableCgroups": { +"$ref": "WritableCgroups", +"description": "Optional. WritableCgroups defines writable cgroups configuration for the node pool." +} +}, +"type": "object" +}, +"ControlPlaneEndpointsConfig": { +"description": "Configuration for all of the cluster's control plane endpoints.", +"id": "ControlPlaneEndpointsConfig", +"properties": { +"dnsEndpointConfig": { +"$ref": "DNSEndpointConfig", +"description": "DNS endpoint configuration." +}, +"ipEndpointsConfig": { +"$ref": "IPEndpointsConfig", +"description": "IP endpoints configuration." +} +}, +"type": "object" +}, +"CostManagementConfig": { +"description": "Configuration for fine-grained cost management feature.", +"id": "CostManagementConfig", +"properties": { +"enabled": { +"description": "Whether the feature is enabled or not.", +"type": "boolean" +} +}, +"type": "object" +}, +"CrashLoopBackOffConfig": { +"description": "Contains config to modify node-level parameters for container restart behavior.", +"id": "CrashLoopBackOffConfig", +"properties": { +"maxContainerRestartPeriod": { +"description": "Optional. The maximum duration the backoff delay can accrue to for container restarts, minimum 1 second, maximum 300 seconds. If not set, defaults to the internal crashloopbackoff maximum. The string must be a sequence of decimal numbers, each with optional fraction and a unit suffix, such as \"300ms\". Valid time units are \"ns\", \"us\" (or \"\u00b5s\"), \"ms\", \"s\", \"m\", \"h\". See https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/#configurable-container-restart-delay for more details.", +"type": "string" +} +}, +"type": "object" +}, +"CreateClusterRequest": { +"description": "CreateClusterRequest creates a cluster.", +"id": "CreateClusterRequest", +"properties": { +"cluster": { +"$ref": "Cluster", +"description": "Required. A [cluster resource](https://cloud.google.com/container-engine/reference/rest/v1beta1/projects.locations.clusters)" +}, +"parent": { +"description": "The parent (project and location) where the cluster will be created. Specified in the format `projects/*/locations/*`.", +"type": "string" +}, +"projectId": { +"deprecated": true, +"description": "Deprecated. The Google Developers Console [project ID or project number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). This field has been deprecated and replaced by the parent field.", +"type": "string" +}, +"zone": { +"deprecated": true, +"description": "Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster resides. This field has been deprecated and replaced by the parent field.", +"type": "string" +} +}, +"type": "object" +}, +"CreateNodePoolRequest": { +"description": "CreateNodePoolRequest creates a node pool for a cluster.", +"id": "CreateNodePoolRequest", +"properties": { +"clusterId": { +"deprecated": true, +"description": "Deprecated. The name of the cluster. This field has been deprecated and replaced by the parent field.", +"type": "string" +}, +"nodePool": { +"$ref": "NodePool", +"description": "Required. The node pool to create." +}, +"parent": { +"description": "The parent (project, location, cluster name) where the node pool will be created. Specified in the format `projects/*/locations/*/clusters/*`.", +"type": "string" +}, +"projectId": { +"deprecated": true, +"description": "Deprecated. The Google Developers Console [project ID or project number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). This field has been deprecated and replaced by the parent field.", +"type": "string" +}, +"zone": { +"deprecated": true, +"description": "Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster resides. This field has been deprecated and replaced by the parent field.", +"type": "string" +} +}, +"type": "object" +}, +"DNSConfig": { +"description": "DNSConfig contains the desired set of options for configuring clusterDNS.", +"id": "DNSConfig", +"properties": { +"additiveVpcScopeDnsDomain": { +"description": "Optional. The domain used in Additive VPC scope.", +"type": "string" +}, +"clusterDns": { +"description": "cluster_dns indicates which in-cluster DNS provider should be used.", +"enum": [ +"PROVIDER_UNSPECIFIED", +"PLATFORM_DEFAULT", +"CLOUD_DNS", +"KUBE_DNS" +], +"enumDescriptions": [ +"Default value", +"Use GKE default DNS provider(kube-dns) for DNS resolution.", +"Use CloudDNS for DNS resolution.", +"Use KubeDNS for DNS resolution." +], +"type": "string" +}, +"clusterDnsDomain": { +"description": "cluster_dns_domain is the suffix used for all cluster service records.", +"type": "string" +}, +"clusterDnsScope": { +"description": "cluster_dns_scope indicates the scope of access to cluster DNS records.", +"enum": [ +"DNS_SCOPE_UNSPECIFIED", +"CLUSTER_SCOPE", +"VPC_SCOPE" +], +"enumDescriptions": [ +"Default value, will be inferred as cluster scope.", +"DNS records are accessible from within the cluster.", +"DNS records are accessible from within the VPC." +], +"type": "string" +} +}, +"type": "object" +}, +"DNSEndpointConfig": { +"description": "Describes the configuration of a DNS endpoint.", +"id": "DNSEndpointConfig", +"properties": { +"allowExternalTraffic": { +"description": "Controls whether user traffic is allowed over this endpoint. Note that Google-managed services may still use the endpoint even if this is false.", +"type": "boolean" +}, +"enableK8sCertsViaDns": { +"description": "Controls whether the k8s certs auth is allowed via DNS.", +"type": "boolean" +}, +"enableK8sTokensViaDns": { +"description": "Controls whether the k8s token auth is allowed via DNS.", +"type": "boolean" +}, +"endpoint": { +"description": "Output only. The cluster's DNS endpoint configuration. A DNS format address. This is accessible from the public internet. Ex: uid.us-central1.gke.goog. Always present, but the behavior may change according to the value of DNSEndpointConfig.allow_external_traffic.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"DailyMaintenanceWindow": { +"description": "Time window specified for daily maintenance operations.", +"id": "DailyMaintenanceWindow", +"properties": { +"duration": { +"description": "Output only. Duration of the time window, automatically chosen to be smallest possible in the given scenario.", +"readOnly": true, +"type": "string" +}, +"startTime": { +"description": "Time within the maintenance window to start the maintenance operations. It must be in format \"HH:MM\", where HH : [00-23] and MM : [00-59] GMT.", +"type": "string" +} +}, +"type": "object" +}, +"DatabaseEncryption": { +"description": "Configuration of etcd encryption.", +"id": "DatabaseEncryption", +"properties": { +"currentState": { +"description": "Output only. The current state of etcd encryption.", +"enum": [ +"CURRENT_STATE_UNSPECIFIED", +"CURRENT_STATE_ENCRYPTED", +"CURRENT_STATE_DECRYPTED", +"CURRENT_STATE_ENCRYPTION_PENDING", +"CURRENT_STATE_ENCRYPTION_ERROR", +"CURRENT_STATE_DECRYPTION_PENDING", +"CURRENT_STATE_DECRYPTION_ERROR" +], +"enumDescriptions": [ +"Should never be set", +"Secrets in etcd are encrypted.", +"Secrets in etcd are stored in plain text (at etcd level) - this is unrelated to Compute Engine level full disk encryption.", +"Encryption (or re-encryption with a different CloudKMS key) of Secrets is in progress.", +"Encryption (or re-encryption with a different CloudKMS key) of Secrets in etcd encountered an error.", +"De-crypting Secrets to plain text in etcd is in progress.", +"De-crypting Secrets to plain text in etcd encountered an error." +], +"readOnly": true, +"type": "string" +}, +"decryptionKeys": { +"description": "Output only. Keys in use by the cluster for decrypting existing objects, in addition to the key in `key_name`. Each item is a CloudKMS key resource.", +"items": { +"type": "string" +}, +"readOnly": true, +"type": "array" +}, +"keyName": { +"description": "Name of CloudKMS key to use for the encryption of secrets in etcd. Ex. projects/my-project/locations/global/keyRings/my-ring/cryptoKeys/my-key", +"type": "string" +}, +"lastOperationErrors": { +"description": "Output only. Records errors seen during DatabaseEncryption update operations.", +"items": { +"$ref": "OperationError" +}, +"readOnly": true, +"type": "array" +}, +"state": { +"description": "The desired state of etcd encryption.", +"enum": [ +"UNKNOWN", +"ENCRYPTED", +"DECRYPTED" +], +"enumDescriptions": [ +"Should never be set", +"Secrets in etcd are encrypted.", +"Secrets in etcd are stored in plain text (at etcd level) - this is unrelated to Compute Engine level full disk encryption." +], +"type": "string" +} +}, +"type": "object" +}, +"Date": { +"description": "Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following: * A full date, with non-zero year, month, and day values. * A month and day, with a zero year (for example, an anniversary). * A year on its own, with a zero month and a zero day. * A year and month, with a zero day (for example, a credit card expiration date). Related types: * google.type.TimeOfDay * google.type.DateTime * google.protobuf.Timestamp", +"id": "Date", +"properties": { +"day": { +"description": "Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn't significant.", +"format": "int32", +"type": "integer" +}, +"month": { +"description": "Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.", +"format": "int32", +"type": "integer" +}, +"year": { +"description": "Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"DedicatedLocalSsdProfile": { +"description": "Provisions a new, separate local NVMe SSD exclusively for swap.", +"id": "DedicatedLocalSsdProfile", +"properties": { +"diskCount": { +"description": "The number of physical local NVMe SSD disks to attach.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"DefaultComputeClassConfig": { +"description": "DefaultComputeClassConfig defines default compute class configuration.", +"id": "DefaultComputeClassConfig", +"properties": { +"enabled": { +"description": "Enables default compute class.", +"type": "boolean" +} +}, +"type": "object" +}, +"DefaultSnatStatus": { +"description": "DefaultSnatStatus contains the desired state of whether default sNAT should be disabled on the cluster.", +"id": "DefaultSnatStatus", +"properties": { +"disabled": { +"description": "Disables cluster default sNAT rules.", +"type": "boolean" +} +}, +"type": "object" +}, +"DesiredAdditionalIPRangesConfig": { +"description": "DesiredAdditionalIPRangesConfig is a wrapper used for cluster update operation and contains multiple AdditionalIPRangesConfigs.", +"id": "DesiredAdditionalIPRangesConfig", +"properties": { +"additionalIpRangesConfigs": { +"description": "List of additional IP ranges configs where each AdditionalIPRangesConfig corresponds to one subnetwork's IP ranges", +"items": { +"$ref": "AdditionalIPRangesConfig" +}, +"type": "array" +} +}, +"type": "object" +}, +"DesiredEnterpriseConfig": { +"deprecated": true, +"description": "DesiredEnterpriseConfig is a wrapper used for updating enterprise_config. Deprecated: GKE Enterprise features are now available without an Enterprise tier.", +"id": "DesiredEnterpriseConfig", +"properties": { +"desiredTier": { +"description": "desired_tier specifies the desired tier of the cluster.", +"enum": [ +"CLUSTER_TIER_UNSPECIFIED", +"STANDARD", +"ENTERPRISE" +], +"enumDescriptions": [ +"CLUSTER_TIER_UNSPECIFIED is when cluster_tier is not set.", +"STANDARD indicates a standard GKE cluster.", +"ENTERPRISE indicates a GKE Enterprise cluster." +], +"type": "string" +} +}, +"type": "object" +}, +"DisruptionBudget": { +"description": "DisruptionBudget defines the upgrade disruption budget for the cluster control plane.", +"id": "DisruptionBudget", +"properties": { +"lastDisruptionTime": { +"description": "Output only. The last time a disruption was performed on the control plane.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"lastMinorVersionDisruptionTime": { +"description": "Output only. The last time a minor version upgrade was performed on the control plane.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"minorVersionDisruptionInterval": { +"description": "Optional. The minimum duration between two minor version upgrades of the control plane.", +"format": "google-duration", +"type": "string" +}, +"patchVersionDisruptionInterval": { +"description": "Optional. The minimum duration between two patch version upgrades of the control plane.", +"format": "google-duration", +"type": "string" +} +}, +"type": "object" +}, +"DisruptionEvent": { +"description": "DisruptionEvent is a notification sent to customers about the disruption event of a resource.", +"id": "DisruptionEvent", +"properties": { +"disruptionType": { +"description": "The type of the disruption event.", +"enum": [ +"DISRUPTION_TYPE_UNSPECIFIED", +"POD_NOT_ENOUGH_PDB", +"POD_PDB_VIOLATION" +], +"enumDescriptions": [ +"DISRUPTION_TYPE_UNSPECIFIED indicates the disruption type is unspecified.", +"POD_NOT_ENOUGH_PDB indicates there are still running pods on the node during node drain because their evictions are blocked by PDB.", +"POD_PDB_VIOLATION indicates that there are force pod evictions during node drain which violate the PDB." +], +"type": "string" +}, +"pdbBlockedNode": { +"description": "The node whose drain is blocked by PDB. This field is set for both POD_PDB_VIOLATION and POD_NOT_ENOUGH_PDB event.", +"type": "string" +}, +"pdbBlockedPod": { +"description": "The pods whose evictions are blocked by PDB. This field is set for both POD_PDB_VIOLATION and POD_NOT_ENOUGH_PDB event.", +"items": { +"$ref": "PdbBlockedPod" +}, +"type": "array" +}, +"pdbViolationTimeout": { +"description": "The timeout in seconds for which the node drain is blocked by PDB. After this timeout, pods are forcefully evicted. This field is only populated when event_type is POD_PDB_VIOLATION.", +"format": "google-duration", +"type": "string" +} +}, +"type": "object" +}, +"DnsCacheConfig": { +"description": "Configuration for NodeLocal DNSCache", +"id": "DnsCacheConfig", +"properties": { +"enabled": { +"description": "Whether NodeLocal DNSCache is enabled for this cluster.", +"type": "boolean" +} +}, +"type": "object" +}, +"Empty": { +"description": "A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }", +"id": "Empty", +"properties": {}, +"type": "object" +}, +"EncryptionConfig": { +"description": "Defines encryption settings for the swap space.", +"id": "EncryptionConfig", +"properties": { +"disabled": { +"description": "Optional. If true, swap space will not be encrypted. Defaults to false (encrypted).", +"type": "boolean" +} +}, +"type": "object" +}, +"EnterpriseConfig": { +"deprecated": true, +"description": "EnterpriseConfig is the cluster enterprise configuration. Deprecated: GKE Enterprise features are now available without an Enterprise tier.", +"id": "EnterpriseConfig", +"properties": { +"clusterTier": { +"description": "Output only. cluster_tier indicates the effective tier of the cluster.", +"enum": [ +"CLUSTER_TIER_UNSPECIFIED", +"STANDARD", +"ENTERPRISE" +], +"enumDescriptions": [ +"CLUSTER_TIER_UNSPECIFIED is when cluster_tier is not set.", +"STANDARD indicates a standard GKE cluster.", +"ENTERPRISE indicates a GKE Enterprise cluster." +], +"readOnly": true, +"type": "string" +}, +"desiredTier": { +"description": "desired_tier specifies the desired tier of the cluster.", +"enum": [ +"CLUSTER_TIER_UNSPECIFIED", +"STANDARD", +"ENTERPRISE" +], +"enumDescriptions": [ +"CLUSTER_TIER_UNSPECIFIED is when cluster_tier is not set.", +"STANDARD indicates a standard GKE cluster.", +"ENTERPRISE indicates a GKE Enterprise cluster." +], +"type": "string" +} +}, +"type": "object" +}, +"EphemeralLocalSsdProfile": { +"description": "Swap on the local SSD shared with pod ephemeral storage.", +"id": "EphemeralLocalSsdProfile", +"properties": { +"swapSizeGib": { +"description": "Specifies the size of the swap space in gibibytes (GiB).", +"format": "int64", +"type": "string" +}, +"swapSizePercent": { +"description": "Specifies the size of the swap space as a percentage of the ephemeral local SSD capacity.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"EphemeralStorageConfig": { +"description": "EphemeralStorageConfig contains configuration for the ephemeral storage filesystem.", +"id": "EphemeralStorageConfig", +"properties": { +"localSsdCount": { +"description": "Number of local SSDs to use to back ephemeral storage. Uses NVMe interfaces. The limit for this value is dependent upon the maximum number of disk available on a machine per zone. See: https://cloud.google.com/compute/docs/disks/local-ssd for more information. A zero (or unset) value has different meanings depending on machine type being used: 1. For pre-Gen3 machines, which support flexible numbers of local ssds, zero (or unset) means to disable using local SSDs as ephemeral storage. 2. For Gen3 machines which dictate a specific number of local ssds, zero (or unset) means to use the default number of local ssds that goes with that machine type. For example, for a c3-standard-8-lssd machine, 2 local ssds would be provisioned. For c3-standard-8 (which doesn't support local ssds), 0 will be provisioned. See https://cloud.google.com/compute/docs/disks/local-ssd#choose_number_local_ssds for more info.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"EphemeralStorageLocalSsdConfig": { +"description": "EphemeralStorageLocalSsdConfig contains configuration for the node ephemeral storage using Local SSDs.", +"id": "EphemeralStorageLocalSsdConfig", +"properties": { +"dataCacheCount": { +"description": "Number of local SSDs to use for GKE Data Cache.", +"format": "int32", +"type": "integer" +}, +"localSsdCount": { +"description": "Number of local SSDs to use to back ephemeral storage. Uses NVMe interfaces. A zero (or unset) value has different meanings depending on machine type being used: 1. For pre-Gen3 machines, which support flexible numbers of local ssds, zero (or unset) means to disable using local SSDs as ephemeral storage. The limit for this value is dependent upon the maximum number of disk available on a machine per zone. See: https://cloud.google.com/compute/docs/disks/local-ssd for more information. 2. For Gen3 machines which dictate a specific number of local ssds, zero (or unset) means to use the default number of local ssds that goes with that machine type. For example, for a c3-standard-8-lssd machine, 2 local ssds would be provisioned. For c3-standard-8 (which doesn't support local ssds), 0 will be provisioned. See https://cloud.google.com/compute/docs/disks/local-ssd#choose_number_local_ssds for more info.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"EvictionGracePeriod": { +"description": "Eviction grace periods are grace periods for each eviction signal.", +"id": "EvictionGracePeriod", +"properties": { +"imagefsAvailable": { +"description": "Optional. Grace period for eviction due to imagefs available signal. Sample format: \"10s\". Must be >= 0. See https://kubernetes.io/docs/concepts/scheduling-eviction/node-pressure-eviction/#eviction-signals", +"type": "string" +}, +"imagefsInodesFree": { +"description": "Optional. Grace period for eviction due to imagefs inodes free signal. Sample format: \"10s\". Must be >= 0. See https://kubernetes.io/docs/concepts/scheduling-eviction/node-pressure-eviction/#eviction-signals", +"type": "string" +}, +"memoryAvailable": { +"description": "Optional. Grace period for eviction due to memory available signal. Sample format: \"10s\". Must be >= 0. See https://kubernetes.io/docs/concepts/scheduling-eviction/node-pressure-eviction/#eviction-signals", +"type": "string" +}, +"nodefsAvailable": { +"description": "Optional. Grace period for eviction due to nodefs available signal. Sample format: \"10s\". Must be >= 0. See https://kubernetes.io/docs/concepts/scheduling-eviction/node-pressure-eviction/#eviction-signals", +"type": "string" +}, +"nodefsInodesFree": { +"description": "Optional. Grace period for eviction due to nodefs inodes free signal. Sample format: \"10s\". Must be >= 0. See https://kubernetes.io/docs/concepts/scheduling-eviction/node-pressure-eviction/#eviction-signals", +"type": "string" +}, +"pidAvailable": { +"description": "Optional. Grace period for eviction due to pid available signal. Sample format: \"10s\". Must be >= 0. See https://kubernetes.io/docs/concepts/scheduling-eviction/node-pressure-eviction/#eviction-signals", +"type": "string" +} +}, +"type": "object" +}, +"EvictionMinimumReclaim": { +"description": "Eviction minimum reclaims are the resource amounts of minimum reclaims for each eviction signal.", +"id": "EvictionMinimumReclaim", +"properties": { +"imagefsAvailable": { +"description": "Optional. Minimum reclaim for eviction due to imagefs available signal. Only take percentage value for now. Sample format: \"10%\". Must be <=10%. See https://kubernetes.io/docs/concepts/scheduling-eviction/node-pressure-eviction/#eviction-signals", +"type": "string" +}, +"imagefsInodesFree": { +"description": "Optional. Minimum reclaim for eviction due to imagefs inodes free signal. Only take percentage value for now. Sample format: \"10%\". Must be <=10%. See https://kubernetes.io/docs/concepts/scheduling-eviction/node-pressure-eviction/#eviction-signals", +"type": "string" +}, +"memoryAvailable": { +"description": "Optional. Minimum reclaim for eviction due to memory available signal. Only take percentage value for now. Sample format: \"10%\". Must be <=10%. See https://kubernetes.io/docs/concepts/scheduling-eviction/node-pressure-eviction/#eviction-signals", +"type": "string" +}, +"nodefsAvailable": { +"description": "Optional. Minimum reclaim for eviction due to nodefs available signal. Only take percentage value for now. Sample format: \"10%\". Must be <=10%. See https://kubernetes.io/docs/concepts/scheduling-eviction/node-pressure-eviction/#eviction-signals", +"type": "string" +}, +"nodefsInodesFree": { +"description": "Optional. Minimum reclaim for eviction due to nodefs inodes free signal. Only take percentage value for now. Sample format: \"10%\". Must be <=10%. See https://kubernetes.io/docs/concepts/scheduling-eviction/node-pressure-eviction/#eviction-signals", +"type": "string" +}, +"pidAvailable": { +"description": "Optional. Minimum reclaim for eviction due to pid available signal. Only take percentage value for now. Sample format: \"10%\". Must be <=10%. See https://kubernetes.io/docs/concepts/scheduling-eviction/node-pressure-eviction/#eviction-signals", +"type": "string" +} +}, +"type": "object" +}, +"EvictionSignals": { +"description": "Eviction signals are the current state of a particular resource at a specific point in time. The kubelet uses eviction signals to make eviction decisions by comparing the signals to eviction thresholds, which are the minimum amount of the resource that should be available on the node.", +"id": "EvictionSignals", +"properties": { +"imagefsAvailable": { +"description": "Optional. Amount of storage available on filesystem that container runtime uses for storing images layers. If the container filesystem and image filesystem are not separate, then imagefs can store both image layers and writeable layers. Defines the amount of \"imagefs.available\" signal in kubelet. Default is unset, if not specified in the kubelet config. Sample format: \"30%\". Must be >= 15%. See https://kubernetes.io/docs/concepts/scheduling-eviction/node-pressure-eviction/#eviction-signals", +"type": "string" +}, +"imagefsInodesFree": { +"description": "Optional. Amount of inodes available on filesystem that container runtime uses for storing images layers. Defines the amount of \"imagefs.inodesFree\" signal in kubelet. Default is unset, if not specified in the kubelet config. Linux only. Sample format: \"30%\". Must be >= 5%. See https://kubernetes.io/docs/concepts/scheduling-eviction/node-pressure-eviction/#eviction-signals", +"type": "string" +}, +"memoryAvailable": { +"description": "Optional. Memory available (i.e. capacity - workingSet), in bytes. Defines the amount of \"memory.available\" signal in kubelet. Default is unset, if not specified in the kubelet config. Format: positive number + unit, e.g. 100Ki, 10Mi, 5Gi. Valid units are Ki, Mi, Gi. Must be >= 100Mi and <= 50% of the node's memory. See https://kubernetes.io/docs/concepts/scheduling-eviction/node-pressure-eviction/#eviction-signals", +"type": "string" +}, +"nodefsAvailable": { +"description": "Optional. Amount of storage available on filesystem that kubelet uses for volumes, daemon logs, etc. Defines the amount of \"nodefs.available\" signal in kubelet. Default is unset, if not specified in the kubelet config. Sample format: \"30%\". Must be >= 10%. See https://kubernetes.io/docs/concepts/scheduling-eviction/node-pressure-eviction/#eviction-signals", +"type": "string" +}, +"nodefsInodesFree": { +"description": "Optional. Amount of inodes available on filesystem that kubelet uses for volumes, daemon logs, etc. Defines the amount of \"nodefs.inodesFree\" signal in kubelet. Default is unset, if not specified in the kubelet config. Linux only. It takses percentage value for now. Sample format: \"30%\". Must be >= 5% and <= 50%. See https://kubernetes.io/docs/concepts/scheduling-eviction/node-pressure-eviction/#eviction-signals", +"type": "string" +}, +"pidAvailable": { +"description": "Optional. Amount of PID available for pod allocation. Defines the amount of \"pid.available\" signal in kubelet. Default is unset, if not specified in the kubelet config. Sample format: \"30%\". Must be >= 10%. See https://kubernetes.io/docs/concepts/scheduling-eviction/node-pressure-eviction/#eviction-signals", +"type": "string" +} +}, +"type": "object" +}, +"FastSocket": { +"description": "Configuration of Fast Socket feature.", +"id": "FastSocket", +"properties": { +"enabled": { +"description": "Whether Fast Socket features are enabled in the node pool.", +"type": "boolean" +} +}, +"type": "object" +}, +"Filter": { +"description": "Allows filtering to one or more specific event types. If event types are present, those and only those event types will be transmitted to the cluster. Other types will be skipped. If no filter is specified, or no event types are present, all event types will be sent", +"id": "Filter", +"properties": { +"eventType": { +"description": "Event types to allowlist.", +"items": { +"enum": [ +"EVENT_TYPE_UNSPECIFIED", +"UPGRADE_AVAILABLE_EVENT", +"UPGRADE_EVENT", +"SECURITY_BULLETIN_EVENT", +"UPGRADE_INFO_EVENT" +], +"enumDescriptions": [ +"Not set, will be ignored.", +"Corresponds with UpgradeAvailableEvent.", +"Corresponds with UpgradeEvent.", +"Corresponds with SecurityBulletinEvent.", +"Corresponds with UpgradeInfoEvent." +], +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"Fleet": { +"description": "Fleet is the fleet configuration for the cluster.", +"id": "Fleet", +"properties": { +"membership": { +"description": "Output only. The full resource name of the registered fleet membership of the cluster, in the format `//gkehub.googleapis.com/projects/*/locations/*/memberships/*`.", +"readOnly": true, +"type": "string" +}, +"membershipType": { +"description": "The type of the cluster's fleet membership.", +"enum": [ +"MEMBERSHIP_TYPE_UNSPECIFIED", +"LIGHTWEIGHT" +], +"enumDescriptions": [ +"The MembershipType is not set.", +"The membership supports only lightweight compatible features." +], +"type": "string" +}, +"preRegistered": { +"description": "Output only. Whether the cluster has been registered through the fleet API.", +"readOnly": true, +"type": "boolean" +}, +"project": { +"description": "The Fleet host project(project ID or project number) where this cluster will be registered to. This field cannot be changed after the cluster has been registered.", +"type": "string" +} +}, +"type": "object" +}, +"GCPSecretManagerCertificateConfig": { +"description": "GCPSecretManagerCertificateConfig configures a secret from [Secret Manager](https://cloud.google.com/secret-manager).", +"id": "GCPSecretManagerCertificateConfig", +"properties": { +"secretUri": { +"description": "Secret URI, in the form \"projects/$PROJECT_ID/secrets/$SECRET_NAME/versions/$VERSION\". Version can be fixed (e.g. \"2\") or \"latest\"", +"type": "string" +} +}, +"type": "object" +}, +"GPUDirectConfig": { +"description": "GPUDirectConfig specifies the GPU direct strategy on the node pool.", +"id": "GPUDirectConfig", +"properties": { +"gpuDirectStrategy": { +"description": "The type of GPU direct strategy to enable on the node pool.", +"enum": [ +"GPU_DIRECT_STRATEGY_UNSPECIFIED", +"RDMA" +], +"enumDescriptions": [ +"Default value. No GPU Direct strategy is enabled on the node.", +"GPUDirect-RDMA on A3 Ultra, and A4 machine types" +], +"type": "string" +} +}, +"type": "object" +}, +"GPUDriverInstallationConfig": { +"description": "GPUDriverInstallationConfig specifies the version of GPU driver to be auto installed.", +"id": "GPUDriverInstallationConfig", +"properties": { +"gpuDriverVersion": { +"description": "Mode for how the GPU driver is installed.", +"enum": [ +"GPU_DRIVER_VERSION_UNSPECIFIED", +"INSTALLATION_DISABLED", +"DEFAULT", +"LATEST" +], +"enumDescriptions": [ +"Default value is to not install any GPU driver.", +"Disable GPU driver auto installation and needs manual installation", +"\"Default\" GPU driver in COS and Ubuntu.", +"\"Latest\" GPU driver in COS." +], +"type": "string" +} +}, +"type": "object" +}, +"GPUSharingConfig": { +"description": "GPUSharingConfig represents the GPU sharing configuration for Hardware Accelerators.", +"id": "GPUSharingConfig", +"properties": { +"gpuSharingStrategy": { +"description": "The type of GPU sharing strategy to enable on the GPU node.", +"enum": [ +"GPU_SHARING_STRATEGY_UNSPECIFIED", +"TIME_SHARING", +"MPS" +], +"enumDescriptions": [ +"Default value.", +"GPUs are time-shared between containers.", +"GPUs are shared between containers with NVIDIA MPS." +], +"type": "string" +}, +"maxSharedClientsPerGpu": { +"description": "The max number of containers that can share a physical GPU.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"GatewayAPIConfig": { +"description": "GatewayAPIConfig contains the desired config of Gateway API on this cluster.", +"id": "GatewayAPIConfig", +"properties": { +"channel": { +"description": "The Gateway API release channel to use for Gateway API.", +"enum": [ +"CHANNEL_UNSPECIFIED", +"CHANNEL_DISABLED", +"CHANNEL_EXPERIMENTAL", +"CHANNEL_STANDARD" +], +"enumDeprecated": [ +false, +false, +true, +false +], +"enumDescriptions": [ +"Default value.", +"Gateway API support is disabled", +"Deprecated: use CHANNEL_STANDARD instead. Gateway API support is enabled, experimental CRDs are installed", +"Gateway API support is enabled, standard CRDs are installed" +], +"type": "string" +} +}, +"type": "object" +}, +"GcePersistentDiskCsiDriverConfig": { +"description": "Configuration for the Compute Engine PD CSI driver.", +"id": "GcePersistentDiskCsiDriverConfig", +"properties": { +"enabled": { +"description": "Whether the Compute Engine PD CSI driver is enabled for this cluster.", +"type": "boolean" +} +}, +"type": "object" +}, +"GcfsConfig": { +"description": "GcfsConfig contains configurations of Google Container File System.", +"id": "GcfsConfig", +"properties": { +"enabled": { +"description": "Whether to use GCFS.", +"type": "boolean" +} +}, +"type": "object" +}, +"GcpFilestoreCsiDriverConfig": { +"description": "Configuration for the Filestore CSI driver.", +"id": "GcpFilestoreCsiDriverConfig", +"properties": { +"enabled": { +"description": "Whether the Filestore CSI driver is enabled for this cluster.", +"type": "boolean" +} +}, +"type": "object" +}, +"GcsFuseCsiDriverConfig": { +"description": "Configuration for the Cloud Storage Fuse CSI driver.", +"id": "GcsFuseCsiDriverConfig", +"properties": { +"enabled": { +"description": "Whether the Cloud Storage Fuse CSI driver is enabled for this cluster.", +"type": "boolean" +} +}, +"type": "object" +}, +"GetJSONWebKeysResponse": { +"description": "GetJSONWebKeysResponse is a valid JSON Web Key Set as specified in rfc 7517", +"id": "GetJSONWebKeysResponse", +"properties": { +"cacheHeader": { +"$ref": "HttpCacheControlResponseHeader", +"description": "For HTTP requests, this field is automatically extracted into the Cache-Control HTTP header." +}, +"keys": { +"description": "The public component of the keys used by the cluster to sign token requests.", +"items": { +"$ref": "Jwk" +}, +"type": "array" +} +}, +"type": "object" +}, +"GetOpenIDConfigResponse": { +"description": "GetOpenIDConfigResponse is an OIDC discovery document for the cluster. See the OpenID Connect Discovery 1.0 specification for details.", +"id": "GetOpenIDConfigResponse", +"properties": { +"cacheHeader": { +"$ref": "HttpCacheControlResponseHeader", +"description": "For HTTP requests, this field is automatically extracted into the Cache-Control HTTP header." +}, +"claims_supported": { +"description": "Supported claims.", +"items": { +"type": "string" +}, +"type": "array" +}, +"grant_types": { +"description": "Supported grant types.", +"items": { +"type": "string" +}, +"type": "array" +}, +"id_token_signing_alg_values_supported": { +"description": "supported ID Token signing Algorithms.", +"items": { +"type": "string" +}, +"type": "array" +}, +"issuer": { +"description": "OIDC Issuer.", +"type": "string" +}, +"jwks_uri": { +"description": "JSON Web Key uri.", +"type": "string" +}, +"response_types_supported": { +"description": "Supported response types.", +"items": { +"type": "string" +}, +"type": "array" +}, +"subject_types_supported": { +"description": "Supported subject types.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GkeAutoUpgradeConfig": { +"description": "GkeAutoUpgradeConfig is the configuration for GKE auto upgrades.", +"id": "GkeAutoUpgradeConfig", +"properties": { +"patchMode": { +"description": "PatchMode specifies how auto upgrade patch builds should be selected.", +"enum": [ +"PATCH_MODE_UNSPECIFIED", +"ACCELERATED" +], +"enumDescriptions": [ +"PATCH_MODE_UNSPECIFIED defaults to using the upgrade target from the channel's patch upgrade targets as the upgrade target for the version.", +"ACCELERATED denotes that the latest patch build in the channel should be used as the upgrade target for the version." +], +"type": "string" +} +}, +"type": "object" +}, +"GkeBackupAgentConfig": { +"description": "Configuration for the Backup for GKE Agent.", +"id": "GkeBackupAgentConfig", +"properties": { +"enabled": { +"description": "Whether the Backup for GKE agent is enabled for this cluster.", +"type": "boolean" +} +}, +"type": "object" +}, +"HighScaleCheckpointingConfig": { +"description": "Configuration for the High Scale Checkpointing.", +"id": "HighScaleCheckpointingConfig", +"properties": { +"enabled": { +"description": "Whether the High Scale Checkpointing is enabled for this cluster.", +"type": "boolean" +} +}, +"type": "object" +}, +"HorizontalPodAutoscaling": { +"description": "Configuration options for the horizontal pod autoscaling feature, which increases or decreases the number of replica pods a replication controller has based on the resource usage of the existing pods.", +"id": "HorizontalPodAutoscaling", +"properties": { +"disabled": { +"description": "Whether the Horizontal Pod Autoscaling feature is enabled in the cluster. When enabled, it ensures that metrics are collected into Stackdriver Monitoring.", +"type": "boolean" +} +}, +"type": "object" +}, +"HostConfig": { +"description": "HostConfig configures the registry host under a given Server.", +"id": "HostConfig", +"properties": { +"ca": { +"description": "CA configures the registry host certificate.", +"items": { +"$ref": "CertificateConfig" +}, +"type": "array" +}, +"capabilities": { +"description": "Capabilities represent the capabilities of the registry host, specifying what operations a host is capable of performing. If not set, containerd enables all capabilities by default.", +"items": { +"enum": [ +"HOST_CAPABILITY_UNSPECIFIED", +"HOST_CAPABILITY_PULL", +"HOST_CAPABILITY_RESOLVE", +"HOST_CAPABILITY_PUSH" +], +"enumDescriptions": [ +"UNKNOWN should never be set.", +"Pull represents the capability to fetch manifests and blobs by digest.", +"Resolve represents the capability to fetch manifests by name.", +"Push represents the capability to push blobs and manifests." +], +"type": "string" +}, +"type": "array" +}, +"client": { +"description": "Client configures the registry host client certificate and key.", +"items": { +"$ref": "CertificateConfigPair" +}, +"type": "array" +}, +"dialTimeout": { +"description": "Specifies the maximum duration allowed for a connection attempt to complete. A shorter timeout helps reduce delays when falling back to the original registry if the mirror is unreachable. Maximum allowed value is 180s. If not set, containerd sets default 30s. The value should be a decimal number of seconds with an `s` suffix.", +"format": "google-duration", +"type": "string" +}, +"header": { +"description": "Header configures the registry host headers.", +"items": { +"$ref": "RegistryHeader" +}, +"type": "array" +}, +"host": { +"description": "Host configures the registry host/mirror. It supports fully qualified domain names (FQDN) and IP addresses: Specifying port is supported. Wildcards are NOT supported. Examples: - my.customdomain.com - 10.0.1.2:5000", +"type": "string" +}, +"overridePath": { +"description": "OverridePath is used to indicate the host's API root endpoint is defined in the URL path rather than by the API specification. This may be used with non-compliant OCI registries which are missing the /v2 prefix. If not set, containerd sets default false.", +"type": "boolean" +} +}, +"type": "object" +}, +"HostMaintenancePolicy": { +"description": "HostMaintenancePolicy contains the maintenance policy for the hosts on which the GKE VMs run on.", +"id": "HostMaintenancePolicy", +"properties": { +"maintenanceInterval": { +"description": "Specifies the frequency of planned maintenance events.", +"enum": [ +"MAINTENANCE_INTERVAL_UNSPECIFIED", +"AS_NEEDED", +"PERIODIC" +], +"enumDescriptions": [ +"The maintenance interval is not explicitly specified.", +"Nodes are eligible to receive infrastructure and hypervisor updates as they become available. This may result in more maintenance operations (live migrations or terminations) for the node than the PERIODIC option.", +"Nodes receive infrastructure and hypervisor updates on a periodic basis, minimizing the number of maintenance operations (live migrations or terminations) on an individual VM. This may mean underlying VMs will take longer to receive an update than if it was configured for AS_NEEDED. Security updates will still be applied as soon as they are available." +], +"type": "string" +}, +"opportunisticMaintenanceStrategy": { +"$ref": "OpportunisticMaintenanceStrategy", +"description": "Strategy that will trigger maintenance on behalf of the customer." +} +}, +"type": "object" +}, +"HttpCacheControlResponseHeader": { +"description": "RFC-2616: cache control support", +"id": "HttpCacheControlResponseHeader", +"properties": { +"age": { +"description": "14.6 response cache age, in seconds since the response is generated", +"format": "int64", +"type": "string" +}, +"directive": { +"description": "14.9 request and response directives", +"type": "string" +}, +"expires": { +"description": "14.21 response cache expires, in RFC 1123 date format", +"type": "string" +} +}, +"type": "object" +}, +"HttpLoadBalancing": { +"description": "Configuration options for the HTTP (L7) load balancing controller addon, which makes it easy to set up HTTP load balancers for services in a cluster.", +"id": "HttpLoadBalancing", +"properties": { +"disabled": { +"description": "Whether the HTTP Load Balancing controller is enabled in the cluster. When enabled, it runs a small pod in the cluster that manages the load balancers.", +"type": "boolean" +} +}, +"type": "object" +}, +"HugepagesConfig": { +"description": "Hugepages amount in both 2m and 1g size", +"id": "HugepagesConfig", +"properties": { +"hugepageSize1g": { +"description": "Optional. Amount of 1G hugepages", +"format": "int32", +"type": "integer" +}, +"hugepageSize2m": { +"description": "Optional. Amount of 2M hugepages", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"ILBSubsettingConfig": { +"description": "ILBSubsettingConfig contains the desired config of L4 Internal LoadBalancer subsetting on this cluster.", +"id": "ILBSubsettingConfig", +"properties": { +"enabled": { +"description": "Enables l4 ILB subsetting for this cluster", +"type": "boolean" +} +}, +"type": "object" +}, +"IPAllocationPolicy": { +"description": "Configuration for controlling how IPs are allocated in the cluster.", +"id": "IPAllocationPolicy", +"properties": { +"additionalIpRangesConfigs": { +"description": "Output only. The additional IP ranges that are added to the cluster. These IP ranges can be used by new node pools to allocate node and pod IPs automatically. Each AdditionalIPRangesConfig corresponds to a single subnetwork. Once a range is removed it will not show up in IPAllocationPolicy.", +"items": { +"$ref": "AdditionalIPRangesConfig" +}, +"readOnly": true, +"type": "array" +}, +"additionalPodRangesConfig": { +"$ref": "AdditionalPodRangesConfig", +"description": "Output only. The additional pod ranges that are added to the cluster. These pod ranges can be used by new node pools to allocate pod IPs automatically. Once the range is removed it will not show up in IPAllocationPolicy.", +"readOnly": true +}, +"allowRouteOverlap": { +"description": "If true, allow allocation of cluster CIDR ranges that overlap with certain kinds of network routes. By default we do not allow cluster CIDR ranges to intersect with any user declared routes. With allow_route_overlap == true, we allow overlapping with CIDR ranges that are larger than the cluster CIDR range. If this field is set to true, then cluster and services CIDRs must be fully-specified (e.g. `10.96.0.0/14`, but not `/14`), which means: 1) When `use_ip_aliases` is true, `cluster_ipv4_cidr_block` and `services_ipv4_cidr_block` must be fully-specified. 2) When `use_ip_aliases` is false, `cluster.cluster_ipv4_cidr` muse be fully-specified.", +"type": "boolean" +}, +"autoIpamConfig": { +"$ref": "AutoIpamConfig", +"description": "Optional. AutoIpamConfig contains all information related to Auto IPAM" +}, +"clusterIpv4Cidr": { +"deprecated": true, +"description": "This field is deprecated, use cluster_ipv4_cidr_block.", +"type": "string" +}, +"clusterIpv4CidrBlock": { +"description": "The IP address range for the cluster pod IPs. If this field is set, then `cluster.cluster_ipv4_cidr` must be left blank. This field is only applicable when `use_ip_aliases` is true. Set to blank to have a range chosen with the default size. Set to /netmask (e.g. `/14`) to have a range chosen with a specific netmask. Set to a [CIDR](https://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing) notation (e.g. `10.96.0.0/14`) from the RFC-1918 private networks (e.g. `10.0.0.0/8`, `172.16.0.0/12`, `192.168.0.0/16`) to pick a specific range to use.", +"type": "string" +}, +"clusterSecondaryRangeName": { +"description": "The name of the secondary range to be used for the cluster CIDR block. The secondary range will be used for pod IP addresses. This must be an existing secondary range associated with the cluster subnetwork. This field is only applicable with use_ip_aliases and create_subnetwork is false.", +"type": "string" +}, +"createSubnetwork": { +"description": "Whether a new subnetwork will be created automatically for the cluster. This field is only applicable when `use_ip_aliases` is true.", +"type": "boolean" +}, +"defaultPodIpv4RangeUtilization": { +"description": "Output only. The utilization of the cluster default IPv4 range for the pod. The ratio is Usage/[Total number of IPs in the secondary range], Usage=numNodes*numZones*podIPsPerNode.", +"format": "double", +"readOnly": true, +"type": "number" +}, +"ipv6AccessType": { +"description": "The ipv6 access type (internal or external) when create_subnetwork is true", +"enum": [ +"IPV6_ACCESS_TYPE_UNSPECIFIED", +"INTERNAL", +"EXTERNAL" +], +"enumDescriptions": [ +"Default value, will be defaulted as type external.", +"Access type internal (all v6 addresses are internal IPs)", +"Access type external (all v6 addresses are external IPs)" +], +"type": "string" +}, +"networkTierConfig": { +"$ref": "NetworkTierConfig", +"description": "Cluster-level network tier configuration is used to determine the default network tier for external IP addresses on cluster resources, such as node pools and load balancers." +}, +"nodeIpv4Cidr": { +"deprecated": true, +"description": "This field is deprecated, use node_ipv4_cidr_block.", +"type": "string" +}, +"nodeIpv4CidrBlock": { +"description": "The IP address range of the instance IPs in this cluster. This is applicable only if `create_subnetwork` is true. Set to blank to have a range chosen with the default size. Set to /netmask (e.g. `/14`) to have a range chosen with a specific netmask. Set to a [CIDR](https://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing) notation (e.g. `10.96.0.0/14`) from the RFC-1918 private networks (e.g. `10.0.0.0/8`, `172.16.0.0/12`, `192.168.0.0/16`) to pick a specific range to use.", +"type": "string" +}, +"podCidrOverprovisionConfig": { +"$ref": "PodCIDROverprovisionConfig", +"description": "[PRIVATE FIELD] Pod CIDR size overprovisioning config for the cluster. Pod CIDR size per node depends on max_pods_per_node. By default, the value of max_pods_per_node is doubled and then rounded off to next power of 2 to get the size of pod CIDR block per node. Example: max_pods_per_node of 30 would result in 64 IPs (/26). This config can disable the doubling of IPs (we still round off to next power of 2) Example: max_pods_per_node of 30 will result in 32 IPs (/27) when overprovisioning is disabled." +}, +"servicesIpv4Cidr": { +"deprecated": true, +"description": "This field is deprecated, use services_ipv4_cidr_block.", +"type": "string" +}, +"servicesIpv4CidrBlock": { +"description": "The IP address range of the services IPs in this cluster. If blank, a range will be automatically chosen with the default size. This field is only applicable when `use_ip_aliases` is true. Set to blank to have a range chosen with the default size. Set to /netmask (e.g. `/14`) to have a range chosen with a specific netmask. Set to a [CIDR](https://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing) notation (e.g. `10.96.0.0/14`) from the RFC-1918 private networks (e.g. `10.0.0.0/8`, `172.16.0.0/12`, `192.168.0.0/16`) to pick a specific range to use.", +"type": "string" +}, +"servicesIpv6CidrBlock": { +"description": "Output only. The services IPv6 CIDR block for the cluster.", +"readOnly": true, +"type": "string" +}, +"servicesSecondaryRangeName": { +"description": "The name of the secondary range to be used as for the services CIDR block. The secondary range will be used for service ClusterIPs. This must be an existing secondary range associated with the cluster subnetwork. This field is only applicable with use_ip_aliases and create_subnetwork is false.", +"type": "string" +}, +"stackType": { +"description": "IP stack type", +"enum": [ +"STACK_TYPE_UNSPECIFIED", +"IPV4", +"IPV4_IPV6" +], +"enumDescriptions": [ +"By default, the clusters will be IPV4 only", +"The value used if the cluster is a IPV4 only", +"The value used if the cluster is a dual stack cluster" +], +"type": "string" +}, +"subnetIpv6CidrBlock": { +"description": "Output only. The subnet's IPv6 CIDR block used by nodes and pods.", +"readOnly": true, +"type": "string" +}, +"subnetworkName": { +"description": "A custom subnetwork name to be used if `create_subnetwork` is true. If this field is empty, then an automatic name will be chosen for the new subnetwork.", +"type": "string" +}, +"tpuIpv4CidrBlock": { +"deprecated": true, +"description": "The IP address range of the Cloud TPUs in this cluster. If unspecified, a range will be automatically chosen with the default size. This field is only applicable when `use_ip_aliases` is true. If unspecified, the range will use the default size. Set to /netmask (e.g. `/14`) to have a range chosen with a specific netmask. Set to a [CIDR](https://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing) notation (e.g. `10.96.0.0/14`) from the RFC-1918 private networks (e.g. `10.0.0.0/8`, `172.16.0.0/12`, `192.168.0.0/16`) to pick a specific range to use. This field is deprecated, use cluster.tpu_config.ipv4_cidr_block instead.", +"type": "string" +}, +"useIpAliases": { +"description": "Whether alias IPs will be used for pod IPs in the cluster. This is used in conjunction with use_routes. It cannot be true if use_routes is true. If both use_ip_aliases and use_routes are false, then the server picks the default IP allocation mode", +"type": "boolean" +}, +"useRoutes": { +"description": "Whether routes will be used for pod IPs in the cluster. This is used in conjunction with use_ip_aliases. It cannot be true if use_ip_aliases is true. If both use_ip_aliases and use_routes are false, then the server picks the default IP allocation mode", +"type": "boolean" +} +}, +"type": "object" +}, +"IPEndpointsConfig": { +"description": "IP endpoints configuration.", +"id": "IPEndpointsConfig", +"properties": { +"authorizedNetworksConfig": { +"$ref": "MasterAuthorizedNetworksConfig", +"description": "Configuration of authorized networks. If enabled, restricts access to the control plane based on source IP. It is invalid to specify both Cluster.masterAuthorizedNetworksConfig and this field at the same time." +}, +"enablePublicEndpoint": { +"description": "Controls whether the control plane allows access through a public IP. It is invalid to specify both PrivateClusterConfig.enablePrivateEndpoint and this field at the same time.", +"type": "boolean" +}, +"enabled": { +"description": "Controls whether to allow direct IP access.", +"type": "boolean" +}, +"globalAccess": { +"description": "Controls whether the control plane's private endpoint is accessible from sources in other regions. It is invalid to specify both PrivateClusterMasterGlobalAccessConfig.enabled and this field at the same time.", +"type": "boolean" +}, +"privateEndpoint": { +"description": "Output only. The internal IP address of this cluster's control plane. Only populated if enabled.", +"readOnly": true, +"type": "string" +}, +"privateEndpointSubnetwork": { +"description": "Subnet to provision the master's private endpoint during cluster creation. Specified in projects/*/regions/*/subnetworks/* format. It is invalid to specify both PrivateClusterConfig.privateEndpointSubnetwork and this field at the same time.", +"type": "string" +}, +"publicEndpoint": { +"description": "Output only. The external IP address of this cluster's control plane. Only populated if enabled.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"IdentityServiceConfig": { +"description": "IdentityServiceConfig is configuration for Identity Service which allows customers to use external identity providers with the K8S API", +"id": "IdentityServiceConfig", +"properties": { +"enabled": { +"description": "Whether to enable the Identity Service component", +"type": "boolean" +} +}, +"type": "object" +}, +"IntraNodeVisibilityConfig": { +"description": "IntraNodeVisibilityConfig contains the desired config of the intra-node visibility on this cluster.", +"id": "IntraNodeVisibilityConfig", +"properties": { +"enabled": { +"description": "Enables intra node visibility for this cluster.", +"type": "boolean" +} +}, +"type": "object" +}, +"IstioConfig": { +"description": "Configuration options for Istio addon.", +"id": "IstioConfig", +"properties": { +"auth": { +"deprecated": true, +"description": "The specified Istio auth mode, either none, or mutual TLS.", +"enum": [ +"AUTH_NONE", +"AUTH_MUTUAL_TLS" +], +"enumDescriptions": [ +"auth not enabled", +"auth mutual TLS enabled" +], +"type": "string" +}, +"disabled": { +"deprecated": true, +"description": "Whether Istio is enabled for this cluster.", +"type": "boolean" +} +}, +"type": "object" +}, +"Jwk": { +"description": "Jwk is a JSON Web Key as specified in RFC 7517", +"id": "Jwk", +"properties": { +"alg": { +"description": "Algorithm.", +"type": "string" +}, +"crv": { +"description": "Used for ECDSA keys.", +"type": "string" +}, +"e": { +"description": "Used for RSA keys.", +"type": "string" +}, +"kid": { +"description": "Key ID.", +"type": "string" +}, +"kty": { +"description": "Key Type.", +"type": "string" +}, +"n": { +"description": "Used for RSA keys.", +"type": "string" +}, +"use": { +"description": "Permitted uses for the public keys.", +"type": "string" +}, +"x": { +"description": "Used for ECDSA keys.", +"type": "string" +}, +"y": { +"description": "Used for ECDSA keys.", +"type": "string" +} +}, +"type": "object" +}, +"K8sBetaAPIConfig": { +"description": "Kubernetes open source beta apis enabled on the cluster.", +"id": "K8sBetaAPIConfig", +"properties": { +"enabledApis": { +"description": "api name, e.g. storage.k8s.io/v1beta1/csistoragecapacities.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"KalmConfig": { +"description": "Configuration options for the KALM addon.", +"id": "KalmConfig", +"properties": { +"enabled": { +"deprecated": true, +"description": "Whether KALM is enabled for this cluster.", +"type": "boolean" +} +}, +"type": "object" +}, +"KubernetesDashboard": { +"description": "Configuration for the Kubernetes Dashboard.", +"id": "KubernetesDashboard", +"properties": { +"disabled": { +"description": "Whether the Kubernetes Dashboard is enabled for this cluster.", +"type": "boolean" +} +}, +"type": "object" +}, +"LegacyAbac": { +"description": "Configuration for the legacy Attribute Based Access Control authorization mode.", +"id": "LegacyAbac", +"properties": { +"enabled": { +"description": "Whether the ABAC authorizer is enabled for this cluster. When enabled, identities in the system, including service accounts, nodes, and controllers, will have statically granted permissions beyond those provided by the RBAC configuration or IAM.", +"type": "boolean" +} +}, +"type": "object" +}, +"LinuxNodeConfig": { +"description": "Parameters that can be configured on Linux nodes.", +"id": "LinuxNodeConfig", +"properties": { +"cgroupMode": { +"description": "cgroup_mode specifies the cgroup mode to be used on the node.", +"enum": [ +"CGROUP_MODE_UNSPECIFIED", +"CGROUP_MODE_V1", +"CGROUP_MODE_V2" +], +"enumDescriptions": [ +"CGROUP_MODE_UNSPECIFIED is when unspecified cgroup configuration is used. The default for the GKE node OS image will be used.", +"CGROUP_MODE_V1 specifies to use cgroupv1 for the cgroup configuration on the node image.", +"CGROUP_MODE_V2 specifies to use cgroupv2 for the cgroup configuration on the node image." +], +"type": "string" +}, +"hugepages": { +"$ref": "HugepagesConfig", +"description": "Optional. Amounts for 2M and 1G hugepages" +}, +"nodeKernelModuleLoading": { +"$ref": "NodeKernelModuleLoading", +"description": "Optional. Configuration for kernel module loading on nodes. When enabled, the node pool will be provisioned with a Container-Optimized OS image that enforces kernel module signature verification." +}, +"swapConfig": { +"$ref": "SwapConfig", +"description": "Optional. Enables and configures swap space on nodes. If omitted, swap is disabled." +}, +"sysctls": { +"additionalProperties": { +"type": "string" +}, +"description": "The Linux kernel parameters to be applied to the nodes and all pods running on the nodes. The following parameters are supported. net.core.busy_poll net.core.busy_read net.core.netdev_max_backlog net.core.rmem_max net.core.rmem_default net.core.wmem_default net.core.wmem_max net.core.optmem_max net.core.somaxconn net.ipv4.tcp_rmem net.ipv4.tcp_wmem net.ipv4.tcp_tw_reuse net.ipv4.tcp_mtu_probing net.ipv4.tcp_max_orphans net.ipv4.tcp_max_tw_buckets net.ipv4.tcp_syn_retries net.ipv4.tcp_ecn net.ipv4.tcp_congestion_control net.netfilter.nf_conntrack_max net.netfilter.nf_conntrack_buckets net.netfilter.nf_conntrack_tcp_timeout_close_wait net.netfilter.nf_conntrack_tcp_timeout_time_wait net.netfilter.nf_conntrack_tcp_timeout_established net.netfilter.nf_conntrack_acct kernel.shmmni kernel.shmmax kernel.shmall kernel.perf_event_paranoid kernel.sched_rt_runtime_us kernel.softlockup_panic kernel.yama.ptrace_scope kernel.kptr_restrict kernel.dmesg_restrict kernel.sysrq fs.aio-max-nr fs.file-max fs.inotify.max_user_instances fs.inotify.max_user_watches fs.nr_open vm.dirty_background_ratio vm.dirty_background_bytes vm.dirty_expire_centisecs vm.dirty_ratio vm.dirty_bytes vm.dirty_writeback_centisecs vm.max_map_count vm.overcommit_memory vm.overcommit_ratio vm.vfs_cache_pressure vm.swappiness vm.watermark_scale_factor vm.min_free_kbytes", +"type": "object" +}, +"transparentHugepageDefrag": { +"description": "Optional. Defines the transparent hugepage defrag configuration on the node. VM hugepage allocation can be managed by either limiting defragmentation for delayed allocation or skipping it entirely for immediate allocation only. See https://docs.kernel.org/admin-guide/mm/transhuge.html for more details.", +"enum": [ +"TRANSPARENT_HUGEPAGE_DEFRAG_UNSPECIFIED", +"TRANSPARENT_HUGEPAGE_DEFRAG_ALWAYS", +"TRANSPARENT_HUGEPAGE_DEFRAG_DEFER", +"TRANSPARENT_HUGEPAGE_DEFRAG_DEFER_WITH_MADVISE", +"TRANSPARENT_HUGEPAGE_DEFRAG_MADVISE", +"TRANSPARENT_HUGEPAGE_DEFRAG_NEVER" +], +"enumDescriptions": [ +"Default value. GKE will not modify the kernel configuration.", +"It means that an application requesting THP will stall on allocation failure and directly reclaim pages and compact memory in an effort to allocate a THP immediately.", +"It means that an application will wake kswapd in the background to reclaim pages and wake kcompactd to compact memory so that THP is available in the near future. It's the responsibility of khugepaged to then install the THP pages later.", +"It means that an application will enter direct reclaim and compaction like always, but only for regions that have used madvise(MADV_HUGEPAGE); all other regions will wake kswapd in the background to reclaim pages and wake kcompactd to compact memory so that THP is available in the near future.", +"It means that an application will enter direct reclaim like always but only for regions that are have used madvise(MADV_HUGEPAGE). This is the default kernel configuration.", +"It means that an application will never enter direct reclaim or compaction." +], +"type": "string" +}, +"transparentHugepageEnabled": { +"description": "Optional. Transparent hugepage support for anonymous memory can be entirely disabled (mostly for debugging purposes) or only enabled inside MADV_HUGEPAGE regions (to avoid the risk of consuming more memory resources) or enabled system wide. See https://docs.kernel.org/admin-guide/mm/transhuge.html for more details.", +"enum": [ +"TRANSPARENT_HUGEPAGE_ENABLED_UNSPECIFIED", +"TRANSPARENT_HUGEPAGE_ENABLED_ALWAYS", +"TRANSPARENT_HUGEPAGE_ENABLED_MADVISE", +"TRANSPARENT_HUGEPAGE_ENABLED_NEVER" +], +"enumDescriptions": [ +"Default value. GKE will not modify the kernel configuration.", +"Transparent hugepage support for anonymous memory is enabled system wide.", +"Transparent hugepage support for anonymous memory is enabled inside MADV_HUGEPAGE regions. This is the default kernel configuration.", +"Transparent hugepage support for anonymous memory is disabled." +], +"type": "string" +} +}, +"type": "object" +}, +"ListClustersResponse": { +"description": "ListClustersResponse is the result of ListClustersRequest.", +"id": "ListClustersResponse", +"properties": { +"clusters": { +"description": "A list of clusters in the project in the specified zone, or across all ones.", +"items": { +"$ref": "Cluster" +}, +"type": "array" +}, +"missingZones": { +"description": "If any zones are listed here, the list of clusters returned may be missing those zones.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListLocationsResponse": { +"description": "ListLocationsResponse returns the list of all GKE locations and their recommendation state.", +"id": "ListLocationsResponse", +"properties": { +"locations": { +"description": "A full list of GKE locations.", +"items": { +"$ref": "Location" +}, +"type": "array" +}, +"nextPageToken": { +"description": "Only return ListLocationsResponse that occur after the page_token. This value should be populated from the ListLocationsResponse.next_page_token if that response token was set (which happens when listing more Locations than fit in a single ListLocationsResponse).", +"type": "string" +} +}, +"type": "object" +}, +"ListNodePoolsResponse": { +"description": "ListNodePoolsResponse is the result of ListNodePoolsRequest.", +"id": "ListNodePoolsResponse", +"properties": { +"nodePools": { +"description": "A list of node pools for a cluster.", +"items": { +"$ref": "NodePool" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListOperationsResponse": { +"description": "ListOperationsResponse is the result of ListOperationsRequest.", +"id": "ListOperationsResponse", +"properties": { +"missingZones": { +"description": "If any zones are listed here, the list of operations returned may be missing the operations from those zones.", +"items": { +"type": "string" +}, +"type": "array" +}, +"operations": { +"description": "A list of operations in the project in the specified zone.", +"items": { +"$ref": "Operation" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListUsableSubnetworksResponse": { +"description": "ListUsableSubnetworksResponse is the response of ListUsableSubnetworksRequest.", +"id": "ListUsableSubnetworksResponse", +"properties": { +"nextPageToken": { +"description": "This token allows you to get the next page of results for list requests. If the number of results is larger than `page_size`, use the `next_page_token` as a value for the query parameter `page_token` in the next request. The value will become empty when there are no more pages.", +"type": "string" +}, +"subnetworks": { +"description": "A list of usable subnetworks in the specified network project.", +"items": { +"$ref": "UsableSubnetwork" +}, +"type": "array" +} +}, +"type": "object" +}, +"LocalNvmeSsdBlockConfig": { +"description": "LocalNvmeSsdBlockConfig contains configuration for using raw-block local NVMe SSDs", +"id": "LocalNvmeSsdBlockConfig", +"properties": { +"localSsdCount": { +"description": "Number of local NVMe SSDs to use. The limit for this value is dependent upon the maximum number of disk available on a machine per zone. See: https://cloud.google.com/compute/docs/disks/local-ssd for more information. A zero (or unset) value has different meanings depending on machine type being used: 1. For pre-Gen3 machines, which support flexible numbers of local ssds, zero (or unset) means to disable using local SSDs as ephemeral storage. 2. For Gen3 machines which dictate a specific number of local ssds, zero (or unset) means to use the default number of local ssds that goes with that machine type. For example, for a c3-standard-8-lssd machine, 2 local ssds would be provisioned. For c3-standard-8 (which doesn't support local ssds), 0 will be provisioned. See https://cloud.google.com/compute/docs/disks/local-ssd#choose_number_local_ssds for more info.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"Location": { +"description": "Location returns the location name, and if the location is recommended for GKE cluster scheduling.", +"id": "Location", +"properties": { +"name": { +"description": "Contains the name of the resource requested. Specified in the format `projects/*/locations/*`.", +"type": "string" +}, +"recommended": { +"description": "Whether the location is recommended for GKE cluster scheduling.", +"type": "boolean" +}, +"type": { +"description": "Contains the type of location this Location is for. Regional or Zonal.", +"enum": [ +"LOCATION_TYPE_UNSPECIFIED", +"ZONE", +"REGION" +], +"enumDescriptions": [ +"LOCATION_TYPE_UNSPECIFIED means the location type was not determined.", +"A GKE Location where Zonal clusters can be created.", +"A GKE Location where Regional clusters can be created." +], +"type": "string" +} +}, +"type": "object" +}, +"LoggingComponentConfig": { +"description": "LoggingComponentConfig is cluster logging component configuration.", +"id": "LoggingComponentConfig", +"properties": { +"enableComponents": { +"description": "Select components to collect logs. An empty set would disable all logging.", +"items": { +"enum": [ +"COMPONENT_UNSPECIFIED", +"SYSTEM_COMPONENTS", +"WORKLOADS", +"APISERVER", +"SCHEDULER", +"CONTROLLER_MANAGER", +"KCP_SSHD", +"KCP_CONNECTION", +"KCP_HPA" +], +"enumDescriptions": [ +"Default value. This shouldn't be used.", +"system components", +"workloads", +"kube-apiserver", +"kube-scheduler", +"kube-controller-manager", +"kcp-sshd", +"kcp connection logs", +"horizontal pod autoscaler decision logs" +], +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"LoggingConfig": { +"description": "LoggingConfig is cluster logging configuration.", +"id": "LoggingConfig", +"properties": { +"componentConfig": { +"$ref": "LoggingComponentConfig", +"description": "Logging components configuration" +} +}, +"type": "object" +}, +"LoggingVariantConfig": { +"description": "LoggingVariantConfig specifies the behaviour of the logging component.", +"id": "LoggingVariantConfig", +"properties": { +"variant": { +"description": "Logging variant deployed on nodes.", +"enum": [ +"VARIANT_UNSPECIFIED", +"DEFAULT", +"MAX_THROUGHPUT" +], +"enumDescriptions": [ +"Default value. This shouldn't be used.", +"default logging variant.", +"maximum logging throughput variant." +], +"type": "string" +} +}, +"type": "object" +}, +"LustreCsiDriverConfig": { +"description": "Configuration for the Lustre CSI driver.", +"id": "LustreCsiDriverConfig", +"properties": { +"enableLegacyLustrePort": { +"deprecated": true, +"description": "If set to true, the Lustre CSI driver will install Lustre kernel modules using port 6988. This serves as a workaround for a port conflict with the gke-metadata-server. This field is required ONLY under the following conditions: 1. The GKE node version is older than 1.33.2-gke.4655000. 2. You're connecting to a Lustre instance that has the 'gke-support-enabled' flag. Deprecated: This flag is no longer required as of GKE node version 1.33.2-gke.4655000, unless you are connecting to a Lustre instance that has the `gke-support-enabled` flag.", +"type": "boolean" +}, +"enabled": { +"description": "Whether the Lustre CSI driver is enabled for this cluster.", +"type": "boolean" +} +}, +"type": "object" +}, +"MaintenanceExclusionOptions": { +"description": "Represents the Maintenance exclusion option.", +"id": "MaintenanceExclusionOptions", +"properties": { +"endTimeBehavior": { +"description": "EndTimeBehavior specifies the behavior of the exclusion end time.", +"enum": [ +"END_TIME_BEHAVIOR_UNSPECIFIED", +"UNTIL_END_OF_SUPPORT" +], +"enumDescriptions": [ +"END_TIME_BEHAVIOR_UNSPECIFIED is the default behavior, which is fixed end time.", +"UNTIL_END_OF_SUPPORT means the exclusion will be in effect until the end of the support of the cluster's current version." +], +"type": "string" +}, +"scope": { +"description": "Scope specifies the upgrade scope which upgrades are blocked by the exclusion.", +"enum": [ +"NO_UPGRADES", +"NO_MINOR_UPGRADES", +"NO_MINOR_OR_NODE_UPGRADES" +], +"enumDescriptions": [ +"NO_UPGRADES excludes all upgrades, including patch upgrades and minor upgrades across control planes and nodes. This is the default exclusion behavior.", +"NO_MINOR_UPGRADES excludes all minor upgrades for the cluster, only patches are allowed.", +"NO_MINOR_OR_NODE_UPGRADES excludes all minor upgrades for the cluster, and also exclude all node pool upgrades. Only control plane patches are allowed." +], +"type": "string" +} +}, +"type": "object" +}, +"MaintenancePolicy": { +"description": "MaintenancePolicy defines the maintenance policy to be used for the cluster.", +"id": "MaintenancePolicy", +"properties": { +"disruptionBudget": { +"$ref": "DisruptionBudget", +"description": "Optional. The upgrade disruption budget for the cluster control plane." +}, +"resourceVersion": { +"description": "A hash identifying the version of this policy, so that updates to fields of the policy won't accidentally undo intermediate changes (and so that users of the API unaware of some fields won't accidentally remove other fields). Make a `get()` request to the cluster to get the current resource version and include it with requests to set the policy.", +"type": "string" +}, +"window": { +"$ref": "MaintenanceWindow", +"description": "Specifies the maintenance window in which maintenance may be performed." +} +}, +"type": "object" +}, +"MaintenanceWindow": { +"description": "MaintenanceWindow defines the maintenance window to be used for the cluster.", +"id": "MaintenanceWindow", +"properties": { +"dailyMaintenanceWindow": { +"$ref": "DailyMaintenanceWindow", +"description": "DailyMaintenanceWindow specifies a daily maintenance operation window." +}, +"maintenanceExclusions": { +"additionalProperties": { +"$ref": "TimeWindow" +}, +"description": "Exceptions to maintenance window. Non-emergency maintenance should not occur in these windows.", +"type": "object" +}, +"recurringWindow": { +"$ref": "RecurringTimeWindow", +"description": "RecurringWindow specifies some number of recurring time periods for maintenance to occur. The time windows may be overlapping. If no maintenance windows are set, maintenance can occur at any time." +} +}, +"type": "object" +}, +"ManagedOpenTelemetryConfig": { +"description": "ManagedOpenTelemetryConfig is the configuration for the GKE Managed OpenTelemetry pipeline.", +"id": "ManagedOpenTelemetryConfig", +"properties": { +"scope": { +"description": "Scope of the Managed OpenTelemetry pipeline.", +"enum": [ +"SCOPE_UNSPECIFIED", +"NONE", +"COLLECTION_AND_INSTRUMENTATION_COMPONENTS" +], +"enumDescriptions": [ +"SCOPE_UNSPECIFIED is when the scope is not set.", +"NONE is used to disable the Managed OpenTelemetry pipeline.", +"COLLECTION_AND_INSTRUMENTATION_COMPONENTS is used to enable the Managed OpenTelemetry pipeline for collection and instrumentation components." +], +"type": "string" +} +}, +"type": "object" +}, +"ManagedPrometheusConfig": { +"description": "ManagedPrometheusConfig defines the configuration for Google Cloud Managed Service for Prometheus.", +"id": "ManagedPrometheusConfig", +"properties": { +"autoMonitoringConfig": { +"$ref": "AutoMonitoringConfig", +"description": "GKE Workload Auto-Monitoring Configuration." +}, +"enabled": { +"description": "Enable Managed Collection.", +"type": "boolean" +} +}, +"type": "object" +}, +"Master": { +"description": "Master is the configuration for components on master.", +"id": "Master", +"properties": { +"compatibilityStatus": { +"$ref": "CompatibilityStatus", +"description": "Output only. The compatibility status of the control plane. It should be empty if the cluster does not have emulated version.", +"readOnly": true +} +}, +"type": "object" +}, +"MasterAuth": { +"description": "The authentication information for accessing the master endpoint. Authentication can be done using HTTP basic auth or using client certificates.", +"id": "MasterAuth", +"properties": { +"clientCertificate": { +"description": "Output only. Base64-encoded public certificate used by clients to authenticate to the cluster endpoint. Issued only if client_certificate_config is set.", +"readOnly": true, +"type": "string" +}, +"clientCertificateConfig": { +"$ref": "ClientCertificateConfig", +"description": "Configuration for client certificate authentication on the cluster. For clusters before v1.12, if no configuration is specified, a client certificate is issued." +}, +"clientKey": { +"description": "Output only. Base64-encoded private key used by clients to authenticate to the cluster endpoint.", +"readOnly": true, +"type": "string" +}, +"clusterCaCertificate": { +"description": "Output only. Base64-encoded public certificate that is the root of trust for the cluster.", +"readOnly": true, +"type": "string" +}, +"password": { +"deprecated": true, +"description": "The password to use for HTTP basic authentication to the master endpoint. Because the master endpoint is open to the Internet, you should create a strong password. If a password is provided for cluster creation, username must be non-empty. Warning: basic authentication is deprecated, and will be removed in GKE control plane versions 1.19 and newer. For a list of recommended authentication methods, see: https://cloud.google.com/kubernetes-engine/docs/how-to/api-server-authentication", +"type": "string" +}, +"username": { +"deprecated": true, +"description": "The username to use for HTTP basic authentication to the master endpoint. For clusters v1.6.0 and later, basic authentication can be disabled by leaving username unspecified (or setting it to the empty string). Warning: basic authentication is deprecated, and will be removed in GKE control plane versions 1.19 and newer. For a list of recommended authentication methods, see: https://cloud.google.com/kubernetes-engine/docs/how-to/api-server-authentication", +"type": "string" +} +}, +"type": "object" +}, +"MasterAuthorizedNetworksConfig": { +"description": "Configuration options for the master authorized networks feature. Enabled master authorized networks will disallow all external traffic to access Kubernetes master through HTTPS except traffic from the given CIDR blocks, Google Compute Engine Public IPs and Google Prod IPs.", +"id": "MasterAuthorizedNetworksConfig", +"properties": { +"cidrBlocks": { +"description": "cidr_blocks define up to 10 external networks that could access Kubernetes master through HTTPS.", +"items": { +"$ref": "CidrBlock" +}, +"type": "array" +}, +"enabled": { +"description": "Whether or not master authorized networks is enabled.", +"type": "boolean" +}, +"gcpPublicCidrsAccessEnabled": { +"description": "Whether master is accessible via Google Compute Engine Public IP addresses.", +"type": "boolean" +}, +"privateEndpointEnforcementEnabled": { +"description": "Whether master authorized networks is enforced on private endpoint or not.", +"type": "boolean" +} +}, +"type": "object" +}, +"MaxPodsConstraint": { +"description": "Constraints applied to pods.", +"id": "MaxPodsConstraint", +"properties": { +"maxPodsPerNode": { +"description": "Constraint enforced on the max num of pods per node.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"MemoryManager": { +"description": "The option enables the Kubernetes NUMA-aware Memory Manager feature. Detailed description about the feature can be found [here](https://kubernetes.io/docs/tasks/administer-cluster/memory-manager/).", +"id": "MemoryManager", +"properties": { +"policy": { +"description": "Controls the memory management policy on the Node. See https://kubernetes.io/docs/tasks/administer-cluster/memory-manager/#policies The following values are allowed. * \"none\" * \"static\" The default value is 'none' if unspecified.", +"type": "string" +} +}, +"type": "object" +}, +"MeshCertificates": { +"description": "Configuration for issuance of mTLS keys and certificates to Kubernetes pods.", +"id": "MeshCertificates", +"properties": { +"enableCertificates": { +"description": "enable_certificates controls issuance of workload mTLS certificates. If set, the GKE Workload Identity Certificates controller and node agent will be deployed in the cluster, which can then be configured by creating a WorkloadCertificateConfig Custom Resource. Requires Workload Identity (workload_pool must be non-empty).", +"type": "boolean" +} +}, +"type": "object" +}, +"Metric": { +"description": "Progress metric is (string, int|float|string) pair.", +"id": "Metric", +"properties": { +"doubleValue": { +"description": "For metrics with floating point value.", +"format": "double", +"type": "number" +}, +"intValue": { +"description": "For metrics with integer value.", +"format": "int64", +"type": "string" +}, +"name": { +"description": "Required. Metric name, e.g., \"nodes total\", \"percent done\".", +"type": "string" +}, +"stringValue": { +"description": "For metrics with custom values (ratios, visual progress, etc.).", +"type": "string" +} +}, +"type": "object" +}, +"MonitoringComponentConfig": { +"description": "MonitoringComponentConfig is cluster monitoring component configuration.", +"id": "MonitoringComponentConfig", +"properties": { +"enableComponents": { +"description": "Select components to collect metrics. An empty set would disable all monitoring.", +"items": { +"enum": [ +"COMPONENT_UNSPECIFIED", +"SYSTEM_COMPONENTS", +"WORKLOADS", +"APISERVER", +"SCHEDULER", +"CONTROLLER_MANAGER", +"STORAGE", +"HPA", +"POD", +"DAEMONSET", +"DEPLOYMENT", +"STATEFULSET", +"CADVISOR", +"KUBELET", +"DCGM", +"JOBSET" +], +"enumDeprecated": [ +false, +false, +true, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false +], +"enumDescriptions": [ +"Default value. This shouldn't be used.", +"system components", +"Deprecated: Use Google Cloud Managed Service for Prometheus.", +"kube-apiserver", +"kube-scheduler", +"kube-controller-manager", +"Storage", +"Horizontal Pod Autoscaling", +"Pod", +"DaemonSet", +"Deployment", +"Statefulset", +"CADVISOR", +"KUBELET", +"NVIDIA Data Center GPU Manager (DCGM)", +"JobSet" +], +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"MonitoringConfig": { +"description": "MonitoringConfig is cluster monitoring configuration.", +"id": "MonitoringConfig", +"properties": { +"advancedDatapathObservabilityConfig": { +"$ref": "AdvancedDatapathObservabilityConfig", +"description": "Configuration of Advanced Datapath Observability features." +}, +"componentConfig": { +"$ref": "MonitoringComponentConfig", +"description": "Monitoring components configuration" +}, +"managedPrometheusConfig": { +"$ref": "ManagedPrometheusConfig", +"description": "Enable Google Cloud Managed Service for Prometheus in the cluster." +} +}, +"type": "object" +}, +"NetworkConfig": { +"description": "NetworkConfig reports the relative names of network & subnetwork.", +"id": "NetworkConfig", +"properties": { +"datapathProvider": { +"description": "The desired datapath provider for this cluster. By default, uses the IPTables-based kube-proxy implementation.", +"enum": [ +"DATAPATH_PROVIDER_UNSPECIFIED", +"LEGACY_DATAPATH", +"ADVANCED_DATAPATH" +], +"enumDescriptions": [ +"Default value.", +"Use the IPTables implementation based on kube-proxy.", +"Use the eBPF based GKE Dataplane V2 with additional features. See the [GKE Dataplane V2 documentation](https://cloud.google.com/kubernetes-engine/docs/how-to/dataplane-v2) for more." +], +"type": "string" +}, +"defaultEnablePrivateNodes": { +"description": "Controls whether by default nodes have private IP addresses only. It is invalid to specify both PrivateClusterConfig.enablePrivateNodes and this field at the same time. To update the default setting, use ClusterUpdate.desired_default_enable_private_nodes", +"type": "boolean" +}, +"defaultSnatStatus": { +"$ref": "DefaultSnatStatus", +"description": "Whether the cluster disables default in-node sNAT rules. In-node sNAT rules will be disabled when default_snat_status is disabled. When disabled is set to false, default IP masquerade rules will be applied to the nodes to prevent sNAT on cluster internal traffic." +}, +"disableL4LbFirewallReconciliation": { +"description": "Disable L4 load balancer VPC firewalls to enable firewall policies.", +"type": "boolean" +}, +"dnsConfig": { +"$ref": "DNSConfig", +"description": "DNSConfig contains clusterDNS config for this cluster." +}, +"enableCiliumClusterwideNetworkPolicy": { +"description": "Whether CiliumClusterWideNetworkPolicy is enabled on this cluster.", +"type": "boolean" +}, +"enableFqdnNetworkPolicy": { +"description": "Whether FQDN Network Policy is enabled on this cluster.", +"type": "boolean" +}, +"enableIntraNodeVisibility": { +"description": "Whether Intra-node visibility is enabled for this cluster. This makes same node pod to pod traffic visible for VPC network.", +"type": "boolean" +}, +"enableL4ilbSubsetting": { +"description": "Whether L4ILB Subsetting is enabled for this cluster.", +"type": "boolean" +}, +"enableMultiNetworking": { +"description": "Whether multi-networking is enabled for this cluster.", +"type": "boolean" +}, +"gatewayApiConfig": { +"$ref": "GatewayAPIConfig", +"description": "GatewayAPIConfig contains the desired config of Gateway API on this cluster." +}, +"inTransitEncryptionConfig": { +"description": "Specify the details of in-transit encryption.", +"enum": [ +"IN_TRANSIT_ENCRYPTION_CONFIG_UNSPECIFIED", +"IN_TRANSIT_ENCRYPTION_DISABLED", +"IN_TRANSIT_ENCRYPTION_INTER_NODE_TRANSPARENT" +], +"enumDescriptions": [ +"Unspecified, will be inferred as default - IN_TRANSIT_ENCRYPTION_UNSPECIFIED.", +"In-transit encryption is disabled.", +"Data in-transit is encrypted using inter-node transparent encryption." +], +"type": "string" +}, +"network": { +"description": "Output only. The relative name of the Google Compute Engine [network](https://cloud.google.com/compute/docs/networks-and-firewalls#networks) to which the cluster is connected. Example: projects/my-project/global/networks/my-network", +"readOnly": true, +"type": "string" +}, +"networkPerformanceConfig": { +"$ref": "ClusterNetworkPerformanceConfig", +"description": "Network bandwidth tier configuration." +}, +"privateIpv6GoogleAccess": { +"description": "The desired state of IPv6 connectivity to Google Services. By default, no private IPv6 access to or from Google Services (all access will be via IPv4)", +"enum": [ +"PRIVATE_IPV6_GOOGLE_ACCESS_UNSPECIFIED", +"PRIVATE_IPV6_GOOGLE_ACCESS_DISABLED", +"PRIVATE_IPV6_GOOGLE_ACCESS_TO_GOOGLE", +"PRIVATE_IPV6_GOOGLE_ACCESS_BIDIRECTIONAL" +], +"enumDescriptions": [ +"Default value. Same as DISABLED", +"No private access to or from Google Services", +"Enables private IPv6 access to Google Services from GKE", +"Enables private IPv6 access to and from Google Services" +], +"type": "string" +}, +"serviceExternalIpsConfig": { +"$ref": "ServiceExternalIPsConfig", +"description": "ServiceExternalIPsConfig specifies if services with externalIPs field are blocked or not." +}, +"subnetwork": { +"description": "Output only. The relative name of the Google Compute Engine [subnetwork](https://cloud.google.com/compute/docs/vpc) to which the cluster is connected. Example: projects/my-project/regions/us-central1/subnetworks/my-subnet", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"NetworkPerformanceConfig": { +"description": "Configuration of all network bandwidth tiers", +"id": "NetworkPerformanceConfig", +"properties": { +"externalIpEgressBandwidthTier": { +"description": "Specifies the network bandwidth tier for the NodePool for traffic to external/public IP addresses.", +"enum": [ +"TIER_UNSPECIFIED", +"TIER_1" +], +"enumDescriptions": [ +"Default value", +"Higher bandwidth, actual values based on VM size." +], +"type": "string" +}, +"totalEgressBandwidthTier": { +"description": "Specifies the total network bandwidth tier for the NodePool.", +"enum": [ +"TIER_UNSPECIFIED", +"TIER_1" +], +"enumDescriptions": [ +"Default value", +"Higher bandwidth, actual values based on VM size." +], +"type": "string" +} +}, +"type": "object" +}, +"NetworkPolicy": { +"description": "Configuration options for the NetworkPolicy feature. https://kubernetes.io/docs/concepts/services-networking/networkpolicies/", +"id": "NetworkPolicy", +"properties": { +"enabled": { +"description": "Whether network policy is enabled on the cluster.", +"type": "boolean" +}, +"provider": { +"description": "The selected network policy provider.", +"enum": [ +"PROVIDER_UNSPECIFIED", +"CALICO" +], +"enumDescriptions": [ +"Not set", +"Tigera (Calico Felix)." +], +"type": "string" +} +}, +"type": "object" +}, +"NetworkPolicyConfig": { +"description": "Configuration for NetworkPolicy. This only tracks whether the addon is enabled or not on the Master, it does not track whether network policy is enabled for the nodes.", +"id": "NetworkPolicyConfig", +"properties": { +"disabled": { +"description": "Whether NetworkPolicy is enabled for this cluster.", +"type": "boolean" +} +}, +"type": "object" +}, +"NetworkTags": { +"description": "Collection of Compute Engine network tags that can be applied to a node's underlying VM instance. (See `tags` field in [`NodeConfig`](/kubernetes-engine/docs/reference/rest/v1/NodeConfig)).", +"id": "NetworkTags", +"properties": { +"tags": { +"description": "List of network tags.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"NetworkTierConfig": { +"description": "NetworkTierConfig contains network tier information.", +"id": "NetworkTierConfig", +"properties": { +"networkTier": { +"description": "Network tier configuration.", +"enum": [ +"NETWORK_TIER_UNSPECIFIED", +"NETWORK_TIER_DEFAULT", +"NETWORK_TIER_PREMIUM", +"NETWORK_TIER_STANDARD" +], +"enumDescriptions": [ +"By default, use project-level configuration. When unspecified, the behavior defaults to NETWORK_TIER_DEFAULT. For cluster updates, this implies no action (no-op).", +"Default network tier. Use project-level configuration. User can specify this value, meaning they want to keep the same behaviour as before cluster level network tier configuration is introduced. This field ensures backward compatibility for the network tier of cluster resources, such as node pools and load balancers, for their external IP addresses.", +"Premium network tier.", +"Standard network tier." +], +"type": "string" +} +}, +"type": "object" +}, +"NodeAffinity": { +"description": "Specifies the NodeAffinity key, values, and affinity operator according to [shared sole tenant node group affinities](https://cloud.google.com/compute/docs/nodes/sole-tenant-nodes#node_affinity_and_anti-affinity).", +"id": "NodeAffinity", +"properties": { +"key": { +"description": "Key for NodeAffinity.", +"type": "string" +}, +"operator": { +"description": "Operator for NodeAffinity.", +"enum": [ +"OPERATOR_UNSPECIFIED", +"IN", +"NOT_IN" +], +"enumDescriptions": [ +"Invalid or unspecified affinity operator.", +"Affinity operator.", +"Anti-affinity operator." +], +"type": "string" +}, +"values": { +"description": "Values for NodeAffinity.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"NodeConfig": { +"description": "Parameters that describe the nodes in a cluster. GKE Autopilot clusters do not recognize parameters in `NodeConfig`. Use AutoprovisioningNodePoolDefaults instead.", +"id": "NodeConfig", +"properties": { +"accelerators": { +"description": "A list of hardware accelerators to be attached to each node. See https://cloud.google.com/compute/docs/gpus for more information about support for GPUs.", +"items": { +"$ref": "AcceleratorConfig" +}, +"type": "array" +}, +"advancedMachineFeatures": { +"$ref": "AdvancedMachineFeatures", +"description": "Advanced features for the Compute Engine VM." +}, +"bootDisk": { +"$ref": "BootDisk", +"description": "Boot disk configuration for the node pool." +}, +"bootDiskKmsKey": { +"description": " The Customer Managed Encryption Key used to encrypt the boot disk attached to each node in the node pool. This should be of the form projects/[KEY_PROJECT_ID]/locations/[LOCATION]/keyRings/[RING_NAME]/cryptoKeys/[KEY_NAME]. For more information about protecting resources with Cloud KMS Keys please see: https://cloud.google.com/compute/docs/disks/customer-managed-encryption", +"type": "string" +}, +"confidentialNodes": { +"$ref": "ConfidentialNodes", +"description": "Confidential nodes config. All the nodes in the node pool will be Confidential VM once enabled." +}, +"consolidationDelay": { +"description": "Consolidation delay defines duration after which the Cluster Autoscaler can scale down underutilized nodes. If not set, nodes are scaled down by default behavior, i.e. according to the chosen autoscaling profile.", +"format": "google-duration", +"type": "string" +}, +"containerdConfig": { +"$ref": "ContainerdConfig", +"description": "Parameters for containerd customization." +}, +"diskSizeGb": { +"description": "Size of the disk attached to each node, specified in GB. The smallest allowed disk size is 10GB. If unspecified, the default disk size is 100GB.", +"format": "int32", +"type": "integer" +}, +"diskType": { +"description": "Type of the disk attached to each node (e.g. 'pd-standard', 'pd-ssd' or 'pd-balanced') If unspecified, the default disk type is 'pd-standard'", +"type": "string" +}, +"effectiveCgroupMode": { +"description": "Output only. effective_cgroup_mode is the cgroup mode actually used by the node pool. It is determined by the cgroup mode specified in the LinuxNodeConfig or the default cgroup mode based on the cluster creation version.", +"enum": [ +"EFFECTIVE_CGROUP_MODE_UNSPECIFIED", +"EFFECTIVE_CGROUP_MODE_V1", +"EFFECTIVE_CGROUP_MODE_V2" +], +"enumDescriptions": [ +"EFFECTIVE_CGROUP_MODE_UNSPECIFIED means the cgroup configuration for the node pool is unspecified, i.e. the node pool is a Windows node pool.", +"CGROUP_MODE_V1 means the node pool is configured to use cgroupv1 for the cgroup configuration.", +"CGROUP_MODE_V2 means the node pool is configured to use cgroupv2 for the cgroup configuration." +], +"readOnly": true, +"type": "string" +}, +"enableConfidentialStorage": { +"description": "Optional. Reserved for future use.", +"type": "boolean" +}, +"ephemeralStorageConfig": { +"$ref": "EphemeralStorageConfig", +"description": "Parameters for the ephemeral storage filesystem. If unspecified, ephemeral storage is backed by the boot disk." +}, +"ephemeralStorageLocalSsdConfig": { +"$ref": "EphemeralStorageLocalSsdConfig", +"description": "Parameters for the node ephemeral storage using Local SSDs. If unspecified, ephemeral storage is backed by the boot disk. This field is functionally equivalent to the ephemeral_storage_config" +}, +"fastSocket": { +"$ref": "FastSocket", +"description": "Enable or disable NCCL fast socket for the node pool." +}, +"flexStart": { +"description": "Flex Start flag for enabling Flex Start VM.", +"type": "boolean" +}, +"gcfsConfig": { +"$ref": "GcfsConfig", +"description": "GCFS (Google Container File System) configs." +}, +"gpuDirectConfig": { +"$ref": "GPUDirectConfig", +"description": "The configuration for GPU Direct" +}, +"gvnic": { +"$ref": "VirtualNIC", +"description": "Enable or disable gvnic on the node pool." +}, +"hostMaintenancePolicy": { +"$ref": "HostMaintenancePolicy", +"description": "HostMaintenancePolicy contains the desired maintenance policy for the Google Compute Engine hosts." +}, +"imageType": { +"description": "The image type to use for this node. Note that for a given image type, the latest version of it will be used. Please see https://cloud.google.com/kubernetes-engine/docs/concepts/node-images for available image types.", +"type": "string" +}, +"kubeletConfig": { +"$ref": "NodeKubeletConfig", +"description": "Node kubelet configs." +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "The map of Kubernetes labels (key/value pairs) to be applied to each node. These will added in addition to any default label(s) that Kubernetes may apply to the node. In case of conflict in label keys, the applied set may differ depending on the Kubernetes version -- it's best to assume the behavior is undefined and conflicts should be avoided. For more information, including usage and the valid values, see: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/", +"type": "object" +}, +"linuxNodeConfig": { +"$ref": "LinuxNodeConfig", +"description": "Parameters that can be configured on Linux nodes." +}, +"localNvmeSsdBlockConfig": { +"$ref": "LocalNvmeSsdBlockConfig", +"description": "Parameters for using raw-block Local NVMe SSDs." +}, +"localSsdCount": { +"description": "The number of local SSD disks to be attached to the node. The limit for this value is dependent upon the maximum number of disks available on a machine per zone. See: https://cloud.google.com/compute/docs/disks/local-ssd for more information.", +"format": "int32", +"type": "integer" +}, +"localSsdEncryptionMode": { +"description": "Specifies which method should be used for encrypting the Local SSDs attached to the node.", +"enum": [ +"LOCAL_SSD_ENCRYPTION_MODE_UNSPECIFIED", +"STANDARD_ENCRYPTION", +"EPHEMERAL_KEY_ENCRYPTION" +], +"enumDescriptions": [ +"The given node will be encrypted using keys managed by Google infrastructure and the keys will be deleted when the node is deleted.", +"The given node will be encrypted using keys managed by Google infrastructure and the keys will be deleted when the node is deleted.", +"The given node will opt-in for using ephemeral key for encryption of Local SSDs. The Local SSDs will not be able to recover data in case of node crash." +], +"type": "string" +}, +"loggingConfig": { +"$ref": "NodePoolLoggingConfig", +"description": "Logging configuration." +}, +"machineType": { +"description": "The name of a Google Compute Engine [machine type](https://cloud.google.com/compute/docs/machine-types). If unspecified, the default machine type is `e2-medium`.", +"type": "string" +}, +"maxRunDuration": { +"description": "The maximum duration for the nodes to exist. If unspecified, the nodes can exist indefinitely.", +"format": "google-duration", +"type": "string" +}, +"metadata": { +"additionalProperties": { +"type": "string" +}, +"description": "The metadata key/value pairs assigned to instances in the cluster. Keys must conform to the regexp `[a-zA-Z0-9-_]+` and be less than 128 bytes in length. These are reflected as part of a URL in the metadata server. Additionally, to avoid ambiguity, keys must not conflict with any other metadata keys for the project or be one of the reserved keys: - \"cluster-location\" - \"cluster-name\" - \"cluster-uid\" - \"configure-sh\" - \"containerd-configure-sh\" - \"enable-oslogin\" - \"gci-ensure-gke-docker\" - \"gci-metrics-enabled\" - \"gci-update-strategy\" - \"instance-template\" - \"kube-env\" - \"startup-script\" - \"user-data\" - \"disable-address-manager\" - \"windows-startup-script-ps1\" - \"common-psm1\" - \"k8s-node-setup-psm1\" - \"install-ssh-psm1\" - \"user-profile-psm1\" Values are free-form strings, and only have meaning as interpreted by the image running in the instance. The only restriction placed on them is that each value's size must be less than or equal to 32 KB. The total size of all keys and values must be less than 512 KB.", +"type": "object" +}, +"minCpuPlatform": { +"description": "Minimum CPU platform to be used by this instance. The instance may be scheduled on the specified or newer CPU platform. Applicable values are the friendly names of CPU platforms, such as `minCpuPlatform: \"Intel Haswell\"` or `minCpuPlatform: \"Intel Sandy Bridge\"`. For more information, read [how to specify min CPU platform](https://cloud.google.com/compute/docs/instances/specify-min-cpu-platform).", +"type": "string" +}, +"nodeGroup": { +"description": "Setting this field will assign instances of this pool to run on the specified node group. This is useful for running workloads on [sole tenant nodes](https://cloud.google.com/compute/docs/nodes/sole-tenant-nodes).", +"type": "string" +}, +"oauthScopes": { +"description": "The set of Google API scopes to be made available on all of the node VMs under the \"default\" service account. The following scopes are recommended, but not required, and by default are not included: * `https://www.googleapis.com/auth/compute` is required for mounting persistent storage on your nodes. * `https://www.googleapis.com/auth/devstorage.read_only` is required for communicating with **gcr.io** (the [Artifact Registry](https://cloud.google.com/artifact-registry/)). If unspecified, no scopes are added, unless Cloud Logging or Cloud Monitoring are enabled, in which case their required scopes will be added.", +"items": { +"type": "string" +}, +"type": "array" +}, +"preemptible": { +"description": "Whether the nodes are created as preemptible VM instances. See: https://cloud.google.com/compute/docs/instances/preemptible for more information about preemptible VM instances.", +"type": "boolean" +}, +"reservationAffinity": { +"$ref": "ReservationAffinity", +"description": "The optional reservation affinity. Setting this field will apply the specified [Zonal Compute Reservation](https://cloud.google.com/compute/docs/instances/reserving-zonal-resources) to this node pool." +}, +"resourceLabels": { +"additionalProperties": { +"type": "string" +}, +"description": "The resource labels for the node pool to use to annotate any related Google Compute Engine resources.", +"type": "object" +}, +"resourceManagerTags": { +"$ref": "ResourceManagerTags", +"description": "A map of resource manager tag keys and values to be attached to the nodes." +}, +"sandboxConfig": { +"$ref": "SandboxConfig", +"description": "Sandbox configuration for this node." +}, +"secondaryBootDiskUpdateStrategy": { +"$ref": "SecondaryBootDiskUpdateStrategy", +"description": "Secondary boot disk update strategy." +}, +"secondaryBootDisks": { +"description": "List of secondary boot disks attached to the nodes.", +"items": { +"$ref": "SecondaryBootDisk" +}, +"type": "array" +}, +"serviceAccount": { +"description": "The Google Cloud Platform Service Account to be used by the node VMs. Specify the email address of the Service Account; otherwise, if no Service Account is specified, the \"default\" service account is used.", +"type": "string" +}, +"shieldedInstanceConfig": { +"$ref": "ShieldedInstanceConfig", +"description": "Shielded Instance options." +}, +"soleTenantConfig": { +"$ref": "SoleTenantConfig", +"description": "Parameters for node pools to be backed by shared sole tenant node groups." +}, +"spot": { +"description": "Spot flag for enabling Spot VM, which is a rebrand of the existing preemptible flag.", +"type": "boolean" +}, +"storagePools": { +"description": "List of Storage Pools where boot disks are provisioned.", +"items": { +"type": "string" +}, +"type": "array" +}, +"tags": { +"description": "The list of instance tags applied to all nodes. Tags are used to identify valid sources or targets for network firewalls and are specified by the client during cluster or node pool creation. Each tag within the list must comply with RFC1035.", +"items": { +"type": "string" +}, +"type": "array" +}, +"taints": { +"description": "List of kubernetes taints to be applied to each node. For more information, including usage and the valid values, see: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/", +"items": { +"$ref": "NodeTaint" +}, +"type": "array" +}, +"windowsNodeConfig": { +"$ref": "WindowsNodeConfig", +"description": "Parameters that can be configured on Windows nodes." +}, +"workloadMetadataConfig": { +"$ref": "WorkloadMetadataConfig", +"description": "The workload metadata configuration for this node." +} +}, +"type": "object" +}, +"NodeConfigDefaults": { +"description": "Subset of NodeConfig message that has defaults.", +"id": "NodeConfigDefaults", +"properties": { +"containerdConfig": { +"$ref": "ContainerdConfig", +"description": "Parameters for containerd customization." +}, +"gcfsConfig": { +"$ref": "GcfsConfig", +"description": "GCFS (Google Container File System, also known as Riptide) options." +}, +"hostMaintenancePolicy": { +"$ref": "HostMaintenancePolicy", +"description": "HostMaintenancePolicy contains the desired maintenance policy for the Google Compute Engine hosts." +}, +"loggingConfig": { +"$ref": "NodePoolLoggingConfig", +"description": "Logging configuration for node pools." +}, +"nodeKubeletConfig": { +"$ref": "NodeKubeletConfig", +"description": "NodeKubeletConfig controls the defaults for new node-pools. Currently only `insecure_kubelet_readonly_port_enabled` can be set here." +} +}, +"type": "object" +}, +"NodeDrainConfig": { +"description": "NodeDrainConfig contains the node drain related configurations for this nodepool.", +"id": "NodeDrainConfig", +"properties": { +"respectPdbDuringNodePoolDeletion": { +"description": "Whether to respect PDB during node pool deletion.", +"type": "boolean" +} +}, +"type": "object" +}, +"NodeKernelModuleLoading": { +"description": "Configuration for kernel module loading on nodes.", +"id": "NodeKernelModuleLoading", +"properties": { +"policy": { +"description": "Set the node module loading policy for nodes in the node pool.", +"enum": [ +"POLICY_UNSPECIFIED", +"ENFORCE_SIGNED_MODULES", +"DO_NOT_ENFORCE_SIGNED_MODULES" +], +"enumDescriptions": [ +"Default behavior. GKE selects the image based on node type. For CPU and TPU nodes, the image will not allow loading external kernel modules. For GPU nodes, the image will allow loading any module, whether it is signed or not.", +"Enforced signature verification: Node pools will use a Container-Optimized OS image configured to allow loading of *Google-signed* external kernel modules. Loadpin is enabled but configured to exclude modules, and kernel module signature checking is enforced.", +"Mirrors existing DEFAULT behavior: For CPU and TPU nodes, the image will not allow loading external kernel modules. For GPU nodes, the image will allow loading any module, whether it is signed or not." +], +"type": "string" +} +}, +"type": "object" +}, +"NodeKubeletConfig": { +"description": "Node kubelet configs.", +"id": "NodeKubeletConfig", +"properties": { +"allowedUnsafeSysctls": { +"description": "Optional. Defines a comma-separated allowlist of unsafe sysctls or sysctl patterns (ending in `*`). The unsafe namespaced sysctl groups are `kernel.shm*`, `kernel.msg*`, `kernel.sem`, `fs.mqueue.*`, and `net.*`. Leaving this allowlist empty means they cannot be set on Pods. To allow certain sysctls or sysctl patterns to be set on Pods, list them separated by commas. For example: `kernel.msg*,net.ipv4.route.min_pmtu`. See https://kubernetes.io/docs/tasks/administer-cluster/sysctl-cluster/ for more details.", +"items": { +"type": "string" +}, +"type": "array" +}, +"containerLogMaxFiles": { +"description": "Optional. Defines the maximum number of container log files that can be present for a container. See https://kubernetes.io/docs/concepts/cluster-administration/logging/#log-rotation The value must be an integer between 2 and 10, inclusive. The default value is 5 if unspecified.", +"format": "int32", +"type": "integer" +}, +"containerLogMaxSize": { +"description": "Optional. Defines the maximum size of the container log file before it is rotated. See https://kubernetes.io/docs/concepts/cluster-administration/logging/#log-rotation Valid format is positive number + unit, e.g. 100Ki, 10Mi. Valid units are Ki, Mi, Gi. The value must be between 10Mi and 500Mi, inclusive. Note that the total container log size (container_log_max_size * container_log_max_files) cannot exceed 1% of the total storage of the node, to avoid disk pressure caused by log files. The default value is 10Mi if unspecified.", +"type": "string" +}, +"cpuCfsQuota": { +"description": "Enable CPU CFS quota enforcement for containers that specify CPU limits. This option is enabled by default which makes kubelet use CFS quota (https://www.kernel.org/doc/Documentation/scheduler/sched-bwc.txt) to enforce container CPU limits. Otherwise, CPU limits will not be enforced at all. Disable this option to mitigate CPU throttling problems while still having your pods to be in Guaranteed QoS class by specifying the CPU limits. The default value is 'true' if unspecified.", +"type": "boolean" +}, +"cpuCfsQuotaPeriod": { +"description": "Set the CPU CFS quota period value 'cpu.cfs_period_us'. The string must be a sequence of decimal numbers, each with optional fraction and a unit suffix, such as \"300ms\". Valid time units are \"ns\", \"us\" (or \"\u00b5s\"), \"ms\", \"s\", \"m\", \"h\". The value must be a positive duration between 1ms and 1 second, inclusive.", +"type": "string" +}, +"cpuManagerPolicy": { +"description": "Control the CPU management policy on the node. See https://kubernetes.io/docs/tasks/administer-cluster/cpu-management-policies/ The following values are allowed. * \"none\": the default, which represents the existing scheduling behavior. * \"static\": allows pods with certain resource characteristics to be granted increased CPU affinity and exclusivity on the node. The default value is 'none' if unspecified.", +"type": "string" +}, +"crashLoopBackOff": { +"$ref": "CrashLoopBackOffConfig", +"description": "Optional. Contains configuration options to modify node-level parameters for container restart behavior." +}, +"evictionMaxPodGracePeriodSeconds": { +"description": "Optional. eviction_max_pod_grace_period_seconds is the maximum allowed grace period (in seconds) to use when terminating pods in response to a soft eviction threshold being met. This value effectively caps the Pod's terminationGracePeriodSeconds value during soft evictions. Default: 0. Range: [0, 300].", +"format": "int32", +"type": "integer" +}, +"evictionMinimumReclaim": { +"$ref": "EvictionMinimumReclaim", +"description": "Optional. eviction_minimum_reclaim is a map of signal names to quantities that defines minimum reclaims, which describe the minimum amount of a given resource the kubelet will reclaim when performing a pod eviction while that resource is under pressure." +}, +"evictionSoft": { +"$ref": "EvictionSignals", +"description": "Optional. eviction_soft is a map of signal names to quantities that defines soft eviction thresholds. Each signal is compared to its corresponding threshold to determine if a pod eviction should occur." +}, +"evictionSoftGracePeriod": { +"$ref": "EvictionGracePeriod", +"description": "Optional. eviction_soft_grace_period is a map of signal names to quantities that defines grace periods for each soft eviction signal. The grace period is the amount of time that a pod must be under pressure before an eviction occurs." +}, +"imageGcHighThresholdPercent": { +"description": "Optional. Defines the percent of disk usage after which image garbage collection is always run. The percent is calculated as this field value out of 100. The value must be between 10 and 85, inclusive and greater than image_gc_low_threshold_percent. The default value is 85 if unspecified.", +"format": "int32", +"type": "integer" +}, +"imageGcLowThresholdPercent": { +"description": "Optional. Defines the percent of disk usage before which image garbage collection is never run. Lowest disk usage to garbage collect to. The percent is calculated as this field value out of 100. The value must be between 10 and 85, inclusive and smaller than image_gc_high_threshold_percent. The default value is 80 if unspecified.", +"format": "int32", +"type": "integer" +}, +"imageMaximumGcAge": { +"description": "Optional. Defines the maximum age an image can be unused before it is garbage collected. The string must be a sequence of decimal numbers, each with optional fraction and a unit suffix, such as \"300s\", \"1.5h\", and \"2h45m\". Valid time units are \"ns\", \"us\" (or \"\u00b5s\"), \"ms\", \"s\", \"m\", \"h\". The value must be a positive duration greater than image_minimum_gc_age or \"0s\". The default value is \"0s\" if unspecified, which disables this field, meaning images won't be garbage collected based on being unused for too long.", +"type": "string" +}, +"imageMinimumGcAge": { +"description": "Optional. Defines the minimum age for an unused image before it is garbage collected. The string must be a sequence of decimal numbers, each with optional fraction and a unit suffix, such as \"300s\", \"1.5h\", and \"2h45m\". Valid time units are \"ns\", \"us\" (or \"\u00b5s\"), \"ms\", \"s\", \"m\", \"h\". The value must be a positive duration less than or equal to 2 minutes. The default value is \"2m0s\" if unspecified.", +"type": "string" +}, +"insecureKubeletReadonlyPortEnabled": { +"description": "Enable or disable Kubelet read only port.", +"type": "boolean" +}, +"maxParallelImagePulls": { +"description": "Optional. Defines the maximum number of image pulls in parallel. The range is 2 to 5, inclusive. The default value is 2 or 3 depending on the disk type. See https://kubernetes.io/docs/concepts/containers/images/#maximum-parallel-image-pulls for more details.", +"format": "int32", +"type": "integer" +}, +"memoryManager": { +"$ref": "MemoryManager", +"description": "Optional. Controls NUMA-aware Memory Manager configuration on the node. For more information, see: https://kubernetes.io/docs/tasks/administer-cluster/memory-manager/" +}, +"podPidsLimit": { +"description": "Set the Pod PID limits. See https://kubernetes.io/docs/concepts/policy/pid-limiting/#pod-pid-limits Controls the maximum number of processes allowed to run in a pod. The value must be greater than or equal to 1024 and less than 4194304.", +"format": "int64", +"type": "string" +}, +"shutdownGracePeriodCriticalPodsSeconds": { +"description": "Optional. shutdown_grace_period_critical_pods_seconds is the maximum allowed grace period (in seconds) used to terminate critical pods during a node shutdown. This value should be <= shutdown_grace_period_seconds, and is only valid if shutdown_grace_period_seconds is set. https://kubernetes.io/docs/concepts/cluster-administration/node-shutdown/ Range: [0, 120].", +"format": "int32", +"type": "integer" +}, +"shutdownGracePeriodSeconds": { +"description": "Optional. shutdown_grace_period_seconds is the maximum allowed grace period (in seconds) the total duration that the node should delay the shutdown during a graceful shutdown. This is the total grace period for pod termination for both regular and critical pods. https://kubernetes.io/docs/concepts/cluster-administration/node-shutdown/ If set to 0, node will not enable the graceful node shutdown functionality. This field is only valid for Spot VMs. Allowed values: 0, 30, 120.", +"format": "int32", +"type": "integer" +}, +"singleProcessOomKill": { +"description": "Optional. Defines whether to enable single process OOM killer. If true, will prevent the memory.oom.group flag from being set for container cgroups in cgroups v2. This causes processes in the container to be OOM killed individually instead of as a group.", +"type": "boolean" +}, +"topologyManager": { +"$ref": "TopologyManager", +"description": "Optional. Controls Topology Manager configuration on the node. For more information, see: https://kubernetes.io/docs/tasks/administer-cluster/topology-manager/" +} +}, +"type": "object" +}, +"NodeLabels": { +"description": "Collection of node-level [Kubernetes labels](https://kubernetes.io/docs/concepts/overview/working-with-objects/labels).", +"id": "NodeLabels", +"properties": { +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Map of node label keys and node label values.", +"type": "object" +} +}, +"type": "object" +}, +"NodeManagement": { +"description": "NodeManagement defines the set of node management services turned on for the node pool.", +"id": "NodeManagement", +"properties": { +"autoRepair": { +"description": "Whether the nodes will be automatically repaired.", +"type": "boolean" +}, +"autoUpgrade": { +"description": "Whether the nodes will be automatically upgraded.", +"type": "boolean" +}, +"upgradeOptions": { +"$ref": "AutoUpgradeOptions", +"description": "Specifies the Auto Upgrade knobs for the node pool." +} +}, +"type": "object" +}, +"NodeNetworkConfig": { +"description": "Parameters for node pool-level network config.", +"id": "NodeNetworkConfig", +"properties": { +"acceleratorNetworkProfile": { +"description": "Immutable. The accelerator network profile for the node pool. For now the only valid value is \"auto\". If specified, the network configuration of the nodes in this node pool will be managed by this profile for the supported machine types, zone, etc.", +"type": "string" +}, +"additionalNodeNetworkConfigs": { +"description": "We specify the additional node networks for this node pool using this list. Each node network corresponds to an additional interface", +"items": { +"$ref": "AdditionalNodeNetworkConfig" +}, +"type": "array" +}, +"additionalPodNetworkConfigs": { +"description": "We specify the additional pod networks for this node pool using this list. Each pod network corresponds to an additional alias IP range for the node", +"items": { +"$ref": "AdditionalPodNetworkConfig" +}, +"type": "array" +}, +"createPodRange": { +"description": "Input only. Whether to create a new range for pod IPs in this node pool. Defaults are provided for `pod_range` and `pod_ipv4_cidr_block` if they are not specified. If neither `create_pod_range` or `pod_range` are specified, the cluster-level default (`ip_allocation_policy.cluster_ipv4_cidr_block`) is used. Only applicable if `ip_allocation_policy.use_ip_aliases` is true. This field cannot be changed after the node pool has been created.", +"type": "boolean" +}, +"enablePrivateNodes": { +"description": "Whether nodes have internal IP addresses only. If enable_private_nodes is not specified, then the value is derived from Cluster.NetworkConfig.default_enable_private_nodes", +"type": "boolean" +}, +"networkPerformanceConfig": { +"$ref": "NetworkPerformanceConfig", +"description": "Network bandwidth tier configuration." +}, +"networkTierConfig": { +"$ref": "NetworkTierConfig", +"description": "Output only. The network tier configuration for the node pool inherits from the cluster-level configuration and remains immutable throughout the node pool's lifecycle, including during upgrades.", +"readOnly": true +}, +"podCidrOverprovisionConfig": { +"$ref": "PodCIDROverprovisionConfig", +"description": "[PRIVATE FIELD] Pod CIDR size overprovisioning config for the nodepool. Pod CIDR size per node depends on max_pods_per_node. By default, the value of max_pods_per_node is rounded off to next power of 2 and we then double that to get the size of pod CIDR block per node. Example: max_pods_per_node of 30 would result in 64 IPs (/26). This config can disable the doubling of IPs (we still round off to next power of 2) Example: max_pods_per_node of 30 will result in 32 IPs (/27) when overprovisioning is disabled." +}, +"podIpv4CidrBlock": { +"description": "The IP address range for pod IPs in this node pool. Only applicable if `create_pod_range` is true. Set to blank to have a range chosen with the default size. Set to /netmask (e.g. `/14`) to have a range chosen with a specific netmask. Set to a [CIDR](https://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing) notation (e.g. `10.96.0.0/14`) to pick a specific range to use. Only applicable if `ip_allocation_policy.use_ip_aliases` is true. This field cannot be changed after the node pool has been created.", +"type": "string" +}, +"podIpv4RangeUtilization": { +"description": "Output only. The utilization of the IPv4 range for the pod. The ratio is Usage/[Total number of IPs in the secondary range], Usage=numNodes*numZones*podIPsPerNode.", +"format": "double", +"readOnly": true, +"type": "number" +}, +"podRange": { +"description": "The ID of the secondary range for pod IPs. If `create_pod_range` is true, this ID is used for the new range. If `create_pod_range` is false, uses an existing secondary range with this ID. Only applicable if `ip_allocation_policy.use_ip_aliases` is true. This field cannot be changed after the node pool has been created.", +"type": "string" +}, +"subnetwork": { +"description": "Optional. The subnetwork name/path for the node pool. Format: projects/{project}/regions/{region}/subnetworks/{subnetwork} If the cluster is associated with multiple subnetworks, the subnetwork can be either: - A user supplied subnetwork name during node pool creation (e.g., `my-subnet`). The name must be between 1 and 63 characters long, start with a letter, contain only letters, numbers, and hyphens, and end with a letter or a number. - A full subnetwork path during node pool creation, such as `projects/gke-project/regions/us-central1/subnetworks/my-subnet` - A subnetwork path picked based on the IP utilization during node pool creation and is immutable.", +"type": "string" +} +}, +"type": "object" +}, +"NodePool": { +"description": "NodePool contains the name and configuration for a cluster's node pool. Node pools are a set of nodes (i.e. VM's), with a common configuration and specification, under the control of the cluster master. They may have a set of Kubernetes labels applied to them, which may be used to reference them during pod scheduling. They may also be resized up or down, to accommodate the workload.", +"id": "NodePool", +"properties": { +"autopilotConfig": { +"$ref": "AutopilotConfig", +"description": "Specifies the autopilot configuration for this node pool. This field is exclusively reserved for Cluster Autoscaler." +}, +"autoscaling": { +"$ref": "NodePoolAutoscaling", +"description": "Autoscaler configuration for this NodePool. Autoscaler is enabled only if a valid configuration is present." +}, +"bestEffortProvisioning": { +"$ref": "BestEffortProvisioning", +"description": "Enable best effort provisioning for nodes" +}, +"conditions": { +"description": "Which conditions caused the current node pool state.", +"items": { +"$ref": "StatusCondition" +}, +"type": "array" +}, +"config": { +"$ref": "NodeConfig", +"description": "The node configuration of the pool." +}, +"etag": { +"description": "This checksum is computed by the server based on the value of node pool fields, and may be sent on update requests to ensure the client has an up-to-date value before proceeding.", +"type": "string" +}, +"initialNodeCount": { +"description": "The initial node count for the pool. You must ensure that your Compute Engine [resource quota](https://cloud.google.com/compute/quotas) is sufficient for this number of instances. You must also have available firewall and routes quota.", +"format": "int32", +"type": "integer" +}, +"instanceGroupUrls": { +"description": "Output only. The resource URLs of the [managed instance groups](https://cloud.google.com/compute/docs/instance-groups/creating-groups-of-managed-instances) associated with this node pool. During the node pool blue-green upgrade operation, the URLs contain both blue and green resources.", +"items": { +"type": "string" +}, +"readOnly": true, +"type": "array" +}, +"locations": { +"description": "The list of Google Compute Engine [zones](https://cloud.google.com/compute/docs/zones#available) in which the NodePool's nodes should be located. If this value is unspecified during node pool creation, the [Cluster.Locations](https://cloud.google.com/kubernetes-engine/docs/reference/rest/v1/projects.locations.clusters#Cluster.FIELDS.locations) value will be used, instead. Warning: changing node pool locations will result in nodes being added and/or removed.", +"items": { +"type": "string" +}, +"type": "array" +}, +"management": { +"$ref": "NodeManagement", +"description": "NodeManagement configuration for this NodePool." +}, +"maxPodsConstraint": { +"$ref": "MaxPodsConstraint", +"description": "The constraint on the maximum number of pods that can be run simultaneously on a node in the node pool." +}, +"name": { +"description": "The name of the node pool.", +"type": "string" +}, +"networkConfig": { +"$ref": "NodeNetworkConfig", +"description": "Networking configuration for this NodePool. If specified, it overrides the cluster-level defaults." +}, +"nodeDrainConfig": { +"$ref": "NodeDrainConfig", +"description": "Specifies the node drain configuration for this node pool." +}, +"placementPolicy": { +"$ref": "PlacementPolicy", +"description": "Specifies the node placement policy." +}, +"podIpv4CidrSize": { +"description": "Output only. The pod CIDR block size per node in this node pool.", +"format": "int32", +"readOnly": true, +"type": "integer" +}, +"queuedProvisioning": { +"$ref": "QueuedProvisioning", +"description": "Specifies the configuration of queued provisioning." +}, +"selfLink": { +"description": "Output only. Server-defined URL for the resource.", +"readOnly": true, +"type": "string" +}, +"status": { +"description": "Output only. The status of the nodes in this pool instance.", +"enum": [ +"STATUS_UNSPECIFIED", +"PROVISIONING", +"RUNNING", +"RUNNING_WITH_ERROR", +"RECONCILING", +"STOPPING", +"ERROR" +], +"enumDescriptions": [ +"Not set.", +"The PROVISIONING state indicates the node pool is being created.", +"The RUNNING state indicates the node pool has been created and is fully usable.", +"The RUNNING_WITH_ERROR state indicates the node pool has been created and is partially usable. Some error state has occurred and some functionality may be impaired. Customer may need to reissue a request or trigger a new update.", +"The RECONCILING state indicates that some work is actively being done on the node pool, such as upgrading node software. Details can be found in the `statusMessage` field.", +"The STOPPING state indicates the node pool is being deleted.", +"The ERROR state indicates the node pool may be unusable. Details can be found in the `statusMessage` field." +], +"readOnly": true, +"type": "string" +}, +"statusMessage": { +"deprecated": true, +"description": "Output only. Deprecated. Use conditions instead. Additional information about the current status of this node pool instance, if available.", +"readOnly": true, +"type": "string" +}, +"updateInfo": { +"$ref": "UpdateInfo", +"description": "Output only. Update info contains relevant information during a node pool update.", +"readOnly": true +}, +"upgradeSettings": { +"$ref": "UpgradeSettings", +"description": "Upgrade settings control disruption and speed of the upgrade." +}, +"version": { +"description": "The version of Kubernetes running on this NodePool's nodes. If unspecified, it defaults as described [here](https://cloud.google.com/kubernetes-engine/versioning#specifying_node_version).", +"type": "string" +} +}, +"type": "object" +}, +"NodePoolAutoConfig": { +"description": "node pool configs that apply to all auto-provisioned node pools in autopilot clusters and node auto-provisioning enabled clusters", +"id": "NodePoolAutoConfig", +"properties": { +"linuxNodeConfig": { +"$ref": "LinuxNodeConfig", +"description": "Output only. Configuration options for Linux nodes.", +"readOnly": true +}, +"networkTags": { +"$ref": "NetworkTags", +"description": "The list of instance tags applied to all nodes. Tags are used to identify valid sources or targets for network firewalls and are specified by the client during cluster creation. Each tag within the list must comply with RFC1035." +}, +"nodeKubeletConfig": { +"$ref": "NodeKubeletConfig", +"description": "NodeKubeletConfig controls the defaults for autoprovisioned node-pools. Currently only `insecure_kubelet_readonly_port_enabled` can be set here." +}, +"resourceManagerTags": { +"$ref": "ResourceManagerTags", +"description": "Resource manager tag keys and values to be attached to the nodes for managing Compute Engine firewalls using Network Firewall Policies." +} +}, +"type": "object" +}, +"NodePoolAutoscaling": { +"description": "NodePoolAutoscaling contains information required by cluster autoscaler to adjust the size of the node pool to the current cluster usage.", +"id": "NodePoolAutoscaling", +"properties": { +"autoprovisioned": { +"description": "Can this node pool be deleted automatically.", +"type": "boolean" +}, +"enabled": { +"description": "Is autoscaling enabled for this node pool.", +"type": "boolean" +}, +"locationPolicy": { +"description": "Location policy used when scaling up a nodepool.", +"enum": [ +"LOCATION_POLICY_UNSPECIFIED", +"BALANCED", +"ANY" +], +"enumDescriptions": [ +"Not set.", +"BALANCED is a best effort policy that aims to balance the sizes of different zones.", +"ANY policy picks zones that have the highest capacity available." +], +"type": "string" +}, +"maxNodeCount": { +"description": "Maximum number of nodes for one location in the node pool. Must be >= min_node_count. There has to be enough quota to scale up the cluster.", +"format": "int32", +"type": "integer" +}, +"minNodeCount": { +"description": "Minimum number of nodes for one location in the node pool. Must be greater than or equal to 0 and less than or equal to max_node_count.", +"format": "int32", +"type": "integer" +}, +"totalMaxNodeCount": { +"description": "Maximum number of nodes in the node pool. Must be greater than or equal to total_min_node_count. There has to be enough quota to scale up the cluster. The total_*_node_count fields are mutually exclusive with the *_node_count fields.", +"format": "int32", +"type": "integer" +}, +"totalMinNodeCount": { +"description": "Minimum number of nodes in the node pool. Must be greater than or equal to 0 and less than or equal to total_max_node_count. The total_*_node_count fields are mutually exclusive with the *_node_count fields.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"NodePoolDefaults": { +"description": "Subset of Nodepool message that has defaults.", +"id": "NodePoolDefaults", +"properties": { +"nodeConfigDefaults": { +"$ref": "NodeConfigDefaults", +"description": "Subset of NodeConfig message that has defaults." +} +}, +"type": "object" +}, +"NodePoolLoggingConfig": { +"description": "NodePoolLoggingConfig specifies logging configuration for nodepools.", +"id": "NodePoolLoggingConfig", +"properties": { +"variantConfig": { +"$ref": "LoggingVariantConfig", +"description": "Logging variant configuration." +} +}, +"type": "object" +}, +"NodePoolUpgradeInfo": { +"description": "NodePoolUpgradeInfo contains the upgrade information of a nodepool.", +"id": "NodePoolUpgradeInfo", +"properties": { +"autoUpgradeStatus": { +"description": "The auto upgrade status.", +"items": { +"enum": [ +"UNKNOWN", +"ACTIVE", +"MINOR_UPGRADE_PAUSED", +"UPGRADE_PAUSED" +], +"enumDescriptions": [ +"UNKNOWN indicates an unknown status.", +"ACTIVE indicates an active status.", +"MINOR_UPGRADE_PAUSED indicates the minor version upgrade is paused.", +"UPGRADE_PAUSED indicates the upgrade is paused." +], +"type": "string" +}, +"type": "array" +}, +"endOfExtendedSupportTimestamp": { +"description": "The nodepool's current minor version's end of extended support timestamp.", +"type": "string" +}, +"endOfStandardSupportTimestamp": { +"description": "The nodepool's current minor version's end of standard support timestamp.", +"type": "string" +}, +"minorTargetVersion": { +"description": "minor_target_version indicates the target version for minor upgrade.", +"type": "string" +}, +"patchTargetVersion": { +"description": "patch_target_version indicates the target version for patch upgrade.", +"type": "string" +}, +"pausedReason": { +"description": "The auto upgrade paused reason.", +"items": { +"enum": [ +"AUTO_UPGRADE_PAUSED_REASON_UNSPECIFIED", +"MAINTENANCE_WINDOW", +"MAINTENANCE_EXCLUSION_NO_UPGRADES", +"MAINTENANCE_EXCLUSION_NO_MINOR_UPGRADES", +"SYSTEM_CONFIG" +], +"enumDescriptions": [ +"AUTO_UPGRADE_PAUSED_REASON_UNSPECIFIED indicates an unspecified reason.", +"MAINTENANCE_WINDOW indicates the cluster is outside customer maintenance window.", +"MAINTENANCE_EXCLUSION_NO_UPGRADES indicates the cluster is in a maintenance exclusion with scope NO_UPGRADES.", +"MAINTENANCE_EXCLUSION_NO_MINOR_UPGRADES indicates the cluster is in a maintenance exclusion with scope NO_MINOR_UPGRADES.", +"SYSTEM_CONFIG indicates the cluster upgrade is paused by system config." +], +"type": "string" +}, +"type": "array" +}, +"upgradeDetails": { +"description": "The list of past auto upgrades.", +"items": { +"$ref": "UpgradeDetails" +}, +"type": "array" +} +}, +"type": "object" +}, +"NodeTaint": { +"description": "Kubernetes taint is composed of three fields: key, value, and effect. Effect can only be one of three types: NoSchedule, PreferNoSchedule or NoExecute. See [here](https://kubernetes.io/docs/concepts/configuration/taint-and-toleration) for more information, including usage and the valid values.", +"id": "NodeTaint", +"properties": { +"effect": { +"description": "Effect for taint.", +"enum": [ +"EFFECT_UNSPECIFIED", +"NO_SCHEDULE", +"PREFER_NO_SCHEDULE", +"NO_EXECUTE" +], +"enumDescriptions": [ +"Not set", +"NoSchedule", +"PreferNoSchedule", +"NoExecute" +], +"type": "string" +}, +"key": { +"description": "Key for taint.", +"type": "string" +}, +"value": { +"description": "Value for taint.", +"type": "string" +} +}, +"type": "object" +}, +"NodeTaints": { +"description": "Collection of Kubernetes [node taints](https://kubernetes.io/docs/concepts/configuration/taint-and-toleration).", +"id": "NodeTaints", +"properties": { +"taints": { +"description": "List of node taints.", +"items": { +"$ref": "NodeTaint" +}, +"type": "array" +} +}, +"type": "object" +}, +"NotificationConfig": { +"description": "NotificationConfig is the configuration of notifications.", +"id": "NotificationConfig", +"properties": { +"pubsub": { +"$ref": "PubSub", +"description": "Notification config for Pub/Sub." +} +}, +"type": "object" +}, +"Operation": { +"description": "This operation resource represents operations that may have happened or are happening on the cluster. All fields are output only.", +"id": "Operation", +"properties": { +"clusterConditions": { +"deprecated": true, +"description": "Which conditions caused the current cluster state. Deprecated. Use field error instead.", +"items": { +"$ref": "StatusCondition" +}, +"type": "array" +}, +"detail": { +"description": "Output only. Detailed operation progress, if available.", +"readOnly": true, +"type": "string" +}, +"endTime": { +"description": "Output only. The time the operation completed, in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.", +"readOnly": true, +"type": "string" +}, +"error": { +"$ref": "Status", +"description": "The error result of the operation in case of failure." +}, +"location": { +"description": "Output only. The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/regions-zones/regions-zones#available) or [region](https://cloud.google.com/compute/docs/regions-zones/regions-zones#available) in which the cluster resides.", +"readOnly": true, +"type": "string" +}, +"name": { +"description": "Output only. The server-assigned ID for the operation.", +"readOnly": true, +"type": "string" +}, +"nodepoolConditions": { +"deprecated": true, +"description": "Which conditions caused the current node pool state. Deprecated. Use field error instead.", +"items": { +"$ref": "StatusCondition" +}, +"type": "array" +}, +"operationType": { +"description": "Output only. The operation type.", +"enum": [ +"TYPE_UNSPECIFIED", +"CREATE_CLUSTER", +"DELETE_CLUSTER", +"UPGRADE_MASTER", +"UPGRADE_NODES", +"REPAIR_CLUSTER", +"UPDATE_CLUSTER", +"CREATE_NODE_POOL", +"DELETE_NODE_POOL", +"SET_NODE_POOL_MANAGEMENT", +"AUTO_REPAIR_NODES", +"AUTO_UPGRADE_NODES", +"SET_LABELS", +"SET_MASTER_AUTH", +"SET_NODE_POOL_SIZE", +"SET_NETWORK_POLICY", +"SET_MAINTENANCE_POLICY", +"RESIZE_CLUSTER", +"FLEET_FEATURE_UPGRADE" +], +"enumDeprecated": [ +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +true, +true, +true, +false, +true, +true, +false, +false +], +"enumDescriptions": [ +"Not set.", +"The cluster is being created. The cluster should be assumed to be unusable until the operation finishes. In the event of the operation failing, the cluster will enter the ERROR state and eventually be deleted.", +"The cluster is being deleted. The cluster should be assumed to be unusable as soon as this operation starts. In the event of the operation failing, the cluster will enter the ERROR state and the deletion will be automatically retried until completed.", +"The cluster version is being updated. Note that this includes \"upgrades\" to the same version, which are simply a recreation. This also includes [auto-upgrades](https://cloud.google.com/kubernetes-engine/docs/concepts/cluster-upgrades#upgrading_automatically). For more details, see [documentation on cluster upgrades](https://cloud.google.com/kubernetes-engine/docs/concepts/cluster-upgrades#cluster_upgrades).", +"A node pool is being updated. Despite calling this an \"upgrade\", this includes most forms of updates to node pools. This also includes [auto-upgrades](https://cloud.google.com/kubernetes-engine/docs/how-to/node-auto-upgrades). This operation sets the progress field and may be canceled. The upgrade strategy depends on [node pool configuration](https://cloud.google.com/kubernetes-engine/docs/concepts/node-pool-upgrade-strategies). The nodes are generally still usable during this operation.", +"A problem has been detected with the control plane and is being repaired. This operation type is initiated by GKE. For more details, see [documentation on repairs](https://cloud.google.com/kubernetes-engine/docs/concepts/maintenance-windows-and-exclusions#repairs).", +"The cluster is being updated. This is a broad category of operations and includes operations that only change metadata as well as those that must recreate the entire cluster. If the control plane must be recreated, this will cause temporary downtime for zonal clusters. Some features require recreating the nodes as well. Those will be recreated as separate operations and the update may not be completely functional until the node pools recreations finish. Node recreations will generally follow [maintenance policies](https://cloud.google.com/kubernetes-engine/docs/concepts/maintenance-windows-and-exclusions). Some GKE-initiated operations use this type. This includes certain types of auto-upgrades and incident mitigations.", +"A node pool is being created. The node pool should be assumed to be unusable until this operation finishes. In the event of an error, the node pool may be partially created. If enabled, [node autoprovisioning](https://cloud.google.com/kubernetes-engine/docs/how-to/node-auto-provisioning) may have automatically initiated such operations.", +"The node pool is being deleted. The node pool should be assumed to be unusable as soon as this operation starts.", +"The node pool's manamagent field is being updated. These operations only update metadata and may be concurrent with most other operations.", +"A problem has been detected with nodes and [they are being repaired](https://cloud.google.com/kubernetes-engine/docs/how-to/node-auto-repair). This operation type is initiated by GKE, typically automatically. This operation may be concurrent with other operations and there may be multiple repairs occurring on the same node pool.", +"Unused. Automatic node upgrade uses UPGRADE_NODES.", +"Unused. Updating labels uses UPDATE_CLUSTER.", +"Unused. Updating master auth uses UPDATE_CLUSTER.", +"The node pool is being resized. With the exception of resizing to or from size zero, the node pool is generally usable during this operation.", +"Unused. Updating network policy uses UPDATE_CLUSTER.", +"Unused. Updating maintenance policy uses UPDATE_CLUSTER.", +"The control plane is being resized. This operation type is initiated by GKE. These operations are often performed preemptively to ensure that the control plane has sufficient resources and is not typically an indication of issues. For more details, see [documentation on resizes](https://cloud.google.com/kubernetes-engine/docs/concepts/maintenance-windows-and-exclusions#repairs).", +"Fleet features of GKE Enterprise are being upgraded. The cluster should be assumed to be blocked for other upgrades until the operation finishes." +], +"readOnly": true, +"type": "string" +}, +"progress": { +"$ref": "OperationProgress", +"description": "Output only. Progress information for an operation.", +"readOnly": true +}, +"selfLink": { +"description": "Output only. Server-defined URI for the operation. Example: `https://container.googleapis.com/v1alpha1/projects/123/locations/us-central1/operations/operation-123`.", +"readOnly": true, +"type": "string" +}, +"startTime": { +"description": "Output only. The time the operation started, in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.", +"readOnly": true, +"type": "string" +}, +"status": { +"description": "Output only. The current status of the operation.", +"enum": [ +"STATUS_UNSPECIFIED", +"PENDING", +"RUNNING", +"DONE", +"ABORTING" +], +"enumDescriptions": [ +"Not set.", +"The operation has been created.", +"The operation is currently running.", +"The operation is done, either cancelled or completed.", +"The operation is aborting." +], +"readOnly": true, +"type": "string" +}, +"statusMessage": { +"deprecated": true, +"description": "Output only. If an error has occurred, a textual description of the error. Deprecated. Use field error instead.", +"readOnly": true, +"type": "string" +}, +"targetLink": { +"description": "Output only. Server-defined URI for the target of the operation. The format of this is a URI to the resource being modified (such as a cluster, node pool, or node). For node pool repairs, there may be multiple nodes being repaired, but only one will be the target. Examples: - ## `https://container.googleapis.com/v1/projects/123/locations/us-central1/clusters/my-cluster` ## `https://container.googleapis.com/v1/projects/123/zones/us-central1-c/clusters/my-cluster/nodePools/my-np` `https://container.googleapis.com/v1/projects/123/zones/us-central1-c/clusters/my-cluster/nodePools/my-np/node/my-node`", +"readOnly": true, +"type": "string" +}, +"zone": { +"deprecated": true, +"description": "Output only. The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/zones#available) in which the operation is taking place. This field is deprecated, use location instead.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"OperationError": { +"description": "OperationError records errors seen from CloudKMS keys encountered during updates to DatabaseEncryption configuration.", +"id": "OperationError", +"properties": { +"errorMessage": { +"description": "Description of the error seen during the operation.", +"type": "string" +}, +"keyName": { +"description": "CloudKMS key resource that had the error.", +"type": "string" +}, +"timestamp": { +"description": "Time when the CloudKMS error was seen.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"OperationProgress": { +"description": "Information about operation (or operation stage) progress.", +"id": "OperationProgress", +"properties": { +"metrics": { +"description": "Progress metric bundle, for example: metrics: [{name: \"nodes done\", int_value: 15}, {name: \"nodes total\", int_value: 32}] or metrics: [{name: \"progress\", double_value: 0.56}, {name: \"progress scale\", double_value: 1.0}]", +"items": { +"$ref": "Metric" +}, +"type": "array" +}, +"name": { +"description": "A non-parameterized string describing an operation stage. Unset for single-stage operations.", +"type": "string" +}, +"stages": { +"description": "Substages of an operation or a stage.", +"items": { +"$ref": "OperationProgress" +}, +"type": "array" +}, +"status": { +"description": "Status of an operation stage. Unset for single-stage operations.", +"enum": [ +"STATUS_UNSPECIFIED", +"PENDING", +"RUNNING", +"DONE", +"ABORTING" +], +"enumDescriptions": [ +"Not set.", +"The operation has been created.", +"The operation is currently running.", +"The operation is done, either cancelled or completed.", +"The operation is aborting." +], +"type": "string" +} +}, +"type": "object" +}, +"OpportunisticMaintenanceStrategy": { +"description": "Strategy that will trigger maintenance on behalf of the customer.", +"id": "OpportunisticMaintenanceStrategy", +"properties": { +"maintenanceAvailabilityWindow": { +"description": "The window of time that opportunistic maintenance can run. Example: A setting of 14 days implies that opportunistic maintenance can only be ran in the 2 weeks leading up to the scheduled maintenance date. Setting 28 days allows opportunistic maintenance to run at any time in the scheduled maintenance window (all `PERIODIC` maintenance is set 28 days in advance).", +"format": "google-duration", +"type": "string" +}, +"minNodesPerPool": { +"description": "The minimum nodes required to be available in a pool. Blocks maintenance if it would cause the number of running nodes to dip below this value.", +"format": "int64", +"type": "string" +}, +"nodeIdleTimeWindow": { +"description": "The amount of time that a node can remain idle (no customer owned workloads running), before triggering maintenance.", +"format": "google-duration", +"type": "string" +} +}, +"type": "object" +}, +"ParallelstoreCsiDriverConfig": { +"description": "Configuration for the Cloud Storage Parallelstore CSI driver.", +"id": "ParallelstoreCsiDriverConfig", +"properties": { +"enabled": { +"description": "Whether the Cloud Storage Parallelstore CSI driver is enabled for this cluster.", +"type": "boolean" +} +}, +"type": "object" +}, +"ParentProductConfig": { +"description": "ParentProductConfig is the configuration of the parent product of the cluster. This field is used by Google internal products that are built on top of a GKE cluster and take the ownership of the cluster.", +"id": "ParentProductConfig", +"properties": { +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Labels contain the configuration of the parent product.", +"type": "object" +}, +"productName": { +"description": "Name of the parent product associated with the cluster.", +"type": "string" +} +}, +"type": "object" +}, +"PdbBlockedPod": { +"description": "The namespace/name of the pod whose eviction is blocked by PDB.", +"id": "PdbBlockedPod", +"properties": { +"name": { +"description": "The name of the pod.", +"type": "string" +}, +"namespace": { +"description": "The namespace of the pod.", +"type": "string" +} +}, +"type": "object" +}, +"PlacementPolicy": { +"description": "PlacementPolicy defines the placement policy used by the node pool.", +"id": "PlacementPolicy", +"properties": { +"policyName": { +"description": "If set, refers to the name of a custom resource policy supplied by the user. The resource policy must be in the same project and region as the node pool. If not found, InvalidArgument error is returned.", +"type": "string" +}, +"tpuTopology": { +"description": "TPU placement topology for pod slice node pool. https://cloud.google.com/tpu/docs/types-topologies#tpu_topologies", +"type": "string" +}, +"type": { +"description": "The type of placement.", +"enum": [ +"TYPE_UNSPECIFIED", +"COMPACT" +], +"enumDescriptions": [ +"TYPE_UNSPECIFIED specifies no requirements on nodes placement.", +"COMPACT specifies node placement in the same availability domain to ensure low communication latency." +], +"type": "string" +} +}, +"type": "object" +}, +"PodAutoscaling": { +"description": "PodAutoscaling is used for configuration of parameters for workload autoscaling.", +"id": "PodAutoscaling", +"properties": { +"hpaProfile": { +"description": "Selected Horizontal Pod Autoscaling profile.", +"enum": [ +"HPA_PROFILE_UNSPECIFIED", +"NONE", +"PERFORMANCE" +], +"enumDescriptions": [ +"HPA_PROFILE_UNSPECIFIED is used when no custom HPA profile is set.", +"Customers explicitly opt-out of HPA profiles.", +"PERFORMANCE is used when customers opt-in to the performance HPA profile. In this profile we support a higher number of HPAs per cluster and faster metrics collection for workload autoscaling." +], +"type": "string" +} +}, +"type": "object" +}, +"PodCIDROverprovisionConfig": { +"description": "[PRIVATE FIELD] Config for pod CIDR size overprovisioning.", +"id": "PodCIDROverprovisionConfig", +"properties": { +"disable": { +"description": "Whether Pod CIDR overprovisioning is disabled. Note: Pod CIDR overprovisioning is enabled by default.", +"type": "boolean" +} +}, +"type": "object" +}, +"PodSecurityPolicyConfig": { +"description": "Configuration for the PodSecurityPolicy feature.", +"id": "PodSecurityPolicyConfig", +"properties": { +"enabled": { +"description": "Enable the PodSecurityPolicy controller for this cluster. If enabled, pods must be valid under a PodSecurityPolicy to be created.", +"type": "boolean" +} +}, +"type": "object" +}, +"PodSnapshotConfig": { +"description": "PodSnapshotConfig is the configuration for GKE Pod Snapshots feature.", +"id": "PodSnapshotConfig", +"properties": { +"enabled": { +"description": "Whether or not the Pod Snapshots feature is enabled.", +"type": "boolean" +} +}, +"type": "object" +}, +"PolicyBinding": { +"description": "Binauthz policy that applies to this cluster.", +"id": "PolicyBinding", +"properties": { +"name": { +"description": "The relative resource name of the binauthz platform policy to evaluate. GKE platform policies have the following format: `projects/{project_number}/platforms/gke/policies/{policy_id}`.", +"type": "string" +} +}, +"type": "object" +}, +"PrivateClusterConfig": { +"description": "Configuration options for private clusters.", +"id": "PrivateClusterConfig", +"properties": { +"enablePrivateEndpoint": { +"deprecated": true, +"description": "Whether the master's internal IP address is used as the cluster endpoint. Use ControlPlaneEndpointsConfig.IPEndpointsConfig.enable_public_endpoint instead. Note that the value of enable_public_endpoint is reversed: if enable_private_endpoint is false, then enable_public_endpoint will be true.", +"type": "boolean" +}, +"enablePrivateNodes": { +"deprecated": true, +"description": "Whether nodes have internal IP addresses only. If enabled, all nodes are given only RFC 1918 private addresses and communicate with the master via private networking. Deprecated: Use NetworkConfig.default_enable_private_nodes instead.", +"type": "boolean" +}, +"masterGlobalAccessConfig": { +"$ref": "PrivateClusterMasterGlobalAccessConfig", +"deprecated": true, +"description": "Controls master global access settings. Deprecated: Use ControlPlaneEndpointsConfig.IPEndpointsConfig.enable_global_access instead." +}, +"masterIpv4CidrBlock": { +"description": "The IP range in CIDR notation to use for the hosted master network. This range will be used for assigning internal IP addresses to the master or set of masters, as well as the ILB VIP. This range must not overlap with any other ranges in use within the cluster's network.", +"type": "string" +}, +"peeringName": { +"description": "Output only. The peering name in the customer VPC used by this cluster.", +"readOnly": true, +"type": "string" +}, +"privateEndpoint": { +"deprecated": true, +"description": "Output only. The internal IP address of this cluster's master endpoint. Deprecated: Use ControlPlaneEndpointsConfig.IPEndpointsConfig.private_endpoint instead.", +"readOnly": true, +"type": "string" +}, +"privateEndpointSubnetwork": { +"deprecated": true, +"description": "Subnet to provision the master's private endpoint during cluster creation. Specified in projects/*/regions/*/subnetworks/* format. Deprecated: Use ControlPlaneEndpointsConfig.IPEndpointsConfig.private_endpoint_subnetwork instead.", +"type": "string" +}, +"publicEndpoint": { +"deprecated": true, +"description": "Output only. The external IP address of this cluster's master endpoint. Deprecated: Use ControlPlaneEndpointsConfig.IPEndpointsConfig.public_endpoint instead.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"PrivateClusterMasterGlobalAccessConfig": { +"description": "Configuration for controlling master global access settings.", +"id": "PrivateClusterMasterGlobalAccessConfig", +"properties": { +"enabled": { +"description": "Whenever master is accessible globally or not.", +"type": "boolean" +} +}, +"type": "object" +}, +"PrivateRegistryAccessConfig": { +"description": "PrivateRegistryAccessConfig contains access configuration for private container registries.", +"id": "PrivateRegistryAccessConfig", +"properties": { +"certificateAuthorityDomainConfig": { +"description": "Private registry access configuration.", +"items": { +"$ref": "CertificateAuthorityDomainConfig" +}, +"type": "array" +}, +"enabled": { +"description": "Private registry access is enabled.", +"type": "boolean" +} +}, +"type": "object" +}, +"PrivilegedAdmissionConfig": { +"description": "PrivilegedAdmissionConfig stores the list of authorized allowlist paths for the cluster.", +"id": "PrivilegedAdmissionConfig", +"properties": { +"allowlistPaths": { +"description": "The customer allowlist Cloud Storage paths for the cluster. These paths are used with the `--autopilot-privileged-admission` flag to authorize privileged workloads in Autopilot clusters. Paths can be GKE-owned, in the format `gke:////`, or customer-owned, in the format `gs:///`. Wildcards (`*`) are supported to authorize all allowlists under specific paths or directories. Example: `gs://my-bucket/*` will authorize all allowlists under the `my-bucket` bucket.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ProtectConfig": { +"description": "ProtectConfig defines the flags needed to enable/disable features for the Protect API.", +"id": "ProtectConfig", +"properties": { +"workloadConfig": { +"$ref": "WorkloadConfig", +"description": "WorkloadConfig defines which actions are enabled for a cluster's workload configurations." +}, +"workloadVulnerabilityMode": { +"description": "Sets which mode to use for Protect workload vulnerability scanning feature.", +"enum": [ +"WORKLOAD_VULNERABILITY_MODE_UNSPECIFIED", +"DISABLED", +"BASIC" +], +"enumDescriptions": [ +"Default value not specified.", +"Disables Workload Vulnerability Scanning feature on the cluster.", +"Applies basic vulnerability scanning settings for cluster workloads." +], +"type": "string" +} +}, +"type": "object" +}, +"PubSub": { +"description": "Pub/Sub specific notification config.", +"id": "PubSub", +"properties": { +"enabled": { +"description": "Enable notifications for Pub/Sub.", +"type": "boolean" +}, +"filter": { +"$ref": "Filter", +"description": "Allows filtering to one or more specific event types. If no filter is specified, or if a filter is specified with no event types, all event types will be sent" +}, +"topic": { +"description": "The desired Pub/Sub topic to which notifications will be sent by GKE. Format is `projects/{project}/topics/{topic}`.", +"type": "string" +} +}, +"type": "object" +}, +"QueuedProvisioning": { +"description": "QueuedProvisioning defines the queued provisioning used by the node pool.", +"id": "QueuedProvisioning", +"properties": { +"enabled": { +"description": "Denotes that this nodepool is QRM specific, meaning nodes can be only obtained through queuing via the Cluster Autoscaler ProvisioningRequest API.", +"type": "boolean" +} +}, +"type": "object" +}, +"RBACBindingConfig": { +"description": "RBACBindingConfig allows user to restrict ClusterRoleBindings an RoleBindings that can be created.", +"id": "RBACBindingConfig", +"properties": { +"enableInsecureBindingSystemAuthenticated": { +"description": "Setting this to true will allow any ClusterRoleBinding and RoleBinding with subjects system:authenticated.", +"type": "boolean" +}, +"enableInsecureBindingSystemUnauthenticated": { +"description": "Setting this to true will allow any ClusterRoleBinding and RoleBinding with subjets system:anonymous or system:unauthenticated.", +"type": "boolean" +} +}, +"type": "object" +}, +"RangeInfo": { +"description": "RangeInfo contains the range name and the range utilization by this cluster.", +"id": "RangeInfo", +"properties": { +"rangeName": { +"description": "Output only. Name of a range.", +"readOnly": true, +"type": "string" +}, +"utilization": { +"description": "Output only. The utilization of the range.", +"format": "double", +"readOnly": true, +"type": "number" +} +}, +"type": "object" +}, +"RayClusterLoggingConfig": { +"description": "RayClusterLoggingConfig specifies logging configuration for Ray clusters.", +"id": "RayClusterLoggingConfig", +"properties": { +"enabled": { +"description": "Enable log collection for Ray clusters.", +"type": "boolean" +} +}, +"type": "object" +}, +"RayClusterMonitoringConfig": { +"description": "RayClusterMonitoringConfig specifies monitoring configuration for Ray clusters.", +"id": "RayClusterMonitoringConfig", +"properties": { +"enabled": { +"description": "Enable metrics collection for Ray clusters.", +"type": "boolean" +} +}, +"type": "object" +}, +"RayOperatorConfig": { +"description": "Configuration options for the Ray Operator add-on.", +"id": "RayOperatorConfig", +"properties": { +"enabled": { +"description": "Whether the Ray addon is enabled for this cluster.", +"type": "boolean" +}, +"rayClusterLoggingConfig": { +"$ref": "RayClusterLoggingConfig", +"description": "Optional. Logging configuration for Ray clusters." +}, +"rayClusterMonitoringConfig": { +"$ref": "RayClusterMonitoringConfig", +"description": "Optional. Monitoring configuration for Ray clusters." +} +}, +"type": "object" +}, +"RecurringTimeWindow": { +"description": "Represents an arbitrary window of time that recurs.", +"id": "RecurringTimeWindow", +"properties": { +"recurrence": { +"description": "An RRULE (https://tools.ietf.org/html/rfc5545#section-3.8.5.3) for how this window reccurs. They go on for the span of time between the start and end time. For example, to have something repeat every weekday, you'd use: `FREQ=WEEKLY;BYDAY=MO,TU,WE,TH,FR` To repeat some window daily (equivalent to the DailyMaintenanceWindow): `FREQ=DAILY` For the first weekend of every month: `FREQ=MONTHLY;BYSETPOS=1;BYDAY=SA,SU` This specifies how frequently the window starts. Eg, if you wanted to have a 9-5 UTC-4 window every weekday, you'd use something like: ``` start time = 2019-01-01T09:00:00-0400 end time = 2019-01-01T17:00:00-0400 recurrence = FREQ=WEEKLY;BYDAY=MO,TU,WE,TH,FR ``` Windows can span multiple days. Eg, to make the window encompass every weekend from midnight Saturday till the last minute of Sunday UTC: ``` start time = 2019-01-05T00:00:00Z end time = 2019-01-07T23:59:00Z recurrence = FREQ=WEEKLY;BYDAY=SA ``` Note the start and end time's specific dates are largely arbitrary except to specify duration of the window and when it first starts. The FREQ values of HOURLY, MINUTELY, and SECONDLY are not supported.", +"type": "string" +}, +"window": { +"$ref": "TimeWindow", +"description": "The window of the first recurrence." +} +}, +"type": "object" +}, +"RegistryHeader": { +"description": "RegistryHeader configures headers for the registry.", +"id": "RegistryHeader", +"properties": { +"key": { +"description": "Key configures the header key.", +"type": "string" +}, +"value": { +"description": "Value configures the header value.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"RegistryHostConfig": { +"description": "RegistryHostConfig configures the top-level structure for a single containerd registry server's configuration, which represents one hosts.toml file on the node. It will override the same fqdns in PrivateRegistryAccessConfig.", +"id": "RegistryHostConfig", +"properties": { +"hosts": { +"description": "HostConfig configures a list of host-specific configurations for the server. Each server can have at most 10 host configurations.", +"items": { +"$ref": "HostConfig" +}, +"type": "array" +}, +"server": { +"description": "Defines the host name of the registry server, which will be used to create configuration file as /etc/containerd/hosts.d//hosts.toml. It supports fully qualified domain names (FQDN) and IP addresses: Specifying port is supported. Wildcards are NOT supported. Examples: - my.customdomain.com - 10.0.1.2:5000", +"type": "string" +} +}, +"type": "object" +}, +"ReleaseChannel": { +"description": "ReleaseChannel indicates which release channel a cluster is subscribed to. Release channels are arranged in order of risk. When a cluster is subscribed to a release channel, Google maintains both the master version and the node version. Node auto-upgrade defaults to true and cannot be disabled.", +"id": "ReleaseChannel", +"properties": { +"channel": { +"description": "channel specifies which release channel the cluster is subscribed to.", +"enum": [ +"UNSPECIFIED", +"RAPID", +"REGULAR", +"STABLE", +"EXTENDED" +], +"enumDescriptions": [ +"No channel specified.", +"RAPID channel is offered on an early access basis for customers who want to test new releases. WARNING: Versions available in the RAPID Channel may be subject to unresolved issues with no known workaround and are not subject to any SLAs.", +"Clusters subscribed to REGULAR receive versions that are considered GA quality. REGULAR is intended for production users who want to take advantage of new features.", +"Clusters subscribed to STABLE receive versions that are known to be stable and reliable in production.", +"Clusters subscribed to EXTENDED receive extended support and availability for versions which are known to be stable and reliable in production." +], +"type": "string" +} +}, +"type": "object" +}, +"ReleaseChannelConfig": { +"description": "ReleaseChannelConfig exposes configuration for a release channel.", +"id": "ReleaseChannelConfig", +"properties": { +"availableVersions": { +"deprecated": true, +"description": "Deprecated. This field has been deprecated and replaced with the valid_versions field.", +"items": { +"$ref": "AvailableVersion" +}, +"type": "array" +}, +"channel": { +"description": "The release channel this configuration applies to.", +"enum": [ +"UNSPECIFIED", +"RAPID", +"REGULAR", +"STABLE", +"EXTENDED" +], +"enumDescriptions": [ +"No channel specified.", +"RAPID channel is offered on an early access basis for customers who want to test new releases. WARNING: Versions available in the RAPID Channel may be subject to unresolved issues with no known workaround and are not subject to any SLAs.", +"Clusters subscribed to REGULAR receive versions that are considered GA quality. REGULAR is intended for production users who want to take advantage of new features.", +"Clusters subscribed to STABLE receive versions that are known to be stable and reliable in production.", +"Clusters subscribed to EXTENDED receive extended support and availability for versions which are known to be stable and reliable in production." +], +"type": "string" +}, +"defaultVersion": { +"description": "The default version for newly created clusters on the channel.", +"type": "string" +}, +"upgradeTargetVersion": { +"description": "The auto upgrade target version for clusters on the channel.", +"type": "string" +}, +"validVersions": { +"description": "List of valid versions for the channel.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ReservationAffinity": { +"description": "[ReservationAffinity](https://cloud.google.com/compute/docs/instances/reserving-zonal-resources) is the configuration of desired reservation which instances could take capacity from.", +"id": "ReservationAffinity", +"properties": { +"consumeReservationType": { +"description": "Corresponds to the type of reservation consumption.", +"enum": [ +"UNSPECIFIED", +"NO_RESERVATION", +"ANY_RESERVATION", +"SPECIFIC_RESERVATION" +], +"enumDescriptions": [ +"Default value. This should not be used.", +"Do not consume from any reserved capacity.", +"Consume any reservation available.", +"Must consume from a specific reservation. Must specify key value fields for specifying the reservations." +], +"type": "string" +}, +"key": { +"description": "Corresponds to the label key of a reservation resource. To target a SPECIFIC_RESERVATION by name, specify \"compute.googleapis.com/reservation-name\" as the key and specify the name of your reservation as its value.", +"type": "string" +}, +"values": { +"description": "Corresponds to the label value(s) of reservation resource(s).", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ResourceLabels": { +"description": "Collection of [Resource Manager labels](https://cloud.google.com/resource-manager/docs/creating-managing-labels).", +"id": "ResourceLabels", +"properties": { +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Map of node label keys and node label values.", +"type": "object" +} +}, +"type": "object" +}, +"ResourceLimit": { +"description": "Contains information about amount of some resource in the cluster. For memory, value should be in GB.", +"id": "ResourceLimit", +"properties": { +"maximum": { +"description": "Maximum amount of the resource in the cluster.", +"format": "int64", +"type": "string" +}, +"minimum": { +"description": "Minimum amount of the resource in the cluster.", +"format": "int64", +"type": "string" +}, +"resourceType": { +"description": "Resource name \"cpu\", \"memory\" or gpu-specific string.", +"type": "string" +} +}, +"type": "object" +}, +"ResourceManagerTags": { +"description": "A map of resource manager tag keys and values to be attached to the nodes for managing Compute Engine firewalls using Network Firewall Policies. Tags must be according to specifications in https://cloud.google.com/vpc/docs/tags-firewalls-overview#specifications. A maximum of 5 tag key-value pairs can be specified. Existing tags will be replaced with new values.", +"id": "ResourceManagerTags", +"properties": { +"tags": { +"additionalProperties": { +"type": "string" +}, +"description": "Tags must be in one of the following formats ([KEY]=[VALUE]) 1. `tagKeys/{tag_key_id}=tagValues/{tag_value_id}` 2. `{org_id}/{tag_key_name}={tag_value_name}` 3. `{project_id}/{tag_key_name}={tag_value_name}`", +"type": "object" +} +}, +"type": "object" +}, +"ResourceUsageExportConfig": { +"description": "Configuration for exporting cluster resource usages.", +"id": "ResourceUsageExportConfig", +"properties": { +"bigqueryDestination": { +"$ref": "BigQueryDestination", +"description": "Configuration to use BigQuery as usage export destination." +}, +"consumptionMeteringConfig": { +"$ref": "ConsumptionMeteringConfig", +"description": "Configuration to enable resource consumption metering." +}, +"enableNetworkEgressMetering": { +"description": "Whether to enable network egress metering for this cluster. If enabled, a daemonset will be created in the cluster to meter network egress traffic.", +"type": "boolean" +} +}, +"type": "object" +}, +"RollbackNodePoolUpgradeRequest": { +"description": "RollbackNodePoolUpgradeRequest rollbacks the previously Aborted or Failed NodePool upgrade. This will be an no-op if the last upgrade successfully completed.", +"id": "RollbackNodePoolUpgradeRequest", +"properties": { +"clusterId": { +"deprecated": true, +"description": "Deprecated. The name of the cluster to rollback. This field has been deprecated and replaced by the name field.", +"type": "string" +}, +"name": { +"description": "The name (project, location, cluster, node pool id) of the node poll to rollback upgrade. Specified in the format `projects/*/locations/*/clusters/*/nodePools/*`.", +"type": "string" +}, +"nodePoolId": { +"deprecated": true, +"description": "Deprecated. The name of the node pool to rollback. This field has been deprecated and replaced by the name field.", +"type": "string" +}, +"projectId": { +"deprecated": true, +"description": "Deprecated. The Google Developers Console [project ID or project number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). This field has been deprecated and replaced by the name field.", +"type": "string" +}, +"respectPdb": { +"description": "Option for rollback to ignore the PodDisruptionBudget. Default value is false.", +"type": "boolean" +}, +"zone": { +"deprecated": true, +"description": "Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster resides. This field has been deprecated and replaced by the name field.", +"type": "string" +} +}, +"type": "object" +}, +"RollbackSafeUpgrade": { +"description": "RollbackSafeUpgrade is the configuration for the rollback safe upgrade.", +"id": "RollbackSafeUpgrade", +"properties": { +"controlPlaneSoakDuration": { +"description": "A user-defined period for the cluster remains in the rollbackable state. ex: {seconds: 21600}.", +"format": "google-duration", +"type": "string" +} +}, +"type": "object" +}, +"RollbackSafeUpgradeStatus": { +"description": "RollbackSafeUpgradeStatus contains the rollback-safe upgrade status of a cluster.", +"id": "RollbackSafeUpgradeStatus", +"properties": { +"controlPlaneUpgradeRollbackEndTime": { +"description": "The rollback-safe mode expiration time.", +"format": "google-datetime", +"type": "string" +}, +"mode": { +"description": "The mode of the rollback-safe upgrade.", +"enum": [ +"MODE_UNSPECIFIED", +"KCP_MINOR_UPGRADE_ROLLBACK_SAFE_MODE" +], +"enumDescriptions": [ +"MODE_UNSPECIFIED means it's in regular upgrade mode.", +"KCP_MINOR_UPGRADE_ROLLBACK_SAFE_MODE means it's in rollback-safe mode after a KCP minor version step-one upgrade." +], +"type": "string" +}, +"previousVersion": { +"description": "The GKE version that the cluster previously used before step-one upgrade.", +"type": "string" +} +}, +"type": "object" +}, +"RotationConfig": { +"description": "RotationConfig is config for secret manager auto rotation.", +"id": "RotationConfig", +"properties": { +"enabled": { +"description": "Whether the rotation is enabled.", +"type": "boolean" +}, +"rotationInterval": { +"description": "The interval between two consecutive rotations. Default rotation interval is 2 minutes.", +"format": "google-duration", +"type": "string" +} +}, +"type": "object" +}, +"SandboxConfig": { +"description": "SandboxConfig contains configurations of the sandbox to use for the node.", +"id": "SandboxConfig", +"properties": { +"sandboxType": { +"deprecated": true, +"description": "Type of the sandbox to use for the node (e.g. 'gvisor')", +"type": "string" +}, +"type": { +"description": "Type of the sandbox to use for the node.", +"enum": [ +"UNSPECIFIED", +"GVISOR" +], +"enumDescriptions": [ +"Default value. This should not be used.", +"Run sandbox using gvisor." +], +"type": "string" +} +}, +"type": "object" +}, +"SecondaryBootDisk": { +"description": "SecondaryBootDisk represents a persistent disk attached to a node with special configurations based on its mode.", +"id": "SecondaryBootDisk", +"properties": { +"diskImage": { +"description": "Fully-qualified resource ID for an existing disk image.", +"type": "string" +}, +"mode": { +"description": "Disk mode (container image cache, etc.)", +"enum": [ +"MODE_UNSPECIFIED", +"CONTAINER_IMAGE_CACHE" +], +"enumDescriptions": [ +"MODE_UNSPECIFIED is when mode is not set.", +"CONTAINER_IMAGE_CACHE is for using the secondary boot disk as a container image cache." +], +"type": "string" +} +}, +"type": "object" +}, +"SecondaryBootDiskUpdateStrategy": { +"description": "SecondaryBootDiskUpdateStrategy is a placeholder which will be extended in the future to define different options for updating secondary boot disks.", +"id": "SecondaryBootDiskUpdateStrategy", +"properties": {}, +"type": "object" +}, +"SecretManagerConfig": { +"description": "SecretManagerConfig is config for secret manager enablement.", +"id": "SecretManagerConfig", +"properties": { +"enabled": { +"description": "Enable/Disable Secret Manager Config.", +"type": "boolean" +}, +"rotationConfig": { +"$ref": "RotationConfig", +"description": "Rotation config for secret manager." +} +}, +"type": "object" +}, +"SecretSyncConfig": { +"description": "Configuration for sync Secret Manager secrets as k8s secrets.", +"id": "SecretSyncConfig", +"properties": { +"enabled": { +"description": "Enable/Disable Secret Sync Config.", +"type": "boolean" +}, +"rotationConfig": { +"$ref": "SyncRotationConfig", +"description": "Rotation config for secret manager." +} +}, +"type": "object" +}, +"SecurityBulletinEvent": { +"description": "SecurityBulletinEvent is a notification sent to customers when a security bulletin has been posted that they are vulnerable to.", +"id": "SecurityBulletinEvent", +"properties": { +"affectedSupportedMinors": { +"description": "The GKE minor versions affected by this vulnerability.", +"items": { +"type": "string" +}, +"type": "array" +}, +"briefDescription": { +"description": "A brief description of the bulletin. See the bulletin pointed to by the bulletin_uri field for an expanded description.", +"type": "string" +}, +"bulletinId": { +"description": "The ID of the bulletin corresponding to the vulnerability.", +"type": "string" +}, +"bulletinUri": { +"description": "The URI link to the bulletin on the website for more information.", +"type": "string" +}, +"cveIds": { +"description": "The CVEs associated with this bulletin.", +"items": { +"type": "string" +}, +"type": "array" +}, +"manualStepsRequired": { +"description": "If this field is specified, it means there are manual steps that the user must take to make their clusters safe.", +"type": "boolean" +}, +"mitigatedVersions": { +"description": "The GKE versions where this vulnerability is mitigated.", +"items": { +"type": "string" +}, +"type": "array" +}, +"patchedVersions": { +"description": "The GKE versions where this vulnerability is patched.", +"items": { +"type": "string" +}, +"type": "array" +}, +"resourceTypeAffected": { +"description": "The resource type (node/control plane) that has the vulnerability. Multiple notifications (1 notification per resource type) will be sent for a vulnerability that affects > 1 resource type.", +"type": "string" +}, +"severity": { +"description": "The severity of this bulletin as it relates to GKE.", +"type": "string" +}, +"suggestedUpgradeTarget": { +"description": "This represents a version selected from the patched_versions field that the cluster receiving this notification should most likely want to upgrade to based on its current version. Note that if this notification is being received by a given cluster, it means that this version is currently available as an upgrade target in that cluster's location.", +"type": "string" +} +}, +"type": "object" +}, +"SecurityPostureConfig": { +"description": "SecurityPostureConfig defines the flags needed to enable/disable features for the Security Posture API.", +"id": "SecurityPostureConfig", +"properties": { +"mode": { +"description": "Sets which mode to use for Security Posture features.", +"enum": [ +"MODE_UNSPECIFIED", +"DISABLED", +"BASIC", +"ENTERPRISE" +], +"enumDeprecated": [ +false, +false, +false, +true +], +"enumDescriptions": [ +"Default value not specified.", +"Disables Security Posture features on the cluster.", +"Applies Security Posture features on the cluster.", +"Deprecated: Security Posture Enterprise features are no longer supported. For more details, see https://cloud.google.com/kubernetes-engine/docs/deprecations/posture-management-deprecation. Applies the Security Posture off cluster Enterprise level features." +], +"type": "string" +}, +"vulnerabilityMode": { +"description": "Sets which mode to use for vulnerability scanning.", +"enum": [ +"VULNERABILITY_MODE_UNSPECIFIED", +"VULNERABILITY_DISABLED", +"VULNERABILITY_BASIC", +"VULNERABILITY_ENTERPRISE" +], +"enumDeprecated": [ +false, +false, +true, +false +], +"enumDescriptions": [ +"Default value not specified.", +"Disables vulnerability scanning on the cluster.", +"Deprecated: Basic vulnerability scanning is no longer supported. For more details, see https://cloud.google.com/kubernetes-engine/docs/deprecations/posture-management-deprecation. Applies basic vulnerability scanning on the cluster.", +"Applies the Security Posture's vulnerability on cluster Enterprise level features." +], +"type": "string" +} +}, +"type": "object" +}, +"ServerConfig": { +"description": "Kubernetes Engine service configuration.", +"id": "ServerConfig", +"properties": { +"channels": { +"description": "List of release channel configurations.", +"items": { +"$ref": "ReleaseChannelConfig" +}, +"type": "array" +}, +"defaultClusterVersion": { +"description": "Version of Kubernetes the service deploys by default.", +"type": "string" +}, +"defaultImageType": { +"description": "Default image type.", +"type": "string" +}, +"validImageTypes": { +"description": "List of valid image types.", +"items": { +"type": "string" +}, +"type": "array" +}, +"validMasterVersions": { +"description": "List of valid master versions, in descending order.", +"items": { +"type": "string" +}, +"type": "array" +}, +"validNodeVersions": { +"description": "List of valid node upgrade target versions, in descending order.", +"items": { +"type": "string" +}, +"type": "array" +}, +"windowsVersionMaps": { +"additionalProperties": { +"$ref": "WindowsVersions" +}, +"description": "Maps of Kubernetes version and supported Windows server versions.", +"type": "object" +} +}, +"type": "object" +}, +"ServiceExternalIPsConfig": { +"description": "Config to block services with externalIPs field.", +"id": "ServiceExternalIPsConfig", +"properties": { +"enabled": { +"description": "Whether Services with ExternalIPs field are allowed or not.", +"type": "boolean" +} +}, +"type": "object" +}, +"SetAddonsConfigRequest": { +"description": "SetAddonsRequest sets the addons associated with the cluster.", +"id": "SetAddonsConfigRequest", +"properties": { +"addonsConfig": { +"$ref": "AddonsConfig", +"description": "Required. The desired configurations for the various addons available to run in the cluster." +}, +"clusterId": { +"deprecated": true, +"description": "Deprecated. The name of the cluster to upgrade. This field has been deprecated and replaced by the name field.", +"type": "string" +}, +"name": { +"description": "The name (project, location, cluster) of the cluster to set addons. Specified in the format `projects/*/locations/*/clusters/*`.", +"type": "string" +}, +"projectId": { +"deprecated": true, +"description": "Deprecated. The Google Developers Console [project ID or project number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). This field has been deprecated and replaced by the name field.", +"type": "string" +}, +"zone": { +"deprecated": true, +"description": "Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster resides. This field has been deprecated and replaced by the name field.", +"type": "string" +} +}, +"type": "object" +}, +"SetLabelsRequest": { +"description": "SetLabelsRequest sets the Google Cloud Platform labels on a Google Container Engine cluster, which will in turn set them for Google Compute Engine resources used by that cluster", +"id": "SetLabelsRequest", +"properties": { +"clusterId": { +"deprecated": true, +"description": "Deprecated. The name of the cluster. This field has been deprecated and replaced by the name field.", +"type": "string" +}, +"labelFingerprint": { +"description": "Required. The fingerprint of the previous set of labels for this resource, used to detect conflicts. The fingerprint is initially generated by Kubernetes Engine and changes after every request to modify or update labels. You must always provide an up-to-date fingerprint hash when updating or changing labels. Make a `get()` request to the resource to get the latest fingerprint.", +"type": "string" +}, +"name": { +"description": "The name (project, location, cluster name) of the cluster to set labels. Specified in the format `projects/*/locations/*/clusters/*`.", +"type": "string" +}, +"projectId": { +"deprecated": true, +"description": "Deprecated. The Google Developers Console [project ID or project number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). This field has been deprecated and replaced by the name field.", +"type": "string" +}, +"resourceLabels": { +"additionalProperties": { +"type": "string" +}, +"description": "Required. The labels to set for that cluster.", +"type": "object" +}, +"zone": { +"deprecated": true, +"description": "Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster resides. This field has been deprecated and replaced by the name field.", +"type": "string" +} +}, +"type": "object" +}, +"SetLegacyAbacRequest": { +"description": "SetLegacyAbacRequest enables or disables the ABAC authorization mechanism for a cluster.", +"id": "SetLegacyAbacRequest", +"properties": { +"clusterId": { +"deprecated": true, +"description": "Deprecated. The name of the cluster to update. This field has been deprecated and replaced by the name field.", +"type": "string" +}, +"enabled": { +"description": "Required. Whether ABAC authorization will be enabled in the cluster.", +"type": "boolean" +}, +"name": { +"description": "The name (project, location, cluster name) of the cluster to set legacy abac. Specified in the format `projects/*/locations/*/clusters/*`.", +"type": "string" +}, +"projectId": { +"deprecated": true, +"description": "Deprecated. The Google Developers Console [project ID or project number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). This field has been deprecated and replaced by the name field.", +"type": "string" +}, +"zone": { +"deprecated": true, +"description": "Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster resides. This field has been deprecated and replaced by the name field.", +"type": "string" +} +}, +"type": "object" +}, +"SetLocationsRequest": { +"description": "SetLocationsRequest sets the locations of the cluster.", +"id": "SetLocationsRequest", +"properties": { +"clusterId": { +"deprecated": true, +"description": "Deprecated. The name of the cluster to upgrade. This field has been deprecated and replaced by the name field.", +"type": "string" +}, +"locations": { +"description": "Required. The desired list of Google Compute Engine [zones](https://cloud.google.com/compute/docs/zones#available) in which the cluster's nodes should be located. Changing the locations a cluster is in will result in nodes being either created or removed from the cluster, depending on whether locations are being added or removed. This list must always include the cluster's primary zone.", +"items": { +"type": "string" +}, +"type": "array" +}, +"name": { +"description": "The name (project, location, cluster) of the cluster to set locations. Specified in the format `projects/*/locations/*/clusters/*`.", +"type": "string" +}, +"projectId": { +"deprecated": true, +"description": "Deprecated. The Google Developers Console [project ID or project number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). This field has been deprecated and replaced by the name field.", +"type": "string" +}, +"zone": { +"deprecated": true, +"description": "Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster resides. This field has been deprecated and replaced by the name field.", +"type": "string" +} +}, +"type": "object" +}, +"SetLoggingServiceRequest": { +"description": "SetLoggingServiceRequest sets the logging service of a cluster.", +"id": "SetLoggingServiceRequest", +"properties": { +"clusterId": { +"deprecated": true, +"description": "Deprecated. The name of the cluster to upgrade. This field has been deprecated and replaced by the name field.", +"type": "string" +}, +"loggingService": { +"description": "Required. The logging service the cluster should use to write logs. Currently available options: * `logging.googleapis.com/kubernetes` - The Cloud Logging service with a Kubernetes-native resource model * `logging.googleapis.com` - The legacy Cloud Logging service (no longer available as of GKE 1.15). * `none` - no logs will be exported from the cluster. If left as an empty string,`logging.googleapis.com/kubernetes` will be used for GKE 1.14+ or `logging.googleapis.com` for earlier versions.", +"type": "string" +}, +"name": { +"description": "The name (project, location, cluster) of the cluster to set logging. Specified in the format `projects/*/locations/*/clusters/*`.", +"type": "string" +}, +"projectId": { +"deprecated": true, +"description": "Deprecated. The Google Developers Console [project ID or project number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). This field has been deprecated and replaced by the name field.", +"type": "string" +}, +"zone": { +"deprecated": true, +"description": "Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster resides. This field has been deprecated and replaced by the name field.", +"type": "string" +} +}, +"type": "object" +}, +"SetMaintenancePolicyRequest": { +"description": "SetMaintenancePolicyRequest sets the maintenance policy for a cluster.", +"id": "SetMaintenancePolicyRequest", +"properties": { +"clusterId": { +"description": "Required. The name of the cluster to update.", +"type": "string" +}, +"maintenancePolicy": { +"$ref": "MaintenancePolicy", +"description": "Required. The maintenance policy to be set for the cluster. An empty field clears the existing maintenance policy." +}, +"name": { +"description": "The name (project, location, cluster name) of the cluster to set maintenance policy. Specified in the format `projects/*/locations/*/clusters/*`.", +"type": "string" +}, +"projectId": { +"description": "Required. The Google Developers Console [project ID or project number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).", +"type": "string" +}, +"zone": { +"description": "Required. The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster resides.", +"type": "string" +} +}, +"type": "object" +}, +"SetMasterAuthRequest": { +"description": "SetMasterAuthRequest updates the admin password of a cluster.", +"id": "SetMasterAuthRequest", +"properties": { +"action": { +"description": "Required. The exact form of action to be taken on the master auth.", +"enum": [ +"UNKNOWN", +"SET_PASSWORD", +"GENERATE_PASSWORD", +"SET_USERNAME" +], +"enumDescriptions": [ +"Operation is unknown and will error out.", +"Set the password to a user generated value.", +"Generate a new password and set it to that.", +"Set the username. If an empty username is provided, basic authentication is disabled for the cluster. If a non-empty username is provided, basic authentication is enabled, with either a provided password or a generated one." +], +"type": "string" +}, +"clusterId": { +"deprecated": true, +"description": "Deprecated. The name of the cluster to upgrade. This field has been deprecated and replaced by the name field.", +"type": "string" +}, +"name": { +"description": "The name (project, location, cluster) of the cluster to set auth. Specified in the format `projects/*/locations/*/clusters/*`.", +"type": "string" +}, +"projectId": { +"deprecated": true, +"description": "Deprecated. The Google Developers Console [project ID or project number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). This field has been deprecated and replaced by the name field.", +"type": "string" +}, +"update": { +"$ref": "MasterAuth", +"description": "Required. A description of the update." +}, +"zone": { +"deprecated": true, +"description": "Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster resides. This field has been deprecated and replaced by the name field.", +"type": "string" +} +}, +"type": "object" +}, +"SetMonitoringServiceRequest": { +"description": "SetMonitoringServiceRequest sets the monitoring service of a cluster.", +"id": "SetMonitoringServiceRequest", +"properties": { +"clusterId": { +"deprecated": true, +"description": "Deprecated. The name of the cluster to upgrade. This field has been deprecated and replaced by the name field.", +"type": "string" +}, +"monitoringService": { +"description": "Required. The monitoring service the cluster should use to write metrics. Currently available options: * `monitoring.googleapis.com/kubernetes` - The Cloud Monitoring service with a Kubernetes-native resource model * `monitoring.googleapis.com` - The legacy Cloud Monitoring service (no longer available as of GKE 1.15). * `none` - No metrics will be exported from the cluster. If left as an empty string,`monitoring.googleapis.com/kubernetes` will be used for GKE 1.14+ or `monitoring.googleapis.com` for earlier versions.", +"type": "string" +}, +"name": { +"description": "The name (project, location, cluster) of the cluster to set monitoring. Specified in the format `projects/*/locations/*/clusters/*`.", +"type": "string" +}, +"projectId": { +"deprecated": true, +"description": "Deprecated. The Google Developers Console [project ID or project number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). This field has been deprecated and replaced by the name field.", +"type": "string" +}, +"zone": { +"deprecated": true, +"description": "Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster resides. This field has been deprecated and replaced by the name field.", +"type": "string" +} +}, +"type": "object" +}, +"SetNetworkPolicyRequest": { +"description": "SetNetworkPolicyRequest enables/disables network policy for a cluster.", +"id": "SetNetworkPolicyRequest", +"properties": { +"clusterId": { +"deprecated": true, +"description": "Deprecated. The name of the cluster. This field has been deprecated and replaced by the name field.", +"type": "string" +}, +"name": { +"description": "The name (project, location, cluster name) of the cluster to set networking policy. Specified in the format `projects/*/locations/*/clusters/*`.", +"type": "string" +}, +"networkPolicy": { +"$ref": "NetworkPolicy", +"description": "Required. Configuration options for the NetworkPolicy feature." +}, +"projectId": { +"deprecated": true, +"description": "Deprecated. The Google Developers Console [project ID or project number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). This field has been deprecated and replaced by the name field.", +"type": "string" +}, +"zone": { +"deprecated": true, +"description": "Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster resides. This field has been deprecated and replaced by the name field.", +"type": "string" +} +}, +"type": "object" +}, +"SetNodePoolAutoscalingRequest": { +"description": "SetNodePoolAutoscalingRequest sets the autoscaler settings of a node pool.", +"id": "SetNodePoolAutoscalingRequest", +"properties": { +"autoscaling": { +"$ref": "NodePoolAutoscaling", +"description": "Required. Autoscaling configuration for the node pool." +}, +"clusterId": { +"deprecated": true, +"description": "Deprecated. The name of the cluster to upgrade. This field has been deprecated and replaced by the name field.", +"type": "string" +}, +"name": { +"description": "The name (project, location, cluster, node pool) of the node pool to set autoscaler settings. Specified in the format `projects/*/locations/*/clusters/*/nodePools/*`.", +"type": "string" +}, +"nodePoolId": { +"deprecated": true, +"description": "Deprecated. The name of the node pool to upgrade. This field has been deprecated and replaced by the name field.", +"type": "string" +}, +"projectId": { +"deprecated": true, +"description": "Deprecated. The Google Developers Console [project ID or project number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). This field has been deprecated and replaced by the name field.", +"type": "string" +}, +"zone": { +"deprecated": true, +"description": "Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster resides. This field has been deprecated and replaced by the name field.", +"type": "string" +} +}, +"type": "object" +}, +"SetNodePoolManagementRequest": { +"description": "SetNodePoolManagementRequest sets the node management properties of a node pool.", +"id": "SetNodePoolManagementRequest", +"properties": { +"clusterId": { +"deprecated": true, +"description": "Deprecated. The name of the cluster to update. This field has been deprecated and replaced by the name field.", +"type": "string" +}, +"management": { +"$ref": "NodeManagement", +"description": "Required. NodeManagement configuration for the node pool." +}, +"name": { +"description": "The name (project, location, cluster, node pool id) of the node pool to set management properties. Specified in the format `projects/*/locations/*/clusters/*/nodePools/*`.", +"type": "string" +}, +"nodePoolId": { +"deprecated": true, +"description": "Deprecated. The name of the node pool to update. This field has been deprecated and replaced by the name field.", +"type": "string" +}, +"projectId": { +"deprecated": true, +"description": "Deprecated. The Google Developers Console [project ID or project number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). This field has been deprecated and replaced by the name field.", +"type": "string" +}, +"zone": { +"deprecated": true, +"description": "Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster resides. This field has been deprecated and replaced by the name field.", +"type": "string" +} +}, +"type": "object" +}, +"SetNodePoolSizeRequest": { +"description": "SetNodePoolSizeRequest sets the size of a node pool.", +"id": "SetNodePoolSizeRequest", +"properties": { +"clusterId": { +"deprecated": true, +"description": "Deprecated. The name of the cluster to update. This field has been deprecated and replaced by the name field.", +"type": "string" +}, +"name": { +"description": "The name (project, location, cluster, node pool id) of the node pool to set size. Specified in the format `projects/*/locations/*/clusters/*/nodePools/*`.", +"type": "string" +}, +"nodeCount": { +"description": "Required. The desired node count for the pool.", +"format": "int32", +"type": "integer" +}, +"nodePoolId": { +"deprecated": true, +"description": "Deprecated. The name of the node pool to update. This field has been deprecated and replaced by the name field.", +"type": "string" +}, +"projectId": { +"deprecated": true, +"description": "Deprecated. The Google Developers Console [project ID or project number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). This field has been deprecated and replaced by the name field.", +"type": "string" +}, +"zone": { +"deprecated": true, +"description": "Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster resides. This field has been deprecated and replaced by the name field.", +"type": "string" +} +}, +"type": "object" +}, +"ShieldedInstanceConfig": { +"description": "A set of Shielded Instance options.", +"id": "ShieldedInstanceConfig", +"properties": { +"enableIntegrityMonitoring": { +"description": "Defines whether the instance has integrity monitoring enabled. Enables monitoring and attestation of the boot integrity of the instance. The attestation is performed against the integrity policy baseline. This baseline is initially derived from the implicitly trusted boot image when the instance is created.", +"type": "boolean" +}, +"enableSecureBoot": { +"description": "Defines whether the instance has Secure Boot enabled. Secure Boot helps ensure that the system only runs authentic software by verifying the digital signature of all boot components, and halting the boot process if signature verification fails.", +"type": "boolean" +} +}, +"type": "object" +}, +"ShieldedNodes": { +"description": "Configuration of Shielded Nodes feature.", +"id": "ShieldedNodes", +"properties": { +"enabled": { +"description": "Whether Shielded Nodes features are enabled on all nodes in this cluster.", +"type": "boolean" +} +}, +"type": "object" +}, +"SliceControllerConfig": { +"description": "Configuration for the Slice Controller.", +"id": "SliceControllerConfig", +"properties": { +"enabled": { +"description": "Optional. Indicates whether Slice Controller is enabled in the cluster.", +"type": "boolean" +} +}, +"type": "object" +}, +"SoleTenantConfig": { +"description": "SoleTenantConfig contains the NodeAffinities to specify what shared sole tenant node groups should back the node pool.", +"id": "SoleTenantConfig", +"properties": { +"minNodeCpus": { +"description": "Optional. The minimum number of virtual CPUs this instance will consume when running on a sole-tenant node. This field can only be set if the node pool is created in a shared sole-tenant node group.", +"format": "int32", +"type": "integer" +}, +"nodeAffinities": { +"description": "NodeAffinities used to match to a shared sole tenant node group.", +"items": { +"$ref": "NodeAffinity" +}, +"type": "array" +} +}, +"type": "object" +}, +"StandardRolloutPolicy": { +"description": "Standard rollout policy is the default policy for blue-green.", +"id": "StandardRolloutPolicy", +"properties": { +"batchNodeCount": { +"description": "Number of blue nodes to drain in a batch.", +"format": "int32", +"type": "integer" +}, +"batchPercentage": { +"description": "Percentage of the blue pool nodes to drain in a batch. The range of this field should be (0.0, 1.0].", +"format": "float", +"type": "number" +}, +"batchSoakDuration": { +"description": "Soak time after each batch gets drained. Default to zero.", +"format": "google-duration", +"type": "string" +} +}, +"type": "object" +}, +"StartIPRotationRequest": { +"description": "StartIPRotationRequest creates a new IP for the cluster and then performs a node upgrade on each node pool to point to the new IP.", +"id": "StartIPRotationRequest", +"properties": { +"clusterId": { +"deprecated": true, +"description": "Deprecated. The name of the cluster. This field has been deprecated and replaced by the name field.", +"type": "string" +}, +"name": { +"description": "The name (project, location, cluster name) of the cluster to start IP rotation. Specified in the format `projects/*/locations/*/clusters/*`.", +"type": "string" +}, +"projectId": { +"deprecated": true, +"description": "Deprecated. The Google Developers Console [project ID or project number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). This field has been deprecated and replaced by the name field.", +"type": "string" +}, +"rotateCredentials": { +"description": "Whether to rotate credentials during IP rotation.", +"type": "boolean" +}, +"zone": { +"deprecated": true, +"description": "Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster resides. This field has been deprecated and replaced by the name field.", +"type": "string" +} +}, +"type": "object" +}, +"StatefulHAConfig": { +"description": "Configuration for the Stateful HA add-on.", +"id": "StatefulHAConfig", +"properties": { +"enabled": { +"description": "Whether the Stateful HA add-on is enabled for this cluster.", +"type": "boolean" +} +}, +"type": "object" +}, +"Status": { +"description": "The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors).", +"id": "Status", +"properties": { +"code": { +"description": "The status code, which should be an enum value of google.rpc.Code.", +"format": "int32", +"type": "integer" +}, +"details": { +"description": "A list of messages that carry the error details. There is a common set of message types for APIs to use.", +"items": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.", +"type": "string" +} +}, +"type": "object" +}, +"StatusCondition": { +"description": "StatusCondition describes why a cluster or a node pool has a certain status (e.g., ERROR or DEGRADED).", +"id": "StatusCondition", +"properties": { +"canonicalCode": { +"description": "Canonical code of the condition.", +"enum": [ +"OK", +"CANCELLED", +"UNKNOWN", +"INVALID_ARGUMENT", +"DEADLINE_EXCEEDED", +"NOT_FOUND", +"ALREADY_EXISTS", +"PERMISSION_DENIED", +"UNAUTHENTICATED", +"RESOURCE_EXHAUSTED", +"FAILED_PRECONDITION", +"ABORTED", +"OUT_OF_RANGE", +"UNIMPLEMENTED", +"INTERNAL", +"UNAVAILABLE", +"DATA_LOSS" +], +"enumDescriptions": [ +"Not an error; returned on success. HTTP Mapping: 200 OK", +"The operation was cancelled, typically by the caller. HTTP Mapping: 499 Client Closed Request", +"Unknown error. For example, this error may be returned when a `Status` value received from another address space belongs to an error space that is not known in this address space. Also errors raised by APIs that do not return enough error information may be converted to this error. HTTP Mapping: 500 Internal Server Error", +"The client specified an invalid argument. Note that this differs from `FAILED_PRECONDITION`. `INVALID_ARGUMENT` indicates arguments that are problematic regardless of the state of the system (e.g., a malformed file name). HTTP Mapping: 400 Bad Request", +"The deadline expired before the operation could complete. For operations that change the state of the system, this error may be returned even if the operation has completed successfully. For example, a successful response from a server could have been delayed long enough for the deadline to expire. HTTP Mapping: 504 Gateway Timeout", +"Some requested entity (e.g., file or directory) was not found. Note to server developers: if a request is denied for an entire class of users, such as gradual feature rollout or undocumented allowlist, `NOT_FOUND` may be used. If a request is denied for some users within a class of users, such as user-based access control, `PERMISSION_DENIED` must be used. HTTP Mapping: 404 Not Found", +"The entity that a client attempted to create (e.g., file or directory) already exists. HTTP Mapping: 409 Conflict", +"The caller does not have permission to execute the specified operation. `PERMISSION_DENIED` must not be used for rejections caused by exhausting some resource (use `RESOURCE_EXHAUSTED` instead for those errors). `PERMISSION_DENIED` must not be used if the caller can not be identified (use `UNAUTHENTICATED` instead for those errors). This error code does not imply the request is valid or the requested entity exists or satisfies other pre-conditions. HTTP Mapping: 403 Forbidden", +"The request does not have valid authentication credentials for the operation. HTTP Mapping: 401 Unauthorized", +"Some resource has been exhausted, perhaps a per-user quota, or perhaps the entire file system is out of space. HTTP Mapping: 429 Too Many Requests", +"The operation was rejected because the system is not in a state required for the operation's execution. For example, the directory to be deleted is non-empty, an rmdir operation is applied to a non-directory, etc. Service implementors can use the following guidelines to decide between `FAILED_PRECONDITION`, `ABORTED`, and `UNAVAILABLE`: (a) Use `UNAVAILABLE` if the client can retry just the failing call. (b) Use `ABORTED` if the client should retry at a higher level. For example, when a client-specified test-and-set fails, indicating the client should restart a read-modify-write sequence. (c) Use `FAILED_PRECONDITION` if the client should not retry until the system state has been explicitly fixed. For example, if an \"rmdir\" fails because the directory is non-empty, `FAILED_PRECONDITION` should be returned since the client should not retry unless the files are deleted from the directory. HTTP Mapping: 400 Bad Request", +"The operation was aborted, typically due to a concurrency issue such as a sequencer check failure or transaction abort. See the guidelines above for deciding between `FAILED_PRECONDITION`, `ABORTED`, and `UNAVAILABLE`. HTTP Mapping: 409 Conflict", +"The operation was attempted past the valid range. E.g., seeking or reading past end-of-file. Unlike `INVALID_ARGUMENT`, this error indicates a problem that may be fixed if the system state changes. For example, a 32-bit file system will generate `INVALID_ARGUMENT` if asked to read at an offset that is not in the range [0,2^32-1], but it will generate `OUT_OF_RANGE` if asked to read from an offset past the current file size. There is a fair bit of overlap between `FAILED_PRECONDITION` and `OUT_OF_RANGE`. We recommend using `OUT_OF_RANGE` (the more specific error) when it applies so that callers who are iterating through a space can easily look for an `OUT_OF_RANGE` error to detect when they are done. HTTP Mapping: 400 Bad Request", +"The operation is not implemented or is not supported/enabled in this service. HTTP Mapping: 501 Not Implemented", +"Internal errors. This means that some invariants expected by the underlying system have been broken. This error code is reserved for serious errors. HTTP Mapping: 500 Internal Server Error", +"The service is currently unavailable. This is most likely a transient condition, which can be corrected by retrying with a backoff. Note that it is not always safe to retry non-idempotent operations. See the guidelines above for deciding between `FAILED_PRECONDITION`, `ABORTED`, and `UNAVAILABLE`. HTTP Mapping: 503 Service Unavailable", +"Unrecoverable data loss or corruption. HTTP Mapping: 500 Internal Server Error" +], +"type": "string" +}, +"code": { +"deprecated": true, +"description": "Machine-friendly representation of the condition Deprecated. Use canonical_code instead.", +"enum": [ +"UNKNOWN", +"GCE_STOCKOUT", +"GKE_SERVICE_ACCOUNT_DELETED", +"GCE_QUOTA_EXCEEDED", +"SET_BY_OPERATOR", +"CLOUD_KMS_KEY_ERROR", +"CA_EXPIRING", +"NODE_SERVICE_ACCOUNT_MISSING_PERMISSIONS", +"CLOUD_KMS_KEY_DESTROYED" +], +"enumDescriptions": [ +"UNKNOWN indicates a generic condition.", +"GCE_STOCKOUT indicates that Google Compute Engine resources are temporarily unavailable.", +"GKE_SERVICE_ACCOUNT_DELETED indicates that the user deleted their robot service account.", +"Google Compute Engine quota was exceeded.", +"Cluster state was manually changed by an SRE due to a system logic error.", +"Unable to perform an encrypt operation against the CloudKMS key used for etcd level encryption.", +"Cluster CA is expiring soon.", +"Node service account is missing permissions.", +"Cloud KMS key version used for etcd level encryption has been destroyed. This is a permanent error." +], +"type": "string" +}, +"message": { +"description": "Human-friendly representation of the condition", +"type": "string" +} +}, +"type": "object" +}, +"SwapConfig": { +"description": "Configuration for swap memory on a node pool.", +"id": "SwapConfig", +"properties": { +"bootDiskProfile": { +"$ref": "BootDiskProfile", +"description": "Swap on the node's boot disk." +}, +"dedicatedLocalSsdProfile": { +"$ref": "DedicatedLocalSsdProfile", +"description": "Provisions a new, separate local NVMe SSD exclusively for swap." +}, +"enabled": { +"description": "Optional. Enables or disables swap for the node pool.", +"type": "boolean" +}, +"encryptionConfig": { +"$ref": "EncryptionConfig", +"description": "Optional. If omitted, swap space is encrypted by default." +}, +"ephemeralLocalSsdProfile": { +"$ref": "EphemeralLocalSsdProfile", +"description": "Swap on the local SSD shared with pod ephemeral storage." +} +}, +"type": "object" +}, +"SyncRotationConfig": { +"description": "SyncRotationConfig is config for secret manager auto rotation.", +"id": "SyncRotationConfig", +"properties": { +"enabled": { +"description": "Whether the rotation is enabled.", +"type": "boolean" +}, +"rotationInterval": { +"description": "The interval between two consecutive rotations. Default rotation interval is 2 minutes.", +"format": "google-duration", +"type": "string" +} +}, +"type": "object" +}, +"TimeWindow": { +"description": "Represents an arbitrary window of time.", +"id": "TimeWindow", +"properties": { +"endTime": { +"description": "The time that the window ends. The end time should take place after the start time.", +"format": "google-datetime", +"type": "string" +}, +"maintenanceExclusionOptions": { +"$ref": "MaintenanceExclusionOptions", +"description": "MaintenanceExclusionOptions provides maintenance exclusion related options." +}, +"startTime": { +"description": "The time that the window first starts.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"TopologyManager": { +"description": "TopologyManager defines the configuration options for Topology Manager feature. See https://kubernetes.io/docs/tasks/administer-cluster/topology-manager/", +"id": "TopologyManager", +"properties": { +"policy": { +"description": "Configures the strategy for resource alignment. Allowed values are: * none: the default policy, and does not perform any topology alignment. * restricted: the topology manager stores the preferred NUMA node affinity for the container, and will reject the pod if the affinity if not preferred. * best-effort: the topology manager stores the preferred NUMA node affinity for the container. If the affinity is not preferred, the topology manager will admit the pod to the node anyway. * single-numa-node: the topology manager determines if the single NUMA node affinity is possible. If it is, Topology Manager will store this and the Hint Providers can then use this information when making the resource allocation decision. If, however, this is not possible then the Topology Manager will reject the pod from the node. This will result in a pod in a Terminated state with a pod admission failure. The default policy value is 'none' if unspecified. Details about each strategy can be found [here](https://kubernetes.io/docs/tasks/administer-cluster/topology-manager/#topology-manager-policies).", +"type": "string" +}, +"scope": { +"description": "The Topology Manager aligns resources in following scopes: * container * pod The default scope is 'container' if unspecified. See https://kubernetes.io/docs/tasks/administer-cluster/topology-manager/#topology-manager-scopes", +"type": "string" +} +}, +"type": "object" +}, +"TpuConfig": { +"deprecated": true, +"description": "Configuration for Cloud TPU. This message is deprecated due to the deprecation of 2VM TPU. The end of life date for 2VM TPU is 2025-04-25.", +"id": "TpuConfig", +"properties": { +"enabled": { +"description": "Whether Cloud TPU integration is enabled or not.", +"type": "boolean" +}, +"ipv4CidrBlock": { +"description": "IPv4 CIDR block reserved for Cloud TPU in the VPC.", +"type": "string" +}, +"useServiceNetworking": { +"description": "Whether to use service networking for Cloud TPU or not.", +"type": "boolean" +} +}, +"type": "object" +}, +"UpdateClusterRequest": { +"description": "UpdateClusterRequest updates the settings of a cluster.", +"id": "UpdateClusterRequest", +"properties": { +"clusterId": { +"deprecated": true, +"description": "Deprecated. The name of the cluster to upgrade. This field has been deprecated and replaced by the name field.", +"type": "string" +}, +"name": { +"description": "The name (project, location, cluster) of the cluster to update. Specified in the format `projects/*/locations/*/clusters/*`.", +"type": "string" +}, +"projectId": { +"deprecated": true, +"description": "Deprecated. The Google Developers Console [project ID or project number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). This field has been deprecated and replaced by the name field.", +"type": "string" +}, +"update": { +"$ref": "ClusterUpdate", +"description": "Required. A description of the update." +}, +"zone": { +"deprecated": true, +"description": "Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster resides. This field has been deprecated and replaced by the name field.", +"type": "string" +} +}, +"type": "object" +}, +"UpdateInfo": { +"description": "UpdateInfo contains resource (instance groups, etc), status and other intermediate information relevant to a node pool upgrade.", +"id": "UpdateInfo", +"properties": { +"blueGreenInfo": { +"$ref": "BlueGreenInfo", +"description": "Information of a blue-green upgrade." +} +}, +"type": "object" +}, +"UpdateMasterRequest": { +"description": "UpdateMasterRequest updates the master of the cluster.", +"id": "UpdateMasterRequest", +"properties": { +"clusterId": { +"deprecated": true, +"description": "Deprecated. The name of the cluster to upgrade. This field has been deprecated and replaced by the name field.", +"type": "string" +}, +"masterVersion": { +"description": "Required. The Kubernetes version to change the master to. Users may specify either explicit versions offered by Kubernetes Engine or version aliases, which have the following behavior: - \"latest\": picks the highest valid Kubernetes version - \"1.X\": picks the highest valid patch+gke.N patch in the 1.X version - \"1.X.Y\": picks the highest valid gke.N patch in the 1.X.Y version - \"1.X.Y-gke.N\": picks an explicit Kubernetes version - \"-\": picks the default Kubernetes version", +"type": "string" +}, +"name": { +"description": "The name (project, location, cluster) of the cluster to update. Specified in the format `projects/*/locations/*/clusters/*`.", +"type": "string" +}, +"projectId": { +"deprecated": true, +"description": "Deprecated. The Google Developers Console [project ID or project number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). This field has been deprecated and replaced by the name field.", +"type": "string" +}, +"zone": { +"deprecated": true, +"description": "Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster resides. This field has been deprecated and replaced by the name field.", +"type": "string" +} +}, +"type": "object" +}, +"UpdateNodePoolRequest": { +"description": "SetNodePoolVersionRequest updates the version of a node pool.", +"id": "UpdateNodePoolRequest", +"properties": { +"accelerators": { +"description": "A list of hardware accelerators to be attached to each node. See https://cloud.google.com/compute/docs/gpus for more information about support for GPUs.", +"items": { +"$ref": "AcceleratorConfig" +}, +"type": "array" +}, +"bootDisk": { +"$ref": "BootDisk", +"description": "The desired boot disk config for nodes in the node pool. Initiates an upgrade operation that migrates the nodes in the node pool to the specified boot disk config." +}, +"clusterId": { +"deprecated": true, +"description": "Deprecated. The name of the cluster to upgrade. This field has been deprecated and replaced by the name field.", +"type": "string" +}, +"confidentialNodes": { +"$ref": "ConfidentialNodes", +"description": "Confidential nodes config. All the nodes in the node pool will be Confidential VM once enabled." +}, +"consolidationDelay": { +"description": "Consolidation delay defines duration after which the Cluster Autoscaler can scale down underutilized nodes. If not set, nodes are scaled down by default behavior, i.e. according to the chosen autoscaling profile.", +"format": "google-duration", +"type": "string" +}, +"containerdConfig": { +"$ref": "ContainerdConfig", +"description": "The desired containerd config for nodes in the node pool. Initiates an upgrade operation that recreates the nodes with the new config." +}, +"diskSizeGb": { +"description": "Optional. The desired disk size for nodes in the node pool. Initiates an upgrade operation that migrates the nodes in the node pool to the specified disk size.", +"format": "int64", +"type": "string" +}, +"diskType": { +"description": "Optional. The desired disk type for nodes in the node pool. Initiates an upgrade operation that migrates the nodes in the node pool to the specified disk type.", +"type": "string" +}, +"etag": { +"description": "The current etag of the node pool. If an etag is provided and does not match the current etag of the node pool, update will be blocked and an ABORTED error will be returned.", +"type": "string" +}, +"fastSocket": { +"$ref": "FastSocket", +"description": "Enable or disable NCCL fast socket for the node pool." +}, +"flexStart": { +"description": "Flex Start flag for enabling Flex Start VM.", +"type": "boolean" +}, +"gcfsConfig": { +"$ref": "GcfsConfig", +"description": "GCFS config." +}, +"gvnic": { +"$ref": "VirtualNIC", +"description": "Enable or disable gvnic on the node pool." +}, +"imageType": { +"description": "Required. The desired image type for the node pool. Please see https://cloud.google.com/kubernetes-engine/docs/concepts/node-images for available image types.", +"type": "string" +}, +"kubeletConfig": { +"$ref": "NodeKubeletConfig", +"description": "Node kubelet configs." +}, +"labels": { +"$ref": "NodeLabels", +"description": "The desired node labels to be applied to all nodes in the node pool. If this field is not present, the labels will not be changed. Otherwise, the existing node labels will be *replaced* with the provided labels." +}, +"linuxNodeConfig": { +"$ref": "LinuxNodeConfig", +"description": "Parameters that can be configured on Linux nodes." +}, +"locations": { +"description": "The desired list of Google Compute Engine [zones](https://cloud.google.com/compute/docs/zones#available) in which the node pool's nodes should be located. Changing the locations for a node pool will result in nodes being either created or removed from the node pool, depending on whether locations are being added or removed. Warning: It is recommended to update node pool locations in a standalone API call. Do not combine a location update with changes to other fields (such as `tags`, `labels`, `taints`, etc.) in the same request. Otherwise, the API performs a structural modification where changes to other fields will only apply to newly created nodes and will not be applied to existing nodes in the node pool. To ensure all nodes are updated consistently, use a separate API call for location changes.", +"items": { +"type": "string" +}, +"type": "array" +}, +"loggingConfig": { +"$ref": "NodePoolLoggingConfig", +"description": "Logging configuration." +}, +"machineType": { +"description": "Optional. The desired machine type for nodes in the node pool. Initiates an upgrade operation that migrates the nodes in the node pool to the specified machine type.", +"type": "string" +}, +"maxRunDuration": { +"description": "The maximum duration for the nodes to exist. If unspecified, the nodes can exist indefinitely.", +"format": "google-duration", +"type": "string" +}, +"name": { +"description": "The name (project, location, cluster, node pool) of the node pool to update. Specified in the format `projects/*/locations/*/clusters/*/nodePools/*`.", +"type": "string" +}, +"nodeDrainConfig": { +"$ref": "NodeDrainConfig", +"description": "The desired node drain configuration for nodes in the node pool." +}, +"nodeNetworkConfig": { +"$ref": "NodeNetworkConfig", +"description": "Node network config." +}, +"nodePoolId": { +"deprecated": true, +"description": "Deprecated. The name of the node pool to upgrade. This field has been deprecated and replaced by the name field.", +"type": "string" +}, +"nodeVersion": { +"description": "Required. The Kubernetes version to change the nodes to (typically an upgrade). Users may specify either explicit versions offered by Kubernetes Engine or version aliases, which have the following behavior: - \"latest\": picks the highest valid Kubernetes version - \"1.X\": picks the highest valid patch+gke.N patch in the 1.X version - \"1.X.Y\": picks the highest valid gke.N patch in the 1.X.Y version - \"1.X.Y-gke.N\": picks an explicit Kubernetes version - \"-\": picks the Kubernetes master version", +"type": "string" +}, +"projectId": { +"deprecated": true, +"description": "Deprecated. The Google Developers Console [project ID or project number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). This field has been deprecated and replaced by the name field.", +"type": "string" +}, +"queuedProvisioning": { +"$ref": "QueuedProvisioning", +"description": "Specifies the configuration of queued provisioning." +}, +"resourceLabels": { +"$ref": "ResourceLabels", +"description": "The resource labels for the node pool to use to annotate any related Google Compute Engine resources." +}, +"resourceManagerTags": { +"$ref": "ResourceManagerTags", +"description": "Desired resource manager tag keys and values to be attached to the nodes for managing Compute Engine firewalls using Network Firewall Policies. Existing tags will be replaced with new values." +}, +"storagePools": { +"description": "List of Storage Pools where boot disks are provisioned. Existing Storage Pools will be replaced with storage-pools.", +"items": { +"type": "string" +}, +"type": "array" +}, +"tags": { +"$ref": "NetworkTags", +"description": "The desired network tags to be applied to all nodes in the node pool. If this field is not present, the tags will not be changed. Otherwise, the existing network tags will be *replaced* with the provided tags." +}, +"taints": { +"$ref": "NodeTaints", +"description": "The desired node taints to be applied to all nodes in the node pool. If this field is not present, the taints will not be changed. Otherwise, the existing node taints will be *replaced* with the provided taints." +}, +"upgradeSettings": { +"$ref": "UpgradeSettings", +"description": "Upgrade settings control disruption and speed of the upgrade." +}, +"windowsNodeConfig": { +"$ref": "WindowsNodeConfig", +"description": "Parameters that can be configured on Windows nodes." +}, +"workloadMetadataConfig": { +"$ref": "WorkloadMetadataConfig", +"description": "The desired workload metadata config for the node pool." +}, +"zone": { +"deprecated": true, +"description": "Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster resides. This field has been deprecated and replaced by the name field.", +"type": "string" +} +}, +"type": "object" +}, +"UpgradeAvailableEvent": { +"description": "UpgradeAvailableEvent is a notification sent to customers when a new available version is released.", +"id": "UpgradeAvailableEvent", +"properties": { +"releaseChannel": { +"$ref": "ReleaseChannel", +"description": "The release channel of the version. If empty, it means a non-channel release." +}, +"resource": { +"description": "Optional relative path to the resource. For example, the relative path of the node pool.", +"type": "string" +}, +"resourceType": { +"description": "The resource type of the release version.", +"enum": [ +"UPGRADE_RESOURCE_TYPE_UNSPECIFIED", +"MASTER", +"NODE_POOL" +], +"enumDescriptions": [ +"Default value. This shouldn't be used.", +"Master / control plane", +"Node pool" +], +"type": "string" +}, +"version": { +"description": "The release version available for upgrade.", +"type": "string" +}, +"windowsVersions": { +"$ref": "WindowsVersions", +"description": "Windows node versions info." +} +}, +"type": "object" +}, +"UpgradeDetails": { +"description": "UpgradeDetails contains detailed information of each individual upgrade operation.", +"id": "UpgradeDetails", +"properties": { +"endTime": { +"description": "The end timestamp of the upgrade.", +"format": "google-datetime", +"type": "string" +}, +"initialEmulatedVersion": { +"description": "The emulated version before the upgrade.", +"type": "string" +}, +"initialVersion": { +"description": "The version before the upgrade.", +"type": "string" +}, +"startTime": { +"description": "The start timestamp of the upgrade.", +"format": "google-datetime", +"type": "string" +}, +"startType": { +"description": "The start type of the upgrade.", +"enum": [ +"START_TYPE_UNSPECIFIED", +"AUTOMATIC", +"MANUAL" +], +"enumDescriptions": [ +"Upgrade start type is unspecified.", +"Upgrade started automatically.", +"Upgrade started manually." +], +"type": "string" +}, +"state": { +"description": "Output only. The state of the upgrade.", +"enum": [ +"UNKNOWN", +"FAILED", +"SUCCEEDED", +"CANCELED", +"RUNNING" +], +"enumDescriptions": [ +"Upgrade state is unknown.", +"Upgrade has failed with an error.", +"Upgrade has succeeded.", +"Upgrade has been canceled.", +"Upgrade is running." +], +"readOnly": true, +"type": "string" +}, +"targetEmulatedVersion": { +"description": "The emulated version after the upgrade.", +"type": "string" +}, +"targetVersion": { +"description": "The version after the upgrade.", +"type": "string" +} +}, +"type": "object" +}, +"UpgradeEvent": { +"description": "UpgradeEvent is a notification sent to customers by the cluster server when a resource is upgrading.", +"id": "UpgradeEvent", +"properties": { +"currentEmulatedVersion": { +"description": "The current emulated version before the upgrade.", +"type": "string" +}, +"currentVersion": { +"description": "The current version before the upgrade.", +"type": "string" +}, +"operation": { +"description": "The operation associated with this upgrade.", +"type": "string" +}, +"operationStartTime": { +"description": "The time when the operation was started.", +"format": "google-datetime", +"type": "string" +}, +"resource": { +"description": "Optional relative path to the resource. For example in node pool upgrades, the relative path of the node pool.", +"type": "string" +}, +"resourceType": { +"description": "The resource type that is upgrading.", +"enum": [ +"UPGRADE_RESOURCE_TYPE_UNSPECIFIED", +"MASTER", +"NODE_POOL" +], +"enumDescriptions": [ +"Default value. This shouldn't be used.", +"Master / control plane", +"Node pool" +], +"type": "string" +}, +"targetEmulatedVersion": { +"description": "The target emulated version for the upgrade.", +"type": "string" +}, +"targetVersion": { +"description": "The target version for the upgrade.", +"type": "string" +} +}, +"type": "object" +}, +"UpgradeInfoEvent": { +"description": "UpgradeInfoEvent is a notification sent to customers about the upgrade information of a resource.", +"id": "UpgradeInfoEvent", +"properties": { +"currentEmulatedVersion": { +"description": "The current emulated version before the upgrade.", +"type": "string" +}, +"currentVersion": { +"description": "The current version before the upgrade.", +"type": "string" +}, +"description": { +"description": "A brief description of the event.", +"type": "string" +}, +"disruptionEvent": { +"$ref": "DisruptionEvent", +"description": "The information about the disruption event. This field is only populated when event_type is DISRUPTION_EVENT." +}, +"endTime": { +"description": "The time when the operation ended.", +"format": "google-datetime", +"type": "string" +}, +"eventType": { +"description": "The type of the event.", +"enum": [ +"EVENT_TYPE_UNSPECIFIED", +"END_OF_SUPPORT", +"COS_MILESTONE_VERSION_UPDATE", +"UPGRADE_LIFECYCLE", +"DISRUPTION_EVENT" +], +"enumDescriptions": [ +"EVENT_TYPE_UNSPECIFIED indicates the event type is unspecified.", +"END_OF_SUPPORT indicates GKE version reaches end of support, check standard_support_end_time and extended_support_end_time for more details.", +"COS_MILESTONE_VERSION_UPDATE indicates that the COS node image will update COS milestone version for new patch versions starting with the one in the description.", +"UPGRADE_LIFECYCLE indicates the event is about the upgrade lifecycle.", +"DISRUPTION_EVENT indicates the event is about the disruption." +], +"type": "string" +}, +"extendedSupportEndTime": { +"description": "The end of extended support timestamp.", +"format": "google-datetime", +"type": "string" +}, +"operation": { +"description": "The operation associated with this upgrade.", +"type": "string" +}, +"resource": { +"description": "Optional relative path to the resource. For example in node pool upgrades, the relative path of the node pool.", +"type": "string" +}, +"resourceType": { +"description": "The resource type associated with the upgrade.", +"enum": [ +"UPGRADE_RESOURCE_TYPE_UNSPECIFIED", +"MASTER", +"NODE_POOL" +], +"enumDescriptions": [ +"Default value. This shouldn't be used.", +"Master / control plane", +"Node pool" +], +"type": "string" +}, +"standardSupportEndTime": { +"description": "The end of standard support timestamp.", +"format": "google-datetime", +"type": "string" +}, +"startTime": { +"description": "The time when the operation was started.", +"format": "google-datetime", +"type": "string" +}, +"state": { +"description": "Output only. The state of the upgrade.", +"enum": [ +"STATE_UNSPECIFIED", +"STARTED", +"SUCCEEDED", +"FAILED", +"CANCELED" +], +"enumDescriptions": [ +"STATE_UNSPECIFIED indicates the state is unspecified.", +"STARTED indicates the upgrade has started.", +"SUCCEEDED indicates the upgrade has completed successfully.", +"FAILED indicates the upgrade has failed.", +"CANCELED indicates the upgrade has canceled." +], +"readOnly": true, +"type": "string" +}, +"targetEmulatedVersion": { +"description": "The target emulated version for the upgrade.", +"type": "string" +}, +"targetVersion": { +"description": "The target version for the upgrade.", +"type": "string" +} +}, +"type": "object" +}, +"UpgradeSettings": { +"description": "These upgrade settings control the level of parallelism and the level of disruption caused by an upgrade. maxUnavailable controls the number of nodes that can be simultaneously unavailable. maxSurge controls the number of additional nodes that can be added to the node pool temporarily for the time of the upgrade to increase the number of available nodes. (maxUnavailable + maxSurge) determines the level of parallelism (how many nodes are being upgraded at the same time). Note: upgrades inevitably introduce some disruption since workloads need to be moved from old nodes to new, upgraded ones. Even if maxUnavailable=0, this holds true. (Disruption stays within the limits of PodDisruptionBudget, if it is configured.) Consider a hypothetical node pool with 5 nodes having maxSurge=2, maxUnavailable=1. This means the upgrade process upgrades 3 nodes simultaneously. It creates 2 additional (upgraded) nodes, then it brings down 3 old (not yet upgraded) nodes at the same time. This ensures that there are always at least 4 nodes available. These upgrade settings configure the upgrade strategy for the node pool. Use strategy to switch between the strategies applied to the node pool. If the strategy is SURGE, use max_surge and max_unavailable to control the level of parallelism and the level of disruption caused by upgrade. 1. maxSurge controls the number of additional nodes that can be added to the node pool temporarily for the time of the upgrade to increase the number of available nodes. 2. maxUnavailable controls the number of nodes that can be simultaneously unavailable. 3. (maxUnavailable + maxSurge) determines the level of parallelism (how many nodes are being upgraded at the same time). If the strategy is BLUE_GREEN, use blue_green_settings to configure the blue-green upgrade related settings. 1. standard_rollout_policy is the default policy. The policy is used to control the way blue pool gets drained. The draining is executed in the batch mode. The batch size could be specified as either percentage of the node pool size or the number of nodes. batch_soak_duration is the soak time after each batch gets drained. 2. node_pool_soak_duration is the soak time after all blue nodes are drained. After this period, the blue pool nodes will be deleted.", +"id": "UpgradeSettings", +"properties": { +"blueGreenSettings": { +"$ref": "BlueGreenSettings", +"description": "Settings for blue-green upgrade strategy." +}, +"maxSurge": { +"description": "The maximum number of nodes that can be created beyond the current size of the node pool during the upgrade process.", +"format": "int32", +"type": "integer" +}, +"maxUnavailable": { +"description": "The maximum number of nodes that can be simultaneously unavailable during the upgrade process. A node is considered available if its status is Ready.", +"format": "int32", +"type": "integer" +}, +"strategy": { +"description": "Update strategy of the node pool.", +"enum": [ +"NODE_POOL_UPDATE_STRATEGY_UNSPECIFIED", +"BLUE_GREEN", +"SURGE", +"SHORT_LIVED" +], +"enumDescriptions": [ +"Default value if unset. GKE internally defaults the update strategy to SURGE for unspecified strategies.", +"blue-green upgrade.", +"SURGE is the traditional way of upgrading a node pool. max_surge and max_unavailable determines the level of upgrade parallelism.", +"SHORT_LIVED is the dedicated upgrade strategy for QueuedProvisioning and flex start nodepools scaled up only by enqueueing to the Dynamic Workload Scheduler (DWS)." +], +"type": "string" +} +}, +"type": "object" +}, +"UsableSubnetwork": { +"description": "UsableSubnetwork resource returns the subnetwork name, its associated network and the primary CIDR range.", +"id": "UsableSubnetwork", +"properties": { +"ipCidrRange": { +"description": "The range of internal addresses that are owned by this subnetwork.", +"type": "string" +}, +"network": { +"description": "Network Name. Example: projects/my-project/global/networks/my-network", +"type": "string" +}, +"secondaryIpRanges": { +"description": "Secondary IP ranges.", +"items": { +"$ref": "UsableSubnetworkSecondaryRange" +}, +"type": "array" +}, +"statusMessage": { +"description": "A human readable status message representing the reasons for cases where the caller cannot use the secondary ranges under the subnet. For example if the secondary_ip_ranges is empty due to a permission issue, an insufficient permission message will be given by status_message.", +"type": "string" +}, +"subnetwork": { +"description": "Subnetwork Name. Example: projects/my-project/regions/us-central1/subnetworks/my-subnet", +"type": "string" +} +}, +"type": "object" +}, +"UsableSubnetworkSecondaryRange": { +"description": "Secondary IP range of a usable subnetwork.", +"id": "UsableSubnetworkSecondaryRange", +"properties": { +"ipCidrRange": { +"description": "The range of IP addresses belonging to this subnetwork secondary range.", +"type": "string" +}, +"rangeName": { +"description": "The name associated with this subnetwork secondary range, used when adding an alias IP range to a VM instance.", +"type": "string" +}, +"status": { +"description": "This field is to determine the status of the secondary range programmably.", +"enum": [ +"UNKNOWN", +"UNUSED", +"IN_USE_SERVICE", +"IN_USE_SHAREABLE_POD", +"IN_USE_MANAGED_POD" +], +"enumDescriptions": [ +"UNKNOWN is the zero value of the Status enum. It's not a valid status.", +"UNUSED denotes that this range is unclaimed by any cluster.", +"IN_USE_SERVICE denotes that this range is claimed by a cluster for services. It cannot be used for other clusters.", +"IN_USE_SHAREABLE_POD denotes this range was created by the network admin and is currently claimed by a cluster for pods. It can only be used by other clusters as a pod range.", +"IN_USE_MANAGED_POD denotes this range was created by GKE and is claimed for pods. It cannot be used for other clusters." +], +"type": "string" +} +}, +"type": "object" +}, +"UserManagedKeysConfig": { +"description": "UserManagedKeysConfig holds the resource address to Keys which are used for signing certs and token that are used for communication within cluster.", +"id": "UserManagedKeysConfig", +"properties": { +"aggregationCa": { +"description": "The Certificate Authority Service caPool to use for the aggregation CA in this cluster.", +"type": "string" +}, +"clusterCa": { +"description": "The Certificate Authority Service caPool to use for the cluster CA in this cluster.", +"type": "string" +}, +"controlPlaneDiskEncryptionKey": { +"description": "The Cloud KMS cryptoKey to use for Confidential Hyperdisk on the control plane nodes.", +"type": "string" +}, +"controlPlaneDiskEncryptionKeyVersions": { +"description": "Output only. All of the versions of the Cloud KMS cryptoKey that are used by Confidential Hyperdisks on the control plane nodes.", +"items": { +"type": "string" +}, +"readOnly": true, +"type": "array" +}, +"etcdApiCa": { +"description": "Resource path of the Certificate Authority Service caPool to use for the etcd API CA in this cluster.", +"type": "string" +}, +"etcdPeerCa": { +"description": "Resource path of the Certificate Authority Service caPool to use for the etcd peer CA in this cluster.", +"type": "string" +}, +"gkeopsEtcdBackupEncryptionKey": { +"description": "Resource path of the Cloud KMS cryptoKey to use for encryption of internal etcd backups.", +"type": "string" +}, +"serviceAccountSigningKeys": { +"description": "The Cloud KMS cryptoKeyVersions to use for signing service account JWTs issued by this cluster. Format: `projects/{project}/locations/{location}/keyRings/{keyring}/cryptoKeys/{cryptoKey}/cryptoKeyVersions/{cryptoKeyVersion}`", +"items": { +"type": "string" +}, +"type": "array" +}, +"serviceAccountVerificationKeys": { +"description": "The Cloud KMS cryptoKeyVersions to use for verifying service account JWTs issued by this cluster. Format: `projects/{project}/locations/{location}/keyRings/{keyring}/cryptoKeys/{cryptoKey}/cryptoKeyVersions/{cryptoKeyVersion}`", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"VerticalPodAutoscaling": { +"description": "VerticalPodAutoscaling contains global, per-cluster information required by Vertical Pod Autoscaler to automatically adjust the resources of pods controlled by it.", +"id": "VerticalPodAutoscaling", +"properties": { +"enabled": { +"description": "Enables vertical pod autoscaling.", +"type": "boolean" +} +}, +"type": "object" +}, +"VirtualNIC": { +"description": "Configuration of gVNIC feature.", +"id": "VirtualNIC", +"properties": { +"enabled": { +"description": "Whether gVNIC features are enabled in the node pool.", +"type": "boolean" +} +}, +"type": "object" +}, +"WindowsNodeConfig": { +"description": "Parameters that can be configured on Windows nodes. Windows Node Config that define the parameters that will be used to configure the Windows node pool settings.", +"id": "WindowsNodeConfig", +"properties": { +"osVersion": { +"description": "OSVersion specifies the Windows node config to be used on the node.", +"enum": [ +"OS_VERSION_UNSPECIFIED", +"OS_VERSION_LTSC2019", +"OS_VERSION_LTSC2022" +], +"enumDescriptions": [ +"When OSVersion is not specified", +"LTSC2019 specifies to use LTSC2019 as the Windows Servercore Base Image.", +"LTSC2022 specifies to use LTSC2022 as the Windows Servercore Base Image." +], +"type": "string" +} +}, +"type": "object" +}, +"WindowsVersion": { +"description": "Windows server version.", +"id": "WindowsVersion", +"properties": { +"imageType": { +"description": "Windows server image type", +"type": "string" +}, +"osVersion": { +"description": "Windows server build number", +"type": "string" +}, +"supportEndDate": { +"$ref": "Date", +"description": "Mainstream support end date" +} +}, +"type": "object" +}, +"WindowsVersions": { +"description": "Windows server versions.", +"id": "WindowsVersions", +"properties": { +"windowsVersions": { +"description": "List of Windows server versions.", +"items": { +"$ref": "WindowsVersion" +}, +"type": "array" +} +}, +"type": "object" +}, +"WorkloadALTSConfig": { +"description": "Configuration for direct-path (via ALTS) with workload identity. This feature is not officially supported for external customers in Kubernetes Engine when using Workload Identity.", +"id": "WorkloadALTSConfig", +"properties": { +"enableAlts": { +"description": "enable_alts controls whether the alts handshaker should be enabled or not for direct-path. Requires Workload Identity (workload_pool must be non-empty).", +"type": "boolean" +} +}, +"type": "object" +}, +"WorkloadCertificates": { +"description": "Configuration for issuance of mTLS keys and certificates to Kubernetes pods.", +"id": "WorkloadCertificates", +"properties": { +"enableCertificates": { +"description": "enable_certificates controls issuance of workload mTLS certificates. If set, the GKE Workload Identity Certificates controller and node agent will be deployed in the cluster, which can then be configured by creating a WorkloadCertificateConfig Custom Resource. Requires Workload Identity (workload_pool must be non-empty).", +"type": "boolean" +} +}, +"type": "object" +}, +"WorkloadConfig": { +"description": "WorkloadConfig defines the flags to enable or disable the workload configurations for the cluster.", +"id": "WorkloadConfig", +"properties": { +"auditMode": { +"description": "Sets which mode of auditing should be used for the cluster's workloads.", +"enum": [ +"MODE_UNSPECIFIED", +"DISABLED", +"BASIC", +"BASELINE", +"RESTRICTED" +], +"enumDeprecated": [ +false, +false, +false, +true, +true +], +"enumDescriptions": [ +"Default value meaning that no mode has been specified.", +"This disables Workload Configuration auditing on the cluster, meaning that nothing is surfaced.", +"Applies the default set of policy auditing to a cluster's workloads.", +"Surfaces configurations that are not in line with the Pod Security Standard Baseline policy.", +"Surfaces configurations that are not in line with the Pod Security Standard Restricted policy." +], +"type": "string" +} +}, +"type": "object" +}, +"WorkloadIdentityConfig": { +"description": "Configuration for the use of Kubernetes Service Accounts in IAM policies.", +"id": "WorkloadIdentityConfig", +"properties": { +"identityNamespace": { +"deprecated": true, +"description": "IAM Identity Namespace to attach all Kubernetes Service Accounts to.", +"type": "string" +}, +"identityProvider": { +"description": "identity provider is the third party identity provider.", +"type": "string" +}, +"workloadPool": { +"description": "The workload pool to attach all Kubernetes service accounts to.", +"type": "string" +} +}, +"type": "object" +}, +"WorkloadMetadataConfig": { +"description": "WorkloadMetadataConfig defines the metadata configuration to expose to workloads on the node pool.", +"id": "WorkloadMetadataConfig", +"properties": { +"mode": { +"description": "Mode is the configuration for how to expose metadata to workloads running on the node pool.", +"enum": [ +"MODE_UNSPECIFIED", +"GCE_METADATA", +"GKE_METADATA" +], +"enumDescriptions": [ +"Not set.", +"Expose all Compute Engine metadata to pods.", +"Run the GKE Metadata Server on this node. The GKE Metadata Server exposes a metadata API to workloads that is compatible with the V1 Compute Metadata APIs exposed by the Compute Engine and App Engine Metadata Servers. This feature can only be enabled if Workload Identity is enabled at the cluster level." +], +"type": "string" +}, +"nodeMetadata": { +"deprecated": true, +"description": "NodeMetadata is the configuration for how to expose metadata to the workloads running on the node.", +"enum": [ +"UNSPECIFIED", +"SECURE", +"EXPOSE", +"GKE_METADATA_SERVER" +], +"enumDescriptions": [ +"Not set.", +"Prevent workloads not in hostNetwork from accessing certain VM metadata, specifically kube-env, which contains Kubelet credentials, and the instance identity token. Metadata concealment is a temporary security solution available while the bootstrapping process for cluster nodes is being redesigned with significant security improvements. This feature is scheduled to be deprecated in the future and later removed.", +"Expose all VM metadata to pods.", +"Run the GKE Metadata Server on this node. The GKE Metadata Server exposes a metadata API to workloads that is compatible with the V1 Compute Metadata APIs exposed by the Compute Engine and App Engine Metadata Servers. This feature can only be enabled if Workload Identity is enabled at the cluster level." +], +"type": "string" +} +}, +"type": "object" +}, +"WorkloadPolicyConfig": { +"description": "WorkloadPolicyConfig is the configuration related to GCW workload policy", +"id": "WorkloadPolicyConfig", +"properties": { +"allowNetAdmin": { +"description": "If true, workloads can use NET_ADMIN capability.", +"type": "boolean" +}, +"autopilotCompatibilityAuditingEnabled": { +"description": "If true, enables the GCW Auditor that audits workloads on standard clusters.", +"type": "boolean" +} +}, +"type": "object" +}, +"WritableCgroups": { +"description": "Defines writable cgroups configuration.", +"id": "WritableCgroups", +"properties": { +"enabled": { +"description": "Optional. Whether writable cgroups is enabled.", +"type": "boolean" +} +}, +"type": "object" +} +}, +"servicePath": "", +"title": "Kubernetes Engine API", +"version": "v1beta1", +"version_module": true +} \ No newline at end of file diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/containeranalysis.v1alpha1.json b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/containeranalysis.v1alpha1.json new file mode 100644 index 0000000000000000000000000000000000000000..c28d2275eb24de536f235c37e7f5c409fdb923e8 --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/containeranalysis.v1alpha1.json @@ -0,0 +1,7628 @@ +{ +"auth": { +"oauth2": { +"scopes": { +"https://www.googleapis.com/auth/cloud-platform": { +"description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." +} +} +} +}, +"basePath": "", +"baseUrl": "https://containeranalysis.googleapis.com/", +"batchPath": "batch", +"canonicalName": "Container Analysis", +"description": "This API is a prerequisite for leveraging Artifact Analysis scanning capabilities in Artifact Registry. In addition, the Container Analysis API is an implementation of the Grafeas API, which enables storing, querying, and retrieval of critical metadata about all of your software artifacts.", +"discoveryVersion": "v1", +"documentationLink": "https://cloud.google.com/container-analysis/api/reference/rest/", +"endpoints": [ +{ +"description": "Regional Endpoint", +"endpointUrl": "https://containeranalysis.asia-east1.rep.googleapis.com/", +"location": "asia-east1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://containeranalysis.asia-east2.rep.googleapis.com/", +"location": "asia-east2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://containeranalysis.asia-northeast1.rep.googleapis.com/", +"location": "asia-northeast1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://containeranalysis.asia-northeast3.rep.googleapis.com/", +"location": "asia-northeast3" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://containeranalysis.asia-south1.rep.googleapis.com/", +"location": "asia-south1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://containeranalysis.asia-south2.rep.googleapis.com/", +"location": "asia-south2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://containeranalysis.asia-southeast1.rep.googleapis.com/", +"location": "asia-southeast1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://containeranalysis.asia-southeast2.rep.googleapis.com/", +"location": "asia-southeast2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://containeranalysis.australia-southeast1.rep.googleapis.com/", +"location": "australia-southeast1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://containeranalysis.europe-central2.rep.googleapis.com/", +"location": "europe-central2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://containeranalysis.europe-north1.rep.googleapis.com/", +"location": "europe-north1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://containeranalysis.europe-southwest1.rep.googleapis.com/", +"location": "europe-southwest1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://containeranalysis.europe-west1.rep.googleapis.com/", +"location": "europe-west1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://containeranalysis.europe-west2.rep.googleapis.com/", +"location": "europe-west2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://containeranalysis.europe-west3.rep.googleapis.com/", +"location": "europe-west3" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://containeranalysis.europe-west4.rep.googleapis.com/", +"location": "europe-west4" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://containeranalysis.europe-west6.rep.googleapis.com/", +"location": "europe-west6" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://containeranalysis.europe-west8.rep.googleapis.com/", +"location": "europe-west8" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://containeranalysis.europe-west9.rep.googleapis.com/", +"location": "europe-west9" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://containeranalysis.me-central1.rep.googleapis.com/", +"location": "me-central1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://containeranalysis.me-central2.rep.googleapis.com/", +"location": "me-central2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://containeranalysis.me-west1.rep.googleapis.com/", +"location": "me-west1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://containeranalysis.northamerica-northeast1.rep.googleapis.com/", +"location": "northamerica-northeast1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://containeranalysis.northamerica-northeast2.rep.googleapis.com/", +"location": "northamerica-northeast2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://containeranalysis.southamerica-east1.rep.googleapis.com/", +"location": "southamerica-east1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://containeranalysis.southamerica-west1.rep.googleapis.com/", +"location": "southamerica-west1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://containeranalysis.us-central1.rep.googleapis.com/", +"location": "us-central1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://containeranalysis.us-central2.rep.googleapis.com/", +"location": "us-central2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://containeranalysis.us-east1.rep.googleapis.com/", +"location": "us-east1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://containeranalysis.us-east4.rep.googleapis.com/", +"location": "us-east4" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://containeranalysis.us-east5.rep.googleapis.com/", +"location": "us-east5" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://containeranalysis.us-east7.rep.googleapis.com/", +"location": "us-east7" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://containeranalysis.us-south1.rep.googleapis.com/", +"location": "us-south1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://containeranalysis.us-west1.rep.googleapis.com/", +"location": "us-west1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://containeranalysis.us-west2.rep.googleapis.com/", +"location": "us-west2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://containeranalysis.us-west3.rep.googleapis.com/", +"location": "us-west3" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://containeranalysis.us-west4.rep.googleapis.com/", +"location": "us-west4" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://containeranalysis.africa-south1.rep.googleapis.com/", +"location": "africa-south1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://containeranalysis.asia-northeast2.rep.googleapis.com/", +"location": "asia-northeast2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://containeranalysis.australia-southeast2.rep.googleapis.com/", +"location": "australia-southeast2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://containeranalysis.europe-west10.rep.googleapis.com/", +"location": "europe-west10" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://containeranalysis.us.rep.googleapis.com/", +"location": "us" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://containeranalysis.eu.rep.googleapis.com/", +"location": "eu" +} +], +"fullyEncodeReservedExpansion": true, +"icons": { +"x16": "http://www.google.com/images/icons/product/search-16.gif", +"x32": "http://www.google.com/images/icons/product/search-32.gif" +}, +"id": "containeranalysis:v1alpha1", +"kind": "discovery#restDescription", +"mtlsRootUrl": "https://containeranalysis.mtls.googleapis.com/", +"name": "containeranalysis", +"ownerDomain": "google.com", +"ownerName": "Google", +"parameters": { +"$.xgafv": { +"description": "V1 error format.", +"enum": [ +"1", +"2" +], +"enumDescriptions": [ +"v1 error format", +"v2 error format" +], +"location": "query", +"type": "string" +}, +"access_token": { +"description": "OAuth access token.", +"location": "query", +"type": "string" +}, +"alt": { +"default": "json", +"description": "Data format for response.", +"enum": [ +"json", +"media", +"proto" +], +"enumDescriptions": [ +"Responses with Content-Type of application/json", +"Media download with context-dependent Content-Type", +"Responses with Content-Type of application/x-protobuf" +], +"location": "query", +"type": "string" +}, +"callback": { +"description": "JSONP", +"location": "query", +"type": "string" +}, +"fields": { +"description": "Selector specifying which fields to include in a partial response.", +"location": "query", +"type": "string" +}, +"key": { +"description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", +"location": "query", +"type": "string" +}, +"oauth_token": { +"description": "OAuth 2.0 token for the current user.", +"location": "query", +"type": "string" +}, +"prettyPrint": { +"default": "true", +"description": "Returns response with indentations and line breaks.", +"location": "query", +"type": "boolean" +}, +"quotaUser": { +"description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.", +"location": "query", +"type": "string" +}, +"uploadType": { +"description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", +"location": "query", +"type": "string" +}, +"upload_protocol": { +"description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", +"location": "query", +"type": "string" +} +}, +"protocol": "rest", +"resources": { +"projects": { +"resources": { +"notes": { +"methods": { +"create": { +"description": "Creates a new `Note`.", +"flatPath": "v1alpha1/projects/{projectsId}/notes", +"httpMethod": "POST", +"id": "containeranalysis.projects.notes.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"name": { +"description": "The name of the project. Should be of the form \"providers/{provider_id}\". @Deprecated", +"location": "query", +"type": "string" +}, +"noteId": { +"description": "The ID to use for this note.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "This field contains the project Id for example: \"projects/{project_id}", +"location": "path", +"pattern": "^projects/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha1/{+parent}/notes", +"request": { +"$ref": "Note" +}, +"response": { +"$ref": "Note" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes the given `Note` from the system.", +"flatPath": "v1alpha1/projects/{projectsId}/notes/{notesId}", +"httpMethod": "DELETE", +"id": "containeranalysis.projects.notes.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the note in the form of \"providers/{provider_id}/notes/{NOTE_ID}\"", +"location": "path", +"pattern": "^projects/[^/]+/notes/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha1/{+name}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Returns the requested `Note`.", +"flatPath": "v1alpha1/projects/{projectsId}/notes/{notesId}", +"httpMethod": "GET", +"id": "containeranalysis.projects.notes.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the note in the form of \"providers/{provider_id}/notes/{NOTE_ID}\"", +"location": "path", +"pattern": "^projects/[^/]+/notes/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha1/{+name}", +"response": { +"$ref": "Note" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"getIamPolicy": { +"description": "Gets the access control policy for a note or an `Occurrence` resource. Requires `containeranalysis.notes.setIamPolicy` or `containeranalysis.occurrences.setIamPolicy` permission if the resource is a note or occurrence, respectively. Attempting to call this method on a resource without the required permission will result in a `PERMISSION_DENIED` error. Attempting to call this method on a non-existent resource will result in a `NOT_FOUND` error if the user has list permission on the project, or a `PERMISSION_DENIED` error otherwise. The resource takes the following formats: `projects/{PROJECT_ID}/occurrences/{OCCURRENCE_ID}` for occurrences and projects/{PROJECT_ID}/notes/{NOTE_ID} for notes", +"flatPath": "v1alpha1/projects/{projectsId}/notes/{notesId}:getIamPolicy", +"httpMethod": "POST", +"id": "containeranalysis.projects.notes.getIamPolicy", +"parameterOrder": [ +"resource" +], +"parameters": { +"resource": { +"description": "REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", +"location": "path", +"pattern": "^projects/[^/]+/notes/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha1/{+resource}:getIamPolicy", +"request": { +"$ref": "GetIamPolicyRequest" +}, +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists all `Notes` for a given project.", +"flatPath": "v1alpha1/projects/{projectsId}/notes", +"httpMethod": "GET", +"id": "containeranalysis.projects.notes.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "The filter expression.", +"location": "query", +"type": "string" +}, +"name": { +"description": "The name field will contain the project Id for example: \"providers/{provider_id} @Deprecated", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Number of notes to return in the list.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Token to provide to skip to a particular spot in the list.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "This field contains the project Id for example: \"projects/{PROJECT_ID}\".", +"location": "path", +"pattern": "^projects/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha1/{+parent}/notes", +"response": { +"$ref": "ListNotesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates an existing `Note`.", +"flatPath": "v1alpha1/projects/{projectsId}/notes/{notesId}", +"httpMethod": "PATCH", +"id": "containeranalysis.projects.notes.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the note. Should be of the form \"projects/{provider_id}/notes/{note_id}\".", +"location": "path", +"pattern": "^projects/[^/]+/notes/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "The fields to update.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1alpha1/{+name}", +"request": { +"$ref": "Note" +}, +"response": { +"$ref": "Note" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"setIamPolicy": { +"description": "Sets the access control policy on the specified `Note` or `Occurrence`. Requires `containeranalysis.notes.setIamPolicy` or `containeranalysis.occurrences.setIamPolicy` permission if the resource is a `Note` or an `Occurrence`, respectively. Attempting to call this method without these permissions will result in a ` `PERMISSION_DENIED` error. Attempting to call this method on a non-existent resource will result in a `NOT_FOUND` error if the user has `containeranalysis.notes.list` permission on a `Note` or `containeranalysis.occurrences.list` on an `Occurrence`, or a `PERMISSION_DENIED` error otherwise. The resource takes the following formats: `projects/{projectid}/occurrences/{occurrenceid}` for occurrences and projects/{projectid}/notes/{noteid} for notes", +"flatPath": "v1alpha1/projects/{projectsId}/notes/{notesId}:setIamPolicy", +"httpMethod": "POST", +"id": "containeranalysis.projects.notes.setIamPolicy", +"parameterOrder": [ +"resource" +], +"parameters": { +"resource": { +"description": "REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", +"location": "path", +"pattern": "^projects/[^/]+/notes/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha1/{+resource}:setIamPolicy", +"request": { +"$ref": "SetIamPolicyRequest" +}, +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"testIamPermissions": { +"description": "Returns the permissions that a caller has on the specified note or occurrence resource. Requires list permission on the project (for example, \"storage.objects.list\" on the containing bucket for testing permission of an object). Attempting to call this method on a non-existent resource will result in a `NOT_FOUND` error if the user has list permission on the project, or a `PERMISSION_DENIED` error otherwise. The resource takes the following formats: `projects/{PROJECT_ID}/occurrences/{OCCURRENCE_ID}` for `Occurrences` and `projects/{PROJECT_ID}/notes/{NOTE_ID}` for `Notes`", +"flatPath": "v1alpha1/projects/{projectsId}/notes/{notesId}:testIamPermissions", +"httpMethod": "POST", +"id": "containeranalysis.projects.notes.testIamPermissions", +"parameterOrder": [ +"resource" +], +"parameters": { +"resource": { +"description": "REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", +"location": "path", +"pattern": "^projects/[^/]+/notes/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha1/{+resource}:testIamPermissions", +"request": { +"$ref": "TestIamPermissionsRequest" +}, +"response": { +"$ref": "TestIamPermissionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"occurrences": { +"methods": { +"list": { +"description": "Lists `Occurrences` referencing the specified `Note`. Use this method to get all occurrences referencing your `Note` across all your customer projects.", +"flatPath": "v1alpha1/projects/{projectsId}/notes/{notesId}/occurrences", +"httpMethod": "GET", +"id": "containeranalysis.projects.notes.occurrences.list", +"parameterOrder": [ +"name" +], +"parameters": { +"filter": { +"description": "The filter expression.", +"location": "query", +"type": "string" +}, +"name": { +"description": "The name field will contain the note name for example: \"provider/{provider_id}/notes/{note_id}\"", +"location": "path", +"pattern": "^projects/[^/]+/notes/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "Number of notes to return in the list.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Token to provide to skip to a particular spot in the list.", +"location": "query", +"type": "string" +} +}, +"path": "v1alpha1/{+name}/occurrences", +"response": { +"$ref": "ListNoteOccurrencesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +}, +"occurrences": { +"methods": { +"create": { +"description": "Creates a new `Occurrence`. Use this method to create `Occurrences` for a resource.", +"flatPath": "v1alpha1/projects/{projectsId}/occurrences", +"httpMethod": "POST", +"id": "containeranalysis.projects.occurrences.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"name": { +"description": "The name of the project. Should be of the form \"projects/{project_id}\". @Deprecated", +"location": "query", +"type": "string" +}, +"parent": { +"description": "This field contains the project Id for example: \"projects/{project_id}\"", +"location": "path", +"pattern": "^projects/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha1/{+parent}/occurrences", +"request": { +"$ref": "Occurrence" +}, +"response": { +"$ref": "Occurrence" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes the given `Occurrence` from the system. Use this when an `Occurrence` is no longer applicable for the given resource.", +"flatPath": "v1alpha1/projects/{projectsId}/occurrences/{occurrencesId}", +"httpMethod": "DELETE", +"id": "containeranalysis.projects.occurrences.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the occurrence in the form of \"projects/{project_id}/occurrences/{OCCURRENCE_ID}\"", +"location": "path", +"pattern": "^projects/[^/]+/occurrences/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha1/{+name}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Returns the requested `Occurrence`.", +"flatPath": "v1alpha1/projects/{projectsId}/occurrences/{occurrencesId}", +"httpMethod": "GET", +"id": "containeranalysis.projects.occurrences.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the occurrence of the form \"projects/{project_id}/occurrences/{OCCURRENCE_ID}\"", +"location": "path", +"pattern": "^projects/[^/]+/occurrences/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha1/{+name}", +"response": { +"$ref": "Occurrence" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"getIamPolicy": { +"description": "Gets the access control policy for a note or an `Occurrence` resource. Requires `containeranalysis.notes.setIamPolicy` or `containeranalysis.occurrences.setIamPolicy` permission if the resource is a note or occurrence, respectively. Attempting to call this method on a resource without the required permission will result in a `PERMISSION_DENIED` error. Attempting to call this method on a non-existent resource will result in a `NOT_FOUND` error if the user has list permission on the project, or a `PERMISSION_DENIED` error otherwise. The resource takes the following formats: `projects/{PROJECT_ID}/occurrences/{OCCURRENCE_ID}` for occurrences and projects/{PROJECT_ID}/notes/{NOTE_ID} for notes", +"flatPath": "v1alpha1/projects/{projectsId}/occurrences/{occurrencesId}:getIamPolicy", +"httpMethod": "POST", +"id": "containeranalysis.projects.occurrences.getIamPolicy", +"parameterOrder": [ +"resource" +], +"parameters": { +"resource": { +"description": "REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", +"location": "path", +"pattern": "^projects/[^/]+/occurrences/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha1/{+resource}:getIamPolicy", +"request": { +"$ref": "GetIamPolicyRequest" +}, +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"getNotes": { +"description": "Gets the `Note` attached to the given `Occurrence`.", +"flatPath": "v1alpha1/projects/{projectsId}/occurrences/{occurrencesId}/notes", +"httpMethod": "GET", +"id": "containeranalysis.projects.occurrences.getNotes", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the occurrence in the form \"projects/{project_id}/occurrences/{OCCURRENCE_ID}\"", +"location": "path", +"pattern": "^projects/[^/]+/occurrences/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha1/{+name}/notes", +"response": { +"$ref": "Note" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"getVulnerabilitySummary": { +"description": "Gets a summary of the number and severity of occurrences.", +"flatPath": "v1alpha1/projects/{projectsId}/occurrences:vulnerabilitySummary", +"httpMethod": "GET", +"id": "containeranalysis.projects.occurrences.getVulnerabilitySummary", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "The filter expression.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "This contains the project Id for example: projects/{project_id}", +"location": "path", +"pattern": "^projects/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha1/{+parent}/occurrences:vulnerabilitySummary", +"response": { +"$ref": "GetVulnzOccurrencesSummaryResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists active `Occurrences` for a given project matching the filters.", +"flatPath": "v1alpha1/projects/{projectsId}/occurrences", +"httpMethod": "GET", +"id": "containeranalysis.projects.occurrences.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "The filter expression.", +"location": "query", +"type": "string" +}, +"kind": { +"description": "The kind of occurrences to filter on.", +"enum": [ +"KIND_UNSPECIFIED", +"PACKAGE_VULNERABILITY", +"BUILD_DETAILS", +"IMAGE_BASIS", +"PACKAGE_MANAGER", +"DEPLOYABLE", +"DISCOVERY", +"ATTESTATION_AUTHORITY", +"UPGRADE", +"COMPLIANCE", +"SBOM", +"SPDX_PACKAGE", +"SPDX_FILE", +"SPDX_RELATIONSHIP", +"DSSE_ATTESTATION", +"VULNERABILITY_ASSESSMENT", +"SBOM_REFERENCE", +"SECRET" +], +"enumDescriptions": [ +"Unknown", +"The note and occurrence represent a package vulnerability.", +"The note and occurrence assert build provenance.", +"This represents an image basis relationship.", +"This represents a package installed via a package manager.", +"The note and occurrence track deployment events.", +"The note and occurrence track the initial discovery status of a resource.", +"This represents a logical \"role\" that can attest to artifacts.", +"This represents an available software upgrade.", +"This represents a compliance check that can be applied to a resource.", +"This represents a software bill of materials.", +"This represents an SPDX Package.", +"This represents an SPDX File.", +"This represents an SPDX Relationship.", +"This represents a DSSE attestation Note", +"This represents a Vulnerability Assessment.", +"This represents a reference to an SBOM.", +"This represents a secret." +], +"location": "query", +"type": "string" +}, +"name": { +"description": "The name field contains the project Id. For example: \"projects/{project_id} @Deprecated", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Number of occurrences to return in the list.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Token to provide to skip to a particular spot in the list.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "This contains the project Id for example: projects/{project_id}.", +"location": "path", +"pattern": "^projects/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha1/{+parent}/occurrences", +"response": { +"$ref": "ListOccurrencesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates an existing occurrence.", +"flatPath": "v1alpha1/projects/{projectsId}/occurrences/{occurrencesId}", +"httpMethod": "PATCH", +"id": "containeranalysis.projects.occurrences.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the occurrence. Should be of the form \"projects/{project_id}/occurrences/{OCCURRENCE_ID}\".", +"location": "path", +"pattern": "^projects/[^/]+/occurrences/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "The fields to update.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1alpha1/{+name}", +"request": { +"$ref": "Occurrence" +}, +"response": { +"$ref": "Occurrence" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"setIamPolicy": { +"description": "Sets the access control policy on the specified `Note` or `Occurrence`. Requires `containeranalysis.notes.setIamPolicy` or `containeranalysis.occurrences.setIamPolicy` permission if the resource is a `Note` or an `Occurrence`, respectively. Attempting to call this method without these permissions will result in a ` `PERMISSION_DENIED` error. Attempting to call this method on a non-existent resource will result in a `NOT_FOUND` error if the user has `containeranalysis.notes.list` permission on a `Note` or `containeranalysis.occurrences.list` on an `Occurrence`, or a `PERMISSION_DENIED` error otherwise. The resource takes the following formats: `projects/{projectid}/occurrences/{occurrenceid}` for occurrences and projects/{projectid}/notes/{noteid} for notes", +"flatPath": "v1alpha1/projects/{projectsId}/occurrences/{occurrencesId}:setIamPolicy", +"httpMethod": "POST", +"id": "containeranalysis.projects.occurrences.setIamPolicy", +"parameterOrder": [ +"resource" +], +"parameters": { +"resource": { +"description": "REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", +"location": "path", +"pattern": "^projects/[^/]+/occurrences/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha1/{+resource}:setIamPolicy", +"request": { +"$ref": "SetIamPolicyRequest" +}, +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"testIamPermissions": { +"description": "Returns the permissions that a caller has on the specified note or occurrence resource. Requires list permission on the project (for example, \"storage.objects.list\" on the containing bucket for testing permission of an object). Attempting to call this method on a non-existent resource will result in a `NOT_FOUND` error if the user has list permission on the project, or a `PERMISSION_DENIED` error otherwise. The resource takes the following formats: `projects/{PROJECT_ID}/occurrences/{OCCURRENCE_ID}` for `Occurrences` and `projects/{PROJECT_ID}/notes/{NOTE_ID}` for `Notes`", +"flatPath": "v1alpha1/projects/{projectsId}/occurrences/{occurrencesId}:testIamPermissions", +"httpMethod": "POST", +"id": "containeranalysis.projects.occurrences.testIamPermissions", +"parameterOrder": [ +"resource" +], +"parameters": { +"resource": { +"description": "REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", +"location": "path", +"pattern": "^projects/[^/]+/occurrences/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha1/{+resource}:testIamPermissions", +"request": { +"$ref": "TestIamPermissionsRequest" +}, +"response": { +"$ref": "TestIamPermissionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"operations": { +"methods": { +"create": { +"description": "Creates a new `Operation`.", +"flatPath": "v1alpha1/projects/{projectsId}/operations", +"httpMethod": "POST", +"id": "containeranalysis.projects.operations.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "The project Id that this operation should be created under.", +"location": "path", +"pattern": "^projects/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha1/{+parent}/operations", +"request": { +"$ref": "CreateOperationRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates an existing operation returns an error if operation does not exist. The only valid operations are to update mark the done bit change the result.", +"flatPath": "v1alpha1/projects/{projectsId}/operations/{operationsId}", +"httpMethod": "PATCH", +"id": "containeranalysis.projects.operations.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the Operation. Should be of the form \"projects/{provider_id}/operations/{operation_id}\".", +"location": "path", +"pattern": "^projects/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha1/{+name}", +"request": { +"$ref": "UpdateOperationRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"scanConfigs": { +"methods": { +"get": { +"description": "Gets a specific scan configuration for a project.", +"flatPath": "v1alpha1/projects/{projectsId}/scanConfigs/{scanConfigsId}", +"httpMethod": "GET", +"id": "containeranalysis.projects.scanConfigs.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the ScanConfig in the form projects/{project_id}/scanConfigs/{scan_config_id}", +"location": "path", +"pattern": "^projects/[^/]+/scanConfigs/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha1/{+name}", +"response": { +"$ref": "ScanConfig" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists scan configurations for a project.", +"flatPath": "v1alpha1/projects/{projectsId}/scanConfigs", +"httpMethod": "GET", +"id": "containeranalysis.projects.scanConfigs.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "The filter expression.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "The number of items to return.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The page token to use for the next request.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "This containers the project Id i.e.: projects/{project_id}", +"location": "path", +"pattern": "^projects/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha1/{+parent}/scanConfigs", +"response": { +"$ref": "ListScanConfigsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates the scan configuration to a new value.", +"flatPath": "v1alpha1/projects/{projectsId}/scanConfigs/{scanConfigsId}", +"httpMethod": "PATCH", +"id": "containeranalysis.projects.scanConfigs.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The scan config to update of the form projects/{project_id}/scanConfigs/{scan_config_id}.", +"location": "path", +"pattern": "^projects/[^/]+/scanConfigs/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "The fields to update.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1alpha1/{+name}", +"request": { +"$ref": "ScanConfig" +}, +"response": { +"$ref": "ScanConfig" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +}, +"providers": { +"resources": { +"notes": { +"methods": { +"create": { +"description": "Creates a new `Note`.", +"flatPath": "v1alpha1/providers/{providersId}/notes", +"httpMethod": "POST", +"id": "containeranalysis.providers.notes.create", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the project. Should be of the form \"providers/{provider_id}\". @Deprecated", +"location": "path", +"pattern": "^providers/[^/]+$", +"required": true, +"type": "string" +}, +"noteId": { +"description": "The ID to use for this note.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "This field contains the project Id for example: \"projects/{project_id}", +"location": "query", +"type": "string" +} +}, +"path": "v1alpha1/{+name}/notes", +"request": { +"$ref": "Note" +}, +"response": { +"$ref": "Note" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes the given `Note` from the system.", +"flatPath": "v1alpha1/providers/{providersId}/notes/{notesId}", +"httpMethod": "DELETE", +"id": "containeranalysis.providers.notes.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the note in the form of \"providers/{provider_id}/notes/{NOTE_ID}\"", +"location": "path", +"pattern": "^providers/[^/]+/notes/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha1/{+name}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Returns the requested `Note`.", +"flatPath": "v1alpha1/providers/{providersId}/notes/{notesId}", +"httpMethod": "GET", +"id": "containeranalysis.providers.notes.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the note in the form of \"providers/{provider_id}/notes/{NOTE_ID}\"", +"location": "path", +"pattern": "^providers/[^/]+/notes/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha1/{+name}", +"response": { +"$ref": "Note" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"getIamPolicy": { +"description": "Gets the access control policy for a note or an `Occurrence` resource. Requires `containeranalysis.notes.setIamPolicy` or `containeranalysis.occurrences.setIamPolicy` permission if the resource is a note or occurrence, respectively. Attempting to call this method on a resource without the required permission will result in a `PERMISSION_DENIED` error. Attempting to call this method on a non-existent resource will result in a `NOT_FOUND` error if the user has list permission on the project, or a `PERMISSION_DENIED` error otherwise. The resource takes the following formats: `projects/{PROJECT_ID}/occurrences/{OCCURRENCE_ID}` for occurrences and projects/{PROJECT_ID}/notes/{NOTE_ID} for notes", +"flatPath": "v1alpha1/providers/{providersId}/notes/{notesId}:getIamPolicy", +"httpMethod": "POST", +"id": "containeranalysis.providers.notes.getIamPolicy", +"parameterOrder": [ +"resource" +], +"parameters": { +"resource": { +"description": "REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", +"location": "path", +"pattern": "^providers/[^/]+/notes/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha1/{+resource}:getIamPolicy", +"request": { +"$ref": "GetIamPolicyRequest" +}, +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists all `Notes` for a given project.", +"flatPath": "v1alpha1/providers/{providersId}/notes", +"httpMethod": "GET", +"id": "containeranalysis.providers.notes.list", +"parameterOrder": [ +"name" +], +"parameters": { +"filter": { +"description": "The filter expression.", +"location": "query", +"type": "string" +}, +"name": { +"description": "The name field will contain the project Id for example: \"providers/{provider_id} @Deprecated", +"location": "path", +"pattern": "^providers/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "Number of notes to return in the list.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Token to provide to skip to a particular spot in the list.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "This field contains the project Id for example: \"projects/{PROJECT_ID}\".", +"location": "query", +"type": "string" +} +}, +"path": "v1alpha1/{+name}/notes", +"response": { +"$ref": "ListNotesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates an existing `Note`.", +"flatPath": "v1alpha1/providers/{providersId}/notes/{notesId}", +"httpMethod": "PATCH", +"id": "containeranalysis.providers.notes.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the note. Should be of the form \"projects/{provider_id}/notes/{note_id}\".", +"location": "path", +"pattern": "^providers/[^/]+/notes/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "The fields to update.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1alpha1/{+name}", +"request": { +"$ref": "Note" +}, +"response": { +"$ref": "Note" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"setIamPolicy": { +"description": "Sets the access control policy on the specified `Note` or `Occurrence`. Requires `containeranalysis.notes.setIamPolicy` or `containeranalysis.occurrences.setIamPolicy` permission if the resource is a `Note` or an `Occurrence`, respectively. Attempting to call this method without these permissions will result in a ` `PERMISSION_DENIED` error. Attempting to call this method on a non-existent resource will result in a `NOT_FOUND` error if the user has `containeranalysis.notes.list` permission on a `Note` or `containeranalysis.occurrences.list` on an `Occurrence`, or a `PERMISSION_DENIED` error otherwise. The resource takes the following formats: `projects/{projectid}/occurrences/{occurrenceid}` for occurrences and projects/{projectid}/notes/{noteid} for notes", +"flatPath": "v1alpha1/providers/{providersId}/notes/{notesId}:setIamPolicy", +"httpMethod": "POST", +"id": "containeranalysis.providers.notes.setIamPolicy", +"parameterOrder": [ +"resource" +], +"parameters": { +"resource": { +"description": "REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", +"location": "path", +"pattern": "^providers/[^/]+/notes/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha1/{+resource}:setIamPolicy", +"request": { +"$ref": "SetIamPolicyRequest" +}, +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"testIamPermissions": { +"description": "Returns the permissions that a caller has on the specified note or occurrence resource. Requires list permission on the project (for example, \"storage.objects.list\" on the containing bucket for testing permission of an object). Attempting to call this method on a non-existent resource will result in a `NOT_FOUND` error if the user has list permission on the project, or a `PERMISSION_DENIED` error otherwise. The resource takes the following formats: `projects/{PROJECT_ID}/occurrences/{OCCURRENCE_ID}` for `Occurrences` and `projects/{PROJECT_ID}/notes/{NOTE_ID}` for `Notes`", +"flatPath": "v1alpha1/providers/{providersId}/notes/{notesId}:testIamPermissions", +"httpMethod": "POST", +"id": "containeranalysis.providers.notes.testIamPermissions", +"parameterOrder": [ +"resource" +], +"parameters": { +"resource": { +"description": "REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", +"location": "path", +"pattern": "^providers/[^/]+/notes/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha1/{+resource}:testIamPermissions", +"request": { +"$ref": "TestIamPermissionsRequest" +}, +"response": { +"$ref": "TestIamPermissionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"occurrences": { +"methods": { +"list": { +"description": "Lists `Occurrences` referencing the specified `Note`. Use this method to get all occurrences referencing your `Note` across all your customer projects.", +"flatPath": "v1alpha1/providers/{providersId}/notes/{notesId}/occurrences", +"httpMethod": "GET", +"id": "containeranalysis.providers.notes.occurrences.list", +"parameterOrder": [ +"name" +], +"parameters": { +"filter": { +"description": "The filter expression.", +"location": "query", +"type": "string" +}, +"name": { +"description": "The name field will contain the note name for example: \"provider/{provider_id}/notes/{note_id}\"", +"location": "path", +"pattern": "^providers/[^/]+/notes/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "Number of notes to return in the list.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Token to provide to skip to a particular spot in the list.", +"location": "query", +"type": "string" +} +}, +"path": "v1alpha1/{+name}/occurrences", +"response": { +"$ref": "ListNoteOccurrencesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +} +} +} +}, +"revision": "20260220", +"rootUrl": "https://containeranalysis.googleapis.com/", +"schemas": { +"AnalysisCompleted": { +"description": "Indicates which analysis completed successfully. Multiple types of analysis can be performed on a single resource.", +"id": "AnalysisCompleted", +"properties": { +"analysisType": { +"description": "type of analysis that were completed on a resource.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"Artifact": { +"description": "Artifact describes a build product.", +"id": "Artifact", +"properties": { +"checksum": { +"description": "Hash or checksum value of a binary, or Docker Registry 2.0 digest of a container.", +"type": "string" +}, +"id": { +"description": "Artifact ID, if any; for container images, this will be a URL by digest like gcr.io/projectID/imagename@sha256:123456", +"type": "string" +}, +"name": { +"deprecated": true, +"description": "Name of the artifact. This may be the path to a binary or jar file, or in the case of a container build, the name used to push the container image to Google Container Registry, as presented to `docker push`. This field is deprecated in favor of the plural `names` field; it continues to exist here to allow existing BuildProvenance serialized to json in google.devtools.containeranalysis.v1alpha1.BuildDetails.provenance_bytes to deserialize back into proto.", +"type": "string" +}, +"names": { +"description": "Related artifact names. This may be the path to a binary or jar file, or in the case of a container build, the name used to push the container image to Google Container Registry, as presented to `docker push`. Note that a single Artifact ID can have multiple names, for example if two tags are applied to one image.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"Assessment": { +"description": "Assessment provides all information that is related to a single vulnerability for this product.", +"id": "Assessment", +"properties": { +"cve": { +"description": "Holds the MITRE standard Common Vulnerabilities and Exposures (CVE) tracking number for the vulnerability.", +"type": "string" +}, +"impacts": { +"description": "Contains information about the impact of this vulnerability, this will change with time.", +"items": { +"type": "string" +}, +"type": "array" +}, +"justification": { +"$ref": "Justification", +"description": "Justification provides the justification when the state of the assessment if NOT_AFFECTED." +}, +"longDescription": { +"description": "A detailed description of this Vex.", +"type": "string" +}, +"relatedUris": { +"description": "Holds a list of references associated with this vulnerability item and assessment. These uris have additional information about the vulnerability and the assessment itself. E.g. Link to a document which details how this assessment concluded the state of this vulnerability.", +"items": { +"$ref": "URI" +}, +"type": "array" +}, +"remediations": { +"description": "Specifies details on how to handle (and presumably, fix) a vulnerability.", +"items": { +"$ref": "Remediation" +}, +"type": "array" +}, +"shortDescription": { +"description": "A one sentence description of this Vex.", +"type": "string" +}, +"state": { +"description": "Provides the state of this Vulnerability assessment.", +"enum": [ +"STATE_UNSPECIFIED", +"AFFECTED", +"NOT_AFFECTED", +"FIXED", +"UNDER_INVESTIGATION" +], +"enumDescriptions": [ +"No state is specified.", +"This product is known to be affected by this vulnerability.", +"This product is known to be not affected by this vulnerability.", +"This product contains a fix for this vulnerability.", +"It is not known yet whether these versions are or are not affected by the vulnerability. However, it is still under investigation." +], +"type": "string" +}, +"vulnerabilityId": { +"description": "The vulnerability identifier for this Assessment. Will hold one of common identifiers e.g. CVE, GHSA etc.", +"type": "string" +} +}, +"type": "object" +}, +"Attestation": { +"description": "Occurrence that represents a single \"attestation\". The authenticity of an Attestation can be verified using the attached signature. If the verifier trusts the public key of the signer, then verifying the signature is sufficient to establish trust. In this circumstance, the AttestationAuthority to which this Attestation is attached is primarily useful for look-up (how to find this Attestation if you already know the Authority and artifact to be verified) and intent (which authority was this attestation intended to sign for).", +"id": "Attestation", +"properties": { +"pgpSignedAttestation": { +"$ref": "PgpSignedAttestation" +} +}, +"type": "object" +}, +"AttestationAuthority": { +"description": "Note kind that represents a logical attestation \"role\" or \"authority\". For example, an organization might have one `AttestationAuthority` for \"QA\" and one for \"build\". This Note is intended to act strictly as a grouping mechanism for the attached Occurrences (Attestations). This grouping mechanism also provides a security boundary, since IAM ACLs gate the ability for a principle to attach an Occurrence to a given Note. It also provides a single point of lookup to find all attached Attestation Occurrences, even if they don't all live in the same project.", +"id": "AttestationAuthority", +"properties": { +"hint": { +"$ref": "AttestationAuthorityHint" +} +}, +"type": "object" +}, +"AttestationAuthorityHint": { +"description": "This submessage provides human-readable hints about the purpose of the AttestationAuthority. Because the name of a Note acts as its resource reference, it is important to disambiguate the canonical name of the Note (which might be a UUID for security purposes) from \"readable\" names more suitable for debug output. Note that these hints should NOT be used to look up AttestationAuthorities in security sensitive contexts, such as when looking up Attestations to verify.", +"id": "AttestationAuthorityHint", +"properties": { +"humanReadableName": { +"description": "The human readable name of this Attestation Authority, for example \"qa\".", +"type": "string" +} +}, +"type": "object" +}, +"BaseImage": { +"description": "BaseImage describes a base image of a container image.", +"id": "BaseImage", +"properties": { +"layerCount": { +"description": "The number of layers that the base image is composed of.", +"format": "int32", +"type": "integer" +}, +"name": { +"description": "The name of the base image.", +"type": "string" +}, +"registry": { +"description": "The registry of the base image.", +"type": "string" +}, +"repository": { +"description": "The repository name in which the base image is from.", +"type": "string" +} +}, +"type": "object" +}, +"Basis": { +"description": "Basis describes the base image portion (Note) of the DockerImage relationship. Linked occurrences are derived from this or an equivalent image via: FROM Or an equivalent reference, e.g. a tag of the resource_url.", +"id": "Basis", +"properties": { +"fingerprint": { +"$ref": "Fingerprint", +"description": "The fingerprint of the base image." +}, +"resourceUrl": { +"description": "The resource_url for the resource representing the basis of associated occurrence images.", +"type": "string" +} +}, +"type": "object" +}, +"Binding": { +"description": "Associates `members`, or principals, with a `role`.", +"id": "Binding", +"properties": { +"condition": { +"$ref": "Expr", +"description": "The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies)." +}, +"members": { +"description": "Specifies the principals requesting access for a Google Cloud resource. `members` can have the following values: * `allUsers`: A special identifier that represents anyone who is on the internet; with or without a Google account. * `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service account. Does not include identities that come from external identity providers (IdPs) through identity federation. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `group:{emailid}`: An email address that represents a Google group. For example, `admins@example.com`. * `domain:{domain}`: The G Suite domain (primary) that represents all the users of that domain. For example, `google.com` or `example.com`. * `principal://iam.googleapis.com/locations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}`: A single identity in a workforce identity pool. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/group/{group_id}`: All workforce identities in a group. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/attribute.{attribute_name}/{attribute_value}`: All workforce identities with a specific attribute value. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/*`: All identities in a workforce identity pool. * `principal://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/subject/{subject_attribute_value}`: A single identity in a workload identity pool. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/group/{group_id}`: A workload identity pool group. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/attribute.{attribute_name}/{attribute_value}`: All identities in a workload identity pool with a certain attribute. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/*`: All identities in a workload identity pool. * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a user that has been recently deleted. For example, `alice@example.com?uid=123456789012345678901`. If the user is recovered, this value reverts to `user:{emailid}` and the recovered user retains the role in the binding. * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a service account that has been recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the service account is undeleted, this value reverts to `serviceAccount:{emailid}` and the undeleted service account retains the role in the binding. * `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a Google group that has been recently deleted. For example, `admins@example.com?uid=123456789012345678901`. If the group is recovered, this value reverts to `group:{emailid}` and the recovered group retains the role in the binding. * `deleted:principal://iam.googleapis.com/locations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}`: Deleted single identity in a workforce identity pool. For example, `deleted:principal://iam.googleapis.com/locations/global/workforcePools/my-pool-id/subject/my-subject-attribute-value`.", +"items": { +"type": "string" +}, +"type": "array" +}, +"role": { +"description": "Role that is assigned to the list of `members`, or principals. For example, `roles/viewer`, `roles/editor`, or `roles/owner`. For an overview of the IAM roles and permissions, see the [IAM documentation](https://cloud.google.com/iam/docs/roles-overview). For a list of the available pre-defined roles, see [here](https://cloud.google.com/iam/docs/understanding-roles).", +"type": "string" +} +}, +"type": "object" +}, +"BuildDefinition": { +"id": "BuildDefinition", +"properties": { +"buildType": { +"type": "string" +}, +"externalParameters": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"type": "object" +}, +"internalParameters": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"type": "object" +}, +"resolvedDependencies": { +"items": { +"$ref": "ResourceDescriptor" +}, +"type": "array" +} +}, +"type": "object" +}, +"BuildDetails": { +"description": "Message encapsulating build provenance details.", +"id": "BuildDetails", +"properties": { +"inTotoSlsaProvenanceV1": { +"$ref": "InTotoSlsaProvenanceV1", +"description": "In-Toto Slsa Provenance V1 represents a slsa provenance meeting the slsa spec, wrapped in an in-toto statement. This allows for direct jsonification of a to-spec in-toto slsa statement with a to-spec slsa provenance." +}, +"intotoProvenance": { +"$ref": "InTotoProvenance", +"description": "Deprecated. See InTotoStatement for the replacement. In-toto Provenance representation as defined in spec." +}, +"intotoStatement": { +"$ref": "InTotoStatement", +"description": "In-toto Statement representation as defined in spec. The intoto_statement can contain any type of provenance. The serialized payload of the statement can be stored and signed in the Occurrence's envelope." +}, +"provenance": { +"$ref": "BuildProvenance", +"description": "The actual provenance" +}, +"provenanceBytes": { +"description": "Serialized JSON representation of the provenance, used in generating the `BuildSignature` in the corresponding Result. After verifying the signature, `provenance_bytes` can be unmarshalled and compared to the provenance to confirm that it is unchanged. A base64-encoded string representation of the provenance bytes is used for the signature in order to interoperate with openssl which expects this format for signature verification. The serialized form is captured both to avoid ambiguity in how the provenance is marshalled to json as well to prevent incompatibilities with future changes.", +"type": "string" +} +}, +"type": "object" +}, +"BuildMetadata": { +"id": "BuildMetadata", +"properties": { +"finishedOn": { +"format": "google-datetime", +"type": "string" +}, +"invocationId": { +"type": "string" +}, +"startedOn": { +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"BuildProvenance": { +"description": "Provenance of a build. Contains all information needed to verify the full details about the build from source to completion.", +"id": "BuildProvenance", +"properties": { +"buildOptions": { +"additionalProperties": { +"type": "string" +}, +"description": "Special options applied to this build. This is a catch-all field where build providers can enter any desired additional details.", +"type": "object" +}, +"builderVersion": { +"description": "Version string of the builder at the time this build was executed.", +"type": "string" +}, +"builtArtifacts": { +"description": "Output of the build.", +"items": { +"$ref": "Artifact" +}, +"type": "array" +}, +"commands": { +"description": "Commands requested by the build.", +"items": { +"$ref": "Command" +}, +"type": "array" +}, +"createTime": { +"description": "Time at which the build was created.", +"format": "google-datetime", +"type": "string" +}, +"creator": { +"description": "E-mail address of the user who initiated this build. Note that this was the user's e-mail address at the time the build was initiated; this address may not represent the same end-user for all time.", +"type": "string" +}, +"finishTime": { +"description": "Time at which execution of the build was finished.", +"format": "google-datetime", +"type": "string" +}, +"id": { +"description": "Unique identifier of the build.", +"type": "string" +}, +"logsBucket": { +"description": "Google Cloud Storage bucket where logs were written.", +"type": "string" +}, +"projectId": { +"description": "ID of the project.", +"type": "string" +}, +"sourceProvenance": { +"$ref": "Source", +"description": "Details of the Source input to the build." +}, +"startTime": { +"description": "Time at which execution of the build was started.", +"format": "google-datetime", +"type": "string" +}, +"triggerId": { +"description": "Trigger identifier if the build was triggered automatically; empty if not.", +"type": "string" +} +}, +"type": "object" +}, +"BuildSignature": { +"description": "Message encapsulating the signature of the verified build.", +"id": "BuildSignature", +"properties": { +"keyId": { +"description": "An Id for the key used to sign. This could be either an Id for the key stored in `public_key` (such as the Id or fingerprint for a PGP key, or the CN for a cert), or a reference to an external key (such as a reference to a key in Cloud Key Management Service).", +"type": "string" +}, +"keyType": { +"description": "The type of the key, either stored in `public_key` or referenced in `key_id`", +"enum": [ +"KEY_TYPE_UNSPECIFIED", +"PGP_ASCII_ARMORED", +"PKIX_PEM" +], +"enumDescriptions": [ +"`KeyType` is not set.", +"`PGP ASCII Armored` public key.", +"`PKIX PEM` public key." +], +"type": "string" +}, +"publicKey": { +"description": "Public key of the builder which can be used to verify that the related findings are valid and unchanged. If `key_type` is empty, this defaults to PEM encoded public keys. This field may be empty if `key_id` references an external key. For Cloud Build based signatures, this is a PEM encoded public key. To verify the Cloud Build signature, place the contents of this field into a file (public.pem). The signature field is base64-decoded into its binary representation in signature.bin, and the provenance bytes from `BuildDetails` are base64-decoded into a binary representation in signed.bin. OpenSSL can then verify the signature: `openssl sha256 -verify public.pem -signature signature.bin signed.bin`", +"type": "string" +}, +"signature": { +"description": "Signature of the related `BuildProvenance`, encoded in a base64 string.", +"type": "string" +} +}, +"type": "object" +}, +"BuildStep": { +"description": "A step in the build pipeline. Next ID: 23", +"id": "BuildStep", +"properties": { +"allowExitCodes": { +"description": "Allow this build step to fail without failing the entire build if and only if the exit code is one of the specified codes. If allow_failure is also specified, this field will take precedence.", +"items": { +"format": "int32", +"type": "integer" +}, +"type": "array" +}, +"allowFailure": { +"description": "Allow this build step to fail without failing the entire build. If false, the entire build will fail if this step fails. Otherwise, the build will succeed, but this step will still have a failure status. Error information will be reported in the failure_detail field.", +"type": "boolean" +}, +"args": { +"description": "A list of arguments that will be presented to the step when it is started. If the image used to run the step's container has an entrypoint, the `args` are used as arguments to that entrypoint. If the image does not define an entrypoint, the first element in args is used as the entrypoint, and the remainder will be used as arguments.", +"items": { +"type": "string" +}, +"type": "array" +}, +"automapSubstitutions": { +"description": "Option to include built-in and custom substitutions as env variables for this build step. This option will override the global option in BuildOption.", +"type": "boolean" +}, +"dir": { +"description": "Working directory to use when running this step's container. If this value is a relative path, it is relative to the build's working directory. If this value is absolute, it may be outside the build's working directory, in which case the contents of the path may not be persisted across build step executions, unless a `volume` for that path is specified. If the build specifies a `RepoSource` with `dir` and a step with a `dir`, which specifies an absolute path, the `RepoSource` `dir` is ignored for the step's execution.", +"type": "string" +}, +"entrypoint": { +"description": "Entrypoint to be used instead of the build step image's default entrypoint. If unset, the image's default entrypoint is used.", +"type": "string" +}, +"env": { +"description": "A list of environment variable definitions to be used when running a step. The elements are of the form \"KEY=VALUE\" for the environment variable \"KEY\" being given the value \"VALUE\".", +"items": { +"type": "string" +}, +"type": "array" +}, +"exitCode": { +"description": "Output only. Return code from running the step.", +"format": "int32", +"type": "integer" +}, +"id": { +"description": "Unique identifier for this build step, used in `wait_for` to reference this build step as a dependency.", +"type": "string" +}, +"name": { +"description": "Required. The name of the container image that will run this particular build step. If the image is available in the host's Docker daemon's cache, it will be run directly. If not, the host will attempt to pull the image first, using the builder service account's credentials if necessary. The Docker daemon's cache will already have the latest versions of all of the officially supported build steps ([https://github.com/GoogleCloudPlatform/cloud-builders](https://github.com/GoogleCloudPlatform/cloud-builders)). The Docker daemon will also have cached many of the layers for some popular images, like \"ubuntu\", \"debian\", but they will be refreshed at the time you attempt to use them. If you built an image in a previous build step, it will be stored in the host's Docker daemon's cache and is available to use as the name for a later build step.", +"type": "string" +}, +"pullTiming": { +"$ref": "TimeSpan", +"description": "Output only. Stores timing information for pulling this build step's builder image only." +}, +"remoteConfig": { +"description": "Remote configuration for the build step.", +"type": "string" +}, +"results": { +"items": { +"$ref": "StepResult" +}, +"type": "array" +}, +"script": { +"description": "A shell script to be executed in the step. When script is provided, the user cannot specify the entrypoint or args.", +"type": "string" +}, +"secretEnv": { +"description": "A list of environment variables which are encrypted using a Cloud Key Management Service crypto key. These values must be specified in the build's `Secret`.", +"items": { +"type": "string" +}, +"type": "array" +}, +"status": { +"description": "Output only. Status of the build step. At this time, build step status is only updated on build completion; step status is not updated in real-time as the build progresses.", +"enum": [ +"STATUS_UNKNOWN", +"PENDING", +"QUEUING", +"QUEUED", +"WORKING", +"SUCCESS", +"FAILURE", +"INTERNAL_ERROR", +"TIMEOUT", +"CANCELLED", +"EXPIRED" +], +"enumDescriptions": [ +"Status of the build is unknown.", +"Build has been created and is pending execution and queuing. It has not been queued.", +"Build has been received and is being queued.", +"Build or step is queued; work has not yet begun.", +"Build or step is being executed.", +"Build or step finished successfully.", +"Build or step failed to complete successfully.", +"Build or step failed due to an internal cause.", +"Build or step took longer than was allowed.", +"Build or step was canceled by a user.", +"Build was enqueued for longer than the value of `queue_ttl`." +], +"type": "string" +}, +"timeout": { +"description": "Time limit for executing this build step. If not defined, the step has no time limit and will be allowed to continue to run until either it completes or the build itself times out.", +"format": "google-duration", +"type": "string" +}, +"timing": { +"$ref": "TimeSpan", +"description": "Output only. Stores timing information for executing this build step." +}, +"volumes": { +"description": "List of volumes to mount into the build step. Each volume is created as an empty volume prior to execution of the build step. Upon completion of the build, volumes and their contents are discarded. Using a named volume in only one step is not valid as it is indicative of a build request with an incorrect configuration.", +"items": { +"$ref": "Volume" +}, +"type": "array" +}, +"waitFor": { +"description": "The ID(s) of the step(s) that this build step depends on. This build step will not start until all the build steps in `wait_for` have completed successfully. If `wait_for` is empty, this build step will start when all previous build steps in the `Build.Steps` list have completed successfully.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"BuildType": { +"description": "Note holding the version of the provider's builder and the signature of the provenance message in linked BuildDetails.", +"id": "BuildType", +"properties": { +"builderVersion": { +"description": "Version of the builder which produced this Note.", +"type": "string" +}, +"signature": { +"$ref": "BuildSignature", +"description": "Signature of the build in Occurrences pointing to the Note containing this `BuilderDetails`." +} +}, +"type": "object" +}, +"BuilderConfig": { +"id": "BuilderConfig", +"properties": { +"id": { +"type": "string" +} +}, +"type": "object" +}, +"CISAKnownExploitedVulnerabilities": { +"description": "CISAKnownExploitedVulnerabilities provides information about whether the vulnerability is known to have been leveraged as part of a ransomware campaign.", +"id": "CISAKnownExploitedVulnerabilities", +"properties": { +"knownRansomwareCampaignUse": { +"description": "Optional. Whether the vulnerability is known to have been leveraged as part of a ransomware campaign.", +"type": "string" +} +}, +"type": "object" +}, +"CVSS": { +"description": "Common Vulnerability Scoring System. This message is compatible with CVSS v2 and v3. For CVSS v2 details, see https://www.first.org/cvss/v2/guide CVSS v2 calculator: https://nvd.nist.gov/vuln-metrics/cvss/v2-calculator For CVSS v3 details, see https://www.first.org/cvss/specification-document CVSS v3 calculator: https://nvd.nist.gov/vuln-metrics/cvss/v3-calculator", +"id": "CVSS", +"properties": { +"attackComplexity": { +"description": "Defined in CVSS v3, CVSS v2", +"enum": [ +"ATTACK_COMPLEXITY_UNSPECIFIED", +"ATTACK_COMPLEXITY_LOW", +"ATTACK_COMPLEXITY_HIGH", +"ATTACK_COMPLEXITY_MEDIUM" +], +"enumDescriptions": [ +"Defined in CVSS v3, CVSS v2", +"Defined in CVSS v3, CVSS v2", +"Defined in CVSS v3, CVSS v2", +"Defined in CVSS v2" +], +"type": "string" +}, +"attackVector": { +"description": "Base Metrics Represents the intrinsic characteristics of a vulnerability that are constant over time and across user environments. Defined in CVSS v3, CVSS v2", +"enum": [ +"ATTACK_VECTOR_UNSPECIFIED", +"ATTACK_VECTOR_NETWORK", +"ATTACK_VECTOR_ADJACENT", +"ATTACK_VECTOR_LOCAL", +"ATTACK_VECTOR_PHYSICAL" +], +"enumDescriptions": [ +"Defined in CVSS v3, CVSS v2", +"Defined in CVSS v3, CVSS v2", +"Defined in CVSS v3, CVSS v2", +"Defined in CVSS v3, CVSS v2", +"Defined in CVSS v3" +], +"type": "string" +}, +"authentication": { +"description": "Defined in CVSS v2", +"enum": [ +"AUTHENTICATION_UNSPECIFIED", +"AUTHENTICATION_MULTIPLE", +"AUTHENTICATION_SINGLE", +"AUTHENTICATION_NONE" +], +"enumDescriptions": [ +"Defined in CVSS v2", +"Defined in CVSS v2", +"Defined in CVSS v2", +"Defined in CVSS v2" +], +"type": "string" +}, +"availabilityImpact": { +"description": "Defined in CVSS v3, CVSS v2", +"enum": [ +"IMPACT_UNSPECIFIED", +"IMPACT_HIGH", +"IMPACT_LOW", +"IMPACT_NONE", +"IMPACT_PARTIAL", +"IMPACT_COMPLETE" +], +"enumDescriptions": [ +"Defined in CVSS v3, CVSS v2", +"Defined in CVSS v3", +"Defined in CVSS v3", +"Defined in CVSS v3, CVSS v2", +"Defined in CVSS v2", +"Defined in CVSS v2" +], +"type": "string" +}, +"baseScore": { +"description": "The base score is a function of the base metric scores.", +"format": "float", +"type": "number" +}, +"confidentialityImpact": { +"description": "Defined in CVSS v3, CVSS v2", +"enum": [ +"IMPACT_UNSPECIFIED", +"IMPACT_HIGH", +"IMPACT_LOW", +"IMPACT_NONE", +"IMPACT_PARTIAL", +"IMPACT_COMPLETE" +], +"enumDescriptions": [ +"Defined in CVSS v3, CVSS v2", +"Defined in CVSS v3", +"Defined in CVSS v3", +"Defined in CVSS v3, CVSS v2", +"Defined in CVSS v2", +"Defined in CVSS v2" +], +"type": "string" +}, +"exploitabilityScore": { +"format": "float", +"type": "number" +}, +"impactScore": { +"format": "float", +"type": "number" +}, +"integrityImpact": { +"description": "Defined in CVSS v3, CVSS v2", +"enum": [ +"IMPACT_UNSPECIFIED", +"IMPACT_HIGH", +"IMPACT_LOW", +"IMPACT_NONE", +"IMPACT_PARTIAL", +"IMPACT_COMPLETE" +], +"enumDescriptions": [ +"Defined in CVSS v3, CVSS v2", +"Defined in CVSS v3", +"Defined in CVSS v3", +"Defined in CVSS v3, CVSS v2", +"Defined in CVSS v2", +"Defined in CVSS v2" +], +"type": "string" +}, +"privilegesRequired": { +"description": "Defined in CVSS v3", +"enum": [ +"PRIVILEGES_REQUIRED_UNSPECIFIED", +"PRIVILEGES_REQUIRED_NONE", +"PRIVILEGES_REQUIRED_LOW", +"PRIVILEGES_REQUIRED_HIGH" +], +"enumDescriptions": [ +"Defined in CVSS v3", +"Defined in CVSS v3", +"Defined in CVSS v3", +"Defined in CVSS v3" +], +"type": "string" +}, +"scope": { +"description": "Defined in CVSS v3", +"enum": [ +"SCOPE_UNSPECIFIED", +"SCOPE_UNCHANGED", +"SCOPE_CHANGED" +], +"enumDescriptions": [ +"Defined in CVSS v3", +"Defined in CVSS v3", +"Defined in CVSS v3" +], +"type": "string" +}, +"userInteraction": { +"description": "Defined in CVSS v3", +"enum": [ +"USER_INTERACTION_UNSPECIFIED", +"USER_INTERACTION_NONE", +"USER_INTERACTION_REQUIRED" +], +"enumDescriptions": [ +"Defined in CVSS v3", +"Defined in CVSS v3", +"Defined in CVSS v3" +], +"type": "string" +} +}, +"type": "object" +}, +"CisBenchmark": { +"description": "A compliance check that is a CIS benchmark.", +"id": "CisBenchmark", +"properties": { +"profileLevel": { +"description": "The profile level of this CIS benchmark check.", +"format": "int32", +"type": "integer" +}, +"severity": { +"description": "The severity level of this CIS benchmark check.", +"enum": [ +"SEVERITY_UNSPECIFIED", +"MINIMAL", +"LOW", +"MEDIUM", +"HIGH", +"CRITICAL" +], +"enumDescriptions": [ +"Unknown Impact", +"Minimal Impact", +"Low Impact", +"Medium Impact", +"High Impact", +"Critical Impact" +], +"type": "string" +} +}, +"type": "object" +}, +"Command": { +"description": "Command describes a step performed as part of the build pipeline.", +"id": "Command", +"properties": { +"args": { +"description": "Command-line arguments used when executing this Command.", +"items": { +"type": "string" +}, +"type": "array" +}, +"dir": { +"description": "Working directory (relative to project source root) used when running this Command.", +"type": "string" +}, +"env": { +"description": "Environment variables set before running this Command.", +"items": { +"type": "string" +}, +"type": "array" +}, +"id": { +"description": "Optional unique identifier for this Command, used in wait_for to reference this Command as a dependency.", +"type": "string" +}, +"name": { +"description": "Name of the command, as presented on the command line, or if the command is packaged as a Docker container, as presented to `docker pull`.", +"type": "string" +}, +"waitFor": { +"description": "The ID(s) of the Command(s) that this Command depends on.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"Completeness": { +"description": "Indicates that the builder claims certain fields in this message to be complete.", +"id": "Completeness", +"properties": { +"arguments": { +"description": "If true, the builder claims that recipe.arguments is complete, meaning that all external inputs are properly captured in the recipe.", +"type": "boolean" +}, +"environment": { +"description": "If true, the builder claims that recipe.environment is claimed to be complete.", +"type": "boolean" +}, +"materials": { +"description": "If true, the builder claims that materials are complete, usually through some controls to prevent network access. Sometimes called \"hermetic\".", +"type": "boolean" +} +}, +"type": "object" +}, +"ComplianceNote": { +"description": "ComplianceNote encapsulates all information about a specific compliance check.", +"id": "ComplianceNote", +"properties": { +"cisBenchmark": { +"$ref": "CisBenchmark", +"description": "Right now we only have one compliance type, but we may add additional types in the future." +}, +"description": { +"description": "A description about this compliance check.", +"type": "string" +}, +"impact": { +"description": "Potential impact of the suggested remediation", +"type": "string" +}, +"rationale": { +"description": "A rationale for the existence of this compliance check.", +"type": "string" +}, +"remediation": { +"description": "A description of remediation steps if the compliance check fails.", +"type": "string" +}, +"scanInstructions": { +"description": "Serialized scan instructions with a predefined format.", +"format": "byte", +"type": "string" +}, +"title": { +"description": "The title that identifies this compliance check.", +"type": "string" +}, +"version": { +"description": "The OS and config versions the benchmark applies to.", +"items": { +"$ref": "ComplianceVersion" +}, +"type": "array" +} +}, +"type": "object" +}, +"ComplianceOccurrence": { +"description": "An indication that the compliance checks in the associated ComplianceNote were not satisfied for particular resources or a specified reason.", +"id": "ComplianceOccurrence", +"properties": { +"nonComplianceReason": { +"description": "The reason for non compliance of these files.", +"type": "string" +}, +"nonCompliantFiles": { +"description": "A list of files which are violating compliance checks.", +"items": { +"$ref": "NonCompliantFile" +}, +"type": "array" +}, +"version": { +"$ref": "ComplianceVersion", +"description": "The OS and config version the benchmark was run on." +} +}, +"type": "object" +}, +"ComplianceVersion": { +"description": "Describes the CIS benchmark version that is applicable to a given OS and os version.", +"id": "ComplianceVersion", +"properties": { +"benchmarkDocument": { +"description": "The name of the document that defines this benchmark, e.g. \"CIS Container-Optimized OS\".", +"type": "string" +}, +"cpeUri": { +"description": "The CPE URI (https://cpe.mitre.org/specification/) this benchmark is applicable to.", +"type": "string" +}, +"version": { +"description": "The version of the benchmark. This is set to the version of the OS-specific CIS document the benchmark is defined in.", +"type": "string" +} +}, +"type": "object" +}, +"ContaineranalysisGoogleDevtoolsCloudbuildV1ApprovalConfig": { +"description": "ApprovalConfig describes configuration for manual approval of a build.", +"id": "ContaineranalysisGoogleDevtoolsCloudbuildV1ApprovalConfig", +"properties": { +"approvalRequired": { +"description": "Whether or not approval is needed. If this is set on a build, it will become pending when created, and will need to be explicitly approved to start.", +"type": "boolean" +} +}, +"type": "object" +}, +"ContaineranalysisGoogleDevtoolsCloudbuildV1ApprovalResult": { +"description": "ApprovalResult describes the decision and associated metadata of a manual approval of a build.", +"id": "ContaineranalysisGoogleDevtoolsCloudbuildV1ApprovalResult", +"properties": { +"approvalTime": { +"description": "Output only. The time when the approval decision was made.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"approverAccount": { +"description": "Output only. Email of the user that called the ApproveBuild API to approve or reject a build at the time that the API was called.", +"readOnly": true, +"type": "string" +}, +"comment": { +"description": "Optional. An optional comment for this manual approval result.", +"type": "string" +}, +"decision": { +"description": "Required. The decision of this manual approval.", +"enum": [ +"DECISION_UNSPECIFIED", +"APPROVED", +"REJECTED" +], +"enumDescriptions": [ +"Default enum type. This should not be used.", +"Build is approved.", +"Build is rejected." +], +"type": "string" +}, +"url": { +"description": "Optional. An optional URL tied to this manual approval result. This field is essentially the same as comment, except that it will be rendered by the UI differently. An example use case is a link to an external job that approved this Build.", +"type": "string" +} +}, +"type": "object" +}, +"ContaineranalysisGoogleDevtoolsCloudbuildV1Artifacts": { +"description": "Artifacts produced by a build that should be uploaded upon successful completion of all build steps.", +"id": "ContaineranalysisGoogleDevtoolsCloudbuildV1Artifacts", +"properties": { +"goModules": { +"description": "Optional. A list of Go modules to be uploaded to Artifact Registry upon successful completion of all build steps. If any objects fail to be pushed, the build is marked FAILURE.", +"items": { +"$ref": "ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsGoModule" +}, +"type": "array" +}, +"images": { +"description": "A list of images to be pushed upon the successful completion of all build steps. The images will be pushed using the builder service account's credentials. The digests of the pushed images will be stored in the Build resource's results field. If any of the images fail to be pushed, the build is marked FAILURE.", +"items": { +"type": "string" +}, +"type": "array" +}, +"mavenArtifacts": { +"description": "A list of Maven artifacts to be uploaded to Artifact Registry upon successful completion of all build steps. Artifacts in the workspace matching specified paths globs will be uploaded to the specified Artifact Registry repository using the builder service account's credentials. If any artifacts fail to be pushed, the build is marked FAILURE.", +"items": { +"$ref": "ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsMavenArtifact" +}, +"type": "array" +}, +"npmPackages": { +"description": "A list of npm packages to be uploaded to Artifact Registry upon successful completion of all build steps. Npm packages in the specified paths will be uploaded to the specified Artifact Registry repository using the builder service account's credentials. If any packages fail to be pushed, the build is marked FAILURE.", +"items": { +"$ref": "ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsNpmPackage" +}, +"type": "array" +}, +"objects": { +"$ref": "ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsArtifactObjects", +"description": "A list of objects to be uploaded to Cloud Storage upon successful completion of all build steps. Files in the workspace matching specified paths globs will be uploaded to the specified Cloud Storage location using the builder service account's credentials. The location and generation of the uploaded objects will be stored in the Build resource's results field. If any objects fail to be pushed, the build is marked FAILURE." +}, +"pythonPackages": { +"description": "A list of Python packages to be uploaded to Artifact Registry upon successful completion of all build steps. The build service account credentials will be used to perform the upload. If any objects fail to be pushed, the build is marked FAILURE.", +"items": { +"$ref": "ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsPythonPackage" +}, +"type": "array" +} +}, +"type": "object" +}, +"ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsArtifactObjects": { +"description": "Files in the workspace to upload to Cloud Storage upon successful completion of all build steps.", +"id": "ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsArtifactObjects", +"properties": { +"location": { +"description": "Cloud Storage bucket and optional object path, in the form \"gs://bucket/path/to/somewhere/\". (see [Bucket Name Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)). Files in the workspace matching any path pattern will be uploaded to Cloud Storage with this location as a prefix.", +"type": "string" +}, +"paths": { +"description": "Path globs used to match files in the build's workspace.", +"items": { +"type": "string" +}, +"type": "array" +}, +"timing": { +"$ref": "ContaineranalysisGoogleDevtoolsCloudbuildV1TimeSpan", +"description": "Output only. Stores timing information for pushing all artifact objects.", +"readOnly": true +} +}, +"type": "object" +}, +"ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsGoModule": { +"description": "Go module to upload to Artifact Registry upon successful completion of all build steps. A module refers to all dependencies in a go.mod file.", +"id": "ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsGoModule", +"properties": { +"modulePath": { +"description": "Optional. The Go module's \"module path\". e.g. example.com/foo/v2", +"type": "string" +}, +"moduleVersion": { +"description": "Optional. The Go module's semantic version in the form vX.Y.Z. e.g. v0.1.1 Pre-release identifiers can also be added by appending a dash and dot separated ASCII alphanumeric characters and hyphens. e.g. v0.2.3-alpha.x.12m.5", +"type": "string" +}, +"repositoryLocation": { +"description": "Optional. Location of the Artifact Registry repository. i.e. us-east1 Defaults to the build\u2019s location.", +"type": "string" +}, +"repositoryName": { +"description": "Optional. Artifact Registry repository name. Specified Go modules will be zipped and uploaded to Artifact Registry with this location as a prefix. e.g. my-go-repo", +"type": "string" +}, +"repositoryProjectId": { +"description": "Optional. Project ID of the Artifact Registry repository. Defaults to the build project.", +"type": "string" +}, +"sourcePath": { +"description": "Optional. Source path of the go.mod file in the build's workspace. If not specified, this will default to the current directory. e.g. ~/code/go/mypackage", +"type": "string" +} +}, +"type": "object" +}, +"ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsMavenArtifact": { +"description": "A Maven artifact to upload to Artifact Registry upon successful completion of all build steps.", +"id": "ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsMavenArtifact", +"properties": { +"artifactId": { +"description": "Maven `artifactId` value used when uploading the artifact to Artifact Registry.", +"type": "string" +}, +"deployFolder": { +"description": "Optional. Path to a folder containing the files to upload to Artifact Registry. This can be either an absolute path, e.g. `/workspace/my-app/target/`, or a relative path from /workspace, e.g. `my-app/target/`. This field is mutually exclusive with the `path` field.", +"type": "string" +}, +"groupId": { +"description": "Maven `groupId` value used when uploading the artifact to Artifact Registry.", +"type": "string" +}, +"path": { +"description": "Optional. Path to an artifact in the build's workspace to be uploaded to Artifact Registry. This can be either an absolute path, e.g. /workspace/my-app/target/my-app-1.0.SNAPSHOT.jar or a relative path from /workspace, e.g. my-app/target/my-app-1.0.SNAPSHOT.jar.", +"type": "string" +}, +"repository": { +"description": "Artifact Registry repository, in the form \"https://$REGION-maven.pkg.dev/$PROJECT/$REPOSITORY\" Artifact in the workspace specified by path will be uploaded to Artifact Registry with this location as a prefix.", +"type": "string" +}, +"version": { +"description": "Maven `version` value used when uploading the artifact to Artifact Registry.", +"type": "string" +} +}, +"type": "object" +}, +"ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsNpmPackage": { +"description": "Npm package to upload to Artifact Registry upon successful completion of all build steps.", +"id": "ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsNpmPackage", +"properties": { +"packagePath": { +"description": "Optional. Path to the package.json. e.g. workspace/path/to/package Only one of `archive` or `package_path` can be specified.", +"type": "string" +}, +"repository": { +"description": "Artifact Registry repository, in the form \"https://$REGION-npm.pkg.dev/$PROJECT/$REPOSITORY\" Npm package in the workspace specified by path will be zipped and uploaded to Artifact Registry with this location as a prefix.", +"type": "string" +} +}, +"type": "object" +}, +"ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsPythonPackage": { +"description": "Python package to upload to Artifact Registry upon successful completion of all build steps. A package can encapsulate multiple objects to be uploaded to a single repository.", +"id": "ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsPythonPackage", +"properties": { +"paths": { +"description": "Path globs used to match files in the build's workspace. For Python/ Twine, this is usually `dist/*`, and sometimes additionally an `.asc` file.", +"items": { +"type": "string" +}, +"type": "array" +}, +"repository": { +"description": "Artifact Registry repository, in the form \"https://$REGION-python.pkg.dev/$PROJECT/$REPOSITORY\" Files in the workspace matching any path pattern will be uploaded to Artifact Registry with this location as a prefix.", +"type": "string" +} +}, +"type": "object" +}, +"ContaineranalysisGoogleDevtoolsCloudbuildV1Build": { +"description": "A build resource in the Cloud Build API. At a high level, a `Build` describes where to find source code, how to build it (for example, the builder image to run on the source), and where to store the built artifacts. Fields can include the following variables, which will be expanded when the build is created: - $PROJECT_ID: the project ID of the build. - $PROJECT_NUMBER: the project number of the build. - $LOCATION: the location/region of the build. - $BUILD_ID: the autogenerated ID of the build. - $REPO_NAME: the source repository name specified by RepoSource. - $BRANCH_NAME: the branch name specified by RepoSource. - $TAG_NAME: the tag name specified by RepoSource. - $REVISION_ID or $COMMIT_SHA: the commit SHA specified by RepoSource or resolved from the specified branch or tag. - $SHORT_SHA: first 7 characters of $REVISION_ID or $COMMIT_SHA.", +"id": "ContaineranalysisGoogleDevtoolsCloudbuildV1Build", +"properties": { +"approval": { +"$ref": "ContaineranalysisGoogleDevtoolsCloudbuildV1BuildApproval", +"description": "Output only. Describes this build's approval configuration, status, and result.", +"readOnly": true +}, +"artifacts": { +"$ref": "ContaineranalysisGoogleDevtoolsCloudbuildV1Artifacts", +"description": "Artifacts produced by the build that should be uploaded upon successful completion of all build steps." +}, +"availableSecrets": { +"$ref": "ContaineranalysisGoogleDevtoolsCloudbuildV1Secrets", +"description": "Secrets and secret environment variables." +}, +"buildTriggerId": { +"description": "Output only. The ID of the `BuildTrigger` that triggered this build, if it was triggered automatically.", +"readOnly": true, +"type": "string" +}, +"createTime": { +"description": "Output only. Time at which the request to create the build was received.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"dependencies": { +"description": "Optional. Dependencies that the Cloud Build worker will fetch before executing user steps.", +"items": { +"$ref": "ContaineranalysisGoogleDevtoolsCloudbuildV1Dependency" +}, +"type": "array" +}, +"failureInfo": { +"$ref": "ContaineranalysisGoogleDevtoolsCloudbuildV1BuildFailureInfo", +"description": "Output only. Contains information about the build when status=FAILURE.", +"readOnly": true +}, +"finishTime": { +"description": "Output only. Time at which execution of the build was finished. The difference between finish_time and start_time is the duration of the build's execution.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"gitConfig": { +"$ref": "ContaineranalysisGoogleDevtoolsCloudbuildV1GitConfig", +"description": "Optional. Configuration for git operations." +}, +"id": { +"description": "Output only. Unique identifier of the build.", +"readOnly": true, +"type": "string" +}, +"images": { +"description": "A list of images to be pushed upon the successful completion of all build steps. The images are pushed using the builder service account's credentials. The digests of the pushed images will be stored in the `Build` resource's results field. If any of the images fail to be pushed, the build status is marked `FAILURE`.", +"items": { +"type": "string" +}, +"type": "array" +}, +"logUrl": { +"description": "Output only. URL to logs for this build in Google Cloud Console.", +"readOnly": true, +"type": "string" +}, +"logsBucket": { +"description": "Cloud Storage bucket where logs should be written (see [Bucket Name Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)). Logs file names will be of the format `${logs_bucket}/log-${build_id}.txt`.", +"type": "string" +}, +"name": { +"description": "Output only. The 'Build' name with format: `projects/{project}/locations/{location}/builds/{build}`, where {build} is a unique identifier generated by the service.", +"readOnly": true, +"type": "string" +}, +"options": { +"$ref": "ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptions", +"description": "Special options for this build." +}, +"projectId": { +"description": "Output only. ID of the project.", +"readOnly": true, +"type": "string" +}, +"queueTtl": { +"description": "TTL in queue for this build. If provided and the build is enqueued longer than this value, the build will expire and the build status will be `EXPIRED`. The TTL starts ticking from create_time.", +"format": "google-duration", +"type": "string" +}, +"results": { +"$ref": "ContaineranalysisGoogleDevtoolsCloudbuildV1Results", +"description": "Output only. Results of the build.", +"readOnly": true +}, +"secrets": { +"description": "Secrets to decrypt using Cloud Key Management Service. Note: Secret Manager is the recommended technique for managing sensitive data with Cloud Build. Use `available_secrets` to configure builds to access secrets from Secret Manager. For instructions, see: https://cloud.google.com/cloud-build/docs/securing-builds/use-secrets", +"items": { +"$ref": "ContaineranalysisGoogleDevtoolsCloudbuildV1Secret" +}, +"type": "array" +}, +"serviceAccount": { +"description": "IAM service account whose credentials will be used at build runtime. Must be of the format `projects/{PROJECT_ID}/serviceAccounts/{ACCOUNT}`. ACCOUNT can be email address or uniqueId of the service account. ", +"type": "string" +}, +"source": { +"$ref": "ContaineranalysisGoogleDevtoolsCloudbuildV1Source", +"description": "Optional. The location of the source files to build." +}, +"sourceProvenance": { +"$ref": "ContaineranalysisGoogleDevtoolsCloudbuildV1SourceProvenance", +"description": "Output only. A permanent fixed identifier for source.", +"readOnly": true +}, +"startTime": { +"description": "Output only. Time at which execution of the build was started.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"status": { +"description": "Output only. Status of the build.", +"enum": [ +"STATUS_UNKNOWN", +"PENDING", +"QUEUED", +"WORKING", +"SUCCESS", +"FAILURE", +"INTERNAL_ERROR", +"TIMEOUT", +"CANCELLED", +"EXPIRED" +], +"enumDescriptions": [ +"Status of the build is unknown.", +"Build has been created and is pending execution and queuing. It has not been queued.", +"Build or step is queued; work has not yet begun.", +"Build or step is being executed.", +"Build or step finished successfully.", +"Build or step failed to complete successfully.", +"Build or step failed due to an internal cause.", +"Build or step took longer than was allowed.", +"Build or step was canceled by a user.", +"Build was enqueued for longer than the value of `queue_ttl`." +], +"readOnly": true, +"type": "string" +}, +"statusDetail": { +"description": "Output only. Customer-readable message about the current status.", +"readOnly": true, +"type": "string" +}, +"steps": { +"description": "Required. The operations to be performed on the workspace.", +"items": { +"$ref": "ContaineranalysisGoogleDevtoolsCloudbuildV1BuildStep" +}, +"type": "array" +}, +"substitutions": { +"additionalProperties": { +"type": "string" +}, +"description": "Substitutions data for `Build` resource.", +"type": "object" +}, +"tags": { +"description": "Tags for annotation of a `Build`. These are not docker tags.", +"items": { +"type": "string" +}, +"type": "array" +}, +"timeout": { +"description": "Amount of time that this build should be allowed to run, to second granularity. If this amount of time elapses, work on the build will cease and the build status will be `TIMEOUT`. `timeout` starts ticking from `startTime`. Default time is 60 minutes.", +"format": "google-duration", +"type": "string" +}, +"timing": { +"additionalProperties": { +"$ref": "ContaineranalysisGoogleDevtoolsCloudbuildV1TimeSpan" +}, +"description": "Output only. Stores timing information for phases of the build. Valid keys are: * BUILD: time to execute all build steps. * PUSH: time to push all artifacts including docker images and non docker artifacts. * FETCHSOURCE: time to fetch source. * SETUPBUILD: time to set up build. If the build does not specify source or images, these keys will not be included.", +"readOnly": true, +"type": "object" +}, +"warnings": { +"description": "Output only. Non-fatal problems encountered during the execution of the build.", +"items": { +"$ref": "ContaineranalysisGoogleDevtoolsCloudbuildV1BuildWarning" +}, +"readOnly": true, +"type": "array" +} +}, +"type": "object" +}, +"ContaineranalysisGoogleDevtoolsCloudbuildV1BuildApproval": { +"description": "BuildApproval describes a build's approval configuration, state, and result.", +"id": "ContaineranalysisGoogleDevtoolsCloudbuildV1BuildApproval", +"properties": { +"config": { +"$ref": "ContaineranalysisGoogleDevtoolsCloudbuildV1ApprovalConfig", +"description": "Output only. Configuration for manual approval of this build.", +"readOnly": true +}, +"result": { +"$ref": "ContaineranalysisGoogleDevtoolsCloudbuildV1ApprovalResult", +"description": "Output only. Result of manual approval for this Build.", +"readOnly": true +}, +"state": { +"description": "Output only. The state of this build's approval.", +"enum": [ +"STATE_UNSPECIFIED", +"PENDING", +"APPROVED", +"REJECTED", +"CANCELLED" +], +"enumDescriptions": [ +"Default enum type. This should not be used.", +"Build approval is pending.", +"Build approval has been approved.", +"Build approval has been rejected.", +"Build was cancelled while it was still pending approval." +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"ContaineranalysisGoogleDevtoolsCloudbuildV1BuildFailureInfo": { +"description": "A fatal problem encountered during the execution of the build.", +"id": "ContaineranalysisGoogleDevtoolsCloudbuildV1BuildFailureInfo", +"properties": { +"detail": { +"description": "Explains the failure issue in more detail using hard-coded text.", +"type": "string" +}, +"type": { +"description": "The name of the failure.", +"enum": [ +"FAILURE_TYPE_UNSPECIFIED", +"PUSH_FAILED", +"PUSH_IMAGE_NOT_FOUND", +"PUSH_NOT_AUTHORIZED", +"LOGGING_FAILURE", +"USER_BUILD_STEP", +"FETCH_SOURCE_FAILED" +], +"enumDescriptions": [ +"Type unspecified", +"Unable to push the image to the repository.", +"Final image not found.", +"Unauthorized push of the final image.", +"Backend logging failures. Should retry.", +"A build step has failed.", +"The source fetching has failed." +], +"type": "string" +} +}, +"type": "object" +}, +"ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptions": { +"description": "Optional arguments to enable specific features of builds.", +"id": "ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptions", +"properties": { +"automapSubstitutions": { +"description": "Option to include built-in and custom substitutions as env variables for all build steps.", +"type": "boolean" +}, +"defaultLogsBucketBehavior": { +"description": "Optional. Option to specify how default logs buckets are setup.", +"enum": [ +"DEFAULT_LOGS_BUCKET_BEHAVIOR_UNSPECIFIED", +"REGIONAL_USER_OWNED_BUCKET", +"LEGACY_BUCKET" +], +"enumDescriptions": [ +"Unspecified.", +"Bucket is located in user-owned project in the same region as the build. The builder service account must have access to create and write to Cloud Storage buckets in the build project.", +"Bucket is located in a Google-owned project and is not regionalized." +], +"type": "string" +}, +"diskSizeGb": { +"description": "Requested disk size for the VM that runs the build. Note that this is *NOT* \"disk free\"; some of the space will be used by the operating system and build utilities. Also note that this is the minimum disk size that will be allocated for the build -- the build may run with a larger disk than requested. At present, the maximum disk size is 4000GB; builds that request more than the maximum are rejected with an error.", +"format": "int64", +"type": "string" +}, +"dynamicSubstitutions": { +"description": "Option to specify whether or not to apply bash style string operations to the substitutions. NOTE: this is always enabled for triggered builds and cannot be overridden in the build configuration file.", +"type": "boolean" +}, +"enableStructuredLogging": { +"description": "Optional. Option to specify whether structured logging is enabled. If true, JSON-formatted logs are parsed as structured logs.", +"type": "boolean" +}, +"env": { +"description": "A list of global environment variable definitions that will exist for all build steps in this build. If a variable is defined in both globally and in a build step, the variable will use the build step value. The elements are of the form \"KEY=VALUE\" for the environment variable \"KEY\" being given the value \"VALUE\".", +"items": { +"type": "string" +}, +"type": "array" +}, +"logStreamingOption": { +"description": "Option to define build log streaming behavior to Cloud Storage.", +"enum": [ +"STREAM_DEFAULT", +"STREAM_ON", +"STREAM_OFF" +], +"enumDescriptions": [ +"Service may automatically determine build log streaming behavior.", +"Build logs should be streamed to Cloud Storage.", +"Build logs should not be streamed to Cloud Storage; they will be written when the build is completed." +], +"type": "string" +}, +"logging": { +"description": "Option to specify the logging mode, which determines if and where build logs are stored.", +"enum": [ +"LOGGING_UNSPECIFIED", +"LEGACY", +"GCS_ONLY", +"STACKDRIVER_ONLY", +"CLOUD_LOGGING_ONLY", +"NONE" +], +"enumDeprecated": [ +false, +false, +false, +true, +false, +false +], +"enumDescriptions": [ +"The service determines the logging mode. The default is `LEGACY`. Do not rely on the default logging behavior as it may change in the future.", +"Build logs are stored in Cloud Logging and Cloud Storage.", +"Build logs are stored in Cloud Storage.", +"This option is the same as CLOUD_LOGGING_ONLY.", +"Build logs are stored in Cloud Logging. Selecting this option will not allow [logs streaming](https://cloud.google.com/sdk/gcloud/reference/builds/log).", +"Turn off all logging. No build logs will be captured." +], +"type": "string" +}, +"machineType": { +"description": "Compute Engine machine type on which to run the build.", +"enum": [ +"UNSPECIFIED", +"N1_HIGHCPU_8", +"N1_HIGHCPU_32", +"E2_HIGHCPU_8", +"E2_HIGHCPU_32", +"E2_MEDIUM" +], +"enumDeprecated": [ +false, +true, +true, +false, +false, +false +], +"enumDescriptions": [ +"Standard machine type.", +"Highcpu machine with 8 CPUs.", +"Highcpu machine with 32 CPUs.", +"Highcpu e2 machine with 8 CPUs.", +"Highcpu e2 machine with 32 CPUs.", +"E2 machine with 1 CPU." +], +"type": "string" +}, +"pool": { +"$ref": "ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptionsPoolOption", +"description": "Optional. Specification for execution on a `WorkerPool`. See [running builds in a private pool](https://cloud.google.com/build/docs/private-pools/run-builds-in-private-pool) for more information." +}, +"pubsubTopic": { +"description": "Optional. Option to specify the Pub/Sub topic to receive build status updates.", +"type": "string" +}, +"requestedVerifyOption": { +"description": "Requested verifiability options.", +"enum": [ +"NOT_VERIFIED", +"VERIFIED" +], +"enumDescriptions": [ +"Not a verifiable build (the default).", +"Build must be verified." +], +"type": "string" +}, +"secretEnv": { +"description": "A list of global environment variables, which are encrypted using a Cloud Key Management Service crypto key. These values must be specified in the build's `Secret`. These variables will be available to all build steps in this build.", +"items": { +"type": "string" +}, +"type": "array" +}, +"sourceProvenanceHash": { +"description": "Requested hash for SourceProvenance.", +"items": { +"enum": [ +"NONE", +"SHA256", +"MD5", +"GO_MODULE_H1", +"SHA512" +], +"enumDescriptions": [ +"No hash requested.", +"Use a sha256 hash.", +"Use a md5 hash.", +"Dirhash of a Go module's source code which is then hex-encoded.", +"Use a sha512 hash." +], +"type": "string" +}, +"type": "array" +}, +"substitutionOption": { +"description": "Option to specify behavior when there is an error in the substitution checks. NOTE: this is always set to ALLOW_LOOSE for triggered builds and cannot be overridden in the build configuration file.", +"enum": [ +"MUST_MATCH", +"ALLOW_LOOSE" +], +"enumDescriptions": [ +"Fails the build if error in substitutions checks, like missing a substitution in the template or in the map.", +"Do not fail the build if error in substitutions checks." +], +"type": "string" +}, +"volumes": { +"description": "Global list of volumes to mount for ALL build steps Each volume is created as an empty volume prior to starting the build process. Upon completion of the build, volumes and their contents are discarded. Global volume names and paths cannot conflict with the volumes defined a build step. Using a global volume in a build with only one step is not valid as it is indicative of a build request with an incorrect configuration.", +"items": { +"$ref": "ContaineranalysisGoogleDevtoolsCloudbuildV1Volume" +}, +"type": "array" +}, +"workerPool": { +"deprecated": true, +"description": "This field deprecated; please use `pool.name` instead.", +"type": "string" +} +}, +"type": "object" +}, +"ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptionsPoolOption": { +"description": "Details about how a build should be executed on a `WorkerPool`. See [running builds in a private pool](https://cloud.google.com/build/docs/private-pools/run-builds-in-private-pool) for more information.", +"id": "ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptionsPoolOption", +"properties": { +"name": { +"description": "The `WorkerPool` resource to execute the build on. You must have `cloudbuild.workerpools.use` on the project hosting the WorkerPool. Format projects/{project}/locations/{location}/workerPools/{workerPoolId}", +"type": "string" +} +}, +"type": "object" +}, +"ContaineranalysisGoogleDevtoolsCloudbuildV1BuildStep": { +"description": "A step in the build pipeline.", +"id": "ContaineranalysisGoogleDevtoolsCloudbuildV1BuildStep", +"properties": { +"allowExitCodes": { +"description": "Allow this build step to fail without failing the entire build if and only if the exit code is one of the specified codes. If allow_failure is also specified, this field will take precedence.", +"items": { +"format": "int32", +"type": "integer" +}, +"type": "array" +}, +"allowFailure": { +"description": "Allow this build step to fail without failing the entire build. If false, the entire build will fail if this step fails. Otherwise, the build will succeed, but this step will still have a failure status. Error information will be reported in the failure_detail field.", +"type": "boolean" +}, +"args": { +"description": "A list of arguments that will be presented to the step when it is started. If the image used to run the step's container has an entrypoint, the `args` are used as arguments to that entrypoint. If the image does not define an entrypoint, the first element in args is used as the entrypoint, and the remainder will be used as arguments.", +"items": { +"type": "string" +}, +"type": "array" +}, +"automapSubstitutions": { +"description": "Option to include built-in and custom substitutions as env variables for this build step. This option will override the global option in BuildOption.", +"type": "boolean" +}, +"dir": { +"description": "Working directory to use when running this step's container. If this value is a relative path, it is relative to the build's working directory. If this value is absolute, it may be outside the build's working directory, in which case the contents of the path may not be persisted across build step executions, unless a `volume` for that path is specified. If the build specifies a `RepoSource` with `dir` and a step with a `dir`, which specifies an absolute path, the `RepoSource` `dir` is ignored for the step's execution.", +"type": "string" +}, +"entrypoint": { +"description": "Entrypoint to be used instead of the build step image's default entrypoint. If unset, the image's default entrypoint is used.", +"type": "string" +}, +"env": { +"description": "A list of environment variable definitions to be used when running a step. The elements are of the form \"KEY=VALUE\" for the environment variable \"KEY\" being given the value \"VALUE\".", +"items": { +"type": "string" +}, +"type": "array" +}, +"exitCode": { +"description": "Output only. Return code from running the step.", +"format": "int32", +"readOnly": true, +"type": "integer" +}, +"id": { +"description": "Unique identifier for this build step, used in `wait_for` to reference this build step as a dependency.", +"type": "string" +}, +"name": { +"description": "Required. The name of the container image that will run this particular build step. If the image is available in the host's Docker daemon's cache, it will be run directly. If not, the host will attempt to pull the image first, using the builder service account's credentials if necessary. The Docker daemon's cache will already have the latest versions of all of the officially supported build steps ([https://github.com/GoogleCloudPlatform/cloud-builders](https://github.com/GoogleCloudPlatform/cloud-builders)). The Docker daemon will also have cached many of the layers for some popular images, like \"ubuntu\", \"debian\", but they will be refreshed at the time you attempt to use them. If you built an image in a previous build step, it will be stored in the host's Docker daemon's cache and is available to use as the name for a later build step.", +"type": "string" +}, +"pullTiming": { +"$ref": "ContaineranalysisGoogleDevtoolsCloudbuildV1TimeSpan", +"description": "Output only. Stores timing information for pulling this build step's builder image only.", +"readOnly": true +}, +"script": { +"description": "A shell script to be executed in the step. When script is provided, the user cannot specify the entrypoint or args.", +"type": "string" +}, +"secretEnv": { +"description": "A list of environment variables which are encrypted using a Cloud Key Management Service crypto key. These values must be specified in the build's `Secret`.", +"items": { +"type": "string" +}, +"type": "array" +}, +"status": { +"description": "Output only. Status of the build step. At this time, build step status is only updated on build completion; step status is not updated in real-time as the build progresses.", +"enum": [ +"STATUS_UNKNOWN", +"PENDING", +"QUEUED", +"WORKING", +"SUCCESS", +"FAILURE", +"INTERNAL_ERROR", +"TIMEOUT", +"CANCELLED", +"EXPIRED" +], +"enumDescriptions": [ +"Status of the build is unknown.", +"Build has been created and is pending execution and queuing. It has not been queued.", +"Build or step is queued; work has not yet begun.", +"Build or step is being executed.", +"Build or step finished successfully.", +"Build or step failed to complete successfully.", +"Build or step failed due to an internal cause.", +"Build or step took longer than was allowed.", +"Build or step was canceled by a user.", +"Build was enqueued for longer than the value of `queue_ttl`." +], +"readOnly": true, +"type": "string" +}, +"timeout": { +"description": "Time limit for executing this build step. If not defined, the step has no time limit and will be allowed to continue to run until either it completes or the build itself times out.", +"format": "google-duration", +"type": "string" +}, +"timing": { +"$ref": "ContaineranalysisGoogleDevtoolsCloudbuildV1TimeSpan", +"description": "Output only. Stores timing information for executing this build step.", +"readOnly": true +}, +"volumes": { +"description": "List of volumes to mount into the build step. Each volume is created as an empty volume prior to execution of the build step. Upon completion of the build, volumes and their contents are discarded. Using a named volume in only one step is not valid as it is indicative of a build request with an incorrect configuration.", +"items": { +"$ref": "ContaineranalysisGoogleDevtoolsCloudbuildV1Volume" +}, +"type": "array" +}, +"waitFor": { +"description": "The ID(s) of the step(s) that this build step depends on. This build step will not start until all the build steps in `wait_for` have completed successfully. If `wait_for` is empty, this build step will start when all previous build steps in the `Build.Steps` list have completed successfully.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ContaineranalysisGoogleDevtoolsCloudbuildV1BuildWarning": { +"description": "A non-fatal problem encountered during the execution of the build.", +"id": "ContaineranalysisGoogleDevtoolsCloudbuildV1BuildWarning", +"properties": { +"priority": { +"description": "The priority for this warning.", +"enum": [ +"PRIORITY_UNSPECIFIED", +"INFO", +"WARNING", +"ALERT" +], +"enumDescriptions": [ +"Should not be used.", +"e.g. deprecation warnings and alternative feature highlights.", +"e.g. automated detection of possible issues with the build.", +"e.g. alerts that a feature used in the build is pending removal" +], +"type": "string" +}, +"text": { +"description": "Explanation of the warning generated.", +"type": "string" +} +}, +"type": "object" +}, +"ContaineranalysisGoogleDevtoolsCloudbuildV1BuiltImage": { +"description": "An image built by the pipeline.", +"id": "ContaineranalysisGoogleDevtoolsCloudbuildV1BuiltImage", +"properties": { +"artifactRegistryPackage": { +"description": "Output only. Path to the artifact in Artifact Registry.", +"readOnly": true, +"type": "string" +}, +"digest": { +"description": "Docker Registry 2.0 digest.", +"type": "string" +}, +"name": { +"description": "Name used to push the container image to Google Container Registry, as presented to `docker push`.", +"type": "string" +}, +"pushTiming": { +"$ref": "ContaineranalysisGoogleDevtoolsCloudbuildV1TimeSpan", +"description": "Output only. Stores timing information for pushing the specified image.", +"readOnly": true +} +}, +"type": "object" +}, +"ContaineranalysisGoogleDevtoolsCloudbuildV1ConnectedRepository": { +"description": "Location of the source in a 2nd-gen Google Cloud Build repository resource.", +"id": "ContaineranalysisGoogleDevtoolsCloudbuildV1ConnectedRepository", +"properties": { +"dir": { +"description": "Optional. Directory, relative to the source root, in which to run the build.", +"type": "string" +}, +"repository": { +"description": "Required. Name of the Google Cloud Build repository, formatted as `projects/*/locations/*/connections/*/repositories/*`.", +"type": "string" +}, +"revision": { +"description": "Required. The revision to fetch from the Git repository such as a branch, a tag, a commit SHA, or any Git ref.", +"type": "string" +} +}, +"type": "object" +}, +"ContaineranalysisGoogleDevtoolsCloudbuildV1Dependency": { +"description": "A dependency that the Cloud Build worker will fetch before executing user steps.", +"id": "ContaineranalysisGoogleDevtoolsCloudbuildV1Dependency", +"properties": { +"empty": { +"description": "If set to true disable all dependency fetching (ignoring the default source as well).", +"type": "boolean" +}, +"gitSource": { +"$ref": "ContaineranalysisGoogleDevtoolsCloudbuildV1DependencyGitSourceDependency", +"description": "Represents a git repository as a build dependency." +} +}, +"type": "object" +}, +"ContaineranalysisGoogleDevtoolsCloudbuildV1DependencyGitSourceDependency": { +"description": "Represents a git repository as a build dependency.", +"id": "ContaineranalysisGoogleDevtoolsCloudbuildV1DependencyGitSourceDependency", +"properties": { +"depth": { +"description": "Optional. How much history should be fetched for the build (default 1, -1 for all history).", +"format": "int64", +"type": "string" +}, +"destPath": { +"description": "Required. Where should the files be placed on the worker.", +"type": "string" +}, +"recurseSubmodules": { +"description": "Optional. True if submodules should be fetched too (default false).", +"type": "boolean" +}, +"repository": { +"$ref": "ContaineranalysisGoogleDevtoolsCloudbuildV1DependencyGitSourceRepository", +"description": "Required. The kind of repo (url or dev connect)." +}, +"revision": { +"description": "Required. The revision that we will fetch the repo at.", +"type": "string" +} +}, +"type": "object" +}, +"ContaineranalysisGoogleDevtoolsCloudbuildV1DependencyGitSourceRepository": { +"description": "A repository for a git source.", +"id": "ContaineranalysisGoogleDevtoolsCloudbuildV1DependencyGitSourceRepository", +"properties": { +"developerConnect": { +"description": "The Developer Connect Git repository link formatted as `projects/*/locations/*/connections/*/gitRepositoryLink/*`", +"type": "string" +}, +"url": { +"description": "Location of the Git repository.", +"type": "string" +} +}, +"type": "object" +}, +"ContaineranalysisGoogleDevtoolsCloudbuildV1DeveloperConnectConfig": { +"description": "This config defines the location of a source through Developer Connect.", +"id": "ContaineranalysisGoogleDevtoolsCloudbuildV1DeveloperConnectConfig", +"properties": { +"dir": { +"description": "Required. Directory, relative to the source root, in which to run the build.", +"type": "string" +}, +"gitRepositoryLink": { +"description": "Required. The Developer Connect Git repository link, formatted as `projects/*/locations/*/connections/*/gitRepositoryLink/*`.", +"type": "string" +}, +"revision": { +"description": "Required. The revision to fetch from the Git repository such as a branch, a tag, a commit SHA, or any Git ref.", +"type": "string" +} +}, +"type": "object" +}, +"ContaineranalysisGoogleDevtoolsCloudbuildV1FileHashes": { +"description": "Container message for hashes of byte content of files, used in SourceProvenance messages to verify integrity of source input to the build.", +"id": "ContaineranalysisGoogleDevtoolsCloudbuildV1FileHashes", +"properties": { +"fileHash": { +"description": "Collection of file hashes.", +"items": { +"$ref": "ContaineranalysisGoogleDevtoolsCloudbuildV1Hash" +}, +"type": "array" +} +}, +"type": "object" +}, +"ContaineranalysisGoogleDevtoolsCloudbuildV1GitConfig": { +"description": "GitConfig is a configuration for git operations.", +"id": "ContaineranalysisGoogleDevtoolsCloudbuildV1GitConfig", +"properties": { +"http": { +"$ref": "ContaineranalysisGoogleDevtoolsCloudbuildV1GitConfigHttpConfig", +"description": "Configuration for HTTP related git operations." +} +}, +"type": "object" +}, +"ContaineranalysisGoogleDevtoolsCloudbuildV1GitConfigHttpConfig": { +"description": "HttpConfig is a configuration for HTTP related git operations.", +"id": "ContaineranalysisGoogleDevtoolsCloudbuildV1GitConfigHttpConfig", +"properties": { +"proxySecretVersionName": { +"description": "SecretVersion resource of the HTTP proxy URL. The Service Account used in the build (either the default Service Account or user-specified Service Account) should have `secretmanager.versions.access` permissions on this secret. The proxy URL should be in format `protocol://@]proxyhost[:port]`.", +"type": "string" +} +}, +"type": "object" +}, +"ContaineranalysisGoogleDevtoolsCloudbuildV1GitSource": { +"description": "Location of the source in any accessible Git repository.", +"id": "ContaineranalysisGoogleDevtoolsCloudbuildV1GitSource", +"properties": { +"dir": { +"description": "Optional. Directory, relative to the source root, in which to run the build. This must be a relative path. If a step's `dir` is specified and is an absolute path, this value is ignored for that step's execution.", +"type": "string" +}, +"revision": { +"description": "Optional. The revision to fetch from the Git repository such as a branch, a tag, a commit SHA, or any Git ref. Cloud Build uses `git fetch` to fetch the revision from the Git repository; therefore make sure that the string you provide for `revision` is parsable by the command. For information on string values accepted by `git fetch`, see https://git-scm.com/docs/gitrevisions#_specifying_revisions. For information on `git fetch`, see https://git-scm.com/docs/git-fetch.", +"type": "string" +}, +"url": { +"description": "Required. Location of the Git repo to build. This will be used as a `git remote`, see https://git-scm.com/docs/git-remote.", +"type": "string" +} +}, +"type": "object" +}, +"ContaineranalysisGoogleDevtoolsCloudbuildV1Hash": { +"description": "Container message for hash values.", +"id": "ContaineranalysisGoogleDevtoolsCloudbuildV1Hash", +"properties": { +"type": { +"description": "The type of hash that was performed.", +"enum": [ +"NONE", +"SHA256", +"MD5", +"GO_MODULE_H1", +"SHA512" +], +"enumDescriptions": [ +"No hash requested.", +"Use a sha256 hash.", +"Use a md5 hash.", +"Dirhash of a Go module's source code which is then hex-encoded.", +"Use a sha512 hash." +], +"type": "string" +}, +"value": { +"description": "The hash value.", +"format": "byte", +"type": "string" +} +}, +"type": "object" +}, +"ContaineranalysisGoogleDevtoolsCloudbuildV1InlineSecret": { +"description": "Pairs a set of secret environment variables mapped to encrypted values with the Cloud KMS key to use to decrypt the value.", +"id": "ContaineranalysisGoogleDevtoolsCloudbuildV1InlineSecret", +"properties": { +"envMap": { +"additionalProperties": { +"format": "byte", +"type": "string" +}, +"description": "Map of environment variable name to its encrypted value. Secret environment variables must be unique across all of a build's secrets, and must be used by at least one build step. Values can be at most 64 KB in size. There can be at most 100 secret values across all of a build's secrets.", +"type": "object" +}, +"kmsKeyName": { +"description": "Resource name of Cloud KMS crypto key to decrypt the encrypted value. In format: projects/*/locations/*/keyRings/*/cryptoKeys/*", +"type": "string" +} +}, +"type": "object" +}, +"ContaineranalysisGoogleDevtoolsCloudbuildV1RepoSource": { +"description": "Location of the source in a Google Cloud Source Repository.", +"id": "ContaineranalysisGoogleDevtoolsCloudbuildV1RepoSource", +"properties": { +"branchName": { +"description": "Regex matching branches to build. The syntax of the regular expressions accepted is the syntax accepted by RE2 and described at https://github.com/google/re2/wiki/Syntax", +"type": "string" +}, +"commitSha": { +"description": "Explicit commit SHA to build.", +"type": "string" +}, +"dir": { +"description": "Optional. Directory, relative to the source root, in which to run the build. This must be a relative path. If a step's `dir` is specified and is an absolute path, this value is ignored for that step's execution.", +"type": "string" +}, +"invertRegex": { +"description": "Optional. Only trigger a build if the revision regex does NOT match the revision regex.", +"type": "boolean" +}, +"projectId": { +"description": "Optional. ID of the project that owns the Cloud Source Repository. If omitted, the project ID requesting the build is assumed.", +"type": "string" +}, +"repoName": { +"description": "Required. Name of the Cloud Source Repository.", +"type": "string" +}, +"substitutions": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. Substitutions to use in a triggered build. Should only be used with RunBuildTrigger", +"type": "object" +}, +"tagName": { +"description": "Regex matching tags to build. The syntax of the regular expressions accepted is the syntax accepted by RE2 and described at https://github.com/google/re2/wiki/Syntax", +"type": "string" +} +}, +"type": "object" +}, +"ContaineranalysisGoogleDevtoolsCloudbuildV1Results": { +"description": "Artifacts created by the build pipeline.", +"id": "ContaineranalysisGoogleDevtoolsCloudbuildV1Results", +"properties": { +"artifactManifest": { +"description": "Path to the artifact manifest for non-container artifacts uploaded to Cloud Storage. Only populated when artifacts are uploaded to Cloud Storage.", +"type": "string" +}, +"artifactTiming": { +"$ref": "ContaineranalysisGoogleDevtoolsCloudbuildV1TimeSpan", +"description": "Time to push all non-container artifacts to Cloud Storage." +}, +"buildStepImages": { +"description": "List of build step digests, in the order corresponding to build step indices.", +"items": { +"type": "string" +}, +"type": "array" +}, +"buildStepOutputs": { +"description": "List of build step outputs, produced by builder images, in the order corresponding to build step indices. [Cloud Builders](https://cloud.google.com/cloud-build/docs/cloud-builders) can produce this output by writing to `$BUILDER_OUTPUT/output`. Only the first 50KB of data is stored. Note that the `$BUILDER_OUTPUT` variable is read-only and can't be substituted.", +"items": { +"format": "byte", +"type": "string" +}, +"type": "array" +}, +"goModules": { +"description": "Optional. Go module artifacts uploaded to Artifact Registry at the end of the build.", +"items": { +"$ref": "ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedGoModule" +}, +"type": "array" +}, +"images": { +"description": "Container images that were built as a part of the build.", +"items": { +"$ref": "ContaineranalysisGoogleDevtoolsCloudbuildV1BuiltImage" +}, +"type": "array" +}, +"mavenArtifacts": { +"description": "Maven artifacts uploaded to Artifact Registry at the end of the build.", +"items": { +"$ref": "ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedMavenArtifact" +}, +"type": "array" +}, +"npmPackages": { +"description": "Npm packages uploaded to Artifact Registry at the end of the build.", +"items": { +"$ref": "ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedNpmPackage" +}, +"type": "array" +}, +"numArtifacts": { +"description": "Number of non-container artifacts uploaded to Cloud Storage. Only populated when artifacts are uploaded to Cloud Storage.", +"format": "int64", +"type": "string" +}, +"pythonPackages": { +"description": "Python artifacts uploaded to Artifact Registry at the end of the build.", +"items": { +"$ref": "ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedPythonPackage" +}, +"type": "array" +} +}, +"type": "object" +}, +"ContaineranalysisGoogleDevtoolsCloudbuildV1Secret": { +"description": "Pairs a set of secret environment variables containing encrypted values with the Cloud KMS key to use to decrypt the value. Note: Use `kmsKeyName` with `available_secrets` instead of using `kmsKeyName` with `secret`. For instructions see: https://cloud.google.com/cloud-build/docs/securing-builds/use-encrypted-credentials.", +"id": "ContaineranalysisGoogleDevtoolsCloudbuildV1Secret", +"properties": { +"kmsKeyName": { +"description": "Cloud KMS key name to use to decrypt these envs.", +"type": "string" +}, +"secretEnv": { +"additionalProperties": { +"format": "byte", +"type": "string" +}, +"description": "Map of environment variable name to its encrypted value. Secret environment variables must be unique across all of a build's secrets, and must be used by at least one build step. Values can be at most 64 KB in size. There can be at most 100 secret values across all of a build's secrets.", +"type": "object" +} +}, +"type": "object" +}, +"ContaineranalysisGoogleDevtoolsCloudbuildV1SecretManagerSecret": { +"description": "Pairs a secret environment variable with a SecretVersion in Secret Manager.", +"id": "ContaineranalysisGoogleDevtoolsCloudbuildV1SecretManagerSecret", +"properties": { +"env": { +"description": "Environment variable name to associate with the secret. Secret environment variables must be unique across all of a build's secrets, and must be used by at least one build step.", +"type": "string" +}, +"versionName": { +"description": "Resource name of the SecretVersion. In format: projects/*/secrets/*/versions/*", +"type": "string" +} +}, +"type": "object" +}, +"ContaineranalysisGoogleDevtoolsCloudbuildV1Secrets": { +"description": "Secrets and secret environment variables.", +"id": "ContaineranalysisGoogleDevtoolsCloudbuildV1Secrets", +"properties": { +"inline": { +"description": "Secrets encrypted with KMS key and the associated secret environment variable.", +"items": { +"$ref": "ContaineranalysisGoogleDevtoolsCloudbuildV1InlineSecret" +}, +"type": "array" +}, +"secretManager": { +"description": "Secrets in Secret Manager and associated secret environment variable.", +"items": { +"$ref": "ContaineranalysisGoogleDevtoolsCloudbuildV1SecretManagerSecret" +}, +"type": "array" +} +}, +"type": "object" +}, +"ContaineranalysisGoogleDevtoolsCloudbuildV1Source": { +"description": "Location of the source in a supported storage service.", +"id": "ContaineranalysisGoogleDevtoolsCloudbuildV1Source", +"properties": { +"connectedRepository": { +"$ref": "ContaineranalysisGoogleDevtoolsCloudbuildV1ConnectedRepository", +"description": "Optional. If provided, get the source from this 2nd-gen Google Cloud Build repository resource." +}, +"developerConnectConfig": { +"$ref": "ContaineranalysisGoogleDevtoolsCloudbuildV1DeveloperConnectConfig", +"description": "If provided, get the source from this Developer Connect config." +}, +"gitSource": { +"$ref": "ContaineranalysisGoogleDevtoolsCloudbuildV1GitSource", +"description": "If provided, get the source from this Git repository." +}, +"repoSource": { +"$ref": "ContaineranalysisGoogleDevtoolsCloudbuildV1RepoSource", +"description": "If provided, get the source from this location in a Cloud Source Repository." +}, +"storageSource": { +"$ref": "ContaineranalysisGoogleDevtoolsCloudbuildV1StorageSource", +"description": "If provided, get the source from this location in Cloud Storage." +}, +"storageSourceManifest": { +"$ref": "ContaineranalysisGoogleDevtoolsCloudbuildV1StorageSourceManifest", +"description": "If provided, get the source from this manifest in Cloud Storage. This feature is in Preview; see description [here](https://github.com/GoogleCloudPlatform/cloud-builders/tree/master/gcs-fetcher)." +} +}, +"type": "object" +}, +"ContaineranalysisGoogleDevtoolsCloudbuildV1SourceProvenance": { +"description": "Provenance of the source. Ways to find the original source, or verify that some source was used for this build.", +"id": "ContaineranalysisGoogleDevtoolsCloudbuildV1SourceProvenance", +"properties": { +"fileHashes": { +"additionalProperties": { +"$ref": "ContaineranalysisGoogleDevtoolsCloudbuildV1FileHashes" +}, +"description": "Output only. Hash(es) of the build source, which can be used to verify that the original source integrity was maintained in the build. Note that `FileHashes` will only be populated if `BuildOptions` has requested a `SourceProvenanceHash`. The keys to this map are file paths used as build source and the values contain the hash values for those files. If the build source came in a single package such as a gzipped tarfile (`.tar.gz`), the `FileHash` will be for the single path to that file.", +"readOnly": true, +"type": "object" +}, +"resolvedConnectedRepository": { +"$ref": "ContaineranalysisGoogleDevtoolsCloudbuildV1ConnectedRepository", +"description": "Output only. A copy of the build's `source.connected_repository`, if exists, with any revisions resolved.", +"readOnly": true +}, +"resolvedGitSource": { +"$ref": "ContaineranalysisGoogleDevtoolsCloudbuildV1GitSource", +"description": "Output only. A copy of the build's `source.git_source`, if exists, with any revisions resolved.", +"readOnly": true +}, +"resolvedRepoSource": { +"$ref": "ContaineranalysisGoogleDevtoolsCloudbuildV1RepoSource", +"description": "A copy of the build's `source.repo_source`, if exists, with any revisions resolved." +}, +"resolvedStorageSource": { +"$ref": "ContaineranalysisGoogleDevtoolsCloudbuildV1StorageSource", +"description": "A copy of the build's `source.storage_source`, if exists, with any generations resolved." +}, +"resolvedStorageSourceManifest": { +"$ref": "ContaineranalysisGoogleDevtoolsCloudbuildV1StorageSourceManifest", +"description": "A copy of the build's `source.storage_source_manifest`, if exists, with any revisions resolved. This feature is in Preview." +} +}, +"type": "object" +}, +"ContaineranalysisGoogleDevtoolsCloudbuildV1StorageSource": { +"description": "Location of the source in an archive file in Cloud Storage.", +"id": "ContaineranalysisGoogleDevtoolsCloudbuildV1StorageSource", +"properties": { +"bucket": { +"description": "Cloud Storage bucket containing the source (see [Bucket Name Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)).", +"type": "string" +}, +"generation": { +"description": "Optional. Cloud Storage generation for the object. If the generation is omitted, the latest generation will be used.", +"format": "int64", +"type": "string" +}, +"object": { +"description": "Required. Cloud Storage object containing the source. This object must be a zipped (`.zip`) or gzipped archive file (`.tar.gz`) containing source to build.", +"type": "string" +}, +"sourceFetcher": { +"description": "Optional. Option to specify the tool to fetch the source file for the build.", +"enum": [ +"SOURCE_FETCHER_UNSPECIFIED", +"GSUTIL", +"GCS_FETCHER" +], +"enumDescriptions": [ +"Unspecified defaults to GSUTIL.", +"Use the \"gsutil\" tool to download the source file.", +"Use the Cloud Storage Fetcher tool to download the source file." +], +"type": "string" +} +}, +"type": "object" +}, +"ContaineranalysisGoogleDevtoolsCloudbuildV1StorageSourceManifest": { +"description": "Location of the source manifest in Cloud Storage. This feature is in Preview; see description [here](https://github.com/GoogleCloudPlatform/cloud-builders/tree/master/gcs-fetcher).", +"id": "ContaineranalysisGoogleDevtoolsCloudbuildV1StorageSourceManifest", +"properties": { +"bucket": { +"description": "Required. Cloud Storage bucket containing the source manifest (see [Bucket Name Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)).", +"type": "string" +}, +"generation": { +"description": "Cloud Storage generation for the object. If the generation is omitted, the latest generation will be used.", +"format": "int64", +"type": "string" +}, +"object": { +"description": "Required. Cloud Storage object containing the source manifest. This object must be a JSON file.", +"type": "string" +} +}, +"type": "object" +}, +"ContaineranalysisGoogleDevtoolsCloudbuildV1TimeSpan": { +"description": "Start and end times for a build execution phase.", +"id": "ContaineranalysisGoogleDevtoolsCloudbuildV1TimeSpan", +"properties": { +"endTime": { +"description": "End of time span.", +"format": "google-datetime", +"type": "string" +}, +"startTime": { +"description": "Start of time span.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedGoModule": { +"description": "A Go module artifact uploaded to Artifact Registry using the GoModule directive.", +"id": "ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedGoModule", +"properties": { +"artifactRegistryPackage": { +"description": "Output only. Path to the artifact in Artifact Registry.", +"readOnly": true, +"type": "string" +}, +"fileHashes": { +"$ref": "ContaineranalysisGoogleDevtoolsCloudbuildV1FileHashes", +"description": "Hash types and values of the Go Module Artifact." +}, +"pushTiming": { +"$ref": "ContaineranalysisGoogleDevtoolsCloudbuildV1TimeSpan", +"description": "Output only. Stores timing information for pushing the specified artifact.", +"readOnly": true +}, +"uri": { +"description": "URI of the uploaded artifact.", +"type": "string" +} +}, +"type": "object" +}, +"ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedMavenArtifact": { +"description": "A Maven artifact uploaded using the MavenArtifact directive.", +"id": "ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedMavenArtifact", +"properties": { +"artifactRegistryPackage": { +"description": "Output only. Path to the artifact in Artifact Registry.", +"readOnly": true, +"type": "string" +}, +"fileHashes": { +"$ref": "ContaineranalysisGoogleDevtoolsCloudbuildV1FileHashes", +"description": "Hash types and values of the Maven Artifact." +}, +"pushTiming": { +"$ref": "ContaineranalysisGoogleDevtoolsCloudbuildV1TimeSpan", +"description": "Output only. Stores timing information for pushing the specified artifact.", +"readOnly": true +}, +"uri": { +"description": "URI of the uploaded artifact.", +"type": "string" +} +}, +"type": "object" +}, +"ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedNpmPackage": { +"description": "An npm package uploaded to Artifact Registry using the NpmPackage directive.", +"id": "ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedNpmPackage", +"properties": { +"artifactRegistryPackage": { +"description": "Output only. Path to the artifact in Artifact Registry.", +"readOnly": true, +"type": "string" +}, +"fileHashes": { +"$ref": "ContaineranalysisGoogleDevtoolsCloudbuildV1FileHashes", +"description": "Hash types and values of the npm package." +}, +"pushTiming": { +"$ref": "ContaineranalysisGoogleDevtoolsCloudbuildV1TimeSpan", +"description": "Output only. Stores timing information for pushing the specified artifact.", +"readOnly": true +}, +"uri": { +"description": "URI of the uploaded npm package.", +"type": "string" +} +}, +"type": "object" +}, +"ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedPythonPackage": { +"description": "Artifact uploaded using the PythonPackage directive.", +"id": "ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedPythonPackage", +"properties": { +"artifactRegistryPackage": { +"description": "Output only. Path to the artifact in Artifact Registry.", +"readOnly": true, +"type": "string" +}, +"fileHashes": { +"$ref": "ContaineranalysisGoogleDevtoolsCloudbuildV1FileHashes", +"description": "Hash types and values of the Python Artifact." +}, +"pushTiming": { +"$ref": "ContaineranalysisGoogleDevtoolsCloudbuildV1TimeSpan", +"description": "Output only. Stores timing information for pushing the specified artifact.", +"readOnly": true +}, +"uri": { +"description": "URI of the uploaded artifact.", +"type": "string" +} +}, +"type": "object" +}, +"ContaineranalysisGoogleDevtoolsCloudbuildV1Volume": { +"description": "Volume describes a Docker container volume which is mounted into build steps in order to persist files across build step execution.", +"id": "ContaineranalysisGoogleDevtoolsCloudbuildV1Volume", +"properties": { +"name": { +"description": "Name of the volume to mount. Volume names must be unique per build step and must be valid names for Docker volumes. Each named volume must be used by at least two build steps.", +"type": "string" +}, +"path": { +"description": "Path at which to mount the volume. Paths must be absolute and cannot conflict with other volume paths on the same build step or with certain reserved volume paths.", +"type": "string" +} +}, +"type": "object" +}, +"CreateOperationRequest": { +"description": "Request for creating an operation", +"id": "CreateOperationRequest", +"properties": { +"operation": { +"$ref": "Operation", +"description": "The operation to create." +}, +"operationId": { +"description": "The ID to use for this operation.", +"type": "string" +} +}, +"type": "object" +}, +"DSSEAttestationNote": { +"description": "A note describing an attestation", +"id": "DSSEAttestationNote", +"properties": { +"hint": { +"$ref": "DSSEHint", +"description": "DSSEHint hints at the purpose of the attestation authority." +} +}, +"type": "object" +}, +"DSSEAttestationOccurrence": { +"description": "An occurrence describing an attestation on a resource", +"id": "DSSEAttestationOccurrence", +"properties": { +"envelope": { +"$ref": "Envelope", +"description": "If doing something security critical, make sure to verify the signatures in this metadata." +}, +"statement": { +"$ref": "InTotoStatement" +} +}, +"type": "object" +}, +"DSSEHint": { +"description": "This submessage provides human-readable hints about the purpose of the authority. Because the name of a note acts as its resource reference, it is important to disambiguate the canonical name of the Note (which might be a UUID for security purposes) from \"readable\" names more suitable for debug output. Note that these hints should not be used to look up authorities in security sensitive contexts, such as when looking up attestations to verify.", +"id": "DSSEHint", +"properties": { +"humanReadableName": { +"description": "Required. The human readable name of this attestation authority, for example \"cloudbuild-prod\".", +"type": "string" +} +}, +"type": "object" +}, +"Deployable": { +"description": "An artifact that can be deployed in some runtime.", +"id": "Deployable", +"properties": { +"resourceUri": { +"description": "Resource URI for the artifact being deployed.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"Deployment": { +"description": "The period during which some deployable was active in a runtime.", +"id": "Deployment", +"properties": { +"address": { +"description": "Address of the runtime element hosting this deployment.", +"type": "string" +}, +"config": { +"description": "Configuration used to create this deployment.", +"type": "string" +}, +"deployTime": { +"description": "Beginning of the lifetime of this deployment.", +"format": "google-datetime", +"type": "string" +}, +"platform": { +"description": "Platform hosting this deployment.", +"enum": [ +"PLATFORM_UNSPECIFIED", +"GKE", +"FLEX", +"CUSTOM" +], +"enumDescriptions": [ +"Unknown", +"Google Container Engine", +"Google App Engine: Flexible Environment", +"Custom user-defined platform" +], +"type": "string" +}, +"resourceUri": { +"description": "Resource URI for the artifact being deployed taken from the deployable field with the same name.", +"items": { +"type": "string" +}, +"type": "array" +}, +"undeployTime": { +"description": "End of the lifetime of this deployment.", +"format": "google-datetime", +"type": "string" +}, +"userEmail": { +"description": "Identity of the user that triggered this deployment.", +"type": "string" +} +}, +"type": "object" +}, +"Derived": { +"description": "Derived describes the derived image portion (Occurrence) of the DockerImage relationship. This image would be produced from a Dockerfile with FROM .", +"id": "Derived", +"properties": { +"baseResourceUrl": { +"description": "Output only. This contains the base image URL for the derived image occurrence.", +"type": "string" +}, +"distance": { +"description": "Output only. The number of layers by which this image differs from the associated image basis.", +"format": "uint32", +"type": "integer" +}, +"fingerprint": { +"$ref": "Fingerprint", +"description": "The fingerprint of the derived image." +}, +"layerInfo": { +"description": "This contains layer-specific metadata, if populated it has length \"distance\" and is ordered with [distance] being the layer immediately following the base image and [1] being the final layer.", +"items": { +"$ref": "Layer" +}, +"type": "array" +} +}, +"type": "object" +}, +"Detail": { +"description": "Identifies all occurrences of this vulnerability in the package for a specific distro/location For example: glibc in cpe:/o:debian:debian_linux:8 for versions 2.1 - 2.2", +"id": "Detail", +"properties": { +"cpeUri": { +"description": "The cpe_uri in [cpe format] (https://cpe.mitre.org/specification/) in which the vulnerability manifests. Examples include distro or storage location for vulnerable jar. This field can be used as a filter in list requests.", +"type": "string" +}, +"description": { +"description": "A vendor-specific description of this note.", +"type": "string" +}, +"fixedLocation": { +"$ref": "VulnerabilityLocation", +"description": "The fix for this specific package version." +}, +"isObsolete": { +"description": "Whether this Detail is obsolete. Occurrences are expected not to point to obsolete details.", +"type": "boolean" +}, +"maxAffectedVersion": { +"$ref": "Version", +"description": "The max version of the package in which the vulnerability exists." +}, +"minAffectedVersion": { +"$ref": "Version", +"description": "The min version of the package in which the vulnerability exists." +}, +"package": { +"description": "The name of the package where the vulnerability was found. This field can be used as a filter in list requests.", +"type": "string" +}, +"packageType": { +"description": "The type of package; whether native or non native(ruby gems, node.js packages etc)", +"type": "string" +}, +"severityName": { +"description": "The severity (eg: distro assigned severity) for this vulnerability.", +"type": "string" +}, +"source": { +"description": "The source from which the information in this Detail was obtained.", +"type": "string" +}, +"vendor": { +"description": "The vendor of the product. e.g. \"google\"", +"type": "string" +} +}, +"type": "object" +}, +"Digest": { +"description": "Digest information.", +"id": "Digest", +"properties": { +"algo": { +"description": "`SHA1`, `SHA512` etc.", +"type": "string" +}, +"digestBytes": { +"description": "Value of the digest.", +"format": "byte", +"type": "string" +} +}, +"type": "object" +}, +"Discovered": { +"description": "Provides information about the scan status of a discovered resource.", +"id": "Discovered", +"properties": { +"analysisCompleted": { +"$ref": "AnalysisCompleted", +"description": "The list of analysis that were completed for a resource." +}, +"analysisError": { +"description": "Indicates any errors encountered during analysis of a resource. There could be 0 or more of these errors.", +"items": { +"$ref": "Status" +}, +"type": "array" +}, +"analysisStatus": { +"description": "The status of discovery for the resource.", +"enum": [ +"ANALYSIS_STATUS_UNSPECIFIED", +"PENDING", +"SCANNING", +"COMPLETE", +"FINISHED_SUCCESS", +"FINISHED_FAILED", +"FINISHED_UNSUPPORTED" +], +"enumDescriptions": [ +"Unknown", +"Resource is known but no action has been taken yet.", +"Resource is being analyzed.", +"Analysis has completed", +"Analysis has finished successfully.", +"Analysis has finished unsuccessfully, the analysis itself is in a bad state.", +"The resource is known not to be supported." +], +"type": "string" +}, +"analysisStatusError": { +"$ref": "Status", +"description": "When an error is encountered this will contain a LocalizedMessage under details to show to the user. The LocalizedMessage output only and populated by the API." +}, +"archiveTime": { +"description": "The time occurrences related to this discovery occurrence were archived.", +"format": "google-datetime", +"type": "string" +}, +"continuousAnalysis": { +"description": "Whether the resource is continuously analyzed.", +"enum": [ +"CONTINUOUS_ANALYSIS_UNSPECIFIED", +"ACTIVE", +"INACTIVE" +], +"enumDescriptions": [ +"Unknown", +"The resource is continuously analyzed.", +"The resource is ignored for continuous analysis." +], +"type": "string" +}, +"cpe": { +"description": "The CPE of the resource being scanned.", +"type": "string" +}, +"files": { +"description": "Optional. Files that make up the resource described by the occurrence.", +"items": { +"$ref": "File" +}, +"type": "array" +}, +"lastScanTime": { +"description": "The last time this resource was scanned.", +"format": "google-datetime", +"type": "string" +}, +"lastVulnerabilityUpdateTime": { +"description": "Optional. The last time vulnerability scan results changed.", +"format": "google-datetime", +"type": "string" +}, +"operation": { +"$ref": "Operation", +"description": "Output only. An operation that indicates the status of the current scan. This field is deprecated, do not use." +}, +"sbomStatus": { +"$ref": "SBOMStatus", +"description": "Output only. The status of an SBOM generation.", +"readOnly": true +}, +"vulnerabilityAttestation": { +"$ref": "VulnerabilityAttestation", +"description": "Output only. The status of a vulnerability attestation generation.", +"readOnly": true +} +}, +"type": "object" +}, +"Discovery": { +"description": "A note that indicates a type of analysis a provider would perform. This note exists in a provider's project. A `Discovery` occurrence is created in a consumer's project at the start of analysis. The occurrence's operation will indicate the status of the analysis. Absence of an occurrence linked to this note for a resource indicates that analysis hasn't started.", +"id": "Discovery", +"properties": { +"analysisKind": { +"description": "The kind of analysis that is handled by this discovery.", +"enum": [ +"KIND_UNSPECIFIED", +"PACKAGE_VULNERABILITY", +"BUILD_DETAILS", +"IMAGE_BASIS", +"PACKAGE_MANAGER", +"DEPLOYABLE", +"DISCOVERY", +"ATTESTATION_AUTHORITY", +"UPGRADE", +"COMPLIANCE", +"SBOM", +"SPDX_PACKAGE", +"SPDX_FILE", +"SPDX_RELATIONSHIP", +"DSSE_ATTESTATION", +"VULNERABILITY_ASSESSMENT", +"SBOM_REFERENCE", +"SECRET" +], +"enumDescriptions": [ +"Unknown", +"The note and occurrence represent a package vulnerability.", +"The note and occurrence assert build provenance.", +"This represents an image basis relationship.", +"This represents a package installed via a package manager.", +"The note and occurrence track deployment events.", +"The note and occurrence track the initial discovery status of a resource.", +"This represents a logical \"role\" that can attest to artifacts.", +"This represents an available software upgrade.", +"This represents a compliance check that can be applied to a resource.", +"This represents a software bill of materials.", +"This represents an SPDX Package.", +"This represents an SPDX File.", +"This represents an SPDX Relationship.", +"This represents a DSSE attestation Note", +"This represents a Vulnerability Assessment.", +"This represents a reference to an SBOM.", +"This represents a secret." +], +"type": "string" +} +}, +"type": "object" +}, +"Distribution": { +"description": "This represents a particular channel of distribution for a given package. e.g. Debian's jessie-backports dpkg mirror", +"id": "Distribution", +"properties": { +"architecture": { +"description": "The CPU architecture for which packages in this distribution channel were built", +"enum": [ +"ARCHITECTURE_UNSPECIFIED", +"X86", +"X64" +], +"enumDescriptions": [ +"Unknown architecture", +"X86 architecture", +"X64 architecture" +], +"type": "string" +}, +"cpeUri": { +"description": "The cpe_uri in [cpe format](https://cpe.mitre.org/specification/) denoting the package manager version distributing a package.", +"type": "string" +}, +"description": { +"description": "The distribution channel-specific description of this package.", +"type": "string" +}, +"latestVersion": { +"$ref": "Version", +"description": "The latest available version of this package in this distribution channel." +}, +"maintainer": { +"description": "A freeform string denoting the maintainer of this package.", +"type": "string" +}, +"url": { +"description": "The distribution channel-specific homepage for this package.", +"type": "string" +} +}, +"type": "object" +}, +"DocumentNote": { +"description": "DocumentNote represents an SPDX Document Creation Infromation section: https://spdx.github.io/spdx-spec/2-document-creation-information/", +"id": "DocumentNote", +"properties": { +"dataLicence": { +"description": "Compliance with the SPDX specification includes populating the SPDX fields therein with data related to such fields (\"SPDX-Metadata\")", +"type": "string" +}, +"spdxVersion": { +"description": "Provide a reference number that can be used to understand how to parse and interpret the rest of the file", +"type": "string" +} +}, +"type": "object" +}, +"DocumentOccurrence": { +"description": "DocumentOccurrence represents an SPDX Document Creation Information section: https://spdx.github.io/spdx-spec/2-document-creation-information/", +"id": "DocumentOccurrence", +"properties": { +"createTime": { +"description": "Identify when the SPDX file was originally created. The date is to be specified according to combined date and time in UTC format as specified in ISO 8601 standard", +"format": "google-datetime", +"type": "string" +}, +"creatorComment": { +"description": "A field for creators of the SPDX file to provide general comments about the creation of the SPDX file or any other relevant comment not included in the other fields", +"type": "string" +}, +"creators": { +"description": "Identify who (or what, in the case of a tool) created the SPDX file. If the SPDX file was created by an individual, indicate the person's name", +"items": { +"type": "string" +}, +"type": "array" +}, +"documentComment": { +"description": "A field for creators of the SPDX file content to provide comments to the consumers of the SPDX document", +"type": "string" +}, +"externalDocumentRefs": { +"description": "Identify any external SPDX documents referenced within this SPDX document", +"items": { +"type": "string" +}, +"type": "array" +}, +"id": { +"description": "Identify the current SPDX document which may be referenced in relationships by other files, packages internally and documents externally", +"type": "string" +}, +"licenseListVersion": { +"description": "A field for creators of the SPDX file to provide the version of the SPDX License List used when the SPDX file was created", +"type": "string" +}, +"namespace": { +"description": "Provide an SPDX document specific namespace as a unique absolute Uniform Resource Identifier (URI) as specified in RFC-3986, with the exception of the \u2018#\u2019 delimiter", +"type": "string" +}, +"title": { +"description": "Identify name of this document as designated by creator", +"type": "string" +} +}, +"type": "object" +}, +"Empty": { +"description": "A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }", +"id": "Empty", +"properties": {}, +"type": "object" +}, +"Envelope": { +"description": "MUST match https://github.com/secure-systems-lab/dsse/blob/master/envelope.proto. An authenticated message of arbitrary type.", +"id": "Envelope", +"properties": { +"payload": { +"description": "The bytes being signed", +"format": "byte", +"type": "string" +}, +"payloadType": { +"description": "The type of payload being signed", +"type": "string" +}, +"signatures": { +"description": "The signatures over the payload", +"items": { +"$ref": "EnvelopeSignature" +}, +"type": "array" +} +}, +"type": "object" +}, +"EnvelopeSignature": { +"description": "A DSSE signature", +"id": "EnvelopeSignature", +"properties": { +"keyid": { +"description": "A reference id to the key being used for signing", +"type": "string" +}, +"sig": { +"description": "The signature itself", +"format": "byte", +"type": "string" +} +}, +"type": "object" +}, +"ExploitPredictionScoringSystem": { +"description": "ExploitPredictionScoringSystem provides information about the Exploit Prediction Scoring System (EPSS) score and percentile.", +"id": "ExploitPredictionScoringSystem", +"properties": { +"percentile": { +"description": "Optional. The percentile of the current score, the proportion of all scored vulnerabilities with the same or a lower EPSS score", +"format": "double", +"type": "number" +}, +"score": { +"description": "Optional. The EPSS score representing the probability [0-1] of exploitation in the wild in the next 30 days", +"format": "double", +"type": "number" +} +}, +"type": "object" +}, +"Expr": { +"description": "Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: \"Summary size limit\" description: \"Determines if a summary is less than 100 chars\" expression: \"document.summary.size() < 100\" Example (Equality): title: \"Requestor is owner\" description: \"Determines if requestor is the document owner\" expression: \"document.owner == request.auth.claims.email\" Example (Logic): title: \"Public documents\" description: \"Determine whether the document should be publicly visible\" expression: \"document.type != 'private' && document.type != 'internal'\" Example (Data Manipulation): title: \"Notification string\" description: \"Create a notification string with a timestamp.\" expression: \"'New message received at ' + string(document.create_time)\" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information.", +"id": "Expr", +"properties": { +"description": { +"description": "Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI.", +"type": "string" +}, +"expression": { +"description": "Textual representation of an expression in Common Expression Language syntax.", +"type": "string" +}, +"location": { +"description": "Optional. String indicating the location of the expression for error reporting, e.g. a file name and a position in the file.", +"type": "string" +}, +"title": { +"description": "Optional. Title for the expression, i.e. a short string describing its purpose. This can be used e.g. in UIs which allow to enter the expression.", +"type": "string" +} +}, +"type": "object" +}, +"ExternalRef": { +"description": "An External Reference allows a Package to reference an external source of additional information, metadata, enumerations, asset identifiers, or downloadable content believed to be relevant to the Package", +"id": "ExternalRef", +"properties": { +"category": { +"description": "An External Reference allows a Package to reference an external source of additional information, metadata, enumerations, asset identifiers, or downloadable content believed to be relevant to the Package", +"enum": [ +"CATEGORY_UNSPECIFIED", +"SECURITY", +"PACKAGE_MANAGER", +"PERSISTENT_ID", +"OTHER" +], +"enumDescriptions": [ +"Unspecified", +"Security (e.g. cpe22Type, cpe23Type)", +"Package Manager (e.g. maven-central, npm, nuget, bower, purl)", +"Persistent-Id (e.g. swh)", +"Other" +], +"type": "string" +}, +"comment": { +"description": "Human-readable information about the purpose and target of the reference", +"type": "string" +}, +"locator": { +"description": "The unique string with no spaces necessary to access the package-specific information, metadata, or content within the target location", +"type": "string" +}, +"type": { +"description": "Type of category (e.g. 'npm' for the PACKAGE_MANAGER category)", +"type": "string" +} +}, +"type": "object" +}, +"File": { +"description": "A file as part of a resource.", +"id": "File", +"properties": { +"digest": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. The digest(s) of the file.", +"type": "object" +}, +"name": { +"description": "Optional. The name of the file.", +"type": "string" +} +}, +"type": "object" +}, +"FileHashes": { +"description": "Container message for hashes of byte content of files, used in Source messages to verify integrity of source input to the build.", +"id": "FileHashes", +"properties": { +"fileHash": { +"description": "Collection of file hashes.", +"items": { +"$ref": "Hash" +}, +"type": "array" +} +}, +"type": "object" +}, +"FileLocation": { +"description": "Indicates the location at which a package was found.", +"id": "FileLocation", +"properties": { +"filePath": { +"description": "For jars that are contained inside .war files, this filepath can indicate the path to war file combined with the path to jar file.", +"type": "string" +}, +"layerDetails": { +"$ref": "LayerDetails", +"description": "Each package found in a file should have its own layer metadata (that is, information from the origin layer of the package)." +} +}, +"type": "object" +}, +"FileNote": { +"description": "FileNote represents an SPDX File Information section: https://spdx.github.io/spdx-spec/4-file-information/", +"id": "FileNote", +"properties": { +"checksum": { +"description": "Provide a unique identifier to match analysis information on each specific file in a package", +"items": { +"type": "string" +}, +"type": "array" +}, +"fileType": { +"description": "This field provides information about the type of file identified", +"enum": [ +"FILE_TYPE_UNSPECIFIED", +"SOURCE", +"BINARY", +"ARCHIVE", +"APPLICATION", +"AUDIO", +"IMAGE", +"TEXT", +"VIDEO", +"DOCUMENTATION", +"SPDX", +"OTHER" +], +"enumDescriptions": [ +"Unspecified", +"The file is human readable source code (.c, .html, etc.)", +"The file is a compiled object, target image or binary executable (.o, .a, etc.)", +"The file represents an archive (.tar, .jar, etc.)", +"The file is associated with a specific application type (MIME type of application/*)", +"The file is associated with an audio file (MIME type of audio/* , e.g. .mp3)", +"The file is associated with an picture image file (MIME type of image/*, e.g., .jpg, .gif)", +"The file is human readable text file (MIME type of text/*)", +"The file is associated with a video file type (MIME type of video/*)", +"The file serves as documentation", +"The file is an SPDX document", +"The file doesn't fit into the above categories (generated artifacts, data files, etc.)" +], +"type": "string" +}, +"title": { +"description": "Identify the full path and filename that corresponds to the file information in this section", +"type": "string" +} +}, +"type": "object" +}, +"FileOccurrence": { +"description": "FileOccurrence represents an SPDX File Information section: https://spdx.github.io/spdx-spec/4-file-information/", +"id": "FileOccurrence", +"properties": { +"attributions": { +"description": "This field provides a place for the SPDX data creator to record, at the file level, acknowledgements that may be needed to be communicated in some contexts", +"items": { +"type": "string" +}, +"type": "array" +}, +"comment": { +"description": "This field provides a place for the SPDX file creator to record any general comments about the file", +"type": "string" +}, +"contributors": { +"description": "This field provides a place for the SPDX file creator to record file contributors", +"items": { +"type": "string" +}, +"type": "array" +}, +"copyright": { +"description": "Identify the copyright holder of the file, as well as any dates present", +"type": "string" +}, +"filesLicenseInfo": { +"description": "This field contains the license information actually found in the file, if any", +"items": { +"type": "string" +}, +"type": "array" +}, +"id": { +"description": "Uniquely identify any element in an SPDX document which may be referenced by other elements", +"type": "string" +}, +"licenseConcluded": { +"$ref": "License", +"description": "This field contains the license the SPDX file creator has concluded as governing the file or alternative values if the governing license cannot be determined" +}, +"notice": { +"description": "This field provides a place for the SPDX file creator to record license notices or other such related notices found in the file", +"type": "string" +} +}, +"type": "object" +}, +"Fingerprint": { +"description": "A set of properties that uniquely identify a given Docker image.", +"id": "Fingerprint", +"properties": { +"v1Name": { +"description": "The layer-id of the final layer in the Docker image's v1 representation. This field can be used as a filter in list requests.", +"type": "string" +}, +"v2Blob": { +"description": "The ordered list of v2 blobs that represent a given image.", +"items": { +"type": "string" +}, +"type": "array" +}, +"v2Name": { +"description": "Output only. The name of the image's v2 blobs computed via: [bottom] := v2_blobbottom := sha256(v2_blob[N] + \" \" + v2_name[N+1]) Only the name of the final blob is kept. This field can be used as a filter in list requests.", +"type": "string" +} +}, +"type": "object" +}, +"GetIamPolicyRequest": { +"description": "Request message for `GetIamPolicy` method.", +"id": "GetIamPolicyRequest", +"properties": { +"options": { +"$ref": "GetPolicyOptions", +"description": "OPTIONAL: A `GetPolicyOptions` object for specifying options to `GetIamPolicy`." +} +}, +"type": "object" +}, +"GetPolicyOptions": { +"description": "Encapsulates settings provided to GetIamPolicy.", +"id": "GetPolicyOptions", +"properties": { +"requestedPolicyVersion": { +"description": "Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"GetVulnzOccurrencesSummaryResponse": { +"description": "A summary of how many vulnz occurrences there are per severity type. counts by groups, or if we should have different summary messages like this.", +"id": "GetVulnzOccurrencesSummaryResponse", +"properties": { +"counts": { +"description": "A map of how many occurrences were found for each severity.", +"items": { +"$ref": "SeverityCount" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleDevtoolsContaineranalysisV1alpha1AliasContext": { +"description": "An alias to a repo revision.", +"id": "GoogleDevtoolsContaineranalysisV1alpha1AliasContext", +"properties": { +"kind": { +"description": "The alias kind.", +"enum": [ +"KIND_UNSPECIFIED", +"FIXED", +"MOVABLE", +"OTHER" +], +"enumDescriptions": [ +"Unknown.", +"Git tag.", +"Git branch.", +"Used to specify non-standard aliases. For example, if a Git repo has a ref named \"refs/foo/bar\"." +], +"type": "string" +}, +"name": { +"description": "The alias name.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleDevtoolsContaineranalysisV1alpha1CloudRepoSourceContext": { +"description": "A CloudRepoSourceContext denotes a particular revision in a Google Cloud Source Repo.", +"id": "GoogleDevtoolsContaineranalysisV1alpha1CloudRepoSourceContext", +"properties": { +"aliasContext": { +"$ref": "GoogleDevtoolsContaineranalysisV1alpha1AliasContext", +"description": "An alias, which may be a branch or tag." +}, +"repoId": { +"$ref": "GoogleDevtoolsContaineranalysisV1alpha1RepoId", +"description": "The ID of the repo." +}, +"revisionId": { +"description": "A revision ID.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleDevtoolsContaineranalysisV1alpha1GerritSourceContext": { +"description": "A SourceContext referring to a Gerrit project.", +"id": "GoogleDevtoolsContaineranalysisV1alpha1GerritSourceContext", +"properties": { +"aliasContext": { +"$ref": "GoogleDevtoolsContaineranalysisV1alpha1AliasContext", +"description": "An alias, which may be a branch or tag." +}, +"gerritProject": { +"description": "The full project name within the host. Projects may be nested, so \"project/subproject\" is a valid project name. The \"repo name\" is the hostURI/project.", +"type": "string" +}, +"hostUri": { +"description": "The URI of a running Gerrit instance.", +"type": "string" +}, +"revisionId": { +"description": "A revision (commit) ID.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleDevtoolsContaineranalysisV1alpha1GitSourceContext": { +"description": "A GitSourceContext denotes a particular revision in a third party Git repository (e.g., GitHub).", +"id": "GoogleDevtoolsContaineranalysisV1alpha1GitSourceContext", +"properties": { +"revisionId": { +"description": "Required. Git commit hash.", +"type": "string" +}, +"url": { +"description": "Git repository URL.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleDevtoolsContaineranalysisV1alpha1OperationMetadata": { +"description": "Metadata for all operations used and required for all operations that created by Container Analysis Providers", +"id": "GoogleDevtoolsContaineranalysisV1alpha1OperationMetadata", +"properties": { +"createTime": { +"description": "Output only. The time this operation was created.", +"format": "google-datetime", +"type": "string" +}, +"endTime": { +"description": "Output only. The time that this operation was marked completed or failed.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"GoogleDevtoolsContaineranalysisV1alpha1ProjectRepoId": { +"description": "Selects a repo using a Google Cloud Platform project ID (e.g., winged-cargo-31) and a repo name within that project.", +"id": "GoogleDevtoolsContaineranalysisV1alpha1ProjectRepoId", +"properties": { +"projectId": { +"description": "The ID of the project.", +"type": "string" +}, +"repoName": { +"description": "The name of the repo. Leave empty for the default repo.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleDevtoolsContaineranalysisV1alpha1RepoId": { +"description": "A unique identifier for a Cloud Repo.", +"id": "GoogleDevtoolsContaineranalysisV1alpha1RepoId", +"properties": { +"projectRepoId": { +"$ref": "GoogleDevtoolsContaineranalysisV1alpha1ProjectRepoId", +"description": "A combination of a project ID and a repo name." +}, +"uid": { +"description": "A server-assigned, globally unique identifier.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleDevtoolsContaineranalysisV1alpha1SlsaProvenanceZeroTwoSlsaBuilder": { +"description": "Identifies the entity that executed the recipe, which is trusted to have correctly performed the operation and populated this provenance.", +"id": "GoogleDevtoolsContaineranalysisV1alpha1SlsaProvenanceZeroTwoSlsaBuilder", +"properties": { +"id": { +"description": "URI indicating the builder\u2019s identity.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleDevtoolsContaineranalysisV1alpha1SlsaProvenanceZeroTwoSlsaCompleteness": { +"description": "Indicates that the builder claims certain fields in this message to be complete.", +"id": "GoogleDevtoolsContaineranalysisV1alpha1SlsaProvenanceZeroTwoSlsaCompleteness", +"properties": { +"environment": { +"description": "If true, the builder claims that invocation.environment is complete.", +"type": "boolean" +}, +"materials": { +"description": "If true, the builder claims that materials is complete.", +"type": "boolean" +}, +"parameters": { +"description": "If true, the builder claims that invocation.parameters is complete.", +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleDevtoolsContaineranalysisV1alpha1SlsaProvenanceZeroTwoSlsaConfigSource": { +"description": "Describes where the config file that kicked off the build came from. This is effectively a pointer to the source where buildConfig came from.", +"id": "GoogleDevtoolsContaineranalysisV1alpha1SlsaProvenanceZeroTwoSlsaConfigSource", +"properties": { +"digest": { +"additionalProperties": { +"type": "string" +}, +"description": "Collection of cryptographic digests for the contents of the artifact specified by invocation.configSource.uri.", +"type": "object" +}, +"entryPoint": { +"description": "String identifying the entry point into the build.", +"type": "string" +}, +"uri": { +"description": "URI indicating the identity of the source of the config.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleDevtoolsContaineranalysisV1alpha1SlsaProvenanceZeroTwoSlsaInvocation": { +"description": "Identifies the event that kicked off the build.", +"id": "GoogleDevtoolsContaineranalysisV1alpha1SlsaProvenanceZeroTwoSlsaInvocation", +"properties": { +"configSource": { +"$ref": "GoogleDevtoolsContaineranalysisV1alpha1SlsaProvenanceZeroTwoSlsaConfigSource", +"description": "Describes where the config file that kicked off the build came from." +}, +"environment": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"description": "Any other builder-controlled inputs necessary for correctly evaluating the build.", +"type": "object" +}, +"parameters": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"description": "Collection of all external inputs that influenced the build on top of invocation.configSource.", +"type": "object" +} +}, +"type": "object" +}, +"GoogleDevtoolsContaineranalysisV1alpha1SlsaProvenanceZeroTwoSlsaMaterial": { +"description": "The collection of artifacts that influenced the build including sources, dependencies, build tools, base images, and so on.", +"id": "GoogleDevtoolsContaineranalysisV1alpha1SlsaProvenanceZeroTwoSlsaMaterial", +"properties": { +"digest": { +"additionalProperties": { +"type": "string" +}, +"description": "Collection of cryptographic digests for the contents of this artifact.", +"type": "object" +}, +"uri": { +"description": "The method by which this artifact was referenced during the build.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleDevtoolsContaineranalysisV1alpha1SlsaProvenanceZeroTwoSlsaMetadata": { +"description": "Other properties of the build.", +"id": "GoogleDevtoolsContaineranalysisV1alpha1SlsaProvenanceZeroTwoSlsaMetadata", +"properties": { +"buildFinishedOn": { +"description": "The timestamp of when the build completed.", +"format": "google-datetime", +"type": "string" +}, +"buildInvocationId": { +"description": "Identifies this particular build invocation, which can be useful for finding associated logs or other ad-hoc analysis.", +"type": "string" +}, +"buildStartedOn": { +"description": "The timestamp of when the build started.", +"format": "google-datetime", +"type": "string" +}, +"completeness": { +"$ref": "GoogleDevtoolsContaineranalysisV1alpha1SlsaProvenanceZeroTwoSlsaCompleteness", +"description": "Indicates that the builder claims certain fields in this message to be complete." +}, +"reproducible": { +"description": "If true, the builder claims that running invocation on materials will produce bit-for-bit identical output.", +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleDevtoolsContaineranalysisV1alpha1SourceContext": { +"description": "A SourceContext is a reference to a tree of files. A SourceContext together with a path point to a unique revision of a single file or directory.", +"id": "GoogleDevtoolsContaineranalysisV1alpha1SourceContext", +"properties": { +"cloudRepo": { +"$ref": "GoogleDevtoolsContaineranalysisV1alpha1CloudRepoSourceContext", +"description": "A SourceContext referring to a revision in a Google Cloud Source Repo." +}, +"gerrit": { +"$ref": "GoogleDevtoolsContaineranalysisV1alpha1GerritSourceContext", +"description": "A SourceContext referring to a Gerrit project." +}, +"git": { +"$ref": "GoogleDevtoolsContaineranalysisV1alpha1GitSourceContext", +"description": "A SourceContext referring to any third party Git repo (e.g., GitHub)." +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Labels with user defined metadata.", +"type": "object" +} +}, +"type": "object" +}, +"Hash": { +"description": "Container message for hash values.", +"id": "Hash", +"properties": { +"type": { +"description": "The type of hash that was performed.", +"enum": [ +"NONE", +"SHA256", +"GO_MODULE_H1", +"DIRSUM_SHA256" +], +"enumDescriptions": [ +"No hash requested.", +"A sha256 hash.", +"Dirhash of a Go module's source code which is then hex-encoded.", +"Dirsum hash of the downloaded artifact files." +], +"type": "string" +}, +"value": { +"description": "The hash value.", +"format": "byte", +"type": "string" +} +}, +"type": "object" +}, +"IdentifierHelper": { +"description": "Helps in identifying the underlying product. This should be treated like a one-of field. Only one field should be set in this proto. This is a workaround because spanner indexes on one-of fields restrict addition and deletion of fields.", +"id": "IdentifierHelper", +"properties": { +"field": { +"description": "The field that is set in the API proto.", +"enum": [ +"IDENTIFIER_HELPER_FIELD_UNSPECIFIED", +"GENERIC_URI" +], +"enumDescriptions": [ +"The helper isn't set.", +"The generic_uri one-of field is set." +], +"type": "string" +}, +"genericUri": { +"description": "Contains a URI which is vendor-specific. Example: The artifact repository URL of an image.", +"type": "string" +} +}, +"type": "object" +}, +"InTotoProvenance": { +"id": "InTotoProvenance", +"properties": { +"builderConfig": { +"$ref": "BuilderConfig", +"description": "required" +}, +"materials": { +"description": "The collection of artifacts that influenced the build including sources, dependencies, build tools, base images, and so on. This is considered to be incomplete unless metadata.completeness.materials is true. Unset or null is equivalent to empty.", +"items": { +"type": "string" +}, +"type": "array" +}, +"metadata": { +"$ref": "Metadata" +}, +"recipe": { +"$ref": "Recipe", +"description": "Identifies the configuration used for the build. When combined with materials, this SHOULD fully describe the build, such that re-running this recipe results in bit-for-bit identical output (if the build is reproducible). required" +} +}, +"type": "object" +}, +"InTotoSlsaProvenanceV1": { +"id": "InTotoSlsaProvenanceV1", +"properties": { +"_type": { +"description": "InToto spec defined at https://github.com/in-toto/attestation/tree/main/spec#statement", +"type": "string" +}, +"predicate": { +"$ref": "SlsaProvenanceV1" +}, +"predicateType": { +"type": "string" +}, +"subject": { +"items": { +"$ref": "Subject" +}, +"type": "array" +} +}, +"type": "object" +}, +"InTotoStatement": { +"description": "Spec defined at https://github.com/in-toto/attestation/tree/main/spec#statement The serialized InTotoStatement will be stored as Envelope.payload. Envelope.payloadType is always \"application/vnd.in-toto+json\".", +"id": "InTotoStatement", +"properties": { +"_type": { +"description": "Always \"https://in-toto.io/Statement/v0.1\".", +"type": "string" +}, +"predicateType": { +"description": "\"https://slsa.dev/provenance/v0.1\" for SlsaProvenance.", +"type": "string" +}, +"provenance": { +"$ref": "InTotoProvenance", +"description": "Generic Grafeas provenance." +}, +"slsaProvenance": { +"$ref": "SlsaProvenance", +"description": "SLSA 0.1 provenance." +}, +"slsaProvenanceZeroTwo": { +"$ref": "SlsaProvenanceZeroTwo", +"description": "SLSA 0.2 provenance." +}, +"subject": { +"description": "subject is the subjects of the intoto statement", +"items": { +"$ref": "Subject" +}, +"type": "array" +} +}, +"type": "object" +}, +"Installation": { +"description": "This represents how a particular software package may be installed on a system.", +"id": "Installation", +"properties": { +"architecture": { +"description": "Output only. The CPU architecture for which packages in this distribution channel were built. Architecture will be blank for language packages.", +"enum": [ +"ARCHITECTURE_UNSPECIFIED", +"X86", +"X64" +], +"enumDescriptions": [ +"Unknown architecture", +"X86 architecture", +"X64 architecture" +], +"readOnly": true, +"type": "string" +}, +"cpeUri": { +"description": "Output only. The cpe_uri in [CPE format](https://cpe.mitre.org/specification/) denoting the package manager version distributing a package. The cpe_uri will be blank for language packages.", +"readOnly": true, +"type": "string" +}, +"license": { +"$ref": "License", +"description": "Licenses that have been declared by the authors of the package." +}, +"location": { +"description": "All of the places within the filesystem versions of this package have been found.", +"items": { +"$ref": "Location" +}, +"type": "array" +}, +"name": { +"description": "Output only. The name of the installed package.", +"readOnly": true, +"type": "string" +}, +"packageType": { +"description": "Output only. The type of package; whether native or non native (e.g., ruby gems, node.js packages, etc.).", +"readOnly": true, +"type": "string" +}, +"version": { +"$ref": "Version", +"description": "Output only. The version of the package.", +"readOnly": true +} +}, +"type": "object" +}, +"Justification": { +"description": "Justification provides the justification when the state of the assessment if NOT_AFFECTED.", +"id": "Justification", +"properties": { +"details": { +"description": "Additional details on why this justification was chosen.", +"type": "string" +}, +"justificationType": { +"description": "The justification type for this vulnerability.", +"enum": [ +"JUSTIFICATION_TYPE_UNSPECIFIED", +"COMPONENT_NOT_PRESENT", +"VULNERABLE_CODE_NOT_PRESENT", +"VULNERABLE_CODE_NOT_IN_EXECUTE_PATH", +"VULNERABLE_CODE_CANNOT_BE_CONTROLLED_BY_ADVERSARY", +"INLINE_MITIGATIONS_ALREADY_EXIST" +], +"enumDescriptions": [ +"JUSTIFICATION_TYPE_UNSPECIFIED.", +"The vulnerable component is not present in the product.", +"The vulnerable code is not present. Typically this case occurs when source code is configured or built in a way that excludes the vulnerable code.", +"The vulnerable code can not be executed. Typically this case occurs when the product includes the vulnerable code but does not call or use the vulnerable code.", +"The vulnerable code cannot be controlled by an attacker to exploit the vulnerability.", +"The product includes built-in protections or features that prevent exploitation of the vulnerability. These built-in protections cannot be subverted by the attacker and cannot be configured or disabled by the user. These mitigations completely prevent exploitation based on known attack vectors." +], +"type": "string" +} +}, +"type": "object" +}, +"Layer": { +"description": "Layer holds metadata specific to a layer of a Docker image.", +"id": "Layer", +"properties": { +"arguments": { +"description": "The recovered arguments to the Dockerfile directive.", +"type": "string" +}, +"directive": { +"description": "The recovered Dockerfile directive used to construct this layer.", +"enum": [ +"DIRECTIVE_UNSPECIFIED", +"MAINTAINER", +"RUN", +"CMD", +"LABEL", +"EXPOSE", +"ENV", +"ADD", +"COPY", +"ENTRYPOINT", +"VOLUME", +"USER", +"WORKDIR", +"ARG", +"ONBUILD", +"STOPSIGNAL", +"HEALTHCHECK", +"SHELL" +], +"enumDescriptions": [ +"Default value for unsupported/missing directive", +"https://docs.docker.com/engine/reference/builder/", +"https://docs.docker.com/engine/reference/builder/", +"https://docs.docker.com/engine/reference/builder/", +"https://docs.docker.com/engine/reference/builder/", +"https://docs.docker.com/engine/reference/builder/", +"https://docs.docker.com/engine/reference/builder/", +"https://docs.docker.com/engine/reference/builder/", +"https://docs.docker.com/reference/builder/#copy", +"https://docs.docker.com/engine/reference/builder/", +"https://docs.docker.com/engine/reference/builder/", +"https://docs.docker.com/engine/reference/builder/", +"https://docs.docker.com/engine/reference/builder/", +"https://docs.docker.com/engine/reference/builder/", +"https://docs.docker.com/engine/reference/builder/", +"https://docs.docker.com/engine/reference/builder/", +"https://docs.docker.com/engine/reference/builder/", +"https://docs.docker.com/engine/reference/builder/" +], +"type": "string" +} +}, +"type": "object" +}, +"LayerDetails": { +"description": "Details about the layer a package was found in.", +"id": "LayerDetails", +"properties": { +"baseImages": { +"description": "The base images the layer is found within.", +"items": { +"$ref": "BaseImage" +}, +"type": "array" +}, +"chainId": { +"description": "The chain ID of the layer in the container image.", +"type": "string" +}, +"command": { +"description": "The layer build command that was used to build the layer. This may not be found in all layers depending on how the container image is built.", +"type": "string" +}, +"diffId": { +"description": "The diff ID (sha256 hash) of the layer in the container image.", +"type": "string" +}, +"index": { +"description": "The index of the layer in the container image.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"License": { +"description": "License information.", +"id": "License", +"properties": { +"comments": { +"description": "Comments", +"type": "string" +}, +"expression": { +"description": "Often a single license can be used to represent the licensing terms. Sometimes it is necessary to include a choice of one or more licenses or some combination of license identifiers. Examples: \"LGPL-2.1-only OR MIT\", \"LGPL-2.1-only AND MIT\", \"GPL-2.0-or-later WITH Bison-exception-2.2\".", +"type": "string" +} +}, +"type": "object" +}, +"ListNoteOccurrencesResponse": { +"description": "Response including listed occurrences for a note.", +"id": "ListNoteOccurrencesResponse", +"properties": { +"nextPageToken": { +"description": "Token to receive the next page of notes.", +"type": "string" +}, +"occurrences": { +"description": "The occurrences attached to the specified note.", +"items": { +"$ref": "Occurrence" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListNotesResponse": { +"description": "Response including listed notes.", +"id": "ListNotesResponse", +"properties": { +"nextPageToken": { +"description": "The next pagination token in the list response. It should be used as page_token for the following request. An empty value means no more result.", +"type": "string" +}, +"notes": { +"description": "The occurrences requested", +"items": { +"$ref": "Note" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListOccurrencesResponse": { +"description": "Response including listed active occurrences.", +"id": "ListOccurrencesResponse", +"properties": { +"nextPageToken": { +"description": "The next pagination token in the list response. It should be used as `page_token` for the following request. An empty value means no more results.", +"type": "string" +}, +"occurrences": { +"description": "The occurrences requested.", +"items": { +"$ref": "Occurrence" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListScanConfigsResponse": { +"description": "A list of scan configs for the project.", +"id": "ListScanConfigsResponse", +"properties": { +"nextPageToken": { +"description": "A page token to pass in order to get more scan configs.", +"type": "string" +}, +"scanConfigs": { +"description": "The set of scan configs.", +"items": { +"$ref": "ScanConfig" +}, +"type": "array" +} +}, +"type": "object" +}, +"Location": { +"description": "An occurrence of a particular package installation found within a system's filesystem. e.g. glibc was found in /var/lib/dpkg/status", +"id": "Location", +"properties": { +"cpeUri": { +"description": "Deprecated. The cpe_uri in [cpe format](https://cpe.mitre.org/specification/) denoting the package manager version distributing a package.", +"type": "string" +}, +"path": { +"description": "The path from which we gathered that this package/version is installed.", +"type": "string" +}, +"version": { +"$ref": "Version", +"description": "Deprecated. The version installed at this location." +} +}, +"type": "object" +}, +"Material": { +"description": "Material is a material used in the generation of the provenance", +"id": "Material", +"properties": { +"digest": { +"additionalProperties": { +"type": "string" +}, +"description": "digest is a map from a hash algorithm (e.g. sha256) to the value in the material", +"type": "object" +}, +"uri": { +"description": "uri is the uri of the material", +"type": "string" +} +}, +"type": "object" +}, +"Metadata": { +"description": "Other properties of the build.", +"id": "Metadata", +"properties": { +"buildFinishedOn": { +"description": "The timestamp of when the build completed.", +"format": "google-datetime", +"type": "string" +}, +"buildInvocationId": { +"description": "Identifies the particular build invocation, which can be useful for finding associated logs or other ad-hoc analysis. The value SHOULD be globally unique, per in-toto Provenance spec.", +"type": "string" +}, +"buildStartedOn": { +"description": "The timestamp of when the build started.", +"format": "google-datetime", +"type": "string" +}, +"completeness": { +"$ref": "Completeness", +"description": "Indicates that the builder claims certain fields in this message to be complete." +}, +"reproducible": { +"description": "If true, the builder claims that running the recipe on materials will produce bit-for-bit identical output.", +"type": "boolean" +} +}, +"type": "object" +}, +"NonCompliantFile": { +"description": "Details about files that caused a compliance check to fail.", +"id": "NonCompliantFile", +"properties": { +"displayCommand": { +"description": "Command to display the non-compliant files.", +"type": "string" +}, +"path": { +"description": "display_command is a single command that can be used to display a list of non compliant files. When there is no such command, we can also iterate a list of non compliant file using 'path'. Empty if `display_command` is set.", +"type": "string" +}, +"reason": { +"description": "Explains why a file is non compliant for a CIS check.", +"type": "string" +} +}, +"type": "object" +}, +"Note": { +"description": "Provides a detailed description of a `Note`.", +"id": "Note", +"properties": { +"attestationAuthority": { +"$ref": "AttestationAuthority", +"description": "A note describing an attestation role." +}, +"baseImage": { +"$ref": "Basis", +"description": "A note describing a base image." +}, +"buildType": { +"$ref": "BuildType", +"description": "Build provenance type for a verifiable build." +}, +"compliance": { +"$ref": "ComplianceNote", +"description": "A note describing a compliance check." +}, +"createTime": { +"description": "Output only. The time this note was created. This field can be used as a filter in list requests.", +"format": "google-datetime", +"type": "string" +}, +"deployable": { +"$ref": "Deployable", +"description": "A note describing something that can be deployed." +}, +"discovery": { +"$ref": "Discovery", +"description": "A note describing a provider/analysis type." +}, +"dsseAttestation": { +"$ref": "DSSEAttestationNote", +"description": "A note describing a dsse attestation note." +}, +"expirationTime": { +"description": "Time of expiration for this note, null if note does not expire.", +"format": "google-datetime", +"type": "string" +}, +"kind": { +"description": "Output only. This explicitly denotes which kind of note is specified. This field can be used as a filter in list requests.", +"enum": [ +"KIND_UNSPECIFIED", +"PACKAGE_VULNERABILITY", +"BUILD_DETAILS", +"IMAGE_BASIS", +"PACKAGE_MANAGER", +"DEPLOYABLE", +"DISCOVERY", +"ATTESTATION_AUTHORITY", +"UPGRADE", +"COMPLIANCE", +"SBOM", +"SPDX_PACKAGE", +"SPDX_FILE", +"SPDX_RELATIONSHIP", +"DSSE_ATTESTATION", +"VULNERABILITY_ASSESSMENT", +"SBOM_REFERENCE", +"SECRET" +], +"enumDescriptions": [ +"Unknown", +"The note and occurrence represent a package vulnerability.", +"The note and occurrence assert build provenance.", +"This represents an image basis relationship.", +"This represents a package installed via a package manager.", +"The note and occurrence track deployment events.", +"The note and occurrence track the initial discovery status of a resource.", +"This represents a logical \"role\" that can attest to artifacts.", +"This represents an available software upgrade.", +"This represents a compliance check that can be applied to a resource.", +"This represents a software bill of materials.", +"This represents an SPDX Package.", +"This represents an SPDX File.", +"This represents an SPDX Relationship.", +"This represents a DSSE attestation Note", +"This represents a Vulnerability Assessment.", +"This represents a reference to an SBOM.", +"This represents a secret." +], +"type": "string" +}, +"longDescription": { +"description": "A detailed description of this `Note`.", +"type": "string" +}, +"name": { +"description": "The name of the note in the form \"projects/{provider_project_id}/notes/{NOTE_ID}\"", +"type": "string" +}, +"package": { +"$ref": "Package", +"description": "A note describing a package hosted by various package managers." +}, +"relatedUrl": { +"description": "URLs associated with this note", +"items": { +"$ref": "RelatedUrl" +}, +"type": "array" +}, +"sbom": { +"$ref": "DocumentNote", +"description": "A note describing a software bill of materials." +}, +"sbomReference": { +"$ref": "SBOMReferenceNote", +"description": "A note describing a reference to an SBOM." +}, +"secret": { +"$ref": "SecretNote", +"description": "A note describing a secret." +}, +"shortDescription": { +"description": "A one sentence description of this `Note`.", +"type": "string" +}, +"spdxFile": { +"$ref": "FileNote", +"description": "A note describing an SPDX File." +}, +"spdxPackage": { +"$ref": "PackageInfoNote", +"description": "A note describing an SPDX Package." +}, +"spdxRelationship": { +"$ref": "RelationshipNote", +"description": "A note describing a relationship between SPDX elements." +}, +"updateTime": { +"description": "Output only. The time this note was last updated. This field can be used as a filter in list requests.", +"format": "google-datetime", +"type": "string" +}, +"upgrade": { +"$ref": "UpgradeNote", +"description": "A note describing an upgrade." +}, +"vulnerabilityAssessment": { +"$ref": "VulnerabilityAssessmentNote", +"description": "A note describing a vulnerability assessment." +}, +"vulnerabilityType": { +"$ref": "VulnerabilityType", +"description": "A package vulnerability type of note." +} +}, +"type": "object" +}, +"Occurrence": { +"description": "`Occurrence` includes information about analysis occurrences for an image.", +"id": "Occurrence", +"properties": { +"attestation": { +"$ref": "Attestation", +"description": "Describes an attestation of an artifact." +}, +"buildDetails": { +"$ref": "BuildDetails", +"description": "Build details for a verifiable build." +}, +"compliance": { +"$ref": "ComplianceOccurrence", +"description": "Describes whether or not a resource passes compliance checks." +}, +"createTime": { +"description": "Output only. The time this `Occurrence` was created.", +"format": "google-datetime", +"type": "string" +}, +"deployment": { +"$ref": "Deployment", +"description": "Describes the deployment of an artifact on a runtime." +}, +"derivedImage": { +"$ref": "Derived", +"description": "Describes how this resource derives from the basis in the associated note." +}, +"discovered": { +"$ref": "Discovered", +"description": "Describes the initial scan status for this resource." +}, +"dsseAttestation": { +"$ref": "DSSEAttestationOccurrence", +"description": "This represents a DSSE attestation occurrence" +}, +"envelope": { +"$ref": "Envelope", +"description": "https://github.com/secure-systems-lab/dsse" +}, +"installation": { +"$ref": "Installation", +"description": "Describes the installation of a package on the linked resource." +}, +"kind": { +"description": "Output only. This explicitly denotes which of the `Occurrence` details are specified. This field can be used as a filter in list requests.", +"enum": [ +"KIND_UNSPECIFIED", +"PACKAGE_VULNERABILITY", +"BUILD_DETAILS", +"IMAGE_BASIS", +"PACKAGE_MANAGER", +"DEPLOYABLE", +"DISCOVERY", +"ATTESTATION_AUTHORITY", +"UPGRADE", +"COMPLIANCE", +"SBOM", +"SPDX_PACKAGE", +"SPDX_FILE", +"SPDX_RELATIONSHIP", +"DSSE_ATTESTATION", +"VULNERABILITY_ASSESSMENT", +"SBOM_REFERENCE", +"SECRET" +], +"enumDescriptions": [ +"Unknown", +"The note and occurrence represent a package vulnerability.", +"The note and occurrence assert build provenance.", +"This represents an image basis relationship.", +"This represents a package installed via a package manager.", +"The note and occurrence track deployment events.", +"The note and occurrence track the initial discovery status of a resource.", +"This represents a logical \"role\" that can attest to artifacts.", +"This represents an available software upgrade.", +"This represents a compliance check that can be applied to a resource.", +"This represents a software bill of materials.", +"This represents an SPDX Package.", +"This represents an SPDX File.", +"This represents an SPDX Relationship.", +"This represents a DSSE attestation Note", +"This represents a Vulnerability Assessment.", +"This represents a reference to an SBOM.", +"This represents a secret." +], +"type": "string" +}, +"name": { +"description": "Output only. The name of the `Occurrence` in the form \"projects/{project_id}/occurrences/{OCCURRENCE_ID}\"", +"type": "string" +}, +"noteName": { +"description": "An analysis note associated with this image, in the form \"providers/{provider_id}/notes/{NOTE_ID}\" This field can be used as a filter in list requests.", +"type": "string" +}, +"remediation": { +"description": "A description of actions that can be taken to remedy the `Note`", +"type": "string" +}, +"resource": { +"$ref": "Resource", +"description": " The resource for which the `Occurrence` applies." +}, +"resourceUrl": { +"description": "The unique URL of the image or the container for which the `Occurrence` applies. For example, https://gcr.io/project/image@sha256:foo This field can be used as a filter in list requests.", +"type": "string" +}, +"sbom": { +"$ref": "DocumentOccurrence", +"description": "Describes a specific software bill of materials document." +}, +"sbomReference": { +"$ref": "SBOMReferenceOccurrence", +"description": "This represents an SBOM reference occurrence" +}, +"secret": { +"$ref": "SecretOccurrence", +"description": "This represents a secret occurrence" +}, +"spdxFile": { +"$ref": "FileOccurrence", +"description": "Describes a specific SPDX File." +}, +"spdxPackage": { +"$ref": "PackageInfoOccurrence", +"description": "Describes a specific SPDX Package." +}, +"spdxRelationship": { +"$ref": "RelationshipOccurrence", +"description": "Describes a specific relationship between SPDX elements." +}, +"updateTime": { +"description": "Output only. The time this `Occurrence` was last updated.", +"format": "google-datetime", +"type": "string" +}, +"upgrade": { +"$ref": "UpgradeOccurrence", +"description": "Describes an upgrade." +}, +"vulnerabilityDetails": { +"$ref": "VulnerabilityDetails", +"description": "Details of a security vulnerability note." +} +}, +"type": "object" +}, +"Operation": { +"description": "This resource represents a long-running operation that is the result of a network API call.", +"id": "Operation", +"properties": { +"done": { +"description": "If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.", +"type": "boolean" +}, +"error": { +"$ref": "Status", +"description": "The error result of the operation in case of failure or cancellation." +}, +"metadata": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.", +"type": "object" +}, +"name": { +"description": "The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.", +"type": "string" +}, +"response": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "The normal, successful response of the operation. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.", +"type": "object" +} +}, +"type": "object" +}, +"Package": { +"description": "This represents a particular package that is distributed over various channels. e.g. glibc (aka libc6) is distributed by many, at various versions.", +"id": "Package", +"properties": { +"architecture": { +"description": "The CPU architecture for which packages in this distribution channel were built. Architecture will be blank for language packages.", +"enum": [ +"ARCHITECTURE_UNSPECIFIED", +"X86", +"X64" +], +"enumDescriptions": [ +"Unknown architecture", +"X86 architecture", +"X64 architecture" +], +"type": "string" +}, +"cpeUri": { +"description": "The cpe_uri in [CPE format](https://cpe.mitre.org/specification/) denoting the package manager version distributing a package. The cpe_uri will be blank for language packages.", +"type": "string" +}, +"description": { +"description": "The description of this package.", +"type": "string" +}, +"digest": { +"description": "Hash value, typically a file digest, that allows unique identification a specific package.", +"items": { +"$ref": "Digest" +}, +"type": "array" +}, +"distribution": { +"description": "The various channels by which a package is distributed.", +"items": { +"$ref": "Distribution" +}, +"type": "array" +}, +"license": { +"$ref": "License", +"description": "Licenses that have been declared by the authors of the package." +}, +"maintainer": { +"description": "A freeform text denoting the maintainer of this package.", +"type": "string" +}, +"name": { +"description": "The name of the package.", +"type": "string" +}, +"packageType": { +"description": "The type of package; whether native or non native (e.g., ruby gems, node.js packages, etc.).", +"type": "string" +}, +"url": { +"description": "The homepage for this package.", +"type": "string" +}, +"version": { +"$ref": "Version", +"description": "The version of the package." +} +}, +"type": "object" +}, +"PackageInfoNote": { +"description": "PackageInfoNote represents an SPDX Package Information section: https://spdx.github.io/spdx-spec/3-package-information/", +"id": "PackageInfoNote", +"properties": { +"analyzed": { +"description": "Indicates whether the file content of this package has been available for or subjected to analysis when creating the SPDX document", +"type": "boolean" +}, +"attribution": { +"description": "A place for the SPDX data creator to record, at the package level, acknowledgements that may be needed to be communicated in some contexts", +"type": "string" +}, +"checksum": { +"description": "Provide an independently reproducible mechanism that permits unique identification of a specific package that correlates to the data in this SPDX file", +"type": "string" +}, +"copyright": { +"description": "Identify the copyright holders of the package, as well as any dates present", +"type": "string" +}, +"detailedDescription": { +"description": "A more detailed description of the package", +"type": "string" +}, +"downloadLocation": { +"description": "This section identifies the download Universal Resource Locator (URL), or a specific location within a version control system (VCS) for the package at the time that the SPDX file was created", +"type": "string" +}, +"externalRefs": { +"description": "ExternalRef", +"items": { +"$ref": "ExternalRef" +}, +"type": "array" +}, +"filesLicenseInfo": { +"description": "Contain the license the SPDX file creator has concluded as governing the This field is to contain a list of all licenses found in the package. The relationship between licenses (i.e., conjunctive, disjunctive) is not specified in this field \u2013 it is simply a listing of all licenses found", +"items": { +"type": "string" +}, +"type": "array" +}, +"homePage": { +"description": "Provide a place for the SPDX file creator to record a web site that serves as the package's home page", +"type": "string" +}, +"licenseDeclared": { +"$ref": "License", +"description": "List the licenses that have been declared by the authors of the package" +}, +"originator": { +"description": "If the package identified in the SPDX file originated from a different person or organization than identified as Package Supplier, this field identifies from where or whom the package originally came", +"type": "string" +}, +"packageType": { +"description": "The type of package: OS, MAVEN, GO, GO_STDLIB, etc.", +"type": "string" +}, +"summaryDescription": { +"description": "A short description of the package", +"type": "string" +}, +"supplier": { +"description": "Identify the actual distribution source for the package/directory identified in the SPDX file", +"type": "string" +}, +"title": { +"description": "Identify the full name of the package as given by the Package Originator", +"type": "string" +}, +"verificationCode": { +"description": "This field provides an independently reproducible mechanism identifying specific contents of a package based on the actual files (except the SPDX file itself, if it is included in the package) that make up each package and that correlates to the data in this SPDX file", +"type": "string" +}, +"version": { +"description": "Identify the version of the package", +"type": "string" +} +}, +"type": "object" +}, +"PackageInfoOccurrence": { +"description": "PackageInfoOccurrence represents an SPDX Package Information section: https://spdx.github.io/spdx-spec/3-package-information/", +"id": "PackageInfoOccurrence", +"properties": { +"comment": { +"description": "A place for the SPDX file creator to record any general comments about the package being described", +"type": "string" +}, +"filename": { +"description": "Provide the actual file name of the package, or path of the directory being treated as a package", +"type": "string" +}, +"homePage": { +"description": "Output only. Provide a place for the SPDX file creator to record a web site that serves as the package's home page", +"readOnly": true, +"type": "string" +}, +"id": { +"description": "Uniquely identify any element in an SPDX document which may be referenced by other elements", +"type": "string" +}, +"licenseConcluded": { +"$ref": "License", +"description": "package or alternative values, if the governing license cannot be determined" +}, +"packageType": { +"description": "Output only. The type of package: OS, MAVEN, GO, GO_STDLIB, etc.", +"readOnly": true, +"type": "string" +}, +"sourceInfo": { +"description": "Provide a place for the SPDX file creator to record any relevant background information or additional comments about the origin of the package", +"type": "string" +}, +"summaryDescription": { +"description": "Output only. A short description of the package", +"readOnly": true, +"type": "string" +}, +"title": { +"description": "Output only. Identify the full name of the package as given by the Package Originator", +"readOnly": true, +"type": "string" +}, +"version": { +"description": "Output only. Identify the version of the package", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"PackageIssue": { +"description": "This message wraps a location affected by a vulnerability and its associated fix (if one is available).", +"id": "PackageIssue", +"properties": { +"affectedLocation": { +"$ref": "VulnerabilityLocation", +"description": "The location of the vulnerability." +}, +"effectiveSeverity": { +"description": "Output only. The distro or language system assigned severity for this vulnerability when that is available and note provider assigned severity when distro or language system has not yet assigned a severity for this vulnerability.", +"enum": [ +"SEVERITY_UNSPECIFIED", +"MINIMAL", +"LOW", +"MEDIUM", +"HIGH", +"CRITICAL" +], +"enumDescriptions": [ +"Unknown Impact", +"Minimal Impact", +"Low Impact", +"Medium Impact", +"High Impact", +"Critical Impact" +], +"readOnly": true, +"type": "string" +}, +"fixedLocation": { +"$ref": "VulnerabilityLocation", +"description": "The location of the available fix for vulnerability." +}, +"packageType": { +"description": "The type of package (e.g. OS, MAVEN, GO).", +"type": "string" +}, +"severityName": { +"type": "string" +} +}, +"type": "object" +}, +"PgpSignedAttestation": { +"description": "An attestation wrapper with a PGP-compatible signature. This message only supports `ATTACHED` signatures, where the payload that is signed is included alongside the signature itself in the same file.", +"id": "PgpSignedAttestation", +"properties": { +"contentType": { +"description": "Type (for example schema) of the attestation payload that was signed. The verifier must ensure that the provided type is one that the verifier supports, and that the attestation payload is a valid instantiation of that type (for example by validating a JSON schema).", +"enum": [ +"CONTENT_TYPE_UNSPECIFIED", +"SIMPLE_SIGNING_JSON" +], +"enumDescriptions": [ +"`ContentType` is not set.", +"Atomic format attestation signature. See https://github.com/containers/image/blob/8a5d2f82a6e3263290c8e0276c3e0f64e77723e7/docs/atomic-signature.md The payload extracted from `signature` is a JSON blob conforming to the linked schema." +], +"type": "string" +}, +"pgpKeyId": { +"description": "The cryptographic fingerprint of the key used to generate the signature, as output by, e.g. `gpg --list-keys`. This should be the version 4, full 160-bit fingerprint, expressed as a 40 character hexadecimal string. See https://tools.ietf.org/html/rfc4880#section-12.2 for details. Implementations may choose to acknowledge \"LONG\", \"SHORT\", or other abbreviated key IDs, but only the full fingerprint is guaranteed to work. In gpg, the full fingerprint can be retrieved from the `fpr` field returned when calling --list-keys with --with-colons. For example: ``` gpg --with-colons --with-fingerprint --force-v4-certs \\ --list-keys attester@example.com tru::1:1513631572:0:3:1:5 pub:...... fpr:::::::::24FF6481B76AC91E66A00AC657A93A81EF3AE6FB: ``` Above, the fingerprint is `24FF6481B76AC91E66A00AC657A93A81EF3AE6FB`.", +"type": "string" +}, +"signature": { +"description": "The raw content of the signature, as output by GNU Privacy Guard (GPG) or equivalent. Since this message only supports attached signatures, the payload that was signed must be attached. While the signature format supported is dependent on the verification implementation, currently only ASCII-armored (`--armor` to gpg), non-clearsigned (`--sign` rather than `--clearsign` to gpg) are supported. Concretely, `gpg --sign --armor --output=signature.gpg payload.json` will create the signature content expected in this field in `signature.gpg` for the `payload.json` attestation payload.", +"type": "string" +} +}, +"type": "object" +}, +"Policy": { +"description": "An Identity and Access Management (IAM) policy, which specifies access controls for Google Cloud resources. A `Policy` is a collection of `bindings`. A `binding` binds one or more `members`, or principals, to a single `role`. Principals can be user accounts, service accounts, Google groups, and domains (such as G Suite). A `role` is a named list of permissions; each `role` can be an IAM predefined role or a user-created custom role. For some types of Google Cloud resources, a `binding` can also specify a `condition`, which is a logical expression that allows access to a resource only if the expression evaluates to `true`. A condition can add constraints based on attributes of the request, the resource, or both. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). **JSON example:** ``` { \"bindings\": [ { \"role\": \"roles/resourcemanager.organizationAdmin\", \"members\": [ \"user:mike@example.com\", \"group:admins@example.com\", \"domain:google.com\", \"serviceAccount:my-project-id@appspot.gserviceaccount.com\" ] }, { \"role\": \"roles/resourcemanager.organizationViewer\", \"members\": [ \"user:eve@example.com\" ], \"condition\": { \"title\": \"expirable access\", \"description\": \"Does not grant access after Sep 2020\", \"expression\": \"request.time < timestamp('2020-10-01T00:00:00.000Z')\", } } ], \"etag\": \"BwWWja0YfJA=\", \"version\": 3 } ``` **YAML example:** ``` bindings: - members: - user:mike@example.com - group:admins@example.com - domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.com role: roles/resourcemanager.organizationViewer condition: title: expirable access description: Does not grant access after Sep 2020 expression: request.time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 ``` For a description of IAM and its features, see the [IAM documentation](https://cloud.google.com/iam/docs/).", +"id": "Policy", +"properties": { +"bindings": { +"description": "Associates a list of `members`, or principals, with a `role`. Optionally, may specify a `condition` that determines how and when the `bindings` are applied. Each of the `bindings` must contain at least one principal. The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250 of these principals can be Google groups. Each occurrence of a principal counts towards these limits. For example, if the `bindings` grant 50 different roles to `user:alice@example.com`, and not to any other principal, then you can add another 1,450 principals to the `bindings` in the `Policy`.", +"items": { +"$ref": "Binding" +}, +"type": "array" +}, +"etag": { +"description": "`etag` is used for optimistic concurrency control as a way to help prevent simultaneous updates of a policy from overwriting each other. It is strongly suggested that systems make use of the `etag` in the read-modify-write cycle to perform policy updates in order to avoid race conditions: An `etag` is returned in the response to `getIamPolicy`, and systems are expected to put that etag in the request to `setIamPolicy` to ensure that their change will be applied to the same version of the policy. **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost.", +"format": "byte", +"type": "string" +}, +"version": { +"description": "Specifies the format of the policy. Valid values are `0`, `1`, and `3`. Requests that specify an invalid value are rejected. Any operation that affects conditional role bindings must specify version `3`. This requirement applies to the following operations: * Getting a policy that includes a conditional role binding * Adding a conditional role binding to a policy * Changing a conditional role binding in a policy * Removing any role binding, with or without a condition, from a policy that includes conditions **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost. If a policy does not include any conditions, operations on that policy may specify any valid version or leave the field unset. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"Product": { +"description": "Product contains information about a product and how to uniquely identify it.", +"id": "Product", +"properties": { +"id": { +"description": "Token that identifies a product so that it can be referred to from other parts in the document. There is no predefined format as long as it uniquely identifies a group in the context of the current document.", +"type": "string" +}, +"identifierHelper": { +"$ref": "IdentifierHelper", +"description": "Helps in identifying the underlying product." +}, +"name": { +"description": "Name of the product.", +"type": "string" +} +}, +"type": "object" +}, +"ProvenanceBuilder": { +"id": "ProvenanceBuilder", +"properties": { +"builderDependencies": { +"items": { +"$ref": "ResourceDescriptor" +}, +"type": "array" +}, +"id": { +"type": "string" +}, +"version": { +"additionalProperties": { +"type": "string" +}, +"type": "object" +} +}, +"type": "object" +}, +"Publisher": { +"description": "Publisher contains information about the publisher of this Note.", +"id": "Publisher", +"properties": { +"issuingAuthority": { +"description": "Provides information about the authority of the issuing party to release the document, in particular, the party's constituency and responsibilities or other obligations.", +"type": "string" +}, +"name": { +"description": "Name of the publisher. Examples: 'Google', 'Google Cloud Platform'.", +"type": "string" +}, +"publisherNamespace": { +"description": "The context or namespace. Contains a URL which is under control of the issuing party and can be used as a globally unique identifier for that issuing party. Example: https://csaf.io", +"type": "string" +} +}, +"type": "object" +}, +"Recipe": { +"description": "Steps taken to build the artifact. For a TaskRun, typically each container corresponds to one step in the recipe.", +"id": "Recipe", +"properties": { +"arguments": { +"description": "Collection of all external inputs that influenced the build on top of recipe.definedInMaterial and recipe.entryPoint. For example, if the recipe type were \"make\", then this might be the flags passed to make aside from the target, which is captured in recipe.entryPoint.", +"items": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"type": "object" +}, +"type": "array" +}, +"definedInMaterial": { +"description": "Index in materials containing the recipe steps that are not implied by recipe.type. For example, if the recipe type were \"make\", then this would point to the source containing the Makefile, not the make program itself. Set to -1 if the recipe doesn't come from a material, as zero is default unset value for int64.", +"format": "int64", +"type": "string" +}, +"entryPoint": { +"description": "String identifying the entry point into the build. This is often a path to a configuration file and/or a target label within that file. The syntax and meaning are defined by recipe.type. For example, if the recipe type were \"make\", then this would reference the directory in which to run make as well as which target to use.", +"type": "string" +}, +"environment": { +"description": "Any other builder-controlled inputs necessary for correctly evaluating the recipe. Usually only needed for reproducing the build but not evaluated as part of policy.", +"items": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"type": "object" +}, +"type": "array" +}, +"type": { +"description": "URI indicating what type of recipe was performed. It determines the meaning of recipe.entryPoint, recipe.arguments, recipe.environment, and materials.", +"type": "string" +} +}, +"type": "object" +}, +"RelatedUrl": { +"description": "Metadata for any related URL information", +"id": "RelatedUrl", +"properties": { +"label": { +"description": "Label to describe usage of the URL", +"type": "string" +}, +"url": { +"description": "Specific URL to associate with the note", +"type": "string" +} +}, +"type": "object" +}, +"RelationshipNote": { +"description": "RelationshipNote represents an SPDX Relationship section: https://spdx.github.io/spdx-spec/7-relationships-between-SPDX-elements/", +"id": "RelationshipNote", +"properties": { +"type": { +"description": "The type of relationship between the source and target SPDX elements", +"enum": [ +"RELATIONSHIP_TYPE_UNSPECIFIED", +"DESCRIBES", +"DESCRIBED_BY", +"CONTAINS", +"CONTAINED_BY", +"DEPENDS_ON", +"DEPENDENCY_OF", +"DEPENDENCY_MANIFEST_OF", +"BUILD_DEPENDENCY_OF", +"DEV_DEPENDENCY_OF", +"OPTIONAL_DEPENDENCY_OF", +"PROVIDED_DEPENDENCY_OF", +"TEST_DEPENDENCY_OF", +"RUNTIME_DEPENDENCY_OF", +"EXAMPLE_OF", +"GENERATES", +"GENERATED_FROM", +"ANCESTOR_OF", +"DESCENDANT_OF", +"VARIANT_OF", +"DISTRIBUTION_ARTIFACT", +"PATCH_FOR", +"PATCH_APPLIED", +"COPY_OF", +"FILE_ADDED", +"FILE_DELETED", +"FILE_MODIFIED", +"EXPANDED_FROM_ARCHIVE", +"DYNAMIC_LINK", +"STATIC_LINK", +"DATA_FILE_OF", +"TEST_CASE_OF", +"BUILD_TOOL_OF", +"DEV_TOOL_OF", +"TEST_OF", +"TEST_TOOL_OF", +"DOCUMENTATION_OF", +"OPTIONAL_COMPONENT_OF", +"METAFILE_OF", +"PACKAGE_OF", +"AMENDS", +"PREREQUISITE_FOR", +"HAS_PREREQUISITE", +"OTHER" +], +"enumDescriptions": [ +"Unspecified", +"Is to be used when SPDXRef-DOCUMENT describes SPDXRef-A", +"Is to be used when SPDXRef-A is described by SPDXREF-Document", +"Is to be used when SPDXRef-A contains SPDXRef-B", +"Is to be used when SPDXRef-A is contained by SPDXRef-B", +"Is to be used when SPDXRef-A depends on SPDXRef-B", +"Is to be used when SPDXRef-A is dependency of SPDXRef-B", +"Is to be used when SPDXRef-A is a manifest file that lists a set of dependencies for SPDXRef-B", +"Is to be used when SPDXRef-A is a build dependency of SPDXRef-B", +"Is to be used when SPDXRef-A is a development dependency of SPDXRef-B", +"Is to be used when SPDXRef-A is an optional dependency of SPDXRef-B", +"Is to be used when SPDXRef-A is a to be provided dependency of SPDXRef-B", +"Is to be used when SPDXRef-A is a test dependency of SPDXRef-B", +"Is to be used when SPDXRef-A is a dependency required for the execution of SPDXRef-B", +"Is to be used when SPDXRef-A is an example of SPDXRef-B", +"Is to be used when SPDXRef-A generates SPDXRef-B", +"Is to be used when SPDXRef-A was generated from SPDXRef-B", +"Is to be used when SPDXRef-A is an ancestor (same lineage but pre-dates) SPDXRef-B", +"Is to be used when SPDXRef-A is a descendant of (same lineage but postdates) SPDXRef-B", +"Is to be used when SPDXRef-A is a variant of (same lineage but not clear which came first) SPDXRef-B", +"Is to be used when distributing SPDXRef-A requires that SPDXRef-B also be distributed", +"Is to be used when SPDXRef-A is a patch file for (to be applied to) SPDXRef-B", +"Is to be used when SPDXRef-A is a patch file that has been applied to SPDXRef-B", +"Is to be used when SPDXRef-A is an exact copy of SPDXRef-B", +"Is to be used when SPDXRef-A is a file that was added to SPDXRef-B", +"Is to be used when SPDXRef-A is a file that was deleted from SPDXRef-B", +"Is to be used when SPDXRef-A is a file that was modified from SPDXRef-B", +"Is to be used when SPDXRef-A is expanded from the archive SPDXRef-B", +"Is to be used when SPDXRef-A dynamically links to SPDXRef-B", +"Is to be used when SPDXRef-A statically links to SPDXRef-B", +"Is to be used when SPDXRef-A is a data file used in SPDXRef-B", +"Is to be used when SPDXRef-A is a test case used in testing SPDXRef-B", +"Is to be used when SPDXRef-A is used to build SPDXRef-B", +"Is to be used when SPDXRef-A is used as a development tool for SPDXRef-B", +"Is to be used when SPDXRef-A is used for testing SPDXRef-B", +"Is to be used when SPDXRef-A is used as a test tool for SPDXRef-B", +"Is to be used when SPDXRef-A provides documentation of SPDXRef-B", +"Is to be used when SPDXRef-A is an optional component of SPDXRef-B", +"Is to be used when SPDXRef-A is a metafile of SPDXRef-B", +"Is to be used when SPDXRef-A is used as a package as part of SPDXRef-B", +"Is to be used when (current) SPDXRef-DOCUMENT amends the SPDX information in SPDXRef-B", +"Is to be used when SPDXRef-A is a prerequisite for SPDXRef-B", +"Is to be used when SPDXRef-A has as a prerequisite SPDXRef-B", +"Is to be used for a relationship which has not been defined in the formal SPDX specification. A description of the relationship should be included in the Relationship comments field" +], +"type": "string" +} +}, +"type": "object" +}, +"RelationshipOccurrence": { +"description": "RelationshipOccurrence represents an SPDX Relationship section: https://spdx.github.io/spdx-spec/7-relationships-between-SPDX-elements/", +"id": "RelationshipOccurrence", +"properties": { +"comment": { +"description": "A place for the SPDX file creator to record any general comments about the relationship", +"type": "string" +}, +"source": { +"description": "Also referred to as SPDXRef-A The source SPDX element (file, package, etc)", +"type": "string" +}, +"target": { +"description": "Also referred to as SPDXRef-B The target SPDC element (file, package, etc) In cases where there are \"known unknowns\", the use of the keyword NOASSERTION can be used The keywords NONE can be used to indicate that an SPDX element (package/file/snippet) has no other elements connected by some relationship to it", +"type": "string" +}, +"type": { +"description": "Output only. The type of relationship between the source and target SPDX elements", +"enum": [ +"RELATIONSHIP_TYPE_UNSPECIFIED", +"DESCRIBES", +"DESCRIBED_BY", +"CONTAINS", +"CONTAINED_BY", +"DEPENDS_ON", +"DEPENDENCY_OF", +"DEPENDENCY_MANIFEST_OF", +"BUILD_DEPENDENCY_OF", +"DEV_DEPENDENCY_OF", +"OPTIONAL_DEPENDENCY_OF", +"PROVIDED_DEPENDENCY_OF", +"TEST_DEPENDENCY_OF", +"RUNTIME_DEPENDENCY_OF", +"EXAMPLE_OF", +"GENERATES", +"GENERATED_FROM", +"ANCESTOR_OF", +"DESCENDANT_OF", +"VARIANT_OF", +"DISTRIBUTION_ARTIFACT", +"PATCH_FOR", +"PATCH_APPLIED", +"COPY_OF", +"FILE_ADDED", +"FILE_DELETED", +"FILE_MODIFIED", +"EXPANDED_FROM_ARCHIVE", +"DYNAMIC_LINK", +"STATIC_LINK", +"DATA_FILE_OF", +"TEST_CASE_OF", +"BUILD_TOOL_OF", +"DEV_TOOL_OF", +"TEST_OF", +"TEST_TOOL_OF", +"DOCUMENTATION_OF", +"OPTIONAL_COMPONENT_OF", +"METAFILE_OF", +"PACKAGE_OF", +"AMENDS", +"PREREQUISITE_FOR", +"HAS_PREREQUISITE", +"OTHER" +], +"enumDescriptions": [ +"Unspecified", +"Is to be used when SPDXRef-DOCUMENT describes SPDXRef-A", +"Is to be used when SPDXRef-A is described by SPDXREF-Document", +"Is to be used when SPDXRef-A contains SPDXRef-B", +"Is to be used when SPDXRef-A is contained by SPDXRef-B", +"Is to be used when SPDXRef-A depends on SPDXRef-B", +"Is to be used when SPDXRef-A is dependency of SPDXRef-B", +"Is to be used when SPDXRef-A is a manifest file that lists a set of dependencies for SPDXRef-B", +"Is to be used when SPDXRef-A is a build dependency of SPDXRef-B", +"Is to be used when SPDXRef-A is a development dependency of SPDXRef-B", +"Is to be used when SPDXRef-A is an optional dependency of SPDXRef-B", +"Is to be used when SPDXRef-A is a to be provided dependency of SPDXRef-B", +"Is to be used when SPDXRef-A is a test dependency of SPDXRef-B", +"Is to be used when SPDXRef-A is a dependency required for the execution of SPDXRef-B", +"Is to be used when SPDXRef-A is an example of SPDXRef-B", +"Is to be used when SPDXRef-A generates SPDXRef-B", +"Is to be used when SPDXRef-A was generated from SPDXRef-B", +"Is to be used when SPDXRef-A is an ancestor (same lineage but pre-dates) SPDXRef-B", +"Is to be used when SPDXRef-A is a descendant of (same lineage but postdates) SPDXRef-B", +"Is to be used when SPDXRef-A is a variant of (same lineage but not clear which came first) SPDXRef-B", +"Is to be used when distributing SPDXRef-A requires that SPDXRef-B also be distributed", +"Is to be used when SPDXRef-A is a patch file for (to be applied to) SPDXRef-B", +"Is to be used when SPDXRef-A is a patch file that has been applied to SPDXRef-B", +"Is to be used when SPDXRef-A is an exact copy of SPDXRef-B", +"Is to be used when SPDXRef-A is a file that was added to SPDXRef-B", +"Is to be used when SPDXRef-A is a file that was deleted from SPDXRef-B", +"Is to be used when SPDXRef-A is a file that was modified from SPDXRef-B", +"Is to be used when SPDXRef-A is expanded from the archive SPDXRef-B", +"Is to be used when SPDXRef-A dynamically links to SPDXRef-B", +"Is to be used when SPDXRef-A statically links to SPDXRef-B", +"Is to be used when SPDXRef-A is a data file used in SPDXRef-B", +"Is to be used when SPDXRef-A is a test case used in testing SPDXRef-B", +"Is to be used when SPDXRef-A is used to build SPDXRef-B", +"Is to be used when SPDXRef-A is used as a development tool for SPDXRef-B", +"Is to be used when SPDXRef-A is used for testing SPDXRef-B", +"Is to be used when SPDXRef-A is used as a test tool for SPDXRef-B", +"Is to be used when SPDXRef-A provides documentation of SPDXRef-B", +"Is to be used when SPDXRef-A is an optional component of SPDXRef-B", +"Is to be used when SPDXRef-A is a metafile of SPDXRef-B", +"Is to be used when SPDXRef-A is used as a package as part of SPDXRef-B", +"Is to be used when (current) SPDXRef-DOCUMENT amends the SPDX information in SPDXRef-B", +"Is to be used when SPDXRef-A is a prerequisite for SPDXRef-B", +"Is to be used when SPDXRef-A has as a prerequisite SPDXRef-B", +"Is to be used for a relationship which has not been defined in the formal SPDX specification. A description of the relationship should be included in the Relationship comments field" +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"Remediation": { +"description": "Specifies details on how to handle (and presumably, fix) a vulnerability.", +"id": "Remediation", +"properties": { +"details": { +"description": "Contains a comprehensive human-readable discussion of the remediation.", +"type": "string" +}, +"remediationType": { +"description": "The type of remediation that can be applied.", +"enum": [ +"REMEDIATION_TYPE_UNSPECIFIED", +"MITIGATION", +"NO_FIX_PLANNED", +"NONE_AVAILABLE", +"VENDOR_FIX", +"WORKAROUND" +], +"enumDescriptions": [ +"No remediation type specified.", +"A MITIGATION is available.", +"No fix is planned.", +"Not available.", +"A vendor fix is available.", +"A workaround is available." +], +"type": "string" +}, +"remediationUri": { +"$ref": "URI", +"description": "Contains the URL where to obtain the remediation." +} +}, +"type": "object" +}, +"RepoSource": { +"deprecated": true, +"description": "RepoSource describes the location of the source in a Google Cloud Source Repository.", +"id": "RepoSource", +"properties": { +"branchName": { +"description": "Name of the branch to build.", +"type": "string" +}, +"commitSha": { +"description": "Explicit commit SHA to build.", +"type": "string" +}, +"projectId": { +"description": "ID of the project that owns the repo.", +"type": "string" +}, +"repoName": { +"description": "Name of the repo.", +"type": "string" +}, +"tagName": { +"description": "Name of the tag to build.", +"type": "string" +} +}, +"type": "object" +}, +"Resource": { +"description": " Resource is an entity that can have metadata. E.g., a Docker image.", +"id": "Resource", +"properties": { +"contentHash": { +"$ref": "Hash", +"description": "The hash of the resource content. E.g., the Docker digest." +}, +"name": { +"description": "The name of the resource. E.g., the name of a Docker image - \"Debian\".", +"type": "string" +}, +"uri": { +"description": "The unique URI of the resource. E.g., \"https://gcr.io/project/image@sha256:foo\" for a Docker image.", +"type": "string" +} +}, +"type": "object" +}, +"ResourceDescriptor": { +"id": "ResourceDescriptor", +"properties": { +"annotations": { +"additionalProperties": { +"type": "any" +}, +"type": "object" +}, +"content": { +"format": "byte", +"type": "string" +}, +"digest": { +"additionalProperties": { +"type": "string" +}, +"type": "object" +}, +"downloadLocation": { +"type": "string" +}, +"mediaType": { +"type": "string" +}, +"name": { +"type": "string" +}, +"uri": { +"type": "string" +} +}, +"type": "object" +}, +"Risk": { +"description": "The Risk message provides information about the risk of a vulnerability.", +"id": "Risk", +"properties": { +"cisaKev": { +"$ref": "CISAKnownExploitedVulnerabilities", +"description": "Optional. CISA maintains the authoritative source of vulnerabilities that have been exploited in the wild." +}, +"epss": { +"$ref": "ExploitPredictionScoringSystem", +"description": "Optional. The Exploit Prediction Scoring System (EPSS) estimates the likelihood (probability) that a software vulnerability will be exploited in the wild." +} +}, +"type": "object" +}, +"RunDetails": { +"id": "RunDetails", +"properties": { +"builder": { +"$ref": "ProvenanceBuilder" +}, +"byproducts": { +"items": { +"$ref": "ResourceDescriptor" +}, +"type": "array" +}, +"metadata": { +"$ref": "BuildMetadata" +} +}, +"type": "object" +}, +"SBOMReferenceNote": { +"description": "The note representing an SBOM reference.", +"id": "SBOMReferenceNote", +"properties": { +"format": { +"description": "The format that SBOM takes. E.g. may be spdx, cyclonedx, etc...", +"type": "string" +}, +"version": { +"description": "The version of the format that the SBOM takes. E.g. if the format is spdx, the version may be 2.3.", +"type": "string" +} +}, +"type": "object" +}, +"SBOMReferenceOccurrence": { +"description": "The occurrence representing an SBOM reference as applied to a specific resource. The occurrence follows the DSSE specification. See https://github.com/secure-systems-lab/dsse/blob/master/envelope.md for more details.", +"id": "SBOMReferenceOccurrence", +"properties": { +"payload": { +"$ref": "SbomReferenceIntotoPayload", +"description": "The actual payload that contains the SBOM reference data." +}, +"payloadType": { +"description": "The kind of payload that SbomReferenceIntotoPayload takes. Since it's in the intoto format, this value is expected to be 'application/vnd.in-toto+json'.", +"type": "string" +}, +"signatures": { +"description": "The signatures over the payload.", +"items": { +"$ref": "EnvelopeSignature" +}, +"type": "array" +} +}, +"type": "object" +}, +"SBOMStatus": { +"description": "The status of an SBOM generation.", +"id": "SBOMStatus", +"properties": { +"error": { +"description": "Output only. If there was an error generating an SBOM, this will indicate what that error was.", +"readOnly": true, +"type": "string" +}, +"sbomState": { +"description": "Output only. The progress of the SBOM generation.", +"enum": [ +"SBOM_STATE_UNSPECIFIED", +"PENDING", +"COMPLETE" +], +"enumDescriptions": [ +"Default unknown state.", +"SBOM scanning is pending.", +"SBOM scanning has completed." +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"SbomReferenceIntotoPayload": { +"description": "The actual payload that contains the SBOM Reference data. The payload follows the intoto statement specification. See https://github.com/in-toto/attestation/blob/main/spec/v1.0/statement.md for more details.", +"id": "SbomReferenceIntotoPayload", +"properties": { +"_type": { +"description": "Identifier for the schema of the Statement.", +"type": "string" +}, +"predicate": { +"$ref": "SbomReferenceIntotoPredicate", +"description": "Additional parameters of the Predicate. Includes the actual data about the SBOM." +}, +"predicateType": { +"description": "URI identifying the type of the Predicate.", +"type": "string" +}, +"subject": { +"description": "Set of software artifacts that the attestation applies to. Each element represents a single software artifact.", +"items": { +"$ref": "Subject" +}, +"type": "array" +} +}, +"type": "object" +}, +"SbomReferenceIntotoPredicate": { +"description": "A predicate which describes the SBOM being referenced.", +"id": "SbomReferenceIntotoPredicate", +"properties": { +"digest": { +"additionalProperties": { +"type": "string" +}, +"description": "A map of algorithm to digest of the contents of the SBOM.", +"type": "object" +}, +"location": { +"description": "The location of the SBOM.", +"type": "string" +}, +"mimeType": { +"description": "The mime type of the SBOM.", +"type": "string" +}, +"referrerId": { +"description": "The person or system referring this predicate to the consumer.", +"type": "string" +} +}, +"type": "object" +}, +"ScanConfig": { +"description": "Indicates various scans and whether they are turned on or off.", +"id": "ScanConfig", +"properties": { +"createTime": { +"description": "Output only. The time this scan config was created.", +"format": "google-datetime", +"type": "string" +}, +"description": { +"description": "Output only. A human-readable description of what the `ScanConfig` does.", +"type": "string" +}, +"enabled": { +"description": "Indicates whether the Scan is enabled.", +"type": "boolean" +}, +"name": { +"description": "Output only. The name of the ScanConfig in the form \u201cprojects/{project_id}/scanConfigs/{scan_config_id}\".", +"type": "string" +}, +"updateTime": { +"description": "Output only. The time this scan config was last updated.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"SecretLocation": { +"description": "The location of the secret.", +"id": "SecretLocation", +"properties": { +"fileLocation": { +"$ref": "FileLocation", +"description": "The secret is found from a file." +} +}, +"type": "object" +}, +"SecretNote": { +"description": "The note representing a secret.", +"id": "SecretNote", +"properties": {}, +"type": "object" +}, +"SecretOccurrence": { +"description": "The occurrence provides details of a secret.", +"id": "SecretOccurrence", +"properties": { +"kind": { +"description": "Required. Type of secret.", +"enum": [ +"SECRET_KIND_UNSPECIFIED", +"SECRET_KIND_UNKNOWN", +"SECRET_KIND_GCP_SERVICE_ACCOUNT_KEY", +"SECRET_KIND_GCP_API_KEY", +"SECRET_KIND_GCP_OAUTH2_CLIENT_CREDENTIALS", +"SECRET_KIND_GCP_OAUTH2_ACCESS_TOKEN", +"SECRET_KIND_ANTHROPIC_ADMIN_API_KEY", +"SECRET_KIND_ANTHROPIC_API_KEY", +"SECRET_KIND_AZURE_ACCESS_TOKEN", +"SECRET_KIND_AZURE_IDENTITY_TOKEN", +"SECRET_KIND_DOCKER_HUB_PERSONAL_ACCESS_TOKEN", +"SECRET_KIND_GITHUB_APP_REFRESH_TOKEN", +"SECRET_KIND_GITHUB_APP_SERVER_TO_SERVER_TOKEN", +"SECRET_KIND_GITHUB_APP_USER_TO_SERVER_TOKEN", +"SECRET_KIND_GITHUB_CLASSIC_PERSONAL_ACCESS_TOKEN", +"SECRET_KIND_GITHUB_FINE_GRAINED_PERSONAL_ACCESS_TOKEN", +"SECRET_KIND_GITHUB_OAUTH_TOKEN", +"SECRET_KIND_HUGGINGFACE_API_KEY", +"SECRET_KIND_OPENAI_API_KEY", +"SECRET_KIND_PERPLEXITY_API_KEY", +"SECRET_KIND_STRIPE_SECRET_KEY", +"SECRET_KIND_STRIPE_RESTRICTED_KEY", +"SECRET_KIND_STRIPE_WEBHOOK_SECRET" +], +"enumDescriptions": [ +"Unspecified", +"The secret kind is unknown.", +"A Google Cloud service account key per: https://cloud.google.com/iam/docs/creating-managing-service-account-keys", +"A Google Cloud API key per: https://cloud.google.com/docs/authentication/api-keys", +"A Google Cloud OAuth2 client credentials per: https://developers.google.com/identity/protocols/oauth2", +"A Google Cloud OAuth2 access token per: https://cloud.google.com/docs/authentication/token-types#access", +"An Anthropic Admin API key. This is called Workspace API key in Scalibr.", +"An Anthropic API key. This is called Model key in Scalibr.", +"An Azure access token.", +"An Azure Identity Platform ID token.", +"A Docker Hub personal access token.", +"A GitHub App refresh token.", +"A GitHub App server-to-server token.", +"A GitHub App user-to-server token.", +"A GitHub personal access token (classic).", +"A GitHub fine-grained personal access token.", +"A GitHub OAuth token.", +"A Hugging Face API key.", +"An OpenAI API key.", +"A Perplexity API key.", +"A Stripe secret key.", +"A Stripe restricted key.", +"A Stripe webhook secret." +], +"type": "string" +}, +"locations": { +"description": "Optional. Locations where the secret is detected.", +"items": { +"$ref": "SecretLocation" +}, +"type": "array" +}, +"statuses": { +"description": "Optional. Status of the secret.", +"items": { +"$ref": "SecretStatus" +}, +"type": "array" +} +}, +"type": "object" +}, +"SecretStatus": { +"description": "The status of the secret with a timestamp.", +"id": "SecretStatus", +"properties": { +"message": { +"description": "Optional. Optional message about the status code.", +"type": "string" +}, +"status": { +"description": "Optional. The status of the secret.", +"enum": [ +"STATUS_UNSPECIFIED", +"UNKNOWN", +"VALID", +"INVALID" +], +"enumDescriptions": [ +"Unspecified", +"The status of the secret is unknown.", +"The secret is valid.", +"The secret is invalid." +], +"type": "string" +}, +"updateTime": { +"description": "Optional. The time the secret status was last updated.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"SetIamPolicyRequest": { +"description": "Request message for `SetIamPolicy` method.", +"id": "SetIamPolicyRequest", +"properties": { +"policy": { +"$ref": "Policy", +"description": "REQUIRED: The complete policy to be applied to the `resource`. The size of the policy is limited to a few 10s of KB. An empty policy is a valid policy but certain Google Cloud services (such as Projects) might reject them." +} +}, +"type": "object" +}, +"SeverityCount": { +"description": "The number of occurrences created for a specific severity.", +"id": "SeverityCount", +"properties": { +"count": { +"description": "The number of occurrences with the severity.", +"format": "int64", +"type": "string" +}, +"severity": { +"description": "The severity of the occurrences.", +"enum": [ +"SEVERITY_UNSPECIFIED", +"MINIMAL", +"LOW", +"MEDIUM", +"HIGH", +"CRITICAL" +], +"enumDescriptions": [ +"Unknown Impact", +"Minimal Impact", +"Low Impact", +"Medium Impact", +"High Impact", +"Critical Impact" +], +"type": "string" +} +}, +"type": "object" +}, +"SlsaBuilder": { +"description": "SlsaBuilder encapsulates the identity of the builder of this provenance.", +"id": "SlsaBuilder", +"properties": { +"id": { +"description": "id is the id of the slsa provenance builder", +"type": "string" +} +}, +"type": "object" +}, +"SlsaCompleteness": { +"description": "Indicates that the builder claims certain fields in this message to be complete.", +"id": "SlsaCompleteness", +"properties": { +"arguments": { +"description": "If true, the builder claims that recipe.arguments is complete, meaning that all external inputs are properly captured in the recipe.", +"type": "boolean" +}, +"environment": { +"description": "If true, the builder claims that recipe.environment is claimed to be complete.", +"type": "boolean" +}, +"materials": { +"description": "If true, the builder claims that materials are complete, usually through some controls to prevent network access. Sometimes called \"hermetic\".", +"type": "boolean" +} +}, +"type": "object" +}, +"SlsaMetadata": { +"description": "Other properties of the build.", +"id": "SlsaMetadata", +"properties": { +"buildFinishedOn": { +"description": "The timestamp of when the build completed.", +"format": "google-datetime", +"type": "string" +}, +"buildInvocationId": { +"description": "Identifies the particular build invocation, which can be useful for finding associated logs or other ad-hoc analysis. The value SHOULD be globally unique, per in-toto Provenance spec.", +"type": "string" +}, +"buildStartedOn": { +"description": "The timestamp of when the build started.", +"format": "google-datetime", +"type": "string" +}, +"completeness": { +"$ref": "SlsaCompleteness", +"description": "Indicates that the builder claims certain fields in this message to be complete." +}, +"reproducible": { +"description": "If true, the builder claims that running the recipe on materials will produce bit-for-bit identical output.", +"type": "boolean" +} +}, +"type": "object" +}, +"SlsaProvenance": { +"description": "SlsaProvenance is the slsa provenance as defined by the slsa spec.", +"id": "SlsaProvenance", +"properties": { +"builder": { +"$ref": "SlsaBuilder", +"description": "builder is the builder of this provenance" +}, +"materials": { +"description": "The collection of artifacts that influenced the build including sources, dependencies, build tools, base images, and so on. This is considered to be incomplete unless metadata.completeness.materials is true. Unset or null is equivalent to empty.", +"items": { +"$ref": "Material" +}, +"type": "array" +}, +"metadata": { +"$ref": "SlsaMetadata", +"description": "metadata is the metadata of the provenance" +}, +"recipe": { +"$ref": "SlsaRecipe", +"description": "Identifies the configuration used for the build. When combined with materials, this SHOULD fully describe the build, such that re-running this recipe results in bit-for-bit identical output (if the build is reproducible)." +} +}, +"type": "object" +}, +"SlsaProvenanceV1": { +"description": "Keep in sync with schema at https://github.com/slsa-framework/slsa/blob/main/docs/provenance/schema/v1/provenance.proto Builder renamed to ProvenanceBuilder because of Java conflicts.", +"id": "SlsaProvenanceV1", +"properties": { +"buildDefinition": { +"$ref": "BuildDefinition" +}, +"runDetails": { +"$ref": "RunDetails" +} +}, +"type": "object" +}, +"SlsaProvenanceZeroTwo": { +"description": "SlsaProvenanceZeroTwo is the slsa provenance as defined by the slsa spec. See full explanation of fields at slsa.dev/provenance/v0.2.", +"id": "SlsaProvenanceZeroTwo", +"properties": { +"buildConfig": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"description": "Lists the steps in the build.", +"type": "object" +}, +"buildType": { +"description": "URI indicating what type of build was performed.", +"type": "string" +}, +"builder": { +"$ref": "GoogleDevtoolsContaineranalysisV1alpha1SlsaProvenanceZeroTwoSlsaBuilder", +"description": "Identifies the entity that executed the recipe, which is trusted to have correctly performed the operation and populated this provenance." +}, +"invocation": { +"$ref": "GoogleDevtoolsContaineranalysisV1alpha1SlsaProvenanceZeroTwoSlsaInvocation", +"description": "Identifies the event that kicked off the build." +}, +"materials": { +"description": "The collection of artifacts that influenced the build including sources, dependencies, build tools, base images, and so on.", +"items": { +"$ref": "GoogleDevtoolsContaineranalysisV1alpha1SlsaProvenanceZeroTwoSlsaMaterial" +}, +"type": "array" +}, +"metadata": { +"$ref": "GoogleDevtoolsContaineranalysisV1alpha1SlsaProvenanceZeroTwoSlsaMetadata", +"description": "Other properties of the build." +} +}, +"type": "object" +}, +"SlsaRecipe": { +"description": "Steps taken to build the artifact. For a TaskRun, typically each container corresponds to one step in the recipe.", +"id": "SlsaRecipe", +"properties": { +"arguments": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "Collection of all external inputs that influenced the build on top of recipe.definedInMaterial and recipe.entryPoint. For example, if the recipe type were \"make\", then this might be the flags passed to make aside from the target, which is captured in recipe.entryPoint. Depending on the recipe Type, the structure may be different.", +"type": "object" +}, +"definedInMaterial": { +"description": "Index in materials containing the recipe steps that are not implied by recipe.type. For example, if the recipe type were \"make\", then this would point to the source containing the Makefile, not the make program itself. Set to -1 if the recipe doesn't come from a material, as zero is default unset value for int64.", +"format": "int64", +"type": "string" +}, +"entryPoint": { +"description": "String identifying the entry point into the build. This is often a path to a configuration file and/or a target label within that file. The syntax and meaning are defined by recipe.type. For example, if the recipe type were \"make\", then this would reference the directory in which to run make as well as which target to use.", +"type": "string" +}, +"environment": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "Any other builder-controlled inputs necessary for correctly evaluating the recipe. Usually only needed for reproducing the build but not evaluated as part of policy. Depending on the recipe Type, the structure may be different.", +"type": "object" +}, +"type": { +"description": "URI indicating what type of recipe was performed. It determines the meaning of recipe.entryPoint, recipe.arguments, recipe.environment, and materials.", +"type": "string" +} +}, +"type": "object" +}, +"Source": { +"description": "Source describes the location of the source used for the build.", +"id": "Source", +"properties": { +"additionalContexts": { +"description": "If provided, some of the source code used for the build may be found in these locations, in the case where the source repository had multiple remotes or submodules. This list will not include the context specified in the context field.", +"items": { +"$ref": "GoogleDevtoolsContaineranalysisV1alpha1SourceContext" +}, +"type": "array" +}, +"artifactStorageSource": { +"$ref": "StorageSource", +"description": "If provided, the input binary artifacts for the build came from this location." +}, +"context": { +"$ref": "GoogleDevtoolsContaineranalysisV1alpha1SourceContext", +"description": "If provided, the source code used for the build came from this location." +}, +"fileHashes": { +"additionalProperties": { +"$ref": "FileHashes" +}, +"description": "Hash(es) of the build source, which can be used to verify that the original source integrity was maintained in the build. The keys to this map are file paths used as build source and the values contain the hash values for those files. If the build source came in a single package such as a gzipped tarfile (.tar.gz), the FileHash will be for the single path to that file.", +"type": "object" +}, +"repoSource": { +"$ref": "RepoSource", +"deprecated": true, +"description": "If provided, get source from this location in a Cloud Repo." +}, +"storageSource": { +"$ref": "StorageSource", +"deprecated": true, +"description": "If provided, get the source from this location in Google Cloud Storage." +} +}, +"type": "object" +}, +"Status": { +"description": "The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors).", +"id": "Status", +"properties": { +"code": { +"description": "The status code, which should be an enum value of google.rpc.Code.", +"format": "int32", +"type": "integer" +}, +"details": { +"description": "A list of messages that carry the error details. There is a common set of message types for APIs to use.", +"items": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.", +"type": "string" +} +}, +"type": "object" +}, +"StepResult": { +"description": "StepResult is the declaration of a result for a build step.", +"id": "StepResult", +"properties": { +"attestationContentName": { +"type": "string" +}, +"attestationType": { +"type": "string" +}, +"name": { +"type": "string" +} +}, +"type": "object" +}, +"StorageSource": { +"description": "StorageSource describes the location of the source in an archive file in Google Cloud Storage.", +"id": "StorageSource", +"properties": { +"bucket": { +"description": "Google Cloud Storage bucket containing source (see [Bucket Name Requirements] (https://cloud.google.com/storage/docs/bucket-naming#requirements)).", +"type": "string" +}, +"generation": { +"description": "Google Cloud Storage generation for the object.", +"format": "int64", +"type": "string" +}, +"object": { +"description": "Google Cloud Storage object containing source.", +"type": "string" +} +}, +"type": "object" +}, +"Subject": { +"description": "Subject refers to the subject of the intoto statement", +"id": "Subject", +"properties": { +"digest": { +"additionalProperties": { +"type": "string" +}, +"description": "\"\": \"\" Algorithms can be e.g. sha256, sha512 See https://github.com/in-toto/attestation/blob/main/spec/v1/digest_set.md.", +"type": "object" +}, +"name": { +"description": "name is the name of the Subject used here", +"type": "string" +} +}, +"type": "object" +}, +"TestIamPermissionsRequest": { +"description": "Request message for `TestIamPermissions` method.", +"id": "TestIamPermissionsRequest", +"properties": { +"permissions": { +"description": "The set of permissions to check for the `resource`. Permissions with wildcards (such as `*` or `storage.*`) are not allowed. For more information see [IAM Overview](https://cloud.google.com/iam/docs/overview#permissions).", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"TestIamPermissionsResponse": { +"description": "Response message for `TestIamPermissions` method.", +"id": "TestIamPermissionsResponse", +"properties": { +"permissions": { +"description": "A subset of `TestPermissionsRequest.permissions` that the caller is allowed.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"TimeSpan": { +"description": "Start and end times for a build execution phase. Next ID: 3", +"id": "TimeSpan", +"properties": { +"endTime": { +"description": "End of time span.", +"format": "google-datetime", +"type": "string" +}, +"startTime": { +"description": "Start of time span.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"URI": { +"description": "An URI message.", +"id": "URI", +"properties": { +"label": { +"description": "A label for the URI.", +"type": "string" +}, +"uri": { +"description": "The unique resource identifier.", +"type": "string" +} +}, +"type": "object" +}, +"UpdateOperationRequest": { +"description": "Request for updating an existing operation", +"id": "UpdateOperationRequest", +"properties": { +"operation": { +"$ref": "Operation", +"description": "The operation to create." +}, +"updateMask": { +"description": "The fields to update.", +"format": "google-fieldmask", +"type": "string" +} +}, +"type": "object" +}, +"UpgradeDistribution": { +"description": "The Upgrade Distribution represents metadata about the Upgrade for each operating system (CPE). Some distributions have additional metadata around updates, classifying them into various categories and severities.", +"id": "UpgradeDistribution", +"properties": { +"classification": { +"description": "The operating system classification of this Upgrade, as specified by the upstream operating system upgrade feed.", +"type": "string" +}, +"cpeUri": { +"description": "Required - The specific operating system this metadata applies to. See https://cpe.mitre.org/specification/.", +"type": "string" +}, +"cve": { +"description": "The cve that would be resolved by this upgrade.", +"items": { +"type": "string" +}, +"type": "array" +}, +"severity": { +"description": "The severity as specified by the upstream operating system.", +"type": "string" +} +}, +"type": "object" +}, +"UpgradeNote": { +"description": "An Upgrade Note represents a potential upgrade of a package to a given version. For each package version combination (i.e. bash 4.0, bash 4.1, bash 4.1.2), there will be a Upgrade Note.", +"id": "UpgradeNote", +"properties": { +"distributions": { +"description": "Metadata about the upgrade for each specific operating system.", +"items": { +"$ref": "UpgradeDistribution" +}, +"type": "array" +}, +"package": { +"description": "Required - The package this Upgrade is for.", +"type": "string" +}, +"version": { +"$ref": "Version", +"description": "Required - The version of the package in machine + human readable form." +} +}, +"type": "object" +}, +"UpgradeOccurrence": { +"description": "An Upgrade Occurrence represents that a specific resource_url could install a specific upgrade. This presence is supplied via local sources (i.e. it is present in the mirror and the running system has noticed its availability).", +"id": "UpgradeOccurrence", +"properties": { +"distribution": { +"$ref": "UpgradeDistribution", +"description": "Metadata about the upgrade for available for the specific operating system for the resource_url. This allows efficient filtering, as well as making it easier to use the occurrence." +}, +"package": { +"description": "Required - The package this Upgrade is for.", +"type": "string" +}, +"parsedVersion": { +"$ref": "Version", +"description": "Required - The version of the package in a machine + human readable form." +} +}, +"type": "object" +}, +"Version": { +"description": "Version contains structured information about the version of the package. For a discussion of this in Debian/Ubuntu: http://serverfault.com/questions/604541/debian-packages-version-convention For a discussion of this in Redhat/Fedora/Centos: http://blog.jasonantman.com/2014/07/how-yum-and-rpm-compare-versions/", +"id": "Version", +"properties": { +"epoch": { +"description": "Used to correct mistakes in the version numbering scheme.", +"format": "int32", +"type": "integer" +}, +"inclusive": { +"description": "Whether this version is vulnerable, when defining the version bounds. For example, if the minimum version is 2.0, inclusive=true would say 2.0 is vulnerable, while inclusive=false would say it's not", +"type": "boolean" +}, +"kind": { +"description": "Distinguish between sentinel MIN/MAX versions and normal versions. If kind is not NORMAL, then the other fields are ignored.", +"enum": [ +"NORMAL", +"MINIMUM", +"MAXIMUM" +], +"enumDescriptions": [ +"A standard package version, defined by the other fields.", +"A special version representing negative infinity, other fields are ignored.", +"A special version representing positive infinity, other fields are ignored." +], +"type": "string" +}, +"name": { +"description": "The main part of the version name.", +"type": "string" +}, +"revision": { +"description": "The iteration of the package build from the above version.", +"type": "string" +} +}, +"type": "object" +}, +"VexAssessment": { +"description": "VexAssessment provides all publisher provided Vex information that is related to this vulnerability.", +"id": "VexAssessment", +"properties": { +"cve": { +"description": "Holds the MITRE standard Common Vulnerabilities and Exposures (CVE) tracking number for the vulnerability.", +"type": "string" +}, +"impacts": { +"description": "Contains information about the impact of this vulnerability, this will change with time.", +"items": { +"type": "string" +}, +"type": "array" +}, +"justification": { +"$ref": "Justification", +"description": "Justification provides the justification when the state of the assessment if NOT_AFFECTED." +}, +"noteName": { +"description": "The VulnerabilityAssessment note from which this VexAssessment was generated. This will be of the form: `projects/[PROJECT_ID]/notes/[NOTE_ID]`.", +"type": "string" +}, +"relatedUris": { +"description": "Holds a list of references associated with this vulnerability item and assessment. These uris have additional information about the vulnerability and the assessment itself. E.g. Link to a document which details how this assessment concluded the state of this vulnerability.", +"items": { +"$ref": "URI" +}, +"type": "array" +}, +"remediations": { +"description": "Specifies details on how to handle (and presumably, fix) a vulnerability.", +"items": { +"$ref": "Remediation" +}, +"type": "array" +}, +"state": { +"description": "Provides the state of this Vulnerability assessment.", +"enum": [ +"STATE_UNSPECIFIED", +"AFFECTED", +"NOT_AFFECTED", +"FIXED", +"UNDER_INVESTIGATION" +], +"enumDescriptions": [ +"No state is specified.", +"This product is known to be affected by this vulnerability.", +"This product is known to be not affected by this vulnerability.", +"This product contains a fix for this vulnerability.", +"It is not known yet whether these versions are or are not affected by the vulnerability. However, it is still under investigation." +], +"type": "string" +}, +"vulnerabilityId": { +"description": "The vulnerability identifier for this Assessment. Will hold one of common identifiers e.g. CVE, GHSA etc.", +"type": "string" +} +}, +"type": "object" +}, +"Volume": { +"description": "Volume describes a Docker container volume which is mounted into build steps in order to persist files across build step execution. Next ID: 3", +"id": "Volume", +"properties": { +"name": { +"description": "Name of the volume to mount. Volume names must be unique per build step and must be valid names for Docker volumes. Each named volume must be used by at least two build steps.", +"type": "string" +}, +"path": { +"description": "Path at which to mount the volume. Paths must be absolute and cannot conflict with other volume paths on the same build step or with certain reserved volume paths.", +"type": "string" +} +}, +"type": "object" +}, +"VulnerabilityAssessmentNote": { +"description": "A single VulnerabilityAssessmentNote represents one particular product's vulnerability assessment for one CVE. Multiple VulnerabilityAssessmentNotes together form a Vex statement. Please go/sds-vex-example for a sample Vex statement in the CSAF format.", +"id": "VulnerabilityAssessmentNote", +"properties": { +"assessment": { +"$ref": "Assessment", +"description": "Represents a vulnerability assessment for the product." +}, +"languageCode": { +"description": "Identifies the language used by this document, corresponding to IETF BCP 47 / RFC 5646.", +"type": "string" +}, +"longDescription": { +"description": "A detailed description of this Vex.", +"type": "string" +}, +"product": { +"$ref": "Product", +"description": "The product affected by this vex." +}, +"publisher": { +"$ref": "Publisher", +"description": "Publisher details of this Note." +}, +"shortDescription": { +"description": "A one sentence description of this Vex.", +"type": "string" +}, +"title": { +"description": "The title of the note. E.g. `Vex-Debian-11.4`", +"type": "string" +} +}, +"type": "object" +}, +"VulnerabilityAttestation": { +"description": "The status of a vulnerability attestation generation.", +"id": "VulnerabilityAttestation", +"properties": { +"error": { +"description": "Output only. If failure, the error reason for why the attestation generation failed.", +"readOnly": true, +"type": "string" +}, +"lastAttemptTime": { +"description": "Output only. The last time we attempted to generate an attestation.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"state": { +"description": "Output only. The success/failure state of the latest attestation attempt.", +"enum": [ +"VULNERABILITY_ATTESTATION_STATE_UNSPECIFIED", +"SUCCESS", +"FAILURE" +], +"enumDescriptions": [ +"Default unknown state.", +"Attestation was successfully generated and stored.", +"Attestation was unsuccessfully generated and stored." +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"VulnerabilityDetails": { +"description": "Used by Occurrence to point to where the vulnerability exists and how to fix it.", +"id": "VulnerabilityDetails", +"properties": { +"cvssScore": { +"description": "Output only. The CVSS score of this vulnerability. CVSS score is on a scale of 0-10 where 0 indicates low severity and 10 indicates high severity.", +"format": "float", +"type": "number" +}, +"cvssV2": { +"$ref": "CVSS", +"description": "The CVSS v2 score of this vulnerability." +}, +"cvssV3": { +"$ref": "CVSS", +"description": "The CVSS v3 score of this vulnerability." +}, +"cvssVersion": { +"description": "Output only. CVSS version used to populate cvss_score and severity.", +"enum": [ +"CVSS_VERSION_UNSPECIFIED", +"CVSS_VERSION_2", +"CVSS_VERSION_3" +], +"enumDescriptions": [ +"CVSS Version unspecified.", +"CVSS v2.", +"CVSS v3." +], +"readOnly": true, +"type": "string" +}, +"effectiveSeverity": { +"description": "The distro assigned severity for this vulnerability when that is available and note provider assigned severity when distro has not yet assigned a severity for this vulnerability. When there are multiple package issues for this vulnerability, they can have different effective severities because some might come from the distro and some might come from installed language packs (e.g. Maven JARs or Go binaries). For this reason, it is advised to use the effective severity on the PackageIssue level, as this field may eventually be deprecated. In the case where multiple PackageIssues have different effective severities, the one set here will be the highest severity of any of the PackageIssues.", +"enum": [ +"SEVERITY_UNSPECIFIED", +"MINIMAL", +"LOW", +"MEDIUM", +"HIGH", +"CRITICAL" +], +"enumDescriptions": [ +"Unknown Impact", +"Minimal Impact", +"Low Impact", +"Medium Impact", +"High Impact", +"Critical Impact" +], +"type": "string" +}, +"extraDetails": { +"description": "Occurrence-specific extra details about the vulnerability.", +"type": "string" +}, +"packageIssue": { +"description": "The set of affected locations and their fixes (if available) within the associated resource.", +"items": { +"$ref": "PackageIssue" +}, +"type": "array" +}, +"risk": { +"$ref": "Risk", +"description": "Risk information about the vulnerability, such as CISA, EPSS, etc." +}, +"severity": { +"description": "Output only. The note provider assigned Severity of the vulnerability.", +"enum": [ +"SEVERITY_UNSPECIFIED", +"MINIMAL", +"LOW", +"MEDIUM", +"HIGH", +"CRITICAL" +], +"enumDescriptions": [ +"Unknown Impact", +"Minimal Impact", +"Low Impact", +"Medium Impact", +"High Impact", +"Critical Impact" +], +"type": "string" +}, +"type": { +"description": "The type of package; whether native or non native(ruby gems, node.js packages etc). This may be deprecated in the future because we can have multiple PackageIssues with different package types.", +"type": "string" +}, +"vexAssessment": { +"$ref": "VexAssessment", +"description": "VexAssessment provides all publisher provided Vex information that is related to this vulnerability for this resource." +} +}, +"type": "object" +}, +"VulnerabilityLocation": { +"description": "The location of the vulnerability", +"id": "VulnerabilityLocation", +"properties": { +"cpeUri": { +"description": "The cpe_uri in [cpe format] (https://cpe.mitre.org/specification/) format. Examples include distro or storage location for vulnerable jar. This field can be used as a filter in list requests.", +"type": "string" +}, +"fileLocation": { +"description": "The file location at which this package was found.", +"items": { +"$ref": "FileLocation" +}, +"type": "array" +}, +"package": { +"description": "The package being described.", +"type": "string" +}, +"version": { +"$ref": "Version", +"description": "The version of the package being described. This field can be used as a filter in list requests." +} +}, +"type": "object" +}, +"VulnerabilityType": { +"description": "VulnerabilityType provides metadata about a security vulnerability.", +"id": "VulnerabilityType", +"properties": { +"advisoryPublishTime": { +"description": "Time this advisory was published by the source.", +"format": "google-datetime", +"type": "string" +}, +"cvssScore": { +"description": "The CVSS score for this Vulnerability.", +"format": "float", +"type": "number" +}, +"cvssV2": { +"$ref": "CVSS", +"description": "The full description of the CVSS for version 2." +}, +"cvssVersion": { +"description": "CVSS version used to populate cvss_score and severity.", +"enum": [ +"CVSS_VERSION_UNSPECIFIED", +"CVSS_VERSION_2", +"CVSS_VERSION_3" +], +"enumDescriptions": [ +"CVSS Version unspecified.", +"CVSS v2.", +"CVSS v3." +], +"type": "string" +}, +"cwe": { +"description": "A list of CWE for this vulnerability. For details, see: https://cwe.mitre.org/index.html", +"items": { +"type": "string" +}, +"type": "array" +}, +"details": { +"description": "All information about the package to specifically identify this vulnerability. One entry per (version range and cpe_uri) the package vulnerability has manifested in.", +"items": { +"$ref": "Detail" +}, +"type": "array" +}, +"severity": { +"description": "Note provider assigned impact of the vulnerability", +"enum": [ +"SEVERITY_UNSPECIFIED", +"MINIMAL", +"LOW", +"MEDIUM", +"HIGH", +"CRITICAL" +], +"enumDescriptions": [ +"Unknown Impact", +"Minimal Impact", +"Low Impact", +"Medium Impact", +"High Impact", +"Critical Impact" +], +"type": "string" +} +}, +"type": "object" +} +}, +"servicePath": "", +"title": "Container Analysis API", +"version": "v1alpha1", +"version_module": true +} \ No newline at end of file diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/containeranalysis.v1beta1.json b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/containeranalysis.v1beta1.json new file mode 100644 index 0000000000000000000000000000000000000000..977e5cb3c57dcdf3d8c4f4ebc0e28c0c6366db27 --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/containeranalysis.v1beta1.json @@ -0,0 +1,7490 @@ +{ +"auth": { +"oauth2": { +"scopes": { +"https://www.googleapis.com/auth/cloud-platform": { +"description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." +} +} +} +}, +"basePath": "", +"baseUrl": "https://containeranalysis.googleapis.com/", +"batchPath": "batch", +"canonicalName": "Container Analysis", +"description": "This API is a prerequisite for leveraging Artifact Analysis scanning capabilities in Artifact Registry. In addition, the Container Analysis API is an implementation of the Grafeas API, which enables storing, querying, and retrieval of critical metadata about all of your software artifacts.", +"discoveryVersion": "v1", +"documentationLink": "https://cloud.google.com/container-analysis/api/reference/rest/", +"endpoints": [ +{ +"description": "Regional Endpoint", +"endpointUrl": "https://containeranalysis.asia-east1.rep.googleapis.com/", +"location": "asia-east1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://containeranalysis.asia-east2.rep.googleapis.com/", +"location": "asia-east2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://containeranalysis.asia-northeast1.rep.googleapis.com/", +"location": "asia-northeast1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://containeranalysis.asia-northeast3.rep.googleapis.com/", +"location": "asia-northeast3" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://containeranalysis.asia-south1.rep.googleapis.com/", +"location": "asia-south1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://containeranalysis.asia-south2.rep.googleapis.com/", +"location": "asia-south2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://containeranalysis.asia-southeast1.rep.googleapis.com/", +"location": "asia-southeast1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://containeranalysis.asia-southeast2.rep.googleapis.com/", +"location": "asia-southeast2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://containeranalysis.australia-southeast1.rep.googleapis.com/", +"location": "australia-southeast1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://containeranalysis.europe-central2.rep.googleapis.com/", +"location": "europe-central2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://containeranalysis.europe-north1.rep.googleapis.com/", +"location": "europe-north1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://containeranalysis.europe-southwest1.rep.googleapis.com/", +"location": "europe-southwest1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://containeranalysis.europe-west1.rep.googleapis.com/", +"location": "europe-west1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://containeranalysis.europe-west2.rep.googleapis.com/", +"location": "europe-west2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://containeranalysis.europe-west3.rep.googleapis.com/", +"location": "europe-west3" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://containeranalysis.europe-west4.rep.googleapis.com/", +"location": "europe-west4" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://containeranalysis.europe-west6.rep.googleapis.com/", +"location": "europe-west6" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://containeranalysis.europe-west8.rep.googleapis.com/", +"location": "europe-west8" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://containeranalysis.europe-west9.rep.googleapis.com/", +"location": "europe-west9" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://containeranalysis.me-central1.rep.googleapis.com/", +"location": "me-central1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://containeranalysis.me-central2.rep.googleapis.com/", +"location": "me-central2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://containeranalysis.me-west1.rep.googleapis.com/", +"location": "me-west1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://containeranalysis.northamerica-northeast1.rep.googleapis.com/", +"location": "northamerica-northeast1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://containeranalysis.northamerica-northeast2.rep.googleapis.com/", +"location": "northamerica-northeast2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://containeranalysis.southamerica-east1.rep.googleapis.com/", +"location": "southamerica-east1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://containeranalysis.southamerica-west1.rep.googleapis.com/", +"location": "southamerica-west1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://containeranalysis.us-central1.rep.googleapis.com/", +"location": "us-central1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://containeranalysis.us-central2.rep.googleapis.com/", +"location": "us-central2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://containeranalysis.us-east1.rep.googleapis.com/", +"location": "us-east1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://containeranalysis.us-east4.rep.googleapis.com/", +"location": "us-east4" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://containeranalysis.us-east5.rep.googleapis.com/", +"location": "us-east5" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://containeranalysis.us-east7.rep.googleapis.com/", +"location": "us-east7" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://containeranalysis.us-south1.rep.googleapis.com/", +"location": "us-south1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://containeranalysis.us-west1.rep.googleapis.com/", +"location": "us-west1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://containeranalysis.us-west2.rep.googleapis.com/", +"location": "us-west2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://containeranalysis.us-west3.rep.googleapis.com/", +"location": "us-west3" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://containeranalysis.us-west4.rep.googleapis.com/", +"location": "us-west4" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://containeranalysis.africa-south1.rep.googleapis.com/", +"location": "africa-south1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://containeranalysis.asia-northeast2.rep.googleapis.com/", +"location": "asia-northeast2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://containeranalysis.australia-southeast2.rep.googleapis.com/", +"location": "australia-southeast2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://containeranalysis.europe-west10.rep.googleapis.com/", +"location": "europe-west10" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://containeranalysis.us.rep.googleapis.com/", +"location": "us" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://containeranalysis.eu.rep.googleapis.com/", +"location": "eu" +} +], +"fullyEncodeReservedExpansion": true, +"icons": { +"x16": "http://www.google.com/images/icons/product/search-16.gif", +"x32": "http://www.google.com/images/icons/product/search-32.gif" +}, +"id": "containeranalysis:v1beta1", +"kind": "discovery#restDescription", +"mtlsRootUrl": "https://containeranalysis.mtls.googleapis.com/", +"name": "containeranalysis", +"ownerDomain": "google.com", +"ownerName": "Google", +"parameters": { +"$.xgafv": { +"description": "V1 error format.", +"enum": [ +"1", +"2" +], +"enumDescriptions": [ +"v1 error format", +"v2 error format" +], +"location": "query", +"type": "string" +}, +"access_token": { +"description": "OAuth access token.", +"location": "query", +"type": "string" +}, +"alt": { +"default": "json", +"description": "Data format for response.", +"enum": [ +"json", +"media", +"proto" +], +"enumDescriptions": [ +"Responses with Content-Type of application/json", +"Media download with context-dependent Content-Type", +"Responses with Content-Type of application/x-protobuf" +], +"location": "query", +"type": "string" +}, +"callback": { +"description": "JSONP", +"location": "query", +"type": "string" +}, +"fields": { +"description": "Selector specifying which fields to include in a partial response.", +"location": "query", +"type": "string" +}, +"key": { +"description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", +"location": "query", +"type": "string" +}, +"oauth_token": { +"description": "OAuth 2.0 token for the current user.", +"location": "query", +"type": "string" +}, +"prettyPrint": { +"default": "true", +"description": "Returns response with indentations and line breaks.", +"location": "query", +"type": "boolean" +}, +"quotaUser": { +"description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.", +"location": "query", +"type": "string" +}, +"uploadType": { +"description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", +"location": "query", +"type": "string" +}, +"upload_protocol": { +"description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", +"location": "query", +"type": "string" +} +}, +"protocol": "rest", +"resources": { +"projects": { +"resources": { +"locations": { +"resources": { +"notes": { +"methods": { +"batchCreate": { +"description": "Creates new notes in batch.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/notes:batchCreate", +"httpMethod": "POST", +"id": "containeranalysis.projects.locations.notes.batchCreate", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The name of the project in the form of `projects/[PROJECT_ID]`, under which the notes are to be created.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+parent}/notes:batchCreate", +"request": { +"$ref": "BatchCreateNotesRequest" +}, +"response": { +"$ref": "BatchCreateNotesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"create": { +"description": "Creates a new note.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/notes", +"httpMethod": "POST", +"id": "containeranalysis.projects.locations.notes.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"noteId": { +"description": "Required. The ID to use for this note.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The name of the project in the form of `projects/[PROJECT_ID]`, under which the note is to be created.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+parent}/notes", +"request": { +"$ref": "Note" +}, +"response": { +"$ref": "Note" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes the specified note.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/notes/{notesId}", +"httpMethod": "DELETE", +"id": "containeranalysis.projects.locations.notes.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the note in the form of `projects/[PROVIDER_ID]/notes/[NOTE_ID]`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/notes/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+name}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets the specified note.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/notes/{notesId}", +"httpMethod": "GET", +"id": "containeranalysis.projects.locations.notes.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the note in the form of `projects/[PROVIDER_ID]/notes/[NOTE_ID]`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/notes/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+name}", +"response": { +"$ref": "Note" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"getIamPolicy": { +"description": "Gets the access control policy for a note or an occurrence resource. Requires `containeranalysis.notes.setIamPolicy` or `containeranalysis.occurrences.setIamPolicy` permission if the resource is a note or occurrence, respectively. The resource takes the format `projects/[PROJECT_ID]/notes/[NOTE_ID]` for notes and `projects/[PROJECT_ID]/occurrences/[OCCURRENCE_ID]` for occurrences.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/notes/{notesId}:getIamPolicy", +"httpMethod": "POST", +"id": "containeranalysis.projects.locations.notes.getIamPolicy", +"parameterOrder": [ +"resource" +], +"parameters": { +"resource": { +"description": "REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/notes/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+resource}:getIamPolicy", +"request": { +"$ref": "GetIamPolicyRequest" +}, +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists notes for the specified project.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/notes", +"httpMethod": "GET", +"id": "containeranalysis.projects.locations.notes.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "The filter expression.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Number of notes to return in the list. Must be positive. Max allowed page size is 1000. If not specified, page size defaults to 20.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Token to provide to skip to a particular spot in the list.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The name of the project to list notes for in the form of `projects/[PROJECT_ID]`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +}, +"returnPartialSuccess": { +"description": "If set, the request will return all reachable Notes and report all unreachable regions in the `unreachable` field in the response. Only applicable for requests in the global region.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1beta1/{+parent}/notes", +"response": { +"$ref": "ListNotesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates the specified note.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/notes/{notesId}", +"httpMethod": "PATCH", +"id": "containeranalysis.projects.locations.notes.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the note in the form of `projects/[PROVIDER_ID]/notes/[NOTE_ID]`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/notes/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "The fields to update.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1beta1/{+name}", +"request": { +"$ref": "Note" +}, +"response": { +"$ref": "Note" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"setIamPolicy": { +"description": "Sets the access control policy on the specified note or occurrence. Requires `containeranalysis.notes.setIamPolicy` or `containeranalysis.occurrences.setIamPolicy` permission if the resource is a note or an occurrence, respectively. The resource takes the format `projects/[PROJECT_ID]/notes/[NOTE_ID]` for notes and `projects/[PROJECT_ID]/occurrences/[OCCURRENCE_ID]` for occurrences.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/notes/{notesId}:setIamPolicy", +"httpMethod": "POST", +"id": "containeranalysis.projects.locations.notes.setIamPolicy", +"parameterOrder": [ +"resource" +], +"parameters": { +"resource": { +"description": "REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/notes/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+resource}:setIamPolicy", +"request": { +"$ref": "SetIamPolicyRequest" +}, +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"testIamPermissions": { +"description": "Returns the permissions that a caller has on the specified note or occurrence. Requires list permission on the project (for example, `containeranalysis.notes.list`). The resource takes the format `projects/[PROJECT_ID]/notes/[NOTE_ID]` for notes and `projects/[PROJECT_ID]/occurrences/[OCCURRENCE_ID]` for occurrences.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/notes/{notesId}:testIamPermissions", +"httpMethod": "POST", +"id": "containeranalysis.projects.locations.notes.testIamPermissions", +"parameterOrder": [ +"resource" +], +"parameters": { +"resource": { +"description": "REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/notes/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+resource}:testIamPermissions", +"request": { +"$ref": "TestIamPermissionsRequest" +}, +"response": { +"$ref": "TestIamPermissionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"occurrences": { +"methods": { +"list": { +"description": "Lists occurrences referencing the specified note. Provider projects can use this method to get all occurrences across consumer projects referencing the specified note.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/notes/{notesId}/occurrences", +"httpMethod": "GET", +"id": "containeranalysis.projects.locations.notes.occurrences.list", +"parameterOrder": [ +"name" +], +"parameters": { +"filter": { +"description": "The filter expression.", +"location": "query", +"type": "string" +}, +"name": { +"description": "Required. The name of the note to list occurrences for in the form of `projects/[PROVIDER_ID]/notes/[NOTE_ID]`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/notes/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "Number of occurrences to return in the list.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Token to provide to skip to a particular spot in the list.", +"location": "query", +"type": "string" +} +}, +"path": "v1beta1/{+name}/occurrences", +"response": { +"$ref": "ListNoteOccurrencesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +}, +"occurrences": { +"methods": { +"batchCreate": { +"description": "Creates new occurrences in batch.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/occurrences:batchCreate", +"httpMethod": "POST", +"id": "containeranalysis.projects.locations.occurrences.batchCreate", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The name of the project in the form of `projects/[PROJECT_ID]`, under which the occurrences are to be created.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+parent}/occurrences:batchCreate", +"request": { +"$ref": "BatchCreateOccurrencesRequest" +}, +"response": { +"$ref": "BatchCreateOccurrencesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"create": { +"description": "Creates a new occurrence.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/occurrences", +"httpMethod": "POST", +"id": "containeranalysis.projects.locations.occurrences.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The name of the project in the form of `projects/[PROJECT_ID]`, under which the occurrence is to be created.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+parent}/occurrences", +"request": { +"$ref": "Occurrence" +}, +"response": { +"$ref": "Occurrence" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes the specified occurrence. For example, use this method to delete an occurrence when the occurrence is no longer applicable for the given resource.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/occurrences/{occurrencesId}", +"httpMethod": "DELETE", +"id": "containeranalysis.projects.locations.occurrences.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the occurrence in the form of `projects/[PROJECT_ID]/occurrences/[OCCURRENCE_ID]`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/occurrences/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+name}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets the specified occurrence.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/occurrences/{occurrencesId}", +"httpMethod": "GET", +"id": "containeranalysis.projects.locations.occurrences.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the occurrence in the form of `projects/[PROJECT_ID]/occurrences/[OCCURRENCE_ID]`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/occurrences/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+name}", +"response": { +"$ref": "Occurrence" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"getIamPolicy": { +"description": "Gets the access control policy for a note or an occurrence resource. Requires `containeranalysis.notes.setIamPolicy` or `containeranalysis.occurrences.setIamPolicy` permission if the resource is a note or occurrence, respectively. The resource takes the format `projects/[PROJECT_ID]/notes/[NOTE_ID]` for notes and `projects/[PROJECT_ID]/occurrences/[OCCURRENCE_ID]` for occurrences.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/occurrences/{occurrencesId}:getIamPolicy", +"httpMethod": "POST", +"id": "containeranalysis.projects.locations.occurrences.getIamPolicy", +"parameterOrder": [ +"resource" +], +"parameters": { +"resource": { +"description": "REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/occurrences/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+resource}:getIamPolicy", +"request": { +"$ref": "GetIamPolicyRequest" +}, +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"getNotes": { +"description": "Gets the note attached to the specified occurrence. Consumer projects can use this method to get a note that belongs to a provider project.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/occurrences/{occurrencesId}/notes", +"httpMethod": "GET", +"id": "containeranalysis.projects.locations.occurrences.getNotes", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the occurrence in the form of `projects/[PROJECT_ID]/occurrences/[OCCURRENCE_ID]`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/occurrences/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+name}/notes", +"response": { +"$ref": "Note" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"getVulnerabilitySummary": { +"description": "Gets a summary of the number and severity of occurrences.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/occurrences:vulnerabilitySummary", +"httpMethod": "GET", +"id": "containeranalysis.projects.locations.occurrences.getVulnerabilitySummary", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "The filter expression.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The name of the project to get a vulnerability summary for in the form of `projects/[PROJECT_ID]`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +}, +"returnPartialSuccess": { +"description": "If set, the request will return all reachable occurrence summaries and report all unreachable regions in the `unreachable` field in the response. Only applicable for requests in the global region.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1beta1/{+parent}/occurrences:vulnerabilitySummary", +"response": { +"$ref": "VulnerabilityOccurrencesSummary" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists occurrences for the specified project.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/occurrences", +"httpMethod": "GET", +"id": "containeranalysis.projects.locations.occurrences.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "The filter expression.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Number of occurrences to return in the list. Must be positive. Max allowed page size is 1000. If not specified, page size defaults to 20.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Token to provide to skip to a particular spot in the list.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The name of the project to list occurrences for in the form of `projects/[PROJECT_ID]`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +}, +"returnPartialSuccess": { +"description": "If set, the request will return all reachable Occurrences and report all unreachable regions in the `unreachable` field in the response. Only applicable for requests in the global region.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1beta1/{+parent}/occurrences", +"response": { +"$ref": "ListOccurrencesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates the specified occurrence.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/occurrences/{occurrencesId}", +"httpMethod": "PATCH", +"id": "containeranalysis.projects.locations.occurrences.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the occurrence in the form of `projects/[PROJECT_ID]/occurrences/[OCCURRENCE_ID]`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/occurrences/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "The fields to update.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1beta1/{+name}", +"request": { +"$ref": "Occurrence" +}, +"response": { +"$ref": "Occurrence" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"setIamPolicy": { +"description": "Sets the access control policy on the specified note or occurrence. Requires `containeranalysis.notes.setIamPolicy` or `containeranalysis.occurrences.setIamPolicy` permission if the resource is a note or an occurrence, respectively. The resource takes the format `projects/[PROJECT_ID]/notes/[NOTE_ID]` for notes and `projects/[PROJECT_ID]/occurrences/[OCCURRENCE_ID]` for occurrences.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/occurrences/{occurrencesId}:setIamPolicy", +"httpMethod": "POST", +"id": "containeranalysis.projects.locations.occurrences.setIamPolicy", +"parameterOrder": [ +"resource" +], +"parameters": { +"resource": { +"description": "REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/occurrences/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+resource}:setIamPolicy", +"request": { +"$ref": "SetIamPolicyRequest" +}, +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"testIamPermissions": { +"description": "Returns the permissions that a caller has on the specified note or occurrence. Requires list permission on the project (for example, `containeranalysis.notes.list`). The resource takes the format `projects/[PROJECT_ID]/notes/[NOTE_ID]` for notes and `projects/[PROJECT_ID]/occurrences/[OCCURRENCE_ID]` for occurrences.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/occurrences/{occurrencesId}:testIamPermissions", +"httpMethod": "POST", +"id": "containeranalysis.projects.locations.occurrences.testIamPermissions", +"parameterOrder": [ +"resource" +], +"parameters": { +"resource": { +"description": "REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/occurrences/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+resource}:testIamPermissions", +"request": { +"$ref": "TestIamPermissionsRequest" +}, +"response": { +"$ref": "TestIamPermissionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"resources": { +"methods": { +"exportSBOM": { +"description": "Generates an SBOM and other dependency information for the given resource.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/resources/{resourcesId}:exportSBOM", +"httpMethod": "POST", +"id": "containeranalysis.projects.locations.resources.exportSBOM", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the resource in the form of `projects/[PROJECT_ID]/resources/[RESOURCE_URL]`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/resources/.*$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+name}:exportSBOM", +"request": { +"$ref": "ExportSBOMRequest" +}, +"response": { +"$ref": "ExportSBOMResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"generatePackagesSummary": { +"description": "Gets a summary of the packages within a given resource.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/resources/{resourcesId}:generatePackagesSummary", +"httpMethod": "POST", +"id": "containeranalysis.projects.locations.resources.generatePackagesSummary", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the resource to get a packages summary for in the form of `projects/[PROJECT_ID]/resources/[RESOURCE_URL]`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/resources/.*$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+name}:generatePackagesSummary", +"request": { +"$ref": "GeneratePackagesSummaryRequest" +}, +"response": { +"$ref": "PackagesSummaryResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +}, +"notes": { +"methods": { +"batchCreate": { +"description": "Creates new notes in batch.", +"flatPath": "v1beta1/projects/{projectsId}/notes:batchCreate", +"httpMethod": "POST", +"id": "containeranalysis.projects.notes.batchCreate", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The name of the project in the form of `projects/[PROJECT_ID]`, under which the notes are to be created.", +"location": "path", +"pattern": "^projects/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+parent}/notes:batchCreate", +"request": { +"$ref": "BatchCreateNotesRequest" +}, +"response": { +"$ref": "BatchCreateNotesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"create": { +"description": "Creates a new note.", +"flatPath": "v1beta1/projects/{projectsId}/notes", +"httpMethod": "POST", +"id": "containeranalysis.projects.notes.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"noteId": { +"description": "Required. The ID to use for this note.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The name of the project in the form of `projects/[PROJECT_ID]`, under which the note is to be created.", +"location": "path", +"pattern": "^projects/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+parent}/notes", +"request": { +"$ref": "Note" +}, +"response": { +"$ref": "Note" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes the specified note.", +"flatPath": "v1beta1/projects/{projectsId}/notes/{notesId}", +"httpMethod": "DELETE", +"id": "containeranalysis.projects.notes.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the note in the form of `projects/[PROVIDER_ID]/notes/[NOTE_ID]`.", +"location": "path", +"pattern": "^projects/[^/]+/notes/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+name}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets the specified note.", +"flatPath": "v1beta1/projects/{projectsId}/notes/{notesId}", +"httpMethod": "GET", +"id": "containeranalysis.projects.notes.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the note in the form of `projects/[PROVIDER_ID]/notes/[NOTE_ID]`.", +"location": "path", +"pattern": "^projects/[^/]+/notes/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+name}", +"response": { +"$ref": "Note" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"getIamPolicy": { +"description": "Gets the access control policy for a note or an occurrence resource. Requires `containeranalysis.notes.setIamPolicy` or `containeranalysis.occurrences.setIamPolicy` permission if the resource is a note or occurrence, respectively. The resource takes the format `projects/[PROJECT_ID]/notes/[NOTE_ID]` for notes and `projects/[PROJECT_ID]/occurrences/[OCCURRENCE_ID]` for occurrences.", +"flatPath": "v1beta1/projects/{projectsId}/notes/{notesId}:getIamPolicy", +"httpMethod": "POST", +"id": "containeranalysis.projects.notes.getIamPolicy", +"parameterOrder": [ +"resource" +], +"parameters": { +"resource": { +"description": "REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", +"location": "path", +"pattern": "^projects/[^/]+/notes/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+resource}:getIamPolicy", +"request": { +"$ref": "GetIamPolicyRequest" +}, +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists notes for the specified project.", +"flatPath": "v1beta1/projects/{projectsId}/notes", +"httpMethod": "GET", +"id": "containeranalysis.projects.notes.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "The filter expression.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Number of notes to return in the list. Must be positive. Max allowed page size is 1000. If not specified, page size defaults to 20.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Token to provide to skip to a particular spot in the list.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The name of the project to list notes for in the form of `projects/[PROJECT_ID]`.", +"location": "path", +"pattern": "^projects/[^/]+$", +"required": true, +"type": "string" +}, +"returnPartialSuccess": { +"description": "If set, the request will return all reachable Notes and report all unreachable regions in the `unreachable` field in the response. Only applicable for requests in the global region.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1beta1/{+parent}/notes", +"response": { +"$ref": "ListNotesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates the specified note.", +"flatPath": "v1beta1/projects/{projectsId}/notes/{notesId}", +"httpMethod": "PATCH", +"id": "containeranalysis.projects.notes.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the note in the form of `projects/[PROVIDER_ID]/notes/[NOTE_ID]`.", +"location": "path", +"pattern": "^projects/[^/]+/notes/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "The fields to update.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1beta1/{+name}", +"request": { +"$ref": "Note" +}, +"response": { +"$ref": "Note" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"setIamPolicy": { +"description": "Sets the access control policy on the specified note or occurrence. Requires `containeranalysis.notes.setIamPolicy` or `containeranalysis.occurrences.setIamPolicy` permission if the resource is a note or an occurrence, respectively. The resource takes the format `projects/[PROJECT_ID]/notes/[NOTE_ID]` for notes and `projects/[PROJECT_ID]/occurrences/[OCCURRENCE_ID]` for occurrences.", +"flatPath": "v1beta1/projects/{projectsId}/notes/{notesId}:setIamPolicy", +"httpMethod": "POST", +"id": "containeranalysis.projects.notes.setIamPolicy", +"parameterOrder": [ +"resource" +], +"parameters": { +"resource": { +"description": "REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", +"location": "path", +"pattern": "^projects/[^/]+/notes/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+resource}:setIamPolicy", +"request": { +"$ref": "SetIamPolicyRequest" +}, +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"testIamPermissions": { +"description": "Returns the permissions that a caller has on the specified note or occurrence. Requires list permission on the project (for example, `containeranalysis.notes.list`). The resource takes the format `projects/[PROJECT_ID]/notes/[NOTE_ID]` for notes and `projects/[PROJECT_ID]/occurrences/[OCCURRENCE_ID]` for occurrences.", +"flatPath": "v1beta1/projects/{projectsId}/notes/{notesId}:testIamPermissions", +"httpMethod": "POST", +"id": "containeranalysis.projects.notes.testIamPermissions", +"parameterOrder": [ +"resource" +], +"parameters": { +"resource": { +"description": "REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", +"location": "path", +"pattern": "^projects/[^/]+/notes/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+resource}:testIamPermissions", +"request": { +"$ref": "TestIamPermissionsRequest" +}, +"response": { +"$ref": "TestIamPermissionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"occurrences": { +"methods": { +"list": { +"description": "Lists occurrences referencing the specified note. Provider projects can use this method to get all occurrences across consumer projects referencing the specified note.", +"flatPath": "v1beta1/projects/{projectsId}/notes/{notesId}/occurrences", +"httpMethod": "GET", +"id": "containeranalysis.projects.notes.occurrences.list", +"parameterOrder": [ +"name" +], +"parameters": { +"filter": { +"description": "The filter expression.", +"location": "query", +"type": "string" +}, +"name": { +"description": "Required. The name of the note to list occurrences for in the form of `projects/[PROVIDER_ID]/notes/[NOTE_ID]`.", +"location": "path", +"pattern": "^projects/[^/]+/notes/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "Number of occurrences to return in the list.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Token to provide to skip to a particular spot in the list.", +"location": "query", +"type": "string" +} +}, +"path": "v1beta1/{+name}/occurrences", +"response": { +"$ref": "ListNoteOccurrencesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +}, +"occurrences": { +"methods": { +"batchCreate": { +"description": "Creates new occurrences in batch.", +"flatPath": "v1beta1/projects/{projectsId}/occurrences:batchCreate", +"httpMethod": "POST", +"id": "containeranalysis.projects.occurrences.batchCreate", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The name of the project in the form of `projects/[PROJECT_ID]`, under which the occurrences are to be created.", +"location": "path", +"pattern": "^projects/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+parent}/occurrences:batchCreate", +"request": { +"$ref": "BatchCreateOccurrencesRequest" +}, +"response": { +"$ref": "BatchCreateOccurrencesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"create": { +"description": "Creates a new occurrence.", +"flatPath": "v1beta1/projects/{projectsId}/occurrences", +"httpMethod": "POST", +"id": "containeranalysis.projects.occurrences.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The name of the project in the form of `projects/[PROJECT_ID]`, under which the occurrence is to be created.", +"location": "path", +"pattern": "^projects/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+parent}/occurrences", +"request": { +"$ref": "Occurrence" +}, +"response": { +"$ref": "Occurrence" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes the specified occurrence. For example, use this method to delete an occurrence when the occurrence is no longer applicable for the given resource.", +"flatPath": "v1beta1/projects/{projectsId}/occurrences/{occurrencesId}", +"httpMethod": "DELETE", +"id": "containeranalysis.projects.occurrences.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the occurrence in the form of `projects/[PROJECT_ID]/occurrences/[OCCURRENCE_ID]`.", +"location": "path", +"pattern": "^projects/[^/]+/occurrences/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+name}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets the specified occurrence.", +"flatPath": "v1beta1/projects/{projectsId}/occurrences/{occurrencesId}", +"httpMethod": "GET", +"id": "containeranalysis.projects.occurrences.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the occurrence in the form of `projects/[PROJECT_ID]/occurrences/[OCCURRENCE_ID]`.", +"location": "path", +"pattern": "^projects/[^/]+/occurrences/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+name}", +"response": { +"$ref": "Occurrence" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"getIamPolicy": { +"description": "Gets the access control policy for a note or an occurrence resource. Requires `containeranalysis.notes.setIamPolicy` or `containeranalysis.occurrences.setIamPolicy` permission if the resource is a note or occurrence, respectively. The resource takes the format `projects/[PROJECT_ID]/notes/[NOTE_ID]` for notes and `projects/[PROJECT_ID]/occurrences/[OCCURRENCE_ID]` for occurrences.", +"flatPath": "v1beta1/projects/{projectsId}/occurrences/{occurrencesId}:getIamPolicy", +"httpMethod": "POST", +"id": "containeranalysis.projects.occurrences.getIamPolicy", +"parameterOrder": [ +"resource" +], +"parameters": { +"resource": { +"description": "REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", +"location": "path", +"pattern": "^projects/[^/]+/occurrences/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+resource}:getIamPolicy", +"request": { +"$ref": "GetIamPolicyRequest" +}, +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"getNotes": { +"description": "Gets the note attached to the specified occurrence. Consumer projects can use this method to get a note that belongs to a provider project.", +"flatPath": "v1beta1/projects/{projectsId}/occurrences/{occurrencesId}/notes", +"httpMethod": "GET", +"id": "containeranalysis.projects.occurrences.getNotes", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the occurrence in the form of `projects/[PROJECT_ID]/occurrences/[OCCURRENCE_ID]`.", +"location": "path", +"pattern": "^projects/[^/]+/occurrences/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+name}/notes", +"response": { +"$ref": "Note" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"getVulnerabilitySummary": { +"description": "Gets a summary of the number and severity of occurrences.", +"flatPath": "v1beta1/projects/{projectsId}/occurrences:vulnerabilitySummary", +"httpMethod": "GET", +"id": "containeranalysis.projects.occurrences.getVulnerabilitySummary", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "The filter expression.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The name of the project to get a vulnerability summary for in the form of `projects/[PROJECT_ID]`.", +"location": "path", +"pattern": "^projects/[^/]+$", +"required": true, +"type": "string" +}, +"returnPartialSuccess": { +"description": "If set, the request will return all reachable occurrence summaries and report all unreachable regions in the `unreachable` field in the response. Only applicable for requests in the global region.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1beta1/{+parent}/occurrences:vulnerabilitySummary", +"response": { +"$ref": "VulnerabilityOccurrencesSummary" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists occurrences for the specified project.", +"flatPath": "v1beta1/projects/{projectsId}/occurrences", +"httpMethod": "GET", +"id": "containeranalysis.projects.occurrences.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "The filter expression.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Number of occurrences to return in the list. Must be positive. Max allowed page size is 1000. If not specified, page size defaults to 20.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Token to provide to skip to a particular spot in the list.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The name of the project to list occurrences for in the form of `projects/[PROJECT_ID]`.", +"location": "path", +"pattern": "^projects/[^/]+$", +"required": true, +"type": "string" +}, +"returnPartialSuccess": { +"description": "If set, the request will return all reachable Occurrences and report all unreachable regions in the `unreachable` field in the response. Only applicable for requests in the global region.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1beta1/{+parent}/occurrences", +"response": { +"$ref": "ListOccurrencesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates the specified occurrence.", +"flatPath": "v1beta1/projects/{projectsId}/occurrences/{occurrencesId}", +"httpMethod": "PATCH", +"id": "containeranalysis.projects.occurrences.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the occurrence in the form of `projects/[PROJECT_ID]/occurrences/[OCCURRENCE_ID]`.", +"location": "path", +"pattern": "^projects/[^/]+/occurrences/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "The fields to update.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1beta1/{+name}", +"request": { +"$ref": "Occurrence" +}, +"response": { +"$ref": "Occurrence" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"setIamPolicy": { +"description": "Sets the access control policy on the specified note or occurrence. Requires `containeranalysis.notes.setIamPolicy` or `containeranalysis.occurrences.setIamPolicy` permission if the resource is a note or an occurrence, respectively. The resource takes the format `projects/[PROJECT_ID]/notes/[NOTE_ID]` for notes and `projects/[PROJECT_ID]/occurrences/[OCCURRENCE_ID]` for occurrences.", +"flatPath": "v1beta1/projects/{projectsId}/occurrences/{occurrencesId}:setIamPolicy", +"httpMethod": "POST", +"id": "containeranalysis.projects.occurrences.setIamPolicy", +"parameterOrder": [ +"resource" +], +"parameters": { +"resource": { +"description": "REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", +"location": "path", +"pattern": "^projects/[^/]+/occurrences/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+resource}:setIamPolicy", +"request": { +"$ref": "SetIamPolicyRequest" +}, +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"testIamPermissions": { +"description": "Returns the permissions that a caller has on the specified note or occurrence. Requires list permission on the project (for example, `containeranalysis.notes.list`). The resource takes the format `projects/[PROJECT_ID]/notes/[NOTE_ID]` for notes and `projects/[PROJECT_ID]/occurrences/[OCCURRENCE_ID]` for occurrences.", +"flatPath": "v1beta1/projects/{projectsId}/occurrences/{occurrencesId}:testIamPermissions", +"httpMethod": "POST", +"id": "containeranalysis.projects.occurrences.testIamPermissions", +"parameterOrder": [ +"resource" +], +"parameters": { +"resource": { +"description": "REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", +"location": "path", +"pattern": "^projects/[^/]+/occurrences/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+resource}:testIamPermissions", +"request": { +"$ref": "TestIamPermissionsRequest" +}, +"response": { +"$ref": "TestIamPermissionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"resources": { +"methods": { +"exportSBOM": { +"description": "Generates an SBOM and other dependency information for the given resource.", +"flatPath": "v1beta1/projects/{projectsId}/resources/{resourcesId}:exportSBOM", +"httpMethod": "POST", +"id": "containeranalysis.projects.resources.exportSBOM", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the resource in the form of `projects/[PROJECT_ID]/resources/[RESOURCE_URL]`.", +"location": "path", +"pattern": "^projects/[^/]+/resources/.*$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+name}:exportSBOM", +"request": { +"$ref": "ExportSBOMRequest" +}, +"response": { +"$ref": "ExportSBOMResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"generatePackagesSummary": { +"description": "Gets a summary of the packages within a given resource.", +"flatPath": "v1beta1/projects/{projectsId}/resources/{resourcesId}:generatePackagesSummary", +"httpMethod": "POST", +"id": "containeranalysis.projects.resources.generatePackagesSummary", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the resource to get a packages summary for in the form of `projects/[PROJECT_ID]/resources/[RESOURCE_URL]`.", +"location": "path", +"pattern": "^projects/[^/]+/resources/.*$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+name}:generatePackagesSummary", +"request": { +"$ref": "GeneratePackagesSummaryRequest" +}, +"response": { +"$ref": "PackagesSummaryResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +} +}, +"revision": "20260220", +"rootUrl": "https://containeranalysis.googleapis.com/", +"schemas": { +"AliasContext": { +"description": "An alias to a repo revision.", +"id": "AliasContext", +"properties": { +"kind": { +"description": "The alias kind.", +"enum": [ +"KIND_UNSPECIFIED", +"FIXED", +"MOVABLE", +"OTHER" +], +"enumDescriptions": [ +"Unknown.", +"Git tag.", +"Git branch.", +"Used to specify non-standard aliases. For example, if a Git repo has a ref named \"refs/foo/bar\"." +], +"type": "string" +}, +"name": { +"description": "The alias name.", +"type": "string" +} +}, +"type": "object" +}, +"AnalysisCompleted": { +"description": "Indicates which analysis completed successfully. Multiple types of analysis can be performed on a single resource.", +"id": "AnalysisCompleted", +"properties": { +"analysisType": { +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"Artifact": { +"description": "Artifact describes a build product.", +"id": "Artifact", +"properties": { +"checksum": { +"description": "Hash or checksum value of a binary, or Docker Registry 2.0 digest of a container.", +"type": "string" +}, +"id": { +"description": "Artifact ID, if any; for container images, this will be a URL by digest like `gcr.io/projectID/imagename@sha256:123456`.", +"type": "string" +}, +"names": { +"description": "Related artifact names. This may be the path to a binary or jar file, or in the case of a container build, the name used to push the container image to Google Container Registry, as presented to `docker push`. Note that a single Artifact ID can have multiple names, for example if two tags are applied to one image.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ArtifactHashes": { +"description": "Defines a hash object for use in Materials and Products.", +"id": "ArtifactHashes", +"properties": { +"sha256": { +"type": "string" +} +}, +"type": "object" +}, +"ArtifactRule": { +"description": "Defines an object to declare an in-toto artifact rule", +"id": "ArtifactRule", +"properties": { +"artifactRule": { +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"Assessment": { +"description": "Assessment provides all information that is related to a single vulnerability for this product.", +"id": "Assessment", +"properties": { +"cve": { +"deprecated": true, +"description": "Holds the MITRE standard Common Vulnerabilities and Exposures (CVE) tracking number for the vulnerability. Deprecated: Use vulnerability_id instead to denote CVEs.", +"type": "string" +}, +"impacts": { +"description": "Contains information about the impact of this vulnerability, this will change with time.", +"items": { +"type": "string" +}, +"type": "array" +}, +"justification": { +"$ref": "Justification", +"description": "Justification provides the justification when the state of the assessment if NOT_AFFECTED." +}, +"longDescription": { +"description": "A detailed description of this Vex.", +"type": "string" +}, +"relatedUris": { +"description": "Holds a list of references associated with this vulnerability item and assessment. These uris have additional information about the vulnerability and the assessment itself. E.g. Link to a document which details how this assessment concluded the state of this vulnerability.", +"items": { +"$ref": "RelatedUrl" +}, +"type": "array" +}, +"remediations": { +"description": "Specifies details on how to handle (and presumably, fix) a vulnerability.", +"items": { +"$ref": "Remediation" +}, +"type": "array" +}, +"shortDescription": { +"description": "A one sentence description of this Vex.", +"type": "string" +}, +"state": { +"description": "Provides the state of this Vulnerability assessment.", +"enum": [ +"STATE_UNSPECIFIED", +"AFFECTED", +"NOT_AFFECTED", +"FIXED", +"UNDER_INVESTIGATION" +], +"enumDescriptions": [ +"No state is specified.", +"This product is known to be affected by this vulnerability.", +"This product is known to be not affected by this vulnerability.", +"This product contains a fix for this vulnerability.", +"It is not known yet whether these versions are or are not affected by the vulnerability. However, it is still under investigation." +], +"type": "string" +}, +"vulnerabilityId": { +"description": "The vulnerability identifier for this Assessment. Will hold one of common identifiers e.g. CVE, GHSA etc.", +"type": "string" +} +}, +"type": "object" +}, +"Attestation": { +"description": "Occurrence that represents a single \"attestation\". The authenticity of an attestation can be verified using the attached signature. If the verifier trusts the public key of the signer, then verifying the signature is sufficient to establish trust. In this circumstance, the authority to which this attestation is attached is primarily useful for look-up (how to find this attestation if you already know the authority and artifact to be verified) and intent (which authority was this attestation intended to sign for).", +"id": "Attestation", +"properties": { +"genericSignedAttestation": { +"$ref": "GenericSignedAttestation" +}, +"pgpSignedAttestation": { +"$ref": "PgpSignedAttestation", +"description": "A PGP signed attestation." +} +}, +"type": "object" +}, +"Authority": { +"description": "Note kind that represents a logical attestation \"role\" or \"authority\". For example, an organization might have one `Authority` for \"QA\" and one for \"build\". This note is intended to act strictly as a grouping mechanism for the attached occurrences (Attestations). This grouping mechanism also provides a security boundary, since IAM ACLs gate the ability for a principle to attach an occurrence to a given note. It also provides a single point of lookup to find all attached attestation occurrences, even if they don't all live in the same project.", +"id": "Authority", +"properties": { +"hint": { +"$ref": "Hint", +"description": "Hint hints at the purpose of the attestation authority." +} +}, +"type": "object" +}, +"Basis": { +"description": "Basis describes the base image portion (Note) of the DockerImage relationship. Linked occurrences are derived from this or an equivalent image via: FROM Or an equivalent reference, e.g. a tag of the resource_url.", +"id": "Basis", +"properties": { +"fingerprint": { +"$ref": "Fingerprint", +"description": "Required. Immutable. The fingerprint of the base image." +}, +"resourceUrl": { +"description": "Required. Immutable. The resource_url for the resource representing the basis of associated occurrence images.", +"type": "string" +} +}, +"type": "object" +}, +"BatchCreateNotesRequest": { +"description": "Request to create notes in batch.", +"id": "BatchCreateNotesRequest", +"properties": { +"notes": { +"additionalProperties": { +"$ref": "Note" +}, +"description": "Required. The notes to create, the key is expected to be the note ID. Max allowed length is 1000.", +"type": "object" +} +}, +"type": "object" +}, +"BatchCreateNotesResponse": { +"description": "Response for creating notes in batch.", +"id": "BatchCreateNotesResponse", +"properties": { +"notes": { +"description": "The notes that were created.", +"items": { +"$ref": "Note" +}, +"type": "array" +} +}, +"type": "object" +}, +"BatchCreateOccurrencesRequest": { +"description": "Request to create occurrences in batch.", +"id": "BatchCreateOccurrencesRequest", +"properties": { +"occurrences": { +"description": "Required. The occurrences to create. Max allowed length is 1000.", +"items": { +"$ref": "Occurrence" +}, +"type": "array" +} +}, +"type": "object" +}, +"BatchCreateOccurrencesResponse": { +"description": "Response for creating occurrences in batch.", +"id": "BatchCreateOccurrencesResponse", +"properties": { +"occurrences": { +"description": "The occurrences that were created.", +"items": { +"$ref": "Occurrence" +}, +"type": "array" +} +}, +"type": "object" +}, +"Binding": { +"description": "Associates `members`, or principals, with a `role`.", +"id": "Binding", +"properties": { +"condition": { +"$ref": "Expr", +"description": "The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies)." +}, +"members": { +"description": "Specifies the principals requesting access for a Google Cloud resource. `members` can have the following values: * `allUsers`: A special identifier that represents anyone who is on the internet; with or without a Google account. * `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service account. Does not include identities that come from external identity providers (IdPs) through identity federation. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `group:{emailid}`: An email address that represents a Google group. For example, `admins@example.com`. * `domain:{domain}`: The G Suite domain (primary) that represents all the users of that domain. For example, `google.com` or `example.com`. * `principal://iam.googleapis.com/locations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}`: A single identity in a workforce identity pool. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/group/{group_id}`: All workforce identities in a group. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/attribute.{attribute_name}/{attribute_value}`: All workforce identities with a specific attribute value. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/*`: All identities in a workforce identity pool. * `principal://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/subject/{subject_attribute_value}`: A single identity in a workload identity pool. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/group/{group_id}`: A workload identity pool group. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/attribute.{attribute_name}/{attribute_value}`: All identities in a workload identity pool with a certain attribute. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/*`: All identities in a workload identity pool. * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a user that has been recently deleted. For example, `alice@example.com?uid=123456789012345678901`. If the user is recovered, this value reverts to `user:{emailid}` and the recovered user retains the role in the binding. * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a service account that has been recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the service account is undeleted, this value reverts to `serviceAccount:{emailid}` and the undeleted service account retains the role in the binding. * `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a Google group that has been recently deleted. For example, `admins@example.com?uid=123456789012345678901`. If the group is recovered, this value reverts to `group:{emailid}` and the recovered group retains the role in the binding. * `deleted:principal://iam.googleapis.com/locations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}`: Deleted single identity in a workforce identity pool. For example, `deleted:principal://iam.googleapis.com/locations/global/workforcePools/my-pool-id/subject/my-subject-attribute-value`.", +"items": { +"type": "string" +}, +"type": "array" +}, +"role": { +"description": "Role that is assigned to the list of `members`, or principals. For example, `roles/viewer`, `roles/editor`, or `roles/owner`. For an overview of the IAM roles and permissions, see the [IAM documentation](https://cloud.google.com/iam/docs/roles-overview). For a list of the available pre-defined roles, see [here](https://cloud.google.com/iam/docs/understanding-roles).", +"type": "string" +} +}, +"type": "object" +}, +"Build": { +"description": "Note holding the version of the provider's builder and the signature of the provenance message in the build details occurrence.", +"id": "Build", +"properties": { +"builderVersion": { +"description": "Required. Immutable. Version of the builder which produced this build.", +"type": "string" +}, +"signature": { +"$ref": "BuildSignature", +"description": "Signature of the build in occurrences pointing to this build note containing build details." +} +}, +"type": "object" +}, +"BuildDefinition": { +"id": "BuildDefinition", +"properties": { +"buildType": { +"type": "string" +}, +"externalParameters": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"type": "object" +}, +"internalParameters": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"type": "object" +}, +"resolvedDependencies": { +"items": { +"$ref": "ResourceDescriptor" +}, +"type": "array" +} +}, +"type": "object" +}, +"BuildMetadata": { +"id": "BuildMetadata", +"properties": { +"finishedOn": { +"format": "google-datetime", +"type": "string" +}, +"invocationId": { +"type": "string" +}, +"startedOn": { +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"BuildProvenance": { +"description": "Provenance of a build. Contains all information needed to verify the full details about the build from source to completion.", +"id": "BuildProvenance", +"properties": { +"buildOptions": { +"additionalProperties": { +"type": "string" +}, +"description": "Special options applied to this build. This is a catch-all field where build providers can enter any desired additional details.", +"type": "object" +}, +"builderVersion": { +"description": "Version string of the builder at the time this build was executed.", +"type": "string" +}, +"builtArtifacts": { +"description": "Output of the build.", +"items": { +"$ref": "Artifact" +}, +"type": "array" +}, +"commands": { +"description": "Commands requested by the build.", +"items": { +"$ref": "Command" +}, +"type": "array" +}, +"createTime": { +"description": "Time at which the build was created.", +"format": "google-datetime", +"type": "string" +}, +"creator": { +"description": "E-mail address of the user who initiated this build. Note that this was the user's e-mail address at the time the build was initiated; this address may not represent the same end-user for all time.", +"type": "string" +}, +"endTime": { +"description": "Time at which execution of the build was finished.", +"format": "google-datetime", +"type": "string" +}, +"id": { +"description": "Required. Unique identifier of the build.", +"type": "string" +}, +"logsUri": { +"description": "URI where any logs for this provenance were written.", +"type": "string" +}, +"projectId": { +"description": "ID of the project.", +"type": "string" +}, +"sourceProvenance": { +"$ref": "Source", +"description": "Details of the Source input to the build." +}, +"startTime": { +"description": "Time at which execution of the build was started.", +"format": "google-datetime", +"type": "string" +}, +"triggerId": { +"description": "Trigger identifier if the build was triggered automatically; empty if not.", +"type": "string" +} +}, +"type": "object" +}, +"BuildSignature": { +"description": "Message encapsulating the signature of the verified build.", +"id": "BuildSignature", +"properties": { +"keyId": { +"description": "An ID for the key used to sign. This could be either an ID for the key stored in `public_key` (such as the ID or fingerprint for a PGP key, or the CN for a cert), or a reference to an external key (such as a reference to a key in Cloud Key Management Service).", +"type": "string" +}, +"keyType": { +"description": "The type of the key, either stored in `public_key` or referenced in `key_id`.", +"enum": [ +"KEY_TYPE_UNSPECIFIED", +"PGP_ASCII_ARMORED", +"PKIX_PEM" +], +"enumDescriptions": [ +"`KeyType` is not set.", +"`PGP ASCII Armored` public key.", +"`PKIX PEM` public key." +], +"type": "string" +}, +"publicKey": { +"description": "Public key of the builder which can be used to verify that the related findings are valid and unchanged. If `key_type` is empty, this defaults to PEM encoded public keys. This field may be empty if `key_id` references an external key. For Cloud Build based signatures, this is a PEM encoded public key. To verify the Cloud Build signature, place the contents of this field into a file (public.pem). The signature field is base64-decoded into its binary representation in signature.bin, and the provenance bytes from `BuildDetails` are base64-decoded into a binary representation in signed.bin. OpenSSL can then verify the signature: `openssl sha256 -verify public.pem -signature signature.bin signed.bin`", +"type": "string" +}, +"signature": { +"description": "Required. Signature of the related `BuildProvenance`. In JSON, this is base-64 encoded.", +"format": "byte", +"type": "string" +} +}, +"type": "object" +}, +"BuildStep": { +"description": "A step in the build pipeline. Next ID: 23", +"id": "BuildStep", +"properties": { +"allowExitCodes": { +"description": "Allow this build step to fail without failing the entire build if and only if the exit code is one of the specified codes. If allow_failure is also specified, this field will take precedence.", +"items": { +"format": "int32", +"type": "integer" +}, +"type": "array" +}, +"allowFailure": { +"description": "Allow this build step to fail without failing the entire build. If false, the entire build will fail if this step fails. Otherwise, the build will succeed, but this step will still have a failure status. Error information will be reported in the failure_detail field.", +"type": "boolean" +}, +"args": { +"description": "A list of arguments that will be presented to the step when it is started. If the image used to run the step's container has an entrypoint, the `args` are used as arguments to that entrypoint. If the image does not define an entrypoint, the first element in args is used as the entrypoint, and the remainder will be used as arguments.", +"items": { +"type": "string" +}, +"type": "array" +}, +"automapSubstitutions": { +"description": "Option to include built-in and custom substitutions as env variables for this build step. This option will override the global option in BuildOption.", +"type": "boolean" +}, +"dir": { +"description": "Working directory to use when running this step's container. If this value is a relative path, it is relative to the build's working directory. If this value is absolute, it may be outside the build's working directory, in which case the contents of the path may not be persisted across build step executions, unless a `volume` for that path is specified. If the build specifies a `RepoSource` with `dir` and a step with a `dir`, which specifies an absolute path, the `RepoSource` `dir` is ignored for the step's execution.", +"type": "string" +}, +"entrypoint": { +"description": "Entrypoint to be used instead of the build step image's default entrypoint. If unset, the image's default entrypoint is used.", +"type": "string" +}, +"env": { +"description": "A list of environment variable definitions to be used when running a step. The elements are of the form \"KEY=VALUE\" for the environment variable \"KEY\" being given the value \"VALUE\".", +"items": { +"type": "string" +}, +"type": "array" +}, +"exitCode": { +"description": "Output only. Return code from running the step.", +"format": "int32", +"type": "integer" +}, +"id": { +"description": "Unique identifier for this build step, used in `wait_for` to reference this build step as a dependency.", +"type": "string" +}, +"name": { +"description": "Required. The name of the container image that will run this particular build step. If the image is available in the host's Docker daemon's cache, it will be run directly. If not, the host will attempt to pull the image first, using the builder service account's credentials if necessary. The Docker daemon's cache will already have the latest versions of all of the officially supported build steps ([https://github.com/GoogleCloudPlatform/cloud-builders](https://github.com/GoogleCloudPlatform/cloud-builders)). The Docker daemon will also have cached many of the layers for some popular images, like \"ubuntu\", \"debian\", but they will be refreshed at the time you attempt to use them. If you built an image in a previous build step, it will be stored in the host's Docker daemon's cache and is available to use as the name for a later build step.", +"type": "string" +}, +"pullTiming": { +"$ref": "TimeSpan", +"description": "Output only. Stores timing information for pulling this build step's builder image only." +}, +"remoteConfig": { +"description": "Remote configuration for the build step.", +"type": "string" +}, +"results": { +"items": { +"$ref": "StepResult" +}, +"type": "array" +}, +"script": { +"description": "A shell script to be executed in the step. When script is provided, the user cannot specify the entrypoint or args.", +"type": "string" +}, +"secretEnv": { +"description": "A list of environment variables which are encrypted using a Cloud Key Management Service crypto key. These values must be specified in the build's `Secret`.", +"items": { +"type": "string" +}, +"type": "array" +}, +"status": { +"description": "Output only. Status of the build step. At this time, build step status is only updated on build completion; step status is not updated in real-time as the build progresses.", +"enum": [ +"STATUS_UNKNOWN", +"PENDING", +"QUEUING", +"QUEUED", +"WORKING", +"SUCCESS", +"FAILURE", +"INTERNAL_ERROR", +"TIMEOUT", +"CANCELLED", +"EXPIRED" +], +"enumDescriptions": [ +"Status of the build is unknown.", +"Build has been created and is pending execution and queuing. It has not been queued.", +"Build has been received and is being queued.", +"Build or step is queued; work has not yet begun.", +"Build or step is being executed.", +"Build or step finished successfully.", +"Build or step failed to complete successfully.", +"Build or step failed due to an internal cause.", +"Build or step took longer than was allowed.", +"Build or step was canceled by a user.", +"Build was enqueued for longer than the value of `queue_ttl`." +], +"type": "string" +}, +"timeout": { +"description": "Time limit for executing this build step. If not defined, the step has no time limit and will be allowed to continue to run until either it completes or the build itself times out.", +"format": "google-duration", +"type": "string" +}, +"timing": { +"$ref": "TimeSpan", +"description": "Output only. Stores timing information for executing this build step." +}, +"volumes": { +"description": "List of volumes to mount into the build step. Each volume is created as an empty volume prior to execution of the build step. Upon completion of the build, volumes and their contents are discarded. Using a named volume in only one step is not valid as it is indicative of a build request with an incorrect configuration.", +"items": { +"$ref": "Volume" +}, +"type": "array" +}, +"waitFor": { +"description": "The ID(s) of the step(s) that this build step depends on. This build step will not start until all the build steps in `wait_for` have completed successfully. If `wait_for` is empty, this build step will start when all previous build steps in the `Build.Steps` list have completed successfully.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ByProducts": { +"description": "Defines an object for the byproducts field in in-toto links. The suggested fields are \"stderr\", \"stdout\", and \"return-value\".", +"id": "ByProducts", +"properties": { +"customValues": { +"additionalProperties": { +"type": "string" +}, +"type": "object" +} +}, +"type": "object" +}, +"CVSS": { +"description": "Common Vulnerability Scoring System. This message is compatible with CVSS v2 and v3. For CVSS v2 details, see https://www.first.org/cvss/v2/guide CVSS v2 calculator: https://nvd.nist.gov/vuln-metrics/cvss/v2-calculator For CVSS v3 details, see https://www.first.org/cvss/specification-document CVSS v3 calculator: https://nvd.nist.gov/vuln-metrics/cvss/v3-calculator", +"id": "CVSS", +"properties": { +"attackComplexity": { +"description": "Defined in CVSS v3, CVSS v2", +"enum": [ +"ATTACK_COMPLEXITY_UNSPECIFIED", +"ATTACK_COMPLEXITY_LOW", +"ATTACK_COMPLEXITY_HIGH", +"ATTACK_COMPLEXITY_MEDIUM" +], +"enumDescriptions": [ +"Defined in CVSS v3, CVSS v2", +"Defined in CVSS v3, CVSS v2", +"Defined in CVSS v3, CVSS v2", +"Defined in CVSS v2" +], +"type": "string" +}, +"attackVector": { +"description": "Base Metrics Represents the intrinsic characteristics of a vulnerability that are constant over time and across user environments. Defined in CVSS v3, CVSS v2", +"enum": [ +"ATTACK_VECTOR_UNSPECIFIED", +"ATTACK_VECTOR_NETWORK", +"ATTACK_VECTOR_ADJACENT", +"ATTACK_VECTOR_LOCAL", +"ATTACK_VECTOR_PHYSICAL" +], +"enumDescriptions": [ +"Defined in CVSS v3, CVSS v2", +"Defined in CVSS v3, CVSS v2", +"Defined in CVSS v3, CVSS v2", +"Defined in CVSS v3, CVSS v2", +"Defined in CVSS v3" +], +"type": "string" +}, +"authentication": { +"description": "Defined in CVSS v2", +"enum": [ +"AUTHENTICATION_UNSPECIFIED", +"AUTHENTICATION_MULTIPLE", +"AUTHENTICATION_SINGLE", +"AUTHENTICATION_NONE" +], +"enumDescriptions": [ +"Defined in CVSS v2", +"Defined in CVSS v2", +"Defined in CVSS v2", +"Defined in CVSS v2" +], +"type": "string" +}, +"availabilityImpact": { +"description": "Defined in CVSS v3, CVSS v2", +"enum": [ +"IMPACT_UNSPECIFIED", +"IMPACT_HIGH", +"IMPACT_LOW", +"IMPACT_NONE", +"IMPACT_PARTIAL", +"IMPACT_COMPLETE" +], +"enumDescriptions": [ +"Defined in CVSS v3, CVSS v2", +"Defined in CVSS v3", +"Defined in CVSS v3", +"Defined in CVSS v3, CVSS v2", +"Defined in CVSS v2", +"Defined in CVSS v2" +], +"type": "string" +}, +"baseScore": { +"description": "The base score is a function of the base metric scores.", +"format": "float", +"type": "number" +}, +"confidentialityImpact": { +"description": "Defined in CVSS v3, CVSS v2", +"enum": [ +"IMPACT_UNSPECIFIED", +"IMPACT_HIGH", +"IMPACT_LOW", +"IMPACT_NONE", +"IMPACT_PARTIAL", +"IMPACT_COMPLETE" +], +"enumDescriptions": [ +"Defined in CVSS v3, CVSS v2", +"Defined in CVSS v3", +"Defined in CVSS v3", +"Defined in CVSS v3, CVSS v2", +"Defined in CVSS v2", +"Defined in CVSS v2" +], +"type": "string" +}, +"exploitabilityScore": { +"format": "float", +"type": "number" +}, +"impactScore": { +"format": "float", +"type": "number" +}, +"integrityImpact": { +"description": "Defined in CVSS v3, CVSS v2", +"enum": [ +"IMPACT_UNSPECIFIED", +"IMPACT_HIGH", +"IMPACT_LOW", +"IMPACT_NONE", +"IMPACT_PARTIAL", +"IMPACT_COMPLETE" +], +"enumDescriptions": [ +"Defined in CVSS v3, CVSS v2", +"Defined in CVSS v3", +"Defined in CVSS v3", +"Defined in CVSS v3, CVSS v2", +"Defined in CVSS v2", +"Defined in CVSS v2" +], +"type": "string" +}, +"privilegesRequired": { +"description": "Defined in CVSS v3", +"enum": [ +"PRIVILEGES_REQUIRED_UNSPECIFIED", +"PRIVILEGES_REQUIRED_NONE", +"PRIVILEGES_REQUIRED_LOW", +"PRIVILEGES_REQUIRED_HIGH" +], +"enumDescriptions": [ +"Defined in CVSS v3", +"Defined in CVSS v3", +"Defined in CVSS v3", +"Defined in CVSS v3" +], +"type": "string" +}, +"scope": { +"description": "Defined in CVSS v3", +"enum": [ +"SCOPE_UNSPECIFIED", +"SCOPE_UNCHANGED", +"SCOPE_CHANGED" +], +"enumDescriptions": [ +"Defined in CVSS v3", +"Defined in CVSS v3", +"Defined in CVSS v3" +], +"type": "string" +}, +"userInteraction": { +"description": "Defined in CVSS v3", +"enum": [ +"USER_INTERACTION_UNSPECIFIED", +"USER_INTERACTION_NONE", +"USER_INTERACTION_REQUIRED" +], +"enumDescriptions": [ +"Defined in CVSS v3", +"Defined in CVSS v3", +"Defined in CVSS v3" +], +"type": "string" +} +}, +"type": "object" +}, +"CVSSv3": { +"description": "Deprecated. Common Vulnerability Scoring System version 3. For details, see https://www.first.org/cvss/specification-document", +"id": "CVSSv3", +"properties": { +"attackComplexity": { +"enum": [ +"ATTACK_COMPLEXITY_UNSPECIFIED", +"ATTACK_COMPLEXITY_LOW", +"ATTACK_COMPLEXITY_HIGH" +], +"enumDescriptions": [ +"", +"", +"" +], +"type": "string" +}, +"attackVector": { +"description": "Base Metrics Represents the intrinsic characteristics of a vulnerability that are constant over time and across user environments.", +"enum": [ +"ATTACK_VECTOR_UNSPECIFIED", +"ATTACK_VECTOR_NETWORK", +"ATTACK_VECTOR_ADJACENT", +"ATTACK_VECTOR_LOCAL", +"ATTACK_VECTOR_PHYSICAL" +], +"enumDescriptions": [ +"", +"", +"", +"", +"" +], +"type": "string" +}, +"availabilityImpact": { +"enum": [ +"IMPACT_UNSPECIFIED", +"IMPACT_HIGH", +"IMPACT_LOW", +"IMPACT_NONE" +], +"enumDescriptions": [ +"", +"", +"", +"" +], +"type": "string" +}, +"baseScore": { +"description": "The base score is a function of the base metric scores.", +"format": "float", +"type": "number" +}, +"confidentialityImpact": { +"enum": [ +"IMPACT_UNSPECIFIED", +"IMPACT_HIGH", +"IMPACT_LOW", +"IMPACT_NONE" +], +"enumDescriptions": [ +"", +"", +"", +"" +], +"type": "string" +}, +"exploitabilityScore": { +"format": "float", +"type": "number" +}, +"impactScore": { +"format": "float", +"type": "number" +}, +"integrityImpact": { +"enum": [ +"IMPACT_UNSPECIFIED", +"IMPACT_HIGH", +"IMPACT_LOW", +"IMPACT_NONE" +], +"enumDescriptions": [ +"", +"", +"", +"" +], +"type": "string" +}, +"privilegesRequired": { +"enum": [ +"PRIVILEGES_REQUIRED_UNSPECIFIED", +"PRIVILEGES_REQUIRED_NONE", +"PRIVILEGES_REQUIRED_LOW", +"PRIVILEGES_REQUIRED_HIGH" +], +"enumDescriptions": [ +"", +"", +"", +"" +], +"type": "string" +}, +"scope": { +"enum": [ +"SCOPE_UNSPECIFIED", +"SCOPE_UNCHANGED", +"SCOPE_CHANGED" +], +"enumDescriptions": [ +"", +"", +"" +], +"type": "string" +}, +"userInteraction": { +"enum": [ +"USER_INTERACTION_UNSPECIFIED", +"USER_INTERACTION_NONE", +"USER_INTERACTION_REQUIRED" +], +"enumDescriptions": [ +"", +"", +"" +], +"type": "string" +} +}, +"type": "object" +}, +"CloudRepoSourceContext": { +"description": "A CloudRepoSourceContext denotes a particular revision in a Google Cloud Source Repo.", +"id": "CloudRepoSourceContext", +"properties": { +"aliasContext": { +"$ref": "AliasContext", +"description": "An alias, which may be a branch or tag." +}, +"repoId": { +"$ref": "RepoId", +"description": "The ID of the repo." +}, +"revisionId": { +"description": "A revision ID.", +"type": "string" +} +}, +"type": "object" +}, +"Command": { +"description": "Command describes a step performed as part of the build pipeline.", +"id": "Command", +"properties": { +"args": { +"description": "Command-line arguments used when executing this command.", +"items": { +"type": "string" +}, +"type": "array" +}, +"dir": { +"description": "Working directory (relative to project source root) used when running this command.", +"type": "string" +}, +"env": { +"description": "Environment variables set before running this command.", +"items": { +"type": "string" +}, +"type": "array" +}, +"id": { +"description": "Optional unique identifier for this command, used in wait_for to reference this command as a dependency.", +"type": "string" +}, +"name": { +"description": "Required. Name of the command, as presented on the command line, or if the command is packaged as a Docker container, as presented to `docker pull`.", +"type": "string" +}, +"waitFor": { +"description": "The ID(s) of the command(s) that this command depends on.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ContaineranalysisGoogleDevtoolsCloudbuildV1ApprovalConfig": { +"description": "ApprovalConfig describes configuration for manual approval of a build.", +"id": "ContaineranalysisGoogleDevtoolsCloudbuildV1ApprovalConfig", +"properties": { +"approvalRequired": { +"description": "Whether or not approval is needed. If this is set on a build, it will become pending when created, and will need to be explicitly approved to start.", +"type": "boolean" +} +}, +"type": "object" +}, +"ContaineranalysisGoogleDevtoolsCloudbuildV1ApprovalResult": { +"description": "ApprovalResult describes the decision and associated metadata of a manual approval of a build.", +"id": "ContaineranalysisGoogleDevtoolsCloudbuildV1ApprovalResult", +"properties": { +"approvalTime": { +"description": "Output only. The time when the approval decision was made.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"approverAccount": { +"description": "Output only. Email of the user that called the ApproveBuild API to approve or reject a build at the time that the API was called.", +"readOnly": true, +"type": "string" +}, +"comment": { +"description": "Optional. An optional comment for this manual approval result.", +"type": "string" +}, +"decision": { +"description": "Required. The decision of this manual approval.", +"enum": [ +"DECISION_UNSPECIFIED", +"APPROVED", +"REJECTED" +], +"enumDescriptions": [ +"Default enum type. This should not be used.", +"Build is approved.", +"Build is rejected." +], +"type": "string" +}, +"url": { +"description": "Optional. An optional URL tied to this manual approval result. This field is essentially the same as comment, except that it will be rendered by the UI differently. An example use case is a link to an external job that approved this Build.", +"type": "string" +} +}, +"type": "object" +}, +"ContaineranalysisGoogleDevtoolsCloudbuildV1Artifacts": { +"description": "Artifacts produced by a build that should be uploaded upon successful completion of all build steps.", +"id": "ContaineranalysisGoogleDevtoolsCloudbuildV1Artifacts", +"properties": { +"goModules": { +"description": "Optional. A list of Go modules to be uploaded to Artifact Registry upon successful completion of all build steps. If any objects fail to be pushed, the build is marked FAILURE.", +"items": { +"$ref": "ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsGoModule" +}, +"type": "array" +}, +"images": { +"description": "A list of images to be pushed upon the successful completion of all build steps. The images will be pushed using the builder service account's credentials. The digests of the pushed images will be stored in the Build resource's results field. If any of the images fail to be pushed, the build is marked FAILURE.", +"items": { +"type": "string" +}, +"type": "array" +}, +"mavenArtifacts": { +"description": "A list of Maven artifacts to be uploaded to Artifact Registry upon successful completion of all build steps. Artifacts in the workspace matching specified paths globs will be uploaded to the specified Artifact Registry repository using the builder service account's credentials. If any artifacts fail to be pushed, the build is marked FAILURE.", +"items": { +"$ref": "ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsMavenArtifact" +}, +"type": "array" +}, +"npmPackages": { +"description": "A list of npm packages to be uploaded to Artifact Registry upon successful completion of all build steps. Npm packages in the specified paths will be uploaded to the specified Artifact Registry repository using the builder service account's credentials. If any packages fail to be pushed, the build is marked FAILURE.", +"items": { +"$ref": "ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsNpmPackage" +}, +"type": "array" +}, +"objects": { +"$ref": "ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsArtifactObjects", +"description": "A list of objects to be uploaded to Cloud Storage upon successful completion of all build steps. Files in the workspace matching specified paths globs will be uploaded to the specified Cloud Storage location using the builder service account's credentials. The location and generation of the uploaded objects will be stored in the Build resource's results field. If any objects fail to be pushed, the build is marked FAILURE." +}, +"pythonPackages": { +"description": "A list of Python packages to be uploaded to Artifact Registry upon successful completion of all build steps. The build service account credentials will be used to perform the upload. If any objects fail to be pushed, the build is marked FAILURE.", +"items": { +"$ref": "ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsPythonPackage" +}, +"type": "array" +} +}, +"type": "object" +}, +"ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsArtifactObjects": { +"description": "Files in the workspace to upload to Cloud Storage upon successful completion of all build steps.", +"id": "ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsArtifactObjects", +"properties": { +"location": { +"description": "Cloud Storage bucket and optional object path, in the form \"gs://bucket/path/to/somewhere/\". (see [Bucket Name Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)). Files in the workspace matching any path pattern will be uploaded to Cloud Storage with this location as a prefix.", +"type": "string" +}, +"paths": { +"description": "Path globs used to match files in the build's workspace.", +"items": { +"type": "string" +}, +"type": "array" +}, +"timing": { +"$ref": "ContaineranalysisGoogleDevtoolsCloudbuildV1TimeSpan", +"description": "Output only. Stores timing information for pushing all artifact objects.", +"readOnly": true +} +}, +"type": "object" +}, +"ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsGoModule": { +"description": "Go module to upload to Artifact Registry upon successful completion of all build steps. A module refers to all dependencies in a go.mod file.", +"id": "ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsGoModule", +"properties": { +"modulePath": { +"description": "Optional. The Go module's \"module path\". e.g. example.com/foo/v2", +"type": "string" +}, +"moduleVersion": { +"description": "Optional. The Go module's semantic version in the form vX.Y.Z. e.g. v0.1.1 Pre-release identifiers can also be added by appending a dash and dot separated ASCII alphanumeric characters and hyphens. e.g. v0.2.3-alpha.x.12m.5", +"type": "string" +}, +"repositoryLocation": { +"description": "Optional. Location of the Artifact Registry repository. i.e. us-east1 Defaults to the build\u2019s location.", +"type": "string" +}, +"repositoryName": { +"description": "Optional. Artifact Registry repository name. Specified Go modules will be zipped and uploaded to Artifact Registry with this location as a prefix. e.g. my-go-repo", +"type": "string" +}, +"repositoryProjectId": { +"description": "Optional. Project ID of the Artifact Registry repository. Defaults to the build project.", +"type": "string" +}, +"sourcePath": { +"description": "Optional. Source path of the go.mod file in the build's workspace. If not specified, this will default to the current directory. e.g. ~/code/go/mypackage", +"type": "string" +} +}, +"type": "object" +}, +"ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsMavenArtifact": { +"description": "A Maven artifact to upload to Artifact Registry upon successful completion of all build steps.", +"id": "ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsMavenArtifact", +"properties": { +"artifactId": { +"description": "Maven `artifactId` value used when uploading the artifact to Artifact Registry.", +"type": "string" +}, +"deployFolder": { +"description": "Optional. Path to a folder containing the files to upload to Artifact Registry. This can be either an absolute path, e.g. `/workspace/my-app/target/`, or a relative path from /workspace, e.g. `my-app/target/`. This field is mutually exclusive with the `path` field.", +"type": "string" +}, +"groupId": { +"description": "Maven `groupId` value used when uploading the artifact to Artifact Registry.", +"type": "string" +}, +"path": { +"description": "Optional. Path to an artifact in the build's workspace to be uploaded to Artifact Registry. This can be either an absolute path, e.g. /workspace/my-app/target/my-app-1.0.SNAPSHOT.jar or a relative path from /workspace, e.g. my-app/target/my-app-1.0.SNAPSHOT.jar.", +"type": "string" +}, +"repository": { +"description": "Artifact Registry repository, in the form \"https://$REGION-maven.pkg.dev/$PROJECT/$REPOSITORY\" Artifact in the workspace specified by path will be uploaded to Artifact Registry with this location as a prefix.", +"type": "string" +}, +"version": { +"description": "Maven `version` value used when uploading the artifact to Artifact Registry.", +"type": "string" +} +}, +"type": "object" +}, +"ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsNpmPackage": { +"description": "Npm package to upload to Artifact Registry upon successful completion of all build steps.", +"id": "ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsNpmPackage", +"properties": { +"packagePath": { +"description": "Optional. Path to the package.json. e.g. workspace/path/to/package Only one of `archive` or `package_path` can be specified.", +"type": "string" +}, +"repository": { +"description": "Artifact Registry repository, in the form \"https://$REGION-npm.pkg.dev/$PROJECT/$REPOSITORY\" Npm package in the workspace specified by path will be zipped and uploaded to Artifact Registry with this location as a prefix.", +"type": "string" +} +}, +"type": "object" +}, +"ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsPythonPackage": { +"description": "Python package to upload to Artifact Registry upon successful completion of all build steps. A package can encapsulate multiple objects to be uploaded to a single repository.", +"id": "ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsPythonPackage", +"properties": { +"paths": { +"description": "Path globs used to match files in the build's workspace. For Python/ Twine, this is usually `dist/*`, and sometimes additionally an `.asc` file.", +"items": { +"type": "string" +}, +"type": "array" +}, +"repository": { +"description": "Artifact Registry repository, in the form \"https://$REGION-python.pkg.dev/$PROJECT/$REPOSITORY\" Files in the workspace matching any path pattern will be uploaded to Artifact Registry with this location as a prefix.", +"type": "string" +} +}, +"type": "object" +}, +"ContaineranalysisGoogleDevtoolsCloudbuildV1Build": { +"description": "A build resource in the Cloud Build API. At a high level, a `Build` describes where to find source code, how to build it (for example, the builder image to run on the source), and where to store the built artifacts. Fields can include the following variables, which will be expanded when the build is created: - $PROJECT_ID: the project ID of the build. - $PROJECT_NUMBER: the project number of the build. - $LOCATION: the location/region of the build. - $BUILD_ID: the autogenerated ID of the build. - $REPO_NAME: the source repository name specified by RepoSource. - $BRANCH_NAME: the branch name specified by RepoSource. - $TAG_NAME: the tag name specified by RepoSource. - $REVISION_ID or $COMMIT_SHA: the commit SHA specified by RepoSource or resolved from the specified branch or tag. - $SHORT_SHA: first 7 characters of $REVISION_ID or $COMMIT_SHA.", +"id": "ContaineranalysisGoogleDevtoolsCloudbuildV1Build", +"properties": { +"approval": { +"$ref": "ContaineranalysisGoogleDevtoolsCloudbuildV1BuildApproval", +"description": "Output only. Describes this build's approval configuration, status, and result.", +"readOnly": true +}, +"artifacts": { +"$ref": "ContaineranalysisGoogleDevtoolsCloudbuildV1Artifacts", +"description": "Artifacts produced by the build that should be uploaded upon successful completion of all build steps." +}, +"availableSecrets": { +"$ref": "ContaineranalysisGoogleDevtoolsCloudbuildV1Secrets", +"description": "Secrets and secret environment variables." +}, +"buildTriggerId": { +"description": "Output only. The ID of the `BuildTrigger` that triggered this build, if it was triggered automatically.", +"readOnly": true, +"type": "string" +}, +"createTime": { +"description": "Output only. Time at which the request to create the build was received.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"dependencies": { +"description": "Optional. Dependencies that the Cloud Build worker will fetch before executing user steps.", +"items": { +"$ref": "ContaineranalysisGoogleDevtoolsCloudbuildV1Dependency" +}, +"type": "array" +}, +"failureInfo": { +"$ref": "ContaineranalysisGoogleDevtoolsCloudbuildV1BuildFailureInfo", +"description": "Output only. Contains information about the build when status=FAILURE.", +"readOnly": true +}, +"finishTime": { +"description": "Output only. Time at which execution of the build was finished. The difference between finish_time and start_time is the duration of the build's execution.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"gitConfig": { +"$ref": "ContaineranalysisGoogleDevtoolsCloudbuildV1GitConfig", +"description": "Optional. Configuration for git operations." +}, +"id": { +"description": "Output only. Unique identifier of the build.", +"readOnly": true, +"type": "string" +}, +"images": { +"description": "A list of images to be pushed upon the successful completion of all build steps. The images are pushed using the builder service account's credentials. The digests of the pushed images will be stored in the `Build` resource's results field. If any of the images fail to be pushed, the build status is marked `FAILURE`.", +"items": { +"type": "string" +}, +"type": "array" +}, +"logUrl": { +"description": "Output only. URL to logs for this build in Google Cloud Console.", +"readOnly": true, +"type": "string" +}, +"logsBucket": { +"description": "Cloud Storage bucket where logs should be written (see [Bucket Name Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)). Logs file names will be of the format `${logs_bucket}/log-${build_id}.txt`.", +"type": "string" +}, +"name": { +"description": "Output only. The 'Build' name with format: `projects/{project}/locations/{location}/builds/{build}`, where {build} is a unique identifier generated by the service.", +"readOnly": true, +"type": "string" +}, +"options": { +"$ref": "ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptions", +"description": "Special options for this build." +}, +"projectId": { +"description": "Output only. ID of the project.", +"readOnly": true, +"type": "string" +}, +"queueTtl": { +"description": "TTL in queue for this build. If provided and the build is enqueued longer than this value, the build will expire and the build status will be `EXPIRED`. The TTL starts ticking from create_time.", +"format": "google-duration", +"type": "string" +}, +"results": { +"$ref": "ContaineranalysisGoogleDevtoolsCloudbuildV1Results", +"description": "Output only. Results of the build.", +"readOnly": true +}, +"secrets": { +"description": "Secrets to decrypt using Cloud Key Management Service. Note: Secret Manager is the recommended technique for managing sensitive data with Cloud Build. Use `available_secrets` to configure builds to access secrets from Secret Manager. For instructions, see: https://cloud.google.com/cloud-build/docs/securing-builds/use-secrets", +"items": { +"$ref": "ContaineranalysisGoogleDevtoolsCloudbuildV1Secret" +}, +"type": "array" +}, +"serviceAccount": { +"description": "IAM service account whose credentials will be used at build runtime. Must be of the format `projects/{PROJECT_ID}/serviceAccounts/{ACCOUNT}`. ACCOUNT can be email address or uniqueId of the service account. ", +"type": "string" +}, +"source": { +"$ref": "ContaineranalysisGoogleDevtoolsCloudbuildV1Source", +"description": "Optional. The location of the source files to build." +}, +"sourceProvenance": { +"$ref": "ContaineranalysisGoogleDevtoolsCloudbuildV1SourceProvenance", +"description": "Output only. A permanent fixed identifier for source.", +"readOnly": true +}, +"startTime": { +"description": "Output only. Time at which execution of the build was started.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"status": { +"description": "Output only. Status of the build.", +"enum": [ +"STATUS_UNKNOWN", +"PENDING", +"QUEUED", +"WORKING", +"SUCCESS", +"FAILURE", +"INTERNAL_ERROR", +"TIMEOUT", +"CANCELLED", +"EXPIRED" +], +"enumDescriptions": [ +"Status of the build is unknown.", +"Build has been created and is pending execution and queuing. It has not been queued.", +"Build or step is queued; work has not yet begun.", +"Build or step is being executed.", +"Build or step finished successfully.", +"Build or step failed to complete successfully.", +"Build or step failed due to an internal cause.", +"Build or step took longer than was allowed.", +"Build or step was canceled by a user.", +"Build was enqueued for longer than the value of `queue_ttl`." +], +"readOnly": true, +"type": "string" +}, +"statusDetail": { +"description": "Output only. Customer-readable message about the current status.", +"readOnly": true, +"type": "string" +}, +"steps": { +"description": "Required. The operations to be performed on the workspace.", +"items": { +"$ref": "ContaineranalysisGoogleDevtoolsCloudbuildV1BuildStep" +}, +"type": "array" +}, +"substitutions": { +"additionalProperties": { +"type": "string" +}, +"description": "Substitutions data for `Build` resource.", +"type": "object" +}, +"tags": { +"description": "Tags for annotation of a `Build`. These are not docker tags.", +"items": { +"type": "string" +}, +"type": "array" +}, +"timeout": { +"description": "Amount of time that this build should be allowed to run, to second granularity. If this amount of time elapses, work on the build will cease and the build status will be `TIMEOUT`. `timeout` starts ticking from `startTime`. Default time is 60 minutes.", +"format": "google-duration", +"type": "string" +}, +"timing": { +"additionalProperties": { +"$ref": "ContaineranalysisGoogleDevtoolsCloudbuildV1TimeSpan" +}, +"description": "Output only. Stores timing information for phases of the build. Valid keys are: * BUILD: time to execute all build steps. * PUSH: time to push all artifacts including docker images and non docker artifacts. * FETCHSOURCE: time to fetch source. * SETUPBUILD: time to set up build. If the build does not specify source or images, these keys will not be included.", +"readOnly": true, +"type": "object" +}, +"warnings": { +"description": "Output only. Non-fatal problems encountered during the execution of the build.", +"items": { +"$ref": "ContaineranalysisGoogleDevtoolsCloudbuildV1BuildWarning" +}, +"readOnly": true, +"type": "array" +} +}, +"type": "object" +}, +"ContaineranalysisGoogleDevtoolsCloudbuildV1BuildApproval": { +"description": "BuildApproval describes a build's approval configuration, state, and result.", +"id": "ContaineranalysisGoogleDevtoolsCloudbuildV1BuildApproval", +"properties": { +"config": { +"$ref": "ContaineranalysisGoogleDevtoolsCloudbuildV1ApprovalConfig", +"description": "Output only. Configuration for manual approval of this build.", +"readOnly": true +}, +"result": { +"$ref": "ContaineranalysisGoogleDevtoolsCloudbuildV1ApprovalResult", +"description": "Output only. Result of manual approval for this Build.", +"readOnly": true +}, +"state": { +"description": "Output only. The state of this build's approval.", +"enum": [ +"STATE_UNSPECIFIED", +"PENDING", +"APPROVED", +"REJECTED", +"CANCELLED" +], +"enumDescriptions": [ +"Default enum type. This should not be used.", +"Build approval is pending.", +"Build approval has been approved.", +"Build approval has been rejected.", +"Build was cancelled while it was still pending approval." +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"ContaineranalysisGoogleDevtoolsCloudbuildV1BuildFailureInfo": { +"description": "A fatal problem encountered during the execution of the build.", +"id": "ContaineranalysisGoogleDevtoolsCloudbuildV1BuildFailureInfo", +"properties": { +"detail": { +"description": "Explains the failure issue in more detail using hard-coded text.", +"type": "string" +}, +"type": { +"description": "The name of the failure.", +"enum": [ +"FAILURE_TYPE_UNSPECIFIED", +"PUSH_FAILED", +"PUSH_IMAGE_NOT_FOUND", +"PUSH_NOT_AUTHORIZED", +"LOGGING_FAILURE", +"USER_BUILD_STEP", +"FETCH_SOURCE_FAILED" +], +"enumDescriptions": [ +"Type unspecified", +"Unable to push the image to the repository.", +"Final image not found.", +"Unauthorized push of the final image.", +"Backend logging failures. Should retry.", +"A build step has failed.", +"The source fetching has failed." +], +"type": "string" +} +}, +"type": "object" +}, +"ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptions": { +"description": "Optional arguments to enable specific features of builds.", +"id": "ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptions", +"properties": { +"automapSubstitutions": { +"description": "Option to include built-in and custom substitutions as env variables for all build steps.", +"type": "boolean" +}, +"defaultLogsBucketBehavior": { +"description": "Optional. Option to specify how default logs buckets are setup.", +"enum": [ +"DEFAULT_LOGS_BUCKET_BEHAVIOR_UNSPECIFIED", +"REGIONAL_USER_OWNED_BUCKET", +"LEGACY_BUCKET" +], +"enumDescriptions": [ +"Unspecified.", +"Bucket is located in user-owned project in the same region as the build. The builder service account must have access to create and write to Cloud Storage buckets in the build project.", +"Bucket is located in a Google-owned project and is not regionalized." +], +"type": "string" +}, +"diskSizeGb": { +"description": "Requested disk size for the VM that runs the build. Note that this is *NOT* \"disk free\"; some of the space will be used by the operating system and build utilities. Also note that this is the minimum disk size that will be allocated for the build -- the build may run with a larger disk than requested. At present, the maximum disk size is 4000GB; builds that request more than the maximum are rejected with an error.", +"format": "int64", +"type": "string" +}, +"dynamicSubstitutions": { +"description": "Option to specify whether or not to apply bash style string operations to the substitutions. NOTE: this is always enabled for triggered builds and cannot be overridden in the build configuration file.", +"type": "boolean" +}, +"enableStructuredLogging": { +"description": "Optional. Option to specify whether structured logging is enabled. If true, JSON-formatted logs are parsed as structured logs.", +"type": "boolean" +}, +"env": { +"description": "A list of global environment variable definitions that will exist for all build steps in this build. If a variable is defined in both globally and in a build step, the variable will use the build step value. The elements are of the form \"KEY=VALUE\" for the environment variable \"KEY\" being given the value \"VALUE\".", +"items": { +"type": "string" +}, +"type": "array" +}, +"logStreamingOption": { +"description": "Option to define build log streaming behavior to Cloud Storage.", +"enum": [ +"STREAM_DEFAULT", +"STREAM_ON", +"STREAM_OFF" +], +"enumDescriptions": [ +"Service may automatically determine build log streaming behavior.", +"Build logs should be streamed to Cloud Storage.", +"Build logs should not be streamed to Cloud Storage; they will be written when the build is completed." +], +"type": "string" +}, +"logging": { +"description": "Option to specify the logging mode, which determines if and where build logs are stored.", +"enum": [ +"LOGGING_UNSPECIFIED", +"LEGACY", +"GCS_ONLY", +"STACKDRIVER_ONLY", +"CLOUD_LOGGING_ONLY", +"NONE" +], +"enumDeprecated": [ +false, +false, +false, +true, +false, +false +], +"enumDescriptions": [ +"The service determines the logging mode. The default is `LEGACY`. Do not rely on the default logging behavior as it may change in the future.", +"Build logs are stored in Cloud Logging and Cloud Storage.", +"Build logs are stored in Cloud Storage.", +"This option is the same as CLOUD_LOGGING_ONLY.", +"Build logs are stored in Cloud Logging. Selecting this option will not allow [logs streaming](https://cloud.google.com/sdk/gcloud/reference/builds/log).", +"Turn off all logging. No build logs will be captured." +], +"type": "string" +}, +"machineType": { +"description": "Compute Engine machine type on which to run the build.", +"enum": [ +"UNSPECIFIED", +"N1_HIGHCPU_8", +"N1_HIGHCPU_32", +"E2_HIGHCPU_8", +"E2_HIGHCPU_32", +"E2_MEDIUM" +], +"enumDeprecated": [ +false, +true, +true, +false, +false, +false +], +"enumDescriptions": [ +"Standard machine type.", +"Highcpu machine with 8 CPUs.", +"Highcpu machine with 32 CPUs.", +"Highcpu e2 machine with 8 CPUs.", +"Highcpu e2 machine with 32 CPUs.", +"E2 machine with 1 CPU." +], +"type": "string" +}, +"pool": { +"$ref": "ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptionsPoolOption", +"description": "Optional. Specification for execution on a `WorkerPool`. See [running builds in a private pool](https://cloud.google.com/build/docs/private-pools/run-builds-in-private-pool) for more information." +}, +"pubsubTopic": { +"description": "Optional. Option to specify the Pub/Sub topic to receive build status updates.", +"type": "string" +}, +"requestedVerifyOption": { +"description": "Requested verifiability options.", +"enum": [ +"NOT_VERIFIED", +"VERIFIED" +], +"enumDescriptions": [ +"Not a verifiable build (the default).", +"Build must be verified." +], +"type": "string" +}, +"secretEnv": { +"description": "A list of global environment variables, which are encrypted using a Cloud Key Management Service crypto key. These values must be specified in the build's `Secret`. These variables will be available to all build steps in this build.", +"items": { +"type": "string" +}, +"type": "array" +}, +"sourceProvenanceHash": { +"description": "Requested hash for SourceProvenance.", +"items": { +"enum": [ +"NONE", +"SHA256", +"MD5", +"GO_MODULE_H1", +"SHA512" +], +"enumDescriptions": [ +"No hash requested.", +"Use a sha256 hash.", +"Use a md5 hash.", +"Dirhash of a Go module's source code which is then hex-encoded.", +"Use a sha512 hash." +], +"type": "string" +}, +"type": "array" +}, +"substitutionOption": { +"description": "Option to specify behavior when there is an error in the substitution checks. NOTE: this is always set to ALLOW_LOOSE for triggered builds and cannot be overridden in the build configuration file.", +"enum": [ +"MUST_MATCH", +"ALLOW_LOOSE" +], +"enumDescriptions": [ +"Fails the build if error in substitutions checks, like missing a substitution in the template or in the map.", +"Do not fail the build if error in substitutions checks." +], +"type": "string" +}, +"volumes": { +"description": "Global list of volumes to mount for ALL build steps Each volume is created as an empty volume prior to starting the build process. Upon completion of the build, volumes and their contents are discarded. Global volume names and paths cannot conflict with the volumes defined a build step. Using a global volume in a build with only one step is not valid as it is indicative of a build request with an incorrect configuration.", +"items": { +"$ref": "ContaineranalysisGoogleDevtoolsCloudbuildV1Volume" +}, +"type": "array" +}, +"workerPool": { +"deprecated": true, +"description": "This field deprecated; please use `pool.name` instead.", +"type": "string" +} +}, +"type": "object" +}, +"ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptionsPoolOption": { +"description": "Details about how a build should be executed on a `WorkerPool`. See [running builds in a private pool](https://cloud.google.com/build/docs/private-pools/run-builds-in-private-pool) for more information.", +"id": "ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptionsPoolOption", +"properties": { +"name": { +"description": "The `WorkerPool` resource to execute the build on. You must have `cloudbuild.workerpools.use` on the project hosting the WorkerPool. Format projects/{project}/locations/{location}/workerPools/{workerPoolId}", +"type": "string" +} +}, +"type": "object" +}, +"ContaineranalysisGoogleDevtoolsCloudbuildV1BuildStep": { +"description": "A step in the build pipeline.", +"id": "ContaineranalysisGoogleDevtoolsCloudbuildV1BuildStep", +"properties": { +"allowExitCodes": { +"description": "Allow this build step to fail without failing the entire build if and only if the exit code is one of the specified codes. If allow_failure is also specified, this field will take precedence.", +"items": { +"format": "int32", +"type": "integer" +}, +"type": "array" +}, +"allowFailure": { +"description": "Allow this build step to fail without failing the entire build. If false, the entire build will fail if this step fails. Otherwise, the build will succeed, but this step will still have a failure status. Error information will be reported in the failure_detail field.", +"type": "boolean" +}, +"args": { +"description": "A list of arguments that will be presented to the step when it is started. If the image used to run the step's container has an entrypoint, the `args` are used as arguments to that entrypoint. If the image does not define an entrypoint, the first element in args is used as the entrypoint, and the remainder will be used as arguments.", +"items": { +"type": "string" +}, +"type": "array" +}, +"automapSubstitutions": { +"description": "Option to include built-in and custom substitutions as env variables for this build step. This option will override the global option in BuildOption.", +"type": "boolean" +}, +"dir": { +"description": "Working directory to use when running this step's container. If this value is a relative path, it is relative to the build's working directory. If this value is absolute, it may be outside the build's working directory, in which case the contents of the path may not be persisted across build step executions, unless a `volume` for that path is specified. If the build specifies a `RepoSource` with `dir` and a step with a `dir`, which specifies an absolute path, the `RepoSource` `dir` is ignored for the step's execution.", +"type": "string" +}, +"entrypoint": { +"description": "Entrypoint to be used instead of the build step image's default entrypoint. If unset, the image's default entrypoint is used.", +"type": "string" +}, +"env": { +"description": "A list of environment variable definitions to be used when running a step. The elements are of the form \"KEY=VALUE\" for the environment variable \"KEY\" being given the value \"VALUE\".", +"items": { +"type": "string" +}, +"type": "array" +}, +"exitCode": { +"description": "Output only. Return code from running the step.", +"format": "int32", +"readOnly": true, +"type": "integer" +}, +"id": { +"description": "Unique identifier for this build step, used in `wait_for` to reference this build step as a dependency.", +"type": "string" +}, +"name": { +"description": "Required. The name of the container image that will run this particular build step. If the image is available in the host's Docker daemon's cache, it will be run directly. If not, the host will attempt to pull the image first, using the builder service account's credentials if necessary. The Docker daemon's cache will already have the latest versions of all of the officially supported build steps ([https://github.com/GoogleCloudPlatform/cloud-builders](https://github.com/GoogleCloudPlatform/cloud-builders)). The Docker daemon will also have cached many of the layers for some popular images, like \"ubuntu\", \"debian\", but they will be refreshed at the time you attempt to use them. If you built an image in a previous build step, it will be stored in the host's Docker daemon's cache and is available to use as the name for a later build step.", +"type": "string" +}, +"pullTiming": { +"$ref": "ContaineranalysisGoogleDevtoolsCloudbuildV1TimeSpan", +"description": "Output only. Stores timing information for pulling this build step's builder image only.", +"readOnly": true +}, +"script": { +"description": "A shell script to be executed in the step. When script is provided, the user cannot specify the entrypoint or args.", +"type": "string" +}, +"secretEnv": { +"description": "A list of environment variables which are encrypted using a Cloud Key Management Service crypto key. These values must be specified in the build's `Secret`.", +"items": { +"type": "string" +}, +"type": "array" +}, +"status": { +"description": "Output only. Status of the build step. At this time, build step status is only updated on build completion; step status is not updated in real-time as the build progresses.", +"enum": [ +"STATUS_UNKNOWN", +"PENDING", +"QUEUED", +"WORKING", +"SUCCESS", +"FAILURE", +"INTERNAL_ERROR", +"TIMEOUT", +"CANCELLED", +"EXPIRED" +], +"enumDescriptions": [ +"Status of the build is unknown.", +"Build has been created and is pending execution and queuing. It has not been queued.", +"Build or step is queued; work has not yet begun.", +"Build or step is being executed.", +"Build or step finished successfully.", +"Build or step failed to complete successfully.", +"Build or step failed due to an internal cause.", +"Build or step took longer than was allowed.", +"Build or step was canceled by a user.", +"Build was enqueued for longer than the value of `queue_ttl`." +], +"readOnly": true, +"type": "string" +}, +"timeout": { +"description": "Time limit for executing this build step. If not defined, the step has no time limit and will be allowed to continue to run until either it completes or the build itself times out.", +"format": "google-duration", +"type": "string" +}, +"timing": { +"$ref": "ContaineranalysisGoogleDevtoolsCloudbuildV1TimeSpan", +"description": "Output only. Stores timing information for executing this build step.", +"readOnly": true +}, +"volumes": { +"description": "List of volumes to mount into the build step. Each volume is created as an empty volume prior to execution of the build step. Upon completion of the build, volumes and their contents are discarded. Using a named volume in only one step is not valid as it is indicative of a build request with an incorrect configuration.", +"items": { +"$ref": "ContaineranalysisGoogleDevtoolsCloudbuildV1Volume" +}, +"type": "array" +}, +"waitFor": { +"description": "The ID(s) of the step(s) that this build step depends on. This build step will not start until all the build steps in `wait_for` have completed successfully. If `wait_for` is empty, this build step will start when all previous build steps in the `Build.Steps` list have completed successfully.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ContaineranalysisGoogleDevtoolsCloudbuildV1BuildWarning": { +"description": "A non-fatal problem encountered during the execution of the build.", +"id": "ContaineranalysisGoogleDevtoolsCloudbuildV1BuildWarning", +"properties": { +"priority": { +"description": "The priority for this warning.", +"enum": [ +"PRIORITY_UNSPECIFIED", +"INFO", +"WARNING", +"ALERT" +], +"enumDescriptions": [ +"Should not be used.", +"e.g. deprecation warnings and alternative feature highlights.", +"e.g. automated detection of possible issues with the build.", +"e.g. alerts that a feature used in the build is pending removal" +], +"type": "string" +}, +"text": { +"description": "Explanation of the warning generated.", +"type": "string" +} +}, +"type": "object" +}, +"ContaineranalysisGoogleDevtoolsCloudbuildV1BuiltImage": { +"description": "An image built by the pipeline.", +"id": "ContaineranalysisGoogleDevtoolsCloudbuildV1BuiltImage", +"properties": { +"artifactRegistryPackage": { +"description": "Output only. Path to the artifact in Artifact Registry.", +"readOnly": true, +"type": "string" +}, +"digest": { +"description": "Docker Registry 2.0 digest.", +"type": "string" +}, +"name": { +"description": "Name used to push the container image to Google Container Registry, as presented to `docker push`.", +"type": "string" +}, +"pushTiming": { +"$ref": "ContaineranalysisGoogleDevtoolsCloudbuildV1TimeSpan", +"description": "Output only. Stores timing information for pushing the specified image.", +"readOnly": true +} +}, +"type": "object" +}, +"ContaineranalysisGoogleDevtoolsCloudbuildV1ConnectedRepository": { +"description": "Location of the source in a 2nd-gen Google Cloud Build repository resource.", +"id": "ContaineranalysisGoogleDevtoolsCloudbuildV1ConnectedRepository", +"properties": { +"dir": { +"description": "Optional. Directory, relative to the source root, in which to run the build.", +"type": "string" +}, +"repository": { +"description": "Required. Name of the Google Cloud Build repository, formatted as `projects/*/locations/*/connections/*/repositories/*`.", +"type": "string" +}, +"revision": { +"description": "Required. The revision to fetch from the Git repository such as a branch, a tag, a commit SHA, or any Git ref.", +"type": "string" +} +}, +"type": "object" +}, +"ContaineranalysisGoogleDevtoolsCloudbuildV1Dependency": { +"description": "A dependency that the Cloud Build worker will fetch before executing user steps.", +"id": "ContaineranalysisGoogleDevtoolsCloudbuildV1Dependency", +"properties": { +"empty": { +"description": "If set to true disable all dependency fetching (ignoring the default source as well).", +"type": "boolean" +}, +"gitSource": { +"$ref": "ContaineranalysisGoogleDevtoolsCloudbuildV1DependencyGitSourceDependency", +"description": "Represents a git repository as a build dependency." +} +}, +"type": "object" +}, +"ContaineranalysisGoogleDevtoolsCloudbuildV1DependencyGitSourceDependency": { +"description": "Represents a git repository as a build dependency.", +"id": "ContaineranalysisGoogleDevtoolsCloudbuildV1DependencyGitSourceDependency", +"properties": { +"depth": { +"description": "Optional. How much history should be fetched for the build (default 1, -1 for all history).", +"format": "int64", +"type": "string" +}, +"destPath": { +"description": "Required. Where should the files be placed on the worker.", +"type": "string" +}, +"recurseSubmodules": { +"description": "Optional. True if submodules should be fetched too (default false).", +"type": "boolean" +}, +"repository": { +"$ref": "ContaineranalysisGoogleDevtoolsCloudbuildV1DependencyGitSourceRepository", +"description": "Required. The kind of repo (url or dev connect)." +}, +"revision": { +"description": "Required. The revision that we will fetch the repo at.", +"type": "string" +} +}, +"type": "object" +}, +"ContaineranalysisGoogleDevtoolsCloudbuildV1DependencyGitSourceRepository": { +"description": "A repository for a git source.", +"id": "ContaineranalysisGoogleDevtoolsCloudbuildV1DependencyGitSourceRepository", +"properties": { +"developerConnect": { +"description": "The Developer Connect Git repository link formatted as `projects/*/locations/*/connections/*/gitRepositoryLink/*`", +"type": "string" +}, +"url": { +"description": "Location of the Git repository.", +"type": "string" +} +}, +"type": "object" +}, +"ContaineranalysisGoogleDevtoolsCloudbuildV1DeveloperConnectConfig": { +"description": "This config defines the location of a source through Developer Connect.", +"id": "ContaineranalysisGoogleDevtoolsCloudbuildV1DeveloperConnectConfig", +"properties": { +"dir": { +"description": "Required. Directory, relative to the source root, in which to run the build.", +"type": "string" +}, +"gitRepositoryLink": { +"description": "Required. The Developer Connect Git repository link, formatted as `projects/*/locations/*/connections/*/gitRepositoryLink/*`.", +"type": "string" +}, +"revision": { +"description": "Required. The revision to fetch from the Git repository such as a branch, a tag, a commit SHA, or any Git ref.", +"type": "string" +} +}, +"type": "object" +}, +"ContaineranalysisGoogleDevtoolsCloudbuildV1FileHashes": { +"description": "Container message for hashes of byte content of files, used in SourceProvenance messages to verify integrity of source input to the build.", +"id": "ContaineranalysisGoogleDevtoolsCloudbuildV1FileHashes", +"properties": { +"fileHash": { +"description": "Collection of file hashes.", +"items": { +"$ref": "ContaineranalysisGoogleDevtoolsCloudbuildV1Hash" +}, +"type": "array" +} +}, +"type": "object" +}, +"ContaineranalysisGoogleDevtoolsCloudbuildV1GitConfig": { +"description": "GitConfig is a configuration for git operations.", +"id": "ContaineranalysisGoogleDevtoolsCloudbuildV1GitConfig", +"properties": { +"http": { +"$ref": "ContaineranalysisGoogleDevtoolsCloudbuildV1GitConfigHttpConfig", +"description": "Configuration for HTTP related git operations." +} +}, +"type": "object" +}, +"ContaineranalysisGoogleDevtoolsCloudbuildV1GitConfigHttpConfig": { +"description": "HttpConfig is a configuration for HTTP related git operations.", +"id": "ContaineranalysisGoogleDevtoolsCloudbuildV1GitConfigHttpConfig", +"properties": { +"proxySecretVersionName": { +"description": "SecretVersion resource of the HTTP proxy URL. The Service Account used in the build (either the default Service Account or user-specified Service Account) should have `secretmanager.versions.access` permissions on this secret. The proxy URL should be in format `protocol://@]proxyhost[:port]`.", +"type": "string" +} +}, +"type": "object" +}, +"ContaineranalysisGoogleDevtoolsCloudbuildV1GitSource": { +"description": "Location of the source in any accessible Git repository.", +"id": "ContaineranalysisGoogleDevtoolsCloudbuildV1GitSource", +"properties": { +"dir": { +"description": "Optional. Directory, relative to the source root, in which to run the build. This must be a relative path. If a step's `dir` is specified and is an absolute path, this value is ignored for that step's execution.", +"type": "string" +}, +"revision": { +"description": "Optional. The revision to fetch from the Git repository such as a branch, a tag, a commit SHA, or any Git ref. Cloud Build uses `git fetch` to fetch the revision from the Git repository; therefore make sure that the string you provide for `revision` is parsable by the command. For information on string values accepted by `git fetch`, see https://git-scm.com/docs/gitrevisions#_specifying_revisions. For information on `git fetch`, see https://git-scm.com/docs/git-fetch.", +"type": "string" +}, +"url": { +"description": "Required. Location of the Git repo to build. This will be used as a `git remote`, see https://git-scm.com/docs/git-remote.", +"type": "string" +} +}, +"type": "object" +}, +"ContaineranalysisGoogleDevtoolsCloudbuildV1Hash": { +"description": "Container message for hash values.", +"id": "ContaineranalysisGoogleDevtoolsCloudbuildV1Hash", +"properties": { +"type": { +"description": "The type of hash that was performed.", +"enum": [ +"NONE", +"SHA256", +"MD5", +"GO_MODULE_H1", +"SHA512" +], +"enumDescriptions": [ +"No hash requested.", +"Use a sha256 hash.", +"Use a md5 hash.", +"Dirhash of a Go module's source code which is then hex-encoded.", +"Use a sha512 hash." +], +"type": "string" +}, +"value": { +"description": "The hash value.", +"format": "byte", +"type": "string" +} +}, +"type": "object" +}, +"ContaineranalysisGoogleDevtoolsCloudbuildV1InlineSecret": { +"description": "Pairs a set of secret environment variables mapped to encrypted values with the Cloud KMS key to use to decrypt the value.", +"id": "ContaineranalysisGoogleDevtoolsCloudbuildV1InlineSecret", +"properties": { +"envMap": { +"additionalProperties": { +"format": "byte", +"type": "string" +}, +"description": "Map of environment variable name to its encrypted value. Secret environment variables must be unique across all of a build's secrets, and must be used by at least one build step. Values can be at most 64 KB in size. There can be at most 100 secret values across all of a build's secrets.", +"type": "object" +}, +"kmsKeyName": { +"description": "Resource name of Cloud KMS crypto key to decrypt the encrypted value. In format: projects/*/locations/*/keyRings/*/cryptoKeys/*", +"type": "string" +} +}, +"type": "object" +}, +"ContaineranalysisGoogleDevtoolsCloudbuildV1RepoSource": { +"description": "Location of the source in a Google Cloud Source Repository.", +"id": "ContaineranalysisGoogleDevtoolsCloudbuildV1RepoSource", +"properties": { +"branchName": { +"description": "Regex matching branches to build. The syntax of the regular expressions accepted is the syntax accepted by RE2 and described at https://github.com/google/re2/wiki/Syntax", +"type": "string" +}, +"commitSha": { +"description": "Explicit commit SHA to build.", +"type": "string" +}, +"dir": { +"description": "Optional. Directory, relative to the source root, in which to run the build. This must be a relative path. If a step's `dir` is specified and is an absolute path, this value is ignored for that step's execution.", +"type": "string" +}, +"invertRegex": { +"description": "Optional. Only trigger a build if the revision regex does NOT match the revision regex.", +"type": "boolean" +}, +"projectId": { +"description": "Optional. ID of the project that owns the Cloud Source Repository. If omitted, the project ID requesting the build is assumed.", +"type": "string" +}, +"repoName": { +"description": "Required. Name of the Cloud Source Repository.", +"type": "string" +}, +"substitutions": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. Substitutions to use in a triggered build. Should only be used with RunBuildTrigger", +"type": "object" +}, +"tagName": { +"description": "Regex matching tags to build. The syntax of the regular expressions accepted is the syntax accepted by RE2 and described at https://github.com/google/re2/wiki/Syntax", +"type": "string" +} +}, +"type": "object" +}, +"ContaineranalysisGoogleDevtoolsCloudbuildV1Results": { +"description": "Artifacts created by the build pipeline.", +"id": "ContaineranalysisGoogleDevtoolsCloudbuildV1Results", +"properties": { +"artifactManifest": { +"description": "Path to the artifact manifest for non-container artifacts uploaded to Cloud Storage. Only populated when artifacts are uploaded to Cloud Storage.", +"type": "string" +}, +"artifactTiming": { +"$ref": "ContaineranalysisGoogleDevtoolsCloudbuildV1TimeSpan", +"description": "Time to push all non-container artifacts to Cloud Storage." +}, +"buildStepImages": { +"description": "List of build step digests, in the order corresponding to build step indices.", +"items": { +"type": "string" +}, +"type": "array" +}, +"buildStepOutputs": { +"description": "List of build step outputs, produced by builder images, in the order corresponding to build step indices. [Cloud Builders](https://cloud.google.com/cloud-build/docs/cloud-builders) can produce this output by writing to `$BUILDER_OUTPUT/output`. Only the first 50KB of data is stored. Note that the `$BUILDER_OUTPUT` variable is read-only and can't be substituted.", +"items": { +"format": "byte", +"type": "string" +}, +"type": "array" +}, +"goModules": { +"description": "Optional. Go module artifacts uploaded to Artifact Registry at the end of the build.", +"items": { +"$ref": "ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedGoModule" +}, +"type": "array" +}, +"images": { +"description": "Container images that were built as a part of the build.", +"items": { +"$ref": "ContaineranalysisGoogleDevtoolsCloudbuildV1BuiltImage" +}, +"type": "array" +}, +"mavenArtifacts": { +"description": "Maven artifacts uploaded to Artifact Registry at the end of the build.", +"items": { +"$ref": "ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedMavenArtifact" +}, +"type": "array" +}, +"npmPackages": { +"description": "Npm packages uploaded to Artifact Registry at the end of the build.", +"items": { +"$ref": "ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedNpmPackage" +}, +"type": "array" +}, +"numArtifacts": { +"description": "Number of non-container artifacts uploaded to Cloud Storage. Only populated when artifacts are uploaded to Cloud Storage.", +"format": "int64", +"type": "string" +}, +"pythonPackages": { +"description": "Python artifacts uploaded to Artifact Registry at the end of the build.", +"items": { +"$ref": "ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedPythonPackage" +}, +"type": "array" +} +}, +"type": "object" +}, +"ContaineranalysisGoogleDevtoolsCloudbuildV1Secret": { +"description": "Pairs a set of secret environment variables containing encrypted values with the Cloud KMS key to use to decrypt the value. Note: Use `kmsKeyName` with `available_secrets` instead of using `kmsKeyName` with `secret`. For instructions see: https://cloud.google.com/cloud-build/docs/securing-builds/use-encrypted-credentials.", +"id": "ContaineranalysisGoogleDevtoolsCloudbuildV1Secret", +"properties": { +"kmsKeyName": { +"description": "Cloud KMS key name to use to decrypt these envs.", +"type": "string" +}, +"secretEnv": { +"additionalProperties": { +"format": "byte", +"type": "string" +}, +"description": "Map of environment variable name to its encrypted value. Secret environment variables must be unique across all of a build's secrets, and must be used by at least one build step. Values can be at most 64 KB in size. There can be at most 100 secret values across all of a build's secrets.", +"type": "object" +} +}, +"type": "object" +}, +"ContaineranalysisGoogleDevtoolsCloudbuildV1SecretManagerSecret": { +"description": "Pairs a secret environment variable with a SecretVersion in Secret Manager.", +"id": "ContaineranalysisGoogleDevtoolsCloudbuildV1SecretManagerSecret", +"properties": { +"env": { +"description": "Environment variable name to associate with the secret. Secret environment variables must be unique across all of a build's secrets, and must be used by at least one build step.", +"type": "string" +}, +"versionName": { +"description": "Resource name of the SecretVersion. In format: projects/*/secrets/*/versions/*", +"type": "string" +} +}, +"type": "object" +}, +"ContaineranalysisGoogleDevtoolsCloudbuildV1Secrets": { +"description": "Secrets and secret environment variables.", +"id": "ContaineranalysisGoogleDevtoolsCloudbuildV1Secrets", +"properties": { +"inline": { +"description": "Secrets encrypted with KMS key and the associated secret environment variable.", +"items": { +"$ref": "ContaineranalysisGoogleDevtoolsCloudbuildV1InlineSecret" +}, +"type": "array" +}, +"secretManager": { +"description": "Secrets in Secret Manager and associated secret environment variable.", +"items": { +"$ref": "ContaineranalysisGoogleDevtoolsCloudbuildV1SecretManagerSecret" +}, +"type": "array" +} +}, +"type": "object" +}, +"ContaineranalysisGoogleDevtoolsCloudbuildV1Source": { +"description": "Location of the source in a supported storage service.", +"id": "ContaineranalysisGoogleDevtoolsCloudbuildV1Source", +"properties": { +"connectedRepository": { +"$ref": "ContaineranalysisGoogleDevtoolsCloudbuildV1ConnectedRepository", +"description": "Optional. If provided, get the source from this 2nd-gen Google Cloud Build repository resource." +}, +"developerConnectConfig": { +"$ref": "ContaineranalysisGoogleDevtoolsCloudbuildV1DeveloperConnectConfig", +"description": "If provided, get the source from this Developer Connect config." +}, +"gitSource": { +"$ref": "ContaineranalysisGoogleDevtoolsCloudbuildV1GitSource", +"description": "If provided, get the source from this Git repository." +}, +"repoSource": { +"$ref": "ContaineranalysisGoogleDevtoolsCloudbuildV1RepoSource", +"description": "If provided, get the source from this location in a Cloud Source Repository." +}, +"storageSource": { +"$ref": "ContaineranalysisGoogleDevtoolsCloudbuildV1StorageSource", +"description": "If provided, get the source from this location in Cloud Storage." +}, +"storageSourceManifest": { +"$ref": "ContaineranalysisGoogleDevtoolsCloudbuildV1StorageSourceManifest", +"description": "If provided, get the source from this manifest in Cloud Storage. This feature is in Preview; see description [here](https://github.com/GoogleCloudPlatform/cloud-builders/tree/master/gcs-fetcher)." +} +}, +"type": "object" +}, +"ContaineranalysisGoogleDevtoolsCloudbuildV1SourceProvenance": { +"description": "Provenance of the source. Ways to find the original source, or verify that some source was used for this build.", +"id": "ContaineranalysisGoogleDevtoolsCloudbuildV1SourceProvenance", +"properties": { +"fileHashes": { +"additionalProperties": { +"$ref": "ContaineranalysisGoogleDevtoolsCloudbuildV1FileHashes" +}, +"description": "Output only. Hash(es) of the build source, which can be used to verify that the original source integrity was maintained in the build. Note that `FileHashes` will only be populated if `BuildOptions` has requested a `SourceProvenanceHash`. The keys to this map are file paths used as build source and the values contain the hash values for those files. If the build source came in a single package such as a gzipped tarfile (`.tar.gz`), the `FileHash` will be for the single path to that file.", +"readOnly": true, +"type": "object" +}, +"resolvedConnectedRepository": { +"$ref": "ContaineranalysisGoogleDevtoolsCloudbuildV1ConnectedRepository", +"description": "Output only. A copy of the build's `source.connected_repository`, if exists, with any revisions resolved.", +"readOnly": true +}, +"resolvedGitSource": { +"$ref": "ContaineranalysisGoogleDevtoolsCloudbuildV1GitSource", +"description": "Output only. A copy of the build's `source.git_source`, if exists, with any revisions resolved.", +"readOnly": true +}, +"resolvedRepoSource": { +"$ref": "ContaineranalysisGoogleDevtoolsCloudbuildV1RepoSource", +"description": "A copy of the build's `source.repo_source`, if exists, with any revisions resolved." +}, +"resolvedStorageSource": { +"$ref": "ContaineranalysisGoogleDevtoolsCloudbuildV1StorageSource", +"description": "A copy of the build's `source.storage_source`, if exists, with any generations resolved." +}, +"resolvedStorageSourceManifest": { +"$ref": "ContaineranalysisGoogleDevtoolsCloudbuildV1StorageSourceManifest", +"description": "A copy of the build's `source.storage_source_manifest`, if exists, with any revisions resolved. This feature is in Preview." +} +}, +"type": "object" +}, +"ContaineranalysisGoogleDevtoolsCloudbuildV1StorageSource": { +"description": "Location of the source in an archive file in Cloud Storage.", +"id": "ContaineranalysisGoogleDevtoolsCloudbuildV1StorageSource", +"properties": { +"bucket": { +"description": "Cloud Storage bucket containing the source (see [Bucket Name Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)).", +"type": "string" +}, +"generation": { +"description": "Optional. Cloud Storage generation for the object. If the generation is omitted, the latest generation will be used.", +"format": "int64", +"type": "string" +}, +"object": { +"description": "Required. Cloud Storage object containing the source. This object must be a zipped (`.zip`) or gzipped archive file (`.tar.gz`) containing source to build.", +"type": "string" +}, +"sourceFetcher": { +"description": "Optional. Option to specify the tool to fetch the source file for the build.", +"enum": [ +"SOURCE_FETCHER_UNSPECIFIED", +"GSUTIL", +"GCS_FETCHER" +], +"enumDescriptions": [ +"Unspecified defaults to GSUTIL.", +"Use the \"gsutil\" tool to download the source file.", +"Use the Cloud Storage Fetcher tool to download the source file." +], +"type": "string" +} +}, +"type": "object" +}, +"ContaineranalysisGoogleDevtoolsCloudbuildV1StorageSourceManifest": { +"description": "Location of the source manifest in Cloud Storage. This feature is in Preview; see description [here](https://github.com/GoogleCloudPlatform/cloud-builders/tree/master/gcs-fetcher).", +"id": "ContaineranalysisGoogleDevtoolsCloudbuildV1StorageSourceManifest", +"properties": { +"bucket": { +"description": "Required. Cloud Storage bucket containing the source manifest (see [Bucket Name Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)).", +"type": "string" +}, +"generation": { +"description": "Cloud Storage generation for the object. If the generation is omitted, the latest generation will be used.", +"format": "int64", +"type": "string" +}, +"object": { +"description": "Required. Cloud Storage object containing the source manifest. This object must be a JSON file.", +"type": "string" +} +}, +"type": "object" +}, +"ContaineranalysisGoogleDevtoolsCloudbuildV1TimeSpan": { +"description": "Start and end times for a build execution phase.", +"id": "ContaineranalysisGoogleDevtoolsCloudbuildV1TimeSpan", +"properties": { +"endTime": { +"description": "End of time span.", +"format": "google-datetime", +"type": "string" +}, +"startTime": { +"description": "Start of time span.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedGoModule": { +"description": "A Go module artifact uploaded to Artifact Registry using the GoModule directive.", +"id": "ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedGoModule", +"properties": { +"artifactRegistryPackage": { +"description": "Output only. Path to the artifact in Artifact Registry.", +"readOnly": true, +"type": "string" +}, +"fileHashes": { +"$ref": "ContaineranalysisGoogleDevtoolsCloudbuildV1FileHashes", +"description": "Hash types and values of the Go Module Artifact." +}, +"pushTiming": { +"$ref": "ContaineranalysisGoogleDevtoolsCloudbuildV1TimeSpan", +"description": "Output only. Stores timing information for pushing the specified artifact.", +"readOnly": true +}, +"uri": { +"description": "URI of the uploaded artifact.", +"type": "string" +} +}, +"type": "object" +}, +"ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedMavenArtifact": { +"description": "A Maven artifact uploaded using the MavenArtifact directive.", +"id": "ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedMavenArtifact", +"properties": { +"artifactRegistryPackage": { +"description": "Output only. Path to the artifact in Artifact Registry.", +"readOnly": true, +"type": "string" +}, +"fileHashes": { +"$ref": "ContaineranalysisGoogleDevtoolsCloudbuildV1FileHashes", +"description": "Hash types and values of the Maven Artifact." +}, +"pushTiming": { +"$ref": "ContaineranalysisGoogleDevtoolsCloudbuildV1TimeSpan", +"description": "Output only. Stores timing information for pushing the specified artifact.", +"readOnly": true +}, +"uri": { +"description": "URI of the uploaded artifact.", +"type": "string" +} +}, +"type": "object" +}, +"ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedNpmPackage": { +"description": "An npm package uploaded to Artifact Registry using the NpmPackage directive.", +"id": "ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedNpmPackage", +"properties": { +"artifactRegistryPackage": { +"description": "Output only. Path to the artifact in Artifact Registry.", +"readOnly": true, +"type": "string" +}, +"fileHashes": { +"$ref": "ContaineranalysisGoogleDevtoolsCloudbuildV1FileHashes", +"description": "Hash types and values of the npm package." +}, +"pushTiming": { +"$ref": "ContaineranalysisGoogleDevtoolsCloudbuildV1TimeSpan", +"description": "Output only. Stores timing information for pushing the specified artifact.", +"readOnly": true +}, +"uri": { +"description": "URI of the uploaded npm package.", +"type": "string" +} +}, +"type": "object" +}, +"ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedPythonPackage": { +"description": "Artifact uploaded using the PythonPackage directive.", +"id": "ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedPythonPackage", +"properties": { +"artifactRegistryPackage": { +"description": "Output only. Path to the artifact in Artifact Registry.", +"readOnly": true, +"type": "string" +}, +"fileHashes": { +"$ref": "ContaineranalysisGoogleDevtoolsCloudbuildV1FileHashes", +"description": "Hash types and values of the Python Artifact." +}, +"pushTiming": { +"$ref": "ContaineranalysisGoogleDevtoolsCloudbuildV1TimeSpan", +"description": "Output only. Stores timing information for pushing the specified artifact.", +"readOnly": true +}, +"uri": { +"description": "URI of the uploaded artifact.", +"type": "string" +} +}, +"type": "object" +}, +"ContaineranalysisGoogleDevtoolsCloudbuildV1Volume": { +"description": "Volume describes a Docker container volume which is mounted into build steps in order to persist files across build step execution.", +"id": "ContaineranalysisGoogleDevtoolsCloudbuildV1Volume", +"properties": { +"name": { +"description": "Name of the volume to mount. Volume names must be unique per build step and must be valid names for Docker volumes. Each named volume must be used by at least two build steps.", +"type": "string" +}, +"path": { +"description": "Path at which to mount the volume. Paths must be absolute and cannot conflict with other volume paths on the same build step or with certain reserved volume paths.", +"type": "string" +} +}, +"type": "object" +}, +"Deployable": { +"description": "An artifact that can be deployed in some runtime.", +"id": "Deployable", +"properties": { +"resourceUri": { +"description": "Required. Resource URI for the artifact being deployed.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"Deployment": { +"description": "The period during which some deployable was active in a runtime.", +"id": "Deployment", +"properties": { +"address": { +"description": "Address of the runtime element hosting this deployment.", +"type": "string" +}, +"config": { +"description": "Configuration used to create this deployment.", +"type": "string" +}, +"deployTime": { +"description": "Required. Beginning of the lifetime of this deployment.", +"format": "google-datetime", +"type": "string" +}, +"platform": { +"description": "Platform hosting this deployment.", +"enum": [ +"PLATFORM_UNSPECIFIED", +"GKE", +"FLEX", +"CUSTOM" +], +"enumDescriptions": [ +"Unknown.", +"Google Container Engine.", +"Google App Engine: Flexible Environment.", +"Custom user-defined platform." +], +"type": "string" +}, +"resourceUri": { +"description": "Output only. Resource URI for the artifact being deployed taken from the deployable field with the same name.", +"items": { +"type": "string" +}, +"type": "array" +}, +"undeployTime": { +"description": "End of the lifetime of this deployment.", +"format": "google-datetime", +"type": "string" +}, +"userEmail": { +"description": "Identity of the user that triggered this deployment.", +"type": "string" +} +}, +"type": "object" +}, +"Derived": { +"description": "Derived describes the derived image portion (Occurrence) of the DockerImage relationship. This image would be produced from a Dockerfile with FROM .", +"id": "Derived", +"properties": { +"baseResourceUrl": { +"description": "Output only. This contains the base image URL for the derived image occurrence.", +"type": "string" +}, +"distance": { +"description": "Output only. The number of layers by which this image differs from the associated image basis.", +"format": "int32", +"type": "integer" +}, +"fingerprint": { +"$ref": "Fingerprint", +"description": "Required. The fingerprint of the derived image." +}, +"layerInfo": { +"description": "This contains layer-specific metadata, if populated it has length \"distance\" and is ordered with [distance] being the layer immediately following the base image and [1] being the final layer.", +"items": { +"$ref": "Layer" +}, +"type": "array" +} +}, +"type": "object" +}, +"Detail": { +"description": "Identifies all appearances of this vulnerability in the package for a specific distro/location. For example: glibc in cpe:/o:debian:debian_linux:8 for versions 2.1 - 2.2", +"id": "Detail", +"properties": { +"cpeUri": { +"description": "Required. The CPE URI in [cpe format](https://cpe.mitre.org/specification/) in which the vulnerability manifests. Examples include distro or storage location for vulnerable jar.", +"type": "string" +}, +"description": { +"description": "A vendor-specific description of this note.", +"type": "string" +}, +"fixedLocation": { +"$ref": "VulnerabilityLocation", +"description": "The fix for this specific package version." +}, +"isObsolete": { +"description": "Whether this detail is obsolete. Occurrences are expected not to point to obsolete details.", +"type": "boolean" +}, +"maxAffectedVersion": { +"$ref": "Version", +"description": "The max version of the package in which the vulnerability exists." +}, +"minAffectedVersion": { +"$ref": "Version", +"description": "The min version of the package in which the vulnerability exists." +}, +"package": { +"description": "Required. The name of the package where the vulnerability was found.", +"type": "string" +}, +"packageType": { +"description": "The type of package; whether native or non native(ruby gems, node.js packages etc).", +"type": "string" +}, +"severityName": { +"description": "The severity (eg: distro assigned severity) for this vulnerability.", +"type": "string" +}, +"source": { +"description": "The source from which the information in this Detail was obtained.", +"type": "string" +}, +"sourceUpdateTime": { +"description": "The time this information was last changed at the source. This is an upstream timestamp from the underlying information source - e.g. Ubuntu security tracker.", +"format": "google-datetime", +"type": "string" +}, +"vendor": { +"description": "The name of the vendor of the product.", +"type": "string" +} +}, +"type": "object" +}, +"Details": { +"description": "Details of an attestation occurrence.", +"id": "Details", +"properties": { +"attestation": { +"$ref": "Attestation", +"description": "Required. Attestation for the resource." +} +}, +"type": "object" +}, +"Digest": { +"description": "Digest information.", +"id": "Digest", +"properties": { +"algo": { +"description": "`SHA1`, `SHA512` etc.", +"type": "string" +}, +"digestBytes": { +"description": "Value of the digest.", +"format": "byte", +"type": "string" +} +}, +"type": "object" +}, +"Discovered": { +"description": "Provides information about the analysis status of a discovered resource.", +"id": "Discovered", +"properties": { +"analysisCompleted": { +"$ref": "AnalysisCompleted" +}, +"analysisError": { +"description": "Indicates any errors encountered during analysis of a resource. There could be 0 or more of these errors.", +"items": { +"$ref": "Status" +}, +"type": "array" +}, +"analysisStatus": { +"description": "The status of discovery for the resource.", +"enum": [ +"ANALYSIS_STATUS_UNSPECIFIED", +"PENDING", +"SCANNING", +"FINISHED_SUCCESS", +"COMPLETE", +"FINISHED_FAILED", +"FINISHED_UNSUPPORTED" +], +"enumDescriptions": [ +"Unknown.", +"Resource is known but no action has been taken yet.", +"Resource is being analyzed.", +"Analysis has finished successfully.", +"Analysis has completed.", +"Analysis has finished unsuccessfully, the analysis itself is in a bad state.", +"The resource is known not to be supported" +], +"type": "string" +}, +"analysisStatusError": { +"$ref": "Status", +"description": "When an error is encountered this will contain a LocalizedMessage under details to show to the user. The LocalizedMessage is output only and populated by the API." +}, +"continuousAnalysis": { +"description": "Whether the resource is continuously analyzed.", +"enum": [ +"CONTINUOUS_ANALYSIS_UNSPECIFIED", +"ACTIVE", +"INACTIVE" +], +"enumDescriptions": [ +"Unknown.", +"The resource is continuously analyzed.", +"The resource is ignored for continuous analysis." +], +"type": "string" +}, +"files": { +"description": "Files that make up the resource described by the occurrence.", +"items": { +"$ref": "File" +}, +"type": "array" +}, +"lastAnalysisTime": { +"description": "The last time continuous analysis was done for this resource. Deprecated, do not use.", +"format": "google-datetime", +"type": "string" +}, +"lastScanTime": { +"description": "The last time this resource was scanned.", +"format": "google-datetime", +"type": "string" +}, +"lastVulnerabilityUpdateTime": { +"description": "The last time vulnerability scan results changed.", +"format": "google-datetime", +"type": "string" +}, +"sbomStatus": { +"$ref": "SBOMStatus", +"description": "The status of an SBOM generation." +} +}, +"type": "object" +}, +"Discovery": { +"description": "A note that indicates a type of analysis a provider would perform. This note exists in a provider's project. A `Discovery` occurrence is created in a consumer's project at the start of analysis.", +"id": "Discovery", +"properties": { +"analysisKind": { +"description": "Required. Immutable. The kind of analysis that is handled by this discovery.", +"enum": [ +"NOTE_KIND_UNSPECIFIED", +"VULNERABILITY", +"BUILD", +"IMAGE", +"PACKAGE", +"DEPLOYMENT", +"DISCOVERY", +"ATTESTATION", +"INTOTO", +"SBOM", +"SPDX_PACKAGE", +"SPDX_FILE", +"SPDX_RELATIONSHIP", +"VULNERABILITY_ASSESSMENT", +"SBOM_REFERENCE", +"SECRET" +], +"enumDescriptions": [ +"Default value. This value is unused.", +"The note and occurrence represent a package vulnerability.", +"The note and occurrence assert build provenance.", +"This represents an image basis relationship.", +"This represents a package installed via a package manager.", +"The note and occurrence track deployment events.", +"The note and occurrence track the initial discovery status of a resource.", +"This represents a logical \"role\" that can attest to artifacts.", +"This represents an in-toto link.", +"This represents a software bill of materials.", +"This represents an SPDX Package.", +"This represents an SPDX File.", +"This represents an SPDX Relationship.", +"This represents a Vulnerability Assessment.", +"This represents an SBOM Reference.", +"This represents a secret." +], +"type": "string" +} +}, +"type": "object" +}, +"Distribution": { +"description": "This represents a particular channel of distribution for a given package. E.g., Debian's jessie-backports dpkg mirror.", +"id": "Distribution", +"properties": { +"architecture": { +"description": "The CPU architecture for which packages in this distribution channel were built.", +"enum": [ +"ARCHITECTURE_UNSPECIFIED", +"X86", +"X64" +], +"enumDescriptions": [ +"Unknown architecture.", +"X86 architecture.", +"X64 architecture." +], +"type": "string" +}, +"cpeUri": { +"description": "Required. The cpe_uri in [CPE format](https://cpe.mitre.org/specification/) denoting the package manager version distributing a package.", +"type": "string" +}, +"description": { +"description": "The distribution channel-specific description of this package.", +"type": "string" +}, +"latestVersion": { +"$ref": "Version", +"description": "The latest available version of this package in this distribution channel." +}, +"maintainer": { +"description": "A freeform string denoting the maintainer of this package.", +"type": "string" +}, +"url": { +"description": "The distribution channel-specific homepage for this package.", +"type": "string" +} +}, +"type": "object" +}, +"DocumentNote": { +"description": "DocumentNote represents an SPDX Document Creation Information section: https://spdx.github.io/spdx-spec/2-document-creation-information/", +"id": "DocumentNote", +"properties": { +"dataLicence": { +"description": "Compliance with the SPDX specification includes populating the SPDX fields therein with data related to such fields (\"SPDX-Metadata\")", +"type": "string" +}, +"spdxVersion": { +"description": "Provide a reference number that can be used to understand how to parse and interpret the rest of the file", +"type": "string" +} +}, +"type": "object" +}, +"DocumentOccurrence": { +"description": "DocumentOccurrence represents an SPDX Document Creation Information section: https://spdx.github.io/spdx-spec/2-document-creation-information/", +"id": "DocumentOccurrence", +"properties": { +"createTime": { +"description": "Identify when the SPDX file was originally created. The date is to be specified according to combined date and time in UTC format as specified in ISO 8601 standard", +"format": "google-datetime", +"type": "string" +}, +"creatorComment": { +"description": "A field for creators of the SPDX file to provide general comments about the creation of the SPDX file or any other relevant comment not included in the other fields", +"type": "string" +}, +"creators": { +"description": "Identify who (or what, in the case of a tool) created the SPDX file. If the SPDX file was created by an individual, indicate the person's name", +"items": { +"type": "string" +}, +"type": "array" +}, +"documentComment": { +"description": "A field for creators of the SPDX file content to provide comments to the consumers of the SPDX document", +"type": "string" +}, +"externalDocumentRefs": { +"description": "Identify any external SPDX documents referenced within this SPDX document", +"items": { +"type": "string" +}, +"type": "array" +}, +"id": { +"description": "Identify the current SPDX document which may be referenced in relationships by other files, packages internally and documents externally", +"type": "string" +}, +"licenseListVersion": { +"description": "A field for creators of the SPDX file to provide the version of the SPDX License List used when the SPDX file was created", +"type": "string" +}, +"namespace": { +"description": "Provide an SPDX document specific namespace as a unique absolute Uniform Resource Identifier (URI) as specified in RFC-3986, with the exception of the \u2018#\u2019 delimiter", +"type": "string" +}, +"title": { +"description": "Identify name of this document as designated by creator", +"type": "string" +} +}, +"type": "object" +}, +"Empty": { +"description": "A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }", +"id": "Empty", +"properties": {}, +"type": "object" +}, +"Envelope": { +"description": "MUST match https://github.com/secure-systems-lab/dsse/blob/master/envelope.proto. An authenticated message of arbitrary type.", +"id": "Envelope", +"properties": { +"payload": { +"format": "byte", +"type": "string" +}, +"payloadType": { +"type": "string" +}, +"signatures": { +"items": { +"$ref": "EnvelopeSignature" +}, +"type": "array" +} +}, +"type": "object" +}, +"EnvelopeSignature": { +"id": "EnvelopeSignature", +"properties": { +"keyid": { +"type": "string" +}, +"sig": { +"format": "byte", +"type": "string" +} +}, +"type": "object" +}, +"Environment": { +"description": "Defines an object for the environment field in in-toto links. The suggested fields are \"variables\", \"filesystem\", and \"workdir\".", +"id": "Environment", +"properties": { +"customValues": { +"additionalProperties": { +"type": "string" +}, +"type": "object" +} +}, +"type": "object" +}, +"ExportSBOMRequest": { +"description": "The request to a call of ExportSBOM", +"id": "ExportSBOMRequest", +"properties": {}, +"type": "object" +}, +"ExportSBOMResponse": { +"description": "The response from a call to ExportSBOM", +"id": "ExportSBOMResponse", +"properties": { +"discoveryOccurrenceId": { +"description": "The name of the discovery occurrence in the form \"projects/{project_id}/occurrences/{OCCURRENCE_ID} It can be used to track the progression of the SBOM export.", +"type": "string" +} +}, +"type": "object" +}, +"Expr": { +"description": "Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: \"Summary size limit\" description: \"Determines if a summary is less than 100 chars\" expression: \"document.summary.size() < 100\" Example (Equality): title: \"Requestor is owner\" description: \"Determines if requestor is the document owner\" expression: \"document.owner == request.auth.claims.email\" Example (Logic): title: \"Public documents\" description: \"Determine whether the document should be publicly visible\" expression: \"document.type != 'private' && document.type != 'internal'\" Example (Data Manipulation): title: \"Notification string\" description: \"Create a notification string with a timestamp.\" expression: \"'New message received at ' + string(document.create_time)\" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information.", +"id": "Expr", +"properties": { +"description": { +"description": "Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI.", +"type": "string" +}, +"expression": { +"description": "Textual representation of an expression in Common Expression Language syntax.", +"type": "string" +}, +"location": { +"description": "Optional. String indicating the location of the expression for error reporting, e.g. a file name and a position in the file.", +"type": "string" +}, +"title": { +"description": "Optional. Title for the expression, i.e. a short string describing its purpose. This can be used e.g. in UIs which allow to enter the expression.", +"type": "string" +} +}, +"type": "object" +}, +"ExternalRef": { +"description": "An External Reference allows a Package to reference an external source of additional information, metadata, enumerations, asset identifiers, or downloadable content believed to be relevant to the Package", +"id": "ExternalRef", +"properties": { +"category": { +"description": "An External Reference allows a Package to reference an external source of additional information, metadata, enumerations, asset identifiers, or downloadable content believed to be relevant to the Package", +"enum": [ +"CATEGORY_UNSPECIFIED", +"SECURITY", +"PACKAGE_MANAGER", +"PERSISTENT_ID", +"OTHER" +], +"enumDescriptions": [ +"Unspecified", +"Security (e.g. cpe22Type, cpe23Type)", +"Package Manager (e.g. maven-central, npm, nuget, bower, purl)", +"Persistent-Id (e.g. swh)", +"Other" +], +"type": "string" +}, +"comment": { +"description": "Human-readable information about the purpose and target of the reference", +"type": "string" +}, +"locator": { +"description": "The unique string with no spaces necessary to access the package-specific information, metadata, or content within the target location", +"type": "string" +}, +"type": { +"description": "Type of category (e.g. 'npm' for the PACKAGE_MANAGER category)", +"type": "string" +} +}, +"type": "object" +}, +"File": { +"id": "File", +"properties": { +"digest": { +"additionalProperties": { +"type": "string" +}, +"type": "object" +}, +"name": { +"type": "string" +} +}, +"type": "object" +}, +"FileHashes": { +"description": "Container message for hashes of byte content of files, used in source messages to verify integrity of source input to the build.", +"id": "FileHashes", +"properties": { +"fileHash": { +"description": "Required. Collection of file hashes.", +"items": { +"$ref": "Hash" +}, +"type": "array" +} +}, +"type": "object" +}, +"FileLocation": { +"description": "Indicates the location at which a package was found.", +"id": "FileLocation", +"properties": { +"filePath": { +"description": "For jars that are contained inside .war files, this filepath can indicate the path to war file combined with the path to jar file.", +"type": "string" +} +}, +"type": "object" +}, +"FileNote": { +"description": "FileNote represents an SPDX File Information section: https://spdx.github.io/spdx-spec/4-file-information/", +"id": "FileNote", +"properties": { +"checksum": { +"description": "Provide a unique identifier to match analysis information on each specific file in a package", +"items": { +"type": "string" +}, +"type": "array" +}, +"fileType": { +"description": "This field provides information about the type of file identified", +"enum": [ +"FILE_TYPE_UNSPECIFIED", +"SOURCE", +"BINARY", +"ARCHIVE", +"APPLICATION", +"AUDIO", +"IMAGE", +"TEXT", +"VIDEO", +"DOCUMENTATION", +"SPDX", +"OTHER" +], +"enumDescriptions": [ +"Unspecified", +"The file is human readable source code (.c, .html, etc.)", +"The file is a compiled object, target image or binary executable (.o, .a, etc.)", +"The file represents an archive (.tar, .jar, etc.)", +"The file is associated with a specific application type (MIME type of application/*)", +"The file is associated with an audio file (MIME type of audio/* , e.g. .mp3)", +"The file is associated with an picture image file (MIME type of image/*, e.g., .jpg, .gif)", +"The file is human readable text file (MIME type of text/*)", +"The file is associated with a video file type (MIME type of video/*)", +"The file serves as documentation", +"The file is an SPDX document", +"The file doesn't fit into the above categories (generated artifacts, data files, etc.)" +], +"type": "string" +}, +"title": { +"description": "Identify the full path and filename that corresponds to the file information in this section", +"type": "string" +} +}, +"type": "object" +}, +"FileOccurrence": { +"description": "FileOccurrence represents an SPDX File Information section: https://spdx.github.io/spdx-spec/4-file-information/", +"id": "FileOccurrence", +"properties": { +"attributions": { +"description": "This field provides a place for the SPDX data creator to record, at the file level, acknowledgements that may be needed to be communicated in some contexts", +"items": { +"type": "string" +}, +"type": "array" +}, +"comment": { +"description": "This field provides a place for the SPDX file creator to record any general comments about the file", +"type": "string" +}, +"contributors": { +"description": "This field provides a place for the SPDX file creator to record file contributors", +"items": { +"type": "string" +}, +"type": "array" +}, +"copyright": { +"description": "Identify the copyright holder of the file, as well as any dates present", +"type": "string" +}, +"filesLicenseInfo": { +"description": "This field contains the license information actually found in the file, if any", +"items": { +"type": "string" +}, +"type": "array" +}, +"id": { +"description": "Uniquely identify any element in an SPDX document which may be referenced by other elements", +"type": "string" +}, +"licenseConcluded": { +"$ref": "License", +"description": "This field contains the license the SPDX file creator has concluded as governing the file or alternative values if the governing license cannot be determined" +}, +"notice": { +"description": "This field provides a place for the SPDX file creator to record license notices or other such related notices found in the file", +"type": "string" +} +}, +"type": "object" +}, +"Fingerprint": { +"description": "A set of properties that uniquely identify a given Docker image.", +"id": "Fingerprint", +"properties": { +"v1Name": { +"description": "Required. The layer ID of the final layer in the Docker image's v1 representation.", +"type": "string" +}, +"v2Blob": { +"description": "Required. The ordered list of v2 blobs that represent a given image.", +"items": { +"type": "string" +}, +"type": "array" +}, +"v2Name": { +"description": "Output only. The name of the image's v2 blobs computed via: [bottom] := v2_blobbottom := sha256(v2_blob[N] + \" \" + v2_name[N+1]) Only the name of the final blob is kept.", +"type": "string" +} +}, +"type": "object" +}, +"FixableTotalByDigest": { +"description": "Per resource and severity counts of fixable and total vulnerabilities.", +"id": "FixableTotalByDigest", +"properties": { +"fixableCount": { +"description": "The number of fixable vulnerabilities associated with this resource.", +"format": "int64", +"type": "string" +}, +"resource": { +"$ref": "Resource", +"description": "The affected resource." +}, +"severity": { +"description": "The severity for this count. SEVERITY_UNSPECIFIED indicates total across all severities.", +"enum": [ +"SEVERITY_UNSPECIFIED", +"MINIMAL", +"LOW", +"MEDIUM", +"HIGH", +"CRITICAL" +], +"enumDescriptions": [ +"Unknown.", +"Minimal severity.", +"Low severity.", +"Medium severity.", +"High severity.", +"Critical severity." +], +"type": "string" +}, +"totalCount": { +"description": "The total number of vulnerabilities associated with this resource.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"GeneratePackagesSummaryRequest": { +"description": "GeneratePackagesSummaryRequest is the request body for the GeneratePackagesSummary API method. It just takes a single name argument, referring to the resource.", +"id": "GeneratePackagesSummaryRequest", +"properties": {}, +"type": "object" +}, +"GenericSignedAttestation": { +"description": "An attestation wrapper that uses the Grafeas `Signature` message. This attestation must define the `serialized_payload` that the `signatures` verify and any metadata necessary to interpret that plaintext. The signatures should always be over the `serialized_payload` bytestring.", +"id": "GenericSignedAttestation", +"properties": { +"contentType": { +"description": "Type (for example schema) of the attestation payload that was signed. The verifier must ensure that the provided type is one that the verifier supports, and that the attestation payload is a valid instantiation of that type (for example by validating a JSON schema).", +"enum": [ +"CONTENT_TYPE_UNSPECIFIED", +"SIMPLE_SIGNING_JSON" +], +"enumDescriptions": [ +"`ContentType` is not set.", +"Atomic format attestation signature. See https://github.com/containers/image/blob/8a5d2f82a6e3263290c8e0276c3e0f64e77723e7/docs/atomic-signature.md The payload extracted in `plaintext` is a JSON blob conforming to the linked schema." +], +"type": "string" +}, +"serializedPayload": { +"description": "The serialized payload that is verified by one or more `signatures`. The encoding and semantic meaning of this payload must match what is set in `content_type`.", +"format": "byte", +"type": "string" +}, +"signatures": { +"description": "One or more signatures over `serialized_payload`. Verifier implementations should consider this attestation message verified if at least one `signature` verifies `serialized_payload`. See `Signature` in common.proto for more details on signature structure and verification.", +"items": { +"$ref": "Signature" +}, +"type": "array" +} +}, +"type": "object" +}, +"GerritSourceContext": { +"description": "A SourceContext referring to a Gerrit project.", +"id": "GerritSourceContext", +"properties": { +"aliasContext": { +"$ref": "AliasContext", +"description": "An alias, which may be a branch or tag." +}, +"gerritProject": { +"description": "The full project name within the host. Projects may be nested, so \"project/subproject\" is a valid project name. The \"repo name\" is the hostURI/project.", +"type": "string" +}, +"hostUri": { +"description": "The URI of a running Gerrit instance.", +"type": "string" +}, +"revisionId": { +"description": "A revision (commit) ID.", +"type": "string" +} +}, +"type": "object" +}, +"GetIamPolicyRequest": { +"description": "Request message for `GetIamPolicy` method.", +"id": "GetIamPolicyRequest", +"properties": { +"options": { +"$ref": "GetPolicyOptions", +"description": "OPTIONAL: A `GetPolicyOptions` object for specifying options to `GetIamPolicy`." +} +}, +"type": "object" +}, +"GetPolicyOptions": { +"description": "Encapsulates settings provided to GetIamPolicy.", +"id": "GetPolicyOptions", +"properties": { +"requestedPolicyVersion": { +"description": "Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"GitSourceContext": { +"description": "A GitSourceContext denotes a particular revision in a third party Git repository (e.g., GitHub).", +"id": "GitSourceContext", +"properties": { +"revisionId": { +"description": "Git commit hash.", +"type": "string" +}, +"url": { +"description": "Git repository URL.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleDevtoolsContaineranalysisV1alpha1OperationMetadata": { +"description": "Metadata for all operations used and required for all operations that created by Container Analysis Providers", +"id": "GoogleDevtoolsContaineranalysisV1alpha1OperationMetadata", +"properties": { +"createTime": { +"description": "Output only. The time this operation was created.", +"format": "google-datetime", +"type": "string" +}, +"endTime": { +"description": "Output only. The time that this operation was marked completed or failed.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"GrafeasV1beta1BuildDetails": { +"description": "Details of a build occurrence.", +"id": "GrafeasV1beta1BuildDetails", +"properties": { +"inTotoSlsaProvenanceV1": { +"$ref": "InTotoSlsaProvenanceV1" +}, +"provenance": { +"$ref": "BuildProvenance", +"description": "Required. The actual provenance for the build." +}, +"provenanceBytes": { +"description": "Serialized JSON representation of the provenance, used in generating the build signature in the corresponding build note. After verifying the signature, `provenance_bytes` can be unmarshalled and compared to the provenance to confirm that it is unchanged. A base64-encoded string representation of the provenance bytes is used for the signature in order to interoperate with openssl which expects this format for signature verification. The serialized form is captured both to avoid ambiguity in how the provenance is marshalled to json as well to prevent incompatibilities with future changes.", +"type": "string" +} +}, +"type": "object" +}, +"GrafeasV1beta1DeploymentDetails": { +"description": "Details of a deployment occurrence.", +"id": "GrafeasV1beta1DeploymentDetails", +"properties": { +"deployment": { +"$ref": "Deployment", +"description": "Required. Deployment history for the resource." +} +}, +"type": "object" +}, +"GrafeasV1beta1DiscoveryDetails": { +"description": "Details of a discovery occurrence.", +"id": "GrafeasV1beta1DiscoveryDetails", +"properties": { +"discovered": { +"$ref": "Discovered", +"description": "Required. Analysis status for the discovered resource." +} +}, +"type": "object" +}, +"GrafeasV1beta1ImageDetails": { +"description": "Details of an image occurrence.", +"id": "GrafeasV1beta1ImageDetails", +"properties": { +"derivedImage": { +"$ref": "Derived", +"description": "Required. Immutable. The child image derived from the base image." +} +}, +"type": "object" +}, +"GrafeasV1beta1IntotoArtifact": { +"id": "GrafeasV1beta1IntotoArtifact", +"properties": { +"hashes": { +"$ref": "ArtifactHashes" +}, +"resourceUri": { +"type": "string" +} +}, +"type": "object" +}, +"GrafeasV1beta1IntotoDetails": { +"description": "This corresponds to a signed in-toto link - it is made up of one or more signatures and the in-toto link itself. This is used for occurrences of a Grafeas in-toto note.", +"id": "GrafeasV1beta1IntotoDetails", +"properties": { +"signatures": { +"items": { +"$ref": "GrafeasV1beta1IntotoSignature" +}, +"type": "array" +}, +"signed": { +"$ref": "Link" +} +}, +"type": "object" +}, +"GrafeasV1beta1IntotoSignature": { +"description": "A signature object consists of the KeyID used and the signature itself.", +"id": "GrafeasV1beta1IntotoSignature", +"properties": { +"keyid": { +"type": "string" +}, +"sig": { +"type": "string" +} +}, +"type": "object" +}, +"GrafeasV1beta1PackageDetails": { +"description": "Details of a package occurrence.", +"id": "GrafeasV1beta1PackageDetails", +"properties": { +"installation": { +"$ref": "Installation", +"description": "Required. Where the package was installed." +} +}, +"type": "object" +}, +"GrafeasV1beta1VulnerabilityDetails": { +"description": "Details of a vulnerability Occurrence.", +"id": "GrafeasV1beta1VulnerabilityDetails", +"properties": { +"cvssScore": { +"description": "Output only. The CVSS score of this vulnerability. CVSS score is on a scale of 0-10 where 0 indicates low severity and 10 indicates high severity.", +"format": "float", +"type": "number" +}, +"cvssV2": { +"$ref": "CVSS", +"description": "The cvss v2 score for the vulnerability." +}, +"cvssV3": { +"$ref": "CVSS", +"description": "The cvss v3 score for the vulnerability." +}, +"cvssVersion": { +"description": "Output only. CVSS version used to populate cvss_score and severity.", +"enum": [ +"CVSS_VERSION_UNSPECIFIED", +"CVSS_VERSION_2", +"CVSS_VERSION_3" +], +"enumDescriptions": [ +"", +"", +"" +], +"type": "string" +}, +"effectiveSeverity": { +"description": "The distro assigned severity for this vulnerability when it is available, and note provider assigned severity when distro has not yet assigned a severity for this vulnerability. When there are multiple PackageIssues for this vulnerability, they can have different effective severities because some might be provided by the distro while others are provided by the language ecosystem for a language pack. For this reason, it is advised to use the effective severity on the PackageIssue level. In the case where multiple PackageIssues have differing effective severities, this field should be the highest severity for any of the PackageIssues.", +"enum": [ +"SEVERITY_UNSPECIFIED", +"MINIMAL", +"LOW", +"MEDIUM", +"HIGH", +"CRITICAL" +], +"enumDescriptions": [ +"Unknown.", +"Minimal severity.", +"Low severity.", +"Medium severity.", +"High severity.", +"Critical severity." +], +"type": "string" +}, +"extraDetails": { +"description": "Occurrence-specific extra details about the vulnerability.", +"type": "string" +}, +"longDescription": { +"description": "Output only. A detailed description of this vulnerability.", +"type": "string" +}, +"packageIssue": { +"description": "Required. The set of affected locations and their fixes (if available) within the associated resource.", +"items": { +"$ref": "PackageIssue" +}, +"type": "array" +}, +"relatedUrls": { +"description": "Output only. URLs related to this vulnerability.", +"items": { +"$ref": "RelatedUrl" +}, +"type": "array" +}, +"severity": { +"description": "Output only. The note provider assigned Severity of the vulnerability.", +"enum": [ +"SEVERITY_UNSPECIFIED", +"MINIMAL", +"LOW", +"MEDIUM", +"HIGH", +"CRITICAL" +], +"enumDescriptions": [ +"Unknown.", +"Minimal severity.", +"Low severity.", +"Medium severity.", +"High severity.", +"Critical severity." +], +"type": "string" +}, +"shortDescription": { +"description": "Output only. A one sentence description of this vulnerability.", +"type": "string" +}, +"type": { +"description": "The type of package; whether native or non native(ruby gems, node.js packages etc)", +"type": "string" +}, +"vexAssessment": { +"$ref": "VexAssessment" +} +}, +"type": "object" +}, +"Hash": { +"description": "Container message for hash values.", +"id": "Hash", +"properties": { +"type": { +"description": "Required. The type of hash that was performed.", +"enum": [ +"HASH_TYPE_UNSPECIFIED", +"SHA256", +"GO_MODULE_H1", +"SHA512", +"DIRSUM_SHA256" +], +"enumDescriptions": [ +"Unknown.", +"A SHA-256 hash.", +"Dirhash of a Go module's source code which is then hex-encoded. See b/244466565 and https://github.com/in-toto/attestation/pull/108.", +"A SHA-512 hash.", +"A Dirsum SHA-256 hash." +], +"type": "string" +}, +"value": { +"description": "Required. The hash value.", +"format": "byte", +"type": "string" +} +}, +"type": "object" +}, +"Hint": { +"description": "This submessage provides human-readable hints about the purpose of the authority. Because the name of a note acts as its resource reference, it is important to disambiguate the canonical name of the Note (which might be a UUID for security purposes) from \"readable\" names more suitable for debug output. Note that these hints should not be used to look up authorities in security sensitive contexts, such as when looking up attestations to verify.", +"id": "Hint", +"properties": { +"humanReadableName": { +"description": "Required. The human readable name of this attestation authority, for example \"qa\".", +"type": "string" +} +}, +"type": "object" +}, +"InToto": { +"description": "This contains the fields corresponding to the definition of a software supply chain step in an in-toto layout. This information goes into a Grafeas note.", +"id": "InToto", +"properties": { +"expectedCommand": { +"description": "This field contains the expected command used to perform the step.", +"items": { +"type": "string" +}, +"type": "array" +}, +"expectedMaterials": { +"description": "The following fields contain in-toto artifact rules identifying the artifacts that enter this supply chain step, and exit the supply chain step, i.e. materials and products of the step.", +"items": { +"$ref": "ArtifactRule" +}, +"type": "array" +}, +"expectedProducts": { +"items": { +"$ref": "ArtifactRule" +}, +"type": "array" +}, +"signingKeys": { +"description": "This field contains the public keys that can be used to verify the signatures on the step metadata.", +"items": { +"$ref": "SigningKey" +}, +"type": "array" +}, +"stepName": { +"description": "This field identifies the name of the step in the supply chain.", +"type": "string" +}, +"threshold": { +"description": "This field contains a value that indicates the minimum number of keys that need to be used to sign the step's in-toto link.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"InTotoSlsaProvenanceV1": { +"id": "InTotoSlsaProvenanceV1", +"properties": { +"_type": { +"description": "InToto spec defined at https://github.com/in-toto/attestation/tree/main/spec#statement", +"type": "string" +}, +"predicate": { +"$ref": "SlsaProvenanceV1" +}, +"predicateType": { +"type": "string" +}, +"subject": { +"items": { +"$ref": "Subject" +}, +"type": "array" +} +}, +"type": "object" +}, +"Installation": { +"description": "This represents how a particular software package may be installed on a system.", +"id": "Installation", +"properties": { +"architecture": { +"description": "Output only. The CPU architecture for which packages in this distribution channel were built. Architecture will be blank for language packages.", +"enum": [ +"ARCHITECTURE_UNSPECIFIED", +"X86", +"X64" +], +"enumDescriptions": [ +"Unknown architecture.", +"X86 architecture.", +"X64 architecture." +], +"readOnly": true, +"type": "string" +}, +"cpeUri": { +"description": "Output only. The cpe_uri in [CPE format](https://cpe.mitre.org/specification/) denoting the package manager version distributing a package. The cpe_uri will be blank for language packages.", +"readOnly": true, +"type": "string" +}, +"license": { +"$ref": "License", +"description": "Licenses that have been declared by the authors of the package." +}, +"location": { +"description": "All of the places within the filesystem versions of this package have been found.", +"items": { +"$ref": "Location" +}, +"type": "array" +}, +"name": { +"description": "Required. Output only. The name of the installed package.", +"readOnly": true, +"type": "string" +}, +"packageType": { +"description": "Output only. The type of package; whether native or non native (e.g., ruby gems, node.js packages, etc.).", +"readOnly": true, +"type": "string" +}, +"version": { +"$ref": "Version", +"description": "Output only. The version of the package.", +"readOnly": true +} +}, +"type": "object" +}, +"Justification": { +"description": "Justification provides the justification when the state of the assessment if NOT_AFFECTED.", +"id": "Justification", +"properties": { +"details": { +"description": "Additional details on why this justification was chosen.", +"type": "string" +}, +"justificationType": { +"description": "The justification type for this vulnerability.", +"enum": [ +"JUSTIFICATION_TYPE_UNSPECIFIED", +"COMPONENT_NOT_PRESENT", +"VULNERABLE_CODE_NOT_PRESENT", +"VULNERABLE_CODE_NOT_IN_EXECUTE_PATH", +"VULNERABLE_CODE_CANNOT_BE_CONTROLLED_BY_ADVERSARY", +"INLINE_MITIGATIONS_ALREADY_EXIST" +], +"enumDescriptions": [ +"JUSTIFICATION_TYPE_UNSPECIFIED.", +"The vulnerable component is not present in the product.", +"The vulnerable code is not present. Typically this case occurs when source code is configured or built in a way that excludes the vulnerable code.", +"The vulnerable code can not be executed. Typically this case occurs when the product includes the vulnerable code but does not call or use the vulnerable code.", +"The vulnerable code cannot be controlled by an attacker to exploit the vulnerability.", +"The product includes built-in protections or features that prevent exploitation of the vulnerability. These built-in protections cannot be subverted by the attacker and cannot be configured or disabled by the user. These mitigations completely prevent exploitation based on known attack vectors." +], +"type": "string" +} +}, +"type": "object" +}, +"KnowledgeBase": { +"id": "KnowledgeBase", +"properties": { +"name": { +"description": "The KB name (generally of the form KB[0-9]+ i.e. KB123456).", +"type": "string" +}, +"url": { +"description": "A link to the KB in the Windows update catalog - https://www.catalog.update.microsoft.com/", +"type": "string" +} +}, +"type": "object" +}, +"Layer": { +"description": "Layer holds metadata specific to a layer of a Docker image.", +"id": "Layer", +"properties": { +"arguments": { +"description": "The recovered arguments to the Dockerfile directive.", +"type": "string" +}, +"directive": { +"description": "Required. The recovered Dockerfile directive used to construct this layer.", +"enum": [ +"DIRECTIVE_UNSPECIFIED", +"MAINTAINER", +"RUN", +"CMD", +"LABEL", +"EXPOSE", +"ENV", +"ADD", +"COPY", +"ENTRYPOINT", +"VOLUME", +"USER", +"WORKDIR", +"ARG", +"ONBUILD", +"STOPSIGNAL", +"HEALTHCHECK", +"SHELL" +], +"enumDescriptions": [ +"Default value for unsupported/missing directive.", +"https://docs.docker.com/engine/reference/builder/", +"https://docs.docker.com/engine/reference/builder/", +"https://docs.docker.com/engine/reference/builder/", +"https://docs.docker.com/engine/reference/builder/", +"https://docs.docker.com/engine/reference/builder/", +"https://docs.docker.com/engine/reference/builder/", +"https://docs.docker.com/engine/reference/builder/", +"https://docs.docker.com/engine/reference/builder/", +"https://docs.docker.com/engine/reference/builder/", +"https://docs.docker.com/engine/reference/builder/", +"https://docs.docker.com/engine/reference/builder/", +"https://docs.docker.com/engine/reference/builder/", +"https://docs.docker.com/engine/reference/builder/", +"https://docs.docker.com/engine/reference/builder/", +"https://docs.docker.com/engine/reference/builder/", +"https://docs.docker.com/engine/reference/builder/", +"https://docs.docker.com/engine/reference/builder/" +], +"type": "string" +} +}, +"type": "object" +}, +"License": { +"description": "License information.", +"id": "License", +"properties": { +"comments": { +"description": "Comments", +"type": "string" +}, +"expression": { +"description": "Often a single license can be used to represent the licensing terms. Sometimes it is necessary to include a choice of one or more licenses or some combination of license identifiers. Examples: \"LGPL-2.1-only OR MIT\", \"LGPL-2.1-only AND MIT\", \"GPL-2.0-or-later WITH Bison-exception-2.2\".", +"type": "string" +} +}, +"type": "object" +}, +"LicensesSummary": { +"description": "Per license count", +"id": "LicensesSummary", +"properties": { +"count": { +"description": "The number of fixable vulnerabilities associated with this resource.", +"format": "int64", +"type": "string" +}, +"license": { +"description": "The license of the package. Note that the format of this value is not guaranteed. It may be nil, an empty string, a boolean value (A | B), a differently formed boolean value (A OR B), etc...", +"type": "string" +} +}, +"type": "object" +}, +"Link": { +"description": "This corresponds to an in-toto link.", +"id": "Link", +"properties": { +"byproducts": { +"$ref": "ByProducts", +"description": "ByProducts are data generated as part of a software supply chain step, but are not the actual result of the step." +}, +"command": { +"description": "This field contains the full command executed for the step. This can also be empty if links are generated for operations that aren't directly mapped to a specific command. Each term in the command is an independent string in the list. An example of a command in the in-toto metadata field is: \"command\": [\"git\", \"clone\", \"https://github.com/in-toto/demo-project.git\"]", +"items": { +"type": "string" +}, +"type": "array" +}, +"environment": { +"$ref": "Environment", +"description": "This is a field that can be used to capture information about the environment. It is suggested for this field to contain information that details environment variables, filesystem information, and the present working directory. The recommended structure of this field is: \"environment\": { \"custom_values\": { \"variables\": \"\", \"filesystem\": \"\", \"workdir\": \"\", \"\": \"...\" } }" +}, +"materials": { +"description": "Materials are the supply chain artifacts that go into the step and are used for the operation performed. The key of the map is the path of the artifact and the structure contains the recorded hash information. An example is: \"materials\": [ { \"resource_uri\": \"foo/bar\", \"hashes\": { \"sha256\": \"ebebf...\", : } } ]", +"items": { +"$ref": "GrafeasV1beta1IntotoArtifact" +}, +"type": "array" +}, +"products": { +"description": "Products are the supply chain artifacts generated as a result of the step. The structure is identical to that of materials.", +"items": { +"$ref": "GrafeasV1beta1IntotoArtifact" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListNoteOccurrencesResponse": { +"description": "Response for listing occurrences for a note.", +"id": "ListNoteOccurrencesResponse", +"properties": { +"nextPageToken": { +"description": "Token to provide to skip to a particular spot in the list.", +"type": "string" +}, +"occurrences": { +"description": "The occurrences attached to the specified note.", +"items": { +"$ref": "Occurrence" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListNotesResponse": { +"description": "Response for listing notes.", +"id": "ListNotesResponse", +"properties": { +"nextPageToken": { +"description": "The next pagination token in the list response. It should be used as `page_token` for the following request. An empty value means no more results.", +"type": "string" +}, +"notes": { +"description": "The notes requested.", +"items": { +"$ref": "Note" +}, +"type": "array" +}, +"unreachable": { +"description": "Unordered list. Unreachable regions. Populated for requests from the global region when `return_partial_success` is set. Format: `projects/[PROJECT_ID]/locations/[LOCATION]`", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListOccurrencesResponse": { +"description": "Response for listing occurrences.", +"id": "ListOccurrencesResponse", +"properties": { +"nextPageToken": { +"description": "The next pagination token in the list response. It should be used as `page_token` for the following request. An empty value means no more results.", +"type": "string" +}, +"occurrences": { +"description": "The occurrences requested.", +"items": { +"$ref": "Occurrence" +}, +"type": "array" +}, +"unreachable": { +"description": "Unordered list. Unreachable regions. Populated for requests from the global region when `return_partial_success` is set. Format: `projects/[PROJECT_ID]/locations/[LOCATION]`", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"Location": { +"description": "An occurrence of a particular package installation found within a system's filesystem. E.g., glibc was found in `/var/lib/dpkg/status`.", +"id": "Location", +"properties": { +"cpeUri": { +"description": "Deprecated. The CPE URI in [CPE format](https://cpe.mitre.org/specification/) denoting the package manager version distributing a package.", +"type": "string" +}, +"path": { +"description": "The path from which we gathered that this package/version is installed.", +"type": "string" +}, +"version": { +"$ref": "Version", +"description": "Deprecated. The version installed at this location." +} +}, +"type": "object" +}, +"Note": { +"description": "A type of analysis that can be done for a resource.", +"id": "Note", +"properties": { +"attestationAuthority": { +"$ref": "Authority", +"description": "A note describing an attestation role." +}, +"baseImage": { +"$ref": "Basis", +"description": "A note describing a base image." +}, +"build": { +"$ref": "Build", +"description": "A note describing build provenance for a verifiable build." +}, +"createTime": { +"description": "Output only. The time this note was created. This field can be used as a filter in list requests.", +"format": "google-datetime", +"type": "string" +}, +"deployable": { +"$ref": "Deployable", +"description": "A note describing something that can be deployed." +}, +"discovery": { +"$ref": "Discovery", +"description": "A note describing the initial analysis of a resource." +}, +"expirationTime": { +"description": "Time of expiration for this note. Empty if note does not expire.", +"format": "google-datetime", +"type": "string" +}, +"intoto": { +"$ref": "InToto", +"description": "A note describing an in-toto link." +}, +"kind": { +"description": "Output only. The type of analysis. This field can be used as a filter in list requests.", +"enum": [ +"NOTE_KIND_UNSPECIFIED", +"VULNERABILITY", +"BUILD", +"IMAGE", +"PACKAGE", +"DEPLOYMENT", +"DISCOVERY", +"ATTESTATION", +"INTOTO", +"SBOM", +"SPDX_PACKAGE", +"SPDX_FILE", +"SPDX_RELATIONSHIP", +"VULNERABILITY_ASSESSMENT", +"SBOM_REFERENCE", +"SECRET" +], +"enumDescriptions": [ +"Default value. This value is unused.", +"The note and occurrence represent a package vulnerability.", +"The note and occurrence assert build provenance.", +"This represents an image basis relationship.", +"This represents a package installed via a package manager.", +"The note and occurrence track deployment events.", +"The note and occurrence track the initial discovery status of a resource.", +"This represents a logical \"role\" that can attest to artifacts.", +"This represents an in-toto link.", +"This represents a software bill of materials.", +"This represents an SPDX Package.", +"This represents an SPDX File.", +"This represents an SPDX Relationship.", +"This represents a Vulnerability Assessment.", +"This represents an SBOM Reference.", +"This represents a secret." +], +"type": "string" +}, +"longDescription": { +"description": "A detailed description of this note.", +"type": "string" +}, +"name": { +"description": "Output only. The name of the note in the form of `projects/[PROVIDER_ID]/notes/[NOTE_ID]`.", +"type": "string" +}, +"package": { +"$ref": "Package", +"description": "A note describing a package hosted by various package managers." +}, +"relatedNoteNames": { +"description": "Other notes related to this note.", +"items": { +"type": "string" +}, +"type": "array" +}, +"relatedUrl": { +"description": "URLs associated with this note.", +"items": { +"$ref": "RelatedUrl" +}, +"type": "array" +}, +"sbom": { +"$ref": "DocumentNote", +"description": "A note describing a software bill of materials." +}, +"sbomReference": { +"$ref": "SBOMReferenceNote", +"description": "A note describing an SBOM reference." +}, +"secret": { +"$ref": "SecretNote", +"description": "A note describing a secret." +}, +"shortDescription": { +"description": "A one sentence description of this note.", +"type": "string" +}, +"spdxFile": { +"$ref": "FileNote", +"description": "A note describing an SPDX File." +}, +"spdxPackage": { +"$ref": "PackageInfoNote", +"description": "A note describing an SPDX Package." +}, +"spdxRelationship": { +"$ref": "RelationshipNote", +"description": "A note describing an SPDX File." +}, +"updateTime": { +"description": "Output only. The time this note was last updated. This field can be used as a filter in list requests.", +"format": "google-datetime", +"type": "string" +}, +"vulnerability": { +"$ref": "Vulnerability", +"description": "A note describing a package vulnerability." +}, +"vulnerabilityAssessment": { +"$ref": "VulnerabilityAssessmentNote", +"description": "A note describing a vulnerability assessment." +} +}, +"type": "object" +}, +"Occurrence": { +"description": "An instance of an analysis type that has been found on a resource.", +"id": "Occurrence", +"properties": { +"attestation": { +"$ref": "Details", +"description": "Describes an attestation of an artifact." +}, +"build": { +"$ref": "GrafeasV1beta1BuildDetails", +"description": "Describes a verifiable build." +}, +"createTime": { +"description": "Output only. The time this occurrence was created.", +"format": "google-datetime", +"type": "string" +}, +"deployment": { +"$ref": "GrafeasV1beta1DeploymentDetails", +"description": "Describes the deployment of an artifact on a runtime." +}, +"derivedImage": { +"$ref": "GrafeasV1beta1ImageDetails", +"description": "Describes how this resource derives from the basis in the associated note." +}, +"discovered": { +"$ref": "GrafeasV1beta1DiscoveryDetails", +"description": "Describes when a resource was discovered." +}, +"envelope": { +"$ref": "Envelope", +"description": "https://github.com/secure-systems-lab/dsse" +}, +"installation": { +"$ref": "GrafeasV1beta1PackageDetails", +"description": "Describes the installation of a package on the linked resource." +}, +"intoto": { +"$ref": "GrafeasV1beta1IntotoDetails", +"description": "Describes a specific in-toto link." +}, +"kind": { +"description": "Output only. This explicitly denotes which of the occurrence details are specified. This field can be used as a filter in list requests.", +"enum": [ +"NOTE_KIND_UNSPECIFIED", +"VULNERABILITY", +"BUILD", +"IMAGE", +"PACKAGE", +"DEPLOYMENT", +"DISCOVERY", +"ATTESTATION", +"INTOTO", +"SBOM", +"SPDX_PACKAGE", +"SPDX_FILE", +"SPDX_RELATIONSHIP", +"VULNERABILITY_ASSESSMENT", +"SBOM_REFERENCE", +"SECRET" +], +"enumDescriptions": [ +"Default value. This value is unused.", +"The note and occurrence represent a package vulnerability.", +"The note and occurrence assert build provenance.", +"This represents an image basis relationship.", +"This represents a package installed via a package manager.", +"The note and occurrence track deployment events.", +"The note and occurrence track the initial discovery status of a resource.", +"This represents a logical \"role\" that can attest to artifacts.", +"This represents an in-toto link.", +"This represents a software bill of materials.", +"This represents an SPDX Package.", +"This represents an SPDX File.", +"This represents an SPDX Relationship.", +"This represents a Vulnerability Assessment.", +"This represents an SBOM Reference.", +"This represents a secret." +], +"type": "string" +}, +"name": { +"description": "Output only. The name of the occurrence in the form of `projects/[PROJECT_ID]/occurrences/[OCCURRENCE_ID]`.", +"type": "string" +}, +"noteName": { +"description": "Required. Immutable. The analysis note associated with this occurrence, in the form of `projects/[PROVIDER_ID]/notes/[NOTE_ID]`. This field can be used as a filter in list requests.", +"type": "string" +}, +"remediation": { +"description": "A description of actions that can be taken to remedy the note.", +"type": "string" +}, +"resource": { +"$ref": "Resource", +"description": "Required. Immutable. The resource for which the occurrence applies." +}, +"sbom": { +"$ref": "DocumentOccurrence", +"description": "Describes a specific software bill of materials document." +}, +"sbomReference": { +"$ref": "SBOMReferenceOccurrence", +"description": "Describes a specific SBOM reference occurrences." +}, +"secret": { +"$ref": "SecretOccurrence", +"description": "Describes a secret." +}, +"spdxFile": { +"$ref": "FileOccurrence", +"description": "Describes a specific SPDX File." +}, +"spdxPackage": { +"$ref": "PackageInfoOccurrence", +"description": "Describes a specific SPDX Package." +}, +"spdxRelationship": { +"$ref": "RelationshipOccurrence", +"description": "Describes a specific SPDX Relationship." +}, +"updateTime": { +"description": "Output only. The time this occurrence was last updated.", +"format": "google-datetime", +"type": "string" +}, +"vulnerability": { +"$ref": "GrafeasV1beta1VulnerabilityDetails", +"description": "Describes a security vulnerability." +} +}, +"type": "object" +}, +"Package": { +"description": "Package represents a particular package version.", +"id": "Package", +"properties": { +"architecture": { +"description": "The CPU architecture for which packages in this distribution channel were built. Architecture will be blank for language packages.", +"enum": [ +"ARCHITECTURE_UNSPECIFIED", +"X86", +"X64" +], +"enumDescriptions": [ +"Unknown architecture.", +"X86 architecture.", +"X64 architecture." +], +"type": "string" +}, +"cpeUri": { +"description": "The cpe_uri in [CPE format](https://cpe.mitre.org/specification/) denoting the package manager version distributing a package. The cpe_uri will be blank for language packages.", +"type": "string" +}, +"description": { +"description": "The description of this package.", +"type": "string" +}, +"digest": { +"description": "Hash value, typically a file digest, that allows unique identification a specific package.", +"items": { +"$ref": "Digest" +}, +"type": "array" +}, +"distribution": { +"description": "The various channels by which a package is distributed.", +"items": { +"$ref": "Distribution" +}, +"type": "array" +}, +"license": { +"$ref": "License", +"description": "Licenses that have been declared by the authors of the package." +}, +"maintainer": { +"description": "A freeform text denoting the maintainer of this package.", +"type": "string" +}, +"name": { +"description": "Required. Immutable. The name of the package.", +"type": "string" +}, +"packageType": { +"description": "The type of package; whether native or non native (e.g., ruby gems, node.js packages, etc.).", +"type": "string" +}, +"url": { +"description": "The homepage for this package.", +"type": "string" +}, +"version": { +"$ref": "Version", +"description": "The version of the package." +} +}, +"type": "object" +}, +"PackageInfoNote": { +"description": "PackageInfoNote represents an SPDX Package Information section: https://spdx.github.io/spdx-spec/3-package-information/", +"id": "PackageInfoNote", +"properties": { +"analyzed": { +"description": "Indicates whether the file content of this package has been available for or subjected to analysis when creating the SPDX document", +"type": "boolean" +}, +"attribution": { +"description": "A place for the SPDX data creator to record, at the package level, acknowledgements that may be needed to be communicated in some contexts", +"type": "string" +}, +"checksum": { +"description": "Provide an independently reproducible mechanism that permits unique identification of a specific package that correlates to the data in this SPDX file", +"type": "string" +}, +"copyright": { +"description": "Identify the copyright holders of the package, as well as any dates present", +"type": "string" +}, +"detailedDescription": { +"description": "A more detailed description of the package", +"type": "string" +}, +"downloadLocation": { +"description": "This section identifies the download Universal Resource Locator (URL), or a specific location within a version control system (VCS) for the package at the time that the SPDX file was created", +"type": "string" +}, +"externalRefs": { +"description": "ExternalRef", +"items": { +"$ref": "ExternalRef" +}, +"type": "array" +}, +"filesLicenseInfo": { +"description": "Contain the license the SPDX file creator has concluded as governing the This field is to contain a list of all licenses found in the package. The relationship between licenses (i.e., conjunctive, disjunctive) is not specified in this field \u2013 it is simply a listing of all licenses found", +"items": { +"type": "string" +}, +"type": "array" +}, +"homePage": { +"description": "Provide a place for the SPDX file creator to record a web site that serves as the package's home page", +"type": "string" +}, +"licenseDeclared": { +"$ref": "License", +"description": "List the licenses that have been declared by the authors of the package" +}, +"originator": { +"description": "If the package identified in the SPDX file originated from a different person or organization than identified as Package Supplier, this field identifies from where or whom the package originally came", +"type": "string" +}, +"packageType": { +"description": "The type of package: OS, MAVEN, GO, GO_STDLIB, etc.", +"type": "string" +}, +"summaryDescription": { +"description": "A short description of the package", +"type": "string" +}, +"supplier": { +"description": "Identify the actual distribution source for the package/directory identified in the SPDX file", +"type": "string" +}, +"title": { +"description": "Identify the full name of the package as given by the Package Originator", +"type": "string" +}, +"verificationCode": { +"description": "This field provides an independently reproducible mechanism identifying specific contents of a package based on the actual files (except the SPDX file itself, if it is included in the package) that make up each package and that correlates to the data in this SPDX file", +"type": "string" +}, +"version": { +"description": "Identify the version of the package", +"type": "string" +} +}, +"type": "object" +}, +"PackageInfoOccurrence": { +"description": "PackageInfoOccurrence represents an SPDX Package Information section: https://spdx.github.io/spdx-spec/3-package-information/", +"id": "PackageInfoOccurrence", +"properties": { +"comment": { +"description": "A place for the SPDX file creator to record any general comments about the package being described", +"type": "string" +}, +"filename": { +"description": "Provide the actual file name of the package, or path of the directory being treated as a package", +"type": "string" +}, +"homePage": { +"description": "Output only. Provide a place for the SPDX file creator to record a web site that serves as the package's home page", +"readOnly": true, +"type": "string" +}, +"id": { +"description": "Uniquely identify any element in an SPDX document which may be referenced by other elements", +"type": "string" +}, +"licenseConcluded": { +"$ref": "License", +"description": "package or alternative values, if the governing license cannot be determined" +}, +"packageType": { +"description": "Output only. The type of package: OS, MAVEN, GO, GO_STDLIB, etc.", +"readOnly": true, +"type": "string" +}, +"sourceInfo": { +"description": "Provide a place for the SPDX file creator to record any relevant background information or additional comments about the origin of the package", +"type": "string" +}, +"summaryDescription": { +"description": "Output only. A short description of the package", +"readOnly": true, +"type": "string" +}, +"title": { +"description": "Output only. Identify the full name of the package as given by the Package Originator", +"readOnly": true, +"type": "string" +}, +"version": { +"description": "Output only. Identify the version of the package", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"PackageIssue": { +"description": "This message wraps a location affected by a vulnerability and its associated fix (if one is available).", +"id": "PackageIssue", +"properties": { +"affectedLocation": { +"$ref": "VulnerabilityLocation", +"description": "Required. The location of the vulnerability." +}, +"effectiveSeverity": { +"description": "Output only. The distro or language system assigned severity for this vulnerability when that is available and note provider assigned severity when it is not available.", +"enum": [ +"SEVERITY_UNSPECIFIED", +"MINIMAL", +"LOW", +"MEDIUM", +"HIGH", +"CRITICAL" +], +"enumDescriptions": [ +"Unknown.", +"Minimal severity.", +"Low severity.", +"Medium severity.", +"High severity.", +"Critical severity." +], +"readOnly": true, +"type": "string" +}, +"fixedLocation": { +"$ref": "VulnerabilityLocation", +"description": "The location of the available fix for vulnerability." +}, +"packageType": { +"description": "The type of package (e.g. OS, MAVEN, GO).", +"type": "string" +}, +"severityName": { +"description": "Deprecated, use Details.effective_severity instead The severity (e.g., distro assigned severity) for this vulnerability.", +"type": "string" +} +}, +"type": "object" +}, +"PackagesSummaryResponse": { +"description": "A summary of the packages found within the given resource.", +"id": "PackagesSummaryResponse", +"properties": { +"licensesSummary": { +"description": "A listing by license name of each of the licenses and their counts.", +"items": { +"$ref": "LicensesSummary" +}, +"type": "array" +}, +"resourceUrl": { +"description": "The unique URL of the image or the container for which this summary applies.", +"type": "string" +} +}, +"type": "object" +}, +"PgpSignedAttestation": { +"description": "An attestation wrapper with a PGP-compatible signature. This message only supports `ATTACHED` signatures, where the payload that is signed is included alongside the signature itself in the same file.", +"id": "PgpSignedAttestation", +"properties": { +"contentType": { +"description": "Type (for example schema) of the attestation payload that was signed. The verifier must ensure that the provided type is one that the verifier supports, and that the attestation payload is a valid instantiation of that type (for example by validating a JSON schema).", +"enum": [ +"CONTENT_TYPE_UNSPECIFIED", +"SIMPLE_SIGNING_JSON" +], +"enumDescriptions": [ +"`ContentType` is not set.", +"Atomic format attestation signature. See https://github.com/containers/image/blob/8a5d2f82a6e3263290c8e0276c3e0f64e77723e7/docs/atomic-signature.md The payload extracted from `signature` is a JSON blob conforming to the linked schema." +], +"type": "string" +}, +"pgpKeyId": { +"description": "The cryptographic fingerprint of the key used to generate the signature, as output by, e.g. `gpg --list-keys`. This should be the version 4, full 160-bit fingerprint, expressed as a 40 character hexadecimal string. See https://tools.ietf.org/html/rfc4880#section-12.2 for details. Implementations may choose to acknowledge \"LONG\", \"SHORT\", or other abbreviated key IDs, but only the full fingerprint is guaranteed to work. In gpg, the full fingerprint can be retrieved from the `fpr` field returned when calling --list-keys with --with-colons. For example: ``` gpg --with-colons --with-fingerprint --force-v4-certs \\ --list-keys attester@example.com tru::1:1513631572:0:3:1:5 pub:...... fpr:::::::::24FF6481B76AC91E66A00AC657A93A81EF3AE6FB: ``` Above, the fingerprint is `24FF6481B76AC91E66A00AC657A93A81EF3AE6FB`.", +"type": "string" +}, +"signature": { +"description": "Required. The raw content of the signature, as output by GNU Privacy Guard (GPG) or equivalent. Since this message only supports attached signatures, the payload that was signed must be attached. While the signature format supported is dependent on the verification implementation, currently only ASCII-armored (`--armor` to gpg), non-clearsigned (`--sign` rather than `--clearsign` to gpg) are supported. Concretely, `gpg --sign --armor --output=signature.gpg payload.json` will create the signature content expected in this field in `signature.gpg` for the `payload.json` attestation payload.", +"type": "string" +} +}, +"type": "object" +}, +"Policy": { +"description": "An Identity and Access Management (IAM) policy, which specifies access controls for Google Cloud resources. A `Policy` is a collection of `bindings`. A `binding` binds one or more `members`, or principals, to a single `role`. Principals can be user accounts, service accounts, Google groups, and domains (such as G Suite). A `role` is a named list of permissions; each `role` can be an IAM predefined role or a user-created custom role. For some types of Google Cloud resources, a `binding` can also specify a `condition`, which is a logical expression that allows access to a resource only if the expression evaluates to `true`. A condition can add constraints based on attributes of the request, the resource, or both. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). **JSON example:** ``` { \"bindings\": [ { \"role\": \"roles/resourcemanager.organizationAdmin\", \"members\": [ \"user:mike@example.com\", \"group:admins@example.com\", \"domain:google.com\", \"serviceAccount:my-project-id@appspot.gserviceaccount.com\" ] }, { \"role\": \"roles/resourcemanager.organizationViewer\", \"members\": [ \"user:eve@example.com\" ], \"condition\": { \"title\": \"expirable access\", \"description\": \"Does not grant access after Sep 2020\", \"expression\": \"request.time < timestamp('2020-10-01T00:00:00.000Z')\", } } ], \"etag\": \"BwWWja0YfJA=\", \"version\": 3 } ``` **YAML example:** ``` bindings: - members: - user:mike@example.com - group:admins@example.com - domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.com role: roles/resourcemanager.organizationViewer condition: title: expirable access description: Does not grant access after Sep 2020 expression: request.time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 ``` For a description of IAM and its features, see the [IAM documentation](https://cloud.google.com/iam/docs/).", +"id": "Policy", +"properties": { +"bindings": { +"description": "Associates a list of `members`, or principals, with a `role`. Optionally, may specify a `condition` that determines how and when the `bindings` are applied. Each of the `bindings` must contain at least one principal. The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250 of these principals can be Google groups. Each occurrence of a principal counts towards these limits. For example, if the `bindings` grant 50 different roles to `user:alice@example.com`, and not to any other principal, then you can add another 1,450 principals to the `bindings` in the `Policy`.", +"items": { +"$ref": "Binding" +}, +"type": "array" +}, +"etag": { +"description": "`etag` is used for optimistic concurrency control as a way to help prevent simultaneous updates of a policy from overwriting each other. It is strongly suggested that systems make use of the `etag` in the read-modify-write cycle to perform policy updates in order to avoid race conditions: An `etag` is returned in the response to `getIamPolicy`, and systems are expected to put that etag in the request to `setIamPolicy` to ensure that their change will be applied to the same version of the policy. **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost.", +"format": "byte", +"type": "string" +}, +"version": { +"description": "Specifies the format of the policy. Valid values are `0`, `1`, and `3`. Requests that specify an invalid value are rejected. Any operation that affects conditional role bindings must specify version `3`. This requirement applies to the following operations: * Getting a policy that includes a conditional role binding * Adding a conditional role binding to a policy * Changing a conditional role binding in a policy * Removing any role binding, with or without a condition, from a policy that includes conditions **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost. If a policy does not include any conditions, operations on that policy may specify any valid version or leave the field unset. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"Product": { +"description": "Product contains information about a product and how to uniquely identify it.", +"id": "Product", +"properties": { +"genericUri": { +"description": "Contains a URI which is vendor-specific. Example: The artifact repository URL of an image.", +"type": "string" +}, +"id": { +"description": "Token that identifies a product so that it can be referred to from other parts in the document. There is no predefined format as long as it uniquely identifies a group in the context of the current document.", +"type": "string" +}, +"name": { +"description": "Name of the product.", +"type": "string" +} +}, +"type": "object" +}, +"ProjectRepoId": { +"description": "Selects a repo using a Google Cloud Platform project ID (e.g., winged-cargo-31) and a repo name within that project.", +"id": "ProjectRepoId", +"properties": { +"projectId": { +"description": "The ID of the project.", +"type": "string" +}, +"repoName": { +"description": "The name of the repo. Leave empty for the default repo.", +"type": "string" +} +}, +"type": "object" +}, +"ProvenanceBuilder": { +"id": "ProvenanceBuilder", +"properties": { +"builderDependencies": { +"items": { +"$ref": "ResourceDescriptor" +}, +"type": "array" +}, +"id": { +"type": "string" +}, +"version": { +"additionalProperties": { +"type": "string" +}, +"type": "object" +} +}, +"type": "object" +}, +"Publisher": { +"description": "Publisher contains information about the publisher of this Note.", +"id": "Publisher", +"properties": { +"issuingAuthority": { +"description": "Provides information about the authority of the issuing party to release the document, in particular, the party's constituency and responsibilities or other obligations.", +"type": "string" +}, +"name": { +"description": "Name of the publisher. Examples: 'Google', 'Google Cloud Platform'.", +"type": "string" +}, +"publisherNamespace": { +"description": "The context or namespace. Contains a URL which is under control of the issuing party and can be used as a globally unique identifier for that issuing party. Example: https://csaf.io", +"type": "string" +} +}, +"type": "object" +}, +"RelatedUrl": { +"description": "Metadata for any related URL information.", +"id": "RelatedUrl", +"properties": { +"label": { +"description": "Label to describe usage of the URL.", +"type": "string" +}, +"url": { +"description": "Specific URL associated with the resource.", +"type": "string" +} +}, +"type": "object" +}, +"RelationshipNote": { +"description": "RelationshipNote represents an SPDX Relationship section: https://spdx.github.io/spdx-spec/7-relationships-between-SPDX-elements/", +"id": "RelationshipNote", +"properties": { +"type": { +"description": "The type of relationship between the source and target SPDX elements", +"enum": [ +"RELATIONSHIP_TYPE_UNSPECIFIED", +"DESCRIBES", +"DESCRIBED_BY", +"CONTAINS", +"CONTAINED_BY", +"DEPENDS_ON", +"DEPENDENCY_OF", +"DEPENDENCY_MANIFEST_OF", +"BUILD_DEPENDENCY_OF", +"DEV_DEPENDENCY_OF", +"OPTIONAL_DEPENDENCY_OF", +"PROVIDED_DEPENDENCY_OF", +"TEST_DEPENDENCY_OF", +"RUNTIME_DEPENDENCY_OF", +"EXAMPLE_OF", +"GENERATES", +"GENERATED_FROM", +"ANCESTOR_OF", +"DESCENDANT_OF", +"VARIANT_OF", +"DISTRIBUTION_ARTIFACT", +"PATCH_FOR", +"PATCH_APPLIED", +"COPY_OF", +"FILE_ADDED", +"FILE_DELETED", +"FILE_MODIFIED", +"EXPANDED_FROM_ARCHIVE", +"DYNAMIC_LINK", +"STATIC_LINK", +"DATA_FILE_OF", +"TEST_CASE_OF", +"BUILD_TOOL_OF", +"DEV_TOOL_OF", +"TEST_OF", +"TEST_TOOL_OF", +"DOCUMENTATION_OF", +"OPTIONAL_COMPONENT_OF", +"METAFILE_OF", +"PACKAGE_OF", +"AMENDS", +"PREREQUISITE_FOR", +"HAS_PREREQUISITE", +"OTHER" +], +"enumDescriptions": [ +"Unspecified", +"Is to be used when SPDXRef-DOCUMENT describes SPDXRef-A", +"Is to be used when SPDXRef-A is described by SPDXREF-Document", +"Is to be used when SPDXRef-A contains SPDXRef-B", +"Is to be used when SPDXRef-A is contained by SPDXRef-B", +"Is to be used when SPDXRef-A depends on SPDXRef-B", +"Is to be used when SPDXRef-A is dependency of SPDXRef-B", +"Is to be used when SPDXRef-A is a manifest file that lists a set of dependencies for SPDXRef-B", +"Is to be used when SPDXRef-A is a build dependency of SPDXRef-B", +"Is to be used when SPDXRef-A is a development dependency of SPDXRef-B", +"Is to be used when SPDXRef-A is an optional dependency of SPDXRef-B", +"Is to be used when SPDXRef-A is a to be provided dependency of SPDXRef-B", +"Is to be used when SPDXRef-A is a test dependency of SPDXRef-B", +"Is to be used when SPDXRef-A is a dependency required for the execution of SPDXRef-B", +"Is to be used when SPDXRef-A is an example of SPDXRef-B", +"Is to be used when SPDXRef-A generates SPDXRef-B", +"Is to be used when SPDXRef-A was generated from SPDXRef-B", +"Is to be used when SPDXRef-A is an ancestor (same lineage but pre-dates) SPDXRef-B", +"Is to be used when SPDXRef-A is a descendant of (same lineage but postdates) SPDXRef-B", +"Is to be used when SPDXRef-A is a variant of (same lineage but not clear which came first) SPDXRef-B", +"Is to be used when distributing SPDXRef-A requires that SPDXRef-B also be distributed", +"Is to be used when SPDXRef-A is a patch file for (to be applied to) SPDXRef-B", +"Is to be used when SPDXRef-A is a patch file that has been applied to SPDXRef-B", +"Is to be used when SPDXRef-A is an exact copy of SPDXRef-B", +"Is to be used when SPDXRef-A is a file that was added to SPDXRef-B", +"Is to be used when SPDXRef-A is a file that was deleted from SPDXRef-B", +"Is to be used when SPDXRef-A is a file that was modified from SPDXRef-B", +"Is to be used when SPDXRef-A is expanded from the archive SPDXRef-B", +"Is to be used when SPDXRef-A dynamically links to SPDXRef-B", +"Is to be used when SPDXRef-A statically links to SPDXRef-B", +"Is to be used when SPDXRef-A is a data file used in SPDXRef-B", +"Is to be used when SPDXRef-A is a test case used in testing SPDXRef-B", +"Is to be used when SPDXRef-A is used to build SPDXRef-B", +"Is to be used when SPDXRef-A is used as a development tool for SPDXRef-B", +"Is to be used when SPDXRef-A is used for testing SPDXRef-B", +"Is to be used when SPDXRef-A is used as a test tool for SPDXRef-B", +"Is to be used when SPDXRef-A provides documentation of SPDXRef-B", +"Is to be used when SPDXRef-A is an optional component of SPDXRef-B", +"Is to be used when SPDXRef-A is a metafile of SPDXRef-B", +"Is to be used when SPDXRef-A is used as a package as part of SPDXRef-B", +"Is to be used when (current) SPDXRef-DOCUMENT amends the SPDX information in SPDXRef-B", +"Is to be used when SPDXRef-A is a prerequisite for SPDXRef-B", +"Is to be used when SPDXRef-A has as a prerequisite SPDXRef-B", +"Is to be used for a relationship which has not been defined in the formal SPDX specification. A description of the relationship should be included in the Relationship comments field" +], +"type": "string" +} +}, +"type": "object" +}, +"RelationshipOccurrence": { +"description": "RelationshipOccurrence represents an SPDX Relationship section: https://spdx.github.io/spdx-spec/7-relationships-between-SPDX-elements/", +"id": "RelationshipOccurrence", +"properties": { +"comment": { +"description": "A place for the SPDX file creator to record any general comments about the relationship", +"type": "string" +}, +"source": { +"description": "Also referred to as SPDXRef-A The source SPDX element (file, package, etc)", +"type": "string" +}, +"target": { +"description": "Also referred to as SPDXRef-B The target SPDC element (file, package, etc) In cases where there are \"known unknowns\", the use of the keyword NOASSERTION can be used The keywords NONE can be used to indicate that an SPDX element (package/file/snippet) has no other elements connected by some relationship to it", +"type": "string" +}, +"type": { +"description": "Output only. The type of relationship between the source and target SPDX elements", +"enum": [ +"RELATIONSHIP_TYPE_UNSPECIFIED", +"DESCRIBES", +"DESCRIBED_BY", +"CONTAINS", +"CONTAINED_BY", +"DEPENDS_ON", +"DEPENDENCY_OF", +"DEPENDENCY_MANIFEST_OF", +"BUILD_DEPENDENCY_OF", +"DEV_DEPENDENCY_OF", +"OPTIONAL_DEPENDENCY_OF", +"PROVIDED_DEPENDENCY_OF", +"TEST_DEPENDENCY_OF", +"RUNTIME_DEPENDENCY_OF", +"EXAMPLE_OF", +"GENERATES", +"GENERATED_FROM", +"ANCESTOR_OF", +"DESCENDANT_OF", +"VARIANT_OF", +"DISTRIBUTION_ARTIFACT", +"PATCH_FOR", +"PATCH_APPLIED", +"COPY_OF", +"FILE_ADDED", +"FILE_DELETED", +"FILE_MODIFIED", +"EXPANDED_FROM_ARCHIVE", +"DYNAMIC_LINK", +"STATIC_LINK", +"DATA_FILE_OF", +"TEST_CASE_OF", +"BUILD_TOOL_OF", +"DEV_TOOL_OF", +"TEST_OF", +"TEST_TOOL_OF", +"DOCUMENTATION_OF", +"OPTIONAL_COMPONENT_OF", +"METAFILE_OF", +"PACKAGE_OF", +"AMENDS", +"PREREQUISITE_FOR", +"HAS_PREREQUISITE", +"OTHER" +], +"enumDescriptions": [ +"Unspecified", +"Is to be used when SPDXRef-DOCUMENT describes SPDXRef-A", +"Is to be used when SPDXRef-A is described by SPDXREF-Document", +"Is to be used when SPDXRef-A contains SPDXRef-B", +"Is to be used when SPDXRef-A is contained by SPDXRef-B", +"Is to be used when SPDXRef-A depends on SPDXRef-B", +"Is to be used when SPDXRef-A is dependency of SPDXRef-B", +"Is to be used when SPDXRef-A is a manifest file that lists a set of dependencies for SPDXRef-B", +"Is to be used when SPDXRef-A is a build dependency of SPDXRef-B", +"Is to be used when SPDXRef-A is a development dependency of SPDXRef-B", +"Is to be used when SPDXRef-A is an optional dependency of SPDXRef-B", +"Is to be used when SPDXRef-A is a to be provided dependency of SPDXRef-B", +"Is to be used when SPDXRef-A is a test dependency of SPDXRef-B", +"Is to be used when SPDXRef-A is a dependency required for the execution of SPDXRef-B", +"Is to be used when SPDXRef-A is an example of SPDXRef-B", +"Is to be used when SPDXRef-A generates SPDXRef-B", +"Is to be used when SPDXRef-A was generated from SPDXRef-B", +"Is to be used when SPDXRef-A is an ancestor (same lineage but pre-dates) SPDXRef-B", +"Is to be used when SPDXRef-A is a descendant of (same lineage but postdates) SPDXRef-B", +"Is to be used when SPDXRef-A is a variant of (same lineage but not clear which came first) SPDXRef-B", +"Is to be used when distributing SPDXRef-A requires that SPDXRef-B also be distributed", +"Is to be used when SPDXRef-A is a patch file for (to be applied to) SPDXRef-B", +"Is to be used when SPDXRef-A is a patch file that has been applied to SPDXRef-B", +"Is to be used when SPDXRef-A is an exact copy of SPDXRef-B", +"Is to be used when SPDXRef-A is a file that was added to SPDXRef-B", +"Is to be used when SPDXRef-A is a file that was deleted from SPDXRef-B", +"Is to be used when SPDXRef-A is a file that was modified from SPDXRef-B", +"Is to be used when SPDXRef-A is expanded from the archive SPDXRef-B", +"Is to be used when SPDXRef-A dynamically links to SPDXRef-B", +"Is to be used when SPDXRef-A statically links to SPDXRef-B", +"Is to be used when SPDXRef-A is a data file used in SPDXRef-B", +"Is to be used when SPDXRef-A is a test case used in testing SPDXRef-B", +"Is to be used when SPDXRef-A is used to build SPDXRef-B", +"Is to be used when SPDXRef-A is used as a development tool for SPDXRef-B", +"Is to be used when SPDXRef-A is used for testing SPDXRef-B", +"Is to be used when SPDXRef-A is used as a test tool for SPDXRef-B", +"Is to be used when SPDXRef-A provides documentation of SPDXRef-B", +"Is to be used when SPDXRef-A is an optional component of SPDXRef-B", +"Is to be used when SPDXRef-A is a metafile of SPDXRef-B", +"Is to be used when SPDXRef-A is used as a package as part of SPDXRef-B", +"Is to be used when (current) SPDXRef-DOCUMENT amends the SPDX information in SPDXRef-B", +"Is to be used when SPDXRef-A is a prerequisite for SPDXRef-B", +"Is to be used when SPDXRef-A has as a prerequisite SPDXRef-B", +"Is to be used for a relationship which has not been defined in the formal SPDX specification. A description of the relationship should be included in the Relationship comments field" +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"Remediation": { +"description": "Specifies details on how to handle (and presumably, fix) a vulnerability.", +"id": "Remediation", +"properties": { +"details": { +"description": "Contains a comprehensive human-readable discussion of the remediation.", +"type": "string" +}, +"remediationType": { +"description": "The type of remediation that can be applied.", +"enum": [ +"REMEDIATION_TYPE_UNSPECIFIED", +"MITIGATION", +"NO_FIX_PLANNED", +"NONE_AVAILABLE", +"VENDOR_FIX", +"WORKAROUND" +], +"enumDescriptions": [ +"No remediation type specified.", +"A MITIGATION is available.", +"No fix is planned.", +"Not available.", +"A vendor fix is available.", +"A workaround is available." +], +"type": "string" +}, +"remediationUri": { +"$ref": "RelatedUrl", +"description": "Contains the URL where to obtain the remediation." +} +}, +"type": "object" +}, +"RepoId": { +"description": "A unique identifier for a Cloud Repo.", +"id": "RepoId", +"properties": { +"projectRepoId": { +"$ref": "ProjectRepoId", +"description": "A combination of a project ID and a repo name." +}, +"uid": { +"description": "A server-assigned, globally unique identifier.", +"type": "string" +} +}, +"type": "object" +}, +"Resource": { +"description": "An entity that can have metadata. For example, a Docker image.", +"id": "Resource", +"properties": { +"contentHash": { +"$ref": "Hash", +"deprecated": true, +"description": "Deprecated, do not use. Use uri instead. The hash of the resource content. For example, the Docker digest." +}, +"name": { +"deprecated": true, +"description": "Deprecated, do not use. Use uri instead. The name of the resource. For example, the name of a Docker image - \"Debian\".", +"type": "string" +}, +"uri": { +"description": "Required. The unique URI of the resource. For example, `https://gcr.io/project/image@sha256:foo` for a Docker image.", +"type": "string" +} +}, +"type": "object" +}, +"ResourceDescriptor": { +"id": "ResourceDescriptor", +"properties": { +"annotations": { +"additionalProperties": { +"type": "any" +}, +"type": "object" +}, +"content": { +"format": "byte", +"type": "string" +}, +"digest": { +"additionalProperties": { +"type": "string" +}, +"type": "object" +}, +"downloadLocation": { +"type": "string" +}, +"mediaType": { +"type": "string" +}, +"name": { +"type": "string" +}, +"uri": { +"type": "string" +} +}, +"type": "object" +}, +"RunDetails": { +"id": "RunDetails", +"properties": { +"builder": { +"$ref": "ProvenanceBuilder" +}, +"byproducts": { +"items": { +"$ref": "ResourceDescriptor" +}, +"type": "array" +}, +"metadata": { +"$ref": "BuildMetadata" +} +}, +"type": "object" +}, +"SBOMReferenceNote": { +"description": "The note representing an SBOM reference.", +"id": "SBOMReferenceNote", +"properties": { +"format": { +"description": "The format that SBOM takes. E.g. may be spdx, cyclonedx, etc...", +"type": "string" +}, +"version": { +"description": "The version of the format that the SBOM takes. E.g. if the format is spdx, the version may be 2.3.", +"type": "string" +} +}, +"type": "object" +}, +"SBOMReferenceOccurrence": { +"description": "The occurrence representing an SBOM reference as applied to a specific resource. The occurrence follows the DSSE specification. See https://github.com/secure-systems-lab/dsse/blob/master/envelope.md for more details.", +"id": "SBOMReferenceOccurrence", +"properties": { +"payload": { +"$ref": "SbomReferenceIntotoPayload", +"description": "The actual payload that contains the SBOM reference data." +}, +"payloadType": { +"description": "The kind of payload that SbomReferenceIntotoPayload takes. Since it's in the intoto format, this value is expected to be 'application/vnd.in-toto+json'.", +"type": "string" +}, +"signatures": { +"description": "The signatures over the payload.", +"items": { +"$ref": "EnvelopeSignature" +}, +"type": "array" +} +}, +"type": "object" +}, +"SBOMStatus": { +"description": "The status of an SBOM generation.", +"id": "SBOMStatus", +"properties": { +"error": { +"description": "If there was an error generating an SBOM, this will indicate what that error was.", +"type": "string" +}, +"sbomState": { +"description": "The progress of the SBOM generation.", +"enum": [ +"SBOM_STATE_UNSPECIFIED", +"PENDING", +"COMPLETE" +], +"enumDescriptions": [ +"Default unknown state.", +"SBOM scanning is pending.", +"SBOM scanning has completed." +], +"type": "string" +} +}, +"type": "object" +}, +"SbomReferenceIntotoPayload": { +"description": "The actual payload that contains the SBOM Reference data. The payload follows the intoto statement specification. See https://github.com/in-toto/attestation/blob/main/spec/v1.0/statement.md for more details.", +"id": "SbomReferenceIntotoPayload", +"properties": { +"_type": { +"description": "Identifier for the schema of the Statement.", +"type": "string" +}, +"predicate": { +"$ref": "SbomReferenceIntotoPredicate", +"description": "Additional parameters of the Predicate. Includes the actual data about the SBOM." +}, +"predicateType": { +"description": "URI identifying the type of the Predicate.", +"type": "string" +}, +"subject": { +"description": "Set of software artifacts that the attestation applies to. Each element represents a single software artifact.", +"items": { +"$ref": "Subject" +}, +"type": "array" +} +}, +"type": "object" +}, +"SbomReferenceIntotoPredicate": { +"description": "A predicate which describes the SBOM being referenced.", +"id": "SbomReferenceIntotoPredicate", +"properties": { +"digest": { +"additionalProperties": { +"type": "string" +}, +"description": "A map of algorithm to digest of the contents of the SBOM.", +"type": "object" +}, +"location": { +"description": "The location of the SBOM.", +"type": "string" +}, +"mimeType": { +"description": "The mime type of the SBOM.", +"type": "string" +}, +"referrerId": { +"description": "The person or system referring this predicate to the consumer.", +"type": "string" +} +}, +"type": "object" +}, +"SecretLocation": { +"description": "The location of the secret.", +"id": "SecretLocation", +"properties": { +"fileLocation": { +"$ref": "FileLocation", +"description": "The secret is found from a file." +} +}, +"type": "object" +}, +"SecretNote": { +"description": "The note representing a secret.", +"id": "SecretNote", +"properties": {}, +"type": "object" +}, +"SecretOccurrence": { +"description": "The occurrence provides details of a secret.", +"id": "SecretOccurrence", +"properties": { +"kind": { +"description": "Required. Type of secret.", +"enum": [ +"SECRET_KIND_UNSPECIFIED", +"SECRET_KIND_UNKNOWN", +"SECRET_KIND_GCP_SERVICE_ACCOUNT_KEY", +"SECRET_KIND_GCP_API_KEY", +"SECRET_KIND_GCP_OAUTH2_CLIENT_CREDENTIALS", +"SECRET_KIND_GCP_OAUTH2_ACCESS_TOKEN", +"SECRET_KIND_ANTHROPIC_ADMIN_API_KEY", +"SECRET_KIND_ANTHROPIC_API_KEY", +"SECRET_KIND_AZURE_ACCESS_TOKEN", +"SECRET_KIND_AZURE_IDENTITY_TOKEN", +"SECRET_KIND_DOCKER_HUB_PERSONAL_ACCESS_TOKEN", +"SECRET_KIND_GITHUB_APP_REFRESH_TOKEN", +"SECRET_KIND_GITHUB_APP_SERVER_TO_SERVER_TOKEN", +"SECRET_KIND_GITHUB_APP_USER_TO_SERVER_TOKEN", +"SECRET_KIND_GITHUB_CLASSIC_PERSONAL_ACCESS_TOKEN", +"SECRET_KIND_GITHUB_FINE_GRAINED_PERSONAL_ACCESS_TOKEN", +"SECRET_KIND_GITHUB_OAUTH_TOKEN", +"SECRET_KIND_HUGGINGFACE_API_KEY", +"SECRET_KIND_OPENAI_API_KEY", +"SECRET_KIND_PERPLEXITY_API_KEY", +"SECRET_KIND_STRIPE_SECRET_KEY", +"SECRET_KIND_STRIPE_RESTRICTED_KEY", +"SECRET_KIND_STRIPE_WEBHOOK_SECRET" +], +"enumDescriptions": [ +"Unspecified", +"The secret kind is unknown.", +"A Google Cloud service account key per: https://cloud.google.com/iam/docs/creating-managing-service-account-keys", +"A Google Cloud API key per: https://cloud.google.com/docs/authentication/api-keys", +"A Google Cloud OAuth2 client credentials per: https://developers.google.com/identity/protocols/oauth2", +"A Google Cloud OAuth2 access token per: https://cloud.google.com/docs/authentication/token-types#access", +"An Anthropic Admin API key.", +"An Anthropic API key.", +"An Azure access token.", +"An Azure Identity Platform ID token.", +"A Docker Hub personal access token.", +"A GitHub App refresh token.", +"A GitHub App server-to-server token.", +"A GitHub App user-to-server token.", +"A GitHub personal access token (classic).", +"A GitHub fine-grained personal access token.", +"A GitHub OAuth token.", +"A Hugging Face API key.", +"An OpenAI API key.", +"A Perplexity API key.", +"A Stripe secret key.", +"A Stripe restricted key.", +"A Stripe webhook secret." +], +"type": "string" +}, +"locations": { +"description": "Optional. Locations where the secret is detected.", +"items": { +"$ref": "SecretLocation" +}, +"type": "array" +}, +"statuses": { +"description": "Optional. Status of the secret.", +"items": { +"$ref": "SecretStatus" +}, +"type": "array" +} +}, +"type": "object" +}, +"SecretStatus": { +"description": "The status of the secret with a timestamp.", +"id": "SecretStatus", +"properties": { +"message": { +"description": "Optional. Optional message about the status code.", +"type": "string" +}, +"status": { +"description": "Optional. The status of the secret.", +"enum": [ +"STATUS_UNSPECIFIED", +"UNKNOWN", +"VALID", +"INVALID" +], +"enumDescriptions": [ +"Unspecified", +"The status of the secret is unknown.", +"The secret is valid.", +"The secret is invalid." +], +"type": "string" +}, +"updateTime": { +"description": "Optional. The time the secret status was last updated.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"SetIamPolicyRequest": { +"description": "Request message for `SetIamPolicy` method.", +"id": "SetIamPolicyRequest", +"properties": { +"policy": { +"$ref": "Policy", +"description": "REQUIRED: The complete policy to be applied to the `resource`. The size of the policy is limited to a few 10s of KB. An empty policy is a valid policy but certain Google Cloud services (such as Projects) might reject them." +} +}, +"type": "object" +}, +"Signature": { +"description": "Verifiers (e.g. Kritis implementations) MUST verify signatures with respect to the trust anchors defined in policy (e.g. a Kritis policy). Typically this means that the verifier has been configured with a map from `public_key_id` to public key material (and any required parameters, e.g. signing algorithm). In particular, verification implementations MUST NOT treat the signature `public_key_id` as anything more than a key lookup hint. The `public_key_id` DOES NOT validate or authenticate a public key; it only provides a mechanism for quickly selecting a public key ALREADY CONFIGURED on the verifier through a trusted channel. Verification implementations MUST reject signatures in any of the following circumstances: * The `public_key_id` is not recognized by the verifier. * The public key that `public_key_id` refers to does not verify the signature with respect to the payload. The `signature` contents SHOULD NOT be \"attached\" (where the payload is included with the serialized `signature` bytes). Verifiers MUST ignore any \"attached\" payload and only verify signatures with respect to explicitly provided payload (e.g. a `payload` field on the proto message that holds this Signature, or the canonical serialization of the proto message that holds this signature).", +"id": "Signature", +"properties": { +"publicKeyId": { +"description": "The identifier for the public key that verifies this signature. * The `public_key_id` is required. * The `public_key_id` SHOULD be an RFC3986 conformant URI. * When possible, the `public_key_id` SHOULD be an immutable reference, such as a cryptographic digest. Examples of valid `public_key_id`s: OpenPGP V4 public key fingerprint: * \"openpgp4fpr:74FAF3B861BDA0870C7B6DEF607E48D2A663AEEA\" See https://www.iana.org/assignments/uri-schemes/prov/openpgp4fpr for more details on this scheme. RFC6920 digest-named SubjectPublicKeyInfo (digest of the DER serialization): * \"ni:///sha-256;cD9o9Cq6LG3jD0iKXqEi_vdjJGecm_iXkbqVoScViaU\" * \"nih:///sha-256;703f68f42aba2c6de30f488a5ea122fef76324679c9bf89791ba95a1271589a5\"", +"type": "string" +}, +"signature": { +"description": "The content of the signature, an opaque bytestring. The payload that this signature verifies MUST be unambiguously provided with the Signature during verification. A wrapper message might provide the payload explicitly. Alternatively, a message might have a canonical serialization that can always be unambiguously computed to derive the payload.", +"format": "byte", +"type": "string" +} +}, +"type": "object" +}, +"SigningKey": { +"description": "This defines the format used to record keys used in the software supply chain. An in-toto link is attested using one or more keys defined in the in-toto layout. An example of this is: { \"key_id\": \"776a00e29f3559e0141b3b096f696abc6cfb0c657ab40f441132b345b0...\", \"key_type\": \"rsa\", \"public_key_value\": \"-----BEGIN PUBLIC KEY-----\\nMIIBojANBgkqhkiG9w0B...\", \"key_scheme\": \"rsassa-pss-sha256\" } The format for in-toto's key definition can be found in section 4.2 of the in-toto specification.", +"id": "SigningKey", +"properties": { +"keyId": { +"description": "key_id is an identifier for the signing key.", +"type": "string" +}, +"keyScheme": { +"description": "This field contains the corresponding signature scheme. Eg: \"rsassa-pss-sha256\".", +"type": "string" +}, +"keyType": { +"description": "This field identifies the specific signing method. Eg: \"rsa\", \"ed25519\", and \"ecdsa\".", +"type": "string" +}, +"publicKeyValue": { +"description": "This field contains the actual public key.", +"type": "string" +} +}, +"type": "object" +}, +"SlsaProvenanceV1": { +"description": "Keep in sync with schema at https://github.com/slsa-framework/slsa/blob/main/docs/provenance/schema/v1/provenance.proto Builder renamed to ProvenanceBuilder because of Java conflicts.", +"id": "SlsaProvenanceV1", +"properties": { +"buildDefinition": { +"$ref": "BuildDefinition" +}, +"runDetails": { +"$ref": "RunDetails" +} +}, +"type": "object" +}, +"Source": { +"description": "Source describes the location of the source used for the build.", +"id": "Source", +"properties": { +"additionalContexts": { +"description": "If provided, some of the source code used for the build may be found in these locations, in the case where the source repository had multiple remotes or submodules. This list will not include the context specified in the context field.", +"items": { +"$ref": "SourceContext" +}, +"type": "array" +}, +"artifactStorageSourceUri": { +"description": "If provided, the input binary artifacts for the build came from this location.", +"type": "string" +}, +"context": { +"$ref": "SourceContext", +"description": "If provided, the source code used for the build came from this location." +}, +"fileHashes": { +"additionalProperties": { +"$ref": "FileHashes" +}, +"description": "Hash(es) of the build source, which can be used to verify that the original source integrity was maintained in the build. The keys to this map are file paths used as build source and the values contain the hash values for those files. If the build source came in a single package such as a gzipped tarfile (.tar.gz), the FileHash will be for the single path to that file.", +"type": "object" +} +}, +"type": "object" +}, +"SourceContext": { +"description": "A SourceContext is a reference to a tree of files. A SourceContext together with a path point to a unique revision of a single file or directory.", +"id": "SourceContext", +"properties": { +"cloudRepo": { +"$ref": "CloudRepoSourceContext", +"description": "A SourceContext referring to a revision in a Google Cloud Source Repo." +}, +"gerrit": { +"$ref": "GerritSourceContext", +"description": "A SourceContext referring to a Gerrit project." +}, +"git": { +"$ref": "GitSourceContext", +"description": "A SourceContext referring to any third party Git repo (e.g., GitHub)." +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Labels with user defined metadata.", +"type": "object" +} +}, +"type": "object" +}, +"Status": { +"description": "The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors).", +"id": "Status", +"properties": { +"code": { +"description": "The status code, which should be an enum value of google.rpc.Code.", +"format": "int32", +"type": "integer" +}, +"details": { +"description": "A list of messages that carry the error details. There is a common set of message types for APIs to use.", +"items": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.", +"type": "string" +} +}, +"type": "object" +}, +"StepResult": { +"description": "StepResult is the declaration of a result for a build step.", +"id": "StepResult", +"properties": { +"attestationContentName": { +"type": "string" +}, +"attestationType": { +"type": "string" +}, +"name": { +"type": "string" +} +}, +"type": "object" +}, +"Subject": { +"description": "Set of software artifacts that the attestation applies to. Each element represents a single software artifact.", +"id": "Subject", +"properties": { +"digest": { +"additionalProperties": { +"type": "string" +}, +"description": "`\"\": \"\"` Algorithms can be e.g. sha256, sha512 See https://github.com/in-toto/attestation/blob/main/spec/field_types.md#DigestSet", +"type": "object" +}, +"name": { +"description": "Identifier to distinguish this artifact from others within the subject.", +"type": "string" +} +}, +"type": "object" +}, +"TestIamPermissionsRequest": { +"description": "Request message for `TestIamPermissions` method.", +"id": "TestIamPermissionsRequest", +"properties": { +"permissions": { +"description": "The set of permissions to check for the `resource`. Permissions with wildcards (such as `*` or `storage.*`) are not allowed. For more information see [IAM Overview](https://cloud.google.com/iam/docs/overview#permissions).", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"TestIamPermissionsResponse": { +"description": "Response message for `TestIamPermissions` method.", +"id": "TestIamPermissionsResponse", +"properties": { +"permissions": { +"description": "A subset of `TestPermissionsRequest.permissions` that the caller is allowed.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"TimeSpan": { +"description": "Start and end times for a build execution phase. Next ID: 3", +"id": "TimeSpan", +"properties": { +"endTime": { +"description": "End of time span.", +"format": "google-datetime", +"type": "string" +}, +"startTime": { +"description": "Start of time span.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"Version": { +"description": "Version contains structured information about the version of a package.", +"id": "Version", +"properties": { +"epoch": { +"description": "Used to correct mistakes in the version numbering scheme.", +"format": "int32", +"type": "integer" +}, +"inclusive": { +"description": "Whether this version is specifying part of an inclusive range. Grafeas does not have the capability to specify version ranges; instead we have fields that specify start version and end versions. At times this is insufficient - we also need to specify whether the version is included in the range or is excluded from the range. This boolean is expected to be set to true when the version is included in a range.", +"type": "boolean" +}, +"kind": { +"description": "Required. Distinguishes between sentinel MIN/MAX versions and normal versions.", +"enum": [ +"VERSION_KIND_UNSPECIFIED", +"NORMAL", +"MINIMUM", +"MAXIMUM" +], +"enumDescriptions": [ +"Unknown.", +"A standard package version.", +"A special version representing negative infinity.", +"A special version representing positive infinity." +], +"type": "string" +}, +"name": { +"description": "Required only when version kind is NORMAL. The main part of the version name.", +"type": "string" +}, +"revision": { +"description": "The iteration of the package build from the above version.", +"type": "string" +} +}, +"type": "object" +}, +"VexAssessment": { +"description": "VexAssessment provides all publisher provided Vex information that is related to this vulnerability.", +"id": "VexAssessment", +"properties": { +"cve": { +"deprecated": true, +"description": "Holds the MITRE standard Common Vulnerabilities and Exposures (CVE) tracking number for the vulnerability. Deprecated: Use vulnerability_id instead to denote CVEs.", +"type": "string" +}, +"impacts": { +"description": "Contains information about the impact of this vulnerability, this will change with time.", +"items": { +"type": "string" +}, +"type": "array" +}, +"justification": { +"$ref": "Justification", +"description": "Justification provides the justification when the state of the assessment if NOT_AFFECTED." +}, +"noteName": { +"description": "The VulnerabilityAssessment note from which this VexAssessment was generated. This will be of the form: `projects/[PROJECT_ID]/notes/[NOTE_ID]`.", +"type": "string" +}, +"relatedUris": { +"description": "Holds a list of references associated with this vulnerability item and assessment.", +"items": { +"$ref": "RelatedUrl" +}, +"type": "array" +}, +"remediations": { +"description": "Specifies details on how to handle (and presumably, fix) a vulnerability.", +"items": { +"$ref": "Remediation" +}, +"type": "array" +}, +"state": { +"description": "Provides the state of this Vulnerability assessment.", +"enum": [ +"STATE_UNSPECIFIED", +"AFFECTED", +"NOT_AFFECTED", +"FIXED", +"UNDER_INVESTIGATION" +], +"enumDescriptions": [ +"No state is specified.", +"This product is known to be affected by this vulnerability.", +"This product is known to be not affected by this vulnerability.", +"This product contains a fix for this vulnerability.", +"It is not known yet whether these versions are or are not affected by the vulnerability. However, it is still under investigation." +], +"type": "string" +}, +"vulnerabilityId": { +"description": "The vulnerability identifier for this Assessment. Will hold one of common identifiers e.g. CVE, GHSA etc.", +"type": "string" +} +}, +"type": "object" +}, +"Volume": { +"description": "Volume describes a Docker container volume which is mounted into build steps in order to persist files across build step execution. Next ID: 3", +"id": "Volume", +"properties": { +"name": { +"description": "Name of the volume to mount. Volume names must be unique per build step and must be valid names for Docker volumes. Each named volume must be used by at least two build steps.", +"type": "string" +}, +"path": { +"description": "Path at which to mount the volume. Paths must be absolute and cannot conflict with other volume paths on the same build step or with certain reserved volume paths.", +"type": "string" +} +}, +"type": "object" +}, +"Vulnerability": { +"description": "Vulnerability provides metadata about a security vulnerability in a Note.", +"id": "Vulnerability", +"properties": { +"advisoryPublishTime": { +"description": "The time this advisory was published by the source.", +"format": "google-datetime", +"type": "string" +}, +"cvssScore": { +"description": "The CVSS score for this vulnerability.", +"format": "float", +"type": "number" +}, +"cvssV2": { +"$ref": "CVSS", +"description": "The full description of the CVSS for version 2." +}, +"cvssV3": { +"$ref": "CVSSv3", +"description": "The full description of the CVSS for version 3." +}, +"cvssVersion": { +"description": "CVSS version used to populate cvss_score and severity.", +"enum": [ +"CVSS_VERSION_UNSPECIFIED", +"CVSS_VERSION_2", +"CVSS_VERSION_3" +], +"enumDescriptions": [ +"", +"", +"" +], +"type": "string" +}, +"cwe": { +"description": "A list of CWE for this vulnerability. For details, see: https://cwe.mitre.org/index.html", +"items": { +"type": "string" +}, +"type": "array" +}, +"details": { +"description": "All information about the package to specifically identify this vulnerability. One entry per (version range and cpe_uri) the package vulnerability has manifested in.", +"items": { +"$ref": "Detail" +}, +"type": "array" +}, +"severity": { +"description": "Note provider assigned impact of the vulnerability.", +"enum": [ +"SEVERITY_UNSPECIFIED", +"MINIMAL", +"LOW", +"MEDIUM", +"HIGH", +"CRITICAL" +], +"enumDescriptions": [ +"Unknown.", +"Minimal severity.", +"Low severity.", +"Medium severity.", +"High severity.", +"Critical severity." +], +"type": "string" +}, +"sourceUpdateTime": { +"description": "The time this information was last changed at the source. This is an upstream timestamp from the underlying information source - e.g. Ubuntu security tracker.", +"format": "google-datetime", +"type": "string" +}, +"windowsDetails": { +"description": "Windows details get their own format because the information format and model don't match a normal detail. Specifically Windows updates are done as patches, thus Windows vulnerabilities really are a missing package, rather than a package being at an incorrect version.", +"items": { +"$ref": "WindowsDetail" +}, +"type": "array" +} +}, +"type": "object" +}, +"VulnerabilityAssessmentNote": { +"description": "A single VulnerabilityAssessmentNote represents one particular product's vulnerability assessment for one CVE.", +"id": "VulnerabilityAssessmentNote", +"properties": { +"assessment": { +"$ref": "Assessment", +"description": "Represents a vulnerability assessment for the product." +}, +"languageCode": { +"description": "Identifies the language used by this document, corresponding to IETF BCP 47 / RFC 5646.", +"type": "string" +}, +"longDescription": { +"description": "A detailed description of this Vex.", +"type": "string" +}, +"product": { +"$ref": "Product", +"description": "The product affected by this vex." +}, +"publisher": { +"$ref": "Publisher", +"description": "Publisher details of this Note." +}, +"shortDescription": { +"description": "A one sentence description of this Vex.", +"type": "string" +}, +"title": { +"description": "The title of the note. E.g. `Vex-Debian-11.4`", +"type": "string" +} +}, +"type": "object" +}, +"VulnerabilityLocation": { +"description": "The location of the vulnerability.", +"id": "VulnerabilityLocation", +"properties": { +"cpeUri": { +"description": "Required. The CPE URI in [cpe format](https://cpe.mitre.org/specification/) format. Examples include distro or storage location for vulnerable jar.", +"type": "string" +}, +"package": { +"description": "Required. The package being described.", +"type": "string" +}, +"version": { +"$ref": "Version", +"description": "Required. The version of the package being described." +} +}, +"type": "object" +}, +"VulnerabilityOccurrencesSummary": { +"description": "A summary of how many vulnerability occurrences there are per resource and severity type.", +"id": "VulnerabilityOccurrencesSummary", +"properties": { +"counts": { +"description": "A listing by resource of the number of fixable and total vulnerabilities.", +"items": { +"$ref": "FixableTotalByDigest" +}, +"type": "array" +}, +"unreachable": { +"description": "Unordered list. Unreachable regions. Populated for requests from the global region when `return_partial_success` is set. Format: `projects/[PROJECT_ID]/locations/[LOCATION]`", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"WindowsDetail": { +"id": "WindowsDetail", +"properties": { +"cpeUri": { +"description": "Required. The CPE URI in [cpe format](https://cpe.mitre.org/specification/) in which the vulnerability manifests. Examples include distro or storage location for vulnerable jar.", +"type": "string" +}, +"description": { +"description": "The description of the vulnerability.", +"type": "string" +}, +"fixingKbs": { +"description": "Required. The names of the KBs which have hotfixes to mitigate this vulnerability. Note that there may be multiple hotfixes (and thus multiple KBs) that mitigate a given vulnerability. Currently any listed kb's presence is considered a fix.", +"items": { +"$ref": "KnowledgeBase" +}, +"type": "array" +}, +"name": { +"description": "Required. The name of the vulnerability.", +"type": "string" +} +}, +"type": "object" +} +}, +"servicePath": "", +"title": "Container Analysis API", +"version": "v1beta1", +"version_module": true +} \ No newline at end of file diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/contentwarehouse.v1.json b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/contentwarehouse.v1.json new file mode 100644 index 0000000000000000000000000000000000000000..1161c573f1b47db3ce999fa1a0ec625312496a49 --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/contentwarehouse.v1.json @@ -0,0 +1,5896 @@ +{ +"auth": { +"oauth2": { +"scopes": { +"https://www.googleapis.com/auth/cloud-platform": { +"description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." +} +} +} +}, +"basePath": "", +"baseUrl": "https://contentwarehouse.googleapis.com/", +"batchPath": "batch", +"canonicalName": "contentwarehouse", +"description": "", +"discoveryVersion": "v1", +"documentationLink": "https://cloud.google.com/document-warehouse", +"fullyEncodeReservedExpansion": true, +"icons": { +"x16": "http://www.google.com/images/icons/product/search-16.gif", +"x32": "http://www.google.com/images/icons/product/search-32.gif" +}, +"id": "contentwarehouse:v1", +"kind": "discovery#restDescription", +"mtlsRootUrl": "https://contentwarehouse.mtls.googleapis.com/", +"name": "contentwarehouse", +"ownerDomain": "google.com", +"ownerName": "Google", +"parameters": { +"$.xgafv": { +"description": "V1 error format.", +"enum": [ +"1", +"2" +], +"enumDescriptions": [ +"v1 error format", +"v2 error format" +], +"location": "query", +"type": "string" +}, +"access_token": { +"description": "OAuth access token.", +"location": "query", +"type": "string" +}, +"alt": { +"default": "json", +"description": "Data format for response.", +"enum": [ +"json", +"media", +"proto" +], +"enumDescriptions": [ +"Responses with Content-Type of application/json", +"Media download with context-dependent Content-Type", +"Responses with Content-Type of application/x-protobuf" +], +"location": "query", +"type": "string" +}, +"callback": { +"description": "JSONP", +"location": "query", +"type": "string" +}, +"fields": { +"description": "Selector specifying which fields to include in a partial response.", +"location": "query", +"type": "string" +}, +"key": { +"description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", +"location": "query", +"type": "string" +}, +"oauth_token": { +"description": "OAuth 2.0 token for the current user.", +"location": "query", +"type": "string" +}, +"prettyPrint": { +"default": "true", +"description": "Returns response with indentations and line breaks.", +"location": "query", +"type": "boolean" +}, +"quotaUser": { +"description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.", +"location": "query", +"type": "string" +}, +"uploadType": { +"description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", +"location": "query", +"type": "string" +}, +"upload_protocol": { +"description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", +"location": "query", +"type": "string" +} +}, +"protocol": "rest", +"resources": { +"projects": { +"methods": { +"fetchAcl": { +"description": "Gets the access control policy for a resource. Returns NOT_FOUND error if the resource does not exist. Returns an empty policy if the resource exists but does not have a policy set.", +"flatPath": "v1/projects/{projectsId}:fetchAcl", +"httpMethod": "POST", +"id": "contentwarehouse.projects.fetchAcl", +"parameterOrder": [ +"resource" +], +"parameters": { +"resource": { +"description": "Required. REQUIRED: The resource for which the policy is being requested. Format for document: projects/{project_number}/locations/{location}/documents/{document_id}. Format for collection: projects/{project_number}/locations/{location}/collections/{collection_id}. Format for project: projects/{project_number}.", +"location": "path", +"pattern": "^projects/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+resource}:fetchAcl", +"request": { +"$ref": "GoogleCloudContentwarehouseV1FetchAclRequest" +}, +"response": { +"$ref": "GoogleCloudContentwarehouseV1FetchAclResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"setAcl": { +"description": "Sets the access control policy for a resource. Replaces any existing policy.", +"flatPath": "v1/projects/{projectsId}:setAcl", +"httpMethod": "POST", +"id": "contentwarehouse.projects.setAcl", +"parameterOrder": [ +"resource" +], +"parameters": { +"resource": { +"description": "Required. REQUIRED: The resource for which the policy is being requested. Format for document: projects/{project_number}/locations/{location}/documents/{document_id}. Format for collection: projects/{project_number}/locations/{location}/collections/{collection_id}. Format for project: projects/{project_number}.", +"location": "path", +"pattern": "^projects/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+resource}:setAcl", +"request": { +"$ref": "GoogleCloudContentwarehouseV1SetAclRequest" +}, +"response": { +"$ref": "GoogleCloudContentwarehouseV1SetAclResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"locations": { +"methods": { +"getStatus": { +"description": "Get the project status.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}:getStatus", +"httpMethod": "GET", +"id": "contentwarehouse.projects.locations.getStatus", +"parameterOrder": [ +"location" +], +"parameters": { +"location": { +"description": "Required. The location to be queried Format: projects/{project_number}/locations/{location}.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+location}:getStatus", +"response": { +"$ref": "GoogleCloudContentwarehouseV1ProjectStatus" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"initialize": { +"description": "Provisions resources for given tenant project. Returns a long running operation.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}:initialize", +"httpMethod": "POST", +"id": "contentwarehouse.projects.locations.initialize", +"parameterOrder": [ +"location" +], +"parameters": { +"location": { +"description": "Required. The location to be initialized Format: projects/{project_number}/locations/{location}.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+location}:initialize", +"request": { +"$ref": "GoogleCloudContentwarehouseV1InitializeProjectRequest" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"runPipeline": { +"description": "Run a predefined pipeline.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}:runPipeline", +"httpMethod": "POST", +"id": "contentwarehouse.projects.locations.runPipeline", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name which owns the resources of the pipeline. Format: projects/{project_number}/locations/{location}.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:runPipeline", +"request": { +"$ref": "GoogleCloudContentwarehouseV1RunPipelineRequest" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"documentSchemas": { +"methods": { +"create": { +"description": "Creates a document schema.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/documentSchemas", +"httpMethod": "POST", +"id": "contentwarehouse.projects.locations.documentSchemas.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The parent name.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/documentSchemas", +"request": { +"$ref": "GoogleCloudContentwarehouseV1DocumentSchema" +}, +"response": { +"$ref": "GoogleCloudContentwarehouseV1DocumentSchema" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a document schema. Returns NOT_FOUND if the document schema does not exist. Returns BAD_REQUEST if the document schema has documents depending on it.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/documentSchemas/{documentSchemasId}", +"httpMethod": "DELETE", +"id": "contentwarehouse.projects.locations.documentSchemas.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the document schema to delete.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/documentSchemas/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets a document schema. Returns NOT_FOUND if the document schema does not exist.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/documentSchemas/{documentSchemasId}", +"httpMethod": "GET", +"id": "contentwarehouse.projects.locations.documentSchemas.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the document schema to retrieve.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/documentSchemas/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleCloudContentwarehouseV1DocumentSchema" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists document schemas.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/documentSchemas", +"httpMethod": "GET", +"id": "contentwarehouse.projects.locations.documentSchemas.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "The maximum number of document schemas to return. The service may return fewer than this value. If unspecified, at most 50 document schemas will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A page token, received from a previous `ListDocumentSchemas` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListDocumentSchemas` must match the call that provided the page token.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent, which owns this collection of document schemas. Format: projects/{project_number}/locations/{location}.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/documentSchemas", +"response": { +"$ref": "GoogleCloudContentwarehouseV1ListDocumentSchemasResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates a Document Schema. Returns INVALID_ARGUMENT if the name of the Document Schema is non-empty and does not equal the existing name. Supports only appending new properties, adding new ENUM possible values, and updating the EnumTypeOptions.validation_check_disabled flag for ENUM possible values. Updating existing properties will result into INVALID_ARGUMENT.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/documentSchemas/{documentSchemasId}", +"httpMethod": "PATCH", +"id": "contentwarehouse.projects.locations.documentSchemas.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the document schema to update. Format: projects/{project_number}/locations/{location}/documentSchemas/{document_schema_id}.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/documentSchemas/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "GoogleCloudContentwarehouseV1UpdateDocumentSchemaRequest" +}, +"response": { +"$ref": "GoogleCloudContentwarehouseV1DocumentSchema" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"documents": { +"methods": { +"create": { +"description": "Creates a document.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/documents", +"httpMethod": "POST", +"id": "contentwarehouse.projects.locations.documents.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The parent name. Format: projects/{project_number}/locations/{location}.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/documents", +"request": { +"$ref": "GoogleCloudContentwarehouseV1CreateDocumentRequest" +}, +"response": { +"$ref": "GoogleCloudContentwarehouseV1CreateDocumentResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a document. Returns NOT_FOUND if the document does not exist.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/documents/{documentsId}:delete", +"httpMethod": "POST", +"id": "contentwarehouse.projects.locations.documents.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the document to delete. Format: projects/{project_number}/locations/{location}/documents/{document_id} or projects/{project_number}/locations/{location}/documents/referenceId/{reference_id}.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/documents/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:delete", +"request": { +"$ref": "GoogleCloudContentwarehouseV1DeleteDocumentRequest" +}, +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"fetchAcl": { +"description": "Gets the access control policy for a resource. Returns NOT_FOUND error if the resource does not exist. Returns an empty policy if the resource exists but does not have a policy set.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/documents/{documentsId}:fetchAcl", +"httpMethod": "POST", +"id": "contentwarehouse.projects.locations.documents.fetchAcl", +"parameterOrder": [ +"resource" +], +"parameters": { +"resource": { +"description": "Required. REQUIRED: The resource for which the policy is being requested. Format for document: projects/{project_number}/locations/{location}/documents/{document_id}. Format for collection: projects/{project_number}/locations/{location}/collections/{collection_id}. Format for project: projects/{project_number}.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/documents/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+resource}:fetchAcl", +"request": { +"$ref": "GoogleCloudContentwarehouseV1FetchAclRequest" +}, +"response": { +"$ref": "GoogleCloudContentwarehouseV1FetchAclResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets a document. Returns NOT_FOUND if the document does not exist.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/documents/{documentsId}:get", +"httpMethod": "POST", +"id": "contentwarehouse.projects.locations.documents.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the document to retrieve. Format: projects/{project_number}/locations/{location}/documents/{document_id} or projects/{project_number}/locations/{location}/documents/referenceId/{reference_id}.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/documents/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:get", +"request": { +"$ref": "GoogleCloudContentwarehouseV1GetDocumentRequest" +}, +"response": { +"$ref": "GoogleCloudContentwarehouseV1Document" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"linkedSources": { +"description": "Return all source document-links from the document.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/documents/{documentsId}/linkedSources", +"httpMethod": "POST", +"id": "contentwarehouse.projects.locations.documents.linkedSources", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The name of the document, for which all source links are returned. Format: projects/{project_number}/locations/{location}/documents/{source_document_id}.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/documents/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/linkedSources", +"request": { +"$ref": "GoogleCloudContentwarehouseV1ListLinkedSourcesRequest" +}, +"response": { +"$ref": "GoogleCloudContentwarehouseV1ListLinkedSourcesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"linkedTargets": { +"description": "Return all target document-links from the document.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/documents/{documentsId}/linkedTargets", +"httpMethod": "POST", +"id": "contentwarehouse.projects.locations.documents.linkedTargets", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The name of the document, for which all target links are returned. Format: projects/{project_number}/locations/{location}/documents/{target_document_id}.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/documents/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/linkedTargets", +"request": { +"$ref": "GoogleCloudContentwarehouseV1ListLinkedTargetsRequest" +}, +"response": { +"$ref": "GoogleCloudContentwarehouseV1ListLinkedTargetsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"lock": { +"description": "Lock the document so the document cannot be updated by other users.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/documents/{documentsId}:lock", +"httpMethod": "POST", +"id": "contentwarehouse.projects.locations.documents.lock", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the document to lock. Format: projects/{project_number}/locations/{location}/documents/{document}.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/documents/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:lock", +"request": { +"$ref": "GoogleCloudContentwarehouseV1LockDocumentRequest" +}, +"response": { +"$ref": "GoogleCloudContentwarehouseV1Document" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates a document. Returns INVALID_ARGUMENT if the name of the document is non-empty and does not equal the existing name.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/documents/{documentsId}", +"httpMethod": "PATCH", +"id": "contentwarehouse.projects.locations.documents.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the document to update. Format: projects/{project_number}/locations/{location}/documents/{document_id} or projects/{project_number}/locations/{location}/documents/referenceId/{reference_id}.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/documents/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "GoogleCloudContentwarehouseV1UpdateDocumentRequest" +}, +"response": { +"$ref": "GoogleCloudContentwarehouseV1UpdateDocumentResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"search": { +"description": "Searches for documents using provided SearchDocumentsRequest. This call only returns documents that the caller has permission to search against.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/documents:search", +"httpMethod": "POST", +"id": "contentwarehouse.projects.locations.documents.search", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The parent, which owns this collection of documents. Format: projects/{project_number}/locations/{location}.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/documents:search", +"request": { +"$ref": "GoogleCloudContentwarehouseV1SearchDocumentsRequest" +}, +"response": { +"$ref": "GoogleCloudContentwarehouseV1SearchDocumentsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"setAcl": { +"description": "Sets the access control policy for a resource. Replaces any existing policy.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/documents/{documentsId}:setAcl", +"httpMethod": "POST", +"id": "contentwarehouse.projects.locations.documents.setAcl", +"parameterOrder": [ +"resource" +], +"parameters": { +"resource": { +"description": "Required. REQUIRED: The resource for which the policy is being requested. Format for document: projects/{project_number}/locations/{location}/documents/{document_id}. Format for collection: projects/{project_number}/locations/{location}/collections/{collection_id}. Format for project: projects/{project_number}.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/documents/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+resource}:setAcl", +"request": { +"$ref": "GoogleCloudContentwarehouseV1SetAclRequest" +}, +"response": { +"$ref": "GoogleCloudContentwarehouseV1SetAclResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"documentLinks": { +"methods": { +"create": { +"description": "Create a link between a source document and a target document.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/documents/{documentsId}/documentLinks", +"httpMethod": "POST", +"id": "contentwarehouse.projects.locations.documents.documentLinks.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. Parent of the document-link to be created. parent of document-link should be a document. Format: projects/{project_number}/locations/{location}/documents/{source_document_id}.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/documents/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/documentLinks", +"request": { +"$ref": "GoogleCloudContentwarehouseV1CreateDocumentLinkRequest" +}, +"response": { +"$ref": "GoogleCloudContentwarehouseV1DocumentLink" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Remove the link between the source and target documents.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/documents/{documentsId}/documentLinks/{documentLinksId}:delete", +"httpMethod": "POST", +"id": "contentwarehouse.projects.locations.documents.documentLinks.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the document-link to be deleted. Format: projects/{project_number}/locations/{location}/documents/{source_document_id}/documentLinks/{document_link_id}.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/documents/[^/]+/documentLinks/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:delete", +"request": { +"$ref": "GoogleCloudContentwarehouseV1DeleteDocumentLinkRequest" +}, +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"referenceId": { +"methods": { +"delete": { +"description": "Deletes a document. Returns NOT_FOUND if the document does not exist.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/documents/referenceId/{referenceIdId}:delete", +"httpMethod": "POST", +"id": "contentwarehouse.projects.locations.documents.referenceId.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the document to delete. Format: projects/{project_number}/locations/{location}/documents/{document_id} or projects/{project_number}/locations/{location}/documents/referenceId/{reference_id}.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/documents/referenceId/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:delete", +"request": { +"$ref": "GoogleCloudContentwarehouseV1DeleteDocumentRequest" +}, +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets a document. Returns NOT_FOUND if the document does not exist.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/documents/referenceId/{referenceIdId}:get", +"httpMethod": "POST", +"id": "contentwarehouse.projects.locations.documents.referenceId.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the document to retrieve. Format: projects/{project_number}/locations/{location}/documents/{document_id} or projects/{project_number}/locations/{location}/documents/referenceId/{reference_id}.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/documents/referenceId/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:get", +"request": { +"$ref": "GoogleCloudContentwarehouseV1GetDocumentRequest" +}, +"response": { +"$ref": "GoogleCloudContentwarehouseV1Document" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates a document. Returns INVALID_ARGUMENT if the name of the document is non-empty and does not equal the existing name.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/documents/referenceId/{referenceIdId}", +"httpMethod": "PATCH", +"id": "contentwarehouse.projects.locations.documents.referenceId.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the document to update. Format: projects/{project_number}/locations/{location}/documents/{document_id} or projects/{project_number}/locations/{location}/documents/referenceId/{reference_id}.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/documents/referenceId/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "GoogleCloudContentwarehouseV1UpdateDocumentRequest" +}, +"response": { +"$ref": "GoogleCloudContentwarehouseV1UpdateDocumentResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +}, +"operations": { +"methods": { +"get": { +"description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}", +"httpMethod": "GET", +"id": "contentwarehouse.projects.locations.operations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"ruleSets": { +"methods": { +"create": { +"description": "Creates a ruleset.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/ruleSets", +"httpMethod": "POST", +"id": "contentwarehouse.projects.locations.ruleSets.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The parent name. Format: projects/{project_number}/locations/{location}.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/ruleSets", +"request": { +"$ref": "GoogleCloudContentwarehouseV1RuleSet" +}, +"response": { +"$ref": "GoogleCloudContentwarehouseV1RuleSet" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a ruleset. Returns NOT_FOUND if the document does not exist.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/ruleSets/{ruleSetsId}", +"httpMethod": "DELETE", +"id": "contentwarehouse.projects.locations.ruleSets.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the rule set to delete. Format: projects/{project_number}/locations/{location}/ruleSets/{rule_set_id}.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/ruleSets/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets a ruleset. Returns NOT_FOUND if the ruleset does not exist.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/ruleSets/{ruleSetsId}", +"httpMethod": "GET", +"id": "contentwarehouse.projects.locations.ruleSets.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the rule set to retrieve. Format: projects/{project_number}/locations/{location}/ruleSets/{rule_set_id}.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/ruleSets/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleCloudContentwarehouseV1RuleSet" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists rulesets.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/ruleSets", +"httpMethod": "GET", +"id": "contentwarehouse.projects.locations.ruleSets.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "The maximum number of rule sets to return. The service may return fewer than this value. If unspecified, at most 50 rule sets will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A page token, received from a previous `ListRuleSets` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListRuleSets` must match the call that provided the page token.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent, which owns this collection of document. Format: projects/{project_number}/locations/{location}.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/ruleSets", +"response": { +"$ref": "GoogleCloudContentwarehouseV1ListRuleSetsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates a ruleset. Returns INVALID_ARGUMENT if the name of the ruleset is non-empty and does not equal the existing name.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/ruleSets/{ruleSetsId}", +"httpMethod": "PATCH", +"id": "contentwarehouse.projects.locations.ruleSets.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the rule set to update. Format: projects/{project_number}/locations/{location}/ruleSets/{rule_set_id}.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/ruleSets/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "GoogleCloudContentwarehouseV1UpdateRuleSetRequest" +}, +"response": { +"$ref": "GoogleCloudContentwarehouseV1RuleSet" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"synonymSets": { +"methods": { +"create": { +"description": "Creates a SynonymSet for a single context. Throws an ALREADY_EXISTS exception if a synonymset already exists for the context.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/synonymSets", +"httpMethod": "POST", +"id": "contentwarehouse.projects.locations.synonymSets.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The parent name. Format: projects/{project_number}/locations/{location}.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/synonymSets", +"request": { +"$ref": "GoogleCloudContentwarehouseV1SynonymSet" +}, +"response": { +"$ref": "GoogleCloudContentwarehouseV1SynonymSet" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a SynonymSet for a given context. Throws a NOT_FOUND exception if the SynonymSet is not found.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/synonymSets/{synonymSetsId}", +"httpMethod": "DELETE", +"id": "contentwarehouse.projects.locations.synonymSets.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the synonymSet to delete Format: projects/{project_number}/locations/{location}/synonymSets/{context}.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/synonymSets/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets a SynonymSet for a particular context. Throws a NOT_FOUND exception if the Synonymset does not exist", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/synonymSets/{synonymSetsId}", +"httpMethod": "GET", +"id": "contentwarehouse.projects.locations.synonymSets.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the synonymSet to retrieve Format: projects/{project_number}/locations/{location}/synonymSets/{context}.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/synonymSets/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleCloudContentwarehouseV1SynonymSet" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Returns all SynonymSets (for all contexts) for the specified location.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/synonymSets", +"httpMethod": "GET", +"id": "contentwarehouse.projects.locations.synonymSets.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "The maximum number of synonymSets to return. The service may return fewer than this value. If unspecified, at most 50 rule sets will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A page token, received from a previous `ListSynonymSets` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListSynonymSets` must match the call that provided the page token.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent name. Format: projects/{project_number}/locations/{location}.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/synonymSets", +"response": { +"$ref": "GoogleCloudContentwarehouseV1ListSynonymSetsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Remove the existing SynonymSet for the context and replaces it with a new one. Throws a NOT_FOUND exception if the SynonymSet is not found.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/synonymSets/{synonymSetsId}", +"httpMethod": "PATCH", +"id": "contentwarehouse.projects.locations.synonymSets.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the synonymSet to update Format: projects/{project_number}/locations/{location}/synonymSets/{context}.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/synonymSets/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "GoogleCloudContentwarehouseV1SynonymSet" +}, +"response": { +"$ref": "GoogleCloudContentwarehouseV1SynonymSet" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +} +} +} +}, +"revision": "20241204", +"rootUrl": "https://contentwarehouse.googleapis.com/", +"schemas": { +"CloudAiPlatformTenantresourceCloudSqlInstanceConfig": { +"description": "The identity to configure a CloudSQL instance provisioned via SLM Terraform.", +"id": "CloudAiPlatformTenantresourceCloudSqlInstanceConfig", +"properties": { +"cloudSqlInstanceConnectionName": { +"description": "Output only. The CloudSQL instance connection name.", +"type": "string" +}, +"cloudSqlInstanceName": { +"description": "Input/Output [Optional]. The CloudSQL instance name within SLM instance. If not set, a random UUIC will be generated as instance name.", +"type": "string" +}, +"kmsKeyReference": { +"description": "Input [Optional]. The KMS key name or the KMS grant name used for CMEK encryption. Only set this field when provisioning new CloudSQL instances. For existing CloudSQL instances, this field will be ignored because CMEK re-encryption is not supported.", +"type": "string" +}, +"mdbRolesForCorpAccess": { +"description": "Input [Optional]. MDB roles for corp access to CloudSQL instance.", +"items": { +"type": "string" +}, +"type": "array" +}, +"slmInstanceName": { +"description": "Output only. The SLM instance's full resource name.", +"type": "string" +}, +"slmInstanceTemplate": { +"description": "Input [Required]. The SLM instance template to provision CloudSQL.", +"type": "string" +}, +"slmInstanceType": { +"description": "Input [Required]. The SLM instance type to provision CloudSQL.", +"type": "string" +} +}, +"type": "object" +}, +"CloudAiPlatformTenantresourceGcsBucketConfig": { +"description": "The identity to configure a GCS bucket.", +"id": "CloudAiPlatformTenantresourceGcsBucketConfig", +"properties": { +"admins": { +"items": { +"type": "string" +}, +"type": "array" +}, +"bucketName": { +"description": "Input/Output [Optional]. The name of a GCS bucket with max length of 63 chars. If not set, a random UUID will be generated as bucket name.", +"type": "string" +}, +"entityName": { +"description": "Input/Output [Optional]. Only needed for per-entity tenant GCP resources. During Deprovision API, the on-demand deletion will only cover the tenant GCP resources with the specified entity name.", +"type": "string" +}, +"kmsKeyReference": { +"description": "Input/Output [Optional]. The KMS key name or the KMS grant name used for CMEK encryption. Only set this field when provisioning new GCS bucket. For existing GCS bucket, this field will be ignored because CMEK re-encryption is not supported.", +"type": "string" +}, +"ttlDays": { +"description": "Input/Output [Optional]. Only needed when the content in bucket need to be garbage collected within some amount of days.", +"format": "int32", +"type": "integer" +}, +"viewers": { +"description": "Input/Output [Required]. IAM roles (viewer/admin) put on the bucket.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"CloudAiPlatformTenantresourceIamPolicyBinding": { +"description": "The dynamic IAM bindings to be granted after tenant projects are created.", +"id": "CloudAiPlatformTenantresourceIamPolicyBinding", +"properties": { +"members": { +"description": "Input/Output [Required]. The member service accounts with the roles above. Note: placeholders are same as the resource above.", +"items": { +"type": "string" +}, +"type": "array" +}, +"resource": { +"description": "Input/Output [Required]. The resource name that will be accessed by members, which also depends on resource_type. Note: placeholders are supported in resource names. For example, ${tpn} will be used when the tenant project number is not ready.", +"type": "string" +}, +"resourceType": { +"description": "Input/Output [Required]. Specifies the type of resource that will be accessed by members.", +"enum": [ +"RESOURCE_TYPE_UNSPECIFIED", +"PROJECT", +"SERVICE_ACCOUNT", +"GCS_BUCKET", +"SERVICE_CONSUMER", +"AR_REPO" +], +"enumDescriptions": [ +"", +"The value of resource field is the ID or number of a project. Format is ", +"The value of resource field is the resource name of a service account. Format is projects//serviceAccounts/", +"The value of resource field is the name of a GCS bucket (not its resource name). Format is .", +"The value of resource field is the resource name of a service consumer. Format is services//consumers/", +"The value of the resource field is the AR Image Uri which identifies an AR REPO. Allowed formats are: /// ///: ///@" +], +"type": "string" +}, +"role": { +"description": "Input/Output [Required]. The role for members below.", +"type": "string" +} +}, +"type": "object" +}, +"CloudAiPlatformTenantresourceInfraSpannerConfig": { +"description": "The configuration for a spanner database provisioning. Next ID: 8", +"id": "CloudAiPlatformTenantresourceInfraSpannerConfig", +"properties": { +"createDatabaseOptions": { +"$ref": "CloudAiPlatformTenantresourceInfraSpannerConfigCreateDatabaseOptions", +"description": "Input [Optional]. The options to create a spanner database. Note: give the right options to ensure the right KMS key access audit logging and AxT logging in expected logging category." +}, +"kmsKeyReference": { +"description": "Input [Optional]. The KMS key name or the KMS grant name used for CMEK encryption. Only set this field when provisioning new Infra Spanner databases. For existing Infra Spanner databases, this field will be ignored because CMEK re-encryption is not supported. For example, projects//locations//keyRings//cryptoKeys/", +"type": "string" +}, +"sdlBundlePath": { +"description": "Input [Required]. The file path to the spanner SDL bundle.", +"type": "string" +}, +"spannerBorgServiceAccount": { +"description": "Input [Optional]. The spanner borg service account for delegating the kms key to. For example, spanner-infra-cmek-nonprod@system.gserviceaccount.com, for the nonprod universe.", +"type": "string" +}, +"spannerLocalNamePrefix": { +"type": "string" +}, +"spannerNamespace": { +"type": "string" +}, +"spannerUniverse": { +"description": "Input [Required]. Every database in Spanner can be identified by the following path name: /span//:", +"type": "string" +} +}, +"type": "object" +}, +"CloudAiPlatformTenantresourceInfraSpannerConfigCreateDatabaseOptions": { +"description": "The options to create a spanner database. KMS key access audit logging and AxT logging will be associated with the given resource name, resource type and service name. Please ensure to give right options to enable correct audit logging and AxT logging.", +"id": "CloudAiPlatformTenantresourceInfraSpannerConfigCreateDatabaseOptions", +"properties": { +"cmekCloudResourceName": { +"description": "The cloud resource name for the CMEK encryption. For example, projects//locations/", +"type": "string" +}, +"cmekCloudResourceType": { +"description": "The cloud resource type for the CMEK encryption. For example, contentwarehouse.googleapis.com/Location", +"type": "string" +}, +"cmekServiceName": { +"description": "The service name for the CMEK encryption. For example, contentwarehouse.googleapis.com", +"type": "string" +} +}, +"type": "object" +}, +"CloudAiPlatformTenantresourceServiceAccountIdentity": { +"description": "The identity to configure a service account.", +"id": "CloudAiPlatformTenantresourceServiceAccountIdentity", +"properties": { +"serviceAccountEmail": { +"description": "Output only. The service account email that has been created.", +"type": "string" +}, +"tag": { +"description": "Input/Output [Optional]. The tag that configures the service account, as defined in google3/configs/production/cdpush/acl-zanzibar-cloud-prod/activation_grants/activation_grants.gcl. Note: The default P4 service account has the empty tag.", +"type": "string" +} +}, +"type": "object" +}, +"CloudAiPlatformTenantresourceTenantProjectConfig": { +"description": "The identity to configure a tenant project.", +"id": "CloudAiPlatformTenantresourceTenantProjectConfig", +"properties": { +"billingConfig": { +"$ref": "GoogleApiServiceconsumermanagementV1BillingConfig", +"description": "Input/Output [Required]. The billing account properties to create the tenant project." +}, +"folder": { +"description": "Input/Output [Required]. The folder that holds tenant projects and folder-level permissions will be automatically granted to all tenant projects under the folder. Note: the valid folder format is `folders/{folder_number}`.", +"type": "string" +}, +"policyBindings": { +"description": "Input/Output [Required]. The policy bindings that are applied to the tenant project during creation. At least one binding must have the role `roles/owner` with either `user` or `group` type.", +"items": { +"$ref": "GoogleApiServiceconsumermanagementV1PolicyBinding" +}, +"type": "array" +}, +"services": { +"description": "Input/Output [Required]. The API services that are enabled on the tenant project during creation.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"CloudAiPlatformTenantresourceTenantProjectResource": { +"description": "The tenant project and tenant resources. Next ID: 10", +"id": "CloudAiPlatformTenantresourceTenantProjectResource", +"properties": { +"cloudSqlInstances": { +"description": "The CloudSQL instances that are provisioned under the tenant project.", +"items": { +"$ref": "CloudAiPlatformTenantresourceCloudSqlInstanceConfig" +}, +"type": "array" +}, +"gcsBuckets": { +"description": "The GCS buckets that are provisioned under the tenant project.", +"items": { +"$ref": "CloudAiPlatformTenantresourceGcsBucketConfig" +}, +"type": "array" +}, +"iamPolicyBindings": { +"description": "The dynamic IAM bindings that are granted under the tenant project. Note: this should only add new bindings to the project if they don't exist and the existing bindings won't be affected.", +"items": { +"$ref": "CloudAiPlatformTenantresourceIamPolicyBinding" +}, +"type": "array" +}, +"infraSpannerConfigs": { +"description": "The Infra Spanner databases that are provisioned under the tenant project. Note: this is an experimental feature.", +"items": { +"$ref": "CloudAiPlatformTenantresourceInfraSpannerConfig" +}, +"type": "array" +}, +"tag": { +"description": "Input/Output [Required]. The tag that uniquely identifies a tenant project within a tenancy unit. Note: for the same tenant project tag, all tenant manager operations should be idempotent.", +"type": "string" +}, +"tenantProjectConfig": { +"$ref": "CloudAiPlatformTenantresourceTenantProjectConfig", +"description": "The configurations of a tenant project." +}, +"tenantProjectId": { +"description": "Output only. The tenant project ID that has been created.", +"type": "string" +}, +"tenantProjectNumber": { +"description": "Output only. The tenant project number that has been created.", +"format": "int64", +"type": "string" +}, +"tenantServiceAccounts": { +"description": "The service account identities (or enabled API service's P4SA) that are expclicitly created under the tenant project (before JIT provisioning during enabled API services).", +"items": { +"$ref": "CloudAiPlatformTenantresourceTenantServiceAccountIdentity" +}, +"type": "array" +} +}, +"type": "object" +}, +"CloudAiPlatformTenantresourceTenantResource": { +"description": "A collection of tenant resources.", +"id": "CloudAiPlatformTenantresourceTenantResource", +"properties": { +"p4ServiceAccounts": { +"description": "A list of P4 service accounts (go/p4sa) to provision or deprovision.", +"items": { +"$ref": "CloudAiPlatformTenantresourceServiceAccountIdentity" +}, +"type": "array" +}, +"tenantProjectResources": { +"description": "A list of tenant projects and tenant resources to provision or deprovision.", +"items": { +"$ref": "CloudAiPlatformTenantresourceTenantProjectResource" +}, +"type": "array" +} +}, +"type": "object" +}, +"CloudAiPlatformTenantresourceTenantServiceAccountIdentity": { +"description": "The identity of service accounts that have been explicitly created under tenant projects.", +"id": "CloudAiPlatformTenantresourceTenantServiceAccountIdentity", +"properties": { +"serviceAccountEmail": { +"description": "Output only. The email address of the generated service account.", +"type": "string" +}, +"serviceName": { +"description": "Input/Output [Required]. The service that the service account belongs to. (e.g. cloudbuild.googleapis.com for GCB service accounts)", +"type": "string" +} +}, +"type": "object" +}, +"GoogleApiServiceconsumermanagementV1BillingConfig": { +"description": "Describes the billing configuration for a new tenant project.", +"id": "GoogleApiServiceconsumermanagementV1BillingConfig", +"properties": { +"billingAccount": { +"description": "Name of the billing account. For example `billingAccounts/012345-567890-ABCDEF`.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleApiServiceconsumermanagementV1PolicyBinding": { +"description": "Translates to IAM Policy bindings (without auditing at this level)", +"id": "GoogleApiServiceconsumermanagementV1PolicyBinding", +"properties": { +"members": { +"description": "Uses the same format as in IAM policy. `member` must include both a prefix and ID. For example, `user:{emailId}`, `serviceAccount:{emailId}`, `group:{emailId}`.", +"items": { +"type": "string" +}, +"type": "array" +}, +"role": { +"description": "Role. (https://cloud.google.com/iam/docs/understanding-roles) For example, `roles/viewer`, `roles/editor`, or `roles/owner`.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudContentwarehouseV1AccessControlAction": { +"description": "Represents the action responsible for access control list management operations.", +"id": "GoogleCloudContentwarehouseV1AccessControlAction", +"properties": { +"operationType": { +"description": "Identifies the type of operation.", +"enum": [ +"UNKNOWN", +"ADD_POLICY_BINDING", +"REMOVE_POLICY_BINDING", +"REPLACE_POLICY_BINDING" +], +"enumDescriptions": [ +"The unknown operation type.", +"Adds newly given policy bindings in the existing bindings list.", +"Removes newly given policy bindings from the existing bindings list.", +"Replaces existing policy bindings with the given policy binding list" +], +"type": "string" +}, +"policy": { +"$ref": "GoogleIamV1Policy", +"description": "Represents the new policy from which bindings are added, removed or replaced based on the type of the operation. the policy is limited to a few 10s of KB." +} +}, +"type": "object" +}, +"GoogleCloudContentwarehouseV1Action": { +"description": "Represents the action triggered by Rule Engine when the rule is true.", +"id": "GoogleCloudContentwarehouseV1Action", +"properties": { +"accessControl": { +"$ref": "GoogleCloudContentwarehouseV1AccessControlAction", +"description": "Action triggering access control operations." +}, +"actionId": { +"description": "ID of the action. Managed internally.", +"type": "string" +}, +"addToFolder": { +"$ref": "GoogleCloudContentwarehouseV1AddToFolderAction", +"description": "Action triggering create document link operation." +}, +"dataUpdate": { +"$ref": "GoogleCloudContentwarehouseV1DataUpdateAction", +"description": "Action triggering data update operations." +}, +"dataValidation": { +"$ref": "GoogleCloudContentwarehouseV1DataValidationAction", +"description": "Action triggering data validation operations." +}, +"deleteDocumentAction": { +"$ref": "GoogleCloudContentwarehouseV1DeleteDocumentAction", +"description": "Action deleting the document." +}, +"publishToPubSub": { +"$ref": "GoogleCloudContentwarehouseV1PublishAction", +"description": "Action publish to Pub/Sub operation." +}, +"removeFromFolderAction": { +"$ref": "GoogleCloudContentwarehouseV1RemoveFromFolderAction", +"description": "Action removing a document from a folder." +} +}, +"type": "object" +}, +"GoogleCloudContentwarehouseV1ActionExecutorOutput": { +"description": "Represents the output of the Action Executor.", +"id": "GoogleCloudContentwarehouseV1ActionExecutorOutput", +"properties": { +"ruleActionsPairs": { +"description": "List of rule and corresponding actions result.", +"items": { +"$ref": "GoogleCloudContentwarehouseV1RuleActionsPair" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudContentwarehouseV1ActionOutput": { +"description": "Represents the result of executing an action.", +"id": "GoogleCloudContentwarehouseV1ActionOutput", +"properties": { +"actionId": { +"description": "ID of the action.", +"type": "string" +}, +"actionState": { +"description": "State of an action.", +"enum": [ +"UNKNOWN", +"ACTION_SUCCEEDED", +"ACTION_FAILED", +"ACTION_TIMED_OUT", +"ACTION_PENDING" +], +"enumDescriptions": [ +"The unknown state.", +"State indicating action executed successfully.", +"State indicating action failed.", +"State indicating action timed out.", +"State indicating action is pending." +], +"type": "string" +}, +"outputMessage": { +"description": "Action execution output message.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudContentwarehouseV1AddToFolderAction": { +"description": "Represents the action responsible for adding document under a folder.", +"id": "GoogleCloudContentwarehouseV1AddToFolderAction", +"properties": { +"folders": { +"description": "Names of the folder under which new document is to be added. Format: projects/{project_number}/locations/{location}/documents/{document_id}.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudContentwarehouseV1CloudAIDocumentOption": { +"description": "Request Option for processing Cloud AI Document in CW Document.", +"id": "GoogleCloudContentwarehouseV1CloudAIDocumentOption", +"properties": { +"customizedEntitiesPropertiesConversions": { +"additionalProperties": { +"type": "string" +}, +"description": "If set, only selected entities will be converted to properties.", +"type": "object" +}, +"enableEntitiesConversions": { +"description": "Whether to convert all the entities to properties.", +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleCloudContentwarehouseV1CreateDocumentLinkRequest": { +"description": "Request message for DocumentLinkService.CreateDocumentLink.", +"id": "GoogleCloudContentwarehouseV1CreateDocumentLinkRequest", +"properties": { +"documentLink": { +"$ref": "GoogleCloudContentwarehouseV1DocumentLink", +"description": "Required. Document links associated with the source documents (source_document_id)." +}, +"requestMetadata": { +"$ref": "GoogleCloudContentwarehouseV1RequestMetadata", +"description": "The meta information collected about the document creator, used to enforce access control for the service." +} +}, +"type": "object" +}, +"GoogleCloudContentwarehouseV1CreateDocumentMetadata": { +"description": "Metadata object for CreateDocument request (currently empty).", +"id": "GoogleCloudContentwarehouseV1CreateDocumentMetadata", +"properties": {}, +"type": "object" +}, +"GoogleCloudContentwarehouseV1CreateDocumentRequest": { +"description": "Request message for DocumentService.CreateDocument.", +"id": "GoogleCloudContentwarehouseV1CreateDocumentRequest", +"properties": { +"cloudAiDocumentOption": { +"$ref": "GoogleCloudContentwarehouseV1CloudAIDocumentOption", +"description": "Request Option for processing Cloud AI Document in Document Warehouse. This field offers limited support for mapping entities from Cloud AI Document to Warehouse Document. Please consult with product team before using this field and other available options." +}, +"createMask": { +"description": "Field mask for creating Document fields. If mask path is empty, it means all fields are masked. For the `FieldMask` definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask.", +"format": "google-fieldmask", +"type": "string" +}, +"document": { +"$ref": "GoogleCloudContentwarehouseV1Document", +"description": "Required. The document to create." +}, +"policy": { +"$ref": "GoogleIamV1Policy", +"description": "Default document policy during creation. This refers to an Identity and Access (IAM) policy, which specifies access controls for the Document. Conditions defined in the policy will be ignored." +}, +"requestMetadata": { +"$ref": "GoogleCloudContentwarehouseV1RequestMetadata", +"description": "The meta information collected about the end user, used to enforce access control for the service." +} +}, +"type": "object" +}, +"GoogleCloudContentwarehouseV1CreateDocumentResponse": { +"description": "Response message for DocumentService.CreateDocument.", +"id": "GoogleCloudContentwarehouseV1CreateDocumentResponse", +"properties": { +"document": { +"$ref": "GoogleCloudContentwarehouseV1Document", +"description": "Document created after executing create request." +}, +"longRunningOperations": { +"description": "post-processing LROs", +"items": { +"$ref": "GoogleLongrunningOperation" +}, +"type": "array" +}, +"metadata": { +"$ref": "GoogleCloudContentwarehouseV1ResponseMetadata", +"description": "Additional information for the API invocation, such as the request tracking id." +}, +"ruleEngineOutput": { +"$ref": "GoogleCloudContentwarehouseV1RuleEngineOutput", +"description": "Output from Rule Engine recording the rule evaluator and action executor's output. Refer format in: google/cloud/contentwarehouse/v1/rule_engine.proto" +} +}, +"type": "object" +}, +"GoogleCloudContentwarehouseV1CustomWeightsMetadata": { +"description": "To support the custom weighting across document schemas.", +"id": "GoogleCloudContentwarehouseV1CustomWeightsMetadata", +"properties": { +"weightedSchemaProperties": { +"description": "List of schema and property name. Allows a maximum of 10 schemas to be specified for relevance boosting.", +"items": { +"$ref": "GoogleCloudContentwarehouseV1WeightedSchemaProperty" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudContentwarehouseV1DataUpdateAction": { +"description": "Represents the action responsible for properties update operations.", +"id": "GoogleCloudContentwarehouseV1DataUpdateAction", +"properties": { +"entries": { +"additionalProperties": { +"type": "string" +}, +"description": "Map of (K, V) -> (valid name of the field, new value of the field) E.g., (\"age\", \"60\") entry triggers update of field age with a value of 60. If the field is not present then new entry is added. During update action execution, value strings will be casted to appropriate types.", +"type": "object" +} +}, +"type": "object" +}, +"GoogleCloudContentwarehouseV1DataValidationAction": { +"description": "Represents the action responsible for data validation operations.", +"id": "GoogleCloudContentwarehouseV1DataValidationAction", +"properties": { +"conditions": { +"additionalProperties": { +"type": "string" +}, +"description": "Map of (K, V) -> (field, string condition to be evaluated on the field) E.g., (\"age\", \"age > 18 && age < 60\") entry triggers validation of field age with the given condition. Map entries will be ANDed during validation.", +"type": "object" +} +}, +"type": "object" +}, +"GoogleCloudContentwarehouseV1DateTimeArray": { +"description": "DateTime values.", +"id": "GoogleCloudContentwarehouseV1DateTimeArray", +"properties": { +"values": { +"description": "List of datetime values. Both OffsetDateTime and ZonedDateTime are supported.", +"items": { +"$ref": "GoogleTypeDateTime" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudContentwarehouseV1DateTimeTypeOptions": { +"description": "Configurations for a date time property.", +"id": "GoogleCloudContentwarehouseV1DateTimeTypeOptions", +"properties": {}, +"type": "object" +}, +"GoogleCloudContentwarehouseV1DeleteDocumentAction": { +"description": "Represents the action responsible for deleting the document.", +"id": "GoogleCloudContentwarehouseV1DeleteDocumentAction", +"properties": { +"enableHardDelete": { +"description": "Boolean field to select between hard vs soft delete options. Set 'true' for 'hard delete' and 'false' for 'soft delete'.", +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleCloudContentwarehouseV1DeleteDocumentLinkRequest": { +"description": "Request message for DocumentLinkService.DeleteDocumentLink.", +"id": "GoogleCloudContentwarehouseV1DeleteDocumentLinkRequest", +"properties": { +"requestMetadata": { +"$ref": "GoogleCloudContentwarehouseV1RequestMetadata", +"description": "The meta information collected about the document creator, used to enforce access control for the service." +} +}, +"type": "object" +}, +"GoogleCloudContentwarehouseV1DeleteDocumentRequest": { +"description": "Request message for DocumentService.DeleteDocument.", +"id": "GoogleCloudContentwarehouseV1DeleteDocumentRequest", +"properties": { +"requestMetadata": { +"$ref": "GoogleCloudContentwarehouseV1RequestMetadata", +"description": "The meta information collected about the end user, used to enforce access control for the service." +} +}, +"type": "object" +}, +"GoogleCloudContentwarehouseV1Document": { +"description": "Defines the structure for content warehouse document proto.", +"id": "GoogleCloudContentwarehouseV1Document", +"properties": { +"cloudAiDocument": { +"$ref": "GoogleCloudDocumentaiV1Document", +"description": "Document AI format to save the structured content, including OCR." +}, +"contentCategory": { +"description": "Indicates the category (image, audio, video etc.) of the original content.", +"enum": [ +"CONTENT_CATEGORY_UNSPECIFIED", +"CONTENT_CATEGORY_IMAGE", +"CONTENT_CATEGORY_AUDIO", +"CONTENT_CATEGORY_VIDEO" +], +"enumDescriptions": [ +"No category is specified.", +"Content is of image type.", +"Content is of audio type.", +"Content is of video type." +], +"type": "string" +}, +"createTime": { +"description": "Output only. The time when the document is created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"creator": { +"description": "The user who creates the document.", +"type": "string" +}, +"displayName": { +"description": "Required. Display name of the document given by the user. This name will be displayed in the UI. Customer can populate this field with the name of the document. This differs from the 'title' field as 'title' is optional and stores the top heading in the document.", +"type": "string" +}, +"displayUri": { +"description": "Uri to display the document, for example, in the UI.", +"type": "string" +}, +"dispositionTime": { +"description": "Output only. If linked to a Collection with RetentionPolicy, the date when the document becomes mutable.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"documentSchemaName": { +"description": "The Document schema name. Format: projects/{project_number}/locations/{location}/documentSchemas/{document_schema_id}.", +"type": "string" +}, +"inlineRawDocument": { +"description": "Raw document content.", +"format": "byte", +"type": "string" +}, +"legalHold": { +"description": "Output only. Indicates if the document has a legal hold on it.", +"readOnly": true, +"type": "boolean" +}, +"name": { +"description": "The resource name of the document. Format: projects/{project_number}/locations/{location}/documents/{document_id}. The name is ignored when creating a document.", +"type": "string" +}, +"plainText": { +"description": "Other document format, such as PPTX, XLXS", +"type": "string" +}, +"properties": { +"description": "List of values that are user supplied metadata.", +"items": { +"$ref": "GoogleCloudContentwarehouseV1Property" +}, +"type": "array" +}, +"rawDocumentFileType": { +"description": "This is used when DocAI was not used to load the document and parsing/ extracting is needed for the inline_raw_document. For example, if inline_raw_document is the byte representation of a PDF file, then this should be set to: RAW_DOCUMENT_FILE_TYPE_PDF.", +"enum": [ +"RAW_DOCUMENT_FILE_TYPE_UNSPECIFIED", +"RAW_DOCUMENT_FILE_TYPE_PDF", +"RAW_DOCUMENT_FILE_TYPE_DOCX", +"RAW_DOCUMENT_FILE_TYPE_XLSX", +"RAW_DOCUMENT_FILE_TYPE_PPTX", +"RAW_DOCUMENT_FILE_TYPE_TEXT", +"RAW_DOCUMENT_FILE_TYPE_TIFF" +], +"enumDescriptions": [ +"No raw document specified or it is non-parsable", +"Adobe PDF format", +"Microsoft Word format", +"Microsoft Excel format", +"Microsoft Powerpoint format", +"UTF-8 encoded text format", +"TIFF or TIF image file format" +], +"type": "string" +}, +"rawDocumentPath": { +"description": "Raw document file in Cloud Storage path.", +"type": "string" +}, +"referenceId": { +"description": "The reference ID set by customers. Must be unique per project and location.", +"type": "string" +}, +"textExtractionDisabled": { +"deprecated": true, +"description": "If true, text extraction will not be performed.", +"type": "boolean" +}, +"textExtractionEnabled": { +"description": "If true, text extraction will be performed.", +"type": "boolean" +}, +"title": { +"description": "Title that describes the document. This can be the top heading or text that describes the document.", +"type": "string" +}, +"updateTime": { +"description": "Output only. The time when the document is last updated.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"updater": { +"description": "The user who lastly updates the document.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudContentwarehouseV1DocumentLink": { +"description": "A document-link between source and target document.", +"id": "GoogleCloudContentwarehouseV1DocumentLink", +"properties": { +"createTime": { +"description": "Output only. The time when the documentLink is created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"description": { +"description": "Description of this document-link.", +"type": "string" +}, +"name": { +"description": "Name of this document-link. It is required that the parent derived form the name to be consistent with the source document reference. Otherwise an exception will be thrown. Format: projects/{project_number}/locations/{location}/documents/{source_document_id}/documentLinks/{document_link_id}.", +"type": "string" +}, +"sourceDocumentReference": { +"$ref": "GoogleCloudContentwarehouseV1DocumentReference", +"description": "Document references of the source document." +}, +"state": { +"description": "The state of the documentlink. If target node has been deleted, the link is marked as invalid. Removing a source node will result in removal of all associated links.", +"enum": [ +"STATE_UNSPECIFIED", +"ACTIVE", +"SOFT_DELETED" +], +"enumDescriptions": [ +"Unknown state of documentlink.", +"The documentlink has both source and target documents detected.", +"Target document is deleted, and mark the documentlink as soft-deleted." +], +"type": "string" +}, +"targetDocumentReference": { +"$ref": "GoogleCloudContentwarehouseV1DocumentReference", +"description": "Document references of the target document." +}, +"updateTime": { +"description": "Output only. The time when the documentLink is last updated.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudContentwarehouseV1DocumentQuery": { +"id": "GoogleCloudContentwarehouseV1DocumentQuery", +"properties": { +"customPropertyFilter": { +"deprecated": true, +"description": "This filter specifies a structured syntax to match against the [PropertyDefinition].is_filterable marked as `true`. The syntax for this expression is a subset of SQL syntax. Supported operators are: `=`, `!=`, `<`, `<=`, `>`, and `>=` where the left of the operator is a property name and the right of the operator is a number or a quoted string. You must escape backslash (\\\\) and quote (\\\") characters. Supported functions are `LOWER([property_name])` to perform a case insensitive match and `EMPTY([property_name])` to filter on the existence of a key. Boolean expressions (AND/OR/NOT) are supported up to 3 levels of nesting (for example, \"((A AND B AND C) OR NOT D) AND E\"), a maximum of 100 comparisons or functions are allowed in the expression. The expression must be < 6000 bytes in length. Sample Query: `(LOWER(driving_license)=\"class \\\"a\\\"\" OR EMPTY(driving_license)) AND driving_years > 10`", +"type": "string" +}, +"customWeightsMetadata": { +"$ref": "GoogleCloudContentwarehouseV1CustomWeightsMetadata", +"description": "To support the custom weighting across document schemas, customers need to provide the properties to be used to boost the ranking in the search request. For a search query with CustomWeightsMetadata specified, only the RetrievalImportance for the properties in the CustomWeightsMetadata will be honored." +}, +"documentCreatorFilter": { +"description": "The exact creator(s) of the documents to search against. If a value isn't specified, documents within the search results are associated with any creator. If multiple values are specified, documents within the search results may be associated with any of the specified creators.", +"items": { +"type": "string" +}, +"type": "array" +}, +"documentNameFilter": { +"description": "Search the documents in the list. Format: projects/{project_number}/locations/{location}/documents/{document_id}.", +"items": { +"type": "string" +}, +"type": "array" +}, +"documentSchemaNames": { +"description": "This filter specifies the exact document schema Document.document_schema_name of the documents to search against. If a value isn't specified, documents within the search results are associated with any schema. If multiple values are specified, documents within the search results may be associated with any of the specified schemas. At most 20 document schema names are allowed.", +"items": { +"type": "string" +}, +"type": "array" +}, +"fileTypeFilter": { +"$ref": "GoogleCloudContentwarehouseV1FileTypeFilter", +"description": "This filter specifies the types of files to return: ALL, FOLDER, or FILE. If FOLDER or FILE is specified, then only either folders or files will be returned, respectively. If ALL is specified, both folders and files will be returned. If no value is specified, ALL files will be returned." +}, +"folderNameFilter": { +"description": "Search all the documents under this specified folder. Format: projects/{project_number}/locations/{location}/documents/{document_id}.", +"type": "string" +}, +"isNlQuery": { +"description": "Experimental, do not use. If the query is a natural language question. False by default. If true, then the question-answering feature will be used instead of search, and `result_count` in SearchDocumentsRequest must be set. In addition, all other input fields related to search (pagination, histograms, etc.) will be ignored.", +"type": "boolean" +}, +"propertyFilter": { +"description": "This filter specifies a structured syntax to match against the PropertyDefinition.is_filterable marked as `true`. The relationship between the PropertyFilters is OR.", +"items": { +"$ref": "GoogleCloudContentwarehouseV1PropertyFilter" +}, +"type": "array" +}, +"query": { +"description": "The query string that matches against the full text of the document and the searchable properties. The query partially supports [Google AIP style syntax](https://google.aip.dev/160). Specifically, the query supports literals, logical operators, negation operators, comparison operators, and functions. Literals: A bare literal value (examples: \"42\", \"Hugo\") is a value to be matched against. It searches over the full text of the document and the searchable properties. Logical operators: \"AND\", \"and\", \"OR\", and \"or\" are binary logical operators (example: \"engineer OR developer\"). Negation operators: \"NOT\" and \"!\" are negation operators (example: \"NOT software\"). Comparison operators: support the binary comparison operators =, !=, <, >, <= and >= for string, numeric, enum, boolean. Also support like operator `~~` for string. It provides semantic search functionality by parsing, stemming and doing synonyms expansion against the input query. To specify a property in the query, the left hand side expression in the comparison must be the property ID including the parent. The right hand side must be literals. For example: \"\\\"projects/123/locations/us\\\".property_a < 1\" matches results whose \"property_a\" is less than 1 in project 123 and us location. The literals and comparison expression can be connected in a single query (example: \"software engineer \\\"projects/123/locations/us\\\".salary > 100\"). Functions: supported functions are `LOWER([property_name])` to perform a case insensitive match and `EMPTY([property_name])` to filter on the existence of a key. Support nested expressions connected using parenthesis and logical operators. The default logical operators is `AND` if there is no operators between expressions. The query can be used with other filters e.g. `time_filters` and `folder_name_filter`. They are connected with `AND` operator under the hood. The maximum number of allowed characters is 255.", +"type": "string" +}, +"queryContext": { +"description": "For custom synonyms. Customers provide the synonyms based on context. One customer can provide multiple set of synonyms based on different context. The search query will be expanded based on the custom synonyms of the query context set. By default, no custom synonyms wll be applied if no query context is provided. It is not supported for CMEK compliant deployment.", +"items": { +"type": "string" +}, +"type": "array" +}, +"timeFilters": { +"description": "Documents created/updated within a range specified by this filter are searched against.", +"items": { +"$ref": "GoogleCloudContentwarehouseV1TimeFilter" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudContentwarehouseV1DocumentReference": { +"description": "References to the documents.", +"id": "GoogleCloudContentwarehouseV1DocumentReference", +"properties": { +"createTime": { +"description": "Output only. The time when the document is created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"deleteTime": { +"description": "Output only. The time when the document is deleted.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"displayName": { +"description": "display_name of the referenced document; this name does not need to be consistent to the display_name in the Document proto, depending on the ACL constraint.", +"type": "string" +}, +"documentIsFolder": { +"description": "The document type of the document being referenced.", +"type": "boolean" +}, +"documentIsLegalHoldFolder": { +"description": "Document is a folder with legal hold.", +"type": "boolean" +}, +"documentIsRetentionFolder": { +"description": "Document is a folder with retention policy.", +"type": "boolean" +}, +"documentName": { +"description": "Required. Name of the referenced document.", +"type": "string" +}, +"snippet": { +"description": "Stores the subset of the referenced document's content. This is useful to allow user peek the information of the referenced document.", +"type": "string" +}, +"updateTime": { +"description": "Output only. The time when the document is last updated.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudContentwarehouseV1DocumentSchema": { +"description": "A document schema used to define document structure.", +"id": "GoogleCloudContentwarehouseV1DocumentSchema", +"properties": { +"createTime": { +"description": "Output only. The time when the document schema is created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"description": { +"description": "Schema description.", +"type": "string" +}, +"displayName": { +"description": "Required. Name of the schema given by the user. Must be unique per project.", +"type": "string" +}, +"documentIsFolder": { +"description": "Document Type, true refers the document is a folder, otherwise it is a typical document.", +"type": "boolean" +}, +"name": { +"description": "The resource name of the document schema. Format: projects/{project_number}/locations/{location}/documentSchemas/{document_schema_id}. The name is ignored when creating a document schema.", +"type": "string" +}, +"propertyDefinitions": { +"description": "Document details.", +"items": { +"$ref": "GoogleCloudContentwarehouseV1PropertyDefinition" +}, +"type": "array" +}, +"updateTime": { +"description": "Output only. The time when the document schema is last updated.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudContentwarehouseV1EnumArray": { +"description": "Enum values.", +"id": "GoogleCloudContentwarehouseV1EnumArray", +"properties": { +"values": { +"description": "List of enum values.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudContentwarehouseV1EnumTypeOptions": { +"description": "Configurations for an enum/categorical property.", +"id": "GoogleCloudContentwarehouseV1EnumTypeOptions", +"properties": { +"possibleValues": { +"description": "Required. List of possible enum values.", +"items": { +"type": "string" +}, +"type": "array" +}, +"validationCheckDisabled": { +"description": "Make sure the Enum property value provided in the document is in the possile value list during document creation. The validation check runs by default.", +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleCloudContentwarehouseV1EnumValue": { +"description": "Represents the string value of the enum field.", +"id": "GoogleCloudContentwarehouseV1EnumValue", +"properties": { +"value": { +"description": "String value of the enum field. This must match defined set of enums in document schema using EnumTypeOptions.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudContentwarehouseV1ExportToCdwPipeline": { +"description": "The configuration of exporting documents from the Document Warehouse to CDW pipeline.", +"id": "GoogleCloudContentwarehouseV1ExportToCdwPipeline", +"properties": { +"docAiDataset": { +"description": "Optional. The CDW dataset resource name. This field is optional. If not set, the documents will be exported to Cloud Storage only. Format: projects/{project}/locations/{location}/processors/{processor}/dataset", +"type": "string" +}, +"documents": { +"description": "The list of all the resource names of the documents to be processed. Format: projects/{project_number}/locations/{location}/documents/{document_id}.", +"items": { +"type": "string" +}, +"type": "array" +}, +"exportFolderPath": { +"description": "The Cloud Storage folder path used to store the exported documents before being sent to CDW. Format: `gs:///`.", +"type": "string" +}, +"trainingSplitRatio": { +"description": "Ratio of training dataset split. When importing into Document AI Workbench, documents will be automatically split into training and test split category with the specified ratio. This field is required if doc_ai_dataset is set.", +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"GoogleCloudContentwarehouseV1FetchAclRequest": { +"description": "Request message for DocumentService.FetchAcl", +"id": "GoogleCloudContentwarehouseV1FetchAclRequest", +"properties": { +"projectOwner": { +"description": "For Get Project ACL only. Authorization check for end user will be ignored when project_owner=true.", +"type": "boolean" +}, +"requestMetadata": { +"$ref": "GoogleCloudContentwarehouseV1RequestMetadata", +"description": "The meta information collected about the end user, used to enforce access control for the service." +} +}, +"type": "object" +}, +"GoogleCloudContentwarehouseV1FetchAclResponse": { +"description": "Response message for DocumentService.FetchAcl.", +"id": "GoogleCloudContentwarehouseV1FetchAclResponse", +"properties": { +"metadata": { +"$ref": "GoogleCloudContentwarehouseV1ResponseMetadata", +"description": "Additional information for the API invocation, such as the request tracking id." +}, +"policy": { +"$ref": "GoogleIamV1Policy", +"description": "The IAM policy." +} +}, +"type": "object" +}, +"GoogleCloudContentwarehouseV1FileTypeFilter": { +"description": "Filter for the specific types of documents returned.", +"id": "GoogleCloudContentwarehouseV1FileTypeFilter", +"properties": { +"fileType": { +"description": "The type of files to return.", +"enum": [ +"FILE_TYPE_UNSPECIFIED", +"ALL", +"FOLDER", +"DOCUMENT", +"ROOT_FOLDER" +], +"enumDescriptions": [ +"Default document type. If set, disables the filter.", +"Returns all document types, including folders.", +"Returns only folders.", +"Returns only non-folder documents.", +"Returns only root folders" +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudContentwarehouseV1FloatArray": { +"description": "Float values.", +"id": "GoogleCloudContentwarehouseV1FloatArray", +"properties": { +"values": { +"description": "List of float values.", +"items": { +"format": "float", +"type": "number" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudContentwarehouseV1FloatTypeOptions": { +"description": "Configurations for a float property.", +"id": "GoogleCloudContentwarehouseV1FloatTypeOptions", +"properties": {}, +"type": "object" +}, +"GoogleCloudContentwarehouseV1GcsIngestPipeline": { +"description": "The configuration of the Cloud Storage Ingestion pipeline.", +"id": "GoogleCloudContentwarehouseV1GcsIngestPipeline", +"properties": { +"inputPath": { +"description": "The input Cloud Storage folder. All files under this folder will be imported to Document Warehouse. Format: `gs:///`.", +"type": "string" +}, +"pipelineConfig": { +"$ref": "GoogleCloudContentwarehouseV1IngestPipelineConfig", +"description": "Optional. The config for the Cloud Storage Ingestion pipeline. It provides additional customization options to run the pipeline and can be skipped if it is not applicable." +}, +"processorType": { +"description": "The Doc AI processor type name. Only used when the format of ingested files is Doc AI Document proto format.", +"type": "string" +}, +"schemaName": { +"description": "The Document Warehouse schema resource name. All documents processed by this pipeline will use this schema. Format: projects/{project_number}/locations/{location}/documentSchemas/{document_schema_id}.", +"type": "string" +}, +"skipIngestedDocuments": { +"description": "The flag whether to skip ingested documents. If it is set to true, documents in Cloud Storage contains key \"status\" with value \"status=ingested\" in custom metadata will be skipped to ingest.", +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleCloudContentwarehouseV1GcsIngestWithDocAiProcessorsPipeline": { +"description": "The configuration of the Cloud Storage Ingestion with DocAI Processors pipeline.", +"id": "GoogleCloudContentwarehouseV1GcsIngestWithDocAiProcessorsPipeline", +"properties": { +"extractProcessorInfos": { +"description": "The extract processors information. One matched extract processor will be used to process documents based on the classify processor result. If no classify processor is specified, the first extract processor will be used.", +"items": { +"$ref": "GoogleCloudContentwarehouseV1ProcessorInfo" +}, +"type": "array" +}, +"inputPath": { +"description": "The input Cloud Storage folder. All files under this folder will be imported to Document Warehouse. Format: `gs:///`.", +"type": "string" +}, +"pipelineConfig": { +"$ref": "GoogleCloudContentwarehouseV1IngestPipelineConfig", +"description": "Optional. The config for the Cloud Storage Ingestion with DocAI Processors pipeline. It provides additional customization options to run the pipeline and can be skipped if it is not applicable." +}, +"processorResultsFolderPath": { +"description": "The Cloud Storage folder path used to store the raw results from processors. Format: `gs:///`.", +"type": "string" +}, +"skipIngestedDocuments": { +"description": "The flag whether to skip ingested documents. If it is set to true, documents in Cloud Storage contains key \"status\" with value \"status=ingested\" in custom metadata will be skipped to ingest.", +"type": "boolean" +}, +"splitClassifyProcessorInfo": { +"$ref": "GoogleCloudContentwarehouseV1ProcessorInfo", +"description": "The split and classify processor information. The split and classify result will be used to find a matched extract processor." +} +}, +"type": "object" +}, +"GoogleCloudContentwarehouseV1GetDocumentRequest": { +"description": "Request message for DocumentService.GetDocument.", +"id": "GoogleCloudContentwarehouseV1GetDocumentRequest", +"properties": { +"requestMetadata": { +"$ref": "GoogleCloudContentwarehouseV1RequestMetadata", +"description": "The meta information collected about the end user, used to enforce access control for the service." +} +}, +"type": "object" +}, +"GoogleCloudContentwarehouseV1HistogramQuery": { +"description": "The histogram request.", +"id": "GoogleCloudContentwarehouseV1HistogramQuery", +"properties": { +"filters": { +"$ref": "GoogleCloudContentwarehouseV1HistogramQueryPropertyNameFilter", +"description": "Optional. Filter the result of histogram query by the property names. It only works with histogram query count('FilterableProperties'). It is an optional. It will perform histogram on all the property names for all the document schemas. Setting this field will have a better performance." +}, +"histogramQuery": { +"description": "An expression specifies a histogram request against matching documents for searches. See SearchDocumentsRequest.histogram_queries for details about syntax.", +"type": "string" +}, +"requirePreciseResultSize": { +"description": "Controls if the histogram query requires the return of a precise count. Enable this flag may adversely impact performance. Defaults to true.", +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleCloudContentwarehouseV1HistogramQueryPropertyNameFilter": { +"id": "GoogleCloudContentwarehouseV1HistogramQueryPropertyNameFilter", +"properties": { +"documentSchemas": { +"description": "This filter specifies the exact document schema(s) Document.document_schema_name to run histogram query against. It is optional. It will perform histogram for property names for all the document schemas if it is not set. At most 10 document schema names are allowed. Format: projects/{project_number}/locations/{location}/documentSchemas/{document_schema_id}.", +"items": { +"type": "string" +}, +"type": "array" +}, +"propertyNames": { +"description": "It is optional. It will perform histogram for all the property names if it is not set. The properties need to be defined with the is_filterable flag set to true and the name of the property should be in the format: \"schemaId.propertyName\". The property needs to be defined in the schema. Example: the schema id is abc. Then the name of property for property MORTGAGE_TYPE will be \"abc.MORTGAGE_TYPE\".", +"items": { +"type": "string" +}, +"type": "array" +}, +"yAxis": { +"description": "By default, the y_axis is HISTOGRAM_YAXIS_DOCUMENT if this field is not set.", +"enum": [ +"HISTOGRAM_YAXIS_DOCUMENT", +"HISTOGRAM_YAXIS_PROPERTY" +], +"enumDescriptions": [ +"Count the documents per property name.", +"Count the properties per property name." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudContentwarehouseV1HistogramQueryResult": { +"description": "Histogram result that matches HistogramQuery specified in searches.", +"id": "GoogleCloudContentwarehouseV1HistogramQueryResult", +"properties": { +"histogram": { +"additionalProperties": { +"format": "int64", +"type": "string" +}, +"description": "A map from the values of the facet associated with distinct values to the number of matching entries with corresponding value. The key format is: * (for string histogram) string values stored in the field.", +"type": "object" +}, +"histogramQuery": { +"description": "Requested histogram expression.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudContentwarehouseV1IngestPipelineConfig": { +"description": "The ingestion pipeline config.", +"id": "GoogleCloudContentwarehouseV1IngestPipelineConfig", +"properties": { +"cloudFunction": { +"description": "The Cloud Function resource name. The Cloud Function needs to live inside consumer project and is accessible to Document AI Warehouse P4SA. Only Cloud Functions V2 is supported. Cloud function execution should complete within 5 minutes or this file ingestion may fail due to timeout. Format: `https://{region}-{project_id}.cloudfunctions.net/{cloud_function}` The following keys are available the request json payload. * display_name * properties * plain_text * reference_id * document_schema_name * raw_document_path * raw_document_file_type The following keys from the cloud function json response payload will be ingested to the Document AI Warehouse as part of Document proto content and/or related information. The original values will be overridden if any key is present in the response. * display_name * properties * plain_text * document_acl_policy * folder", +"type": "string" +}, +"documentAclPolicy": { +"$ref": "GoogleIamV1Policy", +"description": "The document level acl policy config. This refers to an Identity and Access (IAM) policy, which specifies access controls for all documents ingested by the pipeline. The role and members under the policy needs to be specified. The following roles are supported for document level acl control: * roles/contentwarehouse.documentAdmin * roles/contentwarehouse.documentEditor * roles/contentwarehouse.documentViewer The following members are supported for document level acl control: * user:user-email@example.com * group:group-email@example.com Note that for documents searched with LLM, only single level user or group acl check is supported." +}, +"enableDocumentTextExtraction": { +"description": "The document text extraction enabled flag. If the flag is set to true, DWH will perform text extraction on the raw document.", +"type": "boolean" +}, +"folder": { +"description": "Optional. The name of the folder to which all ingested documents will be linked during ingestion process. Format is `projects/{project}/locations/{location}/documents/{folder_id}`", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudContentwarehouseV1InitializeProjectRequest": { +"description": "Request message for projectService.InitializeProject", +"id": "GoogleCloudContentwarehouseV1InitializeProjectRequest", +"properties": { +"accessControlMode": { +"description": "Required. The access control mode for accessing the customer data", +"enum": [ +"ACL_MODE_UNKNOWN", +"ACL_MODE_UNIVERSAL_ACCESS", +"ACL_MODE_DOCUMENT_LEVEL_ACCESS_CONTROL_BYOID", +"ACL_MODE_DOCUMENT_LEVEL_ACCESS_CONTROL_GCI" +], +"enumDescriptions": [ +"This value is required by protobuf best practices", +"Universal Access: No document level access control.", +"Document level access control with customer own Identity Service.", +"Document level access control using Google Cloud Identity." +], +"type": "string" +}, +"databaseType": { +"description": "Required. The type of database used to store customer data", +"enum": [ +"DB_UNKNOWN", +"DB_INFRA_SPANNER", +"DB_CLOUD_SQL_POSTGRES" +], +"enumDeprecated": [ +false, +false, +true +], +"enumDescriptions": [ +"This value is required by protobuf best practices", +"Internal Spanner", +"Cloud Sql with a Postgres Sql instance" +], +"type": "string" +}, +"documentCreatorDefaultRole": { +"description": "Optional. The default role for the person who create a document.", +"enum": [ +"DOCUMENT_CREATOR_DEFAULT_ROLE_UNSPECIFIED", +"DOCUMENT_ADMIN", +"DOCUMENT_EDITOR", +"DOCUMENT_VIEWER" +], +"enumDescriptions": [ +"Unspecified, will be default to document admin role.", +"Document Admin, same as contentwarehouse.googleapis.com/documentAdmin.", +"Document Editor, same as contentwarehouse.googleapis.com/documentEditor.", +"Document Viewer, same as contentwarehouse.googleapis.com/documentViewer." +], +"type": "string" +}, +"enableCalUserEmailLogging": { +"description": "Optional. Whether to enable CAL user email logging.", +"type": "boolean" +}, +"kmsKey": { +"description": "Optional. The KMS key used for CMEK encryption. It is required that the kms key is in the same region as the endpoint. The same key will be used for all provisioned resources, if encryption is available. If the kms_key is left empty, no encryption will be enforced.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudContentwarehouseV1InitializeProjectResponse": { +"description": "Response message for projectService.InitializeProject", +"id": "GoogleCloudContentwarehouseV1InitializeProjectResponse", +"properties": { +"message": { +"description": "The message of the project initialization process.", +"type": "string" +}, +"state": { +"description": "The state of the project initialization process.", +"enum": [ +"STATE_UNSPECIFIED", +"SUCCEEDED", +"FAILED", +"CANCELLED", +"RUNNING" +], +"enumDescriptions": [ +"Clients should never see this.", +"Finished project initialization without error.", +"Finished project initialization with an error.", +"Client canceled the LRO.", +"Ask the customer to check the operation for results." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudContentwarehouseV1IntegerArray": { +"description": "Integer values.", +"id": "GoogleCloudContentwarehouseV1IntegerArray", +"properties": { +"values": { +"description": "List of integer values.", +"items": { +"format": "int32", +"type": "integer" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudContentwarehouseV1IntegerTypeOptions": { +"description": "Configurations for an integer property.", +"id": "GoogleCloudContentwarehouseV1IntegerTypeOptions", +"properties": {}, +"type": "object" +}, +"GoogleCloudContentwarehouseV1InvalidRule": { +"description": "A triggered rule that failed the validation check(s) after parsing.", +"id": "GoogleCloudContentwarehouseV1InvalidRule", +"properties": { +"error": { +"description": "Validation error on a parsed expression.", +"type": "string" +}, +"rule": { +"$ref": "GoogleCloudContentwarehouseV1Rule", +"description": "Triggered rule." +} +}, +"type": "object" +}, +"GoogleCloudContentwarehouseV1ListDocumentSchemasResponse": { +"description": "Response message for DocumentSchemaService.ListDocumentSchemas.", +"id": "GoogleCloudContentwarehouseV1ListDocumentSchemasResponse", +"properties": { +"documentSchemas": { +"description": "The document schemas from the specified parent.", +"items": { +"$ref": "GoogleCloudContentwarehouseV1DocumentSchema" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudContentwarehouseV1ListLinkedSourcesRequest": { +"description": "Response message for DocumentLinkService.ListLinkedSources.", +"id": "GoogleCloudContentwarehouseV1ListLinkedSourcesRequest", +"properties": { +"pageSize": { +"description": "The maximum number of document-links to return. The service may return fewer than this value. If unspecified, at most 50 document-links will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.", +"format": "int32", +"type": "integer" +}, +"pageToken": { +"description": "A page token, received from a previous `ListLinkedSources` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListLinkedSources` must match the call that provided the page token.", +"type": "string" +}, +"requestMetadata": { +"$ref": "GoogleCloudContentwarehouseV1RequestMetadata", +"description": "The meta information collected about the document creator, used to enforce access control for the service." +} +}, +"type": "object" +}, +"GoogleCloudContentwarehouseV1ListLinkedSourcesResponse": { +"description": "Response message for DocumentLinkService.ListLinkedSources.", +"id": "GoogleCloudContentwarehouseV1ListLinkedSourcesResponse", +"properties": { +"documentLinks": { +"description": "Source document-links.", +"items": { +"$ref": "GoogleCloudContentwarehouseV1DocumentLink" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudContentwarehouseV1ListLinkedTargetsRequest": { +"description": "Request message for DocumentLinkService.ListLinkedTargets.", +"id": "GoogleCloudContentwarehouseV1ListLinkedTargetsRequest", +"properties": { +"requestMetadata": { +"$ref": "GoogleCloudContentwarehouseV1RequestMetadata", +"description": "The meta information collected about the document creator, used to enforce access control for the service." +} +}, +"type": "object" +}, +"GoogleCloudContentwarehouseV1ListLinkedTargetsResponse": { +"description": "Response message for DocumentLinkService.ListLinkedTargets.", +"id": "GoogleCloudContentwarehouseV1ListLinkedTargetsResponse", +"properties": { +"documentLinks": { +"description": "Target document-links.", +"items": { +"$ref": "GoogleCloudContentwarehouseV1DocumentLink" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudContentwarehouseV1ListRuleSetsResponse": { +"description": "Response message for RuleSetService.ListRuleSets.", +"id": "GoogleCloudContentwarehouseV1ListRuleSetsResponse", +"properties": { +"nextPageToken": { +"description": "A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.", +"type": "string" +}, +"ruleSets": { +"description": "The rule sets from the specified parent.", +"items": { +"$ref": "GoogleCloudContentwarehouseV1RuleSet" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudContentwarehouseV1ListSynonymSetsResponse": { +"description": "Response message for SynonymSetService.ListSynonymSets.", +"id": "GoogleCloudContentwarehouseV1ListSynonymSetsResponse", +"properties": { +"nextPageToken": { +"description": "A page token, received from a previous `ListSynonymSets` call. Provide this to retrieve the subsequent page.", +"type": "string" +}, +"synonymSets": { +"description": "The synonymSets from the specified parent.", +"items": { +"$ref": "GoogleCloudContentwarehouseV1SynonymSet" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudContentwarehouseV1LockDocumentRequest": { +"description": "Request message for DocumentService.LockDocument.", +"id": "GoogleCloudContentwarehouseV1LockDocumentRequest", +"properties": { +"collectionId": { +"description": "The collection the document connects to.", +"type": "string" +}, +"lockingUser": { +"$ref": "GoogleCloudContentwarehouseV1UserInfo", +"description": "The user information who locks the document." +} +}, +"type": "object" +}, +"GoogleCloudContentwarehouseV1MapProperty": { +"description": "Map property value. Represents a structured entries of key value pairs, consisting of field names which map to dynamically typed values.", +"id": "GoogleCloudContentwarehouseV1MapProperty", +"properties": { +"fields": { +"additionalProperties": { +"$ref": "GoogleCloudContentwarehouseV1Value" +}, +"description": "Unordered map of dynamically typed values.", +"type": "object" +} +}, +"type": "object" +}, +"GoogleCloudContentwarehouseV1MapTypeOptions": { +"description": "Configurations for a Map property.", +"id": "GoogleCloudContentwarehouseV1MapTypeOptions", +"properties": {}, +"type": "object" +}, +"GoogleCloudContentwarehouseV1MergeFieldsOptions": { +"description": "Options for merging updated fields.", +"id": "GoogleCloudContentwarehouseV1MergeFieldsOptions", +"properties": { +"replaceMessageFields": { +"description": "When merging message fields, the default behavior is to merge the content of two message fields together. If you instead want to use the field from the source message to replace the corresponding field in the destination message, set this flag to true. When this flag is set, specified submessage fields that are missing in source will be cleared in destination.", +"type": "boolean" +}, +"replaceRepeatedFields": { +"description": "When merging repeated fields, the default behavior is to append entries from the source repeated field to the destination repeated field. If you instead want to keep only the entries from the source repeated field, set this flag to true. If you want to replace a repeated field within a message field on the destination message, you must set both replace_repeated_fields and replace_message_fields to true, otherwise the repeated fields will be appended.", +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleCloudContentwarehouseV1ProcessWithDocAiPipeline": { +"description": "The configuration of processing documents in Document Warehouse with DocAi processors pipeline.", +"id": "GoogleCloudContentwarehouseV1ProcessWithDocAiPipeline", +"properties": { +"documents": { +"description": "The list of all the resource names of the documents to be processed. Format: projects/{project_number}/locations/{location}/documents/{document_id}.", +"items": { +"type": "string" +}, +"type": "array" +}, +"exportFolderPath": { +"description": "The Cloud Storage folder path used to store the exported documents before being sent to CDW. Format: `gs:///`.", +"type": "string" +}, +"processorInfo": { +"$ref": "GoogleCloudContentwarehouseV1ProcessorInfo", +"description": "The CDW processor information." +}, +"processorResultsFolderPath": { +"description": "The Cloud Storage folder path used to store the raw results from processors. Format: `gs:///`.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudContentwarehouseV1ProcessorInfo": { +"description": "The DocAI processor information.", +"id": "GoogleCloudContentwarehouseV1ProcessorInfo", +"properties": { +"documentType": { +"description": "The processor will process the documents with this document type.", +"type": "string" +}, +"processorName": { +"description": "The processor resource name. Format is `projects/{project}/locations/{location}/processors/{processor}`, or `projects/{project}/locations/{location}/processors/{processor}/processorVersions/{processorVersion}`", +"type": "string" +}, +"schemaName": { +"description": "The Document schema resource name. All documents processed by this processor will use this schema. Format: projects/{project_number}/locations/{location}/documentSchemas/{document_schema_id}.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudContentwarehouseV1ProjectStatus": { +"description": "Status of a project, including the project state, dbType, aclMode and etc.", +"id": "GoogleCloudContentwarehouseV1ProjectStatus", +"properties": { +"accessControlMode": { +"description": "Access control mode.", +"enum": [ +"ACL_MODE_UNKNOWN", +"ACL_MODE_UNIVERSAL_ACCESS", +"ACL_MODE_DOCUMENT_LEVEL_ACCESS_CONTROL_BYOID", +"ACL_MODE_DOCUMENT_LEVEL_ACCESS_CONTROL_GCI" +], +"enumDescriptions": [ +"This value is required by protobuf best practices", +"Universal Access: No document level access control.", +"Document level access control with customer own Identity Service.", +"Document level access control using Google Cloud Identity." +], +"type": "string" +}, +"databaseType": { +"description": "Database type.", +"enum": [ +"DB_UNKNOWN", +"DB_INFRA_SPANNER", +"DB_CLOUD_SQL_POSTGRES" +], +"enumDeprecated": [ +false, +false, +true +], +"enumDescriptions": [ +"This value is required by protobuf best practices", +"Internal Spanner", +"Cloud Sql with a Postgres Sql instance" +], +"type": "string" +}, +"documentCreatorDefaultRole": { +"description": "The default role for the person who create a document.", +"type": "string" +}, +"location": { +"description": "The location of the queried project.", +"type": "string" +}, +"qaEnabled": { +"description": "If the qa is enabled on this project.", +"type": "boolean" +}, +"state": { +"description": "State of the project.", +"enum": [ +"PROJECT_STATE_UNSPECIFIED", +"PROJECT_STATE_PENDING", +"PROJECT_STATE_COMPLETED", +"PROJECT_STATE_FAILED", +"PROJECT_STATE_DELETING", +"PROJECT_STATE_DELETING_FAILED", +"PROJECT_STATE_DELETED", +"PROJECT_STATE_NOT_FOUND" +], +"enumDescriptions": [ +"Default status, required by protobuf best practices.", +"The project is in the middle of a provision process.", +"All dependencies have been provisioned.", +"A provision process was previously initiated, but failed.", +"The project is in the middle of a deletion process.", +"A deleting process was initiated, but failed.", +"The project is deleted.", +"The project is not found." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudContentwarehouseV1Property": { +"description": "Property of a document.", +"id": "GoogleCloudContentwarehouseV1Property", +"properties": { +"dateTimeValues": { +"$ref": "GoogleCloudContentwarehouseV1DateTimeArray", +"description": "Date time property values. It is not supported by CMEK compliant deployment." +}, +"enumValues": { +"$ref": "GoogleCloudContentwarehouseV1EnumArray", +"description": "Enum property values." +}, +"floatValues": { +"$ref": "GoogleCloudContentwarehouseV1FloatArray", +"description": "Float property values." +}, +"integerValues": { +"$ref": "GoogleCloudContentwarehouseV1IntegerArray", +"description": "Integer property values." +}, +"mapProperty": { +"$ref": "GoogleCloudContentwarehouseV1MapProperty", +"description": "Map property values." +}, +"name": { +"description": "Required. Must match the name of a PropertyDefinition in the DocumentSchema.", +"type": "string" +}, +"propertyValues": { +"$ref": "GoogleCloudContentwarehouseV1PropertyArray", +"description": "Nested structured data property values." +}, +"textValues": { +"$ref": "GoogleCloudContentwarehouseV1TextArray", +"description": "String/text property values." +}, +"timestampValues": { +"$ref": "GoogleCloudContentwarehouseV1TimestampArray", +"description": "Timestamp property values. It is not supported by CMEK compliant deployment." +} +}, +"type": "object" +}, +"GoogleCloudContentwarehouseV1PropertyArray": { +"description": "Property values.", +"id": "GoogleCloudContentwarehouseV1PropertyArray", +"properties": { +"properties": { +"description": "List of property values.", +"items": { +"$ref": "GoogleCloudContentwarehouseV1Property" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudContentwarehouseV1PropertyDefinition": { +"description": "Defines the metadata for a schema property.", +"id": "GoogleCloudContentwarehouseV1PropertyDefinition", +"properties": { +"dateTimeTypeOptions": { +"$ref": "GoogleCloudContentwarehouseV1DateTimeTypeOptions", +"description": "Date time property. It is not supported by CMEK compliant deployment." +}, +"displayName": { +"description": "The display-name for the property, used for front-end.", +"type": "string" +}, +"enumTypeOptions": { +"$ref": "GoogleCloudContentwarehouseV1EnumTypeOptions", +"description": "Enum/categorical property." +}, +"floatTypeOptions": { +"$ref": "GoogleCloudContentwarehouseV1FloatTypeOptions", +"description": "Float property." +}, +"integerTypeOptions": { +"$ref": "GoogleCloudContentwarehouseV1IntegerTypeOptions", +"description": "Integer property." +}, +"isFilterable": { +"description": "Whether the property can be filtered. If this is a sub-property, all the parent properties must be marked filterable.", +"type": "boolean" +}, +"isMetadata": { +"description": "Whether the property is user supplied metadata. This out-of-the box placeholder setting can be used to tag derived properties. Its value and interpretation logic should be implemented by API user.", +"type": "boolean" +}, +"isRepeatable": { +"description": "Whether the property can have multiple values.", +"type": "boolean" +}, +"isRequired": { +"description": "Whether the property is mandatory. Default is 'false', i.e. populating property value can be skipped. If 'true' then user must populate the value for this property.", +"type": "boolean" +}, +"isSearchable": { +"description": "Indicates that the property should be included in a global search.", +"type": "boolean" +}, +"mapTypeOptions": { +"$ref": "GoogleCloudContentwarehouseV1MapTypeOptions", +"description": "Map property." +}, +"name": { +"description": "Required. The name of the metadata property. Must be unique within a document schema and is case insensitive. Names must be non-blank, start with a letter, and can contain alphanumeric characters and: /, :, -, _, and .", +"type": "string" +}, +"propertyTypeOptions": { +"$ref": "GoogleCloudContentwarehouseV1PropertyTypeOptions", +"description": "Nested structured data property." +}, +"retrievalImportance": { +"description": "The retrieval importance of the property during search.", +"enum": [ +"RETRIEVAL_IMPORTANCE_UNSPECIFIED", +"HIGHEST", +"HIGHER", +"HIGH", +"MEDIUM", +"LOW", +"LOWEST" +], +"enumDescriptions": [ +"No importance specified. Default medium importance.", +"Highest importance.", +"Higher importance.", +"High importance.", +"Medium importance.", +"Low importance (negative).", +"Lowest importance (negative)." +], +"type": "string" +}, +"schemaSources": { +"description": "The mapping information between this property to another schema source.", +"items": { +"$ref": "GoogleCloudContentwarehouseV1PropertyDefinitionSchemaSource" +}, +"type": "array" +}, +"textTypeOptions": { +"$ref": "GoogleCloudContentwarehouseV1TextTypeOptions", +"description": "Text/string property." +}, +"timestampTypeOptions": { +"$ref": "GoogleCloudContentwarehouseV1TimestampTypeOptions", +"description": "Timestamp property. It is not supported by CMEK compliant deployment." +} +}, +"type": "object" +}, +"GoogleCloudContentwarehouseV1PropertyDefinitionSchemaSource": { +"description": "The schema source information.", +"id": "GoogleCloudContentwarehouseV1PropertyDefinitionSchemaSource", +"properties": { +"name": { +"description": "The schema name in the source.", +"type": "string" +}, +"processorType": { +"description": "The Doc AI processor type name.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudContentwarehouseV1PropertyFilter": { +"id": "GoogleCloudContentwarehouseV1PropertyFilter", +"properties": { +"condition": { +"description": "The filter condition. The syntax for this expression is a subset of SQL syntax. Supported operators are: `=`, `!=`, `<`, `<=`, `>`, `>=`, and `~~` where the left of the operator is a property name and the right of the operator is a number or a quoted string. You must escape backslash (\\\\) and quote (\\\") characters. `~~` is the LIKE operator. The right of the operator must be a string. The only supported property data type for LIKE is text_values. It provides semantic search functionality by parsing, stemming and doing synonyms expansion against the input query. It matches if the property contains semantic similar content to the query. It is not regex matching or wildcard matching. For example, \"property.company ~~ \\\"google\\\"\" will match records whose property `property.compnay` have values like \"Google Inc.\", \"Google LLC\" or \"Google Company\". Supported functions are `LOWER([property_name])` to perform a case insensitive match and `EMPTY([property_name])` to filter on the existence of a key. Boolean expressions (AND/OR/NOT) are supported up to 3 levels of nesting (for example, \"((A AND B AND C) OR NOT D) AND E\"), a maximum of 100 comparisons or functions are allowed in the expression. The expression must be < 6000 bytes in length. Only properties that are marked filterable are allowed (PropertyDefinition.is_filterable). Property names do not need to be prefixed by the document schema id (as is the case with histograms), however property names will need to be prefixed by its parent hierarchy, if any. For example: top_property_name.sub_property_name. Sample Query: `(LOWER(driving_license)=\"class \\\"a\\\"\" OR EMPTY(driving_license)) AND driving_years > 10` CMEK compliant deployment only supports: * Operators: `=`, `<`, `<=`, `>`, and `>=`. * Boolean expressions: AND and OR.", +"type": "string" +}, +"documentSchemaName": { +"description": "The Document schema name Document.document_schema_name. Format: projects/{project_number}/locations/{location}/documentSchemas/{document_schema_id}.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudContentwarehouseV1PropertyTypeOptions": { +"description": "Configurations for a nested structured data property.", +"id": "GoogleCloudContentwarehouseV1PropertyTypeOptions", +"properties": { +"propertyDefinitions": { +"description": "Required. List of property definitions.", +"items": { +"$ref": "GoogleCloudContentwarehouseV1PropertyDefinition" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudContentwarehouseV1PublishAction": { +"description": "Represents the action responsible for publishing messages to a Pub/Sub topic.", +"id": "GoogleCloudContentwarehouseV1PublishAction", +"properties": { +"messages": { +"description": "Messages to be published.", +"items": { +"type": "string" +}, +"type": "array" +}, +"topicId": { +"description": "The topic id in the Pub/Sub service for which messages will be published to.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudContentwarehouseV1QAResult": { +"description": "Additional result info for the question-answering feature.", +"id": "GoogleCloudContentwarehouseV1QAResult", +"properties": { +"confidenceScore": { +"description": "The calibrated confidence score for this document, in the range [0., 1.]. This represents the confidence level for whether the returned document and snippet answers the user's query.", +"format": "float", +"type": "number" +}, +"highlights": { +"description": "Highlighted sections in the snippet.", +"items": { +"$ref": "GoogleCloudContentwarehouseV1QAResultHighlight" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudContentwarehouseV1QAResultHighlight": { +"description": "A text span in the search text snippet that represents a highlighted section (answer context, highly relevant sentence, etc.).", +"id": "GoogleCloudContentwarehouseV1QAResultHighlight", +"properties": { +"endIndex": { +"description": "End index of the highlight, exclusive.", +"format": "int32", +"type": "integer" +}, +"startIndex": { +"description": "Start index of the highlight.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"GoogleCloudContentwarehouseV1RemoveFromFolderAction": { +"description": "Represents the action responsible for remove a document from a specific folder.", +"id": "GoogleCloudContentwarehouseV1RemoveFromFolderAction", +"properties": { +"condition": { +"description": "Condition of the action to be executed.", +"type": "string" +}, +"folder": { +"description": "Name of the folder under which new document is to be added. Format: projects/{project_number}/locations/{location}/documents/{document_id}.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudContentwarehouseV1RequestMetadata": { +"description": "Meta information is used to improve the performance of the service.", +"id": "GoogleCloudContentwarehouseV1RequestMetadata", +"properties": { +"userInfo": { +"$ref": "GoogleCloudContentwarehouseV1UserInfo", +"description": "Provides user unique identification and groups information." +} +}, +"type": "object" +}, +"GoogleCloudContentwarehouseV1ResponseMetadata": { +"description": "Additional information returned to client, such as debugging information.", +"id": "GoogleCloudContentwarehouseV1ResponseMetadata", +"properties": { +"requestId": { +"description": "A unique id associated with this call. This id is logged for tracking purpose.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudContentwarehouseV1Rule": { +"description": "Represents the rule for a content warehouse trigger.", +"id": "GoogleCloudContentwarehouseV1Rule", +"properties": { +"actions": { +"description": "List of actions that are executed when the rule is satisfied.", +"items": { +"$ref": "GoogleCloudContentwarehouseV1Action" +}, +"type": "array" +}, +"condition": { +"description": "Represents the conditional expression to be evaluated. Expression should evaluate to a boolean result. When the condition is true actions are executed. Example: user_role = \"hsbc_role_1\" AND doc.salary > 20000", +"type": "string" +}, +"description": { +"description": "Short description of the rule and its context.", +"type": "string" +}, +"ruleId": { +"description": "ID of the rule. It has to be unique across all the examples. This is managed internally.", +"type": "string" +}, +"triggerType": { +"description": "Identifies the trigger type for running the policy.", +"enum": [ +"UNKNOWN", +"ON_CREATE", +"ON_UPDATE", +"ON_CREATE_LINK", +"ON_DELETE_LINK" +], +"enumDescriptions": [ +"Trigger for unknown action.", +"Trigger for create document action.", +"Trigger for update document action.", +"Trigger for create link action.", +"Trigger for delete link action." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudContentwarehouseV1RuleActionsPair": { +"description": "Represents a rule and outputs of associated actions.", +"id": "GoogleCloudContentwarehouseV1RuleActionsPair", +"properties": { +"actionOutputs": { +"description": "Outputs of executing the actions associated with the above rule.", +"items": { +"$ref": "GoogleCloudContentwarehouseV1ActionOutput" +}, +"type": "array" +}, +"rule": { +"$ref": "GoogleCloudContentwarehouseV1Rule", +"description": "Represents the rule." +} +}, +"type": "object" +}, +"GoogleCloudContentwarehouseV1RuleEngineOutput": { +"description": "Records the output of Rule Engine including rule evaluation and actions result.", +"id": "GoogleCloudContentwarehouseV1RuleEngineOutput", +"properties": { +"actionExecutorOutput": { +"$ref": "GoogleCloudContentwarehouseV1ActionExecutorOutput", +"description": "Output from Action Executor containing rule and corresponding actions execution result." +}, +"documentName": { +"description": "Name of the document against which the rules and actions were evaluated.", +"type": "string" +}, +"ruleEvaluatorOutput": { +"$ref": "GoogleCloudContentwarehouseV1RuleEvaluatorOutput", +"description": "Output from Rule Evaluator containing matched, unmatched and invalid rules." +} +}, +"type": "object" +}, +"GoogleCloudContentwarehouseV1RuleEvaluatorOutput": { +"description": "Represents the output of the Rule Evaluator.", +"id": "GoogleCloudContentwarehouseV1RuleEvaluatorOutput", +"properties": { +"invalidRules": { +"description": "A subset of triggered rules that failed the validation check(s) after parsing.", +"items": { +"$ref": "GoogleCloudContentwarehouseV1InvalidRule" +}, +"type": "array" +}, +"matchedRules": { +"description": "A subset of triggered rules that are evaluated true for a given request.", +"items": { +"$ref": "GoogleCloudContentwarehouseV1Rule" +}, +"type": "array" +}, +"triggeredRules": { +"description": "List of rules fetched from database for the given request trigger type.", +"items": { +"$ref": "GoogleCloudContentwarehouseV1Rule" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudContentwarehouseV1RuleSet": { +"description": "Represents a set of rules from a single customer.", +"id": "GoogleCloudContentwarehouseV1RuleSet", +"properties": { +"description": { +"description": "Short description of the rule-set.", +"type": "string" +}, +"name": { +"description": "The resource name of the rule set. Managed internally. Format: projects/{project_number}/locations/{location}/ruleSet/{rule_set_id}. The name is ignored when creating a rule set.", +"type": "string" +}, +"rules": { +"description": "List of rules given by the customer.", +"items": { +"$ref": "GoogleCloudContentwarehouseV1Rule" +}, +"type": "array" +}, +"source": { +"description": "Source of the rules i.e., customer name.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudContentwarehouseV1RunPipelineMetadata": { +"description": "Metadata message of RunPipeline method.", +"id": "GoogleCloudContentwarehouseV1RunPipelineMetadata", +"properties": { +"exportToCdwPipelineMetadata": { +"$ref": "GoogleCloudContentwarehouseV1RunPipelineMetadataExportToCdwPipelineMetadata", +"description": "The pipeline metadata for Export-to-CDW pipeline." +}, +"failedFileCount": { +"description": "Number of files that have failed at some point in the pipeline.", +"format": "int32", +"type": "integer" +}, +"gcsIngestPipelineMetadata": { +"$ref": "GoogleCloudContentwarehouseV1RunPipelineMetadataGcsIngestPipelineMetadata", +"description": "The pipeline metadata for GcsIngest pipeline." +}, +"individualDocumentStatuses": { +"description": "The list of response details of each document.", +"items": { +"$ref": "GoogleCloudContentwarehouseV1RunPipelineMetadataIndividualDocumentStatus" +}, +"type": "array" +}, +"processWithDocAiPipelineMetadata": { +"$ref": "GoogleCloudContentwarehouseV1RunPipelineMetadataProcessWithDocAiPipelineMetadata", +"description": "The pipeline metadata for Process-with-DocAi pipeline." +}, +"totalFileCount": { +"description": "Number of files that were processed by the pipeline.", +"format": "int32", +"type": "integer" +}, +"userInfo": { +"$ref": "GoogleCloudContentwarehouseV1UserInfo", +"description": "User unique identification and groups information." +} +}, +"type": "object" +}, +"GoogleCloudContentwarehouseV1RunPipelineMetadataExportToCdwPipelineMetadata": { +"description": "The metadata message for Export-to-CDW pipeline.", +"id": "GoogleCloudContentwarehouseV1RunPipelineMetadataExportToCdwPipelineMetadata", +"properties": { +"docAiDataset": { +"description": "The output CDW dataset resource name.", +"type": "string" +}, +"documents": { +"description": "The input list of all the resource names of the documents to be exported.", +"items": { +"type": "string" +}, +"type": "array" +}, +"outputPath": { +"description": "The output Cloud Storage folder in this pipeline.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudContentwarehouseV1RunPipelineMetadataGcsIngestPipelineMetadata": { +"description": "The metadata message for GcsIngest pipeline.", +"id": "GoogleCloudContentwarehouseV1RunPipelineMetadataGcsIngestPipelineMetadata", +"properties": { +"inputPath": { +"description": "The input Cloud Storage folder in this pipeline. Format: `gs:///`.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudContentwarehouseV1RunPipelineMetadataIndividualDocumentStatus": { +"description": "The status of processing a document.", +"id": "GoogleCloudContentwarehouseV1RunPipelineMetadataIndividualDocumentStatus", +"properties": { +"documentId": { +"description": "Document identifier of an existing document.", +"type": "string" +}, +"status": { +"$ref": "GoogleRpcStatus", +"description": "The status processing the document." +} +}, +"type": "object" +}, +"GoogleCloudContentwarehouseV1RunPipelineMetadataProcessWithDocAiPipelineMetadata": { +"description": "The metadata message for Process-with-DocAi pipeline.", +"id": "GoogleCloudContentwarehouseV1RunPipelineMetadataProcessWithDocAiPipelineMetadata", +"properties": { +"documents": { +"description": "The input list of all the resource names of the documents to be processed.", +"items": { +"type": "string" +}, +"type": "array" +}, +"processorInfo": { +"$ref": "GoogleCloudContentwarehouseV1ProcessorInfo", +"description": "The DocAI processor to process the documents with." +} +}, +"type": "object" +}, +"GoogleCloudContentwarehouseV1RunPipelineRequest": { +"description": "Request message for DocumentService.RunPipeline.", +"id": "GoogleCloudContentwarehouseV1RunPipelineRequest", +"properties": { +"exportCdwPipeline": { +"$ref": "GoogleCloudContentwarehouseV1ExportToCdwPipeline", +"description": "Export docuemnts from Document Warehouse to CDW for training purpose." +}, +"gcsIngestPipeline": { +"$ref": "GoogleCloudContentwarehouseV1GcsIngestPipeline", +"description": "Cloud Storage ingestion pipeline." +}, +"gcsIngestWithDocAiProcessorsPipeline": { +"$ref": "GoogleCloudContentwarehouseV1GcsIngestWithDocAiProcessorsPipeline", +"description": "Use DocAI processors to process documents in Cloud Storage and ingest them to Document Warehouse." +}, +"processWithDocAiPipeline": { +"$ref": "GoogleCloudContentwarehouseV1ProcessWithDocAiPipeline", +"description": "Use a DocAI processor to process documents in Document Warehouse, and re-ingest the updated results into Document Warehouse." +}, +"requestMetadata": { +"$ref": "GoogleCloudContentwarehouseV1RequestMetadata", +"description": "The meta information collected about the end user, used to enforce access control for the service." +} +}, +"type": "object" +}, +"GoogleCloudContentwarehouseV1SearchDocumentsRequest": { +"description": "Request message for DocumentService.SearchDocuments.", +"id": "GoogleCloudContentwarehouseV1SearchDocumentsRequest", +"properties": { +"documentQuery": { +"$ref": "GoogleCloudContentwarehouseV1DocumentQuery", +"description": "Query used to search against documents (keyword, filters, etc.)." +}, +"histogramQueries": { +"description": "An expression specifying a histogram request against matching documents. Expression syntax is an aggregation function call with histogram facets and other options. The following aggregation functions are supported: * `count(string_histogram_facet)`: Count the number of matching entities for each distinct attribute value. Data types: * Histogram facet (aka filterable properties): Facet names with format .. Facets will have the format of: `a-zA-Z`. If the facet is a child facet, then the parent hierarchy needs to be specified separated by dots in the prefix after the schema id. Thus, the format for a multi- level facet is: .. . Example: schema123.root_parent_facet.middle_facet.child_facet * DocumentSchemaId: (with no schema id prefix) to get histograms for each document type (returns the schema id path, e.g. projects/12345/locations/us-west/documentSchemas/abc123). Example expression: * Document type counts: count('DocumentSchemaId') * For schema id, abc123, get the counts for MORTGAGE_TYPE: count('abc123.MORTGAGE_TYPE')", +"items": { +"$ref": "GoogleCloudContentwarehouseV1HistogramQuery" +}, +"type": "array" +}, +"offset": { +"description": "An integer that specifies the current offset (that is, starting result location, amongst the documents deemed by the API as relevant) in search results. This field is only considered if page_token is unset. The maximum allowed value is 5000. Otherwise an error is thrown. For example, 0 means to return results starting from the first matching document, and 10 means to return from the 11th document. This can be used for pagination, (for example, pageSize = 10 and offset = 10 means to return from the second page).", +"format": "int32", +"type": "integer" +}, +"orderBy": { +"description": "The criteria determining how search results are sorted. For non-empty query, default is `\"relevance desc\"`. For empty query, default is `\"upload_date desc\"`. Supported options are: * `\"relevance desc\"`: By relevance descending, as determined by the API algorithms. * `\"upload_date desc\"`: By upload date descending. * `\"upload_date\"`: By upload date ascending. * `\"update_date desc\"`: By last updated date descending. * `\"update_date\"`: By last updated date ascending. * `\"retrieval_importance desc\"`: By retrieval importance of properties descending. This feature is still under development, please do not use unless otherwise instructed to do so.", +"type": "string" +}, +"pageSize": { +"description": "A limit on the number of documents returned in the search results. Increasing this value above the default value of 10 can increase search response time. The value can be between 1 and 100.", +"format": "int32", +"type": "integer" +}, +"pageToken": { +"description": "The token specifying the current offset within search results. See SearchDocumentsResponse.next_page_token for an explanation of how to obtain the next set of query results.", +"type": "string" +}, +"qaSizeLimit": { +"description": "Experimental, do not use. The limit on the number of documents returned for the question-answering feature. To enable the question-answering feature, set [DocumentQuery].is_nl_query to true.", +"format": "int32", +"type": "integer" +}, +"requestMetadata": { +"$ref": "GoogleCloudContentwarehouseV1RequestMetadata", +"description": "The meta information collected about the end user, used to enforce access control and improve the search quality of the service." +}, +"requireTotalSize": { +"description": "Controls if the search document request requires the return of a total size of matched documents. See SearchDocumentsResponse.total_size. Enabling this flag may adversely impact performance. Hint: If this is used with pagination, set this flag on the initial query but set this to false on subsequent page calls (keep the total count locally). Defaults to false.", +"type": "boolean" +}, +"totalResultSize": { +"description": "Controls if the search document request requires the return of a total size of matched documents. See SearchDocumentsResponse.total_size.", +"enum": [ +"TOTAL_RESULT_SIZE_UNSPECIFIED", +"ESTIMATED_SIZE", +"ACTUAL_SIZE" +], +"enumDescriptions": [ +"Total number calculation will be skipped.", +"Estimate total number. The total result size will be accurated up to 10,000. This option will add cost and latency to your request.", +"It may adversely impact performance. The limit is 1000,000." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudContentwarehouseV1SearchDocumentsResponse": { +"description": "Response message for DocumentService.SearchDocuments.", +"id": "GoogleCloudContentwarehouseV1SearchDocumentsResponse", +"properties": { +"histogramQueryResults": { +"description": "The histogram results that match with the specified SearchDocumentsRequest.histogram_queries.", +"items": { +"$ref": "GoogleCloudContentwarehouseV1HistogramQueryResult" +}, +"type": "array" +}, +"matchingDocuments": { +"description": "The document entities that match the specified SearchDocumentsRequest.", +"items": { +"$ref": "GoogleCloudContentwarehouseV1SearchDocumentsResponseMatchingDocument" +}, +"type": "array" +}, +"metadata": { +"$ref": "GoogleCloudContentwarehouseV1ResponseMetadata", +"description": "Additional information for the API invocation, such as the request tracking id." +}, +"nextPageToken": { +"description": "The token that specifies the starting position of the next page of results. This field is empty if there are no more results.", +"type": "string" +}, +"questionAnswer": { +"description": "Experimental. Question answer from the query against the document.", +"type": "string" +}, +"totalSize": { +"description": "The total number of matched documents which is available only if the client set SearchDocumentsRequest.require_total_size to `true` or set SearchDocumentsRequest.total_result_size to `ESTIMATED_SIZE` or `ACTUAL_SIZE`. Otherwise, the value will be `-1`. Typically a UI would handle this condition by displaying \"of many\", for example: \"Displaying 10 of many\".", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"GoogleCloudContentwarehouseV1SearchDocumentsResponseMatchingDocument": { +"description": "Document entry with metadata inside SearchDocumentsResponse", +"id": "GoogleCloudContentwarehouseV1SearchDocumentsResponseMatchingDocument", +"properties": { +"document": { +"$ref": "GoogleCloudContentwarehouseV1Document", +"description": "Document that matches the specified SearchDocumentsRequest. This document only contains indexed metadata information." +}, +"matchedTokenPageIndices": { +"description": "Return the 1-based page indices where those pages have one or more matched tokens.", +"items": { +"format": "int64", +"type": "string" +}, +"type": "array" +}, +"qaResult": { +"$ref": "GoogleCloudContentwarehouseV1QAResult", +"description": "Experimental. Additional result info if the question-answering feature is enabled." +}, +"searchTextSnippet": { +"description": "Contains snippets of text from the document full raw text that most closely match a search query's keywords, if available. All HTML tags in the original fields are stripped when returned in this field, and matching query keywords are enclosed in HTML bold tags. If the question-answering feature is enabled, this field will instead contain a snippet that answers the user's natural-language query. No HTML bold tags will be present, and highlights in the answer snippet can be found in QAResult.highlights.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudContentwarehouseV1SetAclRequest": { +"description": "Request message for DocumentService.SetAcl.", +"id": "GoogleCloudContentwarehouseV1SetAclRequest", +"properties": { +"policy": { +"$ref": "GoogleIamV1Policy", +"description": "Required. REQUIRED: The complete policy to be applied to the `resource`. The size of the policy is limited to a few 10s of KB. This refers to an Identity and Access (IAM) policy, which specifies access controls for the Document. You can set ACL with condition for projects only. Supported operators are: `=`, `!=`, `<`, `<=`, `>`, and `>=` where the left of the operator is `DocumentSchemaId` or property name and the right of the operator is a number or a quoted string. You must escape backslash (\\\\) and quote (\\\") characters. Boolean expressions (AND/OR) are supported up to 3 levels of nesting (for example, \"((A AND B AND C) OR D) AND E\"), a maximum of 10 comparisons are allowed in the expression. The expression must be < 6000 bytes in length. Sample condition: `\"DocumentSchemaId = \\\"some schema id\\\" OR SchemaId.floatPropertyName >= 10\"`" +}, +"projectOwner": { +"description": "For Set Project ACL only. Authorization check for end user will be ignored when project_owner=true.", +"type": "boolean" +}, +"requestMetadata": { +"$ref": "GoogleCloudContentwarehouseV1RequestMetadata", +"description": "The meta information collected about the end user, used to enforce access control for the service." +} +}, +"type": "object" +}, +"GoogleCloudContentwarehouseV1SetAclResponse": { +"description": "Response message for DocumentService.SetAcl.", +"id": "GoogleCloudContentwarehouseV1SetAclResponse", +"properties": { +"metadata": { +"$ref": "GoogleCloudContentwarehouseV1ResponseMetadata", +"description": "Additional information for the API invocation, such as the request tracking id." +}, +"policy": { +"$ref": "GoogleIamV1Policy", +"description": "The policy will be attached to a resource (e.g. projecct, document)." +} +}, +"type": "object" +}, +"GoogleCloudContentwarehouseV1SynonymSet": { +"description": "Represents a list of synonyms for a given context. For example a context \"sales\" could contain: Synonym 1: sale, invoice, bill, order Synonym 2: money, credit, finance, payment Synonym 3: shipping, freight, transport Each SynonymSets should be disjoint", +"id": "GoogleCloudContentwarehouseV1SynonymSet", +"properties": { +"context": { +"description": "This is a freeform field. Example contexts can be \"sales,\" \"engineering,\" \"real estate,\" \"accounting,\" etc. The context can be supplied during search requests.", +"type": "string" +}, +"name": { +"description": "The resource name of the SynonymSet This is mandatory for google.api.resource. Format: projects/{project_number}/locations/{location}/synonymSets/{context}.", +"type": "string" +}, +"synonyms": { +"description": "List of Synonyms for the context.", +"items": { +"$ref": "GoogleCloudContentwarehouseV1SynonymSetSynonym" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudContentwarehouseV1SynonymSetSynonym": { +"description": "Represents a list of words given by the customer All these words are synonyms of each other.", +"id": "GoogleCloudContentwarehouseV1SynonymSetSynonym", +"properties": { +"words": { +"description": "For example: sale, invoice, bill, order", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudContentwarehouseV1TextArray": { +"description": "String/text values.", +"id": "GoogleCloudContentwarehouseV1TextArray", +"properties": { +"values": { +"description": "List of text values.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudContentwarehouseV1TextTypeOptions": { +"description": "Configurations for a text property.", +"id": "GoogleCloudContentwarehouseV1TextTypeOptions", +"properties": {}, +"type": "object" +}, +"GoogleCloudContentwarehouseV1TimeFilter": { +"description": "Filter on create timestamp or update timestamp of documents.", +"id": "GoogleCloudContentwarehouseV1TimeFilter", +"properties": { +"timeField": { +"description": "Specifies which time field to filter documents on. Defaults to TimeField.UPLOAD_TIME.", +"enum": [ +"TIME_FIELD_UNSPECIFIED", +"CREATE_TIME", +"UPDATE_TIME", +"DISPOSITION_TIME" +], +"enumDescriptions": [ +"Default value.", +"Earliest document create time.", +"Latest document update time.", +"Time when document becomes mutable again." +], +"type": "string" +}, +"timeRange": { +"$ref": "GoogleTypeInterval" +} +}, +"type": "object" +}, +"GoogleCloudContentwarehouseV1TimestampArray": { +"description": "Timestamp values.", +"id": "GoogleCloudContentwarehouseV1TimestampArray", +"properties": { +"values": { +"description": "List of timestamp values.", +"items": { +"$ref": "GoogleCloudContentwarehouseV1TimestampValue" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudContentwarehouseV1TimestampTypeOptions": { +"description": "Configurations for a timestamp property.", +"id": "GoogleCloudContentwarehouseV1TimestampTypeOptions", +"properties": {}, +"type": "object" +}, +"GoogleCloudContentwarehouseV1TimestampValue": { +"description": "Timestamp value type.", +"id": "GoogleCloudContentwarehouseV1TimestampValue", +"properties": { +"textValue": { +"description": "The string must represent a valid instant in UTC and is parsed using java.time.format.DateTimeFormatter.ISO_INSTANT. e.g. \"2013-09-29T18:46:19Z\"", +"type": "string" +}, +"timestampValue": { +"description": "Timestamp value", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudContentwarehouseV1UpdateDocumentMetadata": { +"description": "Metadata object for UpdateDocument request (currently empty).", +"id": "GoogleCloudContentwarehouseV1UpdateDocumentMetadata", +"properties": {}, +"type": "object" +}, +"GoogleCloudContentwarehouseV1UpdateDocumentRequest": { +"description": "Request message for DocumentService.UpdateDocument.", +"id": "GoogleCloudContentwarehouseV1UpdateDocumentRequest", +"properties": { +"cloudAiDocumentOption": { +"$ref": "GoogleCloudContentwarehouseV1CloudAIDocumentOption", +"description": "Request Option for processing Cloud AI Document in Document Warehouse. This field offers limited support for mapping entities from Cloud AI Document to Warehouse Document. Please consult with product team before using this field and other available options." +}, +"document": { +"$ref": "GoogleCloudContentwarehouseV1Document", +"description": "Required. The document to update." +}, +"requestMetadata": { +"$ref": "GoogleCloudContentwarehouseV1RequestMetadata", +"description": "The meta information collected about the end user, used to enforce access control for the service." +}, +"updateOptions": { +"$ref": "GoogleCloudContentwarehouseV1UpdateOptions", +"description": "Options for the update operation." +} +}, +"type": "object" +}, +"GoogleCloudContentwarehouseV1UpdateDocumentResponse": { +"description": "Response message for DocumentService.UpdateDocument.", +"id": "GoogleCloudContentwarehouseV1UpdateDocumentResponse", +"properties": { +"document": { +"$ref": "GoogleCloudContentwarehouseV1Document", +"description": "Updated document after executing update request." +}, +"metadata": { +"$ref": "GoogleCloudContentwarehouseV1ResponseMetadata", +"description": "Additional information for the API invocation, such as the request tracking id." +}, +"ruleEngineOutput": { +"$ref": "GoogleCloudContentwarehouseV1RuleEngineOutput", +"description": "Output from Rule Engine recording the rule evaluator and action executor's output. Refer format in: google/cloud/contentwarehouse/v1/rule_engine.proto" +} +}, +"type": "object" +}, +"GoogleCloudContentwarehouseV1UpdateDocumentSchemaRequest": { +"description": "Request message for DocumentSchemaService.UpdateDocumentSchema.", +"id": "GoogleCloudContentwarehouseV1UpdateDocumentSchemaRequest", +"properties": { +"documentSchema": { +"$ref": "GoogleCloudContentwarehouseV1DocumentSchema", +"description": "Required. The document schema to update with." +} +}, +"type": "object" +}, +"GoogleCloudContentwarehouseV1UpdateOptions": { +"description": "Options for Update operations.", +"id": "GoogleCloudContentwarehouseV1UpdateOptions", +"properties": { +"mergeFieldsOptions": { +"$ref": "GoogleCloudContentwarehouseV1MergeFieldsOptions", +"description": "Options for merging." +}, +"updateMask": { +"description": "Field mask for merging Document fields. For the `FieldMask` definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask", +"format": "google-fieldmask", +"type": "string" +}, +"updateType": { +"description": "Type for update.", +"enum": [ +"UPDATE_TYPE_UNSPECIFIED", +"UPDATE_TYPE_REPLACE", +"UPDATE_TYPE_MERGE", +"UPDATE_TYPE_INSERT_PROPERTIES_BY_NAMES", +"UPDATE_TYPE_REPLACE_PROPERTIES_BY_NAMES", +"UPDATE_TYPE_DELETE_PROPERTIES_BY_NAMES", +"UPDATE_TYPE_MERGE_AND_REPLACE_OR_INSERT_PROPERTIES_BY_NAMES" +], +"enumDescriptions": [ +"Defaults to full replace behavior, ie. FULL_REPLACE.", +"Fully replace all the fields (including previously linked raw document). Any field masks will be ignored.", +"Merge the fields into the existing entities.", +"Inserts the properties by names.", +"Replace the properties by names.", +"Delete the properties by names.", +"For each of the property, replaces the property if the it exists, otherwise inserts a new property. And for the rest of the fields, merge them based on update mask and merge fields options." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudContentwarehouseV1UpdateRuleSetRequest": { +"description": "Request message for RuleSetService.UpdateRuleSet.", +"id": "GoogleCloudContentwarehouseV1UpdateRuleSetRequest", +"properties": { +"ruleSet": { +"$ref": "GoogleCloudContentwarehouseV1RuleSet", +"description": "Required. The rule set to update." +} +}, +"type": "object" +}, +"GoogleCloudContentwarehouseV1UserInfo": { +"description": "The user information.", +"id": "GoogleCloudContentwarehouseV1UserInfo", +"properties": { +"groupIds": { +"description": "The unique group identifications which the user is belong to. The format is \"group:yyyy@example.com\";", +"items": { +"type": "string" +}, +"type": "array" +}, +"id": { +"description": "A unique user identification string, as determined by the client. The maximum number of allowed characters is 255. Allowed characters include numbers 0 to 9, uppercase and lowercase letters, and restricted special symbols (:, @, +, -, _, ~) The format is \"user:xxxx@example.com\";", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudContentwarehouseV1Value": { +"description": "`Value` represents a dynamically typed value which can be either be a float, a integer, a string, or a datetime value. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.", +"id": "GoogleCloudContentwarehouseV1Value", +"properties": { +"booleanValue": { +"description": "Represents a boolean value.", +"type": "boolean" +}, +"datetimeValue": { +"$ref": "GoogleTypeDateTime", +"description": "Represents a datetime value." +}, +"enumValue": { +"$ref": "GoogleCloudContentwarehouseV1EnumValue", +"description": "Represents an enum value." +}, +"floatValue": { +"description": "Represents a float value.", +"format": "float", +"type": "number" +}, +"intValue": { +"description": "Represents a integer value.", +"format": "int32", +"type": "integer" +}, +"stringValue": { +"description": "Represents a string value.", +"type": "string" +}, +"timestampValue": { +"$ref": "GoogleCloudContentwarehouseV1TimestampValue", +"description": "Represents a timestamp value." +} +}, +"type": "object" +}, +"GoogleCloudContentwarehouseV1WeightedSchemaProperty": { +"description": "Specifies the schema property name.", +"id": "GoogleCloudContentwarehouseV1WeightedSchemaProperty", +"properties": { +"documentSchemaName": { +"description": "The document schema name.", +"type": "string" +}, +"propertyNames": { +"description": "The property definition names in the schema.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudContentwarehouseV1beta1CreateDocumentMetadata": { +"description": "Metadata object for CreateDocument request (currently empty).", +"id": "GoogleCloudContentwarehouseV1beta1CreateDocumentMetadata", +"properties": {}, +"type": "object" +}, +"GoogleCloudContentwarehouseV1beta1InitializeProjectResponse": { +"description": "Response message for projectService.InitializeProject", +"id": "GoogleCloudContentwarehouseV1beta1InitializeProjectResponse", +"properties": { +"message": { +"description": "The message of the project initialization process.", +"type": "string" +}, +"state": { +"description": "The state of the project initialization process.", +"enum": [ +"STATE_UNSPECIFIED", +"SUCCEEDED", +"FAILED", +"CANCELLED", +"RUNNING" +], +"enumDescriptions": [ +"Clients should never see this.", +"Finished project initialization without error.", +"Finished project initialization with an error.", +"Client canceled the LRO.", +"Ask the customer to check the operation for results." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudContentwarehouseV1beta1UpdateDocumentMetadata": { +"description": "Metadata object for UpdateDocument request (currently empty).", +"id": "GoogleCloudContentwarehouseV1beta1UpdateDocumentMetadata", +"properties": {}, +"type": "object" +}, +"GoogleCloudDocumentaiV1Barcode": { +"description": "Encodes the detailed information of a barcode.", +"id": "GoogleCloudDocumentaiV1Barcode", +"properties": { +"format": { +"description": "Format of a barcode. The supported formats are: - `CODE_128`: Code 128 type. - `CODE_39`: Code 39 type. - `CODE_93`: Code 93 type. - `CODABAR`: Codabar type. - `DATA_MATRIX`: 2D Data Matrix type. - `ITF`: ITF type. - `EAN_13`: EAN-13 type. - `EAN_8`: EAN-8 type. - `QR_CODE`: 2D QR code type. - `UPC_A`: UPC-A type. - `UPC_E`: UPC-E type. - `PDF417`: PDF417 type. - `AZTEC`: 2D Aztec code type. - `DATABAR`: GS1 DataBar code type.", +"type": "string" +}, +"rawValue": { +"description": "Raw value encoded in the barcode. For example: `'MEBKM:TITLE:Google;URL:https://www.google.com;;'`.", +"type": "string" +}, +"valueFormat": { +"description": "Value format describes the format of the value that a barcode encodes. The supported formats are: - `CONTACT_INFO`: Contact information. - `EMAIL`: Email address. - `ISBN`: ISBN identifier. - `PHONE`: Phone number. - `PRODUCT`: Product. - `SMS`: SMS message. - `TEXT`: Text string. - `URL`: URL address. - `WIFI`: Wifi information. - `GEO`: Geo-localization. - `CALENDAR_EVENT`: Calendar event. - `DRIVER_LICENSE`: Driver's license.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1BoundingPoly": { +"description": "A bounding polygon for the detected image annotation.", +"id": "GoogleCloudDocumentaiV1BoundingPoly", +"properties": { +"normalizedVertices": { +"description": "The bounding polygon normalized vertices.", +"items": { +"$ref": "GoogleCloudDocumentaiV1NormalizedVertex" +}, +"type": "array" +}, +"vertices": { +"description": "The bounding polygon vertices.", +"items": { +"$ref": "GoogleCloudDocumentaiV1Vertex" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1Document": { +"description": "Document represents the canonical document resource in Document AI. It is an interchange format that provides insights into documents and allows for collaboration between users and Document AI to iterate and optimize for quality.", +"id": "GoogleCloudDocumentaiV1Document", +"properties": { +"chunkedDocument": { +"$ref": "GoogleCloudDocumentaiV1DocumentChunkedDocument", +"description": "Document chunked based on chunking config." +}, +"content": { +"description": "Optional. Inline document content, represented as a stream of bytes. Note: As with all `bytes` fields, protobuffers use a pure binary representation, whereas JSON representations use base64.", +"format": "byte", +"type": "string" +}, +"documentLayout": { +"$ref": "GoogleCloudDocumentaiV1DocumentDocumentLayout", +"description": "Parsed layout of the document." +}, +"entities": { +"description": "A list of entities detected on Document.text. For document shards, entities in this list may cross shard boundaries.", +"items": { +"$ref": "GoogleCloudDocumentaiV1DocumentEntity" +}, +"type": "array" +}, +"entityRelations": { +"description": "Placeholder. Relationship among Document.entities.", +"items": { +"$ref": "GoogleCloudDocumentaiV1DocumentEntityRelation" +}, +"type": "array" +}, +"error": { +"$ref": "GoogleRpcStatus", +"description": "Any error that occurred while processing this document." +}, +"mimeType": { +"description": "An IANA published [media type (MIME type)](https://www.iana.org/assignments/media-types/media-types.xhtml).", +"type": "string" +}, +"pages": { +"description": "Visual page layout for the Document.", +"items": { +"$ref": "GoogleCloudDocumentaiV1DocumentPage" +}, +"type": "array" +}, +"revisions": { +"description": "Placeholder. Revision history of this document.", +"items": { +"$ref": "GoogleCloudDocumentaiV1DocumentRevision" +}, +"type": "array" +}, +"shardInfo": { +"$ref": "GoogleCloudDocumentaiV1DocumentShardInfo", +"description": "Information about the sharding if this document is sharded part of a larger document. If the document is not sharded, this message is not specified." +}, +"text": { +"description": "Optional. UTF-8 encoded text in reading order from the document.", +"type": "string" +}, +"textChanges": { +"description": "Placeholder. A list of text corrections made to Document.text. This is usually used for annotating corrections to OCR mistakes. Text changes for a given revision may not overlap with each other.", +"items": { +"$ref": "GoogleCloudDocumentaiV1DocumentTextChange" +}, +"type": "array" +}, +"textStyles": { +"deprecated": true, +"description": "Styles for the Document.text.", +"items": { +"$ref": "GoogleCloudDocumentaiV1DocumentStyle" +}, +"type": "array" +}, +"uri": { +"description": "Optional. Currently supports Google Cloud Storage URI of the form `gs://bucket_name/object_name`. Object versioning is not supported. For more information, refer to [Google Cloud Storage Request URIs](https://cloud.google.com/storage/docs/reference-uris).", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1DocumentChunkedDocument": { +"description": "Represents the chunks that the document is divided into.", +"id": "GoogleCloudDocumentaiV1DocumentChunkedDocument", +"properties": { +"chunks": { +"description": "List of chunks.", +"items": { +"$ref": "GoogleCloudDocumentaiV1DocumentChunkedDocumentChunk" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1DocumentChunkedDocumentChunk": { +"description": "Represents a chunk.", +"id": "GoogleCloudDocumentaiV1DocumentChunkedDocumentChunk", +"properties": { +"chunkId": { +"description": "ID of the chunk.", +"type": "string" +}, +"content": { +"description": "Text content of the chunk.", +"type": "string" +}, +"pageFooters": { +"description": "Page footers associated with the chunk.", +"items": { +"$ref": "GoogleCloudDocumentaiV1DocumentChunkedDocumentChunkChunkPageFooter" +}, +"type": "array" +}, +"pageHeaders": { +"description": "Page headers associated with the chunk.", +"items": { +"$ref": "GoogleCloudDocumentaiV1DocumentChunkedDocumentChunkChunkPageHeader" +}, +"type": "array" +}, +"pageSpan": { +"$ref": "GoogleCloudDocumentaiV1DocumentChunkedDocumentChunkChunkPageSpan", +"description": "Page span of the chunk." +}, +"sourceBlockIds": { +"description": "Unused.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1DocumentChunkedDocumentChunkChunkPageFooter": { +"description": "Represents the page footer associated with the chunk.", +"id": "GoogleCloudDocumentaiV1DocumentChunkedDocumentChunkChunkPageFooter", +"properties": { +"pageSpan": { +"$ref": "GoogleCloudDocumentaiV1DocumentChunkedDocumentChunkChunkPageSpan", +"description": "Page span of the footer." +}, +"text": { +"description": "Footer in text format.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1DocumentChunkedDocumentChunkChunkPageHeader": { +"description": "Represents the page header associated with the chunk.", +"id": "GoogleCloudDocumentaiV1DocumentChunkedDocumentChunkChunkPageHeader", +"properties": { +"pageSpan": { +"$ref": "GoogleCloudDocumentaiV1DocumentChunkedDocumentChunkChunkPageSpan", +"description": "Page span of the header." +}, +"text": { +"description": "Header in text format.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1DocumentChunkedDocumentChunkChunkPageSpan": { +"description": "Represents where the chunk starts and ends in the document.", +"id": "GoogleCloudDocumentaiV1DocumentChunkedDocumentChunkChunkPageSpan", +"properties": { +"pageEnd": { +"description": "Page where chunk ends in the document.", +"format": "int32", +"type": "integer" +}, +"pageStart": { +"description": "Page where chunk starts in the document.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1DocumentDocumentLayout": { +"description": "Represents the parsed layout of a document as a collection of blocks that the document is divided into.", +"id": "GoogleCloudDocumentaiV1DocumentDocumentLayout", +"properties": { +"blocks": { +"description": "List of blocks in the document.", +"items": { +"$ref": "GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlock" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlock": { +"description": "Represents a block. A block could be one of the various types (text, table, list) supported.", +"id": "GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlock", +"properties": { +"blockId": { +"description": "ID of the block.", +"type": "string" +}, +"listBlock": { +"$ref": "GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutListBlock", +"description": "Block consisting of list content/structure." +}, +"pageSpan": { +"$ref": "GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutPageSpan", +"description": "Page span of the block." +}, +"tableBlock": { +"$ref": "GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutTableBlock", +"description": "Block consisting of table content/structure." +}, +"textBlock": { +"$ref": "GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutTextBlock", +"description": "Block consisting of text content." +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutListBlock": { +"description": "Represents a list type block.", +"id": "GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutListBlock", +"properties": { +"listEntries": { +"description": "List entries that constitute a list block.", +"items": { +"$ref": "GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutListEntry" +}, +"type": "array" +}, +"type": { +"description": "Type of the list_entries (if exist). Available options are `ordered` and `unordered`.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutListEntry": { +"description": "Represents an entry in the list.", +"id": "GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutListEntry", +"properties": { +"blocks": { +"description": "A list entry is a list of blocks. Repeated blocks support further hierarchies and nested blocks.", +"items": { +"$ref": "GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlock" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutPageSpan": { +"description": "Represents where the block starts and ends in the document.", +"id": "GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutPageSpan", +"properties": { +"pageEnd": { +"description": "Page where block ends in the document.", +"format": "int32", +"type": "integer" +}, +"pageStart": { +"description": "Page where block starts in the document.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutTableBlock": { +"description": "Represents a table type block.", +"id": "GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutTableBlock", +"properties": { +"bodyRows": { +"description": "Body rows containing main table content.", +"items": { +"$ref": "GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutTableRow" +}, +"type": "array" +}, +"caption": { +"description": "Table caption/title.", +"type": "string" +}, +"headerRows": { +"description": "Header rows at the top of the table.", +"items": { +"$ref": "GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutTableRow" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutTableCell": { +"description": "Represents a cell in a table row.", +"id": "GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutTableCell", +"properties": { +"blocks": { +"description": "A table cell is a list of blocks. Repeated blocks support further hierarchies and nested blocks.", +"items": { +"$ref": "GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlock" +}, +"type": "array" +}, +"colSpan": { +"description": "How many columns this cell spans.", +"format": "int32", +"type": "integer" +}, +"rowSpan": { +"description": "How many rows this cell spans.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutTableRow": { +"description": "Represents a row in a table.", +"id": "GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutTableRow", +"properties": { +"cells": { +"description": "A table row is a list of table cells.", +"items": { +"$ref": "GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutTableCell" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutTextBlock": { +"description": "Represents a text type block.", +"id": "GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutTextBlock", +"properties": { +"blocks": { +"description": "A text block could further have child blocks. Repeated blocks support further hierarchies and nested blocks.", +"items": { +"$ref": "GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlock" +}, +"type": "array" +}, +"text": { +"description": "Text content stored in the block.", +"type": "string" +}, +"type": { +"description": "Type of the text in the block. Available options are: `paragraph`, `subtitle`, `heading-1`, `heading-2`, `heading-3`, `heading-4`, `heading-5`, `header`, `footer`.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1DocumentEntity": { +"description": "An entity that could be a phrase in the text or a property that belongs to the document. It is a known entity type, such as a person, an organization, or location.", +"id": "GoogleCloudDocumentaiV1DocumentEntity", +"properties": { +"confidence": { +"description": "Optional. Confidence of detected Schema entity. Range `[0, 1]`.", +"format": "float", +"type": "number" +}, +"id": { +"description": "Optional. Canonical id. This will be a unique value in the entity list for this document.", +"type": "string" +}, +"mentionId": { +"description": "Optional. Deprecated. Use `id` field instead.", +"type": "string" +}, +"mentionText": { +"description": "Optional. Text value of the entity e.g. `1600 Amphitheatre Pkwy`.", +"type": "string" +}, +"normalizedValue": { +"$ref": "GoogleCloudDocumentaiV1DocumentEntityNormalizedValue", +"description": "Optional. Normalized entity value. Absent if the extracted value could not be converted or the type (e.g. address) is not supported for certain parsers. This field is also only populated for certain supported document types." +}, +"pageAnchor": { +"$ref": "GoogleCloudDocumentaiV1DocumentPageAnchor", +"description": "Optional. Represents the provenance of this entity wrt. the location on the page where it was found." +}, +"properties": { +"description": "Optional. Entities can be nested to form a hierarchical data structure representing the content in the document.", +"items": { +"$ref": "GoogleCloudDocumentaiV1DocumentEntity" +}, +"type": "array" +}, +"provenance": { +"$ref": "GoogleCloudDocumentaiV1DocumentProvenance", +"description": "Optional. The history of this annotation." +}, +"redacted": { +"description": "Optional. Whether the entity will be redacted for de-identification purposes.", +"type": "boolean" +}, +"textAnchor": { +"$ref": "GoogleCloudDocumentaiV1DocumentTextAnchor", +"description": "Optional. Provenance of the entity. Text anchor indexing into the Document.text." +}, +"type": { +"description": "Required. Entity type from a schema e.g. `Address`.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1DocumentEntityNormalizedValue": { +"description": "Parsed and normalized entity value.", +"id": "GoogleCloudDocumentaiV1DocumentEntityNormalizedValue", +"properties": { +"addressValue": { +"$ref": "GoogleTypePostalAddress", +"description": "Postal address. See also: https://github.com/googleapis/googleapis/blob/master/google/type/postal_address.proto" +}, +"booleanValue": { +"description": "Boolean value. Can be used for entities with binary values, or for checkboxes.", +"type": "boolean" +}, +"dateValue": { +"$ref": "GoogleTypeDate", +"description": "Date value. Includes year, month, day. See also: https://github.com/googleapis/googleapis/blob/master/google/type/date.proto" +}, +"datetimeValue": { +"$ref": "GoogleTypeDateTime", +"description": "DateTime value. Includes date, time, and timezone. See also: https://github.com/googleapis/googleapis/blob/master/google/type/datetime.proto" +}, +"floatValue": { +"description": "Float value.", +"format": "float", +"type": "number" +}, +"integerValue": { +"description": "Integer value.", +"format": "int32", +"type": "integer" +}, +"moneyValue": { +"$ref": "GoogleTypeMoney", +"description": "Money value. See also: https://github.com/googleapis/googleapis/blob/master/google/type/money.proto" +}, +"text": { +"description": "Optional. An optional field to store a normalized string. For some entity types, one of respective `structured_value` fields may also be populated. Also not all the types of `structured_value` will be normalized. For example, some processors may not generate `float` or `integer` normalized text by default. Below are sample formats mapped to structured values. - Money/Currency type (`money_value`) is in the ISO 4217 text format. - Date type (`date_value`) is in the ISO 8601 text format. - Datetime type (`datetime_value`) is in the ISO 8601 text format.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1DocumentEntityRelation": { +"description": "Relationship between Entities.", +"id": "GoogleCloudDocumentaiV1DocumentEntityRelation", +"properties": { +"objectId": { +"description": "Object entity id.", +"type": "string" +}, +"relation": { +"description": "Relationship description.", +"type": "string" +}, +"subjectId": { +"description": "Subject entity id.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1DocumentPage": { +"description": "A page in a Document.", +"id": "GoogleCloudDocumentaiV1DocumentPage", +"properties": { +"blocks": { +"description": "A list of visually detected text blocks on the page. A block has a set of lines (collected into paragraphs) that have a common line-spacing and orientation.", +"items": { +"$ref": "GoogleCloudDocumentaiV1DocumentPageBlock" +}, +"type": "array" +}, +"detectedBarcodes": { +"description": "A list of detected barcodes.", +"items": { +"$ref": "GoogleCloudDocumentaiV1DocumentPageDetectedBarcode" +}, +"type": "array" +}, +"detectedLanguages": { +"description": "A list of detected languages together with confidence.", +"items": { +"$ref": "GoogleCloudDocumentaiV1DocumentPageDetectedLanguage" +}, +"type": "array" +}, +"dimension": { +"$ref": "GoogleCloudDocumentaiV1DocumentPageDimension", +"description": "Physical dimension of the page." +}, +"formFields": { +"description": "A list of visually detected form fields on the page.", +"items": { +"$ref": "GoogleCloudDocumentaiV1DocumentPageFormField" +}, +"type": "array" +}, +"image": { +"$ref": "GoogleCloudDocumentaiV1DocumentPageImage", +"description": "Rendered image for this page. This image is preprocessed to remove any skew, rotation, and distortions such that the annotation bounding boxes can be upright and axis-aligned." +}, +"imageQualityScores": { +"$ref": "GoogleCloudDocumentaiV1DocumentPageImageQualityScores", +"description": "Image quality scores." +}, +"layout": { +"$ref": "GoogleCloudDocumentaiV1DocumentPageLayout", +"description": "Layout for the page." +}, +"lines": { +"description": "A list of visually detected text lines on the page. A collection of tokens that a human would perceive as a line.", +"items": { +"$ref": "GoogleCloudDocumentaiV1DocumentPageLine" +}, +"type": "array" +}, +"pageNumber": { +"description": "1-based index for current Page in a parent Document. Useful when a page is taken out of a Document for individual processing.", +"format": "int32", +"type": "integer" +}, +"paragraphs": { +"description": "A list of visually detected text paragraphs on the page. A collection of lines that a human would perceive as a paragraph.", +"items": { +"$ref": "GoogleCloudDocumentaiV1DocumentPageParagraph" +}, +"type": "array" +}, +"provenance": { +"$ref": "GoogleCloudDocumentaiV1DocumentProvenance", +"deprecated": true, +"description": "The history of this page." +}, +"symbols": { +"description": "A list of visually detected symbols on the page.", +"items": { +"$ref": "GoogleCloudDocumentaiV1DocumentPageSymbol" +}, +"type": "array" +}, +"tables": { +"description": "A list of visually detected tables on the page.", +"items": { +"$ref": "GoogleCloudDocumentaiV1DocumentPageTable" +}, +"type": "array" +}, +"tokens": { +"description": "A list of visually detected tokens on the page.", +"items": { +"$ref": "GoogleCloudDocumentaiV1DocumentPageToken" +}, +"type": "array" +}, +"transforms": { +"description": "Transformation matrices that were applied to the original document image to produce Page.image.", +"items": { +"$ref": "GoogleCloudDocumentaiV1DocumentPageMatrix" +}, +"type": "array" +}, +"visualElements": { +"description": "A list of detected non-text visual elements e.g. checkbox, signature etc. on the page.", +"items": { +"$ref": "GoogleCloudDocumentaiV1DocumentPageVisualElement" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1DocumentPageAnchor": { +"description": "Referencing the visual context of the entity in the Document.pages. Page anchors can be cross-page, consist of multiple bounding polygons and optionally reference specific layout element types.", +"id": "GoogleCloudDocumentaiV1DocumentPageAnchor", +"properties": { +"pageRefs": { +"description": "One or more references to visual page elements", +"items": { +"$ref": "GoogleCloudDocumentaiV1DocumentPageAnchorPageRef" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1DocumentPageAnchorPageRef": { +"description": "Represents a weak reference to a page element within a document.", +"id": "GoogleCloudDocumentaiV1DocumentPageAnchorPageRef", +"properties": { +"boundingPoly": { +"$ref": "GoogleCloudDocumentaiV1BoundingPoly", +"description": "Optional. Identifies the bounding polygon of a layout element on the page. If `layout_type` is set, the bounding polygon must be exactly the same to the layout element it's referring to." +}, +"confidence": { +"description": "Optional. Confidence of detected page element, if applicable. Range `[0, 1]`.", +"format": "float", +"type": "number" +}, +"layoutId": { +"deprecated": true, +"description": "Optional. Deprecated. Use PageRef.bounding_poly instead.", +"type": "string" +}, +"layoutType": { +"description": "Optional. The type of the layout element that is being referenced if any.", +"enum": [ +"LAYOUT_TYPE_UNSPECIFIED", +"BLOCK", +"PARAGRAPH", +"LINE", +"TOKEN", +"VISUAL_ELEMENT", +"TABLE", +"FORM_FIELD" +], +"enumDescriptions": [ +"Layout Unspecified.", +"References a Page.blocks element.", +"References a Page.paragraphs element.", +"References a Page.lines element.", +"References a Page.tokens element.", +"References a Page.visual_elements element.", +"Refrrences a Page.tables element.", +"References a Page.form_fields element." +], +"type": "string" +}, +"page": { +"description": "Required. Index into the Document.pages element, for example using `Document.pages` to locate the related page element. This field is skipped when its value is the default `0`. See https://developers.google.com/protocol-buffers/docs/proto3#json.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1DocumentPageBlock": { +"description": "A block has a set of lines (collected into paragraphs) that have a common line-spacing and orientation.", +"id": "GoogleCloudDocumentaiV1DocumentPageBlock", +"properties": { +"detectedLanguages": { +"description": "A list of detected languages together with confidence.", +"items": { +"$ref": "GoogleCloudDocumentaiV1DocumentPageDetectedLanguage" +}, +"type": "array" +}, +"layout": { +"$ref": "GoogleCloudDocumentaiV1DocumentPageLayout", +"description": "Layout for Block." +}, +"provenance": { +"$ref": "GoogleCloudDocumentaiV1DocumentProvenance", +"deprecated": true, +"description": "The history of this annotation." +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1DocumentPageDetectedBarcode": { +"description": "A detected barcode.", +"id": "GoogleCloudDocumentaiV1DocumentPageDetectedBarcode", +"properties": { +"barcode": { +"$ref": "GoogleCloudDocumentaiV1Barcode", +"description": "Detailed barcode information of the DetectedBarcode." +}, +"layout": { +"$ref": "GoogleCloudDocumentaiV1DocumentPageLayout", +"description": "Layout for DetectedBarcode." +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1DocumentPageDetectedLanguage": { +"description": "Detected language for a structural component.", +"id": "GoogleCloudDocumentaiV1DocumentPageDetectedLanguage", +"properties": { +"confidence": { +"description": "Confidence of detected language. Range `[0, 1]`.", +"format": "float", +"type": "number" +}, +"languageCode": { +"description": "The [BCP-47 language code](https://www.unicode.org/reports/tr35/#Unicode_locale_identifier), such as `en-US` or `sr-Latn`.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1DocumentPageDimension": { +"description": "Dimension for the page.", +"id": "GoogleCloudDocumentaiV1DocumentPageDimension", +"properties": { +"height": { +"description": "Page height.", +"format": "float", +"type": "number" +}, +"unit": { +"description": "Dimension unit.", +"type": "string" +}, +"width": { +"description": "Page width.", +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1DocumentPageFormField": { +"description": "A form field detected on the page.", +"id": "GoogleCloudDocumentaiV1DocumentPageFormField", +"properties": { +"correctedKeyText": { +"description": "Created for Labeling UI to export key text. If corrections were made to the text identified by the `field_name.text_anchor`, this field will contain the correction.", +"type": "string" +}, +"correctedValueText": { +"description": "Created for Labeling UI to export value text. If corrections were made to the text identified by the `field_value.text_anchor`, this field will contain the correction.", +"type": "string" +}, +"fieldName": { +"$ref": "GoogleCloudDocumentaiV1DocumentPageLayout", +"description": "Layout for the FormField name. e.g. `Address`, `Email`, `Grand total`, `Phone number`, etc." +}, +"fieldValue": { +"$ref": "GoogleCloudDocumentaiV1DocumentPageLayout", +"description": "Layout for the FormField value." +}, +"nameDetectedLanguages": { +"description": "A list of detected languages for name together with confidence.", +"items": { +"$ref": "GoogleCloudDocumentaiV1DocumentPageDetectedLanguage" +}, +"type": "array" +}, +"provenance": { +"$ref": "GoogleCloudDocumentaiV1DocumentProvenance", +"description": "The history of this annotation." +}, +"valueDetectedLanguages": { +"description": "A list of detected languages for value together with confidence.", +"items": { +"$ref": "GoogleCloudDocumentaiV1DocumentPageDetectedLanguage" +}, +"type": "array" +}, +"valueType": { +"description": "If the value is non-textual, this field represents the type. Current valid values are: - blank (this indicates the `field_value` is normal text) - `unfilled_checkbox` - `filled_checkbox`", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1DocumentPageImage": { +"description": "Rendered image contents for this page.", +"id": "GoogleCloudDocumentaiV1DocumentPageImage", +"properties": { +"content": { +"description": "Raw byte content of the image.", +"format": "byte", +"type": "string" +}, +"height": { +"description": "Height of the image in pixels.", +"format": "int32", +"type": "integer" +}, +"mimeType": { +"description": "Encoding [media type (MIME type)](https://www.iana.org/assignments/media-types/media-types.xhtml) for the image.", +"type": "string" +}, +"width": { +"description": "Width of the image in pixels.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1DocumentPageImageQualityScores": { +"description": "Image quality scores for the page image.", +"id": "GoogleCloudDocumentaiV1DocumentPageImageQualityScores", +"properties": { +"detectedDefects": { +"description": "A list of detected defects.", +"items": { +"$ref": "GoogleCloudDocumentaiV1DocumentPageImageQualityScoresDetectedDefect" +}, +"type": "array" +}, +"qualityScore": { +"description": "The overall quality score. Range `[0, 1]` where `1` is perfect quality.", +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1DocumentPageImageQualityScoresDetectedDefect": { +"description": "Image Quality Defects", +"id": "GoogleCloudDocumentaiV1DocumentPageImageQualityScoresDetectedDefect", +"properties": { +"confidence": { +"description": "Confidence of detected defect. Range `[0, 1]` where `1` indicates strong confidence that the defect exists.", +"format": "float", +"type": "number" +}, +"type": { +"description": "Name of the defect type. Supported values are: - `quality/defect_blurry` - `quality/defect_noisy` - `quality/defect_dark` - `quality/defect_faint` - `quality/defect_text_too_small` - `quality/defect_document_cutoff` - `quality/defect_text_cutoff` - `quality/defect_glare`", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1DocumentPageLayout": { +"description": "Visual element describing a layout unit on a page.", +"id": "GoogleCloudDocumentaiV1DocumentPageLayout", +"properties": { +"boundingPoly": { +"$ref": "GoogleCloudDocumentaiV1BoundingPoly", +"description": "The bounding polygon for the Layout." +}, +"confidence": { +"description": "Confidence of the current Layout within context of the object this layout is for. e.g. confidence can be for a single token, a table, a visual element, etc. depending on context. Range `[0, 1]`.", +"format": "float", +"type": "number" +}, +"orientation": { +"description": "Detected orientation for the Layout.", +"enum": [ +"ORIENTATION_UNSPECIFIED", +"PAGE_UP", +"PAGE_RIGHT", +"PAGE_DOWN", +"PAGE_LEFT" +], +"enumDescriptions": [ +"Unspecified orientation.", +"Orientation is aligned with page up.", +"Orientation is aligned with page right. Turn the head 90 degrees clockwise from upright to read.", +"Orientation is aligned with page down. Turn the head 180 degrees from upright to read.", +"Orientation is aligned with page left. Turn the head 90 degrees counterclockwise from upright to read." +], +"type": "string" +}, +"textAnchor": { +"$ref": "GoogleCloudDocumentaiV1DocumentTextAnchor", +"description": "Text anchor indexing into the Document.text." +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1DocumentPageLine": { +"description": "A collection of tokens that a human would perceive as a line. Does not cross column boundaries, can be horizontal, vertical, etc.", +"id": "GoogleCloudDocumentaiV1DocumentPageLine", +"properties": { +"detectedLanguages": { +"description": "A list of detected languages together with confidence.", +"items": { +"$ref": "GoogleCloudDocumentaiV1DocumentPageDetectedLanguage" +}, +"type": "array" +}, +"layout": { +"$ref": "GoogleCloudDocumentaiV1DocumentPageLayout", +"description": "Layout for Line." +}, +"provenance": { +"$ref": "GoogleCloudDocumentaiV1DocumentProvenance", +"deprecated": true, +"description": "The history of this annotation." +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1DocumentPageMatrix": { +"description": "Representation for transformation matrix, intended to be compatible and used with OpenCV format for image manipulation.", +"id": "GoogleCloudDocumentaiV1DocumentPageMatrix", +"properties": { +"cols": { +"description": "Number of columns in the matrix.", +"format": "int32", +"type": "integer" +}, +"data": { +"description": "The matrix data.", +"format": "byte", +"type": "string" +}, +"rows": { +"description": "Number of rows in the matrix.", +"format": "int32", +"type": "integer" +}, +"type": { +"description": "This encodes information about what data type the matrix uses. For example, 0 (CV_8U) is an unsigned 8-bit image. For the full list of OpenCV primitive data types, please refer to https://docs.opencv.org/4.3.0/d1/d1b/group__core__hal__interface.html", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1DocumentPageParagraph": { +"description": "A collection of lines that a human would perceive as a paragraph.", +"id": "GoogleCloudDocumentaiV1DocumentPageParagraph", +"properties": { +"detectedLanguages": { +"description": "A list of detected languages together with confidence.", +"items": { +"$ref": "GoogleCloudDocumentaiV1DocumentPageDetectedLanguage" +}, +"type": "array" +}, +"layout": { +"$ref": "GoogleCloudDocumentaiV1DocumentPageLayout", +"description": "Layout for Paragraph." +}, +"provenance": { +"$ref": "GoogleCloudDocumentaiV1DocumentProvenance", +"deprecated": true, +"description": "The history of this annotation." +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1DocumentPageSymbol": { +"description": "A detected symbol.", +"id": "GoogleCloudDocumentaiV1DocumentPageSymbol", +"properties": { +"detectedLanguages": { +"description": "A list of detected languages together with confidence.", +"items": { +"$ref": "GoogleCloudDocumentaiV1DocumentPageDetectedLanguage" +}, +"type": "array" +}, +"layout": { +"$ref": "GoogleCloudDocumentaiV1DocumentPageLayout", +"description": "Layout for Symbol." +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1DocumentPageTable": { +"description": "A table representation similar to HTML table structure.", +"id": "GoogleCloudDocumentaiV1DocumentPageTable", +"properties": { +"bodyRows": { +"description": "Body rows of the table.", +"items": { +"$ref": "GoogleCloudDocumentaiV1DocumentPageTableTableRow" +}, +"type": "array" +}, +"detectedLanguages": { +"description": "A list of detected languages together with confidence.", +"items": { +"$ref": "GoogleCloudDocumentaiV1DocumentPageDetectedLanguage" +}, +"type": "array" +}, +"headerRows": { +"description": "Header rows of the table.", +"items": { +"$ref": "GoogleCloudDocumentaiV1DocumentPageTableTableRow" +}, +"type": "array" +}, +"layout": { +"$ref": "GoogleCloudDocumentaiV1DocumentPageLayout", +"description": "Layout for Table." +}, +"provenance": { +"$ref": "GoogleCloudDocumentaiV1DocumentProvenance", +"deprecated": true, +"description": "The history of this table." +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1DocumentPageTableTableCell": { +"description": "A cell representation inside the table.", +"id": "GoogleCloudDocumentaiV1DocumentPageTableTableCell", +"properties": { +"colSpan": { +"description": "How many columns this cell spans.", +"format": "int32", +"type": "integer" +}, +"detectedLanguages": { +"description": "A list of detected languages together with confidence.", +"items": { +"$ref": "GoogleCloudDocumentaiV1DocumentPageDetectedLanguage" +}, +"type": "array" +}, +"layout": { +"$ref": "GoogleCloudDocumentaiV1DocumentPageLayout", +"description": "Layout for TableCell." +}, +"rowSpan": { +"description": "How many rows this cell spans.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1DocumentPageTableTableRow": { +"description": "A row of table cells.", +"id": "GoogleCloudDocumentaiV1DocumentPageTableTableRow", +"properties": { +"cells": { +"description": "Cells that make up this row.", +"items": { +"$ref": "GoogleCloudDocumentaiV1DocumentPageTableTableCell" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1DocumentPageToken": { +"description": "A detected token.", +"id": "GoogleCloudDocumentaiV1DocumentPageToken", +"properties": { +"detectedBreak": { +"$ref": "GoogleCloudDocumentaiV1DocumentPageTokenDetectedBreak", +"description": "Detected break at the end of a Token." +}, +"detectedLanguages": { +"description": "A list of detected languages together with confidence.", +"items": { +"$ref": "GoogleCloudDocumentaiV1DocumentPageDetectedLanguage" +}, +"type": "array" +}, +"layout": { +"$ref": "GoogleCloudDocumentaiV1DocumentPageLayout", +"description": "Layout for Token." +}, +"provenance": { +"$ref": "GoogleCloudDocumentaiV1DocumentProvenance", +"deprecated": true, +"description": "The history of this annotation." +}, +"styleInfo": { +"$ref": "GoogleCloudDocumentaiV1DocumentPageTokenStyleInfo", +"description": "Text style attributes." +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1DocumentPageTokenDetectedBreak": { +"description": "Detected break at the end of a Token.", +"id": "GoogleCloudDocumentaiV1DocumentPageTokenDetectedBreak", +"properties": { +"type": { +"description": "Detected break type.", +"enum": [ +"TYPE_UNSPECIFIED", +"SPACE", +"WIDE_SPACE", +"HYPHEN" +], +"enumDescriptions": [ +"Unspecified break type.", +"A single whitespace.", +"A wider whitespace.", +"A hyphen that indicates that a token has been split across lines." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1DocumentPageTokenStyleInfo": { +"description": "Font and other text style attributes.", +"id": "GoogleCloudDocumentaiV1DocumentPageTokenStyleInfo", +"properties": { +"backgroundColor": { +"$ref": "GoogleTypeColor", +"description": "Color of the background." +}, +"bold": { +"description": "Whether the text is bold (equivalent to font_weight is at least `700`).", +"type": "boolean" +}, +"fontSize": { +"description": "Font size in points (`1` point is `\u00b9\u2044\u2087\u2082` inches).", +"format": "int32", +"type": "integer" +}, +"fontType": { +"description": "Name or style of the font.", +"type": "string" +}, +"fontWeight": { +"description": "TrueType weight on a scale `100` (thin) to `1000` (ultra-heavy). Normal is `400`, bold is `700`.", +"format": "int32", +"type": "integer" +}, +"handwritten": { +"description": "Whether the text is handwritten.", +"type": "boolean" +}, +"italic": { +"description": "Whether the text is italic.", +"type": "boolean" +}, +"letterSpacing": { +"description": "Letter spacing in points.", +"format": "double", +"type": "number" +}, +"pixelFontSize": { +"description": "Font size in pixels, equal to _unrounded font_size_ * _resolution_ \u00f7 `72.0`.", +"format": "double", +"type": "number" +}, +"smallcaps": { +"description": "Whether the text is in small caps. This feature is not supported yet.", +"type": "boolean" +}, +"strikeout": { +"description": "Whether the text is strikethrough. This feature is not supported yet.", +"type": "boolean" +}, +"subscript": { +"description": "Whether the text is a subscript. This feature is not supported yet.", +"type": "boolean" +}, +"superscript": { +"description": "Whether the text is a superscript. This feature is not supported yet.", +"type": "boolean" +}, +"textColor": { +"$ref": "GoogleTypeColor", +"description": "Color of the text." +}, +"underlined": { +"description": "Whether the text is underlined.", +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1DocumentPageVisualElement": { +"description": "Detected non-text visual elements e.g. checkbox, signature etc. on the page.", +"id": "GoogleCloudDocumentaiV1DocumentPageVisualElement", +"properties": { +"detectedLanguages": { +"description": "A list of detected languages together with confidence.", +"items": { +"$ref": "GoogleCloudDocumentaiV1DocumentPageDetectedLanguage" +}, +"type": "array" +}, +"layout": { +"$ref": "GoogleCloudDocumentaiV1DocumentPageLayout", +"description": "Layout for VisualElement." +}, +"type": { +"description": "Type of the VisualElement.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1DocumentProvenance": { +"description": "Structure to identify provenance relationships between annotations in different revisions.", +"id": "GoogleCloudDocumentaiV1DocumentProvenance", +"properties": { +"id": { +"deprecated": true, +"description": "The Id of this operation. Needs to be unique within the scope of the revision.", +"format": "int32", +"type": "integer" +}, +"parents": { +"description": "References to the original elements that are replaced.", +"items": { +"$ref": "GoogleCloudDocumentaiV1DocumentProvenanceParent" +}, +"type": "array" +}, +"revision": { +"deprecated": true, +"description": "The index of the revision that produced this element.", +"format": "int32", +"type": "integer" +}, +"type": { +"description": "The type of provenance operation.", +"enum": [ +"OPERATION_TYPE_UNSPECIFIED", +"ADD", +"REMOVE", +"UPDATE", +"REPLACE", +"EVAL_REQUESTED", +"EVAL_APPROVED", +"EVAL_SKIPPED" +], +"enumDeprecated": [ +false, +false, +false, +false, +false, +true, +true, +true +], +"enumDescriptions": [ +"Operation type unspecified. If no operation is specified a provenance entry is simply used to match against a `parent`.", +"Add an element.", +"Remove an element identified by `parent`.", +"Updates any fields within the given provenance scope of the message. It overwrites the fields rather than replacing them. Use this when you want to update a field value of an entity without also updating all the child properties.", +"Currently unused. Replace an element identified by `parent`.", +"Deprecated. Request human review for the element identified by `parent`.", +"Deprecated. Element is reviewed and approved at human review, confidence will be set to 1.0.", +"Deprecated. Element is skipped in the validation process." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1DocumentProvenanceParent": { +"description": "The parent element the current element is based on. Used for referencing/aligning, removal and replacement operations.", +"id": "GoogleCloudDocumentaiV1DocumentProvenanceParent", +"properties": { +"id": { +"deprecated": true, +"description": "The id of the parent provenance.", +"format": "int32", +"type": "integer" +}, +"index": { +"description": "The index of the parent item in the corresponding item list (eg. list of entities, properties within entities, etc.) in the parent revision.", +"format": "int32", +"type": "integer" +}, +"revision": { +"description": "The index of the index into current revision's parent_ids list.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1DocumentRevision": { +"description": "Contains past or forward revisions of this document.", +"id": "GoogleCloudDocumentaiV1DocumentRevision", +"properties": { +"agent": { +"description": "If the change was made by a person specify the name or id of that person.", +"type": "string" +}, +"createTime": { +"description": "The time that the revision was created, internally generated by doc proto storage at the time of create.", +"format": "google-datetime", +"type": "string" +}, +"humanReview": { +"$ref": "GoogleCloudDocumentaiV1DocumentRevisionHumanReview", +"description": "Human Review information of this revision." +}, +"id": { +"description": "Id of the revision, internally generated by doc proto storage. Unique within the context of the document.", +"type": "string" +}, +"parent": { +"deprecated": true, +"description": "The revisions that this revision is based on. This can include one or more parent (when documents are merged.) This field represents the index into the `revisions` field.", +"items": { +"format": "int32", +"type": "integer" +}, +"type": "array" +}, +"parentIds": { +"description": "The revisions that this revision is based on. Must include all the ids that have anything to do with this revision - eg. there are `provenance.parent.revision` fields that index into this field.", +"items": { +"type": "string" +}, +"type": "array" +}, +"processor": { +"description": "If the annotation was made by processor identify the processor by its resource name.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1DocumentRevisionHumanReview": { +"description": "Human Review information of the document.", +"id": "GoogleCloudDocumentaiV1DocumentRevisionHumanReview", +"properties": { +"state": { +"description": "Human review state. e.g. `requested`, `succeeded`, `rejected`.", +"type": "string" +}, +"stateMessage": { +"description": "A message providing more details about the current state of processing. For example, the rejection reason when the state is `rejected`.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1DocumentShardInfo": { +"description": "For a large document, sharding may be performed to produce several document shards. Each document shard contains this field to detail which shard it is.", +"id": "GoogleCloudDocumentaiV1DocumentShardInfo", +"properties": { +"shardCount": { +"description": "Total number of shards.", +"format": "int64", +"type": "string" +}, +"shardIndex": { +"description": "The 0-based index of this shard.", +"format": "int64", +"type": "string" +}, +"textOffset": { +"description": "The index of the first character in Document.text in the overall document global text.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1DocumentStyle": { +"description": "Annotation for common text style attributes. This adheres to CSS conventions as much as possible.", +"id": "GoogleCloudDocumentaiV1DocumentStyle", +"properties": { +"backgroundColor": { +"$ref": "GoogleTypeColor", +"description": "Text background color." +}, +"color": { +"$ref": "GoogleTypeColor", +"description": "Text color." +}, +"fontFamily": { +"description": "Font family such as `Arial`, `Times New Roman`. https://www.w3schools.com/cssref/pr_font_font-family.asp", +"type": "string" +}, +"fontSize": { +"$ref": "GoogleCloudDocumentaiV1DocumentStyleFontSize", +"description": "Font size." +}, +"fontWeight": { +"description": "[Font weight](https://www.w3schools.com/cssref/pr_font_weight.asp). Possible values are `normal`, `bold`, `bolder`, and `lighter`.", +"type": "string" +}, +"textAnchor": { +"$ref": "GoogleCloudDocumentaiV1DocumentTextAnchor", +"description": "Text anchor indexing into the Document.text." +}, +"textDecoration": { +"description": "[Text decoration](https://www.w3schools.com/cssref/pr_text_text-decoration.asp). Follows CSS standard. ", +"type": "string" +}, +"textStyle": { +"description": "[Text style](https://www.w3schools.com/cssref/pr_font_font-style.asp). Possible values are `normal`, `italic`, and `oblique`.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1DocumentStyleFontSize": { +"description": "Font size with unit.", +"id": "GoogleCloudDocumentaiV1DocumentStyleFontSize", +"properties": { +"size": { +"description": "Font size for the text.", +"format": "float", +"type": "number" +}, +"unit": { +"description": "Unit for the font size. Follows CSS naming (such as `in`, `px`, and `pt`).", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1DocumentTextAnchor": { +"description": "Text reference indexing into the Document.text.", +"id": "GoogleCloudDocumentaiV1DocumentTextAnchor", +"properties": { +"content": { +"description": "Contains the content of the text span so that users do not have to look it up in the text_segments. It is always populated for formFields.", +"type": "string" +}, +"textSegments": { +"description": "The text segments from the Document.text.", +"items": { +"$ref": "GoogleCloudDocumentaiV1DocumentTextAnchorTextSegment" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1DocumentTextAnchorTextSegment": { +"description": "A text segment in the Document.text. The indices may be out of bounds which indicate that the text extends into another document shard for large sharded documents. See ShardInfo.text_offset", +"id": "GoogleCloudDocumentaiV1DocumentTextAnchorTextSegment", +"properties": { +"endIndex": { +"description": "TextSegment half open end UTF-8 char index in the Document.text.", +"format": "int64", +"type": "string" +}, +"startIndex": { +"description": "TextSegment start UTF-8 char index in the Document.text.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1DocumentTextChange": { +"description": "This message is used for text changes aka. OCR corrections.", +"id": "GoogleCloudDocumentaiV1DocumentTextChange", +"properties": { +"changedText": { +"description": "The text that replaces the text identified in the `text_anchor`.", +"type": "string" +}, +"provenance": { +"deprecated": true, +"description": "The history of this annotation.", +"items": { +"$ref": "GoogleCloudDocumentaiV1DocumentProvenance" +}, +"type": "array" +}, +"textAnchor": { +"$ref": "GoogleCloudDocumentaiV1DocumentTextAnchor", +"description": "Provenance of the correction. Text anchor indexing into the Document.text. There can only be a single `TextAnchor.text_segments` element. If the start and end index of the text segment are the same, the text change is inserted before that index." +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1NormalizedVertex": { +"description": "A vertex represents a 2D point in the image. NOTE: the normalized vertex coordinates are relative to the original image and range from 0 to 1.", +"id": "GoogleCloudDocumentaiV1NormalizedVertex", +"properties": { +"x": { +"description": "X coordinate.", +"format": "float", +"type": "number" +}, +"y": { +"description": "Y coordinate (starts from the top of the image).", +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1Vertex": { +"description": "A vertex represents a 2D point in the image. NOTE: the vertex coordinates are in the same scale as the original image.", +"id": "GoogleCloudDocumentaiV1Vertex", +"properties": { +"x": { +"description": "X coordinate.", +"format": "int32", +"type": "integer" +}, +"y": { +"description": "Y coordinate (starts from the top of the image).", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"GoogleIamV1AuditConfig": { +"description": "Specifies the audit configuration for a service. The configuration determines which permission types are logged, and what identities, if any, are exempted from logging. An AuditConfig must have one or more AuditLogConfigs. If there are AuditConfigs for both `allServices` and a specific service, the union of the two AuditConfigs is used for that service: the log_types specified in each AuditConfig are enabled, and the exempted_members in each AuditLogConfig are exempted. Example Policy with multiple AuditConfigs: { \"audit_configs\": [ { \"service\": \"allServices\", \"audit_log_configs\": [ { \"log_type\": \"DATA_READ\", \"exempted_members\": [ \"user:jose@example.com\" ] }, { \"log_type\": \"DATA_WRITE\" }, { \"log_type\": \"ADMIN_READ\" } ] }, { \"service\": \"sampleservice.googleapis.com\", \"audit_log_configs\": [ { \"log_type\": \"DATA_READ\" }, { \"log_type\": \"DATA_WRITE\", \"exempted_members\": [ \"user:aliya@example.com\" ] } ] } ] } For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also exempts `jose@example.com` from DATA_READ logging, and `aliya@example.com` from DATA_WRITE logging.", +"id": "GoogleIamV1AuditConfig", +"properties": { +"auditLogConfigs": { +"description": "The configuration for logging of each type of permission.", +"items": { +"$ref": "GoogleIamV1AuditLogConfig" +}, +"type": "array" +}, +"service": { +"description": "Specifies a service that will be enabled for audit logging. For example, `storage.googleapis.com`, `cloudsql.googleapis.com`. `allServices` is a special value that covers all services.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleIamV1AuditLogConfig": { +"description": "Provides the configuration for logging a type of permissions. Example: { \"audit_log_configs\": [ { \"log_type\": \"DATA_READ\", \"exempted_members\": [ \"user:jose@example.com\" ] }, { \"log_type\": \"DATA_WRITE\" } ] } This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting jose@example.com from DATA_READ logging.", +"id": "GoogleIamV1AuditLogConfig", +"properties": { +"exemptedMembers": { +"description": "Specifies the identities that do not cause logging for this type of permission. Follows the same format of Binding.members.", +"items": { +"type": "string" +}, +"type": "array" +}, +"logType": { +"description": "The log type that this config enables.", +"enum": [ +"LOG_TYPE_UNSPECIFIED", +"ADMIN_READ", +"DATA_WRITE", +"DATA_READ" +], +"enumDescriptions": [ +"Default case. Should never be this.", +"Admin reads. Example: CloudIAM getIamPolicy", +"Data writes. Example: CloudSQL Users create", +"Data reads. Example: CloudSQL Users list" +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleIamV1Binding": { +"description": "Associates `members`, or principals, with a `role`.", +"id": "GoogleIamV1Binding", +"properties": { +"condition": { +"$ref": "GoogleTypeExpr", +"description": "The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies)." +}, +"members": { +"description": "Specifies the principals requesting access for a Google Cloud resource. `members` can have the following values: * `allUsers`: A special identifier that represents anyone who is on the internet; with or without a Google account. * `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service account. Does not include identities that come from external identity providers (IdPs) through identity federation. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `group:{emailid}`: An email address that represents a Google group. For example, `admins@example.com`. * `domain:{domain}`: The G Suite domain (primary) that represents all the users of that domain. For example, `google.com` or `example.com`. * `principal://iam.googleapis.com/locations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}`: A single identity in a workforce identity pool. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/group/{group_id}`: All workforce identities in a group. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/attribute.{attribute_name}/{attribute_value}`: All workforce identities with a specific attribute value. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/*`: All identities in a workforce identity pool. * `principal://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/subject/{subject_attribute_value}`: A single identity in a workload identity pool. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/group/{group_id}`: A workload identity pool group. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/attribute.{attribute_name}/{attribute_value}`: All identities in a workload identity pool with a certain attribute. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/*`: All identities in a workload identity pool. * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a user that has been recently deleted. For example, `alice@example.com?uid=123456789012345678901`. If the user is recovered, this value reverts to `user:{emailid}` and the recovered user retains the role in the binding. * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a service account that has been recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the service account is undeleted, this value reverts to `serviceAccount:{emailid}` and the undeleted service account retains the role in the binding. * `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a Google group that has been recently deleted. For example, `admins@example.com?uid=123456789012345678901`. If the group is recovered, this value reverts to `group:{emailid}` and the recovered group retains the role in the binding. * `deleted:principal://iam.googleapis.com/locations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}`: Deleted single identity in a workforce identity pool. For example, `deleted:principal://iam.googleapis.com/locations/global/workforcePools/my-pool-id/subject/my-subject-attribute-value`.", +"items": { +"type": "string" +}, +"type": "array" +}, +"role": { +"description": "Role that is assigned to the list of `members`, or principals. For example, `roles/viewer`, `roles/editor`, or `roles/owner`. For an overview of the IAM roles and permissions, see the [IAM documentation](https://cloud.google.com/iam/docs/roles-overview). For a list of the available pre-defined roles, see [here](https://cloud.google.com/iam/docs/understanding-roles).", +"type": "string" +} +}, +"type": "object" +}, +"GoogleIamV1Policy": { +"description": "An Identity and Access Management (IAM) policy, which specifies access controls for Google Cloud resources. A `Policy` is a collection of `bindings`. A `binding` binds one or more `members`, or principals, to a single `role`. Principals can be user accounts, service accounts, Google groups, and domains (such as G Suite). A `role` is a named list of permissions; each `role` can be an IAM predefined role or a user-created custom role. For some types of Google Cloud resources, a `binding` can also specify a `condition`, which is a logical expression that allows access to a resource only if the expression evaluates to `true`. A condition can add constraints based on attributes of the request, the resource, or both. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). **JSON example:** ``` { \"bindings\": [ { \"role\": \"roles/resourcemanager.organizationAdmin\", \"members\": [ \"user:mike@example.com\", \"group:admins@example.com\", \"domain:google.com\", \"serviceAccount:my-project-id@appspot.gserviceaccount.com\" ] }, { \"role\": \"roles/resourcemanager.organizationViewer\", \"members\": [ \"user:eve@example.com\" ], \"condition\": { \"title\": \"expirable access\", \"description\": \"Does not grant access after Sep 2020\", \"expression\": \"request.time < timestamp('2020-10-01T00:00:00.000Z')\", } } ], \"etag\": \"BwWWja0YfJA=\", \"version\": 3 } ``` **YAML example:** ``` bindings: - members: - user:mike@example.com - group:admins@example.com - domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.com role: roles/resourcemanager.organizationViewer condition: title: expirable access description: Does not grant access after Sep 2020 expression: request.time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 ``` For a description of IAM and its features, see the [IAM documentation](https://cloud.google.com/iam/docs/).", +"id": "GoogleIamV1Policy", +"properties": { +"auditConfigs": { +"description": "Specifies cloud audit logging configuration for this policy.", +"items": { +"$ref": "GoogleIamV1AuditConfig" +}, +"type": "array" +}, +"bindings": { +"description": "Associates a list of `members`, or principals, with a `role`. Optionally, may specify a `condition` that determines how and when the `bindings` are applied. Each of the `bindings` must contain at least one principal. The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250 of these principals can be Google groups. Each occurrence of a principal counts towards these limits. For example, if the `bindings` grant 50 different roles to `user:alice@example.com`, and not to any other principal, then you can add another 1,450 principals to the `bindings` in the `Policy`.", +"items": { +"$ref": "GoogleIamV1Binding" +}, +"type": "array" +}, +"etag": { +"description": "`etag` is used for optimistic concurrency control as a way to help prevent simultaneous updates of a policy from overwriting each other. It is strongly suggested that systems make use of the `etag` in the read-modify-write cycle to perform policy updates in order to avoid race conditions: An `etag` is returned in the response to `getIamPolicy`, and systems are expected to put that etag in the request to `setIamPolicy` to ensure that their change will be applied to the same version of the policy. **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost.", +"format": "byte", +"type": "string" +}, +"version": { +"description": "Specifies the format of the policy. Valid values are `0`, `1`, and `3`. Requests that specify an invalid value are rejected. Any operation that affects conditional role bindings must specify version `3`. This requirement applies to the following operations: * Getting a policy that includes a conditional role binding * Adding a conditional role binding to a policy * Changing a conditional role binding in a policy * Removing any role binding, with or without a condition, from a policy that includes conditions **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost. If a policy does not include any conditions, operations on that policy may specify any valid version or leave the field unset. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"GoogleLongrunningOperation": { +"description": "This resource represents a long-running operation that is the result of a network API call.", +"id": "GoogleLongrunningOperation", +"properties": { +"done": { +"description": "If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.", +"type": "boolean" +}, +"error": { +"$ref": "GoogleRpcStatus", +"description": "The error result of the operation in case of failure or cancellation." +}, +"metadata": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.", +"type": "object" +}, +"name": { +"description": "The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.", +"type": "string" +}, +"response": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "The normal, successful response of the operation. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.", +"type": "object" +} +}, +"type": "object" +}, +"GoogleProtobufEmpty": { +"description": "A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }", +"id": "GoogleProtobufEmpty", +"properties": {}, +"type": "object" +}, +"GoogleRpcStatus": { +"description": "The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors).", +"id": "GoogleRpcStatus", +"properties": { +"code": { +"description": "The status code, which should be an enum value of google.rpc.Code.", +"format": "int32", +"type": "integer" +}, +"details": { +"description": "A list of messages that carry the error details. There is a common set of message types for APIs to use.", +"items": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleTypeColor": { +"description": "Represents a color in the RGBA color space. This representation is designed for simplicity of conversion to and from color representations in various languages over compactness. For example, the fields of this representation can be trivially provided to the constructor of `java.awt.Color` in Java; it can also be trivially provided to UIColor's `+colorWithRed:green:blue:alpha` method in iOS; and, with just a little work, it can be easily formatted into a CSS `rgba()` string in JavaScript. This reference page doesn't have information about the absolute color space that should be used to interpret the RGB value\u2014for example, sRGB, Adobe RGB, DCI-P3, and BT.2020. By default, applications should assume the sRGB color space. When color equality needs to be decided, implementations, unless documented otherwise, treat two colors as equal if all their red, green, blue, and alpha values each differ by at most `1e-5`. Example (Java): import com.google.type.Color; // ... public static java.awt.Color fromProto(Color protocolor) { float alpha = protocolor.hasAlpha() ? protocolor.getAlpha().getValue() : 1.0; return new java.awt.Color( protocolor.getRed(), protocolor.getGreen(), protocolor.getBlue(), alpha); } public static Color toProto(java.awt.Color color) { float red = (float) color.getRed(); float green = (float) color.getGreen(); float blue = (float) color.getBlue(); float denominator = 255.0; Color.Builder resultBuilder = Color .newBuilder() .setRed(red / denominator) .setGreen(green / denominator) .setBlue(blue / denominator); int alpha = color.getAlpha(); if (alpha != 255) { result.setAlpha( FloatValue .newBuilder() .setValue(((float) alpha) / denominator) .build()); } return resultBuilder.build(); } // ... Example (iOS / Obj-C): // ... static UIColor* fromProto(Color* protocolor) { float red = [protocolor red]; float green = [protocolor green]; float blue = [protocolor blue]; FloatValue* alpha_wrapper = [protocolor alpha]; float alpha = 1.0; if (alpha_wrapper != nil) { alpha = [alpha_wrapper value]; } return [UIColor colorWithRed:red green:green blue:blue alpha:alpha]; } static Color* toProto(UIColor* color) { CGFloat red, green, blue, alpha; if (![color getRed:&red green:&green blue:&blue alpha:&alpha]) { return nil; } Color* result = [[Color alloc] init]; [result setRed:red]; [result setGreen:green]; [result setBlue:blue]; if (alpha <= 0.9999) { [result setAlpha:floatWrapperWithValue(alpha)]; } [result autorelease]; return result; } // ... Example (JavaScript): // ... var protoToCssColor = function(rgb_color) { var redFrac = rgb_color.red || 0.0; var greenFrac = rgb_color.green || 0.0; var blueFrac = rgb_color.blue || 0.0; var red = Math.floor(redFrac * 255); var green = Math.floor(greenFrac * 255); var blue = Math.floor(blueFrac * 255); if (!('alpha' in rgb_color)) { return rgbToCssColor(red, green, blue); } var alphaFrac = rgb_color.alpha.value || 0.0; var rgbParams = [red, green, blue].join(','); return ['rgba(', rgbParams, ',', alphaFrac, ')'].join(''); }; var rgbToCssColor = function(red, green, blue) { var rgbNumber = new Number((red << 16) | (green << 8) | blue); var hexString = rgbNumber.toString(16); var missingZeros = 6 - hexString.length; var resultBuilder = ['#']; for (var i = 0; i < missingZeros; i++) { resultBuilder.push('0'); } resultBuilder.push(hexString); return resultBuilder.join(''); }; // ...", +"id": "GoogleTypeColor", +"properties": { +"alpha": { +"description": "The fraction of this color that should be applied to the pixel. That is, the final pixel color is defined by the equation: `pixel color = alpha * (this color) + (1.0 - alpha) * (background color)` This means that a value of 1.0 corresponds to a solid color, whereas a value of 0.0 corresponds to a completely transparent color. This uses a wrapper message rather than a simple float scalar so that it is possible to distinguish between a default value and the value being unset. If omitted, this color object is rendered as a solid color (as if the alpha value had been explicitly given a value of 1.0).", +"format": "float", +"type": "number" +}, +"blue": { +"description": "The amount of blue in the color as a value in the interval [0, 1].", +"format": "float", +"type": "number" +}, +"green": { +"description": "The amount of green in the color as a value in the interval [0, 1].", +"format": "float", +"type": "number" +}, +"red": { +"description": "The amount of red in the color as a value in the interval [0, 1].", +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"GoogleTypeDate": { +"description": "Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following: * A full date, with non-zero year, month, and day values. * A month and day, with a zero year (for example, an anniversary). * A year on its own, with a zero month and a zero day. * A year and month, with a zero day (for example, a credit card expiration date). Related types: * google.type.TimeOfDay * google.type.DateTime * google.protobuf.Timestamp", +"id": "GoogleTypeDate", +"properties": { +"day": { +"description": "Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn't significant.", +"format": "int32", +"type": "integer" +}, +"month": { +"description": "Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.", +"format": "int32", +"type": "integer" +}, +"year": { +"description": "Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"GoogleTypeDateTime": { +"description": "Represents civil time (or occasionally physical time). This type can represent a civil time in one of a few possible ways: * When utc_offset is set and time_zone is unset: a civil time on a calendar day with a particular offset from UTC. * When time_zone is set and utc_offset is unset: a civil time on a calendar day in a particular time zone. * When neither time_zone nor utc_offset is set: a civil time on a calendar day in local time. The date is relative to the Proleptic Gregorian Calendar. If year, month, or day are 0, the DateTime is considered not to have a specific year, month, or day respectively. This type may also be used to represent a physical time if all the date and time fields are set and either case of the `time_offset` oneof is set. Consider using `Timestamp` message for physical time instead. If your use case also would like to store the user's timezone, that can be done in another field. This type is more flexible than some applications may want. Make sure to document and validate your application's limitations.", +"id": "GoogleTypeDateTime", +"properties": { +"day": { +"description": "Optional. Day of month. Must be from 1 to 31 and valid for the year and month, or 0 if specifying a datetime without a day.", +"format": "int32", +"type": "integer" +}, +"hours": { +"description": "Optional. Hours of day in 24 hour format. Should be from 0 to 23, defaults to 0 (midnight). An API may choose to allow the value \"24:00:00\" for scenarios like business closing time.", +"format": "int32", +"type": "integer" +}, +"minutes": { +"description": "Optional. Minutes of hour of day. Must be from 0 to 59, defaults to 0.", +"format": "int32", +"type": "integer" +}, +"month": { +"description": "Optional. Month of year. Must be from 1 to 12, or 0 if specifying a datetime without a month.", +"format": "int32", +"type": "integer" +}, +"nanos": { +"description": "Optional. Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999, defaults to 0.", +"format": "int32", +"type": "integer" +}, +"seconds": { +"description": "Optional. Seconds of minutes of the time. Must normally be from 0 to 59, defaults to 0. An API may allow the value 60 if it allows leap-seconds.", +"format": "int32", +"type": "integer" +}, +"timeZone": { +"$ref": "GoogleTypeTimeZone", +"description": "Time zone." +}, +"utcOffset": { +"description": "UTC offset. Must be whole seconds, between -18 hours and +18 hours. For example, a UTC offset of -4:00 would be represented as { seconds: -14400 }.", +"format": "google-duration", +"type": "string" +}, +"year": { +"description": "Optional. Year of date. Must be from 1 to 9999, or 0 if specifying a datetime without a year.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"GoogleTypeExpr": { +"description": "Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: \"Summary size limit\" description: \"Determines if a summary is less than 100 chars\" expression: \"document.summary.size() < 100\" Example (Equality): title: \"Requestor is owner\" description: \"Determines if requestor is the document owner\" expression: \"document.owner == request.auth.claims.email\" Example (Logic): title: \"Public documents\" description: \"Determine whether the document should be publicly visible\" expression: \"document.type != 'private' && document.type != 'internal'\" Example (Data Manipulation): title: \"Notification string\" description: \"Create a notification string with a timestamp.\" expression: \"'New message received at ' + string(document.create_time)\" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information.", +"id": "GoogleTypeExpr", +"properties": { +"description": { +"description": "Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI.", +"type": "string" +}, +"expression": { +"description": "Textual representation of an expression in Common Expression Language syntax.", +"type": "string" +}, +"location": { +"description": "Optional. String indicating the location of the expression for error reporting, e.g. a file name and a position in the file.", +"type": "string" +}, +"title": { +"description": "Optional. Title for the expression, i.e. a short string describing its purpose. This can be used e.g. in UIs which allow to enter the expression.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleTypeInterval": { +"description": "Represents a time interval, encoded as a Timestamp start (inclusive) and a Timestamp end (exclusive). The start must be less than or equal to the end. When the start equals the end, the interval is empty (matches no time). When both start and end are unspecified, the interval matches any time.", +"id": "GoogleTypeInterval", +"properties": { +"endTime": { +"description": "Optional. Exclusive end of the interval. If specified, a Timestamp matching this interval will have to be before the end.", +"format": "google-datetime", +"type": "string" +}, +"startTime": { +"description": "Optional. Inclusive start of the interval. If specified, a Timestamp matching this interval will have to be the same or after the start.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"GoogleTypeMoney": { +"description": "Represents an amount of money with its currency type.", +"id": "GoogleTypeMoney", +"properties": { +"currencyCode": { +"description": "The three-letter currency code defined in ISO 4217.", +"type": "string" +}, +"nanos": { +"description": "Number of nano (10^-9) units of the amount. The value must be between -999,999,999 and +999,999,999 inclusive. If `units` is positive, `nanos` must be positive or zero. If `units` is zero, `nanos` can be positive, zero, or negative. If `units` is negative, `nanos` must be negative or zero. For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000.", +"format": "int32", +"type": "integer" +}, +"units": { +"description": "The whole units of the amount. For example if `currencyCode` is `\"USD\"`, then 1 unit is one US dollar.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"GoogleTypePostalAddress": { +"description": "Represents a postal address. For example for postal delivery or payments addresses. Given a postal address, a postal service can deliver items to a premise, P.O. Box or similar. It is not intended to model geographical locations (roads, towns, mountains). In typical usage an address would be created by user input or from importing existing data, depending on the type of process. Advice on address input / editing: - Use an internationalization-ready address widget such as https://github.com/google/libaddressinput) - Users should not be presented with UI elements for input or editing of fields outside countries where that field is used. For more guidance on how to use this schema, see: https://support.google.com/business/answer/6397478", +"id": "GoogleTypePostalAddress", +"properties": { +"addressLines": { +"description": "Unstructured address lines describing the lower levels of an address. Because values in address_lines do not have type information and may sometimes contain multiple values in a single field (For example \"Austin, TX\"), it is important that the line order is clear. The order of address lines should be \"envelope order\" for the country/region of the address. In places where this can vary (For example Japan), address_language is used to make it explicit (For example \"ja\" for large-to-small ordering and \"ja-Latn\" or \"en\" for small-to-large). This way, the most specific line of an address can be selected based on the language. The minimum permitted structural representation of an address consists of a region_code with all remaining information placed in the address_lines. It would be possible to format such an address very approximately without geocoding, but no semantic reasoning could be made about any of the address components until it was at least partially resolved. Creating an address only containing a region_code and address_lines, and then geocoding is the recommended way to handle completely unstructured addresses (as opposed to guessing which parts of the address should be localities or administrative areas).", +"items": { +"type": "string" +}, +"type": "array" +}, +"administrativeArea": { +"description": "Optional. Highest administrative subdivision which is used for postal addresses of a country or region. For example, this can be a state, a province, an oblast, or a prefecture. Specifically, for Spain this is the province and not the autonomous community (For example \"Barcelona\" and not \"Catalonia\"). Many countries don't use an administrative area in postal addresses. For example in Switzerland this should be left unpopulated.", +"type": "string" +}, +"languageCode": { +"description": "Optional. BCP-47 language code of the contents of this address (if known). This is often the UI language of the input form or is expected to match one of the languages used in the address' country/region, or their transliterated equivalents. This can affect formatting in certain countries, but is not critical to the correctness of the data and will never affect any validation or other non-formatting related operations. If this value is not known, it should be omitted (rather than specifying a possibly incorrect default). Examples: \"zh-Hant\", \"ja\", \"ja-Latn\", \"en\".", +"type": "string" +}, +"locality": { +"description": "Optional. Generally refers to the city/town portion of the address. Examples: US city, IT comune, UK post town. In regions of the world where localities are not well defined or do not fit into this structure well, leave locality empty and use address_lines.", +"type": "string" +}, +"organization": { +"description": "Optional. The name of the organization at the address.", +"type": "string" +}, +"postalCode": { +"description": "Optional. Postal code of the address. Not all countries use or require postal codes to be present, but where they are used, they may trigger additional validation with other parts of the address (For example state/zip validation in the U.S.A.).", +"type": "string" +}, +"recipients": { +"description": "Optional. The recipient at the address. This field may, under certain circumstances, contain multiline information. For example, it might contain \"care of\" information.", +"items": { +"type": "string" +}, +"type": "array" +}, +"regionCode": { +"description": "Required. CLDR region code of the country/region of the address. This is never inferred and it is up to the user to ensure the value is correct. See https://cldr.unicode.org/ and https://www.unicode.org/cldr/charts/30/supplemental/territory_information.html for details. Example: \"CH\" for Switzerland.", +"type": "string" +}, +"revision": { +"description": "The schema revision of the `PostalAddress`. This must be set to 0, which is the latest revision. All new revisions **must** be backward compatible with old revisions.", +"format": "int32", +"type": "integer" +}, +"sortingCode": { +"description": "Optional. Additional, country-specific, sorting code. This is not used in most regions. Where it is used, the value is either a string like \"CEDEX\", optionally followed by a number (For example \"CEDEX 7\"), or just a number alone, representing the \"sector code\" (Jamaica), \"delivery area indicator\" (Malawi) or \"post office indicator\" (For example C\u00f4te d'Ivoire).", +"type": "string" +}, +"sublocality": { +"description": "Optional. Sublocality of the address. For example, this can be neighborhoods, boroughs, districts.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleTypeTimeZone": { +"description": "Represents a time zone from the [IANA Time Zone Database](https://www.iana.org/time-zones).", +"id": "GoogleTypeTimeZone", +"properties": { +"id": { +"description": "IANA Time Zone Database time zone. For example \"America/New_York\".", +"type": "string" +}, +"version": { +"description": "Optional. IANA Time Zone Database version number. For example \"2019a\".", +"type": "string" +} +}, +"type": "object" +} +}, +"servicePath": "", +"title": "Document AI Warehouse API", +"version": "v1", +"version_module": true +} \ No newline at end of file diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/customsearch.v1.json b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/customsearch.v1.json new file mode 100644 index 0000000000000000000000000000000000000000..632a76202fc1885005763d58ffdd635ffeb33ee3 --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/customsearch.v1.json @@ -0,0 +1,1480 @@ +{ +"basePath": "", +"baseUrl": "https://customsearch.googleapis.com/", +"batchPath": "batch", +"canonicalName": "CustomSearch API", +"description": "Searches over a website or collection of websites", +"discoveryVersion": "v1", +"documentationLink": "https://developers.google.com/custom-search/v1/introduction", +"icons": { +"x16": "http://www.google.com/images/icons/product/search-16.gif", +"x32": "http://www.google.com/images/icons/product/search-32.gif" +}, +"id": "customsearch:v1", +"kind": "discovery#restDescription", +"mtlsRootUrl": "https://customsearch.mtls.googleapis.com/", +"name": "customsearch", +"ownerDomain": "google.com", +"ownerName": "Google", +"parameters": { +"$.xgafv": { +"description": "V1 error format.", +"enum": [ +"1", +"2" +], +"enumDescriptions": [ +"v1 error format", +"v2 error format" +], +"location": "query", +"type": "string" +}, +"access_token": { +"description": "OAuth access token.", +"location": "query", +"type": "string" +}, +"alt": { +"default": "json", +"description": "Data format for response.", +"enum": [ +"json", +"media", +"proto" +], +"enumDescriptions": [ +"Responses with Content-Type of application/json", +"Media download with context-dependent Content-Type", +"Responses with Content-Type of application/x-protobuf" +], +"location": "query", +"type": "string" +}, +"callback": { +"description": "JSONP", +"location": "query", +"type": "string" +}, +"fields": { +"description": "Selector specifying which fields to include in a partial response.", +"location": "query", +"type": "string" +}, +"key": { +"description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", +"location": "query", +"type": "string" +}, +"oauth_token": { +"description": "OAuth 2.0 token for the current user.", +"location": "query", +"type": "string" +}, +"prettyPrint": { +"default": "true", +"description": "Returns response with indentations and line breaks.", +"location": "query", +"type": "boolean" +}, +"quotaUser": { +"description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.", +"location": "query", +"type": "string" +}, +"uploadType": { +"description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", +"location": "query", +"type": "string" +}, +"upload_protocol": { +"description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", +"location": "query", +"type": "string" +} +}, +"protocol": "rest", +"resources": { +"cse": { +"methods": { +"list": { +"description": "Returns metadata about the search performed, metadata about the engine used for the search, and the search results.", +"flatPath": "customsearch/v1", +"httpMethod": "GET", +"id": "search.cse.list", +"parameterOrder": [], +"parameters": { +"c2coff": { +"description": "Enables or disables [Simplified and Traditional Chinese Search](https://developers.google.com/custom-search/docs/json_api_reference#chineseSearch). The default value for this parameter is 0 (zero), meaning that the feature is enabled. Supported values are: * `1`: Disabled * `0`: Enabled (default)", +"location": "query", +"type": "string" +}, +"cr": { +"description": "Restricts search results to documents originating in a particular country. You may use [Boolean operators](https://developers.google.com/custom-search/docs/json_api_reference#booleanOperators) in the cr parameter's value. Google Search determines the country of a document by analyzing: * the top-level domain (TLD) of the document's URL * the geographic location of the Web server's IP address See the [Country Parameter Values](https://developers.google.com/custom-search/docs/json_api_reference#countryCollections) page for a list of valid values for this parameter.", +"location": "query", +"type": "string" +}, +"cx": { +"description": "The Programmable Search Engine ID to use for this request.", +"location": "query", +"type": "string" +}, +"dateRestrict": { +"description": "Restricts results to URLs based on date. Supported values include: * `d[number]`: requests results from the specified number of past days. * `w[number]`: requests results from the specified number of past weeks. * `m[number]`: requests results from the specified number of past months. * `y[number]`: requests results from the specified number of past years.", +"location": "query", +"type": "string" +}, +"enableAlternateSearchHandler": { +"description": "Optional. Enables routing of Programmable Search Engine requests to an alternate search handler.", +"location": "query", +"type": "boolean" +}, +"exactTerms": { +"description": "Identifies a phrase that all documents in the search results must contain.", +"location": "query", +"type": "string" +}, +"excludeTerms": { +"description": "Identifies a word or phrase that should not appear in any documents in the search results.", +"location": "query", +"type": "string" +}, +"fileType": { +"description": "Restricts results to files of a specified extension. A list of file types indexable by Google can be found in Search Console [Help Center](https://support.google.com/webmasters/answer/35287).", +"location": "query", +"type": "string" +}, +"filter": { +"description": "Controls turning on or off the duplicate content filter. * See [Automatic Filtering](https://developers.google.com/custom-search/docs/json_api_reference#automaticFiltering) for more information about Google's search results filters. Note that host crowding filtering applies only to multi-site searches. * By default, Google applies filtering to all search results to improve the quality of those results. Acceptable values are: * `0`: Turns off duplicate content filter. * `1`: Turns on duplicate content filter.", +"location": "query", +"type": "string" +}, +"gl": { +"description": "Geolocation of end user. * The `gl` parameter value is a two-letter country code. The `gl` parameter boosts search results whose country of origin matches the parameter value. See the [Country Codes](https://developers.google.com/custom-search/docs/json_api_reference#countryCodes) page for a list of valid values. * Specifying a `gl` parameter value should lead to more relevant results. This is particularly true for international customers and, even more specifically, for customers in English- speaking countries other than the United States.", +"location": "query", +"type": "string" +}, +"googlehost": { +"description": "**Deprecated**. Use the `gl` parameter for a similar effect. The local Google domain (for example, google.com, google.de, or google.fr) to use to perform the search.", +"location": "query", +"type": "string" +}, +"highRange": { +"description": "Specifies the ending value for a search range. * Use `lowRange` and `highRange` to append an inclusive search range of `lowRange...highRange` to the query.", +"location": "query", +"type": "string" +}, +"hl": { +"description": "Sets the user interface language. * Explicitly setting this parameter improves the performance and the quality of your search results. * See the [Interface Languages](https://developers.google.com/custom-search/docs/json_api_reference#wsInterfaceLanguages) section of [Internationalizing Queries and Results Presentation](https://developers.google.com/custom-search/docs/json_api_reference#wsInternationalizing) for more information, and [Supported Interface Languages](https://developers.google.com/custom-search/docs/json_api_reference#interfaceLanguages) for a list of supported languages.", +"location": "query", +"type": "string" +}, +"hq": { +"description": "Appends the specified query terms to the query, as if they were combined with a logical AND operator.", +"location": "query", +"type": "string" +}, +"imgColorType": { +"description": "Returns black and white, grayscale, transparent, or color images. Acceptable values are: * `\"color\"` * `\"gray\"` * `\"mono\"`: black and white * `\"trans\"`: transparent background", +"enum": [ +"imgColorTypeUndefined", +"mono", +"gray", +"color", +"trans" +], +"enumDescriptions": [ +"No image color type specified.", +"Black and white images only.", +"Grayscale images only.", +"Color images only.", +"Images with transparent background" +], +"location": "query", +"type": "string" +}, +"imgDominantColor": { +"description": "Returns images of a specific dominant color. Acceptable values are: * `\"black\"` * `\"blue\"` * `\"brown\"` * `\"gray\"` * `\"green\"` * `\"orange\"` * `\"pink\"` * `\"purple\"` * `\"red\"` * `\"teal\"` * `\"white\"` * `\"yellow\"`", +"enum": [ +"imgDominantColorUndefined", +"black", +"blue", +"brown", +"gray", +"green", +"orange", +"pink", +"purple", +"red", +"teal", +"white", +"yellow" +], +"enumDescriptions": [ +"No dominant color specified.", +"Predominantly black images only.", +"Predominantly blue images only.", +"Predominantly brown images only.", +"Predominantly gray images only.", +"Predominantly green images only.", +"Predominantly orange images only.", +"Predominantly pink images only.", +"Predominantly purple images only.", +"Predominantly red images only.", +"Predominantly teal images only.", +"Predominantly white images only.", +"Predominantly yellow images only." +], +"location": "query", +"type": "string" +}, +"imgSize": { +"description": "Returns images of a specified size. Acceptable values are: * `\"huge\"` * `\"icon\"` * `\"large\"` * `\"medium\"` * `\"small\"` * `\"xlarge\"` * `\"xxlarge\"`", +"enum": [ +"imgSizeUndefined", +"HUGE", +"ICON", +"LARGE", +"MEDIUM", +"SMALL", +"XLARGE", +"XXLARGE" +], +"enumDescriptions": [ +"No image size specified.", +"Only the largest possible images.", +"Only very small icon-sized images.", +"Only large images.", +"Only medium images.", +"Only small images.", +"Only very large images.", +"Only extremely large images." +], +"location": "query", +"type": "string" +}, +"imgType": { +"description": "Returns images of a type. Acceptable values are: * `\"clipart\"` * `\"face\"` * `\"lineart\"` * `\"stock\"` * `\"photo\"` * `\"animated\"`", +"enum": [ +"imgTypeUndefined", +"clipart", +"face", +"lineart", +"stock", +"photo", +"animated" +], +"enumDescriptions": [ +"No image type specified.", +"Clipart-style images only.", +"Images of faces only.", +"Line art images only.", +"Stock images only.", +"Photo images only.", +"Animated images only." +], +"location": "query", +"type": "string" +}, +"linkSite": { +"description": "Specifies that all search results should contain a link to a particular URL.", +"location": "query", +"type": "string" +}, +"lowRange": { +"description": "Specifies the starting value for a search range. Use `lowRange` and `highRange` to append an inclusive search range of `lowRange...highRange` to the query.", +"location": "query", +"type": "string" +}, +"lr": { +"description": "Restricts the search to documents written in a particular language (e.g., `lr=lang_ja`). Acceptable values are: * `\"lang_ar\"`: Arabic * `\"lang_bg\"`: Bulgarian * `\"lang_ca\"`: Catalan * `\"lang_cs\"`: Czech * `\"lang_da\"`: Danish * `\"lang_de\"`: German * `\"lang_el\"`: Greek * `\"lang_en\"`: English * `\"lang_es\"`: Spanish * `\"lang_et\"`: Estonian * `\"lang_fi\"`: Finnish * `\"lang_fr\"`: French * `\"lang_hr\"`: Croatian * `\"lang_hu\"`: Hungarian * `\"lang_id\"`: Indonesian * `\"lang_is\"`: Icelandic * `\"lang_it\"`: Italian * `\"lang_iw\"`: Hebrew * `\"lang_ja\"`: Japanese * `\"lang_ko\"`: Korean * `\"lang_lt\"`: Lithuanian * `\"lang_lv\"`: Latvian * `\"lang_nl\"`: Dutch * `\"lang_no\"`: Norwegian * `\"lang_pl\"`: Polish * `\"lang_pt\"`: Portuguese * `\"lang_ro\"`: Romanian * `\"lang_ru\"`: Russian * `\"lang_sk\"`: Slovak * `\"lang_sl\"`: Slovenian * `\"lang_sr\"`: Serbian * `\"lang_sv\"`: Swedish * `\"lang_tr\"`: Turkish * `\"lang_zh-CN\"`: Chinese (Simplified) * `\"lang_zh-TW\"`: Chinese (Traditional)", +"location": "query", +"type": "string" +}, +"num": { +"description": "Number of search results to return. * Valid values are integers between 1 and 10, inclusive.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"orTerms": { +"description": "Provides additional search terms to check for in a document, where each document in the search results must contain at least one of the additional search terms.", +"location": "query", +"type": "string" +}, +"q": { +"description": "Query", +"location": "query", +"type": "string" +}, +"relatedSite": { +"deprecated": true, +"description": "Deprecated.", +"location": "query", +"type": "string" +}, +"rights": { +"description": "Filters based on licensing. Supported values include: `cc_publicdomain`, `cc_attribute`, `cc_sharealike`, `cc_noncommercial`, `cc_nonderived` and combinations of these. See [typical combinations](https://wiki.creativecommons.org/wiki/CC_Search_integration).", +"location": "query", +"type": "string" +}, +"safe": { +"description": "Search safety level. Acceptable values are: * `\"active\"`: Enables SafeSearch filtering. * `\"off\"`: Disables SafeSearch filtering. (default)", +"enum": [ +"safeUndefined", +"active", +"high", +"medium", +"off" +], +"enumDeprecated": [ +false, +false, +true, +true, +false +], +"enumDescriptions": [ +"SafeSearch mode unspecified. (Falls back to engine's configuration.)", +"Turn SafeSearch on.", +"Deprecated, equivalent to \"active\".", +"Deprecated, equivalent to \"active\".", +"Turn SafeSearch off." +], +"location": "query", +"type": "string" +}, +"searchType": { +"description": "Specifies the search type: `image`. If unspecified, results are limited to webpages. Acceptable values are: * `\"image\"`: custom image search.", +"enum": [ +"searchTypeUndefined", +"image" +], +"enumDescriptions": [ +"Search type unspecified (defaults to web search).", +"Image search." +], +"location": "query", +"type": "string" +}, +"siteSearch": { +"description": "Specifies a given site which should always be included or excluded from results (see `siteSearchFilter` parameter, below).", +"location": "query", +"type": "string" +}, +"siteSearchFilter": { +"description": "Controls whether to include or exclude results from the site named in the `siteSearch` parameter. Acceptable values are: * `\"e\"`: exclude * `\"i\"`: include", +"enum": [ +"siteSearchFilterUndefined", +"e", +"i" +], +"enumDescriptions": [ +"Filter mode unspecified.", +"Exclude results from the listed sites.", +"Include only results from the listed sites." +], +"location": "query", +"type": "string" +}, +"snippetLength": { +"description": "Optional. Maximum length of snippet text, in characters, to be returned with results. Note: this feature is limited to specific engines. * Valid values are integers between 161 and 1000, inclusive.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"sort": { +"description": "The sort expression to apply to the results. The sort parameter specifies that the results be sorted according to the specified expression i.e. sort by date. [Example: sort=date](https://developers.google.com/custom-search/docs/structured_search#sort-by-attribute).", +"location": "query", +"type": "string" +}, +"start": { +"description": "The index of the first result to return. The default number of results per page is 10, so `&start=11` would start at the top of the second page of results. **Note**: The JSON API will never return more than 100 results, even if more than 100 documents match the query, so setting the sum of `start + num` to a number greater than 100 will produce an error. Also note that the maximum value for `num` is 10.", +"format": "uint32", +"location": "query", +"type": "integer" +} +}, +"path": "customsearch/v1", +"response": { +"$ref": "Search" +} +} +}, +"resources": { +"siterestrict": { +"methods": { +"list": { +"description": "Returns metadata about the search performed, metadata about the engine used for the search, and the search results. Uses a small set of url patterns.", +"flatPath": "customsearch/v1/siterestrict", +"httpMethod": "GET", +"id": "search.cse.siterestrict.list", +"parameterOrder": [], +"parameters": { +"c2coff": { +"description": "Enables or disables [Simplified and Traditional Chinese Search](https://developers.google.com/custom-search/docs/json_api_reference#chineseSearch). The default value for this parameter is 0 (zero), meaning that the feature is enabled. Supported values are: * `1`: Disabled * `0`: Enabled (default)", +"location": "query", +"type": "string" +}, +"cr": { +"description": "Restricts search results to documents originating in a particular country. You may use [Boolean operators](https://developers.google.com/custom-search/docs/json_api_reference#booleanOperators) in the cr parameter's value. Google Search determines the country of a document by analyzing: * the top-level domain (TLD) of the document's URL * the geographic location of the Web server's IP address See the [Country Parameter Values](https://developers.google.com/custom-search/docs/json_api_reference#countryCollections) page for a list of valid values for this parameter.", +"location": "query", +"type": "string" +}, +"cx": { +"description": "The Programmable Search Engine ID to use for this request.", +"location": "query", +"type": "string" +}, +"dateRestrict": { +"description": "Restricts results to URLs based on date. Supported values include: * `d[number]`: requests results from the specified number of past days. * `w[number]`: requests results from the specified number of past weeks. * `m[number]`: requests results from the specified number of past months. * `y[number]`: requests results from the specified number of past years.", +"location": "query", +"type": "string" +}, +"enableAlternateSearchHandler": { +"description": "Optional. Enables routing of Programmable Search Engine requests to an alternate search handler.", +"location": "query", +"type": "boolean" +}, +"exactTerms": { +"description": "Identifies a phrase that all documents in the search results must contain.", +"location": "query", +"type": "string" +}, +"excludeTerms": { +"description": "Identifies a word or phrase that should not appear in any documents in the search results.", +"location": "query", +"type": "string" +}, +"fileType": { +"description": "Restricts results to files of a specified extension. A list of file types indexable by Google can be found in Search Console [Help Center](https://support.google.com/webmasters/answer/35287).", +"location": "query", +"type": "string" +}, +"filter": { +"description": "Controls turning on or off the duplicate content filter. * See [Automatic Filtering](https://developers.google.com/custom-search/docs/json_api_reference#automaticFiltering) for more information about Google's search results filters. Note that host crowding filtering applies only to multi-site searches. * By default, Google applies filtering to all search results to improve the quality of those results. Acceptable values are: * `0`: Turns off duplicate content filter. * `1`: Turns on duplicate content filter.", +"location": "query", +"type": "string" +}, +"gl": { +"description": "Geolocation of end user. * The `gl` parameter value is a two-letter country code. The `gl` parameter boosts search results whose country of origin matches the parameter value. See the [Country Codes](https://developers.google.com/custom-search/docs/json_api_reference#countryCodes) page for a list of valid values. * Specifying a `gl` parameter value should lead to more relevant results. This is particularly true for international customers and, even more specifically, for customers in English- speaking countries other than the United States.", +"location": "query", +"type": "string" +}, +"googlehost": { +"description": "**Deprecated**. Use the `gl` parameter for a similar effect. The local Google domain (for example, google.com, google.de, or google.fr) to use to perform the search.", +"location": "query", +"type": "string" +}, +"highRange": { +"description": "Specifies the ending value for a search range. * Use `lowRange` and `highRange` to append an inclusive search range of `lowRange...highRange` to the query.", +"location": "query", +"type": "string" +}, +"hl": { +"description": "Sets the user interface language. * Explicitly setting this parameter improves the performance and the quality of your search results. * See the [Interface Languages](https://developers.google.com/custom-search/docs/json_api_reference#wsInterfaceLanguages) section of [Internationalizing Queries and Results Presentation](https://developers.google.com/custom-search/docs/json_api_reference#wsInternationalizing) for more information, and [Supported Interface Languages](https://developers.google.com/custom-search/docs/json_api_reference#interfaceLanguages) for a list of supported languages.", +"location": "query", +"type": "string" +}, +"hq": { +"description": "Appends the specified query terms to the query, as if they were combined with a logical AND operator.", +"location": "query", +"type": "string" +}, +"imgColorType": { +"description": "Returns black and white, grayscale, transparent, or color images. Acceptable values are: * `\"color\"` * `\"gray\"` * `\"mono\"`: black and white * `\"trans\"`: transparent background", +"enum": [ +"imgColorTypeUndefined", +"mono", +"gray", +"color", +"trans" +], +"enumDescriptions": [ +"No image color type specified.", +"Black and white images only.", +"Grayscale images only.", +"Color images only.", +"Images with transparent background" +], +"location": "query", +"type": "string" +}, +"imgDominantColor": { +"description": "Returns images of a specific dominant color. Acceptable values are: * `\"black\"` * `\"blue\"` * `\"brown\"` * `\"gray\"` * `\"green\"` * `\"orange\"` * `\"pink\"` * `\"purple\"` * `\"red\"` * `\"teal\"` * `\"white\"` * `\"yellow\"`", +"enum": [ +"imgDominantColorUndefined", +"black", +"blue", +"brown", +"gray", +"green", +"orange", +"pink", +"purple", +"red", +"teal", +"white", +"yellow" +], +"enumDescriptions": [ +"No dominant color specified.", +"Predominantly black images only.", +"Predominantly blue images only.", +"Predominantly brown images only.", +"Predominantly gray images only.", +"Predominantly green images only.", +"Predominantly orange images only.", +"Predominantly pink images only.", +"Predominantly purple images only.", +"Predominantly red images only.", +"Predominantly teal images only.", +"Predominantly white images only.", +"Predominantly yellow images only." +], +"location": "query", +"type": "string" +}, +"imgSize": { +"description": "Returns images of a specified size. Acceptable values are: * `\"huge\"` * `\"icon\"` * `\"large\"` * `\"medium\"` * `\"small\"` * `\"xlarge\"` * `\"xxlarge\"`", +"enum": [ +"imgSizeUndefined", +"HUGE", +"ICON", +"LARGE", +"MEDIUM", +"SMALL", +"XLARGE", +"XXLARGE" +], +"enumDescriptions": [ +"No image size specified.", +"Only the largest possible images.", +"Only very small icon-sized images.", +"Only large images.", +"Only medium images.", +"Only small images.", +"Only very large images.", +"Only extremely large images." +], +"location": "query", +"type": "string" +}, +"imgType": { +"description": "Returns images of a type. Acceptable values are: * `\"clipart\"` * `\"face\"` * `\"lineart\"` * `\"stock\"` * `\"photo\"` * `\"animated\"`", +"enum": [ +"imgTypeUndefined", +"clipart", +"face", +"lineart", +"stock", +"photo", +"animated" +], +"enumDescriptions": [ +"No image type specified.", +"Clipart-style images only.", +"Images of faces only.", +"Line art images only.", +"Stock images only.", +"Photo images only.", +"Animated images only." +], +"location": "query", +"type": "string" +}, +"linkSite": { +"description": "Specifies that all search results should contain a link to a particular URL.", +"location": "query", +"type": "string" +}, +"lowRange": { +"description": "Specifies the starting value for a search range. Use `lowRange` and `highRange` to append an inclusive search range of `lowRange...highRange` to the query.", +"location": "query", +"type": "string" +}, +"lr": { +"description": "Restricts the search to documents written in a particular language (e.g., `lr=lang_ja`). Acceptable values are: * `\"lang_ar\"`: Arabic * `\"lang_bg\"`: Bulgarian * `\"lang_ca\"`: Catalan * `\"lang_cs\"`: Czech * `\"lang_da\"`: Danish * `\"lang_de\"`: German * `\"lang_el\"`: Greek * `\"lang_en\"`: English * `\"lang_es\"`: Spanish * `\"lang_et\"`: Estonian * `\"lang_fi\"`: Finnish * `\"lang_fr\"`: French * `\"lang_hr\"`: Croatian * `\"lang_hu\"`: Hungarian * `\"lang_id\"`: Indonesian * `\"lang_is\"`: Icelandic * `\"lang_it\"`: Italian * `\"lang_iw\"`: Hebrew * `\"lang_ja\"`: Japanese * `\"lang_ko\"`: Korean * `\"lang_lt\"`: Lithuanian * `\"lang_lv\"`: Latvian * `\"lang_nl\"`: Dutch * `\"lang_no\"`: Norwegian * `\"lang_pl\"`: Polish * `\"lang_pt\"`: Portuguese * `\"lang_ro\"`: Romanian * `\"lang_ru\"`: Russian * `\"lang_sk\"`: Slovak * `\"lang_sl\"`: Slovenian * `\"lang_sr\"`: Serbian * `\"lang_sv\"`: Swedish * `\"lang_tr\"`: Turkish * `\"lang_zh-CN\"`: Chinese (Simplified) * `\"lang_zh-TW\"`: Chinese (Traditional)", +"location": "query", +"type": "string" +}, +"num": { +"description": "Number of search results to return. * Valid values are integers between 1 and 10, inclusive.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"orTerms": { +"description": "Provides additional search terms to check for in a document, where each document in the search results must contain at least one of the additional search terms.", +"location": "query", +"type": "string" +}, +"q": { +"description": "Query", +"location": "query", +"type": "string" +}, +"relatedSite": { +"deprecated": true, +"description": "Deprecated.", +"location": "query", +"type": "string" +}, +"rights": { +"description": "Filters based on licensing. Supported values include: `cc_publicdomain`, `cc_attribute`, `cc_sharealike`, `cc_noncommercial`, `cc_nonderived` and combinations of these. See [typical combinations](https://wiki.creativecommons.org/wiki/CC_Search_integration).", +"location": "query", +"type": "string" +}, +"safe": { +"description": "Search safety level. Acceptable values are: * `\"active\"`: Enables SafeSearch filtering. * `\"off\"`: Disables SafeSearch filtering. (default)", +"enum": [ +"safeUndefined", +"active", +"high", +"medium", +"off" +], +"enumDeprecated": [ +false, +false, +true, +true, +false +], +"enumDescriptions": [ +"SafeSearch mode unspecified. (Falls back to engine's configuration.)", +"Turn SafeSearch on.", +"Deprecated, equivalent to \"active\".", +"Deprecated, equivalent to \"active\".", +"Turn SafeSearch off." +], +"location": "query", +"type": "string" +}, +"searchType": { +"description": "Specifies the search type: `image`. If unspecified, results are limited to webpages. Acceptable values are: * `\"image\"`: custom image search.", +"enum": [ +"searchTypeUndefined", +"image" +], +"enumDescriptions": [ +"Search type unspecified (defaults to web search).", +"Image search." +], +"location": "query", +"type": "string" +}, +"siteSearch": { +"description": "Specifies a given site which should always be included or excluded from results (see `siteSearchFilter` parameter, below).", +"location": "query", +"type": "string" +}, +"siteSearchFilter": { +"description": "Controls whether to include or exclude results from the site named in the `siteSearch` parameter. Acceptable values are: * `\"e\"`: exclude * `\"i\"`: include", +"enum": [ +"siteSearchFilterUndefined", +"e", +"i" +], +"enumDescriptions": [ +"Filter mode unspecified.", +"Exclude results from the listed sites.", +"Include only results from the listed sites." +], +"location": "query", +"type": "string" +}, +"snippetLength": { +"description": "Optional. Maximum length of snippet text, in characters, to be returned with results. Note: this feature is limited to specific engines. * Valid values are integers between 161 and 1000, inclusive.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"sort": { +"description": "The sort expression to apply to the results. The sort parameter specifies that the results be sorted according to the specified expression i.e. sort by date. [Example: sort=date](https://developers.google.com/custom-search/docs/structured_search#sort-by-attribute).", +"location": "query", +"type": "string" +}, +"start": { +"description": "The index of the first result to return. The default number of results per page is 10, so `&start=11` would start at the top of the second page of results. **Note**: The JSON API will never return more than 100 results, even if more than 100 documents match the query, so setting the sum of `start + num` to a number greater than 100 will produce an error. Also note that the maximum value for `num` is 10.", +"format": "uint32", +"location": "query", +"type": "integer" +} +}, +"path": "customsearch/v1/siterestrict", +"response": { +"$ref": "Search" +} +} +} +} +} +} +}, +"revision": "20240821", +"rootUrl": "https://customsearch.googleapis.com/", +"schemas": { +"Promotion": { +"description": "Promotion result.", +"id": "Promotion", +"properties": { +"bodyLines": { +"description": "An array of block objects for this promotion.", +"items": { +"description": "Block object belonging to a promotion.", +"properties": { +"htmlTitle": { +"description": "The block object's text in HTML, if it has text.", +"type": "string" +}, +"link": { +"description": "The anchor text of the block object's link, if it has a link.", +"type": "string" +}, +"title": { +"description": "The block object's text, if it has text.", +"type": "string" +}, +"url": { +"description": "The URL of the block object's link, if it has one.", +"type": "string" +} +}, +"type": "object" +}, +"type": "array" +}, +"displayLink": { +"description": "An abridged version of this search's result URL, e.g. www.example.com.", +"type": "string" +}, +"htmlTitle": { +"description": "The title of the promotion, in HTML.", +"type": "string" +}, +"image": { +"description": "Image belonging to a promotion.", +"properties": { +"height": { +"description": "Image height in pixels.", +"format": "int32", +"type": "integer" +}, +"source": { +"description": "URL of the image for this promotion link.", +"type": "string" +}, +"width": { +"description": "Image width in pixels.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"link": { +"description": "The URL of the promotion.", +"type": "string" +}, +"title": { +"description": "The title of the promotion.", +"type": "string" +} +}, +"type": "object" +}, +"Result": { +"description": "A custom search result.", +"id": "Result", +"properties": { +"cacheId": { +"description": "Indicates the ID of Google's cached version of the search result.", +"type": "string" +}, +"displayLink": { +"description": "An abridged version of this search result\u2019s URL, e.g. www.example.com.", +"type": "string" +}, +"fileFormat": { +"description": "The file format of the search result.", +"type": "string" +}, +"formattedUrl": { +"description": "The URL displayed after the snippet for each search result.", +"type": "string" +}, +"htmlFormattedUrl": { +"description": "The HTML-formatted URL displayed after the snippet for each search result.", +"type": "string" +}, +"htmlSnippet": { +"description": "The snippet of the search result, in HTML.", +"type": "string" +}, +"htmlTitle": { +"description": "The title of the search result, in HTML.", +"type": "string" +}, +"image": { +"description": "Image belonging to a custom search result.", +"properties": { +"byteSize": { +"description": "The size of the image, in bytes.", +"format": "int32", +"type": "integer" +}, +"contextLink": { +"description": "A URL pointing to the webpage hosting the image.", +"type": "string" +}, +"height": { +"description": "The height of the image, in pixels.", +"format": "int32", +"type": "integer" +}, +"thumbnailHeight": { +"description": "The height of the thumbnail image, in pixels.", +"format": "int32", +"type": "integer" +}, +"thumbnailLink": { +"description": "A URL to the thumbnail image.", +"type": "string" +}, +"thumbnailWidth": { +"description": "The width of the thumbnail image, in pixels.", +"format": "int32", +"type": "integer" +}, +"width": { +"description": "The width of the image, in pixels.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"kind": { +"description": "A unique identifier for the type of current object. For this API, it is `customsearch#result.`", +"type": "string" +}, +"labels": { +"description": "Encapsulates all information about refinement labels.", +"items": { +"description": "Refinement label associated with a custom search result.", +"properties": { +"displayName": { +"description": "The display name of a refinement label. This is the name you should display in your user interface.", +"type": "string" +}, +"label_with_op": { +"description": "Refinement label and the associated refinement operation.", +"type": "string" +}, +"name": { +"description": "The name of a refinement label, which you can use to refine searches. Don't display this in your user interface; instead, use displayName.", +"type": "string" +} +}, +"type": "object" +}, +"type": "array" +}, +"link": { +"description": "The full URL to which the search result is pointing, e.g. http://www.example.com/foo/bar.", +"type": "string" +}, +"mime": { +"description": "The MIME type of the search result.", +"type": "string" +}, +"pagemap": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"description": "Contains [PageMap](https://developers.google.com/custom-search/docs/structured_data#pagemaps) information for this search result.", +"type": "object" +}, +"snippet": { +"description": "The snippet of the search result, in plain text.", +"type": "string" +}, +"title": { +"description": "The title of the search result, in plain text.", +"type": "string" +} +}, +"type": "object" +}, +"Search": { +"description": "Response to a custom search request.", +"id": "Search", +"properties": { +"context": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"description": "Metadata and refinements associated with the given search engine, including: * The name of the search engine that was used for the query. * A set of [facet objects](https://developers.google.com/custom-search/docs/refinements#create) (refinements) you can use for refining a search.", +"type": "object" +}, +"items": { +"description": "The current set of custom search results.", +"items": { +"$ref": "Result" +}, +"type": "array" +}, +"kind": { +"description": "Unique identifier for the type of current object. For this API, it is customsearch#search.", +"type": "string" +}, +"promotions": { +"description": "The set of [promotions](https://developers.google.com/custom-search/docs/promotions). Present only if the custom search engine's configuration files define any promotions for the given query.", +"items": { +"$ref": "Promotion" +}, +"type": "array" +}, +"queries": { +"description": "Query metadata for the previous, current, and next pages of results.", +"properties": { +"nextPage": { +"description": "Metadata representing the next page of results, if applicable.", +"items": { +"description": "Custom search request metadata.", +"properties": { +"count": { +"description": "Number of search results returned in this set.", +"format": "int32", +"type": "integer" +}, +"cr": { +"description": "Restricts search results to documents originating in a particular country. You may use [Boolean operators](https://developers.google.com/custom-search/docs/json_api_reference#BooleanOrSearch) in the `cr` parameter's value. Google WebSearch determines the country of a document by analyzing the following: * The top-level domain (TLD) of the document's URL. * The geographic location of the web server's IP address. See [Country (cr) Parameter Values](https://developers.google.com/custom-search/docs/json_api_reference#countryCollections) for a list of valid values for this parameter.", +"type": "string" +}, +"cx": { +"description": "The identifier of an engine created using the Programmable Search Engine [Control Panel](https://programmablesearchengine.google.com/). This is a custom property not defined in the OpenSearch spec. This parameter is **required**.", +"type": "string" +}, +"dateRestrict": { +"description": "Restricts results to URLs based on date. Supported values include: * `d[number]`: requests results from the specified number of past days. * `w[number]`: requests results from the specified number of past weeks. * `m[number]`: requests results from the specified number of past months. * `y[number]`: requests results from the specified number of past years.", +"type": "string" +}, +"disableCnTwTranslation": { +"description": "Enables or disables the [Simplified and Traditional Chinese Search](https://developers.google.com/custom-search/docs/json_api_reference#chineseSearch) feature. Supported values are: * `0`: enabled (default) * `1`: disabled", +"type": "string" +}, +"exactTerms": { +"description": "Identifies a phrase that all documents in the search results must contain.", +"type": "string" +}, +"excludeTerms": { +"description": "Identifies a word or phrase that should not appear in any documents in the search results.", +"type": "string" +}, +"fileType": { +"description": "Restricts results to files of a specified extension. Filetypes supported by Google include: * Adobe Portable Document Format (`pdf`) * Adobe PostScript (`ps`) * Lotus 1-2-3 (`wk1`, `wk2`, `wk3`, `wk4`, `wk5`, `wki`, `wks`, `wku`) * Lotus WordPro (`lwp`) * Macwrite (`mw`) * Microsoft Excel (`xls`) * Microsoft PowerPoint (`ppt`) * Microsoft Word (`doc`) * Microsoft Works (`wks`, `wps`, `wdb`) * Microsoft Write (`wri`) * Rich Text Format (`rtf`) * Shockwave Flash (`swf`) * Text (`ans`, `txt`). Additional filetypes may be added in the future. An up-to-date list can always be found in Google's [file type FAQ](https://support.google.com/webmasters/answer/35287).", +"type": "string" +}, +"filter": { +"description": "Activates or deactivates the automatic filtering of Google search results. See [Automatic Filtering](https://developers.google.com/custom-search/docs/json_api_reference#automaticFiltering) for more information about Google's search results filters. Valid values for this parameter are: * `0`: Disabled * `1`: Enabled (default) **Note**: By default, Google applies filtering to all search results to improve the quality of those results.", +"type": "string" +}, +"gl": { +"description": "Boosts search results whose country of origin matches the parameter value. See [Country Codes](https://developers.google.com/custom-search/docs/json_api_reference#countryCodes) for a list of valid values. Specifying a `gl` parameter value in WebSearch requests should improve the relevance of results. This is particularly true for international customers and, even more specifically, for customers in English-speaking countries other than the United States.", +"type": "string" +}, +"googleHost": { +"description": "Specifies the Google domain (for example, google.com, google.de, or google.fr) to which the search should be limited.", +"type": "string" +}, +"highRange": { +"description": "Specifies the ending value for a search range. Use `cse:lowRange` and `cse:highrange` to append an inclusive search range of `lowRange...highRange` to the query.", +"type": "string" +}, +"hl": { +"description": "Specifies the interface language (host language) of your user interface. Explicitly setting this parameter improves the performance and the quality of your search results. See the [Interface Languages](https://developers.google.com/custom-search/docs/json_api_reference#wsInterfaceLanguages) section of [Internationalizing Queries and Results Presentation](https://developers.google.com/custom-search/docs/json_api_reference#wsInternationalizing) for more information, and [Supported Interface Languages](https://developers.google.com/custom-search/docs/json_api_reference#interfaceLanguages) for a list of supported languages.", +"type": "string" +}, +"hq": { +"description": "Appends the specified query terms to the query, as if they were combined with a logical `AND` operator.", +"type": "string" +}, +"imgColorType": { +"description": "Restricts results to images of a specified color type. Supported values are: * `mono` (black and white) * `gray` (grayscale) * `color` (color)", +"type": "string" +}, +"imgDominantColor": { +"description": "Restricts results to images with a specific dominant color. Supported values are: * `red` * `orange` * `yellow` * `green` * `teal` * `blue` * `purple` * `pink` * `white` * `gray` * `black` * `brown`", +"type": "string" +}, +"imgSize": { +"description": "Restricts results to images of a specified size. Supported values are: * `icon` (small) * `small | medium | large | xlarge` (medium) * `xxlarge` (large) * `huge` (extra-large)", +"type": "string" +}, +"imgType": { +"description": "Restricts results to images of a specified type. Supported values are: * `clipart` (Clip art) * `face` (Face) * `lineart` (Line drawing) * `photo` (Photo) * `animated` (Animated) * `stock` (Stock)", +"type": "string" +}, +"inputEncoding": { +"description": "The character encoding supported for search requests.", +"type": "string" +}, +"language": { +"description": "The language of the search results.", +"type": "string" +}, +"linkSite": { +"description": "Specifies that all results should contain a link to a specific URL.", +"type": "string" +}, +"lowRange": { +"description": "Specifies the starting value for a search range. Use `cse:lowRange` and `cse:highrange` to append an inclusive search range of `lowRange...highRange` to the query.", +"type": "string" +}, +"orTerms": { +"description": "Provides additional search terms to check for in a document, where each document in the search results must contain at least one of the additional search terms. You can also use the [Boolean OR](https://developers.google.com/custom-search/docs/json_api_reference#BooleanOrSearch) query term for this type of query.", +"type": "string" +}, +"outputEncoding": { +"description": "The character encoding supported for search results.", +"type": "string" +}, +"relatedSite": { +"description": "Specifies that all search results should be pages that are related to the specified URL. The parameter value should be a URL.", +"type": "string" +}, +"rights": { +"description": "Filters based on licensing. Supported values include: * `cc_publicdomain` * `cc_attribute` * `cc_sharealike` * `cc_noncommercial` * `cc_nonderived`", +"type": "string" +}, +"safe": { +"description": "Specifies the [SafeSearch level](https://developers.google.com/custom-search/docs/json_api_reference#safeSearchLevels) used for filtering out adult results. This is a custom property not defined in the OpenSearch spec. Valid parameter values are: * `\"off\"`: Disable SafeSearch * `\"active\"`: Enable SafeSearch", +"type": "string" +}, +"searchTerms": { +"description": "The search terms entered by the user.", +"type": "string" +}, +"searchType": { +"description": "Allowed values are `web` or `image`. If unspecified, results are limited to webpages.", +"type": "string" +}, +"siteSearch": { +"description": "Restricts results to URLs from a specified site.", +"type": "string" +}, +"siteSearchFilter": { +"description": "Specifies whether to include or exclude results from the site named in the `sitesearch` parameter. Supported values are: * `i`: include content from site * `e`: exclude content from site", +"type": "string" +}, +"sort": { +"description": "Specifies that results should be sorted according to the specified expression. For example, sort by date.", +"type": "string" +}, +"startIndex": { +"description": "The index of the current set of search results into the total set of results, where the index of the first result is 1.", +"format": "int32", +"type": "integer" +}, +"startPage": { +"description": "The page number of this set of results, where the page length is set by the `count` property.", +"format": "int32", +"type": "integer" +}, +"title": { +"description": "A description of the query.", +"type": "string" +}, +"totalResults": { +"description": "Estimated number of total search results. May not be accurate.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"type": "array" +}, +"previousPage": { +"description": "Metadata representing the previous page of results, if applicable.", +"items": { +"description": "Custom search request metadata.", +"properties": { +"count": { +"description": "Number of search results returned in this set.", +"format": "int32", +"type": "integer" +}, +"cr": { +"description": "Restricts search results to documents originating in a particular country. You may use [Boolean operators](https://developers.google.com/custom-search/docs/json_api_reference#BooleanOrSearch) in the `cr` parameter's value. Google WebSearch determines the country of a document by analyzing the following: * The top-level domain (TLD) of the document's URL. * The geographic location of the web server's IP address. See [Country (cr) Parameter Values](https://developers.google.com/custom-search/docs/json_api_reference#countryCollections) for a list of valid values for this parameter.", +"type": "string" +}, +"cx": { +"description": "The identifier of an engine created using the Programmable Search Engine [Control Panel](https://programmablesearchengine.google.com/). This is a custom property not defined in the OpenSearch spec. This parameter is **required**.", +"type": "string" +}, +"dateRestrict": { +"description": "Restricts results to URLs based on date. Supported values include: * `d[number]`: requests results from the specified number of past days. * `w[number]`: requests results from the specified number of past weeks. * `m[number]`: requests results from the specified number of past months. * `y[number]`: requests results from the specified number of past years.", +"type": "string" +}, +"disableCnTwTranslation": { +"description": "Enables or disables the [Simplified and Traditional Chinese Search](https://developers.google.com/custom-search/docs/json_api_reference#chineseSearch) feature. Supported values are: * `0`: enabled (default) * `1`: disabled", +"type": "string" +}, +"exactTerms": { +"description": "Identifies a phrase that all documents in the search results must contain.", +"type": "string" +}, +"excludeTerms": { +"description": "Identifies a word or phrase that should not appear in any documents in the search results.", +"type": "string" +}, +"fileType": { +"description": "Restricts results to files of a specified extension. Filetypes supported by Google include: * Adobe Portable Document Format (`pdf`) * Adobe PostScript (`ps`) * Lotus 1-2-3 (`wk1`, `wk2`, `wk3`, `wk4`, `wk5`, `wki`, `wks`, `wku`) * Lotus WordPro (`lwp`) * Macwrite (`mw`) * Microsoft Excel (`xls`) * Microsoft PowerPoint (`ppt`) * Microsoft Word (`doc`) * Microsoft Works (`wks`, `wps`, `wdb`) * Microsoft Write (`wri`) * Rich Text Format (`rtf`) * Shockwave Flash (`swf`) * Text (`ans`, `txt`). Additional filetypes may be added in the future. An up-to-date list can always be found in Google's [file type FAQ](https://support.google.com/webmasters/answer/35287).", +"type": "string" +}, +"filter": { +"description": "Activates or deactivates the automatic filtering of Google search results. See [Automatic Filtering](https://developers.google.com/custom-search/docs/json_api_reference#automaticFiltering) for more information about Google's search results filters. Valid values for this parameter are: * `0`: Disabled * `1`: Enabled (default) **Note**: By default, Google applies filtering to all search results to improve the quality of those results.", +"type": "string" +}, +"gl": { +"description": "Boosts search results whose country of origin matches the parameter value. See [Country Codes](https://developers.google.com/custom-search/docs/json_api_reference#countryCodes) for a list of valid values. Specifying a `gl` parameter value in WebSearch requests should improve the relevance of results. This is particularly true for international customers and, even more specifically, for customers in English-speaking countries other than the United States.", +"type": "string" +}, +"googleHost": { +"description": "Specifies the Google domain (for example, google.com, google.de, or google.fr) to which the search should be limited.", +"type": "string" +}, +"highRange": { +"description": "Specifies the ending value for a search range. Use `cse:lowRange` and `cse:highrange` to append an inclusive search range of `lowRange...highRange` to the query.", +"type": "string" +}, +"hl": { +"description": "Specifies the interface language (host language) of your user interface. Explicitly setting this parameter improves the performance and the quality of your search results. See the [Interface Languages](https://developers.google.com/custom-search/docs/json_api_reference#wsInterfaceLanguages) section of [Internationalizing Queries and Results Presentation](https://developers.google.com/custom-search/docs/json_api_reference#wsInternationalizing) for more information, and [Supported Interface Languages](https://developers.google.com/custom-search/docs/json_api_reference#interfaceLanguages) for a list of supported languages.", +"type": "string" +}, +"hq": { +"description": "Appends the specified query terms to the query, as if they were combined with a logical `AND` operator.", +"type": "string" +}, +"imgColorType": { +"description": "Restricts results to images of a specified color type. Supported values are: * `mono` (black and white) * `gray` (grayscale) * `color` (color)", +"type": "string" +}, +"imgDominantColor": { +"description": "Restricts results to images with a specific dominant color. Supported values are: * `red` * `orange` * `yellow` * `green` * `teal` * `blue` * `purple` * `pink` * `white` * `gray` * `black` * `brown`", +"type": "string" +}, +"imgSize": { +"description": "Restricts results to images of a specified size. Supported values are: * `icon` (small) * `small | medium | large | xlarge` (medium) * `xxlarge` (large) * `huge` (extra-large)", +"type": "string" +}, +"imgType": { +"description": "Restricts results to images of a specified type. Supported values are: * `clipart` (Clip art) * `face` (Face) * `lineart` (Line drawing) * `photo` (Photo) * `animated` (Animated) * `stock` (Stock)", +"type": "string" +}, +"inputEncoding": { +"description": "The character encoding supported for search requests.", +"type": "string" +}, +"language": { +"description": "The language of the search results.", +"type": "string" +}, +"linkSite": { +"description": "Specifies that all results should contain a link to a specific URL.", +"type": "string" +}, +"lowRange": { +"description": "Specifies the starting value for a search range. Use `cse:lowRange` and `cse:highrange` to append an inclusive search range of `lowRange...highRange` to the query.", +"type": "string" +}, +"orTerms": { +"description": "Provides additional search terms to check for in a document, where each document in the search results must contain at least one of the additional search terms. You can also use the [Boolean OR](https://developers.google.com/custom-search/docs/json_api_reference#BooleanOrSearch) query term for this type of query.", +"type": "string" +}, +"outputEncoding": { +"description": "The character encoding supported for search results.", +"type": "string" +}, +"relatedSite": { +"description": "Specifies that all search results should be pages that are related to the specified URL. The parameter value should be a URL.", +"type": "string" +}, +"rights": { +"description": "Filters based on licensing. Supported values include: * `cc_publicdomain` * `cc_attribute` * `cc_sharealike` * `cc_noncommercial` * `cc_nonderived`", +"type": "string" +}, +"safe": { +"description": "Specifies the [SafeSearch level](https://developers.google.com/custom-search/docs/json_api_reference#safeSearchLevels) used for filtering out adult results. This is a custom property not defined in the OpenSearch spec. Valid parameter values are: * `\"off\"`: Disable SafeSearch * `\"active\"`: Enable SafeSearch", +"type": "string" +}, +"searchTerms": { +"description": "The search terms entered by the user.", +"type": "string" +}, +"searchType": { +"description": "Allowed values are `web` or `image`. If unspecified, results are limited to webpages.", +"type": "string" +}, +"siteSearch": { +"description": "Restricts results to URLs from a specified site.", +"type": "string" +}, +"siteSearchFilter": { +"description": "Specifies whether to include or exclude results from the site named in the `sitesearch` parameter. Supported values are: * `i`: include content from site * `e`: exclude content from site", +"type": "string" +}, +"sort": { +"description": "Specifies that results should be sorted according to the specified expression. For example, sort by date.", +"type": "string" +}, +"startIndex": { +"description": "The index of the current set of search results into the total set of results, where the index of the first result is 1.", +"format": "int32", +"type": "integer" +}, +"startPage": { +"description": "The page number of this set of results, where the page length is set by the `count` property.", +"format": "int32", +"type": "integer" +}, +"title": { +"description": "A description of the query.", +"type": "string" +}, +"totalResults": { +"description": "Estimated number of total search results. May not be accurate.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"type": "array" +}, +"request": { +"description": "Metadata representing the current request.", +"items": { +"description": "Custom search request metadata.", +"properties": { +"count": { +"description": "Number of search results returned in this set.", +"format": "int32", +"type": "integer" +}, +"cr": { +"description": "Restricts search results to documents originating in a particular country. You may use [Boolean operators](https://developers.google.com/custom-search/docs/json_api_reference#BooleanOrSearch) in the `cr` parameter's value. Google WebSearch determines the country of a document by analyzing the following: * The top-level domain (TLD) of the document's URL. * The geographic location of the web server's IP address. See [Country (cr) Parameter Values](https://developers.google.com/custom-search/docs/json_api_reference#countryCollections) for a list of valid values for this parameter.", +"type": "string" +}, +"cx": { +"description": "The identifier of an engine created using the Programmable Search Engine [Control Panel](https://programmablesearchengine.google.com/). This is a custom property not defined in the OpenSearch spec. This parameter is **required**.", +"type": "string" +}, +"dateRestrict": { +"description": "Restricts results to URLs based on date. Supported values include: * `d[number]`: requests results from the specified number of past days. * `w[number]`: requests results from the specified number of past weeks. * `m[number]`: requests results from the specified number of past months. * `y[number]`: requests results from the specified number of past years.", +"type": "string" +}, +"disableCnTwTranslation": { +"description": "Enables or disables the [Simplified and Traditional Chinese Search](https://developers.google.com/custom-search/docs/json_api_reference#chineseSearch) feature. Supported values are: * `0`: enabled (default) * `1`: disabled", +"type": "string" +}, +"exactTerms": { +"description": "Identifies a phrase that all documents in the search results must contain.", +"type": "string" +}, +"excludeTerms": { +"description": "Identifies a word or phrase that should not appear in any documents in the search results.", +"type": "string" +}, +"fileType": { +"description": "Restricts results to files of a specified extension. Filetypes supported by Google include: * Adobe Portable Document Format (`pdf`) * Adobe PostScript (`ps`) * Lotus 1-2-3 (`wk1`, `wk2`, `wk3`, `wk4`, `wk5`, `wki`, `wks`, `wku`) * Lotus WordPro (`lwp`) * Macwrite (`mw`) * Microsoft Excel (`xls`) * Microsoft PowerPoint (`ppt`) * Microsoft Word (`doc`) * Microsoft Works (`wks`, `wps`, `wdb`) * Microsoft Write (`wri`) * Rich Text Format (`rtf`) * Shockwave Flash (`swf`) * Text (`ans`, `txt`). Additional filetypes may be added in the future. An up-to-date list can always be found in Google's [file type FAQ](https://support.google.com/webmasters/answer/35287).", +"type": "string" +}, +"filter": { +"description": "Activates or deactivates the automatic filtering of Google search results. See [Automatic Filtering](https://developers.google.com/custom-search/docs/json_api_reference#automaticFiltering) for more information about Google's search results filters. Valid values for this parameter are: * `0`: Disabled * `1`: Enabled (default) **Note**: By default, Google applies filtering to all search results to improve the quality of those results.", +"type": "string" +}, +"gl": { +"description": "Boosts search results whose country of origin matches the parameter value. See [Country Codes](https://developers.google.com/custom-search/docs/json_api_reference#countryCodes) for a list of valid values. Specifying a `gl` parameter value in WebSearch requests should improve the relevance of results. This is particularly true for international customers and, even more specifically, for customers in English-speaking countries other than the United States.", +"type": "string" +}, +"googleHost": { +"description": "Specifies the Google domain (for example, google.com, google.de, or google.fr) to which the search should be limited.", +"type": "string" +}, +"highRange": { +"description": "Specifies the ending value for a search range. Use `cse:lowRange` and `cse:highrange` to append an inclusive search range of `lowRange...highRange` to the query.", +"type": "string" +}, +"hl": { +"description": "Specifies the interface language (host language) of your user interface. Explicitly setting this parameter improves the performance and the quality of your search results. See the [Interface Languages](https://developers.google.com/custom-search/docs/json_api_reference#wsInterfaceLanguages) section of [Internationalizing Queries and Results Presentation](https://developers.google.com/custom-search/docs/json_api_reference#wsInternationalizing) for more information, and [Supported Interface Languages](https://developers.google.com/custom-search/docs/json_api_reference#interfaceLanguages) for a list of supported languages.", +"type": "string" +}, +"hq": { +"description": "Appends the specified query terms to the query, as if they were combined with a logical `AND` operator.", +"type": "string" +}, +"imgColorType": { +"description": "Restricts results to images of a specified color type. Supported values are: * `mono` (black and white) * `gray` (grayscale) * `color` (color)", +"type": "string" +}, +"imgDominantColor": { +"description": "Restricts results to images with a specific dominant color. Supported values are: * `red` * `orange` * `yellow` * `green` * `teal` * `blue` * `purple` * `pink` * `white` * `gray` * `black` * `brown`", +"type": "string" +}, +"imgSize": { +"description": "Restricts results to images of a specified size. Supported values are: * `icon` (small) * `small | medium | large | xlarge` (medium) * `xxlarge` (large) * `huge` (extra-large)", +"type": "string" +}, +"imgType": { +"description": "Restricts results to images of a specified type. Supported values are: * `clipart` (Clip art) * `face` (Face) * `lineart` (Line drawing) * `photo` (Photo) * `animated` (Animated) * `stock` (Stock)", +"type": "string" +}, +"inputEncoding": { +"description": "The character encoding supported for search requests.", +"type": "string" +}, +"language": { +"description": "The language of the search results.", +"type": "string" +}, +"linkSite": { +"description": "Specifies that all results should contain a link to a specific URL.", +"type": "string" +}, +"lowRange": { +"description": "Specifies the starting value for a search range. Use `cse:lowRange` and `cse:highrange` to append an inclusive search range of `lowRange...highRange` to the query.", +"type": "string" +}, +"orTerms": { +"description": "Provides additional search terms to check for in a document, where each document in the search results must contain at least one of the additional search terms. You can also use the [Boolean OR](https://developers.google.com/custom-search/docs/json_api_reference#BooleanOrSearch) query term for this type of query.", +"type": "string" +}, +"outputEncoding": { +"description": "The character encoding supported for search results.", +"type": "string" +}, +"relatedSite": { +"description": "Specifies that all search results should be pages that are related to the specified URL. The parameter value should be a URL.", +"type": "string" +}, +"rights": { +"description": "Filters based on licensing. Supported values include: * `cc_publicdomain` * `cc_attribute` * `cc_sharealike` * `cc_noncommercial` * `cc_nonderived`", +"type": "string" +}, +"safe": { +"description": "Specifies the [SafeSearch level](https://developers.google.com/custom-search/docs/json_api_reference#safeSearchLevels) used for filtering out adult results. This is a custom property not defined in the OpenSearch spec. Valid parameter values are: * `\"off\"`: Disable SafeSearch * `\"active\"`: Enable SafeSearch", +"type": "string" +}, +"searchTerms": { +"description": "The search terms entered by the user.", +"type": "string" +}, +"searchType": { +"description": "Allowed values are `web` or `image`. If unspecified, results are limited to webpages.", +"type": "string" +}, +"siteSearch": { +"description": "Restricts results to URLs from a specified site.", +"type": "string" +}, +"siteSearchFilter": { +"description": "Specifies whether to include or exclude results from the site named in the `sitesearch` parameter. Supported values are: * `i`: include content from site * `e`: exclude content from site", +"type": "string" +}, +"sort": { +"description": "Specifies that results should be sorted according to the specified expression. For example, sort by date.", +"type": "string" +}, +"startIndex": { +"description": "The index of the current set of search results into the total set of results, where the index of the first result is 1.", +"format": "int32", +"type": "integer" +}, +"startPage": { +"description": "The page number of this set of results, where the page length is set by the `count` property.", +"format": "int32", +"type": "integer" +}, +"title": { +"description": "A description of the query.", +"type": "string" +}, +"totalResults": { +"description": "Estimated number of total search results. May not be accurate.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"type": "array" +} +}, +"type": "object" +}, +"searchInformation": { +"description": "Metadata about a search operation.", +"properties": { +"formattedSearchTime": { +"description": "The time taken for the server to return search results, formatted according to locale style.", +"type": "string" +}, +"formattedTotalResults": { +"description": "The total number of search results, formatted according to locale style.", +"type": "string" +}, +"searchTime": { +"description": "The time taken for the server to return search results.", +"format": "double", +"type": "number" +}, +"totalResults": { +"description": "The total number of search results returned by the query.", +"type": "string" +} +}, +"type": "object" +}, +"spelling": { +"description": "Spell correction information for a query.", +"properties": { +"correctedQuery": { +"description": "The corrected query.", +"type": "string" +}, +"htmlCorrectedQuery": { +"description": "The corrected query, formatted in HTML.", +"type": "string" +} +}, +"type": "object" +}, +"url": { +"description": "OpenSearch template and URL.", +"properties": { +"template": { +"description": "The actual [OpenSearch template](http://www.opensearch.org/specifications/opensearch/1.1#opensearch_url_template_syntax) for this API.", +"type": "string" +}, +"type": { +"description": "The MIME type of the OpenSearch URL template for the Custom Search JSON API.", +"type": "string" +} +}, +"type": "object" +} +}, +"type": "object" +} +}, +"servicePath": "", +"title": "Custom Search API", +"version": "v1", +"version_module": true +} \ No newline at end of file diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/dataflow.v1b3.json b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/dataflow.v1b3.json new file mode 100644 index 0000000000000000000000000000000000000000..cc7ef452e1a73ad11958cabf877eefcd653738b8 --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/dataflow.v1b3.json @@ -0,0 +1,8415 @@ +{ +"auth": { +"oauth2": { +"scopes": { +"https://www.googleapis.com/auth/cloud-platform": { +"description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." +}, +"https://www.googleapis.com/auth/compute": { +"description": "View and manage your Google Compute Engine resources" +} +} +} +}, +"basePath": "", +"baseUrl": "https://dataflow.googleapis.com/", +"batchPath": "batch", +"canonicalName": "Dataflow", +"description": "Manages Google Cloud Dataflow projects on Google Cloud Platform.", +"discoveryVersion": "v1", +"documentationLink": "https://cloud.google.com/dataflow", +"endpoints": [ +{ +"description": "Regional Endpoint", +"endpointUrl": "https://dataflow.africa-south1.rep.googleapis.com/", +"location": "africa-south1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://dataflow.asia-east1.rep.googleapis.com/", +"location": "asia-east1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://dataflow.asia-east2.rep.googleapis.com/", +"location": "asia-east2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://dataflow.asia-northeast1.rep.googleapis.com/", +"location": "asia-northeast1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://dataflow.asia-northeast2.rep.googleapis.com/", +"location": "asia-northeast2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://dataflow.asia-northeast3.rep.googleapis.com/", +"location": "asia-northeast3" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://dataflow.asia-south1.rep.googleapis.com/", +"location": "asia-south1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://dataflow.asia-south2.rep.googleapis.com/", +"location": "asia-south2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://dataflow.asia-southeast1.rep.googleapis.com/", +"location": "asia-southeast1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://dataflow.asia-southeast2.rep.googleapis.com/", +"location": "asia-southeast2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://dataflow.asia-southeast3.rep.googleapis.com/", +"location": "asia-southeast3" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://dataflow.australia-southeast1.rep.googleapis.com/", +"location": "australia-southeast1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://dataflow.australia-southeast2.rep.googleapis.com/", +"location": "australia-southeast2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://dataflow.europe-central2.rep.googleapis.com/", +"location": "europe-central2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://dataflow.europe-north1.rep.googleapis.com/", +"location": "europe-north1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://dataflow.europe-north2.rep.googleapis.com/", +"location": "europe-north2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://dataflow.europe-southwest1.rep.googleapis.com/", +"location": "europe-southwest1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://dataflow.europe-west1.rep.googleapis.com/", +"location": "europe-west1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://dataflow.europe-west10.rep.googleapis.com/", +"location": "europe-west10" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://dataflow.europe-west12.rep.googleapis.com/", +"location": "europe-west12" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://dataflow.europe-west2.rep.googleapis.com/", +"location": "europe-west2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://dataflow.europe-west3.rep.googleapis.com/", +"location": "europe-west3" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://dataflow.europe-west4.rep.googleapis.com/", +"location": "europe-west4" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://dataflow.europe-west6.rep.googleapis.com/", +"location": "europe-west6" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://dataflow.europe-west8.rep.googleapis.com/", +"location": "europe-west8" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://dataflow.europe-west9.rep.googleapis.com/", +"location": "europe-west9" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://dataflow.me-central1.rep.googleapis.com/", +"location": "me-central1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://dataflow.me-central2.rep.googleapis.com/", +"location": "me-central2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://dataflow.me-west1.rep.googleapis.com/", +"location": "me-west1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://dataflow.northamerica-northeast1.rep.googleapis.com/", +"location": "northamerica-northeast1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://dataflow.northamerica-northeast2.rep.googleapis.com/", +"location": "northamerica-northeast2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://dataflow.northamerica-south1.rep.googleapis.com/", +"location": "northamerica-south1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://dataflow.southamerica-east1.rep.googleapis.com/", +"location": "southamerica-east1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://dataflow.southamerica-west1.rep.googleapis.com/", +"location": "southamerica-west1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://dataflow.us-central1.rep.googleapis.com/", +"location": "us-central1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://dataflow.us-central2.rep.googleapis.com/", +"location": "us-central2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://dataflow.us-east1.rep.googleapis.com/", +"location": "us-east1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://dataflow.us-east4.rep.googleapis.com/", +"location": "us-east4" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://dataflow.us-east5.rep.googleapis.com/", +"location": "us-east5" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://dataflow.us-east7.rep.googleapis.com/", +"location": "us-east7" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://dataflow.us-south1.rep.googleapis.com/", +"location": "us-south1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://dataflow.us-west1.rep.googleapis.com/", +"location": "us-west1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://dataflow.us-west2.rep.googleapis.com/", +"location": "us-west2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://dataflow.us-west3.rep.googleapis.com/", +"location": "us-west3" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://dataflow.us-west4.rep.googleapis.com/", +"location": "us-west4" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://dataflow.us-west8.rep.googleapis.com/", +"location": "us-west8" +} +], +"fullyEncodeReservedExpansion": true, +"icons": { +"x16": "http://www.google.com/images/icons/product/search-16.gif", +"x32": "http://www.google.com/images/icons/product/search-32.gif" +}, +"id": "dataflow:v1b3", +"kind": "discovery#restDescription", +"mtlsRootUrl": "https://dataflow.mtls.googleapis.com/", +"name": "dataflow", +"ownerDomain": "google.com", +"ownerName": "Google", +"parameters": { +"$.xgafv": { +"description": "V1 error format.", +"enum": [ +"1", +"2" +], +"enumDescriptions": [ +"v1 error format", +"v2 error format" +], +"location": "query", +"type": "string" +}, +"access_token": { +"description": "OAuth access token.", +"location": "query", +"type": "string" +}, +"alt": { +"default": "json", +"description": "Data format for response.", +"enum": [ +"json", +"media", +"proto" +], +"enumDescriptions": [ +"Responses with Content-Type of application/json", +"Media download with context-dependent Content-Type", +"Responses with Content-Type of application/x-protobuf" +], +"location": "query", +"type": "string" +}, +"callback": { +"description": "JSONP", +"location": "query", +"type": "string" +}, +"fields": { +"description": "Selector specifying which fields to include in a partial response.", +"location": "query", +"type": "string" +}, +"key": { +"description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", +"location": "query", +"type": "string" +}, +"oauth_token": { +"description": "OAuth 2.0 token for the current user.", +"location": "query", +"type": "string" +}, +"prettyPrint": { +"default": "true", +"description": "Returns response with indentations and line breaks.", +"location": "query", +"type": "boolean" +}, +"quotaUser": { +"description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.", +"location": "query", +"type": "string" +}, +"uploadType": { +"description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", +"location": "query", +"type": "string" +}, +"upload_protocol": { +"description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", +"location": "query", +"type": "string" +} +}, +"protocol": "rest", +"resources": { +"projects": { +"methods": { +"deleteSnapshots": { +"description": "Deletes a snapshot.", +"flatPath": "v1b3/projects/{projectId}/snapshots", +"httpMethod": "DELETE", +"id": "dataflow.projects.deleteSnapshots", +"parameterOrder": [ +"projectId" +], +"parameters": { +"location": { +"description": "The location that contains this snapshot.", +"location": "query", +"type": "string" +}, +"projectId": { +"description": "The ID of the Cloud Platform project that the snapshot belongs to.", +"location": "path", +"required": true, +"type": "string" +}, +"snapshotId": { +"description": "The ID of the snapshot.", +"location": "query", +"type": "string" +} +}, +"path": "v1b3/projects/{projectId}/snapshots", +"response": { +"$ref": "DeleteSnapshotResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"workerMessages": { +"description": "Send a worker_message to the service.", +"flatPath": "v1b3/projects/{projectId}/WorkerMessages", +"httpMethod": "POST", +"id": "dataflow.projects.workerMessages", +"parameterOrder": [ +"projectId" +], +"parameters": { +"projectId": { +"description": "The project to send the WorkerMessages to.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v1b3/projects/{projectId}/WorkerMessages", +"request": { +"$ref": "SendWorkerMessagesRequest" +}, +"response": { +"$ref": "SendWorkerMessagesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +} +}, +"resources": { +"jobs": { +"methods": { +"aggregated": { +"description": "List the jobs of a project across all regions. **Note:** This method doesn't support filtering the list of jobs by name.", +"flatPath": "v1b3/projects/{projectId}/jobs:aggregated", +"httpMethod": "GET", +"id": "dataflow.projects.jobs.aggregated", +"parameterOrder": [ +"projectId" +], +"parameters": { +"filter": { +"description": "The kind of filter to use.", +"enum": [ +"UNKNOWN", +"ALL", +"TERMINATED", +"ACTIVE" +], +"enumDescriptions": [ +"The filter isn't specified, or is unknown. This returns all jobs ordered on descending `JobUuid`.", +"Returns all running jobs first ordered on creation timestamp, then returns all terminated jobs ordered on the termination timestamp.", +"Filters the jobs that have a terminated state, ordered on the termination timestamp. Example terminated states: `JOB_STATE_STOPPED`, `JOB_STATE_UPDATED`, `JOB_STATE_DRAINED`, etc.", +"Filters the jobs that are running ordered on the creation timestamp." +], +"location": "query", +"type": "string" +}, +"location": { +"description": "The [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) that contains this job.", +"location": "query", +"type": "string" +}, +"name": { +"description": "Optional. The job name.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "If there are many jobs, limit response to at most this many. The actual number of jobs returned will be the lesser of max_responses and an unspecified server-defined limit.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Set this to the 'next_page_token' field of a previous response to request additional results in a long list.", +"location": "query", +"type": "string" +}, +"projectId": { +"description": "The project which owns the jobs.", +"location": "path", +"required": true, +"type": "string" +}, +"view": { +"deprecated": true, +"description": "Deprecated. ListJobs always returns summaries now. Use GetJob for other JobViews.", +"enum": [ +"JOB_VIEW_UNKNOWN", +"JOB_VIEW_SUMMARY", +"JOB_VIEW_ALL", +"JOB_VIEW_DESCRIPTION" +], +"enumDescriptions": [ +"The job view to return isn't specified, or is unknown. Responses will contain at least the `JOB_VIEW_SUMMARY` information, and may contain additional information.", +"Request summary information only: Project ID, Job ID, job name, job type, job status, start/end time, and Cloud SDK version details.", +"Request all information available for this job. When the job is in `JOB_STATE_PENDING`, the job has been created but is not yet running, and not all job information is available. For complete job information, wait until the job in is `JOB_STATE_RUNNING`. For more information, see [JobState](https://cloud.google.com/dataflow/docs/reference/rest/v1b3/projects.jobs#jobstate).", +"Request summary info and limited job description data for steps, labels and environment." +], +"location": "query", +"type": "string" +} +}, +"path": "v1b3/projects/{projectId}/jobs:aggregated", +"response": { +"$ref": "ListJobsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"create": { +"description": "Creates a Dataflow job. To create a job, we recommend using `projects.locations.jobs.create` with a [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints). Using `projects.jobs.create` is not recommended, as your job will always start in `us-central1`. Do not enter confidential information when you supply string values using the API.", +"flatPath": "v1b3/projects/{projectId}/jobs", +"httpMethod": "POST", +"id": "dataflow.projects.jobs.create", +"parameterOrder": [ +"projectId" +], +"parameters": { +"location": { +"description": "The [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) that contains this job.", +"location": "query", +"type": "string" +}, +"projectId": { +"description": "The ID of the Cloud Platform project that the job belongs to.", +"location": "path", +"required": true, +"type": "string" +}, +"replaceJobId": { +"description": "Deprecated. This field is now in the Job message.", +"location": "query", +"type": "string" +}, +"view": { +"description": "The level of information requested in response.", +"enum": [ +"JOB_VIEW_UNKNOWN", +"JOB_VIEW_SUMMARY", +"JOB_VIEW_ALL", +"JOB_VIEW_DESCRIPTION" +], +"enumDescriptions": [ +"The job view to return isn't specified, or is unknown. Responses will contain at least the `JOB_VIEW_SUMMARY` information, and may contain additional information.", +"Request summary information only: Project ID, Job ID, job name, job type, job status, start/end time, and Cloud SDK version details.", +"Request all information available for this job. When the job is in `JOB_STATE_PENDING`, the job has been created but is not yet running, and not all job information is available. For complete job information, wait until the job in is `JOB_STATE_RUNNING`. For more information, see [JobState](https://cloud.google.com/dataflow/docs/reference/rest/v1b3/projects.jobs#jobstate).", +"Request summary info and limited job description data for steps, labels and environment." +], +"location": "query", +"type": "string" +} +}, +"path": "v1b3/projects/{projectId}/jobs", +"request": { +"$ref": "Job" +}, +"response": { +"$ref": "Job" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"get": { +"description": "Gets the state of the specified Cloud Dataflow job. To get the state of a job, we recommend using `projects.locations.jobs.get` with a [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints). Using `projects.jobs.get` is not recommended, as you can only get the state of jobs that are running in `us-central1`.", +"flatPath": "v1b3/projects/{projectId}/jobs/{jobId}", +"httpMethod": "GET", +"id": "dataflow.projects.jobs.get", +"parameterOrder": [ +"projectId", +"jobId" +], +"parameters": { +"jobId": { +"description": "The job ID.", +"location": "path", +"required": true, +"type": "string" +}, +"location": { +"description": "The [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) that contains this job.", +"location": "query", +"type": "string" +}, +"projectId": { +"description": "The ID of the Cloud Platform project that the job belongs to.", +"location": "path", +"required": true, +"type": "string" +}, +"view": { +"description": "The level of information requested in response.", +"enum": [ +"JOB_VIEW_UNKNOWN", +"JOB_VIEW_SUMMARY", +"JOB_VIEW_ALL", +"JOB_VIEW_DESCRIPTION" +], +"enumDescriptions": [ +"The job view to return isn't specified, or is unknown. Responses will contain at least the `JOB_VIEW_SUMMARY` information, and may contain additional information.", +"Request summary information only: Project ID, Job ID, job name, job type, job status, start/end time, and Cloud SDK version details.", +"Request all information available for this job. When the job is in `JOB_STATE_PENDING`, the job has been created but is not yet running, and not all job information is available. For complete job information, wait until the job in is `JOB_STATE_RUNNING`. For more information, see [JobState](https://cloud.google.com/dataflow/docs/reference/rest/v1b3/projects.jobs#jobstate).", +"Request summary info and limited job description data for steps, labels and environment." +], +"location": "query", +"type": "string" +} +}, +"path": "v1b3/projects/{projectId}/jobs/{jobId}", +"response": { +"$ref": "Job" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"getMetrics": { +"description": "Request the job status. To request the status of a job, we recommend using `projects.locations.jobs.getMetrics` with a [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints). Using `projects.jobs.getMetrics` is not recommended, as you can only request the status of jobs that are running in `us-central1`.", +"flatPath": "v1b3/projects/{projectId}/jobs/{jobId}/metrics", +"httpMethod": "GET", +"id": "dataflow.projects.jobs.getMetrics", +"parameterOrder": [ +"projectId", +"jobId" +], +"parameters": { +"jobId": { +"description": "The job to get metrics for.", +"location": "path", +"required": true, +"type": "string" +}, +"location": { +"description": "The [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) that contains the job specified by job_id.", +"location": "query", +"type": "string" +}, +"projectId": { +"description": "A project id.", +"location": "path", +"required": true, +"type": "string" +}, +"startTime": { +"description": "Return only metric data that has changed since this time. Default is to return all information about all metrics for the job.", +"format": "google-datetime", +"location": "query", +"type": "string" +} +}, +"path": "v1b3/projects/{projectId}/jobs/{jobId}/metrics", +"response": { +"$ref": "JobMetrics" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"list": { +"description": "List the jobs of a project. To list the jobs of a project in a region, we recommend using `projects.locations.jobs.list` with a [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints). To list the all jobs across all regions, use `projects.jobs.aggregated`. Using `projects.jobs.list` is not recommended, because you can only get the list of jobs that are running in `us-central1`. `projects.locations.jobs.list` and `projects.jobs.list` support filtering the list of jobs by name. Filtering by name isn't supported by `projects.jobs.aggregated`.", +"flatPath": "v1b3/projects/{projectId}/jobs", +"httpMethod": "GET", +"id": "dataflow.projects.jobs.list", +"parameterOrder": [ +"projectId" +], +"parameters": { +"filter": { +"description": "The kind of filter to use.", +"enum": [ +"UNKNOWN", +"ALL", +"TERMINATED", +"ACTIVE" +], +"enumDescriptions": [ +"The filter isn't specified, or is unknown. This returns all jobs ordered on descending `JobUuid`.", +"Returns all running jobs first ordered on creation timestamp, then returns all terminated jobs ordered on the termination timestamp.", +"Filters the jobs that have a terminated state, ordered on the termination timestamp. Example terminated states: `JOB_STATE_STOPPED`, `JOB_STATE_UPDATED`, `JOB_STATE_DRAINED`, etc.", +"Filters the jobs that are running ordered on the creation timestamp." +], +"location": "query", +"type": "string" +}, +"location": { +"description": "The [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) that contains this job.", +"location": "query", +"type": "string" +}, +"name": { +"description": "Optional. The job name.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "If there are many jobs, limit response to at most this many. The actual number of jobs returned will be the lesser of max_responses and an unspecified server-defined limit.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Set this to the 'next_page_token' field of a previous response to request additional results in a long list.", +"location": "query", +"type": "string" +}, +"projectId": { +"description": "The project which owns the jobs.", +"location": "path", +"required": true, +"type": "string" +}, +"view": { +"deprecated": true, +"description": "Deprecated. ListJobs always returns summaries now. Use GetJob for other JobViews.", +"enum": [ +"JOB_VIEW_UNKNOWN", +"JOB_VIEW_SUMMARY", +"JOB_VIEW_ALL", +"JOB_VIEW_DESCRIPTION" +], +"enumDescriptions": [ +"The job view to return isn't specified, or is unknown. Responses will contain at least the `JOB_VIEW_SUMMARY` information, and may contain additional information.", +"Request summary information only: Project ID, Job ID, job name, job type, job status, start/end time, and Cloud SDK version details.", +"Request all information available for this job. When the job is in `JOB_STATE_PENDING`, the job has been created but is not yet running, and not all job information is available. For complete job information, wait until the job in is `JOB_STATE_RUNNING`. For more information, see [JobState](https://cloud.google.com/dataflow/docs/reference/rest/v1b3/projects.jobs#jobstate).", +"Request summary info and limited job description data for steps, labels and environment." +], +"location": "query", +"type": "string" +} +}, +"path": "v1b3/projects/{projectId}/jobs", +"response": { +"$ref": "ListJobsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"snapshot": { +"description": "Snapshot the state of a streaming job.", +"flatPath": "v1b3/projects/{projectId}/jobs/{jobId}:snapshot", +"httpMethod": "POST", +"id": "dataflow.projects.jobs.snapshot", +"parameterOrder": [ +"projectId", +"jobId" +], +"parameters": { +"jobId": { +"description": "The job to be snapshotted.", +"location": "path", +"required": true, +"type": "string" +}, +"projectId": { +"description": "The project which owns the job to be snapshotted.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v1b3/projects/{projectId}/jobs/{jobId}:snapshot", +"request": { +"$ref": "SnapshotJobRequest" +}, +"response": { +"$ref": "Snapshot" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"update": { +"description": "Updates the state of an existing Cloud Dataflow job. To update the state of an existing job, we recommend using `projects.locations.jobs.update` with a [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints). Using `projects.jobs.update` is not recommended, as you can only update the state of jobs that are running in `us-central1`.", +"flatPath": "v1b3/projects/{projectId}/jobs/{jobId}", +"httpMethod": "PUT", +"id": "dataflow.projects.jobs.update", +"parameterOrder": [ +"projectId", +"jobId" +], +"parameters": { +"jobId": { +"description": "The job ID.", +"location": "path", +"required": true, +"type": "string" +}, +"location": { +"description": "The [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) that contains this job.", +"location": "query", +"type": "string" +}, +"projectId": { +"description": "The ID of the Cloud Platform project that the job belongs to.", +"location": "path", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "The list of fields to update relative to Job. If empty, only RequestedJobState will be considered for update. If the FieldMask is not empty and RequestedJobState is none/empty, The fields specified in the update mask will be the only ones considered for update. If both RequestedJobState and update_mask are specified, an error will be returned as we cannot update both state and mask.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1b3/projects/{projectId}/jobs/{jobId}", +"request": { +"$ref": "Job" +}, +"response": { +"$ref": "Job" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +} +}, +"resources": { +"debug": { +"methods": { +"getConfig": { +"description": "Get encoded debug configuration for component. Not cacheable.", +"flatPath": "v1b3/projects/{projectId}/jobs/{jobId}/debug/getConfig", +"httpMethod": "POST", +"id": "dataflow.projects.jobs.debug.getConfig", +"parameterOrder": [ +"projectId", +"jobId" +], +"parameters": { +"jobId": { +"description": "The job id.", +"location": "path", +"required": true, +"type": "string" +}, +"projectId": { +"description": "The project id.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v1b3/projects/{projectId}/jobs/{jobId}/debug/getConfig", +"request": { +"$ref": "GetDebugConfigRequest" +}, +"response": { +"$ref": "GetDebugConfigResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"sendCapture": { +"description": "Send encoded debug capture data for component.", +"flatPath": "v1b3/projects/{projectId}/jobs/{jobId}/debug/sendCapture", +"httpMethod": "POST", +"id": "dataflow.projects.jobs.debug.sendCapture", +"parameterOrder": [ +"projectId", +"jobId" +], +"parameters": { +"jobId": { +"description": "The job id.", +"location": "path", +"required": true, +"type": "string" +}, +"projectId": { +"description": "The project id.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v1b3/projects/{projectId}/jobs/{jobId}/debug/sendCapture", +"request": { +"$ref": "SendDebugCaptureRequest" +}, +"response": { +"$ref": "SendDebugCaptureResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +} +} +}, +"messages": { +"methods": { +"list": { +"description": "Request the job status. To request the status of a job, we recommend using `projects.locations.jobs.messages.list` with a [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints). Using `projects.jobs.messages.list` is not recommended, as you can only request the status of jobs that are running in `us-central1`.", +"flatPath": "v1b3/projects/{projectId}/jobs/{jobId}/messages", +"httpMethod": "GET", +"id": "dataflow.projects.jobs.messages.list", +"parameterOrder": [ +"projectId", +"jobId" +], +"parameters": { +"endTime": { +"description": "Return only messages with timestamps < end_time. The default is now (i.e. return up to the latest messages available).", +"format": "google-datetime", +"location": "query", +"type": "string" +}, +"jobId": { +"description": "The job to get messages about.", +"location": "path", +"required": true, +"type": "string" +}, +"location": { +"description": "The [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) that contains the job specified by job_id.", +"location": "query", +"type": "string" +}, +"minimumImportance": { +"description": "Filter to only get messages with importance >= level", +"enum": [ +"JOB_MESSAGE_IMPORTANCE_UNKNOWN", +"JOB_MESSAGE_DEBUG", +"JOB_MESSAGE_DETAILED", +"JOB_MESSAGE_BASIC", +"JOB_MESSAGE_WARNING", +"JOB_MESSAGE_ERROR" +], +"enumDescriptions": [ +"The message importance isn't specified, or is unknown.", +"The message is at the 'debug' level: typically only useful for software engineers working on the code the job is running. Typically, Dataflow pipeline runners do not display log messages at this level by default.", +"The message is at the 'detailed' level: somewhat verbose, but potentially useful to users. Typically, Dataflow pipeline runners do not display log messages at this level by default. These messages are displayed by default in the Dataflow monitoring UI.", +"The message is at the 'basic' level: useful for keeping track of the execution of a Dataflow pipeline. Typically, Dataflow pipeline runners display log messages at this level by default, and these messages are displayed by default in the Dataflow monitoring UI.", +"The message is at the 'warning' level: indicating a condition pertaining to a job which may require human intervention. Typically, Dataflow pipeline runners display log messages at this level by default, and these messages are displayed by default in the Dataflow monitoring UI.", +"The message is at the 'error' level: indicating a condition preventing a job from succeeding. Typically, Dataflow pipeline runners display log messages at this level by default, and these messages are displayed by default in the Dataflow monitoring UI." +], +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "If specified, determines the maximum number of messages to return. If unspecified, the service may choose an appropriate default, or may return an arbitrarily large number of results.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "If supplied, this should be the value of next_page_token returned by an earlier call. This will cause the next page of results to be returned.", +"location": "query", +"type": "string" +}, +"projectId": { +"description": "A project id.", +"location": "path", +"required": true, +"type": "string" +}, +"startTime": { +"description": "If specified, return only messages with timestamps >= start_time. The default is the job creation time (i.e. beginning of messages).", +"format": "google-datetime", +"location": "query", +"type": "string" +} +}, +"path": "v1b3/projects/{projectId}/jobs/{jobId}/messages", +"response": { +"$ref": "ListJobMessagesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +} +} +}, +"workItems": { +"methods": { +"lease": { +"description": "Leases a dataflow WorkItem to run.", +"flatPath": "v1b3/projects/{projectId}/jobs/{jobId}/workItems:lease", +"httpMethod": "POST", +"id": "dataflow.projects.jobs.workItems.lease", +"parameterOrder": [ +"projectId", +"jobId" +], +"parameters": { +"jobId": { +"description": "Identifies the workflow job this worker belongs to.", +"location": "path", +"required": true, +"type": "string" +}, +"projectId": { +"description": "Identifies the project this worker belongs to.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v1b3/projects/{projectId}/jobs/{jobId}/workItems:lease", +"request": { +"$ref": "LeaseWorkItemRequest" +}, +"response": { +"$ref": "LeaseWorkItemResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"reportStatus": { +"description": "Reports the status of dataflow WorkItems leased by a worker.", +"flatPath": "v1b3/projects/{projectId}/jobs/{jobId}/workItems:reportStatus", +"httpMethod": "POST", +"id": "dataflow.projects.jobs.workItems.reportStatus", +"parameterOrder": [ +"projectId", +"jobId" +], +"parameters": { +"jobId": { +"description": "The job which the WorkItem is part of.", +"location": "path", +"required": true, +"type": "string" +}, +"projectId": { +"description": "The project which owns the WorkItem's job.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v1b3/projects/{projectId}/jobs/{jobId}/workItems:reportStatus", +"request": { +"$ref": "ReportWorkItemStatusRequest" +}, +"response": { +"$ref": "ReportWorkItemStatusResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +} +} +} +} +}, +"locations": { +"methods": { +"workerMessages": { +"description": "Send a worker_message to the service.", +"flatPath": "v1b3/projects/{projectId}/locations/{location}/WorkerMessages", +"httpMethod": "POST", +"id": "dataflow.projects.locations.workerMessages", +"parameterOrder": [ +"projectId", +"location" +], +"parameters": { +"location": { +"description": "The [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) that contains the job.", +"location": "path", +"required": true, +"type": "string" +}, +"projectId": { +"description": "The project to send the WorkerMessages to.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v1b3/projects/{projectId}/locations/{location}/WorkerMessages", +"request": { +"$ref": "SendWorkerMessagesRequest" +}, +"response": { +"$ref": "SendWorkerMessagesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +} +}, +"resources": { +"flexTemplates": { +"methods": { +"launch": { +"description": "Launch a job with a FlexTemplate.", +"flatPath": "v1b3/projects/{projectId}/locations/{location}/flexTemplates:launch", +"httpMethod": "POST", +"id": "dataflow.projects.locations.flexTemplates.launch", +"parameterOrder": [ +"projectId", +"location" +], +"parameters": { +"location": { +"description": "Required. The [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) to which to direct the request. E.g., us-central1, us-west1.", +"location": "path", +"required": true, +"type": "string" +}, +"projectId": { +"description": "Required. The ID of the Cloud Platform project that the job belongs to.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v1b3/projects/{projectId}/locations/{location}/flexTemplates:launch", +"request": { +"$ref": "LaunchFlexTemplateRequest" +}, +"response": { +"$ref": "LaunchFlexTemplateResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +} +} +}, +"jobs": { +"methods": { +"create": { +"description": "Creates a Dataflow job. To create a job, we recommend using `projects.locations.jobs.create` with a [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints). Using `projects.jobs.create` is not recommended, as your job will always start in `us-central1`. Do not enter confidential information when you supply string values using the API.", +"flatPath": "v1b3/projects/{projectId}/locations/{location}/jobs", +"httpMethod": "POST", +"id": "dataflow.projects.locations.jobs.create", +"parameterOrder": [ +"projectId", +"location" +], +"parameters": { +"location": { +"description": "The [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) that contains this job.", +"location": "path", +"required": true, +"type": "string" +}, +"projectId": { +"description": "The ID of the Cloud Platform project that the job belongs to.", +"location": "path", +"required": true, +"type": "string" +}, +"replaceJobId": { +"description": "Deprecated. This field is now in the Job message.", +"location": "query", +"type": "string" +}, +"view": { +"description": "The level of information requested in response.", +"enum": [ +"JOB_VIEW_UNKNOWN", +"JOB_VIEW_SUMMARY", +"JOB_VIEW_ALL", +"JOB_VIEW_DESCRIPTION" +], +"enumDescriptions": [ +"The job view to return isn't specified, or is unknown. Responses will contain at least the `JOB_VIEW_SUMMARY` information, and may contain additional information.", +"Request summary information only: Project ID, Job ID, job name, job type, job status, start/end time, and Cloud SDK version details.", +"Request all information available for this job. When the job is in `JOB_STATE_PENDING`, the job has been created but is not yet running, and not all job information is available. For complete job information, wait until the job in is `JOB_STATE_RUNNING`. For more information, see [JobState](https://cloud.google.com/dataflow/docs/reference/rest/v1b3/projects.jobs#jobstate).", +"Request summary info and limited job description data for steps, labels and environment." +], +"location": "query", +"type": "string" +} +}, +"path": "v1b3/projects/{projectId}/locations/{location}/jobs", +"request": { +"$ref": "Job" +}, +"response": { +"$ref": "Job" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"get": { +"description": "Gets the state of the specified Cloud Dataflow job. To get the state of a job, we recommend using `projects.locations.jobs.get` with a [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints). Using `projects.jobs.get` is not recommended, as you can only get the state of jobs that are running in `us-central1`.", +"flatPath": "v1b3/projects/{projectId}/locations/{location}/jobs/{jobId}", +"httpMethod": "GET", +"id": "dataflow.projects.locations.jobs.get", +"parameterOrder": [ +"projectId", +"location", +"jobId" +], +"parameters": { +"jobId": { +"description": "The job ID.", +"location": "path", +"required": true, +"type": "string" +}, +"location": { +"description": "The [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) that contains this job.", +"location": "path", +"required": true, +"type": "string" +}, +"projectId": { +"description": "The ID of the Cloud Platform project that the job belongs to.", +"location": "path", +"required": true, +"type": "string" +}, +"view": { +"description": "The level of information requested in response.", +"enum": [ +"JOB_VIEW_UNKNOWN", +"JOB_VIEW_SUMMARY", +"JOB_VIEW_ALL", +"JOB_VIEW_DESCRIPTION" +], +"enumDescriptions": [ +"The job view to return isn't specified, or is unknown. Responses will contain at least the `JOB_VIEW_SUMMARY` information, and may contain additional information.", +"Request summary information only: Project ID, Job ID, job name, job type, job status, start/end time, and Cloud SDK version details.", +"Request all information available for this job. When the job is in `JOB_STATE_PENDING`, the job has been created but is not yet running, and not all job information is available. For complete job information, wait until the job in is `JOB_STATE_RUNNING`. For more information, see [JobState](https://cloud.google.com/dataflow/docs/reference/rest/v1b3/projects.jobs#jobstate).", +"Request summary info and limited job description data for steps, labels and environment." +], +"location": "query", +"type": "string" +} +}, +"path": "v1b3/projects/{projectId}/locations/{location}/jobs/{jobId}", +"response": { +"$ref": "Job" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"getExecutionDetails": { +"description": "Request detailed information about the execution status of the job. EXPERIMENTAL. This API is subject to change or removal without notice.", +"flatPath": "v1b3/projects/{projectId}/locations/{location}/jobs/{jobId}/executionDetails", +"httpMethod": "GET", +"id": "dataflow.projects.locations.jobs.getExecutionDetails", +"parameterOrder": [ +"projectId", +"location", +"jobId" +], +"parameters": { +"jobId": { +"description": "The job to get execution details for.", +"location": "path", +"required": true, +"type": "string" +}, +"location": { +"description": "The [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) that contains the job specified by job_id.", +"location": "path", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "If specified, determines the maximum number of stages to return. If unspecified, the service may choose an appropriate default, or may return an arbitrarily large number of results.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "If supplied, this should be the value of next_page_token returned by an earlier call. This will cause the next page of results to be returned.", +"location": "query", +"type": "string" +}, +"projectId": { +"description": "A project id.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v1b3/projects/{projectId}/locations/{location}/jobs/{jobId}/executionDetails", +"response": { +"$ref": "JobExecutionDetails" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"getMetrics": { +"description": "Request the job status. To request the status of a job, we recommend using `projects.locations.jobs.getMetrics` with a [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints). Using `projects.jobs.getMetrics` is not recommended, as you can only request the status of jobs that are running in `us-central1`.", +"flatPath": "v1b3/projects/{projectId}/locations/{location}/jobs/{jobId}/metrics", +"httpMethod": "GET", +"id": "dataflow.projects.locations.jobs.getMetrics", +"parameterOrder": [ +"projectId", +"location", +"jobId" +], +"parameters": { +"jobId": { +"description": "The job to get metrics for.", +"location": "path", +"required": true, +"type": "string" +}, +"location": { +"description": "The [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) that contains the job specified by job_id.", +"location": "path", +"required": true, +"type": "string" +}, +"projectId": { +"description": "A project id.", +"location": "path", +"required": true, +"type": "string" +}, +"startTime": { +"description": "Return only metric data that has changed since this time. Default is to return all information about all metrics for the job.", +"format": "google-datetime", +"location": "query", +"type": "string" +} +}, +"path": "v1b3/projects/{projectId}/locations/{location}/jobs/{jobId}/metrics", +"response": { +"$ref": "JobMetrics" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"list": { +"description": "List the jobs of a project. To list the jobs of a project in a region, we recommend using `projects.locations.jobs.list` with a [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints). To list the all jobs across all regions, use `projects.jobs.aggregated`. Using `projects.jobs.list` is not recommended, because you can only get the list of jobs that are running in `us-central1`. `projects.locations.jobs.list` and `projects.jobs.list` support filtering the list of jobs by name. Filtering by name isn't supported by `projects.jobs.aggregated`.", +"flatPath": "v1b3/projects/{projectId}/locations/{location}/jobs", +"httpMethod": "GET", +"id": "dataflow.projects.locations.jobs.list", +"parameterOrder": [ +"projectId", +"location" +], +"parameters": { +"filter": { +"description": "The kind of filter to use.", +"enum": [ +"UNKNOWN", +"ALL", +"TERMINATED", +"ACTIVE" +], +"enumDescriptions": [ +"The filter isn't specified, or is unknown. This returns all jobs ordered on descending `JobUuid`.", +"Returns all running jobs first ordered on creation timestamp, then returns all terminated jobs ordered on the termination timestamp.", +"Filters the jobs that have a terminated state, ordered on the termination timestamp. Example terminated states: `JOB_STATE_STOPPED`, `JOB_STATE_UPDATED`, `JOB_STATE_DRAINED`, etc.", +"Filters the jobs that are running ordered on the creation timestamp." +], +"location": "query", +"type": "string" +}, +"location": { +"description": "The [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) that contains this job.", +"location": "path", +"required": true, +"type": "string" +}, +"name": { +"description": "Optional. The job name.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "If there are many jobs, limit response to at most this many. The actual number of jobs returned will be the lesser of max_responses and an unspecified server-defined limit.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Set this to the 'next_page_token' field of a previous response to request additional results in a long list.", +"location": "query", +"type": "string" +}, +"projectId": { +"description": "The project which owns the jobs.", +"location": "path", +"required": true, +"type": "string" +}, +"view": { +"deprecated": true, +"description": "Deprecated. ListJobs always returns summaries now. Use GetJob for other JobViews.", +"enum": [ +"JOB_VIEW_UNKNOWN", +"JOB_VIEW_SUMMARY", +"JOB_VIEW_ALL", +"JOB_VIEW_DESCRIPTION" +], +"enumDescriptions": [ +"The job view to return isn't specified, or is unknown. Responses will contain at least the `JOB_VIEW_SUMMARY` information, and may contain additional information.", +"Request summary information only: Project ID, Job ID, job name, job type, job status, start/end time, and Cloud SDK version details.", +"Request all information available for this job. When the job is in `JOB_STATE_PENDING`, the job has been created but is not yet running, and not all job information is available. For complete job information, wait until the job in is `JOB_STATE_RUNNING`. For more information, see [JobState](https://cloud.google.com/dataflow/docs/reference/rest/v1b3/projects.jobs#jobstate).", +"Request summary info and limited job description data for steps, labels and environment." +], +"location": "query", +"type": "string" +} +}, +"path": "v1b3/projects/{projectId}/locations/{location}/jobs", +"response": { +"$ref": "ListJobsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"snapshot": { +"description": "Snapshot the state of a streaming job.", +"flatPath": "v1b3/projects/{projectId}/locations/{location}/jobs/{jobId}:snapshot", +"httpMethod": "POST", +"id": "dataflow.projects.locations.jobs.snapshot", +"parameterOrder": [ +"projectId", +"location", +"jobId" +], +"parameters": { +"jobId": { +"description": "The job to be snapshotted.", +"location": "path", +"required": true, +"type": "string" +}, +"location": { +"description": "The location that contains this job.", +"location": "path", +"required": true, +"type": "string" +}, +"projectId": { +"description": "The project which owns the job to be snapshotted.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v1b3/projects/{projectId}/locations/{location}/jobs/{jobId}:snapshot", +"request": { +"$ref": "SnapshotJobRequest" +}, +"response": { +"$ref": "Snapshot" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"update": { +"description": "Updates the state of an existing Cloud Dataflow job. To update the state of an existing job, we recommend using `projects.locations.jobs.update` with a [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints). Using `projects.jobs.update` is not recommended, as you can only update the state of jobs that are running in `us-central1`.", +"flatPath": "v1b3/projects/{projectId}/locations/{location}/jobs/{jobId}", +"httpMethod": "PUT", +"id": "dataflow.projects.locations.jobs.update", +"parameterOrder": [ +"projectId", +"location", +"jobId" +], +"parameters": { +"jobId": { +"description": "The job ID.", +"location": "path", +"required": true, +"type": "string" +}, +"location": { +"description": "The [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) that contains this job.", +"location": "path", +"required": true, +"type": "string" +}, +"projectId": { +"description": "The ID of the Cloud Platform project that the job belongs to.", +"location": "path", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "The list of fields to update relative to Job. If empty, only RequestedJobState will be considered for update. If the FieldMask is not empty and RequestedJobState is none/empty, The fields specified in the update mask will be the only ones considered for update. If both RequestedJobState and update_mask are specified, an error will be returned as we cannot update both state and mask.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1b3/projects/{projectId}/locations/{location}/jobs/{jobId}", +"request": { +"$ref": "Job" +}, +"response": { +"$ref": "Job" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +} +}, +"resources": { +"debug": { +"methods": { +"getConfig": { +"description": "Get encoded debug configuration for component. Not cacheable.", +"flatPath": "v1b3/projects/{projectId}/locations/{location}/jobs/{jobId}/debug/getConfig", +"httpMethod": "POST", +"id": "dataflow.projects.locations.jobs.debug.getConfig", +"parameterOrder": [ +"projectId", +"location", +"jobId" +], +"parameters": { +"jobId": { +"description": "The job id.", +"location": "path", +"required": true, +"type": "string" +}, +"location": { +"description": "The [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) that contains the job specified by job_id.", +"location": "path", +"required": true, +"type": "string" +}, +"projectId": { +"description": "The project id.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v1b3/projects/{projectId}/locations/{location}/jobs/{jobId}/debug/getConfig", +"request": { +"$ref": "GetDebugConfigRequest" +}, +"response": { +"$ref": "GetDebugConfigResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"getWorkerStacktraces": { +"description": "Get worker stacktraces from debug capture.", +"flatPath": "v1b3/projects/{projectId}/locations/{location}/jobs/{jobId}/debug/getWorkerStacktraces", +"httpMethod": "POST", +"id": "dataflow.projects.locations.jobs.debug.getWorkerStacktraces", +"parameterOrder": [ +"projectId", +"location", +"jobId" +], +"parameters": { +"jobId": { +"description": "The job for which to get stacktraces.", +"location": "path", +"required": true, +"type": "string" +}, +"location": { +"description": "The [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) that contains the job specified by job_id.", +"location": "path", +"required": true, +"type": "string" +}, +"projectId": { +"description": "The project id.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v1b3/projects/{projectId}/locations/{location}/jobs/{jobId}/debug/getWorkerStacktraces", +"request": { +"$ref": "GetWorkerStacktracesRequest" +}, +"response": { +"$ref": "GetWorkerStacktracesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"sendCapture": { +"description": "Send encoded debug capture data for component.", +"flatPath": "v1b3/projects/{projectId}/locations/{location}/jobs/{jobId}/debug/sendCapture", +"httpMethod": "POST", +"id": "dataflow.projects.locations.jobs.debug.sendCapture", +"parameterOrder": [ +"projectId", +"location", +"jobId" +], +"parameters": { +"jobId": { +"description": "The job id.", +"location": "path", +"required": true, +"type": "string" +}, +"location": { +"description": "The [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) that contains the job specified by job_id.", +"location": "path", +"required": true, +"type": "string" +}, +"projectId": { +"description": "The project id.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v1b3/projects/{projectId}/locations/{location}/jobs/{jobId}/debug/sendCapture", +"request": { +"$ref": "SendDebugCaptureRequest" +}, +"response": { +"$ref": "SendDebugCaptureResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +} +} +}, +"messages": { +"methods": { +"list": { +"description": "Request the job status. To request the status of a job, we recommend using `projects.locations.jobs.messages.list` with a [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints). Using `projects.jobs.messages.list` is not recommended, as you can only request the status of jobs that are running in `us-central1`.", +"flatPath": "v1b3/projects/{projectId}/locations/{location}/jobs/{jobId}/messages", +"httpMethod": "GET", +"id": "dataflow.projects.locations.jobs.messages.list", +"parameterOrder": [ +"projectId", +"location", +"jobId" +], +"parameters": { +"endTime": { +"description": "Return only messages with timestamps < end_time. The default is now (i.e. return up to the latest messages available).", +"format": "google-datetime", +"location": "query", +"type": "string" +}, +"jobId": { +"description": "The job to get messages about.", +"location": "path", +"required": true, +"type": "string" +}, +"location": { +"description": "The [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) that contains the job specified by job_id.", +"location": "path", +"required": true, +"type": "string" +}, +"minimumImportance": { +"description": "Filter to only get messages with importance >= level", +"enum": [ +"JOB_MESSAGE_IMPORTANCE_UNKNOWN", +"JOB_MESSAGE_DEBUG", +"JOB_MESSAGE_DETAILED", +"JOB_MESSAGE_BASIC", +"JOB_MESSAGE_WARNING", +"JOB_MESSAGE_ERROR" +], +"enumDescriptions": [ +"The message importance isn't specified, or is unknown.", +"The message is at the 'debug' level: typically only useful for software engineers working on the code the job is running. Typically, Dataflow pipeline runners do not display log messages at this level by default.", +"The message is at the 'detailed' level: somewhat verbose, but potentially useful to users. Typically, Dataflow pipeline runners do not display log messages at this level by default. These messages are displayed by default in the Dataflow monitoring UI.", +"The message is at the 'basic' level: useful for keeping track of the execution of a Dataflow pipeline. Typically, Dataflow pipeline runners display log messages at this level by default, and these messages are displayed by default in the Dataflow monitoring UI.", +"The message is at the 'warning' level: indicating a condition pertaining to a job which may require human intervention. Typically, Dataflow pipeline runners display log messages at this level by default, and these messages are displayed by default in the Dataflow monitoring UI.", +"The message is at the 'error' level: indicating a condition preventing a job from succeeding. Typically, Dataflow pipeline runners display log messages at this level by default, and these messages are displayed by default in the Dataflow monitoring UI." +], +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "If specified, determines the maximum number of messages to return. If unspecified, the service may choose an appropriate default, or may return an arbitrarily large number of results.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "If supplied, this should be the value of next_page_token returned by an earlier call. This will cause the next page of results to be returned.", +"location": "query", +"type": "string" +}, +"projectId": { +"description": "A project id.", +"location": "path", +"required": true, +"type": "string" +}, +"startTime": { +"description": "If specified, return only messages with timestamps >= start_time. The default is the job creation time (i.e. beginning of messages).", +"format": "google-datetime", +"location": "query", +"type": "string" +} +}, +"path": "v1b3/projects/{projectId}/locations/{location}/jobs/{jobId}/messages", +"response": { +"$ref": "ListJobMessagesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +} +} +}, +"snapshots": { +"methods": { +"list": { +"description": "Lists snapshots.", +"flatPath": "v1b3/projects/{projectId}/locations/{location}/jobs/{jobId}/snapshots", +"httpMethod": "GET", +"id": "dataflow.projects.locations.jobs.snapshots.list", +"parameterOrder": [ +"projectId", +"location", +"jobId" +], +"parameters": { +"jobId": { +"description": "If specified, list snapshots created from this job.", +"location": "path", +"required": true, +"type": "string" +}, +"location": { +"description": "The location to list snapshots in.", +"location": "path", +"required": true, +"type": "string" +}, +"projectId": { +"description": "The project ID to list snapshots for.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v1b3/projects/{projectId}/locations/{location}/jobs/{jobId}/snapshots", +"response": { +"$ref": "ListSnapshotsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +} +} +}, +"stages": { +"methods": { +"getExecutionDetails": { +"description": "Request detailed information about the execution status of a stage of the job. EXPERIMENTAL. This API is subject to change or removal without notice.", +"flatPath": "v1b3/projects/{projectId}/locations/{location}/jobs/{jobId}/stages/{stageId}/executionDetails", +"httpMethod": "GET", +"id": "dataflow.projects.locations.jobs.stages.getExecutionDetails", +"parameterOrder": [ +"projectId", +"location", +"jobId", +"stageId" +], +"parameters": { +"endTime": { +"description": "Upper time bound of work items to include, by start time.", +"format": "google-datetime", +"location": "query", +"type": "string" +}, +"jobId": { +"description": "The job to get execution details for.", +"location": "path", +"required": true, +"type": "string" +}, +"location": { +"description": "The [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) that contains the job specified by job_id.", +"location": "path", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "If specified, determines the maximum number of work items to return. If unspecified, the service may choose an appropriate default, or may return an arbitrarily large number of results.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "If supplied, this should be the value of next_page_token returned by an earlier call. This will cause the next page of results to be returned.", +"location": "query", +"type": "string" +}, +"projectId": { +"description": "A project id.", +"location": "path", +"required": true, +"type": "string" +}, +"stageId": { +"description": "The stage for which to fetch information.", +"location": "path", +"required": true, +"type": "string" +}, +"startTime": { +"description": "Lower time bound of work items to include, by start time.", +"format": "google-datetime", +"location": "query", +"type": "string" +} +}, +"path": "v1b3/projects/{projectId}/locations/{location}/jobs/{jobId}/stages/{stageId}/executionDetails", +"response": { +"$ref": "StageExecutionDetails" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +} +} +}, +"workItems": { +"methods": { +"lease": { +"description": "Leases a dataflow WorkItem to run.", +"flatPath": "v1b3/projects/{projectId}/locations/{location}/jobs/{jobId}/workItems:lease", +"httpMethod": "POST", +"id": "dataflow.projects.locations.jobs.workItems.lease", +"parameterOrder": [ +"projectId", +"location", +"jobId" +], +"parameters": { +"jobId": { +"description": "Identifies the workflow job this worker belongs to.", +"location": "path", +"required": true, +"type": "string" +}, +"location": { +"description": "The [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) that contains the WorkItem's job.", +"location": "path", +"required": true, +"type": "string" +}, +"projectId": { +"description": "Identifies the project this worker belongs to.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v1b3/projects/{projectId}/locations/{location}/jobs/{jobId}/workItems:lease", +"request": { +"$ref": "LeaseWorkItemRequest" +}, +"response": { +"$ref": "LeaseWorkItemResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"reportStatus": { +"description": "Reports the status of dataflow WorkItems leased by a worker.", +"flatPath": "v1b3/projects/{projectId}/locations/{location}/jobs/{jobId}/workItems:reportStatus", +"httpMethod": "POST", +"id": "dataflow.projects.locations.jobs.workItems.reportStatus", +"parameterOrder": [ +"projectId", +"location", +"jobId" +], +"parameters": { +"jobId": { +"description": "The job which the WorkItem is part of.", +"location": "path", +"required": true, +"type": "string" +}, +"location": { +"description": "The [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) that contains the WorkItem's job.", +"location": "path", +"required": true, +"type": "string" +}, +"projectId": { +"description": "The project which owns the WorkItem's job.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v1b3/projects/{projectId}/locations/{location}/jobs/{jobId}/workItems:reportStatus", +"request": { +"$ref": "ReportWorkItemStatusRequest" +}, +"response": { +"$ref": "ReportWorkItemStatusResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +} +} +} +} +}, +"snapshots": { +"methods": { +"delete": { +"description": "Deletes a snapshot.", +"flatPath": "v1b3/projects/{projectId}/locations/{location}/snapshots/{snapshotId}", +"httpMethod": "DELETE", +"id": "dataflow.projects.locations.snapshots.delete", +"parameterOrder": [ +"projectId", +"location", +"snapshotId" +], +"parameters": { +"location": { +"description": "The location that contains this snapshot.", +"location": "path", +"required": true, +"type": "string" +}, +"projectId": { +"description": "The ID of the Cloud Platform project that the snapshot belongs to.", +"location": "path", +"required": true, +"type": "string" +}, +"snapshotId": { +"description": "The ID of the snapshot.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v1b3/projects/{projectId}/locations/{location}/snapshots/{snapshotId}", +"response": { +"$ref": "DeleteSnapshotResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"get": { +"description": "Gets information about a snapshot.", +"flatPath": "v1b3/projects/{projectId}/locations/{location}/snapshots/{snapshotId}", +"httpMethod": "GET", +"id": "dataflow.projects.locations.snapshots.get", +"parameterOrder": [ +"projectId", +"location", +"snapshotId" +], +"parameters": { +"location": { +"description": "The location that contains this snapshot.", +"location": "path", +"required": true, +"type": "string" +}, +"projectId": { +"description": "The ID of the Cloud Platform project that the snapshot belongs to.", +"location": "path", +"required": true, +"type": "string" +}, +"snapshotId": { +"description": "The ID of the snapshot.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v1b3/projects/{projectId}/locations/{location}/snapshots/{snapshotId}", +"response": { +"$ref": "Snapshot" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"list": { +"description": "Lists snapshots.", +"flatPath": "v1b3/projects/{projectId}/locations/{location}/snapshots", +"httpMethod": "GET", +"id": "dataflow.projects.locations.snapshots.list", +"parameterOrder": [ +"projectId", +"location" +], +"parameters": { +"jobId": { +"description": "If specified, list snapshots created from this job.", +"location": "query", +"type": "string" +}, +"location": { +"description": "The location to list snapshots in.", +"location": "path", +"required": true, +"type": "string" +}, +"projectId": { +"description": "The project ID to list snapshots for.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v1b3/projects/{projectId}/locations/{location}/snapshots", +"response": { +"$ref": "ListSnapshotsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +} +} +}, +"templates": { +"methods": { +"create": { +"description": "Creates a Cloud Dataflow job from a template. Do not enter confidential information when you supply string values using the API. To create a job, we recommend using `projects.locations.templates.create` with a [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints). Using `projects.templates.create` is not recommended, because your job will always start in `us-central1`.", +"flatPath": "v1b3/projects/{projectId}/locations/{location}/templates", +"httpMethod": "POST", +"id": "dataflow.projects.locations.templates.create", +"parameterOrder": [ +"projectId", +"location" +], +"parameters": { +"location": { +"description": "The [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) to which to direct the request.", +"location": "path", +"required": true, +"type": "string" +}, +"projectId": { +"description": "Required. The ID of the Cloud Platform project that the job belongs to.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v1b3/projects/{projectId}/locations/{location}/templates", +"request": { +"$ref": "CreateJobFromTemplateRequest" +}, +"response": { +"$ref": "Job" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"get": { +"description": "Get the template associated with a template. To get the template, we recommend using `projects.locations.templates.get` with a [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints). Using `projects.templates.get` is not recommended, because only templates that are running in `us-central1` are retrieved.", +"flatPath": "v1b3/projects/{projectId}/locations/{location}/templates:get", +"httpMethod": "GET", +"id": "dataflow.projects.locations.templates.get", +"parameterOrder": [ +"projectId", +"location" +], +"parameters": { +"gcsPath": { +"description": "Required. A Cloud Storage path to the template from which to create the job. Must be valid Cloud Storage URL, beginning with 'gs://'.", +"location": "query", +"type": "string" +}, +"location": { +"description": "The [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) to which to direct the request.", +"location": "path", +"required": true, +"type": "string" +}, +"projectId": { +"description": "Required. The ID of the Cloud Platform project that the job belongs to.", +"location": "path", +"required": true, +"type": "string" +}, +"view": { +"description": "The view to retrieve. Defaults to METADATA_ONLY.", +"enum": [ +"METADATA_ONLY" +], +"enumDescriptions": [ +"Template view that retrieves only the metadata associated with the template." +], +"location": "query", +"type": "string" +} +}, +"path": "v1b3/projects/{projectId}/locations/{location}/templates:get", +"response": { +"$ref": "GetTemplateResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"launch": { +"description": "Launches a template. To launch a template, we recommend using `projects.locations.templates.launch` with a [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints). Using `projects.templates.launch` is not recommended, because jobs launched from the template will always start in `us-central1`.", +"flatPath": "v1b3/projects/{projectId}/locations/{location}/templates:launch", +"httpMethod": "POST", +"id": "dataflow.projects.locations.templates.launch", +"parameterOrder": [ +"projectId", +"location" +], +"parameters": { +"dynamicTemplate.gcsPath": { +"description": "Path to the dynamic template specification file on Cloud Storage. The file must be a JSON serialized `DynamicTemplateFileSpec` object.", +"location": "query", +"type": "string" +}, +"dynamicTemplate.stagingLocation": { +"description": "Cloud Storage path for staging dependencies. Must be a valid Cloud Storage URL, beginning with `gs://`.", +"location": "query", +"type": "string" +}, +"gcsPath": { +"description": "A Cloud Storage path to the template to use to create the job. Must be valid Cloud Storage URL, beginning with `gs://`.", +"location": "query", +"type": "string" +}, +"location": { +"description": "The [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) to which to direct the request.", +"location": "path", +"required": true, +"type": "string" +}, +"projectId": { +"description": "Required. The ID of the Cloud Platform project that the job belongs to.", +"location": "path", +"required": true, +"type": "string" +}, +"validateOnly": { +"description": "If true, the request is validated but not actually executed. Defaults to false.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1b3/projects/{projectId}/locations/{location}/templates:launch", +"request": { +"$ref": "LaunchTemplateParameters" +}, +"response": { +"$ref": "LaunchTemplateResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +} +} +} +} +}, +"snapshots": { +"methods": { +"get": { +"description": "Gets information about a snapshot.", +"flatPath": "v1b3/projects/{projectId}/snapshots/{snapshotId}", +"httpMethod": "GET", +"id": "dataflow.projects.snapshots.get", +"parameterOrder": [ +"projectId", +"snapshotId" +], +"parameters": { +"location": { +"description": "The location that contains this snapshot.", +"location": "query", +"type": "string" +}, +"projectId": { +"description": "The ID of the Cloud Platform project that the snapshot belongs to.", +"location": "path", +"required": true, +"type": "string" +}, +"snapshotId": { +"description": "The ID of the snapshot.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v1b3/projects/{projectId}/snapshots/{snapshotId}", +"response": { +"$ref": "Snapshot" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"list": { +"description": "Lists snapshots.", +"flatPath": "v1b3/projects/{projectId}/snapshots", +"httpMethod": "GET", +"id": "dataflow.projects.snapshots.list", +"parameterOrder": [ +"projectId" +], +"parameters": { +"jobId": { +"description": "If specified, list snapshots created from this job.", +"location": "query", +"type": "string" +}, +"location": { +"description": "The location to list snapshots in.", +"location": "query", +"type": "string" +}, +"projectId": { +"description": "The project ID to list snapshots for.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v1b3/projects/{projectId}/snapshots", +"response": { +"$ref": "ListSnapshotsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +} +} +}, +"templates": { +"methods": { +"create": { +"description": "Creates a Cloud Dataflow job from a template. Do not enter confidential information when you supply string values using the API. To create a job, we recommend using `projects.locations.templates.create` with a [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints). Using `projects.templates.create` is not recommended, because your job will always start in `us-central1`.", +"flatPath": "v1b3/projects/{projectId}/templates", +"httpMethod": "POST", +"id": "dataflow.projects.templates.create", +"parameterOrder": [ +"projectId" +], +"parameters": { +"projectId": { +"description": "Required. The ID of the Cloud Platform project that the job belongs to.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v1b3/projects/{projectId}/templates", +"request": { +"$ref": "CreateJobFromTemplateRequest" +}, +"response": { +"$ref": "Job" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"get": { +"description": "Get the template associated with a template. To get the template, we recommend using `projects.locations.templates.get` with a [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints). Using `projects.templates.get` is not recommended, because only templates that are running in `us-central1` are retrieved.", +"flatPath": "v1b3/projects/{projectId}/templates:get", +"httpMethod": "GET", +"id": "dataflow.projects.templates.get", +"parameterOrder": [ +"projectId" +], +"parameters": { +"gcsPath": { +"description": "Required. A Cloud Storage path to the template from which to create the job. Must be valid Cloud Storage URL, beginning with 'gs://'.", +"location": "query", +"type": "string" +}, +"location": { +"description": "The [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) to which to direct the request.", +"location": "query", +"type": "string" +}, +"projectId": { +"description": "Required. The ID of the Cloud Platform project that the job belongs to.", +"location": "path", +"required": true, +"type": "string" +}, +"view": { +"description": "The view to retrieve. Defaults to METADATA_ONLY.", +"enum": [ +"METADATA_ONLY" +], +"enumDescriptions": [ +"Template view that retrieves only the metadata associated with the template." +], +"location": "query", +"type": "string" +} +}, +"path": "v1b3/projects/{projectId}/templates:get", +"response": { +"$ref": "GetTemplateResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"launch": { +"description": "Launches a template. To launch a template, we recommend using `projects.locations.templates.launch` with a [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints). Using `projects.templates.launch` is not recommended, because jobs launched from the template will always start in `us-central1`.", +"flatPath": "v1b3/projects/{projectId}/templates:launch", +"httpMethod": "POST", +"id": "dataflow.projects.templates.launch", +"parameterOrder": [ +"projectId" +], +"parameters": { +"dynamicTemplate.gcsPath": { +"description": "Path to the dynamic template specification file on Cloud Storage. The file must be a JSON serialized `DynamicTemplateFileSpec` object.", +"location": "query", +"type": "string" +}, +"dynamicTemplate.stagingLocation": { +"description": "Cloud Storage path for staging dependencies. Must be a valid Cloud Storage URL, beginning with `gs://`.", +"location": "query", +"type": "string" +}, +"gcsPath": { +"description": "A Cloud Storage path to the template to use to create the job. Must be valid Cloud Storage URL, beginning with `gs://`.", +"location": "query", +"type": "string" +}, +"location": { +"description": "The [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) to which to direct the request.", +"location": "query", +"type": "string" +}, +"projectId": { +"description": "Required. The ID of the Cloud Platform project that the job belongs to.", +"location": "path", +"required": true, +"type": "string" +}, +"validateOnly": { +"description": "If true, the request is validated but not actually executed. Defaults to false.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1b3/projects/{projectId}/templates:launch", +"request": { +"$ref": "LaunchTemplateParameters" +}, +"response": { +"$ref": "LaunchTemplateResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +} +} +} +} +} +}, +"revision": "20260213", +"rootUrl": "https://dataflow.googleapis.com/", +"schemas": { +"ApproximateProgress": { +"description": "Obsolete in favor of ApproximateReportedProgress and ApproximateSplitRequest.", +"id": "ApproximateProgress", +"properties": { +"percentComplete": { +"deprecated": true, +"description": "Obsolete.", +"format": "float", +"type": "number" +}, +"position": { +"$ref": "Position", +"deprecated": true, +"description": "Obsolete." +}, +"remainingTime": { +"deprecated": true, +"description": "Obsolete.", +"format": "google-duration", +"type": "string" +} +}, +"type": "object" +}, +"ApproximateReportedProgress": { +"description": "A progress measurement of a WorkItem by a worker.", +"id": "ApproximateReportedProgress", +"properties": { +"consumedParallelism": { +"$ref": "ReportedParallelism", +"description": "Total amount of parallelism in the portion of input of this task that has already been consumed and is no longer active. In the first two examples above (see remaining_parallelism), the value should be 29 or 2 respectively. The sum of remaining_parallelism and consumed_parallelism should equal the total amount of parallelism in this work item. If specified, must be finite." +}, +"fractionConsumed": { +"description": "Completion as fraction of the input consumed, from 0.0 (beginning, nothing consumed), to 1.0 (end of the input, entire input consumed).", +"format": "double", +"type": "number" +}, +"position": { +"$ref": "Position", +"description": "A Position within the work to represent a progress." +}, +"remainingParallelism": { +"$ref": "ReportedParallelism", +"description": "Total amount of parallelism in the input of this task that remains, (i.e. can be delegated to this task and any new tasks via dynamic splitting). Always at least 1 for non-finished work items and 0 for finished. \"Amount of parallelism\" refers to how many non-empty parts of the input can be read in parallel. This does not necessarily equal number of records. An input that can be read in parallel down to the individual records is called \"perfectly splittable\". An example of non-perfectly parallelizable input is a block-compressed file format where a block of records has to be read as a whole, but different blocks can be read in parallel. Examples: * If we are processing record #30 (starting at 1) out of 50 in a perfectly splittable 50-record input, this value should be 21 (20 remaining + 1 current). * If we are reading through block 3 in a block-compressed file consisting of 5 blocks, this value should be 3 (since blocks 4 and 5 can be processed in parallel by new tasks via dynamic splitting and the current task remains processing block 3). * If we are reading through the last block in a block-compressed file, or reading or processing the last record in a perfectly splittable input, this value should be 1, because apart from the current task, no additional remainder can be split off." +} +}, +"type": "object" +}, +"ApproximateSplitRequest": { +"description": "A suggestion by the service to the worker to dynamically split the WorkItem.", +"id": "ApproximateSplitRequest", +"properties": { +"fractionConsumed": { +"description": "A fraction at which to split the work item, from 0.0 (beginning of the input) to 1.0 (end of the input).", +"format": "double", +"type": "number" +}, +"fractionOfRemainder": { +"description": "The fraction of the remainder of work to split the work item at, from 0.0 (split at the current position) to 1.0 (end of the input).", +"format": "double", +"type": "number" +}, +"position": { +"$ref": "Position", +"description": "A Position at which to split the work item." +} +}, +"type": "object" +}, +"AutoscalingEvent": { +"description": "A structured message reporting an autoscaling decision made by the Dataflow service.", +"id": "AutoscalingEvent", +"properties": { +"currentNumWorkers": { +"description": "The current number of workers the job has.", +"format": "int64", +"type": "string" +}, +"description": { +"$ref": "StructuredMessage", +"description": "A message describing why the system decided to adjust the current number of workers, why it failed, or why the system decided to not make any changes to the number of workers." +}, +"eventType": { +"description": "The type of autoscaling event to report.", +"enum": [ +"TYPE_UNKNOWN", +"TARGET_NUM_WORKERS_CHANGED", +"CURRENT_NUM_WORKERS_CHANGED", +"ACTUATION_FAILURE", +"NO_CHANGE" +], +"enumDescriptions": [ +"Default type for the enum. Value should never be returned.", +"The TARGET_NUM_WORKERS_CHANGED type should be used when the target worker pool size has changed at the start of an actuation. An event should always be specified as TARGET_NUM_WORKERS_CHANGED if it reflects a change in the target_num_workers.", +"The CURRENT_NUM_WORKERS_CHANGED type should be used when actual worker pool size has been changed, but the target_num_workers has not changed.", +"The ACTUATION_FAILURE type should be used when we want to report an error to the user indicating why the current number of workers in the pool could not be changed. Displayed in the current status and history widgets.", +"Used when we want to report to the user a reason why we are not currently adjusting the number of workers. Should specify both target_num_workers, current_num_workers and a decision_message." +], +"type": "string" +}, +"targetNumWorkers": { +"description": "The target number of workers the worker pool wants to resize to use.", +"format": "int64", +"type": "string" +}, +"time": { +"description": "The time this event was emitted to indicate a new target or current num_workers value.", +"format": "google-datetime", +"type": "string" +}, +"workerPool": { +"description": "A short and friendly name for the worker pool this event refers to.", +"type": "string" +} +}, +"type": "object" +}, +"AutoscalingSettings": { +"description": "Settings for WorkerPool autoscaling.", +"id": "AutoscalingSettings", +"properties": { +"algorithm": { +"description": "The algorithm to use for autoscaling.", +"enum": [ +"AUTOSCALING_ALGORITHM_UNKNOWN", +"AUTOSCALING_ALGORITHM_NONE", +"AUTOSCALING_ALGORITHM_BASIC" +], +"enumDescriptions": [ +"The algorithm is unknown, or unspecified.", +"Disable autoscaling.", +"Increase worker count over time to reduce job execution time." +], +"type": "string" +}, +"maxNumWorkers": { +"description": "The maximum number of workers to cap scaling at.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"Base2Exponent": { +"description": "Exponential buckets where the growth factor between buckets is `2**(2**-scale)`. e.g. for `scale=1` growth factor is `2**(2**(-1))=sqrt(2)`. `n` buckets will have the following boundaries. - 0th: [0, gf) - i in [1, n-1]: [gf^(i), gf^(i+1))", +"id": "Base2Exponent", +"properties": { +"numberOfBuckets": { +"description": "Must be greater than 0.", +"format": "int32", +"type": "integer" +}, +"scale": { +"description": "Must be between -3 and 3. This forces the growth factor of the bucket boundaries to be between `2^(1/8)` and `256`.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"BigQueryIODetails": { +"description": "Metadata for a BigQuery connector used by the job.", +"id": "BigQueryIODetails", +"properties": { +"dataset": { +"description": "Dataset accessed in the connection.", +"type": "string" +}, +"projectId": { +"description": "Project accessed in the connection.", +"type": "string" +}, +"query": { +"description": "Query used to access data in the connection.", +"type": "string" +}, +"table": { +"description": "Table accessed in the connection.", +"type": "string" +} +}, +"type": "object" +}, +"BigTableIODetails": { +"description": "Metadata for a Cloud Bigtable connector used by the job.", +"id": "BigTableIODetails", +"properties": { +"instanceId": { +"description": "InstanceId accessed in the connection.", +"type": "string" +}, +"projectId": { +"description": "ProjectId accessed in the connection.", +"type": "string" +}, +"tableId": { +"description": "TableId accessed in the connection.", +"type": "string" +} +}, +"type": "object" +}, +"BoundedTrie": { +"description": "The message type used for encoding metrics of type bounded trie.", +"id": "BoundedTrie", +"properties": { +"bound": { +"description": "The maximum number of elements to store before truncation.", +"format": "int32", +"type": "integer" +}, +"root": { +"$ref": "BoundedTrieNode", +"description": "A compact representation of all the elements in this trie." +}, +"singleton": { +"description": "A more efficient representation for metrics consisting of a single value.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"BoundedTrieNode": { +"description": "A single node in a BoundedTrie.", +"id": "BoundedTrieNode", +"properties": { +"children": { +"additionalProperties": { +"$ref": "BoundedTrieNode" +}, +"description": "Children of this node. Must be empty if truncated is true.", +"type": "object" +}, +"truncated": { +"description": "Whether this node has been truncated. A truncated leaf represents possibly many children with the same prefix.", +"type": "boolean" +} +}, +"type": "object" +}, +"BucketOptions": { +"description": "`BucketOptions` describes the bucket boundaries used in the histogram.", +"id": "BucketOptions", +"properties": { +"exponential": { +"$ref": "Base2Exponent", +"description": "Bucket boundaries grow exponentially." +}, +"linear": { +"$ref": "Linear", +"description": "Bucket boundaries grow linearly." +} +}, +"type": "object" +}, +"CPUTime": { +"description": "Modeled after information exposed by /proc/stat.", +"id": "CPUTime", +"properties": { +"rate": { +"description": "Average CPU utilization rate (% non-idle cpu / second) since previous sample.", +"format": "double", +"type": "number" +}, +"timestamp": { +"description": "Timestamp of the measurement.", +"format": "google-datetime", +"type": "string" +}, +"totalMs": { +"description": "Total active CPU time across all cores (ie., non-idle) in milliseconds since start-up.", +"format": "uint64", +"type": "string" +} +}, +"type": "object" +}, +"ComponentSource": { +"description": "Description of an interstitial value between transforms in an execution stage.", +"id": "ComponentSource", +"properties": { +"name": { +"description": "Dataflow service generated name for this source.", +"type": "string" +}, +"originalTransformOrCollection": { +"description": "User name for the original user transform or collection with which this source is most closely associated.", +"type": "string" +}, +"userName": { +"description": "Human-readable name for this transform; may be user or system generated.", +"type": "string" +} +}, +"type": "object" +}, +"ComponentTransform": { +"description": "Description of a transform executed as part of an execution stage.", +"id": "ComponentTransform", +"properties": { +"name": { +"description": "Dataflow service generated name for this source.", +"type": "string" +}, +"originalTransform": { +"description": "User name for the original user transform with which this transform is most closely associated.", +"type": "string" +}, +"userName": { +"description": "Human-readable name for this transform; may be user or system generated.", +"type": "string" +} +}, +"type": "object" +}, +"ComputationTopology": { +"description": "All configuration data for a particular Computation.", +"id": "ComputationTopology", +"properties": { +"computationId": { +"description": "The ID of the computation.", +"type": "string" +}, +"inputs": { +"description": "The inputs to the computation.", +"items": { +"$ref": "StreamLocation" +}, +"type": "array" +}, +"keyRanges": { +"description": "The key ranges processed by the computation.", +"items": { +"$ref": "KeyRangeLocation" +}, +"type": "array" +}, +"outputs": { +"description": "The outputs from the computation.", +"items": { +"$ref": "StreamLocation" +}, +"type": "array" +}, +"stateFamilies": { +"description": "The state family values.", +"items": { +"$ref": "StateFamilyConfig" +}, +"type": "array" +}, +"systemStageName": { +"description": "The system stage name.", +"type": "string" +} +}, +"type": "object" +}, +"ConcatPosition": { +"description": "A position that encapsulates an inner position and an index for the inner position. A ConcatPosition can be used by a reader of a source that encapsulates a set of other sources.", +"id": "ConcatPosition", +"properties": { +"index": { +"description": "Index of the inner source.", +"format": "int32", +"type": "integer" +}, +"position": { +"$ref": "Position", +"description": "Position within the inner source." +} +}, +"type": "object" +}, +"ContainerSpec": { +"description": "Container Spec.", +"id": "ContainerSpec", +"properties": { +"defaultEnvironment": { +"$ref": "FlexTemplateRuntimeEnvironment", +"description": "Default runtime environment for the job." +}, +"image": { +"description": "Name of the docker container image. E.g., gcr.io/project/some-image", +"type": "string" +}, +"imageRepositoryCertPath": { +"description": "Cloud Storage path to self-signed certificate of private registry.", +"type": "string" +}, +"imageRepositoryPasswordSecretId": { +"description": "Secret Manager secret id for password to authenticate to private registry.", +"type": "string" +}, +"imageRepositoryUsernameSecretId": { +"description": "Secret Manager secret id for username to authenticate to private registry.", +"type": "string" +}, +"metadata": { +"$ref": "TemplateMetadata", +"description": "Metadata describing a template including description and validation rules." +}, +"sdkInfo": { +"$ref": "SDKInfo", +"description": "Required. SDK info of the Flex Template." +} +}, +"type": "object" +}, +"CounterMetadata": { +"description": "CounterMetadata includes all static non-name non-value counter attributes.", +"id": "CounterMetadata", +"properties": { +"description": { +"description": "Human-readable description of the counter semantics.", +"type": "string" +}, +"kind": { +"description": "Counter aggregation kind.", +"enum": [ +"INVALID", +"SUM", +"MAX", +"MIN", +"MEAN", +"OR", +"AND", +"SET", +"DISTRIBUTION", +"LATEST_VALUE" +], +"enumDescriptions": [ +"Counter aggregation kind was not set.", +"Aggregated value is the sum of all contributed values.", +"Aggregated value is the max of all contributed values.", +"Aggregated value is the min of all contributed values.", +"Aggregated value is the mean of all contributed values.", +"Aggregated value represents the logical 'or' of all contributed values.", +"Aggregated value represents the logical 'and' of all contributed values.", +"Aggregated value is a set of unique contributed values.", +"Aggregated value captures statistics about a distribution.", +"Aggregated value tracks the latest value of a variable." +], +"type": "string" +}, +"otherUnits": { +"description": "A string referring to the unit type.", +"type": "string" +}, +"standardUnits": { +"description": "System defined Units, see above enum.", +"enum": [ +"BYTES", +"BYTES_PER_SEC", +"MILLISECONDS", +"MICROSECONDS", +"NANOSECONDS", +"TIMESTAMP_MSEC", +"TIMESTAMP_USEC", +"TIMESTAMP_NSEC" +], +"enumDescriptions": [ +"Counter returns a value in bytes.", +"Counter returns a value in bytes per second.", +"Counter returns a value in milliseconds.", +"Counter returns a value in microseconds.", +"Counter returns a value in nanoseconds.", +"Counter returns a timestamp in milliseconds.", +"Counter returns a timestamp in microseconds.", +"Counter returns a timestamp in nanoseconds." +], +"type": "string" +} +}, +"type": "object" +}, +"CounterStructuredName": { +"description": "Identifies a counter within a per-job namespace. Counters whose structured names are the same get merged into a single value for the job.", +"id": "CounterStructuredName", +"properties": { +"componentStepName": { +"description": "Name of the optimized step being executed by the workers.", +"type": "string" +}, +"executionStepName": { +"description": "Name of the stage. An execution step contains multiple component steps.", +"type": "string" +}, +"inputIndex": { +"description": "Index of an input collection that's being read from/written to as a side input. The index identifies a step's side inputs starting by 1 (e.g. the first side input has input_index 1, the third has input_index 3). Side inputs are identified by a pair of (original_step_name, input_index). This field helps uniquely identify them.", +"format": "int32", +"type": "integer" +}, +"name": { +"description": "Counter name. Not necessarily globally-unique, but unique within the context of the other fields. Required.", +"type": "string" +}, +"origin": { +"description": "One of the standard Origins defined above.", +"enum": [ +"SYSTEM", +"USER" +], +"enumDescriptions": [ +"Counter was created by the Dataflow system.", +"Counter was created by the user." +], +"type": "string" +}, +"originNamespace": { +"description": "A string containing a more specific namespace of the counter's origin.", +"type": "string" +}, +"originalRequestingStepName": { +"description": "The step name requesting an operation, such as GBK. I.e. the ParDo causing a read/write from shuffle to occur, or a read from side inputs.", +"type": "string" +}, +"originalStepName": { +"description": "System generated name of the original step in the user's graph, before optimization.", +"type": "string" +}, +"portion": { +"description": "Portion of this counter, either key or value.", +"enum": [ +"ALL", +"KEY", +"VALUE" +], +"enumDescriptions": [ +"Counter portion has not been set.", +"Counter reports a key.", +"Counter reports a value." +], +"type": "string" +}, +"workerId": { +"description": "ID of a particular worker.", +"type": "string" +} +}, +"type": "object" +}, +"CounterStructuredNameAndMetadata": { +"description": "A single message which encapsulates structured name and metadata for a given counter.", +"id": "CounterStructuredNameAndMetadata", +"properties": { +"metadata": { +"$ref": "CounterMetadata", +"description": "Metadata associated with a counter" +}, +"name": { +"$ref": "CounterStructuredName", +"description": "Structured name of the counter." +} +}, +"type": "object" +}, +"CounterUpdate": { +"description": "An update to a Counter sent from a worker. Next ID: 17", +"id": "CounterUpdate", +"properties": { +"boolean": { +"description": "Boolean value for And, Or.", +"type": "boolean" +}, +"boundedTrie": { +"$ref": "BoundedTrie", +"description": "Bounded trie data" +}, +"cumulative": { +"description": "True if this counter is reported as the total cumulative aggregate value accumulated since the worker started working on this WorkItem. By default this is false, indicating that this counter is reported as a delta.", +"type": "boolean" +}, +"distribution": { +"$ref": "DistributionUpdate", +"description": "Distribution data" +}, +"floatingPoint": { +"description": "Floating point value for Sum, Max, Min.", +"format": "double", +"type": "number" +}, +"floatingPointList": { +"$ref": "FloatingPointList", +"description": "List of floating point numbers, for Set." +}, +"floatingPointMean": { +"$ref": "FloatingPointMean", +"description": "Floating point mean aggregation value for Mean." +}, +"integer": { +"$ref": "SplitInt64", +"description": "Integer value for Sum, Max, Min." +}, +"integerGauge": { +"$ref": "IntegerGauge", +"description": "Gauge data" +}, +"integerList": { +"$ref": "IntegerList", +"description": "List of integers, for Set." +}, +"integerMean": { +"$ref": "IntegerMean", +"description": "Integer mean aggregation value for Mean." +}, +"internal": { +"description": "Value for internally-defined counters used by the Dataflow service.", +"type": "any" +}, +"nameAndKind": { +"$ref": "NameAndKind", +"description": "Counter name and aggregation type." +}, +"shortId": { +"description": "The service-generated short identifier for this counter. The short_id -> (name, metadata) mapping is constant for the lifetime of a job.", +"format": "int64", +"type": "string" +}, +"stringList": { +"$ref": "StringList", +"description": "List of strings, for Set." +}, +"structuredNameAndMetadata": { +"$ref": "CounterStructuredNameAndMetadata", +"description": "Counter structured name and metadata." +} +}, +"type": "object" +}, +"CreateJobFromTemplateRequest": { +"description": "A request to create a Cloud Dataflow job from a template.", +"id": "CreateJobFromTemplateRequest", +"properties": { +"environment": { +"$ref": "RuntimeEnvironment", +"description": "The runtime environment for the job." +}, +"gcsPath": { +"description": "Required. A Cloud Storage path to the template from which to create the job. Must be a valid Cloud Storage URL, beginning with `gs://`.", +"type": "string" +}, +"jobName": { +"description": "Required. The job name to use for the created job.", +"type": "string" +}, +"location": { +"description": "The [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) to which to direct the request.", +"type": "string" +}, +"parameters": { +"additionalProperties": { +"type": "string" +}, +"description": "The runtime parameters to pass to the job.", +"type": "object" +} +}, +"type": "object" +}, +"CustomSourceLocation": { +"description": "Identifies the location of a custom souce.", +"id": "CustomSourceLocation", +"properties": { +"stateful": { +"description": "Whether this source is stateful.", +"type": "boolean" +} +}, +"type": "object" +}, +"DataDiskAssignment": { +"description": "Data disk assignment for a given VM instance.", +"id": "DataDiskAssignment", +"properties": { +"dataDisks": { +"description": "Mounted data disks. The order is important a data disk's 0-based index in this list defines which persistent directory the disk is mounted to, for example the list of { \"myproject-1014-104817-4c2-harness-0-disk-0\" }, { \"myproject-1014-104817-4c2-harness-0-disk-1\" }.", +"items": { +"type": "string" +}, +"type": "array" +}, +"vmInstance": { +"description": "VM instance name the data disks mounted to, for example \"myproject-1014-104817-4c2-harness-0\".", +"type": "string" +} +}, +"type": "object" +}, +"DataSamplingConfig": { +"description": "Configuration options for sampling elements.", +"id": "DataSamplingConfig", +"properties": { +"behaviors": { +"description": "List of given sampling behaviors to enable. For example, specifying behaviors = [ALWAYS_ON] samples in-flight elements but does not sample exceptions. Can be used to specify multiple behaviors like, behaviors = [ALWAYS_ON, EXCEPTIONS] for specifying periodic sampling and exception sampling. If DISABLED is in the list, then sampling will be disabled and ignore the other given behaviors. Ordering does not matter.", +"items": { +"enum": [ +"DATA_SAMPLING_BEHAVIOR_UNSPECIFIED", +"DISABLED", +"ALWAYS_ON", +"EXCEPTIONS" +], +"enumDescriptions": [ +"If given, has no effect on sampling behavior. Used as an unknown or unset sentinel value.", +"When given, disables element sampling. Has same behavior as not setting the behavior.", +"When given, enables sampling in-flight from all PCollections.", +"When given, enables sampling input elements when a user-defined DoFn causes an exception." +], +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"DataSamplingReport": { +"description": "Contains per-worker telemetry about the data sampling feature.", +"id": "DataSamplingReport", +"properties": { +"bytesWrittenDelta": { +"description": "Optional. Delta of bytes written to file from previous report.", +"format": "int64", +"type": "string" +}, +"elementsSampledBytes": { +"description": "Optional. Delta of bytes sampled from previous report.", +"format": "int64", +"type": "string" +}, +"elementsSampledCount": { +"description": "Optional. Delta of number of elements sampled from previous report.", +"format": "int64", +"type": "string" +}, +"exceptionsSampledCount": { +"description": "Optional. Delta of number of samples taken from user code exceptions from previous report.", +"format": "int64", +"type": "string" +}, +"pcollectionsSampledCount": { +"description": "Optional. Delta of number of PCollections sampled from previous report.", +"format": "int64", +"type": "string" +}, +"persistenceErrorsCount": { +"description": "Optional. Delta of errors counts from persisting the samples from previous report.", +"format": "int64", +"type": "string" +}, +"translationErrorsCount": { +"description": "Optional. Delta of errors counts from retrieving, or translating the samples from previous report.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"DataflowGaugeValue": { +"description": "The gauge value of a metric.", +"id": "DataflowGaugeValue", +"properties": { +"measuredTime": { +"description": "The timestamp when the gauge was recorded.", +"format": "google-datetime", +"type": "string" +}, +"value": { +"description": "The value of the gauge.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"DataflowHistogramValue": { +"description": "Summary statistics for a population of values. HistogramValue contains a sequence of buckets and gives a count of values that fall into each bucket. Bucket boundares are defined by a formula and bucket widths are either fixed or exponentially increasing.", +"id": "DataflowHistogramValue", +"properties": { +"bucketCounts": { +"description": "Optional. The number of values in each bucket of the histogram, as described in `bucket_options`. `bucket_counts` should contain N values, where N is the number of buckets specified in `bucket_options`. If `bucket_counts` has fewer than N values, the remaining values are assumed to be 0.", +"items": { +"format": "int64", +"type": "string" +}, +"type": "array" +}, +"bucketOptions": { +"$ref": "BucketOptions", +"description": "Describes the bucket boundaries used in the histogram." +}, +"count": { +"description": "Number of values recorded in this histogram.", +"format": "int64", +"type": "string" +}, +"outlierStats": { +"$ref": "OutlierStats", +"description": "Statistics on the values recorded in the histogram that fall out of the bucket boundaries." +} +}, +"type": "object" +}, +"DatastoreIODetails": { +"description": "Metadata for a Datastore connector used by the job.", +"id": "DatastoreIODetails", +"properties": { +"namespace": { +"description": "Namespace used in the connection.", +"type": "string" +}, +"projectId": { +"description": "ProjectId accessed in the connection.", +"type": "string" +} +}, +"type": "object" +}, +"DebugOptions": { +"description": "Describes any options that have an effect on the debugging of pipelines.", +"id": "DebugOptions", +"properties": { +"dataSampling": { +"$ref": "DataSamplingConfig", +"description": "Configuration options for sampling elements from a running pipeline." +}, +"enableHotKeyLogging": { +"description": "Optional. When true, enables the logging of the literal hot key to the user's Cloud Logging.", +"type": "boolean" +} +}, +"type": "object" +}, +"DeleteSnapshotResponse": { +"description": "Response from deleting a snapshot.", +"id": "DeleteSnapshotResponse", +"properties": {}, +"type": "object" +}, +"DerivedSource": { +"description": "Specification of one of the bundles produced as a result of splitting a Source (e.g. when executing a SourceSplitRequest, or when splitting an active task using WorkItemStatus.dynamic_source_split), relative to the source being split.", +"id": "DerivedSource", +"properties": { +"derivationMode": { +"description": "What source to base the produced source on (if any).", +"enum": [ +"SOURCE_DERIVATION_MODE_UNKNOWN", +"SOURCE_DERIVATION_MODE_INDEPENDENT", +"SOURCE_DERIVATION_MODE_CHILD_OF_CURRENT", +"SOURCE_DERIVATION_MODE_SIBLING_OF_CURRENT" +], +"enumDescriptions": [ +"The source derivation is unknown, or unspecified.", +"Produce a completely independent Source with no base.", +"Produce a Source based on the Source being split.", +"Produce a Source based on the base of the Source being split." +], +"type": "string" +}, +"source": { +"$ref": "Source", +"description": "Specification of the source." +} +}, +"type": "object" +}, +"Disk": { +"description": "Describes the data disk used by a workflow job.", +"id": "Disk", +"properties": { +"diskType": { +"description": "Disk storage type, as defined by Google Compute Engine. This must be a disk type appropriate to the project and zone in which the workers will run. If unknown or unspecified, the service will attempt to choose a reasonable default. For example, the standard persistent disk type is a resource name typically ending in \"pd-standard\". If SSD persistent disks are available, the resource name typically ends with \"pd-ssd\". The actual valid values are defined the Google Compute Engine API, not by the Cloud Dataflow API; consult the Google Compute Engine documentation for more information about determining the set of available disk types for a particular project and zone. Google Compute Engine Disk types are local to a particular project in a particular zone, and so the resource name will typically look something like this: compute.googleapis.com/projects/project-id/zones/zone/diskTypes/pd-standard", +"type": "string" +}, +"mountPoint": { +"description": "Directory in a VM where disk is mounted.", +"type": "string" +}, +"sizeGb": { +"description": "Size of disk in GB. If zero or unspecified, the service will attempt to choose a reasonable default.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"DisplayData": { +"description": "Data provided with a pipeline or transform to provide descriptive info.", +"id": "DisplayData", +"properties": { +"boolValue": { +"description": "Contains value if the data is of a boolean type.", +"type": "boolean" +}, +"durationValue": { +"description": "Contains value if the data is of duration type.", +"format": "google-duration", +"type": "string" +}, +"floatValue": { +"description": "Contains value if the data is of float type.", +"format": "float", +"type": "number" +}, +"int64Value": { +"description": "Contains value if the data is of int64 type.", +"format": "int64", +"type": "string" +}, +"javaClassValue": { +"description": "Contains value if the data is of java class type.", +"type": "string" +}, +"key": { +"description": "The key identifying the display data. This is intended to be used as a label for the display data when viewed in a dax monitoring system.", +"type": "string" +}, +"label": { +"description": "An optional label to display in a dax UI for the element.", +"type": "string" +}, +"namespace": { +"description": "The namespace for the key. This is usually a class name or programming language namespace (i.e. python module) which defines the display data. This allows a dax monitoring system to specially handle the data and perform custom rendering.", +"type": "string" +}, +"shortStrValue": { +"description": "A possible additional shorter value to display. For example a java_class_name_value of com.mypackage.MyDoFn will be stored with MyDoFn as the short_str_value and com.mypackage.MyDoFn as the java_class_name value. short_str_value can be displayed and java_class_name_value will be displayed as a tooltip.", +"type": "string" +}, +"strValue": { +"description": "Contains value if the data is of string type.", +"type": "string" +}, +"timestampValue": { +"description": "Contains value if the data is of timestamp type.", +"format": "google-datetime", +"type": "string" +}, +"url": { +"description": "An optional full URL.", +"type": "string" +} +}, +"type": "object" +}, +"DistributionUpdate": { +"description": "A metric value representing a distribution.", +"id": "DistributionUpdate", +"properties": { +"count": { +"$ref": "SplitInt64", +"description": "The count of the number of elements present in the distribution." +}, +"histogram": { +"$ref": "Histogram", +"description": "(Optional) Histogram of value counts for the distribution." +}, +"max": { +"$ref": "SplitInt64", +"description": "The maximum value present in the distribution." +}, +"min": { +"$ref": "SplitInt64", +"description": "The minimum value present in the distribution." +}, +"sum": { +"$ref": "SplitInt64", +"description": "Use an int64 since we'd prefer the added precision. If overflow is a common problem we can detect it and use an additional int64 or a double." +}, +"sumOfSquares": { +"description": "Use a double since the sum of squares is likely to overflow int64.", +"format": "double", +"type": "number" +} +}, +"type": "object" +}, +"DynamicSourceSplit": { +"description": "When a task splits using WorkItemStatus.dynamic_source_split, this message describes the two parts of the split relative to the description of the current task's input.", +"id": "DynamicSourceSplit", +"properties": { +"primary": { +"$ref": "DerivedSource", +"description": "Primary part (continued to be processed by worker). Specified relative to the previously-current source. Becomes current." +}, +"residual": { +"$ref": "DerivedSource", +"description": "Residual part (returned to the pool of work). Specified relative to the previously-current source." +} +}, +"type": "object" +}, +"Environment": { +"description": "Describes the environment in which a Dataflow Job runs.", +"id": "Environment", +"properties": { +"clusterManagerApiService": { +"description": "The type of cluster manager API to use. If unknown or unspecified, the service will attempt to choose a reasonable default. This should be in the form of the API service name, e.g. \"compute.googleapis.com\".", +"type": "string" +}, +"dataset": { +"description": "Optional. The dataset for the current project where various workflow related tables are stored. The supported resource type is: Google BigQuery: bigquery.googleapis.com/{dataset}", +"type": "string" +}, +"debugOptions": { +"$ref": "DebugOptions", +"description": "Optional. Any debugging options to be supplied to the job." +}, +"experiments": { +"description": "The list of experiments to enable. This field should be used for SDK related experiments and not for service related experiments. The proper field for service related experiments is service_options.", +"items": { +"type": "string" +}, +"type": "array" +}, +"flexResourceSchedulingGoal": { +"description": "Optional. Which Flexible Resource Scheduling mode to run in.", +"enum": [ +"FLEXRS_UNSPECIFIED", +"FLEXRS_SPEED_OPTIMIZED", +"FLEXRS_COST_OPTIMIZED" +], +"enumDescriptions": [ +"Run in the default mode.", +"Optimize for lower execution time.", +"Optimize for lower cost." +], +"type": "string" +}, +"internalExperiments": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "Experimental settings.", +"type": "object" +}, +"sdkPipelineOptions": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"description": "The Cloud Dataflow SDK pipeline options specified by the user. These options are passed through the service and are used to recreate the SDK pipeline options on the worker in a language agnostic and platform independent way.", +"type": "object" +}, +"serviceAccountEmail": { +"description": "Optional. Identity to run virtual machines as. Defaults to the default account.", +"type": "string" +}, +"serviceKmsKeyName": { +"description": "Optional. If set, contains the Cloud KMS key identifier used to encrypt data at rest, AKA a Customer Managed Encryption Key (CMEK). Format: projects/PROJECT_ID/locations/LOCATION/keyRings/KEY_RING/cryptoKeys/KEY", +"type": "string" +}, +"serviceOptions": { +"description": "Optional. The list of service options to enable. This field should be used for service related experiments only. These experiments, when graduating to GA, should be replaced by dedicated fields or become default (i.e. always on).", +"items": { +"type": "string" +}, +"type": "array" +}, +"shuffleMode": { +"description": "Output only. The shuffle mode used for the job.", +"enum": [ +"SHUFFLE_MODE_UNSPECIFIED", +"VM_BASED", +"SERVICE_BASED" +], +"enumDescriptions": [ +"Shuffle mode information is not available.", +"Shuffle is done on the worker VMs.", +"Shuffle is done on the service side." +], +"readOnly": true, +"type": "string" +}, +"streamingMode": { +"description": "Optional. Specifies the Streaming Engine message processing guarantees. Reduces cost and latency but might result in duplicate messages committed to storage. Designed to run simple mapping streaming ETL jobs at the lowest cost. For example, Change Data Capture (CDC) to BigQuery is a canonical use case. For more information, see [Set the pipeline streaming mode](https://cloud.google.com/dataflow/docs/guides/streaming-modes).", +"enum": [ +"STREAMING_MODE_UNSPECIFIED", +"STREAMING_MODE_EXACTLY_ONCE", +"STREAMING_MODE_AT_LEAST_ONCE" +], +"enumDescriptions": [ +"Run in the default mode.", +"In this mode, message deduplication is performed against persistent state to make sure each message is processed and committed to storage exactly once.", +"Message deduplication is not performed. Messages might be processed multiple times, and the results are applied multiple times. Note: Setting this value also enables Streaming Engine and Streaming Engine resource-based billing." +], +"type": "string" +}, +"tempStoragePrefix": { +"description": "The prefix of the resources the system should use for temporary storage. The system will append the suffix \"/temp-{JOBNAME} to this resource prefix, where {JOBNAME} is the value of the job_name field. The resulting bucket and object prefix is used as the prefix of the resources used to store temporary data needed during the job execution. NOTE: This will override the value in taskrunner_settings. The supported resource type is: Google Cloud Storage: storage.googleapis.com/{bucket}/{object} bucket.storage.googleapis.com/{object}", +"type": "string" +}, +"usePublicIps": { +"description": "Optional. True when any worker pool that uses public IPs is present.", +"type": "boolean" +}, +"useStreamingEngineResourceBasedBilling": { +"description": "Output only. Whether the job uses the Streaming Engine resource-based billing model.", +"readOnly": true, +"type": "boolean" +}, +"userAgent": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"description": "Optional. A description of the process that generated the request.", +"type": "object" +}, +"version": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"description": "A structure describing which components and their versions of the service are required in order to run the job.", +"type": "object" +}, +"workerPools": { +"description": "The worker pools. At least one \"harness\" worker pool must be specified in order for the job to have workers.", +"items": { +"$ref": "WorkerPool" +}, +"type": "array" +}, +"workerRegion": { +"description": "Optional. The Compute Engine region (https://cloud.google.com/compute/docs/regions-zones/regions-zones) in which worker processing should occur, e.g. \"us-west1\". Mutually exclusive with worker_zone. If neither worker_region nor worker_zone is specified, default to the control plane's region.", +"type": "string" +}, +"workerZone": { +"description": "Optional. The Compute Engine zone (https://cloud.google.com/compute/docs/regions-zones/regions-zones) in which worker processing should occur, e.g. \"us-west1-a\". Mutually exclusive with worker_region. If neither worker_region nor worker_zone is specified, a zone in the control plane's region is chosen based on available capacity.", +"type": "string" +} +}, +"type": "object" +}, +"ExecutionStageState": { +"description": "A message describing the state of a particular execution stage.", +"id": "ExecutionStageState", +"properties": { +"currentStateTime": { +"description": "The time at which the stage transitioned to this state.", +"format": "google-datetime", +"type": "string" +}, +"executionStageName": { +"description": "The name of the execution stage.", +"type": "string" +}, +"executionStageState": { +"description": "Executions stage states allow the same set of values as JobState.", +"enum": [ +"JOB_STATE_UNKNOWN", +"JOB_STATE_STOPPED", +"JOB_STATE_RUNNING", +"JOB_STATE_DONE", +"JOB_STATE_FAILED", +"JOB_STATE_CANCELLED", +"JOB_STATE_UPDATED", +"JOB_STATE_DRAINING", +"JOB_STATE_DRAINED", +"JOB_STATE_PENDING", +"JOB_STATE_CANCELLING", +"JOB_STATE_QUEUED", +"JOB_STATE_RESOURCE_CLEANING_UP", +"JOB_STATE_PAUSING", +"JOB_STATE_PAUSED" +], +"enumDescriptions": [ +"The job's run state isn't specified.", +"`JOB_STATE_STOPPED` indicates that the job has not yet started to run.", +"`JOB_STATE_RUNNING` indicates that the job is currently running.", +"`JOB_STATE_DONE` indicates that the job has successfully completed. This is a terminal job state. This state may be set by the Cloud Dataflow service, as a transition from `JOB_STATE_RUNNING`. It may also be set via a Cloud Dataflow `UpdateJob` call, if the job has not yet reached a terminal state.", +"`JOB_STATE_FAILED` indicates that the job has failed. This is a terminal job state. This state may only be set by the Cloud Dataflow service, and only as a transition from `JOB_STATE_RUNNING`.", +"`JOB_STATE_CANCELLED` indicates that the job has been explicitly cancelled. This is a terminal job state. This state may only be set via a Cloud Dataflow `UpdateJob` call, and only if the job has not yet reached another terminal state.", +"`JOB_STATE_UPDATED` indicates that the job was successfully updated, meaning that this job was stopped and another job was started, inheriting state from this one. This is a terminal job state. This state may only be set by the Cloud Dataflow service, and only as a transition from `JOB_STATE_RUNNING`.", +"`JOB_STATE_DRAINING` indicates that the job is in the process of draining. A draining job has stopped pulling from its input sources and is processing any data that remains in-flight. This state may be set via a Cloud Dataflow `UpdateJob` call, but only as a transition from `JOB_STATE_RUNNING`. Jobs that are draining may only transition to `JOB_STATE_DRAINED`, `JOB_STATE_CANCELLED`, or `JOB_STATE_FAILED`.", +"`JOB_STATE_DRAINED` indicates that the job has been drained. A drained job terminated by stopping pulling from its input sources and processing any data that remained in-flight when draining was requested. This state is a terminal state, may only be set by the Cloud Dataflow service, and only as a transition from `JOB_STATE_DRAINING`.", +"`JOB_STATE_PENDING` indicates that the job has been created but is not yet running. Jobs that are pending may only transition to `JOB_STATE_RUNNING`, or `JOB_STATE_FAILED`.", +"`JOB_STATE_CANCELLING` indicates that the job has been explicitly cancelled and is in the process of stopping. Jobs that are cancelling may only transition to `JOB_STATE_CANCELLED` or `JOB_STATE_FAILED`.", +"`JOB_STATE_QUEUED` indicates that the job has been created but is being delayed until launch. Jobs that are queued may only transition to `JOB_STATE_PENDING` or `JOB_STATE_CANCELLED`.", +"`JOB_STATE_RESOURCE_CLEANING_UP` indicates that the batch job's associated resources are currently being cleaned up after a successful run. Currently, this is an opt-in feature, please reach out to Cloud support team if you are interested.", +"`JOB_STATE_PAUSING` is not implemented yet.", +"`JOB_STATE_PAUSED` is not implemented yet." +], +"type": "string" +} +}, +"type": "object" +}, +"ExecutionStageSummary": { +"description": "Description of the composing transforms, names/ids, and input/outputs of a stage of execution. Some composing transforms and sources may have been generated by the Dataflow service during execution planning.", +"id": "ExecutionStageSummary", +"properties": { +"componentSource": { +"description": "Collections produced and consumed by component transforms of this stage.", +"items": { +"$ref": "ComponentSource" +}, +"type": "array" +}, +"componentTransform": { +"description": "Transforms that comprise this execution stage.", +"items": { +"$ref": "ComponentTransform" +}, +"type": "array" +}, +"id": { +"description": "Dataflow service generated id for this stage.", +"type": "string" +}, +"inputSource": { +"description": "Input sources for this stage.", +"items": { +"$ref": "StageSource" +}, +"type": "array" +}, +"kind": { +"description": "Type of transform this stage is executing.", +"enum": [ +"UNKNOWN_KIND", +"PAR_DO_KIND", +"GROUP_BY_KEY_KIND", +"FLATTEN_KIND", +"READ_KIND", +"WRITE_KIND", +"CONSTANT_KIND", +"SINGLETON_KIND", +"SHUFFLE_KIND" +], +"enumDescriptions": [ +"Unrecognized transform type.", +"ParDo transform.", +"Group By Key transform.", +"Flatten transform.", +"Read transform.", +"Write transform.", +"Constructs from a constant value, such as with Create.of.", +"Creates a Singleton view of a collection.", +"Opening or closing a shuffle session, often as part of a GroupByKey." +], +"type": "string" +}, +"name": { +"description": "Dataflow service generated name for this stage.", +"type": "string" +}, +"outputSource": { +"description": "Output sources for this stage.", +"items": { +"$ref": "StageSource" +}, +"type": "array" +}, +"prerequisiteStage": { +"description": "Other stages that must complete before this stage can run.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"FailedLocation": { +"description": "Indicates which [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) failed to respond to a request for data.", +"id": "FailedLocation", +"properties": { +"name": { +"description": "The name of the [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) that failed to respond.", +"type": "string" +} +}, +"type": "object" +}, +"FileIODetails": { +"description": "Metadata for a File connector used by the job.", +"id": "FileIODetails", +"properties": { +"filePattern": { +"description": "File Pattern used to access files by the connector.", +"type": "string" +} +}, +"type": "object" +}, +"FlattenInstruction": { +"description": "An instruction that copies its inputs (zero or more) to its (single) output.", +"id": "FlattenInstruction", +"properties": { +"inputs": { +"description": "Describes the inputs to the flatten instruction.", +"items": { +"$ref": "InstructionInput" +}, +"type": "array" +} +}, +"type": "object" +}, +"FlexTemplateRuntimeEnvironment": { +"description": "The environment values to be set at runtime for flex template.", +"id": "FlexTemplateRuntimeEnvironment", +"properties": { +"additionalExperiments": { +"description": "Additional experiment flags for the job.", +"items": { +"type": "string" +}, +"type": "array" +}, +"additionalPipelineOptions": { +"description": "Optional. Additional pipeline option flags for the job.", +"items": { +"type": "string" +}, +"type": "array" +}, +"additionalUserLabels": { +"additionalProperties": { +"type": "string" +}, +"description": "Additional user labels to be specified for the job. Keys and values must follow the restrictions specified in the [labeling restrictions](https://cloud.google.com/compute/docs/labeling-resources#restrictions) page. An object containing a list of \"key\": value pairs. Example: { \"name\": \"wrench\", \"mass\": \"1kg\", \"count\": \"3\" }.", +"type": "object" +}, +"autoscalingAlgorithm": { +"description": "The algorithm to use for autoscaling", +"enum": [ +"AUTOSCALING_ALGORITHM_UNKNOWN", +"AUTOSCALING_ALGORITHM_NONE", +"AUTOSCALING_ALGORITHM_BASIC" +], +"enumDescriptions": [ +"The algorithm is unknown, or unspecified.", +"Disable autoscaling.", +"Increase worker count over time to reduce job execution time." +], +"type": "string" +}, +"diskSizeGb": { +"description": "Worker disk size, in gigabytes.", +"format": "int32", +"type": "integer" +}, +"dumpHeapOnOom": { +"description": "If true, when processing time is spent almost entirely on garbage collection (GC), saves a heap dump before ending the thread or process. If false, ends the thread or process without saving a heap dump. Does not save a heap dump when the Java Virtual Machine (JVM) has an out of memory error during processing. The location of the heap file is either echoed back to the user, or the user is given the opportunity to download the heap file.", +"type": "boolean" +}, +"enableLauncherVmSerialPortLogging": { +"description": "If true serial port logging will be enabled for the launcher VM.", +"type": "boolean" +}, +"enableStreamingEngine": { +"description": "Whether to enable Streaming Engine for the job.", +"type": "boolean" +}, +"flexrsGoal": { +"description": "Set FlexRS goal for the job. https://cloud.google.com/dataflow/docs/guides/flexrs", +"enum": [ +"FLEXRS_UNSPECIFIED", +"FLEXRS_SPEED_OPTIMIZED", +"FLEXRS_COST_OPTIMIZED" +], +"enumDescriptions": [ +"Run in the default mode.", +"Optimize for lower execution time.", +"Optimize for lower cost." +], +"type": "string" +}, +"ipConfiguration": { +"description": "Configuration for VM IPs.", +"enum": [ +"WORKER_IP_UNSPECIFIED", +"WORKER_IP_PUBLIC", +"WORKER_IP_PRIVATE" +], +"enumDescriptions": [ +"The configuration is unknown, or unspecified.", +"Workers should have public IP addresses.", +"Workers should have private IP addresses." +], +"type": "string" +}, +"kmsKeyName": { +"description": "Name for the Cloud KMS key for the job. Key format is: projects//locations//keyRings//cryptoKeys/", +"type": "string" +}, +"launcherMachineType": { +"description": "The machine type to use for launching the job. The default is n1-standard-1.", +"type": "string" +}, +"machineType": { +"description": "The machine type to use for the job. Defaults to the value from the template if not specified.", +"type": "string" +}, +"maxWorkers": { +"description": "The maximum number of Google Compute Engine instances to be made available to your pipeline during execution, from 1 to 1000.", +"format": "int32", +"type": "integer" +}, +"network": { +"description": "Network to which VMs will be assigned. If empty or unspecified, the service will use the network \"default\".", +"type": "string" +}, +"numWorkers": { +"description": "The initial number of Google Compute Engine instances for the job.", +"format": "int32", +"type": "integer" +}, +"saveHeapDumpsToGcsPath": { +"description": "Cloud Storage bucket (directory) to upload heap dumps to. Enabling this field implies that `dump_heap_on_oom` is set to true.", +"type": "string" +}, +"sdkContainerImage": { +"description": "Docker registry location of container image to use for the 'worker harness. Default is the container for the version of the SDK. Note this field is only valid for portable pipelines.", +"type": "string" +}, +"serviceAccountEmail": { +"description": "The email address of the service account to run the job as.", +"type": "string" +}, +"stagingLocation": { +"description": "The Cloud Storage path for staging local files. Must be a valid Cloud Storage URL, beginning with `gs://`.", +"type": "string" +}, +"streamingMode": { +"description": "Optional. Specifies the Streaming Engine message processing guarantees. Reduces cost and latency but might result in duplicate messages committed to storage. Designed to run simple mapping streaming ETL jobs at the lowest cost. For example, Change Data Capture (CDC) to BigQuery is a canonical use case. For more information, see [Set the pipeline streaming mode](https://cloud.google.com/dataflow/docs/guides/streaming-modes).", +"enum": [ +"STREAMING_MODE_UNSPECIFIED", +"STREAMING_MODE_EXACTLY_ONCE", +"STREAMING_MODE_AT_LEAST_ONCE" +], +"enumDescriptions": [ +"Run in the default mode.", +"In this mode, message deduplication is performed against persistent state to make sure each message is processed and committed to storage exactly once.", +"Message deduplication is not performed. Messages might be processed multiple times, and the results are applied multiple times. Note: Setting this value also enables Streaming Engine and Streaming Engine resource-based billing." +], +"type": "string" +}, +"subnetwork": { +"description": "Subnetwork to which VMs will be assigned, if desired. You can specify a subnetwork using either a complete URL or an abbreviated path. Expected to be of the form \"https://www.googleapis.com/compute/v1/projects/HOST_PROJECT_ID/regions/REGION/subnetworks/SUBNETWORK\" or \"regions/REGION/subnetworks/SUBNETWORK\". If the subnetwork is located in a Shared VPC network, you must use the complete URL.", +"type": "string" +}, +"tempLocation": { +"description": "The Cloud Storage path to use for temporary files. Must be a valid Cloud Storage URL, beginning with `gs://`.", +"type": "string" +}, +"workerRegion": { +"description": "The Compute Engine region (https://cloud.google.com/compute/docs/regions-zones/regions-zones) in which worker processing should occur, e.g. \"us-west1\". Mutually exclusive with worker_zone. If neither worker_region nor worker_zone is specified, default to the control plane's region.", +"type": "string" +}, +"workerZone": { +"description": "The Compute Engine zone (https://cloud.google.com/compute/docs/regions-zones/regions-zones) in which worker processing should occur, e.g. \"us-west1-a\". Mutually exclusive with worker_region. If neither worker_region nor worker_zone is specified, a zone in the control plane's region is chosen based on available capacity. If both `worker_zone` and `zone` are set, `worker_zone` takes precedence.", +"type": "string" +}, +"zone": { +"description": "The Compute Engine [availability zone](https://cloud.google.com/compute/docs/regions-zones/regions-zones) for launching worker instances to run your pipeline. In the future, worker_zone will take precedence.", +"type": "string" +} +}, +"type": "object" +}, +"FloatingPointList": { +"description": "A metric value representing a list of floating point numbers.", +"id": "FloatingPointList", +"properties": { +"elements": { +"description": "Elements of the list.", +"items": { +"format": "double", +"type": "number" +}, +"type": "array" +} +}, +"type": "object" +}, +"FloatingPointMean": { +"description": "A representation of a floating point mean metric contribution.", +"id": "FloatingPointMean", +"properties": { +"count": { +"$ref": "SplitInt64", +"description": "The number of values being aggregated." +}, +"sum": { +"description": "The sum of all values being aggregated.", +"format": "double", +"type": "number" +} +}, +"type": "object" +}, +"GPUUsage": { +"description": "Information about the GPU usage on the worker.", +"id": "GPUUsage", +"properties": { +"timestamp": { +"description": "Required. Timestamp of the measurement.", +"format": "google-datetime", +"type": "string" +}, +"utilization": { +"$ref": "GPUUtilization", +"description": "Required. Utilization info about the GPU." +} +}, +"type": "object" +}, +"GPUUtilization": { +"description": "Utilization details about the GPU.", +"id": "GPUUtilization", +"properties": { +"rate": { +"description": "Required. GPU utilization rate of any kernel over the last sample period in the range of [0, 1].", +"format": "double", +"type": "number" +} +}, +"type": "object" +}, +"GetDebugConfigRequest": { +"description": "Request to get updated debug configuration for component.", +"id": "GetDebugConfigRequest", +"properties": { +"componentId": { +"description": "The internal component id for which debug configuration is requested.", +"type": "string" +}, +"location": { +"description": "The [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) that contains the job specified by job_id.", +"type": "string" +}, +"workerId": { +"description": "The worker id, i.e., VM hostname.", +"type": "string" +} +}, +"type": "object" +}, +"GetDebugConfigResponse": { +"description": "Response to a get debug configuration request.", +"id": "GetDebugConfigResponse", +"properties": { +"config": { +"description": "The encoded debug configuration for the requested component.", +"type": "string" +} +}, +"type": "object" +}, +"GetTemplateResponse": { +"description": "The response to a GetTemplate request.", +"id": "GetTemplateResponse", +"properties": { +"metadata": { +"$ref": "TemplateMetadata", +"description": "The template metadata describing the template name, available parameters, etc." +}, +"runtimeMetadata": { +"$ref": "RuntimeMetadata", +"description": "Describes the runtime metadata with SDKInfo and available parameters." +}, +"status": { +"$ref": "Status", +"description": "The status of the get template request. Any problems with the request will be indicated in the error_details." +}, +"templateType": { +"description": "Template Type.", +"enum": [ +"UNKNOWN", +"LEGACY", +"FLEX" +], +"enumDescriptions": [ +"Unknown Template Type.", +"Legacy Template.", +"Flex Template." +], +"type": "string" +} +}, +"type": "object" +}, +"GetWorkerStacktracesRequest": { +"description": "Request to get worker stacktraces from debug capture.", +"id": "GetWorkerStacktracesRequest", +"properties": { +"endTime": { +"description": "The end time for the stacktrace query. The returned stacktraces will be a recent stack trace at or shortly before this time.", +"format": "google-datetime", +"type": "string" +}, +"workerId": { +"description": "The worker for which to get stacktraces. The returned stacktraces will be for the SDK harness running on this worker.", +"type": "string" +} +}, +"type": "object" +}, +"GetWorkerStacktracesResponse": { +"description": "Response to get worker stacktraces from debug capture.", +"id": "GetWorkerStacktracesResponse", +"properties": { +"sdks": { +"description": "Repeated as unified worker may have multiple SDK processes.", +"items": { +"$ref": "Sdk" +}, +"type": "array" +} +}, +"type": "object" +}, +"Histogram": { +"description": "Histogram of value counts for a distribution. Buckets have an inclusive lower bound and exclusive upper bound and use \"1,2,5 bucketing\": The first bucket range is from [0,1) and all subsequent bucket boundaries are powers of ten multiplied by 1, 2, or 5. Thus, bucket boundaries are 0, 1, 2, 5, 10, 20, 50, 100, 200, 500, 1000, ... Negative values are not supported.", +"id": "Histogram", +"properties": { +"bucketCounts": { +"description": "Counts of values in each bucket. For efficiency, prefix and trailing buckets with count = 0 are elided. Buckets can store the full range of values of an unsigned long, with ULLONG_MAX falling into the 59th bucket with range [1e19, 2e19).", +"items": { +"format": "int64", +"type": "string" +}, +"type": "array" +}, +"firstBucketOffset": { +"description": "Starting index of first stored bucket. The non-inclusive upper-bound of the ith bucket is given by: pow(10,(i-first_bucket_offset)/3) * (1,2,5)[(i-first_bucket_offset)%3]", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"HotKeyDebuggingInfo": { +"description": "Information useful for debugging a hot key detection.", +"id": "HotKeyDebuggingInfo", +"properties": { +"detectedHotKeys": { +"additionalProperties": { +"$ref": "HotKeyInfo" +}, +"description": "Debugging information for each detected hot key. Keyed by a hash of the key.", +"type": "object" +} +}, +"type": "object" +}, +"HotKeyDetection": { +"description": "Proto describing a hot key detected on a given WorkItem.", +"id": "HotKeyDetection", +"properties": { +"hotKeyAge": { +"description": "The age of the hot key measured from when it was first detected.", +"format": "google-duration", +"type": "string" +}, +"systemName": { +"description": "System-defined name of the step containing this hot key. Unique across the workflow.", +"type": "string" +}, +"userStepName": { +"description": "User-provided name of the step that contains this hot key.", +"type": "string" +} +}, +"type": "object" +}, +"HotKeyInfo": { +"description": "Information about a hot key.", +"id": "HotKeyInfo", +"properties": { +"hotKeyAge": { +"description": "The age of the hot key measured from when it was first detected.", +"format": "google-duration", +"type": "string" +}, +"key": { +"description": "A detected hot key that is causing limited parallelism. This field will be populated only if the following flag is set to true: \"--enable_hot_key_logging\".", +"type": "string" +}, +"keyTruncated": { +"description": "If true, then the above key is truncated and cannot be deserialized. This occurs if the key above is populated and the key size is >5MB.", +"type": "boolean" +} +}, +"type": "object" +}, +"InstructionInput": { +"description": "An input of an instruction, as a reference to an output of a producer instruction.", +"id": "InstructionInput", +"properties": { +"outputNum": { +"description": "The output index (origin zero) within the producer.", +"format": "int32", +"type": "integer" +}, +"producerInstructionIndex": { +"description": "The index (origin zero) of the parallel instruction that produces the output to be consumed by this input. This index is relative to the list of instructions in this input's instruction's containing MapTask.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"InstructionOutput": { +"description": "An output of an instruction.", +"id": "InstructionOutput", +"properties": { +"codec": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"description": "The codec to use to encode data being written via this output.", +"type": "object" +}, +"name": { +"description": "The user-provided name of this output.", +"type": "string" +}, +"onlyCountKeyBytes": { +"description": "For system-generated byte and mean byte metrics, certain instructions should only report the key size.", +"type": "boolean" +}, +"onlyCountValueBytes": { +"description": "For system-generated byte and mean byte metrics, certain instructions should only report the value size.", +"type": "boolean" +}, +"originalName": { +"description": "System-defined name for this output in the original workflow graph. Outputs that do not contribute to an original instruction do not set this.", +"type": "string" +}, +"systemName": { +"description": "System-defined name of this output. Unique across the workflow.", +"type": "string" +} +}, +"type": "object" +}, +"IntegerGauge": { +"description": "A metric value representing temporal values of a variable.", +"id": "IntegerGauge", +"properties": { +"timestamp": { +"description": "The time at which this value was measured. Measured as msecs from epoch.", +"format": "google-datetime", +"type": "string" +}, +"value": { +"$ref": "SplitInt64", +"description": "The value of the variable represented by this gauge." +} +}, +"type": "object" +}, +"IntegerList": { +"description": "A metric value representing a list of integers.", +"id": "IntegerList", +"properties": { +"elements": { +"description": "Elements of the list.", +"items": { +"$ref": "SplitInt64" +}, +"type": "array" +} +}, +"type": "object" +}, +"IntegerMean": { +"description": "A representation of an integer mean metric contribution.", +"id": "IntegerMean", +"properties": { +"count": { +"$ref": "SplitInt64", +"description": "The number of values being aggregated." +}, +"sum": { +"$ref": "SplitInt64", +"description": "The sum of all values being aggregated." +} +}, +"type": "object" +}, +"Job": { +"description": "Defines a job to be run by the Cloud Dataflow service. Do not enter confidential information when you supply string values using the API.", +"id": "Job", +"properties": { +"clientRequestId": { +"description": "The client's unique identifier of the job, re-used across retried attempts. If this field is set, the service will ensure its uniqueness. The request to create a job will fail if the service has knowledge of a previously submitted job with the same client's ID and job name. The caller may use this field to ensure idempotence of job creation across retried attempts to create a job. By default, the field is empty and, in that case, the service ignores it.", +"type": "string" +}, +"createTime": { +"description": "The timestamp when the job was initially created. Immutable and set by the Cloud Dataflow service.", +"format": "google-datetime", +"type": "string" +}, +"createdFromSnapshotId": { +"description": "If this is specified, the job's initial state is populated from the given snapshot.", +"type": "string" +}, +"currentState": { +"description": "The current state of the job. Jobs are created in the `JOB_STATE_STOPPED` state unless otherwise specified. A job in the `JOB_STATE_RUNNING` state may asynchronously enter a terminal state. After a job has reached a terminal state, no further state updates may be made. This field might be mutated by the Dataflow service; callers cannot mutate it.", +"enum": [ +"JOB_STATE_UNKNOWN", +"JOB_STATE_STOPPED", +"JOB_STATE_RUNNING", +"JOB_STATE_DONE", +"JOB_STATE_FAILED", +"JOB_STATE_CANCELLED", +"JOB_STATE_UPDATED", +"JOB_STATE_DRAINING", +"JOB_STATE_DRAINED", +"JOB_STATE_PENDING", +"JOB_STATE_CANCELLING", +"JOB_STATE_QUEUED", +"JOB_STATE_RESOURCE_CLEANING_UP", +"JOB_STATE_PAUSING", +"JOB_STATE_PAUSED" +], +"enumDescriptions": [ +"The job's run state isn't specified.", +"`JOB_STATE_STOPPED` indicates that the job has not yet started to run.", +"`JOB_STATE_RUNNING` indicates that the job is currently running.", +"`JOB_STATE_DONE` indicates that the job has successfully completed. This is a terminal job state. This state may be set by the Cloud Dataflow service, as a transition from `JOB_STATE_RUNNING`. It may also be set via a Cloud Dataflow `UpdateJob` call, if the job has not yet reached a terminal state.", +"`JOB_STATE_FAILED` indicates that the job has failed. This is a terminal job state. This state may only be set by the Cloud Dataflow service, and only as a transition from `JOB_STATE_RUNNING`.", +"`JOB_STATE_CANCELLED` indicates that the job has been explicitly cancelled. This is a terminal job state. This state may only be set via a Cloud Dataflow `UpdateJob` call, and only if the job has not yet reached another terminal state.", +"`JOB_STATE_UPDATED` indicates that the job was successfully updated, meaning that this job was stopped and another job was started, inheriting state from this one. This is a terminal job state. This state may only be set by the Cloud Dataflow service, and only as a transition from `JOB_STATE_RUNNING`.", +"`JOB_STATE_DRAINING` indicates that the job is in the process of draining. A draining job has stopped pulling from its input sources and is processing any data that remains in-flight. This state may be set via a Cloud Dataflow `UpdateJob` call, but only as a transition from `JOB_STATE_RUNNING`. Jobs that are draining may only transition to `JOB_STATE_DRAINED`, `JOB_STATE_CANCELLED`, or `JOB_STATE_FAILED`.", +"`JOB_STATE_DRAINED` indicates that the job has been drained. A drained job terminated by stopping pulling from its input sources and processing any data that remained in-flight when draining was requested. This state is a terminal state, may only be set by the Cloud Dataflow service, and only as a transition from `JOB_STATE_DRAINING`.", +"`JOB_STATE_PENDING` indicates that the job has been created but is not yet running. Jobs that are pending may only transition to `JOB_STATE_RUNNING`, or `JOB_STATE_FAILED`.", +"`JOB_STATE_CANCELLING` indicates that the job has been explicitly cancelled and is in the process of stopping. Jobs that are cancelling may only transition to `JOB_STATE_CANCELLED` or `JOB_STATE_FAILED`.", +"`JOB_STATE_QUEUED` indicates that the job has been created but is being delayed until launch. Jobs that are queued may only transition to `JOB_STATE_PENDING` or `JOB_STATE_CANCELLED`.", +"`JOB_STATE_RESOURCE_CLEANING_UP` indicates that the batch job's associated resources are currently being cleaned up after a successful run. Currently, this is an opt-in feature, please reach out to Cloud support team if you are interested.", +"`JOB_STATE_PAUSING` is not implemented yet.", +"`JOB_STATE_PAUSED` is not implemented yet." +], +"type": "string" +}, +"currentStateTime": { +"description": "The timestamp associated with the current state.", +"format": "google-datetime", +"type": "string" +}, +"environment": { +"$ref": "Environment", +"description": "Optional. The environment for the job." +}, +"executionInfo": { +"$ref": "JobExecutionInfo", +"description": "Deprecated." +}, +"id": { +"description": "The unique ID of this job. This field is set by the Dataflow service when the job is created, and is immutable for the life of the job.", +"type": "string" +}, +"jobMetadata": { +"$ref": "JobMetadata", +"description": "This field is populated by the Dataflow service to support filtering jobs by the metadata values provided here. Populated for ListJobs and all GetJob views SUMMARY and higher." +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "User-defined labels for this job. The labels map can contain no more than 64 entries. Entries of the labels map are UTF8 strings that comply with the following restrictions: * Keys must conform to regexp: \\p{Ll}\\p{Lo}{0,62} * Values must conform to regexp: [\\p{Ll}\\p{Lo}\\p{N}_-]{0,63} * Both keys and values are additionally constrained to be <= 128 bytes in size.", +"type": "object" +}, +"location": { +"description": "Optional. The [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) that contains this job.", +"type": "string" +}, +"name": { +"description": "Optional. The user-specified Dataflow job name. Only one active job with a given name can exist in a project within one region at any given time. Jobs in different regions can have the same name. If a caller attempts to create a job with the same name as an active job that already exists, the attempt returns the existing job. The name must match the regular expression `[a-z]([-a-z0-9]{0,1022}[a-z0-9])?`", +"type": "string" +}, +"pausable": { +"description": "Output only. Indicates whether the job can be paused.", +"readOnly": true, +"type": "boolean" +}, +"pipelineDescription": { +"$ref": "PipelineDescription", +"description": "Preliminary field: The format of this data may change at any time. A description of the user pipeline and stages through which it is executed. Created by Cloud Dataflow service. Only retrieved with JOB_VIEW_DESCRIPTION or JOB_VIEW_ALL." +}, +"projectId": { +"description": "The ID of the Google Cloud project that the job belongs to.", +"type": "string" +}, +"replaceJobId": { +"description": "If this job is an update of an existing job, this field is the job ID of the job it replaced. When sending a `CreateJobRequest`, you can update a job by specifying it here. The job named here is stopped, and its intermediate state is transferred to this job.", +"type": "string" +}, +"replacedByJobId": { +"description": "If another job is an update of this job (and thus, this job is in `JOB_STATE_UPDATED`), this field contains the ID of that job.", +"type": "string" +}, +"requestedState": { +"description": "The job's requested state. Applies to `UpdateJob` requests. Set `requested_state` with `UpdateJob` requests to switch between the states `JOB_STATE_STOPPED` and `JOB_STATE_RUNNING`. You can also use `UpdateJob` requests to change a job's state from `JOB_STATE_RUNNING` to `JOB_STATE_CANCELLED`, `JOB_STATE_DONE`, or `JOB_STATE_DRAINED`. These states irrevocably terminate the job if it hasn't already reached a terminal state. This field has no effect on `CreateJob` requests.", +"enum": [ +"JOB_STATE_UNKNOWN", +"JOB_STATE_STOPPED", +"JOB_STATE_RUNNING", +"JOB_STATE_DONE", +"JOB_STATE_FAILED", +"JOB_STATE_CANCELLED", +"JOB_STATE_UPDATED", +"JOB_STATE_DRAINING", +"JOB_STATE_DRAINED", +"JOB_STATE_PENDING", +"JOB_STATE_CANCELLING", +"JOB_STATE_QUEUED", +"JOB_STATE_RESOURCE_CLEANING_UP", +"JOB_STATE_PAUSING", +"JOB_STATE_PAUSED" +], +"enumDescriptions": [ +"The job's run state isn't specified.", +"`JOB_STATE_STOPPED` indicates that the job has not yet started to run.", +"`JOB_STATE_RUNNING` indicates that the job is currently running.", +"`JOB_STATE_DONE` indicates that the job has successfully completed. This is a terminal job state. This state may be set by the Cloud Dataflow service, as a transition from `JOB_STATE_RUNNING`. It may also be set via a Cloud Dataflow `UpdateJob` call, if the job has not yet reached a terminal state.", +"`JOB_STATE_FAILED` indicates that the job has failed. This is a terminal job state. This state may only be set by the Cloud Dataflow service, and only as a transition from `JOB_STATE_RUNNING`.", +"`JOB_STATE_CANCELLED` indicates that the job has been explicitly cancelled. This is a terminal job state. This state may only be set via a Cloud Dataflow `UpdateJob` call, and only if the job has not yet reached another terminal state.", +"`JOB_STATE_UPDATED` indicates that the job was successfully updated, meaning that this job was stopped and another job was started, inheriting state from this one. This is a terminal job state. This state may only be set by the Cloud Dataflow service, and only as a transition from `JOB_STATE_RUNNING`.", +"`JOB_STATE_DRAINING` indicates that the job is in the process of draining. A draining job has stopped pulling from its input sources and is processing any data that remains in-flight. This state may be set via a Cloud Dataflow `UpdateJob` call, but only as a transition from `JOB_STATE_RUNNING`. Jobs that are draining may only transition to `JOB_STATE_DRAINED`, `JOB_STATE_CANCELLED`, or `JOB_STATE_FAILED`.", +"`JOB_STATE_DRAINED` indicates that the job has been drained. A drained job terminated by stopping pulling from its input sources and processing any data that remained in-flight when draining was requested. This state is a terminal state, may only be set by the Cloud Dataflow service, and only as a transition from `JOB_STATE_DRAINING`.", +"`JOB_STATE_PENDING` indicates that the job has been created but is not yet running. Jobs that are pending may only transition to `JOB_STATE_RUNNING`, or `JOB_STATE_FAILED`.", +"`JOB_STATE_CANCELLING` indicates that the job has been explicitly cancelled and is in the process of stopping. Jobs that are cancelling may only transition to `JOB_STATE_CANCELLED` or `JOB_STATE_FAILED`.", +"`JOB_STATE_QUEUED` indicates that the job has been created but is being delayed until launch. Jobs that are queued may only transition to `JOB_STATE_PENDING` or `JOB_STATE_CANCELLED`.", +"`JOB_STATE_RESOURCE_CLEANING_UP` indicates that the batch job's associated resources are currently being cleaned up after a successful run. Currently, this is an opt-in feature, please reach out to Cloud support team if you are interested.", +"`JOB_STATE_PAUSING` is not implemented yet.", +"`JOB_STATE_PAUSED` is not implemented yet." +], +"type": "string" +}, +"runtimeUpdatableParams": { +"$ref": "RuntimeUpdatableParams", +"description": "This field may ONLY be modified at runtime using the projects.jobs.update method to adjust job behavior. This field has no effect when specified at job creation." +}, +"satisfiesPzi": { +"description": "Output only. Reserved for future use. This field is set only in responses from the server; it is ignored if it is set in any requests.", +"readOnly": true, +"type": "boolean" +}, +"satisfiesPzs": { +"description": "Reserved for future use. This field is set only in responses from the server; it is ignored if it is set in any requests.", +"type": "boolean" +}, +"serviceResources": { +"$ref": "ServiceResources", +"description": "Output only. Resources used by the Dataflow Service to run the job.", +"readOnly": true +}, +"stageStates": { +"description": "This field may be mutated by the Cloud Dataflow service; callers cannot mutate it.", +"items": { +"$ref": "ExecutionStageState" +}, +"type": "array" +}, +"startTime": { +"description": "The timestamp when the job was started (transitioned to JOB_STATE_PENDING). Flexible resource scheduling jobs are started with some delay after job creation, so start_time is unset before start and is updated when the job is started by the Cloud Dataflow service. For other jobs, start_time always equals to create_time and is immutable and set by the Cloud Dataflow service.", +"format": "google-datetime", +"type": "string" +}, +"steps": { +"description": "Exactly one of step or steps_location should be specified. The top-level steps that constitute the entire job. Only retrieved with JOB_VIEW_ALL.", +"items": { +"$ref": "Step" +}, +"type": "array" +}, +"stepsLocation": { +"description": "The Cloud Storage location where the steps are stored.", +"type": "string" +}, +"tempFiles": { +"description": "A set of files the system should be aware of that are used for temporary storage. These temporary files will be removed on job completion. No duplicates are allowed. No file patterns are supported. The supported files are: Google Cloud Storage: storage.googleapis.com/{bucket}/{object} bucket.storage.googleapis.com/{object}", +"items": { +"type": "string" +}, +"type": "array" +}, +"transformNameMapping": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. The map of transform name prefixes of the job to be replaced to the corresponding name prefixes of the new job.", +"type": "object" +}, +"type": { +"description": "Optional. The type of Dataflow job.", +"enum": [ +"JOB_TYPE_UNKNOWN", +"JOB_TYPE_BATCH", +"JOB_TYPE_STREAMING" +], +"enumDescriptions": [ +"The type of the job is unspecified, or unknown.", +"A batch job with a well-defined end point: data is read, data is processed, data is written, and the job is done.", +"A continuously streaming job with no end: data is read, processed, and written continuously." +], +"type": "string" +} +}, +"type": "object" +}, +"JobExecutionDetails": { +"description": "Information about the execution of a job.", +"id": "JobExecutionDetails", +"properties": { +"nextPageToken": { +"description": "If present, this response does not contain all requested tasks. To obtain the next page of results, repeat the request with page_token set to this value.", +"type": "string" +}, +"stages": { +"description": "The stages of the job execution.", +"items": { +"$ref": "StageSummary" +}, +"type": "array" +} +}, +"type": "object" +}, +"JobExecutionInfo": { +"description": "Additional information about how a Cloud Dataflow job will be executed that isn't contained in the submitted job.", +"id": "JobExecutionInfo", +"properties": { +"stages": { +"additionalProperties": { +"$ref": "JobExecutionStageInfo" +}, +"description": "A mapping from each stage to the information about that stage.", +"type": "object" +} +}, +"type": "object" +}, +"JobExecutionStageInfo": { +"description": "Contains information about how a particular google.dataflow.v1beta3.Step will be executed.", +"id": "JobExecutionStageInfo", +"properties": { +"stepName": { +"description": "The steps associated with the execution stage. Note that stages may have several steps, and that a given step might be run by more than one stage.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"JobMessage": { +"description": "A particular message pertaining to a Dataflow job.", +"id": "JobMessage", +"properties": { +"id": { +"description": "Deprecated.", +"type": "string" +}, +"messageImportance": { +"description": "Importance level of the message.", +"enum": [ +"JOB_MESSAGE_IMPORTANCE_UNKNOWN", +"JOB_MESSAGE_DEBUG", +"JOB_MESSAGE_DETAILED", +"JOB_MESSAGE_BASIC", +"JOB_MESSAGE_WARNING", +"JOB_MESSAGE_ERROR" +], +"enumDescriptions": [ +"The message importance isn't specified, or is unknown.", +"The message is at the 'debug' level: typically only useful for software engineers working on the code the job is running. Typically, Dataflow pipeline runners do not display log messages at this level by default.", +"The message is at the 'detailed' level: somewhat verbose, but potentially useful to users. Typically, Dataflow pipeline runners do not display log messages at this level by default. These messages are displayed by default in the Dataflow monitoring UI.", +"The message is at the 'basic' level: useful for keeping track of the execution of a Dataflow pipeline. Typically, Dataflow pipeline runners display log messages at this level by default, and these messages are displayed by default in the Dataflow monitoring UI.", +"The message is at the 'warning' level: indicating a condition pertaining to a job which may require human intervention. Typically, Dataflow pipeline runners display log messages at this level by default, and these messages are displayed by default in the Dataflow monitoring UI.", +"The message is at the 'error' level: indicating a condition preventing a job from succeeding. Typically, Dataflow pipeline runners display log messages at this level by default, and these messages are displayed by default in the Dataflow monitoring UI." +], +"type": "string" +}, +"messageText": { +"description": "The text of the message.", +"type": "string" +}, +"time": { +"description": "The timestamp of the message.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"JobMetadata": { +"description": "Metadata available primarily for filtering jobs. Will be included in the ListJob response and Job SUMMARY view.", +"id": "JobMetadata", +"properties": { +"bigTableDetails": { +"description": "Identification of a Cloud Bigtable source used in the Dataflow job.", +"items": { +"$ref": "BigTableIODetails" +}, +"type": "array" +}, +"bigqueryDetails": { +"description": "Identification of a BigQuery source used in the Dataflow job.", +"items": { +"$ref": "BigQueryIODetails" +}, +"type": "array" +}, +"datastoreDetails": { +"description": "Identification of a Datastore source used in the Dataflow job.", +"items": { +"$ref": "DatastoreIODetails" +}, +"type": "array" +}, +"fileDetails": { +"description": "Identification of a File source used in the Dataflow job.", +"items": { +"$ref": "FileIODetails" +}, +"type": "array" +}, +"pubsubDetails": { +"description": "Identification of a Pub/Sub source used in the Dataflow job.", +"items": { +"$ref": "PubSubIODetails" +}, +"type": "array" +}, +"sdkVersion": { +"$ref": "SdkVersion", +"description": "The SDK version used to run the job." +}, +"spannerDetails": { +"description": "Identification of a Spanner source used in the Dataflow job.", +"items": { +"$ref": "SpannerIODetails" +}, +"type": "array" +}, +"userDisplayProperties": { +"additionalProperties": { +"type": "string" +}, +"description": "List of display properties to help UI filter jobs.", +"type": "object" +} +}, +"type": "object" +}, +"JobMetrics": { +"description": "JobMetrics contains a collection of metrics describing the detailed progress of a Dataflow job. Metrics correspond to user-defined and system-defined metrics in the job. For more information, see [Dataflow job metrics] (https://cloud.google.com/dataflow/docs/guides/using-monitoring-intf). This resource captures only the most recent values of each metric; time-series data can be queried for them (under the same metric names) from Cloud Monitoring.", +"id": "JobMetrics", +"properties": { +"metricTime": { +"description": "Timestamp as of which metric values are current.", +"format": "google-datetime", +"type": "string" +}, +"metrics": { +"description": "All metrics for this job.", +"items": { +"$ref": "MetricUpdate" +}, +"type": "array" +} +}, +"type": "object" +}, +"KeyRangeDataDiskAssignment": { +"description": "Data disk assignment information for a specific key-range of a sharded computation. Currently we only support UTF-8 character splits to simplify encoding into JSON.", +"id": "KeyRangeDataDiskAssignment", +"properties": { +"dataDisk": { +"description": "The name of the data disk where data for this range is stored. This name is local to the Google Cloud Platform project and uniquely identifies the disk within that project, for example \"myproject-1014-104817-4c2-harness-0-disk-1\".", +"type": "string" +}, +"end": { +"description": "The end (exclusive) of the key range.", +"type": "string" +}, +"start": { +"description": "The start (inclusive) of the key range.", +"type": "string" +} +}, +"type": "object" +}, +"KeyRangeLocation": { +"description": "Location information for a specific key-range of a sharded computation. Currently we only support UTF-8 character splits to simplify encoding into JSON.", +"id": "KeyRangeLocation", +"properties": { +"dataDisk": { +"description": "The name of the data disk where data for this range is stored. This name is local to the Google Cloud Platform project and uniquely identifies the disk within that project, for example \"myproject-1014-104817-4c2-harness-0-disk-1\".", +"type": "string" +}, +"deliveryEndpoint": { +"description": "The physical location of this range assignment to be used for streaming computation cross-worker message delivery.", +"type": "string" +}, +"deprecatedPersistentDirectory": { +"deprecated": true, +"description": "DEPRECATED. The location of the persistent state for this range, as a persistent directory in the worker local filesystem.", +"type": "string" +}, +"end": { +"description": "The end (exclusive) of the key range.", +"type": "string" +}, +"start": { +"description": "The start (inclusive) of the key range.", +"type": "string" +} +}, +"type": "object" +}, +"LaunchFlexTemplateParameter": { +"description": "Launch FlexTemplate Parameter.", +"id": "LaunchFlexTemplateParameter", +"properties": { +"containerSpec": { +"$ref": "ContainerSpec", +"description": "Spec about the container image to launch." +}, +"containerSpecGcsPath": { +"description": "Cloud Storage path to a file with json serialized ContainerSpec as content.", +"type": "string" +}, +"environment": { +"$ref": "FlexTemplateRuntimeEnvironment", +"description": "The runtime environment for the FlexTemplate job" +}, +"jobName": { +"description": "Required. The job name to use for the created job. For update job request, job name should be same as the existing running job.", +"type": "string" +}, +"launchOptions": { +"additionalProperties": { +"type": "string" +}, +"description": "Launch options for this flex template job. This is a common set of options across languages and templates. This should not be used to pass job parameters.", +"type": "object" +}, +"parameters": { +"additionalProperties": { +"type": "string" +}, +"description": "The parameters for FlexTemplate. Ex. {\"num_workers\":\"5\"}", +"type": "object" +}, +"transformNameMappings": { +"additionalProperties": { +"type": "string" +}, +"description": "Use this to pass transform_name_mappings for streaming update jobs. Ex:{\"oldTransformName\":\"newTransformName\",...}'", +"type": "object" +}, +"update": { +"description": "Set this to true if you are sending a request to update a running streaming job. When set, the job name should be the same as the running job.", +"type": "boolean" +} +}, +"type": "object" +}, +"LaunchFlexTemplateRequest": { +"description": "A request to launch a Cloud Dataflow job from a FlexTemplate.", +"id": "LaunchFlexTemplateRequest", +"properties": { +"launchParameter": { +"$ref": "LaunchFlexTemplateParameter", +"description": "Required. Parameter to launch a job form Flex Template." +}, +"validateOnly": { +"description": "If true, the request is validated but not actually executed. Defaults to false.", +"type": "boolean" +} +}, +"type": "object" +}, +"LaunchFlexTemplateResponse": { +"description": "Response to the request to launch a job from Flex Template.", +"id": "LaunchFlexTemplateResponse", +"properties": { +"job": { +"$ref": "Job", +"description": "The job that was launched, if the request was not a dry run and the job was successfully launched." +} +}, +"type": "object" +}, +"LaunchTemplateParameters": { +"description": "Parameters to provide to the template being launched. Note that the [metadata in the pipeline code] (https://cloud.google.com/dataflow/docs/guides/templates/creating-templates#metadata) determines which runtime parameters are valid.", +"id": "LaunchTemplateParameters", +"properties": { +"environment": { +"$ref": "RuntimeEnvironment", +"description": "The runtime environment for the job." +}, +"jobName": { +"description": "Required. The job name to use for the created job. The name must match the regular expression `[a-z]([-a-z0-9]{0,1022}[a-z0-9])?`", +"type": "string" +}, +"parameters": { +"additionalProperties": { +"type": "string" +}, +"description": "The runtime parameters to pass to the job.", +"type": "object" +}, +"transformNameMapping": { +"additionalProperties": { +"type": "string" +}, +"description": "Only applicable when updating a pipeline. Map of transform name prefixes of the job to be replaced to the corresponding name prefixes of the new job.", +"type": "object" +}, +"update": { +"description": "If set, replace the existing pipeline with the name specified by jobName with this pipeline, preserving state.", +"type": "boolean" +} +}, +"type": "object" +}, +"LaunchTemplateResponse": { +"description": "Response to the request to launch a template.", +"id": "LaunchTemplateResponse", +"properties": { +"job": { +"$ref": "Job", +"description": "The job that was launched, if the request was not a dry run and the job was successfully launched." +} +}, +"type": "object" +}, +"LeaseWorkItemRequest": { +"description": "Request to lease WorkItems.", +"id": "LeaseWorkItemRequest", +"properties": { +"currentWorkerTime": { +"description": "The current timestamp at the worker.", +"format": "google-datetime", +"type": "string" +}, +"location": { +"description": "The [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) that contains the WorkItem's job.", +"type": "string" +}, +"projectNumber": { +"description": "Optional. The project number of the project this worker belongs to.", +"format": "int64", +"type": "string" +}, +"requestedLeaseDuration": { +"description": "The initial lease period.", +"format": "google-duration", +"type": "string" +}, +"unifiedWorkerRequest": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "Untranslated bag-of-bytes WorkRequest from UnifiedWorker.", +"type": "object" +}, +"workItemTypes": { +"description": "Filter for WorkItem type.", +"items": { +"type": "string" +}, +"type": "array" +}, +"workerCapabilities": { +"description": "Worker capabilities. WorkItems might be limited to workers with specific capabilities.", +"items": { +"type": "string" +}, +"type": "array" +}, +"workerId": { +"description": "Identifies the worker leasing work -- typically the ID of the virtual machine running the worker.", +"type": "string" +} +}, +"type": "object" +}, +"LeaseWorkItemResponse": { +"description": "Response to a request to lease WorkItems.", +"id": "LeaseWorkItemResponse", +"properties": { +"unifiedWorkerResponse": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "Untranslated bag-of-bytes WorkResponse for UnifiedWorker.", +"type": "object" +}, +"workItems": { +"description": "A list of the leased WorkItems.", +"items": { +"$ref": "WorkItem" +}, +"type": "array" +} +}, +"type": "object" +}, +"Linear": { +"description": "Linear buckets with the following boundaries for indices in 0 to n-1. - i in [0, n-1]: [start + (i)*width, start + (i+1)*width)", +"id": "Linear", +"properties": { +"numberOfBuckets": { +"description": "Must be greater than 0.", +"format": "int32", +"type": "integer" +}, +"start": { +"description": "Lower bound of the first bucket.", +"format": "double", +"type": "number" +}, +"width": { +"description": "Distance between bucket boundaries. Must be greater than 0.", +"format": "double", +"type": "number" +} +}, +"type": "object" +}, +"ListJobMessagesResponse": { +"description": "Response to a request to list job messages.", +"id": "ListJobMessagesResponse", +"properties": { +"autoscalingEvents": { +"description": "Autoscaling events in ascending timestamp order.", +"items": { +"$ref": "AutoscalingEvent" +}, +"type": "array" +}, +"jobMessages": { +"description": "Messages in ascending timestamp order.", +"items": { +"$ref": "JobMessage" +}, +"type": "array" +}, +"nextPageToken": { +"description": "The token to obtain the next page of results if there are more.", +"type": "string" +} +}, +"type": "object" +}, +"ListJobsResponse": { +"description": "Response to a request to list Cloud Dataflow jobs in a project. This might be a partial response, depending on the page size in the ListJobsRequest. However, if the project does not have any jobs, an instance of ListJobsResponse is not returned and the requests's response body is empty {}.", +"id": "ListJobsResponse", +"properties": { +"failedLocation": { +"description": "Zero or more messages describing the [regional endpoints] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) that failed to respond.", +"items": { +"$ref": "FailedLocation" +}, +"type": "array" +}, +"jobs": { +"description": "A subset of the requested job information.", +"items": { +"$ref": "Job" +}, +"type": "array" +}, +"nextPageToken": { +"description": "Set if there may be more results than fit in this response.", +"type": "string" +} +}, +"type": "object" +}, +"ListSnapshotsResponse": { +"description": "List of snapshots.", +"id": "ListSnapshotsResponse", +"properties": { +"snapshots": { +"description": "Returned snapshots.", +"items": { +"$ref": "Snapshot" +}, +"type": "array" +} +}, +"type": "object" +}, +"MapTask": { +"description": "MapTask consists of an ordered set of instructions, each of which describes one particular low-level operation for the worker to perform in order to accomplish the MapTask's WorkItem. Each instruction must appear in the list before any instructions which depends on its output.", +"id": "MapTask", +"properties": { +"counterPrefix": { +"description": "Counter prefix that can be used to prefix counters. Not currently used in Dataflow.", +"type": "string" +}, +"instructions": { +"description": "The instructions in the MapTask.", +"items": { +"$ref": "ParallelInstruction" +}, +"type": "array" +}, +"stageName": { +"description": "System-defined name of the stage containing this MapTask. Unique across the workflow.", +"type": "string" +}, +"systemName": { +"description": "System-defined name of this MapTask. Unique across the workflow.", +"type": "string" +} +}, +"type": "object" +}, +"MemInfo": { +"description": "Information about the memory usage of a worker or a container within a worker.", +"id": "MemInfo", +"properties": { +"currentLimitBytes": { +"description": "Instantenous memory limit in bytes.", +"format": "uint64", +"type": "string" +}, +"currentOoms": { +"description": "Number of Out of Memory (OOM) events recorded since the previous measurement.", +"format": "int64", +"type": "string" +}, +"currentRssBytes": { +"description": "Instantenous memory (RSS) size in bytes.", +"format": "uint64", +"type": "string" +}, +"timestamp": { +"description": "Timestamp of the measurement.", +"format": "google-datetime", +"type": "string" +}, +"totalGbMs": { +"description": "Total memory (RSS) usage since start up in GB * ms.", +"format": "uint64", +"type": "string" +} +}, +"type": "object" +}, +"MetricShortId": { +"description": "The metric short id is returned to the user alongside an offset into ReportWorkItemStatusRequest", +"id": "MetricShortId", +"properties": { +"metricIndex": { +"description": "The index of the corresponding metric in the ReportWorkItemStatusRequest. Required.", +"format": "int32", +"type": "integer" +}, +"shortId": { +"description": "The service-generated short identifier for the metric.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"MetricStructuredName": { +"description": "Identifies a metric, by describing the source which generated the metric.", +"id": "MetricStructuredName", +"properties": { +"context": { +"additionalProperties": { +"type": "string" +}, +"description": "Zero or more labeled fields which identify the part of the job this metric is associated with, such as the name of a step or collection. For example, built-in counters associated with steps will have context['step'] = . Counters associated with PCollections in the SDK will have context['pcollection'] = .", +"type": "object" +}, +"name": { +"description": "Worker-defined metric name.", +"type": "string" +}, +"origin": { +"description": "Origin (namespace) of metric name. May be blank for user-define metrics; will be \"dataflow\" for metrics defined by the Dataflow service or SDK.", +"type": "string" +} +}, +"type": "object" +}, +"MetricUpdate": { +"description": "Describes the state of a metric.", +"id": "MetricUpdate", +"properties": { +"boundedTrie": { +"description": "Worker-computed aggregate value for the \"Trie\" aggregation kind. The only possible value type is a BoundedTrieNode. Introduced this field to avoid breaking older SDKs when Dataflow service starts to populate the `bounded_trie` field.", +"type": "any" +}, +"cumulative": { +"description": "True if this metric is reported as the total cumulative aggregate value accumulated since the worker started working on this WorkItem. By default this is false, indicating that this metric is reported as a delta that is not associated with any WorkItem.", +"type": "boolean" +}, +"distribution": { +"description": "A struct value describing properties of a distribution of numeric values.", +"type": "any" +}, +"gauge": { +"description": "A struct value describing properties of a Gauge. Metrics of gauge type show the value of a metric across time, and is aggregated based on the newest value.", +"type": "any" +}, +"internal": { +"description": "Worker-computed aggregate value for internal use by the Dataflow service.", +"type": "any" +}, +"kind": { +"description": "Metric aggregation kind. The possible metric aggregation kinds are \"Sum\", \"Max\", \"Min\", \"Mean\", \"Set\", \"And\", \"Or\", and \"Distribution\". The specified aggregation kind is case-insensitive. If omitted, this is not an aggregated value but instead a single metric sample value.", +"type": "string" +}, +"meanCount": { +"description": "Worker-computed aggregate value for the \"Mean\" aggregation kind. This holds the count of the aggregated values and is used in combination with mean_sum above to obtain the actual mean aggregate value. The only possible value type is Long.", +"type": "any" +}, +"meanSum": { +"description": "Worker-computed aggregate value for the \"Mean\" aggregation kind. This holds the sum of the aggregated values and is used in combination with mean_count below to obtain the actual mean aggregate value. The only possible value types are Long and Double.", +"type": "any" +}, +"name": { +"$ref": "MetricStructuredName", +"description": "Name of the metric." +}, +"scalar": { +"description": "Worker-computed aggregate value for aggregation kinds \"Sum\", \"Max\", \"Min\", \"And\", and \"Or\". The possible value types are Long, Double, and Boolean.", +"type": "any" +}, +"set": { +"description": "Worker-computed aggregate value for the \"Set\" aggregation kind. The only possible value type is a list of Values whose type can be Long, Double, String, or BoundedTrie according to the metric's type. All Values in the list must be of the same type.", +"type": "any" +}, +"trie": { +"description": "Worker-computed aggregate value for the \"Trie\" aggregation kind. The only possible value type is a BoundedTrieNode.", +"type": "any" +}, +"updateTime": { +"description": "Timestamp associated with the metric value. Optional when workers are reporting work progress; it will be filled in responses from the metrics API.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"MetricValue": { +"description": "The value of a metric along with its name and labels.", +"id": "MetricValue", +"properties": { +"metric": { +"description": "Base name for this metric.", +"type": "string" +}, +"metricLabels": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. Set of metric labels for this metric.", +"type": "object" +}, +"valueGauge64": { +"$ref": "DataflowGaugeValue", +"description": "Non-cumulative int64 value of this metric." +}, +"valueHistogram": { +"$ref": "DataflowHistogramValue", +"description": "Histogram value of this metric." +}, +"valueInt64": { +"description": "Integer value of this metric.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"MountedDataDisk": { +"description": "Describes mounted data disk.", +"id": "MountedDataDisk", +"properties": { +"dataDisk": { +"description": "The name of the data disk. This name is local to the Google Cloud Platform project and uniquely identifies the disk within that project, for example \"myproject-1014-104817-4c2-harness-0-disk-1\".", +"type": "string" +} +}, +"type": "object" +}, +"MultiOutputInfo": { +"description": "Information about an output of a multi-output DoFn.", +"id": "MultiOutputInfo", +"properties": { +"tag": { +"description": "The id of the tag the user code will emit to this output by; this should correspond to the tag of some SideInputInfo.", +"type": "string" +} +}, +"type": "object" +}, +"NameAndKind": { +"description": "Basic metadata about a counter.", +"id": "NameAndKind", +"properties": { +"kind": { +"description": "Counter aggregation kind.", +"enum": [ +"INVALID", +"SUM", +"MAX", +"MIN", +"MEAN", +"OR", +"AND", +"SET", +"DISTRIBUTION", +"LATEST_VALUE" +], +"enumDescriptions": [ +"Counter aggregation kind was not set.", +"Aggregated value is the sum of all contributed values.", +"Aggregated value is the max of all contributed values.", +"Aggregated value is the min of all contributed values.", +"Aggregated value is the mean of all contributed values.", +"Aggregated value represents the logical 'or' of all contributed values.", +"Aggregated value represents the logical 'and' of all contributed values.", +"Aggregated value is a set of unique contributed values.", +"Aggregated value captures statistics about a distribution.", +"Aggregated value tracks the latest value of a variable." +], +"type": "string" +}, +"name": { +"description": "Name of the counter.", +"type": "string" +} +}, +"type": "object" +}, +"OutlierStats": { +"description": "Statistics for the underflow and overflow bucket.", +"id": "OutlierStats", +"properties": { +"overflowCount": { +"description": "Number of values that are larger than the upper bound of the largest bucket.", +"format": "int64", +"type": "string" +}, +"overflowMean": { +"description": "Mean of values in the overflow bucket.", +"format": "double", +"type": "number" +}, +"underflowCount": { +"description": "Number of values that are smaller than the lower bound of the smallest bucket.", +"format": "int64", +"type": "string" +}, +"underflowMean": { +"description": "Mean of values in the undeflow bucket.", +"format": "double", +"type": "number" +} +}, +"type": "object" +}, +"Package": { +"description": "The packages that must be installed in order for a worker to run the steps of the Cloud Dataflow job that will be assigned to its worker pool. This is the mechanism by which the Cloud Dataflow SDK causes code to be loaded onto the workers. For example, the Cloud Dataflow Java SDK might use this to install jars containing the user's code and all of the various dependencies (libraries, data files, etc.) required in order for that code to run.", +"id": "Package", +"properties": { +"location": { +"description": "The resource to read the package from. The supported resource type is: Google Cloud Storage: storage.googleapis.com/{bucket} bucket.storage.googleapis.com/", +"type": "string" +}, +"name": { +"description": "The name of the package.", +"type": "string" +} +}, +"type": "object" +}, +"ParDoInstruction": { +"description": "An instruction that does a ParDo operation. Takes one main input and zero or more side inputs, and produces zero or more outputs. Runs user code.", +"id": "ParDoInstruction", +"properties": { +"input": { +"$ref": "InstructionInput", +"description": "The input." +}, +"multiOutputInfos": { +"description": "Information about each of the outputs, if user_fn is a MultiDoFn.", +"items": { +"$ref": "MultiOutputInfo" +}, +"type": "array" +}, +"numOutputs": { +"description": "The number of outputs.", +"format": "int32", +"type": "integer" +}, +"sideInputs": { +"description": "Zero or more side inputs.", +"items": { +"$ref": "SideInputInfo" +}, +"type": "array" +}, +"userFn": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"description": "The user function to invoke.", +"type": "object" +} +}, +"type": "object" +}, +"ParallelInstruction": { +"description": "Describes a particular operation comprising a MapTask.", +"id": "ParallelInstruction", +"properties": { +"flatten": { +"$ref": "FlattenInstruction", +"description": "Additional information for Flatten instructions." +}, +"name": { +"description": "User-provided name of this operation.", +"type": "string" +}, +"originalName": { +"description": "System-defined name for the operation in the original workflow graph.", +"type": "string" +}, +"outputs": { +"description": "Describes the outputs of the instruction.", +"items": { +"$ref": "InstructionOutput" +}, +"type": "array" +}, +"parDo": { +"$ref": "ParDoInstruction", +"description": "Additional information for ParDo instructions." +}, +"partialGroupByKey": { +"$ref": "PartialGroupByKeyInstruction", +"description": "Additional information for PartialGroupByKey instructions." +}, +"read": { +"$ref": "ReadInstruction", +"description": "Additional information for Read instructions." +}, +"systemName": { +"description": "System-defined name of this operation. Unique across the workflow.", +"type": "string" +}, +"write": { +"$ref": "WriteInstruction", +"description": "Additional information for Write instructions." +} +}, +"type": "object" +}, +"Parameter": { +"description": "Structured data associated with this message.", +"id": "Parameter", +"properties": { +"key": { +"description": "Key or name for this parameter.", +"type": "string" +}, +"value": { +"description": "Value for this parameter.", +"type": "any" +} +}, +"type": "object" +}, +"ParameterMetadata": { +"description": "Metadata for a specific parameter.", +"id": "ParameterMetadata", +"properties": { +"customMetadata": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. Additional metadata for describing this parameter.", +"type": "object" +}, +"defaultValue": { +"description": "Optional. The default values will pre-populate the parameter with the given value from the proto. If default_value is left empty, the parameter will be populated with a default of the relevant type, e.g. false for a boolean.", +"type": "string" +}, +"enumOptions": { +"description": "Optional. The options shown when ENUM ParameterType is specified.", +"items": { +"$ref": "ParameterMetadataEnumOption" +}, +"type": "array" +}, +"groupName": { +"description": "Optional. Specifies a group name for this parameter to be rendered under. Group header text will be rendered exactly as specified in this field. Only considered when parent_name is NOT provided.", +"type": "string" +}, +"helpText": { +"description": "Required. The help text to display for the parameter.", +"type": "string" +}, +"hiddenUi": { +"description": "Optional. Whether the parameter should be hidden in the UI.", +"type": "boolean" +}, +"isOptional": { +"description": "Optional. Whether the parameter is optional. Defaults to false.", +"type": "boolean" +}, +"label": { +"description": "Required. The label to display for the parameter.", +"type": "string" +}, +"name": { +"description": "Required. The name of the parameter.", +"type": "string" +}, +"paramType": { +"description": "Optional. The type of the parameter. Used for selecting input picker.", +"enum": [ +"DEFAULT", +"TEXT", +"GCS_READ_BUCKET", +"GCS_WRITE_BUCKET", +"GCS_READ_FILE", +"GCS_WRITE_FILE", +"GCS_READ_FOLDER", +"GCS_WRITE_FOLDER", +"PUBSUB_TOPIC", +"PUBSUB_SUBSCRIPTION", +"BIGQUERY_TABLE", +"JAVASCRIPT_UDF_FILE", +"SERVICE_ACCOUNT", +"MACHINE_TYPE", +"KMS_KEY_NAME", +"WORKER_REGION", +"WORKER_ZONE", +"BOOLEAN", +"ENUM", +"NUMBER", +"KAFKA_TOPIC", +"KAFKA_READ_TOPIC", +"KAFKA_WRITE_TOPIC" +], +"enumDeprecated": [ +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +true, +false, +false +], +"enumDescriptions": [ +"Default input type.", +"The parameter specifies generic text input.", +"The parameter specifies a Cloud Storage Bucket to read from.", +"The parameter specifies a Cloud Storage Bucket to write to.", +"The parameter specifies a Cloud Storage file path to read from.", +"The parameter specifies a Cloud Storage file path to write to.", +"The parameter specifies a Cloud Storage folder path to read from.", +"The parameter specifies a Cloud Storage folder to write to.", +"The parameter specifies a Pub/Sub Topic.", +"The parameter specifies a Pub/Sub Subscription.", +"The parameter specifies a BigQuery table.", +"The parameter specifies a JavaScript UDF in Cloud Storage.", +"The parameter specifies a Service Account email.", +"The parameter specifies a Machine Type.", +"The parameter specifies a KMS Key name.", +"The parameter specifies a Worker Region.", +"The parameter specifies a Worker Zone.", +"The parameter specifies a boolean input.", +"The parameter specifies an enum input.", +"The parameter specifies a number input.", +"Deprecated. Please use KAFKA_READ_TOPIC instead.", +"The parameter specifies the fully-qualified name of an Apache Kafka topic. This can be either a Google Managed Kafka topic or a non-managed Kafka topic.", +"The parameter specifies the fully-qualified name of an Apache Kafka topic. This can be an existing Google Managed Kafka topic, the name for a new Google Managed Kafka topic, or an existing non-managed Kafka topic." +], +"type": "string" +}, +"parentName": { +"description": "Optional. Specifies the name of the parent parameter. Used in conjunction with 'parent_trigger_values' to make this parameter conditional (will only be rendered conditionally). Should be mappable to a ParameterMetadata.name field.", +"type": "string" +}, +"parentTriggerValues": { +"description": "Optional. The value(s) of the 'parent_name' parameter which will trigger this parameter to be shown. If left empty, ANY non-empty value in parent_name will trigger this parameter to be shown. Only considered when this parameter is conditional (when 'parent_name' has been provided).", +"items": { +"type": "string" +}, +"type": "array" +}, +"regexes": { +"description": "Optional. Regexes that the parameter must match.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ParameterMetadataEnumOption": { +"description": "ParameterMetadataEnumOption specifies the option shown in the enum form.", +"id": "ParameterMetadataEnumOption", +"properties": { +"description": { +"description": "Optional. The description to display for the enum option.", +"type": "string" +}, +"label": { +"description": "Optional. The label to display for the enum option.", +"type": "string" +}, +"value": { +"description": "Required. The value of the enum option.", +"type": "string" +} +}, +"type": "object" +}, +"PartialGroupByKeyInstruction": { +"description": "An instruction that does a partial group-by-key. One input and one output.", +"id": "PartialGroupByKeyInstruction", +"properties": { +"input": { +"$ref": "InstructionInput", +"description": "Describes the input to the partial group-by-key instruction." +}, +"inputElementCodec": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"description": "The codec to use for interpreting an element in the input PTable.", +"type": "object" +}, +"originalCombineValuesInputStoreName": { +"description": "If this instruction includes a combining function this is the name of the intermediate store between the GBK and the CombineValues.", +"type": "string" +}, +"originalCombineValuesStepName": { +"description": "If this instruction includes a combining function, this is the name of the CombineValues instruction lifted into this instruction.", +"type": "string" +}, +"sideInputs": { +"description": "Zero or more side inputs.", +"items": { +"$ref": "SideInputInfo" +}, +"type": "array" +}, +"valueCombiningFn": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"description": "The value combining function to invoke.", +"type": "object" +} +}, +"type": "object" +}, +"PerStepNamespaceMetrics": { +"description": "Metrics for a particular unfused step and namespace. A metric is uniquely identified by the `metrics_namespace`, `original_step`, `metric name` and `metric_labels`.", +"id": "PerStepNamespaceMetrics", +"properties": { +"metricValues": { +"description": "Optional. Metrics that are recorded for this namespace and unfused step.", +"items": { +"$ref": "MetricValue" +}, +"type": "array" +}, +"metricsNamespace": { +"description": "The namespace of these metrics on the worker.", +"type": "string" +}, +"originalStep": { +"description": "The original system name of the unfused step that these metrics are reported from.", +"type": "string" +} +}, +"type": "object" +}, +"PerWorkerMetrics": { +"description": "Per worker metrics.", +"id": "PerWorkerMetrics", +"properties": { +"perStepNamespaceMetrics": { +"description": "Optional. Metrics for a particular unfused step and namespace.", +"items": { +"$ref": "PerStepNamespaceMetrics" +}, +"type": "array" +} +}, +"type": "object" +}, +"PipelineDescription": { +"description": "A descriptive representation of submitted pipeline as well as the executed form. This data is provided by the Dataflow service for ease of visualizing the pipeline and interpreting Dataflow provided metrics.", +"id": "PipelineDescription", +"properties": { +"displayData": { +"description": "Pipeline level display data.", +"items": { +"$ref": "DisplayData" +}, +"type": "array" +}, +"executionPipelineStage": { +"description": "Description of each stage of execution of the pipeline.", +"items": { +"$ref": "ExecutionStageSummary" +}, +"type": "array" +}, +"originalPipelineTransform": { +"description": "Description of each transform in the pipeline and collections between them.", +"items": { +"$ref": "TransformSummary" +}, +"type": "array" +}, +"stepNamesHash": { +"description": "A hash value of the submitted pipeline portable graph step names if exists.", +"type": "string" +} +}, +"type": "object" +}, +"Point": { +"description": "A point in the timeseries.", +"id": "Point", +"properties": { +"time": { +"description": "The timestamp of the point.", +"format": "google-datetime", +"type": "string" +}, +"value": { +"description": "The value of the point.", +"format": "double", +"type": "number" +} +}, +"type": "object" +}, +"Position": { +"description": "Position defines a position within a collection of data. The value can be either the end position, a key (used with ordered collections), a byte offset, or a record index.", +"id": "Position", +"properties": { +"byteOffset": { +"description": "Position is a byte offset.", +"format": "int64", +"type": "string" +}, +"concatPosition": { +"$ref": "ConcatPosition", +"description": "CloudPosition is a concat position." +}, +"end": { +"description": "Position is past all other positions. Also useful for the end position of an unbounded range.", +"type": "boolean" +}, +"key": { +"description": "Position is a string key, ordered lexicographically.", +"type": "string" +}, +"recordIndex": { +"description": "Position is a record index.", +"format": "int64", +"type": "string" +}, +"shufflePosition": { +"description": "CloudPosition is a base64 encoded BatchShufflePosition (with FIXED sharding).", +"type": "string" +} +}, +"type": "object" +}, +"ProgressTimeseries": { +"description": "Information about the progress of some component of job execution.", +"id": "ProgressTimeseries", +"properties": { +"currentProgress": { +"description": "The current progress of the component, in the range [0,1].", +"format": "double", +"type": "number" +}, +"dataPoints": { +"description": "History of progress for the component. Points are sorted by time.", +"items": { +"$ref": "Point" +}, +"type": "array" +} +}, +"type": "object" +}, +"PubSubIODetails": { +"description": "Metadata for a Pub/Sub connector used by the job.", +"id": "PubSubIODetails", +"properties": { +"subscription": { +"description": "Subscription used in the connection.", +"type": "string" +}, +"topic": { +"description": "Topic accessed in the connection.", +"type": "string" +} +}, +"type": "object" +}, +"PubsubLocation": { +"description": "Identifies a pubsub location to use for transferring data into or out of a streaming Dataflow job.", +"id": "PubsubLocation", +"properties": { +"dropLateData": { +"description": "Indicates whether the pipeline allows late-arriving data.", +"type": "boolean" +}, +"dynamicDestinations": { +"description": "If true, then this location represents dynamic topics.", +"type": "boolean" +}, +"idLabel": { +"description": "If set, contains a pubsub label from which to extract record ids. If left empty, record deduplication will be strictly best effort.", +"type": "string" +}, +"subscription": { +"description": "A pubsub subscription, in the form of \"pubsub.googleapis.com/subscriptions//\"", +"type": "string" +}, +"timestampLabel": { +"description": "If set, contains a pubsub label from which to extract record timestamps. If left empty, record timestamps will be generated upon arrival.", +"type": "string" +}, +"topic": { +"description": "A pubsub topic, in the form of \"pubsub.googleapis.com/topics//\"", +"type": "string" +}, +"trackingSubscription": { +"description": "If set, specifies the pubsub subscription that will be used for tracking custom time timestamps for watermark estimation.", +"type": "string" +}, +"withAttributes": { +"description": "If true, then the client has requested to get pubsub attributes.", +"type": "boolean" +} +}, +"type": "object" +}, +"PubsubSnapshotMetadata": { +"description": "Represents a Pubsub snapshot.", +"id": "PubsubSnapshotMetadata", +"properties": { +"expireTime": { +"description": "The expire time of the Pubsub snapshot.", +"format": "google-datetime", +"type": "string" +}, +"snapshotName": { +"description": "The name of the Pubsub snapshot.", +"type": "string" +}, +"topicName": { +"description": "The name of the Pubsub topic.", +"type": "string" +} +}, +"type": "object" +}, +"ReadInstruction": { +"description": "An instruction that reads records. Takes no inputs, produces one output.", +"id": "ReadInstruction", +"properties": { +"source": { +"$ref": "Source", +"description": "The source to read from." +} +}, +"type": "object" +}, +"ReportWorkItemStatusRequest": { +"description": "Request to report the status of WorkItems.", +"id": "ReportWorkItemStatusRequest", +"properties": { +"currentWorkerTime": { +"description": "The current timestamp at the worker.", +"format": "google-datetime", +"type": "string" +}, +"location": { +"description": "The [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) that contains the WorkItem's job.", +"type": "string" +}, +"projectNumber": { +"description": "Optional. The project number of the project which owns the WorkItem's job.", +"format": "int64", +"type": "string" +}, +"unifiedWorkerRequest": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "Untranslated bag-of-bytes WorkProgressUpdateRequest from UnifiedWorker.", +"type": "object" +}, +"workItemStatuses": { +"description": "The order is unimportant, except that the order of the WorkItemServiceState messages in the ReportWorkItemStatusResponse corresponds to the order of WorkItemStatus messages here.", +"items": { +"$ref": "WorkItemStatus" +}, +"type": "array" +}, +"workerId": { +"description": "The ID of the worker reporting the WorkItem status. If this does not match the ID of the worker which the Dataflow service believes currently has the lease on the WorkItem, the report will be dropped (with an error response).", +"type": "string" +} +}, +"type": "object" +}, +"ReportWorkItemStatusResponse": { +"description": "Response from a request to report the status of WorkItems.", +"id": "ReportWorkItemStatusResponse", +"properties": { +"unifiedWorkerResponse": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "Untranslated bag-of-bytes WorkProgressUpdateResponse for UnifiedWorker.", +"type": "object" +}, +"workItemServiceStates": { +"description": "A set of messages indicating the service-side state for each WorkItem whose status was reported, in the same order as the WorkItemStatus messages in the ReportWorkItemStatusRequest which resulting in this response.", +"items": { +"$ref": "WorkItemServiceState" +}, +"type": "array" +} +}, +"type": "object" +}, +"ReportedParallelism": { +"description": "Represents the level of parallelism in a WorkItem's input, reported by the worker.", +"id": "ReportedParallelism", +"properties": { +"isInfinite": { +"description": "Specifies whether the parallelism is infinite. If true, \"value\" is ignored. Infinite parallelism means the service will assume that the work item can always be split into more non-empty work items by dynamic splitting. This is a work-around for lack of support for infinity by the current JSON-based Java RPC stack.", +"type": "boolean" +}, +"value": { +"description": "Specifies the level of parallelism in case it is finite.", +"format": "double", +"type": "number" +} +}, +"type": "object" +}, +"ResourceUtilizationReport": { +"description": "Worker metrics exported from workers. This contains resource utilization metrics accumulated from a variety of sources. For more information, see go/df-resource-signals.", +"id": "ResourceUtilizationReport", +"properties": { +"containers": { +"additionalProperties": { +"$ref": "ResourceUtilizationReport" +}, +"description": "Per container information. Key: container name.", +"type": "object" +}, +"cpuTime": { +"description": "CPU utilization samples.", +"items": { +"$ref": "CPUTime" +}, +"type": "array" +}, +"gpuUsage": { +"description": "Optional. GPU usage samples.", +"items": { +"$ref": "GPUUsage" +}, +"type": "array" +}, +"memoryInfo": { +"description": "Memory utilization samples.", +"items": { +"$ref": "MemInfo" +}, +"type": "array" +} +}, +"type": "object" +}, +"ResourceUtilizationReportResponse": { +"description": "Service-side response to WorkerMessage reporting resource utilization.", +"id": "ResourceUtilizationReportResponse", +"properties": {}, +"type": "object" +}, +"RuntimeEnvironment": { +"description": "The environment values to set at runtime.", +"id": "RuntimeEnvironment", +"properties": { +"additionalExperiments": { +"description": "Optional. Additional experiment flags for the job, specified with the `--experiments` option.", +"items": { +"type": "string" +}, +"type": "array" +}, +"additionalPipelineOptions": { +"description": "Optional. Additional pipeline option flags for the job.", +"items": { +"type": "string" +}, +"type": "array" +}, +"additionalUserLabels": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. Additional user labels to be specified for the job. Keys and values should follow the restrictions specified in the [labeling restrictions](https://cloud.google.com/compute/docs/labeling-resources#restrictions) page. An object containing a list of \"key\": value pairs. Example: { \"name\": \"wrench\", \"mass\": \"1kg\", \"count\": \"3\" }.", +"type": "object" +}, +"bypassTempDirValidation": { +"description": "Optional. Whether to bypass the safety checks for the job's temporary directory. Use with caution.", +"type": "boolean" +}, +"diskSizeGb": { +"description": "Optional. The disk size, in gigabytes, to use on each remote Compute Engine worker instance.", +"format": "int32", +"type": "integer" +}, +"enableStreamingEngine": { +"description": "Optional. Whether to enable Streaming Engine for the job.", +"type": "boolean" +}, +"ipConfiguration": { +"description": "Optional. Configuration for VM IPs.", +"enum": [ +"WORKER_IP_UNSPECIFIED", +"WORKER_IP_PUBLIC", +"WORKER_IP_PRIVATE" +], +"enumDescriptions": [ +"The configuration is unknown, or unspecified.", +"Workers should have public IP addresses.", +"Workers should have private IP addresses." +], +"type": "string" +}, +"kmsKeyName": { +"description": "Optional. Name for the Cloud KMS key for the job. Key format is: projects//locations//keyRings//cryptoKeys/", +"type": "string" +}, +"machineType": { +"description": "Optional. The machine type to use for the job. Defaults to the value from the template if not specified.", +"type": "string" +}, +"maxWorkers": { +"description": "Optional. The maximum number of Google Compute Engine instances to be made available to your pipeline during execution, from 1 to 1000. The default value is 1.", +"format": "int32", +"type": "integer" +}, +"network": { +"description": "Optional. Network to which VMs will be assigned. If empty or unspecified, the service will use the network \"default\".", +"type": "string" +}, +"numWorkers": { +"description": "Optional. The initial number of Google Compute Engine instances for the job. The default value is 11.", +"format": "int32", +"type": "integer" +}, +"serviceAccountEmail": { +"description": "Optional. The email address of the service account to run the job as.", +"type": "string" +}, +"streamingMode": { +"description": "Optional. Specifies the Streaming Engine message processing guarantees. Reduces cost and latency but might result in duplicate messages committed to storage. Designed to run simple mapping streaming ETL jobs at the lowest cost. For example, Change Data Capture (CDC) to BigQuery is a canonical use case. For more information, see [Set the pipeline streaming mode](https://cloud.google.com/dataflow/docs/guides/streaming-modes).", +"enum": [ +"STREAMING_MODE_UNSPECIFIED", +"STREAMING_MODE_EXACTLY_ONCE", +"STREAMING_MODE_AT_LEAST_ONCE" +], +"enumDescriptions": [ +"Run in the default mode.", +"In this mode, message deduplication is performed against persistent state to make sure each message is processed and committed to storage exactly once.", +"Message deduplication is not performed. Messages might be processed multiple times, and the results are applied multiple times. Note: Setting this value also enables Streaming Engine and Streaming Engine resource-based billing." +], +"type": "string" +}, +"subnetwork": { +"description": "Optional. Subnetwork to which VMs will be assigned, if desired. You can specify a subnetwork using either a complete URL or an abbreviated path. Expected to be of the form \"https://www.googleapis.com/compute/v1/projects/HOST_PROJECT_ID/regions/REGION/subnetworks/SUBNETWORK\" or \"regions/REGION/subnetworks/SUBNETWORK\". If the subnetwork is located in a Shared VPC network, you must use the complete URL.", +"type": "string" +}, +"tempLocation": { +"description": "Required. The Cloud Storage path to use for temporary files. Must be a valid Cloud Storage URL, beginning with `gs://`.", +"type": "string" +}, +"workerRegion": { +"description": "Required. The Compute Engine region (https://cloud.google.com/compute/docs/regions-zones/regions-zones) in which worker processing should occur, e.g. \"us-west1\". Mutually exclusive with worker_zone. If neither worker_region nor worker_zone is specified, default to the control plane's region.", +"type": "string" +}, +"workerZone": { +"description": "Optional. The Compute Engine zone (https://cloud.google.com/compute/docs/regions-zones/regions-zones) in which worker processing should occur, e.g. \"us-west1-a\". Mutually exclusive with worker_region. If neither worker_region nor worker_zone is specified, a zone in the control plane's region is chosen based on available capacity. If both `worker_zone` and `zone` are set, `worker_zone` takes precedence.", +"type": "string" +}, +"zone": { +"description": "Optional. The Compute Engine [availability zone](https://cloud.google.com/compute/docs/regions-zones/regions-zones) for launching worker instances to run your pipeline. In the future, worker_zone will take precedence.", +"type": "string" +} +}, +"type": "object" +}, +"RuntimeMetadata": { +"description": "RuntimeMetadata describing a runtime environment.", +"id": "RuntimeMetadata", +"properties": { +"parameters": { +"description": "The parameters for the template.", +"items": { +"$ref": "ParameterMetadata" +}, +"type": "array" +}, +"sdkInfo": { +"$ref": "SDKInfo", +"description": "SDK Info for the template." +} +}, +"type": "object" +}, +"RuntimeUpdatableParams": { +"description": "Additional job parameters that can only be updated during runtime using the projects.jobs.update method. These fields have no effect when specified during job creation.", +"id": "RuntimeUpdatableParams", +"properties": { +"acceptableBacklogDuration": { +"deprecated": true, +"description": "Optional. Deprecated: Use `autoscaling_tier` instead. The backlog threshold duration in seconds for autoscaling. Value must be non-negative.", +"format": "google-duration", +"type": "string" +}, +"autoscalingTier": { +"description": "Optional. The backlog threshold tier for autoscaling. Value must be one of \"low-latency\", \"medium-latency\", or \"high-latency\".", +"type": "string" +}, +"maxNumWorkers": { +"description": "The maximum number of workers to cap autoscaling at. This field is currently only supported for Streaming Engine jobs.", +"format": "int32", +"type": "integer" +}, +"minNumWorkers": { +"description": "The minimum number of workers to scale down to. This field is currently only supported for Streaming Engine jobs.", +"format": "int32", +"type": "integer" +}, +"workerUtilizationHint": { +"description": "Target worker utilization, compared against the aggregate utilization of the worker pool by autoscaler, to determine upscaling and downscaling when absent other constraints such as backlog. For more information, see [Update an existing pipeline](https://cloud.google.com/dataflow/docs/guides/updating-a-pipeline).", +"format": "double", +"type": "number" +} +}, +"type": "object" +}, +"SDKInfo": { +"description": "SDK Information.", +"id": "SDKInfo", +"properties": { +"language": { +"description": "Required. The SDK Language.", +"enum": [ +"UNKNOWN", +"JAVA", +"PYTHON", +"GO", +"YAML" +], +"enumDescriptions": [ +"UNKNOWN Language.", +"Java.", +"Python.", +"Go.", +"YAML." +], +"type": "string" +}, +"version": { +"description": "Optional. The SDK version.", +"type": "string" +} +}, +"type": "object" +}, +"Sdk": { +"description": "A structured representation of an SDK.", +"id": "Sdk", +"properties": { +"sdkId": { +"description": "The SDK harness id.", +"type": "string" +}, +"stacks": { +"description": "The stacktraces for the processes running on the SDK harness.", +"items": { +"$ref": "Stack" +}, +"type": "array" +} +}, +"type": "object" +}, +"SdkBug": { +"description": "A bug found in the Dataflow SDK.", +"id": "SdkBug", +"properties": { +"severity": { +"description": "Output only. How severe the SDK bug is.", +"enum": [ +"SEVERITY_UNSPECIFIED", +"NOTICE", +"WARNING", +"SEVERE" +], +"enumDescriptions": [ +"A bug of unknown severity.", +"A minor bug that that may reduce reliability or performance for some jobs. Impact will be minimal or non-existent for most jobs.", +"A bug that has some likelihood of causing performance degradation, data loss, or job failures.", +"A bug with extremely significant impact. Jobs may fail erroneously, performance may be severely degraded, and data loss may be very likely." +], +"readOnly": true, +"type": "string" +}, +"type": { +"description": "Output only. Describes the impact of this SDK bug.", +"enum": [ +"TYPE_UNSPECIFIED", +"GENERAL", +"PERFORMANCE", +"DATALOSS" +], +"enumDescriptions": [ +"Unknown issue with this SDK.", +"Catch-all for SDK bugs that don't fit in the below categories.", +"Using this version of the SDK may result in degraded performance.", +"Using this version of the SDK may cause data loss." +], +"readOnly": true, +"type": "string" +}, +"uri": { +"description": "Output only. Link to more information on the bug.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"SdkHarnessContainerImage": { +"description": "Defines an SDK harness container for executing Dataflow pipelines.", +"id": "SdkHarnessContainerImage", +"properties": { +"capabilities": { +"description": "The set of capabilities enumerated in the above Environment proto. See also [beam_runner_api.proto](https://github.com/apache/beam/blob/master/model/pipeline/src/main/proto/org/apache/beam/model/pipeline/v1/beam_runner_api.proto)", +"items": { +"type": "string" +}, +"type": "array" +}, +"containerImage": { +"description": "A docker container image that resides in Google Container Registry.", +"type": "string" +}, +"environmentId": { +"description": "Environment ID for the Beam runner API proto Environment that corresponds to the current SDK Harness.", +"type": "string" +}, +"useSingleCorePerContainer": { +"description": "If true, recommends the Dataflow service to use only one core per SDK container instance with this image. If false (or unset) recommends using more than one core per SDK container instance with this image for efficiency. Note that Dataflow service may choose to override this property if needed.", +"type": "boolean" +} +}, +"type": "object" +}, +"SdkVersion": { +"description": "The version of the SDK used to run the job.", +"id": "SdkVersion", +"properties": { +"bugs": { +"description": "Output only. Known bugs found in this SDK version.", +"items": { +"$ref": "SdkBug" +}, +"readOnly": true, +"type": "array" +}, +"sdkSupportStatus": { +"description": "The support status for this SDK version.", +"enum": [ +"UNKNOWN", +"SUPPORTED", +"STALE", +"DEPRECATED", +"UNSUPPORTED" +], +"enumDescriptions": [ +"Cloud Dataflow is unaware of this version.", +"This is a known version of an SDK, and is supported.", +"A newer version of the SDK family exists, and an update is recommended.", +"This version of the SDK is deprecated and will eventually be unsupported.", +"Support for this SDK version has ended and it should no longer be used." +], +"type": "string" +}, +"version": { +"description": "The version of the SDK used to run the job.", +"type": "string" +}, +"versionDisplayName": { +"description": "A readable string describing the version of the SDK.", +"type": "string" +} +}, +"type": "object" +}, +"SendDebugCaptureRequest": { +"description": "Request to send encoded debug information. Next ID: 8", +"id": "SendDebugCaptureRequest", +"properties": { +"componentId": { +"description": "The internal component id for which debug information is sent.", +"type": "string" +}, +"data": { +"description": "The encoded debug information.", +"type": "string" +}, +"dataFormat": { +"description": "Format for the data field above (id=5).", +"enum": [ +"DATA_FORMAT_UNSPECIFIED", +"RAW", +"JSON", +"ZLIB", +"BROTLI" +], +"enumDescriptions": [ +"Format unspecified, parsing is determined based upon page type and legacy encoding. (go/protodosdonts#do-include-an-unspecified-value-in-an-enum)", +"Raw HTML string.", +"JSON-encoded string.", +"Websafe encoded zlib-compressed string.", +"Websafe encoded brotli-compressed string." +], +"type": "string" +}, +"location": { +"description": "The [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) that contains the job specified by job_id.", +"type": "string" +}, +"workerId": { +"description": "The worker id, i.e., VM hostname.", +"type": "string" +} +}, +"type": "object" +}, +"SendDebugCaptureResponse": { +"description": "Response to a send capture request. nothing", +"id": "SendDebugCaptureResponse", +"properties": {}, +"type": "object" +}, +"SendWorkerMessagesRequest": { +"description": "A request for sending worker messages to the service.", +"id": "SendWorkerMessagesRequest", +"properties": { +"location": { +"description": "The [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) that contains the job.", +"type": "string" +}, +"workerMessages": { +"description": "The WorkerMessages to send.", +"items": { +"$ref": "WorkerMessage" +}, +"type": "array" +} +}, +"type": "object" +}, +"SendWorkerMessagesResponse": { +"description": "The response to the worker messages.", +"id": "SendWorkerMessagesResponse", +"properties": { +"workerMessageResponses": { +"description": "The servers response to the worker messages.", +"items": { +"$ref": "WorkerMessageResponse" +}, +"type": "array" +} +}, +"type": "object" +}, +"SeqMapTask": { +"description": "Describes a particular function to invoke.", +"id": "SeqMapTask", +"properties": { +"inputs": { +"description": "Information about each of the inputs.", +"items": { +"$ref": "SideInputInfo" +}, +"type": "array" +}, +"name": { +"description": "The user-provided name of the SeqDo operation.", +"type": "string" +}, +"outputInfos": { +"description": "Information about each of the outputs.", +"items": { +"$ref": "SeqMapTaskOutputInfo" +}, +"type": "array" +}, +"stageName": { +"description": "System-defined name of the stage containing the SeqDo operation. Unique across the workflow.", +"type": "string" +}, +"systemName": { +"description": "System-defined name of the SeqDo operation. Unique across the workflow.", +"type": "string" +}, +"userFn": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"description": "The user function to invoke.", +"type": "object" +} +}, +"type": "object" +}, +"SeqMapTaskOutputInfo": { +"description": "Information about an output of a SeqMapTask.", +"id": "SeqMapTaskOutputInfo", +"properties": { +"sink": { +"$ref": "Sink", +"description": "The sink to write the output value to." +}, +"tag": { +"description": "The id of the TupleTag the user code will tag the output value by.", +"type": "string" +} +}, +"type": "object" +}, +"ServiceResources": { +"description": "Resources used by the Dataflow Service to run the job.", +"id": "ServiceResources", +"properties": { +"zones": { +"description": "Output only. List of Cloud Zones being used by the Dataflow Service for this job. Example: us-central1-c", +"items": { +"type": "string" +}, +"readOnly": true, +"type": "array" +} +}, +"type": "object" +}, +"ShellTask": { +"description": "A task which consists of a shell command for the worker to execute.", +"id": "ShellTask", +"properties": { +"command": { +"description": "The shell command to run.", +"type": "string" +}, +"exitCode": { +"description": "Exit code for the task.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"SideInputInfo": { +"description": "Information about a side input of a DoFn or an input of a SeqDoFn.", +"id": "SideInputInfo", +"properties": { +"kind": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"description": "How to interpret the source element(s) as a side input value.", +"type": "object" +}, +"sources": { +"description": "The source(s) to read element(s) from to get the value of this side input. If more than one source, then the elements are taken from the sources, in the specified order if order matters. At least one source is required.", +"items": { +"$ref": "Source" +}, +"type": "array" +}, +"tag": { +"description": "The id of the tag the user code will access this side input by; this should correspond to the tag of some MultiOutputInfo.", +"type": "string" +} +}, +"type": "object" +}, +"Sink": { +"description": "A sink that records can be encoded and written to.", +"id": "Sink", +"properties": { +"codec": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"description": "The codec to use to encode data written to the sink.", +"type": "object" +}, +"spec": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"description": "The sink to write to, plus its parameters.", +"type": "object" +} +}, +"type": "object" +}, +"Snapshot": { +"description": "Represents a snapshot of a job.", +"id": "Snapshot", +"properties": { +"creationTime": { +"description": "The time this snapshot was created.", +"format": "google-datetime", +"type": "string" +}, +"description": { +"description": "User specified description of the snapshot. Maybe empty.", +"type": "string" +}, +"diskSizeBytes": { +"description": "The disk byte size of the snapshot. Only available for snapshots in READY state.", +"format": "int64", +"type": "string" +}, +"id": { +"description": "The unique ID of this snapshot.", +"type": "string" +}, +"projectId": { +"description": "The project this snapshot belongs to.", +"type": "string" +}, +"pubsubMetadata": { +"description": "Pub/Sub snapshot metadata.", +"items": { +"$ref": "PubsubSnapshotMetadata" +}, +"type": "array" +}, +"region": { +"description": "Cloud region where this snapshot lives in, e.g., \"us-central1\".", +"type": "string" +}, +"sourceJobId": { +"description": "The job this snapshot was created from.", +"type": "string" +}, +"state": { +"description": "State of the snapshot.", +"enum": [ +"UNKNOWN_SNAPSHOT_STATE", +"PENDING", +"RUNNING", +"READY", +"FAILED", +"DELETED" +], +"enumDescriptions": [ +"Unknown state.", +"Snapshot intent to create has been persisted, snapshotting of state has not yet started.", +"Snapshotting is being performed.", +"Snapshot has been created and is ready to be used.", +"Snapshot failed to be created.", +"Snapshot has been deleted." +], +"type": "string" +}, +"ttl": { +"description": "The time after which this snapshot will be automatically deleted.", +"format": "google-duration", +"type": "string" +} +}, +"type": "object" +}, +"SnapshotJobRequest": { +"description": "Request to create a snapshot of a job.", +"id": "SnapshotJobRequest", +"properties": { +"description": { +"description": "User specified description of the snapshot. Maybe empty.", +"type": "string" +}, +"location": { +"description": "The location that contains this job.", +"type": "string" +}, +"snapshotSources": { +"description": "If true, perform snapshots for sources which support this.", +"type": "boolean" +}, +"ttl": { +"description": "TTL for the snapshot.", +"format": "google-duration", +"type": "string" +} +}, +"type": "object" +}, +"Source": { +"description": "A source that records can be read and decoded from.", +"id": "Source", +"properties": { +"baseSpecs": { +"description": "While splitting, sources may specify the produced bundles as differences against another source, in order to save backend-side memory and allow bigger jobs. For details, see SourceSplitRequest. To support this use case, the full set of parameters of the source is logically obtained by taking the latest explicitly specified value of each parameter in the order: base_specs (later items win), spec (overrides anything in base_specs).", +"items": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"type": "object" +}, +"type": "array" +}, +"codec": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"description": "The codec to use to decode data read from the source.", +"type": "object" +}, +"doesNotNeedSplitting": { +"description": "Setting this value to true hints to the framework that the source doesn't need splitting, and using SourceSplitRequest on it would yield SOURCE_SPLIT_OUTCOME_USE_CURRENT. E.g. a file splitter may set this to true when splitting a single file into a set of byte ranges of appropriate size, and set this to false when splitting a filepattern into individual files. However, for efficiency, a file splitter may decide to produce file subranges directly from the filepattern to avoid a splitting round-trip. See SourceSplitRequest for an overview of the splitting process. This field is meaningful only in the Source objects populated by the user (e.g. when filling in a DerivedSource). Source objects supplied by the framework to the user don't have this field populated.", +"type": "boolean" +}, +"metadata": { +"$ref": "SourceMetadata", +"description": "Optionally, metadata for this source can be supplied right away, avoiding a SourceGetMetadataOperation roundtrip (see SourceOperationRequest). This field is meaningful only in the Source objects populated by the user (e.g. when filling in a DerivedSource). Source objects supplied by the framework to the user don't have this field populated." +}, +"spec": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"description": "The source to read from, plus its parameters.", +"type": "object" +} +}, +"type": "object" +}, +"SourceFork": { +"description": "DEPRECATED in favor of DynamicSourceSplit.", +"id": "SourceFork", +"properties": { +"primary": { +"$ref": "SourceSplitShard", +"description": "DEPRECATED" +}, +"primarySource": { +"$ref": "DerivedSource", +"description": "DEPRECATED" +}, +"residual": { +"$ref": "SourceSplitShard", +"description": "DEPRECATED" +}, +"residualSource": { +"$ref": "DerivedSource", +"description": "DEPRECATED" +} +}, +"type": "object" +}, +"SourceGetMetadataRequest": { +"description": "A request to compute the SourceMetadata of a Source.", +"id": "SourceGetMetadataRequest", +"properties": { +"source": { +"$ref": "Source", +"description": "Specification of the source whose metadata should be computed." +} +}, +"type": "object" +}, +"SourceGetMetadataResponse": { +"description": "The result of a SourceGetMetadataOperation.", +"id": "SourceGetMetadataResponse", +"properties": { +"metadata": { +"$ref": "SourceMetadata", +"description": "The computed metadata." +} +}, +"type": "object" +}, +"SourceMetadata": { +"description": "Metadata about a Source useful for automatically optimizing and tuning the pipeline, etc.", +"id": "SourceMetadata", +"properties": { +"estimatedSizeBytes": { +"description": "An estimate of the total size (in bytes) of the data that would be read from this source. This estimate is in terms of external storage size, before any decompression or other processing done by the reader.", +"format": "int64", +"type": "string" +}, +"infinite": { +"description": "Specifies that the size of this source is known to be infinite (this is a streaming source).", +"type": "boolean" +}, +"producesSortedKeys": { +"description": "Whether this source is known to produce key/value pairs with the (encoded) keys in lexicographically sorted order.", +"type": "boolean" +} +}, +"type": "object" +}, +"SourceOperationRequest": { +"description": "A work item that represents the different operations that can be performed on a user-defined Source specification.", +"id": "SourceOperationRequest", +"properties": { +"getMetadata": { +"$ref": "SourceGetMetadataRequest", +"description": "Information about a request to get metadata about a source." +}, +"name": { +"description": "User-provided name of the Read instruction for this source.", +"type": "string" +}, +"originalName": { +"description": "System-defined name for the Read instruction for this source in the original workflow graph.", +"type": "string" +}, +"split": { +"$ref": "SourceSplitRequest", +"description": "Information about a request to split a source." +}, +"stageName": { +"description": "System-defined name of the stage containing the source operation. Unique across the workflow.", +"type": "string" +}, +"systemName": { +"description": "System-defined name of the Read instruction for this source. Unique across the workflow.", +"type": "string" +} +}, +"type": "object" +}, +"SourceOperationResponse": { +"description": "The result of a SourceOperationRequest, specified in ReportWorkItemStatusRequest.source_operation when the work item is completed.", +"id": "SourceOperationResponse", +"properties": { +"getMetadata": { +"$ref": "SourceGetMetadataResponse", +"description": "A response to a request to get metadata about a source." +}, +"split": { +"$ref": "SourceSplitResponse", +"description": "A response to a request to split a source." +} +}, +"type": "object" +}, +"SourceSplitOptions": { +"description": "Hints for splitting a Source into bundles (parts for parallel processing) using SourceSplitRequest.", +"id": "SourceSplitOptions", +"properties": { +"desiredBundleSizeBytes": { +"description": "The source should be split into a set of bundles where the estimated size of each is approximately this many bytes.", +"format": "int64", +"type": "string" +}, +"desiredShardSizeBytes": { +"deprecated": true, +"description": "DEPRECATED in favor of desired_bundle_size_bytes.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"SourceSplitRequest": { +"description": "Represents the operation to split a high-level Source specification into bundles (parts for parallel processing). At a high level, splitting of a source into bundles happens as follows: SourceSplitRequest is applied to the source. If it returns SOURCE_SPLIT_OUTCOME_USE_CURRENT, no further splitting happens and the source is used \"as is\". Otherwise, splitting is applied recursively to each produced DerivedSource. As an optimization, for any Source, if its does_not_need_splitting is true, the framework assumes that splitting this source would return SOURCE_SPLIT_OUTCOME_USE_CURRENT, and doesn't initiate a SourceSplitRequest. This applies both to the initial source being split and to bundles produced from it.", +"id": "SourceSplitRequest", +"properties": { +"options": { +"$ref": "SourceSplitOptions", +"description": "Hints for tuning the splitting process." +}, +"source": { +"$ref": "Source", +"description": "Specification of the source to be split." +} +}, +"type": "object" +}, +"SourceSplitResponse": { +"description": "The response to a SourceSplitRequest.", +"id": "SourceSplitResponse", +"properties": { +"bundles": { +"description": "If outcome is SPLITTING_HAPPENED, then this is a list of bundles into which the source was split. Otherwise this field is ignored. This list can be empty, which means the source represents an empty input.", +"items": { +"$ref": "DerivedSource" +}, +"type": "array" +}, +"outcome": { +"description": "Indicates whether splitting happened and produced a list of bundles. If this is USE_CURRENT_SOURCE_AS_IS, the current source should be processed \"as is\" without splitting. \"bundles\" is ignored in this case. If this is SPLITTING_HAPPENED, then \"bundles\" contains a list of bundles into which the source was split.", +"enum": [ +"SOURCE_SPLIT_OUTCOME_UNKNOWN", +"SOURCE_SPLIT_OUTCOME_USE_CURRENT", +"SOURCE_SPLIT_OUTCOME_SPLITTING_HAPPENED" +], +"enumDescriptions": [ +"The source split outcome is unknown, or unspecified.", +"The current source should be processed \"as is\" without splitting.", +"Splitting produced a list of bundles." +], +"type": "string" +}, +"shards": { +"deprecated": true, +"description": "DEPRECATED in favor of bundles.", +"items": { +"$ref": "SourceSplitShard" +}, +"type": "array" +} +}, +"type": "object" +}, +"SourceSplitShard": { +"description": "DEPRECATED in favor of DerivedSource.", +"id": "SourceSplitShard", +"properties": { +"derivationMode": { +"description": "DEPRECATED", +"enum": [ +"SOURCE_DERIVATION_MODE_UNKNOWN", +"SOURCE_DERIVATION_MODE_INDEPENDENT", +"SOURCE_DERIVATION_MODE_CHILD_OF_CURRENT", +"SOURCE_DERIVATION_MODE_SIBLING_OF_CURRENT" +], +"enumDescriptions": [ +"The source derivation is unknown, or unspecified.", +"Produce a completely independent Source with no base.", +"Produce a Source based on the Source being split.", +"Produce a Source based on the base of the Source being split." +], +"type": "string" +}, +"source": { +"$ref": "Source", +"description": "DEPRECATED" +} +}, +"type": "object" +}, +"SpannerIODetails": { +"description": "Metadata for a Spanner connector used by the job.", +"id": "SpannerIODetails", +"properties": { +"databaseId": { +"description": "DatabaseId accessed in the connection.", +"type": "string" +}, +"instanceId": { +"description": "InstanceId accessed in the connection.", +"type": "string" +}, +"projectId": { +"description": "ProjectId accessed in the connection.", +"type": "string" +} +}, +"type": "object" +}, +"SplitInt64": { +"description": "A representation of an int64, n, that is immune to precision loss when encoded in JSON.", +"id": "SplitInt64", +"properties": { +"highBits": { +"description": "The high order bits, including the sign: n >> 32.", +"format": "int32", +"type": "integer" +}, +"lowBits": { +"description": "The low order bits: n & 0xffffffff.", +"format": "uint32", +"type": "integer" +} +}, +"type": "object" +}, +"Stack": { +"description": "A structuredstacktrace for a process running on the worker.", +"id": "Stack", +"properties": { +"stackContent": { +"description": "The raw stack trace.", +"type": "string" +}, +"threadCount": { +"description": "With java thread dumps we may get collapsed stacks e.g., N threads in stack \"\". Instead of having to copy over the same stack trace N times, this int field captures this.", +"format": "int32", +"type": "integer" +}, +"threadName": { +"description": "Thread name. For example, \"CommitThread-0,10,main\"", +"type": "string" +}, +"threadState": { +"description": "The state of the thread. For example, \"WAITING\".", +"type": "string" +}, +"timestamp": { +"description": "Timestamp at which the stack was captured.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"StageExecutionDetails": { +"description": "Information about the workers and work items within a stage.", +"id": "StageExecutionDetails", +"properties": { +"nextPageToken": { +"description": "If present, this response does not contain all requested tasks. To obtain the next page of results, repeat the request with page_token set to this value.", +"type": "string" +}, +"workers": { +"description": "Workers that have done work on the stage.", +"items": { +"$ref": "WorkerDetails" +}, +"type": "array" +} +}, +"type": "object" +}, +"StageSource": { +"description": "Description of an input or output of an execution stage.", +"id": "StageSource", +"properties": { +"name": { +"description": "Dataflow service generated name for this source.", +"type": "string" +}, +"originalTransformOrCollection": { +"description": "User name for the original user transform or collection with which this source is most closely associated.", +"type": "string" +}, +"sizeBytes": { +"description": "Size of the source, if measurable.", +"format": "int64", +"type": "string" +}, +"userName": { +"description": "Human-readable name for this source; may be user or system generated.", +"type": "string" +} +}, +"type": "object" +}, +"StageSummary": { +"description": "Information about a particular execution stage of a job.", +"id": "StageSummary", +"properties": { +"endTime": { +"description": "End time of this stage. If the work item is completed, this is the actual end time of the stage. Otherwise, it is the predicted end time.", +"format": "google-datetime", +"type": "string" +}, +"metrics": { +"description": "Metrics for this stage.", +"items": { +"$ref": "MetricUpdate" +}, +"type": "array" +}, +"progress": { +"$ref": "ProgressTimeseries", +"description": "Progress for this stage. Only applicable to Batch jobs." +}, +"stageId": { +"description": "ID of this stage", +"type": "string" +}, +"startTime": { +"description": "Start time of this stage.", +"format": "google-datetime", +"type": "string" +}, +"state": { +"description": "State of this stage.", +"enum": [ +"EXECUTION_STATE_UNKNOWN", +"EXECUTION_STATE_NOT_STARTED", +"EXECUTION_STATE_RUNNING", +"EXECUTION_STATE_SUCCEEDED", +"EXECUTION_STATE_FAILED", +"EXECUTION_STATE_CANCELLED" +], +"enumDescriptions": [ +"The component state is unknown or unspecified.", +"The component is not yet running.", +"The component is currently running.", +"The component succeeded.", +"The component failed.", +"Execution of the component was cancelled." +], +"type": "string" +}, +"stragglerSummary": { +"$ref": "StragglerSummary", +"description": "Straggler summary for this stage." +} +}, +"type": "object" +}, +"StateFamilyConfig": { +"description": "State family configuration.", +"id": "StateFamilyConfig", +"properties": { +"isRead": { +"description": "If true, this family corresponds to a read operation.", +"type": "boolean" +}, +"stateFamily": { +"description": "The state family value.", +"type": "string" +} +}, +"type": "object" +}, +"Status": { +"description": "The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors).", +"id": "Status", +"properties": { +"code": { +"description": "The status code, which should be an enum value of google.rpc.Code.", +"format": "int32", +"type": "integer" +}, +"details": { +"description": "A list of messages that carry the error details. There is a common set of message types for APIs to use.", +"items": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.", +"type": "string" +} +}, +"type": "object" +}, +"Step": { +"description": "Defines a particular step within a Cloud Dataflow job. A job consists of multiple steps, each of which performs some specific operation as part of the overall job. Data is typically passed from one step to another as part of the job. **Note:** The properties of this object are not stable and might change. Here's an example of a sequence of steps which together implement a Map-Reduce job: * Read a collection of data from some source, parsing the collection's elements. * Validate the elements. * Apply a user-defined function to map each element to some value and extract an element-specific key value. * Group elements with the same key into a single element with that key, transforming a multiply-keyed collection into a uniquely-keyed collection. * Write the elements out to some data sink. Note that the Cloud Dataflow service may be used to run many different types of jobs, not just Map-Reduce.", +"id": "Step", +"properties": { +"kind": { +"description": "The kind of step in the Cloud Dataflow job.", +"type": "string" +}, +"name": { +"description": "The name that identifies the step. This must be unique for each step with respect to all other steps in the Cloud Dataflow job.", +"type": "string" +}, +"properties": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"description": "Named properties associated with the step. Each kind of predefined step has its own required set of properties. Must be provided on Create. Only retrieved with JOB_VIEW_ALL.", +"type": "object" +} +}, +"type": "object" +}, +"Straggler": { +"description": "Information for a straggler.", +"id": "Straggler", +"properties": { +"batchStraggler": { +"$ref": "StragglerInfo", +"description": "Batch straggler identification and debugging information." +}, +"streamingStraggler": { +"$ref": "StreamingStragglerInfo", +"description": "Streaming straggler identification and debugging information." +} +}, +"type": "object" +}, +"StragglerDebuggingInfo": { +"description": "Information useful for debugging a straggler. Each type will provide specialized debugging information relevant for a particular cause. The StragglerDebuggingInfo will be 1:1 mapping to the StragglerCause enum.", +"id": "StragglerDebuggingInfo", +"properties": { +"hotKey": { +"$ref": "HotKeyDebuggingInfo", +"description": "Hot key debugging details." +} +}, +"type": "object" +}, +"StragglerInfo": { +"description": "Information useful for straggler identification and debugging.", +"id": "StragglerInfo", +"properties": { +"causes": { +"additionalProperties": { +"$ref": "StragglerDebuggingInfo" +}, +"description": "The straggler causes, keyed by the string representation of the StragglerCause enum and contains specialized debugging information for each straggler cause.", +"type": "object" +}, +"startTime": { +"description": "The time when the work item attempt became a straggler.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"StragglerSummary": { +"description": "Summarized straggler identification details.", +"id": "StragglerSummary", +"properties": { +"recentStragglers": { +"description": "The most recent stragglers.", +"items": { +"$ref": "Straggler" +}, +"type": "array" +}, +"stragglerCauseCount": { +"additionalProperties": { +"format": "int64", +"type": "string" +}, +"description": "Aggregated counts of straggler causes, keyed by the string representation of the StragglerCause enum.", +"type": "object" +}, +"totalStragglerCount": { +"description": "The total count of stragglers.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"StreamLocation": { +"description": "Describes a stream of data, either as input to be processed or as output of a streaming Dataflow job.", +"id": "StreamLocation", +"properties": { +"customSourceLocation": { +"$ref": "CustomSourceLocation", +"description": "The stream is a custom source." +}, +"pubsubLocation": { +"$ref": "PubsubLocation", +"description": "The stream is a pubsub stream." +}, +"sideInputLocation": { +"$ref": "StreamingSideInputLocation", +"description": "The stream is a streaming side input." +}, +"streamingStageLocation": { +"$ref": "StreamingStageLocation", +"description": "The stream is part of another computation within the current streaming Dataflow job." +} +}, +"type": "object" +}, +"StreamingApplianceSnapshotConfig": { +"description": "Streaming appliance snapshot configuration.", +"id": "StreamingApplianceSnapshotConfig", +"properties": { +"importStateEndpoint": { +"description": "Indicates which endpoint is used to import appliance state.", +"type": "string" +}, +"snapshotId": { +"description": "If set, indicates the snapshot id for the snapshot being performed.", +"type": "string" +} +}, +"type": "object" +}, +"StreamingComputationConfig": { +"description": "Configuration information for a single streaming computation.", +"id": "StreamingComputationConfig", +"properties": { +"computationId": { +"description": "Unique identifier for this computation.", +"type": "string" +}, +"instructions": { +"description": "Instructions that comprise the computation.", +"items": { +"$ref": "ParallelInstruction" +}, +"type": "array" +}, +"stageName": { +"description": "Stage name of this computation.", +"type": "string" +}, +"systemName": { +"description": "System defined name for this computation.", +"type": "string" +}, +"transformUserNameToStateFamily": { +"additionalProperties": { +"type": "string" +}, +"description": "Map from user name of stateful transforms in this stage to their state family.", +"type": "object" +} +}, +"type": "object" +}, +"StreamingComputationRanges": { +"description": "Describes full or partial data disk assignment information of the computation ranges.", +"id": "StreamingComputationRanges", +"properties": { +"computationId": { +"description": "The ID of the computation.", +"type": "string" +}, +"rangeAssignments": { +"description": "Data disk assignments for ranges from this computation.", +"items": { +"$ref": "KeyRangeDataDiskAssignment" +}, +"type": "array" +} +}, +"type": "object" +}, +"StreamingComputationTask": { +"description": "A task which describes what action should be performed for the specified streaming computation ranges.", +"id": "StreamingComputationTask", +"properties": { +"computationRanges": { +"description": "Contains ranges of a streaming computation this task should apply to.", +"items": { +"$ref": "StreamingComputationRanges" +}, +"type": "array" +}, +"dataDisks": { +"description": "Describes the set of data disks this task should apply to.", +"items": { +"$ref": "MountedDataDisk" +}, +"type": "array" +}, +"taskType": { +"description": "A type of streaming computation task.", +"enum": [ +"STREAMING_COMPUTATION_TASK_UNKNOWN", +"STREAMING_COMPUTATION_TASK_STOP", +"STREAMING_COMPUTATION_TASK_START" +], +"enumDescriptions": [ +"The streaming computation task is unknown, or unspecified.", +"Stop processing specified streaming computation range(s).", +"Start processing specified streaming computation range(s)." +], +"type": "string" +} +}, +"type": "object" +}, +"StreamingConfigTask": { +"description": "A task that carries configuration information for streaming computations.", +"id": "StreamingConfigTask", +"properties": { +"commitStreamChunkSizeBytes": { +"description": "Chunk size for commit streams from the harness to windmill.", +"format": "int64", +"type": "string" +}, +"getDataStreamChunkSizeBytes": { +"description": "Chunk size for get data streams from the harness to windmill.", +"format": "int64", +"type": "string" +}, +"maxWorkItemCommitBytes": { +"description": "Maximum size for work item commit supported windmill storage layer.", +"format": "int64", +"type": "string" +}, +"operationalLimits": { +"$ref": "StreamingOperationalLimits", +"description": "Operational limits for the streaming job. Can be used by the worker to validate outputs sent to the backend." +}, +"streamingComputationConfigs": { +"description": "Set of computation configuration information.", +"items": { +"$ref": "StreamingComputationConfig" +}, +"type": "array" +}, +"streamingEngineStateTagEncodingVersion": { +"description": "Optional. The state tag encoding format version for streaming engine jobs.", +"format": "int32", +"type": "integer" +}, +"userStepToStateFamilyNameMap": { +"additionalProperties": { +"type": "string" +}, +"description": "Map from user step names to state families.", +"type": "object" +}, +"userWorkerRunnerV1Settings": { +"description": "Binary encoded proto to control runtime behavior of the java runner v1 user worker.", +"format": "byte", +"type": "string" +}, +"userWorkerRunnerV2Settings": { +"description": "Binary encoded proto to control runtime behavior of the runner v2 user worker.", +"format": "byte", +"type": "string" +}, +"windmillServiceEndpoint": { +"description": "If present, the worker must use this endpoint to communicate with Windmill Service dispatchers, otherwise the worker must continue to use whatever endpoint it had been using.", +"type": "string" +}, +"windmillServicePort": { +"description": "If present, the worker must use this port to communicate with Windmill Service dispatchers. Only applicable when windmill_service_endpoint is specified.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"StreamingOperationalLimits": { +"description": "Operational limits imposed on streaming jobs by the backend.", +"id": "StreamingOperationalLimits", +"properties": { +"maxBagElementBytes": { +"description": "The maximum size for an element in bag state.", +"format": "int64", +"type": "string" +}, +"maxGlobalDataBytes": { +"description": "The maximum size for an element in global data.", +"format": "int64", +"type": "string" +}, +"maxKeyBytes": { +"description": "The maximum size allowed for a key.", +"format": "int64", +"type": "string" +}, +"maxProductionOutputBytes": { +"description": "The maximum size for a single output element.", +"format": "int64", +"type": "string" +}, +"maxSortedListElementBytes": { +"description": "The maximum size for an element in sorted list state.", +"format": "int64", +"type": "string" +}, +"maxSourceStateBytes": { +"description": "The maximum size for a source state update.", +"format": "int64", +"type": "string" +}, +"maxTagBytes": { +"description": "The maximum size for a state tag.", +"format": "int64", +"type": "string" +}, +"maxValueBytes": { +"description": "The maximum size for a value state field.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"StreamingScalingReport": { +"description": "Contains per-user worker telemetry used in streaming autoscaling.", +"id": "StreamingScalingReport", +"properties": { +"activeBundleCount": { +"deprecated": true, +"format": "int32", +"type": "integer" +}, +"activeThreadCount": { +"description": "Current acive thread count.", +"format": "int32", +"type": "integer" +}, +"maximumBundleCount": { +"description": "Maximum bundle count.", +"format": "int32", +"type": "integer" +}, +"maximumBytes": { +"description": "Maximum bytes.", +"format": "int64", +"type": "string" +}, +"maximumBytesCount": { +"deprecated": true, +"format": "int32", +"type": "integer" +}, +"maximumThreadCount": { +"description": "Maximum thread count limit.", +"format": "int32", +"type": "integer" +}, +"outstandingBundleCount": { +"description": "Current outstanding bundle count.", +"format": "int32", +"type": "integer" +}, +"outstandingBytes": { +"description": "Current outstanding bytes.", +"format": "int64", +"type": "string" +}, +"outstandingBytesCount": { +"deprecated": true, +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"StreamingScalingReportResponse": { +"description": "Contains per-user-worker streaming scaling recommendation from the backend.", +"id": "StreamingScalingReportResponse", +"properties": { +"maximumThreadCount": { +"description": "Maximum thread count limit;", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"StreamingSetupTask": { +"description": "A task which initializes part of a streaming Dataflow job.", +"id": "StreamingSetupTask", +"properties": { +"drain": { +"description": "The user has requested drain.", +"type": "boolean" +}, +"receiveWorkPort": { +"description": "The TCP port on which the worker should listen for messages from other streaming computation workers.", +"format": "int32", +"type": "integer" +}, +"snapshotConfig": { +"$ref": "StreamingApplianceSnapshotConfig", +"description": "Configures streaming appliance snapshot." +}, +"streamingComputationTopology": { +"$ref": "TopologyConfig", +"description": "The global topology of the streaming Dataflow job." +}, +"workerHarnessPort": { +"description": "The TCP port used by the worker to communicate with the Dataflow worker harness.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"StreamingSideInputLocation": { +"description": "Identifies the location of a streaming side input.", +"id": "StreamingSideInputLocation", +"properties": { +"stateFamily": { +"description": "Identifies the state family where this side input is stored.", +"type": "string" +}, +"tag": { +"description": "Identifies the particular side input within the streaming Dataflow job.", +"type": "string" +} +}, +"type": "object" +}, +"StreamingStageLocation": { +"description": "Identifies the location of a streaming computation stage, for stage-to-stage communication.", +"id": "StreamingStageLocation", +"properties": { +"streamId": { +"description": "Identifies the particular stream within the streaming Dataflow job.", +"type": "string" +} +}, +"type": "object" +}, +"StreamingStragglerInfo": { +"description": "Information useful for streaming straggler identification and debugging.", +"id": "StreamingStragglerInfo", +"properties": { +"dataWatermarkLag": { +"description": "The event-time watermark lag at the time of the straggler detection.", +"format": "google-duration", +"type": "string" +}, +"endTime": { +"description": "End time of this straggler.", +"format": "google-datetime", +"type": "string" +}, +"startTime": { +"description": "Start time of this straggler.", +"format": "google-datetime", +"type": "string" +}, +"systemWatermarkLag": { +"description": "The system watermark lag at the time of the straggler detection.", +"format": "google-duration", +"type": "string" +}, +"workerName": { +"description": "Name of the worker where the straggler was detected.", +"type": "string" +} +}, +"type": "object" +}, +"StringList": { +"description": "A metric value representing a list of strings.", +"id": "StringList", +"properties": { +"elements": { +"description": "Elements of the list.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"StructuredMessage": { +"description": "A rich message format, including a human readable string, a key for identifying the message, and structured data associated with the message for programmatic consumption.", +"id": "StructuredMessage", +"properties": { +"messageKey": { +"description": "Identifier for this message type. Used by external systems to internationalize or personalize message.", +"type": "string" +}, +"messageText": { +"description": "Human-readable version of message.", +"type": "string" +}, +"parameters": { +"description": "The structured data associated with this message.", +"items": { +"$ref": "Parameter" +}, +"type": "array" +} +}, +"type": "object" +}, +"TaskRunnerSettings": { +"description": "Taskrunner configuration settings.", +"id": "TaskRunnerSettings", +"properties": { +"alsologtostderr": { +"description": "Whether to also send taskrunner log info to stderr.", +"type": "boolean" +}, +"baseTaskDir": { +"description": "The location on the worker for task-specific subdirectories.", +"type": "string" +}, +"baseUrl": { +"description": "The base URL for the taskrunner to use when accessing Google Cloud APIs. When workers access Google Cloud APIs, they logically do so via relative URLs. If this field is specified, it supplies the base URL to use for resolving these relative URLs. The normative algorithm used is defined by RFC 1808, \"Relative Uniform Resource Locators\". If not specified, the default value is \"http://www.googleapis.com/\"", +"type": "string" +}, +"commandlinesFileName": { +"description": "The file to store preprocessing commands in.", +"type": "string" +}, +"continueOnException": { +"description": "Whether to continue taskrunner if an exception is hit.", +"type": "boolean" +}, +"dataflowApiVersion": { +"description": "The API version of endpoint, e.g. \"v1b3\"", +"type": "string" +}, +"harnessCommand": { +"description": "The command to launch the worker harness.", +"type": "string" +}, +"languageHint": { +"description": "The suggested backend language.", +"type": "string" +}, +"logDir": { +"description": "The directory on the VM to store logs.", +"type": "string" +}, +"logToSerialconsole": { +"description": "Whether to send taskrunner log info to Google Compute Engine VM serial console.", +"type": "boolean" +}, +"logUploadLocation": { +"description": "Indicates where to put logs. If this is not specified, the logs will not be uploaded. The supported resource type is: Google Cloud Storage: storage.googleapis.com/{bucket}/{object} bucket.storage.googleapis.com/{object}", +"type": "string" +}, +"oauthScopes": { +"description": "The OAuth2 scopes to be requested by the taskrunner in order to access the Cloud Dataflow API.", +"items": { +"type": "string" +}, +"type": "array" +}, +"parallelWorkerSettings": { +"$ref": "WorkerSettings", +"description": "The settings to pass to the parallel worker harness." +}, +"streamingWorkerMainClass": { +"description": "The streaming worker main class name.", +"type": "string" +}, +"taskGroup": { +"description": "The UNIX group ID on the worker VM to use for tasks launched by taskrunner; e.g. \"wheel\".", +"type": "string" +}, +"taskUser": { +"description": "The UNIX user ID on the worker VM to use for tasks launched by taskrunner; e.g. \"root\".", +"type": "string" +}, +"tempStoragePrefix": { +"description": "The prefix of the resources the taskrunner should use for temporary storage. The supported resource type is: Google Cloud Storage: storage.googleapis.com/{bucket}/{object} bucket.storage.googleapis.com/{object}", +"type": "string" +}, +"vmId": { +"description": "The ID string of the VM.", +"type": "string" +}, +"workflowFileName": { +"description": "The file to store the workflow in.", +"type": "string" +} +}, +"type": "object" +}, +"TemplateMetadata": { +"description": "Metadata describing a template.", +"id": "TemplateMetadata", +"properties": { +"defaultStreamingMode": { +"description": "Optional. Indicates the default streaming mode for a streaming template. Only valid if both supports_at_least_once and supports_exactly_once are true. Possible values: UNSPECIFIED, EXACTLY_ONCE and AT_LEAST_ONCE", +"type": "string" +}, +"description": { +"description": "Optional. A description of the template.", +"type": "string" +}, +"name": { +"description": "Required. The name of the template.", +"type": "string" +}, +"parameters": { +"description": "The parameters for the template.", +"items": { +"$ref": "ParameterMetadata" +}, +"type": "array" +}, +"streaming": { +"description": "Optional. Indicates if the template is streaming or not.", +"type": "boolean" +}, +"supportsAtLeastOnce": { +"description": "Optional. Indicates if the streaming template supports at least once mode.", +"type": "boolean" +}, +"supportsExactlyOnce": { +"description": "Optional. Indicates if the streaming template supports exactly once mode.", +"type": "boolean" +}, +"yamlDefinition": { +"description": "Optional. For future use.", +"type": "string" +} +}, +"type": "object" +}, +"TopologyConfig": { +"description": "Global topology of the streaming Dataflow job, including all computations and their sharded locations.", +"id": "TopologyConfig", +"properties": { +"computations": { +"description": "The computations associated with a streaming Dataflow job.", +"items": { +"$ref": "ComputationTopology" +}, +"type": "array" +}, +"dataDiskAssignments": { +"description": "The disks assigned to a streaming Dataflow job.", +"items": { +"$ref": "DataDiskAssignment" +}, +"type": "array" +}, +"forwardingKeyBits": { +"description": "The size (in bits) of keys that will be assigned to source messages.", +"format": "int32", +"type": "integer" +}, +"persistentStateVersion": { +"description": "Version number for persistent state.", +"format": "int32", +"type": "integer" +}, +"userStageToComputationNameMap": { +"additionalProperties": { +"type": "string" +}, +"description": "Maps user stage names to stable computation names.", +"type": "object" +} +}, +"type": "object" +}, +"TransformSummary": { +"description": "Description of the type, names/ids, and input/outputs for a transform.", +"id": "TransformSummary", +"properties": { +"displayData": { +"description": "Transform-specific display data.", +"items": { +"$ref": "DisplayData" +}, +"type": "array" +}, +"id": { +"description": "SDK generated id of this transform instance.", +"type": "string" +}, +"inputCollectionName": { +"description": "User names for all collection inputs to this transform.", +"items": { +"type": "string" +}, +"type": "array" +}, +"kind": { +"description": "Type of transform.", +"enum": [ +"UNKNOWN_KIND", +"PAR_DO_KIND", +"GROUP_BY_KEY_KIND", +"FLATTEN_KIND", +"READ_KIND", +"WRITE_KIND", +"CONSTANT_KIND", +"SINGLETON_KIND", +"SHUFFLE_KIND" +], +"enumDescriptions": [ +"Unrecognized transform type.", +"ParDo transform.", +"Group By Key transform.", +"Flatten transform.", +"Read transform.", +"Write transform.", +"Constructs from a constant value, such as with Create.of.", +"Creates a Singleton view of a collection.", +"Opening or closing a shuffle session, often as part of a GroupByKey." +], +"type": "string" +}, +"name": { +"description": "User provided name for this transform instance.", +"type": "string" +}, +"outputCollectionName": { +"description": "User names for all collection outputs to this transform.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"WorkItem": { +"description": "WorkItem represents basic information about a WorkItem to be executed in the cloud.", +"id": "WorkItem", +"properties": { +"configuration": { +"description": "Work item-specific configuration as an opaque blob.", +"type": "string" +}, +"id": { +"description": "Identifies this WorkItem.", +"format": "int64", +"type": "string" +}, +"initialReportIndex": { +"description": "The initial index to use when reporting the status of the WorkItem.", +"format": "int64", +"type": "string" +}, +"jobId": { +"description": "Identifies the workflow job this WorkItem belongs to.", +"type": "string" +}, +"leaseExpireTime": { +"description": "Time when the lease on this Work will expire.", +"format": "google-datetime", +"type": "string" +}, +"mapTask": { +"$ref": "MapTask", +"description": "Additional information for MapTask WorkItems." +}, +"packages": { +"description": "Any required packages that need to be fetched in order to execute this WorkItem.", +"items": { +"$ref": "Package" +}, +"type": "array" +}, +"projectId": { +"description": "Identifies the cloud project this WorkItem belongs to.", +"type": "string" +}, +"reportStatusInterval": { +"description": "Recommended reporting interval.", +"format": "google-duration", +"type": "string" +}, +"seqMapTask": { +"$ref": "SeqMapTask", +"description": "Additional information for SeqMapTask WorkItems." +}, +"shellTask": { +"$ref": "ShellTask", +"description": "Additional information for ShellTask WorkItems." +}, +"sourceOperationTask": { +"$ref": "SourceOperationRequest", +"description": "Additional information for source operation WorkItems." +}, +"streamingComputationTask": { +"$ref": "StreamingComputationTask", +"description": "Additional information for StreamingComputationTask WorkItems." +}, +"streamingConfigTask": { +"$ref": "StreamingConfigTask", +"description": "Additional information for StreamingConfigTask WorkItems." +}, +"streamingSetupTask": { +"$ref": "StreamingSetupTask", +"description": "Additional information for StreamingSetupTask WorkItems." +} +}, +"type": "object" +}, +"WorkItemDetails": { +"description": "Information about an individual work item execution.", +"id": "WorkItemDetails", +"properties": { +"attemptId": { +"description": "Attempt ID of this work item", +"type": "string" +}, +"endTime": { +"description": "End time of this work item attempt. If the work item is completed, this is the actual end time of the work item. Otherwise, it is the predicted end time.", +"format": "google-datetime", +"type": "string" +}, +"metrics": { +"description": "Metrics for this work item.", +"items": { +"$ref": "MetricUpdate" +}, +"type": "array" +}, +"progress": { +"$ref": "ProgressTimeseries", +"description": "Progress of this work item." +}, +"startTime": { +"description": "Start time of this work item attempt.", +"format": "google-datetime", +"type": "string" +}, +"state": { +"description": "State of this work item.", +"enum": [ +"EXECUTION_STATE_UNKNOWN", +"EXECUTION_STATE_NOT_STARTED", +"EXECUTION_STATE_RUNNING", +"EXECUTION_STATE_SUCCEEDED", +"EXECUTION_STATE_FAILED", +"EXECUTION_STATE_CANCELLED" +], +"enumDescriptions": [ +"The component state is unknown or unspecified.", +"The component is not yet running.", +"The component is currently running.", +"The component succeeded.", +"The component failed.", +"Execution of the component was cancelled." +], +"type": "string" +}, +"stragglerInfo": { +"$ref": "StragglerInfo", +"description": "Information about straggler detections for this work item." +}, +"taskId": { +"description": "Name of this work item.", +"type": "string" +} +}, +"type": "object" +}, +"WorkItemServiceState": { +"description": "The Dataflow service's idea of the current state of a WorkItem being processed by a worker.", +"id": "WorkItemServiceState", +"properties": { +"completeWorkStatus": { +"$ref": "Status", +"description": "If set, a request to complete the work item with the given status. This will not be set to OK, unless supported by the specific kind of WorkItem. It can be used for the backend to indicate a WorkItem must terminate, e.g., for aborting work." +}, +"harnessData": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"description": "Other data returned by the service, specific to the particular worker harness.", +"type": "object" +}, +"hotKeyDetection": { +"$ref": "HotKeyDetection", +"description": "A hot key is a symptom of poor data distribution in which there are enough elements mapped to a single key to impact pipeline performance. When present, this field includes metadata associated with any hot key." +}, +"leaseExpireTime": { +"description": "Time at which the current lease will expire.", +"format": "google-datetime", +"type": "string" +}, +"metricShortId": { +"description": "The short ids that workers should use in subsequent metric updates. Workers should strive to use short ids whenever possible, but it is ok to request the short_id again if a worker lost track of it (e.g. if the worker is recovering from a crash). NOTE: it is possible that the response may have short ids for a subset of the metrics.", +"items": { +"$ref": "MetricShortId" +}, +"type": "array" +}, +"nextReportIndex": { +"description": "The index value to use for the next report sent by the worker. Note: If the report call fails for whatever reason, the worker should reuse this index for subsequent report attempts.", +"format": "int64", +"type": "string" +}, +"reportStatusInterval": { +"description": "New recommended reporting interval.", +"format": "google-duration", +"type": "string" +}, +"splitRequest": { +"$ref": "ApproximateSplitRequest", +"description": "The progress point in the WorkItem where the Dataflow service suggests that the worker truncate the task." +}, +"suggestedStopPoint": { +"$ref": "ApproximateProgress", +"deprecated": true, +"description": "DEPRECATED in favor of split_request." +}, +"suggestedStopPosition": { +"$ref": "Position", +"deprecated": true, +"description": "Obsolete, always empty." +} +}, +"type": "object" +}, +"WorkItemStatus": { +"description": "Conveys a worker's progress through the work described by a WorkItem.", +"id": "WorkItemStatus", +"properties": { +"completed": { +"description": "True if the WorkItem was completed (successfully or unsuccessfully).", +"type": "boolean" +}, +"counterUpdates": { +"description": "Worker output counters for this WorkItem.", +"items": { +"$ref": "CounterUpdate" +}, +"type": "array" +}, +"dynamicSourceSplit": { +"$ref": "DynamicSourceSplit", +"description": "See documentation of stop_position." +}, +"errors": { +"description": "Specifies errors which occurred during processing. If errors are provided, and completed = true, then the WorkItem is considered to have failed.", +"items": { +"$ref": "Status" +}, +"type": "array" +}, +"metricUpdates": { +"deprecated": true, +"description": "DEPRECATED in favor of counter_updates.", +"items": { +"$ref": "MetricUpdate" +}, +"type": "array" +}, +"progress": { +"$ref": "ApproximateProgress", +"deprecated": true, +"description": "DEPRECATED in favor of reported_progress." +}, +"reportIndex": { +"description": "The report index. When a WorkItem is leased, the lease will contain an initial report index. When a WorkItem's status is reported to the system, the report should be sent with that report index, and the response will contain the index the worker should use for the next report. Reports received with unexpected index values will be rejected by the service. In order to preserve idempotency, the worker should not alter the contents of a report, even if the worker must submit the same report multiple times before getting back a response. The worker should not submit a subsequent report until the response for the previous report had been received from the service.", +"format": "int64", +"type": "string" +}, +"reportedProgress": { +"$ref": "ApproximateReportedProgress", +"description": "The worker's progress through this WorkItem." +}, +"requestedLeaseDuration": { +"description": "Amount of time the worker requests for its lease.", +"format": "google-duration", +"type": "string" +}, +"sourceFork": { +"$ref": "SourceFork", +"deprecated": true, +"description": "DEPRECATED in favor of dynamic_source_split." +}, +"sourceOperationResponse": { +"$ref": "SourceOperationResponse", +"description": "If the work item represented a SourceOperationRequest, and the work is completed, contains the result of the operation." +}, +"stopPosition": { +"$ref": "Position", +"description": "A worker may split an active map task in two parts, \"primary\" and \"residual\", continuing to process the primary part and returning the residual part into the pool of available work. This event is called a \"dynamic split\" and is critical to the dynamic work rebalancing feature. The two obtained sub-tasks are called \"parts\" of the split. The parts, if concatenated, must represent the same input as would be read by the current task if the split did not happen. The exact way in which the original task is decomposed into the two parts is specified either as a position demarcating them (stop_position), or explicitly as two DerivedSources, if this task consumes a user-defined source type (dynamic_source_split). The \"current\" task is adjusted as a result of the split: after a task with range [A, B) sends a stop_position update at C, its range is considered to be [A, C), e.g.: * Progress should be interpreted relative to the new range, e.g. \"75% completed\" means \"75% of [A, C) completed\" * The worker should interpret proposed_stop_position relative to the new range, e.g. \"split at 68%\" should be interpreted as \"split at 68% of [A, C)\". * If the worker chooses to split again using stop_position, only stop_positions in [A, C) will be accepted. * Etc. dynamic_source_split has similar semantics: e.g., if a task with source S splits using dynamic_source_split into {P, R} (where P and R must be together equivalent to S), then subsequent progress and proposed_stop_position should be interpreted relative to P, and in a potential subsequent dynamic_source_split into {P', R'}, P' and R' must be together equivalent to P, etc." +}, +"totalThrottlerWaitTimeSeconds": { +"description": "Total time the worker spent being throttled by external systems.", +"format": "double", +"type": "number" +}, +"workItemId": { +"description": "Identifies the WorkItem.", +"type": "string" +} +}, +"type": "object" +}, +"WorkerDetails": { +"description": "Information about a worker", +"id": "WorkerDetails", +"properties": { +"workItems": { +"description": "Work items processed by this worker, sorted by time.", +"items": { +"$ref": "WorkItemDetails" +}, +"type": "array" +}, +"workerName": { +"description": "Name of this worker", +"type": "string" +} +}, +"type": "object" +}, +"WorkerHealthReport": { +"description": "WorkerHealthReport contains information about the health of a worker. The VM should be identified by the labels attached to the WorkerMessage that this health ping belongs to.", +"id": "WorkerHealthReport", +"properties": { +"msg": { +"description": "Message describing any unusual health reports.", +"type": "string" +}, +"pods": { +"description": "The pods running on the worker. See: http://kubernetes.io/v1.1/docs/api-reference/v1/definitions.html#_v1_pod This field is used by the worker to send the status of the indvidual containers running on each worker.", +"items": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"type": "object" +}, +"type": "array" +}, +"reportInterval": { +"description": "The interval at which the worker is sending health reports. The default value of 0 should be interpreted as the field is not being explicitly set by the worker.", +"format": "google-duration", +"type": "string" +}, +"vmBrokenCode": { +"description": "Code to describe a specific reason, if known, that a VM has reported broken state.", +"type": "string" +}, +"vmIsBroken": { +"description": "Whether the VM is in a permanently broken state. Broken VMs should be abandoned or deleted ASAP to avoid assigning or completing any work.", +"type": "boolean" +}, +"vmIsHealthy": { +"description": "Whether the VM is currently healthy.", +"type": "boolean" +}, +"vmStartupTime": { +"description": "The time the VM was booted.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"WorkerHealthReportResponse": { +"description": "WorkerHealthReportResponse contains information returned to the worker in response to a health ping.", +"id": "WorkerHealthReportResponse", +"properties": { +"reportInterval": { +"description": "A positive value indicates the worker should change its reporting interval to the specified value. The default value of zero means no change in report rate is requested by the server.", +"format": "google-duration", +"type": "string" +} +}, +"type": "object" +}, +"WorkerLifecycleEvent": { +"description": "A report of an event in a worker's lifecycle. The proto contains one event, because the worker is expected to asynchronously send each message immediately after the event. Due to this asynchrony, messages may arrive out of order (or missing), and it is up to the consumer to interpret. The timestamp of the event is in the enclosing WorkerMessage proto.", +"id": "WorkerLifecycleEvent", +"properties": { +"containerStartTime": { +"description": "The start time of this container. All events will report this so that events can be grouped together across container/VM restarts.", +"format": "google-datetime", +"type": "string" +}, +"event": { +"description": "The event being reported.", +"enum": [ +"UNKNOWN_EVENT", +"OS_START", +"CONTAINER_START", +"NETWORK_UP", +"STAGING_FILES_DOWNLOAD_START", +"STAGING_FILES_DOWNLOAD_FINISH", +"SDK_INSTALL_START", +"SDK_INSTALL_FINISH" +], +"enumDescriptions": [ +"Invalid event.", +"The time the VM started.", +"Our container code starts running. Multiple containers could be distinguished with WorkerMessage.labels if desired.", +"The worker has a functional external network connection.", +"Started downloading staging files.", +"Finished downloading all staging files.", +"For applicable SDKs, started installation of SDK and worker packages.", +"Finished installing SDK." +], +"type": "string" +}, +"metadata": { +"additionalProperties": { +"type": "string" +}, +"description": "Other stats that can accompany an event. E.g. { \"downloaded_bytes\" : \"123456\" }", +"type": "object" +} +}, +"type": "object" +}, +"WorkerMessage": { +"description": "WorkerMessage provides information to the backend about a worker.", +"id": "WorkerMessage", +"properties": { +"dataSamplingReport": { +"$ref": "DataSamplingReport", +"description": "Optional. Contains metrics related to go/dataflow-data-sampling-telemetry." +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Labels are used to group WorkerMessages. For example, a worker_message about a particular container might have the labels: { \"JOB_ID\": \"2015-04-22\", \"WORKER_ID\": \"wordcount-vm-2015\u2026\" \"CONTAINER_TYPE\": \"worker\", \"CONTAINER_ID\": \"ac1234def\"} Label tags typically correspond to Label enum values. However, for ease of development other strings can be used as tags. LABEL_UNSPECIFIED should not be used here.", +"type": "object" +}, +"perWorkerMetrics": { +"$ref": "PerWorkerMetrics", +"description": "System defined metrics for this worker." +}, +"streamingScalingReport": { +"$ref": "StreamingScalingReport", +"description": "Contains per-user worker telemetry used in streaming autoscaling." +}, +"time": { +"description": "The timestamp of the worker_message.", +"format": "google-datetime", +"type": "string" +}, +"workerHealthReport": { +"$ref": "WorkerHealthReport", +"description": "The health of a worker." +}, +"workerLifecycleEvent": { +"$ref": "WorkerLifecycleEvent", +"description": "Record of worker lifecycle events." +}, +"workerMessageCode": { +"$ref": "WorkerMessageCode", +"description": "A worker message code." +}, +"workerMetrics": { +"$ref": "ResourceUtilizationReport", +"description": "Resource metrics reported by workers." +}, +"workerShutdownNotice": { +"$ref": "WorkerShutdownNotice", +"description": "Shutdown notice by workers." +}, +"workerThreadScalingReport": { +"$ref": "WorkerThreadScalingReport", +"description": "Thread scaling information reported by workers." +} +}, +"type": "object" +}, +"WorkerMessageCode": { +"description": "A message code is used to report status and error messages to the service. The message codes are intended to be machine readable. The service will take care of translating these into user understandable messages if necessary. Example use cases: 1. Worker processes reporting successful startup. 2. Worker processes reporting specific errors (e.g. package staging failure).", +"id": "WorkerMessageCode", +"properties": { +"code": { +"description": "The code is a string intended for consumption by a machine that identifies the type of message being sent. Examples: 1. \"HARNESS_STARTED\" might be used to indicate the worker harness has started. 2. \"GCS_DOWNLOAD_ERROR\" might be used to indicate an error downloading a Cloud Storage file as part of the boot process of one of the worker containers. This is a string and not an enum to make it easy to add new codes without waiting for an API change.", +"type": "string" +}, +"parameters": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"description": "Parameters contains specific information about the code. This is a struct to allow parameters of different types. Examples: 1. For a \"HARNESS_STARTED\" message parameters might provide the name of the worker and additional data like timing information. 2. For a \"GCS_DOWNLOAD_ERROR\" parameters might contain fields listing the Cloud Storage objects being downloaded and fields containing errors. In general complex data structures should be avoided. If a worker needs to send a specific and complicated data structure then please consider defining a new proto and adding it to the data oneof in WorkerMessageResponse. Conventions: Parameters should only be used for information that isn't typically passed as a label. hostname and other worker identifiers should almost always be passed as labels since they will be included on most messages.", +"type": "object" +} +}, +"type": "object" +}, +"WorkerMessageResponse": { +"description": "A worker_message response allows the server to pass information to the sender.", +"id": "WorkerMessageResponse", +"properties": { +"streamingScalingReportResponse": { +"$ref": "StreamingScalingReportResponse", +"description": "Service's streaming scaling response for workers." +}, +"workerHealthReportResponse": { +"$ref": "WorkerHealthReportResponse", +"description": "The service's response to a worker's health report." +}, +"workerMetricsResponse": { +"$ref": "ResourceUtilizationReportResponse", +"description": "Service's response to reporting worker metrics (currently empty)." +}, +"workerShutdownNoticeResponse": { +"$ref": "WorkerShutdownNoticeResponse", +"description": "Service's response to shutdown notice (currently empty)." +}, +"workerThreadScalingReportResponse": { +"$ref": "WorkerThreadScalingReportResponse", +"description": "Service's thread scaling recommendation for workers." +} +}, +"type": "object" +}, +"WorkerPool": { +"description": "Describes one particular pool of Cloud Dataflow workers to be instantiated by the Cloud Dataflow service in order to perform the computations required by a job. Note that a workflow job may use multiple pools, in order to match the various computational requirements of the various stages of the job.", +"id": "WorkerPool", +"properties": { +"autoscalingSettings": { +"$ref": "AutoscalingSettings", +"description": "Settings for autoscaling of this WorkerPool." +}, +"dataDisks": { +"description": "Data disks that are used by a VM in this workflow.", +"items": { +"$ref": "Disk" +}, +"type": "array" +}, +"defaultPackageSet": { +"description": "The default package set to install. This allows the service to select a default set of packages which are useful to worker harnesses written in a particular language.", +"enum": [ +"DEFAULT_PACKAGE_SET_UNKNOWN", +"DEFAULT_PACKAGE_SET_NONE", +"DEFAULT_PACKAGE_SET_JAVA", +"DEFAULT_PACKAGE_SET_PYTHON" +], +"enumDescriptions": [ +"The default set of packages to stage is unknown, or unspecified.", +"Indicates that no packages should be staged at the worker unless explicitly specified by the job.", +"Stage packages typically useful to workers written in Java.", +"Stage packages typically useful to workers written in Python." +], +"type": "string" +}, +"diskProvisionedIops": { +"description": "Optional. IOPS provisioned for the root disk for VMs.", +"format": "int64", +"type": "string" +}, +"diskProvisionedThroughputMibps": { +"description": "Optional. Throughput provisioned for the root disk for VMs.", +"format": "int64", +"type": "string" +}, +"diskSizeGb": { +"description": "Size of root disk for VMs, in GB. If zero or unspecified, the service will attempt to choose a reasonable default.", +"format": "int32", +"type": "integer" +}, +"diskSourceImage": { +"description": "Fully qualified source image for disks.", +"type": "string" +}, +"diskType": { +"description": "Type of root disk for VMs. If empty or unspecified, the service will attempt to choose a reasonable default.", +"type": "string" +}, +"ipConfiguration": { +"description": "Configuration for VM IPs.", +"enum": [ +"WORKER_IP_UNSPECIFIED", +"WORKER_IP_PUBLIC", +"WORKER_IP_PRIVATE" +], +"enumDescriptions": [ +"The configuration is unknown, or unspecified.", +"Workers should have public IP addresses.", +"Workers should have private IP addresses." +], +"type": "string" +}, +"kind": { +"description": "The kind of the worker pool; currently only `harness` and `shuffle` are supported.", +"type": "string" +}, +"machineType": { +"description": "Machine type (e.g. \"n1-standard-1\"). If empty or unspecified, the service will attempt to choose a reasonable default.", +"type": "string" +}, +"metadata": { +"additionalProperties": { +"type": "string" +}, +"description": "Metadata to set on the Google Compute Engine VMs.", +"type": "object" +}, +"network": { +"description": "Network to which VMs will be assigned. If empty or unspecified, the service will use the network \"default\".", +"type": "string" +}, +"numThreadsPerWorker": { +"description": "The number of threads per worker harness. If empty or unspecified, the service will choose a number of threads (according to the number of cores on the selected machine type for batch, or 1 by convention for streaming).", +"format": "int32", +"type": "integer" +}, +"numWorkers": { +"description": "Number of Google Compute Engine workers in this pool needed to execute the job. If zero or unspecified, the service will attempt to choose a reasonable default.", +"format": "int32", +"type": "integer" +}, +"onHostMaintenance": { +"description": "The action to take on host maintenance, as defined by the Google Compute Engine API.", +"type": "string" +}, +"packages": { +"description": "Packages to be installed on workers.", +"items": { +"$ref": "Package" +}, +"type": "array" +}, +"poolArgs": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "Extra arguments for this worker pool.", +"type": "object" +}, +"sdkHarnessContainerImages": { +"description": "Set of SDK harness containers needed to execute this pipeline. This will only be set in the Fn API path. For non-cross-language pipelines this should have only one entry. Cross-language pipelines will have two or more entries.", +"items": { +"$ref": "SdkHarnessContainerImage" +}, +"type": "array" +}, +"subnetwork": { +"description": "Subnetwork to which VMs will be assigned, if desired. Expected to be of the form \"regions/REGION/subnetworks/SUBNETWORK\".", +"type": "string" +}, +"taskrunnerSettings": { +"$ref": "TaskRunnerSettings", +"description": "Settings passed through to Google Compute Engine workers when using the standard Dataflow task runner. Users should ignore this field." +}, +"teardownPolicy": { +"description": "Sets the policy for determining when to turndown worker pool. Allowed values are: `TEARDOWN_ALWAYS`, `TEARDOWN_ON_SUCCESS`, and `TEARDOWN_NEVER`. `TEARDOWN_ALWAYS` means workers are always torn down regardless of whether the job succeeds. `TEARDOWN_ON_SUCCESS` means workers are torn down if the job succeeds. `TEARDOWN_NEVER` means the workers are never torn down. If the workers are not torn down by the service, they will continue to run and use Google Compute Engine VM resources in the user's project until they are explicitly terminated by the user. Because of this, Google recommends using the `TEARDOWN_ALWAYS` policy except for small, manually supervised test jobs. If unknown or unspecified, the service will attempt to choose a reasonable default.", +"enum": [ +"TEARDOWN_POLICY_UNKNOWN", +"TEARDOWN_ALWAYS", +"TEARDOWN_ON_SUCCESS", +"TEARDOWN_NEVER" +], +"enumDescriptions": [ +"The teardown policy isn't specified, or is unknown.", +"Always teardown the resource.", +"Teardown the resource on success. This is useful for debugging failures.", +"Never teardown the resource. This is useful for debugging and development." +], +"type": "string" +}, +"workerHarnessContainerImage": { +"description": "Required. Docker container image that executes the Cloud Dataflow worker harness, residing in Google Container Registry. Deprecated for the Fn API path. Use sdk_harness_container_images instead.", +"type": "string" +}, +"zone": { +"description": "Zone to run the worker pools in. If empty or unspecified, the service will attempt to choose a reasonable default.", +"type": "string" +} +}, +"type": "object" +}, +"WorkerSettings": { +"description": "Provides data to pass through to the worker harness.", +"id": "WorkerSettings", +"properties": { +"baseUrl": { +"description": "The base URL for accessing Google Cloud APIs. When workers access Google Cloud APIs, they logically do so via relative URLs. If this field is specified, it supplies the base URL to use for resolving these relative URLs. The normative algorithm used is defined by RFC 1808, \"Relative Uniform Resource Locators\". If not specified, the default value is \"http://www.googleapis.com/\"", +"type": "string" +}, +"reportingEnabled": { +"description": "Whether to send work progress updates to the service.", +"type": "boolean" +}, +"servicePath": { +"description": "The Cloud Dataflow service path relative to the root URL, for example, \"dataflow/v1b3/projects\".", +"type": "string" +}, +"shuffleServicePath": { +"description": "The Shuffle service path relative to the root URL, for example, \"shuffle/v1beta1\".", +"type": "string" +}, +"tempStoragePrefix": { +"description": "The prefix of the resources the system should use for temporary storage. The supported resource type is: Google Cloud Storage: storage.googleapis.com/{bucket}/{object} bucket.storage.googleapis.com/{object}", +"type": "string" +}, +"workerId": { +"description": "The ID of the worker running this pipeline.", +"type": "string" +} +}, +"type": "object" +}, +"WorkerShutdownNotice": { +"description": "Shutdown notification from workers. This is to be sent by the shutdown script of the worker VM so that the backend knows that the VM is being shut down.", +"id": "WorkerShutdownNotice", +"properties": { +"reason": { +"description": "The reason for the worker shutdown. Current possible values are: \"UNKNOWN\": shutdown reason is unknown. \"PREEMPTION\": shutdown reason is preemption. Other possible reasons may be added in the future.", +"type": "string" +} +}, +"type": "object" +}, +"WorkerShutdownNoticeResponse": { +"description": "Service-side response to WorkerMessage issuing shutdown notice.", +"id": "WorkerShutdownNoticeResponse", +"properties": {}, +"type": "object" +}, +"WorkerThreadScalingReport": { +"description": "Contains information about the thread scaling information of a worker.", +"id": "WorkerThreadScalingReport", +"properties": { +"currentThreadCount": { +"description": "Current number of active threads in a worker.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"WorkerThreadScalingReportResponse": { +"description": "Contains the thread scaling recommendation for a worker from the backend.", +"id": "WorkerThreadScalingReportResponse", +"properties": { +"recommendedThreadCount": { +"description": "Recommended number of threads for a worker.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"WriteInstruction": { +"description": "An instruction that writes records. Takes one input, produces no outputs.", +"id": "WriteInstruction", +"properties": { +"input": { +"$ref": "InstructionInput", +"description": "The input." +}, +"sink": { +"$ref": "Sink", +"description": "The sink to write to." +} +}, +"type": "object" +} +}, +"servicePath": "", +"title": "Dataflow API", +"version": "v1b3" +} \ No newline at end of file diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/dataform.v1.json b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/dataform.v1.json new file mode 100644 index 0000000000000000000000000000000000000000..10743b2c899950aaebf02e693fe6d878eb170188 --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/dataform.v1.json @@ -0,0 +1,4977 @@ +{ +"auth": { +"oauth2": { +"scopes": { +"https://www.googleapis.com/auth/bigquery": { +"description": "View and manage your data in Google BigQuery and see the email address for your Google Account" +}, +"https://www.googleapis.com/auth/cloud-platform": { +"description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." +} +} +} +}, +"basePath": "", +"baseUrl": "https://dataform.googleapis.com/", +"batchPath": "batch", +"description": "Service to develop, version control, and operationalize SQL pipelines in BigQuery.", +"discoveryVersion": "v1", +"documentationLink": "https://cloud.google.com/dataform/docs", +"fullyEncodeReservedExpansion": true, +"icons": { +"x16": "http://www.google.com/images/icons/product/search-16.gif", +"x32": "http://www.google.com/images/icons/product/search-32.gif" +}, +"id": "dataform:v1", +"kind": "discovery#restDescription", +"mtlsRootUrl": "https://dataform.mtls.googleapis.com/", +"name": "dataform", +"ownerDomain": "google.com", +"ownerName": "Google", +"parameters": { +"$.xgafv": { +"description": "V1 error format.", +"enum": [ +"1", +"2" +], +"enumDescriptions": [ +"v1 error format", +"v2 error format" +], +"location": "query", +"type": "string" +}, +"access_token": { +"description": "OAuth access token.", +"location": "query", +"type": "string" +}, +"alt": { +"default": "json", +"description": "Data format for response.", +"enum": [ +"json", +"media", +"proto" +], +"enumDescriptions": [ +"Responses with Content-Type of application/json", +"Media download with context-dependent Content-Type", +"Responses with Content-Type of application/x-protobuf" +], +"location": "query", +"type": "string" +}, +"callback": { +"description": "JSONP", +"location": "query", +"type": "string" +}, +"fields": { +"description": "Selector specifying which fields to include in a partial response.", +"location": "query", +"type": "string" +}, +"key": { +"description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", +"location": "query", +"type": "string" +}, +"oauth_token": { +"description": "OAuth 2.0 token for the current user.", +"location": "query", +"type": "string" +}, +"prettyPrint": { +"default": "true", +"description": "Returns response with indentations and line breaks.", +"location": "query", +"type": "boolean" +}, +"quotaUser": { +"description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.", +"location": "query", +"type": "string" +}, +"uploadType": { +"description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", +"location": "query", +"type": "string" +}, +"upload_protocol": { +"description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", +"location": "query", +"type": "string" +} +}, +"protocol": "rest", +"resources": { +"projects": { +"resources": { +"locations": { +"methods": { +"get": { +"description": "Gets information about a location.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}", +"httpMethod": "GET", +"id": "dataform.projects.locations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Resource name for the location.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Location" +}, +"scopes": [ +"https://www.googleapis.com/auth/bigquery", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"getConfig": { +"description": "Get default config for a given project and location.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/config", +"httpMethod": "GET", +"id": "dataform.projects.locations.getConfig", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The config name.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/config$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Config" +}, +"scopes": [ +"https://www.googleapis.com/auth/bigquery", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists information about the supported locations for this service. This method can be called in two ways: * **List all public locations:** Use the path `GET /v1/locations`. * **List project-visible locations:** Use the path `GET /v1/projects/{project_id}/locations`. This may include public locations as well as private or other locations specifically visible to the project.", +"flatPath": "v1/projects/{projectsId}/locations", +"httpMethod": "GET", +"id": "dataform.projects.locations.list", +"parameterOrder": [ +"name" +], +"parameters": { +"extraLocationTypes": { +"description": "Optional. Do not use this field. It is unsupported and is ignored unless explicitly documented otherwise. This is primarily for internal usage.", +"location": "query", +"repeated": true, +"type": "string" +}, +"filter": { +"description": "A filter to narrow down results to a preferred subset. The filtering language accepts strings like `\"displayName=tokyo\"`, and is documented in more detail in [AIP-160](https://google.aip.dev/160).", +"location": "query", +"type": "string" +}, +"name": { +"description": "The resource that owns the locations collection, if applicable.", +"location": "path", +"pattern": "^projects/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The maximum number of results to return. If not set, the service selects a default.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A page token received from the `next_page_token` field in the response. Send that page token to receive the subsequent page.", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}/locations", +"response": { +"$ref": "ListLocationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/bigquery", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"updateConfig": { +"description": "Update default config for a given project and location. **Note:** *This method does not fully implement [AIP/134](https://google.aip.dev/134). The wildcard entry (\\*) is treated as a bad request, and when the `field_mask` is omitted, the request is treated as a full update on all modifiable fields.*", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/config", +"httpMethod": "PATCH", +"id": "dataform.projects.locations.updateConfig", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Identifier. The config name.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/config$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Optional. Specifies the fields to be updated in the config.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "Config" +}, +"response": { +"$ref": "Config" +}, +"scopes": [ +"https://www.googleapis.com/auth/bigquery", +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"folders": { +"methods": { +"getIamPolicy": { +"description": "Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/folders/{foldersId}:getIamPolicy", +"httpMethod": "GET", +"id": "dataform.projects.locations.folders.getIamPolicy", +"parameterOrder": [ +"resource" +], +"parameters": { +"options.requestedPolicyVersion": { +"description": "Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).", +"format": "int32", +"location": "query", +"type": "integer" +}, +"resource": { +"description": "REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/folders/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+resource}:getIamPolicy", +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/bigquery", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"setIamPolicy": { +"description": "Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/folders/{foldersId}:setIamPolicy", +"httpMethod": "POST", +"id": "dataform.projects.locations.folders.setIamPolicy", +"parameterOrder": [ +"resource" +], +"parameters": { +"resource": { +"description": "REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/folders/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+resource}:setIamPolicy", +"request": { +"$ref": "SetIamPolicyRequest" +}, +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/bigquery", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"testIamPermissions": { +"description": "Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may \"fail open\" without warning.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/folders/{foldersId}:testIamPermissions", +"httpMethod": "POST", +"id": "dataform.projects.locations.folders.testIamPermissions", +"parameterOrder": [ +"resource" +], +"parameters": { +"resource": { +"description": "REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/folders/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+resource}:testIamPermissions", +"request": { +"$ref": "TestIamPermissionsRequest" +}, +"response": { +"$ref": "TestIamPermissionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/bigquery", +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"operations": { +"methods": { +"cancel": { +"description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}:cancel", +"httpMethod": "POST", +"id": "dataform.projects.locations.operations.cancel", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be cancelled.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:cancel", +"request": { +"$ref": "CancelOperationRequest" +}, +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/bigquery", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}", +"httpMethod": "DELETE", +"id": "dataform.projects.locations.operations.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be deleted.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/bigquery", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}", +"httpMethod": "GET", +"id": "dataform.projects.locations.operations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/bigquery", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/operations", +"httpMethod": "GET", +"id": "dataform.projects.locations.operations.list", +"parameterOrder": [ +"name" +], +"parameters": { +"filter": { +"description": "The standard list filter.", +"location": "query", +"type": "string" +}, +"name": { +"description": "The name of the operation's parent resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The standard list page size.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The standard list page token.", +"location": "query", +"type": "string" +}, +"returnPartialSuccess": { +"description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `\"projects/example/locations/-\"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1/{+name}/operations", +"response": { +"$ref": "ListOperationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/bigquery", +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"repositories": { +"methods": { +"commit": { +"description": "Applies a Git commit to a Repository. The Repository must not have a value for `git_remote_settings.url`.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/repositories/{repositoriesId}:commit", +"httpMethod": "POST", +"id": "dataform.projects.locations.repositories.commit", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The repository's name.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/repositories/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:commit", +"request": { +"$ref": "CommitRepositoryChangesRequest" +}, +"response": { +"$ref": "CommitRepositoryChangesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/bigquery", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"computeAccessTokenStatus": { +"description": "Computes a Repository's Git access token status.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/repositories/{repositoriesId}:computeAccessTokenStatus", +"httpMethod": "GET", +"id": "dataform.projects.locations.repositories.computeAccessTokenStatus", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The repository's name.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/repositories/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:computeAccessTokenStatus", +"response": { +"$ref": "ComputeRepositoryAccessTokenStatusResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/bigquery", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"create": { +"description": "Creates a new Repository in a given project and location.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/repositories", +"httpMethod": "POST", +"id": "dataform.projects.locations.repositories.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The location in which to create the repository. Must be in the format `projects/*/locations/*`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +}, +"repositoryId": { +"description": "Required. The ID to use for the repository, which will become the final component of the repository's resource name.", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+parent}/repositories", +"request": { +"$ref": "Repository" +}, +"response": { +"$ref": "Repository" +}, +"scopes": [ +"https://www.googleapis.com/auth/bigquery", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a single Repository.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/repositories/{repositoriesId}", +"httpMethod": "DELETE", +"id": "dataform.projects.locations.repositories.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"force": { +"description": "Optional. If set to true, child resources of this repository (compilation results and workflow invocations) will also be deleted. Otherwise, the request will only succeed if the repository has no child resources. **Note:** *This flag doesn't support deletion of workspaces, release configs or workflow configs. If any of such resources exists in the repository, the request will fail.*.", +"location": "query", +"type": "boolean" +}, +"name": { +"description": "Required. The repository's name.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/repositories/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/bigquery", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"fetchHistory": { +"description": "Fetches a Repository's history of commits. The Repository must not have a value for `git_remote_settings.url`.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/repositories/{repositoriesId}:fetchHistory", +"httpMethod": "GET", +"id": "dataform.projects.locations.repositories.fetchHistory", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The repository's name.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/repositories/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "Optional. Maximum number of commits to return. The server may return fewer items than requested. If unspecified, the server will pick an appropriate default.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. Page token received from a previous `FetchRepositoryHistory` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `FetchRepositoryHistory`, with the exception of `page_size`, must match the call that provided the page token.", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}:fetchHistory", +"response": { +"$ref": "FetchRepositoryHistoryResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/bigquery", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"fetchRemoteBranches": { +"description": "Fetches a Repository's remote branches.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/repositories/{repositoriesId}:fetchRemoteBranches", +"httpMethod": "GET", +"id": "dataform.projects.locations.repositories.fetchRemoteBranches", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The repository's name.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/repositories/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:fetchRemoteBranches", +"response": { +"$ref": "FetchRemoteBranchesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/bigquery", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Fetches a single Repository.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/repositories/{repositoriesId}", +"httpMethod": "GET", +"id": "dataform.projects.locations.repositories.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The repository's name.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/repositories/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Repository" +}, +"scopes": [ +"https://www.googleapis.com/auth/bigquery", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"getIamPolicy": { +"description": "Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/repositories/{repositoriesId}:getIamPolicy", +"httpMethod": "GET", +"id": "dataform.projects.locations.repositories.getIamPolicy", +"parameterOrder": [ +"resource" +], +"parameters": { +"options.requestedPolicyVersion": { +"description": "Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).", +"format": "int32", +"location": "query", +"type": "integer" +}, +"resource": { +"description": "REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/repositories/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+resource}:getIamPolicy", +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/bigquery", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists Repositories in a given project and location. **Note:** *This method can return repositories not shown in the [Dataform UI](https://console.cloud.google.com/bigquery/dataform)*.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/repositories", +"httpMethod": "GET", +"id": "dataform.projects.locations.repositories.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Optional. Filter for the returned list.", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "Optional. This field only supports ordering by `name`. If unspecified, the server will choose the ordering. If specified, the default order is ascending for the `name` field.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Optional. Maximum number of repositories to return. The server may return fewer items than requested. If unspecified, the server will pick an appropriate default.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. Page token received from a previous `ListRepositories` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListRepositories`, with the exception of `page_size`, must match the call that provided the page token.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The location in which to list repositories. Must be in the format `projects/*/locations/*`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/repositories", +"response": { +"$ref": "ListRepositoriesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/bigquery", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates a single Repository. **Note:** *This method does not fully implement [AIP/134](https://google.aip.dev/134). The wildcard entry (\\*) is treated as a bad request, and when the `field_mask` is omitted, the request is treated as a full update on all modifiable fields.*", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/repositories/{repositoriesId}", +"httpMethod": "PATCH", +"id": "dataform.projects.locations.repositories.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Identifier. The repository's name.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/repositories/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Optional. Specifies the fields to be updated in the repository. If left unset, all fields will be updated.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "Repository" +}, +"response": { +"$ref": "Repository" +}, +"scopes": [ +"https://www.googleapis.com/auth/bigquery", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"queryDirectoryContents": { +"description": "Returns the contents of a given Repository directory. The Repository must not have a value for `git_remote_settings.url`.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/repositories/{repositoriesId}:queryDirectoryContents", +"httpMethod": "GET", +"id": "dataform.projects.locations.repositories.queryDirectoryContents", +"parameterOrder": [ +"name" +], +"parameters": { +"commitSha": { +"description": "Optional. The Commit SHA for the commit to query from. If unset, the directory will be queried from HEAD.", +"location": "query", +"type": "string" +}, +"name": { +"description": "Required. The repository's name.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/repositories/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "Optional. Maximum number of paths to return. The server may return fewer items than requested. If unspecified, the server will pick an appropriate default.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. Page token received from a previous `QueryRepositoryDirectoryContents` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `QueryRepositoryDirectoryContents`, with the exception of `page_size`, must match the call that provided the page token.", +"location": "query", +"type": "string" +}, +"path": { +"description": "Optional. The directory's full path including directory name, relative to root. If left unset, the root is used.", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}:queryDirectoryContents", +"response": { +"$ref": "QueryRepositoryDirectoryContentsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/bigquery", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"readFile": { +"description": "Returns the contents of a file (inside a Repository). The Repository must not have a value for `git_remote_settings.url`.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/repositories/{repositoriesId}:readFile", +"httpMethod": "GET", +"id": "dataform.projects.locations.repositories.readFile", +"parameterOrder": [ +"name" +], +"parameters": { +"commitSha": { +"description": "Optional. The commit SHA for the commit to read from. If unset, the file will be read from HEAD.", +"location": "query", +"type": "string" +}, +"name": { +"description": "Required. The repository's name.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/repositories/[^/]+$", +"required": true, +"type": "string" +}, +"path": { +"description": "Required. Full file path to read including filename, from repository root.", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}:readFile", +"response": { +"$ref": "ReadRepositoryFileResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/bigquery", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"setIamPolicy": { +"description": "Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/repositories/{repositoriesId}:setIamPolicy", +"httpMethod": "POST", +"id": "dataform.projects.locations.repositories.setIamPolicy", +"parameterOrder": [ +"resource" +], +"parameters": { +"resource": { +"description": "REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/repositories/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+resource}:setIamPolicy", +"request": { +"$ref": "SetIamPolicyRequest" +}, +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/bigquery", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"testIamPermissions": { +"description": "Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may \"fail open\" without warning.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/repositories/{repositoriesId}:testIamPermissions", +"httpMethod": "POST", +"id": "dataform.projects.locations.repositories.testIamPermissions", +"parameterOrder": [ +"resource" +], +"parameters": { +"resource": { +"description": "REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/repositories/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+resource}:testIamPermissions", +"request": { +"$ref": "TestIamPermissionsRequest" +}, +"response": { +"$ref": "TestIamPermissionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/bigquery", +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"compilationResults": { +"methods": { +"create": { +"description": "Creates a new CompilationResult in a given project and location.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/repositories/{repositoriesId}/compilationResults", +"httpMethod": "POST", +"id": "dataform.projects.locations.repositories.compilationResults.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The repository in which to create the compilation result. Must be in the format `projects/*/locations/*/repositories/*`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/repositories/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/compilationResults", +"request": { +"$ref": "CompilationResult" +}, +"response": { +"$ref": "CompilationResult" +}, +"scopes": [ +"https://www.googleapis.com/auth/bigquery", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Fetches a single CompilationResult.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/repositories/{repositoriesId}/compilationResults/{compilationResultsId}", +"httpMethod": "GET", +"id": "dataform.projects.locations.repositories.compilationResults.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The compilation result's name.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/repositories/[^/]+/compilationResults/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "CompilationResult" +}, +"scopes": [ +"https://www.googleapis.com/auth/bigquery", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists CompilationResults in a given Repository.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/repositories/{repositoriesId}/compilationResults", +"httpMethod": "GET", +"id": "dataform.projects.locations.repositories.compilationResults.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Optional. Filter for the returned list.", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "Optional. This field only supports ordering by `name` and `create_time`. If unspecified, the server will choose the ordering. If specified, the default order is ascending for the `name` field.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Optional. Maximum number of compilation results to return. The server may return fewer items than requested. If unspecified, the server will pick an appropriate default.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. Page token received from a previous `ListCompilationResults` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListCompilationResults`, with the exception of `page_size`, must match the call that provided the page token.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The repository in which to list compilation results. Must be in the format `projects/*/locations/*/repositories/*`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/repositories/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/compilationResults", +"response": { +"$ref": "ListCompilationResultsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/bigquery", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"query": { +"description": "Returns CompilationResultActions in a given CompilationResult.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/repositories/{repositoriesId}/compilationResults/{compilationResultsId}:query", +"httpMethod": "GET", +"id": "dataform.projects.locations.repositories.compilationResults.query", +"parameterOrder": [ +"name" +], +"parameters": { +"filter": { +"description": "Optional. Optional filter for the returned list. Filtering is only currently supported on the `file_path` field.", +"location": "query", +"type": "string" +}, +"name": { +"description": "Required. The compilation result's name.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/repositories/[^/]+/compilationResults/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "Optional. Maximum number of compilation results to return. The server may return fewer items than requested. If unspecified, the server will pick an appropriate default.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. Page token received from a previous `QueryCompilationResultActions` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `QueryCompilationResultActions`, with the exception of `page_size`, must match the call that provided the page token.", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}:query", +"response": { +"$ref": "QueryCompilationResultActionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/bigquery", +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"releaseConfigs": { +"methods": { +"create": { +"description": "Creates a new ReleaseConfig in a given Repository.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/repositories/{repositoriesId}/releaseConfigs", +"httpMethod": "POST", +"id": "dataform.projects.locations.repositories.releaseConfigs.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The repository in which to create the release config. Must be in the format `projects/*/locations/*/repositories/*`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/repositories/[^/]+$", +"required": true, +"type": "string" +}, +"releaseConfigId": { +"description": "Required. The ID to use for the release config, which will become the final component of the release config's resource name.", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+parent}/releaseConfigs", +"request": { +"$ref": "ReleaseConfig" +}, +"response": { +"$ref": "ReleaseConfig" +}, +"scopes": [ +"https://www.googleapis.com/auth/bigquery", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a single ReleaseConfig.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/repositories/{repositoriesId}/releaseConfigs/{releaseConfigsId}", +"httpMethod": "DELETE", +"id": "dataform.projects.locations.repositories.releaseConfigs.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The release config's name.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/repositories/[^/]+/releaseConfigs/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/bigquery", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Fetches a single ReleaseConfig.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/repositories/{repositoriesId}/releaseConfigs/{releaseConfigsId}", +"httpMethod": "GET", +"id": "dataform.projects.locations.repositories.releaseConfigs.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The release config's name.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/repositories/[^/]+/releaseConfigs/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "ReleaseConfig" +}, +"scopes": [ +"https://www.googleapis.com/auth/bigquery", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists ReleaseConfigs in a given Repository.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/repositories/{repositoriesId}/releaseConfigs", +"httpMethod": "GET", +"id": "dataform.projects.locations.repositories.releaseConfigs.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "Optional. Maximum number of release configs to return. The server may return fewer items than requested. If unspecified, the server will pick an appropriate default.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. Page token received from a previous `ListReleaseConfigs` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListReleaseConfigs`, with the exception of `page_size`, must match the call that provided the page token.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The repository in which to list release configs. Must be in the format `projects/*/locations/*/repositories/*`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/repositories/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/releaseConfigs", +"response": { +"$ref": "ListReleaseConfigsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/bigquery", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates a single ReleaseConfig. **Note:** *This method does not fully implement [AIP/134](https://google.aip.dev/134). The wildcard entry (\\*) is treated as a bad request, and when the `field_mask` is omitted, the request is treated as a full update on all modifiable fields.*", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/repositories/{repositoriesId}/releaseConfigs/{releaseConfigsId}", +"httpMethod": "PATCH", +"id": "dataform.projects.locations.repositories.releaseConfigs.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Identifier. The release config's name.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/repositories/[^/]+/releaseConfigs/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Optional. Specifies the fields to be updated in the release config. If left unset, all fields will be updated.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "ReleaseConfig" +}, +"response": { +"$ref": "ReleaseConfig" +}, +"scopes": [ +"https://www.googleapis.com/auth/bigquery", +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"workflowConfigs": { +"methods": { +"create": { +"description": "Creates a new WorkflowConfig in a given Repository.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/repositories/{repositoriesId}/workflowConfigs", +"httpMethod": "POST", +"id": "dataform.projects.locations.repositories.workflowConfigs.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The repository in which to create the workflow config. Must be in the format `projects/*/locations/*/repositories/*`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/repositories/[^/]+$", +"required": true, +"type": "string" +}, +"workflowConfigId": { +"description": "Required. The ID to use for the workflow config, which will become the final component of the workflow config's resource name.", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+parent}/workflowConfigs", +"request": { +"$ref": "WorkflowConfig" +}, +"response": { +"$ref": "WorkflowConfig" +}, +"scopes": [ +"https://www.googleapis.com/auth/bigquery", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a single WorkflowConfig.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/repositories/{repositoriesId}/workflowConfigs/{workflowConfigsId}", +"httpMethod": "DELETE", +"id": "dataform.projects.locations.repositories.workflowConfigs.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The workflow config's name.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/repositories/[^/]+/workflowConfigs/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/bigquery", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Fetches a single WorkflowConfig.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/repositories/{repositoriesId}/workflowConfigs/{workflowConfigsId}", +"httpMethod": "GET", +"id": "dataform.projects.locations.repositories.workflowConfigs.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The workflow config's name.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/repositories/[^/]+/workflowConfigs/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "WorkflowConfig" +}, +"scopes": [ +"https://www.googleapis.com/auth/bigquery", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists WorkflowConfigs in a given Repository.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/repositories/{repositoriesId}/workflowConfigs", +"httpMethod": "GET", +"id": "dataform.projects.locations.repositories.workflowConfigs.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "Optional. Maximum number of workflow configs to return. The server may return fewer items than requested. If unspecified, the server will pick an appropriate default.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. Page token received from a previous `ListWorkflowConfigs` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListWorkflowConfigs`, with the exception of `page_size`, must match the call that provided the page token.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The repository in which to list workflow configs. Must be in the format `projects/*/locations/*/repositories/*`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/repositories/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/workflowConfigs", +"response": { +"$ref": "ListWorkflowConfigsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/bigquery", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates a single WorkflowConfig. **Note:** *This method does not fully implement [AIP/134](https://google.aip.dev/134). The wildcard entry (\\*) is treated as a bad request, and when the `field_mask` is omitted, the request is treated as a full update on all modifiable fields.*", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/repositories/{repositoriesId}/workflowConfigs/{workflowConfigsId}", +"httpMethod": "PATCH", +"id": "dataform.projects.locations.repositories.workflowConfigs.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Identifier. The workflow config's name.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/repositories/[^/]+/workflowConfigs/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Optional. Specifies the fields to be updated in the workflow config. If left unset, all fields will be updated.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "WorkflowConfig" +}, +"response": { +"$ref": "WorkflowConfig" +}, +"scopes": [ +"https://www.googleapis.com/auth/bigquery", +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"workflowInvocations": { +"methods": { +"cancel": { +"description": "Requests cancellation of a running WorkflowInvocation.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/repositories/{repositoriesId}/workflowInvocations/{workflowInvocationsId}:cancel", +"httpMethod": "POST", +"id": "dataform.projects.locations.repositories.workflowInvocations.cancel", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The workflow invocation resource's name.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/repositories/[^/]+/workflowInvocations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:cancel", +"request": { +"$ref": "CancelWorkflowInvocationRequest" +}, +"response": { +"$ref": "CancelWorkflowInvocationResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/bigquery", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"create": { +"description": "Creates a new WorkflowInvocation in a given Repository.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/repositories/{repositoriesId}/workflowInvocations", +"httpMethod": "POST", +"id": "dataform.projects.locations.repositories.workflowInvocations.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The repository in which to create the workflow invocation. Must be in the format `projects/*/locations/*/repositories/*`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/repositories/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/workflowInvocations", +"request": { +"$ref": "WorkflowInvocation" +}, +"response": { +"$ref": "WorkflowInvocation" +}, +"scopes": [ +"https://www.googleapis.com/auth/bigquery", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a single WorkflowInvocation.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/repositories/{repositoriesId}/workflowInvocations/{workflowInvocationsId}", +"httpMethod": "DELETE", +"id": "dataform.projects.locations.repositories.workflowInvocations.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The workflow invocation resource's name.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/repositories/[^/]+/workflowInvocations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/bigquery", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Fetches a single WorkflowInvocation.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/repositories/{repositoriesId}/workflowInvocations/{workflowInvocationsId}", +"httpMethod": "GET", +"id": "dataform.projects.locations.repositories.workflowInvocations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The workflow invocation resource's name.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/repositories/[^/]+/workflowInvocations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "WorkflowInvocation" +}, +"scopes": [ +"https://www.googleapis.com/auth/bigquery", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists WorkflowInvocations in a given Repository.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/repositories/{repositoriesId}/workflowInvocations", +"httpMethod": "GET", +"id": "dataform.projects.locations.repositories.workflowInvocations.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Optional. Filter for the returned list.", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "Optional. This field only supports ordering by `name`. If unspecified, the server will choose the ordering. If specified, the default order is ascending for the `name` field.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Optional. Maximum number of workflow invocations to return. The server may return fewer items than requested. If unspecified, the server will pick an appropriate default.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. Page token received from a previous `ListWorkflowInvocations` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListWorkflowInvocations`, with the exception of `page_size`, must match the call that provided the page token.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent resource of the WorkflowInvocation type. Must be in the format `projects/*/locations/*/repositories/*`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/repositories/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/workflowInvocations", +"response": { +"$ref": "ListWorkflowInvocationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/bigquery", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"query": { +"description": "Returns WorkflowInvocationActions in a given WorkflowInvocation.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/repositories/{repositoriesId}/workflowInvocations/{workflowInvocationsId}:query", +"httpMethod": "GET", +"id": "dataform.projects.locations.repositories.workflowInvocations.query", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The workflow invocation's name.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/repositories/[^/]+/workflowInvocations/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "Optional. Maximum number of workflow invocations to return. The server may return fewer items than requested. If unspecified, the server will pick an appropriate default.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. Page token received from a previous `QueryWorkflowInvocationActions` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `QueryWorkflowInvocationActions`, with the exception of `page_size`, must match the call that provided the page token.", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}:query", +"response": { +"$ref": "QueryWorkflowInvocationActionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/bigquery", +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"workspaces": { +"methods": { +"commit": { +"description": "Applies a Git commit for uncommitted files in a Workspace.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/repositories/{repositoriesId}/workspaces/{workspacesId}:commit", +"httpMethod": "POST", +"id": "dataform.projects.locations.repositories.workspaces.commit", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The workspace's name.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/repositories/[^/]+/workspaces/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:commit", +"request": { +"$ref": "CommitWorkspaceChangesRequest" +}, +"response": { +"$ref": "CommitWorkspaceChangesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/bigquery", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"create": { +"description": "Creates a new Workspace in a given Repository.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/repositories/{repositoriesId}/workspaces", +"httpMethod": "POST", +"id": "dataform.projects.locations.repositories.workspaces.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The repository in which to create the workspace. Must be in the format `projects/*/locations/*/repositories/*`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/repositories/[^/]+$", +"required": true, +"type": "string" +}, +"workspaceId": { +"description": "Required. The ID to use for the workspace, which will become the final component of the workspace's resource name.", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+parent}/workspaces", +"request": { +"$ref": "Workspace" +}, +"response": { +"$ref": "Workspace" +}, +"scopes": [ +"https://www.googleapis.com/auth/bigquery", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a single Workspace.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/repositories/{repositoriesId}/workspaces/{workspacesId}", +"httpMethod": "DELETE", +"id": "dataform.projects.locations.repositories.workspaces.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The workspace resource's name.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/repositories/[^/]+/workspaces/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/bigquery", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"fetchFileDiff": { +"description": "Fetches Git diff for an uncommitted file in a Workspace.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/repositories/{repositoriesId}/workspaces/{workspacesId}:fetchFileDiff", +"httpMethod": "GET", +"id": "dataform.projects.locations.repositories.workspaces.fetchFileDiff", +"parameterOrder": [ +"workspace" +], +"parameters": { +"path": { +"description": "Required. The file's full path including filename, relative to the workspace root.", +"location": "query", +"type": "string" +}, +"workspace": { +"description": "Required. The workspace's name.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/repositories/[^/]+/workspaces/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+workspace}:fetchFileDiff", +"response": { +"$ref": "FetchFileDiffResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/bigquery", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"fetchFileGitStatuses": { +"description": "Fetches Git statuses for the files in a Workspace.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/repositories/{repositoriesId}/workspaces/{workspacesId}:fetchFileGitStatuses", +"httpMethod": "GET", +"id": "dataform.projects.locations.repositories.workspaces.fetchFileGitStatuses", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The workspace's name.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/repositories/[^/]+/workspaces/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:fetchFileGitStatuses", +"response": { +"$ref": "FetchFileGitStatusesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/bigquery", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"fetchGitAheadBehind": { +"description": "Fetches Git ahead/behind against a remote branch.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/repositories/{repositoriesId}/workspaces/{workspacesId}:fetchGitAheadBehind", +"httpMethod": "GET", +"id": "dataform.projects.locations.repositories.workspaces.fetchGitAheadBehind", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The workspace's name.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/repositories/[^/]+/workspaces/[^/]+$", +"required": true, +"type": "string" +}, +"remoteBranch": { +"description": "Optional. The name of the branch in the Git remote against which this workspace should be compared. If left unset, the repository's default branch name will be used.", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}:fetchGitAheadBehind", +"response": { +"$ref": "FetchGitAheadBehindResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/bigquery", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Fetches a single Workspace.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/repositories/{repositoriesId}/workspaces/{workspacesId}", +"httpMethod": "GET", +"id": "dataform.projects.locations.repositories.workspaces.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The workspace's name.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/repositories/[^/]+/workspaces/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Workspace" +}, +"scopes": [ +"https://www.googleapis.com/auth/bigquery", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"getIamPolicy": { +"description": "Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/repositories/{repositoriesId}/workspaces/{workspacesId}:getIamPolicy", +"httpMethod": "GET", +"id": "dataform.projects.locations.repositories.workspaces.getIamPolicy", +"parameterOrder": [ +"resource" +], +"parameters": { +"options.requestedPolicyVersion": { +"description": "Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).", +"format": "int32", +"location": "query", +"type": "integer" +}, +"resource": { +"description": "REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/repositories/[^/]+/workspaces/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+resource}:getIamPolicy", +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/bigquery", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"installNpmPackages": { +"description": "Installs dependency NPM packages (inside a Workspace).", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/repositories/{repositoriesId}/workspaces/{workspacesId}:installNpmPackages", +"httpMethod": "POST", +"id": "dataform.projects.locations.repositories.workspaces.installNpmPackages", +"parameterOrder": [ +"workspace" +], +"parameters": { +"workspace": { +"description": "Required. The workspace's name.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/repositories/[^/]+/workspaces/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+workspace}:installNpmPackages", +"request": { +"$ref": "InstallNpmPackagesRequest" +}, +"response": { +"$ref": "InstallNpmPackagesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/bigquery", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists Workspaces in a given Repository.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/repositories/{repositoriesId}/workspaces", +"httpMethod": "GET", +"id": "dataform.projects.locations.repositories.workspaces.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Optional. Filter for the returned list.", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "Optional. This field only supports ordering by `name`. If unspecified, the server will choose the ordering. If specified, the default order is ascending for the `name` field.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Optional. Maximum number of workspaces to return. The server may return fewer items than requested. If unspecified, the server will pick an appropriate default.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. Page token received from a previous `ListWorkspaces` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListWorkspaces`, with the exception of `page_size`, must match the call that provided the page token.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The repository in which to list workspaces. Must be in the format `projects/*/locations/*/repositories/*`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/repositories/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/workspaces", +"response": { +"$ref": "ListWorkspacesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/bigquery", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"makeDirectory": { +"description": "Creates a directory inside a Workspace.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/repositories/{repositoriesId}/workspaces/{workspacesId}:makeDirectory", +"httpMethod": "POST", +"id": "dataform.projects.locations.repositories.workspaces.makeDirectory", +"parameterOrder": [ +"workspace" +], +"parameters": { +"workspace": { +"description": "Required. The workspace's name.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/repositories/[^/]+/workspaces/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+workspace}:makeDirectory", +"request": { +"$ref": "MakeDirectoryRequest" +}, +"response": { +"$ref": "MakeDirectoryResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/bigquery", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"moveDirectory": { +"description": "Moves a directory (inside a Workspace), and all of its contents, to a new location.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/repositories/{repositoriesId}/workspaces/{workspacesId}:moveDirectory", +"httpMethod": "POST", +"id": "dataform.projects.locations.repositories.workspaces.moveDirectory", +"parameterOrder": [ +"workspace" +], +"parameters": { +"workspace": { +"description": "Required. The workspace's name.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/repositories/[^/]+/workspaces/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+workspace}:moveDirectory", +"request": { +"$ref": "MoveDirectoryRequest" +}, +"response": { +"$ref": "MoveDirectoryResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/bigquery", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"moveFile": { +"description": "Moves a file (inside a Workspace) to a new location.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/repositories/{repositoriesId}/workspaces/{workspacesId}:moveFile", +"httpMethod": "POST", +"id": "dataform.projects.locations.repositories.workspaces.moveFile", +"parameterOrder": [ +"workspace" +], +"parameters": { +"workspace": { +"description": "Required. The workspace's name.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/repositories/[^/]+/workspaces/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+workspace}:moveFile", +"request": { +"$ref": "MoveFileRequest" +}, +"response": { +"$ref": "MoveFileResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/bigquery", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"pull": { +"description": "Pulls Git commits from the Repository's remote into a Workspace.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/repositories/{repositoriesId}/workspaces/{workspacesId}:pull", +"httpMethod": "POST", +"id": "dataform.projects.locations.repositories.workspaces.pull", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The workspace's name.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/repositories/[^/]+/workspaces/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:pull", +"request": { +"$ref": "PullGitCommitsRequest" +}, +"response": { +"$ref": "PullGitCommitsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/bigquery", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"push": { +"description": "Pushes Git commits from a Workspace to the Repository's remote.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/repositories/{repositoriesId}/workspaces/{workspacesId}:push", +"httpMethod": "POST", +"id": "dataform.projects.locations.repositories.workspaces.push", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The workspace's name.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/repositories/[^/]+/workspaces/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:push", +"request": { +"$ref": "PushGitCommitsRequest" +}, +"response": { +"$ref": "PushGitCommitsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/bigquery", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"queryDirectoryContents": { +"description": "Returns the contents of a given Workspace directory.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/repositories/{repositoriesId}/workspaces/{workspacesId}:queryDirectoryContents", +"httpMethod": "GET", +"id": "dataform.projects.locations.repositories.workspaces.queryDirectoryContents", +"parameterOrder": [ +"workspace" +], +"parameters": { +"pageSize": { +"description": "Optional. Maximum number of paths to return. The server may return fewer items than requested. If unspecified, the server will pick an appropriate default.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. Page token received from a previous `QueryDirectoryContents` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `QueryDirectoryContents`, with the exception of `page_size`, must match the call that provided the page token.", +"location": "query", +"type": "string" +}, +"path": { +"description": "Optional. The directory's full path including directory name, relative to the workspace root. If left unset, the workspace root is used.", +"location": "query", +"type": "string" +}, +"workspace": { +"description": "Required. The workspace's name.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/repositories/[^/]+/workspaces/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+workspace}:queryDirectoryContents", +"response": { +"$ref": "QueryDirectoryContentsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/bigquery", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"readFile": { +"description": "Returns the contents of a file (inside a Workspace).", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/repositories/{repositoriesId}/workspaces/{workspacesId}:readFile", +"httpMethod": "GET", +"id": "dataform.projects.locations.repositories.workspaces.readFile", +"parameterOrder": [ +"workspace" +], +"parameters": { +"path": { +"description": "Required. The file's full path including filename, relative to the workspace root.", +"location": "query", +"type": "string" +}, +"revision": { +"description": "Optional. The Git revision of the file to return. If left empty, the current contents of `path` will be returned.", +"location": "query", +"type": "string" +}, +"workspace": { +"description": "Required. The workspace's name.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/repositories/[^/]+/workspaces/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+workspace}:readFile", +"response": { +"$ref": "ReadFileResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/bigquery", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"removeDirectory": { +"description": "Deletes a directory (inside a Workspace) and all of its contents.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/repositories/{repositoriesId}/workspaces/{workspacesId}:removeDirectory", +"httpMethod": "POST", +"id": "dataform.projects.locations.repositories.workspaces.removeDirectory", +"parameterOrder": [ +"workspace" +], +"parameters": { +"workspace": { +"description": "Required. The workspace's name.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/repositories/[^/]+/workspaces/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+workspace}:removeDirectory", +"request": { +"$ref": "RemoveDirectoryRequest" +}, +"response": { +"$ref": "RemoveDirectoryResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/bigquery", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"removeFile": { +"description": "Deletes a file (inside a Workspace).", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/repositories/{repositoriesId}/workspaces/{workspacesId}:removeFile", +"httpMethod": "POST", +"id": "dataform.projects.locations.repositories.workspaces.removeFile", +"parameterOrder": [ +"workspace" +], +"parameters": { +"workspace": { +"description": "Required. The workspace's name.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/repositories/[^/]+/workspaces/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+workspace}:removeFile", +"request": { +"$ref": "RemoveFileRequest" +}, +"response": { +"$ref": "RemoveFileResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/bigquery", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"reset": { +"description": "Performs a Git reset for uncommitted files in a Workspace.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/repositories/{repositoriesId}/workspaces/{workspacesId}:reset", +"httpMethod": "POST", +"id": "dataform.projects.locations.repositories.workspaces.reset", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The workspace's name.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/repositories/[^/]+/workspaces/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:reset", +"request": { +"$ref": "ResetWorkspaceChangesRequest" +}, +"response": { +"$ref": "ResetWorkspaceChangesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/bigquery", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"searchFiles": { +"description": "Finds the contents of a given Workspace directory by filter.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/repositories/{repositoriesId}/workspaces/{workspacesId}:searchFiles", +"httpMethod": "GET", +"id": "dataform.projects.locations.repositories.workspaces.searchFiles", +"parameterOrder": [ +"workspace" +], +"parameters": { +"filter": { +"description": "Optional. Optional filter for the returned list in filtering format. Filtering is only currently supported on the `path` field. See https://google.aip.dev/160 for details.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Optional. Maximum number of search results to return. The server may return fewer items than requested. If unspecified, the server will pick an appropriate default.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. Page token received from a previous `SearchFilesRequest` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `SearchFilesRequest`, with the exception of `page_size`, must match the call that provided the page token.", +"location": "query", +"type": "string" +}, +"workspace": { +"description": "Required. The workspace's name.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/repositories/[^/]+/workspaces/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+workspace}:searchFiles", +"response": { +"$ref": "SearchFilesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/bigquery", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"setIamPolicy": { +"description": "Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/repositories/{repositoriesId}/workspaces/{workspacesId}:setIamPolicy", +"httpMethod": "POST", +"id": "dataform.projects.locations.repositories.workspaces.setIamPolicy", +"parameterOrder": [ +"resource" +], +"parameters": { +"resource": { +"description": "REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/repositories/[^/]+/workspaces/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+resource}:setIamPolicy", +"request": { +"$ref": "SetIamPolicyRequest" +}, +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/bigquery", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"testIamPermissions": { +"description": "Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may \"fail open\" without warning.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/repositories/{repositoriesId}/workspaces/{workspacesId}:testIamPermissions", +"httpMethod": "POST", +"id": "dataform.projects.locations.repositories.workspaces.testIamPermissions", +"parameterOrder": [ +"resource" +], +"parameters": { +"resource": { +"description": "REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/repositories/[^/]+/workspaces/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+resource}:testIamPermissions", +"request": { +"$ref": "TestIamPermissionsRequest" +}, +"response": { +"$ref": "TestIamPermissionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/bigquery", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"writeFile": { +"description": "Writes to a file (inside a Workspace).", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/repositories/{repositoriesId}/workspaces/{workspacesId}:writeFile", +"httpMethod": "POST", +"id": "dataform.projects.locations.repositories.workspaces.writeFile", +"parameterOrder": [ +"workspace" +], +"parameters": { +"workspace": { +"description": "Required. The workspace's name.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/repositories/[^/]+/workspaces/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+workspace}:writeFile", +"request": { +"$ref": "WriteFileRequest" +}, +"response": { +"$ref": "WriteFileResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/bigquery", +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +}, +"teamFolders": { +"methods": { +"getIamPolicy": { +"description": "Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/teamFolders/{teamFoldersId}:getIamPolicy", +"httpMethod": "GET", +"id": "dataform.projects.locations.teamFolders.getIamPolicy", +"parameterOrder": [ +"resource" +], +"parameters": { +"options.requestedPolicyVersion": { +"description": "Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).", +"format": "int32", +"location": "query", +"type": "integer" +}, +"resource": { +"description": "REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/teamFolders/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+resource}:getIamPolicy", +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/bigquery", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"setIamPolicy": { +"description": "Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/teamFolders/{teamFoldersId}:setIamPolicy", +"httpMethod": "POST", +"id": "dataform.projects.locations.teamFolders.setIamPolicy", +"parameterOrder": [ +"resource" +], +"parameters": { +"resource": { +"description": "REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/teamFolders/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+resource}:setIamPolicy", +"request": { +"$ref": "SetIamPolicyRequest" +}, +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/bigquery", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"testIamPermissions": { +"description": "Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may \"fail open\" without warning.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/teamFolders/{teamFoldersId}:testIamPermissions", +"httpMethod": "POST", +"id": "dataform.projects.locations.teamFolders.testIamPermissions", +"parameterOrder": [ +"resource" +], +"parameters": { +"resource": { +"description": "REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/teamFolders/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+resource}:testIamPermissions", +"request": { +"$ref": "TestIamPermissionsRequest" +}, +"response": { +"$ref": "TestIamPermissionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/bigquery", +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +} +} +} +}, +"revision": "20260217", +"rootUrl": "https://dataform.googleapis.com/", +"schemas": { +"ActionErrorTable": { +"description": "Error table information, used to write error data into a BigQuery table.", +"id": "ActionErrorTable", +"properties": { +"retentionDays": { +"description": "Error table partition expiration in days. Only positive values are allowed.", +"format": "int32", +"type": "integer" +}, +"target": { +"$ref": "Target", +"description": "Error Table target." +} +}, +"type": "object" +}, +"ActionIncrementalLoadMode": { +"description": "Load definition for incremental load modes", +"id": "ActionIncrementalLoadMode", +"properties": { +"column": { +"description": "Column name for incremental load modes", +"type": "string" +} +}, +"type": "object" +}, +"ActionLoadConfig": { +"description": "Simplified load configuration for actions", +"id": "ActionLoadConfig", +"properties": { +"append": { +"$ref": "ActionSimpleLoadMode", +"description": "Append into destination table" +}, +"maximum": { +"$ref": "ActionIncrementalLoadMode", +"description": "Insert records where the value exceeds the previous maximum value for a column in the destination table" +}, +"replace": { +"$ref": "ActionSimpleLoadMode", +"description": "Replace destination table" +}, +"unique": { +"$ref": "ActionIncrementalLoadMode", +"description": "Insert records where the value of a column is not already present in the destination table" +} +}, +"type": "object" +}, +"ActionSimpleLoadMode": { +"description": "Simple load definition", +"id": "ActionSimpleLoadMode", +"properties": {}, +"type": "object" +}, +"ActionSqlDefinition": { +"description": "Definition of a SQL Data Preparation", +"id": "ActionSqlDefinition", +"properties": { +"errorTable": { +"$ref": "ActionErrorTable", +"description": "Error table configuration," +}, +"loadConfig": { +"$ref": "ActionLoadConfig", +"description": "Load configuration." +}, +"query": { +"description": "The SQL query representing the data preparation steps. Formatted as a Pipe SQL query statement.", +"type": "string" +} +}, +"type": "object" +}, +"Assertion": { +"description": "Represents an assertion upon a SQL query which is required return zero rows.", +"id": "Assertion", +"properties": { +"dependencyTargets": { +"description": "A list of actions that this action depends on.", +"items": { +"$ref": "Target" +}, +"type": "array" +}, +"disabled": { +"description": "Whether this action is disabled (i.e. should not be run).", +"type": "boolean" +}, +"parentAction": { +"$ref": "Target", +"description": "The parent action of this assertion. Only set if this assertion was automatically generated." +}, +"relationDescriptor": { +"$ref": "RelationDescriptor", +"description": "Descriptor for the assertion's automatically-generated view and its columns." +}, +"selectQuery": { +"description": "The SELECT query which must return zero rows in order for this assertion to succeed.", +"type": "string" +}, +"tags": { +"description": "Arbitrary, user-defined tags on this action.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"BigQueryAction": { +"description": "Represents a workflow action that will run against BigQuery.", +"id": "BigQueryAction", +"properties": { +"jobId": { +"description": "Output only. The ID of the BigQuery job that executed the SQL in sql_script. Only set once the job has started to run.", +"readOnly": true, +"type": "string" +}, +"sqlScript": { +"description": "Output only. The generated BigQuery SQL script that will be executed.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"Binding": { +"description": "Associates `members`, or principals, with a `role`.", +"id": "Binding", +"properties": { +"condition": { +"$ref": "Expr", +"description": "The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies)." +}, +"members": { +"description": "Specifies the principals requesting access for a Google Cloud resource. `members` can have the following values: * `allUsers`: A special identifier that represents anyone who is on the internet; with or without a Google account. * `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service account. Does not include identities that come from external identity providers (IdPs) through identity federation. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `group:{emailid}`: An email address that represents a Google group. For example, `admins@example.com`. * `domain:{domain}`: The G Suite domain (primary) that represents all the users of that domain. For example, `google.com` or `example.com`. * `principal://iam.googleapis.com/locations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}`: A single identity in a workforce identity pool. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/group/{group_id}`: All workforce identities in a group. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/attribute.{attribute_name}/{attribute_value}`: All workforce identities with a specific attribute value. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/*`: All identities in a workforce identity pool. * `principal://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/subject/{subject_attribute_value}`: A single identity in a workload identity pool. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/group/{group_id}`: A workload identity pool group. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/attribute.{attribute_name}/{attribute_value}`: All identities in a workload identity pool with a certain attribute. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/*`: All identities in a workload identity pool. * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a user that has been recently deleted. For example, `alice@example.com?uid=123456789012345678901`. If the user is recovered, this value reverts to `user:{emailid}` and the recovered user retains the role in the binding. * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a service account that has been recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the service account is undeleted, this value reverts to `serviceAccount:{emailid}` and the undeleted service account retains the role in the binding. * `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a Google group that has been recently deleted. For example, `admins@example.com?uid=123456789012345678901`. If the group is recovered, this value reverts to `group:{emailid}` and the recovered group retains the role in the binding. * `deleted:principal://iam.googleapis.com/locations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}`: Deleted single identity in a workforce identity pool. For example, `deleted:principal://iam.googleapis.com/locations/global/workforcePools/my-pool-id/subject/my-subject-attribute-value`.", +"items": { +"type": "string" +}, +"type": "array" +}, +"role": { +"description": "Role that is assigned to the list of `members`, or principals. For example, `roles/viewer`, `roles/editor`, or `roles/owner`. For an overview of the IAM roles and permissions, see the [IAM documentation](https://cloud.google.com/iam/docs/roles-overview). For a list of the available pre-defined roles, see [here](https://cloud.google.com/iam/docs/understanding-roles).", +"type": "string" +} +}, +"type": "object" +}, +"CancelOperationRequest": { +"description": "The request message for Operations.CancelOperation.", +"id": "CancelOperationRequest", +"properties": {}, +"type": "object" +}, +"CancelWorkflowInvocationRequest": { +"description": "`CancelWorkflowInvocation` request message.", +"id": "CancelWorkflowInvocationRequest", +"properties": {}, +"type": "object" +}, +"CancelWorkflowInvocationResponse": { +"description": "`CancelWorkflowInvocation` response message.", +"id": "CancelWorkflowInvocationResponse", +"properties": {}, +"type": "object" +}, +"CodeCompilationConfig": { +"description": "Configures various aspects of Dataform code compilation.", +"id": "CodeCompilationConfig", +"properties": { +"assertionSchema": { +"description": "Optional. The default schema (BigQuery dataset ID) for assertions.", +"type": "string" +}, +"builtinAssertionNamePrefix": { +"description": "Optional. The prefix to prepend to built-in assertion names.", +"type": "string" +}, +"databaseSuffix": { +"description": "Optional. The suffix that should be appended to all database (Google Cloud project ID) names.", +"type": "string" +}, +"defaultDatabase": { +"description": "Optional. The default database (Google Cloud project ID).", +"type": "string" +}, +"defaultLocation": { +"description": "Optional. The default BigQuery location to use. Defaults to \"US\". See the BigQuery docs for a full list of locations: https://cloud.google.com/bigquery/docs/locations.", +"type": "string" +}, +"defaultNotebookRuntimeOptions": { +"$ref": "NotebookRuntimeOptions", +"description": "Optional. The default notebook runtime options." +}, +"defaultSchema": { +"description": "Optional. The default schema (BigQuery dataset ID).", +"type": "string" +}, +"schemaSuffix": { +"description": "Optional. The suffix that should be appended to all schema (BigQuery dataset ID) names.", +"type": "string" +}, +"tablePrefix": { +"description": "Optional. The prefix that should be prepended to all table names.", +"type": "string" +}, +"vars": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. User-defined variables that are made available to project code during compilation.", +"type": "object" +} +}, +"type": "object" +}, +"ColumnDescriptor": { +"description": "Describes a column.", +"id": "ColumnDescriptor", +"properties": { +"bigqueryPolicyTags": { +"description": "A list of BigQuery policy tags that will be applied to the column.", +"items": { +"type": "string" +}, +"type": "array" +}, +"description": { +"description": "A textual description of the column.", +"type": "string" +}, +"path": { +"description": "The identifier for the column. Each entry in `path` represents one level of nesting.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"CommitAuthor": { +"description": "Represents the author of a Git commit.", +"id": "CommitAuthor", +"properties": { +"emailAddress": { +"description": "Required. The commit author's email address.", +"type": "string" +}, +"name": { +"description": "Required. The commit author's name.", +"type": "string" +} +}, +"type": "object" +}, +"CommitLogEntry": { +"description": "Represents a single commit log.", +"id": "CommitLogEntry", +"properties": { +"author": { +"$ref": "CommitAuthor", +"description": "The commit author for this commit log entry." +}, +"commitMessage": { +"description": "The commit message for this commit log entry.", +"type": "string" +}, +"commitSha": { +"description": "The commit SHA for this commit log entry.", +"type": "string" +}, +"commitTime": { +"description": "Commit timestamp.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"CommitMetadata": { +"description": "Represents a Dataform Git commit.", +"id": "CommitMetadata", +"properties": { +"author": { +"$ref": "CommitAuthor", +"description": "Required. The commit's author." +}, +"commitMessage": { +"description": "Optional. The commit's message.", +"type": "string" +} +}, +"type": "object" +}, +"CommitRepositoryChangesRequest": { +"description": "`CommitRepositoryChanges` request message.", +"id": "CommitRepositoryChangesRequest", +"properties": { +"commitMetadata": { +"$ref": "CommitMetadata", +"description": "Required. The changes to commit to the repository." +}, +"fileOperations": { +"additionalProperties": { +"$ref": "FileOperation" +}, +"description": "Optional. A map to the path of the file to the operation. The path is the full file path including filename, from repository root.", +"type": "object" +}, +"requiredHeadCommitSha": { +"description": "Optional. The commit SHA which must be the repository's current HEAD before applying this commit; otherwise this request will fail. If unset, no validation on the current HEAD commit SHA is performed.", +"type": "string" +} +}, +"type": "object" +}, +"CommitRepositoryChangesResponse": { +"description": "`CommitRepositoryChanges` response message.", +"id": "CommitRepositoryChangesResponse", +"properties": { +"commitSha": { +"description": "The commit SHA of the current commit.", +"type": "string" +} +}, +"type": "object" +}, +"CommitWorkspaceChangesRequest": { +"description": "`CommitWorkspaceChanges` request message.", +"id": "CommitWorkspaceChangesRequest", +"properties": { +"author": { +"$ref": "CommitAuthor", +"description": "Required. The commit's author." +}, +"commitMessage": { +"description": "Optional. The commit's message.", +"type": "string" +}, +"paths": { +"description": "Optional. Full file paths to commit including filename, rooted at workspace root. If left empty, all files will be committed.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"CommitWorkspaceChangesResponse": { +"description": "`CommitWorkspaceChanges` response message.", +"id": "CommitWorkspaceChangesResponse", +"properties": {}, +"type": "object" +}, +"CompilationError": { +"description": "An error encountered when attempting to compile a Dataform project.", +"id": "CompilationError", +"properties": { +"actionTarget": { +"$ref": "Target", +"description": "Output only. The identifier of the action where this error occurred, if available.", +"readOnly": true +}, +"message": { +"description": "Output only. The error's top level message.", +"readOnly": true, +"type": "string" +}, +"path": { +"description": "Output only. The path of the file where this error occurred, if available, relative to the project root.", +"readOnly": true, +"type": "string" +}, +"stack": { +"description": "Output only. The error's full stack trace.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"CompilationResult": { +"description": "Represents the result of compiling a Dataform project.", +"id": "CompilationResult", +"properties": { +"codeCompilationConfig": { +"$ref": "CodeCompilationConfig", +"description": "Immutable. If set, fields of `code_compilation_config` override the default compilation settings that are specified in dataform.json." +}, +"compilationErrors": { +"description": "Output only. Errors encountered during project compilation.", +"items": { +"$ref": "CompilationError" +}, +"readOnly": true, +"type": "array" +}, +"createTime": { +"description": "Output only. The timestamp of when the compilation result was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"dataEncryptionState": { +"$ref": "DataEncryptionState", +"description": "Output only. Only set if the repository has a KMS Key.", +"readOnly": true +}, +"dataformCoreVersion": { +"description": "Output only. The version of `@dataform/core` that was used for compilation.", +"readOnly": true, +"type": "string" +}, +"gitCommitish": { +"description": "Immutable. Git commit/tag/branch name at which the repository should be compiled. Must exist in the remote repository. Examples: - a commit SHA: `12ade345` - a tag: `tag1` - a branch name: `branch1`", +"type": "string" +}, +"internalMetadata": { +"description": "Output only. All the metadata information that is used internally to serve the resource. For example: timestamps, flags, status fields, etc. The format of this field is a JSON string.", +"readOnly": true, +"type": "string" +}, +"name": { +"description": "Output only. The compilation result's name.", +"readOnly": true, +"type": "string" +}, +"privateResourceMetadata": { +"$ref": "PrivateResourceMetadata", +"description": "Output only. Metadata indicating whether this resource is user-scoped. `CompilationResult` resource is `user_scoped` only if it is sourced from a workspace.", +"readOnly": true +}, +"releaseConfig": { +"description": "Immutable. The name of the release config to compile. Must be in the format `projects/*/locations/*/repositories/*/releaseConfigs/*`.", +"type": "string" +}, +"resolvedGitCommitSha": { +"description": "Output only. The fully resolved Git commit SHA of the code that was compiled. Not set for compilation results whose source is a workspace.", +"readOnly": true, +"type": "string" +}, +"workspace": { +"description": "Immutable. The name of the workspace to compile. Must be in the format `projects/*/locations/*/repositories/*/workspaces/*`.", +"type": "string" +} +}, +"type": "object" +}, +"CompilationResultAction": { +"description": "Represents a single Dataform action in a compilation result.", +"id": "CompilationResultAction", +"properties": { +"assertion": { +"$ref": "Assertion", +"description": "The assertion executed by this action." +}, +"canonicalTarget": { +"$ref": "Target", +"description": "The action's identifier if the project had been compiled without any overrides configured. Unique within the compilation result." +}, +"dataPreparation": { +"$ref": "DataPreparation", +"description": "The data preparation executed by this action." +}, +"declaration": { +"$ref": "Declaration", +"description": "The declaration declared by this action." +}, +"filePath": { +"description": "The full path including filename in which this action is located, relative to the workspace root.", +"type": "string" +}, +"internalMetadata": { +"description": "Output only. All the metadata information that is used internally to serve the resource. For example: timestamps, flags, status fields, etc. The format of this field is a JSON string.", +"readOnly": true, +"type": "string" +}, +"notebook": { +"$ref": "Notebook", +"description": "The notebook executed by this action." +}, +"operations": { +"$ref": "Operations", +"description": "The database operations executed by this action." +}, +"relation": { +"$ref": "Relation", +"description": "The database relation created/updated by this action." +}, +"target": { +"$ref": "Target", +"description": "This action's identifier. Unique within the compilation result." +} +}, +"type": "object" +}, +"ComputeRepositoryAccessTokenStatusResponse": { +"description": "`ComputeRepositoryAccessTokenStatus` response message.", +"id": "ComputeRepositoryAccessTokenStatusResponse", +"properties": { +"tokenStatus": { +"description": "Indicates the status of the Git access token.", +"enum": [ +"TOKEN_STATUS_UNSPECIFIED", +"NOT_FOUND", +"INVALID", +"VALID" +], +"enumDescriptions": [ +"Default value. This value is unused.", +"The token could not be found in Secret Manager (or the Dataform Service Account did not have permission to access it).", +"The token could not be used to authenticate against the Git remote.", +"The token was used successfully to authenticate against the Git remote." +], +"type": "string" +} +}, +"type": "object" +}, +"Config": { +"description": "Config for all repositories in a given project and location.", +"id": "Config", +"properties": { +"defaultKmsKeyName": { +"description": "Optional. The default KMS key that is used if no encryption key is provided when a repository is created.", +"type": "string" +}, +"internalMetadata": { +"description": "Output only. All the metadata information that is used internally to serve the resource. For example: timestamps, flags, status fields, etc. The format of this field is a JSON string.", +"readOnly": true, +"type": "string" +}, +"name": { +"description": "Identifier. The config name.", +"type": "string" +} +}, +"type": "object" +}, +"DataEncryptionState": { +"description": "Describes encryption state of a resource.", +"id": "DataEncryptionState", +"properties": { +"kmsKeyVersionName": { +"description": "Required. The KMS key version name with which data of a resource is encrypted.", +"type": "string" +} +}, +"type": "object" +}, +"DataPreparation": { +"description": "Defines a compiled Data Preparation entity", +"id": "DataPreparation", +"properties": { +"contentsSql": { +"$ref": "SqlDefinition", +"description": "SQL definition for a Data Preparation. Contains a SQL query and additional context information." +}, +"contentsYaml": { +"description": "The data preparation definition, stored as a YAML string.", +"type": "string" +}, +"dependencyTargets": { +"description": "A list of actions that this action depends on.", +"items": { +"$ref": "Target" +}, +"type": "array" +}, +"disabled": { +"description": "Whether this action is disabled (i.e. should not be run).", +"type": "boolean" +}, +"tags": { +"description": "Arbitrary, user-defined tags on this action.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"DataPreparationAction": { +"description": "Represents a workflow action that will run a Data Preparation.", +"id": "DataPreparationAction", +"properties": { +"contentsSql": { +"$ref": "ActionSqlDefinition", +"description": "SQL definition for a Data Preparation. Contains a SQL query and additional context information." +}, +"contentsYaml": { +"description": "Output only. YAML representing the contents of the data preparation. Can be used to show the customer what the input was to their workflow.", +"readOnly": true, +"type": "string" +}, +"generatedSql": { +"description": "Output only. The generated BigQuery SQL script that will be executed. For reference only.", +"readOnly": true, +"type": "string" +}, +"jobId": { +"description": "Output only. The ID of the BigQuery job that executed the SQL in sql_script. Only set once the job has started to run.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"Declaration": { +"description": "Represents a relation which is not managed by Dataform but which may be referenced by Dataform actions.", +"id": "Declaration", +"properties": { +"relationDescriptor": { +"$ref": "RelationDescriptor", +"description": "Descriptor for the relation and its columns. Used as documentation only, i.e. values here will result in no changes to the relation's metadata." +} +}, +"type": "object" +}, +"DeleteFile": { +"description": "Represents the delete file operation.", +"id": "DeleteFile", +"properties": {}, +"type": "object" +}, +"DirectoryEntry": { +"description": "Represents a single entry in a directory.", +"id": "DirectoryEntry", +"properties": { +"directory": { +"description": "A child directory in the directory.", +"type": "string" +}, +"file": { +"description": "A file in the directory.", +"type": "string" +} +}, +"type": "object" +}, +"DirectorySearchResult": { +"description": "Client-facing representation of a directory entry in search results.", +"id": "DirectorySearchResult", +"properties": { +"path": { +"description": "File system path relative to the workspace root.", +"type": "string" +} +}, +"type": "object" +}, +"Empty": { +"description": "A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }", +"id": "Empty", +"properties": {}, +"type": "object" +}, +"ErrorTable": { +"description": "Error table information, used to write error data into a BigQuery table.", +"id": "ErrorTable", +"properties": { +"retentionDays": { +"description": "Error table partition expiration in days. Only positive values are allowed.", +"format": "int32", +"type": "integer" +}, +"target": { +"$ref": "Target", +"description": "Error Table target." +} +}, +"type": "object" +}, +"Expr": { +"description": "Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: \"Summary size limit\" description: \"Determines if a summary is less than 100 chars\" expression: \"document.summary.size() < 100\" Example (Equality): title: \"Requestor is owner\" description: \"Determines if requestor is the document owner\" expression: \"document.owner == request.auth.claims.email\" Example (Logic): title: \"Public documents\" description: \"Determine whether the document should be publicly visible\" expression: \"document.type != 'private' && document.type != 'internal'\" Example (Data Manipulation): title: \"Notification string\" description: \"Create a notification string with a timestamp.\" expression: \"'New message received at ' + string(document.create_time)\" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information.", +"id": "Expr", +"properties": { +"description": { +"description": "Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI.", +"type": "string" +}, +"expression": { +"description": "Textual representation of an expression in Common Expression Language syntax.", +"type": "string" +}, +"location": { +"description": "Optional. String indicating the location of the expression for error reporting, e.g. a file name and a position in the file.", +"type": "string" +}, +"title": { +"description": "Optional. Title for the expression, i.e. a short string describing its purpose. This can be used e.g. in UIs which allow to enter the expression.", +"type": "string" +} +}, +"type": "object" +}, +"FetchFileDiffResponse": { +"description": "`FetchFileDiff` response message.", +"id": "FetchFileDiffResponse", +"properties": { +"formattedDiff": { +"description": "The raw formatted Git diff for the file.", +"type": "string" +} +}, +"type": "object" +}, +"FetchFileGitStatusesResponse": { +"description": "`FetchFileGitStatuses` response message.", +"id": "FetchFileGitStatusesResponse", +"properties": { +"uncommittedFileChanges": { +"description": "A list of all files which have uncommitted Git changes. There will only be a single entry for any given file.", +"items": { +"$ref": "UncommittedFileChange" +}, +"type": "array" +} +}, +"type": "object" +}, +"FetchGitAheadBehindResponse": { +"description": "`FetchGitAheadBehind` response message.", +"id": "FetchGitAheadBehindResponse", +"properties": { +"commitsAhead": { +"description": "The number of commits in the remote branch that are not in the workspace.", +"format": "int32", +"type": "integer" +}, +"commitsBehind": { +"description": "The number of commits in the workspace that are not in the remote branch.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"FetchRemoteBranchesResponse": { +"description": "`FetchRemoteBranches` response message.", +"id": "FetchRemoteBranchesResponse", +"properties": { +"branches": { +"description": "The remote repository's branch names.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"FetchRepositoryHistoryResponse": { +"description": "`FetchRepositoryHistory` response message.", +"id": "FetchRepositoryHistoryResponse", +"properties": { +"commits": { +"description": "A list of commit logs, ordered by 'git log' default order.", +"items": { +"$ref": "CommitLogEntry" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.", +"type": "string" +} +}, +"type": "object" +}, +"FileOperation": { +"description": "Represents a single file operation to the repository.", +"id": "FileOperation", +"properties": { +"deleteFile": { +"$ref": "DeleteFile", +"description": "Represents the delete operation." +}, +"writeFile": { +"$ref": "WriteFile", +"description": "Represents the write operation." +} +}, +"type": "object" +}, +"FileSearchResult": { +"description": "Client-facing representation of a file entry in search results.", +"id": "FileSearchResult", +"properties": { +"path": { +"description": "File system path relative to the workspace root.", +"type": "string" +} +}, +"type": "object" +}, +"GitRemoteSettings": { +"description": "Controls Git remote configuration for a repository.", +"id": "GitRemoteSettings", +"properties": { +"authenticationTokenSecretVersion": { +"description": "Optional. The name of the Secret Manager secret version to use as an authentication token for Git operations. Must be in the format `projects/*/secrets/*/versions/*`.", +"type": "string" +}, +"defaultBranch": { +"description": "Required. The Git remote's default branch name.", +"type": "string" +}, +"sshAuthenticationConfig": { +"$ref": "SshAuthenticationConfig", +"description": "Optional. Authentication fields for remote uris using SSH protocol." +}, +"tokenStatus": { +"deprecated": true, +"description": "Output only. Deprecated: The field does not contain any token status information.", +"enum": [ +"TOKEN_STATUS_UNSPECIFIED", +"NOT_FOUND", +"INVALID", +"VALID" +], +"enumDescriptions": [ +"Default value. This value is unused.", +"The token could not be found in Secret Manager (or the Dataform Service Account did not have permission to access it).", +"The token could not be used to authenticate against the Git remote.", +"The token was used successfully to authenticate against the Git remote." +], +"readOnly": true, +"type": "string" +}, +"url": { +"description": "Required. The Git remote's URL.", +"type": "string" +} +}, +"type": "object" +}, +"IamPolicyOverrideView": { +"description": "Contains metadata about the IAM policy override for a given Dataform resource. If is_active is true, this the policy encoded in iam_policy_name is the source of truth for this resource. Will be provided in internal ESV2 views for: Workspaces, Repositories, Folders, TeamFolders.", +"id": "IamPolicyOverrideView", +"properties": { +"iamPolicyName": { +"$ref": "PolicyName", +"description": "The IAM policy name for the resource." +}, +"isActive": { +"description": "Whether the IAM policy encoded in this view is active.", +"type": "boolean" +} +}, +"type": "object" +}, +"IncrementalLoadMode": { +"description": "Load definition for incremental load modes", +"id": "IncrementalLoadMode", +"properties": { +"column": { +"description": "Column name for incremental load modes", +"type": "string" +} +}, +"type": "object" +}, +"IncrementalTableConfig": { +"description": "Contains settings for relations of type `INCREMENTAL_TABLE`.", +"id": "IncrementalTableConfig", +"properties": { +"incrementalPostOperations": { +"description": "SQL statements to be executed after inserting new rows into the relation.", +"items": { +"type": "string" +}, +"type": "array" +}, +"incrementalPreOperations": { +"description": "SQL statements to be executed before inserting new rows into the relation.", +"items": { +"type": "string" +}, +"type": "array" +}, +"incrementalSelectQuery": { +"description": "The SELECT query which returns rows which should be inserted into the relation if it already exists and is not being refreshed.", +"type": "string" +}, +"refreshDisabled": { +"description": "Whether this table should be protected from being refreshed.", +"type": "boolean" +}, +"uniqueKeyParts": { +"description": "A set of columns or SQL expressions used to define row uniqueness. If any duplicates are discovered (as defined by `unique_key_parts`), only the newly selected rows (as defined by `incremental_select_query`) will be included in the relation.", +"items": { +"type": "string" +}, +"type": "array" +}, +"updatePartitionFilter": { +"description": "A SQL expression conditional used to limit the set of existing rows considered for a merge operation (see `unique_key_parts` for more information).", +"type": "string" +} +}, +"type": "object" +}, +"InstallNpmPackagesRequest": { +"description": "`InstallNpmPackages` request message.", +"id": "InstallNpmPackagesRequest", +"properties": {}, +"type": "object" +}, +"InstallNpmPackagesResponse": { +"description": "`InstallNpmPackages` response message.", +"id": "InstallNpmPackagesResponse", +"properties": {}, +"type": "object" +}, +"Interval": { +"description": "Represents a time interval, encoded as a Timestamp start (inclusive) and a Timestamp end (exclusive). The start must be less than or equal to the end. When the start equals the end, the interval is empty (matches no time). When both start and end are unspecified, the interval matches any time.", +"id": "Interval", +"properties": { +"endTime": { +"description": "Optional. Exclusive end of the interval. If specified, a Timestamp matching this interval will have to be before the end.", +"format": "google-datetime", +"type": "string" +}, +"startTime": { +"description": "Optional. Inclusive start of the interval. If specified, a Timestamp matching this interval will have to be the same or after the start.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"InvocationConfig": { +"description": "Includes various configuration options for a workflow invocation. If both `included_targets` and `included_tags` are unset, all actions will be included.", +"id": "InvocationConfig", +"properties": { +"fullyRefreshIncrementalTablesEnabled": { +"description": "Optional. When set to true, any incremental tables will be fully refreshed.", +"type": "boolean" +}, +"includedTags": { +"description": "Optional. The set of tags to include.", +"items": { +"type": "string" +}, +"type": "array" +}, +"includedTargets": { +"description": "Optional. The set of action identifiers to include.", +"items": { +"$ref": "Target" +}, +"type": "array" +}, +"queryPriority": { +"description": "Optional. Specifies the priority for query execution in BigQuery. More information can be found at https://cloud.google.com/bigquery/docs/running-queries#queries.", +"enum": [ +"QUERY_PRIORITY_UNSPECIFIED", +"INTERACTIVE", +"BATCH" +], +"enumDescriptions": [ +"Default value. This value is unused.", +"Query will be executed in BigQuery with interactive priority. More information can be found at https://cloud.google.com/bigquery/docs/running-queries#queries.", +"Query will be executed in BigQuery with batch priority. More information can be found at https://cloud.google.com/bigquery/docs/running-queries#batchqueries." +], +"type": "string" +}, +"serviceAccount": { +"description": "Optional. The service account to run workflow invocations under.", +"type": "string" +}, +"transitiveDependenciesIncluded": { +"description": "Optional. When set to true, transitive dependencies of included actions will be executed.", +"type": "boolean" +}, +"transitiveDependentsIncluded": { +"description": "Optional. When set to true, transitive dependents of included actions will be executed.", +"type": "boolean" +} +}, +"type": "object" +}, +"ListCompilationResultsResponse": { +"description": "`ListCompilationResults` response message.", +"id": "ListCompilationResultsResponse", +"properties": { +"compilationResults": { +"description": "List of compilation results.", +"items": { +"$ref": "CompilationResult" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.", +"type": "string" +}, +"unreachable": { +"description": "Locations which could not be reached.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListLocationsResponse": { +"description": "The response message for Locations.ListLocations.", +"id": "ListLocationsResponse", +"properties": { +"locations": { +"description": "A list of locations that matches the specified filter in the request.", +"items": { +"$ref": "Location" +}, +"type": "array" +}, +"nextPageToken": { +"description": "The standard List next-page token.", +"type": "string" +} +}, +"type": "object" +}, +"ListOperationsResponse": { +"description": "The response message for Operations.ListOperations.", +"id": "ListOperationsResponse", +"properties": { +"nextPageToken": { +"description": "The standard List next-page token.", +"type": "string" +}, +"operations": { +"description": "A list of operations that matches the specified filter in the request.", +"items": { +"$ref": "Operation" +}, +"type": "array" +}, +"unreachable": { +"description": "Unordered list. Unreachable resources. Populated when the request sets `ListOperationsRequest.return_partial_success` and reads across collections. For example, when attempting to list all resources across all supported locations.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListReleaseConfigsResponse": { +"description": "`ListReleaseConfigs` response message.", +"id": "ListReleaseConfigsResponse", +"properties": { +"nextPageToken": { +"description": "A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.", +"type": "string" +}, +"releaseConfigs": { +"description": "List of release configs.", +"items": { +"$ref": "ReleaseConfig" +}, +"type": "array" +}, +"unreachable": { +"description": "Locations which could not be reached.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListRepositoriesResponse": { +"description": "`ListRepositories` response message.", +"id": "ListRepositoriesResponse", +"properties": { +"nextPageToken": { +"description": "A token which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.", +"type": "string" +}, +"repositories": { +"description": "List of repositories.", +"items": { +"$ref": "Repository" +}, +"type": "array" +}, +"unreachable": { +"description": "Locations which could not be reached.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListWorkflowConfigsResponse": { +"description": "`ListWorkflowConfigs` response message.", +"id": "ListWorkflowConfigsResponse", +"properties": { +"nextPageToken": { +"description": "A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.", +"type": "string" +}, +"unreachable": { +"description": "Locations which could not be reached.", +"items": { +"type": "string" +}, +"type": "array" +}, +"workflowConfigs": { +"description": "List of workflow configs.", +"items": { +"$ref": "WorkflowConfig" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListWorkflowInvocationsResponse": { +"description": "`ListWorkflowInvocations` response message.", +"id": "ListWorkflowInvocationsResponse", +"properties": { +"nextPageToken": { +"description": "A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.", +"type": "string" +}, +"unreachable": { +"description": "Locations which could not be reached.", +"items": { +"type": "string" +}, +"type": "array" +}, +"workflowInvocations": { +"description": "List of workflow invocations.", +"items": { +"$ref": "WorkflowInvocation" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListWorkspacesResponse": { +"description": "`ListWorkspaces` response message.", +"id": "ListWorkspacesResponse", +"properties": { +"nextPageToken": { +"description": "A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.", +"type": "string" +}, +"unreachable": { +"description": "Locations which could not be reached.", +"items": { +"type": "string" +}, +"type": "array" +}, +"workspaces": { +"description": "List of workspaces.", +"items": { +"$ref": "Workspace" +}, +"type": "array" +} +}, +"type": "object" +}, +"LoadConfig": { +"description": "Simplified load configuration for actions", +"id": "LoadConfig", +"properties": { +"append": { +"$ref": "SimpleLoadMode", +"description": "Append into destination table" +}, +"maximum": { +"$ref": "IncrementalLoadMode", +"description": "Insert records where the value exceeds the previous maximum value for a column in the destination table" +}, +"replace": { +"$ref": "SimpleLoadMode", +"description": "Replace destination table" +}, +"unique": { +"$ref": "IncrementalLoadMode", +"description": "Insert records where the value of a column is not already present in the destination table" +} +}, +"type": "object" +}, +"Location": { +"description": "A resource that represents a Google Cloud location.", +"id": "Location", +"properties": { +"displayName": { +"description": "The friendly name for this location, typically a nearby city name. For example, \"Tokyo\".", +"type": "string" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Cross-service attributes for the location. For example {\"cloud.googleapis.com/region\": \"us-east1\"}", +"type": "object" +}, +"locationId": { +"description": "The canonical id for this location. For example: `\"us-east1\"`.", +"type": "string" +}, +"metadata": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "Service-specific metadata. For example the available capacity at the given location.", +"type": "object" +}, +"name": { +"description": "Resource name for the location, which may vary between implementations. For example: `\"projects/example-project/locations/us-east1\"`", +"type": "string" +} +}, +"type": "object" +}, +"MakeDirectoryRequest": { +"description": "`MakeDirectory` request message.", +"id": "MakeDirectoryRequest", +"properties": { +"path": { +"description": "Required. The directory's full path including directory name, relative to the workspace root.", +"type": "string" +} +}, +"type": "object" +}, +"MakeDirectoryResponse": { +"description": "`MakeDirectory` response message.", +"id": "MakeDirectoryResponse", +"properties": {}, +"type": "object" +}, +"MoveDirectoryRequest": { +"description": "`MoveDirectory` request message.", +"id": "MoveDirectoryRequest", +"properties": { +"newPath": { +"description": "Required. The new path for the directory including directory name, rooted at workspace root.", +"type": "string" +}, +"path": { +"description": "Required. The directory's full path including directory name, relative to the workspace root.", +"type": "string" +} +}, +"type": "object" +}, +"MoveDirectoryResponse": { +"description": "`MoveDirectory` response message.", +"id": "MoveDirectoryResponse", +"properties": {}, +"type": "object" +}, +"MoveFileRequest": { +"description": "`MoveFile` request message.", +"id": "MoveFileRequest", +"properties": { +"newPath": { +"description": "Required. The file's new path including filename, relative to the workspace root.", +"type": "string" +}, +"path": { +"description": "Required. The file's full path including filename, relative to the workspace root.", +"type": "string" +} +}, +"type": "object" +}, +"MoveFileResponse": { +"description": "`MoveFile` response message.", +"id": "MoveFileResponse", +"properties": {}, +"type": "object" +}, +"Notebook": { +"description": "Represents a notebook.", +"id": "Notebook", +"properties": { +"contents": { +"description": "The contents of the notebook.", +"type": "string" +}, +"dependencyTargets": { +"description": "A list of actions that this action depends on.", +"items": { +"$ref": "Target" +}, +"type": "array" +}, +"disabled": { +"description": "Whether this action is disabled (i.e. should not be run).", +"type": "boolean" +}, +"tags": { +"description": "Arbitrary, user-defined tags on this action.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"NotebookAction": { +"description": "Represents a workflow action that will run against a Notebook runtime.", +"id": "NotebookAction", +"properties": { +"contents": { +"description": "Output only. The code contents of a Notebook to be run.", +"readOnly": true, +"type": "string" +}, +"jobId": { +"description": "Output only. The ID of the Vertex job that executed the notebook in contents and also the ID used for the outputs created in Google Cloud Storage buckets. Only set once the job has started to run.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"NotebookRuntimeOptions": { +"description": "Configures various aspects of Dataform notebook runtime.", +"id": "NotebookRuntimeOptions", +"properties": { +"aiPlatformNotebookRuntimeTemplate": { +"description": "Optional. The resource name of the [Colab runtime template] (https://cloud.google.com/colab/docs/runtimes), from which a runtime is created for notebook executions. If not specified, a runtime is created with Colab's default specifications.", +"type": "string" +}, +"gcsOutputBucket": { +"description": "Optional. The Google Cloud Storage location to upload the result to. Format: `gs://bucket-name`.", +"type": "string" +} +}, +"type": "object" +}, +"Operation": { +"description": "This resource represents a long-running operation that is the result of a network API call.", +"id": "Operation", +"properties": { +"done": { +"description": "If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.", +"type": "boolean" +}, +"error": { +"$ref": "Status", +"description": "The error result of the operation in case of failure or cancellation." +}, +"metadata": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.", +"type": "object" +}, +"name": { +"description": "The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.", +"type": "string" +}, +"response": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "The normal, successful response of the operation. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.", +"type": "object" +} +}, +"type": "object" +}, +"OperationMetadata": { +"description": "Represents the metadata of the long-running operation.", +"id": "OperationMetadata", +"properties": { +"apiVersion": { +"description": "Output only. API version used to start the operation.", +"readOnly": true, +"type": "string" +}, +"cancelRequested": { +"description": "Output only. Identifies whether the user has requested cancellation of the operation. Operations that have been cancelled successfully have google.longrunning.Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.", +"readOnly": true, +"type": "boolean" +}, +"createTime": { +"description": "Output only. The time the operation was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"endTime": { +"description": "Output only. The time the operation finished running.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"statusDetail": { +"description": "Output only. Human-readable status of the operation, if any.", +"readOnly": true, +"type": "string" +}, +"target": { +"description": "Output only. Server-defined resource path for the target of the operation.", +"readOnly": true, +"type": "string" +}, +"verb": { +"description": "Output only. Name of the verb executed by the operation.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"Operations": { +"description": "Represents a list of arbitrary database operations.", +"id": "Operations", +"properties": { +"dependencyTargets": { +"description": "A list of actions that this action depends on.", +"items": { +"$ref": "Target" +}, +"type": "array" +}, +"disabled": { +"description": "Whether this action is disabled (i.e. should not be run).", +"type": "boolean" +}, +"hasOutput": { +"description": "Whether these operations produce an output relation.", +"type": "boolean" +}, +"queries": { +"description": "A list of arbitrary SQL statements that will be executed without alteration.", +"items": { +"type": "string" +}, +"type": "array" +}, +"relationDescriptor": { +"$ref": "RelationDescriptor", +"description": "Descriptor for any output relation and its columns. Only set if `has_output` is true." +}, +"tags": { +"description": "Arbitrary, user-defined tags on this action.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"Policy": { +"description": "An Identity and Access Management (IAM) policy, which specifies access controls for Google Cloud resources. A `Policy` is a collection of `bindings`. A `binding` binds one or more `members`, or principals, to a single `role`. Principals can be user accounts, service accounts, Google groups, and domains (such as G Suite). A `role` is a named list of permissions; each `role` can be an IAM predefined role or a user-created custom role. For some types of Google Cloud resources, a `binding` can also specify a `condition`, which is a logical expression that allows access to a resource only if the expression evaluates to `true`. A condition can add constraints based on attributes of the request, the resource, or both. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). **JSON example:** ``` { \"bindings\": [ { \"role\": \"roles/resourcemanager.organizationAdmin\", \"members\": [ \"user:mike@example.com\", \"group:admins@example.com\", \"domain:google.com\", \"serviceAccount:my-project-id@appspot.gserviceaccount.com\" ] }, { \"role\": \"roles/resourcemanager.organizationViewer\", \"members\": [ \"user:eve@example.com\" ], \"condition\": { \"title\": \"expirable access\", \"description\": \"Does not grant access after Sep 2020\", \"expression\": \"request.time < timestamp('2020-10-01T00:00:00.000Z')\", } } ], \"etag\": \"BwWWja0YfJA=\", \"version\": 3 } ``` **YAML example:** ``` bindings: - members: - user:mike@example.com - group:admins@example.com - domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.com role: roles/resourcemanager.organizationViewer condition: title: expirable access description: Does not grant access after Sep 2020 expression: request.time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 ``` For a description of IAM and its features, see the [IAM documentation](https://cloud.google.com/iam/docs/).", +"id": "Policy", +"properties": { +"bindings": { +"description": "Associates a list of `members`, or principals, with a `role`. Optionally, may specify a `condition` that determines how and when the `bindings` are applied. Each of the `bindings` must contain at least one principal. The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250 of these principals can be Google groups. Each occurrence of a principal counts towards these limits. For example, if the `bindings` grant 50 different roles to `user:alice@example.com`, and not to any other principal, then you can add another 1,450 principals to the `bindings` in the `Policy`.", +"items": { +"$ref": "Binding" +}, +"type": "array" +}, +"etag": { +"description": "`etag` is used for optimistic concurrency control as a way to help prevent simultaneous updates of a policy from overwriting each other. It is strongly suggested that systems make use of the `etag` in the read-modify-write cycle to perform policy updates in order to avoid race conditions: An `etag` is returned in the response to `getIamPolicy`, and systems are expected to put that etag in the request to `setIamPolicy` to ensure that their change will be applied to the same version of the policy. **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost.", +"format": "byte", +"type": "string" +}, +"version": { +"description": "Specifies the format of the policy. Valid values are `0`, `1`, and `3`. Requests that specify an invalid value are rejected. Any operation that affects conditional role bindings must specify version `3`. This requirement applies to the following operations: * Getting a policy that includes a conditional role binding * Adding a conditional role binding to a policy * Changing a conditional role binding in a policy * Removing any role binding, with or without a condition, from a policy that includes conditions **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost. If a policy does not include any conditions, operations on that policy may specify any valid version or leave the field unset. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"PolicyName": { +"description": "An internal name for an IAM policy, based on the resource to which the policy applies. Not to be confused with a resource's external full resource name. For more information on this distinction, see go/iam-full-resource-names.", +"id": "PolicyName", +"properties": { +"id": { +"description": "Identifies an instance of the type. ID format varies by type. The ID format is defined in the IAM .service file that defines the type, either in path_mapping or in a comment.", +"type": "string" +}, +"region": { +"description": "For Cloud IAM: The location of the Policy. Must be empty or \"global\" for Policies owned by global IAM. Must name a region from prodspec/cloud-iam-cloudspec for Regional IAM Policies, see go/iam-faq#where-is-iam-currently-deployed. For Local IAM: This field should be set to \"local\".", +"type": "string" +}, +"type": { +"description": "Resource type. Types are defined in IAM's .service files. Valid values for type might be 'storage_buckets', 'compute_instances', 'resourcemanager_customers', 'billing_accounts', etc.", +"type": "string" +} +}, +"type": "object" +}, +"PrivateResourceMetadata": { +"description": "Metadata used to identify if a resource is user scoped.", +"id": "PrivateResourceMetadata", +"properties": { +"userScoped": { +"description": "Output only. If true, this resource is user-scoped, meaning it is either a workspace or sourced from a workspace.", +"readOnly": true, +"type": "boolean" +} +}, +"type": "object" +}, +"PullGitCommitsRequest": { +"description": "`PullGitCommits` request message.", +"id": "PullGitCommitsRequest", +"properties": { +"author": { +"$ref": "CommitAuthor", +"description": "Required. The author of any merge commit which may be created as a result of merging fetched Git commits into this workspace." +}, +"remoteBranch": { +"description": "Optional. The name of the branch in the Git remote from which to pull commits. If left unset, the repository's default branch name will be used.", +"type": "string" +} +}, +"type": "object" +}, +"PullGitCommitsResponse": { +"description": "`PullGitCommits` response message.", +"id": "PullGitCommitsResponse", +"properties": {}, +"type": "object" +}, +"PushGitCommitsRequest": { +"description": "`PushGitCommits` request message.", +"id": "PushGitCommitsRequest", +"properties": { +"remoteBranch": { +"description": "Optional. The name of the branch in the Git remote to which commits should be pushed. If left unset, the repository's default branch name will be used.", +"type": "string" +} +}, +"type": "object" +}, +"PushGitCommitsResponse": { +"description": "`PushGitCommits` response message.", +"id": "PushGitCommitsResponse", +"properties": {}, +"type": "object" +}, +"QueryCompilationResultActionsResponse": { +"description": "`QueryCompilationResultActions` response message.", +"id": "QueryCompilationResultActionsResponse", +"properties": { +"compilationResultActions": { +"description": "List of compilation result actions.", +"items": { +"$ref": "CompilationResultAction" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.", +"type": "string" +} +}, +"type": "object" +}, +"QueryDirectoryContentsResponse": { +"description": "`QueryDirectoryContents` response message.", +"id": "QueryDirectoryContentsResponse", +"properties": { +"directoryEntries": { +"description": "List of entries in the directory.", +"items": { +"$ref": "DirectoryEntry" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.", +"type": "string" +} +}, +"type": "object" +}, +"QueryRepositoryDirectoryContentsResponse": { +"description": "`QueryRepositoryDirectoryContents` response message.", +"id": "QueryRepositoryDirectoryContentsResponse", +"properties": { +"directoryEntries": { +"description": "List of entries in the directory.", +"items": { +"$ref": "DirectoryEntry" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.", +"type": "string" +} +}, +"type": "object" +}, +"QueryWorkflowInvocationActionsResponse": { +"description": "`QueryWorkflowInvocationActions` response message.", +"id": "QueryWorkflowInvocationActionsResponse", +"properties": { +"nextPageToken": { +"description": "A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.", +"type": "string" +}, +"workflowInvocationActions": { +"description": "List of workflow invocation actions.", +"items": { +"$ref": "WorkflowInvocationAction" +}, +"type": "array" +} +}, +"type": "object" +}, +"ReadFileResponse": { +"description": "`ReadFile` response message.", +"id": "ReadFileResponse", +"properties": { +"fileContents": { +"description": "The file's contents.", +"format": "byte", +"type": "string" +} +}, +"type": "object" +}, +"ReadRepositoryFileResponse": { +"description": "`ReadRepositoryFile` response message.", +"id": "ReadRepositoryFileResponse", +"properties": { +"contents": { +"description": "The file's contents.", +"format": "byte", +"type": "string" +} +}, +"type": "object" +}, +"Relation": { +"description": "Represents a database relation.", +"id": "Relation", +"properties": { +"additionalOptions": { +"additionalProperties": { +"type": "string" +}, +"description": "Additional options that will be provided as key/value pairs into the options clause of a create table/view statement. See https://cloud.google.com/bigquery/docs/reference/standard-sql/data-definition-language for more information on which options are supported.", +"type": "object" +}, +"clusterExpressions": { +"description": "A list of columns or SQL expressions used to cluster the table.", +"items": { +"type": "string" +}, +"type": "array" +}, +"connection": { +"description": "Optional. The connection specifying the credentials to be used to read and write to external storage, such as Cloud Storage. The connection can have the form `{project}.{location}.{connection_id}` or `projects/{project}/locations/{location}/connections/{connection_id}`, or be set to DEFAULT.", +"type": "string" +}, +"dependencyTargets": { +"description": "A list of actions that this action depends on.", +"items": { +"$ref": "Target" +}, +"type": "array" +}, +"disabled": { +"description": "Whether this action is disabled (i.e. should not be run).", +"type": "boolean" +}, +"fileFormat": { +"description": "Optional. The file format for the BigQuery table.", +"enum": [ +"FILE_FORMAT_UNSPECIFIED", +"PARQUET" +], +"enumDescriptions": [ +"Default value.", +"Apache Parquet format." +], +"type": "string" +}, +"incrementalTableConfig": { +"$ref": "IncrementalTableConfig", +"description": "Configures `INCREMENTAL_TABLE` settings for this relation. Only set if `relation_type` is `INCREMENTAL_TABLE`." +}, +"partitionExpirationDays": { +"description": "Sets the partition expiration in days.", +"format": "int32", +"type": "integer" +}, +"partitionExpression": { +"description": "The SQL expression used to partition the relation.", +"type": "string" +}, +"postOperations": { +"description": "SQL statements to be executed after creating the relation.", +"items": { +"type": "string" +}, +"type": "array" +}, +"preOperations": { +"description": "SQL statements to be executed before creating the relation.", +"items": { +"type": "string" +}, +"type": "array" +}, +"relationDescriptor": { +"$ref": "RelationDescriptor", +"description": "Descriptor for the relation and its columns." +}, +"relationType": { +"description": "The type of this relation.", +"enum": [ +"RELATION_TYPE_UNSPECIFIED", +"TABLE", +"VIEW", +"INCREMENTAL_TABLE", +"MATERIALIZED_VIEW" +], +"enumDescriptions": [ +"Default value. This value is unused.", +"The relation is a table.", +"The relation is a view.", +"The relation is an incrementalized table.", +"The relation is a materialized view." +], +"type": "string" +}, +"requirePartitionFilter": { +"description": "Specifies whether queries on this table must include a predicate filter that filters on the partitioning column.", +"type": "boolean" +}, +"selectQuery": { +"description": "The SELECT query which returns rows which this relation should contain.", +"type": "string" +}, +"storageUri": { +"description": "Optional. The fully qualified location prefix of the external folder where table data is stored. The URI should be in the format `gs://bucket/path_to_table/`.", +"type": "string" +}, +"tableFormat": { +"description": "Optional. The table format for the BigQuery table.", +"enum": [ +"TABLE_FORMAT_UNSPECIFIED", +"ICEBERG" +], +"enumDescriptions": [ +"Default value.", +"Apache Iceberg format." +], +"type": "string" +}, +"tags": { +"description": "Arbitrary, user-defined tags on this action.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"RelationDescriptor": { +"description": "Describes a relation and its columns.", +"id": "RelationDescriptor", +"properties": { +"bigqueryLabels": { +"additionalProperties": { +"type": "string" +}, +"description": "A set of BigQuery labels that should be applied to the relation.", +"type": "object" +}, +"columns": { +"description": "A list of descriptions of columns within the relation.", +"items": { +"$ref": "ColumnDescriptor" +}, +"type": "array" +}, +"description": { +"description": "A text description of the relation.", +"type": "string" +} +}, +"type": "object" +}, +"ReleaseConfig": { +"description": "Represents a Dataform release configuration.", +"id": "ReleaseConfig", +"properties": { +"codeCompilationConfig": { +"$ref": "CodeCompilationConfig", +"description": "Optional. If set, fields of `code_compilation_config` override the default compilation settings that are specified in dataform.json." +}, +"cronSchedule": { +"description": "Optional. Optional schedule (in cron format) for automatic creation of compilation results.", +"type": "string" +}, +"disabled": { +"description": "Optional. Disables automatic creation of compilation results.", +"type": "boolean" +}, +"gitCommitish": { +"description": "Required. Git commit/tag/branch name at which the repository should be compiled. Must exist in the remote repository. Examples: - a commit SHA: `12ade345` - a tag: `tag1` - a branch name: `branch1`", +"type": "string" +}, +"internalMetadata": { +"description": "Output only. All the metadata information that is used internally to serve the resource. For example: timestamps, flags, status fields, etc. The format of this field is a JSON string.", +"readOnly": true, +"type": "string" +}, +"name": { +"description": "Identifier. The release config's name.", +"type": "string" +}, +"recentScheduledReleaseRecords": { +"description": "Output only. Records of the 10 most recent scheduled release attempts, ordered in descending order of `release_time`. Updated whenever automatic creation of a compilation result is triggered by cron_schedule.", +"items": { +"$ref": "ScheduledReleaseRecord" +}, +"readOnly": true, +"type": "array" +}, +"releaseCompilationResult": { +"description": "Optional. The name of the currently released compilation result for this release config. This value is updated when a compilation result is automatically created from this release config (using cron_schedule), or when this resource is updated by API call (perhaps to roll back to an earlier release). The compilation result must have been created using this release config. Must be in the format `projects/*/locations/*/repositories/*/compilationResults/*`.", +"type": "string" +}, +"timeZone": { +"description": "Optional. Specifies the time zone to be used when interpreting cron_schedule. Must be a time zone name from the time zone database (https://en.wikipedia.org/wiki/List_of_tz_database_time_zones). If left unspecified, the default is UTC.", +"type": "string" +} +}, +"type": "object" +}, +"RemoveDirectoryRequest": { +"description": "`RemoveDirectory` request message.", +"id": "RemoveDirectoryRequest", +"properties": { +"path": { +"description": "Required. The directory's full path including directory name, relative to the workspace root.", +"type": "string" +} +}, +"type": "object" +}, +"RemoveDirectoryResponse": { +"description": "`RemoveDirectory` response message.", +"id": "RemoveDirectoryResponse", +"properties": {}, +"type": "object" +}, +"RemoveFileRequest": { +"description": "`RemoveFile` request message.", +"id": "RemoveFileRequest", +"properties": { +"path": { +"description": "Required. The file's full path including filename, relative to the workspace root.", +"type": "string" +} +}, +"type": "object" +}, +"RemoveFileResponse": { +"description": "`RemoveFile` response message.", +"id": "RemoveFileResponse", +"properties": {}, +"type": "object" +}, +"Repository": { +"description": "Represents a Dataform Git repository.", +"id": "Repository", +"properties": { +"createTime": { +"description": "Output only. The timestamp of when the repository was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"dataEncryptionState": { +"$ref": "DataEncryptionState", +"description": "Output only. A data encryption state of a Git repository if this Repository is protected by a KMS key.", +"readOnly": true +}, +"displayName": { +"description": "Optional. The repository's user-friendly name.", +"type": "string" +}, +"gitRemoteSettings": { +"$ref": "GitRemoteSettings", +"description": "Optional. If set, configures this repository to be linked to a Git remote." +}, +"internalMetadata": { +"description": "Output only. All the metadata information that is used internally to serve the resource. For example: timestamps, flags, status fields, etc. The format of this field is a JSON string.", +"readOnly": true, +"type": "string" +}, +"kmsKeyName": { +"description": "Optional. The reference to a KMS encryption key. If provided, it will be used to encrypt user data in the repository and all child resources. It is not possible to add or update the encryption key after the repository is created. Example: `projects/{kms_project}/locations/{location}/keyRings/{key_location}/cryptoKeys/{key}`", +"type": "string" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. Repository user labels.", +"type": "object" +}, +"name": { +"description": "Identifier. The repository's name.", +"type": "string" +}, +"npmrcEnvironmentVariablesSecretVersion": { +"description": "Optional. The name of the Secret Manager secret version to be used to interpolate variables into the .npmrc file for package installation operations. Must be in the format `projects/*/secrets/*/versions/*`. The file itself must be in a JSON format.", +"type": "string" +}, +"serviceAccount": { +"description": "Optional. The service account to run workflow invocations under.", +"type": "string" +}, +"setAuthenticatedUserAdmin": { +"description": "Optional. Input only. If set to true, the authenticated user will be granted the roles/dataform.admin role on the created repository.", +"type": "boolean" +}, +"workspaceCompilationOverrides": { +"$ref": "WorkspaceCompilationOverrides", +"description": "Optional. If set, fields of `workspace_compilation_overrides` override the default compilation settings that are specified in dataform.json when creating workspace-scoped compilation results. See documentation for `WorkspaceCompilationOverrides` for more information." +} +}, +"type": "object" +}, +"ResetWorkspaceChangesRequest": { +"description": "`ResetWorkspaceChanges` request message.", +"id": "ResetWorkspaceChangesRequest", +"properties": { +"clean": { +"description": "Optional. If set to true, untracked files will be deleted.", +"type": "boolean" +}, +"paths": { +"description": "Optional. Full file paths to reset back to their committed state including filename, rooted at workspace root. If left empty, all files will be reset.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ResetWorkspaceChangesResponse": { +"description": "`ResetWorkspaceChanges` response message.", +"id": "ResetWorkspaceChangesResponse", +"properties": {}, +"type": "object" +}, +"ScheduledExecutionRecord": { +"description": "A record of an attempt to create a workflow invocation for this workflow config.", +"id": "ScheduledExecutionRecord", +"properties": { +"errorStatus": { +"$ref": "Status", +"description": "The error status encountered upon this attempt to create the workflow invocation, if the attempt was unsuccessful." +}, +"executionTime": { +"description": "Output only. The timestamp of this execution attempt.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"workflowInvocation": { +"description": "The name of the created workflow invocation, if one was successfully created. Must be in the format `projects/*/locations/*/repositories/*/workflowInvocations/*`.", +"type": "string" +} +}, +"type": "object" +}, +"ScheduledReleaseRecord": { +"description": "A record of an attempt to create a compilation result for this release config.", +"id": "ScheduledReleaseRecord", +"properties": { +"compilationResult": { +"description": "The name of the created compilation result, if one was successfully created. Must be in the format `projects/*/locations/*/repositories/*/compilationResults/*`.", +"type": "string" +}, +"errorStatus": { +"$ref": "Status", +"description": "The error status encountered upon this attempt to create the compilation result, if the attempt was unsuccessful." +}, +"releaseTime": { +"description": "Output only. The timestamp of this release attempt.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"SearchFilesResponse": { +"description": "Client-facing representation of a file search response.", +"id": "SearchFilesResponse", +"properties": { +"nextPageToken": { +"description": "Optional. A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.", +"type": "string" +}, +"searchResults": { +"description": "List of matched results.", +"items": { +"$ref": "SearchResult" +}, +"type": "array" +} +}, +"type": "object" +}, +"SearchResult": { +"description": "Client-facing representation of a search result entry.", +"id": "SearchResult", +"properties": { +"directory": { +"$ref": "DirectorySearchResult", +"description": "Details when search result is a directory." +}, +"file": { +"$ref": "FileSearchResult", +"description": "Details when search result is a file." +} +}, +"type": "object" +}, +"SetIamPolicyRequest": { +"description": "Request message for `SetIamPolicy` method.", +"id": "SetIamPolicyRequest", +"properties": { +"policy": { +"$ref": "Policy", +"description": "REQUIRED: The complete policy to be applied to the `resource`. The size of the policy is limited to a few 10s of KB. An empty policy is a valid policy but certain Google Cloud services (such as Projects) might reject them." +} +}, +"type": "object" +}, +"SimpleLoadMode": { +"description": "Simple load definition", +"id": "SimpleLoadMode", +"properties": {}, +"type": "object" +}, +"SqlDefinition": { +"description": "Definition of a SQL Data Preparation", +"id": "SqlDefinition", +"properties": { +"errorTable": { +"$ref": "ErrorTable", +"description": "Error table configuration," +}, +"load": { +"$ref": "LoadConfig", +"description": "Load configuration." +}, +"query": { +"description": "The SQL query representing the data preparation steps. Formatted as a Pipe SQL query statement.", +"type": "string" +} +}, +"type": "object" +}, +"SshAuthenticationConfig": { +"description": "Configures fields for performing SSH authentication.", +"id": "SshAuthenticationConfig", +"properties": { +"hostPublicKey": { +"description": "Required. Content of a public SSH key to verify an identity of a remote Git host.", +"type": "string" +}, +"userPrivateKeySecretVersion": { +"description": "Required. The name of the Secret Manager secret version to use as a ssh private key for Git operations. Must be in the format `projects/*/secrets/*/versions/*`.", +"type": "string" +} +}, +"type": "object" +}, +"Status": { +"description": "The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors).", +"id": "Status", +"properties": { +"code": { +"description": "The status code, which should be an enum value of google.rpc.Code.", +"format": "int32", +"type": "integer" +}, +"details": { +"description": "A list of messages that carry the error details. There is a common set of message types for APIs to use.", +"items": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.", +"type": "string" +} +}, +"type": "object" +}, +"Target": { +"description": "Represents an action identifier. If the action writes output, the output will be written to the referenced database object.", +"id": "Target", +"properties": { +"database": { +"description": "Optional. The action's database (Google Cloud project ID) .", +"type": "string" +}, +"name": { +"description": "Optional. The action's name, within `database` and `schema`.", +"type": "string" +}, +"schema": { +"description": "Optional. The action's schema (BigQuery dataset ID), within `database`.", +"type": "string" +} +}, +"type": "object" +}, +"TestIamPermissionsRequest": { +"description": "Request message for `TestIamPermissions` method.", +"id": "TestIamPermissionsRequest", +"properties": { +"permissions": { +"description": "The set of permissions to check for the `resource`. Permissions with wildcards (such as `*` or `storage.*`) are not allowed. For more information see [IAM Overview](https://cloud.google.com/iam/docs/overview#permissions).", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"TestIamPermissionsResponse": { +"description": "Response message for `TestIamPermissions` method.", +"id": "TestIamPermissionsResponse", +"properties": { +"permissions": { +"description": "A subset of `TestPermissionsRequest.permissions` that the caller is allowed.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"UncommittedFileChange": { +"description": "Represents the Git state of a file with uncommitted changes.", +"id": "UncommittedFileChange", +"properties": { +"path": { +"description": "The file's full path including filename, relative to the workspace root.", +"type": "string" +}, +"state": { +"description": "Output only. Indicates the status of the file.", +"enum": [ +"STATE_UNSPECIFIED", +"ADDED", +"DELETED", +"MODIFIED", +"HAS_CONFLICTS" +], +"enumDescriptions": [ +"Default value. This value is unused.", +"The file has been newly added.", +"The file has been deleted.", +"The file has been modified.", +"The file contains merge conflicts." +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"WorkflowConfig": { +"description": "Represents a Dataform workflow configuration.", +"id": "WorkflowConfig", +"properties": { +"createTime": { +"description": "Output only. The timestamp of when the WorkflowConfig was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"cronSchedule": { +"description": "Optional. Optional schedule (in cron format) for automatic execution of this workflow config.", +"type": "string" +}, +"disabled": { +"description": "Optional. Disables automatic creation of workflow invocations.", +"type": "boolean" +}, +"internalMetadata": { +"description": "Output only. All the metadata information that is used internally to serve the resource. For example: timestamps, flags, status fields, etc. The format of this field is a JSON string.", +"readOnly": true, +"type": "string" +}, +"invocationConfig": { +"$ref": "InvocationConfig", +"description": "Optional. If left unset, a default InvocationConfig will be used." +}, +"name": { +"description": "Identifier. The workflow config's name.", +"type": "string" +}, +"recentScheduledExecutionRecords": { +"description": "Output only. Records of the 10 most recent scheduled execution attempts, ordered in descending order of `execution_time`. Updated whenever automatic creation of a workflow invocation is triggered by cron_schedule.", +"items": { +"$ref": "ScheduledExecutionRecord" +}, +"readOnly": true, +"type": "array" +}, +"releaseConfig": { +"description": "Required. The name of the release config whose release_compilation_result should be executed. Must be in the format `projects/*/locations/*/repositories/*/releaseConfigs/*`.", +"type": "string" +}, +"timeZone": { +"description": "Optional. Specifies the time zone to be used when interpreting cron_schedule. Must be a time zone name from the time zone database (https://en.wikipedia.org/wiki/List_of_tz_database_time_zones). If left unspecified, the default is UTC.", +"type": "string" +}, +"updateTime": { +"description": "Output only. The timestamp of when the WorkflowConfig was last updated.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"WorkflowInvocation": { +"description": "Represents a single invocation of a compilation result.", +"id": "WorkflowInvocation", +"properties": { +"compilationResult": { +"description": "Immutable. The name of the compilation result to use for this invocation. Must be in the format `projects/*/locations/*/repositories/*/compilationResults/*`.", +"type": "string" +}, +"dataEncryptionState": { +"$ref": "DataEncryptionState", +"description": "Output only. Only set if the repository has a KMS Key.", +"readOnly": true +}, +"internalMetadata": { +"description": "Output only. All the metadata information that is used internally to serve the resource. For example: timestamps, flags, status fields, etc. The format of this field is a JSON string.", +"readOnly": true, +"type": "string" +}, +"invocationConfig": { +"$ref": "InvocationConfig", +"description": "Immutable. If left unset, a default InvocationConfig will be used." +}, +"invocationTiming": { +"$ref": "Interval", +"description": "Output only. This workflow invocation's timing details.", +"readOnly": true +}, +"name": { +"description": "Output only. The workflow invocation's name.", +"readOnly": true, +"type": "string" +}, +"privateResourceMetadata": { +"$ref": "PrivateResourceMetadata", +"description": "Output only. Metadata indicating whether this resource is user-scoped. `WorkflowInvocation` resource is `user_scoped` only if it is sourced from a compilation result and the compilation result is user-scoped.", +"readOnly": true +}, +"resolvedCompilationResult": { +"description": "Output only. The resolved compilation result that was used to create this invocation. Will be in the format `projects/*/locations/*/repositories/*/compilationResults/*`.", +"readOnly": true, +"type": "string" +}, +"state": { +"description": "Output only. This workflow invocation's current state.", +"enum": [ +"STATE_UNSPECIFIED", +"RUNNING", +"SUCCEEDED", +"CANCELLED", +"FAILED", +"CANCELING" +], +"enumDescriptions": [ +"Default value. This value is unused.", +"The workflow invocation is currently running.", +"The workflow invocation succeeded. A terminal state.", +"The workflow invocation was cancelled. A terminal state.", +"The workflow invocation failed. A terminal state.", +"The workflow invocation is being cancelled, but some actions are still running." +], +"readOnly": true, +"type": "string" +}, +"workflowConfig": { +"description": "Immutable. The name of the workflow config to invoke. Must be in the format `projects/*/locations/*/repositories/*/workflowConfigs/*`.", +"type": "string" +} +}, +"type": "object" +}, +"WorkflowInvocationAction": { +"description": "Represents a single action in a workflow invocation.", +"id": "WorkflowInvocationAction", +"properties": { +"bigqueryAction": { +"$ref": "BigQueryAction", +"description": "Output only. The workflow action's bigquery action details.", +"readOnly": true +}, +"canonicalTarget": { +"$ref": "Target", +"description": "Output only. The action's identifier if the project had been compiled without any overrides configured. Unique within the compilation result.", +"readOnly": true +}, +"dataPreparationAction": { +"$ref": "DataPreparationAction", +"description": "Output only. The workflow action's data preparation action details.", +"readOnly": true +}, +"failureReason": { +"description": "Output only. If and only if action's state is FAILED a failure reason is set.", +"readOnly": true, +"type": "string" +}, +"internalMetadata": { +"description": "Output only. All the metadata information that is used internally to serve the resource. For example: timestamps, flags, status fields, etc. The format of this field is a JSON string.", +"readOnly": true, +"type": "string" +}, +"invocationTiming": { +"$ref": "Interval", +"description": "Output only. This action's timing details. `start_time` will be set if the action is in [RUNNING, SUCCEEDED, CANCELLED, FAILED] state. `end_time` will be set if the action is in [SUCCEEDED, CANCELLED, FAILED] state.", +"readOnly": true +}, +"notebookAction": { +"$ref": "NotebookAction", +"description": "Output only. The workflow action's notebook action details.", +"readOnly": true +}, +"state": { +"description": "Output only. This action's current state.", +"enum": [ +"PENDING", +"RUNNING", +"SKIPPED", +"DISABLED", +"SUCCEEDED", +"CANCELLED", +"FAILED" +], +"enumDescriptions": [ +"The action has not yet been considered for invocation.", +"The action is currently running.", +"Execution of the action was skipped because upstream dependencies did not all complete successfully. A terminal state.", +"Execution of the action was disabled as per the configuration of the corresponding compilation result action. A terminal state.", +"The action succeeded. A terminal state.", +"The action was cancelled. A terminal state.", +"The action failed. A terminal state." +], +"readOnly": true, +"type": "string" +}, +"target": { +"$ref": "Target", +"description": "Output only. This action's identifier. Unique within the workflow invocation.", +"readOnly": true +} +}, +"type": "object" +}, +"Workspace": { +"description": "Represents a Dataform Git workspace.", +"id": "Workspace", +"properties": { +"createTime": { +"description": "Output only. The timestamp of when the workspace was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"dataEncryptionState": { +"$ref": "DataEncryptionState", +"description": "Output only. A data encryption state of a Git repository if this Workspace is protected by a KMS key.", +"readOnly": true +}, +"internalMetadata": { +"description": "Output only. All the metadata information that is used internally to serve the resource. For example: timestamps, flags, status fields, etc. The format of this field is a JSON string.", +"readOnly": true, +"type": "string" +}, +"name": { +"description": "Identifier. The workspace's name.", +"type": "string" +}, +"privateResourceMetadata": { +"$ref": "PrivateResourceMetadata", +"description": "Output only. Metadata indicating whether this resource is user-scoped. For `Workspace` resources, the `user_scoped` field is always `true`.", +"readOnly": true +} +}, +"type": "object" +}, +"WorkspaceCompilationOverrides": { +"description": "Configures workspace compilation overrides for a repository.", +"id": "WorkspaceCompilationOverrides", +"properties": { +"defaultDatabase": { +"description": "Optional. The default database (Google Cloud project ID).", +"type": "string" +}, +"schemaSuffix": { +"description": "Optional. The suffix that should be appended to all schema (BigQuery dataset ID) names.", +"type": "string" +}, +"tablePrefix": { +"description": "Optional. The prefix that should be prepended to all table names.", +"type": "string" +} +}, +"type": "object" +}, +"WriteFile": { +"description": "Represents the write file operation (for files added or modified).", +"id": "WriteFile", +"properties": { +"contents": { +"description": "The file's contents.", +"format": "byte", +"type": "string" +} +}, +"type": "object" +}, +"WriteFileRequest": { +"description": "`WriteFile` request message.", +"id": "WriteFileRequest", +"properties": { +"contents": { +"description": "Required. The file's contents.", +"format": "byte", +"type": "string" +}, +"path": { +"description": "Required. The file.", +"type": "string" +} +}, +"type": "object" +}, +"WriteFileResponse": { +"description": "`WriteFile` response message.", +"id": "WriteFileResponse", +"properties": {}, +"type": "object" +} +}, +"servicePath": "", +"title": "Dataform API", +"version": "v1", +"version_module": true +} \ No newline at end of file diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/datafusion.v1.json b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/datafusion.v1.json new file mode 100644 index 0000000000000000000000000000000000000000..bed5345b173073b310c7998896bb506bfd76ad6a --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/datafusion.v1.json @@ -0,0 +1,1955 @@ +{ +"auth": { +"oauth2": { +"scopes": { +"https://www.googleapis.com/auth/cloud-platform": { +"description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." +} +} +} +}, +"basePath": "", +"baseUrl": "https://datafusion.googleapis.com/", +"batchPath": "batch", +"canonicalName": "Data Fusion", +"description": "Cloud Data Fusion is a fully-managed, cloud native, enterprise data integration service for quickly building and managing data pipelines. It provides a graphical interface to increase time efficiency and reduce complexity, and allows business users, developers, and data scientists to easily and reliably build scalable data integration solutions to cleanse, prepare, blend, transfer and transform data without having to wrestle with infrastructure.", +"discoveryVersion": "v1", +"documentationLink": "https://cloud.google.com/data-fusion/docs", +"endpoints": [ +{ +"description": "Regional Endpoint", +"endpointUrl": "https://datafusion.africa-south1.rep.googleapis.com/", +"location": "africa-south1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://datafusion.asia-east1.rep.googleapis.com/", +"location": "asia-east1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://datafusion.asia-east2.rep.googleapis.com/", +"location": "asia-east2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://datafusion.asia-northeast1.rep.googleapis.com/", +"location": "asia-northeast1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://datafusion.asia-northeast2.rep.googleapis.com/", +"location": "asia-northeast2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://datafusion.asia-northeast3.rep.googleapis.com/", +"location": "asia-northeast3" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://datafusion.asia-south1.rep.googleapis.com/", +"location": "asia-south1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://datafusion.asia-south2.rep.googleapis.com/", +"location": "asia-south2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://datafusion.asia-southeast1.rep.googleapis.com/", +"location": "asia-southeast1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://datafusion.asia-southeast2.rep.googleapis.com/", +"location": "asia-southeast2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://datafusion.australia-southeast1.rep.googleapis.com/", +"location": "australia-southeast1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://datafusion.australia-southeast2.rep.googleapis.com/", +"location": "australia-southeast2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://datafusion.europe-north1.rep.googleapis.com/", +"location": "europe-north1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://datafusion.europe-north2.rep.googleapis.com/", +"location": "europe-north2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://datafusion.europe-southwest1.rep.googleapis.com/", +"location": "europe-southwest1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://datafusion.europe-west1.rep.googleapis.com/", +"location": "europe-west1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://datafusion.europe-west12.rep.googleapis.com/", +"location": "europe-west12" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://datafusion.europe-west2.rep.googleapis.com/", +"location": "europe-west2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://datafusion.europe-west3.rep.googleapis.com/", +"location": "europe-west3" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://datafusion.europe-west4.rep.googleapis.com/", +"location": "europe-west4" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://datafusion.europe-west6.rep.googleapis.com/", +"location": "europe-west6" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://datafusion.europe-west8.rep.googleapis.com/", +"location": "europe-west8" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://datafusion.europe-west9.rep.googleapis.com/", +"location": "europe-west9" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://datafusion.me-central1.rep.googleapis.com/", +"location": "me-central1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://datafusion.me-central2.rep.googleapis.com/", +"location": "me-central2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://datafusion.me-west1.rep.googleapis.com/", +"location": "me-west1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://datafusion.northamerica-northeast1.rep.googleapis.com/", +"location": "northamerica-northeast1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://datafusion.northamerica-south1.rep.googleapis.com/", +"location": "northamerica-south1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://datafusion.southamerica-east1.rep.googleapis.com/", +"location": "southamerica-east1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://datafusion.southamerica-west1.rep.googleapis.com/", +"location": "southamerica-west1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://datafusion.us-central1.rep.googleapis.com/", +"location": "us-central1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://datafusion.us-east1.rep.googleapis.com/", +"location": "us-east1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://datafusion.us-east4.rep.googleapis.com/", +"location": "us-east4" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://datafusion.us-east5.rep.googleapis.com/", +"location": "us-east5" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://datafusion.us-east7.rep.googleapis.com/", +"location": "us-east7" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://datafusion.us-south1.rep.googleapis.com/", +"location": "us-south1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://datafusion.us-west1.rep.googleapis.com/", +"location": "us-west1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://datafusion.us-west2.rep.googleapis.com/", +"location": "us-west2" +} +], +"fullyEncodeReservedExpansion": true, +"icons": { +"x16": "http://www.google.com/images/icons/product/search-16.gif", +"x32": "http://www.google.com/images/icons/product/search-32.gif" +}, +"id": "datafusion:v1", +"kind": "discovery#restDescription", +"mtlsRootUrl": "https://datafusion.mtls.googleapis.com/", +"name": "datafusion", +"ownerDomain": "google.com", +"ownerName": "Google", +"parameters": { +"$.xgafv": { +"description": "V1 error format.", +"enum": [ +"1", +"2" +], +"enumDescriptions": [ +"v1 error format", +"v2 error format" +], +"location": "query", +"type": "string" +}, +"access_token": { +"description": "OAuth access token.", +"location": "query", +"type": "string" +}, +"alt": { +"default": "json", +"description": "Data format for response.", +"enum": [ +"json", +"media", +"proto" +], +"enumDescriptions": [ +"Responses with Content-Type of application/json", +"Media download with context-dependent Content-Type", +"Responses with Content-Type of application/x-protobuf" +], +"location": "query", +"type": "string" +}, +"callback": { +"description": "JSONP", +"location": "query", +"type": "string" +}, +"fields": { +"description": "Selector specifying which fields to include in a partial response.", +"location": "query", +"type": "string" +}, +"key": { +"description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", +"location": "query", +"type": "string" +}, +"oauth_token": { +"description": "OAuth 2.0 token for the current user.", +"location": "query", +"type": "string" +}, +"prettyPrint": { +"default": "true", +"description": "Returns response with indentations and line breaks.", +"location": "query", +"type": "boolean" +}, +"quotaUser": { +"description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.", +"location": "query", +"type": "string" +}, +"uploadType": { +"description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", +"location": "query", +"type": "string" +}, +"upload_protocol": { +"description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", +"location": "query", +"type": "string" +} +}, +"protocol": "rest", +"resources": { +"projects": { +"resources": { +"locations": { +"methods": { +"get": { +"description": "Gets information about a location.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}", +"httpMethod": "GET", +"id": "datafusion.projects.locations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Resource name for the location.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Location" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists information about the supported locations for this service.", +"flatPath": "v1/projects/{projectsId}/locations", +"httpMethod": "GET", +"id": "datafusion.projects.locations.list", +"parameterOrder": [ +"name" +], +"parameters": { +"extraLocationTypes": { +"description": "Optional. Do not use this field. It is unsupported and is ignored unless explicitly documented otherwise. This is primarily for internal usage.", +"location": "query", +"repeated": true, +"type": "string" +}, +"filter": { +"description": "A filter to narrow down results to a preferred subset. The filtering language accepts strings like `\"displayName=tokyo\"`, and is documented in more detail in [AIP-160](https://google.aip.dev/160).", +"location": "query", +"type": "string" +}, +"name": { +"description": "The resource that owns the locations collection, if applicable.", +"location": "path", +"pattern": "^projects/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The maximum number of results to return. If not set, the service selects a default.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A page token received from the `next_page_token` field in the response. Send that page token to receive the subsequent page.", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}/locations", +"response": { +"$ref": "ListLocationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"instances": { +"methods": { +"create": { +"description": "Creates a new Data Fusion instance in the specified project and location.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/instances", +"httpMethod": "POST", +"id": "datafusion.projects.locations.instances.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"instanceId": { +"description": "Required. The name of the instance to create. Instance name can only contain lowercase alphanumeric characters and hyphens. It must start with a letter and must not end with a hyphen. It can have a maximum of 30 characters.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The instance's project and location in the format projects/{project}/locations/{location}.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/instances", +"request": { +"$ref": "Instance" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a single Date Fusion instance.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/instances/{instancesId}", +"httpMethod": "DELETE", +"id": "datafusion.projects.locations.instances.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"force": { +"description": "Optional. If set to true, any nested resources from this instance will also be deleted.", +"location": "query", +"type": "boolean" +}, +"name": { +"description": "Required. The instance resource name in the format projects/{project}/locations/{location}/instances/{instance}", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/instances/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets details of a single Data Fusion instance.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/instances/{instancesId}", +"httpMethod": "GET", +"id": "datafusion.projects.locations.instances.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The instance resource name in the format projects/{project}/locations/{location}/instances/{instance}.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/instances/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Instance" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"getIamPolicy": { +"description": "Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/instances/{instancesId}:getIamPolicy", +"httpMethod": "GET", +"id": "datafusion.projects.locations.instances.getIamPolicy", +"parameterOrder": [ +"resource" +], +"parameters": { +"options.requestedPolicyVersion": { +"description": "Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).", +"format": "int32", +"location": "query", +"type": "integer" +}, +"resource": { +"description": "REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/instances/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+resource}:getIamPolicy", +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists Data Fusion instances in the specified project and location.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/instances", +"httpMethod": "GET", +"id": "datafusion.projects.locations.instances.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "List filter.", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "Sort results. Supported values are \"name\", \"name desc\", or \"\" (unsorted).", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "The maximum number of items to return.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The next_page_token value to use if there are additional results to retrieve for this list request.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The project and location for which to retrieve instance information in the format projects/{project}/locations/{location}. If the location is specified as '-' (wildcard), then all regions available to the project are queried, and the results are aggregated.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/instances", +"response": { +"$ref": "ListInstancesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates a single Data Fusion instance.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/instances/{instancesId}", +"httpMethod": "PATCH", +"id": "datafusion.projects.locations.instances.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Output only. The name of this instance is in the form of projects/{project}/locations/{location}/instances/{instance}.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/instances/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Field mask is used to specify the fields that the update will overwrite in an instance resource. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask, the label field will be overwritten.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "Instance" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"restart": { +"description": "Restart a single Data Fusion instance. At the end of an operation instance is fully restarted.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/instances/{instancesId}:restart", +"httpMethod": "POST", +"id": "datafusion.projects.locations.instances.restart", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of the Data Fusion instance which need to be restarted in the form of projects/{project}/locations/{location}/instances/{instance}", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/instances/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:restart", +"request": { +"$ref": "RestartInstanceRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"setIamPolicy": { +"description": "Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/instances/{instancesId}:setIamPolicy", +"httpMethod": "POST", +"id": "datafusion.projects.locations.instances.setIamPolicy", +"parameterOrder": [ +"resource" +], +"parameters": { +"resource": { +"description": "REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/instances/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+resource}:setIamPolicy", +"request": { +"$ref": "SetIamPolicyRequest" +}, +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"testIamPermissions": { +"description": "Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may \"fail open\" without warning.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/instances/{instancesId}:testIamPermissions", +"httpMethod": "POST", +"id": "datafusion.projects.locations.instances.testIamPermissions", +"parameterOrder": [ +"resource" +], +"parameters": { +"resource": { +"description": "REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/instances/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+resource}:testIamPermissions", +"request": { +"$ref": "TestIamPermissionsRequest" +}, +"response": { +"$ref": "TestIamPermissionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"dnsPeerings": { +"methods": { +"create": { +"description": "Creates DNS peering on the given resource.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/instances/{instancesId}/dnsPeerings", +"httpMethod": "POST", +"id": "datafusion.projects.locations.instances.dnsPeerings.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"dnsPeeringId": { +"description": "Required. The name of the peering to create.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The resource on which DNS peering will be created.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/instances/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/dnsPeerings", +"request": { +"$ref": "DnsPeering" +}, +"response": { +"$ref": "DnsPeering" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes DNS peering on the given resource.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/instances/{instancesId}/dnsPeerings/{dnsPeeringsId}", +"httpMethod": "DELETE", +"id": "datafusion.projects.locations.instances.dnsPeerings.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the DNS peering zone to delete. Format: projects/{project}/locations/{location}/instances/{instance}/dnsPeerings/{dns_peering}", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/instances/[^/]+/dnsPeerings/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists DNS peerings for a given resource.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/instances/{instancesId}/dnsPeerings", +"httpMethod": "GET", +"id": "datafusion.projects.locations.instances.dnsPeerings.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "The maximum number of dns peerings to return. The service may return fewer than this value. If unspecified, at most 50 dns peerings will be returned. The maximum value is 200; values above 200 will be coerced to 200.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A page token, received from a previous `ListDnsPeerings` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListDnsPeerings` must match the call that provided the page token.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent, which owns this collection of dns peerings. Format: projects/{project}/locations/{location}/instances/{instance}", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/instances/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/dnsPeerings", +"response": { +"$ref": "ListDnsPeeringsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +}, +"operations": { +"methods": { +"cancel": { +"description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}:cancel", +"httpMethod": "POST", +"id": "datafusion.projects.locations.operations.cancel", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be cancelled.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:cancel", +"request": { +"$ref": "CancelOperationRequest" +}, +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}", +"httpMethod": "DELETE", +"id": "datafusion.projects.locations.operations.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be deleted.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}", +"httpMethod": "GET", +"id": "datafusion.projects.locations.operations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/operations", +"httpMethod": "GET", +"id": "datafusion.projects.locations.operations.list", +"parameterOrder": [ +"name" +], +"parameters": { +"filter": { +"description": "The standard list filter.", +"location": "query", +"type": "string" +}, +"name": { +"description": "The name of the operation's parent resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The standard list page size.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The standard list page token.", +"location": "query", +"type": "string" +}, +"returnPartialSuccess": { +"description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `\"projects/example/locations/-\"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1/{+name}/operations", +"response": { +"$ref": "ListOperationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"versions": { +"methods": { +"list": { +"description": "Lists possible versions for Data Fusion instances in the specified project and location.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/versions", +"httpMethod": "GET", +"id": "datafusion.projects.locations.versions.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"latestPatchOnly": { +"description": "Whether or not to return the latest patch of every available minor version. If true, only the latest patch will be returned. Ex. if allowed versions is [6.1.1, 6.1.2, 6.2.0] then response will be [6.1.2, 6.2.0]", +"location": "query", +"type": "boolean" +}, +"pageSize": { +"description": "The maximum number of items to return.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The next_page_token value to use if there are additional results to retrieve for this list request.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The project and location for which to retrieve instance information in the format projects/{project}/locations/{location}.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/versions", +"response": { +"$ref": "ListAvailableVersionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +} +} +} +}, +"revision": "20260202", +"rootUrl": "https://datafusion.googleapis.com/", +"schemas": { +"Accelerator": { +"description": "Identifies Data Fusion accelerators for an instance.", +"id": "Accelerator", +"properties": { +"acceleratorType": { +"description": "Optional. The type of an accelator for a Cloud Data Fusion instance.", +"enum": [ +"ACCELERATOR_TYPE_UNSPECIFIED", +"CDC", +"HEALTHCARE", +"CCAI_INSIGHTS", +"CLOUDSEARCH" +], +"enumDescriptions": [ +"Default value, if unspecified.", +"Change Data Capture accelerator for Cloud Data Fusion.", +"Reserved for internal use.", +"Contact Center AI Insights This accelerator is used to enable import and export pipelines custom built to streamline CCAI Insights processing.", +"Reserved for internal use." +], +"type": "string" +}, +"state": { +"description": "Output only. The state of the accelerator.", +"enum": [ +"STATE_UNSPECIFIED", +"ENABLED", +"DISABLED", +"UNKNOWN" +], +"enumDescriptions": [ +"Default value, do not use.", +"Indicates that the accelerator is enabled and available to use.", +"Indicates that the accelerator is disabled and not available to use.", +"Indicates that accelerator state is currently unknown. Requests for enable, disable could be retried while in this state." +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"AuditConfig": { +"description": "Specifies the audit configuration for a service. The configuration determines which permission types are logged, and what identities, if any, are exempted from logging. An AuditConfig must have one or more AuditLogConfigs. If there are AuditConfigs for both `allServices` and a specific service, the union of the two AuditConfigs is used for that service: the log_types specified in each AuditConfig are enabled, and the exempted_members in each AuditLogConfig are exempted. Example Policy with multiple AuditConfigs: { \"audit_configs\": [ { \"service\": \"allServices\", \"audit_log_configs\": [ { \"log_type\": \"DATA_READ\", \"exempted_members\": [ \"user:jose@example.com\" ] }, { \"log_type\": \"DATA_WRITE\" }, { \"log_type\": \"ADMIN_READ\" } ] }, { \"service\": \"sampleservice.googleapis.com\", \"audit_log_configs\": [ { \"log_type\": \"DATA_READ\" }, { \"log_type\": \"DATA_WRITE\", \"exempted_members\": [ \"user:aliya@example.com\" ] } ] } ] } For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also exempts `jose@example.com` from DATA_READ logging, and `aliya@example.com` from DATA_WRITE logging.", +"id": "AuditConfig", +"properties": { +"auditLogConfigs": { +"description": "The configuration for logging of each type of permission.", +"items": { +"$ref": "AuditLogConfig" +}, +"type": "array" +}, +"service": { +"description": "Specifies a service that will be enabled for audit logging. For example, `storage.googleapis.com`, `cloudsql.googleapis.com`. `allServices` is a special value that covers all services.", +"type": "string" +} +}, +"type": "object" +}, +"AuditLogConfig": { +"description": "Provides the configuration for logging a type of permissions. Example: { \"audit_log_configs\": [ { \"log_type\": \"DATA_READ\", \"exempted_members\": [ \"user:jose@example.com\" ] }, { \"log_type\": \"DATA_WRITE\" } ] } This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting jose@example.com from DATA_READ logging.", +"id": "AuditLogConfig", +"properties": { +"exemptedMembers": { +"description": "Specifies the identities that do not cause logging for this type of permission. Follows the same format of Binding.members.", +"items": { +"type": "string" +}, +"type": "array" +}, +"logType": { +"description": "The log type that this config enables.", +"enum": [ +"LOG_TYPE_UNSPECIFIED", +"ADMIN_READ", +"DATA_WRITE", +"DATA_READ" +], +"enumDescriptions": [ +"Default case. Should never be this.", +"Admin reads. Example: CloudIAM getIamPolicy", +"Data writes. Example: CloudSQL Users create", +"Data reads. Example: CloudSQL Users list" +], +"type": "string" +} +}, +"type": "object" +}, +"Binding": { +"description": "Associates `members`, or principals, with a `role`.", +"id": "Binding", +"properties": { +"condition": { +"$ref": "Expr", +"description": "The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies)." +}, +"members": { +"description": "Specifies the principals requesting access for a Google Cloud resource. `members` can have the following values: * `allUsers`: A special identifier that represents anyone who is on the internet; with or without a Google account. * `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service account. Does not include identities that come from external identity providers (IdPs) through identity federation. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `group:{emailid}`: An email address that represents a Google group. For example, `admins@example.com`. * `domain:{domain}`: The G Suite domain (primary) that represents all the users of that domain. For example, `google.com` or `example.com`. * `principal://iam.googleapis.com/locations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}`: A single identity in a workforce identity pool. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/group/{group_id}`: All workforce identities in a group. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/attribute.{attribute_name}/{attribute_value}`: All workforce identities with a specific attribute value. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/*`: All identities in a workforce identity pool. * `principal://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/subject/{subject_attribute_value}`: A single identity in a workload identity pool. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/group/{group_id}`: A workload identity pool group. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/attribute.{attribute_name}/{attribute_value}`: All identities in a workload identity pool with a certain attribute. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/*`: All identities in a workload identity pool. * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a user that has been recently deleted. For example, `alice@example.com?uid=123456789012345678901`. If the user is recovered, this value reverts to `user:{emailid}` and the recovered user retains the role in the binding. * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a service account that has been recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the service account is undeleted, this value reverts to `serviceAccount:{emailid}` and the undeleted service account retains the role in the binding. * `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a Google group that has been recently deleted. For example, `admins@example.com?uid=123456789012345678901`. If the group is recovered, this value reverts to `group:{emailid}` and the recovered group retains the role in the binding. * `deleted:principal://iam.googleapis.com/locations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}`: Deleted single identity in a workforce identity pool. For example, `deleted:principal://iam.googleapis.com/locations/global/workforcePools/my-pool-id/subject/my-subject-attribute-value`.", +"items": { +"type": "string" +}, +"type": "array" +}, +"role": { +"description": "Role that is assigned to the list of `members`, or principals. For example, `roles/viewer`, `roles/editor`, or `roles/owner`. For an overview of the IAM roles and permissions, see the [IAM documentation](https://cloud.google.com/iam/docs/roles-overview). For a list of the available pre-defined roles, see [here](https://cloud.google.com/iam/docs/understanding-roles).", +"type": "string" +} +}, +"type": "object" +}, +"CancelOperationRequest": { +"description": "The request message for Operations.CancelOperation.", +"id": "CancelOperationRequest", +"properties": {}, +"type": "object" +}, +"CryptoKeyConfig": { +"description": "The crypto key configuration. This field is used by the Customer-managed encryption keys (CMEK) feature.", +"id": "CryptoKeyConfig", +"properties": { +"keyReference": { +"description": "Optional. The name of the key which is used to encrypt/decrypt customer data. For key in Cloud KMS, the key should be in the format of `projects/*/locations/*/keyRings/*/cryptoKeys/*`.", +"type": "string" +} +}, +"type": "object" +}, +"DnsPeering": { +"description": "DNS peering configuration. These configurations are used to create DNS peering with the customer Cloud DNS.", +"id": "DnsPeering", +"properties": { +"description": { +"description": "Optional. Optional description of the dns zone.", +"type": "string" +}, +"domain": { +"description": "Required. The dns name suffix of the zone.", +"type": "string" +}, +"name": { +"description": "Identifier. The resource name of the dns peering zone. Format: projects/{project}/locations/{location}/instances/{instance}/dnsPeerings/{dns_peering}", +"type": "string" +}, +"targetNetwork": { +"description": "Optional. Optional target network to which dns peering should happen.", +"type": "string" +}, +"targetProject": { +"description": "Optional. Optional target project to which dns peering should happen.", +"type": "string" +} +}, +"type": "object" +}, +"Empty": { +"description": "A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }", +"id": "Empty", +"properties": {}, +"type": "object" +}, +"EventPublishConfig": { +"description": "Confirguration of PubSubEventWriter.", +"id": "EventPublishConfig", +"properties": { +"enabled": { +"description": "Required. Option to enable Event Publishing.", +"type": "boolean" +}, +"topic": { +"description": "Required. The resource name of the Pub/Sub topic. Format: projects/{project_id}/topics/{topic_id}", +"type": "string" +} +}, +"type": "object" +}, +"Expr": { +"description": "Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: \"Summary size limit\" description: \"Determines if a summary is less than 100 chars\" expression: \"document.summary.size() < 100\" Example (Equality): title: \"Requestor is owner\" description: \"Determines if requestor is the document owner\" expression: \"document.owner == request.auth.claims.email\" Example (Logic): title: \"Public documents\" description: \"Determine whether the document should be publicly visible\" expression: \"document.type != 'private' && document.type != 'internal'\" Example (Data Manipulation): title: \"Notification string\" description: \"Create a notification string with a timestamp.\" expression: \"'New message received at ' + string(document.create_time)\" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information.", +"id": "Expr", +"properties": { +"description": { +"description": "Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI.", +"type": "string" +}, +"expression": { +"description": "Textual representation of an expression in Common Expression Language syntax.", +"type": "string" +}, +"location": { +"description": "Optional. String indicating the location of the expression for error reporting, e.g. a file name and a position in the file.", +"type": "string" +}, +"title": { +"description": "Optional. Title for the expression, i.e. a short string describing its purpose. This can be used e.g. in UIs which allow to enter the expression.", +"type": "string" +} +}, +"type": "object" +}, +"Instance": { +"description": "Represents a Data Fusion instance.", +"id": "Instance", +"properties": { +"accelerators": { +"description": "Output only. List of accelerators enabled for this CDF instance.", +"items": { +"$ref": "Accelerator" +}, +"readOnly": true, +"type": "array" +}, +"apiEndpoint": { +"description": "Output only. Endpoint on which the REST APIs is accessible.", +"readOnly": true, +"type": "string" +}, +"availableVersion": { +"description": "Output only. Available versions that the instance can be upgraded to using UpdateInstanceRequest.", +"items": { +"$ref": "Version" +}, +"readOnly": true, +"type": "array" +}, +"createTime": { +"description": "Output only. The time the instance was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"cryptoKeyConfig": { +"$ref": "CryptoKeyConfig", +"description": "Optional. The crypto key configuration. This field is used by the Customer-Managed Encryption Keys (CMEK) feature." +}, +"dataplexDataLineageIntegrationEnabled": { +"description": "Optional. Option to enable the Dataplex Lineage Integration feature.", +"type": "boolean" +}, +"dataprocServiceAccount": { +"description": "Optional. User-managed service account to set on Dataproc when Cloud Data Fusion creates Dataproc to run data processing pipelines. This allows users to have fine-grained access control on Dataproc's accesses to cloud resources.", +"type": "string" +}, +"description": { +"description": "Optional. A description of this instance.", +"type": "string" +}, +"disabledReason": { +"description": "Output only. If the instance state is DISABLED, the reason for disabling the instance.", +"items": { +"enum": [ +"DISABLED_REASON_UNSPECIFIED", +"KMS_KEY_ISSUE", +"PROJECT_STATE_OFF" +], +"enumDescriptions": [ +"This is an unknown reason for disabling.", +"The KMS key used by the instance is either revoked or denied access to", +"The consumer project is in a non-ACTIVE state." +], +"type": "string" +}, +"readOnly": true, +"type": "array" +}, +"displayName": { +"description": "Optional. Display name for an instance.", +"type": "string" +}, +"enableRbac": { +"description": "Optional. Option to enable granular role-based access control.", +"type": "boolean" +}, +"enableStackdriverLogging": { +"description": "Optional. Option to enable Dataproc Stackdriver Logging.", +"type": "boolean" +}, +"enableStackdriverMonitoring": { +"description": "Optional. Option to enable Stackdriver Monitoring.", +"type": "boolean" +}, +"enableZoneSeparation": { +"description": "Output only. Option to enable granular zone separation.", +"readOnly": true, +"type": "boolean" +}, +"eventPublishConfig": { +"$ref": "EventPublishConfig", +"description": "Optional. Option to enable and pass metadata for event publishing." +}, +"gcsBucket": { +"description": "Output only. Cloud Storage bucket generated by Data Fusion in the customer project.", +"readOnly": true, +"type": "string" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "The resource labels for instance to use to annotate any related underlying resources such as Compute Engine VMs. The character '=' is not allowed to be used within the labels.", +"type": "object" +}, +"loggingConfig": { +"$ref": "LoggingConfig", +"description": "Optional. The logging configuration for this instance. This field is supported only in CDF versions 6.11.0 and above." +}, +"maintenanceEvents": { +"description": "Output only. The maintenance events for this instance.", +"items": { +"$ref": "MaintenanceEvent" +}, +"readOnly": true, +"type": "array" +}, +"maintenancePolicy": { +"$ref": "MaintenancePolicy", +"description": "Optional. Configure the maintenance policy for this instance." +}, +"monitoringConfig": { +"$ref": "MonitoringConfig", +"description": "Optional. The monitoring configuration for this instance." +}, +"name": { +"description": "Output only. The name of this instance is in the form of projects/{project}/locations/{location}/instances/{instance}.", +"readOnly": true, +"type": "string" +}, +"networkConfig": { +"$ref": "NetworkConfig", +"description": "Optional. Network configuration options. These are required when a private Data Fusion instance is to be created." +}, +"options": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. Map of additional options used to configure the behavior of Data Fusion instance.", +"type": "object" +}, +"p4ServiceAccount": { +"description": "Output only. Service agent for the customer project.", +"readOnly": true, +"type": "string" +}, +"patchRevision": { +"description": "Optional. Current patch revision of the Data Fusion.", +"type": "string" +}, +"privateInstance": { +"description": "Optional. Specifies whether the Data Fusion instance should be private. If set to true, all Data Fusion nodes will have private IP addresses and will not be able to access the public internet.", +"type": "boolean" +}, +"satisfiesPzi": { +"description": "Output only. Reserved for future use.", +"readOnly": true, +"type": "boolean" +}, +"satisfiesPzs": { +"description": "Output only. Reserved for future use.", +"readOnly": true, +"type": "boolean" +}, +"serviceAccount": { +"deprecated": true, +"description": "Output only. Deprecated. Use tenant_project_id instead to extract the tenant project ID.", +"readOnly": true, +"type": "string" +}, +"serviceEndpoint": { +"description": "Output only. Endpoint on which the Data Fusion UI is accessible.", +"readOnly": true, +"type": "string" +}, +"state": { +"description": "Output only. The current state of this Data Fusion instance.", +"enum": [ +"STATE_UNSPECIFIED", +"CREATING", +"ACTIVE", +"FAILED", +"DELETING", +"UPGRADING", +"RESTARTING", +"UPDATING", +"AUTO_UPDATING", +"AUTO_UPGRADING", +"DISABLED", +"ENABLING" +], +"enumDescriptions": [ +"Instance does not have a state yet", +"Instance is being created", +"Instance is active and ready for requests. This corresponds to 'RUNNING' in datafusion.v1beta1.", +"Instance creation failed", +"Instance is being deleted", +"Instance is being upgraded", +"Instance is being restarted", +"Instance is being updated on customer request", +"Instance is being auto-updated", +"Instance is being auto-upgraded", +"Instance is disabled", +"Instance is being enabled." +], +"readOnly": true, +"type": "string" +}, +"stateMessage": { +"description": "Output only. Additional information about the current state of this Data Fusion instance if available.", +"readOnly": true, +"type": "string" +}, +"tags": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. Input only. Immutable. Tag keys/values directly bound to this resource. For example: \"123/environment\": \"production\", \"123/costCenter\": \"marketing\"", +"type": "object" +}, +"tenantProjectId": { +"description": "Output only. The name of the tenant project.", +"readOnly": true, +"type": "string" +}, +"type": { +"description": "Required. Instance type.", +"enum": [ +"TYPE_UNSPECIFIED", +"BASIC", +"ENTERPRISE", +"DEVELOPER" +], +"enumDescriptions": [ +"No type specified. The instance creation will fail.", +"Basic Data Fusion instance. In Basic type, the user will be able to create data pipelines using point and click UI. However, there are certain limitations, such as fewer number of concurrent pipelines, no support for streaming pipelines, etc.", +"Enterprise Data Fusion instance. In Enterprise type, the user will have all features available, such as support for streaming pipelines, higher number of concurrent pipelines, etc.", +"Developer Data Fusion instance. In Developer type, the user will have all features available but with restrictive capabilities. This is to help enterprises design and develop their data ingestion and integration pipelines at low cost." +], +"type": "string" +}, +"updateTime": { +"description": "Output only. The time the instance was last updated.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"version": { +"description": "Optional. Current version of the Data Fusion. Only specifiable in Update.", +"type": "string" +}, +"workforceIdentityServiceEndpoint": { +"description": "Output only. Endpoint on which the Data Fusion UI is accessible to third-party users", +"readOnly": true, +"type": "string" +}, +"zone": { +"description": "Optional. Name of the zone in which the Data Fusion instance will be created. Only DEVELOPER instances use this field.", +"type": "string" +} +}, +"type": "object" +}, +"ListAvailableVersionsResponse": { +"description": "Response message for the list available versions request.", +"id": "ListAvailableVersionsResponse", +"properties": { +"availableVersions": { +"deprecated": true, +"description": "Represents a list of versions that are supported. Deprecated: Use versions field instead.", +"items": { +"$ref": "Version" +}, +"type": "array" +}, +"nextPageToken": { +"description": "Token to retrieve the next page of results or empty if there are no more results in the list.", +"type": "string" +}, +"versions": { +"description": "Represents a list of all versions.", +"items": { +"$ref": "Version" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListDnsPeeringsResponse": { +"description": "Response message for list DNS peerings.", +"id": "ListDnsPeeringsResponse", +"properties": { +"dnsPeerings": { +"description": "List of dns peering.", +"items": { +"$ref": "DnsPeering" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.", +"type": "string" +} +}, +"type": "object" +}, +"ListInstancesResponse": { +"description": "Response message for the list instance request.", +"id": "ListInstancesResponse", +"properties": { +"instances": { +"description": "Represents a list of Data Fusion instances.", +"items": { +"$ref": "Instance" +}, +"type": "array" +}, +"nextPageToken": { +"description": "Token to retrieve the next page of results or empty if there are no more results in the list.", +"type": "string" +}, +"unreachable": { +"description": "Locations that could not be reached.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListLocationsResponse": { +"description": "The response message for Locations.ListLocations.", +"id": "ListLocationsResponse", +"properties": { +"locations": { +"description": "A list of locations that matches the specified filter in the request.", +"items": { +"$ref": "Location" +}, +"type": "array" +}, +"nextPageToken": { +"description": "The standard List next-page token.", +"type": "string" +} +}, +"type": "object" +}, +"ListOperationsResponse": { +"description": "The response message for Operations.ListOperations.", +"id": "ListOperationsResponse", +"properties": { +"nextPageToken": { +"description": "The standard List next-page token.", +"type": "string" +}, +"operations": { +"description": "A list of operations that matches the specified filter in the request.", +"items": { +"$ref": "Operation" +}, +"type": "array" +}, +"unreachable": { +"description": "Unordered list. Unreachable resources. Populated when the request sets `ListOperationsRequest.return_partial_success` and reads across collections. For example, when attempting to list all resources across all supported locations.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"Location": { +"description": "A resource that represents a Google Cloud location.", +"id": "Location", +"properties": { +"displayName": { +"description": "The friendly name for this location, typically a nearby city name. For example, \"Tokyo\".", +"type": "string" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Cross-service attributes for the location. For example {\"cloud.googleapis.com/region\": \"us-east1\"}", +"type": "object" +}, +"locationId": { +"description": "The canonical id for this location. For example: `\"us-east1\"`.", +"type": "string" +}, +"metadata": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "Service-specific metadata. For example the available capacity at the given location.", +"type": "object" +}, +"name": { +"description": "Resource name for the location, which may vary between implementations. For example: `\"projects/example-project/locations/us-east1\"`", +"type": "string" +} +}, +"type": "object" +}, +"LoggingConfig": { +"description": "Logging configuration for a Data Fusion instance.", +"id": "LoggingConfig", +"properties": { +"enableInstanceV2Logs": { +"description": "Optional. Option to enable the InstanceV2 logging for this instance. This field is supported only in CDF patch revision versions 6.11.1.1 and above.", +"type": "boolean" +}, +"instanceCloudLoggingDisabled": { +"description": "Optional. Option to determine whether instance logs should be written to Cloud Logging. By default, instance logs are written to Cloud Logging.", +"type": "boolean" +} +}, +"type": "object" +}, +"MaintenanceEvent": { +"description": "Represents a maintenance event.", +"id": "MaintenanceEvent", +"properties": { +"endTime": { +"description": "Output only. The end time of the maintenance event provided in [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) format. Example: \"2024-01-02T12:04:06-06:00\" This field will be empty if the maintenance event is not yet complete.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"startTime": { +"description": "Output only. The start time of the maintenance event provided in [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) format. Example: \"2024-01-01T12:04:06-04:00\"", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"state": { +"description": "Output only. The state of the maintenance event.", +"enum": [ +"STATE_UNSPECIFIED", +"SCHEDULED", +"STARTED", +"COMPLETED" +], +"enumDescriptions": [ +"The state of the maintenance event is unspecified.", +"The maintenance is scheduled but has not started.", +"The maintenance has been started.", +"The maintenance has been completed." +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"MaintenancePolicy": { +"description": "Maintenance policy of the instance.", +"id": "MaintenancePolicy", +"properties": { +"maintenanceExclusionWindow": { +"$ref": "TimeWindow", +"description": "Optional. The maintenance exclusion window of the instance." +}, +"maintenanceWindow": { +"$ref": "MaintenanceWindow", +"description": "Optional. The maintenance window of the instance." +} +}, +"type": "object" +}, +"MaintenanceWindow": { +"description": "Maintenance window of the instance.", +"id": "MaintenanceWindow", +"properties": { +"recurringTimeWindow": { +"$ref": "RecurringTimeWindow", +"description": "Required. The recurring time window of the maintenance window." +} +}, +"type": "object" +}, +"MonitoringConfig": { +"description": "Monitoring configuration for a Data Fusion instance.", +"id": "MonitoringConfig", +"properties": { +"enableInstanceV2Metrics": { +"description": "Optional. Option to enable the instance v2 metrics for this instance. This field is supported only in CDF versions 6.11.1.1 and above.", +"type": "boolean" +} +}, +"type": "object" +}, +"NetworkConfig": { +"description": "Network configuration for a Data Fusion instance. These configurations are used for peering with the customer network. Configurations are optional when a public Data Fusion instance is to be created. However, providing these configurations allows several benefits, such as reduced network latency while accessing the customer resources from managed Data Fusion instance nodes, as well as access to the customer on-prem resources.", +"id": "NetworkConfig", +"properties": { +"connectionType": { +"description": "Optional. Type of connection for establishing private IP connectivity between the Data Fusion customer project VPC and the corresponding tenant project from a predefined list of available connection modes. If this field is unspecified for a private instance, VPC peering is used.", +"enum": [ +"CONNECTION_TYPE_UNSPECIFIED", +"VPC_PEERING", +"PRIVATE_SERVICE_CONNECT_INTERFACES" +], +"enumDescriptions": [ +"No specific connection type was requested, the default value of VPC_PEERING is chosen.", +"Requests the use of VPC peerings for connecting the consumer and tenant projects.", +"Requests the use of Private Service Connect Interfaces for connecting the consumer and tenant projects." +], +"type": "string" +}, +"ipAllocation": { +"description": "Optional. The IP range in CIDR notation to use for the managed Data Fusion instance nodes. This range must not overlap with any other ranges used in the Data Fusion instance network. This is required only when using connection type VPC_PEERING. Format: a.b.c.d/22 Example: 192.168.0.0/22", +"type": "string" +}, +"network": { +"description": "Optional. Name of the network in the customer project with which the Tenant Project will be peered for executing pipelines. In case of shared VPC where the network resides in another host project the network should specified in the form of projects/{host-project-id}/global/networks/{network}. This is only required for connectivity type VPC_PEERING.", +"type": "string" +}, +"privateServiceConnectConfig": { +"$ref": "PrivateServiceConnectConfig", +"description": "Optional. Configuration for Private Service Connect. This is required only when using connection type PRIVATE_SERVICE_CONNECT_INTERFACES." +} +}, +"type": "object" +}, +"Operation": { +"description": "This resource represents a long-running operation that is the result of a network API call.", +"id": "Operation", +"properties": { +"done": { +"description": "If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.", +"type": "boolean" +}, +"error": { +"$ref": "Status", +"description": "The error result of the operation in case of failure or cancellation." +}, +"metadata": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.", +"type": "object" +}, +"name": { +"description": "The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.", +"type": "string" +}, +"response": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "The normal, successful response of the operation. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.", +"type": "object" +} +}, +"type": "object" +}, +"OperationMetadata": { +"description": "Represents the metadata of a long-running operation.", +"id": "OperationMetadata", +"properties": { +"additionalStatus": { +"additionalProperties": { +"type": "string" +}, +"description": "Map to hold any additional status info for the operation If there is an accelerator being enabled/disabled/deleted, this will be populated with accelerator name as key and status as ENABLING, DISABLING or DELETING", +"type": "object" +}, +"apiVersion": { +"description": "API version used to start the operation.", +"type": "string" +}, +"createTime": { +"description": "The time the operation was created.", +"format": "google-datetime", +"type": "string" +}, +"endTime": { +"description": "The time the operation finished running.", +"format": "google-datetime", +"type": "string" +}, +"requestedCancellation": { +"description": "Identifies whether the user has requested cancellation of the operation. Operations that have successfully been cancelled have google.longrunning.Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.", +"type": "boolean" +}, +"statusDetail": { +"description": "Human-readable status of the operation if any.", +"type": "string" +}, +"target": { +"description": "Server-defined resource path for the target of the operation.", +"type": "string" +}, +"verb": { +"description": "Name of the verb executed by the operation.", +"type": "string" +} +}, +"type": "object" +}, +"Policy": { +"description": "An Identity and Access Management (IAM) policy, which specifies access controls for Google Cloud resources. A `Policy` is a collection of `bindings`. A `binding` binds one or more `members`, or principals, to a single `role`. Principals can be user accounts, service accounts, Google groups, and domains (such as G Suite). A `role` is a named list of permissions; each `role` can be an IAM predefined role or a user-created custom role. For some types of Google Cloud resources, a `binding` can also specify a `condition`, which is a logical expression that allows access to a resource only if the expression evaluates to `true`. A condition can add constraints based on attributes of the request, the resource, or both. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). **JSON example:** ``` { \"bindings\": [ { \"role\": \"roles/resourcemanager.organizationAdmin\", \"members\": [ \"user:mike@example.com\", \"group:admins@example.com\", \"domain:google.com\", \"serviceAccount:my-project-id@appspot.gserviceaccount.com\" ] }, { \"role\": \"roles/resourcemanager.organizationViewer\", \"members\": [ \"user:eve@example.com\" ], \"condition\": { \"title\": \"expirable access\", \"description\": \"Does not grant access after Sep 2020\", \"expression\": \"request.time < timestamp('2020-10-01T00:00:00.000Z')\", } } ], \"etag\": \"BwWWja0YfJA=\", \"version\": 3 } ``` **YAML example:** ``` bindings: - members: - user:mike@example.com - group:admins@example.com - domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.com role: roles/resourcemanager.organizationViewer condition: title: expirable access description: Does not grant access after Sep 2020 expression: request.time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 ``` For a description of IAM and its features, see the [IAM documentation](https://cloud.google.com/iam/docs/).", +"id": "Policy", +"properties": { +"auditConfigs": { +"description": "Specifies cloud audit logging configuration for this policy.", +"items": { +"$ref": "AuditConfig" +}, +"type": "array" +}, +"bindings": { +"description": "Associates a list of `members`, or principals, with a `role`. Optionally, may specify a `condition` that determines how and when the `bindings` are applied. Each of the `bindings` must contain at least one principal. The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250 of these principals can be Google groups. Each occurrence of a principal counts towards these limits. For example, if the `bindings` grant 50 different roles to `user:alice@example.com`, and not to any other principal, then you can add another 1,450 principals to the `bindings` in the `Policy`.", +"items": { +"$ref": "Binding" +}, +"type": "array" +}, +"etag": { +"description": "`etag` is used for optimistic concurrency control as a way to help prevent simultaneous updates of a policy from overwriting each other. It is strongly suggested that systems make use of the `etag` in the read-modify-write cycle to perform policy updates in order to avoid race conditions: An `etag` is returned in the response to `getIamPolicy`, and systems are expected to put that etag in the request to `setIamPolicy` to ensure that their change will be applied to the same version of the policy. **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost.", +"format": "byte", +"type": "string" +}, +"version": { +"description": "Specifies the format of the policy. Valid values are `0`, `1`, and `3`. Requests that specify an invalid value are rejected. Any operation that affects conditional role bindings must specify version `3`. This requirement applies to the following operations: * Getting a policy that includes a conditional role binding * Adding a conditional role binding to a policy * Changing a conditional role binding in a policy * Removing any role binding, with or without a condition, from a policy that includes conditions **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost. If a policy does not include any conditions, operations on that policy may specify any valid version or leave the field unset. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"PrivateServiceConnectConfig": { +"description": "Configuration for using Private Service Connect to establish connectivity between the Data Fusion consumer project and the corresponding tenant project.", +"id": "PrivateServiceConnectConfig", +"properties": { +"effectiveUnreachableCidrBlock": { +"description": "Output only. The CIDR block to which the CDF instance can't route traffic to in the consumer project VPC. The size of this block is /25. The format of this field is governed by RFC 4632. Example: 240.0.0.0/25", +"readOnly": true, +"type": "string" +}, +"networkAttachment": { +"description": "Required. The reference to the network attachment used to establish private connectivity. It will be of the form projects/{project-id}/regions/{region}/networkAttachments/{network-attachment-id}.", +"type": "string" +}, +"unreachableCidrBlock": { +"description": "Optional. Input only. The CIDR block to which the CDF instance can't route traffic to in the consumer project VPC. The size of this block should be at least /25. This range should not overlap with the primary address range of any subnetwork used by the network attachment. This range can be used for other purposes in the consumer VPC as long as there is no requirement for CDF to reach destinations using these addresses. If this value is not provided, the server chooses a non RFC 1918 address range. The format of this field is governed by RFC 4632. Example: 192.168.0.0/25", +"type": "string" +} +}, +"type": "object" +}, +"RecurringTimeWindow": { +"description": "Represents an arbitrary window of time that recurs.", +"id": "RecurringTimeWindow", +"properties": { +"recurrence": { +"description": "Required. An RRULE with format [RFC-5545](https://tools.ietf.org/html/rfc5545#section-3.8.5.3) for how this window reccurs. They go on for the span of time between the start and end time. The only supported FREQ value is \"WEEKLY\". To have something repeat every weekday, use: \"FREQ=WEEKLY;BYDAY=MO,TU,WE,TH,FR\". This specifies how frequently the window starts. To have a 9 am - 5 pm UTC-4 window every weekday, use something like: ``` start time = 2019-01-01T09:00:00-0400 end time = 2019-01-01T17:00:00-0400 recurrence = FREQ=WEEKLY;BYDAY=MO,TU,WE,TH,FR ```", +"type": "string" +}, +"window": { +"$ref": "TimeWindow", +"description": "Required. The window representing the start and end time of recurrences. This field ignores the date components of the provided timestamps. Only the time of day and duration between start and end time are relevant." +} +}, +"type": "object" +}, +"RestartInstanceRequest": { +"description": "Request message for restarting a Data Fusion instance.", +"id": "RestartInstanceRequest", +"properties": {}, +"type": "object" +}, +"SetIamPolicyRequest": { +"description": "Request message for `SetIamPolicy` method.", +"id": "SetIamPolicyRequest", +"properties": { +"policy": { +"$ref": "Policy", +"description": "REQUIRED: The complete policy to be applied to the `resource`. The size of the policy is limited to a few 10s of KB. An empty policy is a valid policy but certain Google Cloud services (such as Projects) might reject them." +}, +"updateMask": { +"description": "OPTIONAL: A FieldMask specifying which fields of the policy to modify. Only the fields in the mask will be modified. If no mask is provided, the following default mask is used: `paths: \"bindings, etag\"`", +"format": "google-fieldmask", +"type": "string" +} +}, +"type": "object" +}, +"Status": { +"description": "The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors).", +"id": "Status", +"properties": { +"code": { +"description": "The status code, which should be an enum value of google.rpc.Code.", +"format": "int32", +"type": "integer" +}, +"details": { +"description": "A list of messages that carry the error details. There is a common set of message types for APIs to use.", +"items": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.", +"type": "string" +} +}, +"type": "object" +}, +"TestIamPermissionsRequest": { +"description": "Request message for `TestIamPermissions` method.", +"id": "TestIamPermissionsRequest", +"properties": { +"permissions": { +"description": "The set of permissions to check for the `resource`. Permissions with wildcards (such as `*` or `storage.*`) are not allowed. For more information see [IAM Overview](https://cloud.google.com/iam/docs/overview#permissions).", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"TestIamPermissionsResponse": { +"description": "Response message for `TestIamPermissions` method.", +"id": "TestIamPermissionsResponse", +"properties": { +"permissions": { +"description": "A subset of `TestPermissionsRequest.permissions` that the caller is allowed.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"TimeWindow": { +"description": "Represents an arbitrary window of time.", +"id": "TimeWindow", +"properties": { +"endTime": { +"description": "Required. The end time of the time window provided in [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) format. The end time should take place after the start time. Example: \"2024-01-02T12:04:06-06:00\"", +"format": "google-datetime", +"type": "string" +}, +"startTime": { +"description": "Required. The start time of the time window provided in [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) format. Example: \"2024-01-01T12:04:06-04:00\"", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"Version": { +"description": "The Data Fusion version. This proto message stores information about certain Data Fusion version, which is used for Data Fusion version upgrade.", +"id": "Version", +"properties": { +"availableFeatures": { +"description": "Represents a list of available feature names for a given version.", +"items": { +"type": "string" +}, +"type": "array" +}, +"defaultVersion": { +"description": "Whether this is currently the default version for Cloud Data Fusion", +"type": "boolean" +}, +"type": { +"description": "Type represents the release availability of the version", +"enum": [ +"TYPE_UNSPECIFIED", +"TYPE_PREVIEW", +"TYPE_GENERAL_AVAILABILITY", +"TYPE_DEPRECATED" +], +"enumDescriptions": [ +"Version does not have availability yet", +"Version is under development and not considered stable", +"Version is available for public use", +"Version is no longer supported." +], +"type": "string" +}, +"versionNumber": { +"description": "The version number of the Data Fusion instance, such as '6.0.1.0'.", +"type": "string" +} +}, +"type": "object" +} +}, +"servicePath": "", +"title": "Cloud Data Fusion API", +"version": "v1", +"version_module": true +} \ No newline at end of file diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/datafusion.v1beta1.json b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/datafusion.v1beta1.json new file mode 100644 index 0000000000000000000000000000000000000000..478cf65f9f5c464dbe3e983852fe5d35169159d5 --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/datafusion.v1beta1.json @@ -0,0 +1,2219 @@ +{ +"auth": { +"oauth2": { +"scopes": { +"https://www.googleapis.com/auth/cloud-platform": { +"description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." +} +} +} +}, +"basePath": "", +"baseUrl": "https://datafusion.googleapis.com/", +"batchPath": "batch", +"canonicalName": "Data Fusion", +"description": "Cloud Data Fusion is a fully-managed, cloud native, enterprise data integration service for quickly building and managing data pipelines. It provides a graphical interface to increase time efficiency and reduce complexity, and allows business users, developers, and data scientists to easily and reliably build scalable data integration solutions to cleanse, prepare, blend, transfer and transform data without having to wrestle with infrastructure.", +"discoveryVersion": "v1", +"documentationLink": "https://cloud.google.com/data-fusion/docs", +"endpoints": [ +{ +"description": "Regional Endpoint", +"endpointUrl": "https://datafusion.africa-south1.rep.googleapis.com/", +"location": "africa-south1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://datafusion.asia-east1.rep.googleapis.com/", +"location": "asia-east1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://datafusion.asia-east2.rep.googleapis.com/", +"location": "asia-east2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://datafusion.asia-northeast1.rep.googleapis.com/", +"location": "asia-northeast1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://datafusion.asia-northeast2.rep.googleapis.com/", +"location": "asia-northeast2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://datafusion.asia-northeast3.rep.googleapis.com/", +"location": "asia-northeast3" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://datafusion.asia-south1.rep.googleapis.com/", +"location": "asia-south1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://datafusion.asia-south2.rep.googleapis.com/", +"location": "asia-south2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://datafusion.asia-southeast1.rep.googleapis.com/", +"location": "asia-southeast1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://datafusion.asia-southeast2.rep.googleapis.com/", +"location": "asia-southeast2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://datafusion.australia-southeast1.rep.googleapis.com/", +"location": "australia-southeast1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://datafusion.australia-southeast2.rep.googleapis.com/", +"location": "australia-southeast2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://datafusion.europe-north1.rep.googleapis.com/", +"location": "europe-north1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://datafusion.europe-north2.rep.googleapis.com/", +"location": "europe-north2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://datafusion.europe-southwest1.rep.googleapis.com/", +"location": "europe-southwest1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://datafusion.europe-west1.rep.googleapis.com/", +"location": "europe-west1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://datafusion.europe-west12.rep.googleapis.com/", +"location": "europe-west12" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://datafusion.europe-west2.rep.googleapis.com/", +"location": "europe-west2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://datafusion.europe-west3.rep.googleapis.com/", +"location": "europe-west3" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://datafusion.europe-west4.rep.googleapis.com/", +"location": "europe-west4" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://datafusion.europe-west6.rep.googleapis.com/", +"location": "europe-west6" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://datafusion.europe-west8.rep.googleapis.com/", +"location": "europe-west8" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://datafusion.europe-west9.rep.googleapis.com/", +"location": "europe-west9" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://datafusion.me-central1.rep.googleapis.com/", +"location": "me-central1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://datafusion.me-central2.rep.googleapis.com/", +"location": "me-central2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://datafusion.me-west1.rep.googleapis.com/", +"location": "me-west1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://datafusion.northamerica-northeast1.rep.googleapis.com/", +"location": "northamerica-northeast1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://datafusion.northamerica-south1.rep.googleapis.com/", +"location": "northamerica-south1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://datafusion.southamerica-east1.rep.googleapis.com/", +"location": "southamerica-east1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://datafusion.southamerica-west1.rep.googleapis.com/", +"location": "southamerica-west1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://datafusion.us-central1.rep.googleapis.com/", +"location": "us-central1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://datafusion.us-east1.rep.googleapis.com/", +"location": "us-east1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://datafusion.us-east4.rep.googleapis.com/", +"location": "us-east4" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://datafusion.us-east5.rep.googleapis.com/", +"location": "us-east5" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://datafusion.us-east7.rep.googleapis.com/", +"location": "us-east7" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://datafusion.us-south1.rep.googleapis.com/", +"location": "us-south1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://datafusion.us-west1.rep.googleapis.com/", +"location": "us-west1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://datafusion.us-west2.rep.googleapis.com/", +"location": "us-west2" +} +], +"fullyEncodeReservedExpansion": true, +"icons": { +"x16": "http://www.google.com/images/icons/product/search-16.gif", +"x32": "http://www.google.com/images/icons/product/search-32.gif" +}, +"id": "datafusion:v1beta1", +"kind": "discovery#restDescription", +"mtlsRootUrl": "https://datafusion.mtls.googleapis.com/", +"name": "datafusion", +"ownerDomain": "google.com", +"ownerName": "Google", +"parameters": { +"$.xgafv": { +"description": "V1 error format.", +"enum": [ +"1", +"2" +], +"enumDescriptions": [ +"v1 error format", +"v2 error format" +], +"location": "query", +"type": "string" +}, +"access_token": { +"description": "OAuth access token.", +"location": "query", +"type": "string" +}, +"alt": { +"default": "json", +"description": "Data format for response.", +"enum": [ +"json", +"media", +"proto" +], +"enumDescriptions": [ +"Responses with Content-Type of application/json", +"Media download with context-dependent Content-Type", +"Responses with Content-Type of application/x-protobuf" +], +"location": "query", +"type": "string" +}, +"callback": { +"description": "JSONP", +"location": "query", +"type": "string" +}, +"fields": { +"description": "Selector specifying which fields to include in a partial response.", +"location": "query", +"type": "string" +}, +"key": { +"description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", +"location": "query", +"type": "string" +}, +"oauth_token": { +"description": "OAuth 2.0 token for the current user.", +"location": "query", +"type": "string" +}, +"prettyPrint": { +"default": "true", +"description": "Returns response with indentations and line breaks.", +"location": "query", +"type": "boolean" +}, +"quotaUser": { +"description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.", +"location": "query", +"type": "string" +}, +"uploadType": { +"description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", +"location": "query", +"type": "string" +}, +"upload_protocol": { +"description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", +"location": "query", +"type": "string" +} +}, +"protocol": "rest", +"resources": { +"projects": { +"resources": { +"locations": { +"methods": { +"get": { +"description": "Gets information about a location.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}", +"httpMethod": "GET", +"id": "datafusion.projects.locations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Resource name for the location.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+name}", +"response": { +"$ref": "Location" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists information about the supported locations for this service.", +"flatPath": "v1beta1/projects/{projectsId}/locations", +"httpMethod": "GET", +"id": "datafusion.projects.locations.list", +"parameterOrder": [ +"name" +], +"parameters": { +"extraLocationTypes": { +"description": "Optional. Do not use this field. It is unsupported and is ignored unless explicitly documented otherwise. This is primarily for internal usage.", +"location": "query", +"repeated": true, +"type": "string" +}, +"filter": { +"description": "A filter to narrow down results to a preferred subset. The filtering language accepts strings like `\"displayName=tokyo\"`, and is documented in more detail in [AIP-160](https://google.aip.dev/160).", +"location": "query", +"type": "string" +}, +"name": { +"description": "The resource that owns the locations collection, if applicable.", +"location": "path", +"pattern": "^projects/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The maximum number of results to return. If not set, the service selects a default.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A page token received from the `next_page_token` field in the response. Send that page token to receive the subsequent page.", +"location": "query", +"type": "string" +} +}, +"path": "v1beta1/{+name}/locations", +"response": { +"$ref": "ListLocationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"removeIamPolicy": { +"description": "Remove IAM policy that is currently set on the given resource.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/{locationsId1}:removeIamPolicy", +"httpMethod": "POST", +"id": "datafusion.projects.locations.removeIamPolicy", +"parameterOrder": [ +"resource" +], +"parameters": { +"resource": { +"description": "Required. The resource on which IAM policy to be removed is attached to.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/.*$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+resource}:removeIamPolicy", +"request": { +"$ref": "RemoveIamPolicyRequest" +}, +"response": { +"$ref": "RemoveIamPolicyResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"instances": { +"methods": { +"create": { +"description": "Creates a new Data Fusion instance in the specified project and location.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/instances", +"httpMethod": "POST", +"id": "datafusion.projects.locations.instances.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"instanceId": { +"description": "Required. The name of the instance to create. Instance name can only contain lowercase alphanumeric characters and hyphens. It must start with a letter and must not end with a hyphen. It can have a maximum of 30 characters.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The instance's project and location in the format projects/{project}/locations/{location}.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+parent}/instances", +"request": { +"$ref": "Instance" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a single Data Fusion instance.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/instances/{instancesId}", +"httpMethod": "DELETE", +"id": "datafusion.projects.locations.instances.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"force": { +"description": "Optional. If set to true, any nested resources from this instance will also be deleted.", +"location": "query", +"type": "boolean" +}, +"name": { +"description": "Required. The instance resource name in the format projects/{project}/locations/{location}/instances/{instance}", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/instances/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets details of a single Data Fusion instance.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/instances/{instancesId}", +"httpMethod": "GET", +"id": "datafusion.projects.locations.instances.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The instance resource name in the format projects/{project}/locations/{location}/instances/{instance}.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/instances/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+name}", +"response": { +"$ref": "Instance" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"getIamPolicy": { +"description": "Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/instances/{instancesId}:getIamPolicy", +"httpMethod": "GET", +"id": "datafusion.projects.locations.instances.getIamPolicy", +"parameterOrder": [ +"resource" +], +"parameters": { +"options.requestedPolicyVersion": { +"description": "Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).", +"format": "int32", +"location": "query", +"type": "integer" +}, +"resource": { +"description": "REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/instances/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+resource}:getIamPolicy", +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists Data Fusion instances in the specified project and location.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/instances", +"httpMethod": "GET", +"id": "datafusion.projects.locations.instances.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "List filter.", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "Sort results. Supported values are \"name\", \"name desc\", or \"\" (unsorted).", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "The maximum number of items to return.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The next_page_token value to use if there are additional results to retrieve for this list request.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The project and location for which to retrieve instance information in the format projects/{project}/locations/{location}. If the location is specified as '-' (wildcard), then all regions available to the project are queried, and the results are aggregated.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+parent}/instances", +"response": { +"$ref": "ListInstancesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates a single Data Fusion instance.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/instances/{instancesId}", +"httpMethod": "PATCH", +"id": "datafusion.projects.locations.instances.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Output only. The name of this instance is in the form of projects/{project}/locations/{location}/instances/{instance}.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/instances/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Field mask is used to specify the fields that the update will overwrite in an instance resource. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask, all the supported fields (labels and options currently) will be overwritten.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1beta1/{+name}", +"request": { +"$ref": "Instance" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"restart": { +"description": "Restart a single Data Fusion instance. At the end of an operation instance is fully restarted.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/instances/{instancesId}:restart", +"httpMethod": "POST", +"id": "datafusion.projects.locations.instances.restart", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of the Data Fusion instance which need to be restarted in the form of projects/{project}/locations/{location}/instances/{instance}", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/instances/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+name}:restart", +"request": { +"$ref": "RestartInstanceRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"setIamPolicy": { +"description": "Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/instances/{instancesId}:setIamPolicy", +"httpMethod": "POST", +"id": "datafusion.projects.locations.instances.setIamPolicy", +"parameterOrder": [ +"resource" +], +"parameters": { +"resource": { +"description": "REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/instances/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+resource}:setIamPolicy", +"request": { +"$ref": "SetIamPolicyRequest" +}, +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"testIamPermissions": { +"description": "Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may \"fail open\" without warning.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/instances/{instancesId}:testIamPermissions", +"httpMethod": "POST", +"id": "datafusion.projects.locations.instances.testIamPermissions", +"parameterOrder": [ +"resource" +], +"parameters": { +"resource": { +"description": "REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/instances/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+resource}:testIamPermissions", +"request": { +"$ref": "TestIamPermissionsRequest" +}, +"response": { +"$ref": "TestIamPermissionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"upgrade": { +"description": "Upgrade a single Data Fusion instance. At the end of an operation instance is fully upgraded.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/instances/{instancesId}:upgrade", +"httpMethod": "POST", +"id": "datafusion.projects.locations.instances.upgrade", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of the Data Fusion instance which need to be upgraded in the form of projects/{project}/locations/{location}/instances/{instance} Instance will be upgraded with the latest stable version of the Data Fusion.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/instances/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+name}:upgrade", +"request": { +"$ref": "UpgradeInstanceRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"dnsPeerings": { +"methods": { +"create": { +"description": "Creates DNS peering on the given resource.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/instances/{instancesId}/dnsPeerings", +"httpMethod": "POST", +"id": "datafusion.projects.locations.instances.dnsPeerings.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"dnsPeeringId": { +"description": "Required. The name of the peering to create.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The resource on which DNS peering will be created.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/instances/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+parent}/dnsPeerings", +"request": { +"$ref": "DnsPeering" +}, +"response": { +"$ref": "DnsPeering" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes DNS peering on the given resource.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/instances/{instancesId}/dnsPeerings/{dnsPeeringsId}", +"httpMethod": "DELETE", +"id": "datafusion.projects.locations.instances.dnsPeerings.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the DNS peering zone to delete. Format: projects/{project}/locations/{location}/instances/{instance}/dnsPeerings/{dns_peering}", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/instances/[^/]+/dnsPeerings/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+name}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists DNS peerings for a given resource.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/instances/{instancesId}/dnsPeerings", +"httpMethod": "GET", +"id": "datafusion.projects.locations.instances.dnsPeerings.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "The maximum number of dns peerings to return. The service may return fewer than this value. If unspecified, at most 50 dns peerings will be returned. The maximum value is 200; values above 200 will be coerced to 200.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A page token, received from a previous `ListDnsPeerings` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListDnsPeerings` must match the call that provided the page token.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent, which owns this collection of dns peerings. Format: projects/{project}/locations/{location}/instances/{instance}", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/instances/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+parent}/dnsPeerings", +"response": { +"$ref": "ListDnsPeeringsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"namespaces": { +"methods": { +"getIamPolicy": { +"description": "Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/instances/{instancesId}/namespaces/{namespacesId}:getIamPolicy", +"httpMethod": "GET", +"id": "datafusion.projects.locations.instances.namespaces.getIamPolicy", +"parameterOrder": [ +"resource" +], +"parameters": { +"options.requestedPolicyVersion": { +"description": "Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).", +"format": "int32", +"location": "query", +"type": "integer" +}, +"resource": { +"description": "REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/instances/[^/]+/namespaces/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+resource}:getIamPolicy", +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "List namespaces in a given instance", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/instances/{instancesId}/namespaces", +"httpMethod": "GET", +"id": "datafusion.projects.locations.instances.namespaces.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "The maximum number of items to return.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The next_page_token value to use if there are additional results to retrieve for this list request.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The instance to list its namespaces.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/instances/[^/]+$", +"required": true, +"type": "string" +}, +"view": { +"description": "By default, only basic information about a namespace is returned (e.g. name). When `NAMESPACE_VIEW_FULL` is specified, additional information associated with a namespace gets returned (e.g. IAM policy set on the namespace)", +"enum": [ +"NAMESPACE_VIEW_UNSPECIFIED", +"NAMESPACE_VIEW_BASIC", +"NAMESPACE_VIEW_FULL" +], +"enumDescriptions": [ +"Default/unset value, which will use BASIC view.", +"Show the most basic metadata of a namespace", +"Returns all metadata of a namespace" +], +"location": "query", +"type": "string" +} +}, +"path": "v1beta1/{+parent}/namespaces", +"response": { +"$ref": "ListNamespacesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"setIamPolicy": { +"description": "Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/instances/{instancesId}/namespaces/{namespacesId}:setIamPolicy", +"httpMethod": "POST", +"id": "datafusion.projects.locations.instances.namespaces.setIamPolicy", +"parameterOrder": [ +"resource" +], +"parameters": { +"resource": { +"description": "REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/instances/[^/]+/namespaces/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+resource}:setIamPolicy", +"request": { +"$ref": "SetIamPolicyRequest" +}, +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"testIamPermissions": { +"description": "Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may \"fail open\" without warning.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/instances/{instancesId}/namespaces/{namespacesId}:testIamPermissions", +"httpMethod": "POST", +"id": "datafusion.projects.locations.instances.namespaces.testIamPermissions", +"parameterOrder": [ +"resource" +], +"parameters": { +"resource": { +"description": "REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/instances/[^/]+/namespaces/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+resource}:testIamPermissions", +"request": { +"$ref": "TestIamPermissionsRequest" +}, +"response": { +"$ref": "TestIamPermissionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +}, +"operations": { +"methods": { +"cancel": { +"description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}:cancel", +"httpMethod": "POST", +"id": "datafusion.projects.locations.operations.cancel", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be cancelled.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+name}:cancel", +"request": { +"$ref": "CancelOperationRequest" +}, +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}", +"httpMethod": "DELETE", +"id": "datafusion.projects.locations.operations.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be deleted.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+name}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}", +"httpMethod": "GET", +"id": "datafusion.projects.locations.operations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/operations", +"httpMethod": "GET", +"id": "datafusion.projects.locations.operations.list", +"parameterOrder": [ +"name" +], +"parameters": { +"filter": { +"description": "The standard list filter.", +"location": "query", +"type": "string" +}, +"name": { +"description": "The name of the operation's parent resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The standard list page size.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The standard list page token.", +"location": "query", +"type": "string" +}, +"returnPartialSuccess": { +"description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `\"projects/example/locations/-\"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1beta1/{+name}/operations", +"response": { +"$ref": "ListOperationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"versions": { +"methods": { +"list": { +"description": "Lists possible versions for Data Fusion instances in the specified project and location.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/versions", +"httpMethod": "GET", +"id": "datafusion.projects.locations.versions.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"latestPatchOnly": { +"description": "Whether or not to return the latest patch of every available minor version. If true, only the latest patch will be returned. Ex. if allowed versions is [6.1.1, 6.1.2, 6.2.0] then response will be [6.1.2, 6.2.0]", +"location": "query", +"type": "boolean" +}, +"pageSize": { +"description": "The maximum number of items to return.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The next_page_token value to use if there are additional results to retrieve for this list request.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The project and location for which to retrieve instance information in the format projects/{project}/locations/{location}.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+parent}/versions", +"response": { +"$ref": "ListAvailableVersionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +} +} +} +}, +"revision": "20260202", +"rootUrl": "https://datafusion.googleapis.com/", +"schemas": { +"Accelerator": { +"description": "Identifies Cloud Data Fusion accelerators for an instance.", +"id": "Accelerator", +"properties": { +"acceleratorType": { +"description": "Optional. The type of an accelator for a Cloud Data Fusion instance.", +"enum": [ +"ACCELERATOR_TYPE_UNSPECIFIED", +"CDC", +"HEALTHCARE", +"CCAI_INSIGHTS", +"CLOUDSEARCH" +], +"enumDescriptions": [ +"Default value, if unspecified.", +"Change Data Capture accelerator for Cloud Data Fusion.", +"Reserved for internal use.", +"Contact Center AI Insights This accelerator is used to enable import and export pipelines custom built to streamline CCAI Insights processing.", +"Reserved for internal use." +], +"type": "string" +}, +"state": { +"description": "Output only. The state of the accelerator.", +"enum": [ +"STATE_UNSPECIFIED", +"ENABLED", +"DISABLED", +"UNKNOWN" +], +"enumDescriptions": [ +"Default value, do not use.", +"Indicates that the accelerator is enabled and available to use.", +"Indicates that the accelerator is disabled and not available to use.", +"Indicates that accelerator state is currently unknown. Requests for enable, disable could be retried while in this state." +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"AuditConfig": { +"description": "Specifies the audit configuration for a service. The configuration determines which permission types are logged, and what identities, if any, are exempted from logging. An AuditConfig must have one or more AuditLogConfigs. If there are AuditConfigs for both `allServices` and a specific service, the union of the two AuditConfigs is used for that service: the log_types specified in each AuditConfig are enabled, and the exempted_members in each AuditLogConfig are exempted. Example Policy with multiple AuditConfigs: { \"audit_configs\": [ { \"service\": \"allServices\", \"audit_log_configs\": [ { \"log_type\": \"DATA_READ\", \"exempted_members\": [ \"user:jose@example.com\" ] }, { \"log_type\": \"DATA_WRITE\" }, { \"log_type\": \"ADMIN_READ\" } ] }, { \"service\": \"sampleservice.googleapis.com\", \"audit_log_configs\": [ { \"log_type\": \"DATA_READ\" }, { \"log_type\": \"DATA_WRITE\", \"exempted_members\": [ \"user:aliya@example.com\" ] } ] } ] } For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also exempts `jose@example.com` from DATA_READ logging, and `aliya@example.com` from DATA_WRITE logging.", +"id": "AuditConfig", +"properties": { +"auditLogConfigs": { +"description": "The configuration for logging of each type of permission.", +"items": { +"$ref": "AuditLogConfig" +}, +"type": "array" +}, +"service": { +"description": "Specifies a service that will be enabled for audit logging. For example, `storage.googleapis.com`, `cloudsql.googleapis.com`. `allServices` is a special value that covers all services.", +"type": "string" +} +}, +"type": "object" +}, +"AuditLogConfig": { +"description": "Provides the configuration for logging a type of permissions. Example: { \"audit_log_configs\": [ { \"log_type\": \"DATA_READ\", \"exempted_members\": [ \"user:jose@example.com\" ] }, { \"log_type\": \"DATA_WRITE\" } ] } This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting jose@example.com from DATA_READ logging.", +"id": "AuditLogConfig", +"properties": { +"exemptedMembers": { +"description": "Specifies the identities that do not cause logging for this type of permission. Follows the same format of Binding.members.", +"items": { +"type": "string" +}, +"type": "array" +}, +"logType": { +"description": "The log type that this config enables.", +"enum": [ +"LOG_TYPE_UNSPECIFIED", +"ADMIN_READ", +"DATA_WRITE", +"DATA_READ" +], +"enumDescriptions": [ +"Default case. Should never be this.", +"Admin reads. Example: CloudIAM getIamPolicy", +"Data writes. Example: CloudSQL Users create", +"Data reads. Example: CloudSQL Users list" +], +"type": "string" +} +}, +"type": "object" +}, +"Binding": { +"description": "Associates `members`, or principals, with a `role`.", +"id": "Binding", +"properties": { +"condition": { +"$ref": "Expr", +"description": "The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies)." +}, +"members": { +"description": "Specifies the principals requesting access for a Google Cloud resource. `members` can have the following values: * `allUsers`: A special identifier that represents anyone who is on the internet; with or without a Google account. * `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service account. Does not include identities that come from external identity providers (IdPs) through identity federation. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `group:{emailid}`: An email address that represents a Google group. For example, `admins@example.com`. * `domain:{domain}`: The G Suite domain (primary) that represents all the users of that domain. For example, `google.com` or `example.com`. * `principal://iam.googleapis.com/locations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}`: A single identity in a workforce identity pool. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/group/{group_id}`: All workforce identities in a group. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/attribute.{attribute_name}/{attribute_value}`: All workforce identities with a specific attribute value. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/*`: All identities in a workforce identity pool. * `principal://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/subject/{subject_attribute_value}`: A single identity in a workload identity pool. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/group/{group_id}`: A workload identity pool group. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/attribute.{attribute_name}/{attribute_value}`: All identities in a workload identity pool with a certain attribute. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/*`: All identities in a workload identity pool. * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a user that has been recently deleted. For example, `alice@example.com?uid=123456789012345678901`. If the user is recovered, this value reverts to `user:{emailid}` and the recovered user retains the role in the binding. * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a service account that has been recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the service account is undeleted, this value reverts to `serviceAccount:{emailid}` and the undeleted service account retains the role in the binding. * `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a Google group that has been recently deleted. For example, `admins@example.com?uid=123456789012345678901`. If the group is recovered, this value reverts to `group:{emailid}` and the recovered group retains the role in the binding. * `deleted:principal://iam.googleapis.com/locations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}`: Deleted single identity in a workforce identity pool. For example, `deleted:principal://iam.googleapis.com/locations/global/workforcePools/my-pool-id/subject/my-subject-attribute-value`.", +"items": { +"type": "string" +}, +"type": "array" +}, +"role": { +"description": "Role that is assigned to the list of `members`, or principals. For example, `roles/viewer`, `roles/editor`, or `roles/owner`. For an overview of the IAM roles and permissions, see the [IAM documentation](https://cloud.google.com/iam/docs/roles-overview). For a list of the available pre-defined roles, see [here](https://cloud.google.com/iam/docs/understanding-roles).", +"type": "string" +} +}, +"type": "object" +}, +"CancelOperationRequest": { +"description": "The request message for Operations.CancelOperation.", +"id": "CancelOperationRequest", +"properties": {}, +"type": "object" +}, +"CryptoKeyConfig": { +"description": "The crypto key configuration. This field is used by the Customer-managed encryption keys (CMEK) feature.", +"id": "CryptoKeyConfig", +"properties": { +"keyReference": { +"description": "Optional. The name of the key which is used to encrypt/decrypt customer data. For key in Cloud KMS, the key should be in the format of `projects/*/locations/*/keyRings/*/cryptoKeys/*`.", +"type": "string" +} +}, +"type": "object" +}, +"DnsPeering": { +"description": "DNS peering configuration. These configurations are used to create DNS peering with the customer Cloud DNS.", +"id": "DnsPeering", +"properties": { +"description": { +"description": "Optional. Optional description of the dns zone.", +"type": "string" +}, +"domain": { +"description": "Required. The dns name suffix of the zone.", +"type": "string" +}, +"name": { +"description": "Identifier. The resource name of the dns peering zone. Format: projects/{project}/locations/{location}/instances/{instance}/dnsPeerings/{dns_peering}", +"type": "string" +}, +"targetNetwork": { +"description": "Optional. Optional target network to which dns peering should happen.", +"type": "string" +}, +"targetProject": { +"description": "Optional. Optional target project to which dns peering should happen.", +"type": "string" +} +}, +"type": "object" +}, +"Empty": { +"description": "A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }", +"id": "Empty", +"properties": {}, +"type": "object" +}, +"EventPublishConfig": { +"description": "Confirguration of PubSubEventWriter.", +"id": "EventPublishConfig", +"properties": { +"enabled": { +"description": "Required. Option to enable Event Publishing.", +"type": "boolean" +}, +"topic": { +"description": "Required. The resource name of the Pub/Sub topic. Format: projects/{project_id}/topics/{topic_id}", +"type": "string" +} +}, +"type": "object" +}, +"Expr": { +"description": "Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: \"Summary size limit\" description: \"Determines if a summary is less than 100 chars\" expression: \"document.summary.size() < 100\" Example (Equality): title: \"Requestor is owner\" description: \"Determines if requestor is the document owner\" expression: \"document.owner == request.auth.claims.email\" Example (Logic): title: \"Public documents\" description: \"Determine whether the document should be publicly visible\" expression: \"document.type != 'private' && document.type != 'internal'\" Example (Data Manipulation): title: \"Notification string\" description: \"Create a notification string with a timestamp.\" expression: \"'New message received at ' + string(document.create_time)\" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information.", +"id": "Expr", +"properties": { +"description": { +"description": "Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI.", +"type": "string" +}, +"expression": { +"description": "Textual representation of an expression in Common Expression Language syntax.", +"type": "string" +}, +"location": { +"description": "Optional. String indicating the location of the expression for error reporting, e.g. a file name and a position in the file.", +"type": "string" +}, +"title": { +"description": "Optional. Title for the expression, i.e. a short string describing its purpose. This can be used e.g. in UIs which allow to enter the expression.", +"type": "string" +} +}, +"type": "object" +}, +"IAMPolicy": { +"description": "IAMPolicy encapsulates the IAM policy name, definition and status of policy fetching.", +"id": "IAMPolicy", +"properties": { +"policy": { +"$ref": "Policy", +"description": "Policy definition if IAM policy fetching is successful, otherwise empty." +}, +"status": { +"$ref": "Status", +"description": "Status of iam policy fetching." +} +}, +"type": "object" +}, +"Instance": { +"description": "Represents a Data Fusion instance.", +"id": "Instance", +"properties": { +"accelerators": { +"description": "Output only. List of accelerators enabled for this CDF instance.", +"items": { +"$ref": "Accelerator" +}, +"readOnly": true, +"type": "array" +}, +"apiEndpoint": { +"description": "Output only. Endpoint on which the REST APIs is accessible.", +"readOnly": true, +"type": "string" +}, +"availableVersion": { +"description": "Output only. Available versions that the instance can be upgraded to using UpdateInstanceRequest.", +"items": { +"$ref": "Version" +}, +"readOnly": true, +"type": "array" +}, +"createTime": { +"description": "Output only. The time the instance was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"cryptoKeyConfig": { +"$ref": "CryptoKeyConfig", +"description": "Optional. The crypto key configuration. This field is used by the Customer-Managed Encryption Keys (CMEK) feature." +}, +"dataplexDataLineageIntegrationEnabled": { +"description": "Optional. Option to enable the Dataplex Lineage Integration feature.", +"type": "boolean" +}, +"dataprocServiceAccount": { +"description": "Optional. User-managed service account to set on Dataproc when Cloud Data Fusion creates Dataproc to run data processing pipelines. This allows users to have fine-grained access control on Dataproc's accesses to cloud resources.", +"type": "string" +}, +"description": { +"description": "Optional. A description of this instance.", +"type": "string" +}, +"disabledReason": { +"description": "Output only. If the instance state is DISABLED, the reason for disabling the instance.", +"items": { +"enum": [ +"DISABLED_REASON_UNSPECIFIED", +"KMS_KEY_ISSUE", +"PROJECT_STATE_OFF" +], +"enumDescriptions": [ +"This is an unknown reason for disabling.", +"The KMS key used by the instance is either revoked or denied access to", +"The consumer project is in a non-ACTIVE state." +], +"type": "string" +}, +"readOnly": true, +"type": "array" +}, +"displayName": { +"description": "Optional. Display name for an instance.", +"type": "string" +}, +"enableRbac": { +"description": "Optional. Option to enable granular role-based access control.", +"type": "boolean" +}, +"enableStackdriverLogging": { +"description": "Optional. Option to enable Dataproc Stackdriver Logging.", +"type": "boolean" +}, +"enableStackdriverMonitoring": { +"description": "Optional. Option to enable Stackdriver Monitoring.", +"type": "boolean" +}, +"enableZoneSeparation": { +"description": "Output only. Option to enable zone separation.", +"readOnly": true, +"type": "boolean" +}, +"eventPublishConfig": { +"$ref": "EventPublishConfig", +"description": "Optional. Option to enable and pass metadata for event publishing." +}, +"gcsBucket": { +"description": "Output only. Cloud Storage bucket generated by Data Fusion in the customer project.", +"readOnly": true, +"type": "string" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "The resource labels for instance to use to annotate any related underlying resources such as Compute Engine VMs. The character '=' is not allowed to be used within the labels.", +"type": "object" +}, +"loggingConfig": { +"$ref": "LoggingConfig", +"description": "Optional. The logging configuration for this instance. This field is supported only in CDF versions 6.11.0 and above." +}, +"maintenanceEvents": { +"description": "Output only. The maintenance events for this instance.", +"items": { +"$ref": "MaintenanceEvent" +}, +"readOnly": true, +"type": "array" +}, +"maintenancePolicy": { +"$ref": "MaintenancePolicy", +"description": "Optional. Configure the maintenance policy for this instance." +}, +"monitoringConfig": { +"$ref": "MonitoringConfig", +"description": "Optional. The monitoring configuration for this instance." +}, +"name": { +"description": "Output only. The name of this instance is in the form of projects/{project}/locations/{location}/instances/{instance}.", +"readOnly": true, +"type": "string" +}, +"networkConfig": { +"$ref": "NetworkConfig", +"description": "Optional. Network configuration options. These are required when a private Data Fusion instance is to be created." +}, +"options": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. Map of additional options used to configure the behavior of Data Fusion instance.", +"type": "object" +}, +"p4ServiceAccount": { +"description": "Output only. Service agent for the customer project.", +"readOnly": true, +"type": "string" +}, +"patchRevision": { +"description": "Optional. Current patch revision of the Data Fusion.", +"type": "string" +}, +"privateInstance": { +"description": "Optional. Specifies whether the Data Fusion instance should be private. If set to true, all Data Fusion nodes will have private IP addresses and will not be able to access the public internet.", +"type": "boolean" +}, +"satisfiesPzi": { +"description": "Output only. Reserved for future use.", +"readOnly": true, +"type": "boolean" +}, +"satisfiesPzs": { +"description": "Output only. Reserved for future use.", +"readOnly": true, +"type": "boolean" +}, +"serviceAccount": { +"deprecated": true, +"description": "Output only. Deprecated. Use tenant_project_id instead to extract the tenant project ID.", +"readOnly": true, +"type": "string" +}, +"serviceEndpoint": { +"description": "Output only. Endpoint on which the Data Fusion UI is accessible.", +"readOnly": true, +"type": "string" +}, +"state": { +"description": "Output only. The current state of this Data Fusion instance.", +"enum": [ +"STATE_UNSPECIFIED", +"CREATING", +"RUNNING", +"FAILED", +"DELETING", +"UPGRADING", +"RESTARTING", +"UPDATING", +"AUTO_UPDATING", +"AUTO_UPGRADING", +"DISABLED", +"ENABLING" +], +"enumDescriptions": [ +"Instance does not have a state yet", +"Instance is being created", +"Instance is running and ready for requests", +"Instance creation failed", +"Instance is being deleted", +"Instance is being upgraded", +"Instance is being restarted", +"Instance is being updated on customer request", +"Instance is being auto-updated", +"Instance is being auto-upgraded", +"Instance is disabled", +"Instance is being enabled." +], +"readOnly": true, +"type": "string" +}, +"stateMessage": { +"description": "Output only. Additional information about the current state of this Data Fusion instance if available.", +"readOnly": true, +"type": "string" +}, +"tags": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. Input only. Immutable. Tag keys/values directly bound to this resource. For example: \"123/environment\": \"production\", \"123/costCenter\": \"marketing\"", +"type": "object" +}, +"tenantProjectId": { +"description": "Output only. The name of the tenant project.", +"readOnly": true, +"type": "string" +}, +"type": { +"description": "Required. Instance type.", +"enum": [ +"TYPE_UNSPECIFIED", +"BASIC", +"ENTERPRISE", +"DEVELOPER" +], +"enumDescriptions": [ +"No type specified. The instance creation will fail.", +"Basic Data Fusion instance. In Basic type, the user will be able to create data pipelines using point and click UI. However, there are certain limitations, such as fewer number of concurrent pipelines, no support for streaming pipelines, etc.", +"Enterprise Data Fusion instance. In Enterprise type, the user will have all features available, such as support for streaming pipelines, unlimited number of concurrent pipelines, etc.", +"Developer Data Fusion instance. In Developer type, the user will have all features available but with restrictive capabilities. This is to help enterprises design and develop their data ingestion and integration pipelines at low cost." +], +"type": "string" +}, +"updateTime": { +"description": "Output only. The time the instance was last updated.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"version": { +"description": "Optional. Current version of Data Fusion.", +"type": "string" +}, +"workforceIdentityServiceEndpoint": { +"description": "Output only. Endpoint on which the Data Fusion UI is accessible to third-party users.", +"readOnly": true, +"type": "string" +}, +"zone": { +"description": "Optional. Name of the zone in which the Data Fusion instance will be created. Only DEVELOPER instances use this field.", +"type": "string" +} +}, +"type": "object" +}, +"ListAvailableVersionsResponse": { +"description": "Response message for the list available versions request.", +"id": "ListAvailableVersionsResponse", +"properties": { +"availableVersions": { +"deprecated": true, +"description": "Represents a list of versions that are supported. Deprecated: Use versions field instead.", +"items": { +"$ref": "Version" +}, +"type": "array" +}, +"nextPageToken": { +"description": "Token to retrieve the next page of results or empty if there are no more results in the list.", +"type": "string" +}, +"versions": { +"description": "Represents a list of all versions.", +"items": { +"$ref": "Version" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListDnsPeeringsResponse": { +"description": "Response message for list DNS peerings.", +"id": "ListDnsPeeringsResponse", +"properties": { +"dnsPeerings": { +"description": "List of dns peering.", +"items": { +"$ref": "DnsPeering" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.", +"type": "string" +} +}, +"type": "object" +}, +"ListInstancesResponse": { +"description": "Response message for the list instance request.", +"id": "ListInstancesResponse", +"properties": { +"instances": { +"description": "Represents a list of Data Fusion instances.", +"items": { +"$ref": "Instance" +}, +"type": "array" +}, +"nextPageToken": { +"description": "Token to retrieve the next page of results or empty if there are no more results in the list.", +"type": "string" +}, +"unreachable": { +"description": "Locations that could not be reached.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListLocationsResponse": { +"description": "The response message for Locations.ListLocations.", +"id": "ListLocationsResponse", +"properties": { +"locations": { +"description": "A list of locations that matches the specified filter in the request.", +"items": { +"$ref": "Location" +}, +"type": "array" +}, +"nextPageToken": { +"description": "The standard List next-page token.", +"type": "string" +} +}, +"type": "object" +}, +"ListNamespacesResponse": { +"description": "List namespaces response.", +"id": "ListNamespacesResponse", +"properties": { +"namespaces": { +"description": "List of namespaces", +"items": { +"$ref": "Namespace" +}, +"type": "array" +}, +"nextPageToken": { +"description": "Token to retrieve the next page of results or empty if there are no more results in the list.", +"type": "string" +} +}, +"type": "object" +}, +"ListOperationsResponse": { +"description": "The response message for Operations.ListOperations.", +"id": "ListOperationsResponse", +"properties": { +"nextPageToken": { +"description": "The standard List next-page token.", +"type": "string" +}, +"operations": { +"description": "A list of operations that matches the specified filter in the request.", +"items": { +"$ref": "Operation" +}, +"type": "array" +}, +"unreachable": { +"description": "Unordered list. Unreachable resources. Populated when the request sets `ListOperationsRequest.return_partial_success` and reads across collections. For example, when attempting to list all resources across all supported locations.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"Location": { +"description": "A resource that represents a Google Cloud location.", +"id": "Location", +"properties": { +"displayName": { +"description": "The friendly name for this location, typically a nearby city name. For example, \"Tokyo\".", +"type": "string" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Cross-service attributes for the location. For example {\"cloud.googleapis.com/region\": \"us-east1\"}", +"type": "object" +}, +"locationId": { +"description": "The canonical id for this location. For example: `\"us-east1\"`.", +"type": "string" +}, +"metadata": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "Service-specific metadata. For example the available capacity at the given location.", +"type": "object" +}, +"name": { +"description": "Resource name for the location, which may vary between implementations. For example: `\"projects/example-project/locations/us-east1\"`", +"type": "string" +} +}, +"type": "object" +}, +"LoggingConfig": { +"description": "Logging configuration for a Data Fusion instance.", +"id": "LoggingConfig", +"properties": { +"enableInstanceV2Logs": { +"description": "Optional. Option to enable the InstanceV2 logging for this instance. This field is supported only in CDF patch revision versions 6.11.1.1 and above.", +"type": "boolean" +}, +"instanceCloudLoggingDisabled": { +"description": "Optional. Option to determine whether instance logs should be written to Cloud Logging. By default, instance logs are written to Cloud Logging.", +"type": "boolean" +} +}, +"type": "object" +}, +"MaintenanceEvent": { +"description": "Represents a maintenance event.", +"id": "MaintenanceEvent", +"properties": { +"endTime": { +"description": "Output only. The end time of the maintenance event provided in [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) format. Example: \"2024-01-02T12:04:06-06:00\" This field will be empty if the maintenance event is not yet complete.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"startTime": { +"description": "Output only. The start time of the maintenance event provided in [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) format. Example: \"2024-01-01T12:04:06-04:00\"", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"state": { +"description": "Output only. The state of the maintenance event.", +"enum": [ +"STATE_UNSPECIFIED", +"SCHEDULED", +"STARTED", +"COMPLETED" +], +"enumDescriptions": [ +"The state of the maintenance event is unspecified.", +"The maintenance is scheduled but has not started.", +"The maintenance has been started.", +"The maintenance has been completed." +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"MaintenancePolicy": { +"description": "Maintenance policy of the instance.", +"id": "MaintenancePolicy", +"properties": { +"maintenanceExclusionWindow": { +"$ref": "TimeWindow", +"description": "Optional. The maintenance exclusion window of the instance." +}, +"maintenanceWindow": { +"$ref": "MaintenanceWindow", +"description": "Optional. The maintenance window of the instance." +} +}, +"type": "object" +}, +"MaintenanceWindow": { +"description": "Maintenance window of the instance.", +"id": "MaintenanceWindow", +"properties": { +"recurringTimeWindow": { +"$ref": "RecurringTimeWindow", +"description": "Required. The recurring time window of the maintenance window." +} +}, +"type": "object" +}, +"MonitoringConfig": { +"description": "Monitoring configuration for a Data Fusion instance.", +"id": "MonitoringConfig", +"properties": { +"enableInstanceV2Metrics": { +"description": "Optional. Option to enable the instance v2 metrics for this instance. This field is supported only in CDF versions 6.11.1.1 and above.", +"type": "boolean" +} +}, +"type": "object" +}, +"Namespace": { +"description": "Represents the information of a namespace", +"id": "Namespace", +"properties": { +"iamPolicy": { +"$ref": "IAMPolicy", +"description": "IAM policy associated with this namespace." +}, +"name": { +"description": "Name of the given namespace.", +"type": "string" +} +}, +"type": "object" +}, +"NetworkConfig": { +"description": "Network configuration for a Data Fusion instance. These configurations are used for peering with the customer network. Configurations are optional when a public Data Fusion instance is to be created. However, providing these configurations allows several benefits, such as reduced network latency while accessing the customer resources from managed Data Fusion instance nodes, as well as access to the customer on-prem resources.", +"id": "NetworkConfig", +"properties": { +"connectionType": { +"description": "Optional. Type of connection for establishing private IP connectivity between the Data Fusion customer project VPC and the corresponding tenant project from a predefined list of available connection modes. If this field is unspecified for a private instance, VPC peering is used.", +"enum": [ +"CONNECTION_TYPE_UNSPECIFIED", +"VPC_PEERING", +"PRIVATE_SERVICE_CONNECT_INTERFACES" +], +"enumDescriptions": [ +"No specific connection type was requested, the default value of VPC_PEERING is chosen.", +"Requests the use of VPC peerings for connecting the consumer and tenant projects.", +"Requests the use of Private Service Connect Interfaces for connecting the consumer and tenant projects." +], +"type": "string" +}, +"ipAllocation": { +"description": "Optional. The IP range in CIDR notation to use for the managed Data Fusion instance nodes. This range must not overlap with any other ranges used in the Data Fusion instance network. This is required only when using connection type VPC_PEERING. Format: a.b.c.d/22 Example: 192.168.0.0/22", +"type": "string" +}, +"network": { +"description": "Optional. Name of the network in the customer project with which the Tenant Project will be peered for executing pipelines. In case of shared VPC where the network resides in another host project the network should specified in the form of projects/{host-project-id}/global/networks/{network}. This is only required for connectivity type VPC_PEERING.", +"type": "string" +}, +"privateServiceConnectConfig": { +"$ref": "PrivateServiceConnectConfig", +"description": "Optional. Configuration for Private Service Connect. This is required only when using connection type PRIVATE_SERVICE_CONNECT_INTERFACES." +} +}, +"type": "object" +}, +"Operation": { +"description": "This resource represents a long-running operation that is the result of a network API call.", +"id": "Operation", +"properties": { +"done": { +"description": "If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.", +"type": "boolean" +}, +"error": { +"$ref": "Status", +"description": "The error result of the operation in case of failure or cancellation." +}, +"metadata": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.", +"type": "object" +}, +"name": { +"description": "The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.", +"type": "string" +}, +"response": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "The normal, successful response of the operation. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.", +"type": "object" +} +}, +"type": "object" +}, +"OperationMetadata": { +"description": "Represents the metadata of a long-running operation.", +"id": "OperationMetadata", +"properties": { +"additionalStatus": { +"additionalProperties": { +"type": "string" +}, +"description": "Map to hold any additional status info for the operation If there is an accelerator being enabled/disabled/deleted, this will be populated with accelerator name as key and status as ENABLING, DISABLING or DELETING", +"type": "object" +}, +"apiVersion": { +"description": "API version used to start the operation.", +"type": "string" +}, +"createTime": { +"description": "The time the operation was created.", +"format": "google-datetime", +"type": "string" +}, +"endTime": { +"description": "The time the operation finished running.", +"format": "google-datetime", +"type": "string" +}, +"requestedCancellation": { +"description": "Identifies whether the user has requested cancellation of the operation. Operations that have successfully been cancelled have Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.", +"type": "boolean" +}, +"statusDetail": { +"description": "Human-readable status of the operation if any.", +"type": "string" +}, +"target": { +"description": "Server-defined resource path for the target of the operation.", +"type": "string" +}, +"verb": { +"description": "Name of the verb executed by the operation.", +"type": "string" +} +}, +"type": "object" +}, +"Policy": { +"description": "An Identity and Access Management (IAM) policy, which specifies access controls for Google Cloud resources. A `Policy` is a collection of `bindings`. A `binding` binds one or more `members`, or principals, to a single `role`. Principals can be user accounts, service accounts, Google groups, and domains (such as G Suite). A `role` is a named list of permissions; each `role` can be an IAM predefined role or a user-created custom role. For some types of Google Cloud resources, a `binding` can also specify a `condition`, which is a logical expression that allows access to a resource only if the expression evaluates to `true`. A condition can add constraints based on attributes of the request, the resource, or both. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). **JSON example:** ``` { \"bindings\": [ { \"role\": \"roles/resourcemanager.organizationAdmin\", \"members\": [ \"user:mike@example.com\", \"group:admins@example.com\", \"domain:google.com\", \"serviceAccount:my-project-id@appspot.gserviceaccount.com\" ] }, { \"role\": \"roles/resourcemanager.organizationViewer\", \"members\": [ \"user:eve@example.com\" ], \"condition\": { \"title\": \"expirable access\", \"description\": \"Does not grant access after Sep 2020\", \"expression\": \"request.time < timestamp('2020-10-01T00:00:00.000Z')\", } } ], \"etag\": \"BwWWja0YfJA=\", \"version\": 3 } ``` **YAML example:** ``` bindings: - members: - user:mike@example.com - group:admins@example.com - domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.com role: roles/resourcemanager.organizationViewer condition: title: expirable access description: Does not grant access after Sep 2020 expression: request.time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 ``` For a description of IAM and its features, see the [IAM documentation](https://cloud.google.com/iam/docs/).", +"id": "Policy", +"properties": { +"auditConfigs": { +"description": "Specifies cloud audit logging configuration for this policy.", +"items": { +"$ref": "AuditConfig" +}, +"type": "array" +}, +"bindings": { +"description": "Associates a list of `members`, or principals, with a `role`. Optionally, may specify a `condition` that determines how and when the `bindings` are applied. Each of the `bindings` must contain at least one principal. The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250 of these principals can be Google groups. Each occurrence of a principal counts towards these limits. For example, if the `bindings` grant 50 different roles to `user:alice@example.com`, and not to any other principal, then you can add another 1,450 principals to the `bindings` in the `Policy`.", +"items": { +"$ref": "Binding" +}, +"type": "array" +}, +"etag": { +"description": "`etag` is used for optimistic concurrency control as a way to help prevent simultaneous updates of a policy from overwriting each other. It is strongly suggested that systems make use of the `etag` in the read-modify-write cycle to perform policy updates in order to avoid race conditions: An `etag` is returned in the response to `getIamPolicy`, and systems are expected to put that etag in the request to `setIamPolicy` to ensure that their change will be applied to the same version of the policy. **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost.", +"format": "byte", +"type": "string" +}, +"version": { +"description": "Specifies the format of the policy. Valid values are `0`, `1`, and `3`. Requests that specify an invalid value are rejected. Any operation that affects conditional role bindings must specify version `3`. This requirement applies to the following operations: * Getting a policy that includes a conditional role binding * Adding a conditional role binding to a policy * Changing a conditional role binding in a policy * Removing any role binding, with or without a condition, from a policy that includes conditions **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost. If a policy does not include any conditions, operations on that policy may specify any valid version or leave the field unset. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"PrivateServiceConnectConfig": { +"description": "Configuration for using Private Service Connect to establish connectivity between the Data Fusion consumer project and the corresponding tenant project.", +"id": "PrivateServiceConnectConfig", +"properties": { +"effectiveUnreachableCidrBlock": { +"description": "Output only. The CIDR block to which the CDF instance can't route traffic to in the consumer project VPC. The size of this block is /25. The format of this field is governed by RFC 4632. Example: 240.0.0.0/25", +"readOnly": true, +"type": "string" +}, +"networkAttachment": { +"description": "Required. The reference to the network attachment used to establish private connectivity. It will be of the form projects/{project-id}/regions/{region}/networkAttachments/{network-attachment-id}.", +"type": "string" +}, +"unreachableCidrBlock": { +"description": "Optional. Input only. The CIDR block to which the CDF instance can't route traffic to in the consumer project VPC. The size of this block should be at least /25. This range should not overlap with the primary address range of any subnetwork used by the network attachment. This range can be used for other purposes in the consumer VPC as long as there is no requirement for CDF to reach destinations using these addresses. If this value is not provided, the server chooses a non RFC 1918 address range. The format of this field is governed by RFC 4632. Example: 192.168.0.0/25", +"type": "string" +} +}, +"type": "object" +}, +"RecurringTimeWindow": { +"description": "Represents an arbitrary window of time that recurs.", +"id": "RecurringTimeWindow", +"properties": { +"recurrence": { +"description": "Required. An RRULE with format [RFC-5545](https://tools.ietf.org/html/rfc5545#section-3.8.5.3) for how this window reccurs. They go on for the span of time between the start and end time. The only supported FREQ value is \"WEEKLY\". To have something repeat every weekday, use: \"FREQ=WEEKLY;BYDAY=MO,TU,WE,TH,FR\". This specifies how frequently the window starts. To have a 9 am - 5 pm UTC-4 window every weekday, use something like: ``` start time = 2019-01-01T09:00:00-0400 end time = 2019-01-01T17:00:00-0400 recurrence = FREQ=WEEKLY;BYDAY=MO,TU,WE,TH,FR ```", +"type": "string" +}, +"window": { +"$ref": "TimeWindow", +"description": "Required. The window representing the start and end time of recurrences. This field ignores the date components of the provided timestamps. Only the time of day and duration between start and end time are relevant." +} +}, +"type": "object" +}, +"RemoveIamPolicyRequest": { +"description": "Request message for RemoveIamPolicy method.", +"id": "RemoveIamPolicyRequest", +"properties": {}, +"type": "object" +}, +"RemoveIamPolicyResponse": { +"description": "Response message for RemoveIamPolicy method.", +"id": "RemoveIamPolicyResponse", +"properties": {}, +"type": "object" +}, +"RestartInstanceRequest": { +"description": "Request message for restarting a Data Fusion instance.", +"id": "RestartInstanceRequest", +"properties": {}, +"type": "object" +}, +"SetIamPolicyRequest": { +"description": "Request message for `SetIamPolicy` method.", +"id": "SetIamPolicyRequest", +"properties": { +"policy": { +"$ref": "Policy", +"description": "REQUIRED: The complete policy to be applied to the `resource`. The size of the policy is limited to a few 10s of KB. An empty policy is a valid policy but certain Google Cloud services (such as Projects) might reject them." +}, +"updateMask": { +"description": "OPTIONAL: A FieldMask specifying which fields of the policy to modify. Only the fields in the mask will be modified. If no mask is provided, the following default mask is used: `paths: \"bindings, etag\"`", +"format": "google-fieldmask", +"type": "string" +} +}, +"type": "object" +}, +"Status": { +"description": "The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors).", +"id": "Status", +"properties": { +"code": { +"description": "The status code, which should be an enum value of google.rpc.Code.", +"format": "int32", +"type": "integer" +}, +"details": { +"description": "A list of messages that carry the error details. There is a common set of message types for APIs to use.", +"items": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.", +"type": "string" +} +}, +"type": "object" +}, +"TestIamPermissionsRequest": { +"description": "Request message for `TestIamPermissions` method.", +"id": "TestIamPermissionsRequest", +"properties": { +"permissions": { +"description": "The set of permissions to check for the `resource`. Permissions with wildcards (such as `*` or `storage.*`) are not allowed. For more information see [IAM Overview](https://cloud.google.com/iam/docs/overview#permissions).", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"TestIamPermissionsResponse": { +"description": "Response message for `TestIamPermissions` method.", +"id": "TestIamPermissionsResponse", +"properties": { +"permissions": { +"description": "A subset of `TestPermissionsRequest.permissions` that the caller is allowed.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"TimeWindow": { +"description": "Represents an arbitrary window of time.", +"id": "TimeWindow", +"properties": { +"endTime": { +"description": "Required. The end time of the time window provided in [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) format. The end time should take place after the start time. Example: \"2024-01-02T12:04:06-06:00\"", +"format": "google-datetime", +"type": "string" +}, +"startTime": { +"description": "Required. The start time of the time window provided in [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) format. Example: \"2024-01-01T12:04:06-04:00\"", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"UpgradeInstanceRequest": { +"description": "Request message for upgrading a Data Fusion instance. To change the instance properties, instance update should be used.", +"id": "UpgradeInstanceRequest", +"properties": {}, +"type": "object" +}, +"Version": { +"description": "The Data Fusion version.", +"id": "Version", +"properties": { +"availableFeatures": { +"description": "Represents a list of available feature names for a given version.", +"items": { +"type": "string" +}, +"type": "array" +}, +"defaultVersion": { +"description": "Whether this is currently the default version for Cloud Data Fusion", +"type": "boolean" +}, +"type": { +"description": "Type represents the release availability of the version", +"enum": [ +"TYPE_UNSPECIFIED", +"TYPE_PREVIEW", +"TYPE_GENERAL_AVAILABILITY", +"TYPE_DEPRECATED" +], +"enumDescriptions": [ +"Version does not have availability yet", +"Version is under development and not considered stable", +"Version is available for public use", +"Version is no longer supported." +], +"type": "string" +}, +"versionNumber": { +"description": "The version number of the Data Fusion instance, such as '6.0.1.0'.", +"type": "string" +} +}, +"type": "object" +} +}, +"servicePath": "", +"title": "Cloud Data Fusion API", +"version": "v1beta1", +"version_module": true +} \ No newline at end of file diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/datalabeling.v1beta1.json b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/datalabeling.v1beta1.json new file mode 100644 index 0000000000000000000000000000000000000000..2e08877ccf18f0835e59091e92d7e874ae3a73c7 --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/datalabeling.v1beta1.json @@ -0,0 +1,5672 @@ +{ +"auth": { +"oauth2": { +"scopes": { +"https://www.googleapis.com/auth/cloud-platform": { +"description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." +} +} +} +}, +"basePath": "", +"baseUrl": "https://datalabeling.googleapis.com/", +"batchPath": "batch", +"canonicalName": "Data Labeling", +"description": "Public API for Google Cloud AI Data Labeling Service.", +"discoveryVersion": "v1", +"documentationLink": "https://cloud.google.com/data-labeling/docs/", +"fullyEncodeReservedExpansion": true, +"icons": { +"x16": "http://www.google.com/images/icons/product/search-16.gif", +"x32": "http://www.google.com/images/icons/product/search-32.gif" +}, +"id": "datalabeling:v1beta1", +"kind": "discovery#restDescription", +"mtlsRootUrl": "https://datalabeling.mtls.googleapis.com/", +"name": "datalabeling", +"ownerDomain": "google.com", +"ownerName": "Google", +"parameters": { +"$.xgafv": { +"description": "V1 error format.", +"enum": [ +"1", +"2" +], +"enumDescriptions": [ +"v1 error format", +"v2 error format" +], +"location": "query", +"type": "string" +}, +"access_token": { +"description": "OAuth access token.", +"location": "query", +"type": "string" +}, +"alt": { +"default": "json", +"description": "Data format for response.", +"enum": [ +"json", +"media", +"proto" +], +"enumDescriptions": [ +"Responses with Content-Type of application/json", +"Media download with context-dependent Content-Type", +"Responses with Content-Type of application/x-protobuf" +], +"location": "query", +"type": "string" +}, +"callback": { +"description": "JSONP", +"location": "query", +"type": "string" +}, +"fields": { +"description": "Selector specifying which fields to include in a partial response.", +"location": "query", +"type": "string" +}, +"key": { +"description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", +"location": "query", +"type": "string" +}, +"oauth_token": { +"description": "OAuth 2.0 token for the current user.", +"location": "query", +"type": "string" +}, +"prettyPrint": { +"default": "true", +"description": "Returns response with indentations and line breaks.", +"location": "query", +"type": "boolean" +}, +"quotaUser": { +"description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.", +"location": "query", +"type": "string" +}, +"uploadType": { +"description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", +"location": "query", +"type": "string" +}, +"upload_protocol": { +"description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", +"location": "query", +"type": "string" +} +}, +"protocol": "rest", +"resources": { +"projects": { +"resources": { +"annotationSpecSets": { +"methods": { +"create": { +"description": "Creates an annotation spec set by providing a set of labels.", +"flatPath": "v1beta1/projects/{projectsId}/annotationSpecSets", +"httpMethod": "POST", +"id": "datalabeling.projects.annotationSpecSets.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. AnnotationSpecSet resource parent, format: projects/{project_id}", +"location": "path", +"pattern": "^projects/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+parent}/annotationSpecSets", +"request": { +"$ref": "GoogleCloudDatalabelingV1beta1CreateAnnotationSpecSetRequest" +}, +"response": { +"$ref": "GoogleCloudDatalabelingV1beta1AnnotationSpecSet" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes an annotation spec set by resource name.", +"flatPath": "v1beta1/projects/{projectsId}/annotationSpecSets/{annotationSpecSetsId}", +"httpMethod": "DELETE", +"id": "datalabeling.projects.annotationSpecSets.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. AnnotationSpec resource name, format: `projects/{project_id}/annotationSpecSets/{annotation_spec_set_id}`.", +"location": "path", +"pattern": "^projects/[^/]+/annotationSpecSets/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+name}", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets an annotation spec set by resource name.", +"flatPath": "v1beta1/projects/{projectsId}/annotationSpecSets/{annotationSpecSetsId}", +"httpMethod": "GET", +"id": "datalabeling.projects.annotationSpecSets.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. AnnotationSpecSet resource name, format: projects/{project_id}/annotationSpecSets/{annotation_spec_set_id}", +"location": "path", +"pattern": "^projects/[^/]+/annotationSpecSets/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+name}", +"response": { +"$ref": "GoogleCloudDatalabelingV1beta1AnnotationSpecSet" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists annotation spec sets for a project. Pagination is supported.", +"flatPath": "v1beta1/projects/{projectsId}/annotationSpecSets", +"httpMethod": "GET", +"id": "datalabeling.projects.annotationSpecSets.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Optional. Filter is not supported at this moment.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Optional. Requested page size. Server may return fewer results than requested. Default value is 100.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. A token identifying a page of results for the server to return. Typically obtained by ListAnnotationSpecSetsResponse.next_page_token of the previous [DataLabelingService.ListAnnotationSpecSets] call. Return first page if empty.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. Parent of AnnotationSpecSet resource, format: projects/{project_id}", +"location": "path", +"pattern": "^projects/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+parent}/annotationSpecSets", +"response": { +"$ref": "GoogleCloudDatalabelingV1beta1ListAnnotationSpecSetsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"datasets": { +"methods": { +"create": { +"description": " Creates dataset. If success return a Dataset resource.", +"flatPath": "v1beta1/projects/{projectsId}/datasets", +"httpMethod": "POST", +"id": "datalabeling.projects.datasets.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. Dataset resource parent, format: projects/{project_id}", +"location": "path", +"pattern": "^projects/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+parent}/datasets", +"request": { +"$ref": "GoogleCloudDatalabelingV1beta1CreateDatasetRequest" +}, +"response": { +"$ref": "GoogleCloudDatalabelingV1beta1Dataset" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a dataset by resource name.", +"flatPath": "v1beta1/projects/{projectsId}/datasets/{datasetsId}", +"httpMethod": "DELETE", +"id": "datalabeling.projects.datasets.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Dataset resource name, format: projects/{project_id}/datasets/{dataset_id}", +"location": "path", +"pattern": "^projects/[^/]+/datasets/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+name}", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"exportData": { +"description": "Exports data and annotations from dataset.", +"flatPath": "v1beta1/projects/{projectsId}/datasets/{datasetsId}:exportData", +"httpMethod": "POST", +"id": "datalabeling.projects.datasets.exportData", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Dataset resource name, format: projects/{project_id}/datasets/{dataset_id}", +"location": "path", +"pattern": "^projects/[^/]+/datasets/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+name}:exportData", +"request": { +"$ref": "GoogleCloudDatalabelingV1beta1ExportDataRequest" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets dataset by resource name.", +"flatPath": "v1beta1/projects/{projectsId}/datasets/{datasetsId}", +"httpMethod": "GET", +"id": "datalabeling.projects.datasets.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Dataset resource name, format: projects/{project_id}/datasets/{dataset_id}", +"location": "path", +"pattern": "^projects/[^/]+/datasets/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+name}", +"response": { +"$ref": "GoogleCloudDatalabelingV1beta1Dataset" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"importData": { +"description": "Imports data into dataset based on source locations defined in request. It can be called multiple times for the same dataset. Each dataset can only have one long running operation running on it. For example, no labeling task (also long running operation) can be started while importing is still ongoing. Vice versa.", +"flatPath": "v1beta1/projects/{projectsId}/datasets/{datasetsId}:importData", +"httpMethod": "POST", +"id": "datalabeling.projects.datasets.importData", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Dataset resource name, format: projects/{project_id}/datasets/{dataset_id}", +"location": "path", +"pattern": "^projects/[^/]+/datasets/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+name}:importData", +"request": { +"$ref": "GoogleCloudDatalabelingV1beta1ImportDataRequest" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists datasets under a project. Pagination is supported.", +"flatPath": "v1beta1/projects/{projectsId}/datasets", +"httpMethod": "GET", +"id": "datalabeling.projects.datasets.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Optional. Filter on dataset is not supported at this moment.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Optional. Requested page size. Server may return fewer results than requested. Default value is 100.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. A token identifying a page of results for the server to return. Typically obtained by ListDatasetsResponse.next_page_token of the previous [DataLabelingService.ListDatasets] call. Returns the first page if empty.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. Dataset resource parent, format: projects/{project_id}", +"location": "path", +"pattern": "^projects/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+parent}/datasets", +"response": { +"$ref": "GoogleCloudDatalabelingV1beta1ListDatasetsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"annotatedDatasets": { +"methods": { +"delete": { +"description": "Deletes an annotated dataset by resource name.", +"flatPath": "v1beta1/projects/{projectsId}/datasets/{datasetsId}/annotatedDatasets/{annotatedDatasetsId}", +"httpMethod": "DELETE", +"id": "datalabeling.projects.datasets.annotatedDatasets.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of the annotated dataset to delete, format: projects/{project_id}/datasets/{dataset_id}/annotatedDatasets/ {annotated_dataset_id}", +"location": "path", +"pattern": "^projects/[^/]+/datasets/[^/]+/annotatedDatasets/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+name}", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets an annotated dataset by resource name.", +"flatPath": "v1beta1/projects/{projectsId}/datasets/{datasetsId}/annotatedDatasets/{annotatedDatasetsId}", +"httpMethod": "GET", +"id": "datalabeling.projects.datasets.annotatedDatasets.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of the annotated dataset to get, format: projects/{project_id}/datasets/{dataset_id}/annotatedDatasets/ {annotated_dataset_id}", +"location": "path", +"pattern": "^projects/[^/]+/datasets/[^/]+/annotatedDatasets/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+name}", +"response": { +"$ref": "GoogleCloudDatalabelingV1beta1AnnotatedDataset" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists annotated datasets for a dataset. Pagination is supported.", +"flatPath": "v1beta1/projects/{projectsId}/datasets/{datasetsId}/annotatedDatasets", +"httpMethod": "GET", +"id": "datalabeling.projects.datasets.annotatedDatasets.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Optional. Filter is not supported at this moment.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Optional. Requested page size. Server may return fewer results than requested. Default value is 100.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. A token identifying a page of results for the server to return. Typically obtained by ListAnnotatedDatasetsResponse.next_page_token of the previous [DataLabelingService.ListAnnotatedDatasets] call. Return first page if empty.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. Name of the dataset to list annotated datasets, format: projects/{project_id}/datasets/{dataset_id}", +"location": "path", +"pattern": "^projects/[^/]+/datasets/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+parent}/annotatedDatasets", +"response": { +"$ref": "GoogleCloudDatalabelingV1beta1ListAnnotatedDatasetsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"dataItems": { +"methods": { +"get": { +"description": "Gets a data item in a dataset by resource name. This API can be called after data are imported into dataset.", +"flatPath": "v1beta1/projects/{projectsId}/datasets/{datasetsId}/annotatedDatasets/{annotatedDatasetsId}/dataItems/{dataItemsId}", +"httpMethod": "GET", +"id": "datalabeling.projects.datasets.annotatedDatasets.dataItems.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the data item to get, format: projects/{project_id}/datasets/{dataset_id}/dataItems/{data_item_id}", +"location": "path", +"pattern": "^projects/[^/]+/datasets/[^/]+/annotatedDatasets/[^/]+/dataItems/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+name}", +"response": { +"$ref": "GoogleCloudDatalabelingV1beta1DataItem" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists data items in a dataset. This API can be called after data are imported into dataset. Pagination is supported.", +"flatPath": "v1beta1/projects/{projectsId}/datasets/{datasetsId}/annotatedDatasets/{annotatedDatasetsId}/dataItems", +"httpMethod": "GET", +"id": "datalabeling.projects.datasets.annotatedDatasets.dataItems.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Optional. Filter is not supported at this moment.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Optional. Requested page size. Server may return fewer results than requested. Default value is 100.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. A token identifying a page of results for the server to return. Typically obtained by ListDataItemsResponse.next_page_token of the previous [DataLabelingService.ListDataItems] call. Return first page if empty.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. Name of the dataset to list data items, format: projects/{project_id}/datasets/{dataset_id}", +"location": "path", +"pattern": "^projects/[^/]+/datasets/[^/]+/annotatedDatasets/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+parent}/dataItems", +"response": { +"$ref": "GoogleCloudDatalabelingV1beta1ListDataItemsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"examples": { +"methods": { +"get": { +"description": "Gets an example by resource name, including both data and annotation.", +"flatPath": "v1beta1/projects/{projectsId}/datasets/{datasetsId}/annotatedDatasets/{annotatedDatasetsId}/examples/{examplesId}", +"httpMethod": "GET", +"id": "datalabeling.projects.datasets.annotatedDatasets.examples.get", +"parameterOrder": [ +"name" +], +"parameters": { +"filter": { +"description": "Optional. An expression for filtering Examples. Filter by annotation_spec.display_name is supported. Format \"annotation_spec.display_name = {display_name}\"", +"location": "query", +"type": "string" +}, +"name": { +"description": "Required. Name of example, format: projects/{project_id}/datasets/{dataset_id}/annotatedDatasets/ {annotated_dataset_id}/examples/{example_id}", +"location": "path", +"pattern": "^projects/[^/]+/datasets/[^/]+/annotatedDatasets/[^/]+/examples/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+name}", +"response": { +"$ref": "GoogleCloudDatalabelingV1beta1Example" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists examples in an annotated dataset. Pagination is supported.", +"flatPath": "v1beta1/projects/{projectsId}/datasets/{datasetsId}/annotatedDatasets/{annotatedDatasetsId}/examples", +"httpMethod": "GET", +"id": "datalabeling.projects.datasets.annotatedDatasets.examples.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Optional. An expression for filtering Examples. For annotated datasets that have annotation spec set, filter by annotation_spec.display_name is supported. Format \"annotation_spec.display_name = {display_name}\"", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Optional. Requested page size. Server may return fewer results than requested. Default value is 100.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. A token identifying a page of results for the server to return. Typically obtained by ListExamplesResponse.next_page_token of the previous [DataLabelingService.ListExamples] call. Return first page if empty.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. Example resource parent.", +"location": "path", +"pattern": "^projects/[^/]+/datasets/[^/]+/annotatedDatasets/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+parent}/examples", +"response": { +"$ref": "GoogleCloudDatalabelingV1beta1ListExamplesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"feedbackThreads": { +"methods": { +"delete": { +"description": "Delete a FeedbackThread.", +"flatPath": "v1beta1/projects/{projectsId}/datasets/{datasetsId}/annotatedDatasets/{annotatedDatasetsId}/feedbackThreads/{feedbackThreadsId}", +"httpMethod": "DELETE", +"id": "datalabeling.projects.datasets.annotatedDatasets.feedbackThreads.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of the FeedbackThread that is going to be deleted. Format: 'projects/{project_id}/datasets/{dataset_id}/annotatedDatasets/{annotated_dataset_id}/feedbackThreads/{feedback_thread_id}'.", +"location": "path", +"pattern": "^projects/[^/]+/datasets/[^/]+/annotatedDatasets/[^/]+/feedbackThreads/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+name}", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": " Get a FeedbackThread object.", +"flatPath": "v1beta1/projects/{projectsId}/datasets/{datasetsId}/annotatedDatasets/{annotatedDatasetsId}/feedbackThreads/{feedbackThreadsId}", +"httpMethod": "GET", +"id": "datalabeling.projects.datasets.annotatedDatasets.feedbackThreads.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of the feedback. Format: 'projects/{project_id}/datasets/{dataset_id}/annotatedDatasets/{annotated_dataset_id}/feedbackThreads/{feedback_thread_id}'.", +"location": "path", +"pattern": "^projects/[^/]+/datasets/[^/]+/annotatedDatasets/[^/]+/feedbackThreads/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+name}", +"response": { +"$ref": "GoogleCloudDatalabelingV1beta1FeedbackThread" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "List FeedbackThreads with pagination.", +"flatPath": "v1beta1/projects/{projectsId}/datasets/{datasetsId}/annotatedDatasets/{annotatedDatasetsId}/feedbackThreads", +"httpMethod": "GET", +"id": "datalabeling.projects.datasets.annotatedDatasets.feedbackThreads.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "Optional. Requested page size. Server may return fewer results than requested. Default value is 100.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. A token identifying a page of results for the server to return. Typically obtained by ListFeedbackThreads.next_page_token of the previous [DataLabelingService.ListFeedbackThreads] call. Return first page if empty.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. FeedbackThread resource parent. Format: \"projects/{project_id}/datasets/{dataset_id}/annotatedDatasets/{annotated_dataset_id}\"", +"location": "path", +"pattern": "^projects/[^/]+/datasets/[^/]+/annotatedDatasets/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+parent}/feedbackThreads", +"response": { +"$ref": "GoogleCloudDatalabelingV1beta1ListFeedbackThreadsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"feedbackMessages": { +"methods": { +"create": { +"description": "Create a FeedbackMessage object.", +"flatPath": "v1beta1/projects/{projectsId}/datasets/{datasetsId}/annotatedDatasets/{annotatedDatasetsId}/feedbackThreads/{feedbackThreadsId}/feedbackMessages", +"httpMethod": "POST", +"id": "datalabeling.projects.datasets.annotatedDatasets.feedbackThreads.feedbackMessages.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. FeedbackMessage resource parent, format: projects/{project_id}/datasets/{dataset_id}/annotatedDatasets/{annotated_dataset_id}/feedbackThreads/{feedback_thread_id}.", +"location": "path", +"pattern": "^projects/[^/]+/datasets/[^/]+/annotatedDatasets/[^/]+/feedbackThreads/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+parent}/feedbackMessages", +"request": { +"$ref": "GoogleCloudDatalabelingV1beta1FeedbackMessage" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Delete a FeedbackMessage.", +"flatPath": "v1beta1/projects/{projectsId}/datasets/{datasetsId}/annotatedDatasets/{annotatedDatasetsId}/feedbackThreads/{feedbackThreadsId}/feedbackMessages/{feedbackMessagesId}", +"httpMethod": "DELETE", +"id": "datalabeling.projects.datasets.annotatedDatasets.feedbackThreads.feedbackMessages.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of the FeedbackMessage that is going to be deleted. Format: 'projects/{project_id}/datasets/{dataset_id}/annotatedDatasets/{annotated_dataset_id}/feedbackThreads/{feedback_thread_id}/feedbackMessages/{feedback_message_id}'.", +"location": "path", +"pattern": "^projects/[^/]+/datasets/[^/]+/annotatedDatasets/[^/]+/feedbackThreads/[^/]+/feedbackMessages/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+name}", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Get a FeedbackMessage object.", +"flatPath": "v1beta1/projects/{projectsId}/datasets/{datasetsId}/annotatedDatasets/{annotatedDatasetsId}/feedbackThreads/{feedbackThreadsId}/feedbackMessages/{feedbackMessagesId}", +"httpMethod": "GET", +"id": "datalabeling.projects.datasets.annotatedDatasets.feedbackThreads.feedbackMessages.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of the feedback. Format: 'projects/{project_id}/datasets/{dataset_id}/annotatedDatasets/{annotated_dataset_id}/feedbackThreads/{feedback_thread_id}/feedbackMessages/{feedback_message_id}'.", +"location": "path", +"pattern": "^projects/[^/]+/datasets/[^/]+/annotatedDatasets/[^/]+/feedbackThreads/[^/]+/feedbackMessages/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+name}", +"response": { +"$ref": "GoogleCloudDatalabelingV1beta1FeedbackMessage" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "List FeedbackMessages with pagination.", +"flatPath": "v1beta1/projects/{projectsId}/datasets/{datasetsId}/annotatedDatasets/{annotatedDatasetsId}/feedbackThreads/{feedbackThreadsId}/feedbackMessages", +"httpMethod": "GET", +"id": "datalabeling.projects.datasets.annotatedDatasets.feedbackThreads.feedbackMessages.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "Optional. Requested page size. Server may return fewer results than requested. Default value is 100.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. A token identifying a page of results for the server to return. Typically obtained by ListFeedbackMessages.next_page_token of the previous [DataLabelingService.ListFeedbackMessages] call. Return first page if empty.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. FeedbackMessage resource parent. Format: \"projects/{project_id}/datasets/{dataset_id}/annotatedDatasets/{annotated_dataset_id}/feedbackThreads/{feedback_thread_id}\"", +"location": "path", +"pattern": "^projects/[^/]+/datasets/[^/]+/annotatedDatasets/[^/]+/feedbackThreads/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+parent}/feedbackMessages", +"response": { +"$ref": "GoogleCloudDatalabelingV1beta1ListFeedbackMessagesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +} +} +}, +"dataItems": { +"methods": { +"get": { +"description": "Gets a data item in a dataset by resource name. This API can be called after data are imported into dataset.", +"flatPath": "v1beta1/projects/{projectsId}/datasets/{datasetsId}/dataItems/{dataItemsId}", +"httpMethod": "GET", +"id": "datalabeling.projects.datasets.dataItems.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the data item to get, format: projects/{project_id}/datasets/{dataset_id}/dataItems/{data_item_id}", +"location": "path", +"pattern": "^projects/[^/]+/datasets/[^/]+/dataItems/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+name}", +"response": { +"$ref": "GoogleCloudDatalabelingV1beta1DataItem" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists data items in a dataset. This API can be called after data are imported into dataset. Pagination is supported.", +"flatPath": "v1beta1/projects/{projectsId}/datasets/{datasetsId}/dataItems", +"httpMethod": "GET", +"id": "datalabeling.projects.datasets.dataItems.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Optional. Filter is not supported at this moment.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Optional. Requested page size. Server may return fewer results than requested. Default value is 100.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. A token identifying a page of results for the server to return. Typically obtained by ListDataItemsResponse.next_page_token of the previous [DataLabelingService.ListDataItems] call. Return first page if empty.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. Name of the dataset to list data items, format: projects/{project_id}/datasets/{dataset_id}", +"location": "path", +"pattern": "^projects/[^/]+/datasets/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+parent}/dataItems", +"response": { +"$ref": "GoogleCloudDatalabelingV1beta1ListDataItemsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"evaluations": { +"methods": { +"get": { +"description": " Gets an evaluation by resource name (to search, use projects.evaluations.search).", +"flatPath": "v1beta1/projects/{projectsId}/datasets/{datasetsId}/evaluations/{evaluationsId}", +"httpMethod": "GET", +"id": "datalabeling.projects.datasets.evaluations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of the evaluation. Format: \"projects/{project_id}/datasets/ {dataset_id}/evaluations/{evaluation_id}'", +"location": "path", +"pattern": "^projects/[^/]+/datasets/[^/]+/evaluations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+name}", +"response": { +"$ref": "GoogleCloudDatalabelingV1beta1Evaluation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"exampleComparisons": { +"methods": { +"search": { +"description": "Searches example comparisons from an evaluation. The return format is a list of example comparisons that show ground truth and prediction(s) for a single input. Search by providing an evaluation ID.", +"flatPath": "v1beta1/projects/{projectsId}/datasets/{datasetsId}/evaluations/{evaluationsId}/exampleComparisons:search", +"httpMethod": "POST", +"id": "datalabeling.projects.datasets.evaluations.exampleComparisons.search", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. Name of the Evaluation resource to search for example comparisons from. Format: \"projects/{project_id}/datasets/{dataset_id}/evaluations/ {evaluation_id}\"", +"location": "path", +"pattern": "^projects/[^/]+/datasets/[^/]+/evaluations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+parent}/exampleComparisons:search", +"request": { +"$ref": "GoogleCloudDatalabelingV1beta1SearchExampleComparisonsRequest" +}, +"response": { +"$ref": "GoogleCloudDatalabelingV1beta1SearchExampleComparisonsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +}, +"image": { +"methods": { +"label": { +"description": " Starts a labeling task for image. The type of image labeling task is configured by feature in the request.", +"flatPath": "v1beta1/projects/{projectsId}/datasets/{datasetsId}/image:label", +"httpMethod": "POST", +"id": "datalabeling.projects.datasets.image.label", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. Name of the dataset to request labeling task, format: projects/{project_id}/datasets/{dataset_id}", +"location": "path", +"pattern": "^projects/[^/]+/datasets/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+parent}/image:label", +"request": { +"$ref": "GoogleCloudDatalabelingV1beta1LabelImageRequest" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"text": { +"methods": { +"label": { +"description": "Starts a labeling task for text. The type of text labeling task is configured by feature in the request.", +"flatPath": "v1beta1/projects/{projectsId}/datasets/{datasetsId}/text:label", +"httpMethod": "POST", +"id": "datalabeling.projects.datasets.text.label", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. Name of the data set to request labeling task, format: projects/{project_id}/datasets/{dataset_id}", +"location": "path", +"pattern": "^projects/[^/]+/datasets/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+parent}/text:label", +"request": { +"$ref": "GoogleCloudDatalabelingV1beta1LabelTextRequest" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"video": { +"methods": { +"label": { +"description": "Starts a labeling task for video. The type of video labeling task is configured by feature in the request.", +"flatPath": "v1beta1/projects/{projectsId}/datasets/{datasetsId}/video:label", +"httpMethod": "POST", +"id": "datalabeling.projects.datasets.video.label", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. Name of the dataset to request labeling task, format: projects/{project_id}/datasets/{dataset_id}", +"location": "path", +"pattern": "^projects/[^/]+/datasets/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+parent}/video:label", +"request": { +"$ref": "GoogleCloudDatalabelingV1beta1LabelVideoRequest" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +}, +"evaluationJobs": { +"methods": { +"create": { +"description": " Creates an evaluation job.", +"flatPath": "v1beta1/projects/{projectsId}/evaluationJobs", +"httpMethod": "POST", +"id": "datalabeling.projects.evaluationJobs.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. Evaluation job resource parent. Format: \"projects/{project_id}\"", +"location": "path", +"pattern": "^projects/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+parent}/evaluationJobs", +"request": { +"$ref": "GoogleCloudDatalabelingV1beta1CreateEvaluationJobRequest" +}, +"response": { +"$ref": "GoogleCloudDatalabelingV1beta1EvaluationJob" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Stops and deletes an evaluation job.", +"flatPath": "v1beta1/projects/{projectsId}/evaluationJobs/{evaluationJobsId}", +"httpMethod": "DELETE", +"id": "datalabeling.projects.evaluationJobs.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of the evaluation job that is going to be deleted. Format: \"projects/{project_id}/evaluationJobs/{evaluation_job_id}\"", +"location": "path", +"pattern": "^projects/[^/]+/evaluationJobs/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+name}", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets an evaluation job by resource name.", +"flatPath": "v1beta1/projects/{projectsId}/evaluationJobs/{evaluationJobsId}", +"httpMethod": "GET", +"id": "datalabeling.projects.evaluationJobs.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of the evaluation job. Format: \"projects/{project_id} /evaluationJobs/{evaluation_job_id}\"", +"location": "path", +"pattern": "^projects/[^/]+/evaluationJobs/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+name}", +"response": { +"$ref": "GoogleCloudDatalabelingV1beta1EvaluationJob" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists all evaluation jobs within a project with possible filters. Pagination is supported.", +"flatPath": "v1beta1/projects/{projectsId}/evaluationJobs", +"httpMethod": "GET", +"id": "datalabeling.projects.evaluationJobs.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Optional. You can filter the jobs to list by model_id (also known as model_name, as described in EvaluationJob.modelVersion) or by evaluation job state (as described in EvaluationJob.state). To filter by both criteria, use the `AND` operator or the `OR` operator. For example, you can use the following string for your filter: \"evaluation_job.model_id = {model_name} AND evaluation_job.state = {evaluation_job_state}\"", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Optional. Requested page size. Server may return fewer results than requested. Default value is 100.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. A token identifying a page of results for the server to return. Typically obtained by the nextPageToken in the response to the previous request. The request returns the first page if this is empty.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. Evaluation job resource parent. Format: \"projects/{project_id}\"", +"location": "path", +"pattern": "^projects/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+parent}/evaluationJobs", +"response": { +"$ref": "GoogleCloudDatalabelingV1beta1ListEvaluationJobsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates an evaluation job. You can only update certain fields of the job's EvaluationJobConfig: `humanAnnotationConfig.instruction`, `exampleCount`, and `exampleSamplePercentage`. If you want to change any other aspect of the evaluation job, you must delete the job and create a new one.", +"flatPath": "v1beta1/projects/{projectsId}/evaluationJobs/{evaluationJobsId}", +"httpMethod": "PATCH", +"id": "datalabeling.projects.evaluationJobs.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Output only. After you create a job, Data Labeling Service assigns a name to the job with the following format: \"projects/{project_id}/evaluationJobs/ {evaluation_job_id}\"", +"location": "path", +"pattern": "^projects/[^/]+/evaluationJobs/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Optional. Mask for which fields to update. You can only provide the following fields: * `evaluationJobConfig.humanAnnotationConfig.instruction` * `evaluationJobConfig.exampleCount` * `evaluationJobConfig.exampleSamplePercentage` You can provide more than one of these fields by separating them with commas.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1beta1/{+name}", +"request": { +"$ref": "GoogleCloudDatalabelingV1beta1EvaluationJob" +}, +"response": { +"$ref": "GoogleCloudDatalabelingV1beta1EvaluationJob" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"pause": { +"description": "Pauses an evaluation job. Pausing an evaluation job that is already in a `PAUSED` state is a no-op.", +"flatPath": "v1beta1/projects/{projectsId}/evaluationJobs/{evaluationJobsId}:pause", +"httpMethod": "POST", +"id": "datalabeling.projects.evaluationJobs.pause", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of the evaluation job that is going to be paused. Format: \"projects/{project_id}/evaluationJobs/{evaluation_job_id}\"", +"location": "path", +"pattern": "^projects/[^/]+/evaluationJobs/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+name}:pause", +"request": { +"$ref": "GoogleCloudDatalabelingV1beta1PauseEvaluationJobRequest" +}, +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"resume": { +"description": "Resumes a paused evaluation job. A deleted evaluation job can't be resumed. Resuming a running or scheduled evaluation job is a no-op.", +"flatPath": "v1beta1/projects/{projectsId}/evaluationJobs/{evaluationJobsId}:resume", +"httpMethod": "POST", +"id": "datalabeling.projects.evaluationJobs.resume", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of the evaluation job that is going to be resumed. Format: \"projects/{project_id}/evaluationJobs/{evaluation_job_id}\"", +"location": "path", +"pattern": "^projects/[^/]+/evaluationJobs/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+name}:resume", +"request": { +"$ref": "GoogleCloudDatalabelingV1beta1ResumeEvaluationJobRequest" +}, +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"evaluations": { +"methods": { +"search": { +"description": "Searches evaluations within a project.", +"flatPath": "v1beta1/projects/{projectsId}/evaluations:search", +"httpMethod": "GET", +"id": "datalabeling.projects.evaluations.search", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Optional. To search evaluations, you can filter by the following: * evaluation_job.evaluation_job_id (the last part of EvaluationJob.name) * evaluation_job.model_id (the {model_name} portion of EvaluationJob.modelVersion) * evaluation_job.evaluation_job_run_time_start (Minimum threshold for the evaluationJobRunTime that created the evaluation) * evaluation_job.evaluation_job_run_time_end (Maximum threshold for the evaluationJobRunTime that created the evaluation) * evaluation_job.job_state (EvaluationJob.state) * annotation_spec.display_name (the Evaluation contains a metric for the annotation spec with this displayName) To filter by multiple critiera, use the `AND` operator or the `OR` operator. The following examples shows a string that filters by several critiera: \"evaluation_job.evaluation_job_id = {evaluation_job_id} AND evaluation_job.model_id = {model_name} AND evaluation_job.evaluation_job_run_time_start = {timestamp_1} AND evaluation_job.evaluation_job_run_time_end = {timestamp_2} AND annotation_spec.display_name = {display_name}\"", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Optional. Requested page size. Server may return fewer results than requested. Default value is 100.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. A token identifying a page of results for the server to return. Typically obtained by the nextPageToken of the response to a previous search request. If you don't specify this field, the API call requests the first page of the search.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. Evaluation search parent (project ID). Format: \"projects/ {project_id}\"", +"location": "path", +"pattern": "^projects/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+parent}/evaluations:search", +"response": { +"$ref": "GoogleCloudDatalabelingV1beta1SearchEvaluationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"instructions": { +"methods": { +"create": { +"description": "Creates an instruction for how data should be labeled.", +"flatPath": "v1beta1/projects/{projectsId}/instructions", +"httpMethod": "POST", +"id": "datalabeling.projects.instructions.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. Instruction resource parent, format: projects/{project_id}", +"location": "path", +"pattern": "^projects/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+parent}/instructions", +"request": { +"$ref": "GoogleCloudDatalabelingV1beta1CreateInstructionRequest" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes an instruction object by resource name.", +"flatPath": "v1beta1/projects/{projectsId}/instructions/{instructionsId}", +"httpMethod": "DELETE", +"id": "datalabeling.projects.instructions.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Instruction resource name, format: projects/{project_id}/instructions/{instruction_id}", +"location": "path", +"pattern": "^projects/[^/]+/instructions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+name}", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets an instruction by resource name.", +"flatPath": "v1beta1/projects/{projectsId}/instructions/{instructionsId}", +"httpMethod": "GET", +"id": "datalabeling.projects.instructions.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Instruction resource name, format: projects/{project_id}/instructions/{instruction_id}", +"location": "path", +"pattern": "^projects/[^/]+/instructions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+name}", +"response": { +"$ref": "GoogleCloudDatalabelingV1beta1Instruction" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists instructions for a project. Pagination is supported.", +"flatPath": "v1beta1/projects/{projectsId}/instructions", +"httpMethod": "GET", +"id": "datalabeling.projects.instructions.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Optional. Filter is not supported at this moment.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Optional. Requested page size. Server may return fewer results than requested. Default value is 100.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. A token identifying a page of results for the server to return. Typically obtained by ListInstructionsResponse.next_page_token of the previous [DataLabelingService.ListInstructions] call. Return first page if empty.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. Instruction resource parent, format: projects/{project_id}", +"location": "path", +"pattern": "^projects/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+parent}/instructions", +"response": { +"$ref": "GoogleCloudDatalabelingV1beta1ListInstructionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"operations": { +"methods": { +"cancel": { +"description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.", +"flatPath": "v1beta1/projects/{projectsId}/operations/{operationsId}:cancel", +"httpMethod": "GET", +"id": "datalabeling.projects.operations.cancel", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be cancelled.", +"location": "path", +"pattern": "^projects/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+name}:cancel", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.", +"flatPath": "v1beta1/projects/{projectsId}/operations/{operationsId}", +"httpMethod": "DELETE", +"id": "datalabeling.projects.operations.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be deleted.", +"location": "path", +"pattern": "^projects/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+name}", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", +"flatPath": "v1beta1/projects/{projectsId}/operations/{operationsId}", +"httpMethod": "GET", +"id": "datalabeling.projects.operations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource.", +"location": "path", +"pattern": "^projects/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+name}", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.", +"flatPath": "v1beta1/projects/{projectsId}/operations", +"httpMethod": "GET", +"id": "datalabeling.projects.operations.list", +"parameterOrder": [ +"name" +], +"parameters": { +"filter": { +"description": "The standard list filter.", +"location": "query", +"type": "string" +}, +"name": { +"description": "The name of the operation's parent resource.", +"location": "path", +"pattern": "^projects/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The standard list page size.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The standard list page token.", +"location": "query", +"type": "string" +}, +"returnPartialSuccess": { +"description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `\"projects/example/locations/-\"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1beta1/{+name}/operations", +"response": { +"$ref": "GoogleLongrunningListOperationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +} +}, +"revision": "20260201", +"rootUrl": "https://datalabeling.googleapis.com/", +"schemas": { +"GoogleCloudDatalabelingV1alpha1CreateInstructionMetadata": { +"description": "Metadata of a CreateInstruction operation.", +"id": "GoogleCloudDatalabelingV1alpha1CreateInstructionMetadata", +"properties": { +"createTime": { +"description": "Timestamp when create instruction request was created.", +"format": "google-datetime", +"type": "string" +}, +"instruction": { +"description": "The name of the created Instruction. projects/{project_id}/instructions/{instruction_id}", +"type": "string" +}, +"partialFailures": { +"description": "Partial failures encountered. E.g. single files that couldn't be read. Status details field will contain standard GCP error details.", +"items": { +"$ref": "GoogleRpcStatus" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDatalabelingV1alpha1ExportDataOperationMetadata": { +"description": "Metadata of an ExportData operation.", +"id": "GoogleCloudDatalabelingV1alpha1ExportDataOperationMetadata", +"properties": { +"annotatedDataset": { +"description": "Output only. The name of annotated dataset in format \"projects/*/datasets/*/annotatedDatasets/*\".", +"type": "string" +}, +"createTime": { +"description": "Output only. Timestamp when export dataset request was created.", +"format": "google-datetime", +"type": "string" +}, +"dataset": { +"description": "Output only. The name of dataset to be exported. \"projects/*/datasets/*\"", +"type": "string" +}, +"partialFailures": { +"description": "Output only. Partial failures encountered. E.g. single files that couldn't be read. Status details field will contain standard GCP error details.", +"items": { +"$ref": "GoogleRpcStatus" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDatalabelingV1alpha1ExportDataOperationResponse": { +"description": "Response used for ExportDataset longrunning operation.", +"id": "GoogleCloudDatalabelingV1alpha1ExportDataOperationResponse", +"properties": { +"annotatedDataset": { +"description": "Output only. The name of annotated dataset in format \"projects/*/datasets/*/annotatedDatasets/*\".", +"type": "string" +}, +"dataset": { +"description": "Ouptut only. The name of dataset. \"projects/*/datasets/*\"", +"type": "string" +}, +"exportCount": { +"description": "Output only. Number of examples exported successfully.", +"format": "int32", +"type": "integer" +}, +"labelStats": { +"$ref": "GoogleCloudDatalabelingV1alpha1LabelStats", +"description": "Output only. Statistic infos of labels in the exported dataset." +}, +"outputConfig": { +"$ref": "GoogleCloudDatalabelingV1alpha1OutputConfig", +"description": "Output only. output_config in the ExportData request." +}, +"totalCount": { +"description": "Output only. Total number of examples requested to export", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"GoogleCloudDatalabelingV1alpha1GcsDestination": { +"description": "Export destination of the data.Only gcs path is allowed in output_uri.", +"id": "GoogleCloudDatalabelingV1alpha1GcsDestination", +"properties": { +"mimeType": { +"description": "Required. The format of the gcs destination. Only \"text/csv\" and \"application/json\" are supported.", +"type": "string" +}, +"outputUri": { +"description": "Required. The output uri of destination file.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDatalabelingV1alpha1GcsFolderDestination": { +"description": "Export folder destination of the data.", +"id": "GoogleCloudDatalabelingV1alpha1GcsFolderDestination", +"properties": { +"outputFolderUri": { +"description": "Required. Cloud Storage directory to export data to.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDatalabelingV1alpha1HumanAnnotationConfig": { +"description": "Configuration for how human labeling task should be done.", +"id": "GoogleCloudDatalabelingV1alpha1HumanAnnotationConfig", +"properties": { +"annotatedDatasetDescription": { +"description": "Optional. A human-readable description for AnnotatedDataset. The description can be up to 10000 characters long.", +"type": "string" +}, +"annotatedDatasetDisplayName": { +"description": "Required. A human-readable name for AnnotatedDataset defined by users. Maximum of 64 characters .", +"type": "string" +}, +"contributorEmails": { +"description": "Optional. If you want your own labeling contributors to manage and work on this labeling request, you can set these contributors here. We will give them access to the question types in crowdcompute. Note that these emails must be registered in crowdcompute worker UI: https://crowd-compute.appspot.com/", +"items": { +"type": "string" +}, +"type": "array" +}, +"instruction": { +"description": "Required. Instruction resource name.", +"type": "string" +}, +"labelGroup": { +"description": "Optional. A human-readable label used to logically group labeling tasks. This string must match the regular expression `[a-zA-Z\\\\d_-]{0,128}`.", +"type": "string" +}, +"languageCode": { +"description": "Optional. The Language of this question, as a [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt). Default value is en-US. Only need to set this when task is language related. For example, French text classification.", +"type": "string" +}, +"questionDuration": { +"description": "Optional. Maximum duration for contributors to answer a question. Maximum is 3600 seconds. Default is 3600 seconds.", +"format": "google-duration", +"type": "string" +}, +"replicaCount": { +"description": "Optional. Replication of questions. Each question will be sent to up to this number of contributors to label. Aggregated answers will be returned. Default is set to 1. For image related labeling, valid values are 1, 3, 5.", +"format": "int32", +"type": "integer" +}, +"userEmailAddress": { +"description": "Email of the user who started the labeling task and should be notified by email. If empty no notification will be sent.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDatalabelingV1alpha1ImportDataOperationMetadata": { +"description": "Metadata of an ImportData operation.", +"id": "GoogleCloudDatalabelingV1alpha1ImportDataOperationMetadata", +"properties": { +"createTime": { +"description": "Output only. Timestamp when import dataset request was created.", +"format": "google-datetime", +"type": "string" +}, +"dataset": { +"description": "Output only. The name of imported dataset. \"projects/*/datasets/*\"", +"type": "string" +}, +"partialFailures": { +"description": "Output only. Partial failures encountered. E.g. single files that couldn't be read. Status details field will contain standard GCP error details.", +"items": { +"$ref": "GoogleRpcStatus" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDatalabelingV1alpha1ImportDataOperationResponse": { +"description": "Response used for ImportData longrunning operation.", +"id": "GoogleCloudDatalabelingV1alpha1ImportDataOperationResponse", +"properties": { +"dataset": { +"description": "Ouptut only. The name of imported dataset.", +"type": "string" +}, +"importCount": { +"description": "Output only. Number of examples imported successfully.", +"format": "int32", +"type": "integer" +}, +"totalCount": { +"description": "Output only. Total number of examples requested to import", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"GoogleCloudDatalabelingV1alpha1LabelImageBoundingBoxOperationMetadata": { +"description": "Details of a LabelImageBoundingBox operation metadata.", +"id": "GoogleCloudDatalabelingV1alpha1LabelImageBoundingBoxOperationMetadata", +"properties": { +"basicConfig": { +"$ref": "GoogleCloudDatalabelingV1alpha1HumanAnnotationConfig", +"description": "Basic human annotation config used in labeling request." +} +}, +"type": "object" +}, +"GoogleCloudDatalabelingV1alpha1LabelImageBoundingPolyOperationMetadata": { +"description": "Details of LabelImageBoundingPoly operation metadata.", +"id": "GoogleCloudDatalabelingV1alpha1LabelImageBoundingPolyOperationMetadata", +"properties": { +"basicConfig": { +"$ref": "GoogleCloudDatalabelingV1alpha1HumanAnnotationConfig", +"description": "Basic human annotation config used in labeling request." +} +}, +"type": "object" +}, +"GoogleCloudDatalabelingV1alpha1LabelImageClassificationOperationMetadata": { +"description": "Metadata of a LabelImageClassification operation.", +"id": "GoogleCloudDatalabelingV1alpha1LabelImageClassificationOperationMetadata", +"properties": { +"basicConfig": { +"$ref": "GoogleCloudDatalabelingV1alpha1HumanAnnotationConfig", +"description": "Basic human annotation config used in labeling request." +} +}, +"type": "object" +}, +"GoogleCloudDatalabelingV1alpha1LabelImageOrientedBoundingBoxOperationMetadata": { +"description": "Details of a LabelImageOrientedBoundingBox operation metadata.", +"id": "GoogleCloudDatalabelingV1alpha1LabelImageOrientedBoundingBoxOperationMetadata", +"properties": { +"basicConfig": { +"$ref": "GoogleCloudDatalabelingV1alpha1HumanAnnotationConfig", +"description": "Basic human annotation config." +} +}, +"type": "object" +}, +"GoogleCloudDatalabelingV1alpha1LabelImagePolylineOperationMetadata": { +"description": "Details of LabelImagePolyline operation metadata.", +"id": "GoogleCloudDatalabelingV1alpha1LabelImagePolylineOperationMetadata", +"properties": { +"basicConfig": { +"$ref": "GoogleCloudDatalabelingV1alpha1HumanAnnotationConfig", +"description": "Basic human annotation config used in labeling request." +} +}, +"type": "object" +}, +"GoogleCloudDatalabelingV1alpha1LabelImageSegmentationOperationMetadata": { +"description": "Details of a LabelImageSegmentation operation metadata.", +"id": "GoogleCloudDatalabelingV1alpha1LabelImageSegmentationOperationMetadata", +"properties": { +"basicConfig": { +"$ref": "GoogleCloudDatalabelingV1alpha1HumanAnnotationConfig", +"description": "Basic human annotation config." +} +}, +"type": "object" +}, +"GoogleCloudDatalabelingV1alpha1LabelOperationMetadata": { +"description": "Metadata of a labeling operation, such as LabelImage or LabelVideo. Next tag: 23", +"id": "GoogleCloudDatalabelingV1alpha1LabelOperationMetadata", +"properties": { +"annotatedDataset": { +"description": "Output only. The name of annotated dataset in format \"projects/*/datasets/*/annotatedDatasets/*\".", +"type": "string" +}, +"createTime": { +"description": "Output only. Timestamp when labeling request was created.", +"format": "google-datetime", +"type": "string" +}, +"dataset": { +"description": "Output only. The name of dataset to be labeled. \"projects/*/datasets/*\"", +"type": "string" +}, +"imageBoundingBoxDetails": { +"$ref": "GoogleCloudDatalabelingV1alpha1LabelImageBoundingBoxOperationMetadata", +"description": "Details of label image bounding box operation." +}, +"imageBoundingPolyDetails": { +"$ref": "GoogleCloudDatalabelingV1alpha1LabelImageBoundingPolyOperationMetadata", +"description": "Details of label image bounding poly operation." +}, +"imageClassificationDetails": { +"$ref": "GoogleCloudDatalabelingV1alpha1LabelImageClassificationOperationMetadata", +"description": "Details of label image classification operation." +}, +"imageOrientedBoundingBoxDetails": { +"$ref": "GoogleCloudDatalabelingV1alpha1LabelImageOrientedBoundingBoxOperationMetadata", +"description": "Details of label image oriented bounding box operation." +}, +"imagePolylineDetails": { +"$ref": "GoogleCloudDatalabelingV1alpha1LabelImagePolylineOperationMetadata", +"description": "Details of label image polyline operation." +}, +"imageSegmentationDetails": { +"$ref": "GoogleCloudDatalabelingV1alpha1LabelImageSegmentationOperationMetadata", +"description": "Details of label image segmentation operation." +}, +"partialFailures": { +"description": "Output only. Partial failures encountered. E.g. single files that couldn't be read. Status details field will contain standard GCP error details.", +"items": { +"$ref": "GoogleRpcStatus" +}, +"type": "array" +}, +"progressPercent": { +"description": "Output only. Progress of label operation. Range: [0, 100].", +"format": "int32", +"type": "integer" +}, +"textClassificationDetails": { +"$ref": "GoogleCloudDatalabelingV1alpha1LabelTextClassificationOperationMetadata", +"description": "Details of label text classification operation." +}, +"textEntityExtractionDetails": { +"$ref": "GoogleCloudDatalabelingV1alpha1LabelTextEntityExtractionOperationMetadata", +"description": "Details of label text entity extraction operation." +}, +"videoClassificationDetails": { +"$ref": "GoogleCloudDatalabelingV1alpha1LabelVideoClassificationOperationMetadata", +"description": "Details of label video classification operation." +}, +"videoEventDetails": { +"$ref": "GoogleCloudDatalabelingV1alpha1LabelVideoEventOperationMetadata", +"description": "Details of label video event operation." +}, +"videoObjectDetectionDetails": { +"$ref": "GoogleCloudDatalabelingV1alpha1LabelVideoObjectDetectionOperationMetadata", +"description": "Details of label video object detection operation." +}, +"videoObjectTrackingDetails": { +"$ref": "GoogleCloudDatalabelingV1alpha1LabelVideoObjectTrackingOperationMetadata", +"description": "Details of label video object tracking operation." +} +}, +"type": "object" +}, +"GoogleCloudDatalabelingV1alpha1LabelStats": { +"description": "Statistics about annotation specs.", +"id": "GoogleCloudDatalabelingV1alpha1LabelStats", +"properties": { +"exampleCount": { +"additionalProperties": { +"format": "int64", +"type": "string" +}, +"description": "Map of each annotation spec's example count. Key is the annotation spec name and value is the number of examples for that annotation spec. If the annotated dataset does not have annotation spec, the map will return a pair where the key is empty string and value is the total number of annotations.", +"type": "object" +} +}, +"type": "object" +}, +"GoogleCloudDatalabelingV1alpha1LabelTextClassificationOperationMetadata": { +"description": "Details of a LabelTextClassification operation metadata.", +"id": "GoogleCloudDatalabelingV1alpha1LabelTextClassificationOperationMetadata", +"properties": { +"basicConfig": { +"$ref": "GoogleCloudDatalabelingV1alpha1HumanAnnotationConfig", +"description": "Basic human annotation config used in labeling request." +} +}, +"type": "object" +}, +"GoogleCloudDatalabelingV1alpha1LabelTextEntityExtractionOperationMetadata": { +"description": "Details of a LabelTextEntityExtraction operation metadata.", +"id": "GoogleCloudDatalabelingV1alpha1LabelTextEntityExtractionOperationMetadata", +"properties": { +"basicConfig": { +"$ref": "GoogleCloudDatalabelingV1alpha1HumanAnnotationConfig", +"description": "Basic human annotation config used in labeling request." +} +}, +"type": "object" +}, +"GoogleCloudDatalabelingV1alpha1LabelVideoClassificationOperationMetadata": { +"description": "Details of a LabelVideoClassification operation metadata.", +"id": "GoogleCloudDatalabelingV1alpha1LabelVideoClassificationOperationMetadata", +"properties": { +"basicConfig": { +"$ref": "GoogleCloudDatalabelingV1alpha1HumanAnnotationConfig", +"description": "Basic human annotation config used in labeling request." +} +}, +"type": "object" +}, +"GoogleCloudDatalabelingV1alpha1LabelVideoEventOperationMetadata": { +"description": "Details of a LabelVideoEvent operation metadata.", +"id": "GoogleCloudDatalabelingV1alpha1LabelVideoEventOperationMetadata", +"properties": { +"basicConfig": { +"$ref": "GoogleCloudDatalabelingV1alpha1HumanAnnotationConfig", +"description": "Basic human annotation config used in labeling request." +} +}, +"type": "object" +}, +"GoogleCloudDatalabelingV1alpha1LabelVideoObjectDetectionOperationMetadata": { +"description": "Details of a LabelVideoObjectDetection operation metadata.", +"id": "GoogleCloudDatalabelingV1alpha1LabelVideoObjectDetectionOperationMetadata", +"properties": { +"basicConfig": { +"$ref": "GoogleCloudDatalabelingV1alpha1HumanAnnotationConfig", +"description": "Basic human annotation config used in labeling request." +} +}, +"type": "object" +}, +"GoogleCloudDatalabelingV1alpha1LabelVideoObjectTrackingOperationMetadata": { +"description": "Details of a LabelVideoObjectTracking operation metadata.", +"id": "GoogleCloudDatalabelingV1alpha1LabelVideoObjectTrackingOperationMetadata", +"properties": { +"basicConfig": { +"$ref": "GoogleCloudDatalabelingV1alpha1HumanAnnotationConfig", +"description": "Basic human annotation config used in labeling request." +} +}, +"type": "object" +}, +"GoogleCloudDatalabelingV1alpha1OutputConfig": { +"description": "The configuration of output data.", +"id": "GoogleCloudDatalabelingV1alpha1OutputConfig", +"properties": { +"gcsDestination": { +"$ref": "GoogleCloudDatalabelingV1alpha1GcsDestination", +"description": "Output to a file in Cloud Storage. Should be used for labeling output other than image segmentation." +}, +"gcsFolderDestination": { +"$ref": "GoogleCloudDatalabelingV1alpha1GcsFolderDestination", +"description": "Output to a folder in Cloud Storage. Should be used for image segmentation or document de-identification labeling outputs." +} +}, +"type": "object" +}, +"GoogleCloudDatalabelingV1beta1AnnotatedDataset": { +"description": "AnnotatedDataset is a set holding annotations for data in a Dataset. Each labeling task will generate an AnnotatedDataset under the Dataset that the task is requested for.", +"id": "GoogleCloudDatalabelingV1beta1AnnotatedDataset", +"properties": { +"annotationSource": { +"description": "Output only. Source of the annotation.", +"enum": [ +"ANNOTATION_SOURCE_UNSPECIFIED", +"OPERATOR" +], +"enumDescriptions": [ +"", +"Answer is provided by a human contributor." +], +"type": "string" +}, +"annotationType": { +"description": "Output only. Type of the annotation. It is specified when starting labeling task.", +"enum": [ +"ANNOTATION_TYPE_UNSPECIFIED", +"IMAGE_CLASSIFICATION_ANNOTATION", +"IMAGE_BOUNDING_BOX_ANNOTATION", +"IMAGE_ORIENTED_BOUNDING_BOX_ANNOTATION", +"IMAGE_BOUNDING_POLY_ANNOTATION", +"IMAGE_POLYLINE_ANNOTATION", +"IMAGE_SEGMENTATION_ANNOTATION", +"VIDEO_SHOTS_CLASSIFICATION_ANNOTATION", +"VIDEO_OBJECT_TRACKING_ANNOTATION", +"VIDEO_OBJECT_DETECTION_ANNOTATION", +"VIDEO_EVENT_ANNOTATION", +"TEXT_CLASSIFICATION_ANNOTATION", +"TEXT_ENTITY_EXTRACTION_ANNOTATION", +"GENERAL_CLASSIFICATION_ANNOTATION" +], +"enumDescriptions": [ +"", +"Classification annotations in an image. Allowed for continuous evaluation.", +"Bounding box annotations in an image. A form of image object detection. Allowed for continuous evaluation.", +"Oriented bounding box. The box does not have to be parallel to horizontal line.", +"Bounding poly annotations in an image.", +"Polyline annotations in an image.", +"Segmentation annotations in an image.", +"Classification annotations in video shots.", +"Video object tracking annotation.", +"Video object detection annotation.", +"Video event annotation.", +"Classification for text. Allowed for continuous evaluation.", +"Entity extraction for text.", +"General classification. Allowed for continuous evaluation." +], +"type": "string" +}, +"blockingResources": { +"description": "Output only. The names of any related resources that are blocking changes to the annotated dataset.", +"items": { +"type": "string" +}, +"type": "array" +}, +"completedExampleCount": { +"description": "Output only. Number of examples that have annotation in the annotated dataset.", +"format": "int64", +"type": "string" +}, +"createTime": { +"description": "Output only. Time the AnnotatedDataset was created.", +"format": "google-datetime", +"type": "string" +}, +"description": { +"description": "Output only. The description of the AnnotatedDataset. It is specified in HumanAnnotationConfig when user starts a labeling task. Maximum of 10000 characters.", +"type": "string" +}, +"displayName": { +"description": "Output only. The display name of the AnnotatedDataset. It is specified in HumanAnnotationConfig when user starts a labeling task. Maximum of 64 characters.", +"type": "string" +}, +"exampleCount": { +"description": "Output only. Number of examples in the annotated dataset.", +"format": "int64", +"type": "string" +}, +"labelStats": { +"$ref": "GoogleCloudDatalabelingV1beta1LabelStats", +"description": "Output only. Per label statistics." +}, +"metadata": { +"$ref": "GoogleCloudDatalabelingV1beta1AnnotatedDatasetMetadata", +"description": "Output only. Additional information about AnnotatedDataset." +}, +"name": { +"description": "Output only. AnnotatedDataset resource name in format of: projects/{project_id}/datasets/{dataset_id}/annotatedDatasets/ {annotated_dataset_id}", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDatalabelingV1beta1AnnotatedDatasetMetadata": { +"description": "Metadata on AnnotatedDataset.", +"id": "GoogleCloudDatalabelingV1beta1AnnotatedDatasetMetadata", +"properties": { +"boundingPolyConfig": { +"$ref": "GoogleCloudDatalabelingV1beta1BoundingPolyConfig", +"description": "Configuration for image bounding box and bounding poly task." +}, +"eventConfig": { +"$ref": "GoogleCloudDatalabelingV1beta1EventConfig", +"description": "Configuration for video event labeling task." +}, +"humanAnnotationConfig": { +"$ref": "GoogleCloudDatalabelingV1beta1HumanAnnotationConfig", +"description": "HumanAnnotationConfig used when requesting the human labeling task for this AnnotatedDataset." +}, +"imageClassificationConfig": { +"$ref": "GoogleCloudDatalabelingV1beta1ImageClassificationConfig", +"description": "Configuration for image classification task." +}, +"objectDetectionConfig": { +"$ref": "GoogleCloudDatalabelingV1beta1ObjectDetectionConfig", +"description": "Configuration for video object detection task." +}, +"objectTrackingConfig": { +"$ref": "GoogleCloudDatalabelingV1beta1ObjectTrackingConfig", +"description": "Configuration for video object tracking task." +}, +"polylineConfig": { +"$ref": "GoogleCloudDatalabelingV1beta1PolylineConfig", +"description": "Configuration for image polyline task." +}, +"segmentationConfig": { +"$ref": "GoogleCloudDatalabelingV1beta1SegmentationConfig", +"description": "Configuration for image segmentation task." +}, +"textClassificationConfig": { +"$ref": "GoogleCloudDatalabelingV1beta1TextClassificationConfig", +"description": "Configuration for text classification task." +}, +"textEntityExtractionConfig": { +"$ref": "GoogleCloudDatalabelingV1beta1TextEntityExtractionConfig", +"description": "Configuration for text entity extraction task." +}, +"videoClassificationConfig": { +"$ref": "GoogleCloudDatalabelingV1beta1VideoClassificationConfig", +"description": "Configuration for video classification task." +} +}, +"type": "object" +}, +"GoogleCloudDatalabelingV1beta1Annotation": { +"description": "Annotation for Example. Each example may have one or more annotations. For example in image classification problem, each image might have one or more labels. We call labels binded with this image an Annotation.", +"id": "GoogleCloudDatalabelingV1beta1Annotation", +"properties": { +"annotationMetadata": { +"$ref": "GoogleCloudDatalabelingV1beta1AnnotationMetadata", +"description": "Output only. Annotation metadata, including information like votes for labels." +}, +"annotationSentiment": { +"description": "Output only. Sentiment for this annotation.", +"enum": [ +"ANNOTATION_SENTIMENT_UNSPECIFIED", +"NEGATIVE", +"POSITIVE" +], +"enumDescriptions": [ +"", +"This annotation describes negatively about the data.", +"This label describes positively about the data." +], +"type": "string" +}, +"annotationSource": { +"description": "Output only. The source of the annotation.", +"enum": [ +"ANNOTATION_SOURCE_UNSPECIFIED", +"OPERATOR" +], +"enumDescriptions": [ +"", +"Answer is provided by a human contributor." +], +"type": "string" +}, +"annotationValue": { +"$ref": "GoogleCloudDatalabelingV1beta1AnnotationValue", +"description": "Output only. This is the actual annotation value, e.g classification, bounding box values are stored here." +}, +"name": { +"description": "Output only. Unique name of this annotation, format is: projects/{project_id}/datasets/{dataset_id}/annotatedDatasets/{annotated_dataset}/examples/{example_id}/annotations/{annotation_id}", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDatalabelingV1beta1AnnotationMetadata": { +"description": "Additional information associated with the annotation.", +"id": "GoogleCloudDatalabelingV1beta1AnnotationMetadata", +"properties": { +"operatorMetadata": { +"$ref": "GoogleCloudDatalabelingV1beta1OperatorMetadata", +"description": "Metadata related to human labeling." +} +}, +"type": "object" +}, +"GoogleCloudDatalabelingV1beta1AnnotationSpec": { +"description": "Container of information related to one possible annotation that can be used in a labeling task. For example, an image classification task where images are labeled as `dog` or `cat` must reference an AnnotationSpec for `dog` and an AnnotationSpec for `cat`.", +"id": "GoogleCloudDatalabelingV1beta1AnnotationSpec", +"properties": { +"description": { +"description": "Optional. User-provided description of the annotation specification. The description can be up to 10,000 characters long.", +"type": "string" +}, +"displayName": { +"description": "Required. The display name of the AnnotationSpec. Maximum of 64 characters.", +"type": "string" +}, +"index": { +"description": "Output only. This is the integer index of the AnnotationSpec. The index for the whole AnnotationSpecSet is sequential starting from 0. For example, an AnnotationSpecSet with classes `dog` and `cat`, might contain one AnnotationSpec with `{ display_name: \"dog\", index: 0 }` and one AnnotationSpec with `{ display_name: \"cat\", index: 1 }`. This is especially useful for model training as it encodes the string labels into numeric values.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"GoogleCloudDatalabelingV1beta1AnnotationSpecSet": { +"description": "An AnnotationSpecSet is a collection of label definitions. For example, in image classification tasks, you define a set of possible labels for images as an AnnotationSpecSet. An AnnotationSpecSet is immutable upon creation.", +"id": "GoogleCloudDatalabelingV1beta1AnnotationSpecSet", +"properties": { +"annotationSpecs": { +"description": "Required. The array of AnnotationSpecs that you define when you create the AnnotationSpecSet. These are the possible labels for the labeling task.", +"items": { +"$ref": "GoogleCloudDatalabelingV1beta1AnnotationSpec" +}, +"type": "array" +}, +"blockingResources": { +"description": "Output only. The names of any related resources that are blocking changes to the annotation spec set.", +"items": { +"type": "string" +}, +"type": "array" +}, +"description": { +"description": "Optional. User-provided description of the annotation specification set. The description can be up to 10,000 characters long.", +"type": "string" +}, +"displayName": { +"description": "Required. The display name for AnnotationSpecSet that you define when you create it. Maximum of 64 characters.", +"type": "string" +}, +"name": { +"description": "Output only. The AnnotationSpecSet resource name in the following format: \"projects/{project_id}/annotationSpecSets/{annotation_spec_set_id}\"", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDatalabelingV1beta1AnnotationSpecSetConfig": { +"description": "Annotation spec set with the setting of allowing multi labels or not.", +"id": "GoogleCloudDatalabelingV1beta1AnnotationSpecSetConfig", +"properties": { +"allowMultiLabel": { +"description": "Optional. If allow_multi_label is true, contributors are able to choose multiple labels from one annotation spec set.", +"type": "boolean" +}, +"annotationSpecSet": { +"description": "Required. Annotation spec set resource name.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDatalabelingV1beta1AnnotationValue": { +"description": "Annotation value for an example.", +"id": "GoogleCloudDatalabelingV1beta1AnnotationValue", +"properties": { +"imageBoundingPolyAnnotation": { +"$ref": "GoogleCloudDatalabelingV1beta1ImageBoundingPolyAnnotation", +"description": "Annotation value for image bounding box, oriented bounding box and polygon cases." +}, +"imageClassificationAnnotation": { +"$ref": "GoogleCloudDatalabelingV1beta1ImageClassificationAnnotation", +"description": "Annotation value for image classification case." +}, +"imagePolylineAnnotation": { +"$ref": "GoogleCloudDatalabelingV1beta1ImagePolylineAnnotation", +"description": "Annotation value for image polyline cases. Polyline here is different from BoundingPoly. It is formed by line segments connected to each other but not closed form(Bounding Poly). The line segments can cross each other." +}, +"imageSegmentationAnnotation": { +"$ref": "GoogleCloudDatalabelingV1beta1ImageSegmentationAnnotation", +"description": "Annotation value for image segmentation." +}, +"textClassificationAnnotation": { +"$ref": "GoogleCloudDatalabelingV1beta1TextClassificationAnnotation", +"description": "Annotation value for text classification case." +}, +"textEntityExtractionAnnotation": { +"$ref": "GoogleCloudDatalabelingV1beta1TextEntityExtractionAnnotation", +"description": "Annotation value for text entity extraction case." +}, +"videoClassificationAnnotation": { +"$ref": "GoogleCloudDatalabelingV1beta1VideoClassificationAnnotation", +"description": "Annotation value for video classification case." +}, +"videoEventAnnotation": { +"$ref": "GoogleCloudDatalabelingV1beta1VideoEventAnnotation", +"description": "Annotation value for video event case." +}, +"videoObjectTrackingAnnotation": { +"$ref": "GoogleCloudDatalabelingV1beta1VideoObjectTrackingAnnotation", +"description": "Annotation value for video object detection and tracking case." +} +}, +"type": "object" +}, +"GoogleCloudDatalabelingV1beta1Attempt": { +"description": "Records a failed evaluation job run.", +"id": "GoogleCloudDatalabelingV1beta1Attempt", +"properties": { +"attemptTime": { +"format": "google-datetime", +"type": "string" +}, +"partialFailures": { +"description": "Details of errors that occurred.", +"items": { +"$ref": "GoogleRpcStatus" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDatalabelingV1beta1BigQuerySource": { +"description": "The BigQuery location for input data. If used in an EvaluationJob, this is where the service saves the prediction input and output sampled from the model version.", +"id": "GoogleCloudDatalabelingV1beta1BigQuerySource", +"properties": { +"inputUri": { +"description": "Required. BigQuery URI to a table, up to 2,000 characters long. If you specify the URI of a table that does not exist, Data Labeling Service creates a table at the URI with the correct schema when you create your EvaluationJob. If you specify the URI of a table that already exists, it must have the [correct schema](/ml-engine/docs/continuous-evaluation/create-job#table-schema). Provide the table URI in the following format: \"bq://{your_project_id}/ {your_dataset_name}/{your_table_name}\" [Learn more](/ml-engine/docs/continuous-evaluation/create-job#table-schema).", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDatalabelingV1beta1BoundingBoxEvaluationOptions": { +"description": "Options regarding evaluation between bounding boxes.", +"id": "GoogleCloudDatalabelingV1beta1BoundingBoxEvaluationOptions", +"properties": { +"iouThreshold": { +"description": "Minimum [intersection-over-union (IOU)](/vision/automl/object-detection/docs/evaluate#intersection-over-union) required for 2 bounding boxes to be considered a match. This must be a number between 0 and 1.", +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"GoogleCloudDatalabelingV1beta1BoundingPoly": { +"description": "A bounding polygon in the image.", +"id": "GoogleCloudDatalabelingV1beta1BoundingPoly", +"properties": { +"vertices": { +"description": "The bounding polygon vertices.", +"items": { +"$ref": "GoogleCloudDatalabelingV1beta1Vertex" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDatalabelingV1beta1BoundingPolyConfig": { +"description": "Config for image bounding poly (and bounding box) human labeling task.", +"id": "GoogleCloudDatalabelingV1beta1BoundingPolyConfig", +"properties": { +"annotationSpecSet": { +"description": "Required. Annotation spec set resource name.", +"type": "string" +}, +"instructionMessage": { +"description": "Optional. Instruction message showed on contributors UI.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDatalabelingV1beta1ClassificationMetadata": { +"description": "Metadata for classification annotations.", +"id": "GoogleCloudDatalabelingV1beta1ClassificationMetadata", +"properties": { +"isMultiLabel": { +"description": "Whether the classification task is multi-label or not.", +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleCloudDatalabelingV1beta1ClassificationMetrics": { +"description": "Metrics calculated for a classification model.", +"id": "GoogleCloudDatalabelingV1beta1ClassificationMetrics", +"properties": { +"confusionMatrix": { +"$ref": "GoogleCloudDatalabelingV1beta1ConfusionMatrix", +"description": "Confusion matrix of predicted labels vs. ground truth labels." +}, +"prCurve": { +"$ref": "GoogleCloudDatalabelingV1beta1PrCurve", +"description": "Precision-recall curve based on ground truth labels, predicted labels, and scores for the predicted labels." +} +}, +"type": "object" +}, +"GoogleCloudDatalabelingV1beta1ConfidenceMetricsEntry": { +"id": "GoogleCloudDatalabelingV1beta1ConfidenceMetricsEntry", +"properties": { +"confidenceThreshold": { +"description": "Threshold used for this entry. For classification tasks, this is a classification threshold: a predicted label is categorized as positive or negative (in the context of this point on the PR curve) based on whether the label's score meets this threshold. For image object detection (bounding box) tasks, this is the [intersection-over-union (IOU)](/vision/automl/object-detection/docs/evaluate#intersection-over-union) threshold for the context of this point on the PR curve.", +"format": "float", +"type": "number" +}, +"f1Score": { +"description": "Harmonic mean of recall and precision.", +"format": "float", +"type": "number" +}, +"f1ScoreAt1": { +"description": "The harmonic mean of recall_at1 and precision_at1.", +"format": "float", +"type": "number" +}, +"f1ScoreAt5": { +"description": "The harmonic mean of recall_at5 and precision_at5.", +"format": "float", +"type": "number" +}, +"precision": { +"description": "Precision value.", +"format": "float", +"type": "number" +}, +"precisionAt1": { +"description": "Precision value for entries with label that has highest score.", +"format": "float", +"type": "number" +}, +"precisionAt5": { +"description": "Precision value for entries with label that has highest 5 scores.", +"format": "float", +"type": "number" +}, +"recall": { +"description": "Recall value.", +"format": "float", +"type": "number" +}, +"recallAt1": { +"description": "Recall value for entries with label that has highest score.", +"format": "float", +"type": "number" +}, +"recallAt5": { +"description": "Recall value for entries with label that has highest 5 scores.", +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"GoogleCloudDatalabelingV1beta1ConfusionMatrix": { +"description": "Confusion matrix of the model running the classification. Only applicable when the metrics entry aggregates multiple labels. Not applicable when the entry is for a single label.", +"id": "GoogleCloudDatalabelingV1beta1ConfusionMatrix", +"properties": { +"row": { +"items": { +"$ref": "GoogleCloudDatalabelingV1beta1Row" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDatalabelingV1beta1ConfusionMatrixEntry": { +"id": "GoogleCloudDatalabelingV1beta1ConfusionMatrixEntry", +"properties": { +"annotationSpec": { +"$ref": "GoogleCloudDatalabelingV1beta1AnnotationSpec", +"description": "The annotation spec of a predicted label." +}, +"itemCount": { +"description": "Number of items predicted to have this label. (The ground truth label for these items is the `Row.annotationSpec` of this entry's parent.)", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"GoogleCloudDatalabelingV1beta1CreateAnnotationSpecSetRequest": { +"description": "Request message for CreateAnnotationSpecSet.", +"id": "GoogleCloudDatalabelingV1beta1CreateAnnotationSpecSetRequest", +"properties": { +"annotationSpecSet": { +"$ref": "GoogleCloudDatalabelingV1beta1AnnotationSpecSet", +"description": "Required. Annotation spec set to create. Annotation specs must be included. Only one annotation spec will be accepted for annotation specs with same display_name." +} +}, +"type": "object" +}, +"GoogleCloudDatalabelingV1beta1CreateDatasetRequest": { +"description": "Request message for CreateDataset.", +"id": "GoogleCloudDatalabelingV1beta1CreateDatasetRequest", +"properties": { +"dataset": { +"$ref": "GoogleCloudDatalabelingV1beta1Dataset", +"description": "Required. The dataset to be created." +} +}, +"type": "object" +}, +"GoogleCloudDatalabelingV1beta1CreateEvaluationJobRequest": { +"description": " Request message for CreateEvaluationJob.", +"id": "GoogleCloudDatalabelingV1beta1CreateEvaluationJobRequest", +"properties": { +"job": { +"$ref": "GoogleCloudDatalabelingV1beta1EvaluationJob", +"description": "Required. The evaluation job to create." +} +}, +"type": "object" +}, +"GoogleCloudDatalabelingV1beta1CreateInstructionMetadata": { +"description": "Metadata of a CreateInstruction operation.", +"id": "GoogleCloudDatalabelingV1beta1CreateInstructionMetadata", +"properties": { +"createTime": { +"description": "Timestamp when create instruction request was created.", +"format": "google-datetime", +"type": "string" +}, +"instruction": { +"description": "The name of the created Instruction. projects/{project_id}/instructions/{instruction_id}", +"type": "string" +}, +"partialFailures": { +"description": "Partial failures encountered. E.g. single files that couldn't be read. Status details field will contain standard GCP error details.", +"items": { +"$ref": "GoogleRpcStatus" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDatalabelingV1beta1CreateInstructionRequest": { +"description": "Request message for CreateInstruction.", +"id": "GoogleCloudDatalabelingV1beta1CreateInstructionRequest", +"properties": { +"instruction": { +"$ref": "GoogleCloudDatalabelingV1beta1Instruction", +"description": "Required. Instruction of how to perform the labeling task." +} +}, +"type": "object" +}, +"GoogleCloudDatalabelingV1beta1CsvInstruction": { +"description": "Deprecated: this instruction format is not supported any more. Instruction from a CSV file.", +"id": "GoogleCloudDatalabelingV1beta1CsvInstruction", +"properties": { +"gcsFileUri": { +"description": "CSV file for the instruction. Only gcs path is allowed.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDatalabelingV1beta1DataItem": { +"description": "DataItem is a piece of data, without annotation. For example, an image.", +"id": "GoogleCloudDatalabelingV1beta1DataItem", +"properties": { +"imagePayload": { +"$ref": "GoogleCloudDatalabelingV1beta1ImagePayload", +"description": "The image payload, a container of the image bytes/uri." +}, +"name": { +"description": "Output only. Name of the data item, in format of: projects/{project_id}/datasets/{dataset_id}/dataItems/{data_item_id}", +"type": "string" +}, +"textPayload": { +"$ref": "GoogleCloudDatalabelingV1beta1TextPayload", +"description": "The text payload, a container of text content." +}, +"videoPayload": { +"$ref": "GoogleCloudDatalabelingV1beta1VideoPayload", +"description": "The video payload, a container of the video uri." +} +}, +"type": "object" +}, +"GoogleCloudDatalabelingV1beta1Dataset": { +"description": "Dataset is the resource to hold your data. You can request multiple labeling tasks for a dataset while each one will generate an AnnotatedDataset.", +"id": "GoogleCloudDatalabelingV1beta1Dataset", +"properties": { +"blockingResources": { +"description": "Output only. The names of any related resources that are blocking changes to the dataset.", +"items": { +"type": "string" +}, +"type": "array" +}, +"createTime": { +"description": "Output only. Time the dataset is created.", +"format": "google-datetime", +"type": "string" +}, +"dataItemCount": { +"description": "Output only. The number of data items in the dataset.", +"format": "int64", +"type": "string" +}, +"description": { +"description": "Optional. User-provided description of the annotation specification set. The description can be up to 10000 characters long.", +"type": "string" +}, +"displayName": { +"description": "Required. The display name of the dataset. Maximum of 64 characters.", +"type": "string" +}, +"inputConfigs": { +"description": "Output only. This is populated with the original input configs where ImportData is called. It is available only after the clients import data to this dataset.", +"items": { +"$ref": "GoogleCloudDatalabelingV1beta1InputConfig" +}, +"type": "array" +}, +"lastMigrateTime": { +"description": "Last time that the Dataset is migrated to AI Platform V2. If any of the AnnotatedDataset is migrated, the last_migration_time in Dataset is also updated.", +"format": "google-datetime", +"type": "string" +}, +"name": { +"description": "Output only. Dataset resource name, format is: projects/{project_id}/datasets/{dataset_id}", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDatalabelingV1beta1Evaluation": { +"description": "Describes an evaluation between a machine learning model's predictions and ground truth labels. Created when an EvaluationJob runs successfully.", +"id": "GoogleCloudDatalabelingV1beta1Evaluation", +"properties": { +"annotationType": { +"description": "Output only. Type of task that the model version being evaluated performs, as defined in the evaluationJobConfig.inputConfig.annotationType field of the evaluation job that created this evaluation.", +"enum": [ +"ANNOTATION_TYPE_UNSPECIFIED", +"IMAGE_CLASSIFICATION_ANNOTATION", +"IMAGE_BOUNDING_BOX_ANNOTATION", +"IMAGE_ORIENTED_BOUNDING_BOX_ANNOTATION", +"IMAGE_BOUNDING_POLY_ANNOTATION", +"IMAGE_POLYLINE_ANNOTATION", +"IMAGE_SEGMENTATION_ANNOTATION", +"VIDEO_SHOTS_CLASSIFICATION_ANNOTATION", +"VIDEO_OBJECT_TRACKING_ANNOTATION", +"VIDEO_OBJECT_DETECTION_ANNOTATION", +"VIDEO_EVENT_ANNOTATION", +"TEXT_CLASSIFICATION_ANNOTATION", +"TEXT_ENTITY_EXTRACTION_ANNOTATION", +"GENERAL_CLASSIFICATION_ANNOTATION" +], +"enumDescriptions": [ +"", +"Classification annotations in an image. Allowed for continuous evaluation.", +"Bounding box annotations in an image. A form of image object detection. Allowed for continuous evaluation.", +"Oriented bounding box. The box does not have to be parallel to horizontal line.", +"Bounding poly annotations in an image.", +"Polyline annotations in an image.", +"Segmentation annotations in an image.", +"Classification annotations in video shots.", +"Video object tracking annotation.", +"Video object detection annotation.", +"Video event annotation.", +"Classification for text. Allowed for continuous evaluation.", +"Entity extraction for text.", +"General classification. Allowed for continuous evaluation." +], +"type": "string" +}, +"config": { +"$ref": "GoogleCloudDatalabelingV1beta1EvaluationConfig", +"description": "Output only. Options used in the evaluation job that created this evaluation." +}, +"createTime": { +"description": "Output only. Timestamp for when this evaluation was created.", +"format": "google-datetime", +"type": "string" +}, +"evaluatedItemCount": { +"description": "Output only. The number of items in the ground truth dataset that were used for this evaluation. Only populated when the evaulation is for certain AnnotationTypes.", +"format": "int64", +"type": "string" +}, +"evaluationJobRunTime": { +"description": "Output only. Timestamp for when the evaluation job that created this evaluation ran.", +"format": "google-datetime", +"type": "string" +}, +"evaluationMetrics": { +"$ref": "GoogleCloudDatalabelingV1beta1EvaluationMetrics", +"description": "Output only. Metrics comparing predictions to ground truth labels." +}, +"name": { +"description": "Output only. Resource name of an evaluation. The name has the following format: \"projects/{project_id}/datasets/{dataset_id}/evaluations/ {evaluation_id}'", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDatalabelingV1beta1EvaluationConfig": { +"description": "Configuration details used for calculating evaluation metrics and creating an Evaluation.", +"id": "GoogleCloudDatalabelingV1beta1EvaluationConfig", +"properties": { +"boundingBoxEvaluationOptions": { +"$ref": "GoogleCloudDatalabelingV1beta1BoundingBoxEvaluationOptions", +"description": "Only specify this field if the related model performs image object detection (`IMAGE_BOUNDING_BOX_ANNOTATION`). Describes how to evaluate bounding boxes." +} +}, +"type": "object" +}, +"GoogleCloudDatalabelingV1beta1EvaluationJob": { +"description": "Defines an evaluation job that runs periodically to generate Evaluations. [Creating an evaluation job](/ml-engine/docs/continuous-evaluation/create-job) is the starting point for using continuous evaluation.", +"id": "GoogleCloudDatalabelingV1beta1EvaluationJob", +"properties": { +"annotationSpecSet": { +"description": "Required. Name of the AnnotationSpecSet describing all the labels that your machine learning model outputs. You must create this resource before you create an evaluation job and provide its name in the following format: \"projects/{project_id}/annotationSpecSets/{annotation_spec_set_id}\"", +"type": "string" +}, +"attempts": { +"description": "Output only. Every time the evaluation job runs and an error occurs, the failed attempt is appended to this array.", +"items": { +"$ref": "GoogleCloudDatalabelingV1beta1Attempt" +}, +"type": "array" +}, +"createTime": { +"description": "Output only. Timestamp of when this evaluation job was created.", +"format": "google-datetime", +"type": "string" +}, +"description": { +"description": "Required. Description of the job. The description can be up to 25,000 characters long.", +"type": "string" +}, +"evaluationJobConfig": { +"$ref": "GoogleCloudDatalabelingV1beta1EvaluationJobConfig", +"description": "Required. Configuration details for the evaluation job." +}, +"labelMissingGroundTruth": { +"description": "Required. Whether you want Data Labeling Service to provide ground truth labels for prediction input. If you want the service to assign human labelers to annotate your data, set this to `true`. If you want to provide your own ground truth labels in the evaluation job's BigQuery table, set this to `false`.", +"type": "boolean" +}, +"modelVersion": { +"description": "Required. The [AI Platform Prediction model version](/ml-engine/docs/prediction-overview) to be evaluated. Prediction input and output is sampled from this model version. When creating an evaluation job, specify the model version in the following format: \"projects/{project_id}/models/{model_name}/versions/{version_name}\" There can only be one evaluation job per model version.", +"type": "string" +}, +"name": { +"description": "Output only. After you create a job, Data Labeling Service assigns a name to the job with the following format: \"projects/{project_id}/evaluationJobs/ {evaluation_job_id}\"", +"type": "string" +}, +"schedule": { +"description": "Required. Describes the interval at which the job runs. This interval must be at least 1 day, and it is rounded to the nearest day. For example, if you specify a 50-hour interval, the job runs every 2 days. You can provide the schedule in [crontab format](/scheduler/docs/configuring/cron-job-schedules) or in an [English-like format](/appengine/docs/standard/python/config/cronref#schedule_format). Regardless of what you specify, the job will run at 10:00 AM UTC. Only the interval from this schedule is used, not the specific time of day.", +"type": "string" +}, +"state": { +"description": "Output only. Describes the current state of the job.", +"enum": [ +"STATE_UNSPECIFIED", +"SCHEDULED", +"RUNNING", +"PAUSED", +"STOPPED" +], +"enumDescriptions": [ +"", +"The job is scheduled to run at the configured interval. You can pause or delete the job. When the job is in this state, it samples prediction input and output from your model version into your BigQuery table as predictions occur.", +"The job is currently running. When the job runs, Data Labeling Service does several things: 1. If you have configured your job to use Data Labeling Service for ground truth labeling, the service creates a Dataset and a labeling task for all data sampled since the last time the job ran. Human labelers provide ground truth labels for your data. Human labeling may take hours, or even days, depending on how much data has been sampled. The job remains in the `RUNNING` state during this time, and it can even be running multiple times in parallel if it gets triggered again (for example 24 hours later) before the earlier run has completed. When human labelers have finished labeling the data, the next step occurs. If you have configured your job to provide your own ground truth labels, Data Labeling Service still creates a Dataset for newly sampled data, but it expects that you have already added ground truth labels to the BigQuery table by this time. The next step occurs immediately. 2. Data Labeling Service creates an Evaluation by comparing your model version's predictions with the ground truth labels. If the job remains in this state for a long time, it continues to sample prediction data into your BigQuery table and will run again at the next interval, even if it causes the job to run multiple times in parallel.", +"The job is not sampling prediction input and output into your BigQuery table and it will not run according to its schedule. You can resume the job.", +"The job has this state right before it is deleted." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDatalabelingV1beta1EvaluationJobAlertConfig": { +"description": "Provides details for how an evaluation job sends email alerts based on the results of a run.", +"id": "GoogleCloudDatalabelingV1beta1EvaluationJobAlertConfig", +"properties": { +"email": { +"description": "Required. An email address to send alerts to.", +"type": "string" +}, +"minAcceptableMeanAveragePrecision": { +"description": "Required. A number between 0 and 1 that describes a minimum mean average precision threshold. When the evaluation job runs, if it calculates that your model version's predictions from the recent interval have meanAveragePrecision below this threshold, then it sends an alert to your specified email.", +"format": "double", +"type": "number" +} +}, +"type": "object" +}, +"GoogleCloudDatalabelingV1beta1EvaluationJobConfig": { +"description": "Configures specific details of how a continuous evaluation job works. Provide this configuration when you create an EvaluationJob.", +"id": "GoogleCloudDatalabelingV1beta1EvaluationJobConfig", +"properties": { +"bigqueryImportKeys": { +"additionalProperties": { +"type": "string" +}, +"description": "Required. Prediction keys that tell Data Labeling Service where to find the data for evaluation in your BigQuery table. When the service samples prediction input and output from your model version and saves it to BigQuery, the data gets stored as JSON strings in the BigQuery table. These keys tell Data Labeling Service how to parse the JSON. You can provide the following entries in this field: * `data_json_key`: the data key for prediction input. You must provide either this key or `reference_json_key`. * `reference_json_key`: the data reference key for prediction input. You must provide either this key or `data_json_key`. * `label_json_key`: the label key for prediction output. Required. * `label_score_json_key`: the score key for prediction output. Required. * `bounding_box_json_key`: the bounding box key for prediction output. Required if your model version perform image object detection. Learn [how to configure prediction keys](/ml-engine/docs/continuous-evaluation/create-job#prediction-keys).", +"type": "object" +}, +"boundingPolyConfig": { +"$ref": "GoogleCloudDatalabelingV1beta1BoundingPolyConfig", +"description": "Specify this field if your model version performs image object detection (bounding box detection). `annotationSpecSet` in this configuration must match EvaluationJob.annotationSpecSet." +}, +"evaluationConfig": { +"$ref": "GoogleCloudDatalabelingV1beta1EvaluationConfig", +"description": "Required. Details for calculating evaluation metrics and creating Evaulations. If your model version performs image object detection, you must specify the `boundingBoxEvaluationOptions` field within this configuration. Otherwise, provide an empty object for this configuration." +}, +"evaluationJobAlertConfig": { +"$ref": "GoogleCloudDatalabelingV1beta1EvaluationJobAlertConfig", +"description": "Optional. Configuration details for evaluation job alerts. Specify this field if you want to receive email alerts if the evaluation job finds that your predictions have low mean average precision during a run." +}, +"exampleCount": { +"description": "Required. The maximum number of predictions to sample and save to BigQuery during each evaluation interval. This limit overrides `example_sample_percentage`: even if the service has not sampled enough predictions to fulfill `example_sample_perecentage` during an interval, it stops sampling predictions when it meets this limit.", +"format": "int32", +"type": "integer" +}, +"exampleSamplePercentage": { +"description": "Required. Fraction of predictions to sample and save to BigQuery during each evaluation interval. For example, 0.1 means 10% of predictions served by your model version get saved to BigQuery.", +"format": "double", +"type": "number" +}, +"humanAnnotationConfig": { +"$ref": "GoogleCloudDatalabelingV1beta1HumanAnnotationConfig", +"description": "Optional. Details for human annotation of your data. If you set labelMissingGroundTruth to `true` for this evaluation job, then you must specify this field. If you plan to provide your own ground truth labels, then omit this field. Note that you must create an Instruction resource before you can specify this field. Provide the name of the instruction resource in the `instruction` field within this configuration." +}, +"imageClassificationConfig": { +"$ref": "GoogleCloudDatalabelingV1beta1ImageClassificationConfig", +"description": "Specify this field if your model version performs image classification or general classification. `annotationSpecSet` in this configuration must match EvaluationJob.annotationSpecSet. `allowMultiLabel` in this configuration must match `classificationMetadata.isMultiLabel` in input_config." +}, +"inputConfig": { +"$ref": "GoogleCloudDatalabelingV1beta1InputConfig", +"description": "Rquired. Details for the sampled prediction input. Within this configuration, there are requirements for several fields: * `dataType` must be one of `IMAGE`, `TEXT`, or `GENERAL_DATA`. * `annotationType` must be one of `IMAGE_CLASSIFICATION_ANNOTATION`, `TEXT_CLASSIFICATION_ANNOTATION`, `GENERAL_CLASSIFICATION_ANNOTATION`, or `IMAGE_BOUNDING_BOX_ANNOTATION` (image object detection). * If your machine learning model performs classification, you must specify `classificationMetadata.isMultiLabel`. * You must specify `bigquerySource` (not `gcsSource`)." +}, +"textClassificationConfig": { +"$ref": "GoogleCloudDatalabelingV1beta1TextClassificationConfig", +"description": "Specify this field if your model version performs text classification. `annotationSpecSet` in this configuration must match EvaluationJob.annotationSpecSet. `allowMultiLabel` in this configuration must match `classificationMetadata.isMultiLabel` in input_config." +} +}, +"type": "object" +}, +"GoogleCloudDatalabelingV1beta1EvaluationMetrics": { +"id": "GoogleCloudDatalabelingV1beta1EvaluationMetrics", +"properties": { +"classificationMetrics": { +"$ref": "GoogleCloudDatalabelingV1beta1ClassificationMetrics" +}, +"objectDetectionMetrics": { +"$ref": "GoogleCloudDatalabelingV1beta1ObjectDetectionMetrics" +} +}, +"type": "object" +}, +"GoogleCloudDatalabelingV1beta1EventConfig": { +"description": "Config for video event human labeling task.", +"id": "GoogleCloudDatalabelingV1beta1EventConfig", +"properties": { +"annotationSpecSets": { +"description": "Required. The list of annotation spec set resource name. Similar to video classification, we support selecting event from multiple AnnotationSpecSet at the same time.", +"items": { +"type": "string" +}, +"type": "array" +}, +"clipLength": { +"description": "Videos will be cut to smaller clips to make it easier for labelers to work on. Users can configure is field in seconds, if not set, default value is 60s.", +"format": "int32", +"type": "integer" +}, +"overlapLength": { +"description": "The overlap length between different video clips. Users can configure is field in seconds, if not set, default value is 1s.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"GoogleCloudDatalabelingV1beta1Example": { +"description": "An Example is a piece of data and its annotation. For example, an image with label \"house\".", +"id": "GoogleCloudDatalabelingV1beta1Example", +"properties": { +"annotations": { +"description": "Output only. Annotations for the piece of data in Example. One piece of data can have multiple annotations.", +"items": { +"$ref": "GoogleCloudDatalabelingV1beta1Annotation" +}, +"type": "array" +}, +"imagePayload": { +"$ref": "GoogleCloudDatalabelingV1beta1ImagePayload", +"description": "The image payload, a container of the image bytes/uri." +}, +"name": { +"description": "Output only. Name of the example, in format of: projects/{project_id}/datasets/{dataset_id}/annotatedDatasets/ {annotated_dataset_id}/examples/{example_id}", +"type": "string" +}, +"textPayload": { +"$ref": "GoogleCloudDatalabelingV1beta1TextPayload", +"description": "The text payload, a container of the text content." +}, +"videoPayload": { +"$ref": "GoogleCloudDatalabelingV1beta1VideoPayload", +"description": "The video payload, a container of the video uri." +} +}, +"type": "object" +}, +"GoogleCloudDatalabelingV1beta1ExampleComparison": { +"description": "Example comparisons comparing ground truth output and predictions for a specific input.", +"id": "GoogleCloudDatalabelingV1beta1ExampleComparison", +"properties": { +"groundTruthExample": { +"$ref": "GoogleCloudDatalabelingV1beta1Example", +"description": "The ground truth output for the input." +}, +"modelCreatedExamples": { +"description": "Predictions by the model for the input.", +"items": { +"$ref": "GoogleCloudDatalabelingV1beta1Example" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDatalabelingV1beta1ExportDataOperationMetadata": { +"description": "Metadata of an ExportData operation.", +"id": "GoogleCloudDatalabelingV1beta1ExportDataOperationMetadata", +"properties": { +"annotatedDataset": { +"description": "Output only. The name of annotated dataset in format \"projects/*/datasets/*/annotatedDatasets/*\".", +"type": "string" +}, +"createTime": { +"description": "Output only. Timestamp when export dataset request was created.", +"format": "google-datetime", +"type": "string" +}, +"dataset": { +"description": "Output only. The name of dataset to be exported. \"projects/*/datasets/*\"", +"type": "string" +}, +"partialFailures": { +"description": "Output only. Partial failures encountered. E.g. single files that couldn't be read. Status details field will contain standard GCP error details.", +"items": { +"$ref": "GoogleRpcStatus" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDatalabelingV1beta1ExportDataOperationResponse": { +"description": "Response used for ExportDataset longrunning operation.", +"id": "GoogleCloudDatalabelingV1beta1ExportDataOperationResponse", +"properties": { +"annotatedDataset": { +"description": "Output only. The name of annotated dataset in format \"projects/*/datasets/*/annotatedDatasets/*\".", +"type": "string" +}, +"dataset": { +"description": "Ouptut only. The name of dataset. \"projects/*/datasets/*\"", +"type": "string" +}, +"exportCount": { +"description": "Output only. Number of examples exported successfully.", +"format": "int32", +"type": "integer" +}, +"labelStats": { +"$ref": "GoogleCloudDatalabelingV1beta1LabelStats", +"description": "Output only. Statistic infos of labels in the exported dataset." +}, +"outputConfig": { +"$ref": "GoogleCloudDatalabelingV1beta1OutputConfig", +"description": "Output only. output_config in the ExportData request." +}, +"totalCount": { +"description": "Output only. Total number of examples requested to export", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"GoogleCloudDatalabelingV1beta1ExportDataRequest": { +"description": "Request message for ExportData API.", +"id": "GoogleCloudDatalabelingV1beta1ExportDataRequest", +"properties": { +"annotatedDataset": { +"description": "Required. Annotated dataset resource name. DataItem in Dataset and their annotations in specified annotated dataset will be exported. It's in format of projects/{project_id}/datasets/{dataset_id}/annotatedDatasets/ {annotated_dataset_id}", +"type": "string" +}, +"filter": { +"description": "Optional. Filter is not supported at this moment.", +"type": "string" +}, +"outputConfig": { +"$ref": "GoogleCloudDatalabelingV1beta1OutputConfig", +"description": "Required. Specify the output destination." +}, +"userEmailAddress": { +"description": "Email of the user who started the export task and should be notified by email. If empty no notification will be sent.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDatalabelingV1beta1FeedbackMessage": { +"description": "A feedback message inside a feedback thread.", +"id": "GoogleCloudDatalabelingV1beta1FeedbackMessage", +"properties": { +"body": { +"description": "String content of the feedback. Maximum of 10000 characters.", +"type": "string" +}, +"createTime": { +"description": "Create time.", +"format": "google-datetime", +"type": "string" +}, +"image": { +"description": "The image storing this feedback if the feedback is an image representing operator's comments.", +"format": "byte", +"type": "string" +}, +"name": { +"description": "Name of the feedback message in a feedback thread. Format: 'project/{project_id}/datasets/{dataset_id}/annotatedDatasets/{annotated_dataset_id}/feedbackThreads/{feedback_thread_id}/feedbackMessage/{feedback_message_id}'", +"type": "string" +}, +"operatorFeedbackMetadata": { +"$ref": "GoogleCloudDatalabelingV1beta1OperatorFeedbackMetadata" +}, +"requesterFeedbackMetadata": { +"$ref": "GoogleCloudDatalabelingV1beta1RequesterFeedbackMetadata" +} +}, +"type": "object" +}, +"GoogleCloudDatalabelingV1beta1FeedbackThread": { +"description": "A feedback thread of a certain labeling task on a certain annotated dataset.", +"id": "GoogleCloudDatalabelingV1beta1FeedbackThread", +"properties": { +"feedbackThreadMetadata": { +"$ref": "GoogleCloudDatalabelingV1beta1FeedbackThreadMetadata", +"description": "Metadata regarding the feedback thread." +}, +"name": { +"description": "Name of the feedback thread. Format: 'project/{project_id}/datasets/{dataset_id}/annotatedDatasets/{annotated_dataset_id}/feedbackThreads/{feedback_thread_id}'", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDatalabelingV1beta1FeedbackThreadMetadata": { +"id": "GoogleCloudDatalabelingV1beta1FeedbackThreadMetadata", +"properties": { +"createTime": { +"description": "When the thread is created", +"format": "google-datetime", +"type": "string" +}, +"lastUpdateTime": { +"description": "When the thread is last updated.", +"format": "google-datetime", +"type": "string" +}, +"status": { +"enum": [ +"FEEDBACK_THREAD_STATUS_UNSPECIFIED", +"NEW", +"REPLIED" +], +"enumDescriptions": [ +"", +"Feedback thread is created with no reply;", +"Feedback thread is replied at least once;" +], +"type": "string" +}, +"thumbnail": { +"description": "An image thumbnail of this thread.", +"format": "byte", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDatalabelingV1beta1GcsDestination": { +"description": "Export destination of the data.Only gcs path is allowed in output_uri.", +"id": "GoogleCloudDatalabelingV1beta1GcsDestination", +"properties": { +"mimeType": { +"description": "Required. The format of the gcs destination. Only \"text/csv\" and \"application/json\" are supported.", +"type": "string" +}, +"outputUri": { +"description": "Required. The output uri of destination file.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDatalabelingV1beta1GcsFolderDestination": { +"description": "Export folder destination of the data.", +"id": "GoogleCloudDatalabelingV1beta1GcsFolderDestination", +"properties": { +"outputFolderUri": { +"description": "Required. Cloud Storage directory to export data to.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDatalabelingV1beta1GcsSource": { +"description": "Source of the Cloud Storage file to be imported.", +"id": "GoogleCloudDatalabelingV1beta1GcsSource", +"properties": { +"inputUri": { +"description": "Required. The input URI of source file. This must be a Cloud Storage path (`gs://...`).", +"type": "string" +}, +"mimeType": { +"description": "Required. The format of the source file. Only \"text/csv\" is supported.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDatalabelingV1beta1HumanAnnotationConfig": { +"description": "Configuration for how human labeling task should be done.", +"id": "GoogleCloudDatalabelingV1beta1HumanAnnotationConfig", +"properties": { +"annotatedDatasetDescription": { +"description": "Optional. A human-readable description for AnnotatedDataset. The description can be up to 10000 characters long.", +"type": "string" +}, +"annotatedDatasetDisplayName": { +"description": "Required. A human-readable name for AnnotatedDataset defined by users. Maximum of 64 characters .", +"type": "string" +}, +"contributorEmails": { +"description": "Optional. If you want your own labeling contributors to manage and work on this labeling request, you can set these contributors here. We will give them access to the question types in crowdcompute. Note that these emails must be registered in crowdcompute worker UI: https://crowd-compute.appspot.com/", +"items": { +"type": "string" +}, +"type": "array" +}, +"instruction": { +"description": "Required. Instruction resource name.", +"type": "string" +}, +"labelGroup": { +"description": "Optional. A human-readable label used to logically group labeling tasks. This string must match the regular expression `[a-zA-Z\\\\d_-]{0,128}`.", +"type": "string" +}, +"languageCode": { +"description": "Optional. The Language of this question, as a [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt). Default value is en-US. Only need to set this when task is language related. For example, French text classification.", +"type": "string" +}, +"questionDuration": { +"description": "Optional. Maximum duration for contributors to answer a question. Maximum is 3600 seconds. Default is 3600 seconds.", +"format": "google-duration", +"type": "string" +}, +"replicaCount": { +"description": "Optional. Replication of questions. Each question will be sent to up to this number of contributors to label. Aggregated answers will be returned. Default is set to 1. For image related labeling, valid values are 1, 3, 5.", +"format": "int32", +"type": "integer" +}, +"userEmailAddress": { +"description": "Email of the user who started the labeling task and should be notified by email. If empty no notification will be sent.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDatalabelingV1beta1ImageBoundingPolyAnnotation": { +"description": "Image bounding poly annotation. It represents a polygon including bounding box in the image.", +"id": "GoogleCloudDatalabelingV1beta1ImageBoundingPolyAnnotation", +"properties": { +"annotationSpec": { +"$ref": "GoogleCloudDatalabelingV1beta1AnnotationSpec", +"description": "Label of object in this bounding polygon." +}, +"boundingPoly": { +"$ref": "GoogleCloudDatalabelingV1beta1BoundingPoly" +}, +"normalizedBoundingPoly": { +"$ref": "GoogleCloudDatalabelingV1beta1NormalizedBoundingPoly" +} +}, +"type": "object" +}, +"GoogleCloudDatalabelingV1beta1ImageClassificationAnnotation": { +"description": "Image classification annotation definition.", +"id": "GoogleCloudDatalabelingV1beta1ImageClassificationAnnotation", +"properties": { +"annotationSpec": { +"$ref": "GoogleCloudDatalabelingV1beta1AnnotationSpec", +"description": "Label of image." +} +}, +"type": "object" +}, +"GoogleCloudDatalabelingV1beta1ImageClassificationConfig": { +"description": "Config for image classification human labeling task.", +"id": "GoogleCloudDatalabelingV1beta1ImageClassificationConfig", +"properties": { +"allowMultiLabel": { +"description": "Optional. If allow_multi_label is true, contributors are able to choose multiple labels for one image.", +"type": "boolean" +}, +"annotationSpecSet": { +"description": "Required. Annotation spec set resource name.", +"type": "string" +}, +"answerAggregationType": { +"description": "Optional. The type of how to aggregate answers.", +"enum": [ +"STRING_AGGREGATION_TYPE_UNSPECIFIED", +"MAJORITY_VOTE", +"UNANIMOUS_VOTE", +"NO_AGGREGATION" +], +"enumDescriptions": [ +"", +"Majority vote to aggregate answers.", +"Unanimous answers will be adopted.", +"Preserve all answers by crowd compute." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDatalabelingV1beta1ImagePayload": { +"description": "Container of information about an image.", +"id": "GoogleCloudDatalabelingV1beta1ImagePayload", +"properties": { +"imageThumbnail": { +"description": "A byte string of a thumbnail image.", +"format": "byte", +"type": "string" +}, +"imageUri": { +"description": "Image uri from the user bucket.", +"type": "string" +}, +"mimeType": { +"description": "Image format.", +"type": "string" +}, +"signedUri": { +"description": "Signed uri of the image file in the service bucket.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDatalabelingV1beta1ImagePolylineAnnotation": { +"description": "A polyline for the image annotation.", +"id": "GoogleCloudDatalabelingV1beta1ImagePolylineAnnotation", +"properties": { +"annotationSpec": { +"$ref": "GoogleCloudDatalabelingV1beta1AnnotationSpec", +"description": "Label of this polyline." +}, +"normalizedPolyline": { +"$ref": "GoogleCloudDatalabelingV1beta1NormalizedPolyline" +}, +"polyline": { +"$ref": "GoogleCloudDatalabelingV1beta1Polyline" +} +}, +"type": "object" +}, +"GoogleCloudDatalabelingV1beta1ImageSegmentationAnnotation": { +"description": "Image segmentation annotation.", +"id": "GoogleCloudDatalabelingV1beta1ImageSegmentationAnnotation", +"properties": { +"annotationColors": { +"additionalProperties": { +"$ref": "GoogleCloudDatalabelingV1beta1AnnotationSpec" +}, +"description": "The mapping between rgb color and annotation spec. The key is the rgb color represented in format of rgb(0, 0, 0). The value is the AnnotationSpec.", +"type": "object" +}, +"imageBytes": { +"description": "A byte string of a full image's color map.", +"format": "byte", +"type": "string" +}, +"mimeType": { +"description": "Image format.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDatalabelingV1beta1ImportDataOperationMetadata": { +"description": "Metadata of an ImportData operation.", +"id": "GoogleCloudDatalabelingV1beta1ImportDataOperationMetadata", +"properties": { +"createTime": { +"description": "Output only. Timestamp when import dataset request was created.", +"format": "google-datetime", +"type": "string" +}, +"dataset": { +"description": "Output only. The name of imported dataset. \"projects/*/datasets/*\"", +"type": "string" +}, +"partialFailures": { +"description": "Output only. Partial failures encountered. E.g. single files that couldn't be read. Status details field will contain standard GCP error details.", +"items": { +"$ref": "GoogleRpcStatus" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDatalabelingV1beta1ImportDataOperationResponse": { +"description": "Response used for ImportData longrunning operation.", +"id": "GoogleCloudDatalabelingV1beta1ImportDataOperationResponse", +"properties": { +"dataset": { +"description": "Ouptut only. The name of imported dataset.", +"type": "string" +}, +"importCount": { +"description": "Output only. Number of examples imported successfully.", +"format": "int32", +"type": "integer" +}, +"totalCount": { +"description": "Output only. Total number of examples requested to import", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"GoogleCloudDatalabelingV1beta1ImportDataRequest": { +"description": "Request message for ImportData API.", +"id": "GoogleCloudDatalabelingV1beta1ImportDataRequest", +"properties": { +"inputConfig": { +"$ref": "GoogleCloudDatalabelingV1beta1InputConfig", +"description": "Required. Specify the input source of the data." +}, +"userEmailAddress": { +"description": "Email of the user who started the import task and should be notified by email. If empty no notification will be sent.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDatalabelingV1beta1InputConfig": { +"description": "The configuration of input data, including data type, location, etc.", +"id": "GoogleCloudDatalabelingV1beta1InputConfig", +"properties": { +"annotationType": { +"description": "Optional. The type of annotation to be performed on this data. You must specify this field if you are using this InputConfig in an EvaluationJob.", +"enum": [ +"ANNOTATION_TYPE_UNSPECIFIED", +"IMAGE_CLASSIFICATION_ANNOTATION", +"IMAGE_BOUNDING_BOX_ANNOTATION", +"IMAGE_ORIENTED_BOUNDING_BOX_ANNOTATION", +"IMAGE_BOUNDING_POLY_ANNOTATION", +"IMAGE_POLYLINE_ANNOTATION", +"IMAGE_SEGMENTATION_ANNOTATION", +"VIDEO_SHOTS_CLASSIFICATION_ANNOTATION", +"VIDEO_OBJECT_TRACKING_ANNOTATION", +"VIDEO_OBJECT_DETECTION_ANNOTATION", +"VIDEO_EVENT_ANNOTATION", +"TEXT_CLASSIFICATION_ANNOTATION", +"TEXT_ENTITY_EXTRACTION_ANNOTATION", +"GENERAL_CLASSIFICATION_ANNOTATION" +], +"enumDescriptions": [ +"", +"Classification annotations in an image. Allowed for continuous evaluation.", +"Bounding box annotations in an image. A form of image object detection. Allowed for continuous evaluation.", +"Oriented bounding box. The box does not have to be parallel to horizontal line.", +"Bounding poly annotations in an image.", +"Polyline annotations in an image.", +"Segmentation annotations in an image.", +"Classification annotations in video shots.", +"Video object tracking annotation.", +"Video object detection annotation.", +"Video event annotation.", +"Classification for text. Allowed for continuous evaluation.", +"Entity extraction for text.", +"General classification. Allowed for continuous evaluation." +], +"type": "string" +}, +"bigquerySource": { +"$ref": "GoogleCloudDatalabelingV1beta1BigQuerySource", +"description": "Source located in BigQuery. You must specify this field if you are using this InputConfig in an EvaluationJob." +}, +"classificationMetadata": { +"$ref": "GoogleCloudDatalabelingV1beta1ClassificationMetadata", +"description": "Optional. Metadata about annotations for the input. You must specify this field if you are using this InputConfig in an EvaluationJob for a model version that performs classification." +}, +"dataType": { +"description": "Required. Data type must be specifed when user tries to import data.", +"enum": [ +"DATA_TYPE_UNSPECIFIED", +"IMAGE", +"VIDEO", +"TEXT", +"GENERAL_DATA" +], +"enumDescriptions": [ +"Data type is unspecified.", +"Allowed for continuous evaluation.", +"Video data type.", +"Allowed for continuous evaluation.", +"Allowed for continuous evaluation." +], +"type": "string" +}, +"gcsSource": { +"$ref": "GoogleCloudDatalabelingV1beta1GcsSource", +"description": "Source located in Cloud Storage." +}, +"textMetadata": { +"$ref": "GoogleCloudDatalabelingV1beta1TextMetadata", +"description": "Required for text import, as language code must be specified." +} +}, +"type": "object" +}, +"GoogleCloudDatalabelingV1beta1Instruction": { +"description": "Instruction of how to perform the labeling task for human operators. Currently only PDF instruction is supported.", +"id": "GoogleCloudDatalabelingV1beta1Instruction", +"properties": { +"blockingResources": { +"description": "Output only. The names of any related resources that are blocking changes to the instruction.", +"items": { +"type": "string" +}, +"type": "array" +}, +"createTime": { +"description": "Output only. Creation time of instruction.", +"format": "google-datetime", +"type": "string" +}, +"csvInstruction": { +"$ref": "GoogleCloudDatalabelingV1beta1CsvInstruction", +"deprecated": true, +"description": "Deprecated: this instruction format is not supported any more. Instruction from a CSV file, such as for classification task. The CSV file should have exact two columns, in the following format: * The first column is labeled data, such as an image reference, text. * The second column is comma separated labels associated with data." +}, +"dataType": { +"description": "Required. The data type of this instruction.", +"enum": [ +"DATA_TYPE_UNSPECIFIED", +"IMAGE", +"VIDEO", +"TEXT", +"GENERAL_DATA" +], +"enumDescriptions": [ +"Data type is unspecified.", +"Allowed for continuous evaluation.", +"Video data type.", +"Allowed for continuous evaluation.", +"Allowed for continuous evaluation." +], +"type": "string" +}, +"description": { +"description": "Optional. User-provided description of the instruction. The description can be up to 10000 characters long.", +"type": "string" +}, +"displayName": { +"description": "Required. The display name of the instruction. Maximum of 64 characters.", +"type": "string" +}, +"name": { +"description": "Output only. Instruction resource name, format: projects/{project_id}/instructions/{instruction_id}", +"type": "string" +}, +"pdfInstruction": { +"$ref": "GoogleCloudDatalabelingV1beta1PdfInstruction", +"description": "Instruction from a PDF document. The PDF should be in a Cloud Storage bucket." +}, +"updateTime": { +"description": "Output only. Last update time of instruction.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDatalabelingV1beta1LabelImageBoundingBoxOperationMetadata": { +"description": "Details of a LabelImageBoundingBox operation metadata.", +"id": "GoogleCloudDatalabelingV1beta1LabelImageBoundingBoxOperationMetadata", +"properties": { +"basicConfig": { +"$ref": "GoogleCloudDatalabelingV1beta1HumanAnnotationConfig", +"description": "Basic human annotation config used in labeling request." +} +}, +"type": "object" +}, +"GoogleCloudDatalabelingV1beta1LabelImageBoundingPolyOperationMetadata": { +"description": "Details of LabelImageBoundingPoly operation metadata.", +"id": "GoogleCloudDatalabelingV1beta1LabelImageBoundingPolyOperationMetadata", +"properties": { +"basicConfig": { +"$ref": "GoogleCloudDatalabelingV1beta1HumanAnnotationConfig", +"description": "Basic human annotation config used in labeling request." +} +}, +"type": "object" +}, +"GoogleCloudDatalabelingV1beta1LabelImageClassificationOperationMetadata": { +"description": "Metadata of a LabelImageClassification operation.", +"id": "GoogleCloudDatalabelingV1beta1LabelImageClassificationOperationMetadata", +"properties": { +"basicConfig": { +"$ref": "GoogleCloudDatalabelingV1beta1HumanAnnotationConfig", +"description": "Basic human annotation config used in labeling request." +} +}, +"type": "object" +}, +"GoogleCloudDatalabelingV1beta1LabelImageOrientedBoundingBoxOperationMetadata": { +"description": "Details of a LabelImageOrientedBoundingBox operation metadata.", +"id": "GoogleCloudDatalabelingV1beta1LabelImageOrientedBoundingBoxOperationMetadata", +"properties": { +"basicConfig": { +"$ref": "GoogleCloudDatalabelingV1beta1HumanAnnotationConfig", +"description": "Basic human annotation config." +} +}, +"type": "object" +}, +"GoogleCloudDatalabelingV1beta1LabelImagePolylineOperationMetadata": { +"description": "Details of LabelImagePolyline operation metadata.", +"id": "GoogleCloudDatalabelingV1beta1LabelImagePolylineOperationMetadata", +"properties": { +"basicConfig": { +"$ref": "GoogleCloudDatalabelingV1beta1HumanAnnotationConfig", +"description": "Basic human annotation config used in labeling request." +} +}, +"type": "object" +}, +"GoogleCloudDatalabelingV1beta1LabelImageRequest": { +"description": " Request message for starting an image labeling task.", +"id": "GoogleCloudDatalabelingV1beta1LabelImageRequest", +"properties": { +"basicConfig": { +"$ref": "GoogleCloudDatalabelingV1beta1HumanAnnotationConfig", +"description": "Required. Basic human annotation config." +}, +"boundingPolyConfig": { +"$ref": "GoogleCloudDatalabelingV1beta1BoundingPolyConfig", +"description": "Configuration for bounding box and bounding poly task. One of image_classification_config, bounding_poly_config, polyline_config and segmentation_config are required." +}, +"feature": { +"description": "Required. The type of image labeling task.", +"enum": [ +"FEATURE_UNSPECIFIED", +"CLASSIFICATION", +"BOUNDING_BOX", +"ORIENTED_BOUNDING_BOX", +"BOUNDING_POLY", +"POLYLINE", +"SEGMENTATION" +], +"enumDescriptions": [ +"", +"Label whole image with one or more of labels.", +"Label image with bounding boxes for labels.", +"Label oriented bounding box. The box does not have to be parallel to horizontal line.", +"Label images with bounding poly. A bounding poly is a plane figure that is bounded by a finite chain of straight line segments closing in a loop.", +"Label images with polyline. Polyline is formed by connected line segments which are not in closed form.", +"Label images with segmentation. Segmentation is different from bounding poly since it is more fine-grained, pixel level annotation." +], +"type": "string" +}, +"imageClassificationConfig": { +"$ref": "GoogleCloudDatalabelingV1beta1ImageClassificationConfig", +"description": "Configuration for image classification task. One of image_classification_config, bounding_poly_config, polyline_config and segmentation_config are required." +}, +"polylineConfig": { +"$ref": "GoogleCloudDatalabelingV1beta1PolylineConfig", +"description": "Configuration for polyline task. One of image_classification_config, bounding_poly_config, polyline_config and segmentation_config are required." +}, +"segmentationConfig": { +"$ref": "GoogleCloudDatalabelingV1beta1SegmentationConfig", +"description": "Configuration for segmentation task. One of image_classification_config, bounding_poly_config, polyline_config and segmentation_config are required." +} +}, +"type": "object" +}, +"GoogleCloudDatalabelingV1beta1LabelImageSegmentationOperationMetadata": { +"description": "Details of a LabelImageSegmentation operation metadata.", +"id": "GoogleCloudDatalabelingV1beta1LabelImageSegmentationOperationMetadata", +"properties": { +"basicConfig": { +"$ref": "GoogleCloudDatalabelingV1beta1HumanAnnotationConfig", +"description": "Basic human annotation config." +} +}, +"type": "object" +}, +"GoogleCloudDatalabelingV1beta1LabelOperationMetadata": { +"description": "Metadata of a labeling operation, such as LabelImage or LabelVideo. Next tag: 23", +"id": "GoogleCloudDatalabelingV1beta1LabelOperationMetadata", +"properties": { +"annotatedDataset": { +"description": "Output only. The name of annotated dataset in format \"projects/*/datasets/*/annotatedDatasets/*\".", +"type": "string" +}, +"createTime": { +"description": "Output only. Timestamp when labeling request was created.", +"format": "google-datetime", +"type": "string" +}, +"dataset": { +"description": "Output only. The name of dataset to be labeled. \"projects/*/datasets/*\"", +"type": "string" +}, +"imageBoundingBoxDetails": { +"$ref": "GoogleCloudDatalabelingV1beta1LabelImageBoundingBoxOperationMetadata", +"description": "Details of label image bounding box operation." +}, +"imageBoundingPolyDetails": { +"$ref": "GoogleCloudDatalabelingV1beta1LabelImageBoundingPolyOperationMetadata", +"description": "Details of label image bounding poly operation." +}, +"imageClassificationDetails": { +"$ref": "GoogleCloudDatalabelingV1beta1LabelImageClassificationOperationMetadata", +"description": "Details of label image classification operation." +}, +"imageOrientedBoundingBoxDetails": { +"$ref": "GoogleCloudDatalabelingV1beta1LabelImageOrientedBoundingBoxOperationMetadata", +"description": "Details of label image oriented bounding box operation." +}, +"imagePolylineDetails": { +"$ref": "GoogleCloudDatalabelingV1beta1LabelImagePolylineOperationMetadata", +"description": "Details of label image polyline operation." +}, +"imageSegmentationDetails": { +"$ref": "GoogleCloudDatalabelingV1beta1LabelImageSegmentationOperationMetadata", +"description": "Details of label image segmentation operation." +}, +"partialFailures": { +"description": "Output only. Partial failures encountered. E.g. single files that couldn't be read. Status details field will contain standard GCP error details.", +"items": { +"$ref": "GoogleRpcStatus" +}, +"type": "array" +}, +"progressPercent": { +"description": "Output only. Progress of label operation. Range: [0, 100].", +"format": "int32", +"type": "integer" +}, +"textClassificationDetails": { +"$ref": "GoogleCloudDatalabelingV1beta1LabelTextClassificationOperationMetadata", +"description": "Details of label text classification operation." +}, +"textEntityExtractionDetails": { +"$ref": "GoogleCloudDatalabelingV1beta1LabelTextEntityExtractionOperationMetadata", +"description": "Details of label text entity extraction operation." +}, +"videoClassificationDetails": { +"$ref": "GoogleCloudDatalabelingV1beta1LabelVideoClassificationOperationMetadata", +"description": "Details of label video classification operation." +}, +"videoEventDetails": { +"$ref": "GoogleCloudDatalabelingV1beta1LabelVideoEventOperationMetadata", +"description": "Details of label video event operation." +}, +"videoObjectDetectionDetails": { +"$ref": "GoogleCloudDatalabelingV1beta1LabelVideoObjectDetectionOperationMetadata", +"description": "Details of label video object detection operation." +}, +"videoObjectTrackingDetails": { +"$ref": "GoogleCloudDatalabelingV1beta1LabelVideoObjectTrackingOperationMetadata", +"description": "Details of label video object tracking operation." +} +}, +"type": "object" +}, +"GoogleCloudDatalabelingV1beta1LabelStats": { +"description": "Statistics about annotation specs.", +"id": "GoogleCloudDatalabelingV1beta1LabelStats", +"properties": { +"exampleCount": { +"additionalProperties": { +"format": "int64", +"type": "string" +}, +"description": "Map of each annotation spec's example count. Key is the annotation spec name and value is the number of examples for that annotation spec. If the annotated dataset does not have annotation spec, the map will return a pair where the key is empty string and value is the total number of annotations.", +"type": "object" +} +}, +"type": "object" +}, +"GoogleCloudDatalabelingV1beta1LabelTextClassificationOperationMetadata": { +"description": "Details of a LabelTextClassification operation metadata.", +"id": "GoogleCloudDatalabelingV1beta1LabelTextClassificationOperationMetadata", +"properties": { +"basicConfig": { +"$ref": "GoogleCloudDatalabelingV1beta1HumanAnnotationConfig", +"description": "Basic human annotation config used in labeling request." +} +}, +"type": "object" +}, +"GoogleCloudDatalabelingV1beta1LabelTextEntityExtractionOperationMetadata": { +"description": "Details of a LabelTextEntityExtraction operation metadata.", +"id": "GoogleCloudDatalabelingV1beta1LabelTextEntityExtractionOperationMetadata", +"properties": { +"basicConfig": { +"$ref": "GoogleCloudDatalabelingV1beta1HumanAnnotationConfig", +"description": "Basic human annotation config used in labeling request." +} +}, +"type": "object" +}, +"GoogleCloudDatalabelingV1beta1LabelTextRequest": { +"description": "Request message for LabelText.", +"id": "GoogleCloudDatalabelingV1beta1LabelTextRequest", +"properties": { +"basicConfig": { +"$ref": "GoogleCloudDatalabelingV1beta1HumanAnnotationConfig", +"description": "Required. Basic human annotation config." +}, +"feature": { +"description": "Required. The type of text labeling task.", +"enum": [ +"FEATURE_UNSPECIFIED", +"TEXT_CLASSIFICATION", +"TEXT_ENTITY_EXTRACTION" +], +"enumDescriptions": [ +"", +"Label text content to one of more labels.", +"Label entities and their span in text." +], +"type": "string" +}, +"textClassificationConfig": { +"$ref": "GoogleCloudDatalabelingV1beta1TextClassificationConfig", +"description": "Configuration for text classification task. One of text_classification_config and text_entity_extraction_config is required." +}, +"textEntityExtractionConfig": { +"$ref": "GoogleCloudDatalabelingV1beta1TextEntityExtractionConfig", +"description": "Configuration for entity extraction task. One of text_classification_config and text_entity_extraction_config is required." +} +}, +"type": "object" +}, +"GoogleCloudDatalabelingV1beta1LabelVideoClassificationOperationMetadata": { +"description": "Details of a LabelVideoClassification operation metadata.", +"id": "GoogleCloudDatalabelingV1beta1LabelVideoClassificationOperationMetadata", +"properties": { +"basicConfig": { +"$ref": "GoogleCloudDatalabelingV1beta1HumanAnnotationConfig", +"description": "Basic human annotation config used in labeling request." +} +}, +"type": "object" +}, +"GoogleCloudDatalabelingV1beta1LabelVideoEventOperationMetadata": { +"description": "Details of a LabelVideoEvent operation metadata.", +"id": "GoogleCloudDatalabelingV1beta1LabelVideoEventOperationMetadata", +"properties": { +"basicConfig": { +"$ref": "GoogleCloudDatalabelingV1beta1HumanAnnotationConfig", +"description": "Basic human annotation config used in labeling request." +} +}, +"type": "object" +}, +"GoogleCloudDatalabelingV1beta1LabelVideoObjectDetectionOperationMetadata": { +"description": "Details of a LabelVideoObjectDetection operation metadata.", +"id": "GoogleCloudDatalabelingV1beta1LabelVideoObjectDetectionOperationMetadata", +"properties": { +"basicConfig": { +"$ref": "GoogleCloudDatalabelingV1beta1HumanAnnotationConfig", +"description": "Basic human annotation config used in labeling request." +} +}, +"type": "object" +}, +"GoogleCloudDatalabelingV1beta1LabelVideoObjectTrackingOperationMetadata": { +"description": "Details of a LabelVideoObjectTracking operation metadata.", +"id": "GoogleCloudDatalabelingV1beta1LabelVideoObjectTrackingOperationMetadata", +"properties": { +"basicConfig": { +"$ref": "GoogleCloudDatalabelingV1beta1HumanAnnotationConfig", +"description": "Basic human annotation config used in labeling request." +} +}, +"type": "object" +}, +"GoogleCloudDatalabelingV1beta1LabelVideoRequest": { +"description": " Request message for LabelVideo.", +"id": "GoogleCloudDatalabelingV1beta1LabelVideoRequest", +"properties": { +"basicConfig": { +"$ref": "GoogleCloudDatalabelingV1beta1HumanAnnotationConfig", +"description": "Required. Basic human annotation config." +}, +"eventConfig": { +"$ref": "GoogleCloudDatalabelingV1beta1EventConfig", +"description": "Configuration for video event task. One of video_classification_config, object_detection_config, object_tracking_config and event_config is required." +}, +"feature": { +"description": "Required. The type of video labeling task.", +"enum": [ +"FEATURE_UNSPECIFIED", +"CLASSIFICATION", +"OBJECT_DETECTION", +"OBJECT_TRACKING", +"EVENT" +], +"enumDescriptions": [ +"", +"Label whole video or video segment with one or more labels.", +"Label objects with bounding box on image frames extracted from the video.", +"Label and track objects in video.", +"Label the range of video for the specified events." +], +"type": "string" +}, +"objectDetectionConfig": { +"$ref": "GoogleCloudDatalabelingV1beta1ObjectDetectionConfig", +"description": "Configuration for video object detection task. One of video_classification_config, object_detection_config, object_tracking_config and event_config is required." +}, +"objectTrackingConfig": { +"$ref": "GoogleCloudDatalabelingV1beta1ObjectTrackingConfig", +"description": "Configuration for video object tracking task. One of video_classification_config, object_detection_config, object_tracking_config and event_config is required." +}, +"videoClassificationConfig": { +"$ref": "GoogleCloudDatalabelingV1beta1VideoClassificationConfig", +"description": "Configuration for video classification task. One of video_classification_config, object_detection_config, object_tracking_config and event_config is required." +} +}, +"type": "object" +}, +"GoogleCloudDatalabelingV1beta1ListAnnotatedDatasetsResponse": { +"description": "Results of listing annotated datasets for a dataset.", +"id": "GoogleCloudDatalabelingV1beta1ListAnnotatedDatasetsResponse", +"properties": { +"annotatedDatasets": { +"description": "The list of annotated datasets to return.", +"items": { +"$ref": "GoogleCloudDatalabelingV1beta1AnnotatedDataset" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A token to retrieve next page of results.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDatalabelingV1beta1ListAnnotationSpecSetsResponse": { +"description": "Results of listing annotation spec set under a project.", +"id": "GoogleCloudDatalabelingV1beta1ListAnnotationSpecSetsResponse", +"properties": { +"annotationSpecSets": { +"description": "The list of annotation spec sets.", +"items": { +"$ref": "GoogleCloudDatalabelingV1beta1AnnotationSpecSet" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A token to retrieve next page of results.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDatalabelingV1beta1ListDataItemsResponse": { +"description": "Results of listing data items in a dataset.", +"id": "GoogleCloudDatalabelingV1beta1ListDataItemsResponse", +"properties": { +"dataItems": { +"description": "The list of data items to return.", +"items": { +"$ref": "GoogleCloudDatalabelingV1beta1DataItem" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A token to retrieve next page of results.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDatalabelingV1beta1ListDatasetsResponse": { +"description": "Results of listing datasets within a project.", +"id": "GoogleCloudDatalabelingV1beta1ListDatasetsResponse", +"properties": { +"datasets": { +"description": "The list of datasets to return.", +"items": { +"$ref": "GoogleCloudDatalabelingV1beta1Dataset" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A token to retrieve next page of results.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDatalabelingV1beta1ListEvaluationJobsResponse": { +"description": "Results for listing evaluation jobs.", +"id": "GoogleCloudDatalabelingV1beta1ListEvaluationJobsResponse", +"properties": { +"evaluationJobs": { +"description": "The list of evaluation jobs to return.", +"items": { +"$ref": "GoogleCloudDatalabelingV1beta1EvaluationJob" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A token to retrieve next page of results.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDatalabelingV1beta1ListExamplesResponse": { +"description": "Results of listing Examples in and annotated dataset.", +"id": "GoogleCloudDatalabelingV1beta1ListExamplesResponse", +"properties": { +"examples": { +"description": "The list of examples to return.", +"items": { +"$ref": "GoogleCloudDatalabelingV1beta1Example" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A token to retrieve next page of results.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDatalabelingV1beta1ListFeedbackMessagesResponse": { +"description": "Results for listing FeedbackMessages.", +"id": "GoogleCloudDatalabelingV1beta1ListFeedbackMessagesResponse", +"properties": { +"feedbackMessages": { +"description": "The list of feedback messages to return.", +"items": { +"$ref": "GoogleCloudDatalabelingV1beta1FeedbackMessage" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A token to retrieve next page of results.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDatalabelingV1beta1ListFeedbackThreadsResponse": { +"description": "Results for listing FeedbackThreads.", +"id": "GoogleCloudDatalabelingV1beta1ListFeedbackThreadsResponse", +"properties": { +"feedbackThreads": { +"description": "The list of feedback threads to return.", +"items": { +"$ref": "GoogleCloudDatalabelingV1beta1FeedbackThread" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A token to retrieve next page of results.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDatalabelingV1beta1ListInstructionsResponse": { +"description": "Results of listing instructions under a project.", +"id": "GoogleCloudDatalabelingV1beta1ListInstructionsResponse", +"properties": { +"instructions": { +"description": "The list of Instructions to return.", +"items": { +"$ref": "GoogleCloudDatalabelingV1beta1Instruction" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A token to retrieve next page of results.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDatalabelingV1beta1NormalizedBoundingPoly": { +"description": "Normalized bounding polygon.", +"id": "GoogleCloudDatalabelingV1beta1NormalizedBoundingPoly", +"properties": { +"normalizedVertices": { +"description": "The bounding polygon normalized vertices.", +"items": { +"$ref": "GoogleCloudDatalabelingV1beta1NormalizedVertex" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDatalabelingV1beta1NormalizedPolyline": { +"description": "Normalized polyline.", +"id": "GoogleCloudDatalabelingV1beta1NormalizedPolyline", +"properties": { +"normalizedVertices": { +"description": "The normalized polyline vertices.", +"items": { +"$ref": "GoogleCloudDatalabelingV1beta1NormalizedVertex" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDatalabelingV1beta1NormalizedVertex": { +"description": "A vertex represents a 2D point in the image. NOTE: the normalized vertex coordinates are relative to the original image and range from 0 to 1.", +"id": "GoogleCloudDatalabelingV1beta1NormalizedVertex", +"properties": { +"x": { +"description": "X coordinate.", +"format": "float", +"type": "number" +}, +"y": { +"description": "Y coordinate.", +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"GoogleCloudDatalabelingV1beta1ObjectDetectionConfig": { +"description": "Config for video object detection human labeling task. Object detection will be conducted on the images extracted from the video, and those objects will be labeled with bounding boxes. User need to specify the number of images to be extracted per second as the extraction frame rate.", +"id": "GoogleCloudDatalabelingV1beta1ObjectDetectionConfig", +"properties": { +"annotationSpecSet": { +"description": "Required. Annotation spec set resource name.", +"type": "string" +}, +"extractionFrameRate": { +"description": "Required. Number of frames per second to be extracted from the video.", +"format": "double", +"type": "number" +} +}, +"type": "object" +}, +"GoogleCloudDatalabelingV1beta1ObjectDetectionMetrics": { +"description": "Metrics calculated for an image object detection (bounding box) model.", +"id": "GoogleCloudDatalabelingV1beta1ObjectDetectionMetrics", +"properties": { +"prCurve": { +"$ref": "GoogleCloudDatalabelingV1beta1PrCurve", +"description": "Precision-recall curve." +} +}, +"type": "object" +}, +"GoogleCloudDatalabelingV1beta1ObjectTrackingConfig": { +"description": "Config for video object tracking human labeling task.", +"id": "GoogleCloudDatalabelingV1beta1ObjectTrackingConfig", +"properties": { +"annotationSpecSet": { +"description": "Required. Annotation spec set resource name.", +"type": "string" +}, +"clipLength": { +"description": "Videos will be cut to smaller clips to make it easier for labelers to work on. Users can configure is field in seconds, if not set, default value is 20s.", +"format": "int32", +"type": "integer" +}, +"overlapLength": { +"description": "The overlap length between different video clips. Users can configure is field in seconds, if not set, default value is 0.3s.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"GoogleCloudDatalabelingV1beta1ObjectTrackingFrame": { +"description": "Video frame level annotation for object detection and tracking.", +"id": "GoogleCloudDatalabelingV1beta1ObjectTrackingFrame", +"properties": { +"boundingPoly": { +"$ref": "GoogleCloudDatalabelingV1beta1BoundingPoly" +}, +"normalizedBoundingPoly": { +"$ref": "GoogleCloudDatalabelingV1beta1NormalizedBoundingPoly" +}, +"timeOffset": { +"description": "The time offset of this frame relative to the beginning of the video.", +"format": "google-duration", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDatalabelingV1beta1OperatorFeedbackMetadata": { +"description": "Metadata describing the feedback from the operator.", +"id": "GoogleCloudDatalabelingV1beta1OperatorFeedbackMetadata", +"properties": {}, +"type": "object" +}, +"GoogleCloudDatalabelingV1beta1OperatorMetadata": { +"description": "General information useful for labels coming from contributors.", +"id": "GoogleCloudDatalabelingV1beta1OperatorMetadata", +"properties": { +"comments": { +"description": "Comments from contributors.", +"items": { +"type": "string" +}, +"type": "array" +}, +"labelVotes": { +"description": "The total number of contributors that choose this label.", +"format": "int32", +"type": "integer" +}, +"score": { +"description": "Confidence score corresponding to a label. For examle, if 3 contributors have answered the question and 2 of them agree on the final label, the confidence score will be 0.67 (2/3).", +"format": "float", +"type": "number" +}, +"totalVotes": { +"description": "The total number of contributors that answer this question.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"GoogleCloudDatalabelingV1beta1OutputConfig": { +"description": "The configuration of output data.", +"id": "GoogleCloudDatalabelingV1beta1OutputConfig", +"properties": { +"gcsDestination": { +"$ref": "GoogleCloudDatalabelingV1beta1GcsDestination", +"description": "Output to a file in Cloud Storage. Should be used for labeling output other than image segmentation." +}, +"gcsFolderDestination": { +"$ref": "GoogleCloudDatalabelingV1beta1GcsFolderDestination", +"description": "Output to a folder in Cloud Storage. Should be used for image segmentation or document de-identification labeling outputs." +} +}, +"type": "object" +}, +"GoogleCloudDatalabelingV1beta1PauseEvaluationJobRequest": { +"description": "Request message for PauseEvaluationJob.", +"id": "GoogleCloudDatalabelingV1beta1PauseEvaluationJobRequest", +"properties": {}, +"type": "object" +}, +"GoogleCloudDatalabelingV1beta1PdfInstruction": { +"description": "Instruction from a PDF file.", +"id": "GoogleCloudDatalabelingV1beta1PdfInstruction", +"properties": { +"gcsFileUri": { +"description": "PDF file for the instruction. Only gcs path is allowed.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDatalabelingV1beta1Polyline": { +"description": "A line with multiple line segments.", +"id": "GoogleCloudDatalabelingV1beta1Polyline", +"properties": { +"vertices": { +"description": "The polyline vertices.", +"items": { +"$ref": "GoogleCloudDatalabelingV1beta1Vertex" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDatalabelingV1beta1PolylineConfig": { +"description": "Config for image polyline human labeling task.", +"id": "GoogleCloudDatalabelingV1beta1PolylineConfig", +"properties": { +"annotationSpecSet": { +"description": "Required. Annotation spec set resource name.", +"type": "string" +}, +"instructionMessage": { +"description": "Optional. Instruction message showed on contributors UI.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDatalabelingV1beta1PrCurve": { +"id": "GoogleCloudDatalabelingV1beta1PrCurve", +"properties": { +"annotationSpec": { +"$ref": "GoogleCloudDatalabelingV1beta1AnnotationSpec", +"description": "The annotation spec of the label for which the precision-recall curve calculated. If this field is empty, that means the precision-recall curve is an aggregate curve for all labels." +}, +"areaUnderCurve": { +"description": "Area under the precision-recall curve. Not to be confused with area under a receiver operating characteristic (ROC) curve.", +"format": "float", +"type": "number" +}, +"confidenceMetricsEntries": { +"description": "Entries that make up the precision-recall graph. Each entry is a \"point\" on the graph drawn for a different `confidence_threshold`.", +"items": { +"$ref": "GoogleCloudDatalabelingV1beta1ConfidenceMetricsEntry" +}, +"type": "array" +}, +"meanAveragePrecision": { +"description": "Mean average prcision of this curve.", +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"GoogleCloudDatalabelingV1beta1RequesterFeedbackMetadata": { +"description": "Metadata describing the feedback from the labeling task requester.", +"id": "GoogleCloudDatalabelingV1beta1RequesterFeedbackMetadata", +"properties": {}, +"type": "object" +}, +"GoogleCloudDatalabelingV1beta1ResumeEvaluationJobRequest": { +"description": "Request message ResumeEvaluationJob.", +"id": "GoogleCloudDatalabelingV1beta1ResumeEvaluationJobRequest", +"properties": {}, +"type": "object" +}, +"GoogleCloudDatalabelingV1beta1Row": { +"description": "A row in the confusion matrix. Each entry in this row has the same ground truth label.", +"id": "GoogleCloudDatalabelingV1beta1Row", +"properties": { +"annotationSpec": { +"$ref": "GoogleCloudDatalabelingV1beta1AnnotationSpec", +"description": "The annotation spec of the ground truth label for this row." +}, +"entries": { +"description": "A list of the confusion matrix entries. One entry for each possible predicted label.", +"items": { +"$ref": "GoogleCloudDatalabelingV1beta1ConfusionMatrixEntry" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDatalabelingV1beta1SearchEvaluationsResponse": { +"description": "Results of searching evaluations.", +"id": "GoogleCloudDatalabelingV1beta1SearchEvaluationsResponse", +"properties": { +"evaluations": { +"description": "The list of evaluations matching the search.", +"items": { +"$ref": "GoogleCloudDatalabelingV1beta1Evaluation" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A token to retrieve next page of results.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDatalabelingV1beta1SearchExampleComparisonsRequest": { +"description": "Request message of SearchExampleComparisons.", +"id": "GoogleCloudDatalabelingV1beta1SearchExampleComparisonsRequest", +"properties": { +"pageSize": { +"description": "Optional. Requested page size. Server may return fewer results than requested. Default value is 100.", +"format": "int32", +"type": "integer" +}, +"pageToken": { +"description": "Optional. A token identifying a page of results for the server to return. Typically obtained by the nextPageToken of the response to a previous search rquest. If you don't specify this field, the API call requests the first page of the search.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDatalabelingV1beta1SearchExampleComparisonsResponse": { +"description": "Results of searching example comparisons.", +"id": "GoogleCloudDatalabelingV1beta1SearchExampleComparisonsResponse", +"properties": { +"exampleComparisons": { +"description": "A list of example comparisons matching the search criteria.", +"items": { +"$ref": "GoogleCloudDatalabelingV1beta1ExampleComparison" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A token to retrieve next page of results.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDatalabelingV1beta1SegmentationConfig": { +"description": "Config for image segmentation", +"id": "GoogleCloudDatalabelingV1beta1SegmentationConfig", +"properties": { +"annotationSpecSet": { +"description": "Required. Annotation spec set resource name. format: projects/{project_id}/annotationSpecSets/{annotation_spec_set_id}", +"type": "string" +}, +"instructionMessage": { +"description": "Instruction message showed on labelers UI.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDatalabelingV1beta1SentimentConfig": { +"description": "Config for setting up sentiments.", +"id": "GoogleCloudDatalabelingV1beta1SentimentConfig", +"properties": { +"enableLabelSentimentSelection": { +"description": "If set to true, contributors will have the option to select sentiment of the label they selected, to mark it as negative or positive label. Default is false.", +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleCloudDatalabelingV1beta1SequentialSegment": { +"description": "Start and end position in a sequence (e.g. text segment).", +"id": "GoogleCloudDatalabelingV1beta1SequentialSegment", +"properties": { +"end": { +"description": "End position (exclusive).", +"format": "int32", +"type": "integer" +}, +"start": { +"description": "Start position (inclusive).", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"GoogleCloudDatalabelingV1beta1TextClassificationAnnotation": { +"description": "Text classification annotation.", +"id": "GoogleCloudDatalabelingV1beta1TextClassificationAnnotation", +"properties": { +"annotationSpec": { +"$ref": "GoogleCloudDatalabelingV1beta1AnnotationSpec", +"description": "Label of the text." +} +}, +"type": "object" +}, +"GoogleCloudDatalabelingV1beta1TextClassificationConfig": { +"description": "Config for text classification human labeling task.", +"id": "GoogleCloudDatalabelingV1beta1TextClassificationConfig", +"properties": { +"allowMultiLabel": { +"description": "Optional. If allow_multi_label is true, contributors are able to choose multiple labels for one text segment.", +"type": "boolean" +}, +"annotationSpecSet": { +"description": "Required. Annotation spec set resource name.", +"type": "string" +}, +"sentimentConfig": { +"$ref": "GoogleCloudDatalabelingV1beta1SentimentConfig", +"deprecated": true, +"description": "Optional. Configs for sentiment selection. We deprecate sentiment analysis in data labeling side as it is incompatible with uCAIP." +} +}, +"type": "object" +}, +"GoogleCloudDatalabelingV1beta1TextEntityExtractionAnnotation": { +"description": "Text entity extraction annotation.", +"id": "GoogleCloudDatalabelingV1beta1TextEntityExtractionAnnotation", +"properties": { +"annotationSpec": { +"$ref": "GoogleCloudDatalabelingV1beta1AnnotationSpec", +"description": "Label of the text entities." +}, +"sequentialSegment": { +"$ref": "GoogleCloudDatalabelingV1beta1SequentialSegment", +"description": "Position of the entity." +} +}, +"type": "object" +}, +"GoogleCloudDatalabelingV1beta1TextEntityExtractionConfig": { +"description": "Config for text entity extraction human labeling task.", +"id": "GoogleCloudDatalabelingV1beta1TextEntityExtractionConfig", +"properties": { +"annotationSpecSet": { +"description": "Required. Annotation spec set resource name.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDatalabelingV1beta1TextMetadata": { +"description": "Metadata for the text.", +"id": "GoogleCloudDatalabelingV1beta1TextMetadata", +"properties": { +"languageCode": { +"description": "The language of this text, as a [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt). Default value is en-US.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDatalabelingV1beta1TextPayload": { +"description": "Container of information about a piece of text.", +"id": "GoogleCloudDatalabelingV1beta1TextPayload", +"properties": { +"textContent": { +"description": "Text content.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDatalabelingV1beta1TimeSegment": { +"description": "A time period inside of an example that has a time dimension (e.g. video).", +"id": "GoogleCloudDatalabelingV1beta1TimeSegment", +"properties": { +"endTimeOffset": { +"description": "End of the time segment (exclusive), represented as the duration since the example start.", +"format": "google-duration", +"type": "string" +}, +"startTimeOffset": { +"description": "Start of the time segment (inclusive), represented as the duration since the example start.", +"format": "google-duration", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDatalabelingV1beta1Vertex": { +"description": "A vertex represents a 2D point in the image. NOTE: the vertex coordinates are in the same scale as the original image.", +"id": "GoogleCloudDatalabelingV1beta1Vertex", +"properties": { +"x": { +"description": "X coordinate.", +"format": "int32", +"type": "integer" +}, +"y": { +"description": "Y coordinate.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"GoogleCloudDatalabelingV1beta1VideoClassificationAnnotation": { +"description": "Video classification annotation.", +"id": "GoogleCloudDatalabelingV1beta1VideoClassificationAnnotation", +"properties": { +"annotationSpec": { +"$ref": "GoogleCloudDatalabelingV1beta1AnnotationSpec", +"description": "Label of the segment specified by time_segment." +}, +"timeSegment": { +"$ref": "GoogleCloudDatalabelingV1beta1TimeSegment", +"description": "The time segment of the video to which the annotation applies." +} +}, +"type": "object" +}, +"GoogleCloudDatalabelingV1beta1VideoClassificationConfig": { +"description": "Config for video classification human labeling task. Currently two types of video classification are supported: 1. Assign labels on the entire video. 2. Split the video into multiple video clips based on camera shot, and assign labels on each video clip.", +"id": "GoogleCloudDatalabelingV1beta1VideoClassificationConfig", +"properties": { +"annotationSpecSetConfigs": { +"description": "Required. The list of annotation spec set configs. Since watching a video clip takes much longer time than an image, we support label with multiple AnnotationSpecSet at the same time. Labels in each AnnotationSpecSet will be shown in a group to contributors. Contributors can select one or more (depending on whether to allow multi label) from each group.", +"items": { +"$ref": "GoogleCloudDatalabelingV1beta1AnnotationSpecSetConfig" +}, +"type": "array" +}, +"applyShotDetection": { +"description": "Optional. Option to apply shot detection on the video.", +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleCloudDatalabelingV1beta1VideoEventAnnotation": { +"description": "Video event annotation.", +"id": "GoogleCloudDatalabelingV1beta1VideoEventAnnotation", +"properties": { +"annotationSpec": { +"$ref": "GoogleCloudDatalabelingV1beta1AnnotationSpec", +"description": "Label of the event in this annotation." +}, +"timeSegment": { +"$ref": "GoogleCloudDatalabelingV1beta1TimeSegment", +"description": "The time segment of the video to which the annotation applies." +} +}, +"type": "object" +}, +"GoogleCloudDatalabelingV1beta1VideoObjectTrackingAnnotation": { +"description": "Video object tracking annotation.", +"id": "GoogleCloudDatalabelingV1beta1VideoObjectTrackingAnnotation", +"properties": { +"annotationSpec": { +"$ref": "GoogleCloudDatalabelingV1beta1AnnotationSpec", +"description": "Label of the object tracked in this annotation." +}, +"objectTrackingFrames": { +"description": "The list of frames where this object track appears.", +"items": { +"$ref": "GoogleCloudDatalabelingV1beta1ObjectTrackingFrame" +}, +"type": "array" +}, +"timeSegment": { +"$ref": "GoogleCloudDatalabelingV1beta1TimeSegment", +"description": "The time segment of the video to which object tracking applies." +} +}, +"type": "object" +}, +"GoogleCloudDatalabelingV1beta1VideoPayload": { +"description": "Container of information of a video.", +"id": "GoogleCloudDatalabelingV1beta1VideoPayload", +"properties": { +"frameRate": { +"description": "FPS of the video.", +"format": "float", +"type": "number" +}, +"mimeType": { +"description": "Video format.", +"type": "string" +}, +"signedUri": { +"description": "Signed uri of the video file in the service bucket.", +"type": "string" +}, +"videoThumbnails": { +"description": "The list of video thumbnails.", +"items": { +"$ref": "GoogleCloudDatalabelingV1beta1VideoThumbnail" +}, +"type": "array" +}, +"videoUri": { +"description": "Video uri from the user bucket.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDatalabelingV1beta1VideoThumbnail": { +"description": "Container of information of a video thumbnail.", +"id": "GoogleCloudDatalabelingV1beta1VideoThumbnail", +"properties": { +"thumbnail": { +"description": "A byte string of the video frame.", +"format": "byte", +"type": "string" +}, +"timeOffset": { +"description": "Time offset relative to the beginning of the video, corresponding to the video frame where the thumbnail has been extracted from.", +"format": "google-duration", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDatalabelingV1p1alpha1CreateInstructionMetadata": { +"description": "Metadata of a CreateInstruction operation.", +"id": "GoogleCloudDatalabelingV1p1alpha1CreateInstructionMetadata", +"properties": { +"createTime": { +"description": "Timestamp when create instruction request was created.", +"format": "google-datetime", +"type": "string" +}, +"instruction": { +"description": "The name of the created Instruction. projects/{project_id}/instructions/{instruction_id}", +"type": "string" +}, +"partialFailures": { +"description": "Partial failures encountered. E.g. single files that couldn't be read. Status details field will contain standard GCP error details.", +"items": { +"$ref": "GoogleRpcStatus" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDatalabelingV1p1alpha1ExportDataOperationMetadata": { +"description": "Metadata of an ExportData operation.", +"id": "GoogleCloudDatalabelingV1p1alpha1ExportDataOperationMetadata", +"properties": { +"annotatedDataset": { +"description": "Output only. The name of annotated dataset in format \"projects/*/datasets/*/annotatedDatasets/*\".", +"type": "string" +}, +"createTime": { +"description": "Output only. Timestamp when export dataset request was created.", +"format": "google-datetime", +"type": "string" +}, +"dataset": { +"description": "Output only. The name of dataset to be exported. \"projects/*/datasets/*\"", +"type": "string" +}, +"partialFailures": { +"description": "Output only. Partial failures encountered. E.g. single files that couldn't be read. Status details field will contain standard GCP error details.", +"items": { +"$ref": "GoogleRpcStatus" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDatalabelingV1p1alpha1ExportDataOperationResponse": { +"description": "Response used for ExportDataset longrunning operation.", +"id": "GoogleCloudDatalabelingV1p1alpha1ExportDataOperationResponse", +"properties": { +"annotatedDataset": { +"description": "Output only. The name of annotated dataset in format \"projects/*/datasets/*/annotatedDatasets/*\".", +"type": "string" +}, +"dataset": { +"description": "Ouptut only. The name of dataset. \"projects/*/datasets/*\"", +"type": "string" +}, +"exportCount": { +"description": "Output only. Number of examples exported successfully.", +"format": "int32", +"type": "integer" +}, +"labelStats": { +"$ref": "GoogleCloudDatalabelingV1p1alpha1LabelStats", +"description": "Output only. Statistic infos of labels in the exported dataset." +}, +"outputConfig": { +"$ref": "GoogleCloudDatalabelingV1p1alpha1OutputConfig", +"description": "Output only. output_config in the ExportData request." +}, +"totalCount": { +"description": "Output only. Total number of examples requested to export", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"GoogleCloudDatalabelingV1p1alpha1GcsDestination": { +"description": "Export destination of the data.Only gcs path is allowed in output_uri.", +"id": "GoogleCloudDatalabelingV1p1alpha1GcsDestination", +"properties": { +"mimeType": { +"description": "Required. The format of the gcs destination. Only \"text/csv\" and \"application/json\" are supported.", +"type": "string" +}, +"outputUri": { +"description": "Required. The output uri of destination file.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDatalabelingV1p1alpha1GcsFolderDestination": { +"description": "Export folder destination of the data.", +"id": "GoogleCloudDatalabelingV1p1alpha1GcsFolderDestination", +"properties": { +"outputFolderUri": { +"description": "Required. Cloud Storage directory to export data to.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDatalabelingV1p1alpha1GenerateAnalysisReportOperationMetadata": { +"description": "Metadata of an GenerateAnalysisReport operation.", +"id": "GoogleCloudDatalabelingV1p1alpha1GenerateAnalysisReportOperationMetadata", +"properties": { +"createTime": { +"description": "Timestamp when generate report request was created.", +"format": "google-datetime", +"type": "string" +}, +"dataset": { +"description": "The name of the dataset for which the analysis report is generated. Format: \"projects/*/datasets/*\"", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDatalabelingV1p1alpha1HumanAnnotationConfig": { +"description": "Configuration for how human labeling task should be done.", +"id": "GoogleCloudDatalabelingV1p1alpha1HumanAnnotationConfig", +"properties": { +"annotatedDatasetDescription": { +"description": "Optional. A human-readable description for AnnotatedDataset. The description can be up to 10000 characters long.", +"type": "string" +}, +"annotatedDatasetDisplayName": { +"description": "Required. A human-readable name for AnnotatedDataset defined by users. Maximum of 64 characters .", +"type": "string" +}, +"contributorEmails": { +"description": "Optional. If you want your own labeling contributors to manage and work on this labeling request, you can set these contributors here. We will give them access to the question types in crowdcompute. Note that these emails must be registered in crowdcompute worker UI: https://crowd-compute.appspot.com/", +"items": { +"type": "string" +}, +"type": "array" +}, +"instruction": { +"description": "Required. Instruction resource name.", +"type": "string" +}, +"labelGroup": { +"description": "Optional. A human-readable label used to logically group labeling tasks. This string must match the regular expression `[a-zA-Z\\\\d_-]{0,128}`.", +"type": "string" +}, +"languageCode": { +"description": "Optional. The Language of this question, as a [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt). Default value is en-US. Only need to set this when task is language related. For example, French text classification.", +"type": "string" +}, +"questionDuration": { +"description": "Optional. Maximum duration for contributors to answer a question. Maximum is 3600 seconds. Default is 3600 seconds.", +"format": "google-duration", +"type": "string" +}, +"replicaCount": { +"description": "Optional. Replication of questions. Each question will be sent to up to this number of contributors to label. Aggregated answers will be returned. Default is set to 1. For image related labeling, valid values are 1, 3, 5.", +"format": "int32", +"type": "integer" +}, +"userEmailAddress": { +"description": "Email of the user who started the labeling task and should be notified by email. If empty no notification will be sent.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDatalabelingV1p1alpha1ImportDataOperationMetadata": { +"description": "Metadata of an ImportData operation.", +"id": "GoogleCloudDatalabelingV1p1alpha1ImportDataOperationMetadata", +"properties": { +"createTime": { +"description": "Output only. Timestamp when import dataset request was created.", +"format": "google-datetime", +"type": "string" +}, +"dataset": { +"description": "Output only. The name of imported dataset. \"projects/*/datasets/*\"", +"type": "string" +}, +"partialFailures": { +"description": "Output only. Partial failures encountered. E.g. single files that couldn't be read. Status details field will contain standard GCP error details.", +"items": { +"$ref": "GoogleRpcStatus" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDatalabelingV1p1alpha1ImportDataOperationResponse": { +"description": "Response used for ImportData longrunning operation.", +"id": "GoogleCloudDatalabelingV1p1alpha1ImportDataOperationResponse", +"properties": { +"dataset": { +"description": "Ouptut only. The name of imported dataset.", +"type": "string" +}, +"importCount": { +"description": "Output only. Number of examples imported successfully.", +"format": "int32", +"type": "integer" +}, +"totalCount": { +"description": "Output only. Total number of examples requested to import", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"GoogleCloudDatalabelingV1p1alpha1LabelImageBoundingBoxOperationMetadata": { +"description": "Details of a LabelImageBoundingBox operation metadata.", +"id": "GoogleCloudDatalabelingV1p1alpha1LabelImageBoundingBoxOperationMetadata", +"properties": { +"basicConfig": { +"$ref": "GoogleCloudDatalabelingV1p1alpha1HumanAnnotationConfig", +"description": "Basic human annotation config used in labeling request." +} +}, +"type": "object" +}, +"GoogleCloudDatalabelingV1p1alpha1LabelImageBoundingPolyOperationMetadata": { +"description": "Details of LabelImageBoundingPoly operation metadata.", +"id": "GoogleCloudDatalabelingV1p1alpha1LabelImageBoundingPolyOperationMetadata", +"properties": { +"basicConfig": { +"$ref": "GoogleCloudDatalabelingV1p1alpha1HumanAnnotationConfig", +"description": "Basic human annotation config used in labeling request." +} +}, +"type": "object" +}, +"GoogleCloudDatalabelingV1p1alpha1LabelImageClassificationOperationMetadata": { +"description": "Metadata of a LabelImageClassification operation.", +"id": "GoogleCloudDatalabelingV1p1alpha1LabelImageClassificationOperationMetadata", +"properties": { +"basicConfig": { +"$ref": "GoogleCloudDatalabelingV1p1alpha1HumanAnnotationConfig", +"description": "Basic human annotation config used in labeling request." +} +}, +"type": "object" +}, +"GoogleCloudDatalabelingV1p1alpha1LabelImageOrientedBoundingBoxOperationMetadata": { +"description": "Details of a LabelImageOrientedBoundingBox operation metadata.", +"id": "GoogleCloudDatalabelingV1p1alpha1LabelImageOrientedBoundingBoxOperationMetadata", +"properties": { +"basicConfig": { +"$ref": "GoogleCloudDatalabelingV1p1alpha1HumanAnnotationConfig", +"description": "Basic human annotation config." +} +}, +"type": "object" +}, +"GoogleCloudDatalabelingV1p1alpha1LabelImagePolylineOperationMetadata": { +"description": "Details of LabelImagePolyline operation metadata.", +"id": "GoogleCloudDatalabelingV1p1alpha1LabelImagePolylineOperationMetadata", +"properties": { +"basicConfig": { +"$ref": "GoogleCloudDatalabelingV1p1alpha1HumanAnnotationConfig", +"description": "Basic human annotation config used in labeling request." +} +}, +"type": "object" +}, +"GoogleCloudDatalabelingV1p1alpha1LabelImageSegmentationOperationMetadata": { +"description": "Details of a LabelImageSegmentation operation metadata.", +"id": "GoogleCloudDatalabelingV1p1alpha1LabelImageSegmentationOperationMetadata", +"properties": { +"basicConfig": { +"$ref": "GoogleCloudDatalabelingV1p1alpha1HumanAnnotationConfig", +"description": "Basic human annotation config." +} +}, +"type": "object" +}, +"GoogleCloudDatalabelingV1p1alpha1LabelOperationMetadata": { +"description": "Metadata of a labeling operation, such as LabelImage or LabelVideo. Next tag: 23", +"id": "GoogleCloudDatalabelingV1p1alpha1LabelOperationMetadata", +"properties": { +"annotatedDataset": { +"description": "Output only. The name of annotated dataset in format \"projects/*/datasets/*/annotatedDatasets/*\".", +"type": "string" +}, +"createTime": { +"description": "Output only. Timestamp when labeling request was created.", +"format": "google-datetime", +"type": "string" +}, +"dataset": { +"description": "Output only. The name of dataset to be labeled. \"projects/*/datasets/*\"", +"type": "string" +}, +"imageBoundingBoxDetails": { +"$ref": "GoogleCloudDatalabelingV1p1alpha1LabelImageBoundingBoxOperationMetadata", +"description": "Details of label image bounding box operation." +}, +"imageBoundingPolyDetails": { +"$ref": "GoogleCloudDatalabelingV1p1alpha1LabelImageBoundingPolyOperationMetadata", +"description": "Details of label image bounding poly operation." +}, +"imageClassificationDetails": { +"$ref": "GoogleCloudDatalabelingV1p1alpha1LabelImageClassificationOperationMetadata", +"description": "Details of label image classification operation." +}, +"imageOrientedBoundingBoxDetails": { +"$ref": "GoogleCloudDatalabelingV1p1alpha1LabelImageOrientedBoundingBoxOperationMetadata", +"description": "Details of label image oriented bounding box operation." +}, +"imagePolylineDetails": { +"$ref": "GoogleCloudDatalabelingV1p1alpha1LabelImagePolylineOperationMetadata", +"description": "Details of label image polyline operation." +}, +"imageSegmentationDetails": { +"$ref": "GoogleCloudDatalabelingV1p1alpha1LabelImageSegmentationOperationMetadata", +"description": "Details of label image segmentation operation." +}, +"partialFailures": { +"description": "Output only. Partial failures encountered. E.g. single files that couldn't be read. Status details field will contain standard GCP error details.", +"items": { +"$ref": "GoogleRpcStatus" +}, +"type": "array" +}, +"progressPercent": { +"description": "Output only. Progress of label operation. Range: [0, 100].", +"format": "int32", +"type": "integer" +}, +"textClassificationDetails": { +"$ref": "GoogleCloudDatalabelingV1p1alpha1LabelTextClassificationOperationMetadata", +"description": "Details of label text classification operation." +}, +"textEntityExtractionDetails": { +"$ref": "GoogleCloudDatalabelingV1p1alpha1LabelTextEntityExtractionOperationMetadata", +"description": "Details of label text entity extraction operation." +}, +"videoClassificationDetails": { +"$ref": "GoogleCloudDatalabelingV1p1alpha1LabelVideoClassificationOperationMetadata", +"description": "Details of label video classification operation." +}, +"videoEventDetails": { +"$ref": "GoogleCloudDatalabelingV1p1alpha1LabelVideoEventOperationMetadata", +"description": "Details of label video event operation." +}, +"videoObjectDetectionDetails": { +"$ref": "GoogleCloudDatalabelingV1p1alpha1LabelVideoObjectDetectionOperationMetadata", +"description": "Details of label video object detection operation." +}, +"videoObjectTrackingDetails": { +"$ref": "GoogleCloudDatalabelingV1p1alpha1LabelVideoObjectTrackingOperationMetadata", +"description": "Details of label video object tracking operation." +} +}, +"type": "object" +}, +"GoogleCloudDatalabelingV1p1alpha1LabelStats": { +"description": "Statistics about annotation specs.", +"id": "GoogleCloudDatalabelingV1p1alpha1LabelStats", +"properties": { +"exampleCount": { +"additionalProperties": { +"format": "int64", +"type": "string" +}, +"description": "Map of each annotation spec's example count. Key is the annotation spec name and value is the number of examples for that annotation spec. If the annotated dataset does not have annotation spec, the map will return a pair where the key is empty string and value is the total number of annotations.", +"type": "object" +} +}, +"type": "object" +}, +"GoogleCloudDatalabelingV1p1alpha1LabelTextClassificationOperationMetadata": { +"description": "Details of a LabelTextClassification operation metadata.", +"id": "GoogleCloudDatalabelingV1p1alpha1LabelTextClassificationOperationMetadata", +"properties": { +"basicConfig": { +"$ref": "GoogleCloudDatalabelingV1p1alpha1HumanAnnotationConfig", +"description": "Basic human annotation config used in labeling request." +} +}, +"type": "object" +}, +"GoogleCloudDatalabelingV1p1alpha1LabelTextEntityExtractionOperationMetadata": { +"description": "Details of a LabelTextEntityExtraction operation metadata.", +"id": "GoogleCloudDatalabelingV1p1alpha1LabelTextEntityExtractionOperationMetadata", +"properties": { +"basicConfig": { +"$ref": "GoogleCloudDatalabelingV1p1alpha1HumanAnnotationConfig", +"description": "Basic human annotation config used in labeling request." +} +}, +"type": "object" +}, +"GoogleCloudDatalabelingV1p1alpha1LabelVideoClassificationOperationMetadata": { +"description": "Details of a LabelVideoClassification operation metadata.", +"id": "GoogleCloudDatalabelingV1p1alpha1LabelVideoClassificationOperationMetadata", +"properties": { +"basicConfig": { +"$ref": "GoogleCloudDatalabelingV1p1alpha1HumanAnnotationConfig", +"description": "Basic human annotation config used in labeling request." +} +}, +"type": "object" +}, +"GoogleCloudDatalabelingV1p1alpha1LabelVideoEventOperationMetadata": { +"description": "Details of a LabelVideoEvent operation metadata.", +"id": "GoogleCloudDatalabelingV1p1alpha1LabelVideoEventOperationMetadata", +"properties": { +"basicConfig": { +"$ref": "GoogleCloudDatalabelingV1p1alpha1HumanAnnotationConfig", +"description": "Basic human annotation config used in labeling request." +} +}, +"type": "object" +}, +"GoogleCloudDatalabelingV1p1alpha1LabelVideoObjectDetectionOperationMetadata": { +"description": "Details of a LabelVideoObjectDetection operation metadata.", +"id": "GoogleCloudDatalabelingV1p1alpha1LabelVideoObjectDetectionOperationMetadata", +"properties": { +"basicConfig": { +"$ref": "GoogleCloudDatalabelingV1p1alpha1HumanAnnotationConfig", +"description": "Basic human annotation config used in labeling request." +} +}, +"type": "object" +}, +"GoogleCloudDatalabelingV1p1alpha1LabelVideoObjectTrackingOperationMetadata": { +"description": "Details of a LabelVideoObjectTracking operation metadata.", +"id": "GoogleCloudDatalabelingV1p1alpha1LabelVideoObjectTrackingOperationMetadata", +"properties": { +"basicConfig": { +"$ref": "GoogleCloudDatalabelingV1p1alpha1HumanAnnotationConfig", +"description": "Basic human annotation config used in labeling request." +} +}, +"type": "object" +}, +"GoogleCloudDatalabelingV1p1alpha1OutputConfig": { +"description": "The configuration of output data.", +"id": "GoogleCloudDatalabelingV1p1alpha1OutputConfig", +"properties": { +"gcsDestination": { +"$ref": "GoogleCloudDatalabelingV1p1alpha1GcsDestination", +"description": "Output to a file in Cloud Storage. Should be used for labeling output other than image segmentation." +}, +"gcsFolderDestination": { +"$ref": "GoogleCloudDatalabelingV1p1alpha1GcsFolderDestination", +"description": "Output to a folder in Cloud Storage. Should be used for image segmentation or document de-identification labeling outputs." +} +}, +"type": "object" +}, +"GoogleCloudDatalabelingV1p2alpha1CreateInstructionMetadata": { +"description": "Metadata of a CreateInstruction operation.", +"id": "GoogleCloudDatalabelingV1p2alpha1CreateInstructionMetadata", +"properties": { +"createTime": { +"description": "Timestamp when create instruction request was created.", +"format": "google-datetime", +"type": "string" +}, +"instruction": { +"description": "The name of the created Instruction. projects/{project_id}/instructions/{instruction_id}", +"type": "string" +}, +"partialFailures": { +"description": "Partial failures encountered. E.g. single files that couldn't be read. Status details field will contain standard GCP error details.", +"items": { +"$ref": "GoogleRpcStatus" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDatalabelingV1p2alpha1ExportDataOperationMetadata": { +"description": "Metadata of an ExportData operation.", +"id": "GoogleCloudDatalabelingV1p2alpha1ExportDataOperationMetadata", +"properties": { +"annotatedDataset": { +"description": "Output only. The name of annotated dataset in format \"projects/*/datasets/*/annotatedDatasets/*\".", +"type": "string" +}, +"createTime": { +"description": "Output only. Timestamp when export dataset request was created.", +"format": "google-datetime", +"type": "string" +}, +"dataset": { +"description": "Output only. The name of dataset to be exported. \"projects/*/datasets/*\"", +"type": "string" +}, +"partialFailures": { +"description": "Output only. Partial failures encountered. E.g. single files that couldn't be read. Status details field will contain standard GCP error details.", +"items": { +"$ref": "GoogleRpcStatus" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDatalabelingV1p2alpha1ExportDataOperationResponse": { +"description": "Response used for ExportDataset longrunning operation.", +"id": "GoogleCloudDatalabelingV1p2alpha1ExportDataOperationResponse", +"properties": { +"annotatedDataset": { +"description": "Output only. The name of annotated dataset in format \"projects/*/datasets/*/annotatedDatasets/*\".", +"type": "string" +}, +"dataset": { +"description": "Ouptut only. The name of dataset. \"projects/*/datasets/*\"", +"type": "string" +}, +"exportCount": { +"description": "Output only. Number of examples exported successfully.", +"format": "int32", +"type": "integer" +}, +"labelStats": { +"$ref": "GoogleCloudDatalabelingV1p2alpha1LabelStats", +"description": "Output only. Statistic infos of labels in the exported dataset." +}, +"outputConfig": { +"$ref": "GoogleCloudDatalabelingV1p2alpha1OutputConfig", +"description": "Output only. output_config in the ExportData request." +}, +"totalCount": { +"description": "Output only. Total number of examples requested to export", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"GoogleCloudDatalabelingV1p2alpha1GcsDestination": { +"description": "Export destination of the data.Only gcs path is allowed in output_uri.", +"id": "GoogleCloudDatalabelingV1p2alpha1GcsDestination", +"properties": { +"mimeType": { +"description": "Required. The format of the gcs destination. Only \"text/csv\" and \"application/json\" are supported.", +"type": "string" +}, +"outputUri": { +"description": "Required. The output uri of destination file.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDatalabelingV1p2alpha1GcsFolderDestination": { +"description": "Export folder destination of the data.", +"id": "GoogleCloudDatalabelingV1p2alpha1GcsFolderDestination", +"properties": { +"outputFolderUri": { +"description": "Required. Cloud Storage directory to export data to.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDatalabelingV1p2alpha1HumanAnnotationConfig": { +"description": "Configuration for how human labeling task should be done.", +"id": "GoogleCloudDatalabelingV1p2alpha1HumanAnnotationConfig", +"properties": { +"annotatedDatasetDescription": { +"description": "Optional. A human-readable description for AnnotatedDataset. The description can be up to 10000 characters long.", +"type": "string" +}, +"annotatedDatasetDisplayName": { +"description": "Required. A human-readable name for AnnotatedDataset defined by users. Maximum of 64 characters .", +"type": "string" +}, +"contributorEmails": { +"description": "Optional. If you want your own labeling contributors to manage and work on this labeling request, you can set these contributors here. We will give them access to the question types in crowdcompute. Note that these emails must be registered in crowdcompute worker UI: https://crowd-compute.appspot.com/", +"items": { +"type": "string" +}, +"type": "array" +}, +"instruction": { +"description": "Required. Instruction resource name.", +"type": "string" +}, +"labelGroup": { +"description": "Optional. A human-readable label used to logically group labeling tasks. This string must match the regular expression `[a-zA-Z\\\\d_-]{0,128}`.", +"type": "string" +}, +"languageCode": { +"description": "Optional. The Language of this question, as a [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt). Default value is en-US. Only need to set this when task is language related. For example, French text classification.", +"type": "string" +}, +"questionDuration": { +"description": "Optional. Maximum duration for contributors to answer a question. Maximum is 3600 seconds. Default is 3600 seconds.", +"format": "google-duration", +"type": "string" +}, +"replicaCount": { +"description": "Optional. Replication of questions. Each question will be sent to up to this number of contributors to label. Aggregated answers will be returned. Default is set to 1. For image related labeling, valid values are 1, 3, 5.", +"format": "int32", +"type": "integer" +}, +"userEmailAddress": { +"description": "Email of the user who started the labeling task and should be notified by email. If empty no notification will be sent.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDatalabelingV1p2alpha1ImportDataOperationMetadata": { +"description": "Metadata of an ImportData operation.", +"id": "GoogleCloudDatalabelingV1p2alpha1ImportDataOperationMetadata", +"properties": { +"createTime": { +"description": "Output only. Timestamp when import dataset request was created.", +"format": "google-datetime", +"type": "string" +}, +"dataset": { +"description": "Output only. The name of imported dataset. \"projects/*/datasets/*\"", +"type": "string" +}, +"partialFailures": { +"description": "Output only. Partial failures encountered. E.g. single files that couldn't be read. Status details field will contain standard GCP error details.", +"items": { +"$ref": "GoogleRpcStatus" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDatalabelingV1p2alpha1ImportDataOperationResponse": { +"description": "Response used for ImportData longrunning operation.", +"id": "GoogleCloudDatalabelingV1p2alpha1ImportDataOperationResponse", +"properties": { +"dataset": { +"description": "Ouptut only. The name of imported dataset.", +"type": "string" +}, +"importCount": { +"description": "Output only. Number of examples imported successfully.", +"format": "int32", +"type": "integer" +}, +"totalCount": { +"description": "Output only. Total number of examples requested to import", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"GoogleCloudDatalabelingV1p2alpha1LabelImageBoundingBoxOperationMetadata": { +"description": "Details of a LabelImageBoundingBox operation metadata.", +"id": "GoogleCloudDatalabelingV1p2alpha1LabelImageBoundingBoxOperationMetadata", +"properties": { +"basicConfig": { +"$ref": "GoogleCloudDatalabelingV1p2alpha1HumanAnnotationConfig", +"description": "Basic human annotation config used in labeling request." +} +}, +"type": "object" +}, +"GoogleCloudDatalabelingV1p2alpha1LabelImageBoundingPolyOperationMetadata": { +"description": "Details of LabelImageBoundingPoly operation metadata.", +"id": "GoogleCloudDatalabelingV1p2alpha1LabelImageBoundingPolyOperationMetadata", +"properties": { +"basicConfig": { +"$ref": "GoogleCloudDatalabelingV1p2alpha1HumanAnnotationConfig", +"description": "Basic human annotation config used in labeling request." +} +}, +"type": "object" +}, +"GoogleCloudDatalabelingV1p2alpha1LabelImageClassificationOperationMetadata": { +"description": "Metadata of a LabelImageClassification operation.", +"id": "GoogleCloudDatalabelingV1p2alpha1LabelImageClassificationOperationMetadata", +"properties": { +"basicConfig": { +"$ref": "GoogleCloudDatalabelingV1p2alpha1HumanAnnotationConfig", +"description": "Basic human annotation config used in labeling request." +} +}, +"type": "object" +}, +"GoogleCloudDatalabelingV1p2alpha1LabelImageOrientedBoundingBoxOperationMetadata": { +"description": "Details of a LabelImageOrientedBoundingBox operation metadata.", +"id": "GoogleCloudDatalabelingV1p2alpha1LabelImageOrientedBoundingBoxOperationMetadata", +"properties": { +"basicConfig": { +"$ref": "GoogleCloudDatalabelingV1p2alpha1HumanAnnotationConfig", +"description": "Basic human annotation config." +} +}, +"type": "object" +}, +"GoogleCloudDatalabelingV1p2alpha1LabelImagePolylineOperationMetadata": { +"description": "Details of LabelImagePolyline operation metadata.", +"id": "GoogleCloudDatalabelingV1p2alpha1LabelImagePolylineOperationMetadata", +"properties": { +"basicConfig": { +"$ref": "GoogleCloudDatalabelingV1p2alpha1HumanAnnotationConfig", +"description": "Basic human annotation config used in labeling request." +} +}, +"type": "object" +}, +"GoogleCloudDatalabelingV1p2alpha1LabelImageSegmentationOperationMetadata": { +"description": "Details of a LabelImageSegmentation operation metadata.", +"id": "GoogleCloudDatalabelingV1p2alpha1LabelImageSegmentationOperationMetadata", +"properties": { +"basicConfig": { +"$ref": "GoogleCloudDatalabelingV1p2alpha1HumanAnnotationConfig", +"description": "Basic human annotation config." +} +}, +"type": "object" +}, +"GoogleCloudDatalabelingV1p2alpha1LabelOperationMetadata": { +"description": "Metadata of a labeling operation, such as LabelImage or LabelVideo. Next tag: 23", +"id": "GoogleCloudDatalabelingV1p2alpha1LabelOperationMetadata", +"properties": { +"annotatedDataset": { +"description": "Output only. The name of annotated dataset in format \"projects/*/datasets/*/annotatedDatasets/*\".", +"type": "string" +}, +"createTime": { +"description": "Output only. Timestamp when labeling request was created.", +"format": "google-datetime", +"type": "string" +}, +"dataset": { +"description": "Output only. The name of dataset to be labeled. \"projects/*/datasets/*\"", +"type": "string" +}, +"imageBoundingBoxDetails": { +"$ref": "GoogleCloudDatalabelingV1p2alpha1LabelImageBoundingBoxOperationMetadata", +"description": "Details of label image bounding box operation." +}, +"imageBoundingPolyDetails": { +"$ref": "GoogleCloudDatalabelingV1p2alpha1LabelImageBoundingPolyOperationMetadata", +"description": "Details of label image bounding poly operation." +}, +"imageClassificationDetails": { +"$ref": "GoogleCloudDatalabelingV1p2alpha1LabelImageClassificationOperationMetadata", +"description": "Details of label image classification operation." +}, +"imageOrientedBoundingBoxDetails": { +"$ref": "GoogleCloudDatalabelingV1p2alpha1LabelImageOrientedBoundingBoxOperationMetadata", +"description": "Details of label image oriented bounding box operation." +}, +"imagePolylineDetails": { +"$ref": "GoogleCloudDatalabelingV1p2alpha1LabelImagePolylineOperationMetadata", +"description": "Details of label image polyline operation." +}, +"imageSegmentationDetails": { +"$ref": "GoogleCloudDatalabelingV1p2alpha1LabelImageSegmentationOperationMetadata", +"description": "Details of label image segmentation operation." +}, +"partialFailures": { +"description": "Output only. Partial failures encountered. E.g. single files that couldn't be read. Status details field will contain standard GCP error details.", +"items": { +"$ref": "GoogleRpcStatus" +}, +"type": "array" +}, +"progressPercent": { +"description": "Output only. Progress of label operation. Range: [0, 100].", +"format": "int32", +"type": "integer" +}, +"textClassificationDetails": { +"$ref": "GoogleCloudDatalabelingV1p2alpha1LabelTextClassificationOperationMetadata", +"description": "Details of label text classification operation." +}, +"textEntityExtractionDetails": { +"$ref": "GoogleCloudDatalabelingV1p2alpha1LabelTextEntityExtractionOperationMetadata", +"description": "Details of label text entity extraction operation." +}, +"videoClassificationDetails": { +"$ref": "GoogleCloudDatalabelingV1p2alpha1LabelVideoClassificationOperationMetadata", +"description": "Details of label video classification operation." +}, +"videoEventDetails": { +"$ref": "GoogleCloudDatalabelingV1p2alpha1LabelVideoEventOperationMetadata", +"description": "Details of label video event operation." +}, +"videoObjectDetectionDetails": { +"$ref": "GoogleCloudDatalabelingV1p2alpha1LabelVideoObjectDetectionOperationMetadata", +"description": "Details of label video object detection operation." +}, +"videoObjectTrackingDetails": { +"$ref": "GoogleCloudDatalabelingV1p2alpha1LabelVideoObjectTrackingOperationMetadata", +"description": "Details of label video object tracking operation." +} +}, +"type": "object" +}, +"GoogleCloudDatalabelingV1p2alpha1LabelStats": { +"description": "Statistics about annotation specs.", +"id": "GoogleCloudDatalabelingV1p2alpha1LabelStats", +"properties": { +"exampleCount": { +"additionalProperties": { +"format": "int64", +"type": "string" +}, +"description": "Map of each annotation spec's example count. Key is the annotation spec name and value is the number of examples for that annotation spec. If the annotated dataset does not have annotation spec, the map will return a pair where the key is empty string and value is the total number of annotations.", +"type": "object" +} +}, +"type": "object" +}, +"GoogleCloudDatalabelingV1p2alpha1LabelTextClassificationOperationMetadata": { +"description": "Details of a LabelTextClassification operation metadata.", +"id": "GoogleCloudDatalabelingV1p2alpha1LabelTextClassificationOperationMetadata", +"properties": { +"basicConfig": { +"$ref": "GoogleCloudDatalabelingV1p2alpha1HumanAnnotationConfig", +"description": "Basic human annotation config used in labeling request." +} +}, +"type": "object" +}, +"GoogleCloudDatalabelingV1p2alpha1LabelTextEntityExtractionOperationMetadata": { +"description": "Details of a LabelTextEntityExtraction operation metadata.", +"id": "GoogleCloudDatalabelingV1p2alpha1LabelTextEntityExtractionOperationMetadata", +"properties": { +"basicConfig": { +"$ref": "GoogleCloudDatalabelingV1p2alpha1HumanAnnotationConfig", +"description": "Basic human annotation config used in labeling request." +} +}, +"type": "object" +}, +"GoogleCloudDatalabelingV1p2alpha1LabelVideoClassificationOperationMetadata": { +"description": "Details of a LabelVideoClassification operation metadata.", +"id": "GoogleCloudDatalabelingV1p2alpha1LabelVideoClassificationOperationMetadata", +"properties": { +"basicConfig": { +"$ref": "GoogleCloudDatalabelingV1p2alpha1HumanAnnotationConfig", +"description": "Basic human annotation config used in labeling request." +} +}, +"type": "object" +}, +"GoogleCloudDatalabelingV1p2alpha1LabelVideoEventOperationMetadata": { +"description": "Details of a LabelVideoEvent operation metadata.", +"id": "GoogleCloudDatalabelingV1p2alpha1LabelVideoEventOperationMetadata", +"properties": { +"basicConfig": { +"$ref": "GoogleCloudDatalabelingV1p2alpha1HumanAnnotationConfig", +"description": "Basic human annotation config used in labeling request." +} +}, +"type": "object" +}, +"GoogleCloudDatalabelingV1p2alpha1LabelVideoObjectDetectionOperationMetadata": { +"description": "Details of a LabelVideoObjectDetection operation metadata.", +"id": "GoogleCloudDatalabelingV1p2alpha1LabelVideoObjectDetectionOperationMetadata", +"properties": { +"basicConfig": { +"$ref": "GoogleCloudDatalabelingV1p2alpha1HumanAnnotationConfig", +"description": "Basic human annotation config used in labeling request." +} +}, +"type": "object" +}, +"GoogleCloudDatalabelingV1p2alpha1LabelVideoObjectTrackingOperationMetadata": { +"description": "Details of a LabelVideoObjectTracking operation metadata.", +"id": "GoogleCloudDatalabelingV1p2alpha1LabelVideoObjectTrackingOperationMetadata", +"properties": { +"basicConfig": { +"$ref": "GoogleCloudDatalabelingV1p2alpha1HumanAnnotationConfig", +"description": "Basic human annotation config used in labeling request." +} +}, +"type": "object" +}, +"GoogleCloudDatalabelingV1p2alpha1OutputConfig": { +"description": "The configuration of output data.", +"id": "GoogleCloudDatalabelingV1p2alpha1OutputConfig", +"properties": { +"gcsDestination": { +"$ref": "GoogleCloudDatalabelingV1p2alpha1GcsDestination", +"description": "Output to a file in Cloud Storage. Should be used for labeling output other than image segmentation." +}, +"gcsFolderDestination": { +"$ref": "GoogleCloudDatalabelingV1p2alpha1GcsFolderDestination", +"description": "Output to a folder in Cloud Storage. Should be used for image segmentation or document de-identification labeling outputs." +} +}, +"type": "object" +}, +"GoogleLongrunningListOperationsResponse": { +"description": "The response message for Operations.ListOperations.", +"id": "GoogleLongrunningListOperationsResponse", +"properties": { +"nextPageToken": { +"description": "The standard List next-page token.", +"type": "string" +}, +"operations": { +"description": "A list of operations that matches the specified filter in the request.", +"items": { +"$ref": "GoogleLongrunningOperation" +}, +"type": "array" +}, +"unreachable": { +"description": "Unordered list. Unreachable resources. Populated when the request sets `ListOperationsRequest.return_partial_success` and reads across collections. For example, when attempting to list all resources across all supported locations.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleLongrunningOperation": { +"description": "This resource represents a long-running operation that is the result of a network API call.", +"id": "GoogleLongrunningOperation", +"properties": { +"done": { +"description": "If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.", +"type": "boolean" +}, +"error": { +"$ref": "GoogleRpcStatus", +"description": "The error result of the operation in case of failure or cancellation." +}, +"metadata": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.", +"type": "object" +}, +"name": { +"description": "The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.", +"type": "string" +}, +"response": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "The normal, successful response of the operation. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.", +"type": "object" +} +}, +"type": "object" +}, +"GoogleProtobufEmpty": { +"description": "A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }", +"id": "GoogleProtobufEmpty", +"properties": {}, +"type": "object" +}, +"GoogleRpcStatus": { +"description": "The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors).", +"id": "GoogleRpcStatus", +"properties": { +"code": { +"description": "The status code, which should be an enum value of google.rpc.Code.", +"format": "int32", +"type": "integer" +}, +"details": { +"description": "A list of messages that carry the error details. There is a common set of message types for APIs to use.", +"items": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.", +"type": "string" +} +}, +"type": "object" +} +}, +"servicePath": "", +"title": "Data Labeling API", +"version": "v1beta1", +"version_module": true +} \ No newline at end of file diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/datapipelines.v1.json b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/datapipelines.v1.json new file mode 100644 index 0000000000000000000000000000000000000000..64476a9a1fe7646492cff9174534e51abbf21851 --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/datapipelines.v1.json @@ -0,0 +1,1024 @@ +{ +"auth": { +"oauth2": { +"scopes": { +"https://www.googleapis.com/auth/cloud-platform": { +"description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." +} +} +} +}, +"basePath": "", +"baseUrl": "https://datapipelines.googleapis.com/", +"batchPath": "batch", +"canonicalName": "Datapipelines", +"description": "Data Pipelines provides an interface for creating, updating, and managing recurring Data Analytics jobs.", +"discoveryVersion": "v1", +"documentationLink": "https://cloud.google.com/dataflow/docs/guides/data-pipelines", +"fullyEncodeReservedExpansion": true, +"icons": { +"x16": "http://www.google.com/images/icons/product/search-16.gif", +"x32": "http://www.google.com/images/icons/product/search-32.gif" +}, +"id": "datapipelines:v1", +"kind": "discovery#restDescription", +"mtlsRootUrl": "https://datapipelines.mtls.googleapis.com/", +"name": "datapipelines", +"ownerDomain": "google.com", +"ownerName": "Google", +"parameters": { +"$.xgafv": { +"description": "V1 error format.", +"enum": [ +"1", +"2" +], +"enumDescriptions": [ +"v1 error format", +"v2 error format" +], +"location": "query", +"type": "string" +}, +"access_token": { +"description": "OAuth access token.", +"location": "query", +"type": "string" +}, +"alt": { +"default": "json", +"description": "Data format for response.", +"enum": [ +"json", +"media", +"proto" +], +"enumDescriptions": [ +"Responses with Content-Type of application/json", +"Media download with context-dependent Content-Type", +"Responses with Content-Type of application/x-protobuf" +], +"location": "query", +"type": "string" +}, +"callback": { +"description": "JSONP", +"location": "query", +"type": "string" +}, +"fields": { +"description": "Selector specifying which fields to include in a partial response.", +"location": "query", +"type": "string" +}, +"key": { +"description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", +"location": "query", +"type": "string" +}, +"oauth_token": { +"description": "OAuth 2.0 token for the current user.", +"location": "query", +"type": "string" +}, +"prettyPrint": { +"default": "true", +"description": "Returns response with indentations and line breaks.", +"location": "query", +"type": "boolean" +}, +"quotaUser": { +"description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.", +"location": "query", +"type": "string" +}, +"uploadType": { +"description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", +"location": "query", +"type": "string" +}, +"upload_protocol": { +"description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", +"location": "query", +"type": "string" +} +}, +"protocol": "rest", +"resources": { +"projects": { +"resources": { +"locations": { +"resources": { +"pipelines": { +"methods": { +"create": { +"description": "Creates a pipeline. For a batch pipeline, you can pass scheduler information. Data Pipelines uses the scheduler information to create an internal scheduler that runs jobs periodically. If the internal scheduler is not configured, you can use RunPipeline to run jobs.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/pipelines", +"httpMethod": "POST", +"id": "datapipelines.projects.locations.pipelines.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The location name. For example: `projects/PROJECT_ID/locations/LOCATION_ID`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/pipelines", +"request": { +"$ref": "GoogleCloudDatapipelinesV1Pipeline" +}, +"response": { +"$ref": "GoogleCloudDatapipelinesV1Pipeline" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a pipeline. If a scheduler job is attached to the pipeline, it will be deleted.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/pipelines/{pipelinesId}", +"httpMethod": "DELETE", +"id": "datapipelines.projects.locations.pipelines.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The pipeline name. For example: `projects/PROJECT_ID/locations/LOCATION_ID/pipelines/PIPELINE_ID`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/pipelines/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Looks up a single pipeline. Returns a \"NOT_FOUND\" error if no such pipeline exists. Returns a \"FORBIDDEN\" error if the caller doesn't have permission to access it.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/pipelines/{pipelinesId}", +"httpMethod": "GET", +"id": "datapipelines.projects.locations.pipelines.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The pipeline name. For example: `projects/PROJECT_ID/locations/LOCATION_ID/pipelines/PIPELINE_ID`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/pipelines/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleCloudDatapipelinesV1Pipeline" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists pipelines. Returns a \"FORBIDDEN\" error if the caller doesn't have permission to access it.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/pipelines", +"httpMethod": "GET", +"id": "datapipelines.projects.locations.pipelines.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "An expression for filtering the results of the request. If unspecified, all pipelines will be returned. Multiple filters can be applied and must be comma separated. Fields eligible for filtering are: + `type`: The type of the pipeline (streaming or batch). Allowed values are `ALL`, `BATCH`, and `STREAMING`. + `status`: The activity status of the pipeline. Allowed values are `ALL`, `ACTIVE`, `ARCHIVED`, and `PAUSED`. For example, to limit results to active batch processing pipelines: type:BATCH,status:ACTIVE", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "The maximum number of entities to return. The service may return fewer than this value, even if there are additional pages. If unspecified, the max limit is yet to be determined by the backend implementation.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A page token, received from a previous `ListPipelines` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListPipelines` must match the call that provided the page token.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The location name. For example: `projects/PROJECT_ID/locations/LOCATION_ID`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/pipelines", +"response": { +"$ref": "GoogleCloudDatapipelinesV1ListPipelinesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates a pipeline. If successful, the updated Pipeline is returned. Returns `NOT_FOUND` if the pipeline doesn't exist. If UpdatePipeline does not return successfully, you can retry the UpdatePipeline request until you receive a successful response.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/pipelines/{pipelinesId}", +"httpMethod": "PATCH", +"id": "datapipelines.projects.locations.pipelines.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The pipeline name. For example: `projects/PROJECT_ID/locations/LOCATION_ID/pipelines/PIPELINE_ID`. * `PROJECT_ID` can contain letters ([A-Za-z]), numbers ([0-9]), hyphens (-), colons (:), and periods (.). For more information, see [Identifying projects](https://cloud.google.com/resource-manager/docs/creating-managing-projects#identifying_projects). * `LOCATION_ID` is the canonical ID for the pipeline's location. The list of available locations can be obtained by calling `google.cloud.location.Locations.ListLocations`. Note that the Data Pipelines service is not available in all regions. It depends on Cloud Scheduler, an App Engine application, so it's only available in [App Engine regions](https://cloud.google.com/about/locations#region). * `PIPELINE_ID` is the ID of the pipeline. Must be unique for the selected project and location.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/pipelines/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "The list of fields to be updated.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "GoogleCloudDatapipelinesV1Pipeline" +}, +"response": { +"$ref": "GoogleCloudDatapipelinesV1Pipeline" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"run": { +"description": "Creates a job for the specified pipeline directly. You can use this method when the internal scheduler is not configured and you want to trigger the job directly or through an external system. Returns a \"NOT_FOUND\" error if the pipeline doesn't exist. Returns a \"FORBIDDEN\" error if the user doesn't have permission to access the pipeline or run jobs for the pipeline.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/pipelines/{pipelinesId}:run", +"httpMethod": "POST", +"id": "datapipelines.projects.locations.pipelines.run", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The pipeline name. For example: `projects/PROJECT_ID/locations/LOCATION_ID/pipelines/PIPELINE_ID`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/pipelines/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:run", +"request": { +"$ref": "GoogleCloudDatapipelinesV1RunPipelineRequest" +}, +"response": { +"$ref": "GoogleCloudDatapipelinesV1RunPipelineResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"stop": { +"description": "Freezes pipeline execution permanently. If there's a corresponding scheduler entry, it's deleted, and the pipeline state is changed to \"ARCHIVED\". However, pipeline metadata is retained.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/pipelines/{pipelinesId}:stop", +"httpMethod": "POST", +"id": "datapipelines.projects.locations.pipelines.stop", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The pipeline name. For example: `projects/PROJECT_ID/locations/LOCATION_ID/pipelines/PIPELINE_ID`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/pipelines/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:stop", +"request": { +"$ref": "GoogleCloudDatapipelinesV1StopPipelineRequest" +}, +"response": { +"$ref": "GoogleCloudDatapipelinesV1Pipeline" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"jobs": { +"methods": { +"list": { +"description": "Lists jobs for a given pipeline. Throws a \"FORBIDDEN\" error if the caller doesn't have permission to access it.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/pipelines/{pipelinesId}/jobs", +"httpMethod": "GET", +"id": "datapipelines.projects.locations.pipelines.jobs.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "The maximum number of entities to return. The service may return fewer than this value, even if there are additional pages. If unspecified, the max limit will be determined by the backend implementation.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A page token, received from a previous `ListJobs` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListJobs` must match the call that provided the page token.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The pipeline name. For example: `projects/PROJECT_ID/locations/LOCATION_ID/pipelines/PIPELINE_ID`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/pipelines/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/jobs", +"response": { +"$ref": "GoogleCloudDatapipelinesV1ListJobsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +} +} +} +} +} +}, +"revision": "20240630", +"rootUrl": "https://datapipelines.googleapis.com/", +"schemas": { +"GoogleCloudDatapipelinesV1DataflowJobDetails": { +"description": "Pipeline job details specific to the Dataflow API. This is encapsulated here to allow for more executors to store their specific details separately.", +"id": "GoogleCloudDatapipelinesV1DataflowJobDetails", +"properties": { +"currentWorkers": { +"description": "Output only. The current number of workers used to run the jobs. Only set to a value if the job is still running.", +"format": "int32", +"readOnly": true, +"type": "integer" +}, +"resourceInfo": { +"additionalProperties": { +"format": "double", +"type": "number" +}, +"description": "Cached version of all the metrics of interest for the job. This value gets stored here when the job is terminated. As long as the job is running, this field is populated from the Dataflow API.", +"type": "object" +}, +"sdkVersion": { +"$ref": "GoogleCloudDatapipelinesV1SdkVersion", +"description": "Output only. The SDK version used to run the job.", +"readOnly": true +} +}, +"type": "object" +}, +"GoogleCloudDatapipelinesV1FlexTemplateRuntimeEnvironment": { +"description": "The environment values to be set at runtime for a Flex Template.", +"id": "GoogleCloudDatapipelinesV1FlexTemplateRuntimeEnvironment", +"properties": { +"additionalExperiments": { +"description": "Additional experiment flags for the job.", +"items": { +"type": "string" +}, +"type": "array" +}, +"additionalUserLabels": { +"additionalProperties": { +"type": "string" +}, +"description": "Additional user labels to be specified for the job. Keys and values must follow the restrictions specified in the [labeling restrictions](https://cloud.google.com/compute/docs/labeling-resources#restrictions). An object containing a list of key/value pairs. Example: `{ \"name\": \"wrench\", \"mass\": \"1kg\", \"count\": \"3\" }`.", +"type": "object" +}, +"enableStreamingEngine": { +"description": "Whether to enable Streaming Engine for the job.", +"type": "boolean" +}, +"flexrsGoal": { +"description": "Set FlexRS goal for the job. https://cloud.google.com/dataflow/docs/guides/flexrs", +"enum": [ +"FLEXRS_UNSPECIFIED", +"FLEXRS_SPEED_OPTIMIZED", +"FLEXRS_COST_OPTIMIZED" +], +"enumDescriptions": [ +"Run in the default mode.", +"Optimize for lower execution time.", +"Optimize for lower cost." +], +"type": "string" +}, +"ipConfiguration": { +"description": "Configuration for VM IPs.", +"enum": [ +"WORKER_IP_UNSPECIFIED", +"WORKER_IP_PUBLIC", +"WORKER_IP_PRIVATE" +], +"enumDescriptions": [ +"The configuration is unknown, or unspecified.", +"Workers should have public IP addresses.", +"Workers should have private IP addresses." +], +"type": "string" +}, +"kmsKeyName": { +"description": "Name for the Cloud KMS key for the job. Key format is: projects//locations//keyRings//cryptoKeys/", +"type": "string" +}, +"machineType": { +"description": "The machine type to use for the job. Defaults to the value from the template if not specified.", +"type": "string" +}, +"maxWorkers": { +"description": "The maximum number of Compute Engine instances to be made available to your pipeline during execution, from 1 to 1000.", +"format": "int32", +"type": "integer" +}, +"network": { +"description": "Network to which VMs will be assigned. If empty or unspecified, the service will use the network \"default\".", +"type": "string" +}, +"numWorkers": { +"description": "The initial number of Compute Engine instances for the job.", +"format": "int32", +"type": "integer" +}, +"serviceAccountEmail": { +"description": "The email address of the service account to run the job as.", +"type": "string" +}, +"subnetwork": { +"description": "Subnetwork to which VMs will be assigned, if desired. You can specify a subnetwork using either a complete URL or an abbreviated path. Expected to be of the form \"https://www.googleapis.com/compute/v1/projects/HOST_PROJECT_ID/regions/REGION/subnetworks/SUBNETWORK\" or \"regions/REGION/subnetworks/SUBNETWORK\". If the subnetwork is located in a Shared VPC network, you must use the complete URL.", +"type": "string" +}, +"tempLocation": { +"description": "The Cloud Storage path to use for temporary files. Must be a valid Cloud Storage URL, beginning with `gs://`.", +"type": "string" +}, +"workerRegion": { +"description": "The Compute Engine region (https://cloud.google.com/compute/docs/regions-zones/regions-zones) in which worker processing should occur, e.g. \"us-west1\". Mutually exclusive with worker_zone. If neither worker_region nor worker_zone is specified, defaults to the control plane region.", +"type": "string" +}, +"workerZone": { +"description": "The Compute Engine zone (https://cloud.google.com/compute/docs/regions-zones/regions-zones) in which worker processing should occur, e.g. \"us-west1-a\". Mutually exclusive with worker_region. If neither worker_region nor worker_zone is specified, a zone in the control plane region is chosen based on available capacity. If both `worker_zone` and `zone` are set, `worker_zone` takes precedence.", +"type": "string" +}, +"zone": { +"description": "The Compute Engine [availability zone](https://cloud.google.com/compute/docs/regions-zones/regions-zones) for launching worker instances to run your pipeline. In the future, worker_zone will take precedence.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDatapipelinesV1Job": { +"description": "Definition of the job information maintained by the pipeline. Fields in this entity are retrieved from the executor API (e.g. Dataflow API).", +"id": "GoogleCloudDatapipelinesV1Job", +"properties": { +"createTime": { +"description": "Output only. The time of job creation.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"dataflowJobDetails": { +"$ref": "GoogleCloudDatapipelinesV1DataflowJobDetails", +"description": "All the details that are specific to a Dataflow job." +}, +"endTime": { +"description": "Output only. The time of job termination. This is absent if the job is still running.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"id": { +"description": "Output only. The internal ID for the job.", +"readOnly": true, +"type": "string" +}, +"name": { +"description": "Required. The fully qualified resource name for the job.", +"type": "string" +}, +"state": { +"description": "The current state of the job.", +"enum": [ +"STATE_UNSPECIFIED", +"STATE_PENDING", +"STATE_RUNNING", +"STATE_DONE", +"STATE_FAILED", +"STATE_CANCELLED" +], +"enumDescriptions": [ +"The job state isn't specified.", +"The job is waiting to start execution.", +"The job is executing.", +"The job has finished execution successfully.", +"The job has finished execution with a failure.", +"The job has been terminated upon user request." +], +"type": "string" +}, +"status": { +"$ref": "GoogleRpcStatus", +"description": "Status capturing any error code or message related to job creation or execution." +} +}, +"type": "object" +}, +"GoogleCloudDatapipelinesV1LaunchFlexTemplateParameter": { +"description": "Launch Flex Template parameter.", +"id": "GoogleCloudDatapipelinesV1LaunchFlexTemplateParameter", +"properties": { +"containerSpecGcsPath": { +"description": "Cloud Storage path to a file with a JSON-serialized ContainerSpec as content.", +"type": "string" +}, +"environment": { +"$ref": "GoogleCloudDatapipelinesV1FlexTemplateRuntimeEnvironment", +"description": "The runtime environment for the Flex Template job." +}, +"jobName": { +"description": "Required. The job name to use for the created job. For an update job request, the job name should be the same as the existing running job.", +"type": "string" +}, +"launchOptions": { +"additionalProperties": { +"type": "string" +}, +"description": "Launch options for this Flex Template job. This is a common set of options across languages and templates. This should not be used to pass job parameters.", +"type": "object" +}, +"parameters": { +"additionalProperties": { +"type": "string" +}, +"description": "The parameters for the Flex Template. Example: `{\"num_workers\":\"5\"}`", +"type": "object" +}, +"transformNameMappings": { +"additionalProperties": { +"type": "string" +}, +"description": "Use this to pass transform name mappings for streaming update jobs. Example: `{\"oldTransformName\":\"newTransformName\",...}`", +"type": "object" +}, +"update": { +"description": "Set this to true if you are sending a request to update a running streaming job. When set, the job name should be the same as the running job.", +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleCloudDatapipelinesV1LaunchFlexTemplateRequest": { +"description": "A request to launch a Dataflow job from a Flex Template.", +"id": "GoogleCloudDatapipelinesV1LaunchFlexTemplateRequest", +"properties": { +"launchParameter": { +"$ref": "GoogleCloudDatapipelinesV1LaunchFlexTemplateParameter", +"description": "Required. Parameter to launch a job from a Flex Template." +}, +"location": { +"description": "Required. The [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) to which to direct the request. For example, `us-central1`, `us-west1`.", +"type": "string" +}, +"projectId": { +"description": "Required. The ID of the Cloud Platform project that the job belongs to.", +"type": "string" +}, +"validateOnly": { +"description": "If true, the request is validated but not actually executed. Defaults to false.", +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleCloudDatapipelinesV1LaunchTemplateParameters": { +"description": "Parameters to provide to the template being launched.", +"id": "GoogleCloudDatapipelinesV1LaunchTemplateParameters", +"properties": { +"environment": { +"$ref": "GoogleCloudDatapipelinesV1RuntimeEnvironment", +"description": "The runtime environment for the job." +}, +"jobName": { +"description": "Required. The job name to use for the created job.", +"type": "string" +}, +"parameters": { +"additionalProperties": { +"type": "string" +}, +"description": "The runtime parameters to pass to the job.", +"type": "object" +}, +"transformNameMapping": { +"additionalProperties": { +"type": "string" +}, +"description": "Map of transform name prefixes of the job to be replaced to the corresponding name prefixes of the new job. Only applicable when updating a pipeline.", +"type": "object" +}, +"update": { +"description": "If set, replace the existing pipeline with the name specified by jobName with this pipeline, preserving state.", +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleCloudDatapipelinesV1LaunchTemplateRequest": { +"description": "A request to launch a template.", +"id": "GoogleCloudDatapipelinesV1LaunchTemplateRequest", +"properties": { +"gcsPath": { +"description": "A Cloud Storage path to the template from which to create the job. Must be a valid Cloud Storage URL, beginning with 'gs://'.", +"type": "string" +}, +"launchParameters": { +"$ref": "GoogleCloudDatapipelinesV1LaunchTemplateParameters", +"description": "The parameters of the template to launch. This should be part of the body of the POST request." +}, +"location": { +"description": "The [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) to which to direct the request.", +"type": "string" +}, +"projectId": { +"description": "Required. The ID of the Cloud Platform project that the job belongs to.", +"type": "string" +}, +"validateOnly": { +"description": "If true, the request is validated but not actually executed. Defaults to false.", +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleCloudDatapipelinesV1ListJobsResponse": { +"description": "Response message for ListJobs", +"id": "GoogleCloudDatapipelinesV1ListJobsResponse", +"properties": { +"jobs": { +"description": "Results that were accessible to the caller. Results are always in descending order of job creation date.", +"items": { +"$ref": "GoogleCloudDatapipelinesV1Job" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDatapipelinesV1ListPipelinesResponse": { +"description": "Response message for ListPipelines.", +"id": "GoogleCloudDatapipelinesV1ListPipelinesResponse", +"properties": { +"nextPageToken": { +"description": "A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.", +"type": "string" +}, +"pipelines": { +"description": "Results that matched the filter criteria and were accessible to the caller. Results are always in descending order of pipeline creation date.", +"items": { +"$ref": "GoogleCloudDatapipelinesV1Pipeline" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDatapipelinesV1Pipeline": { +"description": "The main pipeline entity and all the necessary metadata for launching and managing linked jobs.", +"id": "GoogleCloudDatapipelinesV1Pipeline", +"properties": { +"createTime": { +"description": "Output only. Immutable. The timestamp when the pipeline was initially created. Set by the Data Pipelines service.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"displayName": { +"description": "Required. The display name of the pipeline. It can contain only letters ([A-Za-z]), numbers ([0-9]), hyphens (-), and underscores (_).", +"type": "string" +}, +"jobCount": { +"description": "Output only. Number of jobs.", +"format": "int32", +"readOnly": true, +"type": "integer" +}, +"lastUpdateTime": { +"description": "Output only. Immutable. The timestamp when the pipeline was last modified. Set by the Data Pipelines service.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"name": { +"description": "The pipeline name. For example: `projects/PROJECT_ID/locations/LOCATION_ID/pipelines/PIPELINE_ID`. * `PROJECT_ID` can contain letters ([A-Za-z]), numbers ([0-9]), hyphens (-), colons (:), and periods (.). For more information, see [Identifying projects](https://cloud.google.com/resource-manager/docs/creating-managing-projects#identifying_projects). * `LOCATION_ID` is the canonical ID for the pipeline's location. The list of available locations can be obtained by calling `google.cloud.location.Locations.ListLocations`. Note that the Data Pipelines service is not available in all regions. It depends on Cloud Scheduler, an App Engine application, so it's only available in [App Engine regions](https://cloud.google.com/about/locations#region). * `PIPELINE_ID` is the ID of the pipeline. Must be unique for the selected project and location.", +"type": "string" +}, +"pipelineSources": { +"additionalProperties": { +"type": "string" +}, +"description": "Immutable. The sources of the pipeline (for example, Dataplex). The keys and values are set by the corresponding sources during pipeline creation.", +"type": "object" +}, +"scheduleInfo": { +"$ref": "GoogleCloudDatapipelinesV1ScheduleSpec", +"description": "Internal scheduling information for a pipeline. If this information is provided, periodic jobs will be created per the schedule. If not, users are responsible for creating jobs externally." +}, +"schedulerServiceAccountEmail": { +"description": "Optional. A service account email to be used with the Cloud Scheduler job. If not specified, the default compute engine service account will be used.", +"type": "string" +}, +"state": { +"description": "Required. The state of the pipeline. When the pipeline is created, the state is set to 'PIPELINE_STATE_ACTIVE' by default. State changes can be requested by setting the state to stopping, paused, or resuming. State cannot be changed through UpdatePipeline requests.", +"enum": [ +"STATE_UNSPECIFIED", +"STATE_RESUMING", +"STATE_ACTIVE", +"STATE_STOPPING", +"STATE_ARCHIVED", +"STATE_PAUSED" +], +"enumDescriptions": [ +"The pipeline state isn't specified.", +"The pipeline is getting started or resumed. When finished, the pipeline state will be 'PIPELINE_STATE_ACTIVE'.", +"The pipeline is actively running.", +"The pipeline is in the process of stopping. When finished, the pipeline state will be 'PIPELINE_STATE_ARCHIVED'.", +"The pipeline has been stopped. This is a terminal state and cannot be undone.", +"The pipeline is paused. This is a non-terminal state. When the pipeline is paused, it will hold processing jobs, but can be resumed later. For a batch pipeline, this means pausing the scheduler job. For a streaming pipeline, creating a job snapshot to resume from will give the same effect." +], +"type": "string" +}, +"type": { +"description": "Required. The type of the pipeline. This field affects the scheduling of the pipeline and the type of metrics to show for the pipeline.", +"enum": [ +"PIPELINE_TYPE_UNSPECIFIED", +"PIPELINE_TYPE_BATCH", +"PIPELINE_TYPE_STREAMING" +], +"enumDescriptions": [ +"The pipeline type isn't specified.", +"A batch pipeline. It runs jobs on a specific schedule, and each job will automatically terminate once execution is finished.", +"A streaming pipeline. The underlying job is continuously running until it is manually terminated by the user. This type of pipeline doesn't have a schedule to run on, and the linked job gets created when the pipeline is created." +], +"type": "string" +}, +"workload": { +"$ref": "GoogleCloudDatapipelinesV1Workload", +"description": "Workload information for creating new jobs." +} +}, +"type": "object" +}, +"GoogleCloudDatapipelinesV1RunPipelineRequest": { +"description": "Request message for RunPipeline", +"id": "GoogleCloudDatapipelinesV1RunPipelineRequest", +"properties": {}, +"type": "object" +}, +"GoogleCloudDatapipelinesV1RunPipelineResponse": { +"description": "Response message for RunPipeline", +"id": "GoogleCloudDatapipelinesV1RunPipelineResponse", +"properties": { +"job": { +"$ref": "GoogleCloudDatapipelinesV1Job", +"description": "Job that was created as part of RunPipeline operation." +} +}, +"type": "object" +}, +"GoogleCloudDatapipelinesV1RuntimeEnvironment": { +"description": "The environment values to set at runtime.", +"id": "GoogleCloudDatapipelinesV1RuntimeEnvironment", +"properties": { +"additionalExperiments": { +"description": "Additional experiment flags for the job.", +"items": { +"type": "string" +}, +"type": "array" +}, +"additionalUserLabels": { +"additionalProperties": { +"type": "string" +}, +"description": "Additional user labels to be specified for the job. Keys and values should follow the restrictions specified in the [labeling restrictions](https://cloud.google.com/compute/docs/labeling-resources#restrictions) page. An object containing a list of key/value pairs. Example: { \"name\": \"wrench\", \"mass\": \"1kg\", \"count\": \"3\" }.", +"type": "object" +}, +"bypassTempDirValidation": { +"description": "Whether to bypass the safety checks for the job's temporary directory. Use with caution.", +"type": "boolean" +}, +"enableStreamingEngine": { +"description": "Whether to enable Streaming Engine for the job.", +"type": "boolean" +}, +"ipConfiguration": { +"description": "Configuration for VM IPs.", +"enum": [ +"WORKER_IP_UNSPECIFIED", +"WORKER_IP_PUBLIC", +"WORKER_IP_PRIVATE" +], +"enumDescriptions": [ +"The configuration is unknown, or unspecified.", +"Workers should have public IP addresses.", +"Workers should have private IP addresses." +], +"type": "string" +}, +"kmsKeyName": { +"description": "Name for the Cloud KMS key for the job. The key format is: projects//locations//keyRings//cryptoKeys/", +"type": "string" +}, +"machineType": { +"description": "The machine type to use for the job. Defaults to the value from the template if not specified.", +"type": "string" +}, +"maxWorkers": { +"description": "The maximum number of Compute Engine instances to be made available to your pipeline during execution, from 1 to 1000.", +"format": "int32", +"type": "integer" +}, +"network": { +"description": "Network to which VMs will be assigned. If empty or unspecified, the service will use the network \"default\".", +"type": "string" +}, +"numWorkers": { +"description": "The initial number of Compute Engine instances for the job.", +"format": "int32", +"type": "integer" +}, +"serviceAccountEmail": { +"description": "The email address of the service account to run the job as.", +"type": "string" +}, +"subnetwork": { +"description": "Subnetwork to which VMs will be assigned, if desired. You can specify a subnetwork using either a complete URL or an abbreviated path. Expected to be of the form \"https://www.googleapis.com/compute/v1/projects/HOST_PROJECT_ID/regions/REGION/subnetworks/SUBNETWORK\" or \"regions/REGION/subnetworks/SUBNETWORK\". If the subnetwork is located in a Shared VPC network, you must use the complete URL.", +"type": "string" +}, +"tempLocation": { +"description": "The Cloud Storage path to use for temporary files. Must be a valid Cloud Storage URL, beginning with `gs://`.", +"type": "string" +}, +"workerRegion": { +"description": "The Compute Engine region (https://cloud.google.com/compute/docs/regions-zones/regions-zones) in which worker processing should occur, e.g. \"us-west1\". Mutually exclusive with worker_zone. If neither worker_region nor worker_zone is specified, default to the control plane's region.", +"type": "string" +}, +"workerZone": { +"description": "The Compute Engine zone (https://cloud.google.com/compute/docs/regions-zones/regions-zones) in which worker processing should occur, e.g. \"us-west1-a\". Mutually exclusive with worker_region. If neither worker_region nor worker_zone is specified, a zone in the control plane's region is chosen based on available capacity. If both `worker_zone` and `zone` are set, `worker_zone` takes precedence.", +"type": "string" +}, +"zone": { +"description": "The Compute Engine [availability zone](https://cloud.google.com/compute/docs/regions-zones/regions-zones) for launching worker instances to run your pipeline. In the future, worker_zone will take precedence.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDatapipelinesV1ScheduleSpec": { +"description": "Details of the schedule the pipeline runs on.", +"id": "GoogleCloudDatapipelinesV1ScheduleSpec", +"properties": { +"nextJobTime": { +"description": "Output only. When the next Scheduler job is going to run.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"schedule": { +"description": "Unix-cron format of the schedule. This information is retrieved from the linked Cloud Scheduler.", +"type": "string" +}, +"timeZone": { +"description": "Timezone ID. This matches the timezone IDs used by the Cloud Scheduler API. If empty, UTC time is assumed.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDatapipelinesV1SdkVersion": { +"description": "The version of the SDK used to run the job.", +"id": "GoogleCloudDatapipelinesV1SdkVersion", +"properties": { +"sdkSupportStatus": { +"description": "The support status for this SDK version.", +"enum": [ +"UNKNOWN", +"SUPPORTED", +"STALE", +"DEPRECATED", +"UNSUPPORTED" +], +"enumDescriptions": [ +"Dataflow is unaware of this version.", +"This is a known version of an SDK, and is supported.", +"A newer version of the SDK exists, and an update is recommended.", +"This version of the SDK is deprecated and will eventually be unsupported.", +"Support for this SDK version has ended and it should no longer be used." +], +"type": "string" +}, +"version": { +"description": "The version of the SDK used to run the job.", +"type": "string" +}, +"versionDisplayName": { +"description": "A readable string describing the version of the SDK.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDatapipelinesV1StopPipelineRequest": { +"description": "Request message for StopPipeline.", +"id": "GoogleCloudDatapipelinesV1StopPipelineRequest", +"properties": {}, +"type": "object" +}, +"GoogleCloudDatapipelinesV1Workload": { +"description": "Workload details for creating the pipeline jobs.", +"id": "GoogleCloudDatapipelinesV1Workload", +"properties": { +"dataflowFlexTemplateRequest": { +"$ref": "GoogleCloudDatapipelinesV1LaunchFlexTemplateRequest", +"description": "Template information and additional parameters needed to launch a Dataflow job using the flex launch API." +}, +"dataflowLaunchTemplateRequest": { +"$ref": "GoogleCloudDatapipelinesV1LaunchTemplateRequest", +"description": "Template information and additional parameters needed to launch a Dataflow job using the standard launch API." +} +}, +"type": "object" +}, +"GoogleProtobufEmpty": { +"description": "A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }", +"id": "GoogleProtobufEmpty", +"properties": {}, +"type": "object" +}, +"GoogleRpcStatus": { +"description": "The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors).", +"id": "GoogleRpcStatus", +"properties": { +"code": { +"description": "The status code, which should be an enum value of google.rpc.Code.", +"format": "int32", +"type": "integer" +}, +"details": { +"description": "A list of messages that carry the error details. There is a common set of message types for APIs to use.", +"items": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.", +"type": "string" +} +}, +"type": "object" +} +}, +"servicePath": "", +"title": "Data pipelines API", +"version": "v1", +"version_module": true +} \ No newline at end of file diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/datastore.v1.json b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/datastore.v1.json new file mode 100644 index 0000000000000000000000000000000000000000..fca93544df41a60ed5663b21da4cc0ffcd56b07d --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/datastore.v1.json @@ -0,0 +1,3232 @@ +{ +"auth": { +"oauth2": { +"scopes": { +"https://www.googleapis.com/auth/cloud-platform": { +"description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." +}, +"https://www.googleapis.com/auth/datastore": { +"description": "View and manage your Google Cloud Datastore data" +} +} +} +}, +"basePath": "", +"baseUrl": "https://datastore.googleapis.com/", +"batchPath": "batch", +"description": "Accesses the schemaless NoSQL database to provide fully managed, robust, scalable storage for your application. ", +"discoveryVersion": "v1", +"documentationLink": "https://cloud.google.com/datastore/", +"endpoints": [ +{ +"description": "Regional Endpoint", +"endpointUrl": "https://datastore.africa-south1.rep.googleapis.com/", +"location": "africa-south1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://datastore.asia-east1.rep.googleapis.com/", +"location": "asia-east1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://datastore.asia-east2.rep.googleapis.com/", +"location": "asia-east2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://datastore.asia-northeast1.rep.googleapis.com/", +"location": "asia-northeast1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://datastore.asia-northeast2.rep.googleapis.com/", +"location": "asia-northeast2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://datastore.asia-northeast3.rep.googleapis.com/", +"location": "asia-northeast3" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://datastore.asia-south1.rep.googleapis.com/", +"location": "asia-south1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://datastore.asia-south2.rep.googleapis.com/", +"location": "asia-south2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://datastore.asia-southeast1.rep.googleapis.com/", +"location": "asia-southeast1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://datastore.asia-southeast2.rep.googleapis.com/", +"location": "asia-southeast2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://datastore.asia-southeast3.rep.googleapis.com/", +"location": "asia-southeast3" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://datastore.australia-southeast1.rep.googleapis.com/", +"location": "australia-southeast1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://datastore.australia-southeast2.rep.googleapis.com/", +"location": "australia-southeast2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://datastore.europe-central2.rep.googleapis.com/", +"location": "europe-central2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://datastore.europe-north1.rep.googleapis.com/", +"location": "europe-north1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://datastore.europe-north2.rep.googleapis.com/", +"location": "europe-north2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://datastore.europe-southwest1.rep.googleapis.com/", +"location": "europe-southwest1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://datastore.europe-west1.rep.googleapis.com/", +"location": "europe-west1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://datastore.europe-west10.rep.googleapis.com/", +"location": "europe-west10" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://datastore.europe-west12.rep.googleapis.com/", +"location": "europe-west12" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://datastore.europe-west15.rep.googleapis.com/", +"location": "europe-west15" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://datastore.europe-west2.rep.googleapis.com/", +"location": "europe-west2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://datastore.europe-west3.rep.googleapis.com/", +"location": "europe-west3" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://datastore.europe-west4.rep.googleapis.com/", +"location": "europe-west4" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://datastore.europe-west6.rep.googleapis.com/", +"location": "europe-west6" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://datastore.europe-west8.rep.googleapis.com/", +"location": "europe-west8" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://datastore.europe-west9.rep.googleapis.com/", +"location": "europe-west9" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://datastore.me-central1.rep.googleapis.com/", +"location": "me-central1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://datastore.me-central2.rep.googleapis.com/", +"location": "me-central2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://datastore.me-west1.rep.googleapis.com/", +"location": "me-west1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://datastore.northamerica-northeast1.rep.googleapis.com/", +"location": "northamerica-northeast1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://datastore.northamerica-northeast2.rep.googleapis.com/", +"location": "northamerica-northeast2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://datastore.northamerica-south1.rep.googleapis.com/", +"location": "northamerica-south1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://datastore.southamerica-east1.rep.googleapis.com/", +"location": "southamerica-east1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://datastore.southamerica-west1.rep.googleapis.com/", +"location": "southamerica-west1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://datastore.us-central1.rep.googleapis.com/", +"location": "us-central1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://datastore.us-east1.rep.googleapis.com/", +"location": "us-east1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://datastore.us-east4.rep.googleapis.com/", +"location": "us-east4" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://datastore.us-east5.rep.googleapis.com/", +"location": "us-east5" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://datastore.us-south1.rep.googleapis.com/", +"location": "us-south1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://datastore.us-west1.rep.googleapis.com/", +"location": "us-west1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://datastore.us-west2.rep.googleapis.com/", +"location": "us-west2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://datastore.us-west3.rep.googleapis.com/", +"location": "us-west3" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://datastore.us-west4.rep.googleapis.com/", +"location": "us-west4" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://batch-datastore.africa-south1.rep.googleapis.com/", +"location": "africa-south1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://batch-datastore.asia-east1.rep.googleapis.com/", +"location": "asia-east1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://batch-datastore.asia-east2.rep.googleapis.com/", +"location": "asia-east2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://batch-datastore.asia-northeast1.rep.googleapis.com/", +"location": "asia-northeast1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://batch-datastore.asia-northeast2.rep.googleapis.com/", +"location": "asia-northeast2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://batch-datastore.asia-northeast3.rep.googleapis.com/", +"location": "asia-northeast3" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://batch-datastore.asia-south1.rep.googleapis.com/", +"location": "asia-south1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://batch-datastore.asia-south2.rep.googleapis.com/", +"location": "asia-south2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://batch-datastore.asia-southeast1.rep.googleapis.com/", +"location": "asia-southeast1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://batch-datastore.asia-southeast2.rep.googleapis.com/", +"location": "asia-southeast2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://batch-datastore.asia-southeast3.rep.googleapis.com/", +"location": "asia-southeast3" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://batch-datastore.australia-southeast1.rep.googleapis.com/", +"location": "australia-southeast1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://batch-datastore.australia-southeast2.rep.googleapis.com/", +"location": "australia-southeast2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://batch-datastore.europe-central2.rep.googleapis.com/", +"location": "europe-central2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://batch-datastore.europe-north1.rep.googleapis.com/", +"location": "europe-north1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://batch-datastore.europe-north2.rep.googleapis.com/", +"location": "europe-north2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://batch-datastore.europe-southwest1.rep.googleapis.com/", +"location": "europe-southwest1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://batch-datastore.europe-west1.rep.googleapis.com/", +"location": "europe-west1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://batch-datastore.europe-west10.rep.googleapis.com/", +"location": "europe-west10" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://batch-datastore.europe-west12.rep.googleapis.com/", +"location": "europe-west12" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://batch-datastore.europe-west15.rep.googleapis.com/", +"location": "europe-west15" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://batch-datastore.europe-west2.rep.googleapis.com/", +"location": "europe-west2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://batch-datastore.europe-west3.rep.googleapis.com/", +"location": "europe-west3" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://batch-datastore.europe-west4.rep.googleapis.com/", +"location": "europe-west4" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://batch-datastore.europe-west6.rep.googleapis.com/", +"location": "europe-west6" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://batch-datastore.europe-west8.rep.googleapis.com/", +"location": "europe-west8" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://batch-datastore.europe-west9.rep.googleapis.com/", +"location": "europe-west9" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://batch-datastore.me-central1.rep.googleapis.com/", +"location": "me-central1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://batch-datastore.me-central2.rep.googleapis.com/", +"location": "me-central2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://batch-datastore.me-west1.rep.googleapis.com/", +"location": "me-west1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://batch-datastore.northamerica-northeast1.rep.googleapis.com/", +"location": "northamerica-northeast1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://batch-datastore.northamerica-northeast2.rep.googleapis.com/", +"location": "northamerica-northeast2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://batch-datastore.northamerica-south1.rep.googleapis.com/", +"location": "northamerica-south1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://batch-datastore.southamerica-east1.rep.googleapis.com/", +"location": "southamerica-east1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://batch-datastore.southamerica-west1.rep.googleapis.com/", +"location": "southamerica-west1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://batch-datastore.us-central1.rep.googleapis.com/", +"location": "us-central1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://batch-datastore.us-east1.rep.googleapis.com/", +"location": "us-east1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://batch-datastore.us-east4.rep.googleapis.com/", +"location": "us-east4" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://batch-datastore.us-east5.rep.googleapis.com/", +"location": "us-east5" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://batch-datastore.us-south1.rep.googleapis.com/", +"location": "us-south1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://batch-datastore.us-west1.rep.googleapis.com/", +"location": "us-west1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://batch-datastore.us-west2.rep.googleapis.com/", +"location": "us-west2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://batch-datastore.us-west3.rep.googleapis.com/", +"location": "us-west3" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://batch-datastore.us-west4.rep.googleapis.com/", +"location": "us-west4" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://datastore.eu.rep.googleapis.com/", +"location": "eu" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://datastore.us.rep.googleapis.com/", +"location": "us" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://batch-datastore.eu.rep.googleapis.com/", +"location": "eu" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://batch-datastore.us.rep.googleapis.com/", +"location": "us" +} +], +"fullyEncodeReservedExpansion": true, +"icons": { +"x16": "http://www.google.com/images/icons/product/search-16.gif", +"x32": "http://www.google.com/images/icons/product/search-32.gif" +}, +"id": "datastore:v1", +"kind": "discovery#restDescription", +"mtlsRootUrl": "https://datastore.mtls.googleapis.com/", +"name": "datastore", +"ownerDomain": "google.com", +"ownerName": "Google", +"parameters": { +"$.xgafv": { +"description": "V1 error format.", +"enum": [ +"1", +"2" +], +"enumDescriptions": [ +"v1 error format", +"v2 error format" +], +"location": "query", +"type": "string" +}, +"access_token": { +"description": "OAuth access token.", +"location": "query", +"type": "string" +}, +"alt": { +"default": "json", +"description": "Data format for response.", +"enum": [ +"json", +"media", +"proto" +], +"enumDescriptions": [ +"Responses with Content-Type of application/json", +"Media download with context-dependent Content-Type", +"Responses with Content-Type of application/x-protobuf" +], +"location": "query", +"type": "string" +}, +"callback": { +"description": "JSONP", +"location": "query", +"type": "string" +}, +"fields": { +"description": "Selector specifying which fields to include in a partial response.", +"location": "query", +"type": "string" +}, +"key": { +"description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", +"location": "query", +"type": "string" +}, +"oauth_token": { +"description": "OAuth 2.0 token for the current user.", +"location": "query", +"type": "string" +}, +"prettyPrint": { +"default": "true", +"description": "Returns response with indentations and line breaks.", +"location": "query", +"type": "boolean" +}, +"quotaUser": { +"description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.", +"location": "query", +"type": "string" +}, +"uploadType": { +"description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", +"location": "query", +"type": "string" +}, +"upload_protocol": { +"description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", +"location": "query", +"type": "string" +} +}, +"protocol": "rest", +"resources": { +"projects": { +"methods": { +"allocateIds": { +"description": "Allocates IDs for the given keys, which is useful for referencing an entity before it is inserted.", +"flatPath": "v1/projects/{projectId}:allocateIds", +"httpMethod": "POST", +"id": "datastore.projects.allocateIds", +"parameterOrder": [ +"projectId" +], +"parameters": { +"projectId": { +"description": "Required. The ID of the project against which to make the request.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v1/projects/{projectId}:allocateIds", +"request": { +"$ref": "AllocateIdsRequest" +}, +"response": { +"$ref": "AllocateIdsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/datastore" +] +}, +"beginTransaction": { +"description": "Begins a new transaction.", +"flatPath": "v1/projects/{projectId}:beginTransaction", +"httpMethod": "POST", +"id": "datastore.projects.beginTransaction", +"parameterOrder": [ +"projectId" +], +"parameters": { +"projectId": { +"description": "Required. The ID of the project against which to make the request.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v1/projects/{projectId}:beginTransaction", +"request": { +"$ref": "BeginTransactionRequest" +}, +"response": { +"$ref": "BeginTransactionResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/datastore" +] +}, +"commit": { +"description": "Commits a transaction, optionally creating, deleting or modifying some entities.", +"flatPath": "v1/projects/{projectId}:commit", +"httpMethod": "POST", +"id": "datastore.projects.commit", +"parameterOrder": [ +"projectId" +], +"parameters": { +"projectId": { +"description": "Required. The ID of the project against which to make the request.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v1/projects/{projectId}:commit", +"request": { +"$ref": "CommitRequest" +}, +"response": { +"$ref": "CommitResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/datastore" +] +}, +"export": { +"description": "Exports a copy of all or a subset of entities from Google Cloud Datastore to another storage system, such as Google Cloud Storage. Recent updates to entities may not be reflected in the export. The export occurs in the background and its progress can be monitored and managed via the Operation resource that is created. The output of an export may only be used once the associated operation is done. If an export operation is cancelled before completion it may leave partial data behind in Google Cloud Storage.", +"flatPath": "v1/projects/{projectId}:export", +"httpMethod": "POST", +"id": "datastore.projects.export", +"parameterOrder": [ +"projectId" +], +"parameters": { +"projectId": { +"description": "Required. Project ID against which to make the request.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v1/projects/{projectId}:export", +"request": { +"$ref": "GoogleDatastoreAdminV1ExportEntitiesRequest" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/datastore" +] +}, +"import": { +"description": "Imports entities into Google Cloud Datastore. Existing entities with the same key are overwritten. The import occurs in the background and its progress can be monitored and managed via the Operation resource that is created. If an ImportEntities operation is cancelled, it is possible that a subset of the data has already been imported to Cloud Datastore.", +"flatPath": "v1/projects/{projectId}:import", +"httpMethod": "POST", +"id": "datastore.projects.import", +"parameterOrder": [ +"projectId" +], +"parameters": { +"projectId": { +"description": "Required. Project ID against which to make the request.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v1/projects/{projectId}:import", +"request": { +"$ref": "GoogleDatastoreAdminV1ImportEntitiesRequest" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/datastore" +] +}, +"lookup": { +"description": "Looks up entities by key.", +"flatPath": "v1/projects/{projectId}:lookup", +"httpMethod": "POST", +"id": "datastore.projects.lookup", +"parameterOrder": [ +"projectId" +], +"parameters": { +"projectId": { +"description": "Required. The ID of the project against which to make the request.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v1/projects/{projectId}:lookup", +"request": { +"$ref": "LookupRequest" +}, +"response": { +"$ref": "LookupResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/datastore" +] +}, +"reserveIds": { +"description": "Prevents the supplied keys' IDs from being auto-allocated by Cloud Datastore.", +"flatPath": "v1/projects/{projectId}:reserveIds", +"httpMethod": "POST", +"id": "datastore.projects.reserveIds", +"parameterOrder": [ +"projectId" +], +"parameters": { +"projectId": { +"description": "Required. The ID of the project against which to make the request.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v1/projects/{projectId}:reserveIds", +"request": { +"$ref": "ReserveIdsRequest" +}, +"response": { +"$ref": "ReserveIdsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/datastore" +] +}, +"rollback": { +"description": "Rolls back a transaction.", +"flatPath": "v1/projects/{projectId}:rollback", +"httpMethod": "POST", +"id": "datastore.projects.rollback", +"parameterOrder": [ +"projectId" +], +"parameters": { +"projectId": { +"description": "Required. The ID of the project against which to make the request.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v1/projects/{projectId}:rollback", +"request": { +"$ref": "RollbackRequest" +}, +"response": { +"$ref": "RollbackResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/datastore" +] +}, +"runAggregationQuery": { +"description": "Runs an aggregation query.", +"flatPath": "v1/projects/{projectId}:runAggregationQuery", +"httpMethod": "POST", +"id": "datastore.projects.runAggregationQuery", +"parameterOrder": [ +"projectId" +], +"parameters": { +"projectId": { +"description": "Required. The ID of the project against which to make the request.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v1/projects/{projectId}:runAggregationQuery", +"request": { +"$ref": "RunAggregationQueryRequest" +}, +"response": { +"$ref": "RunAggregationQueryResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/datastore" +] +}, +"runQuery": { +"description": "Queries for entities.", +"flatPath": "v1/projects/{projectId}:runQuery", +"httpMethod": "POST", +"id": "datastore.projects.runQuery", +"parameterOrder": [ +"projectId" +], +"parameters": { +"projectId": { +"description": "Required. The ID of the project against which to make the request.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v1/projects/{projectId}:runQuery", +"request": { +"$ref": "RunQueryRequest" +}, +"response": { +"$ref": "RunQueryResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/datastore" +] +} +}, +"resources": { +"indexes": { +"methods": { +"create": { +"description": "Creates the specified index. A newly created index's initial state is `CREATING`. On completion of the returned google.longrunning.Operation, the state will be `READY`. If the index already exists, the call will return an `ALREADY_EXISTS` status. During index creation, the process could result in an error, in which case the index will move to the `ERROR` state. The process can be recovered by fixing the data that caused the error, removing the index with delete, then re-creating the index with create. Indexes with a single property cannot be created.", +"flatPath": "v1/projects/{projectId}/indexes", +"httpMethod": "POST", +"id": "datastore.projects.indexes.create", +"parameterOrder": [ +"projectId" +], +"parameters": { +"projectId": { +"description": "Project ID against which to make the request.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v1/projects/{projectId}/indexes", +"request": { +"$ref": "GoogleDatastoreAdminV1Index" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/datastore" +] +}, +"delete": { +"description": "Deletes an existing index. An index can only be deleted if it is in a `READY` or `ERROR` state. On successful execution of the request, the index will be in a `DELETING` state. And on completion of the returned google.longrunning.Operation, the index will be removed. During index deletion, the process could result in an error, in which case the index will move to the `ERROR` state. The process can be recovered by fixing the data that caused the error, followed by calling delete again.", +"flatPath": "v1/projects/{projectId}/indexes/{indexId}", +"httpMethod": "DELETE", +"id": "datastore.projects.indexes.delete", +"parameterOrder": [ +"projectId", +"indexId" +], +"parameters": { +"indexId": { +"description": "The resource ID of the index to delete.", +"location": "path", +"required": true, +"type": "string" +}, +"projectId": { +"description": "Project ID against which to make the request.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v1/projects/{projectId}/indexes/{indexId}", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/datastore" +] +}, +"get": { +"description": "Gets an index.", +"flatPath": "v1/projects/{projectId}/indexes/{indexId}", +"httpMethod": "GET", +"id": "datastore.projects.indexes.get", +"parameterOrder": [ +"projectId", +"indexId" +], +"parameters": { +"indexId": { +"description": "The resource ID of the index to get.", +"location": "path", +"required": true, +"type": "string" +}, +"projectId": { +"description": "Project ID against which to make the request.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v1/projects/{projectId}/indexes/{indexId}", +"response": { +"$ref": "GoogleDatastoreAdminV1Index" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/datastore" +] +}, +"list": { +"description": "Lists the indexes that match the specified filters. Datastore uses an eventually consistent query to fetch the list of indexes and may occasionally return stale results.", +"flatPath": "v1/projects/{projectId}/indexes", +"httpMethod": "GET", +"id": "datastore.projects.indexes.list", +"parameterOrder": [ +"projectId" +], +"parameters": { +"filter": { +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "The maximum number of items to return. If zero, then all results will be returned.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The next_page_token value returned from a previous List request, if any.", +"location": "query", +"type": "string" +}, +"projectId": { +"description": "Project ID against which to make the request.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v1/projects/{projectId}/indexes", +"response": { +"$ref": "GoogleDatastoreAdminV1ListIndexesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/datastore" +] +} +} +}, +"operations": { +"methods": { +"cancel": { +"description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.", +"flatPath": "v1/projects/{projectsId}/operations/{operationsId}:cancel", +"httpMethod": "POST", +"id": "datastore.projects.operations.cancel", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be cancelled.", +"location": "path", +"pattern": "^projects/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:cancel", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/datastore" +] +}, +"delete": { +"description": "Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.", +"flatPath": "v1/projects/{projectsId}/operations/{operationsId}", +"httpMethod": "DELETE", +"id": "datastore.projects.operations.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be deleted.", +"location": "path", +"pattern": "^projects/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/datastore" +] +}, +"get": { +"description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", +"flatPath": "v1/projects/{projectsId}/operations/{operationsId}", +"httpMethod": "GET", +"id": "datastore.projects.operations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource.", +"location": "path", +"pattern": "^projects/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/datastore" +] +}, +"list": { +"description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.", +"flatPath": "v1/projects/{projectsId}/operations", +"httpMethod": "GET", +"id": "datastore.projects.operations.list", +"parameterOrder": [ +"name" +], +"parameters": { +"filter": { +"description": "The standard list filter.", +"location": "query", +"type": "string" +}, +"name": { +"description": "The name of the operation's parent resource.", +"location": "path", +"pattern": "^projects/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The standard list page size.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The standard list page token.", +"location": "query", +"type": "string" +}, +"returnPartialSuccess": { +"description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `\"projects/example/locations/-\"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1/{+name}/operations", +"response": { +"$ref": "GoogleLongrunningListOperationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/datastore" +] +} +} +} +} +} +}, +"revision": "20260130", +"rootUrl": "https://datastore.googleapis.com/", +"schemas": { +"Aggregation": { +"description": "Defines an aggregation that produces a single result.", +"id": "Aggregation", +"properties": { +"alias": { +"description": "Optional. Optional name of the property to store the result of the aggregation. If not provided, Datastore will pick a default name following the format `property_`. For example: ``` AGGREGATE COUNT_UP_TO(1) AS count_up_to_1, COUNT_UP_TO(2), COUNT_UP_TO(3) AS count_up_to_3, COUNT(*) OVER ( ... ); ``` becomes: ``` AGGREGATE COUNT_UP_TO(1) AS count_up_to_1, COUNT_UP_TO(2) AS property_1, COUNT_UP_TO(3) AS count_up_to_3, COUNT(*) AS property_2 OVER ( ... ); ``` Requires: * Must be unique across all aggregation aliases. * Conform to entity property name limitations.", +"type": "string" +}, +"avg": { +"$ref": "Avg", +"description": "Average aggregator." +}, +"count": { +"$ref": "Count", +"description": "Count aggregator." +}, +"sum": { +"$ref": "Sum", +"description": "Sum aggregator." +} +}, +"type": "object" +}, +"AggregationQuery": { +"description": "Datastore query for running an aggregation over a Query.", +"id": "AggregationQuery", +"properties": { +"aggregations": { +"description": "Optional. Series of aggregations to apply over the results of the `nested_query`. Requires: * A minimum of one and maximum of five aggregations per query.", +"items": { +"$ref": "Aggregation" +}, +"type": "array" +}, +"nestedQuery": { +"$ref": "Query", +"description": "Nested query for aggregation" +} +}, +"type": "object" +}, +"AggregationResult": { +"description": "The result of a single bucket from a Datastore aggregation query. The keys of `aggregate_properties` are the same for all results in an aggregation query, unlike entity queries which can have different fields present for each result.", +"id": "AggregationResult", +"properties": { +"aggregateProperties": { +"additionalProperties": { +"$ref": "Value" +}, +"description": "The result of the aggregation functions, ex: `COUNT(*) AS total_entities`. The key is the alias assigned to the aggregation function on input and the size of this map equals the number of aggregation functions in the query.", +"type": "object" +} +}, +"type": "object" +}, +"AggregationResultBatch": { +"description": "A batch of aggregation results produced by an aggregation query.", +"id": "AggregationResultBatch", +"properties": { +"aggregationResults": { +"description": "The aggregation results for this batch.", +"items": { +"$ref": "AggregationResult" +}, +"type": "array" +}, +"moreResults": { +"description": "The state of the query after the current batch. Only COUNT(*) aggregations are supported in the initial launch. Therefore, expected result type is limited to `NO_MORE_RESULTS`.", +"enum": [ +"MORE_RESULTS_TYPE_UNSPECIFIED", +"NOT_FINISHED", +"MORE_RESULTS_AFTER_LIMIT", +"MORE_RESULTS_AFTER_CURSOR", +"NO_MORE_RESULTS" +], +"enumDescriptions": [ +"Unspecified. This value is never used.", +"There may be additional batches to fetch from this query.", +"The query is finished, but there may be more results after the limit.", +"The query is finished, but there may be more results after the end cursor.", +"The query is finished, and there are no more results." +], +"type": "string" +}, +"readTime": { +"description": "Read timestamp this batch was returned from. In a single transaction, subsequent query result batches for the same query can have a greater timestamp. Each batch's read timestamp is valid for all preceding batches.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"AllocateIdsRequest": { +"description": "The request for Datastore.AllocateIds.", +"id": "AllocateIdsRequest", +"properties": { +"databaseId": { +"description": "The ID of the database against which to make the request. '(default)' is not allowed; please use empty string '' to refer the default database.", +"type": "string" +}, +"keys": { +"description": "Required. A list of keys with incomplete key paths for which to allocate IDs. No key may be reserved/read-only.", +"items": { +"$ref": "Key" +}, +"type": "array" +} +}, +"type": "object" +}, +"AllocateIdsResponse": { +"description": "The response for Datastore.AllocateIds.", +"id": "AllocateIdsResponse", +"properties": { +"keys": { +"description": "The keys specified in the request (in the same order), each with its key path completed with a newly allocated ID.", +"items": { +"$ref": "Key" +}, +"type": "array" +} +}, +"type": "object" +}, +"ArrayValue": { +"description": "An array value.", +"id": "ArrayValue", +"properties": { +"values": { +"description": "Values in the array. The order of values in an array is preserved as long as all values have identical settings for 'exclude_from_indexes'.", +"items": { +"$ref": "Value" +}, +"type": "array" +} +}, +"type": "object" +}, +"Avg": { +"description": "Average of the values of the requested property. * Only numeric values will be aggregated. All non-numeric values including `NULL` are skipped. * If the aggregated values contain `NaN`, returns `NaN`. Infinity math follows IEEE-754 standards. * If the aggregated value set is empty, returns `NULL`. * Always returns the result as a double.", +"id": "Avg", +"properties": { +"property": { +"$ref": "PropertyReference", +"description": "The property to aggregate on." +} +}, +"type": "object" +}, +"BeginTransactionRequest": { +"description": "The request for Datastore.BeginTransaction.", +"id": "BeginTransactionRequest", +"properties": { +"databaseId": { +"description": "The ID of the database against which to make the request. '(default)' is not allowed; please use empty string '' to refer the default database.", +"type": "string" +}, +"transactionOptions": { +"$ref": "TransactionOptions", +"description": "Options for a new transaction." +} +}, +"type": "object" +}, +"BeginTransactionResponse": { +"description": "The response for Datastore.BeginTransaction.", +"id": "BeginTransactionResponse", +"properties": { +"transaction": { +"description": "The transaction identifier (always present).", +"format": "byte", +"type": "string" +} +}, +"type": "object" +}, +"CommitRequest": { +"description": "The request for Datastore.Commit.", +"id": "CommitRequest", +"properties": { +"databaseId": { +"description": "The ID of the database against which to make the request. '(default)' is not allowed; please use empty string '' to refer the default database.", +"type": "string" +}, +"mode": { +"description": "The type of commit to perform. Defaults to `TRANSACTIONAL`.", +"enum": [ +"MODE_UNSPECIFIED", +"TRANSACTIONAL", +"NON_TRANSACTIONAL" +], +"enumDescriptions": [ +"Unspecified. This value must not be used.", +"Transactional: The mutations are either all applied, or none are applied. Learn about transactions [here](https://cloud.google.com/datastore/docs/concepts/transactions).", +"Non-transactional: The mutations may not apply as all or none." +], +"type": "string" +}, +"mutations": { +"description": "The mutations to perform. When mode is `TRANSACTIONAL`, mutations affecting a single entity are applied in order. The following sequences of mutations affecting a single entity are not permitted in a single `Commit` request: - `insert` followed by `insert` - `update` followed by `insert` - `upsert` followed by `insert` - `delete` followed by `update` When mode is `NON_TRANSACTIONAL`, no two mutations may affect a single entity.", +"items": { +"$ref": "Mutation" +}, +"type": "array" +}, +"singleUseTransaction": { +"$ref": "TransactionOptions", +"description": "Options for beginning a new transaction for this request. The transaction is committed when the request completes. If specified, TransactionOptions.mode must be TransactionOptions.ReadWrite." +}, +"transaction": { +"description": "The identifier of the transaction associated with the commit. A transaction identifier is returned by a call to Datastore.BeginTransaction.", +"format": "byte", +"type": "string" +} +}, +"type": "object" +}, +"CommitResponse": { +"description": "The response for Datastore.Commit.", +"id": "CommitResponse", +"properties": { +"commitTime": { +"description": "The transaction commit timestamp. Not set for non-transactional commits.", +"format": "google-datetime", +"type": "string" +}, +"indexUpdates": { +"description": "The number of index entries updated during the commit, or zero if none were updated.", +"format": "int32", +"type": "integer" +}, +"mutationResults": { +"description": "The result of performing the mutations. The i-th mutation result corresponds to the i-th mutation in the request.", +"items": { +"$ref": "MutationResult" +}, +"type": "array" +} +}, +"type": "object" +}, +"CompositeFilter": { +"description": "A filter that merges multiple other filters using the given operator.", +"id": "CompositeFilter", +"properties": { +"filters": { +"description": "The list of filters to combine. Requires: * At least one filter is present.", +"items": { +"$ref": "Filter" +}, +"type": "array" +}, +"op": { +"description": "The operator for combining multiple filters.", +"enum": [ +"OPERATOR_UNSPECIFIED", +"AND", +"OR" +], +"enumDescriptions": [ +"Unspecified. This value must not be used.", +"The results are required to satisfy each of the combined filters.", +"Documents are required to satisfy at least one of the combined filters." +], +"type": "string" +} +}, +"type": "object" +}, +"Count": { +"description": "Count of entities that match the query. The `COUNT(*)` aggregation function operates on the entire entity so it does not require a field reference.", +"id": "Count", +"properties": { +"upTo": { +"description": "Optional. Optional constraint on the maximum number of entities to count. This provides a way to set an upper bound on the number of entities to scan, limiting latency, and cost. Unspecified is interpreted as no bound. If a zero value is provided, a count result of zero should always be expected. High-Level Example: ``` AGGREGATE COUNT_UP_TO(1000) OVER ( SELECT * FROM k ); ``` Requires: * Must be non-negative when present.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"Empty": { +"description": "A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }", +"id": "Empty", +"properties": {}, +"type": "object" +}, +"Entity": { +"description": "A Datastore data object. Must not exceed 1 MiB - 4 bytes.", +"id": "Entity", +"properties": { +"key": { +"$ref": "Key", +"description": "The entity's key. An entity must have a key, unless otherwise documented (for example, an entity in `Value.entity_value` may have no key). An entity's kind is its key path's last element's kind, or null if it has no key." +}, +"properties": { +"additionalProperties": { +"$ref": "Value" +}, +"description": "The entity's properties. The map's keys are property names. A property name matching regex `__.*__` is reserved. A reserved property name is forbidden in certain documented contexts. The map keys, represented as UTF-8, must not exceed 1,500 bytes and cannot be empty.", +"type": "object" +} +}, +"type": "object" +}, +"EntityResult": { +"description": "The result of fetching an entity from Datastore.", +"id": "EntityResult", +"properties": { +"createTime": { +"description": "The time at which the entity was created. This field is set for `FULL` entity results. If this entity is missing, this field will not be set.", +"format": "google-datetime", +"type": "string" +}, +"cursor": { +"description": "A cursor that points to the position after the result entity. Set only when the `EntityResult` is part of a `QueryResultBatch` message.", +"format": "byte", +"type": "string" +}, +"entity": { +"$ref": "Entity", +"description": "The resulting entity." +}, +"updateTime": { +"description": "The time at which the entity was last changed. This field is set for `FULL` entity results. If this entity is missing, this field will not be set.", +"format": "google-datetime", +"type": "string" +}, +"version": { +"description": "The version of the entity, a strictly positive number that monotonically increases with changes to the entity. This field is set for `FULL` entity results. For missing entities in `LookupResponse`, this is the version of the snapshot that was used to look up the entity, and it is always set except for eventually consistent reads.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"ExecutionStats": { +"description": "Execution statistics for the query.", +"id": "ExecutionStats", +"properties": { +"debugStats": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"description": "Debugging statistics from the execution of the query. Note that the debugging stats are subject to change as Firestore evolves. It could include: { \"indexes_entries_scanned\": \"1000\", \"documents_scanned\": \"20\", \"billing_details\" : { \"documents_billable\": \"20\", \"index_entries_billable\": \"1000\", \"min_query_cost\": \"0\" } }", +"type": "object" +}, +"executionDuration": { +"description": "Total time to execute the query in the backend.", +"format": "google-duration", +"type": "string" +}, +"readOperations": { +"description": "Total billable read operations.", +"format": "int64", +"type": "string" +}, +"resultsReturned": { +"description": "Total number of results returned, including documents, projections, aggregation results, keys.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"ExplainMetrics": { +"description": "Explain metrics for the query.", +"id": "ExplainMetrics", +"properties": { +"executionStats": { +"$ref": "ExecutionStats", +"description": "Aggregated stats from the execution of the query. Only present when ExplainOptions.analyze is set to true." +}, +"planSummary": { +"$ref": "PlanSummary", +"description": "Planning phase information for the query." +} +}, +"type": "object" +}, +"ExplainOptions": { +"description": "Explain options for the query.", +"id": "ExplainOptions", +"properties": { +"analyze": { +"description": "Optional. Whether to execute this query. When false (the default), the query will be planned, returning only metrics from the planning stages. When true, the query will be planned and executed, returning the full query results along with both planning and execution stage metrics.", +"type": "boolean" +} +}, +"type": "object" +}, +"Filter": { +"description": "A holder for any type of filter.", +"id": "Filter", +"properties": { +"compositeFilter": { +"$ref": "CompositeFilter", +"description": "A composite filter." +}, +"propertyFilter": { +"$ref": "PropertyFilter", +"description": "A filter on a property." +} +}, +"type": "object" +}, +"FindNearest": { +"description": "Nearest Neighbors search config. The ordering provided by FindNearest supersedes the order_by stage. If multiple documents have the same vector distance, the returned document order is not guaranteed to be stable between queries.", +"id": "FindNearest", +"properties": { +"distanceMeasure": { +"description": "Required. The Distance Measure to use, required.", +"enum": [ +"DISTANCE_MEASURE_UNSPECIFIED", +"EUCLIDEAN", +"COSINE", +"DOT_PRODUCT" +], +"enumDescriptions": [ +"Should not be set.", +"Measures the EUCLIDEAN distance between the vectors. See [Euclidean](https://en.wikipedia.org/wiki/Euclidean_distance) to learn more. The resulting distance decreases the more similar two vectors are.", +"COSINE distance compares vectors based on the angle between them, which allows you to measure similarity that isn't based on the vectors magnitude. We recommend using DOT_PRODUCT with unit normalized vectors instead of COSINE distance, which is mathematically equivalent with better performance. See [Cosine Similarity](https://en.wikipedia.org/wiki/Cosine_similarity) to learn more about COSINE similarity and COSINE distance. The resulting COSINE distance decreases the more similar two vectors are.", +"Similar to cosine but is affected by the magnitude of the vectors. See [Dot Product](https://en.wikipedia.org/wiki/Dot_product) to learn more. The resulting distance increases the more similar two vectors are." +], +"type": "string" +}, +"distanceResultProperty": { +"description": "Optional. Optional name of the field to output the result of the vector distance calculation. Must conform to entity property limitations.", +"type": "string" +}, +"distanceThreshold": { +"description": "Optional. Option to specify a threshold for which no less similar documents will be returned. The behavior of the specified `distance_measure` will affect the meaning of the distance threshold. Since DOT_PRODUCT distances increase when the vectors are more similar, the comparison is inverted. * For EUCLIDEAN, COSINE: WHERE distance <= distance_threshold * For DOT_PRODUCT: WHERE distance >= distance_threshold", +"format": "double", +"type": "number" +}, +"limit": { +"description": "Required. The number of nearest neighbors to return. Must be a positive integer of no more than 100.", +"format": "int32", +"type": "integer" +}, +"queryVector": { +"$ref": "Value", +"description": "Required. The query vector that we are searching on. Must be a vector of no more than 2048 dimensions." +}, +"vectorProperty": { +"$ref": "PropertyReference", +"description": "Required. An indexed vector property to search upon. Only documents which contain vectors whose dimensionality match the query_vector can be returned." +} +}, +"type": "object" +}, +"GoogleDatastoreAdminV1CommonMetadata": { +"description": "Metadata common to all Datastore Admin operations.", +"id": "GoogleDatastoreAdminV1CommonMetadata", +"properties": { +"endTime": { +"description": "The time the operation ended, either successfully or otherwise.", +"format": "google-datetime", +"type": "string" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "The client-assigned labels which were provided when the operation was created. May also include additional labels.", +"type": "object" +}, +"operationType": { +"description": "The type of the operation. Can be used as a filter in ListOperationsRequest.", +"enum": [ +"OPERATION_TYPE_UNSPECIFIED", +"EXPORT_ENTITIES", +"IMPORT_ENTITIES", +"CREATE_INDEX", +"DELETE_INDEX" +], +"enumDescriptions": [ +"Unspecified.", +"ExportEntities.", +"ImportEntities.", +"CreateIndex.", +"DeleteIndex." +], +"type": "string" +}, +"startTime": { +"description": "The time that work began on the operation.", +"format": "google-datetime", +"type": "string" +}, +"state": { +"description": "The current state of the Operation.", +"enum": [ +"STATE_UNSPECIFIED", +"INITIALIZING", +"PROCESSING", +"CANCELLING", +"FINALIZING", +"SUCCESSFUL", +"FAILED", +"CANCELLED" +], +"enumDescriptions": [ +"Unspecified.", +"Request is being prepared for processing.", +"Request is actively being processed.", +"Request is in the process of being cancelled after user called google.longrunning.Operations.CancelOperation on the operation.", +"Request has been processed and is in its finalization stage.", +"Request has completed successfully.", +"Request has finished being processed, but encountered an error.", +"Request has finished being cancelled after user called google.longrunning.Operations.CancelOperation." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleDatastoreAdminV1DatastoreFirestoreMigrationMetadata": { +"description": "Metadata for Datastore to Firestore migration operations. The DatastoreFirestoreMigration operation is not started by the end-user via an explicit \"creation\" method. This is an intentional deviation from the LRO design pattern. This singleton resource can be accessed at: \"projects/{project_id}/operations/datastore-firestore-migration\"", +"id": "GoogleDatastoreAdminV1DatastoreFirestoreMigrationMetadata", +"properties": { +"migrationState": { +"description": "The current state of migration from Cloud Datastore to Cloud Firestore in Datastore mode.", +"enum": [ +"MIGRATION_STATE_UNSPECIFIED", +"RUNNING", +"PAUSED", +"COMPLETE" +], +"enumDescriptions": [ +"Unspecified.", +"The migration is running.", +"The migration is paused.", +"The migration is complete." +], +"type": "string" +}, +"migrationStep": { +"description": "The current step of migration from Cloud Datastore to Cloud Firestore in Datastore mode.", +"enum": [ +"MIGRATION_STEP_UNSPECIFIED", +"PREPARE", +"START", +"APPLY_WRITES_SYNCHRONOUSLY", +"COPY_AND_VERIFY", +"REDIRECT_EVENTUALLY_CONSISTENT_READS", +"REDIRECT_STRONGLY_CONSISTENT_READS", +"REDIRECT_WRITES" +], +"enumDescriptions": [ +"Unspecified.", +"Pre-migration: the database is prepared for migration.", +"Start of migration.", +"Writes are applied synchronously to at least one replica.", +"Data is copied to Cloud Firestore and then verified to match the data in Cloud Datastore.", +"Eventually-consistent reads are redirected to Cloud Firestore.", +"Strongly-consistent reads are redirected to Cloud Firestore.", +"Writes are redirected to Cloud Firestore." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleDatastoreAdminV1EntityFilter": { +"description": "Identifies a subset of entities in a project. This is specified as combinations of kinds and namespaces (either or both of which may be all, as described in the following examples). Example usage: Entire project: kinds=[], namespace_ids=[] Kinds Foo and Bar in all namespaces: kinds=['Foo', 'Bar'], namespace_ids=[] Kinds Foo and Bar only in the default namespace: kinds=['Foo', 'Bar'], namespace_ids=[''] Kinds Foo and Bar in both the default and Baz namespaces: kinds=['Foo', 'Bar'], namespace_ids=['', 'Baz'] The entire Baz namespace: kinds=[], namespace_ids=['Baz']", +"id": "GoogleDatastoreAdminV1EntityFilter", +"properties": { +"kinds": { +"description": "If empty, then this represents all kinds.", +"items": { +"type": "string" +}, +"type": "array" +}, +"namespaceIds": { +"description": "An empty list represents all namespaces. This is the preferred usage for projects that don't use namespaces. An empty string element represents the default namespace. This should be used if the project has data in non-default namespaces, but doesn't want to include them. Each namespace in this list must be unique.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleDatastoreAdminV1ExportEntitiesMetadata": { +"description": "Metadata for ExportEntities operations.", +"id": "GoogleDatastoreAdminV1ExportEntitiesMetadata", +"properties": { +"common": { +"$ref": "GoogleDatastoreAdminV1CommonMetadata", +"description": "Metadata common to all Datastore Admin operations." +}, +"entityFilter": { +"$ref": "GoogleDatastoreAdminV1EntityFilter", +"description": "Description of which entities are being exported." +}, +"outputUrlPrefix": { +"description": "Location for the export metadata and data files. This will be the same value as the google.datastore.admin.v1.ExportEntitiesRequest.output_url_prefix field. The final output location is provided in google.datastore.admin.v1.ExportEntitiesResponse.output_url.", +"type": "string" +}, +"progressBytes": { +"$ref": "GoogleDatastoreAdminV1Progress", +"description": "An estimate of the number of bytes processed." +}, +"progressEntities": { +"$ref": "GoogleDatastoreAdminV1Progress", +"description": "An estimate of the number of entities processed." +} +}, +"type": "object" +}, +"GoogleDatastoreAdminV1ExportEntitiesRequest": { +"description": "The request for google.datastore.admin.v1.DatastoreAdmin.ExportEntities.", +"id": "GoogleDatastoreAdminV1ExportEntitiesRequest", +"properties": { +"entityFilter": { +"$ref": "GoogleDatastoreAdminV1EntityFilter", +"description": "Description of what data from the project is included in the export." +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Client-assigned labels.", +"type": "object" +}, +"outputUrlPrefix": { +"description": "Required. Location for the export metadata and data files. The full resource URL of the external storage location. Currently, only Google Cloud Storage is supported. So output_url_prefix should be of the form: `gs://BUCKET_NAME[/NAMESPACE_PATH]`, where `BUCKET_NAME` is the name of the Cloud Storage bucket and `NAMESPACE_PATH` is an optional Cloud Storage namespace path (this is not a Cloud Datastore namespace). For more information about Cloud Storage namespace paths, see [Object name considerations](https://cloud.google.com/storage/docs/naming#object-considerations). The resulting files will be nested deeper than the specified URL prefix. The final output URL will be provided in the google.datastore.admin.v1.ExportEntitiesResponse.output_url field. That value should be used for subsequent ImportEntities operations. By nesting the data files deeper, the same Cloud Storage bucket can be used in multiple ExportEntities operations without conflict.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleDatastoreAdminV1ExportEntitiesResponse": { +"description": "The response for google.datastore.admin.v1.DatastoreAdmin.ExportEntities.", +"id": "GoogleDatastoreAdminV1ExportEntitiesResponse", +"properties": { +"outputUrl": { +"description": "Location of the output metadata file. This can be used to begin an import into Cloud Datastore (this project or another project). See google.datastore.admin.v1.ImportEntitiesRequest.input_url. Only present if the operation completed successfully.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleDatastoreAdminV1ImportEntitiesMetadata": { +"description": "Metadata for ImportEntities operations.", +"id": "GoogleDatastoreAdminV1ImportEntitiesMetadata", +"properties": { +"common": { +"$ref": "GoogleDatastoreAdminV1CommonMetadata", +"description": "Metadata common to all Datastore Admin operations." +}, +"entityFilter": { +"$ref": "GoogleDatastoreAdminV1EntityFilter", +"description": "Description of which entities are being imported." +}, +"inputUrl": { +"description": "The location of the import metadata file. This will be the same value as the google.datastore.admin.v1.ExportEntitiesResponse.output_url field.", +"type": "string" +}, +"progressBytes": { +"$ref": "GoogleDatastoreAdminV1Progress", +"description": "An estimate of the number of bytes processed." +}, +"progressEntities": { +"$ref": "GoogleDatastoreAdminV1Progress", +"description": "An estimate of the number of entities processed." +} +}, +"type": "object" +}, +"GoogleDatastoreAdminV1ImportEntitiesRequest": { +"description": "The request for google.datastore.admin.v1.DatastoreAdmin.ImportEntities.", +"id": "GoogleDatastoreAdminV1ImportEntitiesRequest", +"properties": { +"entityFilter": { +"$ref": "GoogleDatastoreAdminV1EntityFilter", +"description": "Optionally specify which kinds/namespaces are to be imported. If provided, the list must be a subset of the EntityFilter used in creating the export, otherwise a FAILED_PRECONDITION error will be returned. If no filter is specified then all entities from the export are imported." +}, +"inputUrl": { +"description": "Required. The full resource URL of the external storage location. Currently, only Google Cloud Storage is supported. So input_url should be of the form: `gs://BUCKET_NAME[/NAMESPACE_PATH]/OVERALL_EXPORT_METADATA_FILE`, where `BUCKET_NAME` is the name of the Cloud Storage bucket, `NAMESPACE_PATH` is an optional Cloud Storage namespace path (this is not a Cloud Datastore namespace), and `OVERALL_EXPORT_METADATA_FILE` is the metadata file written by the ExportEntities operation. For more information about Cloud Storage namespace paths, see [Object name considerations](https://cloud.google.com/storage/docs/naming#object-considerations). For more information, see google.datastore.admin.v1.ExportEntitiesResponse.output_url.", +"type": "string" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Client-assigned labels.", +"type": "object" +} +}, +"type": "object" +}, +"GoogleDatastoreAdminV1Index": { +"description": "Datastore composite index definition.", +"id": "GoogleDatastoreAdminV1Index", +"properties": { +"ancestor": { +"description": "Required. The index's ancestor mode. Must not be ANCESTOR_MODE_UNSPECIFIED.", +"enum": [ +"ANCESTOR_MODE_UNSPECIFIED", +"NONE", +"ALL_ANCESTORS" +], +"enumDescriptions": [ +"The ancestor mode is unspecified.", +"Do not include the entity's ancestors in the index.", +"Include all the entity's ancestors in the index." +], +"type": "string" +}, +"indexId": { +"description": "Output only. The resource ID of the index.", +"readOnly": true, +"type": "string" +}, +"kind": { +"description": "Required. The entity kind to which this index applies.", +"type": "string" +}, +"projectId": { +"description": "Output only. Project ID.", +"readOnly": true, +"type": "string" +}, +"properties": { +"description": "Required. An ordered sequence of property names and their index attributes. Requires: * A maximum of 100 properties.", +"items": { +"$ref": "GoogleDatastoreAdminV1IndexedProperty" +}, +"type": "array" +}, +"state": { +"description": "Output only. The state of the index.", +"enum": [ +"STATE_UNSPECIFIED", +"CREATING", +"READY", +"DELETING", +"ERROR" +], +"enumDescriptions": [ +"The state is unspecified.", +"The index is being created, and cannot be used by queries. There is an active long-running operation for the index. The index is updated when writing an entity. Some index data may exist.", +"The index is ready to be used. The index is updated when writing an entity. The index is fully populated from all stored entities it applies to.", +"The index is being deleted, and cannot be used by queries. There is an active long-running operation for the index. The index is not updated when writing an entity. Some index data may exist.", +"The index was being created or deleted, but something went wrong. The index cannot by used by queries. There is no active long-running operation for the index, and the most recently finished long-running operation failed. The index is not updated when writing an entity. Some index data may exist." +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleDatastoreAdminV1IndexOperationMetadata": { +"description": "Metadata for Index operations.", +"id": "GoogleDatastoreAdminV1IndexOperationMetadata", +"properties": { +"common": { +"$ref": "GoogleDatastoreAdminV1CommonMetadata", +"description": "Metadata common to all Datastore Admin operations." +}, +"indexId": { +"description": "The index resource ID that this operation is acting on.", +"type": "string" +}, +"progressEntities": { +"$ref": "GoogleDatastoreAdminV1Progress", +"description": "An estimate of the number of entities processed." +} +}, +"type": "object" +}, +"GoogleDatastoreAdminV1IndexedProperty": { +"description": "A property of an index.", +"id": "GoogleDatastoreAdminV1IndexedProperty", +"properties": { +"direction": { +"description": "Required. The indexed property's direction. Must not be DIRECTION_UNSPECIFIED.", +"enum": [ +"DIRECTION_UNSPECIFIED", +"ASCENDING", +"DESCENDING" +], +"enumDescriptions": [ +"The direction is unspecified.", +"The property's values are indexed so as to support sequencing in ascending order and also query by <, >, <=, >=, and =.", +"The property's values are indexed so as to support sequencing in descending order and also query by <, >, <=, >=, and =." +], +"type": "string" +}, +"name": { +"description": "Required. The property name to index.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleDatastoreAdminV1ListIndexesResponse": { +"description": "The response for google.datastore.admin.v1.DatastoreAdmin.ListIndexes.", +"id": "GoogleDatastoreAdminV1ListIndexesResponse", +"properties": { +"indexes": { +"description": "The indexes.", +"items": { +"$ref": "GoogleDatastoreAdminV1Index" +}, +"type": "array" +}, +"nextPageToken": { +"description": "The standard List next-page token.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleDatastoreAdminV1MigrationProgressEvent": { +"description": "An event signifying the start of a new step in a [migration from Cloud Datastore to Cloud Firestore in Datastore mode](https://cloud.google.com/datastore/docs/upgrade-to-firestore).", +"id": "GoogleDatastoreAdminV1MigrationProgressEvent", +"properties": { +"prepareStepDetails": { +"$ref": "GoogleDatastoreAdminV1PrepareStepDetails", +"description": "Details for the `PREPARE` step." +}, +"redirectWritesStepDetails": { +"$ref": "GoogleDatastoreAdminV1RedirectWritesStepDetails", +"description": "Details for the `REDIRECT_WRITES` step." +}, +"step": { +"description": "The step that is starting. An event with step set to `START` indicates that the migration has been reverted back to the initial pre-migration state.", +"enum": [ +"MIGRATION_STEP_UNSPECIFIED", +"PREPARE", +"START", +"APPLY_WRITES_SYNCHRONOUSLY", +"COPY_AND_VERIFY", +"REDIRECT_EVENTUALLY_CONSISTENT_READS", +"REDIRECT_STRONGLY_CONSISTENT_READS", +"REDIRECT_WRITES" +], +"enumDescriptions": [ +"Unspecified.", +"Pre-migration: the database is prepared for migration.", +"Start of migration.", +"Writes are applied synchronously to at least one replica.", +"Data is copied to Cloud Firestore and then verified to match the data in Cloud Datastore.", +"Eventually-consistent reads are redirected to Cloud Firestore.", +"Strongly-consistent reads are redirected to Cloud Firestore.", +"Writes are redirected to Cloud Firestore." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleDatastoreAdminV1MigrationStateEvent": { +"description": "An event signifying a change in state of a [migration from Cloud Datastore to Cloud Firestore in Datastore mode](https://cloud.google.com/datastore/docs/upgrade-to-firestore).", +"id": "GoogleDatastoreAdminV1MigrationStateEvent", +"properties": { +"state": { +"description": "The new state of the migration.", +"enum": [ +"MIGRATION_STATE_UNSPECIFIED", +"RUNNING", +"PAUSED", +"COMPLETE" +], +"enumDescriptions": [ +"Unspecified.", +"The migration is running.", +"The migration is paused.", +"The migration is complete." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleDatastoreAdminV1PrepareStepDetails": { +"description": "Details for the `PREPARE` step.", +"id": "GoogleDatastoreAdminV1PrepareStepDetails", +"properties": { +"concurrencyMode": { +"description": "The concurrency mode this database will use when it reaches the `REDIRECT_WRITES` step.", +"enum": [ +"CONCURRENCY_MODE_UNSPECIFIED", +"PESSIMISTIC", +"OPTIMISTIC", +"OPTIMISTIC_WITH_ENTITY_GROUPS" +], +"enumDescriptions": [ +"Unspecified.", +"Pessimistic concurrency.", +"Optimistic concurrency.", +"Optimistic concurrency with entity groups." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleDatastoreAdminV1Progress": { +"description": "Measures the progress of a particular metric.", +"id": "GoogleDatastoreAdminV1Progress", +"properties": { +"workCompleted": { +"description": "The amount of work that has been completed. Note that this may be greater than work_estimated.", +"format": "int64", +"type": "string" +}, +"workEstimated": { +"description": "An estimate of how much work needs to be performed. May be zero if the work estimate is unavailable.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"GoogleDatastoreAdminV1RedirectWritesStepDetails": { +"description": "Details for the `REDIRECT_WRITES` step.", +"id": "GoogleDatastoreAdminV1RedirectWritesStepDetails", +"properties": { +"concurrencyMode": { +"description": "The concurrency mode for this database.", +"enum": [ +"CONCURRENCY_MODE_UNSPECIFIED", +"PESSIMISTIC", +"OPTIMISTIC", +"OPTIMISTIC_WITH_ENTITY_GROUPS" +], +"enumDescriptions": [ +"Unspecified.", +"Pessimistic concurrency.", +"Optimistic concurrency.", +"Optimistic concurrency with entity groups." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleDatastoreAdminV1beta1CommonMetadata": { +"description": "Metadata common to all Datastore Admin operations.", +"id": "GoogleDatastoreAdminV1beta1CommonMetadata", +"properties": { +"endTime": { +"description": "The time the operation ended, either successfully or otherwise.", +"format": "google-datetime", +"type": "string" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "The client-assigned labels which were provided when the operation was created. May also include additional labels.", +"type": "object" +}, +"operationType": { +"description": "The type of the operation. Can be used as a filter in ListOperationsRequest.", +"enum": [ +"OPERATION_TYPE_UNSPECIFIED", +"EXPORT_ENTITIES", +"IMPORT_ENTITIES" +], +"enumDescriptions": [ +"Unspecified.", +"ExportEntities.", +"ImportEntities." +], +"type": "string" +}, +"startTime": { +"description": "The time that work began on the operation.", +"format": "google-datetime", +"type": "string" +}, +"state": { +"description": "The current state of the Operation.", +"enum": [ +"STATE_UNSPECIFIED", +"INITIALIZING", +"PROCESSING", +"CANCELLING", +"FINALIZING", +"SUCCESSFUL", +"FAILED", +"CANCELLED" +], +"enumDescriptions": [ +"Unspecified.", +"Request is being prepared for processing.", +"Request is actively being processed.", +"Request is in the process of being cancelled after user called google.longrunning.Operations.CancelOperation on the operation.", +"Request has been processed and is in its finalization stage.", +"Request has completed successfully.", +"Request has finished being processed, but encountered an error.", +"Request has finished being cancelled after user called google.longrunning.Operations.CancelOperation." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleDatastoreAdminV1beta1EntityFilter": { +"description": "Identifies a subset of entities in a project. This is specified as combinations of kinds and namespaces (either or both of which may be all, as described in the following examples). Example usage: Entire project: kinds=[], namespace_ids=[] Kinds Foo and Bar in all namespaces: kinds=['Foo', 'Bar'], namespace_ids=[] Kinds Foo and Bar only in the default namespace: kinds=['Foo', 'Bar'], namespace_ids=[''] Kinds Foo and Bar in both the default and Baz namespaces: kinds=['Foo', 'Bar'], namespace_ids=['', 'Baz'] The entire Baz namespace: kinds=[], namespace_ids=['Baz']", +"id": "GoogleDatastoreAdminV1beta1EntityFilter", +"properties": { +"kinds": { +"description": "If empty, then this represents all kinds.", +"items": { +"type": "string" +}, +"type": "array" +}, +"namespaceIds": { +"description": "An empty list represents all namespaces. This is the preferred usage for projects that don't use namespaces. An empty string element represents the default namespace. This should be used if the project has data in non-default namespaces, but doesn't want to include them. Each namespace in this list must be unique.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleDatastoreAdminV1beta1ExportEntitiesMetadata": { +"description": "Metadata for ExportEntities operations.", +"id": "GoogleDatastoreAdminV1beta1ExportEntitiesMetadata", +"properties": { +"common": { +"$ref": "GoogleDatastoreAdminV1beta1CommonMetadata", +"description": "Metadata common to all Datastore Admin operations." +}, +"entityFilter": { +"$ref": "GoogleDatastoreAdminV1beta1EntityFilter", +"description": "Description of which entities are being exported." +}, +"outputUrlPrefix": { +"description": "Location for the export metadata and data files. This will be the same value as the google.datastore.admin.v1beta1.ExportEntitiesRequest.output_url_prefix field. The final output location is provided in google.datastore.admin.v1beta1.ExportEntitiesResponse.output_url.", +"type": "string" +}, +"progressBytes": { +"$ref": "GoogleDatastoreAdminV1beta1Progress", +"description": "An estimate of the number of bytes processed." +}, +"progressEntities": { +"$ref": "GoogleDatastoreAdminV1beta1Progress", +"description": "An estimate of the number of entities processed." +} +}, +"type": "object" +}, +"GoogleDatastoreAdminV1beta1ExportEntitiesResponse": { +"description": "The response for google.datastore.admin.v1beta1.DatastoreAdmin.ExportEntities.", +"id": "GoogleDatastoreAdminV1beta1ExportEntitiesResponse", +"properties": { +"outputUrl": { +"description": "Location of the output metadata file. This can be used to begin an import into Cloud Datastore (this project or another project). See google.datastore.admin.v1beta1.ImportEntitiesRequest.input_url. Only present if the operation completed successfully.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleDatastoreAdminV1beta1ImportEntitiesMetadata": { +"description": "Metadata for ImportEntities operations.", +"id": "GoogleDatastoreAdminV1beta1ImportEntitiesMetadata", +"properties": { +"common": { +"$ref": "GoogleDatastoreAdminV1beta1CommonMetadata", +"description": "Metadata common to all Datastore Admin operations." +}, +"entityFilter": { +"$ref": "GoogleDatastoreAdminV1beta1EntityFilter", +"description": "Description of which entities are being imported." +}, +"inputUrl": { +"description": "The location of the import metadata file. This will be the same value as the google.datastore.admin.v1beta1.ExportEntitiesResponse.output_url field.", +"type": "string" +}, +"progressBytes": { +"$ref": "GoogleDatastoreAdminV1beta1Progress", +"description": "An estimate of the number of bytes processed." +}, +"progressEntities": { +"$ref": "GoogleDatastoreAdminV1beta1Progress", +"description": "An estimate of the number of entities processed." +} +}, +"type": "object" +}, +"GoogleDatastoreAdminV1beta1Progress": { +"description": "Measures the progress of a particular metric.", +"id": "GoogleDatastoreAdminV1beta1Progress", +"properties": { +"workCompleted": { +"description": "The amount of work that has been completed. Note that this may be greater than work_estimated.", +"format": "int64", +"type": "string" +}, +"workEstimated": { +"description": "An estimate of how much work needs to be performed. May be zero if the work estimate is unavailable.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"GoogleLongrunningListOperationsResponse": { +"description": "The response message for Operations.ListOperations.", +"id": "GoogleLongrunningListOperationsResponse", +"properties": { +"nextPageToken": { +"description": "The standard List next-page token.", +"type": "string" +}, +"operations": { +"description": "A list of operations that matches the specified filter in the request.", +"items": { +"$ref": "GoogleLongrunningOperation" +}, +"type": "array" +}, +"unreachable": { +"description": "Unordered list. Unreachable resources. Populated when the request sets `ListOperationsRequest.return_partial_success` and reads across collections. For example, when attempting to list all resources across all supported locations.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleLongrunningOperation": { +"description": "This resource represents a long-running operation that is the result of a network API call.", +"id": "GoogleLongrunningOperation", +"properties": { +"done": { +"description": "If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.", +"type": "boolean" +}, +"error": { +"$ref": "Status", +"description": "The error result of the operation in case of failure or cancellation." +}, +"metadata": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.", +"type": "object" +}, +"name": { +"description": "The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.", +"type": "string" +}, +"response": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "The normal, successful response of the operation. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.", +"type": "object" +} +}, +"type": "object" +}, +"GqlQuery": { +"description": "A [GQL query](https://cloud.google.com/datastore/docs/apis/gql/gql_reference).", +"id": "GqlQuery", +"properties": { +"allowLiterals": { +"description": "When false, the query string must not contain any literals and instead must bind all values. For example, `SELECT * FROM Kind WHERE a = 'string literal'` is not allowed, while `SELECT * FROM Kind WHERE a = @value` is.", +"type": "boolean" +}, +"namedBindings": { +"additionalProperties": { +"$ref": "GqlQueryParameter" +}, +"description": "For each non-reserved named binding site in the query string, there must be a named parameter with that name, but not necessarily the inverse. Key must match regex `A-Za-z_$*`, must not match regex `__.*__`, and must not be `\"\"`.", +"type": "object" +}, +"positionalBindings": { +"description": "Numbered binding site @1 references the first numbered parameter, effectively using 1-based indexing, rather than the usual 0. For each binding site numbered i in `query_string`, there must be an i-th numbered parameter. The inverse must also be true.", +"items": { +"$ref": "GqlQueryParameter" +}, +"type": "array" +}, +"queryString": { +"description": "A string of the format described [here](https://cloud.google.com/datastore/docs/apis/gql/gql_reference).", +"type": "string" +} +}, +"type": "object" +}, +"GqlQueryParameter": { +"description": "A binding parameter for a GQL query.", +"id": "GqlQueryParameter", +"properties": { +"cursor": { +"description": "A query cursor. Query cursors are returned in query result batches.", +"format": "byte", +"type": "string" +}, +"value": { +"$ref": "Value", +"description": "A value parameter." +} +}, +"type": "object" +}, +"Key": { +"description": "A unique identifier for an entity. If a key's partition ID or any of its path kinds or names are reserved/read-only, the key is reserved/read-only. A reserved/read-only key is forbidden in certain documented contexts.", +"id": "Key", +"properties": { +"partitionId": { +"$ref": "PartitionId", +"description": "Entities are partitioned into subsets, currently identified by a project ID and namespace ID. Queries are scoped to a single partition." +}, +"path": { +"description": "The entity path. An entity path consists of one or more elements composed of a kind and a string or numerical identifier, which identify entities. The first element identifies a _root entity_, the second element identifies a _child_ of the root entity, the third element identifies a child of the second entity, and so forth. The entities identified by all prefixes of the path are called the element's _ancestors_. An entity path is always fully complete: *all* of the entity's ancestors are required to be in the path along with the entity identifier itself. The only exception is that in some documented cases, the identifier in the last path element (for the entity) itself may be omitted. For example, the last path element of the key of `Mutation.insert` may have no identifier. A path can never be empty, and a path can have at most 100 elements.", +"items": { +"$ref": "PathElement" +}, +"type": "array" +} +}, +"type": "object" +}, +"KindExpression": { +"description": "A representation of a kind.", +"id": "KindExpression", +"properties": { +"name": { +"description": "The name of the kind.", +"type": "string" +} +}, +"type": "object" +}, +"LatLng": { +"description": "An object that represents a latitude/longitude pair. This is expressed as a pair of doubles to represent degrees latitude and degrees longitude. Unless specified otherwise, this object must conform to the WGS84 standard. Values must be within normalized ranges.", +"id": "LatLng", +"properties": { +"latitude": { +"description": "The latitude in degrees. It must be in the range [-90.0, +90.0].", +"format": "double", +"type": "number" +}, +"longitude": { +"description": "The longitude in degrees. It must be in the range [-180.0, +180.0].", +"format": "double", +"type": "number" +} +}, +"type": "object" +}, +"LookupRequest": { +"description": "The request for Datastore.Lookup.", +"id": "LookupRequest", +"properties": { +"databaseId": { +"description": "The ID of the database against which to make the request. '(default)' is not allowed; please use empty string '' to refer the default database.", +"type": "string" +}, +"keys": { +"description": "Required. Keys of entities to look up.", +"items": { +"$ref": "Key" +}, +"type": "array" +}, +"propertyMask": { +"$ref": "PropertyMask", +"description": "The properties to return. Defaults to returning all properties. If this field is set and an entity has a property not referenced in the mask, it will be absent from LookupResponse.found.entity.properties. The entity's key is always returned." +}, +"readOptions": { +"$ref": "ReadOptions", +"description": "The options for this lookup request." +} +}, +"type": "object" +}, +"LookupResponse": { +"description": "The response for Datastore.Lookup.", +"id": "LookupResponse", +"properties": { +"deferred": { +"description": "A list of keys that were not looked up due to resource constraints. The order of results in this field is undefined and has no relation to the order of the keys in the input.", +"items": { +"$ref": "Key" +}, +"type": "array" +}, +"found": { +"description": "Entities found as `ResultType.FULL` entities. The order of results in this field is undefined and has no relation to the order of the keys in the input.", +"items": { +"$ref": "EntityResult" +}, +"type": "array" +}, +"missing": { +"description": "Entities not found as `ResultType.KEY_ONLY` entities. The order of results in this field is undefined and has no relation to the order of the keys in the input.", +"items": { +"$ref": "EntityResult" +}, +"type": "array" +}, +"readTime": { +"description": "The time at which these entities were read or found missing.", +"format": "google-datetime", +"type": "string" +}, +"transaction": { +"description": "The identifier of the transaction that was started as part of this Lookup request. Set only when ReadOptions.new_transaction was set in LookupRequest.read_options.", +"format": "byte", +"type": "string" +} +}, +"type": "object" +}, +"Mutation": { +"description": "A mutation to apply to an entity.", +"id": "Mutation", +"properties": { +"baseVersion": { +"description": "The version of the entity that this mutation is being applied to. If this does not match the current version on the server, the mutation conflicts.", +"format": "int64", +"type": "string" +}, +"conflictResolutionStrategy": { +"description": "The strategy to use when a conflict is detected. Defaults to `SERVER_VALUE`. If this is set, then `conflict_detection_strategy` must also be set.", +"enum": [ +"STRATEGY_UNSPECIFIED", +"SERVER_VALUE", +"FAIL" +], +"enumDescriptions": [ +"Unspecified. Defaults to `SERVER_VALUE`.", +"The server entity is kept.", +"The whole commit request fails." +], +"type": "string" +}, +"delete": { +"$ref": "Key", +"description": "The key of the entity to delete. The entity may or may not already exist. Must have a complete key path and must not be reserved/read-only." +}, +"insert": { +"$ref": "Entity", +"description": "The entity to insert. The entity must not already exist. The entity key's final path element may be incomplete." +}, +"propertyMask": { +"$ref": "PropertyMask", +"description": "The properties to write in this mutation. None of the properties in the mask may have a reserved name, except for `__key__`. This field is ignored for `delete`. If the entity already exists, only properties referenced in the mask are updated, others are left untouched. Properties referenced in the mask but not in the entity are deleted." +}, +"propertyTransforms": { +"description": "Optional. The transforms to perform on the entity. This field can be set only when the operation is `insert`, `update`, or `upsert`. If present, the transforms are be applied to the entity regardless of the property mask, in order, after the operation.", +"items": { +"$ref": "PropertyTransform" +}, +"type": "array" +}, +"update": { +"$ref": "Entity", +"description": "The entity to update. The entity must already exist. Must have a complete key path." +}, +"updateTime": { +"description": "The update time of the entity that this mutation is being applied to. If this does not match the current update time on the server, the mutation conflicts.", +"format": "google-datetime", +"type": "string" +}, +"upsert": { +"$ref": "Entity", +"description": "The entity to upsert. The entity may or may not already exist. The entity key's final path element may be incomplete." +} +}, +"type": "object" +}, +"MutationResult": { +"description": "The result of applying a mutation.", +"id": "MutationResult", +"properties": { +"conflictDetected": { +"description": "Whether a conflict was detected for this mutation. Always false when a conflict detection strategy field is not set in the mutation.", +"type": "boolean" +}, +"createTime": { +"description": "The create time of the entity. This field will not be set after a 'delete'.", +"format": "google-datetime", +"type": "string" +}, +"key": { +"$ref": "Key", +"description": "The automatically allocated key. Set only when the mutation allocated a key." +}, +"transformResults": { +"description": "The results of applying each PropertyTransform, in the same order of the request.", +"items": { +"$ref": "Value" +}, +"type": "array" +}, +"updateTime": { +"description": "The update time of the entity on the server after processing the mutation. If the mutation doesn't change anything on the server, then the timestamp will be the update timestamp of the current entity. This field will not be set after a 'delete'.", +"format": "google-datetime", +"type": "string" +}, +"version": { +"description": "The version of the entity on the server after processing the mutation. If the mutation doesn't change anything on the server, then the version will be the version of the current entity or, if no entity is present, a version that is strictly greater than the version of any previous entity and less than the version of any possible future entity.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"PartitionId": { +"description": "A partition ID identifies a grouping of entities. The grouping is always by project and namespace, however the namespace ID may be empty. A partition ID contains several dimensions: project ID and namespace ID. Partition dimensions: - May be `\"\"`. - Must be valid UTF-8 bytes. - Must have values that match regex `[A-Za-z\\d\\.\\-_]{1,100}` If the value of any dimension matches regex `__.*__`, the partition is reserved/read-only. A reserved/read-only partition ID is forbidden in certain documented contexts. Foreign partition IDs (in which the project ID does not match the context project ID ) are discouraged. Reads and writes of foreign partition IDs may fail if the project is not in an active state.", +"id": "PartitionId", +"properties": { +"databaseId": { +"description": "If not empty, the ID of the database to which the entities belong.", +"type": "string" +}, +"namespaceId": { +"description": "If not empty, the ID of the namespace to which the entities belong.", +"type": "string" +}, +"projectId": { +"description": "The ID of the project to which the entities belong.", +"type": "string" +} +}, +"type": "object" +}, +"PathElement": { +"description": "A (kind, ID/name) pair used to construct a key path. If either name or ID is set, the element is complete. If neither is set, the element is incomplete.", +"id": "PathElement", +"properties": { +"id": { +"description": "The auto-allocated ID of the entity. Never equal to zero. Values less than zero are discouraged and may not be supported in the future.", +"format": "int64", +"type": "string" +}, +"kind": { +"description": "The kind of the entity. A kind matching regex `__.*__` is reserved/read-only. A kind must not contain more than 1500 bytes when UTF-8 encoded. Cannot be `\"\"`. Must be valid UTF-8 bytes. Legacy values that are not valid UTF-8 are encoded as `__bytes__` where `` is the base-64 encoding of the bytes.", +"type": "string" +}, +"name": { +"description": "The name of the entity. A name matching regex `__.*__` is reserved/read-only. A name must not be more than 1500 bytes when UTF-8 encoded. Cannot be `\"\"`. Must be valid UTF-8 bytes. Legacy values that are not valid UTF-8 are encoded as `__bytes__` where `` is the base-64 encoding of the bytes.", +"type": "string" +} +}, +"type": "object" +}, +"PlanSummary": { +"description": "Planning phase information for the query.", +"id": "PlanSummary", +"properties": { +"indexesUsed": { +"description": "The indexes selected for the query. For example: [ {\"query_scope\": \"Collection\", \"properties\": \"(foo ASC, __name__ ASC)\"}, {\"query_scope\": \"Collection\", \"properties\": \"(bar ASC, __name__ ASC)\"} ]", +"items": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"type": "object" +}, +"type": "array" +} +}, +"type": "object" +}, +"Projection": { +"description": "A representation of a property in a projection.", +"id": "Projection", +"properties": { +"property": { +"$ref": "PropertyReference", +"description": "The property to project." +} +}, +"type": "object" +}, +"PropertyFilter": { +"description": "A filter on a specific property.", +"id": "PropertyFilter", +"properties": { +"op": { +"description": "The operator to filter by.", +"enum": [ +"OPERATOR_UNSPECIFIED", +"LESS_THAN", +"LESS_THAN_OR_EQUAL", +"GREATER_THAN", +"GREATER_THAN_OR_EQUAL", +"EQUAL", +"IN", +"NOT_EQUAL", +"HAS_ANCESTOR", +"NOT_IN" +], +"enumDescriptions": [ +"Unspecified. This value must not be used.", +"The given `property` is less than the given `value`. Requires: * That `property` comes first in `order_by`.", +"The given `property` is less than or equal to the given `value`. Requires: * That `property` comes first in `order_by`.", +"The given `property` is greater than the given `value`. Requires: * That `property` comes first in `order_by`.", +"The given `property` is greater than or equal to the given `value`. Requires: * That `property` comes first in `order_by`.", +"The given `property` is equal to the given `value`.", +"The given `property` is equal to at least one value in the given array. Requires: * That `value` is a non-empty `ArrayValue`, subject to disjunction limits. * No `NOT_IN` is in the same query.", +"The given `property` is not equal to the given `value`. Requires: * No other `NOT_EQUAL` or `NOT_IN` is in the same query. * That `property` comes first in the `order_by`.", +"Limit the result set to the given entity and its descendants. Requires: * That `value` is an entity key. * All evaluated disjunctions must have the same `HAS_ANCESTOR` filter.", +"The value of the `property` is not in the given array. Requires: * That `value` is a non-empty `ArrayValue` with at most 10 values. * No other `OR`, `IN`, `NOT_IN`, `NOT_EQUAL` is in the same query. * That `field` comes first in the `order_by`." +], +"type": "string" +}, +"property": { +"$ref": "PropertyReference", +"description": "The property to filter by." +}, +"value": { +"$ref": "Value", +"description": "The value to compare the property to." +} +}, +"type": "object" +}, +"PropertyMask": { +"description": "The set of arbitrarily nested property paths used to restrict an operation to only a subset of properties in an entity.", +"id": "PropertyMask", +"properties": { +"paths": { +"description": "The paths to the properties covered by this mask. A path is a list of property names separated by dots (`.`), for example `foo.bar` means the property `bar` inside the entity property `foo` inside the entity associated with this path. If a property name contains a dot `.` or a backslash `\\`, then that name must be escaped. A path must not be empty, and may not reference a value inside an array value.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"PropertyOrder": { +"description": "The desired order for a specific property.", +"id": "PropertyOrder", +"properties": { +"direction": { +"description": "The direction to order by. Defaults to `ASCENDING`.", +"enum": [ +"DIRECTION_UNSPECIFIED", +"ASCENDING", +"DESCENDING" +], +"enumDescriptions": [ +"Unspecified. This value must not be used.", +"Ascending.", +"Descending." +], +"type": "string" +}, +"property": { +"$ref": "PropertyReference", +"description": "The property to order by." +} +}, +"type": "object" +}, +"PropertyReference": { +"description": "A reference to a property relative to the kind expressions.", +"id": "PropertyReference", +"properties": { +"name": { +"description": "A reference to a property. Requires: * MUST be a dot-delimited (`.`) string of segments, where each segment conforms to entity property name limitations.", +"type": "string" +} +}, +"type": "object" +}, +"PropertyTransform": { +"description": "A transformation of an entity property.", +"id": "PropertyTransform", +"properties": { +"appendMissingElements": { +"$ref": "ArrayValue", +"description": "Appends the given elements in order if they are not already present in the current property value. If the property is not an array, or if the property does not yet exist, it is first set to the empty array. Equivalent numbers of different types (e.g. 3L and 3.0) are considered equal when checking if a value is missing. NaN is equal to NaN, and the null value is equal to the null value. If the input contains multiple equivalent values, only the first will be considered. The corresponding transform result will be the null value." +}, +"increment": { +"$ref": "Value", +"description": "Adds the given value to the property's current value. This must be an integer or a double value. If the property is not an integer or double, or if the property does not yet exist, the transformation will set the property to the given value. If either of the given value or the current property value are doubles, both values will be interpreted as doubles. Double arithmetic and representation of double values follows IEEE 754 semantics. If there is positive/negative integer overflow, the property is resolved to the largest magnitude positive/negative integer." +}, +"maximum": { +"$ref": "Value", +"description": "Sets the property to the maximum of its current value and the given value. This must be an integer or a double value. If the property is not an integer or double, or if the property does not yet exist, the transformation will set the property to the given value. If a maximum operation is applied where the property and the input value are of mixed types (that is - one is an integer and one is a double) the property takes on the type of the larger operand. If the operands are equivalent (e.g. 3 and 3.0), the property does not change. 0, 0.0, and -0.0 are all zero. The maximum of a zero stored value and zero input value is always the stored value. The maximum of any numeric value x and NaN is NaN." +}, +"minimum": { +"$ref": "Value", +"description": "Sets the property to the minimum of its current value and the given value. This must be an integer or a double value. If the property is not an integer or double, or if the property does not yet exist, the transformation will set the property to the input value. If a minimum operation is applied where the property and the input value are of mixed types (that is - one is an integer and one is a double) the property takes on the type of the smaller operand. If the operands are equivalent (e.g. 3 and 3.0), the property does not change. 0, 0.0, and -0.0 are all zero. The minimum of a zero stored value and zero input value is always the stored value. The minimum of any numeric value x and NaN is NaN." +}, +"property": { +"description": "Optional. The name of the property. Property paths (a list of property names separated by dots (`.`)) may be used to refer to properties inside entity values. For example `foo.bar` means the property `bar` inside the entity property `foo`. If a property name contains a dot `.` or a backlslash `\\`, then that name must be escaped.", +"type": "string" +}, +"removeAllFromArray": { +"$ref": "ArrayValue", +"description": "Removes all of the given elements from the array in the property. If the property is not an array, or if the property does not yet exist, it is set to the empty array. Equivalent numbers of different types (e.g. 3L and 3.0) are considered equal when deciding whether an element should be removed. NaN is equal to NaN, and the null value is equal to the null value. This will remove all equivalent values if there are duplicates. The corresponding transform result will be the null value." +}, +"setToServerValue": { +"description": "Sets the property to the given server value.", +"enum": [ +"SERVER_VALUE_UNSPECIFIED", +"REQUEST_TIME" +], +"enumDescriptions": [ +"Unspecified. This value must not be used.", +"The time at which the server processed the request, with millisecond precision. If used on multiple properties (same or different entities) in a transaction, all the properties will get the same server timestamp." +], +"type": "string" +} +}, +"type": "object" +}, +"Query": { +"description": "A query for entities. The query stages are executed in the following order: 1. kind 2. filter 3. projection 4. order + start_cursor + end_cursor 5. offset 6. limit 7. find_nearest", +"id": "Query", +"properties": { +"distinctOn": { +"description": "The properties to make distinct. The query results will contain the first result for each distinct combination of values for the given properties (if empty, all results are returned). Requires: * If `order` is specified, the set of distinct on properties must appear before the non-distinct on properties in `order`.", +"items": { +"$ref": "PropertyReference" +}, +"type": "array" +}, +"endCursor": { +"description": "An ending point for the query results. Query cursors are returned in query result batches and [can only be used to limit the same query](https://cloud.google.com/datastore/docs/concepts/queries#cursors_limits_and_offsets).", +"format": "byte", +"type": "string" +}, +"filter": { +"$ref": "Filter", +"description": "The filter to apply." +}, +"findNearest": { +"$ref": "FindNearest", +"description": "Optional. A potential Nearest Neighbors Search. Applies after all other filters and ordering. Finds the closest vector embeddings to the given query vector." +}, +"kind": { +"description": "The kinds to query (if empty, returns entities of all kinds). Currently at most 1 kind may be specified.", +"items": { +"$ref": "KindExpression" +}, +"type": "array" +}, +"limit": { +"description": "The maximum number of results to return. Applies after all other constraints. Optional. Unspecified is interpreted as no limit. Must be >= 0 if specified.", +"format": "int32", +"type": "integer" +}, +"offset": { +"description": "The number of results to skip. Applies before limit, but after all other constraints. Optional. Must be >= 0 if specified.", +"format": "int32", +"type": "integer" +}, +"order": { +"description": "The order to apply to the query results (if empty, order is unspecified).", +"items": { +"$ref": "PropertyOrder" +}, +"type": "array" +}, +"projection": { +"description": "The projection to return. Defaults to returning all properties.", +"items": { +"$ref": "Projection" +}, +"type": "array" +}, +"startCursor": { +"description": "A starting point for the query results. Query cursors are returned in query result batches and [can only be used to continue the same query](https://cloud.google.com/datastore/docs/concepts/queries#cursors_limits_and_offsets).", +"format": "byte", +"type": "string" +} +}, +"type": "object" +}, +"QueryResultBatch": { +"description": "A batch of results produced by a query.", +"id": "QueryResultBatch", +"properties": { +"endCursor": { +"description": "A cursor that points to the position after the last result in the batch.", +"format": "byte", +"type": "string" +}, +"entityResultType": { +"description": "The result type for every entity in `entity_results`.", +"enum": [ +"RESULT_TYPE_UNSPECIFIED", +"FULL", +"PROJECTION", +"KEY_ONLY" +], +"enumDescriptions": [ +"Unspecified. This value is never used.", +"The key and properties.", +"A projected subset of properties. The entity may have no key.", +"Only the key." +], +"type": "string" +}, +"entityResults": { +"description": "The results for this batch.", +"items": { +"$ref": "EntityResult" +}, +"type": "array" +}, +"moreResults": { +"description": "The state of the query after the current batch.", +"enum": [ +"MORE_RESULTS_TYPE_UNSPECIFIED", +"NOT_FINISHED", +"MORE_RESULTS_AFTER_LIMIT", +"MORE_RESULTS_AFTER_CURSOR", +"NO_MORE_RESULTS" +], +"enumDescriptions": [ +"Unspecified. This value is never used.", +"There may be additional batches to fetch from this query.", +"The query is finished, but there may be more results after the limit.", +"The query is finished, but there may be more results after the end cursor.", +"The query is finished, and there are no more results." +], +"type": "string" +}, +"readTime": { +"description": "Read timestamp this batch was returned from. This applies to the range of results from the query's `start_cursor` (or the beginning of the query if no cursor was given) to this batch's `end_cursor` (not the query's `end_cursor`). In a single transaction, subsequent query result batches for the same query can have a greater timestamp. Each batch's read timestamp is valid for all preceding batches. This value will not be set for eventually consistent queries in Cloud Datastore.", +"format": "google-datetime", +"type": "string" +}, +"skippedCursor": { +"description": "A cursor that points to the position after the last skipped result. Will be set when `skipped_results` != 0.", +"format": "byte", +"type": "string" +}, +"skippedResults": { +"description": "The number of results skipped, typically because of an offset.", +"format": "int32", +"type": "integer" +}, +"snapshotVersion": { +"description": "The version number of the snapshot this batch was returned from. This applies to the range of results from the query's `start_cursor` (or the beginning of the query if no cursor was given) to this batch's `end_cursor` (not the query's `end_cursor`). In a single transaction, subsequent query result batches for the same query can have a greater snapshot version number. Each batch's snapshot version is valid for all preceding batches. The value will be zero for eventually consistent queries.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"ReadOnly": { +"description": "Options specific to read-only transactions.", +"id": "ReadOnly", +"properties": { +"readTime": { +"description": "Reads entities at the given time. This must be a microsecond precision timestamp within the past one hour, or if Point-in-Time Recovery is enabled, can additionally be a whole minute timestamp within the past 7 days.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"ReadOptions": { +"description": "The options shared by read requests.", +"id": "ReadOptions", +"properties": { +"newTransaction": { +"$ref": "TransactionOptions", +"description": "Options for beginning a new transaction for this request. The new transaction identifier will be returned in the corresponding response as either LookupResponse.transaction or RunQueryResponse.transaction." +}, +"readConsistency": { +"description": "The non-transactional read consistency to use.", +"enum": [ +"READ_CONSISTENCY_UNSPECIFIED", +"STRONG", +"EVENTUAL" +], +"enumDescriptions": [ +"Unspecified. This value must not be used.", +"Strong consistency.", +"Eventual consistency." +], +"type": "string" +}, +"readTime": { +"description": "Reads entities as they were at the given time. This value is only supported for Cloud Firestore in Datastore mode. This must be a microsecond precision timestamp within the past one hour, or if Point-in-Time Recovery is enabled, can additionally be a whole minute timestamp within the past 7 days.", +"format": "google-datetime", +"type": "string" +}, +"transaction": { +"description": "The identifier of the transaction in which to read. A transaction identifier is returned by a call to Datastore.BeginTransaction.", +"format": "byte", +"type": "string" +} +}, +"type": "object" +}, +"ReadWrite": { +"description": "Options specific to read / write transactions.", +"id": "ReadWrite", +"properties": { +"previousTransaction": { +"description": "The transaction identifier of the transaction being retried.", +"format": "byte", +"type": "string" +} +}, +"type": "object" +}, +"ReserveIdsRequest": { +"description": "The request for Datastore.ReserveIds.", +"id": "ReserveIdsRequest", +"properties": { +"databaseId": { +"description": "The ID of the database against which to make the request. '(default)' is not allowed; please use empty string '' to refer the default database.", +"type": "string" +}, +"keys": { +"description": "Required. A list of keys with complete key paths whose numeric IDs should not be auto-allocated.", +"items": { +"$ref": "Key" +}, +"type": "array" +} +}, +"type": "object" +}, +"ReserveIdsResponse": { +"description": "The response for Datastore.ReserveIds.", +"id": "ReserveIdsResponse", +"properties": {}, +"type": "object" +}, +"RollbackRequest": { +"description": "The request for Datastore.Rollback.", +"id": "RollbackRequest", +"properties": { +"databaseId": { +"description": "The ID of the database against which to make the request. '(default)' is not allowed; please use empty string '' to refer the default database.", +"type": "string" +}, +"transaction": { +"description": "Required. The transaction identifier, returned by a call to Datastore.BeginTransaction.", +"format": "byte", +"type": "string" +} +}, +"type": "object" +}, +"RollbackResponse": { +"description": "The response for Datastore.Rollback. (an empty message).", +"id": "RollbackResponse", +"properties": {}, +"type": "object" +}, +"RunAggregationQueryRequest": { +"description": "The request for Datastore.RunAggregationQuery.", +"id": "RunAggregationQueryRequest", +"properties": { +"aggregationQuery": { +"$ref": "AggregationQuery", +"description": "The query to run." +}, +"databaseId": { +"description": "The ID of the database against which to make the request. '(default)' is not allowed; please use empty string '' to refer the default database.", +"type": "string" +}, +"explainOptions": { +"$ref": "ExplainOptions", +"description": "Optional. Explain options for the query. If set, additional query statistics will be returned. If not, only query results will be returned." +}, +"gqlQuery": { +"$ref": "GqlQuery", +"description": "The GQL query to run. This query must be an aggregation query." +}, +"partitionId": { +"$ref": "PartitionId", +"description": "Entities are partitioned into subsets, identified by a partition ID. Queries are scoped to a single partition. This partition ID is normalized with the standard default context partition ID." +}, +"readOptions": { +"$ref": "ReadOptions", +"description": "The options for this query." +} +}, +"type": "object" +}, +"RunAggregationQueryResponse": { +"description": "The response for Datastore.RunAggregationQuery.", +"id": "RunAggregationQueryResponse", +"properties": { +"batch": { +"$ref": "AggregationResultBatch", +"description": "A batch of aggregation results. Always present." +}, +"explainMetrics": { +"$ref": "ExplainMetrics", +"description": "Query explain metrics. This is only present when the RunAggregationQueryRequest.explain_options is provided, and it is sent only once with the last response in the stream." +}, +"query": { +"$ref": "AggregationQuery", +"description": "The parsed form of the `GqlQuery` from the request, if it was set." +}, +"transaction": { +"description": "The identifier of the transaction that was started as part of this RunAggregationQuery request. Set only when ReadOptions.new_transaction was set in RunAggregationQueryRequest.read_options.", +"format": "byte", +"type": "string" +} +}, +"type": "object" +}, +"RunQueryRequest": { +"description": "The request for Datastore.RunQuery.", +"id": "RunQueryRequest", +"properties": { +"databaseId": { +"description": "The ID of the database against which to make the request. '(default)' is not allowed; please use empty string '' to refer the default database.", +"type": "string" +}, +"explainOptions": { +"$ref": "ExplainOptions", +"description": "Optional. Explain options for the query. If set, additional query statistics will be returned. If not, only query results will be returned." +}, +"gqlQuery": { +"$ref": "GqlQuery", +"description": "The GQL query to run. This query must be a non-aggregation query." +}, +"partitionId": { +"$ref": "PartitionId", +"description": "Entities are partitioned into subsets, identified by a partition ID. Queries are scoped to a single partition. This partition ID is normalized with the standard default context partition ID." +}, +"propertyMask": { +"$ref": "PropertyMask", +"description": "The properties to return. This field must not be set for a projection query. See LookupRequest.property_mask." +}, +"query": { +"$ref": "Query", +"description": "The query to run." +}, +"readOptions": { +"$ref": "ReadOptions", +"description": "The options for this query." +} +}, +"type": "object" +}, +"RunQueryResponse": { +"description": "The response for Datastore.RunQuery.", +"id": "RunQueryResponse", +"properties": { +"batch": { +"$ref": "QueryResultBatch", +"description": "A batch of query results. This is always present unless running a query under explain-only mode: RunQueryRequest.explain_options was provided and ExplainOptions.analyze was set to false." +}, +"explainMetrics": { +"$ref": "ExplainMetrics", +"description": "Query explain metrics. This is only present when the RunQueryRequest.explain_options is provided, and it is sent only once with the last response in the stream." +}, +"query": { +"$ref": "Query", +"description": "The parsed form of the `GqlQuery` from the request, if it was set." +}, +"transaction": { +"description": "The identifier of the transaction that was started as part of this RunQuery request. Set only when ReadOptions.new_transaction was set in RunQueryRequest.read_options.", +"format": "byte", +"type": "string" +} +}, +"type": "object" +}, +"Status": { +"description": "The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors).", +"id": "Status", +"properties": { +"code": { +"description": "The status code, which should be an enum value of google.rpc.Code.", +"format": "int32", +"type": "integer" +}, +"details": { +"description": "A list of messages that carry the error details. There is a common set of message types for APIs to use.", +"items": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.", +"type": "string" +} +}, +"type": "object" +}, +"Sum": { +"description": "Sum of the values of the requested property. * Only numeric values will be aggregated. All non-numeric values including `NULL` are skipped. * If the aggregated values contain `NaN`, returns `NaN`. Infinity math follows IEEE-754 standards. * If the aggregated value set is empty, returns 0. * Returns a 64-bit integer if all aggregated numbers are integers and the sum result does not overflow. Otherwise, the result is returned as a double. Note that even if all the aggregated values are integers, the result is returned as a double if it cannot fit within a 64-bit signed integer. When this occurs, the returned value will lose precision. * When underflow occurs, floating-point aggregation is non-deterministic. This means that running the same query repeatedly without any changes to the underlying values could produce slightly different results each time. In those cases, values should be stored as integers over floating-point numbers.", +"id": "Sum", +"properties": { +"property": { +"$ref": "PropertyReference", +"description": "The property to aggregate on." +} +}, +"type": "object" +}, +"TransactionOptions": { +"description": "Options for beginning a new transaction. Transactions can be created explicitly with calls to Datastore.BeginTransaction or implicitly by setting ReadOptions.new_transaction in read requests.", +"id": "TransactionOptions", +"properties": { +"readOnly": { +"$ref": "ReadOnly", +"description": "The transaction should only allow reads." +}, +"readWrite": { +"$ref": "ReadWrite", +"description": "The transaction should allow both reads and writes." +} +}, +"type": "object" +}, +"Value": { +"description": "A message that can hold any of the supported value types and associated metadata.", +"id": "Value", +"properties": { +"arrayValue": { +"$ref": "ArrayValue", +"description": "An array value. Cannot contain another array value. A `Value` instance that sets field `array_value` must not set fields `meaning` or `exclude_from_indexes`." +}, +"blobValue": { +"description": "A blob value. May have at most 1,000,000 bytes. When `exclude_from_indexes` is false, may have at most 1500 bytes. In JSON requests, must be base64-encoded.", +"format": "byte", +"type": "string" +}, +"booleanValue": { +"description": "A boolean value.", +"type": "boolean" +}, +"doubleValue": { +"description": "A double value.", +"format": "double", +"type": "number" +}, +"entityValue": { +"$ref": "Entity", +"description": "An entity value. - May have no key. - May have a key with an incomplete key path. - May have a reserved/read-only key." +}, +"excludeFromIndexes": { +"description": "If the value should be excluded from all indexes including those defined explicitly.", +"type": "boolean" +}, +"geoPointValue": { +"$ref": "LatLng", +"description": "A geo point value representing a point on the surface of Earth." +}, +"integerValue": { +"description": "An integer value.", +"format": "int64", +"type": "string" +}, +"keyValue": { +"$ref": "Key", +"description": "A key value." +}, +"meaning": { +"description": "The `meaning` field should only be populated for backwards compatibility.", +"format": "int32", +"type": "integer" +}, +"nullValue": { +"description": "A null value.", +"enum": [ +"NULL_VALUE" +], +"enumDescriptions": [ +"Null value." +], +"type": "string" +}, +"stringValue": { +"description": "A UTF-8 encoded string value. When `exclude_from_indexes` is false (it is indexed) , may have at most 1500 bytes. Otherwise, may be set to at most 1,000,000 bytes.", +"type": "string" +}, +"timestampValue": { +"description": "A timestamp value. When stored in the Datastore, precise only to microseconds; any additional precision is rounded down.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +} +}, +"servicePath": "", +"title": "Cloud Datastore API", +"version": "v1", +"version_module": true +} \ No newline at end of file diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/datastore.v1beta3.json b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/datastore.v1beta3.json new file mode 100644 index 0000000000000000000000000000000000000000..61d9938747ccc7cfa933c07c70aa88fa49dbf4b9 --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/datastore.v1beta3.json @@ -0,0 +1,2613 @@ +{ +"auth": { +"oauth2": { +"scopes": { +"https://www.googleapis.com/auth/cloud-platform": { +"description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." +}, +"https://www.googleapis.com/auth/datastore": { +"description": "View and manage your Google Cloud Datastore data" +} +} +} +}, +"basePath": "", +"baseUrl": "https://datastore.googleapis.com/", +"batchPath": "batch", +"description": "Accesses the schemaless NoSQL database to provide fully managed, robust, scalable storage for your application. ", +"discoveryVersion": "v1", +"documentationLink": "https://cloud.google.com/datastore/", +"endpoints": [ +{ +"description": "Regional Endpoint", +"endpointUrl": "https://datastore.africa-south1.rep.googleapis.com/", +"location": "africa-south1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://datastore.asia-east1.rep.googleapis.com/", +"location": "asia-east1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://datastore.asia-east2.rep.googleapis.com/", +"location": "asia-east2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://datastore.asia-northeast1.rep.googleapis.com/", +"location": "asia-northeast1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://datastore.asia-northeast2.rep.googleapis.com/", +"location": "asia-northeast2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://datastore.asia-northeast3.rep.googleapis.com/", +"location": "asia-northeast3" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://datastore.asia-south1.rep.googleapis.com/", +"location": "asia-south1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://datastore.asia-south2.rep.googleapis.com/", +"location": "asia-south2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://datastore.asia-southeast1.rep.googleapis.com/", +"location": "asia-southeast1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://datastore.asia-southeast2.rep.googleapis.com/", +"location": "asia-southeast2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://datastore.asia-southeast3.rep.googleapis.com/", +"location": "asia-southeast3" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://datastore.australia-southeast1.rep.googleapis.com/", +"location": "australia-southeast1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://datastore.australia-southeast2.rep.googleapis.com/", +"location": "australia-southeast2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://datastore.europe-central2.rep.googleapis.com/", +"location": "europe-central2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://datastore.europe-north1.rep.googleapis.com/", +"location": "europe-north1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://datastore.europe-north2.rep.googleapis.com/", +"location": "europe-north2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://datastore.europe-southwest1.rep.googleapis.com/", +"location": "europe-southwest1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://datastore.europe-west1.rep.googleapis.com/", +"location": "europe-west1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://datastore.europe-west10.rep.googleapis.com/", +"location": "europe-west10" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://datastore.europe-west12.rep.googleapis.com/", +"location": "europe-west12" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://datastore.europe-west15.rep.googleapis.com/", +"location": "europe-west15" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://datastore.europe-west2.rep.googleapis.com/", +"location": "europe-west2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://datastore.europe-west3.rep.googleapis.com/", +"location": "europe-west3" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://datastore.europe-west4.rep.googleapis.com/", +"location": "europe-west4" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://datastore.europe-west6.rep.googleapis.com/", +"location": "europe-west6" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://datastore.europe-west8.rep.googleapis.com/", +"location": "europe-west8" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://datastore.europe-west9.rep.googleapis.com/", +"location": "europe-west9" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://datastore.me-central1.rep.googleapis.com/", +"location": "me-central1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://datastore.me-central2.rep.googleapis.com/", +"location": "me-central2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://datastore.me-west1.rep.googleapis.com/", +"location": "me-west1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://datastore.northamerica-northeast1.rep.googleapis.com/", +"location": "northamerica-northeast1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://datastore.northamerica-northeast2.rep.googleapis.com/", +"location": "northamerica-northeast2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://datastore.northamerica-south1.rep.googleapis.com/", +"location": "northamerica-south1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://datastore.southamerica-east1.rep.googleapis.com/", +"location": "southamerica-east1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://datastore.southamerica-west1.rep.googleapis.com/", +"location": "southamerica-west1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://datastore.us-central1.rep.googleapis.com/", +"location": "us-central1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://datastore.us-east1.rep.googleapis.com/", +"location": "us-east1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://datastore.us-east4.rep.googleapis.com/", +"location": "us-east4" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://datastore.us-east5.rep.googleapis.com/", +"location": "us-east5" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://datastore.us-south1.rep.googleapis.com/", +"location": "us-south1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://datastore.us-west1.rep.googleapis.com/", +"location": "us-west1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://datastore.us-west2.rep.googleapis.com/", +"location": "us-west2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://datastore.us-west3.rep.googleapis.com/", +"location": "us-west3" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://datastore.us-west4.rep.googleapis.com/", +"location": "us-west4" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://batch-datastore.africa-south1.rep.googleapis.com/", +"location": "africa-south1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://batch-datastore.asia-east1.rep.googleapis.com/", +"location": "asia-east1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://batch-datastore.asia-east2.rep.googleapis.com/", +"location": "asia-east2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://batch-datastore.asia-northeast1.rep.googleapis.com/", +"location": "asia-northeast1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://batch-datastore.asia-northeast2.rep.googleapis.com/", +"location": "asia-northeast2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://batch-datastore.asia-northeast3.rep.googleapis.com/", +"location": "asia-northeast3" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://batch-datastore.asia-south1.rep.googleapis.com/", +"location": "asia-south1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://batch-datastore.asia-south2.rep.googleapis.com/", +"location": "asia-south2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://batch-datastore.asia-southeast1.rep.googleapis.com/", +"location": "asia-southeast1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://batch-datastore.asia-southeast2.rep.googleapis.com/", +"location": "asia-southeast2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://batch-datastore.asia-southeast3.rep.googleapis.com/", +"location": "asia-southeast3" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://batch-datastore.australia-southeast1.rep.googleapis.com/", +"location": "australia-southeast1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://batch-datastore.australia-southeast2.rep.googleapis.com/", +"location": "australia-southeast2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://batch-datastore.europe-central2.rep.googleapis.com/", +"location": "europe-central2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://batch-datastore.europe-north1.rep.googleapis.com/", +"location": "europe-north1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://batch-datastore.europe-north2.rep.googleapis.com/", +"location": "europe-north2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://batch-datastore.europe-southwest1.rep.googleapis.com/", +"location": "europe-southwest1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://batch-datastore.europe-west1.rep.googleapis.com/", +"location": "europe-west1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://batch-datastore.europe-west10.rep.googleapis.com/", +"location": "europe-west10" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://batch-datastore.europe-west12.rep.googleapis.com/", +"location": "europe-west12" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://batch-datastore.europe-west15.rep.googleapis.com/", +"location": "europe-west15" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://batch-datastore.europe-west2.rep.googleapis.com/", +"location": "europe-west2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://batch-datastore.europe-west3.rep.googleapis.com/", +"location": "europe-west3" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://batch-datastore.europe-west4.rep.googleapis.com/", +"location": "europe-west4" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://batch-datastore.europe-west6.rep.googleapis.com/", +"location": "europe-west6" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://batch-datastore.europe-west8.rep.googleapis.com/", +"location": "europe-west8" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://batch-datastore.europe-west9.rep.googleapis.com/", +"location": "europe-west9" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://batch-datastore.me-central1.rep.googleapis.com/", +"location": "me-central1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://batch-datastore.me-central2.rep.googleapis.com/", +"location": "me-central2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://batch-datastore.me-west1.rep.googleapis.com/", +"location": "me-west1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://batch-datastore.northamerica-northeast1.rep.googleapis.com/", +"location": "northamerica-northeast1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://batch-datastore.northamerica-northeast2.rep.googleapis.com/", +"location": "northamerica-northeast2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://batch-datastore.northamerica-south1.rep.googleapis.com/", +"location": "northamerica-south1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://batch-datastore.southamerica-east1.rep.googleapis.com/", +"location": "southamerica-east1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://batch-datastore.southamerica-west1.rep.googleapis.com/", +"location": "southamerica-west1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://batch-datastore.us-central1.rep.googleapis.com/", +"location": "us-central1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://batch-datastore.us-east1.rep.googleapis.com/", +"location": "us-east1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://batch-datastore.us-east4.rep.googleapis.com/", +"location": "us-east4" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://batch-datastore.us-east5.rep.googleapis.com/", +"location": "us-east5" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://batch-datastore.us-south1.rep.googleapis.com/", +"location": "us-south1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://batch-datastore.us-west1.rep.googleapis.com/", +"location": "us-west1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://batch-datastore.us-west2.rep.googleapis.com/", +"location": "us-west2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://batch-datastore.us-west3.rep.googleapis.com/", +"location": "us-west3" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://batch-datastore.us-west4.rep.googleapis.com/", +"location": "us-west4" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://datastore.eu.rep.googleapis.com/", +"location": "eu" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://datastore.us.rep.googleapis.com/", +"location": "us" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://batch-datastore.eu.rep.googleapis.com/", +"location": "eu" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://batch-datastore.us.rep.googleapis.com/", +"location": "us" +} +], +"fullyEncodeReservedExpansion": true, +"icons": { +"x16": "http://www.google.com/images/icons/product/search-16.gif", +"x32": "http://www.google.com/images/icons/product/search-32.gif" +}, +"id": "datastore:v1beta3", +"kind": "discovery#restDescription", +"mtlsRootUrl": "https://datastore.mtls.googleapis.com/", +"name": "datastore", +"ownerDomain": "google.com", +"ownerName": "Google", +"parameters": { +"$.xgafv": { +"description": "V1 error format.", +"enum": [ +"1", +"2" +], +"enumDescriptions": [ +"v1 error format", +"v2 error format" +], +"location": "query", +"type": "string" +}, +"access_token": { +"description": "OAuth access token.", +"location": "query", +"type": "string" +}, +"alt": { +"default": "json", +"description": "Data format for response.", +"enum": [ +"json", +"media", +"proto" +], +"enumDescriptions": [ +"Responses with Content-Type of application/json", +"Media download with context-dependent Content-Type", +"Responses with Content-Type of application/x-protobuf" +], +"location": "query", +"type": "string" +}, +"callback": { +"description": "JSONP", +"location": "query", +"type": "string" +}, +"fields": { +"description": "Selector specifying which fields to include in a partial response.", +"location": "query", +"type": "string" +}, +"key": { +"description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", +"location": "query", +"type": "string" +}, +"oauth_token": { +"description": "OAuth 2.0 token for the current user.", +"location": "query", +"type": "string" +}, +"prettyPrint": { +"default": "true", +"description": "Returns response with indentations and line breaks.", +"location": "query", +"type": "boolean" +}, +"quotaUser": { +"description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.", +"location": "query", +"type": "string" +}, +"uploadType": { +"description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", +"location": "query", +"type": "string" +}, +"upload_protocol": { +"description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", +"location": "query", +"type": "string" +} +}, +"protocol": "rest", +"resources": { +"projects": { +"methods": { +"allocateIds": { +"description": "Allocates IDs for the given keys, which is useful for referencing an entity before it is inserted.", +"flatPath": "v1beta3/projects/{projectId}:allocateIds", +"httpMethod": "POST", +"id": "datastore.projects.allocateIds", +"parameterOrder": [ +"projectId" +], +"parameters": { +"projectId": { +"description": "Required. The ID of the project against which to make the request.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v1beta3/projects/{projectId}:allocateIds", +"request": { +"$ref": "AllocateIdsRequest" +}, +"response": { +"$ref": "AllocateIdsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/datastore" +] +}, +"beginTransaction": { +"description": "Begins a new transaction.", +"flatPath": "v1beta3/projects/{projectId}:beginTransaction", +"httpMethod": "POST", +"id": "datastore.projects.beginTransaction", +"parameterOrder": [ +"projectId" +], +"parameters": { +"projectId": { +"description": "Required. The ID of the project against which to make the request.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v1beta3/projects/{projectId}:beginTransaction", +"request": { +"$ref": "BeginTransactionRequest" +}, +"response": { +"$ref": "BeginTransactionResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/datastore" +] +}, +"commit": { +"description": "Commits a transaction, optionally creating, deleting or modifying some entities.", +"flatPath": "v1beta3/projects/{projectId}:commit", +"httpMethod": "POST", +"id": "datastore.projects.commit", +"parameterOrder": [ +"projectId" +], +"parameters": { +"projectId": { +"description": "Required. The ID of the project against which to make the request.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v1beta3/projects/{projectId}:commit", +"request": { +"$ref": "CommitRequest" +}, +"response": { +"$ref": "CommitResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/datastore" +] +}, +"lookup": { +"description": "Looks up entities by key.", +"flatPath": "v1beta3/projects/{projectId}:lookup", +"httpMethod": "POST", +"id": "datastore.projects.lookup", +"parameterOrder": [ +"projectId" +], +"parameters": { +"projectId": { +"description": "Required. The ID of the project against which to make the request.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v1beta3/projects/{projectId}:lookup", +"request": { +"$ref": "LookupRequest" +}, +"response": { +"$ref": "LookupResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/datastore" +] +}, +"reserveIds": { +"description": "Prevents the supplied keys' IDs from being auto-allocated by Cloud Datastore.", +"flatPath": "v1beta3/projects/{projectId}:reserveIds", +"httpMethod": "POST", +"id": "datastore.projects.reserveIds", +"parameterOrder": [ +"projectId" +], +"parameters": { +"projectId": { +"description": "Required. The ID of the project against which to make the request.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v1beta3/projects/{projectId}:reserveIds", +"request": { +"$ref": "ReserveIdsRequest" +}, +"response": { +"$ref": "ReserveIdsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/datastore" +] +}, +"rollback": { +"description": "Rolls back a transaction.", +"flatPath": "v1beta3/projects/{projectId}:rollback", +"httpMethod": "POST", +"id": "datastore.projects.rollback", +"parameterOrder": [ +"projectId" +], +"parameters": { +"projectId": { +"description": "Required. The ID of the project against which to make the request.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v1beta3/projects/{projectId}:rollback", +"request": { +"$ref": "RollbackRequest" +}, +"response": { +"$ref": "RollbackResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/datastore" +] +}, +"runAggregationQuery": { +"description": "Runs an aggregation query.", +"flatPath": "v1beta3/projects/{projectId}:runAggregationQuery", +"httpMethod": "POST", +"id": "datastore.projects.runAggregationQuery", +"parameterOrder": [ +"projectId" +], +"parameters": { +"projectId": { +"description": "Required. The ID of the project against which to make the request.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v1beta3/projects/{projectId}:runAggregationQuery", +"request": { +"$ref": "RunAggregationQueryRequest" +}, +"response": { +"$ref": "RunAggregationQueryResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/datastore" +] +}, +"runQuery": { +"description": "Queries for entities.", +"flatPath": "v1beta3/projects/{projectId}:runQuery", +"httpMethod": "POST", +"id": "datastore.projects.runQuery", +"parameterOrder": [ +"projectId" +], +"parameters": { +"projectId": { +"description": "Required. The ID of the project against which to make the request.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v1beta3/projects/{projectId}:runQuery", +"request": { +"$ref": "RunQueryRequest" +}, +"response": { +"$ref": "RunQueryResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/datastore" +] +} +} +} +}, +"revision": "20260130", +"rootUrl": "https://datastore.googleapis.com/", +"schemas": { +"Aggregation": { +"description": "Defines an aggregation that produces a single result.", +"id": "Aggregation", +"properties": { +"alias": { +"description": "Optional. Optional name of the property to store the result of the aggregation. If not provided, Datastore will pick a default name following the format `property_`. For example: ``` AGGREGATE COUNT_UP_TO(1) AS count_up_to_1, COUNT_UP_TO(2), COUNT_UP_TO(3) AS count_up_to_3, COUNT(*) OVER ( ... ); ``` becomes: ``` AGGREGATE COUNT_UP_TO(1) AS count_up_to_1, COUNT_UP_TO(2) AS property_1, COUNT_UP_TO(3) AS count_up_to_3, COUNT(*) AS property_2 OVER ( ... ); ``` Requires: * Must be unique across all aggregation aliases. * Conform to entity property name limitations.", +"type": "string" +}, +"avg": { +"$ref": "Avg", +"description": "Average aggregator." +}, +"count": { +"$ref": "Count", +"description": "Count aggregator." +}, +"sum": { +"$ref": "Sum", +"description": "Sum aggregator." +} +}, +"type": "object" +}, +"AggregationQuery": { +"description": "Datastore query for running an aggregation over a Query.", +"id": "AggregationQuery", +"properties": { +"aggregations": { +"description": "Optional. Series of aggregations to apply over the results of the `nested_query`. Requires: * A minimum of one and maximum of five aggregations per query.", +"items": { +"$ref": "Aggregation" +}, +"type": "array" +}, +"nestedQuery": { +"$ref": "Query", +"description": "Nested query for aggregation" +} +}, +"type": "object" +}, +"AggregationResult": { +"description": "The result of a single bucket from a Datastore aggregation query. The keys of `aggregate_properties` are the same for all results in an aggregation query, unlike entity queries which can have different fields present for each result.", +"id": "AggregationResult", +"properties": { +"aggregateProperties": { +"additionalProperties": { +"$ref": "Value" +}, +"description": "The result of the aggregation functions, ex: `COUNT(*) AS total_entities`. The key is the alias assigned to the aggregation function on input and the size of this map equals the number of aggregation functions in the query.", +"type": "object" +} +}, +"type": "object" +}, +"AggregationResultBatch": { +"description": "A batch of aggregation results produced by an aggregation query.", +"id": "AggregationResultBatch", +"properties": { +"aggregationResults": { +"description": "The aggregation results for this batch.", +"items": { +"$ref": "AggregationResult" +}, +"type": "array" +}, +"moreResults": { +"description": "The state of the query after the current batch. Only COUNT(*) aggregations are supported in the initial launch. Therefore, expected result type is limited to `NO_MORE_RESULTS`.", +"enum": [ +"MORE_RESULTS_TYPE_UNSPECIFIED", +"NOT_FINISHED", +"MORE_RESULTS_AFTER_LIMIT", +"MORE_RESULTS_AFTER_CURSOR", +"NO_MORE_RESULTS" +], +"enumDescriptions": [ +"Unspecified. This value is never used.", +"There may be additional batches to fetch from this query.", +"The query is finished, but there may be more results after the limit.", +"The query is finished, but there may be more results after the end cursor.", +"The query is finished, and there are no more results." +], +"type": "string" +}, +"readTime": { +"description": "Read timestamp this batch was returned from. In a single transaction, subsequent query result batches for the same query can have a greater timestamp. Each batch's read timestamp is valid for all preceding batches.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"AllocateIdsRequest": { +"description": "The request for Datastore.AllocateIds.", +"id": "AllocateIdsRequest", +"properties": { +"keys": { +"description": "Required. A list of keys with incomplete key paths for which to allocate IDs. No key may be reserved/read-only.", +"items": { +"$ref": "Key" +}, +"type": "array" +} +}, +"type": "object" +}, +"AllocateIdsResponse": { +"description": "The response for Datastore.AllocateIds.", +"id": "AllocateIdsResponse", +"properties": { +"keys": { +"description": "The keys specified in the request (in the same order), each with its key path completed with a newly allocated ID.", +"items": { +"$ref": "Key" +}, +"type": "array" +} +}, +"type": "object" +}, +"ArrayValue": { +"description": "An array value.", +"id": "ArrayValue", +"properties": { +"values": { +"description": "Values in the array. The order of values in an array is preserved as long as all values have identical settings for 'exclude_from_indexes'.", +"items": { +"$ref": "Value" +}, +"type": "array" +} +}, +"type": "object" +}, +"Avg": { +"description": "Average of the values of the requested property. * Only numeric values will be aggregated. All non-numeric values including `NULL` are skipped. * If the aggregated values contain `NaN`, returns `NaN`. Infinity math follows IEEE-754 standards. * If the aggregated value set is empty, returns `NULL`. * Always returns the result as a double.", +"id": "Avg", +"properties": { +"property": { +"$ref": "PropertyReference", +"description": "The property to aggregate on." +} +}, +"type": "object" +}, +"BeginTransactionRequest": { +"description": "The request for Datastore.BeginTransaction.", +"id": "BeginTransactionRequest", +"properties": { +"transactionOptions": { +"$ref": "TransactionOptions", +"description": "Options for a new transaction." +} +}, +"type": "object" +}, +"BeginTransactionResponse": { +"description": "The response for Datastore.BeginTransaction.", +"id": "BeginTransactionResponse", +"properties": { +"transaction": { +"description": "The transaction identifier (always present).", +"format": "byte", +"type": "string" +} +}, +"type": "object" +}, +"CommitRequest": { +"description": "The request for Datastore.Commit.", +"id": "CommitRequest", +"properties": { +"mode": { +"description": "The type of commit to perform. Defaults to `TRANSACTIONAL`.", +"enum": [ +"MODE_UNSPECIFIED", +"TRANSACTIONAL", +"NON_TRANSACTIONAL" +], +"enumDescriptions": [ +"Unspecified. This value must not be used.", +"Transactional: The mutations are either all applied, or none are applied. Learn about transactions [here](https://cloud.google.com/datastore/docs/concepts/transactions).", +"Non-transactional: The mutations may not apply as all or none." +], +"type": "string" +}, +"mutations": { +"description": "The mutations to perform. When mode is `TRANSACTIONAL`, mutations affecting a single entity are applied in order. The following sequences of mutations affecting a single entity are not permitted in a single `Commit` request: - `insert` followed by `insert` - `update` followed by `insert` - `upsert` followed by `insert` - `delete` followed by `update` When mode is `NON_TRANSACTIONAL`, no two mutations may affect a single entity.", +"items": { +"$ref": "Mutation" +}, +"type": "array" +}, +"transaction": { +"description": "The identifier of the transaction associated with the commit. A transaction identifier is returned by a call to Datastore.BeginTransaction.", +"format": "byte", +"type": "string" +} +}, +"type": "object" +}, +"CommitResponse": { +"description": "The response for Datastore.Commit.", +"id": "CommitResponse", +"properties": { +"commitTime": { +"description": "The transaction commit timestamp. Not set for non-transactional commits.", +"format": "google-datetime", +"type": "string" +}, +"indexUpdates": { +"description": "The number of index entries updated during the commit, or zero if none were updated.", +"format": "int32", +"type": "integer" +}, +"mutationResults": { +"description": "The result of performing the mutations. The i-th mutation result corresponds to the i-th mutation in the request.", +"items": { +"$ref": "MutationResult" +}, +"type": "array" +} +}, +"type": "object" +}, +"CompositeFilter": { +"description": "A filter that merges multiple other filters using the given operator.", +"id": "CompositeFilter", +"properties": { +"filters": { +"description": "The list of filters to combine. Requires: * At least one filter is present.", +"items": { +"$ref": "Filter" +}, +"type": "array" +}, +"op": { +"description": "The operator for combining multiple filters.", +"enum": [ +"OPERATOR_UNSPECIFIED", +"AND", +"OR" +], +"enumDescriptions": [ +"Unspecified. This value must not be used.", +"The results are required to satisfy each of the combined filters.", +"Documents are required to satisfy at least one of the combined filters." +], +"type": "string" +} +}, +"type": "object" +}, +"Count": { +"description": "Count of entities that match the query. The `COUNT(*)` aggregation function operates on the entire entity so it does not require a field reference.", +"id": "Count", +"properties": { +"upTo": { +"description": "Optional. Optional constraint on the maximum number of entities to count. This provides a way to set an upper bound on the number of entities to scan, limiting latency, and cost. Unspecified is interpreted as no bound. If a zero value is provided, a count result of zero should always be expected. High-Level Example: ``` AGGREGATE COUNT_UP_TO(1000) OVER ( SELECT * FROM k ); ``` Requires: * Must be non-negative when present.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"Entity": { +"description": "A Datastore data object. Must not exceed 1 MiB - 4 bytes.", +"id": "Entity", +"properties": { +"key": { +"$ref": "Key", +"description": "The entity's key. An entity must have a key, unless otherwise documented (for example, an entity in `Value.entity_value` may have no key). An entity's kind is its key path's last element's kind, or null if it has no key." +}, +"properties": { +"additionalProperties": { +"$ref": "Value" +}, +"description": "The entity's properties. The map's keys are property names. A property name matching regex `__.*__` is reserved. A reserved property name is forbidden in certain documented contexts. The map keys, represented as UTF-8, must not exceed 1,500 bytes and cannot be empty.", +"type": "object" +} +}, +"type": "object" +}, +"EntityResult": { +"description": "The result of fetching an entity from Datastore.", +"id": "EntityResult", +"properties": { +"createTime": { +"description": "The time at which the entity was created. This field is set for `FULL` entity results. If this entity is missing, this field will not be set.", +"format": "google-datetime", +"type": "string" +}, +"cursor": { +"description": "A cursor that points to the position after the result entity. Set only when the `EntityResult` is part of a `QueryResultBatch` message.", +"format": "byte", +"type": "string" +}, +"entity": { +"$ref": "Entity", +"description": "The resulting entity." +}, +"updateTime": { +"description": "The time at which the entity was last changed. This field is set for `FULL` entity results. If this entity is missing, this field will not be set.", +"format": "google-datetime", +"type": "string" +}, +"version": { +"description": "The version of the entity, a strictly positive number that monotonically increases with changes to the entity. This field is set for `FULL` entity results. For missing entities in `LookupResponse`, this is the version of the snapshot that was used to look up the entity, and it is always set except for eventually consistent reads.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"ExecutionStats": { +"description": "Execution statistics for the query.", +"id": "ExecutionStats", +"properties": { +"debugStats": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"description": "Debugging statistics from the execution of the query. Note that the debugging stats are subject to change as Firestore evolves. It could include: { \"indexes_entries_scanned\": \"1000\", \"documents_scanned\": \"20\", \"billing_details\" : { \"documents_billable\": \"20\", \"index_entries_billable\": \"1000\", \"min_query_cost\": \"0\" } }", +"type": "object" +}, +"executionDuration": { +"description": "Total time to execute the query in the backend.", +"format": "google-duration", +"type": "string" +}, +"readOperations": { +"description": "Total billable read operations.", +"format": "int64", +"type": "string" +}, +"resultsReturned": { +"description": "Total number of results returned, including documents, projections, aggregation results, keys.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"ExplainMetrics": { +"description": "Explain metrics for the query.", +"id": "ExplainMetrics", +"properties": { +"executionStats": { +"$ref": "ExecutionStats", +"description": "Aggregated stats from the execution of the query. Only present when ExplainOptions.analyze is set to true." +}, +"planSummary": { +"$ref": "PlanSummary", +"description": "Planning phase information for the query." +} +}, +"type": "object" +}, +"ExplainOptions": { +"description": "Explain options for the query.", +"id": "ExplainOptions", +"properties": { +"analyze": { +"description": "Optional. Whether to execute this query. When false (the default), the query will be planned, returning only metrics from the planning stages. When true, the query will be planned and executed, returning the full query results along with both planning and execution stage metrics.", +"type": "boolean" +} +}, +"type": "object" +}, +"Filter": { +"description": "A holder for any type of filter.", +"id": "Filter", +"properties": { +"compositeFilter": { +"$ref": "CompositeFilter", +"description": "A composite filter." +}, +"propertyFilter": { +"$ref": "PropertyFilter", +"description": "A filter on a property." +} +}, +"type": "object" +}, +"FindNearest": { +"description": "Nearest Neighbors search config. The ordering provided by FindNearest supersedes the order_by stage. If multiple documents have the same vector distance, the returned document order is not guaranteed to be stable between queries.", +"id": "FindNearest", +"properties": { +"distanceMeasure": { +"description": "Required. The Distance Measure to use, required.", +"enum": [ +"DISTANCE_MEASURE_UNSPECIFIED", +"EUCLIDEAN", +"COSINE", +"DOT_PRODUCT" +], +"enumDescriptions": [ +"Should not be set.", +"Measures the EUCLIDEAN distance between the vectors. See [Euclidean](https://en.wikipedia.org/wiki/Euclidean_distance) to learn more. The resulting distance decreases the more similar two vectors are.", +"COSINE distance compares vectors based on the angle between them, which allows you to measure similarity that isn't based on the vectors magnitude. We recommend using DOT_PRODUCT with unit normalized vectors instead of COSINE distance, which is mathematically equivalent with better performance. See [Cosine Similarity](https://en.wikipedia.org/wiki/Cosine_similarity) to learn more about COSINE similarity and COSINE distance. The resulting COSINE distance decreases the more similar two vectors are.", +"Similar to cosine but is affected by the magnitude of the vectors. See [Dot Product](https://en.wikipedia.org/wiki/Dot_product) to learn more. The resulting distance increases the more similar two vectors are." +], +"type": "string" +}, +"distanceResultProperty": { +"description": "Optional. Optional name of the field to output the result of the vector distance calculation. Must conform to entity property limitations.", +"type": "string" +}, +"distanceThreshold": { +"description": "Optional. Option to specify a threshold for which no less similar documents will be returned. The behavior of the specified `distance_measure` will affect the meaning of the distance threshold. Since DOT_PRODUCT distances increase when the vectors are more similar, the comparison is inverted. * For EUCLIDEAN, COSINE: WHERE distance <= distance_threshold * For DOT_PRODUCT: WHERE distance >= distance_threshold", +"format": "double", +"type": "number" +}, +"limit": { +"description": "Required. The number of nearest neighbors to return. Must be a positive integer of no more than 100.", +"format": "int32", +"type": "integer" +}, +"queryVector": { +"$ref": "Value", +"description": "Required. The query vector that we are searching on. Must be a vector of no more than 2048 dimensions." +}, +"vectorProperty": { +"$ref": "PropertyReference", +"description": "Required. An indexed vector property to search upon. Only documents which contain vectors whose dimensionality match the query_vector can be returned." +} +}, +"type": "object" +}, +"GoogleDatastoreAdminV1CommonMetadata": { +"description": "Metadata common to all Datastore Admin operations.", +"id": "GoogleDatastoreAdminV1CommonMetadata", +"properties": { +"endTime": { +"description": "The time the operation ended, either successfully or otherwise.", +"format": "google-datetime", +"type": "string" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "The client-assigned labels which were provided when the operation was created. May also include additional labels.", +"type": "object" +}, +"operationType": { +"description": "The type of the operation. Can be used as a filter in ListOperationsRequest.", +"enum": [ +"OPERATION_TYPE_UNSPECIFIED", +"EXPORT_ENTITIES", +"IMPORT_ENTITIES", +"CREATE_INDEX", +"DELETE_INDEX" +], +"enumDescriptions": [ +"Unspecified.", +"ExportEntities.", +"ImportEntities.", +"CreateIndex.", +"DeleteIndex." +], +"type": "string" +}, +"startTime": { +"description": "The time that work began on the operation.", +"format": "google-datetime", +"type": "string" +}, +"state": { +"description": "The current state of the Operation.", +"enum": [ +"STATE_UNSPECIFIED", +"INITIALIZING", +"PROCESSING", +"CANCELLING", +"FINALIZING", +"SUCCESSFUL", +"FAILED", +"CANCELLED" +], +"enumDescriptions": [ +"Unspecified.", +"Request is being prepared for processing.", +"Request is actively being processed.", +"Request is in the process of being cancelled after user called google.longrunning.Operations.CancelOperation on the operation.", +"Request has been processed and is in its finalization stage.", +"Request has completed successfully.", +"Request has finished being processed, but encountered an error.", +"Request has finished being cancelled after user called google.longrunning.Operations.CancelOperation." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleDatastoreAdminV1DatastoreFirestoreMigrationMetadata": { +"description": "Metadata for Datastore to Firestore migration operations. The DatastoreFirestoreMigration operation is not started by the end-user via an explicit \"creation\" method. This is an intentional deviation from the LRO design pattern. This singleton resource can be accessed at: \"projects/{project_id}/operations/datastore-firestore-migration\"", +"id": "GoogleDatastoreAdminV1DatastoreFirestoreMigrationMetadata", +"properties": { +"migrationState": { +"description": "The current state of migration from Cloud Datastore to Cloud Firestore in Datastore mode.", +"enum": [ +"MIGRATION_STATE_UNSPECIFIED", +"RUNNING", +"PAUSED", +"COMPLETE" +], +"enumDescriptions": [ +"Unspecified.", +"The migration is running.", +"The migration is paused.", +"The migration is complete." +], +"type": "string" +}, +"migrationStep": { +"description": "The current step of migration from Cloud Datastore to Cloud Firestore in Datastore mode.", +"enum": [ +"MIGRATION_STEP_UNSPECIFIED", +"PREPARE", +"START", +"APPLY_WRITES_SYNCHRONOUSLY", +"COPY_AND_VERIFY", +"REDIRECT_EVENTUALLY_CONSISTENT_READS", +"REDIRECT_STRONGLY_CONSISTENT_READS", +"REDIRECT_WRITES" +], +"enumDescriptions": [ +"Unspecified.", +"Pre-migration: the database is prepared for migration.", +"Start of migration.", +"Writes are applied synchronously to at least one replica.", +"Data is copied to Cloud Firestore and then verified to match the data in Cloud Datastore.", +"Eventually-consistent reads are redirected to Cloud Firestore.", +"Strongly-consistent reads are redirected to Cloud Firestore.", +"Writes are redirected to Cloud Firestore." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleDatastoreAdminV1EntityFilter": { +"description": "Identifies a subset of entities in a project. This is specified as combinations of kinds and namespaces (either or both of which may be all, as described in the following examples). Example usage: Entire project: kinds=[], namespace_ids=[] Kinds Foo and Bar in all namespaces: kinds=['Foo', 'Bar'], namespace_ids=[] Kinds Foo and Bar only in the default namespace: kinds=['Foo', 'Bar'], namespace_ids=[''] Kinds Foo and Bar in both the default and Baz namespaces: kinds=['Foo', 'Bar'], namespace_ids=['', 'Baz'] The entire Baz namespace: kinds=[], namespace_ids=['Baz']", +"id": "GoogleDatastoreAdminV1EntityFilter", +"properties": { +"kinds": { +"description": "If empty, then this represents all kinds.", +"items": { +"type": "string" +}, +"type": "array" +}, +"namespaceIds": { +"description": "An empty list represents all namespaces. This is the preferred usage for projects that don't use namespaces. An empty string element represents the default namespace. This should be used if the project has data in non-default namespaces, but doesn't want to include them. Each namespace in this list must be unique.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleDatastoreAdminV1ExportEntitiesMetadata": { +"description": "Metadata for ExportEntities operations.", +"id": "GoogleDatastoreAdminV1ExportEntitiesMetadata", +"properties": { +"common": { +"$ref": "GoogleDatastoreAdminV1CommonMetadata", +"description": "Metadata common to all Datastore Admin operations." +}, +"entityFilter": { +"$ref": "GoogleDatastoreAdminV1EntityFilter", +"description": "Description of which entities are being exported." +}, +"outputUrlPrefix": { +"description": "Location for the export metadata and data files. This will be the same value as the google.datastore.admin.v1.ExportEntitiesRequest.output_url_prefix field. The final output location is provided in google.datastore.admin.v1.ExportEntitiesResponse.output_url.", +"type": "string" +}, +"progressBytes": { +"$ref": "GoogleDatastoreAdminV1Progress", +"description": "An estimate of the number of bytes processed." +}, +"progressEntities": { +"$ref": "GoogleDatastoreAdminV1Progress", +"description": "An estimate of the number of entities processed." +} +}, +"type": "object" +}, +"GoogleDatastoreAdminV1ExportEntitiesResponse": { +"description": "The response for google.datastore.admin.v1.DatastoreAdmin.ExportEntities.", +"id": "GoogleDatastoreAdminV1ExportEntitiesResponse", +"properties": { +"outputUrl": { +"description": "Location of the output metadata file. This can be used to begin an import into Cloud Datastore (this project or another project). See google.datastore.admin.v1.ImportEntitiesRequest.input_url. Only present if the operation completed successfully.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleDatastoreAdminV1ImportEntitiesMetadata": { +"description": "Metadata for ImportEntities operations.", +"id": "GoogleDatastoreAdminV1ImportEntitiesMetadata", +"properties": { +"common": { +"$ref": "GoogleDatastoreAdminV1CommonMetadata", +"description": "Metadata common to all Datastore Admin operations." +}, +"entityFilter": { +"$ref": "GoogleDatastoreAdminV1EntityFilter", +"description": "Description of which entities are being imported." +}, +"inputUrl": { +"description": "The location of the import metadata file. This will be the same value as the google.datastore.admin.v1.ExportEntitiesResponse.output_url field.", +"type": "string" +}, +"progressBytes": { +"$ref": "GoogleDatastoreAdminV1Progress", +"description": "An estimate of the number of bytes processed." +}, +"progressEntities": { +"$ref": "GoogleDatastoreAdminV1Progress", +"description": "An estimate of the number of entities processed." +} +}, +"type": "object" +}, +"GoogleDatastoreAdminV1IndexOperationMetadata": { +"description": "Metadata for Index operations.", +"id": "GoogleDatastoreAdminV1IndexOperationMetadata", +"properties": { +"common": { +"$ref": "GoogleDatastoreAdminV1CommonMetadata", +"description": "Metadata common to all Datastore Admin operations." +}, +"indexId": { +"description": "The index resource ID that this operation is acting on.", +"type": "string" +}, +"progressEntities": { +"$ref": "GoogleDatastoreAdminV1Progress", +"description": "An estimate of the number of entities processed." +} +}, +"type": "object" +}, +"GoogleDatastoreAdminV1MigrationProgressEvent": { +"description": "An event signifying the start of a new step in a [migration from Cloud Datastore to Cloud Firestore in Datastore mode](https://cloud.google.com/datastore/docs/upgrade-to-firestore).", +"id": "GoogleDatastoreAdminV1MigrationProgressEvent", +"properties": { +"prepareStepDetails": { +"$ref": "GoogleDatastoreAdminV1PrepareStepDetails", +"description": "Details for the `PREPARE` step." +}, +"redirectWritesStepDetails": { +"$ref": "GoogleDatastoreAdminV1RedirectWritesStepDetails", +"description": "Details for the `REDIRECT_WRITES` step." +}, +"step": { +"description": "The step that is starting. An event with step set to `START` indicates that the migration has been reverted back to the initial pre-migration state.", +"enum": [ +"MIGRATION_STEP_UNSPECIFIED", +"PREPARE", +"START", +"APPLY_WRITES_SYNCHRONOUSLY", +"COPY_AND_VERIFY", +"REDIRECT_EVENTUALLY_CONSISTENT_READS", +"REDIRECT_STRONGLY_CONSISTENT_READS", +"REDIRECT_WRITES" +], +"enumDescriptions": [ +"Unspecified.", +"Pre-migration: the database is prepared for migration.", +"Start of migration.", +"Writes are applied synchronously to at least one replica.", +"Data is copied to Cloud Firestore and then verified to match the data in Cloud Datastore.", +"Eventually-consistent reads are redirected to Cloud Firestore.", +"Strongly-consistent reads are redirected to Cloud Firestore.", +"Writes are redirected to Cloud Firestore." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleDatastoreAdminV1MigrationStateEvent": { +"description": "An event signifying a change in state of a [migration from Cloud Datastore to Cloud Firestore in Datastore mode](https://cloud.google.com/datastore/docs/upgrade-to-firestore).", +"id": "GoogleDatastoreAdminV1MigrationStateEvent", +"properties": { +"state": { +"description": "The new state of the migration.", +"enum": [ +"MIGRATION_STATE_UNSPECIFIED", +"RUNNING", +"PAUSED", +"COMPLETE" +], +"enumDescriptions": [ +"Unspecified.", +"The migration is running.", +"The migration is paused.", +"The migration is complete." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleDatastoreAdminV1PrepareStepDetails": { +"description": "Details for the `PREPARE` step.", +"id": "GoogleDatastoreAdminV1PrepareStepDetails", +"properties": { +"concurrencyMode": { +"description": "The concurrency mode this database will use when it reaches the `REDIRECT_WRITES` step.", +"enum": [ +"CONCURRENCY_MODE_UNSPECIFIED", +"PESSIMISTIC", +"OPTIMISTIC", +"OPTIMISTIC_WITH_ENTITY_GROUPS" +], +"enumDescriptions": [ +"Unspecified.", +"Pessimistic concurrency.", +"Optimistic concurrency.", +"Optimistic concurrency with entity groups." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleDatastoreAdminV1Progress": { +"description": "Measures the progress of a particular metric.", +"id": "GoogleDatastoreAdminV1Progress", +"properties": { +"workCompleted": { +"description": "The amount of work that has been completed. Note that this may be greater than work_estimated.", +"format": "int64", +"type": "string" +}, +"workEstimated": { +"description": "An estimate of how much work needs to be performed. May be zero if the work estimate is unavailable.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"GoogleDatastoreAdminV1RedirectWritesStepDetails": { +"description": "Details for the `REDIRECT_WRITES` step.", +"id": "GoogleDatastoreAdminV1RedirectWritesStepDetails", +"properties": { +"concurrencyMode": { +"description": "The concurrency mode for this database.", +"enum": [ +"CONCURRENCY_MODE_UNSPECIFIED", +"PESSIMISTIC", +"OPTIMISTIC", +"OPTIMISTIC_WITH_ENTITY_GROUPS" +], +"enumDescriptions": [ +"Unspecified.", +"Pessimistic concurrency.", +"Optimistic concurrency.", +"Optimistic concurrency with entity groups." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleDatastoreAdminV1beta1CommonMetadata": { +"description": "Metadata common to all Datastore Admin operations.", +"id": "GoogleDatastoreAdminV1beta1CommonMetadata", +"properties": { +"endTime": { +"description": "The time the operation ended, either successfully or otherwise.", +"format": "google-datetime", +"type": "string" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "The client-assigned labels which were provided when the operation was created. May also include additional labels.", +"type": "object" +}, +"operationType": { +"description": "The type of the operation. Can be used as a filter in ListOperationsRequest.", +"enum": [ +"OPERATION_TYPE_UNSPECIFIED", +"EXPORT_ENTITIES", +"IMPORT_ENTITIES" +], +"enumDescriptions": [ +"Unspecified.", +"ExportEntities.", +"ImportEntities." +], +"type": "string" +}, +"startTime": { +"description": "The time that work began on the operation.", +"format": "google-datetime", +"type": "string" +}, +"state": { +"description": "The current state of the Operation.", +"enum": [ +"STATE_UNSPECIFIED", +"INITIALIZING", +"PROCESSING", +"CANCELLING", +"FINALIZING", +"SUCCESSFUL", +"FAILED", +"CANCELLED" +], +"enumDescriptions": [ +"Unspecified.", +"Request is being prepared for processing.", +"Request is actively being processed.", +"Request is in the process of being cancelled after user called google.longrunning.Operations.CancelOperation on the operation.", +"Request has been processed and is in its finalization stage.", +"Request has completed successfully.", +"Request has finished being processed, but encountered an error.", +"Request has finished being cancelled after user called google.longrunning.Operations.CancelOperation." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleDatastoreAdminV1beta1EntityFilter": { +"description": "Identifies a subset of entities in a project. This is specified as combinations of kinds and namespaces (either or both of which may be all, as described in the following examples). Example usage: Entire project: kinds=[], namespace_ids=[] Kinds Foo and Bar in all namespaces: kinds=['Foo', 'Bar'], namespace_ids=[] Kinds Foo and Bar only in the default namespace: kinds=['Foo', 'Bar'], namespace_ids=[''] Kinds Foo and Bar in both the default and Baz namespaces: kinds=['Foo', 'Bar'], namespace_ids=['', 'Baz'] The entire Baz namespace: kinds=[], namespace_ids=['Baz']", +"id": "GoogleDatastoreAdminV1beta1EntityFilter", +"properties": { +"kinds": { +"description": "If empty, then this represents all kinds.", +"items": { +"type": "string" +}, +"type": "array" +}, +"namespaceIds": { +"description": "An empty list represents all namespaces. This is the preferred usage for projects that don't use namespaces. An empty string element represents the default namespace. This should be used if the project has data in non-default namespaces, but doesn't want to include them. Each namespace in this list must be unique.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleDatastoreAdminV1beta1ExportEntitiesMetadata": { +"description": "Metadata for ExportEntities operations.", +"id": "GoogleDatastoreAdminV1beta1ExportEntitiesMetadata", +"properties": { +"common": { +"$ref": "GoogleDatastoreAdminV1beta1CommonMetadata", +"description": "Metadata common to all Datastore Admin operations." +}, +"entityFilter": { +"$ref": "GoogleDatastoreAdminV1beta1EntityFilter", +"description": "Description of which entities are being exported." +}, +"outputUrlPrefix": { +"description": "Location for the export metadata and data files. This will be the same value as the google.datastore.admin.v1beta1.ExportEntitiesRequest.output_url_prefix field. The final output location is provided in google.datastore.admin.v1beta1.ExportEntitiesResponse.output_url.", +"type": "string" +}, +"progressBytes": { +"$ref": "GoogleDatastoreAdminV1beta1Progress", +"description": "An estimate of the number of bytes processed." +}, +"progressEntities": { +"$ref": "GoogleDatastoreAdminV1beta1Progress", +"description": "An estimate of the number of entities processed." +} +}, +"type": "object" +}, +"GoogleDatastoreAdminV1beta1ExportEntitiesResponse": { +"description": "The response for google.datastore.admin.v1beta1.DatastoreAdmin.ExportEntities.", +"id": "GoogleDatastoreAdminV1beta1ExportEntitiesResponse", +"properties": { +"outputUrl": { +"description": "Location of the output metadata file. This can be used to begin an import into Cloud Datastore (this project or another project). See google.datastore.admin.v1beta1.ImportEntitiesRequest.input_url. Only present if the operation completed successfully.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleDatastoreAdminV1beta1ImportEntitiesMetadata": { +"description": "Metadata for ImportEntities operations.", +"id": "GoogleDatastoreAdminV1beta1ImportEntitiesMetadata", +"properties": { +"common": { +"$ref": "GoogleDatastoreAdminV1beta1CommonMetadata", +"description": "Metadata common to all Datastore Admin operations." +}, +"entityFilter": { +"$ref": "GoogleDatastoreAdminV1beta1EntityFilter", +"description": "Description of which entities are being imported." +}, +"inputUrl": { +"description": "The location of the import metadata file. This will be the same value as the google.datastore.admin.v1beta1.ExportEntitiesResponse.output_url field.", +"type": "string" +}, +"progressBytes": { +"$ref": "GoogleDatastoreAdminV1beta1Progress", +"description": "An estimate of the number of bytes processed." +}, +"progressEntities": { +"$ref": "GoogleDatastoreAdminV1beta1Progress", +"description": "An estimate of the number of entities processed." +} +}, +"type": "object" +}, +"GoogleDatastoreAdminV1beta1Progress": { +"description": "Measures the progress of a particular metric.", +"id": "GoogleDatastoreAdminV1beta1Progress", +"properties": { +"workCompleted": { +"description": "The amount of work that has been completed. Note that this may be greater than work_estimated.", +"format": "int64", +"type": "string" +}, +"workEstimated": { +"description": "An estimate of how much work needs to be performed. May be zero if the work estimate is unavailable.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"GqlQuery": { +"description": "A [GQL query](https://cloud.google.com/datastore/docs/apis/gql/gql_reference).", +"id": "GqlQuery", +"properties": { +"allowLiterals": { +"description": "When false, the query string must not contain any literals and instead must bind all values. For example, `SELECT * FROM Kind WHERE a = 'string literal'` is not allowed, while `SELECT * FROM Kind WHERE a = @value` is.", +"type": "boolean" +}, +"namedBindings": { +"additionalProperties": { +"$ref": "GqlQueryParameter" +}, +"description": "For each non-reserved named binding site in the query string, there must be a named parameter with that name, but not necessarily the inverse. Key must match regex `A-Za-z_$*`, must not match regex `__.*__`, and must not be `\"\"`.", +"type": "object" +}, +"positionalBindings": { +"description": "Numbered binding site @1 references the first numbered parameter, effectively using 1-based indexing, rather than the usual 0. For each binding site numbered i in `query_string`, there must be an i-th numbered parameter. The inverse must also be true.", +"items": { +"$ref": "GqlQueryParameter" +}, +"type": "array" +}, +"queryString": { +"description": "A string of the format described [here](https://cloud.google.com/datastore/docs/apis/gql/gql_reference).", +"type": "string" +} +}, +"type": "object" +}, +"GqlQueryParameter": { +"description": "A binding parameter for a GQL query.", +"id": "GqlQueryParameter", +"properties": { +"cursor": { +"description": "A query cursor. Query cursors are returned in query result batches.", +"format": "byte", +"type": "string" +}, +"value": { +"$ref": "Value", +"description": "A value parameter." +} +}, +"type": "object" +}, +"Key": { +"description": "A unique identifier for an entity. If a key's partition ID or any of its path kinds or names are reserved/read-only, the key is reserved/read-only. A reserved/read-only key is forbidden in certain documented contexts.", +"id": "Key", +"properties": { +"partitionId": { +"$ref": "PartitionId", +"description": "Entities are partitioned into subsets, currently identified by a project ID and namespace ID. Queries are scoped to a single partition." +}, +"path": { +"description": "The entity path. An entity path consists of one or more elements composed of a kind and a string or numerical identifier, which identify entities. The first element identifies a _root entity_, the second element identifies a _child_ of the root entity, the third element identifies a child of the second entity, and so forth. The entities identified by all prefixes of the path are called the element's _ancestors_. An entity path is always fully complete: *all* of the entity's ancestors are required to be in the path along with the entity identifier itself. The only exception is that in some documented cases, the identifier in the last path element (for the entity) itself may be omitted. For example, the last path element of the key of `Mutation.insert` may have no identifier. A path can never be empty, and a path can have at most 100 elements.", +"items": { +"$ref": "PathElement" +}, +"type": "array" +} +}, +"type": "object" +}, +"KindExpression": { +"description": "A representation of a kind.", +"id": "KindExpression", +"properties": { +"name": { +"description": "The name of the kind.", +"type": "string" +} +}, +"type": "object" +}, +"LatLng": { +"description": "An object that represents a latitude/longitude pair. This is expressed as a pair of doubles to represent degrees latitude and degrees longitude. Unless specified otherwise, this object must conform to the WGS84 standard. Values must be within normalized ranges.", +"id": "LatLng", +"properties": { +"latitude": { +"description": "The latitude in degrees. It must be in the range [-90.0, +90.0].", +"format": "double", +"type": "number" +}, +"longitude": { +"description": "The longitude in degrees. It must be in the range [-180.0, +180.0].", +"format": "double", +"type": "number" +} +}, +"type": "object" +}, +"LookupRequest": { +"description": "The request for Datastore.Lookup.", +"id": "LookupRequest", +"properties": { +"keys": { +"description": "Required. Keys of entities to look up.", +"items": { +"$ref": "Key" +}, +"type": "array" +}, +"propertyMask": { +"$ref": "PropertyMask", +"description": "The properties to return. Defaults to returning all properties. If this field is set and an entity has a property not referenced in the mask, it will be absent from LookupResponse.found.entity.properties. The entity's key is always returned." +}, +"readOptions": { +"$ref": "ReadOptions", +"description": "The options for this lookup request." +} +}, +"type": "object" +}, +"LookupResponse": { +"description": "The response for Datastore.Lookup.", +"id": "LookupResponse", +"properties": { +"deferred": { +"description": "A list of keys that were not looked up due to resource constraints. The order of results in this field is undefined and has no relation to the order of the keys in the input.", +"items": { +"$ref": "Key" +}, +"type": "array" +}, +"found": { +"description": "Entities found as `ResultType.FULL` entities. The order of results in this field is undefined and has no relation to the order of the keys in the input.", +"items": { +"$ref": "EntityResult" +}, +"type": "array" +}, +"missing": { +"description": "Entities not found as `ResultType.KEY_ONLY` entities. The order of results in this field is undefined and has no relation to the order of the keys in the input.", +"items": { +"$ref": "EntityResult" +}, +"type": "array" +}, +"readTime": { +"description": "The time at which these entities were read or found missing.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"Mutation": { +"description": "A mutation to apply to an entity.", +"id": "Mutation", +"properties": { +"baseVersion": { +"description": "The version of the entity that this mutation is being applied to. If this does not match the current version on the server, the mutation conflicts.", +"format": "int64", +"type": "string" +}, +"conflictResolutionStrategy": { +"description": "The strategy to use when a conflict is detected. Defaults to `SERVER_VALUE`. If this is set, then `conflict_detection_strategy` must also be set.", +"enum": [ +"STRATEGY_UNSPECIFIED", +"SERVER_VALUE", +"FAIL" +], +"enumDescriptions": [ +"Unspecified. Defaults to `SERVER_VALUE`.", +"The server entity is kept.", +"The whole commit request fails." +], +"type": "string" +}, +"delete": { +"$ref": "Key", +"description": "The key of the entity to delete. The entity may or may not already exist. Must have a complete key path and must not be reserved/read-only." +}, +"insert": { +"$ref": "Entity", +"description": "The entity to insert. The entity must not already exist. The entity key's final path element may be incomplete." +}, +"propertyMask": { +"$ref": "PropertyMask", +"description": "The properties to write in this mutation. None of the properties in the mask may have a reserved name, except for `__key__`. This field is ignored for `delete`. If the entity already exists, only properties referenced in the mask are updated, others are left untouched. Properties referenced in the mask but not in the entity are deleted." +}, +"propertyTransforms": { +"description": "Optional. The transforms to perform on the entity. This field can be set only when the operation is `insert`, `update`, or `upsert`. If present, the transforms are be applied to the entity regardless of the property mask, in order, after the operation.", +"items": { +"$ref": "PropertyTransform" +}, +"type": "array" +}, +"update": { +"$ref": "Entity", +"description": "The entity to update. The entity must already exist. Must have a complete key path." +}, +"updateTime": { +"description": "The update time of the entity that this mutation is being applied to. If this does not match the current update time on the server, the mutation conflicts.", +"format": "google-datetime", +"type": "string" +}, +"upsert": { +"$ref": "Entity", +"description": "The entity to upsert. The entity may or may not already exist. The entity key's final path element may be incomplete." +} +}, +"type": "object" +}, +"MutationResult": { +"description": "The result of applying a mutation.", +"id": "MutationResult", +"properties": { +"conflictDetected": { +"description": "Whether a conflict was detected for this mutation. Always false when a conflict detection strategy field is not set in the mutation.", +"type": "boolean" +}, +"createTime": { +"description": "The create time of the entity. This field will not be set after a 'delete'.", +"format": "google-datetime", +"type": "string" +}, +"key": { +"$ref": "Key", +"description": "The automatically allocated key. Set only when the mutation allocated a key." +}, +"transformResults": { +"description": "The results of applying each PropertyTransform, in the same order of the request.", +"items": { +"$ref": "Value" +}, +"type": "array" +}, +"updateTime": { +"description": "The update time of the entity on the server after processing the mutation. If the mutation doesn't change anything on the server, then the timestamp will be the update timestamp of the current entity. This field will not be set after a 'delete'.", +"format": "google-datetime", +"type": "string" +}, +"version": { +"description": "The version of the entity on the server after processing the mutation. If the mutation doesn't change anything on the server, then the version will be the version of the current entity or, if no entity is present, a version that is strictly greater than the version of any previous entity and less than the version of any possible future entity.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"PartitionId": { +"description": "A partition ID identifies a grouping of entities. The grouping is always by project and namespace, however the namespace ID may be empty. A partition ID contains several dimensions: project ID and namespace ID. Partition dimensions: - May be `\"\"`. - Must be valid UTF-8 bytes. - Must have values that match regex `[A-Za-z\\d\\.\\-_]{1,100}` If the value of any dimension matches regex `__.*__`, the partition is reserved/read-only. A reserved/read-only partition ID is forbidden in certain documented contexts. Foreign partition IDs (in which the project ID does not match the context project ID ) are discouraged. Reads and writes of foreign partition IDs may fail if the project is not in an active state.", +"id": "PartitionId", +"properties": { +"namespaceId": { +"description": "If not empty, the ID of the namespace to which the entities belong.", +"type": "string" +}, +"projectId": { +"description": "The ID of the project to which the entities belong.", +"type": "string" +} +}, +"type": "object" +}, +"PathElement": { +"description": "A (kind, ID/name) pair used to construct a key path. If either name or ID is set, the element is complete. If neither is set, the element is incomplete.", +"id": "PathElement", +"properties": { +"id": { +"description": "The auto-allocated ID of the entity. Never equal to zero. Values less than zero are discouraged and may not be supported in the future.", +"format": "int64", +"type": "string" +}, +"kind": { +"description": "The kind of the entity. A kind matching regex `__.*__` is reserved/read-only. A kind must not contain more than 1500 bytes when UTF-8 encoded. Cannot be `\"\"`. Must be valid UTF-8 bytes. Legacy values that are not valid UTF-8 are encoded as `__bytes__` where `` is the base-64 encoding of the bytes.", +"type": "string" +}, +"name": { +"description": "The name of the entity. A name matching regex `__.*__` is reserved/read-only. A name must not be more than 1500 bytes when UTF-8 encoded. Cannot be `\"\"`. Must be valid UTF-8 bytes. Legacy values that are not valid UTF-8 are encoded as `__bytes__` where `` is the base-64 encoding of the bytes.", +"type": "string" +} +}, +"type": "object" +}, +"PlanSummary": { +"description": "Planning phase information for the query.", +"id": "PlanSummary", +"properties": { +"indexesUsed": { +"description": "The indexes selected for the query. For example: [ {\"query_scope\": \"Collection\", \"properties\": \"(foo ASC, __name__ ASC)\"}, {\"query_scope\": \"Collection\", \"properties\": \"(bar ASC, __name__ ASC)\"} ]", +"items": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"type": "object" +}, +"type": "array" +} +}, +"type": "object" +}, +"Projection": { +"description": "A representation of a property in a projection.", +"id": "Projection", +"properties": { +"property": { +"$ref": "PropertyReference", +"description": "The property to project." +} +}, +"type": "object" +}, +"PropertyFilter": { +"description": "A filter on a specific property.", +"id": "PropertyFilter", +"properties": { +"op": { +"description": "The operator to filter by.", +"enum": [ +"OPERATOR_UNSPECIFIED", +"LESS_THAN", +"LESS_THAN_OR_EQUAL", +"GREATER_THAN", +"GREATER_THAN_OR_EQUAL", +"EQUAL", +"IN", +"NOT_EQUAL", +"HAS_ANCESTOR", +"NOT_IN" +], +"enumDescriptions": [ +"Unspecified. This value must not be used.", +"The given `property` is less than the given `value`. Requires: * That `property` comes first in `order_by`.", +"The given `property` is less than or equal to the given `value`. Requires: * That `property` comes first in `order_by`.", +"The given `property` is greater than the given `value`. Requires: * That `property` comes first in `order_by`.", +"The given `property` is greater than or equal to the given `value`. Requires: * That `property` comes first in `order_by`.", +"The given `property` is equal to the given `value`.", +"The given `property` is equal to at least one value in the given array. Requires: * That `value` is a non-empty `ArrayValue`, subject to disjunction limits. * No `NOT_IN` is in the same query.", +"The given `property` is not equal to the given `value`. Requires: * No other `NOT_EQUAL` or `NOT_IN` is in the same query. * That `property` comes first in the `order_by`.", +"Limit the result set to the given entity and its descendants. Requires: * That `value` is an entity key. * All evaluated disjunctions must have the same `HAS_ANCESTOR` filter.", +"The value of the `property` is not in the given array. Requires: * That `value` is a non-empty `ArrayValue` with at most 10 values. * No other `OR`, `IN`, `NOT_IN`, `NOT_EQUAL` is in the same query. * That `field` comes first in the `order_by`." +], +"type": "string" +}, +"property": { +"$ref": "PropertyReference", +"description": "The property to filter by." +}, +"value": { +"$ref": "Value", +"description": "The value to compare the property to." +} +}, +"type": "object" +}, +"PropertyMask": { +"description": "The set of arbitrarily nested property paths used to restrict an operation to only a subset of properties in an entity.", +"id": "PropertyMask", +"properties": { +"paths": { +"description": "The paths to the properties covered by this mask. A path is a list of property names separated by dots (`.`), for example `foo.bar` means the property `bar` inside the entity property `foo` inside the entity associated with this path. If a property name contains a dot `.` or a backslash `\\`, then that name must be escaped. A path must not be empty, and may not reference a value inside an array value.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"PropertyOrder": { +"description": "The desired order for a specific property.", +"id": "PropertyOrder", +"properties": { +"direction": { +"description": "The direction to order by. Defaults to `ASCENDING`.", +"enum": [ +"DIRECTION_UNSPECIFIED", +"ASCENDING", +"DESCENDING" +], +"enumDescriptions": [ +"Unspecified. This value must not be used.", +"Ascending.", +"Descending." +], +"type": "string" +}, +"property": { +"$ref": "PropertyReference", +"description": "The property to order by." +} +}, +"type": "object" +}, +"PropertyReference": { +"description": "A reference to a property relative to the kind expressions.", +"id": "PropertyReference", +"properties": { +"name": { +"description": "A reference to a property. Requires: * MUST be a dot-delimited (`.`) string of segments, where each segment conforms to entity property name limitations.", +"type": "string" +} +}, +"type": "object" +}, +"PropertyTransform": { +"description": "A transformation of an entity property.", +"id": "PropertyTransform", +"properties": { +"appendMissingElements": { +"$ref": "ArrayValue", +"description": "Appends the given elements in order if they are not already present in the current property value. If the property is not an array, or if the property does not yet exist, it is first set to the empty array. Equivalent numbers of different types (e.g. 3L and 3.0) are considered equal when checking if a value is missing. NaN is equal to NaN, and the null value is equal to the null value. If the input contains multiple equivalent values, only the first will be considered. The corresponding transform result will be the null value." +}, +"increment": { +"$ref": "Value", +"description": "Adds the given value to the property's current value. This must be an integer or a double value. If the property is not an integer or double, or if the property does not yet exist, the transformation will set the property to the given value. If either of the given value or the current property value are doubles, both values will be interpreted as doubles. Double arithmetic and representation of double values follows IEEE 754 semantics. If there is positive/negative integer overflow, the property is resolved to the largest magnitude positive/negative integer." +}, +"maximum": { +"$ref": "Value", +"description": "Sets the property to the maximum of its current value and the given value. This must be an integer or a double value. If the property is not an integer or double, or if the property does not yet exist, the transformation will set the property to the given value. If a maximum operation is applied where the property and the input value are of mixed types (that is - one is an integer and one is a double) the property takes on the type of the larger operand. If the operands are equivalent (e.g. 3 and 3.0), the property does not change. 0, 0.0, and -0.0 are all zero. The maximum of a zero stored value and zero input value is always the stored value. The maximum of any numeric value x and NaN is NaN." +}, +"minimum": { +"$ref": "Value", +"description": "Sets the property to the minimum of its current value and the given value. This must be an integer or a double value. If the property is not an integer or double, or if the property does not yet exist, the transformation will set the property to the input value. If a minimum operation is applied where the property and the input value are of mixed types (that is - one is an integer and one is a double) the property takes on the type of the smaller operand. If the operands are equivalent (e.g. 3 and 3.0), the property does not change. 0, 0.0, and -0.0 are all zero. The minimum of a zero stored value and zero input value is always the stored value. The minimum of any numeric value x and NaN is NaN." +}, +"property": { +"description": "Optional. The name of the property. Property paths (a list of property names separated by dots (`.`)) may be used to refer to properties inside entity values. For example `foo.bar` means the property `bar` inside the entity property `foo`. If a property name contains a dot `.` or a backlslash `\\`, then that name must be escaped.", +"type": "string" +}, +"removeAllFromArray": { +"$ref": "ArrayValue", +"description": "Removes all of the given elements from the array in the property. If the property is not an array, or if the property does not yet exist, it is set to the empty array. Equivalent numbers of different types (e.g. 3L and 3.0) are considered equal when deciding whether an element should be removed. NaN is equal to NaN, and the null value is equal to the null value. This will remove all equivalent values if there are duplicates. The corresponding transform result will be the null value." +}, +"setToServerValue": { +"description": "Sets the property to the given server value.", +"enum": [ +"SERVER_VALUE_UNSPECIFIED", +"REQUEST_TIME" +], +"enumDescriptions": [ +"Unspecified. This value must not be used.", +"The time at which the server processed the request, with millisecond precision. If used on multiple properties (same or different entities) in a transaction, all the properties will get the same server timestamp." +], +"type": "string" +} +}, +"type": "object" +}, +"Query": { +"description": "A query for entities. The query stages are executed in the following order: 1. kind 2. filter 3. projection 4. order + start_cursor + end_cursor 5. offset 6. limit 7. find_nearest", +"id": "Query", +"properties": { +"distinctOn": { +"description": "The properties to make distinct. The query results will contain the first result for each distinct combination of values for the given properties (if empty, all results are returned). Requires: * If `order` is specified, the set of distinct on properties must appear before the non-distinct on properties in `order`.", +"items": { +"$ref": "PropertyReference" +}, +"type": "array" +}, +"endCursor": { +"description": "An ending point for the query results. Query cursors are returned in query result batches and [can only be used to limit the same query](https://cloud.google.com/datastore/docs/concepts/queries#cursors_limits_and_offsets).", +"format": "byte", +"type": "string" +}, +"filter": { +"$ref": "Filter", +"description": "The filter to apply." +}, +"findNearest": { +"$ref": "FindNearest", +"description": "Optional. A potential Nearest Neighbors Search. Applies after all other filters and ordering. Finds the closest vector embeddings to the given query vector." +}, +"kind": { +"description": "The kinds to query (if empty, returns entities of all kinds). Currently at most 1 kind may be specified.", +"items": { +"$ref": "KindExpression" +}, +"type": "array" +}, +"limit": { +"description": "The maximum number of results to return. Applies after all other constraints. Optional. Unspecified is interpreted as no limit. Must be >= 0 if specified.", +"format": "int32", +"type": "integer" +}, +"offset": { +"description": "The number of results to skip. Applies before limit, but after all other constraints. Optional. Must be >= 0 if specified.", +"format": "int32", +"type": "integer" +}, +"order": { +"description": "The order to apply to the query results (if empty, order is unspecified).", +"items": { +"$ref": "PropertyOrder" +}, +"type": "array" +}, +"projection": { +"description": "The projection to return. Defaults to returning all properties.", +"items": { +"$ref": "Projection" +}, +"type": "array" +}, +"startCursor": { +"description": "A starting point for the query results. Query cursors are returned in query result batches and [can only be used to continue the same query](https://cloud.google.com/datastore/docs/concepts/queries#cursors_limits_and_offsets).", +"format": "byte", +"type": "string" +} +}, +"type": "object" +}, +"QueryResultBatch": { +"description": "A batch of results produced by a query.", +"id": "QueryResultBatch", +"properties": { +"endCursor": { +"description": "A cursor that points to the position after the last result in the batch.", +"format": "byte", +"type": "string" +}, +"entityResultType": { +"description": "The result type for every entity in `entity_results`.", +"enum": [ +"RESULT_TYPE_UNSPECIFIED", +"FULL", +"PROJECTION", +"KEY_ONLY" +], +"enumDescriptions": [ +"Unspecified. This value is never used.", +"The key and properties.", +"A projected subset of properties. The entity may have no key.", +"Only the key." +], +"type": "string" +}, +"entityResults": { +"description": "The results for this batch.", +"items": { +"$ref": "EntityResult" +}, +"type": "array" +}, +"moreResults": { +"description": "The state of the query after the current batch.", +"enum": [ +"MORE_RESULTS_TYPE_UNSPECIFIED", +"NOT_FINISHED", +"MORE_RESULTS_AFTER_LIMIT", +"MORE_RESULTS_AFTER_CURSOR", +"NO_MORE_RESULTS" +], +"enumDescriptions": [ +"Unspecified. This value is never used.", +"There may be additional batches to fetch from this query.", +"The query is finished, but there may be more results after the limit.", +"The query is finished, but there may be more results after the end cursor.", +"The query is finished, and there are no more results." +], +"type": "string" +}, +"readTime": { +"description": "Read timestamp this batch was returned from. This applies to the range of results from the query's `start_cursor` (or the beginning of the query if no cursor was given) to this batch's `end_cursor` (not the query's `end_cursor`). In a single transaction, subsequent query result batches for the same query can have a greater timestamp. Each batch's read timestamp is valid for all preceding batches. This value will not be set for eventually consistent queries in Cloud Datastore.", +"format": "google-datetime", +"type": "string" +}, +"skippedCursor": { +"description": "A cursor that points to the position after the last skipped result. Will be set when `skipped_results` != 0.", +"format": "byte", +"type": "string" +}, +"skippedResults": { +"description": "The number of results skipped, typically because of an offset.", +"format": "int32", +"type": "integer" +}, +"snapshotVersion": { +"description": "The version number of the snapshot this batch was returned from. This applies to the range of results from the query's `start_cursor` (or the beginning of the query if no cursor was given) to this batch's `end_cursor` (not the query's `end_cursor`). In a single transaction, subsequent query result batches for the same query can have a greater snapshot version number. Each batch's snapshot version is valid for all preceding batches. The value will be zero for eventually consistent queries.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"ReadOnly": { +"description": "Options specific to read-only transactions.", +"id": "ReadOnly", +"properties": { +"readTime": { +"description": "Reads entities at the given time. This must be a microsecond precision timestamp within the past one hour, or if Point-in-Time Recovery is enabled, can additionally be a whole minute timestamp within the past 7 days.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"ReadOptions": { +"description": "The options shared by read requests.", +"id": "ReadOptions", +"properties": { +"readConsistency": { +"description": "The non-transactional read consistency to use.", +"enum": [ +"READ_CONSISTENCY_UNSPECIFIED", +"STRONG", +"EVENTUAL" +], +"enumDescriptions": [ +"Unspecified. This value must not be used.", +"Strong consistency.", +"Eventual consistency." +], +"type": "string" +}, +"readTime": { +"description": "Reads entities as they were at the given time. This value is only supported for Cloud Firestore in Datastore mode. This must be a microsecond precision timestamp within the past one hour, or if Point-in-Time Recovery is enabled, can additionally be a whole minute timestamp within the past 7 days.", +"format": "google-datetime", +"type": "string" +}, +"transaction": { +"description": "The identifier of the transaction in which to read. A transaction identifier is returned by a call to Datastore.BeginTransaction.", +"format": "byte", +"type": "string" +} +}, +"type": "object" +}, +"ReadWrite": { +"description": "Options specific to read / write transactions.", +"id": "ReadWrite", +"properties": { +"previousTransaction": { +"description": "The transaction identifier of the transaction being retried.", +"format": "byte", +"type": "string" +} +}, +"type": "object" +}, +"ReserveIdsRequest": { +"description": "The request for Datastore.ReserveIds.", +"id": "ReserveIdsRequest", +"properties": { +"databaseId": { +"description": "The ID of the database against which to make the request. '(default)' is not allowed; please use empty string '' to refer the default database.", +"type": "string" +}, +"keys": { +"description": "Required. A list of keys with complete key paths whose numeric IDs should not be auto-allocated.", +"items": { +"$ref": "Key" +}, +"type": "array" +} +}, +"type": "object" +}, +"ReserveIdsResponse": { +"description": "The response for Datastore.ReserveIds.", +"id": "ReserveIdsResponse", +"properties": {}, +"type": "object" +}, +"RollbackRequest": { +"description": "The request for Datastore.Rollback.", +"id": "RollbackRequest", +"properties": { +"transaction": { +"description": "Required. The transaction identifier, returned by a call to Datastore.BeginTransaction.", +"format": "byte", +"type": "string" +} +}, +"type": "object" +}, +"RollbackResponse": { +"description": "The response for Datastore.Rollback. (an empty message).", +"id": "RollbackResponse", +"properties": {}, +"type": "object" +}, +"RunAggregationQueryRequest": { +"description": "The request for Datastore.RunAggregationQuery.", +"id": "RunAggregationQueryRequest", +"properties": { +"aggregationQuery": { +"$ref": "AggregationQuery", +"description": "The query to run." +}, +"explainOptions": { +"$ref": "ExplainOptions", +"description": "Optional. Explain options for the query. If set, additional query statistics will be returned. If not, only query results will be returned." +}, +"gqlQuery": { +"$ref": "GqlQuery", +"description": "The GQL query to run. This query must be an aggregation query." +}, +"partitionId": { +"$ref": "PartitionId", +"description": "Entities are partitioned into subsets, identified by a partition ID. Queries are scoped to a single partition. This partition ID is normalized with the standard default context partition ID." +}, +"readOptions": { +"$ref": "ReadOptions", +"description": "The options for this query." +} +}, +"type": "object" +}, +"RunAggregationQueryResponse": { +"description": "The response for Datastore.RunAggregationQuery.", +"id": "RunAggregationQueryResponse", +"properties": { +"batch": { +"$ref": "AggregationResultBatch", +"description": "A batch of aggregation results. Always present." +}, +"explainMetrics": { +"$ref": "ExplainMetrics", +"description": "Query explain metrics. This is only present when the RunAggregationQueryRequest.explain_options is provided, and it is sent only once with the last response in the stream." +}, +"query": { +"$ref": "AggregationQuery", +"description": "The parsed form of the `GqlQuery` from the request, if it was set." +} +}, +"type": "object" +}, +"RunQueryRequest": { +"description": "The request for Datastore.RunQuery.", +"id": "RunQueryRequest", +"properties": { +"explainOptions": { +"$ref": "ExplainOptions", +"description": "Optional. Explain options for the query. If set, additional query statistics will be returned. If not, only query results will be returned." +}, +"gqlQuery": { +"$ref": "GqlQuery", +"description": "The GQL query to run. This query must be a non-aggregation query." +}, +"partitionId": { +"$ref": "PartitionId", +"description": "Entities are partitioned into subsets, identified by a partition ID. Queries are scoped to a single partition. This partition ID is normalized with the standard default context partition ID." +}, +"propertyMask": { +"$ref": "PropertyMask", +"description": "The properties to return. This field must not be set for a projection query. See LookupRequest.property_mask." +}, +"query": { +"$ref": "Query", +"description": "The query to run." +}, +"readOptions": { +"$ref": "ReadOptions", +"description": "The options for this query." +} +}, +"type": "object" +}, +"RunQueryResponse": { +"description": "The response for Datastore.RunQuery.", +"id": "RunQueryResponse", +"properties": { +"batch": { +"$ref": "QueryResultBatch", +"description": "A batch of query results. This is always present unless running a query under explain-only mode: RunQueryRequest.explain_options was provided and ExplainOptions.analyze was set to false." +}, +"explainMetrics": { +"$ref": "ExplainMetrics", +"description": "Query explain metrics. This is only present when the RunQueryRequest.explain_options is provided, and it is sent only once with the last response in the stream." +}, +"query": { +"$ref": "Query", +"description": "The parsed form of the `GqlQuery` from the request, if it was set." +} +}, +"type": "object" +}, +"Sum": { +"description": "Sum of the values of the requested property. * Only numeric values will be aggregated. All non-numeric values including `NULL` are skipped. * If the aggregated values contain `NaN`, returns `NaN`. Infinity math follows IEEE-754 standards. * If the aggregated value set is empty, returns 0. * Returns a 64-bit integer if all aggregated numbers are integers and the sum result does not overflow. Otherwise, the result is returned as a double. Note that even if all the aggregated values are integers, the result is returned as a double if it cannot fit within a 64-bit signed integer. When this occurs, the returned value will lose precision. * When underflow occurs, floating-point aggregation is non-deterministic. This means that running the same query repeatedly without any changes to the underlying values could produce slightly different results each time. In those cases, values should be stored as integers over floating-point numbers.", +"id": "Sum", +"properties": { +"property": { +"$ref": "PropertyReference", +"description": "The property to aggregate on." +} +}, +"type": "object" +}, +"TransactionOptions": { +"description": "Options for beginning a new transaction. Transactions can be created explicitly with calls to Datastore.BeginTransaction or implicitly by setting ReadOptions.new_transaction in read requests.", +"id": "TransactionOptions", +"properties": { +"readOnly": { +"$ref": "ReadOnly", +"description": "The transaction should only allow reads." +}, +"readWrite": { +"$ref": "ReadWrite", +"description": "The transaction should allow both reads and writes." +} +}, +"type": "object" +}, +"Value": { +"description": "A message that can hold any of the supported value types and associated metadata.", +"id": "Value", +"properties": { +"arrayValue": { +"$ref": "ArrayValue", +"description": "An array value. Cannot contain another array value. A `Value` instance that sets field `array_value` must not set fields `meaning` or `exclude_from_indexes`." +}, +"blobValue": { +"description": "A blob value. May have at most 1,000,000 bytes. When `exclude_from_indexes` is false, may have at most 1500 bytes. In JSON requests, must be base64-encoded.", +"format": "byte", +"type": "string" +}, +"booleanValue": { +"description": "A boolean value.", +"type": "boolean" +}, +"doubleValue": { +"description": "A double value.", +"format": "double", +"type": "number" +}, +"entityValue": { +"$ref": "Entity", +"description": "An entity value. - May have no key. - May have a key with an incomplete key path. - May have a reserved/read-only key." +}, +"excludeFromIndexes": { +"description": "If the value should be excluded from all indexes including those defined explicitly.", +"type": "boolean" +}, +"geoPointValue": { +"$ref": "LatLng", +"description": "A geo point value representing a point on the surface of Earth." +}, +"integerValue": { +"description": "An integer value.", +"format": "int64", +"type": "string" +}, +"keyValue": { +"$ref": "Key", +"description": "A key value." +}, +"meaning": { +"description": "The `meaning` field should only be populated for backwards compatibility.", +"format": "int32", +"type": "integer" +}, +"nullValue": { +"description": "A null value.", +"enum": [ +"NULL_VALUE" +], +"enumDescriptions": [ +"Null value." +], +"type": "string" +}, +"stringValue": { +"description": "A UTF-8 encoded string value. When `exclude_from_indexes` is false (it is indexed) , may have at most 1500 bytes. Otherwise, may be set to at most 1,000,000 bytes.", +"type": "string" +}, +"timestampValue": { +"description": "A timestamp value. When stored in the Datastore, precise only to microseconds; any additional precision is rounded down.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +} +}, +"servicePath": "", +"title": "Cloud Datastore API", +"version": "v1beta3", +"version_module": true +} \ No newline at end of file diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/datastream.v1.json b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/datastream.v1.json new file mode 100644 index 0000000000000000000000000000000000000000..03cbf9d5e575f643eec0bff077af0f87ed90ea40 --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/datastream.v1.json @@ -0,0 +1,4850 @@ +{ +"auth": { +"oauth2": { +"scopes": { +"https://www.googleapis.com/auth/cloud-platform": { +"description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." +} +} +} +}, +"basePath": "", +"baseUrl": "https://datastream.googleapis.com/", +"batchPath": "batch", +"canonicalName": "Datastream", +"description": "", +"discoveryVersion": "v1", +"documentationLink": "https://cloud.google.com/datastream/", +"fullyEncodeReservedExpansion": true, +"icons": { +"x16": "http://www.google.com/images/icons/product/search-16.gif", +"x32": "http://www.google.com/images/icons/product/search-32.gif" +}, +"id": "datastream:v1", +"kind": "discovery#restDescription", +"mtlsRootUrl": "https://datastream.mtls.googleapis.com/", +"name": "datastream", +"ownerDomain": "google.com", +"ownerName": "Google", +"parameters": { +"$.xgafv": { +"description": "V1 error format.", +"enum": [ +"1", +"2" +], +"enumDescriptions": [ +"v1 error format", +"v2 error format" +], +"location": "query", +"type": "string" +}, +"access_token": { +"description": "OAuth access token.", +"location": "query", +"type": "string" +}, +"alt": { +"default": "json", +"description": "Data format for response.", +"enum": [ +"json", +"media", +"proto" +], +"enumDescriptions": [ +"Responses with Content-Type of application/json", +"Media download with context-dependent Content-Type", +"Responses with Content-Type of application/x-protobuf" +], +"location": "query", +"type": "string" +}, +"callback": { +"description": "JSONP", +"location": "query", +"type": "string" +}, +"fields": { +"description": "Selector specifying which fields to include in a partial response.", +"location": "query", +"type": "string" +}, +"key": { +"description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", +"location": "query", +"type": "string" +}, +"oauth_token": { +"description": "OAuth 2.0 token for the current user.", +"location": "query", +"type": "string" +}, +"prettyPrint": { +"default": "true", +"description": "Returns response with indentations and line breaks.", +"location": "query", +"type": "boolean" +}, +"quotaUser": { +"description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.", +"location": "query", +"type": "string" +}, +"uploadType": { +"description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", +"location": "query", +"type": "string" +}, +"upload_protocol": { +"description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", +"location": "query", +"type": "string" +} +}, +"protocol": "rest", +"resources": { +"projects": { +"resources": { +"locations": { +"methods": { +"fetchStaticIps": { +"description": "The FetchStaticIps API call exposes the static IP addresses used by Datastream.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}:fetchStaticIps", +"httpMethod": "GET", +"id": "datastream.projects.locations.fetchStaticIps", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name for the location for which static IPs should be returned. Must be in the format `projects/*/locations/*`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "Optional. Maximum number of Ips to return, will likely not be specified.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. A page token, received from a previous `ListStaticIps` call. will likely not be specified.", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}:fetchStaticIps", +"response": { +"$ref": "FetchStaticIpsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets information about a location.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}", +"httpMethod": "GET", +"id": "datastream.projects.locations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Resource name for the location.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Location" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists information about the supported locations for this service. This method can be called in two ways: * **List all public locations:** Use the path `GET /v1/locations`. * **List project-visible locations:** Use the path `GET /v1/projects/{project_id}/locations`. This may include public locations as well as private or other locations specifically visible to the project.", +"flatPath": "v1/projects/{projectsId}/locations", +"httpMethod": "GET", +"id": "datastream.projects.locations.list", +"parameterOrder": [ +"name" +], +"parameters": { +"extraLocationTypes": { +"description": "Optional. Do not use this field. It is unsupported and is ignored unless explicitly documented otherwise. This is primarily for internal usage.", +"location": "query", +"repeated": true, +"type": "string" +}, +"filter": { +"description": "A filter to narrow down results to a preferred subset. The filtering language accepts strings like `\"displayName=tokyo\"`, and is documented in more detail in [AIP-160](https://google.aip.dev/160).", +"location": "query", +"type": "string" +}, +"name": { +"description": "The resource that owns the locations collection, if applicable.", +"location": "path", +"pattern": "^projects/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The maximum number of results to return. If not set, the service selects a default.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A page token received from the `next_page_token` field in the response. Send that page token to receive the subsequent page.", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}/locations", +"response": { +"$ref": "ListLocationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"connectionProfiles": { +"methods": { +"create": { +"description": "Use this method to create a connection profile in a project and location.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/connectionProfiles", +"httpMethod": "POST", +"id": "datastream.projects.locations.connectionProfiles.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"connectionProfileId": { +"description": "Required. The connection profile identifier.", +"location": "query", +"type": "string" +}, +"force": { +"description": "Optional. Create the connection profile without validating it.", +"location": "query", +"type": "boolean" +}, +"parent": { +"description": "Required. The parent that owns the collection of ConnectionProfiles.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "Optional. A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"validateOnly": { +"description": "Optional. Only validate the connection profile, but don't create any resources. The default is false.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1/{+parent}/connectionProfiles", +"request": { +"$ref": "ConnectionProfile" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Use this method to delete a connection profile.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/connectionProfiles/{connectionProfilesId}", +"httpMethod": "DELETE", +"id": "datastream.projects.locations.connectionProfiles.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the connection profile resource to delete.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/connectionProfiles/[^/]+$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "Optional. A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes after the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"discover": { +"description": "Use this method to discover a connection profile. The discover API call exposes the data objects and metadata belonging to the profile. Typically, a request returns children data objects of a parent data object that's optionally supplied in the request.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/connectionProfiles:discover", +"httpMethod": "POST", +"id": "datastream.projects.locations.connectionProfiles.discover", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The parent resource of the connection profile type. Must be in the format `projects/*/locations/*`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/connectionProfiles:discover", +"request": { +"$ref": "DiscoverConnectionProfileRequest" +}, +"response": { +"$ref": "DiscoverConnectionProfileResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Use this method to get details about a connection profile.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/connectionProfiles/{connectionProfilesId}", +"httpMethod": "GET", +"id": "datastream.projects.locations.connectionProfiles.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the connection profile resource to get.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/connectionProfiles/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "ConnectionProfile" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Use this method to list connection profiles created in a project and location.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/connectionProfiles", +"httpMethod": "GET", +"id": "datastream.projects.locations.connectionProfiles.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Optional. Filter request.", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "Optional. Order by fields for the result.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Optional. Maximum number of connection profiles to return. If unspecified, at most 50 connection profiles will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. Page token received from a previous `ListConnectionProfiles` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListConnectionProfiles` must match the call that provided the page token.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent that owns the collection of connection profiles.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/connectionProfiles", +"response": { +"$ref": "ListConnectionProfilesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Use this method to update the parameters of a connection profile.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/connectionProfiles/{connectionProfilesId}", +"httpMethod": "PATCH", +"id": "datastream.projects.locations.connectionProfiles.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"force": { +"description": "Optional. Update the connection profile without validating it.", +"location": "query", +"type": "boolean" +}, +"name": { +"description": "Output only. Identifier. The resource's name.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/connectionProfiles/[^/]+$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "Optional. A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"updateMask": { +"description": "Optional. Field mask is used to specify the fields to be overwritten in the ConnectionProfile resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +}, +"validateOnly": { +"description": "Optional. Only validate the connection profile, but don't update any resources. The default is false.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "ConnectionProfile" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"operations": { +"methods": { +"cancel": { +"description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}:cancel", +"httpMethod": "POST", +"id": "datastream.projects.locations.operations.cancel", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be cancelled.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:cancel", +"request": { +"$ref": "CancelOperationRequest" +}, +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}", +"httpMethod": "DELETE", +"id": "datastream.projects.locations.operations.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be deleted.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}", +"httpMethod": "GET", +"id": "datastream.projects.locations.operations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/operations", +"httpMethod": "GET", +"id": "datastream.projects.locations.operations.list", +"parameterOrder": [ +"name" +], +"parameters": { +"filter": { +"description": "The standard list filter.", +"location": "query", +"type": "string" +}, +"name": { +"description": "The name of the operation's parent resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The standard list page size.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The standard list page token.", +"location": "query", +"type": "string" +}, +"returnPartialSuccess": { +"description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `\"projects/example/locations/-\"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1/{+name}/operations", +"response": { +"$ref": "ListOperationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"privateConnections": { +"methods": { +"create": { +"description": "Use this method to create a private connectivity configuration.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/privateConnections", +"httpMethod": "POST", +"id": "datastream.projects.locations.privateConnections.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"force": { +"description": "Optional. If set to true, will skip validations.", +"location": "query", +"type": "boolean" +}, +"parent": { +"description": "Required. The parent that owns the collection of PrivateConnections.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +}, +"privateConnectionId": { +"description": "Required. The private connectivity identifier.", +"location": "query", +"type": "string" +}, +"requestId": { +"description": "Optional. A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"validateOnly": { +"description": "Optional. When supplied with PSC Interface config, will get/create the tenant project required for the customer to allow list and won't actually create the private connection.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1/{+parent}/privateConnections", +"request": { +"$ref": "PrivateConnection" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Use this method to delete a private connectivity configuration.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/privateConnections/{privateConnectionsId}", +"httpMethod": "DELETE", +"id": "datastream.projects.locations.privateConnections.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"force": { +"description": "Optional. If set to true, any child routes that belong to this PrivateConnection will also be deleted.", +"location": "query", +"type": "boolean" +}, +"name": { +"description": "Required. The name of the private connectivity configuration to delete.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/privateConnections/[^/]+$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "Optional. A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes after the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Use this method to get details about a private connectivity configuration.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/privateConnections/{privateConnectionsId}", +"httpMethod": "GET", +"id": "datastream.projects.locations.privateConnections.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the private connectivity configuration to get.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/privateConnections/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "PrivateConnection" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Use this method to list private connectivity configurations in a project and location.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/privateConnections", +"httpMethod": "GET", +"id": "datastream.projects.locations.privateConnections.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Optional. Filter request.", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "Optional. Order by fields for the result.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Maximum number of private connectivity configurations to return. If unspecified, at most 50 private connectivity configurations that will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. Page token received from a previous `ListPrivateConnections` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListPrivateConnections` must match the call that provided the page token.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent that owns the collection of private connectivity configurations.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/privateConnections", +"response": { +"$ref": "ListPrivateConnectionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"routes": { +"methods": { +"create": { +"description": "Use this method to create a route for a private connectivity configuration in a project and location.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/privateConnections/{privateConnectionsId}/routes", +"httpMethod": "POST", +"id": "datastream.projects.locations.privateConnections.routes.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The parent that owns the collection of Routes.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/privateConnections/[^/]+$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "Optional. A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"routeId": { +"description": "Required. The Route identifier.", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+parent}/routes", +"request": { +"$ref": "Route" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Use this method to delete a route.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/privateConnections/{privateConnectionsId}/routes/{routesId}", +"httpMethod": "DELETE", +"id": "datastream.projects.locations.privateConnections.routes.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the Route resource to delete.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/privateConnections/[^/]+/routes/[^/]+$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "Optional. A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes after the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Use this method to get details about a route.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/privateConnections/{privateConnectionsId}/routes/{routesId}", +"httpMethod": "GET", +"id": "datastream.projects.locations.privateConnections.routes.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the Route resource to get.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/privateConnections/[^/]+/routes/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Route" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Use this method to list routes created for a private connectivity configuration in a project and location.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/privateConnections/{privateConnectionsId}/routes", +"httpMethod": "GET", +"id": "datastream.projects.locations.privateConnections.routes.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Optional. Filter request.", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "Optional. Order by fields for the result.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Optional. Maximum number of Routes to return. The service may return fewer than this value. If unspecified, at most 50 Routes will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. Page token received from a previous `ListRoutes` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListRoutes` must match the call that provided the page token.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent that owns the collection of Routess.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/privateConnections/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/routes", +"response": { +"$ref": "ListRoutesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +}, +"streams": { +"methods": { +"create": { +"description": "Use this method to create a stream.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/streams", +"httpMethod": "POST", +"id": "datastream.projects.locations.streams.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"force": { +"description": "Optional. Create the stream without validating it.", +"location": "query", +"type": "boolean" +}, +"parent": { +"description": "Required. The parent that owns the collection of streams.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "Optional. A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"streamId": { +"description": "Required. The stream identifier.", +"location": "query", +"type": "string" +}, +"validateOnly": { +"description": "Optional. Only validate the stream, but don't create any resources. The default is false.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1/{+parent}/streams", +"request": { +"$ref": "Stream" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Use this method to delete a stream.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/streams/{streamsId}", +"httpMethod": "DELETE", +"id": "datastream.projects.locations.streams.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the stream resource to delete.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/streams/[^/]+$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "Optional. A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes after the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Use this method to get details about a stream.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/streams/{streamsId}", +"httpMethod": "GET", +"id": "datastream.projects.locations.streams.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the stream resource to get.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/streams/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Stream" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Use this method to list streams in a project and location.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/streams", +"httpMethod": "GET", +"id": "datastream.projects.locations.streams.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Optional. Filter request.", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "Optional. Order by fields for the result.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Optional. Maximum number of streams to return. If unspecified, at most 50 streams will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. Page token received from a previous `ListStreams` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListStreams` must match the call that provided the page token.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent that owns the collection of streams.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/streams", +"response": { +"$ref": "ListStreamsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Use this method to update the configuration of a stream.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/streams/{streamsId}", +"httpMethod": "PATCH", +"id": "datastream.projects.locations.streams.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"force": { +"description": "Optional. Update the stream without validating it.", +"location": "query", +"type": "boolean" +}, +"name": { +"description": "Output only. Identifier. The stream's name.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/streams/[^/]+$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "Optional. A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"updateMask": { +"description": "Optional. Field mask is used to specify the fields to be overwritten in the stream resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +}, +"validateOnly": { +"description": "Optional. Only validate the stream with the changes, without actually updating it. The default is false.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "Stream" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"run": { +"description": "Use this method to start, resume or recover a stream with a non default CDC strategy.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/streams/{streamsId}:run", +"httpMethod": "POST", +"id": "datastream.projects.locations.streams.run", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of the stream resource to start, in the format: projects/{project_id}/locations/{location}/streams/{stream_name}", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/streams/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:run", +"request": { +"$ref": "RunStreamRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"objects": { +"methods": { +"get": { +"description": "Use this method to get details about a stream object.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/streams/{streamsId}/objects/{objectsId}", +"httpMethod": "GET", +"id": "datastream.projects.locations.streams.objects.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the stream object resource to get.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/streams/[^/]+/objects/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "StreamObject" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Use this method to list the objects of a specific stream.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/streams/{streamsId}/objects", +"httpMethod": "GET", +"id": "datastream.projects.locations.streams.objects.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "Optional. Maximum number of objects to return. Default is 50. The maximum value is 1000; values above 1000 will be coerced to 1000.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. Page token received from a previous `ListStreamObjectsRequest` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListStreamObjectsRequest` must match the call that provided the page token.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent stream that owns the collection of objects.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/streams/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/objects", +"response": { +"$ref": "ListStreamObjectsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"lookup": { +"description": "Use this method to look up a stream object by its source object identifier.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/streams/{streamsId}/objects:lookup", +"httpMethod": "POST", +"id": "datastream.projects.locations.streams.objects.lookup", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The parent stream that owns the collection of objects.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/streams/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/objects:lookup", +"request": { +"$ref": "LookupStreamObjectRequest" +}, +"response": { +"$ref": "StreamObject" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"startBackfillJob": { +"description": "Use this method to start a backfill job for the specified stream object.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/streams/{streamsId}/objects/{objectsId}:startBackfillJob", +"httpMethod": "POST", +"id": "datastream.projects.locations.streams.objects.startBackfillJob", +"parameterOrder": [ +"object" +], +"parameters": { +"object": { +"description": "Required. The name of the stream object resource to start a backfill job for.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/streams/[^/]+/objects/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+object}:startBackfillJob", +"request": { +"$ref": "StartBackfillJobRequest" +}, +"response": { +"$ref": "StartBackfillJobResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"stopBackfillJob": { +"description": "Use this method to stop a backfill job for the specified stream object.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/streams/{streamsId}/objects/{objectsId}:stopBackfillJob", +"httpMethod": "POST", +"id": "datastream.projects.locations.streams.objects.stopBackfillJob", +"parameterOrder": [ +"object" +], +"parameters": { +"object": { +"description": "Required. The name of the stream object resource to stop the backfill job for.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/streams/[^/]+/objects/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+object}:stopBackfillJob", +"request": { +"$ref": "StopBackfillJobRequest" +}, +"response": { +"$ref": "StopBackfillJobResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +} +} +} +} +} +}, +"revision": "20260204", +"rootUrl": "https://datastream.googleapis.com/", +"schemas": { +"AppendOnly": { +"description": "AppendOnly mode defines that all changes to a table will be written to the destination table.", +"id": "AppendOnly", +"properties": {}, +"type": "object" +}, +"AvroFileFormat": { +"description": "AVRO file format configuration.", +"id": "AvroFileFormat", +"properties": {}, +"type": "object" +}, +"BackfillAllStrategy": { +"description": "Backfill strategy to automatically backfill the Stream's objects. Specific objects can be excluded.", +"id": "BackfillAllStrategy", +"properties": { +"mongodbExcludedObjects": { +"$ref": "MongodbCluster", +"description": "MongoDB data source objects to avoid backfilling" +}, +"mysqlExcludedObjects": { +"$ref": "MysqlRdbms", +"description": "MySQL data source objects to avoid backfilling." +}, +"oracleExcludedObjects": { +"$ref": "OracleRdbms", +"description": "Oracle data source objects to avoid backfilling." +}, +"postgresqlExcludedObjects": { +"$ref": "PostgresqlRdbms", +"description": "PostgreSQL data source objects to avoid backfilling." +}, +"salesforceExcludedObjects": { +"$ref": "SalesforceOrg", +"description": "Salesforce data source objects to avoid backfilling" +}, +"spannerExcludedObjects": { +"$ref": "SpannerDatabase", +"description": "Spanner data source objects to avoid backfilling." +}, +"sqlServerExcludedObjects": { +"$ref": "SqlServerRdbms", +"description": "SQLServer data source objects to avoid backfilling" +} +}, +"type": "object" +}, +"BackfillJob": { +"description": "Represents a backfill job on a specific stream object.", +"id": "BackfillJob", +"properties": { +"errors": { +"description": "Output only. Errors which caused the backfill job to fail.", +"items": { +"$ref": "Error" +}, +"readOnly": true, +"type": "array" +}, +"lastEndTime": { +"description": "Output only. Backfill job's end time.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"lastStartTime": { +"description": "Output only. Backfill job's start time.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"state": { +"description": "Output only. Backfill job state.", +"enum": [ +"STATE_UNSPECIFIED", +"NOT_STARTED", +"PENDING", +"ACTIVE", +"STOPPED", +"FAILED", +"COMPLETED", +"UNSUPPORTED" +], +"enumDescriptions": [ +"Default value.", +"Backfill job was never started for the stream object (stream has backfill strategy defined as manual or object was explicitly excluded from automatic backfill).", +"Backfill job will start pending available resources.", +"Backfill job is running.", +"Backfill job stopped (next job run will start from beginning).", +"Backfill job failed (due to an error).", +"Backfill completed successfully.", +"Backfill job failed since the table structure is currently unsupported for backfill." +], +"readOnly": true, +"type": "string" +}, +"trigger": { +"description": "Backfill job's triggering reason.", +"enum": [ +"TRIGGER_UNSPECIFIED", +"AUTOMATIC", +"MANUAL" +], +"enumDescriptions": [ +"Default value.", +"Object backfill job was triggered automatically according to the stream's backfill strategy.", +"Object backfill job was triggered manually using the dedicated API." +], +"type": "string" +} +}, +"type": "object" +}, +"BackfillNoneStrategy": { +"description": "Backfill strategy to disable automatic backfill for the Stream's objects.", +"id": "BackfillNoneStrategy", +"properties": {}, +"type": "object" +}, +"BadRequest": { +"description": "Describes violations in a client request. This error type focuses on the syntactic aspects of the request.", +"id": "BadRequest", +"properties": { +"fieldViolations": { +"description": "Describes all violations in a client request.", +"items": { +"$ref": "FieldViolation" +}, +"type": "array" +} +}, +"type": "object" +}, +"BasicEncryption": { +"description": "Message to represent the option where Datastream will enforce encryption without authenticating server identity. Server certificates will be trusted by default.", +"id": "BasicEncryption", +"properties": {}, +"type": "object" +}, +"BigQueryClustering": { +"description": "BigQuery clustering configuration.", +"id": "BigQueryClustering", +"properties": { +"columns": { +"description": "Required. Column names to set as clustering columns.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"BigQueryDestinationConfig": { +"description": "BigQuery destination configuration", +"id": "BigQueryDestinationConfig", +"properties": { +"appendOnly": { +"$ref": "AppendOnly", +"description": "Append only mode" +}, +"blmtConfig": { +"$ref": "BlmtConfig", +"description": "Optional. Big Lake Managed Tables (BLMT) configuration." +}, +"dataFreshness": { +"description": "The guaranteed data freshness (in seconds) when querying tables created by the stream. Editing this field will only affect new tables created in the future, but existing tables will not be impacted. Lower values mean that queries will return fresher data, but may result in higher cost.", +"format": "google-duration", +"type": "string" +}, +"merge": { +"$ref": "Merge", +"description": "The standard mode" +}, +"singleTargetDataset": { +"$ref": "SingleTargetDataset", +"description": "Single destination dataset." +}, +"sourceHierarchyDatasets": { +"$ref": "SourceHierarchyDatasets", +"description": "Source hierarchy datasets." +} +}, +"type": "object" +}, +"BigQueryPartitioning": { +"description": "BigQuery partitioning configuration.", +"id": "BigQueryPartitioning", +"properties": { +"ingestionTimePartition": { +"$ref": "IngestionTimePartition", +"description": "Ingestion time partitioning." +}, +"integerRangePartition": { +"$ref": "IntegerRangePartition", +"description": "Integer range partitioning." +}, +"requirePartitionFilter": { +"description": "Optional. If true, queries over the table require a partition filter.", +"type": "boolean" +}, +"timeUnitPartition": { +"$ref": "TimeUnitPartition", +"description": "Time unit column partitioning." +} +}, +"type": "object" +}, +"BigQueryProfile": { +"description": "Profile for connecting to a BigQuery destination.", +"id": "BigQueryProfile", +"properties": {}, +"type": "object" +}, +"BinaryLogParser": { +"description": "Configuration to use Binary Log Parser CDC technique.", +"id": "BinaryLogParser", +"properties": { +"logFileDirectories": { +"$ref": "LogFileDirectories", +"description": "Use Oracle directories." +}, +"oracleAsmLogFileAccess": { +"$ref": "OracleAsmLogFileAccess", +"description": "Use Oracle ASM." +} +}, +"type": "object" +}, +"BinaryLogPosition": { +"description": "Use Binary log position based replication.", +"id": "BinaryLogPosition", +"properties": {}, +"type": "object" +}, +"BlmtConfig": { +"description": "The configuration for BLMT.", +"id": "BlmtConfig", +"properties": { +"bucket": { +"description": "Required. The Cloud Storage bucket name.", +"type": "string" +}, +"connectionName": { +"description": "Required. The bigquery connection. Format: `{project}.{location}.{name}`", +"type": "string" +}, +"fileFormat": { +"description": "Required. The file format.", +"enum": [ +"FILE_FORMAT_UNSPECIFIED", +"PARQUET" +], +"enumDescriptions": [ +"Default value.", +"Parquet file format." +], +"type": "string" +}, +"rootPath": { +"description": "The root path inside the Cloud Storage bucket.", +"type": "string" +}, +"tableFormat": { +"description": "Required. The table format.", +"enum": [ +"TABLE_FORMAT_UNSPECIFIED", +"ICEBERG" +], +"enumDescriptions": [ +"Default value.", +"Iceberg table format." +], +"type": "string" +} +}, +"type": "object" +}, +"CancelOperationRequest": { +"description": "The request message for Operations.CancelOperation.", +"id": "CancelOperationRequest", +"properties": {}, +"type": "object" +}, +"CdcStrategy": { +"description": "The strategy that the stream uses for CDC replication.", +"id": "CdcStrategy", +"properties": { +"mostRecentStartPosition": { +"$ref": "MostRecentStartPosition", +"description": "Optional. Start replicating from the most recent position in the source." +}, +"nextAvailableStartPosition": { +"$ref": "NextAvailableStartPosition", +"description": "Optional. Resume replication from the next available position in the source." +}, +"specificStartPosition": { +"$ref": "SpecificStartPosition", +"description": "Optional. Start replicating from a specific position in the source." +} +}, +"type": "object" +}, +"ConnectionProfile": { +"description": "A set of reusable connection configurations to be used as a source or destination for a stream.", +"id": "ConnectionProfile", +"properties": { +"bigqueryProfile": { +"$ref": "BigQueryProfile", +"description": "Profile for connecting to a BigQuery destination." +}, +"createTime": { +"description": "Output only. The create time of the resource.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"displayName": { +"description": "Required. Display name.", +"type": "string" +}, +"forwardSshConnectivity": { +"$ref": "ForwardSshTunnelConnectivity", +"description": "Forward SSH tunnel connectivity." +}, +"gcsProfile": { +"$ref": "GcsProfile", +"description": "Profile for connecting to a Cloud Storage destination." +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Labels.", +"type": "object" +}, +"mongodbProfile": { +"$ref": "MongodbProfile", +"description": "Profile for connecting to a MongoDB source." +}, +"mysqlProfile": { +"$ref": "MysqlProfile", +"description": "Profile for connecting to a MySQL source." +}, +"name": { +"description": "Output only. Identifier. The resource's name.", +"readOnly": true, +"type": "string" +}, +"oracleProfile": { +"$ref": "OracleProfile", +"description": "Profile for connecting to an Oracle source." +}, +"postgresqlProfile": { +"$ref": "PostgresqlProfile", +"description": "Profile for connecting to a PostgreSQL source." +}, +"privateConnectivity": { +"$ref": "PrivateConnectivity", +"description": "Private connectivity." +}, +"salesforceProfile": { +"$ref": "SalesforceProfile", +"description": "Profile for connecting to a Salesforce source." +}, +"satisfiesPzi": { +"description": "Output only. Reserved for future use.", +"readOnly": true, +"type": "boolean" +}, +"satisfiesPzs": { +"description": "Output only. Reserved for future use.", +"readOnly": true, +"type": "boolean" +}, +"spannerProfile": { +"$ref": "SpannerProfile", +"description": "Profile for connecting to a Spanner source." +}, +"sqlServerProfile": { +"$ref": "SqlServerProfile", +"description": "Profile for connecting to a SQLServer source." +}, +"staticServiceIpConnectivity": { +"$ref": "StaticServiceIpConnectivity", +"description": "Static Service IP connectivity." +}, +"updateTime": { +"description": "Output only. The update time of the resource.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"CustomizationRule": { +"description": "A customization rule to apply to a set of objects.", +"id": "CustomizationRule", +"properties": { +"bigqueryClustering": { +"$ref": "BigQueryClustering", +"description": "BigQuery clustering rule." +}, +"bigqueryPartitioning": { +"$ref": "BigQueryPartitioning", +"description": "BigQuery partitioning rule." +} +}, +"type": "object" +}, +"DatasetTemplate": { +"description": "Dataset template used for dynamic dataset creation.", +"id": "DatasetTemplate", +"properties": { +"datasetIdPrefix": { +"description": "If supplied, every created dataset will have its name prefixed by the provided value. The prefix and name will be separated by an underscore. i.e. _.", +"type": "string" +}, +"kmsKeyName": { +"description": "Describes the Cloud KMS encryption key that will be used to protect destination BigQuery table. The BigQuery Service Account associated with your project requires access to this encryption key. i.e. projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{cryptoKey}. See https://cloud.google.com/bigquery/docs/customer-managed-encryption for more information.", +"type": "string" +}, +"location": { +"description": "Required. The geographic location where the dataset should reside. See https://cloud.google.com/bigquery/docs/locations for supported locations.", +"type": "string" +} +}, +"type": "object" +}, +"DebugInfo": { +"description": "Describes additional debugging info.", +"id": "DebugInfo", +"properties": { +"detail": { +"description": "Additional debugging information provided by the server.", +"type": "string" +}, +"stackEntries": { +"description": "The stack trace entries indicating where the error occurred.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"DestinationConfig": { +"description": "The configuration of the stream destination.", +"id": "DestinationConfig", +"properties": { +"bigqueryDestinationConfig": { +"$ref": "BigQueryDestinationConfig", +"description": "BigQuery destination configuration." +}, +"destinationConnectionProfile": { +"description": "Required. Destination connection profile resource. Format: `projects/{project}/locations/{location}/connectionProfiles/{name}`", +"type": "string" +}, +"gcsDestinationConfig": { +"$ref": "GcsDestinationConfig", +"description": "A configuration for how data should be loaded to Cloud Storage." +} +}, +"type": "object" +}, +"DiscoverConnectionProfileRequest": { +"description": "Request message for 'discover' ConnectionProfile request.", +"id": "DiscoverConnectionProfileRequest", +"properties": { +"connectionProfile": { +"$ref": "ConnectionProfile", +"description": "Optional. An ad-hoc connection profile configuration." +}, +"connectionProfileName": { +"description": "Optional. A reference to an existing connection profile.", +"type": "string" +}, +"fullHierarchy": { +"description": "Optional. Whether to retrieve the full hierarchy of data objects (TRUE) or only the current level (FALSE).", +"type": "boolean" +}, +"hierarchyDepth": { +"description": "Optional. The number of hierarchy levels below the current level to be retrieved.", +"format": "int32", +"type": "integer" +}, +"mongodbCluster": { +"$ref": "MongodbCluster", +"description": "Optional. MongoDB cluster to enrich with child data objects and metadata." +}, +"mysqlRdbms": { +"$ref": "MysqlRdbms", +"description": "Optional. MySQL RDBMS to enrich with child data objects and metadata." +}, +"oracleRdbms": { +"$ref": "OracleRdbms", +"description": "Optional. Oracle RDBMS to enrich with child data objects and metadata." +}, +"postgresqlRdbms": { +"$ref": "PostgresqlRdbms", +"description": "Optional. PostgreSQL RDBMS to enrich with child data objects and metadata." +}, +"salesforceOrg": { +"$ref": "SalesforceOrg", +"description": "Optional. Salesforce organization to enrich with child data objects and metadata." +}, +"spannerDatabase": { +"$ref": "SpannerDatabase", +"description": "Optional. Spanner database to enrich with child data objects and metadata." +}, +"sqlServerRdbms": { +"$ref": "SqlServerRdbms", +"description": "Optional. SQLServer RDBMS to enrich with child data objects and metadata." +} +}, +"type": "object" +}, +"DiscoverConnectionProfileResponse": { +"description": "Response from a discover request.", +"id": "DiscoverConnectionProfileResponse", +"properties": { +"mongodbCluster": { +"$ref": "MongodbCluster", +"description": "Enriched MongoDB cluster." +}, +"mysqlRdbms": { +"$ref": "MysqlRdbms", +"description": "Enriched MySQL RDBMS object." +}, +"oracleRdbms": { +"$ref": "OracleRdbms", +"description": "Enriched Oracle RDBMS object." +}, +"postgresqlRdbms": { +"$ref": "PostgresqlRdbms", +"description": "Enriched PostgreSQL RDBMS object." +}, +"salesforceOrg": { +"$ref": "SalesforceOrg", +"description": "Enriched Salesforce organization." +}, +"spannerDatabase": { +"$ref": "SpannerDatabase", +"description": "Enriched Spanner database." +}, +"sqlServerRdbms": { +"$ref": "SqlServerRdbms", +"description": "Enriched SQLServer RDBMS object." +} +}, +"type": "object" +}, +"DropLargeObjects": { +"description": "Configuration to drop large object values.", +"id": "DropLargeObjects", +"properties": {}, +"type": "object" +}, +"Empty": { +"description": "A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }", +"id": "Empty", +"properties": {}, +"type": "object" +}, +"EncryptionAndServerValidation": { +"description": "Message to represent the option where Datastream will enforce encryption and authenticate server identity. ca_certificate must be set if user selects this option.", +"id": "EncryptionAndServerValidation", +"properties": { +"caCertificate": { +"description": "Optional. Input only. PEM-encoded certificate of the CA that signed the source database server's certificate.", +"type": "string" +}, +"serverCertificateHostname": { +"description": "Optional. The hostname mentioned in the Subject or SAN extension of the server certificate. This field is used for bypassing the hostname validation while verifying server certificate. This is required for scenarios where the host name that datastream connects to is different from the certificate's subject. This specifically happens for private connectivity. It could also happen when the customer provides a public IP in connection profile but the same is not present in the server certificate.", +"type": "string" +} +}, +"type": "object" +}, +"EncryptionNotEnforced": { +"description": "Message to represent the option where encryption is not enforced. An empty message right now to allow future extensibility.", +"id": "EncryptionNotEnforced", +"properties": {}, +"type": "object" +}, +"Error": { +"description": "Represent a user-facing Error.", +"id": "Error", +"properties": { +"details": { +"additionalProperties": { +"type": "string" +}, +"description": "Additional information about the error.", +"type": "object" +}, +"errorTime": { +"description": "The time when the error occurred.", +"format": "google-datetime", +"type": "string" +}, +"errorUuid": { +"description": "A unique identifier for this specific error, allowing it to be traced throughout the system in logs and API responses.", +"type": "string" +}, +"message": { +"description": "A message containing more information about the error that occurred.", +"type": "string" +}, +"reason": { +"description": "A title that explains the reason for the error.", +"type": "string" +} +}, +"type": "object" +}, +"ErrorInfo": { +"description": "Describes the cause of the error with structured details. Example of an error when contacting the \"pubsub.googleapis.com\" API when it is not enabled: { \"reason\": \"API_DISABLED\" \"domain\": \"googleapis.com\" \"metadata\": { \"resource\": \"projects/123\", \"service\": \"pubsub.googleapis.com\" } } This response indicates that the pubsub.googleapis.com API is not enabled. Example of an error that is returned when attempting to create a Spanner instance in a region that is out of stock: { \"reason\": \"STOCKOUT\" \"domain\": \"spanner.googleapis.com\", \"metadata\": { \"availableRegions\": \"us-central1,us-east2\" } }", +"id": "ErrorInfo", +"properties": { +"domain": { +"description": "The logical grouping to which the \"reason\" belongs. The error domain is typically the registered service name of the tool or product that generates the error. Example: \"pubsub.googleapis.com\". If the error is generated by some common infrastructure, the error domain must be a globally unique value that identifies the infrastructure. For Google API infrastructure, the error domain is \"googleapis.com\".", +"type": "string" +}, +"metadata": { +"additionalProperties": { +"type": "string" +}, +"description": "Additional structured details about this error. Keys must match a regular expression of `a-z+` but should ideally be lowerCamelCase. Also, they must be limited to 64 characters in length. When identifying the current value of an exceeded limit, the units should be contained in the key, not the value. For example, rather than `{\"instanceLimit\": \"100/request\"}`, should be returned as, `{\"instanceLimitPerRequest\": \"100\"}`, if the client exceeds the number of instances that can be created in a single (batch) request.", +"type": "object" +}, +"reason": { +"description": "The reason of the error. This is a constant value that identifies the proximate cause of the error. Error reasons are unique within a particular domain of errors. This should be at most 63 characters and match a regular expression of `A-Z+[A-Z0-9]`, which represents UPPER_SNAKE_CASE.", +"type": "string" +} +}, +"type": "object" +}, +"EventFilter": { +"description": "Represents a filter for included data on a stream object.", +"id": "EventFilter", +"properties": { +"sqlWhereClause": { +"description": "An SQL-query Where clause selecting which data should be included, not including the \"WHERE\" keyword. e.g., `t.key1 = 'value1' AND t.key2 = 'value2'`", +"type": "string" +} +}, +"type": "object" +}, +"FetchStaticIpsResponse": { +"description": "Response message for a 'FetchStaticIps' response.", +"id": "FetchStaticIpsResponse", +"properties": { +"nextPageToken": { +"description": "A token that can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.", +"type": "string" +}, +"staticIps": { +"description": "list of static ips by account", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"FieldViolation": { +"description": "A message type used to describe a single bad request field.", +"id": "FieldViolation", +"properties": { +"description": { +"description": "A description of why the request element is bad.", +"type": "string" +}, +"field": { +"description": "A path that leads to a field in the request body. The value will be a sequence of dot-separated identifiers that identify a protocol buffer field. Consider the following: message CreateContactRequest { message EmailAddress { enum Type { TYPE_UNSPECIFIED = 0; HOME = 1; WORK = 2; } optional string email = 1; repeated EmailType type = 2; } string full_name = 1; repeated EmailAddress email_addresses = 2; } In this example, in proto `field` could take one of the following values: * `full_name` for a violation in the `full_name` value * `email_addresses[1].email` for a violation in the `email` field of the first `email_addresses` message * `email_addresses[3].type[2]` for a violation in the second `type` value in the third `email_addresses` message. In JSON, the same values are represented as: * `fullName` for a violation in the `fullName` value * `emailAddresses[1].email` for a violation in the `email` field of the first `emailAddresses` message * `emailAddresses[3].type[2]` for a violation in the second `type` value in the third `emailAddresses` message.", +"type": "string" +}, +"localizedMessage": { +"$ref": "LocalizedMessage", +"description": "Provides a localized error message for field-level errors that is safe to return to the API consumer." +}, +"reason": { +"description": "The reason of the field-level error. This is a constant value that identifies the proximate cause of the field-level error. It should uniquely identify the type of the FieldViolation within the scope of the google.rpc.ErrorInfo.domain. This should be at most 63 characters and match a regular expression of `A-Z+[A-Z0-9]`, which represents UPPER_SNAKE_CASE.", +"type": "string" +} +}, +"type": "object" +}, +"ForwardSshTunnelConnectivity": { +"description": "Forward SSH Tunnel connectivity.", +"id": "ForwardSshTunnelConnectivity", +"properties": { +"hostname": { +"description": "Required. Hostname for the SSH tunnel.", +"type": "string" +}, +"password": { +"description": "Input only. SSH password.", +"type": "string" +}, +"port": { +"description": "Port for the SSH tunnel, default value is 22.", +"format": "int32", +"type": "integer" +}, +"privateKey": { +"description": "Input only. SSH private key.", +"type": "string" +}, +"username": { +"description": "Required. Username for the SSH tunnel.", +"type": "string" +} +}, +"type": "object" +}, +"GcsDestinationConfig": { +"description": "Google Cloud Storage destination configuration", +"id": "GcsDestinationConfig", +"properties": { +"avroFileFormat": { +"$ref": "AvroFileFormat", +"description": "AVRO file format configuration." +}, +"fileRotationInterval": { +"description": "The maximum duration for which new events are added before a file is closed and a new file is created. Values within the range of 15-60 seconds are allowed.", +"format": "google-duration", +"type": "string" +}, +"fileRotationMb": { +"description": "The maximum file size to be saved in the bucket.", +"format": "int32", +"type": "integer" +}, +"jsonFileFormat": { +"$ref": "JsonFileFormat", +"description": "JSON file format configuration." +}, +"path": { +"description": "Path inside the Cloud Storage bucket to write data to.", +"type": "string" +} +}, +"type": "object" +}, +"GcsProfile": { +"description": "Profile for connecting to a Cloud Storage destination.", +"id": "GcsProfile", +"properties": { +"bucket": { +"description": "Required. The Cloud Storage bucket name.", +"type": "string" +}, +"rootPath": { +"description": "Optional. The root path inside the Cloud Storage bucket.", +"type": "string" +} +}, +"type": "object" +}, +"Gtid": { +"description": "Use GTID based replication.", +"id": "Gtid", +"properties": {}, +"type": "object" +}, +"Help": { +"description": "Provides links to documentation or for performing an out of band action. For example, if a quota check failed with an error indicating the calling project hasn't enabled the accessed service, this can contain a URL pointing directly to the right place in the developer console to flip the bit.", +"id": "Help", +"properties": { +"links": { +"description": "URL(s) pointing to additional information on handling the current error.", +"items": { +"$ref": "Link" +}, +"type": "array" +} +}, +"type": "object" +}, +"HostAddress": { +"description": "A HostAddress represents a transport end point, which is the combination of an IP address or hostname and a port number.", +"id": "HostAddress", +"properties": { +"hostname": { +"description": "Required. Hostname for the connection.", +"type": "string" +}, +"port": { +"description": "Optional. Port for the connection.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"IngestionTimePartition": { +"description": "Ingestion time partitioning. see https://cloud.google.com/bigquery/docs/partitioned-tables#ingestion_time", +"id": "IngestionTimePartition", +"properties": { +"partitioningTimeGranularity": { +"description": "Optional. Partition granularity", +"enum": [ +"PARTITIONING_TIME_GRANULARITY_UNSPECIFIED", +"PARTITIONING_TIME_GRANULARITY_HOUR", +"PARTITIONING_TIME_GRANULARITY_DAY", +"PARTITIONING_TIME_GRANULARITY_MONTH", +"PARTITIONING_TIME_GRANULARITY_YEAR" +], +"enumDescriptions": [ +"Unspecified partitioing interval.", +"Hourly partitioning.", +"Daily partitioning.", +"Monthly partitioning.", +"Yearly partitioning." +], +"type": "string" +} +}, +"type": "object" +}, +"IntegerRangePartition": { +"description": "Integer range partitioning. see https://cloud.google.com/bigquery/docs/partitioned-tables#integer_range", +"id": "IntegerRangePartition", +"properties": { +"column": { +"description": "Required. The partitioning column.", +"type": "string" +}, +"end": { +"description": "Required. The ending value for range partitioning (exclusive).", +"format": "int64", +"type": "string" +}, +"interval": { +"description": "Required. The interval of each range within the partition.", +"format": "int64", +"type": "string" +}, +"start": { +"description": "Required. The starting value for range partitioning (inclusive).", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"JsonFileFormat": { +"description": "JSON file format configuration.", +"id": "JsonFileFormat", +"properties": { +"compression": { +"description": "Compression of the loaded JSON file.", +"enum": [ +"JSON_COMPRESSION_UNSPECIFIED", +"NO_COMPRESSION", +"GZIP" +], +"enumDescriptions": [ +"Unspecified json file compression.", +"Do not compress JSON file.", +"Gzip compression." +], +"type": "string" +}, +"schemaFileFormat": { +"description": "The schema file format along JSON data files.", +"enum": [ +"SCHEMA_FILE_FORMAT_UNSPECIFIED", +"NO_SCHEMA_FILE", +"AVRO_SCHEMA_FILE" +], +"enumDescriptions": [ +"Unspecified schema file format.", +"Do not attach schema file.", +"Avro schema format." +], +"type": "string" +} +}, +"type": "object" +}, +"Link": { +"description": "Describes a URL link.", +"id": "Link", +"properties": { +"description": { +"description": "Describes what the link offers.", +"type": "string" +}, +"url": { +"description": "The URL of the link.", +"type": "string" +} +}, +"type": "object" +}, +"ListConnectionProfilesResponse": { +"description": "Response message for listing connection profiles.", +"id": "ListConnectionProfilesResponse", +"properties": { +"connectionProfiles": { +"description": "List of connection profiles.", +"items": { +"$ref": "ConnectionProfile" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.", +"type": "string" +}, +"unreachable": { +"description": "Locations that could not be reached.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListLocationsResponse": { +"description": "The response message for Locations.ListLocations.", +"id": "ListLocationsResponse", +"properties": { +"locations": { +"description": "A list of locations that matches the specified filter in the request.", +"items": { +"$ref": "Location" +}, +"type": "array" +}, +"nextPageToken": { +"description": "The standard List next-page token.", +"type": "string" +} +}, +"type": "object" +}, +"ListOperationsResponse": { +"description": "The response message for Operations.ListOperations.", +"id": "ListOperationsResponse", +"properties": { +"nextPageToken": { +"description": "The standard List next-page token.", +"type": "string" +}, +"operations": { +"description": "A list of operations that matches the specified filter in the request.", +"items": { +"$ref": "Operation" +}, +"type": "array" +}, +"unreachable": { +"description": "Unordered list. Unreachable resources. Populated when the request sets `ListOperationsRequest.return_partial_success` and reads across collections. For example, when attempting to list all resources across all supported locations.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListPrivateConnectionsResponse": { +"description": "Response containing a list of private connection configurations.", +"id": "ListPrivateConnectionsResponse", +"properties": { +"nextPageToken": { +"description": "A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.", +"type": "string" +}, +"privateConnections": { +"description": "List of private connectivity configurations.", +"items": { +"$ref": "PrivateConnection" +}, +"type": "array" +}, +"unreachable": { +"description": "Locations that could not be reached.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListRoutesResponse": { +"description": "Route list response.", +"id": "ListRoutesResponse", +"properties": { +"nextPageToken": { +"description": "A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.", +"type": "string" +}, +"routes": { +"description": "List of Routes.", +"items": { +"$ref": "Route" +}, +"type": "array" +}, +"unreachable": { +"description": "Locations that could not be reached.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListStreamObjectsResponse": { +"description": "Response containing the objects for a stream.", +"id": "ListStreamObjectsResponse", +"properties": { +"nextPageToken": { +"description": "A token, which can be sent as `page_token` to retrieve the next page.", +"type": "string" +}, +"streamObjects": { +"description": "List of stream objects.", +"items": { +"$ref": "StreamObject" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListStreamsResponse": { +"description": "Response message for listing streams.", +"id": "ListStreamsResponse", +"properties": { +"nextPageToken": { +"description": "A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.", +"type": "string" +}, +"streams": { +"description": "List of streams", +"items": { +"$ref": "Stream" +}, +"type": "array" +}, +"unreachable": { +"description": "Locations that could not be reached.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"LocalizedMessage": { +"description": "Provides a localized error message that is safe to return to the user which can be attached to an RPC error.", +"id": "LocalizedMessage", +"properties": { +"locale": { +"description": "The locale used following the specification defined at https://www.rfc-editor.org/rfc/bcp/bcp47.txt. Examples are: \"en-US\", \"fr-CH\", \"es-MX\"", +"type": "string" +}, +"message": { +"description": "The localized error message in the above locale.", +"type": "string" +} +}, +"type": "object" +}, +"Location": { +"description": "A resource that represents a Google Cloud location.", +"id": "Location", +"properties": { +"displayName": { +"description": "The friendly name for this location, typically a nearby city name. For example, \"Tokyo\".", +"type": "string" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Cross-service attributes for the location. For example {\"cloud.googleapis.com/region\": \"us-east1\"}", +"type": "object" +}, +"locationId": { +"description": "The canonical id for this location. For example: `\"us-east1\"`.", +"type": "string" +}, +"metadata": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "Service-specific metadata. For example the available capacity at the given location.", +"type": "object" +}, +"name": { +"description": "Resource name for the location, which may vary between implementations. For example: `\"projects/example-project/locations/us-east1\"`", +"type": "string" +} +}, +"type": "object" +}, +"LogFileDirectories": { +"description": "Configuration to specify the Oracle directories to access the log files.", +"id": "LogFileDirectories", +"properties": { +"archivedLogDirectory": { +"description": "Required. Oracle directory for archived logs.", +"type": "string" +}, +"onlineLogDirectory": { +"description": "Required. Oracle directory for online logs.", +"type": "string" +} +}, +"type": "object" +}, +"LogMiner": { +"description": "Configuration to use LogMiner CDC method.", +"id": "LogMiner", +"properties": {}, +"type": "object" +}, +"LookupStreamObjectRequest": { +"description": "Request for looking up a specific stream object by its source object identifier.", +"id": "LookupStreamObjectRequest", +"properties": { +"sourceObjectIdentifier": { +"$ref": "SourceObjectIdentifier", +"description": "Required. The source object identifier which maps to the stream object." +} +}, +"type": "object" +}, +"Merge": { +"description": "Merge mode defines that all changes to a table will be merged at the destination table.", +"id": "Merge", +"properties": {}, +"type": "object" +}, +"MongodbChangeStreamPosition": { +"description": "MongoDB change stream position", +"id": "MongodbChangeStreamPosition", +"properties": { +"startTime": { +"description": "Required. The timestamp to start change stream from.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"MongodbCluster": { +"description": "MongoDB Cluster structure.", +"id": "MongodbCluster", +"properties": { +"databases": { +"description": "MongoDB databases in the cluster.", +"items": { +"$ref": "MongodbDatabase" +}, +"type": "array" +} +}, +"type": "object" +}, +"MongodbCollection": { +"description": "MongoDB Collection.", +"id": "MongodbCollection", +"properties": { +"collection": { +"description": "The collection name.", +"type": "string" +}, +"fields": { +"description": "Fields in the collection.", +"items": { +"$ref": "MongodbField" +}, +"type": "array" +} +}, +"type": "object" +}, +"MongodbDatabase": { +"description": "MongoDB Database.", +"id": "MongodbDatabase", +"properties": { +"collections": { +"description": "Collections in the database.", +"items": { +"$ref": "MongodbCollection" +}, +"type": "array" +}, +"database": { +"description": "The database name.", +"type": "string" +} +}, +"type": "object" +}, +"MongodbField": { +"description": "MongoDB Field.", +"id": "MongodbField", +"properties": { +"field": { +"description": "The field name.", +"type": "string" +} +}, +"type": "object" +}, +"MongodbObjectIdentifier": { +"description": "MongoDB data source object identifier.", +"id": "MongodbObjectIdentifier", +"properties": { +"collection": { +"description": "Required. The collection name.", +"type": "string" +}, +"database": { +"description": "Required. The database name.", +"type": "string" +} +}, +"type": "object" +}, +"MongodbProfile": { +"description": "Profile for connecting to a MongoDB source.", +"id": "MongodbProfile", +"properties": { +"additionalOptions": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. Specifies additional options for the MongoDB connection. The options should be sent as key-value pairs, for example: `additional_options = {\"serverSelectionTimeoutMS\": \"10000\", \"directConnection\": \"true\"}`. Keys are case-sensitive and should match the official MongoDB connection string options: https://www.mongodb.com/docs/manual/reference/connection-string-options/ The server will not modify the values provided by the user.", +"type": "object" +}, +"hostAddresses": { +"description": "Required. List of host addresses for a MongoDB cluster. For SRV connection format, this list must contain exactly one DNS host without a port. For Standard connection format, this list must contain all the required hosts in the cluster with their respective ports.", +"items": { +"$ref": "HostAddress" +}, +"type": "array" +}, +"password": { +"description": "Optional. Password for the MongoDB connection. Mutually exclusive with the `secret_manager_stored_password` field.", +"type": "string" +}, +"replicaSet": { +"description": "Optional. Name of the replica set. Only needed for self hosted replica set type MongoDB cluster. For SRV connection format, this field must be empty. For Standard connection format, this field must be specified.", +"type": "string" +}, +"secretManagerStoredPassword": { +"description": "Optional. A reference to a Secret Manager resource name storing the SQLServer connection password. Mutually exclusive with the `password` field.", +"type": "string" +}, +"srvConnectionFormat": { +"$ref": "SrvConnectionFormat", +"description": "Srv connection format." +}, +"sslConfig": { +"$ref": "MongodbSslConfig", +"description": "Optional. SSL configuration for the MongoDB connection." +}, +"standardConnectionFormat": { +"$ref": "StandardConnectionFormat", +"description": "Standard connection format." +}, +"username": { +"description": "Required. Username for the MongoDB connection.", +"type": "string" +} +}, +"type": "object" +}, +"MongodbSourceConfig": { +"description": "Configuration for syncing data from a MongoDB source.", +"id": "MongodbSourceConfig", +"properties": { +"excludeObjects": { +"$ref": "MongodbCluster", +"description": "The MongoDB collections to exclude from the stream." +}, +"includeObjects": { +"$ref": "MongodbCluster", +"description": "The MongoDB collections to include in the stream." +}, +"jsonMode": { +"description": "Optional. MongoDB JSON mode to use for the stream.", +"enum": [ +"MONGODB_JSON_MODE_UNSPECIFIED", +"STRICT", +"CANONICAL" +], +"enumDescriptions": [ +"Unspecified JSON mode.", +"Strict JSON mode.", +"Canonical JSON mode." +], +"type": "string" +}, +"maxConcurrentBackfillTasks": { +"description": "Optional. Maximum number of concurrent backfill tasks. The number should be non-negative and less than or equal to 50. If not set (or set to 0), the system's default value is used", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"MongodbSslConfig": { +"description": "MongoDB SSL configuration information.", +"id": "MongodbSslConfig", +"properties": { +"caCertificate": { +"description": "Optional. Input only. PEM-encoded certificate of the CA that signed the source database server's certificate.", +"type": "string" +}, +"caCertificateSet": { +"description": "Output only. Indicates whether the ca_certificate field is set.", +"readOnly": true, +"type": "boolean" +}, +"clientCertificate": { +"description": "Optional. Input only. PEM-encoded certificate that will be used by the replica to authenticate against the source database server. If this field is used then the 'client_key' and the 'ca_certificate' fields are mandatory.", +"type": "string" +}, +"clientCertificateSet": { +"description": "Output only. Indicates whether the client_certificate field is set.", +"readOnly": true, +"type": "boolean" +}, +"clientKey": { +"description": "Optional. Input only. PEM-encoded private key associated with the Client Certificate. If this field is used then the 'client_certificate' and the 'ca_certificate' fields are mandatory.", +"type": "string" +}, +"clientKeySet": { +"description": "Output only. Indicates whether the client_key field is set.", +"readOnly": true, +"type": "boolean" +}, +"secretManagerStoredClientKey": { +"description": "Optional. Input only. A reference to a Secret Manager resource name storing the PEM-encoded private key associated with the Client Certificate. If this field is used then the 'client_certificate' and the 'ca_certificate' fields are mandatory. Mutually exclusive with the `client_key` field.", +"type": "string" +} +}, +"type": "object" +}, +"MostRecentStartPosition": { +"description": "CDC strategy to start replicating from the most recent position in the source.", +"id": "MostRecentStartPosition", +"properties": {}, +"type": "object" +}, +"MysqlColumn": { +"description": "MySQL Column.", +"id": "MysqlColumn", +"properties": { +"collation": { +"description": "Column collation.", +"type": "string" +}, +"column": { +"description": "The column name.", +"type": "string" +}, +"dataType": { +"description": "The MySQL data type. Full data types list can be found here: https://dev.mysql.com/doc/refman/8.0/en/data-types.html", +"type": "string" +}, +"length": { +"description": "Column length.", +"format": "int32", +"type": "integer" +}, +"nullable": { +"description": "Whether or not the column can accept a null value.", +"type": "boolean" +}, +"ordinalPosition": { +"description": "The ordinal position of the column in the table.", +"format": "int32", +"type": "integer" +}, +"precision": { +"description": "Column precision.", +"format": "int32", +"type": "integer" +}, +"primaryKey": { +"description": "Whether or not the column represents a primary key.", +"type": "boolean" +}, +"scale": { +"description": "Column scale.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"MysqlDatabase": { +"description": "MySQL database.", +"id": "MysqlDatabase", +"properties": { +"database": { +"description": "The database name.", +"type": "string" +}, +"mysqlTables": { +"description": "Tables in the database.", +"items": { +"$ref": "MysqlTable" +}, +"type": "array" +} +}, +"type": "object" +}, +"MysqlGtidPosition": { +"description": "MySQL GTID position", +"id": "MysqlGtidPosition", +"properties": { +"gtidSet": { +"description": "Required. The gtid set to start replication from.", +"type": "string" +} +}, +"type": "object" +}, +"MysqlLogPosition": { +"description": "MySQL log position", +"id": "MysqlLogPosition", +"properties": { +"logFile": { +"description": "Required. The binary log file name.", +"type": "string" +}, +"logPosition": { +"description": "Optional. The position within the binary log file. Default is head of file.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"MysqlObjectIdentifier": { +"description": "Mysql data source object identifier.", +"id": "MysqlObjectIdentifier", +"properties": { +"database": { +"description": "Required. The database name.", +"type": "string" +}, +"table": { +"description": "Required. The table name.", +"type": "string" +} +}, +"type": "object" +}, +"MysqlProfile": { +"description": "Profile for connecting to a MySQL source.", +"id": "MysqlProfile", +"properties": { +"hostname": { +"description": "Required. Hostname for the MySQL connection.", +"type": "string" +}, +"password": { +"description": "Optional. Input only. Password for the MySQL connection. Mutually exclusive with the `secret_manager_stored_password` field.", +"type": "string" +}, +"port": { +"description": "Port for the MySQL connection, default value is 3306.", +"format": "int32", +"type": "integer" +}, +"secretManagerStoredPassword": { +"description": "Optional. A reference to a Secret Manager resource name storing the MySQL connection password. Mutually exclusive with the `password` field.", +"type": "string" +}, +"sslConfig": { +"$ref": "MysqlSslConfig", +"description": "SSL configuration for the MySQL connection." +}, +"username": { +"description": "Required. Username for the MySQL connection.", +"type": "string" +} +}, +"type": "object" +}, +"MysqlRdbms": { +"description": "MySQL database structure", +"id": "MysqlRdbms", +"properties": { +"mysqlDatabases": { +"description": "Mysql databases on the server", +"items": { +"$ref": "MysqlDatabase" +}, +"type": "array" +} +}, +"type": "object" +}, +"MysqlSourceConfig": { +"description": "Configuration for syncing data from a MySQL source.", +"id": "MysqlSourceConfig", +"properties": { +"binaryLogPosition": { +"$ref": "BinaryLogPosition", +"description": "Use Binary log position based replication." +}, +"excludeObjects": { +"$ref": "MysqlRdbms", +"description": "The MySQL objects to exclude from the stream." +}, +"gtid": { +"$ref": "Gtid", +"description": "Use GTID based replication." +}, +"includeObjects": { +"$ref": "MysqlRdbms", +"description": "The MySQL objects to retrieve from the source." +}, +"maxConcurrentBackfillTasks": { +"description": "Maximum number of concurrent backfill tasks. The number should be non negative. If not set (or set to 0), the system's default value will be used.", +"format": "int32", +"type": "integer" +}, +"maxConcurrentCdcTasks": { +"description": "Maximum number of concurrent CDC tasks. The number should be non negative. If not set (or set to 0), the system's default value will be used.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"MysqlSslConfig": { +"description": "MySQL SSL configuration information.", +"id": "MysqlSslConfig", +"properties": { +"caCertificate": { +"description": "Input only. PEM-encoded certificate of the CA that signed the source database server's certificate.", +"type": "string" +}, +"caCertificateSet": { +"description": "Output only. Indicates whether the ca_certificate field is set.", +"readOnly": true, +"type": "boolean" +}, +"clientCertificate": { +"description": "Optional. Input only. PEM-encoded certificate that will be used by the replica to authenticate against the source database server. If this field is used then the 'client_key' and the 'ca_certificate' fields are mandatory.", +"type": "string" +}, +"clientCertificateSet": { +"description": "Output only. Indicates whether the client_certificate field is set.", +"readOnly": true, +"type": "boolean" +}, +"clientKey": { +"description": "Optional. Input only. PEM-encoded private key associated with the Client Certificate. If this field is used then the 'client_certificate' and the 'ca_certificate' fields are mandatory.", +"type": "string" +}, +"clientKeySet": { +"description": "Output only. Indicates whether the client_key field is set.", +"readOnly": true, +"type": "boolean" +} +}, +"type": "object" +}, +"MysqlTable": { +"description": "MySQL table.", +"id": "MysqlTable", +"properties": { +"mysqlColumns": { +"description": "MySQL columns in the database. When unspecified as part of include/exclude objects, includes/excludes everything.", +"items": { +"$ref": "MysqlColumn" +}, +"type": "array" +}, +"table": { +"description": "The table name.", +"type": "string" +} +}, +"type": "object" +}, +"NextAvailableStartPosition": { +"description": "CDC strategy to resume replication from the next available position in the source.", +"id": "NextAvailableStartPosition", +"properties": {}, +"type": "object" +}, +"Oauth2ClientCredentials": { +"description": "OAuth2 Client Credentials.", +"id": "Oauth2ClientCredentials", +"properties": { +"clientId": { +"description": "Required. Client ID for Salesforce OAuth2 Client Credentials.", +"type": "string" +}, +"clientSecret": { +"description": "Optional. Client secret for Salesforce OAuth2 Client Credentials. Mutually exclusive with the `secret_manager_stored_client_secret` field.", +"type": "string" +}, +"secretManagerStoredClientSecret": { +"description": "Optional. A reference to a Secret Manager resource name storing the Salesforce OAuth2 client_secret. Mutually exclusive with the `client_secret` field.", +"type": "string" +} +}, +"type": "object" +}, +"ObjectFilter": { +"description": "Object filter to apply the rules to.", +"id": "ObjectFilter", +"properties": { +"sourceObjectIdentifier": { +"$ref": "SourceObjectIdentifier", +"description": "Specific source object identifier." +} +}, +"type": "object" +}, +"Operation": { +"description": "This resource represents a long-running operation that is the result of a network API call.", +"id": "Operation", +"properties": { +"done": { +"description": "If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.", +"type": "boolean" +}, +"error": { +"$ref": "Status", +"description": "The error result of the operation in case of failure or cancellation." +}, +"metadata": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.", +"type": "object" +}, +"name": { +"description": "The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.", +"type": "string" +}, +"response": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "The normal, successful response of the operation. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.", +"type": "object" +} +}, +"type": "object" +}, +"OperationMetadata": { +"description": "Represents the metadata of the long-running operation.", +"id": "OperationMetadata", +"properties": { +"apiVersion": { +"description": "Output only. API version used to start the operation.", +"readOnly": true, +"type": "string" +}, +"createTime": { +"description": "Output only. The time the operation was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"endTime": { +"description": "Output only. The time the operation finished running.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"requestedCancellation": { +"description": "Output only. Identifies whether the user has requested cancellation of the operation. Operations that have successfully been cancelled have google.longrunning.Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.", +"readOnly": true, +"type": "boolean" +}, +"statusMessage": { +"description": "Output only. Human-readable status of the operation, if any.", +"readOnly": true, +"type": "string" +}, +"target": { +"description": "Output only. Server-defined resource path for the target of the operation.", +"readOnly": true, +"type": "string" +}, +"validationResult": { +"$ref": "ValidationResult", +"description": "Output only. Results of executed validations if there are any.", +"readOnly": true +}, +"verb": { +"description": "Output only. Name of the verb executed by the operation.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"OracleAsmConfig": { +"description": "Configuration for Oracle Automatic Storage Management (ASM) connection.", +"id": "OracleAsmConfig", +"properties": { +"asmService": { +"description": "Required. ASM service name for the Oracle ASM connection.", +"type": "string" +}, +"connectionAttributes": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. Connection string attributes", +"type": "object" +}, +"hostname": { +"description": "Required. Hostname for the Oracle ASM connection.", +"type": "string" +}, +"oracleSslConfig": { +"$ref": "OracleSslConfig", +"description": "Optional. SSL configuration for the Oracle connection." +}, +"password": { +"description": "Optional. Password for the Oracle ASM connection. Mutually exclusive with the `secret_manager_stored_password` field.", +"type": "string" +}, +"port": { +"description": "Required. Port for the Oracle ASM connection.", +"format": "int32", +"type": "integer" +}, +"secretManagerStoredPassword": { +"description": "Optional. A reference to a Secret Manager resource name storing the Oracle ASM connection password. Mutually exclusive with the `password` field.", +"type": "string" +}, +"username": { +"description": "Required. Username for the Oracle ASM connection.", +"type": "string" +} +}, +"type": "object" +}, +"OracleAsmLogFileAccess": { +"description": "Configuration to use Oracle ASM to access the log files.", +"id": "OracleAsmLogFileAccess", +"properties": {}, +"type": "object" +}, +"OracleColumn": { +"description": "Oracle Column.", +"id": "OracleColumn", +"properties": { +"column": { +"description": "The column name.", +"type": "string" +}, +"dataType": { +"description": "The Oracle data type.", +"type": "string" +}, +"encoding": { +"description": "Column encoding.", +"type": "string" +}, +"length": { +"description": "Column length.", +"format": "int32", +"type": "integer" +}, +"nullable": { +"description": "Whether or not the column can accept a null value.", +"type": "boolean" +}, +"ordinalPosition": { +"description": "The ordinal position of the column in the table.", +"format": "int32", +"type": "integer" +}, +"precision": { +"description": "Column precision.", +"format": "int32", +"type": "integer" +}, +"primaryKey": { +"description": "Whether or not the column represents a primary key.", +"type": "boolean" +}, +"scale": { +"description": "Column scale.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"OracleObjectIdentifier": { +"description": "Oracle data source object identifier.", +"id": "OracleObjectIdentifier", +"properties": { +"schema": { +"description": "Required. The schema name.", +"type": "string" +}, +"table": { +"description": "Required. The table name.", +"type": "string" +} +}, +"type": "object" +}, +"OracleProfile": { +"description": "Profile for connecting to an Oracle source.", +"id": "OracleProfile", +"properties": { +"connectionAttributes": { +"additionalProperties": { +"type": "string" +}, +"description": "Connection string attributes", +"type": "object" +}, +"databaseService": { +"description": "Required. Database for the Oracle connection.", +"type": "string" +}, +"hostname": { +"description": "Required. Hostname for the Oracle connection.", +"type": "string" +}, +"oracleAsmConfig": { +"$ref": "OracleAsmConfig", +"description": "Optional. Configuration for Oracle ASM connection." +}, +"oracleSslConfig": { +"$ref": "OracleSslConfig", +"description": "Optional. SSL configuration for the Oracle connection." +}, +"password": { +"description": "Optional. Password for the Oracle connection. Mutually exclusive with the `secret_manager_stored_password` field.", +"type": "string" +}, +"port": { +"description": "Port for the Oracle connection, default value is 1521.", +"format": "int32", +"type": "integer" +}, +"secretManagerStoredPassword": { +"description": "Optional. A reference to a Secret Manager resource name storing the Oracle connection password. Mutually exclusive with the `password` field.", +"type": "string" +}, +"username": { +"description": "Required. Username for the Oracle connection.", +"type": "string" +} +}, +"type": "object" +}, +"OracleRdbms": { +"description": "Oracle database structure.", +"id": "OracleRdbms", +"properties": { +"oracleSchemas": { +"description": "Oracle schemas/databases in the database server.", +"items": { +"$ref": "OracleSchema" +}, +"type": "array" +} +}, +"type": "object" +}, +"OracleSchema": { +"description": "Oracle schema.", +"id": "OracleSchema", +"properties": { +"oracleTables": { +"description": "Tables in the schema.", +"items": { +"$ref": "OracleTable" +}, +"type": "array" +}, +"schema": { +"description": "The schema name.", +"type": "string" +} +}, +"type": "object" +}, +"OracleScnPosition": { +"description": "Oracle SCN position", +"id": "OracleScnPosition", +"properties": { +"scn": { +"description": "Required. SCN number from where Logs will be read", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"OracleSourceConfig": { +"description": "Configuration for syncing data from an Oracle source.", +"id": "OracleSourceConfig", +"properties": { +"binaryLogParser": { +"$ref": "BinaryLogParser", +"description": "Use Binary Log Parser." +}, +"dropLargeObjects": { +"$ref": "DropLargeObjects", +"description": "Drop large object values." +}, +"excludeObjects": { +"$ref": "OracleRdbms", +"description": "The Oracle objects to exclude from the stream." +}, +"includeObjects": { +"$ref": "OracleRdbms", +"description": "The Oracle objects to include in the stream." +}, +"logMiner": { +"$ref": "LogMiner", +"description": "Use LogMiner." +}, +"maxConcurrentBackfillTasks": { +"description": "Maximum number of concurrent backfill tasks. The number should be non-negative. If not set (or set to 0), the system's default value is used.", +"format": "int32", +"type": "integer" +}, +"maxConcurrentCdcTasks": { +"description": "Maximum number of concurrent CDC tasks. The number should be non-negative. If not set (or set to 0), the system's default value is used.", +"format": "int32", +"type": "integer" +}, +"streamLargeObjects": { +"$ref": "StreamLargeObjects", +"description": "Stream large object values." +} +}, +"type": "object" +}, +"OracleSslConfig": { +"description": "Oracle SSL configuration information.", +"id": "OracleSslConfig", +"properties": { +"caCertificate": { +"description": "Input only. PEM-encoded certificate of the CA that signed the source database server's certificate.", +"type": "string" +}, +"caCertificateSet": { +"description": "Output only. Indicates whether the ca_certificate field has been set for this Connection-Profile.", +"readOnly": true, +"type": "boolean" +}, +"serverCertificateDistinguishedName": { +"description": "Optional. The distinguished name (DN) mentioned in the server certificate. This corresponds to SSL_SERVER_CERT_DN sqlnet parameter. Refer https://docs.oracle.com/en/database/oracle/oracle-database/19/netrf/local-naming-parameters-in-tns-ora-file.html#GUID-70AB0695-A9AA-4A94-B141-4C605236EEB7 If this field is not provided, the DN matching is not enforced.", +"type": "string" +} +}, +"type": "object" +}, +"OracleTable": { +"description": "Oracle table.", +"id": "OracleTable", +"properties": { +"oracleColumns": { +"description": "Oracle columns in the schema. When unspecified as part of include/exclude objects, includes/excludes everything.", +"items": { +"$ref": "OracleColumn" +}, +"type": "array" +}, +"table": { +"description": "The table name.", +"type": "string" +} +}, +"type": "object" +}, +"PostgresqlColumn": { +"description": "PostgreSQL Column.", +"id": "PostgresqlColumn", +"properties": { +"column": { +"description": "The column name.", +"type": "string" +}, +"dataType": { +"description": "The PostgreSQL data type.", +"type": "string" +}, +"length": { +"description": "Column length.", +"format": "int32", +"type": "integer" +}, +"nullable": { +"description": "Whether or not the column can accept a null value.", +"type": "boolean" +}, +"ordinalPosition": { +"description": "The ordinal position of the column in the table.", +"format": "int32", +"type": "integer" +}, +"precision": { +"description": "Column precision.", +"format": "int32", +"type": "integer" +}, +"primaryKey": { +"description": "Whether or not the column represents a primary key.", +"type": "boolean" +}, +"scale": { +"description": "Column scale.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"PostgresqlObjectIdentifier": { +"description": "PostgreSQL data source object identifier.", +"id": "PostgresqlObjectIdentifier", +"properties": { +"schema": { +"description": "Required. The schema name.", +"type": "string" +}, +"table": { +"description": "Required. The table name.", +"type": "string" +} +}, +"type": "object" +}, +"PostgresqlProfile": { +"description": "Profile for connecting to a PostgreSQL source.", +"id": "PostgresqlProfile", +"properties": { +"database": { +"description": "Required. Database for the PostgreSQL connection.", +"type": "string" +}, +"hostname": { +"description": "Required. Hostname for the PostgreSQL connection.", +"type": "string" +}, +"password": { +"description": "Optional. Password for the PostgreSQL connection. Mutually exclusive with the `secret_manager_stored_password` field.", +"type": "string" +}, +"port": { +"description": "Port for the PostgreSQL connection, default value is 5432.", +"format": "int32", +"type": "integer" +}, +"secretManagerStoredPassword": { +"description": "Optional. A reference to a Secret Manager resource name storing the PostgreSQL connection password. Mutually exclusive with the `password` field.", +"type": "string" +}, +"sslConfig": { +"$ref": "PostgresqlSslConfig", +"description": "Optional. SSL configuration for the PostgreSQL connection. In case PostgresqlSslConfig is not set, the connection will use the default SSL mode, which is `prefer` (i.e. this mode will only use encryption if enabled from database side, otherwise will use unencrypted communication)" +}, +"username": { +"description": "Required. Username for the PostgreSQL connection.", +"type": "string" +} +}, +"type": "object" +}, +"PostgresqlRdbms": { +"description": "PostgreSQL database structure.", +"id": "PostgresqlRdbms", +"properties": { +"postgresqlSchemas": { +"description": "PostgreSQL schemas in the database server.", +"items": { +"$ref": "PostgresqlSchema" +}, +"type": "array" +} +}, +"type": "object" +}, +"PostgresqlSchema": { +"description": "PostgreSQL schema.", +"id": "PostgresqlSchema", +"properties": { +"postgresqlTables": { +"description": "Tables in the schema.", +"items": { +"$ref": "PostgresqlTable" +}, +"type": "array" +}, +"schema": { +"description": "The schema name.", +"type": "string" +} +}, +"type": "object" +}, +"PostgresqlSourceConfig": { +"description": "Configuration for syncing data from a PostgreSQL source.", +"id": "PostgresqlSourceConfig", +"properties": { +"excludeObjects": { +"$ref": "PostgresqlRdbms", +"description": "The PostgreSQL objects to exclude from the stream." +}, +"includeObjects": { +"$ref": "PostgresqlRdbms", +"description": "The PostgreSQL objects to include in the stream." +}, +"maxConcurrentBackfillTasks": { +"description": "Maximum number of concurrent backfill tasks. The number should be non negative. If not set (or set to 0), the system's default value will be used.", +"format": "int32", +"type": "integer" +}, +"publication": { +"description": "Required. The name of the publication that includes the set of all tables that are defined in the stream's include_objects.", +"type": "string" +}, +"replicationSlot": { +"description": "Required. Immutable. The name of the logical replication slot that's configured with the pgoutput plugin.", +"type": "string" +} +}, +"type": "object" +}, +"PostgresqlSslConfig": { +"description": "PostgreSQL SSL configuration information.", +"id": "PostgresqlSslConfig", +"properties": { +"serverAndClientVerification": { +"$ref": "ServerAndClientVerification", +"description": "If this field is set, the communication will be encrypted with TLS encryption and both the server identity and the client identity will be authenticated." +}, +"serverVerification": { +"$ref": "ServerVerification", +"description": " If this field is set, the communication will be encrypted with TLS encryption and the server identity will be authenticated." +} +}, +"type": "object" +}, +"PostgresqlTable": { +"description": "PostgreSQL table.", +"id": "PostgresqlTable", +"properties": { +"postgresqlColumns": { +"description": "PostgreSQL columns in the schema. When unspecified as part of include/exclude objects, includes/excludes everything.", +"items": { +"$ref": "PostgresqlColumn" +}, +"type": "array" +}, +"table": { +"description": "The table name.", +"type": "string" +} +}, +"type": "object" +}, +"PreconditionFailure": { +"description": "Describes what preconditions have failed. For example, if an RPC failed because it required the Terms of Service to be acknowledged, it could list the terms of service violation in the PreconditionFailure message.", +"id": "PreconditionFailure", +"properties": { +"violations": { +"description": "Describes all precondition violations.", +"items": { +"$ref": "PreconditionFailureViolation" +}, +"type": "array" +} +}, +"type": "object" +}, +"PreconditionFailureViolation": { +"description": "A message type used to describe a single precondition failure.", +"id": "PreconditionFailureViolation", +"properties": { +"description": { +"description": "A description of how the precondition failed. Developers can use this description to understand how to fix the failure. For example: \"Terms of service not accepted\".", +"type": "string" +}, +"subject": { +"description": "The subject, relative to the type, that failed. For example, \"google.com/cloud\" relative to the \"TOS\" type would indicate which terms of service is being referenced.", +"type": "string" +}, +"type": { +"description": "The type of PreconditionFailure. We recommend using a service-specific enum type to define the supported precondition violation subjects. For example, \"TOS\" for \"Terms of Service violation\".", +"type": "string" +} +}, +"type": "object" +}, +"PrivateConnection": { +"description": "The PrivateConnection resource is used to establish private connectivity between Datastream and a customer's network.", +"id": "PrivateConnection", +"properties": { +"createTime": { +"description": "Output only. The create time of the resource.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"displayName": { +"description": "Required. Display name.", +"type": "string" +}, +"error": { +"$ref": "Error", +"description": "Output only. In case of error, the details of the error in a user-friendly format.", +"readOnly": true +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Labels.", +"type": "object" +}, +"name": { +"description": "Output only. Identifier. The resource's name.", +"readOnly": true, +"type": "string" +}, +"pscInterfaceConfig": { +"$ref": "PscInterfaceConfig", +"description": "PSC Interface Config." +}, +"satisfiesPzi": { +"description": "Output only. Reserved for future use.", +"readOnly": true, +"type": "boolean" +}, +"satisfiesPzs": { +"description": "Output only. Reserved for future use.", +"readOnly": true, +"type": "boolean" +}, +"state": { +"description": "Output only. The state of the Private Connection.", +"enum": [ +"STATE_UNSPECIFIED", +"CREATING", +"CREATED", +"FAILED", +"DELETING", +"FAILED_TO_DELETE" +], +"enumDescriptions": [ +"Unspecified state.", +"The private connection is in creation state - creating resources.", +"The private connection has been created with all of its resources.", +"The private connection creation has failed.", +"The private connection is being deleted.", +"Delete request has failed, resource is in invalid state." +], +"readOnly": true, +"type": "string" +}, +"updateTime": { +"description": "Output only. The update time of the resource.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"vpcPeeringConfig": { +"$ref": "VpcPeeringConfig", +"description": "VPC Peering Config." +} +}, +"type": "object" +}, +"PrivateConnectivity": { +"description": "Private Connectivity", +"id": "PrivateConnectivity", +"properties": { +"privateConnection": { +"description": "Required. A reference to a private connection resource. Format: `projects/{project}/locations/{location}/privateConnections/{name}`", +"type": "string" +} +}, +"type": "object" +}, +"PscInterfaceConfig": { +"description": "The PSC Interface configuration is used to create PSC Interface between Datastream and the consumer's PSC.", +"id": "PscInterfaceConfig", +"properties": { +"networkAttachment": { +"description": "Required. Fully qualified name of the Network Attachment that Datastream will connect to. Format: `projects/{project}/regions/{region}/networkAttachments/{name}`", +"type": "string" +} +}, +"type": "object" +}, +"QuotaFailure": { +"description": "Describes how a quota check failed. For example if a daily limit was exceeded for the calling project, a service could respond with a QuotaFailure detail containing the project id and the description of the quota limit that was exceeded. If the calling project hasn't enabled the service in the developer console, then a service could respond with the project id and set `service_disabled` to true. Also see RetryInfo and Help types for other details about handling a quota failure.", +"id": "QuotaFailure", +"properties": { +"violations": { +"description": "Describes all quota violations.", +"items": { +"$ref": "QuotaFailureViolation" +}, +"type": "array" +} +}, +"type": "object" +}, +"QuotaFailureViolation": { +"description": "A message type used to describe a single quota violation. For example, a daily quota or a custom quota that was exceeded.", +"id": "QuotaFailureViolation", +"properties": { +"apiService": { +"description": "The API Service from which the `QuotaFailure.Violation` orginates. In some cases, Quota issues originate from an API Service other than the one that was called. In other words, a dependency of the called API Service could be the cause of the `QuotaFailure`, and this field would have the dependency API service name. For example, if the called API is Kubernetes Engine API (container.googleapis.com), and a quota violation occurs in the Kubernetes Engine API itself, this field would be \"container.googleapis.com\". On the other hand, if the quota violation occurs when the Kubernetes Engine API creates VMs in the Compute Engine API (compute.googleapis.com), this field would be \"compute.googleapis.com\".", +"type": "string" +}, +"description": { +"description": "A description of how the quota check failed. Clients can use this description to find more about the quota configuration in the service's public documentation, or find the relevant quota limit to adjust through developer console. For example: \"Service disabled\" or \"Daily Limit for read operations exceeded\".", +"type": "string" +}, +"futureQuotaValue": { +"description": "The new quota value being rolled out at the time of the violation. At the completion of the rollout, this value will be enforced in place of quota_value. If no rollout is in progress at the time of the violation, this field is not set. For example, if at the time of the violation a rollout is in progress changing the number of CPUs quota from 10 to 20, 20 would be the value of this field.", +"format": "int64", +"type": "string" +}, +"quotaDimensions": { +"additionalProperties": { +"type": "string" +}, +"description": "The dimensions of the violated quota. Every non-global quota is enforced on a set of dimensions. While quota metric defines what to count, the dimensions specify for what aspects the counter should be increased. For example, the quota \"CPUs per region per VM family\" enforces a limit on the metric \"compute.googleapis.com/cpus_per_vm_family\" on dimensions \"region\" and \"vm_family\". And if the violation occurred in region \"us-central1\" and for VM family \"n1\", the quota_dimensions would be, { \"region\": \"us-central1\", \"vm_family\": \"n1\", } When a quota is enforced globally, the quota_dimensions would always be empty.", +"type": "object" +}, +"quotaId": { +"description": "The id of the violated quota. Also know as \"limit name\", this is the unique identifier of a quota in the context of an API service. For example, \"CPUS-PER-VM-FAMILY-per-project-region\".", +"type": "string" +}, +"quotaMetric": { +"description": "The metric of the violated quota. A quota metric is a named counter to measure usage, such as API requests or CPUs. When an activity occurs in a service, such as Virtual Machine allocation, one or more quota metrics may be affected. For example, \"compute.googleapis.com/cpus_per_vm_family\", \"storage.googleapis.com/internet_egress_bandwidth\".", +"type": "string" +}, +"quotaValue": { +"description": "The enforced quota value at the time of the `QuotaFailure`. For example, if the enforced quota value at the time of the `QuotaFailure` on the number of CPUs is \"10\", then the value of this field would reflect this quantity.", +"format": "int64", +"type": "string" +}, +"subject": { +"description": "The subject on which the quota check failed. For example, \"clientip:\" or \"project:\".", +"type": "string" +} +}, +"type": "object" +}, +"RequestInfo": { +"description": "Contains metadata about the request that clients can attach when filing a bug or providing other forms of feedback.", +"id": "RequestInfo", +"properties": { +"requestId": { +"description": "An opaque string that should only be interpreted by the service generating it. For example, it can be used to identify requests in the service's logs.", +"type": "string" +}, +"servingData": { +"description": "Any data that was used to serve this request. For example, an encrypted stack trace that can be sent back to the service provider for debugging.", +"type": "string" +} +}, +"type": "object" +}, +"ResourceInfo": { +"description": "Describes the resource that is being accessed.", +"id": "ResourceInfo", +"properties": { +"description": { +"description": "Describes what error is encountered when accessing this resource. For example, updating a cloud project may require the `writer` permission on the developer console project.", +"type": "string" +}, +"owner": { +"description": "The owner of the resource (optional). For example, \"user:\" or \"project:\".", +"type": "string" +}, +"resourceName": { +"description": "The name of the resource being accessed. For example, a shared calendar name: \"example.com_4fghdhgsrgh@group.calendar.google.com\", if the current error is google.rpc.Code.PERMISSION_DENIED.", +"type": "string" +}, +"resourceType": { +"description": "A name for the type of resource being accessed, e.g. \"sql table\", \"cloud storage bucket\", \"file\", \"Google calendar\"; or the type URL of the resource: e.g. \"type.googleapis.com/google.pubsub.v1.Topic\".", +"type": "string" +} +}, +"type": "object" +}, +"RetryInfo": { +"description": "Describes when the clients can retry a failed request. Clients could ignore the recommendation here or retry when this information is missing from error responses. It's always recommended that clients should use exponential backoff when retrying. Clients should wait until `retry_delay` amount of time has passed since receiving the error response before retrying. If retrying requests also fail, clients should use an exponential backoff scheme to gradually increase the delay between retries based on `retry_delay`, until either a maximum number of retries have been reached or a maximum retry delay cap has been reached.", +"id": "RetryInfo", +"properties": { +"retryDelay": { +"description": "Clients should wait at least this long between retrying the same request.", +"format": "google-duration", +"type": "string" +} +}, +"type": "object" +}, +"Route": { +"description": "The route resource is the child of the private connection resource, used for defining a route for a private connection.", +"id": "Route", +"properties": { +"createTime": { +"description": "Output only. The create time of the resource.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"destinationAddress": { +"description": "Required. Destination address for connection", +"type": "string" +}, +"destinationPort": { +"description": "Destination port for connection", +"format": "int32", +"type": "integer" +}, +"displayName": { +"description": "Required. Display name.", +"type": "string" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Labels.", +"type": "object" +}, +"name": { +"description": "Output only. Identifier. The resource's name.", +"readOnly": true, +"type": "string" +}, +"updateTime": { +"description": "Output only. The update time of the resource.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"RuleSet": { +"description": "A set of rules to apply to a set of objects.", +"id": "RuleSet", +"properties": { +"customizationRules": { +"description": "Required. List of customization rules to apply.", +"items": { +"$ref": "CustomizationRule" +}, +"type": "array" +}, +"objectFilter": { +"$ref": "ObjectFilter", +"description": "Required. Object filter to apply the customization rules to." +} +}, +"type": "object" +}, +"RunStreamRequest": { +"description": "Request message for running a stream.", +"id": "RunStreamRequest", +"properties": { +"cdcStrategy": { +"$ref": "CdcStrategy", +"description": "Optional. The CDC strategy of the stream. If not set, the system's default value will be used." +}, +"force": { +"description": "Optional. Update the stream without validating it.", +"type": "boolean" +} +}, +"type": "object" +}, +"SalesforceField": { +"description": "Salesforce field.", +"id": "SalesforceField", +"properties": { +"dataType": { +"description": "The data type.", +"type": "string" +}, +"name": { +"description": "The field name.", +"type": "string" +}, +"nillable": { +"description": "Indicates whether the field can accept nil values.", +"type": "boolean" +} +}, +"type": "object" +}, +"SalesforceObject": { +"description": "Salesforce object.", +"id": "SalesforceObject", +"properties": { +"fields": { +"description": "Salesforce fields. When unspecified as part of include objects, includes everything, when unspecified as part of exclude objects, excludes nothing.", +"items": { +"$ref": "SalesforceField" +}, +"type": "array" +}, +"objectName": { +"description": "The object name.", +"type": "string" +} +}, +"type": "object" +}, +"SalesforceObjectIdentifier": { +"description": "Salesforce data source object identifier.", +"id": "SalesforceObjectIdentifier", +"properties": { +"objectName": { +"description": "Required. The object name.", +"type": "string" +} +}, +"type": "object" +}, +"SalesforceOrg": { +"description": "Salesforce organization structure.", +"id": "SalesforceOrg", +"properties": { +"objects": { +"description": "Salesforce objects in the database server.", +"items": { +"$ref": "SalesforceObject" +}, +"type": "array" +} +}, +"type": "object" +}, +"SalesforceProfile": { +"description": "Profile for connecting to a Salesforce source.", +"id": "SalesforceProfile", +"properties": { +"domain": { +"description": "Required. Domain endpoint for the Salesforce connection.", +"type": "string" +}, +"oauth2ClientCredentials": { +"$ref": "Oauth2ClientCredentials", +"description": "Connected app authentication." +}, +"userCredentials": { +"$ref": "UserCredentials", +"description": "User-password authentication." +} +}, +"type": "object" +}, +"SalesforceSourceConfig": { +"description": "Configuration for syncing data from a Salesforce source.", +"id": "SalesforceSourceConfig", +"properties": { +"excludeObjects": { +"$ref": "SalesforceOrg", +"description": "The Salesforce objects to exclude from the stream." +}, +"includeObjects": { +"$ref": "SalesforceOrg", +"description": "The Salesforce objects to retrieve from the source." +}, +"pollingInterval": { +"description": "Required. Salesforce objects polling interval. The interval at which new changes will be polled for each object. The duration must be from `5 minutes` to `24 hours`, inclusive.", +"format": "google-duration", +"type": "string" +} +}, +"type": "object" +}, +"ServerAndClientVerification": { +"description": "Message represents the option where Datastream will enforce the encryption and authenticate the server identity as well as the client identity. ca_certificate, client_certificate and client_key must be set if user selects this option.", +"id": "ServerAndClientVerification", +"properties": { +"caCertificate": { +"description": "Required. Input only. PEM-encoded server root CA certificate.", +"type": "string" +}, +"clientCertificate": { +"description": "Required. Input only. PEM-encoded certificate used by the source database to authenticate the client identity (i.e., the Datastream's identity). This certificate is signed by either a root certificate trusted by the server or one or more intermediate certificates (which is stored with the leaf certificate) to link the this certificate to the trusted root certificate.", +"type": "string" +}, +"clientKey": { +"description": "Optional. Input only. PEM-encoded private key associated with the client certificate. This value will be used during the SSL/TLS handshake, allowing the PostgreSQL server to authenticate the client's identity, i.e. identity of the Datastream.", +"type": "string" +}, +"serverCertificateHostname": { +"description": "Optional. The hostname mentioned in the Subject or SAN extension of the server certificate. If this field is not provided, the hostname in the server certificate is not validated.", +"type": "string" +} +}, +"type": "object" +}, +"ServerVerification": { +"description": "Message represents the option where Datastream will enforce the encryption and authenticate the server identity. ca_certificate must be set if user selects this option.", +"id": "ServerVerification", +"properties": { +"caCertificate": { +"description": "Required. Input only. PEM-encoded server root CA certificate.", +"type": "string" +}, +"serverCertificateHostname": { +"description": "Optional. The hostname mentioned in the Subject or SAN extension of the server certificate. If this field is not provided, the hostname in the server certificate is not validated.", +"type": "string" +} +}, +"type": "object" +}, +"SingleTargetDataset": { +"description": "A single target dataset to which all data will be streamed.", +"id": "SingleTargetDataset", +"properties": { +"datasetId": { +"description": "The dataset ID of the target dataset. DatasetIds allowed characters: https://cloud.google.com/bigquery/docs/reference/rest/v2/datasets#datasetreference.", +"type": "string" +} +}, +"type": "object" +}, +"SourceConfig": { +"description": "The configuration of the stream source.", +"id": "SourceConfig", +"properties": { +"mongodbSourceConfig": { +"$ref": "MongodbSourceConfig", +"description": "MongoDB data source configuration." +}, +"mysqlSourceConfig": { +"$ref": "MysqlSourceConfig", +"description": "MySQL data source configuration." +}, +"oracleSourceConfig": { +"$ref": "OracleSourceConfig", +"description": "Oracle data source configuration." +}, +"postgresqlSourceConfig": { +"$ref": "PostgresqlSourceConfig", +"description": "PostgreSQL data source configuration." +}, +"salesforceSourceConfig": { +"$ref": "SalesforceSourceConfig", +"description": "Salesforce data source configuration." +}, +"sourceConnectionProfile": { +"description": "Required. Source connection profile resource. Format: `projects/{project}/locations/{location}/connectionProfiles/{name}`", +"type": "string" +}, +"spannerSourceConfig": { +"$ref": "SpannerSourceConfig", +"description": "Spanner data source configuration." +}, +"sqlServerSourceConfig": { +"$ref": "SqlServerSourceConfig", +"description": "SQLServer data source configuration." +} +}, +"type": "object" +}, +"SourceHierarchyDatasets": { +"description": "Destination datasets are created so that hierarchy of the destination data objects matches the source hierarchy.", +"id": "SourceHierarchyDatasets", +"properties": { +"datasetTemplate": { +"$ref": "DatasetTemplate", +"description": "The dataset template to use for dynamic dataset creation." +}, +"projectId": { +"description": "Optional. The project id of the BigQuery dataset. If not specified, the project will be inferred from the stream resource.", +"type": "string" +} +}, +"type": "object" +}, +"SourceObjectIdentifier": { +"description": "Represents an identifier of an object in the data source.", +"id": "SourceObjectIdentifier", +"properties": { +"mongodbIdentifier": { +"$ref": "MongodbObjectIdentifier", +"description": "MongoDB data source object identifier." +}, +"mysqlIdentifier": { +"$ref": "MysqlObjectIdentifier", +"description": "Mysql data source object identifier." +}, +"oracleIdentifier": { +"$ref": "OracleObjectIdentifier", +"description": "Oracle data source object identifier." +}, +"postgresqlIdentifier": { +"$ref": "PostgresqlObjectIdentifier", +"description": "PostgreSQL data source object identifier." +}, +"salesforceIdentifier": { +"$ref": "SalesforceObjectIdentifier", +"description": "Salesforce data source object identifier." +}, +"spannerIdentifier": { +"$ref": "SpannerObjectIdentifier", +"description": "Spanner data source object identifier." +}, +"sqlServerIdentifier": { +"$ref": "SqlServerObjectIdentifier", +"description": "SQLServer data source object identifier." +} +}, +"type": "object" +}, +"SpannerColumn": { +"description": "Spanner column.", +"id": "SpannerColumn", +"properties": { +"column": { +"description": "Required. The column name.", +"type": "string" +}, +"dataType": { +"description": "Optional. Spanner data type.", +"type": "string" +}, +"isPrimaryKey": { +"description": "Optional. Whether or not the column is a primary key.", +"type": "boolean" +}, +"ordinalPosition": { +"description": "Optional. The ordinal position of the column in the table.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"SpannerDatabase": { +"description": "Spanner database structure.", +"id": "SpannerDatabase", +"properties": { +"schemas": { +"description": "Optional. Spanner schemas in the database.", +"items": { +"$ref": "SpannerSchema" +}, +"type": "array" +} +}, +"type": "object" +}, +"SpannerObjectIdentifier": { +"description": "Spanner data source object identifier.", +"id": "SpannerObjectIdentifier", +"properties": { +"schema": { +"description": "Optional. The schema name.", +"type": "string" +}, +"table": { +"description": "Required. The table name.", +"type": "string" +} +}, +"type": "object" +}, +"SpannerProfile": { +"description": "Profile for connecting to a Spanner source.", +"id": "SpannerProfile", +"properties": { +"database": { +"description": "Required. Immutable. Cloud Spanner database resource. This field is immutable. Must be in the format: projects/{project}/instances/{instance}/databases/{database_id}.", +"type": "string" +}, +"host": { +"description": "Optional. The Spanner endpoint to connect to. Defaults to the global endpoint (https://spanner.googleapis.com). Must be in the format: https://spanner.{region}.rep.googleapis.com.", +"type": "string" +} +}, +"type": "object" +}, +"SpannerSchema": { +"description": "Spanner schema.", +"id": "SpannerSchema", +"properties": { +"schema": { +"description": "Required. The schema name.", +"type": "string" +}, +"tables": { +"description": "Optional. Spanner tables in the schema.", +"items": { +"$ref": "SpannerTable" +}, +"type": "array" +} +}, +"type": "object" +}, +"SpannerSourceConfig": { +"description": "Configuration for syncing data from a Spanner source.", +"id": "SpannerSourceConfig", +"properties": { +"backfillDataBoostEnabled": { +"description": "Optional. Whether to use Data Boost for Spanner backfills. Defaults to false if not set.", +"type": "boolean" +}, +"changeStreamName": { +"description": "Required. Immutable. The change stream name to use for the stream.", +"type": "string" +}, +"excludeObjects": { +"$ref": "SpannerDatabase", +"description": "Optional. The Spanner objects to avoid retrieving. If some objects are both included and excluded, an error will be thrown." +}, +"fgacRole": { +"description": "Optional. The FGAC role to use for the stream.", +"type": "string" +}, +"includeObjects": { +"$ref": "SpannerDatabase", +"description": "Optional. The Spanner objects to retrieve from the data source. If some objects are both included and excluded, an error will be thrown." +}, +"maxConcurrentBackfillTasks": { +"description": "Optional. Maximum number of concurrent backfill tasks.", +"format": "int32", +"type": "integer" +}, +"maxConcurrentCdcTasks": { +"description": "Optional. Maximum number of concurrent CDC tasks.", +"format": "int32", +"type": "integer" +}, +"spannerRpcPriority": { +"description": "Optional. The RPC priority to use for the stream.", +"enum": [ +"SPANNER_RPC_PRIORITY_UNSPECIFIED", +"LOW", +"MEDIUM", +"HIGH" +], +"enumDescriptions": [ +"Unspecified RPC priority.", +"Low RPC priority.", +"Medium RPC priority.", +"High RPC priority." +], +"type": "string" +} +}, +"type": "object" +}, +"SpannerTable": { +"description": "Spanner table.", +"id": "SpannerTable", +"properties": { +"columns": { +"description": "Optional. Spanner columns in the table.", +"items": { +"$ref": "SpannerColumn" +}, +"type": "array" +}, +"table": { +"description": "Required. The table name.", +"type": "string" +} +}, +"type": "object" +}, +"SpecificStartPosition": { +"description": "CDC strategy to start replicating from a specific position in the source.", +"id": "SpecificStartPosition", +"properties": { +"mongodbChangeStreamPosition": { +"$ref": "MongodbChangeStreamPosition", +"description": "MongoDB change stream position to start replicating from." +}, +"mysqlGtidPosition": { +"$ref": "MysqlGtidPosition", +"description": "MySQL GTID set to start replicating from." +}, +"mysqlLogPosition": { +"$ref": "MysqlLogPosition", +"description": "MySQL specific log position to start replicating from." +}, +"oracleScnPosition": { +"$ref": "OracleScnPosition", +"description": "Oracle SCN to start replicating from." +}, +"sqlServerLsnPosition": { +"$ref": "SqlServerLsnPosition", +"description": "SqlServer LSN to start replicating from." +} +}, +"type": "object" +}, +"SqlServerChangeTables": { +"description": "Configuration to use Change Tables CDC read method.", +"id": "SqlServerChangeTables", +"properties": {}, +"type": "object" +}, +"SqlServerColumn": { +"description": "SQLServer Column.", +"id": "SqlServerColumn", +"properties": { +"column": { +"description": "The column name.", +"type": "string" +}, +"dataType": { +"description": "The SQLServer data type.", +"type": "string" +}, +"length": { +"description": "Column length.", +"format": "int32", +"type": "integer" +}, +"nullable": { +"description": "Whether or not the column can accept a null value.", +"type": "boolean" +}, +"ordinalPosition": { +"description": "The ordinal position of the column in the table.", +"format": "int32", +"type": "integer" +}, +"precision": { +"description": "Column precision.", +"format": "int32", +"type": "integer" +}, +"primaryKey": { +"description": "Whether or not the column represents a primary key.", +"type": "boolean" +}, +"scale": { +"description": "Column scale.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"SqlServerLsnPosition": { +"description": "SQL Server LSN position", +"id": "SqlServerLsnPosition", +"properties": { +"lsn": { +"description": "Required. Log sequence number (LSN) from where Logs will be read", +"type": "string" +} +}, +"type": "object" +}, +"SqlServerObjectIdentifier": { +"description": "SQLServer data source object identifier.", +"id": "SqlServerObjectIdentifier", +"properties": { +"schema": { +"description": "Required. The schema name.", +"type": "string" +}, +"table": { +"description": "Required. The table name.", +"type": "string" +} +}, +"type": "object" +}, +"SqlServerProfile": { +"description": "Profile for connecting to a SQLServer source.", +"id": "SqlServerProfile", +"properties": { +"database": { +"description": "Required. Database for the SQLServer connection.", +"type": "string" +}, +"hostname": { +"description": "Required. Hostname for the SQLServer connection.", +"type": "string" +}, +"password": { +"description": "Optional. Password for the SQLServer connection. Mutually exclusive with the `secret_manager_stored_password` field.", +"type": "string" +}, +"port": { +"description": "Port for the SQLServer connection, default value is 1433.", +"format": "int32", +"type": "integer" +}, +"secretManagerStoredPassword": { +"description": "Optional. A reference to a Secret Manager resource name storing the SQLServer connection password. Mutually exclusive with the `password` field.", +"type": "string" +}, +"sslConfig": { +"$ref": "SqlServerSslConfig", +"description": "Optional. SSL configuration for the SQLServer connection." +}, +"username": { +"description": "Required. Username for the SQLServer connection.", +"type": "string" +} +}, +"type": "object" +}, +"SqlServerRdbms": { +"description": "SQLServer database structure.", +"id": "SqlServerRdbms", +"properties": { +"schemas": { +"description": "SQLServer schemas in the database server.", +"items": { +"$ref": "SqlServerSchema" +}, +"type": "array" +} +}, +"type": "object" +}, +"SqlServerSchema": { +"description": "SQLServer schema.", +"id": "SqlServerSchema", +"properties": { +"schema": { +"description": "The schema name.", +"type": "string" +}, +"tables": { +"description": "Tables in the schema.", +"items": { +"$ref": "SqlServerTable" +}, +"type": "array" +} +}, +"type": "object" +}, +"SqlServerSourceConfig": { +"description": "Configuration for syncing data from a SQLServer source.", +"id": "SqlServerSourceConfig", +"properties": { +"changeTables": { +"$ref": "SqlServerChangeTables", +"description": "CDC reader reads from change tables." +}, +"excludeObjects": { +"$ref": "SqlServerRdbms", +"description": "The SQLServer objects to exclude from the stream." +}, +"includeObjects": { +"$ref": "SqlServerRdbms", +"description": "The SQLServer objects to include in the stream." +}, +"maxConcurrentBackfillTasks": { +"description": "Max concurrent backfill tasks.", +"format": "int32", +"type": "integer" +}, +"maxConcurrentCdcTasks": { +"description": "Max concurrent CDC tasks.", +"format": "int32", +"type": "integer" +}, +"transactionLogs": { +"$ref": "SqlServerTransactionLogs", +"description": "CDC reader reads from transaction logs." +} +}, +"type": "object" +}, +"SqlServerSslConfig": { +"description": "SQL Server SSL configuration information.", +"id": "SqlServerSslConfig", +"properties": { +"basicEncryption": { +"$ref": "BasicEncryption", +"description": "If set, Datastream will enforce encryption without authenticating server identity. Server certificates will be trusted by default." +}, +"encryptionAndServerValidation": { +"$ref": "EncryptionAndServerValidation", +"description": "If set, Datastream will enforce encryption and authenticate server identity." +}, +"encryptionNotEnforced": { +"$ref": "EncryptionNotEnforced", +"description": "If set, Datastream will not enforce encryption. If the DB server mandates encryption, then connection will be encrypted but server identity will not be authenticated." +} +}, +"type": "object" +}, +"SqlServerTable": { +"description": "SQLServer table.", +"id": "SqlServerTable", +"properties": { +"columns": { +"description": "SQLServer columns in the schema. When unspecified as part of include/exclude objects, includes/excludes everything.", +"items": { +"$ref": "SqlServerColumn" +}, +"type": "array" +}, +"table": { +"description": "The table name.", +"type": "string" +} +}, +"type": "object" +}, +"SqlServerTransactionLogs": { +"description": "Configuration to use Transaction Logs CDC read method.", +"id": "SqlServerTransactionLogs", +"properties": {}, +"type": "object" +}, +"SrvConnectionFormat": { +"description": "Srv connection format.", +"id": "SrvConnectionFormat", +"properties": {}, +"type": "object" +}, +"StandardConnectionFormat": { +"description": "Standard connection format.", +"id": "StandardConnectionFormat", +"properties": { +"directConnection": { +"deprecated": true, +"description": "Optional. Deprecated: Use the `additional_options` map to specify the `directConnection` parameter instead. For example: `additional_options = {\"directConnection\": \"true\"}`. Specifies whether the client connects directly to the host[:port] in the connection URI.", +"type": "boolean" +} +}, +"type": "object" +}, +"StartBackfillJobRequest": { +"description": "Request for manually initiating a backfill job for a specific stream object.", +"id": "StartBackfillJobRequest", +"properties": { +"eventFilter": { +"$ref": "EventFilter", +"description": "Optional. Optional event filter. If not set, or empty, the backfill will be performed on the entire object. This is currently used for partial backfill and only supported for SQL Server sources." +} +}, +"type": "object" +}, +"StartBackfillJobResponse": { +"description": "Response for manually initiating a backfill job for a specific stream object.", +"id": "StartBackfillJobResponse", +"properties": { +"object": { +"$ref": "StreamObject", +"description": "The stream object resource a backfill job was started for." +} +}, +"type": "object" +}, +"StaticServiceIpConnectivity": { +"description": "Static IP address connectivity. Used when the source database is configured to allow incoming connections from the Datastream public IP addresses for the region specified in the connection profile.", +"id": "StaticServiceIpConnectivity", +"properties": {}, +"type": "object" +}, +"Status": { +"description": "The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors).", +"id": "Status", +"properties": { +"code": { +"description": "The status code, which should be an enum value of google.rpc.Code.", +"format": "int32", +"type": "integer" +}, +"details": { +"description": "A list of messages that carry the error details. There is a common set of message types for APIs to use.", +"items": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.", +"type": "string" +} +}, +"type": "object" +}, +"StopBackfillJobRequest": { +"description": "Request for manually stopping a running backfill job for a specific stream object.", +"id": "StopBackfillJobRequest", +"properties": {}, +"type": "object" +}, +"StopBackfillJobResponse": { +"description": "Response for manually stop a backfill job for a specific stream object.", +"id": "StopBackfillJobResponse", +"properties": { +"object": { +"$ref": "StreamObject", +"description": "The stream object resource the backfill job was stopped for." +} +}, +"type": "object" +}, +"Stream": { +"description": "A resource representing streaming data from a source to a destination.", +"id": "Stream", +"properties": { +"backfillAll": { +"$ref": "BackfillAllStrategy", +"description": "Automatically backfill objects included in the stream source configuration. Specific objects can be excluded." +}, +"backfillNone": { +"$ref": "BackfillNoneStrategy", +"description": "Do not automatically backfill any objects." +}, +"createTime": { +"description": "Output only. The creation time of the stream.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"customerManagedEncryptionKey": { +"description": "Immutable. A reference to a KMS encryption key. If provided, it will be used to encrypt the data. If left blank, data will be encrypted using an internal Stream-specific encryption key provisioned through KMS.", +"type": "string" +}, +"destinationConfig": { +"$ref": "DestinationConfig", +"description": "Required. Destination connection profile configuration." +}, +"displayName": { +"description": "Required. Display name.", +"type": "string" +}, +"errors": { +"description": "Output only. Errors on the Stream.", +"items": { +"$ref": "Error" +}, +"readOnly": true, +"type": "array" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Labels.", +"type": "object" +}, +"lastRecoveryTime": { +"description": "Output only. If the stream was recovered, the time of the last recovery. Note: This field is currently experimental.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"name": { +"description": "Output only. Identifier. The stream's name.", +"readOnly": true, +"type": "string" +}, +"ruleSets": { +"description": "Optional. Rule sets to apply to the stream.", +"items": { +"$ref": "RuleSet" +}, +"type": "array" +}, +"satisfiesPzi": { +"description": "Output only. Reserved for future use.", +"readOnly": true, +"type": "boolean" +}, +"satisfiesPzs": { +"description": "Output only. Reserved for future use.", +"readOnly": true, +"type": "boolean" +}, +"sourceConfig": { +"$ref": "SourceConfig", +"description": "Required. Source connection profile configuration." +}, +"state": { +"description": "The state of the stream.", +"enum": [ +"STATE_UNSPECIFIED", +"NOT_STARTED", +"RUNNING", +"PAUSED", +"MAINTENANCE", +"FAILED", +"FAILED_PERMANENTLY", +"STARTING", +"DRAINING" +], +"enumDescriptions": [ +"Unspecified stream state.", +"The stream has been created but has not yet started streaming data.", +"The stream is running.", +"The stream is paused.", +"The stream is in maintenance mode. Updates are rejected on the resource in this state.", +"The stream is experiencing an error that is preventing data from being streamed.", +"The stream has experienced a terminal failure.", +"The stream is starting, but not yet running.", +"The Stream is no longer reading new events, but still writing events in the buffer." +], +"type": "string" +}, +"updateTime": { +"description": "Output only. The last update time of the stream.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"StreamLargeObjects": { +"description": "Configuration to stream large object values.", +"id": "StreamLargeObjects", +"properties": {}, +"type": "object" +}, +"StreamObject": { +"description": "A specific stream object (e.g a specific DB table).", +"id": "StreamObject", +"properties": { +"backfillJob": { +"$ref": "BackfillJob", +"description": "The latest backfill job that was initiated for the stream object." +}, +"createTime": { +"description": "Output only. The creation time of the object.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"customizationRules": { +"description": "Output only. The customization rules for the object. These rules are derived from the parent Stream's `rule_sets` and represent the intended configuration for the object.", +"items": { +"$ref": "CustomizationRule" +}, +"readOnly": true, +"type": "array" +}, +"displayName": { +"description": "Required. Display name.", +"type": "string" +}, +"errors": { +"description": "Output only. Active errors on the object.", +"items": { +"$ref": "Error" +}, +"readOnly": true, +"type": "array" +}, +"name": { +"description": "Output only. Identifier. The object resource's name.", +"readOnly": true, +"type": "string" +}, +"sourceObject": { +"$ref": "SourceObjectIdentifier", +"description": "The object identifier in the data source." +}, +"updateTime": { +"description": "Output only. The last update time of the object.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"TimeUnitPartition": { +"description": "Time unit column partitioning. see https://cloud.google.com/bigquery/docs/partitioned-tables#date_timestamp_partitioned_tables", +"id": "TimeUnitPartition", +"properties": { +"column": { +"description": "Required. The partitioning column.", +"type": "string" +}, +"partitioningTimeGranularity": { +"description": "Optional. Partition granularity.", +"enum": [ +"PARTITIONING_TIME_GRANULARITY_UNSPECIFIED", +"PARTITIONING_TIME_GRANULARITY_HOUR", +"PARTITIONING_TIME_GRANULARITY_DAY", +"PARTITIONING_TIME_GRANULARITY_MONTH", +"PARTITIONING_TIME_GRANULARITY_YEAR" +], +"enumDescriptions": [ +"Unspecified partitioing interval.", +"Hourly partitioning.", +"Daily partitioning.", +"Monthly partitioning.", +"Yearly partitioning." +], +"type": "string" +} +}, +"type": "object" +}, +"UserCredentials": { +"description": "Username-password credentials.", +"id": "UserCredentials", +"properties": { +"password": { +"description": "Optional. Password for the Salesforce connection. Mutually exclusive with the `secret_manager_stored_password` field.", +"type": "string" +}, +"secretManagerStoredPassword": { +"description": "Optional. A reference to a Secret Manager resource name storing the Salesforce connection's password. Mutually exclusive with the `password` field.", +"type": "string" +}, +"secretManagerStoredSecurityToken": { +"description": "Optional. A reference to a Secret Manager resource name storing the Salesforce connection's security token. Mutually exclusive with the `security_token` field.", +"type": "string" +}, +"securityToken": { +"description": "Optional. Security token for the Salesforce connection. Mutually exclusive with the `secret_manager_stored_security_token` field.", +"type": "string" +}, +"username": { +"description": "Required. Username for the Salesforce connection.", +"type": "string" +} +}, +"type": "object" +}, +"Validation": { +"description": "A validation to perform on a stream.", +"id": "Validation", +"properties": { +"code": { +"description": "A custom code identifying this validation.", +"type": "string" +}, +"description": { +"description": "A short description of the validation.", +"type": "string" +}, +"message": { +"description": "Messages reflecting the validation results.", +"items": { +"$ref": "ValidationMessage" +}, +"type": "array" +}, +"state": { +"description": "Output only. Validation execution status.", +"enum": [ +"STATE_UNSPECIFIED", +"NOT_EXECUTED", +"FAILED", +"PASSED", +"WARNING" +], +"enumDescriptions": [ +"Unspecified state.", +"Validation did not execute.", +"Validation failed.", +"Validation passed.", +"Validation executed with warnings." +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"ValidationMessage": { +"description": "Represent user-facing validation result message.", +"id": "ValidationMessage", +"properties": { +"code": { +"description": "A custom code identifying this specific message.", +"type": "string" +}, +"level": { +"description": "Message severity level (warning or error).", +"enum": [ +"LEVEL_UNSPECIFIED", +"WARNING", +"ERROR" +], +"enumDescriptions": [ +"Unspecified level.", +"Potentially cause issues with the Stream.", +"Definitely cause issues with the Stream." +], +"type": "string" +}, +"message": { +"description": "The result of the validation.", +"type": "string" +}, +"metadata": { +"additionalProperties": { +"type": "string" +}, +"description": "Additional metadata related to the result.", +"type": "object" +} +}, +"type": "object" +}, +"ValidationResult": { +"description": "Contains the current validation results.", +"id": "ValidationResult", +"properties": { +"validations": { +"description": "A list of validations (includes both executed as well as not executed validations).", +"items": { +"$ref": "Validation" +}, +"type": "array" +} +}, +"type": "object" +}, +"VpcPeeringConfig": { +"description": "The VPC Peering configuration is used to create VPC peering between Datastream and the consumer's VPC.", +"id": "VpcPeeringConfig", +"properties": { +"subnet": { +"description": "Required. A free subnet for peering. (CIDR of /29)", +"type": "string" +}, +"vpc": { +"description": "Required. Fully qualified name of the VPC that Datastream will peer to. Format: `projects/{project}/global/{networks}/{name}`", +"type": "string" +} +}, +"type": "object" +} +}, +"servicePath": "", +"title": "Datastream API", +"version": "v1", +"version_module": true +} \ No newline at end of file diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/datastream.v1alpha1.json b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/datastream.v1alpha1.json new file mode 100644 index 0000000000000000000000000000000000000000..7932dc02931c3f42ef4673f8ab6b75f88567985c --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/datastream.v1alpha1.json @@ -0,0 +1,2999 @@ +{ +"auth": { +"oauth2": { +"scopes": { +"https://www.googleapis.com/auth/cloud-platform": { +"description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." +} +} +} +}, +"basePath": "", +"baseUrl": "https://datastream.googleapis.com/", +"batchPath": "batch", +"canonicalName": "Datastream", +"description": "", +"discoveryVersion": "v1", +"documentationLink": "https://cloud.google.com/datastream/", +"fullyEncodeReservedExpansion": true, +"icons": { +"x16": "http://www.google.com/images/icons/product/search-16.gif", +"x32": "http://www.google.com/images/icons/product/search-32.gif" +}, +"id": "datastream:v1alpha1", +"kind": "discovery#restDescription", +"mtlsRootUrl": "https://datastream.mtls.googleapis.com/", +"name": "datastream", +"ownerDomain": "google.com", +"ownerName": "Google", +"parameters": { +"$.xgafv": { +"description": "V1 error format.", +"enum": [ +"1", +"2" +], +"enumDescriptions": [ +"v1 error format", +"v2 error format" +], +"location": "query", +"type": "string" +}, +"access_token": { +"description": "OAuth access token.", +"location": "query", +"type": "string" +}, +"alt": { +"default": "json", +"description": "Data format for response.", +"enum": [ +"json", +"media", +"proto" +], +"enumDescriptions": [ +"Responses with Content-Type of application/json", +"Media download with context-dependent Content-Type", +"Responses with Content-Type of application/x-protobuf" +], +"location": "query", +"type": "string" +}, +"callback": { +"description": "JSONP", +"location": "query", +"type": "string" +}, +"fields": { +"description": "Selector specifying which fields to include in a partial response.", +"location": "query", +"type": "string" +}, +"key": { +"description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", +"location": "query", +"type": "string" +}, +"oauth_token": { +"description": "OAuth 2.0 token for the current user.", +"location": "query", +"type": "string" +}, +"prettyPrint": { +"default": "true", +"description": "Returns response with indentations and line breaks.", +"location": "query", +"type": "boolean" +}, +"quotaUser": { +"description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.", +"location": "query", +"type": "string" +}, +"uploadType": { +"description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", +"location": "query", +"type": "string" +}, +"upload_protocol": { +"description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", +"location": "query", +"type": "string" +} +}, +"protocol": "rest", +"resources": { +"projects": { +"resources": { +"locations": { +"methods": { +"fetchStaticIps": { +"deprecated": true, +"description": "The FetchStaticIps API call exposes the static IP addresses used by Datastream.", +"flatPath": "v1alpha1/projects/{projectsId}/locations/{locationsId}:fetchStaticIps", +"httpMethod": "GET", +"id": "datastream.projects.locations.fetchStaticIps", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name resource of the Response type. Must be in the format `projects/*/locations/*`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "Maximum number of Ips to return, will likely not be specified.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A page token, received from a previous `ListStaticIps` call. will likely not be specified.", +"location": "query", +"type": "string" +} +}, +"path": "v1alpha1/{+name}:fetchStaticIps", +"response": { +"$ref": "FetchStaticIpsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets information about a location.", +"flatPath": "v1alpha1/projects/{projectsId}/locations/{locationsId}", +"httpMethod": "GET", +"id": "datastream.projects.locations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Resource name for the location.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha1/{+name}", +"response": { +"$ref": "Location" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists information about the supported locations for this service. This method can be called in two ways: * **List all public locations:** Use the path `GET /v1/locations`. * **List project-visible locations:** Use the path `GET /v1/projects/{project_id}/locations`. This may include public locations as well as private or other locations specifically visible to the project.", +"flatPath": "v1alpha1/projects/{projectsId}/locations", +"httpMethod": "GET", +"id": "datastream.projects.locations.list", +"parameterOrder": [ +"name" +], +"parameters": { +"extraLocationTypes": { +"description": "Optional. Do not use this field. It is unsupported and is ignored unless explicitly documented otherwise. This is primarily for internal usage.", +"location": "query", +"repeated": true, +"type": "string" +}, +"filter": { +"description": "A filter to narrow down results to a preferred subset. The filtering language accepts strings like `\"displayName=tokyo\"`, and is documented in more detail in [AIP-160](https://google.aip.dev/160).", +"location": "query", +"type": "string" +}, +"name": { +"description": "The resource that owns the locations collection, if applicable.", +"location": "path", +"pattern": "^projects/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The maximum number of results to return. If not set, the service selects a default.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A page token received from the `next_page_token` field in the response. Send that page token to receive the subsequent page.", +"location": "query", +"type": "string" +} +}, +"path": "v1alpha1/{+name}/locations", +"response": { +"$ref": "ListLocationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"connectionProfiles": { +"deprecated": true, +"methods": { +"create": { +"deprecated": true, +"description": "Use this method to create a connection profile in a project and location.", +"flatPath": "v1alpha1/projects/{projectsId}/locations/{locationsId}/connectionProfiles", +"httpMethod": "POST", +"id": "datastream.projects.locations.connectionProfiles.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"connectionProfileId": { +"description": "Required. The connection profile identifier.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent that owns the collection of ConnectionProfiles.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "Optional. A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "v1alpha1/{+parent}/connectionProfiles", +"request": { +"$ref": "ConnectionProfile" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"deprecated": true, +"description": "Use this method to delete a connection profile..", +"flatPath": "v1alpha1/projects/{projectsId}/locations/{locationsId}/connectionProfiles/{connectionProfilesId}", +"httpMethod": "DELETE", +"id": "datastream.projects.locations.connectionProfiles.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the connection profile resource to delete.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/connectionProfiles/[^/]+$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "Optional. A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes after the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "v1alpha1/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"discover": { +"deprecated": true, +"description": "Use this method to discover a connection profile. The discover API call exposes the data objects and metadata belonging to the profile. Typically, a request returns children data objects under a parent data object that's optionally supplied in the request.", +"flatPath": "v1alpha1/projects/{projectsId}/locations/{locationsId}/connectionProfiles:discover", +"httpMethod": "POST", +"id": "datastream.projects.locations.connectionProfiles.discover", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The parent resource of the ConnectionProfile type. Must be in the format `projects/*/locations/*`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha1/{+parent}/connectionProfiles:discover", +"request": { +"$ref": "DiscoverConnectionProfileRequest" +}, +"response": { +"$ref": "DiscoverConnectionProfileResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"deprecated": true, +"description": "Use this method to get details about a connection profile.", +"flatPath": "v1alpha1/projects/{projectsId}/locations/{locationsId}/connectionProfiles/{connectionProfilesId}", +"httpMethod": "GET", +"id": "datastream.projects.locations.connectionProfiles.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the connection profile resource to get.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/connectionProfiles/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha1/{+name}", +"response": { +"$ref": "ConnectionProfile" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"deprecated": true, +"description": "Use this method to list connection profiles created in a project and location.", +"flatPath": "v1alpha1/projects/{projectsId}/locations/{locationsId}/connectionProfiles", +"httpMethod": "GET", +"id": "datastream.projects.locations.connectionProfiles.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Filter request.", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "Order by fields for the result.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Maximum number of connection profiles to return. If unspecified, at most 50 connection profiles will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Page token received from a previous `ListConnectionProfiles` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListConnectionProfiles` must match the call that provided the page token.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent that owns the collection of connection profiles.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha1/{+parent}/connectionProfiles", +"response": { +"$ref": "ListConnectionProfilesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"deprecated": true, +"description": "Use this method to update the parameters of a connection profile.", +"flatPath": "v1alpha1/projects/{projectsId}/locations/{locationsId}/connectionProfiles/{connectionProfilesId}", +"httpMethod": "PATCH", +"id": "datastream.projects.locations.connectionProfiles.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Output only. The resource's name.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/connectionProfiles/[^/]+$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "Optional. A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"updateMask": { +"description": "Optional. Field mask is used to specify the fields to be overwritten in the ConnectionProfile resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +}, +"validateOnly": { +"description": "Optional. Only validate the connection profile, but do not update any resources. The default is false.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1alpha1/{+name}", +"request": { +"$ref": "ConnectionProfile" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"operations": { +"methods": { +"cancel": { +"description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.", +"flatPath": "v1alpha1/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}:cancel", +"httpMethod": "POST", +"id": "datastream.projects.locations.operations.cancel", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be cancelled.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha1/{+name}:cancel", +"request": { +"$ref": "CancelOperationRequest" +}, +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.", +"flatPath": "v1alpha1/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}", +"httpMethod": "DELETE", +"id": "datastream.projects.locations.operations.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be deleted.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha1/{+name}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", +"flatPath": "v1alpha1/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}", +"httpMethod": "GET", +"id": "datastream.projects.locations.operations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha1/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.", +"flatPath": "v1alpha1/projects/{projectsId}/locations/{locationsId}/operations", +"httpMethod": "GET", +"id": "datastream.projects.locations.operations.list", +"parameterOrder": [ +"name" +], +"parameters": { +"filter": { +"description": "The standard list filter.", +"location": "query", +"type": "string" +}, +"name": { +"description": "The name of the operation's parent resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The standard list page size.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The standard list page token.", +"location": "query", +"type": "string" +}, +"returnPartialSuccess": { +"description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `\"projects/example/locations/-\"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1alpha1/{+name}/operations", +"response": { +"$ref": "ListOperationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"privateConnections": { +"methods": { +"create": { +"deprecated": true, +"description": "Use this method to create a private connectivity configuration.", +"flatPath": "v1alpha1/projects/{projectsId}/locations/{locationsId}/privateConnections", +"httpMethod": "POST", +"id": "datastream.projects.locations.privateConnections.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The parent that owns the collection of PrivateConnections.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +}, +"privateConnectionId": { +"description": "Required. The private connectivity identifier.", +"location": "query", +"type": "string" +}, +"requestId": { +"description": "Optional. A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "v1alpha1/{+parent}/privateConnections", +"request": { +"$ref": "PrivateConnection" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"deprecated": true, +"description": "Use this method to delete a private connectivity configuration.", +"flatPath": "v1alpha1/projects/{projectsId}/locations/{locationsId}/privateConnections/{privateConnectionsId}", +"httpMethod": "DELETE", +"id": "datastream.projects.locations.privateConnections.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"force": { +"description": "Optional. If set to true, any child routes that belong to this PrivateConnection will also be deleted.", +"location": "query", +"type": "boolean" +}, +"name": { +"description": "Required. The name of the private connectivity configuration to delete.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/privateConnections/[^/]+$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "Optional. A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes after the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "v1alpha1/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"deprecated": true, +"description": "Use this method to get details about a private connectivity configuration.", +"flatPath": "v1alpha1/projects/{projectsId}/locations/{locationsId}/privateConnections/{privateConnectionsId}", +"httpMethod": "GET", +"id": "datastream.projects.locations.privateConnections.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the private connectivity configuration to get.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/privateConnections/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha1/{+name}", +"response": { +"$ref": "PrivateConnection" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"deprecated": true, +"description": "Use this method to list private connectivity configurations in a project and location.", +"flatPath": "v1alpha1/projects/{projectsId}/locations/{locationsId}/privateConnections", +"httpMethod": "GET", +"id": "datastream.projects.locations.privateConnections.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Filter request.", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "Order by fields for the result.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Maximum number of private connectivity configurations to return. If unspecified, at most 50 private connectivity configurations that will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Page token received from a previous `ListPrivateConnections` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListPrivateConnections` must match the call that provided the page token.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent that owns the collection of private connectivity configurations.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha1/{+parent}/privateConnections", +"response": { +"$ref": "ListPrivateConnectionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"routes": { +"deprecated": true, +"methods": { +"create": { +"deprecated": true, +"description": "Use this method to create a route for a private connectivity in a project and location.", +"flatPath": "v1alpha1/projects/{projectsId}/locations/{locationsId}/privateConnections/{privateConnectionsId}/routes", +"httpMethod": "POST", +"id": "datastream.projects.locations.privateConnections.routes.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The parent that owns the collection of Routes.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/privateConnections/[^/]+$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "Optional. A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"routeId": { +"description": "Required. The Route identifier.", +"location": "query", +"type": "string" +} +}, +"path": "v1alpha1/{+parent}/routes", +"request": { +"$ref": "Route" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"deprecated": true, +"description": "Use this method to delete a route.", +"flatPath": "v1alpha1/projects/{projectsId}/locations/{locationsId}/privateConnections/{privateConnectionsId}/routes/{routesId}", +"httpMethod": "DELETE", +"id": "datastream.projects.locations.privateConnections.routes.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the Route resource to delete.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/privateConnections/[^/]+/routes/[^/]+$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "Optional. A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes after the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "v1alpha1/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"deprecated": true, +"description": "Use this method to get details about a route.", +"flatPath": "v1alpha1/projects/{projectsId}/locations/{locationsId}/privateConnections/{privateConnectionsId}/routes/{routesId}", +"httpMethod": "GET", +"id": "datastream.projects.locations.privateConnections.routes.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the Route resource to get.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/privateConnections/[^/]+/routes/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha1/{+name}", +"response": { +"$ref": "Route" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"deprecated": true, +"description": "Use this method to list routes created for a private connectivity in a project and location.", +"flatPath": "v1alpha1/projects/{projectsId}/locations/{locationsId}/privateConnections/{privateConnectionsId}/routes", +"httpMethod": "GET", +"id": "datastream.projects.locations.privateConnections.routes.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Filter request.", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "Order by fields for the result.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Maximum number of Routes to return. The service may return fewer than this value. If unspecified, at most 50 Routes will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Page token received from a previous `ListRoutes` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListRoutes` must match the call that provided the page token.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent that owns the collection of Routess.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/privateConnections/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha1/{+parent}/routes", +"response": { +"$ref": "ListRoutesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +}, +"streams": { +"methods": { +"create": { +"deprecated": true, +"description": "Use this method to create a stream.", +"flatPath": "v1alpha1/projects/{projectsId}/locations/{locationsId}/streams", +"httpMethod": "POST", +"id": "datastream.projects.locations.streams.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"force": { +"description": "Optional. Create the stream without validating it.", +"location": "query", +"type": "boolean" +}, +"parent": { +"description": "Required. The parent that owns the collection of streams.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "Optional. A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"streamId": { +"description": "Required. The stream identifier.", +"location": "query", +"type": "string" +}, +"validateOnly": { +"description": "Optional. Only validate the stream, but do not create any resources. The default is false.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1alpha1/{+parent}/streams", +"request": { +"$ref": "Stream" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"deprecated": true, +"description": "Use this method to delete a stream.", +"flatPath": "v1alpha1/projects/{projectsId}/locations/{locationsId}/streams/{streamsId}", +"httpMethod": "DELETE", +"id": "datastream.projects.locations.streams.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the stream resource to delete.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/streams/[^/]+$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "Optional. A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes after the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "v1alpha1/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"fetchErrors": { +"deprecated": true, +"description": "Use this method to fetch any errors associated with a stream.", +"flatPath": "v1alpha1/projects/{projectsId}/locations/{locationsId}/streams/{streamsId}:fetchErrors", +"httpMethod": "POST", +"id": "datastream.projects.locations.streams.fetchErrors", +"parameterOrder": [ +"stream" +], +"parameters": { +"stream": { +"description": "Name of the Stream resource for which to fetch any errors.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/streams/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha1/{+stream}:fetchErrors", +"request": { +"$ref": "FetchErrorsRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"deprecated": true, +"description": "Use this method to get details about a stream.", +"flatPath": "v1alpha1/projects/{projectsId}/locations/{locationsId}/streams/{streamsId}", +"httpMethod": "GET", +"id": "datastream.projects.locations.streams.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the stream resource to get.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/streams/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha1/{+name}", +"response": { +"$ref": "Stream" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"deprecated": true, +"description": "Use this method to list streams in a project and location.", +"flatPath": "v1alpha1/projects/{projectsId}/locations/{locationsId}/streams", +"httpMethod": "GET", +"id": "datastream.projects.locations.streams.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Filter request.", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "Order by fields for the result.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Maximum number of streams to return. If unspecified, at most 50 streams will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Page token received from a previous `ListStreams` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListStreams` must match the call that provided the page token.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent that owns the collection of streams.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha1/{+parent}/streams", +"response": { +"$ref": "ListStreamsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"deprecated": true, +"description": "Use this method to update the configuration of a stream.", +"flatPath": "v1alpha1/projects/{projectsId}/locations/{locationsId}/streams/{streamsId}", +"httpMethod": "PATCH", +"id": "datastream.projects.locations.streams.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"force": { +"description": "Optional. Execute the update without validating it.", +"location": "query", +"type": "boolean" +}, +"name": { +"description": "Output only. The stream's name.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/streams/[^/]+$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "Optional. A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"updateMask": { +"description": "Optional. Field mask is used to specify the fields to be overwritten in the stream resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +}, +"validateOnly": { +"description": "Optional. Only validate the stream with the changes, without actually updating it. The default is false.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1alpha1/{+name}", +"request": { +"$ref": "Stream" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"objects": { +"deprecated": true, +"methods": { +"get": { +"deprecated": true, +"description": "Use this method to get details about a stream object.", +"flatPath": "v1alpha1/projects/{projectsId}/locations/{locationsId}/streams/{streamsId}/objects/{objectsId}", +"httpMethod": "GET", +"id": "datastream.projects.locations.streams.objects.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the stream object resource to get.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/streams/[^/]+/objects/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha1/{+name}", +"response": { +"$ref": "StreamObject" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"deprecated": true, +"description": "Use this method to list the objects of a specific stream.", +"flatPath": "v1alpha1/projects/{projectsId}/locations/{locationsId}/streams/{streamsId}/objects", +"httpMethod": "GET", +"id": "datastream.projects.locations.streams.objects.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "Maximum number of objects to return. Default is 50. The maximum value is 1000; values above 1000 will be coerced to 1000.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Page token received from a previous `ListStreamObjectsRequest` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListStreamObjectsRequest` must match the call that provided the page token.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent stream that owns the collection of objects.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/streams/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha1/{+parent}/objects", +"response": { +"$ref": "ListStreamObjectsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"startBackfillJob": { +"deprecated": true, +"description": "Starts backfill job for the specified stream object.", +"flatPath": "v1alpha1/projects/{projectsId}/locations/{locationsId}/streams/{streamsId}/objects/{objectsId}:startBackfillJob", +"httpMethod": "POST", +"id": "datastream.projects.locations.streams.objects.startBackfillJob", +"parameterOrder": [ +"object" +], +"parameters": { +"object": { +"description": "Required. The name of the stream object resource to start a backfill job for.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/streams/[^/]+/objects/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha1/{+object}:startBackfillJob", +"response": { +"$ref": "StartBackfillJobResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"stopBackfillJob": { +"deprecated": true, +"description": "Stops the backfill job for the specified stream object.", +"flatPath": "v1alpha1/projects/{projectsId}/locations/{locationsId}/streams/{streamsId}/objects/{objectsId}:stopBackfillJob", +"httpMethod": "POST", +"id": "datastream.projects.locations.streams.objects.stopBackfillJob", +"parameterOrder": [ +"object" +], +"parameters": { +"object": { +"description": "Required. The name of the stream object resource to stop the backfill job for.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/streams/[^/]+/objects/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha1/{+object}:stopBackfillJob", +"response": { +"$ref": "StopBackfillJobResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +} +} +} +} +} +}, +"revision": "20260204", +"rootUrl": "https://datastream.googleapis.com/", +"schemas": { +"AvroFileFormat": { +"description": "AVRO file format configuration.", +"id": "AvroFileFormat", +"properties": {}, +"type": "object" +}, +"BackfillAllStrategy": { +"description": "Backfill strategy to automatically backfill the Stream's objects. Specific objects can be excluded.", +"id": "BackfillAllStrategy", +"properties": { +"mysqlExcludedObjects": { +"$ref": "MysqlRdbms", +"description": "MySQL data source objects to avoid backfilling." +}, +"oracleExcludedObjects": { +"$ref": "OracleRdbms", +"description": "Oracle data source objects to avoid backfilling." +} +}, +"type": "object" +}, +"BackfillJob": { +"description": "Represents a backfill job on a specific stream object.", +"id": "BackfillJob", +"properties": { +"errors": { +"description": "Output only. Errors which caused the backfill job to fail.", +"items": { +"$ref": "Error" +}, +"readOnly": true, +"type": "array" +}, +"lastEndTime": { +"description": "Output only. Backfill job's end time.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"lastStartTime": { +"description": "Output only. Backfill job's start time.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"state": { +"description": "Backfill job state.", +"enum": [ +"STATE_UNSPECIFIED", +"NOT_STARTED", +"PENDING", +"ACTIVE", +"STOPPED", +"FAILED", +"COMPLETED", +"UNSUPPORTED" +], +"enumDescriptions": [ +"Default value.", +"Backfill job was never started for the stream object (stream has backfill strategy defined as manual or object was explicitly excluded from automatic backfill).", +"Backfill job will start pending available resources.", +"Backfill job is running.", +"Backfill job stopped (next job run will start from beginning).", +"Backfill job failed (due to an error).", +"Backfill completed successfully.", +"Backfill job failed since the table structure is currently unsupported for backfill." +], +"type": "string" +}, +"trigger": { +"description": "Backfill job's triggering reason.", +"enum": [ +"TRIGGER_UNSPECIFIED", +"AUTOMATIC", +"MANUAL" +], +"enumDescriptions": [ +"Default value.", +"Object backfill job was triggered automatically according to the stream's backfill strategy.", +"Object backfill job was triggered manually using the dedicated API." +], +"type": "string" +} +}, +"type": "object" +}, +"BackfillNoneStrategy": { +"description": "Backfill strategy to disable automatic backfill for the Stream's objects.", +"id": "BackfillNoneStrategy", +"properties": {}, +"type": "object" +}, +"BadRequest": { +"description": "Describes violations in a client request. This error type focuses on the syntactic aspects of the request.", +"id": "BadRequest", +"properties": { +"fieldViolations": { +"description": "Describes all violations in a client request.", +"items": { +"$ref": "FieldViolation" +}, +"type": "array" +} +}, +"type": "object" +}, +"CancelOperationRequest": { +"description": "The request message for Operations.CancelOperation.", +"id": "CancelOperationRequest", +"properties": {}, +"type": "object" +}, +"ConnectionProfile": { +"id": "ConnectionProfile", +"properties": { +"createTime": { +"description": "Output only. The create time of the resource.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"displayName": { +"description": "Required. Display name.", +"type": "string" +}, +"forwardSshConnectivity": { +"$ref": "ForwardSshTunnelConnectivity", +"description": "Forward SSH tunnel connectivity." +}, +"gcsProfile": { +"$ref": "GcsProfile", +"description": "Cloud Storage ConnectionProfile configuration." +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Labels.", +"type": "object" +}, +"mysqlProfile": { +"$ref": "MysqlProfile", +"description": "MySQL ConnectionProfile configuration." +}, +"name": { +"description": "Output only. The resource's name.", +"readOnly": true, +"type": "string" +}, +"noConnectivity": { +"$ref": "NoConnectivitySettings", +"description": "No connectivity option chosen." +}, +"oracleProfile": { +"$ref": "OracleProfile", +"description": "Oracle ConnectionProfile configuration." +}, +"privateConnectivity": { +"$ref": "PrivateConnectivity", +"description": "Private connectivity." +}, +"staticServiceIpConnectivity": { +"$ref": "StaticServiceIpConnectivity", +"description": "Static Service IP connectivity." +}, +"updateTime": { +"description": "Output only. The update time of the resource.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"DebugInfo": { +"description": "Describes additional debugging info.", +"id": "DebugInfo", +"properties": { +"detail": { +"description": "Additional debugging information provided by the server.", +"type": "string" +}, +"stackEntries": { +"description": "The stack trace entries indicating where the error occurred.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"DestinationConfig": { +"description": "The configuration of the stream destination.", +"id": "DestinationConfig", +"properties": { +"destinationConnectionProfileName": { +"description": "Required. Destination connection profile identifier.", +"type": "string" +}, +"gcsDestinationConfig": { +"$ref": "GcsDestinationConfig", +"description": "GCS destination configuration." +} +}, +"type": "object" +}, +"DiscoverConnectionProfileRequest": { +"description": "Request message for 'discover' ConnectionProfile request.", +"id": "DiscoverConnectionProfileRequest", +"properties": { +"connectionProfile": { +"$ref": "ConnectionProfile", +"description": "An ad-hoc ConnectionProfile configuration." +}, +"connectionProfileName": { +"description": "A reference to an existing ConnectionProfile.", +"type": "string" +}, +"mysqlRdbms": { +"$ref": "MysqlRdbms", +"description": "MySQL RDBMS to enrich with child data objects and metadata." +}, +"oracleRdbms": { +"$ref": "OracleRdbms", +"description": "Oracle RDBMS to enrich with child data objects and metadata." +}, +"recursionDepth": { +"description": "The number of hierarchy levels below the current level to be retrieved.", +"format": "int32", +"type": "integer" +}, +"recursive": { +"description": "Whether to retrieve the full hierarchy of data objects (TRUE) or only the current level (FALSE).", +"type": "boolean" +} +}, +"type": "object" +}, +"DiscoverConnectionProfileResponse": { +"id": "DiscoverConnectionProfileResponse", +"properties": { +"mysqlRdbms": { +"$ref": "MysqlRdbms", +"description": "Enriched MySQL RDBMS object." +}, +"oracleRdbms": { +"$ref": "OracleRdbms", +"description": "Enriched Oracle RDBMS object." +} +}, +"type": "object" +}, +"DropLargeObjects": { +"description": "Configuration to drop large object values.", +"id": "DropLargeObjects", +"properties": {}, +"type": "object" +}, +"Empty": { +"description": "A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }", +"id": "Empty", +"properties": {}, +"type": "object" +}, +"Error": { +"description": "Represent a user-facing Error.", +"id": "Error", +"properties": { +"details": { +"additionalProperties": { +"type": "string" +}, +"description": "Additional information about the error.", +"type": "object" +}, +"errorTime": { +"description": "The time when the error occurred.", +"format": "google-datetime", +"type": "string" +}, +"errorUuid": { +"description": "A unique identifier for this specific error, allowing it to be traced throughout the system in logs and API responses.", +"type": "string" +}, +"message": { +"description": "A message containing more information about the error that occurred.", +"type": "string" +}, +"reason": { +"description": "A title that explains the reason for the error.", +"type": "string" +} +}, +"type": "object" +}, +"ErrorInfo": { +"description": "Describes the cause of the error with structured details. Example of an error when contacting the \"pubsub.googleapis.com\" API when it is not enabled: { \"reason\": \"API_DISABLED\" \"domain\": \"googleapis.com\" \"metadata\": { \"resource\": \"projects/123\", \"service\": \"pubsub.googleapis.com\" } } This response indicates that the pubsub.googleapis.com API is not enabled. Example of an error that is returned when attempting to create a Spanner instance in a region that is out of stock: { \"reason\": \"STOCKOUT\" \"domain\": \"spanner.googleapis.com\", \"metadata\": { \"availableRegions\": \"us-central1,us-east2\" } }", +"id": "ErrorInfo", +"properties": { +"domain": { +"description": "The logical grouping to which the \"reason\" belongs. The error domain is typically the registered service name of the tool or product that generates the error. Example: \"pubsub.googleapis.com\". If the error is generated by some common infrastructure, the error domain must be a globally unique value that identifies the infrastructure. For Google API infrastructure, the error domain is \"googleapis.com\".", +"type": "string" +}, +"metadata": { +"additionalProperties": { +"type": "string" +}, +"description": "Additional structured details about this error. Keys must match a regular expression of `a-z+` but should ideally be lowerCamelCase. Also, they must be limited to 64 characters in length. When identifying the current value of an exceeded limit, the units should be contained in the key, not the value. For example, rather than `{\"instanceLimit\": \"100/request\"}`, should be returned as, `{\"instanceLimitPerRequest\": \"100\"}`, if the client exceeds the number of instances that can be created in a single (batch) request.", +"type": "object" +}, +"reason": { +"description": "The reason of the error. This is a constant value that identifies the proximate cause of the error. Error reasons are unique within a particular domain of errors. This should be at most 63 characters and match a regular expression of `A-Z+[A-Z0-9]`, which represents UPPER_SNAKE_CASE.", +"type": "string" +} +}, +"type": "object" +}, +"FetchErrorsRequest": { +"description": "Request message for 'FetchErrors' request.", +"id": "FetchErrorsRequest", +"properties": {}, +"type": "object" +}, +"FetchErrorsResponse": { +"description": "Response message for a 'FetchErrors' response.", +"id": "FetchErrorsResponse", +"properties": { +"errors": { +"description": "The list of errors on the Stream.", +"items": { +"$ref": "Error" +}, +"type": "array" +} +}, +"type": "object" +}, +"FetchStaticIpsResponse": { +"description": "Response message for a 'FetchStaticIps' response.", +"id": "FetchStaticIpsResponse", +"properties": { +"nextPageToken": { +"description": "A token that can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.", +"type": "string" +}, +"staticIps": { +"description": "list of static ips by account", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"FieldViolation": { +"description": "A message type used to describe a single bad request field.", +"id": "FieldViolation", +"properties": { +"description": { +"description": "A description of why the request element is bad.", +"type": "string" +}, +"field": { +"description": "A path that leads to a field in the request body. The value will be a sequence of dot-separated identifiers that identify a protocol buffer field. Consider the following: message CreateContactRequest { message EmailAddress { enum Type { TYPE_UNSPECIFIED = 0; HOME = 1; WORK = 2; } optional string email = 1; repeated EmailType type = 2; } string full_name = 1; repeated EmailAddress email_addresses = 2; } In this example, in proto `field` could take one of the following values: * `full_name` for a violation in the `full_name` value * `email_addresses[1].email` for a violation in the `email` field of the first `email_addresses` message * `email_addresses[3].type[2]` for a violation in the second `type` value in the third `email_addresses` message. In JSON, the same values are represented as: * `fullName` for a violation in the `fullName` value * `emailAddresses[1].email` for a violation in the `email` field of the first `emailAddresses` message * `emailAddresses[3].type[2]` for a violation in the second `type` value in the third `emailAddresses` message.", +"type": "string" +}, +"localizedMessage": { +"$ref": "LocalizedMessage", +"description": "Provides a localized error message for field-level errors that is safe to return to the API consumer." +}, +"reason": { +"description": "The reason of the field-level error. This is a constant value that identifies the proximate cause of the field-level error. It should uniquely identify the type of the FieldViolation within the scope of the google.rpc.ErrorInfo.domain. This should be at most 63 characters and match a regular expression of `A-Z+[A-Z0-9]`, which represents UPPER_SNAKE_CASE.", +"type": "string" +} +}, +"type": "object" +}, +"ForwardSshTunnelConnectivity": { +"description": "Forward SSH Tunnel connectivity.", +"id": "ForwardSshTunnelConnectivity", +"properties": { +"hostname": { +"description": "Required. Hostname for the SSH tunnel.", +"type": "string" +}, +"password": { +"description": "Input only. SSH password.", +"type": "string" +}, +"port": { +"description": "Port for the SSH tunnel, default value is 22.", +"format": "int32", +"type": "integer" +}, +"privateKey": { +"description": "Input only. SSH private key.", +"type": "string" +}, +"username": { +"description": "Required. Username for the SSH tunnel.", +"type": "string" +} +}, +"type": "object" +}, +"GcsDestinationConfig": { +"description": "Google Cloud Storage destination configuration", +"id": "GcsDestinationConfig", +"properties": { +"avroFileFormat": { +"$ref": "AvroFileFormat", +"description": "AVRO file format configuration." +}, +"fileRotationInterval": { +"description": "The maximum duration for which new events are added before a file is closed and a new file is created.", +"format": "google-duration", +"type": "string" +}, +"fileRotationMb": { +"description": "The maximum file size to be saved in the bucket.", +"format": "int32", +"type": "integer" +}, +"gcsFileFormat": { +"deprecated": true, +"description": "File format that data should be written in. Deprecated field (b/169501737) - use file_format instead.", +"enum": [ +"GCS_FILE_FORMAT_UNSPECIFIED", +"AVRO" +], +"enumDescriptions": [ +"Unspecified Cloud Storage file format.", +"Avro file format" +], +"type": "string" +}, +"jsonFileFormat": { +"$ref": "JsonFileFormat", +"description": "JSON file format configuration." +}, +"path": { +"description": "Path inside the Cloud Storage bucket to write data to.", +"type": "string" +} +}, +"type": "object" +}, +"GcsProfile": { +"description": "Cloud Storage bucket profile.", +"id": "GcsProfile", +"properties": { +"bucketName": { +"description": "Required. The full project and resource path for Cloud Storage bucket including the name.", +"type": "string" +}, +"rootPath": { +"description": "The root path inside the Cloud Storage bucket.", +"type": "string" +} +}, +"type": "object" +}, +"Help": { +"description": "Provides links to documentation or for performing an out of band action. For example, if a quota check failed with an error indicating the calling project hasn't enabled the accessed service, this can contain a URL pointing directly to the right place in the developer console to flip the bit.", +"id": "Help", +"properties": { +"links": { +"description": "URL(s) pointing to additional information on handling the current error.", +"items": { +"$ref": "Link" +}, +"type": "array" +} +}, +"type": "object" +}, +"JsonFileFormat": { +"description": "JSON file format configuration.", +"id": "JsonFileFormat", +"properties": { +"compression": { +"description": "Compression of the loaded JSON file.", +"enum": [ +"JSON_COMPRESSION_UNSPECIFIED", +"NO_COMPRESSION", +"GZIP" +], +"enumDescriptions": [ +"Unspecified json file compression.", +"Do not compress JSON file.", +"Gzip compression." +], +"type": "string" +}, +"schemaFileFormat": { +"description": "The schema file format along JSON data files.", +"enum": [ +"SCHEMA_FILE_FORMAT_UNSPECIFIED", +"NO_SCHEMA_FILE", +"AVRO_SCHEMA_FILE" +], +"enumDescriptions": [ +"Unspecified schema file format.", +"Do not attach schema file.", +"Avro schema format." +], +"type": "string" +} +}, +"type": "object" +}, +"Link": { +"description": "Describes a URL link.", +"id": "Link", +"properties": { +"description": { +"description": "Describes what the link offers.", +"type": "string" +}, +"url": { +"description": "The URL of the link.", +"type": "string" +} +}, +"type": "object" +}, +"ListConnectionProfilesResponse": { +"id": "ListConnectionProfilesResponse", +"properties": { +"connectionProfiles": { +"description": "List of connection profiles.", +"items": { +"$ref": "ConnectionProfile" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.", +"type": "string" +}, +"unreachable": { +"description": "Locations that could not be reached.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListLocationsResponse": { +"description": "The response message for Locations.ListLocations.", +"id": "ListLocationsResponse", +"properties": { +"locations": { +"description": "A list of locations that matches the specified filter in the request.", +"items": { +"$ref": "Location" +}, +"type": "array" +}, +"nextPageToken": { +"description": "The standard List next-page token.", +"type": "string" +} +}, +"type": "object" +}, +"ListOperationsResponse": { +"description": "The response message for Operations.ListOperations.", +"id": "ListOperationsResponse", +"properties": { +"nextPageToken": { +"description": "The standard List next-page token.", +"type": "string" +}, +"operations": { +"description": "A list of operations that matches the specified filter in the request.", +"items": { +"$ref": "Operation" +}, +"type": "array" +}, +"unreachable": { +"description": "Unordered list. Unreachable resources. Populated when the request sets `ListOperationsRequest.return_partial_success` and reads across collections. For example, when attempting to list all resources across all supported locations.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListPrivateConnectionsResponse": { +"id": "ListPrivateConnectionsResponse", +"properties": { +"nextPageToken": { +"description": "A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.", +"type": "string" +}, +"privateConnections": { +"description": "List of private connectivity configurations.", +"items": { +"$ref": "PrivateConnection" +}, +"type": "array" +}, +"unreachable": { +"description": "Locations that could not be reached.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListRoutesResponse": { +"description": "route list response", +"id": "ListRoutesResponse", +"properties": { +"nextPageToken": { +"description": "A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.", +"type": "string" +}, +"routes": { +"description": "List of Routes.", +"items": { +"$ref": "Route" +}, +"type": "array" +}, +"unreachable": { +"description": "Locations that could not be reached.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListStreamObjectsResponse": { +"description": "Response containing the objects for a stream.", +"id": "ListStreamObjectsResponse", +"properties": { +"nextPageToken": { +"description": "A token, which can be sent as `page_token` to retrieve the next page.", +"type": "string" +}, +"streamObjects": { +"description": "List of stream objects.", +"items": { +"$ref": "StreamObject" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListStreamsResponse": { +"id": "ListStreamsResponse", +"properties": { +"nextPageToken": { +"description": "A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.", +"type": "string" +}, +"streams": { +"description": "List of streams", +"items": { +"$ref": "Stream" +}, +"type": "array" +}, +"unreachable": { +"description": "Locations that could not be reached.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"LocalizedMessage": { +"description": "Provides a localized error message that is safe to return to the user which can be attached to an RPC error.", +"id": "LocalizedMessage", +"properties": { +"locale": { +"description": "The locale used following the specification defined at https://www.rfc-editor.org/rfc/bcp/bcp47.txt. Examples are: \"en-US\", \"fr-CH\", \"es-MX\"", +"type": "string" +}, +"message": { +"description": "The localized error message in the above locale.", +"type": "string" +} +}, +"type": "object" +}, +"Location": { +"description": "A resource that represents a Google Cloud location.", +"id": "Location", +"properties": { +"displayName": { +"description": "The friendly name for this location, typically a nearby city name. For example, \"Tokyo\".", +"type": "string" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Cross-service attributes for the location. For example {\"cloud.googleapis.com/region\": \"us-east1\"}", +"type": "object" +}, +"locationId": { +"description": "The canonical id for this location. For example: `\"us-east1\"`.", +"type": "string" +}, +"metadata": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "Service-specific metadata. For example the available capacity at the given location.", +"type": "object" +}, +"name": { +"description": "Resource name for the location, which may vary between implementations. For example: `\"projects/example-project/locations/us-east1\"`", +"type": "string" +} +}, +"type": "object" +}, +"MysqlColumn": { +"description": "MySQL Column.", +"id": "MysqlColumn", +"properties": { +"collation": { +"description": "Column collation.", +"type": "string" +}, +"columnName": { +"description": "Column name.", +"type": "string" +}, +"dataType": { +"description": "The MySQL data type. Full data types list can be found here: https://dev.mysql.com/doc/refman/8.0/en/data-types.html", +"type": "string" +}, +"length": { +"description": "Column length.", +"format": "int32", +"type": "integer" +}, +"nullable": { +"description": "Whether or not the column can accept a null value.", +"type": "boolean" +}, +"ordinalPosition": { +"description": "The ordinal position of the column in the table.", +"format": "int32", +"type": "integer" +}, +"primaryKey": { +"description": "Whether or not the column represents a primary key.", +"type": "boolean" +} +}, +"type": "object" +}, +"MysqlDatabase": { +"description": "MySQL database.", +"id": "MysqlDatabase", +"properties": { +"databaseName": { +"description": "Database name.", +"type": "string" +}, +"mysqlTables": { +"description": "Tables in the database.", +"items": { +"$ref": "MysqlTable" +}, +"type": "array" +} +}, +"type": "object" +}, +"MysqlObjectIdentifier": { +"description": "Mysql data source object identifier.", +"id": "MysqlObjectIdentifier", +"properties": { +"database": { +"description": "Required. The database name.", +"type": "string" +}, +"table": { +"description": "Required. The table name.", +"type": "string" +} +}, +"type": "object" +}, +"MysqlProfile": { +"description": "MySQL database profile.", +"id": "MysqlProfile", +"properties": { +"hostname": { +"description": "Required. Hostname for the MySQL connection.", +"type": "string" +}, +"password": { +"description": "Required. Input only. Password for the MySQL connection.", +"type": "string" +}, +"port": { +"description": "Port for the MySQL connection, default value is 3306.", +"format": "int32", +"type": "integer" +}, +"sslConfig": { +"$ref": "MysqlSslConfig", +"description": "SSL configuration for the MySQL connection." +}, +"username": { +"description": "Required. Username for the MySQL connection.", +"type": "string" +} +}, +"type": "object" +}, +"MysqlRdbms": { +"description": "MySQL database structure", +"id": "MysqlRdbms", +"properties": { +"mysqlDatabases": { +"description": "Mysql databases on the server", +"items": { +"$ref": "MysqlDatabase" +}, +"type": "array" +} +}, +"type": "object" +}, +"MysqlSourceConfig": { +"description": "MySQL source configuration", +"id": "MysqlSourceConfig", +"properties": { +"allowlist": { +"$ref": "MysqlRdbms", +"description": "MySQL objects to retrieve from the source." +}, +"rejectlist": { +"$ref": "MysqlRdbms", +"description": "MySQL objects to exclude from the stream." +} +}, +"type": "object" +}, +"MysqlSslConfig": { +"description": "MySQL SSL configuration information.", +"id": "MysqlSslConfig", +"properties": { +"caCertificate": { +"description": "Input only. PEM-encoded certificate of the CA that signed the source database server's certificate.", +"type": "string" +}, +"caCertificateSet": { +"description": "Output only. Indicates whether the ca_certificate field is set.", +"readOnly": true, +"type": "boolean" +}, +"clientCertificate": { +"description": "Input only. PEM-encoded certificate that will be used by the replica to authenticate against the source database server. If this field is used then the 'client_key' and the 'ca_certificate' fields are mandatory.", +"type": "string" +}, +"clientCertificateSet": { +"description": "Output only. Indicates whether the client_certificate field is set.", +"readOnly": true, +"type": "boolean" +}, +"clientKey": { +"description": "Input only. PEM-encoded private key associated with the Client Certificate. If this field is used then the 'client_certificate' and the 'ca_certificate' fields are mandatory.", +"type": "string" +}, +"clientKeySet": { +"description": "Output only. Indicates whether the client_key field is set.", +"readOnly": true, +"type": "boolean" +} +}, +"type": "object" +}, +"MysqlTable": { +"description": "MySQL table.", +"id": "MysqlTable", +"properties": { +"mysqlColumns": { +"description": "MySQL columns in the database. When unspecified as part of include/exclude lists, includes/excludes everything.", +"items": { +"$ref": "MysqlColumn" +}, +"type": "array" +}, +"tableName": { +"description": "Table name.", +"type": "string" +} +}, +"type": "object" +}, +"NoConnectivitySettings": { +"description": "No connectivity settings.", +"id": "NoConnectivitySettings", +"properties": {}, +"type": "object" +}, +"Operation": { +"description": "This resource represents a long-running operation that is the result of a network API call.", +"id": "Operation", +"properties": { +"done": { +"description": "If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.", +"type": "boolean" +}, +"error": { +"$ref": "Status", +"description": "The error result of the operation in case of failure or cancellation." +}, +"metadata": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.", +"type": "object" +}, +"name": { +"description": "The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.", +"type": "string" +}, +"response": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "The normal, successful response of the operation. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.", +"type": "object" +} +}, +"type": "object" +}, +"OperationMetadata": { +"description": "Represents the metadata of the long-running operation.", +"id": "OperationMetadata", +"properties": { +"apiVersion": { +"description": "Output only. API version used to start the operation.", +"readOnly": true, +"type": "string" +}, +"createTime": { +"description": "Output only. The time the operation was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"endTime": { +"description": "Output only. The time the operation finished running.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"requestedCancellation": { +"description": "Output only. Identifies whether the user has requested cancellation of the operation. Operations that have successfully been cancelled have google.longrunning.Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.", +"readOnly": true, +"type": "boolean" +}, +"statusMessage": { +"description": "Output only. Human-readable status of the operation, if any.", +"readOnly": true, +"type": "string" +}, +"target": { +"description": "Output only. Server-defined resource path for the target of the operation.", +"readOnly": true, +"type": "string" +}, +"validationResult": { +"$ref": "ValidationResult", +"description": "Output only. Results of executed validations if there are any.", +"readOnly": true +}, +"verb": { +"description": "Output only. Name of the verb executed by the operation.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"OracleColumn": { +"description": "Oracle Column.", +"id": "OracleColumn", +"properties": { +"columnName": { +"description": "Column name.", +"type": "string" +}, +"dataType": { +"description": "The Oracle data type.", +"type": "string" +}, +"encoding": { +"description": "Column encoding.", +"type": "string" +}, +"length": { +"description": "Column length.", +"format": "int32", +"type": "integer" +}, +"nullable": { +"description": "Whether or not the column can accept a null value.", +"type": "boolean" +}, +"ordinalPosition": { +"description": "The ordinal position of the column in the table.", +"format": "int32", +"type": "integer" +}, +"precision": { +"description": "Column precision.", +"format": "int32", +"type": "integer" +}, +"primaryKey": { +"description": "Whether or not the column represents a primary key.", +"type": "boolean" +}, +"scale": { +"description": "Column scale.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"OracleObjectIdentifier": { +"description": "Oracle data source object identifier.", +"id": "OracleObjectIdentifier", +"properties": { +"schema": { +"description": "Required. The schema name.", +"type": "string" +}, +"table": { +"description": "Required. The table name.", +"type": "string" +} +}, +"type": "object" +}, +"OracleProfile": { +"description": "Oracle database profile.", +"id": "OracleProfile", +"properties": { +"connectionAttributes": { +"additionalProperties": { +"type": "string" +}, +"description": "Connection string attributes", +"type": "object" +}, +"databaseService": { +"description": "Required. Database for the Oracle connection.", +"type": "string" +}, +"hostname": { +"description": "Required. Hostname for the Oracle connection.", +"type": "string" +}, +"password": { +"description": "Required. Password for the Oracle connection.", +"type": "string" +}, +"port": { +"description": "Port for the Oracle connection, default value is 1521.", +"format": "int32", +"type": "integer" +}, +"username": { +"description": "Required. Username for the Oracle connection.", +"type": "string" +} +}, +"type": "object" +}, +"OracleRdbms": { +"description": "Oracle database structure.", +"id": "OracleRdbms", +"properties": { +"oracleSchemas": { +"description": "Oracle schemas/databases in the database server.", +"items": { +"$ref": "OracleSchema" +}, +"type": "array" +} +}, +"type": "object" +}, +"OracleSchema": { +"description": "Oracle schema.", +"id": "OracleSchema", +"properties": { +"oracleTables": { +"description": "Tables in the schema.", +"items": { +"$ref": "OracleTable" +}, +"type": "array" +}, +"schemaName": { +"description": "Schema name.", +"type": "string" +} +}, +"type": "object" +}, +"OracleSourceConfig": { +"description": "Oracle data source configuration", +"id": "OracleSourceConfig", +"properties": { +"allowlist": { +"$ref": "OracleRdbms", +"description": "Oracle objects to include in the stream." +}, +"dropLargeObjects": { +"$ref": "DropLargeObjects", +"description": "Drop large object values." +}, +"rejectlist": { +"$ref": "OracleRdbms", +"description": "Oracle objects to exclude from the stream." +} +}, +"type": "object" +}, +"OracleTable": { +"description": "Oracle table.", +"id": "OracleTable", +"properties": { +"oracleColumns": { +"description": "Oracle columns in the schema. When unspecified as part of inclue/exclude lists, includes/excludes everything.", +"items": { +"$ref": "OracleColumn" +}, +"type": "array" +}, +"tableName": { +"description": "Table name.", +"type": "string" +} +}, +"type": "object" +}, +"PreconditionFailure": { +"description": "Describes what preconditions have failed. For example, if an RPC failed because it required the Terms of Service to be acknowledged, it could list the terms of service violation in the PreconditionFailure message.", +"id": "PreconditionFailure", +"properties": { +"violations": { +"description": "Describes all precondition violations.", +"items": { +"$ref": "PreconditionFailureViolation" +}, +"type": "array" +} +}, +"type": "object" +}, +"PreconditionFailureViolation": { +"description": "A message type used to describe a single precondition failure.", +"id": "PreconditionFailureViolation", +"properties": { +"description": { +"description": "A description of how the precondition failed. Developers can use this description to understand how to fix the failure. For example: \"Terms of service not accepted\".", +"type": "string" +}, +"subject": { +"description": "The subject, relative to the type, that failed. For example, \"google.com/cloud\" relative to the \"TOS\" type would indicate which terms of service is being referenced.", +"type": "string" +}, +"type": { +"description": "The type of PreconditionFailure. We recommend using a service-specific enum type to define the supported precondition violation subjects. For example, \"TOS\" for \"Terms of Service violation\".", +"type": "string" +} +}, +"type": "object" +}, +"PrivateConnection": { +"description": "The PrivateConnection resource is used to establish private connectivity between Datastream and a customer's network.", +"id": "PrivateConnection", +"properties": { +"createTime": { +"description": "Output only. The create time of the resource.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"displayName": { +"description": "Required. Display name.", +"type": "string" +}, +"error": { +"$ref": "Error", +"description": "Output only. In case of error, the details of the error in a user-friendly format.", +"readOnly": true +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Labels.", +"type": "object" +}, +"name": { +"description": "Output only. The resource's name.", +"readOnly": true, +"type": "string" +}, +"state": { +"description": "Output only. The state of the Private Connection.", +"enum": [ +"STATE_UNSPECIFIED", +"CREATING", +"CREATED", +"FAILED", +"DELETING", +"FAILED_TO_DELETE" +], +"enumDescriptions": [ +"", +"The private connection is in creation state - creating resources.", +"The private connection has been created with all of its resources.", +"The private connection creation has failed.", +"The private connection is being deleted.", +"Delete request has failed, resource is in invalid state." +], +"readOnly": true, +"type": "string" +}, +"updateTime": { +"description": "Output only. The update time of the resource.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"vpcPeeringConfig": { +"$ref": "VpcPeeringConfig", +"description": "VPC Peering Config" +} +}, +"type": "object" +}, +"PrivateConnectivity": { +"description": "Private Connectivity", +"id": "PrivateConnectivity", +"properties": { +"privateConnectionName": { +"type": "string" +} +}, +"type": "object" +}, +"QuotaFailure": { +"description": "Describes how a quota check failed. For example if a daily limit was exceeded for the calling project, a service could respond with a QuotaFailure detail containing the project id and the description of the quota limit that was exceeded. If the calling project hasn't enabled the service in the developer console, then a service could respond with the project id and set `service_disabled` to true. Also see RetryInfo and Help types for other details about handling a quota failure.", +"id": "QuotaFailure", +"properties": { +"violations": { +"description": "Describes all quota violations.", +"items": { +"$ref": "QuotaFailureViolation" +}, +"type": "array" +} +}, +"type": "object" +}, +"QuotaFailureViolation": { +"description": "A message type used to describe a single quota violation. For example, a daily quota or a custom quota that was exceeded.", +"id": "QuotaFailureViolation", +"properties": { +"apiService": { +"description": "The API Service from which the `QuotaFailure.Violation` orginates. In some cases, Quota issues originate from an API Service other than the one that was called. In other words, a dependency of the called API Service could be the cause of the `QuotaFailure`, and this field would have the dependency API service name. For example, if the called API is Kubernetes Engine API (container.googleapis.com), and a quota violation occurs in the Kubernetes Engine API itself, this field would be \"container.googleapis.com\". On the other hand, if the quota violation occurs when the Kubernetes Engine API creates VMs in the Compute Engine API (compute.googleapis.com), this field would be \"compute.googleapis.com\".", +"type": "string" +}, +"description": { +"description": "A description of how the quota check failed. Clients can use this description to find more about the quota configuration in the service's public documentation, or find the relevant quota limit to adjust through developer console. For example: \"Service disabled\" or \"Daily Limit for read operations exceeded\".", +"type": "string" +}, +"futureQuotaValue": { +"description": "The new quota value being rolled out at the time of the violation. At the completion of the rollout, this value will be enforced in place of quota_value. If no rollout is in progress at the time of the violation, this field is not set. For example, if at the time of the violation a rollout is in progress changing the number of CPUs quota from 10 to 20, 20 would be the value of this field.", +"format": "int64", +"type": "string" +}, +"quotaDimensions": { +"additionalProperties": { +"type": "string" +}, +"description": "The dimensions of the violated quota. Every non-global quota is enforced on a set of dimensions. While quota metric defines what to count, the dimensions specify for what aspects the counter should be increased. For example, the quota \"CPUs per region per VM family\" enforces a limit on the metric \"compute.googleapis.com/cpus_per_vm_family\" on dimensions \"region\" and \"vm_family\". And if the violation occurred in region \"us-central1\" and for VM family \"n1\", the quota_dimensions would be, { \"region\": \"us-central1\", \"vm_family\": \"n1\", } When a quota is enforced globally, the quota_dimensions would always be empty.", +"type": "object" +}, +"quotaId": { +"description": "The id of the violated quota. Also know as \"limit name\", this is the unique identifier of a quota in the context of an API service. For example, \"CPUS-PER-VM-FAMILY-per-project-region\".", +"type": "string" +}, +"quotaMetric": { +"description": "The metric of the violated quota. A quota metric is a named counter to measure usage, such as API requests or CPUs. When an activity occurs in a service, such as Virtual Machine allocation, one or more quota metrics may be affected. For example, \"compute.googleapis.com/cpus_per_vm_family\", \"storage.googleapis.com/internet_egress_bandwidth\".", +"type": "string" +}, +"quotaValue": { +"description": "The enforced quota value at the time of the `QuotaFailure`. For example, if the enforced quota value at the time of the `QuotaFailure` on the number of CPUs is \"10\", then the value of this field would reflect this quantity.", +"format": "int64", +"type": "string" +}, +"subject": { +"description": "The subject on which the quota check failed. For example, \"clientip:\" or \"project:\".", +"type": "string" +} +}, +"type": "object" +}, +"RequestInfo": { +"description": "Contains metadata about the request that clients can attach when filing a bug or providing other forms of feedback.", +"id": "RequestInfo", +"properties": { +"requestId": { +"description": "An opaque string that should only be interpreted by the service generating it. For example, it can be used to identify requests in the service's logs.", +"type": "string" +}, +"servingData": { +"description": "Any data that was used to serve this request. For example, an encrypted stack trace that can be sent back to the service provider for debugging.", +"type": "string" +} +}, +"type": "object" +}, +"ResourceInfo": { +"description": "Describes the resource that is being accessed.", +"id": "ResourceInfo", +"properties": { +"description": { +"description": "Describes what error is encountered when accessing this resource. For example, updating a cloud project may require the `writer` permission on the developer console project.", +"type": "string" +}, +"owner": { +"description": "The owner of the resource (optional). For example, \"user:\" or \"project:\".", +"type": "string" +}, +"resourceName": { +"description": "The name of the resource being accessed. For example, a shared calendar name: \"example.com_4fghdhgsrgh@group.calendar.google.com\", if the current error is google.rpc.Code.PERMISSION_DENIED.", +"type": "string" +}, +"resourceType": { +"description": "A name for the type of resource being accessed, e.g. \"sql table\", \"cloud storage bucket\", \"file\", \"Google calendar\"; or the type URL of the resource: e.g. \"type.googleapis.com/google.pubsub.v1.Topic\".", +"type": "string" +} +}, +"type": "object" +}, +"RetryInfo": { +"description": "Describes when the clients can retry a failed request. Clients could ignore the recommendation here or retry when this information is missing from error responses. It's always recommended that clients should use exponential backoff when retrying. Clients should wait until `retry_delay` amount of time has passed since receiving the error response before retrying. If retrying requests also fail, clients should use an exponential backoff scheme to gradually increase the delay between retries based on `retry_delay`, until either a maximum number of retries have been reached or a maximum retry delay cap has been reached.", +"id": "RetryInfo", +"properties": { +"retryDelay": { +"description": "Clients should wait at least this long between retrying the same request.", +"format": "google-duration", +"type": "string" +} +}, +"type": "object" +}, +"Route": { +"description": "The Route resource is the child of the PrivateConnection resource. It used to define a route for a PrivateConnection setup.", +"id": "Route", +"properties": { +"createTime": { +"description": "Output only. The create time of the resource.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"destinationAddress": { +"description": "Required. Destination address for connection", +"type": "string" +}, +"destinationPort": { +"description": "Destination port for connection", +"format": "int32", +"type": "integer" +}, +"displayName": { +"description": "Required. Display name.", +"type": "string" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Labels.", +"type": "object" +}, +"name": { +"description": "Output only. The resource's name.", +"readOnly": true, +"type": "string" +}, +"updateTime": { +"description": "Output only. The update time of the resource.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"SourceConfig": { +"description": "The configuration of the stream source.", +"id": "SourceConfig", +"properties": { +"mysqlSourceConfig": { +"$ref": "MysqlSourceConfig", +"description": "MySQL data source configuration" +}, +"oracleSourceConfig": { +"$ref": "OracleSourceConfig", +"description": "Oracle data source configuration" +}, +"sourceConnectionProfileName": { +"description": "Required. Source connection profile identifier.", +"type": "string" +} +}, +"type": "object" +}, +"SourceObjectIdentifier": { +"description": "Represents an identifier of an object in the data source.", +"id": "SourceObjectIdentifier", +"properties": { +"mysqlIdentifier": { +"$ref": "MysqlObjectIdentifier", +"description": "Mysql data source object identifier." +}, +"oracleIdentifier": { +"$ref": "OracleObjectIdentifier", +"description": "Oracle data source object identifier." +} +}, +"type": "object" +}, +"StartBackfillJobResponse": { +"description": "Response for manually initiating a backfill job for a specific stream object.", +"id": "StartBackfillJobResponse", +"properties": { +"object": { +"$ref": "StreamObject", +"description": "The stream object resource a backfill job was started for." +} +}, +"type": "object" +}, +"StaticServiceIpConnectivity": { +"description": "Static IP address connectivity.", +"id": "StaticServiceIpConnectivity", +"properties": {}, +"type": "object" +}, +"Status": { +"description": "The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors).", +"id": "Status", +"properties": { +"code": { +"description": "The status code, which should be an enum value of google.rpc.Code.", +"format": "int32", +"type": "integer" +}, +"details": { +"description": "A list of messages that carry the error details. There is a common set of message types for APIs to use.", +"items": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.", +"type": "string" +} +}, +"type": "object" +}, +"StopBackfillJobResponse": { +"description": "Response for manually stop a backfill job for a specific stream object.", +"id": "StopBackfillJobResponse", +"properties": { +"object": { +"$ref": "StreamObject", +"description": "The stream object resource the backfill job was stopped for." +} +}, +"type": "object" +}, +"Stream": { +"id": "Stream", +"properties": { +"backfillAll": { +"$ref": "BackfillAllStrategy", +"description": "Automatically backfill objects included in the stream source configuration. Specific objects can be excluded." +}, +"backfillNone": { +"$ref": "BackfillNoneStrategy", +"description": "Do not automatically backfill any objects." +}, +"createTime": { +"description": "Output only. The creation time of the stream.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"customerManagedEncryptionKey": { +"description": "Immutable. A reference to a KMS encryption key. If provided, it will be used to encrypt the data. If left blank, data will be encrypted using an internal Stream-specific encryption key provisioned through KMS.", +"type": "string" +}, +"destinationConfig": { +"$ref": "DestinationConfig", +"description": "Required. Destination connection profile configuration." +}, +"displayName": { +"description": "Required. Display name.", +"type": "string" +}, +"errors": { +"description": "Output only. Errors on the Stream.", +"items": { +"$ref": "Error" +}, +"readOnly": true, +"type": "array" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Labels.", +"type": "object" +}, +"name": { +"description": "Output only. The stream's name.", +"readOnly": true, +"type": "string" +}, +"sourceConfig": { +"$ref": "SourceConfig", +"description": "Required. Source connection profile configuration." +}, +"state": { +"description": "The state of the stream.", +"enum": [ +"STATE_UNSPECIFIED", +"CREATED", +"RUNNING", +"PAUSED", +"MAINTENANCE", +"FAILED", +"FAILED_PERMANENTLY", +"STARTING", +"DRAINING" +], +"enumDescriptions": [ +"Unspecified stream state.", +"The stream has been created.", +"The stream is running.", +"The stream is paused.", +"The stream is in maintenance mode. Updates are rejected on the resource in this state.", +"The stream is experiencing an error that is preventing data from being streamed.", +"The stream has experienced a terminal failure.", +"The stream is starting, but not yet running.", +"The Stream is no longer reading new events, but still writing events in the buffer." +], +"type": "string" +}, +"updateTime": { +"description": "Output only. The last update time of the stream.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"StreamObject": { +"description": "A specific stream object (e.g a specific DB table).", +"id": "StreamObject", +"properties": { +"backfillJob": { +"$ref": "BackfillJob", +"description": "The latest backfill job that was initiated for the stream object." +}, +"createTime": { +"description": "Output only. The creation time of the object.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"displayName": { +"description": "Required. Display name.", +"type": "string" +}, +"errors": { +"description": "Output only. Active errors on the object.", +"items": { +"$ref": "Error" +}, +"readOnly": true, +"type": "array" +}, +"name": { +"description": "Output only. The object's name.", +"readOnly": true, +"type": "string" +}, +"sourceObject": { +"$ref": "SourceObjectIdentifier", +"description": "The object identifier in the data source." +}, +"updateTime": { +"description": "Output only. The last update time of the object.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"Validation": { +"id": "Validation", +"properties": { +"code": { +"description": "A custom code identifying this validation.", +"type": "string" +}, +"description": { +"description": "A short description of the validation.", +"type": "string" +}, +"message": { +"description": "Messages reflecting the validation results.", +"items": { +"$ref": "ValidationMessage" +}, +"type": "array" +}, +"status": { +"description": "Validation execution status.", +"enum": [ +"STATUS_UNSPECIFIED", +"NOT_EXECUTED", +"FAILED", +"PASSED" +], +"enumDescriptions": [ +"Unspecified status.", +"Validation did not execute.", +"Validation failed.", +"Validation passed." +], +"type": "string" +} +}, +"type": "object" +}, +"ValidationMessage": { +"description": "Represent user-facing validation result message.", +"id": "ValidationMessage", +"properties": { +"code": { +"description": "A custom code identifying this specific message.", +"type": "string" +}, +"level": { +"description": "Message severity level (warning or error).", +"enum": [ +"LEVEL_UNSPECIFIED", +"WARNING", +"ERROR" +], +"enumDescriptions": [ +"Unspecified level.", +"Potentially cause issues with the Stream.", +"Definitely cause issues with the Stream." +], +"type": "string" +}, +"message": { +"description": "The result of the validation.", +"type": "string" +}, +"metadata": { +"additionalProperties": { +"type": "string" +}, +"description": "Additional metadata related to the result.", +"type": "object" +} +}, +"type": "object" +}, +"ValidationResult": { +"description": "Contains the current validation results.", +"id": "ValidationResult", +"properties": { +"validations": { +"description": "A list of validations (includes both executed as well as not executed validations).", +"items": { +"$ref": "Validation" +}, +"type": "array" +} +}, +"type": "object" +}, +"VpcPeeringConfig": { +"description": "The VPC Peering configuration is used to create VPC peering between Datastream and the consumer's VPC.", +"id": "VpcPeeringConfig", +"properties": { +"subnet": { +"description": "Required. A free subnet for peering. (CIDR of /29)", +"type": "string" +}, +"vpcName": { +"description": "Required. fully qualified name of the VPC Datastream will peer to.", +"type": "string" +} +}, +"type": "object" +} +}, +"servicePath": "", +"title": "Datastream API", +"version": "v1alpha1", +"version_module": true +} \ No newline at end of file diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/deploymentmanager.alpha.json b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/deploymentmanager.alpha.json new file mode 100644 index 0000000000000000000000000000000000000000..978b0bad6701b8f7032c3f34a463e7798dbb8ded --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/deploymentmanager.alpha.json @@ -0,0 +1,4053 @@ +{ +"auth": { +"oauth2": { +"scopes": { +"https://www.googleapis.com/auth/cloud-platform": { +"description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." +}, +"https://www.googleapis.com/auth/cloud-platform.read-only": { +"description": "View your data across Google Cloud services and see the email address of your Google Account" +}, +"https://www.googleapis.com/auth/ndev.cloudman": { +"description": "View and manage your Google Cloud Platform management resources and deployment status information" +}, +"https://www.googleapis.com/auth/ndev.cloudman.readonly": { +"description": "View your Google Cloud Platform management resources and deployment status information" +} +} +} +}, +"basePath": "", +"baseUrl": "https://deploymentmanager.googleapis.com/", +"batchPath": "batch", +"canonicalName": "Deployment Manager", +"description": "The Google Cloud Deployment Manager v2 API provides services for configuring, deploying, and viewing Google Cloud services and APIs via templates which specify deployments of Cloud resources.", +"discoveryVersion": "v1", +"documentationLink": "https://cloud.google.com/deployment-manager", +"icons": { +"x16": "http://www.google.com/images/icons/product/search-16.gif", +"x32": "http://www.google.com/images/icons/product/search-32.gif" +}, +"id": "deploymentmanager:alpha", +"kind": "discovery#restDescription", +"mtlsRootUrl": "https://deploymentmanager.mtls.googleapis.com/", +"name": "deploymentmanager", +"ownerDomain": "google.com", +"ownerName": "Google", +"parameters": { +"$.xgafv": { +"description": "V1 error format.", +"enum": [ +"1", +"2" +], +"enumDescriptions": [ +"v1 error format", +"v2 error format" +], +"location": "query", +"type": "string" +}, +"access_token": { +"description": "OAuth access token.", +"location": "query", +"type": "string" +}, +"alt": { +"default": "json", +"description": "Data format for response.", +"enum": [ +"json", +"media", +"proto" +], +"enumDescriptions": [ +"Responses with Content-Type of application/json", +"Media download with context-dependent Content-Type", +"Responses with Content-Type of application/x-protobuf" +], +"location": "query", +"type": "string" +}, +"callback": { +"description": "JSONP", +"location": "query", +"type": "string" +}, +"fields": { +"description": "Selector specifying which fields to include in a partial response.", +"location": "query", +"type": "string" +}, +"key": { +"description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", +"location": "query", +"type": "string" +}, +"oauth_token": { +"description": "OAuth 2.0 token for the current user.", +"location": "query", +"type": "string" +}, +"prettyPrint": { +"default": "true", +"description": "Returns response with indentations and line breaks.", +"location": "query", +"type": "boolean" +}, +"quotaUser": { +"description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.", +"location": "query", +"type": "string" +}, +"uploadType": { +"description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", +"location": "query", +"type": "string" +}, +"upload_protocol": { +"description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", +"location": "query", +"type": "string" +} +}, +"protocol": "rest", +"resources": { +"compositeTypes": { +"methods": { +"delete": { +"description": "Deletes a composite type.", +"flatPath": "deploymentmanager/alpha/projects/{project}/global/compositeTypes/{compositeType}", +"httpMethod": "DELETE", +"id": "deploymentmanager.compositeTypes.delete", +"parameterOrder": [ +"project", +"compositeType" +], +"parameters": { +"compositeType": { +"description": "The name of the type for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9_.]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +}, +"header.bypassBillingFilter": { +"location": "query", +"type": "boolean" +}, +"project": { +"description": "The project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +} +}, +"path": "deploymentmanager/alpha/projects/{project}/global/compositeTypes/{compositeType}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/ndev.cloudman" +] +}, +"get": { +"description": "Gets information about a specific composite type.", +"flatPath": "deploymentmanager/alpha/projects/{project}/global/compositeTypes/{compositeType}", +"httpMethod": "GET", +"id": "deploymentmanager.compositeTypes.get", +"parameterOrder": [ +"project", +"compositeType" +], +"parameters": { +"compositeType": { +"description": "The name of the composite type for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9_.]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +}, +"header.bypassBillingFilter": { +"location": "query", +"type": "boolean" +}, +"project": { +"description": "The project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +} +}, +"path": "deploymentmanager/alpha/projects/{project}/global/compositeTypes/{compositeType}", +"response": { +"$ref": "CompositeType" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only", +"https://www.googleapis.com/auth/ndev.cloudman", +"https://www.googleapis.com/auth/ndev.cloudman.readonly" +] +}, +"insert": { +"description": "Creates a composite type.", +"flatPath": "deploymentmanager/alpha/projects/{project}/global/compositeTypes", +"httpMethod": "POST", +"id": "deploymentmanager.compositeTypes.insert", +"parameterOrder": [ +"project" +], +"parameters": { +"header.bypassBillingFilter": { +"location": "query", +"type": "boolean" +}, +"project": { +"description": "The project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +} +}, +"path": "deploymentmanager/alpha/projects/{project}/global/compositeTypes", +"request": { +"$ref": "CompositeType" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/ndev.cloudman" +] +}, +"list": { +"description": "Lists all composite types for Deployment Manager.", +"flatPath": "deploymentmanager/alpha/projects/{project}/global/compositeTypes", +"httpMethod": "GET", +"id": "deploymentmanager.compositeTypes.list", +"parameterOrder": [ +"project" +], +"parameters": { +"filter": { +"description": "A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq \"double quoted literal\"` `(fieldname1 eq literal) (fieldname2 ne \"literal\")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name \"instance\", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions.", +"location": "query", +"type": "string" +}, +"maxResults": { +"default": "500", +"description": "The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)", +"format": "uint32", +"location": "query", +"minimum": "0", +"type": "integer" +}, +"orderBy": { +"description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy=\"creationTimestamp desc\"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported.", +"location": "query", +"type": "string" +}, +"pageToken": { +"description": "Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.", +"location": "query", +"type": "string" +}, +"project": { +"description": "The project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +} +}, +"path": "deploymentmanager/alpha/projects/{project}/global/compositeTypes", +"response": { +"$ref": "CompositeTypesListResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only", +"https://www.googleapis.com/auth/ndev.cloudman", +"https://www.googleapis.com/auth/ndev.cloudman.readonly" +] +}, +"patch": { +"description": "Patches a composite type.", +"flatPath": "deploymentmanager/alpha/projects/{project}/global/compositeTypes/{compositeType}", +"httpMethod": "PATCH", +"id": "deploymentmanager.compositeTypes.patch", +"parameterOrder": [ +"project", +"compositeType" +], +"parameters": { +"compositeType": { +"description": "The name of the composite type for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9_.]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +}, +"header.bypassBillingFilter": { +"location": "query", +"type": "boolean" +}, +"project": { +"description": "The project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +} +}, +"path": "deploymentmanager/alpha/projects/{project}/global/compositeTypes/{compositeType}", +"request": { +"$ref": "CompositeType" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/ndev.cloudman" +] +}, +"update": { +"description": "Updates a composite type.", +"flatPath": "deploymentmanager/alpha/projects/{project}/global/compositeTypes/{compositeType}", +"httpMethod": "PUT", +"id": "deploymentmanager.compositeTypes.update", +"parameterOrder": [ +"project", +"compositeType" +], +"parameters": { +"compositeType": { +"description": "The name of the composite type for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9_.]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +}, +"header.bypassBillingFilter": { +"location": "query", +"type": "boolean" +}, +"project": { +"description": "The project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +} +}, +"path": "deploymentmanager/alpha/projects/{project}/global/compositeTypes/{compositeType}", +"request": { +"$ref": "CompositeType" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/ndev.cloudman" +] +} +} +}, +"deployments": { +"methods": { +"cancelPreview": { +"description": "Cancels and removes the preview currently associated with the deployment.", +"flatPath": "deploymentmanager/alpha/projects/{project}/global/deployments/{deployment}/cancelPreview", +"httpMethod": "POST", +"id": "deploymentmanager.deployments.cancelPreview", +"parameterOrder": [ +"project", +"deployment" +], +"parameters": { +"deployment": { +"description": "The name of the deployment for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +}, +"project": { +"description": "The project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +} +}, +"path": "deploymentmanager/alpha/projects/{project}/global/deployments/{deployment}/cancelPreview", +"request": { +"$ref": "DeploymentsCancelPreviewRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/ndev.cloudman" +] +}, +"delete": { +"description": "Deletes a deployment and all of the resources in the deployment.", +"flatPath": "deploymentmanager/alpha/projects/{project}/global/deployments/{deployment}", +"httpMethod": "DELETE", +"id": "deploymentmanager.deployments.delete", +"parameterOrder": [ +"project", +"deployment" +], +"parameters": { +"deletePolicy": { +"default": "DELETE", +"description": "Sets the policy to use for deleting resources.", +"enum": [ +"DELETE", +"ABANDON" +], +"enumDescriptions": [ +"", +"" +], +"location": "query", +"type": "string" +}, +"deployment": { +"description": "The name of the deployment for this request.", +"location": "path", +"required": true, +"type": "string" +}, +"header.bypassBillingFilter": { +"location": "query", +"type": "boolean" +}, +"project": { +"description": "The project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +} +}, +"path": "deploymentmanager/alpha/projects/{project}/global/deployments/{deployment}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/ndev.cloudman" +] +}, +"get": { +"description": "Gets information about a specific deployment.", +"flatPath": "deploymentmanager/alpha/projects/{project}/global/deployments/{deployment}", +"httpMethod": "GET", +"id": "deploymentmanager.deployments.get", +"parameterOrder": [ +"project", +"deployment" +], +"parameters": { +"deployment": { +"description": "The name of the deployment for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +}, +"header.bypassBillingFilter": { +"location": "query", +"type": "boolean" +}, +"project": { +"description": "The project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +} +}, +"path": "deploymentmanager/alpha/projects/{project}/global/deployments/{deployment}", +"response": { +"$ref": "Deployment" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only", +"https://www.googleapis.com/auth/ndev.cloudman", +"https://www.googleapis.com/auth/ndev.cloudman.readonly" +] +}, +"getIamPolicy": { +"description": "Gets the access control policy for a resource. May be empty if no such policy or resource exists.", +"flatPath": "deploymentmanager/alpha/projects/{project}/global/deployments/{resource}/getIamPolicy", +"httpMethod": "GET", +"id": "deploymentmanager.deployments.getIamPolicy", +"parameterOrder": [ +"project", +"resource" +], +"parameters": { +"header.bypassBillingFilter": { +"location": "query", +"type": "boolean" +}, +"optionsRequestedPolicyVersion": { +"description": "Requested IAM Policy version.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"resource": { +"description": "Name or id of the resource for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9_]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +} +}, +"path": "deploymentmanager/alpha/projects/{project}/global/deployments/{resource}/getIamPolicy", +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/ndev.cloudman" +] +}, +"insert": { +"description": "Creates a deployment and all of the resources described by the deployment manifest.", +"flatPath": "deploymentmanager/alpha/projects/{project}/global/deployments", +"httpMethod": "POST", +"id": "deploymentmanager.deployments.insert", +"parameterOrder": [ +"project" +], +"parameters": { +"createPolicy": { +"default": "CREATE_OR_ACQUIRE", +"description": "Sets the policy to use for creating new resources.", +"enum": [ +"CREATE_OR_ACQUIRE", +"ACQUIRE", +"CREATE" +], +"enumDescriptions": [ +"", +"", +"" +], +"location": "query", +"type": "string" +}, +"header.bypassBillingFilter": { +"location": "query", +"type": "boolean" +}, +"preview": { +"description": "If set to true, creates a deployment and creates \"shell\" resources but does not actually instantiate these resources. This allows you to preview what your deployment looks like. After previewing a deployment, you can deploy your resources by making a request with the `update()` method or you can use the `cancelPreview()` method to cancel the preview altogether. Note that the deployment will still exist after you cancel the preview and you must separately delete this deployment if you want to remove it.", +"location": "query", +"type": "boolean" +}, +"project": { +"description": "The project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +} +}, +"path": "deploymentmanager/alpha/projects/{project}/global/deployments", +"request": { +"$ref": "Deployment" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/ndev.cloudman" +] +}, +"list": { +"description": "Lists all deployments for a given project.", +"flatPath": "deploymentmanager/alpha/projects/{project}/global/deployments", +"httpMethod": "GET", +"id": "deploymentmanager.deployments.list", +"parameterOrder": [ +"project" +], +"parameters": { +"filter": { +"description": "A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq \"double quoted literal\"` `(fieldname1 eq literal) (fieldname2 ne \"literal\")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name \"instance\", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions.", +"location": "query", +"type": "string" +}, +"maxResults": { +"default": "500", +"description": "The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)", +"format": "uint32", +"location": "query", +"minimum": "0", +"type": "integer" +}, +"orderBy": { +"description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy=\"creationTimestamp desc\"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported.", +"location": "query", +"type": "string" +}, +"pageToken": { +"description": "Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.", +"location": "query", +"type": "string" +}, +"project": { +"description": "The project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +} +}, +"path": "deploymentmanager/alpha/projects/{project}/global/deployments", +"response": { +"$ref": "DeploymentsListResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only", +"https://www.googleapis.com/auth/ndev.cloudman", +"https://www.googleapis.com/auth/ndev.cloudman.readonly" +] +}, +"patch": { +"description": "Patches a deployment and all of the resources described by the deployment manifest.", +"flatPath": "deploymentmanager/alpha/projects/{project}/global/deployments/{deployment}", +"httpMethod": "PATCH", +"id": "deploymentmanager.deployments.patch", +"parameterOrder": [ +"project", +"deployment" +], +"parameters": { +"createPolicy": { +"default": "CREATE_OR_ACQUIRE", +"description": "Sets the policy to use for creating new resources.", +"enum": [ +"CREATE_OR_ACQUIRE", +"ACQUIRE", +"CREATE" +], +"enumDescriptions": [ +"", +"", +"" +], +"location": "query", +"type": "string" +}, +"deletePolicy": { +"default": "DELETE", +"description": "Sets the policy to use for deleting resources.", +"enum": [ +"DELETE", +"ABANDON" +], +"enumDescriptions": [ +"", +"" +], +"location": "query", +"type": "string" +}, +"deployment": { +"description": "The name of the deployment for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +}, +"header.bypassBillingFilter": { +"location": "query", +"type": "boolean" +}, +"preview": { +"default": "false", +"description": "If set to true, updates the deployment and creates and updates the \"shell\" resources but does not actually alter or instantiate these resources. This allows you to preview what your deployment will look like. You can use this intent to preview how an update would affect your deployment. You must provide a `target.config` with a configuration if this is set to true. After previewing a deployment, you can deploy your resources by making a request with the `update()` or you can `cancelPreview()` to remove the preview altogether. Note that the deployment will still exist after you cancel the preview and you must separately delete this deployment if you want to remove it.", +"location": "query", +"type": "boolean" +}, +"project": { +"description": "The project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +} +}, +"path": "deploymentmanager/alpha/projects/{project}/global/deployments/{deployment}", +"request": { +"$ref": "Deployment" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/ndev.cloudman" +] +}, +"setIamPolicy": { +"description": "Sets the access control policy on the specified resource. Replaces any existing policy.", +"flatPath": "deploymentmanager/alpha/projects/{project}/global/deployments/{resource}/setIamPolicy", +"httpMethod": "POST", +"id": "deploymentmanager.deployments.setIamPolicy", +"parameterOrder": [ +"project", +"resource" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"resource": { +"description": "Name or id of the resource for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9_]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +} +}, +"path": "deploymentmanager/alpha/projects/{project}/global/deployments/{resource}/setIamPolicy", +"request": { +"$ref": "GlobalSetPolicyRequest" +}, +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/ndev.cloudman" +] +}, +"stop": { +"description": "Stops an ongoing operation. This does not roll back any work that has already been completed, but prevents any new work from being started.", +"flatPath": "deploymentmanager/alpha/projects/{project}/global/deployments/{deployment}/stop", +"httpMethod": "POST", +"id": "deploymentmanager.deployments.stop", +"parameterOrder": [ +"project", +"deployment" +], +"parameters": { +"deployment": { +"description": "The name of the deployment for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +}, +"project": { +"description": "The project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +} +}, +"path": "deploymentmanager/alpha/projects/{project}/global/deployments/{deployment}/stop", +"request": { +"$ref": "DeploymentsStopRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/ndev.cloudman" +] +}, +"testIamPermissions": { +"description": "Returns permissions that a caller has on the specified resource.", +"flatPath": "deploymentmanager/alpha/projects/{project}/global/deployments/{resource}/testIamPermissions", +"httpMethod": "POST", +"id": "deploymentmanager.deployments.testIamPermissions", +"parameterOrder": [ +"project", +"resource" +], +"parameters": { +"header.bypassBillingFilter": { +"location": "query", +"type": "boolean" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"resource": { +"description": "Name or id of the resource for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9_]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +} +}, +"path": "deploymentmanager/alpha/projects/{project}/global/deployments/{resource}/testIamPermissions", +"request": { +"$ref": "TestPermissionsRequest" +}, +"response": { +"$ref": "TestPermissionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/ndev.cloudman" +] +}, +"update": { +"description": "Updates a deployment and all of the resources described by the deployment manifest.", +"flatPath": "deploymentmanager/alpha/projects/{project}/global/deployments/{deployment}", +"httpMethod": "PUT", +"id": "deploymentmanager.deployments.update", +"parameterOrder": [ +"project", +"deployment" +], +"parameters": { +"createPolicy": { +"default": "CREATE_OR_ACQUIRE", +"description": "Sets the policy to use for creating new resources.", +"enum": [ +"CREATE_OR_ACQUIRE", +"ACQUIRE", +"CREATE" +], +"enumDescriptions": [ +"", +"", +"" +], +"location": "query", +"type": "string" +}, +"deletePolicy": { +"default": "DELETE", +"description": "Sets the policy to use for deleting resources.", +"enum": [ +"DELETE", +"ABANDON" +], +"enumDescriptions": [ +"", +"" +], +"location": "query", +"type": "string" +}, +"deployment": { +"description": "The name of the deployment for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +}, +"header.bypassBillingFilter": { +"location": "query", +"type": "boolean" +}, +"preview": { +"default": "false", +"description": "If set to true, updates the deployment and creates and updates the \"shell\" resources but does not actually alter or instantiate these resources. This allows you to preview what your deployment will look like. You can use this intent to preview how an update would affect your deployment. You must provide a `target.config` with a configuration if this is set to true. After previewing a deployment, you can deploy your resources by making a request with the `update()` or you can `cancelPreview()` to remove the preview altogether. Note that the deployment will still exist after you cancel the preview and you must separately delete this deployment if you want to remove it.", +"location": "query", +"type": "boolean" +}, +"project": { +"description": "The project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +} +}, +"path": "deploymentmanager/alpha/projects/{project}/global/deployments/{deployment}", +"request": { +"$ref": "Deployment" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/ndev.cloudman" +] +} +} +}, +"manifests": { +"methods": { +"get": { +"description": "Gets information about a specific manifest.", +"flatPath": "deploymentmanager/alpha/projects/{project}/global/deployments/{deployment}/manifests/{manifest}", +"httpMethod": "GET", +"id": "deploymentmanager.manifests.get", +"parameterOrder": [ +"project", +"deployment", +"manifest" +], +"parameters": { +"deployment": { +"description": "The name of the deployment for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +}, +"header.bypassBillingFilter": { +"location": "query", +"type": "boolean" +}, +"manifest": { +"description": "The name of the manifest for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +}, +"project": { +"description": "The project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +} +}, +"path": "deploymentmanager/alpha/projects/{project}/global/deployments/{deployment}/manifests/{manifest}", +"response": { +"$ref": "Manifest" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only", +"https://www.googleapis.com/auth/ndev.cloudman", +"https://www.googleapis.com/auth/ndev.cloudman.readonly" +] +}, +"list": { +"description": "Lists all manifests for a given deployment.", +"flatPath": "deploymentmanager/alpha/projects/{project}/global/deployments/{deployment}/manifests", +"httpMethod": "GET", +"id": "deploymentmanager.manifests.list", +"parameterOrder": [ +"project", +"deployment" +], +"parameters": { +"deployment": { +"description": "The name of the deployment for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +}, +"filter": { +"description": "A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq \"double quoted literal\"` `(fieldname1 eq literal) (fieldname2 ne \"literal\")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name \"instance\", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions.", +"location": "query", +"type": "string" +}, +"maxResults": { +"default": "500", +"description": "The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)", +"format": "uint32", +"location": "query", +"minimum": "0", +"type": "integer" +}, +"orderBy": { +"description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy=\"creationTimestamp desc\"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported.", +"location": "query", +"type": "string" +}, +"pageToken": { +"description": "Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.", +"location": "query", +"type": "string" +}, +"project": { +"description": "The project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +} +}, +"path": "deploymentmanager/alpha/projects/{project}/global/deployments/{deployment}/manifests", +"response": { +"$ref": "ManifestsListResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only", +"https://www.googleapis.com/auth/ndev.cloudman", +"https://www.googleapis.com/auth/ndev.cloudman.readonly" +] +} +} +}, +"operations": { +"methods": { +"get": { +"description": "Gets information about a specific operation.", +"flatPath": "deploymentmanager/alpha/projects/{project}/global/operations/{operation}", +"httpMethod": "GET", +"id": "deploymentmanager.operations.get", +"parameterOrder": [ +"project", +"operation" +], +"parameters": { +"header.bypassBillingFilter": { +"location": "query", +"type": "boolean" +}, +"operation": { +"description": "The name of the operation for this request.", +"location": "path", +"required": true, +"type": "string" +}, +"project": { +"description": "The project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +} +}, +"path": "deploymentmanager/alpha/projects/{project}/global/operations/{operation}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only", +"https://www.googleapis.com/auth/ndev.cloudman", +"https://www.googleapis.com/auth/ndev.cloudman.readonly" +] +}, +"list": { +"description": "Lists all operations for a project.", +"flatPath": "deploymentmanager/alpha/projects/{project}/global/operations", +"httpMethod": "GET", +"id": "deploymentmanager.operations.list", +"parameterOrder": [ +"project" +], +"parameters": { +"filter": { +"description": "A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq \"double quoted literal\"` `(fieldname1 eq literal) (fieldname2 ne \"literal\")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name \"instance\", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions.", +"location": "query", +"type": "string" +}, +"maxResults": { +"default": "500", +"description": "The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)", +"format": "uint32", +"location": "query", +"minimum": "0", +"type": "integer" +}, +"orderBy": { +"description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy=\"creationTimestamp desc\"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported.", +"location": "query", +"type": "string" +}, +"pageToken": { +"description": "Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.", +"location": "query", +"type": "string" +}, +"project": { +"description": "The project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +} +}, +"path": "deploymentmanager/alpha/projects/{project}/global/operations", +"response": { +"$ref": "OperationsListResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only", +"https://www.googleapis.com/auth/ndev.cloudman", +"https://www.googleapis.com/auth/ndev.cloudman.readonly" +] +} +} +}, +"resources": { +"methods": { +"get": { +"description": "Gets information about a single resource.", +"flatPath": "deploymentmanager/alpha/projects/{project}/global/deployments/{deployment}/resources/{resource}", +"httpMethod": "GET", +"id": "deploymentmanager.resources.get", +"parameterOrder": [ +"project", +"deployment", +"resource" +], +"parameters": { +"deployment": { +"description": "The name of the deployment for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +}, +"header.bypassBillingFilter": { +"location": "query", +"type": "boolean" +}, +"project": { +"description": "The project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"resource": { +"description": "The name of the resource for this request.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "deploymentmanager/alpha/projects/{project}/global/deployments/{deployment}/resources/{resource}", +"response": { +"$ref": "Resource" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only", +"https://www.googleapis.com/auth/ndev.cloudman", +"https://www.googleapis.com/auth/ndev.cloudman.readonly" +] +}, +"list": { +"description": "Lists all resources in a given deployment.", +"flatPath": "deploymentmanager/alpha/projects/{project}/global/deployments/{deployment}/resources", +"httpMethod": "GET", +"id": "deploymentmanager.resources.list", +"parameterOrder": [ +"project", +"deployment" +], +"parameters": { +"deployment": { +"description": "The name of the deployment for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +}, +"filter": { +"description": "A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq \"double quoted literal\"` `(fieldname1 eq literal) (fieldname2 ne \"literal\")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name \"instance\", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions.", +"location": "query", +"type": "string" +}, +"maxResults": { +"default": "500", +"description": "The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)", +"format": "uint32", +"location": "query", +"minimum": "0", +"type": "integer" +}, +"orderBy": { +"description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy=\"creationTimestamp desc\"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported.", +"location": "query", +"type": "string" +}, +"pageToken": { +"description": "Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.", +"location": "query", +"type": "string" +}, +"project": { +"description": "The project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +} +}, +"path": "deploymentmanager/alpha/projects/{project}/global/deployments/{deployment}/resources", +"response": { +"$ref": "ResourcesListResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only", +"https://www.googleapis.com/auth/ndev.cloudman", +"https://www.googleapis.com/auth/ndev.cloudman.readonly" +] +} +} +}, +"typeProviders": { +"methods": { +"delete": { +"description": "Deletes a type provider.", +"flatPath": "deploymentmanager/alpha/projects/{project}/global/typeProviders/{typeProvider}", +"httpMethod": "DELETE", +"id": "deploymentmanager.typeProviders.delete", +"parameterOrder": [ +"project", +"typeProvider" +], +"parameters": { +"header.bypassBillingFilter": { +"location": "query", +"type": "boolean" +}, +"project": { +"description": "The project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"typeProvider": { +"description": "The name of the type provider for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +} +}, +"path": "deploymentmanager/alpha/projects/{project}/global/typeProviders/{typeProvider}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/ndev.cloudman" +] +}, +"get": { +"description": "Gets information about a specific type provider.", +"flatPath": "deploymentmanager/alpha/projects/{project}/global/typeProviders/{typeProvider}", +"httpMethod": "GET", +"id": "deploymentmanager.typeProviders.get", +"parameterOrder": [ +"project", +"typeProvider" +], +"parameters": { +"header.bypassBillingFilter": { +"location": "query", +"type": "boolean" +}, +"project": { +"description": "The project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"typeProvider": { +"description": "The name of the type provider for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +} +}, +"path": "deploymentmanager/alpha/projects/{project}/global/typeProviders/{typeProvider}", +"response": { +"$ref": "TypeProvider" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only", +"https://www.googleapis.com/auth/ndev.cloudman", +"https://www.googleapis.com/auth/ndev.cloudman.readonly" +] +}, +"getType": { +"description": "Gets a type info for a type provided by a TypeProvider.", +"flatPath": "deploymentmanager/alpha/projects/{project}/global/typeProviders/{typeProvider}/types/{type}", +"httpMethod": "GET", +"id": "deploymentmanager.typeProviders.getType", +"parameterOrder": [ +"project", +"typeProvider", +"type" +], +"parameters": { +"header.bypassBillingFilter": { +"location": "query", +"type": "boolean" +}, +"project": { +"description": "The project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"type": { +"description": "The name of the type provider type for this request.", +"location": "path", +"required": true, +"type": "string" +}, +"typeProvider": { +"description": "The name of the type provider for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +} +}, +"path": "deploymentmanager/alpha/projects/{project}/global/typeProviders/{typeProvider}/types/{type}", +"response": { +"$ref": "TypeInfo" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only", +"https://www.googleapis.com/auth/ndev.cloudman", +"https://www.googleapis.com/auth/ndev.cloudman.readonly" +] +}, +"insert": { +"description": "Creates a type provider.", +"flatPath": "deploymentmanager/alpha/projects/{project}/global/typeProviders", +"httpMethod": "POST", +"id": "deploymentmanager.typeProviders.insert", +"parameterOrder": [ +"project" +], +"parameters": { +"header.bypassBillingFilter": { +"location": "query", +"type": "boolean" +}, +"project": { +"description": "The project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +} +}, +"path": "deploymentmanager/alpha/projects/{project}/global/typeProviders", +"request": { +"$ref": "TypeProvider" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/ndev.cloudman" +] +}, +"list": { +"description": "Lists all resource type providers for Deployment Manager.", +"flatPath": "deploymentmanager/alpha/projects/{project}/global/typeProviders", +"httpMethod": "GET", +"id": "deploymentmanager.typeProviders.list", +"parameterOrder": [ +"project" +], +"parameters": { +"filter": { +"description": "A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq \"double quoted literal\"` `(fieldname1 eq literal) (fieldname2 ne \"literal\")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name \"instance\", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions.", +"location": "query", +"type": "string" +}, +"maxResults": { +"default": "500", +"description": "The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)", +"format": "uint32", +"location": "query", +"minimum": "0", +"type": "integer" +}, +"orderBy": { +"description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy=\"creationTimestamp desc\"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported.", +"location": "query", +"type": "string" +}, +"pageToken": { +"description": "Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.", +"location": "query", +"type": "string" +}, +"project": { +"description": "The project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +} +}, +"path": "deploymentmanager/alpha/projects/{project}/global/typeProviders", +"response": { +"$ref": "TypeProvidersListResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only", +"https://www.googleapis.com/auth/ndev.cloudman", +"https://www.googleapis.com/auth/ndev.cloudman.readonly" +] +}, +"listTypes": { +"description": "Lists all the type info for a TypeProvider.", +"flatPath": "deploymentmanager/alpha/projects/{project}/global/typeProviders/{typeProvider}/types", +"httpMethod": "GET", +"id": "deploymentmanager.typeProviders.listTypes", +"parameterOrder": [ +"project", +"typeProvider" +], +"parameters": { +"filter": { +"description": "A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq \"double quoted literal\"` `(fieldname1 eq literal) (fieldname2 ne \"literal\")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name \"instance\", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions.", +"location": "query", +"type": "string" +}, +"maxResults": { +"default": "500", +"description": "The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)", +"format": "uint32", +"location": "query", +"minimum": "0", +"type": "integer" +}, +"orderBy": { +"description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy=\"creationTimestamp desc\"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported.", +"location": "query", +"type": "string" +}, +"pageToken": { +"description": "Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.", +"location": "query", +"type": "string" +}, +"project": { +"description": "The project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"typeProvider": { +"description": "The name of the type provider for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +} +}, +"path": "deploymentmanager/alpha/projects/{project}/global/typeProviders/{typeProvider}/types", +"response": { +"$ref": "TypeProvidersListTypesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only", +"https://www.googleapis.com/auth/ndev.cloudman", +"https://www.googleapis.com/auth/ndev.cloudman.readonly" +] +}, +"patch": { +"description": "Patches a type provider.", +"flatPath": "deploymentmanager/alpha/projects/{project}/global/typeProviders/{typeProvider}", +"httpMethod": "PATCH", +"id": "deploymentmanager.typeProviders.patch", +"parameterOrder": [ +"project", +"typeProvider" +], +"parameters": { +"header.bypassBillingFilter": { +"location": "query", +"type": "boolean" +}, +"project": { +"description": "The project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"typeProvider": { +"description": "The name of the type provider for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +} +}, +"path": "deploymentmanager/alpha/projects/{project}/global/typeProviders/{typeProvider}", +"request": { +"$ref": "TypeProvider" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/ndev.cloudman" +] +}, +"update": { +"description": "Updates a type provider.", +"flatPath": "deploymentmanager/alpha/projects/{project}/global/typeProviders/{typeProvider}", +"httpMethod": "PUT", +"id": "deploymentmanager.typeProviders.update", +"parameterOrder": [ +"project", +"typeProvider" +], +"parameters": { +"header.bypassBillingFilter": { +"location": "query", +"type": "boolean" +}, +"project": { +"description": "The project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"typeProvider": { +"description": "The name of the type provider for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +} +}, +"path": "deploymentmanager/alpha/projects/{project}/global/typeProviders/{typeProvider}", +"request": { +"$ref": "TypeProvider" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/ndev.cloudman" +] +} +} +}, +"types": { +"methods": { +"get": { +"description": "Gets information about a specific type.", +"flatPath": "deploymentmanager/alpha/projects/{project}/global/types/{type}", +"httpMethod": "GET", +"id": "deploymentmanager.types.get", +"parameterOrder": [ +"project", +"type" +], +"parameters": { +"header.bypassBillingFilter": { +"location": "query", +"type": "boolean" +}, +"project": { +"description": "The project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"type": { +"description": "The name of the type for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +} +}, +"path": "deploymentmanager/alpha/projects/{project}/global/types/{type}", +"response": { +"$ref": "Type" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only", +"https://www.googleapis.com/auth/ndev.cloudman", +"https://www.googleapis.com/auth/ndev.cloudman.readonly" +] +}, +"list": { +"description": "Lists all resource types for Deployment Manager.", +"flatPath": "deploymentmanager/alpha/projects/{project}/global/types", +"httpMethod": "GET", +"id": "deploymentmanager.types.list", +"parameterOrder": [ +"project" +], +"parameters": { +"filter": { +"description": "A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq \"double quoted literal\"` `(fieldname1 eq literal) (fieldname2 ne \"literal\")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name \"instance\", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions.", +"location": "query", +"type": "string" +}, +"maxResults": { +"default": "500", +"description": "The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)", +"format": "uint32", +"location": "query", +"minimum": "0", +"type": "integer" +}, +"orderBy": { +"description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy=\"creationTimestamp desc\"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported.", +"location": "query", +"type": "string" +}, +"pageToken": { +"description": "Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.", +"location": "query", +"type": "string" +}, +"project": { +"description": "The project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +} +}, +"path": "deploymentmanager/alpha/projects/{project}/global/types", +"response": { +"$ref": "TypesListResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only", +"https://www.googleapis.com/auth/ndev.cloudman", +"https://www.googleapis.com/auth/ndev.cloudman.readonly" +] +} +} +} +}, +"revision": "20251128", +"rootUrl": "https://deploymentmanager.googleapis.com/", +"schemas": { +"AsyncOptions": { +"description": "Async options that determine when a resource should finish.", +"id": "AsyncOptions", +"properties": { +"methodMatch": { +"description": "Method regex where this policy will apply.", +"type": "string" +}, +"pollingOptions": { +"$ref": "PollingOptions", +"description": "Deployment manager will poll instances for this API resource setting a RUNNING state, and blocking until polling conditions tell whether the resource is completed or failed." +} +}, +"type": "object" +}, +"AuditConfig": { +"description": "Specifies the audit configuration for a service. The configuration determines which permission types are logged, and what identities, if any, are exempted from logging. An AuditConfig must have one or more AuditLogConfigs. If there are AuditConfigs for both `allServices` and a specific service, the union of the two AuditConfigs is used for that service: the log_types specified in each AuditConfig are enabled, and the exempted_members in each AuditLogConfig are exempted. Example Policy with multiple AuditConfigs: { \"audit_configs\": [ { \"service\": \"allServices\", \"audit_log_configs\": [ { \"log_type\": \"DATA_READ\", \"exempted_members\": [ \"user:jose@example.com\" ] }, { \"log_type\": \"DATA_WRITE\" }, { \"log_type\": \"ADMIN_READ\" } ] }, { \"service\": \"sampleservice.googleapis.com\", \"audit_log_configs\": [ { \"log_type\": \"DATA_READ\" }, { \"log_type\": \"DATA_WRITE\", \"exempted_members\": [ \"user:aliya@example.com\" ] } ] } ] } For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also exempts `jose@example.com` from DATA_READ logging, and `aliya@example.com` from DATA_WRITE logging.", +"id": "AuditConfig", +"properties": { +"auditLogConfigs": { +"description": "The configuration for logging of each type of permission.", +"items": { +"$ref": "AuditLogConfig" +}, +"type": "array" +}, +"service": { +"description": "Specifies a service that will be enabled for audit logging. For example, `storage.googleapis.com`, `cloudsql.googleapis.com`. `allServices` is a special value that covers all services.", +"type": "string" +} +}, +"type": "object" +}, +"AuditLogConfig": { +"description": "Provides the configuration for logging a type of permissions. Example: { \"audit_log_configs\": [ { \"log_type\": \"DATA_READ\", \"exempted_members\": [ \"user:jose@example.com\" ] }, { \"log_type\": \"DATA_WRITE\" } ] } This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting jose@example.com from DATA_READ logging.", +"id": "AuditLogConfig", +"properties": { +"exemptedMembers": { +"description": "Specifies the identities that do not cause logging for this type of permission. Follows the same format of Binding.members.", +"items": { +"type": "string" +}, +"type": "array" +}, +"logType": { +"description": "The log type that this config enables.", +"enum": [ +"LOG_TYPE_UNSPECIFIED", +"ADMIN_READ", +"DATA_WRITE", +"DATA_READ" +], +"enumDescriptions": [ +"Default case. Should never be this.", +"Admin reads. Example: CloudIAM getIamPolicy", +"Data writes. Example: CloudSQL Users create", +"Data reads. Example: CloudSQL Users list" +], +"type": "string" +} +}, +"type": "object" +}, +"BaseType": { +"description": "BaseType that describes a service-backed Type.", +"id": "BaseType", +"properties": { +"collectionOverrides": { +"description": "Allows resource handling overrides for specific collections", +"items": { +"$ref": "CollectionOverride" +}, +"type": "array" +}, +"credential": { +"$ref": "Credential", +"description": "Credential used when interacting with this type." +}, +"descriptorUrl": { +"description": "Descriptor Url for the this type.", +"type": "string" +}, +"options": { +"$ref": "Options", +"description": "Options to apply when handling any resources in this service." +} +}, +"type": "object" +}, +"BasicAuth": { +"description": "Basic Auth used as a credential.", +"id": "BasicAuth", +"properties": { +"password": { +"type": "string" +}, +"user": { +"type": "string" +} +}, +"type": "object" +}, +"Binding": { +"description": "Associates `members`, or principals, with a `role`.", +"id": "Binding", +"properties": { +"condition": { +"$ref": "Expr", +"description": "The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies)." +}, +"members": { +"description": "Specifies the principals requesting access for a Google Cloud resource. `members` can have the following values: * `allUsers`: A special identifier that represents anyone who is on the internet; with or without a Google account. * `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service account. Does not include identities that come from external identity providers (IdPs) through identity federation. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `group:{emailid}`: An email address that represents a Google group. For example, `admins@example.com`. * `domain:{domain}`: The G Suite domain (primary) that represents all the users of that domain. For example, `google.com` or `example.com`. * `principal://iam.googleapis.com/locations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}`: A single identity in a workforce identity pool. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/group/{group_id}`: All workforce identities in a group. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/attribute.{attribute_name}/{attribute_value}`: All workforce identities with a specific attribute value. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/*`: All identities in a workforce identity pool. * `principal://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/subject/{subject_attribute_value}`: A single identity in a workload identity pool. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/group/{group_id}`: A workload identity pool group. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/attribute.{attribute_name}/{attribute_value}`: All identities in a workload identity pool with a certain attribute. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/*`: All identities in a workload identity pool. * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a user that has been recently deleted. For example, `alice@example.com?uid=123456789012345678901`. If the user is recovered, this value reverts to `user:{emailid}` and the recovered user retains the role in the binding. * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a service account that has been recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the service account is undeleted, this value reverts to `serviceAccount:{emailid}` and the undeleted service account retains the role in the binding. * `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a Google group that has been recently deleted. For example, `admins@example.com?uid=123456789012345678901`. If the group is recovered, this value reverts to `group:{emailid}` and the recovered group retains the role in the binding. * `deleted:principal://iam.googleapis.com/locations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}`: Deleted single identity in a workforce identity pool. For example, `deleted:principal://iam.googleapis.com/locations/global/workforcePools/my-pool-id/subject/my-subject-attribute-value`.", +"items": { +"type": "string" +}, +"type": "array" +}, +"role": { +"description": "Role that is assigned to the list of `members`, or principals. For example, `roles/viewer`, `roles/editor`, or `roles/owner`. For an overview of the IAM roles and permissions, see the [IAM documentation](https://cloud.google.com/iam/docs/roles-overview). For a list of the available pre-defined roles, see [here](https://cloud.google.com/iam/docs/understanding-roles).", +"type": "string" +} +}, +"type": "object" +}, +"BulkInsertOperationStatus": { +"id": "BulkInsertOperationStatus", +"properties": { +"createdVmCount": { +"description": "[Output Only] Count of VMs successfully created so far.", +"format": "int32", +"type": "integer" +}, +"deletedVmCount": { +"description": "[Output Only] Count of VMs that got deleted during rollback.", +"format": "int32", +"type": "integer" +}, +"failedToCreateVmCount": { +"description": "[Output Only] Count of VMs that started creating but encountered an error.", +"format": "int32", +"type": "integer" +}, +"status": { +"description": "[Output Only] Creation status of BulkInsert operation - information if the flow is rolling forward or rolling back.", +"enum": [ +"STATUS_UNSPECIFIED", +"CREATING", +"ROLLING_BACK", +"DONE" +], +"enumDescriptions": [ +"", +"Rolling forward - creating VMs.", +"Rolling back - cleaning up after an error.", +"Done" +], +"type": "string" +}, +"targetVmCount": { +"description": "[Output Only] Count of VMs originally planned to be created.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"CollectionOverride": { +"description": "CollectionOverride allows resource handling overrides for specific resources within a BaseType", +"id": "CollectionOverride", +"properties": { +"collection": { +"description": "The collection that identifies this resource within its service.", +"type": "string" +}, +"methodMap": { +"$ref": "MethodMap", +"description": "Custom verb method mappings to support unordered list API mappings." +}, +"options": { +"$ref": "Options", +"description": "The options to apply to this resource-level override" +} +}, +"type": "object" +}, +"CompositeType": { +"description": "Holds the composite type.", +"id": "CompositeType", +"properties": { +"description": { +"description": "An optional textual description of the resource; provided by the client when the resource is created.", +"type": "string" +}, +"id": { +"format": "uint64", +"type": "string" +}, +"insertTime": { +"description": "Output only. Creation timestamp in RFC3339 text format.", +"type": "string" +}, +"labels": { +"description": "Map of labels; provided by the client when the resource is created or updated. Specifically: Label keys must be between 1 and 63 characters long and must conform to the following regular expression: `[a-z]([-a-z0-9]*[a-z0-9])?` Label values must be between 0 and 63 characters long and must conform to the regular expression `([a-z]([-a-z0-9]*[a-z0-9])?)?`.", +"items": { +"$ref": "CompositeTypeLabelEntry" +}, +"type": "array" +}, +"name": { +"description": "Name of the composite type, must follow the expression: `[a-z]([-a-z0-9_.]{0,61}[a-z0-9])?`.", +"type": "string" +}, +"operation": { +"$ref": "Operation", +"description": "Output only. The Operation that most recently ran, or is currently running, on this composite type." +}, +"selfLink": { +"description": "Output only. Server defined URL for the resource.", +"type": "string" +}, +"status": { +"enum": [ +"UNKNOWN_STATUS", +"DEPRECATED", +"EXPERIMENTAL", +"SUPPORTED" +], +"enumDescriptions": [ +"", +"", +"", +"" +], +"type": "string" +}, +"templateContents": { +"$ref": "TemplateContents", +"description": "Files for the template type." +} +}, +"type": "object" +}, +"CompositeTypeLabelEntry": { +"description": "Label object for CompositeTypes", +"id": "CompositeTypeLabelEntry", +"properties": { +"key": { +"description": "Key of the label", +"type": "string" +}, +"value": { +"description": "Value of the label", +"type": "string" +} +}, +"type": "object" +}, +"CompositeTypesListResponse": { +"description": "A response that returns all Composite Types supported by Deployment Manager", +"id": "CompositeTypesListResponse", +"properties": { +"compositeTypes": { +"description": "Output only. A list of resource composite types supported by Deployment Manager.", +"items": { +"$ref": "CompositeType" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A token used to continue a truncated list request.", +"type": "string" +} +}, +"type": "object" +}, +"ConfigFile": { +"id": "ConfigFile", +"properties": { +"content": { +"description": "The contents of the file.", +"type": "string" +} +}, +"type": "object" +}, +"Credential": { +"description": "The credential used by Deployment Manager and TypeProvider. Only one of the options is permitted.", +"id": "Credential", +"properties": { +"basicAuth": { +"$ref": "BasicAuth", +"description": "Basic Auth Credential, only used by TypeProvider." +}, +"serviceAccount": { +"$ref": "ServiceAccount", +"description": "Service Account Credential, only used by Deployment." +}, +"useProjectDefault": { +"description": "Specify to use the project default credential, only supported by Deployment.", +"type": "boolean" +} +}, +"type": "object" +}, +"DebugInfo": { +"description": "Describes additional debugging info.", +"id": "DebugInfo", +"properties": { +"detail": { +"description": "Additional debugging information provided by the server.", +"type": "string" +}, +"stackEntries": { +"description": "The stack trace entries indicating where the error occurred.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"Deployment": { +"id": "Deployment", +"properties": { +"credential": { +"$ref": "Credential", +"description": "User provided default credential for the deployment." +}, +"description": { +"description": "An optional user-provided description of the deployment.", +"type": "string" +}, +"fingerprint": { +"description": "Provides a fingerprint to use in requests to modify a deployment, such as `update()`, `stop()`, and `cancelPreview()` requests. A fingerprint is a randomly generated value that must be provided with `update()`, `stop()`, and `cancelPreview()` requests to perform optimistic locking. This ensures optimistic concurrency so that only one request happens at a time. The fingerprint is initially generated by Deployment Manager and changes after every request to modify data. To get the latest fingerprint value, perform a `get()` request to a deployment.", +"format": "byte", +"type": "string" +}, +"id": { +"format": "uint64", +"type": "string" +}, +"insertTime": { +"description": "Output only. Creation timestamp in RFC3339 text format.", +"type": "string" +}, +"labels": { +"description": "Map of One Platform labels; provided by the client when the resource is created or updated. Specifically: Label keys must be between 1 and 63 characters long and must conform to the following regular expression: `[a-z]([-a-z0-9]*[a-z0-9])?` Label values must be between 0 and 63 characters long and must conform to the regular expression `([a-z]([-a-z0-9]*[a-z0-9])?)?`.", +"items": { +"$ref": "DeploymentLabelEntry" +}, +"type": "array" +}, +"manifest": { +"description": "Output only. URL of the manifest representing the last manifest that was successfully deployed. If no manifest has been successfully deployed, this field will be absent.", +"type": "string" +}, +"name": { +"description": "Name of the resource; provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.", +"type": "string" +}, +"operation": { +"$ref": "Operation", +"description": "Output only. The Operation that most recently ran, or is currently running, on this deployment." +}, +"outputs": { +"description": "Output only. List of outputs from the last manifest that deployed successfully.", +"items": { +"$ref": "DeploymentOutputEntry" +}, +"type": "array" +}, +"selfLink": { +"description": "Output only. Server defined URL for the resource.", +"type": "string" +}, +"target": { +"$ref": "TargetConfiguration", +"description": "[Input Only] The parameters that define your deployment, including the deployment configuration and relevant templates." +}, +"update": { +"$ref": "DeploymentUpdate", +"description": "Output only. If Deployment Manager is currently updating or previewing an update to this deployment, the updated configuration appears here." +}, +"updateTime": { +"description": "Output only. Update timestamp in RFC3339 text format.", +"type": "string" +} +}, +"type": "object" +}, +"DeploymentLabelEntry": { +"description": "Label object for Deployments", +"id": "DeploymentLabelEntry", +"properties": { +"key": { +"description": "Key of the label", +"type": "string" +}, +"value": { +"description": "Value of the label", +"type": "string" +} +}, +"type": "object" +}, +"DeploymentOutputEntry": { +"description": "Output object for Deployments", +"id": "DeploymentOutputEntry", +"properties": { +"key": { +"description": "Key of the output", +"type": "string" +}, +"value": { +"description": "Value of the label", +"type": "string" +} +}, +"type": "object" +}, +"DeploymentUpdate": { +"id": "DeploymentUpdate", +"properties": { +"credential": { +"$ref": "Credential", +"description": "Output only. The user-provided default credential to use when deploying this preview." +}, +"description": { +"description": "Output only. An optional user-provided description of the deployment after the current update has been applied.", +"type": "string" +}, +"labels": { +"description": "Map of One Platform labels; provided by the client when the resource is created or updated. Specifically: Label keys must be between 1 and 63 characters long and must conform to the following regular expression: `[a-z]([-a-z0-9]*[a-z0-9])?` Label values must be between 0 and 63 characters long and must conform to the regular expression `([a-z]([-a-z0-9]*[a-z0-9])?)?`.", +"items": { +"$ref": "DeploymentUpdateLabelEntry" +}, +"type": "array" +}, +"manifest": { +"description": "Output only. URL of the manifest representing the update configuration of this deployment.", +"type": "string" +} +}, +"type": "object" +}, +"DeploymentUpdateLabelEntry": { +"description": "Label object for DeploymentUpdate", +"id": "DeploymentUpdateLabelEntry", +"properties": { +"key": { +"description": "Key of the label", +"type": "string" +}, +"value": { +"description": "Value of the label", +"type": "string" +} +}, +"type": "object" +}, +"DeploymentsCancelPreviewRequest": { +"id": "DeploymentsCancelPreviewRequest", +"properties": { +"fingerprint": { +"description": "Specifies a fingerprint for `cancelPreview()` requests. A fingerprint is a randomly generated value that must be provided in `cancelPreview()` requests to perform optimistic locking. This ensures optimistic concurrency so that the deployment does not have conflicting requests (e.g. if someone attempts to make a new update request while another user attempts to cancel a preview, this would prevent one of the requests). The fingerprint is initially generated by Deployment Manager and changes after every request to modify a deployment. To get the latest fingerprint value, perform a `get()` request on the deployment.", +"format": "byte", +"type": "string" +} +}, +"type": "object" +}, +"DeploymentsListResponse": { +"description": "A response containing a partial list of deployments and a page token used to build the next request if the request has been truncated.", +"id": "DeploymentsListResponse", +"properties": { +"deployments": { +"description": "Output only. The deployments contained in this response.", +"items": { +"$ref": "Deployment" +}, +"type": "array" +}, +"nextPageToken": { +"description": "Output only. A token used to continue a truncated list request.", +"type": "string" +} +}, +"type": "object" +}, +"DeploymentsStopRequest": { +"id": "DeploymentsStopRequest", +"properties": { +"fingerprint": { +"description": "Specifies a fingerprint for `stop()` requests. A fingerprint is a randomly generated value that must be provided in `stop()` requests to perform optimistic locking. This ensures optimistic concurrency so that the deployment does not have conflicting requests (e.g. if someone attempts to make a new update request while another user attempts to stop an ongoing update request, this would prevent a collision). The fingerprint is initially generated by Deployment Manager and changes after every request to modify a deployment. To get the latest fingerprint value, perform a `get()` request on the deployment.", +"format": "byte", +"type": "string" +} +}, +"type": "object" +}, +"Diagnostic": { +"id": "Diagnostic", +"properties": { +"field": { +"description": "JsonPath expression on the resource that if non empty, indicates that this field needs to be extracted as a diagnostic.", +"type": "string" +}, +"level": { +"description": "Level to record this diagnostic.", +"enum": [ +"UNKNOWN", +"INFORMATION", +"WARNING", +"ERROR" +], +"enumDescriptions": [ +"", +"If level is informational, it only gets displayed as part of the resource.", +"If level is warning, will end up in the resource as a warning.", +"If level is error, it will indicate an error occurred after finishCondition is set, and this field will populate resource errors and operation errors." +], +"type": "string" +} +}, +"type": "object" +}, +"ErrorInfo": { +"description": "Describes the cause of the error with structured details. Example of an error when contacting the \"pubsub.googleapis.com\" API when it is not enabled: { \"reason\": \"API_DISABLED\" \"domain\": \"googleapis.com\" \"metadata\": { \"resource\": \"projects/123\", \"service\": \"pubsub.googleapis.com\" } } This response indicates that the pubsub.googleapis.com API is not enabled. Example of an error that is returned when attempting to create a Spanner instance in a region that is out of stock: { \"reason\": \"STOCKOUT\" \"domain\": \"spanner.googleapis.com\", \"metadata\": { \"availableRegions\": \"us-central1,us-east2\" } }", +"id": "ErrorInfo", +"properties": { +"domain": { +"description": "The logical grouping to which the \"reason\" belongs. The error domain is typically the registered service name of the tool or product that generates the error. Example: \"pubsub.googleapis.com\". If the error is generated by some common infrastructure, the error domain must be a globally unique value that identifies the infrastructure. For Google API infrastructure, the error domain is \"googleapis.com\".", +"type": "string" +}, +"metadatas": { +"additionalProperties": { +"type": "string" +}, +"description": "Additional structured details about this error. Keys must match a regular expression of `a-z+` but should ideally be lowerCamelCase. Also, they must be limited to 64 characters in length. When identifying the current value of an exceeded limit, the units should be contained in the key, not the value. For example, rather than `{\"instanceLimit\": \"100/request\"}`, should be returned as, `{\"instanceLimitPerRequest\": \"100\"}`, if the client exceeds the number of instances that can be created in a single (batch) request.", +"type": "object" +}, +"reason": { +"description": "The reason of the error. This is a constant value that identifies the proximate cause of the error. Error reasons are unique within a particular domain of errors. This should be at most 63 characters and match a regular expression of `A-Z+[A-Z0-9]`, which represents UPPER_SNAKE_CASE.", +"type": "string" +} +}, +"type": "object" +}, +"Expr": { +"description": "Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: \"Summary size limit\" description: \"Determines if a summary is less than 100 chars\" expression: \"document.summary.size() < 100\" Example (Equality): title: \"Requestor is owner\" description: \"Determines if requestor is the document owner\" expression: \"document.owner == request.auth.claims.email\" Example (Logic): title: \"Public documents\" description: \"Determine whether the document should be publicly visible\" expression: \"document.type != 'private' && document.type != 'internal'\" Example (Data Manipulation): title: \"Notification string\" description: \"Create a notification string with a timestamp.\" expression: \"'New message received at ' + string(document.create_time)\" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information.", +"id": "Expr", +"properties": { +"description": { +"description": "Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI.", +"type": "string" +}, +"expression": { +"description": "Textual representation of an expression in Common Expression Language syntax.", +"type": "string" +}, +"location": { +"description": "Optional. String indicating the location of the expression for error reporting, e.g. a file name and a position in the file.", +"type": "string" +}, +"title": { +"description": "Optional. Title for the expression, i.e. a short string describing its purpose. This can be used e.g. in UIs which allow to enter the expression.", +"type": "string" +} +}, +"type": "object" +}, +"FirewallPolicyRuleOperationMetadata": { +"id": "FirewallPolicyRuleOperationMetadata", +"properties": { +"allocatedPriority": { +"description": "The priority allocated for the firewall policy rule if query parameters specified minPriority/maxPriority.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"GlobalSetPolicyRequest": { +"id": "GlobalSetPolicyRequest", +"properties": { +"bindings": { +"description": "Flatten Policy to create a backward compatible wire-format. Deprecated. Use 'policy' to specify bindings.", +"items": { +"$ref": "Binding" +}, +"type": "array" +}, +"etag": { +"description": "Flatten Policy to create a backward compatible wire-format. Deprecated. Use 'policy' to specify the etag.", +"format": "byte", +"type": "string" +}, +"policy": { +"$ref": "Policy", +"description": "REQUIRED: The complete policy to be applied to the 'resource'. The size of the policy is limited to a few 10s of KB. An empty policy is in general a valid policy but certain services (like Projects) might reject them." +}, +"updateMask": { +"description": "Update mask for the policy.", +"format": "google-fieldmask", +"type": "string" +} +}, +"type": "object" +}, +"Help": { +"description": "Provides links to documentation or for performing an out of band action. For example, if a quota check failed with an error indicating the calling project hasn't enabled the accessed service, this can contain a URL pointing directly to the right place in the developer console to flip the bit.", +"id": "Help", +"properties": { +"links": { +"description": "URL(s) pointing to additional information on handling the current error.", +"items": { +"$ref": "HelpLink" +}, +"type": "array" +} +}, +"type": "object" +}, +"HelpLink": { +"description": "Describes a URL link.", +"id": "HelpLink", +"properties": { +"description": { +"description": "Describes what the link offers.", +"type": "string" +}, +"url": { +"description": "The URL of the link.", +"type": "string" +} +}, +"type": "object" +}, +"ImportFile": { +"id": "ImportFile", +"properties": { +"content": { +"description": "The contents of the file.", +"type": "string" +}, +"name": { +"description": "The name of the file.", +"type": "string" +} +}, +"type": "object" +}, +"InputMapping": { +"description": "InputMapping creates a 'virtual' property that will be injected into the properties before sending the request to the underlying API.", +"id": "InputMapping", +"properties": { +"fieldName": { +"description": "The name of the field that is going to be injected.", +"type": "string" +}, +"location": { +"description": "The location where this mapping applies.", +"enum": [ +"UNKNOWN", +"PATH", +"QUERY", +"BODY", +"HEADER" +], +"enumDescriptions": [ +"", +"", +"", +"", +"" +], +"type": "string" +}, +"methodMatch": { +"description": "Regex to evaluate on method to decide if input applies.", +"type": "string" +}, +"value": { +"description": "A jsonPath expression to select an element.", +"type": "string" +} +}, +"type": "object" +}, +"InstancesBulkInsertOperationMetadata": { +"id": "InstancesBulkInsertOperationMetadata", +"properties": { +"machineType": { +"description": "[Output Only] The machine type of the VMs that were created used internally only by KCP flex bulk insert.", +"type": "string" +}, +"perLocationStatus": { +"additionalProperties": { +"$ref": "BulkInsertOperationStatus" +}, +"description": "Status information per location (location name is key). Example key: zones/us-central1-a", +"type": "object" +} +}, +"type": "object" +}, +"LocalizedMessage": { +"description": "Provides a localized error message that is safe to return to the user which can be attached to an RPC error.", +"id": "LocalizedMessage", +"properties": { +"locale": { +"description": "The locale used following the specification defined at https://www.rfc-editor.org/rfc/bcp/bcp47.txt. Examples are: \"en-US\", \"fr-CH\", \"es-MX\"", +"type": "string" +}, +"message": { +"description": "The localized error message in the above locale.", +"type": "string" +} +}, +"type": "object" +}, +"Manifest": { +"id": "Manifest", +"properties": { +"config": { +"$ref": "ConfigFile", +"description": "Output only. The YAML configuration for this manifest." +}, +"expandedConfig": { +"description": "Output only. The fully-expanded configuration file, including any templates and references.", +"type": "string" +}, +"id": { +"format": "uint64", +"type": "string" +}, +"imports": { +"description": "Output only. The imported files for this manifest.", +"items": { +"$ref": "ImportFile" +}, +"type": "array" +}, +"insertTime": { +"description": "Output only. Creation timestamp in RFC3339 text format.", +"type": "string" +}, +"layout": { +"description": "Output only. The YAML layout for this manifest.", +"type": "string" +}, +"manifestSizeBytes": { +"description": "Output only. The computed size of the fully expanded manifest.", +"format": "int64", +"type": "string" +}, +"manifestSizeLimitBytes": { +"description": "Output only. The size limit for expanded manifests in the project.", +"format": "int64", +"type": "string" +}, +"name": { +"description": "Output only. The name of the manifest.", +"type": "string" +}, +"selfLink": { +"description": "Output only. Self link for the manifest.", +"type": "string" +} +}, +"type": "object" +}, +"ManifestsListResponse": { +"description": "A response containing a partial list of manifests and a page token used to build the next request if the request has been truncated.", +"id": "ManifestsListResponse", +"properties": { +"manifests": { +"description": "Output only. Manifests contained in this list response.", +"items": { +"$ref": "Manifest" +}, +"type": "array" +}, +"nextPageToken": { +"description": "Output only. A token used to continue a truncated list request.", +"type": "string" +} +}, +"type": "object" +}, +"MethodMap": { +"description": "Deployment Manager will call these methods during the events of creation/deletion/update/get/setIamPolicy", +"id": "MethodMap", +"properties": { +"create": { +"description": "The action identifier for the create method to be used for this collection", +"type": "string" +}, +"delete": { +"description": "The action identifier for the delete method to be used for this collection", +"type": "string" +}, +"get": { +"description": "The action identifier for the get method to be used for this collection", +"type": "string" +}, +"setIamPolicy": { +"description": "The action identifier for the setIamPolicy method to be used for this collection", +"type": "string" +}, +"update": { +"description": "The action identifier for the update method to be used for this collection", +"type": "string" +} +}, +"type": "object" +}, +"Operation": { +"description": "Represents an Operation resource. Google Compute Engine has three Operation resources: * [Global](/compute/docs/reference/rest/{$api_version}/globalOperations) * [Regional](/compute/docs/reference/rest/{$api_version}/regionOperations) * [Zonal](/compute/docs/reference/rest/{$api_version}/zoneOperations) You can use an operation resource to manage asynchronous API requests. For more information, read Handling API responses. Operations can be global, regional or zonal. - For global operations, use the `globalOperations` resource. - For regional operations, use the `regionOperations` resource. - For zonal operations, use the `zoneOperations` resource. For more information, read Global, Regional, and Zonal Resources. Note that completed Operation resources have a limited retention period.", +"id": "Operation", +"properties": { +"clientOperationId": { +"description": "[Output Only] The value of `requestId` if you provided it in the request. Not present otherwise.", +"type": "string" +}, +"creationTimestamp": { +"description": "[Deprecated] This field is deprecated.", +"type": "string" +}, +"description": { +"description": "[Output Only] A textual description of the operation, which is set when the operation is created.", +"type": "string" +}, +"endTime": { +"description": "[Output Only] The time that this operation was completed. This value is in RFC3339 text format.", +"type": "string" +}, +"error": { +"description": "[Output Only] If errors are generated during processing of the operation, this field will be populated.", +"properties": { +"errors": { +"description": "[Output Only] The array of errors encountered while processing this operation.", +"items": { +"properties": { +"arguments": { +"description": "Output only. [Output Only] Optional error details WARNING: DO NOT MAKE VISIBLE This is for internal use-only (like componentization) (thus the visibility \"none\") and in case of public exposure it is strongly recommended to follow pattern of: https://aip.dev/193 and expose as details field.", +"items": { +"type": "string" +}, +"readOnly": true, +"type": "array" +}, +"code": { +"description": "[Output Only] The error type identifier for this error.", +"type": "string" +}, +"debugInfo": { +"$ref": "DebugInfo", +"readOnly": true +}, +"errorDetails": { +"description": "[Output Only] An optional list of messages that contain the error details. There is a set of defined message types to use for providing details.The syntax depends on the error code. For example, QuotaExceededInfo will have details when the error code is QUOTA_EXCEEDED.", +"items": { +"properties": { +"errorInfo": { +"$ref": "ErrorInfo" +}, +"help": { +"$ref": "Help" +}, +"localizedMessage": { +"$ref": "LocalizedMessage" +}, +"quotaInfo": { +"$ref": "QuotaExceededInfo" +} +}, +"type": "object" +}, +"type": "array" +}, +"location": { +"description": "[Output Only] Indicates the field in the request that caused the error. This property is optional.", +"type": "string" +}, +"message": { +"description": "[Output Only] An optional, human-readable error message.", +"type": "string" +} +}, +"type": "object" +}, +"type": "array" +} +}, +"type": "object" +}, +"firewallPolicyRuleOperationMetadata": { +"$ref": "FirewallPolicyRuleOperationMetadata" +}, +"httpErrorMessage": { +"description": "[Output Only] If the operation fails, this field contains the HTTP error message that was returned, such as `NOT FOUND`.", +"type": "string" +}, +"httpErrorStatusCode": { +"description": "[Output Only] If the operation fails, this field contains the HTTP error status code that was returned. For example, a `404` means the resource was not found.", +"format": "int32", +"type": "integer" +}, +"id": { +"description": "[Output Only] The unique identifier for the operation. This identifier is defined by the server.", +"format": "uint64", +"type": "string" +}, +"insertTime": { +"description": "[Output Only] The time that this operation was requested. This value is in RFC3339 text format.", +"type": "string" +}, +"instancesBulkInsertOperationMetadata": { +"$ref": "InstancesBulkInsertOperationMetadata" +}, +"kind": { +"default": "compute#operation", +"description": "Output only. [Output Only] Type of the resource. Always `compute#operation` for Operation resources.", +"readOnly": true, +"type": "string" +}, +"name": { +"description": "[Output Only] Name of the operation.", +"type": "string" +}, +"operationGroupId": { +"description": "Output only. [Output Only] An ID that represents a group of operations, such as when a group of operations results from a `bulkInsert` API request.", +"readOnly": true, +"type": "string" +}, +"operationType": { +"description": "[Output Only] The type of operation, such as `insert`, `update`, or `delete`, and so on.", +"type": "string" +}, +"progress": { +"description": "[Output Only] An optional progress indicator that ranges from 0 to 100. There is no requirement that this be linear or support any granularity of operations. This should not be used to guess when the operation will be complete. This number should monotonically increase as the operation progresses.", +"format": "int32", +"type": "integer" +}, +"region": { +"description": "[Output Only] The URL of the region where the operation resides. Only applicable when performing regional operations.", +"type": "string" +}, +"selfLink": { +"description": "[Output Only] Server-defined URL for the resource.", +"type": "string" +}, +"selfLinkWithId": { +"description": "Output only. [Output Only] Server-defined URL for this resource with the resource id.", +"readOnly": true, +"type": "string" +}, +"setAutoscalerLinkOperationMetadata": { +"$ref": "SetAutoscalerLinkOperationMetadata", +"description": "This field is used internally by the Autoscaler team and should not be promoted to \"alpha/beta/v1\"." +}, +"setCommonInstanceMetadataOperationMetadata": { +"$ref": "SetCommonInstanceMetadataOperationMetadata", +"description": "Output only. [Output Only] If the operation is for projects.setCommonInstanceMetadata, this field will contain information on all underlying zonal actions and their state.", +"readOnly": true +}, +"startTime": { +"description": "[Output Only] The time that this operation was started by the server. This value is in RFC3339 text format.", +"type": "string" +}, +"status": { +"description": "[Output Only] The status of the operation, which can be one of the following: `PENDING`, `RUNNING`, or `DONE`.", +"enum": [ +"PENDING", +"RUNNING", +"DONE" +], +"enumDescriptions": [ +"", +"", +"" +], +"type": "string" +}, +"statusMessage": { +"description": "[Output Only] An optional textual description of the current status of the operation.", +"type": "string" +}, +"targetId": { +"description": "[Output Only] The unique target ID, which identifies a specific incarnation of the target resource.", +"format": "uint64", +"type": "string" +}, +"targetLink": { +"description": "[Output Only] The URL of the resource that the operation modifies. For operations related to creating a snapshot, this points to the disk that the snapshot was created from.", +"type": "string" +}, +"user": { +"description": "[Output Only] User who requested the operation, for example: `user@example.com` or `alice_smith_identifier (global/workforcePools/example-com-us-employees)`.", +"type": "string" +}, +"warnings": { +"description": "[Output Only] If warning messages are generated during processing of the operation, this field will be populated.", +"items": { +"properties": { +"code": { +"description": "[Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.", +"enum": [ +"DEPRECATED_RESOURCE_USED", +"NO_RESULTS_ON_PAGE", +"UNREACHABLE", +"NEXT_HOP_ADDRESS_NOT_ASSIGNED", +"NEXT_HOP_INSTANCE_NOT_FOUND", +"NEXT_HOP_INSTANCE_NOT_ON_NETWORK", +"NEXT_HOP_CANNOT_IP_FORWARD", +"NEXT_HOP_NOT_RUNNING", +"INJECTED_KERNELS_DEPRECATED", +"REQUIRED_TOS_AGREEMENT", +"DISK_SIZE_LARGER_THAN_IMAGE_SIZE", +"RESOURCE_NOT_DELETED", +"SINGLE_INSTANCE_PROPERTY_TEMPLATE", +"NOT_CRITICAL_ERROR", +"CLEANUP_FAILED", +"FIELD_VALUE_OVERRIDEN", +"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", +"NETWORK_ENDPOINT_NOT_DETACHED", +"PAGE_MISSING_RESULTS", +"SSL_POLICY_ENABLED_FEATURES_NOT_FETCHED", +"RESOURCE_NOT_FOUND_WARNING", +"MISSING_TYPE_DEPENDENCY", +"EXTERNAL_API_WARNING", +"SCHEMA_VALIDATION_IGNORED", +"UNDECLARED_PROPERTIES", +"EXPERIMENTAL_TYPE_USED", +"DEPRECATED_TYPE_USED", +"PARTIAL_SUCCESS", +"LARGE_DEPLOYMENT_WARNING", +"NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", +"INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", +"LIST_OVERHEAD_QUOTA_EXCEED", +"QUOTA_INFO_UNAVAILABLE", +"RESOURCE_USES_GLOBAL_DNS", +"RATE_LIMIT_EXCEEDED", +"UPCOMING_MAINTENANCES_UNAVAILABLE", +"RESERVED_ENTRY_136", +"RESERVED_ENTRY_139", +"RESERVED_ENTRY_141", +"RESERVED_ENTRY_142", +"RESERVED_ENTRY_143" +], +"enumDeprecated": [ +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +true, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false +], +"enumDescriptions": [ +"A link to a deprecated resource was created.", +"No results are present on a particular list page.", +"A given scope cannot be reached.", +"The route's nextHopIp address is not assigned to an instance on the network.", +"The route's nextHopInstance URL refers to an instance that does not exist.", +"The route's nextHopInstance URL refers to an instance that is not on the same network as the route.", +"The route's next hop instance cannot ip forward.", +"The route's next hop instance does not have a status of RUNNING.", +"The operation involved use of an injected kernel, which is deprecated.", +"The user attempted to use a resource that requires a TOS they have not accepted.", +"The user created a boot disk that is larger than image size.", +"One or more of the resources set to auto-delete could not be deleted because they were in use.", +"Instance template used in instance group manager is valid as such, but its application does not make a lot of sense, because it allows only single instance in instance group.", +"Error which is not critical. We decided to continue the process despite the mentioned error.", +"Warning about failed cleanup of transient changes made by a failed operation.", +"Warning that value of a field has been overridden. Deprecated unused field.", +"Warning that a resource is in use.", +"Warning that network endpoint was not detached.", +"Current page contains less results than requested but a next page token exists.", +"Warning that SSL policy resource in the response does not contain information about the list of enabled features.", +"Warning that a resource is not found.", +"A resource depends on a missing type", +"Warning that is present in an external api call", +"When a resource schema validation is ignored.", +"When undeclared properties in the schema are present", +"When deploying and at least one of the resources has a type marked as experimental", +"When deploying and at least one of the resources has a type marked as deprecated", +"Success is reported, but some results may be missing due to errors", +"When deploying a deployment with a exceedingly large number of resources", +"The route's nextHopInstance URL refers to an instance that does not have an ipv6 interface on the same network as the route.", +"A WEIGHTED_MAGLEV backend service is associated with a health check that is not of type HTTP/HTTPS/HTTP2.", +"Resource can't be retrieved due to list overhead quota exceed which captures the amount of resources filtered out by user-defined list filter.", +"Quota information is not available to client requests (e.g: regions.list).", +"Indicates that a VM is using global DNS. Can also be used to indicate that a resource has attributes that could result in the creation of a VM that uses global DNS.", +"Resource can't be retrieved due to api quota exceeded.", +"Upcoming maintenance schedule is unavailable for the resource.", +"Reserved entries for quickly adding new warnings without breaking dependent clients.", +"", +"", +"", +"" +], +"type": "string" +}, +"data": { +"description": "[Output Only] Metadata about this warning in key: value format. For example: \"data\": [ { \"key\": \"scope\", \"value\": \"zones/us-east1-d\" } ", +"items": { +"properties": { +"key": { +"description": "[Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding).", +"type": "string" +}, +"value": { +"description": "[Output Only] A warning data value corresponding to the key.", +"type": "string" +} +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "[Output Only] A human-readable description of the warning code.", +"type": "string" +} +}, +"type": "object" +}, +"type": "array" +}, +"zone": { +"description": "[Output Only] The URL of the zone where the operation resides. Only applicable when performing per-zone operations.", +"type": "string" +} +}, +"type": "object" +}, +"OperationsListResponse": { +"description": "A response containing a partial list of operations and a page token used to build the next request if the request has been truncated.", +"id": "OperationsListResponse", +"properties": { +"nextPageToken": { +"description": "Output only. A token used to continue a truncated list request.", +"type": "string" +}, +"operations": { +"description": "Output only. Operations contained in this list response.", +"items": { +"$ref": "Operation" +}, +"type": "array" +} +}, +"type": "object" +}, +"Options": { +"description": "Options allows customized resource handling by Deployment Manager.", +"id": "Options", +"properties": { +"asyncOptions": { +"description": "Options regarding how to thread async requests.", +"items": { +"$ref": "AsyncOptions" +}, +"type": "array" +}, +"inputMappings": { +"description": "The mappings that apply for requests.", +"items": { +"$ref": "InputMapping" +}, +"type": "array" +}, +"nameProperty": { +"description": "The json path to the field in the resource JSON body into which the resource name should be mapped. Leaving this empty indicates that there should be no mapping performed.", +"type": "string" +}, +"validationOptions": { +"$ref": "ValidationOptions", +"description": "Options for how to validate and process properties on a resource." +} +}, +"type": "object" +}, +"Policy": { +"description": "An Identity and Access Management (IAM) policy, which specifies access controls for Google Cloud resources. A `Policy` is a collection of `bindings`. A `binding` binds one or more `members`, or principals, to a single `role`. Principals can be user accounts, service accounts, Google groups, and domains (such as G Suite). A `role` is a named list of permissions; each `role` can be an IAM predefined role or a user-created custom role. For some types of Google Cloud resources, a `binding` can also specify a `condition`, which is a logical expression that allows access to a resource only if the expression evaluates to `true`. A condition can add constraints based on attributes of the request, the resource, or both. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). **JSON example:** ``` { \"bindings\": [ { \"role\": \"roles/resourcemanager.organizationAdmin\", \"members\": [ \"user:mike@example.com\", \"group:admins@example.com\", \"domain:google.com\", \"serviceAccount:my-project-id@appspot.gserviceaccount.com\" ] }, { \"role\": \"roles/resourcemanager.organizationViewer\", \"members\": [ \"user:eve@example.com\" ], \"condition\": { \"title\": \"expirable access\", \"description\": \"Does not grant access after Sep 2020\", \"expression\": \"request.time < timestamp('2020-10-01T00:00:00.000Z')\", } } ], \"etag\": \"BwWWja0YfJA=\", \"version\": 3 } ``` **YAML example:** ``` bindings: - members: - user:mike@example.com - group:admins@example.com - domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.com role: roles/resourcemanager.organizationViewer condition: title: expirable access description: Does not grant access after Sep 2020 expression: request.time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 ``` For a description of IAM and its features, see the [IAM documentation](https://cloud.google.com/iam/docs/).", +"id": "Policy", +"properties": { +"auditConfigs": { +"description": "Specifies cloud audit logging configuration for this policy.", +"items": { +"$ref": "AuditConfig" +}, +"type": "array" +}, +"bindings": { +"description": "Associates a list of `members`, or principals, with a `role`. Optionally, may specify a `condition` that determines how and when the `bindings` are applied. Each of the `bindings` must contain at least one principal. The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250 of these principals can be Google groups. Each occurrence of a principal counts towards these limits. For example, if the `bindings` grant 50 different roles to `user:alice@example.com`, and not to any other principal, then you can add another 1,450 principals to the `bindings` in the `Policy`.", +"items": { +"$ref": "Binding" +}, +"type": "array" +}, +"etag": { +"description": "`etag` is used for optimistic concurrency control as a way to help prevent simultaneous updates of a policy from overwriting each other. It is strongly suggested that systems make use of the `etag` in the read-modify-write cycle to perform policy updates in order to avoid race conditions: An `etag` is returned in the response to `getIamPolicy`, and systems are expected to put that etag in the request to `setIamPolicy` to ensure that their change will be applied to the same version of the policy. **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost.", +"format": "byte", +"type": "string" +}, +"version": { +"description": "Specifies the format of the policy. Valid values are `0`, `1`, and `3`. Requests that specify an invalid value are rejected. Any operation that affects conditional role bindings must specify version `3`. This requirement applies to the following operations: * Getting a policy that includes a conditional role binding * Adding a conditional role binding to a policy * Changing a conditional role binding in a policy * Removing any role binding, with or without a condition, from a policy that includes conditions **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost. If a policy does not include any conditions, operations on that policy may specify any valid version or leave the field unset. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"PollingOptions": { +"id": "PollingOptions", +"properties": { +"diagnostics": { +"description": "An array of diagnostics to be collected by Deployment Manager, these diagnostics will be displayed to the user.", +"items": { +"$ref": "Diagnostic" +}, +"type": "array" +}, +"failCondition": { +"description": "JsonPath expression that determines if the request failed.", +"type": "string" +}, +"finishCondition": { +"description": "JsonPath expression that determines if the request is completed.", +"type": "string" +}, +"pollingLink": { +"description": "JsonPath expression that evaluates to string, it indicates where to poll.", +"type": "string" +}, +"targetLink": { +"description": "JsonPath expression, after polling is completed, indicates where to fetch the resource.", +"type": "string" +} +}, +"type": "object" +}, +"QuotaExceededInfo": { +"description": "Additional details for quota exceeded error for resource quota.", +"id": "QuotaExceededInfo", +"properties": { +"dimensions": { +"additionalProperties": { +"type": "string" +}, +"description": "The map holding related quota dimensions.", +"type": "object" +}, +"futureLimit": { +"description": "Future quota limit being rolled out. The limit's unit depends on the quota type or metric.", +"format": "double", +"type": "number" +}, +"limit": { +"description": "Current effective quota limit. The limit's unit depends on the quota type or metric.", +"format": "double", +"type": "number" +}, +"limitName": { +"description": "The name of the quota limit.", +"type": "string" +}, +"metricName": { +"description": "The Compute Engine quota metric name.", +"type": "string" +}, +"rolloutStatus": { +"description": "Rollout status of the future quota limit.", +"enum": [ +"ROLLOUT_STATUS_UNSPECIFIED", +"IN_PROGRESS" +], +"enumDescriptions": [ +"ROLLOUT_STATUS_UNSPECIFIED - Rollout status is not specified. The default value.", +"IN_PROGRESS - A rollout is in process which will change the limit value to future limit." +], +"type": "string" +} +}, +"type": "object" +}, +"Resource": { +"id": "Resource", +"properties": { +"accessControl": { +"$ref": "ResourceAccessControl", +"description": "The Access Control Policy set on this resource." +}, +"finalProperties": { +"description": "Output only. The evaluated properties of the resource with references expanded. Returned as serialized YAML.", +"type": "string" +}, +"id": { +"format": "uint64", +"type": "string" +}, +"insertTime": { +"description": "Output only. Creation timestamp in RFC3339 text format.", +"type": "string" +}, +"lastUsedCredential": { +"$ref": "Credential", +"description": "Output only. The last used credential that successfully created/updated the resource." +}, +"manifest": { +"description": "Output only. URL of the manifest representing the current configuration of this resource.", +"type": "string" +}, +"name": { +"description": "Output only. The name of the resource as it appears in the YAML config.", +"type": "string" +}, +"properties": { +"description": "Output only. The current properties of the resource before any references have been filled in. Returned as serialized YAML.", +"type": "string" +}, +"runtimePolicies": { +"description": "Output only. In case this is an action, it will show the runtimePolicies on which this action will run in the deployment", +"items": { +"enum": [ +"CREATE", +"DELETE", +"UPDATE_ON_CHANGE", +"UPDATE_ALWAYS" +], +"enumDescriptions": [ +"The action will only be fired during create.", +"The action will only be fired when the action is removed from the deployment.", +"The action will fire during create, and if there is any changes on the inputs.", +"The action will fire during create, and every time there is an update to the deployment." +], +"type": "string" +}, +"type": "array" +}, +"type": { +"description": "Output only. The type of the resource, for example `compute.v1.instance`, or `cloudfunctions.v1beta1.function`.", +"type": "string" +}, +"update": { +"$ref": "ResourceUpdate", +"description": "Output only. If Deployment Manager is currently updating or previewing an update to this resource, the updated configuration appears here." +}, +"updateTime": { +"description": "Output only. Update timestamp in RFC3339 text format.", +"type": "string" +}, +"url": { +"description": "Output only. The URL of the actual resource.", +"type": "string" +}, +"warnings": { +"description": "Output only. If warning messages are generated during processing of this resource, this field will be populated.", +"items": { +"properties": { +"code": { +"description": "[Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.", +"enum": [ +"DEPRECATED_RESOURCE_USED", +"NO_RESULTS_ON_PAGE", +"UNREACHABLE", +"NEXT_HOP_ADDRESS_NOT_ASSIGNED", +"NEXT_HOP_INSTANCE_NOT_FOUND", +"NEXT_HOP_INSTANCE_NOT_ON_NETWORK", +"NEXT_HOP_CANNOT_IP_FORWARD", +"NEXT_HOP_NOT_RUNNING", +"INJECTED_KERNELS_DEPRECATED", +"REQUIRED_TOS_AGREEMENT", +"DISK_SIZE_LARGER_THAN_IMAGE_SIZE", +"RESOURCE_NOT_DELETED", +"SINGLE_INSTANCE_PROPERTY_TEMPLATE", +"NOT_CRITICAL_ERROR", +"CLEANUP_FAILED", +"FIELD_VALUE_OVERRIDEN", +"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", +"NETWORK_ENDPOINT_NOT_DETACHED", +"PAGE_MISSING_RESULTS", +"SSL_POLICY_ENABLED_FEATURES_NOT_FETCHED", +"RESOURCE_NOT_FOUND_WARNING", +"MISSING_TYPE_DEPENDENCY", +"EXTERNAL_API_WARNING", +"SCHEMA_VALIDATION_IGNORED", +"UNDECLARED_PROPERTIES", +"EXPERIMENTAL_TYPE_USED", +"DEPRECATED_TYPE_USED", +"PARTIAL_SUCCESS", +"LARGE_DEPLOYMENT_WARNING", +"NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", +"INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", +"LIST_OVERHEAD_QUOTA_EXCEED", +"QUOTA_INFO_UNAVAILABLE", +"RESOURCE_USES_GLOBAL_DNS", +"RATE_LIMIT_EXCEEDED", +"UPCOMING_MAINTENANCES_UNAVAILABLE", +"RESERVED_ENTRY_136", +"RESERVED_ENTRY_139", +"RESERVED_ENTRY_141", +"RESERVED_ENTRY_142", +"RESERVED_ENTRY_143" +], +"enumDeprecated": [ +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +true, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false +], +"enumDescriptions": [ +"A link to a deprecated resource was created.", +"No results are present on a particular list page.", +"A given scope cannot be reached.", +"The route's nextHopIp address is not assigned to an instance on the network.", +"The route's nextHopInstance URL refers to an instance that does not exist.", +"The route's nextHopInstance URL refers to an instance that is not on the same network as the route.", +"The route's next hop instance cannot ip forward.", +"The route's next hop instance does not have a status of RUNNING.", +"The operation involved use of an injected kernel, which is deprecated.", +"The user attempted to use a resource that requires a TOS they have not accepted.", +"The user created a boot disk that is larger than image size.", +"One or more of the resources set to auto-delete could not be deleted because they were in use.", +"Instance template used in instance group manager is valid as such, but its application does not make a lot of sense, because it allows only single instance in instance group.", +"Error which is not critical. We decided to continue the process despite the mentioned error.", +"Warning about failed cleanup of transient changes made by a failed operation.", +"Warning that value of a field has been overridden. Deprecated unused field.", +"Warning that a resource is in use.", +"Warning that network endpoint was not detached.", +"Current page contains less results than requested but a next page token exists.", +"Warning that SSL policy resource in the response does not contain information about the list of enabled features.", +"Warning that a resource is not found.", +"A resource depends on a missing type", +"Warning that is present in an external api call", +"When a resource schema validation is ignored.", +"When undeclared properties in the schema are present", +"When deploying and at least one of the resources has a type marked as experimental", +"When deploying and at least one of the resources has a type marked as deprecated", +"Success is reported, but some results may be missing due to errors", +"When deploying a deployment with a exceedingly large number of resources", +"The route's nextHopInstance URL refers to an instance that does not have an ipv6 interface on the same network as the route.", +"A WEIGHTED_MAGLEV backend service is associated with a health check that is not of type HTTP/HTTPS/HTTP2.", +"Resource can't be retrieved due to list overhead quota exceed which captures the amount of resources filtered out by user-defined list filter.", +"Quota information is not available to client requests (e.g: regions.list).", +"Indicates that a VM is using global DNS. Can also be used to indicate that a resource has attributes that could result in the creation of a VM that uses global DNS.", +"Resource can't be retrieved due to api quota exceeded.", +"Upcoming maintenance schedule is unavailable for the resource.", +"Reserved entries for quickly adding new warnings without breaking dependent clients.", +"", +"", +"", +"" +], +"type": "string" +}, +"data": { +"description": "[Output Only] Metadata about this warning in key: value format. For example: \"data\": [ { \"key\": \"scope\", \"value\": \"zones/us-east1-d\" } ", +"items": { +"properties": { +"key": { +"description": "[Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding).", +"type": "string" +}, +"value": { +"description": "[Output Only] A warning data value corresponding to the key.", +"type": "string" +} +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "[Output Only] A human-readable description of the warning code.", +"type": "string" +} +}, +"type": "object" +}, +"type": "array" +} +}, +"type": "object" +}, +"ResourceAccessControl": { +"description": "The access controls set on the resource.", +"id": "ResourceAccessControl", +"properties": { +"gcpIamPolicy": { +"description": "The GCP IAM Policy to set on the resource.", +"type": "string" +} +}, +"type": "object" +}, +"ResourceUpdate": { +"id": "ResourceUpdate", +"properties": { +"accessControl": { +"$ref": "ResourceAccessControl", +"description": "The Access Control Policy to set on this resource after updating the resource itself." +}, +"credential": { +"$ref": "Credential", +"description": "Output only. The credential that will be used creating/updating this resource." +}, +"error": { +"description": "Output only. If errors are generated during update of the resource, this field will be populated.", +"properties": { +"errors": { +"description": "[Output Only] The array of errors encountered while processing this operation.", +"items": { +"properties": { +"arguments": { +"description": "Output only. [Output Only] Optional error details WARNING: DO NOT MAKE VISIBLE This is for internal use-only (like componentization) (thus the visibility \"none\") and in case of public exposure it is strongly recommended to follow pattern of: https://aip.dev/193 and expose as details field.", +"items": { +"type": "string" +}, +"readOnly": true, +"type": "array" +}, +"code": { +"description": "[Output Only] The error type identifier for this error.", +"type": "string" +}, +"debugInfo": { +"$ref": "DebugInfo", +"readOnly": true +}, +"errorDetails": { +"description": "[Output Only] An optional list of messages that contain the error details. There is a set of defined message types to use for providing details.The syntax depends on the error code. For example, QuotaExceededInfo will have details when the error code is QUOTA_EXCEEDED.", +"items": { +"properties": { +"errorInfo": { +"$ref": "ErrorInfo" +}, +"help": { +"$ref": "Help" +}, +"localizedMessage": { +"$ref": "LocalizedMessage" +}, +"quotaInfo": { +"$ref": "QuotaExceededInfo" +} +}, +"type": "object" +}, +"type": "array" +}, +"location": { +"description": "[Output Only] Indicates the field in the request that caused the error. This property is optional.", +"type": "string" +}, +"message": { +"description": "[Output Only] An optional, human-readable error message.", +"type": "string" +} +}, +"type": "object" +}, +"type": "array" +} +}, +"type": "object" +}, +"finalProperties": { +"description": "Output only. The expanded properties of the resource with reference values expanded. Returned as serialized YAML.", +"type": "string" +}, +"intent": { +"description": "Output only. The intent of the resource: `PREVIEW`, `UPDATE`, or `CANCEL`.", +"enum": [ +"CREATE_OR_ACQUIRE", +"DELETE", +"ACQUIRE", +"UPDATE", +"ABANDON", +"CREATE" +], +"enumDescriptions": [ +"The resource is scheduled to be created, or if it already exists, acquired.", +"The resource is scheduled to be deleted.", +"The resource is scheduled to be acquired.", +"The resource is scheduled to be updated via the UPDATE method.", +"The resource is scheduled to be abandoned.", +"The resource is scheduled to be created." +], +"type": "string" +}, +"manifest": { +"description": "Output only. URL of the manifest representing the update configuration of this resource.", +"type": "string" +}, +"properties": { +"description": "Output only. The set of updated properties for this resource, before references are expanded. Returned as serialized YAML.", +"type": "string" +}, +"runtimePolicies": { +"description": "Output only. In case this is an action, it will show the runtimePolicies that this action will have after updating the deployment.", +"items": { +"enum": [ +"CREATE", +"DELETE", +"UPDATE_ON_CHANGE", +"UPDATE_ALWAYS" +], +"enumDescriptions": [ +"The action will only be fired during create.", +"The action will only be fired when the action is removed from the deployment.", +"The action will fire during create, and if there is any changes on the inputs.", +"The action will fire during create, and every time there is an update to the deployment." +], +"type": "string" +}, +"type": "array" +}, +"state": { +"description": "Output only. The state of the resource.", +"enum": [ +"PENDING", +"IN_PROGRESS", +"IN_PREVIEW", +"FAILED", +"ABORTED" +], +"enumDescriptions": [ +"There are changes pending for this resource.", +"The service is executing changes on the resource.", +"The service is previewing changes on the resource.", +"The service has failed to change the resource.", +"The service has aborted trying to change the resource." +], +"type": "string" +}, +"warnings": { +"description": "Output only. If warning messages are generated during processing of this resource, this field will be populated.", +"items": { +"properties": { +"code": { +"description": "[Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.", +"enum": [ +"DEPRECATED_RESOURCE_USED", +"NO_RESULTS_ON_PAGE", +"UNREACHABLE", +"NEXT_HOP_ADDRESS_NOT_ASSIGNED", +"NEXT_HOP_INSTANCE_NOT_FOUND", +"NEXT_HOP_INSTANCE_NOT_ON_NETWORK", +"NEXT_HOP_CANNOT_IP_FORWARD", +"NEXT_HOP_NOT_RUNNING", +"INJECTED_KERNELS_DEPRECATED", +"REQUIRED_TOS_AGREEMENT", +"DISK_SIZE_LARGER_THAN_IMAGE_SIZE", +"RESOURCE_NOT_DELETED", +"SINGLE_INSTANCE_PROPERTY_TEMPLATE", +"NOT_CRITICAL_ERROR", +"CLEANUP_FAILED", +"FIELD_VALUE_OVERRIDEN", +"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", +"NETWORK_ENDPOINT_NOT_DETACHED", +"PAGE_MISSING_RESULTS", +"SSL_POLICY_ENABLED_FEATURES_NOT_FETCHED", +"RESOURCE_NOT_FOUND_WARNING", +"MISSING_TYPE_DEPENDENCY", +"EXTERNAL_API_WARNING", +"SCHEMA_VALIDATION_IGNORED", +"UNDECLARED_PROPERTIES", +"EXPERIMENTAL_TYPE_USED", +"DEPRECATED_TYPE_USED", +"PARTIAL_SUCCESS", +"LARGE_DEPLOYMENT_WARNING", +"NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", +"INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", +"LIST_OVERHEAD_QUOTA_EXCEED", +"QUOTA_INFO_UNAVAILABLE", +"RESOURCE_USES_GLOBAL_DNS", +"RATE_LIMIT_EXCEEDED", +"UPCOMING_MAINTENANCES_UNAVAILABLE", +"RESERVED_ENTRY_136", +"RESERVED_ENTRY_139", +"RESERVED_ENTRY_141", +"RESERVED_ENTRY_142", +"RESERVED_ENTRY_143" +], +"enumDeprecated": [ +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +true, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false +], +"enumDescriptions": [ +"A link to a deprecated resource was created.", +"No results are present on a particular list page.", +"A given scope cannot be reached.", +"The route's nextHopIp address is not assigned to an instance on the network.", +"The route's nextHopInstance URL refers to an instance that does not exist.", +"The route's nextHopInstance URL refers to an instance that is not on the same network as the route.", +"The route's next hop instance cannot ip forward.", +"The route's next hop instance does not have a status of RUNNING.", +"The operation involved use of an injected kernel, which is deprecated.", +"The user attempted to use a resource that requires a TOS they have not accepted.", +"The user created a boot disk that is larger than image size.", +"One or more of the resources set to auto-delete could not be deleted because they were in use.", +"Instance template used in instance group manager is valid as such, but its application does not make a lot of sense, because it allows only single instance in instance group.", +"Error which is not critical. We decided to continue the process despite the mentioned error.", +"Warning about failed cleanup of transient changes made by a failed operation.", +"Warning that value of a field has been overridden. Deprecated unused field.", +"Warning that a resource is in use.", +"Warning that network endpoint was not detached.", +"Current page contains less results than requested but a next page token exists.", +"Warning that SSL policy resource in the response does not contain information about the list of enabled features.", +"Warning that a resource is not found.", +"A resource depends on a missing type", +"Warning that is present in an external api call", +"When a resource schema validation is ignored.", +"When undeclared properties in the schema are present", +"When deploying and at least one of the resources has a type marked as experimental", +"When deploying and at least one of the resources has a type marked as deprecated", +"Success is reported, but some results may be missing due to errors", +"When deploying a deployment with a exceedingly large number of resources", +"The route's nextHopInstance URL refers to an instance that does not have an ipv6 interface on the same network as the route.", +"A WEIGHTED_MAGLEV backend service is associated with a health check that is not of type HTTP/HTTPS/HTTP2.", +"Resource can't be retrieved due to list overhead quota exceed which captures the amount of resources filtered out by user-defined list filter.", +"Quota information is not available to client requests (e.g: regions.list).", +"Indicates that a VM is using global DNS. Can also be used to indicate that a resource has attributes that could result in the creation of a VM that uses global DNS.", +"Resource can't be retrieved due to api quota exceeded.", +"Upcoming maintenance schedule is unavailable for the resource.", +"Reserved entries for quickly adding new warnings without breaking dependent clients.", +"", +"", +"", +"" +], +"type": "string" +}, +"data": { +"description": "[Output Only] Metadata about this warning in key: value format. For example: \"data\": [ { \"key\": \"scope\", \"value\": \"zones/us-east1-d\" } ", +"items": { +"properties": { +"key": { +"description": "[Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding).", +"type": "string" +}, +"value": { +"description": "[Output Only] A warning data value corresponding to the key.", +"type": "string" +} +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "[Output Only] A human-readable description of the warning code.", +"type": "string" +} +}, +"type": "object" +}, +"type": "array" +} +}, +"type": "object" +}, +"ResourcesListResponse": { +"description": "A response containing a partial list of resources and a page token used to build the next request if the request has been truncated.", +"id": "ResourcesListResponse", +"properties": { +"nextPageToken": { +"description": "A token used to continue a truncated list request.", +"type": "string" +}, +"resources": { +"description": "Resources contained in this list response.", +"items": { +"$ref": "Resource" +}, +"type": "array" +} +}, +"type": "object" +}, +"ServiceAccount": { +"description": "Service Account used as a credential.", +"id": "ServiceAccount", +"properties": { +"email": { +"description": "The IAM service account email address like test@myproject.iam.gserviceaccount.com", +"type": "string" +} +}, +"type": "object" +}, +"SetAutoscalerLinkOperationMetadata": { +"id": "SetAutoscalerLinkOperationMetadata", +"properties": { +"zonalIgmIds": { +"description": "List of zonal IGM IDs part of the RMIG.", +"items": { +"format": "int64", +"type": "string" +}, +"type": "array" +}, +"zoneToIgmIds": { +"additionalProperties": { +"format": "int64", +"type": "string" +}, +"description": "Map of zone to an ID of the zonal IGM belonging to the RMIG.", +"type": "object" +} +}, +"type": "object" +}, +"SetCommonInstanceMetadataOperationMetadata": { +"id": "SetCommonInstanceMetadataOperationMetadata", +"properties": { +"clientOperationId": { +"description": "[Output Only] The client operation id.", +"type": "string" +}, +"perLocationOperations": { +"additionalProperties": { +"$ref": "SetCommonInstanceMetadataOperationMetadataPerLocationOperationInfo" +}, +"description": "[Output Only] Status information per location (location name is key). Example key: zones/us-central1-a", +"type": "object" +} +}, +"type": "object" +}, +"SetCommonInstanceMetadataOperationMetadataPerLocationOperationInfo": { +"id": "SetCommonInstanceMetadataOperationMetadataPerLocationOperationInfo", +"properties": { +"error": { +"$ref": "Status", +"description": "[Output Only] If state is `ABANDONED` or `FAILED`, this field is populated." +}, +"state": { +"description": "[Output Only] Status of the action, which can be one of the following: `PROPAGATING`, `PROPAGATED`, `ABANDONED`, `FAILED`, or `DONE`.", +"enum": [ +"UNSPECIFIED", +"PROPAGATING", +"PROPAGATED", +"ABANDONED", +"FAILED", +"DONE" +], +"enumDescriptions": [ +"", +"Operation is not yet confirmed to have been created in the location.", +"Operation is confirmed to be in the location.", +"Operation not tracked in this location e.g. zone is marked as DOWN.", +"Operation is in an error state.", +"Operation has completed successfully." +], +"type": "string" +} +}, +"type": "object" +}, +"Status": { +"description": "The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors).", +"id": "Status", +"properties": { +"code": { +"description": "The status code, which should be an enum value of google.rpc.Code.", +"format": "int32", +"type": "integer" +}, +"details": { +"description": "A list of messages that carry the error details. There is a common set of message types for APIs to use.", +"items": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.", +"type": "string" +} +}, +"type": "object" +}, +"TargetConfiguration": { +"id": "TargetConfiguration", +"properties": { +"config": { +"$ref": "ConfigFile", +"description": "The configuration to use for this deployment." +}, +"imports": { +"description": "Specifies any files to import for this configuration. This can be used to import templates or other files. For example, you might import a text file in order to use the file in a template.", +"items": { +"$ref": "ImportFile" +}, +"type": "array" +} +}, +"type": "object" +}, +"TemplateContents": { +"description": "Files that make up the template contents of a template type.", +"id": "TemplateContents", +"properties": { +"imports": { +"description": "Import files referenced by the main template.", +"items": { +"$ref": "ImportFile" +}, +"type": "array" +}, +"interpreter": { +"description": "Which interpreter (python or jinja) should be used during expansion.", +"enum": [ +"UNKNOWN_INTERPRETER", +"PYTHON", +"JINJA" +], +"enumDescriptions": [ +"", +"", +"" +], +"type": "string" +}, +"mainTemplate": { +"description": "The filename of the mainTemplate", +"type": "string" +}, +"schema": { +"description": "The contents of the template schema.", +"type": "string" +}, +"template": { +"description": "The contents of the main template file.", +"type": "string" +} +}, +"type": "object" +}, +"TestPermissionsRequest": { +"id": "TestPermissionsRequest", +"properties": { +"permissions": { +"description": "The set of permissions to check for the 'resource'. Permissions with wildcards (such as '*' or 'storage.*') are not allowed.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"TestPermissionsResponse": { +"id": "TestPermissionsResponse", +"properties": { +"permissions": { +"description": "A subset of `TestPermissionsRequest.permissions` that the caller is allowed.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"Type": { +"description": "A resource type supported by Deployment Manager.", +"id": "Type", +"properties": { +"base": { +"$ref": "BaseType", +"description": "Base Type (configurable service) that backs this Type." +}, +"description": { +"description": "An optional textual description of the resource; provided by the client when the resource is created.", +"type": "string" +}, +"id": { +"format": "uint64", +"type": "string" +}, +"insertTime": { +"description": "Output only. Creation timestamp in RFC3339 text format.", +"type": "string" +}, +"labels": { +"description": "Map of One Platform labels; provided by the client when the resource is created or updated. Specifically: Label keys must be between 1 and 63 characters long and must conform to the following regular expression: `[a-z]([-a-z0-9]*[a-z0-9])?` Label values must be between 0 and 63 characters long and must conform to the regular expression `([a-z]([-a-z0-9]*[a-z0-9])?)?`.", +"items": { +"$ref": "TypeLabelEntry" +}, +"type": "array" +}, +"name": { +"description": "Name of the type.", +"type": "string" +}, +"operation": { +"$ref": "Operation", +"description": "Output only. The Operation that most recently ran, or is currently running, on this type." +}, +"selfLink": { +"description": "Output only. Server defined URL for the resource.", +"type": "string" +} +}, +"type": "object" +}, +"TypeInfo": { +"description": "Type Information. Contains detailed information about a composite type, base type, or base type with specific collection.", +"id": "TypeInfo", +"properties": { +"description": { +"description": "The description of the type.", +"type": "string" +}, +"documentationLink": { +"description": "For swagger 2.0 externalDocs field will be used. For swagger 1.2 this field will be empty.", +"type": "string" +}, +"kind": { +"description": "Output only. Type of the output. Always `deploymentManager#TypeInfo` for TypeInfo.", +"type": "string" +}, +"name": { +"description": "The base type or composite type name.", +"type": "string" +}, +"schema": { +"$ref": "TypeInfoSchemaInfo", +"description": "For base types with a collection, we return a schema and documentation link For template types, we return only a schema" +}, +"selfLink": { +"description": "Output only. Self link for the type provider.", +"type": "string" +}, +"title": { +"description": "The title on the API descriptor URL provided.", +"type": "string" +} +}, +"type": "object" +}, +"TypeInfoSchemaInfo": { +"id": "TypeInfoSchemaInfo", +"properties": { +"input": { +"description": "The properties that this composite type or base type collection accept as input, represented as a json blob, format is: JSON Schema Draft V4", +"type": "string" +}, +"output": { +"description": "The properties that this composite type or base type collection exposes as output, these properties can be used for references, represented as json blob, format is: JSON Schema Draft V4", +"type": "string" +} +}, +"type": "object" +}, +"TypeLabelEntry": { +"description": "Label object for Types", +"id": "TypeLabelEntry", +"properties": { +"key": { +"description": "Key of the label", +"type": "string" +}, +"value": { +"description": "Value of the label", +"type": "string" +} +}, +"type": "object" +}, +"TypeProvider": { +"description": "A type provider that describes a service-backed Type.", +"id": "TypeProvider", +"properties": { +"collectionOverrides": { +"description": "Allows resource handling overrides for specific collections", +"items": { +"$ref": "CollectionOverride" +}, +"type": "array" +}, +"credential": { +"$ref": "Credential", +"description": "Credential used when interacting with this type." +}, +"customCertificateAuthorityRoots": { +"description": "List of up to 2 custom certificate authority roots to use for TLS authentication when making calls on behalf of this type provider. If set, TLS authentication will exclusively use these roots instead of relying on publicly trusted certificate authorities when validating TLS certificate authenticity. The certificates must be in base64-encoded PEM format. The maximum size of each certificate must not exceed 10KB.", +"items": { +"type": "string" +}, +"type": "array" +}, +"description": { +"description": "An optional textual description of the resource; provided by the client when the resource is created.", +"type": "string" +}, +"descriptorUrl": { +"description": "Descriptor Url for the this type provider.", +"type": "string" +}, +"id": { +"description": "Output only. Unique identifier for the resource defined by the server.", +"format": "uint64", +"type": "string" +}, +"insertTime": { +"description": "Output only. Creation timestamp in RFC3339 text format.", +"type": "string" +}, +"labels": { +"description": "Map of One Platform labels; provided by the client when the resource is created or updated. Specifically: Label keys must be between 1 and 63 characters long and must conform to the following regular expression: `[a-z]([-a-z0-9]*[a-z0-9])?` Label values must be between 0 and 63 characters long and must conform to the regular expression `([a-z]([-a-z0-9]*[a-z0-9])?)?`", +"items": { +"$ref": "TypeProviderLabelEntry" +}, +"type": "array" +}, +"name": { +"description": "Name of the resource; provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.", +"type": "string" +}, +"operation": { +"$ref": "Operation", +"description": "Output only. The Operation that most recently ran, or is currently running, on this type provider." +}, +"options": { +"$ref": "Options", +"description": "Options to apply when handling any resources in this service." +}, +"selfLink": { +"description": "Output only. Self link for the type provider.", +"type": "string" +} +}, +"type": "object" +}, +"TypeProviderLabelEntry": { +"description": "Label object for TypeProviders", +"id": "TypeProviderLabelEntry", +"properties": { +"key": { +"description": "Key of the label", +"type": "string" +}, +"value": { +"description": "Value of the label", +"type": "string" +} +}, +"type": "object" +}, +"TypeProvidersListResponse": { +"description": "A response that returns all Type Providers supported by Deployment Manager", +"id": "TypeProvidersListResponse", +"properties": { +"nextPageToken": { +"description": "A token used to continue a truncated list request.", +"type": "string" +}, +"typeProviders": { +"description": "Output only. A list of resource type providers supported by Deployment Manager.", +"items": { +"$ref": "TypeProvider" +}, +"type": "array" +} +}, +"type": "object" +}, +"TypeProvidersListTypesResponse": { +"id": "TypeProvidersListTypesResponse", +"properties": { +"nextPageToken": { +"description": "A token used to continue a truncated list request.", +"type": "string" +}, +"types": { +"description": "Output only. A list of resource type info.", +"items": { +"$ref": "TypeInfo" +}, +"type": "array" +} +}, +"type": "object" +}, +"TypesListResponse": { +"description": "A response that returns all Types supported by Deployment Manager", +"id": "TypesListResponse", +"properties": { +"nextPageToken": { +"description": "A token used to continue a truncated list request.", +"type": "string" +}, +"types": { +"description": "Output only. A list of resource types supported by Deployment Manager.", +"items": { +"$ref": "Type" +}, +"type": "array" +} +}, +"type": "object" +}, +"ValidationOptions": { +"description": "Options for how to validate and process properties on a resource.", +"id": "ValidationOptions", +"properties": { +"schemaValidation": { +"description": "Customize how deployment manager will validate the resource against schema errors.", +"enum": [ +"UNKNOWN", +"IGNORE", +"IGNORE_WITH_WARNINGS", +"FAIL" +], +"enumDescriptions": [ +"", +"Ignore schema failures.", +"Ignore schema failures but display them as warnings.", +"Fail the resource if the schema is not valid, this is the default behavior." +], +"type": "string" +}, +"undeclaredProperties": { +"description": "Specify what to do with extra properties when executing a request.", +"enum": [ +"UNKNOWN", +"INCLUDE", +"IGNORE", +"INCLUDE_WITH_WARNINGS", +"IGNORE_WITH_WARNINGS", +"FAIL" +], +"enumDescriptions": [ +"", +"Always include even if not present on discovery doc.", +"Always ignore if not present on discovery doc.", +"Include on request, but emit a warning.", +"Ignore properties, but emit a warning.", +"Always fail if undeclared properties are present." +], +"type": "string" +} +}, +"type": "object" +} +}, +"servicePath": "", +"title": "Cloud Deployment Manager V2 API", +"version": "alpha" +} \ No newline at end of file diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/deploymentmanager.v2.json b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/deploymentmanager.v2.json new file mode 100644 index 0000000000000000000000000000000000000000..cc07ab08687e29d9aead0d6583bbd06500c9194f --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/deploymentmanager.v2.json @@ -0,0 +1,2711 @@ +{ +"auth": { +"oauth2": { +"scopes": { +"https://www.googleapis.com/auth/cloud-platform": { +"description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." +}, +"https://www.googleapis.com/auth/cloud-platform.read-only": { +"description": "View your data across Google Cloud services and see the email address of your Google Account" +}, +"https://www.googleapis.com/auth/ndev.cloudman": { +"description": "View and manage your Google Cloud Platform management resources and deployment status information" +}, +"https://www.googleapis.com/auth/ndev.cloudman.readonly": { +"description": "View your Google Cloud Platform management resources and deployment status information" +} +} +} +}, +"basePath": "", +"baseUrl": "https://deploymentmanager.googleapis.com/", +"batchPath": "batch", +"canonicalName": "Deployment Manager", +"description": "The Google Cloud Deployment Manager v2 API provides services for configuring, deploying, and viewing Google Cloud services and APIs via templates which specify deployments of Cloud resources.", +"discoveryVersion": "v1", +"documentationLink": "https://cloud.google.com/deployment-manager", +"icons": { +"x16": "http://www.google.com/images/icons/product/search-16.gif", +"x32": "http://www.google.com/images/icons/product/search-32.gif" +}, +"id": "deploymentmanager:v2", +"kind": "discovery#restDescription", +"mtlsRootUrl": "https://deploymentmanager.mtls.googleapis.com/", +"name": "deploymentmanager", +"ownerDomain": "google.com", +"ownerName": "Google", +"parameters": { +"$.xgafv": { +"description": "V1 error format.", +"enum": [ +"1", +"2" +], +"enumDescriptions": [ +"v1 error format", +"v2 error format" +], +"location": "query", +"type": "string" +}, +"access_token": { +"description": "OAuth access token.", +"location": "query", +"type": "string" +}, +"alt": { +"default": "json", +"description": "Data format for response.", +"enum": [ +"json", +"media", +"proto" +], +"enumDescriptions": [ +"Responses with Content-Type of application/json", +"Media download with context-dependent Content-Type", +"Responses with Content-Type of application/x-protobuf" +], +"location": "query", +"type": "string" +}, +"callback": { +"description": "JSONP", +"location": "query", +"type": "string" +}, +"fields": { +"description": "Selector specifying which fields to include in a partial response.", +"location": "query", +"type": "string" +}, +"key": { +"description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", +"location": "query", +"type": "string" +}, +"oauth_token": { +"description": "OAuth 2.0 token for the current user.", +"location": "query", +"type": "string" +}, +"prettyPrint": { +"default": "true", +"description": "Returns response with indentations and line breaks.", +"location": "query", +"type": "boolean" +}, +"quotaUser": { +"description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.", +"location": "query", +"type": "string" +}, +"uploadType": { +"description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", +"location": "query", +"type": "string" +}, +"upload_protocol": { +"description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", +"location": "query", +"type": "string" +} +}, +"protocol": "rest", +"resources": { +"deployments": { +"methods": { +"cancelPreview": { +"description": "Cancels and removes the preview currently associated with the deployment.", +"flatPath": "deploymentmanager/v2/projects/{project}/global/deployments/{deployment}/cancelPreview", +"httpMethod": "POST", +"id": "deploymentmanager.deployments.cancelPreview", +"parameterOrder": [ +"project", +"deployment" +], +"parameters": { +"deployment": { +"description": "The name of the deployment for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +}, +"project": { +"description": "The project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +} +}, +"path": "deploymentmanager/v2/projects/{project}/global/deployments/{deployment}/cancelPreview", +"request": { +"$ref": "DeploymentsCancelPreviewRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/ndev.cloudman" +] +}, +"delete": { +"description": "Deletes a deployment and all of the resources in the deployment.", +"flatPath": "deploymentmanager/v2/projects/{project}/global/deployments/{deployment}", +"httpMethod": "DELETE", +"id": "deploymentmanager.deployments.delete", +"parameterOrder": [ +"project", +"deployment" +], +"parameters": { +"deletePolicy": { +"default": "DELETE", +"description": "Sets the policy to use for deleting resources.", +"enum": [ +"DELETE", +"ABANDON" +], +"enumDescriptions": [ +"", +"" +], +"location": "query", +"type": "string" +}, +"deployment": { +"description": "The name of the deployment for this request.", +"location": "path", +"required": true, +"type": "string" +}, +"header.bypassBillingFilter": { +"location": "query", +"type": "boolean" +}, +"project": { +"description": "The project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +} +}, +"path": "deploymentmanager/v2/projects/{project}/global/deployments/{deployment}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/ndev.cloudman" +] +}, +"get": { +"description": "Gets information about a specific deployment.", +"flatPath": "deploymentmanager/v2/projects/{project}/global/deployments/{deployment}", +"httpMethod": "GET", +"id": "deploymentmanager.deployments.get", +"parameterOrder": [ +"project", +"deployment" +], +"parameters": { +"deployment": { +"description": "The name of the deployment for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +}, +"header.bypassBillingFilter": { +"location": "query", +"type": "boolean" +}, +"project": { +"description": "The project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +} +}, +"path": "deploymentmanager/v2/projects/{project}/global/deployments/{deployment}", +"response": { +"$ref": "Deployment" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only", +"https://www.googleapis.com/auth/ndev.cloudman", +"https://www.googleapis.com/auth/ndev.cloudman.readonly" +] +}, +"getIamPolicy": { +"description": "Gets the access control policy for a resource. May be empty if no such policy or resource exists.", +"flatPath": "deploymentmanager/v2/projects/{project}/global/deployments/{resource}/getIamPolicy", +"httpMethod": "GET", +"id": "deploymentmanager.deployments.getIamPolicy", +"parameterOrder": [ +"project", +"resource" +], +"parameters": { +"header.bypassBillingFilter": { +"location": "query", +"type": "boolean" +}, +"optionsRequestedPolicyVersion": { +"description": "Requested IAM Policy version.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"resource": { +"description": "Name or id of the resource for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9_]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +} +}, +"path": "deploymentmanager/v2/projects/{project}/global/deployments/{resource}/getIamPolicy", +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/ndev.cloudman" +] +}, +"insert": { +"description": "Creates a deployment and all of the resources described by the deployment manifest.", +"flatPath": "deploymentmanager/v2/projects/{project}/global/deployments", +"httpMethod": "POST", +"id": "deploymentmanager.deployments.insert", +"parameterOrder": [ +"project" +], +"parameters": { +"createPolicy": { +"default": "CREATE_OR_ACQUIRE", +"description": "Sets the policy to use for creating new resources.", +"enum": [ +"CREATE_OR_ACQUIRE", +"ACQUIRE" +], +"enumDescriptions": [ +"", +"" +], +"location": "query", +"type": "string" +}, +"header.bypassBillingFilter": { +"location": "query", +"type": "boolean" +}, +"preview": { +"description": "If set to true, creates a deployment and creates \"shell\" resources but does not actually instantiate these resources. This allows you to preview what your deployment looks like. After previewing a deployment, you can deploy your resources by making a request with the `update()` method or you can use the `cancelPreview()` method to cancel the preview altogether. Note that the deployment will still exist after you cancel the preview and you must separately delete this deployment if you want to remove it.", +"location": "query", +"type": "boolean" +}, +"project": { +"description": "The project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +} +}, +"path": "deploymentmanager/v2/projects/{project}/global/deployments", +"request": { +"$ref": "Deployment" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/ndev.cloudman" +] +}, +"list": { +"description": "Lists all deployments for a given project.", +"flatPath": "deploymentmanager/v2/projects/{project}/global/deployments", +"httpMethod": "GET", +"id": "deploymentmanager.deployments.list", +"parameterOrder": [ +"project" +], +"parameters": { +"filter": { +"description": "A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq \"double quoted literal\"` `(fieldname1 eq literal) (fieldname2 ne \"literal\")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name \"instance\", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions.", +"location": "query", +"type": "string" +}, +"maxResults": { +"default": "500", +"description": "The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)", +"format": "uint32", +"location": "query", +"minimum": "0", +"type": "integer" +}, +"orderBy": { +"description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy=\"creationTimestamp desc\"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported.", +"location": "query", +"type": "string" +}, +"pageToken": { +"description": "Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.", +"location": "query", +"type": "string" +}, +"project": { +"description": "The project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +} +}, +"path": "deploymentmanager/v2/projects/{project}/global/deployments", +"response": { +"$ref": "DeploymentsListResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only", +"https://www.googleapis.com/auth/ndev.cloudman", +"https://www.googleapis.com/auth/ndev.cloudman.readonly" +] +}, +"patch": { +"description": "Patches a deployment and all of the resources described by the deployment manifest.", +"flatPath": "deploymentmanager/v2/projects/{project}/global/deployments/{deployment}", +"httpMethod": "PATCH", +"id": "deploymentmanager.deployments.patch", +"parameterOrder": [ +"project", +"deployment" +], +"parameters": { +"createPolicy": { +"default": "CREATE_OR_ACQUIRE", +"description": "Sets the policy to use for creating new resources.", +"enum": [ +"CREATE_OR_ACQUIRE", +"ACQUIRE" +], +"enumDescriptions": [ +"", +"" +], +"location": "query", +"type": "string" +}, +"deletePolicy": { +"default": "DELETE", +"description": "Sets the policy to use for deleting resources.", +"enum": [ +"DELETE", +"ABANDON" +], +"enumDescriptions": [ +"", +"" +], +"location": "query", +"type": "string" +}, +"deployment": { +"description": "The name of the deployment for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +}, +"header.bypassBillingFilter": { +"location": "query", +"type": "boolean" +}, +"preview": { +"default": "false", +"description": "If set to true, updates the deployment and creates and updates the \"shell\" resources but does not actually alter or instantiate these resources. This allows you to preview what your deployment will look like. You can use this intent to preview how an update would affect your deployment. You must provide a `target.config` with a configuration if this is set to true. After previewing a deployment, you can deploy your resources by making a request with the `update()` or you can `cancelPreview()` to remove the preview altogether. Note that the deployment will still exist after you cancel the preview and you must separately delete this deployment if you want to remove it.", +"location": "query", +"type": "boolean" +}, +"project": { +"description": "The project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +} +}, +"path": "deploymentmanager/v2/projects/{project}/global/deployments/{deployment}", +"request": { +"$ref": "Deployment" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/ndev.cloudman" +] +}, +"setIamPolicy": { +"description": "Sets the access control policy on the specified resource. Replaces any existing policy.", +"flatPath": "deploymentmanager/v2/projects/{project}/global/deployments/{resource}/setIamPolicy", +"httpMethod": "POST", +"id": "deploymentmanager.deployments.setIamPolicy", +"parameterOrder": [ +"project", +"resource" +], +"parameters": { +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"resource": { +"description": "Name or id of the resource for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9_]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +} +}, +"path": "deploymentmanager/v2/projects/{project}/global/deployments/{resource}/setIamPolicy", +"request": { +"$ref": "GlobalSetPolicyRequest" +}, +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/ndev.cloudman" +] +}, +"stop": { +"description": "Stops an ongoing operation. This does not roll back any work that has already been completed, but prevents any new work from being started.", +"flatPath": "deploymentmanager/v2/projects/{project}/global/deployments/{deployment}/stop", +"httpMethod": "POST", +"id": "deploymentmanager.deployments.stop", +"parameterOrder": [ +"project", +"deployment" +], +"parameters": { +"deployment": { +"description": "The name of the deployment for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +}, +"project": { +"description": "The project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +} +}, +"path": "deploymentmanager/v2/projects/{project}/global/deployments/{deployment}/stop", +"request": { +"$ref": "DeploymentsStopRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/ndev.cloudman" +] +}, +"testIamPermissions": { +"description": "Returns permissions that a caller has on the specified resource.", +"flatPath": "deploymentmanager/v2/projects/{project}/global/deployments/{resource}/testIamPermissions", +"httpMethod": "POST", +"id": "deploymentmanager.deployments.testIamPermissions", +"parameterOrder": [ +"project", +"resource" +], +"parameters": { +"header.bypassBillingFilter": { +"location": "query", +"type": "boolean" +}, +"project": { +"description": "Project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"resource": { +"description": "Name or id of the resource for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9_]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", +"required": true, +"type": "string" +} +}, +"path": "deploymentmanager/v2/projects/{project}/global/deployments/{resource}/testIamPermissions", +"request": { +"$ref": "TestPermissionsRequest" +}, +"response": { +"$ref": "TestPermissionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/ndev.cloudman" +] +}, +"update": { +"description": "Updates a deployment and all of the resources described by the deployment manifest.", +"flatPath": "deploymentmanager/v2/projects/{project}/global/deployments/{deployment}", +"httpMethod": "PUT", +"id": "deploymentmanager.deployments.update", +"parameterOrder": [ +"project", +"deployment" +], +"parameters": { +"createPolicy": { +"default": "CREATE_OR_ACQUIRE", +"description": "Sets the policy to use for creating new resources.", +"enum": [ +"CREATE_OR_ACQUIRE", +"ACQUIRE" +], +"enumDescriptions": [ +"", +"" +], +"location": "query", +"type": "string" +}, +"deletePolicy": { +"default": "DELETE", +"description": "Sets the policy to use for deleting resources.", +"enum": [ +"DELETE", +"ABANDON" +], +"enumDescriptions": [ +"", +"" +], +"location": "query", +"type": "string" +}, +"deployment": { +"description": "The name of the deployment for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +}, +"header.bypassBillingFilter": { +"location": "query", +"type": "boolean" +}, +"preview": { +"default": "false", +"description": "If set to true, updates the deployment and creates and updates the \"shell\" resources but does not actually alter or instantiate these resources. This allows you to preview what your deployment will look like. You can use this intent to preview how an update would affect your deployment. You must provide a `target.config` with a configuration if this is set to true. After previewing a deployment, you can deploy your resources by making a request with the `update()` or you can `cancelPreview()` to remove the preview altogether. Note that the deployment will still exist after you cancel the preview and you must separately delete this deployment if you want to remove it.", +"location": "query", +"type": "boolean" +}, +"project": { +"description": "The project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +} +}, +"path": "deploymentmanager/v2/projects/{project}/global/deployments/{deployment}", +"request": { +"$ref": "Deployment" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/ndev.cloudman" +] +} +} +}, +"manifests": { +"methods": { +"get": { +"description": "Gets information about a specific manifest.", +"flatPath": "deploymentmanager/v2/projects/{project}/global/deployments/{deployment}/manifests/{manifest}", +"httpMethod": "GET", +"id": "deploymentmanager.manifests.get", +"parameterOrder": [ +"project", +"deployment", +"manifest" +], +"parameters": { +"deployment": { +"description": "The name of the deployment for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +}, +"header.bypassBillingFilter": { +"location": "query", +"type": "boolean" +}, +"manifest": { +"description": "The name of the manifest for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +}, +"project": { +"description": "The project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +} +}, +"path": "deploymentmanager/v2/projects/{project}/global/deployments/{deployment}/manifests/{manifest}", +"response": { +"$ref": "Manifest" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only", +"https://www.googleapis.com/auth/ndev.cloudman", +"https://www.googleapis.com/auth/ndev.cloudman.readonly" +] +}, +"list": { +"description": "Lists all manifests for a given deployment.", +"flatPath": "deploymentmanager/v2/projects/{project}/global/deployments/{deployment}/manifests", +"httpMethod": "GET", +"id": "deploymentmanager.manifests.list", +"parameterOrder": [ +"project", +"deployment" +], +"parameters": { +"deployment": { +"description": "The name of the deployment for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +}, +"filter": { +"description": "A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq \"double quoted literal\"` `(fieldname1 eq literal) (fieldname2 ne \"literal\")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name \"instance\", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions.", +"location": "query", +"type": "string" +}, +"maxResults": { +"default": "500", +"description": "The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)", +"format": "uint32", +"location": "query", +"minimum": "0", +"type": "integer" +}, +"orderBy": { +"description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy=\"creationTimestamp desc\"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported.", +"location": "query", +"type": "string" +}, +"pageToken": { +"description": "Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.", +"location": "query", +"type": "string" +}, +"project": { +"description": "The project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +} +}, +"path": "deploymentmanager/v2/projects/{project}/global/deployments/{deployment}/manifests", +"response": { +"$ref": "ManifestsListResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only", +"https://www.googleapis.com/auth/ndev.cloudman", +"https://www.googleapis.com/auth/ndev.cloudman.readonly" +] +} +} +}, +"operations": { +"methods": { +"get": { +"description": "Gets information about a specific operation.", +"flatPath": "deploymentmanager/v2/projects/{project}/global/operations/{operation}", +"httpMethod": "GET", +"id": "deploymentmanager.operations.get", +"parameterOrder": [ +"project", +"operation" +], +"parameters": { +"header.bypassBillingFilter": { +"location": "query", +"type": "boolean" +}, +"operation": { +"description": "The name of the operation for this request.", +"location": "path", +"required": true, +"type": "string" +}, +"project": { +"description": "The project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +} +}, +"path": "deploymentmanager/v2/projects/{project}/global/operations/{operation}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only", +"https://www.googleapis.com/auth/ndev.cloudman", +"https://www.googleapis.com/auth/ndev.cloudman.readonly" +] +}, +"list": { +"description": "Lists all operations for a project.", +"flatPath": "deploymentmanager/v2/projects/{project}/global/operations", +"httpMethod": "GET", +"id": "deploymentmanager.operations.list", +"parameterOrder": [ +"project" +], +"parameters": { +"filter": { +"description": "A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq \"double quoted literal\"` `(fieldname1 eq literal) (fieldname2 ne \"literal\")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name \"instance\", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions.", +"location": "query", +"type": "string" +}, +"maxResults": { +"default": "500", +"description": "The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)", +"format": "uint32", +"location": "query", +"minimum": "0", +"type": "integer" +}, +"orderBy": { +"description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy=\"creationTimestamp desc\"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported.", +"location": "query", +"type": "string" +}, +"pageToken": { +"description": "Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.", +"location": "query", +"type": "string" +}, +"project": { +"description": "The project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +} +}, +"path": "deploymentmanager/v2/projects/{project}/global/operations", +"response": { +"$ref": "OperationsListResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only", +"https://www.googleapis.com/auth/ndev.cloudman", +"https://www.googleapis.com/auth/ndev.cloudman.readonly" +] +} +} +}, +"resources": { +"methods": { +"get": { +"description": "Gets information about a single resource.", +"flatPath": "deploymentmanager/v2/projects/{project}/global/deployments/{deployment}/resources/{resource}", +"httpMethod": "GET", +"id": "deploymentmanager.resources.get", +"parameterOrder": [ +"project", +"deployment", +"resource" +], +"parameters": { +"deployment": { +"description": "The name of the deployment for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +}, +"header.bypassBillingFilter": { +"location": "query", +"type": "boolean" +}, +"project": { +"description": "The project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +}, +"resource": { +"description": "The name of the resource for this request.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "deploymentmanager/v2/projects/{project}/global/deployments/{deployment}/resources/{resource}", +"response": { +"$ref": "Resource" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only", +"https://www.googleapis.com/auth/ndev.cloudman", +"https://www.googleapis.com/auth/ndev.cloudman.readonly" +] +}, +"list": { +"description": "Lists all resources in a given deployment.", +"flatPath": "deploymentmanager/v2/projects/{project}/global/deployments/{deployment}/resources", +"httpMethod": "GET", +"id": "deploymentmanager.resources.list", +"parameterOrder": [ +"project", +"deployment" +], +"parameters": { +"deployment": { +"description": "The name of the deployment for this request.", +"location": "path", +"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", +"required": true, +"type": "string" +}, +"filter": { +"description": "A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq \"double quoted literal\"` `(fieldname1 eq literal) (fieldname2 ne \"literal\")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name \"instance\", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions.", +"location": "query", +"type": "string" +}, +"maxResults": { +"default": "500", +"description": "The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)", +"format": "uint32", +"location": "query", +"minimum": "0", +"type": "integer" +}, +"orderBy": { +"description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy=\"creationTimestamp desc\"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported.", +"location": "query", +"type": "string" +}, +"pageToken": { +"description": "Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.", +"location": "query", +"type": "string" +}, +"project": { +"description": "The project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +} +}, +"path": "deploymentmanager/v2/projects/{project}/global/deployments/{deployment}/resources", +"response": { +"$ref": "ResourcesListResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only", +"https://www.googleapis.com/auth/ndev.cloudman", +"https://www.googleapis.com/auth/ndev.cloudman.readonly" +] +} +} +}, +"types": { +"methods": { +"list": { +"description": "Lists all resource types for Deployment Manager.", +"flatPath": "deploymentmanager/v2/projects/{project}/global/types", +"httpMethod": "GET", +"id": "deploymentmanager.types.list", +"parameterOrder": [ +"project" +], +"parameters": { +"filter": { +"description": "A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq \"double quoted literal\"` `(fieldname1 eq literal) (fieldname2 ne \"literal\")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name \"instance\", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions.", +"location": "query", +"type": "string" +}, +"maxResults": { +"default": "500", +"description": "The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)", +"format": "uint32", +"location": "query", +"minimum": "0", +"type": "integer" +}, +"orderBy": { +"description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy=\"creationTimestamp desc\"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported.", +"location": "query", +"type": "string" +}, +"pageToken": { +"description": "Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.", +"location": "query", +"type": "string" +}, +"project": { +"description": "The project ID for this request.", +"location": "path", +"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?))", +"required": true, +"type": "string" +} +}, +"path": "deploymentmanager/v2/projects/{project}/global/types", +"response": { +"$ref": "TypesListResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only", +"https://www.googleapis.com/auth/ndev.cloudman", +"https://www.googleapis.com/auth/ndev.cloudman.readonly" +] +} +} +} +}, +"revision": "20251128", +"rootUrl": "https://deploymentmanager.googleapis.com/", +"schemas": { +"AuditConfig": { +"description": "Specifies the audit configuration for a service. The configuration determines which permission types are logged, and what identities, if any, are exempted from logging. An AuditConfig must have one or more AuditLogConfigs. If there are AuditConfigs for both `allServices` and a specific service, the union of the two AuditConfigs is used for that service: the log_types specified in each AuditConfig are enabled, and the exempted_members in each AuditLogConfig are exempted. Example Policy with multiple AuditConfigs: { \"audit_configs\": [ { \"service\": \"allServices\", \"audit_log_configs\": [ { \"log_type\": \"DATA_READ\", \"exempted_members\": [ \"user:jose@example.com\" ] }, { \"log_type\": \"DATA_WRITE\" }, { \"log_type\": \"ADMIN_READ\" } ] }, { \"service\": \"sampleservice.googleapis.com\", \"audit_log_configs\": [ { \"log_type\": \"DATA_READ\" }, { \"log_type\": \"DATA_WRITE\", \"exempted_members\": [ \"user:aliya@example.com\" ] } ] } ] } For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also exempts `jose@example.com` from DATA_READ logging, and `aliya@example.com` from DATA_WRITE logging.", +"id": "AuditConfig", +"properties": { +"auditLogConfigs": { +"description": "The configuration for logging of each type of permission.", +"items": { +"$ref": "AuditLogConfig" +}, +"type": "array" +}, +"service": { +"description": "Specifies a service that will be enabled for audit logging. For example, `storage.googleapis.com`, `cloudsql.googleapis.com`. `allServices` is a special value that covers all services.", +"type": "string" +} +}, +"type": "object" +}, +"AuditLogConfig": { +"description": "Provides the configuration for logging a type of permissions. Example: { \"audit_log_configs\": [ { \"log_type\": \"DATA_READ\", \"exempted_members\": [ \"user:jose@example.com\" ] }, { \"log_type\": \"DATA_WRITE\" } ] } This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting jose@example.com from DATA_READ logging.", +"id": "AuditLogConfig", +"properties": { +"exemptedMembers": { +"description": "Specifies the identities that do not cause logging for this type of permission. Follows the same format of Binding.members.", +"items": { +"type": "string" +}, +"type": "array" +}, +"logType": { +"description": "The log type that this config enables.", +"enum": [ +"LOG_TYPE_UNSPECIFIED", +"ADMIN_READ", +"DATA_WRITE", +"DATA_READ" +], +"enumDescriptions": [ +"Default case. Should never be this.", +"Admin reads. Example: CloudIAM getIamPolicy", +"Data writes. Example: CloudSQL Users create", +"Data reads. Example: CloudSQL Users list" +], +"type": "string" +} +}, +"type": "object" +}, +"Binding": { +"description": "Associates `members`, or principals, with a `role`.", +"id": "Binding", +"properties": { +"condition": { +"$ref": "Expr", +"description": "The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies)." +}, +"members": { +"description": "Specifies the principals requesting access for a Google Cloud resource. `members` can have the following values: * `allUsers`: A special identifier that represents anyone who is on the internet; with or without a Google account. * `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service account. Does not include identities that come from external identity providers (IdPs) through identity federation. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `group:{emailid}`: An email address that represents a Google group. For example, `admins@example.com`. * `domain:{domain}`: The G Suite domain (primary) that represents all the users of that domain. For example, `google.com` or `example.com`. * `principal://iam.googleapis.com/locations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}`: A single identity in a workforce identity pool. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/group/{group_id}`: All workforce identities in a group. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/attribute.{attribute_name}/{attribute_value}`: All workforce identities with a specific attribute value. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/*`: All identities in a workforce identity pool. * `principal://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/subject/{subject_attribute_value}`: A single identity in a workload identity pool. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/group/{group_id}`: A workload identity pool group. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/attribute.{attribute_name}/{attribute_value}`: All identities in a workload identity pool with a certain attribute. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/*`: All identities in a workload identity pool. * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a user that has been recently deleted. For example, `alice@example.com?uid=123456789012345678901`. If the user is recovered, this value reverts to `user:{emailid}` and the recovered user retains the role in the binding. * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a service account that has been recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the service account is undeleted, this value reverts to `serviceAccount:{emailid}` and the undeleted service account retains the role in the binding. * `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a Google group that has been recently deleted. For example, `admins@example.com?uid=123456789012345678901`. If the group is recovered, this value reverts to `group:{emailid}` and the recovered group retains the role in the binding. * `deleted:principal://iam.googleapis.com/locations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}`: Deleted single identity in a workforce identity pool. For example, `deleted:principal://iam.googleapis.com/locations/global/workforcePools/my-pool-id/subject/my-subject-attribute-value`.", +"items": { +"type": "string" +}, +"type": "array" +}, +"role": { +"description": "Role that is assigned to the list of `members`, or principals. For example, `roles/viewer`, `roles/editor`, or `roles/owner`. For an overview of the IAM roles and permissions, see the [IAM documentation](https://cloud.google.com/iam/docs/roles-overview). For a list of the available pre-defined roles, see [here](https://cloud.google.com/iam/docs/understanding-roles).", +"type": "string" +} +}, +"type": "object" +}, +"BulkInsertOperationStatus": { +"id": "BulkInsertOperationStatus", +"properties": { +"createdVmCount": { +"description": "[Output Only] Count of VMs successfully created so far.", +"format": "int32", +"type": "integer" +}, +"deletedVmCount": { +"description": "[Output Only] Count of VMs that got deleted during rollback.", +"format": "int32", +"type": "integer" +}, +"failedToCreateVmCount": { +"description": "[Output Only] Count of VMs that started creating but encountered an error.", +"format": "int32", +"type": "integer" +}, +"status": { +"description": "[Output Only] Creation status of BulkInsert operation - information if the flow is rolling forward or rolling back.", +"enum": [ +"STATUS_UNSPECIFIED", +"CREATING", +"ROLLING_BACK", +"DONE" +], +"enumDescriptions": [ +"", +"Rolling forward - creating VMs.", +"Rolling back - cleaning up after an error.", +"Done" +], +"type": "string" +}, +"targetVmCount": { +"description": "[Output Only] Count of VMs originally planned to be created.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"ConfigFile": { +"id": "ConfigFile", +"properties": { +"content": { +"description": "The contents of the file.", +"type": "string" +} +}, +"type": "object" +}, +"DebugInfo": { +"description": "Describes additional debugging info.", +"id": "DebugInfo", +"properties": { +"detail": { +"description": "Additional debugging information provided by the server.", +"type": "string" +}, +"stackEntries": { +"description": "The stack trace entries indicating where the error occurred.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"Deployment": { +"id": "Deployment", +"properties": { +"description": { +"description": "An optional user-provided description of the deployment.", +"type": "string" +}, +"fingerprint": { +"description": "Provides a fingerprint to use in requests to modify a deployment, such as `update()`, `stop()`, and `cancelPreview()` requests. A fingerprint is a randomly generated value that must be provided with `update()`, `stop()`, and `cancelPreview()` requests to perform optimistic locking. This ensures optimistic concurrency so that only one request happens at a time. The fingerprint is initially generated by Deployment Manager and changes after every request to modify data. To get the latest fingerprint value, perform a `get()` request to a deployment.", +"format": "byte", +"type": "string" +}, +"id": { +"format": "uint64", +"type": "string" +}, +"insertTime": { +"description": "Output only. Creation timestamp in RFC3339 text format.", +"type": "string" +}, +"labels": { +"description": "Map of One Platform labels; provided by the client when the resource is created or updated. Specifically: Label keys must be between 1 and 63 characters long and must conform to the following regular expression: `[a-z]([-a-z0-9]*[a-z0-9])?` Label values must be between 0 and 63 characters long and must conform to the regular expression `([a-z]([-a-z0-9]*[a-z0-9])?)?`.", +"items": { +"$ref": "DeploymentLabelEntry" +}, +"type": "array" +}, +"manifest": { +"description": "Output only. URL of the manifest representing the last manifest that was successfully deployed. If no manifest has been successfully deployed, this field will be absent.", +"type": "string" +}, +"name": { +"description": "Name of the resource; provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.", +"type": "string" +}, +"operation": { +"$ref": "Operation", +"description": "Output only. The Operation that most recently ran, or is currently running, on this deployment." +}, +"selfLink": { +"description": "Output only. Server defined URL for the resource.", +"type": "string" +}, +"target": { +"$ref": "TargetConfiguration", +"description": "[Input Only] The parameters that define your deployment, including the deployment configuration and relevant templates." +}, +"update": { +"$ref": "DeploymentUpdate", +"description": "Output only. If Deployment Manager is currently updating or previewing an update to this deployment, the updated configuration appears here." +}, +"updateTime": { +"description": "Output only. Update timestamp in RFC3339 text format.", +"type": "string" +} +}, +"type": "object" +}, +"DeploymentLabelEntry": { +"description": "Label object for Deployments", +"id": "DeploymentLabelEntry", +"properties": { +"key": { +"description": "Key of the label", +"type": "string" +}, +"value": { +"description": "Value of the label", +"type": "string" +} +}, +"type": "object" +}, +"DeploymentUpdate": { +"id": "DeploymentUpdate", +"properties": { +"description": { +"description": "Output only. An optional user-provided description of the deployment after the current update has been applied.", +"type": "string" +}, +"labels": { +"description": "Map of One Platform labels; provided by the client when the resource is created or updated. Specifically: Label keys must be between 1 and 63 characters long and must conform to the following regular expression: `[a-z]([-a-z0-9]*[a-z0-9])?` Label values must be between 0 and 63 characters long and must conform to the regular expression `([a-z]([-a-z0-9]*[a-z0-9])?)?`.", +"items": { +"$ref": "DeploymentUpdateLabelEntry" +}, +"type": "array" +}, +"manifest": { +"description": "Output only. URL of the manifest representing the update configuration of this deployment.", +"type": "string" +} +}, +"type": "object" +}, +"DeploymentUpdateLabelEntry": { +"description": "Label object for DeploymentUpdate", +"id": "DeploymentUpdateLabelEntry", +"properties": { +"key": { +"description": "Key of the label", +"type": "string" +}, +"value": { +"description": "Value of the label", +"type": "string" +} +}, +"type": "object" +}, +"DeploymentsCancelPreviewRequest": { +"id": "DeploymentsCancelPreviewRequest", +"properties": { +"fingerprint": { +"description": "Specifies a fingerprint for `cancelPreview()` requests. A fingerprint is a randomly generated value that must be provided in `cancelPreview()` requests to perform optimistic locking. This ensures optimistic concurrency so that the deployment does not have conflicting requests (e.g. if someone attempts to make a new update request while another user attempts to cancel a preview, this would prevent one of the requests). The fingerprint is initially generated by Deployment Manager and changes after every request to modify a deployment. To get the latest fingerprint value, perform a `get()` request on the deployment.", +"format": "byte", +"type": "string" +} +}, +"type": "object" +}, +"DeploymentsListResponse": { +"description": "A response containing a partial list of deployments and a page token used to build the next request if the request has been truncated.", +"id": "DeploymentsListResponse", +"properties": { +"deployments": { +"description": "Output only. The deployments contained in this response.", +"items": { +"$ref": "Deployment" +}, +"type": "array" +}, +"nextPageToken": { +"description": "Output only. A token used to continue a truncated list request.", +"type": "string" +} +}, +"type": "object" +}, +"DeploymentsStopRequest": { +"id": "DeploymentsStopRequest", +"properties": { +"fingerprint": { +"description": "Specifies a fingerprint for `stop()` requests. A fingerprint is a randomly generated value that must be provided in `stop()` requests to perform optimistic locking. This ensures optimistic concurrency so that the deployment does not have conflicting requests (e.g. if someone attempts to make a new update request while another user attempts to stop an ongoing update request, this would prevent a collision). The fingerprint is initially generated by Deployment Manager and changes after every request to modify a deployment. To get the latest fingerprint value, perform a `get()` request on the deployment.", +"format": "byte", +"type": "string" +} +}, +"type": "object" +}, +"ErrorInfo": { +"description": "Describes the cause of the error with structured details. Example of an error when contacting the \"pubsub.googleapis.com\" API when it is not enabled: { \"reason\": \"API_DISABLED\" \"domain\": \"googleapis.com\" \"metadata\": { \"resource\": \"projects/123\", \"service\": \"pubsub.googleapis.com\" } } This response indicates that the pubsub.googleapis.com API is not enabled. Example of an error that is returned when attempting to create a Spanner instance in a region that is out of stock: { \"reason\": \"STOCKOUT\" \"domain\": \"spanner.googleapis.com\", \"metadata\": { \"availableRegions\": \"us-central1,us-east2\" } }", +"id": "ErrorInfo", +"properties": { +"domain": { +"description": "The logical grouping to which the \"reason\" belongs. The error domain is typically the registered service name of the tool or product that generates the error. Example: \"pubsub.googleapis.com\". If the error is generated by some common infrastructure, the error domain must be a globally unique value that identifies the infrastructure. For Google API infrastructure, the error domain is \"googleapis.com\".", +"type": "string" +}, +"metadatas": { +"additionalProperties": { +"type": "string" +}, +"description": "Additional structured details about this error. Keys must match a regular expression of `a-z+` but should ideally be lowerCamelCase. Also, they must be limited to 64 characters in length. When identifying the current value of an exceeded limit, the units should be contained in the key, not the value. For example, rather than `{\"instanceLimit\": \"100/request\"}`, should be returned as, `{\"instanceLimitPerRequest\": \"100\"}`, if the client exceeds the number of instances that can be created in a single (batch) request.", +"type": "object" +}, +"reason": { +"description": "The reason of the error. This is a constant value that identifies the proximate cause of the error. Error reasons are unique within a particular domain of errors. This should be at most 63 characters and match a regular expression of `A-Z+[A-Z0-9]`, which represents UPPER_SNAKE_CASE.", +"type": "string" +} +}, +"type": "object" +}, +"Expr": { +"description": "Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: \"Summary size limit\" description: \"Determines if a summary is less than 100 chars\" expression: \"document.summary.size() < 100\" Example (Equality): title: \"Requestor is owner\" description: \"Determines if requestor is the document owner\" expression: \"document.owner == request.auth.claims.email\" Example (Logic): title: \"Public documents\" description: \"Determine whether the document should be publicly visible\" expression: \"document.type != 'private' && document.type != 'internal'\" Example (Data Manipulation): title: \"Notification string\" description: \"Create a notification string with a timestamp.\" expression: \"'New message received at ' + string(document.create_time)\" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information.", +"id": "Expr", +"properties": { +"description": { +"description": "Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI.", +"type": "string" +}, +"expression": { +"description": "Textual representation of an expression in Common Expression Language syntax.", +"type": "string" +}, +"location": { +"description": "Optional. String indicating the location of the expression for error reporting, e.g. a file name and a position in the file.", +"type": "string" +}, +"title": { +"description": "Optional. Title for the expression, i.e. a short string describing its purpose. This can be used e.g. in UIs which allow to enter the expression.", +"type": "string" +} +}, +"type": "object" +}, +"FirewallPolicyRuleOperationMetadata": { +"id": "FirewallPolicyRuleOperationMetadata", +"properties": { +"allocatedPriority": { +"description": "The priority allocated for the firewall policy rule if query parameters specified minPriority/maxPriority.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"GlobalSetPolicyRequest": { +"id": "GlobalSetPolicyRequest", +"properties": { +"bindings": { +"description": "Flatten Policy to create a backward compatible wire-format. Deprecated. Use 'policy' to specify bindings.", +"items": { +"$ref": "Binding" +}, +"type": "array" +}, +"etag": { +"description": "Flatten Policy to create a backward compatible wire-format. Deprecated. Use 'policy' to specify the etag.", +"format": "byte", +"type": "string" +}, +"policy": { +"$ref": "Policy", +"description": "REQUIRED: The complete policy to be applied to the 'resource'. The size of the policy is limited to a few 10s of KB. An empty policy is in general a valid policy but certain services (like Projects) might reject them." +}, +"updateMask": { +"description": "Update mask for the policy.", +"format": "google-fieldmask", +"type": "string" +} +}, +"type": "object" +}, +"Help": { +"description": "Provides links to documentation or for performing an out of band action. For example, if a quota check failed with an error indicating the calling project hasn't enabled the accessed service, this can contain a URL pointing directly to the right place in the developer console to flip the bit.", +"id": "Help", +"properties": { +"links": { +"description": "URL(s) pointing to additional information on handling the current error.", +"items": { +"$ref": "HelpLink" +}, +"type": "array" +} +}, +"type": "object" +}, +"HelpLink": { +"description": "Describes a URL link.", +"id": "HelpLink", +"properties": { +"description": { +"description": "Describes what the link offers.", +"type": "string" +}, +"url": { +"description": "The URL of the link.", +"type": "string" +} +}, +"type": "object" +}, +"ImportFile": { +"id": "ImportFile", +"properties": { +"content": { +"description": "The contents of the file.", +"type": "string" +}, +"name": { +"description": "The name of the file.", +"type": "string" +} +}, +"type": "object" +}, +"InstancesBulkInsertOperationMetadata": { +"id": "InstancesBulkInsertOperationMetadata", +"properties": { +"machineType": { +"description": "[Output Only] The machine type of the VMs that were created used internally only by KCP flex bulk insert.", +"type": "string" +}, +"perLocationStatus": { +"additionalProperties": { +"$ref": "BulkInsertOperationStatus" +}, +"description": "Status information per location (location name is key). Example key: zones/us-central1-a", +"type": "object" +} +}, +"type": "object" +}, +"LocalizedMessage": { +"description": "Provides a localized error message that is safe to return to the user which can be attached to an RPC error.", +"id": "LocalizedMessage", +"properties": { +"locale": { +"description": "The locale used following the specification defined at https://www.rfc-editor.org/rfc/bcp/bcp47.txt. Examples are: \"en-US\", \"fr-CH\", \"es-MX\"", +"type": "string" +}, +"message": { +"description": "The localized error message in the above locale.", +"type": "string" +} +}, +"type": "object" +}, +"Manifest": { +"id": "Manifest", +"properties": { +"config": { +"$ref": "ConfigFile", +"description": "Output only. The YAML configuration for this manifest." +}, +"expandedConfig": { +"description": "Output only. The fully-expanded configuration file, including any templates and references.", +"type": "string" +}, +"id": { +"format": "uint64", +"type": "string" +}, +"imports": { +"description": "Output only. The imported files for this manifest.", +"items": { +"$ref": "ImportFile" +}, +"type": "array" +}, +"insertTime": { +"description": "Output only. Creation timestamp in RFC3339 text format.", +"type": "string" +}, +"layout": { +"description": "Output only. The YAML layout for this manifest.", +"type": "string" +}, +"manifestSizeBytes": { +"description": "Output only. The computed size of the fully expanded manifest.", +"format": "int64", +"type": "string" +}, +"manifestSizeLimitBytes": { +"description": "Output only. The size limit for expanded manifests in the project.", +"format": "int64", +"type": "string" +}, +"name": { +"description": "Output only. The name of the manifest.", +"type": "string" +}, +"selfLink": { +"description": "Output only. Self link for the manifest.", +"type": "string" +} +}, +"type": "object" +}, +"ManifestsListResponse": { +"description": "A response containing a partial list of manifests and a page token used to build the next request if the request has been truncated.", +"id": "ManifestsListResponse", +"properties": { +"manifests": { +"description": "Output only. Manifests contained in this list response.", +"items": { +"$ref": "Manifest" +}, +"type": "array" +}, +"nextPageToken": { +"description": "Output only. A token used to continue a truncated list request.", +"type": "string" +} +}, +"type": "object" +}, +"Operation": { +"description": "Represents an Operation resource. Google Compute Engine has three Operation resources: * [Global](/compute/docs/reference/rest/{$api_version}/globalOperations) * [Regional](/compute/docs/reference/rest/{$api_version}/regionOperations) * [Zonal](/compute/docs/reference/rest/{$api_version}/zoneOperations) You can use an operation resource to manage asynchronous API requests. For more information, read Handling API responses. Operations can be global, regional or zonal. - For global operations, use the `globalOperations` resource. - For regional operations, use the `regionOperations` resource. - For zonal operations, use the `zoneOperations` resource. For more information, read Global, Regional, and Zonal Resources. Note that completed Operation resources have a limited retention period.", +"id": "Operation", +"properties": { +"clientOperationId": { +"description": "[Output Only] The value of `requestId` if you provided it in the request. Not present otherwise.", +"type": "string" +}, +"creationTimestamp": { +"description": "[Deprecated] This field is deprecated.", +"type": "string" +}, +"description": { +"description": "[Output Only] A textual description of the operation, which is set when the operation is created.", +"type": "string" +}, +"endTime": { +"description": "[Output Only] The time that this operation was completed. This value is in RFC3339 text format.", +"type": "string" +}, +"error": { +"description": "[Output Only] If errors are generated during processing of the operation, this field will be populated.", +"properties": { +"errors": { +"description": "[Output Only] The array of errors encountered while processing this operation.", +"items": { +"properties": { +"arguments": { +"description": "Output only. [Output Only] Optional error details WARNING: DO NOT MAKE VISIBLE This is for internal use-only (like componentization) (thus the visibility \"none\") and in case of public exposure it is strongly recommended to follow pattern of: https://aip.dev/193 and expose as details field.", +"items": { +"type": "string" +}, +"readOnly": true, +"type": "array" +}, +"code": { +"description": "[Output Only] The error type identifier for this error.", +"type": "string" +}, +"debugInfo": { +"$ref": "DebugInfo", +"readOnly": true +}, +"errorDetails": { +"description": "[Output Only] An optional list of messages that contain the error details. There is a set of defined message types to use for providing details.The syntax depends on the error code. For example, QuotaExceededInfo will have details when the error code is QUOTA_EXCEEDED.", +"items": { +"properties": { +"errorInfo": { +"$ref": "ErrorInfo" +}, +"help": { +"$ref": "Help" +}, +"localizedMessage": { +"$ref": "LocalizedMessage" +}, +"quotaInfo": { +"$ref": "QuotaExceededInfo" +} +}, +"type": "object" +}, +"type": "array" +}, +"location": { +"description": "[Output Only] Indicates the field in the request that caused the error. This property is optional.", +"type": "string" +}, +"message": { +"description": "[Output Only] An optional, human-readable error message.", +"type": "string" +} +}, +"type": "object" +}, +"type": "array" +} +}, +"type": "object" +}, +"firewallPolicyRuleOperationMetadata": { +"$ref": "FirewallPolicyRuleOperationMetadata" +}, +"httpErrorMessage": { +"description": "[Output Only] If the operation fails, this field contains the HTTP error message that was returned, such as `NOT FOUND`.", +"type": "string" +}, +"httpErrorStatusCode": { +"description": "[Output Only] If the operation fails, this field contains the HTTP error status code that was returned. For example, a `404` means the resource was not found.", +"format": "int32", +"type": "integer" +}, +"id": { +"description": "[Output Only] The unique identifier for the operation. This identifier is defined by the server.", +"format": "uint64", +"type": "string" +}, +"insertTime": { +"description": "[Output Only] The time that this operation was requested. This value is in RFC3339 text format.", +"type": "string" +}, +"instancesBulkInsertOperationMetadata": { +"$ref": "InstancesBulkInsertOperationMetadata" +}, +"kind": { +"default": "compute#operation", +"description": "Output only. [Output Only] Type of the resource. Always `compute#operation` for Operation resources.", +"readOnly": true, +"type": "string" +}, +"name": { +"description": "[Output Only] Name of the operation.", +"type": "string" +}, +"operationGroupId": { +"description": "Output only. [Output Only] An ID that represents a group of operations, such as when a group of operations results from a `bulkInsert` API request.", +"readOnly": true, +"type": "string" +}, +"operationType": { +"description": "[Output Only] The type of operation, such as `insert`, `update`, or `delete`, and so on.", +"type": "string" +}, +"progress": { +"description": "[Output Only] An optional progress indicator that ranges from 0 to 100. There is no requirement that this be linear or support any granularity of operations. This should not be used to guess when the operation will be complete. This number should monotonically increase as the operation progresses.", +"format": "int32", +"type": "integer" +}, +"region": { +"description": "[Output Only] The URL of the region where the operation resides. Only applicable when performing regional operations.", +"type": "string" +}, +"selfLink": { +"description": "[Output Only] Server-defined URL for the resource.", +"type": "string" +}, +"selfLinkWithId": { +"description": "Output only. [Output Only] Server-defined URL for this resource with the resource id.", +"readOnly": true, +"type": "string" +}, +"setAutoscalerLinkOperationMetadata": { +"$ref": "SetAutoscalerLinkOperationMetadata", +"description": "This field is used internally by the Autoscaler team and should not be promoted to \"alpha/beta/v1\"." +}, +"setCommonInstanceMetadataOperationMetadata": { +"$ref": "SetCommonInstanceMetadataOperationMetadata", +"description": "Output only. [Output Only] If the operation is for projects.setCommonInstanceMetadata, this field will contain information on all underlying zonal actions and their state.", +"readOnly": true +}, +"startTime": { +"description": "[Output Only] The time that this operation was started by the server. This value is in RFC3339 text format.", +"type": "string" +}, +"status": { +"description": "[Output Only] The status of the operation, which can be one of the following: `PENDING`, `RUNNING`, or `DONE`.", +"enum": [ +"PENDING", +"RUNNING", +"DONE" +], +"enumDescriptions": [ +"", +"", +"" +], +"type": "string" +}, +"statusMessage": { +"description": "[Output Only] An optional textual description of the current status of the operation.", +"type": "string" +}, +"targetId": { +"description": "[Output Only] The unique target ID, which identifies a specific incarnation of the target resource.", +"format": "uint64", +"type": "string" +}, +"targetLink": { +"description": "[Output Only] The URL of the resource that the operation modifies. For operations related to creating a snapshot, this points to the disk that the snapshot was created from.", +"type": "string" +}, +"user": { +"description": "[Output Only] User who requested the operation, for example: `user@example.com` or `alice_smith_identifier (global/workforcePools/example-com-us-employees)`.", +"type": "string" +}, +"warnings": { +"description": "[Output Only] If warning messages are generated during processing of the operation, this field will be populated.", +"items": { +"properties": { +"code": { +"description": "[Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.", +"enum": [ +"DEPRECATED_RESOURCE_USED", +"NO_RESULTS_ON_PAGE", +"UNREACHABLE", +"NEXT_HOP_ADDRESS_NOT_ASSIGNED", +"NEXT_HOP_INSTANCE_NOT_FOUND", +"NEXT_HOP_INSTANCE_NOT_ON_NETWORK", +"NEXT_HOP_CANNOT_IP_FORWARD", +"NEXT_HOP_NOT_RUNNING", +"INJECTED_KERNELS_DEPRECATED", +"REQUIRED_TOS_AGREEMENT", +"DISK_SIZE_LARGER_THAN_IMAGE_SIZE", +"RESOURCE_NOT_DELETED", +"SINGLE_INSTANCE_PROPERTY_TEMPLATE", +"NOT_CRITICAL_ERROR", +"CLEANUP_FAILED", +"FIELD_VALUE_OVERRIDEN", +"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", +"NETWORK_ENDPOINT_NOT_DETACHED", +"PAGE_MISSING_RESULTS", +"SSL_POLICY_ENABLED_FEATURES_NOT_FETCHED", +"RESOURCE_NOT_FOUND_WARNING", +"MISSING_TYPE_DEPENDENCY", +"EXTERNAL_API_WARNING", +"SCHEMA_VALIDATION_IGNORED", +"UNDECLARED_PROPERTIES", +"EXPERIMENTAL_TYPE_USED", +"DEPRECATED_TYPE_USED", +"PARTIAL_SUCCESS", +"LARGE_DEPLOYMENT_WARNING", +"NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", +"INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", +"LIST_OVERHEAD_QUOTA_EXCEED", +"QUOTA_INFO_UNAVAILABLE", +"RESOURCE_USES_GLOBAL_DNS", +"RATE_LIMIT_EXCEEDED", +"UPCOMING_MAINTENANCES_UNAVAILABLE", +"RESERVED_ENTRY_136", +"RESERVED_ENTRY_139", +"RESERVED_ENTRY_141", +"RESERVED_ENTRY_142", +"RESERVED_ENTRY_143" +], +"enumDeprecated": [ +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +true, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false +], +"enumDescriptions": [ +"A link to a deprecated resource was created.", +"No results are present on a particular list page.", +"A given scope cannot be reached.", +"The route's nextHopIp address is not assigned to an instance on the network.", +"The route's nextHopInstance URL refers to an instance that does not exist.", +"The route's nextHopInstance URL refers to an instance that is not on the same network as the route.", +"The route's next hop instance cannot ip forward.", +"The route's next hop instance does not have a status of RUNNING.", +"The operation involved use of an injected kernel, which is deprecated.", +"The user attempted to use a resource that requires a TOS they have not accepted.", +"The user created a boot disk that is larger than image size.", +"One or more of the resources set to auto-delete could not be deleted because they were in use.", +"Instance template used in instance group manager is valid as such, but its application does not make a lot of sense, because it allows only single instance in instance group.", +"Error which is not critical. We decided to continue the process despite the mentioned error.", +"Warning about failed cleanup of transient changes made by a failed operation.", +"Warning that value of a field has been overridden. Deprecated unused field.", +"Warning that a resource is in use.", +"Warning that network endpoint was not detached.", +"Current page contains less results than requested but a next page token exists.", +"Warning that SSL policy resource in the response does not contain information about the list of enabled features.", +"Warning that a resource is not found.", +"A resource depends on a missing type", +"Warning that is present in an external api call", +"When a resource schema validation is ignored.", +"When undeclared properties in the schema are present", +"When deploying and at least one of the resources has a type marked as experimental", +"When deploying and at least one of the resources has a type marked as deprecated", +"Success is reported, but some results may be missing due to errors", +"When deploying a deployment with a exceedingly large number of resources", +"The route's nextHopInstance URL refers to an instance that does not have an ipv6 interface on the same network as the route.", +"A WEIGHTED_MAGLEV backend service is associated with a health check that is not of type HTTP/HTTPS/HTTP2.", +"Resource can't be retrieved due to list overhead quota exceed which captures the amount of resources filtered out by user-defined list filter.", +"Quota information is not available to client requests (e.g: regions.list).", +"Indicates that a VM is using global DNS. Can also be used to indicate that a resource has attributes that could result in the creation of a VM that uses global DNS.", +"Resource can't be retrieved due to api quota exceeded.", +"Upcoming maintenance schedule is unavailable for the resource.", +"Reserved entries for quickly adding new warnings without breaking dependent clients.", +"", +"", +"", +"" +], +"type": "string" +}, +"data": { +"description": "[Output Only] Metadata about this warning in key: value format. For example: \"data\": [ { \"key\": \"scope\", \"value\": \"zones/us-east1-d\" } ", +"items": { +"properties": { +"key": { +"description": "[Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding).", +"type": "string" +}, +"value": { +"description": "[Output Only] A warning data value corresponding to the key.", +"type": "string" +} +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "[Output Only] A human-readable description of the warning code.", +"type": "string" +} +}, +"type": "object" +}, +"type": "array" +}, +"zone": { +"description": "[Output Only] The URL of the zone where the operation resides. Only applicable when performing per-zone operations.", +"type": "string" +} +}, +"type": "object" +}, +"OperationsListResponse": { +"description": "A response containing a partial list of operations and a page token used to build the next request if the request has been truncated.", +"id": "OperationsListResponse", +"properties": { +"nextPageToken": { +"description": "Output only. A token used to continue a truncated list request.", +"type": "string" +}, +"operations": { +"description": "Output only. Operations contained in this list response.", +"items": { +"$ref": "Operation" +}, +"type": "array" +} +}, +"type": "object" +}, +"Policy": { +"description": "An Identity and Access Management (IAM) policy, which specifies access controls for Google Cloud resources. A `Policy` is a collection of `bindings`. A `binding` binds one or more `members`, or principals, to a single `role`. Principals can be user accounts, service accounts, Google groups, and domains (such as G Suite). A `role` is a named list of permissions; each `role` can be an IAM predefined role or a user-created custom role. For some types of Google Cloud resources, a `binding` can also specify a `condition`, which is a logical expression that allows access to a resource only if the expression evaluates to `true`. A condition can add constraints based on attributes of the request, the resource, or both. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). **JSON example:** ``` { \"bindings\": [ { \"role\": \"roles/resourcemanager.organizationAdmin\", \"members\": [ \"user:mike@example.com\", \"group:admins@example.com\", \"domain:google.com\", \"serviceAccount:my-project-id@appspot.gserviceaccount.com\" ] }, { \"role\": \"roles/resourcemanager.organizationViewer\", \"members\": [ \"user:eve@example.com\" ], \"condition\": { \"title\": \"expirable access\", \"description\": \"Does not grant access after Sep 2020\", \"expression\": \"request.time < timestamp('2020-10-01T00:00:00.000Z')\", } } ], \"etag\": \"BwWWja0YfJA=\", \"version\": 3 } ``` **YAML example:** ``` bindings: - members: - user:mike@example.com - group:admins@example.com - domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.com role: roles/resourcemanager.organizationViewer condition: title: expirable access description: Does not grant access after Sep 2020 expression: request.time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 ``` For a description of IAM and its features, see the [IAM documentation](https://cloud.google.com/iam/docs/).", +"id": "Policy", +"properties": { +"auditConfigs": { +"description": "Specifies cloud audit logging configuration for this policy.", +"items": { +"$ref": "AuditConfig" +}, +"type": "array" +}, +"bindings": { +"description": "Associates a list of `members`, or principals, with a `role`. Optionally, may specify a `condition` that determines how and when the `bindings` are applied. Each of the `bindings` must contain at least one principal. The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250 of these principals can be Google groups. Each occurrence of a principal counts towards these limits. For example, if the `bindings` grant 50 different roles to `user:alice@example.com`, and not to any other principal, then you can add another 1,450 principals to the `bindings` in the `Policy`.", +"items": { +"$ref": "Binding" +}, +"type": "array" +}, +"etag": { +"description": "`etag` is used for optimistic concurrency control as a way to help prevent simultaneous updates of a policy from overwriting each other. It is strongly suggested that systems make use of the `etag` in the read-modify-write cycle to perform policy updates in order to avoid race conditions: An `etag` is returned in the response to `getIamPolicy`, and systems are expected to put that etag in the request to `setIamPolicy` to ensure that their change will be applied to the same version of the policy. **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost.", +"format": "byte", +"type": "string" +}, +"version": { +"description": "Specifies the format of the policy. Valid values are `0`, `1`, and `3`. Requests that specify an invalid value are rejected. Any operation that affects conditional role bindings must specify version `3`. This requirement applies to the following operations: * Getting a policy that includes a conditional role binding * Adding a conditional role binding to a policy * Changing a conditional role binding in a policy * Removing any role binding, with or without a condition, from a policy that includes conditions **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost. If a policy does not include any conditions, operations on that policy may specify any valid version or leave the field unset. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"QuotaExceededInfo": { +"description": "Additional details for quota exceeded error for resource quota.", +"id": "QuotaExceededInfo", +"properties": { +"dimensions": { +"additionalProperties": { +"type": "string" +}, +"description": "The map holding related quota dimensions.", +"type": "object" +}, +"futureLimit": { +"description": "Future quota limit being rolled out. The limit's unit depends on the quota type or metric.", +"format": "double", +"type": "number" +}, +"limit": { +"description": "Current effective quota limit. The limit's unit depends on the quota type or metric.", +"format": "double", +"type": "number" +}, +"limitName": { +"description": "The name of the quota limit.", +"type": "string" +}, +"metricName": { +"description": "The Compute Engine quota metric name.", +"type": "string" +}, +"rolloutStatus": { +"description": "Rollout status of the future quota limit.", +"enum": [ +"ROLLOUT_STATUS_UNSPECIFIED", +"IN_PROGRESS" +], +"enumDescriptions": [ +"ROLLOUT_STATUS_UNSPECIFIED - Rollout status is not specified. The default value.", +"IN_PROGRESS - A rollout is in process which will change the limit value to future limit." +], +"type": "string" +} +}, +"type": "object" +}, +"Resource": { +"id": "Resource", +"properties": { +"accessControl": { +"$ref": "ResourceAccessControl", +"description": "The Access Control Policy set on this resource." +}, +"finalProperties": { +"description": "Output only. The evaluated properties of the resource with references expanded. Returned as serialized YAML.", +"type": "string" +}, +"id": { +"format": "uint64", +"type": "string" +}, +"insertTime": { +"description": "Output only. Creation timestamp in RFC3339 text format.", +"type": "string" +}, +"manifest": { +"description": "Output only. URL of the manifest representing the current configuration of this resource.", +"type": "string" +}, +"name": { +"description": "Output only. The name of the resource as it appears in the YAML config.", +"type": "string" +}, +"properties": { +"description": "Output only. The current properties of the resource before any references have been filled in. Returned as serialized YAML.", +"type": "string" +}, +"type": { +"description": "Output only. The type of the resource, for example `compute.v1.instance`, or `cloudfunctions.v1beta1.function`.", +"type": "string" +}, +"update": { +"$ref": "ResourceUpdate", +"description": "Output only. If Deployment Manager is currently updating or previewing an update to this resource, the updated configuration appears here." +}, +"updateTime": { +"description": "Output only. Update timestamp in RFC3339 text format.", +"type": "string" +}, +"url": { +"description": "Output only. The URL of the actual resource.", +"type": "string" +}, +"warnings": { +"description": "Output only. If warning messages are generated during processing of this resource, this field will be populated.", +"items": { +"properties": { +"code": { +"description": "[Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.", +"enum": [ +"DEPRECATED_RESOURCE_USED", +"NO_RESULTS_ON_PAGE", +"UNREACHABLE", +"NEXT_HOP_ADDRESS_NOT_ASSIGNED", +"NEXT_HOP_INSTANCE_NOT_FOUND", +"NEXT_HOP_INSTANCE_NOT_ON_NETWORK", +"NEXT_HOP_CANNOT_IP_FORWARD", +"NEXT_HOP_NOT_RUNNING", +"INJECTED_KERNELS_DEPRECATED", +"REQUIRED_TOS_AGREEMENT", +"DISK_SIZE_LARGER_THAN_IMAGE_SIZE", +"RESOURCE_NOT_DELETED", +"SINGLE_INSTANCE_PROPERTY_TEMPLATE", +"NOT_CRITICAL_ERROR", +"CLEANUP_FAILED", +"FIELD_VALUE_OVERRIDEN", +"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", +"NETWORK_ENDPOINT_NOT_DETACHED", +"PAGE_MISSING_RESULTS", +"SSL_POLICY_ENABLED_FEATURES_NOT_FETCHED", +"RESOURCE_NOT_FOUND_WARNING", +"MISSING_TYPE_DEPENDENCY", +"EXTERNAL_API_WARNING", +"SCHEMA_VALIDATION_IGNORED", +"UNDECLARED_PROPERTIES", +"EXPERIMENTAL_TYPE_USED", +"DEPRECATED_TYPE_USED", +"PARTIAL_SUCCESS", +"LARGE_DEPLOYMENT_WARNING", +"NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", +"INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", +"LIST_OVERHEAD_QUOTA_EXCEED", +"QUOTA_INFO_UNAVAILABLE", +"RESOURCE_USES_GLOBAL_DNS", +"RATE_LIMIT_EXCEEDED", +"UPCOMING_MAINTENANCES_UNAVAILABLE", +"RESERVED_ENTRY_136", +"RESERVED_ENTRY_139", +"RESERVED_ENTRY_141", +"RESERVED_ENTRY_142", +"RESERVED_ENTRY_143" +], +"enumDeprecated": [ +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +true, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false +], +"enumDescriptions": [ +"A link to a deprecated resource was created.", +"No results are present on a particular list page.", +"A given scope cannot be reached.", +"The route's nextHopIp address is not assigned to an instance on the network.", +"The route's nextHopInstance URL refers to an instance that does not exist.", +"The route's nextHopInstance URL refers to an instance that is not on the same network as the route.", +"The route's next hop instance cannot ip forward.", +"The route's next hop instance does not have a status of RUNNING.", +"The operation involved use of an injected kernel, which is deprecated.", +"The user attempted to use a resource that requires a TOS they have not accepted.", +"The user created a boot disk that is larger than image size.", +"One or more of the resources set to auto-delete could not be deleted because they were in use.", +"Instance template used in instance group manager is valid as such, but its application does not make a lot of sense, because it allows only single instance in instance group.", +"Error which is not critical. We decided to continue the process despite the mentioned error.", +"Warning about failed cleanup of transient changes made by a failed operation.", +"Warning that value of a field has been overridden. Deprecated unused field.", +"Warning that a resource is in use.", +"Warning that network endpoint was not detached.", +"Current page contains less results than requested but a next page token exists.", +"Warning that SSL policy resource in the response does not contain information about the list of enabled features.", +"Warning that a resource is not found.", +"A resource depends on a missing type", +"Warning that is present in an external api call", +"When a resource schema validation is ignored.", +"When undeclared properties in the schema are present", +"When deploying and at least one of the resources has a type marked as experimental", +"When deploying and at least one of the resources has a type marked as deprecated", +"Success is reported, but some results may be missing due to errors", +"When deploying a deployment with a exceedingly large number of resources", +"The route's nextHopInstance URL refers to an instance that does not have an ipv6 interface on the same network as the route.", +"A WEIGHTED_MAGLEV backend service is associated with a health check that is not of type HTTP/HTTPS/HTTP2.", +"Resource can't be retrieved due to list overhead quota exceed which captures the amount of resources filtered out by user-defined list filter.", +"Quota information is not available to client requests (e.g: regions.list).", +"Indicates that a VM is using global DNS. Can also be used to indicate that a resource has attributes that could result in the creation of a VM that uses global DNS.", +"Resource can't be retrieved due to api quota exceeded.", +"Upcoming maintenance schedule is unavailable for the resource.", +"Reserved entries for quickly adding new warnings without breaking dependent clients.", +"", +"", +"", +"" +], +"type": "string" +}, +"data": { +"description": "[Output Only] Metadata about this warning in key: value format. For example: \"data\": [ { \"key\": \"scope\", \"value\": \"zones/us-east1-d\" } ", +"items": { +"properties": { +"key": { +"description": "[Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding).", +"type": "string" +}, +"value": { +"description": "[Output Only] A warning data value corresponding to the key.", +"type": "string" +} +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "[Output Only] A human-readable description of the warning code.", +"type": "string" +} +}, +"type": "object" +}, +"type": "array" +} +}, +"type": "object" +}, +"ResourceAccessControl": { +"description": "The access controls set on the resource.", +"id": "ResourceAccessControl", +"properties": { +"gcpIamPolicy": { +"description": "The GCP IAM Policy to set on the resource.", +"type": "string" +} +}, +"type": "object" +}, +"ResourceUpdate": { +"id": "ResourceUpdate", +"properties": { +"accessControl": { +"$ref": "ResourceAccessControl", +"description": "The Access Control Policy to set on this resource after updating the resource itself." +}, +"error": { +"description": "Output only. If errors are generated during update of the resource, this field will be populated.", +"properties": { +"errors": { +"description": "[Output Only] The array of errors encountered while processing this operation.", +"items": { +"properties": { +"arguments": { +"description": "Output only. [Output Only] Optional error details WARNING: DO NOT MAKE VISIBLE This is for internal use-only (like componentization) (thus the visibility \"none\") and in case of public exposure it is strongly recommended to follow pattern of: https://aip.dev/193 and expose as details field.", +"items": { +"type": "string" +}, +"readOnly": true, +"type": "array" +}, +"code": { +"description": "[Output Only] The error type identifier for this error.", +"type": "string" +}, +"debugInfo": { +"$ref": "DebugInfo", +"readOnly": true +}, +"errorDetails": { +"description": "[Output Only] An optional list of messages that contain the error details. There is a set of defined message types to use for providing details.The syntax depends on the error code. For example, QuotaExceededInfo will have details when the error code is QUOTA_EXCEEDED.", +"items": { +"properties": { +"errorInfo": { +"$ref": "ErrorInfo" +}, +"help": { +"$ref": "Help" +}, +"localizedMessage": { +"$ref": "LocalizedMessage" +}, +"quotaInfo": { +"$ref": "QuotaExceededInfo" +} +}, +"type": "object" +}, +"type": "array" +}, +"location": { +"description": "[Output Only] Indicates the field in the request that caused the error. This property is optional.", +"type": "string" +}, +"message": { +"description": "[Output Only] An optional, human-readable error message.", +"type": "string" +} +}, +"type": "object" +}, +"type": "array" +} +}, +"type": "object" +}, +"finalProperties": { +"description": "Output only. The expanded properties of the resource with reference values expanded. Returned as serialized YAML.", +"type": "string" +}, +"intent": { +"description": "Output only. The intent of the resource: `PREVIEW`, `UPDATE`, or `CANCEL`.", +"enum": [ +"CREATE_OR_ACQUIRE", +"DELETE", +"ACQUIRE", +"UPDATE", +"ABANDON", +"CREATE" +], +"enumDescriptions": [ +"The resource is scheduled to be created, or if it already exists, acquired.", +"The resource is scheduled to be deleted.", +"The resource is scheduled to be acquired.", +"The resource is scheduled to be updated via the UPDATE method.", +"The resource is scheduled to be abandoned.", +"The resource is scheduled to be created." +], +"type": "string" +}, +"manifest": { +"description": "Output only. URL of the manifest representing the update configuration of this resource.", +"type": "string" +}, +"properties": { +"description": "Output only. The set of updated properties for this resource, before references are expanded. Returned as serialized YAML.", +"type": "string" +}, +"state": { +"description": "Output only. The state of the resource.", +"enum": [ +"PENDING", +"IN_PROGRESS", +"IN_PREVIEW", +"FAILED", +"ABORTED" +], +"enumDescriptions": [ +"There are changes pending for this resource.", +"The service is executing changes on the resource.", +"The service is previewing changes on the resource.", +"The service has failed to change the resource.", +"The service has aborted trying to change the resource." +], +"type": "string" +}, +"warnings": { +"description": "Output only. If warning messages are generated during processing of this resource, this field will be populated.", +"items": { +"properties": { +"code": { +"description": "[Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.", +"enum": [ +"DEPRECATED_RESOURCE_USED", +"NO_RESULTS_ON_PAGE", +"UNREACHABLE", +"NEXT_HOP_ADDRESS_NOT_ASSIGNED", +"NEXT_HOP_INSTANCE_NOT_FOUND", +"NEXT_HOP_INSTANCE_NOT_ON_NETWORK", +"NEXT_HOP_CANNOT_IP_FORWARD", +"NEXT_HOP_NOT_RUNNING", +"INJECTED_KERNELS_DEPRECATED", +"REQUIRED_TOS_AGREEMENT", +"DISK_SIZE_LARGER_THAN_IMAGE_SIZE", +"RESOURCE_NOT_DELETED", +"SINGLE_INSTANCE_PROPERTY_TEMPLATE", +"NOT_CRITICAL_ERROR", +"CLEANUP_FAILED", +"FIELD_VALUE_OVERRIDEN", +"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", +"NETWORK_ENDPOINT_NOT_DETACHED", +"PAGE_MISSING_RESULTS", +"SSL_POLICY_ENABLED_FEATURES_NOT_FETCHED", +"RESOURCE_NOT_FOUND_WARNING", +"MISSING_TYPE_DEPENDENCY", +"EXTERNAL_API_WARNING", +"SCHEMA_VALIDATION_IGNORED", +"UNDECLARED_PROPERTIES", +"EXPERIMENTAL_TYPE_USED", +"DEPRECATED_TYPE_USED", +"PARTIAL_SUCCESS", +"LARGE_DEPLOYMENT_WARNING", +"NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", +"INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", +"LIST_OVERHEAD_QUOTA_EXCEED", +"QUOTA_INFO_UNAVAILABLE", +"RESOURCE_USES_GLOBAL_DNS", +"RATE_LIMIT_EXCEEDED", +"UPCOMING_MAINTENANCES_UNAVAILABLE", +"RESERVED_ENTRY_136", +"RESERVED_ENTRY_139", +"RESERVED_ENTRY_141", +"RESERVED_ENTRY_142", +"RESERVED_ENTRY_143" +], +"enumDeprecated": [ +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +true, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false +], +"enumDescriptions": [ +"A link to a deprecated resource was created.", +"No results are present on a particular list page.", +"A given scope cannot be reached.", +"The route's nextHopIp address is not assigned to an instance on the network.", +"The route's nextHopInstance URL refers to an instance that does not exist.", +"The route's nextHopInstance URL refers to an instance that is not on the same network as the route.", +"The route's next hop instance cannot ip forward.", +"The route's next hop instance does not have a status of RUNNING.", +"The operation involved use of an injected kernel, which is deprecated.", +"The user attempted to use a resource that requires a TOS they have not accepted.", +"The user created a boot disk that is larger than image size.", +"One or more of the resources set to auto-delete could not be deleted because they were in use.", +"Instance template used in instance group manager is valid as such, but its application does not make a lot of sense, because it allows only single instance in instance group.", +"Error which is not critical. We decided to continue the process despite the mentioned error.", +"Warning about failed cleanup of transient changes made by a failed operation.", +"Warning that value of a field has been overridden. Deprecated unused field.", +"Warning that a resource is in use.", +"Warning that network endpoint was not detached.", +"Current page contains less results than requested but a next page token exists.", +"Warning that SSL policy resource in the response does not contain information about the list of enabled features.", +"Warning that a resource is not found.", +"A resource depends on a missing type", +"Warning that is present in an external api call", +"When a resource schema validation is ignored.", +"When undeclared properties in the schema are present", +"When deploying and at least one of the resources has a type marked as experimental", +"When deploying and at least one of the resources has a type marked as deprecated", +"Success is reported, but some results may be missing due to errors", +"When deploying a deployment with a exceedingly large number of resources", +"The route's nextHopInstance URL refers to an instance that does not have an ipv6 interface on the same network as the route.", +"A WEIGHTED_MAGLEV backend service is associated with a health check that is not of type HTTP/HTTPS/HTTP2.", +"Resource can't be retrieved due to list overhead quota exceed which captures the amount of resources filtered out by user-defined list filter.", +"Quota information is not available to client requests (e.g: regions.list).", +"Indicates that a VM is using global DNS. Can also be used to indicate that a resource has attributes that could result in the creation of a VM that uses global DNS.", +"Resource can't be retrieved due to api quota exceeded.", +"Upcoming maintenance schedule is unavailable for the resource.", +"Reserved entries for quickly adding new warnings without breaking dependent clients.", +"", +"", +"", +"" +], +"type": "string" +}, +"data": { +"description": "[Output Only] Metadata about this warning in key: value format. For example: \"data\": [ { \"key\": \"scope\", \"value\": \"zones/us-east1-d\" } ", +"items": { +"properties": { +"key": { +"description": "[Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding).", +"type": "string" +}, +"value": { +"description": "[Output Only] A warning data value corresponding to the key.", +"type": "string" +} +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "[Output Only] A human-readable description of the warning code.", +"type": "string" +} +}, +"type": "object" +}, +"type": "array" +} +}, +"type": "object" +}, +"ResourcesListResponse": { +"description": "A response containing a partial list of resources and a page token used to build the next request if the request has been truncated.", +"id": "ResourcesListResponse", +"properties": { +"nextPageToken": { +"description": "A token used to continue a truncated list request.", +"type": "string" +}, +"resources": { +"description": "Resources contained in this list response.", +"items": { +"$ref": "Resource" +}, +"type": "array" +} +}, +"type": "object" +}, +"SetAutoscalerLinkOperationMetadata": { +"id": "SetAutoscalerLinkOperationMetadata", +"properties": { +"zonalIgmIds": { +"description": "List of zonal IGM IDs part of the RMIG.", +"items": { +"format": "int64", +"type": "string" +}, +"type": "array" +}, +"zoneToIgmIds": { +"additionalProperties": { +"format": "int64", +"type": "string" +}, +"description": "Map of zone to an ID of the zonal IGM belonging to the RMIG.", +"type": "object" +} +}, +"type": "object" +}, +"SetCommonInstanceMetadataOperationMetadata": { +"id": "SetCommonInstanceMetadataOperationMetadata", +"properties": { +"clientOperationId": { +"description": "[Output Only] The client operation id.", +"type": "string" +}, +"perLocationOperations": { +"additionalProperties": { +"$ref": "SetCommonInstanceMetadataOperationMetadataPerLocationOperationInfo" +}, +"description": "[Output Only] Status information per location (location name is key). Example key: zones/us-central1-a", +"type": "object" +} +}, +"type": "object" +}, +"SetCommonInstanceMetadataOperationMetadataPerLocationOperationInfo": { +"id": "SetCommonInstanceMetadataOperationMetadataPerLocationOperationInfo", +"properties": { +"error": { +"$ref": "Status", +"description": "[Output Only] If state is `ABANDONED` or `FAILED`, this field is populated." +}, +"state": { +"description": "[Output Only] Status of the action, which can be one of the following: `PROPAGATING`, `PROPAGATED`, `ABANDONED`, `FAILED`, or `DONE`.", +"enum": [ +"UNSPECIFIED", +"PROPAGATING", +"PROPAGATED", +"ABANDONED", +"FAILED", +"DONE" +], +"enumDescriptions": [ +"", +"Operation is not yet confirmed to have been created in the location.", +"Operation is confirmed to be in the location.", +"Operation not tracked in this location e.g. zone is marked as DOWN.", +"Operation is in an error state.", +"Operation has completed successfully." +], +"type": "string" +} +}, +"type": "object" +}, +"Status": { +"description": "The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors).", +"id": "Status", +"properties": { +"code": { +"description": "The status code, which should be an enum value of google.rpc.Code.", +"format": "int32", +"type": "integer" +}, +"details": { +"description": "A list of messages that carry the error details. There is a common set of message types for APIs to use.", +"items": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.", +"type": "string" +} +}, +"type": "object" +}, +"TargetConfiguration": { +"id": "TargetConfiguration", +"properties": { +"config": { +"$ref": "ConfigFile", +"description": "The configuration to use for this deployment." +}, +"imports": { +"description": "Specifies any files to import for this configuration. This can be used to import templates or other files. For example, you might import a text file in order to use the file in a template.", +"items": { +"$ref": "ImportFile" +}, +"type": "array" +} +}, +"type": "object" +}, +"TestPermissionsRequest": { +"id": "TestPermissionsRequest", +"properties": { +"permissions": { +"description": "The set of permissions to check for the 'resource'. Permissions with wildcards (such as '*' or 'storage.*') are not allowed.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"TestPermissionsResponse": { +"id": "TestPermissionsResponse", +"properties": { +"permissions": { +"description": "A subset of `TestPermissionsRequest.permissions` that the caller is allowed.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"Type": { +"description": "A resource type supported by Deployment Manager.", +"id": "Type", +"properties": { +"id": { +"format": "uint64", +"type": "string" +}, +"insertTime": { +"description": "Output only. Creation timestamp in RFC3339 text format.", +"type": "string" +}, +"name": { +"description": "Name of the type.", +"type": "string" +}, +"operation": { +"$ref": "Operation", +"description": "Output only. The Operation that most recently ran, or is currently running, on this type." +}, +"selfLink": { +"description": "Output only. Server defined URL for the resource.", +"type": "string" +} +}, +"type": "object" +}, +"TypesListResponse": { +"description": "A response that returns all Types supported by Deployment Manager", +"id": "TypesListResponse", +"properties": { +"nextPageToken": { +"description": "A token used to continue a truncated list request.", +"type": "string" +}, +"types": { +"description": "Output only. A list of resource types supported by Deployment Manager.", +"items": { +"$ref": "Type" +}, +"type": "array" +} +}, +"type": "object" +} +}, +"servicePath": "", +"title": "Cloud Deployment Manager V2 API", +"version": "v2" +} \ No newline at end of file diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/dfareporting.v3.4.json b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/dfareporting.v3.4.json new file mode 100644 index 0000000000000000000000000000000000000000..cff2eacccf61bf026609b03595c0ee3a80fdc981 --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/dfareporting.v3.4.json @@ -0,0 +1,20725 @@ +{ + "auth": { + "oauth2": { + "scopes": { + "https://www.googleapis.com/auth/ddmconversions": { + "description": "Manage DoubleClick Digital Marketing conversions" + }, + "https://www.googleapis.com/auth/dfareporting": { + "description": "View and manage DoubleClick for Advertisers reports" + }, + "https://www.googleapis.com/auth/dfatrafficking": { + "description": "View and manage your DoubleClick Campaign Manager's (DCM) display ad campaigns" + } + } + } + }, + "basePath": "/dfareporting/v3.4/", + "baseUrl": "https://dfareporting.googleapis.com/dfareporting/v3.4/", + "batchPath": "batch", + "canonicalName": "Dfareporting", + "description": "Build applications to efficiently manage large or complex trafficking, reporting, and attribution workflows for Campaign Manager 360.", + "discoveryVersion": "v1", + "documentationLink": "https://developers.google.com/doubleclick-advertisers/", + "fullyEncodeReservedExpansion": true, + "icons": { + "x16": "http://www.google.com/images/icons/product/search-16.gif", + "x32": "http://www.google.com/images/icons/product/search-32.gif" + }, + "id": "dfareporting:v3.4", + "kind": "discovery#restDescription", + "mtlsRootUrl": "https://dfareporting.mtls.googleapis.com/", + "name": "dfareporting", + "ownerDomain": "google.com", + "ownerName": "Google", + "parameters": { + "$.xgafv": { + "description": "V1 error format.", + "enum": [ + "1", + "2" + ], + "enumDescriptions": [ + "v1 error format", + "v2 error format" + ], + "location": "query", + "type": "string" + }, + "access_token": { + "description": "OAuth access token.", + "location": "query", + "type": "string" + }, + "alt": { + "default": "json", + "description": "Data format for response.", + "enum": [ + "json", + "media", + "proto" + ], + "enumDescriptions": [ + "Responses with Content-Type of application/json", + "Media download with context-dependent Content-Type", + "Responses with Content-Type of application/x-protobuf" + ], + "location": "query", + "type": "string" + }, + "callback": { + "description": "JSONP", + "location": "query", + "type": "string" + }, + "fields": { + "description": "Selector specifying which fields to include in a partial response.", + "location": "query", + "type": "string" + }, + "key": { + "description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", + "location": "query", + "type": "string" + }, + "oauth_token": { + "description": "OAuth 2.0 token for the current user.", + "location": "query", + "type": "string" + }, + "prettyPrint": { + "default": "true", + "description": "Returns response with indentations and line breaks.", + "location": "query", + "type": "boolean" + }, + "quotaUser": { + "description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.", + "location": "query", + "type": "string" + }, + "uploadType": { + "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", + "location": "query", + "type": "string" + }, + "upload_protocol": { + "description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", + "location": "query", + "type": "string" + } + }, + "protocol": "rest", + "resources": { + "accountActiveAdSummaries": { + "methods": { + "get": { + "description": "Gets the account's active ad summary by account ID.", + "flatPath": "userprofiles/{profileId}/accountActiveAdSummaries/{summaryAccountId}", + "httpMethod": "GET", + "id": "dfareporting.accountActiveAdSummaries.get", + "parameterOrder": [ + "profileId", + "summaryAccountId" + ], + "parameters": { + "profileId": { + "description": "User profile ID associated with this request.", + "format": "int64", + "location": "path", + "required": true, + "type": "string" + }, + "summaryAccountId": { + "description": "Account ID.", + "format": "int64", + "location": "path", + "required": true, + "type": "string" + } + }, + "path": "userprofiles/{profileId}/accountActiveAdSummaries/{summaryAccountId}", + "response": { + "$ref": "AccountActiveAdSummary" + }, + "scopes": [ + "https://www.googleapis.com/auth/dfatrafficking" + ] + } + } + }, + "accountPermissionGroups": { + "methods": { + "get": { + "description": "Gets one account permission group by ID.", + "flatPath": "userprofiles/{profileId}/accountPermissionGroups/{id}", + "httpMethod": "GET", + "id": "dfareporting.accountPermissionGroups.get", + "parameterOrder": [ + "profileId", + "id" + ], + "parameters": { + "id": { + "description": "Account permission group ID.", + "format": "int64", + "location": "path", + "required": true, + "type": "string" + }, + "profileId": { + "description": "User profile ID associated with this request.", + "format": "int64", + "location": "path", + "required": true, + "type": "string" + } + }, + "path": "userprofiles/{profileId}/accountPermissionGroups/{id}", + "response": { + "$ref": "AccountPermissionGroup" + }, + "scopes": [ + "https://www.googleapis.com/auth/dfatrafficking" + ] + }, + "list": { + "description": "Retrieves the list of account permission groups.", + "flatPath": "userprofiles/{profileId}/accountPermissionGroups", + "httpMethod": "GET", + "id": "dfareporting.accountPermissionGroups.list", + "parameterOrder": [ + "profileId" + ], + "parameters": { + "profileId": { + "description": "User profile ID associated with this request.", + "format": "int64", + "location": "path", + "required": true, + "type": "string" + } + }, + "path": "userprofiles/{profileId}/accountPermissionGroups", + "response": { + "$ref": "AccountPermissionGroupsListResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/dfatrafficking" + ] + } + } + }, + "accountPermissions": { + "methods": { + "get": { + "description": "Gets one account permission by ID.", + "flatPath": "userprofiles/{profileId}/accountPermissions/{id}", + "httpMethod": "GET", + "id": "dfareporting.accountPermissions.get", + "parameterOrder": [ + "profileId", + "id" + ], + "parameters": { + "id": { + "description": "Account permission ID.", + "format": "int64", + "location": "path", + "required": true, + "type": "string" + }, + "profileId": { + "description": "User profile ID associated with this request.", + "format": "int64", + "location": "path", + "required": true, + "type": "string" + } + }, + "path": "userprofiles/{profileId}/accountPermissions/{id}", + "response": { + "$ref": "AccountPermission" + }, + "scopes": [ + "https://www.googleapis.com/auth/dfatrafficking" + ] + }, + "list": { + "description": "Retrieves the list of account permissions.", + "flatPath": "userprofiles/{profileId}/accountPermissions", + "httpMethod": "GET", + "id": "dfareporting.accountPermissions.list", + "parameterOrder": [ + "profileId" + ], + "parameters": { + "profileId": { + "description": "User profile ID associated with this request.", + "format": "int64", + "location": "path", + "required": true, + "type": "string" + } + }, + "path": "userprofiles/{profileId}/accountPermissions", + "response": { + "$ref": "AccountPermissionsListResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/dfatrafficking" + ] + } + } + }, + "accountUserProfiles": { + "methods": { + "get": { + "description": "Gets one account user profile by ID.", + "flatPath": "userprofiles/{profileId}/accountUserProfiles/{id}", + "httpMethod": "GET", + "id": "dfareporting.accountUserProfiles.get", + "parameterOrder": [ + "profileId", + "id" + ], + "parameters": { + "id": { + "description": "User profile ID.", + "format": "int64", + "location": "path", + "required": true, + "type": "string" + }, + "profileId": { + "description": "User profile ID associated with this request.", + "format": "int64", + "location": "path", + "required": true, + "type": "string" + } + }, + "path": "userprofiles/{profileId}/accountUserProfiles/{id}", + "response": { + "$ref": "AccountUserProfile" + }, + "scopes": [ + "https://www.googleapis.com/auth/dfatrafficking" + ] + }, + "insert": { + "description": "Inserts a new account user profile.", + "flatPath": "userprofiles/{profileId}/accountUserProfiles", + "httpMethod": "POST", + "id": "dfareporting.accountUserProfiles.insert", + "parameterOrder": [ + "profileId" + ], + "parameters": { + "profileId": { + "description": "User profile ID associated with this request.", + "format": "int64", + "location": "path", + "required": true, + "type": "string" + } + }, + "path": "userprofiles/{profileId}/accountUserProfiles", + "request": { + "$ref": "AccountUserProfile" + }, + "response": { + "$ref": "AccountUserProfile" + }, + "scopes": [ + "https://www.googleapis.com/auth/dfatrafficking" + ] + }, + "list": { + "description": "Retrieves a list of account user profiles, possibly filtered. This method supports paging.", + "flatPath": "userprofiles/{profileId}/accountUserProfiles", + "httpMethod": "GET", + "id": "dfareporting.accountUserProfiles.list", + "parameterOrder": [ + "profileId" + ], + "parameters": { + "active": { + "description": "Select only active user profiles.", + "location": "query", + "type": "boolean" + }, + "ids": { + "description": "Select only user profiles with these IDs.", + "format": "int64", + "location": "query", + "repeated": true, + "type": "string" + }, + "maxResults": { + "default": "1000", + "description": "Maximum number of results to return.", + "format": "int32", + "location": "query", + "maximum": "1000", + "minimum": "0", + "type": "integer" + }, + "pageToken": { + "description": "Value of the nextPageToken from the previous result page.", + "location": "query", + "type": "string" + }, + "profileId": { + "description": "User profile ID associated with this request.", + "format": "int64", + "location": "path", + "required": true, + "type": "string" + }, + "searchString": { + "description": "Allows searching for objects by name, ID or email. Wildcards (*) are allowed. For example, \"user profile*2015\" will return objects with names like \"user profile June 2015\", \"user profile April 2015\", or simply \"user profile 2015\". Most of the searches also add wildcards implicitly at the start and the end of the search string. For example, a search string of \"user profile\" will match objects with name \"my user profile\", \"user profile 2015\", or simply \"user profile\".", + "location": "query", + "type": "string" + }, + "sortField": { + "default": "ID", + "description": "Field by which to sort the list.", + "enum": [ + "ID", + "NAME" + ], + "enumDescriptions": [ + "", + "" + ], + "location": "query", + "type": "string" + }, + "sortOrder": { + "default": "ASCENDING", + "description": "Order of sorted results.", + "enum": [ + "ASCENDING", + "DESCENDING" + ], + "enumDescriptions": [ + "", + "" + ], + "location": "query", + "type": "string" + }, + "subaccountId": { + "description": "Select only user profiles with the specified subaccount ID.", + "format": "int64", + "location": "query", + "type": "string" + }, + "userRoleId": { + "description": "Select only user profiles with the specified user role ID.", + "format": "int64", + "location": "query", + "type": "string" + } + }, + "path": "userprofiles/{profileId}/accountUserProfiles", + "response": { + "$ref": "AccountUserProfilesListResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/dfatrafficking" + ] + }, + "patch": { + "description": "Updates an existing account user profile. This method supports patch semantics.", + "flatPath": "userprofiles/{profileId}/accountUserProfiles", + "httpMethod": "PATCH", + "id": "dfareporting.accountUserProfiles.patch", + "parameterOrder": [ + "profileId", + "id" + ], + "parameters": { + "id": { + "description": "AccountUserProfile ID.", + "format": "int64", + "location": "query", + "required": true, + "type": "string" + }, + "profileId": { + "description": "User profile ID associated with this request.", + "format": "int64", + "location": "path", + "required": true, + "type": "string" + } + }, + "path": "userprofiles/{profileId}/accountUserProfiles", + "request": { + "$ref": "AccountUserProfile" + }, + "response": { + "$ref": "AccountUserProfile" + }, + "scopes": [ + "https://www.googleapis.com/auth/dfatrafficking" + ] + }, + "update": { + "description": "Updates an existing account user profile.", + "flatPath": "userprofiles/{profileId}/accountUserProfiles", + "httpMethod": "PUT", + "id": "dfareporting.accountUserProfiles.update", + "parameterOrder": [ + "profileId" + ], + "parameters": { + "profileId": { + "description": "User profile ID associated with this request.", + "format": "int64", + "location": "path", + "required": true, + "type": "string" + } + }, + "path": "userprofiles/{profileId}/accountUserProfiles", + "request": { + "$ref": "AccountUserProfile" + }, + "response": { + "$ref": "AccountUserProfile" + }, + "scopes": [ + "https://www.googleapis.com/auth/dfatrafficking" + ] + } + } + }, + "accounts": { + "methods": { + "get": { + "description": "Gets one account by ID.", + "flatPath": "userprofiles/{profileId}/accounts/{id}", + "httpMethod": "GET", + "id": "dfareporting.accounts.get", + "parameterOrder": [ + "profileId", + "id" + ], + "parameters": { + "id": { + "description": "Account ID.", + "format": "int64", + "location": "path", + "required": true, + "type": "string" + }, + "profileId": { + "description": "User profile ID associated with this request.", + "format": "int64", + "location": "path", + "required": true, + "type": "string" + } + }, + "path": "userprofiles/{profileId}/accounts/{id}", + "response": { + "$ref": "Account" + }, + "scopes": [ + "https://www.googleapis.com/auth/dfatrafficking" + ] + }, + "list": { + "description": "Retrieves the list of accounts, possibly filtered. This method supports paging.", + "flatPath": "userprofiles/{profileId}/accounts", + "httpMethod": "GET", + "id": "dfareporting.accounts.list", + "parameterOrder": [ + "profileId" + ], + "parameters": { + "active": { + "description": "Select only active accounts. Don't set this field to select both active and non-active accounts.", + "location": "query", + "type": "boolean" + }, + "ids": { + "description": "Select only accounts with these IDs.", + "format": "int64", + "location": "query", + "repeated": true, + "type": "string" + }, + "maxResults": { + "default": "1000", + "description": "Maximum number of results to return.", + "format": "int32", + "location": "query", + "maximum": "1000", + "minimum": "0", + "type": "integer" + }, + "pageToken": { + "description": "Value of the nextPageToken from the previous result page.", + "location": "query", + "type": "string" + }, + "profileId": { + "description": "User profile ID associated with this request.", + "format": "int64", + "location": "path", + "required": true, + "type": "string" + }, + "searchString": { + "description": "Allows searching for objects by name or ID. Wildcards (*) are allowed. For example, \"account*2015\" will return objects with names like \"account June 2015\", \"account April 2015\", or simply \"account 2015\". Most of the searches also add wildcards implicitly at the start and the end of the search string. For example, a search string of \"account\" will match objects with name \"my account\", \"account 2015\", or simply \"account\".", + "location": "query", + "type": "string" + }, + "sortField": { + "default": "ID", + "description": "Field by which to sort the list.", + "enum": [ + "ID", + "NAME" + ], + "enumDescriptions": [ + "", + "" + ], + "location": "query", + "type": "string" + }, + "sortOrder": { + "default": "ASCENDING", + "description": "Order of sorted results.", + "enum": [ + "ASCENDING", + "DESCENDING" + ], + "enumDescriptions": [ + "", + "" + ], + "location": "query", + "type": "string" + } + }, + "path": "userprofiles/{profileId}/accounts", + "response": { + "$ref": "AccountsListResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/dfatrafficking" + ] + }, + "patch": { + "description": "Updates an existing account. This method supports patch semantics.", + "flatPath": "userprofiles/{profileId}/accounts", + "httpMethod": "PATCH", + "id": "dfareporting.accounts.patch", + "parameterOrder": [ + "profileId", + "id" + ], + "parameters": { + "id": { + "description": "Account ID.", + "format": "int64", + "location": "query", + "required": true, + "type": "string" + }, + "profileId": { + "description": "User profile ID associated with this request.", + "format": "int64", + "location": "path", + "required": true, + "type": "string" + } + }, + "path": "userprofiles/{profileId}/accounts", + "request": { + "$ref": "Account" + }, + "response": { + "$ref": "Account" + }, + "scopes": [ + "https://www.googleapis.com/auth/dfatrafficking" + ] + }, + "update": { + "description": "Updates an existing account.", + "flatPath": "userprofiles/{profileId}/accounts", + "httpMethod": "PUT", + "id": "dfareporting.accounts.update", + "parameterOrder": [ + "profileId" + ], + "parameters": { + "profileId": { + "description": "User profile ID associated with this request.", + "format": "int64", + "location": "path", + "required": true, + "type": "string" + } + }, + "path": "userprofiles/{profileId}/accounts", + "request": { + "$ref": "Account" + }, + "response": { + "$ref": "Account" + }, + "scopes": [ + "https://www.googleapis.com/auth/dfatrafficking" + ] + } + } + }, + "ads": { + "methods": { + "get": { + "description": "Gets one ad by ID.", + "flatPath": "userprofiles/{profileId}/ads/{id}", + "httpMethod": "GET", + "id": "dfareporting.ads.get", + "parameterOrder": [ + "profileId", + "id" + ], + "parameters": { + "id": { + "description": "Ad ID.", + "format": "int64", + "location": "path", + "required": true, + "type": "string" + }, + "profileId": { + "description": "User profile ID associated with this request.", + "format": "int64", + "location": "path", + "required": true, + "type": "string" + } + }, + "path": "userprofiles/{profileId}/ads/{id}", + "response": { + "$ref": "Ad" + }, + "scopes": [ + "https://www.googleapis.com/auth/dfatrafficking" + ] + }, + "insert": { + "description": "Inserts a new ad.", + "flatPath": "userprofiles/{profileId}/ads", + "httpMethod": "POST", + "id": "dfareporting.ads.insert", + "parameterOrder": [ + "profileId" + ], + "parameters": { + "profileId": { + "description": "User profile ID associated with this request.", + "format": "int64", + "location": "path", + "required": true, + "type": "string" + } + }, + "path": "userprofiles/{profileId}/ads", + "request": { + "$ref": "Ad" + }, + "response": { + "$ref": "Ad" + }, + "scopes": [ + "https://www.googleapis.com/auth/dfatrafficking" + ] + }, + "list": { + "description": "Retrieves a list of ads, possibly filtered. This method supports paging.", + "flatPath": "userprofiles/{profileId}/ads", + "httpMethod": "GET", + "id": "dfareporting.ads.list", + "parameterOrder": [ + "profileId" + ], + "parameters": { + "active": { + "description": "Select only active ads.", + "location": "query", + "type": "boolean" + }, + "advertiserId": { + "description": "Select only ads with this advertiser ID.", + "format": "int64", + "location": "query", + "type": "string" + }, + "archived": { + "description": "Select only archived ads.", + "location": "query", + "type": "boolean" + }, + "audienceSegmentIds": { + "description": "Select only ads with these audience segment IDs.", + "format": "int64", + "location": "query", + "repeated": true, + "type": "string" + }, + "campaignIds": { + "description": "Select only ads with these campaign IDs.", + "format": "int64", + "location": "query", + "repeated": true, + "type": "string" + }, + "compatibility": { + "description": "Select default ads with the specified compatibility. Applicable when type is AD_SERVING_DEFAULT_AD. DISPLAY and DISPLAY_INTERSTITIAL refer to rendering either on desktop or on mobile devices for regular or interstitial ads, respectively. APP and APP_INTERSTITIAL are for rendering in mobile apps. IN_STREAM_VIDEO refers to rendering an in-stream video ads developed with the VAST standard.", + "enum": [ + "DISPLAY", + "DISPLAY_INTERSTITIAL", + "APP", + "APP_INTERSTITIAL", + "IN_STREAM_VIDEO", + "IN_STREAM_AUDIO" + ], + "enumDescriptions": [ + "", + "", + "", + "", + "", + "" + ], + "location": "query", + "type": "string" + }, + "creativeIds": { + "description": "Select only ads with these creative IDs assigned.", + "format": "int64", + "location": "query", + "repeated": true, + "type": "string" + }, + "creativeOptimizationConfigurationIds": { + "description": "Select only ads with these creative optimization configuration IDs.", + "format": "int64", + "location": "query", + "repeated": true, + "type": "string" + }, + "dynamicClickTracker": { + "description": "Select only dynamic click trackers. Applicable when type is AD_SERVING_CLICK_TRACKER. If true, select dynamic click trackers. If false, select static click trackers. Leave unset to select both.", + "location": "query", + "type": "boolean" + }, + "ids": { + "description": "Select only ads with these IDs.", + "format": "int64", + "location": "query", + "repeated": true, + "type": "string" + }, + "landingPageIds": { + "description": "Select only ads with these landing page IDs.", + "format": "int64", + "location": "query", + "repeated": true, + "type": "string" + }, + "maxResults": { + "default": "1000", + "description": "Maximum number of results to return.", + "format": "int32", + "location": "query", + "maximum": "1000", + "minimum": "0", + "type": "integer" + }, + "overriddenEventTagId": { + "description": "Select only ads with this event tag override ID.", + "format": "int64", + "location": "query", + "type": "string" + }, + "pageToken": { + "description": "Value of the nextPageToken from the previous result page.", + "location": "query", + "type": "string" + }, + "placementIds": { + "description": "Select only ads with these placement IDs assigned.", + "format": "int64", + "location": "query", + "repeated": true, + "type": "string" + }, + "profileId": { + "description": "User profile ID associated with this request.", + "format": "int64", + "location": "path", + "required": true, + "type": "string" + }, + "remarketingListIds": { + "description": "Select only ads whose list targeting expression use these remarketing list IDs.", + "format": "int64", + "location": "query", + "repeated": true, + "type": "string" + }, + "searchString": { + "description": "Allows searching for objects by name or ID. Wildcards (*) are allowed. For example, \"ad*2015\" will return objects with names like \"ad June 2015\", \"ad April 2015\", or simply \"ad 2015\". Most of the searches also add wildcards implicitly at the start and the end of the search string. For example, a search string of \"ad\" will match objects with name \"my ad\", \"ad 2015\", or simply \"ad\".", + "location": "query", + "type": "string" + }, + "sizeIds": { + "description": "Select only ads with these size IDs.", + "format": "int64", + "location": "query", + "repeated": true, + "type": "string" + }, + "sortField": { + "default": "ID", + "description": "Field by which to sort the list.", + "enum": [ + "ID", + "NAME" + ], + "enumDescriptions": [ + "", + "" + ], + "location": "query", + "type": "string" + }, + "sortOrder": { + "default": "ASCENDING", + "description": "Order of sorted results.", + "enum": [ + "ASCENDING", + "DESCENDING" + ], + "enumDescriptions": [ + "", + "" + ], + "location": "query", + "type": "string" + }, + "sslCompliant": { + "description": "Select only ads that are SSL-compliant.", + "location": "query", + "type": "boolean" + }, + "sslRequired": { + "description": "Select only ads that require SSL.", + "location": "query", + "type": "boolean" + }, + "type": { + "description": "Select only ads with these types.", + "enum": [ + "AD_SERVING_STANDARD_AD", + "AD_SERVING_DEFAULT_AD", + "AD_SERVING_CLICK_TRACKER", + "AD_SERVING_TRACKING", + "AD_SERVING_BRAND_SAFE_AD" + ], + "enumDescriptions": [ + "", + "", + "", + "", + "" + ], + "location": "query", + "repeated": true, + "type": "string" + } + }, + "path": "userprofiles/{profileId}/ads", + "response": { + "$ref": "AdsListResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/dfatrafficking" + ] + }, + "patch": { + "description": "Updates an existing ad. This method supports patch semantics.", + "flatPath": "userprofiles/{profileId}/ads", + "httpMethod": "PATCH", + "id": "dfareporting.ads.patch", + "parameterOrder": [ + "profileId", + "id" + ], + "parameters": { + "id": { + "description": "Ad ID.", + "format": "int64", + "location": "query", + "required": true, + "type": "string" + }, + "profileId": { + "description": "User profile ID associated with this request.", + "format": "int64", + "location": "path", + "required": true, + "type": "string" + } + }, + "path": "userprofiles/{profileId}/ads", + "request": { + "$ref": "Ad" + }, + "response": { + "$ref": "Ad" + }, + "scopes": [ + "https://www.googleapis.com/auth/dfatrafficking" + ] + }, + "update": { + "description": "Updates an existing ad.", + "flatPath": "userprofiles/{profileId}/ads", + "httpMethod": "PUT", + "id": "dfareporting.ads.update", + "parameterOrder": [ + "profileId" + ], + "parameters": { + "profileId": { + "description": "User profile ID associated with this request.", + "format": "int64", + "location": "path", + "required": true, + "type": "string" + } + }, + "path": "userprofiles/{profileId}/ads", + "request": { + "$ref": "Ad" + }, + "response": { + "$ref": "Ad" + }, + "scopes": [ + "https://www.googleapis.com/auth/dfatrafficking" + ] + } + } + }, + "advertiserGroups": { + "methods": { + "delete": { + "description": "Deletes an existing advertiser group.", + "flatPath": "userprofiles/{profileId}/advertiserGroups/{id}", + "httpMethod": "DELETE", + "id": "dfareporting.advertiserGroups.delete", + "parameterOrder": [ + "profileId", + "id" + ], + "parameters": { + "id": { + "description": "Advertiser group ID.", + "format": "int64", + "location": "path", + "required": true, + "type": "string" + }, + "profileId": { + "description": "User profile ID associated with this request.", + "format": "int64", + "location": "path", + "required": true, + "type": "string" + } + }, + "path": "userprofiles/{profileId}/advertiserGroups/{id}", + "scopes": [ + "https://www.googleapis.com/auth/dfatrafficking" + ] + }, + "get": { + "description": "Gets one advertiser group by ID.", + "flatPath": "userprofiles/{profileId}/advertiserGroups/{id}", + "httpMethod": "GET", + "id": "dfareporting.advertiserGroups.get", + "parameterOrder": [ + "profileId", + "id" + ], + "parameters": { + "id": { + "description": "Advertiser group ID.", + "format": "int64", + "location": "path", + "required": true, + "type": "string" + }, + "profileId": { + "description": "User profile ID associated with this request.", + "format": "int64", + "location": "path", + "required": true, + "type": "string" + } + }, + "path": "userprofiles/{profileId}/advertiserGroups/{id}", + "response": { + "$ref": "AdvertiserGroup" + }, + "scopes": [ + "https://www.googleapis.com/auth/dfatrafficking" + ] + }, + "insert": { + "description": "Inserts a new advertiser group.", + "flatPath": "userprofiles/{profileId}/advertiserGroups", + "httpMethod": "POST", + "id": "dfareporting.advertiserGroups.insert", + "parameterOrder": [ + "profileId" + ], + "parameters": { + "profileId": { + "description": "User profile ID associated with this request.", + "format": "int64", + "location": "path", + "required": true, + "type": "string" + } + }, + "path": "userprofiles/{profileId}/advertiserGroups", + "request": { + "$ref": "AdvertiserGroup" + }, + "response": { + "$ref": "AdvertiserGroup" + }, + "scopes": [ + "https://www.googleapis.com/auth/dfatrafficking" + ] + }, + "list": { + "description": "Retrieves a list of advertiser groups, possibly filtered. This method supports paging.", + "flatPath": "userprofiles/{profileId}/advertiserGroups", + "httpMethod": "GET", + "id": "dfareporting.advertiserGroups.list", + "parameterOrder": [ + "profileId" + ], + "parameters": { + "ids": { + "description": "Select only advertiser groups with these IDs.", + "format": "int64", + "location": "query", + "repeated": true, + "type": "string" + }, + "maxResults": { + "default": "1000", + "description": "Maximum number of results to return.", + "format": "int32", + "location": "query", + "maximum": "1000", + "minimum": "0", + "type": "integer" + }, + "pageToken": { + "description": "Value of the nextPageToken from the previous result page.", + "location": "query", + "type": "string" + }, + "profileId": { + "description": "User profile ID associated with this request.", + "format": "int64", + "location": "path", + "required": true, + "type": "string" + }, + "searchString": { + "description": "Allows searching for objects by name or ID. Wildcards (*) are allowed. For example, \"advertiser*2015\" will return objects with names like \"advertiser group June 2015\", \"advertiser group April 2015\", or simply \"advertiser group 2015\". Most of the searches also add wildcards implicitly at the start and the end of the search string. For example, a search string of \"advertisergroup\" will match objects with name \"my advertisergroup\", \"advertisergroup 2015\", or simply \"advertisergroup\".", + "location": "query", + "type": "string" + }, + "sortField": { + "default": "ID", + "description": "Field by which to sort the list.", + "enum": [ + "ID", + "NAME" + ], + "enumDescriptions": [ + "", + "" + ], + "location": "query", + "type": "string" + }, + "sortOrder": { + "default": "ASCENDING", + "description": "Order of sorted results.", + "enum": [ + "ASCENDING", + "DESCENDING" + ], + "enumDescriptions": [ + "", + "" + ], + "location": "query", + "type": "string" + } + }, + "path": "userprofiles/{profileId}/advertiserGroups", + "response": { + "$ref": "AdvertiserGroupsListResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/dfatrafficking" + ] + }, + "patch": { + "description": "Updates an existing advertiser group. This method supports patch semantics.", + "flatPath": "userprofiles/{profileId}/advertiserGroups", + "httpMethod": "PATCH", + "id": "dfareporting.advertiserGroups.patch", + "parameterOrder": [ + "profileId", + "id" + ], + "parameters": { + "id": { + "description": "AdvertiserGroup ID.", + "format": "int64", + "location": "query", + "required": true, + "type": "string" + }, + "profileId": { + "description": "User profile ID associated with this request.", + "format": "int64", + "location": "path", + "required": true, + "type": "string" + } + }, + "path": "userprofiles/{profileId}/advertiserGroups", + "request": { + "$ref": "AdvertiserGroup" + }, + "response": { + "$ref": "AdvertiserGroup" + }, + "scopes": [ + "https://www.googleapis.com/auth/dfatrafficking" + ] + }, + "update": { + "description": "Updates an existing advertiser group.", + "flatPath": "userprofiles/{profileId}/advertiserGroups", + "httpMethod": "PUT", + "id": "dfareporting.advertiserGroups.update", + "parameterOrder": [ + "profileId" + ], + "parameters": { + "profileId": { + "description": "User profile ID associated with this request.", + "format": "int64", + "location": "path", + "required": true, + "type": "string" + } + }, + "path": "userprofiles/{profileId}/advertiserGroups", + "request": { + "$ref": "AdvertiserGroup" + }, + "response": { + "$ref": "AdvertiserGroup" + }, + "scopes": [ + "https://www.googleapis.com/auth/dfatrafficking" + ] + } + } + }, + "advertiserLandingPages": { + "methods": { + "get": { + "description": "Gets one landing page by ID.", + "flatPath": "userprofiles/{profileId}/advertiserLandingPages/{id}", + "httpMethod": "GET", + "id": "dfareporting.advertiserLandingPages.get", + "parameterOrder": [ + "profileId", + "id" + ], + "parameters": { + "id": { + "description": "Landing page ID.", + "format": "int64", + "location": "path", + "required": true, + "type": "string" + }, + "profileId": { + "description": "User profile ID associated with this request.", + "format": "int64", + "location": "path", + "required": true, + "type": "string" + } + }, + "path": "userprofiles/{profileId}/advertiserLandingPages/{id}", + "response": { + "$ref": "LandingPage" + }, + "scopes": [ + "https://www.googleapis.com/auth/dfatrafficking" + ] + }, + "insert": { + "description": "Inserts a new landing page.", + "flatPath": "userprofiles/{profileId}/advertiserLandingPages", + "httpMethod": "POST", + "id": "dfareporting.advertiserLandingPages.insert", + "parameterOrder": [ + "profileId" + ], + "parameters": { + "profileId": { + "description": "User profile ID associated with this request.", + "format": "int64", + "location": "path", + "required": true, + "type": "string" + } + }, + "path": "userprofiles/{profileId}/advertiserLandingPages", + "request": { + "$ref": "LandingPage" + }, + "response": { + "$ref": "LandingPage" + }, + "scopes": [ + "https://www.googleapis.com/auth/dfatrafficking" + ] + }, + "list": { + "description": "Retrieves a list of landing pages.", + "flatPath": "userprofiles/{profileId}/advertiserLandingPages", + "httpMethod": "GET", + "id": "dfareporting.advertiserLandingPages.list", + "parameterOrder": [ + "profileId" + ], + "parameters": { + "advertiserIds": { + "description": "Select only landing pages that belong to these advertisers.", + "format": "int64", + "location": "query", + "repeated": true, + "type": "string" + }, + "archived": { + "description": "Select only archived landing pages. Don't set this field to select both archived and non-archived landing pages.", + "location": "query", + "type": "boolean" + }, + "campaignIds": { + "description": "Select only landing pages that are associated with these campaigns.", + "format": "int64", + "location": "query", + "repeated": true, + "type": "string" + }, + "ids": { + "description": "Select only landing pages with these IDs.", + "format": "int64", + "location": "query", + "repeated": true, + "type": "string" + }, + "maxResults": { + "default": "1000", + "description": "Maximum number of results to return.", + "format": "int32", + "location": "query", + "maximum": "1000", + "minimum": "0", + "type": "integer" + }, + "pageToken": { + "description": "Value of the nextPageToken from the previous result page.", + "location": "query", + "type": "string" + }, + "profileId": { + "description": "User profile ID associated with this request.", + "format": "int64", + "location": "path", + "required": true, + "type": "string" + }, + "searchString": { + "description": "Allows searching for landing pages by name or ID. Wildcards (*) are allowed. For example, \"landingpage*2017\" will return landing pages with names like \"landingpage July 2017\", \"landingpage March 2017\", or simply \"landingpage 2017\". Most of the searches also add wildcards implicitly at the start and the end of the search string. For example, a search string of \"landingpage\" will match campaigns with name \"my landingpage\", \"landingpage 2015\", or simply \"landingpage\".", + "location": "query", + "type": "string" + }, + "sortField": { + "default": "ID", + "description": "Field by which to sort the list.", + "enum": [ + "ID", + "NAME" + ], + "enumDescriptions": [ + "", + "" + ], + "location": "query", + "type": "string" + }, + "sortOrder": { + "default": "ASCENDING", + "description": "Order of sorted results.", + "enum": [ + "ASCENDING", + "DESCENDING" + ], + "enumDescriptions": [ + "", + "" + ], + "location": "query", + "type": "string" + }, + "subaccountId": { + "description": "Select only landing pages that belong to this subaccount.", + "format": "int64", + "location": "query", + "type": "string" + } + }, + "path": "userprofiles/{profileId}/advertiserLandingPages", + "response": { + "$ref": "AdvertiserLandingPagesListResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/dfatrafficking" + ] + }, + "patch": { + "description": "Updates an existing advertiser landing page. This method supports patch semantics.", + "flatPath": "userprofiles/{profileId}/advertiserLandingPages", + "httpMethod": "PATCH", + "id": "dfareporting.advertiserLandingPages.patch", + "parameterOrder": [ + "profileId", + "id" + ], + "parameters": { + "id": { + "description": "LandingPage ID.", + "format": "int64", + "location": "query", + "required": true, + "type": "string" + }, + "profileId": { + "description": "User profile ID associated with this request.", + "format": "int64", + "location": "path", + "required": true, + "type": "string" + } + }, + "path": "userprofiles/{profileId}/advertiserLandingPages", + "request": { + "$ref": "LandingPage" + }, + "response": { + "$ref": "LandingPage" + }, + "scopes": [ + "https://www.googleapis.com/auth/dfatrafficking" + ] + }, + "update": { + "description": "Updates an existing landing page.", + "flatPath": "userprofiles/{profileId}/advertiserLandingPages", + "httpMethod": "PUT", + "id": "dfareporting.advertiserLandingPages.update", + "parameterOrder": [ + "profileId" + ], + "parameters": { + "profileId": { + "description": "User profile ID associated with this request.", + "format": "int64", + "location": "path", + "required": true, + "type": "string" + } + }, + "path": "userprofiles/{profileId}/advertiserLandingPages", + "request": { + "$ref": "LandingPage" + }, + "response": { + "$ref": "LandingPage" + }, + "scopes": [ + "https://www.googleapis.com/auth/dfatrafficking" + ] + } + } + }, + "advertisers": { + "methods": { + "get": { + "description": "Gets one advertiser by ID.", + "flatPath": "userprofiles/{profileId}/advertisers/{id}", + "httpMethod": "GET", + "id": "dfareporting.advertisers.get", + "parameterOrder": [ + "profileId", + "id" + ], + "parameters": { + "id": { + "description": "Advertiser ID.", + "format": "int64", + "location": "path", + "required": true, + "type": "string" + }, + "profileId": { + "description": "User profile ID associated with this request.", + "format": "int64", + "location": "path", + "required": true, + "type": "string" + } + }, + "path": "userprofiles/{profileId}/advertisers/{id}", + "response": { + "$ref": "Advertiser" + }, + "scopes": [ + "https://www.googleapis.com/auth/dfatrafficking" + ] + }, + "insert": { + "description": "Inserts a new advertiser.", + "flatPath": "userprofiles/{profileId}/advertisers", + "httpMethod": "POST", + "id": "dfareporting.advertisers.insert", + "parameterOrder": [ + "profileId" + ], + "parameters": { + "profileId": { + "description": "User profile ID associated with this request.", + "format": "int64", + "location": "path", + "required": true, + "type": "string" + } + }, + "path": "userprofiles/{profileId}/advertisers", + "request": { + "$ref": "Advertiser" + }, + "response": { + "$ref": "Advertiser" + }, + "scopes": [ + "https://www.googleapis.com/auth/dfatrafficking" + ] + }, + "list": { + "description": "Retrieves a list of advertisers, possibly filtered. This method supports paging.", + "flatPath": "userprofiles/{profileId}/advertisers", + "httpMethod": "GET", + "id": "dfareporting.advertisers.list", + "parameterOrder": [ + "profileId" + ], + "parameters": { + "advertiserGroupIds": { + "description": "Select only advertisers with these advertiser group IDs.", + "format": "int64", + "location": "query", + "repeated": true, + "type": "string" + }, + "floodlightConfigurationIds": { + "description": "Select only advertisers with these floodlight configuration IDs.", + "format": "int64", + "location": "query", + "repeated": true, + "type": "string" + }, + "ids": { + "description": "Select only advertisers with these IDs.", + "format": "int64", + "location": "query", + "repeated": true, + "type": "string" + }, + "includeAdvertisersWithoutGroupsOnly": { + "description": "Select only advertisers which do not belong to any advertiser group.", + "location": "query", + "type": "boolean" + }, + "maxResults": { + "default": "1000", + "description": "Maximum number of results to return.", + "format": "int32", + "location": "query", + "maximum": "1000", + "minimum": "0", + "type": "integer" + }, + "onlyParent": { + "description": "Select only advertisers which use another advertiser's floodlight configuration.", + "location": "query", + "type": "boolean" + }, + "pageToken": { + "description": "Value of the nextPageToken from the previous result page.", + "location": "query", + "type": "string" + }, + "profileId": { + "description": "User profile ID associated with this request.", + "format": "int64", + "location": "path", + "required": true, + "type": "string" + }, + "searchString": { + "description": "Allows searching for objects by name or ID. Wildcards (*) are allowed. For example, \"advertiser*2015\" will return objects with names like \"advertiser June 2015\", \"advertiser April 2015\", or simply \"advertiser 2015\". Most of the searches also add wildcards implicitly at the start and the end of the search string. For example, a search string of \"advertiser\" will match objects with name \"my advertiser\", \"advertiser 2015\", or simply \"advertiser\" .", + "location": "query", + "type": "string" + }, + "sortField": { + "default": "ID", + "description": "Field by which to sort the list.", + "enum": [ + "ID", + "NAME" + ], + "enumDescriptions": [ + "", + "" + ], + "location": "query", + "type": "string" + }, + "sortOrder": { + "default": "ASCENDING", + "description": "Order of sorted results.", + "enum": [ + "ASCENDING", + "DESCENDING" + ], + "enumDescriptions": [ + "", + "" + ], + "location": "query", + "type": "string" + }, + "status": { + "description": "Select only advertisers with the specified status.", + "enum": [ + "APPROVED", + "ON_HOLD" + ], + "enumDescriptions": [ + "", + "" + ], + "location": "query", + "type": "string" + }, + "subaccountId": { + "description": "Select only advertisers with these subaccount IDs.", + "format": "int64", + "location": "query", + "type": "string" + } + }, + "path": "userprofiles/{profileId}/advertisers", + "response": { + "$ref": "AdvertisersListResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/dfatrafficking" + ] + }, + "patch": { + "description": "Updates an existing advertiser. This method supports patch semantics.", + "flatPath": "userprofiles/{profileId}/advertisers", + "httpMethod": "PATCH", + "id": "dfareporting.advertisers.patch", + "parameterOrder": [ + "profileId", + "id" + ], + "parameters": { + "id": { + "description": "Advertiser ID.", + "format": "int64", + "location": "query", + "required": true, + "type": "string" + }, + "profileId": { + "description": "User profile ID associated with this request.", + "format": "int64", + "location": "path", + "required": true, + "type": "string" + } + }, + "path": "userprofiles/{profileId}/advertisers", + "request": { + "$ref": "Advertiser" + }, + "response": { + "$ref": "Advertiser" + }, + "scopes": [ + "https://www.googleapis.com/auth/dfatrafficking" + ] + }, + "update": { + "description": "Updates an existing advertiser.", + "flatPath": "userprofiles/{profileId}/advertisers", + "httpMethod": "PUT", + "id": "dfareporting.advertisers.update", + "parameterOrder": [ + "profileId" + ], + "parameters": { + "profileId": { + "description": "User profile ID associated with this request.", + "format": "int64", + "location": "path", + "required": true, + "type": "string" + } + }, + "path": "userprofiles/{profileId}/advertisers", + "request": { + "$ref": "Advertiser" + }, + "response": { + "$ref": "Advertiser" + }, + "scopes": [ + "https://www.googleapis.com/auth/dfatrafficking" + ] + } + } + }, + "browsers": { + "methods": { + "list": { + "description": "Retrieves a list of browsers.", + "flatPath": "userprofiles/{profileId}/browsers", + "httpMethod": "GET", + "id": "dfareporting.browsers.list", + "parameterOrder": [ + "profileId" + ], + "parameters": { + "profileId": { + "description": "User profile ID associated with this request.", + "format": "int64", + "location": "path", + "required": true, + "type": "string" + } + }, + "path": "userprofiles/{profileId}/browsers", + "response": { + "$ref": "BrowsersListResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/dfatrafficking" + ] + } + } + }, + "campaignCreativeAssociations": { + "methods": { + "insert": { + "description": "Associates a creative with the specified campaign. This method creates a default ad with dimensions matching the creative in the campaign if such a default ad does not exist already.", + "flatPath": "userprofiles/{profileId}/campaigns/{campaignId}/campaignCreativeAssociations", + "httpMethod": "POST", + "id": "dfareporting.campaignCreativeAssociations.insert", + "parameterOrder": [ + "profileId", + "campaignId" + ], + "parameters": { + "campaignId": { + "description": "Campaign ID in this association.", + "format": "int64", + "location": "path", + "required": true, + "type": "string" + }, + "profileId": { + "description": "User profile ID associated with this request.", + "format": "int64", + "location": "path", + "required": true, + "type": "string" + } + }, + "path": "userprofiles/{profileId}/campaigns/{campaignId}/campaignCreativeAssociations", + "request": { + "$ref": "CampaignCreativeAssociation" + }, + "response": { + "$ref": "CampaignCreativeAssociation" + }, + "scopes": [ + "https://www.googleapis.com/auth/dfatrafficking" + ] + }, + "list": { + "description": "Retrieves the list of creative IDs associated with the specified campaign. This method supports paging.", + "flatPath": "userprofiles/{profileId}/campaigns/{campaignId}/campaignCreativeAssociations", + "httpMethod": "GET", + "id": "dfareporting.campaignCreativeAssociations.list", + "parameterOrder": [ + "profileId", + "campaignId" + ], + "parameters": { + "campaignId": { + "description": "Campaign ID in this association.", + "format": "int64", + "location": "path", + "required": true, + "type": "string" + }, + "maxResults": { + "default": "1000", + "description": "Maximum number of results to return.", + "format": "int32", + "location": "query", + "maximum": "1000", + "minimum": "0", + "type": "integer" + }, + "pageToken": { + "description": "Value of the nextPageToken from the previous result page.", + "location": "query", + "type": "string" + }, + "profileId": { + "description": "User profile ID associated with this request.", + "format": "int64", + "location": "path", + "required": true, + "type": "string" + }, + "sortOrder": { + "default": "ASCENDING", + "description": "Order of sorted results.", + "enum": [ + "ASCENDING", + "DESCENDING" + ], + "enumDescriptions": [ + "", + "" + ], + "location": "query", + "type": "string" + } + }, + "path": "userprofiles/{profileId}/campaigns/{campaignId}/campaignCreativeAssociations", + "response": { + "$ref": "CampaignCreativeAssociationsListResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/dfatrafficking" + ] + } + } + }, + "campaigns": { + "methods": { + "get": { + "description": "Gets one campaign by ID.", + "flatPath": "userprofiles/{profileId}/campaigns/{id}", + "httpMethod": "GET", + "id": "dfareporting.campaigns.get", + "parameterOrder": [ + "profileId", + "id" + ], + "parameters": { + "id": { + "description": "Campaign ID.", + "format": "int64", + "location": "path", + "required": true, + "type": "string" + }, + "profileId": { + "description": "User profile ID associated with this request.", + "format": "int64", + "location": "path", + "required": true, + "type": "string" + } + }, + "path": "userprofiles/{profileId}/campaigns/{id}", + "response": { + "$ref": "Campaign" + }, + "scopes": [ + "https://www.googleapis.com/auth/dfatrafficking" + ] + }, + "insert": { + "description": "Inserts a new campaign.", + "flatPath": "userprofiles/{profileId}/campaigns", + "httpMethod": "POST", + "id": "dfareporting.campaigns.insert", + "parameterOrder": [ + "profileId" + ], + "parameters": { + "profileId": { + "description": "User profile ID associated with this request.", + "format": "int64", + "location": "path", + "required": true, + "type": "string" + } + }, + "path": "userprofiles/{profileId}/campaigns", + "request": { + "$ref": "Campaign" + }, + "response": { + "$ref": "Campaign" + }, + "scopes": [ + "https://www.googleapis.com/auth/dfatrafficking" + ] + }, + "list": { + "description": "Retrieves a list of campaigns, possibly filtered. This method supports paging.", + "flatPath": "userprofiles/{profileId}/campaigns", + "httpMethod": "GET", + "id": "dfareporting.campaigns.list", + "parameterOrder": [ + "profileId" + ], + "parameters": { + "advertiserGroupIds": { + "description": "Select only campaigns whose advertisers belong to these advertiser groups.", + "format": "int64", + "location": "query", + "repeated": true, + "type": "string" + }, + "advertiserIds": { + "description": "Select only campaigns that belong to these advertisers.", + "format": "int64", + "location": "query", + "repeated": true, + "type": "string" + }, + "archived": { + "description": "Select only archived campaigns. Don't set this field to select both archived and non-archived campaigns.", + "location": "query", + "type": "boolean" + }, + "atLeastOneOptimizationActivity": { + "description": "Select only campaigns that have at least one optimization activity.", + "location": "query", + "type": "boolean" + }, + "excludedIds": { + "description": "Exclude campaigns with these IDs.", + "format": "int64", + "location": "query", + "repeated": true, + "type": "string" + }, + "ids": { + "description": "Select only campaigns with these IDs.", + "format": "int64", + "location": "query", + "repeated": true, + "type": "string" + }, + "maxResults": { + "default": "1000", + "description": "Maximum number of results to return.", + "format": "int32", + "location": "query", + "maximum": "1000", + "minimum": "0", + "type": "integer" + }, + "overriddenEventTagId": { + "description": "Select only campaigns that have overridden this event tag ID.", + "format": "int64", + "location": "query", + "type": "string" + }, + "pageToken": { + "description": "Value of the nextPageToken from the previous result page.", + "location": "query", + "type": "string" + }, + "profileId": { + "description": "User profile ID associated with this request.", + "format": "int64", + "location": "path", + "required": true, + "type": "string" + }, + "searchString": { + "description": "Allows searching for campaigns by name or ID. Wildcards (*) are allowed. For example, \"campaign*2015\" will return campaigns with names like \"campaign June 2015\", \"campaign April 2015\", or simply \"campaign 2015\". Most of the searches also add wildcards implicitly at the start and the end of the search string. For example, a search string of \"campaign\" will match campaigns with name \"my campaign\", \"campaign 2015\", or simply \"campaign\".", + "location": "query", + "type": "string" + }, + "sortField": { + "default": "ID", + "description": "Field by which to sort the list.", + "enum": [ + "ID", + "NAME" + ], + "enumDescriptions": [ + "", + "" + ], + "location": "query", + "type": "string" + }, + "sortOrder": { + "default": "ASCENDING", + "description": "Order of sorted results.", + "enum": [ + "ASCENDING", + "DESCENDING" + ], + "enumDescriptions": [ + "", + "" + ], + "location": "query", + "type": "string" + }, + "subaccountId": { + "description": "Select only campaigns that belong to this subaccount.", + "format": "int64", + "location": "query", + "type": "string" + } + }, + "path": "userprofiles/{profileId}/campaigns", + "response": { + "$ref": "CampaignsListResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/dfatrafficking" + ] + }, + "patch": { + "description": "Updates an existing campaign. This method supports patch semantics.", + "flatPath": "userprofiles/{profileId}/campaigns", + "httpMethod": "PATCH", + "id": "dfareporting.campaigns.patch", + "parameterOrder": [ + "profileId", + "id" + ], + "parameters": { + "id": { + "description": "Campaign ID.", + "format": "int64", + "location": "query", + "required": true, + "type": "string" + }, + "profileId": { + "description": "User profile ID associated with this request.", + "format": "int64", + "location": "path", + "required": true, + "type": "string" + } + }, + "path": "userprofiles/{profileId}/campaigns", + "request": { + "$ref": "Campaign" + }, + "response": { + "$ref": "Campaign" + }, + "scopes": [ + "https://www.googleapis.com/auth/dfatrafficking" + ] + }, + "update": { + "description": "Updates an existing campaign.", + "flatPath": "userprofiles/{profileId}/campaigns", + "httpMethod": "PUT", + "id": "dfareporting.campaigns.update", + "parameterOrder": [ + "profileId" + ], + "parameters": { + "profileId": { + "description": "User profile ID associated with this request.", + "format": "int64", + "location": "path", + "required": true, + "type": "string" + } + }, + "path": "userprofiles/{profileId}/campaigns", + "request": { + "$ref": "Campaign" + }, + "response": { + "$ref": "Campaign" + }, + "scopes": [ + "https://www.googleapis.com/auth/dfatrafficking" + ] + } + } + }, + "changeLogs": { + "methods": { + "get": { + "description": "Gets one change log by ID.", + "flatPath": "userprofiles/{profileId}/changeLogs/{id}", + "httpMethod": "GET", + "id": "dfareporting.changeLogs.get", + "parameterOrder": [ + "profileId", + "id" + ], + "parameters": { + "id": { + "description": "Change log ID.", + "format": "int64", + "location": "path", + "required": true, + "type": "string" + }, + "profileId": { + "description": "User profile ID associated with this request.", + "format": "int64", + "location": "path", + "required": true, + "type": "string" + } + }, + "path": "userprofiles/{profileId}/changeLogs/{id}", + "response": { + "$ref": "ChangeLog" + }, + "scopes": [ + "https://www.googleapis.com/auth/dfatrafficking" + ] + }, + "list": { + "description": "Retrieves a list of change logs. This method supports paging.", + "flatPath": "userprofiles/{profileId}/changeLogs", + "httpMethod": "GET", + "id": "dfareporting.changeLogs.list", + "parameterOrder": [ + "profileId" + ], + "parameters": { + "action": { + "description": "Select only change logs with the specified action.", + "enum": [ + "ACTION_CREATE", + "ACTION_UPDATE", + "ACTION_DELETE", + "ACTION_ENABLE", + "ACTION_DISABLE", + "ACTION_ADD", + "ACTION_REMOVE", + "ACTION_MARK_AS_DEFAULT", + "ACTION_ASSOCIATE", + "ACTION_ASSIGN", + "ACTION_UNASSIGN", + "ACTION_SEND", + "ACTION_LINK", + "ACTION_UNLINK", + "ACTION_PUSH", + "ACTION_EMAIL_TAGS", + "ACTION_SHARE" + ], + "enumDescriptions": [ + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "location": "query", + "type": "string" + }, + "ids": { + "description": "Select only change logs with these IDs.", + "format": "int64", + "location": "query", + "repeated": true, + "type": "string" + }, + "maxChangeTime": { + "description": "Select only change logs whose change time is before the specified maxChangeTime.The time should be formatted as an RFC3339 date/time string. For example, for 10:54 PM on July 18th, 2015, in the America/New York time zone, the format is \"2015-07-18T22:54:00-04:00\". In other words, the year, month, day, the letter T, the hour (24-hour clock system), minute, second, and then the time zone offset.", + "location": "query", + "type": "string" + }, + "maxResults": { + "default": "1000", + "description": "Maximum number of results to return.", + "format": "int32", + "location": "query", + "maximum": "1000", + "minimum": "0", + "type": "integer" + }, + "minChangeTime": { + "description": "Select only change logs whose change time is after the specified minChangeTime.The time should be formatted as an RFC3339 date/time string. For example, for 10:54 PM on July 18th, 2015, in the America/New York time zone, the format is \"2015-07-18T22:54:00-04:00\". In other words, the year, month, day, the letter T, the hour (24-hour clock system), minute, second, and then the time zone offset.", + "location": "query", + "type": "string" + }, + "objectIds": { + "description": "Select only change logs with these object IDs.", + "format": "int64", + "location": "query", + "repeated": true, + "type": "string" + }, + "objectType": { + "description": "Select only change logs with the specified object type.", + "enum": [ + "OBJECT_ADVERTISER", + "OBJECT_FLOODLIGHT_CONFIGURATION", + "OBJECT_AD", + "OBJECT_FLOODLIGHT_ACTVITY", + "OBJECT_CAMPAIGN", + "OBJECT_FLOODLIGHT_ACTIVITY_GROUP", + "OBJECT_CREATIVE", + "OBJECT_PLACEMENT", + "OBJECT_DFA_SITE", + "OBJECT_USER_ROLE", + "OBJECT_USER_PROFILE", + "OBJECT_ADVERTISER_GROUP", + "OBJECT_ACCOUNT", + "OBJECT_SUBACCOUNT", + "OBJECT_RICHMEDIA_CREATIVE", + "OBJECT_INSTREAM_CREATIVE", + "OBJECT_MEDIA_ORDER", + "OBJECT_CONTENT_CATEGORY", + "OBJECT_PLACEMENT_STRATEGY", + "OBJECT_SD_SITE", + "OBJECT_SIZE", + "OBJECT_CREATIVE_GROUP", + "OBJECT_CREATIVE_ASSET", + "OBJECT_USER_PROFILE_FILTER", + "OBJECT_LANDING_PAGE", + "OBJECT_CREATIVE_FIELD", + "OBJECT_REMARKETING_LIST", + "OBJECT_PROVIDED_LIST_CLIENT", + "OBJECT_EVENT_TAG", + "OBJECT_CREATIVE_BUNDLE", + "OBJECT_BILLING_ACCOUNT_GROUP", + "OBJECT_BILLING_FEATURE", + "OBJECT_RATE_CARD", + "OBJECT_ACCOUNT_BILLING_FEATURE", + "OBJECT_BILLING_MINIMUM_FEE", + "OBJECT_BILLING_PROFILE", + "OBJECT_PLAYSTORE_LINK", + "OBJECT_TARGETING_TEMPLATE", + "OBJECT_SEARCH_LIFT_STUDY", + "OBJECT_FLOODLIGHT_DV360_LINK" + ], + "enumDescriptions": [ + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "location": "query", + "type": "string" + }, + "pageToken": { + "description": "Value of the nextPageToken from the previous result page.", + "location": "query", + "type": "string" + }, + "profileId": { + "description": "User profile ID associated with this request.", + "format": "int64", + "location": "path", + "required": true, + "type": "string" + }, + "searchString": { + "description": "Select only change logs whose object ID, user name, old or new values match the search string.", + "location": "query", + "type": "string" + }, + "userProfileIds": { + "description": "Select only change logs with these user profile IDs.", + "format": "int64", + "location": "query", + "repeated": true, + "type": "string" + } + }, + "path": "userprofiles/{profileId}/changeLogs", + "response": { + "$ref": "ChangeLogsListResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/dfatrafficking" + ] + } + } + }, + "cities": { + "methods": { + "list": { + "description": "Retrieves a list of cities, possibly filtered.", + "flatPath": "userprofiles/{profileId}/cities", + "httpMethod": "GET", + "id": "dfareporting.cities.list", + "parameterOrder": [ + "profileId" + ], + "parameters": { + "countryDartIds": { + "description": "Select only cities from these countries.", + "format": "int64", + "location": "query", + "repeated": true, + "type": "string" + }, + "dartIds": { + "description": "Select only cities with these DART IDs.", + "format": "int64", + "location": "query", + "repeated": true, + "type": "string" + }, + "namePrefix": { + "description": "Select only cities with names starting with this prefix.", + "location": "query", + "type": "string" + }, + "profileId": { + "description": "User profile ID associated with this request.", + "format": "int64", + "location": "path", + "required": true, + "type": "string" + }, + "regionDartIds": { + "description": "Select only cities from these regions.", + "format": "int64", + "location": "query", + "repeated": true, + "type": "string" + } + }, + "path": "userprofiles/{profileId}/cities", + "response": { + "$ref": "CitiesListResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/dfatrafficking" + ] + } + } + }, + "connectionTypes": { + "methods": { + "get": { + "description": "Gets one connection type by ID.", + "flatPath": "userprofiles/{profileId}/connectionTypes/{id}", + "httpMethod": "GET", + "id": "dfareporting.connectionTypes.get", + "parameterOrder": [ + "profileId", + "id" + ], + "parameters": { + "id": { + "description": "Connection type ID.", + "format": "int64", + "location": "path", + "required": true, + "type": "string" + }, + "profileId": { + "description": "User profile ID associated with this request.", + "format": "int64", + "location": "path", + "required": true, + "type": "string" + } + }, + "path": "userprofiles/{profileId}/connectionTypes/{id}", + "response": { + "$ref": "ConnectionType" + }, + "scopes": [ + "https://www.googleapis.com/auth/dfatrafficking" + ] + }, + "list": { + "description": "Retrieves a list of connection types.", + "flatPath": "userprofiles/{profileId}/connectionTypes", + "httpMethod": "GET", + "id": "dfareporting.connectionTypes.list", + "parameterOrder": [ + "profileId" + ], + "parameters": { + "profileId": { + "description": "User profile ID associated with this request.", + "format": "int64", + "location": "path", + "required": true, + "type": "string" + } + }, + "path": "userprofiles/{profileId}/connectionTypes", + "response": { + "$ref": "ConnectionTypesListResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/dfatrafficking" + ] + } + } + }, + "contentCategories": { + "methods": { + "delete": { + "description": "Deletes an existing content category.", + "flatPath": "userprofiles/{profileId}/contentCategories/{id}", + "httpMethod": "DELETE", + "id": "dfareporting.contentCategories.delete", + "parameterOrder": [ + "profileId", + "id" + ], + "parameters": { + "id": { + "description": "Content category ID.", + "format": "int64", + "location": "path", + "required": true, + "type": "string" + }, + "profileId": { + "description": "User profile ID associated with this request.", + "format": "int64", + "location": "path", + "required": true, + "type": "string" + } + }, + "path": "userprofiles/{profileId}/contentCategories/{id}", + "scopes": [ + "https://www.googleapis.com/auth/dfatrafficking" + ] + }, + "get": { + "description": "Gets one content category by ID.", + "flatPath": "userprofiles/{profileId}/contentCategories/{id}", + "httpMethod": "GET", + "id": "dfareporting.contentCategories.get", + "parameterOrder": [ + "profileId", + "id" + ], + "parameters": { + "id": { + "description": "Content category ID.", + "format": "int64", + "location": "path", + "required": true, + "type": "string" + }, + "profileId": { + "description": "User profile ID associated with this request.", + "format": "int64", + "location": "path", + "required": true, + "type": "string" + } + }, + "path": "userprofiles/{profileId}/contentCategories/{id}", + "response": { + "$ref": "ContentCategory" + }, + "scopes": [ + "https://www.googleapis.com/auth/dfatrafficking" + ] + }, + "insert": { + "description": "Inserts a new content category.", + "flatPath": "userprofiles/{profileId}/contentCategories", + "httpMethod": "POST", + "id": "dfareporting.contentCategories.insert", + "parameterOrder": [ + "profileId" + ], + "parameters": { + "profileId": { + "description": "User profile ID associated with this request.", + "format": "int64", + "location": "path", + "required": true, + "type": "string" + } + }, + "path": "userprofiles/{profileId}/contentCategories", + "request": { + "$ref": "ContentCategory" + }, + "response": { + "$ref": "ContentCategory" + }, + "scopes": [ + "https://www.googleapis.com/auth/dfatrafficking" + ] + }, + "list": { + "description": "Retrieves a list of content categories, possibly filtered. This method supports paging.", + "flatPath": "userprofiles/{profileId}/contentCategories", + "httpMethod": "GET", + "id": "dfareporting.contentCategories.list", + "parameterOrder": [ + "profileId" + ], + "parameters": { + "ids": { + "description": "Select only content categories with these IDs.", + "format": "int64", + "location": "query", + "repeated": true, + "type": "string" + }, + "maxResults": { + "default": "1000", + "description": "Maximum number of results to return.", + "format": "int32", + "location": "query", + "maximum": "1000", + "minimum": "0", + "type": "integer" + }, + "pageToken": { + "description": "Value of the nextPageToken from the previous result page.", + "location": "query", + "type": "string" + }, + "profileId": { + "description": "User profile ID associated with this request.", + "format": "int64", + "location": "path", + "required": true, + "type": "string" + }, + "searchString": { + "description": "Allows searching for objects by name or ID. Wildcards (*) are allowed. For example, \"contentcategory*2015\" will return objects with names like \"contentcategory June 2015\", \"contentcategory April 2015\", or simply \"contentcategory 2015\". Most of the searches also add wildcards implicitly at the start and the end of the search string. For example, a search string of \"contentcategory\" will match objects with name \"my contentcategory\", \"contentcategory 2015\", or simply \"contentcategory\".", + "location": "query", + "type": "string" + }, + "sortField": { + "default": "ID", + "description": "Field by which to sort the list.", + "enum": [ + "ID", + "NAME" + ], + "enumDescriptions": [ + "", + "" + ], + "location": "query", + "type": "string" + }, + "sortOrder": { + "default": "ASCENDING", + "description": "Order of sorted results.", + "enum": [ + "ASCENDING", + "DESCENDING" + ], + "enumDescriptions": [ + "", + "" + ], + "location": "query", + "type": "string" + } + }, + "path": "userprofiles/{profileId}/contentCategories", + "response": { + "$ref": "ContentCategoriesListResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/dfatrafficking" + ] + }, + "patch": { + "description": "Updates an existing content category. This method supports patch semantics.", + "flatPath": "userprofiles/{profileId}/contentCategories", + "httpMethod": "PATCH", + "id": "dfareporting.contentCategories.patch", + "parameterOrder": [ + "profileId", + "id" + ], + "parameters": { + "id": { + "description": "ContentCategory ID.", + "format": "int64", + "location": "query", + "required": true, + "type": "string" + }, + "profileId": { + "description": "User profile ID associated with this request.", + "format": "int64", + "location": "path", + "required": true, + "type": "string" + } + }, + "path": "userprofiles/{profileId}/contentCategories", + "request": { + "$ref": "ContentCategory" + }, + "response": { + "$ref": "ContentCategory" + }, + "scopes": [ + "https://www.googleapis.com/auth/dfatrafficking" + ] + }, + "update": { + "description": "Updates an existing content category.", + "flatPath": "userprofiles/{profileId}/contentCategories", + "httpMethod": "PUT", + "id": "dfareporting.contentCategories.update", + "parameterOrder": [ + "profileId" + ], + "parameters": { + "profileId": { + "description": "User profile ID associated with this request.", + "format": "int64", + "location": "path", + "required": true, + "type": "string" + } + }, + "path": "userprofiles/{profileId}/contentCategories", + "request": { + "$ref": "ContentCategory" + }, + "response": { + "$ref": "ContentCategory" + }, + "scopes": [ + "https://www.googleapis.com/auth/dfatrafficking" + ] + } + } + }, + "conversions": { + "methods": { + "batchinsert": { + "description": "Inserts conversions.", + "flatPath": "userprofiles/{profileId}/conversions/batchinsert", + "httpMethod": "POST", + "id": "dfareporting.conversions.batchinsert", + "parameterOrder": [ + "profileId" + ], + "parameters": { + "profileId": { + "description": "User profile ID associated with this request.", + "format": "int64", + "location": "path", + "required": true, + "type": "string" + } + }, + "path": "userprofiles/{profileId}/conversions/batchinsert", + "request": { + "$ref": "ConversionsBatchInsertRequest" + }, + "response": { + "$ref": "ConversionsBatchInsertResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/ddmconversions" + ] + }, + "batchupdate": { + "description": "Updates existing conversions.", + "flatPath": "userprofiles/{profileId}/conversions/batchupdate", + "httpMethod": "POST", + "id": "dfareporting.conversions.batchupdate", + "parameterOrder": [ + "profileId" + ], + "parameters": { + "profileId": { + "description": "User profile ID associated with this request.", + "format": "int64", + "location": "path", + "required": true, + "type": "string" + } + }, + "path": "userprofiles/{profileId}/conversions/batchupdate", + "request": { + "$ref": "ConversionsBatchUpdateRequest" + }, + "response": { + "$ref": "ConversionsBatchUpdateResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/ddmconversions" + ] + } + } + }, + "countries": { + "methods": { + "get": { + "description": "Gets one country by ID.", + "flatPath": "userprofiles/{profileId}/countries/{dartId}", + "httpMethod": "GET", + "id": "dfareporting.countries.get", + "parameterOrder": [ + "profileId", + "dartId" + ], + "parameters": { + "dartId": { + "description": "Country DART ID.", + "format": "int64", + "location": "path", + "required": true, + "type": "string" + }, + "profileId": { + "description": "User profile ID associated with this request.", + "format": "int64", + "location": "path", + "required": true, + "type": "string" + } + }, + "path": "userprofiles/{profileId}/countries/{dartId}", + "response": { + "$ref": "Country" + }, + "scopes": [ + "https://www.googleapis.com/auth/dfatrafficking" + ] + }, + "list": { + "description": "Retrieves a list of countries.", + "flatPath": "userprofiles/{profileId}/countries", + "httpMethod": "GET", + "id": "dfareporting.countries.list", + "parameterOrder": [ + "profileId" + ], + "parameters": { + "profileId": { + "description": "User profile ID associated with this request.", + "format": "int64", + "location": "path", + "required": true, + "type": "string" + } + }, + "path": "userprofiles/{profileId}/countries", + "response": { + "$ref": "CountriesListResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/dfatrafficking" + ] + } + } + }, + "creativeAssets": { + "methods": { + "insert": { + "description": "Inserts a new creative asset.", + "flatPath": "userprofiles/{profileId}/creativeAssets/{advertiserId}/creativeAssets", + "httpMethod": "POST", + "id": "dfareporting.creativeAssets.insert", + "mediaUpload": { + "accept": [ + "*/*" + ], + "maxSize": "1073741824", + "protocols": { + "simple": { + "multipart": true, + "path": "/upload/dfareporting/v3.4/userprofiles/{profileId}/creativeAssets/{advertiserId}/creativeAssets" + } + } + }, + "parameterOrder": [ + "profileId", + "advertiserId" + ], + "parameters": { + "advertiserId": { + "description": "Advertiser ID of this creative. This is a required field.", + "format": "int64", + "location": "path", + "required": true, + "type": "string" + }, + "profileId": { + "description": "User profile ID associated with this request.", + "format": "int64", + "location": "path", + "required": true, + "type": "string" + } + }, + "path": "userprofiles/{profileId}/creativeAssets/{advertiserId}/creativeAssets", + "request": { + "$ref": "CreativeAssetMetadata" + }, + "response": { + "$ref": "CreativeAssetMetadata" + }, + "scopes": [ + "https://www.googleapis.com/auth/dfatrafficking" + ], + "supportsMediaUpload": true + } + } + }, + "creativeFieldValues": { + "methods": { + "delete": { + "description": "Deletes an existing creative field value.", + "flatPath": "userprofiles/{profileId}/creativeFields/{creativeFieldId}/creativeFieldValues/{id}", + "httpMethod": "DELETE", + "id": "dfareporting.creativeFieldValues.delete", + "parameterOrder": [ + "profileId", + "creativeFieldId", + "id" + ], + "parameters": { + "creativeFieldId": { + "description": "Creative field ID for this creative field value.", + "format": "int64", + "location": "path", + "required": true, + "type": "string" + }, + "id": { + "description": "Creative Field Value ID", + "format": "int64", + "location": "path", + "required": true, + "type": "string" + }, + "profileId": { + "description": "User profile ID associated with this request.", + "format": "int64", + "location": "path", + "required": true, + "type": "string" + } + }, + "path": "userprofiles/{profileId}/creativeFields/{creativeFieldId}/creativeFieldValues/{id}", + "scopes": [ + "https://www.googleapis.com/auth/dfatrafficking" + ] + }, + "get": { + "description": "Gets one creative field value by ID.", + "flatPath": "userprofiles/{profileId}/creativeFields/{creativeFieldId}/creativeFieldValues/{id}", + "httpMethod": "GET", + "id": "dfareporting.creativeFieldValues.get", + "parameterOrder": [ + "profileId", + "creativeFieldId", + "id" + ], + "parameters": { + "creativeFieldId": { + "description": "Creative field ID for this creative field value.", + "format": "int64", + "location": "path", + "required": true, + "type": "string" + }, + "id": { + "description": "Creative Field Value ID", + "format": "int64", + "location": "path", + "required": true, + "type": "string" + }, + "profileId": { + "description": "User profile ID associated with this request.", + "format": "int64", + "location": "path", + "required": true, + "type": "string" + } + }, + "path": "userprofiles/{profileId}/creativeFields/{creativeFieldId}/creativeFieldValues/{id}", + "response": { + "$ref": "CreativeFieldValue" + }, + "scopes": [ + "https://www.googleapis.com/auth/dfatrafficking" + ] + }, + "insert": { + "description": "Inserts a new creative field value.", + "flatPath": "userprofiles/{profileId}/creativeFields/{creativeFieldId}/creativeFieldValues", + "httpMethod": "POST", + "id": "dfareporting.creativeFieldValues.insert", + "parameterOrder": [ + "profileId", + "creativeFieldId" + ], + "parameters": { + "creativeFieldId": { + "description": "Creative field ID for this creative field value.", + "format": "int64", + "location": "path", + "required": true, + "type": "string" + }, + "profileId": { + "description": "User profile ID associated with this request.", + "format": "int64", + "location": "path", + "required": true, + "type": "string" + } + }, + "path": "userprofiles/{profileId}/creativeFields/{creativeFieldId}/creativeFieldValues", + "request": { + "$ref": "CreativeFieldValue" + }, + "response": { + "$ref": "CreativeFieldValue" + }, + "scopes": [ + "https://www.googleapis.com/auth/dfatrafficking" + ] + }, + "list": { + "description": "Retrieves a list of creative field values, possibly filtered. This method supports paging.", + "flatPath": "userprofiles/{profileId}/creativeFields/{creativeFieldId}/creativeFieldValues", + "httpMethod": "GET", + "id": "dfareporting.creativeFieldValues.list", + "parameterOrder": [ + "profileId", + "creativeFieldId" + ], + "parameters": { + "creativeFieldId": { + "description": "Creative field ID for this creative field value.", + "format": "int64", + "location": "path", + "required": true, + "type": "string" + }, + "ids": { + "description": "Select only creative field values with these IDs.", + "format": "int64", + "location": "query", + "repeated": true, + "type": "string" + }, + "maxResults": { + "default": "1000", + "description": "Maximum number of results to return.", + "format": "int32", + "location": "query", + "maximum": "1000", + "minimum": "0", + "type": "integer" + }, + "pageToken": { + "description": "Value of the nextPageToken from the previous result page.", + "location": "query", + "type": "string" + }, + "profileId": { + "description": "User profile ID associated with this request.", + "format": "int64", + "location": "path", + "required": true, + "type": "string" + }, + "searchString": { + "description": "Allows searching for creative field values by their values. Wildcards (e.g. *) are not allowed.", + "location": "query", + "type": "string" + }, + "sortField": { + "default": "ID", + "description": "Field by which to sort the list.", + "enum": [ + "ID", + "VALUE" + ], + "enumDescriptions": [ + "", + "" + ], + "location": "query", + "type": "string" + }, + "sortOrder": { + "default": "ASCENDING", + "description": "Order of sorted results.", + "enum": [ + "ASCENDING", + "DESCENDING" + ], + "enumDescriptions": [ + "", + "" + ], + "location": "query", + "type": "string" + } + }, + "path": "userprofiles/{profileId}/creativeFields/{creativeFieldId}/creativeFieldValues", + "response": { + "$ref": "CreativeFieldValuesListResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/dfatrafficking" + ] + }, + "patch": { + "description": "Updates an existing creative field value. This method supports patch semantics.", + "flatPath": "userprofiles/{profileId}/creativeFields/{creativeFieldId}/creativeFieldValues", + "httpMethod": "PATCH", + "id": "dfareporting.creativeFieldValues.patch", + "parameterOrder": [ + "profileId", + "creativeFieldId", + "id" + ], + "parameters": { + "creativeFieldId": { + "description": "CreativeField ID.", + "format": "int64", + "location": "path", + "required": true, + "type": "string" + }, + "id": { + "description": "CreativeFieldValue ID.", + "format": "int64", + "location": "query", + "required": true, + "type": "string" + }, + "profileId": { + "description": "User profile ID associated with this request.", + "format": "int64", + "location": "path", + "required": true, + "type": "string" + } + }, + "path": "userprofiles/{profileId}/creativeFields/{creativeFieldId}/creativeFieldValues", + "request": { + "$ref": "CreativeFieldValue" + }, + "response": { + "$ref": "CreativeFieldValue" + }, + "scopes": [ + "https://www.googleapis.com/auth/dfatrafficking" + ] + }, + "update": { + "description": "Updates an existing creative field value.", + "flatPath": "userprofiles/{profileId}/creativeFields/{creativeFieldId}/creativeFieldValues", + "httpMethod": "PUT", + "id": "dfareporting.creativeFieldValues.update", + "parameterOrder": [ + "profileId", + "creativeFieldId" + ], + "parameters": { + "creativeFieldId": { + "description": "Creative field ID for this creative field value.", + "format": "int64", + "location": "path", + "required": true, + "type": "string" + }, + "profileId": { + "description": "User profile ID associated with this request.", + "format": "int64", + "location": "path", + "required": true, + "type": "string" + } + }, + "path": "userprofiles/{profileId}/creativeFields/{creativeFieldId}/creativeFieldValues", + "request": { + "$ref": "CreativeFieldValue" + }, + "response": { + "$ref": "CreativeFieldValue" + }, + "scopes": [ + "https://www.googleapis.com/auth/dfatrafficking" + ] + } + } + }, + "creativeFields": { + "methods": { + "delete": { + "description": "Deletes an existing creative field.", + "flatPath": "userprofiles/{profileId}/creativeFields/{id}", + "httpMethod": "DELETE", + "id": "dfareporting.creativeFields.delete", + "parameterOrder": [ + "profileId", + "id" + ], + "parameters": { + "id": { + "description": "Creative Field ID", + "format": "int64", + "location": "path", + "required": true, + "type": "string" + }, + "profileId": { + "description": "User profile ID associated with this request.", + "format": "int64", + "location": "path", + "required": true, + "type": "string" + } + }, + "path": "userprofiles/{profileId}/creativeFields/{id}", + "scopes": [ + "https://www.googleapis.com/auth/dfatrafficking" + ] + }, + "get": { + "description": "Gets one creative field by ID.", + "flatPath": "userprofiles/{profileId}/creativeFields/{id}", + "httpMethod": "GET", + "id": "dfareporting.creativeFields.get", + "parameterOrder": [ + "profileId", + "id" + ], + "parameters": { + "id": { + "description": "Creative Field ID", + "format": "int64", + "location": "path", + "required": true, + "type": "string" + }, + "profileId": { + "description": "User profile ID associated with this request.", + "format": "int64", + "location": "path", + "required": true, + "type": "string" + } + }, + "path": "userprofiles/{profileId}/creativeFields/{id}", + "response": { + "$ref": "CreativeField" + }, + "scopes": [ + "https://www.googleapis.com/auth/dfatrafficking" + ] + }, + "insert": { + "description": "Inserts a new creative field.", + "flatPath": "userprofiles/{profileId}/creativeFields", + "httpMethod": "POST", + "id": "dfareporting.creativeFields.insert", + "parameterOrder": [ + "profileId" + ], + "parameters": { + "profileId": { + "description": "User profile ID associated with this request.", + "format": "int64", + "location": "path", + "required": true, + "type": "string" + } + }, + "path": "userprofiles/{profileId}/creativeFields", + "request": { + "$ref": "CreativeField" + }, + "response": { + "$ref": "CreativeField" + }, + "scopes": [ + "https://www.googleapis.com/auth/dfatrafficking" + ] + }, + "list": { + "description": "Retrieves a list of creative fields, possibly filtered. This method supports paging.", + "flatPath": "userprofiles/{profileId}/creativeFields", + "httpMethod": "GET", + "id": "dfareporting.creativeFields.list", + "parameterOrder": [ + "profileId" + ], + "parameters": { + "advertiserIds": { + "description": "Select only creative fields that belong to these advertisers.", + "format": "int64", + "location": "query", + "repeated": true, + "type": "string" + }, + "ids": { + "description": "Select only creative fields with these IDs.", + "format": "int64", + "location": "query", + "repeated": true, + "type": "string" + }, + "maxResults": { + "default": "1000", + "description": "Maximum number of results to return.", + "format": "int32", + "location": "query", + "maximum": "1000", + "minimum": "0", + "type": "integer" + }, + "pageToken": { + "description": "Value of the nextPageToken from the previous result page.", + "location": "query", + "type": "string" + }, + "profileId": { + "description": "User profile ID associated with this request.", + "format": "int64", + "location": "path", + "required": true, + "type": "string" + }, + "searchString": { + "description": "Allows searching for creative fields by name or ID. Wildcards (*) are allowed. For example, \"creativefield*2015\" will return creative fields with names like \"creativefield June 2015\", \"creativefield April 2015\", or simply \"creativefield 2015\". Most of the searches also add wild-cards implicitly at the start and the end of the search string. For example, a search string of \"creativefield\" will match creative fields with the name \"my creativefield\", \"creativefield 2015\", or simply \"creativefield\".", + "location": "query", + "type": "string" + }, + "sortField": { + "default": "ID", + "description": "Field by which to sort the list.", + "enum": [ + "ID", + "NAME" + ], + "enumDescriptions": [ + "", + "" + ], + "location": "query", + "type": "string" + }, + "sortOrder": { + "default": "ASCENDING", + "description": "Order of sorted results.", + "enum": [ + "ASCENDING", + "DESCENDING" + ], + "enumDescriptions": [ + "", + "" + ], + "location": "query", + "type": "string" + } + }, + "path": "userprofiles/{profileId}/creativeFields", + "response": { + "$ref": "CreativeFieldsListResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/dfatrafficking" + ] + }, + "patch": { + "description": "Updates an existing creative field. This method supports patch semantics.", + "flatPath": "userprofiles/{profileId}/creativeFields", + "httpMethod": "PATCH", + "id": "dfareporting.creativeFields.patch", + "parameterOrder": [ + "profileId", + "id" + ], + "parameters": { + "id": { + "description": "CreativeField ID.", + "format": "int64", + "location": "query", + "required": true, + "type": "string" + }, + "profileId": { + "description": "User profile ID associated with this request.", + "format": "int64", + "location": "path", + "required": true, + "type": "string" + } + }, + "path": "userprofiles/{profileId}/creativeFields", + "request": { + "$ref": "CreativeField" + }, + "response": { + "$ref": "CreativeField" + }, + "scopes": [ + "https://www.googleapis.com/auth/dfatrafficking" + ] + }, + "update": { + "description": "Updates an existing creative field.", + "flatPath": "userprofiles/{profileId}/creativeFields", + "httpMethod": "PUT", + "id": "dfareporting.creativeFields.update", + "parameterOrder": [ + "profileId" + ], + "parameters": { + "profileId": { + "description": "User profile ID associated with this request.", + "format": "int64", + "location": "path", + "required": true, + "type": "string" + } + }, + "path": "userprofiles/{profileId}/creativeFields", + "request": { + "$ref": "CreativeField" + }, + "response": { + "$ref": "CreativeField" + }, + "scopes": [ + "https://www.googleapis.com/auth/dfatrafficking" + ] + } + } + }, + "creativeGroups": { + "methods": { + "get": { + "description": "Gets one creative group by ID.", + "flatPath": "userprofiles/{profileId}/creativeGroups/{id}", + "httpMethod": "GET", + "id": "dfareporting.creativeGroups.get", + "parameterOrder": [ + "profileId", + "id" + ], + "parameters": { + "id": { + "description": "Creative group ID.", + "format": "int64", + "location": "path", + "required": true, + "type": "string" + }, + "profileId": { + "description": "User profile ID associated with this request.", + "format": "int64", + "location": "path", + "required": true, + "type": "string" + } + }, + "path": "userprofiles/{profileId}/creativeGroups/{id}", + "response": { + "$ref": "CreativeGroup" + }, + "scopes": [ + "https://www.googleapis.com/auth/dfatrafficking" + ] + }, + "insert": { + "description": "Inserts a new creative group.", + "flatPath": "userprofiles/{profileId}/creativeGroups", + "httpMethod": "POST", + "id": "dfareporting.creativeGroups.insert", + "parameterOrder": [ + "profileId" + ], + "parameters": { + "profileId": { + "description": "User profile ID associated with this request.", + "format": "int64", + "location": "path", + "required": true, + "type": "string" + } + }, + "path": "userprofiles/{profileId}/creativeGroups", + "request": { + "$ref": "CreativeGroup" + }, + "response": { + "$ref": "CreativeGroup" + }, + "scopes": [ + "https://www.googleapis.com/auth/dfatrafficking" + ] + }, + "list": { + "description": "Retrieves a list of creative groups, possibly filtered. This method supports paging.", + "flatPath": "userprofiles/{profileId}/creativeGroups", + "httpMethod": "GET", + "id": "dfareporting.creativeGroups.list", + "parameterOrder": [ + "profileId" + ], + "parameters": { + "advertiserIds": { + "description": "Select only creative groups that belong to these advertisers.", + "format": "int64", + "location": "query", + "repeated": true, + "type": "string" + }, + "groupNumber": { + "description": "Select only creative groups that belong to this subgroup.", + "format": "int32", + "location": "query", + "maximum": "2", + "minimum": "1", + "type": "integer" + }, + "ids": { + "description": "Select only creative groups with these IDs.", + "format": "int64", + "location": "query", + "repeated": true, + "type": "string" + }, + "maxResults": { + "default": "1000", + "description": "Maximum number of results to return.", + "format": "int32", + "location": "query", + "maximum": "1000", + "minimum": "0", + "type": "integer" + }, + "pageToken": { + "description": "Value of the nextPageToken from the previous result page.", + "location": "query", + "type": "string" + }, + "profileId": { + "description": "User profile ID associated with this request.", + "format": "int64", + "location": "path", + "required": true, + "type": "string" + }, + "searchString": { + "description": "Allows searching for creative groups by name or ID. Wildcards (*) are allowed. For example, \"creativegroup*2015\" will return creative groups with names like \"creativegroup June 2015\", \"creativegroup April 2015\", or simply \"creativegroup 2015\". Most of the searches also add wild-cards implicitly at the start and the end of the search string. For example, a search string of \"creativegroup\" will match creative groups with the name \"my creativegroup\", \"creativegroup 2015\", or simply \"creativegroup\".", + "location": "query", + "type": "string" + }, + "sortField": { + "default": "ID", + "description": "Field by which to sort the list.", + "enum": [ + "ID", + "NAME" + ], + "enumDescriptions": [ + "", + "" + ], + "location": "query", + "type": "string" + }, + "sortOrder": { + "default": "ASCENDING", + "description": "Order of sorted results.", + "enum": [ + "ASCENDING", + "DESCENDING" + ], + "enumDescriptions": [ + "", + "" + ], + "location": "query", + "type": "string" + } + }, + "path": "userprofiles/{profileId}/creativeGroups", + "response": { + "$ref": "CreativeGroupsListResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/dfatrafficking" + ] + }, + "patch": { + "description": "Updates an existing creative group. This method supports patch semantics.", + "flatPath": "userprofiles/{profileId}/creativeGroups", + "httpMethod": "PATCH", + "id": "dfareporting.creativeGroups.patch", + "parameterOrder": [ + "profileId", + "id" + ], + "parameters": { + "id": { + "description": "CreativeGroup ID.", + "format": "int64", + "location": "query", + "required": true, + "type": "string" + }, + "profileId": { + "description": "User profile ID associated with this request.", + "format": "int64", + "location": "path", + "required": true, + "type": "string" + } + }, + "path": "userprofiles/{profileId}/creativeGroups", + "request": { + "$ref": "CreativeGroup" + }, + "response": { + "$ref": "CreativeGroup" + }, + "scopes": [ + "https://www.googleapis.com/auth/dfatrafficking" + ] + }, + "update": { + "description": "Updates an existing creative group.", + "flatPath": "userprofiles/{profileId}/creativeGroups", + "httpMethod": "PUT", + "id": "dfareporting.creativeGroups.update", + "parameterOrder": [ + "profileId" + ], + "parameters": { + "profileId": { + "description": "User profile ID associated with this request.", + "format": "int64", + "location": "path", + "required": true, + "type": "string" + } + }, + "path": "userprofiles/{profileId}/creativeGroups", + "request": { + "$ref": "CreativeGroup" + }, + "response": { + "$ref": "CreativeGroup" + }, + "scopes": [ + "https://www.googleapis.com/auth/dfatrafficking" + ] + } + } + }, + "creatives": { + "methods": { + "get": { + "description": "Gets one creative by ID.", + "flatPath": "userprofiles/{profileId}/creatives/{id}", + "httpMethod": "GET", + "id": "dfareporting.creatives.get", + "parameterOrder": [ + "profileId", + "id" + ], + "parameters": { + "id": { + "description": "Creative ID.", + "format": "int64", + "location": "path", + "required": true, + "type": "string" + }, + "profileId": { + "description": "User profile ID associated with this request.", + "format": "int64", + "location": "path", + "required": true, + "type": "string" + } + }, + "path": "userprofiles/{profileId}/creatives/{id}", + "response": { + "$ref": "Creative" + }, + "scopes": [ + "https://www.googleapis.com/auth/dfatrafficking" + ] + }, + "insert": { + "description": "Inserts a new creative.", + "flatPath": "userprofiles/{profileId}/creatives", + "httpMethod": "POST", + "id": "dfareporting.creatives.insert", + "parameterOrder": [ + "profileId" + ], + "parameters": { + "profileId": { + "description": "User profile ID associated with this request.", + "format": "int64", + "location": "path", + "required": true, + "type": "string" + } + }, + "path": "userprofiles/{profileId}/creatives", + "request": { + "$ref": "Creative" + }, + "response": { + "$ref": "Creative" + }, + "scopes": [ + "https://www.googleapis.com/auth/dfatrafficking" + ] + }, + "list": { + "description": "Retrieves a list of creatives, possibly filtered. This method supports paging.", + "flatPath": "userprofiles/{profileId}/creatives", + "httpMethod": "GET", + "id": "dfareporting.creatives.list", + "parameterOrder": [ + "profileId" + ], + "parameters": { + "active": { + "description": "Select only active creatives. Leave blank to select active and inactive creatives.", + "location": "query", + "type": "boolean" + }, + "advertiserId": { + "description": "Select only creatives with this advertiser ID.", + "format": "int64", + "location": "query", + "type": "string" + }, + "archived": { + "description": "Select only archived creatives. Leave blank to select archived and unarchived creatives.", + "location": "query", + "type": "boolean" + }, + "campaignId": { + "description": "Select only creatives with this campaign ID.", + "format": "int64", + "location": "query", + "type": "string" + }, + "companionCreativeIds": { + "description": "Select only in-stream video creatives with these companion IDs.", + "format": "int64", + "location": "query", + "repeated": true, + "type": "string" + }, + "creativeFieldIds": { + "description": "Select only creatives with these creative field IDs.", + "format": "int64", + "location": "query", + "repeated": true, + "type": "string" + }, + "ids": { + "description": "Select only creatives with these IDs.", + "format": "int64", + "location": "query", + "repeated": true, + "type": "string" + }, + "maxResults": { + "default": "1000", + "description": "Maximum number of results to return.", + "format": "int32", + "location": "query", + "maximum": "1000", + "minimum": "0", + "type": "integer" + }, + "pageToken": { + "description": "Value of the nextPageToken from the previous result page.", + "location": "query", + "type": "string" + }, + "profileId": { + "description": "User profile ID associated with this request.", + "format": "int64", + "location": "path", + "required": true, + "type": "string" + }, + "renderingIds": { + "description": "Select only creatives with these rendering IDs.", + "format": "int64", + "location": "query", + "repeated": true, + "type": "string" + }, + "searchString": { + "description": "Allows searching for objects by name or ID. Wildcards (*) are allowed. For example, \"creative*2015\" will return objects with names like \"creative June 2015\", \"creative April 2015\", or simply \"creative 2015\". Most of the searches also add wildcards implicitly at the start and the end of the search string. For example, a search string of \"creative\" will match objects with name \"my creative\", \"creative 2015\", or simply \"creative\".", + "location": "query", + "type": "string" + }, + "sizeIds": { + "description": "Select only creatives with these size IDs.", + "format": "int64", + "location": "query", + "repeated": true, + "type": "string" + }, + "sortField": { + "default": "ID", + "description": "Field by which to sort the list.", + "enum": [ + "ID", + "NAME" + ], + "enumDescriptions": [ + "", + "" + ], + "location": "query", + "type": "string" + }, + "sortOrder": { + "default": "ASCENDING", + "description": "Order of sorted results.", + "enum": [ + "ASCENDING", + "DESCENDING" + ], + "enumDescriptions": [ + "", + "" + ], + "location": "query", + "type": "string" + }, + "studioCreativeId": { + "description": "Select only creatives corresponding to this Studio creative ID.", + "format": "int64", + "location": "query", + "type": "string" + }, + "types": { + "description": "Select only creatives with these creative types.", + "enum": [ + "IMAGE", + "DISPLAY_REDIRECT", + "CUSTOM_DISPLAY", + "INTERNAL_REDIRECT", + "CUSTOM_DISPLAY_INTERSTITIAL", + "INTERSTITIAL_INTERNAL_REDIRECT", + "TRACKING_TEXT", + "RICH_MEDIA_DISPLAY_BANNER", + "RICH_MEDIA_INPAGE_FLOATING", + "RICH_MEDIA_IM_EXPAND", + "RICH_MEDIA_DISPLAY_EXPANDING", + "RICH_MEDIA_DISPLAY_INTERSTITIAL", + "RICH_MEDIA_DISPLAY_MULTI_FLOATING_INTERSTITIAL", + "RICH_MEDIA_MOBILE_IN_APP", + "FLASH_INPAGE", + "INSTREAM_VIDEO", + "VPAID_LINEAR_VIDEO", + "VPAID_NON_LINEAR_VIDEO", + "INSTREAM_VIDEO_REDIRECT", + "RICH_MEDIA_PEEL_DOWN", + "HTML5_BANNER", + "DISPLAY", + "DISPLAY_IMAGE_GALLERY", + "BRAND_SAFE_DEFAULT_INSTREAM_VIDEO", + "INSTREAM_AUDIO" + ], + "enumDescriptions": [ + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "location": "query", + "repeated": true, + "type": "string" + } + }, + "path": "userprofiles/{profileId}/creatives", + "response": { + "$ref": "CreativesListResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/dfatrafficking" + ] + }, + "patch": { + "description": "Updates an existing creative. This method supports patch semantics.", + "flatPath": "userprofiles/{profileId}/creatives", + "httpMethod": "PATCH", + "id": "dfareporting.creatives.patch", + "parameterOrder": [ + "profileId", + "id" + ], + "parameters": { + "id": { + "description": "Creative ID.", + "format": "int64", + "location": "query", + "required": true, + "type": "string" + }, + "profileId": { + "description": "User profile ID associated with this request.", + "format": "int64", + "location": "path", + "required": true, + "type": "string" + } + }, + "path": "userprofiles/{profileId}/creatives", + "request": { + "$ref": "Creative" + }, + "response": { + "$ref": "Creative" + }, + "scopes": [ + "https://www.googleapis.com/auth/dfatrafficking" + ] + }, + "update": { + "description": "Updates an existing creative.", + "flatPath": "userprofiles/{profileId}/creatives", + "httpMethod": "PUT", + "id": "dfareporting.creatives.update", + "parameterOrder": [ + "profileId" + ], + "parameters": { + "profileId": { + "description": "User profile ID associated with this request.", + "format": "int64", + "location": "path", + "required": true, + "type": "string" + } + }, + "path": "userprofiles/{profileId}/creatives", + "request": { + "$ref": "Creative" + }, + "response": { + "$ref": "Creative" + }, + "scopes": [ + "https://www.googleapis.com/auth/dfatrafficking" + ] + } + } + }, + "customEvents": { + "methods": { + "batchinsert": { + "description": "Inserts custom events.", + "flatPath": "userprofiles/{profileId}/customEvents/batchinsert", + "httpMethod": "POST", + "id": "dfareporting.customEvents.batchinsert", + "parameterOrder": [ + "profileId" + ], + "parameters": { + "profileId": { + "description": "User profile ID associated with this request.", + "format": "int64", + "location": "path", + "required": true, + "type": "string" + } + }, + "path": "userprofiles/{profileId}/customEvents/batchinsert", + "request": { + "$ref": "CustomEventsBatchInsertRequest" + }, + "response": { + "$ref": "CustomEventsBatchInsertResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/ddmconversions" + ] + } + } + }, + "dimensionValues": { + "methods": { + "query": { + "description": "Retrieves list of report dimension values for a list of filters.", + "flatPath": "userprofiles/{profileId}/dimensionvalues/query", + "httpMethod": "POST", + "id": "dfareporting.dimensionValues.query", + "parameterOrder": [ + "profileId" + ], + "parameters": { + "maxResults": { + "default": "100", + "description": "Maximum number of results to return.", + "format": "int32", + "location": "query", + "maximum": "100", + "minimum": "0", + "type": "integer" + }, + "pageToken": { + "description": "The value of the nextToken from the previous result page.", + "location": "query", + "type": "string" + }, + "profileId": { + "description": "The Campaign Manager 360 user profile ID.", + "format": "int64", + "location": "path", + "required": true, + "type": "string" + } + }, + "path": "userprofiles/{profileId}/dimensionvalues/query", + "request": { + "$ref": "DimensionValueRequest" + }, + "response": { + "$ref": "DimensionValueList" + }, + "scopes": [ + "https://www.googleapis.com/auth/dfareporting" + ] + } + } + }, + "directorySites": { + "methods": { + "get": { + "description": "Gets one directory site by ID.", + "flatPath": "userprofiles/{profileId}/directorySites/{id}", + "httpMethod": "GET", + "id": "dfareporting.directorySites.get", + "parameterOrder": [ + "profileId", + "id" + ], + "parameters": { + "id": { + "description": "Directory site ID.", + "format": "int64", + "location": "path", + "required": true, + "type": "string" + }, + "profileId": { + "description": "User profile ID associated with this request.", + "format": "int64", + "location": "path", + "required": true, + "type": "string" + } + }, + "path": "userprofiles/{profileId}/directorySites/{id}", + "response": { + "$ref": "DirectorySite" + }, + "scopes": [ + "https://www.googleapis.com/auth/dfatrafficking" + ] + }, + "insert": { + "description": "Inserts a new directory site.", + "flatPath": "userprofiles/{profileId}/directorySites", + "httpMethod": "POST", + "id": "dfareporting.directorySites.insert", + "parameterOrder": [ + "profileId" + ], + "parameters": { + "profileId": { + "description": "User profile ID associated with this request.", + "format": "int64", + "location": "path", + "required": true, + "type": "string" + } + }, + "path": "userprofiles/{profileId}/directorySites", + "request": { + "$ref": "DirectorySite" + }, + "response": { + "$ref": "DirectorySite" + }, + "scopes": [ + "https://www.googleapis.com/auth/dfatrafficking" + ] + }, + "list": { + "description": "Retrieves a list of directory sites, possibly filtered. This method supports paging.", + "flatPath": "userprofiles/{profileId}/directorySites", + "httpMethod": "GET", + "id": "dfareporting.directorySites.list", + "parameterOrder": [ + "profileId" + ], + "parameters": { + "acceptsInStreamVideoPlacements": { + "description": "This search filter is no longer supported and will have no effect on the results returned.", + "location": "query", + "type": "boolean" + }, + "acceptsInterstitialPlacements": { + "description": "This search filter is no longer supported and will have no effect on the results returned.", + "location": "query", + "type": "boolean" + }, + "acceptsPublisherPaidPlacements": { + "description": "Select only directory sites that accept publisher paid placements. This field can be left blank.", + "location": "query", + "type": "boolean" + }, + "active": { + "description": "Select only active directory sites. Leave blank to retrieve both active and inactive directory sites.", + "location": "query", + "type": "boolean" + }, + "dfpNetworkCode": { + "description": "Select only directory sites with this Ad Manager network code.", + "location": "query", + "type": "string" + }, + "ids": { + "description": "Select only directory sites with these IDs.", + "format": "int64", + "location": "query", + "repeated": true, + "type": "string" + }, + "maxResults": { + "default": "1000", + "description": "Maximum number of results to return.", + "format": "int32", + "location": "query", + "maximum": "1000", + "minimum": "0", + "type": "integer" + }, + "pageToken": { + "description": "Value of the nextPageToken from the previous result page.", + "location": "query", + "type": "string" + }, + "profileId": { + "description": "User profile ID associated with this request.", + "format": "int64", + "location": "path", + "required": true, + "type": "string" + }, + "searchString": { + "description": "Allows searching for objects by name, ID or URL. Wildcards (*) are allowed. For example, \"directory site*2015\" will return objects with names like \"directory site June 2015\", \"directory site April 2015\", or simply \"directory site 2015\". Most of the searches also add wildcards implicitly at the start and the end of the search string. For example, a search string of \"directory site\" will match objects with name \"my directory site\", \"directory site 2015\" or simply, \"directory site\".", + "location": "query", + "type": "string" + }, + "sortField": { + "default": "ID", + "description": "Field by which to sort the list.", + "enum": [ + "ID", + "NAME" + ], + "enumDescriptions": [ + "", + "" + ], + "location": "query", + "type": "string" + }, + "sortOrder": { + "default": "ASCENDING", + "description": "Order of sorted results.", + "enum": [ + "ASCENDING", + "DESCENDING" + ], + "enumDescriptions": [ + "", + "" + ], + "location": "query", + "type": "string" + } + }, + "path": "userprofiles/{profileId}/directorySites", + "response": { + "$ref": "DirectorySitesListResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/dfatrafficking" + ] + } + } + }, + "dynamicTargetingKeys": { + "methods": { + "delete": { + "description": "Deletes an existing dynamic targeting key.", + "flatPath": "userprofiles/{profileId}/dynamicTargetingKeys/{objectId}", + "httpMethod": "DELETE", + "id": "dfareporting.dynamicTargetingKeys.delete", + "parameterOrder": [ + "profileId", + "objectId", + "name", + "objectType" + ], + "parameters": { + "name": { + "description": "Name of this dynamic targeting key. This is a required field. Must be less than 256 characters long and cannot contain commas. All characters are converted to lowercase.", + "location": "query", + "required": true, + "type": "string" + }, + "objectId": { + "description": "ID of the object of this dynamic targeting key. This is a required field.", + "format": "int64", + "location": "path", + "required": true, + "type": "string" + }, + "objectType": { + "description": "Type of the object of this dynamic targeting key. This is a required field.", + "enum": [ + "OBJECT_ADVERTISER", + "OBJECT_AD", + "OBJECT_CREATIVE", + "OBJECT_PLACEMENT" + ], + "enumDescriptions": [ + "", + "", + "", + "" + ], + "location": "query", + "required": true, + "type": "string" + }, + "profileId": { + "description": "User profile ID associated with this request.", + "format": "int64", + "location": "path", + "required": true, + "type": "string" + } + }, + "path": "userprofiles/{profileId}/dynamicTargetingKeys/{objectId}", + "scopes": [ + "https://www.googleapis.com/auth/dfatrafficking" + ] + }, + "insert": { + "description": "Inserts a new dynamic targeting key. Keys must be created at the advertiser level before being assigned to the advertiser's ads, creatives, or placements. There is a maximum of 1000 keys per advertiser, out of which a maximum of 20 keys can be assigned per ad, creative, or placement.", + "flatPath": "userprofiles/{profileId}/dynamicTargetingKeys", + "httpMethod": "POST", + "id": "dfareporting.dynamicTargetingKeys.insert", + "parameterOrder": [ + "profileId" + ], + "parameters": { + "profileId": { + "description": "User profile ID associated with this request.", + "format": "int64", + "location": "path", + "required": true, + "type": "string" + } + }, + "path": "userprofiles/{profileId}/dynamicTargetingKeys", + "request": { + "$ref": "DynamicTargetingKey" + }, + "response": { + "$ref": "DynamicTargetingKey" + }, + "scopes": [ + "https://www.googleapis.com/auth/dfatrafficking" + ] + }, + "list": { + "description": "Retrieves a list of dynamic targeting keys.", + "flatPath": "userprofiles/{profileId}/dynamicTargetingKeys", + "httpMethod": "GET", + "id": "dfareporting.dynamicTargetingKeys.list", + "parameterOrder": [ + "profileId" + ], + "parameters": { + "advertiserId": { + "description": "Select only dynamic targeting keys whose object has this advertiser ID.", + "format": "int64", + "location": "query", + "type": "string" + }, + "names": { + "description": "Select only dynamic targeting keys exactly matching these names.", + "location": "query", + "repeated": true, + "type": "string" + }, + "objectId": { + "description": "Select only dynamic targeting keys with this object ID.", + "format": "int64", + "location": "query", + "type": "string" + }, + "objectType": { + "description": "Select only dynamic targeting keys with this object type.", + "enum": [ + "OBJECT_ADVERTISER", + "OBJECT_AD", + "OBJECT_CREATIVE", + "OBJECT_PLACEMENT" + ], + "enumDescriptions": [ + "", + "", + "", + "" + ], + "location": "query", + "type": "string" + }, + "profileId": { + "description": "User profile ID associated with this request.", + "format": "int64", + "location": "path", + "required": true, + "type": "string" + } + }, + "path": "userprofiles/{profileId}/dynamicTargetingKeys", + "response": { + "$ref": "DynamicTargetingKeysListResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/dfatrafficking" + ] + } + } + }, + "eventTags": { + "methods": { + "delete": { + "description": "Deletes an existing event tag.", + "flatPath": "userprofiles/{profileId}/eventTags/{id}", + "httpMethod": "DELETE", + "id": "dfareporting.eventTags.delete", + "parameterOrder": [ + "profileId", + "id" + ], + "parameters": { + "id": { + "description": "Event tag ID.", + "format": "int64", + "location": "path", + "required": true, + "type": "string" + }, + "profileId": { + "description": "User profile ID associated with this request.", + "format": "int64", + "location": "path", + "required": true, + "type": "string" + } + }, + "path": "userprofiles/{profileId}/eventTags/{id}", + "scopes": [ + "https://www.googleapis.com/auth/dfatrafficking" + ] + }, + "get": { + "description": "Gets one event tag by ID.", + "flatPath": "userprofiles/{profileId}/eventTags/{id}", + "httpMethod": "GET", + "id": "dfareporting.eventTags.get", + "parameterOrder": [ + "profileId", + "id" + ], + "parameters": { + "id": { + "description": "Event tag ID.", + "format": "int64", + "location": "path", + "required": true, + "type": "string" + }, + "profileId": { + "description": "User profile ID associated with this request.", + "format": "int64", + "location": "path", + "required": true, + "type": "string" + } + }, + "path": "userprofiles/{profileId}/eventTags/{id}", + "response": { + "$ref": "EventTag" + }, + "scopes": [ + "https://www.googleapis.com/auth/dfatrafficking" + ] + }, + "insert": { + "description": "Inserts a new event tag.", + "flatPath": "userprofiles/{profileId}/eventTags", + "httpMethod": "POST", + "id": "dfareporting.eventTags.insert", + "parameterOrder": [ + "profileId" + ], + "parameters": { + "profileId": { + "description": "User profile ID associated with this request.", + "format": "int64", + "location": "path", + "required": true, + "type": "string" + } + }, + "path": "userprofiles/{profileId}/eventTags", + "request": { + "$ref": "EventTag" + }, + "response": { + "$ref": "EventTag" + }, + "scopes": [ + "https://www.googleapis.com/auth/dfatrafficking" + ] + }, + "list": { + "description": "Retrieves a list of event tags, possibly filtered.", + "flatPath": "userprofiles/{profileId}/eventTags", + "httpMethod": "GET", + "id": "dfareporting.eventTags.list", + "parameterOrder": [ + "profileId" + ], + "parameters": { + "adId": { + "description": "Select only event tags that belong to this ad.", + "format": "int64", + "location": "query", + "type": "string" + }, + "advertiserId": { + "description": "Select only event tags that belong to this advertiser.", + "format": "int64", + "location": "query", + "type": "string" + }, + "campaignId": { + "description": "Select only event tags that belong to this campaign.", + "format": "int64", + "location": "query", + "type": "string" + }, + "definitionsOnly": { + "description": "Examine only the specified campaign or advertiser's event tags for matching selector criteria. When set to false, the parent advertiser and parent campaign of the specified ad or campaign is examined as well. In addition, when set to false, the status field is examined as well, along with the enabledByDefault field. This parameter can not be set to true when adId is specified as ads do not define their own even tags.", + "location": "query", + "type": "boolean" + }, + "enabled": { + "description": "Select only enabled event tags. What is considered enabled or disabled depends on the definitionsOnly parameter. When definitionsOnly is set to true, only the specified advertiser or campaign's event tags' enabledByDefault field is examined. When definitionsOnly is set to false, the specified ad or specified campaign's parent advertiser's or parent campaign's event tags' enabledByDefault and status fields are examined as well.", + "location": "query", + "type": "boolean" + }, + "eventTagTypes": { + "description": "Select only event tags with the specified event tag types. Event tag types can be used to specify whether to use a third-party pixel, a third-party JavaScript URL, or a third-party click-through URL for either impression or click tracking.", + "enum": [ + "IMPRESSION_IMAGE_EVENT_TAG", + "IMPRESSION_JAVASCRIPT_EVENT_TAG", + "CLICK_THROUGH_EVENT_TAG" + ], + "enumDescriptions": [ + "", + "", + "" + ], + "location": "query", + "repeated": true, + "type": "string" + }, + "ids": { + "description": "Select only event tags with these IDs.", + "format": "int64", + "location": "query", + "repeated": true, + "type": "string" + }, + "profileId": { + "description": "User profile ID associated with this request.", + "format": "int64", + "location": "path", + "required": true, + "type": "string" + }, + "searchString": { + "description": "Allows searching for objects by name or ID. Wildcards (*) are allowed. For example, \"eventtag*2015\" will return objects with names like \"eventtag June 2015\", \"eventtag April 2015\", or simply \"eventtag 2015\". Most of the searches also add wildcards implicitly at the start and the end of the search string. For example, a search string of \"eventtag\" will match objects with name \"my eventtag\", \"eventtag 2015\", or simply \"eventtag\".", + "location": "query", + "type": "string" + }, + "sortField": { + "default": "ID", + "description": "Field by which to sort the list.", + "enum": [ + "ID", + "NAME" + ], + "enumDescriptions": [ + "", + "" + ], + "location": "query", + "type": "string" + }, + "sortOrder": { + "default": "ASCENDING", + "description": "Order of sorted results.", + "enum": [ + "ASCENDING", + "DESCENDING" + ], + "enumDescriptions": [ + "", + "" + ], + "location": "query", + "type": "string" + } + }, + "path": "userprofiles/{profileId}/eventTags", + "response": { + "$ref": "EventTagsListResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/dfatrafficking" + ] + }, + "patch": { + "description": "Updates an existing event tag. This method supports patch semantics.", + "flatPath": "userprofiles/{profileId}/eventTags", + "httpMethod": "PATCH", + "id": "dfareporting.eventTags.patch", + "parameterOrder": [ + "profileId", + "id" + ], + "parameters": { + "id": { + "description": "EventTag ID.", + "format": "int64", + "location": "query", + "required": true, + "type": "string" + }, + "profileId": { + "description": "User profile ID associated with this request.", + "format": "int64", + "location": "path", + "required": true, + "type": "string" + } + }, + "path": "userprofiles/{profileId}/eventTags", + "request": { + "$ref": "EventTag" + }, + "response": { + "$ref": "EventTag" + }, + "scopes": [ + "https://www.googleapis.com/auth/dfatrafficking" + ] + }, + "update": { + "description": "Updates an existing event tag.", + "flatPath": "userprofiles/{profileId}/eventTags", + "httpMethod": "PUT", + "id": "dfareporting.eventTags.update", + "parameterOrder": [ + "profileId" + ], + "parameters": { + "profileId": { + "description": "User profile ID associated with this request.", + "format": "int64", + "location": "path", + "required": true, + "type": "string" + } + }, + "path": "userprofiles/{profileId}/eventTags", + "request": { + "$ref": "EventTag" + }, + "response": { + "$ref": "EventTag" + }, + "scopes": [ + "https://www.googleapis.com/auth/dfatrafficking" + ] + } + } + }, + "files": { + "methods": { + "get": { + "description": "Retrieves a report file by its report ID and file ID. This method supports media download.", + "flatPath": "reports/{reportId}/files/{fileId}", + "httpMethod": "GET", + "id": "dfareporting.files.get", + "parameterOrder": [ + "reportId", + "fileId" + ], + "parameters": { + "fileId": { + "description": "The ID of the report file.", + "format": "int64", + "location": "path", + "required": true, + "type": "string" + }, + "reportId": { + "description": "The ID of the report.", + "format": "int64", + "location": "path", + "required": true, + "type": "string" + } + }, + "path": "reports/{reportId}/files/{fileId}", + "response": { + "$ref": "File" + }, + "scopes": [ + "https://www.googleapis.com/auth/dfareporting" + ], + "supportsMediaDownload": true + }, + "list": { + "description": "Lists files for a user profile.", + "flatPath": "userprofiles/{profileId}/files", + "httpMethod": "GET", + "id": "dfareporting.files.list", + "parameterOrder": [ + "profileId" + ], + "parameters": { + "maxResults": { + "default": "10", + "description": "Maximum number of results to return.", + "format": "int32", + "location": "query", + "maximum": "10", + "minimum": "0", + "type": "integer" + }, + "pageToken": { + "description": "The value of the nextToken from the previous result page.", + "location": "query", + "type": "string" + }, + "profileId": { + "description": "The Campaign Manager 360 user profile ID.", + "format": "int64", + "location": "path", + "required": true, + "type": "string" + }, + "scope": { + "default": "MINE", + "description": "The scope that defines which results are returned.", + "enum": [ + "ALL", + "MINE", + "SHARED_WITH_ME" + ], + "enumDescriptions": [ + "All files in account.", + "My files.", + "Files shared with me." + ], + "location": "query", + "type": "string" + }, + "sortField": { + "default": "LAST_MODIFIED_TIME", + "description": "The field by which to sort the list.", + "enum": [ + "ID", + "LAST_MODIFIED_TIME" + ], + "enumDescriptions": [ + "Sort by file ID.", + "Sort by 'lastmodifiedAt' field." + ], + "location": "query", + "type": "string" + }, + "sortOrder": { + "default": "DESCENDING", + "description": "Order of sorted results.", + "enum": [ + "ASCENDING", + "DESCENDING" + ], + "enumDescriptions": [ + "Ascending order.", + "Descending order." + ], + "location": "query", + "type": "string" + } + }, + "path": "userprofiles/{profileId}/files", + "response": { + "$ref": "FileList" + }, + "scopes": [ + "https://www.googleapis.com/auth/dfareporting" + ] + } + } + }, + "floodlightActivities": { + "methods": { + "delete": { + "description": "Deletes an existing floodlight activity.", + "flatPath": "userprofiles/{profileId}/floodlightActivities/{id}", + "httpMethod": "DELETE", + "id": "dfareporting.floodlightActivities.delete", + "parameterOrder": [ + "profileId", + "id" + ], + "parameters": { + "id": { + "description": "Floodlight activity ID.", + "format": "int64", + "location": "path", + "required": true, + "type": "string" + }, + "profileId": { + "description": "User profile ID associated with this request.", + "format": "int64", + "location": "path", + "required": true, + "type": "string" + } + }, + "path": "userprofiles/{profileId}/floodlightActivities/{id}", + "scopes": [ + "https://www.googleapis.com/auth/dfatrafficking" + ] + }, + "generatetag": { + "description": "Generates a tag for a floodlight activity.", + "flatPath": "userprofiles/{profileId}/floodlightActivities/generatetag", + "httpMethod": "POST", + "id": "dfareporting.floodlightActivities.generatetag", + "parameterOrder": [ + "profileId" + ], + "parameters": { + "floodlightActivityId": { + "description": "Floodlight activity ID for which we want to generate a tag.", + "format": "int64", + "location": "query", + "type": "string" + }, + "profileId": { + "description": "User profile ID associated with this request.", + "format": "int64", + "location": "path", + "required": true, + "type": "string" + } + }, + "path": "userprofiles/{profileId}/floodlightActivities/generatetag", + "response": { + "$ref": "FloodlightActivitiesGenerateTagResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/dfatrafficking" + ] + }, + "get": { + "description": "Gets one floodlight activity by ID.", + "flatPath": "userprofiles/{profileId}/floodlightActivities/{id}", + "httpMethod": "GET", + "id": "dfareporting.floodlightActivities.get", + "parameterOrder": [ + "profileId", + "id" + ], + "parameters": { + "id": { + "description": "Floodlight activity ID.", + "format": "int64", + "location": "path", + "required": true, + "type": "string" + }, + "profileId": { + "description": "User profile ID associated with this request.", + "format": "int64", + "location": "path", + "required": true, + "type": "string" + } + }, + "path": "userprofiles/{profileId}/floodlightActivities/{id}", + "response": { + "$ref": "FloodlightActivity" + }, + "scopes": [ + "https://www.googleapis.com/auth/dfatrafficking" + ] + }, + "insert": { + "description": "Inserts a new floodlight activity.", + "flatPath": "userprofiles/{profileId}/floodlightActivities", + "httpMethod": "POST", + "id": "dfareporting.floodlightActivities.insert", + "parameterOrder": [ + "profileId" + ], + "parameters": { + "profileId": { + "description": "User profile ID associated with this request.", + "format": "int64", + "location": "path", + "required": true, + "type": "string" + } + }, + "path": "userprofiles/{profileId}/floodlightActivities", + "request": { + "$ref": "FloodlightActivity" + }, + "response": { + "$ref": "FloodlightActivity" + }, + "scopes": [ + "https://www.googleapis.com/auth/dfatrafficking" + ] + }, + "list": { + "description": "Retrieves a list of floodlight activities, possibly filtered. This method supports paging.", + "flatPath": "userprofiles/{profileId}/floodlightActivities", + "httpMethod": "GET", + "id": "dfareporting.floodlightActivities.list", + "parameterOrder": [ + "profileId" + ], + "parameters": { + "advertiserId": { + "description": "Select only floodlight activities for the specified advertiser ID. Must specify either ids, advertiserId, or floodlightConfigurationId for a non-empty result.", + "format": "int64", + "location": "query", + "type": "string" + }, + "floodlightActivityGroupIds": { + "description": "Select only floodlight activities with the specified floodlight activity group IDs.", + "format": "int64", + "location": "query", + "repeated": true, + "type": "string" + }, + "floodlightActivityGroupName": { + "description": "Select only floodlight activities with the specified floodlight activity group name.", + "location": "query", + "type": "string" + }, + "floodlightActivityGroupTagString": { + "description": "Select only floodlight activities with the specified floodlight activity group tag string.", + "location": "query", + "type": "string" + }, + "floodlightActivityGroupType": { + "description": "Select only floodlight activities with the specified floodlight activity group type.", + "enum": [ + "COUNTER", + "SALE" + ], + "enumDescriptions": [ + "", + "" + ], + "location": "query", + "type": "string" + }, + "floodlightConfigurationId": { + "description": "Select only floodlight activities for the specified floodlight configuration ID. Must specify either ids, advertiserId, or floodlightConfigurationId for a non-empty result.", + "format": "int64", + "location": "query", + "type": "string" + }, + "ids": { + "description": "Select only floodlight activities with the specified IDs. Must specify either ids, advertiserId, or floodlightConfigurationId for a non-empty result.", + "format": "int64", + "location": "query", + "repeated": true, + "type": "string" + }, + "maxResults": { + "default": "1000", + "description": "Maximum number of results to return.", + "format": "int32", + "location": "query", + "maximum": "1000", + "minimum": "0", + "type": "integer" + }, + "pageToken": { + "description": "Value of the nextPageToken from the previous result page.", + "location": "query", + "type": "string" + }, + "profileId": { + "description": "User profile ID associated with this request.", + "format": "int64", + "location": "path", + "required": true, + "type": "string" + }, + "searchString": { + "description": "Allows searching for objects by name or ID. Wildcards (*) are allowed. For example, \"floodlightactivity*2015\" will return objects with names like \"floodlightactivity June 2015\", \"floodlightactivity April 2015\", or simply \"floodlightactivity 2015\". Most of the searches also add wildcards implicitly at the start and the end of the search string. For example, a search string of \"floodlightactivity\" will match objects with name \"my floodlightactivity activity\", \"floodlightactivity 2015\", or simply \"floodlightactivity\".", + "location": "query", + "type": "string" + }, + "sortField": { + "default": "ID", + "description": "Field by which to sort the list.", + "enum": [ + "ID", + "NAME" + ], + "enumDescriptions": [ + "", + "" + ], + "location": "query", + "type": "string" + }, + "sortOrder": { + "default": "ASCENDING", + "description": "Order of sorted results.", + "enum": [ + "ASCENDING", + "DESCENDING" + ], + "enumDescriptions": [ + "", + "" + ], + "location": "query", + "type": "string" + }, + "tagString": { + "description": "Select only floodlight activities with the specified tag string.", + "location": "query", + "type": "string" + } + }, + "path": "userprofiles/{profileId}/floodlightActivities", + "response": { + "$ref": "FloodlightActivitiesListResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/dfatrafficking" + ] + }, + "patch": { + "description": "Updates an existing floodlight activity. This method supports patch semantics.", + "flatPath": "userprofiles/{profileId}/floodlightActivities", + "httpMethod": "PATCH", + "id": "dfareporting.floodlightActivities.patch", + "parameterOrder": [ + "profileId", + "id" + ], + "parameters": { + "id": { + "description": "FloodlightActivity ID.", + "format": "int64", + "location": "query", + "required": true, + "type": "string" + }, + "profileId": { + "description": "User profile ID associated with this request.", + "format": "int64", + "location": "path", + "required": true, + "type": "string" + } + }, + "path": "userprofiles/{profileId}/floodlightActivities", + "request": { + "$ref": "FloodlightActivity" + }, + "response": { + "$ref": "FloodlightActivity" + }, + "scopes": [ + "https://www.googleapis.com/auth/dfatrafficking" + ] + }, + "update": { + "description": "Updates an existing floodlight activity.", + "flatPath": "userprofiles/{profileId}/floodlightActivities", + "httpMethod": "PUT", + "id": "dfareporting.floodlightActivities.update", + "parameterOrder": [ + "profileId" + ], + "parameters": { + "profileId": { + "description": "User profile ID associated with this request.", + "format": "int64", + "location": "path", + "required": true, + "type": "string" + } + }, + "path": "userprofiles/{profileId}/floodlightActivities", + "request": { + "$ref": "FloodlightActivity" + }, + "response": { + "$ref": "FloodlightActivity" + }, + "scopes": [ + "https://www.googleapis.com/auth/dfatrafficking" + ] + } + } + }, + "floodlightActivityGroups": { + "methods": { + "get": { + "description": "Gets one floodlight activity group by ID.", + "flatPath": "userprofiles/{profileId}/floodlightActivityGroups/{id}", + "httpMethod": "GET", + "id": "dfareporting.floodlightActivityGroups.get", + "parameterOrder": [ + "profileId", + "id" + ], + "parameters": { + "id": { + "description": "Floodlight activity Group ID.", + "format": "int64", + "location": "path", + "required": true, + "type": "string" + }, + "profileId": { + "description": "User profile ID associated with this request.", + "format": "int64", + "location": "path", + "required": true, + "type": "string" + } + }, + "path": "userprofiles/{profileId}/floodlightActivityGroups/{id}", + "response": { + "$ref": "FloodlightActivityGroup" + }, + "scopes": [ + "https://www.googleapis.com/auth/dfatrafficking" + ] + }, + "insert": { + "description": "Inserts a new floodlight activity group.", + "flatPath": "userprofiles/{profileId}/floodlightActivityGroups", + "httpMethod": "POST", + "id": "dfareporting.floodlightActivityGroups.insert", + "parameterOrder": [ + "profileId" + ], + "parameters": { + "profileId": { + "description": "User profile ID associated with this request.", + "format": "int64", + "location": "path", + "required": true, + "type": "string" + } + }, + "path": "userprofiles/{profileId}/floodlightActivityGroups", + "request": { + "$ref": "FloodlightActivityGroup" + }, + "response": { + "$ref": "FloodlightActivityGroup" + }, + "scopes": [ + "https://www.googleapis.com/auth/dfatrafficking" + ] + }, + "list": { + "description": "Retrieves a list of floodlight activity groups, possibly filtered. This method supports paging.", + "flatPath": "userprofiles/{profileId}/floodlightActivityGroups", + "httpMethod": "GET", + "id": "dfareporting.floodlightActivityGroups.list", + "parameterOrder": [ + "profileId" + ], + "parameters": { + "advertiserId": { + "description": "Select only floodlight activity groups with the specified advertiser ID. Must specify either advertiserId or floodlightConfigurationId for a non-empty result.", + "format": "int64", + "location": "query", + "type": "string" + }, + "floodlightConfigurationId": { + "description": "Select only floodlight activity groups with the specified floodlight configuration ID. Must specify either advertiserId, or floodlightConfigurationId for a non-empty result.", + "format": "int64", + "location": "query", + "type": "string" + }, + "ids": { + "description": "Select only floodlight activity groups with the specified IDs. Must specify either advertiserId or floodlightConfigurationId for a non-empty result.", + "format": "int64", + "location": "query", + "repeated": true, + "type": "string" + }, + "maxResults": { + "default": "1000", + "description": "Maximum number of results to return.", + "format": "int32", + "location": "query", + "maximum": "1000", + "minimum": "0", + "type": "integer" + }, + "pageToken": { + "description": "Value of the nextPageToken from the previous result page.", + "location": "query", + "type": "string" + }, + "profileId": { + "description": "User profile ID associated with this request.", + "format": "int64", + "location": "path", + "required": true, + "type": "string" + }, + "searchString": { + "description": "Allows searching for objects by name or ID. Wildcards (*) are allowed. For example, \"floodlightactivitygroup*2015\" will return objects with names like \"floodlightactivitygroup June 2015\", \"floodlightactivitygroup April 2015\", or simply \"floodlightactivitygroup 2015\". Most of the searches also add wildcards implicitly at the start and the end of the search string. For example, a search string of \"floodlightactivitygroup\" will match objects with name \"my floodlightactivitygroup activity\", \"floodlightactivitygroup 2015\", or simply \"floodlightactivitygroup\".", + "location": "query", + "type": "string" + }, + "sortField": { + "default": "ID", + "description": "Field by which to sort the list.", + "enum": [ + "ID", + "NAME" + ], + "enumDescriptions": [ + "", + "" + ], + "location": "query", + "type": "string" + }, + "sortOrder": { + "default": "ASCENDING", + "description": "Order of sorted results.", + "enum": [ + "ASCENDING", + "DESCENDING" + ], + "enumDescriptions": [ + "", + "" + ], + "location": "query", + "type": "string" + }, + "type": { + "description": "Select only floodlight activity groups with the specified floodlight activity group type.", + "enum": [ + "COUNTER", + "SALE" + ], + "enumDescriptions": [ + "", + "" + ], + "location": "query", + "type": "string" + } + }, + "path": "userprofiles/{profileId}/floodlightActivityGroups", + "response": { + "$ref": "FloodlightActivityGroupsListResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/dfatrafficking" + ] + }, + "patch": { + "description": "Updates an existing floodlight activity group. This method supports patch semantics.", + "flatPath": "userprofiles/{profileId}/floodlightActivityGroups", + "httpMethod": "PATCH", + "id": "dfareporting.floodlightActivityGroups.patch", + "parameterOrder": [ + "profileId", + "id" + ], + "parameters": { + "id": { + "description": "FloodlightActivityGroup ID.", + "format": "int64", + "location": "query", + "required": true, + "type": "string" + }, + "profileId": { + "description": "User profile ID associated with this request.", + "format": "int64", + "location": "path", + "required": true, + "type": "string" + } + }, + "path": "userprofiles/{profileId}/floodlightActivityGroups", + "request": { + "$ref": "FloodlightActivityGroup" + }, + "response": { + "$ref": "FloodlightActivityGroup" + }, + "scopes": [ + "https://www.googleapis.com/auth/dfatrafficking" + ] + }, + "update": { + "description": "Updates an existing floodlight activity group.", + "flatPath": "userprofiles/{profileId}/floodlightActivityGroups", + "httpMethod": "PUT", + "id": "dfareporting.floodlightActivityGroups.update", + "parameterOrder": [ + "profileId" + ], + "parameters": { + "profileId": { + "description": "User profile ID associated with this request.", + "format": "int64", + "location": "path", + "required": true, + "type": "string" + } + }, + "path": "userprofiles/{profileId}/floodlightActivityGroups", + "request": { + "$ref": "FloodlightActivityGroup" + }, + "response": { + "$ref": "FloodlightActivityGroup" + }, + "scopes": [ + "https://www.googleapis.com/auth/dfatrafficking" + ] + } + } + }, + "floodlightConfigurations": { + "methods": { + "get": { + "description": "Gets one floodlight configuration by ID.", + "flatPath": "userprofiles/{profileId}/floodlightConfigurations/{id}", + "httpMethod": "GET", + "id": "dfareporting.floodlightConfigurations.get", + "parameterOrder": [ + "profileId", + "id" + ], + "parameters": { + "id": { + "description": "Floodlight configuration ID.", + "format": "int64", + "location": "path", + "required": true, + "type": "string" + }, + "profileId": { + "description": "User profile ID associated with this request.", + "format": "int64", + "location": "path", + "required": true, + "type": "string" + } + }, + "path": "userprofiles/{profileId}/floodlightConfigurations/{id}", + "response": { + "$ref": "FloodlightConfiguration" + }, + "scopes": [ + "https://www.googleapis.com/auth/dfatrafficking" + ] + }, + "list": { + "description": "Retrieves a list of floodlight configurations, possibly filtered.", + "flatPath": "userprofiles/{profileId}/floodlightConfigurations", + "httpMethod": "GET", + "id": "dfareporting.floodlightConfigurations.list", + "parameterOrder": [ + "profileId" + ], + "parameters": { + "ids": { + "description": "Set of IDs of floodlight configurations to retrieve. Required field; otherwise an empty list will be returned.", + "format": "int64", + "location": "query", + "repeated": true, + "type": "string" + }, + "profileId": { + "description": "User profile ID associated with this request.", + "format": "int64", + "location": "path", + "required": true, + "type": "string" + } + }, + "path": "userprofiles/{profileId}/floodlightConfigurations", + "response": { + "$ref": "FloodlightConfigurationsListResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/dfatrafficking" + ] + }, + "patch": { + "description": "Updates an existing floodlight configuration. This method supports patch semantics.", + "flatPath": "userprofiles/{profileId}/floodlightConfigurations", + "httpMethod": "PATCH", + "id": "dfareporting.floodlightConfigurations.patch", + "parameterOrder": [ + "profileId", + "id" + ], + "parameters": { + "id": { + "description": "FloodlightConfiguration ID.", + "format": "int64", + "location": "query", + "required": true, + "type": "string" + }, + "profileId": { + "description": "User profile ID associated with this request.", + "format": "int64", + "location": "path", + "required": true, + "type": "string" + } + }, + "path": "userprofiles/{profileId}/floodlightConfigurations", + "request": { + "$ref": "FloodlightConfiguration" + }, + "response": { + "$ref": "FloodlightConfiguration" + }, + "scopes": [ + "https://www.googleapis.com/auth/dfatrafficking" + ] + }, + "update": { + "description": "Updates an existing floodlight configuration.", + "flatPath": "userprofiles/{profileId}/floodlightConfigurations", + "httpMethod": "PUT", + "id": "dfareporting.floodlightConfigurations.update", + "parameterOrder": [ + "profileId" + ], + "parameters": { + "profileId": { + "description": "User profile ID associated with this request.", + "format": "int64", + "location": "path", + "required": true, + "type": "string" + } + }, + "path": "userprofiles/{profileId}/floodlightConfigurations", + "request": { + "$ref": "FloodlightConfiguration" + }, + "response": { + "$ref": "FloodlightConfiguration" + }, + "scopes": [ + "https://www.googleapis.com/auth/dfatrafficking" + ] + } + } + }, + "inventoryItems": { + "methods": { + "get": { + "description": "Gets one inventory item by ID.", + "flatPath": "userprofiles/{profileId}/projects/{projectId}/inventoryItems/{id}", + "httpMethod": "GET", + "id": "dfareporting.inventoryItems.get", + "parameterOrder": [ + "profileId", + "projectId", + "id" + ], + "parameters": { + "id": { + "description": "Inventory item ID.", + "format": "int64", + "location": "path", + "required": true, + "type": "string" + }, + "profileId": { + "description": "User profile ID associated with this request.", + "format": "int64", + "location": "path", + "required": true, + "type": "string" + }, + "projectId": { + "description": "Project ID for order documents.", + "format": "int64", + "location": "path", + "required": true, + "type": "string" + } + }, + "path": "userprofiles/{profileId}/projects/{projectId}/inventoryItems/{id}", + "response": { + "$ref": "InventoryItem" + }, + "scopes": [ + "https://www.googleapis.com/auth/dfatrafficking" + ] + }, + "list": { + "description": "Retrieves a list of inventory items, possibly filtered. This method supports paging.", + "flatPath": "userprofiles/{profileId}/projects/{projectId}/inventoryItems", + "httpMethod": "GET", + "id": "dfareporting.inventoryItems.list", + "parameterOrder": [ + "profileId", + "projectId" + ], + "parameters": { + "ids": { + "description": "Select only inventory items with these IDs.", + "format": "int64", + "location": "query", + "repeated": true, + "type": "string" + }, + "inPlan": { + "description": "Select only inventory items that are in plan.", + "location": "query", + "type": "boolean" + }, + "maxResults": { + "default": "1000", + "description": "Maximum number of results to return.", + "format": "int32", + "location": "query", + "maximum": "1000", + "minimum": "0", + "type": "integer" + }, + "orderId": { + "description": "Select only inventory items that belong to specified orders.", + "format": "int64", + "location": "query", + "repeated": true, + "type": "string" + }, + "pageToken": { + "description": "Value of the nextPageToken from the previous result page.", + "location": "query", + "type": "string" + }, + "profileId": { + "description": "User profile ID associated with this request.", + "format": "int64", + "location": "path", + "required": true, + "type": "string" + }, + "projectId": { + "description": "Project ID for order documents.", + "format": "int64", + "location": "path", + "required": true, + "type": "string" + }, + "siteId": { + "description": "Select only inventory items that are associated with these sites.", + "format": "int64", + "location": "query", + "repeated": true, + "type": "string" + }, + "sortField": { + "default": "ID", + "description": "Field by which to sort the list.", + "enum": [ + "ID", + "NAME" + ], + "enumDescriptions": [ + "", + "" + ], + "location": "query", + "type": "string" + }, + "sortOrder": { + "default": "ASCENDING", + "description": "Order of sorted results.", + "enum": [ + "ASCENDING", + "DESCENDING" + ], + "enumDescriptions": [ + "", + "" + ], + "location": "query", + "type": "string" + }, + "type": { + "description": "Select only inventory items with this type.", + "enum": [ + "PLANNING_PLACEMENT_TYPE_REGULAR", + "PLANNING_PLACEMENT_TYPE_CREDIT" + ], + "enumDescriptions": [ + "", + "" + ], + "location": "query", + "type": "string" + } + }, + "path": "userprofiles/{profileId}/projects/{projectId}/inventoryItems", + "response": { + "$ref": "InventoryItemsListResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/dfatrafficking" + ] + } + } + }, + "languages": { + "methods": { + "list": { + "description": "Retrieves a list of languages.", + "flatPath": "userprofiles/{profileId}/languages", + "httpMethod": "GET", + "id": "dfareporting.languages.list", + "parameterOrder": [ + "profileId" + ], + "parameters": { + "profileId": { + "description": "User profile ID associated with this request.", + "format": "int64", + "location": "path", + "required": true, + "type": "string" + } + }, + "path": "userprofiles/{profileId}/languages", + "response": { + "$ref": "LanguagesListResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/dfatrafficking" + ] + } + } + }, + "metros": { + "methods": { + "list": { + "description": "Retrieves a list of metros.", + "flatPath": "userprofiles/{profileId}/metros", + "httpMethod": "GET", + "id": "dfareporting.metros.list", + "parameterOrder": [ + "profileId" + ], + "parameters": { + "profileId": { + "description": "User profile ID associated with this request.", + "format": "int64", + "location": "path", + "required": true, + "type": "string" + } + }, + "path": "userprofiles/{profileId}/metros", + "response": { + "$ref": "MetrosListResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/dfatrafficking" + ] + } + } + }, + "mobileApps": { + "methods": { + "get": { + "description": "Gets one mobile app by ID.", + "flatPath": "userprofiles/{profileId}/mobileApps/{id}", + "httpMethod": "GET", + "id": "dfareporting.mobileApps.get", + "parameterOrder": [ + "profileId", + "id" + ], + "parameters": { + "id": { + "description": "Mobile app ID.", + "location": "path", + "required": true, + "type": "string" + }, + "profileId": { + "description": "User profile ID associated with this request.", + "format": "int64", + "location": "path", + "required": true, + "type": "string" + } + }, + "path": "userprofiles/{profileId}/mobileApps/{id}", + "response": { + "$ref": "MobileApp" + }, + "scopes": [ + "https://www.googleapis.com/auth/dfatrafficking" + ] + }, + "list": { + "description": "Retrieves list of available mobile apps.", + "flatPath": "userprofiles/{profileId}/mobileApps", + "httpMethod": "GET", + "id": "dfareporting.mobileApps.list", + "parameterOrder": [ + "profileId" + ], + "parameters": { + "directories": { + "description": "Select only apps from these directories.", + "enum": [ + "UNKNOWN", + "APPLE_APP_STORE", + "GOOGLE_PLAY_STORE" + ], + "enumDescriptions": [ + "", + "", + "" + ], + "location": "query", + "repeated": true, + "type": "string" + }, + "ids": { + "description": "Select only apps with these IDs.", + "location": "query", + "repeated": true, + "type": "string" + }, + "maxResults": { + "default": "1000", + "description": "Maximum number of results to return.", + "format": "int32", + "location": "query", + "maximum": "1000", + "minimum": "0", + "type": "integer" + }, + "pageToken": { + "description": "Value of the nextPageToken from the previous result page.", + "location": "query", + "type": "string" + }, + "profileId": { + "description": "User profile ID associated with this request.", + "format": "int64", + "location": "path", + "required": true, + "type": "string" + }, + "searchString": { + "description": "Allows searching for objects by name or ID. Wildcards (*) are allowed. For example, \"app*2015\" will return objects with names like \"app Jan 2018\", \"app Jan 2018\", or simply \"app 2018\". Most of the searches also add wildcards implicitly at the start and the end of the search string. For example, a search string of \"app\" will match objects with name \"my app\", \"app 2018\", or simply \"app\".", + "location": "query", + "type": "string" + } + }, + "path": "userprofiles/{profileId}/mobileApps", + "response": { + "$ref": "MobileAppsListResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/dfatrafficking" + ] + } + } + }, + "mobileCarriers": { + "methods": { + "get": { + "description": "Gets one mobile carrier by ID.", + "flatPath": "userprofiles/{profileId}/mobileCarriers/{id}", + "httpMethod": "GET", + "id": "dfareporting.mobileCarriers.get", + "parameterOrder": [ + "profileId", + "id" + ], + "parameters": { + "id": { + "description": "Mobile carrier ID.", + "format": "int64", + "location": "path", + "required": true, + "type": "string" + }, + "profileId": { + "description": "User profile ID associated with this request.", + "format": "int64", + "location": "path", + "required": true, + "type": "string" + } + }, + "path": "userprofiles/{profileId}/mobileCarriers/{id}", + "response": { + "$ref": "MobileCarrier" + }, + "scopes": [ + "https://www.googleapis.com/auth/dfatrafficking" + ] + }, + "list": { + "description": "Retrieves a list of mobile carriers.", + "flatPath": "userprofiles/{profileId}/mobileCarriers", + "httpMethod": "GET", + "id": "dfareporting.mobileCarriers.list", + "parameterOrder": [ + "profileId" + ], + "parameters": { + "profileId": { + "description": "User profile ID associated with this request.", + "format": "int64", + "location": "path", + "required": true, + "type": "string" + } + }, + "path": "userprofiles/{profileId}/mobileCarriers", + "response": { + "$ref": "MobileCarriersListResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/dfatrafficking" + ] + } + } + }, + "operatingSystemVersions": { + "methods": { + "get": { + "description": "Gets one operating system version by ID.", + "flatPath": "userprofiles/{profileId}/operatingSystemVersions/{id}", + "httpMethod": "GET", + "id": "dfareporting.operatingSystemVersions.get", + "parameterOrder": [ + "profileId", + "id" + ], + "parameters": { + "id": { + "description": "Operating system version ID.", + "format": "int64", + "location": "path", + "required": true, + "type": "string" + }, + "profileId": { + "description": "User profile ID associated with this request.", + "format": "int64", + "location": "path", + "required": true, + "type": "string" + } + }, + "path": "userprofiles/{profileId}/operatingSystemVersions/{id}", + "response": { + "$ref": "OperatingSystemVersion" + }, + "scopes": [ + "https://www.googleapis.com/auth/dfatrafficking" + ] + }, + "list": { + "description": "Retrieves a list of operating system versions.", + "flatPath": "userprofiles/{profileId}/operatingSystemVersions", + "httpMethod": "GET", + "id": "dfareporting.operatingSystemVersions.list", + "parameterOrder": [ + "profileId" + ], + "parameters": { + "profileId": { + "description": "User profile ID associated with this request.", + "format": "int64", + "location": "path", + "required": true, + "type": "string" + } + }, + "path": "userprofiles/{profileId}/operatingSystemVersions", + "response": { + "$ref": "OperatingSystemVersionsListResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/dfatrafficking" + ] + } + } + }, + "operatingSystems": { + "methods": { + "get": { + "description": "Gets one operating system by DART ID.", + "flatPath": "userprofiles/{profileId}/operatingSystems/{dartId}", + "httpMethod": "GET", + "id": "dfareporting.operatingSystems.get", + "parameterOrder": [ + "profileId", + "dartId" + ], + "parameters": { + "dartId": { + "description": "Operating system DART ID.", + "format": "int64", + "location": "path", + "required": true, + "type": "string" + }, + "profileId": { + "description": "User profile ID associated with this request.", + "format": "int64", + "location": "path", + "required": true, + "type": "string" + } + }, + "path": "userprofiles/{profileId}/operatingSystems/{dartId}", + "response": { + "$ref": "OperatingSystem" + }, + "scopes": [ + "https://www.googleapis.com/auth/dfatrafficking" + ] + }, + "list": { + "description": "Retrieves a list of operating systems.", + "flatPath": "userprofiles/{profileId}/operatingSystems", + "httpMethod": "GET", + "id": "dfareporting.operatingSystems.list", + "parameterOrder": [ + "profileId" + ], + "parameters": { + "profileId": { + "description": "User profile ID associated with this request.", + "format": "int64", + "location": "path", + "required": true, + "type": "string" + } + }, + "path": "userprofiles/{profileId}/operatingSystems", + "response": { + "$ref": "OperatingSystemsListResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/dfatrafficking" + ] + } + } + }, + "orderDocuments": { + "methods": { + "get": { + "description": "Gets one order document by ID.", + "flatPath": "userprofiles/{profileId}/projects/{projectId}/orderDocuments/{id}", + "httpMethod": "GET", + "id": "dfareporting.orderDocuments.get", + "parameterOrder": [ + "profileId", + "projectId", + "id" + ], + "parameters": { + "id": { + "description": "Order document ID.", + "format": "int64", + "location": "path", + "required": true, + "type": "string" + }, + "profileId": { + "description": "User profile ID associated with this request.", + "format": "int64", + "location": "path", + "required": true, + "type": "string" + }, + "projectId": { + "description": "Project ID for order documents.", + "format": "int64", + "location": "path", + "required": true, + "type": "string" + } + }, + "path": "userprofiles/{profileId}/projects/{projectId}/orderDocuments/{id}", + "response": { + "$ref": "OrderDocument" + }, + "scopes": [ + "https://www.googleapis.com/auth/dfatrafficking" + ] + }, + "list": { + "description": "Retrieves a list of order documents, possibly filtered. This method supports paging.", + "flatPath": "userprofiles/{profileId}/projects/{projectId}/orderDocuments", + "httpMethod": "GET", + "id": "dfareporting.orderDocuments.list", + "parameterOrder": [ + "profileId", + "projectId" + ], + "parameters": { + "approved": { + "description": "Select only order documents that have been approved by at least one user.", + "location": "query", + "type": "boolean" + }, + "ids": { + "description": "Select only order documents with these IDs.", + "format": "int64", + "location": "query", + "repeated": true, + "type": "string" + }, + "maxResults": { + "default": "1000", + "description": "Maximum number of results to return.", + "format": "int32", + "location": "query", + "maximum": "1000", + "minimum": "0", + "type": "integer" + }, + "orderId": { + "description": "Select only order documents for specified orders.", + "format": "int64", + "location": "query", + "repeated": true, + "type": "string" + }, + "pageToken": { + "description": "Value of the nextPageToken from the previous result page.", + "location": "query", + "type": "string" + }, + "profileId": { + "description": "User profile ID associated with this request.", + "format": "int64", + "location": "path", + "required": true, + "type": "string" + }, + "projectId": { + "description": "Project ID for order documents.", + "format": "int64", + "location": "path", + "required": true, + "type": "string" + }, + "searchString": { + "description": "Allows searching for order documents by name or ID. Wildcards (*) are allowed. For example, \"orderdocument*2015\" will return order documents with names like \"orderdocument June 2015\", \"orderdocument April 2015\", or simply \"orderdocument 2015\". Most of the searches also add wildcards implicitly at the start and the end of the search string. For example, a search string of \"orderdocument\" will match order documents with name \"my orderdocument\", \"orderdocument 2015\", or simply \"orderdocument\".", + "location": "query", + "type": "string" + }, + "siteId": { + "description": "Select only order documents that are associated with these sites.", + "format": "int64", + "location": "query", + "repeated": true, + "type": "string" + }, + "sortField": { + "default": "ID", + "description": "Field by which to sort the list.", + "enum": [ + "ID", + "NAME" + ], + "enumDescriptions": [ + "", + "" + ], + "location": "query", + "type": "string" + }, + "sortOrder": { + "default": "ASCENDING", + "description": "Order of sorted results.", + "enum": [ + "ASCENDING", + "DESCENDING" + ], + "enumDescriptions": [ + "", + "" + ], + "location": "query", + "type": "string" + } + }, + "path": "userprofiles/{profileId}/projects/{projectId}/orderDocuments", + "response": { + "$ref": "OrderDocumentsListResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/dfatrafficking" + ] + } + } + }, + "orders": { + "methods": { + "get": { + "description": "Gets one order by ID.", + "flatPath": "userprofiles/{profileId}/projects/{projectId}/orders/{id}", + "httpMethod": "GET", + "id": "dfareporting.orders.get", + "parameterOrder": [ + "profileId", + "projectId", + "id" + ], + "parameters": { + "id": { + "description": "Order ID.", + "format": "int64", + "location": "path", + "required": true, + "type": "string" + }, + "profileId": { + "description": "User profile ID associated with this request.", + "format": "int64", + "location": "path", + "required": true, + "type": "string" + }, + "projectId": { + "description": "Project ID for orders.", + "format": "int64", + "location": "path", + "required": true, + "type": "string" + } + }, + "path": "userprofiles/{profileId}/projects/{projectId}/orders/{id}", + "response": { + "$ref": "Order" + }, + "scopes": [ + "https://www.googleapis.com/auth/dfatrafficking" + ] + }, + "list": { + "description": "Retrieves a list of orders, possibly filtered. This method supports paging.", + "flatPath": "userprofiles/{profileId}/projects/{projectId}/orders", + "httpMethod": "GET", + "id": "dfareporting.orders.list", + "parameterOrder": [ + "profileId", + "projectId" + ], + "parameters": { + "ids": { + "description": "Select only orders with these IDs.", + "format": "int64", + "location": "query", + "repeated": true, + "type": "string" + }, + "maxResults": { + "default": "1000", + "description": "Maximum number of results to return.", + "format": "int32", + "location": "query", + "maximum": "1000", + "minimum": "0", + "type": "integer" + }, + "pageToken": { + "description": "Value of the nextPageToken from the previous result page.", + "location": "query", + "type": "string" + }, + "profileId": { + "description": "User profile ID associated with this request.", + "format": "int64", + "location": "path", + "required": true, + "type": "string" + }, + "projectId": { + "description": "Project ID for orders.", + "format": "int64", + "location": "path", + "required": true, + "type": "string" + }, + "searchString": { + "description": "Allows searching for orders by name or ID. Wildcards (*) are allowed. For example, \"order*2015\" will return orders with names like \"order June 2015\", \"order April 2015\", or simply \"order 2015\". Most of the searches also add wildcards implicitly at the start and the end of the search string. For example, a search string of \"order\" will match orders with name \"my order\", \"order 2015\", or simply \"order\".", + "location": "query", + "type": "string" + }, + "siteId": { + "description": "Select only orders that are associated with these site IDs.", + "format": "int64", + "location": "query", + "repeated": true, + "type": "string" + }, + "sortField": { + "default": "ID", + "description": "Field by which to sort the list.", + "enum": [ + "ID", + "NAME" + ], + "enumDescriptions": [ + "", + "" + ], + "location": "query", + "type": "string" + }, + "sortOrder": { + "default": "ASCENDING", + "description": "Order of sorted results.", + "enum": [ + "ASCENDING", + "DESCENDING" + ], + "enumDescriptions": [ + "", + "" + ], + "location": "query", + "type": "string" + } + }, + "path": "userprofiles/{profileId}/projects/{projectId}/orders", + "response": { + "$ref": "OrdersListResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/dfatrafficking" + ] + } + } + }, + "placementGroups": { + "methods": { + "get": { + "description": "Gets one placement group by ID.", + "flatPath": "userprofiles/{profileId}/placementGroups/{id}", + "httpMethod": "GET", + "id": "dfareporting.placementGroups.get", + "parameterOrder": [ + "profileId", + "id" + ], + "parameters": { + "id": { + "description": "Placement group ID.", + "format": "int64", + "location": "path", + "required": true, + "type": "string" + }, + "profileId": { + "description": "User profile ID associated with this request.", + "format": "int64", + "location": "path", + "required": true, + "type": "string" + } + }, + "path": "userprofiles/{profileId}/placementGroups/{id}", + "response": { + "$ref": "PlacementGroup" + }, + "scopes": [ + "https://www.googleapis.com/auth/dfatrafficking" + ] + }, + "insert": { + "description": "Inserts a new placement group.", + "flatPath": "userprofiles/{profileId}/placementGroups", + "httpMethod": "POST", + "id": "dfareporting.placementGroups.insert", + "parameterOrder": [ + "profileId" + ], + "parameters": { + "profileId": { + "description": "User profile ID associated with this request.", + "format": "int64", + "location": "path", + "required": true, + "type": "string" + } + }, + "path": "userprofiles/{profileId}/placementGroups", + "request": { + "$ref": "PlacementGroup" + }, + "response": { + "$ref": "PlacementGroup" + }, + "scopes": [ + "https://www.googleapis.com/auth/dfatrafficking" + ] + }, + "list": { + "description": "Retrieves a list of placement groups, possibly filtered. This method supports paging.", + "flatPath": "userprofiles/{profileId}/placementGroups", + "httpMethod": "GET", + "id": "dfareporting.placementGroups.list", + "parameterOrder": [ + "profileId" + ], + "parameters": { + "advertiserIds": { + "description": "Select only placement groups that belong to these advertisers.", + "format": "int64", + "location": "query", + "repeated": true, + "type": "string" + }, + "archived": { + "description": "Select only archived placements. Don't set this field to select both archived and non-archived placements.", + "location": "query", + "type": "boolean" + }, + "campaignIds": { + "description": "Select only placement groups that belong to these campaigns.", + "format": "int64", + "location": "query", + "repeated": true, + "type": "string" + }, + "contentCategoryIds": { + "description": "Select only placement groups that are associated with these content categories.", + "format": "int64", + "location": "query", + "repeated": true, + "type": "string" + }, + "directorySiteIds": { + "description": "Select only placement groups that are associated with these directory sites.", + "format": "int64", + "location": "query", + "repeated": true, + "type": "string" + }, + "ids": { + "description": "Select only placement groups with these IDs.", + "format": "int64", + "location": "query", + "repeated": true, + "type": "string" + }, + "maxEndDate": { + "description": "Select only placements or placement groups whose end date is on or before the specified maxEndDate. The date should be formatted as \"yyyy-MM-dd\".", + "location": "query", + "type": "string" + }, + "maxResults": { + "default": "800", + "description": "Maximum number of results to return.", + "format": "int32", + "location": "query", + "maximum": "800", + "minimum": "0", + "type": "integer" + }, + "maxStartDate": { + "description": "Select only placements or placement groups whose start date is on or before the specified maxStartDate. The date should be formatted as \"yyyy-MM-dd\".", + "location": "query", + "type": "string" + }, + "minEndDate": { + "description": "Select only placements or placement groups whose end date is on or after the specified minEndDate. The date should be formatted as \"yyyy-MM-dd\".", + "location": "query", + "type": "string" + }, + "minStartDate": { + "description": "Select only placements or placement groups whose start date is on or after the specified minStartDate. The date should be formatted as \"yyyy-MM-dd\".", + "location": "query", + "type": "string" + }, + "pageToken": { + "description": "Value of the nextPageToken from the previous result page.", + "location": "query", + "type": "string" + }, + "placementGroupType": { + "description": "Select only placement groups belonging with this group type. A package is a simple group of placements that acts as a single pricing point for a group of tags. A roadblock is a group of placements that not only acts as a single pricing point but also assumes that all the tags in it will be served at the same time. A roadblock requires one of its assigned placements to be marked as primary for reporting.", + "enum": [ + "PLACEMENT_PACKAGE", + "PLACEMENT_ROADBLOCK" + ], + "enumDescriptions": [ + "", + "" + ], + "location": "query", + "type": "string" + }, + "placementStrategyIds": { + "description": "Select only placement groups that are associated with these placement strategies.", + "format": "int64", + "location": "query", + "repeated": true, + "type": "string" + }, + "pricingTypes": { + "description": "Select only placement groups with these pricing types.", + "enum": [ + "PRICING_TYPE_CPM", + "PRICING_TYPE_CPC", + "PRICING_TYPE_CPA", + "PRICING_TYPE_FLAT_RATE_IMPRESSIONS", + "PRICING_TYPE_FLAT_RATE_CLICKS", + "PRICING_TYPE_CPM_ACTIVEVIEW" + ], + "enumDescriptions": [ + "", + "", + "", + "", + "", + "" + ], + "location": "query", + "repeated": true, + "type": "string" + }, + "profileId": { + "description": "User profile ID associated with this request.", + "format": "int64", + "location": "path", + "required": true, + "type": "string" + }, + "searchString": { + "description": "Allows searching for placement groups by name or ID. Wildcards (*) are allowed. For example, \"placement*2015\" will return placement groups with names like \"placement group June 2015\", \"placement group May 2015\", or simply \"placements 2015\". Most of the searches also add wildcards implicitly at the start and the end of the search string. For example, a search string of \"placementgroup\" will match placement groups with name \"my placementgroup\", \"placementgroup 2015\", or simply \"placementgroup\".", + "location": "query", + "type": "string" + }, + "siteIds": { + "description": "Select only placement groups that are associated with these sites.", + "format": "int64", + "location": "query", + "repeated": true, + "type": "string" + }, + "sortField": { + "default": "ID", + "description": "Field by which to sort the list.", + "enum": [ + "ID", + "NAME" + ], + "enumDescriptions": [ + "", + "" + ], + "location": "query", + "type": "string" + }, + "sortOrder": { + "default": "ASCENDING", + "description": "Order of sorted results.", + "enum": [ + "ASCENDING", + "DESCENDING" + ], + "enumDescriptions": [ + "", + "" + ], + "location": "query", + "type": "string" + } + }, + "path": "userprofiles/{profileId}/placementGroups", + "response": { + "$ref": "PlacementGroupsListResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/dfatrafficking" + ] + }, + "patch": { + "description": "Updates an existing placement group. This method supports patch semantics.", + "flatPath": "userprofiles/{profileId}/placementGroups", + "httpMethod": "PATCH", + "id": "dfareporting.placementGroups.patch", + "parameterOrder": [ + "profileId", + "id" + ], + "parameters": { + "id": { + "description": "PlacementGroup ID.", + "format": "int64", + "location": "query", + "required": true, + "type": "string" + }, + "profileId": { + "description": "User profile ID associated with this request.", + "format": "int64", + "location": "path", + "required": true, + "type": "string" + } + }, + "path": "userprofiles/{profileId}/placementGroups", + "request": { + "$ref": "PlacementGroup" + }, + "response": { + "$ref": "PlacementGroup" + }, + "scopes": [ + "https://www.googleapis.com/auth/dfatrafficking" + ] + }, + "update": { + "description": "Updates an existing placement group.", + "flatPath": "userprofiles/{profileId}/placementGroups", + "httpMethod": "PUT", + "id": "dfareporting.placementGroups.update", + "parameterOrder": [ + "profileId" + ], + "parameters": { + "profileId": { + "description": "User profile ID associated with this request.", + "format": "int64", + "location": "path", + "required": true, + "type": "string" + } + }, + "path": "userprofiles/{profileId}/placementGroups", + "request": { + "$ref": "PlacementGroup" + }, + "response": { + "$ref": "PlacementGroup" + }, + "scopes": [ + "https://www.googleapis.com/auth/dfatrafficking" + ] + } + } + }, + "placementStrategies": { + "methods": { + "delete": { + "description": "Deletes an existing placement strategy.", + "flatPath": "userprofiles/{profileId}/placementStrategies/{id}", + "httpMethod": "DELETE", + "id": "dfareporting.placementStrategies.delete", + "parameterOrder": [ + "profileId", + "id" + ], + "parameters": { + "id": { + "description": "Placement strategy ID.", + "format": "int64", + "location": "path", + "required": true, + "type": "string" + }, + "profileId": { + "description": "User profile ID associated with this request.", + "format": "int64", + "location": "path", + "required": true, + "type": "string" + } + }, + "path": "userprofiles/{profileId}/placementStrategies/{id}", + "scopes": [ + "https://www.googleapis.com/auth/dfatrafficking" + ] + }, + "get": { + "description": "Gets one placement strategy by ID.", + "flatPath": "userprofiles/{profileId}/placementStrategies/{id}", + "httpMethod": "GET", + "id": "dfareporting.placementStrategies.get", + "parameterOrder": [ + "profileId", + "id" + ], + "parameters": { + "id": { + "description": "Placement strategy ID.", + "format": "int64", + "location": "path", + "required": true, + "type": "string" + }, + "profileId": { + "description": "User profile ID associated with this request.", + "format": "int64", + "location": "path", + "required": true, + "type": "string" + } + }, + "path": "userprofiles/{profileId}/placementStrategies/{id}", + "response": { + "$ref": "PlacementStrategy" + }, + "scopes": [ + "https://www.googleapis.com/auth/dfatrafficking" + ] + }, + "insert": { + "description": "Inserts a new placement strategy.", + "flatPath": "userprofiles/{profileId}/placementStrategies", + "httpMethod": "POST", + "id": "dfareporting.placementStrategies.insert", + "parameterOrder": [ + "profileId" + ], + "parameters": { + "profileId": { + "description": "User profile ID associated with this request.", + "format": "int64", + "location": "path", + "required": true, + "type": "string" + } + }, + "path": "userprofiles/{profileId}/placementStrategies", + "request": { + "$ref": "PlacementStrategy" + }, + "response": { + "$ref": "PlacementStrategy" + }, + "scopes": [ + "https://www.googleapis.com/auth/dfatrafficking" + ] + }, + "list": { + "description": "Retrieves a list of placement strategies, possibly filtered. This method supports paging.", + "flatPath": "userprofiles/{profileId}/placementStrategies", + "httpMethod": "GET", + "id": "dfareporting.placementStrategies.list", + "parameterOrder": [ + "profileId" + ], + "parameters": { + "ids": { + "description": "Select only placement strategies with these IDs.", + "format": "int64", + "location": "query", + "repeated": true, + "type": "string" + }, + "maxResults": { + "default": "1000", + "description": "Maximum number of results to return.", + "format": "int32", + "location": "query", + "maximum": "1000", + "minimum": "0", + "type": "integer" + }, + "pageToken": { + "description": "Value of the nextPageToken from the previous result page.", + "location": "query", + "type": "string" + }, + "profileId": { + "description": "User profile ID associated with this request.", + "format": "int64", + "location": "path", + "required": true, + "type": "string" + }, + "searchString": { + "description": "Allows searching for objects by name or ID. Wildcards (*) are allowed. For example, \"placementstrategy*2015\" will return objects with names like \"placementstrategy June 2015\", \"placementstrategy April 2015\", or simply \"placementstrategy 2015\". Most of the searches also add wildcards implicitly at the start and the end of the search string. For example, a search string of \"placementstrategy\" will match objects with name \"my placementstrategy\", \"placementstrategy 2015\", or simply \"placementstrategy\".", + "location": "query", + "type": "string" + }, + "sortField": { + "default": "ID", + "description": "Field by which to sort the list.", + "enum": [ + "ID", + "NAME" + ], + "enumDescriptions": [ + "", + "" + ], + "location": "query", + "type": "string" + }, + "sortOrder": { + "default": "ASCENDING", + "description": "Order of sorted results.", + "enum": [ + "ASCENDING", + "DESCENDING" + ], + "enumDescriptions": [ + "", + "" + ], + "location": "query", + "type": "string" + } + }, + "path": "userprofiles/{profileId}/placementStrategies", + "response": { + "$ref": "PlacementStrategiesListResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/dfatrafficking" + ] + }, + "patch": { + "description": "Updates an existing placement strategy. This method supports patch semantics.", + "flatPath": "userprofiles/{profileId}/placementStrategies", + "httpMethod": "PATCH", + "id": "dfareporting.placementStrategies.patch", + "parameterOrder": [ + "profileId", + "id" + ], + "parameters": { + "id": { + "description": "PlacementStrategy ID.", + "format": "int64", + "location": "query", + "required": true, + "type": "string" + }, + "profileId": { + "description": "User profile ID associated with this request.", + "format": "int64", + "location": "path", + "required": true, + "type": "string" + } + }, + "path": "userprofiles/{profileId}/placementStrategies", + "request": { + "$ref": "PlacementStrategy" + }, + "response": { + "$ref": "PlacementStrategy" + }, + "scopes": [ + "https://www.googleapis.com/auth/dfatrafficking" + ] + }, + "update": { + "description": "Updates an existing placement strategy.", + "flatPath": "userprofiles/{profileId}/placementStrategies", + "httpMethod": "PUT", + "id": "dfareporting.placementStrategies.update", + "parameterOrder": [ + "profileId" + ], + "parameters": { + "profileId": { + "description": "User profile ID associated with this request.", + "format": "int64", + "location": "path", + "required": true, + "type": "string" + } + }, + "path": "userprofiles/{profileId}/placementStrategies", + "request": { + "$ref": "PlacementStrategy" + }, + "response": { + "$ref": "PlacementStrategy" + }, + "scopes": [ + "https://www.googleapis.com/auth/dfatrafficking" + ] + } + } + }, + "placements": { + "methods": { + "generatetags": { + "description": "Generates tags for a placement.", + "flatPath": "userprofiles/{profileId}/placements/generatetags", + "httpMethod": "POST", + "id": "dfareporting.placements.generatetags", + "parameterOrder": [ + "profileId" + ], + "parameters": { + "campaignId": { + "description": "Generate placements belonging to this campaign. This is a required field.", + "format": "int64", + "location": "query", + "type": "string" + }, + "placementIds": { + "description": "Generate tags for these placements.", + "format": "int64", + "location": "query", + "repeated": true, + "type": "string" + }, + "profileId": { + "description": "User profile ID associated with this request.", + "format": "int64", + "location": "path", + "required": true, + "type": "string" + }, + "tagFormats": { + "description": "Tag formats to generate for these placements. *Note:* PLACEMENT_TAG_STANDARD can only be generated for 1x1 placements.", + "enum": [ + "PLACEMENT_TAG_STANDARD", + "PLACEMENT_TAG_IFRAME_JAVASCRIPT", + "PLACEMENT_TAG_IFRAME_ILAYER", + "PLACEMENT_TAG_INTERNAL_REDIRECT", + "PLACEMENT_TAG_JAVASCRIPT", + "PLACEMENT_TAG_INTERSTITIAL_IFRAME_JAVASCRIPT", + "PLACEMENT_TAG_INTERSTITIAL_INTERNAL_REDIRECT", + "PLACEMENT_TAG_INTERSTITIAL_JAVASCRIPT", + "PLACEMENT_TAG_CLICK_COMMANDS", + "PLACEMENT_TAG_INSTREAM_VIDEO_PREFETCH", + "PLACEMENT_TAG_TRACKING", + "PLACEMENT_TAG_TRACKING_IFRAME", + "PLACEMENT_TAG_TRACKING_JAVASCRIPT", + "PLACEMENT_TAG_INSTREAM_VIDEO_PREFETCH_VAST_3", + "PLACEMENT_TAG_IFRAME_JAVASCRIPT_LEGACY", + "PLACEMENT_TAG_JAVASCRIPT_LEGACY", + "PLACEMENT_TAG_INTERSTITIAL_IFRAME_JAVASCRIPT_LEGACY", + "PLACEMENT_TAG_INTERSTITIAL_JAVASCRIPT_LEGACY", + "PLACEMENT_TAG_INSTREAM_VIDEO_PREFETCH_VAST_4", + "PLACEMENT_TAG_TRACKING_THIRD_PARTY_MEASUREMENT" + ], + "enumDescriptions": [ + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "location": "query", + "repeated": true, + "type": "string" + } + }, + "path": "userprofiles/{profileId}/placements/generatetags", + "response": { + "$ref": "PlacementsGenerateTagsResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/dfatrafficking" + ] + }, + "get": { + "description": "Gets one placement by ID.", + "flatPath": "userprofiles/{profileId}/placements/{id}", + "httpMethod": "GET", + "id": "dfareporting.placements.get", + "parameterOrder": [ + "profileId", + "id" + ], + "parameters": { + "id": { + "description": "Placement ID.", + "format": "int64", + "location": "path", + "required": true, + "type": "string" + }, + "profileId": { + "description": "User profile ID associated with this request.", + "format": "int64", + "location": "path", + "required": true, + "type": "string" + } + }, + "path": "userprofiles/{profileId}/placements/{id}", + "response": { + "$ref": "Placement" + }, + "scopes": [ + "https://www.googleapis.com/auth/dfatrafficking" + ] + }, + "insert": { + "description": "Inserts a new placement.", + "flatPath": "userprofiles/{profileId}/placements", + "httpMethod": "POST", + "id": "dfareporting.placements.insert", + "parameterOrder": [ + "profileId" + ], + "parameters": { + "profileId": { + "description": "User profile ID associated with this request.", + "format": "int64", + "location": "path", + "required": true, + "type": "string" + } + }, + "path": "userprofiles/{profileId}/placements", + "request": { + "$ref": "Placement" + }, + "response": { + "$ref": "Placement" + }, + "scopes": [ + "https://www.googleapis.com/auth/dfatrafficking" + ] + }, + "list": { + "description": "Retrieves a list of placements, possibly filtered. This method supports paging.", + "flatPath": "userprofiles/{profileId}/placements", + "httpMethod": "GET", + "id": "dfareporting.placements.list", + "parameterOrder": [ + "profileId" + ], + "parameters": { + "advertiserIds": { + "description": "Select only placements that belong to these advertisers.", + "format": "int64", + "location": "query", + "repeated": true, + "type": "string" + }, + "archived": { + "description": "Select only archived placements. Don't set this field to select both archived and non-archived placements.", + "location": "query", + "type": "boolean" + }, + "campaignIds": { + "description": "Select only placements that belong to these campaigns.", + "format": "int64", + "location": "query", + "repeated": true, + "type": "string" + }, + "compatibilities": { + "description": "Select only placements that are associated with these compatibilities. DISPLAY and DISPLAY_INTERSTITIAL refer to rendering either on desktop or on mobile devices for regular or interstitial ads respectively. APP and APP_INTERSTITIAL are for rendering in mobile apps. IN_STREAM_VIDEO refers to rendering in in-stream video ads developed with the VAST standard.", + "enum": [ + "DISPLAY", + "DISPLAY_INTERSTITIAL", + "APP", + "APP_INTERSTITIAL", + "IN_STREAM_VIDEO", + "IN_STREAM_AUDIO" + ], + "enumDescriptions": [ + "", + "", + "", + "", + "", + "" + ], + "location": "query", + "repeated": true, + "type": "string" + }, + "contentCategoryIds": { + "description": "Select only placements that are associated with these content categories.", + "format": "int64", + "location": "query", + "repeated": true, + "type": "string" + }, + "directorySiteIds": { + "description": "Select only placements that are associated with these directory sites.", + "format": "int64", + "location": "query", + "repeated": true, + "type": "string" + }, + "groupIds": { + "description": "Select only placements that belong to these placement groups.", + "format": "int64", + "location": "query", + "repeated": true, + "type": "string" + }, + "ids": { + "description": "Select only placements with these IDs.", + "format": "int64", + "location": "query", + "repeated": true, + "type": "string" + }, + "maxEndDate": { + "description": "Select only placements or placement groups whose end date is on or before the specified maxEndDate. The date should be formatted as \"yyyy-MM-dd\".", + "location": "query", + "type": "string" + }, + "maxResults": { + "default": "1000", + "description": "Maximum number of results to return.", + "format": "int32", + "location": "query", + "maximum": "1000", + "minimum": "0", + "type": "integer" + }, + "maxStartDate": { + "description": "Select only placements or placement groups whose start date is on or before the specified maxStartDate. The date should be formatted as \"yyyy-MM-dd\".", + "location": "query", + "type": "string" + }, + "minEndDate": { + "description": "Select only placements or placement groups whose end date is on or after the specified minEndDate. The date should be formatted as \"yyyy-MM-dd\".", + "location": "query", + "type": "string" + }, + "minStartDate": { + "description": "Select only placements or placement groups whose start date is on or after the specified minStartDate. The date should be formatted as \"yyyy-MM-dd\".", + "location": "query", + "type": "string" + }, + "pageToken": { + "description": "Value of the nextPageToken from the previous result page.", + "location": "query", + "type": "string" + }, + "paymentSource": { + "description": "Select only placements with this payment source.", + "enum": [ + "PLACEMENT_AGENCY_PAID", + "PLACEMENT_PUBLISHER_PAID" + ], + "enumDescriptions": [ + "", + "" + ], + "location": "query", + "type": "string" + }, + "placementStrategyIds": { + "description": "Select only placements that are associated with these placement strategies.", + "format": "int64", + "location": "query", + "repeated": true, + "type": "string" + }, + "pricingTypes": { + "description": "Select only placements with these pricing types.", + "enum": [ + "PRICING_TYPE_CPM", + "PRICING_TYPE_CPC", + "PRICING_TYPE_CPA", + "PRICING_TYPE_FLAT_RATE_IMPRESSIONS", + "PRICING_TYPE_FLAT_RATE_CLICKS", + "PRICING_TYPE_CPM_ACTIVEVIEW" + ], + "enumDescriptions": [ + "", + "", + "", + "", + "", + "" + ], + "location": "query", + "repeated": true, + "type": "string" + }, + "profileId": { + "description": "User profile ID associated with this request.", + "format": "int64", + "location": "path", + "required": true, + "type": "string" + }, + "searchString": { + "description": "Allows searching for placements by name or ID. Wildcards (*) are allowed. For example, \"placement*2015\" will return placements with names like \"placement June 2015\", \"placement May 2015\", or simply \"placements 2015\". Most of the searches also add wildcards implicitly at the start and the end of the search string. For example, a search string of \"placement\" will match placements with name \"my placement\", \"placement 2015\", or simply \"placement\" .", + "location": "query", + "type": "string" + }, + "siteIds": { + "description": "Select only placements that are associated with these sites.", + "format": "int64", + "location": "query", + "repeated": true, + "type": "string" + }, + "sizeIds": { + "description": "Select only placements that are associated with these sizes.", + "format": "int64", + "location": "query", + "repeated": true, + "type": "string" + }, + "sortField": { + "default": "ID", + "description": "Field by which to sort the list.", + "enum": [ + "ID", + "NAME" + ], + "enumDescriptions": [ + "", + "" + ], + "location": "query", + "type": "string" + }, + "sortOrder": { + "default": "ASCENDING", + "description": "Order of sorted results.", + "enum": [ + "ASCENDING", + "DESCENDING" + ], + "enumDescriptions": [ + "", + "" + ], + "location": "query", + "type": "string" + } + }, + "path": "userprofiles/{profileId}/placements", + "response": { + "$ref": "PlacementsListResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/dfatrafficking" + ] + }, + "patch": { + "description": "Updates an existing placement. This method supports patch semantics.", + "flatPath": "userprofiles/{profileId}/placements", + "httpMethod": "PATCH", + "id": "dfareporting.placements.patch", + "parameterOrder": [ + "profileId", + "id" + ], + "parameters": { + "id": { + "description": "Placement ID.", + "format": "int64", + "location": "query", + "required": true, + "type": "string" + }, + "profileId": { + "description": "User profile ID associated with this request.", + "format": "int64", + "location": "path", + "required": true, + "type": "string" + } + }, + "path": "userprofiles/{profileId}/placements", + "request": { + "$ref": "Placement" + }, + "response": { + "$ref": "Placement" + }, + "scopes": [ + "https://www.googleapis.com/auth/dfatrafficking" + ] + }, + "update": { + "description": "Updates an existing placement.", + "flatPath": "userprofiles/{profileId}/placements", + "httpMethod": "PUT", + "id": "dfareporting.placements.update", + "parameterOrder": [ + "profileId" + ], + "parameters": { + "profileId": { + "description": "User profile ID associated with this request.", + "format": "int64", + "location": "path", + "required": true, + "type": "string" + } + }, + "path": "userprofiles/{profileId}/placements", + "request": { + "$ref": "Placement" + }, + "response": { + "$ref": "Placement" + }, + "scopes": [ + "https://www.googleapis.com/auth/dfatrafficking" + ] + } + } + }, + "platformTypes": { + "methods": { + "get": { + "description": "Gets one platform type by ID.", + "flatPath": "userprofiles/{profileId}/platformTypes/{id}", + "httpMethod": "GET", + "id": "dfareporting.platformTypes.get", + "parameterOrder": [ + "profileId", + "id" + ], + "parameters": { + "id": { + "description": "Platform type ID.", + "format": "int64", + "location": "path", + "required": true, + "type": "string" + }, + "profileId": { + "description": "User profile ID associated with this request.", + "format": "int64", + "location": "path", + "required": true, + "type": "string" + } + }, + "path": "userprofiles/{profileId}/platformTypes/{id}", + "response": { + "$ref": "PlatformType" + }, + "scopes": [ + "https://www.googleapis.com/auth/dfatrafficking" + ] + }, + "list": { + "description": "Retrieves a list of platform types.", + "flatPath": "userprofiles/{profileId}/platformTypes", + "httpMethod": "GET", + "id": "dfareporting.platformTypes.list", + "parameterOrder": [ + "profileId" + ], + "parameters": { + "profileId": { + "description": "User profile ID associated with this request.", + "format": "int64", + "location": "path", + "required": true, + "type": "string" + } + }, + "path": "userprofiles/{profileId}/platformTypes", + "response": { + "$ref": "PlatformTypesListResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/dfatrafficking" + ] + } + } + }, + "postalCodes": { + "methods": { + "get": { + "description": "Gets one postal code by ID.", + "flatPath": "userprofiles/{profileId}/postalCodes/{code}", + "httpMethod": "GET", + "id": "dfareporting.postalCodes.get", + "parameterOrder": [ + "profileId", + "code" + ], + "parameters": { + "code": { + "description": "Postal code ID.", + "location": "path", + "required": true, + "type": "string" + }, + "profileId": { + "description": "User profile ID associated with this request.", + "format": "int64", + "location": "path", + "required": true, + "type": "string" + } + }, + "path": "userprofiles/{profileId}/postalCodes/{code}", + "response": { + "$ref": "PostalCode" + }, + "scopes": [ + "https://www.googleapis.com/auth/dfatrafficking" + ] + }, + "list": { + "description": "Retrieves a list of postal codes.", + "flatPath": "userprofiles/{profileId}/postalCodes", + "httpMethod": "GET", + "id": "dfareporting.postalCodes.list", + "parameterOrder": [ + "profileId" + ], + "parameters": { + "profileId": { + "description": "User profile ID associated with this request.", + "format": "int64", + "location": "path", + "required": true, + "type": "string" + } + }, + "path": "userprofiles/{profileId}/postalCodes", + "response": { + "$ref": "PostalCodesListResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/dfatrafficking" + ] + } + } + }, + "projects": { + "methods": { + "get": { + "description": "Gets one project by ID.", + "flatPath": "userprofiles/{profileId}/projects/{id}", + "httpMethod": "GET", + "id": "dfareporting.projects.get", + "parameterOrder": [ + "profileId", + "id" + ], + "parameters": { + "id": { + "description": "Project ID.", + "format": "int64", + "location": "path", + "required": true, + "type": "string" + }, + "profileId": { + "description": "User profile ID associated with this request.", + "format": "int64", + "location": "path", + "required": true, + "type": "string" + } + }, + "path": "userprofiles/{profileId}/projects/{id}", + "response": { + "$ref": "Project" + }, + "scopes": [ + "https://www.googleapis.com/auth/dfatrafficking" + ] + }, + "list": { + "description": "Retrieves a list of projects, possibly filtered. This method supports paging .", + "flatPath": "userprofiles/{profileId}/projects", + "httpMethod": "GET", + "id": "dfareporting.projects.list", + "parameterOrder": [ + "profileId" + ], + "parameters": { + "advertiserIds": { + "description": "Select only projects with these advertiser IDs.", + "format": "int64", + "location": "query", + "repeated": true, + "type": "string" + }, + "ids": { + "description": "Select only projects with these IDs.", + "format": "int64", + "location": "query", + "repeated": true, + "type": "string" + }, + "maxResults": { + "default": "1000", + "description": "Maximum number of results to return.", + "format": "int32", + "location": "query", + "maximum": "1000", + "minimum": "0", + "type": "integer" + }, + "pageToken": { + "description": "Value of the nextPageToken from the previous result page.", + "location": "query", + "type": "string" + }, + "profileId": { + "description": "User profile ID associated with this request.", + "format": "int64", + "location": "path", + "required": true, + "type": "string" + }, + "searchString": { + "description": "Allows searching for projects by name or ID. Wildcards (*) are allowed. For example, \"project*2015\" will return projects with names like \"project June 2015\", \"project April 2015\", or simply \"project 2015\". Most of the searches also add wildcards implicitly at the start and the end of the search string. For example, a search string of \"project\" will match projects with name \"my project\", \"project 2015\", or simply \"project\".", + "location": "query", + "type": "string" + }, + "sortField": { + "default": "ID", + "description": "Field by which to sort the list.", + "enum": [ + "ID", + "NAME" + ], + "enumDescriptions": [ + "", + "" + ], + "location": "query", + "type": "string" + }, + "sortOrder": { + "default": "ASCENDING", + "description": "Order of sorted results.", + "enum": [ + "ASCENDING", + "DESCENDING" + ], + "enumDescriptions": [ + "", + "" + ], + "location": "query", + "type": "string" + } + }, + "path": "userprofiles/{profileId}/projects", + "response": { + "$ref": "ProjectsListResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/dfatrafficking" + ] + } + } + }, + "regions": { + "methods": { + "list": { + "description": "Retrieves a list of regions.", + "flatPath": "userprofiles/{profileId}/regions", + "httpMethod": "GET", + "id": "dfareporting.regions.list", + "parameterOrder": [ + "profileId" + ], + "parameters": { + "profileId": { + "description": "User profile ID associated with this request.", + "format": "int64", + "location": "path", + "required": true, + "type": "string" + } + }, + "path": "userprofiles/{profileId}/regions", + "response": { + "$ref": "RegionsListResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/dfatrafficking" + ] + } + } + }, + "remarketingListShares": { + "methods": { + "get": { + "description": "Gets one remarketing list share by remarketing list ID.", + "flatPath": "userprofiles/{profileId}/remarketingListShares/{remarketingListId}", + "httpMethod": "GET", + "id": "dfareporting.remarketingListShares.get", + "parameterOrder": [ + "profileId", + "remarketingListId" + ], + "parameters": { + "profileId": { + "description": "User profile ID associated with this request.", + "format": "int64", + "location": "path", + "required": true, + "type": "string" + }, + "remarketingListId": { + "description": "Remarketing list ID.", + "format": "int64", + "location": "path", + "required": true, + "type": "string" + } + }, + "path": "userprofiles/{profileId}/remarketingListShares/{remarketingListId}", + "response": { + "$ref": "RemarketingListShare" + }, + "scopes": [ + "https://www.googleapis.com/auth/dfatrafficking" + ] + }, + "patch": { + "description": "Updates an existing remarketing list share. This method supports patch semantics.", + "flatPath": "userprofiles/{profileId}/remarketingListShares", + "httpMethod": "PATCH", + "id": "dfareporting.remarketingListShares.patch", + "parameterOrder": [ + "profileId", + "id" + ], + "parameters": { + "id": { + "description": "RemarketingList ID.", + "format": "int64", + "location": "query", + "required": true, + "type": "string" + }, + "profileId": { + "description": "User profile ID associated with this request.", + "format": "int64", + "location": "path", + "required": true, + "type": "string" + } + }, + "path": "userprofiles/{profileId}/remarketingListShares", + "request": { + "$ref": "RemarketingListShare" + }, + "response": { + "$ref": "RemarketingListShare" + }, + "scopes": [ + "https://www.googleapis.com/auth/dfatrafficking" + ] + }, + "update": { + "description": "Updates an existing remarketing list share.", + "flatPath": "userprofiles/{profileId}/remarketingListShares", + "httpMethod": "PUT", + "id": "dfareporting.remarketingListShares.update", + "parameterOrder": [ + "profileId" + ], + "parameters": { + "profileId": { + "description": "User profile ID associated with this request.", + "format": "int64", + "location": "path", + "required": true, + "type": "string" + } + }, + "path": "userprofiles/{profileId}/remarketingListShares", + "request": { + "$ref": "RemarketingListShare" + }, + "response": { + "$ref": "RemarketingListShare" + }, + "scopes": [ + "https://www.googleapis.com/auth/dfatrafficking" + ] + } + } + }, + "remarketingLists": { + "methods": { + "get": { + "description": "Gets one remarketing list by ID.", + "flatPath": "userprofiles/{profileId}/remarketingLists/{id}", + "httpMethod": "GET", + "id": "dfareporting.remarketingLists.get", + "parameterOrder": [ + "profileId", + "id" + ], + "parameters": { + "id": { + "description": "Remarketing list ID.", + "format": "int64", + "location": "path", + "required": true, + "type": "string" + }, + "profileId": { + "description": "User profile ID associated with this request.", + "format": "int64", + "location": "path", + "required": true, + "type": "string" + } + }, + "path": "userprofiles/{profileId}/remarketingLists/{id}", + "response": { + "$ref": "RemarketingList" + }, + "scopes": [ + "https://www.googleapis.com/auth/dfatrafficking" + ] + }, + "insert": { + "description": "Inserts a new remarketing list.", + "flatPath": "userprofiles/{profileId}/remarketingLists", + "httpMethod": "POST", + "id": "dfareporting.remarketingLists.insert", + "parameterOrder": [ + "profileId" + ], + "parameters": { + "profileId": { + "description": "User profile ID associated with this request.", + "format": "int64", + "location": "path", + "required": true, + "type": "string" + } + }, + "path": "userprofiles/{profileId}/remarketingLists", + "request": { + "$ref": "RemarketingList" + }, + "response": { + "$ref": "RemarketingList" + }, + "scopes": [ + "https://www.googleapis.com/auth/dfatrafficking" + ] + }, + "list": { + "description": "Retrieves a list of remarketing lists, possibly filtered. This method supports paging.", + "flatPath": "userprofiles/{profileId}/remarketingLists", + "httpMethod": "GET", + "id": "dfareporting.remarketingLists.list", + "parameterOrder": [ + "profileId", + "advertiserId" + ], + "parameters": { + "active": { + "description": "Select only active or only inactive remarketing lists.", + "location": "query", + "type": "boolean" + }, + "advertiserId": { + "description": "Select only remarketing lists owned by this advertiser.", + "format": "int64", + "location": "query", + "required": true, + "type": "string" + }, + "floodlightActivityId": { + "description": "Select only remarketing lists that have this floodlight activity ID.", + "format": "int64", + "location": "query", + "type": "string" + }, + "maxResults": { + "default": "1000", + "description": "Maximum number of results to return.", + "format": "int32", + "location": "query", + "maximum": "1000", + "minimum": "0", + "type": "integer" + }, + "name": { + "description": "Allows searching for objects by name or ID. Wildcards (*) are allowed. For example, \"remarketing list*2015\" will return objects with names like \"remarketing list June 2015\", \"remarketing list April 2015\", or simply \"remarketing list 2015\". Most of the searches also add wildcards implicitly at the start and the end of the search string. For example, a search string of \"remarketing list\" will match objects with name \"my remarketing list\", \"remarketing list 2015\", or simply \"remarketing list\".", + "location": "query", + "type": "string" + }, + "pageToken": { + "description": "Value of the nextPageToken from the previous result page.", + "location": "query", + "type": "string" + }, + "profileId": { + "description": "User profile ID associated with this request.", + "format": "int64", + "location": "path", + "required": true, + "type": "string" + }, + "sortField": { + "default": "ID", + "description": "Field by which to sort the list.", + "enum": [ + "ID", + "NAME" + ], + "enumDescriptions": [ + "", + "" + ], + "location": "query", + "type": "string" + }, + "sortOrder": { + "default": "ASCENDING", + "description": "Order of sorted results.", + "enum": [ + "ASCENDING", + "DESCENDING" + ], + "enumDescriptions": [ + "", + "" + ], + "location": "query", + "type": "string" + } + }, + "path": "userprofiles/{profileId}/remarketingLists", + "response": { + "$ref": "RemarketingListsListResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/dfatrafficking" + ] + }, + "patch": { + "description": "Updates an existing remarketing list. This method supports patch semantics.", + "flatPath": "userprofiles/{profileId}/remarketingLists", + "httpMethod": "PATCH", + "id": "dfareporting.remarketingLists.patch", + "parameterOrder": [ + "profileId", + "id" + ], + "parameters": { + "id": { + "description": "RemarketingList ID.", + "format": "int64", + "location": "query", + "required": true, + "type": "string" + }, + "profileId": { + "description": "User profile ID associated with this request.", + "format": "int64", + "location": "path", + "required": true, + "type": "string" + } + }, + "path": "userprofiles/{profileId}/remarketingLists", + "request": { + "$ref": "RemarketingList" + }, + "response": { + "$ref": "RemarketingList" + }, + "scopes": [ + "https://www.googleapis.com/auth/dfatrafficking" + ] + }, + "update": { + "description": "Updates an existing remarketing list.", + "flatPath": "userprofiles/{profileId}/remarketingLists", + "httpMethod": "PUT", + "id": "dfareporting.remarketingLists.update", + "parameterOrder": [ + "profileId" + ], + "parameters": { + "profileId": { + "description": "User profile ID associated with this request.", + "format": "int64", + "location": "path", + "required": true, + "type": "string" + } + }, + "path": "userprofiles/{profileId}/remarketingLists", + "request": { + "$ref": "RemarketingList" + }, + "response": { + "$ref": "RemarketingList" + }, + "scopes": [ + "https://www.googleapis.com/auth/dfatrafficking" + ] + } + } + }, + "reports": { + "methods": { + "delete": { + "description": "Deletes a report by its ID.", + "flatPath": "userprofiles/{profileId}/reports/{reportId}", + "httpMethod": "DELETE", + "id": "dfareporting.reports.delete", + "parameterOrder": [ + "profileId", + "reportId" + ], + "parameters": { + "profileId": { + "description": "The Campaign Manager 360 user profile ID.", + "format": "int64", + "location": "path", + "required": true, + "type": "string" + }, + "reportId": { + "description": "The ID of the report.", + "format": "int64", + "location": "path", + "required": true, + "type": "string" + } + }, + "path": "userprofiles/{profileId}/reports/{reportId}", + "scopes": [ + "https://www.googleapis.com/auth/dfareporting" + ] + }, + "get": { + "description": "Retrieves a report by its ID.", + "flatPath": "userprofiles/{profileId}/reports/{reportId}", + "httpMethod": "GET", + "id": "dfareporting.reports.get", + "parameterOrder": [ + "profileId", + "reportId" + ], + "parameters": { + "profileId": { + "description": "The Campaign Manager 360 user profile ID.", + "format": "int64", + "location": "path", + "required": true, + "type": "string" + }, + "reportId": { + "description": "The ID of the report.", + "format": "int64", + "location": "path", + "required": true, + "type": "string" + } + }, + "path": "userprofiles/{profileId}/reports/{reportId}", + "response": { + "$ref": "Report" + }, + "scopes": [ + "https://www.googleapis.com/auth/dfareporting" + ] + }, + "insert": { + "description": "Creates a report.", + "flatPath": "userprofiles/{profileId}/reports", + "httpMethod": "POST", + "id": "dfareporting.reports.insert", + "parameterOrder": [ + "profileId" + ], + "parameters": { + "profileId": { + "description": "The Campaign Manager 360 user profile ID.", + "format": "int64", + "location": "path", + "required": true, + "type": "string" + } + }, + "path": "userprofiles/{profileId}/reports", + "request": { + "$ref": "Report" + }, + "response": { + "$ref": "Report" + }, + "scopes": [ + "https://www.googleapis.com/auth/dfareporting" + ] + }, + "list": { + "description": "Retrieves list of reports.", + "flatPath": "userprofiles/{profileId}/reports", + "httpMethod": "GET", + "id": "dfareporting.reports.list", + "parameterOrder": [ + "profileId" + ], + "parameters": { + "maxResults": { + "default": "10", + "description": "Maximum number of results to return.", + "format": "int32", + "location": "query", + "maximum": "10", + "minimum": "0", + "type": "integer" + }, + "pageToken": { + "description": "The value of the nextToken from the previous result page.", + "location": "query", + "type": "string" + }, + "profileId": { + "description": "The Campaign Manager 360 user profile ID.", + "format": "int64", + "location": "path", + "required": true, + "type": "string" + }, + "scope": { + "default": "MINE", + "description": "The scope that defines which results are returned.", + "enum": [ + "ALL", + "MINE" + ], + "enumDescriptions": [ + "All reports in account.", + "My reports." + ], + "location": "query", + "type": "string" + }, + "sortField": { + "default": "LAST_MODIFIED_TIME", + "description": "The field by which to sort the list.", + "enum": [ + "ID", + "LAST_MODIFIED_TIME", + "NAME" + ], + "enumDescriptions": [ + "Sort by report ID.", + "Sort by 'lastModifiedTime' field.", + "Sort by name of reports." + ], + "location": "query", + "type": "string" + }, + "sortOrder": { + "default": "DESCENDING", + "description": "Order of sorted results.", + "enum": [ + "ASCENDING", + "DESCENDING" + ], + "enumDescriptions": [ + "Ascending order.", + "Descending order." + ], + "location": "query", + "type": "string" + } + }, + "path": "userprofiles/{profileId}/reports", + "response": { + "$ref": "ReportList" + }, + "scopes": [ + "https://www.googleapis.com/auth/dfareporting" + ] + }, + "patch": { + "description": "Updates an existing report. This method supports patch semantics.", + "flatPath": "userprofiles/{profileId}/reports/{reportId}", + "httpMethod": "PATCH", + "id": "dfareporting.reports.patch", + "parameterOrder": [ + "profileId", + "reportId" + ], + "parameters": { + "profileId": { + "description": "The DFA user profile ID.", + "format": "int64", + "location": "path", + "required": true, + "type": "string" + }, + "reportId": { + "description": "The ID of the report.", + "format": "int64", + "location": "path", + "required": true, + "type": "string" + } + }, + "path": "userprofiles/{profileId}/reports/{reportId}", + "request": { + "$ref": "Report" + }, + "response": { + "$ref": "Report" + }, + "scopes": [ + "https://www.googleapis.com/auth/dfareporting" + ] + }, + "run": { + "description": "Runs a report.", + "flatPath": "userprofiles/{profileId}/reports/{reportId}/run", + "httpMethod": "POST", + "id": "dfareporting.reports.run", + "parameterOrder": [ + "profileId", + "reportId" + ], + "parameters": { + "profileId": { + "description": "The Campaign Manager 360 user profile ID.", + "format": "int64", + "location": "path", + "required": true, + "type": "string" + }, + "reportId": { + "description": "The ID of the report.", + "format": "int64", + "location": "path", + "required": true, + "type": "string" + }, + "synchronous": { + "default": "false", + "description": "If set and true, tries to run the report synchronously.", + "location": "query", + "type": "boolean" + } + }, + "path": "userprofiles/{profileId}/reports/{reportId}/run", + "response": { + "$ref": "File" + }, + "scopes": [ + "https://www.googleapis.com/auth/dfareporting" + ] + }, + "update": { + "description": "Updates a report.", + "flatPath": "userprofiles/{profileId}/reports/{reportId}", + "httpMethod": "PUT", + "id": "dfareporting.reports.update", + "parameterOrder": [ + "profileId", + "reportId" + ], + "parameters": { + "profileId": { + "description": "The Campaign Manager 360 user profile ID.", + "format": "int64", + "location": "path", + "required": true, + "type": "string" + }, + "reportId": { + "description": "The ID of the report.", + "format": "int64", + "location": "path", + "required": true, + "type": "string" + } + }, + "path": "userprofiles/{profileId}/reports/{reportId}", + "request": { + "$ref": "Report" + }, + "response": { + "$ref": "Report" + }, + "scopes": [ + "https://www.googleapis.com/auth/dfareporting" + ] + } + }, + "resources": { + "compatibleFields": { + "methods": { + "query": { + "description": "Returns the fields that are compatible to be selected in the respective sections of a report criteria, given the fields already selected in the input report and user permissions.", + "flatPath": "userprofiles/{profileId}/reports/compatiblefields/query", + "httpMethod": "POST", + "id": "dfareporting.reports.compatibleFields.query", + "parameterOrder": [ + "profileId" + ], + "parameters": { + "profileId": { + "description": "The Campaign Manager 360 user profile ID.", + "format": "int64", + "location": "path", + "required": true, + "type": "string" + } + }, + "path": "userprofiles/{profileId}/reports/compatiblefields/query", + "request": { + "$ref": "Report" + }, + "response": { + "$ref": "CompatibleFields" + }, + "scopes": [ + "https://www.googleapis.com/auth/dfareporting" + ] + } + } + }, + "files": { + "methods": { + "get": { + "description": "Retrieves a report file by its report ID and file ID. This method supports media download.", + "flatPath": "userprofiles/{profileId}/reports/{reportId}/files/{fileId}", + "httpMethod": "GET", + "id": "dfareporting.reports.files.get", + "parameterOrder": [ + "profileId", + "reportId", + "fileId" + ], + "parameters": { + "fileId": { + "description": "The ID of the report file.", + "format": "int64", + "location": "path", + "required": true, + "type": "string" + }, + "profileId": { + "description": "The Campaign Manager 360 user profile ID.", + "format": "int64", + "location": "path", + "required": true, + "type": "string" + }, + "reportId": { + "description": "The ID of the report.", + "format": "int64", + "location": "path", + "required": true, + "type": "string" + } + }, + "path": "userprofiles/{profileId}/reports/{reportId}/files/{fileId}", + "response": { + "$ref": "File" + }, + "scopes": [ + "https://www.googleapis.com/auth/dfareporting" + ], + "supportsMediaDownload": true + }, + "list": { + "description": "Lists files for a report.", + "flatPath": "userprofiles/{profileId}/reports/{reportId}/files", + "httpMethod": "GET", + "id": "dfareporting.reports.files.list", + "parameterOrder": [ + "profileId", + "reportId" + ], + "parameters": { + "maxResults": { + "default": "10", + "description": "Maximum number of results to return.", + "format": "int32", + "location": "query", + "maximum": "10", + "minimum": "0", + "type": "integer" + }, + "pageToken": { + "description": "The value of the nextToken from the previous result page.", + "location": "query", + "type": "string" + }, + "profileId": { + "description": "The Campaign Manager 360 user profile ID.", + "format": "int64", + "location": "path", + "required": true, + "type": "string" + }, + "reportId": { + "description": "The ID of the parent report.", + "format": "int64", + "location": "path", + "required": true, + "type": "string" + }, + "sortField": { + "default": "LAST_MODIFIED_TIME", + "description": "The field by which to sort the list.", + "enum": [ + "ID", + "LAST_MODIFIED_TIME" + ], + "enumDescriptions": [ + "", + "" + ], + "location": "query", + "type": "string" + }, + "sortOrder": { + "default": "DESCENDING", + "description": "Order of sorted results.", + "enum": [ + "ASCENDING", + "DESCENDING" + ], + "enumDescriptions": [ + "", + "" + ], + "location": "query", + "type": "string" + } + }, + "path": "userprofiles/{profileId}/reports/{reportId}/files", + "response": { + "$ref": "FileList" + }, + "scopes": [ + "https://www.googleapis.com/auth/dfareporting" + ] + } + } + } + } + }, + "sites": { + "methods": { + "get": { + "description": "Gets one site by ID.", + "flatPath": "userprofiles/{profileId}/sites/{id}", + "httpMethod": "GET", + "id": "dfareporting.sites.get", + "parameterOrder": [ + "profileId", + "id" + ], + "parameters": { + "id": { + "description": "Site ID.", + "format": "int64", + "location": "path", + "required": true, + "type": "string" + }, + "profileId": { + "description": "User profile ID associated with this request.", + "format": "int64", + "location": "path", + "required": true, + "type": "string" + } + }, + "path": "userprofiles/{profileId}/sites/{id}", + "response": { + "$ref": "Site" + }, + "scopes": [ + "https://www.googleapis.com/auth/dfatrafficking" + ] + }, + "insert": { + "description": "Inserts a new site.", + "flatPath": "userprofiles/{profileId}/sites", + "httpMethod": "POST", + "id": "dfareporting.sites.insert", + "parameterOrder": [ + "profileId" + ], + "parameters": { + "profileId": { + "description": "User profile ID associated with this request.", + "format": "int64", + "location": "path", + "required": true, + "type": "string" + } + }, + "path": "userprofiles/{profileId}/sites", + "request": { + "$ref": "Site" + }, + "response": { + "$ref": "Site" + }, + "scopes": [ + "https://www.googleapis.com/auth/dfatrafficking" + ] + }, + "list": { + "description": "Retrieves a list of sites, possibly filtered. This method supports paging.", + "flatPath": "userprofiles/{profileId}/sites", + "httpMethod": "GET", + "id": "dfareporting.sites.list", + "parameterOrder": [ + "profileId" + ], + "parameters": { + "acceptsInStreamVideoPlacements": { + "description": "This search filter is no longer supported and will have no effect on the results returned.", + "location": "query", + "type": "boolean" + }, + "acceptsInterstitialPlacements": { + "description": "This search filter is no longer supported and will have no effect on the results returned.", + "location": "query", + "type": "boolean" + }, + "acceptsPublisherPaidPlacements": { + "description": "Select only sites that accept publisher paid placements.", + "location": "query", + "type": "boolean" + }, + "adWordsSite": { + "description": "Select only AdWords sites.", + "location": "query", + "type": "boolean" + }, + "approved": { + "description": "Select only approved sites.", + "location": "query", + "type": "boolean" + }, + "campaignIds": { + "description": "Select only sites with these campaign IDs.", + "format": "int64", + "location": "query", + "repeated": true, + "type": "string" + }, + "directorySiteIds": { + "description": "Select only sites with these directory site IDs.", + "format": "int64", + "location": "query", + "repeated": true, + "type": "string" + }, + "ids": { + "description": "Select only sites with these IDs.", + "format": "int64", + "location": "query", + "repeated": true, + "type": "string" + }, + "maxResults": { + "default": "1000", + "description": "Maximum number of results to return.", + "format": "int32", + "location": "query", + "maximum": "1000", + "minimum": "0", + "type": "integer" + }, + "pageToken": { + "description": "Value of the nextPageToken from the previous result page.", + "location": "query", + "type": "string" + }, + "profileId": { + "description": "User profile ID associated with this request.", + "format": "int64", + "location": "path", + "required": true, + "type": "string" + }, + "searchString": { + "description": "Allows searching for objects by name, ID or keyName. Wildcards (*) are allowed. For example, \"site*2015\" will return objects with names like \"site June 2015\", \"site April 2015\", or simply \"site 2015\". Most of the searches also add wildcards implicitly at the start and the end of the search string. For example, a search string of \"site\" will match objects with name \"my site\", \"site 2015\", or simply \"site\".", + "location": "query", + "type": "string" + }, + "sortField": { + "default": "ID", + "description": "Field by which to sort the list.", + "enum": [ + "ID", + "NAME" + ], + "enumDescriptions": [ + "", + "" + ], + "location": "query", + "type": "string" + }, + "sortOrder": { + "default": "ASCENDING", + "description": "Order of sorted results.", + "enum": [ + "ASCENDING", + "DESCENDING" + ], + "enumDescriptions": [ + "", + "" + ], + "location": "query", + "type": "string" + }, + "subaccountId": { + "description": "Select only sites with this subaccount ID.", + "format": "int64", + "location": "query", + "type": "string" + }, + "unmappedSite": { + "description": "Select only sites that have not been mapped to a directory site.", + "location": "query", + "type": "boolean" + } + }, + "path": "userprofiles/{profileId}/sites", + "response": { + "$ref": "SitesListResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/dfatrafficking" + ] + }, + "patch": { + "description": "Updates an existing site. This method supports patch semantics.", + "flatPath": "userprofiles/{profileId}/sites", + "httpMethod": "PATCH", + "id": "dfareporting.sites.patch", + "parameterOrder": [ + "profileId", + "id" + ], + "parameters": { + "id": { + "description": "Site ID.", + "format": "int64", + "location": "query", + "required": true, + "type": "string" + }, + "profileId": { + "description": "User profile ID associated with this request.", + "format": "int64", + "location": "path", + "required": true, + "type": "string" + } + }, + "path": "userprofiles/{profileId}/sites", + "request": { + "$ref": "Site" + }, + "response": { + "$ref": "Site" + }, + "scopes": [ + "https://www.googleapis.com/auth/dfatrafficking" + ] + }, + "update": { + "description": "Updates an existing site.", + "flatPath": "userprofiles/{profileId}/sites", + "httpMethod": "PUT", + "id": "dfareporting.sites.update", + "parameterOrder": [ + "profileId" + ], + "parameters": { + "profileId": { + "description": "User profile ID associated with this request.", + "format": "int64", + "location": "path", + "required": true, + "type": "string" + } + }, + "path": "userprofiles/{profileId}/sites", + "request": { + "$ref": "Site" + }, + "response": { + "$ref": "Site" + }, + "scopes": [ + "https://www.googleapis.com/auth/dfatrafficking" + ] + } + } + }, + "sizes": { + "methods": { + "get": { + "description": "Gets one size by ID.", + "flatPath": "userprofiles/{profileId}/sizes/{id}", + "httpMethod": "GET", + "id": "dfareporting.sizes.get", + "parameterOrder": [ + "profileId", + "id" + ], + "parameters": { + "id": { + "description": "Size ID.", + "format": "int64", + "location": "path", + "required": true, + "type": "string" + }, + "profileId": { + "description": "User profile ID associated with this request.", + "format": "int64", + "location": "path", + "required": true, + "type": "string" + } + }, + "path": "userprofiles/{profileId}/sizes/{id}", + "response": { + "$ref": "Size" + }, + "scopes": [ + "https://www.googleapis.com/auth/dfatrafficking" + ] + }, + "insert": { + "description": "Inserts a new size.", + "flatPath": "userprofiles/{profileId}/sizes", + "httpMethod": "POST", + "id": "dfareporting.sizes.insert", + "parameterOrder": [ + "profileId" + ], + "parameters": { + "profileId": { + "description": "User profile ID associated with this request.", + "format": "int64", + "location": "path", + "required": true, + "type": "string" + } + }, + "path": "userprofiles/{profileId}/sizes", + "request": { + "$ref": "Size" + }, + "response": { + "$ref": "Size" + }, + "scopes": [ + "https://www.googleapis.com/auth/dfatrafficking" + ] + }, + "list": { + "description": "Retrieves a list of sizes, possibly filtered. Retrieved sizes are globally unique and may include values not currently in use by your account. Due to this, the list of sizes returned by this method may differ from the list seen in the Trafficking UI.", + "flatPath": "userprofiles/{profileId}/sizes", + "httpMethod": "GET", + "id": "dfareporting.sizes.list", + "parameterOrder": [ + "profileId" + ], + "parameters": { + "height": { + "description": "Select only sizes with this height.", + "format": "int32", + "location": "query", + "maximum": "32767", + "minimum": "0", + "type": "integer" + }, + "iabStandard": { + "description": "Select only IAB standard sizes.", + "location": "query", + "type": "boolean" + }, + "ids": { + "description": "Select only sizes with these IDs.", + "format": "int64", + "location": "query", + "repeated": true, + "type": "string" + }, + "profileId": { + "description": "User profile ID associated with this request.", + "format": "int64", + "location": "path", + "required": true, + "type": "string" + }, + "width": { + "description": "Select only sizes with this width.", + "format": "int32", + "location": "query", + "maximum": "32767", + "minimum": "0", + "type": "integer" + } + }, + "path": "userprofiles/{profileId}/sizes", + "response": { + "$ref": "SizesListResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/dfatrafficking" + ] + } + } + }, + "subaccounts": { + "methods": { + "get": { + "description": "Gets one subaccount by ID.", + "flatPath": "userprofiles/{profileId}/subaccounts/{id}", + "httpMethod": "GET", + "id": "dfareporting.subaccounts.get", + "parameterOrder": [ + "profileId", + "id" + ], + "parameters": { + "id": { + "description": "Subaccount ID.", + "format": "int64", + "location": "path", + "required": true, + "type": "string" + }, + "profileId": { + "description": "User profile ID associated with this request.", + "format": "int64", + "location": "path", + "required": true, + "type": "string" + } + }, + "path": "userprofiles/{profileId}/subaccounts/{id}", + "response": { + "$ref": "Subaccount" + }, + "scopes": [ + "https://www.googleapis.com/auth/dfatrafficking" + ] + }, + "insert": { + "description": "Inserts a new subaccount.", + "flatPath": "userprofiles/{profileId}/subaccounts", + "httpMethod": "POST", + "id": "dfareporting.subaccounts.insert", + "parameterOrder": [ + "profileId" + ], + "parameters": { + "profileId": { + "description": "User profile ID associated with this request.", + "format": "int64", + "location": "path", + "required": true, + "type": "string" + } + }, + "path": "userprofiles/{profileId}/subaccounts", + "request": { + "$ref": "Subaccount" + }, + "response": { + "$ref": "Subaccount" + }, + "scopes": [ + "https://www.googleapis.com/auth/dfatrafficking" + ] + }, + "list": { + "description": "Gets a list of subaccounts, possibly filtered. This method supports paging.", + "flatPath": "userprofiles/{profileId}/subaccounts", + "httpMethod": "GET", + "id": "dfareporting.subaccounts.list", + "parameterOrder": [ + "profileId" + ], + "parameters": { + "ids": { + "description": "Select only subaccounts with these IDs.", + "format": "int64", + "location": "query", + "repeated": true, + "type": "string" + }, + "maxResults": { + "default": "1000", + "description": "Maximum number of results to return.", + "format": "int32", + "location": "query", + "maximum": "1000", + "minimum": "0", + "type": "integer" + }, + "pageToken": { + "description": "Value of the nextPageToken from the previous result page.", + "location": "query", + "type": "string" + }, + "profileId": { + "description": "User profile ID associated with this request.", + "format": "int64", + "location": "path", + "required": true, + "type": "string" + }, + "searchString": { + "description": "Allows searching for objects by name or ID. Wildcards (*) are allowed. For example, \"subaccount*2015\" will return objects with names like \"subaccount June 2015\", \"subaccount April 2015\", or simply \"subaccount 2015\". Most of the searches also add wildcards implicitly at the start and the end of the search string. For example, a search string of \"subaccount\" will match objects with name \"my subaccount\", \"subaccount 2015\", or simply \"subaccount\" .", + "location": "query", + "type": "string" + }, + "sortField": { + "default": "ID", + "description": "Field by which to sort the list.", + "enum": [ + "ID", + "NAME" + ], + "enumDescriptions": [ + "", + "" + ], + "location": "query", + "type": "string" + }, + "sortOrder": { + "default": "ASCENDING", + "description": "Order of sorted results.", + "enum": [ + "ASCENDING", + "DESCENDING" + ], + "enumDescriptions": [ + "", + "" + ], + "location": "query", + "type": "string" + } + }, + "path": "userprofiles/{profileId}/subaccounts", + "response": { + "$ref": "SubaccountsListResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/dfatrafficking" + ] + }, + "patch": { + "description": "Updates an existing subaccount. This method supports patch semantics.", + "flatPath": "userprofiles/{profileId}/subaccounts", + "httpMethod": "PATCH", + "id": "dfareporting.subaccounts.patch", + "parameterOrder": [ + "profileId", + "id" + ], + "parameters": { + "id": { + "description": "Subaccount ID.", + "format": "int64", + "location": "query", + "required": true, + "type": "string" + }, + "profileId": { + "description": "User profile ID associated with this request.", + "format": "int64", + "location": "path", + "required": true, + "type": "string" + } + }, + "path": "userprofiles/{profileId}/subaccounts", + "request": { + "$ref": "Subaccount" + }, + "response": { + "$ref": "Subaccount" + }, + "scopes": [ + "https://www.googleapis.com/auth/dfatrafficking" + ] + }, + "update": { + "description": "Updates an existing subaccount.", + "flatPath": "userprofiles/{profileId}/subaccounts", + "httpMethod": "PUT", + "id": "dfareporting.subaccounts.update", + "parameterOrder": [ + "profileId" + ], + "parameters": { + "profileId": { + "description": "User profile ID associated with this request.", + "format": "int64", + "location": "path", + "required": true, + "type": "string" + } + }, + "path": "userprofiles/{profileId}/subaccounts", + "request": { + "$ref": "Subaccount" + }, + "response": { + "$ref": "Subaccount" + }, + "scopes": [ + "https://www.googleapis.com/auth/dfatrafficking" + ] + } + } + }, + "targetableRemarketingLists": { + "methods": { + "get": { + "description": "Gets one remarketing list by ID.", + "flatPath": "userprofiles/{profileId}/targetableRemarketingLists/{id}", + "httpMethod": "GET", + "id": "dfareporting.targetableRemarketingLists.get", + "parameterOrder": [ + "profileId", + "id" + ], + "parameters": { + "id": { + "description": "Remarketing list ID.", + "format": "int64", + "location": "path", + "required": true, + "type": "string" + }, + "profileId": { + "description": "User profile ID associated with this request.", + "format": "int64", + "location": "path", + "required": true, + "type": "string" + } + }, + "path": "userprofiles/{profileId}/targetableRemarketingLists/{id}", + "response": { + "$ref": "TargetableRemarketingList" + }, + "scopes": [ + "https://www.googleapis.com/auth/dfatrafficking" + ] + }, + "list": { + "description": "Retrieves a list of targetable remarketing lists, possibly filtered. This method supports paging.", + "flatPath": "userprofiles/{profileId}/targetableRemarketingLists", + "httpMethod": "GET", + "id": "dfareporting.targetableRemarketingLists.list", + "parameterOrder": [ + "profileId", + "advertiserId" + ], + "parameters": { + "active": { + "description": "Select only active or only inactive targetable remarketing lists.", + "location": "query", + "type": "boolean" + }, + "advertiserId": { + "description": "Select only targetable remarketing lists targetable by these advertisers.", + "format": "int64", + "location": "query", + "required": true, + "type": "string" + }, + "maxResults": { + "default": "1000", + "description": "Maximum number of results to return.", + "format": "int32", + "location": "query", + "maximum": "1000", + "minimum": "0", + "type": "integer" + }, + "name": { + "description": "Allows searching for objects by name or ID. Wildcards (*) are allowed. For example, \"remarketing list*2015\" will return objects with names like \"remarketing list June 2015\", \"remarketing list April 2015\", or simply \"remarketing list 2015\". Most of the searches also add wildcards implicitly at the start and the end of the search string. For example, a search string of \"remarketing list\" will match objects with name \"my remarketing list\", \"remarketing list 2015\", or simply \"remarketing list\".", + "location": "query", + "type": "string" + }, + "pageToken": { + "description": "Value of the nextPageToken from the previous result page.", + "location": "query", + "type": "string" + }, + "profileId": { + "description": "User profile ID associated with this request.", + "format": "int64", + "location": "path", + "required": true, + "type": "string" + }, + "sortField": { + "default": "ID", + "description": "Field by which to sort the list.", + "enum": [ + "ID", + "NAME" + ], + "enumDescriptions": [ + "", + "" + ], + "location": "query", + "type": "string" + }, + "sortOrder": { + "default": "ASCENDING", + "description": "Order of sorted results.", + "enum": [ + "ASCENDING", + "DESCENDING" + ], + "enumDescriptions": [ + "", + "" + ], + "location": "query", + "type": "string" + } + }, + "path": "userprofiles/{profileId}/targetableRemarketingLists", + "response": { + "$ref": "TargetableRemarketingListsListResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/dfatrafficking" + ] + } + } + }, + "targetingTemplates": { + "methods": { + "get": { + "description": "Gets one targeting template by ID.", + "flatPath": "userprofiles/{profileId}/targetingTemplates/{id}", + "httpMethod": "GET", + "id": "dfareporting.targetingTemplates.get", + "parameterOrder": [ + "profileId", + "id" + ], + "parameters": { + "id": { + "description": "Targeting template ID.", + "format": "int64", + "location": "path", + "required": true, + "type": "string" + }, + "profileId": { + "description": "User profile ID associated with this request.", + "format": "int64", + "location": "path", + "required": true, + "type": "string" + } + }, + "path": "userprofiles/{profileId}/targetingTemplates/{id}", + "response": { + "$ref": "TargetingTemplate" + }, + "scopes": [ + "https://www.googleapis.com/auth/dfatrafficking" + ] + }, + "insert": { + "description": "Inserts a new targeting template.", + "flatPath": "userprofiles/{profileId}/targetingTemplates", + "httpMethod": "POST", + "id": "dfareporting.targetingTemplates.insert", + "parameterOrder": [ + "profileId" + ], + "parameters": { + "profileId": { + "description": "User profile ID associated with this request.", + "format": "int64", + "location": "path", + "required": true, + "type": "string" + } + }, + "path": "userprofiles/{profileId}/targetingTemplates", + "request": { + "$ref": "TargetingTemplate" + }, + "response": { + "$ref": "TargetingTemplate" + }, + "scopes": [ + "https://www.googleapis.com/auth/dfatrafficking" + ] + }, + "list": { + "description": "Retrieves a list of targeting templates, optionally filtered. This method supports paging.", + "flatPath": "userprofiles/{profileId}/targetingTemplates", + "httpMethod": "GET", + "id": "dfareporting.targetingTemplates.list", + "parameterOrder": [ + "profileId" + ], + "parameters": { + "advertiserId": { + "description": "Select only targeting templates with this advertiser ID.", + "format": "int64", + "location": "query", + "type": "string" + }, + "ids": { + "description": "Select only targeting templates with these IDs.", + "format": "int64", + "location": "query", + "repeated": true, + "type": "string" + }, + "maxResults": { + "default": "1000", + "description": "Maximum number of results to return.", + "format": "int32", + "location": "query", + "maximum": "1000", + "minimum": "0", + "type": "integer" + }, + "pageToken": { + "description": "Value of the nextPageToken from the previous result page.", + "location": "query", + "type": "string" + }, + "profileId": { + "description": "User profile ID associated with this request.", + "format": "int64", + "location": "path", + "required": true, + "type": "string" + }, + "searchString": { + "description": "Allows searching for objects by name or ID. Wildcards (*) are allowed. For example, \"template*2015\" will return objects with names like \"template June 2015\", \"template April 2015\", or simply \"template 2015\". Most of the searches also add wildcards implicitly at the start and the end of the search string. For example, a search string of \"template\" will match objects with name \"my template\", \"template 2015\", or simply \"template\".", + "location": "query", + "type": "string" + }, + "sortField": { + "default": "ID", + "description": "Field by which to sort the list.", + "enum": [ + "ID", + "NAME" + ], + "enumDescriptions": [ + "", + "" + ], + "location": "query", + "type": "string" + }, + "sortOrder": { + "default": "ASCENDING", + "description": "Order of sorted results.", + "enum": [ + "ASCENDING", + "DESCENDING" + ], + "enumDescriptions": [ + "", + "" + ], + "location": "query", + "type": "string" + } + }, + "path": "userprofiles/{profileId}/targetingTemplates", + "response": { + "$ref": "TargetingTemplatesListResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/dfatrafficking" + ] + }, + "patch": { + "description": "Updates an existing targeting template. This method supports patch semantics.", + "flatPath": "userprofiles/{profileId}/targetingTemplates", + "httpMethod": "PATCH", + "id": "dfareporting.targetingTemplates.patch", + "parameterOrder": [ + "profileId", + "id" + ], + "parameters": { + "id": { + "description": "TargetingTemplate ID.", + "format": "int64", + "location": "query", + "required": true, + "type": "string" + }, + "profileId": { + "description": "User profile ID associated with this request.", + "format": "int64", + "location": "path", + "required": true, + "type": "string" + } + }, + "path": "userprofiles/{profileId}/targetingTemplates", + "request": { + "$ref": "TargetingTemplate" + }, + "response": { + "$ref": "TargetingTemplate" + }, + "scopes": [ + "https://www.googleapis.com/auth/dfatrafficking" + ] + }, + "update": { + "description": "Updates an existing targeting template.", + "flatPath": "userprofiles/{profileId}/targetingTemplates", + "httpMethod": "PUT", + "id": "dfareporting.targetingTemplates.update", + "parameterOrder": [ + "profileId" + ], + "parameters": { + "profileId": { + "description": "User profile ID associated with this request.", + "format": "int64", + "location": "path", + "required": true, + "type": "string" + } + }, + "path": "userprofiles/{profileId}/targetingTemplates", + "request": { + "$ref": "TargetingTemplate" + }, + "response": { + "$ref": "TargetingTemplate" + }, + "scopes": [ + "https://www.googleapis.com/auth/dfatrafficking" + ] + } + } + }, + "userProfiles": { + "methods": { + "get": { + "description": "Gets one user profile by ID.", + "flatPath": "userprofiles/{profileId}", + "httpMethod": "GET", + "id": "dfareporting.userProfiles.get", + "parameterOrder": [ + "profileId" + ], + "parameters": { + "profileId": { + "description": "The user profile ID.", + "format": "int64", + "location": "path", + "required": true, + "type": "string" + } + }, + "path": "userprofiles/{profileId}", + "response": { + "$ref": "UserProfile" + }, + "scopes": [ + "https://www.googleapis.com/auth/ddmconversions", + "https://www.googleapis.com/auth/dfareporting", + "https://www.googleapis.com/auth/dfatrafficking" + ] + }, + "list": { + "description": "Retrieves list of user profiles for a user.", + "flatPath": "userprofiles", + "httpMethod": "GET", + "id": "dfareporting.userProfiles.list", + "parameterOrder": [], + "parameters": {}, + "path": "userprofiles", + "response": { + "$ref": "UserProfileList" + }, + "scopes": [ + "https://www.googleapis.com/auth/ddmconversions", + "https://www.googleapis.com/auth/dfareporting", + "https://www.googleapis.com/auth/dfatrafficking" + ] + } + } + }, + "userRolePermissionGroups": { + "methods": { + "get": { + "description": "Gets one user role permission group by ID.", + "flatPath": "userprofiles/{profileId}/userRolePermissionGroups/{id}", + "httpMethod": "GET", + "id": "dfareporting.userRolePermissionGroups.get", + "parameterOrder": [ + "profileId", + "id" + ], + "parameters": { + "id": { + "description": "User role permission group ID.", + "format": "int64", + "location": "path", + "required": true, + "type": "string" + }, + "profileId": { + "description": "User profile ID associated with this request.", + "format": "int64", + "location": "path", + "required": true, + "type": "string" + } + }, + "path": "userprofiles/{profileId}/userRolePermissionGroups/{id}", + "response": { + "$ref": "UserRolePermissionGroup" + }, + "scopes": [ + "https://www.googleapis.com/auth/dfatrafficking" + ] + }, + "list": { + "description": "Gets a list of all supported user role permission groups.", + "flatPath": "userprofiles/{profileId}/userRolePermissionGroups", + "httpMethod": "GET", + "id": "dfareporting.userRolePermissionGroups.list", + "parameterOrder": [ + "profileId" + ], + "parameters": { + "profileId": { + "description": "User profile ID associated with this request.", + "format": "int64", + "location": "path", + "required": true, + "type": "string" + } + }, + "path": "userprofiles/{profileId}/userRolePermissionGroups", + "response": { + "$ref": "UserRolePermissionGroupsListResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/dfatrafficking" + ] + } + } + }, + "userRolePermissions": { + "methods": { + "get": { + "description": "Gets one user role permission by ID.", + "flatPath": "userprofiles/{profileId}/userRolePermissions/{id}", + "httpMethod": "GET", + "id": "dfareporting.userRolePermissions.get", + "parameterOrder": [ + "profileId", + "id" + ], + "parameters": { + "id": { + "description": "User role permission ID.", + "format": "int64", + "location": "path", + "required": true, + "type": "string" + }, + "profileId": { + "description": "User profile ID associated with this request.", + "format": "int64", + "location": "path", + "required": true, + "type": "string" + } + }, + "path": "userprofiles/{profileId}/userRolePermissions/{id}", + "response": { + "$ref": "UserRolePermission" + }, + "scopes": [ + "https://www.googleapis.com/auth/dfatrafficking" + ] + }, + "list": { + "description": "Gets a list of user role permissions, possibly filtered.", + "flatPath": "userprofiles/{profileId}/userRolePermissions", + "httpMethod": "GET", + "id": "dfareporting.userRolePermissions.list", + "parameterOrder": [ + "profileId" + ], + "parameters": { + "ids": { + "description": "Select only user role permissions with these IDs.", + "format": "int64", + "location": "query", + "repeated": true, + "type": "string" + }, + "profileId": { + "description": "User profile ID associated with this request.", + "format": "int64", + "location": "path", + "required": true, + "type": "string" + } + }, + "path": "userprofiles/{profileId}/userRolePermissions", + "response": { + "$ref": "UserRolePermissionsListResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/dfatrafficking" + ] + } + } + }, + "userRoles": { + "methods": { + "delete": { + "description": "Deletes an existing user role.", + "flatPath": "userprofiles/{profileId}/userRoles/{id}", + "httpMethod": "DELETE", + "id": "dfareporting.userRoles.delete", + "parameterOrder": [ + "profileId", + "id" + ], + "parameters": { + "id": { + "description": "User role ID.", + "format": "int64", + "location": "path", + "required": true, + "type": "string" + }, + "profileId": { + "description": "User profile ID associated with this request.", + "format": "int64", + "location": "path", + "required": true, + "type": "string" + } + }, + "path": "userprofiles/{profileId}/userRoles/{id}", + "scopes": [ + "https://www.googleapis.com/auth/dfatrafficking" + ] + }, + "get": { + "description": "Gets one user role by ID.", + "flatPath": "userprofiles/{profileId}/userRoles/{id}", + "httpMethod": "GET", + "id": "dfareporting.userRoles.get", + "parameterOrder": [ + "profileId", + "id" + ], + "parameters": { + "id": { + "description": "User role ID.", + "format": "int64", + "location": "path", + "required": true, + "type": "string" + }, + "profileId": { + "description": "User profile ID associated with this request.", + "format": "int64", + "location": "path", + "required": true, + "type": "string" + } + }, + "path": "userprofiles/{profileId}/userRoles/{id}", + "response": { + "$ref": "UserRole" + }, + "scopes": [ + "https://www.googleapis.com/auth/dfatrafficking" + ] + }, + "insert": { + "description": "Inserts a new user role.", + "flatPath": "userprofiles/{profileId}/userRoles", + "httpMethod": "POST", + "id": "dfareporting.userRoles.insert", + "parameterOrder": [ + "profileId" + ], + "parameters": { + "profileId": { + "description": "User profile ID associated with this request.", + "format": "int64", + "location": "path", + "required": true, + "type": "string" + } + }, + "path": "userprofiles/{profileId}/userRoles", + "request": { + "$ref": "UserRole" + }, + "response": { + "$ref": "UserRole" + }, + "scopes": [ + "https://www.googleapis.com/auth/dfatrafficking" + ] + }, + "list": { + "description": "Retrieves a list of user roles, possibly filtered. This method supports paging.", + "flatPath": "userprofiles/{profileId}/userRoles", + "httpMethod": "GET", + "id": "dfareporting.userRoles.list", + "parameterOrder": [ + "profileId" + ], + "parameters": { + "accountUserRoleOnly": { + "description": "Select only account level user roles not associated with any specific subaccount.", + "location": "query", + "type": "boolean" + }, + "ids": { + "description": "Select only user roles with the specified IDs.", + "format": "int64", + "location": "query", + "repeated": true, + "type": "string" + }, + "maxResults": { + "default": "1000", + "description": "Maximum number of results to return.", + "format": "int32", + "location": "query", + "maximum": "1000", + "minimum": "0", + "type": "integer" + }, + "pageToken": { + "description": "Value of the nextPageToken from the previous result page.", + "location": "query", + "type": "string" + }, + "profileId": { + "description": "User profile ID associated with this request.", + "format": "int64", + "location": "path", + "required": true, + "type": "string" + }, + "searchString": { + "description": "Allows searching for objects by name or ID. Wildcards (*) are allowed. For example, \"userrole*2015\" will return objects with names like \"userrole June 2015\", \"userrole April 2015\", or simply \"userrole 2015\". Most of the searches also add wildcards implicitly at the start and the end of the search string. For example, a search string of \"userrole\" will match objects with name \"my userrole\", \"userrole 2015\", or simply \"userrole\".", + "location": "query", + "type": "string" + }, + "sortField": { + "default": "ID", + "description": "Field by which to sort the list.", + "enum": [ + "ID", + "NAME" + ], + "enumDescriptions": [ + "", + "" + ], + "location": "query", + "type": "string" + }, + "sortOrder": { + "default": "ASCENDING", + "description": "Order of sorted results.", + "enum": [ + "ASCENDING", + "DESCENDING" + ], + "enumDescriptions": [ + "", + "" + ], + "location": "query", + "type": "string" + }, + "subaccountId": { + "description": "Select only user roles that belong to this subaccount.", + "format": "int64", + "location": "query", + "type": "string" + } + }, + "path": "userprofiles/{profileId}/userRoles", + "response": { + "$ref": "UserRolesListResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/dfatrafficking" + ] + }, + "patch": { + "description": "Updates an existing user role. This method supports patch semantics.", + "flatPath": "userprofiles/{profileId}/userRoles", + "httpMethod": "PATCH", + "id": "dfareporting.userRoles.patch", + "parameterOrder": [ + "profileId", + "id" + ], + "parameters": { + "id": { + "description": "UserRole ID.", + "format": "int64", + "location": "query", + "required": true, + "type": "string" + }, + "profileId": { + "description": "User profile ID associated with this request.", + "format": "int64", + "location": "path", + "required": true, + "type": "string" + } + }, + "path": "userprofiles/{profileId}/userRoles", + "request": { + "$ref": "UserRole" + }, + "response": { + "$ref": "UserRole" + }, + "scopes": [ + "https://www.googleapis.com/auth/dfatrafficking" + ] + }, + "update": { + "description": "Updates an existing user role.", + "flatPath": "userprofiles/{profileId}/userRoles", + "httpMethod": "PUT", + "id": "dfareporting.userRoles.update", + "parameterOrder": [ + "profileId" + ], + "parameters": { + "profileId": { + "description": "User profile ID associated with this request.", + "format": "int64", + "location": "path", + "required": true, + "type": "string" + } + }, + "path": "userprofiles/{profileId}/userRoles", + "request": { + "$ref": "UserRole" + }, + "response": { + "$ref": "UserRole" + }, + "scopes": [ + "https://www.googleapis.com/auth/dfatrafficking" + ] + } + } + }, + "videoFormats": { + "methods": { + "get": { + "description": "Gets one video format by ID.", + "flatPath": "userprofiles/{profileId}/videoFormats/{id}", + "httpMethod": "GET", + "id": "dfareporting.videoFormats.get", + "parameterOrder": [ + "profileId", + "id" + ], + "parameters": { + "id": { + "description": "Video format ID.", + "format": "int32", + "location": "path", + "required": true, + "type": "integer" + }, + "profileId": { + "description": "User profile ID associated with this request.", + "format": "int64", + "location": "path", + "required": true, + "type": "string" + } + }, + "path": "userprofiles/{profileId}/videoFormats/{id}", + "response": { + "$ref": "VideoFormat" + }, + "scopes": [ + "https://www.googleapis.com/auth/dfatrafficking" + ] + }, + "list": { + "description": "Lists available video formats.", + "flatPath": "userprofiles/{profileId}/videoFormats", + "httpMethod": "GET", + "id": "dfareporting.videoFormats.list", + "parameterOrder": [ + "profileId" + ], + "parameters": { + "profileId": { + "description": "User profile ID associated with this request.", + "format": "int64", + "location": "path", + "required": true, + "type": "string" + } + }, + "path": "userprofiles/{profileId}/videoFormats", + "response": { + "$ref": "VideoFormatsListResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/dfatrafficking" + ] + } + } + } + }, + "revision": "20220314", + "rootUrl": "https://dfareporting.googleapis.com/", + "schemas": { + "Account": { + "description": "Contains properties of a Campaign Manager account.", + "id": "Account", + "properties": { + "accountPermissionIds": { + "description": "Account permissions assigned to this account.", + "items": { + "format": "int64", + "type": "string" + }, + "type": "array" + }, + "accountProfile": { + "description": "Profile for this account. This is a read-only field that can be left blank.", + "enum": [ + "ACCOUNT_PROFILE_BASIC", + "ACCOUNT_PROFILE_STANDARD" + ], + "enumDescriptions": [ + "", + "" + ], + "type": "string" + }, + "active": { + "description": "Whether this account is active.", + "type": "boolean" + }, + "activeAdsLimitTier": { + "description": "Maximum number of active ads allowed for this account.", + "enum": [ + "ACTIVE_ADS_TIER_40K", + "ACTIVE_ADS_TIER_75K", + "ACTIVE_ADS_TIER_100K", + "ACTIVE_ADS_TIER_200K", + "ACTIVE_ADS_TIER_300K", + "ACTIVE_ADS_TIER_500K", + "ACTIVE_ADS_TIER_750K", + "ACTIVE_ADS_TIER_1M" + ], + "enumDescriptions": [ + "", + "", + "", + "", + "", + "", + "", + "" + ], + "type": "string" + }, + "activeViewOptOut": { + "description": "Whether to serve creatives with Active View tags. If disabled, viewability data will not be available for any impressions.", + "type": "boolean" + }, + "availablePermissionIds": { + "description": "User role permissions available to the user roles of this account.", + "items": { + "format": "int64", + "type": "string" + }, + "type": "array" + }, + "countryId": { + "description": "ID of the country associated with this account.", + "format": "int64", + "type": "string" + }, + "currencyId": { + "description": "ID of currency associated with this account. This is a required field. Acceptable values are: - \"1\" for USD - \"2\" for GBP - \"3\" for ESP - \"4\" for SEK - \"5\" for CAD - \"6\" for JPY - \"7\" for DEM - \"8\" for AUD - \"9\" for FRF - \"10\" for ITL - \"11\" for DKK - \"12\" for NOK - \"13\" for FIM - \"14\" for ZAR - \"15\" for IEP - \"16\" for NLG - \"17\" for EUR - \"18\" for KRW - \"19\" for TWD - \"20\" for SGD - \"21\" for CNY - \"22\" for HKD - \"23\" for NZD - \"24\" for MYR - \"25\" for BRL - \"26\" for PTE - \"28\" for CLP - \"29\" for TRY - \"30\" for ARS - \"31\" for PEN - \"32\" for ILS - \"33\" for CHF - \"34\" for VEF - \"35\" for COP - \"36\" for GTQ - \"37\" for PLN - \"39\" for INR - \"40\" for THB - \"41\" for IDR - \"42\" for CZK - \"43\" for RON - \"44\" for HUF - \"45\" for RUB - \"46\" for AED - \"47\" for BGN - \"48\" for HRK - \"49\" for MXN - \"50\" for NGN - \"51\" for EGP ", + "format": "int64", + "type": "string" + }, + "defaultCreativeSizeId": { + "description": "Default placement dimensions for this account.", + "format": "int64", + "type": "string" + }, + "description": { + "description": "Description of this account.", + "type": "string" + }, + "id": { + "description": "ID of this account. This is a read-only, auto-generated field.", + "format": "int64", + "type": "string" + }, + "kind": { + "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#account\".", + "type": "string" + }, + "locale": { + "description": "Locale of this account. Acceptable values are: - \"cs\" (Czech) - \"de\" (German) - \"en\" (English) - \"en-GB\" (English United Kingdom) - \"es\" (Spanish) - \"fr\" (French) - \"it\" (Italian) - \"ja\" (Japanese) - \"ko\" (Korean) - \"pl\" (Polish) - \"pt-BR\" (Portuguese Brazil) - \"ru\" (Russian) - \"sv\" (Swedish) - \"tr\" (Turkish) - \"zh-CN\" (Chinese Simplified) - \"zh-TW\" (Chinese Traditional) ", + "type": "string" + }, + "maximumImageSize": { + "description": "Maximum image size allowed for this account, in kilobytes. Value must be greater than or equal to 1.", + "format": "int64", + "type": "string" + }, + "name": { + "description": "Name of this account. This is a required field, and must be less than 128 characters long and be globally unique.", + "type": "string" + }, + "nielsenOcrEnabled": { + "description": "Whether campaigns created in this account will be enabled for Nielsen OCR reach ratings by default.", + "type": "boolean" + }, + "reportsConfiguration": { + "$ref": "ReportsConfiguration", + "description": "Reporting configuration of this account." + }, + "shareReportsWithTwitter": { + "description": "Share Path to Conversion reports with Twitter.", + "type": "boolean" + }, + "teaserSizeLimit": { + "description": "File size limit in kilobytes of Rich Media teaser creatives. Acceptable values are 1 to 10240, inclusive.", + "format": "int64", + "type": "string" + } + }, + "type": "object" + }, + "AccountActiveAdSummary": { + "description": "Gets a summary of active ads in an account.", + "id": "AccountActiveAdSummary", + "properties": { + "accountId": { + "description": "ID of the account.", + "format": "int64", + "type": "string" + }, + "activeAds": { + "description": "Ads that have been activated for the account", + "format": "int64", + "type": "string" + }, + "activeAdsLimitTier": { + "description": "Maximum number of active ads allowed for the account.", + "enum": [ + "ACTIVE_ADS_TIER_40K", + "ACTIVE_ADS_TIER_75K", + "ACTIVE_ADS_TIER_100K", + "ACTIVE_ADS_TIER_200K", + "ACTIVE_ADS_TIER_300K", + "ACTIVE_ADS_TIER_500K", + "ACTIVE_ADS_TIER_750K", + "ACTIVE_ADS_TIER_1M" + ], + "enumDescriptions": [ + "", + "", + "", + "", + "", + "", + "", + "" + ], + "type": "string" + }, + "availableAds": { + "description": "Ads that can be activated for the account.", + "format": "int64", + "type": "string" + }, + "kind": { + "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#accountActiveAdSummary\".", + "type": "string" + } + }, + "type": "object" + }, + "AccountPermission": { + "description": "AccountPermissions contains information about a particular account permission. Some features of Campaign Manager require an account permission to be present in the account.", + "id": "AccountPermission", + "properties": { + "accountProfiles": { + "description": "Account profiles associated with this account permission. Possible values are: - \"ACCOUNT_PROFILE_BASIC\" - \"ACCOUNT_PROFILE_STANDARD\" ", + "items": { + "enum": [ + "ACCOUNT_PROFILE_BASIC", + "ACCOUNT_PROFILE_STANDARD" + ], + "enumDescriptions": [ + "", + "" + ], + "type": "string" + }, + "type": "array" + }, + "id": { + "description": "ID of this account permission.", + "format": "int64", + "type": "string" + }, + "kind": { + "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#accountPermission\".", + "type": "string" + }, + "level": { + "description": "Administrative level required to enable this account permission.", + "enum": [ + "USER", + "ADMINISTRATOR" + ], + "enumDescriptions": [ + "", + "" + ], + "type": "string" + }, + "name": { + "description": "Name of this account permission.", + "type": "string" + }, + "permissionGroupId": { + "description": "Permission group of this account permission.", + "format": "int64", + "type": "string" + } + }, + "type": "object" + }, + "AccountPermissionGroup": { + "description": "AccountPermissionGroups contains a mapping of permission group IDs to names. A permission group is a grouping of account permissions.", + "id": "AccountPermissionGroup", + "properties": { + "id": { + "description": "ID of this account permission group.", + "format": "int64", + "type": "string" + }, + "kind": { + "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#accountPermissionGroup\".", + "type": "string" + }, + "name": { + "description": "Name of this account permission group.", + "type": "string" + } + }, + "type": "object" + }, + "AccountPermissionGroupsListResponse": { + "description": "Account Permission Group List Response", + "id": "AccountPermissionGroupsListResponse", + "properties": { + "accountPermissionGroups": { + "description": "Account permission group collection.", + "items": { + "$ref": "AccountPermissionGroup" + }, + "type": "array" + }, + "kind": { + "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#accountPermissionGroupsListResponse\".", + "type": "string" + } + }, + "type": "object" + }, + "AccountPermissionsListResponse": { + "description": "Account Permission List Response", + "id": "AccountPermissionsListResponse", + "properties": { + "accountPermissions": { + "description": "Account permission collection.", + "items": { + "$ref": "AccountPermission" + }, + "type": "array" + }, + "kind": { + "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#accountPermissionsListResponse\".", + "type": "string" + } + }, + "type": "object" + }, + "AccountUserProfile": { + "description": "AccountUserProfiles contains properties of a Campaign Manager user profile. This resource is specifically for managing user profiles, whereas UserProfiles is for accessing the API.", + "id": "AccountUserProfile", + "properties": { + "accountId": { + "description": "Account ID of the user profile. This is a read-only field that can be left blank.", + "format": "int64", + "type": "string" + }, + "active": { + "description": "Whether this user profile is active. This defaults to false, and must be set true on insert for the user profile to be usable.", + "type": "boolean" + }, + "advertiserFilter": { + "$ref": "ObjectFilter", + "description": "Filter that describes which advertisers are visible to the user profile." + }, + "campaignFilter": { + "$ref": "ObjectFilter", + "description": "Filter that describes which campaigns are visible to the user profile." + }, + "comments": { + "description": "Comments for this user profile.", + "type": "string" + }, + "email": { + "description": "Email of the user profile. The email addresss must be linked to a Google Account. This field is required on insertion and is read-only after insertion.", + "type": "string" + }, + "id": { + "description": "ID of the user profile. This is a read-only, auto-generated field.", + "format": "int64", + "type": "string" + }, + "kind": { + "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#accountUserProfile\".", + "type": "string" + }, + "locale": { + "description": "Locale of the user profile. This is a required field. Acceptable values are: - \"cs\" (Czech) - \"de\" (German) - \"en\" (English) - \"en-GB\" (English United Kingdom) - \"es\" (Spanish) - \"fr\" (French) - \"it\" (Italian) - \"ja\" (Japanese) - \"ko\" (Korean) - \"pl\" (Polish) - \"pt-BR\" (Portuguese Brazil) - \"ru\" (Russian) - \"sv\" (Swedish) - \"tr\" (Turkish) - \"zh-CN\" (Chinese Simplified) - \"zh-TW\" (Chinese Traditional) ", + "type": "string" + }, + "name": { + "description": "Name of the user profile. This is a required field. Must be less than 64 characters long, must be globally unique, and cannot contain whitespace or any of the following characters: \"&;<>\"#%,\".", + "type": "string" + }, + "siteFilter": { + "$ref": "ObjectFilter", + "description": "Filter that describes which sites are visible to the user profile." + }, + "subaccountId": { + "description": "Subaccount ID of the user profile. This is a read-only field that can be left blank.", + "format": "int64", + "type": "string" + }, + "traffickerType": { + "description": "Trafficker type of this user profile. This is a read-only field.", + "enum": [ + "INTERNAL_NON_TRAFFICKER", + "INTERNAL_TRAFFICKER", + "EXTERNAL_TRAFFICKER" + ], + "enumDescriptions": [ + "", + "", + "" + ], + "type": "string" + }, + "userAccessType": { + "description": "User type of the user profile. This is a read-only field that can be left blank.", + "enum": [ + "NORMAL_USER", + "SUPER_USER", + "INTERNAL_ADMINISTRATOR", + "READ_ONLY_SUPER_USER" + ], + "enumDescriptions": [ + "", + "", + "", + "" + ], + "type": "string" + }, + "userRoleFilter": { + "$ref": "ObjectFilter", + "description": "Filter that describes which user roles are visible to the user profile." + }, + "userRoleId": { + "description": "User role ID of the user profile. This is a required field.", + "format": "int64", + "type": "string" + } + }, + "type": "object" + }, + "AccountUserProfilesListResponse": { + "description": "Account User Profile List Response", + "id": "AccountUserProfilesListResponse", + "properties": { + "accountUserProfiles": { + "description": "Account user profile collection.", + "items": { + "$ref": "AccountUserProfile" + }, + "type": "array" + }, + "kind": { + "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#accountUserProfilesListResponse\".", + "type": "string" + }, + "nextPageToken": { + "description": "Pagination token to be used for the next list operation.", + "type": "string" + } + }, + "type": "object" + }, + "AccountsListResponse": { + "description": "Account List Response", + "id": "AccountsListResponse", + "properties": { + "accounts": { + "description": "Account collection.", + "items": { + "$ref": "Account" + }, + "type": "array" + }, + "kind": { + "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#accountsListResponse\".", + "type": "string" + }, + "nextPageToken": { + "description": "Pagination token to be used for the next list operation.", + "type": "string" + } + }, + "type": "object" + }, + "Activities": { + "description": "Represents an activity group.", + "id": "Activities", + "properties": { + "filters": { + "description": "List of activity filters. The dimension values need to be all either of type \"dfa:activity\" or \"dfa:activityGroup\".", + "items": { + "$ref": "DimensionValue" + }, + "type": "array" + }, + "kind": { + "description": "The kind of resource this is, in this case dfareporting#activities.", + "type": "string" + }, + "metricNames": { + "description": "List of names of floodlight activity metrics.", + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "Ad": { + "description": "Contains properties of a Campaign Manager ad.", + "id": "Ad", + "properties": { + "accountId": { + "description": "Account ID of this ad. This is a read-only field that can be left blank.", + "format": "int64", + "type": "string" + }, + "active": { + "description": "Whether this ad is active. When true, archived must be false.", + "type": "boolean" + }, + "advertiserId": { + "description": "Advertiser ID of this ad. This is a required field on insertion.", + "format": "int64", + "type": "string" + }, + "advertiserIdDimensionValue": { + "$ref": "DimensionValue", + "description": "Dimension value for the ID of the advertiser. This is a read-only, auto-generated field." + }, + "archived": { + "description": "Whether this ad is archived. When true, active must be false.", + "type": "boolean" + }, + "audienceSegmentId": { + "description": "Audience segment ID that is being targeted for this ad. Applicable when type is AD_SERVING_STANDARD_AD.", + "format": "int64", + "type": "string" + }, + "campaignId": { + "description": "Campaign ID of this ad. This is a required field on insertion.", + "format": "int64", + "type": "string" + }, + "campaignIdDimensionValue": { + "$ref": "DimensionValue", + "description": "Dimension value for the ID of the campaign. This is a read-only, auto-generated field." + }, + "clickThroughUrl": { + "$ref": "ClickThroughUrl", + "description": "Click-through URL for this ad. This is a required field on insertion. Applicable when type is AD_SERVING_CLICK_TRACKER." + }, + "clickThroughUrlSuffixProperties": { + "$ref": "ClickThroughUrlSuffixProperties", + "description": "Click-through URL suffix properties for this ad. Applies to the URL in the ad or (if overriding ad properties) the URL in the creative." + }, + "comments": { + "description": "Comments for this ad.", + "type": "string" + }, + "compatibility": { + "description": "Compatibility of this ad. Applicable when type is AD_SERVING_DEFAULT_AD. DISPLAY and DISPLAY_INTERSTITIAL refer to either rendering on desktop or on mobile devices or in mobile apps for regular or interstitial ads, respectively. APP and APP_INTERSTITIAL are only used for existing default ads. New mobile placements must be assigned DISPLAY or DISPLAY_INTERSTITIAL and default ads created for those placements will be limited to those compatibility types. IN_STREAM_VIDEO refers to rendering in-stream video ads developed with the VAST standard.", + "enum": [ + "DISPLAY", + "DISPLAY_INTERSTITIAL", + "APP", + "APP_INTERSTITIAL", + "IN_STREAM_VIDEO", + "IN_STREAM_AUDIO" + ], + "enumDescriptions": [ + "", + "", + "", + "", + "", + "" + ], + "type": "string" + }, + "createInfo": { + "$ref": "LastModifiedInfo", + "description": "Information about the creation of this ad. This is a read-only field." + }, + "creativeGroupAssignments": { + "description": "Creative group assignments for this ad. Applicable when type is AD_SERVING_CLICK_TRACKER. Only one assignment per creative group number is allowed for a maximum of two assignments.", + "items": { + "$ref": "CreativeGroupAssignment" + }, + "type": "array" + }, + "creativeRotation": { + "$ref": "CreativeRotation", + "description": "Creative rotation for this ad. Applicable when type is AD_SERVING_DEFAULT_AD, AD_SERVING_STANDARD_AD, or AD_SERVING_TRACKING. When type is AD_SERVING_DEFAULT_AD, this field should have exactly one creativeAssignment ." + }, + "dayPartTargeting": { + "$ref": "DayPartTargeting", + "description": "Time and day targeting information for this ad. This field must be left blank if the ad is using a targeting template. Applicable when type is AD_SERVING_STANDARD_AD." + }, + "defaultClickThroughEventTagProperties": { + "$ref": "DefaultClickThroughEventTagProperties", + "description": "Default click-through event tag properties for this ad." + }, + "deliverySchedule": { + "$ref": "DeliverySchedule", + "description": "Delivery schedule information for this ad. Applicable when type is AD_SERVING_STANDARD_AD or AD_SERVING_TRACKING. This field along with subfields priority and impressionRatio are required on insertion when type is AD_SERVING_STANDARD_AD." + }, + "dynamicClickTracker": { + "description": "Whether this ad is a dynamic click tracker. Applicable when type is AD_SERVING_CLICK_TRACKER. This is a required field on insert, and is read-only after insert.", + "type": "boolean" + }, + "endTime": { + "format": "date-time", + "type": "string" + }, + "eventTagOverrides": { + "description": "Event tag overrides for this ad.", + "items": { + "$ref": "EventTagOverride" + }, + "type": "array" + }, + "geoTargeting": { + "$ref": "GeoTargeting", + "description": "Geographical targeting information for this ad. This field must be left blank if the ad is using a targeting template. Applicable when type is AD_SERVING_STANDARD_AD." + }, + "id": { + "description": "ID of this ad. This is a read-only, auto-generated field.", + "format": "int64", + "type": "string" + }, + "idDimensionValue": { + "$ref": "DimensionValue", + "description": "Dimension value for the ID of this ad. This is a read-only, auto-generated field." + }, + "keyValueTargetingExpression": { + "$ref": "KeyValueTargetingExpression", + "description": "Key-value targeting information for this ad. This field must be left blank if the ad is using a targeting template. Applicable when type is AD_SERVING_STANDARD_AD." + }, + "kind": { + "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#ad\".", + "type": "string" + }, + "languageTargeting": { + "$ref": "LanguageTargeting", + "description": "Language targeting information for this ad. This field must be left blank if the ad is using a targeting template. Applicable when type is AD_SERVING_STANDARD_AD." + }, + "lastModifiedInfo": { + "$ref": "LastModifiedInfo", + "description": "Information about the most recent modification of this ad. This is a read-only field." + }, + "name": { + "description": "Name of this ad. This is a required field and must be less than 256 characters long.", + "type": "string" + }, + "placementAssignments": { + "description": "Placement assignments for this ad.", + "items": { + "$ref": "PlacementAssignment" + }, + "type": "array" + }, + "remarketingListExpression": { + "$ref": "ListTargetingExpression", + "description": "Remarketing list targeting expression for this ad. This field must be left blank if the ad is using a targeting template. Applicable when type is AD_SERVING_STANDARD_AD." + }, + "size": { + "$ref": "Size", + "description": "Size of this ad. Applicable when type is AD_SERVING_DEFAULT_AD." + }, + "sslCompliant": { + "description": "Whether this ad is ssl compliant. This is a read-only field that is auto-generated when the ad is inserted or updated.", + "type": "boolean" + }, + "sslRequired": { + "description": "Whether this ad requires ssl. This is a read-only field that is auto-generated when the ad is inserted or updated.", + "type": "boolean" + }, + "startTime": { + "format": "date-time", + "type": "string" + }, + "subaccountId": { + "description": "Subaccount ID of this ad. This is a read-only field that can be left blank.", + "format": "int64", + "type": "string" + }, + "targetingTemplateId": { + "description": "Targeting template ID, used to apply preconfigured targeting information to this ad. This cannot be set while any of dayPartTargeting, geoTargeting, keyValueTargetingExpression, languageTargeting, remarketingListExpression, or technologyTargeting are set. Applicable when type is AD_SERVING_STANDARD_AD.", + "format": "int64", + "type": "string" + }, + "technologyTargeting": { + "$ref": "TechnologyTargeting", + "description": "Technology platform targeting information for this ad. This field must be left blank if the ad is using a targeting template. Applicable when type is AD_SERVING_STANDARD_AD." + }, + "type": { + "description": "Type of ad. This is a required field on insertion. Note that default ads ( AD_SERVING_DEFAULT_AD) cannot be created directly (see Creative resource).", + "enum": [ + "AD_SERVING_STANDARD_AD", + "AD_SERVING_DEFAULT_AD", + "AD_SERVING_CLICK_TRACKER", + "AD_SERVING_TRACKING", + "AD_SERVING_BRAND_SAFE_AD" + ], + "enumDescriptions": [ + "", + "", + "", + "", + "" + ], + "type": "string" + } + }, + "type": "object" + }, + "AdBlockingConfiguration": { + "description": "Campaign ad blocking settings.", + "id": "AdBlockingConfiguration", + "properties": { + "clickThroughUrl": { + "description": "Click-through URL used by brand-neutral ads. This is a required field when overrideClickThroughUrl is set to true.", + "type": "string" + }, + "creativeBundleId": { + "description": "ID of a creative bundle to use for this campaign. If set, brand-neutral ads will select creatives from this bundle. Otherwise, a default transparent pixel will be used.", + "format": "int64", + "type": "string" + }, + "enabled": { + "description": "Whether this campaign has enabled ad blocking. When true, ad blocking is enabled for placements in the campaign, but this may be overridden by site and placement settings. When false, ad blocking is disabled for all placements under the campaign, regardless of site and placement settings.", + "type": "boolean" + }, + "overrideClickThroughUrl": { + "description": "Whether the brand-neutral ad's click-through URL comes from the campaign's creative bundle or the override URL. Must be set to true if ad blocking is enabled and no creative bundle is configured.", + "type": "boolean" + } + }, + "type": "object" + }, + "AdSlot": { + "description": "Ad Slot", + "id": "AdSlot", + "properties": { + "comment": { + "description": "Comment for this ad slot.", + "type": "string" + }, + "compatibility": { + "description": "Ad slot compatibility. DISPLAY and DISPLAY_INTERSTITIAL refer to rendering either on desktop, mobile devices or in mobile apps for regular or interstitial ads respectively. APP and APP_INTERSTITIAL are for rendering in mobile apps. IN_STREAM_VIDEO refers to rendering in in-stream video ads developed with the VAST standard.", + "enum": [ + "DISPLAY", + "DISPLAY_INTERSTITIAL", + "APP", + "APP_INTERSTITIAL", + "IN_STREAM_VIDEO", + "IN_STREAM_AUDIO" + ], + "enumDescriptions": [ + "", + "", + "", + "", + "", + "" + ], + "type": "string" + }, + "height": { + "description": "Height of this ad slot.", + "format": "int64", + "type": "string" + }, + "linkedPlacementId": { + "description": "ID of the placement from an external platform that is linked to this ad slot.", + "format": "int64", + "type": "string" + }, + "name": { + "description": "Name of this ad slot.", + "type": "string" + }, + "paymentSourceType": { + "description": "Payment source type of this ad slot.", + "enum": [ + "PLANNING_PAYMENT_SOURCE_TYPE_AGENCY_PAID", + "PLANNING_PAYMENT_SOURCE_TYPE_PUBLISHER_PAID" + ], + "enumDescriptions": [ + "", + "" + ], + "type": "string" + }, + "primary": { + "description": "Primary ad slot of a roadblock inventory item.", + "type": "boolean" + }, + "width": { + "description": "Width of this ad slot.", + "format": "int64", + "type": "string" + } + }, + "type": "object" + }, + "AdsListResponse": { + "description": "Ad List Response", + "id": "AdsListResponse", + "properties": { + "ads": { + "description": "Ad collection.", + "items": { + "$ref": "Ad" + }, + "type": "array" + }, + "kind": { + "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#adsListResponse\".", + "type": "string" + }, + "nextPageToken": { + "description": "Pagination token to be used for the next list operation.", + "type": "string" + } + }, + "type": "object" + }, + "Advertiser": { + "description": "Contains properties of a Campaign Manager advertiser.", + "id": "Advertiser", + "properties": { + "accountId": { + "description": "Account ID of this advertiser.This is a read-only field that can be left blank.", + "format": "int64", + "type": "string" + }, + "advertiserGroupId": { + "description": "ID of the advertiser group this advertiser belongs to. You can group advertisers for reporting purposes, allowing you to see aggregated information for all advertisers in each group.", + "format": "int64", + "type": "string" + }, + "clickThroughUrlSuffix": { + "description": "Suffix added to click-through URL of ad creative associations under this advertiser. Must be less than 129 characters long.", + "type": "string" + }, + "defaultClickThroughEventTagId": { + "description": "ID of the click-through event tag to apply by default to the landing pages of this advertiser's campaigns.", + "format": "int64", + "type": "string" + }, + "defaultEmail": { + "description": "Default email address used in sender field for tag emails.", + "type": "string" + }, + "floodlightConfigurationId": { + "description": "Floodlight configuration ID of this advertiser. The floodlight configuration ID will be created automatically, so on insert this field should be left blank. This field can be set to another advertiser's floodlight configuration ID in order to share that advertiser's floodlight configuration with this advertiser, so long as: - This advertiser's original floodlight configuration is not already associated with floodlight activities or floodlight activity groups. - This advertiser's original floodlight configuration is not already shared with another advertiser. ", + "format": "int64", + "type": "string" + }, + "floodlightConfigurationIdDimensionValue": { + "$ref": "DimensionValue", + "description": "Dimension value for the ID of the floodlight configuration. This is a read-only, auto-generated field." + }, + "id": { + "description": "ID of this advertiser. This is a read-only, auto-generated field.", + "format": "int64", + "type": "string" + }, + "idDimensionValue": { + "$ref": "DimensionValue", + "description": "Dimension value for the ID of this advertiser. This is a read-only, auto-generated field." + }, + "kind": { + "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#advertiser\".", + "type": "string" + }, + "name": { + "description": "Name of this advertiser. This is a required field and must be less than 256 characters long and unique among advertisers of the same account.", + "type": "string" + }, + "originalFloodlightConfigurationId": { + "description": "Original floodlight configuration before any sharing occurred. Set the floodlightConfigurationId of this advertiser to originalFloodlightConfigurationId to unshare the advertiser's current floodlight configuration. You cannot unshare an advertiser's floodlight configuration if the shared configuration has activities associated with any campaign or placement.", + "format": "int64", + "type": "string" + }, + "status": { + "description": "Status of this advertiser.", + "enum": [ + "APPROVED", + "ON_HOLD" + ], + "enumDescriptions": [ + "", + "" + ], + "type": "string" + }, + "subaccountId": { + "description": "Subaccount ID of this advertiser.This is a read-only field that can be left blank.", + "format": "int64", + "type": "string" + }, + "suspended": { + "description": "Suspension status of this advertiser.", + "type": "boolean" + } + }, + "type": "object" + }, + "AdvertiserGroup": { + "description": "Groups advertisers together so that reports can be generated for the entire group at once.", + "id": "AdvertiserGroup", + "properties": { + "accountId": { + "description": "Account ID of this advertiser group. This is a read-only field that can be left blank.", + "format": "int64", + "type": "string" + }, + "id": { + "description": "ID of this advertiser group. This is a read-only, auto-generated field.", + "format": "int64", + "type": "string" + }, + "kind": { + "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#advertiserGroup\".", + "type": "string" + }, + "name": { + "description": "Name of this advertiser group. This is a required field and must be less than 256 characters long and unique among advertiser groups of the same account.", + "type": "string" + } + }, + "type": "object" + }, + "AdvertiserGroupsListResponse": { + "description": "Advertiser Group List Response", + "id": "AdvertiserGroupsListResponse", + "properties": { + "advertiserGroups": { + "description": "Advertiser group collection.", + "items": { + "$ref": "AdvertiserGroup" + }, + "type": "array" + }, + "kind": { + "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#advertiserGroupsListResponse\".", + "type": "string" + }, + "nextPageToken": { + "description": "Pagination token to be used for the next list operation.", + "type": "string" + } + }, + "type": "object" + }, + "AdvertiserLandingPagesListResponse": { + "description": "Landing Page List Response", + "id": "AdvertiserLandingPagesListResponse", + "properties": { + "kind": { + "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#advertiserLandingPagesListResponse\".", + "type": "string" + }, + "landingPages": { + "description": "Landing page collection", + "items": { + "$ref": "LandingPage" + }, + "type": "array" + }, + "nextPageToken": { + "description": "Pagination token to be used for the next list operation.", + "type": "string" + } + }, + "type": "object" + }, + "AdvertisersListResponse": { + "description": "Advertiser List Response", + "id": "AdvertisersListResponse", + "properties": { + "advertisers": { + "description": "Advertiser collection.", + "items": { + "$ref": "Advertiser" + }, + "type": "array" + }, + "kind": { + "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#advertisersListResponse\".", + "type": "string" + }, + "nextPageToken": { + "description": "Pagination token to be used for the next list operation.", + "type": "string" + } + }, + "type": "object" + }, + "AudienceSegment": { + "description": "Audience Segment.", + "id": "AudienceSegment", + "properties": { + "allocation": { + "description": "Weight allocated to this segment. The weight assigned will be understood in proportion to the weights assigned to other segments in the same segment group. Acceptable values are 1 to 1000, inclusive.", + "format": "int32", + "type": "integer" + }, + "id": { + "description": "ID of this audience segment. This is a read-only, auto-generated field.", + "format": "int64", + "type": "string" + }, + "name": { + "description": "Name of this audience segment. This is a required field and must be less than 65 characters long.", + "type": "string" + } + }, + "type": "object" + }, + "AudienceSegmentGroup": { + "description": "Audience Segment Group.", + "id": "AudienceSegmentGroup", + "properties": { + "audienceSegments": { + "description": "Audience segments assigned to this group. The number of segments must be between 2 and 100.", + "items": { + "$ref": "AudienceSegment" + }, + "type": "array" + }, + "id": { + "description": "ID of this audience segment group. This is a read-only, auto-generated field.", + "format": "int64", + "type": "string" + }, + "name": { + "description": "Name of this audience segment group. This is a required field and must be less than 65 characters long.", + "type": "string" + } + }, + "type": "object" + }, + "Browser": { + "description": "Contains information about a browser that can be targeted by ads.", + "id": "Browser", + "properties": { + "browserVersionId": { + "description": "ID referring to this grouping of browser and version numbers. This is the ID used for targeting.", + "format": "int64", + "type": "string" + }, + "dartId": { + "description": "DART ID of this browser. This is the ID used when generating reports.", + "format": "int64", + "type": "string" + }, + "kind": { + "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#browser\".", + "type": "string" + }, + "majorVersion": { + "description": "Major version number (leftmost number) of this browser. For example, for Chrome 5.0.376.86 beta, this field should be set to 5. An asterisk (*) may be used to target any version number, and a question mark (?) may be used to target cases where the version number cannot be identified. For example, Chrome *.* targets any version of Chrome: 1.2, 2.5, 3.5, and so on. Chrome 3.* targets Chrome 3.1, 3.5, but not 4.0. Firefox ?.? targets cases where the ad server knows the browser is Firefox but can't tell which version it is.", + "type": "string" + }, + "minorVersion": { + "description": "Minor version number (number after first dot on left) of this browser. For example, for Chrome 5.0.375.86 beta, this field should be set to 0. An asterisk (*) may be used to target any version number, and a question mark (?) may be used to target cases where the version number cannot be identified. For example, Chrome *.* targets any version of Chrome: 1.2, 2.5, 3.5, and so on. Chrome 3.* targets Chrome 3.1, 3.5, but not 4.0. Firefox ?.? targets cases where the ad server knows the browser is Firefox but can't tell which version it is.", + "type": "string" + }, + "name": { + "description": "Name of this browser.", + "type": "string" + } + }, + "type": "object" + }, + "BrowsersListResponse": { + "description": "Browser List Response", + "id": "BrowsersListResponse", + "properties": { + "browsers": { + "description": "Browser collection.", + "items": { + "$ref": "Browser" + }, + "type": "array" + }, + "kind": { + "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#browsersListResponse\".", + "type": "string" + } + }, + "type": "object" + }, + "Campaign": { + "description": "Contains properties of a Campaign Manager campaign.", + "id": "Campaign", + "properties": { + "accountId": { + "description": "Account ID of this campaign. This is a read-only field that can be left blank.", + "format": "int64", + "type": "string" + }, + "adBlockingConfiguration": { + "$ref": "AdBlockingConfiguration", + "description": "Ad blocking settings for this campaign." + }, + "additionalCreativeOptimizationConfigurations": { + "description": "Additional creative optimization configurations for the campaign.", + "items": { + "$ref": "CreativeOptimizationConfiguration" + }, + "type": "array" + }, + "advertiserGroupId": { + "description": "Advertiser group ID of the associated advertiser.", + "format": "int64", + "type": "string" + }, + "advertiserId": { + "description": "Advertiser ID of this campaign. This is a required field.", + "format": "int64", + "type": "string" + }, + "advertiserIdDimensionValue": { + "$ref": "DimensionValue", + "description": "Dimension value for the advertiser ID of this campaign. This is a read-only, auto-generated field." + }, + "archived": { + "description": "Whether this campaign has been archived.", + "type": "boolean" + }, + "audienceSegmentGroups": { + "description": "Audience segment groups assigned to this campaign. Cannot have more than 300 segment groups.", + "items": { + "$ref": "AudienceSegmentGroup" + }, + "type": "array" + }, + "billingInvoiceCode": { + "description": "Billing invoice code included in the Campaign Manager client billing invoices associated with the campaign.", + "type": "string" + }, + "clickThroughUrlSuffixProperties": { + "$ref": "ClickThroughUrlSuffixProperties", + "description": "Click-through URL suffix override properties for this campaign." + }, + "comment": { + "description": "Arbitrary comments about this campaign. Must be less than 256 characters long.", + "type": "string" + }, + "createInfo": { + "$ref": "LastModifiedInfo", + "description": "Information about the creation of this campaign. This is a read-only field." + }, + "creativeGroupIds": { + "description": "List of creative group IDs that are assigned to the campaign.", + "items": { + "format": "int64", + "type": "string" + }, + "type": "array" + }, + "creativeOptimizationConfiguration": { + "$ref": "CreativeOptimizationConfiguration", + "description": "Creative optimization configuration for the campaign." + }, + "defaultClickThroughEventTagProperties": { + "$ref": "DefaultClickThroughEventTagProperties", + "description": "Click-through event tag ID override properties for this campaign." + }, + "defaultLandingPageId": { + "description": "The default landing page ID for this campaign.", + "format": "int64", + "type": "string" + }, + "endDate": { + "format": "date", + "type": "string" + }, + "eventTagOverrides": { + "description": "Overrides that can be used to activate or deactivate advertiser event tags.", + "items": { + "$ref": "EventTagOverride" + }, + "type": "array" + }, + "externalId": { + "description": "External ID for this campaign.", + "type": "string" + }, + "id": { + "description": "ID of this campaign. This is a read-only auto-generated field.", + "format": "int64", + "type": "string" + }, + "idDimensionValue": { + "$ref": "DimensionValue", + "description": "Dimension value for the ID of this campaign. This is a read-only, auto-generated field." + }, + "kind": { + "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#campaign\".", + "type": "string" + }, + "lastModifiedInfo": { + "$ref": "LastModifiedInfo", + "description": "Information about the most recent modification of this campaign. This is a read-only field." + }, + "name": { + "description": "Name of this campaign. This is a required field and must be less than 256 characters long and unique among campaigns of the same advertiser.", + "type": "string" + }, + "nielsenOcrEnabled": { + "description": "Whether Nielsen reports are enabled for this campaign.", + "type": "boolean" + }, + "startDate": { + "format": "date", + "type": "string" + }, + "subaccountId": { + "description": "Subaccount ID of this campaign. This is a read-only field that can be left blank.", + "format": "int64", + "type": "string" + }, + "traffickerEmails": { + "description": "Campaign trafficker contact emails.", + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "CampaignCreativeAssociation": { + "description": "Identifies a creative which has been associated with a given campaign.", + "id": "CampaignCreativeAssociation", + "properties": { + "creativeId": { + "description": "ID of the creative associated with the campaign. This is a required field.", + "format": "int64", + "type": "string" + }, + "kind": { + "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#campaignCreativeAssociation\".", + "type": "string" + } + }, + "type": "object" + }, + "CampaignCreativeAssociationsListResponse": { + "description": "Campaign Creative Association List Response", + "id": "CampaignCreativeAssociationsListResponse", + "properties": { + "campaignCreativeAssociations": { + "description": "Campaign creative association collection", + "items": { + "$ref": "CampaignCreativeAssociation" + }, + "type": "array" + }, + "kind": { + "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#campaignCreativeAssociationsListResponse\".", + "type": "string" + }, + "nextPageToken": { + "description": "Pagination token to be used for the next list operation.", + "type": "string" + } + }, + "type": "object" + }, + "CampaignManagerIds": { + "description": "Campaign Manager IDs related to the custom event.", + "id": "CampaignManagerIds", + "properties": { + "adId": { + "description": "Ad ID for Campaign Manager.", + "format": "int64", + "type": "string" + }, + "campaignId": { + "description": "Campaign ID for Campaign Manager.", + "format": "int64", + "type": "string" + }, + "creativeId": { + "description": "Creative ID for Campaign Manager.", + "format": "int64", + "type": "string" + }, + "kind": { + "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#campaignManagerIds\".", + "type": "string" + }, + "placementId": { + "description": "Placement ID for Campaign Manager.", + "format": "int64", + "type": "string" + }, + "siteId": { + "description": "Site ID for Campaign Manager.", + "format": "int64", + "type": "string" + } + }, + "type": "object" + }, + "CampaignsListResponse": { + "description": "Campaign List Response", + "id": "CampaignsListResponse", + "properties": { + "campaigns": { + "description": "Campaign collection.", + "items": { + "$ref": "Campaign" + }, + "type": "array" + }, + "kind": { + "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#campaignsListResponse\".", + "type": "string" + }, + "nextPageToken": { + "description": "Pagination token to be used for the next list operation.", + "type": "string" + } + }, + "type": "object" + }, + "ChangeLog": { + "description": "Describes a change that a user has made to a resource.", + "id": "ChangeLog", + "properties": { + "accountId": { + "description": "Account ID of the modified object.", + "format": "int64", + "type": "string" + }, + "action": { + "description": "Action which caused the change.", + "type": "string" + }, + "changeTime": { + "format": "date-time", + "type": "string" + }, + "fieldName": { + "description": "Field name of the object which changed.", + "type": "string" + }, + "id": { + "description": "ID of this change log.", + "format": "int64", + "type": "string" + }, + "kind": { + "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#changeLog\".", + "type": "string" + }, + "newValue": { + "description": "New value of the object field.", + "type": "string" + }, + "objectId": { + "description": "ID of the object of this change log. The object could be a campaign, placement, ad, or other type.", + "format": "int64", + "type": "string" + }, + "objectType": { + "description": "Object type of the change log.", + "type": "string" + }, + "oldValue": { + "description": "Old value of the object field.", + "type": "string" + }, + "subaccountId": { + "description": "Subaccount ID of the modified object.", + "format": "int64", + "type": "string" + }, + "transactionId": { + "description": "Transaction ID of this change log. When a single API call results in many changes, each change will have a separate ID in the change log but will share the same transactionId.", + "format": "int64", + "type": "string" + }, + "userProfileId": { + "description": "ID of the user who modified the object.", + "format": "int64", + "type": "string" + }, + "userProfileName": { + "description": "User profile name of the user who modified the object.", + "type": "string" + } + }, + "type": "object" + }, + "ChangeLogsListResponse": { + "description": "Change Log List Response", + "id": "ChangeLogsListResponse", + "properties": { + "changeLogs": { + "description": "Change log collection.", + "items": { + "$ref": "ChangeLog" + }, + "type": "array" + }, + "kind": { + "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#changeLogsListResponse\".", + "type": "string" + }, + "nextPageToken": { + "description": "Pagination token to be used for the next list operation.", + "type": "string" + } + }, + "type": "object" + }, + "ChannelGrouping": { + "description": "Represents a DfaReporting channel grouping.", + "id": "ChannelGrouping", + "properties": { + "fallbackName": { + "description": "ChannelGrouping fallback name.", + "type": "string" + }, + "kind": { + "description": "The kind of resource this is, in this case dfareporting#channelGrouping.", + "type": "string" + }, + "name": { + "description": "ChannelGrouping name.", + "type": "string" + }, + "rules": { + "description": "The rules contained within this channel grouping.", + "items": { + "$ref": "ChannelGroupingRule" + }, + "type": "array" + } + }, + "type": "object" + }, + "ChannelGroupingRule": { + "description": "Represents a DfaReporting channel grouping rule.", + "id": "ChannelGroupingRule", + "properties": { + "disjunctiveMatchStatements": { + "description": "The disjunctive match statements contained within this rule.", + "items": { + "$ref": "DisjunctiveMatchStatement" + }, + "type": "array" + }, + "kind": { + "description": "The kind of resource this is, in this case dfareporting#channelGroupingRule.", + "type": "string" + }, + "name": { + "description": "Rule name.", + "type": "string" + } + }, + "type": "object" + }, + "CitiesListResponse": { + "description": "City List Response", + "id": "CitiesListResponse", + "properties": { + "cities": { + "description": "City collection.", + "items": { + "$ref": "City" + }, + "type": "array" + }, + "kind": { + "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#citiesListResponse\".", + "type": "string" + } + }, + "type": "object" + }, + "City": { + "description": "Contains information about a city that can be targeted by ads.", + "id": "City", + "properties": { + "countryCode": { + "description": "Country code of the country to which this city belongs.", + "type": "string" + }, + "countryDartId": { + "description": "DART ID of the country to which this city belongs.", + "format": "int64", + "type": "string" + }, + "dartId": { + "description": "DART ID of this city. This is the ID used for targeting and generating reports.", + "format": "int64", + "type": "string" + }, + "kind": { + "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#city\".", + "type": "string" + }, + "metroCode": { + "description": "Metro region code of the metro region (DMA) to which this city belongs.", + "type": "string" + }, + "metroDmaId": { + "description": "ID of the metro region (DMA) to which this city belongs.", + "format": "int64", + "type": "string" + }, + "name": { + "description": "Name of this city.", + "type": "string" + }, + "regionCode": { + "description": "Region code of the region to which this city belongs.", + "type": "string" + }, + "regionDartId": { + "description": "DART ID of the region to which this city belongs.", + "format": "int64", + "type": "string" + } + }, + "type": "object" + }, + "ClickTag": { + "description": "Creative Click Tag.", + "id": "ClickTag", + "properties": { + "clickThroughUrl": { + "$ref": "CreativeClickThroughUrl", + "description": "Parameter value for the specified click tag. This field contains a click-through url." + }, + "eventName": { + "description": "Advertiser event name associated with the click tag. This field is used by DISPLAY_IMAGE_GALLERY and HTML5_BANNER creatives. Applicable to DISPLAY when the primary asset type is not HTML_IMAGE.", + "type": "string" + }, + "name": { + "description": "Parameter name for the specified click tag. For DISPLAY_IMAGE_GALLERY creative assets, this field must match the value of the creative asset's creativeAssetId.name field.", + "type": "string" + } + }, + "type": "object" + }, + "ClickThroughUrl": { + "description": "Click-through URL", + "id": "ClickThroughUrl", + "properties": { + "computedClickThroughUrl": { + "description": "Read-only convenience field representing the actual URL that will be used for this click-through. The URL is computed as follows: - If defaultLandingPage is enabled then the campaign's default landing page URL is assigned to this field. - If defaultLandingPage is not enabled and a landingPageId is specified then that landing page's URL is assigned to this field. - If neither of the above cases apply, then the customClickThroughUrl is assigned to this field. ", + "type": "string" + }, + "customClickThroughUrl": { + "description": "Custom click-through URL. Applicable if the defaultLandingPage field is set to false and the landingPageId field is left unset.", + "type": "string" + }, + "defaultLandingPage": { + "description": "Whether the campaign default landing page is used.", + "type": "boolean" + }, + "landingPageId": { + "description": "ID of the landing page for the click-through URL. Applicable if the defaultLandingPage field is set to false.", + "format": "int64", + "type": "string" + } + }, + "type": "object" + }, + "ClickThroughUrlSuffixProperties": { + "description": "Click Through URL Suffix settings.", + "id": "ClickThroughUrlSuffixProperties", + "properties": { + "clickThroughUrlSuffix": { + "description": "Click-through URL suffix to apply to all ads in this entity's scope. Must be less than 128 characters long.", + "type": "string" + }, + "overrideInheritedSuffix": { + "description": "Whether this entity should override the inherited click-through URL suffix with its own defined value.", + "type": "boolean" + } + }, + "type": "object" + }, + "CompanionClickThroughOverride": { + "description": "Companion Click-through override.", + "id": "CompanionClickThroughOverride", + "properties": { + "clickThroughUrl": { + "$ref": "ClickThroughUrl", + "description": "Click-through URL of this companion click-through override." + }, + "creativeId": { + "description": "ID of the creative for this companion click-through override.", + "format": "int64", + "type": "string" + } + }, + "type": "object" + }, + "CompanionSetting": { + "description": "Companion Settings", + "id": "CompanionSetting", + "properties": { + "companionsDisabled": { + "description": "Whether companions are disabled for this placement.", + "type": "boolean" + }, + "enabledSizes": { + "description": "Allowlist of companion sizes to be served to this placement. Set this list to null or empty to serve all companion sizes.", + "items": { + "$ref": "Size" + }, + "type": "array" + }, + "imageOnly": { + "description": "Whether to serve only static images as companions.", + "type": "boolean" + }, + "kind": { + "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#companionSetting\".", + "type": "string" + } + }, + "type": "object" + }, + "CompatibleFields": { + "description": "Represents a response to the queryCompatibleFields method.", + "id": "CompatibleFields", + "properties": { + "crossDimensionReachReportCompatibleFields": { + "$ref": "CrossDimensionReachReportCompatibleFields", + "description": "Contains items that are compatible to be selected for a report of type \"CROSS_DIMENSION_REACH\"." + }, + "floodlightReportCompatibleFields": { + "$ref": "FloodlightReportCompatibleFields", + "description": "Contains items that are compatible to be selected for a report of type \"FLOODLIGHT\"." + }, + "kind": { + "description": "The kind of resource this is, in this case dfareporting#compatibleFields.", + "type": "string" + }, + "pathAttributionReportCompatibleFields": { + "$ref": "PathReportCompatibleFields", + "description": "Contains items that are compatible to be selected for a report of type \"PATH_ATTRIBUTION\"." + }, + "pathReportCompatibleFields": { + "$ref": "PathReportCompatibleFields", + "description": "Contains items that are compatible to be selected for a report of type \"PATH\"." + }, + "pathToConversionReportCompatibleFields": { + "$ref": "PathToConversionReportCompatibleFields", + "description": "Contains items that are compatible to be selected for a report of type \"PATH_TO_CONVERSION\"." + }, + "reachReportCompatibleFields": { + "$ref": "ReachReportCompatibleFields", + "description": "Contains items that are compatible to be selected for a report of type \"REACH\"." + }, + "reportCompatibleFields": { + "$ref": "ReportCompatibleFields", + "description": "Contains items that are compatible to be selected for a report of type \"STANDARD\"." + } + }, + "type": "object" + }, + "ConnectionType": { + "description": "Contains information about an internet connection type that can be targeted by ads. Clients can use the connection type to target mobile vs. broadband users.", + "id": "ConnectionType", + "properties": { + "id": { + "description": "ID of this connection type.", + "format": "int64", + "type": "string" + }, + "kind": { + "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#connectionType\".", + "type": "string" + }, + "name": { + "description": "Name of this connection type.", + "type": "string" + } + }, + "type": "object" + }, + "ConnectionTypesListResponse": { + "description": "Connection Type List Response", + "id": "ConnectionTypesListResponse", + "properties": { + "connectionTypes": { + "description": "Collection of connection types such as broadband and mobile.", + "items": { + "$ref": "ConnectionType" + }, + "type": "array" + }, + "kind": { + "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#connectionTypesListResponse\".", + "type": "string" + } + }, + "type": "object" + }, + "ContentCategoriesListResponse": { + "description": "Content Category List Response", + "id": "ContentCategoriesListResponse", + "properties": { + "contentCategories": { + "description": "Content category collection.", + "items": { + "$ref": "ContentCategory" + }, + "type": "array" + }, + "kind": { + "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#contentCategoriesListResponse\".", + "type": "string" + }, + "nextPageToken": { + "description": "Pagination token to be used for the next list operation.", + "type": "string" + } + }, + "type": "object" + }, + "ContentCategory": { + "description": "Organizes placements according to the contents of their associated webpages.", + "id": "ContentCategory", + "properties": { + "accountId": { + "description": "Account ID of this content category. This is a read-only field that can be left blank.", + "format": "int64", + "type": "string" + }, + "id": { + "description": "ID of this content category. This is a read-only, auto-generated field.", + "format": "int64", + "type": "string" + }, + "kind": { + "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#contentCategory\".", + "type": "string" + }, + "name": { + "description": "Name of this content category. This is a required field and must be less than 256 characters long and unique among content categories of the same account.", + "type": "string" + } + }, + "type": "object" + }, + "Conversion": { + "description": "A Conversion represents when a user successfully performs a desired action after seeing an ad.", + "id": "Conversion", + "properties": { + "childDirectedTreatment": { + "description": "Whether this particular request may come from a user under the age of 13, under COPPA compliance.", + "type": "boolean" + }, + "customVariables": { + "description": "Custom floodlight variables. This field may only be used when calling batchinsert; it is not supported by batchupdate.", + "items": { + "$ref": "CustomFloodlightVariable" + }, + "type": "array" + }, + "dclid": { + "description": "The display click ID. This field is mutually exclusive with encryptedUserId, encryptedUserIdCandidates[], matchId, mobileDeviceId and gclid. This or encryptedUserId or encryptedUserIdCandidates[] or matchId or mobileDeviceId or gclid is a required field.", + "type": "string" + }, + "encryptedUserId": { + "description": "The alphanumeric encrypted user ID. When set, encryptionInfo should also be specified. This field is mutually exclusive with encryptedUserIdCandidates[], matchId, mobileDeviceId, gclid and dclid. This or encryptedUserIdCandidates[] or matchId or mobileDeviceId or gclid or dclid is a required field.", + "type": "string" + }, + "encryptedUserIdCandidates": { + "description": "A list of the alphanumeric encrypted user IDs. Any user ID with exposure prior to the conversion timestamp will be used in the inserted conversion. If no such user ID is found then the conversion will be rejected with INVALID_ARGUMENT error. When set, encryptionInfo should also be specified. This field may only be used when calling batchinsert; it is not supported by batchupdate. This field is mutually exclusive with encryptedUserId, matchId, mobileDeviceId, gclid and dclid. This or encryptedUserId or matchId or mobileDeviceId or gclid or dclid is a required field.", + "items": { + "type": "string" + }, + "type": "array" + }, + "floodlightActivityId": { + "description": "Floodlight Activity ID of this conversion. This is a required field.", + "format": "int64", + "type": "string" + }, + "floodlightConfigurationId": { + "description": "Floodlight Configuration ID of this conversion. This is a required field.", + "format": "int64", + "type": "string" + }, + "gclid": { + "description": "The Google click ID. This field is mutually exclusive with encryptedUserId, encryptedUserIdCandidates[], matchId, mobileDeviceId and dclid. This or encryptedUserId or encryptedUserIdCandidates[] or matchId or mobileDeviceId or dclid is a required field.", + "type": "string" + }, + "kind": { + "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#conversion\".", + "type": "string" + }, + "limitAdTracking": { + "description": "Whether Limit Ad Tracking is enabled. When set to true, the conversion will be used for reporting but not targeting. This will prevent remarketing.", + "type": "boolean" + }, + "matchId": { + "description": "The match ID field. A match ID is your own first-party identifier that has been synced with Google using the match ID feature in Floodlight. This field is mutually exclusive with encryptedUserId, encryptedUserIdCandidates[],mobileDeviceId, gclid and dclid. This or encryptedUserId or encryptedUserIdCandidates[] or mobileDeviceId or gclid or dclid is a required field.", + "type": "string" + }, + "mobileDeviceId": { + "description": "The mobile device ID. This field is mutually exclusive with encryptedUserId, encryptedUserIdCandidates[], matchId, gclid and dclid. This or encryptedUserId or encryptedUserIdCandidates[] or matchId or gclid or dclid is a required field.", + "type": "string" + }, + "nonPersonalizedAd": { + "description": "Whether the conversion was for a non personalized ad.", + "type": "boolean" + }, + "ordinal": { + "description": "The ordinal of the conversion. Use this field to control how conversions of the same user and day are de-duplicated. This is a required field.", + "type": "string" + }, + "quantity": { + "description": "The quantity of the conversion.", + "format": "int64", + "type": "string" + }, + "timestampMicros": { + "description": "The timestamp of conversion, in Unix epoch micros. This is a required field.", + "format": "int64", + "type": "string" + }, + "treatmentForUnderage": { + "description": "Whether this particular request may come from a user under the age of 16 (may differ by country), under compliance with the European Union's General Data Protection Regulation (GDPR).", + "type": "boolean" + }, + "value": { + "description": "The value of the conversion.", + "format": "double", + "type": "number" + } + }, + "type": "object" + }, + "ConversionError": { + "description": "The error code and description for a conversion that failed to insert or update.", + "id": "ConversionError", + "properties": { + "code": { + "description": "The error code.", + "enum": [ + "INVALID_ARGUMENT", + "INTERNAL", + "PERMISSION_DENIED", + "NOT_FOUND" + ], + "enumDescriptions": [ + "", + "", + "", + "" + ], + "type": "string" + }, + "kind": { + "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#conversionError\".", + "type": "string" + }, + "message": { + "description": "A description of the error.", + "type": "string" + } + }, + "type": "object" + }, + "ConversionStatus": { + "description": "The original conversion that was inserted or updated and whether there were any errors.", + "id": "ConversionStatus", + "properties": { + "conversion": { + "$ref": "Conversion", + "description": "The original conversion that was inserted or updated." + }, + "errors": { + "description": "A list of errors related to this conversion.", + "items": { + "$ref": "ConversionError" + }, + "type": "array" + }, + "kind": { + "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#conversionStatus\".", + "type": "string" + } + }, + "type": "object" + }, + "ConversionsBatchInsertRequest": { + "description": "Insert Conversions Request.", + "id": "ConversionsBatchInsertRequest", + "properties": { + "conversions": { + "description": "The set of conversions to insert.", + "items": { + "$ref": "Conversion" + }, + "type": "array" + }, + "encryptionInfo": { + "$ref": "EncryptionInfo", + "description": "Describes how encryptedUserId or encryptedUserIdCandidates[] is encrypted. This is a required field if encryptedUserId or encryptedUserIdCandidates[] is used." + }, + "kind": { + "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#conversionsBatchInsertRequest\".", + "type": "string" + } + }, + "type": "object" + }, + "ConversionsBatchInsertResponse": { + "description": "Insert Conversions Response.", + "id": "ConversionsBatchInsertResponse", + "properties": { + "hasFailures": { + "description": "Indicates that some or all conversions failed to insert.", + "type": "boolean" + }, + "kind": { + "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#conversionsBatchInsertResponse\".", + "type": "string" + }, + "status": { + "description": "The insert status of each conversion. Statuses are returned in the same order that conversions are inserted.", + "items": { + "$ref": "ConversionStatus" + }, + "type": "array" + } + }, + "type": "object" + }, + "ConversionsBatchUpdateRequest": { + "description": "Update Conversions Request.", + "id": "ConversionsBatchUpdateRequest", + "properties": { + "conversions": { + "description": "The set of conversions to update.", + "items": { + "$ref": "Conversion" + }, + "type": "array" + }, + "encryptionInfo": { + "$ref": "EncryptionInfo", + "description": "Describes how encryptedUserId is encrypted. This is a required field if encryptedUserId is used." + }, + "kind": { + "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#conversionsBatchUpdateRequest\".", + "type": "string" + } + }, + "type": "object" + }, + "ConversionsBatchUpdateResponse": { + "description": "Update Conversions Response.", + "id": "ConversionsBatchUpdateResponse", + "properties": { + "hasFailures": { + "description": "Indicates that some or all conversions failed to update.", + "type": "boolean" + }, + "kind": { + "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#conversionsBatchUpdateResponse\".", + "type": "string" + }, + "status": { + "description": "The update status of each conversion. Statuses are returned in the same order that conversions are updated.", + "items": { + "$ref": "ConversionStatus" + }, + "type": "array" + } + }, + "type": "object" + }, + "CountriesListResponse": { + "description": "Country List Response", + "id": "CountriesListResponse", + "properties": { + "countries": { + "description": "Country collection.", + "items": { + "$ref": "Country" + }, + "type": "array" + }, + "kind": { + "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#countriesListResponse\".", + "type": "string" + } + }, + "type": "object" + }, + "Country": { + "description": "Contains information about a country that can be targeted by ads.", + "id": "Country", + "properties": { + "countryCode": { + "description": "Country code.", + "type": "string" + }, + "dartId": { + "description": "DART ID of this country. This is the ID used for targeting and generating reports.", + "format": "int64", + "type": "string" + }, + "kind": { + "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#country\".", + "type": "string" + }, + "name": { + "description": "Name of this country.", + "type": "string" + }, + "sslEnabled": { + "description": "Whether ad serving supports secure servers in this country.", + "type": "boolean" + } + }, + "type": "object" + }, + "Creative": { + "description": "Contains properties of a Creative.", + "id": "Creative", + "properties": { + "accountId": { + "description": "Account ID of this creative. This field, if left unset, will be auto-generated for both insert and update operations. Applicable to all creative types.", + "format": "int64", + "type": "string" + }, + "active": { + "description": "Whether the creative is active. Applicable to all creative types.", + "type": "boolean" + }, + "adParameters": { + "description": "Ad parameters user for VPAID creative. This is a read-only field. Applicable to the following creative types: all VPAID.", + "type": "string" + }, + "adTagKeys": { + "description": "Keywords for a Rich Media creative. Keywords let you customize the creative settings of a Rich Media ad running on your site without having to contact the advertiser. You can use keywords to dynamically change the look or functionality of a creative. Applicable to the following creative types: all RICH_MEDIA, and all VPAID.", + "items": { + "type": "string" + }, + "type": "array" + }, + "additionalSizes": { + "description": "Additional sizes associated with a responsive creative. When inserting or updating a creative either the size ID field or size width and height fields can be used. Applicable to DISPLAY creatives when the primary asset type is HTML_IMAGE.", + "items": { + "$ref": "Size" + }, + "type": "array" + }, + "advertiserId": { + "description": "Advertiser ID of this creative. This is a required field. Applicable to all creative types.", + "format": "int64", + "type": "string" + }, + "allowScriptAccess": { + "description": "Whether script access is allowed for this creative. This is a read-only and deprecated field which will automatically be set to true on update. Applicable to the following creative types: FLASH_INPAGE.", + "type": "boolean" + }, + "archived": { + "description": "Whether the creative is archived. Applicable to all creative types.", + "type": "boolean" + }, + "artworkType": { + "description": "Type of artwork used for the creative. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA, and all VPAID.", + "enum": [ + "ARTWORK_TYPE_FLASH", + "ARTWORK_TYPE_HTML5", + "ARTWORK_TYPE_MIXED", + "ARTWORK_TYPE_IMAGE" + ], + "enumDescriptions": [ + "", + "", + "", + "" + ], + "type": "string" + }, + "authoringSource": { + "description": "Source application where creative was authored. Presently, only DBM authored creatives will have this field set. Applicable to all creative types.", + "enum": [ + "CREATIVE_AUTHORING_SOURCE_DCM", + "CREATIVE_AUTHORING_SOURCE_DBM", + "CREATIVE_AUTHORING_SOURCE_STUDIO", + "CREATIVE_AUTHORING_SOURCE_GWD" + ], + "enumDescriptions": [ + "", + "", + "", + "" + ], + "type": "string" + }, + "authoringTool": { + "description": "Authoring tool for HTML5 banner creatives. This is a read-only field. Applicable to the following creative types: HTML5_BANNER.", + "enum": [ + "NINJA", + "SWIFFY" + ], + "enumDescriptions": [ + "", + "" + ], + "type": "string" + }, + "autoAdvanceImages": { + "description": "Whether images are automatically advanced for image gallery creatives. Applicable to the following creative types: DISPLAY_IMAGE_GALLERY.", + "type": "boolean" + }, + "backgroundColor": { + "description": "The 6-character HTML color code, beginning with #, for the background of the window area where the Flash file is displayed. Default is white. Applicable to the following creative types: FLASH_INPAGE.", + "type": "string" + }, + "backupImageClickThroughUrl": { + "$ref": "CreativeClickThroughUrl", + "description": "Click-through URL for backup image. Applicable to ENHANCED_BANNER when the primary asset type is not HTML_IMAGE." + }, + "backupImageFeatures": { + "description": "List of feature dependencies that will cause a backup image to be served if the browser that serves the ad does not support them. Feature dependencies are features that a browser must be able to support in order to render your HTML5 creative asset correctly. This field is initially auto-generated to contain all features detected by Campaign Manager for all the assets of this creative and can then be modified by the client. To reset this field, copy over all the creativeAssets' detected features. Applicable to the following creative types: HTML5_BANNER. Applicable to DISPLAY when the primary asset type is not HTML_IMAGE.", + "items": { + "enum": [ + "CSS_FONT_FACE", + "CSS_BACKGROUND_SIZE", + "CSS_BORDER_IMAGE", + "CSS_BORDER_RADIUS", + "CSS_BOX_SHADOW", + "CSS_FLEX_BOX", + "CSS_HSLA", + "CSS_MULTIPLE_BGS", + "CSS_OPACITY", + "CSS_RGBA", + "CSS_TEXT_SHADOW", + "CSS_ANIMATIONS", + "CSS_COLUMNS", + "CSS_GENERATED_CONTENT", + "CSS_GRADIENTS", + "CSS_REFLECTIONS", + "CSS_TRANSFORMS", + "CSS_TRANSFORMS3D", + "CSS_TRANSITIONS", + "APPLICATION_CACHE", + "CANVAS", + "CANVAS_TEXT", + "DRAG_AND_DROP", + "HASH_CHANGE", + "HISTORY", + "AUDIO", + "VIDEO", + "INDEXED_DB", + "INPUT_ATTR_AUTOCOMPLETE", + "INPUT_ATTR_AUTOFOCUS", + "INPUT_ATTR_LIST", + "INPUT_ATTR_PLACEHOLDER", + "INPUT_ATTR_MAX", + "INPUT_ATTR_MIN", + "INPUT_ATTR_MULTIPLE", + "INPUT_ATTR_PATTERN", + "INPUT_ATTR_REQUIRED", + "INPUT_ATTR_STEP", + "INPUT_TYPE_SEARCH", + "INPUT_TYPE_TEL", + "INPUT_TYPE_URL", + "INPUT_TYPE_EMAIL", + "INPUT_TYPE_DATETIME", + "INPUT_TYPE_DATE", + "INPUT_TYPE_MONTH", + "INPUT_TYPE_WEEK", + "INPUT_TYPE_TIME", + "INPUT_TYPE_DATETIME_LOCAL", + "INPUT_TYPE_NUMBER", + "INPUT_TYPE_RANGE", + "INPUT_TYPE_COLOR", + "LOCAL_STORAGE", + "POST_MESSAGE", + "SESSION_STORAGE", + "WEB_SOCKETS", + "WEB_SQL_DATABASE", + "WEB_WORKERS", + "GEO_LOCATION", + "INLINE_SVG", + "SMIL", + "SVG_HREF", + "SVG_CLIP_PATHS", + "TOUCH", + "WEBGL", + "SVG_FILTERS", + "SVG_FE_IMAGE" + ], + "enumDescriptions": [ + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "type": "string" + }, + "type": "array" + }, + "backupImageReportingLabel": { + "description": "Reporting label used for HTML5 banner backup image. Applicable to the following creative types: DISPLAY when the primary asset type is not HTML_IMAGE.", + "type": "string" + }, + "backupImageTargetWindow": { + "$ref": "TargetWindow", + "description": "Target window for backup image. Applicable to the following creative types: FLASH_INPAGE and HTML5_BANNER. Applicable to DISPLAY when the primary asset type is not HTML_IMAGE." + }, + "clickTags": { + "description": "Click tags of the creative. For DISPLAY, FLASH_INPAGE, and HTML5_BANNER creatives, this is a subset of detected click tags for the assets associated with this creative. After creating a flash asset, detected click tags will be returned in the creativeAssetMetadata. When inserting the creative, populate the creative clickTags field using the creativeAssetMetadata.clickTags field. For DISPLAY_IMAGE_GALLERY creatives, there should be exactly one entry in this list for each image creative asset. A click tag is matched with a corresponding creative asset by matching the clickTag.name field with the creativeAsset.assetIdentifier.name field. Applicable to the following creative types: DISPLAY_IMAGE_GALLERY, FLASH_INPAGE, HTML5_BANNER. Applicable to DISPLAY when the primary asset type is not HTML_IMAGE.", + "items": { + "$ref": "ClickTag" + }, + "type": "array" + }, + "commercialId": { + "description": "Industry standard ID assigned to creative for reach and frequency. Applicable to INSTREAM_VIDEO_REDIRECT creatives.", + "type": "string" + }, + "companionCreatives": { + "description": "List of companion creatives assigned to an in-Stream video creative. Acceptable values include IDs of existing flash and image creatives. Applicable to the following creative types: all VPAID, all INSTREAM_AUDIO and all INSTREAM_VIDEO with dynamicAssetSelection set to false.", + "items": { + "format": "int64", + "type": "string" + }, + "type": "array" + }, + "compatibility": { + "description": "Compatibilities associated with this creative. This is a read-only field. DISPLAY and DISPLAY_INTERSTITIAL refer to rendering either on desktop or on mobile devices or in mobile apps for regular or interstitial ads, respectively. APP and APP_INTERSTITIAL are for rendering in mobile apps. Only pre-existing creatives may have these compatibilities since new creatives will either be assigned DISPLAY or DISPLAY_INTERSTITIAL instead. IN_STREAM_VIDEO refers to rendering in in-stream video ads developed with the VAST standard. IN_STREAM_AUDIO refers to rendering in in-stream audio ads developed with the VAST standard. Applicable to all creative types. Acceptable values are: - \"APP\" - \"APP_INTERSTITIAL\" - \"IN_STREAM_VIDEO\" - \"IN_STREAM_AUDIO\" - \"DISPLAY\" - \"DISPLAY_INTERSTITIAL\" ", + "items": { + "enum": [ + "DISPLAY", + "DISPLAY_INTERSTITIAL", + "APP", + "APP_INTERSTITIAL", + "IN_STREAM_VIDEO", + "IN_STREAM_AUDIO" + ], + "enumDescriptions": [ + "", + "", + "", + "", + "", + "" + ], + "type": "string" + }, + "type": "array" + }, + "convertFlashToHtml5": { + "description": "Whether Flash assets associated with the creative need to be automatically converted to HTML5. This flag is enabled by default and users can choose to disable it if they don't want the system to generate and use HTML5 asset for this creative. Applicable to the following creative type: FLASH_INPAGE. Applicable to DISPLAY when the primary asset type is not HTML_IMAGE.", + "type": "boolean" + }, + "counterCustomEvents": { + "description": "List of counter events configured for the creative. For DISPLAY_IMAGE_GALLERY creatives, these are read-only and auto-generated from clickTags. Applicable to the following creative types: DISPLAY_IMAGE_GALLERY, all RICH_MEDIA, and all VPAID.", + "items": { + "$ref": "CreativeCustomEvent" + }, + "type": "array" + }, + "creativeAssetSelection": { + "$ref": "CreativeAssetSelection", + "description": "Required if dynamicAssetSelection is true." + }, + "creativeAssets": { + "description": "Assets associated with a creative. Applicable to all but the following creative types: INTERNAL_REDIRECT, INTERSTITIAL_INTERNAL_REDIRECT, and REDIRECT", + "items": { + "$ref": "CreativeAsset" + }, + "type": "array" + }, + "creativeFieldAssignments": { + "description": "Creative field assignments for this creative. Applicable to all creative types.", + "items": { + "$ref": "CreativeFieldAssignment" + }, + "type": "array" + }, + "customKeyValues": { + "description": "Custom key-values for a Rich Media creative. Key-values let you customize the creative settings of a Rich Media ad running on your site without having to contact the advertiser. You can use key-values to dynamically change the look or functionality of a creative. Applicable to the following creative types: all RICH_MEDIA, and all VPAID.", + "items": { + "type": "string" + }, + "type": "array" + }, + "dynamicAssetSelection": { + "description": "Set this to true to enable the use of rules to target individual assets in this creative. When set to true creativeAssetSelection must be set. This also controls asset-level companions. When this is true, companion creatives should be assigned to creative assets. Learn more. Applicable to INSTREAM_VIDEO creatives.", + "type": "boolean" + }, + "exitCustomEvents": { + "description": "List of exit events configured for the creative. For DISPLAY and DISPLAY_IMAGE_GALLERY creatives, these are read-only and auto-generated from clickTags, For DISPLAY, an event is also created from the backupImageReportingLabel. Applicable to the following creative types: DISPLAY_IMAGE_GALLERY, all RICH_MEDIA, and all VPAID. Applicable to DISPLAY when the primary asset type is not HTML_IMAGE.", + "items": { + "$ref": "CreativeCustomEvent" + }, + "type": "array" + }, + "fsCommand": { + "$ref": "FsCommand", + "description": "OpenWindow FSCommand of this creative. This lets the SWF file communicate with either Flash Player or the program hosting Flash Player, such as a web browser. This is only triggered if allowScriptAccess field is true. Applicable to the following creative types: FLASH_INPAGE." + }, + "htmlCode": { + "description": "HTML code for the creative. This is a required field when applicable. This field is ignored if htmlCodeLocked is true. Applicable to the following creative types: all CUSTOM, FLASH_INPAGE, and HTML5_BANNER, and all RICH_MEDIA.", + "type": "string" + }, + "htmlCodeLocked": { + "description": "Whether HTML code is generated by Campaign Manager or manually entered. Set to true to ignore changes to htmlCode. Applicable to the following creative types: FLASH_INPAGE and HTML5_BANNER.", + "type": "boolean" + }, + "id": { + "description": "ID of this creative. This is a read-only, auto-generated field. Applicable to all creative types.", + "format": "int64", + "type": "string" + }, + "idDimensionValue": { + "$ref": "DimensionValue", + "description": "Dimension value for the ID of this creative. This is a read-only field. Applicable to all creative types." + }, + "kind": { + "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#creative\".", + "type": "string" + }, + "lastModifiedInfo": { + "$ref": "LastModifiedInfo", + "description": "Creative last modification information. This is a read-only field. Applicable to all creative types." + }, + "latestTraffickedCreativeId": { + "description": "Latest Studio trafficked creative ID associated with rich media and VPAID creatives. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA, and all VPAID.", + "format": "int64", + "type": "string" + }, + "mediaDescription": { + "description": "Description of the audio or video ad. Applicable to the following creative types: all INSTREAM_VIDEO, INSTREAM_AUDIO, and all VPAID.", + "type": "string" + }, + "mediaDuration": { + "description": "Creative audio or video duration in seconds. This is a read-only field. Applicable to the following creative types: INSTREAM_VIDEO, INSTREAM_AUDIO, all RICH_MEDIA, and all VPAID.", + "format": "float", + "type": "number" + }, + "name": { + "description": "Name of the creative. This is a required field and must be less than 256 characters long. Applicable to all creative types.", + "type": "string" + }, + "obaIcon": { + "$ref": "ObaIcon", + "description": "Online behavioral advertising icon to be added to the creative. Applicable to the following creative types: all INSTREAM_VIDEO." + }, + "overrideCss": { + "description": "Override CSS value for rich media creatives. Applicable to the following creative types: all RICH_MEDIA.", + "type": "string" + }, + "progressOffset": { + "$ref": "VideoOffset", + "description": "Amount of time to play the video before counting a view. Applicable to the following creative types: all INSTREAM_VIDEO." + }, + "redirectUrl": { + "description": "URL of hosted image or hosted video or another ad tag. For INSTREAM_VIDEO_REDIRECT creatives this is the in-stream video redirect URL. The standard for a VAST (Video Ad Serving Template) ad response allows for a redirect link to another VAST 2.0 or 3.0 call. This is a required field when applicable. Applicable to the following creative types: DISPLAY_REDIRECT, INTERNAL_REDIRECT, INTERSTITIAL_INTERNAL_REDIRECT, and INSTREAM_VIDEO_REDIRECT", + "type": "string" + }, + "renderingId": { + "description": "ID of current rendering version. This is a read-only field. Applicable to all creative types.", + "format": "int64", + "type": "string" + }, + "renderingIdDimensionValue": { + "$ref": "DimensionValue", + "description": "Dimension value for the rendering ID of this creative. This is a read-only field. Applicable to all creative types." + }, + "requiredFlashPluginVersion": { + "description": "The minimum required Flash plugin version for this creative. For example, 11.2.202.235. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA, and all VPAID.", + "type": "string" + }, + "requiredFlashVersion": { + "description": "The internal Flash version for this creative as calculated by Studio. This is a read-only field. Applicable to the following creative types: FLASH_INPAGE all RICH_MEDIA, and all VPAID. Applicable to DISPLAY when the primary asset type is not HTML_IMAGE.", + "format": "int32", + "type": "integer" + }, + "size": { + "$ref": "Size", + "description": "Size associated with this creative. When inserting or updating a creative either the size ID field or size width and height fields can be used. This is a required field when applicable; however for IMAGE, FLASH_INPAGE creatives, and for DISPLAY creatives with a primary asset of type HTML_IMAGE, if left blank, this field will be automatically set using the actual size of the associated image assets. Applicable to the following creative types: DISPLAY, DISPLAY_IMAGE_GALLERY, FLASH_INPAGE, HTML5_BANNER, IMAGE, and all RICH_MEDIA." + }, + "skipOffset": { + "$ref": "VideoOffset", + "description": "Amount of time to play the video before the skip button appears. Applicable to the following creative types: all INSTREAM_VIDEO." + }, + "skippable": { + "description": "Whether the user can choose to skip the creative. Applicable to the following creative types: all INSTREAM_VIDEO and all VPAID.", + "type": "boolean" + }, + "sslCompliant": { + "description": "Whether the creative is SSL-compliant. This is a read-only field. Applicable to all creative types.", + "type": "boolean" + }, + "sslOverride": { + "description": "Whether creative should be treated as SSL compliant even if the system scan shows it's not. Applicable to all creative types.", + "type": "boolean" + }, + "studioAdvertiserId": { + "description": "Studio advertiser ID associated with rich media and VPAID creatives. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA, and all VPAID.", + "format": "int64", + "type": "string" + }, + "studioCreativeId": { + "description": "Studio creative ID associated with rich media and VPAID creatives. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA, and all VPAID.", + "format": "int64", + "type": "string" + }, + "studioTraffickedCreativeId": { + "description": "Studio trafficked creative ID associated with rich media and VPAID creatives. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA, and all VPAID.", + "format": "int64", + "type": "string" + }, + "subaccountId": { + "description": "Subaccount ID of this creative. This field, if left unset, will be auto-generated for both insert and update operations. Applicable to all creative types.", + "format": "int64", + "type": "string" + }, + "thirdPartyBackupImageImpressionsUrl": { + "description": "Third-party URL used to record backup image impressions. Applicable to the following creative types: all RICH_MEDIA.", + "type": "string" + }, + "thirdPartyRichMediaImpressionsUrl": { + "description": "Third-party URL used to record rich media impressions. Applicable to the following creative types: all RICH_MEDIA.", + "type": "string" + }, + "thirdPartyUrls": { + "description": "Third-party URLs for tracking in-stream creative events. Applicable to the following creative types: all INSTREAM_VIDEO, all INSTREAM_AUDIO, and all VPAID.", + "items": { + "$ref": "ThirdPartyTrackingUrl" + }, + "type": "array" + }, + "timerCustomEvents": { + "description": "List of timer events configured for the creative. For DISPLAY_IMAGE_GALLERY creatives, these are read-only and auto-generated from clickTags. Applicable to the following creative types: DISPLAY_IMAGE_GALLERY, all RICH_MEDIA, and all VPAID. Applicable to DISPLAY when the primary asset is not HTML_IMAGE.", + "items": { + "$ref": "CreativeCustomEvent" + }, + "type": "array" + }, + "totalFileSize": { + "description": "Combined size of all creative assets. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA, and all VPAID.", + "format": "int64", + "type": "string" + }, + "type": { + "description": "Type of this creative. This is a required field. Applicable to all creative types. *Note:* FLASH_INPAGE, HTML5_BANNER, and IMAGE are only used for existing creatives. New creatives should use DISPLAY as a replacement for these types.", + "enum": [ + "IMAGE", + "DISPLAY_REDIRECT", + "CUSTOM_DISPLAY", + "INTERNAL_REDIRECT", + "CUSTOM_DISPLAY_INTERSTITIAL", + "INTERSTITIAL_INTERNAL_REDIRECT", + "TRACKING_TEXT", + "RICH_MEDIA_DISPLAY_BANNER", + "RICH_MEDIA_INPAGE_FLOATING", + "RICH_MEDIA_IM_EXPAND", + "RICH_MEDIA_DISPLAY_EXPANDING", + "RICH_MEDIA_DISPLAY_INTERSTITIAL", + "RICH_MEDIA_DISPLAY_MULTI_FLOATING_INTERSTITIAL", + "RICH_MEDIA_MOBILE_IN_APP", + "FLASH_INPAGE", + "INSTREAM_VIDEO", + "VPAID_LINEAR_VIDEO", + "VPAID_NON_LINEAR_VIDEO", + "INSTREAM_VIDEO_REDIRECT", + "RICH_MEDIA_PEEL_DOWN", + "HTML5_BANNER", + "DISPLAY", + "DISPLAY_IMAGE_GALLERY", + "BRAND_SAFE_DEFAULT_INSTREAM_VIDEO", + "INSTREAM_AUDIO" + ], + "enumDescriptions": [ + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "type": "string" + }, + "universalAdId": { + "$ref": "UniversalAdId", + "description": "A Universal Ad ID as per the VAST 4.0 spec. Applicable to the following creative types: INSTREAM_AUDIO and INSTREAM_VIDEO and VPAID." + }, + "version": { + "description": "The version number helps you keep track of multiple versions of your creative in your reports. The version number will always be auto-generated during insert operations to start at 1. For tracking creatives the version cannot be incremented and will always remain at 1. For all other creative types the version can be incremented only by 1 during update operations. In addition, the version will be automatically incremented by 1 when undergoing Rich Media creative merging. Applicable to all creative types.", + "format": "int32", + "type": "integer" + } + }, + "type": "object" + }, + "CreativeAsset": { + "description": "Creative Asset.", + "id": "CreativeAsset", + "properties": { + "actionScript3": { + "description": "Whether ActionScript3 is enabled for the flash asset. This is a read-only field. Applicable to the following creative type: FLASH_INPAGE. Applicable to DISPLAY when the primary asset type is not HTML_IMAGE.", + "type": "boolean" + }, + "active": { + "description": "Whether the video or audio asset is active. This is a read-only field for VPAID_NON_LINEAR_VIDEO assets. Applicable to the following creative types: INSTREAM_AUDIO, INSTREAM_VIDEO and all VPAID.", + "type": "boolean" + }, + "additionalSizes": { + "description": "Additional sizes associated with this creative asset. HTML5 asset generated by compatible software such as GWD will be able to support more sizes this creative asset can render.", + "items": { + "$ref": "Size" + }, + "type": "array" + }, + "alignment": { + "description": "Possible alignments for an asset. This is a read-only field. Applicable to the following creative types: RICH_MEDIA_DISPLAY_MULTI_FLOATING_INTERSTITIAL .", + "enum": [ + "ALIGNMENT_TOP", + "ALIGNMENT_RIGHT", + "ALIGNMENT_BOTTOM", + "ALIGNMENT_LEFT" + ], + "enumDescriptions": [ + "", + "", + "", + "" + ], + "type": "string" + }, + "artworkType": { + "description": "Artwork type of rich media creative. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA.", + "enum": [ + "ARTWORK_TYPE_FLASH", + "ARTWORK_TYPE_HTML5", + "ARTWORK_TYPE_MIXED", + "ARTWORK_TYPE_IMAGE" + ], + "enumDescriptions": [ + "", + "", + "", + "" + ], + "type": "string" + }, + "assetIdentifier": { + "$ref": "CreativeAssetId", + "description": "Identifier of this asset. This is the same identifier returned during creative asset insert operation. This is a required field. Applicable to all but the following creative types: all REDIRECT and TRACKING_TEXT." + }, + "audioBitRate": { + "description": "Audio stream bit rate in kbps. This is a read-only field. Applicable to the following creative types: INSTREAM_AUDIO, INSTREAM_VIDEO and all VPAID.", + "format": "int32", + "type": "integer" + }, + "audioSampleRate": { + "description": "Audio sample bit rate in hertz. This is a read-only field. Applicable to the following creative types: INSTREAM_AUDIO, INSTREAM_VIDEO and all VPAID.", + "format": "int32", + "type": "integer" + }, + "backupImageExit": { + "$ref": "CreativeCustomEvent", + "description": "Exit event configured for the backup image. Applicable to the following creative types: all RICH_MEDIA." + }, + "bitRate": { + "description": "Detected bit-rate for audio or video asset. This is a read-only field. Applicable to the following creative types: INSTREAM_AUDIO, INSTREAM_VIDEO and all VPAID.", + "format": "int32", + "type": "integer" + }, + "childAssetType": { + "description": "Rich media child asset type. This is a read-only field. Applicable to the following creative types: all VPAID.", + "enum": [ + "CHILD_ASSET_TYPE_FLASH", + "CHILD_ASSET_TYPE_VIDEO", + "CHILD_ASSET_TYPE_IMAGE", + "CHILD_ASSET_TYPE_DATA" + ], + "enumDescriptions": [ + "", + "", + "", + "" + ], + "type": "string" + }, + "collapsedSize": { + "$ref": "Size", + "description": "Size of an asset when collapsed. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA and all VPAID. Additionally, applicable to assets whose displayType is ASSET_DISPLAY_TYPE_EXPANDING or ASSET_DISPLAY_TYPE_PEEL_DOWN." + }, + "companionCreativeIds": { + "description": "List of companion creatives assigned to an in-stream video creative asset. Acceptable values include IDs of existing flash and image creatives. Applicable to INSTREAM_VIDEO creative type with dynamicAssetSelection set to true.", + "items": { + "format": "int64", + "type": "string" + }, + "type": "array" + }, + "customStartTimeValue": { + "description": "Custom start time in seconds for making the asset visible. Applicable to the following creative types: all RICH_MEDIA. Value must be greater than or equal to 0.", + "format": "int32", + "type": "integer" + }, + "detectedFeatures": { + "description": "List of feature dependencies for the creative asset that are detected by Campaign Manager. Feature dependencies are features that a browser must be able to support in order to render your HTML5 creative correctly. This is a read-only, auto-generated field. Applicable to the following creative types: HTML5_BANNER. Applicable to DISPLAY when the primary asset type is not HTML_IMAGE.", + "items": { + "enum": [ + "CSS_FONT_FACE", + "CSS_BACKGROUND_SIZE", + "CSS_BORDER_IMAGE", + "CSS_BORDER_RADIUS", + "CSS_BOX_SHADOW", + "CSS_FLEX_BOX", + "CSS_HSLA", + "CSS_MULTIPLE_BGS", + "CSS_OPACITY", + "CSS_RGBA", + "CSS_TEXT_SHADOW", + "CSS_ANIMATIONS", + "CSS_COLUMNS", + "CSS_GENERATED_CONTENT", + "CSS_GRADIENTS", + "CSS_REFLECTIONS", + "CSS_TRANSFORMS", + "CSS_TRANSFORMS3D", + "CSS_TRANSITIONS", + "APPLICATION_CACHE", + "CANVAS", + "CANVAS_TEXT", + "DRAG_AND_DROP", + "HASH_CHANGE", + "HISTORY", + "AUDIO", + "VIDEO", + "INDEXED_DB", + "INPUT_ATTR_AUTOCOMPLETE", + "INPUT_ATTR_AUTOFOCUS", + "INPUT_ATTR_LIST", + "INPUT_ATTR_PLACEHOLDER", + "INPUT_ATTR_MAX", + "INPUT_ATTR_MIN", + "INPUT_ATTR_MULTIPLE", + "INPUT_ATTR_PATTERN", + "INPUT_ATTR_REQUIRED", + "INPUT_ATTR_STEP", + "INPUT_TYPE_SEARCH", + "INPUT_TYPE_TEL", + "INPUT_TYPE_URL", + "INPUT_TYPE_EMAIL", + "INPUT_TYPE_DATETIME", + "INPUT_TYPE_DATE", + "INPUT_TYPE_MONTH", + "INPUT_TYPE_WEEK", + "INPUT_TYPE_TIME", + "INPUT_TYPE_DATETIME_LOCAL", + "INPUT_TYPE_NUMBER", + "INPUT_TYPE_RANGE", + "INPUT_TYPE_COLOR", + "LOCAL_STORAGE", + "POST_MESSAGE", + "SESSION_STORAGE", + "WEB_SOCKETS", + "WEB_SQL_DATABASE", + "WEB_WORKERS", + "GEO_LOCATION", + "INLINE_SVG", + "SMIL", + "SVG_HREF", + "SVG_CLIP_PATHS", + "TOUCH", + "WEBGL", + "SVG_FILTERS", + "SVG_FE_IMAGE" + ], + "enumDescriptions": [ + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "type": "string" + }, + "type": "array" + }, + "displayType": { + "description": "Type of rich media asset. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA.", + "enum": [ + "ASSET_DISPLAY_TYPE_INPAGE", + "ASSET_DISPLAY_TYPE_FLOATING", + "ASSET_DISPLAY_TYPE_OVERLAY", + "ASSET_DISPLAY_TYPE_EXPANDING", + "ASSET_DISPLAY_TYPE_FLASH_IN_FLASH", + "ASSET_DISPLAY_TYPE_FLASH_IN_FLASH_EXPANDING", + "ASSET_DISPLAY_TYPE_PEEL_DOWN", + "ASSET_DISPLAY_TYPE_VPAID_LINEAR", + "ASSET_DISPLAY_TYPE_VPAID_NON_LINEAR", + "ASSET_DISPLAY_TYPE_BACKDROP" + ], + "enumDescriptions": [ + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "type": "string" + }, + "duration": { + "description": "Duration in seconds for which an asset will be displayed. Applicable to the following creative types: INSTREAM_AUDIO, INSTREAM_VIDEO and VPAID_LINEAR_VIDEO. Value must be greater than or equal to 1.", + "format": "int32", + "type": "integer" + }, + "durationType": { + "description": "Duration type for which an asset will be displayed. Applicable to the following creative types: all RICH_MEDIA.", + "enum": [ + "ASSET_DURATION_TYPE_AUTO", + "ASSET_DURATION_TYPE_NONE", + "ASSET_DURATION_TYPE_CUSTOM" + ], + "enumDescriptions": [ + "", + "", + "" + ], + "type": "string" + }, + "expandedDimension": { + "$ref": "Size", + "description": "Detected expanded dimension for video asset. This is a read-only field. Applicable to the following creative types: INSTREAM_VIDEO and all VPAID." + }, + "fileSize": { + "description": "File size associated with this creative asset. This is a read-only field. Applicable to all but the following creative types: all REDIRECT and TRACKING_TEXT.", + "format": "int64", + "type": "string" + }, + "flashVersion": { + "description": "Flash version of the asset. This is a read-only field. Applicable to the following creative types: FLASH_INPAGE, all RICH_MEDIA, and all VPAID. Applicable to DISPLAY when the primary asset type is not HTML_IMAGE.", + "format": "int32", + "type": "integer" + }, + "frameRate": { + "description": "Video frame rate for video asset in frames per second. This is a read-only field. Applicable to the following creative types: INSTREAM_VIDEO and all VPAID.", + "format": "float", + "type": "number" + }, + "hideFlashObjects": { + "description": "Whether to hide Flash objects flag for an asset. Applicable to the following creative types: all RICH_MEDIA.", + "type": "boolean" + }, + "hideSelectionBoxes": { + "description": "Whether to hide selection boxes flag for an asset. Applicable to the following creative types: all RICH_MEDIA.", + "type": "boolean" + }, + "horizontallyLocked": { + "description": "Whether the asset is horizontally locked. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA.", + "type": "boolean" + }, + "id": { + "description": "Numeric ID of this creative asset. This is a required field and should not be modified. Applicable to all but the following creative types: all REDIRECT and TRACKING_TEXT.", + "format": "int64", + "type": "string" + }, + "idDimensionValue": { + "$ref": "DimensionValue", + "description": "Dimension value for the ID of the asset. This is a read-only, auto-generated field." + }, + "mediaDuration": { + "description": "Detected duration for audio or video asset. This is a read-only field. Applicable to the following creative types: INSTREAM_AUDIO, INSTREAM_VIDEO and all VPAID.", + "format": "float", + "type": "number" + }, + "mimeType": { + "description": "Detected MIME type for audio or video asset. This is a read-only field. Applicable to the following creative types: INSTREAM_AUDIO, INSTREAM_VIDEO and all VPAID.", + "type": "string" + }, + "offset": { + "$ref": "OffsetPosition", + "description": "Offset position for an asset in collapsed mode. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA and all VPAID. Additionally, only applicable to assets whose displayType is ASSET_DISPLAY_TYPE_EXPANDING or ASSET_DISPLAY_TYPE_PEEL_DOWN." + }, + "orientation": { + "description": "Orientation of video asset. This is a read-only, auto-generated field.", + "enum": [ + "LANDSCAPE", + "PORTRAIT", + "SQUARE" + ], + "enumDescriptions": [ + "", + "", + "" + ], + "type": "string" + }, + "originalBackup": { + "description": "Whether the backup asset is original or changed by the user in Campaign Manager. Applicable to the following creative types: all RICH_MEDIA.", + "type": "boolean" + }, + "politeLoad": { + "description": "Whether this asset is used as a polite load asset.", + "type": "boolean" + }, + "position": { + "$ref": "OffsetPosition", + "description": "Offset position for an asset. Applicable to the following creative types: all RICH_MEDIA." + }, + "positionLeftUnit": { + "description": "Offset left unit for an asset. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA.", + "enum": [ + "OFFSET_UNIT_PIXEL", + "OFFSET_UNIT_PERCENT", + "OFFSET_UNIT_PIXEL_FROM_CENTER" + ], + "enumDescriptions": [ + "", + "", + "" + ], + "type": "string" + }, + "positionTopUnit": { + "description": "Offset top unit for an asset. This is a read-only field if the asset displayType is ASSET_DISPLAY_TYPE_OVERLAY. Applicable to the following creative types: all RICH_MEDIA.", + "enum": [ + "OFFSET_UNIT_PIXEL", + "OFFSET_UNIT_PERCENT", + "OFFSET_UNIT_PIXEL_FROM_CENTER" + ], + "enumDescriptions": [ + "", + "", + "" + ], + "type": "string" + }, + "progressiveServingUrl": { + "description": "Progressive URL for video asset. This is a read-only field. Applicable to the following creative types: INSTREAM_VIDEO and all VPAID.", + "type": "string" + }, + "pushdown": { + "description": "Whether the asset pushes down other content. Applicable to the following creative types: all RICH_MEDIA. Additionally, only applicable when the asset offsets are 0, the collapsedSize.width matches size.width, and the collapsedSize.height is less than size.height.", + "type": "boolean" + }, + "pushdownDuration": { + "description": "Pushdown duration in seconds for an asset. Applicable to the following creative types: all RICH_MEDIA.Additionally, only applicable when the asset pushdown field is true, the offsets are 0, the collapsedSize.width matches size.width, and the collapsedSize.height is less than size.height. Acceptable values are 0 to 9.99, inclusive.", + "format": "float", + "type": "number" + }, + "role": { + "description": "Role of the asset in relation to creative. Applicable to all but the following creative types: all REDIRECT and TRACKING_TEXT. This is a required field. PRIMARY applies to DISPLAY, FLASH_INPAGE, HTML5_BANNER, IMAGE, DISPLAY_IMAGE_GALLERY, all RICH_MEDIA (which may contain multiple primary assets), and all VPAID creatives. BACKUP_IMAGE applies to FLASH_INPAGE, HTML5_BANNER, all RICH_MEDIA, and all VPAID creatives. Applicable to DISPLAY when the primary asset type is not HTML_IMAGE. ADDITIONAL_IMAGE and ADDITIONAL_FLASH apply to FLASH_INPAGE creatives. OTHER refers to assets from sources other than Campaign Manager, such as Studio uploaded assets, applicable to all RICH_MEDIA and all VPAID creatives. PARENT_VIDEO refers to videos uploaded by the user in Campaign Manager and is applicable to INSTREAM_VIDEO and VPAID_LINEAR_VIDEO creatives. TRANSCODED_VIDEO refers to videos transcoded by Campaign Manager from PARENT_VIDEO assets and is applicable to INSTREAM_VIDEO and VPAID_LINEAR_VIDEO creatives. ALTERNATE_VIDEO refers to the Campaign Manager representation of child asset videos from Studio, and is applicable to VPAID_LINEAR_VIDEO creatives. These cannot be added or removed within Campaign Manager. For VPAID_LINEAR_VIDEO creatives, PARENT_VIDEO, TRANSCODED_VIDEO and ALTERNATE_VIDEO assets that are marked active serve as backup in case the VPAID creative cannot be served. Only PARENT_VIDEO assets can be added or removed for an INSTREAM_VIDEO or VPAID_LINEAR_VIDEO creative. PARENT_AUDIO refers to audios uploaded by the user in Campaign Manager and is applicable to INSTREAM_AUDIO creatives. TRANSCODED_AUDIO refers to audios transcoded by Campaign Manager from PARENT_AUDIO assets and is applicable to INSTREAM_AUDIO creatives. ", + "enum": [ + "PRIMARY", + "BACKUP_IMAGE", + "ADDITIONAL_IMAGE", + "ADDITIONAL_FLASH", + "PARENT_VIDEO", + "TRANSCODED_VIDEO", + "OTHER", + "ALTERNATE_VIDEO", + "PARENT_AUDIO", + "TRANSCODED_AUDIO" + ], + "enumDescriptions": [ + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "type": "string" + }, + "size": { + "$ref": "Size", + "description": "Size associated with this creative asset. This is a required field when applicable; however for IMAGE and FLASH_INPAGE, creatives if left blank, this field will be automatically set using the actual size of the associated image asset. Applicable to the following creative types: DISPLAY_IMAGE_GALLERY, FLASH_INPAGE, HTML5_BANNER, IMAGE, and all RICH_MEDIA. Applicable to DISPLAY when the primary asset type is not HTML_IMAGE." + }, + "sslCompliant": { + "description": "Whether the asset is SSL-compliant. This is a read-only field. Applicable to all but the following creative types: all REDIRECT and TRACKING_TEXT.", + "type": "boolean" + }, + "startTimeType": { + "description": "Initial wait time type before making the asset visible. Applicable to the following creative types: all RICH_MEDIA.", + "enum": [ + "ASSET_START_TIME_TYPE_NONE", + "ASSET_START_TIME_TYPE_CUSTOM" + ], + "enumDescriptions": [ + "", + "" + ], + "type": "string" + }, + "streamingServingUrl": { + "description": "Streaming URL for video asset. This is a read-only field. Applicable to the following creative types: INSTREAM_VIDEO and all VPAID.", + "type": "string" + }, + "transparency": { + "description": "Whether the asset is transparent. Applicable to the following creative types: all RICH_MEDIA. Additionally, only applicable to HTML5 assets.", + "type": "boolean" + }, + "verticallyLocked": { + "description": "Whether the asset is vertically locked. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA.", + "type": "boolean" + }, + "windowMode": { + "description": "Window mode options for flash assets. Applicable to the following creative types: FLASH_INPAGE, RICH_MEDIA_DISPLAY_EXPANDING, RICH_MEDIA_IM_EXPAND, RICH_MEDIA_DISPLAY_BANNER, and RICH_MEDIA_INPAGE_FLOATING.", + "enum": [ + "OPAQUE", + "WINDOW", + "TRANSPARENT" + ], + "enumDescriptions": [ + "", + "", + "" + ], + "type": "string" + }, + "zIndex": { + "description": "zIndex value of an asset. Applicable to the following creative types: all RICH_MEDIA.Additionally, only applicable to assets whose displayType is NOT one of the following types: ASSET_DISPLAY_TYPE_INPAGE or ASSET_DISPLAY_TYPE_OVERLAY. Acceptable values are -999999999 to 999999999, inclusive.", + "format": "int32", + "type": "integer" + }, + "zipFilename": { + "description": "File name of zip file. This is a read-only field. Applicable to the following creative types: HTML5_BANNER.", + "type": "string" + }, + "zipFilesize": { + "description": "Size of zip file. This is a read-only field. Applicable to the following creative types: HTML5_BANNER.", + "type": "string" + } + }, + "type": "object" + }, + "CreativeAssetId": { + "description": "Creative Asset ID.", + "id": "CreativeAssetId", + "properties": { + "name": { + "description": "Name of the creative asset. This is a required field while inserting an asset. After insertion, this assetIdentifier is used to identify the uploaded asset. Characters in the name must be alphanumeric or one of the following: \".-_ \". Spaces are allowed.", + "type": "string" + }, + "type": { + "description": "Type of asset to upload. This is a required field. FLASH and IMAGE are no longer supported for new uploads. All image assets should use HTML_IMAGE.", + "enum": [ + "IMAGE", + "FLASH", + "VIDEO", + "HTML", + "HTML_IMAGE", + "AUDIO" + ], + "enumDescriptions": [ + "", + "", + "", + "", + "", + "" + ], + "type": "string" + } + }, + "type": "object" + }, + "CreativeAssetMetadata": { + "description": "CreativeAssets contains properties of a creative asset file which will be uploaded or has already been uploaded. Refer to the creative sample code for how to upload assets and insert a creative.", + "id": "CreativeAssetMetadata", + "properties": { + "assetIdentifier": { + "$ref": "CreativeAssetId", + "description": "ID of the creative asset. This is a required field." + }, + "clickTags": { + "description": "List of detected click tags for assets. This is a read-only, auto-generated field. This field is empty for a rich media asset.", + "items": { + "$ref": "ClickTag" + }, + "type": "array" + }, + "counterCustomEvents": { + "description": "List of counter events configured for the asset. This is a read-only, auto-generated field and only applicable to a rich media asset.", + "items": { + "$ref": "CreativeCustomEvent" + }, + "type": "array" + }, + "detectedFeatures": { + "description": "List of feature dependencies for the creative asset that are detected by Campaign Manager. Feature dependencies are features that a browser must be able to support in order to render your HTML5 creative correctly. This is a read-only, auto-generated field.", + "items": { + "enum": [ + "CSS_FONT_FACE", + "CSS_BACKGROUND_SIZE", + "CSS_BORDER_IMAGE", + "CSS_BORDER_RADIUS", + "CSS_BOX_SHADOW", + "CSS_FLEX_BOX", + "CSS_HSLA", + "CSS_MULTIPLE_BGS", + "CSS_OPACITY", + "CSS_RGBA", + "CSS_TEXT_SHADOW", + "CSS_ANIMATIONS", + "CSS_COLUMNS", + "CSS_GENERATED_CONTENT", + "CSS_GRADIENTS", + "CSS_REFLECTIONS", + "CSS_TRANSFORMS", + "CSS_TRANSFORMS3D", + "CSS_TRANSITIONS", + "APPLICATION_CACHE", + "CANVAS", + "CANVAS_TEXT", + "DRAG_AND_DROP", + "HASH_CHANGE", + "HISTORY", + "AUDIO", + "VIDEO", + "INDEXED_DB", + "INPUT_ATTR_AUTOCOMPLETE", + "INPUT_ATTR_AUTOFOCUS", + "INPUT_ATTR_LIST", + "INPUT_ATTR_PLACEHOLDER", + "INPUT_ATTR_MAX", + "INPUT_ATTR_MIN", + "INPUT_ATTR_MULTIPLE", + "INPUT_ATTR_PATTERN", + "INPUT_ATTR_REQUIRED", + "INPUT_ATTR_STEP", + "INPUT_TYPE_SEARCH", + "INPUT_TYPE_TEL", + "INPUT_TYPE_URL", + "INPUT_TYPE_EMAIL", + "INPUT_TYPE_DATETIME", + "INPUT_TYPE_DATE", + "INPUT_TYPE_MONTH", + "INPUT_TYPE_WEEK", + "INPUT_TYPE_TIME", + "INPUT_TYPE_DATETIME_LOCAL", + "INPUT_TYPE_NUMBER", + "INPUT_TYPE_RANGE", + "INPUT_TYPE_COLOR", + "LOCAL_STORAGE", + "POST_MESSAGE", + "SESSION_STORAGE", + "WEB_SOCKETS", + "WEB_SQL_DATABASE", + "WEB_WORKERS", + "GEO_LOCATION", + "INLINE_SVG", + "SMIL", + "SVG_HREF", + "SVG_CLIP_PATHS", + "TOUCH", + "WEBGL", + "SVG_FILTERS", + "SVG_FE_IMAGE" + ], + "enumDescriptions": [ + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "type": "string" + }, + "type": "array" + }, + "exitCustomEvents": { + "description": "List of exit events configured for the asset. This is a read-only, auto-generated field and only applicable to a rich media asset.", + "items": { + "$ref": "CreativeCustomEvent" + }, + "type": "array" + }, + "id": { + "description": "Numeric ID of the asset. This is a read-only, auto-generated field.", + "format": "int64", + "type": "string" + }, + "idDimensionValue": { + "$ref": "DimensionValue", + "description": "Dimension value for the numeric ID of the asset. This is a read-only, auto-generated field." + }, + "kind": { + "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#creativeAssetMetadata\".", + "type": "string" + }, + "richMedia": { + "description": "True if the uploaded asset is a rich media asset. This is a read-only, auto-generated field.", + "type": "boolean" + }, + "timerCustomEvents": { + "description": "List of timer events configured for the asset. This is a read-only, auto-generated field and only applicable to a rich media asset.", + "items": { + "$ref": "CreativeCustomEvent" + }, + "type": "array" + }, + "warnedValidationRules": { + "description": "Rules validated during code generation that generated a warning. This is a read-only, auto-generated field. Possible values are: - \"ADMOB_REFERENCED\" - \"ASSET_FORMAT_UNSUPPORTED_DCM\" - \"ASSET_INVALID\" - \"CLICK_TAG_HARD_CODED\" - \"CLICK_TAG_INVALID\" - \"CLICK_TAG_IN_GWD\" - \"CLICK_TAG_MISSING\" - \"CLICK_TAG_MORE_THAN_ONE\" - \"CLICK_TAG_NON_TOP_LEVEL\" - \"COMPONENT_UNSUPPORTED_DCM\" - \"ENABLER_UNSUPPORTED_METHOD_DCM\" - \"EXTERNAL_FILE_REFERENCED\" - \"FILE_DETAIL_EMPTY\" - \"FILE_TYPE_INVALID\" - \"GWD_PROPERTIES_INVALID\" - \"HTML5_FEATURE_UNSUPPORTED\" - \"LINKED_FILE_NOT_FOUND\" - \"MAX_FLASH_VERSION_11\" - \"MRAID_REFERENCED\" - \"NOT_SSL_COMPLIANT\" - \"ORPHANED_ASSET\" - \"PRIMARY_HTML_MISSING\" - \"SVG_INVALID\" - \"ZIP_INVALID\" ", + "items": { + "enum": [ + "CLICK_TAG_NON_TOP_LEVEL", + "CLICK_TAG_MISSING", + "CLICK_TAG_MORE_THAN_ONE", + "CLICK_TAG_INVALID", + "ORPHANED_ASSET", + "PRIMARY_HTML_MISSING", + "EXTERNAL_FILE_REFERENCED", + "MRAID_REFERENCED", + "ADMOB_REFERENCED", + "FILE_TYPE_INVALID", + "ZIP_INVALID", + "LINKED_FILE_NOT_FOUND", + "MAX_FLASH_VERSION_11", + "NOT_SSL_COMPLIANT", + "FILE_DETAIL_EMPTY", + "ASSET_INVALID", + "GWD_PROPERTIES_INVALID", + "ENABLER_UNSUPPORTED_METHOD_DCM", + "ASSET_FORMAT_UNSUPPORTED_DCM", + "COMPONENT_UNSUPPORTED_DCM", + "HTML5_FEATURE_UNSUPPORTED", + "CLICK_TAG_IN_GWD", + "CLICK_TAG_HARD_CODED", + "SVG_INVALID", + "CLICK_TAG_IN_RICH_MEDIA" + ], + "enumDescriptions": [ + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "CreativeAssetSelection": { + "description": "Encapsulates the list of rules for asset selection and a default asset in case none of the rules match. Applicable to INSTREAM_VIDEO creatives.", + "id": "CreativeAssetSelection", + "properties": { + "defaultAssetId": { + "description": "A creativeAssets[].id. This should refer to one of the parent assets in this creative, and will be served if none of the rules match. This is a required field.", + "format": "int64", + "type": "string" + }, + "rules": { + "description": "Rules determine which asset will be served to a viewer. Rules will be evaluated in the order in which they are stored in this list. This list must contain at least one rule. Applicable to INSTREAM_VIDEO creatives.", + "items": { + "$ref": "Rule" + }, + "type": "array" + } + }, + "type": "object" + }, + "CreativeAssignment": { + "description": "Creative Assignment.", + "id": "CreativeAssignment", + "properties": { + "active": { + "description": "Whether this creative assignment is active. When true, the creative will be included in the ad's rotation.", + "type": "boolean" + }, + "applyEventTags": { + "description": "Whether applicable event tags should fire when this creative assignment is rendered. If this value is unset when the ad is inserted or updated, it will default to true for all creative types EXCEPT for INTERNAL_REDIRECT, INTERSTITIAL_INTERNAL_REDIRECT, and INSTREAM_VIDEO.", + "type": "boolean" + }, + "clickThroughUrl": { + "$ref": "ClickThroughUrl", + "description": "Click-through URL of the creative assignment." + }, + "companionCreativeOverrides": { + "description": "Companion creative overrides for this creative assignment. Applicable to video ads.", + "items": { + "$ref": "CompanionClickThroughOverride" + }, + "type": "array" + }, + "creativeGroupAssignments": { + "description": "Creative group assignments for this creative assignment. Only one assignment per creative group number is allowed for a maximum of two assignments.", + "items": { + "$ref": "CreativeGroupAssignment" + }, + "type": "array" + }, + "creativeId": { + "description": "ID of the creative to be assigned. This is a required field.", + "format": "int64", + "type": "string" + }, + "creativeIdDimensionValue": { + "$ref": "DimensionValue", + "description": "Dimension value for the ID of the creative. This is a read-only, auto-generated field." + }, + "endTime": { + "format": "date-time", + "type": "string" + }, + "richMediaExitOverrides": { + "description": "Rich media exit overrides for this creative assignment. Applicable when the creative type is any of the following: - DISPLAY - RICH_MEDIA_INPAGE - RICH_MEDIA_INPAGE_FLOATING - RICH_MEDIA_IM_EXPAND - RICH_MEDIA_EXPANDING - RICH_MEDIA_INTERSTITIAL_FLOAT - RICH_MEDIA_MOBILE_IN_APP - RICH_MEDIA_MULTI_FLOATING - RICH_MEDIA_PEEL_DOWN - VPAID_LINEAR - VPAID_NON_LINEAR ", + "items": { + "$ref": "RichMediaExitOverride" + }, + "type": "array" + }, + "sequence": { + "description": "Sequence number of the creative assignment, applicable when the rotation type is CREATIVE_ROTATION_TYPE_SEQUENTIAL. Acceptable values are 1 to 65535, inclusive.", + "format": "int32", + "type": "integer" + }, + "sslCompliant": { + "description": "Whether the creative to be assigned is SSL-compliant. This is a read-only field that is auto-generated when the ad is inserted or updated.", + "type": "boolean" + }, + "startTime": { + "format": "date-time", + "type": "string" + }, + "weight": { + "description": "Weight of the creative assignment, applicable when the rotation type is CREATIVE_ROTATION_TYPE_RANDOM. Value must be greater than or equal to 1.", + "format": "int32", + "type": "integer" + } + }, + "type": "object" + }, + "CreativeClickThroughUrl": { + "description": "Click-through URL", + "id": "CreativeClickThroughUrl", + "properties": { + "computedClickThroughUrl": { + "description": "Read-only convenience field representing the actual URL that will be used for this click-through. The URL is computed as follows: - If landingPageId is specified then that landing page's URL is assigned to this field. - Otherwise, the customClickThroughUrl is assigned to this field. ", + "type": "string" + }, + "customClickThroughUrl": { + "description": "Custom click-through URL. Applicable if the landingPageId field is left unset.", + "type": "string" + }, + "landingPageId": { + "description": "ID of the landing page for the click-through URL.", + "format": "int64", + "type": "string" + } + }, + "type": "object" + }, + "CreativeCustomEvent": { + "description": "Creative Custom Event.", + "id": "CreativeCustomEvent", + "properties": { + "advertiserCustomEventId": { + "description": "Unique ID of this event used by Reporting and Data Transfer. This is a read-only field.", + "format": "int64", + "type": "string" + }, + "advertiserCustomEventName": { + "description": "User-entered name for the event.", + "type": "string" + }, + "advertiserCustomEventType": { + "description": "Type of the event. This is a read-only field.", + "enum": [ + "ADVERTISER_EVENT_TIMER", + "ADVERTISER_EVENT_EXIT", + "ADVERTISER_EVENT_COUNTER" + ], + "enumDescriptions": [ + "", + "", + "" + ], + "type": "string" + }, + "artworkLabel": { + "description": "Artwork label column, used to link events in Campaign Manager back to events in Studio. This is a required field and should not be modified after insertion.", + "type": "string" + }, + "artworkType": { + "description": "Artwork type used by the creative.This is a read-only field.", + "enum": [ + "ARTWORK_TYPE_FLASH", + "ARTWORK_TYPE_HTML5", + "ARTWORK_TYPE_MIXED", + "ARTWORK_TYPE_IMAGE" + ], + "enumDescriptions": [ + "", + "", + "", + "" + ], + "type": "string" + }, + "exitClickThroughUrl": { + "$ref": "CreativeClickThroughUrl", + "description": "Exit click-through URL for the event. This field is used only for exit events." + }, + "id": { + "description": "ID of this event. This is a required field and should not be modified after insertion.", + "format": "int64", + "type": "string" + }, + "popupWindowProperties": { + "$ref": "PopupWindowProperties", + "description": "Properties for rich media popup windows. This field is used only for exit events." + }, + "targetType": { + "description": "Target type used by the event.", + "enum": [ + "TARGET_BLANK", + "TARGET_TOP", + "TARGET_SELF", + "TARGET_PARENT", + "TARGET_POPUP" + ], + "enumDescriptions": [ + "", + "", + "", + "", + "" + ], + "type": "string" + }, + "videoReportingId": { + "description": "Video reporting ID, used to differentiate multiple videos in a single creative. This is a read-only field.", + "type": "string" + } + }, + "type": "object" + }, + "CreativeField": { + "description": "Contains properties of a creative field.", + "id": "CreativeField", + "properties": { + "accountId": { + "description": "Account ID of this creative field. This is a read-only field that can be left blank.", + "format": "int64", + "type": "string" + }, + "advertiserId": { + "description": "Advertiser ID of this creative field. This is a required field on insertion.", + "format": "int64", + "type": "string" + }, + "advertiserIdDimensionValue": { + "$ref": "DimensionValue", + "description": "Dimension value for the ID of the advertiser. This is a read-only, auto-generated field." + }, + "id": { + "description": "ID of this creative field. This is a read-only, auto-generated field.", + "format": "int64", + "type": "string" + }, + "kind": { + "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#creativeField\".", + "type": "string" + }, + "name": { + "description": "Name of this creative field. This is a required field and must be less than 256 characters long and unique among creative fields of the same advertiser.", + "type": "string" + }, + "subaccountId": { + "description": "Subaccount ID of this creative field. This is a read-only field that can be left blank.", + "format": "int64", + "type": "string" + } + }, + "type": "object" + }, + "CreativeFieldAssignment": { + "description": "Creative Field Assignment.", + "id": "CreativeFieldAssignment", + "properties": { + "creativeFieldId": { + "description": "ID of the creative field.", + "format": "int64", + "type": "string" + }, + "creativeFieldValueId": { + "description": "ID of the creative field value.", + "format": "int64", + "type": "string" + } + }, + "type": "object" + }, + "CreativeFieldValue": { + "description": "Contains properties of a creative field value.", + "id": "CreativeFieldValue", + "properties": { + "id": { + "description": "ID of this creative field value. This is a read-only, auto-generated field.", + "format": "int64", + "type": "string" + }, + "kind": { + "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#creativeFieldValue\".", + "type": "string" + }, + "value": { + "description": "Value of this creative field value. It needs to be less than 256 characters in length and unique per creative field.", + "type": "string" + } + }, + "type": "object" + }, + "CreativeFieldValuesListResponse": { + "description": "Creative Field Value List Response", + "id": "CreativeFieldValuesListResponse", + "properties": { + "creativeFieldValues": { + "description": "Creative field value collection.", + "items": { + "$ref": "CreativeFieldValue" + }, + "type": "array" + }, + "kind": { + "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#creativeFieldValuesListResponse\".", + "type": "string" + }, + "nextPageToken": { + "description": "Pagination token to be used for the next list operation.", + "type": "string" + } + }, + "type": "object" + }, + "CreativeFieldsListResponse": { + "description": "Creative Field List Response", + "id": "CreativeFieldsListResponse", + "properties": { + "creativeFields": { + "description": "Creative field collection.", + "items": { + "$ref": "CreativeField" + }, + "type": "array" + }, + "kind": { + "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#creativeFieldsListResponse\".", + "type": "string" + }, + "nextPageToken": { + "description": "Pagination token to be used for the next list operation.", + "type": "string" + } + }, + "type": "object" + }, + "CreativeGroup": { + "description": "Contains properties of a creative group.", + "id": "CreativeGroup", + "properties": { + "accountId": { + "description": "Account ID of this creative group. This is a read-only field that can be left blank.", + "format": "int64", + "type": "string" + }, + "advertiserId": { + "description": "Advertiser ID of this creative group. This is a required field on insertion.", + "format": "int64", + "type": "string" + }, + "advertiserIdDimensionValue": { + "$ref": "DimensionValue", + "description": "Dimension value for the ID of the advertiser. This is a read-only, auto-generated field." + }, + "groupNumber": { + "description": "Subgroup of the creative group. Assign your creative groups to a subgroup in order to filter or manage them more easily. This field is required on insertion and is read-only after insertion. Acceptable values are 1 to 2, inclusive.", + "format": "int32", + "type": "integer" + }, + "id": { + "description": "ID of this creative group. This is a read-only, auto-generated field.", + "format": "int64", + "type": "string" + }, + "kind": { + "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#creativeGroup\".", + "type": "string" + }, + "name": { + "description": "Name of this creative group. This is a required field and must be less than 256 characters long and unique among creative groups of the same advertiser.", + "type": "string" + }, + "subaccountId": { + "description": "Subaccount ID of this creative group. This is a read-only field that can be left blank.", + "format": "int64", + "type": "string" + } + }, + "type": "object" + }, + "CreativeGroupAssignment": { + "description": "Creative Group Assignment.", + "id": "CreativeGroupAssignment", + "properties": { + "creativeGroupId": { + "description": "ID of the creative group to be assigned.", + "format": "int64", + "type": "string" + }, + "creativeGroupNumber": { + "description": "Creative group number of the creative group assignment.", + "enum": [ + "CREATIVE_GROUP_ONE", + "CREATIVE_GROUP_TWO" + ], + "enumDescriptions": [ + "", + "" + ], + "type": "string" + } + }, + "type": "object" + }, + "CreativeGroupsListResponse": { + "description": "Creative Group List Response", + "id": "CreativeGroupsListResponse", + "properties": { + "creativeGroups": { + "description": "Creative group collection.", + "items": { + "$ref": "CreativeGroup" + }, + "type": "array" + }, + "kind": { + "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#creativeGroupsListResponse\".", + "type": "string" + }, + "nextPageToken": { + "description": "Pagination token to be used for the next list operation.", + "type": "string" + } + }, + "type": "object" + }, + "CreativeOptimizationConfiguration": { + "description": "Creative optimization settings.", + "id": "CreativeOptimizationConfiguration", + "properties": { + "id": { + "description": "ID of this creative optimization config. This field is auto-generated when the campaign is inserted or updated. It can be null for existing campaigns.", + "format": "int64", + "type": "string" + }, + "name": { + "description": "Name of this creative optimization config. This is a required field and must be less than 129 characters long.", + "type": "string" + }, + "optimizationActivitys": { + "description": "List of optimization activities associated with this configuration.", + "items": { + "$ref": "OptimizationActivity" + }, + "type": "array" + }, + "optimizationModel": { + "description": "Optimization model for this configuration.", + "enum": [ + "CLICK", + "POST_CLICK", + "POST_IMPRESSION", + "POST_CLICK_AND_IMPRESSION", + "VIDEO_COMPLETION" + ], + "enumDescriptions": [ + "", + "", + "", + "", + "" + ], + "type": "string" + } + }, + "type": "object" + }, + "CreativeRotation": { + "description": "Creative Rotation.", + "id": "CreativeRotation", + "properties": { + "creativeAssignments": { + "description": "Creative assignments in this creative rotation.", + "items": { + "$ref": "CreativeAssignment" + }, + "type": "array" + }, + "creativeOptimizationConfigurationId": { + "description": "Creative optimization configuration that is used by this ad. It should refer to one of the existing optimization configurations in the ad's campaign. If it is unset or set to 0, then the campaign's default optimization configuration will be used for this ad.", + "format": "int64", + "type": "string" + }, + "type": { + "description": "Type of creative rotation. Can be used to specify whether to use sequential or random rotation.", + "enum": [ + "CREATIVE_ROTATION_TYPE_SEQUENTIAL", + "CREATIVE_ROTATION_TYPE_RANDOM" + ], + "enumDescriptions": [ + "", + "" + ], + "type": "string" + }, + "weightCalculationStrategy": { + "description": "Strategy for calculating weights. Used with CREATIVE_ROTATION_TYPE_RANDOM.", + "enum": [ + "WEIGHT_STRATEGY_EQUAL", + "WEIGHT_STRATEGY_CUSTOM", + "WEIGHT_STRATEGY_HIGHEST_CTR", + "WEIGHT_STRATEGY_OPTIMIZED" + ], + "enumDescriptions": [ + "", + "", + "", + "" + ], + "type": "string" + } + }, + "type": "object" + }, + "CreativesListResponse": { + "description": "Creative List Response", + "id": "CreativesListResponse", + "properties": { + "creatives": { + "description": "Creative collection.", + "items": { + "$ref": "Creative" + }, + "type": "array" + }, + "kind": { + "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#creativesListResponse\".", + "type": "string" + }, + "nextPageToken": { + "description": "Pagination token to be used for the next list operation.", + "type": "string" + } + }, + "type": "object" + }, + "CrossDimensionReachReportCompatibleFields": { + "description": "Represents fields that are compatible to be selected for a report of type \"CROSS_DIMENSION_REACH\".", + "id": "CrossDimensionReachReportCompatibleFields", + "properties": { + "breakdown": { + "description": "Dimensions which are compatible to be selected in the \"breakdown\" section of the report.", + "items": { + "$ref": "Dimension" + }, + "type": "array" + }, + "dimensionFilters": { + "description": "Dimensions which are compatible to be selected in the \"dimensionFilters\" section of the report.", + "items": { + "$ref": "Dimension" + }, + "type": "array" + }, + "kind": { + "description": "The kind of resource this is, in this case dfareporting#crossDimensionReachReportCompatibleFields.", + "type": "string" + }, + "metrics": { + "description": "Metrics which are compatible to be selected in the \"metricNames\" section of the report.", + "items": { + "$ref": "Metric" + }, + "type": "array" + }, + "overlapMetrics": { + "description": "Metrics which are compatible to be selected in the \"overlapMetricNames\" section of the report.", + "items": { + "$ref": "Metric" + }, + "type": "array" + } + }, + "type": "object" + }, + "CustomEvent": { + "description": "Experimental feature (no support provided) A custom event represents a third party impression, a third party click, an annotation on a first party impression, or an annotation on a first party click.", + "id": "CustomEvent", + "properties": { + "annotateClickEvent": { + "$ref": "CustomEventClickAnnotation", + "description": "Annotate a click event. This field is mutually exclusive with insertEvent and annotateImpressionEvent. This or insertEvent and annotateImpressionEvent is a required field." + }, + "annotateImpressionEvent": { + "$ref": "CustomEventImpressionAnnotation", + "description": "Annotate an impression. This field is mutually exclusive with insertEvent and annotateClickEvent. This or insertEvent and annotateClickEvent is a required field." + }, + "customVariables": { + "description": "Custom variables associated with the event.", + "items": { + "$ref": "CustomVariable" + }, + "type": "array" + }, + "eventType": { + "description": "The type of event. If INSERT, the fields in insertEvent need to be populated. If ANNOTATE, the fields in either annotateClickEvent or annotateImpressionEvent need to be populated.", + "enum": [ + "UNKNOWN", + "INSERT", + "ANNOTATE" + ], + "enumDescriptions": [ + "", + "", + "" + ], + "type": "string" + }, + "floodlightConfigurationId": { + "description": "Floodlight configuration ID of the advertiser the event is linked to. This is a required field.", + "format": "int64", + "type": "string" + }, + "insertEvent": { + "$ref": "CustomEventInsert", + "description": "Insert custom event. This field is mutually exclusive with annotateClickEvent and annotateImpressionEvent. This or annotateClickEvent and annotateImpressionEvent is a required field." + }, + "kind": { + "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#customEvent\".", + "type": "string" + }, + "ordinal": { + "description": "The ordinal of this custom event. This is a required field.", + "type": "string" + }, + "timestampMicros": { + "description": "The timestamp of this custom event, in Unix epoch micros. This is a required field.", + "format": "int64", + "type": "string" + } + }, + "type": "object" + }, + "CustomEventClickAnnotation": { + "description": "Annotate a click event.", + "id": "CustomEventClickAnnotation", + "properties": { + "gclid": { + "description": "The Google click ID. Use this field to annotate the click associated with the gclid.", + "type": "string" + }, + "kind": { + "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#customEventClickAnnotation\".", + "type": "string" + } + }, + "type": "object" + }, + "CustomEventError": { + "description": "The error code and description for a custom event that failed to insert.", + "id": "CustomEventError", + "properties": { + "code": { + "description": "The error code.", + "enum": [ + "UNKNOWN", + "INVALID_ARGUMENT", + "INTERNAL", + "PERMISSION_DENIED", + "NOT_FOUND" + ], + "enumDescriptions": [ + "", + "", + "", + "", + "" + ], + "type": "string" + }, + "kind": { + "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#customEventError\".", + "type": "string" + }, + "message": { + "description": "A description of the error.", + "type": "string" + } + }, + "type": "object" + }, + "CustomEventImpressionAnnotation": { + "description": "Annotate an impression.", + "id": "CustomEventImpressionAnnotation", + "properties": { + "kind": { + "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#customEventImpressionAnnotation\".", + "type": "string" + }, + "pathImpressionId": { + "description": "The path impression ID. Use this field to annotate the impression associated with the pathImpressionId.", + "type": "string" + } + }, + "type": "object" + }, + "CustomEventInsert": { + "description": "Custom event to be inserted.", + "id": "CustomEventInsert", + "properties": { + "cmDimensions": { + "$ref": "CampaignManagerIds", + "description": "Campaign Manager dimensions associated with the event." + }, + "dv3Dimensions": { + "$ref": "DV3Ids", + "description": "DV360 dimensions associated with the event." + }, + "insertEventType": { + "description": "The type of event to insert.", + "enum": [ + "UNKNOWN", + "IMPRESSION", + "CLICK" + ], + "enumDescriptions": [ + "", + "", + "" + ], + "type": "string" + }, + "kind": { + "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#customEventInsert\".", + "type": "string" + }, + "matchId": { + "description": "The match ID field. A match ID is your own first-party identifier that has been synced with Google using the match ID feature in Floodlight. This field is mutually exclusive with mobileDeviceId, and at least one of the two fields is required.", + "type": "string" + }, + "mobileDeviceId": { + "description": "The mobile device ID. This field is mutually exclusive with matchId, and at least one of the two fields is required.", + "type": "string" + } + }, + "type": "object" + }, + "CustomEventStatus": { + "description": "The original custom event that was inserted and whether there were any errors.", + "id": "CustomEventStatus", + "properties": { + "customEvent": { + "$ref": "CustomEvent", + "description": "The original custom event that was inserted." + }, + "errors": { + "description": "A list of errors related to this custom event.", + "items": { + "$ref": "CustomEventError" + }, + "type": "array" + }, + "kind": { + "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#customEventStatus\".", + "type": "string" + } + }, + "type": "object" + }, + "CustomEventsBatchInsertRequest": { + "description": "Insert Custom Events Request.", + "id": "CustomEventsBatchInsertRequest", + "properties": { + "customEvents": { + "description": "The set of custom events to insert.", + "items": { + "$ref": "CustomEvent" + }, + "type": "array" + }, + "kind": { + "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#customEventsBatchInsertRequest\".", + "type": "string" + } + }, + "type": "object" + }, + "CustomEventsBatchInsertResponse": { + "description": "Insert Custom Events Response.", + "id": "CustomEventsBatchInsertResponse", + "properties": { + "hasFailures": { + "description": "Indicates that some or all custom events failed to insert.", + "type": "boolean" + }, + "kind": { + "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#customEventsBatchInsertResponse\".", + "type": "string" + }, + "status": { + "description": "The insert status of each custom event. Statuses are returned in the same order that conversions are inserted.", + "items": { + "$ref": "CustomEventStatus" + }, + "type": "array" + } + }, + "type": "object" + }, + "CustomFloodlightVariable": { + "description": "A custom floodlight variable. This field may only be used when calling batchinsert; it is not supported by batchupdate.", + "id": "CustomFloodlightVariable", + "properties": { + "kind": { + "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#customFloodlightVariable\".", + "type": "string" + }, + "type": { + "description": "The type of custom floodlight variable to supply a value for. These map to the \"u[1-20]=\" in the tags.", + "enum": [ + "U1", + "U2", + "U3", + "U4", + "U5", + "U6", + "U7", + "U8", + "U9", + "U10", + "U11", + "U12", + "U13", + "U14", + "U15", + "U16", + "U17", + "U18", + "U19", + "U20", + "U21", + "U22", + "U23", + "U24", + "U25", + "U26", + "U27", + "U28", + "U29", + "U30", + "U31", + "U32", + "U33", + "U34", + "U35", + "U36", + "U37", + "U38", + "U39", + "U40", + "U41", + "U42", + "U43", + "U44", + "U45", + "U46", + "U47", + "U48", + "U49", + "U50", + "U51", + "U52", + "U53", + "U54", + "U55", + "U56", + "U57", + "U58", + "U59", + "U60", + "U61", + "U62", + "U63", + "U64", + "U65", + "U66", + "U67", + "U68", + "U69", + "U70", + "U71", + "U72", + "U73", + "U74", + "U75", + "U76", + "U77", + "U78", + "U79", + "U80", + "U81", + "U82", + "U83", + "U84", + "U85", + "U86", + "U87", + "U88", + "U89", + "U90", + "U91", + "U92", + "U93", + "U94", + "U95", + "U96", + "U97", + "U98", + "U99", + "U100" + ], + "enumDescriptions": [ + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "type": "string" + }, + "value": { + "description": "The value of the custom floodlight variable. The length of string must not exceed 100 characters.", + "type": "string" + } + }, + "type": "object" + }, + "CustomRichMediaEvents": { + "description": "Represents a Custom Rich Media Events group.", + "id": "CustomRichMediaEvents", + "properties": { + "filteredEventIds": { + "description": "List of custom rich media event IDs. Dimension values must be all of type dfa:richMediaEventTypeIdAndName.", + "items": { + "$ref": "DimensionValue" + }, + "type": "array" + }, + "kind": { + "description": "The kind of resource this is, in this case dfareporting#customRichMediaEvents.", + "type": "string" + } + }, + "type": "object" + }, + "CustomVariable": { + "description": "Custom variable.", + "id": "CustomVariable", + "properties": { + "index": { + "description": "The index of the custom variable.", + "format": "int64", + "type": "string" + }, + "kind": { + "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#customVariable\".", + "type": "string" + }, + "value": { + "description": "The value of the custom variable. The length of string must not exceed 50 characters.", + "type": "string" + } + }, + "type": "object" + }, + "CustomViewabilityMetric": { + "description": "Custom Viewability Metric", + "id": "CustomViewabilityMetric", + "properties": { + "configuration": { + "$ref": "CustomViewabilityMetricConfiguration", + "description": "Configuration of the custom viewability metric." + }, + "id": { + "description": "ID of the custom viewability metric.", + "format": "int64", + "type": "string" + }, + "name": { + "description": "Name of the custom viewability metric.", + "type": "string" + } + }, + "type": "object" + }, + "CustomViewabilityMetricConfiguration": { + "description": "The attributes, like playtime and percent onscreen, that define the Custom Viewability Metric.", + "id": "CustomViewabilityMetricConfiguration", + "properties": { + "audible": { + "description": "Whether the video must be audible to count an impression.", + "type": "boolean" + }, + "timeMillis": { + "description": "The time in milliseconds the video must play for the Custom Viewability Metric to count an impression. If both this and timePercent are specified, the earlier of the two will be used.", + "format": "int32", + "type": "integer" + }, + "timePercent": { + "description": "The percentage of video that must play for the Custom Viewability Metric to count an impression. If both this and timeMillis are specified, the earlier of the two will be used.", + "format": "int32", + "type": "integer" + }, + "viewabilityPercent": { + "description": "The percentage of video that must be on screen for the Custom Viewability Metric to count an impression.", + "format": "int32", + "type": "integer" + } + }, + "type": "object" + }, + "DV3Ids": { + "description": "DV360 IDs related to the custom event.", + "id": "DV3Ids", + "properties": { + "dvCampaignId": { + "description": "Campaign ID for DV360.", + "format": "int64", + "type": "string" + }, + "dvCreativeId": { + "description": "Creative ID for DV360.", + "format": "int64", + "type": "string" + }, + "dvInsertionOrderId": { + "description": "Insertion Order ID for DV360.", + "format": "int64", + "type": "string" + }, + "dvLineItemId": { + "description": "Line Item ID for DV360.", + "format": "int64", + "type": "string" + }, + "dvSiteId": { + "description": "Site ID for DV360.", + "format": "int64", + "type": "string" + }, + "kind": { + "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#dV3Ids\".", + "type": "string" + } + }, + "type": "object" + }, + "DateRange": { + "description": "Represents a date range.", + "id": "DateRange", + "properties": { + "endDate": { + "format": "date", + "type": "string" + }, + "kind": { + "description": "The kind of resource this is, in this case dfareporting#dateRange.", + "type": "string" + }, + "relativeDateRange": { + "description": "The date range relative to the date of when the report is run.", + "enum": [ + "TODAY", + "YESTERDAY", + "WEEK_TO_DATE", + "MONTH_TO_DATE", + "QUARTER_TO_DATE", + "YEAR_TO_DATE", + "PREVIOUS_WEEK", + "PREVIOUS_MONTH", + "PREVIOUS_QUARTER", + "PREVIOUS_YEAR", + "LAST_7_DAYS", + "LAST_30_DAYS", + "LAST_90_DAYS", + "LAST_365_DAYS", + "LAST_24_MONTHS", + "LAST_14_DAYS", + "LAST_60_DAYS" + ], + "enumDescriptions": [ + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "type": "string" + }, + "startDate": { + "format": "date", + "type": "string" + } + }, + "type": "object" + }, + "DayPartTargeting": { + "description": "Day Part Targeting.", + "id": "DayPartTargeting", + "properties": { + "daysOfWeek": { + "description": "Days of the week when the ad will serve. Acceptable values are: - \"SUNDAY\" - \"MONDAY\" - \"TUESDAY\" - \"WEDNESDAY\" - \"THURSDAY\" - \"FRIDAY\" - \"SATURDAY\" ", + "items": { + "enum": [ + "MONDAY", + "TUESDAY", + "WEDNESDAY", + "THURSDAY", + "FRIDAY", + "SATURDAY", + "SUNDAY" + ], + "enumDescriptions": [ + "", + "", + "", + "", + "", + "", + "" + ], + "type": "string" + }, + "type": "array" + }, + "hoursOfDay": { + "description": "Hours of the day when the ad will serve, where 0 is midnight to 1 AM and 23 is 11 PM to midnight. Can be specified with days of week, in which case the ad would serve during these hours on the specified days. For example if Monday, Wednesday, Friday are the days of week specified and 9-10am, 3-5pm (hours 9, 15, and 16) is specified, the ad would serve Monday, Wednesdays, and Fridays at 9-10am and 3-5pm. Acceptable values are 0 to 23, inclusive.", + "items": { + "format": "int32", + "type": "integer" + }, + "type": "array" + }, + "userLocalTime": { + "description": "Whether or not to use the user's local time. If false, the America/New York time zone applies.", + "type": "boolean" + } + }, + "type": "object" + }, + "DeepLink": { + "description": "Contains information about a landing page deep link.", + "id": "DeepLink", + "properties": { + "appUrl": { + "description": "The URL of the mobile app being linked to.", + "type": "string" + }, + "fallbackUrl": { + "description": "The fallback URL. This URL will be served to users who do not have the mobile app installed.", + "type": "string" + }, + "kind": { + "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#deepLink\".", + "type": "string" + }, + "mobileApp": { + "$ref": "MobileApp", + "description": "The mobile app targeted by this deep link." + }, + "remarketingListIds": { + "description": "Ads served to users on these remarketing lists will use this deep link. Applicable when mobileApp.directory is APPLE_APP_STORE.", + "items": { + "format": "int64", + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "DefaultClickThroughEventTagProperties": { + "description": "Properties of inheriting and overriding the default click-through event tag. A campaign may override the event tag defined at the advertiser level, and an ad may also override the campaign's setting further.", + "id": "DefaultClickThroughEventTagProperties", + "properties": { + "defaultClickThroughEventTagId": { + "description": "ID of the click-through event tag to apply to all ads in this entity's scope.", + "format": "int64", + "type": "string" + }, + "overrideInheritedEventTag": { + "description": "Whether this entity should override the inherited default click-through event tag with its own defined value.", + "type": "boolean" + } + }, + "type": "object" + }, + "DeliverySchedule": { + "description": "Delivery Schedule.", + "id": "DeliverySchedule", + "properties": { + "frequencyCap": { + "$ref": "FrequencyCap", + "description": "Limit on the number of times an individual user can be served the ad within a specified period of time." + }, + "hardCutoff": { + "description": "Whether or not hard cutoff is enabled. If true, the ad will not serve after the end date and time. Otherwise the ad will continue to be served until it has reached its delivery goals.", + "type": "boolean" + }, + "impressionRatio": { + "description": "Impression ratio for this ad. This ratio determines how often each ad is served relative to the others. For example, if ad A has an impression ratio of 1 and ad B has an impression ratio of 3, then Campaign Manager will serve ad B three times as often as ad A. Acceptable values are 1 to 10, inclusive.", + "format": "int64", + "type": "string" + }, + "priority": { + "description": "Serving priority of an ad, with respect to other ads. The lower the priority number, the greater the priority with which it is served.", + "enum": [ + "AD_PRIORITY_01", + "AD_PRIORITY_02", + "AD_PRIORITY_03", + "AD_PRIORITY_04", + "AD_PRIORITY_05", + "AD_PRIORITY_06", + "AD_PRIORITY_07", + "AD_PRIORITY_08", + "AD_PRIORITY_09", + "AD_PRIORITY_10", + "AD_PRIORITY_11", + "AD_PRIORITY_12", + "AD_PRIORITY_13", + "AD_PRIORITY_14", + "AD_PRIORITY_15", + "AD_PRIORITY_16" + ], + "enumDescriptions": [ + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "type": "string" + } + }, + "type": "object" + }, + "DfpSettings": { + "description": "Google Ad Manager Settings", + "id": "DfpSettings", + "properties": { + "dfpNetworkCode": { + "description": "Ad Manager network code for this directory site.", + "type": "string" + }, + "dfpNetworkName": { + "description": "Ad Manager network name for this directory site.", + "type": "string" + }, + "programmaticPlacementAccepted": { + "description": "Whether this directory site accepts programmatic placements.", + "type": "boolean" + }, + "pubPaidPlacementAccepted": { + "description": "Whether this directory site accepts publisher-paid tags.", + "type": "boolean" + }, + "publisherPortalOnly": { + "description": "Whether this directory site is available only via Publisher Portal.", + "type": "boolean" + } + }, + "type": "object" + }, + "Dimension": { + "description": "Represents a dimension.", + "id": "Dimension", + "properties": { + "kind": { + "description": "The kind of resource this is, in this case dfareporting#dimension.", + "type": "string" + }, + "name": { + "description": "The dimension name, e.g. dfa:advertiser", + "type": "string" + } + }, + "type": "object" + }, + "DimensionFilter": { + "description": "Represents a dimension filter.", + "id": "DimensionFilter", + "properties": { + "dimensionName": { + "description": "The name of the dimension to filter.", + "type": "string" + }, + "kind": { + "description": "The kind of resource this is, in this case dfareporting#dimensionFilter.", + "type": "string" + }, + "value": { + "description": "The value of the dimension to filter.", + "type": "string" + } + }, + "type": "object" + }, + "DimensionValue": { + "description": "Represents a DimensionValue resource.", + "id": "DimensionValue", + "properties": { + "dimensionName": { + "description": "The name of the dimension.", + "type": "string" + }, + "etag": { + "description": "The eTag of this response for caching purposes.", + "type": "string" + }, + "id": { + "description": "The ID associated with the value if available.", + "type": "string" + }, + "kind": { + "description": "The kind of resource this is, in this case dfareporting#dimensionValue.", + "type": "string" + }, + "matchType": { + "description": "Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.", + "enum": [ + "EXACT", + "BEGINS_WITH", + "CONTAINS", + "WILDCARD_EXPRESSION" + ], + "enumDescriptions": [ + "", + "", + "", + "" + ], + "type": "string" + }, + "value": { + "description": "The value of the dimension.", + "type": "string" + } + }, + "type": "object" + }, + "DimensionValueList": { + "description": "Represents the list of DimensionValue resources.", + "id": "DimensionValueList", + "properties": { + "etag": { + "description": "The eTag of this response for caching purposes.", + "type": "string" + }, + "items": { + "description": "The dimension values returned in this response.", + "items": { + "$ref": "DimensionValue" + }, + "type": "array" + }, + "kind": { + "description": "The kind of list this is, in this case dfareporting#dimensionValueList.", + "type": "string" + }, + "nextPageToken": { + "description": "Continuation token used to page through dimension values. To retrieve the next page of results, set the next request's \"pageToken\" to the value of this field. The page token is only valid for a limited amount of time and should not be persisted.", + "type": "string" + } + }, + "type": "object" + }, + "DimensionValueRequest": { + "description": "Represents a DimensionValuesRequest.", + "id": "DimensionValueRequest", + "properties": { + "dimensionName": { + "annotations": { + "required": [ + "dfareporting.dimensionValues.query" + ] + }, + "description": "The name of the dimension for which values should be requested.", + "type": "string" + }, + "endDate": { + "format": "date", + "type": "string" + }, + "filters": { + "description": "The list of filters by which to filter values. The filters are ANDed.", + "items": { + "$ref": "DimensionFilter" + }, + "type": "array" + }, + "kind": { + "description": "The kind of request this is, in this case dfareporting#dimensionValueRequest .", + "type": "string" + }, + "startDate": { + "format": "date", + "type": "string" + } + }, + "type": "object" + }, + "DirectorySite": { + "description": "DirectorySites contains properties of a website from the Site Directory. Sites need to be added to an account via the Sites resource before they can be assigned to a placement.", + "id": "DirectorySite", + "properties": { + "id": { + "description": "ID of this directory site. This is a read-only, auto-generated field.", + "format": "int64", + "type": "string" + }, + "idDimensionValue": { + "$ref": "DimensionValue", + "description": "Dimension value for the ID of this directory site. This is a read-only, auto-generated field." + }, + "inpageTagFormats": { + "description": "Tag types for regular placements. Acceptable values are: - \"STANDARD\" - \"IFRAME_JAVASCRIPT_INPAGE\" - \"INTERNAL_REDIRECT_INPAGE\" - \"JAVASCRIPT_INPAGE\" ", + "items": { + "enum": [ + "STANDARD", + "IFRAME_JAVASCRIPT_INPAGE", + "INTERNAL_REDIRECT_INPAGE", + "JAVASCRIPT_INPAGE" + ], + "enumDescriptions": [ + "", + "", + "", + "" + ], + "type": "string" + }, + "type": "array" + }, + "interstitialTagFormats": { + "description": "Tag types for interstitial placements. Acceptable values are: - \"IFRAME_JAVASCRIPT_INTERSTITIAL\" - \"INTERNAL_REDIRECT_INTERSTITIAL\" - \"JAVASCRIPT_INTERSTITIAL\" ", + "items": { + "enum": [ + "IFRAME_JAVASCRIPT_INTERSTITIAL", + "INTERNAL_REDIRECT_INTERSTITIAL", + "JAVASCRIPT_INTERSTITIAL" + ], + "enumDescriptions": [ + "", + "", + "" + ], + "type": "string" + }, + "type": "array" + }, + "kind": { + "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#directorySite\".", + "type": "string" + }, + "name": { + "description": "Name of this directory site.", + "type": "string" + }, + "settings": { + "$ref": "DirectorySiteSettings", + "description": "Directory site settings." + }, + "url": { + "description": "URL of this directory site.", + "type": "string" + } + }, + "type": "object" + }, + "DirectorySiteSettings": { + "description": "Directory Site Settings", + "id": "DirectorySiteSettings", + "properties": { + "activeViewOptOut": { + "description": "Whether this directory site has disabled active view creatives.", + "type": "boolean" + }, + "dfpSettings": { + "$ref": "DfpSettings", + "description": "Directory site Ad Manager settings." + }, + "instreamVideoPlacementAccepted": { + "description": "Whether this site accepts in-stream video ads.", + "type": "boolean" + }, + "interstitialPlacementAccepted": { + "description": "Whether this site accepts interstitial ads.", + "type": "boolean" + } + }, + "type": "object" + }, + "DirectorySitesListResponse": { + "description": "Directory Site List Response", + "id": "DirectorySitesListResponse", + "properties": { + "directorySites": { + "description": "Directory site collection.", + "items": { + "$ref": "DirectorySite" + }, + "type": "array" + }, + "kind": { + "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#directorySitesListResponse\".", + "type": "string" + }, + "nextPageToken": { + "description": "Pagination token to be used for the next list operation.", + "type": "string" + } + }, + "type": "object" + }, + "DisjunctiveMatchStatement": { + "description": "Represents a Disjunctive Match Statement resource, which is a conjunction (and) of disjunctive (or) boolean statements.", + "id": "DisjunctiveMatchStatement", + "properties": { + "eventFilters": { + "description": "The event filters contained within this disjunctive match statement.", + "items": { + "$ref": "EventFilter" + }, + "type": "array" + }, + "kind": { + "description": "The kind of resource this is, in this case dfareporting#disjunctiveMatchStatement.", + "type": "string" + } + }, + "type": "object" + }, + "DynamicTargetingKey": { + "description": "Contains properties of a dynamic targeting key. Dynamic targeting keys are unique, user-friendly labels, created at the advertiser level in DCM, that can be assigned to ads, creatives, and placements and used for targeting with Studio dynamic creatives. Use these labels instead of numeric Campaign Manager IDs (such as placement IDs) to save time and avoid errors in your dynamic feeds.", + "id": "DynamicTargetingKey", + "properties": { + "kind": { + "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#dynamicTargetingKey\".", + "type": "string" + }, + "name": { + "description": "Name of this dynamic targeting key. This is a required field. Must be less than 256 characters long and cannot contain commas. All characters are converted to lowercase.", + "type": "string" + }, + "objectId": { + "description": "ID of the object of this dynamic targeting key. This is a required field.", + "format": "int64", + "type": "string" + }, + "objectType": { + "description": "Type of the object of this dynamic targeting key. This is a required field.", + "enum": [ + "OBJECT_ADVERTISER", + "OBJECT_AD", + "OBJECT_CREATIVE", + "OBJECT_PLACEMENT" + ], + "enumDescriptions": [ + "", + "", + "", + "" + ], + "type": "string" + } + }, + "type": "object" + }, + "DynamicTargetingKeysListResponse": { + "description": "Dynamic Targeting Key List Response", + "id": "DynamicTargetingKeysListResponse", + "properties": { + "dynamicTargetingKeys": { + "description": "Dynamic targeting key collection.", + "items": { + "$ref": "DynamicTargetingKey" + }, + "type": "array" + }, + "kind": { + "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#dynamicTargetingKeysListResponse\".", + "type": "string" + } + }, + "type": "object" + }, + "EncryptionInfo": { + "description": "A description of how user IDs are encrypted.", + "id": "EncryptionInfo", + "properties": { + "encryptionEntityId": { + "description": "The encryption entity ID. This should match the encryption configuration for ad serving or Data Transfer.", + "format": "int64", + "type": "string" + }, + "encryptionEntityType": { + "description": "The encryption entity type. This should match the encryption configuration for ad serving or Data Transfer.", + "enum": [ + "ENCRYPTION_ENTITY_TYPE_UNKNOWN", + "DCM_ACCOUNT", + "DCM_ADVERTISER", + "DBM_PARTNER", + "DBM_ADVERTISER", + "ADWORDS_CUSTOMER", + "DFP_NETWORK_CODE" + ], + "enumDescriptions": [ + "", + "", + "", + "", + "", + "", + "" + ], + "type": "string" + }, + "encryptionSource": { + "description": "Describes whether the encrypted cookie was received from ad serving (the %m macro) or from Data Transfer.", + "enum": [ + "ENCRYPTION_SCOPE_UNKNOWN", + "AD_SERVING", + "DATA_TRANSFER" + ], + "enumDescriptions": [ + "", + "", + "" + ], + "type": "string" + }, + "kind": { + "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#encryptionInfo\".", + "type": "string" + } + }, + "type": "object" + }, + "EventFilter": { + "description": "Represents a DfaReporting event filter.", + "id": "EventFilter", + "properties": { + "dimensionFilter": { + "$ref": "PathReportDimensionValue", + "description": "The dimension filter contained within this EventFilter." + }, + "kind": { + "description": "The kind of resource this is, in this case dfareporting#eventFilter.", + "type": "string" + } + }, + "type": "object" + }, + "EventTag": { + "description": "Contains properties of an event tag.", + "id": "EventTag", + "properties": { + "accountId": { + "description": "Account ID of this event tag. This is a read-only field that can be left blank.", + "format": "int64", + "type": "string" + }, + "advertiserId": { + "description": "Advertiser ID of this event tag. This field or the campaignId field is required on insertion.", + "format": "int64", + "type": "string" + }, + "advertiserIdDimensionValue": { + "$ref": "DimensionValue", + "description": "Dimension value for the ID of the advertiser. This is a read-only, auto-generated field." + }, + "campaignId": { + "description": "Campaign ID of this event tag. This field or the advertiserId field is required on insertion.", + "format": "int64", + "type": "string" + }, + "campaignIdDimensionValue": { + "$ref": "DimensionValue", + "description": "Dimension value for the ID of the campaign. This is a read-only, auto-generated field." + }, + "enabledByDefault": { + "description": "Whether this event tag should be automatically enabled for all of the advertiser's campaigns and ads.", + "type": "boolean" + }, + "excludeFromAdxRequests": { + "description": "Whether to remove this event tag from ads that are trafficked through Display & Video 360 to Ad Exchange. This may be useful if the event tag uses a pixel that is unapproved for Ad Exchange bids on one or more networks, such as the Google Display Network.", + "type": "boolean" + }, + "id": { + "description": "ID of this event tag. This is a read-only, auto-generated field.", + "format": "int64", + "type": "string" + }, + "kind": { + "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#eventTag\".", + "type": "string" + }, + "name": { + "description": "Name of this event tag. This is a required field and must be less than 256 characters long.", + "type": "string" + }, + "siteFilterType": { + "description": "Site filter type for this event tag. If no type is specified then the event tag will be applied to all sites.", + "enum": [ + "WHITELIST", + "BLACKLIST" + ], + "enumDescriptions": [ + "", + "" + ], + "type": "string" + }, + "siteIds": { + "description": "Filter list of site IDs associated with this event tag. The siteFilterType determines whether this is a allowlist or blocklist filter.", + "items": { + "format": "int64", + "type": "string" + }, + "type": "array" + }, + "sslCompliant": { + "description": "Whether this tag is SSL-compliant or not. This is a read-only field.", + "type": "boolean" + }, + "status": { + "description": "Status of this event tag. Must be ENABLED for this event tag to fire. This is a required field.", + "enum": [ + "ENABLED", + "DISABLED" + ], + "enumDescriptions": [ + "", + "" + ], + "type": "string" + }, + "subaccountId": { + "description": "Subaccount ID of this event tag. This is a read-only field that can be left blank.", + "format": "int64", + "type": "string" + }, + "type": { + "description": "Event tag type. Can be used to specify whether to use a third-party pixel, a third-party JavaScript URL, or a third-party click-through URL for either impression or click tracking. This is a required field.", + "enum": [ + "IMPRESSION_IMAGE_EVENT_TAG", + "IMPRESSION_JAVASCRIPT_EVENT_TAG", + "CLICK_THROUGH_EVENT_TAG" + ], + "enumDescriptions": [ + "", + "", + "" + ], + "type": "string" + }, + "url": { + "description": "Payload URL for this event tag. The URL on a click-through event tag should have a landing page URL appended to the end of it. This field is required on insertion.", + "type": "string" + }, + "urlEscapeLevels": { + "description": "Number of times the landing page URL should be URL-escaped before being appended to the click-through event tag URL. Only applies to click-through event tags as specified by the event tag type.", + "format": "int32", + "type": "integer" + } + }, + "type": "object" + }, + "EventTagOverride": { + "description": "Event tag override information.", + "id": "EventTagOverride", + "properties": { + "enabled": { + "description": "Whether this override is enabled.", + "type": "boolean" + }, + "id": { + "description": "ID of this event tag override. This is a read-only, auto-generated field.", + "format": "int64", + "type": "string" + } + }, + "type": "object" + }, + "EventTagsListResponse": { + "description": "Event Tag List Response", + "id": "EventTagsListResponse", + "properties": { + "eventTags": { + "description": "Event tag collection.", + "items": { + "$ref": "EventTag" + }, + "type": "array" + }, + "kind": { + "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#eventTagsListResponse\".", + "type": "string" + } + }, + "type": "object" + }, + "File": { + "description": "Represents a File resource. A file contains the metadata for a report run. It shows the status of the run and holds the URLs to the generated report data if the run is finished and the status is \"REPORT_AVAILABLE\".", + "id": "File", + "properties": { + "dateRange": { + "$ref": "DateRange", + "description": "The date range for which the file has report data. The date range will always be the absolute date range for which the report is run." + }, + "etag": { + "description": "Etag of this resource.", + "type": "string" + }, + "fileName": { + "description": "The filename of the file.", + "type": "string" + }, + "format": { + "description": "The output format of the report. Only available once the file is available.", + "enum": [ + "CSV", + "EXCEL" + ], + "enumDescriptions": [ + "", + "" + ], + "type": "string" + }, + "id": { + "description": "The unique ID of this report file.", + "format": "int64", + "type": "string" + }, + "kind": { + "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#file\".", + "type": "string" + }, + "lastModifiedTime": { + "description": "The timestamp in milliseconds since epoch when this file was last modified.", + "format": "int64", + "type": "string" + }, + "reportId": { + "description": "The ID of the report this file was generated from.", + "format": "int64", + "type": "string" + }, + "status": { + "description": "The status of the report file.", + "enum": [ + "PROCESSING", + "REPORT_AVAILABLE", + "FAILED", + "CANCELLED" + ], + "enumDescriptions": [ + "", + "", + "", + "" + ], + "type": "string" + }, + "urls": { + "description": "The URLs where the completed report file can be downloaded.", + "properties": { + "apiUrl": { + "description": "The URL for downloading the report data through the API.", + "type": "string" + }, + "browserUrl": { + "description": "The URL for downloading the report data through a browser.", + "type": "string" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "FileList": { + "description": "List of files for a report.", + "id": "FileList", + "properties": { + "etag": { + "description": "Etag of this resource.", + "type": "string" + }, + "items": { + "description": "The files returned in this response.", + "items": { + "$ref": "File" + }, + "type": "array" + }, + "kind": { + "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#fileList\".", + "type": "string" + }, + "nextPageToken": { + "description": "Continuation token used to page through files. To retrieve the next page of results, set the next request's \"pageToken\" to the value of this field. The page token is only valid for a limited amount of time and should not be persisted.", + "type": "string" + } + }, + "type": "object" + }, + "Flight": { + "description": "Flight", + "id": "Flight", + "properties": { + "endDate": { + "format": "date", + "type": "string" + }, + "rateOrCost": { + "description": "Rate or cost of this flight.", + "format": "int64", + "type": "string" + }, + "startDate": { + "format": "date", + "type": "string" + }, + "units": { + "description": "Units of this flight.", + "format": "int64", + "type": "string" + } + }, + "type": "object" + }, + "FloodlightActivitiesGenerateTagResponse": { + "description": "Floodlight Activity GenerateTag Response", + "id": "FloodlightActivitiesGenerateTagResponse", + "properties": { + "floodlightActivityTag": { + "description": "Generated tag for this Floodlight activity. For global site tags, this is the event snippet.", + "type": "string" + }, + "globalSiteTagGlobalSnippet": { + "description": "The global snippet section of a global site tag. The global site tag sets new cookies on your domain, which will store a unique identifier for a user or the ad click that brought the user to your site. Learn more.", + "type": "string" + }, + "kind": { + "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#floodlightActivitiesGenerateTagResponse\".", + "type": "string" + } + }, + "type": "object" + }, + "FloodlightActivitiesListResponse": { + "description": "Floodlight Activity List Response", + "id": "FloodlightActivitiesListResponse", + "properties": { + "floodlightActivities": { + "description": "Floodlight activity collection.", + "items": { + "$ref": "FloodlightActivity" + }, + "type": "array" + }, + "kind": { + "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#floodlightActivitiesListResponse\".", + "type": "string" + }, + "nextPageToken": { + "description": "Pagination token to be used for the next list operation.", + "type": "string" + } + }, + "type": "object" + }, + "FloodlightActivity": { + "description": "Contains properties of a Floodlight activity.", + "id": "FloodlightActivity", + "properties": { + "accountId": { + "description": "Account ID of this floodlight activity. This is a read-only field that can be left blank.", + "format": "int64", + "type": "string" + }, + "advertiserId": { + "description": "Advertiser ID of this floodlight activity. If this field is left blank, the value will be copied over either from the activity group's advertiser or the existing activity's advertiser.", + "format": "int64", + "type": "string" + }, + "advertiserIdDimensionValue": { + "$ref": "DimensionValue", + "description": "Dimension value for the ID of the advertiser. This is a read-only, auto-generated field." + }, + "attributionEnabled": { + "description": "Whether the activity is enabled for attribution.", + "type": "boolean" + }, + "cacheBustingType": { + "description": "Code type used for cache busting in the generated tag. Applicable only when floodlightActivityGroupType is COUNTER and countingMethod is STANDARD_COUNTING or UNIQUE_COUNTING.", + "enum": [ + "JAVASCRIPT", + "ACTIVE_SERVER_PAGE", + "JSP", + "PHP", + "COLD_FUSION" + ], + "enumDescriptions": [ + "", + "", + "", + "", + "" + ], + "type": "string" + }, + "countingMethod": { + "description": "Counting method for conversions for this floodlight activity. This is a required field.", + "enum": [ + "STANDARD_COUNTING", + "UNIQUE_COUNTING", + "SESSION_COUNTING", + "TRANSACTIONS_COUNTING", + "ITEMS_SOLD_COUNTING" + ], + "enumDescriptions": [ + "", + "", + "", + "", + "" + ], + "type": "string" + }, + "defaultTags": { + "description": "Dynamic floodlight tags.", + "items": { + "$ref": "FloodlightActivityDynamicTag" + }, + "type": "array" + }, + "expectedUrl": { + "description": "URL where this tag will be deployed. If specified, must be less than 256 characters long.", + "type": "string" + }, + "floodlightActivityGroupId": { + "description": "Floodlight activity group ID of this floodlight activity. This is a required field.", + "format": "int64", + "type": "string" + }, + "floodlightActivityGroupName": { + "description": "Name of the associated floodlight activity group. This is a read-only field.", + "type": "string" + }, + "floodlightActivityGroupTagString": { + "description": "Tag string of the associated floodlight activity group. This is a read-only field.", + "type": "string" + }, + "floodlightActivityGroupType": { + "description": "Type of the associated floodlight activity group. This is a read-only field.", + "enum": [ + "COUNTER", + "SALE" + ], + "enumDescriptions": [ + "", + "" + ], + "type": "string" + }, + "floodlightConfigurationId": { + "description": "Floodlight configuration ID of this floodlight activity. If this field is left blank, the value will be copied over either from the activity group's floodlight configuration or from the existing activity's floodlight configuration.", + "format": "int64", + "type": "string" + }, + "floodlightConfigurationIdDimensionValue": { + "$ref": "DimensionValue", + "description": "Dimension value for the ID of the floodlight configuration. This is a read-only, auto-generated field." + }, + "floodlightTagType": { + "description": "The type of Floodlight tag this activity will generate. This is a required field.", + "enum": [ + "IFRAME", + "IMAGE", + "GLOBAL_SITE_TAG" + ], + "enumDescriptions": [ + "", + "", + "" + ], + "type": "string" + }, + "id": { + "description": "ID of this floodlight activity. This is a read-only, auto-generated field.", + "format": "int64", + "type": "string" + }, + "idDimensionValue": { + "$ref": "DimensionValue", + "description": "Dimension value for the ID of this floodlight activity. This is a read-only, auto-generated field." + }, + "kind": { + "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#floodlightActivity\".", + "type": "string" + }, + "name": { + "description": "Name of this floodlight activity. This is a required field. Must be less than 129 characters long and cannot contain quotes.", + "type": "string" + }, + "notes": { + "description": "General notes or implementation instructions for the tag.", + "type": "string" + }, + "publisherTags": { + "description": "Publisher dynamic floodlight tags.", + "items": { + "$ref": "FloodlightActivityPublisherDynamicTag" + }, + "type": "array" + }, + "secure": { + "description": "Whether this tag should use SSL.", + "type": "boolean" + }, + "sslCompliant": { + "description": "Whether the floodlight activity is SSL-compliant. This is a read-only field, its value detected by the system from the floodlight tags.", + "type": "boolean" + }, + "sslRequired": { + "description": "Whether this floodlight activity must be SSL-compliant.", + "type": "boolean" + }, + "status": { + "description": "The status of the activity. This can only be set to ACTIVE or ARCHIVED_AND_DISABLED. The ARCHIVED status is no longer supported and cannot be set for Floodlight activities. The DISABLED_POLICY status indicates that a Floodlight activity is violating Google policy. Contact your account manager for more information.", + "enum": [ + "ACTIVE", + "ARCHIVED_AND_DISABLED", + "ARCHIVED", + "DISABLED_POLICY" + ], + "enumDescriptions": [ + "", + "", + "", + "" + ], + "type": "string" + }, + "subaccountId": { + "description": "Subaccount ID of this floodlight activity. This is a read-only field that can be left blank.", + "format": "int64", + "type": "string" + }, + "tagFormat": { + "description": "Tag format type for the floodlight activity. If left blank, the tag format will default to HTML.", + "enum": [ + "HTML", + "XHTML" + ], + "enumDescriptions": [ + "", + "" + ], + "type": "string" + }, + "tagString": { + "description": "Value of the cat= parameter in the floodlight tag, which the ad servers use to identify the activity. This is optional: if empty, a new tag string will be generated for you. This string must be 1 to 8 characters long, with valid characters being a-z0-9[ _ ]. This tag string must also be unique among activities of the same activity group. This field is read-only after insertion.", + "type": "string" + }, + "userDefinedVariableTypes": { + "description": "List of the user-defined variables used by this conversion tag. These map to the \"u[1-100]=\" in the tags. Each of these can have a user defined type. Acceptable values are U1 to U100, inclusive. ", + "items": { + "enum": [ + "U1", + "U2", + "U3", + "U4", + "U5", + "U6", + "U7", + "U8", + "U9", + "U10", + "U11", + "U12", + "U13", + "U14", + "U15", + "U16", + "U17", + "U18", + "U19", + "U20", + "U21", + "U22", + "U23", + "U24", + "U25", + "U26", + "U27", + "U28", + "U29", + "U30", + "U31", + "U32", + "U33", + "U34", + "U35", + "U36", + "U37", + "U38", + "U39", + "U40", + "U41", + "U42", + "U43", + "U44", + "U45", + "U46", + "U47", + "U48", + "U49", + "U50", + "U51", + "U52", + "U53", + "U54", + "U55", + "U56", + "U57", + "U58", + "U59", + "U60", + "U61", + "U62", + "U63", + "U64", + "U65", + "U66", + "U67", + "U68", + "U69", + "U70", + "U71", + "U72", + "U73", + "U74", + "U75", + "U76", + "U77", + "U78", + "U79", + "U80", + "U81", + "U82", + "U83", + "U84", + "U85", + "U86", + "U87", + "U88", + "U89", + "U90", + "U91", + "U92", + "U93", + "U94", + "U95", + "U96", + "U97", + "U98", + "U99", + "U100" + ], + "enumDescriptions": [ + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "FloodlightActivityDynamicTag": { + "description": "Dynamic Tag", + "id": "FloodlightActivityDynamicTag", + "properties": { + "id": { + "description": "ID of this dynamic tag. This is a read-only, auto-generated field.", + "format": "int64", + "type": "string" + }, + "name": { + "description": "Name of this tag.", + "type": "string" + }, + "tag": { + "description": "Tag code.", + "type": "string" + } + }, + "type": "object" + }, + "FloodlightActivityGroup": { + "description": "Contains properties of a Floodlight activity group.", + "id": "FloodlightActivityGroup", + "properties": { + "accountId": { + "description": "Account ID of this floodlight activity group. This is a read-only field that can be left blank.", + "format": "int64", + "type": "string" + }, + "advertiserId": { + "description": "Advertiser ID of this floodlight activity group. If this field is left blank, the value will be copied over either from the floodlight configuration's advertiser or from the existing activity group's advertiser.", + "format": "int64", + "type": "string" + }, + "advertiserIdDimensionValue": { + "$ref": "DimensionValue", + "description": "Dimension value for the ID of the advertiser. This is a read-only, auto-generated field." + }, + "floodlightConfigurationId": { + "description": "Floodlight configuration ID of this floodlight activity group. This is a required field.", + "format": "int64", + "type": "string" + }, + "floodlightConfigurationIdDimensionValue": { + "$ref": "DimensionValue", + "description": "Dimension value for the ID of the floodlight configuration. This is a read-only, auto-generated field." + }, + "id": { + "description": "ID of this floodlight activity group. This is a read-only, auto-generated field.", + "format": "int64", + "type": "string" + }, + "idDimensionValue": { + "$ref": "DimensionValue", + "description": "Dimension value for the ID of this floodlight activity group. This is a read-only, auto-generated field." + }, + "kind": { + "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#floodlightActivityGroup\".", + "type": "string" + }, + "name": { + "description": "Name of this floodlight activity group. This is a required field. Must be less than 65 characters long and cannot contain quotes.", + "type": "string" + }, + "subaccountId": { + "description": "Subaccount ID of this floodlight activity group. This is a read-only field that can be left blank.", + "format": "int64", + "type": "string" + }, + "tagString": { + "description": "Value of the type= parameter in the floodlight tag, which the ad servers use to identify the activity group that the activity belongs to. This is optional: if empty, a new tag string will be generated for you. This string must be 1 to 8 characters long, with valid characters being a-z0-9[ _ ]. This tag string must also be unique among activity groups of the same floodlight configuration. This field is read-only after insertion.", + "type": "string" + }, + "type": { + "description": "Type of the floodlight activity group. This is a required field that is read-only after insertion.", + "enum": [ + "COUNTER", + "SALE" + ], + "enumDescriptions": [ + "", + "" + ], + "type": "string" + } + }, + "type": "object" + }, + "FloodlightActivityGroupsListResponse": { + "description": "Floodlight Activity Group List Response", + "id": "FloodlightActivityGroupsListResponse", + "properties": { + "floodlightActivityGroups": { + "description": "Floodlight activity group collection.", + "items": { + "$ref": "FloodlightActivityGroup" + }, + "type": "array" + }, + "kind": { + "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#floodlightActivityGroupsListResponse\".", + "type": "string" + }, + "nextPageToken": { + "description": "Pagination token to be used for the next list operation.", + "type": "string" + } + }, + "type": "object" + }, + "FloodlightActivityPublisherDynamicTag": { + "description": "Publisher Dynamic Tag", + "id": "FloodlightActivityPublisherDynamicTag", + "properties": { + "clickThrough": { + "description": "Whether this tag is applicable only for click-throughs.", + "type": "boolean" + }, + "directorySiteId": { + "description": "Directory site ID of this dynamic tag. This is a write-only field that can be used as an alternative to the siteId field. When this resource is retrieved, only the siteId field will be populated.", + "format": "int64", + "type": "string" + }, + "dynamicTag": { + "$ref": "FloodlightActivityDynamicTag", + "description": "Dynamic floodlight tag." + }, + "siteId": { + "description": "Site ID of this dynamic tag.", + "format": "int64", + "type": "string" + }, + "siteIdDimensionValue": { + "$ref": "DimensionValue", + "description": "Dimension value for the ID of the site. This is a read-only, auto-generated field." + }, + "viewThrough": { + "description": "Whether this tag is applicable only for view-throughs.", + "type": "boolean" + } + }, + "type": "object" + }, + "FloodlightConfiguration": { + "description": "Contains properties of a Floodlight configuration.", + "id": "FloodlightConfiguration", + "properties": { + "accountId": { + "description": "Account ID of this floodlight configuration. This is a read-only field that can be left blank.", + "format": "int64", + "type": "string" + }, + "advertiserId": { + "description": "Advertiser ID of the parent advertiser of this floodlight configuration.", + "format": "int64", + "type": "string" + }, + "advertiserIdDimensionValue": { + "$ref": "DimensionValue", + "description": "Dimension value for the ID of the advertiser. This is a read-only, auto-generated field." + }, + "analyticsDataSharingEnabled": { + "description": "Whether advertiser data is shared with Google Analytics.", + "type": "boolean" + }, + "customViewabilityMetric": { + "$ref": "CustomViewabilityMetric", + "description": "Custom Viewability metric for the floodlight configuration." + }, + "exposureToConversionEnabled": { + "description": "Whether the exposure-to-conversion report is enabled. This report shows detailed pathway information on up to 10 of the most recent ad exposures seen by a user before converting.", + "type": "boolean" + }, + "firstDayOfWeek": { + "description": "Day that will be counted as the first day of the week in reports. This is a required field.", + "enum": [ + "MONDAY", + "SUNDAY" + ], + "enumDescriptions": [ + "", + "" + ], + "type": "string" + }, + "id": { + "description": "ID of this floodlight configuration. This is a read-only, auto-generated field.", + "format": "int64", + "type": "string" + }, + "idDimensionValue": { + "$ref": "DimensionValue", + "description": "Dimension value for the ID of this floodlight configuration. This is a read-only, auto-generated field." + }, + "inAppAttributionTrackingEnabled": { + "description": "Whether in-app attribution tracking is enabled.", + "type": "boolean" + }, + "kind": { + "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#floodlightConfiguration\".", + "type": "string" + }, + "lookbackConfiguration": { + "$ref": "LookbackConfiguration", + "description": "Lookback window settings for this floodlight configuration." + }, + "naturalSearchConversionAttributionOption": { + "description": "Types of attribution options for natural search conversions.", + "enum": [ + "EXCLUDE_NATURAL_SEARCH_CONVERSION_ATTRIBUTION", + "INCLUDE_NATURAL_SEARCH_CONVERSION_ATTRIBUTION", + "INCLUDE_NATURAL_SEARCH_TIERED_CONVERSION_ATTRIBUTION" + ], + "enumDescriptions": [ + "", + "", + "" + ], + "type": "string" + }, + "omnitureSettings": { + "$ref": "OmnitureSettings", + "description": "Settings for Campaign Manager Omniture integration." + }, + "subaccountId": { + "description": "Subaccount ID of this floodlight configuration. This is a read-only field that can be left blank.", + "format": "int64", + "type": "string" + }, + "tagSettings": { + "$ref": "TagSettings", + "description": "Configuration settings for dynamic and image floodlight tags." + }, + "thirdPartyAuthenticationTokens": { + "description": "List of third-party authentication tokens enabled for this configuration.", + "items": { + "$ref": "ThirdPartyAuthenticationToken" + }, + "type": "array" + }, + "userDefinedVariableConfigurations": { + "description": "List of user defined variables enabled for this configuration.", + "items": { + "$ref": "UserDefinedVariableConfiguration" + }, + "type": "array" + } + }, + "type": "object" + }, + "FloodlightConfigurationsListResponse": { + "description": "Floodlight Configuration List Response", + "id": "FloodlightConfigurationsListResponse", + "properties": { + "floodlightConfigurations": { + "description": "Floodlight configuration collection.", + "items": { + "$ref": "FloodlightConfiguration" + }, + "type": "array" + }, + "kind": { + "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#floodlightConfigurationsListResponse\".", + "type": "string" + } + }, + "type": "object" + }, + "FloodlightReportCompatibleFields": { + "description": "Represents fields that are compatible to be selected for a report of type \"FlOODLIGHT\".", + "id": "FloodlightReportCompatibleFields", + "properties": { + "dimensionFilters": { + "description": "Dimensions which are compatible to be selected in the \"dimensionFilters\" section of the report.", + "items": { + "$ref": "Dimension" + }, + "type": "array" + }, + "dimensions": { + "description": "Dimensions which are compatible to be selected in the \"dimensions\" section of the report.", + "items": { + "$ref": "Dimension" + }, + "type": "array" + }, + "kind": { + "description": "The kind of resource this is, in this case dfareporting#floodlightReportCompatibleFields.", + "type": "string" + }, + "metrics": { + "description": "Metrics which are compatible to be selected in the \"metricNames\" section of the report.", + "items": { + "$ref": "Metric" + }, + "type": "array" + } + }, + "type": "object" + }, + "FrequencyCap": { + "description": "Frequency Cap.", + "id": "FrequencyCap", + "properties": { + "duration": { + "description": "Duration of time, in seconds, for this frequency cap. The maximum duration is 90 days. Acceptable values are 1 to 7776000, inclusive.", + "format": "int64", + "type": "string" + }, + "impressions": { + "description": "Number of times an individual user can be served the ad within the specified duration. Acceptable values are 1 to 15, inclusive.", + "format": "int64", + "type": "string" + } + }, + "type": "object" + }, + "FsCommand": { + "description": "FsCommand.", + "id": "FsCommand", + "properties": { + "left": { + "description": "Distance from the left of the browser.Applicable when positionOption is DISTANCE_FROM_TOP_LEFT_CORNER.", + "format": "int32", + "type": "integer" + }, + "positionOption": { + "description": "Position in the browser where the window will open.", + "enum": [ + "CENTERED", + "DISTANCE_FROM_TOP_LEFT_CORNER" + ], + "enumDescriptions": [ + "", + "" + ], + "type": "string" + }, + "top": { + "description": "Distance from the top of the browser. Applicable when positionOption is DISTANCE_FROM_TOP_LEFT_CORNER.", + "format": "int32", + "type": "integer" + }, + "windowHeight": { + "description": "Height of the window.", + "format": "int32", + "type": "integer" + }, + "windowWidth": { + "description": "Width of the window.", + "format": "int32", + "type": "integer" + } + }, + "type": "object" + }, + "GeoTargeting": { + "description": "Geographical Targeting.", + "id": "GeoTargeting", + "properties": { + "cities": { + "description": "Cities to be targeted. For each city only dartId is required. The other fields are populated automatically when the ad is inserted or updated. If targeting a city, do not target or exclude the country of the city, and do not target the metro or region of the city.", + "items": { + "$ref": "City" + }, + "type": "array" + }, + "countries": { + "description": "Countries to be targeted or excluded from targeting, depending on the setting of the excludeCountries field. For each country only dartId is required. The other fields are populated automatically when the ad is inserted or updated. If targeting or excluding a country, do not target regions, cities, metros, or postal codes in the same country.", + "items": { + "$ref": "Country" + }, + "type": "array" + }, + "excludeCountries": { + "description": "Whether or not to exclude the countries in the countries field from targeting. If false, the countries field refers to countries which will be targeted by the ad.", + "type": "boolean" + }, + "metros": { + "description": "Metros to be targeted. For each metro only dmaId is required. The other fields are populated automatically when the ad is inserted or updated. If targeting a metro, do not target or exclude the country of the metro.", + "items": { + "$ref": "Metro" + }, + "type": "array" + }, + "postalCodes": { + "description": "Postal codes to be targeted. For each postal code only id is required. The other fields are populated automatically when the ad is inserted or updated. If targeting a postal code, do not target or exclude the country of the postal code.", + "items": { + "$ref": "PostalCode" + }, + "type": "array" + }, + "regions": { + "description": "Regions to be targeted. For each region only dartId is required. The other fields are populated automatically when the ad is inserted or updated. If targeting a region, do not target or exclude the country of the region.", + "items": { + "$ref": "Region" + }, + "type": "array" + } + }, + "type": "object" + }, + "InventoryItem": { + "description": "Represents a buy from the Planning inventory store.", + "id": "InventoryItem", + "properties": { + "accountId": { + "description": "Account ID of this inventory item.", + "format": "int64", + "type": "string" + }, + "adSlots": { + "description": "Ad slots of this inventory item. If this inventory item represents a standalone placement, there will be exactly one ad slot. If this inventory item represents a placement group, there will be more than one ad slot, each representing one child placement in that placement group.", + "items": { + "$ref": "AdSlot" + }, + "type": "array" + }, + "advertiserId": { + "description": "Advertiser ID of this inventory item.", + "format": "int64", + "type": "string" + }, + "contentCategoryId": { + "description": "Content category ID of this inventory item.", + "format": "int64", + "type": "string" + }, + "estimatedClickThroughRate": { + "description": "Estimated click-through rate of this inventory item.", + "format": "int64", + "type": "string" + }, + "estimatedConversionRate": { + "description": "Estimated conversion rate of this inventory item.", + "format": "int64", + "type": "string" + }, + "id": { + "description": "ID of this inventory item.", + "format": "int64", + "type": "string" + }, + "inPlan": { + "description": "Whether this inventory item is in plan.", + "type": "boolean" + }, + "kind": { + "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#inventoryItem\".", + "type": "string" + }, + "lastModifiedInfo": { + "$ref": "LastModifiedInfo", + "description": "Information about the most recent modification of this inventory item." + }, + "name": { + "description": "Name of this inventory item. For standalone inventory items, this is the same name as that of its only ad slot. For group inventory items, this can differ from the name of any of its ad slots.", + "type": "string" + }, + "negotiationChannelId": { + "description": "Negotiation channel ID of this inventory item.", + "format": "int64", + "type": "string" + }, + "orderId": { + "description": "Order ID of this inventory item.", + "format": "int64", + "type": "string" + }, + "placementStrategyId": { + "description": "Placement strategy ID of this inventory item.", + "format": "int64", + "type": "string" + }, + "pricing": { + "$ref": "Pricing", + "description": "Pricing of this inventory item." + }, + "projectId": { + "description": "Project ID of this inventory item.", + "format": "int64", + "type": "string" + }, + "rfpId": { + "description": "RFP ID of this inventory item.", + "format": "int64", + "type": "string" + }, + "siteId": { + "description": "ID of the site this inventory item is associated with.", + "format": "int64", + "type": "string" + }, + "subaccountId": { + "description": "Subaccount ID of this inventory item.", + "format": "int64", + "type": "string" + }, + "type": { + "description": "Type of inventory item.", + "enum": [ + "PLANNING_PLACEMENT_TYPE_REGULAR", + "PLANNING_PLACEMENT_TYPE_CREDIT" + ], + "enumDescriptions": [ + "", + "" + ], + "type": "string" + } + }, + "type": "object" + }, + "InventoryItemsListResponse": { + "description": "Inventory item List Response", + "id": "InventoryItemsListResponse", + "properties": { + "inventoryItems": { + "description": "Inventory item collection", + "items": { + "$ref": "InventoryItem" + }, + "type": "array" + }, + "kind": { + "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#inventoryItemsListResponse\".", + "type": "string" + }, + "nextPageToken": { + "description": "Pagination token to be used for the next list operation.", + "type": "string" + } + }, + "type": "object" + }, + "KeyValueTargetingExpression": { + "description": "Key Value Targeting Expression.", + "id": "KeyValueTargetingExpression", + "properties": { + "expression": { + "description": "Keyword expression being targeted by the ad.", + "type": "string" + } + }, + "type": "object" + }, + "LandingPage": { + "description": "Contains information about where a user's browser is taken after the user clicks an ad.", + "id": "LandingPage", + "properties": { + "advertiserId": { + "description": "Advertiser ID of this landing page. This is a required field.", + "format": "int64", + "type": "string" + }, + "archived": { + "description": "Whether this landing page has been archived.", + "type": "boolean" + }, + "deepLinks": { + "description": "Links that will direct the user to a mobile app, if installed.", + "items": { + "$ref": "DeepLink" + }, + "type": "array" + }, + "id": { + "description": "ID of this landing page. This is a read-only, auto-generated field.", + "format": "int64", + "type": "string" + }, + "kind": { + "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#landingPage\".", + "type": "string" + }, + "name": { + "description": "Name of this landing page. This is a required field. It must be less than 256 characters long.", + "type": "string" + }, + "url": { + "description": "URL of this landing page. This is a required field.", + "type": "string" + } + }, + "type": "object" + }, + "Language": { + "description": "Contains information about a language that can be targeted by ads.", + "id": "Language", + "properties": { + "id": { + "description": "Language ID of this language. This is the ID used for targeting and generating reports.", + "format": "int64", + "type": "string" + }, + "kind": { + "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#language\".", + "type": "string" + }, + "languageCode": { + "description": "Format of language code is an ISO 639 two-letter language code optionally followed by an underscore followed by an ISO 3166 code. Examples are \"en\" for English or \"zh_CN\" for Simplified Chinese.", + "type": "string" + }, + "name": { + "description": "Name of this language.", + "type": "string" + } + }, + "type": "object" + }, + "LanguageTargeting": { + "description": "Language Targeting.", + "id": "LanguageTargeting", + "properties": { + "languages": { + "description": "Languages that this ad targets. For each language only languageId is required. The other fields are populated automatically when the ad is inserted or updated.", + "items": { + "$ref": "Language" + }, + "type": "array" + } + }, + "type": "object" + }, + "LanguagesListResponse": { + "description": "Language List Response", + "id": "LanguagesListResponse", + "properties": { + "kind": { + "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#languagesListResponse\".", + "type": "string" + }, + "languages": { + "description": "Language collection.", + "items": { + "$ref": "Language" + }, + "type": "array" + } + }, + "type": "object" + }, + "LastModifiedInfo": { + "description": "Modification timestamp.", + "id": "LastModifiedInfo", + "properties": { + "time": { + "description": "Timestamp of the last change in milliseconds since epoch.", + "format": "int64", + "type": "string" + } + }, + "type": "object" + }, + "ListPopulationClause": { + "description": "A group clause made up of list population terms representing constraints joined by ORs.", + "id": "ListPopulationClause", + "properties": { + "terms": { + "description": "Terms of this list population clause. Each clause is made up of list population terms representing constraints and are joined by ORs.", + "items": { + "$ref": "ListPopulationTerm" + }, + "type": "array" + } + }, + "type": "object" + }, + "ListPopulationRule": { + "description": "Remarketing List Population Rule.", + "id": "ListPopulationRule", + "properties": { + "floodlightActivityId": { + "description": "Floodlight activity ID associated with this rule. This field can be left blank.", + "format": "int64", + "type": "string" + }, + "floodlightActivityName": { + "description": "Name of floodlight activity associated with this rule. This is a read-only, auto-generated field.", + "type": "string" + }, + "listPopulationClauses": { + "description": "Clauses that make up this list population rule. Clauses are joined by ANDs, and the clauses themselves are made up of list population terms which are joined by ORs.", + "items": { + "$ref": "ListPopulationClause" + }, + "type": "array" + } + }, + "type": "object" + }, + "ListPopulationTerm": { + "description": "Remarketing List Population Rule Term.", + "id": "ListPopulationTerm", + "properties": { + "contains": { + "description": "Will be true if the term should check if the user is in the list and false if the term should check if the user is not in the list. This field is only relevant when type is set to LIST_MEMBERSHIP_TERM. False by default.", + "type": "boolean" + }, + "negation": { + "description": "Whether to negate the comparison result of this term during rule evaluation. This field is only relevant when type is left unset or set to CUSTOM_VARIABLE_TERM or REFERRER_TERM.", + "type": "boolean" + }, + "operator": { + "description": "Comparison operator of this term. This field is only relevant when type is left unset or set to CUSTOM_VARIABLE_TERM or REFERRER_TERM.", + "enum": [ + "NUM_EQUALS", + "NUM_LESS_THAN", + "NUM_LESS_THAN_EQUAL", + "NUM_GREATER_THAN", + "NUM_GREATER_THAN_EQUAL", + "STRING_EQUALS", + "STRING_CONTAINS" + ], + "enumDescriptions": [ + "", + "", + "", + "", + "", + "", + "" + ], + "type": "string" + }, + "remarketingListId": { + "description": "ID of the list in question. This field is only relevant when type is set to LIST_MEMBERSHIP_TERM.", + "format": "int64", + "type": "string" + }, + "type": { + "description": "List population term type determines the applicable fields in this object. If left unset or set to CUSTOM_VARIABLE_TERM, then variableName, variableFriendlyName, operator, value, and negation are applicable. If set to LIST_MEMBERSHIP_TERM then remarketingListId and contains are applicable. If set to REFERRER_TERM then operator, value, and negation are applicable.", + "enum": [ + "CUSTOM_VARIABLE_TERM", + "LIST_MEMBERSHIP_TERM", + "REFERRER_TERM" + ], + "enumDescriptions": [ + "", + "", + "" + ], + "type": "string" + }, + "value": { + "description": "Literal to compare the variable to. This field is only relevant when type is left unset or set to CUSTOM_VARIABLE_TERM or REFERRER_TERM.", + "type": "string" + }, + "variableFriendlyName": { + "description": "Friendly name of this term's variable. This is a read-only, auto-generated field. This field is only relevant when type is left unset or set to CUSTOM_VARIABLE_TERM.", + "type": "string" + }, + "variableName": { + "description": "Name of the variable (U1, U2, etc.) being compared in this term. This field is only relevant when type is set to null, CUSTOM_VARIABLE_TERM or REFERRER_TERM.", + "type": "string" + } + }, + "type": "object" + }, + "ListTargetingExpression": { + "description": "Remarketing List Targeting Expression.", + "id": "ListTargetingExpression", + "properties": { + "expression": { + "description": "Expression describing which lists are being targeted by the ad.", + "type": "string" + } + }, + "type": "object" + }, + "LookbackConfiguration": { + "description": "Lookback configuration settings.", + "id": "LookbackConfiguration", + "properties": { + "clickDuration": { + "description": "Lookback window, in days, from the last time a given user clicked on one of your ads. If you enter 0, clicks will not be considered as triggering events for floodlight tracking. If you leave this field blank, the default value for your account will be used. Acceptable values are 0 to 90, inclusive.", + "format": "int32", + "type": "integer" + }, + "postImpressionActivitiesDuration": { + "description": "Lookback window, in days, from the last time a given user viewed one of your ads. If you enter 0, impressions will not be considered as triggering events for floodlight tracking. If you leave this field blank, the default value for your account will be used. Acceptable values are 0 to 90, inclusive.", + "format": "int32", + "type": "integer" + } + }, + "type": "object" + }, + "Metric": { + "description": "Represents a metric.", + "id": "Metric", + "properties": { + "kind": { + "description": "The kind of resource this is, in this case dfareporting#metric.", + "type": "string" + }, + "name": { + "description": "The metric name, e.g. dfa:impressions", + "type": "string" + } + }, + "type": "object" + }, + "Metro": { + "description": "Contains information about a metro region that can be targeted by ads.", + "id": "Metro", + "properties": { + "countryCode": { + "description": "Country code of the country to which this metro region belongs.", + "type": "string" + }, + "countryDartId": { + "description": "DART ID of the country to which this metro region belongs.", + "format": "int64", + "type": "string" + }, + "dartId": { + "description": "DART ID of this metro region.", + "format": "int64", + "type": "string" + }, + "dmaId": { + "description": "DMA ID of this metro region. This is the ID used for targeting and generating reports, and is equivalent to metro_code.", + "format": "int64", + "type": "string" + }, + "kind": { + "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#metro\".", + "type": "string" + }, + "metroCode": { + "description": "Metro code of this metro region. This is equivalent to dma_id.", + "type": "string" + }, + "name": { + "description": "Name of this metro region.", + "type": "string" + } + }, + "type": "object" + }, + "MetrosListResponse": { + "description": "Metro List Response", + "id": "MetrosListResponse", + "properties": { + "kind": { + "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#metrosListResponse\".", + "type": "string" + }, + "metros": { + "description": "Metro collection.", + "items": { + "$ref": "Metro" + }, + "type": "array" + } + }, + "type": "object" + }, + "MobileApp": { + "description": "Contains information about a mobile app. Used as a landing page deep link.", + "id": "MobileApp", + "properties": { + "directory": { + "description": "Mobile app directory.", + "enum": [ + "UNKNOWN", + "APPLE_APP_STORE", + "GOOGLE_PLAY_STORE" + ], + "enumDescriptions": [ + "", + "", + "" + ], + "type": "string" + }, + "id": { + "description": "ID of this mobile app.", + "type": "string" + }, + "kind": { + "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#mobileApp\".", + "type": "string" + }, + "publisherName": { + "description": "Publisher name.", + "type": "string" + }, + "title": { + "description": "Title of this mobile app.", + "type": "string" + } + }, + "type": "object" + }, + "MobileAppsListResponse": { + "description": "Mobile app List Response", + "id": "MobileAppsListResponse", + "properties": { + "kind": { + "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#mobileAppsListResponse\".", + "type": "string" + }, + "mobileApps": { + "description": "Mobile apps collection.", + "items": { + "$ref": "MobileApp" + }, + "type": "array" + }, + "nextPageToken": { + "description": "Pagination token to be used for the next list operation.", + "type": "string" + } + }, + "type": "object" + }, + "MobileCarrier": { + "description": "Contains information about a mobile carrier that can be targeted by ads.", + "id": "MobileCarrier", + "properties": { + "countryCode": { + "description": "Country code of the country to which this mobile carrier belongs.", + "type": "string" + }, + "countryDartId": { + "description": "DART ID of the country to which this mobile carrier belongs.", + "format": "int64", + "type": "string" + }, + "id": { + "description": "ID of this mobile carrier.", + "format": "int64", + "type": "string" + }, + "kind": { + "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#mobileCarrier\".", + "type": "string" + }, + "name": { + "description": "Name of this mobile carrier.", + "type": "string" + } + }, + "type": "object" + }, + "MobileCarriersListResponse": { + "description": "Mobile Carrier List Response", + "id": "MobileCarriersListResponse", + "properties": { + "kind": { + "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#mobileCarriersListResponse\".", + "type": "string" + }, + "mobileCarriers": { + "description": "Mobile carrier collection.", + "items": { + "$ref": "MobileCarrier" + }, + "type": "array" + } + }, + "type": "object" + }, + "ObaIcon": { + "description": "Online Behavioral Advertiser icon.", + "id": "ObaIcon", + "properties": { + "iconClickThroughUrl": { + "description": "URL to redirect to when an OBA icon is clicked.", + "type": "string" + }, + "iconClickTrackingUrl": { + "description": "URL to track click when an OBA icon is clicked.", + "type": "string" + }, + "iconViewTrackingUrl": { + "description": "URL to track view when an OBA icon is clicked.", + "type": "string" + }, + "program": { + "description": "Identifies the industry initiative that the icon supports. For example, AdChoices.", + "type": "string" + }, + "resourceUrl": { + "description": "OBA icon resource URL. Campaign Manager only supports image and JavaScript icons. Learn more", + "type": "string" + }, + "size": { + "$ref": "Size", + "description": "OBA icon size." + }, + "xPosition": { + "description": "OBA icon x coordinate position. Accepted values are left or right.", + "type": "string" + }, + "yPosition": { + "description": "OBA icon y coordinate position. Accepted values are top or bottom.", + "type": "string" + } + }, + "type": "object" + }, + "ObjectFilter": { + "description": "Object Filter.", + "id": "ObjectFilter", + "properties": { + "kind": { + "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#objectFilter\".", + "type": "string" + }, + "objectIds": { + "description": "Applicable when status is ASSIGNED. The user has access to objects with these object IDs.", + "items": { + "format": "int64", + "type": "string" + }, + "type": "array" + }, + "status": { + "description": "Status of the filter. NONE means the user has access to none of the objects. ALL means the user has access to all objects. ASSIGNED means the user has access to the objects with IDs in the objectIds list.", + "enum": [ + "NONE", + "ASSIGNED", + "ALL" + ], + "enumDescriptions": [ + "", + "", + "" + ], + "type": "string" + } + }, + "type": "object" + }, + "OffsetPosition": { + "description": "Offset Position.", + "id": "OffsetPosition", + "properties": { + "left": { + "description": "Offset distance from left side of an asset or a window.", + "format": "int32", + "type": "integer" + }, + "top": { + "description": "Offset distance from top side of an asset or a window.", + "format": "int32", + "type": "integer" + } + }, + "type": "object" + }, + "OmnitureSettings": { + "description": "Omniture Integration Settings.", + "id": "OmnitureSettings", + "properties": { + "omnitureCostDataEnabled": { + "description": "Whether placement cost data will be sent to Omniture. This property can be enabled only if omnitureIntegrationEnabled is true.", + "type": "boolean" + }, + "omnitureIntegrationEnabled": { + "description": "Whether Omniture integration is enabled. This property can be enabled only when the \"Advanced Ad Serving\" account setting is enabled.", + "type": "boolean" + } + }, + "type": "object" + }, + "OperatingSystem": { + "description": "Contains information about an operating system that can be targeted by ads.", + "id": "OperatingSystem", + "properties": { + "dartId": { + "description": "DART ID of this operating system. This is the ID used for targeting.", + "format": "int64", + "type": "string" + }, + "desktop": { + "description": "Whether this operating system is for desktop.", + "type": "boolean" + }, + "kind": { + "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#operatingSystem\".", + "type": "string" + }, + "mobile": { + "description": "Whether this operating system is for mobile.", + "type": "boolean" + }, + "name": { + "description": "Name of this operating system.", + "type": "string" + } + }, + "type": "object" + }, + "OperatingSystemVersion": { + "description": "Contains information about a particular version of an operating system that can be targeted by ads.", + "id": "OperatingSystemVersion", + "properties": { + "id": { + "description": "ID of this operating system version.", + "format": "int64", + "type": "string" + }, + "kind": { + "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#operatingSystemVersion\".", + "type": "string" + }, + "majorVersion": { + "description": "Major version (leftmost number) of this operating system version.", + "type": "string" + }, + "minorVersion": { + "description": "Minor version (number after the first dot) of this operating system version.", + "type": "string" + }, + "name": { + "description": "Name of this operating system version.", + "type": "string" + }, + "operatingSystem": { + "$ref": "OperatingSystem", + "description": "Operating system of this operating system version." + } + }, + "type": "object" + }, + "OperatingSystemVersionsListResponse": { + "description": "Operating System Version List Response", + "id": "OperatingSystemVersionsListResponse", + "properties": { + "kind": { + "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#operatingSystemVersionsListResponse\".", + "type": "string" + }, + "operatingSystemVersions": { + "description": "Operating system version collection.", + "items": { + "$ref": "OperatingSystemVersion" + }, + "type": "array" + } + }, + "type": "object" + }, + "OperatingSystemsListResponse": { + "description": "Operating System List Response", + "id": "OperatingSystemsListResponse", + "properties": { + "kind": { + "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#operatingSystemsListResponse\".", + "type": "string" + }, + "operatingSystems": { + "description": "Operating system collection.", + "items": { + "$ref": "OperatingSystem" + }, + "type": "array" + } + }, + "type": "object" + }, + "OptimizationActivity": { + "description": "Creative optimization activity.", + "id": "OptimizationActivity", + "properties": { + "floodlightActivityId": { + "description": "Floodlight activity ID of this optimization activity. This is a required field.", + "format": "int64", + "type": "string" + }, + "floodlightActivityIdDimensionValue": { + "$ref": "DimensionValue", + "description": "Dimension value for the ID of the floodlight activity. This is a read-only, auto-generated field." + }, + "weight": { + "description": "Weight associated with this optimization. The weight assigned will be understood in proportion to the weights assigned to the other optimization activities. Value must be greater than or equal to 1.", + "format": "int32", + "type": "integer" + } + }, + "type": "object" + }, + "Order": { + "description": "Describes properties of a Planning order.", + "id": "Order", + "properties": { + "accountId": { + "description": "Account ID of this order.", + "format": "int64", + "type": "string" + }, + "advertiserId": { + "description": "Advertiser ID of this order.", + "format": "int64", + "type": "string" + }, + "approverUserProfileIds": { + "description": "IDs for users that have to approve documents created for this order.", + "items": { + "format": "int64", + "type": "string" + }, + "type": "array" + }, + "buyerInvoiceId": { + "description": "Buyer invoice ID associated with this order.", + "type": "string" + }, + "buyerOrganizationName": { + "description": "Name of the buyer organization.", + "type": "string" + }, + "comments": { + "description": "Comments in this order.", + "type": "string" + }, + "contacts": { + "description": "Contacts for this order.", + "items": { + "$ref": "OrderContact" + }, + "type": "array" + }, + "id": { + "description": "ID of this order. This is a read-only, auto-generated field.", + "format": "int64", + "type": "string" + }, + "kind": { + "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#order\".", + "type": "string" + }, + "lastModifiedInfo": { + "$ref": "LastModifiedInfo", + "description": "Information about the most recent modification of this order." + }, + "name": { + "description": "Name of this order.", + "type": "string" + }, + "notes": { + "description": "Notes of this order.", + "type": "string" + }, + "planningTermId": { + "description": "ID of the terms and conditions template used in this order.", + "format": "int64", + "type": "string" + }, + "projectId": { + "description": "Project ID of this order.", + "format": "int64", + "type": "string" + }, + "sellerOrderId": { + "description": "Seller order ID associated with this order.", + "type": "string" + }, + "sellerOrganizationName": { + "description": "Name of the seller organization.", + "type": "string" + }, + "siteId": { + "description": "Site IDs this order is associated with.", + "items": { + "format": "int64", + "type": "string" + }, + "type": "array" + }, + "siteNames": { + "description": "Free-form site names this order is associated with.", + "items": { + "type": "string" + }, + "type": "array" + }, + "subaccountId": { + "description": "Subaccount ID of this order.", + "format": "int64", + "type": "string" + }, + "termsAndConditions": { + "description": "Terms and conditions of this order.", + "type": "string" + } + }, + "type": "object" + }, + "OrderContact": { + "description": "Contact of an order.", + "id": "OrderContact", + "properties": { + "contactInfo": { + "description": "Free-form information about this contact. It could be any information related to this contact in addition to type, title, name, and signature user profile ID.", + "type": "string" + }, + "contactName": { + "description": "Name of this contact.", + "type": "string" + }, + "contactTitle": { + "description": "Title of this contact.", + "type": "string" + }, + "contactType": { + "description": "Type of this contact.", + "enum": [ + "PLANNING_ORDER_CONTACT_BUYER_CONTACT", + "PLANNING_ORDER_CONTACT_BUYER_BILLING_CONTACT", + "PLANNING_ORDER_CONTACT_SELLER_CONTACT" + ], + "enumDescriptions": [ + "", + "", + "" + ], + "type": "string" + }, + "signatureUserProfileId": { + "description": "ID of the user profile containing the signature that will be embedded into order documents.", + "format": "int64", + "type": "string" + } + }, + "type": "object" + }, + "OrderDocument": { + "description": "Contains properties of a Planning order document.", + "id": "OrderDocument", + "properties": { + "accountId": { + "description": "Account ID of this order document.", + "format": "int64", + "type": "string" + }, + "advertiserId": { + "description": "Advertiser ID of this order document.", + "format": "int64", + "type": "string" + }, + "amendedOrderDocumentId": { + "description": "The amended order document ID of this order document. An order document can be created by optionally amending another order document so that the change history can be preserved.", + "format": "int64", + "type": "string" + }, + "approvedByUserProfileIds": { + "description": "IDs of users who have approved this order document.", + "items": { + "format": "int64", + "type": "string" + }, + "type": "array" + }, + "cancelled": { + "description": "Whether this order document is cancelled.", + "type": "boolean" + }, + "createdInfo": { + "$ref": "LastModifiedInfo", + "description": "Information about the creation of this order document." + }, + "effectiveDate": { + "format": "date", + "type": "string" + }, + "id": { + "description": "ID of this order document.", + "format": "int64", + "type": "string" + }, + "kind": { + "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#orderDocument\".", + "type": "string" + }, + "lastSentRecipients": { + "description": "List of email addresses that received the last sent document.", + "items": { + "type": "string" + }, + "type": "array" + }, + "lastSentTime": { + "format": "date-time", + "type": "string" + }, + "orderId": { + "description": "ID of the order from which this order document is created.", + "format": "int64", + "type": "string" + }, + "projectId": { + "description": "Project ID of this order document.", + "format": "int64", + "type": "string" + }, + "signed": { + "description": "Whether this order document has been signed.", + "type": "boolean" + }, + "subaccountId": { + "description": "Subaccount ID of this order document.", + "format": "int64", + "type": "string" + }, + "title": { + "description": "Title of this order document.", + "type": "string" + }, + "type": { + "description": "Type of this order document", + "enum": [ + "PLANNING_ORDER_TYPE_INSERTION_ORDER", + "PLANNING_ORDER_TYPE_CHANGE_ORDER" + ], + "enumDescriptions": [ + "", + "" + ], + "type": "string" + } + }, + "type": "object" + }, + "OrderDocumentsListResponse": { + "description": "Order document List Response", + "id": "OrderDocumentsListResponse", + "properties": { + "kind": { + "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#orderDocumentsListResponse\".", + "type": "string" + }, + "nextPageToken": { + "description": "Pagination token to be used for the next list operation.", + "type": "string" + }, + "orderDocuments": { + "description": "Order document collection", + "items": { + "$ref": "OrderDocument" + }, + "type": "array" + } + }, + "type": "object" + }, + "OrdersListResponse": { + "description": "Order List Response", + "id": "OrdersListResponse", + "properties": { + "kind": { + "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#ordersListResponse\".", + "type": "string" + }, + "nextPageToken": { + "description": "Pagination token to be used for the next list operation.", + "type": "string" + }, + "orders": { + "description": "Order collection.", + "items": { + "$ref": "Order" + }, + "type": "array" + } + }, + "type": "object" + }, + "PathFilter": { + "description": "Represents a DfaReporting path filter.", + "id": "PathFilter", + "properties": { + "eventFilters": { + "description": "Event filters in path report.", + "items": { + "$ref": "EventFilter" + }, + "type": "array" + }, + "kind": { + "description": "The kind of resource this is, in this case dfareporting#pathFilter.", + "type": "string" + }, + "pathMatchPosition": { + "description": "Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.", + "enum": [ + "PATH_MATCH_POSITION_UNSPECIFIED", + "ANY", + "FIRST", + "LAST" + ], + "enumDescriptions": [ + "", + "", + "", + "" + ], + "type": "string" + } + }, + "type": "object" + }, + "PathReportCompatibleFields": { + "description": "Represents fields that are compatible to be selected for a report of type \"PATH\".", + "id": "PathReportCompatibleFields", + "properties": { + "channelGroupings": { + "description": "Dimensions which are compatible to be selected in the \"channelGroupings\" section of the report.", + "items": { + "$ref": "Dimension" + }, + "type": "array" + }, + "dimensions": { + "description": "Dimensions which are compatible to be selected in the \"dimensions\" section of the report.", + "items": { + "$ref": "Dimension" + }, + "type": "array" + }, + "kind": { + "description": "The kind of resource this is, in this case dfareporting#pathReportCompatibleFields.", + "type": "string" + }, + "metrics": { + "description": "Metrics which are compatible to be selected in the \"metricNames\" section of the report.", + "items": { + "$ref": "Metric" + }, + "type": "array" + }, + "pathFilters": { + "description": "Dimensions which are compatible to be selected in the \"pathFilters\" section of the report.", + "items": { + "$ref": "Dimension" + }, + "type": "array" + } + }, + "type": "object" + }, + "PathReportDimensionValue": { + "description": "Represents a PathReportDimensionValue resource.", + "id": "PathReportDimensionValue", + "properties": { + "dimensionName": { + "description": "The name of the dimension.", + "type": "string" + }, + "ids": { + "description": "The possible ID's associated with the value if available.", + "items": { + "type": "string" + }, + "type": "array" + }, + "kind": { + "description": "The kind of resource this is, in this case dfareporting#pathReportDimensionValue.", + "type": "string" + }, + "matchType": { + "description": "Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.", + "enum": [ + "EXACT", + "BEGINS_WITH", + "CONTAINS", + "WILDCARD_EXPRESSION" + ], + "enumDescriptions": [ + "", + "", + "", + "" + ], + "type": "string" + }, + "values": { + "description": "The possible values of the dimension.", + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "PathToConversionReportCompatibleFields": { + "description": "Represents fields that are compatible to be selected for a report of type \"PATH_TO_CONVERSION\".", + "id": "PathToConversionReportCompatibleFields", + "properties": { + "conversionDimensions": { + "description": "Conversion dimensions which are compatible to be selected in the \"conversionDimensions\" section of the report.", + "items": { + "$ref": "Dimension" + }, + "type": "array" + }, + "customFloodlightVariables": { + "description": "Custom floodlight variables which are compatible to be selected in the \"customFloodlightVariables\" section of the report.", + "items": { + "$ref": "Dimension" + }, + "type": "array" + }, + "kind": { + "description": "The kind of resource this is, in this case dfareporting#pathToConversionReportCompatibleFields.", + "type": "string" + }, + "metrics": { + "description": "Metrics which are compatible to be selected in the \"metricNames\" section of the report.", + "items": { + "$ref": "Metric" + }, + "type": "array" + }, + "perInteractionDimensions": { + "description": "Per-interaction dimensions which are compatible to be selected in the \"perInteractionDimensions\" section of the report.", + "items": { + "$ref": "Dimension" + }, + "type": "array" + } + }, + "type": "object" + }, + "Placement": { + "description": "Contains properties of a placement.", + "id": "Placement", + "properties": { + "accountId": { + "description": "Account ID of this placement. This field can be left blank.", + "format": "int64", + "type": "string" + }, + "adBlockingOptOut": { + "description": "Whether this placement opts out of ad blocking. When true, ad blocking is disabled for this placement. When false, the campaign and site settings take effect.", + "type": "boolean" + }, + "additionalSizes": { + "description": "Additional sizes associated with this placement. When inserting or updating a placement, only the size ID field is used.", + "items": { + "$ref": "Size" + }, + "type": "array" + }, + "advertiserId": { + "description": "Advertiser ID of this placement. This field can be left blank.", + "format": "int64", + "type": "string" + }, + "advertiserIdDimensionValue": { + "$ref": "DimensionValue", + "description": "Dimension value for the ID of the advertiser. This is a read-only, auto-generated field." + }, + "archived": { + "description": "Whether this placement is archived.", + "type": "boolean" + }, + "campaignId": { + "description": "Campaign ID of this placement. This field is a required field on insertion.", + "format": "int64", + "type": "string" + }, + "campaignIdDimensionValue": { + "$ref": "DimensionValue", + "description": "Dimension value for the ID of the campaign. This is a read-only, auto-generated field." + }, + "comment": { + "description": "Comments for this placement.", + "type": "string" + }, + "compatibility": { + "description": "Placement compatibility. DISPLAY and DISPLAY_INTERSTITIAL refer to rendering on desktop, on mobile devices or in mobile apps for regular or interstitial ads respectively. APP and APP_INTERSTITIAL are no longer allowed for new placement insertions. Instead, use DISPLAY or DISPLAY_INTERSTITIAL. IN_STREAM_VIDEO refers to rendering in in-stream video ads developed with the VAST standard. This field is required on insertion.", + "enum": [ + "DISPLAY", + "DISPLAY_INTERSTITIAL", + "APP", + "APP_INTERSTITIAL", + "IN_STREAM_VIDEO", + "IN_STREAM_AUDIO" + ], + "enumDescriptions": [ + "", + "", + "", + "", + "", + "" + ], + "type": "string" + }, + "contentCategoryId": { + "description": "ID of the content category assigned to this placement.", + "format": "int64", + "type": "string" + }, + "createInfo": { + "$ref": "LastModifiedInfo", + "description": "Information about the creation of this placement. This is a read-only field." + }, + "directorySiteId": { + "description": "Directory site ID of this placement. On insert, you must set either this field or the siteId field to specify the site associated with this placement. This is a required field that is read-only after insertion.", + "format": "int64", + "type": "string" + }, + "directorySiteIdDimensionValue": { + "$ref": "DimensionValue", + "description": "Dimension value for the ID of the directory site. This is a read-only, auto-generated field." + }, + "externalId": { + "description": "External ID for this placement.", + "type": "string" + }, + "id": { + "description": "ID of this placement. This is a read-only, auto-generated field.", + "format": "int64", + "type": "string" + }, + "idDimensionValue": { + "$ref": "DimensionValue", + "description": "Dimension value for the ID of this placement. This is a read-only, auto-generated field." + }, + "keyName": { + "description": "Key name of this placement. This is a read-only, auto-generated field.", + "type": "string" + }, + "kind": { + "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#placement\".", + "type": "string" + }, + "lastModifiedInfo": { + "$ref": "LastModifiedInfo", + "description": "Information about the most recent modification of this placement. This is a read-only field." + }, + "lookbackConfiguration": { + "$ref": "LookbackConfiguration", + "description": "Lookback window settings for this placement." + }, + "name": { + "description": "Name of this placement.This is a required field and must be less than or equal to 256 characters long.", + "type": "string" + }, + "paymentApproved": { + "description": "Whether payment was approved for this placement. This is a read-only field relevant only to publisher-paid placements.", + "type": "boolean" + }, + "paymentSource": { + "description": "Payment source for this placement. This is a required field that is read-only after insertion.", + "enum": [ + "PLACEMENT_AGENCY_PAID", + "PLACEMENT_PUBLISHER_PAID" + ], + "enumDescriptions": [ + "", + "" + ], + "type": "string" + }, + "placementGroupId": { + "description": "ID of this placement's group, if applicable.", + "format": "int64", + "type": "string" + }, + "placementGroupIdDimensionValue": { + "$ref": "DimensionValue", + "description": "Dimension value for the ID of the placement group. This is a read-only, auto-generated field." + }, + "placementStrategyId": { + "description": "ID of the placement strategy assigned to this placement.", + "format": "int64", + "type": "string" + }, + "pricingSchedule": { + "$ref": "PricingSchedule", + "description": "Pricing schedule of this placement. This field is required on insertion, specifically subfields startDate, endDate and pricingType." + }, + "primary": { + "description": "Whether this placement is the primary placement of a roadblock (placement group). You cannot change this field from true to false. Setting this field to true will automatically set the primary field on the original primary placement of the roadblock to false, and it will automatically set the roadblock's primaryPlacementId field to the ID of this placement.", + "type": "boolean" + }, + "publisherUpdateInfo": { + "$ref": "LastModifiedInfo", + "description": "Information about the last publisher update. This is a read-only field." + }, + "siteId": { + "description": "Site ID associated with this placement. On insert, you must set either this field or the directorySiteId field to specify the site associated with this placement. This is a required field that is read-only after insertion.", + "format": "int64", + "type": "string" + }, + "siteIdDimensionValue": { + "$ref": "DimensionValue", + "description": "Dimension value for the ID of the site. This is a read-only, auto-generated field." + }, + "size": { + "$ref": "Size", + "description": "Size associated with this placement. When inserting or updating a placement, only the size ID field is used. This field is required on insertion." + }, + "sslRequired": { + "description": "Whether creatives assigned to this placement must be SSL-compliant.", + "type": "boolean" + }, + "status": { + "description": "Third-party placement status.", + "enum": [ + "PENDING_REVIEW", + "PAYMENT_ACCEPTED", + "PAYMENT_REJECTED", + "ACKNOWLEDGE_REJECTION", + "ACKNOWLEDGE_ACCEPTANCE", + "DRAFT" + ], + "enumDescriptions": [ + "", + "", + "", + "", + "", + "" + ], + "type": "string" + }, + "subaccountId": { + "description": "Subaccount ID of this placement. This field can be left blank.", + "format": "int64", + "type": "string" + }, + "tagFormats": { + "description": "Tag formats to generate for this placement. This field is required on insertion. Acceptable values are: - \"PLACEMENT_TAG_STANDARD\" - \"PLACEMENT_TAG_IFRAME_JAVASCRIPT\" - \"PLACEMENT_TAG_IFRAME_ILAYER\" - \"PLACEMENT_TAG_INTERNAL_REDIRECT\" - \"PLACEMENT_TAG_JAVASCRIPT\" - \"PLACEMENT_TAG_INTERSTITIAL_IFRAME_JAVASCRIPT\" - \"PLACEMENT_TAG_INTERSTITIAL_INTERNAL_REDIRECT\" - \"PLACEMENT_TAG_INTERSTITIAL_JAVASCRIPT\" - \"PLACEMENT_TAG_CLICK_COMMANDS\" - \"PLACEMENT_TAG_INSTREAM_VIDEO_PREFETCH\" - \"PLACEMENT_TAG_INSTREAM_VIDEO_PREFETCH_VAST_3\" - \"PLACEMENT_TAG_INSTREAM_VIDEO_PREFETCH_VAST_4\" - \"PLACEMENT_TAG_TRACKING\" - \"PLACEMENT_TAG_TRACKING_IFRAME\" - \"PLACEMENT_TAG_TRACKING_JAVASCRIPT\" ", + "items": { + "enum": [ + "PLACEMENT_TAG_STANDARD", + "PLACEMENT_TAG_IFRAME_JAVASCRIPT", + "PLACEMENT_TAG_IFRAME_ILAYER", + "PLACEMENT_TAG_INTERNAL_REDIRECT", + "PLACEMENT_TAG_JAVASCRIPT", + "PLACEMENT_TAG_INTERSTITIAL_IFRAME_JAVASCRIPT", + "PLACEMENT_TAG_INTERSTITIAL_INTERNAL_REDIRECT", + "PLACEMENT_TAG_INTERSTITIAL_JAVASCRIPT", + "PLACEMENT_TAG_CLICK_COMMANDS", + "PLACEMENT_TAG_INSTREAM_VIDEO_PREFETCH", + "PLACEMENT_TAG_TRACKING", + "PLACEMENT_TAG_TRACKING_IFRAME", + "PLACEMENT_TAG_TRACKING_JAVASCRIPT", + "PLACEMENT_TAG_INSTREAM_VIDEO_PREFETCH_VAST_3", + "PLACEMENT_TAG_IFRAME_JAVASCRIPT_LEGACY", + "PLACEMENT_TAG_JAVASCRIPT_LEGACY", + "PLACEMENT_TAG_INTERSTITIAL_IFRAME_JAVASCRIPT_LEGACY", + "PLACEMENT_TAG_INTERSTITIAL_JAVASCRIPT_LEGACY", + "PLACEMENT_TAG_INSTREAM_VIDEO_PREFETCH_VAST_4", + "PLACEMENT_TAG_TRACKING_THIRD_PARTY_MEASUREMENT" + ], + "enumDescriptions": [ + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "type": "string" + }, + "type": "array" + }, + "tagSetting": { + "$ref": "TagSetting", + "description": "Tag settings for this placement." + }, + "videoActiveViewOptOut": { + "description": "Whether Verification and ActiveView are disabled for in-stream video creatives for this placement. The same setting videoActiveViewOptOut exists on the site level -- the opt out occurs if either of these settings are true. These settings are distinct from DirectorySites.settings.activeViewOptOut or Sites.siteSettings.activeViewOptOut which only apply to display ads. However, Accounts.activeViewOptOut opts out both video traffic, as well as display ads, from Verification and ActiveView.", + "type": "boolean" + }, + "videoSettings": { + "$ref": "VideoSettings", + "description": "A collection of settings which affect video creatives served through this placement. Applicable to placements with IN_STREAM_VIDEO compatibility." + }, + "vpaidAdapterChoice": { + "description": "VPAID adapter setting for this placement. Controls which VPAID format the measurement adapter will use for in-stream video creatives assigned to this placement. *Note:* Flash is no longer supported. This field now defaults to HTML5 when the following values are provided: FLASH, BOTH.", + "enum": [ + "DEFAULT", + "FLASH", + "HTML5", + "BOTH" + ], + "enumDescriptions": [ + "", + "", + "", + "" + ], + "type": "string" + } + }, + "type": "object" + }, + "PlacementAssignment": { + "description": "Placement Assignment.", + "id": "PlacementAssignment", + "properties": { + "active": { + "description": "Whether this placement assignment is active. When true, the placement will be included in the ad's rotation.", + "type": "boolean" + }, + "placementId": { + "description": "ID of the placement to be assigned. This is a required field.", + "format": "int64", + "type": "string" + }, + "placementIdDimensionValue": { + "$ref": "DimensionValue", + "description": "Dimension value for the ID of the placement. This is a read-only, auto-generated field." + }, + "sslRequired": { + "description": "Whether the placement to be assigned requires SSL. This is a read-only field that is auto-generated when the ad is inserted or updated.", + "type": "boolean" + } + }, + "type": "object" + }, + "PlacementGroup": { + "description": "Contains properties of a package or roadblock.", + "id": "PlacementGroup", + "properties": { + "accountId": { + "description": "Account ID of this placement group. This is a read-only field that can be left blank.", + "format": "int64", + "type": "string" + }, + "advertiserId": { + "description": "Advertiser ID of this placement group. This is a required field on insertion.", + "format": "int64", + "type": "string" + }, + "advertiserIdDimensionValue": { + "$ref": "DimensionValue", + "description": "Dimension value for the ID of the advertiser. This is a read-only, auto-generated field." + }, + "archived": { + "description": "Whether this placement group is archived.", + "type": "boolean" + }, + "campaignId": { + "description": "Campaign ID of this placement group. This field is required on insertion.", + "format": "int64", + "type": "string" + }, + "campaignIdDimensionValue": { + "$ref": "DimensionValue", + "description": "Dimension value for the ID of the campaign. This is a read-only, auto-generated field." + }, + "childPlacementIds": { + "description": "IDs of placements which are assigned to this placement group. This is a read-only, auto-generated field.", + "items": { + "format": "int64", + "type": "string" + }, + "type": "array" + }, + "comment": { + "description": "Comments for this placement group.", + "type": "string" + }, + "contentCategoryId": { + "description": "ID of the content category assigned to this placement group.", + "format": "int64", + "type": "string" + }, + "createInfo": { + "$ref": "LastModifiedInfo", + "description": "Information about the creation of this placement group. This is a read-only field." + }, + "directorySiteId": { + "description": "Directory site ID associated with this placement group. On insert, you must set either this field or the site_id field to specify the site associated with this placement group. This is a required field that is read-only after insertion.", + "format": "int64", + "type": "string" + }, + "directorySiteIdDimensionValue": { + "$ref": "DimensionValue", + "description": "Dimension value for the ID of the directory site. This is a read-only, auto-generated field." + }, + "externalId": { + "description": "External ID for this placement.", + "type": "string" + }, + "id": { + "description": "ID of this placement group. This is a read-only, auto-generated field.", + "format": "int64", + "type": "string" + }, + "idDimensionValue": { + "$ref": "DimensionValue", + "description": "Dimension value for the ID of this placement group. This is a read-only, auto-generated field." + }, + "kind": { + "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#placementGroup\".", + "type": "string" + }, + "lastModifiedInfo": { + "$ref": "LastModifiedInfo", + "description": "Information about the most recent modification of this placement group. This is a read-only field." + }, + "name": { + "description": "Name of this placement group. This is a required field and must be less than 256 characters long.", + "type": "string" + }, + "placementGroupType": { + "description": "Type of this placement group. A package is a simple group of placements that acts as a single pricing point for a group of tags. A roadblock is a group of placements that not only acts as a single pricing point, but also assumes that all the tags in it will be served at the same time. A roadblock requires one of its assigned placements to be marked as primary for reporting. This field is required on insertion.", + "enum": [ + "PLACEMENT_PACKAGE", + "PLACEMENT_ROADBLOCK" + ], + "enumDescriptions": [ + "", + "" + ], + "type": "string" + }, + "placementStrategyId": { + "description": "ID of the placement strategy assigned to this placement group.", + "format": "int64", + "type": "string" + }, + "pricingSchedule": { + "$ref": "PricingSchedule", + "description": "Pricing schedule of this placement group. This field is required on insertion." + }, + "primaryPlacementId": { + "description": "ID of the primary placement, used to calculate the media cost of a roadblock (placement group). Modifying this field will automatically modify the primary field on all affected roadblock child placements.", + "format": "int64", + "type": "string" + }, + "primaryPlacementIdDimensionValue": { + "$ref": "DimensionValue", + "description": "Dimension value for the ID of the primary placement. This is a read-only, auto-generated field." + }, + "siteId": { + "description": "Site ID associated with this placement group. On insert, you must set either this field or the directorySiteId field to specify the site associated with this placement group. This is a required field that is read-only after insertion.", + "format": "int64", + "type": "string" + }, + "siteIdDimensionValue": { + "$ref": "DimensionValue", + "description": "Dimension value for the ID of the site. This is a read-only, auto-generated field." + }, + "subaccountId": { + "description": "Subaccount ID of this placement group. This is a read-only field that can be left blank.", + "format": "int64", + "type": "string" + } + }, + "type": "object" + }, + "PlacementGroupsListResponse": { + "description": "Placement Group List Response", + "id": "PlacementGroupsListResponse", + "properties": { + "kind": { + "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#placementGroupsListResponse\".", + "type": "string" + }, + "nextPageToken": { + "description": "Pagination token to be used for the next list operation.", + "type": "string" + }, + "placementGroups": { + "description": "Placement group collection.", + "items": { + "$ref": "PlacementGroup" + }, + "type": "array" + } + }, + "type": "object" + }, + "PlacementStrategiesListResponse": { + "description": "Placement Strategy List Response", + "id": "PlacementStrategiesListResponse", + "properties": { + "kind": { + "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#placementStrategiesListResponse\".", + "type": "string" + }, + "nextPageToken": { + "description": "Pagination token to be used for the next list operation.", + "type": "string" + }, + "placementStrategies": { + "description": "Placement strategy collection.", + "items": { + "$ref": "PlacementStrategy" + }, + "type": "array" + } + }, + "type": "object" + }, + "PlacementStrategy": { + "description": "Contains properties of a placement strategy.", + "id": "PlacementStrategy", + "properties": { + "accountId": { + "description": "Account ID of this placement strategy.This is a read-only field that can be left blank.", + "format": "int64", + "type": "string" + }, + "id": { + "description": "ID of this placement strategy. This is a read-only, auto-generated field.", + "format": "int64", + "type": "string" + }, + "kind": { + "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#placementStrategy\".", + "type": "string" + }, + "name": { + "description": "Name of this placement strategy. This is a required field. It must be less than 256 characters long and unique among placement strategies of the same account.", + "type": "string" + } + }, + "type": "object" + }, + "PlacementTag": { + "description": "Placement Tag", + "id": "PlacementTag", + "properties": { + "placementId": { + "description": "Placement ID", + "format": "int64", + "type": "string" + }, + "tagDatas": { + "description": "Tags generated for this placement.", + "items": { + "$ref": "TagData" + }, + "type": "array" + } + }, + "type": "object" + }, + "PlacementsGenerateTagsResponse": { + "description": "Placement GenerateTags Response", + "id": "PlacementsGenerateTagsResponse", + "properties": { + "kind": { + "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#placementsGenerateTagsResponse\".", + "type": "string" + }, + "placementTags": { + "description": "Set of generated tags for the specified placements.", + "items": { + "$ref": "PlacementTag" + }, + "type": "array" + } + }, + "type": "object" + }, + "PlacementsListResponse": { + "description": "Placement List Response", + "id": "PlacementsListResponse", + "properties": { + "kind": { + "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#placementsListResponse\".", + "type": "string" + }, + "nextPageToken": { + "description": "Pagination token to be used for the next list operation.", + "type": "string" + }, + "placements": { + "description": "Placement collection.", + "items": { + "$ref": "Placement" + }, + "type": "array" + } + }, + "type": "object" + }, + "PlatformType": { + "description": "Contains information about a platform type that can be targeted by ads.", + "id": "PlatformType", + "properties": { + "id": { + "description": "ID of this platform type.", + "format": "int64", + "type": "string" + }, + "kind": { + "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#platformType\".", + "type": "string" + }, + "name": { + "description": "Name of this platform type.", + "type": "string" + } + }, + "type": "object" + }, + "PlatformTypesListResponse": { + "description": "Platform Type List Response", + "id": "PlatformTypesListResponse", + "properties": { + "kind": { + "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#platformTypesListResponse\".", + "type": "string" + }, + "platformTypes": { + "description": "Platform type collection.", + "items": { + "$ref": "PlatformType" + }, + "type": "array" + } + }, + "type": "object" + }, + "PopupWindowProperties": { + "description": "Popup Window Properties.", + "id": "PopupWindowProperties", + "properties": { + "dimension": { + "$ref": "Size", + "description": "Popup dimension for a creative. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA and all VPAID" + }, + "offset": { + "$ref": "OffsetPosition", + "description": "Upper-left corner coordinates of the popup window. Applicable if positionType is COORDINATES." + }, + "positionType": { + "description": "Popup window position either centered or at specific coordinate.", + "enum": [ + "CENTER", + "COORDINATES" + ], + "enumDescriptions": [ + "", + "" + ], + "type": "string" + }, + "showAddressBar": { + "description": "Whether to display the browser address bar.", + "type": "boolean" + }, + "showMenuBar": { + "description": "Whether to display the browser menu bar.", + "type": "boolean" + }, + "showScrollBar": { + "description": "Whether to display the browser scroll bar.", + "type": "boolean" + }, + "showStatusBar": { + "description": "Whether to display the browser status bar.", + "type": "boolean" + }, + "showToolBar": { + "description": "Whether to display the browser tool bar.", + "type": "boolean" + }, + "title": { + "description": "Title of popup window.", + "type": "string" + } + }, + "type": "object" + }, + "PostalCode": { + "description": "Contains information about a postal code that can be targeted by ads.", + "id": "PostalCode", + "properties": { + "code": { + "description": "Postal code. This is equivalent to the id field.", + "type": "string" + }, + "countryCode": { + "description": "Country code of the country to which this postal code belongs.", + "type": "string" + }, + "countryDartId": { + "description": "DART ID of the country to which this postal code belongs.", + "format": "int64", + "type": "string" + }, + "id": { + "description": "ID of this postal code.", + "type": "string" + }, + "kind": { + "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#postalCode\".", + "type": "string" + } + }, + "type": "object" + }, + "PostalCodesListResponse": { + "description": "Postal Code List Response", + "id": "PostalCodesListResponse", + "properties": { + "kind": { + "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#postalCodesListResponse\".", + "type": "string" + }, + "postalCodes": { + "description": "Postal code collection.", + "items": { + "$ref": "PostalCode" + }, + "type": "array" + } + }, + "type": "object" + }, + "Pricing": { + "description": "Pricing Information", + "id": "Pricing", + "properties": { + "capCostType": { + "description": "Cap cost type of this inventory item.", + "enum": [ + "PLANNING_PLACEMENT_CAP_COST_TYPE_NONE", + "PLANNING_PLACEMENT_CAP_COST_TYPE_MONTHLY", + "PLANNING_PLACEMENT_CAP_COST_TYPE_CUMULATIVE" + ], + "enumDescriptions": [ + "", + "", + "" + ], + "type": "string" + }, + "endDate": { + "format": "date", + "type": "string" + }, + "flights": { + "description": "Flights of this inventory item. A flight (a.k.a. pricing period) represents the inventory item pricing information for a specific period of time.", + "items": { + "$ref": "Flight" + }, + "type": "array" + }, + "groupType": { + "description": "Group type of this inventory item if it represents a placement group. Is null otherwise. There are two type of placement groups: PLANNING_PLACEMENT_GROUP_TYPE_PACKAGE is a simple group of inventory items that acts as a single pricing point for a group of tags. PLANNING_PLACEMENT_GROUP_TYPE_ROADBLOCK is a group of inventory items that not only acts as a single pricing point, but also assumes that all the tags in it will be served at the same time. A roadblock requires one of its assigned inventory items to be marked as primary.", + "enum": [ + "PLANNING_PLACEMENT_GROUP_TYPE_PACKAGE", + "PLANNING_PLACEMENT_GROUP_TYPE_ROADBLOCK" + ], + "enumDescriptions": [ + "", + "" + ], + "type": "string" + }, + "pricingType": { + "description": "Pricing type of this inventory item.", + "enum": [ + "PLANNING_PLACEMENT_PRICING_TYPE_IMPRESSIONS", + "PLANNING_PLACEMENT_PRICING_TYPE_CPM", + "PLANNING_PLACEMENT_PRICING_TYPE_CLICKS", + "PLANNING_PLACEMENT_PRICING_TYPE_CPC", + "PLANNING_PLACEMENT_PRICING_TYPE_CPA", + "PLANNING_PLACEMENT_PRICING_TYPE_FLAT_RATE_IMPRESSIONS", + "PLANNING_PLACEMENT_PRICING_TYPE_FLAT_RATE_CLICKS", + "PLANNING_PLACEMENT_PRICING_TYPE_CPM_ACTIVEVIEW" + ], + "enumDescriptions": [ + "", + "", + "", + "", + "", + "", + "", + "" + ], + "type": "string" + }, + "startDate": { + "format": "date", + "type": "string" + } + }, + "type": "object" + }, + "PricingSchedule": { + "description": "Pricing Schedule", + "id": "PricingSchedule", + "properties": { + "capCostOption": { + "description": "Placement cap cost option.", + "enum": [ + "CAP_COST_NONE", + "CAP_COST_MONTHLY", + "CAP_COST_CUMULATIVE" + ], + "enumDescriptions": [ + "", + "", + "" + ], + "type": "string" + }, + "endDate": { + "format": "date", + "type": "string" + }, + "flighted": { + "description": "Whether this placement is flighted. If true, pricing periods will be computed automatically.", + "type": "boolean" + }, + "floodlightActivityId": { + "description": "Floodlight activity ID associated with this placement. This field should be set when placement pricing type is set to PRICING_TYPE_CPA.", + "format": "int64", + "type": "string" + }, + "pricingPeriods": { + "description": "Pricing periods for this placement.", + "items": { + "$ref": "PricingSchedulePricingPeriod" + }, + "type": "array" + }, + "pricingType": { + "description": "Placement pricing type. This field is required on insertion.", + "enum": [ + "PRICING_TYPE_CPM", + "PRICING_TYPE_CPC", + "PRICING_TYPE_CPA", + "PRICING_TYPE_FLAT_RATE_IMPRESSIONS", + "PRICING_TYPE_FLAT_RATE_CLICKS", + "PRICING_TYPE_CPM_ACTIVEVIEW" + ], + "enumDescriptions": [ + "", + "", + "", + "", + "", + "" + ], + "type": "string" + }, + "startDate": { + "format": "date", + "type": "string" + }, + "testingStartDate": { + "format": "date", + "type": "string" + } + }, + "type": "object" + }, + "PricingSchedulePricingPeriod": { + "description": "Pricing Period", + "id": "PricingSchedulePricingPeriod", + "properties": { + "endDate": { + "format": "date", + "type": "string" + }, + "pricingComment": { + "description": "Comments for this pricing period.", + "type": "string" + }, + "rateOrCostNanos": { + "description": "Rate or cost of this pricing period in nanos (i.e., multipled by 1000000000). Acceptable values are 0 to 1000000000000000000, inclusive.", + "format": "int64", + "type": "string" + }, + "startDate": { + "format": "date", + "type": "string" + }, + "units": { + "description": "Units of this pricing period. Acceptable values are 0 to 10000000000, inclusive.", + "format": "int64", + "type": "string" + } + }, + "type": "object" + }, + "Project": { + "description": "Contains properties of a Planning project.", + "id": "Project", + "properties": { + "accountId": { + "description": "Account ID of this project.", + "format": "int64", + "type": "string" + }, + "advertiserId": { + "description": "Advertiser ID of this project.", + "format": "int64", + "type": "string" + }, + "audienceAgeGroup": { + "description": "Audience age group of this project.", + "enum": [ + "PLANNING_AUDIENCE_AGE_18_24", + "PLANNING_AUDIENCE_AGE_25_34", + "PLANNING_AUDIENCE_AGE_35_44", + "PLANNING_AUDIENCE_AGE_45_54", + "PLANNING_AUDIENCE_AGE_55_64", + "PLANNING_AUDIENCE_AGE_65_OR_MORE", + "PLANNING_AUDIENCE_AGE_UNKNOWN" + ], + "enumDescriptions": [ + "", + "", + "", + "", + "", + "", + "" + ], + "type": "string" + }, + "audienceGender": { + "description": "Audience gender of this project.", + "enum": [ + "PLANNING_AUDIENCE_GENDER_MALE", + "PLANNING_AUDIENCE_GENDER_FEMALE" + ], + "enumDescriptions": [ + "", + "" + ], + "type": "string" + }, + "budget": { + "description": "Budget of this project in the currency specified by the current account. The value stored in this field represents only the non-fractional amount. For example, for USD, the smallest value that can be represented by this field is 1 US dollar.", + "format": "int64", + "type": "string" + }, + "clientBillingCode": { + "description": "Client billing code of this project.", + "type": "string" + }, + "clientName": { + "description": "Name of the project client.", + "type": "string" + }, + "endDate": { + "format": "date", + "type": "string" + }, + "id": { + "description": "ID of this project. This is a read-only, auto-generated field.", + "format": "int64", + "type": "string" + }, + "kind": { + "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#project\".", + "type": "string" + }, + "lastModifiedInfo": { + "$ref": "LastModifiedInfo", + "description": "Information about the most recent modification of this project." + }, + "name": { + "description": "Name of this project.", + "type": "string" + }, + "overview": { + "description": "Overview of this project.", + "type": "string" + }, + "startDate": { + "format": "date", + "type": "string" + }, + "subaccountId": { + "description": "Subaccount ID of this project.", + "format": "int64", + "type": "string" + }, + "targetClicks": { + "description": "Number of clicks that the advertiser is targeting.", + "format": "int64", + "type": "string" + }, + "targetConversions": { + "description": "Number of conversions that the advertiser is targeting.", + "format": "int64", + "type": "string" + }, + "targetCpaNanos": { + "description": "CPA that the advertiser is targeting.", + "format": "int64", + "type": "string" + }, + "targetCpcNanos": { + "description": "CPC that the advertiser is targeting.", + "format": "int64", + "type": "string" + }, + "targetCpmActiveViewNanos": { + "description": "vCPM from Active View that the advertiser is targeting.", + "format": "int64", + "type": "string" + }, + "targetCpmNanos": { + "description": "CPM that the advertiser is targeting.", + "format": "int64", + "type": "string" + }, + "targetImpressions": { + "description": "Number of impressions that the advertiser is targeting.", + "format": "int64", + "type": "string" + } + }, + "type": "object" + }, + "ProjectsListResponse": { + "description": "Project List Response", + "id": "ProjectsListResponse", + "properties": { + "kind": { + "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#projectsListResponse\".", + "type": "string" + }, + "nextPageToken": { + "description": "Pagination token to be used for the next list operation.", + "type": "string" + }, + "projects": { + "description": "Project collection.", + "items": { + "$ref": "Project" + }, + "type": "array" + } + }, + "type": "object" + }, + "ReachReportCompatibleFields": { + "description": "Represents fields that are compatible to be selected for a report of type \"REACH\".", + "id": "ReachReportCompatibleFields", + "properties": { + "dimensionFilters": { + "description": "Dimensions which are compatible to be selected in the \"dimensionFilters\" section of the report.", + "items": { + "$ref": "Dimension" + }, + "type": "array" + }, + "dimensions": { + "description": "Dimensions which are compatible to be selected in the \"dimensions\" section of the report.", + "items": { + "$ref": "Dimension" + }, + "type": "array" + }, + "kind": { + "description": "The kind of resource this is, in this case dfareporting#reachReportCompatibleFields.", + "type": "string" + }, + "metrics": { + "description": "Metrics which are compatible to be selected in the \"metricNames\" section of the report.", + "items": { + "$ref": "Metric" + }, + "type": "array" + }, + "pivotedActivityMetrics": { + "description": "Metrics which are compatible to be selected as activity metrics to pivot on in the \"activities\" section of the report.", + "items": { + "$ref": "Metric" + }, + "type": "array" + }, + "reachByFrequencyMetrics": { + "description": "Metrics which are compatible to be selected in the \"reachByFrequencyMetricNames\" section of the report.", + "items": { + "$ref": "Metric" + }, + "type": "array" + } + }, + "type": "object" + }, + "Recipient": { + "description": "Represents a recipient.", + "id": "Recipient", + "properties": { + "deliveryType": { + "annotations": { + "required": [ + "dfareporting.reports.insert", + "dfareporting.reports.update" + ] + }, + "description": "The delivery type for the recipient.", + "enum": [ + "LINK", + "ATTACHMENT" + ], + "enumDescriptions": [ + "", + "" + ], + "type": "string" + }, + "email": { + "annotations": { + "required": [ + "dfareporting.reports.insert", + "dfareporting.reports.update" + ] + }, + "description": "The email address of the recipient.", + "type": "string" + }, + "kind": { + "description": "The kind of resource this is, in this case dfareporting#recipient.", + "type": "string" + } + }, + "type": "object" + }, + "Region": { + "description": "Contains information about a region that can be targeted by ads.", + "id": "Region", + "properties": { + "countryCode": { + "description": "Country code of the country to which this region belongs.", + "type": "string" + }, + "countryDartId": { + "description": "DART ID of the country to which this region belongs.", + "format": "int64", + "type": "string" + }, + "dartId": { + "description": "DART ID of this region.", + "format": "int64", + "type": "string" + }, + "kind": { + "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#region\".", + "type": "string" + }, + "name": { + "description": "Name of this region.", + "type": "string" + }, + "regionCode": { + "description": "Region code.", + "type": "string" + } + }, + "type": "object" + }, + "RegionsListResponse": { + "description": "Region List Response", + "id": "RegionsListResponse", + "properties": { + "kind": { + "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#regionsListResponse\".", + "type": "string" + }, + "regions": { + "description": "Region collection.", + "items": { + "$ref": "Region" + }, + "type": "array" + } + }, + "type": "object" + }, + "RemarketingList": { + "description": "Contains properties of a remarketing list. Remarketing enables you to create lists of users who have performed specific actions on a site, then target ads to members of those lists. This resource can be used to manage remarketing lists that are owned by your advertisers. To see all remarketing lists that are visible to your advertisers, including those that are shared to your advertiser or account, use the TargetableRemarketingLists resource.", + "id": "RemarketingList", + "properties": { + "accountId": { + "description": "Account ID of this remarketing list. This is a read-only, auto-generated field that is only returned in GET requests.", + "format": "int64", + "type": "string" + }, + "active": { + "description": "Whether this remarketing list is active.", + "type": "boolean" + }, + "advertiserId": { + "description": "Dimension value for the advertiser ID that owns this remarketing list. This is a required field.", + "format": "int64", + "type": "string" + }, + "advertiserIdDimensionValue": { + "$ref": "DimensionValue", + "description": "Dimension value for the ID of the advertiser. This is a read-only, auto-generated field." + }, + "description": { + "description": "Remarketing list description.", + "type": "string" + }, + "id": { + "description": "Remarketing list ID. This is a read-only, auto-generated field.", + "format": "int64", + "type": "string" + }, + "kind": { + "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#remarketingList\".", + "type": "string" + }, + "lifeSpan": { + "description": "Number of days that a user should remain in the remarketing list without an impression. Acceptable values are 1 to 540, inclusive.", + "format": "int64", + "type": "string" + }, + "listPopulationRule": { + "$ref": "ListPopulationRule", + "description": "Rule used to populate the remarketing list with users." + }, + "listSize": { + "description": "Number of users currently in the list. This is a read-only field.", + "format": "int64", + "type": "string" + }, + "listSource": { + "description": "Product from which this remarketing list was originated.", + "enum": [ + "REMARKETING_LIST_SOURCE_OTHER", + "REMARKETING_LIST_SOURCE_ADX", + "REMARKETING_LIST_SOURCE_DFP", + "REMARKETING_LIST_SOURCE_XFP", + "REMARKETING_LIST_SOURCE_DFA", + "REMARKETING_LIST_SOURCE_GA", + "REMARKETING_LIST_SOURCE_YOUTUBE", + "REMARKETING_LIST_SOURCE_DBM", + "REMARKETING_LIST_SOURCE_GPLUS", + "REMARKETING_LIST_SOURCE_DMP", + "REMARKETING_LIST_SOURCE_PLAY_STORE" + ], + "enumDescriptions": [ + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "type": "string" + }, + "name": { + "description": "Name of the remarketing list. This is a required field. Must be no greater than 128 characters long.", + "type": "string" + }, + "subaccountId": { + "description": "Subaccount ID of this remarketing list. This is a read-only, auto-generated field that is only returned in GET requests.", + "format": "int64", + "type": "string" + } + }, + "type": "object" + }, + "RemarketingListShare": { + "description": "Contains properties of a remarketing list's sharing information. Sharing allows other accounts or advertisers to target to your remarketing lists. This resource can be used to manage remarketing list sharing to other accounts and advertisers.", + "id": "RemarketingListShare", + "properties": { + "kind": { + "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#remarketingListShare\".", + "type": "string" + }, + "remarketingListId": { + "description": "Remarketing list ID. This is a read-only, auto-generated field.", + "format": "int64", + "type": "string" + }, + "sharedAccountIds": { + "description": "Accounts that the remarketing list is shared with.", + "items": { + "format": "int64", + "type": "string" + }, + "type": "array" + }, + "sharedAdvertiserIds": { + "description": "Advertisers that the remarketing list is shared with.", + "items": { + "format": "int64", + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "RemarketingListsListResponse": { + "description": "Remarketing list response", + "id": "RemarketingListsListResponse", + "properties": { + "kind": { + "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#remarketingListsListResponse\".", + "type": "string" + }, + "nextPageToken": { + "description": "Pagination token to be used for the next list operation.", + "type": "string" + }, + "remarketingLists": { + "description": "Remarketing list collection.", + "items": { + "$ref": "RemarketingList" + }, + "type": "array" + } + }, + "type": "object" + }, + "Report": { + "description": "Represents a Report resource.", + "id": "Report", + "properties": { + "accountId": { + "annotations": { + "required": [ + "dfareporting.reports.update" + ] + }, + "description": "The account ID to which this report belongs.", + "format": "int64", + "type": "string" + }, + "criteria": { + "description": "The report criteria for a report of type \"STANDARD\".", + "properties": { + "activities": { + "$ref": "Activities", + "description": "Activity group." + }, + "customRichMediaEvents": { + "$ref": "CustomRichMediaEvents", + "description": "Custom Rich Media Events group." + }, + "dateRange": { + "$ref": "DateRange", + "description": "The date range for which this report should be run." + }, + "dimensionFilters": { + "description": "The list of filters on which dimensions are filtered. Filters for different dimensions are ANDed, filters for the same dimension are grouped together and ORed.", + "items": { + "$ref": "DimensionValue" + }, + "type": "array" + }, + "dimensions": { + "description": "The list of standard dimensions the report should include.", + "items": { + "$ref": "SortedDimension" + }, + "type": "array" + }, + "metricNames": { + "description": "The list of names of metrics the report should include.", + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "crossDimensionReachCriteria": { + "description": "The report criteria for a report of type \"CROSS_DIMENSION_REACH\".", + "properties": { + "breakdown": { + "description": "The list of dimensions the report should include.", + "items": { + "$ref": "SortedDimension" + }, + "type": "array" + }, + "dateRange": { + "$ref": "DateRange", + "description": "The date range this report should be run for." + }, + "dimension": { + "description": "The dimension option.", + "enum": [ + "ADVERTISER", + "CAMPAIGN", + "SITE_BY_ADVERTISER", + "SITE_BY_CAMPAIGN" + ], + "enumDescriptions": [ + "", + "", + "", + "" + ], + "type": "string" + }, + "dimensionFilters": { + "description": "The list of filters on which dimensions are filtered.", + "items": { + "$ref": "DimensionValue" + }, + "type": "array" + }, + "metricNames": { + "description": "The list of names of metrics the report should include.", + "items": { + "type": "string" + }, + "type": "array" + }, + "overlapMetricNames": { + "description": "The list of names of overlap metrics the report should include.", + "items": { + "type": "string" + }, + "type": "array" + }, + "pivoted": { + "description": "Whether the report is pivoted or not. Defaults to true.", + "type": "boolean" + } + }, + "type": "object" + }, + "delivery": { + "description": "The report's email delivery settings.", + "properties": { + "emailOwner": { + "description": "Whether the report should be emailed to the report owner.", + "type": "boolean" + }, + "emailOwnerDeliveryType": { + "description": "The type of delivery for the owner to receive, if enabled.", + "enum": [ + "LINK", + "ATTACHMENT" + ], + "enumDescriptions": [ + "", + "" + ], + "type": "string" + }, + "message": { + "description": "The message to be sent with each email.", + "type": "string" + }, + "recipients": { + "description": "The list of recipients to which to email the report.", + "items": { + "$ref": "Recipient" + }, + "type": "array" + } + }, + "type": "object" + }, + "etag": { + "description": "The eTag of this response for caching purposes.", + "type": "string" + }, + "fileName": { + "description": "The filename used when generating report files for this report.", + "type": "string" + }, + "floodlightCriteria": { + "description": "The report criteria for a report of type \"FLOODLIGHT\".", + "properties": { + "customRichMediaEvents": { + "description": "The list of custom rich media events to include.", + "items": { + "$ref": "DimensionValue" + }, + "type": "array" + }, + "dateRange": { + "$ref": "DateRange", + "description": "The date range this report should be run for." + }, + "dimensionFilters": { + "description": "The list of filters on which dimensions are filtered. Filters for different dimensions are ANDed, filters for the same dimension are grouped together and ORed.", + "items": { + "$ref": "DimensionValue" + }, + "type": "array" + }, + "dimensions": { + "description": "The list of dimensions the report should include.", + "items": { + "$ref": "SortedDimension" + }, + "type": "array" + }, + "floodlightConfigId": { + "$ref": "DimensionValue", + "description": "The floodlight ID for which to show data in this report. All advertisers associated with that ID will automatically be added. The dimension of the value needs to be 'dfa:floodlightConfigId'." + }, + "metricNames": { + "description": "The list of names of metrics the report should include.", + "items": { + "type": "string" + }, + "type": "array" + }, + "reportProperties": { + "description": "The properties of the report.", + "properties": { + "includeAttributedIPConversions": { + "description": "Include conversions that have no cookie, but do have an exposure path.", + "type": "boolean" + }, + "includeUnattributedCookieConversions": { + "description": "Include conversions of users with a DoubleClick cookie but without an exposure. That means the user did not click or see an ad from the advertiser within the Floodlight group, or that the interaction happened outside the lookback window.", + "type": "boolean" + }, + "includeUnattributedIPConversions": { + "description": "Include conversions that have no associated cookies and no exposures. It\u2019s therefore impossible to know how the user was exposed to your ads during the lookback window prior to a conversion.", + "type": "boolean" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "format": { + "description": "The output format of the report. If not specified, default format is \"CSV\". Note that the actual format in the completed report file might differ if for instance the report's size exceeds the format's capabilities. \"CSV\" will then be the fallback format.", + "enum": [ + "CSV", + "EXCEL" + ], + "enumDescriptions": [ + "", + "" + ], + "type": "string" + }, + "id": { + "annotations": { + "required": [ + "dfareporting.reports.update" + ] + }, + "description": "The unique ID identifying this report resource.", + "format": "int64", + "type": "string" + }, + "kind": { + "description": "The kind of resource this is, in this case dfareporting#report.", + "type": "string" + }, + "lastModifiedTime": { + "annotations": { + "required": [ + "dfareporting.reports.update" + ] + }, + "description": "The timestamp (in milliseconds since epoch) of when this report was last modified.", + "format": "uint64", + "type": "string" + }, + "name": { + "annotations": { + "required": [ + "dfareporting.reports.insert", + "dfareporting.reports.update" + ] + }, + "description": "The name of the report.", + "type": "string" + }, + "ownerProfileId": { + "annotations": { + "required": [ + "dfareporting.reports.update" + ] + }, + "description": "The user profile id of the owner of this report.", + "format": "int64", + "type": "string" + }, + "pathAttributionCriteria": { + "description": "The report criteria for a report of type \"PATH_ATTRIBUTION\".", + "properties": { + "activityFilters": { + "description": "The list of 'dfa:activity' values to filter on.", + "items": { + "$ref": "DimensionValue" + }, + "type": "array" + }, + "customChannelGrouping": { + "$ref": "ChannelGrouping", + "description": "Channel Grouping." + }, + "dateRange": { + "$ref": "DateRange", + "description": "The date range this report should be run for." + }, + "dimensions": { + "description": "The list of dimensions the report should include.", + "items": { + "$ref": "SortedDimension" + }, + "type": "array" + }, + "floodlightConfigId": { + "$ref": "DimensionValue", + "description": "The floodlight ID for which to show data in this report. All advertisers associated with that ID will automatically be added. The dimension of the value needs to be 'dfa:floodlightConfigId'." + }, + "metricNames": { + "description": "The list of names of metrics the report should include.", + "items": { + "type": "string" + }, + "type": "array" + }, + "pathFilters": { + "description": "Path Filters.", + "items": { + "$ref": "PathFilter" + }, + "type": "array" + } + }, + "type": "object" + }, + "pathCriteria": { + "description": "The report criteria for a report of type \"PATH\".", + "properties": { + "activityFilters": { + "description": "The list of 'dfa:activity' values to filter on.", + "items": { + "$ref": "DimensionValue" + }, + "type": "array" + }, + "customChannelGrouping": { + "$ref": "ChannelGrouping", + "description": "Channel Grouping." + }, + "dateRange": { + "$ref": "DateRange", + "description": "The date range this report should be run for." + }, + "dimensions": { + "description": "The list of dimensions the report should include.", + "items": { + "$ref": "SortedDimension" + }, + "type": "array" + }, + "floodlightConfigId": { + "$ref": "DimensionValue", + "description": "The floodlight ID for which to show data in this report. All advertisers associated with that ID will automatically be added. The dimension of the value needs to be 'dfa:floodlightConfigId'." + }, + "metricNames": { + "description": "The list of names of metrics the report should include.", + "items": { + "type": "string" + }, + "type": "array" + }, + "pathFilters": { + "description": "Path Filters.", + "items": { + "$ref": "PathFilter" + }, + "type": "array" + } + }, + "type": "object" + }, + "pathToConversionCriteria": { + "description": "The report criteria for a report of type \"PATH_TO_CONVERSION\".", + "properties": { + "activityFilters": { + "description": "The list of 'dfa:activity' values to filter on.", + "items": { + "$ref": "DimensionValue" + }, + "type": "array" + }, + "conversionDimensions": { + "description": "The list of conversion dimensions the report should include.", + "items": { + "$ref": "SortedDimension" + }, + "type": "array" + }, + "customFloodlightVariables": { + "description": "The list of custom floodlight variables the report should include.", + "items": { + "$ref": "SortedDimension" + }, + "type": "array" + }, + "customRichMediaEvents": { + "description": "The list of custom rich media events to include.", + "items": { + "$ref": "DimensionValue" + }, + "type": "array" + }, + "dateRange": { + "$ref": "DateRange", + "description": "The date range this report should be run for." + }, + "floodlightConfigId": { + "$ref": "DimensionValue", + "description": "The floodlight ID for which to show data in this report. All advertisers associated with that ID will automatically be added. The dimension of the value needs to be 'dfa:floodlightConfigId'." + }, + "metricNames": { + "description": "The list of names of metrics the report should include.", + "items": { + "type": "string" + }, + "type": "array" + }, + "perInteractionDimensions": { + "description": "The list of per interaction dimensions the report should include.", + "items": { + "$ref": "SortedDimension" + }, + "type": "array" + }, + "reportProperties": { + "description": "The properties of the report.", + "properties": { + "clicksLookbackWindow": { + "description": "CM360 checks to see if a click interaction occurred within the specified period of time before a conversion. By default the value is pulled from Floodlight or you can manually enter a custom value. Valid values: 1-90.", + "format": "int32", + "type": "integer" + }, + "impressionsLookbackWindow": { + "description": "CM360 checks to see if an impression interaction occurred within the specified period of time before a conversion. By default the value is pulled from Floodlight or you can manually enter a custom value. Valid values: 1-90.", + "format": "int32", + "type": "integer" + }, + "includeAttributedIPConversions": { + "description": "Deprecated: has no effect.", + "type": "boolean" + }, + "includeUnattributedCookieConversions": { + "description": "Include conversions of users with a DoubleClick cookie but without an exposure. That means the user did not click or see an ad from the advertiser within the Floodlight group, or that the interaction happened outside the lookback window.", + "type": "boolean" + }, + "includeUnattributedIPConversions": { + "description": "Include conversions that have no associated cookies and no exposures. It\u2019s therefore impossible to know how the user was exposed to your ads during the lookback window prior to a conversion.", + "type": "boolean" + }, + "maximumClickInteractions": { + "description": "The maximum number of click interactions to include in the report. Advertisers currently paying for E2C reports get up to 200 (100 clicks, 100 impressions). If another advertiser in your network is paying for E2C, you can have up to 5 total exposures per report.", + "format": "int32", + "type": "integer" + }, + "maximumImpressionInteractions": { + "description": "The maximum number of click interactions to include in the report. Advertisers currently paying for E2C reports get up to 200 (100 clicks, 100 impressions). If another advertiser in your network is paying for E2C, you can have up to 5 total exposures per report.", + "format": "int32", + "type": "integer" + }, + "maximumInteractionGap": { + "description": "The maximum amount of time that can take place between interactions (clicks or impressions) by the same user. Valid values: 1-90.", + "format": "int32", + "type": "integer" + }, + "pivotOnInteractionPath": { + "description": "Enable pivoting on interaction path.", + "type": "boolean" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "reachCriteria": { + "description": "The report criteria for a report of type \"REACH\".", + "properties": { + "activities": { + "$ref": "Activities", + "description": "Activity group." + }, + "customRichMediaEvents": { + "$ref": "CustomRichMediaEvents", + "description": "Custom Rich Media Events group." + }, + "dateRange": { + "$ref": "DateRange", + "description": "The date range this report should be run for." + }, + "dimensionFilters": { + "description": "The list of filters on which dimensions are filtered. Filters for different dimensions are ANDed, filters for the same dimension are grouped together and ORed.", + "items": { + "$ref": "DimensionValue" + }, + "type": "array" + }, + "dimensions": { + "description": "The list of dimensions the report should include.", + "items": { + "$ref": "SortedDimension" + }, + "type": "array" + }, + "enableAllDimensionCombinations": { + "description": "Whether to enable all reach dimension combinations in the report. Defaults to false. If enabled, the date range of the report should be within the last 42 days.", + "type": "boolean" + }, + "metricNames": { + "description": "The list of names of metrics the report should include.", + "items": { + "type": "string" + }, + "type": "array" + }, + "reachByFrequencyMetricNames": { + "description": "The list of names of Reach By Frequency metrics the report should include.", + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "schedule": { + "description": "The report's schedule. Can only be set if the report's 'dateRange' is a relative date range and the relative date range is not \"TODAY\".", + "properties": { + "active": { + "annotations": { + "required": [ + "dfareporting.reports.insert", + "dfareporting.reports.update" + ] + }, + "description": "Whether the schedule is active or not. Must be set to either true or false.", + "type": "boolean" + }, + "every": { + "description": "Defines every how many days, weeks or months the report should be run. Needs to be set when \"repeats\" is either \"DAILY\", \"WEEKLY\" or \"MONTHLY\".", + "format": "int32", + "type": "integer" + }, + "expirationDate": { + "format": "date", + "type": "string" + }, + "repeats": { + "annotations": { + "required": [ + "dfareporting.reports.insert", + "dfareporting.reports.update" + ] + }, + "description": "The interval for which the report is repeated. Note: - \"DAILY\" also requires field \"every\" to be set. - \"WEEKLY\" also requires fields \"every\" and \"repeatsOnWeekDays\" to be set. - \"MONTHLY\" also requires fields \"every\" and \"runsOnDayOfMonth\" to be set. ", + "type": "string" + }, + "repeatsOnWeekDays": { + "description": "List of week days \"WEEKLY\" on which scheduled reports should run.", + "items": { + "enum": [ + "SUNDAY", + "MONDAY", + "TUESDAY", + "WEDNESDAY", + "THURSDAY", + "FRIDAY", + "SATURDAY" + ], + "enumDescriptions": [ + "", + "", + "", + "", + "", + "", + "" + ], + "type": "string" + }, + "type": "array" + }, + "runsOnDayOfMonth": { + "description": "Enum to define for \"MONTHLY\" scheduled reports whether reports should be repeated on the same day of the month as \"startDate\" or the same day of the week of the month. Example: If 'startDate' is Monday, April 2nd 2012 (2012-04-02), \"DAY_OF_MONTH\" would run subsequent reports on the 2nd of every Month, and \"WEEK_OF_MONTH\" would run subsequent reports on the first Monday of the month.", + "enum": [ + "DAY_OF_MONTH", + "WEEK_OF_MONTH" + ], + "enumDescriptions": [ + "", + "" + ], + "type": "string" + }, + "startDate": { + "format": "date", + "type": "string" + } + }, + "type": "object" + }, + "subAccountId": { + "description": "The subaccount ID to which this report belongs if applicable.", + "format": "int64", + "type": "string" + }, + "type": { + "annotations": { + "required": [ + "dfareporting.reports.insert", + "dfareporting.reports.update" + ] + }, + "description": "The type of the report.", + "enum": [ + "STANDARD", + "REACH", + "PATH_TO_CONVERSION", + "CROSS_DIMENSION_REACH", + "FLOODLIGHT", + "PATH", + "PATH_ATTRIBUTION" + ], + "enumDescriptions": [ + "", + "", + "", + "", + "", + "", + "" + ], + "type": "string" + } + }, + "type": "object" + }, + "ReportCompatibleFields": { + "description": "Represents fields that are compatible to be selected for a report of type \"STANDARD\".", + "id": "ReportCompatibleFields", + "properties": { + "dimensionFilters": { + "description": "Dimensions which are compatible to be selected in the \"dimensionFilters\" section of the report.", + "items": { + "$ref": "Dimension" + }, + "type": "array" + }, + "dimensions": { + "description": "Dimensions which are compatible to be selected in the \"dimensions\" section of the report.", + "items": { + "$ref": "Dimension" + }, + "type": "array" + }, + "kind": { + "description": "The kind of resource this is, in this case dfareporting#reportCompatibleFields.", + "type": "string" + }, + "metrics": { + "description": "Metrics which are compatible to be selected in the \"metricNames\" section of the report.", + "items": { + "$ref": "Metric" + }, + "type": "array" + }, + "pivotedActivityMetrics": { + "description": "Metrics which are compatible to be selected as activity metrics to pivot on in the \"activities\" section of the report.", + "items": { + "$ref": "Metric" + }, + "type": "array" + } + }, + "type": "object" + }, + "ReportList": { + "description": "Represents the list of reports.", + "id": "ReportList", + "properties": { + "etag": { + "description": "The eTag of this response for caching purposes.", + "type": "string" + }, + "items": { + "description": "The reports returned in this response.", + "items": { + "$ref": "Report" + }, + "type": "array" + }, + "kind": { + "description": "The kind of list this is, in this case dfareporting#reportList.", + "type": "string" + }, + "nextPageToken": { + "description": "Continuation token used to page through reports. To retrieve the next page of results, set the next request's \"pageToken\" to the value of this field. The page token is only valid for a limited amount of time and should not be persisted.", + "type": "string" + } + }, + "type": "object" + }, + "ReportsConfiguration": { + "description": "Reporting Configuration", + "id": "ReportsConfiguration", + "properties": { + "exposureToConversionEnabled": { + "description": "Whether the exposure to conversion report is enabled. This report shows detailed pathway information on up to 10 of the most recent ad exposures seen by a user before converting.", + "type": "boolean" + }, + "lookbackConfiguration": { + "$ref": "LookbackConfiguration", + "description": "Default lookback windows for new advertisers in this account." + }, + "reportGenerationTimeZoneId": { + "description": "Report generation time zone ID of this account. This is a required field that can only be changed by a superuser. Acceptable values are: - \"1\" for \"America/New_York\" - \"2\" for \"Europe/London\" - \"3\" for \"Europe/Paris\" - \"4\" for \"Africa/Johannesburg\" - \"5\" for \"Asia/Jerusalem\" - \"6\" for \"Asia/Shanghai\" - \"7\" for \"Asia/Hong_Kong\" - \"8\" for \"Asia/Tokyo\" - \"9\" for \"Australia/Sydney\" - \"10\" for \"Asia/Dubai\" - \"11\" for \"America/Los_Angeles\" - \"12\" for \"Pacific/Auckland\" - \"13\" for \"America/Sao_Paulo\" - \"16\" for \"America/Asuncion\" - \"17\" for \"America/Chicago\" - \"18\" for \"America/Denver\" - \"19\" for \"America/St_Johns\" - \"20\" for \"Asia/Dhaka\" - \"21\" for \"Asia/Jakarta\" - \"22\" for \"Asia/Kabul\" - \"23\" for \"Asia/Karachi\" - \"24\" for \"Asia/Calcutta\" - \"25\" for \"Asia/Pyongyang\" - \"26\" for \"Asia/Rangoon\" - \"27\" for \"Atlantic/Cape_Verde\" - \"28\" for \"Atlantic/South_Georgia\" - \"29\" for \"Australia/Adelaide\" - \"30\" for \"Australia/Lord_Howe\" - \"31\" for \"Europe/Moscow\" - \"32\" for \"Pacific/Kiritimati\" - \"35\" for \"Pacific/Norfolk\" - \"36\" for \"Pacific/Tongatapu\" ", + "format": "int64", + "type": "string" + } + }, + "type": "object" + }, + "RichMediaExitOverride": { + "description": "Rich Media Exit Override.", + "id": "RichMediaExitOverride", + "properties": { + "clickThroughUrl": { + "$ref": "ClickThroughUrl", + "description": "Click-through URL of this rich media exit override. Applicable if the enabled field is set to true." + }, + "enabled": { + "description": "Whether to use the clickThroughUrl. If false, the creative-level exit will be used.", + "type": "boolean" + }, + "exitId": { + "description": "ID for the override to refer to a specific exit in the creative.", + "format": "int64", + "type": "string" + } + }, + "type": "object" + }, + "Rule": { + "description": "A rule associates an asset with a targeting template for asset-level targeting. Applicable to INSTREAM_VIDEO creatives.", + "id": "Rule", + "properties": { + "assetId": { + "description": "A creativeAssets[].id. This should refer to one of the parent assets in this creative. This is a required field.", + "format": "int64", + "type": "string" + }, + "name": { + "description": "A user-friendly name for this rule. This is a required field.", + "type": "string" + }, + "targetingTemplateId": { + "description": "A targeting template ID. The targeting from the targeting template will be used to determine whether this asset should be served. This is a required field.", + "format": "int64", + "type": "string" + } + }, + "type": "object" + }, + "Site": { + "description": "Contains properties of a site.", + "id": "Site", + "properties": { + "accountId": { + "description": "Account ID of this site. This is a read-only field that can be left blank.", + "format": "int64", + "type": "string" + }, + "approved": { + "description": "Whether this site is approved.", + "type": "boolean" + }, + "directorySiteId": { + "description": "Directory site associated with this site. This is a required field that is read-only after insertion.", + "format": "int64", + "type": "string" + }, + "directorySiteIdDimensionValue": { + "$ref": "DimensionValue", + "description": "Dimension value for the ID of the directory site. This is a read-only, auto-generated field." + }, + "id": { + "description": "ID of this site. This is a read-only, auto-generated field.", + "format": "int64", + "type": "string" + }, + "idDimensionValue": { + "$ref": "DimensionValue", + "description": "Dimension value for the ID of this site. This is a read-only, auto-generated field." + }, + "keyName": { + "description": "Key name of this site. This is a read-only, auto-generated field.", + "type": "string" + }, + "kind": { + "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#site\".", + "type": "string" + }, + "name": { + "description": "Name of this site.This is a required field. Must be less than 128 characters long. If this site is under a subaccount, the name must be unique among sites of the same subaccount. Otherwise, this site is a top-level site, and the name must be unique among top-level sites of the same account.", + "type": "string" + }, + "siteContacts": { + "description": "Site contacts.", + "items": { + "$ref": "SiteContact" + }, + "type": "array" + }, + "siteSettings": { + "$ref": "SiteSettings", + "description": "Site-wide settings." + }, + "subaccountId": { + "description": "Subaccount ID of this site. This is a read-only field that can be left blank.", + "format": "int64", + "type": "string" + }, + "videoSettings": { + "$ref": "SiteVideoSettings", + "description": "Default video settings for new placements created under this site. This value will be used to populate the placements.videoSettings field, when no value is specified for the new placement." + } + }, + "type": "object" + }, + "SiteCompanionSetting": { + "description": "Companion Settings", + "id": "SiteCompanionSetting", + "properties": { + "companionsDisabled": { + "description": "Whether companions are disabled for this site template.", + "type": "boolean" + }, + "enabledSizes": { + "description": "Allowlist of companion sizes to be served via this site template. Set this list to null or empty to serve all companion sizes.", + "items": { + "$ref": "Size" + }, + "type": "array" + }, + "imageOnly": { + "description": "Whether to serve only static images as companions.", + "type": "boolean" + }, + "kind": { + "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#siteCompanionSetting\".", + "type": "string" + } + }, + "type": "object" + }, + "SiteContact": { + "description": "Site Contact", + "id": "SiteContact", + "properties": { + "address": { + "description": "Address of this site contact.", + "type": "string" + }, + "contactType": { + "description": "Site contact type.", + "enum": [ + "SALES_PERSON", + "TRAFFICKER" + ], + "enumDescriptions": [ + "", + "" + ], + "type": "string" + }, + "email": { + "description": "Email address of this site contact. This is a required field.", + "type": "string" + }, + "firstName": { + "description": "First name of this site contact.", + "type": "string" + }, + "id": { + "description": "ID of this site contact. This is a read-only, auto-generated field.", + "format": "int64", + "type": "string" + }, + "lastName": { + "description": "Last name of this site contact.", + "type": "string" + }, + "phone": { + "description": "Primary phone number of this site contact.", + "type": "string" + }, + "title": { + "description": "Title or designation of this site contact.", + "type": "string" + } + }, + "type": "object" + }, + "SiteSettings": { + "description": "Site Settings", + "id": "SiteSettings", + "properties": { + "activeViewOptOut": { + "description": "Whether active view creatives are disabled for this site.", + "type": "boolean" + }, + "adBlockingOptOut": { + "description": "Whether this site opts out of ad blocking. When true, ad blocking is disabled for all placements under the site, regardless of the individual placement settings. When false, the campaign and placement settings take effect.", + "type": "boolean" + }, + "disableNewCookie": { + "description": "Whether new cookies are disabled for this site.", + "type": "boolean" + }, + "tagSetting": { + "$ref": "TagSetting", + "description": "Configuration settings for dynamic and image floodlight tags." + }, + "videoActiveViewOptOutTemplate": { + "description": "Whether Verification and ActiveView for in-stream video creatives are disabled by default for new placements created under this site. This value will be used to populate the placement.videoActiveViewOptOut field, when no value is specified for the new placement.", + "type": "boolean" + }, + "vpaidAdapterChoiceTemplate": { + "description": "Default VPAID adapter setting for new placements created under this site. This value will be used to populate the placements.vpaidAdapterChoice field, when no value is specified for the new placement. Controls which VPAID format the measurement adapter will use for in-stream video creatives assigned to the placement. The publisher's specifications will typically determine this setting. For VPAID creatives, the adapter format will match the VPAID format (HTML5 VPAID creatives use the HTML5 adapter). *Note:* Flash is no longer supported. This field now defaults to HTML5 when the following values are provided: FLASH, BOTH.", + "enum": [ + "DEFAULT", + "FLASH", + "HTML5", + "BOTH" + ], + "enumDescriptions": [ + "", + "", + "", + "" + ], + "type": "string" + } + }, + "type": "object" + }, + "SiteSkippableSetting": { + "description": "Skippable Settings", + "id": "SiteSkippableSetting", + "properties": { + "kind": { + "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#siteSkippableSetting\".", + "type": "string" + }, + "progressOffset": { + "$ref": "VideoOffset", + "description": "Amount of time to play videos served to this site template before counting a view. Applicable when skippable is true." + }, + "skipOffset": { + "$ref": "VideoOffset", + "description": "Amount of time to play videos served to this site before the skip button should appear. Applicable when skippable is true." + }, + "skippable": { + "description": "Whether the user can skip creatives served to this site. This will act as default for new placements created under this site.", + "type": "boolean" + } + }, + "type": "object" + }, + "SiteTranscodeSetting": { + "description": "Transcode Settings", + "id": "SiteTranscodeSetting", + "properties": { + "enabledVideoFormats": { + "description": "Allowlist of video formats to be served to this site template. Set this list to null or empty to serve all video formats.", + "items": { + "format": "int32", + "type": "integer" + }, + "type": "array" + }, + "kind": { + "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#siteTranscodeSetting\".", + "type": "string" + } + }, + "type": "object" + }, + "SiteVideoSettings": { + "description": "Video Settings", + "id": "SiteVideoSettings", + "properties": { + "companionSettings": { + "$ref": "SiteCompanionSetting", + "description": "Settings for the companion creatives of video creatives served to this site." + }, + "kind": { + "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#siteVideoSettings\".", + "type": "string" + }, + "obaEnabled": { + "description": "Whether OBA icons are enabled for this placement.", + "type": "boolean" + }, + "obaSettings": { + "$ref": "ObaIcon", + "description": "Settings for the OBA icon of video creatives served to this site. This will act as default for new placements created under this site." + }, + "orientation": { + "description": "Orientation of a site template used for video. This will act as default for new placements created under this site.", + "enum": [ + "ANY", + "LANDSCAPE", + "PORTRAIT" + ], + "enumDescriptions": [ + "", + "", + "" + ], + "type": "string" + }, + "skippableSettings": { + "$ref": "SiteSkippableSetting", + "description": "Settings for the skippability of video creatives served to this site. This will act as default for new placements created under this site." + }, + "transcodeSettings": { + "$ref": "SiteTranscodeSetting", + "description": "Settings for the transcodes of video creatives served to this site. This will act as default for new placements created under this site." + } + }, + "type": "object" + }, + "SitesListResponse": { + "description": "Site List Response", + "id": "SitesListResponse", + "properties": { + "kind": { + "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#sitesListResponse\".", + "type": "string" + }, + "nextPageToken": { + "description": "Pagination token to be used for the next list operation.", + "type": "string" + }, + "sites": { + "description": "Site collection.", + "items": { + "$ref": "Site" + }, + "type": "array" + } + }, + "type": "object" + }, + "Size": { + "description": "Represents the dimensions of ads, placements, creatives, or creative assets.", + "id": "Size", + "properties": { + "height": { + "description": "Height of this size. Acceptable values are 0 to 32767, inclusive.", + "format": "int32", + "type": "integer" + }, + "iab": { + "description": "IAB standard size. This is a read-only, auto-generated field.", + "type": "boolean" + }, + "id": { + "description": "ID of this size. This is a read-only, auto-generated field.", + "format": "int64", + "type": "string" + }, + "kind": { + "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#size\".", + "type": "string" + }, + "width": { + "description": "Width of this size. Acceptable values are 0 to 32767, inclusive.", + "format": "int32", + "type": "integer" + } + }, + "type": "object" + }, + "SizesListResponse": { + "description": "Size List Response", + "id": "SizesListResponse", + "properties": { + "kind": { + "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#sizesListResponse\".", + "type": "string" + }, + "sizes": { + "description": "Size collection.", + "items": { + "$ref": "Size" + }, + "type": "array" + } + }, + "type": "object" + }, + "SkippableSetting": { + "description": "Skippable Settings", + "id": "SkippableSetting", + "properties": { + "kind": { + "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#skippableSetting\".", + "type": "string" + }, + "progressOffset": { + "$ref": "VideoOffset", + "description": "Amount of time to play videos served to this placement before counting a view. Applicable when skippable is true." + }, + "skipOffset": { + "$ref": "VideoOffset", + "description": "Amount of time to play videos served to this placement before the skip button should appear. Applicable when skippable is true." + }, + "skippable": { + "description": "Whether the user can skip creatives served to this placement.", + "type": "boolean" + } + }, + "type": "object" + }, + "SortedDimension": { + "description": "Represents a sorted dimension.", + "id": "SortedDimension", + "properties": { + "kind": { + "description": "The kind of resource this is, in this case dfareporting#sortedDimension.", + "type": "string" + }, + "name": { + "description": "The name of the dimension.", + "type": "string" + }, + "sortOrder": { + "description": "An optional sort order for the dimension column.", + "enum": [ + "ASCENDING", + "DESCENDING" + ], + "enumDescriptions": [ + "", + "" + ], + "type": "string" + } + }, + "type": "object" + }, + "Subaccount": { + "description": "Contains properties of a Campaign Manager subaccount.", + "id": "Subaccount", + "properties": { + "accountId": { + "description": "ID of the account that contains this subaccount. This is a read-only field that can be left blank.", + "format": "int64", + "type": "string" + }, + "availablePermissionIds": { + "description": "IDs of the available user role permissions for this subaccount.", + "items": { + "format": "int64", + "type": "string" + }, + "type": "array" + }, + "id": { + "description": "ID of this subaccount. This is a read-only, auto-generated field.", + "format": "int64", + "type": "string" + }, + "kind": { + "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#subaccount\".", + "type": "string" + }, + "name": { + "description": "Name of this subaccount. This is a required field. Must be less than 128 characters long and be unique among subaccounts of the same account.", + "type": "string" + } + }, + "type": "object" + }, + "SubaccountsListResponse": { + "description": "Subaccount List Response", + "id": "SubaccountsListResponse", + "properties": { + "kind": { + "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#subaccountsListResponse\".", + "type": "string" + }, + "nextPageToken": { + "description": "Pagination token to be used for the next list operation.", + "type": "string" + }, + "subaccounts": { + "description": "Subaccount collection.", + "items": { + "$ref": "Subaccount" + }, + "type": "array" + } + }, + "type": "object" + }, + "TagData": { + "description": "Placement Tag Data", + "id": "TagData", + "properties": { + "adId": { + "description": "Ad associated with this placement tag. Applicable only when format is PLACEMENT_TAG_TRACKING.", + "format": "int64", + "type": "string" + }, + "clickTag": { + "description": "Tag string to record a click.", + "type": "string" + }, + "creativeId": { + "description": "Creative associated with this placement tag. Applicable only when format is PLACEMENT_TAG_TRACKING.", + "format": "int64", + "type": "string" + }, + "format": { + "description": "TagData tag format of this tag.", + "enum": [ + "PLACEMENT_TAG_STANDARD", + "PLACEMENT_TAG_IFRAME_JAVASCRIPT", + "PLACEMENT_TAG_IFRAME_ILAYER", + "PLACEMENT_TAG_INTERNAL_REDIRECT", + "PLACEMENT_TAG_JAVASCRIPT", + "PLACEMENT_TAG_INTERSTITIAL_IFRAME_JAVASCRIPT", + "PLACEMENT_TAG_INTERSTITIAL_INTERNAL_REDIRECT", + "PLACEMENT_TAG_INTERSTITIAL_JAVASCRIPT", + "PLACEMENT_TAG_CLICK_COMMANDS", + "PLACEMENT_TAG_INSTREAM_VIDEO_PREFETCH", + "PLACEMENT_TAG_TRACKING", + "PLACEMENT_TAG_TRACKING_IFRAME", + "PLACEMENT_TAG_TRACKING_JAVASCRIPT", + "PLACEMENT_TAG_INSTREAM_VIDEO_PREFETCH_VAST_3", + "PLACEMENT_TAG_IFRAME_JAVASCRIPT_LEGACY", + "PLACEMENT_TAG_JAVASCRIPT_LEGACY", + "PLACEMENT_TAG_INTERSTITIAL_IFRAME_JAVASCRIPT_LEGACY", + "PLACEMENT_TAG_INTERSTITIAL_JAVASCRIPT_LEGACY", + "PLACEMENT_TAG_INSTREAM_VIDEO_PREFETCH_VAST_4", + "PLACEMENT_TAG_TRACKING_THIRD_PARTY_MEASUREMENT" + ], + "enumDescriptions": [ + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "type": "string" + }, + "impressionTag": { + "description": "Tag string for serving an ad.", + "type": "string" + } + }, + "type": "object" + }, + "TagSetting": { + "description": "Tag Settings", + "id": "TagSetting", + "properties": { + "additionalKeyValues": { + "description": "Additional key-values to be included in tags. Each key-value pair must be of the form key=value, and pairs must be separated by a semicolon (;). Keys and values must not contain commas. For example, id=2;color=red is a valid value for this field.", + "type": "string" + }, + "includeClickThroughUrls": { + "description": "Whether static landing page URLs should be included in the tags. This setting applies only to placements.", + "type": "boolean" + }, + "includeClickTracking": { + "description": "Whether click-tracking string should be included in the tags.", + "type": "boolean" + }, + "keywordOption": { + "description": "Option specifying how keywords are embedded in ad tags. This setting can be used to specify whether keyword placeholders are inserted in placement tags for this site. Publishers can then add keywords to those placeholders.", + "enum": [ + "PLACEHOLDER_WITH_LIST_OF_KEYWORDS", + "IGNORE", + "GENERATE_SEPARATE_TAG_FOR_EACH_KEYWORD" + ], + "enumDescriptions": [ + "", + "", + "" + ], + "type": "string" + } + }, + "type": "object" + }, + "TagSettings": { + "description": "Dynamic and Image Tag Settings.", + "id": "TagSettings", + "properties": { + "dynamicTagEnabled": { + "description": "Whether dynamic floodlight tags are enabled.", + "type": "boolean" + }, + "imageTagEnabled": { + "description": "Whether image tags are enabled.", + "type": "boolean" + } + }, + "type": "object" + }, + "TargetWindow": { + "description": "Target Window.", + "id": "TargetWindow", + "properties": { + "customHtml": { + "description": "User-entered value.", + "type": "string" + }, + "targetWindowOption": { + "description": "Type of browser window for which the backup image of the flash creative can be displayed.", + "enum": [ + "NEW_WINDOW", + "CURRENT_WINDOW", + "CUSTOM" + ], + "enumDescriptions": [ + "", + "", + "" + ], + "type": "string" + } + }, + "type": "object" + }, + "TargetableRemarketingList": { + "description": "Contains properties of a targetable remarketing list. Remarketing enables you to create lists of users who have performed specific actions on a site, then target ads to members of those lists. This resource is a read-only view of a remarketing list to be used to faciliate targeting ads to specific lists. Remarketing lists that are owned by your advertisers and those that are shared to your advertisers or account are accessible via this resource. To manage remarketing lists that are owned by your advertisers, use the RemarketingLists resource.", + "id": "TargetableRemarketingList", + "properties": { + "accountId": { + "description": "Account ID of this remarketing list. This is a read-only, auto-generated field that is only returned in GET requests.", + "format": "int64", + "type": "string" + }, + "active": { + "description": "Whether this targetable remarketing list is active.", + "type": "boolean" + }, + "advertiserId": { + "description": "Dimension value for the advertiser ID that owns this targetable remarketing list.", + "format": "int64", + "type": "string" + }, + "advertiserIdDimensionValue": { + "$ref": "DimensionValue", + "description": "Dimension value for the ID of the advertiser." + }, + "description": { + "description": "Targetable remarketing list description.", + "type": "string" + }, + "id": { + "description": "Targetable remarketing list ID.", + "format": "int64", + "type": "string" + }, + "kind": { + "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#targetableRemarketingList\".", + "type": "string" + }, + "lifeSpan": { + "description": "Number of days that a user should remain in the targetable remarketing list without an impression.", + "format": "int64", + "type": "string" + }, + "listSize": { + "description": "Number of users currently in the list. This is a read-only field.", + "format": "int64", + "type": "string" + }, + "listSource": { + "description": "Product from which this targetable remarketing list was originated.", + "enum": [ + "REMARKETING_LIST_SOURCE_OTHER", + "REMARKETING_LIST_SOURCE_ADX", + "REMARKETING_LIST_SOURCE_DFP", + "REMARKETING_LIST_SOURCE_XFP", + "REMARKETING_LIST_SOURCE_DFA", + "REMARKETING_LIST_SOURCE_GA", + "REMARKETING_LIST_SOURCE_YOUTUBE", + "REMARKETING_LIST_SOURCE_DBM", + "REMARKETING_LIST_SOURCE_GPLUS", + "REMARKETING_LIST_SOURCE_DMP", + "REMARKETING_LIST_SOURCE_PLAY_STORE" + ], + "enumDescriptions": [ + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "type": "string" + }, + "name": { + "description": "Name of the targetable remarketing list. Is no greater than 128 characters long.", + "type": "string" + }, + "subaccountId": { + "description": "Subaccount ID of this remarketing list. This is a read-only, auto-generated field that is only returned in GET requests.", + "format": "int64", + "type": "string" + } + }, + "type": "object" + }, + "TargetableRemarketingListsListResponse": { + "description": "Targetable remarketing list response", + "id": "TargetableRemarketingListsListResponse", + "properties": { + "kind": { + "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#targetableRemarketingListsListResponse\".", + "type": "string" + }, + "nextPageToken": { + "description": "Pagination token to be used for the next list operation.", + "type": "string" + }, + "targetableRemarketingLists": { + "description": "Targetable remarketing list collection.", + "items": { + "$ref": "TargetableRemarketingList" + }, + "type": "array" + } + }, + "type": "object" + }, + "TargetingTemplate": { + "description": "Contains properties of a targeting template. A targeting template encapsulates targeting information which can be reused across multiple ads.", + "id": "TargetingTemplate", + "properties": { + "accountId": { + "description": "Account ID of this targeting template. This field, if left unset, will be auto-generated on insert and is read-only after insert.", + "format": "int64", + "type": "string" + }, + "advertiserId": { + "description": "Advertiser ID of this targeting template. This is a required field on insert and is read-only after insert.", + "format": "int64", + "type": "string" + }, + "advertiserIdDimensionValue": { + "$ref": "DimensionValue", + "description": "Dimension value for the ID of the advertiser. This is a read-only, auto-generated field." + }, + "dayPartTargeting": { + "$ref": "DayPartTargeting", + "description": "Time and day targeting criteria." + }, + "geoTargeting": { + "$ref": "GeoTargeting", + "description": "Geographical targeting criteria." + }, + "id": { + "description": "ID of this targeting template. This is a read-only, auto-generated field.", + "format": "int64", + "type": "string" + }, + "keyValueTargetingExpression": { + "$ref": "KeyValueTargetingExpression", + "description": "Key-value targeting criteria." + }, + "kind": { + "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#targetingTemplate\".", + "type": "string" + }, + "languageTargeting": { + "$ref": "LanguageTargeting", + "description": "Language targeting criteria." + }, + "listTargetingExpression": { + "$ref": "ListTargetingExpression", + "description": "Remarketing list targeting criteria." + }, + "name": { + "description": "Name of this targeting template. This field is required. It must be less than 256 characters long and unique within an advertiser.", + "type": "string" + }, + "subaccountId": { + "description": "Subaccount ID of this targeting template. This field, if left unset, will be auto-generated on insert and is read-only after insert.", + "format": "int64", + "type": "string" + }, + "technologyTargeting": { + "$ref": "TechnologyTargeting", + "description": "Technology platform targeting criteria." + } + }, + "type": "object" + }, + "TargetingTemplatesListResponse": { + "description": "Targeting Template List Response", + "id": "TargetingTemplatesListResponse", + "properties": { + "kind": { + "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#targetingTemplatesListResponse\".", + "type": "string" + }, + "nextPageToken": { + "description": "Pagination token to be used for the next list operation.", + "type": "string" + }, + "targetingTemplates": { + "description": "Targeting template collection.", + "items": { + "$ref": "TargetingTemplate" + }, + "type": "array" + } + }, + "type": "object" + }, + "TechnologyTargeting": { + "description": "Technology Targeting.", + "id": "TechnologyTargeting", + "properties": { + "browsers": { + "description": "Browsers that this ad targets. For each browser either set browserVersionId or dartId along with the version numbers. If both are specified, only browserVersionId will be used. The other fields are populated automatically when the ad is inserted or updated.", + "items": { + "$ref": "Browser" + }, + "type": "array" + }, + "connectionTypes": { + "description": "Connection types that this ad targets. For each connection type only id is required. The other fields are populated automatically when the ad is inserted or updated.", + "items": { + "$ref": "ConnectionType" + }, + "type": "array" + }, + "mobileCarriers": { + "description": "Mobile carriers that this ad targets. For each mobile carrier only id is required, and the other fields are populated automatically when the ad is inserted or updated. If targeting a mobile carrier, do not set targeting for any zip codes.", + "items": { + "$ref": "MobileCarrier" + }, + "type": "array" + }, + "operatingSystemVersions": { + "description": "Operating system versions that this ad targets. To target all versions, use operatingSystems. For each operating system version, only id is required. The other fields are populated automatically when the ad is inserted or updated. If targeting an operating system version, do not set targeting for the corresponding operating system in operatingSystems.", + "items": { + "$ref": "OperatingSystemVersion" + }, + "type": "array" + }, + "operatingSystems": { + "description": "Operating systems that this ad targets. To target specific versions, use operatingSystemVersions. For each operating system only dartId is required. The other fields are populated automatically when the ad is inserted or updated. If targeting an operating system, do not set targeting for operating system versions for the same operating system.", + "items": { + "$ref": "OperatingSystem" + }, + "type": "array" + }, + "platformTypes": { + "description": "Platform types that this ad targets. For example, desktop, mobile, or tablet. For each platform type, only id is required, and the other fields are populated automatically when the ad is inserted or updated.", + "items": { + "$ref": "PlatformType" + }, + "type": "array" + } + }, + "type": "object" + }, + "ThirdPartyAuthenticationToken": { + "description": "Third Party Authentication Token", + "id": "ThirdPartyAuthenticationToken", + "properties": { + "name": { + "description": "Name of the third-party authentication token.", + "type": "string" + }, + "value": { + "description": "Value of the third-party authentication token. This is a read-only, auto-generated field.", + "type": "string" + } + }, + "type": "object" + }, + "ThirdPartyTrackingUrl": { + "description": "Third-party Tracking URL.", + "id": "ThirdPartyTrackingUrl", + "properties": { + "thirdPartyUrlType": { + "description": "Third-party URL type for in-stream video and in-stream audio creatives.", + "enum": [ + "IMPRESSION", + "CLICK_TRACKING", + "VIDEO_START", + "VIDEO_FIRST_QUARTILE", + "VIDEO_MIDPOINT", + "VIDEO_THIRD_QUARTILE", + "VIDEO_COMPLETE", + "VIDEO_MUTE", + "VIDEO_PAUSE", + "VIDEO_REWIND", + "VIDEO_FULLSCREEN", + "VIDEO_STOP", + "VIDEO_CUSTOM", + "SURVEY", + "RICH_MEDIA_IMPRESSION", + "RICH_MEDIA_RM_IMPRESSION", + "RICH_MEDIA_BACKUP_IMPRESSION", + "VIDEO_SKIP", + "VIDEO_PROGRESS" + ], + "enumDescriptions": [ + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "type": "string" + }, + "url": { + "description": "URL for the specified third-party URL type.", + "type": "string" + } + }, + "type": "object" + }, + "TranscodeSetting": { + "description": "Transcode Settings", + "id": "TranscodeSetting", + "properties": { + "enabledVideoFormats": { + "description": "Allowlist of video formats to be served to this placement. Set this list to null or empty to serve all video formats.", + "items": { + "format": "int32", + "type": "integer" + }, + "type": "array" + }, + "kind": { + "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#transcodeSetting\".", + "type": "string" + } + }, + "type": "object" + }, + "UniversalAdId": { + "description": "A Universal Ad ID as per the VAST 4.0 spec. Applicable to the following creative types: INSTREAM_AUDIO, INSTREAM_VIDEO and VPAID.", + "id": "UniversalAdId", + "properties": { + "registry": { + "description": "Registry used for the Ad ID value.", + "enum": [ + "OTHER", + "AD_ID_OFFICIAL", + "CLEARCAST", + "DCM" + ], + "enumDescriptions": [ + "", + "", + "", + "" + ], + "type": "string" + }, + "value": { + "description": "ID value for this creative. Only alphanumeric characters and the following symbols are valid: \"_/\\-\". Maximum length is 64 characters. Read only when registry is DCM.", + "type": "string" + } + }, + "type": "object" + }, + "UserDefinedVariableConfiguration": { + "description": "User Defined Variable configuration.", + "id": "UserDefinedVariableConfiguration", + "properties": { + "dataType": { + "description": "Data type for the variable. This is a required field.", + "enum": [ + "STRING", + "NUMBER" + ], + "enumDescriptions": [ + "", + "" + ], + "type": "string" + }, + "reportName": { + "description": "User-friendly name for the variable which will appear in reports. This is a required field, must be less than 64 characters long, and cannot contain the following characters: \"\"<>\".", + "type": "string" + }, + "variableType": { + "description": "Variable name in the tag. This is a required field.", + "enum": [ + "U1", + "U2", + "U3", + "U4", + "U5", + "U6", + "U7", + "U8", + "U9", + "U10", + "U11", + "U12", + "U13", + "U14", + "U15", + "U16", + "U17", + "U18", + "U19", + "U20", + "U21", + "U22", + "U23", + "U24", + "U25", + "U26", + "U27", + "U28", + "U29", + "U30", + "U31", + "U32", + "U33", + "U34", + "U35", + "U36", + "U37", + "U38", + "U39", + "U40", + "U41", + "U42", + "U43", + "U44", + "U45", + "U46", + "U47", + "U48", + "U49", + "U50", + "U51", + "U52", + "U53", + "U54", + "U55", + "U56", + "U57", + "U58", + "U59", + "U60", + "U61", + "U62", + "U63", + "U64", + "U65", + "U66", + "U67", + "U68", + "U69", + "U70", + "U71", + "U72", + "U73", + "U74", + "U75", + "U76", + "U77", + "U78", + "U79", + "U80", + "U81", + "U82", + "U83", + "U84", + "U85", + "U86", + "U87", + "U88", + "U89", + "U90", + "U91", + "U92", + "U93", + "U94", + "U95", + "U96", + "U97", + "U98", + "U99", + "U100" + ], + "enumDescriptions": [ + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "type": "string" + } + }, + "type": "object" + }, + "UserProfile": { + "description": "A UserProfile resource lets you list all DFA user profiles that are associated with a Google user account. The profile_id needs to be specified in other API requests. ", + "id": "UserProfile", + "properties": { + "accountId": { + "description": "The account ID to which this profile belongs.", + "format": "int64", + "type": "string" + }, + "accountName": { + "description": "The account name this profile belongs to.", + "type": "string" + }, + "etag": { + "description": "Etag of this resource.", + "type": "string" + }, + "kind": { + "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#userProfile\".", + "type": "string" + }, + "profileId": { + "description": "The unique ID of the user profile.", + "format": "int64", + "type": "string" + }, + "subAccountId": { + "description": "The sub account ID this profile belongs to if applicable.", + "format": "int64", + "type": "string" + }, + "subAccountName": { + "description": "The sub account name this profile belongs to if applicable.", + "type": "string" + }, + "userName": { + "description": "The user name.", + "type": "string" + } + }, + "type": "object" + }, + "UserProfileList": { + "description": "Represents the list of user profiles.", + "id": "UserProfileList", + "properties": { + "etag": { + "description": "Etag of this resource.", + "type": "string" + }, + "items": { + "description": "The user profiles returned in this response.", + "items": { + "$ref": "UserProfile" + }, + "type": "array" + }, + "kind": { + "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#userProfileList\".", + "type": "string" + } + }, + "type": "object" + }, + "UserRole": { + "description": "Contains properties of auser role, which is used to manage user access.", + "id": "UserRole", + "properties": { + "accountId": { + "description": "Account ID of this user role. This is a read-only field that can be left blank.", + "format": "int64", + "type": "string" + }, + "defaultUserRole": { + "description": "Whether this is a default user role. Default user roles are created by the system for the account/subaccount and cannot be modified or deleted. Each default user role comes with a basic set of preassigned permissions.", + "type": "boolean" + }, + "id": { + "description": "ID of this user role. This is a read-only, auto-generated field.", + "format": "int64", + "type": "string" + }, + "kind": { + "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#userRole\".", + "type": "string" + }, + "name": { + "description": "Name of this user role. This is a required field. Must be less than 256 characters long. If this user role is under a subaccount, the name must be unique among sites of the same subaccount. Otherwise, this user role is a top-level user role, and the name must be unique among top-level user roles of the same account.", + "type": "string" + }, + "parentUserRoleId": { + "description": "ID of the user role that this user role is based on or copied from. This is a required field.", + "format": "int64", + "type": "string" + }, + "permissions": { + "description": "List of permissions associated with this user role.", + "items": { + "$ref": "UserRolePermission" + }, + "type": "array" + }, + "subaccountId": { + "description": "Subaccount ID of this user role. This is a read-only field that can be left blank.", + "format": "int64", + "type": "string" + } + }, + "type": "object" + }, + "UserRolePermission": { + "description": "Contains properties of a user role permission.", + "id": "UserRolePermission", + "properties": { + "availability": { + "description": "Levels of availability for a user role permission.", + "enum": [ + "NOT_AVAILABLE_BY_DEFAULT", + "ACCOUNT_BY_DEFAULT", + "SUBACCOUNT_AND_ACCOUNT_BY_DEFAULT", + "ACCOUNT_ALWAYS", + "SUBACCOUNT_AND_ACCOUNT_ALWAYS", + "USER_PROFILE_ONLY" + ], + "enumDescriptions": [ + "", + "", + "", + "", + "", + "" + ], + "type": "string" + }, + "id": { + "description": "ID of this user role permission.", + "format": "int64", + "type": "string" + }, + "kind": { + "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#userRolePermission\".", + "type": "string" + }, + "name": { + "description": "Name of this user role permission.", + "type": "string" + }, + "permissionGroupId": { + "description": "ID of the permission group that this user role permission belongs to.", + "format": "int64", + "type": "string" + } + }, + "type": "object" + }, + "UserRolePermissionGroup": { + "description": "Represents a grouping of related user role permissions.", + "id": "UserRolePermissionGroup", + "properties": { + "id": { + "description": "ID of this user role permission.", + "format": "int64", + "type": "string" + }, + "kind": { + "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#userRolePermissionGroup\".", + "type": "string" + }, + "name": { + "description": "Name of this user role permission group.", + "type": "string" + } + }, + "type": "object" + }, + "UserRolePermissionGroupsListResponse": { + "description": "User Role Permission Group List Response", + "id": "UserRolePermissionGroupsListResponse", + "properties": { + "kind": { + "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#userRolePermissionGroupsListResponse\".", + "type": "string" + }, + "userRolePermissionGroups": { + "description": "User role permission group collection.", + "items": { + "$ref": "UserRolePermissionGroup" + }, + "type": "array" + } + }, + "type": "object" + }, + "UserRolePermissionsListResponse": { + "description": "User Role Permission List Response", + "id": "UserRolePermissionsListResponse", + "properties": { + "kind": { + "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#userRolePermissionsListResponse\".", + "type": "string" + }, + "userRolePermissions": { + "description": "User role permission collection.", + "items": { + "$ref": "UserRolePermission" + }, + "type": "array" + } + }, + "type": "object" + }, + "UserRolesListResponse": { + "description": "User Role List Response", + "id": "UserRolesListResponse", + "properties": { + "kind": { + "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#userRolesListResponse\".", + "type": "string" + }, + "nextPageToken": { + "description": "Pagination token to be used for the next list operation.", + "type": "string" + }, + "userRoles": { + "description": "User role collection.", + "items": { + "$ref": "UserRole" + }, + "type": "array" + } + }, + "type": "object" + }, + "VideoFormat": { + "description": "Contains information about supported video formats.", + "id": "VideoFormat", + "properties": { + "fileType": { + "description": "File type of the video format.", + "enum": [ + "FLV", + "THREEGPP", + "MP4", + "WEBM", + "M3U8" + ], + "enumDescriptions": [ + "", + "", + "", + "", + "" + ], + "type": "string" + }, + "id": { + "description": "ID of the video format.", + "format": "int32", + "type": "integer" + }, + "kind": { + "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#videoFormat\".", + "type": "string" + }, + "resolution": { + "$ref": "Size", + "description": "The resolution of this video format." + }, + "targetBitRate": { + "description": "The target bit rate of this video format.", + "format": "int32", + "type": "integer" + } + }, + "type": "object" + }, + "VideoFormatsListResponse": { + "description": "Video Format List Response", + "id": "VideoFormatsListResponse", + "properties": { + "kind": { + "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#videoFormatsListResponse\".", + "type": "string" + }, + "videoFormats": { + "description": "Video format collection.", + "items": { + "$ref": "VideoFormat" + }, + "type": "array" + } + }, + "type": "object" + }, + "VideoOffset": { + "description": "Video Offset", + "id": "VideoOffset", + "properties": { + "offsetPercentage": { + "description": "Duration, as a percentage of video duration. Do not set when offsetSeconds is set. Acceptable values are 0 to 100, inclusive.", + "format": "int32", + "type": "integer" + }, + "offsetSeconds": { + "description": "Duration, in seconds. Do not set when offsetPercentage is set. Acceptable values are 0 to 86399, inclusive.", + "format": "int32", + "type": "integer" + } + }, + "type": "object" + }, + "VideoSettings": { + "description": "Video Settings", + "id": "VideoSettings", + "properties": { + "companionSettings": { + "$ref": "CompanionSetting", + "description": "Settings for the companion creatives of video creatives served to this placement." + }, + "kind": { + "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#videoSettings\".", + "type": "string" + }, + "obaEnabled": { + "description": "Whether OBA icons are enabled for this placement.", + "type": "boolean" + }, + "obaSettings": { + "$ref": "ObaIcon", + "description": "Settings for the OBA icon of video creatives served to this placement. If this object is provided, the creative-level OBA settings will be overridden." + }, + "orientation": { + "description": "Orientation of a video placement. If this value is set, placement will return assets matching the specified orientation.", + "enum": [ + "ANY", + "LANDSCAPE", + "PORTRAIT" + ], + "enumDescriptions": [ + "", + "", + "" + ], + "type": "string" + }, + "skippableSettings": { + "$ref": "SkippableSetting", + "description": "Settings for the skippability of video creatives served to this placement. If this object is provided, the creative-level skippable settings will be overridden." + }, + "transcodeSettings": { + "$ref": "TranscodeSetting", + "description": "Settings for the transcodes of video creatives served to this placement. If this object is provided, the creative-level transcode settings will be overridden." + } + }, + "type": "object" + } + }, + "servicePath": "dfareporting/v3.4/", + "title": "Campaign Manager 360 API", + "version": "v3.4" +} \ No newline at end of file diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/dfareporting.v3.5.json b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/dfareporting.v3.5.json new file mode 100644 index 0000000000000000000000000000000000000000..939871e39593fd7a159c9e8a64db278f80e6cfc4 --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/dfareporting.v3.5.json @@ -0,0 +1,729 @@ +{ +"auth": { +"oauth2": { +"scopes": { +"https://www.googleapis.com/auth/dfatrafficking": { +"description": "View and manage your DoubleClick Campaign Manager's (DCM) display ad campaigns" +} +} +} +}, +"basePath": "/dfareporting/v3.5/", +"baseUrl": "https://dfareporting.googleapis.com/dfareporting/v3.5/", +"batchPath": "batch", +"canonicalName": "Dfareporting", +"description": "Build applications to efficiently manage large or complex trafficking, reporting, and attribution workflows for Campaign Manager 360.", +"discoveryVersion": "v1", +"documentationLink": "https://developers.google.com/doubleclick-advertisers/", +"fullyEncodeReservedExpansion": true, +"icons": { +"x16": "http://www.google.com/images/icons/product/search-16.gif", +"x32": "http://www.google.com/images/icons/product/search-32.gif" +}, +"id": "dfareporting:v3.5", +"kind": "discovery#restDescription", +"mtlsRootUrl": "https://dfareporting.mtls.googleapis.com/", +"name": "dfareporting", +"ownerDomain": "google.com", +"ownerName": "Google", +"parameters": { +"$.xgafv": { +"description": "V1 error format.", +"enum": [ +"1", +"2" +], +"enumDescriptions": [ +"v1 error format", +"v2 error format" +], +"location": "query", +"type": "string" +}, +"access_token": { +"description": "OAuth access token.", +"location": "query", +"type": "string" +}, +"alt": { +"default": "json", +"description": "Data format for response.", +"enum": [ +"json", +"media", +"proto" +], +"enumDescriptions": [ +"Responses with Content-Type of application/json", +"Media download with context-dependent Content-Type", +"Responses with Content-Type of application/x-protobuf" +], +"location": "query", +"type": "string" +}, +"callback": { +"description": "JSONP", +"location": "query", +"type": "string" +}, +"fields": { +"description": "Selector specifying which fields to include in a partial response.", +"location": "query", +"type": "string" +}, +"key": { +"description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", +"location": "query", +"type": "string" +}, +"oauth_token": { +"description": "OAuth 2.0 token for the current user.", +"location": "query", +"type": "string" +}, +"prettyPrint": { +"default": "true", +"description": "Returns response with indentations and line breaks.", +"location": "query", +"type": "boolean" +}, +"quotaUser": { +"description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.", +"location": "query", +"type": "string" +}, +"uploadType": { +"description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", +"location": "query", +"type": "string" +}, +"upload_protocol": { +"description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", +"location": "query", +"type": "string" +} +}, +"protocol": "rest", +"resources": { +"media": { +"methods": { +"upload": { +"description": "Inserts a new creative asset.", +"flatPath": "userprofiles/{userprofilesId}/creativeAssets/{creativeAssetsId}/creativeAssets", +"httpMethod": "POST", +"id": "dfareporting.media.upload", +"mediaUpload": { +"accept": [ +"*/*" +], +"maxSize": "1073741824", +"protocols": { +"simple": { +"multipart": true, +"path": "/upload/dfareporting/v3.5/userprofiles/{+profileId}/creativeAssets/{+advertiserId}/creativeAssets" +} +} +}, +"parameterOrder": [ +"profileId", +"advertiserId" +], +"parameters": { +"advertiserId": { +"description": "Advertiser ID of this creative. This is a required field.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/creativeAssets/{+advertiserId}/creativeAssets", +"request": { +"$ref": "CreativeAssetMetadata" +}, +"response": { +"$ref": "CreativeAssetMetadata" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +], +"supportsMediaUpload": true +} +} +} +}, +"revision": "20240821", +"rootUrl": "https://dfareporting.googleapis.com/", +"schemas": { +"ClickTag": { +"description": "Creative Click Tag.", +"id": "ClickTag", +"properties": { +"clickThroughUrl": { +"$ref": "CreativeClickThroughUrl", +"description": "Parameter value for the specified click tag. This field contains a click-through url." +}, +"eventName": { +"description": "Advertiser event name associated with the click tag. This field is used by DISPLAY_IMAGE_GALLERY and HTML5_BANNER creatives. Applicable to DISPLAY when the primary asset type is not HTML_IMAGE.", +"type": "string" +}, +"name": { +"description": "Parameter name for the specified click tag. For DISPLAY_IMAGE_GALLERY creative assets, this field must match the value of the creative asset's creativeAssetId.name field.", +"type": "string" +} +}, +"type": "object" +}, +"CreativeAssetId": { +"description": "Creative Asset ID.", +"id": "CreativeAssetId", +"properties": { +"name": { +"description": "Name of the creative asset. This is a required field while inserting an asset. After insertion, this assetIdentifier is used to identify the uploaded asset. Characters in the name must be alphanumeric or one of the following: \".-_ \". Spaces are allowed.", +"type": "string" +}, +"type": { +"description": "Type of asset to upload. This is a required field. FLASH and IMAGE are no longer supported for new uploads. All image assets should use HTML_IMAGE.", +"enum": [ +"IMAGE", +"FLASH", +"VIDEO", +"HTML", +"HTML_IMAGE", +"AUDIO" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"" +], +"type": "string" +} +}, +"type": "object" +}, +"CreativeAssetMetadata": { +"description": "CreativeAssets contains properties of a creative asset file which will be uploaded or has already been uploaded. Refer to the creative sample code for how to upload assets and insert a creative.", +"id": "CreativeAssetMetadata", +"properties": { +"assetIdentifier": { +"$ref": "CreativeAssetId", +"description": "ID of the creative asset. This is a required field." +}, +"clickTags": { +"description": "List of detected click tags for assets. This is a read-only, auto-generated field. This field is empty for a rich media asset.", +"items": { +"$ref": "ClickTag" +}, +"type": "array" +}, +"counterCustomEvents": { +"description": "List of counter events configured for the asset. This is a read-only, auto-generated field and only applicable to a rich media asset.", +"items": { +"$ref": "CreativeCustomEvent" +}, +"type": "array" +}, +"detectedFeatures": { +"description": "List of feature dependencies for the creative asset that are detected by Campaign Manager. Feature dependencies are features that a browser must be able to support in order to render your HTML5 creative correctly. This is a read-only, auto-generated field.", +"items": { +"enum": [ +"CSS_FONT_FACE", +"CSS_BACKGROUND_SIZE", +"CSS_BORDER_IMAGE", +"CSS_BORDER_RADIUS", +"CSS_BOX_SHADOW", +"CSS_FLEX_BOX", +"CSS_HSLA", +"CSS_MULTIPLE_BGS", +"CSS_OPACITY", +"CSS_RGBA", +"CSS_TEXT_SHADOW", +"CSS_ANIMATIONS", +"CSS_COLUMNS", +"CSS_GENERATED_CONTENT", +"CSS_GRADIENTS", +"CSS_REFLECTIONS", +"CSS_TRANSFORMS", +"CSS_TRANSFORMS3D", +"CSS_TRANSITIONS", +"APPLICATION_CACHE", +"CANVAS", +"CANVAS_TEXT", +"DRAG_AND_DROP", +"HASH_CHANGE", +"HISTORY", +"AUDIO", +"VIDEO", +"INDEXED_DB", +"INPUT_ATTR_AUTOCOMPLETE", +"INPUT_ATTR_AUTOFOCUS", +"INPUT_ATTR_LIST", +"INPUT_ATTR_PLACEHOLDER", +"INPUT_ATTR_MAX", +"INPUT_ATTR_MIN", +"INPUT_ATTR_MULTIPLE", +"INPUT_ATTR_PATTERN", +"INPUT_ATTR_REQUIRED", +"INPUT_ATTR_STEP", +"INPUT_TYPE_SEARCH", +"INPUT_TYPE_TEL", +"INPUT_TYPE_URL", +"INPUT_TYPE_EMAIL", +"INPUT_TYPE_DATETIME", +"INPUT_TYPE_DATE", +"INPUT_TYPE_MONTH", +"INPUT_TYPE_WEEK", +"INPUT_TYPE_TIME", +"INPUT_TYPE_DATETIME_LOCAL", +"INPUT_TYPE_NUMBER", +"INPUT_TYPE_RANGE", +"INPUT_TYPE_COLOR", +"LOCAL_STORAGE", +"POST_MESSAGE", +"SESSION_STORAGE", +"WEB_SOCKETS", +"WEB_SQL_DATABASE", +"WEB_WORKERS", +"GEO_LOCATION", +"INLINE_SVG", +"SMIL", +"SVG_HREF", +"SVG_CLIP_PATHS", +"TOUCH", +"WEBGL", +"SVG_FILTERS", +"SVG_FE_IMAGE" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"" +], +"type": "string" +}, +"type": "array" +}, +"exitCustomEvents": { +"description": "List of exit events configured for the asset. This is a read-only, auto-generated field and only applicable to a rich media asset.", +"items": { +"$ref": "CreativeCustomEvent" +}, +"type": "array" +}, +"id": { +"description": "Numeric ID of the asset. This is a read-only, auto-generated field.", +"format": "int64", +"type": "string" +}, +"idDimensionValue": { +"$ref": "DimensionValue", +"description": "Dimension value for the numeric ID of the asset. This is a read-only, auto-generated field." +}, +"kind": { +"description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#creativeAssetMetadata\".", +"type": "string" +}, +"richMedia": { +"description": "True if the uploaded asset is a rich media asset. This is a read-only, auto-generated field.", +"type": "boolean" +}, +"timerCustomEvents": { +"description": "List of timer events configured for the asset. This is a read-only, auto-generated field and only applicable to a rich media asset.", +"items": { +"$ref": "CreativeCustomEvent" +}, +"type": "array" +}, +"warnedValidationRules": { +"description": "Rules validated during code generation that generated a warning. This is a read-only, auto-generated field. Possible values are: - \"ADMOB_REFERENCED\" - \"ASSET_FORMAT_UNSUPPORTED_DCM\" - \"ASSET_INVALID\" - \"CLICK_TAG_HARD_CODED\" - \"CLICK_TAG_INVALID\" - \"CLICK_TAG_IN_GWD\" - \"CLICK_TAG_MISSING\" - \"CLICK_TAG_MORE_THAN_ONE\" - \"CLICK_TAG_NON_TOP_LEVEL\" - \"COMPONENT_UNSUPPORTED_DCM\" - \"ENABLER_UNSUPPORTED_METHOD_DCM\" - \"EXTERNAL_FILE_REFERENCED\" - \"FILE_DETAIL_EMPTY\" - \"FILE_TYPE_INVALID\" - \"GWD_PROPERTIES_INVALID\" - \"HTML5_FEATURE_UNSUPPORTED\" - \"LINKED_FILE_NOT_FOUND\" - \"MAX_FLASH_VERSION_11\" - \"MRAID_REFERENCED\" - \"NOT_SSL_COMPLIANT\" - \"ORPHANED_ASSET\" - \"PRIMARY_HTML_MISSING\" - \"SVG_INVALID\" - \"ZIP_INVALID\" ", +"items": { +"enum": [ +"CLICK_TAG_NON_TOP_LEVEL", +"CLICK_TAG_MISSING", +"CLICK_TAG_MORE_THAN_ONE", +"CLICK_TAG_INVALID", +"ORPHANED_ASSET", +"PRIMARY_HTML_MISSING", +"EXTERNAL_FILE_REFERENCED", +"MRAID_REFERENCED", +"ADMOB_REFERENCED", +"FILE_TYPE_INVALID", +"ZIP_INVALID", +"LINKED_FILE_NOT_FOUND", +"MAX_FLASH_VERSION_11", +"NOT_SSL_COMPLIANT", +"FILE_DETAIL_EMPTY", +"ASSET_INVALID", +"GWD_PROPERTIES_INVALID", +"ENABLER_UNSUPPORTED_METHOD_DCM", +"ASSET_FORMAT_UNSUPPORTED_DCM", +"COMPONENT_UNSUPPORTED_DCM", +"HTML5_FEATURE_UNSUPPORTED", +"CLICK_TAG_IN_GWD", +"CLICK_TAG_HARD_CODED", +"SVG_INVALID", +"CLICK_TAG_IN_RICH_MEDIA", +"MISSING_ENABLER_REFERENCE" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"" +], +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"CreativeClickThroughUrl": { +"description": "Click-through URL", +"id": "CreativeClickThroughUrl", +"properties": { +"computedClickThroughUrl": { +"description": "Read-only convenience field representing the actual URL that will be used for this click-through. The URL is computed as follows: - If landingPageId is specified then that landing page's URL is assigned to this field. - Otherwise, the customClickThroughUrl is assigned to this field. ", +"type": "string" +}, +"customClickThroughUrl": { +"description": "Custom click-through URL. Applicable if the landingPageId field is left unset.", +"type": "string" +}, +"landingPageId": { +"description": "ID of the landing page for the click-through URL.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"CreativeCustomEvent": { +"description": "Creative Custom Event.", +"id": "CreativeCustomEvent", +"properties": { +"advertiserCustomEventId": { +"description": "Unique ID of this event used by Reporting and Data Transfer. This is a read-only field.", +"format": "int64", +"type": "string" +}, +"advertiserCustomEventName": { +"description": "User-entered name for the event.", +"type": "string" +}, +"advertiserCustomEventType": { +"description": "Type of the event. This is a read-only field.", +"enum": [ +"ADVERTISER_EVENT_TIMER", +"ADVERTISER_EVENT_EXIT", +"ADVERTISER_EVENT_COUNTER" +], +"enumDescriptions": [ +"", +"", +"" +], +"type": "string" +}, +"artworkLabel": { +"description": "Artwork label column, used to link events in Campaign Manager back to events in Studio. This is a required field and should not be modified after insertion.", +"type": "string" +}, +"artworkType": { +"description": "Artwork type used by the creative.This is a read-only field.", +"enum": [ +"ARTWORK_TYPE_FLASH", +"ARTWORK_TYPE_HTML5", +"ARTWORK_TYPE_MIXED", +"ARTWORK_TYPE_IMAGE" +], +"enumDescriptions": [ +"", +"", +"", +"" +], +"type": "string" +}, +"exitClickThroughUrl": { +"$ref": "CreativeClickThroughUrl", +"description": "Exit click-through URL for the event. This field is used only for exit events." +}, +"id": { +"description": "ID of this event. This is a required field and should not be modified after insertion.", +"format": "int64", +"type": "string" +}, +"popupWindowProperties": { +"$ref": "PopupWindowProperties", +"description": "Properties for rich media popup windows. This field is used only for exit events." +}, +"targetType": { +"description": "Target type used by the event.", +"enum": [ +"TARGET_BLANK", +"TARGET_TOP", +"TARGET_SELF", +"TARGET_PARENT", +"TARGET_POPUP" +], +"enumDescriptions": [ +"", +"", +"", +"", +"" +], +"type": "string" +}, +"videoReportingId": { +"description": "Video reporting ID, used to differentiate multiple videos in a single creative. This is a read-only field.", +"type": "string" +} +}, +"type": "object" +}, +"DimensionValue": { +"description": "Represents a DimensionValue resource.", +"id": "DimensionValue", +"properties": { +"dimensionName": { +"description": "The name of the dimension.", +"type": "string" +}, +"etag": { +"description": "The eTag of this response for caching purposes.", +"type": "string" +}, +"id": { +"description": "The ID associated with the value if available.", +"type": "string" +}, +"kind": { +"description": "The kind of resource this is, in this case dfareporting#dimensionValue.", +"type": "string" +}, +"matchType": { +"description": "Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.", +"enum": [ +"EXACT", +"BEGINS_WITH", +"CONTAINS", +"WILDCARD_EXPRESSION" +], +"enumDescriptions": [ +"", +"", +"", +"" +], +"type": "string" +}, +"value": { +"description": "The value of the dimension.", +"type": "string" +} +}, +"type": "object" +}, +"OffsetPosition": { +"description": "Offset Position.", +"id": "OffsetPosition", +"properties": { +"left": { +"description": "Offset distance from left side of an asset or a window.", +"format": "int32", +"type": "integer" +}, +"top": { +"description": "Offset distance from top side of an asset or a window.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"PopupWindowProperties": { +"description": "Popup Window Properties.", +"id": "PopupWindowProperties", +"properties": { +"dimension": { +"$ref": "Size", +"description": "Popup dimension for a creative. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA and all VPAID" +}, +"offset": { +"$ref": "OffsetPosition", +"description": "Upper-left corner coordinates of the popup window. Applicable if positionType is COORDINATES." +}, +"positionType": { +"description": "Popup window position either centered or at specific coordinate.", +"enum": [ +"CENTER", +"COORDINATES" +], +"enumDescriptions": [ +"", +"" +], +"type": "string" +}, +"showAddressBar": { +"description": "Whether to display the browser address bar.", +"type": "boolean" +}, +"showMenuBar": { +"description": "Whether to display the browser menu bar.", +"type": "boolean" +}, +"showScrollBar": { +"description": "Whether to display the browser scroll bar.", +"type": "boolean" +}, +"showStatusBar": { +"description": "Whether to display the browser status bar.", +"type": "boolean" +}, +"showToolBar": { +"description": "Whether to display the browser tool bar.", +"type": "boolean" +}, +"title": { +"description": "Title of popup window.", +"type": "string" +} +}, +"type": "object" +}, +"Size": { +"description": "Represents the dimensions of ads, placements, creatives, or creative assets.", +"id": "Size", +"properties": { +"height": { +"description": "Height of this size. Acceptable values are 0 to 32767, inclusive.", +"format": "int32", +"type": "integer" +}, +"iab": { +"description": "IAB standard size. This is a read-only, auto-generated field.", +"type": "boolean" +}, +"id": { +"description": "ID of this size. This is a read-only, auto-generated field.", +"format": "int64", +"type": "string" +}, +"kind": { +"description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#size\".", +"type": "string" +}, +"width": { +"description": "Width of this size. Acceptable values are 0 to 32767, inclusive.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +} +}, +"servicePath": "dfareporting/v3.5/", +"title": "Campaign Manager 360 API", +"version": "v3.5" +} \ No newline at end of file diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/dfareporting.v4.json b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/dfareporting.v4.json new file mode 100644 index 0000000000000000000000000000000000000000..3ad6643d9119e576db9430279da293ab5db4dade --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/dfareporting.v4.json @@ -0,0 +1,23291 @@ +{ +"auth": { +"oauth2": { +"scopes": { +"https://www.googleapis.com/auth/ddmconversions": { +"description": "Manage DoubleClick Digital Marketing conversions" +}, +"https://www.googleapis.com/auth/dfareporting": { +"description": "View and manage DoubleClick for Advertisers reports" +}, +"https://www.googleapis.com/auth/dfatrafficking": { +"description": "View and manage your DoubleClick Campaign Manager's (DCM) display ad campaigns" +} +} +} +}, +"basePath": "/dfareporting/v4/", +"baseUrl": "https://dfareporting.googleapis.com/dfareporting/v4/", +"batchPath": "batch", +"canonicalName": "Dfareporting", +"description": "Build applications to efficiently manage large or complex trafficking, reporting, and attribution workflows for Campaign Manager 360.", +"discoveryVersion": "v1", +"documentationLink": "https://developers.google.com/doubleclick-advertisers/", +"fullyEncodeReservedExpansion": true, +"icons": { +"x16": "http://www.google.com/images/icons/product/search-16.gif", +"x32": "http://www.google.com/images/icons/product/search-32.gif" +}, +"id": "dfareporting:v4", +"kind": "discovery#restDescription", +"mtlsRootUrl": "https://dfareporting.mtls.googleapis.com/", +"name": "dfareporting", +"ownerDomain": "google.com", +"ownerName": "Google", +"parameters": { +"$.xgafv": { +"description": "V1 error format.", +"enum": [ +"1", +"2" +], +"enumDescriptions": [ +"v1 error format", +"v2 error format" +], +"location": "query", +"type": "string" +}, +"access_token": { +"description": "OAuth access token.", +"location": "query", +"type": "string" +}, +"alt": { +"default": "json", +"description": "Data format for response.", +"enum": [ +"json", +"media", +"proto" +], +"enumDescriptions": [ +"Responses with Content-Type of application/json", +"Media download with context-dependent Content-Type", +"Responses with Content-Type of application/x-protobuf" +], +"location": "query", +"type": "string" +}, +"callback": { +"description": "JSONP", +"location": "query", +"type": "string" +}, +"fields": { +"description": "Selector specifying which fields to include in a partial response.", +"location": "query", +"type": "string" +}, +"key": { +"description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", +"location": "query", +"type": "string" +}, +"oauth_token": { +"description": "OAuth 2.0 token for the current user.", +"location": "query", +"type": "string" +}, +"prettyPrint": { +"default": "true", +"description": "Returns response with indentations and line breaks.", +"location": "query", +"type": "boolean" +}, +"quotaUser": { +"description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.", +"location": "query", +"type": "string" +}, +"uploadType": { +"description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", +"location": "query", +"type": "string" +}, +"upload_protocol": { +"description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", +"location": "query", +"type": "string" +} +}, +"protocol": "rest", +"resources": { +"accountActiveAdSummaries": { +"methods": { +"get": { +"description": "Gets the account's active ad summary by account ID.", +"flatPath": "userprofiles/{userprofilesId}/accountActiveAdSummaries/{accountActiveAdSummariesId}", +"httpMethod": "GET", +"id": "dfareporting.accountActiveAdSummaries.get", +"parameterOrder": [ +"profileId", +"summaryAccountId" +], +"parameters": { +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"summaryAccountId": { +"description": "Account ID.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/accountActiveAdSummaries/{+summaryAccountId}", +"response": { +"$ref": "AccountActiveAdSummary" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +} +} +}, +"accountPermissionGroups": { +"methods": { +"get": { +"description": "Gets one account permission group by ID.", +"flatPath": "userprofiles/{userprofilesId}/accountPermissionGroups/{accountPermissionGroupsId}", +"httpMethod": "GET", +"id": "dfareporting.accountPermissionGroups.get", +"parameterOrder": [ +"profileId", +"id" +], +"parameters": { +"id": { +"description": "Account permission group ID.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/accountPermissionGroups/{+id}", +"response": { +"$ref": "AccountPermissionGroup" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +}, +"list": { +"description": "Retrieves the list of account permission groups.", +"flatPath": "userprofiles/{userprofilesId}/accountPermissionGroups", +"httpMethod": "GET", +"id": "dfareporting.accountPermissionGroups.list", +"parameterOrder": [ +"profileId" +], +"parameters": { +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/accountPermissionGroups", +"response": { +"$ref": "AccountPermissionGroupsListResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +} +} +}, +"accountPermissions": { +"methods": { +"get": { +"description": "Gets one account permission by ID.", +"flatPath": "userprofiles/{userprofilesId}/accountPermissions/{accountPermissionsId}", +"httpMethod": "GET", +"id": "dfareporting.accountPermissions.get", +"parameterOrder": [ +"profileId", +"id" +], +"parameters": { +"id": { +"description": "Account permission ID.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/accountPermissions/{+id}", +"response": { +"$ref": "AccountPermission" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +}, +"list": { +"description": "Retrieves the list of account permissions.", +"flatPath": "userprofiles/{userprofilesId}/accountPermissions", +"httpMethod": "GET", +"id": "dfareporting.accountPermissions.list", +"parameterOrder": [ +"profileId" +], +"parameters": { +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/accountPermissions", +"response": { +"$ref": "AccountPermissionsListResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +} +} +}, +"accountUserProfiles": { +"methods": { +"get": { +"description": "Gets one account user profile by ID.", +"flatPath": "userprofiles/{profileId}/accountUserProfiles/{accountUserProfilesId}", +"httpMethod": "GET", +"id": "dfareporting.accountUserProfiles.get", +"parameterOrder": [ +"profileId", +"id" +], +"parameters": { +"id": { +"description": "User profile ID.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "userprofiles/{profileId}/accountUserProfiles/{+id}", +"response": { +"$ref": "AccountUserProfile" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +}, +"insert": { +"description": "Inserts a new account user profile.", +"flatPath": "userprofiles/{userprofilesId}/accountUserProfiles", +"httpMethod": "POST", +"id": "dfareporting.accountUserProfiles.insert", +"parameterOrder": [ +"profileId" +], +"parameters": { +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/accountUserProfiles", +"request": { +"$ref": "AccountUserProfile" +}, +"response": { +"$ref": "AccountUserProfile" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +}, +"list": { +"description": "Retrieves a list of account user profiles, possibly filtered. This method supports paging.", +"flatPath": "userprofiles/{userprofilesId}/accountUserProfiles", +"httpMethod": "GET", +"id": "dfareporting.accountUserProfiles.list", +"parameterOrder": [ +"profileId" +], +"parameters": { +"active": { +"description": "Select only active user profiles.", +"location": "query", +"type": "boolean" +}, +"ids": { +"description": "Select only user profiles with these IDs.", +"format": "int64", +"location": "query", +"repeated": true, +"type": "string" +}, +"maxResults": { +"default": "1000", +"description": "Maximum number of results to return.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Value of the nextPageToken from the previous result page.", +"location": "query", +"type": "string" +}, +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"searchString": { +"description": "Allows searching for objects by name, ID or email. Wildcards (*) are allowed. For example, \"user profile*2015\" will return objects with names like \"user profile June 2015\", \"user profile April 2015\", or simply \"user profile 2015\". Most of the searches also add wildcards implicitly at the start and the end of the search string. For example, a search string of \"user profile\" will match objects with name \"my user profile\", \"user profile 2015\", or simply \"user profile\".", +"location": "query", +"type": "string" +}, +"sortField": { +"default": "ID", +"description": "Field by which to sort the list.", +"enum": [ +"ID", +"NAME" +], +"enumDescriptions": [ +"", +"" +], +"location": "query", +"type": "string" +}, +"sortOrder": { +"default": "ASCENDING", +"description": "Order of sorted results.", +"enum": [ +"ASCENDING", +"DESCENDING" +], +"enumDescriptions": [ +"Ascending order.", +"Descending order." +], +"location": "query", +"type": "string" +}, +"subaccountId": { +"description": "Select only user profiles with the specified subaccount ID.", +"format": "int64", +"location": "query", +"type": "string" +}, +"userRoleId": { +"description": "Select only user profiles with the specified user role ID.", +"format": "int64", +"location": "query", +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/accountUserProfiles", +"response": { +"$ref": "AccountUserProfilesListResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +}, +"patch": { +"description": "Updates an existing account user profile. This method supports patch semantics.", +"flatPath": "userprofiles/{userprofilesId}/accountUserProfiles", +"httpMethod": "PATCH", +"id": "dfareporting.accountUserProfiles.patch", +"parameterOrder": [ +"profileId", +"id" +], +"parameters": { +"id": { +"description": "Required. AccountUserProfile ID.", +"format": "int64", +"location": "query", +"required": true, +"type": "string" +}, +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/accountUserProfiles", +"request": { +"$ref": "AccountUserProfile" +}, +"response": { +"$ref": "AccountUserProfile" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +}, +"update": { +"description": "Updates an existing account user profile.", +"flatPath": "userprofiles/{userprofilesId}/accountUserProfiles", +"httpMethod": "PUT", +"id": "dfareporting.accountUserProfiles.update", +"parameterOrder": [ +"profileId" +], +"parameters": { +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/accountUserProfiles", +"request": { +"$ref": "AccountUserProfile" +}, +"response": { +"$ref": "AccountUserProfile" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +} +} +}, +"accounts": { +"methods": { +"get": { +"description": "Gets one account by ID.", +"flatPath": "userprofiles/{userprofilesId}/accounts/{accountsId}", +"httpMethod": "GET", +"id": "dfareporting.accounts.get", +"parameterOrder": [ +"profileId", +"id" +], +"parameters": { +"id": { +"description": "Account ID.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/accounts/{+id}", +"response": { +"$ref": "Account" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +}, +"list": { +"description": "Retrieves the list of accounts, possibly filtered. This method supports paging.", +"flatPath": "userprofiles/{userprofilesId}/accounts", +"httpMethod": "GET", +"id": "dfareporting.accounts.list", +"parameterOrder": [ +"profileId" +], +"parameters": { +"active": { +"description": "Select only active accounts. Don't set this field to select both active and non-active accounts.", +"location": "query", +"type": "boolean" +}, +"ids": { +"description": "Select only accounts with these IDs.", +"format": "int64", +"location": "query", +"repeated": true, +"type": "string" +}, +"maxResults": { +"default": "1000", +"description": "Maximum number of results to return.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Value of the nextPageToken from the previous result page.", +"location": "query", +"type": "string" +}, +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"searchString": { +"description": "Allows searching for objects by name or ID. Wildcards (*) are allowed. For example, \"account*2015\" will return objects with names like \"account June 2015\", \"account April 2015\", or simply \"account 2015\". Most of the searches also add wildcards implicitly at the start and the end of the search string. For example, a search string of \"account\" will match objects with name \"my account\", \"account 2015\", or simply \"account\".", +"location": "query", +"type": "string" +}, +"sortField": { +"default": "ID", +"description": "Field by which to sort the list.", +"enum": [ +"ID", +"NAME" +], +"enumDescriptions": [ +"", +"" +], +"location": "query", +"type": "string" +}, +"sortOrder": { +"default": "ASCENDING", +"description": "Order of sorted results.", +"enum": [ +"ASCENDING", +"DESCENDING" +], +"enumDescriptions": [ +"Ascending order.", +"Descending order." +], +"location": "query", +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/accounts", +"response": { +"$ref": "AccountsListResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +}, +"patch": { +"description": "Updates an existing account. This method supports patch semantics.", +"flatPath": "userprofiles/{userprofilesId}/accounts", +"httpMethod": "PATCH", +"id": "dfareporting.accounts.patch", +"parameterOrder": [ +"profileId", +"id" +], +"parameters": { +"id": { +"description": "Required. Account ID.", +"format": "int64", +"location": "query", +"required": true, +"type": "string" +}, +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/accounts", +"request": { +"$ref": "Account" +}, +"response": { +"$ref": "Account" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +}, +"update": { +"description": "Updates an existing account.", +"flatPath": "userprofiles/{userprofilesId}/accounts", +"httpMethod": "PUT", +"id": "dfareporting.accounts.update", +"parameterOrder": [ +"profileId" +], +"parameters": { +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/accounts", +"request": { +"$ref": "Account" +}, +"response": { +"$ref": "Account" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +} +} +}, +"ads": { +"methods": { +"get": { +"description": "Gets one ad by ID.", +"flatPath": "userprofiles/{userprofilesId}/ads/{adsId}", +"httpMethod": "GET", +"id": "dfareporting.ads.get", +"parameterOrder": [ +"profileId", +"id" +], +"parameters": { +"id": { +"description": "Ad ID.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/ads/{+id}", +"response": { +"$ref": "Ad" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +}, +"insert": { +"description": "Inserts a new ad.", +"flatPath": "userprofiles/{userprofilesId}/ads", +"httpMethod": "POST", +"id": "dfareporting.ads.insert", +"parameterOrder": [ +"profileId" +], +"parameters": { +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/ads", +"request": { +"$ref": "Ad" +}, +"response": { +"$ref": "Ad" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +}, +"list": { +"description": "Retrieves a list of ads, possibly filtered. This method supports paging.", +"flatPath": "userprofiles/{userprofilesId}/ads", +"httpMethod": "GET", +"id": "dfareporting.ads.list", +"parameterOrder": [ +"profileId" +], +"parameters": { +"active": { +"description": "Select only active ads.", +"location": "query", +"type": "boolean" +}, +"advertiserId": { +"description": "Select only ads with this advertiser ID.", +"format": "int64", +"location": "query", +"type": "string" +}, +"archived": { +"description": "Select only archived ads.", +"location": "query", +"type": "boolean" +}, +"audienceSegmentIds": { +"description": "Select only ads with these audience segment IDs.", +"format": "int64", +"location": "query", +"repeated": true, +"type": "string" +}, +"campaignIds": { +"description": "Select only ads with these campaign IDs.", +"format": "int64", +"location": "query", +"repeated": true, +"type": "string" +}, +"compatibility": { +"description": "Select default ads with the specified compatibility. Applicable when type is AD_SERVING_DEFAULT_AD. DISPLAY and DISPLAY_INTERSTITIAL refer to rendering either on desktop or on mobile devices for regular or interstitial ads, respectively. APP and APP_INTERSTITIAL are for rendering in mobile apps. IN_STREAM_VIDEO refers to rendering an in-stream video ads developed with the VAST standard.", +"enum": [ +"DISPLAY", +"DISPLAY_INTERSTITIAL", +"APP", +"APP_INTERSTITIAL", +"IN_STREAM_VIDEO", +"IN_STREAM_AUDIO" +], +"enumDescriptions": [ +"", +"", +"Deprecated enum value. No longer supported.", +"Deprecated enum value. No longer supported.", +"", +"" +], +"location": "query", +"type": "string" +}, +"creativeIds": { +"description": "Select only ads with these creative IDs assigned.", +"format": "int64", +"location": "query", +"repeated": true, +"type": "string" +}, +"creativeOptimizationConfigurationIds": { +"description": "Select only ads with these creative optimization configuration IDs.", +"format": "int64", +"location": "query", +"repeated": true, +"type": "string" +}, +"dynamicClickTracker": { +"description": "Select only dynamic click trackers. Applicable when type is AD_SERVING_CLICK_TRACKER. If true, select dynamic click trackers. If false, select static click trackers. Leave unset to select both.", +"location": "query", +"type": "boolean" +}, +"ids": { +"description": "Select only ads with these IDs.", +"format": "int64", +"location": "query", +"repeated": true, +"type": "string" +}, +"landingPageIds": { +"description": "Select only ads with these landing page IDs.", +"format": "int64", +"location": "query", +"repeated": true, +"type": "string" +}, +"maxResults": { +"default": "1000", +"description": "Maximum number of results to return.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"overriddenEventTagId": { +"description": "Select only ads with this event tag override ID.", +"format": "int64", +"location": "query", +"type": "string" +}, +"pageToken": { +"description": "Value of the nextPageToken from the previous result page.", +"location": "query", +"type": "string" +}, +"placementIds": { +"description": "Select only ads with these placement IDs assigned.", +"format": "int64", +"location": "query", +"repeated": true, +"type": "string" +}, +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"remarketingListIds": { +"description": "Select only ads whose list targeting expression use these remarketing list IDs.", +"format": "int64", +"location": "query", +"repeated": true, +"type": "string" +}, +"searchString": { +"description": "Allows searching for objects by name or ID. Wildcards (*) are allowed. For example, \"ad*2015\" will return objects with names like \"ad June 2015\", \"ad April 2015\", or simply \"ad 2015\". Most of the searches also add wildcards implicitly at the start and the end of the search string. For example, a search string of \"ad\" will match objects with name \"my ad\", \"ad 2015\", or simply \"ad\".", +"location": "query", +"type": "string" +}, +"sizeIds": { +"description": "Select only ads with these size IDs.", +"format": "int64", +"location": "query", +"repeated": true, +"type": "string" +}, +"sortField": { +"default": "ID", +"description": "Field by which to sort the list.", +"enum": [ +"ID", +"NAME" +], +"enumDescriptions": [ +"", +"" +], +"location": "query", +"type": "string" +}, +"sortOrder": { +"default": "ASCENDING", +"description": "Order of sorted results.", +"enum": [ +"ASCENDING", +"DESCENDING" +], +"enumDescriptions": [ +"Ascending order.", +"Descending order." +], +"location": "query", +"type": "string" +}, +"sslCompliant": { +"description": "Select only ads that are SSL-compliant.", +"location": "query", +"type": "boolean" +}, +"sslRequired": { +"description": "Select only ads that require SSL.", +"location": "query", +"type": "boolean" +}, +"type": { +"description": "Select only ads with these types.", +"enum": [ +"AD_SERVING_STANDARD_AD", +"AD_SERVING_DEFAULT_AD", +"AD_SERVING_CLICK_TRACKER", +"AD_SERVING_TRACKING", +"AD_SERVING_BRAND_SAFE_AD" +], +"enumDescriptions": [ +"", +"", +"", +"", +"" +], +"location": "query", +"repeated": true, +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/ads", +"response": { +"$ref": "AdsListResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +}, +"patch": { +"description": "Updates an existing ad. This method supports patch semantics.", +"flatPath": "userprofiles/{userprofilesId}/ads", +"httpMethod": "PATCH", +"id": "dfareporting.ads.patch", +"parameterOrder": [ +"profileId", +"id" +], +"parameters": { +"id": { +"description": "Required. RemarketingList ID.", +"format": "int64", +"location": "query", +"required": true, +"type": "string" +}, +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/ads", +"request": { +"$ref": "Ad" +}, +"response": { +"$ref": "Ad" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +}, +"update": { +"description": "Updates an existing ad.", +"flatPath": "userprofiles/{userprofilesId}/ads", +"httpMethod": "PUT", +"id": "dfareporting.ads.update", +"parameterOrder": [ +"profileId" +], +"parameters": { +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/ads", +"request": { +"$ref": "Ad" +}, +"response": { +"$ref": "Ad" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +} +} +}, +"advertiserGroups": { +"methods": { +"delete": { +"description": "Deletes an existing advertiser group.", +"flatPath": "userprofiles/{userprofilesId}/advertiserGroups/{advertiserGroupsId}", +"httpMethod": "DELETE", +"id": "dfareporting.advertiserGroups.delete", +"parameterOrder": [ +"profileId", +"id" +], +"parameters": { +"id": { +"description": "Advertiser group ID.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/advertiserGroups/{+id}", +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +}, +"get": { +"description": "Gets one advertiser group by ID.", +"flatPath": "userprofiles/{userprofilesId}/advertiserGroups/{advertiserGroupsId}", +"httpMethod": "GET", +"id": "dfareporting.advertiserGroups.get", +"parameterOrder": [ +"profileId", +"id" +], +"parameters": { +"id": { +"description": "Advertiser group ID.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/advertiserGroups/{+id}", +"response": { +"$ref": "AdvertiserGroup" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +}, +"insert": { +"description": "Inserts a new advertiser group.", +"flatPath": "userprofiles/{userprofilesId}/advertiserGroups", +"httpMethod": "POST", +"id": "dfareporting.advertiserGroups.insert", +"parameterOrder": [ +"profileId" +], +"parameters": { +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/advertiserGroups", +"request": { +"$ref": "AdvertiserGroup" +}, +"response": { +"$ref": "AdvertiserGroup" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +}, +"list": { +"description": "Retrieves a list of advertiser groups, possibly filtered. This method supports paging.", +"flatPath": "userprofiles/{userprofilesId}/advertiserGroups", +"httpMethod": "GET", +"id": "dfareporting.advertiserGroups.list", +"parameterOrder": [ +"profileId" +], +"parameters": { +"ids": { +"description": "Select only advertiser groups with these IDs.", +"format": "int64", +"location": "query", +"repeated": true, +"type": "string" +}, +"maxResults": { +"default": "1000", +"description": "Maximum number of results to return.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Value of the nextPageToken from the previous result page.", +"location": "query", +"type": "string" +}, +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"searchString": { +"description": "Allows searching for objects by name or ID. Wildcards (*) are allowed. For example, \"advertiser*2015\" will return objects with names like \"advertiser group June 2015\", \"advertiser group April 2015\", or simply \"advertiser group 2015\". Most of the searches also add wildcards implicitly at the start and the end of the search string. For example, a search string of \"advertisergroup\" will match objects with name \"my advertisergroup\", \"advertisergroup 2015\", or simply \"advertisergroup\".", +"location": "query", +"type": "string" +}, +"sortField": { +"default": "ID", +"description": "Field by which to sort the list.", +"enum": [ +"ID", +"NAME" +], +"enumDescriptions": [ +"", +"" +], +"location": "query", +"type": "string" +}, +"sortOrder": { +"default": "ASCENDING", +"description": "Order of sorted results.", +"enum": [ +"ASCENDING", +"DESCENDING" +], +"enumDescriptions": [ +"Ascending order.", +"Descending order." +], +"location": "query", +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/advertiserGroups", +"response": { +"$ref": "AdvertiserGroupsListResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +}, +"patch": { +"description": "Updates an existing advertiser group. This method supports patch semantics.", +"flatPath": "userprofiles/{userprofilesId}/advertiserGroups", +"httpMethod": "PATCH", +"id": "dfareporting.advertiserGroups.patch", +"parameterOrder": [ +"profileId", +"id" +], +"parameters": { +"id": { +"description": "Required. Advertiser Group ID.", +"format": "int64", +"location": "query", +"required": true, +"type": "string" +}, +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/advertiserGroups", +"request": { +"$ref": "AdvertiserGroup" +}, +"response": { +"$ref": "AdvertiserGroup" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +}, +"update": { +"description": "Updates an existing advertiser group.", +"flatPath": "userprofiles/{userprofilesId}/advertiserGroups", +"httpMethod": "PUT", +"id": "dfareporting.advertiserGroups.update", +"parameterOrder": [ +"profileId" +], +"parameters": { +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/advertiserGroups", +"request": { +"$ref": "AdvertiserGroup" +}, +"response": { +"$ref": "AdvertiserGroup" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +} +} +}, +"advertiserInvoices": { +"methods": { +"list": { +"description": "Retrieves a list of invoices for a particular issue month. The api only works if the billing profile invoice level is set to either advertiser or campaign non-consolidated invoice level.", +"flatPath": "userprofiles/{userprofilesId}/advertisers/{advertisersId}/invoices", +"httpMethod": "GET", +"id": "dfareporting.advertiserInvoices.list", +"parameterOrder": [ +"profileId", +"advertiserId" +], +"parameters": { +"advertiserId": { +"description": "Advertiser ID of this invoice.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"issueMonth": { +"description": "Month for which invoices are needed in the format YYYYMM. Required field", +"location": "query", +"type": "string" +}, +"maxResults": { +"default": "1000", +"description": "Maximum number of results to return.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Value of the nextPageToken from the previous result page.", +"location": "query", +"type": "string" +}, +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/advertisers/{+advertiserId}/invoices", +"response": { +"$ref": "AdvertiserInvoicesListResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +} +} +}, +"advertiserLandingPages": { +"methods": { +"get": { +"description": "Gets one landing page by ID.", +"flatPath": "userprofiles/{userprofilesId}/advertiserLandingPages/{advertiserLandingPagesId}", +"httpMethod": "GET", +"id": "dfareporting.advertiserLandingPages.get", +"parameterOrder": [ +"profileId", +"id" +], +"parameters": { +"id": { +"description": "Landing page ID.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/advertiserLandingPages/{+id}", +"response": { +"$ref": "LandingPage" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +}, +"insert": { +"description": "Inserts a new landing page.", +"flatPath": "userprofiles/{userprofilesId}/advertiserLandingPages", +"httpMethod": "POST", +"id": "dfareporting.advertiserLandingPages.insert", +"parameterOrder": [ +"profileId" +], +"parameters": { +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/advertiserLandingPages", +"request": { +"$ref": "LandingPage" +}, +"response": { +"$ref": "LandingPage" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +}, +"list": { +"description": "Retrieves a list of landing pages.", +"flatPath": "userprofiles/{userprofilesId}/advertiserLandingPages", +"httpMethod": "GET", +"id": "dfareporting.advertiserLandingPages.list", +"parameterOrder": [ +"profileId" +], +"parameters": { +"advertiserIds": { +"description": "Select only landing pages that belong to these advertisers.", +"format": "int64", +"location": "query", +"repeated": true, +"type": "string" +}, +"archived": { +"description": "Select only archived landing pages. Don't set this field to select both archived and non-archived landing pages.", +"location": "query", +"type": "boolean" +}, +"campaignIds": { +"description": "Select only landing pages that are associated with these campaigns.", +"format": "int64", +"location": "query", +"repeated": true, +"type": "string" +}, +"ids": { +"description": "Select only landing pages with these IDs.", +"format": "int64", +"location": "query", +"repeated": true, +"type": "string" +}, +"maxResults": { +"default": "1000", +"description": "Maximum number of results to return.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Value of the nextPageToken from the previous result page.", +"location": "query", +"type": "string" +}, +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"searchString": { +"description": "Allows searching for landing pages by name or ID. Wildcards (*) are allowed. For example, \"landingpage*2017\" will return landing pages with names like \"landingpage July 2017\", \"landingpage March 2017\", or simply \"landingpage 2017\". Most of the searches also add wildcards implicitly at the start and the end of the search string. For example, a search string of \"landingpage\" will match campaigns with name \"my landingpage\", \"landingpage 2015\", or simply \"landingpage\".", +"location": "query", +"type": "string" +}, +"sortField": { +"default": "ID", +"description": "Field by which to sort the list.", +"enum": [ +"ID", +"NAME" +], +"enumDescriptions": [ +"", +"" +], +"location": "query", +"type": "string" +}, +"sortOrder": { +"default": "ASCENDING", +"description": "Order of sorted results.", +"enum": [ +"ASCENDING", +"DESCENDING" +], +"enumDescriptions": [ +"Ascending order.", +"Descending order." +], +"location": "query", +"type": "string" +}, +"subaccountId": { +"description": "Select only landing pages that belong to this subaccount.", +"format": "int64", +"location": "query", +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/advertiserLandingPages", +"response": { +"$ref": "AdvertiserLandingPagesListResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +}, +"patch": { +"description": "Updates an existing landing page. This method supports patch semantics.", +"flatPath": "userprofiles/{userprofilesId}/advertiserLandingPages", +"httpMethod": "PATCH", +"id": "dfareporting.advertiserLandingPages.patch", +"parameterOrder": [ +"profileId", +"id" +], +"parameters": { +"id": { +"description": "Required. Landing Page ID.", +"format": "int64", +"location": "query", +"required": true, +"type": "string" +}, +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/advertiserLandingPages", +"request": { +"$ref": "LandingPage" +}, +"response": { +"$ref": "LandingPage" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +}, +"update": { +"description": "Updates an existing landing page.", +"flatPath": "userprofiles/{userprofilesId}/advertiserLandingPages", +"httpMethod": "PUT", +"id": "dfareporting.advertiserLandingPages.update", +"parameterOrder": [ +"profileId" +], +"parameters": { +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/advertiserLandingPages", +"request": { +"$ref": "LandingPage" +}, +"response": { +"$ref": "LandingPage" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +} +} +}, +"advertisers": { +"methods": { +"get": { +"description": "Gets one advertiser by ID.", +"flatPath": "userprofiles/{userprofilesId}/advertisers/{advertisersId}", +"httpMethod": "GET", +"id": "dfareporting.advertisers.get", +"parameterOrder": [ +"profileId", +"id" +], +"parameters": { +"id": { +"description": "Advertiser ID.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/advertisers/{+id}", +"response": { +"$ref": "Advertiser" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +}, +"insert": { +"description": "Inserts a new advertiser.", +"flatPath": "userprofiles/{userprofilesId}/advertisers", +"httpMethod": "POST", +"id": "dfareporting.advertisers.insert", +"parameterOrder": [ +"profileId" +], +"parameters": { +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/advertisers", +"request": { +"$ref": "Advertiser" +}, +"response": { +"$ref": "Advertiser" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +}, +"list": { +"description": "Retrieves a list of advertisers, possibly filtered. This method supports paging.", +"flatPath": "userprofiles/{userprofilesId}/advertisers", +"httpMethod": "GET", +"id": "dfareporting.advertisers.list", +"parameterOrder": [ +"profileId" +], +"parameters": { +"advertiserGroupIds": { +"description": "Select only advertisers with these advertiser group IDs.", +"format": "int64", +"location": "query", +"repeated": true, +"type": "string" +}, +"floodlightConfigurationIds": { +"description": "Select only advertisers with these floodlight configuration IDs.", +"format": "int64", +"location": "query", +"repeated": true, +"type": "string" +}, +"ids": { +"description": "Select only advertisers with these IDs.", +"format": "int64", +"location": "query", +"repeated": true, +"type": "string" +}, +"includeAdvertisersWithoutGroupsOnly": { +"description": "Select only advertisers which do not belong to any advertiser group.", +"location": "query", +"type": "boolean" +}, +"maxResults": { +"default": "1000", +"description": "Maximum number of results to return.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"onlyParent": { +"description": "Select only advertisers which use another advertiser's floodlight configuration.", +"location": "query", +"type": "boolean" +}, +"pageToken": { +"description": "Value of the nextPageToken from the previous result page.", +"location": "query", +"type": "string" +}, +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"searchString": { +"description": "Allows searching for objects by name or ID. Wildcards (*) are allowed. For example, \"advertiser*2015\" will return objects with names like \"advertiser June 2015\", \"advertiser April 2015\", or simply \"advertiser 2015\". Most of the searches also add wildcards implicitly at the start and the end of the search string. For example, a search string of \"advertiser\" will match objects with name \"my advertiser\", \"advertiser 2015\", or simply \"advertiser\" .", +"location": "query", +"type": "string" +}, +"sortField": { +"default": "ID", +"description": "Field by which to sort the list.", +"enum": [ +"ID", +"NAME" +], +"enumDescriptions": [ +"", +"" +], +"location": "query", +"type": "string" +}, +"sortOrder": { +"default": "ASCENDING", +"description": "Order of sorted results.", +"enum": [ +"ASCENDING", +"DESCENDING" +], +"enumDescriptions": [ +"Ascending order.", +"Descending order." +], +"location": "query", +"type": "string" +}, +"status": { +"description": "Select only advertisers with the specified status.", +"enum": [ +"APPROVED", +"ON_HOLD" +], +"enumDescriptions": [ +"Approved (ads can deliver)", +"On-hold (all ads are stopped)" +], +"location": "query", +"type": "string" +}, +"subaccountId": { +"description": "Select only advertisers with these subaccount IDs.", +"format": "int64", +"location": "query", +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/advertisers", +"response": { +"$ref": "AdvertisersListResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +}, +"patch": { +"description": "Updates an existing advertiser. This method supports patch semantics.", +"flatPath": "userprofiles/{userprofilesId}/advertisers", +"httpMethod": "PATCH", +"id": "dfareporting.advertisers.patch", +"parameterOrder": [ +"profileId", +"id" +], +"parameters": { +"id": { +"description": "Required. Advertiser ID.", +"format": "int64", +"location": "query", +"required": true, +"type": "string" +}, +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/advertisers", +"request": { +"$ref": "Advertiser" +}, +"response": { +"$ref": "Advertiser" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +}, +"update": { +"description": "Updates an existing advertiser.", +"flatPath": "userprofiles/{userprofilesId}/advertisers", +"httpMethod": "PUT", +"id": "dfareporting.advertisers.update", +"parameterOrder": [ +"profileId" +], +"parameters": { +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/advertisers", +"request": { +"$ref": "Advertiser" +}, +"response": { +"$ref": "Advertiser" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +} +} +}, +"billingAssignments": { +"methods": { +"insert": { +"description": "Inserts a new billing assignment and returns the new assignment. Only one of advertiser_id or campaign_id is support per request. If the new assignment has no effect (assigning a campaign to the parent advertiser billing profile or assigning an advertiser to the account billing profile), no assignment will be returned.", +"flatPath": "userprofiles/{userprofilesId}/billingProfiles/{billingProfilesId}/billingAssignments", +"httpMethod": "POST", +"id": "dfareporting.billingAssignments.insert", +"parameterOrder": [ +"profileId", +"billingProfileId" +], +"parameters": { +"billingProfileId": { +"description": "Billing profile ID of this billing assignment.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/billingProfiles/{+billingProfileId}/billingAssignments", +"request": { +"$ref": "BillingAssignment" +}, +"response": { +"$ref": "BillingAssignment" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +}, +"list": { +"description": "Retrieves a list of billing assignments.", +"flatPath": "userprofiles/{userprofilesId}/billingProfiles/{billingProfilesId}/billingAssignments", +"httpMethod": "GET", +"id": "dfareporting.billingAssignments.list", +"parameterOrder": [ +"profileId", +"billingProfileId" +], +"parameters": { +"billingProfileId": { +"description": "Billing profile ID of this billing assignment.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/billingProfiles/{+billingProfileId}/billingAssignments", +"response": { +"$ref": "BillingAssignmentsListResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +} +} +}, +"billingProfiles": { +"methods": { +"get": { +"description": "Gets one billing profile by ID.", +"flatPath": "userprofiles/{userprofilesId}/billingProfiles/{billingProfilesId}", +"httpMethod": "GET", +"id": "dfareporting.billingProfiles.get", +"parameterOrder": [ +"profileId", +"id" +], +"parameters": { +"id": { +"description": "Billing Profile ID.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/billingProfiles/{+id}", +"response": { +"$ref": "BillingProfile" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +}, +"list": { +"description": "Retrieves a list of billing profiles, possibly filtered. This method supports paging.", +"flatPath": "userprofiles/{userprofilesId}/billingProfiles", +"httpMethod": "GET", +"id": "dfareporting.billingProfiles.list", +"parameterOrder": [ +"profileId" +], +"parameters": { +"currency_code": { +"description": "Select only billing profile with currency.", +"location": "query", +"type": "string" +}, +"ids": { +"description": "Select only billing profile with these IDs.", +"format": "int64", +"location": "query", +"repeated": true, +"type": "string" +}, +"maxResults": { +"default": "1000", +"description": "Maximum number of results to return.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"name": { +"description": "Allows searching for billing profiles by name. Wildcards (*) are allowed. For example, \"profile*2020\" will return objects with names like \"profile June 2020\", \"profile April 2020\", or simply \"profile 2020\". Most of the searches also add wildcards implicitly at the start and the end of the search string. For example, a search string of \"profile\" will match objects with name \"my profile\", \"profile 2021\", or simply \"profile\".", +"location": "query", +"type": "string" +}, +"onlySuggestion": { +"description": "Select only billing profile which is suggested for the currency_code & subaccount_id using the Billing Suggestion API.", +"location": "query", +"type": "boolean" +}, +"pageToken": { +"description": "Value of the nextPageToken from the previous result page.", +"location": "query", +"type": "string" +}, +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"sortField": { +"default": "ID", +"description": "Field by which to sort the list.", +"enum": [ +"ID", +"NAME" +], +"enumDescriptions": [ +"", +"" +], +"location": "query", +"type": "string" +}, +"sortOrder": { +"default": "ASCENDING", +"description": "Order of sorted results.", +"enum": [ +"ASCENDING", +"DESCENDING" +], +"enumDescriptions": [ +"Ascending order.", +"Descending order." +], +"location": "query", +"type": "string" +}, +"status": { +"description": "Select only billing profile with the specified status.", +"enum": [ +"UNDER_REVIEW", +"ACTIVE", +"ARCHIVED" +], +"enumDescriptions": [ +"", +"", +"" +], +"location": "query", +"repeated": true, +"type": "string" +}, +"subaccountIds": { +"description": "Select only billing profile with the specified subaccount.When only_suggestion is true, only a single subaccount_id is supported.", +"format": "int64", +"location": "query", +"repeated": true, +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/billingProfiles", +"response": { +"$ref": "BillingProfilesListResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +}, +"update": { +"description": "Updates an existing billing profile.", +"flatPath": "userprofiles/{userprofilesId}/billingProfiles", +"httpMethod": "PUT", +"id": "dfareporting.billingProfiles.update", +"parameterOrder": [ +"profileId" +], +"parameters": { +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/billingProfiles", +"request": { +"$ref": "BillingProfile" +}, +"response": { +"$ref": "BillingProfile" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +} +} +}, +"billingRates": { +"methods": { +"list": { +"description": "Retrieves a list of billing rates. This method supports paging.", +"flatPath": "userprofiles/{userprofilesId}/billingProfiles/{billingProfilesId}/billingRates", +"httpMethod": "GET", +"id": "dfareporting.billingRates.list", +"parameterOrder": [ +"profileId", +"billingProfileId" +], +"parameters": { +"billingProfileId": { +"description": "Billing profile ID of this billing rate.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/billingProfiles/{+billingProfileId}/billingRates", +"response": { +"$ref": "BillingRatesListResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +} +} +}, +"browsers": { +"methods": { +"list": { +"description": "Retrieves a list of browsers.", +"flatPath": "userprofiles/{userprofilesId}/browsers", +"httpMethod": "GET", +"id": "dfareporting.browsers.list", +"parameterOrder": [ +"profileId" +], +"parameters": { +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/browsers", +"response": { +"$ref": "BrowsersListResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +} +} +}, +"campaignCreativeAssociations": { +"methods": { +"insert": { +"description": "Associates a creative with the specified campaign. This method creates a default ad with dimensions matching the creative in the campaign if such a default ad does not exist already.", +"flatPath": "userprofiles/{userprofilesId}/campaigns/{campaignsId}/campaignCreativeAssociations", +"httpMethod": "POST", +"id": "dfareporting.campaignCreativeAssociations.insert", +"parameterOrder": [ +"profileId", +"campaignId" +], +"parameters": { +"campaignId": { +"description": "Campaign ID in this association.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/campaigns/{+campaignId}/campaignCreativeAssociations", +"request": { +"$ref": "CampaignCreativeAssociation" +}, +"response": { +"$ref": "CampaignCreativeAssociation" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +}, +"list": { +"description": "Retrieves the list of creative IDs associated with the specified campaign. This method supports paging.", +"flatPath": "userprofiles/{userprofilesId}/campaigns/{campaignsId}/campaignCreativeAssociations", +"httpMethod": "GET", +"id": "dfareporting.campaignCreativeAssociations.list", +"parameterOrder": [ +"profileId", +"campaignId" +], +"parameters": { +"campaignId": { +"description": "Campaign ID in this association.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"maxResults": { +"default": "1000", +"description": "Maximum number of results to return.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Value of the nextPageToken from the previous result page.", +"location": "query", +"type": "string" +}, +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"sortOrder": { +"default": "ASCENDING", +"description": "Order of sorted results.", +"enum": [ +"ASCENDING", +"DESCENDING" +], +"enumDescriptions": [ +"Ascending order.", +"Descending order." +], +"location": "query", +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/campaigns/{+campaignId}/campaignCreativeAssociations", +"response": { +"$ref": "CampaignCreativeAssociationsListResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +} +} +}, +"campaigns": { +"methods": { +"get": { +"description": "Gets one campaign by ID.", +"flatPath": "userprofiles/{userprofilesId}/campaigns/{campaignsId}", +"httpMethod": "GET", +"id": "dfareporting.campaigns.get", +"parameterOrder": [ +"profileId", +"id" +], +"parameters": { +"id": { +"description": "Campaign ID.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/campaigns/{+id}", +"response": { +"$ref": "Campaign" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +}, +"insert": { +"description": "Inserts a new campaign.", +"flatPath": "userprofiles/{userprofilesId}/campaigns", +"httpMethod": "POST", +"id": "dfareporting.campaigns.insert", +"parameterOrder": [ +"profileId" +], +"parameters": { +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/campaigns", +"request": { +"$ref": "Campaign" +}, +"response": { +"$ref": "Campaign" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +}, +"list": { +"description": "Retrieves a list of campaigns, possibly filtered. This method supports paging.", +"flatPath": "userprofiles/{userprofilesId}/campaigns", +"httpMethod": "GET", +"id": "dfareporting.campaigns.list", +"parameterOrder": [ +"profileId" +], +"parameters": { +"advertiserGroupIds": { +"description": "Select only campaigns whose advertisers belong to these advertiser groups.", +"format": "int64", +"location": "query", +"repeated": true, +"type": "string" +}, +"advertiserIds": { +"description": "Select only campaigns that belong to these advertisers.", +"format": "int64", +"location": "query", +"repeated": true, +"type": "string" +}, +"archived": { +"description": "Select only archived campaigns. Don't set this field to select both archived and non-archived campaigns.", +"location": "query", +"type": "boolean" +}, +"atLeastOneOptimizationActivity": { +"description": "Select only campaigns that have at least one optimization activity.", +"location": "query", +"type": "boolean" +}, +"excludedIds": { +"description": "Exclude campaigns with these IDs.", +"format": "int64", +"location": "query", +"repeated": true, +"type": "string" +}, +"ids": { +"description": "Select only campaigns with these IDs.", +"format": "int64", +"location": "query", +"repeated": true, +"type": "string" +}, +"maxResults": { +"default": "1000", +"description": "Maximum number of results to return.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"overriddenEventTagId": { +"description": "Select only campaigns that have overridden this event tag ID.", +"format": "int64", +"location": "query", +"type": "string" +}, +"pageToken": { +"description": "Value of the nextPageToken from the previous result page.", +"location": "query", +"type": "string" +}, +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"searchString": { +"description": "Allows searching for campaigns by name or ID. Wildcards (*) are allowed. For example, \"campaign*2015\" will return campaigns with names like \"campaign June 2015\", \"campaign April 2015\", or simply \"campaign 2015\". Most of the searches also add wildcards implicitly at the start and the end of the search string. For example, a search string of \"campaign\" will match campaigns with name \"my campaign\", \"campaign 2015\", or simply \"campaign\".", +"location": "query", +"type": "string" +}, +"sortField": { +"default": "ID", +"description": "Field by which to sort the list.", +"enum": [ +"ID", +"NAME" +], +"enumDescriptions": [ +"", +"" +], +"location": "query", +"type": "string" +}, +"sortOrder": { +"default": "ASCENDING", +"description": "Order of sorted results.", +"enum": [ +"ASCENDING", +"DESCENDING" +], +"enumDescriptions": [ +"Ascending order.", +"Descending order." +], +"location": "query", +"type": "string" +}, +"subaccountId": { +"description": "Select only campaigns that belong to this subaccount.", +"format": "int64", +"location": "query", +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/campaigns", +"response": { +"$ref": "CampaignsListResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +}, +"patch": { +"description": "Updates an existing campaign. This method supports patch semantics.", +"flatPath": "userprofiles/{userprofilesId}/campaigns", +"httpMethod": "PATCH", +"id": "dfareporting.campaigns.patch", +"parameterOrder": [ +"profileId", +"id" +], +"parameters": { +"id": { +"description": "Required. Campaign ID.", +"format": "int64", +"location": "query", +"required": true, +"type": "string" +}, +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/campaigns", +"request": { +"$ref": "Campaign" +}, +"response": { +"$ref": "Campaign" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +}, +"update": { +"description": "Updates an existing campaign.", +"flatPath": "userprofiles/{userprofilesId}/campaigns", +"httpMethod": "PUT", +"id": "dfareporting.campaigns.update", +"parameterOrder": [ +"profileId" +], +"parameters": { +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/campaigns", +"request": { +"$ref": "Campaign" +}, +"response": { +"$ref": "Campaign" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +} +} +}, +"changeLogs": { +"methods": { +"get": { +"description": "Gets one change log by ID.", +"flatPath": "userprofiles/{userprofilesId}/changeLogs/{changeLogsId}", +"httpMethod": "GET", +"id": "dfareporting.changeLogs.get", +"parameterOrder": [ +"profileId", +"id" +], +"parameters": { +"id": { +"description": "Change log ID.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/changeLogs/{+id}", +"response": { +"$ref": "ChangeLog" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +}, +"list": { +"description": "Retrieves a list of change logs. This method supports paging.", +"flatPath": "userprofiles/{userprofilesId}/changeLogs", +"httpMethod": "GET", +"id": "dfareporting.changeLogs.list", +"parameterOrder": [ +"profileId" +], +"parameters": { +"action": { +"description": "Select only change logs with the specified action.", +"enum": [ +"ACTION_CREATE", +"ACTION_UPDATE", +"ACTION_DELETE", +"ACTION_ENABLE", +"ACTION_DISABLE", +"ACTION_ADD", +"ACTION_REMOVE", +"ACTION_MARK_AS_DEFAULT", +"ACTION_ASSOCIATE", +"ACTION_ASSIGN", +"ACTION_UNASSIGN", +"ACTION_SEND", +"ACTION_LINK", +"ACTION_UNLINK", +"ACTION_PUSH", +"ACTION_EMAIL_TAGS", +"ACTION_SHARE" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"" +], +"location": "query", +"type": "string" +}, +"ids": { +"description": "Select only change logs with these IDs.", +"format": "int64", +"location": "query", +"repeated": true, +"type": "string" +}, +"maxChangeTime": { +"description": "Select only change logs whose change time is before the specified maxChangeTime.The time should be formatted as an RFC3339 date/time string. For example, for 10:54 PM on July 18th, 2015, in the America/New York time zone, the format is \"2015-07-18T22:54:00-04:00\". In other words, the year, month, day, the letter T, the hour (24-hour clock system), minute, second, and then the time zone offset.", +"location": "query", +"type": "string" +}, +"maxResults": { +"default": "1000", +"description": "Maximum number of results to return.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"minChangeTime": { +"description": "Select only change logs whose change time is after the specified minChangeTime.The time should be formatted as an RFC3339 date/time string. For example, for 10:54 PM on July 18th, 2015, in the America/New York time zone, the format is \"2015-07-18T22:54:00-04:00\". In other words, the year, month, day, the letter T, the hour (24-hour clock system), minute, second, and then the time zone offset.", +"location": "query", +"type": "string" +}, +"objectIds": { +"description": "Select only change logs with these object IDs.", +"format": "int64", +"location": "query", +"repeated": true, +"type": "string" +}, +"objectType": { +"description": "Select only change logs with the specified object type.", +"enum": [ +"OBJECT_ADVERTISER", +"OBJECT_FLOODLIGHT_CONFIGURATION", +"OBJECT_AD", +"OBJECT_FLOODLIGHT_ACTVITY", +"OBJECT_CAMPAIGN", +"OBJECT_FLOODLIGHT_ACTIVITY_GROUP", +"OBJECT_CREATIVE", +"OBJECT_PLACEMENT", +"OBJECT_DFA_SITE", +"OBJECT_USER_ROLE", +"OBJECT_USER_PROFILE", +"OBJECT_ADVERTISER_GROUP", +"OBJECT_ACCOUNT", +"OBJECT_SUBACCOUNT", +"OBJECT_RICHMEDIA_CREATIVE", +"OBJECT_INSTREAM_CREATIVE", +"OBJECT_MEDIA_ORDER", +"OBJECT_CONTENT_CATEGORY", +"OBJECT_PLACEMENT_STRATEGY", +"OBJECT_SD_SITE", +"OBJECT_SIZE", +"OBJECT_CREATIVE_GROUP", +"OBJECT_CREATIVE_ASSET", +"OBJECT_USER_PROFILE_FILTER", +"OBJECT_LANDING_PAGE", +"OBJECT_CREATIVE_FIELD", +"OBJECT_REMARKETING_LIST", +"OBJECT_PROVIDED_LIST_CLIENT", +"OBJECT_EVENT_TAG", +"OBJECT_CREATIVE_BUNDLE", +"OBJECT_BILLING_ACCOUNT_GROUP", +"OBJECT_BILLING_FEATURE", +"OBJECT_RATE_CARD", +"OBJECT_ACCOUNT_BILLING_FEATURE", +"OBJECT_BILLING_MINIMUM_FEE", +"OBJECT_BILLING_PROFILE", +"OBJECT_PLAYSTORE_LINK", +"OBJECT_TARGETING_TEMPLATE", +"OBJECT_SEARCH_LIFT_STUDY", +"OBJECT_FLOODLIGHT_DV360_LINK", +"OBJECT_ADVERTISER_CUSTOMER_LINK", +"OBJECT_CONVERSION_DOMAIN", +"OBJECT_ACCOUNT_CONVERSION_DOMAIN" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"" +], +"location": "query", +"type": "string" +}, +"pageToken": { +"description": "Value of the nextPageToken from the previous result page.", +"location": "query", +"type": "string" +}, +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"searchString": { +"description": "Select only change logs whose object ID, user name, old or new values match the search string.", +"location": "query", +"type": "string" +}, +"userProfileIds": { +"description": "Select only change logs with these user profile IDs.", +"format": "int64", +"location": "query", +"repeated": true, +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/changeLogs", +"response": { +"$ref": "ChangeLogsListResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +} +} +}, +"cities": { +"methods": { +"list": { +"description": "Retrieves a list of cities, possibly filtered.", +"flatPath": "userprofiles/{userprofilesId}/cities", +"httpMethod": "GET", +"id": "dfareporting.cities.list", +"parameterOrder": [ +"profileId" +], +"parameters": { +"countryDartIds": { +"description": "Select only cities from these countries.", +"format": "int64", +"location": "query", +"repeated": true, +"type": "string" +}, +"dartIds": { +"description": "Select only cities with these DART IDs.", +"format": "int64", +"location": "query", +"repeated": true, +"type": "string" +}, +"namePrefix": { +"description": "Select only cities with names starting with this prefix.", +"location": "query", +"type": "string" +}, +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"regionDartIds": { +"description": "Select only cities from these regions.", +"format": "int64", +"location": "query", +"repeated": true, +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/cities", +"response": { +"$ref": "CitiesListResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +} +} +}, +"connectionTypes": { +"methods": { +"get": { +"description": "Gets one connection type by ID.", +"flatPath": "userprofiles/{userprofilesId}/connectionTypes/{connectionTypesId}", +"httpMethod": "GET", +"id": "dfareporting.connectionTypes.get", +"parameterOrder": [ +"profileId", +"id" +], +"parameters": { +"id": { +"description": "Connection type ID.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/connectionTypes/{+id}", +"response": { +"$ref": "ConnectionType" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +}, +"list": { +"description": "Retrieves a list of connection types.", +"flatPath": "userprofiles/{userprofilesId}/connectionTypes", +"httpMethod": "GET", +"id": "dfareporting.connectionTypes.list", +"parameterOrder": [ +"profileId" +], +"parameters": { +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/connectionTypes", +"response": { +"$ref": "ConnectionTypesListResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +} +} +}, +"contentCategories": { +"methods": { +"delete": { +"description": "Deletes an existing content category.", +"flatPath": "userprofiles/{userprofilesId}/contentCategories/{contentCategoriesId}", +"httpMethod": "DELETE", +"id": "dfareporting.contentCategories.delete", +"parameterOrder": [ +"profileId", +"id" +], +"parameters": { +"id": { +"description": "Content category ID.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/contentCategories/{+id}", +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +}, +"get": { +"description": "Gets one content category by ID.", +"flatPath": "userprofiles/{userprofilesId}/contentCategories/{contentCategoriesId}", +"httpMethod": "GET", +"id": "dfareporting.contentCategories.get", +"parameterOrder": [ +"profileId", +"id" +], +"parameters": { +"id": { +"description": "Content category ID.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/contentCategories/{+id}", +"response": { +"$ref": "ContentCategory" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +}, +"insert": { +"description": "Inserts a new content category.", +"flatPath": "userprofiles/{userprofilesId}/contentCategories", +"httpMethod": "POST", +"id": "dfareporting.contentCategories.insert", +"parameterOrder": [ +"profileId" +], +"parameters": { +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/contentCategories", +"request": { +"$ref": "ContentCategory" +}, +"response": { +"$ref": "ContentCategory" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +}, +"list": { +"description": "Retrieves a list of content categories, possibly filtered. This method supports paging.", +"flatPath": "userprofiles/{userprofilesId}/contentCategories", +"httpMethod": "GET", +"id": "dfareporting.contentCategories.list", +"parameterOrder": [ +"profileId" +], +"parameters": { +"ids": { +"description": "Select only content categories with these IDs.", +"format": "int64", +"location": "query", +"repeated": true, +"type": "string" +}, +"maxResults": { +"default": "1000", +"description": "Maximum number of results to return.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Value of the nextPageToken from the previous result page.", +"location": "query", +"type": "string" +}, +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"searchString": { +"description": "Allows searching for objects by name or ID. Wildcards (*) are allowed. For example, \"contentcategory*2015\" will return objects with names like \"contentcategory June 2015\", \"contentcategory April 2015\", or simply \"contentcategory 2015\". Most of the searches also add wildcards implicitly at the start and the end of the search string. For example, a search string of \"contentcategory\" will match objects with name \"my contentcategory\", \"contentcategory 2015\", or simply \"contentcategory\".", +"location": "query", +"type": "string" +}, +"sortField": { +"default": "ID", +"description": "Field by which to sort the list.", +"enum": [ +"ID", +"NAME" +], +"enumDescriptions": [ +"", +"" +], +"location": "query", +"type": "string" +}, +"sortOrder": { +"default": "ASCENDING", +"description": "Order of sorted results.", +"enum": [ +"ASCENDING", +"DESCENDING" +], +"enumDescriptions": [ +"Ascending order.", +"Descending order." +], +"location": "query", +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/contentCategories", +"response": { +"$ref": "ContentCategoriesListResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +}, +"patch": { +"description": "Updates an existing content category. This method supports patch semantics.", +"flatPath": "userprofiles/{userprofilesId}/contentCategories", +"httpMethod": "PATCH", +"id": "dfareporting.contentCategories.patch", +"parameterOrder": [ +"profileId", +"id" +], +"parameters": { +"id": { +"description": "Required. ContentCategory ID.", +"format": "int64", +"location": "query", +"required": true, +"type": "string" +}, +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/contentCategories", +"request": { +"$ref": "ContentCategory" +}, +"response": { +"$ref": "ContentCategory" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +}, +"update": { +"description": "Updates an existing content category.", +"flatPath": "userprofiles/{userprofilesId}/contentCategories", +"httpMethod": "PUT", +"id": "dfareporting.contentCategories.update", +"parameterOrder": [ +"profileId" +], +"parameters": { +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/contentCategories", +"request": { +"$ref": "ContentCategory" +}, +"response": { +"$ref": "ContentCategory" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +} +} +}, +"conversions": { +"methods": { +"batchinsert": { +"description": "Inserts conversions.", +"flatPath": "userprofiles/{profileId}/conversions/batchinsert", +"httpMethod": "POST", +"id": "dfareporting.conversions.batchinsert", +"parameterOrder": [ +"profileId" +], +"parameters": { +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "userprofiles/{profileId}/conversions/batchinsert", +"request": { +"$ref": "ConversionsBatchInsertRequest" +}, +"response": { +"$ref": "ConversionsBatchInsertResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/ddmconversions" +] +}, +"batchupdate": { +"description": "Updates existing conversions.", +"flatPath": "userprofiles/{profileId}/conversions/batchupdate", +"httpMethod": "POST", +"id": "dfareporting.conversions.batchupdate", +"parameterOrder": [ +"profileId" +], +"parameters": { +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "userprofiles/{profileId}/conversions/batchupdate", +"request": { +"$ref": "ConversionsBatchUpdateRequest" +}, +"response": { +"$ref": "ConversionsBatchUpdateResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/ddmconversions" +] +} +} +}, +"countries": { +"methods": { +"get": { +"description": "Gets one country by ID.", +"flatPath": "userprofiles/{userprofilesId}/countries/{countriesId}", +"httpMethod": "GET", +"id": "dfareporting.countries.get", +"parameterOrder": [ +"profileId", +"dartId" +], +"parameters": { +"dartId": { +"description": "Country DART ID.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/countries/{+dartId}", +"response": { +"$ref": "Country" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +}, +"list": { +"description": "Retrieves a list of countries.", +"flatPath": "userprofiles/{userprofilesId}/countries", +"httpMethod": "GET", +"id": "dfareporting.countries.list", +"parameterOrder": [ +"profileId" +], +"parameters": { +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/countries", +"response": { +"$ref": "CountriesListResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +} +} +}, +"creativeAssets": { +"methods": { +"insert": { +"description": "Inserts a new creative asset.", +"flatPath": "userprofiles/{userprofilesId}/creativeAssets/{creativeAssetsId}/creativeAssets", +"httpMethod": "POST", +"id": "dfareporting.creativeAssets.insert", +"mediaUpload": { +"accept": [ +"*/*" +], +"maxSize": "1073741824", +"protocols": { +"simple": { +"multipart": true, +"path": "/upload/dfareporting/v4/userprofiles/{+profileId}/creativeAssets/{+advertiserId}/creativeAssets" +} +} +}, +"parameterOrder": [ +"profileId", +"advertiserId" +], +"parameters": { +"advertiserId": { +"description": "Advertiser ID of this creative. This is a required field.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/creativeAssets/{+advertiserId}/creativeAssets", +"request": { +"$ref": "CreativeAssetMetadata" +}, +"response": { +"$ref": "CreativeAssetMetadata" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +], +"supportsMediaUpload": true +} +} +}, +"creativeFieldValues": { +"methods": { +"delete": { +"description": "Deletes an existing creative field value.", +"flatPath": "userprofiles/{userprofilesId}/creativeFields/{creativeFieldsId}/creativeFieldValues/{creativeFieldValuesId}", +"httpMethod": "DELETE", +"id": "dfareporting.creativeFieldValues.delete", +"parameterOrder": [ +"profileId", +"creativeFieldId", +"id" +], +"parameters": { +"creativeFieldId": { +"description": "Creative field ID for this creative field value.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"id": { +"description": "Creative Field Value ID", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/creativeFields/{+creativeFieldId}/creativeFieldValues/{+id}", +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +}, +"get": { +"description": "Gets one creative field value by ID.", +"flatPath": "userprofiles/{userprofilesId}/creativeFields/{creativeFieldsId}/creativeFieldValues/{creativeFieldValuesId}", +"httpMethod": "GET", +"id": "dfareporting.creativeFieldValues.get", +"parameterOrder": [ +"profileId", +"creativeFieldId", +"id" +], +"parameters": { +"creativeFieldId": { +"description": "Creative field ID for this creative field value.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"id": { +"description": "Creative Field Value ID", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/creativeFields/{+creativeFieldId}/creativeFieldValues/{+id}", +"response": { +"$ref": "CreativeFieldValue" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +}, +"insert": { +"description": "Inserts a new creative field value.", +"flatPath": "userprofiles/{userprofilesId}/creativeFields/{creativeFieldsId}/creativeFieldValues", +"httpMethod": "POST", +"id": "dfareporting.creativeFieldValues.insert", +"parameterOrder": [ +"profileId", +"creativeFieldId" +], +"parameters": { +"creativeFieldId": { +"description": "Creative field ID for this creative field value.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/creativeFields/{+creativeFieldId}/creativeFieldValues", +"request": { +"$ref": "CreativeFieldValue" +}, +"response": { +"$ref": "CreativeFieldValue" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +}, +"list": { +"description": "Retrieves a list of creative field values, possibly filtered. This method supports paging.", +"flatPath": "userprofiles/{userprofilesId}/creativeFields/{creativeFieldsId}/creativeFieldValues", +"httpMethod": "GET", +"id": "dfareporting.creativeFieldValues.list", +"parameterOrder": [ +"profileId", +"creativeFieldId" +], +"parameters": { +"creativeFieldId": { +"description": "Creative field ID for this creative field value.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"ids": { +"description": "Select only creative field values with these IDs.", +"format": "int64", +"location": "query", +"repeated": true, +"type": "string" +}, +"maxResults": { +"default": "1000", +"description": "Maximum number of results to return.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Value of the nextPageToken from the previous result page.", +"location": "query", +"type": "string" +}, +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"searchString": { +"description": "Allows searching for creative field values by their values. Wildcards (e.g. *) are not allowed.", +"location": "query", +"type": "string" +}, +"sortField": { +"default": "ID", +"description": "Field by which to sort the list.", +"enum": [ +"ID", +"VALUE" +], +"enumDescriptions": [ +"", +"" +], +"location": "query", +"type": "string" +}, +"sortOrder": { +"default": "ASCENDING", +"description": "Order of sorted results.", +"enum": [ +"ASCENDING", +"DESCENDING" +], +"enumDescriptions": [ +"Ascending order.", +"Descending order." +], +"location": "query", +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/creativeFields/{+creativeFieldId}/creativeFieldValues", +"response": { +"$ref": "CreativeFieldValuesListResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +}, +"patch": { +"description": "Updates an existing creative field value. This method supports patch semantics.", +"flatPath": "userprofiles/{userprofilesId}/creativeFields/{creativeFieldsId}/creativeFieldValues", +"httpMethod": "PATCH", +"id": "dfareporting.creativeFieldValues.patch", +"parameterOrder": [ +"profileId", +"creativeFieldId", +"id" +], +"parameters": { +"creativeFieldId": { +"description": "CreativeField ID.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"id": { +"description": "CreativeFieldValue ID.", +"format": "int64", +"location": "query", +"required": true, +"type": "string" +}, +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/creativeFields/{+creativeFieldId}/creativeFieldValues", +"request": { +"$ref": "CreativeFieldValue" +}, +"response": { +"$ref": "CreativeFieldValue" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +}, +"update": { +"description": "Updates an existing creative field value.", +"flatPath": "userprofiles/{userprofilesId}/creativeFields/{creativeFieldsId}/creativeFieldValues", +"httpMethod": "PUT", +"id": "dfareporting.creativeFieldValues.update", +"parameterOrder": [ +"profileId", +"creativeFieldId" +], +"parameters": { +"creativeFieldId": { +"description": "Creative field ID for this creative field value.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/creativeFields/{+creativeFieldId}/creativeFieldValues", +"request": { +"$ref": "CreativeFieldValue" +}, +"response": { +"$ref": "CreativeFieldValue" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +} +} +}, +"creativeFields": { +"methods": { +"delete": { +"description": "Deletes an existing creative field.", +"flatPath": "userprofiles/{userprofilesId}/creativeFields/{creativeFieldsId}", +"httpMethod": "DELETE", +"id": "dfareporting.creativeFields.delete", +"parameterOrder": [ +"profileId", +"id" +], +"parameters": { +"id": { +"description": "Creative Field ID", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/creativeFields/{+id}", +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +}, +"get": { +"description": "Gets one creative field by ID.", +"flatPath": "userprofiles/{userprofilesId}/creativeFields/{creativeFieldsId}", +"httpMethod": "GET", +"id": "dfareporting.creativeFields.get", +"parameterOrder": [ +"profileId", +"id" +], +"parameters": { +"id": { +"description": "Creative Field ID", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/creativeFields/{+id}", +"response": { +"$ref": "CreativeField" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +}, +"insert": { +"description": "Inserts a new creative field.", +"flatPath": "userprofiles/{userprofilesId}/creativeFields", +"httpMethod": "POST", +"id": "dfareporting.creativeFields.insert", +"parameterOrder": [ +"profileId" +], +"parameters": { +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/creativeFields", +"request": { +"$ref": "CreativeField" +}, +"response": { +"$ref": "CreativeField" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +}, +"list": { +"description": "Retrieves a list of creative fields, possibly filtered. This method supports paging.", +"flatPath": "userprofiles/{userprofilesId}/creativeFields", +"httpMethod": "GET", +"id": "dfareporting.creativeFields.list", +"parameterOrder": [ +"profileId" +], +"parameters": { +"advertiserIds": { +"description": "Select only creative fields that belong to these advertisers.", +"format": "int64", +"location": "query", +"repeated": true, +"type": "string" +}, +"ids": { +"description": "Select only creative fields with these IDs.", +"format": "int64", +"location": "query", +"repeated": true, +"type": "string" +}, +"maxResults": { +"default": "1000", +"description": "Maximum number of results to return.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Value of the nextPageToken from the previous result page.", +"location": "query", +"type": "string" +}, +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"searchString": { +"description": "Allows searching for creative fields by name or ID. Wildcards (*) are allowed. For example, \"creativefield*2015\" will return creative fields with names like \"creativefield June 2015\", \"creativefield April 2015\", or simply \"creativefield 2015\". Most of the searches also add wild-cards implicitly at the start and the end of the search string. For example, a search string of \"creativefield\" will match creative fields with the name \"my creativefield\", \"creativefield 2015\", or simply \"creativefield\".", +"location": "query", +"type": "string" +}, +"sortField": { +"default": "ID", +"description": "Field by which to sort the list.", +"enum": [ +"ID", +"NAME" +], +"enumDescriptions": [ +"", +"" +], +"location": "query", +"type": "string" +}, +"sortOrder": { +"default": "ASCENDING", +"description": "Order of sorted results.", +"enum": [ +"ASCENDING", +"DESCENDING" +], +"enumDescriptions": [ +"Ascending order.", +"Descending order." +], +"location": "query", +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/creativeFields", +"response": { +"$ref": "CreativeFieldsListResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +}, +"patch": { +"description": "Updates an existing creative field. This method supports patch semantics.", +"flatPath": "userprofiles/{userprofilesId}/creativeFields", +"httpMethod": "PATCH", +"id": "dfareporting.creativeFields.patch", +"parameterOrder": [ +"profileId", +"id" +], +"parameters": { +"id": { +"description": "CreativeField ID.", +"format": "int64", +"location": "query", +"required": true, +"type": "string" +}, +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/creativeFields", +"request": { +"$ref": "CreativeField" +}, +"response": { +"$ref": "CreativeField" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +}, +"update": { +"description": "Updates an existing creative field.", +"flatPath": "userprofiles/{userprofilesId}/creativeFields", +"httpMethod": "PUT", +"id": "dfareporting.creativeFields.update", +"parameterOrder": [ +"profileId" +], +"parameters": { +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/creativeFields", +"request": { +"$ref": "CreativeField" +}, +"response": { +"$ref": "CreativeField" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +} +} +}, +"creativeGroups": { +"methods": { +"get": { +"description": "Gets one creative group by ID.", +"flatPath": "userprofiles/{userprofilesId}/creativeGroups/{creativeGroupsId}", +"httpMethod": "GET", +"id": "dfareporting.creativeGroups.get", +"parameterOrder": [ +"profileId", +"id" +], +"parameters": { +"id": { +"description": "Creative group ID.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/creativeGroups/{+id}", +"response": { +"$ref": "CreativeGroup" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +}, +"insert": { +"description": "Inserts a new creative group.", +"flatPath": "userprofiles/{userprofilesId}/creativeGroups", +"httpMethod": "POST", +"id": "dfareporting.creativeGroups.insert", +"parameterOrder": [ +"profileId" +], +"parameters": { +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/creativeGroups", +"request": { +"$ref": "CreativeGroup" +}, +"response": { +"$ref": "CreativeGroup" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +}, +"list": { +"description": "Retrieves a list of creative groups, possibly filtered. This method supports paging.", +"flatPath": "userprofiles/{userprofilesId}/creativeGroups", +"httpMethod": "GET", +"id": "dfareporting.creativeGroups.list", +"parameterOrder": [ +"profileId" +], +"parameters": { +"advertiserIds": { +"description": "Select only creative groups that belong to these advertisers.", +"format": "int64", +"location": "query", +"repeated": true, +"type": "string" +}, +"groupNumber": { +"description": "Select only creative groups that belong to this subgroup.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"ids": { +"description": "Select only creative groups with these IDs.", +"format": "int64", +"location": "query", +"repeated": true, +"type": "string" +}, +"maxResults": { +"default": "1000", +"description": "Maximum number of results to return.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Value of the nextPageToken from the previous result page.", +"location": "query", +"type": "string" +}, +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"searchString": { +"description": "Allows searching for creative groups by name or ID. Wildcards (*) are allowed. For example, \"creativegroup*2015\" will return creative groups with names like \"creativegroup June 2015\", \"creativegroup April 2015\", or simply \"creativegroup 2015\". Most of the searches also add wild-cards implicitly at the start and the end of the search string. For example, a search string of \"creativegroup\" will match creative groups with the name \"my creativegroup\", \"creativegroup 2015\", or simply \"creativegroup\".", +"location": "query", +"type": "string" +}, +"sortField": { +"default": "ID", +"description": "Field by which to sort the list.", +"enum": [ +"ID", +"NAME" +], +"enumDescriptions": [ +"", +"" +], +"location": "query", +"type": "string" +}, +"sortOrder": { +"default": "ASCENDING", +"description": "Order of sorted results.", +"enum": [ +"ASCENDING", +"DESCENDING" +], +"enumDescriptions": [ +"Ascending order.", +"Descending order." +], +"location": "query", +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/creativeGroups", +"response": { +"$ref": "CreativeGroupsListResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +}, +"patch": { +"description": "Updates an existing creative group. This method supports patch semantics.", +"flatPath": "userprofiles/{userprofilesId}/creativeGroups", +"httpMethod": "PATCH", +"id": "dfareporting.creativeGroups.patch", +"parameterOrder": [ +"profileId", +"id" +], +"parameters": { +"id": { +"description": "Required. Creative Group ID.", +"format": "int64", +"location": "query", +"required": true, +"type": "string" +}, +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/creativeGroups", +"request": { +"$ref": "CreativeGroup" +}, +"response": { +"$ref": "CreativeGroup" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +}, +"update": { +"description": "Updates an existing creative group.", +"flatPath": "userprofiles/{userprofilesId}/creativeGroups", +"httpMethod": "PUT", +"id": "dfareporting.creativeGroups.update", +"parameterOrder": [ +"profileId" +], +"parameters": { +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/creativeGroups", +"request": { +"$ref": "CreativeGroup" +}, +"response": { +"$ref": "CreativeGroup" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +} +} +}, +"creatives": { +"methods": { +"get": { +"description": "Gets one creative by ID.", +"flatPath": "userprofiles/{userprofilesId}/creatives/{creativesId}", +"httpMethod": "GET", +"id": "dfareporting.creatives.get", +"parameterOrder": [ +"profileId", +"id" +], +"parameters": { +"id": { +"description": "Creative ID.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/creatives/{+id}", +"response": { +"$ref": "Creative" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +}, +"insert": { +"description": "Inserts a new creative.", +"flatPath": "userprofiles/{userprofilesId}/creatives", +"httpMethod": "POST", +"id": "dfareporting.creatives.insert", +"parameterOrder": [ +"profileId" +], +"parameters": { +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/creatives", +"request": { +"$ref": "Creative" +}, +"response": { +"$ref": "Creative" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +}, +"list": { +"description": "Retrieves a list of creatives, possibly filtered. This method supports paging.", +"flatPath": "userprofiles/{userprofilesId}/creatives", +"httpMethod": "GET", +"id": "dfareporting.creatives.list", +"parameterOrder": [ +"profileId" +], +"parameters": { +"active": { +"description": "Select only active creatives. Leave blank to select active and inactive creatives.", +"location": "query", +"type": "boolean" +}, +"advertiserId": { +"description": "Select only creatives with this advertiser ID.", +"format": "int64", +"location": "query", +"type": "string" +}, +"archived": { +"description": "Select only archived creatives. Leave blank to select archived and unarchived creatives.", +"location": "query", +"type": "boolean" +}, +"campaignId": { +"description": "Select only creatives with this campaign ID.", +"format": "int64", +"location": "query", +"type": "string" +}, +"companionCreativeIds": { +"description": "Select only in-stream video creatives with these companion IDs.", +"format": "int64", +"location": "query", +"repeated": true, +"type": "string" +}, +"creativeFieldIds": { +"description": "Select only creatives with these creative field IDs.", +"format": "int64", +"location": "query", +"repeated": true, +"type": "string" +}, +"ids": { +"description": "Select only creatives with these IDs.", +"format": "int64", +"location": "query", +"repeated": true, +"type": "string" +}, +"maxResults": { +"default": "1000", +"description": "Maximum number of results to return.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Value of the nextPageToken from the previous result page.", +"location": "query", +"type": "string" +}, +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"renderingIds": { +"description": "Select only creatives with these rendering IDs.", +"format": "int64", +"location": "query", +"repeated": true, +"type": "string" +}, +"searchString": { +"description": "Allows searching for objects by name or ID. Wildcards (*) are allowed. For example, \"creative*2015\" will return objects with names like \"creative June 2015\", \"creative April 2015\", or simply \"creative 2015\". Most of the searches also add wildcards implicitly at the start and the end of the search string. For example, a search string of \"creative\" will match objects with name \"my creative\", \"creative 2015\", or simply \"creative\".", +"location": "query", +"type": "string" +}, +"sizeIds": { +"description": "Select only creatives with these size IDs.", +"format": "int64", +"location": "query", +"repeated": true, +"type": "string" +}, +"sortField": { +"default": "ID", +"description": "Field by which to sort the list.", +"enum": [ +"ID", +"NAME" +], +"enumDescriptions": [ +"", +"" +], +"location": "query", +"type": "string" +}, +"sortOrder": { +"default": "ASCENDING", +"description": "Order of sorted results.", +"enum": [ +"ASCENDING", +"DESCENDING" +], +"enumDescriptions": [ +"Ascending order.", +"Descending order." +], +"location": "query", +"type": "string" +}, +"studioCreativeId": { +"description": "Select only creatives corresponding to this Studio creative ID.", +"format": "int64", +"location": "query", +"type": "string" +}, +"types": { +"description": "Select only creatives with these creative types.", +"enum": [ +"IMAGE", +"DISPLAY_REDIRECT", +"CUSTOM_DISPLAY", +"INTERNAL_REDIRECT", +"CUSTOM_DISPLAY_INTERSTITIAL", +"INTERSTITIAL_INTERNAL_REDIRECT", +"TRACKING_TEXT", +"RICH_MEDIA_DISPLAY_BANNER", +"RICH_MEDIA_INPAGE_FLOATING", +"RICH_MEDIA_IM_EXPAND", +"RICH_MEDIA_DISPLAY_EXPANDING", +"RICH_MEDIA_DISPLAY_INTERSTITIAL", +"RICH_MEDIA_DISPLAY_MULTI_FLOATING_INTERSTITIAL", +"RICH_MEDIA_MOBILE_IN_APP", +"FLASH_INPAGE", +"INSTREAM_VIDEO", +"VPAID_LINEAR_VIDEO", +"VPAID_NON_LINEAR_VIDEO", +"INSTREAM_VIDEO_REDIRECT", +"RICH_MEDIA_PEEL_DOWN", +"HTML5_BANNER", +"DISPLAY", +"DISPLAY_IMAGE_GALLERY", +"BRAND_SAFE_DEFAULT_INSTREAM_VIDEO", +"INSTREAM_AUDIO" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"" +], +"location": "query", +"repeated": true, +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/creatives", +"response": { +"$ref": "CreativesListResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +}, +"patch": { +"description": "Updates an existing creative. This method supports patch semantics.", +"flatPath": "userprofiles/{userprofilesId}/creatives", +"httpMethod": "PATCH", +"id": "dfareporting.creatives.patch", +"parameterOrder": [ +"profileId", +"id" +], +"parameters": { +"id": { +"description": "Required. Creative ID.", +"format": "int64", +"location": "query", +"required": true, +"type": "string" +}, +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/creatives", +"request": { +"$ref": "Creative" +}, +"response": { +"$ref": "Creative" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +}, +"update": { +"description": "Updates an existing creative.", +"flatPath": "userprofiles/{userprofilesId}/creatives", +"httpMethod": "PUT", +"id": "dfareporting.creatives.update", +"parameterOrder": [ +"profileId" +], +"parameters": { +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/creatives", +"request": { +"$ref": "Creative" +}, +"response": { +"$ref": "Creative" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +} +} +}, +"dimensionValues": { +"methods": { +"query": { +"description": "Retrieves list of report dimension values for a list of filters.", +"flatPath": "userprofiles/{profileId}/dimensionvalues/query", +"httpMethod": "POST", +"id": "dfareporting.dimensionValues.query", +"parameterOrder": [ +"profileId" +], +"parameters": { +"maxResults": { +"default": "100", +"description": "Maximum number of results to return.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The value of the nextToken from the previous result page.", +"location": "query", +"type": "string" +}, +"profileId": { +"description": "The Campaign Manager 360 user profile ID.", +"format": "int64", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "userprofiles/{profileId}/dimensionvalues/query", +"request": { +"$ref": "DimensionValueRequest" +}, +"response": { +"$ref": "DimensionValueList" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfareporting" +] +} +} +}, +"directorySites": { +"methods": { +"get": { +"description": "Gets one directory site by ID.", +"flatPath": "userprofiles/{userprofilesId}/directorySites/{directorySitesId}", +"httpMethod": "GET", +"id": "dfareporting.directorySites.get", +"parameterOrder": [ +"profileId", +"id" +], +"parameters": { +"id": { +"description": "Directory site ID.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/directorySites/{+id}", +"response": { +"$ref": "DirectorySite" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +}, +"insert": { +"description": "Inserts a new directory site.", +"flatPath": "userprofiles/{userprofilesId}/directorySites", +"httpMethod": "POST", +"id": "dfareporting.directorySites.insert", +"parameterOrder": [ +"profileId" +], +"parameters": { +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/directorySites", +"request": { +"$ref": "DirectorySite" +}, +"response": { +"$ref": "DirectorySite" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +}, +"list": { +"description": "Retrieves a list of directory sites, possibly filtered. This method supports paging.", +"flatPath": "userprofiles/{userprofilesId}/directorySites", +"httpMethod": "GET", +"id": "dfareporting.directorySites.list", +"parameterOrder": [ +"profileId" +], +"parameters": { +"acceptsInStreamVideoPlacements": { +"description": "This search filter is no longer supported and will have no effect on the results returned.", +"location": "query", +"type": "boolean" +}, +"acceptsInterstitialPlacements": { +"description": "This search filter is no longer supported and will have no effect on the results returned.", +"location": "query", +"type": "boolean" +}, +"acceptsPublisherPaidPlacements": { +"description": "Select only directory sites that accept publisher paid placements. This field can be left blank.", +"location": "query", +"type": "boolean" +}, +"active": { +"description": "Select only active directory sites. Leave blank to retrieve both active and inactive directory sites.", +"location": "query", +"type": "boolean" +}, +"dfpNetworkCode": { +"description": "Select only directory sites with this Ad Manager network code.", +"location": "query", +"type": "string" +}, +"ids": { +"description": "Select only directory sites with these IDs.", +"format": "int64", +"location": "query", +"repeated": true, +"type": "string" +}, +"maxResults": { +"default": "1000", +"description": "Maximum number of results to return.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Value of the nextPageToken from the previous result page.", +"location": "query", +"type": "string" +}, +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"searchString": { +"description": "Allows searching for objects by name, ID or URL. Wildcards (*) are allowed. For example, \"directory site*2015\" will return objects with names like \"directory site June 2015\", \"directory site April 2015\", or simply \"directory site 2015\". Most of the searches also add wildcards implicitly at the start and the end of the search string. For example, a search string of \"directory site\" will match objects with name \"my directory site\", \"directory site 2015\" or simply, \"directory site\".", +"location": "query", +"type": "string" +}, +"sortField": { +"default": "ID", +"description": "Field by which to sort the list.", +"enum": [ +"ID", +"NAME" +], +"enumDescriptions": [ +"", +"" +], +"location": "query", +"type": "string" +}, +"sortOrder": { +"default": "ASCENDING", +"description": "Order of sorted results.", +"enum": [ +"ASCENDING", +"DESCENDING" +], +"enumDescriptions": [ +"Ascending order.", +"Descending order." +], +"location": "query", +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/directorySites", +"response": { +"$ref": "DirectorySitesListResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +} +} +}, +"dynamicFeeds": { +"methods": { +"get": { +"description": "Gets a dynamic feed by ID.", +"flatPath": "studio/dynamicFeeds/{dynamicFeedsId}", +"httpMethod": "GET", +"id": "dfareporting.dynamicFeeds.get", +"parameterOrder": [ +"dynamicFeedId" +], +"parameters": { +"dynamicFeedId": { +"description": "Required. Dynamic feed ID.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "studio/dynamicFeeds/{+dynamicFeedId}", +"response": { +"$ref": "DynamicFeed" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +}, +"insert": { +"description": "Inserts a new dynamic feed.", +"flatPath": "studio/dynamicFeeds", +"httpMethod": "POST", +"id": "dfareporting.dynamicFeeds.insert", +"parameterOrder": [], +"parameters": {}, +"path": "studio/dynamicFeeds", +"request": { +"$ref": "DynamicFeedsInsertRequest" +}, +"response": { +"$ref": "DynamicFeed" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +}, +"retransform": { +"description": "Retransforms a dynamic feed. Only draft feeds can be retransformed (i.e. the feed has not been published).", +"flatPath": "studio/dynamicFeeds/{dynamicFeedsId}/retransform", +"httpMethod": "POST", +"id": "dfareporting.dynamicFeeds.retransform", +"parameterOrder": [ +"dynamicFeedId" +], +"parameters": { +"dynamicFeedId": { +"description": "Required. Dynamic feed ID.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "studio/dynamicFeeds/{+dynamicFeedId}/retransform", +"response": { +"$ref": "DynamicFeed" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +}, +"update": { +"description": "Updates a new dynamic feed. For draft feeds, only Element can be updated. For published feeds, only FeedSchedule can be updated. Other fields will be ignored.", +"flatPath": "studio/dynamicFeeds", +"httpMethod": "PUT", +"id": "dfareporting.dynamicFeeds.update", +"parameterOrder": [], +"parameters": {}, +"path": "studio/dynamicFeeds", +"request": { +"$ref": "DynamicFeed" +}, +"response": { +"$ref": "DynamicFeed" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +} +} +}, +"dynamicProfiles": { +"methods": { +"generateCode": { +"description": "Generates code for a dynamic profile, which will need unescaping.", +"flatPath": "studio/dynamicProfiles/{dynamicProfilesId}/generateCode", +"httpMethod": "GET", +"id": "dfareporting.dynamicProfiles.generateCode", +"parameterOrder": [ +"dynamicProfileId" +], +"parameters": { +"dynamicProfileId": { +"description": "Required. Dynamic profile ID.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "studio/dynamicProfiles/{+dynamicProfileId}/generateCode", +"response": { +"$ref": "DynamicProfileGenerateCodeResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +}, +"get": { +"description": "Gets a dynamic profile by ID.", +"flatPath": "studio/dynamicProfiles/{dynamicProfilesId}", +"httpMethod": "GET", +"id": "dfareporting.dynamicProfiles.get", +"parameterOrder": [ +"dynamicProfileId" +], +"parameters": { +"dynamicProfileId": { +"description": "Required. Dynamic profile ID.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "studio/dynamicProfiles/{+dynamicProfileId}", +"response": { +"$ref": "DynamicProfile" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +}, +"insert": { +"description": "Inserts a new dynamic profile.", +"flatPath": "studio/dynamicProfiles", +"httpMethod": "POST", +"id": "dfareporting.dynamicProfiles.insert", +"parameterOrder": [], +"parameters": {}, +"path": "studio/dynamicProfiles", +"request": { +"$ref": "DynamicProfile" +}, +"response": { +"$ref": "DynamicProfile" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +}, +"publish": { +"description": "Publish for a dynamic profile.", +"flatPath": "studio/dynamicProfiles/{dynamicProfilesId}/publish", +"httpMethod": "POST", +"id": "dfareporting.dynamicProfiles.publish", +"parameterOrder": [ +"dynamicProfileId" +], +"parameters": { +"dynamicProfileId": { +"description": "Required. Dynamic profile ID.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "studio/dynamicProfiles/{+dynamicProfileId}/publish", +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +}, +"update": { +"description": "Updates an existing dynamic profile.", +"flatPath": "studio/dynamicProfiles", +"httpMethod": "PUT", +"id": "dfareporting.dynamicProfiles.update", +"parameterOrder": [], +"parameters": {}, +"path": "studio/dynamicProfiles", +"request": { +"$ref": "DynamicProfile" +}, +"response": { +"$ref": "DynamicProfile" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +} +} +}, +"dynamicTargetingKeys": { +"methods": { +"delete": { +"description": "Deletes an existing dynamic targeting key.", +"flatPath": "userprofiles/{userprofilesId}/dynamicTargetingKeys/{dynamicTargetingKeysId}", +"httpMethod": "DELETE", +"id": "dfareporting.dynamicTargetingKeys.delete", +"parameterOrder": [ +"profileId", +"objectId", +"name", +"objectType" +], +"parameters": { +"name": { +"description": "Required. Name of this dynamic targeting key. This is a required field. Must be less than 256 characters long and cannot contain commas. All characters are converted to lowercase.", +"location": "query", +"required": true, +"type": "string" +}, +"objectId": { +"description": "ID of the object of this dynamic targeting key. This is a required field.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"objectType": { +"description": "Required. Type of the object of this dynamic targeting key. This is a required field.", +"enum": [ +"OBJECT_ADVERTISER", +"OBJECT_AD", +"OBJECT_CREATIVE", +"OBJECT_PLACEMENT" +], +"enumDescriptions": [ +"", +"", +"", +"" +], +"location": "query", +"required": true, +"type": "string" +}, +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/dynamicTargetingKeys/{+objectId}", +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +}, +"insert": { +"description": "Inserts a new dynamic targeting key. Keys must be created at the advertiser level before being assigned to the advertiser's ads, creatives, or placements. There is a maximum of 1000 keys per advertiser, out of which a maximum of 20 keys can be assigned per ad, creative, or placement.", +"flatPath": "userprofiles/{userprofilesId}/dynamicTargetingKeys", +"httpMethod": "POST", +"id": "dfareporting.dynamicTargetingKeys.insert", +"parameterOrder": [ +"profileId" +], +"parameters": { +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/dynamicTargetingKeys", +"request": { +"$ref": "DynamicTargetingKey" +}, +"response": { +"$ref": "DynamicTargetingKey" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +}, +"list": { +"description": "Retrieves a list of dynamic targeting keys.", +"flatPath": "userprofiles/{userprofilesId}/dynamicTargetingKeys", +"httpMethod": "GET", +"id": "dfareporting.dynamicTargetingKeys.list", +"parameterOrder": [ +"profileId" +], +"parameters": { +"advertiserId": { +"description": "Select only dynamic targeting keys whose object has this advertiser ID.", +"format": "int64", +"location": "query", +"type": "string" +}, +"names": { +"description": "Select only dynamic targeting keys exactly matching these names.", +"location": "query", +"repeated": true, +"type": "string" +}, +"objectId": { +"description": "Select only dynamic targeting keys with this object ID.", +"format": "int64", +"location": "query", +"type": "string" +}, +"objectType": { +"description": "Select only dynamic targeting keys with this object type.", +"enum": [ +"OBJECT_ADVERTISER", +"OBJECT_AD", +"OBJECT_CREATIVE", +"OBJECT_PLACEMENT" +], +"enumDescriptions": [ +"", +"", +"", +"" +], +"location": "query", +"type": "string" +}, +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/dynamicTargetingKeys", +"response": { +"$ref": "DynamicTargetingKeysListResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +} +} +}, +"eventTags": { +"methods": { +"delete": { +"description": "Deletes an existing event tag.", +"flatPath": "userprofiles/{userprofilesId}/eventTags/{eventTagsId}", +"httpMethod": "DELETE", +"id": "dfareporting.eventTags.delete", +"parameterOrder": [ +"profileId", +"id" +], +"parameters": { +"id": { +"description": "Event tag ID.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/eventTags/{+id}", +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +}, +"get": { +"description": "Gets one event tag by ID.", +"flatPath": "userprofiles/{userprofilesId}/eventTags/{eventTagsId}", +"httpMethod": "GET", +"id": "dfareporting.eventTags.get", +"parameterOrder": [ +"profileId", +"id" +], +"parameters": { +"id": { +"description": "Event tag ID.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/eventTags/{+id}", +"response": { +"$ref": "EventTag" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +}, +"insert": { +"description": "Inserts a new event tag.", +"flatPath": "userprofiles/{userprofilesId}/eventTags", +"httpMethod": "POST", +"id": "dfareporting.eventTags.insert", +"parameterOrder": [ +"profileId" +], +"parameters": { +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/eventTags", +"request": { +"$ref": "EventTag" +}, +"response": { +"$ref": "EventTag" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +}, +"list": { +"description": "Retrieves a list of event tags, possibly filtered.", +"flatPath": "userprofiles/{userprofilesId}/eventTags", +"httpMethod": "GET", +"id": "dfareporting.eventTags.list", +"parameterOrder": [ +"profileId" +], +"parameters": { +"adId": { +"description": "Select only event tags that belong to this ad.", +"format": "int64", +"location": "query", +"type": "string" +}, +"advertiserId": { +"description": "Select only event tags that belong to this advertiser.", +"format": "int64", +"location": "query", +"type": "string" +}, +"campaignId": { +"description": "Select only event tags that belong to this campaign.", +"format": "int64", +"location": "query", +"type": "string" +}, +"definitionsOnly": { +"description": "Examine only the specified campaign or advertiser's event tags for matching selector criteria. When set to false, the parent advertiser and parent campaign of the specified ad or campaign is examined as well. In addition, when set to false, the status field is examined as well, along with the enabledByDefault field. This parameter can not be set to true when adId is specified as ads do not define their own even tags.", +"location": "query", +"type": "boolean" +}, +"enabled": { +"description": "Select only enabled event tags. What is considered enabled or disabled depends on the definitionsOnly parameter. When definitionsOnly is set to true, only the specified advertiser or campaign's event tags' enabledByDefault field is examined. When definitionsOnly is set to false, the specified ad or specified campaign's parent advertiser's or parent campaign's event tags' enabledByDefault and status fields are examined as well.", +"location": "query", +"type": "boolean" +}, +"eventTagTypes": { +"description": "Select only event tags with the specified event tag types. Event tag types can be used to specify whether to use a third-party pixel, a third-party JavaScript URL, or a third-party click-through URL for either impression or click tracking.", +"enum": [ +"IMPRESSION_IMAGE_EVENT_TAG", +"IMPRESSION_JAVASCRIPT_EVENT_TAG", +"CLICK_THROUGH_EVENT_TAG" +], +"enumDescriptions": [ +"A third-party pixel for impression tracking.", +"A third-party JavaScript URL for impression tracking.", +"A third-party URL for click tracking that redirects to the landing page." +], +"location": "query", +"repeated": true, +"type": "string" +}, +"ids": { +"description": "Select only event tags with these IDs.", +"format": "int64", +"location": "query", +"repeated": true, +"type": "string" +}, +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"searchString": { +"description": "Allows searching for objects by name or ID. Wildcards (*) are allowed. For example, \"eventtag*2015\" will return objects with names like \"eventtag June 2015\", \"eventtag April 2015\", or simply \"eventtag 2015\". Most of the searches also add wildcards implicitly at the start and the end of the search string. For example, a search string of \"eventtag\" will match objects with name \"my eventtag\", \"eventtag 2015\", or simply \"eventtag\".", +"location": "query", +"type": "string" +}, +"sortField": { +"default": "ID", +"description": "Field by which to sort the list.", +"enum": [ +"ID", +"NAME" +], +"enumDescriptions": [ +"", +"" +], +"location": "query", +"type": "string" +}, +"sortOrder": { +"default": "ASCENDING", +"description": "Order of sorted results.", +"enum": [ +"ASCENDING", +"DESCENDING" +], +"enumDescriptions": [ +"Ascending order.", +"Descending order." +], +"location": "query", +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/eventTags", +"response": { +"$ref": "EventTagsListResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +}, +"patch": { +"description": "Updates an existing event tag. This method supports patch semantics.", +"flatPath": "userprofiles/{userprofilesId}/eventTags", +"httpMethod": "PATCH", +"id": "dfareporting.eventTags.patch", +"parameterOrder": [ +"profileId", +"id" +], +"parameters": { +"id": { +"description": "Required. EventTag ID.", +"format": "int64", +"location": "query", +"required": true, +"type": "string" +}, +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/eventTags", +"request": { +"$ref": "EventTag" +}, +"response": { +"$ref": "EventTag" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +}, +"update": { +"description": "Updates an existing event tag.", +"flatPath": "userprofiles/{userprofilesId}/eventTags", +"httpMethod": "PUT", +"id": "dfareporting.eventTags.update", +"parameterOrder": [ +"profileId" +], +"parameters": { +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/eventTags", +"request": { +"$ref": "EventTag" +}, +"response": { +"$ref": "EventTag" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +} +} +}, +"files": { +"methods": { +"get": { +"description": "Retrieves a report file by its report ID and file ID. This method supports media download.", +"flatPath": "reports/{reportId}/files/{fileId}", +"httpMethod": "GET", +"id": "dfareporting.files.get", +"parameterOrder": [ +"reportId", +"fileId" +], +"parameters": { +"fileId": { +"description": "The ID of the report file.", +"format": "int64", +"location": "path", +"required": true, +"type": "string" +}, +"reportId": { +"description": "The ID of the report.", +"format": "int64", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "reports/{reportId}/files/{fileId}", +"response": { +"$ref": "File" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfareporting" +], +"supportsMediaDownload": true +}, +"list": { +"description": "Lists files for a user profile.", +"flatPath": "userprofiles/{profileId}/files", +"httpMethod": "GET", +"id": "dfareporting.files.list", +"parameterOrder": [ +"profileId" +], +"parameters": { +"maxResults": { +"default": "10", +"description": "Maximum number of results to return.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The value of the nextToken from the previous result page.", +"location": "query", +"type": "string" +}, +"profileId": { +"description": "The Campaign Manager 360 user profile ID.", +"format": "int64", +"location": "path", +"required": true, +"type": "string" +}, +"scope": { +"default": "MINE", +"description": "The scope that defines which results are returned.", +"enum": [ +"ALL", +"MINE", +"SHARED_WITH_ME" +], +"enumDescriptions": [ +"All files in account.", +"My files.", +"Files shared with me." +], +"location": "query", +"type": "string" +}, +"sortField": { +"default": "LAST_MODIFIED_TIME", +"description": "The field by which to sort the list.", +"enum": [ +"ID", +"LAST_MODIFIED_TIME" +], +"enumDescriptions": [ +"Sort by file ID.", +"Sort by 'lastmodifiedAt' field." +], +"location": "query", +"type": "string" +}, +"sortOrder": { +"default": "DESCENDING", +"description": "Order of sorted results.", +"enum": [ +"ASCENDING", +"DESCENDING" +], +"enumDescriptions": [ +"Ascending order.", +"Descending order." +], +"location": "query", +"type": "string" +} +}, +"path": "userprofiles/{profileId}/files", +"response": { +"$ref": "FileList" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfareporting" +] +} +} +}, +"floodlightActivities": { +"methods": { +"delete": { +"description": "Deletes an existing floodlight activity.", +"flatPath": "userprofiles/{userprofilesId}/floodlightActivities/{floodlightActivitiesId}", +"httpMethod": "DELETE", +"id": "dfareporting.floodlightActivities.delete", +"parameterOrder": [ +"profileId", +"id" +], +"parameters": { +"id": { +"description": "Floodlight activity ID.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/floodlightActivities/{+id}", +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +}, +"generatetag": { +"description": "Generates a tag for a floodlight activity.", +"flatPath": "userprofiles/{userprofilesId}/floodlightActivities/generatetag", +"httpMethod": "POST", +"id": "dfareporting.floodlightActivities.generatetag", +"parameterOrder": [ +"profileId" +], +"parameters": { +"floodlightActivityId": { +"description": "Floodlight activity ID for which we want to generate a tag.", +"format": "int64", +"location": "query", +"type": "string" +}, +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/floodlightActivities/generatetag", +"response": { +"$ref": "FloodlightActivitiesGenerateTagResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +}, +"get": { +"description": "Gets one floodlight activity by ID.", +"flatPath": "userprofiles/{userprofilesId}/floodlightActivities/{floodlightActivitiesId}", +"httpMethod": "GET", +"id": "dfareporting.floodlightActivities.get", +"parameterOrder": [ +"profileId", +"id" +], +"parameters": { +"id": { +"description": "Floodlight activity ID.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/floodlightActivities/{+id}", +"response": { +"$ref": "FloodlightActivity" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +}, +"insert": { +"description": "Inserts a new floodlight activity.", +"flatPath": "userprofiles/{userprofilesId}/floodlightActivities", +"httpMethod": "POST", +"id": "dfareporting.floodlightActivities.insert", +"parameterOrder": [ +"profileId" +], +"parameters": { +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/floodlightActivities", +"request": { +"$ref": "FloodlightActivity" +}, +"response": { +"$ref": "FloodlightActivity" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +}, +"list": { +"description": "Retrieves a list of floodlight activities, possibly filtered. This method supports paging.", +"flatPath": "userprofiles/{userprofilesId}/floodlightActivities", +"httpMethod": "GET", +"id": "dfareporting.floodlightActivities.list", +"parameterOrder": [ +"profileId" +], +"parameters": { +"advertiserId": { +"description": "Select only floodlight activities for the specified advertiser ID. Must specify either ids, advertiserId, or floodlightConfigurationId for a non-empty result.", +"format": "int64", +"location": "query", +"type": "string" +}, +"floodlightActivityGroupIds": { +"description": "Select only floodlight activities with the specified floodlight activity group IDs.", +"format": "int64", +"location": "query", +"repeated": true, +"type": "string" +}, +"floodlightActivityGroupName": { +"description": "Select only floodlight activities with the specified floodlight activity group name.", +"location": "query", +"type": "string" +}, +"floodlightActivityGroupTagString": { +"description": "Select only floodlight activities with the specified floodlight activity group tag string.", +"location": "query", +"type": "string" +}, +"floodlightActivityGroupType": { +"description": "Select only floodlight activities with the specified floodlight activity group type.", +"enum": [ +"COUNTER", +"SALE" +], +"enumDescriptions": [ +"", +"" +], +"location": "query", +"type": "string" +}, +"floodlightConfigurationId": { +"description": "Select only floodlight activities for the specified floodlight configuration ID. Must specify either ids, advertiserId, or floodlightConfigurationId for a non-empty result.", +"format": "int64", +"location": "query", +"type": "string" +}, +"ids": { +"description": "Select only floodlight activities with the specified IDs. Must specify either ids, advertiserId, or floodlightConfigurationId for a non-empty result.", +"format": "int64", +"location": "query", +"repeated": true, +"type": "string" +}, +"maxResults": { +"default": "1000", +"description": "Maximum number of results to return.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Value of the nextPageToken from the previous result page.", +"location": "query", +"type": "string" +}, +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"searchString": { +"description": "Allows searching for objects by name or ID. Wildcards (*) are allowed. For example, \"floodlightactivity*2015\" will return objects with names like \"floodlightactivity June 2015\", \"floodlightactivity April 2015\", or simply \"floodlightactivity 2015\". Most of the searches also add wildcards implicitly at the start and the end of the search string. For example, a search string of \"floodlightactivity\" will match objects with name \"my floodlightactivity activity\", \"floodlightactivity 2015\", or simply \"floodlightactivity\".", +"location": "query", +"type": "string" +}, +"sortField": { +"default": "ID", +"description": "Field by which to sort the list.", +"enum": [ +"ID", +"NAME" +], +"enumDescriptions": [ +"", +"" +], +"location": "query", +"type": "string" +}, +"sortOrder": { +"default": "ASCENDING", +"description": "Order of sorted results.", +"enum": [ +"ASCENDING", +"DESCENDING" +], +"enumDescriptions": [ +"Ascending order.", +"Descending order." +], +"location": "query", +"type": "string" +}, +"tagString": { +"description": "Select only floodlight activities with the specified tag string.", +"location": "query", +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/floodlightActivities", +"response": { +"$ref": "FloodlightActivitiesListResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +}, +"patch": { +"description": "Updates an existing floodlight activity. This method supports patch semantics.", +"flatPath": "userprofiles/{userprofilesId}/floodlightActivities", +"httpMethod": "PATCH", +"id": "dfareporting.floodlightActivities.patch", +"parameterOrder": [ +"profileId", +"id" +], +"parameters": { +"id": { +"description": "Required. EventTag ID.", +"format": "int64", +"location": "query", +"required": true, +"type": "string" +}, +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/floodlightActivities", +"request": { +"$ref": "FloodlightActivity" +}, +"response": { +"$ref": "FloodlightActivity" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +}, +"update": { +"description": "Updates an existing floodlight activity.", +"flatPath": "userprofiles/{userprofilesId}/floodlightActivities", +"httpMethod": "PUT", +"id": "dfareporting.floodlightActivities.update", +"parameterOrder": [ +"profileId" +], +"parameters": { +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/floodlightActivities", +"request": { +"$ref": "FloodlightActivity" +}, +"response": { +"$ref": "FloodlightActivity" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +} +} +}, +"floodlightActivityGroups": { +"methods": { +"get": { +"description": "Gets one floodlight activity group by ID.", +"flatPath": "userprofiles/{userprofilesId}/floodlightActivityGroups/{floodlightActivityGroupsId}", +"httpMethod": "GET", +"id": "dfareporting.floodlightActivityGroups.get", +"parameterOrder": [ +"profileId", +"id" +], +"parameters": { +"id": { +"description": "Floodlight activity Group ID.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/floodlightActivityGroups/{+id}", +"response": { +"$ref": "FloodlightActivityGroup" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +}, +"insert": { +"description": "Inserts a new floodlight activity group.", +"flatPath": "userprofiles/{userprofilesId}/floodlightActivityGroups", +"httpMethod": "POST", +"id": "dfareporting.floodlightActivityGroups.insert", +"parameterOrder": [ +"profileId" +], +"parameters": { +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/floodlightActivityGroups", +"request": { +"$ref": "FloodlightActivityGroup" +}, +"response": { +"$ref": "FloodlightActivityGroup" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +}, +"list": { +"description": "Retrieves a list of floodlight activity groups, possibly filtered. This method supports paging.", +"flatPath": "userprofiles/{userprofilesId}/floodlightActivityGroups", +"httpMethod": "GET", +"id": "dfareporting.floodlightActivityGroups.list", +"parameterOrder": [ +"profileId" +], +"parameters": { +"advertiserId": { +"description": "Select only floodlight activity groups with the specified advertiser ID. Must specify either advertiserId or floodlightConfigurationId for a non-empty result.", +"format": "int64", +"location": "query", +"type": "string" +}, +"floodlightConfigurationId": { +"description": "Select only floodlight activity groups with the specified floodlight configuration ID. Must specify either advertiserId, or floodlightConfigurationId for a non-empty result.", +"format": "int64", +"location": "query", +"type": "string" +}, +"ids": { +"description": "Select only floodlight activity groups with the specified IDs. Must specify either advertiserId or floodlightConfigurationId for a non-empty result.", +"format": "int64", +"location": "query", +"repeated": true, +"type": "string" +}, +"maxResults": { +"default": "1000", +"description": "Maximum number of results to return.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Value of the nextPageToken from the previous result page.", +"location": "query", +"type": "string" +}, +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"searchString": { +"description": "Allows searching for objects by name or ID. Wildcards (*) are allowed. For example, \"floodlightactivitygroup*2015\" will return objects with names like \"floodlightactivitygroup June 2015\", \"floodlightactivitygroup April 2015\", or simply \"floodlightactivitygroup 2015\". Most of the searches also add wildcards implicitly at the start and the end of the search string. For example, a search string of \"floodlightactivitygroup\" will match objects with name \"my floodlightactivitygroup activity\", \"floodlightactivitygroup 2015\", or simply \"floodlightactivitygroup\".", +"location": "query", +"type": "string" +}, +"sortField": { +"default": "ID", +"description": "Field by which to sort the list.", +"enum": [ +"ID", +"NAME" +], +"enumDescriptions": [ +"", +"" +], +"location": "query", +"type": "string" +}, +"sortOrder": { +"default": "ASCENDING", +"description": "Order of sorted results.", +"enum": [ +"ASCENDING", +"DESCENDING" +], +"enumDescriptions": [ +"Ascending order.", +"Descending order." +], +"location": "query", +"type": "string" +}, +"type": { +"description": "Select only floodlight activity groups with the specified floodlight activity group type.", +"enum": [ +"COUNTER", +"SALE" +], +"enumDescriptions": [ +"", +"" +], +"location": "query", +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/floodlightActivityGroups", +"response": { +"$ref": "FloodlightActivityGroupsListResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +}, +"patch": { +"description": "Updates an existing floodlight activity group. This method supports patch semantics.", +"flatPath": "userprofiles/{userprofilesId}/floodlightActivityGroups", +"httpMethod": "PATCH", +"id": "dfareporting.floodlightActivityGroups.patch", +"parameterOrder": [ +"profileId", +"id" +], +"parameters": { +"id": { +"description": "Required. EventTag ID.", +"format": "int64", +"location": "query", +"required": true, +"type": "string" +}, +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/floodlightActivityGroups", +"request": { +"$ref": "FloodlightActivityGroup" +}, +"response": { +"$ref": "FloodlightActivityGroup" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +}, +"update": { +"description": "Updates an existing floodlight activity group.", +"flatPath": "userprofiles/{userprofilesId}/floodlightActivityGroups", +"httpMethod": "PUT", +"id": "dfareporting.floodlightActivityGroups.update", +"parameterOrder": [ +"profileId" +], +"parameters": { +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/floodlightActivityGroups", +"request": { +"$ref": "FloodlightActivityGroup" +}, +"response": { +"$ref": "FloodlightActivityGroup" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +} +} +}, +"floodlightConfigurations": { +"methods": { +"get": { +"description": "Gets one floodlight configuration by ID.", +"flatPath": "userprofiles/{userprofilesId}/floodlightConfigurations/{floodlightConfigurationsId}", +"httpMethod": "GET", +"id": "dfareporting.floodlightConfigurations.get", +"parameterOrder": [ +"profileId", +"id" +], +"parameters": { +"id": { +"description": "Floodlight configuration ID.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/floodlightConfigurations/{+id}", +"response": { +"$ref": "FloodlightConfiguration" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +}, +"list": { +"description": "Retrieves a list of floodlight configurations, possibly filtered.", +"flatPath": "userprofiles/{userprofilesId}/floodlightConfigurations", +"httpMethod": "GET", +"id": "dfareporting.floodlightConfigurations.list", +"parameterOrder": [ +"profileId" +], +"parameters": { +"ids": { +"description": "Set of IDs of floodlight configurations to retrieve. Required field; otherwise an empty list will be returned.", +"format": "int64", +"location": "query", +"repeated": true, +"type": "string" +}, +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/floodlightConfigurations", +"response": { +"$ref": "FloodlightConfigurationsListResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +}, +"patch": { +"description": "Updates an existing floodlight configuration. This method supports patch semantics.", +"flatPath": "userprofiles/{userprofilesId}/floodlightConfigurations", +"httpMethod": "PATCH", +"id": "dfareporting.floodlightConfigurations.patch", +"parameterOrder": [ +"profileId", +"id" +], +"parameters": { +"id": { +"description": "Required. EventTag ID.", +"format": "int64", +"location": "query", +"required": true, +"type": "string" +}, +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/floodlightConfigurations", +"request": { +"$ref": "FloodlightConfiguration" +}, +"response": { +"$ref": "FloodlightConfiguration" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +}, +"update": { +"description": "Updates an existing floodlight configuration.", +"flatPath": "userprofiles/{userprofilesId}/floodlightConfigurations", +"httpMethod": "PUT", +"id": "dfareporting.floodlightConfigurations.update", +"parameterOrder": [ +"profileId" +], +"parameters": { +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/floodlightConfigurations", +"request": { +"$ref": "FloodlightConfiguration" +}, +"response": { +"$ref": "FloodlightConfiguration" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +} +} +}, +"inventoryItems": { +"methods": { +"get": { +"description": "Gets one inventory item by ID.", +"flatPath": "userprofiles/{userprofilesId}/projects/{projectId}/inventoryItems/{inventoryItemsId}", +"httpMethod": "GET", +"id": "dfareporting.inventoryItems.get", +"parameterOrder": [ +"profileId", +"projectId", +"id" +], +"parameters": { +"id": { +"description": "Inventory item ID.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"projectId": { +"description": "Project ID for order documents.", +"format": "int64", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/projects/{projectId}/inventoryItems/{+id}", +"response": { +"$ref": "InventoryItem" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +}, +"list": { +"description": "Retrieves a list of inventory items, possibly filtered. This method supports paging.", +"flatPath": "userprofiles/{userprofilesId}/projects/{projectId}/inventoryItems", +"httpMethod": "GET", +"id": "dfareporting.inventoryItems.list", +"parameterOrder": [ +"profileId", +"projectId" +], +"parameters": { +"ids": { +"description": "Select only inventory items with these IDs.", +"format": "int64", +"location": "query", +"repeated": true, +"type": "string" +}, +"inPlan": { +"description": "Select only inventory items that are in plan.", +"location": "query", +"type": "boolean" +}, +"maxResults": { +"default": "1000", +"description": "Maximum number of results to return.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"orderId": { +"description": "Select only inventory items that belong to specified orders.", +"format": "int64", +"location": "query", +"repeated": true, +"type": "string" +}, +"pageToken": { +"description": "Value of the nextPageToken from the previous result page.", +"location": "query", +"type": "string" +}, +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"projectId": { +"description": "Project ID for order documents.", +"format": "int64", +"location": "path", +"required": true, +"type": "string" +}, +"siteId": { +"description": "Select only inventory items that are associated with these sites.", +"format": "int64", +"location": "query", +"repeated": true, +"type": "string" +}, +"sortField": { +"default": "ID", +"description": "Field by which to sort the list.", +"enum": [ +"ID", +"NAME" +], +"enumDescriptions": [ +"", +"" +], +"location": "query", +"type": "string" +}, +"sortOrder": { +"default": "ASCENDING", +"description": "Order of sorted results.", +"enum": [ +"ASCENDING", +"DESCENDING" +], +"enumDescriptions": [ +"Ascending order.", +"Descending order." +], +"location": "query", +"type": "string" +}, +"type": { +"description": "Select only inventory items with this type.", +"enum": [ +"PLANNING_PLACEMENT_TYPE_REGULAR", +"PLANNING_PLACEMENT_TYPE_CREDIT" +], +"enumDescriptions": [ +"", +"" +], +"location": "query", +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/projects/{projectId}/inventoryItems", +"response": { +"$ref": "InventoryItemsListResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +} +} +}, +"languages": { +"methods": { +"list": { +"description": "Retrieves a list of languages.", +"flatPath": "userprofiles/{userprofilesId}/languages", +"httpMethod": "GET", +"id": "dfareporting.languages.list", +"parameterOrder": [ +"profileId" +], +"parameters": { +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/languages", +"response": { +"$ref": "LanguagesListResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +} +} +}, +"metros": { +"methods": { +"list": { +"description": "Retrieves a list of metros.", +"flatPath": "userprofiles/{userprofilesId}/metros", +"httpMethod": "GET", +"id": "dfareporting.metros.list", +"parameterOrder": [ +"profileId" +], +"parameters": { +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/metros", +"response": { +"$ref": "MetrosListResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +} +} +}, +"mobileApps": { +"methods": { +"get": { +"description": "Gets one mobile app by ID.", +"flatPath": "userprofiles/{userprofilesId}/mobileApps/{mobileAppsId}", +"httpMethod": "GET", +"id": "dfareporting.mobileApps.get", +"parameterOrder": [ +"profileId", +"id" +], +"parameters": { +"id": { +"description": "Mobile app ID.", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/mobileApps/{+id}", +"response": { +"$ref": "MobileApp" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +}, +"list": { +"description": "Retrieves list of available mobile apps.", +"flatPath": "userprofiles/{userprofilesId}/mobileApps", +"httpMethod": "GET", +"id": "dfareporting.mobileApps.list", +"parameterOrder": [ +"profileId" +], +"parameters": { +"directories": { +"description": "Select only apps from these directories.", +"enum": [ +"UNKNOWN", +"APPLE_APP_STORE", +"GOOGLE_PLAY_STORE", +"ROKU_APP_STORE", +"AMAZON_FIRETV_APP_STORE", +"PLAYSTATION_APP_STORE", +"APPLE_TV_APP_STORE", +"XBOX_APP_STORE", +"SAMSUNG_TV_APP_STORE", +"ANDROID_TV_APP_STORE", +"GENERIC_CTV_APP_STORE" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"" +], +"location": "query", +"repeated": true, +"type": "string" +}, +"ids": { +"description": "Select only apps with these IDs.", +"location": "query", +"repeated": true, +"type": "string" +}, +"maxResults": { +"default": "1000", +"description": "Maximum number of results to return.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Value of the nextPageToken from the previous result page.", +"location": "query", +"type": "string" +}, +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"searchString": { +"description": "Allows searching for objects by name or ID. Wildcards (*) are allowed. For example, \"app*2015\" will return objects with names like \"app Jan 2018\", \"app Jan 2018\", or simply \"app 2018\". Most of the searches also add wildcards implicitly at the start and the end of the search string. For example, a search string of \"app\" will match objects with name \"my app\", \"app 2018\", or simply \"app\".", +"location": "query", +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/mobileApps", +"response": { +"$ref": "MobileAppsListResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +} +} +}, +"mobileCarriers": { +"methods": { +"get": { +"description": "Gets one mobile carrier by ID.", +"flatPath": "userprofiles/{userprofilesId}/mobileCarriers/{mobileCarriersId}", +"httpMethod": "GET", +"id": "dfareporting.mobileCarriers.get", +"parameterOrder": [ +"profileId", +"id" +], +"parameters": { +"id": { +"description": "Mobile carrier ID.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/mobileCarriers/{+id}", +"response": { +"$ref": "MobileCarrier" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +}, +"list": { +"description": "Retrieves a list of mobile carriers.", +"flatPath": "userprofiles/{userprofilesId}/mobileCarriers", +"httpMethod": "GET", +"id": "dfareporting.mobileCarriers.list", +"parameterOrder": [ +"profileId" +], +"parameters": { +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/mobileCarriers", +"response": { +"$ref": "MobileCarriersListResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +} +} +}, +"operatingSystemVersions": { +"methods": { +"get": { +"description": "Gets one operating system version by ID.", +"flatPath": "userprofiles/{userprofilesId}/operatingSystemVersions/{operatingSystemVersionsId}", +"httpMethod": "GET", +"id": "dfareporting.operatingSystemVersions.get", +"parameterOrder": [ +"profileId", +"id" +], +"parameters": { +"id": { +"description": "Operating system version ID.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/operatingSystemVersions/{+id}", +"response": { +"$ref": "OperatingSystemVersion" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +}, +"list": { +"description": "Retrieves a list of operating system versions.", +"flatPath": "userprofiles/{userprofilesId}/operatingSystemVersions", +"httpMethod": "GET", +"id": "dfareporting.operatingSystemVersions.list", +"parameterOrder": [ +"profileId" +], +"parameters": { +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/operatingSystemVersions", +"response": { +"$ref": "OperatingSystemVersionsListResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +} +} +}, +"operatingSystems": { +"methods": { +"get": { +"description": "Gets one operating system by DART ID.", +"flatPath": "userprofiles/{userprofilesId}/operatingSystems/{operatingSystemsId}", +"httpMethod": "GET", +"id": "dfareporting.operatingSystems.get", +"parameterOrder": [ +"profileId", +"dartId" +], +"parameters": { +"dartId": { +"description": "Operating system DART ID.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/operatingSystems/{+dartId}", +"response": { +"$ref": "OperatingSystem" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +}, +"list": { +"description": "Retrieves a list of operating systems.", +"flatPath": "userprofiles/{userprofilesId}/operatingSystems", +"httpMethod": "GET", +"id": "dfareporting.operatingSystems.list", +"parameterOrder": [ +"profileId" +], +"parameters": { +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/operatingSystems", +"response": { +"$ref": "OperatingSystemsListResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +} +} +}, +"orders": { +"methods": { +"get": { +"description": "Gets one order by ID.", +"flatPath": "userprofiles/{userprofilesId}/projects/{projectId}/orders/{ordersId}", +"httpMethod": "GET", +"id": "dfareporting.orders.get", +"parameterOrder": [ +"profileId", +"projectId", +"id" +], +"parameters": { +"id": { +"description": "Order ID.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"projectId": { +"description": "Project ID for orders.", +"format": "int64", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/projects/{projectId}/orders/{+id}", +"response": { +"$ref": "Order" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +}, +"list": { +"description": "Retrieves a list of orders, possibly filtered. This method supports paging.", +"flatPath": "userprofiles/{userprofilesId}/projects/{projectId}/orders", +"httpMethod": "GET", +"id": "dfareporting.orders.list", +"parameterOrder": [ +"profileId", +"projectId" +], +"parameters": { +"ids": { +"description": "Select only orders with these IDs.", +"format": "int64", +"location": "query", +"repeated": true, +"type": "string" +}, +"maxResults": { +"default": "1000", +"description": "Maximum number of results to return.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Value of the nextPageToken from the previous result page.", +"location": "query", +"type": "string" +}, +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"projectId": { +"description": "Project ID for orders.", +"format": "int64", +"location": "path", +"required": true, +"type": "string" +}, +"searchString": { +"description": "Allows searching for orders by name or ID. Wildcards (*) are allowed. For example, \"order*2015\" will return orders with names like \"order June 2015\", \"order April 2015\", or simply \"order 2015\". Most of the searches also add wildcards implicitly at the start and the end of the search string. For example, a search string of \"order\" will match orders with name \"my order\", \"order 2015\", or simply \"order\".", +"location": "query", +"type": "string" +}, +"siteId": { +"description": "Select only orders that are associated with these site IDs.", +"format": "int64", +"location": "query", +"repeated": true, +"type": "string" +}, +"sortField": { +"default": "ID", +"description": "Field by which to sort the list.", +"enum": [ +"ID", +"NAME" +], +"enumDescriptions": [ +"", +"" +], +"location": "query", +"type": "string" +}, +"sortOrder": { +"default": "ASCENDING", +"description": "Order of sorted results.", +"enum": [ +"ASCENDING", +"DESCENDING" +], +"enumDescriptions": [ +"Ascending order.", +"Descending order." +], +"location": "query", +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/projects/{projectId}/orders", +"response": { +"$ref": "OrdersListResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +} +} +}, +"placementGroups": { +"methods": { +"get": { +"description": "Gets one placement group by ID.", +"flatPath": "userprofiles/{userprofilesId}/placementGroups/{placementGroupsId}", +"httpMethod": "GET", +"id": "dfareporting.placementGroups.get", +"parameterOrder": [ +"profileId", +"id" +], +"parameters": { +"id": { +"description": "Placement group ID.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/placementGroups/{+id}", +"response": { +"$ref": "PlacementGroup" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +}, +"insert": { +"description": "Inserts a new placement group.", +"flatPath": "userprofiles/{userprofilesId}/placementGroups", +"httpMethod": "POST", +"id": "dfareporting.placementGroups.insert", +"parameterOrder": [ +"profileId" +], +"parameters": { +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/placementGroups", +"request": { +"$ref": "PlacementGroup" +}, +"response": { +"$ref": "PlacementGroup" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +}, +"list": { +"description": "Retrieves a list of placement groups, possibly filtered. This method supports paging.", +"flatPath": "userprofiles/{userprofilesId}/placementGroups", +"httpMethod": "GET", +"id": "dfareporting.placementGroups.list", +"parameterOrder": [ +"profileId" +], +"parameters": { +"activeStatus": { +"description": "Select only placements with these active statuses.", +"enum": [ +"PLACEMENT_STATUS_UNKNOWN", +"PLACEMENT_STATUS_ACTIVE", +"PLACEMENT_STATUS_INACTIVE", +"PLACEMENT_STATUS_ARCHIVED", +"PLACEMENT_STATUS_PERMANENTLY_ARCHIVED" +], +"enumDescriptions": [ +"", +"", +"", +"", +"" +], +"location": "query", +"repeated": true, +"type": "string" +}, +"advertiserIds": { +"description": "Select only placement groups that belong to these advertisers.", +"format": "int64", +"location": "query", +"repeated": true, +"type": "string" +}, +"campaignIds": { +"description": "Select only placement groups that belong to these campaigns.", +"format": "int64", +"location": "query", +"repeated": true, +"type": "string" +}, +"contentCategoryIds": { +"description": "Select only placement groups that are associated with these content categories.", +"format": "int64", +"location": "query", +"repeated": true, +"type": "string" +}, +"directorySiteIds": { +"description": "Select only placement groups that are associated with these directory sites.", +"format": "int64", +"location": "query", +"repeated": true, +"type": "string" +}, +"ids": { +"description": "Select only placement groups with these IDs.", +"format": "int64", +"location": "query", +"repeated": true, +"type": "string" +}, +"maxEndDate": { +"description": "Select only placements or placement groups whose end date is on or before the specified maxEndDate. The date should be formatted as \"yyyy-MM-dd\".", +"location": "query", +"type": "string" +}, +"maxResults": { +"default": "800", +"description": "Maximum number of results to return.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"maxStartDate": { +"description": "Select only placements or placement groups whose start date is on or before the specified maxStartDate. The date should be formatted as \"yyyy-MM-dd\".", +"location": "query", +"type": "string" +}, +"minEndDate": { +"description": "Select only placements or placement groups whose end date is on or after the specified minEndDate. The date should be formatted as \"yyyy-MM-dd\".", +"location": "query", +"type": "string" +}, +"minStartDate": { +"description": "Select only placements or placement groups whose start date is on or after the specified minStartDate. The date should be formatted as \"yyyy-MM-dd\".", +"location": "query", +"type": "string" +}, +"pageToken": { +"description": "Value of the nextPageToken from the previous result page.", +"location": "query", +"type": "string" +}, +"placementGroupType": { +"description": "Select only placement groups belonging with this group type. A package is a simple group of placements that acts as a single pricing point for a group of tags. A roadblock is a group of placements that not only acts as a single pricing point but also assumes that all the tags in it will be served at the same time. A roadblock requires one of its assigned placements to be marked as primary for reporting.", +"enum": [ +"PLACEMENT_PACKAGE", +"PLACEMENT_ROADBLOCK" +], +"enumDescriptions": [ +"A simple group of site-placements (tags). Basically acts as a single pricing point for a group of tags.", +"A group of site-placements (tags) that not only acts as a single pricing point but also assumes that all the tags in it will be served at the same time. This kind of group requires one of its assigned site-placements to be marked as primary for reporting purposes." +], +"location": "query", +"type": "string" +}, +"placementStrategyIds": { +"description": "Select only placement groups that are associated with these placement strategies.", +"format": "int64", +"location": "query", +"repeated": true, +"type": "string" +}, +"pricingTypes": { +"description": "Select only placement groups with these pricing types.", +"enum": [ +"PRICING_TYPE_CPM", +"PRICING_TYPE_CPC", +"PRICING_TYPE_CPA", +"PRICING_TYPE_FLAT_RATE_IMPRESSIONS", +"PRICING_TYPE_FLAT_RATE_CLICKS", +"PRICING_TYPE_CPM_ACTIVEVIEW" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"" +], +"location": "query", +"repeated": true, +"type": "string" +}, +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"searchString": { +"description": "Allows searching for placement groups by name or ID. Wildcards (*) are allowed. For example, \"placement*2015\" will return placement groups with names like \"placement group June 2015\", \"placement group May 2015\", or simply \"placements 2015\". Most of the searches also add wildcards implicitly at the start and the end of the search string. For example, a search string of \"placementgroup\" will match placement groups with name \"my placementgroup\", \"placementgroup 2015\", or simply \"placementgroup\".", +"location": "query", +"type": "string" +}, +"siteIds": { +"description": "Select only placement groups that are associated with these sites.", +"format": "int64", +"location": "query", +"repeated": true, +"type": "string" +}, +"sortField": { +"default": "ID", +"description": "Field by which to sort the list.", +"enum": [ +"ID", +"NAME" +], +"enumDescriptions": [ +"", +"" +], +"location": "query", +"type": "string" +}, +"sortOrder": { +"default": "ASCENDING", +"description": "Order of sorted results.", +"enum": [ +"ASCENDING", +"DESCENDING" +], +"enumDescriptions": [ +"Ascending order.", +"Descending order." +], +"location": "query", +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/placementGroups", +"response": { +"$ref": "PlacementGroupsListResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +}, +"patch": { +"description": "Updates an existing placement group. This method supports patch semantics.", +"flatPath": "userprofiles/{userprofilesId}/placementGroups", +"httpMethod": "PATCH", +"id": "dfareporting.placementGroups.patch", +"parameterOrder": [ +"profileId", +"id" +], +"parameters": { +"id": { +"description": "Required. Placement ID.", +"format": "int64", +"location": "query", +"required": true, +"type": "string" +}, +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/placementGroups", +"request": { +"$ref": "PlacementGroup" +}, +"response": { +"$ref": "PlacementGroup" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +}, +"update": { +"description": "Updates an existing placement group.", +"flatPath": "userprofiles/{userprofilesId}/placementGroups", +"httpMethod": "PUT", +"id": "dfareporting.placementGroups.update", +"parameterOrder": [ +"profileId" +], +"parameters": { +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/placementGroups", +"request": { +"$ref": "PlacementGroup" +}, +"response": { +"$ref": "PlacementGroup" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +} +} +}, +"placementStrategies": { +"methods": { +"delete": { +"description": "Deletes an existing placement strategy.", +"flatPath": "userprofiles/{userprofilesId}/placementStrategies/{placementStrategiesId}", +"httpMethod": "DELETE", +"id": "dfareporting.placementStrategies.delete", +"parameterOrder": [ +"profileId", +"id" +], +"parameters": { +"id": { +"description": "Placement strategy ID.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/placementStrategies/{+id}", +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +}, +"get": { +"description": "Gets one placement strategy by ID.", +"flatPath": "userprofiles/{userprofilesId}/placementStrategies/{placementStrategiesId}", +"httpMethod": "GET", +"id": "dfareporting.placementStrategies.get", +"parameterOrder": [ +"profileId", +"id" +], +"parameters": { +"id": { +"description": "Placement strategy ID.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/placementStrategies/{+id}", +"response": { +"$ref": "PlacementStrategy" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +}, +"insert": { +"description": "Inserts a new placement strategy.", +"flatPath": "userprofiles/{userprofilesId}/placementStrategies", +"httpMethod": "POST", +"id": "dfareporting.placementStrategies.insert", +"parameterOrder": [ +"profileId" +], +"parameters": { +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/placementStrategies", +"request": { +"$ref": "PlacementStrategy" +}, +"response": { +"$ref": "PlacementStrategy" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +}, +"list": { +"description": "Retrieves a list of placement strategies, possibly filtered. This method supports paging.", +"flatPath": "userprofiles/{userprofilesId}/placementStrategies", +"httpMethod": "GET", +"id": "dfareporting.placementStrategies.list", +"parameterOrder": [ +"profileId" +], +"parameters": { +"ids": { +"description": "Select only placement strategies with these IDs.", +"format": "int64", +"location": "query", +"repeated": true, +"type": "string" +}, +"maxResults": { +"default": "1000", +"description": "Maximum number of results to return.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Value of the nextPageToken from the previous result page.", +"location": "query", +"type": "string" +}, +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"searchString": { +"description": "Allows searching for objects by name or ID. Wildcards (*) are allowed. For example, \"placementstrategy*2015\" will return objects with names like \"placementstrategy June 2015\", \"placementstrategy April 2015\", or simply \"placementstrategy 2015\". Most of the searches also add wildcards implicitly at the start and the end of the search string. For example, a search string of \"placementstrategy\" will match objects with name \"my placementstrategy\", \"placementstrategy 2015\", or simply \"placementstrategy\".", +"location": "query", +"type": "string" +}, +"sortField": { +"default": "ID", +"description": "Field by which to sort the list.", +"enum": [ +"ID", +"NAME" +], +"enumDescriptions": [ +"", +"" +], +"location": "query", +"type": "string" +}, +"sortOrder": { +"default": "ASCENDING", +"description": "Order of sorted results.", +"enum": [ +"ASCENDING", +"DESCENDING" +], +"enumDescriptions": [ +"Ascending order.", +"Descending order." +], +"location": "query", +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/placementStrategies", +"response": { +"$ref": "PlacementStrategiesListResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +}, +"patch": { +"description": "Updates an existing placement strategy. This method supports patch semantics.", +"flatPath": "userprofiles/{userprofilesId}/placementStrategies", +"httpMethod": "PATCH", +"id": "dfareporting.placementStrategies.patch", +"parameterOrder": [ +"profileId", +"id" +], +"parameters": { +"id": { +"description": "Required. PlacementStrategy ID.", +"format": "int64", +"location": "query", +"required": true, +"type": "string" +}, +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/placementStrategies", +"request": { +"$ref": "PlacementStrategy" +}, +"response": { +"$ref": "PlacementStrategy" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +}, +"update": { +"description": "Updates an existing placement strategy.", +"flatPath": "userprofiles/{userprofilesId}/placementStrategies", +"httpMethod": "PUT", +"id": "dfareporting.placementStrategies.update", +"parameterOrder": [ +"profileId" +], +"parameters": { +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/placementStrategies", +"request": { +"$ref": "PlacementStrategy" +}, +"response": { +"$ref": "PlacementStrategy" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +} +} +}, +"placements": { +"methods": { +"generatetags": { +"description": "Generates tags for a placement.", +"flatPath": "userprofiles/{userprofilesId}/placements/generatetags", +"httpMethod": "POST", +"id": "dfareporting.placements.generatetags", +"parameterOrder": [ +"profileId" +], +"parameters": { +"campaignId": { +"description": "Generate placements belonging to this campaign. This is a required field.", +"format": "int64", +"location": "query", +"type": "string" +}, +"placementIds": { +"description": "Generate tags for these placements.", +"format": "int64", +"location": "query", +"repeated": true, +"type": "string" +}, +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"tagFormats": { +"description": "Tag formats to generate for these placements. *Note:* PLACEMENT_TAG_STANDARD can only be generated for 1x1 placements.", +"enum": [ +"PLACEMENT_TAG_STANDARD", +"PLACEMENT_TAG_IFRAME_JAVASCRIPT", +"PLACEMENT_TAG_IFRAME_ILAYER", +"PLACEMENT_TAG_INTERNAL_REDIRECT", +"PLACEMENT_TAG_JAVASCRIPT", +"PLACEMENT_TAG_INTERSTITIAL_IFRAME_JAVASCRIPT", +"PLACEMENT_TAG_INTERSTITIAL_INTERNAL_REDIRECT", +"PLACEMENT_TAG_INTERSTITIAL_JAVASCRIPT", +"PLACEMENT_TAG_CLICK_COMMANDS", +"PLACEMENT_TAG_INSTREAM_VIDEO_PREFETCH", +"PLACEMENT_TAG_TRACKING", +"PLACEMENT_TAG_TRACKING_IFRAME", +"PLACEMENT_TAG_TRACKING_JAVASCRIPT", +"PLACEMENT_TAG_INSTREAM_VIDEO_PREFETCH_VAST_3", +"PLACEMENT_TAG_IFRAME_JAVASCRIPT_LEGACY", +"PLACEMENT_TAG_JAVASCRIPT_LEGACY", +"PLACEMENT_TAG_INTERSTITIAL_IFRAME_JAVASCRIPT_LEGACY", +"PLACEMENT_TAG_INTERSTITIAL_JAVASCRIPT_LEGACY", +"PLACEMENT_TAG_INSTREAM_VIDEO_PREFETCH_VAST_4", +"PLACEMENT_TAG_TRACKING_THIRD_PARTY_MEASUREMENT" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"" +], +"location": "query", +"repeated": true, +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/placements/generatetags", +"response": { +"$ref": "PlacementsGenerateTagsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +}, +"get": { +"description": "Gets one placement by ID.", +"flatPath": "userprofiles/{userprofilesId}/placements/{placementsId}", +"httpMethod": "GET", +"id": "dfareporting.placements.get", +"parameterOrder": [ +"profileId", +"id" +], +"parameters": { +"id": { +"description": "Placement ID.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/placements/{+id}", +"response": { +"$ref": "Placement" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +}, +"insert": { +"description": "Inserts a new placement.", +"flatPath": "userprofiles/{userprofilesId}/placements", +"httpMethod": "POST", +"id": "dfareporting.placements.insert", +"parameterOrder": [ +"profileId" +], +"parameters": { +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/placements", +"request": { +"$ref": "Placement" +}, +"response": { +"$ref": "Placement" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +}, +"list": { +"description": "Retrieves a list of placements, possibly filtered. This method supports paging.", +"flatPath": "userprofiles/{userprofilesId}/placements", +"httpMethod": "GET", +"id": "dfareporting.placements.list", +"parameterOrder": [ +"profileId" +], +"parameters": { +"activeStatus": { +"description": "Select only placements with these active statuses.", +"enum": [ +"PLACEMENT_STATUS_UNKNOWN", +"PLACEMENT_STATUS_ACTIVE", +"PLACEMENT_STATUS_INACTIVE", +"PLACEMENT_STATUS_ARCHIVED", +"PLACEMENT_STATUS_PERMANENTLY_ARCHIVED" +], +"enumDescriptions": [ +"", +"", +"", +"", +"" +], +"location": "query", +"repeated": true, +"type": "string" +}, +"advertiserIds": { +"description": "Select only placements that belong to these advertisers.", +"format": "int64", +"location": "query", +"repeated": true, +"type": "string" +}, +"campaignIds": { +"description": "Select only placements that belong to these campaigns.", +"format": "int64", +"location": "query", +"repeated": true, +"type": "string" +}, +"compatibilities": { +"description": "Select only placements that are associated with these compatibilities. DISPLAY and DISPLAY_INTERSTITIAL refer to rendering either on desktop or on mobile devices for regular or interstitial ads respectively. APP and APP_INTERSTITIAL are for rendering in mobile apps. IN_STREAM_VIDEO refers to rendering in in-stream video ads developed with the VAST standard.", +"enum": [ +"DISPLAY", +"DISPLAY_INTERSTITIAL", +"APP", +"APP_INTERSTITIAL", +"IN_STREAM_VIDEO", +"IN_STREAM_AUDIO" +], +"enumDescriptions": [ +"", +"", +"Deprecated enum value. No longer supported.", +"Deprecated enum value. No longer supported.", +"", +"" +], +"location": "query", +"repeated": true, +"type": "string" +}, +"contentCategoryIds": { +"description": "Select only placements that are associated with these content categories.", +"format": "int64", +"location": "query", +"repeated": true, +"type": "string" +}, +"directorySiteIds": { +"description": "Select only placements that are associated with these directory sites.", +"format": "int64", +"location": "query", +"repeated": true, +"type": "string" +}, +"groupIds": { +"description": "Select only placements that belong to these placement groups.", +"format": "int64", +"location": "query", +"repeated": true, +"type": "string" +}, +"ids": { +"description": "Select only placements with these IDs.", +"format": "int64", +"location": "query", +"repeated": true, +"type": "string" +}, +"maxEndDate": { +"description": "Select only placements or placement groups whose end date is on or before the specified maxEndDate. The date should be formatted as \"yyyy-MM-dd\".", +"location": "query", +"type": "string" +}, +"maxResults": { +"default": "1000", +"description": "Maximum number of results to return.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"maxStartDate": { +"description": "Select only placements or placement groups whose start date is on or before the specified maxStartDate. The date should be formatted as \"yyyy-MM-dd\".", +"location": "query", +"type": "string" +}, +"minEndDate": { +"description": "Select only placements or placement groups whose end date is on or after the specified minEndDate. The date should be formatted as \"yyyy-MM-dd\".", +"location": "query", +"type": "string" +}, +"minStartDate": { +"description": "Select only placements or placement groups whose start date is on or after the specified minStartDate. The date should be formatted as \"yyyy-MM-dd\".", +"location": "query", +"type": "string" +}, +"pageToken": { +"description": "Value of the nextPageToken from the previous result page.", +"location": "query", +"type": "string" +}, +"paymentSource": { +"description": "Select only placements with this payment source.", +"enum": [ +"PLACEMENT_AGENCY_PAID", +"PLACEMENT_PUBLISHER_PAID" +], +"enumDescriptions": [ +"", +"" +], +"location": "query", +"type": "string" +}, +"placementStrategyIds": { +"description": "Select only placements that are associated with these placement strategies.", +"format": "int64", +"location": "query", +"repeated": true, +"type": "string" +}, +"pricingTypes": { +"description": "Select only placements with these pricing types.", +"enum": [ +"PRICING_TYPE_CPM", +"PRICING_TYPE_CPC", +"PRICING_TYPE_CPA", +"PRICING_TYPE_FLAT_RATE_IMPRESSIONS", +"PRICING_TYPE_FLAT_RATE_CLICKS", +"PRICING_TYPE_CPM_ACTIVEVIEW" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"" +], +"location": "query", +"repeated": true, +"type": "string" +}, +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"searchString": { +"description": "Allows searching for placements by name or ID. Wildcards (*) are allowed. For example, \"placement*2015\" will return placements with names like \"placement June 2015\", \"placement May 2015\", or simply \"placements 2015\". Most of the searches also add wildcards implicitly at the start and the end of the search string. For example, a search string of \"placement\" will match placements with name \"my placement\", \"placement 2015\", or simply \"placement\" .", +"location": "query", +"type": "string" +}, +"siteIds": { +"description": "Select only placements that are associated with these sites.", +"format": "int64", +"location": "query", +"repeated": true, +"type": "string" +}, +"sizeIds": { +"description": "Select only placements that are associated with these sizes.", +"format": "int64", +"location": "query", +"repeated": true, +"type": "string" +}, +"sortField": { +"default": "ID", +"description": "Field by which to sort the list.", +"enum": [ +"ID", +"NAME" +], +"enumDescriptions": [ +"", +"" +], +"location": "query", +"type": "string" +}, +"sortOrder": { +"default": "ASCENDING", +"description": "Order of sorted results.", +"enum": [ +"ASCENDING", +"DESCENDING" +], +"enumDescriptions": [ +"Ascending order.", +"Descending order." +], +"location": "query", +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/placements", +"response": { +"$ref": "PlacementsListResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +}, +"patch": { +"description": "Updates an existing placement. This method supports patch semantics.", +"flatPath": "userprofiles/{userprofilesId}/placements", +"httpMethod": "PATCH", +"id": "dfareporting.placements.patch", +"parameterOrder": [ +"profileId", +"id" +], +"parameters": { +"id": { +"description": "Required. Placement ID.", +"format": "int64", +"location": "query", +"required": true, +"type": "string" +}, +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/placements", +"request": { +"$ref": "Placement" +}, +"response": { +"$ref": "Placement" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +}, +"update": { +"description": "Updates an existing placement.", +"flatPath": "userprofiles/{userprofilesId}/placements", +"httpMethod": "PUT", +"id": "dfareporting.placements.update", +"parameterOrder": [ +"profileId" +], +"parameters": { +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/placements", +"request": { +"$ref": "Placement" +}, +"response": { +"$ref": "Placement" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +} +} +}, +"platformTypes": { +"methods": { +"get": { +"description": "Gets one platform type by ID.", +"flatPath": "userprofiles/{userprofilesId}/platformTypes/{platformTypesId}", +"httpMethod": "GET", +"id": "dfareporting.platformTypes.get", +"parameterOrder": [ +"profileId", +"id" +], +"parameters": { +"id": { +"description": "Platform type ID.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/platformTypes/{+id}", +"response": { +"$ref": "PlatformType" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +}, +"list": { +"description": "Retrieves a list of platform types.", +"flatPath": "userprofiles/{userprofilesId}/platformTypes", +"httpMethod": "GET", +"id": "dfareporting.platformTypes.list", +"parameterOrder": [ +"profileId" +], +"parameters": { +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/platformTypes", +"response": { +"$ref": "PlatformTypesListResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +} +} +}, +"postalCodes": { +"methods": { +"get": { +"description": "Gets one postal code by ID.", +"flatPath": "userprofiles/{userprofilesId}/postalCodes/{postalCodesId}", +"httpMethod": "GET", +"id": "dfareporting.postalCodes.get", +"parameterOrder": [ +"profileId", +"code" +], +"parameters": { +"code": { +"description": "Postal code ID.", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/postalCodes/{+code}", +"response": { +"$ref": "PostalCode" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +}, +"list": { +"description": "Retrieves a list of postal codes.", +"flatPath": "userprofiles/{userprofilesId}/postalCodes", +"httpMethod": "GET", +"id": "dfareporting.postalCodes.list", +"parameterOrder": [ +"profileId" +], +"parameters": { +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/postalCodes", +"response": { +"$ref": "PostalCodesListResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +} +} +}, +"projects": { +"methods": { +"get": { +"description": "Gets one project by ID.", +"flatPath": "userprofiles/{userprofilesId}/projects/{projectsId}", +"httpMethod": "GET", +"id": "dfareporting.projects.get", +"parameterOrder": [ +"profileId", +"id" +], +"parameters": { +"id": { +"description": "Project ID.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/projects/{+id}", +"response": { +"$ref": "Project" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +}, +"list": { +"description": "Retrieves a list of projects, possibly filtered. This method supports paging .", +"flatPath": "userprofiles/{userprofilesId}/projects", +"httpMethod": "GET", +"id": "dfareporting.projects.list", +"parameterOrder": [ +"profileId" +], +"parameters": { +"advertiserIds": { +"description": "Select only projects with these advertiser IDs.", +"format": "int64", +"location": "query", +"repeated": true, +"type": "string" +}, +"ids": { +"description": "Select only projects with these IDs.", +"format": "int64", +"location": "query", +"repeated": true, +"type": "string" +}, +"maxResults": { +"default": "1000", +"description": "Maximum number of results to return.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Value of the nextPageToken from the previous result page.", +"location": "query", +"type": "string" +}, +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"searchString": { +"description": "Allows searching for projects by name or ID. Wildcards (*) are allowed. For example, \"project*2015\" will return projects with names like \"project June 2015\", \"project April 2015\", or simply \"project 2015\". Most of the searches also add wildcards implicitly at the start and the end of the search string. For example, a search string of \"project\" will match projects with name \"my project\", \"project 2015\", or simply \"project\".", +"location": "query", +"type": "string" +}, +"sortField": { +"default": "ID", +"description": "Field by which to sort the list.", +"enum": [ +"ID", +"NAME" +], +"enumDescriptions": [ +"", +"" +], +"location": "query", +"type": "string" +}, +"sortOrder": { +"default": "ASCENDING", +"description": "Order of sorted results.", +"enum": [ +"ASCENDING", +"DESCENDING" +], +"enumDescriptions": [ +"Ascending order.", +"Descending order." +], +"location": "query", +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/projects", +"response": { +"$ref": "ProjectsListResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +} +} +}, +"regions": { +"methods": { +"list": { +"description": "Retrieves a list of regions.", +"flatPath": "userprofiles/{userprofilesId}/regions", +"httpMethod": "GET", +"id": "dfareporting.regions.list", +"parameterOrder": [ +"profileId" +], +"parameters": { +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/regions", +"response": { +"$ref": "RegionsListResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +} +} +}, +"remarketingListShares": { +"methods": { +"get": { +"description": "Gets one remarketing list share by remarketing list ID.", +"flatPath": "userprofiles/{userprofilesId}/remarketingListShares/{remarketingListSharesId}", +"httpMethod": "GET", +"id": "dfareporting.remarketingListShares.get", +"parameterOrder": [ +"profileId", +"remarketingListId" +], +"parameters": { +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"remarketingListId": { +"description": "Remarketing list ID.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/remarketingListShares/{+remarketingListId}", +"response": { +"$ref": "RemarketingListShare" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +}, +"patch": { +"description": "Updates an existing remarketing list share. This method supports patch semantics.", +"flatPath": "userprofiles/{userprofilesId}/remarketingListShares", +"httpMethod": "PATCH", +"id": "dfareporting.remarketingListShares.patch", +"parameterOrder": [ +"profileId", +"id" +], +"parameters": { +"id": { +"description": "Required. RemarketingList ID.", +"format": "int64", +"location": "query", +"required": true, +"type": "string" +}, +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/remarketingListShares", +"request": { +"$ref": "RemarketingListShare" +}, +"response": { +"$ref": "RemarketingListShare" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +}, +"update": { +"description": "Updates an existing remarketing list share.", +"flatPath": "userprofiles/{userprofilesId}/remarketingListShares", +"httpMethod": "PUT", +"id": "dfareporting.remarketingListShares.update", +"parameterOrder": [ +"profileId" +], +"parameters": { +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/remarketingListShares", +"request": { +"$ref": "RemarketingListShare" +}, +"response": { +"$ref": "RemarketingListShare" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +} +} +}, +"remarketingLists": { +"methods": { +"get": { +"description": "Gets one remarketing list by ID.", +"flatPath": "userprofiles/{userprofilesId}/remarketingLists/{remarketingListsId}", +"httpMethod": "GET", +"id": "dfareporting.remarketingLists.get", +"parameterOrder": [ +"profileId", +"id" +], +"parameters": { +"id": { +"description": "Remarketing list ID.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/remarketingLists/{+id}", +"response": { +"$ref": "RemarketingList" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +}, +"insert": { +"description": "Inserts a new remarketing list.", +"flatPath": "userprofiles/{userprofilesId}/remarketingLists", +"httpMethod": "POST", +"id": "dfareporting.remarketingLists.insert", +"parameterOrder": [ +"profileId" +], +"parameters": { +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/remarketingLists", +"request": { +"$ref": "RemarketingList" +}, +"response": { +"$ref": "RemarketingList" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +}, +"list": { +"description": "Retrieves a list of remarketing lists, possibly filtered. This method supports paging.", +"flatPath": "userprofiles/{userprofilesId}/remarketingLists", +"httpMethod": "GET", +"id": "dfareporting.remarketingLists.list", +"parameterOrder": [ +"profileId", +"advertiserId" +], +"parameters": { +"active": { +"description": "Select only active or only inactive remarketing lists.", +"location": "query", +"type": "boolean" +}, +"advertiserId": { +"description": "Required. Select only remarketing lists owned by this advertiser.", +"format": "int64", +"location": "query", +"required": true, +"type": "string" +}, +"floodlightActivityId": { +"description": "Select only remarketing lists that have this floodlight activity ID.", +"format": "int64", +"location": "query", +"type": "string" +}, +"maxResults": { +"default": "1000", +"description": "Maximum number of results to return.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"name": { +"description": "Allows searching for objects by name or ID. Wildcards (*) are allowed. For example, \"remarketing list*2015\" will return objects with names like \"remarketing list June 2015\", \"remarketing list April 2015\", or simply \"remarketing list 2015\". Most of the searches also add wildcards implicitly at the start and the end of the search string. For example, a search string of \"remarketing list\" will match objects with name \"my remarketing list\", \"remarketing list 2015\", or simply \"remarketing list\".", +"location": "query", +"type": "string" +}, +"pageToken": { +"description": "Value of the nextPageToken from the previous result page.", +"location": "query", +"type": "string" +}, +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"sortField": { +"default": "ID", +"description": "Field by which to sort the list.", +"enum": [ +"ID", +"NAME" +], +"enumDescriptions": [ +"", +"" +], +"location": "query", +"type": "string" +}, +"sortOrder": { +"default": "ASCENDING", +"description": "Order of sorted results.", +"enum": [ +"ASCENDING", +"DESCENDING" +], +"enumDescriptions": [ +"Ascending order.", +"Descending order." +], +"location": "query", +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/remarketingLists", +"response": { +"$ref": "RemarketingListsListResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +}, +"patch": { +"description": "Updates an existing remarketing list. This method supports patch semantics.", +"flatPath": "userprofiles/{userprofilesId}/remarketingLists", +"httpMethod": "PATCH", +"id": "dfareporting.remarketingLists.patch", +"parameterOrder": [ +"profileId", +"id" +], +"parameters": { +"id": { +"description": "Required. RemarketingList ID.", +"format": "int64", +"location": "query", +"required": true, +"type": "string" +}, +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/remarketingLists", +"request": { +"$ref": "RemarketingList" +}, +"response": { +"$ref": "RemarketingList" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +}, +"update": { +"description": "Updates an existing remarketing list.", +"flatPath": "userprofiles/{userprofilesId}/remarketingLists", +"httpMethod": "PUT", +"id": "dfareporting.remarketingLists.update", +"parameterOrder": [ +"profileId" +], +"parameters": { +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/remarketingLists", +"request": { +"$ref": "RemarketingList" +}, +"response": { +"$ref": "RemarketingList" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +} +} +}, +"reports": { +"methods": { +"delete": { +"description": "Deletes a report by its ID.", +"flatPath": "userprofiles/{profileId}/reports/{reportId}", +"httpMethod": "DELETE", +"id": "dfareporting.reports.delete", +"parameterOrder": [ +"profileId", +"reportId" +], +"parameters": { +"profileId": { +"description": "The Campaign Manager 360 user profile ID.", +"format": "int64", +"location": "path", +"required": true, +"type": "string" +}, +"reportId": { +"description": "The ID of the report.", +"format": "int64", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "userprofiles/{profileId}/reports/{reportId}", +"scopes": [ +"https://www.googleapis.com/auth/dfareporting" +] +}, +"get": { +"description": "Retrieves a report by its ID.", +"flatPath": "userprofiles/{profileId}/reports/{reportId}", +"httpMethod": "GET", +"id": "dfareporting.reports.get", +"parameterOrder": [ +"profileId", +"reportId" +], +"parameters": { +"profileId": { +"description": "The Campaign Manager 360 user profile ID.", +"format": "int64", +"location": "path", +"required": true, +"type": "string" +}, +"reportId": { +"description": "The ID of the report.", +"format": "int64", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "userprofiles/{profileId}/reports/{reportId}", +"response": { +"$ref": "Report" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfareporting" +] +}, +"insert": { +"description": "Creates a report.", +"flatPath": "userprofiles/{profileId}/reports", +"httpMethod": "POST", +"id": "dfareporting.reports.insert", +"parameterOrder": [ +"profileId" +], +"parameters": { +"profileId": { +"description": "The Campaign Manager 360 user profile ID.", +"format": "int64", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "userprofiles/{profileId}/reports", +"request": { +"$ref": "Report" +}, +"response": { +"$ref": "Report" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfareporting" +] +}, +"list": { +"description": "Retrieves list of reports.", +"flatPath": "userprofiles/{profileId}/reports", +"httpMethod": "GET", +"id": "dfareporting.reports.list", +"parameterOrder": [ +"profileId" +], +"parameters": { +"maxResults": { +"default": "10", +"description": "Maximum number of results to return.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The value of the nextToken from the previous result page.", +"location": "query", +"type": "string" +}, +"profileId": { +"description": "The Campaign Manager 360 user profile ID.", +"format": "int64", +"location": "path", +"required": true, +"type": "string" +}, +"scope": { +"default": "MINE", +"description": "The scope that defines which results are returned.", +"enum": [ +"ALL", +"MINE" +], +"enumDescriptions": [ +"All reports in account.", +"My reports." +], +"location": "query", +"type": "string" +}, +"sortField": { +"default": "LAST_MODIFIED_TIME", +"description": "The field by which to sort the list.", +"enum": [ +"ID", +"LAST_MODIFIED_TIME", +"NAME" +], +"enumDescriptions": [ +"Sort by report ID.", +"Sort by 'lastModifiedTime' field.", +"Sort by name of reports." +], +"location": "query", +"type": "string" +}, +"sortOrder": { +"default": "DESCENDING", +"description": "Order of sorted results.", +"enum": [ +"ASCENDING", +"DESCENDING" +], +"enumDescriptions": [ +"Ascending order.", +"Descending order." +], +"location": "query", +"type": "string" +} +}, +"path": "userprofiles/{profileId}/reports", +"response": { +"$ref": "ReportList" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfareporting" +] +}, +"patch": { +"description": "Updates an existing report. This method supports patch semantics.", +"flatPath": "userprofiles/{profileId}/reports/{reportId}", +"httpMethod": "PATCH", +"id": "dfareporting.reports.patch", +"parameterOrder": [ +"profileId", +"reportId" +], +"parameters": { +"profileId": { +"description": "The Campaign Manager 360 user profile ID.", +"format": "int64", +"location": "path", +"required": true, +"type": "string" +}, +"reportId": { +"description": "The ID of the report.", +"format": "int64", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "userprofiles/{profileId}/reports/{reportId}", +"request": { +"$ref": "Report" +}, +"response": { +"$ref": "Report" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfareporting" +] +}, +"run": { +"description": "Runs a report.", +"flatPath": "userprofiles/{profileId}/reports/{reportId}/run", +"httpMethod": "POST", +"id": "dfareporting.reports.run", +"parameterOrder": [ +"profileId", +"reportId" +], +"parameters": { +"profileId": { +"description": "The Campaign Manager 360 user profile ID.", +"format": "int64", +"location": "path", +"required": true, +"type": "string" +}, +"reportId": { +"description": "The ID of the report.", +"format": "int64", +"location": "path", +"required": true, +"type": "string" +}, +"synchronous": { +"default": "false", +"description": "If set and true, tries to run the report synchronously.", +"location": "query", +"type": "boolean" +} +}, +"path": "userprofiles/{profileId}/reports/{reportId}/run", +"response": { +"$ref": "File" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfareporting" +] +}, +"update": { +"description": "Updates a report.", +"flatPath": "userprofiles/{profileId}/reports/{reportId}", +"httpMethod": "PUT", +"id": "dfareporting.reports.update", +"parameterOrder": [ +"profileId", +"reportId" +], +"parameters": { +"profileId": { +"description": "The Campaign Manager 360 user profile ID.", +"format": "int64", +"location": "path", +"required": true, +"type": "string" +}, +"reportId": { +"description": "The ID of the report.", +"format": "int64", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "userprofiles/{profileId}/reports/{reportId}", +"request": { +"$ref": "Report" +}, +"response": { +"$ref": "Report" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfareporting" +] +} +}, +"resources": { +"compatibleFields": { +"methods": { +"query": { +"description": "Returns the fields that are compatible to be selected in the respective sections of a report criteria, given the fields already selected in the input report and user permissions.", +"flatPath": "userprofiles/{profileId}/reports/compatiblefields/query", +"httpMethod": "POST", +"id": "dfareporting.reports.compatibleFields.query", +"parameterOrder": [ +"profileId" +], +"parameters": { +"profileId": { +"description": "The Campaign Manager 360 user profile ID.", +"format": "int64", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "userprofiles/{profileId}/reports/compatiblefields/query", +"request": { +"$ref": "Report" +}, +"response": { +"$ref": "CompatibleFields" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfareporting" +] +} +} +}, +"files": { +"methods": { +"get": { +"description": "Retrieves a report file by its report ID and file ID. This method supports media download.", +"flatPath": "userprofiles/{profileId}/reports/{reportId}/files/{fileId}", +"httpMethod": "GET", +"id": "dfareporting.reports.files.get", +"parameterOrder": [ +"profileId", +"reportId", +"fileId" +], +"parameters": { +"fileId": { +"description": "The ID of the report file.", +"format": "int64", +"location": "path", +"required": true, +"type": "string" +}, +"profileId": { +"description": "The Campaign Manager 360 user profile ID.", +"format": "int64", +"location": "path", +"required": true, +"type": "string" +}, +"reportId": { +"description": "The ID of the report.", +"format": "int64", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "userprofiles/{profileId}/reports/{reportId}/files/{fileId}", +"response": { +"$ref": "File" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfareporting" +], +"supportsMediaDownload": true +}, +"list": { +"description": "Lists files for a report.", +"flatPath": "userprofiles/{profileId}/reports/{reportId}/files", +"httpMethod": "GET", +"id": "dfareporting.reports.files.list", +"parameterOrder": [ +"profileId", +"reportId" +], +"parameters": { +"maxResults": { +"default": "10", +"description": "Maximum number of results to return.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The value of the nextToken from the previous result page.", +"location": "query", +"type": "string" +}, +"profileId": { +"description": "The Campaign Manager 360 user profile ID.", +"format": "int64", +"location": "path", +"required": true, +"type": "string" +}, +"reportId": { +"description": "The ID of the parent report.", +"format": "int64", +"location": "path", +"required": true, +"type": "string" +}, +"sortField": { +"default": "LAST_MODIFIED_TIME", +"description": "The field by which to sort the list.", +"enum": [ +"ID", +"LAST_MODIFIED_TIME" +], +"enumDescriptions": [ +"", +"" +], +"location": "query", +"type": "string" +}, +"sortOrder": { +"default": "DESCENDING", +"description": "Order of sorted results.", +"enum": [ +"ASCENDING", +"DESCENDING" +], +"enumDescriptions": [ +"Ascending order.", +"Descending order." +], +"location": "query", +"type": "string" +} +}, +"path": "userprofiles/{profileId}/reports/{reportId}/files", +"response": { +"$ref": "FileList" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfareporting" +] +} +} +} +} +}, +"sites": { +"methods": { +"get": { +"description": "Gets one site by ID.", +"flatPath": "userprofiles/{userprofilesId}/sites/{sitesId}", +"httpMethod": "GET", +"id": "dfareporting.sites.get", +"parameterOrder": [ +"profileId", +"id" +], +"parameters": { +"id": { +"description": "Site ID.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/sites/{+id}", +"response": { +"$ref": "Site" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +}, +"insert": { +"description": "Inserts a new site.", +"flatPath": "userprofiles/{userprofilesId}/sites", +"httpMethod": "POST", +"id": "dfareporting.sites.insert", +"parameterOrder": [ +"profileId" +], +"parameters": { +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/sites", +"request": { +"$ref": "Site" +}, +"response": { +"$ref": "Site" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +}, +"list": { +"description": "Retrieves a list of sites, possibly filtered. This method supports paging.", +"flatPath": "userprofiles/{userprofilesId}/sites", +"httpMethod": "GET", +"id": "dfareporting.sites.list", +"parameterOrder": [ +"profileId" +], +"parameters": { +"acceptsInStreamVideoPlacements": { +"description": "This search filter is no longer supported and will have no effect on the results returned.", +"location": "query", +"type": "boolean" +}, +"acceptsInterstitialPlacements": { +"description": "This search filter is no longer supported and will have no effect on the results returned.", +"location": "query", +"type": "boolean" +}, +"acceptsPublisherPaidPlacements": { +"description": "Select only sites that accept publisher paid placements.", +"location": "query", +"type": "boolean" +}, +"adWordsSite": { +"description": "Select only AdWords sites.", +"location": "query", +"type": "boolean" +}, +"approved": { +"description": "Select only approved sites.", +"location": "query", +"type": "boolean" +}, +"campaignIds": { +"description": "Select only sites with these campaign IDs.", +"format": "int64", +"location": "query", +"repeated": true, +"type": "string" +}, +"directorySiteIds": { +"description": "Select only sites with these directory site IDs.", +"format": "int64", +"location": "query", +"repeated": true, +"type": "string" +}, +"ids": { +"description": "Select only sites with these IDs.", +"format": "int64", +"location": "query", +"repeated": true, +"type": "string" +}, +"maxResults": { +"default": "1000", +"description": "Maximum number of results to return.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Value of the nextPageToken from the previous result page.", +"location": "query", +"type": "string" +}, +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"searchString": { +"description": "Allows searching for objects by name, ID or keyName. Wildcards (*) are allowed. For example, \"site*2015\" will return objects with names like \"site June 2015\", \"site April 2015\", or simply \"site 2015\". Most of the searches also add wildcards implicitly at the start and the end of the search string. For example, a search string of \"site\" will match objects with name \"my site\", \"site 2015\", or simply \"site\".", +"location": "query", +"type": "string" +}, +"sortField": { +"default": "ID", +"description": "Field by which to sort the list.", +"enum": [ +"ID", +"NAME" +], +"enumDescriptions": [ +"", +"" +], +"location": "query", +"type": "string" +}, +"sortOrder": { +"default": "ASCENDING", +"description": "Order of sorted results.", +"enum": [ +"ASCENDING", +"DESCENDING" +], +"enumDescriptions": [ +"Ascending order.", +"Descending order." +], +"location": "query", +"type": "string" +}, +"subaccountId": { +"description": "Select only sites with this subaccount ID.", +"format": "int64", +"location": "query", +"type": "string" +}, +"unmappedSite": { +"description": "Select only sites that have not been mapped to a directory site.", +"location": "query", +"type": "boolean" +} +}, +"path": "userprofiles/{+profileId}/sites", +"response": { +"$ref": "SitesListResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +}, +"patch": { +"description": "Updates an existing site. This method supports patch semantics.", +"flatPath": "userprofiles/{userprofilesId}/sites", +"httpMethod": "PATCH", +"id": "dfareporting.sites.patch", +"parameterOrder": [ +"profileId", +"id" +], +"parameters": { +"id": { +"description": "Required. Site ID.", +"format": "int64", +"location": "query", +"required": true, +"type": "string" +}, +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/sites", +"request": { +"$ref": "Site" +}, +"response": { +"$ref": "Site" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +}, +"update": { +"description": "Updates an existing site.", +"flatPath": "userprofiles/{userprofilesId}/sites", +"httpMethod": "PUT", +"id": "dfareporting.sites.update", +"parameterOrder": [ +"profileId" +], +"parameters": { +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/sites", +"request": { +"$ref": "Site" +}, +"response": { +"$ref": "Site" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +} +} +}, +"sizes": { +"methods": { +"get": { +"description": "Gets one size by ID.", +"flatPath": "userprofiles/{userprofilesId}/sizes/{sizesId}", +"httpMethod": "GET", +"id": "dfareporting.sizes.get", +"parameterOrder": [ +"profileId", +"id" +], +"parameters": { +"id": { +"description": "Size ID.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/sizes/{+id}", +"response": { +"$ref": "Size" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +}, +"insert": { +"description": "Inserts a new size.", +"flatPath": "userprofiles/{userprofilesId}/sizes", +"httpMethod": "POST", +"id": "dfareporting.sizes.insert", +"parameterOrder": [ +"profileId" +], +"parameters": { +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/sizes", +"request": { +"$ref": "Size" +}, +"response": { +"$ref": "Size" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +}, +"list": { +"description": "Retrieves a list of sizes, possibly filtered. Retrieved sizes are globally unique and may include values not currently in use by your account. Due to this, the list of sizes returned by this method may differ from the list seen in the Trafficking UI.", +"flatPath": "userprofiles/{userprofilesId}/sizes", +"httpMethod": "GET", +"id": "dfareporting.sizes.list", +"parameterOrder": [ +"profileId" +], +"parameters": { +"height": { +"description": "Select only sizes with this height.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"iabStandard": { +"description": "Select only IAB standard sizes.", +"location": "query", +"type": "boolean" +}, +"ids": { +"description": "Select only sizes with these IDs.", +"format": "int64", +"location": "query", +"repeated": true, +"type": "string" +}, +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"width": { +"description": "Select only sizes with this width.", +"format": "int32", +"location": "query", +"type": "integer" +} +}, +"path": "userprofiles/{+profileId}/sizes", +"response": { +"$ref": "SizesListResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +} +} +}, +"studioCreativeAssets": { +"methods": { +"insert": { +"description": "Inserts a new studio creative asset.", +"flatPath": "studio/creativeAssets", +"httpMethod": "POST", +"id": "dfareporting.studioCreativeAssets.insert", +"mediaUpload": { +"accept": [ +"*/*" +], +"maxSize": "1073741824", +"protocols": { +"simple": { +"multipart": true, +"path": "/upload/dfareporting/v4/studio/creativeAssets" +} +} +}, +"parameterOrder": [], +"parameters": {}, +"path": "studio/creativeAssets", +"request": { +"$ref": "DfareportingStudioCreativeAssetsInsertRequest" +}, +"response": { +"$ref": "StudioCreativeAssetsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +], +"supportsMediaUpload": true +} +} +}, +"studioCreatives": { +"methods": { +"get": { +"description": "Gets a studio creative by ID.", +"flatPath": "studio/creatives/{creativesId}", +"httpMethod": "GET", +"id": "dfareporting.studioCreatives.get", +"parameterOrder": [ +"studioCreativeId" +], +"parameters": { +"studioCreativeId": { +"description": "Required. Studio creative ID.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "studio/creatives/{+studioCreativeId}", +"response": { +"$ref": "StudioCreative" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +}, +"insert": { +"description": "Inserts a new studio creative.", +"flatPath": "studio/creatives", +"httpMethod": "POST", +"id": "dfareporting.studioCreatives.insert", +"parameterOrder": [], +"parameters": {}, +"path": "studio/creatives", +"request": { +"$ref": "StudioCreative" +}, +"response": { +"$ref": "StudioCreative" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +}, +"publish": { +"description": "Publish for a studio creative.", +"flatPath": "studio/creatives/{creativesId}/publish", +"httpMethod": "POST", +"id": "dfareporting.studioCreatives.publish", +"parameterOrder": [ +"studioCreativeId" +], +"parameters": { +"studioCreativeId": { +"description": "Required. Studio creative ID.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "studio/creatives/{+studioCreativeId}/publish", +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +} +} +}, +"subaccounts": { +"methods": { +"get": { +"description": "Gets one subaccount by ID.", +"flatPath": "userprofiles/{userprofilesId}/subaccounts/{subaccountsId}", +"httpMethod": "GET", +"id": "dfareporting.subaccounts.get", +"parameterOrder": [ +"profileId", +"id" +], +"parameters": { +"id": { +"description": "Subaccount ID.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/subaccounts/{+id}", +"response": { +"$ref": "Subaccount" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +}, +"insert": { +"description": "Inserts a new subaccount.", +"flatPath": "userprofiles/{userprofilesId}/subaccounts", +"httpMethod": "POST", +"id": "dfareporting.subaccounts.insert", +"parameterOrder": [ +"profileId" +], +"parameters": { +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/subaccounts", +"request": { +"$ref": "Subaccount" +}, +"response": { +"$ref": "Subaccount" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +}, +"list": { +"description": "Gets a list of subaccounts, possibly filtered. This method supports paging.", +"flatPath": "userprofiles/{userprofilesId}/subaccounts", +"httpMethod": "GET", +"id": "dfareporting.subaccounts.list", +"parameterOrder": [ +"profileId" +], +"parameters": { +"ids": { +"description": "Select only subaccounts with these IDs.", +"format": "int64", +"location": "query", +"repeated": true, +"type": "string" +}, +"maxResults": { +"default": "1000", +"description": "Maximum number of results to return.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Value of the nextPageToken from the previous result page.", +"location": "query", +"type": "string" +}, +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"searchString": { +"description": "Allows searching for objects by name or ID. Wildcards (*) are allowed. For example, \"subaccount*2015\" will return objects with names like \"subaccount June 2015\", \"subaccount April 2015\", or simply \"subaccount 2015\". Most of the searches also add wildcards implicitly at the start and the end of the search string. For example, a search string of \"subaccount\" will match objects with name \"my subaccount\", \"subaccount 2015\", or simply \"subaccount\" .", +"location": "query", +"type": "string" +}, +"sortField": { +"default": "ID", +"description": "Field by which to sort the list.", +"enum": [ +"ID", +"NAME" +], +"enumDescriptions": [ +"", +"" +], +"location": "query", +"type": "string" +}, +"sortOrder": { +"default": "ASCENDING", +"description": "Order of sorted results.", +"enum": [ +"ASCENDING", +"DESCENDING" +], +"enumDescriptions": [ +"Ascending order.", +"Descending order." +], +"location": "query", +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/subaccounts", +"response": { +"$ref": "SubaccountsListResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +}, +"patch": { +"description": "Updates an existing subaccount. This method supports patch semantics.", +"flatPath": "userprofiles/{userprofilesId}/subaccounts", +"httpMethod": "PATCH", +"id": "dfareporting.subaccounts.patch", +"parameterOrder": [ +"profileId", +"id" +], +"parameters": { +"id": { +"description": "Required. Subaccount ID.", +"format": "int64", +"location": "query", +"required": true, +"type": "string" +}, +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/subaccounts", +"request": { +"$ref": "Subaccount" +}, +"response": { +"$ref": "Subaccount" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +}, +"update": { +"description": "Updates an existing subaccount.", +"flatPath": "userprofiles/{userprofilesId}/subaccounts", +"httpMethod": "PUT", +"id": "dfareporting.subaccounts.update", +"parameterOrder": [ +"profileId" +], +"parameters": { +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/subaccounts", +"request": { +"$ref": "Subaccount" +}, +"response": { +"$ref": "Subaccount" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +} +} +}, +"targetableRemarketingLists": { +"methods": { +"get": { +"description": "Gets one remarketing list by ID.", +"flatPath": "userprofiles/{userprofilesId}/targetableRemarketingLists/{targetableRemarketingListsId}", +"httpMethod": "GET", +"id": "dfareporting.targetableRemarketingLists.get", +"parameterOrder": [ +"profileId", +"id" +], +"parameters": { +"id": { +"description": "Remarketing list ID.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/targetableRemarketingLists/{+id}", +"response": { +"$ref": "TargetableRemarketingList" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +}, +"list": { +"description": "Retrieves a list of targetable remarketing lists, possibly filtered. This method supports paging.", +"flatPath": "userprofiles/{userprofilesId}/targetableRemarketingLists", +"httpMethod": "GET", +"id": "dfareporting.targetableRemarketingLists.list", +"parameterOrder": [ +"profileId", +"advertiserId" +], +"parameters": { +"active": { +"description": "Select only active or only inactive targetable remarketing lists.", +"location": "query", +"type": "boolean" +}, +"advertiserId": { +"description": "Required. Select only targetable remarketing lists targetable by these advertisers.", +"format": "int64", +"location": "query", +"required": true, +"type": "string" +}, +"maxResults": { +"default": "1000", +"description": "Maximum number of results to return.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"name": { +"description": "Allows searching for objects by name or ID. Wildcards (*) are allowed. For example, \"remarketing list*2015\" will return objects with names like \"remarketing list June 2015\", \"remarketing list April 2015\", or simply \"remarketing list 2015\". Most of the searches also add wildcards implicitly at the start and the end of the search string. For example, a search string of \"remarketing list\" will match objects with name \"my remarketing list\", \"remarketing list 2015\", or simply \"remarketing list\".", +"location": "query", +"type": "string" +}, +"pageToken": { +"description": "Value of the nextPageToken from the previous result page.", +"location": "query", +"type": "string" +}, +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"sortField": { +"default": "ID", +"description": "Field by which to sort the list.", +"enum": [ +"ID", +"NAME" +], +"enumDescriptions": [ +"", +"" +], +"location": "query", +"type": "string" +}, +"sortOrder": { +"default": "ASCENDING", +"description": "Order of sorted results.", +"enum": [ +"ASCENDING", +"DESCENDING" +], +"enumDescriptions": [ +"Ascending order.", +"Descending order." +], +"location": "query", +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/targetableRemarketingLists", +"response": { +"$ref": "TargetableRemarketingListsListResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +} +} +}, +"targetingTemplates": { +"methods": { +"get": { +"description": "Gets one targeting template by ID.", +"flatPath": "userprofiles/{userprofilesId}/targetingTemplates/{targetingTemplatesId}", +"httpMethod": "GET", +"id": "dfareporting.targetingTemplates.get", +"parameterOrder": [ +"profileId", +"id" +], +"parameters": { +"id": { +"description": "Targeting template ID.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/targetingTemplates/{+id}", +"response": { +"$ref": "TargetingTemplate" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +}, +"insert": { +"description": "Inserts a new targeting template.", +"flatPath": "userprofiles/{userprofilesId}/targetingTemplates", +"httpMethod": "POST", +"id": "dfareporting.targetingTemplates.insert", +"parameterOrder": [ +"profileId" +], +"parameters": { +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/targetingTemplates", +"request": { +"$ref": "TargetingTemplate" +}, +"response": { +"$ref": "TargetingTemplate" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +}, +"list": { +"description": "Retrieves a list of targeting templates, optionally filtered. This method supports paging.", +"flatPath": "userprofiles/{userprofilesId}/targetingTemplates", +"httpMethod": "GET", +"id": "dfareporting.targetingTemplates.list", +"parameterOrder": [ +"profileId" +], +"parameters": { +"advertiserId": { +"description": "Select only targeting templates with this advertiser ID.", +"format": "int64", +"location": "query", +"type": "string" +}, +"ids": { +"description": "Select only targeting templates with these IDs.", +"format": "int64", +"location": "query", +"repeated": true, +"type": "string" +}, +"maxResults": { +"default": "1000", +"description": "Maximum number of results to return.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Value of the nextPageToken from the previous result page.", +"location": "query", +"type": "string" +}, +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"searchString": { +"description": "Allows searching for objects by name or ID. Wildcards (*) are allowed. For example, \"template*2015\" will return objects with names like \"template June 2015\", \"template April 2015\", or simply \"template 2015\". Most of the searches also add wildcards implicitly at the start and the end of the search string. For example, a search string of \"template\" will match objects with name \"my template\", \"template 2015\", or simply \"template\".", +"location": "query", +"type": "string" +}, +"sortField": { +"default": "ID", +"description": "Field by which to sort the list.", +"enum": [ +"ID", +"NAME" +], +"enumDescriptions": [ +"", +"" +], +"location": "query", +"type": "string" +}, +"sortOrder": { +"default": "ASCENDING", +"description": "Order of sorted results.", +"enum": [ +"ASCENDING", +"DESCENDING" +], +"enumDescriptions": [ +"Ascending order.", +"Descending order." +], +"location": "query", +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/targetingTemplates", +"response": { +"$ref": "TargetingTemplatesListResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +}, +"patch": { +"description": "Updates an existing targeting template. This method supports patch semantics.", +"flatPath": "userprofiles/{userprofilesId}/targetingTemplates", +"httpMethod": "PATCH", +"id": "dfareporting.targetingTemplates.patch", +"parameterOrder": [ +"profileId", +"id" +], +"parameters": { +"id": { +"description": "Required. RemarketingList ID.", +"format": "int64", +"location": "query", +"required": true, +"type": "string" +}, +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/targetingTemplates", +"request": { +"$ref": "TargetingTemplate" +}, +"response": { +"$ref": "TargetingTemplate" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +}, +"update": { +"description": "Updates an existing targeting template.", +"flatPath": "userprofiles/{userprofilesId}/targetingTemplates", +"httpMethod": "PUT", +"id": "dfareporting.targetingTemplates.update", +"parameterOrder": [ +"profileId" +], +"parameters": { +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/targetingTemplates", +"request": { +"$ref": "TargetingTemplate" +}, +"response": { +"$ref": "TargetingTemplate" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +} +} +}, +"tvCampaignDetails": { +"methods": { +"get": { +"description": "Gets one TvCampaignDetail by ID.", +"flatPath": "userprofiles/{userprofilesId}/tvCampaignDetails/{tvCampaignDetailsId}", +"httpMethod": "GET", +"id": "dfareporting.tvCampaignDetails.get", +"parameterOrder": [ +"profileId", +"id" +], +"parameters": { +"accountId": { +"description": "Required. Account ID associated with this request.", +"format": "int64", +"location": "query", +"type": "string" +}, +"id": { +"description": "Required. TV Campaign ID.", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"profileId": { +"description": "Required. User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/tvCampaignDetails/{+id}", +"response": { +"$ref": "TvCampaignDetail" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +} +} +}, +"tvCampaignSummaries": { +"methods": { +"list": { +"description": "Retrieves a list of TV campaign summaries.", +"flatPath": "userprofiles/{userprofilesId}/tvCampaignSummaries", +"httpMethod": "GET", +"id": "dfareporting.tvCampaignSummaries.list", +"parameterOrder": [ +"profileId" +], +"parameters": { +"accountId": { +"description": "Required. Account ID associated with this request.", +"format": "int64", +"location": "query", +"type": "string" +}, +"name": { +"description": "Required. Search string to filter the list of TV campaign summaries. Matches any substring. Required field.", +"location": "query", +"type": "string" +}, +"profileId": { +"description": "Required. User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/tvCampaignSummaries", +"response": { +"$ref": "TvCampaignSummariesListResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +} +} +}, +"userProfiles": { +"methods": { +"get": { +"description": "Gets one user profile by ID.", +"flatPath": "userprofiles/{profileId}", +"httpMethod": "GET", +"id": "dfareporting.userProfiles.get", +"parameterOrder": [ +"profileId" +], +"parameters": { +"profileId": { +"description": "The user profile ID.", +"format": "int64", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "userprofiles/{profileId}", +"response": { +"$ref": "UserProfile" +}, +"scopes": [ +"https://www.googleapis.com/auth/ddmconversions", +"https://www.googleapis.com/auth/dfareporting", +"https://www.googleapis.com/auth/dfatrafficking" +] +}, +"list": { +"description": "Retrieves list of user profiles for a user.", +"flatPath": "userprofiles", +"httpMethod": "GET", +"id": "dfareporting.userProfiles.list", +"parameterOrder": [], +"parameters": {}, +"path": "userprofiles", +"response": { +"$ref": "UserProfileList" +}, +"scopes": [ +"https://www.googleapis.com/auth/ddmconversions", +"https://www.googleapis.com/auth/dfareporting", +"https://www.googleapis.com/auth/dfatrafficking" +] +} +} +}, +"userRolePermissionGroups": { +"methods": { +"get": { +"description": "Gets one user role permission group by ID.", +"flatPath": "userprofiles/{userprofilesId}/userRolePermissionGroups/{userRolePermissionGroupsId}", +"httpMethod": "GET", +"id": "dfareporting.userRolePermissionGroups.get", +"parameterOrder": [ +"profileId", +"id" +], +"parameters": { +"id": { +"description": "User role permission group ID.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/userRolePermissionGroups/{+id}", +"response": { +"$ref": "UserRolePermissionGroup" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +}, +"list": { +"description": "Gets a list of all supported user role permission groups.", +"flatPath": "userprofiles/{userprofilesId}/userRolePermissionGroups", +"httpMethod": "GET", +"id": "dfareporting.userRolePermissionGroups.list", +"parameterOrder": [ +"profileId" +], +"parameters": { +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/userRolePermissionGroups", +"response": { +"$ref": "UserRolePermissionGroupsListResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +} +} +}, +"userRolePermissions": { +"methods": { +"get": { +"description": "Gets one user role permission by ID.", +"flatPath": "userprofiles/{userprofilesId}/userRolePermissions/{userRolePermissionsId}", +"httpMethod": "GET", +"id": "dfareporting.userRolePermissions.get", +"parameterOrder": [ +"profileId", +"id" +], +"parameters": { +"id": { +"description": "User role permission ID.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/userRolePermissions/{+id}", +"response": { +"$ref": "UserRolePermission" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +}, +"list": { +"description": "Gets a list of user role permissions, possibly filtered.", +"flatPath": "userprofiles/{userprofilesId}/userRolePermissions", +"httpMethod": "GET", +"id": "dfareporting.userRolePermissions.list", +"parameterOrder": [ +"profileId" +], +"parameters": { +"ids": { +"description": "Select only user role permissions with these IDs.", +"format": "int64", +"location": "query", +"repeated": true, +"type": "string" +}, +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/userRolePermissions", +"response": { +"$ref": "UserRolePermissionsListResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +} +} +}, +"userRoles": { +"methods": { +"delete": { +"description": "Deletes an existing user role.", +"flatPath": "userprofiles/{userprofilesId}/userRoles/{userRolesId}", +"httpMethod": "DELETE", +"id": "dfareporting.userRoles.delete", +"parameterOrder": [ +"profileId", +"id" +], +"parameters": { +"id": { +"description": "User role ID.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/userRoles/{+id}", +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +}, +"get": { +"description": "Gets one user role by ID.", +"flatPath": "userprofiles/{userprofilesId}/userRoles/{userRolesId}", +"httpMethod": "GET", +"id": "dfareporting.userRoles.get", +"parameterOrder": [ +"profileId", +"id" +], +"parameters": { +"id": { +"description": "User role ID.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/userRoles/{+id}", +"response": { +"$ref": "UserRole" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +}, +"insert": { +"description": "Inserts a new user role.", +"flatPath": "userprofiles/{userprofilesId}/userRoles", +"httpMethod": "POST", +"id": "dfareporting.userRoles.insert", +"parameterOrder": [ +"profileId" +], +"parameters": { +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/userRoles", +"request": { +"$ref": "UserRole" +}, +"response": { +"$ref": "UserRole" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +}, +"list": { +"description": "Retrieves a list of user roles, possibly filtered. This method supports paging.", +"flatPath": "userprofiles/{userprofilesId}/userRoles", +"httpMethod": "GET", +"id": "dfareporting.userRoles.list", +"parameterOrder": [ +"profileId" +], +"parameters": { +"accountUserRoleOnly": { +"description": "Select only account level user roles not associated with any specific subaccount.", +"location": "query", +"type": "boolean" +}, +"ids": { +"description": "Select only user roles with the specified IDs.", +"format": "int64", +"location": "query", +"repeated": true, +"type": "string" +}, +"maxResults": { +"default": "1000", +"description": "Maximum number of results to return.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Value of the nextPageToken from the previous result page.", +"location": "query", +"type": "string" +}, +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"searchString": { +"description": "Allows searching for objects by name or ID. Wildcards (*) are allowed. For example, \"userrole*2015\" will return objects with names like \"userrole June 2015\", \"userrole April 2015\", or simply \"userrole 2015\". Most of the searches also add wildcards implicitly at the start and the end of the search string. For example, a search string of \"userrole\" will match objects with name \"my userrole\", \"userrole 2015\", or simply \"userrole\".", +"location": "query", +"type": "string" +}, +"sortField": { +"default": "ID", +"description": "Field by which to sort the list.", +"enum": [ +"ID", +"NAME" +], +"enumDescriptions": [ +"", +"" +], +"location": "query", +"type": "string" +}, +"sortOrder": { +"default": "ASCENDING", +"description": "Order of sorted results.", +"enum": [ +"ASCENDING", +"DESCENDING" +], +"enumDescriptions": [ +"Ascending order.", +"Descending order." +], +"location": "query", +"type": "string" +}, +"subaccountId": { +"description": "Select only user roles that belong to this subaccount.", +"format": "int64", +"location": "query", +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/userRoles", +"response": { +"$ref": "UserRolesListResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +}, +"patch": { +"description": "Updates an existing user role. This method supports patch semantics.", +"flatPath": "userprofiles/{userprofilesId}/userRoles", +"httpMethod": "PATCH", +"id": "dfareporting.userRoles.patch", +"parameterOrder": [ +"profileId", +"id" +], +"parameters": { +"id": { +"description": "Required. UserRole ID.", +"format": "int64", +"location": "query", +"required": true, +"type": "string" +}, +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/userRoles", +"request": { +"$ref": "UserRole" +}, +"response": { +"$ref": "UserRole" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +}, +"update": { +"description": "Updates an existing user role.", +"flatPath": "userprofiles/{userprofilesId}/userRoles", +"httpMethod": "PUT", +"id": "dfareporting.userRoles.update", +"parameterOrder": [ +"profileId" +], +"parameters": { +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/userRoles", +"request": { +"$ref": "UserRole" +}, +"response": { +"$ref": "UserRole" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +} +} +}, +"videoFormats": { +"methods": { +"get": { +"description": "Gets one video format by ID.", +"flatPath": "userprofiles/{userprofilesId}/videoFormats/{videoFormatsId}", +"httpMethod": "GET", +"id": "dfareporting.videoFormats.get", +"parameterOrder": [ +"profileId", +"id" +], +"parameters": { +"id": { +"description": "Video format ID.", +"format": "int32", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "integer" +}, +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/videoFormats/{+id}", +"response": { +"$ref": "VideoFormat" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +}, +"list": { +"description": "Lists available video formats.", +"flatPath": "userprofiles/{userprofilesId}/videoFormats", +"httpMethod": "GET", +"id": "dfareporting.videoFormats.list", +"parameterOrder": [ +"profileId" +], +"parameters": { +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/videoFormats", +"response": { +"$ref": "VideoFormatsListResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +} +} +} +}, +"revision": "20260213", +"rootUrl": "https://dfareporting.googleapis.com/", +"schemas": { +"Account": { +"description": "Contains properties of a Campaign Manager account.", +"id": "Account", +"properties": { +"accountPermissionIds": { +"description": "Account permissions assigned to this account.", +"items": { +"format": "int64", +"type": "string" +}, +"type": "array" +}, +"accountProfile": { +"description": "Profile for this account. This is a read-only field that can be left blank.", +"enum": [ +"ACCOUNT_PROFILE_BASIC", +"ACCOUNT_PROFILE_STANDARD" +], +"enumDescriptions": [ +"Basic profile has fewer features and lower CPM.", +"Standard profile as a higher CPM and all the features." +], +"type": "string" +}, +"active": { +"description": "Whether this account is active.", +"type": "boolean" +}, +"activeAdsLimitTier": { +"description": "Maximum number of active ads allowed for this account.", +"enum": [ +"ACTIVE_ADS_TIER_40K", +"ACTIVE_ADS_TIER_75K", +"ACTIVE_ADS_TIER_100K", +"ACTIVE_ADS_TIER_200K", +"ACTIVE_ADS_TIER_300K", +"ACTIVE_ADS_TIER_500K", +"ACTIVE_ADS_TIER_750K", +"ACTIVE_ADS_TIER_1M" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"", +"", +"" +], +"type": "string" +}, +"activeViewOptOut": { +"description": "Whether to serve creatives with Active View tags. If disabled, viewability data will not be available for any impressions.", +"type": "boolean" +}, +"availablePermissionIds": { +"description": "User role permissions available to the user roles of this account.", +"items": { +"format": "int64", +"type": "string" +}, +"type": "array" +}, +"countryId": { +"description": "ID of the country associated with this account.", +"format": "int64", +"type": "string" +}, +"currencyId": { +"description": "ID of currency associated with this account. This is a required field. Acceptable values are: - \"1\" for USD - \"2\" for GBP - \"3\" for ESP - \"4\" for SEK - \"5\" for CAD - \"6\" for JPY - \"7\" for DEM - \"8\" for AUD - \"9\" for FRF - \"10\" for ITL - \"11\" for DKK - \"12\" for NOK - \"13\" for FIM - \"14\" for ZAR - \"15\" for IEP - \"16\" for NLG - \"17\" for EUR - \"18\" for KRW - \"19\" for TWD - \"20\" for SGD - \"21\" for CNY - \"22\" for HKD - \"23\" for NZD - \"24\" for MYR - \"25\" for BRL - \"26\" for PTE - \"28\" for CLP - \"29\" for TRY - \"30\" for ARS - \"31\" for PEN - \"32\" for ILS - \"33\" for CHF - \"34\" for VEF - \"35\" for COP - \"36\" for GTQ - \"37\" for PLN - \"39\" for INR - \"40\" for THB - \"41\" for IDR - \"42\" for CZK - \"43\" for RON - \"44\" for HUF - \"45\" for RUB - \"46\" for AED - \"47\" for BGN - \"48\" for HRK - \"49\" for MXN - \"50\" for NGN - \"51\" for EGP ", +"format": "int64", +"type": "string" +}, +"defaultCreativeSizeId": { +"description": "Default placement dimensions for this account.", +"format": "int64", +"type": "string" +}, +"description": { +"description": "Description of this account.", +"type": "string" +}, +"id": { +"description": "ID of this account. This is a read-only, auto-generated field.", +"format": "int64", +"type": "string" +}, +"kind": { +"description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#account\".", +"type": "string" +}, +"locale": { +"description": "Locale of this account. Acceptable values are: - \"cs\" (Czech) - \"de\" (German) - \"en\" (English) - \"en-GB\" (English United Kingdom) - \"es\" (Spanish) - \"fr\" (French) - \"it\" (Italian) - \"ja\" (Japanese) - \"ko\" (Korean) - \"pl\" (Polish) - \"pt-BR\" (Portuguese Brazil) - \"ru\" (Russian) - \"sv\" (Swedish) - \"tr\" (Turkish) - \"zh-CN\" (Chinese Simplified) - \"zh-TW\" (Chinese Traditional) ", +"type": "string" +}, +"maximumImageSize": { +"description": "Maximum image size allowed for this account, in kilobytes. Value must be greater than or equal to 1.", +"format": "int64", +"type": "string" +}, +"name": { +"description": "Name of this account. This is a required field, and must be less than 128 characters long and be globally unique.", +"type": "string" +}, +"nielsenOcrEnabled": { +"description": "Whether campaigns created in this account will be enabled for Nielsen OCR reach ratings by default.", +"type": "boolean" +}, +"reportsConfiguration": { +"$ref": "ReportsConfiguration", +"description": "Reporting configuration of this account." +}, +"shareReportsWithTwitter": { +"description": "Share Path to Conversion reports with Twitter.", +"type": "boolean" +}, +"teaserSizeLimit": { +"description": "File size limit in kilobytes of Rich Media teaser creatives. Acceptable values are 1 to 10240, inclusive.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"AccountActiveAdSummary": { +"description": "Gets a summary of active ads in an account.", +"id": "AccountActiveAdSummary", +"properties": { +"accountId": { +"description": "ID of the account.", +"format": "int64", +"type": "string" +}, +"activeAds": { +"description": "Ads that have been activated for the account", +"format": "int64", +"type": "string" +}, +"activeAdsLimitTier": { +"description": "Maximum number of active ads allowed for the account.", +"enum": [ +"ACTIVE_ADS_TIER_40K", +"ACTIVE_ADS_TIER_75K", +"ACTIVE_ADS_TIER_100K", +"ACTIVE_ADS_TIER_200K", +"ACTIVE_ADS_TIER_300K", +"ACTIVE_ADS_TIER_500K", +"ACTIVE_ADS_TIER_750K", +"ACTIVE_ADS_TIER_1M" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"", +"", +"" +], +"type": "string" +}, +"availableAds": { +"description": "Ads that can be activated for the account.", +"format": "int64", +"type": "string" +}, +"kind": { +"description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#accountActiveAdSummary\".", +"type": "string" +} +}, +"type": "object" +}, +"AccountPermission": { +"description": "AccountPermissions contains information about a particular account permission. Some features of Campaign Manager require an account permission to be present in the account.", +"id": "AccountPermission", +"properties": { +"accountProfiles": { +"description": "Account profiles associated with this account permission. Possible values are: - \"ACCOUNT_PROFILE_BASIC\" - \"ACCOUNT_PROFILE_STANDARD\" ", +"items": { +"enum": [ +"ACCOUNT_PROFILE_BASIC", +"ACCOUNT_PROFILE_STANDARD" +], +"enumDescriptions": [ +"Basic profile has fewer features and lower CPM.", +"Standard profile as a higher CPM and all the features." +], +"type": "string" +}, +"type": "array" +}, +"id": { +"description": "ID of this account permission.", +"format": "int64", +"type": "string" +}, +"kind": { +"description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#accountPermission\".", +"type": "string" +}, +"level": { +"description": "Administrative level required to enable this account permission.", +"enum": [ +"USER", +"ADMINISTRATOR" +], +"enumDescriptions": [ +"", +"" +], +"type": "string" +}, +"name": { +"description": "Name of this account permission.", +"type": "string" +}, +"permissionGroupId": { +"description": "Permission group of this account permission.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"AccountPermissionGroup": { +"description": "AccountPermissionGroups contains a mapping of permission group IDs to names. A permission group is a grouping of account permissions.", +"id": "AccountPermissionGroup", +"properties": { +"id": { +"description": "ID of this account permission group.", +"format": "int64", +"type": "string" +}, +"kind": { +"description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#accountPermissionGroup\".", +"type": "string" +}, +"name": { +"description": "Name of this account permission group.", +"type": "string" +} +}, +"type": "object" +}, +"AccountPermissionGroupsListResponse": { +"description": "Account Permission Group List Response", +"id": "AccountPermissionGroupsListResponse", +"properties": { +"accountPermissionGroups": { +"description": "Account permission group collection.", +"items": { +"$ref": "AccountPermissionGroup" +}, +"type": "array" +}, +"kind": { +"description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#accountPermissionGroupGroupsListResponse\".", +"type": "string" +} +}, +"type": "object" +}, +"AccountPermissionsListResponse": { +"description": "Account Permission List Response", +"id": "AccountPermissionsListResponse", +"properties": { +"accountPermissions": { +"description": "Account permission collection.", +"items": { +"$ref": "AccountPermission" +}, +"type": "array" +}, +"kind": { +"description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#accountPermissionsListResponse\".", +"type": "string" +} +}, +"type": "object" +}, +"AccountUserProfile": { +"description": "AccountUserProfiles contains properties of a Campaign Manager user profile. This resource is specifically for managing user profiles, whereas UserProfiles is for accessing the API.", +"id": "AccountUserProfile", +"properties": { +"accountId": { +"description": "Account ID of the user profile. This is a read-only field that can be left blank.", +"format": "int64", +"type": "string" +}, +"active": { +"description": "Whether this user profile is active. This defaults to false, and must be set true on insert for the user profile to be usable.", +"type": "boolean" +}, +"advertiserFilter": { +"$ref": "ObjectFilter", +"description": "Filter that describes which advertisers are visible to the user profile." +}, +"campaignFilter": { +"$ref": "ObjectFilter", +"description": "Filter that describes which campaigns are visible to the user profile." +}, +"comments": { +"description": "Comments for this user profile.", +"type": "string" +}, +"email": { +"description": "Email of the user profile. The email address must be linked to a Google Account. This field is required on insertion and is read-only after insertion.", +"type": "string" +}, +"id": { +"description": "ID of the user profile. This is a read-only, auto-generated field.", +"format": "int64", +"type": "string" +}, +"kind": { +"description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#accountUserProfile\".", +"type": "string" +}, +"locale": { +"description": "Locale of the user profile. This is a required field. Acceptable values are: - \"cs\" (Czech) - \"de\" (German) - \"en\" (English) - \"en-GB\" (English United Kingdom) - \"es\" (Spanish) - \"fr\" (French) - \"it\" (Italian) - \"ja\" (Japanese) - \"ko\" (Korean) - \"pl\" (Polish) - \"pt-BR\" (Portuguese Brazil) - \"ru\" (Russian) - \"sv\" (Swedish) - \"tr\" (Turkish) - \"zh-CN\" (Chinese Simplified) - \"zh-TW\" (Chinese Traditional) ", +"type": "string" +}, +"name": { +"description": "Name of the user profile. This is a required field. Must be less than 64 characters long, must be globally unique, and cannot contain whitespace or any of the following characters: \"&;<>\"#%,\".", +"type": "string" +}, +"siteFilter": { +"$ref": "ObjectFilter", +"description": "Filter that describes which sites are visible to the user profile." +}, +"subaccountId": { +"description": "Subaccount ID of the user profile. This is a read-only field that can be left blank.", +"format": "int64", +"type": "string" +}, +"traffickerType": { +"description": "Trafficker type of this user profile. This is a read-only field.", +"enum": [ +"INTERNAL_NON_TRAFFICKER", +"INTERNAL_TRAFFICKER", +"EXTERNAL_TRAFFICKER" +], +"enumDescriptions": [ +"Internal profile, but is not a trafficker.", +"Internal profile who is a trafficker.", +"External profile who is a trafficker." +], +"type": "string" +}, +"userAccessType": { +"description": "User type of the user profile. This is a read-only field that can be left blank.", +"enum": [ +"NORMAL_USER", +"SUPER_USER", +"INTERNAL_ADMINISTRATOR", +"READ_ONLY_SUPER_USER" +], +"enumDescriptions": [ +"Normal user managed by the customer.", +"Super user managed by internal support teams.", +"Internal administrator having super user access to only a specific set of networks.", +"A super-user without permission to mutate any data." +], +"type": "string" +}, +"userRoleFilter": { +"$ref": "ObjectFilter", +"description": "Filter that describes which user roles are visible to the user profile." +}, +"userRoleId": { +"description": "User role ID of the user profile. This is a required field.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"AccountUserProfilesListResponse": { +"description": "Account User Profile List Response", +"id": "AccountUserProfilesListResponse", +"properties": { +"accountUserProfiles": { +"description": "Account user profile collection.", +"items": { +"$ref": "AccountUserProfile" +}, +"type": "array" +}, +"kind": { +"description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#accountUserProfilesListResponse\".", +"type": "string" +}, +"nextPageToken": { +"description": "Pagination token to be used for the next list operation.", +"type": "string" +} +}, +"type": "object" +}, +"AccountsListResponse": { +"description": "Account List Response", +"id": "AccountsListResponse", +"properties": { +"accounts": { +"description": "Account collection.", +"items": { +"$ref": "Account" +}, +"type": "array" +}, +"kind": { +"description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#accountsListResponse\".", +"type": "string" +}, +"nextPageToken": { +"description": "Pagination token to be used for the next list operation.", +"type": "string" +} +}, +"type": "object" +}, +"Activities": { +"description": "Represents an activity group.", +"id": "Activities", +"properties": { +"filters": { +"description": "List of activity filters. The dimension values need to be all either of type \"dfa:activity\" or \"dfa:activityGroup\".", +"items": { +"$ref": "DimensionValue" +}, +"type": "array" +}, +"kind": { +"description": "The kind of resource this is, in this case dfareporting#activities.", +"type": "string" +}, +"metricNames": { +"description": "List of names of floodlight activity metrics.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"Ad": { +"description": "Contains properties of a Campaign Manager ad.", +"id": "Ad", +"properties": { +"accountId": { +"description": "Account ID of this ad. This is a read-only field that can be left blank.", +"format": "int64", +"type": "string" +}, +"active": { +"description": "Whether this ad is active. When true, archived must be false.", +"type": "boolean" +}, +"advertiserId": { +"description": "Advertiser ID of this ad. This is a required field on insertion.", +"format": "int64", +"type": "string" +}, +"advertiserIdDimensionValue": { +"$ref": "DimensionValue", +"description": "Dimension value for the ID of the advertiser. This is a read-only, auto-generated field." +}, +"archived": { +"description": "Whether this ad is archived. When true, active must be false.", +"type": "boolean" +}, +"audienceSegmentId": { +"description": "Audience segment ID that is being targeted for this ad. Applicable when type is AD_SERVING_STANDARD_AD.", +"format": "int64", +"type": "string" +}, +"campaignId": { +"description": "Campaign ID of this ad. This is a required field on insertion.", +"format": "int64", +"type": "string" +}, +"campaignIdDimensionValue": { +"$ref": "DimensionValue", +"description": "Dimension value for the ID of the campaign. This is a read-only, auto-generated field." +}, +"clickThroughUrl": { +"$ref": "ClickThroughUrl", +"description": "Click-through URL for this ad. This is a required field on insertion. Applicable when type is AD_SERVING_CLICK_TRACKER." +}, +"clickThroughUrlSuffixProperties": { +"$ref": "ClickThroughUrlSuffixProperties", +"description": "Click-through URL suffix properties for this ad. Applies to the URL in the ad or (if overriding ad properties) the URL in the creative." +}, +"comments": { +"description": "Comments for this ad.", +"type": "string" +}, +"compatibility": { +"description": "Compatibility of this ad. Applicable when type is AD_SERVING_DEFAULT_AD. DISPLAY and DISPLAY_INTERSTITIAL refer to either rendering on desktop or on mobile devices or in mobile apps for regular or interstitial ads, respectively. APP and APP_INTERSTITIAL are only used for existing default ads. New mobile placements must be assigned DISPLAY or DISPLAY_INTERSTITIAL and default ads created for those placements will be limited to those compatibility types. IN_STREAM_VIDEO refers to rendering in-stream video ads developed with the VAST standard.", +"enum": [ +"DISPLAY", +"DISPLAY_INTERSTITIAL", +"APP", +"APP_INTERSTITIAL", +"IN_STREAM_VIDEO", +"IN_STREAM_AUDIO" +], +"enumDescriptions": [ +"", +"", +"Deprecated enum value. No longer supported.", +"Deprecated enum value. No longer supported.", +"", +"" +], +"type": "string" +}, +"contextualKeywordTargeting": { +"$ref": "ContextualKeywordTargeting", +"description": "Optional. Contextual keyword targeting information for this ad." +}, +"createInfo": { +"$ref": "LastModifiedInfo", +"description": "Information about the creation of this ad. This is a read-only field." +}, +"creativeGroupAssignments": { +"description": "Creative group assignments for this ad. Applicable when type is AD_SERVING_CLICK_TRACKER. Only one assignment per creative group number is allowed for a maximum of two assignments.", +"items": { +"$ref": "CreativeGroupAssignment" +}, +"type": "array" +}, +"creativeRotation": { +"$ref": "CreativeRotation", +"description": "Creative rotation for this ad. Applicable when type is AD_SERVING_DEFAULT_AD, AD_SERVING_STANDARD_AD, or AD_SERVING_TRACKING. When type is AD_SERVING_DEFAULT_AD, this field should have exactly one creativeAssignment ." +}, +"dayPartTargeting": { +"$ref": "DayPartTargeting", +"description": "Time and day targeting information for this ad. This field must be left blank if the ad is using a targeting template. Applicable when type is AD_SERVING_STANDARD_AD." +}, +"defaultClickThroughEventTagProperties": { +"$ref": "DefaultClickThroughEventTagProperties", +"description": "Default click-through event tag properties for this ad." +}, +"deliverySchedule": { +"$ref": "DeliverySchedule", +"description": "Delivery schedule information for this ad. Applicable when type is AD_SERVING_STANDARD_AD or AD_SERVING_TRACKING. This field along with subfields priority and impressionRatio are required on insertion when type is AD_SERVING_STANDARD_AD." +}, +"dynamicClickTracker": { +"description": "Whether this ad is a dynamic click tracker. Applicable when type is AD_SERVING_CLICK_TRACKER. This is a required field on insert, and is read-only after insert.", +"type": "boolean" +}, +"endTime": { +"format": "date-time", +"type": "string" +}, +"eventTagOverrides": { +"description": "Event tag overrides for this ad.", +"items": { +"$ref": "EventTagOverride" +}, +"type": "array" +}, +"geoTargeting": { +"$ref": "GeoTargeting", +"description": "Geographical targeting information for this ad. This field must be left blank if the ad is using a targeting template. Applicable when type is AD_SERVING_STANDARD_AD." +}, +"id": { +"description": "ID of this ad. This is a read-only, auto-generated field.", +"format": "int64", +"type": "string" +}, +"idDimensionValue": { +"$ref": "DimensionValue", +"description": "Dimension value for the ID of this ad. This is a read-only, auto-generated field." +}, +"keyValueTargetingExpression": { +"$ref": "KeyValueTargetingExpression", +"description": "Key-value targeting information for this ad. This field must be left blank if the ad is using a targeting template. Applicable when type is AD_SERVING_STANDARD_AD." +}, +"kind": { +"description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#ad\".", +"type": "string" +}, +"languageTargeting": { +"$ref": "LanguageTargeting", +"description": "Language targeting information for this ad. This field must be left blank if the ad is using a targeting template. Applicable when type is AD_SERVING_STANDARD_AD." +}, +"lastModifiedInfo": { +"$ref": "LastModifiedInfo", +"description": "Information about the most recent modification of this ad. This is a read-only field." +}, +"name": { +"description": "Name of this ad. This is a required field and must be less than 256 characters long.", +"type": "string" +}, +"placementAssignments": { +"description": "Placement assignments for this ad.", +"items": { +"$ref": "PlacementAssignment" +}, +"type": "array" +}, +"remarketingListExpression": { +"$ref": "ListTargetingExpression", +"description": "Remarketing list targeting expression for this ad. This field must be left blank if the ad is using a targeting template. Applicable when type is AD_SERVING_STANDARD_AD." +}, +"size": { +"$ref": "Size", +"description": "Size of this ad. Applicable when type is AD_SERVING_DEFAULT_AD." +}, +"sslCompliant": { +"description": "Whether this ad is ssl compliant. This is a read-only field that is auto-generated when the ad is inserted or updated.", +"type": "boolean" +}, +"sslRequired": { +"description": "Whether this ad requires ssl. This is a read-only field that is auto-generated when the ad is inserted or updated.", +"type": "boolean" +}, +"startTime": { +"format": "date-time", +"type": "string" +}, +"subaccountId": { +"description": "Subaccount ID of this ad. This is a read-only field that can be left blank.", +"format": "int64", +"type": "string" +}, +"targetingTemplateId": { +"description": "Targeting template ID, used to apply preconfigured targeting information to this ad. This cannot be set while any of dayPartTargeting, geoTargeting, keyValueTargetingExpression, languageTargeting, remarketingListExpression, or technologyTargeting are set. Applicable when type is AD_SERVING_STANDARD_AD.", +"format": "int64", +"type": "string" +}, +"technologyTargeting": { +"$ref": "TechnologyTargeting", +"description": "Technology platform targeting information for this ad. This field must be left blank if the ad is using a targeting template. Applicable when type is AD_SERVING_STANDARD_AD." +}, +"type": { +"description": "Type of ad. This is a required field on insertion. Note that default ads ( AD_SERVING_DEFAULT_AD) cannot be created directly (see Creative resource).", +"enum": [ +"AD_SERVING_STANDARD_AD", +"AD_SERVING_DEFAULT_AD", +"AD_SERVING_CLICK_TRACKER", +"AD_SERVING_TRACKING", +"AD_SERVING_BRAND_SAFE_AD" +], +"enumDescriptions": [ +"", +"", +"", +"", +"" +], +"type": "string" +} +}, +"type": "object" +}, +"AdBlockingConfiguration": { +"description": "Campaign ad blocking settings.", +"id": "AdBlockingConfiguration", +"properties": { +"enabled": { +"description": "Whether this campaign has enabled ad blocking. When true, ad blocking is enabled for placements in the campaign, but this may be overridden by site and placement settings. When false, ad blocking is disabled for all placements under the campaign, regardless of site and placement settings.", +"type": "boolean" +} +}, +"type": "object" +}, +"AdSlot": { +"description": "Ad Slot", +"id": "AdSlot", +"properties": { +"comment": { +"description": "Comment for this ad slot.", +"type": "string" +}, +"compatibility": { +"description": "Ad slot compatibility. DISPLAY and DISPLAY_INTERSTITIAL refer to rendering either on desktop, mobile devices or in mobile apps for regular or interstitial ads respectively. APP and APP_INTERSTITIAL are for rendering in mobile apps. IN_STREAM_VIDEO refers to rendering in in-stream video ads developed with the VAST standard.", +"enum": [ +"DISPLAY", +"DISPLAY_INTERSTITIAL", +"APP", +"APP_INTERSTITIAL", +"IN_STREAM_VIDEO", +"IN_STREAM_AUDIO" +], +"enumDescriptions": [ +"", +"", +"Deprecated enum value. No longer supported.", +"Deprecated enum value. No longer supported.", +"", +"" +], +"type": "string" +}, +"height": { +"description": "Height of this ad slot.", +"format": "int64", +"type": "string" +}, +"linkedPlacementId": { +"description": "ID of the placement from an external platform that is linked to this ad slot.", +"format": "int64", +"type": "string" +}, +"name": { +"description": "Name of this ad slot.", +"type": "string" +}, +"paymentSourceType": { +"description": "Payment source type of this ad slot.", +"enum": [ +"PLANNING_PAYMENT_SOURCE_TYPE_AGENCY_PAID", +"PLANNING_PAYMENT_SOURCE_TYPE_PUBLISHER_PAID" +], +"enumDescriptions": [ +"", +"" +], +"type": "string" +}, +"primary": { +"description": "Primary ad slot of a roadblock inventory item.", +"type": "boolean" +}, +"width": { +"description": "Width of this ad slot.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"AdsListResponse": { +"description": "Ad List Response", +"id": "AdsListResponse", +"properties": { +"ads": { +"description": "Ad collection.", +"items": { +"$ref": "Ad" +}, +"type": "array" +}, +"kind": { +"description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#adsListResponse\".", +"type": "string" +}, +"nextPageToken": { +"description": "Pagination token to be used for the next list operation.", +"type": "string" +} +}, +"type": "object" +}, +"Advertiser": { +"description": "Contains properties of a Campaign Manager advertiser.", +"id": "Advertiser", +"properties": { +"accountId": { +"description": "Account ID of this advertiser.This is a read-only field that can be left blank.", +"format": "int64", +"type": "string" +}, +"advertiserGroupId": { +"description": "ID of the advertiser group this advertiser belongs to. You can group advertisers for reporting purposes, allowing you to see aggregated information for all advertisers in each group.", +"format": "int64", +"type": "string" +}, +"clickThroughUrlSuffix": { +"description": "Suffix added to click-through URL of ad creative associations under this advertiser. Must be less than 129 characters long.", +"type": "string" +}, +"defaultClickThroughEventTagId": { +"description": "ID of the click-through event tag to apply by default to the landing pages of this advertiser's campaigns.", +"format": "int64", +"type": "string" +}, +"defaultEmail": { +"description": "Default email address used in sender field for tag emails.", +"type": "string" +}, +"euPoliticalAdsDeclaration": { +"description": "Optional. Whether the advertiser plans to serve EU political ads.", +"enum": [ +"ADVERTISER_PLANS_TO_SERVE_EU_POLITICAL_ADS", +"ADVERTISER_DOES_NOT_PLAN_TO_SERVE_EU_POLITICAL_ADS" +], +"enumDescriptions": [ +"You'll need to confirm if your campaign contains EU political advertising.", +"All new campaigns will have \u201cNo\u201d selected for the question that asks if your campaign has EU political ads. You can change this for any campaign at any time." +], +"type": "string" +}, +"floodlightConfigurationId": { +"description": "Floodlight configuration ID of this advertiser. The floodlight configuration ID will be created automatically, so on insert this field should be left blank. This field can be set to another advertiser's floodlight configuration ID in order to share that advertiser's floodlight configuration with this advertiser, so long as: - This advertiser's original floodlight configuration is not already associated with floodlight activities or floodlight activity groups. - This advertiser's original floodlight configuration is not already shared with another advertiser. ", +"format": "int64", +"type": "string" +}, +"floodlightConfigurationIdDimensionValue": { +"$ref": "DimensionValue", +"description": "Dimension value for the ID of the floodlight configuration. This is a read-only, auto-generated field." +}, +"id": { +"description": "ID of this advertiser. This is a read-only, auto-generated field.", +"format": "int64", +"type": "string" +}, +"idDimensionValue": { +"$ref": "DimensionValue", +"description": "Dimension value for the ID of this advertiser. This is a read-only, auto-generated field." +}, +"kind": { +"description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#advertiser\".", +"type": "string" +}, +"measurementPartnerLink": { +"$ref": "MeasurementPartnerAdvertiserLink", +"description": "Measurement partner advertiser link for tag wrapping." +}, +"name": { +"description": "Name of this advertiser. This is a required field and must be less than 256 characters long and unique among advertisers of the same account.", +"type": "string" +}, +"originalFloodlightConfigurationId": { +"description": "Original floodlight configuration before any sharing occurred. Set the floodlightConfigurationId of this advertiser to originalFloodlightConfigurationId to unshare the advertiser's current floodlight configuration. You cannot unshare an advertiser's floodlight configuration if the shared configuration has activities associated with any campaign or placement.", +"format": "int64", +"type": "string" +}, +"status": { +"description": "Status of this advertiser.", +"enum": [ +"APPROVED", +"ON_HOLD" +], +"enumDescriptions": [ +"Approved (ads can deliver)", +"On-hold (all ads are stopped)" +], +"type": "string" +}, +"subaccountId": { +"description": "Subaccount ID of this advertiser.This is a read-only field that can be left blank.", +"format": "int64", +"type": "string" +}, +"suspended": { +"description": "Suspension status of this advertiser.", +"type": "boolean" +} +}, +"type": "object" +}, +"AdvertiserGroup": { +"description": "Groups advertisers together so that reports can be generated for the entire group at once.", +"id": "AdvertiserGroup", +"properties": { +"accountId": { +"description": "Account ID of this advertiser group. This is a read-only field that can be left blank.", +"format": "int64", +"type": "string" +}, +"id": { +"description": "ID of this advertiser group. This is a read-only, auto-generated field.", +"format": "int64", +"type": "string" +}, +"kind": { +"description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#advertiserGroup\".", +"type": "string" +}, +"name": { +"description": "Name of this advertiser group. This is a required field and must be less than 256 characters long and unique among advertiser groups of the same account.", +"type": "string" +} +}, +"type": "object" +}, +"AdvertiserGroupsListResponse": { +"description": "Advertiser Group List Response", +"id": "AdvertiserGroupsListResponse", +"properties": { +"advertiserGroups": { +"description": "Advertiser group collection.", +"items": { +"$ref": "AdvertiserGroup" +}, +"type": "array" +}, +"kind": { +"description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#advertiserGroupsListResponse\".", +"type": "string" +}, +"nextPageToken": { +"description": "Pagination token to be used for the next list operation.", +"type": "string" +} +}, +"type": "object" +}, +"AdvertiserInvoicesListResponse": { +"description": "Invoice List Response", +"id": "AdvertiserInvoicesListResponse", +"properties": { +"invoices": { +"description": "Invoice collection", +"items": { +"$ref": "Invoice" +}, +"type": "array" +}, +"kind": { +"description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#advertiserInvoicesListResponse\".", +"type": "string" +}, +"nextPageToken": { +"description": "Pagination token to be used for the next list operation.", +"type": "string" +} +}, +"type": "object" +}, +"AdvertiserLandingPagesListResponse": { +"description": "Landing Page List Response", +"id": "AdvertiserLandingPagesListResponse", +"properties": { +"kind": { +"description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#advertiserLandingPagesListResponse\".", +"type": "string" +}, +"landingPages": { +"description": "Landing page collection", +"items": { +"$ref": "LandingPage" +}, +"type": "array" +}, +"nextPageToken": { +"description": "Pagination token to be used for the next list operation.", +"type": "string" +} +}, +"type": "object" +}, +"AdvertisersListResponse": { +"description": "Advertiser List Response", +"id": "AdvertisersListResponse", +"properties": { +"advertisers": { +"description": "Advertiser collection.", +"items": { +"$ref": "Advertiser" +}, +"type": "array" +}, +"kind": { +"description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#advertisersListResponse\".", +"type": "string" +}, +"nextPageToken": { +"description": "Pagination token to be used for the next list operation.", +"type": "string" +} +}, +"type": "object" +}, +"AudienceSegment": { +"description": "Audience Segment.", +"id": "AudienceSegment", +"properties": { +"allocation": { +"description": "Weight allocated to this segment. The weight assigned will be understood in proportion to the weights assigned to other segments in the same segment group. Acceptable values are 1 to 1000, inclusive.", +"format": "int32", +"type": "integer" +}, +"id": { +"description": "ID of this audience segment. This is a read-only, auto-generated field.", +"format": "int64", +"type": "string" +}, +"name": { +"description": "Name of this audience segment. This is a required field and must be less than 65 characters long.", +"type": "string" +} +}, +"type": "object" +}, +"AudienceSegmentGroup": { +"description": "Audience Segment Group.", +"id": "AudienceSegmentGroup", +"properties": { +"audienceSegments": { +"description": "Audience segments assigned to this group. The number of segments must be between 2 and 100.", +"items": { +"$ref": "AudienceSegment" +}, +"type": "array" +}, +"id": { +"description": "ID of this audience segment group. This is a read-only, auto-generated field.", +"format": "int64", +"type": "string" +}, +"name": { +"description": "Name of this audience segment group. This is a required field and must be less than 65 characters long.", +"type": "string" +} +}, +"type": "object" +}, +"BillingAssignment": { +"description": "List account, subaccount, advertiser, and campaign associated with a given Billing Profile.", +"id": "BillingAssignment", +"properties": { +"accountId": { +"description": "ID of the account associated with the billing assignment.This is a read-only, auto-generated field.", +"type": "string" +}, +"advertiserId": { +"description": "ID of the advertiser associated with the billing assignment.Wildcard (*) means this assignment is not limited to a single advertiser", +"type": "string" +}, +"campaignId": { +"description": "ID of the campaign associated with the billing assignment. Wildcard (*) means this assignment is not limited to a single campaign", +"type": "string" +}, +"kind": { +"description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#billingAssignment\".", +"type": "string" +}, +"subaccountId": { +"description": "ID of the subaccount associated with the billing assignment.Wildcard (*) means this assignment is not limited to a single subaccountThis is a read-only, auto-generated field.", +"type": "string" +} +}, +"type": "object" +}, +"BillingAssignmentsListResponse": { +"description": "Billing assignment List Response", +"id": "BillingAssignmentsListResponse", +"properties": { +"billingAssignments": { +"description": "Billing assignments collection.", +"items": { +"$ref": "BillingAssignment" +}, +"type": "array" +}, +"kind": { +"description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#billingAssignmentsListResponse\".", +"type": "string" +} +}, +"type": "object" +}, +"BillingProfile": { +"description": "Contains properties of a Campaign Manager Billing Profile.", +"id": "BillingProfile", +"properties": { +"consolidatedInvoice": { +"description": "Consolidated invoice option for this billing profile. Used to get a single, consolidated invoice across the chosen invoice level.", +"type": "boolean" +}, +"countryCode": { +"description": "Country code of this billing profile.This is a read-only field.", +"type": "string" +}, +"currencyCode": { +"description": "Billing currency code in ISO 4217 format.This is a read-only field.", +"type": "string" +}, +"id": { +"description": "ID of this billing profile. This is a read-only, auto-generated field.", +"format": "int64", +"type": "string" +}, +"invoiceLevel": { +"description": "Invoice level for this billing profile. Used to group fees into separate invoices by account, advertiser, or campaign.", +"enum": [ +"ACCOUNT_LEVEL", +"ADVERTISER_LEVEL", +"CAMPAIGN_LEVEL" +], +"enumDescriptions": [ +"", +"", +"" +], +"type": "string" +}, +"isDefault": { +"description": "True if the billing profile is the account default profile. This is a read-only field.", +"type": "boolean" +}, +"kind": { +"description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#billingProfile\".", +"type": "string" +}, +"name": { +"description": "Name of this billing profile. This is a required field and must be less than 256 characters long and must be unique among billing profile in the same account.", +"type": "string" +}, +"paymentsAccountId": { +"description": "The ID of the payment account the billing profile belongs to. This is a read-only field.", +"type": "string" +}, +"paymentsCustomerId": { +"description": "The ID of the payment customer the billing profile belongs to. This is a read-only field.", +"type": "string" +}, +"purchaseOrder": { +"description": "Purchase order (PO) for this billing profile. This PO number is used in the invoices for all of the advertisers in this billing profile.", +"type": "string" +}, +"secondaryPaymentsCustomerId": { +"description": "The ID of the secondary payment customer the billing profile belongs to. This is a read-only field.", +"type": "string" +}, +"status": { +"description": "Status of this billing profile.This is a read-only field.", +"enum": [ +"UNDER_REVIEW", +"ACTIVE", +"ARCHIVED" +], +"enumDescriptions": [ +"", +"", +"" +], +"type": "string" +} +}, +"type": "object" +}, +"BillingProfilesListResponse": { +"description": "Billing profile List Response", +"id": "BillingProfilesListResponse", +"properties": { +"billingProfiles": { +"description": "Billing profiles collection.", +"items": { +"$ref": "BillingProfile" +}, +"type": "array" +}, +"kind": { +"description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#billingProfilesListResponse\".", +"type": "string" +}, +"nextPageToken": { +"description": "Pagination token to be used for the next list operation.", +"type": "string" +} +}, +"type": "object" +}, +"BillingRate": { +"id": "BillingRate", +"properties": { +"currencyCode": { +"description": "Billing currency code in ISO 4217 format.", +"type": "string" +}, +"endDate": { +"description": "End date of this billing rate.", +"type": "string" +}, +"id": { +"description": "ID of this billing rate.", +"format": "int64", +"type": "string" +}, +"name": { +"description": "Name of this billing rate. This must be less than 256 characters long.", +"type": "string" +}, +"rateInMicros": { +"description": "Flat rate in micros of this billing rate. This cannot co-exist with tiered rate.", +"format": "int64", +"type": "string" +}, +"startDate": { +"description": "Start date of this billing rate.", +"type": "string" +}, +"tieredRates": { +"description": "Tiered rate of this billing rate. This cannot co-exist with flat rate.", +"items": { +"$ref": "BillingRateTieredRate" +}, +"type": "array" +}, +"type": { +"description": "Type of this billing rate.", +"enum": [ +"AD_SERVING", +"CLICKS", +"MINIMUM_SERVICE", +"PATH_TO_CONVERSION", +"RICH_MEDIA_INPAGE", +"RICH_MEDIA_EXPANDING", +"RICH_MEDIA_FLOATING", +"RICH_MEDIA_VIDEO", +"RICH_MEDIA_TEASER", +"RICH_MEDIA_VPAID", +"INSTREAM_VIDEO", +"PIXEL", +"TRACKING", +"TRAFFICKING_FEATURE", +"CUSTOM_REPORTS", +"EXPOSURE_TO_CONVERSION", +"DATA_TRANSFER", +"DATA_TRANSFER_SETUP", +"STARTUP", +"STATEMENT_OF_WORK", +"PROVIDED_LIST", +"PROVIDED_LIST_SETUP", +"ENHANCED_FORMATS", +"TRACKING_AD_IMPRESSIONS", +"TRACKING_AD_CLICKS", +"NIELSEN_DIGITAL_AD_RATINGS_FEE", +"INSTREAM_VIDEO_REDIRECT", +"INSTREAM_VIDEO_VPAID", +"DISPLAY_AD_SERVING", +"VIDEO_AD_SERVING", +"AUDIO_AD_SERVING", +"ADVANCED_DISPLAY_AD_SERVING" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"" +], +"type": "string" +}, +"unitOfMeasure": { +"description": "Unit of measure for this billing rate.", +"enum": [ +"CPM", +"CPC", +"EA", +"P2C" +], +"enumDescriptions": [ +"", +"", +"", +"" +], +"type": "string" +} +}, +"type": "object" +}, +"BillingRateTieredRate": { +"id": "BillingRateTieredRate", +"properties": { +"highValue": { +"description": "The maximum for this tier range.", +"format": "int64", +"type": "string" +}, +"lowValue": { +"description": "The minimum for this tier range.", +"format": "int64", +"type": "string" +}, +"rateInMicros": { +"description": "Rate in micros for this tier.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"BillingRatesListResponse": { +"description": "Billing Rate List Response", +"id": "BillingRatesListResponse", +"properties": { +"billingRates": { +"description": "Billing rates collection.", +"items": { +"$ref": "BillingRate" +}, +"type": "array" +}, +"kind": { +"description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#billingRatesListResponse\".", +"type": "string" +}, +"nextPageToken": { +"description": "Pagination token to be used for the next list operation.", +"type": "string" +} +}, +"type": "object" +}, +"Browser": { +"description": "Contains information about a browser that can be targeted by ads.", +"id": "Browser", +"properties": { +"browserVersionId": { +"description": "ID referring to this grouping of browser and version numbers. This is the ID used for targeting.", +"format": "int64", +"type": "string" +}, +"dartId": { +"description": "DART ID of this browser. This is the ID used when generating reports.", +"format": "int64", +"type": "string" +}, +"kind": { +"description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#browser\".", +"type": "string" +}, +"majorVersion": { +"description": "Major version number (leftmost number) of this browser. For example, for Chrome 5.0.376.86 beta, this field should be set to 5. An asterisk (*) may be used to target any version number, and a question mark (?) may be used to target cases where the version number cannot be identified. For example, Chrome *.* targets any version of Chrome: 1.2, 2.5, 3.5, and so on. Chrome 3.* targets Chrome 3.1, 3.5, but not 4.0. Firefox ?.? targets cases where the ad server knows the browser is Firefox but can't tell which version it is.", +"type": "string" +}, +"minorVersion": { +"description": "Minor version number (number after first dot on left) of this browser. For example, for Chrome 5.0.375.86 beta, this field should be set to 0. An asterisk (*) may be used to target any version number, and a question mark (?) may be used to target cases where the version number cannot be identified. For example, Chrome *.* targets any version of Chrome: 1.2, 2.5, 3.5, and so on. Chrome 3.* targets Chrome 3.1, 3.5, but not 4.0. Firefox ?.? targets cases where the ad server knows the browser is Firefox but can't tell which version it is.", +"type": "string" +}, +"name": { +"description": "Name of this browser.", +"type": "string" +} +}, +"type": "object" +}, +"BrowsersListResponse": { +"description": "Browser List Response", +"id": "BrowsersListResponse", +"properties": { +"browsers": { +"description": "Browser collection.", +"items": { +"$ref": "Browser" +}, +"type": "array" +}, +"kind": { +"description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#browsersListResponse\".", +"type": "string" +} +}, +"type": "object" +}, +"Campaign": { +"description": "Contains properties of a Campaign Manager campaign.", +"id": "Campaign", +"properties": { +"accountId": { +"description": "Account ID of this campaign. This is a read-only field that can be left blank.", +"format": "int64", +"type": "string" +}, +"adBlockingConfiguration": { +"$ref": "AdBlockingConfiguration", +"description": "Ad blocking settings for this campaign." +}, +"additionalCreativeOptimizationConfigurations": { +"description": "Additional creative optimization configurations for the campaign.", +"items": { +"$ref": "CreativeOptimizationConfiguration" +}, +"type": "array" +}, +"advertiserGroupId": { +"description": "Advertiser group ID of the associated advertiser.", +"format": "int64", +"type": "string" +}, +"advertiserId": { +"description": "Advertiser ID of this campaign. This is a required field.", +"format": "int64", +"type": "string" +}, +"advertiserIdDimensionValue": { +"$ref": "DimensionValue", +"description": "Dimension value for the advertiser ID of this campaign. This is a read-only, auto-generated field." +}, +"archived": { +"description": "Whether this campaign has been archived.", +"type": "boolean" +}, +"audienceSegmentGroups": { +"description": "Audience segment groups assigned to this campaign. Cannot have more than 300 segment groups.", +"items": { +"$ref": "AudienceSegmentGroup" +}, +"type": "array" +}, +"billingInvoiceCode": { +"description": "Billing invoice code included in the Campaign Manager client billing invoices associated with the campaign.", +"type": "string" +}, +"clickThroughUrlSuffixProperties": { +"$ref": "ClickThroughUrlSuffixProperties", +"description": "Click-through URL suffix override properties for this campaign." +}, +"comment": { +"description": "Arbitrary comments about this campaign. Must be less than 256 characters long.", +"type": "string" +}, +"createInfo": { +"$ref": "LastModifiedInfo", +"description": "Information about the creation of this campaign. This is a read-only field." +}, +"creativeGroupIds": { +"description": "List of creative group IDs that are assigned to the campaign.", +"items": { +"format": "int64", +"type": "string" +}, +"type": "array" +}, +"creativeOptimizationConfiguration": { +"$ref": "CreativeOptimizationConfiguration", +"description": "Creative optimization configuration for the campaign." +}, +"defaultClickThroughEventTagProperties": { +"$ref": "DefaultClickThroughEventTagProperties", +"description": "Click-through event tag ID override properties for this campaign." +}, +"defaultLandingPageId": { +"description": "The default landing page ID for this campaign.", +"format": "int64", +"type": "string" +}, +"endDate": { +"format": "date", +"type": "string" +}, +"euPoliticalAdsDeclaration": { +"description": "Optional. Whether the campaign has EU political ads. Campaign Manager 360 doesn't allow campaigns with EU political ads to serve in the EU. They can still serve in other regions.", +"enum": [ +"CONTAINS_EU_POLITICAL_ADS", +"DOES_NOT_CONTAIN_EU_POLITICAL_ADS" +], +"enumDescriptions": [ +"The campaign contains EU political ads.", +"The campaign does not contain EU political ads." +], +"type": "string" +}, +"eventTagOverrides": { +"description": "Overrides that can be used to activate or deactivate advertiser event tags.", +"items": { +"$ref": "EventTagOverride" +}, +"type": "array" +}, +"externalId": { +"description": "External ID for this campaign.", +"type": "string" +}, +"id": { +"description": "ID of this campaign. This is a read-only auto-generated field.", +"format": "int64", +"type": "string" +}, +"idDimensionValue": { +"$ref": "DimensionValue", +"description": "Dimension value for the ID of this campaign. This is a read-only, auto-generated field." +}, +"kind": { +"description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#campaign\".", +"type": "string" +}, +"lastModifiedInfo": { +"$ref": "LastModifiedInfo", +"description": "Information about the most recent modification of this campaign. This is a read-only field." +}, +"measurementPartnerLink": { +"$ref": "MeasurementPartnerCampaignLink", +"description": "Measurement partner campaign link for tag wrapping." +}, +"name": { +"description": "Name of this campaign. This is a required field and must be less than 512 characters long and unique among campaigns of the same advertiser.", +"type": "string" +}, +"startDate": { +"format": "date", +"type": "string" +}, +"subaccountId": { +"description": "Subaccount ID of this campaign. This is a read-only field that can be left blank.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"CampaignCreativeAssociation": { +"description": "Identifies a creative which has been associated with a given campaign.", +"id": "CampaignCreativeAssociation", +"properties": { +"creativeId": { +"description": "ID of the creative associated with the campaign. This is a required field.", +"format": "int64", +"type": "string" +}, +"kind": { +"description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#campaignCreativeAssociation\".", +"type": "string" +} +}, +"type": "object" +}, +"CampaignCreativeAssociationsListResponse": { +"description": "Campaign Creative Association List Response", +"id": "CampaignCreativeAssociationsListResponse", +"properties": { +"campaignCreativeAssociations": { +"description": "Campaign creative association collection", +"items": { +"$ref": "CampaignCreativeAssociation" +}, +"type": "array" +}, +"kind": { +"description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#campaignCreativeAssociationsListResponse\".", +"type": "string" +}, +"nextPageToken": { +"description": "Pagination token to be used for the next list operation.", +"type": "string" +} +}, +"type": "object" +}, +"CampaignSummary": { +"description": "Represents a summarized campaign information associated with this invoice.", +"id": "CampaignSummary", +"properties": { +"billingInvoiceCode": { +"description": "Campaign billing invoice code.", +"type": "string" +}, +"campaignId": { +"description": "Campaign ID.", +"format": "int64", +"type": "string" +}, +"preTaxAmountMicros": { +"description": "The pre-tax amount for this campaign, in micros of the invoice's currency.", +"format": "int64", +"type": "string" +}, +"taxAmountMicros": { +"description": "The tax amount for this campaign, in micros of the invoice's currency.", +"format": "int64", +"type": "string" +}, +"totalAmountMicros": { +"description": "The total amount of charges for this campaign, in micros of the invoice's currency.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"CampaignsListResponse": { +"description": "Campaign List Response", +"id": "CampaignsListResponse", +"properties": { +"campaigns": { +"description": "Campaign collection.", +"items": { +"$ref": "Campaign" +}, +"type": "array" +}, +"kind": { +"description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#campaignsListResponse\".", +"type": "string" +}, +"nextPageToken": { +"description": "Pagination token to be used for the next list operation.", +"type": "string" +} +}, +"type": "object" +}, +"CartData": { +"description": "Contains additional information about cart data. This field may only be used when calling batchinsert; it is not supported by batchupdate. Cart data reporting is only supported in SA360. [Learn more](https://support.google.com/sa360/topic/13425788)", +"id": "CartData", +"properties": { +"items": { +"description": "Data of the items purchased.", +"items": { +"$ref": "CartDataItem" +}, +"type": "array" +}, +"merchantFeedLabel": { +"description": "The feed labels associated with the feed where your items are uploaded. For more information, please refer to \u200b\u200b https://support.google.com/merchants/answer/12453549. Providing the feed label reduces ambiguity in identifying the right offer details.", +"type": "string" +}, +"merchantFeedLanguage": { +"description": "The language associated with the feed where your items are uploaded. Use ISO 639-1 language codes. Providing the feed language reduces ambiguity in identifying the right offer details.", +"type": "string" +}, +"merchantId": { +"description": "The Merchant Center ID where the items are uploaded. Providing Merchant Center ID reduces ambiguity in identifying the right offer details.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"CartDataItem": { +"description": "Contains data of the items purchased.", +"id": "CartDataItem", +"properties": { +"itemId": { +"description": "The shopping id of the item. Must be equal to the Merchant Center product identifier. This is a required field.", +"type": "string" +}, +"quantity": { +"description": "Number of items sold. This is a required field.", +"format": "int32", +"type": "integer" +}, +"unitPrice": { +"description": "Unit price excluding tax, shipping, and any transaction level discounts. Interpreted in CM360 Floodlight config parent advertiser's currency code. This is a required field.", +"format": "double", +"type": "number" +} +}, +"type": "object" +}, +"ChangeLog": { +"description": "Describes a change that a user has made to a resource.", +"id": "ChangeLog", +"properties": { +"accountId": { +"description": "Account ID of the modified object.", +"format": "int64", +"type": "string" +}, +"action": { +"description": "Action which caused the change.", +"type": "string" +}, +"changeTime": { +"format": "date-time", +"type": "string" +}, +"fieldName": { +"description": "Field name of the object which changed.", +"type": "string" +}, +"id": { +"description": "ID of this change log.", +"format": "int64", +"type": "string" +}, +"kind": { +"description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#changeLog\".", +"type": "string" +}, +"newValue": { +"description": "New value of the object field.", +"type": "string" +}, +"objectId": { +"description": "ID of the object of this change log. The object could be a campaign, placement, ad, or other type.", +"format": "int64", +"type": "string" +}, +"objectType": { +"description": "Object type of the change log.", +"type": "string" +}, +"oldValue": { +"description": "Old value of the object field.", +"type": "string" +}, +"subaccountId": { +"description": "Subaccount ID of the modified object.", +"format": "int64", +"type": "string" +}, +"transactionId": { +"description": "Transaction ID of this change log. When a single API call results in many changes, each change will have a separate ID in the change log but will share the same transactionId.", +"format": "int64", +"type": "string" +}, +"userProfileId": { +"description": "ID of the user who modified the object.", +"format": "int64", +"type": "string" +}, +"userProfileName": { +"description": "User profile name of the user who modified the object.", +"type": "string" +} +}, +"type": "object" +}, +"ChangeLogsListResponse": { +"description": "Change Log List Response", +"id": "ChangeLogsListResponse", +"properties": { +"changeLogs": { +"description": "Change log collection.", +"items": { +"$ref": "ChangeLog" +}, +"type": "array" +}, +"kind": { +"description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#changeLogsListResponse\".", +"type": "string" +}, +"nextPageToken": { +"description": "Pagination token to be used for the next list operation.", +"type": "string" +} +}, +"type": "object" +}, +"CitiesListResponse": { +"description": "City List Response", +"id": "CitiesListResponse", +"properties": { +"cities": { +"description": "City collection.", +"items": { +"$ref": "City" +}, +"type": "array" +}, +"kind": { +"description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#citiesListResponse\".", +"type": "string" +} +}, +"type": "object" +}, +"City": { +"description": "Contains information about a city that can be targeted by ads.", +"id": "City", +"properties": { +"countryCode": { +"description": "Country code of the country to which this city belongs.", +"type": "string" +}, +"countryDartId": { +"description": "DART ID of the country to which this city belongs.", +"format": "int64", +"type": "string" +}, +"dartId": { +"description": "DART ID of this city. This is the ID used for targeting and generating reports.", +"format": "int64", +"type": "string" +}, +"kind": { +"description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#city\".", +"type": "string" +}, +"metroCode": { +"description": "Metro region code of the metro region (DMA) to which this city belongs.", +"type": "string" +}, +"metroDmaId": { +"description": "ID of the metro region (DMA) to which this city belongs.", +"format": "int64", +"type": "string" +}, +"name": { +"description": "Name of this city.", +"type": "string" +}, +"regionCode": { +"description": "Region code of the region to which this city belongs.", +"type": "string" +}, +"regionDartId": { +"description": "DART ID of the region to which this city belongs.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"ClickTag": { +"description": "Creative Click Tag.", +"id": "ClickTag", +"properties": { +"clickThroughUrl": { +"$ref": "CreativeClickThroughUrl", +"description": "Parameter value for the specified click tag. This field contains a click-through url." +}, +"eventName": { +"description": "Advertiser event name associated with the click tag. This field is used by DISPLAY_IMAGE_GALLERY and HTML5_BANNER creatives. Applicable to DISPLAY when the primary asset type is not HTML_IMAGE.", +"type": "string" +}, +"name": { +"description": "Parameter name for the specified click tag. For DISPLAY_IMAGE_GALLERY creative assets, this field must match the value of the creative asset's creativeAssetId.name field.", +"type": "string" +} +}, +"type": "object" +}, +"ClickThroughUrl": { +"description": "Click-through URL", +"id": "ClickThroughUrl", +"properties": { +"computedClickThroughUrl": { +"description": "Read-only convenience field representing the actual URL that will be used for this click-through. The URL is computed as follows: - If defaultLandingPage is enabled then the campaign's default landing page URL is assigned to this field. - If defaultLandingPage is not enabled and a landingPageId is specified then that landing page's URL is assigned to this field. - If neither of the above cases apply, then the customClickThroughUrl is assigned to this field. ", +"type": "string" +}, +"customClickThroughUrl": { +"description": "Custom click-through URL. Applicable if the defaultLandingPage field is set to false and the landingPageId field is left unset.", +"type": "string" +}, +"defaultLandingPage": { +"description": "Whether the campaign default landing page is used.", +"type": "boolean" +}, +"landingPageId": { +"description": "ID of the landing page for the click-through URL. Applicable if the defaultLandingPage field is set to false.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"ClickThroughUrlSuffixProperties": { +"description": "Click Through URL Suffix settings.", +"id": "ClickThroughUrlSuffixProperties", +"properties": { +"clickThroughUrlSuffix": { +"description": "Click-through URL suffix to apply to all ads in this entity's scope. Must be less than 128 characters long.", +"type": "string" +}, +"overrideInheritedSuffix": { +"description": "Whether this entity should override the inherited click-through URL suffix with its own defined value.", +"type": "boolean" +} +}, +"type": "object" +}, +"CompanionClickThroughOverride": { +"description": "Companion Click-through override.", +"id": "CompanionClickThroughOverride", +"properties": { +"clickThroughUrl": { +"$ref": "ClickThroughUrl", +"description": "Click-through URL of this companion click-through override." +}, +"creativeId": { +"description": "ID of the creative for this companion click-through override.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"CompanionSetting": { +"description": "Companion Settings", +"id": "CompanionSetting", +"properties": { +"companionsDisabled": { +"description": "Whether companions are disabled for this placement.", +"type": "boolean" +}, +"enabledSizes": { +"description": "Allowlist of companion sizes to be served to this placement. Set this list to null or empty to serve all companion sizes.", +"items": { +"$ref": "Size" +}, +"type": "array" +}, +"imageOnly": { +"description": "Whether to serve only static images as companions.", +"type": "boolean" +}, +"kind": { +"description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#companionSetting\".", +"type": "string" +} +}, +"type": "object" +}, +"CompatibleFields": { +"description": "Represents a response to the queryCompatibleFields method. Next ID: 10", +"id": "CompatibleFields", +"properties": { +"crossDimensionReachReportCompatibleFields": { +"$ref": "CrossDimensionReachReportCompatibleFields", +"description": "Contains items that are compatible to be selected for a report of type \"CROSS_DIMENSION_REACH\"." +}, +"crossMediaReachReportCompatibleFields": { +"$ref": "CrossMediaReachReportCompatibleFields", +"description": "Contains items that are compatible to be selected for a report of type \"CROSS_MEDIA_REACH\"." +}, +"floodlightReportCompatibleFields": { +"$ref": "FloodlightReportCompatibleFields", +"description": "Contains items that are compatible to be selected for a report of type \"FLOODLIGHT\"." +}, +"kind": { +"description": "The kind of resource this is, in this case dfareporting#compatibleFields.", +"type": "string" +}, +"pathToConversionReportCompatibleFields": { +"$ref": "PathToConversionReportCompatibleFields", +"description": "Contains items that are compatible to be selected for a report of type \"PATH_TO_CONVERSION\"." +}, +"reachReportCompatibleFields": { +"$ref": "ReachReportCompatibleFields", +"description": "Contains items that are compatible to be selected for a report of type \"REACH\"." +}, +"reportCompatibleFields": { +"$ref": "ReportCompatibleFields", +"description": "Contains items that are compatible to be selected for a report of type \"STANDARD\"." +} +}, +"type": "object" +}, +"ConnectionType": { +"description": "Contains information about an internet connection type that can be targeted by ads. Clients can use the connection type to target mobile vs. broadband users.", +"id": "ConnectionType", +"properties": { +"id": { +"description": "ID of this connection type.", +"format": "int64", +"type": "string" +}, +"kind": { +"description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#connectionType\".", +"type": "string" +}, +"name": { +"description": "Name of this connection type.", +"type": "string" +} +}, +"type": "object" +}, +"ConnectionTypesListResponse": { +"description": "Connection Type List Response", +"id": "ConnectionTypesListResponse", +"properties": { +"connectionTypes": { +"description": "Collection of connection types such as broadband and mobile.", +"items": { +"$ref": "ConnectionType" +}, +"type": "array" +}, +"kind": { +"description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#connectionTypesListResponse\".", +"type": "string" +} +}, +"type": "object" +}, +"ContentCategoriesListResponse": { +"description": "Content Category List Response", +"id": "ContentCategoriesListResponse", +"properties": { +"contentCategories": { +"description": "Content category collection.", +"items": { +"$ref": "ContentCategory" +}, +"type": "array" +}, +"kind": { +"description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#contentCategoriesListResponse\".", +"type": "string" +}, +"nextPageToken": { +"description": "Pagination token to be used for the next list operation.", +"type": "string" +} +}, +"type": "object" +}, +"ContentCategory": { +"id": "ContentCategory", +"properties": { +"accountId": { +"description": "Account ID of this content category. This is a read-only field that can be left blank.", +"format": "int64", +"type": "string" +}, +"id": { +"description": "ID of this content category. This is a read-only, auto-generated field.", +"format": "int64", +"type": "string" +}, +"kind": { +"description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#contentCategory\".", +"type": "string" +}, +"name": { +"description": "Name of this content category. This is a required field and must be less than 256 characters long and unique among content categories of the same account.", +"type": "string" +} +}, +"type": "object" +}, +"ContentSource": { +"description": "Contains the content source of the dynamic feed.", +"id": "ContentSource", +"properties": { +"contentSourceName": { +"description": "Optional. The name of the content source. It is defaulted to content source file name if not provided.", +"type": "string" +}, +"createInfo": { +"$ref": "LastModifiedInfo", +"description": "Output only. The creation timestamp of the content source. This is a read-only field.", +"readOnly": true +}, +"lastModifiedInfo": { +"$ref": "LastModifiedInfo", +"description": "Output only. The last modified timestamp of the content source. This is a read-only field.", +"readOnly": true +}, +"metaData": { +"$ref": "ContentSourceMetaData", +"description": "Output only. Metadata of the content source. It contains the number of rows and the column names from resource link. This is a read-only field.", +"readOnly": true +}, +"resourceLink": { +"description": "Required. The link to the file of the content source.", +"type": "string" +}, +"resourceType": { +"description": "Required. The resource type of the content source.", +"enum": [ +"RESOURCE_TYPE_UNSPECIFIED", +"RESOURCE_TYPE_GOOGLE_SPREADSHEET", +"RESOURCE_TYPE_REMOTE_FILE" +], +"enumDescriptions": [ +"The resource type is unspecified.", +"The resource type is google spreadsheet.", +"The resource type is remote file." +], +"type": "string" +} +}, +"type": "object" +}, +"ContentSourceMetaData": { +"description": "Contains the meta data of the content source. This is a read-only field.", +"id": "ContentSourceMetaData", +"properties": { +"charset": { +"description": "Output only. The charset of the content source.", +"readOnly": true, +"type": "string" +}, +"fieldNames": { +"description": "Output only. The list of column names in the content source.", +"items": { +"type": "string" +}, +"readOnly": true, +"type": "array" +}, +"rowNumber": { +"description": "Output only. The number of rows in the content source.", +"format": "int32", +"readOnly": true, +"type": "integer" +}, +"separator": { +"description": "Output only. The separator of the content source.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"ContextualKeyword": { +"description": "Contains information about a Contextual Keyword that can be targeted by ads.", +"id": "ContextualKeyword", +"properties": { +"keyword": { +"description": "The keyword that can be targeted by ads.", +"type": "string" +} +}, +"type": "object" +}, +"ContextualKeywordTargeting": { +"description": "Contextual Keyword Targeting.", +"id": "ContextualKeywordTargeting", +"properties": { +"keywords": { +"description": "Contextual keywords that this ad targets", +"items": { +"$ref": "ContextualKeyword" +}, +"type": "array" +} +}, +"type": "object" +}, +"Conversion": { +"description": "A Conversion represents when a user successfully performs a desired action after seeing an ad.", +"id": "Conversion", +"properties": { +"adUserDataConsent": { +"description": "This represents consent for ad user data.", +"enum": [ +"GRANTED", +"DENIED" +], +"enumDescriptions": [ +"Granted.", +"Denied." +], +"type": "string" +}, +"cartData": { +"$ref": "CartData", +"description": "The cart data associated with this conversion." +}, +"childDirectedTreatment": { +"description": "Whether this particular request may come from a user under the age of 13, under COPPA compliance.", +"type": "boolean" +}, +"customVariables": { +"description": "Custom floodlight variables.", +"items": { +"$ref": "CustomFloodlightVariable" +}, +"type": "array" +}, +"dclid": { +"description": "The display click ID. This field is mutually exclusive with encryptedUserId, encryptedUserIdCandidates[], matchId, mobileDeviceId, gclid, and impressionId. This or encryptedUserId or encryptedUserIdCandidates[] or matchId or mobileDeviceId or gclid or impressionId is a required field.", +"type": "string" +}, +"encryptedUserId": { +"description": "The alphanumeric encrypted user ID. When set, encryptionInfo should also be specified. This field is mutually exclusive with encryptedUserIdCandidates[], matchId, mobileDeviceId, gclid, dclid, and impressionId. This or encryptedUserIdCandidates[] or matchId or mobileDeviceId or gclid or dclid or impressionId is a required field.", +"type": "string" +}, +"encryptedUserIdCandidates": { +"description": "A list of the alphanumeric encrypted user IDs. Any user ID with exposure prior to the conversion timestamp will be used in the inserted conversion. If no such user ID is found then the conversion will be rejected with INVALID_ARGUMENT error. When set, encryptionInfo should also be specified. This field may only be used when calling batchinsert; it is not supported by batchupdate. This field is mutually exclusive with encryptedUserId, matchId, mobileDeviceId, gclid dclid, and impressionId. This or encryptedUserId or matchId or mobileDeviceId or gclid or dclid or impressionId is a required field.", +"items": { +"type": "string" +}, +"type": "array" +}, +"floodlightActivityId": { +"description": "Floodlight Activity ID of this conversion. This is a required field.", +"format": "int64", +"type": "string" +}, +"floodlightConfigurationId": { +"description": "Floodlight Configuration ID of this conversion. This is a required field.", +"format": "int64", +"type": "string" +}, +"gclid": { +"description": "The Google click ID. This field is mutually exclusive with encryptedUserId, encryptedUserIdCandidates[], matchId, mobileDeviceId, dclid, and impressionId. This or encryptedUserId or encryptedUserIdCandidates[] or matchId or mobileDeviceId or dclid or impressionId is a required field.", +"type": "string" +}, +"impressionId": { +"description": "The impression ID. This field is mutually exclusive with encryptedUserId, encryptedUserIdCandidates[], matchId, mobileDeviceId, and gclid. One of these identifiers must be set.", +"type": "string" +}, +"kind": { +"description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#conversion\".", +"type": "string" +}, +"limitAdTracking": { +"description": "Whether Limit Ad Tracking is enabled. When set to true, the conversion will be used for reporting but not targeting. This will prevent remarketing.", +"type": "boolean" +}, +"matchId": { +"description": "The match ID field. A match ID is your own first-party identifier that has been synced with Google using the match ID feature in Floodlight. This field is mutually exclusive with encryptedUserId, encryptedUserIdCandidates[],mobileDeviceId, gclid, dclid, and impressionId. This or encryptedUserId orencryptedUserIdCandidates[] or mobileDeviceId or gclid or dclid or impressionIdis a required field.", +"type": "string" +}, +"mobileDeviceId": { +"description": "The mobile device ID. This field is mutually exclusive with encryptedUserId, encryptedUserIdCandidates[], matchId, gclid, dclid, and impressionId. This or encryptedUserId or encryptedUserIdCandidates[] or matchId or gclid or dclid or impressionId is a required field.", +"type": "string" +}, +"nonPersonalizedAd": { +"description": "Whether the conversion was for a non personalized ad.", +"type": "boolean" +}, +"ordinal": { +"description": "The ordinal of the conversion. Use this field to control how conversions of the same user and day are de-duplicated. This is a required field.", +"type": "string" +}, +"quantity": { +"description": "The quantity of the conversion. This is a required field.", +"format": "int64", +"type": "string" +}, +"sessionAttributesEncoded": { +"description": "Session attributes for the conversion, encoded as based64 bytes. This field may only be used when calling batchinsert; it is not supported by batchupdate.", +"format": "byte", +"type": "string" +}, +"timestampMicros": { +"description": "The timestamp of conversion, in Unix epoch micros. This is a required field.", +"format": "int64", +"type": "string" +}, +"treatmentForUnderage": { +"description": "Whether this particular request may come from a user under the age of 16 (may differ by country), under compliance with the European Union's General Data Protection Regulation (GDPR).", +"type": "boolean" +}, +"userIdentifiers": { +"description": "The user identifiers to enhance the conversion. The maximum number of user identifiers for each conversion is 5.", +"items": { +"$ref": "UserIdentifier" +}, +"type": "array" +}, +"value": { +"description": "The value of the conversion. Interpreted in CM360 Floodlight config parent advertiser's currency code. This is a required field.", +"format": "double", +"type": "number" +} +}, +"type": "object" +}, +"ConversionError": { +"description": "The error code and description for a conversion that failed to insert or update.", +"id": "ConversionError", +"properties": { +"code": { +"description": "The error code.", +"enum": [ +"INVALID_ARGUMENT", +"INTERNAL", +"PERMISSION_DENIED", +"NOT_FOUND" +], +"enumDescriptions": [ +"", +"", +"", +"" +], +"type": "string" +}, +"kind": { +"description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#conversionError\".", +"type": "string" +}, +"message": { +"description": "A description of the error.", +"type": "string" +} +}, +"type": "object" +}, +"ConversionStatus": { +"description": "The original conversion that was inserted or updated and whether there were any errors.", +"id": "ConversionStatus", +"properties": { +"conversion": { +"$ref": "Conversion", +"description": "The original conversion that was inserted or updated." +}, +"errors": { +"description": "A list of errors related to this conversion.", +"items": { +"$ref": "ConversionError" +}, +"type": "array" +}, +"kind": { +"description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#conversionStatus\".", +"type": "string" +} +}, +"type": "object" +}, +"ConversionsBatchInsertRequest": { +"description": "Insert Conversions Request.", +"id": "ConversionsBatchInsertRequest", +"properties": { +"conversions": { +"description": "The set of conversions to insert.", +"items": { +"$ref": "Conversion" +}, +"type": "array" +}, +"encryptionInfo": { +"$ref": "EncryptionInfo", +"description": "Describes how encryptedUserId or encryptedUserIdCandidates[] is encrypted. This is a required field if encryptedUserId or encryptedUserIdCandidates[] is used." +}, +"kind": { +"description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#conversionsBatchInsertRequest\".", +"type": "string" +} +}, +"type": "object" +}, +"ConversionsBatchInsertResponse": { +"description": "Insert Conversions Response.", +"id": "ConversionsBatchInsertResponse", +"properties": { +"hasFailures": { +"description": "Indicates that some or all conversions failed to insert.", +"type": "boolean" +}, +"kind": { +"description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#conversionsBatchInsertResponse\".", +"type": "string" +}, +"status": { +"description": "The insert status of each conversion. Statuses are returned in the same order that conversions are inserted.", +"items": { +"$ref": "ConversionStatus" +}, +"type": "array" +} +}, +"type": "object" +}, +"ConversionsBatchUpdateRequest": { +"description": "Update Conversions Request.", +"id": "ConversionsBatchUpdateRequest", +"properties": { +"conversions": { +"description": "The set of conversions to update.", +"items": { +"$ref": "Conversion" +}, +"type": "array" +}, +"encryptionInfo": { +"$ref": "EncryptionInfo", +"description": "Describes how encryptedUserId is encrypted. This is a required field if encryptedUserId is used." +}, +"kind": { +"description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#conversionsBatchUpdateRequest\".", +"type": "string" +} +}, +"type": "object" +}, +"ConversionsBatchUpdateResponse": { +"description": "Update Conversions Response.", +"id": "ConversionsBatchUpdateResponse", +"properties": { +"hasFailures": { +"description": "Indicates that some or all conversions failed to update.", +"type": "boolean" +}, +"kind": { +"description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#conversionsBatchUpdateResponse\".", +"type": "string" +}, +"status": { +"description": "The update status of each conversion. Statuses are returned in the same order that conversions are updated.", +"items": { +"$ref": "ConversionStatus" +}, +"type": "array" +} +}, +"type": "object" +}, +"CountriesListResponse": { +"description": "Country List Response", +"id": "CountriesListResponse", +"properties": { +"countries": { +"description": "Country collection.", +"items": { +"$ref": "Country" +}, +"type": "array" +}, +"kind": { +"description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#countriesListResponse\".", +"type": "string" +} +}, +"type": "object" +}, +"Country": { +"description": "Contains information about a country that can be targeted by ads.", +"id": "Country", +"properties": { +"countryCode": { +"description": "Country code.", +"type": "string" +}, +"dartId": { +"description": "DART ID of this country. This is the ID used for targeting and generating reports.", +"format": "int64", +"type": "string" +}, +"kind": { +"description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#country\".", +"type": "string" +}, +"name": { +"description": "Name of this country.", +"type": "string" +}, +"sslEnabled": { +"description": "Whether ad serving supports secure servers in this country.", +"type": "boolean" +} +}, +"type": "object" +}, +"Creative": { +"description": "Contains properties of a Creative.", +"id": "Creative", +"properties": { +"accountId": { +"description": "Account ID of this creative. This field, if left unset, will be auto-generated for both insert and update operations. Applicable to all creative types.", +"format": "int64", +"type": "string" +}, +"active": { +"description": "Whether the creative is active. Applicable to all creative types.", +"type": "boolean" +}, +"adParameters": { +"description": "Ad parameters user for VPAID creative. This is a read-only field. Applicable to the following creative types: all VPAID.", +"type": "string" +}, +"adTagKeys": { +"description": "Keywords for a Rich Media creative. Keywords let you customize the creative settings of a Rich Media ad running on your site without having to contact the advertiser. You can use keywords to dynamically change the look or functionality of a creative. Applicable to the following creative types: all RICH_MEDIA, and all VPAID.", +"items": { +"type": "string" +}, +"type": "array" +}, +"additionalSizes": { +"description": "Additional sizes associated with a responsive creative. When inserting or updating a creative either the size ID field or size width and height fields can be used. Applicable to DISPLAY creatives when the primary asset type is HTML_IMAGE.", +"items": { +"$ref": "Size" +}, +"type": "array" +}, +"advertiserId": { +"description": "Required. Advertiser ID of this creative. This is a required field. Applicable to all creative types.", +"format": "int64", +"type": "string" +}, +"allowScriptAccess": { +"description": "Whether script access is allowed for this creative. This is a read-only and deprecated field which will automatically be set to true on update. Applicable to the following creative types: FLASH_INPAGE.", +"type": "boolean" +}, +"archived": { +"description": "Whether the creative is archived. Applicable to all creative types.", +"type": "boolean" +}, +"artworkType": { +"description": "Type of artwork used for the creative. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA, and all VPAID.", +"enum": [ +"ARTWORK_TYPE_FLASH", +"ARTWORK_TYPE_HTML5", +"ARTWORK_TYPE_MIXED", +"ARTWORK_TYPE_IMAGE" +], +"enumDescriptions": [ +"The creative is a Flash creative.", +"The creative is HTML5.", +"The creative is HTML5 if available, Flash otherwise.", +"The creative is Image." +], +"type": "string" +}, +"authoringSource": { +"description": "Source application where creative was authored. Presently, only DBM authored creatives will have this field set. Applicable to all creative types.", +"enum": [ +"CREATIVE_AUTHORING_SOURCE_DCM", +"CREATIVE_AUTHORING_SOURCE_DBM", +"CREATIVE_AUTHORING_SOURCE_STUDIO", +"CREATIVE_AUTHORING_SOURCE_GWD", +"CREATIVE_AUTHORING_SOURCE_ACS", +"CREATIVE_AUTHORING_SOURCE_ADOBE", +"CREATIVE_AUTHORING_SOURCE_TYPEFACE_AI", +"CREATIVE_AUTHORING_SOURCE_REMBRAND", +"CREATIVE_AUTHORING_SOURCE_TRACKTO_STUDIO", +"CREATIVE_AUTHORING_SOURCE_BORNLOGIC" +], +"enumDescriptions": [ +"DCM-UI or external API used to author the creative.", +"DBM-UI used to author the creative.", +"Studio-UI used to author the creative.", +"Google Web Designer used to author the creative.", +"ACS-UI used to author the creative.", +"Creative authoring source is Adobe.", +"Creative authoring source is Typeface.ai.", +"Creative authoring source is Rembrand.", +"Creative authoring source is Trackto.", +"Creative authoring source is Bornlogic." +], +"type": "string" +}, +"authoringTool": { +"description": "Authoring tool for HTML5 banner creatives. This is a read-only field. Applicable to the following creative types: HTML5_BANNER.", +"enum": [ +"NINJA", +"SWIFFY" +], +"enumDescriptions": [ +"", +"" +], +"type": "string" +}, +"autoAdvanceImages": { +"description": "Whether images are automatically advanced for image gallery creatives. Applicable to the following creative types: DISPLAY_IMAGE_GALLERY.", +"type": "boolean" +}, +"backgroundColor": { +"description": "The 6-character HTML color code, beginning with #, for the background of the window area where the Flash file is displayed. Default is white. Applicable to the following creative types: FLASH_INPAGE.", +"type": "string" +}, +"backupImageClickThroughUrl": { +"$ref": "CreativeClickThroughUrl", +"description": "Click-through URL for backup image. Applicable to ENHANCED_BANNER when the primary asset type is not HTML_IMAGE." +}, +"backupImageFeatures": { +"description": "List of feature dependencies that will cause a backup image to be served if the browser that serves the ad does not support them. Feature dependencies are features that a browser must be able to support in order to render your HTML5 creative asset correctly. This field is initially auto-generated to contain all features detected by Campaign Manager for all the assets of this creative and can then be modified by the client. To reset this field, copy over all the creativeAssets' detected features. Applicable to the following creative types: HTML5_BANNER. Applicable to DISPLAY when the primary asset type is not HTML_IMAGE.", +"items": { +"enum": [ +"CSS_FONT_FACE", +"CSS_BACKGROUND_SIZE", +"CSS_BORDER_IMAGE", +"CSS_BORDER_RADIUS", +"CSS_BOX_SHADOW", +"CSS_FLEX_BOX", +"CSS_HSLA", +"CSS_MULTIPLE_BGS", +"CSS_OPACITY", +"CSS_RGBA", +"CSS_TEXT_SHADOW", +"CSS_ANIMATIONS", +"CSS_COLUMNS", +"CSS_GENERATED_CONTENT", +"CSS_GRADIENTS", +"CSS_REFLECTIONS", +"CSS_TRANSFORMS", +"CSS_TRANSFORMS3D", +"CSS_TRANSITIONS", +"APPLICATION_CACHE", +"CANVAS", +"CANVAS_TEXT", +"DRAG_AND_DROP", +"HASH_CHANGE", +"HISTORY", +"AUDIO", +"VIDEO", +"INDEXED_DB", +"INPUT_ATTR_AUTOCOMPLETE", +"INPUT_ATTR_AUTOFOCUS", +"INPUT_ATTR_LIST", +"INPUT_ATTR_PLACEHOLDER", +"INPUT_ATTR_MAX", +"INPUT_ATTR_MIN", +"INPUT_ATTR_MULTIPLE", +"INPUT_ATTR_PATTERN", +"INPUT_ATTR_REQUIRED", +"INPUT_ATTR_STEP", +"INPUT_TYPE_SEARCH", +"INPUT_TYPE_TEL", +"INPUT_TYPE_URL", +"INPUT_TYPE_EMAIL", +"INPUT_TYPE_DATETIME", +"INPUT_TYPE_DATE", +"INPUT_TYPE_MONTH", +"INPUT_TYPE_WEEK", +"INPUT_TYPE_TIME", +"INPUT_TYPE_DATETIME_LOCAL", +"INPUT_TYPE_NUMBER", +"INPUT_TYPE_RANGE", +"INPUT_TYPE_COLOR", +"LOCAL_STORAGE", +"POST_MESSAGE", +"SESSION_STORAGE", +"WEB_SOCKETS", +"WEB_SQL_DATABASE", +"WEB_WORKERS", +"GEO_LOCATION", +"INLINE_SVG", +"SMIL", +"SVG_HREF", +"SVG_CLIP_PATHS", +"TOUCH", +"WEBGL", +"SVG_FILTERS", +"SVG_FE_IMAGE" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"POST_MESSAGE always required due to html5 implementation.", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"" +], +"type": "string" +}, +"type": "array" +}, +"backupImageReportingLabel": { +"description": "Reporting label used for HTML5 banner backup image. Applicable to the following creative types: DISPLAY when the primary asset type is not HTML_IMAGE.", +"type": "string" +}, +"backupImageTargetWindow": { +"$ref": "TargetWindow", +"description": "Target window for backup image. Applicable to the following creative types: FLASH_INPAGE and HTML5_BANNER. Applicable to DISPLAY when the primary asset type is not HTML_IMAGE." +}, +"clickTags": { +"description": "Click tags of the creative. For DISPLAY, FLASH_INPAGE, and HTML5_BANNER creatives, this is a subset of detected click tags for the assets associated with this creative. After creating a flash asset, detected click tags will be returned in the creativeAssetMetadata. When inserting the creative, populate the creative clickTags field using the creativeAssetMetadata.clickTags field. For DISPLAY_IMAGE_GALLERY creatives, there should be exactly one entry in this list for each image creative asset. A click tag is matched with a corresponding creative asset by matching the clickTag.name field with the creativeAsset.assetIdentifier.name field. Applicable to the following creative types: DISPLAY_IMAGE_GALLERY, FLASH_INPAGE, HTML5_BANNER. Applicable to DISPLAY when the primary asset type is not HTML_IMAGE.", +"items": { +"$ref": "ClickTag" +}, +"type": "array" +}, +"commercialId": { +"description": "Industry standard ID assigned to creative for reach and frequency. Applicable to INSTREAM_VIDEO_REDIRECT creatives.", +"type": "string" +}, +"companionCreatives": { +"description": "List of companion creatives assigned to an in-Stream video creative. Acceptable values include IDs of existing flash and image creatives. Applicable to the following creative types: all VPAID, all INSTREAM_AUDIO and all INSTREAM_VIDEO with dynamicAssetSelection set to false.", +"items": { +"format": "int64", +"type": "string" +}, +"type": "array" +}, +"compatibility": { +"description": "Compatibilities associated with this creative. This is a read-only field. DISPLAY and DISPLAY_INTERSTITIAL refer to rendering either on desktop or on mobile devices or in mobile apps for regular or interstitial ads, respectively. APP and APP_INTERSTITIAL are for rendering in mobile apps. Only pre-existing creatives may have these compatibilities since new creatives will either be assigned DISPLAY or DISPLAY_INTERSTITIAL instead. IN_STREAM_VIDEO refers to rendering in in-stream video ads developed with the VAST standard. IN_STREAM_AUDIO refers to rendering in in-stream audio ads developed with the VAST standard. Applicable to all creative types. Acceptable values are: - \"APP\" - \"APP_INTERSTITIAL\" - \"IN_STREAM_VIDEO\" - \"IN_STREAM_AUDIO\" - \"DISPLAY\" - \"DISPLAY_INTERSTITIAL\" ", +"items": { +"enum": [ +"DISPLAY", +"DISPLAY_INTERSTITIAL", +"APP", +"APP_INTERSTITIAL", +"IN_STREAM_VIDEO", +"IN_STREAM_AUDIO" +], +"enumDescriptions": [ +"", +"", +"Deprecated enum value. No longer supported.", +"Deprecated enum value. No longer supported.", +"", +"" +], +"type": "string" +}, +"type": "array" +}, +"convertFlashToHtml5": { +"description": "Whether Flash assets associated with the creative need to be automatically converted to HTML5. This flag is enabled by default and users can choose to disable it if they don't want the system to generate and use HTML5 asset for this creative. Applicable to the following creative type: FLASH_INPAGE. Applicable to DISPLAY when the primary asset type is not HTML_IMAGE.", +"type": "boolean" +}, +"counterCustomEvents": { +"description": "List of counter events configured for the creative. For DISPLAY_IMAGE_GALLERY creatives, these are read-only and auto-generated from clickTags. Applicable to the following creative types: DISPLAY_IMAGE_GALLERY, all RICH_MEDIA, and all VPAID.", +"items": { +"$ref": "CreativeCustomEvent" +}, +"type": "array" +}, +"creativeAssetSelection": { +"$ref": "CreativeAssetSelection", +"description": "Required if dynamicAssetSelection is true." +}, +"creativeAssets": { +"description": "Assets associated with a creative. Applicable to all but the following creative types: INTERNAL_REDIRECT, INTERSTITIAL_INTERNAL_REDIRECT, and REDIRECT", +"items": { +"$ref": "CreativeAsset" +}, +"type": "array" +}, +"creativeFieldAssignments": { +"description": "Creative field assignments for this creative. Applicable to all creative types.", +"items": { +"$ref": "CreativeFieldAssignment" +}, +"type": "array" +}, +"customKeyValues": { +"description": "Custom key-values for a Rich Media creative. Key-values let you customize the creative settings of a Rich Media ad running on your site without having to contact the advertiser. You can use key-values to dynamically change the look or functionality of a creative. Applicable to the following creative types: all RICH_MEDIA, and all VPAID.", +"items": { +"type": "string" +}, +"type": "array" +}, +"dynamicAssetSelection": { +"description": "Set this to true to enable the use of rules to target individual assets in this creative. When set to true creativeAssetSelection must be set. This also controls asset-level companions. When this is true, companion creatives should be assigned to creative assets. Learn more. Applicable to INSTREAM_VIDEO creatives.", +"type": "boolean" +}, +"exitCustomEvents": { +"description": "List of exit events configured for the creative. For DISPLAY and DISPLAY_IMAGE_GALLERY creatives, these are read-only and auto-generated from clickTags, For DISPLAY, an event is also created from the backupImageReportingLabel. Applicable to the following creative types: DISPLAY_IMAGE_GALLERY, all RICH_MEDIA, and all VPAID. Applicable to DISPLAY when the primary asset type is not HTML_IMAGE.", +"items": { +"$ref": "CreativeCustomEvent" +}, +"type": "array" +}, +"fsCommand": { +"$ref": "FsCommand", +"description": "OpenWindow FSCommand of this creative. This lets the SWF file communicate with either Flash Player or the program hosting Flash Player, such as a web browser. This is only triggered if allowScriptAccess field is true. Applicable to the following creative types: FLASH_INPAGE." +}, +"htmlCode": { +"description": "HTML code for the creative. This is a required field when applicable. This field is ignored if htmlCodeLocked is true. Applicable to the following creative types: all CUSTOM, FLASH_INPAGE, and HTML5_BANNER, and all RICH_MEDIA.", +"type": "string" +}, +"htmlCodeLocked": { +"description": "Whether HTML code is generated by Campaign Manager or manually entered. Set to true to ignore changes to htmlCode. Applicable to the following creative types: FLASH_INPAGE and HTML5_BANNER.", +"type": "boolean" +}, +"id": { +"description": "ID of this creative. This is a read-only, auto-generated field. Applicable to all creative types.", +"format": "int64", +"type": "string" +}, +"idDimensionValue": { +"$ref": "DimensionValue", +"description": "Dimension value for the ID of this creative. This is a read-only field. Applicable to all creative types." +}, +"kind": { +"description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#creative\".", +"type": "string" +}, +"lastModifiedInfo": { +"$ref": "LastModifiedInfo", +"description": "Creative last modification information. This is a read-only field. Applicable to all creative types." +}, +"latestTraffickedCreativeId": { +"description": "Latest Studio trafficked creative ID associated with rich media and VPAID creatives. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA, and all VPAID.", +"format": "int64", +"type": "string" +}, +"mediaDescription": { +"description": "Description of the audio or video ad. Applicable to the following creative types: all INSTREAM_VIDEO, INSTREAM_AUDIO, and all VPAID.", +"type": "string" +}, +"mediaDuration": { +"description": "Creative audio or video duration in seconds. This is a read-only field. Applicable to the following creative types: INSTREAM_VIDEO, INSTREAM_AUDIO, all RICH_MEDIA, and all VPAID.", +"format": "float", +"type": "number" +}, +"name": { +"description": "Required. Name of the creative. This must be less than 256 characters long. Applicable to all creative types.", +"type": "string" +}, +"obaIcon": { +"$ref": "ObaIcon", +"description": "Online behavioral advertising icon to be added to the creative. Applicable to the following creative types: all INSTREAM_VIDEO." +}, +"overrideCss": { +"description": "Override CSS value for rich media creatives. Applicable to the following creative types: all RICH_MEDIA.", +"type": "string" +}, +"progressOffset": { +"$ref": "VideoOffset", +"description": "Amount of time to play the video before counting a view. Applicable to the following creative types: all INSTREAM_VIDEO." +}, +"redirectUrl": { +"description": "URL of hosted image or hosted video or another ad tag. For INSTREAM_VIDEO_REDIRECT creatives this is the in-stream video redirect URL. The standard for a VAST (Video Ad Serving Template) ad response allows for a redirect link to another VAST 2.0 or 3.0 call. This is a required field when applicable. Applicable to the following creative types: DISPLAY_REDIRECT, INTERNAL_REDIRECT, INTERSTITIAL_INTERNAL_REDIRECT, and INSTREAM_VIDEO_REDIRECT", +"type": "string" +}, +"renderingId": { +"description": "ID of current rendering version. This is a read-only field. Applicable to all creative types.", +"format": "int64", +"type": "string" +}, +"renderingIdDimensionValue": { +"$ref": "DimensionValue", +"description": "Dimension value for the rendering ID of this creative. This is a read-only field. Applicable to all creative types." +}, +"requiredFlashPluginVersion": { +"description": "The minimum required Flash plugin version for this creative. For example, 11.2.202.235. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA, and all VPAID.", +"type": "string" +}, +"requiredFlashVersion": { +"description": "The internal Flash version for this creative as calculated by Studio. This is a read-only field. Applicable to the following creative types: FLASH_INPAGE all RICH_MEDIA, and all VPAID. Applicable to DISPLAY when the primary asset type is not HTML_IMAGE.", +"format": "int32", +"type": "integer" +}, +"size": { +"$ref": "Size", +"description": "Size associated with this creative. When inserting or updating a creative either the size ID field or size width and height fields can be used. This is a required field when applicable; however for IMAGE, FLASH_INPAGE creatives, and for DISPLAY creatives with a primary asset of type HTML_IMAGE, if left blank, this field will be automatically set using the actual size of the associated image assets. Applicable to the following creative types: DISPLAY, DISPLAY_IMAGE_GALLERY, FLASH_INPAGE, HTML5_BANNER, IMAGE, and all RICH_MEDIA." +}, +"skipOffset": { +"$ref": "VideoOffset", +"description": "Amount of time to play the video before the skip button appears. Applicable to the following creative types: all INSTREAM_VIDEO." +}, +"skippable": { +"description": "Whether the user can choose to skip the creative. Applicable to the following creative types: all INSTREAM_VIDEO and all VPAID.", +"type": "boolean" +}, +"sslCompliant": { +"description": "Whether the creative is SSL-compliant. This is a read-only field. Applicable to all creative types.", +"type": "boolean" +}, +"sslOverride": { +"description": "Whether creative should be treated as SSL compliant even if the system scan shows it's not. Applicable to all creative types.", +"type": "boolean" +}, +"studioAdvertiserId": { +"description": "Studio advertiser ID associated with rich media and VPAID creatives. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA, and all VPAID.", +"format": "int64", +"type": "string" +}, +"studioCreativeId": { +"description": "Studio creative ID associated with rich media and VPAID creatives. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA, and all VPAID.", +"format": "int64", +"type": "string" +}, +"studioTraffickedCreativeId": { +"description": "Studio trafficked creative ID associated with rich media and VPAID creatives. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA, and all VPAID.", +"format": "int64", +"type": "string" +}, +"subaccountId": { +"description": "Subaccount ID of this creative. This field, if left unset, will be auto-generated for both insert and update operations. Applicable to all creative types.", +"format": "int64", +"type": "string" +}, +"thirdPartyBackupImageImpressionsUrl": { +"description": "Third-party URL used to record backup image impressions. Applicable to the following creative types: all RICH_MEDIA.", +"type": "string" +}, +"thirdPartyRichMediaImpressionsUrl": { +"description": "Third-party URL used to record rich media impressions. Applicable to the following creative types: all RICH_MEDIA.", +"type": "string" +}, +"thirdPartyUrls": { +"description": "Third-party URLs for tracking in-stream creative events. Applicable to the following creative types: all INSTREAM_VIDEO, all INSTREAM_AUDIO, and all VPAID.", +"items": { +"$ref": "ThirdPartyTrackingUrl" +}, +"type": "array" +}, +"timerCustomEvents": { +"description": "List of timer events configured for the creative. For DISPLAY_IMAGE_GALLERY creatives, these are read-only and auto-generated from clickTags. Applicable to the following creative types: DISPLAY_IMAGE_GALLERY, all RICH_MEDIA, and all VPAID. Applicable to DISPLAY when the primary asset is not HTML_IMAGE.", +"items": { +"$ref": "CreativeCustomEvent" +}, +"type": "array" +}, +"totalFileSize": { +"description": "Combined size of all creative assets. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA, and all VPAID.", +"format": "int64", +"type": "string" +}, +"type": { +"description": "Required. Type of this creative. Applicable to all creative types. *Note:* FLASH_INPAGE, HTML5_BANNER, and IMAGE are only used for existing creatives. New creatives should use DISPLAY as a replacement for these types.", +"enum": [ +"IMAGE", +"DISPLAY_REDIRECT", +"CUSTOM_DISPLAY", +"INTERNAL_REDIRECT", +"CUSTOM_DISPLAY_INTERSTITIAL", +"INTERSTITIAL_INTERNAL_REDIRECT", +"TRACKING_TEXT", +"RICH_MEDIA_DISPLAY_BANNER", +"RICH_MEDIA_INPAGE_FLOATING", +"RICH_MEDIA_IM_EXPAND", +"RICH_MEDIA_DISPLAY_EXPANDING", +"RICH_MEDIA_DISPLAY_INTERSTITIAL", +"RICH_MEDIA_DISPLAY_MULTI_FLOATING_INTERSTITIAL", +"RICH_MEDIA_MOBILE_IN_APP", +"FLASH_INPAGE", +"INSTREAM_VIDEO", +"VPAID_LINEAR_VIDEO", +"VPAID_NON_LINEAR_VIDEO", +"INSTREAM_VIDEO_REDIRECT", +"RICH_MEDIA_PEEL_DOWN", +"HTML5_BANNER", +"DISPLAY", +"DISPLAY_IMAGE_GALLERY", +"BRAND_SAFE_DEFAULT_INSTREAM_VIDEO", +"INSTREAM_AUDIO" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"" +], +"type": "string" +}, +"universalAdId": { +"$ref": "UniversalAdId", +"description": "A Universal Ad ID as per the VAST 4.0 spec. Applicable to the following creative types: INSTREAM_AUDIO and INSTREAM_VIDEO and VPAID." +}, +"version": { +"description": "The version number helps you keep track of multiple versions of your creative in your reports. The version number will always be auto-generated during insert operations to start at 1. For tracking creatives the version cannot be incremented and will always remain at 1. For all other creative types the version can be incremented only by 1 during update operations. In addition, the version will be automatically incremented by 1 when undergoing Rich Media creative merging. Applicable to all creative types.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"CreativeAsset": { +"description": "Creative Asset.", +"id": "CreativeAsset", +"properties": { +"actionScript3": { +"description": "Whether ActionScript3 is enabled for the flash asset. This is a read-only field. Applicable to the following creative type: FLASH_INPAGE. Applicable to DISPLAY when the primary asset type is not HTML_IMAGE.", +"type": "boolean" +}, +"active": { +"description": "Whether the video or audio asset is active. This is a read-only field for VPAID_NON_LINEAR_VIDEO assets. Applicable to the following creative types: INSTREAM_AUDIO, INSTREAM_VIDEO and all VPAID.", +"type": "boolean" +}, +"additionalSizes": { +"description": "Additional sizes associated with this creative asset. HTML5 asset generated by compatible software such as GWD will be able to support more sizes this creative asset can render.", +"items": { +"$ref": "Size" +}, +"type": "array" +}, +"alignment": { +"description": "Possible alignments for an asset. This is a read-only field. Applicable to the following creative types: RICH_MEDIA_DISPLAY_MULTI_FLOATING_INTERSTITIAL .", +"enum": [ +"ALIGNMENT_TOP", +"ALIGNMENT_RIGHT", +"ALIGNMENT_BOTTOM", +"ALIGNMENT_LEFT" +], +"enumDescriptions": [ +"", +"", +"", +"" +], +"type": "string" +}, +"artworkType": { +"description": "Artwork type of rich media creative. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA.", +"enum": [ +"ARTWORK_TYPE_FLASH", +"ARTWORK_TYPE_HTML5", +"ARTWORK_TYPE_MIXED", +"ARTWORK_TYPE_IMAGE" +], +"enumDescriptions": [ +"The creative is a Flash creative.", +"The creative is HTML5.", +"The creative is HTML5 if available, Flash otherwise.", +"The creative is Image." +], +"type": "string" +}, +"assetIdentifier": { +"$ref": "CreativeAssetId", +"description": "Identifier of this asset. This is the same identifier returned during creative asset insert operation. This is a required field. Applicable to all but the following creative types: all REDIRECT and TRACKING_TEXT." +}, +"audioBitRate": { +"description": "Audio stream bit rate in kbps. This is a read-only field. Applicable to the following creative types: INSTREAM_AUDIO, INSTREAM_VIDEO and all VPAID.", +"format": "int32", +"type": "integer" +}, +"audioSampleRate": { +"description": "Audio sample bit rate in hertz. This is a read-only field. Applicable to the following creative types: INSTREAM_AUDIO, INSTREAM_VIDEO and all VPAID.", +"format": "int32", +"type": "integer" +}, +"backupImageExit": { +"$ref": "CreativeCustomEvent", +"description": "Exit event configured for the backup image. Applicable to the following creative types: all RICH_MEDIA." +}, +"bitRate": { +"description": "Detected bit-rate for audio or video asset. This is a read-only field. Applicable to the following creative types: INSTREAM_AUDIO, INSTREAM_VIDEO and all VPAID.", +"format": "int32", +"type": "integer" +}, +"childAssetType": { +"description": "Rich media child asset type. This is a read-only field. Applicable to the following creative types: all VPAID.", +"enum": [ +"CHILD_ASSET_TYPE_FLASH", +"CHILD_ASSET_TYPE_VIDEO", +"CHILD_ASSET_TYPE_IMAGE", +"CHILD_ASSET_TYPE_DATA" +], +"enumDescriptions": [ +"swf files", +"flv and any other video files types", +"image files", +"rest of the supported file types .txt, .xml etc." +], +"type": "string" +}, +"collapsedSize": { +"$ref": "Size", +"description": "Size of an asset when collapsed. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA and all VPAID. Additionally, applicable to assets whose displayType is ASSET_DISPLAY_TYPE_EXPANDING or ASSET_DISPLAY_TYPE_PEEL_DOWN." +}, +"companionCreativeIds": { +"description": "List of companion creatives assigned to an in-stream video creative asset. Acceptable values include IDs of existing flash and image creatives. Applicable to INSTREAM_VIDEO creative type with dynamicAssetSelection set to true.", +"items": { +"format": "int64", +"type": "string" +}, +"type": "array" +}, +"customStartTimeValue": { +"description": "Custom start time in seconds for making the asset visible. Applicable to the following creative types: all RICH_MEDIA. Value must be greater than or equal to 0.", +"format": "int32", +"type": "integer" +}, +"detectedFeatures": { +"description": "List of feature dependencies for the creative asset that are detected by Campaign Manager. Feature dependencies are features that a browser must be able to support in order to render your HTML5 creative correctly. This is a read-only, auto-generated field. Applicable to the following creative types: HTML5_BANNER. Applicable to DISPLAY when the primary asset type is not HTML_IMAGE.", +"items": { +"enum": [ +"CSS_FONT_FACE", +"CSS_BACKGROUND_SIZE", +"CSS_BORDER_IMAGE", +"CSS_BORDER_RADIUS", +"CSS_BOX_SHADOW", +"CSS_FLEX_BOX", +"CSS_HSLA", +"CSS_MULTIPLE_BGS", +"CSS_OPACITY", +"CSS_RGBA", +"CSS_TEXT_SHADOW", +"CSS_ANIMATIONS", +"CSS_COLUMNS", +"CSS_GENERATED_CONTENT", +"CSS_GRADIENTS", +"CSS_REFLECTIONS", +"CSS_TRANSFORMS", +"CSS_TRANSFORMS3D", +"CSS_TRANSITIONS", +"APPLICATION_CACHE", +"CANVAS", +"CANVAS_TEXT", +"DRAG_AND_DROP", +"HASH_CHANGE", +"HISTORY", +"AUDIO", +"VIDEO", +"INDEXED_DB", +"INPUT_ATTR_AUTOCOMPLETE", +"INPUT_ATTR_AUTOFOCUS", +"INPUT_ATTR_LIST", +"INPUT_ATTR_PLACEHOLDER", +"INPUT_ATTR_MAX", +"INPUT_ATTR_MIN", +"INPUT_ATTR_MULTIPLE", +"INPUT_ATTR_PATTERN", +"INPUT_ATTR_REQUIRED", +"INPUT_ATTR_STEP", +"INPUT_TYPE_SEARCH", +"INPUT_TYPE_TEL", +"INPUT_TYPE_URL", +"INPUT_TYPE_EMAIL", +"INPUT_TYPE_DATETIME", +"INPUT_TYPE_DATE", +"INPUT_TYPE_MONTH", +"INPUT_TYPE_WEEK", +"INPUT_TYPE_TIME", +"INPUT_TYPE_DATETIME_LOCAL", +"INPUT_TYPE_NUMBER", +"INPUT_TYPE_RANGE", +"INPUT_TYPE_COLOR", +"LOCAL_STORAGE", +"POST_MESSAGE", +"SESSION_STORAGE", +"WEB_SOCKETS", +"WEB_SQL_DATABASE", +"WEB_WORKERS", +"GEO_LOCATION", +"INLINE_SVG", +"SMIL", +"SVG_HREF", +"SVG_CLIP_PATHS", +"TOUCH", +"WEBGL", +"SVG_FILTERS", +"SVG_FE_IMAGE" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"POST_MESSAGE always required due to html5 implementation.", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"" +], +"type": "string" +}, +"type": "array" +}, +"displayType": { +"description": "Type of rich media asset. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA.", +"enum": [ +"ASSET_DISPLAY_TYPE_INPAGE", +"ASSET_DISPLAY_TYPE_FLOATING", +"ASSET_DISPLAY_TYPE_OVERLAY", +"ASSET_DISPLAY_TYPE_EXPANDING", +"ASSET_DISPLAY_TYPE_FLASH_IN_FLASH", +"ASSET_DISPLAY_TYPE_FLASH_IN_FLASH_EXPANDING", +"ASSET_DISPLAY_TYPE_PEEL_DOWN", +"ASSET_DISPLAY_TYPE_VPAID_LINEAR", +"ASSET_DISPLAY_TYPE_VPAID_NON_LINEAR", +"ASSET_DISPLAY_TYPE_BACKDROP" +], +"enumDescriptions": [ +"Asset exists in a box and stays within the box.", +"Asset exists at a self described location on the page.", +"Special display type for IM clients.", +"Asset changes size.", +"Not applicable for HTML5.", +"Not applicable for HTML5.", +"Asset sits on the top right and expands.", +"VPAID linear asset.", +"VPAID non linear asset.", +"Backdrop (skin) asset." +], +"type": "string" +}, +"duration": { +"description": "Duration in seconds for which an asset will be displayed. Applicable to the following creative types: INSTREAM_AUDIO, INSTREAM_VIDEO and VPAID_LINEAR_VIDEO. Value must be greater than or equal to 1.", +"format": "int32", +"type": "integer" +}, +"durationType": { +"description": "Duration type for which an asset will be displayed. Applicable to the following creative types: all RICH_MEDIA.", +"enum": [ +"ASSET_DURATION_TYPE_AUTO", +"ASSET_DURATION_TYPE_NONE", +"ASSET_DURATION_TYPE_CUSTOM" +], +"enumDescriptions": [ +"Asset is displayed for the single run of the time line.", +"Asset is displayed indefinitely and it loops on the timeline.", +"User entered duration value in seconds." +], +"type": "string" +}, +"expandedDimension": { +"$ref": "Size", +"description": "Detected expanded dimension for video asset. This is a read-only field. Applicable to the following creative types: INSTREAM_VIDEO and all VPAID." +}, +"fileSize": { +"description": "File size associated with this creative asset. This is a read-only field. Applicable to all but the following creative types: all REDIRECT and TRACKING_TEXT.", +"format": "int64", +"type": "string" +}, +"flashVersion": { +"description": "Flash version of the asset. This is a read-only field. Applicable to the following creative types: FLASH_INPAGE, all RICH_MEDIA, and all VPAID. Applicable to DISPLAY when the primary asset type is not HTML_IMAGE.", +"format": "int32", +"type": "integer" +}, +"frameRate": { +"description": "Video frame rate for video asset in frames per second. This is a read-only field. Applicable to the following creative types: INSTREAM_VIDEO and all VPAID.", +"format": "float", +"type": "number" +}, +"hideFlashObjects": { +"description": "Whether to hide Flash objects flag for an asset. Applicable to the following creative types: all RICH_MEDIA.", +"type": "boolean" +}, +"hideSelectionBoxes": { +"description": "Whether to hide selection boxes flag for an asset. Applicable to the following creative types: all RICH_MEDIA.", +"type": "boolean" +}, +"horizontallyLocked": { +"description": "Whether the asset is horizontally locked. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA.", +"type": "boolean" +}, +"id": { +"description": "Numeric ID of this creative asset. This is a required field and should not be modified. Applicable to all but the following creative types: all REDIRECT and TRACKING_TEXT.", +"format": "int64", +"type": "string" +}, +"idDimensionValue": { +"$ref": "DimensionValue", +"description": "Dimension value for the ID of the asset. This is a read-only, auto-generated field." +}, +"mediaDuration": { +"description": "Detected duration for audio or video asset. This is a read-only field. Applicable to the following creative types: INSTREAM_AUDIO, INSTREAM_VIDEO and all VPAID.", +"format": "float", +"type": "number" +}, +"mimeType": { +"description": "Detected MIME type for audio or video asset. This is a read-only field. Applicable to the following creative types: INSTREAM_AUDIO, INSTREAM_VIDEO and all VPAID.", +"type": "string" +}, +"offset": { +"$ref": "OffsetPosition", +"description": "Offset position for an asset in collapsed mode. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA and all VPAID. Additionally, only applicable to assets whose displayType is ASSET_DISPLAY_TYPE_EXPANDING or ASSET_DISPLAY_TYPE_PEEL_DOWN." +}, +"orientation": { +"description": "Orientation of video asset. This is a read-only, auto-generated field.", +"enum": [ +"LANDSCAPE", +"PORTRAIT", +"SQUARE" +], +"enumDescriptions": [ +"", +"", +"" +], +"type": "string" +}, +"originalBackup": { +"description": "Whether the backup asset is original or changed by the user in Campaign Manager. Applicable to the following creative types: all RICH_MEDIA.", +"type": "boolean" +}, +"politeLoad": { +"description": "Whether this asset is used as a polite load asset.", +"type": "boolean" +}, +"position": { +"$ref": "OffsetPosition", +"description": "Offset position for an asset. Applicable to the following creative types: all RICH_MEDIA." +}, +"positionLeftUnit": { +"description": "Offset left unit for an asset. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA.", +"enum": [ +"OFFSET_UNIT_PIXEL", +"OFFSET_UNIT_PERCENT", +"OFFSET_UNIT_PIXEL_FROM_CENTER" +], +"enumDescriptions": [ +"Pixels on a screen.", +"Percent offset for center asset (rather than top and left).", +"Pixel offset for center of asset from center of browser window." +], +"type": "string" +}, +"positionTopUnit": { +"description": "Offset top unit for an asset. This is a read-only field if the asset displayType is ASSET_DISPLAY_TYPE_OVERLAY. Applicable to the following creative types: all RICH_MEDIA.", +"enum": [ +"OFFSET_UNIT_PIXEL", +"OFFSET_UNIT_PERCENT", +"OFFSET_UNIT_PIXEL_FROM_CENTER" +], +"enumDescriptions": [ +"Pixels on a screen.", +"Percent offset for center asset (rather than top and left).", +"Pixel offset for center of asset from center of browser window." +], +"type": "string" +}, +"progressiveServingUrl": { +"description": "Progressive URL for video asset. This is a read-only field. Applicable to the following creative types: INSTREAM_VIDEO and all VPAID.", +"type": "string" +}, +"pushdown": { +"description": "Whether the asset pushes down other content. Applicable to the following creative types: all RICH_MEDIA. Additionally, only applicable when the asset offsets are 0, the collapsedSize.width matches size.width, and the collapsedSize.height is less than size.height.", +"type": "boolean" +}, +"pushdownDuration": { +"description": "Pushdown duration in seconds for an asset. Applicable to the following creative types: all RICH_MEDIA.Additionally, only applicable when the asset pushdown field is true, the offsets are 0, the collapsedSize.width matches size.width, and the collapsedSize.height is less than size.height. Acceptable values are 0 to 9.99, inclusive.", +"format": "float", +"type": "number" +}, +"role": { +"description": "Role of the asset in relation to creative. Applicable to all but the following creative types: all REDIRECT and TRACKING_TEXT. This is a required field. PRIMARY applies to DISPLAY, FLASH_INPAGE, HTML5_BANNER, IMAGE, DISPLAY_IMAGE_GALLERY, all RICH_MEDIA (which may contain multiple primary assets), and all VPAID creatives. BACKUP_IMAGE applies to FLASH_INPAGE, HTML5_BANNER, all RICH_MEDIA, and all VPAID creatives. Applicable to DISPLAY when the primary asset type is not HTML_IMAGE. ADDITIONAL_IMAGE and ADDITIONAL_FLASH apply to FLASH_INPAGE creatives. OTHER refers to assets from sources other than Campaign Manager, such as Studio uploaded assets, applicable to all RICH_MEDIA and all VPAID creatives. PARENT_VIDEO refers to videos uploaded by the user in Campaign Manager and is applicable to INSTREAM_VIDEO and VPAID_LINEAR_VIDEO creatives. TRANSCODED_VIDEO refers to videos transcoded by Campaign Manager from PARENT_VIDEO assets and is applicable to INSTREAM_VIDEO and VPAID_LINEAR_VIDEO creatives. ALTERNATE_VIDEO refers to the Campaign Manager representation of child asset videos from Studio, and is applicable to VPAID_LINEAR_VIDEO creatives. These cannot be added or removed within Campaign Manager. For VPAID_LINEAR_VIDEO creatives, PARENT_VIDEO, TRANSCODED_VIDEO and ALTERNATE_VIDEO assets that are marked active serve as backup in case the VPAID creative cannot be served. Only PARENT_VIDEO assets can be added or removed for an INSTREAM_VIDEO or VPAID_LINEAR_VIDEO creative. PARENT_AUDIO refers to audios uploaded by the user in Campaign Manager and is applicable to INSTREAM_AUDIO creatives. TRANSCODED_AUDIO refers to audios transcoded by Campaign Manager from PARENT_AUDIO assets and is applicable to INSTREAM_AUDIO creatives. ", +"enum": [ +"PRIMARY", +"BACKUP_IMAGE", +"ADDITIONAL_IMAGE", +"ADDITIONAL_FLASH", +"PARENT_VIDEO", +"TRANSCODED_VIDEO", +"OTHER", +"ALTERNATE_VIDEO", +"PARENT_AUDIO", +"TRANSCODED_AUDIO" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"", +"", +"", +"", +"" +], +"type": "string" +}, +"size": { +"$ref": "Size", +"description": "Size associated with this creative asset. This is a required field when applicable; however for IMAGE and FLASH_INPAGE, creatives if left blank, this field will be automatically set using the actual size of the associated image asset. Applicable to the following creative types: DISPLAY_IMAGE_GALLERY, FLASH_INPAGE, HTML5_BANNER, IMAGE, and all RICH_MEDIA. Applicable to DISPLAY when the primary asset type is not HTML_IMAGE." +}, +"sslCompliant": { +"description": "Whether the asset is SSL-compliant. This is a read-only field. Applicable to all but the following creative types: all REDIRECT and TRACKING_TEXT.", +"type": "boolean" +}, +"startTimeType": { +"description": "Initial wait time type before making the asset visible. Applicable to the following creative types: all RICH_MEDIA.", +"enum": [ +"ASSET_START_TIME_TYPE_NONE", +"ASSET_START_TIME_TYPE_CUSTOM" +], +"enumDescriptions": [ +"Asset is not automatically displayed.", +"Asset is automatically displayed after a fixed period of time." +], +"type": "string" +}, +"streamingServingUrl": { +"description": "Streaming URL for video asset. This is a read-only field. Applicable to the following creative types: INSTREAM_VIDEO and all VPAID.", +"type": "string" +}, +"transparency": { +"description": "Whether the asset is transparent. Applicable to the following creative types: all RICH_MEDIA. Additionally, only applicable to HTML5 assets.", +"type": "boolean" +}, +"verticallyLocked": { +"description": "Whether the asset is vertically locked. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA.", +"type": "boolean" +}, +"windowMode": { +"description": "Window mode options for flash assets. Applicable to the following creative types: FLASH_INPAGE, RICH_MEDIA_DISPLAY_EXPANDING, RICH_MEDIA_IM_EXPAND, RICH_MEDIA_DISPLAY_BANNER, and RICH_MEDIA_INPAGE_FLOATING.", +"enum": [ +"OPAQUE", +"WINDOW", +"TRANSPARENT" +], +"enumDescriptions": [ +"Allows overlapping of Html and SWF content.", +"Default", +"Used for non-square borders. Allows overlapping of Html and SWF content." +], +"type": "string" +}, +"zIndex": { +"description": "zIndex value of an asset. Applicable to the following creative types: all RICH_MEDIA.Additionally, only applicable to assets whose displayType is NOT one of the following types: ASSET_DISPLAY_TYPE_INPAGE or ASSET_DISPLAY_TYPE_OVERLAY. Acceptable values are -999999999 to 999999999, inclusive.", +"format": "int32", +"type": "integer" +}, +"zipFilename": { +"description": "File name of zip file. This is a read-only field. Applicable to the following creative types: HTML5_BANNER.", +"type": "string" +}, +"zipFilesize": { +"description": "Size of zip file. This is a read-only field. Applicable to the following creative types: HTML5_BANNER.", +"type": "string" +} +}, +"type": "object" +}, +"CreativeAssetId": { +"description": "Creative Asset ID.", +"id": "CreativeAssetId", +"properties": { +"name": { +"description": "Name of the creative asset. This is a required field while inserting an asset. After insertion, this assetIdentifier is used to identify the uploaded asset. Characters in the name must be alphanumeric or one of the following: \".-_ \". Spaces are allowed.", +"type": "string" +}, +"type": { +"description": "Type of asset to upload. This is a required field. FLASH and IMAGE are no longer supported for new uploads. All image assets should use HTML_IMAGE.", +"enum": [ +"IMAGE", +"FLASH", +"VIDEO", +"HTML", +"HTML_IMAGE", +"AUDIO" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"" +], +"type": "string" +} +}, +"type": "object" +}, +"CreativeAssetMetadata": { +"description": "CreativeAssets contains properties of a creative asset file which will be uploaded or has already been uploaded. Refer to the creative sample code for how to upload assets and insert a creative.", +"id": "CreativeAssetMetadata", +"properties": { +"assetIdentifier": { +"$ref": "CreativeAssetId", +"description": "ID of the creative asset. This is a required field." +}, +"clickTags": { +"description": "List of detected click tags for assets. This is a read-only, auto-generated field. This field is empty for a rich media asset.", +"items": { +"$ref": "ClickTag" +}, +"type": "array" +}, +"counterCustomEvents": { +"description": "List of counter events configured for the asset. This is a read-only, auto-generated field and only applicable to a rich media asset.", +"items": { +"$ref": "CreativeCustomEvent" +}, +"type": "array" +}, +"detectedFeatures": { +"description": "List of feature dependencies for the creative asset that are detected by Campaign Manager. Feature dependencies are features that a browser must be able to support in order to render your HTML5 creative correctly. This is a read-only, auto-generated field.", +"items": { +"enum": [ +"CSS_FONT_FACE", +"CSS_BACKGROUND_SIZE", +"CSS_BORDER_IMAGE", +"CSS_BORDER_RADIUS", +"CSS_BOX_SHADOW", +"CSS_FLEX_BOX", +"CSS_HSLA", +"CSS_MULTIPLE_BGS", +"CSS_OPACITY", +"CSS_RGBA", +"CSS_TEXT_SHADOW", +"CSS_ANIMATIONS", +"CSS_COLUMNS", +"CSS_GENERATED_CONTENT", +"CSS_GRADIENTS", +"CSS_REFLECTIONS", +"CSS_TRANSFORMS", +"CSS_TRANSFORMS3D", +"CSS_TRANSITIONS", +"APPLICATION_CACHE", +"CANVAS", +"CANVAS_TEXT", +"DRAG_AND_DROP", +"HASH_CHANGE", +"HISTORY", +"AUDIO", +"VIDEO", +"INDEXED_DB", +"INPUT_ATTR_AUTOCOMPLETE", +"INPUT_ATTR_AUTOFOCUS", +"INPUT_ATTR_LIST", +"INPUT_ATTR_PLACEHOLDER", +"INPUT_ATTR_MAX", +"INPUT_ATTR_MIN", +"INPUT_ATTR_MULTIPLE", +"INPUT_ATTR_PATTERN", +"INPUT_ATTR_REQUIRED", +"INPUT_ATTR_STEP", +"INPUT_TYPE_SEARCH", +"INPUT_TYPE_TEL", +"INPUT_TYPE_URL", +"INPUT_TYPE_EMAIL", +"INPUT_TYPE_DATETIME", +"INPUT_TYPE_DATE", +"INPUT_TYPE_MONTH", +"INPUT_TYPE_WEEK", +"INPUT_TYPE_TIME", +"INPUT_TYPE_DATETIME_LOCAL", +"INPUT_TYPE_NUMBER", +"INPUT_TYPE_RANGE", +"INPUT_TYPE_COLOR", +"LOCAL_STORAGE", +"POST_MESSAGE", +"SESSION_STORAGE", +"WEB_SOCKETS", +"WEB_SQL_DATABASE", +"WEB_WORKERS", +"GEO_LOCATION", +"INLINE_SVG", +"SMIL", +"SVG_HREF", +"SVG_CLIP_PATHS", +"TOUCH", +"WEBGL", +"SVG_FILTERS", +"SVG_FE_IMAGE" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"POST_MESSAGE always required due to html5 implementation.", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"" +], +"type": "string" +}, +"type": "array" +}, +"exitCustomEvents": { +"description": "List of exit events configured for the asset. This is a read-only, auto-generated field and only applicable to a rich media asset.", +"items": { +"$ref": "CreativeCustomEvent" +}, +"type": "array" +}, +"id": { +"description": "Numeric ID of the asset. This is a read-only, auto-generated field.", +"format": "int64", +"type": "string" +}, +"idDimensionValue": { +"$ref": "DimensionValue", +"description": "Dimension value for the numeric ID of the asset. This is a read-only, auto-generated field." +}, +"kind": { +"description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#creativeAssetMetadata\".", +"type": "string" +}, +"richMedia": { +"description": "True if the uploaded asset is a rich media asset. This is a read-only, auto-generated field.", +"type": "boolean" +}, +"timerCustomEvents": { +"description": "List of timer events configured for the asset. This is a read-only, auto-generated field and only applicable to a rich media asset.", +"items": { +"$ref": "CreativeCustomEvent" +}, +"type": "array" +}, +"warnedValidationRules": { +"description": "Rules validated during code generation that generated a warning. This is a read-only, auto-generated field. Possible values are: - \"ADMOB_REFERENCED\" - \"ASSET_FORMAT_UNSUPPORTED_DCM\" - \"ASSET_INVALID\" - \"CLICK_TAG_HARD_CODED\" - \"CLICK_TAG_INVALID\" - \"CLICK_TAG_IN_GWD\" - \"CLICK_TAG_MISSING\" - \"CLICK_TAG_MORE_THAN_ONE\" - \"CLICK_TAG_NON_TOP_LEVEL\" - \"COMPONENT_UNSUPPORTED_DCM\" - \"ENABLER_UNSUPPORTED_METHOD_DCM\" - \"EXTERNAL_FILE_REFERENCED\" - \"FILE_DETAIL_EMPTY\" - \"FILE_TYPE_INVALID\" - \"GWD_PROPERTIES_INVALID\" - \"HTML5_FEATURE_UNSUPPORTED\" - \"LINKED_FILE_NOT_FOUND\" - \"MAX_FLASH_VERSION_11\" - \"MRAID_REFERENCED\" - \"NOT_SSL_COMPLIANT\" - \"ORPHANED_ASSET\" - \"PRIMARY_HTML_MISSING\" - \"SVG_INVALID\" - \"ZIP_INVALID\" ", +"items": { +"enum": [ +"CLICK_TAG_NON_TOP_LEVEL", +"CLICK_TAG_MISSING", +"CLICK_TAG_MORE_THAN_ONE", +"CLICK_TAG_INVALID", +"ORPHANED_ASSET", +"PRIMARY_HTML_MISSING", +"EXTERNAL_FILE_REFERENCED", +"MRAID_REFERENCED", +"ADMOB_REFERENCED", +"FILE_TYPE_INVALID", +"ZIP_INVALID", +"LINKED_FILE_NOT_FOUND", +"MAX_FLASH_VERSION_11", +"NOT_SSL_COMPLIANT", +"FILE_DETAIL_EMPTY", +"ASSET_INVALID", +"GWD_PROPERTIES_INVALID", +"ENABLER_UNSUPPORTED_METHOD_DCM", +"ASSET_FORMAT_UNSUPPORTED_DCM", +"COMPONENT_UNSUPPORTED_DCM", +"HTML5_FEATURE_UNSUPPORTED", +"CLICK_TAG_IN_GWD", +"CLICK_TAG_HARD_CODED", +"SVG_INVALID", +"CLICK_TAG_IN_RICH_MEDIA", +"MISSING_ENABLER_REFERENCE" +], +"enumDescriptions": [ +"Click tag initialization detected but not at the top level of the primary html file.", +"No click tag detected.", +"More than one click tag detected.", +"Click tag invalid (failed url validation).", +"Orphaned asset not referenced.", +"Primary html file missing.", +"Reference to a third-party resource.", +"Reference to INAPP MRAID feature.", +"Reference to INAPP ADMOB feature.", +"Invalid file type referenced.", +"Invalid zip passed in", +"A relative file was linked to that wasn't included in zip.", +"Max flash version at 11.", +"Whether the asset uses secure urls or not.", +"File detail empty.", +"Asset is not valid and could not be processed.", +"GWD properties are invalid.", +"Unsupported Enabler methods in DCM.", +"Asset ad format is unsupported in DCM.", +"Component is unsupported in DCM.", +"Html5 feature is unsupported.", +"Click tag defined in GWD asset. GWD-published creatives should use exit events instead of defining var clickTag. Defined var clickTags are a symptom of an unsupported workflow, and an error should be thrown.", +"Whether the asset has hard coded click tag url(s).", +"Whether an SVG block could not be parsed.", +"Click tag defined in rich media asset. Rich media creatives should use exit events instead of defining var clickTag. Defined var clickTags are a symptom of an unsupported workflow, and an error should be thrown.", +"Rich media primary asset is missing the Enabler reference." +], +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"CreativeAssetSelection": { +"description": "Encapsulates the list of rules for asset selection and a default asset in case none of the rules match. Applicable to INSTREAM_VIDEO creatives.", +"id": "CreativeAssetSelection", +"properties": { +"defaultAssetId": { +"description": "A creativeAssets[].id. This should refer to one of the parent assets in this creative, and will be served if none of the rules match. This is a required field.", +"format": "int64", +"type": "string" +}, +"rules": { +"description": "Rules determine which asset will be served to a viewer. Rules will be evaluated in the order in which they are stored in this list. This list must contain at least one rule. Applicable to INSTREAM_VIDEO creatives.", +"items": { +"$ref": "Rule" +}, +"type": "array" +} +}, +"type": "object" +}, +"CreativeAssignment": { +"description": "Creative Assignment.", +"id": "CreativeAssignment", +"properties": { +"active": { +"description": "Whether this creative assignment is active. When true, the creative will be included in the ad's rotation.", +"type": "boolean" +}, +"applyEventTags": { +"description": "Whether applicable event tags should fire when this creative assignment is rendered. If this value is unset when the ad is inserted or updated, it will default to true for all creative types EXCEPT for INTERNAL_REDIRECT, INTERSTITIAL_INTERNAL_REDIRECT, and INSTREAM_VIDEO.", +"type": "boolean" +}, +"clickThroughUrl": { +"$ref": "ClickThroughUrl", +"description": "Click-through URL of the creative assignment." +}, +"companionCreativeOverrides": { +"description": "Companion creative overrides for this creative assignment. Applicable to video ads.", +"items": { +"$ref": "CompanionClickThroughOverride" +}, +"type": "array" +}, +"creativeGroupAssignments": { +"description": "Creative group assignments for this creative assignment. Only one assignment per creative group number is allowed for a maximum of two assignments.", +"items": { +"$ref": "CreativeGroupAssignment" +}, +"type": "array" +}, +"creativeId": { +"description": "ID of the creative to be assigned. This is a required field.", +"format": "int64", +"type": "string" +}, +"creativeIdDimensionValue": { +"$ref": "DimensionValue", +"description": "Dimension value for the ID of the creative. This is a read-only, auto-generated field." +}, +"endTime": { +"format": "date-time", +"type": "string" +}, +"richMediaExitOverrides": { +"description": "Rich media exit overrides for this creative assignment. Applicable when the creative type is any of the following: - DISPLAY - RICH_MEDIA_INPAGE - RICH_MEDIA_INPAGE_FLOATING - RICH_MEDIA_IM_EXPAND - RICH_MEDIA_EXPANDING - RICH_MEDIA_INTERSTITIAL_FLOAT - RICH_MEDIA_MOBILE_IN_APP - RICH_MEDIA_MULTI_FLOATING - RICH_MEDIA_PEEL_DOWN - VPAID_LINEAR - VPAID_NON_LINEAR ", +"items": { +"$ref": "RichMediaExitOverride" +}, +"type": "array" +}, +"sequence": { +"description": "Sequence number of the creative assignment, applicable when the rotation type is CREATIVE_ROTATION_TYPE_SEQUENTIAL. Acceptable values are 1 to 65535, inclusive.", +"format": "int32", +"type": "integer" +}, +"sslCompliant": { +"description": "Whether the creative to be assigned is SSL-compliant. This is a read-only field that is auto-generated when the ad is inserted or updated.", +"type": "boolean" +}, +"startTime": { +"format": "date-time", +"type": "string" +}, +"weight": { +"description": "Weight of the creative assignment, applicable when the rotation type is CREATIVE_ROTATION_TYPE_RANDOM. Value must be greater than or equal to 1.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"CreativeClickThroughUrl": { +"description": "Click-through URL", +"id": "CreativeClickThroughUrl", +"properties": { +"computedClickThroughUrl": { +"description": "Read-only convenience field representing the actual URL that will be used for this click-through. The URL is computed as follows: - If landingPageId is specified then that landing page's URL is assigned to this field. - Otherwise, the customClickThroughUrl is assigned to this field. ", +"type": "string" +}, +"customClickThroughUrl": { +"description": "Custom click-through URL. Applicable if the landingPageId field is left unset.", +"type": "string" +}, +"landingPageId": { +"description": "ID of the landing page for the click-through URL.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"CreativeCustomEvent": { +"description": "Creative Custom Event.", +"id": "CreativeCustomEvent", +"properties": { +"advertiserCustomEventId": { +"description": "Unique ID of this event used by Reporting and Data Transfer. This is a read-only field.", +"format": "int64", +"type": "string" +}, +"advertiserCustomEventName": { +"description": "User-entered name for the event.", +"type": "string" +}, +"advertiserCustomEventType": { +"description": "Type of the event. This is a read-only field.", +"enum": [ +"ADVERTISER_EVENT_TIMER", +"ADVERTISER_EVENT_EXIT", +"ADVERTISER_EVENT_COUNTER" +], +"enumDescriptions": [ +"", +"", +"" +], +"type": "string" +}, +"artworkLabel": { +"description": "Artwork label column, used to link events in Campaign Manager back to events in Studio. This is a required field and should not be modified after insertion.", +"type": "string" +}, +"artworkType": { +"description": "Artwork type used by the creative.This is a read-only field.", +"enum": [ +"ARTWORK_TYPE_FLASH", +"ARTWORK_TYPE_HTML5", +"ARTWORK_TYPE_MIXED", +"ARTWORK_TYPE_IMAGE" +], +"enumDescriptions": [ +"The creative is a Flash creative.", +"The creative is HTML5.", +"The creative is HTML5 if available, Flash otherwise.", +"The creative is Image." +], +"type": "string" +}, +"exitClickThroughUrl": { +"$ref": "CreativeClickThroughUrl", +"description": "Exit click-through URL for the event. This field is used only for exit events." +}, +"id": { +"description": "ID of this event. This is a required field and should not be modified after insertion.", +"format": "int64", +"type": "string" +}, +"popupWindowProperties": { +"$ref": "PopupWindowProperties", +"description": "Properties for rich media popup windows. This field is used only for exit events." +}, +"targetType": { +"description": "Target type used by the event.", +"enum": [ +"TARGET_BLANK", +"TARGET_TOP", +"TARGET_SELF", +"TARGET_PARENT", +"TARGET_POPUP" +], +"enumDescriptions": [ +"New tab", +"Current tab", +"Same frame", +"Parent frame", +"New window with properties specified in window_properties" +], +"type": "string" +}, +"videoReportingId": { +"description": "Video reporting ID, used to differentiate multiple videos in a single creative. This is a read-only field.", +"type": "string" +} +}, +"type": "object" +}, +"CreativeField": { +"description": "Contains properties of a creative field.", +"id": "CreativeField", +"properties": { +"accountId": { +"description": "Account ID of this creative field. This is a read-only field that can be left blank.", +"format": "int64", +"type": "string" +}, +"advertiserId": { +"description": "Advertiser ID of this creative field. This is a required field on insertion.", +"format": "int64", +"type": "string" +}, +"advertiserIdDimensionValue": { +"$ref": "DimensionValue", +"description": "Dimension value for the ID of the advertiser. This is a read-only, auto-generated field." +}, +"id": { +"description": "ID of this creative field. This is a read-only, auto-generated field.", +"format": "int64", +"type": "string" +}, +"kind": { +"description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#creativeField\".", +"type": "string" +}, +"name": { +"description": "Name of this creative field. This is a required field and must be less than 256 characters long and unique among creative fields of the same advertiser.", +"type": "string" +}, +"subaccountId": { +"description": "Subaccount ID of this creative field. This is a read-only field that can be left blank.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"CreativeFieldAssignment": { +"description": "Creative Field Assignment.", +"id": "CreativeFieldAssignment", +"properties": { +"creativeFieldId": { +"description": "ID of the creative field.", +"format": "int64", +"type": "string" +}, +"creativeFieldValueId": { +"description": "ID of the creative field value.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"CreativeFieldValue": { +"description": "Contains properties of a creative field value.", +"id": "CreativeFieldValue", +"properties": { +"id": { +"description": "ID of this creative field value. This is a read-only, auto-generated field.", +"format": "int64", +"type": "string" +}, +"kind": { +"description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#creativeFieldValue\".", +"type": "string" +}, +"value": { +"description": "Value of this creative field value. It needs to be less than 256 characters in length and unique per creative field.", +"type": "string" +} +}, +"type": "object" +}, +"CreativeFieldValuesListResponse": { +"description": "Creative Field Value List Response", +"id": "CreativeFieldValuesListResponse", +"properties": { +"creativeFieldValues": { +"description": "Creative field value collection.", +"items": { +"$ref": "CreativeFieldValue" +}, +"type": "array" +}, +"kind": { +"description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#creativeFieldValuesListResponse\".", +"type": "string" +}, +"nextPageToken": { +"description": "Pagination token to be used for the next list operation.", +"type": "string" +} +}, +"type": "object" +}, +"CreativeFieldsListResponse": { +"description": "Creative Field List Response", +"id": "CreativeFieldsListResponse", +"properties": { +"creativeFields": { +"description": "Creative field collection.", +"items": { +"$ref": "CreativeField" +}, +"type": "array" +}, +"kind": { +"description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#creativeFieldsListResponse\".", +"type": "string" +}, +"nextPageToken": { +"description": "Pagination token to be used for the next list operation.", +"type": "string" +} +}, +"type": "object" +}, +"CreativeGroup": { +"description": "Contains properties of a creative group.", +"id": "CreativeGroup", +"properties": { +"accountId": { +"description": "Account ID of this creative group. This is a read-only field that can be left blank.", +"format": "int64", +"type": "string" +}, +"advertiserId": { +"description": "Advertiser ID of this creative group. This is a required field on insertion.", +"format": "int64", +"type": "string" +}, +"advertiserIdDimensionValue": { +"$ref": "DimensionValue", +"description": "Dimension value for the ID of the advertiser. This is a read-only, auto-generated field." +}, +"groupNumber": { +"description": "Subgroup of the creative group. Assign your creative groups to a subgroup in order to filter or manage them more easily. This field is required on insertion and is read-only after insertion. Acceptable values are 1 to 2, inclusive.", +"format": "int32", +"type": "integer" +}, +"id": { +"description": "ID of this creative group. This is a read-only, auto-generated field.", +"format": "int64", +"type": "string" +}, +"kind": { +"description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#creativeGroup\".", +"type": "string" +}, +"name": { +"description": "Name of this creative group. This is a required field and must be less than 256 characters long and unique among creative groups of the same advertiser.", +"type": "string" +}, +"subaccountId": { +"description": "Subaccount ID of this creative group. This is a read-only field that can be left blank.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"CreativeGroupAssignment": { +"description": "Creative Group Assignment.", +"id": "CreativeGroupAssignment", +"properties": { +"creativeGroupId": { +"description": "ID of the creative group to be assigned.", +"format": "int64", +"type": "string" +}, +"creativeGroupNumber": { +"description": "Creative group number of the creative group assignment.", +"enum": [ +"CREATIVE_GROUP_ONE", +"CREATIVE_GROUP_TWO" +], +"enumDescriptions": [ +"", +"" +], +"type": "string" +} +}, +"type": "object" +}, +"CreativeGroupsListResponse": { +"description": "Creative Group List Response", +"id": "CreativeGroupsListResponse", +"properties": { +"creativeGroups": { +"description": "Creative group collection.", +"items": { +"$ref": "CreativeGroup" +}, +"type": "array" +}, +"kind": { +"description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#creativeGroupsListResponse\".", +"type": "string" +}, +"nextPageToken": { +"description": "Pagination token to be used for the next list operation.", +"type": "string" +} +}, +"type": "object" +}, +"CreativeOptimizationConfiguration": { +"description": "Creative optimization settings.", +"id": "CreativeOptimizationConfiguration", +"properties": { +"id": { +"description": "ID of this creative optimization config. This field is auto-generated when the campaign is inserted or updated. It can be null for existing campaigns.", +"format": "int64", +"type": "string" +}, +"name": { +"description": "Name of this creative optimization config. This is a required field and must be less than 129 characters long.", +"type": "string" +}, +"optimizationActivitys": { +"description": "List of optimization activities associated with this configuration.", +"items": { +"$ref": "OptimizationActivity" +}, +"type": "array" +}, +"optimizationModel": { +"description": "Optimization model for this configuration.", +"enum": [ +"CLICK", +"POST_CLICK", +"POST_IMPRESSION", +"POST_CLICK_AND_IMPRESSION", +"VIDEO_COMPLETION" +], +"enumDescriptions": [ +"", +"", +"", +"", +"" +], +"type": "string" +} +}, +"type": "object" +}, +"CreativeRotation": { +"description": "Creative Rotation.", +"id": "CreativeRotation", +"properties": { +"creativeAssignments": { +"description": "Creative assignments in this creative rotation.", +"items": { +"$ref": "CreativeAssignment" +}, +"type": "array" +}, +"creativeOptimizationConfigurationId": { +"description": "Creative optimization configuration that is used by this ad. It should refer to one of the existing optimization configurations in the ad's campaign. If it is unset or set to 0, then the campaign's default optimization configuration will be used for this ad.", +"format": "int64", +"type": "string" +}, +"type": { +"description": "Type of creative rotation. Can be used to specify whether to use sequential or random rotation.", +"enum": [ +"CREATIVE_ROTATION_TYPE_SEQUENTIAL", +"CREATIVE_ROTATION_TYPE_RANDOM" +], +"enumDescriptions": [ +"The weights of each creative in the rotation should be sequential starting at 1. The user may adjust the order.", +"The weights are calculated according to the ad's CreativeRoationWeightStrategy." +], +"type": "string" +}, +"weightCalculationStrategy": { +"description": "Strategy for calculating weights. Used with CREATIVE_ROTATION_TYPE_RANDOM.", +"enum": [ +"WEIGHT_STRATEGY_EQUAL", +"WEIGHT_STRATEGY_CUSTOM", +"WEIGHT_STRATEGY_HIGHEST_CTR", +"WEIGHT_STRATEGY_OPTIMIZED" +], +"enumDescriptions": [ +"The creative weights should all be equal to 1. This is the default value for all ads with a rotation type of Random.", +"The creative weights can be any user provided positive integer.", +"The weights will be automatically calculated giving preference to the creative that has the highest CTR. The CTR for campaigns that are optimized for clicks = clicks/impressions. The CTR for campaigns that are optimized for view-through or click through is sum(activities + floodlight weight)/impressions.", +"The creative weights will be automatically calculated using a formula that could not possibly be explained in these comments. The value will be within some predetermined range (probably 0 - 1,000,000)." +], +"type": "string" +} +}, +"type": "object" +}, +"CreativesListResponse": { +"description": "Creative List Response", +"id": "CreativesListResponse", +"properties": { +"creatives": { +"description": "Creative collection.", +"items": { +"$ref": "Creative" +}, +"type": "array" +}, +"kind": { +"description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#creativesListResponse\".", +"type": "string" +}, +"nextPageToken": { +"description": "Pagination token to be used for the next list operation.", +"type": "string" +} +}, +"type": "object" +}, +"CrossDimensionReachReportCompatibleFields": { +"description": "Represents fields that are compatible to be selected for a report of type \"CROSS_DIMENSION_REACH\".", +"id": "CrossDimensionReachReportCompatibleFields", +"properties": { +"breakdown": { +"description": "Dimensions which are compatible to be selected in the \"breakdown\" section of the report.", +"items": { +"$ref": "Dimension" +}, +"type": "array" +}, +"dimensionFilters": { +"description": "Dimensions which are compatible to be selected in the \"dimensionFilters\" section of the report.", +"items": { +"$ref": "Dimension" +}, +"type": "array" +}, +"kind": { +"description": "The kind of resource this is, in this case dfareporting#crossDimensionReachReportCompatibleFields.", +"type": "string" +}, +"metrics": { +"description": "Metrics which are compatible to be selected in the \"metricNames\" section of the report.", +"items": { +"$ref": "Metric" +}, +"type": "array" +}, +"overlapMetrics": { +"description": "Metrics which are compatible to be selected in the \"overlapMetricNames\" section of the report.", +"items": { +"$ref": "Metric" +}, +"type": "array" +} +}, +"type": "object" +}, +"CrossMediaReachReportCompatibleFields": { +"description": "Represents fields that are compatible to be selected for a report of type \"CROSS_MEDIA_REACH\".", +"id": "CrossMediaReachReportCompatibleFields", +"properties": { +"dimensionFilters": { +"description": "Dimensions which are compatible to be selected in the \"dimensionFilters\" section of the report.", +"items": { +"$ref": "Dimension" +}, +"type": "array" +}, +"dimensions": { +"description": "Dimensions which are compatible to be selected in the \"dimensions\" section of the report.", +"items": { +"$ref": "Dimension" +}, +"type": "array" +}, +"kind": { +"description": "The kind of resource this is, in this case dfareporting#crossMediaReachReportCompatibleFields.", +"type": "string" +}, +"metrics": { +"description": "Metrics which are compatible to be selected in the \"metricNames\" section of the report.", +"items": { +"$ref": "Metric" +}, +"type": "array" +} +}, +"type": "object" +}, +"CustomFloodlightVariable": { +"description": "A custom floodlight variable. Can be used in both batchinsert and batchupdate. Adding this in batchupdate will update or append the variable to the existing list.", +"id": "CustomFloodlightVariable", +"properties": { +"kind": { +"description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#customFloodlightVariable\".", +"type": "string" +}, +"type": { +"description": "The type of custom floodlight variable to supply a value for. These map to the \"u[1-100]=\" in the tags.", +"enum": [ +"U1", +"U2", +"U3", +"U4", +"U5", +"U6", +"U7", +"U8", +"U9", +"U10", +"U11", +"U12", +"U13", +"U14", +"U15", +"U16", +"U17", +"U18", +"U19", +"U20", +"U21", +"U22", +"U23", +"U24", +"U25", +"U26", +"U27", +"U28", +"U29", +"U30", +"U31", +"U32", +"U33", +"U34", +"U35", +"U36", +"U37", +"U38", +"U39", +"U40", +"U41", +"U42", +"U43", +"U44", +"U45", +"U46", +"U47", +"U48", +"U49", +"U50", +"U51", +"U52", +"U53", +"U54", +"U55", +"U56", +"U57", +"U58", +"U59", +"U60", +"U61", +"U62", +"U63", +"U64", +"U65", +"U66", +"U67", +"U68", +"U69", +"U70", +"U71", +"U72", +"U73", +"U74", +"U75", +"U76", +"U77", +"U78", +"U79", +"U80", +"U81", +"U82", +"U83", +"U84", +"U85", +"U86", +"U87", +"U88", +"U89", +"U90", +"U91", +"U92", +"U93", +"U94", +"U95", +"U96", +"U97", +"U98", +"U99", +"U100" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"" +], +"type": "string" +}, +"value": { +"description": "The value of the custom floodlight variable. The length of string must not exceed 100 characters.", +"type": "string" +} +}, +"type": "object" +}, +"CustomRichMediaEvents": { +"description": "Represents a Custom Rich Media Events group.", +"id": "CustomRichMediaEvents", +"properties": { +"filteredEventIds": { +"description": "List of custom rich media event IDs. Dimension values must be all of type dfa:richMediaEventTypeIdAndName.", +"items": { +"$ref": "DimensionValue" +}, +"type": "array" +}, +"kind": { +"description": "The kind of resource this is, in this case dfareporting#customRichMediaEvents.", +"type": "string" +} +}, +"type": "object" +}, +"CustomRule": { +"description": "Contains custom rule information.", +"id": "CustomRule", +"properties": { +"name": { +"description": "Optional. Name of this custom rule.", +"type": "string" +}, +"priority": { +"description": "Optional. Priority of the custom rule.", +"format": "int32", +"type": "integer" +}, +"ruleBlocks": { +"description": "Optional. A list of field filter, the custom rule will apply.", +"items": { +"$ref": "RuleBlock" +}, +"type": "array" +} +}, +"type": "object" +}, +"CustomValueField": { +"description": "Contains custom value field information.", +"id": "CustomValueField", +"properties": { +"fieldId": { +"description": "Optional. Field ID in the element.", +"format": "int32", +"type": "integer" +}, +"requestKey": { +"description": "Optional. Custom key used to match for auto filtering.", +"type": "string" +} +}, +"type": "object" +}, +"CustomViewabilityMetric": { +"description": "Custom Viewability Metric", +"id": "CustomViewabilityMetric", +"properties": { +"configuration": { +"$ref": "CustomViewabilityMetricConfiguration", +"description": "Configuration of the custom viewability metric." +}, +"id": { +"description": "ID of the custom viewability metric.", +"format": "int64", +"type": "string" +}, +"name": { +"description": "Name of the custom viewability metric.", +"type": "string" +} +}, +"type": "object" +}, +"CustomViewabilityMetricConfiguration": { +"description": "The attributes, like playtime and percent onscreen, that define the Custom Viewability Metric.", +"id": "CustomViewabilityMetricConfiguration", +"properties": { +"audible": { +"description": "Whether the video must be audible to count an impression.", +"type": "boolean" +}, +"timeMillis": { +"description": "The time in milliseconds the video must play for the Custom Viewability Metric to count an impression. If both this and timePercent are specified, the earlier of the two will be used.", +"format": "int32", +"type": "integer" +}, +"timePercent": { +"description": "The percentage of video that must play for the Custom Viewability Metric to count an impression. If both this and timeMillis are specified, the earlier of the two will be used.", +"format": "int32", +"type": "integer" +}, +"viewabilityPercent": { +"description": "The percentage of video that must be on screen for the Custom Viewability Metric to count an impression.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"DateRange": { +"description": "Represents a date range.", +"id": "DateRange", +"properties": { +"endDate": { +"format": "date", +"type": "string" +}, +"kind": { +"description": "The kind of resource this is, in this case dfareporting#dateRange.", +"type": "string" +}, +"relativeDateRange": { +"description": "The date range relative to the date of when the report is run.", +"enum": [ +"TODAY", +"YESTERDAY", +"WEEK_TO_DATE", +"MONTH_TO_DATE", +"QUARTER_TO_DATE", +"YEAR_TO_DATE", +"PREVIOUS_WEEK", +"PREVIOUS_MONTH", +"PREVIOUS_QUARTER", +"PREVIOUS_YEAR", +"LAST_7_DAYS", +"LAST_30_DAYS", +"LAST_90_DAYS", +"LAST_365_DAYS", +"LAST_24_MONTHS", +"LAST_14_DAYS", +"LAST_60_DAYS" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"" +], +"type": "string" +}, +"startDate": { +"format": "date", +"type": "string" +} +}, +"type": "object" +}, +"DayPartTargeting": { +"description": "Day Part Targeting.", +"id": "DayPartTargeting", +"properties": { +"daysOfWeek": { +"description": "Days of the week when the ad will serve. Acceptable values are: - \"SUNDAY\" - \"MONDAY\" - \"TUESDAY\" - \"WEDNESDAY\" - \"THURSDAY\" - \"FRIDAY\" - \"SATURDAY\" ", +"items": { +"enum": [ +"SUNDAY", +"MONDAY", +"TUESDAY", +"WEDNESDAY", +"THURSDAY", +"FRIDAY", +"SATURDAY" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"", +"" +], +"type": "string" +}, +"type": "array" +}, +"hoursOfDay": { +"description": "Hours of the day when the ad will serve, where 0 is midnight to 1 AM and 23 is 11 PM to midnight. Can be specified with days of week, in which case the ad would serve during these hours on the specified days. For example if Monday, Wednesday, Friday are the days of week specified and 9-10am, 3-5pm (hours 9, 15, and 16) is specified, the ad would serve Monday, Wednesdays, and Fridays at 9-10am and 3-5pm. Acceptable values are 0 to 23, inclusive.", +"items": { +"format": "int32", +"type": "integer" +}, +"type": "array" +}, +"userLocalTime": { +"description": "Whether or not to use the user's local time. If false, the America/New York time zone applies.", +"type": "boolean" +} +}, +"type": "object" +}, +"DeepLink": { +"description": "Contains information about a landing page deep link.", +"id": "DeepLink", +"properties": { +"appUrl": { +"description": "The URL of the mobile app being linked to.", +"type": "string" +}, +"fallbackUrl": { +"description": "The fallback URL. This URL will be served to users who do not have the mobile app installed.", +"type": "string" +}, +"kind": { +"description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#deepLink\".", +"type": "string" +}, +"mobileApp": { +"$ref": "MobileApp", +"description": "The mobile app targeted by this deep link." +}, +"remarketingListIds": { +"description": "Ads served to users on these remarketing lists will use this deep link. Applicable when mobileApp.directory is APPLE_APP_STORE.", +"items": { +"format": "int64", +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"DefaultClickThroughEventTagProperties": { +"description": "Properties of inheriting and overriding the default click-through event tag. A campaign may override the event tag defined at the advertiser level, and an ad may also override the campaign's setting further.", +"id": "DefaultClickThroughEventTagProperties", +"properties": { +"defaultClickThroughEventTagId": { +"description": "ID of the click-through event tag to apply to all ads in this entity's scope.", +"format": "int64", +"type": "string" +}, +"overrideInheritedEventTag": { +"description": "Whether this entity should override the inherited default click-through event tag with its own defined value.", +"type": "boolean" +} +}, +"type": "object" +}, +"DeliverySchedule": { +"description": "Delivery Schedule.", +"id": "DeliverySchedule", +"properties": { +"frequencyCap": { +"$ref": "FrequencyCap", +"description": "Limit on the number of times an individual user can be served the ad within a specified period of time." +}, +"hardCutoff": { +"description": "Whether or not hard cutoff is enabled. If true, the ad will not serve after the end date and time. Otherwise the ad will continue to be served until it has reached its delivery goals.", +"type": "boolean" +}, +"impressionRatio": { +"description": "Impression ratio for this ad. This ratio determines how often each ad is served relative to the others. For example, if ad A has an impression ratio of 1 and ad B has an impression ratio of 3, then Campaign Manager will serve ad B three times as often as ad A. Acceptable values are 1 to 10, inclusive.", +"format": "int64", +"type": "string" +}, +"priority": { +"description": "Serving priority of an ad, with respect to other ads. The lower the priority number, the greater the priority with which it is served.", +"enum": [ +"AD_PRIORITY_01", +"AD_PRIORITY_02", +"AD_PRIORITY_03", +"AD_PRIORITY_04", +"AD_PRIORITY_05", +"AD_PRIORITY_06", +"AD_PRIORITY_07", +"AD_PRIORITY_08", +"AD_PRIORITY_09", +"AD_PRIORITY_10", +"AD_PRIORITY_11", +"AD_PRIORITY_12", +"AD_PRIORITY_13", +"AD_PRIORITY_14", +"AD_PRIORITY_15", +"AD_PRIORITY_16" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"" +], +"type": "string" +} +}, +"type": "object" +}, +"DependentFieldValue": { +"description": "Contains dependent field value information.", +"id": "DependentFieldValue", +"properties": { +"elementId": { +"description": "Optional. The ID of the element that value's field will match against.", +"format": "int64", +"type": "string" +}, +"fieldId": { +"description": "Optional. The field id of the dependent field.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"DfareportingStudioCreativeAssetsInsertRequest": { +"description": "Request message for DfareportingStudioCreativeAssets.Insert.", +"id": "DfareportingStudioCreativeAssetsInsertRequest", +"properties": { +"studioAccountId": { +"description": "Optional. Studio account ID of the studio creative asset. It is a optional.", +"format": "int64", +"type": "string" +}, +"studioAdvertiserId": { +"description": "Required. Studio advertiser ID of the studio creative asset. It is a required field on insertion.", +"format": "int64", +"type": "string" +}, +"studioCreativeId": { +"description": "Optional. Studio creative ID of the studio creative asset. It is a optional field. If it is set, the asset will be associated to the creative.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"DfpSettings": { +"description": "Google Ad Manager Settings", +"id": "DfpSettings", +"properties": { +"dfpNetworkCode": { +"description": "Ad Manager network code for this directory site.", +"type": "string" +}, +"dfpNetworkName": { +"description": "Ad Manager network name for this directory site.", +"type": "string" +}, +"programmaticPlacementAccepted": { +"description": "Whether this directory site accepts programmatic placements.", +"type": "boolean" +}, +"pubPaidPlacementAccepted": { +"description": "Whether this directory site accepts publisher-paid tags.", +"type": "boolean" +}, +"publisherPortalOnly": { +"description": "Whether this directory site is available only via Publisher Portal.", +"type": "boolean" +} +}, +"type": "object" +}, +"Dimension": { +"description": "Represents a dimension.", +"id": "Dimension", +"properties": { +"kind": { +"description": "The kind of resource this is, in this case dfareporting#dimension.", +"type": "string" +}, +"name": { +"description": "The dimension name, e.g. advertiser", +"type": "string" +} +}, +"type": "object" +}, +"DimensionFilter": { +"description": "Represents a dimension filter.", +"id": "DimensionFilter", +"properties": { +"dimensionName": { +"description": "The name of the dimension to filter.", +"type": "string" +}, +"kind": { +"description": "The kind of resource this is, in this case dfareporting#dimensionFilter.", +"type": "string" +}, +"value": { +"description": "The value of the dimension to filter.", +"type": "string" +} +}, +"type": "object" +}, +"DimensionValue": { +"description": "Represents a DimensionValue resource.", +"id": "DimensionValue", +"properties": { +"dimensionName": { +"description": "The name of the dimension.", +"type": "string" +}, +"etag": { +"description": "The eTag of this response for caching purposes.", +"type": "string" +}, +"id": { +"description": "The ID associated with the value if available.", +"type": "string" +}, +"kind": { +"description": "The kind of resource this is, in this case dfareporting#dimensionValue.", +"type": "string" +}, +"matchType": { +"description": "Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.", +"enum": [ +"EXACT", +"BEGINS_WITH", +"CONTAINS", +"WILDCARD_EXPRESSION" +], +"enumDescriptions": [ +"", +"", +"", +"" +], +"type": "string" +}, +"value": { +"description": "The value of the dimension.", +"type": "string" +} +}, +"type": "object" +}, +"DimensionValueList": { +"description": "Represents the list of DimensionValue resources.", +"id": "DimensionValueList", +"properties": { +"etag": { +"description": "The eTag of this response for caching purposes.", +"type": "string" +}, +"items": { +"description": "The dimension values returned in this response.", +"items": { +"$ref": "DimensionValue" +}, +"type": "array" +}, +"kind": { +"description": "The kind of list this is, in this case dfareporting#dimensionValueList.", +"type": "string" +}, +"nextPageToken": { +"description": "Continuation token used to page through dimension values. To retrieve the next page of results, set the next request's \"pageToken\" to the value of this field. The page token is only valid for a limited amount of time and should not be persisted.", +"type": "string" +} +}, +"type": "object" +}, +"DimensionValueRequest": { +"description": "Represents a DimensionValuesRequest.", +"id": "DimensionValueRequest", +"properties": { +"dimensionName": { +"description": "The name of the dimension for which values should be requested.", +"type": "string" +}, +"endDate": { +"format": "date", +"type": "string" +}, +"filters": { +"description": "The list of filters by which to filter values. The filters are ANDed.", +"items": { +"$ref": "DimensionFilter" +}, +"type": "array" +}, +"kind": { +"description": "The kind of request this is, in this case dfareporting#dimensionValueRequest .", +"type": "string" +}, +"startDate": { +"format": "date", +"type": "string" +} +}, +"type": "object" +}, +"DirectorySite": { +"description": "DirectorySites contains properties of a website from the Site Directory. Sites need to be added to an account via the Sites resource before they can be assigned to a placement.", +"id": "DirectorySite", +"properties": { +"id": { +"description": "ID of this directory site. This is a read-only, auto-generated field.", +"format": "int64", +"type": "string" +}, +"idDimensionValue": { +"$ref": "DimensionValue", +"description": "Dimension value for the ID of this directory site. This is a read-only, auto-generated field." +}, +"inpageTagFormats": { +"description": "Tag types for regular placements. Acceptable values are: - \"STANDARD\" - \"IFRAME_JAVASCRIPT_INPAGE\" - \"INTERNAL_REDIRECT_INPAGE\" - \"JAVASCRIPT_INPAGE\" ", +"items": { +"enum": [ +"STANDARD", +"IFRAME_JAVASCRIPT_INPAGE", +"INTERNAL_REDIRECT_INPAGE", +"JAVASCRIPT_INPAGE" +], +"enumDescriptions": [ +"", +"", +"", +"" +], +"type": "string" +}, +"type": "array" +}, +"interstitialTagFormats": { +"description": "Tag types for interstitial placements. Acceptable values are: - \"IFRAME_JAVASCRIPT_INTERSTITIAL\" - \"INTERNAL_REDIRECT_INTERSTITIAL\" - \"JAVASCRIPT_INTERSTITIAL\" ", +"items": { +"enum": [ +"IFRAME_JAVASCRIPT_INTERSTITIAL", +"INTERNAL_REDIRECT_INTERSTITIAL", +"JAVASCRIPT_INTERSTITIAL" +], +"enumDescriptions": [ +"", +"", +"" +], +"type": "string" +}, +"type": "array" +}, +"kind": { +"description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#directorySite\".", +"type": "string" +}, +"name": { +"description": "Name of this directory site.", +"type": "string" +}, +"publisherSpecificationId": { +"description": "Output only. Default publisher specification ID of video placements under this directory site. Possible values are: * `1`, Hulu * `2`, NBC * `3`, CBS * `4`, CBS Desktop * `5`, Discovery * `6`, VEVO HD * `7`, VEVO Vertical * `8`, Fox * `9`, CW Network * `10`, Disney * `11`, IGN * `12`, NFL.com * `13`, Turner Broadcasting * `14`, Tubi on Fox * `15`, Hearst Corporation * `16`, Twitch Desktop * `17`, ABC * `18`, Univision * `19`, MLB.com * `20`, MLB.com Mobile * `21`, MLB.com OTT * `22`, Polsat * `23`, TVN * `24`, Mediaset * `25`, Antena 3 * `26`, Mediamond * `27`, Sky Italia * `28`, Tubi on CBS * `29`, Spotify * `30`, Paramount * `31`, Max", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"settings": { +"$ref": "DirectorySiteSettings", +"description": "Directory site settings." +}, +"url": { +"description": "URL of this directory site.", +"type": "string" +} +}, +"type": "object" +}, +"DirectorySiteSettings": { +"description": "Directory Site Settings", +"id": "DirectorySiteSettings", +"properties": { +"activeViewOptOut": { +"description": "Whether this directory site has disabled active view creatives.", +"type": "boolean" +}, +"dfpSettings": { +"$ref": "DfpSettings", +"description": "Directory site Ad Manager settings." +}, +"instreamVideoPlacementAccepted": { +"description": "Whether this site accepts in-stream video ads.", +"type": "boolean" +}, +"interstitialPlacementAccepted": { +"description": "Whether this site accepts interstitial ads.", +"type": "boolean" +} +}, +"type": "object" +}, +"DirectorySitesListResponse": { +"description": "Directory Site List Response", +"id": "DirectorySitesListResponse", +"properties": { +"directorySites": { +"description": "Directory site collection.", +"items": { +"$ref": "DirectorySite" +}, +"type": "array" +}, +"kind": { +"description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#directorySitesListResponse\".", +"type": "string" +}, +"nextPageToken": { +"description": "Pagination token to be used for the next list operation.", +"type": "string" +} +}, +"type": "object" +}, +"DynamicFeed": { +"description": " *Beta:* This API resource is available only to a very limited number of customers. If you'd like to use this resource, please reach out to your Google sales representative. Contains dynamic feed information.", +"id": "DynamicFeed", +"properties": { +"contentSource": { +"$ref": "ContentSource", +"description": "Required. The content source of the dynamic feed. This is a required field." +}, +"createInfo": { +"$ref": "LastModifiedInfo", +"description": "Output only. The creation timestamp of the dynamic feed. This is a read-only field.", +"readOnly": true +}, +"dynamicFeedId": { +"description": "Output only. Unique ID of this dynamic feed. This is a read-only, auto-generated field.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"dynamicFeedName": { +"description": "Optional. Name of this dynamic feed. It is defaulted to content source file name if not provided.", +"type": "string" +}, +"element": { +"$ref": "Element", +"description": "Required. The element of the dynamic feed that is to specify the schema of the feed. This is a required field." +}, +"feedIngestionStatus": { +"$ref": "FeedIngestionStatus", +"description": "Output only. The ingestion status of the dynamic feed. This is a read-only field.", +"readOnly": true +}, +"feedSchedule": { +"$ref": "FeedSchedule", +"description": "Optional. The schedule of the dynamic feed. It can be set if the feed is published." +}, +"hasPublished": { +"description": "Output only. Indicates whether the dynamic feed has a published version. This is a read-only field.", +"readOnly": true, +"type": "boolean" +}, +"lastModifiedInfo": { +"$ref": "LastModifiedInfo", +"description": "Output only. The last modified timestamp of the dynamic feed. This is a read-only field.", +"readOnly": true +}, +"status": { +"description": "Output only. The status of the feed. It is a read-only field that depends on the the feed ingestion status. The default value is INACTIVE, and it will be updated to ACTIVE once the feed is ingested successfully.", +"enum": [ +"STATUS_UNKNOWN", +"ACTIVE", +"INACTIVE", +"DELETED" +], +"enumDescriptions": [ +"The status is unknown.", +"The feedstatus is active.", +"The feed status is inactive.", +"The feed status is deleted." +], +"readOnly": true, +"type": "string" +}, +"studioAdvertiserId": { +"description": "Required. Advertiser ID of this dynamic feed. This is a required field.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"DynamicFeedsInsertRequest": { +"description": "Dynamic profile ID is required for dynamic feed insert as the current GPA API only can create a dynamic feed under profile context,even though the dynamic feed itself don't need the dynamic profile id.", +"id": "DynamicFeedsInsertRequest", +"properties": { +"dynamicFeed": { +"$ref": "DynamicFeed", +"description": "Required. Dynamic feed to insert." +}, +"dynamicProfileId": { +"description": "Required. Dynamic profile ID of the inserted dynamic feed.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"DynamicProfile": { +"description": " *Beta:* This API resource is available only to a very limited number of customers. If you'd like to use this resource, please reach out to your Google sales representative. Contains dynamic profile information.", +"id": "DynamicProfile", +"properties": { +"active": { +"$ref": "DynamicProfileVersion", +"description": "Optional. Active version of the dynamic profile." +}, +"archiveStatus": { +"description": "Optional. Archive status of this dynamic profile.", +"enum": [ +"ARCHIVE_STATUS_UNKNOWN", +"UNARCHIVED", +"ARCHIVED" +], +"enumDescriptions": [ +"The dynamic profile archive status is unknown. This value is unused.", +"The dynamic profile archive status is unarchived.", +"The dynamic profile archive status is archived." +], +"type": "string" +}, +"createInfo": { +"$ref": "LastModifiedInfo", +"description": "Output only. The creation timestamp of the dynamic profile. This is a read-only field.", +"readOnly": true +}, +"description": { +"description": "Optional. Description of this dynamic profile.", +"type": "string" +}, +"draft": { +"$ref": "DynamicProfileVersion", +"description": "Optional. Draft version of the dynamic profile." +}, +"dynamicProfileId": { +"description": "Output only. Unique ID of this dynamic profile. This is a read-only, auto-generated field.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"kind": { +"description": "Output only. Identifies what kind of resource this is. Value: the fixed string \"dfareporting#dynamicProfile\".", +"readOnly": true, +"type": "string" +}, +"lastModifiedInfo": { +"$ref": "LastModifiedInfo", +"description": "Output only. The last modified timestamp of the dynamic profile. This is a read-only field.", +"readOnly": true +}, +"name": { +"description": "Required. Identifier. Name of this dynamic profile. This is a required field and must be less than 256 characters long.", +"type": "string" +}, +"status": { +"description": "Optional. Status of this dynamic profile.", +"enum": [ +"STATUS_UNKNOWN", +"ACTIVE", +"INACTIVE", +"DELETED" +], +"enumDescriptions": [ +"The dynamic profile status is unknown. This value is unused.", +"The dynamic profile is active.", +"The dynamic profile is inactive.", +"The dynamic profile is deleted." +], +"type": "string" +}, +"studioAdvertiserId": { +"description": "Required. Advertiser ID of this dynamic profile. This is a required field on insertion.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"DynamicProfileFeedSettings": { +"description": "Contains dynamic profile specific settings for an associated dynamic feed.", +"id": "DynamicProfileFeedSettings", +"properties": { +"dynamicFeedId": { +"description": "Optional. Dynamic feed ID associated with dynamic profile version.", +"format": "int64", +"type": "string" +}, +"dynamicRules": { +"$ref": "DynamicRules", +"description": "Optional. Dynamic rules for row selection for the given dynamic feed in the given dynamic profile." +}, +"quantity": { +"description": "Optional. The number of this dynamic feed rows needed by the dynamic profile, default value is 1. Acceptable values are between 1 to 99, inclusive.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"DynamicProfileGenerateCodeResponse": { +"description": "Response message for DfareportingDynamicProfiles.GenerateCode.", +"id": "DynamicProfileGenerateCodeResponse", +"properties": { +"code": { +"description": "Generated code for the dynamic profile. The code will need to be unescaped.", +"type": "string" +} +}, +"type": "object" +}, +"DynamicProfileVersion": { +"description": "Contains dynamic profile version information.", +"id": "DynamicProfileVersion", +"properties": { +"dynamicProfileFeedSettings": { +"description": "Optional. Associated dynamic feeds and their settings (including dynamic rules) for this dynamic profile version.", +"items": { +"$ref": "DynamicProfileFeedSettings" +}, +"type": "array" +}, +"versionId": { +"description": "Output only. Version ID of this dynamic profile version. This is a read-only, auto-generated field. -1 for draft version, 0+ for published versions.", +"format": "int64", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"DynamicRules": { +"description": "Contains dynamic rules information.", +"id": "DynamicRules", +"properties": { +"autoTargetedFieldIds": { +"description": "Optional. List of field IDs in this element that should be auto-targeted. Applicable when rule type is AUTO.", +"items": { +"format": "int32", +"type": "integer" +}, +"type": "array" +}, +"customRules": { +"description": "Optional. The custom rules of the dynamic feed, only applicable when rule type is CUSTOM.", +"items": { +"$ref": "CustomRule" +}, +"type": "array" +}, +"customValueFields": { +"description": "Optional. Mapping between field ID and custom key that are used to match for auto filtering.", +"items": { +"$ref": "CustomValueField" +}, +"type": "array" +}, +"proximityFilter": { +"$ref": "ProximityFilter", +"description": "Optional. The proximity targeting rules of the dynamic feed, only applicable when rule type is PROXIMITY_TARGETING." +}, +"remarketingValueAttributes": { +"description": "Optional. The link between an element field ID and a list of user attribute IDs.", +"items": { +"$ref": "RemarketingValueAttribute" +}, +"type": "array" +}, +"rotationType": { +"description": "Optional. The rotation type to select from eligible rows. Rotation type only apply when the filtering rule results in more than one eligible rows.", +"enum": [ +"ROTATION_TYPE_UNKNOWN", +"RANDOM", +"OPTIMIZED", +"WEIGHTED" +], +"enumDescriptions": [ +"The rotation type is unknown. This value is unused.", +"The rotation type is random. It is the default value.", +"The rotation type is optimized.", +"The rotation type is weighted." +], +"type": "string" +}, +"ruleType": { +"description": "Optional. The type of the rule, the default value is OPEN.", +"enum": [ +"RULE_SET_TYPE_UNKNOWN", +"OPEN", +"AUTO", +"CUSTOM", +"PROXIMITY_TARGETING" +], +"enumDescriptions": [ +"The rule type is unknown. This value is unused.", +"The rule type is open, all feed rows are eligible for selection. This is the default value.", +"The rule type is auto, the feed rows are eligible for selection based on the automatic rules.", +"The rule type is custom, the feed rows are eligible for selection based on the custom rules.", +"The rule type is proximity targeting, the feed rows are eligible for selection based on the proximity targeting rules." +], +"type": "string" +}, +"weightFieldId": { +"description": "Optional. The field ID for the feed that will be used for weighted rotation, only applicable when rotation type is WEIGHTED.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"DynamicTargetingKey": { +"description": "Contains properties of a dynamic targeting key. Dynamic targeting keys are unique, user-friendly labels, created at the advertiser level in DCM, that can be assigned to ads, creatives, and placements and used for targeting with Studio dynamic creatives. Use these labels instead of numeric Campaign Manager IDs (such as placement IDs) to save time and avoid errors in your dynamic feeds.", +"id": "DynamicTargetingKey", +"properties": { +"kind": { +"description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#dynamicTargetingKey\".", +"type": "string" +}, +"name": { +"description": "Name of this dynamic targeting key. This is a required field. Must be less than 256 characters long and cannot contain commas. All characters are converted to lowercase.", +"type": "string" +}, +"objectId": { +"description": "ID of the object of this dynamic targeting key. This is a required field.", +"format": "int64", +"type": "string" +}, +"objectType": { +"description": "Type of the object of this dynamic targeting key. This is a required field.", +"enum": [ +"OBJECT_ADVERTISER", +"OBJECT_AD", +"OBJECT_CREATIVE", +"OBJECT_PLACEMENT" +], +"enumDescriptions": [ +"", +"", +"", +"" +], +"type": "string" +} +}, +"type": "object" +}, +"DynamicTargetingKeysListResponse": { +"description": "Dynamic Targeting Key List Response", +"id": "DynamicTargetingKeysListResponse", +"properties": { +"dynamicTargetingKeys": { +"description": "Dynamic targeting key collection.", +"items": { +"$ref": "DynamicTargetingKey" +}, +"type": "array" +}, +"kind": { +"description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#dynamicTargetingKeysListResponse\".", +"type": "string" +} +}, +"type": "object" +}, +"Element": { +"description": "Contains the element of the dynamic feed.", +"id": "Element", +"properties": { +"activeFieldId": { +"description": "Optional. The field ID to specify the active field in the feed.", +"format": "int32", +"type": "integer" +}, +"createInfo": { +"$ref": "LastModifiedInfo", +"description": "Output only. The creation timestamp of the element. This is a read-only field.", +"readOnly": true +}, +"defaultFieldId": { +"description": "Optional. The field ID to specify the field that represents the default field in the feed.", +"format": "int32", +"type": "integer" +}, +"elementName": { +"description": "Optional. The name of the element. It is defaulted to resource file name if not provided.", +"type": "string" +}, +"endTimestampFieldId": { +"description": "Optional. The field ID to specify the field that represents the end timestamp. Only applicable if you're planning to use scheduling in your dynamic creative.", +"format": "int32", +"type": "integer" +}, +"externalIdFieldId": { +"description": "Required. The field ID to specify the field used for uniquely identifying the feed row. This is a required field.", +"format": "int32", +"type": "integer" +}, +"feedFields": { +"description": "Required. The list of fields of the element. The field order and name should match the meta data in the content source source.", +"items": { +"$ref": "FeedField" +}, +"type": "array" +}, +"isLocalTimestamp": { +"description": "Optional. Whether the start and end timestamp is local timestamp. The default value is false which means start and end timestamp is in UTC.", +"type": "boolean" +}, +"lastModifiedInfo": { +"$ref": "LastModifiedInfo", +"description": "Output only. The last modified timestamp of the element. This is a read-only field.", +"readOnly": true +}, +"proximityTargetingFieldId": { +"description": "Optional. The field ID that specify field used for proximity targeting.", +"format": "int32", +"type": "integer" +}, +"reportingLabelFieldId": { +"description": "Required. The field ID to specify the field used for dynamic reporting in Campaign Manager 360.", +"format": "int32", +"type": "integer" +}, +"startTimestampFieldId": { +"description": "Optional. The field ID to specify the field that represents the start timestamp. Only applicable if you're planning to use scheduling in your dynamic creative.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"EncryptionInfo": { +"description": "A description of how user IDs are encrypted.", +"id": "EncryptionInfo", +"properties": { +"encryptionEntityId": { +"description": "The encryption entity ID. This should match the encryption configuration for ad serving or Data Transfer.", +"format": "int64", +"type": "string" +}, +"encryptionEntityType": { +"description": "The encryption entity type. This should match the encryption configuration for ad serving or Data Transfer.", +"enum": [ +"ENCRYPTION_ENTITY_TYPE_UNKNOWN", +"DCM_ACCOUNT", +"DCM_ADVERTISER", +"DBM_PARTNER", +"DBM_ADVERTISER", +"ADWORDS_CUSTOMER", +"DFP_NETWORK_CODE" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"", +"" +], +"type": "string" +}, +"encryptionSource": { +"description": "Describes whether the encrypted cookie was received from ad serving (the %m macro) or from Data Transfer.", +"enum": [ +"ENCRYPTION_SCOPE_UNKNOWN", +"AD_SERVING", +"DATA_TRANSFER" +], +"enumDescriptions": [ +"", +"", +"" +], +"type": "string" +}, +"kind": { +"description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#encryptionInfo\".", +"type": "string" +} +}, +"type": "object" +}, +"EventTag": { +"description": "Contains properties of an event tag.", +"id": "EventTag", +"properties": { +"accountId": { +"description": "Account ID of this event tag. This is a read-only field that can be left blank.", +"format": "int64", +"type": "string" +}, +"advertiserId": { +"description": "Advertiser ID of this event tag. This field or the campaignId field is required on insertion.", +"format": "int64", +"type": "string" +}, +"advertiserIdDimensionValue": { +"$ref": "DimensionValue", +"description": "Dimension value for the ID of the advertiser. This is a read-only, auto-generated field." +}, +"campaignId": { +"description": "Campaign ID of this event tag. This field or the advertiserId field is required on insertion.", +"format": "int64", +"type": "string" +}, +"campaignIdDimensionValue": { +"$ref": "DimensionValue", +"description": "Dimension value for the ID of the campaign. This is a read-only, auto-generated field." +}, +"enabledByDefault": { +"description": "Whether this event tag should be automatically enabled for all of the advertiser's campaigns and ads.", +"type": "boolean" +}, +"excludeFromAdxRequests": { +"description": "Whether to remove this event tag from ads that are trafficked through Display & Video 360 to Ad Exchange. This may be useful if the event tag uses a pixel that is unapproved for Ad Exchange bids on one or more networks, such as the Google Display Network.", +"type": "boolean" +}, +"id": { +"description": "ID of this event tag. This is a read-only, auto-generated field.", +"format": "int64", +"type": "string" +}, +"kind": { +"description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#eventTag\".", +"type": "string" +}, +"name": { +"description": "Name of this event tag. This is a required field and must be less than 256 characters long.", +"type": "string" +}, +"siteFilterType": { +"description": "Site filter type for this event tag. If no type is specified then the event tag will be applied to all sites.", +"enum": [ +"ALLOWLIST", +"BLOCKLIST" +], +"enumDescriptions": [ +"The event tag should only ever fire on specified sites.", +"The event tag should fire on all sites EXCEPT the specified sites." +], +"type": "string" +}, +"siteIds": { +"description": "Filter list of site IDs associated with this event tag. The siteFilterType determines whether this is a allowlist or blocklist filter.", +"items": { +"format": "int64", +"type": "string" +}, +"type": "array" +}, +"sslCompliant": { +"description": "Whether this tag is SSL-compliant or not. This is a read-only field.", +"type": "boolean" +}, +"status": { +"description": "Status of this event tag. Must be ENABLED for this event tag to fire. This is a required field.", +"enum": [ +"ENABLED", +"DISABLED" +], +"enumDescriptions": [ +"", +"" +], +"type": "string" +}, +"subaccountId": { +"description": "Subaccount ID of this event tag. This is a read-only field that can be left blank.", +"format": "int64", +"type": "string" +}, +"type": { +"description": "Event tag type. Can be used to specify whether to use a third-party pixel, a third-party JavaScript URL, or a third-party click-through URL for either impression or click tracking. This is a required field.", +"enum": [ +"IMPRESSION_IMAGE_EVENT_TAG", +"IMPRESSION_JAVASCRIPT_EVENT_TAG", +"CLICK_THROUGH_EVENT_TAG" +], +"enumDescriptions": [ +"A third-party pixel for impression tracking.", +"A third-party JavaScript URL for impression tracking.", +"A third-party URL for click tracking that redirects to the landing page." +], +"type": "string" +}, +"url": { +"description": "Payload URL for this event tag. The URL on a click-through event tag should have a landing page URL appended to the end of it. This field is required on insertion.", +"type": "string" +}, +"urlEscapeLevels": { +"description": "Number of times the landing page URL should be URL-escaped before being appended to the click-through event tag URL. Only applies to click-through event tags as specified by the event tag type.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"EventTagOverride": { +"description": "Event tag override information.", +"id": "EventTagOverride", +"properties": { +"enabled": { +"description": "Whether this override is enabled.", +"type": "boolean" +}, +"id": { +"description": "ID of this event tag override. This is a read-only, auto-generated field.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"EventTagsListResponse": { +"description": "Event Tag List Response", +"id": "EventTagsListResponse", +"properties": { +"eventTags": { +"description": "Event tag collection.", +"items": { +"$ref": "EventTag" +}, +"type": "array" +}, +"kind": { +"description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#eventTagsListResponse\".", +"type": "string" +} +}, +"type": "object" +}, +"FeedField": { +"description": "Each field of the element. This is a required field.", +"id": "FeedField", +"properties": { +"defaultValue": { +"description": "Optional. The default value of the field.", +"type": "string" +}, +"filterable": { +"description": "Optional. Whether the field is filterable. Could be set as true when the field type is any of the following and is not renderable: - STRING - BOOL - COUNTRY_CODE_ISO - CM360_SITE_ID - CM360_KEYWORD - CM360_CREATIVE_ID - CM360_PLACEMENT_ID - CM360_AD_ID - CM360_ADVERTISER_ID - CM360_CAMPAIGN_ID - CITY - REGION - POSTAL_CODE - METRO - CUSTOM_VALUE - REMARKETING_VALUE - GEO_CANONICAL - STRING_LIST - CREATIVE_DIMENSION - USERLIST_ID - CM360_DYNAMIC_TARGETING_KEY - DV360_LINE_ITEM_ID ", +"type": "boolean" +}, +"id": { +"description": "Required. The ID of the field. The ID is based on the column index starting from 0, and it should match the column index in the resource link.", +"format": "int32", +"type": "integer" +}, +"name": { +"description": "Required. The name of the field.", +"type": "string" +}, +"renderable": { +"description": "Optional. Whether the field is able to display. Could be set as true when the field type is not in any of the following and the field is not filterable: - COUNTRY_CODE_ISO - CITY - REGION - POSTAL_CODE - METRO - GEO_CANONICAL - USERLIST_ID - CONTEXTUAL_KEYWORD - CM360_DYNAMIC_TARGETING_KEY - WEIGHT ", +"type": "boolean" +}, +"required": { +"description": "Optional. Whether the field is required and should not be empty in the feed. Could be set as true when the field type is any of the following: - GPA_SERVED_IMAGE_URL - GPA_SERVED_ASSET_URL - ASSET_LIBRARY_HANDLE - ASSET_LIBRARY_VIDEO_HANDLE - ASSET_LIBRARY_DIRECTORY_HANDLE ", +"type": "boolean" +}, +"type": { +"description": "Required. The type of the field.", +"enum": [ +"TYPE_UNKNOWN", +"STRING", +"LONG", +"GPA_SERVED_IMAGE_URL", +"GPA_SERVED_ASSET_URL", +"COUNTRY_CODE_ISO", +"FLOAT", +"CM360_KEYWORD", +"CM360_SITE_ID", +"BOOL", +"EXIT_URL", +"DATETIME", +"CM360_CREATIVE_ID", +"CM360_PLACEMENT_ID", +"CM360_AD_ID", +"CM360_ADVERTISER_ID", +"CM360_CAMPAIGN_ID", +"CITY", +"REGION", +"POSTAL_CODE", +"METRO", +"CUSTOM_VALUE", +"REMARKETING_VALUE", +"GEO_CANONICAL", +"WEIGHT", +"STRING_LIST", +"CREATIVE_DIMENSION", +"USERLIST_ID", +"ASSET_LIBRARY_DIRECTORY_HANDLE", +"ASSET_LIBRARY_VIDEO_HANDLE", +"ASSET_LIBRARY_HANDLE", +"THIRD_PARTY_SERVED_URL", +"CM360_DYNAMIC_TARGETING_KEY", +"DV360_LINE_ITEM_ID" +], +"enumDescriptions": [ +"The type is unspecified. This is an unused value.", +"The field type is text.", +"The field type is whole number.", +"The field type is image url", +"The field type is asset url.", +"The field type is the ISO 3166-2 alpha-2 codes. It is two-letter country codes defined in ISO 3166-1 published by the International Organization for Standardization.", +"The field type is decimal.", +"The field type is custom CM360 ad tag parameter.", +"The field type is CM360 site ID.", +"The field type is boolean.", +"The field type is exit url.", +"The field type is datetime.", +"The field type is CM360 creative ID.", +"The field type is CM360 placement ID.", +"The field type is CM360 ad ID.", +"The field type is CM360 advertiser ID.", +"The field type is CM360 campaign ID.", +"The field type is cities.", +"The field type is region.", +"The field type is postal code.", +"The field type is metro code.", +"The field type is custom value.", +"The field type is remarketing value.", +"The field type is accurate geographic type.", +"The field type is weight.", +"The field type is a list of values.", +"The field type is creative dimension.", +"The field type is CM/DV360 Audience ID.", +"The field type is AssetLibrary directory path.", +"The field type is AssetLibrary video file path.", +"The field type is AssetLibrary path.", +"The field type is third party served url.", +"The field type is CM dynamic targeting key.", +"The field type is DV360 line item ID." +], +"type": "string" +} +}, +"type": "object" +}, +"FeedIngestionStatus": { +"description": "Contains the ingestion status of the dynamic feed. Feed ingestion is an asynchronous process. If the feed create request is successful, feed ingestion will be processed in the background, including validation, assets retrieval, and saving the data from the resource link. The processing time is dependent on the data size in the resource link. This read-only status field contains the current stage of that processing and its ingestion state.", +"id": "FeedIngestionStatus", +"properties": { +"ingestionErrorRecords": { +"description": "Output only. The ingestion error records of the feed.", +"items": { +"$ref": "IngestionErrorRecord" +}, +"readOnly": true, +"type": "array" +}, +"ingestionStatus": { +"$ref": "IngestionStatus", +"description": "Output only. The ingestion status of the feed.", +"readOnly": true +}, +"state": { +"description": "Output only. The processing state of the feed.", +"enum": [ +"FEED_PROCESSING_STATE_UNKNOWN", +"CANCELLED", +"INGESTING_QUEUED", +"INGESTING", +"INGESTED_SUCCESS", +"INGESTED_FAILURE", +"REQUEST_TO_PUBLISH", +"PUBLISHING", +"PUBLISHED_SUCCESS", +"PUBLISHED_FAILURE" +], +"enumDescriptions": [ +"The feed processing state is unknown.", +"The feed processing state is cancelled.", +"The feed processing state is ingesting queued.", +"The feed processing state is ingesting.", +"The feed processing state is ingested successfully.", +"The feed processing state is ingested with failure.", +"The feed processing state is request to publish.", +"The feed processing state is publishing.", +"The feed processing state is published successfully.", +"The feed processing state is published with failure." +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"FeedSchedule": { +"description": "Contains the schedule of the dynamic feed.", +"id": "FeedSchedule", +"properties": { +"repeatValue": { +"description": "Optional. The number of times the feed retransforms within one day. This is a required field if the schedule is enabled. Acceptable values are between 1 to 6, inclusive.", +"format": "int64", +"type": "string" +}, +"scheduleEnabled": { +"description": "Optional. Whether the schedule is enabled.", +"type": "boolean" +}, +"startHour": { +"description": "Optional. The hour of the day to start the feed. It is applicable if the repeat value is equal to 1. Default value is 0.", +"type": "string" +}, +"startMinute": { +"description": "Optional. The minute of the hour to start the feed. It is applicable if the repeat value is equal to 1. Default value is 0.", +"type": "string" +}, +"timeZone": { +"description": "Optional. The time zone to schedule the feed. It is applicable if the repeat value is equal to 1. Default value is \"America/Los_Angeles\".", +"type": "string" +} +}, +"type": "object" +}, +"FieldError": { +"description": "Contains the field error of the dynamic feed.", +"id": "FieldError", +"properties": { +"fieldId": { +"description": "Output only. The ID of the field.", +"format": "int32", +"readOnly": true, +"type": "integer" +}, +"fieldName": { +"description": "Output only. The name of the field.", +"readOnly": true, +"type": "string" +}, +"fieldValues": { +"description": "Output only. The list of values of the field.", +"items": { +"type": "string" +}, +"readOnly": true, +"type": "array" +}, +"ingestionError": { +"description": "Output only. The ingestion error of the field.", +"enum": [ +"UNKNOWN_PARSING_ERROR", +"MISSING_ID", +"MISSING_REPORTING_LABEL", +"EMPTY_VALUE", +"ASSET_DOWNLOAD_ERROR", +"ID_TOO_LONG", +"DUPLICATE_ID", +"PARSING_ERROR", +"COUNTRY_PARSING_ERROR", +"LONG_PARSING_ERROR", +"BOOL_PARSING_ERROR", +"EXPANDED_URL_PARSING_ERROR", +"FLOAT_PARSING_ERROR", +"DATETIME_PARSING_ERROR", +"INVALID_PREFERENCE_VALUE", +"GEO_NOT_FOUND_ERROR", +"GEO_PARSING_ERROR", +"GEO_PROXIMITY_TARGETING_MULTIPLE_LOCATION_ERROR", +"POSTAL_CODE_PARSING_ERROR", +"METRO_CODE_PARSING_ERROR", +"DATETIME_WITHOUT_TIMEZONE_PARSING_ERROR", +"WEIGHT_PARSING_ERROR", +"CREATIVE_DIMENSION_PARSING_ERROR", +"MULTIVALUE_ID", +"ENDTIME_BEFORE_STARTTIME", +"INVALID_ASSET_LIBRARY_HANDLE", +"INVALID_ASSET_LIBRARY_VIDEO_HANDLE", +"INVALID_ASSET_LIBRARY_DIRECTORY_HANDLE", +"DYNAMIC_TARGETING_KEY_NOT_DEFINED_FOR_ADVERTISER", +"USERLIST_ID_NOT_ACCESSIBLE_FOR_ADVERTISER", +"ENDTIME_PASSED", +"ENDTIME_TOO_SOON", +"TEXT_ASSET_REFERENCE", +"IMAGE_ASSET_SCS_REFERENCE", +"AIRPORT_GEO_TARGET", +"CANONICAL_NAME_QUERY_MISMATCH", +"NO_DEFAULT_ROW", +"NO_ACTIVE_DEFAULT_ROW", +"NO_DEFAULT_ROW_IN_DATE_RANGE", +"NO_ACTIVE_DEFAULT_ROW_IN_DATE_RANGE", +"PAYLOAD_LIMIT_EXCEEDED", +"SSL_NOT_COMPLIANT" +], +"enumDescriptions": [ +"The ingestion error is unknown.", +"The ingestion error when the ID value is missing.", +"The ingestion error when the element value name used for reporting is missing.", +"The ingestion error when a required value is empty", +"The ingestion error when asset retrieval fails for a particular image or asset.", +"The ingestion error when the ID value exceeds the string length limit.", +"The ingestion error when the ID value is duplicate.", +"The ingestion error when parsing the field fails.", +"The ingestion error when parsing the country code fails.", +"The ingestion error when parsing the long value fails.", +"The ingestion error when parsing the boolean value fails.", +"The ingestion error when parsing the expanded url fails.", +"The ingestion error when parsing the float value fails.", +"The ingestion error when parsing the datetime value fails.", +"The ingestion error when the preference value is not a positive float.", +"The ingestion error when a geo location is not found.", +"The ingestion error when parsing the geo field fails.", +"The ingestion error when a feed row has multiple geotargets with proximity targeting enabled.", +"The ingestion error when parsing the postal code value fails.", +"The ingestion error when parsing the metro code value fails.", +"The ingestion error when parsing the datetime value fails.", +"The ingestion error when parsing the weight value fails.", +"The ingestion error when parsing the creative dimension value fails.", +"The ingestion error when a STRING_LIST type ID has multiple values.", +"The ingestion error when the end time is before the start time.", +"The ingestion error when the asset library handle is invalid.", +"The ingestion error when the asset library video handle is invalid.", +"The ingestion error when the asset library directory handle is invalid.", +"The ingestion error when a targeting key used but not defined for the CM360 Advertiser.", +"The ingestion error when the userlist ID is not accessible for the CM360 Advertiser.", +"The ingestion error when the end time is passed.", +"The ingestion error when the end time is in the near future (i.e., <7 days).", +"The ingestion error when a text field specifies a reference to an asset.", +"The ingestion error when Image field specifies a reference to an asset hosted on SCS (s0.2mdn.net/s0qa.2mdn.net).", +"The ingestion error when a geo target is an airport.", +"The ingestion error when the geo target's canonical name does not match the query string used to obtain it.", +"The ingestion error or warning when the default row is not set.", +"The ingestion error or warning when the default row is not active.", +"The ingestion error or warning when the default row is not in the date range.", +"The ingestion error or warning when the default row is not in the date range.", +"The ingestion error when when the payload of the record is above a threshold.", +"The ingestion error or warning when the field is not SSL compliant." +], +"readOnly": true, +"type": "string" +}, +"isError": { +"description": "Output only. Incidcates whether the field has error or warning.", +"readOnly": true, +"type": "boolean" +} +}, +"type": "object" +}, +"FieldFilter": { +"description": "Contains field filter information.", +"id": "FieldFilter", +"properties": { +"boolValue": { +"description": "Optional. The boolean values, only applicable when rhs_value_type is BOOL.", +"type": "boolean" +}, +"dependentFieldValue": { +"$ref": "DependentFieldValue", +"description": "Optional. The dependent values, only applicable when rhs_value_type is DEPENDENT." +}, +"fieldId": { +"description": "Optional. The field ID on the left hand side of the expression.", +"format": "int32", +"type": "integer" +}, +"matchType": { +"description": "Optional. Left hand side of the expression match type.", +"enum": [ +"LHS_MATCH_TYPE_UNKNOWN", +"EQUALS_OR_UNRESTRICTED", +"EQUALS", +"UNRESTRICTED", +"NOT_EQUALS" +], +"enumDescriptions": [ +"The left hand side of the expression is unknown. This value is unused.", +"The left hand side of the expression is equals or unrestricted. It is the default value.", +"The left hand side of the expression is equals.", +"The left hand side of the expression is unrestricted. Unrestricted is used to target fields with no restrictions. For example, country targeting fields hold a list of countries. If the list is empty, we consider the element value to have no restrictions.", +"Left hand side of the expression is not equals. Not equals specifies which fields should not be targeted." +], +"type": "string" +}, +"requestValue": { +"$ref": "RequestValue", +"description": "Optional. The request value, only applicable when rhs_value_type is REQUEST." +}, +"stringValue": { +"description": "Optional. The string value, only applicable when rhs_value_type is STRING.", +"type": "string" +}, +"valueType": { +"description": "Optional. Right hand side of the expression.", +"enum": [ +"RHS_VALUE_TYPE_UNKNOWN", +"STRING", +"REQUEST", +"BOOL", +"DEPENDENT" +], +"enumDescriptions": [ +"The right hand side of the expression is unknown. This value is unused.", +"The right hand side of the expression is a string.", +"The right hand side of the expression is a request value.", +"The right hand side of the expression is a boolean.", +"The right hand side of the expression is a dependent field value." +], +"type": "string" +} +}, +"type": "object" +}, +"File": { +"description": "Represents a File resource. A file contains the metadata for a report run. It shows the status of the run and holds the URLs to the generated report data if the run is finished and the status is \"REPORT_AVAILABLE\".", +"id": "File", +"properties": { +"dateRange": { +"$ref": "DateRange", +"description": "The date range for which the file has report data. The date range will always be the absolute date range for which the report is run." +}, +"etag": { +"description": "Etag of this resource.", +"type": "string" +}, +"fileName": { +"description": "The filename of the file.", +"type": "string" +}, +"format": { +"description": "The output format of the report. Only available once the file is available.", +"enum": [ +"CSV", +"EXCEL" +], +"enumDescriptions": [ +"", +"" +], +"type": "string" +}, +"id": { +"description": "The unique ID of this report file.", +"format": "int64", +"type": "string" +}, +"kind": { +"description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#file\".", +"type": "string" +}, +"lastModifiedTime": { +"description": "The timestamp in milliseconds since epoch when this file was last modified.", +"format": "int64", +"type": "string" +}, +"reportId": { +"description": "The ID of the report this file was generated from.", +"format": "int64", +"type": "string" +}, +"status": { +"description": "The status of the report file.", +"enum": [ +"PROCESSING", +"REPORT_AVAILABLE", +"FAILED", +"CANCELLED", +"QUEUED" +], +"enumDescriptions": [ +"", +"", +"", +"", +"" +], +"type": "string" +}, +"urls": { +"description": "The URLs where the completed report file can be downloaded.", +"properties": { +"apiUrl": { +"description": "The URL for downloading the report data through the API.", +"type": "string" +}, +"browserUrl": { +"description": "The URL for downloading the report data through a browser.", +"type": "string" +} +}, +"type": "object" +} +}, +"type": "object" +}, +"FileList": { +"description": "List of files for a report.", +"id": "FileList", +"properties": { +"etag": { +"description": "Etag of this resource.", +"type": "string" +}, +"items": { +"description": "The files returned in this response.", +"items": { +"$ref": "File" +}, +"type": "array" +}, +"kind": { +"description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#fileList\".", +"type": "string" +}, +"nextPageToken": { +"description": "Continuation token used to page through files. To retrieve the next page of results, set the next request's \"pageToken\" to the value of this field. The page token is only valid for a limited amount of time and should not be persisted.", +"type": "string" +} +}, +"type": "object" +}, +"Flight": { +"description": "Flight", +"id": "Flight", +"properties": { +"endDate": { +"format": "date", +"type": "string" +}, +"rateOrCost": { +"description": "Rate or cost of this flight.", +"format": "int64", +"type": "string" +}, +"startDate": { +"format": "date", +"type": "string" +}, +"units": { +"description": "Units of this flight.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"FloodlightActivitiesGenerateTagResponse": { +"description": "Floodlight Activity GenerateTag Response", +"id": "FloodlightActivitiesGenerateTagResponse", +"properties": { +"floodlightActivityTag": { +"description": "Generated tag for this Floodlight activity. For Google tags, this is the event snippet.", +"type": "string" +}, +"globalSiteTagGlobalSnippet": { +"description": "The global snippet section of a Google tag. The Google tag sets new cookies on your domain, which will store a unique identifier for a user or the ad click that brought the user to your site. Learn more.", +"type": "string" +}, +"kind": { +"description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#floodlightActivitiesGenerateTagResponse\".", +"type": "string" +} +}, +"type": "object" +}, +"FloodlightActivitiesListResponse": { +"description": "Floodlight Activity List Response", +"id": "FloodlightActivitiesListResponse", +"properties": { +"floodlightActivities": { +"description": "Floodlight activity collection.", +"items": { +"$ref": "FloodlightActivity" +}, +"type": "array" +}, +"kind": { +"description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#floodlightActivitiesListResponse\".", +"type": "string" +}, +"nextPageToken": { +"description": "Pagination token to be used for the next list operation.", +"type": "string" +} +}, +"type": "object" +}, +"FloodlightActivity": { +"description": "Contains properties of a Floodlight activity.", +"id": "FloodlightActivity", +"properties": { +"accountId": { +"description": "Account ID of this floodlight activity. This is a read-only field that can be left blank.", +"format": "int64", +"type": "string" +}, +"advertiserId": { +"description": "Advertiser ID of this floodlight activity. If this field is left blank, the value will be copied over either from the activity group's advertiser or the existing activity's advertiser.", +"format": "int64", +"type": "string" +}, +"advertiserIdDimensionValue": { +"$ref": "DimensionValue", +"description": "Dimension value for the ID of the advertiser. This is a read-only, auto-generated field." +}, +"attributionEnabled": { +"description": "Whether the activity is enabled for attribution.", +"type": "boolean" +}, +"cacheBustingType": { +"description": "Code type used for cache busting in the generated tag. Applicable only when floodlightActivityGroupType is COUNTER and countingMethod is STANDARD_COUNTING or UNIQUE_COUNTING.", +"enum": [ +"JAVASCRIPT", +"ACTIVE_SERVER_PAGE", +"JSP", +"PHP", +"COLD_FUSION" +], +"enumDescriptions": [ +"", +"", +"", +"", +"" +], +"type": "string" +}, +"countingMethod": { +"description": "Counting method for conversions for this floodlight activity. This is a required field.", +"enum": [ +"STANDARD_COUNTING", +"UNIQUE_COUNTING", +"SESSION_COUNTING", +"TRANSACTIONS_COUNTING", +"ITEMS_SOLD_COUNTING" +], +"enumDescriptions": [ +"Count every conversion.", +"Count the first conversion for each unique user during each 24-hour day, from midnight to midnight, Eastern Time.", +"Count one conversion per user per session. Session length is set by the site where the Spotlight tag is deployed.", +"Count all conversions, plus the total number of sales that take place and the total revenue for these transactions.", +"Count each conversion, plus the total number of items sold and the total revenue for these sales." +], +"type": "string" +}, +"defaultTags": { +"description": "Dynamic floodlight tags.", +"items": { +"$ref": "FloodlightActivityDynamicTag" +}, +"type": "array" +}, +"expectedUrl": { +"description": "URL where this tag will be deployed. If specified, must be less than 256 characters long.", +"type": "string" +}, +"floodlightActivityGroupId": { +"description": "Floodlight activity group ID of this floodlight activity. This is a required field.", +"format": "int64", +"type": "string" +}, +"floodlightActivityGroupName": { +"description": "Name of the associated floodlight activity group. This is a read-only field.", +"type": "string" +}, +"floodlightActivityGroupTagString": { +"description": "Tag string of the associated floodlight activity group. This is a read-only field.", +"type": "string" +}, +"floodlightActivityGroupType": { +"description": "Type of the associated floodlight activity group. This is a read-only field.", +"enum": [ +"COUNTER", +"SALE" +], +"enumDescriptions": [ +"", +"" +], +"type": "string" +}, +"floodlightConfigurationId": { +"description": "Floodlight configuration ID of this floodlight activity. If this field is left blank, the value will be copied over either from the activity group's floodlight configuration or from the existing activity's floodlight configuration.", +"format": "int64", +"type": "string" +}, +"floodlightConfigurationIdDimensionValue": { +"$ref": "DimensionValue", +"description": "Dimension value for the ID of the floodlight configuration. This is a read-only, auto-generated field." +}, +"floodlightTagType": { +"description": "The type of Floodlight tag this activity will generate. This is a required field.", +"enum": [ +"IFRAME", +"IMAGE", +"GLOBAL_SITE_TAG" +], +"enumDescriptions": [ +"", +"", +"" +], +"type": "string" +}, +"id": { +"description": "ID of this floodlight activity. This is a read-only, auto-generated field.", +"format": "int64", +"type": "string" +}, +"idDimensionValue": { +"$ref": "DimensionValue", +"description": "Dimension value for the ID of this floodlight activity. This is a read-only, auto-generated field." +}, +"kind": { +"description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#floodlightActivity\".", +"type": "string" +}, +"name": { +"description": "Name of this floodlight activity. This is a required field. Must be less than 129 characters long and cannot contain quotes.", +"type": "string" +}, +"notes": { +"description": "General notes or implementation instructions for the tag.", +"type": "string" +}, +"publisherTags": { +"description": "Publisher dynamic floodlight tags.", +"items": { +"$ref": "FloodlightActivityPublisherDynamicTag" +}, +"type": "array" +}, +"secure": { +"description": "Whether this tag should use SSL.", +"type": "boolean" +}, +"sslCompliant": { +"description": "Whether the floodlight activity is SSL-compliant. This is a read-only field, its value detected by the system from the floodlight tags.", +"type": "boolean" +}, +"sslRequired": { +"description": "Whether this floodlight activity must be SSL-compliant.", +"type": "boolean" +}, +"status": { +"description": "The status of the activity. This can only be set to ACTIVE or ARCHIVED_AND_DISABLED. The ARCHIVED status is no longer supported and cannot be set for Floodlight activities. The DISABLED_POLICY status indicates that a Floodlight activity is violating Google policy. Contact your account manager for more information.", +"enum": [ +"ACTIVE", +"ARCHIVED_AND_DISABLED", +"ARCHIVED", +"DISABLED_POLICY" +], +"enumDescriptions": [ +"", +"", +"", +"" +], +"type": "string" +}, +"subaccountId": { +"description": "Subaccount ID of this floodlight activity. This is a read-only field that can be left blank.", +"format": "int64", +"type": "string" +}, +"tagFormat": { +"description": "Tag format type for the floodlight activity. If left blank, the tag format will default to HTML.", +"enum": [ +"HTML", +"XHTML" +], +"enumDescriptions": [ +"", +"" +], +"type": "string" +}, +"tagString": { +"description": "Value of the cat= parameter in the floodlight tag, which the ad servers use to identify the activity. This is optional: if empty, a new tag string will be generated for you. This string must be 1 to 8 characters long, with valid characters being a-z0-9[ _ ]. This tag string must also be unique among activities of the same activity group. This field is read-only after insertion.", +"type": "string" +}, +"userDefinedVariableTypes": { +"description": "List of the user-defined variables used by this conversion tag. These map to the \"u[1-100]=\" in the tags. Each of these can have a user defined type. Acceptable values are U1 to U100, inclusive. ", +"items": { +"enum": [ +"U1", +"U2", +"U3", +"U4", +"U5", +"U6", +"U7", +"U8", +"U9", +"U10", +"U11", +"U12", +"U13", +"U14", +"U15", +"U16", +"U17", +"U18", +"U19", +"U20", +"U21", +"U22", +"U23", +"U24", +"U25", +"U26", +"U27", +"U28", +"U29", +"U30", +"U31", +"U32", +"U33", +"U34", +"U35", +"U36", +"U37", +"U38", +"U39", +"U40", +"U41", +"U42", +"U43", +"U44", +"U45", +"U46", +"U47", +"U48", +"U49", +"U50", +"U51", +"U52", +"U53", +"U54", +"U55", +"U56", +"U57", +"U58", +"U59", +"U60", +"U61", +"U62", +"U63", +"U64", +"U65", +"U66", +"U67", +"U68", +"U69", +"U70", +"U71", +"U72", +"U73", +"U74", +"U75", +"U76", +"U77", +"U78", +"U79", +"U80", +"U81", +"U82", +"U83", +"U84", +"U85", +"U86", +"U87", +"U88", +"U89", +"U90", +"U91", +"U92", +"U93", +"U94", +"U95", +"U96", +"U97", +"U98", +"U99", +"U100" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"" +], +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"FloodlightActivityDynamicTag": { +"description": "Dynamic Tag", +"id": "FloodlightActivityDynamicTag", +"properties": { +"id": { +"description": "ID of this dynamic tag. This is a read-only, auto-generated field.", +"format": "int64", +"type": "string" +}, +"name": { +"description": "Name of this tag.", +"type": "string" +}, +"tag": { +"description": "Tag code.", +"type": "string" +} +}, +"type": "object" +}, +"FloodlightActivityGroup": { +"description": "Contains properties of a Floodlight activity group.", +"id": "FloodlightActivityGroup", +"properties": { +"accountId": { +"description": "Account ID of this floodlight activity group. This is a read-only field that can be left blank.", +"format": "int64", +"type": "string" +}, +"advertiserId": { +"description": "Advertiser ID of this floodlight activity group. If this field is left blank, the value will be copied over either from the floodlight configuration's advertiser or from the existing activity group's advertiser.", +"format": "int64", +"type": "string" +}, +"advertiserIdDimensionValue": { +"$ref": "DimensionValue", +"description": "Dimension value for the ID of the advertiser. This is a read-only, auto-generated field." +}, +"floodlightConfigurationId": { +"description": "Floodlight configuration ID of this floodlight activity group. This is a required field.", +"format": "int64", +"type": "string" +}, +"floodlightConfigurationIdDimensionValue": { +"$ref": "DimensionValue", +"description": "Dimension value for the ID of the floodlight configuration. This is a read-only, auto-generated field." +}, +"id": { +"description": "ID of this floodlight activity group. This is a read-only, auto-generated field.", +"format": "int64", +"type": "string" +}, +"idDimensionValue": { +"$ref": "DimensionValue", +"description": "Dimension value for the ID of this floodlight activity group. This is a read-only, auto-generated field." +}, +"kind": { +"description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#floodlightActivityGroup\".", +"type": "string" +}, +"name": { +"description": "Name of this floodlight activity group. This is a required field. Must be less than 65 characters long and cannot contain quotes.", +"type": "string" +}, +"subaccountId": { +"description": "Subaccount ID of this floodlight activity group. This is a read-only field that can be left blank.", +"format": "int64", +"type": "string" +}, +"tagString": { +"description": "Value of the type= parameter in the floodlight tag, which the ad servers use to identify the activity group that the activity belongs to. This is optional: if empty, a new tag string will be generated for you. This string must be 1 to 8 characters long, with valid characters being a-z0-9[ _ ]. This tag string must also be unique among activity groups of the same floodlight configuration. This field is read-only after insertion.", +"type": "string" +}, +"type": { +"description": "Type of the floodlight activity group. This is a required field that is read-only after insertion.", +"enum": [ +"COUNTER", +"SALE" +], +"enumDescriptions": [ +"", +"" +], +"type": "string" +} +}, +"type": "object" +}, +"FloodlightActivityGroupsListResponse": { +"description": "Floodlight Activity Group List Response", +"id": "FloodlightActivityGroupsListResponse", +"properties": { +"floodlightActivityGroups": { +"description": "Floodlight activity group collection.", +"items": { +"$ref": "FloodlightActivityGroup" +}, +"type": "array" +}, +"kind": { +"description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#floodlightActivityGroupsListResponse\".", +"type": "string" +}, +"nextPageToken": { +"description": "Pagination token to be used for the next list operation.", +"type": "string" +} +}, +"type": "object" +}, +"FloodlightActivityPublisherDynamicTag": { +"description": "Publisher Dynamic Tag", +"id": "FloodlightActivityPublisherDynamicTag", +"properties": { +"clickThrough": { +"description": "Whether this tag is applicable only for click-throughs.", +"type": "boolean" +}, +"directorySiteId": { +"description": "Directory site ID of this dynamic tag. This is a write-only field that can be used as an alternative to the siteId field. When this resource is retrieved, only the siteId field will be populated.", +"format": "int64", +"type": "string" +}, +"dynamicTag": { +"$ref": "FloodlightActivityDynamicTag", +"description": "Dynamic floodlight tag." +}, +"siteId": { +"description": "Site ID of this dynamic tag.", +"format": "int64", +"type": "string" +}, +"siteIdDimensionValue": { +"$ref": "DimensionValue", +"description": "Dimension value for the ID of the site. This is a read-only, auto-generated field." +}, +"viewThrough": { +"description": "Whether this tag is applicable only for view-throughs.", +"type": "boolean" +} +}, +"type": "object" +}, +"FloodlightConfiguration": { +"description": "Contains properties of a Floodlight configuration.", +"id": "FloodlightConfiguration", +"properties": { +"accountId": { +"description": "Account ID of this floodlight configuration. This is a read-only field that can be left blank.", +"format": "int64", +"type": "string" +}, +"advertiserId": { +"description": "Advertiser ID of the parent advertiser of this floodlight configuration.", +"format": "int64", +"type": "string" +}, +"advertiserIdDimensionValue": { +"$ref": "DimensionValue", +"description": "Dimension value for the ID of the advertiser. This is a read-only, auto-generated field." +}, +"analyticsDataSharingEnabled": { +"description": "Whether advertiser data is shared with Google Analytics.", +"type": "boolean" +}, +"customViewabilityMetric": { +"$ref": "CustomViewabilityMetric", +"description": "Custom Viewability metric for the floodlight configuration." +}, +"exposureToConversionEnabled": { +"description": "Whether the exposure-to-conversion report is enabled. This report shows detailed pathway information on up to 10 of the most recent ad exposures seen by a user before converting.", +"type": "boolean" +}, +"firstDayOfWeek": { +"enum": [ +"SUNDAY", +"MONDAY" +], +"enumDescriptions": [ +"", +"" +], +"type": "string" +}, +"id": { +"description": "ID of this floodlight configuration. This is a read-only, auto-generated field.", +"format": "int64", +"type": "string" +}, +"idDimensionValue": { +"$ref": "DimensionValue", +"description": "Dimension value for the ID of this floodlight configuration. This is a read-only, auto-generated field." +}, +"inAppAttributionTrackingEnabled": { +"description": "Whether in-app attribution tracking is enabled.", +"type": "boolean" +}, +"kind": { +"description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#floodlightConfiguration\".", +"type": "string" +}, +"lookbackConfiguration": { +"$ref": "LookbackConfiguration", +"description": "Lookback window settings for this floodlight configuration." +}, +"naturalSearchConversionAttributionOption": { +"description": "Types of attribution options for natural search conversions.", +"enum": [ +"EXCLUDE_NATURAL_SEARCH_CONVERSION_ATTRIBUTION", +"INCLUDE_NATURAL_SEARCH_CONVERSION_ATTRIBUTION", +"INCLUDE_NATURAL_SEARCH_TIERED_CONVERSION_ATTRIBUTION" +], +"enumDescriptions": [ +"", +"", +"" +], +"type": "string" +}, +"omnitureSettings": { +"$ref": "OmnitureSettings", +"description": "Settings for Campaign Manager Omniture integration." +}, +"subaccountId": { +"description": "Subaccount ID of this floodlight configuration. This is a read-only field that can be left blank.", +"format": "int64", +"type": "string" +}, +"tagSettings": { +"$ref": "TagSettings", +"description": "Configuration settings for dynamic and image floodlight tags." +}, +"thirdPartyAuthenticationTokens": { +"description": "List of third-party authentication tokens enabled for this configuration.", +"items": { +"$ref": "ThirdPartyAuthenticationToken" +}, +"type": "array" +}, +"userDefinedVariableConfigurations": { +"description": "List of user defined variables enabled for this configuration.", +"items": { +"$ref": "UserDefinedVariableConfiguration" +}, +"type": "array" +} +}, +"type": "object" +}, +"FloodlightConfigurationsListResponse": { +"description": "Floodlight Configuration List Response", +"id": "FloodlightConfigurationsListResponse", +"properties": { +"floodlightConfigurations": { +"description": "Floodlight configuration collection.", +"items": { +"$ref": "FloodlightConfiguration" +}, +"type": "array" +}, +"kind": { +"description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#floodlightConfigurationsListResponse\".", +"type": "string" +} +}, +"type": "object" +}, +"FloodlightReportCompatibleFields": { +"description": "Represents fields that are compatible to be selected for a report of type \"FlOODLIGHT\".", +"id": "FloodlightReportCompatibleFields", +"properties": { +"dimensionFilters": { +"description": "Dimensions which are compatible to be selected in the \"dimensionFilters\" section of the report.", +"items": { +"$ref": "Dimension" +}, +"type": "array" +}, +"dimensions": { +"description": "Dimensions which are compatible to be selected in the \"dimensions\" section of the report.", +"items": { +"$ref": "Dimension" +}, +"type": "array" +}, +"kind": { +"description": "The kind of resource this is, in this case dfareporting#floodlightReportCompatibleFields.", +"type": "string" +}, +"metrics": { +"description": "Metrics which are compatible to be selected in the \"metricNames\" section of the report.", +"items": { +"$ref": "Metric" +}, +"type": "array" +} +}, +"type": "object" +}, +"FrequencyCap": { +"description": "Frequency Cap.", +"id": "FrequencyCap", +"properties": { +"duration": { +"description": "Duration of time, in seconds, for this frequency cap. The maximum duration is 90 days. Acceptable values are 1 to 7776000, inclusive.", +"format": "int64", +"type": "string" +}, +"impressions": { +"description": "Number of times an individual user can be served the ad within the specified duration. Acceptable values are 1 to 15, inclusive.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"FsCommand": { +"description": "FsCommand.", +"id": "FsCommand", +"properties": { +"left": { +"description": "Distance from the left of the browser.Applicable when positionOption is DISTANCE_FROM_TOP_LEFT_CORNER.", +"format": "int32", +"type": "integer" +}, +"positionOption": { +"description": "Position in the browser where the window will open.", +"enum": [ +"CENTERED", +"DISTANCE_FROM_TOP_LEFT_CORNER" +], +"enumDescriptions": [ +"Center of the window Corresponds to \"center\" in UI", +"user-defined distance from top left-hand corner of the window Corresponds to \"top-left\" in UI" +], +"type": "string" +}, +"top": { +"description": "Distance from the top of the browser. Applicable when positionOption is DISTANCE_FROM_TOP_LEFT_CORNER.", +"format": "int32", +"type": "integer" +}, +"windowHeight": { +"description": "Height of the window.", +"format": "int32", +"type": "integer" +}, +"windowWidth": { +"description": "Width of the window.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"GeoTargeting": { +"description": "Geographical Targeting.", +"id": "GeoTargeting", +"properties": { +"cities": { +"description": "Cities to be targeted. For each city only dartId is required. The other fields are populated automatically when the ad is inserted or updated. If targeting a city, do not target or exclude the country of the city, and do not target the metro or region of the city.", +"items": { +"$ref": "City" +}, +"type": "array" +}, +"countries": { +"description": "Countries to be targeted or excluded from targeting, depending on the setting of the excludeCountries field. For each country only dartId is required. The other fields are populated automatically when the ad is inserted or updated. If targeting or excluding a country, do not target regions, cities, metros, or postal codes in the same country.", +"items": { +"$ref": "Country" +}, +"type": "array" +}, +"excludeCountries": { +"description": "Whether or not to exclude the countries in the countries field from targeting. If false, the countries field refers to countries which will be targeted by the ad.", +"type": "boolean" +}, +"metros": { +"description": "Metros to be targeted. For each metro only dmaId is required. The other fields are populated automatically when the ad is inserted or updated. If targeting a metro, do not target or exclude the country of the metro.", +"items": { +"$ref": "Metro" +}, +"type": "array" +}, +"postalCodes": { +"description": "Postal codes to be targeted. For each postal code only id is required. The other fields are populated automatically when the ad is inserted or updated. If targeting a postal code, do not target or exclude the country of the postal code.", +"items": { +"$ref": "PostalCode" +}, +"type": "array" +}, +"regions": { +"description": "Regions to be targeted. For each region only dartId is required. The other fields are populated automatically when the ad is inserted or updated. If targeting a region, do not target or exclude the country of the region.", +"items": { +"$ref": "Region" +}, +"type": "array" +} +}, +"type": "object" +}, +"IngestionErrorRecord": { +"description": "Contains the ingestion error record of the dynamic feed. limited to 100 records.", +"id": "IngestionErrorRecord", +"properties": { +"errors": { +"description": "Output only. The list of field errors of the ingestion error record.", +"items": { +"$ref": "FieldError" +}, +"readOnly": true, +"type": "array" +}, +"recordId": { +"description": "Output only. The record ID of the ingestion error record.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"IngestionStatus": { +"description": "Contains the ingestion status of the dynamic feed.", +"id": "IngestionStatus", +"properties": { +"numActiveRows": { +"description": "Output only. The number of active rows in the feed.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"numRowsProcessed": { +"description": "Output only. The number of rows processed in the feed.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"numRowsTotal": { +"description": "Output only. The total number of rows in the feed.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"numRowsWithErrors": { +"description": "Output only. The number of rows with errors in the feed.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"numWarningsTotal": { +"description": "Output only. The total number of warnings in the feed.", +"format": "int64", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"InventoryItem": { +"description": "Represents a buy from the Planning inventory store.", +"id": "InventoryItem", +"properties": { +"accountId": { +"description": "Account ID of this inventory item.", +"format": "int64", +"type": "string" +}, +"adSlots": { +"description": "Ad slots of this inventory item. If this inventory item represents a standalone placement, there will be exactly one ad slot. If this inventory item represents a placement group, there will be more than one ad slot, each representing one child placement in that placement group.", +"items": { +"$ref": "AdSlot" +}, +"type": "array" +}, +"advertiserId": { +"description": "Advertiser ID of this inventory item.", +"format": "int64", +"type": "string" +}, +"contentCategoryId": { +"description": "Content category ID of this inventory item.", +"format": "int64", +"type": "string" +}, +"estimatedClickThroughRate": { +"description": "Estimated click-through rate of this inventory item.", +"format": "int64", +"type": "string" +}, +"estimatedConversionRate": { +"description": "Estimated conversion rate of this inventory item.", +"format": "int64", +"type": "string" +}, +"id": { +"description": "ID of this inventory item.", +"format": "int64", +"type": "string" +}, +"inPlan": { +"description": "Whether this inventory item is in plan.", +"type": "boolean" +}, +"kind": { +"description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#inventoryItem\".", +"type": "string" +}, +"lastModifiedInfo": { +"$ref": "LastModifiedInfo", +"description": "Information about the most recent modification of this inventory item." +}, +"name": { +"description": "Name of this inventory item. For standalone inventory items, this is the same name as that of its only ad slot. For group inventory items, this can differ from the name of any of its ad slots.", +"type": "string" +}, +"negotiationChannelId": { +"description": "Negotiation channel ID of this inventory item.", +"format": "int64", +"type": "string" +}, +"orderId": { +"description": "Order ID of this inventory item.", +"format": "int64", +"type": "string" +}, +"placementStrategyId": { +"description": "Placement strategy ID of this inventory item.", +"format": "int64", +"type": "string" +}, +"pricing": { +"$ref": "Pricing", +"description": "Pricing of this inventory item." +}, +"projectId": { +"description": "Project ID of this inventory item.", +"format": "int64", +"type": "string" +}, +"rfpId": { +"description": "RFP ID of this inventory item.", +"format": "int64", +"type": "string" +}, +"siteId": { +"description": "ID of the site this inventory item is associated with.", +"format": "int64", +"type": "string" +}, +"subaccountId": { +"description": "Subaccount ID of this inventory item.", +"format": "int64", +"type": "string" +}, +"type": { +"description": "Type of inventory item.", +"enum": [ +"PLANNING_PLACEMENT_TYPE_REGULAR", +"PLANNING_PLACEMENT_TYPE_CREDIT" +], +"enumDescriptions": [ +"", +"" +], +"type": "string" +} +}, +"type": "object" +}, +"InventoryItemsListResponse": { +"description": "Inventory item List Response", +"id": "InventoryItemsListResponse", +"properties": { +"inventoryItems": { +"description": "Inventory item collection", +"items": { +"$ref": "InventoryItem" +}, +"type": "array" +}, +"kind": { +"description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#inventoryItemsListResponse\".", +"type": "string" +}, +"nextPageToken": { +"description": "Pagination token to be used for the next list operation.", +"type": "string" +} +}, +"type": "object" +}, +"Invoice": { +"description": "Contains information about a single invoice", +"id": "Invoice", +"properties": { +"campaign_summaries": { +"description": "The list of summarized campaign information associated with this invoice.", +"items": { +"$ref": "CampaignSummary" +}, +"type": "array" +}, +"correctedInvoiceId": { +"description": "The originally issued invoice that is being adjusted by this invoice, if applicable. May appear on invoice PDF as *Reference invoice number*.", +"type": "string" +}, +"currencyCode": { +"description": "Invoice currency code in ISO 4217 format.", +"type": "string" +}, +"dueDate": { +"description": "The invoice due date.", +"type": "string" +}, +"id": { +"description": "ID of this invoice.", +"type": "string" +}, +"invoiceType": { +"description": "The type of invoice document.", +"enum": [ +"INVOICE_TYPE_UNSPECIFIED", +"INVOICE_TYPE_CREDIT", +"INVOICE_TYPE_INVOICE" +], +"enumDescriptions": [ +"", +"", +"" +], +"type": "string" +}, +"issueDate": { +"description": "The date when the invoice was issued.", +"type": "string" +}, +"kind": { +"description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#invoice\".", +"type": "string" +}, +"paymentsAccountId": { +"description": "The ID of the payments account the invoice belongs to. Appears on the invoice PDF as *Billing Account Number*.", +"type": "string" +}, +"paymentsProfileId": { +"description": "The ID of the payments profile the invoice belongs to. Appears on the invoice PDF as *Billing ID*.", +"type": "string" +}, +"pdfUrl": { +"description": "The URL to download a PDF copy of the invoice. Note that this URL is user specific and requires a valid OAuth 2.0 access token to access. The access token must be provided in an *Authorization: Bearer* HTTP header. The URL will only be usable for 7 days from when the api is called.", +"type": "string" +}, +"purchaseOrderNumber": { +"description": "Purchase order number associated with the invoice.", +"type": "string" +}, +"replacedInvoiceIds": { +"description": "The originally issued invoice(s) that is being cancelled by this invoice, if applicable. May appear on invoice PDF as *Replaced invoice numbers*. Note: There may be multiple replaced invoices due to consolidation of multiple invoices into a single invoice.", +"items": { +"type": "string" +}, +"type": "array" +}, +"serviceEndDate": { +"description": "The invoice service end date.", +"type": "string" +}, +"serviceStartDate": { +"description": "The invoice service start date.", +"type": "string" +}, +"subtotalAmountMicros": { +"description": "The pre-tax subtotal amount, in micros of the invoice's currency.", +"format": "int64", +"type": "string" +}, +"totalAmountMicros": { +"description": "The invoice total amount, in micros of the invoice's currency.", +"format": "int64", +"type": "string" +}, +"totalTaxAmountMicros": { +"description": "The sum of all taxes in invoice, in micros of the invoice's currency.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"KeyValueTargetingExpression": { +"description": "Key Value Targeting Expression.", +"id": "KeyValueTargetingExpression", +"properties": { +"expression": { +"description": "Keyword expression being targeted by the ad.", +"type": "string" +} +}, +"type": "object" +}, +"LandingPage": { +"description": "Contains information about where a user's browser is taken after the user clicks an ad.", +"id": "LandingPage", +"properties": { +"advertiserId": { +"description": "Advertiser ID of this landing page. This is a required field.", +"format": "int64", +"type": "string" +}, +"archived": { +"description": "Whether this landing page has been archived.", +"type": "boolean" +}, +"deepLinks": { +"description": "Links that will direct the user to a mobile app, if installed.", +"items": { +"$ref": "DeepLink" +}, +"type": "array" +}, +"id": { +"description": "ID of this landing page. This is a read-only, auto-generated field.", +"format": "int64", +"type": "string" +}, +"kind": { +"description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#landingPage\".", +"type": "string" +}, +"name": { +"description": "Name of this landing page. This is a required field. It must be less than 256 characters long.", +"type": "string" +}, +"url": { +"description": "URL of this landing page. This is a required field.", +"type": "string" +} +}, +"type": "object" +}, +"Language": { +"description": "Contains information about a language that can be targeted by ads.", +"id": "Language", +"properties": { +"id": { +"description": "Language ID of this language. This is the ID used for targeting and generating reports.", +"format": "int64", +"type": "string" +}, +"kind": { +"description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#language\".", +"type": "string" +}, +"languageCode": { +"description": "Format of language code is an ISO 639 two-letter language code optionally followed by an underscore followed by an ISO 3166 code. Examples are \"en\" for English or \"zh_CN\" for Simplified Chinese.", +"type": "string" +}, +"name": { +"description": "Name of this language.", +"type": "string" +} +}, +"type": "object" +}, +"LanguageTargeting": { +"description": "Language Targeting.", +"id": "LanguageTargeting", +"properties": { +"languages": { +"description": "Languages that this ad targets. For each language only languageId is required. The other fields are populated automatically when the ad is inserted or updated.", +"items": { +"$ref": "Language" +}, +"type": "array" +} +}, +"type": "object" +}, +"LanguagesListResponse": { +"description": "Language List Response", +"id": "LanguagesListResponse", +"properties": { +"kind": { +"description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#languagesListResponse\".", +"type": "string" +}, +"languages": { +"description": "Language collection.", +"items": { +"$ref": "Language" +}, +"type": "array" +} +}, +"type": "object" +}, +"LastModifiedInfo": { +"description": "Modification timestamp.", +"id": "LastModifiedInfo", +"properties": { +"time": { +"description": "Timestamp of the last change in milliseconds since epoch.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"ListPopulationClause": { +"description": "A group clause made up of list population terms representing constraints joined by ORs.", +"id": "ListPopulationClause", +"properties": { +"terms": { +"description": "Terms of this list population clause. Each clause is made up of list population terms representing constraints and are joined by ORs.", +"items": { +"$ref": "ListPopulationTerm" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListPopulationRule": { +"description": "Remarketing List Population Rule.", +"id": "ListPopulationRule", +"properties": { +"floodlightActivityId": { +"description": "Floodlight activity ID associated with this rule. This field can be left blank.", +"format": "int64", +"type": "string" +}, +"floodlightActivityName": { +"description": "Name of floodlight activity associated with this rule. This is a read-only, auto-generated field.", +"type": "string" +}, +"listPopulationClauses": { +"description": "Clauses that make up this list population rule. Clauses are joined by ANDs, and the clauses themselves are made up of list population terms which are joined by ORs.", +"items": { +"$ref": "ListPopulationClause" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListPopulationTerm": { +"description": "Remarketing List Population Rule Term.", +"id": "ListPopulationTerm", +"properties": { +"contains": { +"description": "Will be true if the term should check if the user is in the list and false if the term should check if the user is not in the list. This field is only relevant when type is set to LIST_MEMBERSHIP_TERM. False by default.", +"type": "boolean" +}, +"negation": { +"description": "Whether to negate the comparison result of this term during rule evaluation. This field is only relevant when type is left unset or set to CUSTOM_VARIABLE_TERM or REFERRER_TERM.", +"type": "boolean" +}, +"operator": { +"description": "Comparison operator of this term. This field is only relevant when type is left unset or set to CUSTOM_VARIABLE_TERM or REFERRER_TERM.", +"enum": [ +"NUM_EQUALS", +"NUM_LESS_THAN", +"NUM_LESS_THAN_EQUAL", +"NUM_GREATER_THAN", +"NUM_GREATER_THAN_EQUAL", +"STRING_EQUALS", +"STRING_CONTAINS" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"", +"" +], +"type": "string" +}, +"remarketingListId": { +"description": "ID of the list in question. This field is only relevant when type is set to LIST_MEMBERSHIP_TERM.", +"format": "int64", +"type": "string" +}, +"type": { +"description": "List population term type determines the applicable fields in this object. If left unset or set to CUSTOM_VARIABLE_TERM, then variableName, variableFriendlyName, operator, value, and negation are applicable. If set to LIST_MEMBERSHIP_TERM then remarketingListId and contains are applicable. If set to REFERRER_TERM then operator, value, and negation are applicable.", +"enum": [ +"CUSTOM_VARIABLE_TERM", +"LIST_MEMBERSHIP_TERM", +"REFERRER_TERM" +], +"enumDescriptions": [ +"", +"", +"" +], +"type": "string" +}, +"value": { +"description": "Literal to compare the variable to. This field is only relevant when type is left unset or set to CUSTOM_VARIABLE_TERM or REFERRER_TERM.", +"type": "string" +}, +"variableFriendlyName": { +"description": "Friendly name of this term's variable. This is a read-only, auto-generated field. This field is only relevant when type is left unset or set to CUSTOM_VARIABLE_TERM.", +"type": "string" +}, +"variableName": { +"description": "Name of the variable (U1, U2, etc.) being compared in this term. This field is only relevant when type is set to null, CUSTOM_VARIABLE_TERM or REFERRER_TERM.", +"type": "string" +} +}, +"type": "object" +}, +"ListTargetingExpression": { +"description": "Remarketing List Targeting Expression.", +"id": "ListTargetingExpression", +"properties": { +"expression": { +"description": "Expression describing which lists are being targeted by the ad.", +"type": "string" +} +}, +"type": "object" +}, +"LookbackConfiguration": { +"description": "Lookback configuration settings.", +"id": "LookbackConfiguration", +"properties": { +"clickDuration": { +"description": "Lookback window, in days, from the last time a given user clicked on one of your ads. If you enter 0, clicks will not be considered as triggering events for floodlight tracking. If you leave this field blank, the default value for your account will be used. Acceptable values are 0 to 90, inclusive.", +"format": "int32", +"type": "integer" +}, +"postImpressionActivitiesDuration": { +"description": "Lookback window, in days, from the last time a given user viewed one of your ads. If you enter 0, impressions will not be considered as triggering events for floodlight tracking. If you leave this field blank, the default value for your account will be used. Acceptable values are 0 to 90, inclusive.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"MeasurementPartnerAdvertiserLink": { +"id": "MeasurementPartnerAdvertiserLink", +"properties": { +"linkStatus": { +"description": "Status of the partner link.", +"enum": [ +"MEASUREMENT_PARTNER_UNLINKED", +"MEASUREMENT_PARTNER_LINKED", +"MEASUREMENT_PARTNER_LINK_PENDING", +"MEASUREMENT_PARTNER_LINK_FAILURE", +"MEASUREMENT_PARTNER_LINK_OPT_OUT", +"MEASUREMENT_PARTNER_LINK_OPT_OUT_PENDING", +"MEASUREMENT_PARTNER_LINK_WRAPPING_PENDING", +"MEASUREMENT_PARTNER_MODE_CHANGE_PENDING", +"MEASUREMENT_PARTNER_UNLINK_PENDING" +], +"enumDescriptions": [ +"Unlinked.", +"Linked successfully", +"Link pending for wrapping.", +"Linking failure.", +"Link opt-out by user.", +"Link opt-out pending sync.", +"Link wrap answer pending.", +"Mode change pending.", +"Partner unlink pending." +], +"type": "string" +}, +"measurementPartner": { +"description": "Measurement partner used for tag wrapping.", +"enum": [ +"NONE", +"INTEGRAL_AD_SCIENCE", +"DOUBLE_VERIFY" +], +"enumDescriptions": [ +"", +"", +"" +], +"type": "string" +}, +"partnerAdvertiserId": { +"description": "partner Advertiser Id.", +"type": "string" +} +}, +"type": "object" +}, +"MeasurementPartnerCampaignLink": { +"id": "MeasurementPartnerCampaignLink", +"properties": { +"linkStatus": { +"description": ".", +"enum": [ +"MEASUREMENT_PARTNER_UNLINKED", +"MEASUREMENT_PARTNER_LINKED", +"MEASUREMENT_PARTNER_LINK_PENDING", +"MEASUREMENT_PARTNER_LINK_FAILURE", +"MEASUREMENT_PARTNER_LINK_OPT_OUT", +"MEASUREMENT_PARTNER_LINK_OPT_OUT_PENDING", +"MEASUREMENT_PARTNER_LINK_WRAPPING_PENDING", +"MEASUREMENT_PARTNER_MODE_CHANGE_PENDING", +"MEASUREMENT_PARTNER_UNLINK_PENDING" +], +"enumDescriptions": [ +"Unlinked.", +"Linked successfully", +"Link pending for wrapping.", +"Linking failure.", +"Link opt-out by user.", +"Link opt-out pending sync.", +"Link wrap answer pending.", +"Mode change pending.", +"Partner unlink pending." +], +"type": "string" +}, +"measurementPartner": { +"description": "Measurement partner used for tag wrapping.", +"enum": [ +"NONE", +"INTEGRAL_AD_SCIENCE", +"DOUBLE_VERIFY" +], +"enumDescriptions": [ +"", +"", +"" +], +"type": "string" +}, +"partnerCampaignId": { +"description": "Partner campaign ID needed for establishing linking with Measurement partner.", +"type": "string" +} +}, +"type": "object" +}, +"MeasurementPartnerWrappingData": { +"description": "Placement tag wrapping", +"id": "MeasurementPartnerWrappingData", +"properties": { +"linkStatus": { +"description": "Placement wrapping status.", +"enum": [ +"MEASUREMENT_PARTNER_UNLINKED", +"MEASUREMENT_PARTNER_LINKED", +"MEASUREMENT_PARTNER_LINK_PENDING", +"MEASUREMENT_PARTNER_LINK_FAILURE", +"MEASUREMENT_PARTNER_LINK_OPT_OUT", +"MEASUREMENT_PARTNER_LINK_OPT_OUT_PENDING", +"MEASUREMENT_PARTNER_LINK_WRAPPING_PENDING", +"MEASUREMENT_PARTNER_MODE_CHANGE_PENDING", +"MEASUREMENT_PARTNER_UNLINK_PENDING" +], +"enumDescriptions": [ +"Unlinked.", +"Linked successfully", +"Link pending for wrapping.", +"Linking failure.", +"Link opt-out by user.", +"Link opt-out pending sync.", +"Link wrap answer pending.", +"Mode change pending.", +"Partner unlink pending." +], +"type": "string" +}, +"measurementPartner": { +"description": "Measurement partner used for wrapping the placement.", +"enum": [ +"NONE", +"INTEGRAL_AD_SCIENCE", +"DOUBLE_VERIFY" +], +"enumDescriptions": [ +"", +"", +"" +], +"type": "string" +}, +"tagWrappingMode": { +"description": "Measurement mode for the wrapped placement.", +"enum": [ +"NONE", +"BLOCKING", +"MONITORING", +"MONITORING_READ_ONLY", +"VIDEO_PIXEL_MONITORING", +"TRACKING", +"VPAID_MONITORING", +"VPAID_BLOCKING", +"NON_VPAID_MONITORING", +"VPAID_ONLY_MONITORING", +"VPAID_ONLY_BLOCKING", +"VPAID_ONLY_FILTERING", +"VPAID_FILTERING", +"NON_VPAID_FILTERING", +"BLOCKING_FILTERING_VPAID", +"BLOCKING_FILTERING_VPAID_ONLY" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"" +], +"type": "string" +}, +"wrappedTag": { +"description": "Tag provided by the measurement partner during wrapping.", +"type": "string" +} +}, +"type": "object" +}, +"Metric": { +"description": "Represents a metric.", +"id": "Metric", +"properties": { +"kind": { +"description": "The kind of resource this is, in this case dfareporting#metric.", +"type": "string" +}, +"name": { +"description": "The metric name, e.g. impressions", +"type": "string" +} +}, +"type": "object" +}, +"Metro": { +"description": "Contains information about a metro region that can be targeted by ads.", +"id": "Metro", +"properties": { +"countryCode": { +"description": "Country code of the country to which this metro region belongs.", +"type": "string" +}, +"countryDartId": { +"description": "DART ID of the country to which this metro region belongs.", +"format": "int64", +"type": "string" +}, +"dartId": { +"description": "DART ID of this metro region.", +"format": "int64", +"type": "string" +}, +"dmaId": { +"description": "DMA ID of this metro region. This is the ID used for targeting and generating reports, and is equivalent to metro_code.", +"format": "int64", +"type": "string" +}, +"kind": { +"description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#metro\".", +"type": "string" +}, +"metroCode": { +"description": "Metro code of this metro region. This is equivalent to dma_id.", +"type": "string" +}, +"name": { +"description": "Name of this metro region.", +"type": "string" +} +}, +"type": "object" +}, +"MetrosListResponse": { +"description": "Metro List Response", +"id": "MetrosListResponse", +"properties": { +"kind": { +"description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#metrosListResponse\".", +"type": "string" +}, +"metros": { +"description": "Metro collection.", +"items": { +"$ref": "Metro" +}, +"type": "array" +} +}, +"type": "object" +}, +"MobileApp": { +"description": "Contains information about a mobile app. Used as a landing page deep link.", +"id": "MobileApp", +"properties": { +"directory": { +"description": "Mobile app directory.", +"enum": [ +"UNKNOWN", +"APPLE_APP_STORE", +"GOOGLE_PLAY_STORE", +"ROKU_APP_STORE", +"AMAZON_FIRETV_APP_STORE", +"PLAYSTATION_APP_STORE", +"APPLE_TV_APP_STORE", +"XBOX_APP_STORE", +"SAMSUNG_TV_APP_STORE", +"ANDROID_TV_APP_STORE", +"GENERIC_CTV_APP_STORE" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"" +], +"type": "string" +}, +"id": { +"description": "ID of this mobile app.", +"type": "string" +}, +"kind": { +"description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#mobileApp\".", +"type": "string" +}, +"publisherName": { +"description": "Publisher name.", +"type": "string" +}, +"title": { +"description": "Title of this mobile app.", +"type": "string" +} +}, +"type": "object" +}, +"MobileAppsListResponse": { +"description": "Mobile app List Response", +"id": "MobileAppsListResponse", +"properties": { +"kind": { +"description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#mobileAppsListResponse\".", +"type": "string" +}, +"mobileApps": { +"description": "Mobile apps collection.", +"items": { +"$ref": "MobileApp" +}, +"type": "array" +}, +"nextPageToken": { +"description": "Pagination token to be used for the next list operation.", +"type": "string" +} +}, +"type": "object" +}, +"MobileCarrier": { +"description": "Contains information about a mobile carrier that can be targeted by ads.", +"id": "MobileCarrier", +"properties": { +"countryCode": { +"description": "Country code of the country to which this mobile carrier belongs.", +"type": "string" +}, +"countryDartId": { +"description": "DART ID of the country to which this mobile carrier belongs.", +"format": "int64", +"type": "string" +}, +"id": { +"description": "ID of this mobile carrier.", +"format": "int64", +"type": "string" +}, +"kind": { +"description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#mobileCarrier\".", +"type": "string" +}, +"name": { +"description": "Name of this mobile carrier.", +"type": "string" +} +}, +"type": "object" +}, +"MobileCarriersListResponse": { +"description": "Mobile Carrier List Response", +"id": "MobileCarriersListResponse", +"properties": { +"kind": { +"description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#mobileCarriersListResponse\".", +"type": "string" +}, +"mobileCarriers": { +"description": "Mobile carrier collection.", +"items": { +"$ref": "MobileCarrier" +}, +"type": "array" +} +}, +"type": "object" +}, +"ObaIcon": { +"description": "Online Behavioral Advertiser icon.", +"id": "ObaIcon", +"properties": { +"iconClickThroughUrl": { +"description": "URL to redirect to when an OBA icon is clicked.", +"type": "string" +}, +"iconClickTrackingUrl": { +"description": "URL to track click when an OBA icon is clicked.", +"type": "string" +}, +"iconViewTrackingUrl": { +"description": "URL to track view when an OBA icon is clicked.", +"type": "string" +}, +"program": { +"description": "Identifies the industry initiative that the icon supports. For example, AdChoices.", +"type": "string" +}, +"resourceUrl": { +"description": "OBA icon resource URL. Campaign Manager only supports image and JavaScript icons. Learn more", +"type": "string" +}, +"size": { +"$ref": "Size", +"description": "OBA icon size." +}, +"xPosition": { +"description": "OBA icon x coordinate position. Accepted values are left or right.", +"type": "string" +}, +"yPosition": { +"description": "OBA icon y coordinate position. Accepted values are top or bottom.", +"type": "string" +} +}, +"type": "object" +}, +"ObjectFilter": { +"description": "Object Filter.", +"id": "ObjectFilter", +"properties": { +"kind": { +"description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#objectFilter\".", +"type": "string" +}, +"objectIds": { +"description": "Applicable when status is ASSIGNED. The user has access to objects with these object IDs.", +"items": { +"format": "int64", +"type": "string" +}, +"type": "array" +}, +"status": { +"description": "Status of the filter. NONE means the user has access to none of the objects. ALL means the user has access to all objects. ASSIGNED means the user has access to the objects with IDs in the objectIds list.", +"enum": [ +"NONE", +"ASSIGNED", +"ALL" +], +"enumDescriptions": [ +"Profile has access to none of the objects.", +"Profile has access to only specific objects.", +"Profile has access to all objects." +], +"type": "string" +} +}, +"type": "object" +}, +"OfflineUserAddressInfo": { +"description": "Identify a user by name and address.", +"id": "OfflineUserAddressInfo", +"properties": { +"city": { +"description": "City of the address.", +"type": "string" +}, +"countryCode": { +"description": "2-letter country code in ISO-3166-1 alpha-2 of the user's address.", +"type": "string" +}, +"hashedFirstName": { +"description": "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).", +"type": "string" +}, +"hashedLastName": { +"description": "Last name of the user, which is hashed as SHA-256 after normalized (lower case only and no punctuation).", +"type": "string" +}, +"hashedStreetAddress": { +"description": "The street address of the user hashed using SHA-256 hash function after normalization (lower case only).", +"type": "string" +}, +"postalCode": { +"description": "Postal code of the user's address.", +"type": "string" +}, +"state": { +"description": "State code of the address.", +"type": "string" +} +}, +"type": "object" +}, +"OffsetPosition": { +"description": "Offset Position.", +"id": "OffsetPosition", +"properties": { +"left": { +"description": "Offset distance from left side of an asset or a window.", +"format": "int32", +"type": "integer" +}, +"top": { +"description": "Offset distance from top side of an asset or a window.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"OmnitureSettings": { +"description": "Omniture Integration Settings.", +"id": "OmnitureSettings", +"properties": { +"omnitureCostDataEnabled": { +"description": "Whether placement cost data will be sent to Omniture. This property can be enabled only if omnitureIntegrationEnabled is true.", +"type": "boolean" +}, +"omnitureIntegrationEnabled": { +"description": "Whether Omniture integration is enabled. This property can be enabled only when the \"Advanced Ad Serving\" account setting is enabled.", +"type": "boolean" +} +}, +"type": "object" +}, +"OperatingSystem": { +"description": "Contains information about an operating system that can be targeted by ads.", +"id": "OperatingSystem", +"properties": { +"dartId": { +"description": "DART ID of this operating system. This is the ID used for targeting.", +"format": "int64", +"type": "string" +}, +"desktop": { +"description": "Whether this operating system is for desktop.", +"type": "boolean" +}, +"kind": { +"description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#operatingSystem\".", +"type": "string" +}, +"mobile": { +"description": "Whether this operating system is for mobile.", +"type": "boolean" +}, +"name": { +"description": "Name of this operating system.", +"type": "string" +} +}, +"type": "object" +}, +"OperatingSystemVersion": { +"description": "Contains information about a particular version of an operating system that can be targeted by ads.", +"id": "OperatingSystemVersion", +"properties": { +"id": { +"description": "ID of this operating system version.", +"format": "int64", +"type": "string" +}, +"kind": { +"description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#operatingSystemVersion\".", +"type": "string" +}, +"majorVersion": { +"description": "Major version (leftmost number) of this operating system version.", +"type": "string" +}, +"minorVersion": { +"description": "Minor version (number after the first dot) of this operating system version.", +"type": "string" +}, +"name": { +"description": "Name of this operating system version.", +"type": "string" +}, +"operatingSystem": { +"$ref": "OperatingSystem", +"description": "Operating system of this operating system version." +} +}, +"type": "object" +}, +"OperatingSystemVersionsListResponse": { +"description": "Operating System Version List Response", +"id": "OperatingSystemVersionsListResponse", +"properties": { +"kind": { +"description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#operatingSystemVersionsListResponse\".", +"type": "string" +}, +"operatingSystemVersions": { +"description": "Operating system version collection.", +"items": { +"$ref": "OperatingSystemVersion" +}, +"type": "array" +} +}, +"type": "object" +}, +"OperatingSystemsListResponse": { +"description": "Operating System List Response", +"id": "OperatingSystemsListResponse", +"properties": { +"kind": { +"description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#operatingSystemsListResponse\".", +"type": "string" +}, +"operatingSystems": { +"description": "Operating system collection.", +"items": { +"$ref": "OperatingSystem" +}, +"type": "array" +} +}, +"type": "object" +}, +"OptimizationActivity": { +"description": "Creative optimization activity.", +"id": "OptimizationActivity", +"properties": { +"floodlightActivityId": { +"description": "Floodlight activity ID of this optimization activity. This is a required field.", +"format": "int64", +"type": "string" +}, +"floodlightActivityIdDimensionValue": { +"$ref": "DimensionValue", +"description": "Dimension value for the ID of the floodlight activity. This is a read-only, auto-generated field." +}, +"weight": { +"description": "Weight associated with this optimization. The weight assigned will be understood in proportion to the weights assigned to the other optimization activities. Value must be greater than or equal to 1.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"Order": { +"description": "Describes properties of a Planning order.", +"id": "Order", +"properties": { +"accountId": { +"description": "Account ID of this order.", +"format": "int64", +"type": "string" +}, +"advertiserId": { +"description": "Advertiser ID of this order.", +"format": "int64", +"type": "string" +}, +"approverUserProfileIds": { +"description": "IDs for users that have to approve documents created for this order.", +"items": { +"format": "int64", +"type": "string" +}, +"type": "array" +}, +"buyerInvoiceId": { +"description": "Buyer invoice ID associated with this order.", +"type": "string" +}, +"buyerOrganizationName": { +"description": "Name of the buyer organization.", +"type": "string" +}, +"comments": { +"description": "Comments in this order.", +"type": "string" +}, +"contacts": { +"description": "Contacts for this order.", +"items": { +"$ref": "OrderContact" +}, +"type": "array" +}, +"id": { +"description": "ID of this order. This is a read-only, auto-generated field.", +"format": "int64", +"type": "string" +}, +"kind": { +"description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#order\".", +"type": "string" +}, +"lastModifiedInfo": { +"$ref": "LastModifiedInfo", +"description": "Information about the most recent modification of this order." +}, +"name": { +"description": "Name of this order.", +"type": "string" +}, +"notes": { +"description": "Notes of this order.", +"type": "string" +}, +"planningTermId": { +"description": "ID of the terms and conditions template used in this order.", +"format": "int64", +"type": "string" +}, +"projectId": { +"description": "Project ID of this order.", +"format": "int64", +"type": "string" +}, +"sellerOrderId": { +"description": "Seller order ID associated with this order.", +"type": "string" +}, +"sellerOrganizationName": { +"description": "Name of the seller organization.", +"type": "string" +}, +"siteId": { +"description": "Site IDs this order is associated with.", +"items": { +"format": "int64", +"type": "string" +}, +"type": "array" +}, +"siteNames": { +"description": "Free-form site names this order is associated with.", +"items": { +"type": "string" +}, +"type": "array" +}, +"subaccountId": { +"description": "Subaccount ID of this order.", +"format": "int64", +"type": "string" +}, +"termsAndConditions": { +"description": "Terms and conditions of this order.", +"type": "string" +} +}, +"type": "object" +}, +"OrderContact": { +"description": "Contact of an order.", +"id": "OrderContact", +"properties": { +"contactInfo": { +"description": "Free-form information about this contact. It could be any information related to this contact in addition to type, title, name, and signature user profile ID.", +"type": "string" +}, +"contactName": { +"description": "Name of this contact.", +"type": "string" +}, +"contactTitle": { +"description": "Title of this contact.", +"type": "string" +}, +"contactType": { +"description": "Type of this contact.", +"enum": [ +"PLANNING_ORDER_CONTACT_BUYER_CONTACT", +"PLANNING_ORDER_CONTACT_BUYER_BILLING_CONTACT", +"PLANNING_ORDER_CONTACT_SELLER_CONTACT" +], +"enumDescriptions": [ +"", +"", +"" +], +"type": "string" +}, +"signatureUserProfileId": { +"description": "ID of the user profile containing the signature that will be embedded into order documents.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"OrdersListResponse": { +"description": "Order List Response", +"id": "OrdersListResponse", +"properties": { +"kind": { +"description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#ordersListResponse\".", +"type": "string" +}, +"nextPageToken": { +"description": "Pagination token to be used for the next list operation.", +"type": "string" +}, +"orders": { +"description": "Order collection.", +"items": { +"$ref": "Order" +}, +"type": "array" +} +}, +"type": "object" +}, +"PathToConversionReportCompatibleFields": { +"description": "Represents fields that are compatible to be selected for a report of type \"PATH_TO_CONVERSION\".", +"id": "PathToConversionReportCompatibleFields", +"properties": { +"conversionDimensions": { +"description": "Conversion dimensions which are compatible to be selected in the \"conversionDimensions\" section of the report.", +"items": { +"$ref": "Dimension" +}, +"type": "array" +}, +"customFloodlightVariables": { +"description": "Custom floodlight variables which are compatible to be selected in the \"customFloodlightVariables\" section of the report.", +"items": { +"$ref": "Dimension" +}, +"type": "array" +}, +"kind": { +"description": "The kind of resource this is, in this case dfareporting#pathToConversionReportCompatibleFields.", +"type": "string" +}, +"metrics": { +"description": "Metrics which are compatible to be selected in the \"metricNames\" section of the report.", +"items": { +"$ref": "Metric" +}, +"type": "array" +}, +"perInteractionDimensions": { +"description": "Per-interaction dimensions which are compatible to be selected in the \"perInteractionDimensions\" section of the report.", +"items": { +"$ref": "Dimension" +}, +"type": "array" +} +}, +"type": "object" +}, +"Placement": { +"description": "Contains properties of a placement.", +"id": "Placement", +"properties": { +"accountId": { +"description": "Account ID of this placement. This field can be left blank.", +"format": "int64", +"type": "string" +}, +"activeStatus": { +"description": "Whether this placement is active, inactive, archived or permanently archived.", +"enum": [ +"PLACEMENT_STATUS_UNKNOWN", +"PLACEMENT_STATUS_ACTIVE", +"PLACEMENT_STATUS_INACTIVE", +"PLACEMENT_STATUS_ARCHIVED", +"PLACEMENT_STATUS_PERMANENTLY_ARCHIVED" +], +"enumDescriptions": [ +"", +"", +"", +"", +"" +], +"type": "string" +}, +"adBlockingOptOut": { +"description": "Whether this placement opts out of ad blocking. When true, ad blocking is disabled for this placement. When false, the campaign and site settings take effect.", +"type": "boolean" +}, +"adServingPlatformId": { +"description": "Optional. Ad serving platform ID to identify the ad serving platform used by the placement. Measurement partners can use this field to add ad-server specific macros. Possible values are: * `1`, Adelphic * `2`, Adform * `3`, Adobe * `4`, Amobee * `5`, Basis (Centro) * `6`, Beeswax * `7`, Amazon * `8`, DV360 (DBM) * `9`, Innovid * `10`, MediaMath * `11`, Roku OneView DSP * `12`, TabMo Hawk * `13`, The Trade Desk * `14`, Xandr Invest DSP * `15`, Yahoo DSP * `16`, Zeta Global * `17`, Scaleout * `18`, Bidtellect * `19`, Unicorn * `20`, Teads * `21`, Quantcast * `22`, Cognitiv * `23`, AdTheorent * `24`, DeepIntent * `25`, Pulsepoint", +"format": "int64", +"type": "string" +}, +"additionalSizes": { +"description": "Additional sizes associated with this placement. When inserting or updating a placement, only the size ID field is used.", +"items": { +"$ref": "Size" +}, +"type": "array" +}, +"advertiserId": { +"description": "Advertiser ID of this placement. This field can be left blank.", +"format": "int64", +"type": "string" +}, +"advertiserIdDimensionValue": { +"$ref": "DimensionValue", +"description": "Dimension value for the ID of the advertiser. This is a read-only, auto-generated field." +}, +"allowOnYoutube": { +"description": "Optional. Whether the placement is enabled for YouTube integration.", +"type": "boolean" +}, +"campaignId": { +"description": "Campaign ID of this placement. This field is a required field on insertion.", +"format": "int64", +"type": "string" +}, +"campaignIdDimensionValue": { +"$ref": "DimensionValue", +"description": "Dimension value for the ID of the campaign. This is a read-only, auto-generated field." +}, +"comment": { +"description": "Comments for this placement.", +"type": "string" +}, +"compatibility": { +"description": "Placement compatibility. DISPLAY and DISPLAY_INTERSTITIAL refer to rendering on desktop, on mobile devices or in mobile apps for regular or interstitial ads respectively. APP and APP_INTERSTITIAL are no longer allowed for new placement insertions. Instead, use DISPLAY or DISPLAY_INTERSTITIAL. IN_STREAM_VIDEO refers to rendering in in-stream video ads developed with the VAST standard. This field is required on insertion.", +"enum": [ +"DISPLAY", +"DISPLAY_INTERSTITIAL", +"APP", +"APP_INTERSTITIAL", +"IN_STREAM_VIDEO", +"IN_STREAM_AUDIO" +], +"enumDescriptions": [ +"", +"", +"Deprecated enum value. No longer supported.", +"Deprecated enum value. No longer supported.", +"", +"" +], +"type": "string" +}, +"contentCategoryId": { +"description": "ID of the content category assigned to this placement.", +"format": "int64", +"type": "string" +}, +"conversionDomainOverride": { +"$ref": "PlacementConversionDomainOverride", +"description": "Optional. Conversion domain overrides for a placement." +}, +"createInfo": { +"$ref": "LastModifiedInfo", +"description": "Information about the creation of this placement. This is a read-only field." +}, +"directorySiteId": { +"description": "Directory site ID of this placement. On insert, you must set either this field or the siteId field to specify the site associated with this placement. This is a required field that is read-only after insertion.", +"format": "int64", +"type": "string" +}, +"directorySiteIdDimensionValue": { +"$ref": "DimensionValue", +"description": "Dimension value for the ID of the directory site. This is a read-only, auto-generated field." +}, +"externalId": { +"description": "External ID for this placement.", +"type": "string" +}, +"id": { +"description": "ID of this placement. This is a read-only, auto-generated field.", +"format": "int64", +"type": "string" +}, +"idDimensionValue": { +"$ref": "DimensionValue", +"description": "Dimension value for the ID of this placement. This is a read-only, auto-generated field." +}, +"keyName": { +"description": "Key name of this placement. This is a read-only, auto-generated field.", +"type": "string" +}, +"kind": { +"description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#placement\".", +"type": "string" +}, +"lastModifiedInfo": { +"$ref": "LastModifiedInfo", +"description": "Information about the most recent modification of this placement. This is a read-only field." +}, +"lookbackConfiguration": { +"$ref": "LookbackConfiguration", +"description": "Lookback window settings for this placement." +}, +"name": { +"description": "Name of this placement.This is a required field and must be less than or equal to 512 characters long.", +"type": "string" +}, +"partnerWrappingData": { +"$ref": "MeasurementPartnerWrappingData", +"description": "Measurement partner provided settings for a wrapped placement." +}, +"paymentApproved": { +"description": "Whether payment was approved for this placement. This is a read-only field relevant only to publisher-paid placements.", +"type": "boolean" +}, +"paymentSource": { +"description": "Payment source for this placement. This is a required field that is read-only after insertion.", +"enum": [ +"PLACEMENT_AGENCY_PAID", +"PLACEMENT_PUBLISHER_PAID" +], +"enumDescriptions": [ +"", +"" +], +"type": "string" +}, +"placementGroupId": { +"description": "ID of this placement's group, if applicable.", +"format": "int64", +"type": "string" +}, +"placementGroupIdDimensionValue": { +"$ref": "DimensionValue", +"description": "Dimension value for the ID of the placement group. This is a read-only, auto-generated field." +}, +"placementStrategyId": { +"description": "ID of the placement strategy assigned to this placement.", +"format": "int64", +"type": "string" +}, +"pricingSchedule": { +"$ref": "PricingSchedule", +"description": "Pricing schedule of this placement. This field is required on insertion, specifically subfields startDate, endDate and pricingType." +}, +"primary": { +"description": "Whether this placement is the primary placement of a roadblock (placement group). You cannot change this field from true to false. Setting this field to true will automatically set the primary field on the original primary placement of the roadblock to false, and it will automatically set the roadblock's primaryPlacementId field to the ID of this placement.", +"type": "boolean" +}, +"publisherUpdateInfo": { +"$ref": "LastModifiedInfo", +"description": "Information about the last publisher update. This is a read-only field." +}, +"siteId": { +"description": "Site ID associated with this placement. On insert, you must set either this field or the directorySiteId field to specify the site associated with this placement. This is a required field that is read-only after insertion.", +"format": "int64", +"type": "string" +}, +"siteIdDimensionValue": { +"$ref": "DimensionValue", +"description": "Dimension value for the ID of the site. This is a read-only, auto-generated field." +}, +"siteServed": { +"description": "Optional. Whether the ads in the placement are served by another platform and CM is only used for tracking or they are served by CM. A false value indicates the ad is served by CM.", +"type": "boolean" +}, +"size": { +"$ref": "Size", +"description": "Size associated with this placement. When inserting or updating a placement, only the size ID field is used. This field is required on insertion." +}, +"sslRequired": { +"description": "Whether creatives assigned to this placement must be SSL-compliant.", +"type": "boolean" +}, +"status": { +"description": "Third-party placement status.", +"enum": [ +"PENDING_REVIEW", +"PAYMENT_ACCEPTED", +"PAYMENT_REJECTED", +"ACKNOWLEDGE_REJECTION", +"ACKNOWLEDGE_ACCEPTANCE", +"DRAFT" +], +"enumDescriptions": [ +"Placement is not yet reviewed by publisher.", +"Placement Ad Serving fee is accepted by publisher", +"Placement Ad Serving fee is rejected by publisher", +"Advertisers has accepted rejection of placement ad serving fee. This will suppress future notification on DDMM UI", +"Advertisers has accepted acceptance of placement ad serving fee. This will suppress future notification on DDMM UI", +"Advertisers is still working on placement not yet ready for Publisher review; default status for pub-paid placements" +], +"type": "string" +}, +"subaccountId": { +"description": "Subaccount ID of this placement. This field can be left blank.", +"format": "int64", +"type": "string" +}, +"tagFormats": { +"description": "Tag formats to generate for this placement. This field is required on insertion. Acceptable values are: - \"PLACEMENT_TAG_STANDARD\" - \"PLACEMENT_TAG_IFRAME_JAVASCRIPT\" - \"PLACEMENT_TAG_IFRAME_ILAYER\" - \"PLACEMENT_TAG_INTERNAL_REDIRECT\" - \"PLACEMENT_TAG_JAVASCRIPT\" - \"PLACEMENT_TAG_INTERSTITIAL_IFRAME_JAVASCRIPT\" - \"PLACEMENT_TAG_INTERSTITIAL_INTERNAL_REDIRECT\" - \"PLACEMENT_TAG_INTERSTITIAL_JAVASCRIPT\" - \"PLACEMENT_TAG_CLICK_COMMANDS\" - \"PLACEMENT_TAG_INSTREAM_VIDEO_PREFETCH\" - \"PLACEMENT_TAG_INSTREAM_VIDEO_PREFETCH_VAST_3\" - \"PLACEMENT_TAG_INSTREAM_VIDEO_PREFETCH_VAST_4\" - \"PLACEMENT_TAG_TRACKING\" - \"PLACEMENT_TAG_TRACKING_IFRAME\" - \"PLACEMENT_TAG_TRACKING_JAVASCRIPT\" ", +"items": { +"enum": [ +"PLACEMENT_TAG_STANDARD", +"PLACEMENT_TAG_IFRAME_JAVASCRIPT", +"PLACEMENT_TAG_IFRAME_ILAYER", +"PLACEMENT_TAG_INTERNAL_REDIRECT", +"PLACEMENT_TAG_JAVASCRIPT", +"PLACEMENT_TAG_INTERSTITIAL_IFRAME_JAVASCRIPT", +"PLACEMENT_TAG_INTERSTITIAL_INTERNAL_REDIRECT", +"PLACEMENT_TAG_INTERSTITIAL_JAVASCRIPT", +"PLACEMENT_TAG_CLICK_COMMANDS", +"PLACEMENT_TAG_INSTREAM_VIDEO_PREFETCH", +"PLACEMENT_TAG_TRACKING", +"PLACEMENT_TAG_TRACKING_IFRAME", +"PLACEMENT_TAG_TRACKING_JAVASCRIPT", +"PLACEMENT_TAG_INSTREAM_VIDEO_PREFETCH_VAST_3", +"PLACEMENT_TAG_IFRAME_JAVASCRIPT_LEGACY", +"PLACEMENT_TAG_JAVASCRIPT_LEGACY", +"PLACEMENT_TAG_INTERSTITIAL_IFRAME_JAVASCRIPT_LEGACY", +"PLACEMENT_TAG_INTERSTITIAL_JAVASCRIPT_LEGACY", +"PLACEMENT_TAG_INSTREAM_VIDEO_PREFETCH_VAST_4", +"PLACEMENT_TAG_TRACKING_THIRD_PARTY_MEASUREMENT" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"" +], +"type": "string" +}, +"type": "array" +}, +"tagSetting": { +"$ref": "TagSetting", +"description": "Tag settings for this placement." +}, +"videoActiveViewOptOut": { +"description": "Whether Verification and ActiveView are disabled for in-stream video creatives for this placement. The same setting videoActiveViewOptOut exists on the site level -- the opt out occurs if either of these settings are true. These settings are distinct from DirectorySites.settings.activeViewOptOut or Sites.siteSettings.activeViewOptOut which only apply to display ads. However, Accounts.activeViewOptOut opts out both video traffic, as well as display ads, from Verification and ActiveView.", +"type": "boolean" +}, +"videoSettings": { +"$ref": "VideoSettings", +"description": "A collection of settings which affect video creatives served through this placement. Applicable to placements with IN_STREAM_VIDEO compatibility." +}, +"vpaidAdapterChoice": { +"description": "VPAID adapter setting for this placement. Controls which VPAID format the measurement adapter will use for in-stream video creatives assigned to this placement. *Note:* Flash is no longer supported. This field now defaults to HTML5 when the following values are provided: FLASH, BOTH.", +"enum": [ +"DEFAULT", +"FLASH", +"HTML5", +"BOTH" +], +"enumDescriptions": [ +"DEFAULT means Google chooses which adapter, if any, to serve.", +"", +"", +"" +], +"type": "string" +}, +"wrappingOptOut": { +"description": "Whether this placement opts out of tag wrapping.", +"type": "boolean" +}, +"youtubeSettings": { +"$ref": "YoutubeSettings", +"description": "Optional. YouTube settings for the placement. The placement must be enabled for YouTube to use this field." +} +}, +"type": "object" +}, +"PlacementAssignment": { +"description": "Placement Assignment.", +"id": "PlacementAssignment", +"properties": { +"active": { +"description": "Whether this placement assignment is active. When true, the placement will be included in the ad's rotation.", +"type": "boolean" +}, +"placementId": { +"description": "ID of the placement to be assigned. This is a required field.", +"format": "int64", +"type": "string" +}, +"placementIdDimensionValue": { +"$ref": "DimensionValue", +"description": "Dimension value for the ID of the placement. This is a read-only, auto-generated field." +}, +"sslRequired": { +"description": "Whether the placement to be assigned requires SSL. This is a read-only field that is auto-generated when the ad is inserted or updated.", +"type": "boolean" +} +}, +"type": "object" +}, +"PlacementConversionDomainOverride": { +"id": "PlacementConversionDomainOverride", +"properties": { +"conversionDomains": { +"items": { +"$ref": "PlacementSingleConversionDomain" +}, +"type": "array" +} +}, +"type": "object" +}, +"PlacementGroup": { +"description": "Contains properties of a package or roadblock.", +"id": "PlacementGroup", +"properties": { +"accountId": { +"description": "Account ID of this placement group. This is a read-only field that can be left blank.", +"format": "int64", +"type": "string" +}, +"activeStatus": { +"description": "Whether this placement group is active, inactive, archived or permanently archived.", +"enum": [ +"PLACEMENT_STATUS_UNKNOWN", +"PLACEMENT_STATUS_ACTIVE", +"PLACEMENT_STATUS_INACTIVE", +"PLACEMENT_STATUS_ARCHIVED", +"PLACEMENT_STATUS_PERMANENTLY_ARCHIVED" +], +"enumDescriptions": [ +"", +"", +"", +"", +"" +], +"type": "string" +}, +"advertiserId": { +"description": "Advertiser ID of this placement group. This is a required field on insertion.", +"format": "int64", +"type": "string" +}, +"advertiserIdDimensionValue": { +"$ref": "DimensionValue", +"description": "Dimension value for the ID of the advertiser. This is a read-only, auto-generated field." +}, +"campaignId": { +"description": "Campaign ID of this placement group. This field is required on insertion.", +"format": "int64", +"type": "string" +}, +"campaignIdDimensionValue": { +"$ref": "DimensionValue", +"description": "Dimension value for the ID of the campaign. This is a read-only, auto-generated field." +}, +"childPlacementIds": { +"description": "IDs of placements which are assigned to this placement group. This is a read-only, auto-generated field.", +"items": { +"format": "int64", +"type": "string" +}, +"type": "array" +}, +"comment": { +"description": "Comments for this placement group.", +"type": "string" +}, +"contentCategoryId": { +"description": "ID of the content category assigned to this placement group.", +"format": "int64", +"type": "string" +}, +"createInfo": { +"$ref": "LastModifiedInfo", +"description": "Information about the creation of this placement group. This is a read-only field." +}, +"directorySiteId": { +"description": "Directory site ID associated with this placement group. On insert, you must set either this field or the site_id field to specify the site associated with this placement group. This is a required field that is read-only after insertion.", +"format": "int64", +"type": "string" +}, +"directorySiteIdDimensionValue": { +"$ref": "DimensionValue", +"description": "Dimension value for the ID of the directory site. This is a read-only, auto-generated field." +}, +"externalId": { +"description": "External ID for this placement.", +"type": "string" +}, +"id": { +"description": "ID of this placement group. This is a read-only, auto-generated field.", +"format": "int64", +"type": "string" +}, +"idDimensionValue": { +"$ref": "DimensionValue", +"description": "Dimension value for the ID of this placement group. This is a read-only, auto-generated field." +}, +"kind": { +"description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#placementGroup\".", +"type": "string" +}, +"lastModifiedInfo": { +"$ref": "LastModifiedInfo", +"description": "Information about the most recent modification of this placement group. This is a read-only field." +}, +"name": { +"description": "Name of this placement group. This is a required field and must be less than 256 characters long.", +"type": "string" +}, +"placementGroupType": { +"description": "Type of this placement group. A package is a simple group of placements that acts as a single pricing point for a group of tags. A roadblock is a group of placements that not only acts as a single pricing point, but also assumes that all the tags in it will be served at the same time. A roadblock requires one of its assigned placements to be marked as primary for reporting. This field is required on insertion.", +"enum": [ +"PLACEMENT_PACKAGE", +"PLACEMENT_ROADBLOCK" +], +"enumDescriptions": [ +"A simple group of site-placements (tags). Basically acts as a single pricing point for a group of tags.", +"A group of site-placements (tags) that not only acts as a single pricing point but also assumes that all the tags in it will be served at the same time. This kind of group requires one of its assigned site-placements to be marked as primary for reporting purposes." +], +"type": "string" +}, +"placementStrategyId": { +"description": "ID of the placement strategy assigned to this placement group.", +"format": "int64", +"type": "string" +}, +"pricingSchedule": { +"$ref": "PricingSchedule", +"description": "Pricing schedule of this placement group. This field is required on insertion." +}, +"primaryPlacementId": { +"description": "ID of the primary placement, used to calculate the media cost of a roadblock (placement group). Modifying this field will automatically modify the primary field on all affected roadblock child placements.", +"format": "int64", +"type": "string" +}, +"primaryPlacementIdDimensionValue": { +"$ref": "DimensionValue", +"description": "Dimension value for the ID of the primary placement. This is a read-only, auto-generated field." +}, +"siteId": { +"description": "Site ID associated with this placement group. On insert, you must set either this field or the directorySiteId field to specify the site associated with this placement group. This is a required field that is read-only after insertion.", +"format": "int64", +"type": "string" +}, +"siteIdDimensionValue": { +"$ref": "DimensionValue", +"description": "Dimension value for the ID of the site. This is a read-only, auto-generated field." +}, +"subaccountId": { +"description": "Subaccount ID of this placement group. This is a read-only field that can be left blank.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"PlacementGroupsListResponse": { +"description": "Placement Group List Response", +"id": "PlacementGroupsListResponse", +"properties": { +"kind": { +"description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#placementGroupsListResponse\".", +"type": "string" +}, +"nextPageToken": { +"description": "Pagination token to be used for the next list operation.", +"type": "string" +}, +"placementGroups": { +"description": "Placement group collection.", +"items": { +"$ref": "PlacementGroup" +}, +"type": "array" +} +}, +"type": "object" +}, +"PlacementSingleConversionDomain": { +"id": "PlacementSingleConversionDomain", +"properties": { +"conversionDomainId": { +"format": "int64", +"type": "string" +}, +"conversionDomainValue": { +"type": "string" +} +}, +"type": "object" +}, +"PlacementStrategiesListResponse": { +"description": "Placement Strategy List Response", +"id": "PlacementStrategiesListResponse", +"properties": { +"kind": { +"description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#placementStrategiesListResponse\".", +"type": "string" +}, +"nextPageToken": { +"description": "Pagination token to be used for the next list operation.", +"type": "string" +}, +"placementStrategies": { +"description": "Placement strategy collection.", +"items": { +"$ref": "PlacementStrategy" +}, +"type": "array" +} +}, +"type": "object" +}, +"PlacementStrategy": { +"description": "Contains properties of a placement strategy.", +"id": "PlacementStrategy", +"properties": { +"accountId": { +"description": "Account ID of this placement strategy.This is a read-only field that can be left blank.", +"format": "int64", +"type": "string" +}, +"id": { +"description": "ID of this placement strategy. This is a read-only, auto-generated field.", +"format": "int64", +"type": "string" +}, +"kind": { +"description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#placementStrategy\".", +"type": "string" +}, +"name": { +"description": "Name of this placement strategy. This is a required field. It must be less than 256 characters long and unique among placement strategies of the same account.", +"type": "string" +} +}, +"type": "object" +}, +"PlacementTag": { +"description": "Placement Tag", +"id": "PlacementTag", +"properties": { +"placementId": { +"description": "Placement ID", +"format": "int64", +"type": "string" +}, +"tagDatas": { +"description": "Tags generated for this placement.", +"items": { +"$ref": "TagData" +}, +"type": "array" +} +}, +"type": "object" +}, +"PlacementsGenerateTagsResponse": { +"description": "Placement GenerateTags Response", +"id": "PlacementsGenerateTagsResponse", +"properties": { +"kind": { +"description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#placementsGenerateTagsResponse\".", +"type": "string" +}, +"placementTags": { +"description": "Set of generated tags for the specified placements.", +"items": { +"$ref": "PlacementTag" +}, +"type": "array" +} +}, +"type": "object" +}, +"PlacementsListResponse": { +"description": "Placement List Response", +"id": "PlacementsListResponse", +"properties": { +"kind": { +"description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#placementsListResponse\".", +"type": "string" +}, +"nextPageToken": { +"description": "Pagination token to be used for the next list operation.", +"type": "string" +}, +"placements": { +"description": "Placement collection.", +"items": { +"$ref": "Placement" +}, +"type": "array" +} +}, +"type": "object" +}, +"PlatformType": { +"description": "Contains information about a platform type that can be targeted by ads.", +"id": "PlatformType", +"properties": { +"id": { +"description": "ID of this platform type.", +"format": "int64", +"type": "string" +}, +"kind": { +"description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#platformType\".", +"type": "string" +}, +"name": { +"description": "Name of this platform type.", +"type": "string" +} +}, +"type": "object" +}, +"PlatformTypesListResponse": { +"description": "Platform Type List Response", +"id": "PlatformTypesListResponse", +"properties": { +"kind": { +"description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#platformTypesListResponse\".", +"type": "string" +}, +"platformTypes": { +"description": "Platform type collection.", +"items": { +"$ref": "PlatformType" +}, +"type": "array" +} +}, +"type": "object" +}, +"PopupWindowProperties": { +"description": "Popup Window Properties.", +"id": "PopupWindowProperties", +"properties": { +"dimension": { +"$ref": "Size", +"description": "Popup dimension for a creative. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA and all VPAID" +}, +"offset": { +"$ref": "OffsetPosition", +"description": "Upper-left corner coordinates of the popup window. Applicable if positionType is COORDINATES." +}, +"positionType": { +"description": "Popup window position either centered or at specific coordinate.", +"enum": [ +"CENTER", +"COORDINATES" +], +"enumDescriptions": [ +"window positioning at center.", +"window positioning by upper left corner coordinates." +], +"type": "string" +}, +"showAddressBar": { +"description": "Whether to display the browser address bar.", +"type": "boolean" +}, +"showMenuBar": { +"description": "Whether to display the browser menu bar.", +"type": "boolean" +}, +"showScrollBar": { +"description": "Whether to display the browser scroll bar.", +"type": "boolean" +}, +"showStatusBar": { +"description": "Whether to display the browser status bar.", +"type": "boolean" +}, +"showToolBar": { +"description": "Whether to display the browser tool bar.", +"type": "boolean" +}, +"title": { +"description": "Title of popup window.", +"type": "string" +} +}, +"type": "object" +}, +"PostalCode": { +"description": "Contains information about a postal code that can be targeted by ads.", +"id": "PostalCode", +"properties": { +"code": { +"description": "Postal code. This is equivalent to the id field.", +"type": "string" +}, +"countryCode": { +"description": "Country code of the country to which this postal code belongs.", +"type": "string" +}, +"countryDartId": { +"description": "DART ID of the country to which this postal code belongs.", +"format": "int64", +"type": "string" +}, +"id": { +"description": "ID of this postal code.", +"type": "string" +}, +"kind": { +"description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#postalCode\".", +"type": "string" +} +}, +"type": "object" +}, +"PostalCodesListResponse": { +"description": "Postal Code List Response", +"id": "PostalCodesListResponse", +"properties": { +"kind": { +"description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#postalCodesListResponse\".", +"type": "string" +}, +"postalCodes": { +"description": "Postal code collection.", +"items": { +"$ref": "PostalCode" +}, +"type": "array" +} +}, +"type": "object" +}, +"Pricing": { +"id": "Pricing", +"properties": { +"capCostType": { +"description": "Cap cost type of this inventory item.", +"enum": [ +"PLANNING_PLACEMENT_CAP_COST_TYPE_NONE", +"PLANNING_PLACEMENT_CAP_COST_TYPE_MONTHLY", +"PLANNING_PLACEMENT_CAP_COST_TYPE_CUMULATIVE" +], +"enumDescriptions": [ +"", +"", +"" +], +"type": "string" +}, +"endDate": { +"format": "date", +"type": "string" +}, +"flights": { +"description": "Flights of this inventory item. A flight (a.k.a. pricing period) represents the inventory item pricing information for a specific period of time.", +"items": { +"$ref": "Flight" +}, +"type": "array" +}, +"groupType": { +"description": "Group type of this inventory item if it represents a placement group. Is null otherwise. There are two type of placement groups: PLANNING_PLACEMENT_GROUP_TYPE_PACKAGE is a simple group of inventory items that acts as a single pricing point for a group of tags. PLANNING_PLACEMENT_GROUP_TYPE_ROADBLOCK is a group of inventory items that not only acts as a single pricing point, but also assumes that all the tags in it will be served at the same time. A roadblock requires one of its assigned inventory items to be marked as primary.", +"enum": [ +"PLANNING_PLACEMENT_GROUP_TYPE_PACKAGE", +"PLANNING_PLACEMENT_GROUP_TYPE_ROADBLOCK" +], +"enumDescriptions": [ +"A placement package represents \"package pricing\": Pricing and flight information is defined on the package, not on its child placements. The placements in a package do not need to be on the same page.", +"A roadblock represents a set of placements that are all the same page. One of the child placements is designated as the \"primary\" placement for reporting purposes." +], +"type": "string" +}, +"pricingType": { +"description": "Pricing type of this inventory item.", +"enum": [ +"PLANNING_PLACEMENT_PRICING_TYPE_IMPRESSIONS", +"PLANNING_PLACEMENT_PRICING_TYPE_CPM", +"PLANNING_PLACEMENT_PRICING_TYPE_CLICKS", +"PLANNING_PLACEMENT_PRICING_TYPE_CPC", +"PLANNING_PLACEMENT_PRICING_TYPE_CPA", +"PLANNING_PLACEMENT_PRICING_TYPE_FLAT_RATE_IMPRESSIONS", +"PLANNING_PLACEMENT_PRICING_TYPE_FLAT_RATE_CLICKS", +"PLANNING_PLACEMENT_PRICING_TYPE_CPM_ACTIVEVIEW" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"", +"", +"" +], +"type": "string" +}, +"startDate": { +"format": "date", +"type": "string" +} +}, +"type": "object" +}, +"PricingSchedule": { +"description": "Pricing Schedule", +"id": "PricingSchedule", +"properties": { +"capCostOption": { +"description": "Placement cap cost option.", +"enum": [ +"CAP_COST_NONE", +"CAP_COST_MONTHLY", +"CAP_COST_CUMULATIVE" +], +"enumDescriptions": [ +"", +"", +"" +], +"type": "string" +}, +"endDate": { +"format": "date", +"type": "string" +}, +"flighted": { +"description": "Whether this placement is flighted. If true, pricing periods will be computed automatically.", +"type": "boolean" +}, +"floodlightActivityId": { +"description": "Floodlight activity ID associated with this placement. This field should be set when placement pricing type is set to PRICING_TYPE_CPA.", +"format": "int64", +"type": "string" +}, +"pricingPeriods": { +"description": "Pricing periods for this placement.", +"items": { +"$ref": "PricingSchedulePricingPeriod" +}, +"type": "array" +}, +"pricingType": { +"description": "Placement pricing type. This field is required on insertion.", +"enum": [ +"PRICING_TYPE_CPM", +"PRICING_TYPE_CPC", +"PRICING_TYPE_CPA", +"PRICING_TYPE_FLAT_RATE_IMPRESSIONS", +"PRICING_TYPE_FLAT_RATE_CLICKS", +"PRICING_TYPE_CPM_ACTIVEVIEW" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"" +], +"type": "string" +}, +"startDate": { +"format": "date", +"type": "string" +}, +"testingStartDate": { +"format": "date", +"type": "string" +} +}, +"type": "object" +}, +"PricingSchedulePricingPeriod": { +"description": "Pricing Period", +"id": "PricingSchedulePricingPeriod", +"properties": { +"endDate": { +"format": "date", +"type": "string" +}, +"pricingComment": { +"description": "Comments for this pricing period.", +"type": "string" +}, +"rateOrCostNanos": { +"description": "Rate or cost of this pricing period in nanos (i.e., multiplied by 1000000000). Acceptable values are 0 to 1000000000000000000, inclusive.", +"format": "int64", +"type": "string" +}, +"startDate": { +"format": "date", +"type": "string" +}, +"units": { +"description": "Units of this pricing period. Acceptable values are 0 to 10000000000, inclusive.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"Project": { +"description": "Contains properties of a Planning project.", +"id": "Project", +"properties": { +"accountId": { +"description": "Account ID of this project.", +"format": "int64", +"type": "string" +}, +"advertiserId": { +"description": "Advertiser ID of this project.", +"format": "int64", +"type": "string" +}, +"audienceAgeGroup": { +"description": "Audience age group of this project.", +"enum": [ +"PLANNING_AUDIENCE_AGE_18_24", +"PLANNING_AUDIENCE_AGE_25_34", +"PLANNING_AUDIENCE_AGE_35_44", +"PLANNING_AUDIENCE_AGE_45_54", +"PLANNING_AUDIENCE_AGE_55_64", +"PLANNING_AUDIENCE_AGE_65_OR_MORE", +"PLANNING_AUDIENCE_AGE_UNKNOWN" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"", +"" +], +"type": "string" +}, +"audienceGender": { +"description": "Audience gender of this project.", +"enum": [ +"PLANNING_AUDIENCE_GENDER_MALE", +"PLANNING_AUDIENCE_GENDER_FEMALE" +], +"enumDescriptions": [ +"", +"" +], +"type": "string" +}, +"budget": { +"description": "Budget of this project in the currency specified by the current account. The value stored in this field represents only the non-fractional amount. For example, for USD, the smallest value that can be represented by this field is 1 US dollar.", +"format": "int64", +"type": "string" +}, +"clientBillingCode": { +"description": "Client billing code of this project.", +"type": "string" +}, +"clientName": { +"description": "Name of the project client.", +"type": "string" +}, +"endDate": { +"format": "date", +"type": "string" +}, +"id": { +"description": "ID of this project. This is a read-only, auto-generated field.", +"format": "int64", +"type": "string" +}, +"kind": { +"description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#project\".", +"type": "string" +}, +"lastModifiedInfo": { +"$ref": "LastModifiedInfo", +"description": "Information about the most recent modification of this project." +}, +"name": { +"description": "Name of this project.", +"type": "string" +}, +"overview": { +"description": "Overview of this project.", +"type": "string" +}, +"startDate": { +"format": "date", +"type": "string" +}, +"subaccountId": { +"description": "Subaccount ID of this project.", +"format": "int64", +"type": "string" +}, +"targetClicks": { +"description": "Number of clicks that the advertiser is targeting.", +"format": "int64", +"type": "string" +}, +"targetConversions": { +"description": "Number of conversions that the advertiser is targeting.", +"format": "int64", +"type": "string" +}, +"targetCpaNanos": { +"description": "CPA that the advertiser is targeting.", +"format": "int64", +"type": "string" +}, +"targetCpcNanos": { +"description": "CPC that the advertiser is targeting.", +"format": "int64", +"type": "string" +}, +"targetCpmActiveViewNanos": { +"description": "vCPM from Active View that the advertiser is targeting.", +"format": "int64", +"type": "string" +}, +"targetCpmNanos": { +"description": "CPM that the advertiser is targeting.", +"format": "int64", +"type": "string" +}, +"targetImpressions": { +"description": "Number of impressions that the advertiser is targeting.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"ProjectsListResponse": { +"description": "Project List Response", +"id": "ProjectsListResponse", +"properties": { +"kind": { +"description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#projectsListResponse\".", +"type": "string" +}, +"nextPageToken": { +"description": "Pagination token to be used for the next list operation.", +"type": "string" +}, +"projects": { +"description": "Project collection.", +"items": { +"$ref": "Project" +}, +"type": "array" +} +}, +"type": "object" +}, +"ProximityFilter": { +"description": "Contains proximity filter information.", +"id": "ProximityFilter", +"properties": { +"fieldId": { +"description": "Optional. Field ID in the element.", +"format": "int32", +"type": "integer" +}, +"radiusBucketType": { +"description": "Optional. The radius bucket type of the proximity filter", +"enum": [ +"RADIUS_BUCKET_TYPE_UNKNOWN", +"SMALL", +"MEDIUM", +"LARGE", +"MULTI_REGIONAL", +"NATIONAL" +], +"enumDescriptions": [ +"The radius bucket type is unknown.", +"The radius bucket type is small.", +"The radius bucket type is medium.", +"The radius bucket type is large.", +"The radius bucket type is multi-regional.", +"The radius bucket type is national." +], +"type": "string" +}, +"radiusUnitType": { +"description": "Optional. The units of the radius value", +"enum": [ +"RADIUS_UNIT_TYPE_UNKNOWN", +"KILOMETERS", +"MILES" +], +"enumDescriptions": [ +"The units of the radius value are unknown. This value is unused.", +"The units of the radius value are kilometers.", +"The units of the radius value are miles." +], +"type": "string" +}, +"radiusValue": { +"description": "Optional. Radius length in units defined by radius_units.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"ReachReportCompatibleFields": { +"description": "Represents fields that are compatible to be selected for a report of type \"REACH\".", +"id": "ReachReportCompatibleFields", +"properties": { +"dimensionFilters": { +"description": "Dimensions which are compatible to be selected in the \"dimensionFilters\" section of the report.", +"items": { +"$ref": "Dimension" +}, +"type": "array" +}, +"dimensions": { +"description": "Dimensions which are compatible to be selected in the \"dimensions\" section of the report.", +"items": { +"$ref": "Dimension" +}, +"type": "array" +}, +"kind": { +"description": "The kind of resource this is, in this case dfareporting#reachReportCompatibleFields.", +"type": "string" +}, +"metrics": { +"description": "Metrics which are compatible to be selected in the \"metricNames\" section of the report.", +"items": { +"$ref": "Metric" +}, +"type": "array" +}, +"pivotedActivityMetrics": { +"description": "Metrics which are compatible to be selected as activity metrics to pivot on in the \"activities\" section of the report.", +"items": { +"$ref": "Metric" +}, +"type": "array" +}, +"reachByFrequencyMetrics": { +"description": "Metrics which are compatible to be selected in the \"reachByFrequencyMetricNames\" section of the report.", +"items": { +"$ref": "Metric" +}, +"type": "array" +} +}, +"type": "object" +}, +"Recipient": { +"description": "Represents a recipient.", +"id": "Recipient", +"properties": { +"deliveryType": { +"description": "The delivery type for the recipient.", +"enum": [ +"LINK", +"ATTACHMENT" +], +"enumDescriptions": [ +"", +"" +], +"type": "string" +}, +"email": { +"description": "The email address of the recipient.", +"type": "string" +}, +"kind": { +"description": "The kind of resource this is, in this case dfareporting#recipient.", +"type": "string" +} +}, +"type": "object" +}, +"Region": { +"description": "Contains information about a region that can be targeted by ads.", +"id": "Region", +"properties": { +"countryCode": { +"description": "Country code of the country to which this region belongs.", +"type": "string" +}, +"countryDartId": { +"description": "DART ID of the country to which this region belongs.", +"format": "int64", +"type": "string" +}, +"dartId": { +"description": "DART ID of this region.", +"format": "int64", +"type": "string" +}, +"kind": { +"description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#region\".", +"type": "string" +}, +"name": { +"description": "Name of this region.", +"type": "string" +}, +"regionCode": { +"description": "Region code.", +"type": "string" +} +}, +"type": "object" +}, +"RegionsListResponse": { +"description": "Region List Response", +"id": "RegionsListResponse", +"properties": { +"kind": { +"description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#regionsListResponse\".", +"type": "string" +}, +"regions": { +"description": "Region collection.", +"items": { +"$ref": "Region" +}, +"type": "array" +} +}, +"type": "object" +}, +"RemarketingList": { +"description": "Contains properties of a remarketing list. Remarketing enables you to create lists of users who have performed specific actions on a site, then target ads to members of those lists. This resource can be used to manage remarketing lists that are owned by your advertisers. To see all remarketing lists that are visible to your advertisers, including those that are shared to your advertiser or account, use the TargetableRemarketingLists resource.", +"id": "RemarketingList", +"properties": { +"accountId": { +"description": "Account ID of this remarketing list. This is a read-only, auto-generated field that is only returned in GET requests.", +"format": "int64", +"type": "string" +}, +"active": { +"description": "Whether this remarketing list is active.", +"type": "boolean" +}, +"advertiserId": { +"description": "Dimension value for the advertiser ID that owns this remarketing list. This is a required field.", +"format": "int64", +"type": "string" +}, +"advertiserIdDimensionValue": { +"$ref": "DimensionValue", +"description": "Dimension value for the ID of the advertiser. This is a read-only, auto-generated field." +}, +"description": { +"description": "Remarketing list description.", +"type": "string" +}, +"id": { +"description": "Remarketing list ID. This is a read-only, auto-generated field.", +"format": "int64", +"type": "string" +}, +"kind": { +"description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#remarketingList\".", +"type": "string" +}, +"lifeSpan": { +"description": "Number of days that a user should remain in the remarketing list without an impression. Acceptable values are 1 to 540, inclusive.", +"format": "int64", +"type": "string" +}, +"listPopulationRule": { +"$ref": "ListPopulationRule", +"description": "Rule used to populate the remarketing list with users." +}, +"listSize": { +"description": "Number of users currently in the list. This is a read-only field.", +"format": "int64", +"type": "string" +}, +"listSource": { +"description": "Product from which this remarketing list was originated.", +"enum": [ +"REMARKETING_LIST_SOURCE_OTHER", +"REMARKETING_LIST_SOURCE_ADX", +"REMARKETING_LIST_SOURCE_DFP", +"REMARKETING_LIST_SOURCE_XFP", +"REMARKETING_LIST_SOURCE_DFA", +"REMARKETING_LIST_SOURCE_GA", +"REMARKETING_LIST_SOURCE_YOUTUBE", +"REMARKETING_LIST_SOURCE_DBM", +"REMARKETING_LIST_SOURCE_GPLUS", +"REMARKETING_LIST_SOURCE_DMP", +"REMARKETING_LIST_SOURCE_PLAY_STORE" +], +"enumDescriptions": [ +"covers sources not supported in DCM other than those listed below", +"ADX", +"DFP", +"XFP", +"DoubleClick Campaign Manager", +"Google Analytics Premium", +"Youtube", +"DoubleClick Bid Manager", +"G+", +"DoubleClick Audience Center", +"Playstore" +], +"type": "string" +}, +"name": { +"description": "Name of the remarketing list. This is a required field. Must be no greater than 128 characters long.", +"type": "string" +}, +"subaccountId": { +"description": "Subaccount ID of this remarketing list. This is a read-only, auto-generated field that is only returned in GET requests.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"RemarketingListShare": { +"description": "Contains properties of a remarketing list's sharing information. Sharing allows other accounts or advertisers to target to your remarketing lists. This resource can be used to manage remarketing list sharing to other accounts and advertisers.", +"id": "RemarketingListShare", +"properties": { +"kind": { +"description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#remarketingListShare\".", +"type": "string" +}, +"remarketingListId": { +"description": "Remarketing list ID. This is a read-only, auto-generated field.", +"format": "int64", +"type": "string" +}, +"sharedAccountIds": { +"description": "Accounts that the remarketing list is shared with.", +"items": { +"format": "int64", +"type": "string" +}, +"type": "array" +}, +"sharedAdvertiserIds": { +"description": "Advertisers that the remarketing list is shared with.", +"items": { +"format": "int64", +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"RemarketingListsListResponse": { +"description": "Remarketing list response", +"id": "RemarketingListsListResponse", +"properties": { +"kind": { +"description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#remarketingListsListResponse\".", +"type": "string" +}, +"nextPageToken": { +"description": "Pagination token to be used for the next list operation.", +"type": "string" +}, +"remarketingLists": { +"description": "Remarketing list collection.", +"items": { +"$ref": "RemarketingList" +}, +"type": "array" +} +}, +"type": "object" +}, +"RemarketingValueAttribute": { +"description": "Contains remarketing value attribute information.", +"id": "RemarketingValueAttribute", +"properties": { +"fieldId": { +"description": "Optional. Field ID in the element.", +"format": "int32", +"type": "integer" +}, +"userAttributeIds": { +"description": "Optional. Remarketing user attribute IDs for auto filtering.", +"items": { +"format": "int64", +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"Report": { +"description": "Represents a Report resource.", +"id": "Report", +"properties": { +"accountId": { +"description": "The account ID to which this report belongs.", +"format": "int64", +"type": "string" +}, +"criteria": { +"description": "The report criteria for a report of type \"STANDARD\".", +"properties": { +"activities": { +"$ref": "Activities", +"description": "Activity group." +}, +"customRichMediaEvents": { +"$ref": "CustomRichMediaEvents", +"description": "Custom Rich Media Events group." +}, +"dateRange": { +"$ref": "DateRange", +"description": "The date range for which this report should be run." +}, +"dimensionFilters": { +"description": "The list of filters on which dimensions are filtered. Filters for different dimensions are ANDed, filters for the same dimension are grouped together and ORed.", +"items": { +"$ref": "DimensionValue" +}, +"type": "array" +}, +"dimensions": { +"description": "The list of standard dimensions the report should include.", +"items": { +"$ref": "SortedDimension" +}, +"type": "array" +}, +"metricNames": { +"description": "The list of names of metrics the report should include.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"crossDimensionReachCriteria": { +"description": "The report criteria for a report of type \"CROSS_DIMENSION_REACH\".", +"properties": { +"breakdown": { +"description": "The list of dimensions the report should include.", +"items": { +"$ref": "SortedDimension" +}, +"type": "array" +}, +"dateRange": { +"$ref": "DateRange", +"description": "The date range this report should be run for." +}, +"dimension": { +"description": "The dimension option.", +"enum": [ +"ADVERTISER", +"CAMPAIGN", +"SITE_BY_ADVERTISER", +"SITE_BY_CAMPAIGN" +], +"enumDescriptions": [ +"", +"", +"", +"" +], +"type": "string" +}, +"dimensionFilters": { +"description": "The list of filters on which dimensions are filtered.", +"items": { +"$ref": "DimensionValue" +}, +"type": "array" +}, +"metricNames": { +"description": "The list of names of metrics the report should include.", +"items": { +"type": "string" +}, +"type": "array" +}, +"overlapMetricNames": { +"description": "The list of names of overlap metrics the report should include.", +"items": { +"type": "string" +}, +"type": "array" +}, +"pivoted": { +"description": "Whether the report is pivoted or not. Defaults to true.", +"type": "boolean" +} +}, +"type": "object" +}, +"crossMediaReachCriteria": { +"description": "Optional. The report criteria for a report of type \"CROSS_MEDIA_REACH\".", +"properties": { +"dateRange": { +"$ref": "DateRange", +"description": "Required. The date range this report should be run for." +}, +"dimensionFilters": { +"description": "Required. The list of filters on which dimensions are filtered. Filters for different dimensions are ANDed, filters for the same dimension are grouped together and ORed.", +"items": { +"$ref": "DimensionValue" +}, +"type": "array" +}, +"dimensions": { +"description": "Required. The list of dimensions the report should include.", +"items": { +"$ref": "SortedDimension" +}, +"type": "array" +}, +"metricNames": { +"description": "Required. The list of names of metrics the report should include.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"delivery": { +"description": "The report's email delivery settings.", +"properties": { +"emailOwner": { +"description": "Whether the report should be emailed to the report owner.", +"type": "boolean" +}, +"emailOwnerDeliveryType": { +"description": "The type of delivery for the owner to receive, if enabled.", +"enum": [ +"LINK", +"ATTACHMENT" +], +"enumDescriptions": [ +"", +"" +], +"type": "string" +}, +"message": { +"description": "The message to be sent with each email.", +"type": "string" +}, +"recipients": { +"description": "The list of recipients to which to email the report.", +"items": { +"$ref": "Recipient" +}, +"type": "array" +} +}, +"type": "object" +}, +"etag": { +"description": "The eTag of this response for caching purposes.", +"type": "string" +}, +"fileName": { +"description": "The filename used when generating report files for this report.", +"type": "string" +}, +"floodlightCriteria": { +"description": "The report criteria for a report of type \"FLOODLIGHT\".", +"properties": { +"customRichMediaEvents": { +"description": "The list of custom rich media events to include.", +"items": { +"$ref": "DimensionValue" +}, +"type": "array" +}, +"dateRange": { +"$ref": "DateRange", +"description": "The date range this report should be run for." +}, +"dimensionFilters": { +"description": "The list of filters on which dimensions are filtered. Filters for different dimensions are ANDed, filters for the same dimension are grouped together and ORed.", +"items": { +"$ref": "DimensionValue" +}, +"type": "array" +}, +"dimensions": { +"description": "The list of dimensions the report should include.", +"items": { +"$ref": "SortedDimension" +}, +"type": "array" +}, +"floodlightConfigId": { +"$ref": "DimensionValue", +"description": "The floodlight ID for which to show data in this report. All advertisers associated with that ID will automatically be added. The dimension of the value needs to be 'dfa:floodlightConfigId'." +}, +"metricNames": { +"description": "The list of names of metrics the report should include.", +"items": { +"type": "string" +}, +"type": "array" +}, +"reportProperties": { +"description": "The properties of the report.", +"properties": { +"includeAttributedIPConversions": { +"description": "Include conversions that have no cookie, but do have an exposure path.", +"type": "boolean" +}, +"includeUnattributedCookieConversions": { +"description": "Include conversions of users with a DoubleClick cookie but without an exposure. That means the user did not click or see an ad from the advertiser within the Floodlight group, or that the interaction happened outside the lookback window.", +"type": "boolean" +}, +"includeUnattributedIPConversions": { +"description": "Include conversions that have no associated cookies and no exposures. It\u2019s therefore impossible to know how the user was exposed to your ads during the lookback window prior to a conversion.", +"type": "boolean" +} +}, +"type": "object" +} +}, +"type": "object" +}, +"format": { +"description": "The output format of the report. If not specified, default format is \"CSV\". Note that the actual format in the completed report file might differ if for instance the report's size exceeds the format's capabilities. \"CSV\" will then be the fallback format.", +"enum": [ +"CSV", +"EXCEL" +], +"enumDescriptions": [ +"", +"" +], +"type": "string" +}, +"id": { +"description": "The unique ID identifying this report resource.", +"format": "int64", +"type": "string" +}, +"kind": { +"description": "The kind of resource this is, in this case dfareporting#report.", +"type": "string" +}, +"lastModifiedTime": { +"description": "The timestamp (in milliseconds since epoch) of when this report was last modified.", +"format": "uint64", +"type": "string" +}, +"name": { +"description": "The name of the report.", +"type": "string" +}, +"ownerProfileId": { +"description": "The user profile id of the owner of this report.", +"format": "int64", +"type": "string" +}, +"pathToConversionCriteria": { +"description": "The report criteria for a report of type \"PATH_TO_CONVERSION\".", +"properties": { +"activityFilters": { +"description": "The list of 'dfa:activity' values to filter on.", +"items": { +"$ref": "DimensionValue" +}, +"type": "array" +}, +"conversionDimensions": { +"description": "The list of conversion dimensions the report should include.", +"items": { +"$ref": "SortedDimension" +}, +"type": "array" +}, +"customFloodlightVariables": { +"description": "The list of custom floodlight variables the report should include.", +"items": { +"$ref": "SortedDimension" +}, +"type": "array" +}, +"customRichMediaEvents": { +"description": "The list of custom rich media events to include.", +"items": { +"$ref": "DimensionValue" +}, +"type": "array" +}, +"dateRange": { +"$ref": "DateRange", +"description": "The date range this report should be run for." +}, +"floodlightConfigId": { +"$ref": "DimensionValue", +"description": "The floodlight ID for which to show data in this report. All advertisers associated with that ID will automatically be added. The dimension of the value needs to be 'dfa:floodlightConfigId'." +}, +"metricNames": { +"description": "The list of names of metrics the report should include.", +"items": { +"type": "string" +}, +"type": "array" +}, +"perInteractionDimensions": { +"description": "The list of per interaction dimensions the report should include.", +"items": { +"$ref": "SortedDimension" +}, +"type": "array" +}, +"reportProperties": { +"description": "The properties of the report.", +"properties": { +"clicksLookbackWindow": { +"description": "CM360 checks to see if a click interaction occurred within the specified period of time before a conversion. By default the value is pulled from Floodlight or you can manually enter a custom value. Valid values: 1-90.", +"format": "int32", +"type": "integer" +}, +"impressionsLookbackWindow": { +"description": "CM360 checks to see if an impression interaction occurred within the specified period of time before a conversion. By default the value is pulled from Floodlight or you can manually enter a custom value. Valid values: 1-90.", +"format": "int32", +"type": "integer" +}, +"includeAttributedIPConversions": { +"description": "Deprecated: has no effect.", +"type": "boolean" +}, +"includeUnattributedCookieConversions": { +"description": "Include conversions of users with a DoubleClick cookie but without an exposure. That means the user did not click or see an ad from the advertiser within the Floodlight group, or that the interaction happened outside the lookback window.", +"type": "boolean" +}, +"includeUnattributedIPConversions": { +"description": "Include conversions that have no associated cookies and no exposures. It\u2019s therefore impossible to know how the user was exposed to your ads during the lookback window prior to a conversion.", +"type": "boolean" +}, +"maximumClickInteractions": { +"description": "The maximum number of click interactions to include in the report. Advertisers currently paying for E2C reports get up to 200 (100 clicks, 100 impressions). If another advertiser in your network is paying for E2C, you can have up to 5 total exposures per report.", +"format": "int32", +"type": "integer" +}, +"maximumImpressionInteractions": { +"description": "The maximum number of click interactions to include in the report. Advertisers currently paying for E2C reports get up to 200 (100 clicks, 100 impressions). If another advertiser in your network is paying for E2C, you can have up to 5 total exposures per report.", +"format": "int32", +"type": "integer" +}, +"maximumInteractionGap": { +"description": "The maximum amount of time that can take place between interactions (clicks or impressions) by the same user. Valid values: 1-90.", +"format": "int32", +"type": "integer" +}, +"pivotOnInteractionPath": { +"description": "Enable pivoting on interaction path.", +"type": "boolean" +} +}, +"type": "object" +} +}, +"type": "object" +}, +"reachCriteria": { +"description": "The report criteria for a report of type \"REACH\".", +"properties": { +"activities": { +"$ref": "Activities", +"description": "Activity group." +}, +"customRichMediaEvents": { +"$ref": "CustomRichMediaEvents", +"description": "Custom Rich Media Events group." +}, +"dateRange": { +"$ref": "DateRange", +"description": "The date range this report should be run for." +}, +"dimensionFilters": { +"description": "The list of filters on which dimensions are filtered. Filters for different dimensions are ANDed, filters for the same dimension are grouped together and ORed.", +"items": { +"$ref": "DimensionValue" +}, +"type": "array" +}, +"dimensions": { +"description": "The list of dimensions the report should include.", +"items": { +"$ref": "SortedDimension" +}, +"type": "array" +}, +"enableAllDimensionCombinations": { +"description": "Whether to enable all reach dimension combinations in the report. Defaults to false. If enabled, the date range of the report should be within the last 42 days.", +"type": "boolean" +}, +"metricNames": { +"description": "The list of names of metrics the report should include.", +"items": { +"type": "string" +}, +"type": "array" +}, +"reachByFrequencyMetricNames": { +"description": "The list of names of Reach By Frequency metrics the report should include.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"schedule": { +"description": "The report's schedule. Can only be set if the report's 'dateRange' is a relative date range and the relative date range is not \"TODAY\".", +"properties": { +"active": { +"description": "Whether the schedule is active or not. Must be set to either true or false.", +"type": "boolean" +}, +"every": { +"description": "Defines every how many days, weeks or months the report should be run. Needs to be set when \"repeats\" is either \"DAILY\", \"WEEKLY\" or \"MONTHLY\".", +"format": "int32", +"type": "integer" +}, +"expirationDate": { +"format": "date", +"type": "string" +}, +"repeats": { +"description": "The interval for which the report is repeated. Note: - \"DAILY\" also requires field \"every\" to be set. - \"WEEKLY\" also requires fields \"every\" and \"repeatsOnWeekDays\" to be set. - \"MONTHLY\" also requires fields \"every\" and \"runsOnDayOfMonth\" to be set. ", +"type": "string" +}, +"repeatsOnWeekDays": { +"description": "List of week days \"WEEKLY\" on which scheduled reports should run.", +"items": { +"enum": [ +"SUNDAY", +"MONDAY", +"TUESDAY", +"WEDNESDAY", +"THURSDAY", +"FRIDAY", +"SATURDAY" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"", +"" +], +"type": "string" +}, +"type": "array" +}, +"runsOnDayOfMonth": { +"description": "Enum to define for \"MONTHLY\" scheduled reports whether reports should be repeated on the same day of the month as \"startDate\" or the same day of the week of the month. Example: If 'startDate' is Monday, April 2nd 2012 (2012-04-02), \"DAY_OF_MONTH\" would run subsequent reports on the 2nd of every Month, and \"WEEK_OF_MONTH\" would run subsequent reports on the first Monday of the month.", +"enum": [ +"DAY_OF_MONTH", +"WEEK_OF_MONTH" +], +"enumDescriptions": [ +"", +"" +], +"type": "string" +}, +"startDate": { +"format": "date", +"type": "string" +}, +"timezone": { +"description": "The timezone when the report will run.", +"type": "string" +} +}, +"type": "object" +}, +"subAccountId": { +"description": "The subaccount ID to which this report belongs if applicable.", +"format": "int64", +"type": "string" +}, +"type": { +"description": "The type of the report.", +"enum": [ +"STANDARD", +"REACH", +"PATH_TO_CONVERSION", +"CROSS_DIMENSION_REACH", +"FLOODLIGHT", +"CROSS_MEDIA_REACH" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"" +], +"type": "string" +} +}, +"type": "object" +}, +"ReportCompatibleFields": { +"description": "Represents fields that are compatible to be selected for a report of type \"STANDARD\".", +"id": "ReportCompatibleFields", +"properties": { +"dimensionFilters": { +"description": "Dimensions which are compatible to be selected in the \"dimensionFilters\" section of the report.", +"items": { +"$ref": "Dimension" +}, +"type": "array" +}, +"dimensions": { +"description": "Dimensions which are compatible to be selected in the \"dimensions\" section of the report.", +"items": { +"$ref": "Dimension" +}, +"type": "array" +}, +"kind": { +"description": "The kind of resource this is, in this case dfareporting#reportCompatibleFields.", +"type": "string" +}, +"metrics": { +"description": "Metrics which are compatible to be selected in the \"metricNames\" section of the report.", +"items": { +"$ref": "Metric" +}, +"type": "array" +}, +"pivotedActivityMetrics": { +"description": "Metrics which are compatible to be selected as activity metrics to pivot on in the \"activities\" section of the report.", +"items": { +"$ref": "Metric" +}, +"type": "array" +} +}, +"type": "object" +}, +"ReportList": { +"description": "Represents the list of reports.", +"id": "ReportList", +"properties": { +"etag": { +"description": "The eTag of this response for caching purposes.", +"type": "string" +}, +"items": { +"description": "The reports returned in this response.", +"items": { +"$ref": "Report" +}, +"type": "array" +}, +"kind": { +"description": "The kind of list this is, in this case dfareporting#reportList.", +"type": "string" +}, +"nextPageToken": { +"description": "Continuation token used to page through reports. To retrieve the next page of results, set the next request's \"pageToken\" to the value of this field. The page token is only valid for a limited amount of time and should not be persisted.", +"type": "string" +} +}, +"type": "object" +}, +"ReportsConfiguration": { +"description": "Reporting Configuration", +"id": "ReportsConfiguration", +"properties": { +"exposureToConversionEnabled": { +"description": "Whether the exposure to conversion report is enabled. This report shows detailed pathway information on up to 10 of the most recent ad exposures seen by a user before converting.", +"type": "boolean" +}, +"lookbackConfiguration": { +"$ref": "LookbackConfiguration", +"description": "Default lookback windows for new advertisers in this account." +}, +"reportGenerationTimeZoneId": { +"description": "Report generation time zone ID of this account. This is a required field that cannot be changed on update. Acceptable values are: - \"1\" for \"America/New_York\" - \"2\" for \"Europe/London\" - \"3\" for \"Europe/Paris\" - \"4\" for \"Africa/Johannesburg\" - \"5\" for \"Asia/Jerusalem\" - \"6\" for \"Asia/Shanghai\" - \"7\" for \"Asia/Hong_Kong\" - \"8\" for \"Asia/Tokyo\" - \"9\" for \"Australia/Sydney\" - \"10\" for \"Asia/Dubai\" - \"11\" for \"America/Los_Angeles\" - \"12\" for \"Pacific/Auckland\" - \"13\" for \"America/Sao_Paulo\" - \"16\" for \"America/Asuncion\" - \"17\" for \"America/Chicago\" - \"18\" for \"America/Denver\" - \"19\" for \"America/St_Johns\" - \"20\" for \"Asia/Dhaka\" - \"21\" for \"Asia/Jakarta\" - \"22\" for \"Asia/Kabul\" - \"23\" for \"Asia/Karachi\" - \"24\" for \"Asia/Calcutta\" - \"25\" for \"Asia/Pyongyang\" - \"26\" for \"Asia/Rangoon\" - \"27\" for \"Atlantic/Cape_Verde\" - \"28\" for \"Atlantic/South_Georgia\" - \"29\" for \"Australia/Adelaide\" - \"30\" for \"Australia/Lord_Howe\" - \"31\" for \"Europe/Moscow\" - \"32\" for \"Pacific/Kiritimati\" - \"35\" for \"Pacific/Norfolk\" - \"36\" for \"Pacific/Tongatapu\" ", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"RequestValue": { +"description": "Contains request value information.", +"id": "RequestValue", +"properties": { +"excludeFromUserAttributeIds": { +"description": "Optional. User attribute IDs in the request that should be excluded. Used only when the field type is REMARKETING_VALUE or USER_ATTRIBUTE_ID.", +"items": { +"format": "int64", +"type": "string" +}, +"type": "array" +}, +"key": { +"description": "Optional. Custom key in the request. Used only when the field type is CUSTOM_VALUE.", +"type": "string" +}, +"userAttributeIds": { +"description": "Optional. User attribute IDs in the request. Used only when the field type is REMARKETING_VALUE or USER_ATTRIBUTE_ID.", +"items": { +"format": "int64", +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"RichMediaExitOverride": { +"description": "Rich Media Exit Override.", +"id": "RichMediaExitOverride", +"properties": { +"clickThroughUrl": { +"$ref": "ClickThroughUrl", +"description": "Click-through URL of this rich media exit override. Applicable if the enabled field is set to true." +}, +"enabled": { +"description": "Whether to use the clickThroughUrl. If false, the creative-level exit will be used.", +"type": "boolean" +}, +"exitId": { +"description": "ID for the override to refer to a specific exit in the creative.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"Rule": { +"description": "A rule associates an asset with a targeting template for asset-level targeting. Applicable to INSTREAM_VIDEO creatives.", +"id": "Rule", +"properties": { +"assetId": { +"description": "A creativeAssets[].id. This should refer to one of the parent assets in this creative. This is a required field.", +"format": "int64", +"type": "string" +}, +"name": { +"description": "A user-friendly name for this rule. This is a required field.", +"type": "string" +}, +"targetingTemplateId": { +"description": "A targeting template ID. The targeting from the targeting template will be used to determine whether this asset should be served. This is a required field.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"RuleBlock": { +"description": "Contains a list of field filters that the given custom rule will apply.", +"id": "RuleBlock", +"properties": { +"fieldFilter": { +"description": "Optional. A list of non-auto field filters", +"items": { +"$ref": "FieldFilter" +}, +"type": "array" +} +}, +"type": "object" +}, +"Site": { +"description": "Contains properties of a site.", +"id": "Site", +"properties": { +"accountId": { +"description": "Account ID of this site. This is a read-only field that can be left blank.", +"format": "int64", +"type": "string" +}, +"adServingPlatformId": { +"description": "Optional. Ad serving platform ID to identify the ad serving platform used by the site. Measurement partners can use this field to add ad-server specific macros. If set, this value acts as the default during placement creation. Possible values are: * `1`, Adelphic * `2`, Adform * `3`, Adobe * `4`, Amobee * `5`, Basis (Centro) * `6`, Beeswax * `7`, Amazon * `8`, DV360 (DBM) * `9`, Innovid * `10`, MediaMath * `11`, Roku OneView DSP * `12`, TabMo Hawk * `13`, The Trade Desk * `14`, Xandr Invest DSP * `15`, Yahoo DSP * `16`, Zeta Global * `17`, Scaleout * `18`, Bidtellect * `19`, Unicorn * `20`, Teads * `21`, Quantcast * `22`, Cognitiv * `23`, AdTheorent * `24`, DeepIntent * `25`, Pulsepoint", +"format": "int64", +"type": "string" +}, +"approved": { +"description": "Whether this site is approved.", +"type": "boolean" +}, +"directorySiteId": { +"description": "Directory site associated with this site. This is a required field that is read-only after insertion.", +"format": "int64", +"type": "string" +}, +"directorySiteIdDimensionValue": { +"$ref": "DimensionValue", +"description": "Dimension value for the ID of the directory site. This is a read-only, auto-generated field." +}, +"id": { +"description": "ID of this site. This is a read-only, auto-generated field.", +"format": "int64", +"type": "string" +}, +"idDimensionValue": { +"$ref": "DimensionValue", +"description": "Dimension value for the ID of this site. This is a read-only, auto-generated field." +}, +"keyName": { +"description": "Key name of this site. This is a read-only, auto-generated field.", +"type": "string" +}, +"kind": { +"description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#site\".", +"type": "string" +}, +"name": { +"description": "Name of this site.This is a required field. Must be less than 128 characters long. If this site is under a subaccount, the name must be unique among sites of the same subaccount. Otherwise, this site is a top-level site, and the name must be unique among top-level sites of the same account.", +"type": "string" +}, +"siteContacts": { +"description": "Site contacts.", +"items": { +"$ref": "SiteContact" +}, +"type": "array" +}, +"siteSettings": { +"$ref": "SiteSettings", +"description": "Site-wide settings." +}, +"subaccountId": { +"description": "Subaccount ID of this site. This is a read-only field that can be left blank.", +"format": "int64", +"type": "string" +}, +"videoSettings": { +"$ref": "SiteVideoSettings", +"description": "Default video settings for new placements created under this site. This value will be used to populate the placements.videoSettings field, when no value is specified for the new placement." +} +}, +"type": "object" +}, +"SiteCompanionSetting": { +"description": "Companion Settings", +"id": "SiteCompanionSetting", +"properties": { +"companionsDisabled": { +"description": "Whether companions are disabled for this site template.", +"type": "boolean" +}, +"enabledSizes": { +"description": "Allowlist of companion sizes to be served via this site template. Set this list to null or empty to serve all companion sizes.", +"items": { +"$ref": "Size" +}, +"type": "array" +}, +"imageOnly": { +"description": "Whether to serve only static images as companions.", +"type": "boolean" +}, +"kind": { +"description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#siteCompanionSetting\".", +"type": "string" +} +}, +"type": "object" +}, +"SiteContact": { +"description": "Site Contact", +"id": "SiteContact", +"properties": { +"address": { +"description": "Address of this site contact.", +"type": "string" +}, +"contactType": { +"description": "Site contact type.", +"enum": [ +"SALES_PERSON", +"TRAFFICKER" +], +"enumDescriptions": [ +"", +"" +], +"type": "string" +}, +"email": { +"description": "Email address of this site contact. This is a required field.", +"type": "string" +}, +"firstName": { +"description": "First name of this site contact.", +"type": "string" +}, +"id": { +"description": "ID of this site contact. This is a read-only, auto-generated field.", +"format": "int64", +"type": "string" +}, +"lastName": { +"description": "Last name of this site contact.", +"type": "string" +}, +"phone": { +"description": "Primary phone number of this site contact.", +"type": "string" +}, +"title": { +"description": "Title or designation of this site contact.", +"type": "string" +} +}, +"type": "object" +}, +"SiteSettings": { +"description": "Site Settings", +"id": "SiteSettings", +"properties": { +"activeViewOptOut": { +"description": "Whether active view creatives are disabled for this site.", +"type": "boolean" +}, +"adBlockingOptOut": { +"description": "Whether this site opts out of ad blocking. When true, ad blocking is disabled for all placements under the site, regardless of the individual placement settings. When false, the campaign and placement settings take effect.", +"type": "boolean" +}, +"disableNewCookie": { +"description": "Whether new cookies are disabled for this site.", +"type": "boolean" +}, +"tagSetting": { +"$ref": "TagSetting", +"description": "Configuration settings for dynamic and image floodlight tags." +}, +"videoActiveViewOptOutTemplate": { +"description": "Whether Verification and ActiveView for in-stream video creatives are disabled by default for new placements created under this site. This value will be used to populate the placement.videoActiveViewOptOut field, when no value is specified for the new placement.", +"type": "boolean" +}, +"vpaidAdapterChoiceTemplate": { +"description": "Default VPAID adapter setting for new placements created under this site. This value will be used to populate the placements.vpaidAdapterChoice field, when no value is specified for the new placement. Controls which VPAID format the measurement adapter will use for in-stream video creatives assigned to the placement. The publisher's specifications will typically determine this setting. For VPAID creatives, the adapter format will match the VPAID format (HTML5 VPAID creatives use the HTML5 adapter). *Note:* Flash is no longer supported. This field now defaults to HTML5 when the following values are provided: FLASH, BOTH.", +"enum": [ +"DEFAULT", +"FLASH", +"HTML5", +"BOTH" +], +"enumDescriptions": [ +"DEFAULT means Google chooses which adapter, if any, to serve.", +"", +"", +"" +], +"type": "string" +} +}, +"type": "object" +}, +"SiteSkippableSetting": { +"description": "Skippable Settings", +"id": "SiteSkippableSetting", +"properties": { +"kind": { +"description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#siteSkippableSetting\".", +"type": "string" +}, +"progressOffset": { +"$ref": "VideoOffset", +"description": "Amount of time to play videos served to this site template before counting a view. Applicable when skippable is true." +}, +"skipOffset": { +"$ref": "VideoOffset", +"description": "Amount of time to play videos served to this site before the skip button should appear. Applicable when skippable is true." +}, +"skippable": { +"description": "Whether the user can skip creatives served to this site. This will act as default for new placements created under this site.", +"type": "boolean" +} +}, +"type": "object" +}, +"SiteTranscodeSetting": { +"description": "Transcode Settings", +"id": "SiteTranscodeSetting", +"properties": { +"enabledVideoFormats": { +"description": "Allowlist of video formats to be served to this site template. Set this list to null or empty to serve all video formats.", +"items": { +"format": "int32", +"type": "integer" +}, +"type": "array" +}, +"kind": { +"description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#siteTranscodeSetting\".", +"type": "string" +} +}, +"type": "object" +}, +"SiteVideoSettings": { +"description": "Video Settings", +"id": "SiteVideoSettings", +"properties": { +"companionSettings": { +"$ref": "SiteCompanionSetting", +"description": "Settings for the companion creatives of video creatives served to this site." +}, +"kind": { +"description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#siteVideoSettings\".", +"type": "string" +}, +"obaEnabled": { +"description": "Whether OBA icons are enabled for this placement.", +"type": "boolean" +}, +"obaSettings": { +"$ref": "ObaIcon", +"description": "Settings for the OBA icon of video creatives served to this site. This will act as default for new placements created under this site." +}, +"orientation": { +"description": "Orientation of a site template used for video. This will act as default for new placements created under this site.", +"enum": [ +"ANY", +"LANDSCAPE", +"PORTRAIT" +], +"enumDescriptions": [ +"", +"", +"" +], +"type": "string" +}, +"publisherSpecificationId": { +"description": "Publisher specification ID used to identify site-associated publisher requirements and automatically populate transcode settings. If publisher specification ID is specified, it will take precedence over transcode settings. Possible values are: * `1`, Hulu * `2`, NBC * `3`, CBS * `4`, CBS Desktop * `5`, Discovery * `6`, VEVO HD * `7`, VEVO Vertical * `8`, Fox * `9`, CW Network * `10`, Disney * `11`, IGN * `12`, NFL.com * `13`, Turner Broadcasting * `14`, Tubi on Fox * `15`, Hearst Corporation * `16`, Twitch Desktop * `17`, ABC * `18`, Univision * `19`, MLB.com * `20`, MLB.com Mobile * `21`, MLB.com OTT * `22`, Polsat * `23`, TVN * `24`, Mediaset * `25`, Antena 3 * `26`, Mediamond * `27`, Sky Italia * `28`, Tubi on CBS * `29`, Spotify * `30`, Paramount * `31`, Max", +"format": "int64", +"type": "string" +}, +"skippableSettings": { +"$ref": "SiteSkippableSetting", +"description": "Settings for the skippability of video creatives served to this site. This will act as default for new placements created under this site." +}, +"transcodeSettings": { +"$ref": "SiteTranscodeSetting", +"description": "Settings for the transcodes of video creatives served to this site. This will act as default for new placements created under this site." +} +}, +"type": "object" +}, +"SitesListResponse": { +"description": "Site List Response", +"id": "SitesListResponse", +"properties": { +"kind": { +"description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#sitesListResponse\".", +"type": "string" +}, +"nextPageToken": { +"description": "Pagination token to be used for the next list operation.", +"type": "string" +}, +"sites": { +"description": "Site collection.", +"items": { +"$ref": "Site" +}, +"type": "array" +} +}, +"type": "object" +}, +"Size": { +"description": "Represents the dimensions of ads, placements, creatives, or creative assets.", +"id": "Size", +"properties": { +"height": { +"description": "Height of this size. Acceptable values are 0 to 32767, inclusive.", +"format": "int32", +"type": "integer" +}, +"iab": { +"description": "IAB standard size. This is a read-only, auto-generated field.", +"type": "boolean" +}, +"id": { +"description": "ID of this size. This is a read-only, auto-generated field.", +"format": "int64", +"type": "string" +}, +"kind": { +"description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#size\".", +"type": "string" +}, +"width": { +"description": "Width of this size. Acceptable values are 0 to 32767, inclusive.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"SizesListResponse": { +"description": "Size List Response", +"id": "SizesListResponse", +"properties": { +"kind": { +"description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#sizesListResponse\".", +"type": "string" +}, +"sizes": { +"description": "Size collection.", +"items": { +"$ref": "Size" +}, +"type": "array" +} +}, +"type": "object" +}, +"SkippableSetting": { +"description": "Skippable Settings", +"id": "SkippableSetting", +"properties": { +"kind": { +"description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#skippableSetting\".", +"type": "string" +}, +"progressOffset": { +"$ref": "VideoOffset", +"description": "Amount of time to play videos served to this placement before counting a view. Applicable when skippable is true." +}, +"skipOffset": { +"$ref": "VideoOffset", +"description": "Amount of time to play videos served to this placement before the skip button should appear. Applicable when skippable is true." +}, +"skippable": { +"description": "Whether the user can skip creatives served to this placement.", +"type": "boolean" +} +}, +"type": "object" +}, +"SortedDimension": { +"description": "Represents a sorted dimension.", +"id": "SortedDimension", +"properties": { +"kind": { +"description": "The kind of resource this is, in this case dfareporting#sortedDimension.", +"type": "string" +}, +"name": { +"description": "The name of the dimension.", +"type": "string" +}, +"sortOrder": { +"description": "An optional sort order for the dimension column.", +"enum": [ +"ASCENDING", +"DESCENDING" +], +"enumDescriptions": [ +"", +"" +], +"type": "string" +} +}, +"type": "object" +}, +"StudioCreative": { +"description": " *Beta:* This API resource is available only to a very limited number of customers. If you'd like to use this resource, please reach out to your Google sales representative. Contains studio creative information.", +"id": "StudioCreative", +"properties": { +"assetIds": { +"description": "List of assets associated with this studio creative. It is a required field on insertion.", +"items": { +"format": "int64", +"type": "string" +}, +"type": "array" +}, +"backupImageAssetId": { +"description": "Backup image asset ID of this studio creative. It is a required field on insertion.", +"format": "int64", +"type": "string" +}, +"createdInfo": { +"$ref": "LastModifiedInfo", +"description": "The timestamp when the studio creative was created. This is a read-only, auto-generated field." +}, +"dimension": { +"$ref": "StudioCreativeDimension", +"description": "Dimension of this studio creative. This is a required field on insertion if format is BANNER or EXPANDING." +}, +"dynamicProfileId": { +"description": "Dynamic profile ID of this studio creative.", +"format": "int64", +"type": "string" +}, +"format": { +"description": "Format of this studio creative. This is a required field on insertion.", +"enum": [ +"UNKNOWN", +"BANNER", +"EXPANDING", +"INTERSTITIAL", +"VPAID_LINEAR_VIDEO" +], +"enumDescriptions": [ +"The format of the studio creative is unknown. This value is unused.", +"Banner format.", +"Expanding format.", +"Intertitial format.", +"VPAID linear video creative format." +], +"type": "string" +}, +"id": { +"description": "Output only. Unique ID of this studio creative. This is a read-only, auto-generated field.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"lastModifiedInfo": { +"$ref": "LastModifiedInfo", +"description": "The timestamp when the studio creative was last modified. This is a read-only, auto-generated field." +}, +"name": { +"description": "Identifier. Name of this studio creative. This is a required field on insertion.", +"type": "string" +}, +"status": { +"description": "Output only. Status of this studio creative. It is a read-only field.", +"enum": [ +"UNKNOWN_STATUS", +"IN_DEVELOPMENT", +"PUBLISHED", +"QA_REJECTED", +"QA_APPROVED", +"TRAFFICKED" +], +"enumDescriptions": [ +"The status of the studio creative is unknown. This value is unused.", +"The creative is still being developed.", +"The creative has been published and is ready for QA.", +"The creative has failed QA and must be corrected.", +"The creative has passed QA and is ready to be trafficked.", +"The creative has been trafficked to an adserver." +], +"readOnly": true, +"type": "string" +}, +"studioAccountId": { +"description": "Studio account ID of this creative. This field, if left unset, will be auto-populated.", +"format": "int64", +"type": "string" +}, +"studioAdvertiserId": { +"description": "Studio advertiser ID of this studio creative. This is a required field on insertion.", +"format": "int64", +"type": "string" +}, +"studioCampaignId": { +"description": "Studio campaign ID of this studio creative. This is a required field on insertion.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"StudioCreativeAsset": { +"description": " *Beta:* This API resource is available only to a very limited number of customers. If you'd like to use this resource, please reach out to your Google sales representative. Contains studio creative asset information.", +"id": "StudioCreativeAsset", +"properties": { +"createInfo": { +"$ref": "LastModifiedInfo", +"description": "Output only. The creation timestamp of the studio creative asset. This is a read-only field.", +"readOnly": true +}, +"filename": { +"description": "The filename of the studio creative asset. It is default to the original filename of the asset.", +"type": "string" +}, +"filesize": { +"description": "The filesize of the studio creative asset. This is a read-only field.", +"format": "int64", +"type": "string" +}, +"id": { +"description": "Output only. Unique ID of this studio creative asset. This is a read-only, auto-generated field.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"lastModifiedInfo": { +"$ref": "LastModifiedInfo", +"description": "Output only. The last modified timestamp of the studio creative asset. This is a read-only field.", +"readOnly": true +}, +"studioAccountId": { +"description": "Studio account ID of this studio creative asset. This field, if left unset, will be auto-populated..", +"format": "int64", +"type": "string" +}, +"studioAdvertiserId": { +"description": "Studio advertiser ID of this studio creative asset. This is a required field on insertion.", +"format": "int64", +"type": "string" +}, +"studioCreativeId": { +"description": "Studio creative ID of this studio creative asset. The asset will be associated to the creative if creative id is set.", +"format": "int64", +"type": "string" +}, +"type": { +"description": "The type of the studio creative asset. It is a auto-generated, read-only field.", +"enum": [ +"UNKNOWN_TYPE", +"HTML", +"VIDEO", +"IMAGE", +"FONT" +], +"enumDescriptions": [ +"Unknown type of asset.", +"The asset is an HTML file.", +"The asset is a video file.", +"The asset is an image file.", +"The asset is a font file." +], +"type": "string" +}, +"videoProcessingData": { +"$ref": "VideoProcessingData", +"description": "The processing data of the studio creative asset. This is a read-only field." +} +}, +"type": "object" +}, +"StudioCreativeAssetsResponse": { +"description": "Response message for DfareportingStudioCreativeAssets.Insert.", +"id": "StudioCreativeAssetsResponse", +"properties": { +"assets": { +"description": "The list of studio creative assets.", +"items": { +"$ref": "StudioCreativeAsset" +}, +"type": "array" +} +}, +"type": "object" +}, +"StudioCreativeDimension": { +"description": "Dimension information for a studio creative.", +"id": "StudioCreativeDimension", +"properties": { +"height": { +"description": "Height of the studio creative.", +"format": "int32", +"type": "integer" +}, +"width": { +"description": "Width of the studio creative.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"Subaccount": { +"description": "Contains properties of a Campaign Manager subaccount.", +"id": "Subaccount", +"properties": { +"accountId": { +"description": "ID of the account that contains this subaccount. This is a read-only field that can be left blank.", +"format": "int64", +"type": "string" +}, +"availablePermissionIds": { +"description": "IDs of the available user role permissions for this subaccount.", +"items": { +"format": "int64", +"type": "string" +}, +"type": "array" +}, +"id": { +"description": "ID of this subaccount. This is a read-only, auto-generated field.", +"format": "int64", +"type": "string" +}, +"kind": { +"description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#subaccount\".", +"type": "string" +}, +"name": { +"description": "Name of this subaccount. This is a required field. Must be less than 128 characters long and be unique among subaccounts of the same account.", +"type": "string" +} +}, +"type": "object" +}, +"SubaccountsListResponse": { +"description": "Subaccount List Response", +"id": "SubaccountsListResponse", +"properties": { +"kind": { +"description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#subaccountsListResponse\".", +"type": "string" +}, +"nextPageToken": { +"description": "Pagination token to be used for the next list operation.", +"type": "string" +}, +"subaccounts": { +"description": "Subaccount collection.", +"items": { +"$ref": "Subaccount" +}, +"type": "array" +} +}, +"type": "object" +}, +"TagData": { +"description": "Placement Tag Data", +"id": "TagData", +"properties": { +"adId": { +"description": "Ad associated with this placement tag. Applicable only when format is PLACEMENT_TAG_TRACKING.", +"format": "int64", +"type": "string" +}, +"clickTag": { +"description": "Tag string to record a click.", +"type": "string" +}, +"creativeId": { +"description": "Creative associated with this placement tag. Applicable only when format is PLACEMENT_TAG_TRACKING.", +"format": "int64", +"type": "string" +}, +"format": { +"description": "TagData tag format of this tag.", +"enum": [ +"PLACEMENT_TAG_STANDARD", +"PLACEMENT_TAG_IFRAME_JAVASCRIPT", +"PLACEMENT_TAG_IFRAME_ILAYER", +"PLACEMENT_TAG_INTERNAL_REDIRECT", +"PLACEMENT_TAG_JAVASCRIPT", +"PLACEMENT_TAG_INTERSTITIAL_IFRAME_JAVASCRIPT", +"PLACEMENT_TAG_INTERSTITIAL_INTERNAL_REDIRECT", +"PLACEMENT_TAG_INTERSTITIAL_JAVASCRIPT", +"PLACEMENT_TAG_CLICK_COMMANDS", +"PLACEMENT_TAG_INSTREAM_VIDEO_PREFETCH", +"PLACEMENT_TAG_TRACKING", +"PLACEMENT_TAG_TRACKING_IFRAME", +"PLACEMENT_TAG_TRACKING_JAVASCRIPT", +"PLACEMENT_TAG_INSTREAM_VIDEO_PREFETCH_VAST_3", +"PLACEMENT_TAG_IFRAME_JAVASCRIPT_LEGACY", +"PLACEMENT_TAG_JAVASCRIPT_LEGACY", +"PLACEMENT_TAG_INTERSTITIAL_IFRAME_JAVASCRIPT_LEGACY", +"PLACEMENT_TAG_INTERSTITIAL_JAVASCRIPT_LEGACY", +"PLACEMENT_TAG_INSTREAM_VIDEO_PREFETCH_VAST_4", +"PLACEMENT_TAG_TRACKING_THIRD_PARTY_MEASUREMENT" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"" +], +"type": "string" +}, +"impressionTag": { +"description": "Tag string for serving an ad.", +"type": "string" +} +}, +"type": "object" +}, +"TagSetting": { +"description": "Tag Settings", +"id": "TagSetting", +"properties": { +"additionalKeyValues": { +"description": "Additional key-values to be included in tags. Each key-value pair must be of the form key=value, and pairs must be separated by a semicolon (;). Keys and values must not contain commas. For example, id=2;color=red is a valid value for this field.", +"type": "string" +}, +"includeClickThroughUrls": { +"description": "Whether static landing page URLs should be included in the tags. New placements will default to the value set on their site.", +"type": "boolean" +}, +"includeClickTracking": { +"description": "Whether click-tracking string should be included in the tags.", +"type": "boolean" +}, +"includeUnescapedlpurlMacro": { +"description": "Optional. Indicates that the unescapedlpurl macro should be included in the tag for the static landing page. New placements will default to the value set on their site.", +"type": "boolean" +}, +"keywordOption": { +"description": "Option specifying how keywords are embedded in ad tags. This setting can be used to specify whether keyword placeholders are inserted in placement tags for this site. Publishers can then add keywords to those placeholders.", +"enum": [ +"PLACEHOLDER_WITH_LIST_OF_KEYWORDS", +"IGNORE", +"GENERATE_SEPARATE_TAG_FOR_EACH_KEYWORD" +], +"enumDescriptions": [ +"Creates DART ad tags with a placeholder, such as kw=[keyword] and a list of keywords. The site trafficker must replace [keyword] with the keywords targeted by an ad.", +"Creates DART ad tags that do not have a placeholder for keywords and creates a list of keywords separately from the DART ad tags. Use this option if the site uses a keyword referrer or is a site that uses DART for Publishers.", +"Results in unique tag generation for each relevant keyword during tag export. For example, an ad with three keywords will generate three tags with each tag having its kw= parameter filled in with the relevant keyword values." +], +"type": "string" +} +}, +"type": "object" +}, +"TagSettings": { +"description": "Dynamic and Image Tag Settings.", +"id": "TagSettings", +"properties": { +"dynamicTagEnabled": { +"description": "Whether dynamic floodlight tags are enabled.", +"type": "boolean" +}, +"imageTagEnabled": { +"description": "Whether image tags are enabled.", +"type": "boolean" +} +}, +"type": "object" +}, +"TargetWindow": { +"description": "Target Window.", +"id": "TargetWindow", +"properties": { +"customHtml": { +"description": "User-entered value.", +"type": "string" +}, +"targetWindowOption": { +"description": "Type of browser window for which the backup image of the flash creative can be displayed.", +"enum": [ +"NEW_WINDOW", +"CURRENT_WINDOW", +"CUSTOM" +], +"enumDescriptions": [ +"Open up a new window to display the backup image Corresponds to \"_blank\" in html", +"Use the current window to display the backup image Corresponds to \"_top\" in html", +"User-defined HTML used to display the backup image Corresponds to \"other\"" +], +"type": "string" +} +}, +"type": "object" +}, +"TargetableRemarketingList": { +"description": "Contains properties of a targetable remarketing list. Remarketing enables you to create lists of users who have performed specific actions on a site, then target ads to members of those lists. This resource is a read-only view of a remarketing list to be used to facilitate targeting ads to specific lists. Remarketing lists that are owned by your advertisers and those that are shared to your advertisers or account are accessible via this resource. To manage remarketing lists that are owned by your advertisers, use the RemarketingLists resource.", +"id": "TargetableRemarketingList", +"properties": { +"accountId": { +"description": "Account ID of this remarketing list. This is a read-only, auto-generated field that is only returned in GET requests.", +"format": "int64", +"type": "string" +}, +"active": { +"description": "Whether this targetable remarketing list is active.", +"type": "boolean" +}, +"advertiserId": { +"description": "Dimension value for the advertiser ID that owns this targetable remarketing list.", +"format": "int64", +"type": "string" +}, +"advertiserIdDimensionValue": { +"$ref": "DimensionValue", +"description": "Dimension value for the ID of the advertiser." +}, +"description": { +"description": "Targetable remarketing list description.", +"type": "string" +}, +"id": { +"description": "Targetable remarketing list ID.", +"format": "int64", +"type": "string" +}, +"kind": { +"description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#targetableRemarketingList\".", +"type": "string" +}, +"lifeSpan": { +"description": "Number of days that a user should remain in the targetable remarketing list without an impression.", +"format": "int64", +"type": "string" +}, +"listSize": { +"description": "Number of users currently in the list. This is a read-only field.", +"format": "int64", +"type": "string" +}, +"listSource": { +"description": "Product from which this targetable remarketing list was originated.", +"enum": [ +"REMARKETING_LIST_SOURCE_OTHER", +"REMARKETING_LIST_SOURCE_ADX", +"REMARKETING_LIST_SOURCE_DFP", +"REMARKETING_LIST_SOURCE_XFP", +"REMARKETING_LIST_SOURCE_DFA", +"REMARKETING_LIST_SOURCE_GA", +"REMARKETING_LIST_SOURCE_YOUTUBE", +"REMARKETING_LIST_SOURCE_DBM", +"REMARKETING_LIST_SOURCE_GPLUS", +"REMARKETING_LIST_SOURCE_DMP", +"REMARKETING_LIST_SOURCE_PLAY_STORE" +], +"enumDescriptions": [ +"covers sources not supported in DCM other than those listed below", +"ADX", +"DFP", +"XFP", +"DoubleClick Campaign Manager", +"Google Analytics Premium", +"Youtube", +"DoubleClick Bid Manager", +"G+", +"DoubleClick Audience Center", +"Playstore" +], +"type": "string" +}, +"name": { +"description": "Name of the targetable remarketing list. Is no greater than 128 characters long.", +"type": "string" +}, +"subaccountId": { +"description": "Subaccount ID of this remarketing list. This is a read-only, auto-generated field that is only returned in GET requests.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"TargetableRemarketingListsListResponse": { +"description": "Targetable remarketing list response", +"id": "TargetableRemarketingListsListResponse", +"properties": { +"kind": { +"description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#targetableRemarketingListsListResponse\".", +"type": "string" +}, +"nextPageToken": { +"description": "Pagination token to be used for the next list operation.", +"type": "string" +}, +"targetableRemarketingLists": { +"description": "Targetable remarketing list collection.", +"items": { +"$ref": "TargetableRemarketingList" +}, +"type": "array" +} +}, +"type": "object" +}, +"TargetingTemplate": { +"description": "Contains properties of a targeting template. A targeting template encapsulates targeting information which can be reused across multiple ads.", +"id": "TargetingTemplate", +"properties": { +"accountId": { +"description": "Account ID of this targeting template. This field, if left unset, will be auto-generated on insert and is read-only after insert.", +"format": "int64", +"type": "string" +}, +"advertiserId": { +"description": "Advertiser ID of this targeting template. This is a required field on insert and is read-only after insert.", +"format": "int64", +"type": "string" +}, +"advertiserIdDimensionValue": { +"$ref": "DimensionValue", +"description": "Dimension value for the ID of the advertiser. This is a read-only, auto-generated field." +}, +"contextualKeywordTargeting": { +"$ref": "ContextualKeywordTargeting", +"description": "Optional. Contextual keyword targeting criteria." +}, +"dayPartTargeting": { +"$ref": "DayPartTargeting", +"description": "Time and day targeting criteria." +}, +"geoTargeting": { +"$ref": "GeoTargeting", +"description": "Geographical targeting criteria." +}, +"id": { +"description": "ID of this targeting template. This is a read-only, auto-generated field.", +"format": "int64", +"type": "string" +}, +"keyValueTargetingExpression": { +"$ref": "KeyValueTargetingExpression", +"description": "Key-value targeting criteria." +}, +"kind": { +"description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#targetingTemplate\".", +"type": "string" +}, +"languageTargeting": { +"$ref": "LanguageTargeting", +"description": "Language targeting criteria." +}, +"listTargetingExpression": { +"$ref": "ListTargetingExpression", +"description": "Remarketing list targeting criteria." +}, +"name": { +"description": "Name of this targeting template. This field is required. It must be less than 256 characters long and unique within an advertiser.", +"type": "string" +}, +"subaccountId": { +"description": "Subaccount ID of this targeting template. This field, if left unset, will be auto-generated on insert and is read-only after insert.", +"format": "int64", +"type": "string" +}, +"technologyTargeting": { +"$ref": "TechnologyTargeting", +"description": "Technology platform targeting criteria." +} +}, +"type": "object" +}, +"TargetingTemplatesListResponse": { +"description": "Targeting Template List Response", +"id": "TargetingTemplatesListResponse", +"properties": { +"kind": { +"description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#targetingTemplatesListResponse\".", +"type": "string" +}, +"nextPageToken": { +"description": "Pagination token to be used for the next list operation.", +"type": "string" +}, +"targetingTemplates": { +"description": "Targeting template collection.", +"items": { +"$ref": "TargetingTemplate" +}, +"type": "array" +} +}, +"type": "object" +}, +"TechnologyTargeting": { +"description": "Technology Targeting.", +"id": "TechnologyTargeting", +"properties": { +"browsers": { +"description": "Browsers that this ad targets. For each browser either set browserVersionId or dartId along with the version numbers. If both are specified, only browserVersionId will be used. The other fields are populated automatically when the ad is inserted or updated.", +"items": { +"$ref": "Browser" +}, +"type": "array" +}, +"connectionTypes": { +"description": "Connection types that this ad targets. For each connection type only id is required. The other fields are populated automatically when the ad is inserted or updated.", +"items": { +"$ref": "ConnectionType" +}, +"type": "array" +}, +"mobileCarriers": { +"description": "Mobile carriers that this ad targets. For each mobile carrier only id is required, and the other fields are populated automatically when the ad is inserted or updated. If targeting a mobile carrier, do not set targeting for any zip codes.", +"items": { +"$ref": "MobileCarrier" +}, +"type": "array" +}, +"operatingSystemVersions": { +"description": "Operating system versions that this ad targets. To target all versions, use operatingSystems. For each operating system version, only id is required. The other fields are populated automatically when the ad is inserted or updated. If targeting an operating system version, do not set targeting for the corresponding operating system in operatingSystems.", +"items": { +"$ref": "OperatingSystemVersion" +}, +"type": "array" +}, +"operatingSystems": { +"description": "Operating systems that this ad targets. To target specific versions, use operatingSystemVersions. For each operating system only dartId is required. The other fields are populated automatically when the ad is inserted or updated. If targeting an operating system, do not set targeting for operating system versions for the same operating system.", +"items": { +"$ref": "OperatingSystem" +}, +"type": "array" +}, +"platformTypes": { +"description": "Platform types that this ad targets. For example, desktop, mobile, or tablet. For each platform type, only id is required, and the other fields are populated automatically when the ad is inserted or updated.", +"items": { +"$ref": "PlatformType" +}, +"type": "array" +} +}, +"type": "object" +}, +"ThirdPartyAuthenticationToken": { +"description": "Third Party Authentication Token", +"id": "ThirdPartyAuthenticationToken", +"properties": { +"name": { +"description": "Name of the third-party authentication token.", +"type": "string" +}, +"value": { +"description": "Value of the third-party authentication token. This is a read-only, auto-generated field.", +"type": "string" +} +}, +"type": "object" +}, +"ThirdPartyTrackingUrl": { +"description": "Third-party Tracking URL.", +"id": "ThirdPartyTrackingUrl", +"properties": { +"thirdPartyUrlType": { +"description": "Third-party URL type for in-stream video and in-stream audio creatives.", +"enum": [ +"IMPRESSION", +"CLICK_TRACKING", +"VIDEO_START", +"VIDEO_FIRST_QUARTILE", +"VIDEO_MIDPOINT", +"VIDEO_THIRD_QUARTILE", +"VIDEO_COMPLETE", +"VIDEO_MUTE", +"VIDEO_PAUSE", +"VIDEO_REWIND", +"VIDEO_FULLSCREEN", +"VIDEO_STOP", +"VIDEO_CUSTOM", +"SURVEY", +"RICH_MEDIA_IMPRESSION", +"RICH_MEDIA_RM_IMPRESSION", +"RICH_MEDIA_BACKUP_IMPRESSION", +"VIDEO_SKIP", +"VIDEO_PROGRESS" +], +"enumDescriptions": [ +"Used to count impressions of the ad after video buffering is complete.", +"Used to track user clicks on the video.", +"Used to track the number of times a user starts a video.", +"Used to track the number of times the video plays to 25% of its length.", +"Used to track the number of times the video plays to 50% of its length.", +"Used to track the number of times the video plays to 75% of its length.", +"Used to track the number of times the video plays to the end.", +"Used to track the number of times a user mutes the video.", +"Used to track the number of times a user pauses the video.", +"Used to track the number of times a user replays the video.", +"Used to track the number of times a user expands the video to full-screen size.", +"Used to track the number of times a user stops the video.", +"Used to track the number of times a user performs a custom click, such as clicking on a video hot spot.", +"Used for DFA6 compatibility, this is deprecating in favor of event tags.", +"Used by Studio RichMediaCreative, maps to its thirdPartyImpressionsUrl", +"Used by Studio RichMediaCreative, maps to its thirdPartyRichMediaImpressionsUrl", +"Used by Studio RichMediaCreative, maps to its thirdPartyBackupImageImpressionsUrl", +"Used to track the number of times the video was skipped.", +"Used to track the number of times the video plays to an offset determined by the user." +], +"type": "string" +}, +"url": { +"description": "URL for the specified third-party URL type.", +"type": "string" +} +}, +"type": "object" +}, +"TranscodeSetting": { +"description": "Transcode Settings", +"id": "TranscodeSetting", +"properties": { +"enabledVideoFormats": { +"description": "Allowlist of video formats to be served to this placement. Set this list to null or empty to serve all video formats.", +"items": { +"format": "int32", +"type": "integer" +}, +"type": "array" +}, +"kind": { +"description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#transcodeSetting\".", +"type": "string" +} +}, +"type": "object" +}, +"TvCampaignDetail": { +"description": "TvCampaignDetail contains data from a TV campaign for specific start dates and date windows.", +"id": "TvCampaignDetail", +"properties": { +"id": { +"description": "ID of this TV campaign.", +"type": "string" +}, +"kind": { +"description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#tvCampaignSummary\".", +"type": "string" +}, +"timepoints": { +"description": "The timepoints of the TV campaign.", +"items": { +"$ref": "TvCampaignTimepoint" +}, +"type": "array" +} +}, +"type": "object" +}, +"TvCampaignSummariesListResponse": { +"description": "Response message for TvCampaignSummariesService.List.", +"id": "TvCampaignSummariesListResponse", +"properties": { +"kind": { +"description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#tvCampaignSummariesListResponse\".", +"type": "string" +}, +"tvCampaignSummaries": { +"description": "List of TV campaign summaries.", +"items": { +"$ref": "TvCampaignSummary" +}, +"type": "array" +} +}, +"type": "object" +}, +"TvCampaignSummary": { +"description": "TvCampaignSummary contains aggregate data from a TV campaign.", +"id": "TvCampaignSummary", +"properties": { +"endDate": { +"description": "The end date of the TV campaign, inclusive. A string of the format: \"yyyy-MM-dd\".", +"type": "string" +}, +"grp": { +"description": "GRP of this TV campaign.", +"format": "int64", +"type": "string" +}, +"id": { +"description": "ID of this TV campaign.", +"type": "string" +}, +"impressions": { +"description": "Impressions across the entire TV campaign.", +"format": "int64", +"type": "string" +}, +"kind": { +"description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#tvCampaignSummary\".", +"type": "string" +}, +"name": { +"description": "Identifier. Name of this TV campaign.", +"type": "string" +}, +"spend": { +"description": "Spend across the entire TV campaign.", +"format": "double", +"type": "number" +}, +"startDate": { +"description": "The start date of the TV campaign, inclusive. A string of the format: \"yyyy-MM-dd\".", +"type": "string" +}, +"type": { +"description": "\"CampaignComponentType\" of this TV campaign.", +"enum": [ +"CAMPAIGN_COMPONENT_TYPE_UNSPECIFIED", +"COMPANY", +"BRAND", +"PRODUCT", +"CAMPAIGN" +], +"enumDescriptions": [ +"Required to exist; do not use.", +"Company.", +"Brand.", +"Product.", +"Campaign." +], +"type": "string" +} +}, +"type": "object" +}, +"TvCampaignTimepoint": { +"description": "A single data point for TvCampaignDetail, which holds information about the TV campaign for a specific start date and date window.", +"id": "TvCampaignTimepoint", +"properties": { +"dateWindow": { +"description": "The date window of the timepoint.", +"enum": [ +"WEEKS_UNSPECIFIED", +"WEEKS_ONE", +"WEEKS_FOUR", +"WEEKS_EIGHT", +"WEEKS_TWELVE" +], +"enumDescriptions": [ +"Default value, should never be set.", +"One week.", +"Four weeks.", +"Eight weeks.", +"Twelve weeks." +], +"type": "string" +}, +"spend": { +"description": "The spend within the time range of the timepoint.", +"format": "double", +"type": "number" +}, +"startDate": { +"description": "The start date of the timepoint. A string in the format of \"yyyy-MM-dd\".", +"type": "string" +} +}, +"type": "object" +}, +"UniversalAdId": { +"description": "A Universal Ad ID as per the VAST 4.0 spec. Applicable to the following creative types: INSTREAM_AUDIO, INSTREAM_VIDEO and VPAID.", +"id": "UniversalAdId", +"properties": { +"registry": { +"description": "Registry used for the Ad ID value.", +"enum": [ +"OTHER", +"AD_ID_OFFICIAL", +"CLEARCAST", +"DCM", +"ARPP", +"CUSV" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"" +], +"type": "string" +}, +"value": { +"description": "ID value for this creative. Only alphanumeric characters and the following symbols are valid: \"_/\\-\". Maximum length is 64 characters. Read only when registry is DCM.", +"type": "string" +} +}, +"type": "object" +}, +"UserDefinedVariableConfiguration": { +"description": "User Defined Variable configuration.", +"id": "UserDefinedVariableConfiguration", +"properties": { +"dataType": { +"description": "Data type for the variable. This is a required field.", +"enum": [ +"STRING", +"NUMBER" +], +"enumDescriptions": [ +"", +"" +], +"type": "string" +}, +"reportName": { +"description": "User-friendly name for the variable which will appear in reports. This is a required field, must be less than 64 characters long, and cannot contain the following characters: \"\"<>\".", +"type": "string" +}, +"variableType": { +"description": "Variable name in the tag. This is a required field.", +"enum": [ +"U1", +"U2", +"U3", +"U4", +"U5", +"U6", +"U7", +"U8", +"U9", +"U10", +"U11", +"U12", +"U13", +"U14", +"U15", +"U16", +"U17", +"U18", +"U19", +"U20", +"U21", +"U22", +"U23", +"U24", +"U25", +"U26", +"U27", +"U28", +"U29", +"U30", +"U31", +"U32", +"U33", +"U34", +"U35", +"U36", +"U37", +"U38", +"U39", +"U40", +"U41", +"U42", +"U43", +"U44", +"U45", +"U46", +"U47", +"U48", +"U49", +"U50", +"U51", +"U52", +"U53", +"U54", +"U55", +"U56", +"U57", +"U58", +"U59", +"U60", +"U61", +"U62", +"U63", +"U64", +"U65", +"U66", +"U67", +"U68", +"U69", +"U70", +"U71", +"U72", +"U73", +"U74", +"U75", +"U76", +"U77", +"U78", +"U79", +"U80", +"U81", +"U82", +"U83", +"U84", +"U85", +"U86", +"U87", +"U88", +"U89", +"U90", +"U91", +"U92", +"U93", +"U94", +"U95", +"U96", +"U97", +"U98", +"U99", +"U100" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"" +], +"type": "string" +} +}, +"type": "object" +}, +"UserIdentifier": { +"description": "User identifying information. Exactly one type of identifier must be specified.", +"id": "UserIdentifier", +"properties": { +"addressInfo": { +"$ref": "OfflineUserAddressInfo", +"description": "Address information." +}, +"hashedEmail": { +"description": "Hashed email address using SHA-256 hash function after normalization.", +"type": "string" +}, +"hashedPhoneNumber": { +"description": "Hashed phone number using SHA-256 hash function after normalization (E164 standard).", +"type": "string" +} +}, +"type": "object" +}, +"UserProfile": { +"description": "A UserProfile resource lets you list all DFA user profiles that are associated with a Google user account. The profile_id needs to be specified in other API requests. ", +"id": "UserProfile", +"properties": { +"accountId": { +"description": "The account ID to which this profile belongs.", +"format": "int64", +"type": "string" +}, +"accountName": { +"description": "The account name this profile belongs to.", +"type": "string" +}, +"etag": { +"description": "Etag of this resource.", +"type": "string" +}, +"kind": { +"description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#userProfile\".", +"type": "string" +}, +"profileId": { +"description": "The unique ID of the user profile.", +"format": "int64", +"type": "string" +}, +"subAccountId": { +"description": "The sub account ID this profile belongs to if applicable.", +"format": "int64", +"type": "string" +}, +"subAccountName": { +"description": "The sub account name this profile belongs to if applicable.", +"type": "string" +}, +"userName": { +"description": "The user name.", +"type": "string" +} +}, +"type": "object" +}, +"UserProfileList": { +"description": "Represents the list of user profiles.", +"id": "UserProfileList", +"properties": { +"etag": { +"description": "Etag of this resource.", +"type": "string" +}, +"items": { +"description": "The user profiles returned in this response.", +"items": { +"$ref": "UserProfile" +}, +"type": "array" +}, +"kind": { +"description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#userProfileList\".", +"type": "string" +} +}, +"type": "object" +}, +"UserRole": { +"description": "Contains properties of auser role, which is used to manage user access.", +"id": "UserRole", +"properties": { +"accountId": { +"description": "Account ID of this user role. This is a read-only field that can be left blank.", +"format": "int64", +"type": "string" +}, +"defaultUserRole": { +"description": "Whether this is a default user role. Default user roles are created by the system for the account/subaccount and cannot be modified or deleted. Each default user role comes with a basic set of preassigned permissions.", +"type": "boolean" +}, +"id": { +"description": "ID of this user role. This is a read-only, auto-generated field.", +"format": "int64", +"type": "string" +}, +"kind": { +"description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#userRole\".", +"type": "string" +}, +"name": { +"description": "Name of this user role. This is a required field. Must be less than 256 characters long. If this user role is under a subaccount, the name must be unique among sites of the same subaccount. Otherwise, this user role is a top-level user role, and the name must be unique among top-level user roles of the same account.", +"type": "string" +}, +"parentUserRoleId": { +"description": "ID of the user role that this user role is based on or copied from. This is a required field.", +"format": "int64", +"type": "string" +}, +"permissions": { +"description": "List of permissions associated with this user role.", +"items": { +"$ref": "UserRolePermission" +}, +"type": "array" +}, +"subaccountId": { +"description": "Subaccount ID of this user role. This is a read-only field that can be left blank.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"UserRolePermission": { +"description": "Contains properties of a user role permission.", +"id": "UserRolePermission", +"properties": { +"availability": { +"description": "Levels of availability for a user role permission.", +"enum": [ +"NOT_AVAILABLE_BY_DEFAULT", +"ACCOUNT_BY_DEFAULT", +"SUBACCOUNT_AND_ACCOUNT_BY_DEFAULT", +"ACCOUNT_ALWAYS", +"SUBACCOUNT_AND_ACCOUNT_ALWAYS", +"USER_PROFILE_ONLY" +], +"enumDescriptions": [ +"Not available by default.", +"Available by default to accounts only.", +"Available by default to both accounts and subaccounts.", +"Always available to accounts.", +"Always available to both accounts and subaccounts.", +"Available for user profile permissions only." +], +"type": "string" +}, +"id": { +"description": "ID of this user role permission.", +"format": "int64", +"type": "string" +}, +"kind": { +"description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#userRolePermission\".", +"type": "string" +}, +"name": { +"description": "Name of this user role permission.", +"type": "string" +}, +"permissionGroupId": { +"description": "ID of the permission group that this user role permission belongs to.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"UserRolePermissionGroup": { +"description": "Represents a grouping of related user role permissions.", +"id": "UserRolePermissionGroup", +"properties": { +"id": { +"description": "ID of this user role permission.", +"format": "int64", +"type": "string" +}, +"kind": { +"description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#userRolePermissionGroup\".", +"type": "string" +}, +"name": { +"description": "Name of this user role permission group.", +"type": "string" +} +}, +"type": "object" +}, +"UserRolePermissionGroupsListResponse": { +"description": "User Role Permission Group List Response", +"id": "UserRolePermissionGroupsListResponse", +"properties": { +"kind": { +"description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#userRolePermissionGroupsListResponse\".", +"type": "string" +}, +"userRolePermissionGroups": { +"description": "User role permission group collection.", +"items": { +"$ref": "UserRolePermissionGroup" +}, +"type": "array" +} +}, +"type": "object" +}, +"UserRolePermissionsListResponse": { +"description": "User Role Permission List Response", +"id": "UserRolePermissionsListResponse", +"properties": { +"kind": { +"description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#userRolePermissionsListResponse\".", +"type": "string" +}, +"userRolePermissions": { +"description": "User role permission collection.", +"items": { +"$ref": "UserRolePermission" +}, +"type": "array" +} +}, +"type": "object" +}, +"UserRolesListResponse": { +"description": "User Role List Response", +"id": "UserRolesListResponse", +"properties": { +"kind": { +"description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#userRolesListResponse\".", +"type": "string" +}, +"nextPageToken": { +"description": "Pagination token to be used for the next list operation.", +"type": "string" +}, +"userRoles": { +"description": "User role collection.", +"items": { +"$ref": "UserRole" +}, +"type": "array" +} +}, +"type": "object" +}, +"VideoFormat": { +"description": "Contains information about supported video formats.", +"id": "VideoFormat", +"properties": { +"fileType": { +"description": "File type of the video format.", +"enum": [ +"FLV", +"THREEGPP", +"MP4", +"WEBM", +"M3U8" +], +"enumDescriptions": [ +"", +"", +"", +"", +"" +], +"type": "string" +}, +"id": { +"description": "ID of the video format.", +"format": "int32", +"type": "integer" +}, +"kind": { +"description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#videoFormat\".", +"type": "string" +}, +"resolution": { +"$ref": "Size", +"description": "The resolution of this video format." +}, +"targetBitRate": { +"description": "The target bit rate of this video format.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"VideoFormatsListResponse": { +"description": "Video Format List Response", +"id": "VideoFormatsListResponse", +"properties": { +"kind": { +"description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#videoFormatsListResponse\".", +"type": "string" +}, +"videoFormats": { +"description": "Video format collection.", +"items": { +"$ref": "VideoFormat" +}, +"type": "array" +} +}, +"type": "object" +}, +"VideoOffset": { +"description": "Video Offset", +"id": "VideoOffset", +"properties": { +"offsetPercentage": { +"description": "Duration, as a percentage of video duration. Do not set when offsetSeconds is set. Acceptable values are 0 to 100, inclusive.", +"format": "int32", +"type": "integer" +}, +"offsetSeconds": { +"description": "Duration, in seconds. Do not set when offsetPercentage is set. Acceptable values are 0 to 86399, inclusive.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"VideoProcessingData": { +"description": "Contains processing data for a video asset.", +"id": "VideoProcessingData", +"properties": { +"errorReason": { +"description": "For a FAILED processing state, the error reason discovered.", +"type": "string" +}, +"processingState": { +"description": "Output only. The processing state of the studio creative asset.", +"enum": [ +"UNKNOWN", +"PROCESSING", +"SUCCEEDED", +"FAILED" +], +"enumDescriptions": [ +"The processing state is unknown.", +"The asset is being processed.", +"The asset was successfully processed.", +"The asset failed to be processed." +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"VideoSettings": { +"description": "Video Settings", +"id": "VideoSettings", +"properties": { +"companionSettings": { +"$ref": "CompanionSetting", +"description": "Settings for the companion creatives of video creatives served to this placement." +}, +"durationSeconds": { +"description": "Duration of a video placement in seconds.", +"format": "int32", +"type": "integer" +}, +"kind": { +"description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#videoSettings\".", +"type": "string" +}, +"obaEnabled": { +"description": "Whether OBA icons are enabled for this placement.", +"type": "boolean" +}, +"obaSettings": { +"$ref": "ObaIcon", +"description": "Settings for the OBA icon of video creatives served to this placement. If this object is provided, the creative-level OBA settings will be overridden." +}, +"orientation": { +"description": "Orientation of a video placement. If this value is set, placement will return assets matching the specified orientation.", +"enum": [ +"ANY", +"LANDSCAPE", +"PORTRAIT" +], +"enumDescriptions": [ +"", +"", +"" +], +"type": "string" +}, +"publisherSpecificationId": { +"description": "Publisher specification ID of a video placement. Possible values are: * `1`, Hulu * `2`, NBC * `3`, CBS * `4`, CBS Desktop * `5`, Discovery * `6`, VEVO HD * `7`, VEVO Vertical * `8`, Fox * `9`, CW Network * `10`, Disney * `11`, IGN * `12`, NFL.com * `13`, Turner Broadcasting * `14`, Tubi on Fox * `15`, Hearst Corporation * `16`, Twitch Desktop * `17`, ABC * `18`, Univision * `19`, MLB.com * `20`, MLB.com Mobile * `21`, MLB.com OTT * `22`, Polsat * `23`, TVN * `24`, Mediaset * `25`, Antena 3 * `26`, Mediamond * `27`, Sky Italia * `28`, Tubi on CBS * `29`, Spotify * `30`, Paramount * `31`, Max", +"format": "int64", +"type": "string" +}, +"skippableSettings": { +"$ref": "SkippableSetting", +"description": "Settings for the skippability of video creatives served to this placement. If this object is provided, the creative-level skippable settings will be overridden." +}, +"transcodeSettings": { +"$ref": "TranscodeSetting", +"description": "Settings for the transcodes of video creatives served to this placement. If this object is provided, the creative-level transcode settings will be overridden." +} +}, +"type": "object" +}, +"YoutubeSettings": { +"description": "Contains the YouTube settings.", +"id": "YoutubeSettings", +"properties": { +"businessLogoCreativeIds": { +"description": "Optional. The IDs of the creatives to use for the business logo. Currently only one creative is supported.", +"items": { +"format": "int64", +"type": "string" +}, +"type": "array" +}, +"businessName": { +"description": "Optional. The business name.", +"type": "string" +}, +"callToActions": { +"description": "Optional. The call to actions. Currently only one call to action is supported.", +"items": { +"enum": [ +"CALL_TO_ACTION_UNKNOWN", +"CALL_TO_ACTION_LEARN_MORE", +"CALL_TO_ACTION_GET_QUOTE", +"CALL_TO_ACTION_APPLY_NOW", +"CALL_TO_ACTION_SIGN_UP", +"CALL_TO_ACTION_CONTACT_US", +"CALL_TO_ACTION_SUBSCRIBE", +"CALL_TO_ACTION_DOWNLOAD", +"CALL_TO_ACTION_BOOK_NOW", +"CALL_TO_ACTION_GET_OFFER", +"CALL_TO_ACTION_SHOP_NOW", +"CALL_TO_ACTION_VISIT_STORE", +"CALL_TO_ACTION_CALL_NOW", +"CALL_TO_ACTION_VIEW_MENU", +"CALL_TO_ACTION_TEST_DRIVE", +"CALL_TO_ACTION_SCHEDULE_NOW", +"CALL_TO_ACTION_BUY_NOW", +"CALL_TO_ACTION_DONATE_NOW", +"CALL_TO_ACTION_ORDER_NOW", +"CALL_TO_ACTION_PLAY_NOW", +"CALL_TO_ACTION_SEE_MORE", +"CALL_TO_ACTION_START_NOW", +"CALL_TO_ACTION_VISIT_SITE", +"CALL_TO_ACTION_WATCH_NOW" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"" +], +"type": "string" +}, +"type": "array" +}, +"descriptions": { +"description": "Optional. The descriptions. Currently only one description is supported.", +"items": { +"type": "string" +}, +"type": "array" +}, +"headlines": { +"description": "Optional. The headlines associated with the call to actions. Currently only one headline is supported.", +"items": { +"type": "string" +}, +"type": "array" +}, +"longHeadlines": { +"description": "Optional. The long headlines. Currently only one long headline is supported.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +} +}, +"servicePath": "dfareporting/v4/", +"title": "Campaign Manager 360 API", +"version": "v4" +} \ No newline at end of file diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/dfareporting.v5.json b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/dfareporting.v5.json new file mode 100644 index 0000000000000000000000000000000000000000..1e4e98994ea44d769a27256466bb360e6b58f2d0 --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/dfareporting.v5.json @@ -0,0 +1,22258 @@ +{ +"auth": { +"oauth2": { +"scopes": { +"https://www.googleapis.com/auth/ddmconversions": { +"description": "Manage DoubleClick Digital Marketing conversions" +}, +"https://www.googleapis.com/auth/dfareporting": { +"description": "View and manage DoubleClick for Advertisers reports" +}, +"https://www.googleapis.com/auth/dfatrafficking": { +"description": "View and manage your DoubleClick Campaign Manager's (DCM) display ad campaigns" +} +} +} +}, +"basePath": "/dfareporting/v5/", +"baseUrl": "https://dfareporting.googleapis.com/dfareporting/v5/", +"batchPath": "batch", +"canonicalName": "Dfareporting", +"description": "Build applications to efficiently manage large or complex trafficking, reporting, and attribution workflows for Campaign Manager 360.", +"discoveryVersion": "v1", +"documentationLink": "https://developers.google.com/doubleclick-advertisers/", +"fullyEncodeReservedExpansion": true, +"icons": { +"x16": "http://www.google.com/images/icons/product/search-16.gif", +"x32": "http://www.google.com/images/icons/product/search-32.gif" +}, +"id": "dfareporting:v5", +"kind": "discovery#restDescription", +"mtlsRootUrl": "https://dfareporting.mtls.googleapis.com/", +"name": "dfareporting", +"ownerDomain": "google.com", +"ownerName": "Google", +"parameters": { +"$.xgafv": { +"description": "V1 error format.", +"enum": [ +"1", +"2" +], +"enumDescriptions": [ +"v1 error format", +"v2 error format" +], +"location": "query", +"type": "string" +}, +"access_token": { +"description": "OAuth access token.", +"location": "query", +"type": "string" +}, +"alt": { +"default": "json", +"description": "Data format for response.", +"enum": [ +"json", +"media", +"proto" +], +"enumDescriptions": [ +"Responses with Content-Type of application/json", +"Media download with context-dependent Content-Type", +"Responses with Content-Type of application/x-protobuf" +], +"location": "query", +"type": "string" +}, +"callback": { +"description": "JSONP", +"location": "query", +"type": "string" +}, +"fields": { +"description": "Selector specifying which fields to include in a partial response.", +"location": "query", +"type": "string" +}, +"key": { +"description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", +"location": "query", +"type": "string" +}, +"oauth_token": { +"description": "OAuth 2.0 token for the current user.", +"location": "query", +"type": "string" +}, +"prettyPrint": { +"default": "true", +"description": "Returns response with indentations and line breaks.", +"location": "query", +"type": "boolean" +}, +"quotaUser": { +"description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.", +"location": "query", +"type": "string" +}, +"uploadType": { +"description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", +"location": "query", +"type": "string" +}, +"upload_protocol": { +"description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", +"location": "query", +"type": "string" +} +}, +"protocol": "rest", +"resources": { +"accountActiveAdSummaries": { +"methods": { +"get": { +"description": "Gets the account's active ad summary by account ID.", +"flatPath": "userprofiles/{userprofilesId}/accountActiveAdSummaries/{accountActiveAdSummariesId}", +"httpMethod": "GET", +"id": "dfareporting.accountActiveAdSummaries.get", +"parameterOrder": [ +"profileId", +"summaryAccountId" +], +"parameters": { +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"summaryAccountId": { +"description": "Account ID.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/accountActiveAdSummaries/{+summaryAccountId}", +"response": { +"$ref": "AccountActiveAdSummary" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +} +} +}, +"accountPermissionGroups": { +"methods": { +"get": { +"description": "Gets one account permission group by ID.", +"flatPath": "userprofiles/{userprofilesId}/accountPermissionGroups/{accountPermissionGroupsId}", +"httpMethod": "GET", +"id": "dfareporting.accountPermissionGroups.get", +"parameterOrder": [ +"profileId", +"id" +], +"parameters": { +"id": { +"description": "Account permission group ID.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/accountPermissionGroups/{+id}", +"response": { +"$ref": "AccountPermissionGroup" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +}, +"list": { +"description": "Retrieves the list of account permission groups.", +"flatPath": "userprofiles/{userprofilesId}/accountPermissionGroups", +"httpMethod": "GET", +"id": "dfareporting.accountPermissionGroups.list", +"parameterOrder": [ +"profileId" +], +"parameters": { +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/accountPermissionGroups", +"response": { +"$ref": "AccountPermissionGroupsListResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +} +} +}, +"accountPermissions": { +"methods": { +"get": { +"description": "Gets one account permission by ID.", +"flatPath": "userprofiles/{userprofilesId}/accountPermissions/{accountPermissionsId}", +"httpMethod": "GET", +"id": "dfareporting.accountPermissions.get", +"parameterOrder": [ +"profileId", +"id" +], +"parameters": { +"id": { +"description": "Account permission ID.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/accountPermissions/{+id}", +"response": { +"$ref": "AccountPermission" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +}, +"list": { +"description": "Retrieves the list of account permissions.", +"flatPath": "userprofiles/{userprofilesId}/accountPermissions", +"httpMethod": "GET", +"id": "dfareporting.accountPermissions.list", +"parameterOrder": [ +"profileId" +], +"parameters": { +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/accountPermissions", +"response": { +"$ref": "AccountPermissionsListResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +} +} +}, +"accountUserProfiles": { +"methods": { +"get": { +"description": "Gets one account user profile by ID.", +"flatPath": "userprofiles/{profileId}/accountUserProfiles/{accountUserProfilesId}", +"httpMethod": "GET", +"id": "dfareporting.accountUserProfiles.get", +"parameterOrder": [ +"profileId", +"id" +], +"parameters": { +"id": { +"description": "User profile ID.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "userprofiles/{profileId}/accountUserProfiles/{+id}", +"response": { +"$ref": "AccountUserProfile" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +}, +"insert": { +"description": "Inserts a new account user profile.", +"flatPath": "userprofiles/{userprofilesId}/accountUserProfiles", +"httpMethod": "POST", +"id": "dfareporting.accountUserProfiles.insert", +"parameterOrder": [ +"profileId" +], +"parameters": { +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/accountUserProfiles", +"request": { +"$ref": "AccountUserProfile" +}, +"response": { +"$ref": "AccountUserProfile" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +}, +"list": { +"description": "Retrieves a list of account user profiles, possibly filtered. This method supports paging.", +"flatPath": "userprofiles/{userprofilesId}/accountUserProfiles", +"httpMethod": "GET", +"id": "dfareporting.accountUserProfiles.list", +"parameterOrder": [ +"profileId" +], +"parameters": { +"active": { +"description": "Select only active user profiles.", +"location": "query", +"type": "boolean" +}, +"ids": { +"description": "Select only user profiles with these IDs.", +"format": "int64", +"location": "query", +"repeated": true, +"type": "string" +}, +"maxResults": { +"default": "1000", +"description": "Maximum number of results to return.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Value of the nextPageToken from the previous result page.", +"location": "query", +"type": "string" +}, +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"searchString": { +"description": "Allows searching for objects by name, ID or email. Wildcards (*) are allowed. For example, \"user profile*2015\" will return objects with names like \"user profile June 2015\", \"user profile April 2015\", or simply \"user profile 2015\". Most of the searches also add wildcards implicitly at the start and the end of the search string. For example, a search string of \"user profile\" will match objects with name \"my user profile\", \"user profile 2015\", or simply \"user profile\".", +"location": "query", +"type": "string" +}, +"sortField": { +"default": "ID", +"description": "Field by which to sort the list.", +"enum": [ +"ID", +"NAME" +], +"enumDescriptions": [ +"", +"" +], +"location": "query", +"type": "string" +}, +"sortOrder": { +"default": "ASCENDING", +"description": "Order of sorted results.", +"enum": [ +"ASCENDING", +"DESCENDING" +], +"enumDescriptions": [ +"Ascending order.", +"Descending order." +], +"location": "query", +"type": "string" +}, +"subaccountId": { +"description": "Select only user profiles with the specified subaccount ID.", +"format": "int64", +"location": "query", +"type": "string" +}, +"userRoleId": { +"description": "Select only user profiles with the specified user role ID.", +"format": "int64", +"location": "query", +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/accountUserProfiles", +"response": { +"$ref": "AccountUserProfilesListResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +}, +"patch": { +"description": "Updates an existing account user profile. This method supports patch semantics.", +"flatPath": "userprofiles/{userprofilesId}/accountUserProfiles", +"httpMethod": "PATCH", +"id": "dfareporting.accountUserProfiles.patch", +"parameterOrder": [ +"profileId", +"id" +], +"parameters": { +"id": { +"description": "Required. AccountUserProfile ID.", +"format": "int64", +"location": "query", +"required": true, +"type": "string" +}, +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/accountUserProfiles", +"request": { +"$ref": "AccountUserProfile" +}, +"response": { +"$ref": "AccountUserProfile" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +}, +"update": { +"description": "Updates an existing account user profile.", +"flatPath": "userprofiles/{userprofilesId}/accountUserProfiles", +"httpMethod": "PUT", +"id": "dfareporting.accountUserProfiles.update", +"parameterOrder": [ +"profileId" +], +"parameters": { +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/accountUserProfiles", +"request": { +"$ref": "AccountUserProfile" +}, +"response": { +"$ref": "AccountUserProfile" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +} +} +}, +"accounts": { +"methods": { +"get": { +"description": "Gets one account by ID.", +"flatPath": "userprofiles/{userprofilesId}/accounts/{accountsId}", +"httpMethod": "GET", +"id": "dfareporting.accounts.get", +"parameterOrder": [ +"profileId", +"id" +], +"parameters": { +"id": { +"description": "Account ID.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/accounts/{+id}", +"response": { +"$ref": "Account" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +}, +"list": { +"description": "Retrieves the list of accounts, possibly filtered. This method supports paging.", +"flatPath": "userprofiles/{userprofilesId}/accounts", +"httpMethod": "GET", +"id": "dfareporting.accounts.list", +"parameterOrder": [ +"profileId" +], +"parameters": { +"active": { +"description": "Select only active accounts. Don't set this field to select both active and non-active accounts.", +"location": "query", +"type": "boolean" +}, +"ids": { +"description": "Select only accounts with these IDs.", +"format": "int64", +"location": "query", +"repeated": true, +"type": "string" +}, +"maxResults": { +"default": "1000", +"description": "Maximum number of results to return.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Value of the nextPageToken from the previous result page.", +"location": "query", +"type": "string" +}, +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"searchString": { +"description": "Allows searching for objects by name or ID. Wildcards (*) are allowed. For example, \"account*2015\" will return objects with names like \"account June 2015\", \"account April 2015\", or simply \"account 2015\". Most of the searches also add wildcards implicitly at the start and the end of the search string. For example, a search string of \"account\" will match objects with name \"my account\", \"account 2015\", or simply \"account\".", +"location": "query", +"type": "string" +}, +"sortField": { +"default": "ID", +"description": "Field by which to sort the list.", +"enum": [ +"ID", +"NAME" +], +"enumDescriptions": [ +"", +"" +], +"location": "query", +"type": "string" +}, +"sortOrder": { +"default": "ASCENDING", +"description": "Order of sorted results.", +"enum": [ +"ASCENDING", +"DESCENDING" +], +"enumDescriptions": [ +"Ascending order.", +"Descending order." +], +"location": "query", +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/accounts", +"response": { +"$ref": "AccountsListResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +}, +"patch": { +"description": "Updates an existing account. This method supports patch semantics.", +"flatPath": "userprofiles/{userprofilesId}/accounts", +"httpMethod": "PATCH", +"id": "dfareporting.accounts.patch", +"parameterOrder": [ +"profileId", +"id" +], +"parameters": { +"id": { +"description": "Required. Account ID.", +"format": "int64", +"location": "query", +"required": true, +"type": "string" +}, +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/accounts", +"request": { +"$ref": "Account" +}, +"response": { +"$ref": "Account" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +}, +"update": { +"description": "Updates an existing account.", +"flatPath": "userprofiles/{userprofilesId}/accounts", +"httpMethod": "PUT", +"id": "dfareporting.accounts.update", +"parameterOrder": [ +"profileId" +], +"parameters": { +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/accounts", +"request": { +"$ref": "Account" +}, +"response": { +"$ref": "Account" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +} +} +}, +"ads": { +"methods": { +"get": { +"description": "Gets one ad by ID.", +"flatPath": "userprofiles/{userprofilesId}/ads/{adsId}", +"httpMethod": "GET", +"id": "dfareporting.ads.get", +"parameterOrder": [ +"profileId", +"id" +], +"parameters": { +"id": { +"description": "Ad ID.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/ads/{+id}", +"response": { +"$ref": "Ad" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +}, +"insert": { +"description": "Inserts a new ad.", +"flatPath": "userprofiles/{userprofilesId}/ads", +"httpMethod": "POST", +"id": "dfareporting.ads.insert", +"parameterOrder": [ +"profileId" +], +"parameters": { +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/ads", +"request": { +"$ref": "Ad" +}, +"response": { +"$ref": "Ad" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +}, +"list": { +"description": "Retrieves a list of ads, possibly filtered. This method supports paging.", +"flatPath": "userprofiles/{userprofilesId}/ads", +"httpMethod": "GET", +"id": "dfareporting.ads.list", +"parameterOrder": [ +"profileId" +], +"parameters": { +"active": { +"description": "Select only active ads.", +"location": "query", +"type": "boolean" +}, +"advertiserId": { +"description": "Select only ads with this advertiser ID.", +"format": "int64", +"location": "query", +"type": "string" +}, +"archived": { +"description": "Select only archived ads.", +"location": "query", +"type": "boolean" +}, +"audienceSegmentIds": { +"description": "Select only ads with these audience segment IDs.", +"format": "int64", +"location": "query", +"repeated": true, +"type": "string" +}, +"campaignIds": { +"description": "Select only ads with these campaign IDs.", +"format": "int64", +"location": "query", +"repeated": true, +"type": "string" +}, +"compatibility": { +"description": "Select default ads with the specified compatibility. Applicable when type is AD_SERVING_DEFAULT_AD. DISPLAY and DISPLAY_INTERSTITIAL refer to rendering either on desktop or on mobile devices for regular or interstitial ads, respectively. APP and APP_INTERSTITIAL are for rendering in mobile apps. IN_STREAM_VIDEO refers to rendering an in-stream video ads developed with the VAST standard.", +"enum": [ +"DISPLAY", +"DISPLAY_INTERSTITIAL", +"APP", +"APP_INTERSTITIAL", +"IN_STREAM_VIDEO", +"IN_STREAM_AUDIO" +], +"enumDescriptions": [ +"", +"", +"Deprecated enum value. No longer supported.", +"Deprecated enum value. No longer supported.", +"", +"" +], +"location": "query", +"type": "string" +}, +"creativeIds": { +"description": "Select only ads with these creative IDs assigned.", +"format": "int64", +"location": "query", +"repeated": true, +"type": "string" +}, +"creativeOptimizationConfigurationIds": { +"description": "Select only ads with these creative optimization configuration IDs.", +"format": "int64", +"location": "query", +"repeated": true, +"type": "string" +}, +"dynamicClickTracker": { +"description": "Select only dynamic click trackers. Applicable when type is AD_SERVING_CLICK_TRACKER. If true, select dynamic click trackers. If false, select static click trackers. Leave unset to select both.", +"location": "query", +"type": "boolean" +}, +"ids": { +"description": "Select only ads with these IDs.", +"format": "int64", +"location": "query", +"repeated": true, +"type": "string" +}, +"landingPageIds": { +"description": "Select only ads with these landing page IDs.", +"format": "int64", +"location": "query", +"repeated": true, +"type": "string" +}, +"maxResults": { +"default": "1000", +"description": "Maximum number of results to return.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"overriddenEventTagId": { +"description": "Select only ads with this event tag override ID.", +"format": "int64", +"location": "query", +"type": "string" +}, +"pageToken": { +"description": "Value of the nextPageToken from the previous result page.", +"location": "query", +"type": "string" +}, +"placementIds": { +"description": "Select only ads with these placement IDs assigned.", +"format": "int64", +"location": "query", +"repeated": true, +"type": "string" +}, +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"remarketingListIds": { +"description": "Select only ads whose list targeting expression use these remarketing list IDs.", +"format": "int64", +"location": "query", +"repeated": true, +"type": "string" +}, +"searchString": { +"description": "Allows searching for objects by name or ID. Wildcards (*) are allowed. For example, \"ad*2015\" will return objects with names like \"ad June 2015\", \"ad April 2015\", or simply \"ad 2015\". Most of the searches also add wildcards implicitly at the start and the end of the search string. For example, a search string of \"ad\" will match objects with name \"my ad\", \"ad 2015\", or simply \"ad\".", +"location": "query", +"type": "string" +}, +"sizeIds": { +"description": "Select only ads with these size IDs.", +"format": "int64", +"location": "query", +"repeated": true, +"type": "string" +}, +"sortField": { +"default": "ID", +"description": "Field by which to sort the list.", +"enum": [ +"ID", +"NAME" +], +"enumDescriptions": [ +"", +"" +], +"location": "query", +"type": "string" +}, +"sortOrder": { +"default": "ASCENDING", +"description": "Order of sorted results.", +"enum": [ +"ASCENDING", +"DESCENDING" +], +"enumDescriptions": [ +"Ascending order.", +"Descending order." +], +"location": "query", +"type": "string" +}, +"sslCompliant": { +"description": "Select only ads that are SSL-compliant.", +"location": "query", +"type": "boolean" +}, +"sslRequired": { +"description": "Select only ads that require SSL.", +"location": "query", +"type": "boolean" +}, +"type": { +"description": "Select only ads with these types.", +"enum": [ +"AD_SERVING_STANDARD_AD", +"AD_SERVING_DEFAULT_AD", +"AD_SERVING_CLICK_TRACKER", +"AD_SERVING_TRACKING", +"AD_SERVING_BRAND_SAFE_AD" +], +"enumDescriptions": [ +"", +"", +"", +"", +"" +], +"location": "query", +"repeated": true, +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/ads", +"response": { +"$ref": "AdsListResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +}, +"patch": { +"description": "Updates an existing ad. This method supports patch semantics.", +"flatPath": "userprofiles/{userprofilesId}/ads", +"httpMethod": "PATCH", +"id": "dfareporting.ads.patch", +"parameterOrder": [ +"profileId", +"id" +], +"parameters": { +"id": { +"description": "Required. RemarketingList ID.", +"format": "int64", +"location": "query", +"required": true, +"type": "string" +}, +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/ads", +"request": { +"$ref": "Ad" +}, +"response": { +"$ref": "Ad" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +}, +"update": { +"description": "Updates an existing ad.", +"flatPath": "userprofiles/{userprofilesId}/ads", +"httpMethod": "PUT", +"id": "dfareporting.ads.update", +"parameterOrder": [ +"profileId" +], +"parameters": { +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/ads", +"request": { +"$ref": "Ad" +}, +"response": { +"$ref": "Ad" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +} +} +}, +"advertiserGroups": { +"methods": { +"delete": { +"description": "Deletes an existing advertiser group.", +"flatPath": "userprofiles/{userprofilesId}/advertiserGroups/{advertiserGroupsId}", +"httpMethod": "DELETE", +"id": "dfareporting.advertiserGroups.delete", +"parameterOrder": [ +"profileId", +"id" +], +"parameters": { +"id": { +"description": "Advertiser group ID.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/advertiserGroups/{+id}", +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +}, +"get": { +"description": "Gets one advertiser group by ID.", +"flatPath": "userprofiles/{userprofilesId}/advertiserGroups/{advertiserGroupsId}", +"httpMethod": "GET", +"id": "dfareporting.advertiserGroups.get", +"parameterOrder": [ +"profileId", +"id" +], +"parameters": { +"id": { +"description": "Advertiser group ID.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/advertiserGroups/{+id}", +"response": { +"$ref": "AdvertiserGroup" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +}, +"insert": { +"description": "Inserts a new advertiser group.", +"flatPath": "userprofiles/{userprofilesId}/advertiserGroups", +"httpMethod": "POST", +"id": "dfareporting.advertiserGroups.insert", +"parameterOrder": [ +"profileId" +], +"parameters": { +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/advertiserGroups", +"request": { +"$ref": "AdvertiserGroup" +}, +"response": { +"$ref": "AdvertiserGroup" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +}, +"list": { +"description": "Retrieves a list of advertiser groups, possibly filtered. This method supports paging.", +"flatPath": "userprofiles/{userprofilesId}/advertiserGroups", +"httpMethod": "GET", +"id": "dfareporting.advertiserGroups.list", +"parameterOrder": [ +"profileId" +], +"parameters": { +"ids": { +"description": "Select only advertiser groups with these IDs.", +"format": "int64", +"location": "query", +"repeated": true, +"type": "string" +}, +"maxResults": { +"default": "1000", +"description": "Maximum number of results to return.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Value of the nextPageToken from the previous result page.", +"location": "query", +"type": "string" +}, +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"searchString": { +"description": "Allows searching for objects by name or ID. Wildcards (*) are allowed. For example, \"advertiser*2015\" will return objects with names like \"advertiser group June 2015\", \"advertiser group April 2015\", or simply \"advertiser group 2015\". Most of the searches also add wildcards implicitly at the start and the end of the search string. For example, a search string of \"advertisergroup\" will match objects with name \"my advertisergroup\", \"advertisergroup 2015\", or simply \"advertisergroup\".", +"location": "query", +"type": "string" +}, +"sortField": { +"default": "ID", +"description": "Field by which to sort the list.", +"enum": [ +"ID", +"NAME" +], +"enumDescriptions": [ +"", +"" +], +"location": "query", +"type": "string" +}, +"sortOrder": { +"default": "ASCENDING", +"description": "Order of sorted results.", +"enum": [ +"ASCENDING", +"DESCENDING" +], +"enumDescriptions": [ +"Ascending order.", +"Descending order." +], +"location": "query", +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/advertiserGroups", +"response": { +"$ref": "AdvertiserGroupsListResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +}, +"patch": { +"description": "Updates an existing advertiser group. This method supports patch semantics.", +"flatPath": "userprofiles/{userprofilesId}/advertiserGroups", +"httpMethod": "PATCH", +"id": "dfareporting.advertiserGroups.patch", +"parameterOrder": [ +"profileId", +"id" +], +"parameters": { +"id": { +"description": "Required. Advertiser Group ID.", +"format": "int64", +"location": "query", +"required": true, +"type": "string" +}, +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/advertiserGroups", +"request": { +"$ref": "AdvertiserGroup" +}, +"response": { +"$ref": "AdvertiserGroup" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +}, +"update": { +"description": "Updates an existing advertiser group.", +"flatPath": "userprofiles/{userprofilesId}/advertiserGroups", +"httpMethod": "PUT", +"id": "dfareporting.advertiserGroups.update", +"parameterOrder": [ +"profileId" +], +"parameters": { +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/advertiserGroups", +"request": { +"$ref": "AdvertiserGroup" +}, +"response": { +"$ref": "AdvertiserGroup" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +} +} +}, +"advertiserInvoices": { +"methods": { +"list": { +"description": "Retrieves a list of invoices for a particular issue month. The api only works if the billing profile invoice level is set to either advertiser or campaign non-consolidated invoice level.", +"flatPath": "userprofiles/{userprofilesId}/advertisers/{advertisersId}/invoices", +"httpMethod": "GET", +"id": "dfareporting.advertiserInvoices.list", +"parameterOrder": [ +"profileId", +"advertiserId" +], +"parameters": { +"advertiserId": { +"description": "Advertiser ID of this invoice.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"issueMonth": { +"description": "Month for which invoices are needed in the format YYYYMM. Required field", +"location": "query", +"type": "string" +}, +"maxResults": { +"default": "1000", +"description": "Maximum number of results to return.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Value of the nextPageToken from the previous result page.", +"location": "query", +"type": "string" +}, +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/advertisers/{+advertiserId}/invoices", +"response": { +"$ref": "AdvertiserInvoicesListResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +} +} +}, +"advertiserLandingPages": { +"methods": { +"get": { +"description": "Gets one landing page by ID.", +"flatPath": "userprofiles/{userprofilesId}/advertiserLandingPages/{advertiserLandingPagesId}", +"httpMethod": "GET", +"id": "dfareporting.advertiserLandingPages.get", +"parameterOrder": [ +"profileId", +"id" +], +"parameters": { +"id": { +"description": "Landing page ID.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/advertiserLandingPages/{+id}", +"response": { +"$ref": "LandingPage" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +}, +"insert": { +"description": "Inserts a new landing page.", +"flatPath": "userprofiles/{userprofilesId}/advertiserLandingPages", +"httpMethod": "POST", +"id": "dfareporting.advertiserLandingPages.insert", +"parameterOrder": [ +"profileId" +], +"parameters": { +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/advertiserLandingPages", +"request": { +"$ref": "LandingPage" +}, +"response": { +"$ref": "LandingPage" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +}, +"list": { +"description": "Retrieves a list of landing pages.", +"flatPath": "userprofiles/{userprofilesId}/advertiserLandingPages", +"httpMethod": "GET", +"id": "dfareporting.advertiserLandingPages.list", +"parameterOrder": [ +"profileId" +], +"parameters": { +"advertiserIds": { +"description": "Select only landing pages that belong to these advertisers.", +"format": "int64", +"location": "query", +"repeated": true, +"type": "string" +}, +"archived": { +"description": "Select only archived landing pages. Don't set this field to select both archived and non-archived landing pages.", +"location": "query", +"type": "boolean" +}, +"campaignIds": { +"description": "Select only landing pages that are associated with these campaigns.", +"format": "int64", +"location": "query", +"repeated": true, +"type": "string" +}, +"ids": { +"description": "Select only landing pages with these IDs.", +"format": "int64", +"location": "query", +"repeated": true, +"type": "string" +}, +"maxResults": { +"default": "1000", +"description": "Maximum number of results to return.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Value of the nextPageToken from the previous result page.", +"location": "query", +"type": "string" +}, +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"searchString": { +"description": "Allows searching for landing pages by name or ID. Wildcards (*) are allowed. For example, \"landingpage*2017\" will return landing pages with names like \"landingpage July 2017\", \"landingpage March 2017\", or simply \"landingpage 2017\". Most of the searches also add wildcards implicitly at the start and the end of the search string. For example, a search string of \"landingpage\" will match campaigns with name \"my landingpage\", \"landingpage 2015\", or simply \"landingpage\".", +"location": "query", +"type": "string" +}, +"sortField": { +"default": "ID", +"description": "Field by which to sort the list.", +"enum": [ +"ID", +"NAME" +], +"enumDescriptions": [ +"", +"" +], +"location": "query", +"type": "string" +}, +"sortOrder": { +"default": "ASCENDING", +"description": "Order of sorted results.", +"enum": [ +"ASCENDING", +"DESCENDING" +], +"enumDescriptions": [ +"Ascending order.", +"Descending order." +], +"location": "query", +"type": "string" +}, +"subaccountId": { +"description": "Select only landing pages that belong to this subaccount.", +"format": "int64", +"location": "query", +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/advertiserLandingPages", +"response": { +"$ref": "AdvertiserLandingPagesListResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +}, +"patch": { +"description": "Updates an existing landing page. This method supports patch semantics.", +"flatPath": "userprofiles/{userprofilesId}/advertiserLandingPages", +"httpMethod": "PATCH", +"id": "dfareporting.advertiserLandingPages.patch", +"parameterOrder": [ +"profileId", +"id" +], +"parameters": { +"id": { +"description": "Required. Landing Page ID.", +"format": "int64", +"location": "query", +"required": true, +"type": "string" +}, +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/advertiserLandingPages", +"request": { +"$ref": "LandingPage" +}, +"response": { +"$ref": "LandingPage" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +}, +"update": { +"description": "Updates an existing landing page.", +"flatPath": "userprofiles/{userprofilesId}/advertiserLandingPages", +"httpMethod": "PUT", +"id": "dfareporting.advertiserLandingPages.update", +"parameterOrder": [ +"profileId" +], +"parameters": { +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/advertiserLandingPages", +"request": { +"$ref": "LandingPage" +}, +"response": { +"$ref": "LandingPage" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +} +} +}, +"advertisers": { +"methods": { +"get": { +"description": "Gets one advertiser by ID.", +"flatPath": "userprofiles/{userprofilesId}/advertisers/{advertisersId}", +"httpMethod": "GET", +"id": "dfareporting.advertisers.get", +"parameterOrder": [ +"profileId", +"id" +], +"parameters": { +"id": { +"description": "Advertiser ID.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/advertisers/{+id}", +"response": { +"$ref": "Advertiser" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +}, +"insert": { +"description": "Inserts a new advertiser.", +"flatPath": "userprofiles/{userprofilesId}/advertisers", +"httpMethod": "POST", +"id": "dfareporting.advertisers.insert", +"parameterOrder": [ +"profileId" +], +"parameters": { +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/advertisers", +"request": { +"$ref": "Advertiser" +}, +"response": { +"$ref": "Advertiser" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +}, +"list": { +"description": "Retrieves a list of advertisers, possibly filtered. This method supports paging.", +"flatPath": "userprofiles/{userprofilesId}/advertisers", +"httpMethod": "GET", +"id": "dfareporting.advertisers.list", +"parameterOrder": [ +"profileId" +], +"parameters": { +"advertiserGroupIds": { +"description": "Select only advertisers with these advertiser group IDs.", +"format": "int64", +"location": "query", +"repeated": true, +"type": "string" +}, +"floodlightConfigurationIds": { +"description": "Select only advertisers with these floodlight configuration IDs.", +"format": "int64", +"location": "query", +"repeated": true, +"type": "string" +}, +"ids": { +"description": "Select only advertisers with these IDs.", +"format": "int64", +"location": "query", +"repeated": true, +"type": "string" +}, +"includeAdvertisersWithoutGroupsOnly": { +"description": "Select only advertisers which do not belong to any advertiser group.", +"location": "query", +"type": "boolean" +}, +"maxResults": { +"default": "1000", +"description": "Maximum number of results to return.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"onlyParent": { +"description": "Select only advertisers which use another advertiser's floodlight configuration.", +"location": "query", +"type": "boolean" +}, +"pageToken": { +"description": "Value of the nextPageToken from the previous result page.", +"location": "query", +"type": "string" +}, +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"searchString": { +"description": "Allows searching for objects by name or ID. Wildcards (*) are allowed. For example, \"advertiser*2015\" will return objects with names like \"advertiser June 2015\", \"advertiser April 2015\", or simply \"advertiser 2015\". Most of the searches also add wildcards implicitly at the start and the end of the search string. For example, a search string of \"advertiser\" will match objects with name \"my advertiser\", \"advertiser 2015\", or simply \"advertiser\" .", +"location": "query", +"type": "string" +}, +"sortField": { +"default": "ID", +"description": "Field by which to sort the list.", +"enum": [ +"ID", +"NAME" +], +"enumDescriptions": [ +"", +"" +], +"location": "query", +"type": "string" +}, +"sortOrder": { +"default": "ASCENDING", +"description": "Order of sorted results.", +"enum": [ +"ASCENDING", +"DESCENDING" +], +"enumDescriptions": [ +"Ascending order.", +"Descending order." +], +"location": "query", +"type": "string" +}, +"status": { +"description": "Select only advertisers with the specified status.", +"enum": [ +"APPROVED", +"ON_HOLD" +], +"enumDescriptions": [ +"Approved (ads can deliver)", +"On-hold (all ads are stopped)" +], +"location": "query", +"type": "string" +}, +"subaccountId": { +"description": "Select only advertisers with these subaccount IDs.", +"format": "int64", +"location": "query", +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/advertisers", +"response": { +"$ref": "AdvertisersListResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +}, +"patch": { +"description": "Updates an existing advertiser. This method supports patch semantics.", +"flatPath": "userprofiles/{userprofilesId}/advertisers", +"httpMethod": "PATCH", +"id": "dfareporting.advertisers.patch", +"parameterOrder": [ +"profileId", +"id" +], +"parameters": { +"id": { +"description": "Required. Advertiser ID.", +"format": "int64", +"location": "query", +"required": true, +"type": "string" +}, +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/advertisers", +"request": { +"$ref": "Advertiser" +}, +"response": { +"$ref": "Advertiser" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +}, +"update": { +"description": "Updates an existing advertiser.", +"flatPath": "userprofiles/{userprofilesId}/advertisers", +"httpMethod": "PUT", +"id": "dfareporting.advertisers.update", +"parameterOrder": [ +"profileId" +], +"parameters": { +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/advertisers", +"request": { +"$ref": "Advertiser" +}, +"response": { +"$ref": "Advertiser" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +} +} +}, +"billingAssignments": { +"methods": { +"insert": { +"description": "Inserts a new billing assignment and returns the new assignment. Only one of advertiser_id or campaign_id is support per request. If the new assignment has no effect (assigning a campaign to the parent advertiser billing profile or assigning an advertiser to the account billing profile), no assignment will be returned.", +"flatPath": "userprofiles/{userprofilesId}/billingProfiles/{billingProfilesId}/billingAssignments", +"httpMethod": "POST", +"id": "dfareporting.billingAssignments.insert", +"parameterOrder": [ +"profileId", +"billingProfileId" +], +"parameters": { +"billingProfileId": { +"description": "Billing profile ID of this billing assignment.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/billingProfiles/{+billingProfileId}/billingAssignments", +"request": { +"$ref": "BillingAssignment" +}, +"response": { +"$ref": "BillingAssignment" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +}, +"list": { +"description": "Retrieves a list of billing assignments.", +"flatPath": "userprofiles/{userprofilesId}/billingProfiles/{billingProfilesId}/billingAssignments", +"httpMethod": "GET", +"id": "dfareporting.billingAssignments.list", +"parameterOrder": [ +"profileId", +"billingProfileId" +], +"parameters": { +"billingProfileId": { +"description": "Billing profile ID of this billing assignment.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/billingProfiles/{+billingProfileId}/billingAssignments", +"response": { +"$ref": "BillingAssignmentsListResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +} +} +}, +"billingProfiles": { +"methods": { +"get": { +"description": "Gets one billing profile by ID.", +"flatPath": "userprofiles/{userprofilesId}/billingProfiles/{billingProfilesId}", +"httpMethod": "GET", +"id": "dfareporting.billingProfiles.get", +"parameterOrder": [ +"profileId", +"id" +], +"parameters": { +"id": { +"description": "Billing Profile ID.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/billingProfiles/{+id}", +"response": { +"$ref": "BillingProfile" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +}, +"list": { +"description": "Retrieves a list of billing profiles, possibly filtered. This method supports paging.", +"flatPath": "userprofiles/{userprofilesId}/billingProfiles", +"httpMethod": "GET", +"id": "dfareporting.billingProfiles.list", +"parameterOrder": [ +"profileId" +], +"parameters": { +"currency_code": { +"description": "Select only billing profile with currency.", +"location": "query", +"type": "string" +}, +"ids": { +"description": "Select only billing profile with these IDs.", +"format": "int64", +"location": "query", +"repeated": true, +"type": "string" +}, +"maxResults": { +"default": "1000", +"description": "Maximum number of results to return.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"name": { +"description": "Allows searching for billing profiles by name. Wildcards (*) are allowed. For example, \"profile*2020\" will return objects with names like \"profile June 2020\", \"profile April 2020\", or simply \"profile 2020\". Most of the searches also add wildcards implicitly at the start and the end of the search string. For example, a search string of \"profile\" will match objects with name \"my profile\", \"profile 2021\", or simply \"profile\".", +"location": "query", +"type": "string" +}, +"onlySuggestion": { +"description": "Select only billing profile which is suggested for the currency_code & subaccount_id using the Billing Suggestion API.", +"location": "query", +"type": "boolean" +}, +"pageToken": { +"description": "Value of the nextPageToken from the previous result page.", +"location": "query", +"type": "string" +}, +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"sortField": { +"default": "ID", +"description": "Field by which to sort the list.", +"enum": [ +"ID", +"NAME" +], +"enumDescriptions": [ +"", +"" +], +"location": "query", +"type": "string" +}, +"sortOrder": { +"default": "ASCENDING", +"description": "Order of sorted results.", +"enum": [ +"ASCENDING", +"DESCENDING" +], +"enumDescriptions": [ +"Ascending order.", +"Descending order." +], +"location": "query", +"type": "string" +}, +"status": { +"description": "Select only billing profile with the specified status.", +"enum": [ +"UNDER_REVIEW", +"ACTIVE", +"ARCHIVED" +], +"enumDescriptions": [ +"", +"", +"" +], +"location": "query", +"repeated": true, +"type": "string" +}, +"subaccountIds": { +"description": "Select only billing profile with the specified subaccount.When only_suggestion is true, only a single subaccount_id is supported.", +"format": "int64", +"location": "query", +"repeated": true, +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/billingProfiles", +"response": { +"$ref": "BillingProfilesListResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +}, +"update": { +"description": "Updates an existing billing profile.", +"flatPath": "userprofiles/{userprofilesId}/billingProfiles", +"httpMethod": "PUT", +"id": "dfareporting.billingProfiles.update", +"parameterOrder": [ +"profileId" +], +"parameters": { +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/billingProfiles", +"request": { +"$ref": "BillingProfile" +}, +"response": { +"$ref": "BillingProfile" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +} +} +}, +"billingRates": { +"methods": { +"list": { +"description": "Retrieves a list of billing rates. This method supports paging.", +"flatPath": "userprofiles/{userprofilesId}/billingProfiles/{billingProfilesId}/billingRates", +"httpMethod": "GET", +"id": "dfareporting.billingRates.list", +"parameterOrder": [ +"profileId", +"billingProfileId" +], +"parameters": { +"billingProfileId": { +"description": "Billing profile ID of this billing rate.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/billingProfiles/{+billingProfileId}/billingRates", +"response": { +"$ref": "BillingRatesListResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +} +} +}, +"browsers": { +"methods": { +"list": { +"description": "Retrieves a list of browsers.", +"flatPath": "userprofiles/{userprofilesId}/browsers", +"httpMethod": "GET", +"id": "dfareporting.browsers.list", +"parameterOrder": [ +"profileId" +], +"parameters": { +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/browsers", +"response": { +"$ref": "BrowsersListResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +} +} +}, +"campaignCreativeAssociations": { +"methods": { +"insert": { +"description": "Associates a creative with the specified campaign. This method creates a default ad with dimensions matching the creative in the campaign if such a default ad does not exist already.", +"flatPath": "userprofiles/{userprofilesId}/campaigns/{campaignsId}/campaignCreativeAssociations", +"httpMethod": "POST", +"id": "dfareporting.campaignCreativeAssociations.insert", +"parameterOrder": [ +"profileId", +"campaignId" +], +"parameters": { +"campaignId": { +"description": "Campaign ID in this association.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/campaigns/{+campaignId}/campaignCreativeAssociations", +"request": { +"$ref": "CampaignCreativeAssociation" +}, +"response": { +"$ref": "CampaignCreativeAssociation" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +}, +"list": { +"description": "Retrieves the list of creative IDs associated with the specified campaign. This method supports paging.", +"flatPath": "userprofiles/{userprofilesId}/campaigns/{campaignsId}/campaignCreativeAssociations", +"httpMethod": "GET", +"id": "dfareporting.campaignCreativeAssociations.list", +"parameterOrder": [ +"profileId", +"campaignId" +], +"parameters": { +"campaignId": { +"description": "Campaign ID in this association.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"maxResults": { +"default": "1000", +"description": "Maximum number of results to return.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Value of the nextPageToken from the previous result page.", +"location": "query", +"type": "string" +}, +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"sortOrder": { +"default": "ASCENDING", +"description": "Order of sorted results.", +"enum": [ +"ASCENDING", +"DESCENDING" +], +"enumDescriptions": [ +"Ascending order.", +"Descending order." +], +"location": "query", +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/campaigns/{+campaignId}/campaignCreativeAssociations", +"response": { +"$ref": "CampaignCreativeAssociationsListResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +} +} +}, +"campaigns": { +"methods": { +"get": { +"description": "Gets one campaign by ID.", +"flatPath": "userprofiles/{userprofilesId}/campaigns/{campaignsId}", +"httpMethod": "GET", +"id": "dfareporting.campaigns.get", +"parameterOrder": [ +"profileId", +"id" +], +"parameters": { +"id": { +"description": "Campaign ID.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/campaigns/{+id}", +"response": { +"$ref": "Campaign" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +}, +"insert": { +"description": "Inserts a new campaign.", +"flatPath": "userprofiles/{userprofilesId}/campaigns", +"httpMethod": "POST", +"id": "dfareporting.campaigns.insert", +"parameterOrder": [ +"profileId" +], +"parameters": { +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/campaigns", +"request": { +"$ref": "Campaign" +}, +"response": { +"$ref": "Campaign" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +}, +"list": { +"description": "Retrieves a list of campaigns, possibly filtered. This method supports paging.", +"flatPath": "userprofiles/{userprofilesId}/campaigns", +"httpMethod": "GET", +"id": "dfareporting.campaigns.list", +"parameterOrder": [ +"profileId" +], +"parameters": { +"advertiserGroupIds": { +"description": "Select only campaigns whose advertisers belong to these advertiser groups.", +"format": "int64", +"location": "query", +"repeated": true, +"type": "string" +}, +"advertiserIds": { +"description": "Select only campaigns that belong to these advertisers.", +"format": "int64", +"location": "query", +"repeated": true, +"type": "string" +}, +"archived": { +"description": "Select only archived campaigns. Don't set this field to select both archived and non-archived campaigns.", +"location": "query", +"type": "boolean" +}, +"atLeastOneOptimizationActivity": { +"description": "Select only campaigns that have at least one optimization activity.", +"location": "query", +"type": "boolean" +}, +"excludedIds": { +"description": "Exclude campaigns with these IDs.", +"format": "int64", +"location": "query", +"repeated": true, +"type": "string" +}, +"ids": { +"description": "Select only campaigns with these IDs.", +"format": "int64", +"location": "query", +"repeated": true, +"type": "string" +}, +"maxResults": { +"default": "1000", +"description": "Maximum number of results to return.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"overriddenEventTagId": { +"description": "Select only campaigns that have overridden this event tag ID.", +"format": "int64", +"location": "query", +"type": "string" +}, +"pageToken": { +"description": "Value of the nextPageToken from the previous result page.", +"location": "query", +"type": "string" +}, +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"searchString": { +"description": "Allows searching for campaigns by name or ID. Wildcards (*) are allowed. For example, \"campaign*2015\" will return campaigns with names like \"campaign June 2015\", \"campaign April 2015\", or simply \"campaign 2015\". Most of the searches also add wildcards implicitly at the start and the end of the search string. For example, a search string of \"campaign\" will match campaigns with name \"my campaign\", \"campaign 2015\", or simply \"campaign\".", +"location": "query", +"type": "string" +}, +"sortField": { +"default": "ID", +"description": "Field by which to sort the list.", +"enum": [ +"ID", +"NAME" +], +"enumDescriptions": [ +"", +"" +], +"location": "query", +"type": "string" +}, +"sortOrder": { +"default": "ASCENDING", +"description": "Order of sorted results.", +"enum": [ +"ASCENDING", +"DESCENDING" +], +"enumDescriptions": [ +"Ascending order.", +"Descending order." +], +"location": "query", +"type": "string" +}, +"subaccountId": { +"description": "Select only campaigns that belong to this subaccount.", +"format": "int64", +"location": "query", +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/campaigns", +"response": { +"$ref": "CampaignsListResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +}, +"patch": { +"description": "Updates an existing campaign. This method supports patch semantics.", +"flatPath": "userprofiles/{userprofilesId}/campaigns", +"httpMethod": "PATCH", +"id": "dfareporting.campaigns.patch", +"parameterOrder": [ +"profileId", +"id" +], +"parameters": { +"id": { +"description": "Required. Campaign ID.", +"format": "int64", +"location": "query", +"required": true, +"type": "string" +}, +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/campaigns", +"request": { +"$ref": "Campaign" +}, +"response": { +"$ref": "Campaign" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +}, +"update": { +"description": "Updates an existing campaign.", +"flatPath": "userprofiles/{userprofilesId}/campaigns", +"httpMethod": "PUT", +"id": "dfareporting.campaigns.update", +"parameterOrder": [ +"profileId" +], +"parameters": { +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/campaigns", +"request": { +"$ref": "Campaign" +}, +"response": { +"$ref": "Campaign" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +} +} +}, +"changeLogs": { +"methods": { +"get": { +"description": "Gets one change log by ID.", +"flatPath": "userprofiles/{userprofilesId}/changeLogs/{changeLogsId}", +"httpMethod": "GET", +"id": "dfareporting.changeLogs.get", +"parameterOrder": [ +"profileId", +"id" +], +"parameters": { +"id": { +"description": "Change log ID.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/changeLogs/{+id}", +"response": { +"$ref": "ChangeLog" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +}, +"list": { +"description": "Retrieves a list of change logs. This method supports paging.", +"flatPath": "userprofiles/{userprofilesId}/changeLogs", +"httpMethod": "GET", +"id": "dfareporting.changeLogs.list", +"parameterOrder": [ +"profileId" +], +"parameters": { +"action": { +"description": "Select only change logs with the specified action.", +"enum": [ +"ACTION_CREATE", +"ACTION_UPDATE", +"ACTION_DELETE", +"ACTION_ENABLE", +"ACTION_DISABLE", +"ACTION_ADD", +"ACTION_REMOVE", +"ACTION_MARK_AS_DEFAULT", +"ACTION_ASSOCIATE", +"ACTION_ASSIGN", +"ACTION_UNASSIGN", +"ACTION_SEND", +"ACTION_LINK", +"ACTION_UNLINK", +"ACTION_PUSH", +"ACTION_EMAIL_TAGS", +"ACTION_SHARE" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"" +], +"location": "query", +"type": "string" +}, +"ids": { +"description": "Select only change logs with these IDs.", +"format": "int64", +"location": "query", +"repeated": true, +"type": "string" +}, +"maxChangeTime": { +"description": "Select only change logs whose change time is before the specified maxChangeTime.The time should be formatted as an RFC3339 date/time string. For example, for 10:54 PM on July 18th, 2015, in the America/New York time zone, the format is \"2015-07-18T22:54:00-04:00\". In other words, the year, month, day, the letter T, the hour (24-hour clock system), minute, second, and then the time zone offset.", +"location": "query", +"type": "string" +}, +"maxResults": { +"default": "1000", +"description": "Maximum number of results to return.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"minChangeTime": { +"description": "Select only change logs whose change time is after the specified minChangeTime.The time should be formatted as an RFC3339 date/time string. For example, for 10:54 PM on July 18th, 2015, in the America/New York time zone, the format is \"2015-07-18T22:54:00-04:00\". In other words, the year, month, day, the letter T, the hour (24-hour clock system), minute, second, and then the time zone offset.", +"location": "query", +"type": "string" +}, +"objectIds": { +"description": "Select only change logs with these object IDs.", +"format": "int64", +"location": "query", +"repeated": true, +"type": "string" +}, +"objectType": { +"description": "Select only change logs with the specified object type.", +"enum": [ +"OBJECT_ADVERTISER", +"OBJECT_FLOODLIGHT_CONFIGURATION", +"OBJECT_AD", +"OBJECT_FLOODLIGHT_ACTVITY", +"OBJECT_CAMPAIGN", +"OBJECT_FLOODLIGHT_ACTIVITY_GROUP", +"OBJECT_CREATIVE", +"OBJECT_PLACEMENT", +"OBJECT_DFA_SITE", +"OBJECT_USER_ROLE", +"OBJECT_USER_PROFILE", +"OBJECT_ADVERTISER_GROUP", +"OBJECT_ACCOUNT", +"OBJECT_SUBACCOUNT", +"OBJECT_RICHMEDIA_CREATIVE", +"OBJECT_INSTREAM_CREATIVE", +"OBJECT_MEDIA_ORDER", +"OBJECT_CONTENT_CATEGORY", +"OBJECT_PLACEMENT_STRATEGY", +"OBJECT_SD_SITE", +"OBJECT_SIZE", +"OBJECT_CREATIVE_GROUP", +"OBJECT_CREATIVE_ASSET", +"OBJECT_USER_PROFILE_FILTER", +"OBJECT_LANDING_PAGE", +"OBJECT_CREATIVE_FIELD", +"OBJECT_REMARKETING_LIST", +"OBJECT_PROVIDED_LIST_CLIENT", +"OBJECT_EVENT_TAG", +"OBJECT_CREATIVE_BUNDLE", +"OBJECT_BILLING_ACCOUNT_GROUP", +"OBJECT_BILLING_FEATURE", +"OBJECT_RATE_CARD", +"OBJECT_ACCOUNT_BILLING_FEATURE", +"OBJECT_BILLING_MINIMUM_FEE", +"OBJECT_BILLING_PROFILE", +"OBJECT_PLAYSTORE_LINK", +"OBJECT_TARGETING_TEMPLATE", +"OBJECT_SEARCH_LIFT_STUDY", +"OBJECT_FLOODLIGHT_DV360_LINK", +"OBJECT_ADVERTISER_CUSTOMER_LINK", +"OBJECT_CONVERSION_DOMAIN", +"OBJECT_ACCOUNT_CONVERSION_DOMAIN" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"" +], +"location": "query", +"type": "string" +}, +"pageToken": { +"description": "Value of the nextPageToken from the previous result page.", +"location": "query", +"type": "string" +}, +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"searchString": { +"description": "Select only change logs whose object ID, user name, old or new values match the search string.", +"location": "query", +"type": "string" +}, +"userProfileIds": { +"description": "Select only change logs with these user profile IDs.", +"format": "int64", +"location": "query", +"repeated": true, +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/changeLogs", +"response": { +"$ref": "ChangeLogsListResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +} +} +}, +"cities": { +"methods": { +"list": { +"description": "Retrieves a list of cities, possibly filtered.", +"flatPath": "userprofiles/{userprofilesId}/cities", +"httpMethod": "GET", +"id": "dfareporting.cities.list", +"parameterOrder": [ +"profileId" +], +"parameters": { +"countryDartIds": { +"description": "Select only cities from these countries.", +"format": "int64", +"location": "query", +"repeated": true, +"type": "string" +}, +"dartIds": { +"description": "Select only cities with these DART IDs.", +"format": "int64", +"location": "query", +"repeated": true, +"type": "string" +}, +"namePrefix": { +"description": "Select only cities with names starting with this prefix.", +"location": "query", +"type": "string" +}, +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"regionDartIds": { +"description": "Select only cities from these regions.", +"format": "int64", +"location": "query", +"repeated": true, +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/cities", +"response": { +"$ref": "CitiesListResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +} +} +}, +"connectionTypes": { +"methods": { +"get": { +"description": "Gets one connection type by ID.", +"flatPath": "userprofiles/{userprofilesId}/connectionTypes/{connectionTypesId}", +"httpMethod": "GET", +"id": "dfareporting.connectionTypes.get", +"parameterOrder": [ +"profileId", +"id" +], +"parameters": { +"id": { +"description": "Connection type ID.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/connectionTypes/{+id}", +"response": { +"$ref": "ConnectionType" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +}, +"list": { +"description": "Retrieves a list of connection types.", +"flatPath": "userprofiles/{userprofilesId}/connectionTypes", +"httpMethod": "GET", +"id": "dfareporting.connectionTypes.list", +"parameterOrder": [ +"profileId" +], +"parameters": { +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/connectionTypes", +"response": { +"$ref": "ConnectionTypesListResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +} +} +}, +"contentCategories": { +"methods": { +"delete": { +"description": "Deletes an existing content category.", +"flatPath": "userprofiles/{userprofilesId}/contentCategories/{contentCategoriesId}", +"httpMethod": "DELETE", +"id": "dfareporting.contentCategories.delete", +"parameterOrder": [ +"profileId", +"id" +], +"parameters": { +"id": { +"description": "Content category ID.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/contentCategories/{+id}", +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +}, +"get": { +"description": "Gets one content category by ID.", +"flatPath": "userprofiles/{userprofilesId}/contentCategories/{contentCategoriesId}", +"httpMethod": "GET", +"id": "dfareporting.contentCategories.get", +"parameterOrder": [ +"profileId", +"id" +], +"parameters": { +"id": { +"description": "Content category ID.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/contentCategories/{+id}", +"response": { +"$ref": "ContentCategory" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +}, +"insert": { +"description": "Inserts a new content category.", +"flatPath": "userprofiles/{userprofilesId}/contentCategories", +"httpMethod": "POST", +"id": "dfareporting.contentCategories.insert", +"parameterOrder": [ +"profileId" +], +"parameters": { +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/contentCategories", +"request": { +"$ref": "ContentCategory" +}, +"response": { +"$ref": "ContentCategory" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +}, +"list": { +"description": "Retrieves a list of content categories, possibly filtered. This method supports paging.", +"flatPath": "userprofiles/{userprofilesId}/contentCategories", +"httpMethod": "GET", +"id": "dfareporting.contentCategories.list", +"parameterOrder": [ +"profileId" +], +"parameters": { +"ids": { +"description": "Select only content categories with these IDs.", +"format": "int64", +"location": "query", +"repeated": true, +"type": "string" +}, +"maxResults": { +"default": "1000", +"description": "Maximum number of results to return.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Value of the nextPageToken from the previous result page.", +"location": "query", +"type": "string" +}, +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"searchString": { +"description": "Allows searching for objects by name or ID. Wildcards (*) are allowed. For example, \"contentcategory*2015\" will return objects with names like \"contentcategory June 2015\", \"contentcategory April 2015\", or simply \"contentcategory 2015\". Most of the searches also add wildcards implicitly at the start and the end of the search string. For example, a search string of \"contentcategory\" will match objects with name \"my contentcategory\", \"contentcategory 2015\", or simply \"contentcategory\".", +"location": "query", +"type": "string" +}, +"sortField": { +"default": "ID", +"description": "Field by which to sort the list.", +"enum": [ +"ID", +"NAME" +], +"enumDescriptions": [ +"", +"" +], +"location": "query", +"type": "string" +}, +"sortOrder": { +"default": "ASCENDING", +"description": "Order of sorted results.", +"enum": [ +"ASCENDING", +"DESCENDING" +], +"enumDescriptions": [ +"Ascending order.", +"Descending order." +], +"location": "query", +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/contentCategories", +"response": { +"$ref": "ContentCategoriesListResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +}, +"patch": { +"description": "Updates an existing content category. This method supports patch semantics.", +"flatPath": "userprofiles/{userprofilesId}/contentCategories", +"httpMethod": "PATCH", +"id": "dfareporting.contentCategories.patch", +"parameterOrder": [ +"profileId", +"id" +], +"parameters": { +"id": { +"description": "Required. ContentCategory ID.", +"format": "int64", +"location": "query", +"required": true, +"type": "string" +}, +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/contentCategories", +"request": { +"$ref": "ContentCategory" +}, +"response": { +"$ref": "ContentCategory" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +}, +"update": { +"description": "Updates an existing content category.", +"flatPath": "userprofiles/{userprofilesId}/contentCategories", +"httpMethod": "PUT", +"id": "dfareporting.contentCategories.update", +"parameterOrder": [ +"profileId" +], +"parameters": { +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/contentCategories", +"request": { +"$ref": "ContentCategory" +}, +"response": { +"$ref": "ContentCategory" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +} +} +}, +"conversions": { +"methods": { +"batchinsert": { +"description": "Inserts conversions.", +"flatPath": "userprofiles/{profileId}/conversions/batchinsert", +"httpMethod": "POST", +"id": "dfareporting.conversions.batchinsert", +"parameterOrder": [ +"profileId" +], +"parameters": { +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "userprofiles/{profileId}/conversions/batchinsert", +"request": { +"$ref": "ConversionsBatchInsertRequest" +}, +"response": { +"$ref": "ConversionsBatchInsertResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/ddmconversions" +] +}, +"batchupdate": { +"description": "Updates existing conversions.", +"flatPath": "userprofiles/{profileId}/conversions/batchupdate", +"httpMethod": "POST", +"id": "dfareporting.conversions.batchupdate", +"parameterOrder": [ +"profileId" +], +"parameters": { +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "userprofiles/{profileId}/conversions/batchupdate", +"request": { +"$ref": "ConversionsBatchUpdateRequest" +}, +"response": { +"$ref": "ConversionsBatchUpdateResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/ddmconversions" +] +} +} +}, +"countries": { +"methods": { +"get": { +"description": "Gets one country by ID.", +"flatPath": "userprofiles/{userprofilesId}/countries/{countriesId}", +"httpMethod": "GET", +"id": "dfareporting.countries.get", +"parameterOrder": [ +"profileId", +"dartId" +], +"parameters": { +"dartId": { +"description": "Country DART ID.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/countries/{+dartId}", +"response": { +"$ref": "Country" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +}, +"list": { +"description": "Retrieves a list of countries.", +"flatPath": "userprofiles/{userprofilesId}/countries", +"httpMethod": "GET", +"id": "dfareporting.countries.list", +"parameterOrder": [ +"profileId" +], +"parameters": { +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/countries", +"response": { +"$ref": "CountriesListResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +} +} +}, +"creativeAssets": { +"methods": { +"insert": { +"description": "Inserts a new creative asset.", +"flatPath": "userprofiles/{userprofilesId}/creativeAssets/{creativeAssetsId}/creativeAssets", +"httpMethod": "POST", +"id": "dfareporting.creativeAssets.insert", +"mediaUpload": { +"accept": [ +"*/*" +], +"maxSize": "1073741824", +"protocols": { +"simple": { +"multipart": true, +"path": "/upload/dfareporting/v5/userprofiles/{+profileId}/creativeAssets/{+advertiserId}/creativeAssets" +} +} +}, +"parameterOrder": [ +"profileId", +"advertiserId" +], +"parameters": { +"advertiserId": { +"description": "Advertiser ID of this creative. This is a required field.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/creativeAssets/{+advertiserId}/creativeAssets", +"request": { +"$ref": "CreativeAssetMetadata" +}, +"response": { +"$ref": "CreativeAssetMetadata" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +], +"supportsMediaUpload": true +} +} +}, +"creativeFieldValues": { +"methods": { +"delete": { +"description": "Deletes an existing creative field value.", +"flatPath": "userprofiles/{userprofilesId}/creativeFields/{creativeFieldsId}/creativeFieldValues/{creativeFieldValuesId}", +"httpMethod": "DELETE", +"id": "dfareporting.creativeFieldValues.delete", +"parameterOrder": [ +"profileId", +"creativeFieldId", +"id" +], +"parameters": { +"creativeFieldId": { +"description": "Creative field ID for this creative field value.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"id": { +"description": "Creative Field Value ID", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/creativeFields/{+creativeFieldId}/creativeFieldValues/{+id}", +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +}, +"get": { +"description": "Gets one creative field value by ID.", +"flatPath": "userprofiles/{userprofilesId}/creativeFields/{creativeFieldsId}/creativeFieldValues/{creativeFieldValuesId}", +"httpMethod": "GET", +"id": "dfareporting.creativeFieldValues.get", +"parameterOrder": [ +"profileId", +"creativeFieldId", +"id" +], +"parameters": { +"creativeFieldId": { +"description": "Creative field ID for this creative field value.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"id": { +"description": "Creative Field Value ID", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/creativeFields/{+creativeFieldId}/creativeFieldValues/{+id}", +"response": { +"$ref": "CreativeFieldValue" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +}, +"insert": { +"description": "Inserts a new creative field value.", +"flatPath": "userprofiles/{userprofilesId}/creativeFields/{creativeFieldsId}/creativeFieldValues", +"httpMethod": "POST", +"id": "dfareporting.creativeFieldValues.insert", +"parameterOrder": [ +"profileId", +"creativeFieldId" +], +"parameters": { +"creativeFieldId": { +"description": "Creative field ID for this creative field value.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/creativeFields/{+creativeFieldId}/creativeFieldValues", +"request": { +"$ref": "CreativeFieldValue" +}, +"response": { +"$ref": "CreativeFieldValue" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +}, +"list": { +"description": "Retrieves a list of creative field values, possibly filtered. This method supports paging.", +"flatPath": "userprofiles/{userprofilesId}/creativeFields/{creativeFieldsId}/creativeFieldValues", +"httpMethod": "GET", +"id": "dfareporting.creativeFieldValues.list", +"parameterOrder": [ +"profileId", +"creativeFieldId" +], +"parameters": { +"creativeFieldId": { +"description": "Creative field ID for this creative field value.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"ids": { +"description": "Select only creative field values with these IDs.", +"format": "int64", +"location": "query", +"repeated": true, +"type": "string" +}, +"maxResults": { +"default": "1000", +"description": "Maximum number of results to return.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Value of the nextPageToken from the previous result page.", +"location": "query", +"type": "string" +}, +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"searchString": { +"description": "Allows searching for creative field values by their values. Wildcards (e.g. *) are not allowed.", +"location": "query", +"type": "string" +}, +"sortField": { +"default": "ID", +"description": "Field by which to sort the list.", +"enum": [ +"ID", +"VALUE" +], +"enumDescriptions": [ +"", +"" +], +"location": "query", +"type": "string" +}, +"sortOrder": { +"default": "ASCENDING", +"description": "Order of sorted results.", +"enum": [ +"ASCENDING", +"DESCENDING" +], +"enumDescriptions": [ +"Ascending order.", +"Descending order." +], +"location": "query", +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/creativeFields/{+creativeFieldId}/creativeFieldValues", +"response": { +"$ref": "CreativeFieldValuesListResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +}, +"patch": { +"description": "Updates an existing creative field value. This method supports patch semantics.", +"flatPath": "userprofiles/{userprofilesId}/creativeFields/{creativeFieldsId}/creativeFieldValues", +"httpMethod": "PATCH", +"id": "dfareporting.creativeFieldValues.patch", +"parameterOrder": [ +"profileId", +"creativeFieldId", +"id" +], +"parameters": { +"creativeFieldId": { +"description": "CreativeField ID.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"id": { +"description": "CreativeFieldValue ID.", +"format": "int64", +"location": "query", +"required": true, +"type": "string" +}, +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/creativeFields/{+creativeFieldId}/creativeFieldValues", +"request": { +"$ref": "CreativeFieldValue" +}, +"response": { +"$ref": "CreativeFieldValue" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +}, +"update": { +"description": "Updates an existing creative field value.", +"flatPath": "userprofiles/{userprofilesId}/creativeFields/{creativeFieldsId}/creativeFieldValues", +"httpMethod": "PUT", +"id": "dfareporting.creativeFieldValues.update", +"parameterOrder": [ +"profileId", +"creativeFieldId" +], +"parameters": { +"creativeFieldId": { +"description": "Creative field ID for this creative field value.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/creativeFields/{+creativeFieldId}/creativeFieldValues", +"request": { +"$ref": "CreativeFieldValue" +}, +"response": { +"$ref": "CreativeFieldValue" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +} +} +}, +"creativeFields": { +"methods": { +"delete": { +"description": "Deletes an existing creative field.", +"flatPath": "userprofiles/{userprofilesId}/creativeFields/{creativeFieldsId}", +"httpMethod": "DELETE", +"id": "dfareporting.creativeFields.delete", +"parameterOrder": [ +"profileId", +"id" +], +"parameters": { +"id": { +"description": "Creative Field ID", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/creativeFields/{+id}", +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +}, +"get": { +"description": "Gets one creative field by ID.", +"flatPath": "userprofiles/{userprofilesId}/creativeFields/{creativeFieldsId}", +"httpMethod": "GET", +"id": "dfareporting.creativeFields.get", +"parameterOrder": [ +"profileId", +"id" +], +"parameters": { +"id": { +"description": "Creative Field ID", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/creativeFields/{+id}", +"response": { +"$ref": "CreativeField" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +}, +"insert": { +"description": "Inserts a new creative field.", +"flatPath": "userprofiles/{userprofilesId}/creativeFields", +"httpMethod": "POST", +"id": "dfareporting.creativeFields.insert", +"parameterOrder": [ +"profileId" +], +"parameters": { +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/creativeFields", +"request": { +"$ref": "CreativeField" +}, +"response": { +"$ref": "CreativeField" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +}, +"list": { +"description": "Retrieves a list of creative fields, possibly filtered. This method supports paging.", +"flatPath": "userprofiles/{userprofilesId}/creativeFields", +"httpMethod": "GET", +"id": "dfareporting.creativeFields.list", +"parameterOrder": [ +"profileId" +], +"parameters": { +"advertiserIds": { +"description": "Select only creative fields that belong to these advertisers.", +"format": "int64", +"location": "query", +"repeated": true, +"type": "string" +}, +"ids": { +"description": "Select only creative fields with these IDs.", +"format": "int64", +"location": "query", +"repeated": true, +"type": "string" +}, +"maxResults": { +"default": "1000", +"description": "Maximum number of results to return.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Value of the nextPageToken from the previous result page.", +"location": "query", +"type": "string" +}, +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"searchString": { +"description": "Allows searching for creative fields by name or ID. Wildcards (*) are allowed. For example, \"creativefield*2015\" will return creative fields with names like \"creativefield June 2015\", \"creativefield April 2015\", or simply \"creativefield 2015\". Most of the searches also add wild-cards implicitly at the start and the end of the search string. For example, a search string of \"creativefield\" will match creative fields with the name \"my creativefield\", \"creativefield 2015\", or simply \"creativefield\".", +"location": "query", +"type": "string" +}, +"sortField": { +"default": "ID", +"description": "Field by which to sort the list.", +"enum": [ +"ID", +"NAME" +], +"enumDescriptions": [ +"", +"" +], +"location": "query", +"type": "string" +}, +"sortOrder": { +"default": "ASCENDING", +"description": "Order of sorted results.", +"enum": [ +"ASCENDING", +"DESCENDING" +], +"enumDescriptions": [ +"Ascending order.", +"Descending order." +], +"location": "query", +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/creativeFields", +"response": { +"$ref": "CreativeFieldsListResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +}, +"patch": { +"description": "Updates an existing creative field. This method supports patch semantics.", +"flatPath": "userprofiles/{userprofilesId}/creativeFields", +"httpMethod": "PATCH", +"id": "dfareporting.creativeFields.patch", +"parameterOrder": [ +"profileId", +"id" +], +"parameters": { +"id": { +"description": "CreativeField ID.", +"format": "int64", +"location": "query", +"required": true, +"type": "string" +}, +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/creativeFields", +"request": { +"$ref": "CreativeField" +}, +"response": { +"$ref": "CreativeField" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +}, +"update": { +"description": "Updates an existing creative field.", +"flatPath": "userprofiles/{userprofilesId}/creativeFields", +"httpMethod": "PUT", +"id": "dfareporting.creativeFields.update", +"parameterOrder": [ +"profileId" +], +"parameters": { +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/creativeFields", +"request": { +"$ref": "CreativeField" +}, +"response": { +"$ref": "CreativeField" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +} +} +}, +"creativeGroups": { +"methods": { +"get": { +"description": "Gets one creative group by ID.", +"flatPath": "userprofiles/{userprofilesId}/creativeGroups/{creativeGroupsId}", +"httpMethod": "GET", +"id": "dfareporting.creativeGroups.get", +"parameterOrder": [ +"profileId", +"id" +], +"parameters": { +"id": { +"description": "Creative group ID.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/creativeGroups/{+id}", +"response": { +"$ref": "CreativeGroup" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +}, +"insert": { +"description": "Inserts a new creative group.", +"flatPath": "userprofiles/{userprofilesId}/creativeGroups", +"httpMethod": "POST", +"id": "dfareporting.creativeGroups.insert", +"parameterOrder": [ +"profileId" +], +"parameters": { +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/creativeGroups", +"request": { +"$ref": "CreativeGroup" +}, +"response": { +"$ref": "CreativeGroup" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +}, +"list": { +"description": "Retrieves a list of creative groups, possibly filtered. This method supports paging.", +"flatPath": "userprofiles/{userprofilesId}/creativeGroups", +"httpMethod": "GET", +"id": "dfareporting.creativeGroups.list", +"parameterOrder": [ +"profileId" +], +"parameters": { +"advertiserIds": { +"description": "Select only creative groups that belong to these advertisers.", +"format": "int64", +"location": "query", +"repeated": true, +"type": "string" +}, +"groupNumber": { +"description": "Select only creative groups that belong to this subgroup.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"ids": { +"description": "Select only creative groups with these IDs.", +"format": "int64", +"location": "query", +"repeated": true, +"type": "string" +}, +"maxResults": { +"default": "1000", +"description": "Maximum number of results to return.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Value of the nextPageToken from the previous result page.", +"location": "query", +"type": "string" +}, +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"searchString": { +"description": "Allows searching for creative groups by name or ID. Wildcards (*) are allowed. For example, \"creativegroup*2015\" will return creative groups with names like \"creativegroup June 2015\", \"creativegroup April 2015\", or simply \"creativegroup 2015\". Most of the searches also add wild-cards implicitly at the start and the end of the search string. For example, a search string of \"creativegroup\" will match creative groups with the name \"my creativegroup\", \"creativegroup 2015\", or simply \"creativegroup\".", +"location": "query", +"type": "string" +}, +"sortField": { +"default": "ID", +"description": "Field by which to sort the list.", +"enum": [ +"ID", +"NAME" +], +"enumDescriptions": [ +"", +"" +], +"location": "query", +"type": "string" +}, +"sortOrder": { +"default": "ASCENDING", +"description": "Order of sorted results.", +"enum": [ +"ASCENDING", +"DESCENDING" +], +"enumDescriptions": [ +"Ascending order.", +"Descending order." +], +"location": "query", +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/creativeGroups", +"response": { +"$ref": "CreativeGroupsListResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +}, +"patch": { +"description": "Updates an existing creative group. This method supports patch semantics.", +"flatPath": "userprofiles/{userprofilesId}/creativeGroups", +"httpMethod": "PATCH", +"id": "dfareporting.creativeGroups.patch", +"parameterOrder": [ +"profileId", +"id" +], +"parameters": { +"id": { +"description": "Required. Creative Group ID.", +"format": "int64", +"location": "query", +"required": true, +"type": "string" +}, +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/creativeGroups", +"request": { +"$ref": "CreativeGroup" +}, +"response": { +"$ref": "CreativeGroup" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +}, +"update": { +"description": "Updates an existing creative group.", +"flatPath": "userprofiles/{userprofilesId}/creativeGroups", +"httpMethod": "PUT", +"id": "dfareporting.creativeGroups.update", +"parameterOrder": [ +"profileId" +], +"parameters": { +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/creativeGroups", +"request": { +"$ref": "CreativeGroup" +}, +"response": { +"$ref": "CreativeGroup" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +} +} +}, +"creatives": { +"methods": { +"get": { +"description": "Gets one creative by ID.", +"flatPath": "userprofiles/{userprofilesId}/creatives/{creativesId}", +"httpMethod": "GET", +"id": "dfareporting.creatives.get", +"parameterOrder": [ +"profileId", +"id" +], +"parameters": { +"id": { +"description": "Creative ID.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/creatives/{+id}", +"response": { +"$ref": "Creative" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +}, +"insert": { +"description": "Inserts a new creative.", +"flatPath": "userprofiles/{userprofilesId}/creatives", +"httpMethod": "POST", +"id": "dfareporting.creatives.insert", +"parameterOrder": [ +"profileId" +], +"parameters": { +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/creatives", +"request": { +"$ref": "Creative" +}, +"response": { +"$ref": "Creative" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +}, +"list": { +"description": "Retrieves a list of creatives, possibly filtered. This method supports paging.", +"flatPath": "userprofiles/{userprofilesId}/creatives", +"httpMethod": "GET", +"id": "dfareporting.creatives.list", +"parameterOrder": [ +"profileId" +], +"parameters": { +"active": { +"description": "Select only active creatives. Leave blank to select active and inactive creatives.", +"location": "query", +"type": "boolean" +}, +"advertiserId": { +"description": "Select only creatives with this advertiser ID.", +"format": "int64", +"location": "query", +"type": "string" +}, +"archived": { +"description": "Select only archived creatives. Leave blank to select archived and unarchived creatives.", +"location": "query", +"type": "boolean" +}, +"campaignId": { +"description": "Select only creatives with this campaign ID.", +"format": "int64", +"location": "query", +"type": "string" +}, +"companionCreativeIds": { +"description": "Select only in-stream video creatives with these companion IDs.", +"format": "int64", +"location": "query", +"repeated": true, +"type": "string" +}, +"creativeFieldIds": { +"description": "Select only creatives with these creative field IDs.", +"format": "int64", +"location": "query", +"repeated": true, +"type": "string" +}, +"ids": { +"description": "Select only creatives with these IDs.", +"format": "int64", +"location": "query", +"repeated": true, +"type": "string" +}, +"maxResults": { +"default": "1000", +"description": "Maximum number of results to return.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Value of the nextPageToken from the previous result page.", +"location": "query", +"type": "string" +}, +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"renderingIds": { +"description": "Select only creatives with these rendering IDs.", +"format": "int64", +"location": "query", +"repeated": true, +"type": "string" +}, +"searchString": { +"description": "Allows searching for objects by name or ID. Wildcards (*) are allowed. For example, \"creative*2015\" will return objects with names like \"creative June 2015\", \"creative April 2015\", or simply \"creative 2015\". Most of the searches also add wildcards implicitly at the start and the end of the search string. For example, a search string of \"creative\" will match objects with name \"my creative\", \"creative 2015\", or simply \"creative\".", +"location": "query", +"type": "string" +}, +"sizeIds": { +"description": "Select only creatives with these size IDs.", +"format": "int64", +"location": "query", +"repeated": true, +"type": "string" +}, +"sortField": { +"default": "ID", +"description": "Field by which to sort the list.", +"enum": [ +"ID", +"NAME" +], +"enumDescriptions": [ +"", +"" +], +"location": "query", +"type": "string" +}, +"sortOrder": { +"default": "ASCENDING", +"description": "Order of sorted results.", +"enum": [ +"ASCENDING", +"DESCENDING" +], +"enumDescriptions": [ +"Ascending order.", +"Descending order." +], +"location": "query", +"type": "string" +}, +"studioCreativeId": { +"description": "Select only creatives corresponding to this Studio creative ID.", +"format": "int64", +"location": "query", +"type": "string" +}, +"types": { +"description": "Select only creatives with these creative types.", +"enum": [ +"IMAGE", +"DISPLAY_REDIRECT", +"CUSTOM_DISPLAY", +"INTERNAL_REDIRECT", +"CUSTOM_DISPLAY_INTERSTITIAL", +"INTERSTITIAL_INTERNAL_REDIRECT", +"TRACKING_TEXT", +"RICH_MEDIA_DISPLAY_BANNER", +"RICH_MEDIA_INPAGE_FLOATING", +"RICH_MEDIA_IM_EXPAND", +"RICH_MEDIA_DISPLAY_EXPANDING", +"RICH_MEDIA_DISPLAY_INTERSTITIAL", +"RICH_MEDIA_DISPLAY_MULTI_FLOATING_INTERSTITIAL", +"RICH_MEDIA_MOBILE_IN_APP", +"FLASH_INPAGE", +"INSTREAM_VIDEO", +"VPAID_LINEAR_VIDEO", +"VPAID_NON_LINEAR_VIDEO", +"INSTREAM_VIDEO_REDIRECT", +"RICH_MEDIA_PEEL_DOWN", +"HTML5_BANNER", +"DISPLAY", +"DISPLAY_IMAGE_GALLERY", +"BRAND_SAFE_DEFAULT_INSTREAM_VIDEO", +"INSTREAM_AUDIO" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"" +], +"location": "query", +"repeated": true, +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/creatives", +"response": { +"$ref": "CreativesListResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +}, +"patch": { +"description": "Updates an existing creative. This method supports patch semantics.", +"flatPath": "userprofiles/{userprofilesId}/creatives", +"httpMethod": "PATCH", +"id": "dfareporting.creatives.patch", +"parameterOrder": [ +"profileId", +"id" +], +"parameters": { +"id": { +"description": "Required. Creative ID.", +"format": "int64", +"location": "query", +"required": true, +"type": "string" +}, +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/creatives", +"request": { +"$ref": "Creative" +}, +"response": { +"$ref": "Creative" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +}, +"update": { +"description": "Updates an existing creative.", +"flatPath": "userprofiles/{userprofilesId}/creatives", +"httpMethod": "PUT", +"id": "dfareporting.creatives.update", +"parameterOrder": [ +"profileId" +], +"parameters": { +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/creatives", +"request": { +"$ref": "Creative" +}, +"response": { +"$ref": "Creative" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +} +} +}, +"dimensionValues": { +"methods": { +"query": { +"description": "Retrieves list of report dimension values for a list of filters.", +"flatPath": "userprofiles/{profileId}/dimensionvalues/query", +"httpMethod": "POST", +"id": "dfareporting.dimensionValues.query", +"parameterOrder": [ +"profileId" +], +"parameters": { +"maxResults": { +"default": "100", +"description": "Maximum number of results to return.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The value of the nextToken from the previous result page.", +"location": "query", +"type": "string" +}, +"profileId": { +"description": "The Campaign Manager 360 user profile ID.", +"format": "int64", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "userprofiles/{profileId}/dimensionvalues/query", +"request": { +"$ref": "DimensionValueRequest" +}, +"response": { +"$ref": "DimensionValueList" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfareporting" +] +} +} +}, +"directorySites": { +"methods": { +"get": { +"description": "Gets one directory site by ID.", +"flatPath": "userprofiles/{userprofilesId}/directorySites/{directorySitesId}", +"httpMethod": "GET", +"id": "dfareporting.directorySites.get", +"parameterOrder": [ +"profileId", +"id" +], +"parameters": { +"id": { +"description": "Directory site ID.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/directorySites/{+id}", +"response": { +"$ref": "DirectorySite" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +}, +"insert": { +"description": "Inserts a new directory site.", +"flatPath": "userprofiles/{userprofilesId}/directorySites", +"httpMethod": "POST", +"id": "dfareporting.directorySites.insert", +"parameterOrder": [ +"profileId" +], +"parameters": { +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/directorySites", +"request": { +"$ref": "DirectorySite" +}, +"response": { +"$ref": "DirectorySite" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +}, +"list": { +"description": "Retrieves a list of directory sites, possibly filtered. This method supports paging.", +"flatPath": "userprofiles/{userprofilesId}/directorySites", +"httpMethod": "GET", +"id": "dfareporting.directorySites.list", +"parameterOrder": [ +"profileId" +], +"parameters": { +"acceptsInStreamVideoPlacements": { +"description": "This search filter is no longer supported and will have no effect on the results returned.", +"location": "query", +"type": "boolean" +}, +"acceptsInterstitialPlacements": { +"description": "This search filter is no longer supported and will have no effect on the results returned.", +"location": "query", +"type": "boolean" +}, +"acceptsPublisherPaidPlacements": { +"description": "Select only directory sites that accept publisher paid placements. This field can be left blank.", +"location": "query", +"type": "boolean" +}, +"active": { +"description": "Select only active directory sites. Leave blank to retrieve both active and inactive directory sites.", +"location": "query", +"type": "boolean" +}, +"dfpNetworkCode": { +"description": "Select only directory sites with this Ad Manager network code.", +"location": "query", +"type": "string" +}, +"ids": { +"description": "Select only directory sites with these IDs.", +"format": "int64", +"location": "query", +"repeated": true, +"type": "string" +}, +"maxResults": { +"default": "1000", +"description": "Maximum number of results to return.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Value of the nextPageToken from the previous result page.", +"location": "query", +"type": "string" +}, +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"searchString": { +"description": "Allows searching for objects by name, ID or URL. Wildcards (*) are allowed. For example, \"directory site*2015\" will return objects with names like \"directory site June 2015\", \"directory site April 2015\", or simply \"directory site 2015\". Most of the searches also add wildcards implicitly at the start and the end of the search string. For example, a search string of \"directory site\" will match objects with name \"my directory site\", \"directory site 2015\" or simply, \"directory site\".", +"location": "query", +"type": "string" +}, +"sortField": { +"default": "ID", +"description": "Field by which to sort the list.", +"enum": [ +"ID", +"NAME" +], +"enumDescriptions": [ +"", +"" +], +"location": "query", +"type": "string" +}, +"sortOrder": { +"default": "ASCENDING", +"description": "Order of sorted results.", +"enum": [ +"ASCENDING", +"DESCENDING" +], +"enumDescriptions": [ +"Ascending order.", +"Descending order." +], +"location": "query", +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/directorySites", +"response": { +"$ref": "DirectorySitesListResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +} +} +}, +"dynamicFeeds": { +"methods": { +"get": { +"description": "Gets a dynamic feed by ID.", +"flatPath": "studio/dynamicFeeds/{dynamicFeedsId}", +"httpMethod": "GET", +"id": "dfareporting.dynamicFeeds.get", +"parameterOrder": [ +"dynamicFeedId" +], +"parameters": { +"dynamicFeedId": { +"description": "Required. Dynamic feed ID.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "studio/dynamicFeeds/{+dynamicFeedId}", +"response": { +"$ref": "DynamicFeed" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +}, +"insert": { +"description": "Inserts a new dynamic feed.", +"flatPath": "studio/dynamicFeeds", +"httpMethod": "POST", +"id": "dfareporting.dynamicFeeds.insert", +"parameterOrder": [], +"parameters": {}, +"path": "studio/dynamicFeeds", +"request": { +"$ref": "DynamicFeedsInsertRequest" +}, +"response": { +"$ref": "DynamicFeed" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +}, +"retransform": { +"description": "Retransforms a dynamic feed. Only draft feeds can be retransformed (i.e. the feed has not been published).", +"flatPath": "studio/dynamicFeeds/{dynamicFeedsId}/retransform", +"httpMethod": "POST", +"id": "dfareporting.dynamicFeeds.retransform", +"parameterOrder": [ +"dynamicFeedId" +], +"parameters": { +"dynamicFeedId": { +"description": "Required. Dynamic feed ID.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "studio/dynamicFeeds/{+dynamicFeedId}/retransform", +"response": { +"$ref": "DynamicFeed" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +}, +"update": { +"description": "Updates a new dynamic feed. For draft feeds, only Element can be updated. For published feeds, only FeedSchedule can be updated. Other fields will be ignored.", +"flatPath": "studio/dynamicFeeds", +"httpMethod": "PUT", +"id": "dfareporting.dynamicFeeds.update", +"parameterOrder": [], +"parameters": {}, +"path": "studio/dynamicFeeds", +"request": { +"$ref": "DynamicFeed" +}, +"response": { +"$ref": "DynamicFeed" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +} +} +}, +"dynamicProfiles": { +"methods": { +"generateCode": { +"description": "Generates code for a dynamic profile, which will need unescaping.", +"flatPath": "studio/dynamicProfiles/{dynamicProfilesId}/generateCode", +"httpMethod": "GET", +"id": "dfareporting.dynamicProfiles.generateCode", +"parameterOrder": [ +"dynamicProfileId" +], +"parameters": { +"dynamicProfileId": { +"description": "Required. Dynamic profile ID.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "studio/dynamicProfiles/{+dynamicProfileId}/generateCode", +"response": { +"$ref": "DynamicProfileGenerateCodeResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +}, +"get": { +"description": "Gets a dynamic profile by ID.", +"flatPath": "studio/dynamicProfiles/{dynamicProfilesId}", +"httpMethod": "GET", +"id": "dfareporting.dynamicProfiles.get", +"parameterOrder": [ +"dynamicProfileId" +], +"parameters": { +"dynamicProfileId": { +"description": "Required. Dynamic profile ID.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "studio/dynamicProfiles/{+dynamicProfileId}", +"response": { +"$ref": "DynamicProfile" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +}, +"insert": { +"description": "Inserts a new dynamic profile.", +"flatPath": "studio/dynamicProfiles", +"httpMethod": "POST", +"id": "dfareporting.dynamicProfiles.insert", +"parameterOrder": [], +"parameters": {}, +"path": "studio/dynamicProfiles", +"request": { +"$ref": "DynamicProfile" +}, +"response": { +"$ref": "DynamicProfile" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +}, +"publish": { +"description": "Publish for a dynamic profile.", +"flatPath": "studio/dynamicProfiles/{dynamicProfilesId}/publish", +"httpMethod": "POST", +"id": "dfareporting.dynamicProfiles.publish", +"parameterOrder": [ +"dynamicProfileId" +], +"parameters": { +"dynamicProfileId": { +"description": "Required. Dynamic profile ID.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "studio/dynamicProfiles/{+dynamicProfileId}/publish", +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +}, +"update": { +"description": "Updates an existing dynamic profile.", +"flatPath": "studio/dynamicProfiles", +"httpMethod": "PUT", +"id": "dfareporting.dynamicProfiles.update", +"parameterOrder": [], +"parameters": {}, +"path": "studio/dynamicProfiles", +"request": { +"$ref": "DynamicProfile" +}, +"response": { +"$ref": "DynamicProfile" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +} +} +}, +"dynamicTargetingKeys": { +"methods": { +"delete": { +"description": "Deletes an existing dynamic targeting key.", +"flatPath": "userprofiles/{userprofilesId}/dynamicTargetingKeys/{dynamicTargetingKeysId}", +"httpMethod": "DELETE", +"id": "dfareporting.dynamicTargetingKeys.delete", +"parameterOrder": [ +"profileId", +"objectId", +"name", +"objectType" +], +"parameters": { +"name": { +"description": "Required. Name of this dynamic targeting key. This is a required field. Must be less than 256 characters long and cannot contain commas. All characters are converted to lowercase.", +"location": "query", +"required": true, +"type": "string" +}, +"objectId": { +"description": "ID of the object of this dynamic targeting key. This is a required field.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"objectType": { +"description": "Required. Type of the object of this dynamic targeting key. This is a required field.", +"enum": [ +"OBJECT_ADVERTISER", +"OBJECT_AD", +"OBJECT_CREATIVE", +"OBJECT_PLACEMENT" +], +"enumDescriptions": [ +"", +"", +"", +"" +], +"location": "query", +"required": true, +"type": "string" +}, +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/dynamicTargetingKeys/{+objectId}", +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +}, +"insert": { +"description": "Inserts a new dynamic targeting key. Keys must be created at the advertiser level before being assigned to the advertiser's ads, creatives, or placements. There is a maximum of 1000 keys per advertiser, out of which a maximum of 20 keys can be assigned per ad, creative, or placement.", +"flatPath": "userprofiles/{userprofilesId}/dynamicTargetingKeys", +"httpMethod": "POST", +"id": "dfareporting.dynamicTargetingKeys.insert", +"parameterOrder": [ +"profileId" +], +"parameters": { +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/dynamicTargetingKeys", +"request": { +"$ref": "DynamicTargetingKey" +}, +"response": { +"$ref": "DynamicTargetingKey" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +}, +"list": { +"description": "Retrieves a list of dynamic targeting keys.", +"flatPath": "userprofiles/{userprofilesId}/dynamicTargetingKeys", +"httpMethod": "GET", +"id": "dfareporting.dynamicTargetingKeys.list", +"parameterOrder": [ +"profileId" +], +"parameters": { +"advertiserId": { +"description": "Select only dynamic targeting keys whose object has this advertiser ID.", +"format": "int64", +"location": "query", +"type": "string" +}, +"names": { +"description": "Select only dynamic targeting keys exactly matching these names.", +"location": "query", +"repeated": true, +"type": "string" +}, +"objectId": { +"description": "Select only dynamic targeting keys with this object ID.", +"format": "int64", +"location": "query", +"type": "string" +}, +"objectType": { +"description": "Select only dynamic targeting keys with this object type.", +"enum": [ +"OBJECT_ADVERTISER", +"OBJECT_AD", +"OBJECT_CREATIVE", +"OBJECT_PLACEMENT" +], +"enumDescriptions": [ +"", +"", +"", +"" +], +"location": "query", +"type": "string" +}, +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/dynamicTargetingKeys", +"response": { +"$ref": "DynamicTargetingKeysListResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +} +} +}, +"eventTags": { +"methods": { +"delete": { +"description": "Deletes an existing event tag.", +"flatPath": "userprofiles/{userprofilesId}/eventTags/{eventTagsId}", +"httpMethod": "DELETE", +"id": "dfareporting.eventTags.delete", +"parameterOrder": [ +"profileId", +"id" +], +"parameters": { +"id": { +"description": "Event tag ID.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/eventTags/{+id}", +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +}, +"get": { +"description": "Gets one event tag by ID.", +"flatPath": "userprofiles/{userprofilesId}/eventTags/{eventTagsId}", +"httpMethod": "GET", +"id": "dfareporting.eventTags.get", +"parameterOrder": [ +"profileId", +"id" +], +"parameters": { +"id": { +"description": "Event tag ID.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/eventTags/{+id}", +"response": { +"$ref": "EventTag" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +}, +"insert": { +"description": "Inserts a new event tag.", +"flatPath": "userprofiles/{userprofilesId}/eventTags", +"httpMethod": "POST", +"id": "dfareporting.eventTags.insert", +"parameterOrder": [ +"profileId" +], +"parameters": { +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/eventTags", +"request": { +"$ref": "EventTag" +}, +"response": { +"$ref": "EventTag" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +}, +"list": { +"description": "Retrieves a list of event tags, possibly filtered.", +"flatPath": "userprofiles/{userprofilesId}/eventTags", +"httpMethod": "GET", +"id": "dfareporting.eventTags.list", +"parameterOrder": [ +"profileId" +], +"parameters": { +"adId": { +"description": "Select only event tags that belong to this ad.", +"format": "int64", +"location": "query", +"type": "string" +}, +"advertiserId": { +"description": "Select only event tags that belong to this advertiser.", +"format": "int64", +"location": "query", +"type": "string" +}, +"campaignId": { +"description": "Select only event tags that belong to this campaign.", +"format": "int64", +"location": "query", +"type": "string" +}, +"definitionsOnly": { +"description": "Examine only the specified campaign or advertiser's event tags for matching selector criteria. When set to false, the parent advertiser and parent campaign of the specified ad or campaign is examined as well. In addition, when set to false, the status field is examined as well, along with the enabledByDefault field. This parameter can not be set to true when adId is specified as ads do not define their own even tags.", +"location": "query", +"type": "boolean" +}, +"enabled": { +"description": "Select only enabled event tags. What is considered enabled or disabled depends on the definitionsOnly parameter. When definitionsOnly is set to true, only the specified advertiser or campaign's event tags' enabledByDefault field is examined. When definitionsOnly is set to false, the specified ad or specified campaign's parent advertiser's or parent campaign's event tags' enabledByDefault and status fields are examined as well.", +"location": "query", +"type": "boolean" +}, +"eventTagTypes": { +"description": "Select only event tags with the specified event tag types. Event tag types can be used to specify whether to use a third-party pixel, a third-party JavaScript URL, or a third-party click-through URL for either impression or click tracking.", +"enum": [ +"IMPRESSION_IMAGE_EVENT_TAG", +"IMPRESSION_JAVASCRIPT_EVENT_TAG", +"CLICK_THROUGH_EVENT_TAG" +], +"enumDescriptions": [ +"A third-party pixel for impression tracking.", +"A third-party JavaScript URL for impression tracking.", +"A third-party URL for click tracking that redirects to the landing page." +], +"location": "query", +"repeated": true, +"type": "string" +}, +"ids": { +"description": "Select only event tags with these IDs.", +"format": "int64", +"location": "query", +"repeated": true, +"type": "string" +}, +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"searchString": { +"description": "Allows searching for objects by name or ID. Wildcards (*) are allowed. For example, \"eventtag*2015\" will return objects with names like \"eventtag June 2015\", \"eventtag April 2015\", or simply \"eventtag 2015\". Most of the searches also add wildcards implicitly at the start and the end of the search string. For example, a search string of \"eventtag\" will match objects with name \"my eventtag\", \"eventtag 2015\", or simply \"eventtag\".", +"location": "query", +"type": "string" +}, +"sortField": { +"default": "ID", +"description": "Field by which to sort the list.", +"enum": [ +"ID", +"NAME" +], +"enumDescriptions": [ +"", +"" +], +"location": "query", +"type": "string" +}, +"sortOrder": { +"default": "ASCENDING", +"description": "Order of sorted results.", +"enum": [ +"ASCENDING", +"DESCENDING" +], +"enumDescriptions": [ +"Ascending order.", +"Descending order." +], +"location": "query", +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/eventTags", +"response": { +"$ref": "EventTagsListResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +}, +"patch": { +"description": "Updates an existing event tag. This method supports patch semantics.", +"flatPath": "userprofiles/{userprofilesId}/eventTags", +"httpMethod": "PATCH", +"id": "dfareporting.eventTags.patch", +"parameterOrder": [ +"profileId", +"id" +], +"parameters": { +"id": { +"description": "Required. EventTag ID.", +"format": "int64", +"location": "query", +"required": true, +"type": "string" +}, +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/eventTags", +"request": { +"$ref": "EventTag" +}, +"response": { +"$ref": "EventTag" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +}, +"update": { +"description": "Updates an existing event tag.", +"flatPath": "userprofiles/{userprofilesId}/eventTags", +"httpMethod": "PUT", +"id": "dfareporting.eventTags.update", +"parameterOrder": [ +"profileId" +], +"parameters": { +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/eventTags", +"request": { +"$ref": "EventTag" +}, +"response": { +"$ref": "EventTag" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +} +} +}, +"files": { +"methods": { +"get": { +"description": "Retrieves a report file by its report ID and file ID. This method supports media download.", +"flatPath": "reports/{reportId}/files/{fileId}", +"httpMethod": "GET", +"id": "dfareporting.files.get", +"parameterOrder": [ +"reportId", +"fileId" +], +"parameters": { +"fileId": { +"description": "The ID of the report file.", +"format": "int64", +"location": "path", +"required": true, +"type": "string" +}, +"reportId": { +"description": "The ID of the report.", +"format": "int64", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "reports/{reportId}/files/{fileId}", +"response": { +"$ref": "File" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfareporting" +], +"supportsMediaDownload": true +}, +"list": { +"description": "Lists files for a user profile.", +"flatPath": "userprofiles/{profileId}/files", +"httpMethod": "GET", +"id": "dfareporting.files.list", +"parameterOrder": [ +"profileId" +], +"parameters": { +"maxResults": { +"default": "10", +"description": "Maximum number of results to return.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The value of the nextToken from the previous result page.", +"location": "query", +"type": "string" +}, +"profileId": { +"description": "The Campaign Manager 360 user profile ID.", +"format": "int64", +"location": "path", +"required": true, +"type": "string" +}, +"scope": { +"default": "MINE", +"description": "The scope that defines which results are returned.", +"enum": [ +"ALL", +"MINE", +"SHARED_WITH_ME" +], +"enumDescriptions": [ +"All files in account.", +"My files.", +"Files shared with me." +], +"location": "query", +"type": "string" +}, +"sortField": { +"default": "LAST_MODIFIED_TIME", +"description": "The field by which to sort the list.", +"enum": [ +"ID", +"LAST_MODIFIED_TIME" +], +"enumDescriptions": [ +"Sort by file ID.", +"Sort by 'lastmodifiedAt' field." +], +"location": "query", +"type": "string" +}, +"sortOrder": { +"default": "DESCENDING", +"description": "Order of sorted results.", +"enum": [ +"ASCENDING", +"DESCENDING" +], +"enumDescriptions": [ +"Ascending order.", +"Descending order." +], +"location": "query", +"type": "string" +} +}, +"path": "userprofiles/{profileId}/files", +"response": { +"$ref": "FileList" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfareporting" +] +} +} +}, +"floodlightActivities": { +"methods": { +"delete": { +"description": "Deletes an existing floodlight activity.", +"flatPath": "userprofiles/{userprofilesId}/floodlightActivities/{floodlightActivitiesId}", +"httpMethod": "DELETE", +"id": "dfareporting.floodlightActivities.delete", +"parameterOrder": [ +"profileId", +"id" +], +"parameters": { +"id": { +"description": "Floodlight activity ID.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/floodlightActivities/{+id}", +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +}, +"generatetag": { +"description": "Generates a tag for a floodlight activity.", +"flatPath": "userprofiles/{userprofilesId}/floodlightActivities/generatetag", +"httpMethod": "POST", +"id": "dfareporting.floodlightActivities.generatetag", +"parameterOrder": [ +"profileId" +], +"parameters": { +"floodlightActivityId": { +"description": "Floodlight activity ID for which we want to generate a tag.", +"format": "int64", +"location": "query", +"type": "string" +}, +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/floodlightActivities/generatetag", +"response": { +"$ref": "FloodlightActivitiesGenerateTagResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +}, +"get": { +"description": "Gets one floodlight activity by ID.", +"flatPath": "userprofiles/{userprofilesId}/floodlightActivities/{floodlightActivitiesId}", +"httpMethod": "GET", +"id": "dfareporting.floodlightActivities.get", +"parameterOrder": [ +"profileId", +"id" +], +"parameters": { +"id": { +"description": "Floodlight activity ID.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/floodlightActivities/{+id}", +"response": { +"$ref": "FloodlightActivity" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +}, +"insert": { +"description": "Inserts a new floodlight activity.", +"flatPath": "userprofiles/{userprofilesId}/floodlightActivities", +"httpMethod": "POST", +"id": "dfareporting.floodlightActivities.insert", +"parameterOrder": [ +"profileId" +], +"parameters": { +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/floodlightActivities", +"request": { +"$ref": "FloodlightActivity" +}, +"response": { +"$ref": "FloodlightActivity" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +}, +"list": { +"description": "Retrieves a list of floodlight activities, possibly filtered. This method supports paging.", +"flatPath": "userprofiles/{userprofilesId}/floodlightActivities", +"httpMethod": "GET", +"id": "dfareporting.floodlightActivities.list", +"parameterOrder": [ +"profileId" +], +"parameters": { +"advertiserId": { +"description": "Select only floodlight activities for the specified advertiser ID. Must specify either ids, advertiserId, or floodlightConfigurationId for a non-empty result.", +"format": "int64", +"location": "query", +"type": "string" +}, +"floodlightActivityGroupIds": { +"description": "Select only floodlight activities with the specified floodlight activity group IDs.", +"format": "int64", +"location": "query", +"repeated": true, +"type": "string" +}, +"floodlightActivityGroupName": { +"description": "Select only floodlight activities with the specified floodlight activity group name.", +"location": "query", +"type": "string" +}, +"floodlightActivityGroupTagString": { +"description": "Select only floodlight activities with the specified floodlight activity group tag string.", +"location": "query", +"type": "string" +}, +"floodlightActivityGroupType": { +"description": "Select only floodlight activities with the specified floodlight activity group type.", +"enum": [ +"COUNTER", +"SALE" +], +"enumDescriptions": [ +"", +"" +], +"location": "query", +"type": "string" +}, +"floodlightConfigurationId": { +"description": "Select only floodlight activities for the specified floodlight configuration ID. Must specify either ids, advertiserId, or floodlightConfigurationId for a non-empty result.", +"format": "int64", +"location": "query", +"type": "string" +}, +"ids": { +"description": "Select only floodlight activities with the specified IDs. Must specify either ids, advertiserId, or floodlightConfigurationId for a non-empty result.", +"format": "int64", +"location": "query", +"repeated": true, +"type": "string" +}, +"maxResults": { +"default": "1000", +"description": "Maximum number of results to return.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Value of the nextPageToken from the previous result page.", +"location": "query", +"type": "string" +}, +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"searchString": { +"description": "Allows searching for objects by name or ID. Wildcards (*) are allowed. For example, \"floodlightactivity*2015\" will return objects with names like \"floodlightactivity June 2015\", \"floodlightactivity April 2015\", or simply \"floodlightactivity 2015\". Most of the searches also add wildcards implicitly at the start and the end of the search string. For example, a search string of \"floodlightactivity\" will match objects with name \"my floodlightactivity activity\", \"floodlightactivity 2015\", or simply \"floodlightactivity\".", +"location": "query", +"type": "string" +}, +"sortField": { +"default": "ID", +"description": "Field by which to sort the list.", +"enum": [ +"ID", +"NAME" +], +"enumDescriptions": [ +"", +"" +], +"location": "query", +"type": "string" +}, +"sortOrder": { +"default": "ASCENDING", +"description": "Order of sorted results.", +"enum": [ +"ASCENDING", +"DESCENDING" +], +"enumDescriptions": [ +"Ascending order.", +"Descending order." +], +"location": "query", +"type": "string" +}, +"tagString": { +"description": "Select only floodlight activities with the specified tag string.", +"location": "query", +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/floodlightActivities", +"response": { +"$ref": "FloodlightActivitiesListResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +}, +"patch": { +"description": "Updates an existing floodlight activity. This method supports patch semantics.", +"flatPath": "userprofiles/{userprofilesId}/floodlightActivities", +"httpMethod": "PATCH", +"id": "dfareporting.floodlightActivities.patch", +"parameterOrder": [ +"profileId", +"id" +], +"parameters": { +"id": { +"description": "Required. EventTag ID.", +"format": "int64", +"location": "query", +"required": true, +"type": "string" +}, +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/floodlightActivities", +"request": { +"$ref": "FloodlightActivity" +}, +"response": { +"$ref": "FloodlightActivity" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +}, +"update": { +"description": "Updates an existing floodlight activity.", +"flatPath": "userprofiles/{userprofilesId}/floodlightActivities", +"httpMethod": "PUT", +"id": "dfareporting.floodlightActivities.update", +"parameterOrder": [ +"profileId" +], +"parameters": { +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/floodlightActivities", +"request": { +"$ref": "FloodlightActivity" +}, +"response": { +"$ref": "FloodlightActivity" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +} +} +}, +"floodlightActivityGroups": { +"methods": { +"get": { +"description": "Gets one floodlight activity group by ID.", +"flatPath": "userprofiles/{userprofilesId}/floodlightActivityGroups/{floodlightActivityGroupsId}", +"httpMethod": "GET", +"id": "dfareporting.floodlightActivityGroups.get", +"parameterOrder": [ +"profileId", +"id" +], +"parameters": { +"id": { +"description": "Floodlight activity Group ID.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/floodlightActivityGroups/{+id}", +"response": { +"$ref": "FloodlightActivityGroup" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +}, +"insert": { +"description": "Inserts a new floodlight activity group.", +"flatPath": "userprofiles/{userprofilesId}/floodlightActivityGroups", +"httpMethod": "POST", +"id": "dfareporting.floodlightActivityGroups.insert", +"parameterOrder": [ +"profileId" +], +"parameters": { +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/floodlightActivityGroups", +"request": { +"$ref": "FloodlightActivityGroup" +}, +"response": { +"$ref": "FloodlightActivityGroup" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +}, +"list": { +"description": "Retrieves a list of floodlight activity groups, possibly filtered. This method supports paging.", +"flatPath": "userprofiles/{userprofilesId}/floodlightActivityGroups", +"httpMethod": "GET", +"id": "dfareporting.floodlightActivityGroups.list", +"parameterOrder": [ +"profileId" +], +"parameters": { +"advertiserId": { +"description": "Select only floodlight activity groups with the specified advertiser ID. Must specify either advertiserId or floodlightConfigurationId for a non-empty result.", +"format": "int64", +"location": "query", +"type": "string" +}, +"floodlightConfigurationId": { +"description": "Select only floodlight activity groups with the specified floodlight configuration ID. Must specify either advertiserId, or floodlightConfigurationId for a non-empty result.", +"format": "int64", +"location": "query", +"type": "string" +}, +"ids": { +"description": "Select only floodlight activity groups with the specified IDs. Must specify either advertiserId or floodlightConfigurationId for a non-empty result.", +"format": "int64", +"location": "query", +"repeated": true, +"type": "string" +}, +"maxResults": { +"default": "1000", +"description": "Maximum number of results to return.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Value of the nextPageToken from the previous result page.", +"location": "query", +"type": "string" +}, +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"searchString": { +"description": "Allows searching for objects by name or ID. Wildcards (*) are allowed. For example, \"floodlightactivitygroup*2015\" will return objects with names like \"floodlightactivitygroup June 2015\", \"floodlightactivitygroup April 2015\", or simply \"floodlightactivitygroup 2015\". Most of the searches also add wildcards implicitly at the start and the end of the search string. For example, a search string of \"floodlightactivitygroup\" will match objects with name \"my floodlightactivitygroup activity\", \"floodlightactivitygroup 2015\", or simply \"floodlightactivitygroup\".", +"location": "query", +"type": "string" +}, +"sortField": { +"default": "ID", +"description": "Field by which to sort the list.", +"enum": [ +"ID", +"NAME" +], +"enumDescriptions": [ +"", +"" +], +"location": "query", +"type": "string" +}, +"sortOrder": { +"default": "ASCENDING", +"description": "Order of sorted results.", +"enum": [ +"ASCENDING", +"DESCENDING" +], +"enumDescriptions": [ +"Ascending order.", +"Descending order." +], +"location": "query", +"type": "string" +}, +"type": { +"description": "Select only floodlight activity groups with the specified floodlight activity group type.", +"enum": [ +"COUNTER", +"SALE" +], +"enumDescriptions": [ +"", +"" +], +"location": "query", +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/floodlightActivityGroups", +"response": { +"$ref": "FloodlightActivityGroupsListResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +}, +"patch": { +"description": "Updates an existing floodlight activity group. This method supports patch semantics.", +"flatPath": "userprofiles/{userprofilesId}/floodlightActivityGroups", +"httpMethod": "PATCH", +"id": "dfareporting.floodlightActivityGroups.patch", +"parameterOrder": [ +"profileId", +"id" +], +"parameters": { +"id": { +"description": "Required. EventTag ID.", +"format": "int64", +"location": "query", +"required": true, +"type": "string" +}, +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/floodlightActivityGroups", +"request": { +"$ref": "FloodlightActivityGroup" +}, +"response": { +"$ref": "FloodlightActivityGroup" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +}, +"update": { +"description": "Updates an existing floodlight activity group.", +"flatPath": "userprofiles/{userprofilesId}/floodlightActivityGroups", +"httpMethod": "PUT", +"id": "dfareporting.floodlightActivityGroups.update", +"parameterOrder": [ +"profileId" +], +"parameters": { +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/floodlightActivityGroups", +"request": { +"$ref": "FloodlightActivityGroup" +}, +"response": { +"$ref": "FloodlightActivityGroup" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +} +} +}, +"floodlightConfigurations": { +"methods": { +"get": { +"description": "Gets one floodlight configuration by ID.", +"flatPath": "userprofiles/{userprofilesId}/floodlightConfigurations/{floodlightConfigurationsId}", +"httpMethod": "GET", +"id": "dfareporting.floodlightConfigurations.get", +"parameterOrder": [ +"profileId", +"id" +], +"parameters": { +"id": { +"description": "Floodlight configuration ID.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/floodlightConfigurations/{+id}", +"response": { +"$ref": "FloodlightConfiguration" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +}, +"list": { +"description": "Retrieves a list of floodlight configurations, possibly filtered.", +"flatPath": "userprofiles/{userprofilesId}/floodlightConfigurations", +"httpMethod": "GET", +"id": "dfareporting.floodlightConfigurations.list", +"parameterOrder": [ +"profileId" +], +"parameters": { +"ids": { +"description": "Set of IDs of floodlight configurations to retrieve. Required field; otherwise an empty list will be returned.", +"format": "int64", +"location": "query", +"repeated": true, +"type": "string" +}, +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/floodlightConfigurations", +"response": { +"$ref": "FloodlightConfigurationsListResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +}, +"patch": { +"description": "Updates an existing floodlight configuration. This method supports patch semantics.", +"flatPath": "userprofiles/{userprofilesId}/floodlightConfigurations", +"httpMethod": "PATCH", +"id": "dfareporting.floodlightConfigurations.patch", +"parameterOrder": [ +"profileId", +"id" +], +"parameters": { +"id": { +"description": "Required. EventTag ID.", +"format": "int64", +"location": "query", +"required": true, +"type": "string" +}, +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/floodlightConfigurations", +"request": { +"$ref": "FloodlightConfiguration" +}, +"response": { +"$ref": "FloodlightConfiguration" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +}, +"update": { +"description": "Updates an existing floodlight configuration.", +"flatPath": "userprofiles/{userprofilesId}/floodlightConfigurations", +"httpMethod": "PUT", +"id": "dfareporting.floodlightConfigurations.update", +"parameterOrder": [ +"profileId" +], +"parameters": { +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/floodlightConfigurations", +"request": { +"$ref": "FloodlightConfiguration" +}, +"response": { +"$ref": "FloodlightConfiguration" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +} +} +}, +"languages": { +"methods": { +"list": { +"description": "Retrieves a list of languages.", +"flatPath": "userprofiles/{userprofilesId}/languages", +"httpMethod": "GET", +"id": "dfareporting.languages.list", +"parameterOrder": [ +"profileId" +], +"parameters": { +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/languages", +"response": { +"$ref": "LanguagesListResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +} +} +}, +"metros": { +"methods": { +"list": { +"description": "Retrieves a list of metros.", +"flatPath": "userprofiles/{userprofilesId}/metros", +"httpMethod": "GET", +"id": "dfareporting.metros.list", +"parameterOrder": [ +"profileId" +], +"parameters": { +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/metros", +"response": { +"$ref": "MetrosListResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +} +} +}, +"mobileApps": { +"methods": { +"get": { +"description": "Gets one mobile app by ID.", +"flatPath": "userprofiles/{userprofilesId}/mobileApps/{mobileAppsId}", +"httpMethod": "GET", +"id": "dfareporting.mobileApps.get", +"parameterOrder": [ +"profileId", +"id" +], +"parameters": { +"id": { +"description": "Mobile app ID.", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/mobileApps/{+id}", +"response": { +"$ref": "MobileApp" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +}, +"list": { +"description": "Retrieves list of available mobile apps.", +"flatPath": "userprofiles/{userprofilesId}/mobileApps", +"httpMethod": "GET", +"id": "dfareporting.mobileApps.list", +"parameterOrder": [ +"profileId" +], +"parameters": { +"directories": { +"description": "Select only apps from these directories.", +"enum": [ +"UNKNOWN", +"APPLE_APP_STORE", +"GOOGLE_PLAY_STORE", +"ROKU_APP_STORE", +"AMAZON_FIRETV_APP_STORE", +"PLAYSTATION_APP_STORE", +"APPLE_TV_APP_STORE", +"XBOX_APP_STORE", +"SAMSUNG_TV_APP_STORE", +"ANDROID_TV_APP_STORE", +"GENERIC_CTV_APP_STORE" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"" +], +"location": "query", +"repeated": true, +"type": "string" +}, +"ids": { +"description": "Select only apps with these IDs.", +"location": "query", +"repeated": true, +"type": "string" +}, +"maxResults": { +"default": "1000", +"description": "Maximum number of results to return.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Value of the nextPageToken from the previous result page.", +"location": "query", +"type": "string" +}, +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"searchString": { +"description": "Allows searching for objects by name or ID. Wildcards (*) are allowed. For example, \"app*2015\" will return objects with names like \"app Jan 2018\", \"app Jan 2018\", or simply \"app 2018\". Most of the searches also add wildcards implicitly at the start and the end of the search string. For example, a search string of \"app\" will match objects with name \"my app\", \"app 2018\", or simply \"app\".", +"location": "query", +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/mobileApps", +"response": { +"$ref": "MobileAppsListResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +} +} +}, +"mobileCarriers": { +"methods": { +"get": { +"description": "Gets one mobile carrier by ID.", +"flatPath": "userprofiles/{userprofilesId}/mobileCarriers/{mobileCarriersId}", +"httpMethod": "GET", +"id": "dfareporting.mobileCarriers.get", +"parameterOrder": [ +"profileId", +"id" +], +"parameters": { +"id": { +"description": "Mobile carrier ID.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/mobileCarriers/{+id}", +"response": { +"$ref": "MobileCarrier" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +}, +"list": { +"description": "Retrieves a list of mobile carriers.", +"flatPath": "userprofiles/{userprofilesId}/mobileCarriers", +"httpMethod": "GET", +"id": "dfareporting.mobileCarriers.list", +"parameterOrder": [ +"profileId" +], +"parameters": { +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/mobileCarriers", +"response": { +"$ref": "MobileCarriersListResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +} +} +}, +"operatingSystemVersions": { +"methods": { +"get": { +"description": "Gets one operating system version by ID.", +"flatPath": "userprofiles/{userprofilesId}/operatingSystemVersions/{operatingSystemVersionsId}", +"httpMethod": "GET", +"id": "dfareporting.operatingSystemVersions.get", +"parameterOrder": [ +"profileId", +"id" +], +"parameters": { +"id": { +"description": "Operating system version ID.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/operatingSystemVersions/{+id}", +"response": { +"$ref": "OperatingSystemVersion" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +}, +"list": { +"description": "Retrieves a list of operating system versions.", +"flatPath": "userprofiles/{userprofilesId}/operatingSystemVersions", +"httpMethod": "GET", +"id": "dfareporting.operatingSystemVersions.list", +"parameterOrder": [ +"profileId" +], +"parameters": { +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/operatingSystemVersions", +"response": { +"$ref": "OperatingSystemVersionsListResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +} +} +}, +"operatingSystems": { +"methods": { +"get": { +"description": "Gets one operating system by DART ID.", +"flatPath": "userprofiles/{userprofilesId}/operatingSystems/{operatingSystemsId}", +"httpMethod": "GET", +"id": "dfareporting.operatingSystems.get", +"parameterOrder": [ +"profileId", +"dartId" +], +"parameters": { +"dartId": { +"description": "Operating system DART ID.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/operatingSystems/{+dartId}", +"response": { +"$ref": "OperatingSystem" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +}, +"list": { +"description": "Retrieves a list of operating systems.", +"flatPath": "userprofiles/{userprofilesId}/operatingSystems", +"httpMethod": "GET", +"id": "dfareporting.operatingSystems.list", +"parameterOrder": [ +"profileId" +], +"parameters": { +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/operatingSystems", +"response": { +"$ref": "OperatingSystemsListResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +} +} +}, +"placementGroups": { +"methods": { +"get": { +"description": "Gets one placement group by ID.", +"flatPath": "userprofiles/{userprofilesId}/placementGroups/{placementGroupsId}", +"httpMethod": "GET", +"id": "dfareporting.placementGroups.get", +"parameterOrder": [ +"profileId", +"id" +], +"parameters": { +"id": { +"description": "Placement group ID.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/placementGroups/{+id}", +"response": { +"$ref": "PlacementGroup" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +}, +"insert": { +"description": "Inserts a new placement group.", +"flatPath": "userprofiles/{userprofilesId}/placementGroups", +"httpMethod": "POST", +"id": "dfareporting.placementGroups.insert", +"parameterOrder": [ +"profileId" +], +"parameters": { +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/placementGroups", +"request": { +"$ref": "PlacementGroup" +}, +"response": { +"$ref": "PlacementGroup" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +}, +"list": { +"description": "Retrieves a list of placement groups, possibly filtered. This method supports paging.", +"flatPath": "userprofiles/{userprofilesId}/placementGroups", +"httpMethod": "GET", +"id": "dfareporting.placementGroups.list", +"parameterOrder": [ +"profileId" +], +"parameters": { +"activeStatus": { +"description": "Select only placements with these active statuses.", +"enum": [ +"PLACEMENT_STATUS_UNKNOWN", +"PLACEMENT_STATUS_ACTIVE", +"PLACEMENT_STATUS_INACTIVE", +"PLACEMENT_STATUS_ARCHIVED", +"PLACEMENT_STATUS_PERMANENTLY_ARCHIVED" +], +"enumDescriptions": [ +"", +"", +"", +"", +"" +], +"location": "query", +"repeated": true, +"type": "string" +}, +"advertiserIds": { +"description": "Select only placement groups that belong to these advertisers.", +"format": "int64", +"location": "query", +"repeated": true, +"type": "string" +}, +"campaignIds": { +"description": "Select only placement groups that belong to these campaigns.", +"format": "int64", +"location": "query", +"repeated": true, +"type": "string" +}, +"contentCategoryIds": { +"description": "Select only placement groups that are associated with these content categories.", +"format": "int64", +"location": "query", +"repeated": true, +"type": "string" +}, +"directorySiteIds": { +"description": "Select only placement groups that are associated with these directory sites.", +"format": "int64", +"location": "query", +"repeated": true, +"type": "string" +}, +"ids": { +"description": "Select only placement groups with these IDs.", +"format": "int64", +"location": "query", +"repeated": true, +"type": "string" +}, +"maxEndDate": { +"description": "Select only placements or placement groups whose end date is on or before the specified maxEndDate. The date should be formatted as \"yyyy-MM-dd\".", +"location": "query", +"type": "string" +}, +"maxResults": { +"default": "800", +"description": "Maximum number of results to return.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"maxStartDate": { +"description": "Select only placements or placement groups whose start date is on or before the specified maxStartDate. The date should be formatted as \"yyyy-MM-dd\".", +"location": "query", +"type": "string" +}, +"minEndDate": { +"description": "Select only placements or placement groups whose end date is on or after the specified minEndDate. The date should be formatted as \"yyyy-MM-dd\".", +"location": "query", +"type": "string" +}, +"minStartDate": { +"description": "Select only placements or placement groups whose start date is on or after the specified minStartDate. The date should be formatted as \"yyyy-MM-dd\".", +"location": "query", +"type": "string" +}, +"pageToken": { +"description": "Value of the nextPageToken from the previous result page.", +"location": "query", +"type": "string" +}, +"placementGroupType": { +"description": "Select only placement groups belonging with this group type. A package is a simple group of placements that acts as a single pricing point for a group of tags. A roadblock is a group of placements that not only acts as a single pricing point but also assumes that all the tags in it will be served at the same time. A roadblock requires one of its assigned placements to be marked as primary for reporting.", +"enum": [ +"PLACEMENT_PACKAGE", +"PLACEMENT_ROADBLOCK" +], +"enumDescriptions": [ +"A simple group of site-placements (tags). Basically acts as a single pricing point for a group of tags.", +"A group of site-placements (tags) that not only acts as a single pricing point but also assumes that all the tags in it will be served at the same time. This kind of group requires one of its assigned site-placements to be marked as primary for reporting purposes." +], +"location": "query", +"type": "string" +}, +"placementStrategyIds": { +"description": "Select only placement groups that are associated with these placement strategies.", +"format": "int64", +"location": "query", +"repeated": true, +"type": "string" +}, +"pricingTypes": { +"description": "Select only placement groups with these pricing types.", +"enum": [ +"PRICING_TYPE_CPM", +"PRICING_TYPE_CPC", +"PRICING_TYPE_CPA", +"PRICING_TYPE_FLAT_RATE_IMPRESSIONS", +"PRICING_TYPE_FLAT_RATE_CLICKS", +"PRICING_TYPE_CPM_ACTIVEVIEW" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"" +], +"location": "query", +"repeated": true, +"type": "string" +}, +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"searchString": { +"description": "Allows searching for placement groups by name or ID. Wildcards (*) are allowed. For example, \"placement*2015\" will return placement groups with names like \"placement group June 2015\", \"placement group May 2015\", or simply \"placements 2015\". Most of the searches also add wildcards implicitly at the start and the end of the search string. For example, a search string of \"placementgroup\" will match placement groups with name \"my placementgroup\", \"placementgroup 2015\", or simply \"placementgroup\".", +"location": "query", +"type": "string" +}, +"siteIds": { +"description": "Select only placement groups that are associated with these sites.", +"format": "int64", +"location": "query", +"repeated": true, +"type": "string" +}, +"sortField": { +"default": "ID", +"description": "Field by which to sort the list.", +"enum": [ +"ID", +"NAME" +], +"enumDescriptions": [ +"", +"" +], +"location": "query", +"type": "string" +}, +"sortOrder": { +"default": "ASCENDING", +"description": "Order of sorted results.", +"enum": [ +"ASCENDING", +"DESCENDING" +], +"enumDescriptions": [ +"Ascending order.", +"Descending order." +], +"location": "query", +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/placementGroups", +"response": { +"$ref": "PlacementGroupsListResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +}, +"patch": { +"description": "Updates an existing placement group. This method supports patch semantics.", +"flatPath": "userprofiles/{userprofilesId}/placementGroups", +"httpMethod": "PATCH", +"id": "dfareporting.placementGroups.patch", +"parameterOrder": [ +"profileId", +"id" +], +"parameters": { +"id": { +"description": "Required. Placement ID.", +"format": "int64", +"location": "query", +"required": true, +"type": "string" +}, +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/placementGroups", +"request": { +"$ref": "PlacementGroup" +}, +"response": { +"$ref": "PlacementGroup" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +}, +"update": { +"description": "Updates an existing placement group.", +"flatPath": "userprofiles/{userprofilesId}/placementGroups", +"httpMethod": "PUT", +"id": "dfareporting.placementGroups.update", +"parameterOrder": [ +"profileId" +], +"parameters": { +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/placementGroups", +"request": { +"$ref": "PlacementGroup" +}, +"response": { +"$ref": "PlacementGroup" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +} +} +}, +"placementStrategies": { +"methods": { +"delete": { +"description": "Deletes an existing placement strategy.", +"flatPath": "userprofiles/{userprofilesId}/placementStrategies/{placementStrategiesId}", +"httpMethod": "DELETE", +"id": "dfareporting.placementStrategies.delete", +"parameterOrder": [ +"profileId", +"id" +], +"parameters": { +"id": { +"description": "Placement strategy ID.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/placementStrategies/{+id}", +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +}, +"get": { +"description": "Gets one placement strategy by ID.", +"flatPath": "userprofiles/{userprofilesId}/placementStrategies/{placementStrategiesId}", +"httpMethod": "GET", +"id": "dfareporting.placementStrategies.get", +"parameterOrder": [ +"profileId", +"id" +], +"parameters": { +"id": { +"description": "Placement strategy ID.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/placementStrategies/{+id}", +"response": { +"$ref": "PlacementStrategy" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +}, +"insert": { +"description": "Inserts a new placement strategy.", +"flatPath": "userprofiles/{userprofilesId}/placementStrategies", +"httpMethod": "POST", +"id": "dfareporting.placementStrategies.insert", +"parameterOrder": [ +"profileId" +], +"parameters": { +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/placementStrategies", +"request": { +"$ref": "PlacementStrategy" +}, +"response": { +"$ref": "PlacementStrategy" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +}, +"list": { +"description": "Retrieves a list of placement strategies, possibly filtered. This method supports paging.", +"flatPath": "userprofiles/{userprofilesId}/placementStrategies", +"httpMethod": "GET", +"id": "dfareporting.placementStrategies.list", +"parameterOrder": [ +"profileId" +], +"parameters": { +"ids": { +"description": "Select only placement strategies with these IDs.", +"format": "int64", +"location": "query", +"repeated": true, +"type": "string" +}, +"maxResults": { +"default": "1000", +"description": "Maximum number of results to return.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Value of the nextPageToken from the previous result page.", +"location": "query", +"type": "string" +}, +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"searchString": { +"description": "Allows searching for objects by name or ID. Wildcards (*) are allowed. For example, \"placementstrategy*2015\" will return objects with names like \"placementstrategy June 2015\", \"placementstrategy April 2015\", or simply \"placementstrategy 2015\". Most of the searches also add wildcards implicitly at the start and the end of the search string. For example, a search string of \"placementstrategy\" will match objects with name \"my placementstrategy\", \"placementstrategy 2015\", or simply \"placementstrategy\".", +"location": "query", +"type": "string" +}, +"sortField": { +"default": "ID", +"description": "Field by which to sort the list.", +"enum": [ +"ID", +"NAME" +], +"enumDescriptions": [ +"", +"" +], +"location": "query", +"type": "string" +}, +"sortOrder": { +"default": "ASCENDING", +"description": "Order of sorted results.", +"enum": [ +"ASCENDING", +"DESCENDING" +], +"enumDescriptions": [ +"Ascending order.", +"Descending order." +], +"location": "query", +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/placementStrategies", +"response": { +"$ref": "PlacementStrategiesListResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +}, +"patch": { +"description": "Updates an existing placement strategy. This method supports patch semantics.", +"flatPath": "userprofiles/{userprofilesId}/placementStrategies", +"httpMethod": "PATCH", +"id": "dfareporting.placementStrategies.patch", +"parameterOrder": [ +"profileId", +"id" +], +"parameters": { +"id": { +"description": "Required. PlacementStrategy ID.", +"format": "int64", +"location": "query", +"required": true, +"type": "string" +}, +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/placementStrategies", +"request": { +"$ref": "PlacementStrategy" +}, +"response": { +"$ref": "PlacementStrategy" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +}, +"update": { +"description": "Updates an existing placement strategy.", +"flatPath": "userprofiles/{userprofilesId}/placementStrategies", +"httpMethod": "PUT", +"id": "dfareporting.placementStrategies.update", +"parameterOrder": [ +"profileId" +], +"parameters": { +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/placementStrategies", +"request": { +"$ref": "PlacementStrategy" +}, +"response": { +"$ref": "PlacementStrategy" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +} +} +}, +"placements": { +"methods": { +"generatetags": { +"description": "Generates tags for a placement.", +"flatPath": "userprofiles/{userprofilesId}/placements/generatetags", +"httpMethod": "POST", +"id": "dfareporting.placements.generatetags", +"parameterOrder": [ +"profileId" +], +"parameters": { +"campaignId": { +"description": "Generate placements belonging to this campaign. This is a required field.", +"format": "int64", +"location": "query", +"type": "string" +}, +"placementIds": { +"description": "Generate tags for these placements.", +"format": "int64", +"location": "query", +"repeated": true, +"type": "string" +}, +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"tagFormats": { +"description": "Tag formats to generate for these placements. *Note:* PLACEMENT_TAG_STANDARD can only be generated for 1x1 placements.", +"enum": [ +"PLACEMENT_TAG_STANDARD", +"PLACEMENT_TAG_IFRAME_JAVASCRIPT", +"PLACEMENT_TAG_IFRAME_ILAYER", +"PLACEMENT_TAG_INTERNAL_REDIRECT", +"PLACEMENT_TAG_JAVASCRIPT", +"PLACEMENT_TAG_INTERSTITIAL_IFRAME_JAVASCRIPT", +"PLACEMENT_TAG_INTERSTITIAL_INTERNAL_REDIRECT", +"PLACEMENT_TAG_INTERSTITIAL_JAVASCRIPT", +"PLACEMENT_TAG_CLICK_COMMANDS", +"PLACEMENT_TAG_INSTREAM_VIDEO_PREFETCH", +"PLACEMENT_TAG_TRACKING", +"PLACEMENT_TAG_TRACKING_IFRAME", +"PLACEMENT_TAG_TRACKING_JAVASCRIPT", +"PLACEMENT_TAG_INSTREAM_VIDEO_PREFETCH_VAST_3", +"PLACEMENT_TAG_IFRAME_JAVASCRIPT_LEGACY", +"PLACEMENT_TAG_JAVASCRIPT_LEGACY", +"PLACEMENT_TAG_INTERSTITIAL_IFRAME_JAVASCRIPT_LEGACY", +"PLACEMENT_TAG_INTERSTITIAL_JAVASCRIPT_LEGACY", +"PLACEMENT_TAG_INSTREAM_VIDEO_PREFETCH_VAST_4", +"PLACEMENT_TAG_TRACKING_THIRD_PARTY_MEASUREMENT" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"" +], +"location": "query", +"repeated": true, +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/placements/generatetags", +"response": { +"$ref": "PlacementsGenerateTagsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +}, +"get": { +"description": "Gets one placement by ID.", +"flatPath": "userprofiles/{userprofilesId}/placements/{placementsId}", +"httpMethod": "GET", +"id": "dfareporting.placements.get", +"parameterOrder": [ +"profileId", +"id" +], +"parameters": { +"id": { +"description": "Placement ID.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/placements/{+id}", +"response": { +"$ref": "Placement" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +}, +"insert": { +"description": "Inserts a new placement.", +"flatPath": "userprofiles/{userprofilesId}/placements", +"httpMethod": "POST", +"id": "dfareporting.placements.insert", +"parameterOrder": [ +"profileId" +], +"parameters": { +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/placements", +"request": { +"$ref": "Placement" +}, +"response": { +"$ref": "Placement" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +}, +"list": { +"description": "Retrieves a list of placements, possibly filtered. This method supports paging.", +"flatPath": "userprofiles/{userprofilesId}/placements", +"httpMethod": "GET", +"id": "dfareporting.placements.list", +"parameterOrder": [ +"profileId" +], +"parameters": { +"activeStatus": { +"description": "Select only placements with these active statuses.", +"enum": [ +"PLACEMENT_STATUS_UNKNOWN", +"PLACEMENT_STATUS_ACTIVE", +"PLACEMENT_STATUS_INACTIVE", +"PLACEMENT_STATUS_ARCHIVED", +"PLACEMENT_STATUS_PERMANENTLY_ARCHIVED" +], +"enumDescriptions": [ +"", +"", +"", +"", +"" +], +"location": "query", +"repeated": true, +"type": "string" +}, +"advertiserIds": { +"description": "Select only placements that belong to these advertisers.", +"format": "int64", +"location": "query", +"repeated": true, +"type": "string" +}, +"campaignIds": { +"description": "Select only placements that belong to these campaigns.", +"format": "int64", +"location": "query", +"repeated": true, +"type": "string" +}, +"compatibilities": { +"description": "Select only placements that are associated with these compatibilities. DISPLAY and DISPLAY_INTERSTITIAL refer to rendering either on desktop or on mobile devices for regular or interstitial ads respectively. APP and APP_INTERSTITIAL are for rendering in mobile apps. IN_STREAM_VIDEO refers to rendering in in-stream video ads developed with the VAST standard.", +"enum": [ +"DISPLAY", +"DISPLAY_INTERSTITIAL", +"APP", +"APP_INTERSTITIAL", +"IN_STREAM_VIDEO", +"IN_STREAM_AUDIO" +], +"enumDescriptions": [ +"", +"", +"Deprecated enum value. No longer supported.", +"Deprecated enum value. No longer supported.", +"", +"" +], +"location": "query", +"repeated": true, +"type": "string" +}, +"contentCategoryIds": { +"description": "Select only placements that are associated with these content categories.", +"format": "int64", +"location": "query", +"repeated": true, +"type": "string" +}, +"directorySiteIds": { +"description": "Select only placements that are associated with these directory sites.", +"format": "int64", +"location": "query", +"repeated": true, +"type": "string" +}, +"groupIds": { +"description": "Select only placements that belong to these placement groups.", +"format": "int64", +"location": "query", +"repeated": true, +"type": "string" +}, +"ids": { +"description": "Select only placements with these IDs.", +"format": "int64", +"location": "query", +"repeated": true, +"type": "string" +}, +"maxEndDate": { +"description": "Select only placements or placement groups whose end date is on or before the specified maxEndDate. The date should be formatted as \"yyyy-MM-dd\".", +"location": "query", +"type": "string" +}, +"maxResults": { +"default": "1000", +"description": "Maximum number of results to return.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"maxStartDate": { +"description": "Select only placements or placement groups whose start date is on or before the specified maxStartDate. The date should be formatted as \"yyyy-MM-dd\".", +"location": "query", +"type": "string" +}, +"minEndDate": { +"description": "Select only placements or placement groups whose end date is on or after the specified minEndDate. The date should be formatted as \"yyyy-MM-dd\".", +"location": "query", +"type": "string" +}, +"minStartDate": { +"description": "Select only placements or placement groups whose start date is on or after the specified minStartDate. The date should be formatted as \"yyyy-MM-dd\".", +"location": "query", +"type": "string" +}, +"pageToken": { +"description": "Value of the nextPageToken from the previous result page.", +"location": "query", +"type": "string" +}, +"paymentSource": { +"description": "Select only placements with this payment source.", +"enum": [ +"PLACEMENT_AGENCY_PAID", +"PLACEMENT_PUBLISHER_PAID" +], +"enumDescriptions": [ +"", +"" +], +"location": "query", +"type": "string" +}, +"placementStrategyIds": { +"description": "Select only placements that are associated with these placement strategies.", +"format": "int64", +"location": "query", +"repeated": true, +"type": "string" +}, +"pricingTypes": { +"description": "Select only placements with these pricing types.", +"enum": [ +"PRICING_TYPE_CPM", +"PRICING_TYPE_CPC", +"PRICING_TYPE_CPA", +"PRICING_TYPE_FLAT_RATE_IMPRESSIONS", +"PRICING_TYPE_FLAT_RATE_CLICKS", +"PRICING_TYPE_CPM_ACTIVEVIEW" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"" +], +"location": "query", +"repeated": true, +"type": "string" +}, +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"searchString": { +"description": "Allows searching for placements by name or ID. Wildcards (*) are allowed. For example, \"placement*2015\" will return placements with names like \"placement June 2015\", \"placement May 2015\", or simply \"placements 2015\". Most of the searches also add wildcards implicitly at the start and the end of the search string. For example, a search string of \"placement\" will match placements with name \"my placement\", \"placement 2015\", or simply \"placement\" .", +"location": "query", +"type": "string" +}, +"siteIds": { +"description": "Select only placements that are associated with these sites.", +"format": "int64", +"location": "query", +"repeated": true, +"type": "string" +}, +"sizeIds": { +"description": "Select only placements that are associated with these sizes.", +"format": "int64", +"location": "query", +"repeated": true, +"type": "string" +}, +"sortField": { +"default": "ID", +"description": "Field by which to sort the list.", +"enum": [ +"ID", +"NAME" +], +"enumDescriptions": [ +"", +"" +], +"location": "query", +"type": "string" +}, +"sortOrder": { +"default": "ASCENDING", +"description": "Order of sorted results.", +"enum": [ +"ASCENDING", +"DESCENDING" +], +"enumDescriptions": [ +"Ascending order.", +"Descending order." +], +"location": "query", +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/placements", +"response": { +"$ref": "PlacementsListResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +}, +"patch": { +"description": "Updates an existing placement. This method supports patch semantics.", +"flatPath": "userprofiles/{userprofilesId}/placements", +"httpMethod": "PATCH", +"id": "dfareporting.placements.patch", +"parameterOrder": [ +"profileId", +"id" +], +"parameters": { +"id": { +"description": "Required. Placement ID.", +"format": "int64", +"location": "query", +"required": true, +"type": "string" +}, +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/placements", +"request": { +"$ref": "Placement" +}, +"response": { +"$ref": "Placement" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +}, +"update": { +"description": "Updates an existing placement.", +"flatPath": "userprofiles/{userprofilesId}/placements", +"httpMethod": "PUT", +"id": "dfareporting.placements.update", +"parameterOrder": [ +"profileId" +], +"parameters": { +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/placements", +"request": { +"$ref": "Placement" +}, +"response": { +"$ref": "Placement" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +} +} +}, +"platformTypes": { +"methods": { +"get": { +"description": "Gets one platform type by ID.", +"flatPath": "userprofiles/{userprofilesId}/platformTypes/{platformTypesId}", +"httpMethod": "GET", +"id": "dfareporting.platformTypes.get", +"parameterOrder": [ +"profileId", +"id" +], +"parameters": { +"id": { +"description": "Platform type ID.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/platformTypes/{+id}", +"response": { +"$ref": "PlatformType" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +}, +"list": { +"description": "Retrieves a list of platform types.", +"flatPath": "userprofiles/{userprofilesId}/platformTypes", +"httpMethod": "GET", +"id": "dfareporting.platformTypes.list", +"parameterOrder": [ +"profileId" +], +"parameters": { +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/platformTypes", +"response": { +"$ref": "PlatformTypesListResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +} +} +}, +"postalCodes": { +"methods": { +"get": { +"description": "Gets one postal code by ID.", +"flatPath": "userprofiles/{userprofilesId}/postalCodes/{postalCodesId}", +"httpMethod": "GET", +"id": "dfareporting.postalCodes.get", +"parameterOrder": [ +"profileId", +"code" +], +"parameters": { +"code": { +"description": "Postal code ID.", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/postalCodes/{+code}", +"response": { +"$ref": "PostalCode" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +}, +"list": { +"description": "Retrieves a list of postal codes.", +"flatPath": "userprofiles/{userprofilesId}/postalCodes", +"httpMethod": "GET", +"id": "dfareporting.postalCodes.list", +"parameterOrder": [ +"profileId" +], +"parameters": { +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/postalCodes", +"response": { +"$ref": "PostalCodesListResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +} +} +}, +"regions": { +"methods": { +"list": { +"description": "Retrieves a list of regions.", +"flatPath": "userprofiles/{userprofilesId}/regions", +"httpMethod": "GET", +"id": "dfareporting.regions.list", +"parameterOrder": [ +"profileId" +], +"parameters": { +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/regions", +"response": { +"$ref": "RegionsListResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +} +} +}, +"remarketingListShares": { +"methods": { +"get": { +"description": "Gets one remarketing list share by remarketing list ID.", +"flatPath": "userprofiles/{userprofilesId}/remarketingListShares/{remarketingListSharesId}", +"httpMethod": "GET", +"id": "dfareporting.remarketingListShares.get", +"parameterOrder": [ +"profileId", +"remarketingListId" +], +"parameters": { +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"remarketingListId": { +"description": "Remarketing list ID.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/remarketingListShares/{+remarketingListId}", +"response": { +"$ref": "RemarketingListShare" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +}, +"patch": { +"description": "Updates an existing remarketing list share. This method supports patch semantics.", +"flatPath": "userprofiles/{userprofilesId}/remarketingListShares", +"httpMethod": "PATCH", +"id": "dfareporting.remarketingListShares.patch", +"parameterOrder": [ +"profileId", +"id" +], +"parameters": { +"id": { +"description": "Required. RemarketingList ID.", +"format": "int64", +"location": "query", +"required": true, +"type": "string" +}, +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/remarketingListShares", +"request": { +"$ref": "RemarketingListShare" +}, +"response": { +"$ref": "RemarketingListShare" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +}, +"update": { +"description": "Updates an existing remarketing list share.", +"flatPath": "userprofiles/{userprofilesId}/remarketingListShares", +"httpMethod": "PUT", +"id": "dfareporting.remarketingListShares.update", +"parameterOrder": [ +"profileId" +], +"parameters": { +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/remarketingListShares", +"request": { +"$ref": "RemarketingListShare" +}, +"response": { +"$ref": "RemarketingListShare" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +} +} +}, +"remarketingLists": { +"methods": { +"get": { +"description": "Gets one remarketing list by ID.", +"flatPath": "userprofiles/{userprofilesId}/remarketingLists/{remarketingListsId}", +"httpMethod": "GET", +"id": "dfareporting.remarketingLists.get", +"parameterOrder": [ +"profileId", +"id" +], +"parameters": { +"id": { +"description": "Remarketing list ID.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/remarketingLists/{+id}", +"response": { +"$ref": "RemarketingList" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +}, +"insert": { +"description": "Inserts a new remarketing list.", +"flatPath": "userprofiles/{userprofilesId}/remarketingLists", +"httpMethod": "POST", +"id": "dfareporting.remarketingLists.insert", +"parameterOrder": [ +"profileId" +], +"parameters": { +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/remarketingLists", +"request": { +"$ref": "RemarketingList" +}, +"response": { +"$ref": "RemarketingList" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +}, +"list": { +"description": "Retrieves a list of remarketing lists, possibly filtered. This method supports paging.", +"flatPath": "userprofiles/{userprofilesId}/remarketingLists", +"httpMethod": "GET", +"id": "dfareporting.remarketingLists.list", +"parameterOrder": [ +"profileId", +"advertiserId" +], +"parameters": { +"active": { +"description": "Select only active or only inactive remarketing lists.", +"location": "query", +"type": "boolean" +}, +"advertiserId": { +"description": "Required. Select only remarketing lists owned by this advertiser.", +"format": "int64", +"location": "query", +"required": true, +"type": "string" +}, +"floodlightActivityId": { +"description": "Select only remarketing lists that have this floodlight activity ID.", +"format": "int64", +"location": "query", +"type": "string" +}, +"maxResults": { +"default": "1000", +"description": "Maximum number of results to return.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"name": { +"description": "Allows searching for objects by name or ID. Wildcards (*) are allowed. For example, \"remarketing list*2015\" will return objects with names like \"remarketing list June 2015\", \"remarketing list April 2015\", or simply \"remarketing list 2015\". Most of the searches also add wildcards implicitly at the start and the end of the search string. For example, a search string of \"remarketing list\" will match objects with name \"my remarketing list\", \"remarketing list 2015\", or simply \"remarketing list\".", +"location": "query", +"type": "string" +}, +"pageToken": { +"description": "Value of the nextPageToken from the previous result page.", +"location": "query", +"type": "string" +}, +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"sortField": { +"default": "ID", +"description": "Field by which to sort the list.", +"enum": [ +"ID", +"NAME" +], +"enumDescriptions": [ +"", +"" +], +"location": "query", +"type": "string" +}, +"sortOrder": { +"default": "ASCENDING", +"description": "Order of sorted results.", +"enum": [ +"ASCENDING", +"DESCENDING" +], +"enumDescriptions": [ +"Ascending order.", +"Descending order." +], +"location": "query", +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/remarketingLists", +"response": { +"$ref": "RemarketingListsListResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +}, +"patch": { +"description": "Updates an existing remarketing list. This method supports patch semantics.", +"flatPath": "userprofiles/{userprofilesId}/remarketingLists", +"httpMethod": "PATCH", +"id": "dfareporting.remarketingLists.patch", +"parameterOrder": [ +"profileId", +"id" +], +"parameters": { +"id": { +"description": "Required. RemarketingList ID.", +"format": "int64", +"location": "query", +"required": true, +"type": "string" +}, +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/remarketingLists", +"request": { +"$ref": "RemarketingList" +}, +"response": { +"$ref": "RemarketingList" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +}, +"update": { +"description": "Updates an existing remarketing list.", +"flatPath": "userprofiles/{userprofilesId}/remarketingLists", +"httpMethod": "PUT", +"id": "dfareporting.remarketingLists.update", +"parameterOrder": [ +"profileId" +], +"parameters": { +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/remarketingLists", +"request": { +"$ref": "RemarketingList" +}, +"response": { +"$ref": "RemarketingList" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +} +} +}, +"reports": { +"methods": { +"delete": { +"description": "Deletes a report by its ID.", +"flatPath": "userprofiles/{profileId}/reports/{reportId}", +"httpMethod": "DELETE", +"id": "dfareporting.reports.delete", +"parameterOrder": [ +"profileId", +"reportId" +], +"parameters": { +"profileId": { +"description": "The Campaign Manager 360 user profile ID.", +"format": "int64", +"location": "path", +"required": true, +"type": "string" +}, +"reportId": { +"description": "The ID of the report.", +"format": "int64", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "userprofiles/{profileId}/reports/{reportId}", +"scopes": [ +"https://www.googleapis.com/auth/dfareporting" +] +}, +"get": { +"description": "Retrieves a report by its ID.", +"flatPath": "userprofiles/{profileId}/reports/{reportId}", +"httpMethod": "GET", +"id": "dfareporting.reports.get", +"parameterOrder": [ +"profileId", +"reportId" +], +"parameters": { +"profileId": { +"description": "The Campaign Manager 360 user profile ID.", +"format": "int64", +"location": "path", +"required": true, +"type": "string" +}, +"reportId": { +"description": "The ID of the report.", +"format": "int64", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "userprofiles/{profileId}/reports/{reportId}", +"response": { +"$ref": "Report" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfareporting" +] +}, +"insert": { +"description": "Creates a report.", +"flatPath": "userprofiles/{profileId}/reports", +"httpMethod": "POST", +"id": "dfareporting.reports.insert", +"parameterOrder": [ +"profileId" +], +"parameters": { +"profileId": { +"description": "The Campaign Manager 360 user profile ID.", +"format": "int64", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "userprofiles/{profileId}/reports", +"request": { +"$ref": "Report" +}, +"response": { +"$ref": "Report" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfareporting" +] +}, +"list": { +"description": "Retrieves list of reports.", +"flatPath": "userprofiles/{profileId}/reports", +"httpMethod": "GET", +"id": "dfareporting.reports.list", +"parameterOrder": [ +"profileId" +], +"parameters": { +"maxResults": { +"default": "10", +"description": "Maximum number of results to return.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The value of the nextToken from the previous result page.", +"location": "query", +"type": "string" +}, +"profileId": { +"description": "The Campaign Manager 360 user profile ID.", +"format": "int64", +"location": "path", +"required": true, +"type": "string" +}, +"scope": { +"default": "MINE", +"description": "The scope that defines which results are returned.", +"enum": [ +"ALL", +"MINE" +], +"enumDescriptions": [ +"All reports in account.", +"My reports." +], +"location": "query", +"type": "string" +}, +"sortField": { +"default": "LAST_MODIFIED_TIME", +"description": "The field by which to sort the list.", +"enum": [ +"ID", +"LAST_MODIFIED_TIME", +"NAME" +], +"enumDescriptions": [ +"Sort by report ID.", +"Sort by 'lastModifiedTime' field.", +"Sort by name of reports." +], +"location": "query", +"type": "string" +}, +"sortOrder": { +"default": "DESCENDING", +"description": "Order of sorted results.", +"enum": [ +"ASCENDING", +"DESCENDING" +], +"enumDescriptions": [ +"Ascending order.", +"Descending order." +], +"location": "query", +"type": "string" +} +}, +"path": "userprofiles/{profileId}/reports", +"response": { +"$ref": "ReportList" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfareporting" +] +}, +"run": { +"description": "Runs a report.", +"flatPath": "userprofiles/{profileId}/reports/{reportId}/run", +"httpMethod": "POST", +"id": "dfareporting.reports.run", +"parameterOrder": [ +"profileId", +"reportId" +], +"parameters": { +"profileId": { +"description": "The Campaign Manager 360 user profile ID.", +"format": "int64", +"location": "path", +"required": true, +"type": "string" +}, +"reportId": { +"description": "The ID of the report.", +"format": "int64", +"location": "path", +"required": true, +"type": "string" +}, +"synchronous": { +"default": "false", +"description": "If set and true, tries to run the report synchronously.", +"location": "query", +"type": "boolean" +} +}, +"path": "userprofiles/{profileId}/reports/{reportId}/run", +"response": { +"$ref": "File" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfareporting" +] +}, +"update": { +"description": "Updates a report.", +"flatPath": "userprofiles/{profileId}/reports/{reportId}", +"httpMethod": "PUT", +"id": "dfareporting.reports.update", +"parameterOrder": [ +"profileId", +"reportId" +], +"parameters": { +"profileId": { +"description": "The Campaign Manager 360 user profile ID.", +"format": "int64", +"location": "path", +"required": true, +"type": "string" +}, +"reportId": { +"description": "The ID of the report.", +"format": "int64", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "userprofiles/{profileId}/reports/{reportId}", +"request": { +"$ref": "Report" +}, +"response": { +"$ref": "Report" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfareporting" +] +} +}, +"resources": { +"compatibleFields": { +"methods": { +"query": { +"description": "Returns the fields that are compatible to be selected in the respective sections of a report criteria, given the fields already selected in the input report and user permissions.", +"flatPath": "userprofiles/{profileId}/reports/compatiblefields/query", +"httpMethod": "POST", +"id": "dfareporting.reports.compatibleFields.query", +"parameterOrder": [ +"profileId" +], +"parameters": { +"profileId": { +"description": "The Campaign Manager 360 user profile ID.", +"format": "int64", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "userprofiles/{profileId}/reports/compatiblefields/query", +"request": { +"$ref": "Report" +}, +"response": { +"$ref": "CompatibleFields" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfareporting" +] +} +} +}, +"files": { +"methods": { +"get": { +"description": "Retrieves a report file by its report ID and file ID. This method supports media download.", +"flatPath": "userprofiles/{profileId}/reports/{reportId}/files/{fileId}", +"httpMethod": "GET", +"id": "dfareporting.reports.files.get", +"parameterOrder": [ +"profileId", +"reportId", +"fileId" +], +"parameters": { +"fileId": { +"description": "The ID of the report file.", +"format": "int64", +"location": "path", +"required": true, +"type": "string" +}, +"profileId": { +"description": "The Campaign Manager 360 user profile ID.", +"format": "int64", +"location": "path", +"required": true, +"type": "string" +}, +"reportId": { +"description": "The ID of the report.", +"format": "int64", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "userprofiles/{profileId}/reports/{reportId}/files/{fileId}", +"response": { +"$ref": "File" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfareporting" +], +"supportsMediaDownload": true +}, +"list": { +"description": "Lists files for a report.", +"flatPath": "userprofiles/{profileId}/reports/{reportId}/files", +"httpMethod": "GET", +"id": "dfareporting.reports.files.list", +"parameterOrder": [ +"profileId", +"reportId" +], +"parameters": { +"maxResults": { +"default": "10", +"description": "Maximum number of results to return.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The value of the nextToken from the previous result page.", +"location": "query", +"type": "string" +}, +"profileId": { +"description": "The Campaign Manager 360 user profile ID.", +"format": "int64", +"location": "path", +"required": true, +"type": "string" +}, +"reportId": { +"description": "The ID of the parent report.", +"format": "int64", +"location": "path", +"required": true, +"type": "string" +}, +"sortField": { +"default": "LAST_MODIFIED_TIME", +"description": "The field by which to sort the list.", +"enum": [ +"ID", +"LAST_MODIFIED_TIME" +], +"enumDescriptions": [ +"", +"" +], +"location": "query", +"type": "string" +}, +"sortOrder": { +"default": "DESCENDING", +"description": "Order of sorted results.", +"enum": [ +"ASCENDING", +"DESCENDING" +], +"enumDescriptions": [ +"Ascending order.", +"Descending order." +], +"location": "query", +"type": "string" +} +}, +"path": "userprofiles/{profileId}/reports/{reportId}/files", +"response": { +"$ref": "FileList" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfareporting" +] +} +} +} +} +}, +"sites": { +"methods": { +"get": { +"description": "Gets one site by ID.", +"flatPath": "userprofiles/{userprofilesId}/sites/{sitesId}", +"httpMethod": "GET", +"id": "dfareporting.sites.get", +"parameterOrder": [ +"profileId", +"id" +], +"parameters": { +"id": { +"description": "Site ID.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/sites/{+id}", +"response": { +"$ref": "Site" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +}, +"insert": { +"description": "Inserts a new site.", +"flatPath": "userprofiles/{userprofilesId}/sites", +"httpMethod": "POST", +"id": "dfareporting.sites.insert", +"parameterOrder": [ +"profileId" +], +"parameters": { +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/sites", +"request": { +"$ref": "Site" +}, +"response": { +"$ref": "Site" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +}, +"list": { +"description": "Retrieves a list of sites, possibly filtered. This method supports paging.", +"flatPath": "userprofiles/{userprofilesId}/sites", +"httpMethod": "GET", +"id": "dfareporting.sites.list", +"parameterOrder": [ +"profileId" +], +"parameters": { +"acceptsInStreamVideoPlacements": { +"description": "This search filter is no longer supported and will have no effect on the results returned.", +"location": "query", +"type": "boolean" +}, +"acceptsInterstitialPlacements": { +"description": "This search filter is no longer supported and will have no effect on the results returned.", +"location": "query", +"type": "boolean" +}, +"acceptsPublisherPaidPlacements": { +"description": "Select only sites that accept publisher paid placements.", +"location": "query", +"type": "boolean" +}, +"adWordsSite": { +"description": "Select only AdWords sites.", +"location": "query", +"type": "boolean" +}, +"approved": { +"description": "Select only approved sites.", +"location": "query", +"type": "boolean" +}, +"campaignIds": { +"description": "Select only sites with these campaign IDs.", +"format": "int64", +"location": "query", +"repeated": true, +"type": "string" +}, +"directorySiteIds": { +"description": "Select only sites with these directory site IDs.", +"format": "int64", +"location": "query", +"repeated": true, +"type": "string" +}, +"ids": { +"description": "Select only sites with these IDs.", +"format": "int64", +"location": "query", +"repeated": true, +"type": "string" +}, +"maxResults": { +"default": "1000", +"description": "Maximum number of results to return.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Value of the nextPageToken from the previous result page.", +"location": "query", +"type": "string" +}, +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"searchString": { +"description": "Allows searching for objects by name, ID or keyName. Wildcards (*) are allowed. For example, \"site*2015\" will return objects with names like \"site June 2015\", \"site April 2015\", or simply \"site 2015\". Most of the searches also add wildcards implicitly at the start and the end of the search string. For example, a search string of \"site\" will match objects with name \"my site\", \"site 2015\", or simply \"site\".", +"location": "query", +"type": "string" +}, +"sortField": { +"default": "ID", +"description": "Field by which to sort the list.", +"enum": [ +"ID", +"NAME" +], +"enumDescriptions": [ +"", +"" +], +"location": "query", +"type": "string" +}, +"sortOrder": { +"default": "ASCENDING", +"description": "Order of sorted results.", +"enum": [ +"ASCENDING", +"DESCENDING" +], +"enumDescriptions": [ +"Ascending order.", +"Descending order." +], +"location": "query", +"type": "string" +}, +"subaccountId": { +"description": "Select only sites with this subaccount ID.", +"format": "int64", +"location": "query", +"type": "string" +}, +"unmappedSite": { +"description": "Select only sites that have not been mapped to a directory site.", +"location": "query", +"type": "boolean" +} +}, +"path": "userprofiles/{+profileId}/sites", +"response": { +"$ref": "SitesListResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +}, +"patch": { +"description": "Updates an existing site. This method supports patch semantics.", +"flatPath": "userprofiles/{userprofilesId}/sites", +"httpMethod": "PATCH", +"id": "dfareporting.sites.patch", +"parameterOrder": [ +"profileId", +"id" +], +"parameters": { +"id": { +"description": "Required. Site ID.", +"format": "int64", +"location": "query", +"required": true, +"type": "string" +}, +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/sites", +"request": { +"$ref": "Site" +}, +"response": { +"$ref": "Site" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +}, +"update": { +"description": "Updates an existing site.", +"flatPath": "userprofiles/{userprofilesId}/sites", +"httpMethod": "PUT", +"id": "dfareporting.sites.update", +"parameterOrder": [ +"profileId" +], +"parameters": { +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/sites", +"request": { +"$ref": "Site" +}, +"response": { +"$ref": "Site" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +} +} +}, +"sizes": { +"methods": { +"get": { +"description": "Gets one size by ID.", +"flatPath": "userprofiles/{userprofilesId}/sizes/{sizesId}", +"httpMethod": "GET", +"id": "dfareporting.sizes.get", +"parameterOrder": [ +"profileId", +"id" +], +"parameters": { +"id": { +"description": "Size ID.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/sizes/{+id}", +"response": { +"$ref": "Size" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +}, +"insert": { +"description": "Inserts a new size.", +"flatPath": "userprofiles/{userprofilesId}/sizes", +"httpMethod": "POST", +"id": "dfareporting.sizes.insert", +"parameterOrder": [ +"profileId" +], +"parameters": { +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/sizes", +"request": { +"$ref": "Size" +}, +"response": { +"$ref": "Size" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +}, +"list": { +"description": "Retrieves a list of sizes, possibly filtered. Retrieved sizes are globally unique and may include values not currently in use by your account. Due to this, the list of sizes returned by this method may differ from the list seen in the Trafficking UI.", +"flatPath": "userprofiles/{userprofilesId}/sizes", +"httpMethod": "GET", +"id": "dfareporting.sizes.list", +"parameterOrder": [ +"profileId" +], +"parameters": { +"height": { +"description": "Select only sizes with this height.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"iabStandard": { +"description": "Select only IAB standard sizes.", +"location": "query", +"type": "boolean" +}, +"ids": { +"description": "Select only sizes with these IDs.", +"format": "int64", +"location": "query", +"repeated": true, +"type": "string" +}, +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"width": { +"description": "Select only sizes with this width.", +"format": "int32", +"location": "query", +"type": "integer" +} +}, +"path": "userprofiles/{+profileId}/sizes", +"response": { +"$ref": "SizesListResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +} +} +}, +"studioCreativeAssets": { +"methods": { +"insert": { +"description": "Inserts a new studio creative asset.", +"flatPath": "studio/creativeAssets", +"httpMethod": "POST", +"id": "dfareporting.studioCreativeAssets.insert", +"mediaUpload": { +"accept": [ +"*/*" +], +"maxSize": "1073741824", +"protocols": { +"simple": { +"multipart": true, +"path": "/upload/dfareporting/v5/studio/creativeAssets" +} +} +}, +"parameterOrder": [], +"parameters": {}, +"path": "studio/creativeAssets", +"request": { +"$ref": "DfareportingStudioCreativeAssetsInsertRequest" +}, +"response": { +"$ref": "StudioCreativeAssetsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +], +"supportsMediaUpload": true +} +} +}, +"studioCreatives": { +"methods": { +"get": { +"description": "Gets a studio creative by ID.", +"flatPath": "studio/creatives/{creativesId}", +"httpMethod": "GET", +"id": "dfareporting.studioCreatives.get", +"parameterOrder": [ +"studioCreativeId" +], +"parameters": { +"studioCreativeId": { +"description": "Required. Studio creative ID.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "studio/creatives/{+studioCreativeId}", +"response": { +"$ref": "StudioCreative" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +}, +"insert": { +"description": "Inserts a new studio creative.", +"flatPath": "studio/creatives", +"httpMethod": "POST", +"id": "dfareporting.studioCreatives.insert", +"parameterOrder": [], +"parameters": {}, +"path": "studio/creatives", +"request": { +"$ref": "StudioCreative" +}, +"response": { +"$ref": "StudioCreative" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +}, +"publish": { +"description": "Publish for a studio creative.", +"flatPath": "studio/creatives/{creativesId}/publish", +"httpMethod": "POST", +"id": "dfareporting.studioCreatives.publish", +"parameterOrder": [ +"studioCreativeId" +], +"parameters": { +"studioCreativeId": { +"description": "Required. Studio creative ID.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "studio/creatives/{+studioCreativeId}/publish", +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +} +} +}, +"subaccounts": { +"methods": { +"get": { +"description": "Gets one subaccount by ID.", +"flatPath": "userprofiles/{userprofilesId}/subaccounts/{subaccountsId}", +"httpMethod": "GET", +"id": "dfareporting.subaccounts.get", +"parameterOrder": [ +"profileId", +"id" +], +"parameters": { +"id": { +"description": "Subaccount ID.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/subaccounts/{+id}", +"response": { +"$ref": "Subaccount" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +}, +"insert": { +"description": "Inserts a new subaccount.", +"flatPath": "userprofiles/{userprofilesId}/subaccounts", +"httpMethod": "POST", +"id": "dfareporting.subaccounts.insert", +"parameterOrder": [ +"profileId" +], +"parameters": { +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/subaccounts", +"request": { +"$ref": "Subaccount" +}, +"response": { +"$ref": "Subaccount" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +}, +"list": { +"description": "Gets a list of subaccounts, possibly filtered. This method supports paging.", +"flatPath": "userprofiles/{userprofilesId}/subaccounts", +"httpMethod": "GET", +"id": "dfareporting.subaccounts.list", +"parameterOrder": [ +"profileId" +], +"parameters": { +"ids": { +"description": "Select only subaccounts with these IDs.", +"format": "int64", +"location": "query", +"repeated": true, +"type": "string" +}, +"maxResults": { +"default": "1000", +"description": "Maximum number of results to return.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Value of the nextPageToken from the previous result page.", +"location": "query", +"type": "string" +}, +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"searchString": { +"description": "Allows searching for objects by name or ID. Wildcards (*) are allowed. For example, \"subaccount*2015\" will return objects with names like \"subaccount June 2015\", \"subaccount April 2015\", or simply \"subaccount 2015\". Most of the searches also add wildcards implicitly at the start and the end of the search string. For example, a search string of \"subaccount\" will match objects with name \"my subaccount\", \"subaccount 2015\", or simply \"subaccount\" .", +"location": "query", +"type": "string" +}, +"sortField": { +"default": "ID", +"description": "Field by which to sort the list.", +"enum": [ +"ID", +"NAME" +], +"enumDescriptions": [ +"", +"" +], +"location": "query", +"type": "string" +}, +"sortOrder": { +"default": "ASCENDING", +"description": "Order of sorted results.", +"enum": [ +"ASCENDING", +"DESCENDING" +], +"enumDescriptions": [ +"Ascending order.", +"Descending order." +], +"location": "query", +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/subaccounts", +"response": { +"$ref": "SubaccountsListResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +}, +"patch": { +"description": "Updates an existing subaccount. This method supports patch semantics.", +"flatPath": "userprofiles/{userprofilesId}/subaccounts", +"httpMethod": "PATCH", +"id": "dfareporting.subaccounts.patch", +"parameterOrder": [ +"profileId", +"id" +], +"parameters": { +"id": { +"description": "Required. Subaccount ID.", +"format": "int64", +"location": "query", +"required": true, +"type": "string" +}, +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/subaccounts", +"request": { +"$ref": "Subaccount" +}, +"response": { +"$ref": "Subaccount" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +}, +"update": { +"description": "Updates an existing subaccount.", +"flatPath": "userprofiles/{userprofilesId}/subaccounts", +"httpMethod": "PUT", +"id": "dfareporting.subaccounts.update", +"parameterOrder": [ +"profileId" +], +"parameters": { +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/subaccounts", +"request": { +"$ref": "Subaccount" +}, +"response": { +"$ref": "Subaccount" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +} +} +}, +"targetableRemarketingLists": { +"methods": { +"get": { +"description": "Gets one remarketing list by ID.", +"flatPath": "userprofiles/{userprofilesId}/targetableRemarketingLists/{targetableRemarketingListsId}", +"httpMethod": "GET", +"id": "dfareporting.targetableRemarketingLists.get", +"parameterOrder": [ +"profileId", +"id" +], +"parameters": { +"id": { +"description": "Remarketing list ID.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/targetableRemarketingLists/{+id}", +"response": { +"$ref": "TargetableRemarketingList" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +}, +"list": { +"description": "Retrieves a list of targetable remarketing lists, possibly filtered. This method supports paging.", +"flatPath": "userprofiles/{userprofilesId}/targetableRemarketingLists", +"httpMethod": "GET", +"id": "dfareporting.targetableRemarketingLists.list", +"parameterOrder": [ +"profileId", +"advertiserId" +], +"parameters": { +"active": { +"description": "Select only active or only inactive targetable remarketing lists.", +"location": "query", +"type": "boolean" +}, +"advertiserId": { +"description": "Required. Select only targetable remarketing lists targetable by these advertisers.", +"format": "int64", +"location": "query", +"required": true, +"type": "string" +}, +"maxResults": { +"default": "1000", +"description": "Maximum number of results to return.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"name": { +"description": "Allows searching for objects by name or ID. Wildcards (*) are allowed. For example, \"remarketing list*2015\" will return objects with names like \"remarketing list June 2015\", \"remarketing list April 2015\", or simply \"remarketing list 2015\". Most of the searches also add wildcards implicitly at the start and the end of the search string. For example, a search string of \"remarketing list\" will match objects with name \"my remarketing list\", \"remarketing list 2015\", or simply \"remarketing list\".", +"location": "query", +"type": "string" +}, +"pageToken": { +"description": "Value of the nextPageToken from the previous result page.", +"location": "query", +"type": "string" +}, +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"sortField": { +"default": "ID", +"description": "Field by which to sort the list.", +"enum": [ +"ID", +"NAME" +], +"enumDescriptions": [ +"", +"" +], +"location": "query", +"type": "string" +}, +"sortOrder": { +"default": "ASCENDING", +"description": "Order of sorted results.", +"enum": [ +"ASCENDING", +"DESCENDING" +], +"enumDescriptions": [ +"Ascending order.", +"Descending order." +], +"location": "query", +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/targetableRemarketingLists", +"response": { +"$ref": "TargetableRemarketingListsListResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +} +} +}, +"targetingTemplates": { +"methods": { +"get": { +"description": "Gets one targeting template by ID.", +"flatPath": "userprofiles/{userprofilesId}/targetingTemplates/{targetingTemplatesId}", +"httpMethod": "GET", +"id": "dfareporting.targetingTemplates.get", +"parameterOrder": [ +"profileId", +"id" +], +"parameters": { +"id": { +"description": "Targeting template ID.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/targetingTemplates/{+id}", +"response": { +"$ref": "TargetingTemplate" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +}, +"insert": { +"description": "Inserts a new targeting template.", +"flatPath": "userprofiles/{userprofilesId}/targetingTemplates", +"httpMethod": "POST", +"id": "dfareporting.targetingTemplates.insert", +"parameterOrder": [ +"profileId" +], +"parameters": { +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/targetingTemplates", +"request": { +"$ref": "TargetingTemplate" +}, +"response": { +"$ref": "TargetingTemplate" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +}, +"list": { +"description": "Retrieves a list of targeting templates, optionally filtered. This method supports paging.", +"flatPath": "userprofiles/{userprofilesId}/targetingTemplates", +"httpMethod": "GET", +"id": "dfareporting.targetingTemplates.list", +"parameterOrder": [ +"profileId" +], +"parameters": { +"advertiserId": { +"description": "Select only targeting templates with this advertiser ID.", +"format": "int64", +"location": "query", +"type": "string" +}, +"ids": { +"description": "Select only targeting templates with these IDs.", +"format": "int64", +"location": "query", +"repeated": true, +"type": "string" +}, +"maxResults": { +"default": "1000", +"description": "Maximum number of results to return.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Value of the nextPageToken from the previous result page.", +"location": "query", +"type": "string" +}, +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"searchString": { +"description": "Allows searching for objects by name or ID. Wildcards (*) are allowed. For example, \"template*2015\" will return objects with names like \"template June 2015\", \"template April 2015\", or simply \"template 2015\". Most of the searches also add wildcards implicitly at the start and the end of the search string. For example, a search string of \"template\" will match objects with name \"my template\", \"template 2015\", or simply \"template\".", +"location": "query", +"type": "string" +}, +"sortField": { +"default": "ID", +"description": "Field by which to sort the list.", +"enum": [ +"ID", +"NAME" +], +"enumDescriptions": [ +"", +"" +], +"location": "query", +"type": "string" +}, +"sortOrder": { +"default": "ASCENDING", +"description": "Order of sorted results.", +"enum": [ +"ASCENDING", +"DESCENDING" +], +"enumDescriptions": [ +"Ascending order.", +"Descending order." +], +"location": "query", +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/targetingTemplates", +"response": { +"$ref": "TargetingTemplatesListResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +}, +"patch": { +"description": "Updates an existing targeting template. This method supports patch semantics.", +"flatPath": "userprofiles/{userprofilesId}/targetingTemplates", +"httpMethod": "PATCH", +"id": "dfareporting.targetingTemplates.patch", +"parameterOrder": [ +"profileId", +"id" +], +"parameters": { +"id": { +"description": "Required. RemarketingList ID.", +"format": "int64", +"location": "query", +"required": true, +"type": "string" +}, +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/targetingTemplates", +"request": { +"$ref": "TargetingTemplate" +}, +"response": { +"$ref": "TargetingTemplate" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +}, +"update": { +"description": "Updates an existing targeting template.", +"flatPath": "userprofiles/{userprofilesId}/targetingTemplates", +"httpMethod": "PUT", +"id": "dfareporting.targetingTemplates.update", +"parameterOrder": [ +"profileId" +], +"parameters": { +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/targetingTemplates", +"request": { +"$ref": "TargetingTemplate" +}, +"response": { +"$ref": "TargetingTemplate" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +} +} +}, +"tvCampaignDetails": { +"methods": { +"get": { +"description": "Gets one TvCampaignDetail by ID.", +"flatPath": "userprofiles/{userprofilesId}/tvCampaignDetails/{tvCampaignDetailsId}", +"httpMethod": "GET", +"id": "dfareporting.tvCampaignDetails.get", +"parameterOrder": [ +"profileId", +"id" +], +"parameters": { +"accountId": { +"description": "Required. Account ID associated with this request.", +"format": "int64", +"location": "query", +"type": "string" +}, +"countryDartId": { +"description": "Optional. Country Dart ID. If not specified, defaults to 256 (US).", +"format": "int64", +"location": "query", +"type": "string" +}, +"id": { +"description": "Required. TV Campaign ID.", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"profileId": { +"description": "Required. User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"tvDataProvider": { +"description": "Optional. TV data provider. If not specified, defaults to `COMSCORE_NATIONAL_US`.", +"enum": [ +"INVALID_TV_DATA_PROVIDER", +"IBOPE_AR", +"IBOPE_BR", +"IBOPE_CL", +"IBOPE_CO", +"TNS_VN", +"COMSCORE_NATIONAL_US", +"COMSCORE_CA", +"SAMBA_AU" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"", +"", +"", +"" +], +"location": "query", +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/tvCampaignDetails/{+id}", +"response": { +"$ref": "TvCampaignDetail" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +} +} +}, +"tvCampaignSummaries": { +"methods": { +"list": { +"description": "Retrieves a list of TV campaign summaries.", +"flatPath": "userprofiles/{userprofilesId}/tvCampaignSummaries", +"httpMethod": "GET", +"id": "dfareporting.tvCampaignSummaries.list", +"parameterOrder": [ +"profileId" +], +"parameters": { +"accountId": { +"description": "Required. Account ID associated with this request.", +"format": "int64", +"location": "query", +"type": "string" +}, +"countryDartId": { +"description": "Optional. Country Dart ID. If not specified, defaults to 256 (US).", +"format": "int64", +"location": "query", +"type": "string" +}, +"name": { +"description": "Required. Search string to filter the list of TV campaign summaries. Matches any substring. Required field.", +"location": "query", +"type": "string" +}, +"profileId": { +"description": "Required. User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"tvDataProvider": { +"description": "Optional. TV data provider. If not specified, defaults to `COMSCORE_NATIONAL_US`.", +"enum": [ +"INVALID_TV_DATA_PROVIDER", +"IBOPE_AR", +"IBOPE_BR", +"IBOPE_CL", +"IBOPE_CO", +"TNS_VN", +"COMSCORE_NATIONAL_US", +"COMSCORE_CA", +"SAMBA_AU" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"", +"", +"", +"" +], +"location": "query", +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/tvCampaignSummaries", +"response": { +"$ref": "TvCampaignSummariesListResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +} +} +}, +"userProfiles": { +"methods": { +"get": { +"description": "Gets one user profile by ID.", +"flatPath": "userprofiles/{profileId}", +"httpMethod": "GET", +"id": "dfareporting.userProfiles.get", +"parameterOrder": [ +"profileId" +], +"parameters": { +"profileId": { +"description": "The user profile ID.", +"format": "int64", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "userprofiles/{profileId}", +"response": { +"$ref": "UserProfile" +}, +"scopes": [ +"https://www.googleapis.com/auth/ddmconversions", +"https://www.googleapis.com/auth/dfareporting", +"https://www.googleapis.com/auth/dfatrafficking" +] +}, +"list": { +"description": "Retrieves list of user profiles for a user.", +"flatPath": "userprofiles", +"httpMethod": "GET", +"id": "dfareporting.userProfiles.list", +"parameterOrder": [], +"parameters": {}, +"path": "userprofiles", +"response": { +"$ref": "UserProfileList" +}, +"scopes": [ +"https://www.googleapis.com/auth/ddmconversions", +"https://www.googleapis.com/auth/dfareporting", +"https://www.googleapis.com/auth/dfatrafficking" +] +} +} +}, +"userRolePermissionGroups": { +"methods": { +"get": { +"description": "Gets one user role permission group by ID.", +"flatPath": "userprofiles/{userprofilesId}/userRolePermissionGroups/{userRolePermissionGroupsId}", +"httpMethod": "GET", +"id": "dfareporting.userRolePermissionGroups.get", +"parameterOrder": [ +"profileId", +"id" +], +"parameters": { +"id": { +"description": "User role permission group ID.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/userRolePermissionGroups/{+id}", +"response": { +"$ref": "UserRolePermissionGroup" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +}, +"list": { +"description": "Gets a list of all supported user role permission groups.", +"flatPath": "userprofiles/{userprofilesId}/userRolePermissionGroups", +"httpMethod": "GET", +"id": "dfareporting.userRolePermissionGroups.list", +"parameterOrder": [ +"profileId" +], +"parameters": { +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/userRolePermissionGroups", +"response": { +"$ref": "UserRolePermissionGroupsListResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +} +} +}, +"userRolePermissions": { +"methods": { +"get": { +"description": "Gets one user role permission by ID.", +"flatPath": "userprofiles/{userprofilesId}/userRolePermissions/{userRolePermissionsId}", +"httpMethod": "GET", +"id": "dfareporting.userRolePermissions.get", +"parameterOrder": [ +"profileId", +"id" +], +"parameters": { +"id": { +"description": "User role permission ID.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/userRolePermissions/{+id}", +"response": { +"$ref": "UserRolePermission" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +}, +"list": { +"description": "Gets a list of user role permissions, possibly filtered.", +"flatPath": "userprofiles/{userprofilesId}/userRolePermissions", +"httpMethod": "GET", +"id": "dfareporting.userRolePermissions.list", +"parameterOrder": [ +"profileId" +], +"parameters": { +"ids": { +"description": "Select only user role permissions with these IDs.", +"format": "int64", +"location": "query", +"repeated": true, +"type": "string" +}, +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/userRolePermissions", +"response": { +"$ref": "UserRolePermissionsListResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +} +} +}, +"userRoles": { +"methods": { +"delete": { +"description": "Deletes an existing user role.", +"flatPath": "userprofiles/{userprofilesId}/userRoles/{userRolesId}", +"httpMethod": "DELETE", +"id": "dfareporting.userRoles.delete", +"parameterOrder": [ +"profileId", +"id" +], +"parameters": { +"id": { +"description": "User role ID.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/userRoles/{+id}", +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +}, +"get": { +"description": "Gets one user role by ID.", +"flatPath": "userprofiles/{userprofilesId}/userRoles/{userRolesId}", +"httpMethod": "GET", +"id": "dfareporting.userRoles.get", +"parameterOrder": [ +"profileId", +"id" +], +"parameters": { +"id": { +"description": "User role ID.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/userRoles/{+id}", +"response": { +"$ref": "UserRole" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +}, +"insert": { +"description": "Inserts a new user role.", +"flatPath": "userprofiles/{userprofilesId}/userRoles", +"httpMethod": "POST", +"id": "dfareporting.userRoles.insert", +"parameterOrder": [ +"profileId" +], +"parameters": { +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/userRoles", +"request": { +"$ref": "UserRole" +}, +"response": { +"$ref": "UserRole" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +}, +"list": { +"description": "Retrieves a list of user roles, possibly filtered. This method supports paging.", +"flatPath": "userprofiles/{userprofilesId}/userRoles", +"httpMethod": "GET", +"id": "dfareporting.userRoles.list", +"parameterOrder": [ +"profileId" +], +"parameters": { +"accountUserRoleOnly": { +"description": "Select only account level user roles not associated with any specific subaccount.", +"location": "query", +"type": "boolean" +}, +"ids": { +"description": "Select only user roles with the specified IDs.", +"format": "int64", +"location": "query", +"repeated": true, +"type": "string" +}, +"maxResults": { +"default": "1000", +"description": "Maximum number of results to return.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Value of the nextPageToken from the previous result page.", +"location": "query", +"type": "string" +}, +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"searchString": { +"description": "Allows searching for objects by name or ID. Wildcards (*) are allowed. For example, \"userrole*2015\" will return objects with names like \"userrole June 2015\", \"userrole April 2015\", or simply \"userrole 2015\". Most of the searches also add wildcards implicitly at the start and the end of the search string. For example, a search string of \"userrole\" will match objects with name \"my userrole\", \"userrole 2015\", or simply \"userrole\".", +"location": "query", +"type": "string" +}, +"sortField": { +"default": "ID", +"description": "Field by which to sort the list.", +"enum": [ +"ID", +"NAME" +], +"enumDescriptions": [ +"", +"" +], +"location": "query", +"type": "string" +}, +"sortOrder": { +"default": "ASCENDING", +"description": "Order of sorted results.", +"enum": [ +"ASCENDING", +"DESCENDING" +], +"enumDescriptions": [ +"Ascending order.", +"Descending order." +], +"location": "query", +"type": "string" +}, +"subaccountId": { +"description": "Select only user roles that belong to this subaccount.", +"format": "int64", +"location": "query", +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/userRoles", +"response": { +"$ref": "UserRolesListResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +}, +"patch": { +"description": "Updates an existing user role. This method supports patch semantics.", +"flatPath": "userprofiles/{userprofilesId}/userRoles", +"httpMethod": "PATCH", +"id": "dfareporting.userRoles.patch", +"parameterOrder": [ +"profileId", +"id" +], +"parameters": { +"id": { +"description": "Required. UserRole ID.", +"format": "int64", +"location": "query", +"required": true, +"type": "string" +}, +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/userRoles", +"request": { +"$ref": "UserRole" +}, +"response": { +"$ref": "UserRole" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +}, +"update": { +"description": "Updates an existing user role.", +"flatPath": "userprofiles/{userprofilesId}/userRoles", +"httpMethod": "PUT", +"id": "dfareporting.userRoles.update", +"parameterOrder": [ +"profileId" +], +"parameters": { +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/userRoles", +"request": { +"$ref": "UserRole" +}, +"response": { +"$ref": "UserRole" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +} +} +}, +"videoFormats": { +"methods": { +"get": { +"description": "Gets one video format by ID.", +"flatPath": "userprofiles/{userprofilesId}/videoFormats/{videoFormatsId}", +"httpMethod": "GET", +"id": "dfareporting.videoFormats.get", +"parameterOrder": [ +"profileId", +"id" +], +"parameters": { +"id": { +"description": "Video format ID.", +"format": "int32", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "integer" +}, +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/videoFormats/{+id}", +"response": { +"$ref": "VideoFormat" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +}, +"list": { +"description": "Lists available video formats.", +"flatPath": "userprofiles/{userprofilesId}/videoFormats", +"httpMethod": "GET", +"id": "dfareporting.videoFormats.list", +"parameterOrder": [ +"profileId" +], +"parameters": { +"profileId": { +"description": "User profile ID associated with this request.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "userprofiles/{+profileId}/videoFormats", +"response": { +"$ref": "VideoFormatsListResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/dfatrafficking" +] +} +} +} +}, +"revision": "20260213", +"rootUrl": "https://dfareporting.googleapis.com/", +"schemas": { +"Account": { +"description": "Contains properties of a Campaign Manager account.", +"id": "Account", +"properties": { +"accountPermissionIds": { +"description": "Account permissions assigned to this account.", +"items": { +"format": "int64", +"type": "string" +}, +"type": "array" +}, +"accountProfile": { +"description": "Profile for this account. This is a read-only field that can be left blank.", +"enum": [ +"ACCOUNT_PROFILE_BASIC", +"ACCOUNT_PROFILE_STANDARD" +], +"enumDescriptions": [ +"Basic profile has fewer features and lower CPM.", +"Standard profile as a higher CPM and all the features." +], +"type": "string" +}, +"active": { +"description": "Whether this account is active.", +"type": "boolean" +}, +"activeAdsLimitTier": { +"description": "Maximum number of active ads allowed for this account.", +"enum": [ +"ACTIVE_ADS_TIER_40K", +"ACTIVE_ADS_TIER_75K", +"ACTIVE_ADS_TIER_100K", +"ACTIVE_ADS_TIER_200K", +"ACTIVE_ADS_TIER_300K", +"ACTIVE_ADS_TIER_500K", +"ACTIVE_ADS_TIER_750K", +"ACTIVE_ADS_TIER_1M" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"", +"", +"" +], +"type": "string" +}, +"activeViewOptOut": { +"description": "Whether to serve creatives with Active View tags. If disabled, viewability data will not be available for any impressions.", +"type": "boolean" +}, +"availablePermissionIds": { +"description": "User role permissions available to the user roles of this account.", +"items": { +"format": "int64", +"type": "string" +}, +"type": "array" +}, +"countryId": { +"description": "ID of the country associated with this account.", +"format": "int64", +"type": "string" +}, +"currencyId": { +"description": "ID of currency associated with this account. This is a required field. Acceptable values are: - \"1\" for USD - \"2\" for GBP - \"3\" for ESP - \"4\" for SEK - \"5\" for CAD - \"6\" for JPY - \"7\" for DEM - \"8\" for AUD - \"9\" for FRF - \"10\" for ITL - \"11\" for DKK - \"12\" for NOK - \"13\" for FIM - \"14\" for ZAR - \"15\" for IEP - \"16\" for NLG - \"17\" for EUR - \"18\" for KRW - \"19\" for TWD - \"20\" for SGD - \"21\" for CNY - \"22\" for HKD - \"23\" for NZD - \"24\" for MYR - \"25\" for BRL - \"26\" for PTE - \"28\" for CLP - \"29\" for TRY - \"30\" for ARS - \"31\" for PEN - \"32\" for ILS - \"33\" for CHF - \"34\" for VEF - \"35\" for COP - \"36\" for GTQ - \"37\" for PLN - \"39\" for INR - \"40\" for THB - \"41\" for IDR - \"42\" for CZK - \"43\" for RON - \"44\" for HUF - \"45\" for RUB - \"46\" for AED - \"47\" for BGN - \"48\" for HRK - \"49\" for MXN - \"50\" for NGN - \"51\" for EGP ", +"format": "int64", +"type": "string" +}, +"defaultCreativeSizeId": { +"description": "Default placement dimensions for this account.", +"format": "int64", +"type": "string" +}, +"description": { +"description": "Description of this account.", +"type": "string" +}, +"id": { +"description": "ID of this account. This is a read-only, auto-generated field.", +"format": "int64", +"type": "string" +}, +"kind": { +"description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#account\".", +"type": "string" +}, +"locale": { +"description": "Locale of this account. Acceptable values are: - \"cs\" (Czech) - \"de\" (German) - \"en\" (English) - \"en-GB\" (English United Kingdom) - \"es\" (Spanish) - \"fr\" (French) - \"it\" (Italian) - \"ja\" (Japanese) - \"ko\" (Korean) - \"pl\" (Polish) - \"pt-BR\" (Portuguese Brazil) - \"ru\" (Russian) - \"sv\" (Swedish) - \"tr\" (Turkish) - \"zh-CN\" (Chinese Simplified) - \"zh-TW\" (Chinese Traditional) ", +"type": "string" +}, +"maximumImageSize": { +"description": "Maximum image size allowed for this account, in kilobytes. Value must be greater than or equal to 1.", +"format": "int64", +"type": "string" +}, +"name": { +"description": "Name of this account. This is a required field, and must be less than 128 characters long and be globally unique.", +"type": "string" +}, +"nielsenOcrEnabled": { +"description": "Whether campaigns created in this account will be enabled for Nielsen OCR reach ratings by default.", +"type": "boolean" +}, +"reportsConfiguration": { +"$ref": "ReportsConfiguration", +"description": "Reporting configuration of this account." +}, +"shareReportsWithTwitter": { +"description": "Share Path to Conversion reports with Twitter.", +"type": "boolean" +}, +"teaserSizeLimit": { +"description": "File size limit in kilobytes of Rich Media teaser creatives. Acceptable values are 1 to 10240, inclusive.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"AccountActiveAdSummary": { +"description": "Gets a summary of active ads in an account.", +"id": "AccountActiveAdSummary", +"properties": { +"accountId": { +"description": "ID of the account.", +"format": "int64", +"type": "string" +}, +"activeAds": { +"description": "Ads that have been activated for the account", +"format": "int64", +"type": "string" +}, +"activeAdsLimitTier": { +"description": "Maximum number of active ads allowed for the account.", +"enum": [ +"ACTIVE_ADS_TIER_40K", +"ACTIVE_ADS_TIER_75K", +"ACTIVE_ADS_TIER_100K", +"ACTIVE_ADS_TIER_200K", +"ACTIVE_ADS_TIER_300K", +"ACTIVE_ADS_TIER_500K", +"ACTIVE_ADS_TIER_750K", +"ACTIVE_ADS_TIER_1M" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"", +"", +"" +], +"type": "string" +}, +"availableAds": { +"description": "Ads that can be activated for the account.", +"format": "int64", +"type": "string" +}, +"kind": { +"description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#accountActiveAdSummary\".", +"type": "string" +} +}, +"type": "object" +}, +"AccountPermission": { +"description": "AccountPermissions contains information about a particular account permission. Some features of Campaign Manager require an account permission to be present in the account.", +"id": "AccountPermission", +"properties": { +"accountProfiles": { +"description": "Account profiles associated with this account permission. Possible values are: - \"ACCOUNT_PROFILE_BASIC\" - \"ACCOUNT_PROFILE_STANDARD\" ", +"items": { +"enum": [ +"ACCOUNT_PROFILE_BASIC", +"ACCOUNT_PROFILE_STANDARD" +], +"enumDescriptions": [ +"Basic profile has fewer features and lower CPM.", +"Standard profile as a higher CPM and all the features." +], +"type": "string" +}, +"type": "array" +}, +"id": { +"description": "ID of this account permission.", +"format": "int64", +"type": "string" +}, +"kind": { +"description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#accountPermission\".", +"type": "string" +}, +"level": { +"description": "Administrative level required to enable this account permission.", +"enum": [ +"USER", +"ADMINISTRATOR" +], +"enumDescriptions": [ +"", +"" +], +"type": "string" +}, +"name": { +"description": "Name of this account permission.", +"type": "string" +}, +"permissionGroupId": { +"description": "Permission group of this account permission.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"AccountPermissionGroup": { +"description": "AccountPermissionGroups contains a mapping of permission group IDs to names. A permission group is a grouping of account permissions.", +"id": "AccountPermissionGroup", +"properties": { +"id": { +"description": "ID of this account permission group.", +"format": "int64", +"type": "string" +}, +"kind": { +"description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#accountPermissionGroup\".", +"type": "string" +}, +"name": { +"description": "Name of this account permission group.", +"type": "string" +} +}, +"type": "object" +}, +"AccountPermissionGroupsListResponse": { +"description": "Account Permission Group List Response", +"id": "AccountPermissionGroupsListResponse", +"properties": { +"accountPermissionGroups": { +"description": "Account permission group collection.", +"items": { +"$ref": "AccountPermissionGroup" +}, +"type": "array" +}, +"kind": { +"description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#accountPermissionGroupGroupsListResponse\".", +"type": "string" +} +}, +"type": "object" +}, +"AccountPermissionsListResponse": { +"description": "Account Permission List Response", +"id": "AccountPermissionsListResponse", +"properties": { +"accountPermissions": { +"description": "Account permission collection.", +"items": { +"$ref": "AccountPermission" +}, +"type": "array" +}, +"kind": { +"description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#accountPermissionsListResponse\".", +"type": "string" +} +}, +"type": "object" +}, +"AccountUserProfile": { +"description": "AccountUserProfiles contains properties of a Campaign Manager user profile. This resource is specifically for managing user profiles, whereas UserProfiles is for accessing the API.", +"id": "AccountUserProfile", +"properties": { +"accountId": { +"description": "Account ID of the user profile. This is a read-only field that can be left blank.", +"format": "int64", +"type": "string" +}, +"active": { +"description": "Whether this user profile is active. This defaults to false, and must be set true on insert for the user profile to be usable.", +"type": "boolean" +}, +"advertiserFilter": { +"$ref": "ObjectFilter", +"description": "Filter that describes which advertisers are visible to the user profile." +}, +"campaignFilter": { +"$ref": "ObjectFilter", +"description": "Filter that describes which campaigns are visible to the user profile." +}, +"comments": { +"description": "Comments for this user profile.", +"type": "string" +}, +"email": { +"description": "Email of the user profile. The email address must be linked to a Google Account. This field is required on insertion and is read-only after insertion.", +"type": "string" +}, +"id": { +"description": "ID of the user profile. This is a read-only, auto-generated field.", +"format": "int64", +"type": "string" +}, +"kind": { +"description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#accountUserProfile\".", +"type": "string" +}, +"locale": { +"description": "Locale of the user profile. This is a required field. Acceptable values are: - \"cs\" (Czech) - \"de\" (German) - \"en\" (English) - \"en-GB\" (English United Kingdom) - \"es\" (Spanish) - \"fr\" (French) - \"it\" (Italian) - \"ja\" (Japanese) - \"ko\" (Korean) - \"pl\" (Polish) - \"pt-BR\" (Portuguese Brazil) - \"ru\" (Russian) - \"sv\" (Swedish) - \"tr\" (Turkish) - \"zh-CN\" (Chinese Simplified) - \"zh-TW\" (Chinese Traditional) ", +"type": "string" +}, +"name": { +"description": "Name of the user profile. This is a required field. Must be less than 64 characters long, must be globally unique, and cannot contain whitespace or any of the following characters: \"&;<>\"#%,\".", +"type": "string" +}, +"siteFilter": { +"$ref": "ObjectFilter", +"description": "Filter that describes which sites are visible to the user profile." +}, +"subaccountId": { +"description": "Subaccount ID of the user profile. This is a read-only field that can be left blank.", +"format": "int64", +"type": "string" +}, +"traffickerType": { +"description": "Trafficker type of this user profile. This is a read-only field.", +"enum": [ +"INTERNAL_NON_TRAFFICKER", +"INTERNAL_TRAFFICKER", +"EXTERNAL_TRAFFICKER" +], +"enumDescriptions": [ +"Internal profile, but is not a trafficker.", +"Internal profile who is a trafficker.", +"External profile who is a trafficker." +], +"type": "string" +}, +"userAccessType": { +"description": "User type of the user profile. This is a read-only field that can be left blank.", +"enum": [ +"NORMAL_USER", +"SUPER_USER", +"INTERNAL_ADMINISTRATOR", +"READ_ONLY_SUPER_USER" +], +"enumDescriptions": [ +"Normal user managed by the customer.", +"Super user managed by internal support teams.", +"Internal administrator having super user access to only a specific set of networks.", +"A super-user without permission to mutate any data." +], +"type": "string" +}, +"userRoleFilter": { +"$ref": "ObjectFilter", +"description": "Filter that describes which user roles are visible to the user profile." +}, +"userRoleId": { +"description": "User role ID of the user profile. This is a required field.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"AccountUserProfilesListResponse": { +"description": "Account User Profile List Response", +"id": "AccountUserProfilesListResponse", +"properties": { +"accountUserProfiles": { +"description": "Account user profile collection.", +"items": { +"$ref": "AccountUserProfile" +}, +"type": "array" +}, +"kind": { +"description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#accountUserProfilesListResponse\".", +"type": "string" +}, +"nextPageToken": { +"description": "Pagination token to be used for the next list operation.", +"type": "string" +} +}, +"type": "object" +}, +"AccountsListResponse": { +"description": "Account List Response", +"id": "AccountsListResponse", +"properties": { +"accounts": { +"description": "Account collection.", +"items": { +"$ref": "Account" +}, +"type": "array" +}, +"kind": { +"description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#accountsListResponse\".", +"type": "string" +}, +"nextPageToken": { +"description": "Pagination token to be used for the next list operation.", +"type": "string" +} +}, +"type": "object" +}, +"Activities": { +"description": "Represents an activity group.", +"id": "Activities", +"properties": { +"filters": { +"description": "List of activity filters. The dimension values need to be all either of type \"dfa:activity\" or \"dfa:activityGroup\".", +"items": { +"$ref": "DimensionValue" +}, +"type": "array" +}, +"kind": { +"description": "The kind of resource this is, in this case dfareporting#activities.", +"type": "string" +}, +"metricNames": { +"description": "List of names of floodlight activity metrics.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"Ad": { +"description": "Contains properties of a Campaign Manager ad.", +"id": "Ad", +"properties": { +"accountId": { +"description": "Account ID of this ad. This is a read-only field that can be left blank.", +"format": "int64", +"type": "string" +}, +"active": { +"description": "Whether this ad is active. When true, archived must be false.", +"type": "boolean" +}, +"advertiserId": { +"description": "Advertiser ID of this ad. This is a required field on insertion.", +"format": "int64", +"type": "string" +}, +"advertiserIdDimensionValue": { +"$ref": "DimensionValue", +"description": "Dimension value for the ID of the advertiser. This is a read-only, auto-generated field." +}, +"archived": { +"description": "Whether this ad is archived. When true, active must be false.", +"type": "boolean" +}, +"audienceSegmentId": { +"description": "Audience segment ID that is being targeted for this ad. Applicable when type is AD_SERVING_STANDARD_AD.", +"format": "int64", +"type": "string" +}, +"campaignId": { +"description": "Campaign ID of this ad. This is a required field on insertion.", +"format": "int64", +"type": "string" +}, +"campaignIdDimensionValue": { +"$ref": "DimensionValue", +"description": "Dimension value for the ID of the campaign. This is a read-only, auto-generated field." +}, +"clickThroughUrl": { +"$ref": "ClickThroughUrl", +"description": "Click-through URL for this ad. This is a required field on insertion. Applicable when type is AD_SERVING_CLICK_TRACKER." +}, +"clickThroughUrlSuffixProperties": { +"$ref": "ClickThroughUrlSuffixProperties", +"description": "Click-through URL suffix properties for this ad. Applies to the URL in the ad or (if overriding ad properties) the URL in the creative." +}, +"comments": { +"description": "Comments for this ad.", +"type": "string" +}, +"compatibility": { +"description": "Compatibility of this ad. Applicable when type is AD_SERVING_DEFAULT_AD. DISPLAY and DISPLAY_INTERSTITIAL refer to either rendering on desktop or on mobile devices or in mobile apps for regular or interstitial ads, respectively. APP and APP_INTERSTITIAL are only used for existing default ads. New mobile placements must be assigned DISPLAY or DISPLAY_INTERSTITIAL and default ads created for those placements will be limited to those compatibility types. IN_STREAM_VIDEO refers to rendering in-stream video ads developed with the VAST standard.", +"enum": [ +"DISPLAY", +"DISPLAY_INTERSTITIAL", +"APP", +"APP_INTERSTITIAL", +"IN_STREAM_VIDEO", +"IN_STREAM_AUDIO" +], +"enumDescriptions": [ +"", +"", +"Deprecated enum value. No longer supported.", +"Deprecated enum value. No longer supported.", +"", +"" +], +"type": "string" +}, +"contextualKeywordTargeting": { +"$ref": "ContextualKeywordTargeting", +"description": "Optional. Contextual keyword targeting information for this ad." +}, +"createInfo": { +"$ref": "LastModifiedInfo", +"description": "Information about the creation of this ad. This is a read-only field." +}, +"creativeGroupAssignments": { +"description": "Creative group assignments for this ad. Applicable when type is AD_SERVING_CLICK_TRACKER. Only one assignment per creative group number is allowed for a maximum of two assignments.", +"items": { +"$ref": "CreativeGroupAssignment" +}, +"type": "array" +}, +"creativeRotation": { +"$ref": "CreativeRotation", +"description": "Creative rotation for this ad. Applicable when type is AD_SERVING_DEFAULT_AD, AD_SERVING_STANDARD_AD, or AD_SERVING_TRACKING. When type is AD_SERVING_DEFAULT_AD, this field should have exactly one creativeAssignment ." +}, +"dayPartTargeting": { +"$ref": "DayPartTargeting", +"description": "Time and day targeting information for this ad. This field must be left blank if the ad is using a targeting template. Applicable when type is AD_SERVING_STANDARD_AD." +}, +"defaultClickThroughEventTagProperties": { +"$ref": "DefaultClickThroughEventTagProperties", +"description": "Default click-through event tag properties for this ad." +}, +"deliverySchedule": { +"$ref": "DeliverySchedule", +"description": "Delivery schedule information for this ad. Applicable when type is AD_SERVING_STANDARD_AD or AD_SERVING_TRACKING. This field along with subfields priority and impressionRatio are required on insertion when type is AD_SERVING_STANDARD_AD." +}, +"dynamicClickTracker": { +"description": "Whether this ad is a dynamic click tracker. Applicable when type is AD_SERVING_CLICK_TRACKER. This is a required field on insert, and is read-only after insert.", +"type": "boolean" +}, +"endTime": { +"format": "date-time", +"type": "string" +}, +"eventTagOverrides": { +"description": "Event tag overrides for this ad.", +"items": { +"$ref": "EventTagOverride" +}, +"type": "array" +}, +"geoTargeting": { +"$ref": "GeoTargeting", +"description": "Geographical targeting information for this ad. This field must be left blank if the ad is using a targeting template. Applicable when type is AD_SERVING_STANDARD_AD." +}, +"id": { +"description": "ID of this ad. This is a read-only, auto-generated field.", +"format": "int64", +"type": "string" +}, +"idDimensionValue": { +"$ref": "DimensionValue", +"description": "Dimension value for the ID of this ad. This is a read-only, auto-generated field." +}, +"keyValueTargetingExpression": { +"$ref": "KeyValueTargetingExpression", +"description": "Key-value targeting information for this ad. This field must be left blank if the ad is using a targeting template. Applicable when type is AD_SERVING_STANDARD_AD." +}, +"kind": { +"description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#ad\".", +"type": "string" +}, +"languageTargeting": { +"$ref": "LanguageTargeting", +"description": "Language targeting information for this ad. This field must be left blank if the ad is using a targeting template. Applicable when type is AD_SERVING_STANDARD_AD." +}, +"lastModifiedInfo": { +"$ref": "LastModifiedInfo", +"description": "Information about the most recent modification of this ad. This is a read-only field." +}, +"name": { +"description": "Name of this ad. This is a required field and must be less than 256 characters long.", +"type": "string" +}, +"placementAssignments": { +"description": "Placement assignments for this ad.", +"items": { +"$ref": "PlacementAssignment" +}, +"type": "array" +}, +"remarketingListExpression": { +"$ref": "ListTargetingExpression", +"description": "Remarketing list targeting expression for this ad. This field must be left blank if the ad is using a targeting template. Applicable when type is AD_SERVING_STANDARD_AD." +}, +"size": { +"$ref": "Size", +"description": "Size of this ad. Applicable when type is AD_SERVING_DEFAULT_AD." +}, +"sslCompliant": { +"description": "Whether this ad is ssl compliant. This is a read-only field that is auto-generated when the ad is inserted or updated.", +"type": "boolean" +}, +"sslRequired": { +"description": "Whether this ad requires ssl. This is a read-only field that is auto-generated when the ad is inserted or updated.", +"type": "boolean" +}, +"startTime": { +"format": "date-time", +"type": "string" +}, +"subaccountId": { +"description": "Subaccount ID of this ad. This is a read-only field that can be left blank.", +"format": "int64", +"type": "string" +}, +"targetingTemplateId": { +"description": "Targeting template ID, used to apply preconfigured targeting information to this ad. This cannot be set while any of dayPartTargeting, geoTargeting, keyValueTargetingExpression, languageTargeting, remarketingListExpression, or technologyTargeting are set. Applicable when type is AD_SERVING_STANDARD_AD.", +"format": "int64", +"type": "string" +}, +"technologyTargeting": { +"$ref": "TechnologyTargeting", +"description": "Technology platform targeting information for this ad. This field must be left blank if the ad is using a targeting template. Applicable when type is AD_SERVING_STANDARD_AD." +}, +"type": { +"description": "Type of ad. This is a required field on insertion. Note that default ads ( AD_SERVING_DEFAULT_AD) cannot be created directly (see Creative resource).", +"enum": [ +"AD_SERVING_STANDARD_AD", +"AD_SERVING_DEFAULT_AD", +"AD_SERVING_CLICK_TRACKER", +"AD_SERVING_TRACKING", +"AD_SERVING_BRAND_SAFE_AD" +], +"enumDescriptions": [ +"", +"", +"", +"", +"" +], +"type": "string" +} +}, +"type": "object" +}, +"AdBlockingConfiguration": { +"description": "Campaign ad blocking settings.", +"id": "AdBlockingConfiguration", +"properties": { +"enabled": { +"description": "Whether this campaign has enabled ad blocking. When true, ad blocking is enabled for placements in the campaign, but this may be overridden by site and placement settings. When false, ad blocking is disabled for all placements under the campaign, regardless of site and placement settings.", +"type": "boolean" +} +}, +"type": "object" +}, +"AdsListResponse": { +"description": "Ad List Response", +"id": "AdsListResponse", +"properties": { +"ads": { +"description": "Ad collection.", +"items": { +"$ref": "Ad" +}, +"type": "array" +}, +"kind": { +"description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#adsListResponse\".", +"type": "string" +}, +"nextPageToken": { +"description": "Pagination token to be used for the next list operation.", +"type": "string" +} +}, +"type": "object" +}, +"Advertiser": { +"description": "Contains properties of a Campaign Manager advertiser.", +"id": "Advertiser", +"properties": { +"accountId": { +"description": "Account ID of this advertiser.This is a read-only field that can be left blank.", +"format": "int64", +"type": "string" +}, +"advertiserGroupId": { +"description": "ID of the advertiser group this advertiser belongs to. You can group advertisers for reporting purposes, allowing you to see aggregated information for all advertisers in each group.", +"format": "int64", +"type": "string" +}, +"clickThroughUrlSuffix": { +"description": "Suffix added to click-through URL of ad creative associations under this advertiser. Must be less than 129 characters long.", +"type": "string" +}, +"defaultClickThroughEventTagId": { +"description": "ID of the click-through event tag to apply by default to the landing pages of this advertiser's campaigns.", +"format": "int64", +"type": "string" +}, +"defaultEmail": { +"description": "Default email address used in sender field for tag emails.", +"type": "string" +}, +"euPoliticalAdsDeclaration": { +"description": "Optional. Whether the advertiser plans to serve EU political ads.", +"enum": [ +"ADVERTISER_PLANS_TO_SERVE_EU_POLITICAL_ADS", +"ADVERTISER_DOES_NOT_PLAN_TO_SERVE_EU_POLITICAL_ADS" +], +"enumDescriptions": [ +"You'll need to confirm if your campaign contains EU political advertising.", +"All new campaigns will have \u201cNo\u201d selected for the question that asks if your campaign has EU political ads. You can change this for any campaign at any time." +], +"type": "string" +}, +"floodlightConfigurationId": { +"description": "Floodlight configuration ID of this advertiser. The floodlight configuration ID will be created automatically, so on insert this field should be left blank. This field can be set to another advertiser's floodlight configuration ID in order to share that advertiser's floodlight configuration with this advertiser, so long as: - This advertiser's original floodlight configuration is not already associated with floodlight activities or floodlight activity groups. - This advertiser's original floodlight configuration is not already shared with another advertiser. ", +"format": "int64", +"type": "string" +}, +"floodlightConfigurationIdDimensionValue": { +"$ref": "DimensionValue", +"description": "Dimension value for the ID of the floodlight configuration. This is a read-only, auto-generated field." +}, +"id": { +"description": "ID of this advertiser. This is a read-only, auto-generated field.", +"format": "int64", +"type": "string" +}, +"idDimensionValue": { +"$ref": "DimensionValue", +"description": "Dimension value for the ID of this advertiser. This is a read-only, auto-generated field." +}, +"kind": { +"description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#advertiser\".", +"type": "string" +}, +"measurementPartnerLink": { +"$ref": "MeasurementPartnerAdvertiserLink", +"description": "Measurement partner advertiser link for tag wrapping." +}, +"name": { +"description": "Name of this advertiser. This is a required field and must be less than 256 characters long and unique among advertisers of the same account.", +"type": "string" +}, +"originalFloodlightConfigurationId": { +"description": "Original floodlight configuration before any sharing occurred. Set the floodlightConfigurationId of this advertiser to originalFloodlightConfigurationId to unshare the advertiser's current floodlight configuration. You cannot unshare an advertiser's floodlight configuration if the shared configuration has activities associated with any campaign or placement.", +"format": "int64", +"type": "string" +}, +"status": { +"description": "Status of this advertiser.", +"enum": [ +"APPROVED", +"ON_HOLD" +], +"enumDescriptions": [ +"Approved (ads can deliver)", +"On-hold (all ads are stopped)" +], +"type": "string" +}, +"subaccountId": { +"description": "Subaccount ID of this advertiser.This is a read-only field that can be left blank.", +"format": "int64", +"type": "string" +}, +"suspended": { +"description": "Suspension status of this advertiser.", +"type": "boolean" +} +}, +"type": "object" +}, +"AdvertiserGroup": { +"description": "Groups advertisers together so that reports can be generated for the entire group at once.", +"id": "AdvertiserGroup", +"properties": { +"accountId": { +"description": "Account ID of this advertiser group. This is a read-only field that can be left blank.", +"format": "int64", +"type": "string" +}, +"id": { +"description": "ID of this advertiser group. This is a read-only, auto-generated field.", +"format": "int64", +"type": "string" +}, +"kind": { +"description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#advertiserGroup\".", +"type": "string" +}, +"name": { +"description": "Name of this advertiser group. This is a required field and must be less than 256 characters long and unique among advertiser groups of the same account.", +"type": "string" +} +}, +"type": "object" +}, +"AdvertiserGroupsListResponse": { +"description": "Advertiser Group List Response", +"id": "AdvertiserGroupsListResponse", +"properties": { +"advertiserGroups": { +"description": "Advertiser group collection.", +"items": { +"$ref": "AdvertiserGroup" +}, +"type": "array" +}, +"kind": { +"description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#advertiserGroupsListResponse\".", +"type": "string" +}, +"nextPageToken": { +"description": "Pagination token to be used for the next list operation.", +"type": "string" +} +}, +"type": "object" +}, +"AdvertiserInvoicesListResponse": { +"description": "Invoice List Response", +"id": "AdvertiserInvoicesListResponse", +"properties": { +"invoices": { +"description": "Invoice collection", +"items": { +"$ref": "Invoice" +}, +"type": "array" +}, +"kind": { +"description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#advertiserInvoicesListResponse\".", +"type": "string" +}, +"nextPageToken": { +"description": "Pagination token to be used for the next list operation.", +"type": "string" +} +}, +"type": "object" +}, +"AdvertiserLandingPagesListResponse": { +"description": "Landing Page List Response", +"id": "AdvertiserLandingPagesListResponse", +"properties": { +"kind": { +"description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#advertiserLandingPagesListResponse\".", +"type": "string" +}, +"landingPages": { +"description": "Landing page collection", +"items": { +"$ref": "LandingPage" +}, +"type": "array" +}, +"nextPageToken": { +"description": "Pagination token to be used for the next list operation.", +"type": "string" +} +}, +"type": "object" +}, +"AdvertisersListResponse": { +"description": "Advertiser List Response", +"id": "AdvertisersListResponse", +"properties": { +"advertisers": { +"description": "Advertiser collection.", +"items": { +"$ref": "Advertiser" +}, +"type": "array" +}, +"kind": { +"description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#advertisersListResponse\".", +"type": "string" +}, +"nextPageToken": { +"description": "Pagination token to be used for the next list operation.", +"type": "string" +} +}, +"type": "object" +}, +"AudienceSegment": { +"description": "Audience Segment.", +"id": "AudienceSegment", +"properties": { +"allocation": { +"description": "Weight allocated to this segment. The weight assigned will be understood in proportion to the weights assigned to other segments in the same segment group. Acceptable values are 1 to 1000, inclusive.", +"format": "int32", +"type": "integer" +}, +"id": { +"description": "ID of this audience segment. This is a read-only, auto-generated field.", +"format": "int64", +"type": "string" +}, +"name": { +"description": "Name of this audience segment. This is a required field and must be less than 65 characters long.", +"type": "string" +} +}, +"type": "object" +}, +"AudienceSegmentGroup": { +"description": "Audience Segment Group.", +"id": "AudienceSegmentGroup", +"properties": { +"audienceSegments": { +"description": "Audience segments assigned to this group. The number of segments must be between 2 and 100.", +"items": { +"$ref": "AudienceSegment" +}, +"type": "array" +}, +"id": { +"description": "ID of this audience segment group. This is a read-only, auto-generated field.", +"format": "int64", +"type": "string" +}, +"name": { +"description": "Name of this audience segment group. This is a required field and must be less than 65 characters long.", +"type": "string" +} +}, +"type": "object" +}, +"BillingAssignment": { +"description": "List account, subaccount, advertiser, and campaign associated with a given Billing Profile.", +"id": "BillingAssignment", +"properties": { +"accountId": { +"description": "ID of the account associated with the billing assignment.This is a read-only, auto-generated field.", +"type": "string" +}, +"advertiserId": { +"description": "ID of the advertiser associated with the billing assignment.Wildcard (*) means this assignment is not limited to a single advertiser", +"type": "string" +}, +"campaignId": { +"description": "ID of the campaign associated with the billing assignment. Wildcard (*) means this assignment is not limited to a single campaign", +"type": "string" +}, +"kind": { +"description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#billingAssignment\".", +"type": "string" +}, +"subaccountId": { +"description": "ID of the subaccount associated with the billing assignment.Wildcard (*) means this assignment is not limited to a single subaccountThis is a read-only, auto-generated field.", +"type": "string" +} +}, +"type": "object" +}, +"BillingAssignmentsListResponse": { +"description": "Billing assignment List Response", +"id": "BillingAssignmentsListResponse", +"properties": { +"billingAssignments": { +"description": "Billing assignments collection.", +"items": { +"$ref": "BillingAssignment" +}, +"type": "array" +}, +"kind": { +"description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#billingAssignmentsListResponse\".", +"type": "string" +} +}, +"type": "object" +}, +"BillingProfile": { +"description": "Contains properties of a Campaign Manager Billing Profile.", +"id": "BillingProfile", +"properties": { +"consolidatedInvoice": { +"description": "Consolidated invoice option for this billing profile. Used to get a single, consolidated invoice across the chosen invoice level.", +"type": "boolean" +}, +"countryCode": { +"description": "Country code of this billing profile.This is a read-only field.", +"type": "string" +}, +"currencyCode": { +"description": "Billing currency code in ISO 4217 format.This is a read-only field.", +"type": "string" +}, +"id": { +"description": "ID of this billing profile. This is a read-only, auto-generated field.", +"format": "int64", +"type": "string" +}, +"invoiceLevel": { +"description": "Invoice level for this billing profile. Used to group fees into separate invoices by account, advertiser, or campaign.", +"enum": [ +"ACCOUNT_LEVEL", +"ADVERTISER_LEVEL", +"CAMPAIGN_LEVEL" +], +"enumDescriptions": [ +"", +"", +"" +], +"type": "string" +}, +"isDefault": { +"description": "True if the billing profile is the account default profile. This is a read-only field.", +"type": "boolean" +}, +"kind": { +"description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#billingProfile\".", +"type": "string" +}, +"name": { +"description": "Name of this billing profile. This is a required field and must be less than 256 characters long and must be unique among billing profile in the same account.", +"type": "string" +}, +"paymentsAccountId": { +"description": "The ID of the payment account the billing profile belongs to. This is a read-only field.", +"type": "string" +}, +"paymentsCustomerId": { +"description": "The ID of the payment customer the billing profile belongs to. This is a read-only field.", +"type": "string" +}, +"purchaseOrder": { +"description": "Purchase order (PO) for this billing profile. This PO number is used in the invoices for all of the advertisers in this billing profile.", +"type": "string" +}, +"secondaryPaymentsCustomerId": { +"description": "The ID of the secondary payment customer the billing profile belongs to. This is a read-only field.", +"type": "string" +}, +"status": { +"description": "Status of this billing profile.This is a read-only field.", +"enum": [ +"UNDER_REVIEW", +"ACTIVE", +"ARCHIVED" +], +"enumDescriptions": [ +"", +"", +"" +], +"type": "string" +} +}, +"type": "object" +}, +"BillingProfilesListResponse": { +"description": "Billing profile List Response", +"id": "BillingProfilesListResponse", +"properties": { +"billingProfiles": { +"description": "Billing profiles collection.", +"items": { +"$ref": "BillingProfile" +}, +"type": "array" +}, +"kind": { +"description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#billingProfilesListResponse\".", +"type": "string" +}, +"nextPageToken": { +"description": "Pagination token to be used for the next list operation.", +"type": "string" +} +}, +"type": "object" +}, +"BillingRate": { +"id": "BillingRate", +"properties": { +"currencyCode": { +"description": "Billing currency code in ISO 4217 format.", +"type": "string" +}, +"endDate": { +"description": "End date of this billing rate.", +"type": "string" +}, +"id": { +"description": "ID of this billing rate.", +"format": "int64", +"type": "string" +}, +"name": { +"description": "Name of this billing rate. This must be less than 256 characters long.", +"type": "string" +}, +"rateInMicros": { +"description": "Flat rate in micros of this billing rate. This cannot co-exist with tiered rate.", +"format": "int64", +"type": "string" +}, +"startDate": { +"description": "Start date of this billing rate.", +"type": "string" +}, +"tieredRates": { +"description": "Tiered rate of this billing rate. This cannot co-exist with flat rate.", +"items": { +"$ref": "BillingRateTieredRate" +}, +"type": "array" +}, +"type": { +"description": "Type of this billing rate.", +"enum": [ +"AD_SERVING", +"CLICKS", +"MINIMUM_SERVICE", +"PATH_TO_CONVERSION", +"RICH_MEDIA_INPAGE", +"RICH_MEDIA_EXPANDING", +"RICH_MEDIA_FLOATING", +"RICH_MEDIA_VIDEO", +"RICH_MEDIA_TEASER", +"RICH_MEDIA_VPAID", +"INSTREAM_VIDEO", +"PIXEL", +"TRACKING", +"TRAFFICKING_FEATURE", +"CUSTOM_REPORTS", +"EXPOSURE_TO_CONVERSION", +"DATA_TRANSFER", +"DATA_TRANSFER_SETUP", +"STARTUP", +"STATEMENT_OF_WORK", +"PROVIDED_LIST", +"PROVIDED_LIST_SETUP", +"ENHANCED_FORMATS", +"TRACKING_AD_IMPRESSIONS", +"TRACKING_AD_CLICKS", +"NIELSEN_DIGITAL_AD_RATINGS_FEE", +"INSTREAM_VIDEO_REDIRECT", +"INSTREAM_VIDEO_VPAID", +"DISPLAY_AD_SERVING", +"VIDEO_AD_SERVING", +"AUDIO_AD_SERVING", +"ADVANCED_DISPLAY_AD_SERVING" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"" +], +"type": "string" +}, +"unitOfMeasure": { +"description": "Unit of measure for this billing rate.", +"enum": [ +"CPM", +"CPC", +"EA", +"P2C" +], +"enumDescriptions": [ +"", +"", +"", +"" +], +"type": "string" +} +}, +"type": "object" +}, +"BillingRateTieredRate": { +"id": "BillingRateTieredRate", +"properties": { +"highValue": { +"description": "The maximum for this tier range.", +"format": "int64", +"type": "string" +}, +"lowValue": { +"description": "The minimum for this tier range.", +"format": "int64", +"type": "string" +}, +"rateInMicros": { +"description": "Rate in micros for this tier.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"BillingRatesListResponse": { +"description": "Billing Rate List Response", +"id": "BillingRatesListResponse", +"properties": { +"billingRates": { +"description": "Billing rates collection.", +"items": { +"$ref": "BillingRate" +}, +"type": "array" +}, +"kind": { +"description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#billingRatesListResponse\".", +"type": "string" +}, +"nextPageToken": { +"description": "Pagination token to be used for the next list operation.", +"type": "string" +} +}, +"type": "object" +}, +"Browser": { +"description": "Contains information about a browser that can be targeted by ads.", +"id": "Browser", +"properties": { +"browserVersionId": { +"description": "ID referring to this grouping of browser and version numbers. This is the ID used for targeting.", +"format": "int64", +"type": "string" +}, +"dartId": { +"description": "DART ID of this browser. This is the ID used when generating reports.", +"format": "int64", +"type": "string" +}, +"kind": { +"description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#browser\".", +"type": "string" +}, +"majorVersion": { +"description": "Major version number (leftmost number) of this browser. For example, for Chrome 5.0.376.86 beta, this field should be set to 5. An asterisk (*) may be used to target any version number, and a question mark (?) may be used to target cases where the version number cannot be identified. For example, Chrome *.* targets any version of Chrome: 1.2, 2.5, 3.5, and so on. Chrome 3.* targets Chrome 3.1, 3.5, but not 4.0. Firefox ?.? targets cases where the ad server knows the browser is Firefox but can't tell which version it is.", +"type": "string" +}, +"minorVersion": { +"description": "Minor version number (number after first dot on left) of this browser. For example, for Chrome 5.0.375.86 beta, this field should be set to 0. An asterisk (*) may be used to target any version number, and a question mark (?) may be used to target cases where the version number cannot be identified. For example, Chrome *.* targets any version of Chrome: 1.2, 2.5, 3.5, and so on. Chrome 3.* targets Chrome 3.1, 3.5, but not 4.0. Firefox ?.? targets cases where the ad server knows the browser is Firefox but can't tell which version it is.", +"type": "string" +}, +"name": { +"description": "Name of this browser.", +"type": "string" +} +}, +"type": "object" +}, +"BrowsersListResponse": { +"description": "Browser List Response", +"id": "BrowsersListResponse", +"properties": { +"browsers": { +"description": "Browser collection.", +"items": { +"$ref": "Browser" +}, +"type": "array" +}, +"kind": { +"description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#browsersListResponse\".", +"type": "string" +} +}, +"type": "object" +}, +"Campaign": { +"description": "Contains properties of a Campaign Manager campaign.", +"id": "Campaign", +"properties": { +"accountId": { +"description": "Account ID of this campaign. This is a read-only field that can be left blank.", +"format": "int64", +"type": "string" +}, +"adBlockingConfiguration": { +"$ref": "AdBlockingConfiguration", +"description": "Ad blocking settings for this campaign." +}, +"additionalCreativeOptimizationConfigurations": { +"description": "Additional creative optimization configurations for the campaign.", +"items": { +"$ref": "CreativeOptimizationConfiguration" +}, +"type": "array" +}, +"advertiserGroupId": { +"description": "Advertiser group ID of the associated advertiser.", +"format": "int64", +"type": "string" +}, +"advertiserId": { +"description": "Advertiser ID of this campaign. This is a required field.", +"format": "int64", +"type": "string" +}, +"advertiserIdDimensionValue": { +"$ref": "DimensionValue", +"description": "Dimension value for the advertiser ID of this campaign. This is a read-only, auto-generated field." +}, +"archived": { +"description": "Whether this campaign has been archived.", +"type": "boolean" +}, +"audienceSegmentGroups": { +"description": "Audience segment groups assigned to this campaign. Cannot have more than 300 segment groups.", +"items": { +"$ref": "AudienceSegmentGroup" +}, +"type": "array" +}, +"billingInvoiceCode": { +"description": "Billing invoice code included in the Campaign Manager client billing invoices associated with the campaign.", +"type": "string" +}, +"clickThroughUrlSuffixProperties": { +"$ref": "ClickThroughUrlSuffixProperties", +"description": "Click-through URL suffix override properties for this campaign." +}, +"comment": { +"description": "Arbitrary comments about this campaign. Must be less than 256 characters long.", +"type": "string" +}, +"createInfo": { +"$ref": "LastModifiedInfo", +"description": "Information about the creation of this campaign. This is a read-only field." +}, +"creativeGroupIds": { +"description": "List of creative group IDs that are assigned to the campaign.", +"items": { +"format": "int64", +"type": "string" +}, +"type": "array" +}, +"creativeOptimizationConfiguration": { +"$ref": "CreativeOptimizationConfiguration", +"description": "Creative optimization configuration for the campaign." +}, +"defaultClickThroughEventTagProperties": { +"$ref": "DefaultClickThroughEventTagProperties", +"description": "Click-through event tag ID override properties for this campaign." +}, +"defaultLandingPageId": { +"description": "The default landing page ID for this campaign.", +"format": "int64", +"type": "string" +}, +"endDate": { +"format": "date", +"type": "string" +}, +"euPoliticalAdsDeclaration": { +"description": "Optional. Whether the campaign has EU political ads. Campaign Manager 360 doesn't allow campaigns with EU political ads to serve in the EU. They can still serve in other regions.", +"enum": [ +"CONTAINS_EU_POLITICAL_ADS", +"DOES_NOT_CONTAIN_EU_POLITICAL_ADS" +], +"enumDescriptions": [ +"The campaign contains EU political ads.", +"The campaign does not contain EU political ads." +], +"type": "string" +}, +"eventTagOverrides": { +"description": "Overrides that can be used to activate or deactivate advertiser event tags.", +"items": { +"$ref": "EventTagOverride" +}, +"type": "array" +}, +"externalId": { +"description": "External ID for this campaign.", +"type": "string" +}, +"id": { +"description": "ID of this campaign. This is a read-only auto-generated field.", +"format": "int64", +"type": "string" +}, +"idDimensionValue": { +"$ref": "DimensionValue", +"description": "Dimension value for the ID of this campaign. This is a read-only, auto-generated field." +}, +"kind": { +"description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#campaign\".", +"type": "string" +}, +"lastModifiedInfo": { +"$ref": "LastModifiedInfo", +"description": "Information about the most recent modification of this campaign. This is a read-only field." +}, +"measurementPartnerLink": { +"$ref": "MeasurementPartnerCampaignLink", +"description": "Measurement partner campaign link for tag wrapping." +}, +"name": { +"description": "Name of this campaign. This is a required field and must be less than 512 characters long and unique among campaigns of the same advertiser.", +"type": "string" +}, +"startDate": { +"format": "date", +"type": "string" +}, +"subaccountId": { +"description": "Subaccount ID of this campaign. This is a read-only field that can be left blank.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"CampaignCreativeAssociation": { +"description": "Identifies a creative which has been associated with a given campaign.", +"id": "CampaignCreativeAssociation", +"properties": { +"creativeId": { +"description": "ID of the creative associated with the campaign. This is a required field.", +"format": "int64", +"type": "string" +}, +"kind": { +"description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#campaignCreativeAssociation\".", +"type": "string" +} +}, +"type": "object" +}, +"CampaignCreativeAssociationsListResponse": { +"description": "Campaign Creative Association List Response", +"id": "CampaignCreativeAssociationsListResponse", +"properties": { +"campaignCreativeAssociations": { +"description": "Campaign creative association collection", +"items": { +"$ref": "CampaignCreativeAssociation" +}, +"type": "array" +}, +"kind": { +"description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#campaignCreativeAssociationsListResponse\".", +"type": "string" +}, +"nextPageToken": { +"description": "Pagination token to be used for the next list operation.", +"type": "string" +} +}, +"type": "object" +}, +"CampaignSummary": { +"description": "Represents a summarized campaign information associated with this invoice.", +"id": "CampaignSummary", +"properties": { +"billingInvoiceCode": { +"description": "Campaign billing invoice code.", +"type": "string" +}, +"campaignId": { +"description": "Campaign ID.", +"format": "int64", +"type": "string" +}, +"preTaxAmountMicros": { +"description": "The pre-tax amount for this campaign, in micros of the invoice's currency.", +"format": "int64", +"type": "string" +}, +"taxAmountMicros": { +"description": "The tax amount for this campaign, in micros of the invoice's currency.", +"format": "int64", +"type": "string" +}, +"totalAmountMicros": { +"description": "The total amount of charges for this campaign, in micros of the invoice's currency.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"CampaignsListResponse": { +"description": "Campaign List Response", +"id": "CampaignsListResponse", +"properties": { +"campaigns": { +"description": "Campaign collection.", +"items": { +"$ref": "Campaign" +}, +"type": "array" +}, +"kind": { +"description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#campaignsListResponse\".", +"type": "string" +}, +"nextPageToken": { +"description": "Pagination token to be used for the next list operation.", +"type": "string" +} +}, +"type": "object" +}, +"CartData": { +"description": "Contains additional information about cart data. This field may only be used when calling batchinsert; it is not supported by batchupdate. Cart data reporting is only supported in SA360. [Learn more](https://support.google.com/sa360/topic/13425788)", +"id": "CartData", +"properties": { +"items": { +"description": "Data of the items purchased.", +"items": { +"$ref": "CartDataItem" +}, +"type": "array" +}, +"merchantFeedLabel": { +"description": "The feed labels associated with the feed where your items are uploaded. For more information, please refer to \u200b\u200b https://support.google.com/merchants/answer/12453549. Providing the feed label reduces ambiguity in identifying the right offer details.", +"type": "string" +}, +"merchantFeedLanguage": { +"description": "The language associated with the feed where your items are uploaded. Use ISO 639-1 language codes. Providing the feed language reduces ambiguity in identifying the right offer details.", +"type": "string" +}, +"merchantId": { +"description": "The Merchant Center ID where the items are uploaded. Providing Merchant Center ID reduces ambiguity in identifying the right offer details.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"CartDataItem": { +"description": "Contains data of the items purchased.", +"id": "CartDataItem", +"properties": { +"itemId": { +"description": "The shopping id of the item. Must be equal to the Merchant Center product identifier. This is a required field.", +"type": "string" +}, +"quantity": { +"description": "Number of items sold. This is a required field.", +"format": "int32", +"type": "integer" +}, +"unitPrice": { +"description": "Unit price excluding tax, shipping, and any transaction level discounts. Interpreted in CM360 Floodlight config parent advertiser's currency code. This is a required field.", +"format": "double", +"type": "number" +} +}, +"type": "object" +}, +"ChangeLog": { +"description": "Describes a change that a user has made to a resource.", +"id": "ChangeLog", +"properties": { +"accountId": { +"description": "Account ID of the modified object.", +"format": "int64", +"type": "string" +}, +"action": { +"description": "Action which caused the change.", +"type": "string" +}, +"changeTime": { +"format": "date-time", +"type": "string" +}, +"fieldName": { +"description": "Field name of the object which changed.", +"type": "string" +}, +"id": { +"description": "ID of this change log.", +"format": "int64", +"type": "string" +}, +"kind": { +"description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#changeLog\".", +"type": "string" +}, +"newValue": { +"description": "New value of the object field.", +"type": "string" +}, +"objectId": { +"description": "ID of the object of this change log. The object could be a campaign, placement, ad, or other type.", +"format": "int64", +"type": "string" +}, +"objectType": { +"description": "Object type of the change log.", +"type": "string" +}, +"oldValue": { +"description": "Old value of the object field.", +"type": "string" +}, +"subaccountId": { +"description": "Subaccount ID of the modified object.", +"format": "int64", +"type": "string" +}, +"transactionId": { +"description": "Transaction ID of this change log. When a single API call results in many changes, each change will have a separate ID in the change log but will share the same transactionId.", +"format": "int64", +"type": "string" +}, +"userProfileId": { +"description": "ID of the user who modified the object.", +"format": "int64", +"type": "string" +}, +"userProfileName": { +"description": "User profile name of the user who modified the object.", +"type": "string" +} +}, +"type": "object" +}, +"ChangeLogsListResponse": { +"description": "Change Log List Response", +"id": "ChangeLogsListResponse", +"properties": { +"changeLogs": { +"description": "Change log collection.", +"items": { +"$ref": "ChangeLog" +}, +"type": "array" +}, +"kind": { +"description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#changeLogsListResponse\".", +"type": "string" +}, +"nextPageToken": { +"description": "Pagination token to be used for the next list operation.", +"type": "string" +} +}, +"type": "object" +}, +"CitiesListResponse": { +"description": "City List Response", +"id": "CitiesListResponse", +"properties": { +"cities": { +"description": "City collection.", +"items": { +"$ref": "City" +}, +"type": "array" +}, +"kind": { +"description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#citiesListResponse\".", +"type": "string" +} +}, +"type": "object" +}, +"City": { +"description": "Contains information about a city that can be targeted by ads.", +"id": "City", +"properties": { +"countryCode": { +"description": "Country code of the country to which this city belongs.", +"type": "string" +}, +"countryDartId": { +"description": "DART ID of the country to which this city belongs.", +"format": "int64", +"type": "string" +}, +"dartId": { +"description": "DART ID of this city. This is the ID used for targeting and generating reports.", +"format": "int64", +"type": "string" +}, +"kind": { +"description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#city\".", +"type": "string" +}, +"metroCode": { +"description": "Metro region code of the metro region (DMA) to which this city belongs.", +"type": "string" +}, +"metroDmaId": { +"description": "ID of the metro region (DMA) to which this city belongs.", +"format": "int64", +"type": "string" +}, +"name": { +"description": "Name of this city.", +"type": "string" +}, +"regionCode": { +"description": "Region code of the region to which this city belongs.", +"type": "string" +}, +"regionDartId": { +"description": "DART ID of the region to which this city belongs.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"ClickTag": { +"description": "Creative Click Tag.", +"id": "ClickTag", +"properties": { +"clickThroughUrl": { +"$ref": "CreativeClickThroughUrl", +"description": "Parameter value for the specified click tag. This field contains a click-through url." +}, +"eventName": { +"description": "Advertiser event name associated with the click tag. This field is used by DISPLAY_IMAGE_GALLERY and HTML5_BANNER creatives. Applicable to DISPLAY when the primary asset type is not HTML_IMAGE.", +"type": "string" +}, +"name": { +"description": "Parameter name for the specified click tag. For DISPLAY_IMAGE_GALLERY creative assets, this field must match the value of the creative asset's creativeAssetId.name field.", +"type": "string" +} +}, +"type": "object" +}, +"ClickThroughUrl": { +"description": "Click-through URL", +"id": "ClickThroughUrl", +"properties": { +"computedClickThroughUrl": { +"description": "Read-only convenience field representing the actual URL that will be used for this click-through. The URL is computed as follows: - If defaultLandingPage is enabled then the campaign's default landing page URL is assigned to this field. - If defaultLandingPage is not enabled and a landingPageId is specified then that landing page's URL is assigned to this field. - If neither of the above cases apply, then the customClickThroughUrl is assigned to this field. ", +"type": "string" +}, +"customClickThroughUrl": { +"description": "Custom click-through URL. Applicable if the defaultLandingPage field is set to false and the landingPageId field is left unset.", +"type": "string" +}, +"defaultLandingPage": { +"description": "Whether the campaign default landing page is used.", +"type": "boolean" +}, +"landingPageId": { +"description": "ID of the landing page for the click-through URL. Applicable if the defaultLandingPage field is set to false.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"ClickThroughUrlSuffixProperties": { +"description": "Click Through URL Suffix settings.", +"id": "ClickThroughUrlSuffixProperties", +"properties": { +"clickThroughUrlSuffix": { +"description": "Click-through URL suffix to apply to all ads in this entity's scope. Must be less than 128 characters long.", +"type": "string" +}, +"overrideInheritedSuffix": { +"description": "Whether this entity should override the inherited click-through URL suffix with its own defined value.", +"type": "boolean" +} +}, +"type": "object" +}, +"CompanionClickThroughOverride": { +"description": "Companion Click-through override.", +"id": "CompanionClickThroughOverride", +"properties": { +"clickThroughUrl": { +"$ref": "ClickThroughUrl", +"description": "Click-through URL of this companion click-through override." +}, +"creativeId": { +"description": "ID of the creative for this companion click-through override.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"CompanionSetting": { +"description": "Companion Settings", +"id": "CompanionSetting", +"properties": { +"companionsDisabled": { +"description": "Whether companions are disabled for this placement.", +"type": "boolean" +}, +"enabledSizes": { +"description": "Allowlist of companion sizes to be served to this placement. Set this list to null or empty to serve all companion sizes.", +"items": { +"$ref": "Size" +}, +"type": "array" +}, +"imageOnly": { +"description": "Whether to serve only static images as companions.", +"type": "boolean" +}, +"kind": { +"description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#companionSetting\".", +"type": "string" +} +}, +"type": "object" +}, +"CompatibleFields": { +"description": "Represents a response to the queryCompatibleFields method. Next ID: 10", +"id": "CompatibleFields", +"properties": { +"crossDimensionReachReportCompatibleFields": { +"$ref": "CrossDimensionReachReportCompatibleFields", +"description": "Contains items that are compatible to be selected for a report of type \"CROSS_DIMENSION_REACH\"." +}, +"crossMediaReachReportCompatibleFields": { +"$ref": "CrossMediaReachReportCompatibleFields", +"description": "Contains items that are compatible to be selected for a report of type \"CROSS_MEDIA_REACH\"." +}, +"floodlightReportCompatibleFields": { +"$ref": "FloodlightReportCompatibleFields", +"description": "Contains items that are compatible to be selected for a report of type \"FLOODLIGHT\"." +}, +"kind": { +"description": "The kind of resource this is, in this case dfareporting#compatibleFields.", +"type": "string" +}, +"pathToConversionReportCompatibleFields": { +"$ref": "PathToConversionReportCompatibleFields", +"description": "Contains items that are compatible to be selected for a report of type \"PATH_TO_CONVERSION\"." +}, +"reachReportCompatibleFields": { +"$ref": "ReachReportCompatibleFields", +"description": "Contains items that are compatible to be selected for a report of type \"REACH\"." +}, +"reportCompatibleFields": { +"$ref": "ReportCompatibleFields", +"description": "Contains items that are compatible to be selected for a report of type \"STANDARD\"." +} +}, +"type": "object" +}, +"ConnectionType": { +"description": "Contains information about an internet connection type that can be targeted by ads. Clients can use the connection type to target mobile vs. broadband users.", +"id": "ConnectionType", +"properties": { +"id": { +"description": "ID of this connection type.", +"format": "int64", +"type": "string" +}, +"kind": { +"description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#connectionType\".", +"type": "string" +}, +"name": { +"description": "Name of this connection type.", +"type": "string" +} +}, +"type": "object" +}, +"ConnectionTypesListResponse": { +"description": "Connection Type List Response", +"id": "ConnectionTypesListResponse", +"properties": { +"connectionTypes": { +"description": "Collection of connection types such as broadband and mobile.", +"items": { +"$ref": "ConnectionType" +}, +"type": "array" +}, +"kind": { +"description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#connectionTypesListResponse\".", +"type": "string" +} +}, +"type": "object" +}, +"ContentCategoriesListResponse": { +"description": "Content Category List Response", +"id": "ContentCategoriesListResponse", +"properties": { +"contentCategories": { +"description": "Content category collection.", +"items": { +"$ref": "ContentCategory" +}, +"type": "array" +}, +"kind": { +"description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#contentCategoriesListResponse\".", +"type": "string" +}, +"nextPageToken": { +"description": "Pagination token to be used for the next list operation.", +"type": "string" +} +}, +"type": "object" +}, +"ContentCategory": { +"id": "ContentCategory", +"properties": { +"accountId": { +"description": "Account ID of this content category. This is a read-only field that can be left blank.", +"format": "int64", +"type": "string" +}, +"id": { +"description": "ID of this content category. This is a read-only, auto-generated field.", +"format": "int64", +"type": "string" +}, +"kind": { +"description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#contentCategory\".", +"type": "string" +}, +"name": { +"description": "Name of this content category. This is a required field and must be less than 256 characters long and unique among content categories of the same account.", +"type": "string" +} +}, +"type": "object" +}, +"ContentSource": { +"description": "Contains the content source of the dynamic feed.", +"id": "ContentSource", +"properties": { +"contentSourceName": { +"description": "Optional. The name of the content source. It is defaulted to content source file name if not provided.", +"type": "string" +}, +"createInfo": { +"$ref": "LastModifiedInfo", +"description": "Output only. The creation timestamp of the content source. This is a read-only field.", +"readOnly": true +}, +"lastModifiedInfo": { +"$ref": "LastModifiedInfo", +"description": "Output only. The last modified timestamp of the content source. This is a read-only field.", +"readOnly": true +}, +"metaData": { +"$ref": "ContentSourceMetaData", +"description": "Output only. Metadata of the content source. It contains the number of rows and the column names from resource link. This is a read-only field.", +"readOnly": true +}, +"resourceLink": { +"description": "Required. The link to the file of the content source.", +"type": "string" +}, +"resourceType": { +"description": "Required. The resource type of the content source.", +"enum": [ +"RESOURCE_TYPE_UNSPECIFIED", +"RESOURCE_TYPE_GOOGLE_SPREADSHEET", +"RESOURCE_TYPE_REMOTE_FILE" +], +"enumDescriptions": [ +"The resource type is unspecified.", +"The resource type is google spreadsheet.", +"The resource type is remote file." +], +"type": "string" +} +}, +"type": "object" +}, +"ContentSourceMetaData": { +"description": "Contains the meta data of the content source. This is a read-only field.", +"id": "ContentSourceMetaData", +"properties": { +"charset": { +"description": "Output only. The charset of the content source.", +"readOnly": true, +"type": "string" +}, +"fieldNames": { +"description": "Output only. The list of column names in the content source.", +"items": { +"type": "string" +}, +"readOnly": true, +"type": "array" +}, +"rowNumber": { +"description": "Output only. The number of rows in the content source.", +"format": "int32", +"readOnly": true, +"type": "integer" +}, +"separator": { +"description": "Output only. The separator of the content source.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"ContextualKeyword": { +"description": "Contains information about a Contextual Keyword that can be targeted by ads.", +"id": "ContextualKeyword", +"properties": { +"keyword": { +"description": "The keyword that can be targeted by ads.", +"type": "string" +} +}, +"type": "object" +}, +"ContextualKeywordTargeting": { +"description": "Contextual Keyword Targeting.", +"id": "ContextualKeywordTargeting", +"properties": { +"keywords": { +"description": "Contextual keywords that this ad targets", +"items": { +"$ref": "ContextualKeyword" +}, +"type": "array" +} +}, +"type": "object" +}, +"Conversion": { +"description": "A Conversion represents when a user successfully performs a desired action after seeing an ad.", +"id": "Conversion", +"properties": { +"adUserDataConsent": { +"description": "This represents consent for ad user data.", +"enum": [ +"GRANTED", +"DENIED" +], +"enumDescriptions": [ +"Granted.", +"Denied." +], +"type": "string" +}, +"cartData": { +"$ref": "CartData", +"description": "The cart data associated with this conversion." +}, +"childDirectedTreatment": { +"description": "Whether this particular request may come from a user under the age of 13, under COPPA compliance.", +"type": "boolean" +}, +"customVariables": { +"description": "Custom floodlight variables.", +"items": { +"$ref": "CustomFloodlightVariable" +}, +"type": "array" +}, +"dclid": { +"description": "The display click ID. This field is mutually exclusive with encryptedUserId, encryptedUserIdCandidates[], matchId, mobileDeviceId, gclid, and impressionId. This or encryptedUserId or encryptedUserIdCandidates[] or matchId or mobileDeviceId or gclid or impressionId is a required field.", +"type": "string" +}, +"encryptedUserId": { +"description": "The alphanumeric encrypted user ID. When set, encryptionInfo should also be specified. This field is mutually exclusive with encryptedUserIdCandidates[], matchId, mobileDeviceId, gclid, dclid, and impressionId. This or encryptedUserIdCandidates[] or matchId or mobileDeviceId or gclid or dclid or impressionId is a required field.", +"type": "string" +}, +"encryptedUserIdCandidates": { +"description": "A list of the alphanumeric encrypted user IDs. Any user ID with exposure prior to the conversion timestamp will be used in the inserted conversion. If no such user ID is found then the conversion will be rejected with INVALID_ARGUMENT error. When set, encryptionInfo should also be specified. This field may only be used when calling batchinsert; it is not supported by batchupdate. This field is mutually exclusive with encryptedUserId, matchId, mobileDeviceId, gclid dclid, and impressionId. This or encryptedUserId or matchId or mobileDeviceId or gclid or dclid or impressionId is a required field.", +"items": { +"type": "string" +}, +"type": "array" +}, +"floodlightActivityId": { +"description": "Floodlight Activity ID of this conversion. This is a required field.", +"format": "int64", +"type": "string" +}, +"floodlightConfigurationId": { +"description": "Floodlight Configuration ID of this conversion. This is a required field.", +"format": "int64", +"type": "string" +}, +"gclid": { +"description": "The Google click ID. This field is mutually exclusive with encryptedUserId, encryptedUserIdCandidates[], matchId, mobileDeviceId, dclid, and impressionId. This or encryptedUserId or encryptedUserIdCandidates[] or matchId or mobileDeviceId or dclid or impressionId is a required field.", +"type": "string" +}, +"impressionId": { +"description": "The impression ID. This field is mutually exclusive with encryptedUserId, encryptedUserIdCandidates[], matchId, mobileDeviceId, and gclid. One of these identifiers must be set.", +"type": "string" +}, +"kind": { +"description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#conversion\".", +"type": "string" +}, +"limitAdTracking": { +"description": "Whether Limit Ad Tracking is enabled. When set to true, the conversion will be used for reporting but not targeting. This will prevent remarketing.", +"type": "boolean" +}, +"matchId": { +"description": "The match ID field. A match ID is your own first-party identifier that has been synced with Google using the match ID feature in Floodlight. This field is mutually exclusive with encryptedUserId, encryptedUserIdCandidates[],mobileDeviceId, gclid, dclid, and impressionId. This or encryptedUserId orencryptedUserIdCandidates[] or mobileDeviceId or gclid or dclid or impressionIdis a required field.", +"type": "string" +}, +"mobileDeviceId": { +"description": "The mobile device ID. This field is mutually exclusive with encryptedUserId, encryptedUserIdCandidates[], matchId, gclid, dclid, and impressionId. This or encryptedUserId or encryptedUserIdCandidates[] or matchId or gclid or dclid or impressionId is a required field.", +"type": "string" +}, +"nonPersonalizedAd": { +"description": "Whether the conversion was for a non personalized ad.", +"type": "boolean" +}, +"ordinal": { +"description": "The ordinal of the conversion. Use this field to control how conversions of the same user and day are de-duplicated. This is a required field.", +"type": "string" +}, +"quantity": { +"description": "The quantity of the conversion. This is a required field.", +"format": "int64", +"type": "string" +}, +"sessionAttributesEncoded": { +"description": "Session attributes for the conversion, encoded as based64 bytes. This field may only be used when calling batchinsert; it is not supported by batchupdate.", +"format": "byte", +"type": "string" +}, +"timestampMicros": { +"description": "The timestamp of conversion, in Unix epoch micros. This is a required field.", +"format": "int64", +"type": "string" +}, +"treatmentForUnderage": { +"description": "Whether this particular request may come from a user under the age of 16 (may differ by country), under compliance with the European Union's General Data Protection Regulation (GDPR).", +"type": "boolean" +}, +"userIdentifiers": { +"description": "The user identifiers to enhance the conversion. The maximum number of user identifiers for each conversion is 5.", +"items": { +"$ref": "UserIdentifier" +}, +"type": "array" +}, +"value": { +"description": "The value of the conversion. Interpreted in CM360 Floodlight config parent advertiser's currency code. This is a required field.", +"format": "double", +"type": "number" +} +}, +"type": "object" +}, +"ConversionError": { +"description": "The error code and description for a conversion that failed to insert or update.", +"id": "ConversionError", +"properties": { +"code": { +"description": "The error code.", +"enum": [ +"INVALID_ARGUMENT", +"INTERNAL", +"PERMISSION_DENIED", +"NOT_FOUND" +], +"enumDescriptions": [ +"", +"", +"", +"" +], +"type": "string" +}, +"kind": { +"description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#conversionError\".", +"type": "string" +}, +"message": { +"description": "A description of the error.", +"type": "string" +} +}, +"type": "object" +}, +"ConversionStatus": { +"description": "The original conversion that was inserted or updated and whether there were any errors.", +"id": "ConversionStatus", +"properties": { +"conversion": { +"$ref": "Conversion", +"description": "The original conversion that was inserted or updated." +}, +"errors": { +"description": "A list of errors related to this conversion.", +"items": { +"$ref": "ConversionError" +}, +"type": "array" +}, +"kind": { +"description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#conversionStatus\".", +"type": "string" +} +}, +"type": "object" +}, +"ConversionsBatchInsertRequest": { +"description": "Insert Conversions Request.", +"id": "ConversionsBatchInsertRequest", +"properties": { +"conversions": { +"description": "The set of conversions to insert.", +"items": { +"$ref": "Conversion" +}, +"type": "array" +}, +"encryptionInfo": { +"$ref": "EncryptionInfo", +"description": "Describes how encryptedUserId or encryptedUserIdCandidates[] is encrypted. This is a required field if encryptedUserId or encryptedUserIdCandidates[] is used." +}, +"kind": { +"description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#conversionsBatchInsertRequest\".", +"type": "string" +} +}, +"type": "object" +}, +"ConversionsBatchInsertResponse": { +"description": "Insert Conversions Response.", +"id": "ConversionsBatchInsertResponse", +"properties": { +"hasFailures": { +"description": "Indicates that some or all conversions failed to insert.", +"type": "boolean" +}, +"kind": { +"description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#conversionsBatchInsertResponse\".", +"type": "string" +}, +"status": { +"description": "The insert status of each conversion. Statuses are returned in the same order that conversions are inserted.", +"items": { +"$ref": "ConversionStatus" +}, +"type": "array" +} +}, +"type": "object" +}, +"ConversionsBatchUpdateRequest": { +"description": "Update Conversions Request.", +"id": "ConversionsBatchUpdateRequest", +"properties": { +"conversions": { +"description": "The set of conversions to update.", +"items": { +"$ref": "Conversion" +}, +"type": "array" +}, +"encryptionInfo": { +"$ref": "EncryptionInfo", +"description": "Describes how encryptedUserId is encrypted. This is a required field if encryptedUserId is used." +}, +"kind": { +"description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#conversionsBatchUpdateRequest\".", +"type": "string" +} +}, +"type": "object" +}, +"ConversionsBatchUpdateResponse": { +"description": "Update Conversions Response.", +"id": "ConversionsBatchUpdateResponse", +"properties": { +"hasFailures": { +"description": "Indicates that some or all conversions failed to update.", +"type": "boolean" +}, +"kind": { +"description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#conversionsBatchUpdateResponse\".", +"type": "string" +}, +"status": { +"description": "The update status of each conversion. Statuses are returned in the same order that conversions are updated.", +"items": { +"$ref": "ConversionStatus" +}, +"type": "array" +} +}, +"type": "object" +}, +"CountriesListResponse": { +"description": "Country List Response", +"id": "CountriesListResponse", +"properties": { +"countries": { +"description": "Country collection.", +"items": { +"$ref": "Country" +}, +"type": "array" +}, +"kind": { +"description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#countriesListResponse\".", +"type": "string" +} +}, +"type": "object" +}, +"Country": { +"description": "Contains information about a country that can be targeted by ads.", +"id": "Country", +"properties": { +"countryCode": { +"description": "Country code.", +"type": "string" +}, +"dartId": { +"description": "DART ID of this country. This is the ID used for targeting and generating reports.", +"format": "int64", +"type": "string" +}, +"kind": { +"description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#country\".", +"type": "string" +}, +"name": { +"description": "Name of this country.", +"type": "string" +}, +"sslEnabled": { +"description": "Whether ad serving supports secure servers in this country.", +"type": "boolean" +}, +"tvDataProviders": { +"description": "Output only. The TV data providers supported in this country.", +"items": { +"enum": [ +"INVALID_TV_DATA_PROVIDER", +"IBOPE_AR", +"IBOPE_BR", +"IBOPE_CL", +"IBOPE_CO", +"TNS_VN", +"COMSCORE_NATIONAL_US", +"COMSCORE_CA", +"SAMBA_AU" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"", +"", +"", +"" +], +"type": "string" +}, +"readOnly": true, +"type": "array" +} +}, +"type": "object" +}, +"Creative": { +"description": "Contains properties of a Creative.", +"id": "Creative", +"properties": { +"accountId": { +"description": "Account ID of this creative. This field, if left unset, will be auto-generated for both insert and update operations. Applicable to all creative types.", +"format": "int64", +"type": "string" +}, +"active": { +"description": "Whether the creative is active. Applicable to all creative types.", +"type": "boolean" +}, +"adParameters": { +"description": "Ad parameters user for VPAID creative. This is a read-only field. Applicable to the following creative types: all VPAID.", +"type": "string" +}, +"adTagKeys": { +"description": "Keywords for a Rich Media creative. Keywords let you customize the creative settings of a Rich Media ad running on your site without having to contact the advertiser. You can use keywords to dynamically change the look or functionality of a creative. Applicable to the following creative types: all RICH_MEDIA, and all VPAID.", +"items": { +"type": "string" +}, +"type": "array" +}, +"additionalSizes": { +"description": "Additional sizes associated with a responsive creative. When inserting or updating a creative either the size ID field or size width and height fields can be used. Applicable to DISPLAY creatives when the primary asset type is HTML_IMAGE.", +"items": { +"$ref": "Size" +}, +"type": "array" +}, +"advertiserId": { +"description": "Required. Advertiser ID of this creative. This is a required field. Applicable to all creative types.", +"format": "int64", +"type": "string" +}, +"allowScriptAccess": { +"description": "Whether script access is allowed for this creative. This is a read-only and deprecated field which will automatically be set to true on update. Applicable to the following creative types: FLASH_INPAGE.", +"type": "boolean" +}, +"archived": { +"description": "Whether the creative is archived. Applicable to all creative types.", +"type": "boolean" +}, +"artworkType": { +"description": "Type of artwork used for the creative. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA, and all VPAID.", +"enum": [ +"ARTWORK_TYPE_FLASH", +"ARTWORK_TYPE_HTML5", +"ARTWORK_TYPE_MIXED", +"ARTWORK_TYPE_IMAGE" +], +"enumDescriptions": [ +"The creative is a Flash creative.", +"The creative is HTML5.", +"The creative is HTML5 if available, Flash otherwise.", +"The creative is Image." +], +"type": "string" +}, +"authoringSource": { +"description": "Source application where creative was authored. Presently, only DBM authored creatives will have this field set. Applicable to all creative types.", +"enum": [ +"CREATIVE_AUTHORING_SOURCE_DCM", +"CREATIVE_AUTHORING_SOURCE_DBM", +"CREATIVE_AUTHORING_SOURCE_STUDIO", +"CREATIVE_AUTHORING_SOURCE_GWD", +"CREATIVE_AUTHORING_SOURCE_ACS", +"CREATIVE_AUTHORING_SOURCE_ADOBE", +"CREATIVE_AUTHORING_SOURCE_TYPEFACE_AI", +"CREATIVE_AUTHORING_SOURCE_REMBRAND", +"CREATIVE_AUTHORING_SOURCE_TRACKTO_STUDIO", +"CREATIVE_AUTHORING_SOURCE_BORNLOGIC" +], +"enumDescriptions": [ +"DCM-UI or external API used to author the creative.", +"DBM-UI used to author the creative.", +"Studio-UI used to author the creative.", +"Google Web Designer used to author the creative.", +"ACS-UI used to author the creative.", +"Creative authoring source is Adobe.", +"Creative authoring source is Typeface.ai.", +"Creative authoring source is Rembrand.", +"Creative authoring source is Trackto.", +"Creative authoring source is Bornlogic." +], +"type": "string" +}, +"authoringTool": { +"description": "Authoring tool for HTML5 banner creatives. This is a read-only field. Applicable to the following creative types: HTML5_BANNER.", +"enum": [ +"NINJA", +"SWIFFY" +], +"enumDescriptions": [ +"", +"" +], +"type": "string" +}, +"autoAdvanceImages": { +"description": "Whether images are automatically advanced for image gallery creatives. Applicable to the following creative types: DISPLAY_IMAGE_GALLERY.", +"type": "boolean" +}, +"backgroundColor": { +"description": "The 6-character HTML color code, beginning with #, for the background of the window area where the Flash file is displayed. Default is white. Applicable to the following creative types: FLASH_INPAGE.", +"type": "string" +}, +"backupImageClickThroughUrl": { +"$ref": "CreativeClickThroughUrl", +"description": "Click-through URL for backup image. Applicable to ENHANCED_BANNER when the primary asset type is not HTML_IMAGE." +}, +"backupImageFeatures": { +"description": "List of feature dependencies that will cause a backup image to be served if the browser that serves the ad does not support them. Feature dependencies are features that a browser must be able to support in order to render your HTML5 creative asset correctly. This field is initially auto-generated to contain all features detected by Campaign Manager for all the assets of this creative and can then be modified by the client. To reset this field, copy over all the creativeAssets' detected features. Applicable to the following creative types: HTML5_BANNER. Applicable to DISPLAY when the primary asset type is not HTML_IMAGE.", +"items": { +"enum": [ +"CSS_FONT_FACE", +"CSS_BACKGROUND_SIZE", +"CSS_BORDER_IMAGE", +"CSS_BORDER_RADIUS", +"CSS_BOX_SHADOW", +"CSS_FLEX_BOX", +"CSS_HSLA", +"CSS_MULTIPLE_BGS", +"CSS_OPACITY", +"CSS_RGBA", +"CSS_TEXT_SHADOW", +"CSS_ANIMATIONS", +"CSS_COLUMNS", +"CSS_GENERATED_CONTENT", +"CSS_GRADIENTS", +"CSS_REFLECTIONS", +"CSS_TRANSFORMS", +"CSS_TRANSFORMS3D", +"CSS_TRANSITIONS", +"APPLICATION_CACHE", +"CANVAS", +"CANVAS_TEXT", +"DRAG_AND_DROP", +"HASH_CHANGE", +"HISTORY", +"AUDIO", +"VIDEO", +"INDEXED_DB", +"INPUT_ATTR_AUTOCOMPLETE", +"INPUT_ATTR_AUTOFOCUS", +"INPUT_ATTR_LIST", +"INPUT_ATTR_PLACEHOLDER", +"INPUT_ATTR_MAX", +"INPUT_ATTR_MIN", +"INPUT_ATTR_MULTIPLE", +"INPUT_ATTR_PATTERN", +"INPUT_ATTR_REQUIRED", +"INPUT_ATTR_STEP", +"INPUT_TYPE_SEARCH", +"INPUT_TYPE_TEL", +"INPUT_TYPE_URL", +"INPUT_TYPE_EMAIL", +"INPUT_TYPE_DATETIME", +"INPUT_TYPE_DATE", +"INPUT_TYPE_MONTH", +"INPUT_TYPE_WEEK", +"INPUT_TYPE_TIME", +"INPUT_TYPE_DATETIME_LOCAL", +"INPUT_TYPE_NUMBER", +"INPUT_TYPE_RANGE", +"INPUT_TYPE_COLOR", +"LOCAL_STORAGE", +"POST_MESSAGE", +"SESSION_STORAGE", +"WEB_SOCKETS", +"WEB_SQL_DATABASE", +"WEB_WORKERS", +"GEO_LOCATION", +"INLINE_SVG", +"SMIL", +"SVG_HREF", +"SVG_CLIP_PATHS", +"TOUCH", +"WEBGL", +"SVG_FILTERS", +"SVG_FE_IMAGE" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"POST_MESSAGE always required due to html5 implementation.", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"" +], +"type": "string" +}, +"type": "array" +}, +"backupImageReportingLabel": { +"description": "Reporting label used for HTML5 banner backup image. Applicable to the following creative types: DISPLAY when the primary asset type is not HTML_IMAGE.", +"type": "string" +}, +"backupImageTargetWindow": { +"$ref": "TargetWindow", +"description": "Target window for backup image. Applicable to the following creative types: FLASH_INPAGE and HTML5_BANNER. Applicable to DISPLAY when the primary asset type is not HTML_IMAGE." +}, +"clickTags": { +"description": "Click tags of the creative. For DISPLAY, FLASH_INPAGE, and HTML5_BANNER creatives, this is a subset of detected click tags for the assets associated with this creative. After creating a flash asset, detected click tags will be returned in the creativeAssetMetadata. When inserting the creative, populate the creative clickTags field using the creativeAssetMetadata.clickTags field. For DISPLAY_IMAGE_GALLERY creatives, there should be exactly one entry in this list for each image creative asset. A click tag is matched with a corresponding creative asset by matching the clickTag.name field with the creativeAsset.assetIdentifier.name field. Applicable to the following creative types: DISPLAY_IMAGE_GALLERY, FLASH_INPAGE, HTML5_BANNER. Applicable to DISPLAY when the primary asset type is not HTML_IMAGE.", +"items": { +"$ref": "ClickTag" +}, +"type": "array" +}, +"commercialId": { +"description": "Industry standard ID assigned to creative for reach and frequency. Applicable to INSTREAM_VIDEO_REDIRECT creatives.", +"type": "string" +}, +"companionCreatives": { +"description": "List of companion creatives assigned to an in-Stream video creative. Acceptable values include IDs of existing flash and image creatives. Applicable to the following creative types: all VPAID, all INSTREAM_AUDIO and all INSTREAM_VIDEO with dynamicAssetSelection set to false.", +"items": { +"format": "int64", +"type": "string" +}, +"type": "array" +}, +"compatibility": { +"description": "Compatibilities associated with this creative. This is a read-only field. DISPLAY and DISPLAY_INTERSTITIAL refer to rendering either on desktop or on mobile devices or in mobile apps for regular or interstitial ads, respectively. APP and APP_INTERSTITIAL are for rendering in mobile apps. Only pre-existing creatives may have these compatibilities since new creatives will either be assigned DISPLAY or DISPLAY_INTERSTITIAL instead. IN_STREAM_VIDEO refers to rendering in in-stream video ads developed with the VAST standard. IN_STREAM_AUDIO refers to rendering in in-stream audio ads developed with the VAST standard. Applicable to all creative types. Acceptable values are: - \"APP\" - \"APP_INTERSTITIAL\" - \"IN_STREAM_VIDEO\" - \"IN_STREAM_AUDIO\" - \"DISPLAY\" - \"DISPLAY_INTERSTITIAL\" ", +"items": { +"enum": [ +"DISPLAY", +"DISPLAY_INTERSTITIAL", +"APP", +"APP_INTERSTITIAL", +"IN_STREAM_VIDEO", +"IN_STREAM_AUDIO" +], +"enumDescriptions": [ +"", +"", +"Deprecated enum value. No longer supported.", +"Deprecated enum value. No longer supported.", +"", +"" +], +"type": "string" +}, +"type": "array" +}, +"convertFlashToHtml5": { +"description": "Whether Flash assets associated with the creative need to be automatically converted to HTML5. This flag is enabled by default and users can choose to disable it if they don't want the system to generate and use HTML5 asset for this creative. Applicable to the following creative type: FLASH_INPAGE. Applicable to DISPLAY when the primary asset type is not HTML_IMAGE.", +"type": "boolean" +}, +"counterCustomEvents": { +"description": "List of counter events configured for the creative. For DISPLAY_IMAGE_GALLERY creatives, these are read-only and auto-generated from clickTags. Applicable to the following creative types: DISPLAY_IMAGE_GALLERY, all RICH_MEDIA, and all VPAID.", +"items": { +"$ref": "CreativeCustomEvent" +}, +"type": "array" +}, +"creativeAssets": { +"description": "Assets associated with a creative. Applicable to all but the following creative types: INTERNAL_REDIRECT, INTERSTITIAL_INTERNAL_REDIRECT, and REDIRECT", +"items": { +"$ref": "CreativeAsset" +}, +"type": "array" +}, +"creativeFieldAssignments": { +"description": "Creative field assignments for this creative. Applicable to all creative types.", +"items": { +"$ref": "CreativeFieldAssignment" +}, +"type": "array" +}, +"customKeyValues": { +"description": "Custom key-values for a Rich Media creative. Key-values let you customize the creative settings of a Rich Media ad running on your site without having to contact the advertiser. You can use key-values to dynamically change the look or functionality of a creative. Applicable to the following creative types: all RICH_MEDIA, and all VPAID.", +"items": { +"type": "string" +}, +"type": "array" +}, +"exitCustomEvents": { +"description": "List of exit events configured for the creative. For DISPLAY and DISPLAY_IMAGE_GALLERY creatives, these are read-only and auto-generated from clickTags, For DISPLAY, an event is also created from the backupImageReportingLabel. Applicable to the following creative types: DISPLAY_IMAGE_GALLERY, all RICH_MEDIA, and all VPAID. Applicable to DISPLAY when the primary asset type is not HTML_IMAGE.", +"items": { +"$ref": "CreativeCustomEvent" +}, +"type": "array" +}, +"fsCommand": { +"$ref": "FsCommand", +"description": "OpenWindow FSCommand of this creative. This lets the SWF file communicate with either Flash Player or the program hosting Flash Player, such as a web browser. This is only triggered if allowScriptAccess field is true. Applicable to the following creative types: FLASH_INPAGE." +}, +"htmlCode": { +"description": "HTML code for the creative. This is a required field when applicable. This field is ignored if htmlCodeLocked is true. Applicable to the following creative types: all CUSTOM, FLASH_INPAGE, and HTML5_BANNER, and all RICH_MEDIA.", +"type": "string" +}, +"htmlCodeLocked": { +"description": "Whether HTML code is generated by Campaign Manager or manually entered. Set to true to ignore changes to htmlCode. Applicable to the following creative types: FLASH_INPAGE and HTML5_BANNER.", +"type": "boolean" +}, +"id": { +"description": "ID of this creative. This is a read-only, auto-generated field. Applicable to all creative types.", +"format": "int64", +"type": "string" +}, +"idDimensionValue": { +"$ref": "DimensionValue", +"description": "Dimension value for the ID of this creative. This is a read-only field. Applicable to all creative types." +}, +"kind": { +"description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#creative\".", +"type": "string" +}, +"lastModifiedInfo": { +"$ref": "LastModifiedInfo", +"description": "Creative last modification information. This is a read-only field. Applicable to all creative types." +}, +"latestTraffickedCreativeId": { +"description": "Latest Studio trafficked creative ID associated with rich media and VPAID creatives. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA, and all VPAID.", +"format": "int64", +"type": "string" +}, +"mediaDescription": { +"description": "Description of the audio or video ad. Applicable to the following creative types: all INSTREAM_VIDEO, INSTREAM_AUDIO, and all VPAID.", +"type": "string" +}, +"mediaDuration": { +"description": "Creative audio or video duration in seconds. This is a read-only field. Applicable to the following creative types: INSTREAM_VIDEO, INSTREAM_AUDIO, all RICH_MEDIA, and all VPAID.", +"format": "float", +"type": "number" +}, +"name": { +"description": "Required. Name of the creative. This must be less than 256 characters long. Applicable to all creative types.", +"type": "string" +}, +"obaIcon": { +"$ref": "ObaIcon", +"description": "Online behavioral advertising icon to be added to the creative. Applicable to the following creative types: all INSTREAM_VIDEO." +}, +"overrideCss": { +"description": "Override CSS value for rich media creatives. Applicable to the following creative types: all RICH_MEDIA.", +"type": "string" +}, +"progressOffset": { +"$ref": "VideoOffset", +"description": "Amount of time to play the video before counting a view. Applicable to the following creative types: all INSTREAM_VIDEO." +}, +"redirectUrl": { +"description": "URL of hosted image or hosted video or another ad tag. For INSTREAM_VIDEO_REDIRECT creatives this is the in-stream video redirect URL. The standard for a VAST (Video Ad Serving Template) ad response allows for a redirect link to another VAST 2.0 or 3.0 call. This is a required field when applicable. Applicable to the following creative types: DISPLAY_REDIRECT, INTERNAL_REDIRECT, INTERSTITIAL_INTERNAL_REDIRECT, and INSTREAM_VIDEO_REDIRECT", +"type": "string" +}, +"renderingId": { +"description": "ID of current rendering version. This is a read-only field. Applicable to all creative types.", +"format": "int64", +"type": "string" +}, +"renderingIdDimensionValue": { +"$ref": "DimensionValue", +"description": "Dimension value for the rendering ID of this creative. This is a read-only field. Applicable to all creative types." +}, +"requiredFlashPluginVersion": { +"description": "The minimum required Flash plugin version for this creative. For example, 11.2.202.235. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA, and all VPAID.", +"type": "string" +}, +"requiredFlashVersion": { +"description": "The internal Flash version for this creative as calculated by Studio. This is a read-only field. Applicable to the following creative types: FLASH_INPAGE all RICH_MEDIA, and all VPAID. Applicable to DISPLAY when the primary asset type is not HTML_IMAGE.", +"format": "int32", +"type": "integer" +}, +"size": { +"$ref": "Size", +"description": "Size associated with this creative. When inserting or updating a creative either the size ID field or size width and height fields can be used. This is a required field when applicable; however for IMAGE, FLASH_INPAGE creatives, and for DISPLAY creatives with a primary asset of type HTML_IMAGE, if left blank, this field will be automatically set using the actual size of the associated image assets. Applicable to the following creative types: DISPLAY, DISPLAY_IMAGE_GALLERY, FLASH_INPAGE, HTML5_BANNER, IMAGE, and all RICH_MEDIA." +}, +"skipOffset": { +"$ref": "VideoOffset", +"description": "Amount of time to play the video before the skip button appears. Applicable to the following creative types: all INSTREAM_VIDEO." +}, +"skippable": { +"description": "Whether the user can choose to skip the creative. Applicable to the following creative types: all INSTREAM_VIDEO and all VPAID.", +"type": "boolean" +}, +"sslCompliant": { +"description": "Whether the creative is SSL-compliant. This is a read-only field. Applicable to all creative types.", +"type": "boolean" +}, +"sslOverride": { +"description": "Whether creative should be treated as SSL compliant even if the system scan shows it's not. Applicable to all creative types.", +"type": "boolean" +}, +"studioAdvertiserId": { +"description": "Studio advertiser ID associated with rich media and VPAID creatives. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA, and all VPAID.", +"format": "int64", +"type": "string" +}, +"studioCreativeId": { +"description": "Studio creative ID associated with rich media and VPAID creatives. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA, and all VPAID.", +"format": "int64", +"type": "string" +}, +"studioTraffickedCreativeId": { +"description": "Studio trafficked creative ID associated with rich media and VPAID creatives. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA, and all VPAID.", +"format": "int64", +"type": "string" +}, +"subaccountId": { +"description": "Subaccount ID of this creative. This field, if left unset, will be auto-generated for both insert and update operations. Applicable to all creative types.", +"format": "int64", +"type": "string" +}, +"thirdPartyBackupImageImpressionsUrl": { +"description": "Third-party URL used to record backup image impressions. Applicable to the following creative types: all RICH_MEDIA.", +"type": "string" +}, +"thirdPartyRichMediaImpressionsUrl": { +"description": "Third-party URL used to record rich media impressions. Applicable to the following creative types: all RICH_MEDIA.", +"type": "string" +}, +"thirdPartyUrls": { +"description": "Third-party URLs for tracking in-stream creative events. Applicable to the following creative types: all INSTREAM_VIDEO, all INSTREAM_AUDIO, and all VPAID.", +"items": { +"$ref": "ThirdPartyTrackingUrl" +}, +"type": "array" +}, +"timerCustomEvents": { +"description": "List of timer events configured for the creative. For DISPLAY_IMAGE_GALLERY creatives, these are read-only and auto-generated from clickTags. Applicable to the following creative types: DISPLAY_IMAGE_GALLERY, all RICH_MEDIA, and all VPAID. Applicable to DISPLAY when the primary asset is not HTML_IMAGE.", +"items": { +"$ref": "CreativeCustomEvent" +}, +"type": "array" +}, +"totalFileSize": { +"description": "Combined size of all creative assets. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA, and all VPAID.", +"format": "int64", +"type": "string" +}, +"type": { +"description": "Required. Type of this creative. Applicable to all creative types. *Note:* FLASH_INPAGE, HTML5_BANNER, and IMAGE are only used for existing creatives. New creatives should use DISPLAY as a replacement for these types.", +"enum": [ +"IMAGE", +"DISPLAY_REDIRECT", +"CUSTOM_DISPLAY", +"INTERNAL_REDIRECT", +"CUSTOM_DISPLAY_INTERSTITIAL", +"INTERSTITIAL_INTERNAL_REDIRECT", +"TRACKING_TEXT", +"RICH_MEDIA_DISPLAY_BANNER", +"RICH_MEDIA_INPAGE_FLOATING", +"RICH_MEDIA_IM_EXPAND", +"RICH_MEDIA_DISPLAY_EXPANDING", +"RICH_MEDIA_DISPLAY_INTERSTITIAL", +"RICH_MEDIA_DISPLAY_MULTI_FLOATING_INTERSTITIAL", +"RICH_MEDIA_MOBILE_IN_APP", +"FLASH_INPAGE", +"INSTREAM_VIDEO", +"VPAID_LINEAR_VIDEO", +"VPAID_NON_LINEAR_VIDEO", +"INSTREAM_VIDEO_REDIRECT", +"RICH_MEDIA_PEEL_DOWN", +"HTML5_BANNER", +"DISPLAY", +"DISPLAY_IMAGE_GALLERY", +"BRAND_SAFE_DEFAULT_INSTREAM_VIDEO", +"INSTREAM_AUDIO" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"" +], +"type": "string" +}, +"universalAdId": { +"$ref": "UniversalAdId", +"description": "A Universal Ad ID as per the VAST 4.0 spec. Applicable to the following creative types: INSTREAM_AUDIO and INSTREAM_VIDEO and VPAID." +}, +"version": { +"description": "The version number helps you keep track of multiple versions of your creative in your reports. The version number will always be auto-generated during insert operations to start at 1. For tracking creatives the version cannot be incremented and will always remain at 1. For all other creative types the version can be incremented only by 1 during update operations. In addition, the version will be automatically incremented by 1 when undergoing Rich Media creative merging. Applicable to all creative types.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"CreativeAsset": { +"description": "Creative Asset.", +"id": "CreativeAsset", +"properties": { +"actionScript3": { +"description": "Whether ActionScript3 is enabled for the flash asset. This is a read-only field. Applicable to the following creative type: FLASH_INPAGE. Applicable to DISPLAY when the primary asset type is not HTML_IMAGE.", +"type": "boolean" +}, +"active": { +"description": "Whether the video or audio asset is active. This is a read-only field for VPAID_NON_LINEAR_VIDEO assets. Applicable to the following creative types: INSTREAM_AUDIO, INSTREAM_VIDEO and all VPAID.", +"type": "boolean" +}, +"additionalSizes": { +"description": "Additional sizes associated with this creative asset. HTML5 asset generated by compatible software such as GWD will be able to support more sizes this creative asset can render.", +"items": { +"$ref": "Size" +}, +"type": "array" +}, +"alignment": { +"description": "Possible alignments for an asset. This is a read-only field. Applicable to the following creative types: RICH_MEDIA_DISPLAY_MULTI_FLOATING_INTERSTITIAL .", +"enum": [ +"ALIGNMENT_TOP", +"ALIGNMENT_RIGHT", +"ALIGNMENT_BOTTOM", +"ALIGNMENT_LEFT" +], +"enumDescriptions": [ +"", +"", +"", +"" +], +"type": "string" +}, +"artworkType": { +"description": "Artwork type of rich media creative. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA.", +"enum": [ +"ARTWORK_TYPE_FLASH", +"ARTWORK_TYPE_HTML5", +"ARTWORK_TYPE_MIXED", +"ARTWORK_TYPE_IMAGE" +], +"enumDescriptions": [ +"The creative is a Flash creative.", +"The creative is HTML5.", +"The creative is HTML5 if available, Flash otherwise.", +"The creative is Image." +], +"type": "string" +}, +"assetIdentifier": { +"$ref": "CreativeAssetId", +"description": "Identifier of this asset. This is the same identifier returned during creative asset insert operation. This is a required field. Applicable to all but the following creative types: all REDIRECT and TRACKING_TEXT." +}, +"audioBitRate": { +"description": "Audio stream bit rate in kbps. This is a read-only field. Applicable to the following creative types: INSTREAM_AUDIO, INSTREAM_VIDEO and all VPAID.", +"format": "int32", +"type": "integer" +}, +"audioSampleRate": { +"description": "Audio sample bit rate in hertz. This is a read-only field. Applicable to the following creative types: INSTREAM_AUDIO, INSTREAM_VIDEO and all VPAID.", +"format": "int32", +"type": "integer" +}, +"backupImageExit": { +"$ref": "CreativeCustomEvent", +"description": "Exit event configured for the backup image. Applicable to the following creative types: all RICH_MEDIA." +}, +"bitRate": { +"description": "Detected bit-rate for audio or video asset. This is a read-only field. Applicable to the following creative types: INSTREAM_AUDIO, INSTREAM_VIDEO and all VPAID.", +"format": "int32", +"type": "integer" +}, +"childAssetType": { +"description": "Rich media child asset type. This is a read-only field. Applicable to the following creative types: all VPAID.", +"enum": [ +"CHILD_ASSET_TYPE_FLASH", +"CHILD_ASSET_TYPE_VIDEO", +"CHILD_ASSET_TYPE_IMAGE", +"CHILD_ASSET_TYPE_DATA" +], +"enumDescriptions": [ +"swf files", +"flv and any other video files types", +"image files", +"rest of the supported file types .txt, .xml etc." +], +"type": "string" +}, +"collapsedSize": { +"$ref": "Size", +"description": "Size of an asset when collapsed. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA and all VPAID. Additionally, applicable to assets whose displayType is ASSET_DISPLAY_TYPE_EXPANDING or ASSET_DISPLAY_TYPE_PEEL_DOWN." +}, +"companionCreativeIds": { +"description": "List of companion creatives assigned to an in-stream video creative asset. Acceptable values include IDs of existing flash and image creatives. Applicable to INSTREAM_VIDEO creative type with dynamicAssetSelection set to true.", +"items": { +"format": "int64", +"type": "string" +}, +"type": "array" +}, +"customStartTimeValue": { +"description": "Custom start time in seconds for making the asset visible. Applicable to the following creative types: all RICH_MEDIA. Value must be greater than or equal to 0.", +"format": "int32", +"type": "integer" +}, +"detectedFeatures": { +"description": "List of feature dependencies for the creative asset that are detected by Campaign Manager. Feature dependencies are features that a browser must be able to support in order to render your HTML5 creative correctly. This is a read-only, auto-generated field. Applicable to the following creative types: HTML5_BANNER. Applicable to DISPLAY when the primary asset type is not HTML_IMAGE.", +"items": { +"enum": [ +"CSS_FONT_FACE", +"CSS_BACKGROUND_SIZE", +"CSS_BORDER_IMAGE", +"CSS_BORDER_RADIUS", +"CSS_BOX_SHADOW", +"CSS_FLEX_BOX", +"CSS_HSLA", +"CSS_MULTIPLE_BGS", +"CSS_OPACITY", +"CSS_RGBA", +"CSS_TEXT_SHADOW", +"CSS_ANIMATIONS", +"CSS_COLUMNS", +"CSS_GENERATED_CONTENT", +"CSS_GRADIENTS", +"CSS_REFLECTIONS", +"CSS_TRANSFORMS", +"CSS_TRANSFORMS3D", +"CSS_TRANSITIONS", +"APPLICATION_CACHE", +"CANVAS", +"CANVAS_TEXT", +"DRAG_AND_DROP", +"HASH_CHANGE", +"HISTORY", +"AUDIO", +"VIDEO", +"INDEXED_DB", +"INPUT_ATTR_AUTOCOMPLETE", +"INPUT_ATTR_AUTOFOCUS", +"INPUT_ATTR_LIST", +"INPUT_ATTR_PLACEHOLDER", +"INPUT_ATTR_MAX", +"INPUT_ATTR_MIN", +"INPUT_ATTR_MULTIPLE", +"INPUT_ATTR_PATTERN", +"INPUT_ATTR_REQUIRED", +"INPUT_ATTR_STEP", +"INPUT_TYPE_SEARCH", +"INPUT_TYPE_TEL", +"INPUT_TYPE_URL", +"INPUT_TYPE_EMAIL", +"INPUT_TYPE_DATETIME", +"INPUT_TYPE_DATE", +"INPUT_TYPE_MONTH", +"INPUT_TYPE_WEEK", +"INPUT_TYPE_TIME", +"INPUT_TYPE_DATETIME_LOCAL", +"INPUT_TYPE_NUMBER", +"INPUT_TYPE_RANGE", +"INPUT_TYPE_COLOR", +"LOCAL_STORAGE", +"POST_MESSAGE", +"SESSION_STORAGE", +"WEB_SOCKETS", +"WEB_SQL_DATABASE", +"WEB_WORKERS", +"GEO_LOCATION", +"INLINE_SVG", +"SMIL", +"SVG_HREF", +"SVG_CLIP_PATHS", +"TOUCH", +"WEBGL", +"SVG_FILTERS", +"SVG_FE_IMAGE" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"POST_MESSAGE always required due to html5 implementation.", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"" +], +"type": "string" +}, +"type": "array" +}, +"displayType": { +"description": "Type of rich media asset. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA.", +"enum": [ +"ASSET_DISPLAY_TYPE_INPAGE", +"ASSET_DISPLAY_TYPE_FLOATING", +"ASSET_DISPLAY_TYPE_OVERLAY", +"ASSET_DISPLAY_TYPE_EXPANDING", +"ASSET_DISPLAY_TYPE_FLASH_IN_FLASH", +"ASSET_DISPLAY_TYPE_FLASH_IN_FLASH_EXPANDING", +"ASSET_DISPLAY_TYPE_PEEL_DOWN", +"ASSET_DISPLAY_TYPE_VPAID_LINEAR", +"ASSET_DISPLAY_TYPE_VPAID_NON_LINEAR", +"ASSET_DISPLAY_TYPE_BACKDROP" +], +"enumDescriptions": [ +"Asset exists in a box and stays within the box.", +"Asset exists at a self described location on the page.", +"Special display type for IM clients.", +"Asset changes size.", +"Not applicable for HTML5.", +"Not applicable for HTML5.", +"Asset sits on the top right and expands.", +"VPAID linear asset.", +"VPAID non linear asset.", +"Backdrop (skin) asset." +], +"type": "string" +}, +"duration": { +"description": "Duration in seconds for which an asset will be displayed. Applicable to the following creative types: INSTREAM_AUDIO, INSTREAM_VIDEO and VPAID_LINEAR_VIDEO. Value must be greater than or equal to 1.", +"format": "int32", +"type": "integer" +}, +"durationType": { +"description": "Duration type for which an asset will be displayed. Applicable to the following creative types: all RICH_MEDIA.", +"enum": [ +"ASSET_DURATION_TYPE_AUTO", +"ASSET_DURATION_TYPE_NONE", +"ASSET_DURATION_TYPE_CUSTOM" +], +"enumDescriptions": [ +"Asset is displayed for the single run of the time line.", +"Asset is displayed indefinitely and it loops on the timeline.", +"User entered duration value in seconds." +], +"type": "string" +}, +"expandedDimension": { +"$ref": "Size", +"description": "Detected expanded dimension for video asset. This is a read-only field. Applicable to the following creative types: INSTREAM_VIDEO and all VPAID." +}, +"fileSize": { +"description": "File size associated with this creative asset. This is a read-only field. Applicable to all but the following creative types: all REDIRECT and TRACKING_TEXT.", +"format": "int64", +"type": "string" +}, +"flashVersion": { +"description": "Flash version of the asset. This is a read-only field. Applicable to the following creative types: FLASH_INPAGE, all RICH_MEDIA, and all VPAID. Applicable to DISPLAY when the primary asset type is not HTML_IMAGE.", +"format": "int32", +"type": "integer" +}, +"frameRate": { +"description": "Video frame rate for video asset in frames per second. This is a read-only field. Applicable to the following creative types: INSTREAM_VIDEO and all VPAID.", +"format": "float", +"type": "number" +}, +"hideFlashObjects": { +"description": "Whether to hide Flash objects flag for an asset. Applicable to the following creative types: all RICH_MEDIA.", +"type": "boolean" +}, +"hideSelectionBoxes": { +"description": "Whether to hide selection boxes flag for an asset. Applicable to the following creative types: all RICH_MEDIA.", +"type": "boolean" +}, +"horizontallyLocked": { +"description": "Whether the asset is horizontally locked. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA.", +"type": "boolean" +}, +"id": { +"description": "Numeric ID of this creative asset. This is a required field and should not be modified. Applicable to all but the following creative types: all REDIRECT and TRACKING_TEXT.", +"format": "int64", +"type": "string" +}, +"idDimensionValue": { +"$ref": "DimensionValue", +"description": "Dimension value for the ID of the asset. This is a read-only, auto-generated field." +}, +"mediaDuration": { +"description": "Detected duration for audio or video asset. This is a read-only field. Applicable to the following creative types: INSTREAM_AUDIO, INSTREAM_VIDEO and all VPAID.", +"format": "float", +"type": "number" +}, +"mimeType": { +"description": "Detected MIME type for audio or video asset. This is a read-only field. Applicable to the following creative types: INSTREAM_AUDIO, INSTREAM_VIDEO and all VPAID.", +"type": "string" +}, +"offset": { +"$ref": "OffsetPosition", +"description": "Offset position for an asset in collapsed mode. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA and all VPAID. Additionally, only applicable to assets whose displayType is ASSET_DISPLAY_TYPE_EXPANDING or ASSET_DISPLAY_TYPE_PEEL_DOWN." +}, +"orientation": { +"description": "Orientation of video asset. This is a read-only, auto-generated field.", +"enum": [ +"LANDSCAPE", +"PORTRAIT", +"SQUARE" +], +"enumDescriptions": [ +"", +"", +"" +], +"type": "string" +}, +"originalBackup": { +"description": "Whether the backup asset is original or changed by the user in Campaign Manager. Applicable to the following creative types: all RICH_MEDIA.", +"type": "boolean" +}, +"politeLoad": { +"description": "Whether this asset is used as a polite load asset.", +"type": "boolean" +}, +"position": { +"$ref": "OffsetPosition", +"description": "Offset position for an asset. Applicable to the following creative types: all RICH_MEDIA." +}, +"positionLeftUnit": { +"description": "Offset left unit for an asset. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA.", +"enum": [ +"OFFSET_UNIT_PIXEL", +"OFFSET_UNIT_PERCENT", +"OFFSET_UNIT_PIXEL_FROM_CENTER" +], +"enumDescriptions": [ +"Pixels on a screen.", +"Percent offset for center asset (rather than top and left).", +"Pixel offset for center of asset from center of browser window." +], +"type": "string" +}, +"positionTopUnit": { +"description": "Offset top unit for an asset. This is a read-only field if the asset displayType is ASSET_DISPLAY_TYPE_OVERLAY. Applicable to the following creative types: all RICH_MEDIA.", +"enum": [ +"OFFSET_UNIT_PIXEL", +"OFFSET_UNIT_PERCENT", +"OFFSET_UNIT_PIXEL_FROM_CENTER" +], +"enumDescriptions": [ +"Pixels on a screen.", +"Percent offset for center asset (rather than top and left).", +"Pixel offset for center of asset from center of browser window." +], +"type": "string" +}, +"progressiveServingUrl": { +"description": "Progressive URL for video asset. This is a read-only field. Applicable to the following creative types: INSTREAM_VIDEO and all VPAID.", +"type": "string" +}, +"pushdown": { +"description": "Whether the asset pushes down other content. Applicable to the following creative types: all RICH_MEDIA. Additionally, only applicable when the asset offsets are 0, the collapsedSize.width matches size.width, and the collapsedSize.height is less than size.height.", +"type": "boolean" +}, +"pushdownDuration": { +"description": "Pushdown duration in seconds for an asset. Applicable to the following creative types: all RICH_MEDIA.Additionally, only applicable when the asset pushdown field is true, the offsets are 0, the collapsedSize.width matches size.width, and the collapsedSize.height is less than size.height. Acceptable values are 0 to 9.99, inclusive.", +"format": "float", +"type": "number" +}, +"role": { +"description": "Role of the asset in relation to creative. Applicable to all but the following creative types: all REDIRECT and TRACKING_TEXT. This is a required field. PRIMARY applies to DISPLAY, FLASH_INPAGE, HTML5_BANNER, IMAGE, DISPLAY_IMAGE_GALLERY, all RICH_MEDIA (which may contain multiple primary assets), and all VPAID creatives. BACKUP_IMAGE applies to FLASH_INPAGE, HTML5_BANNER, all RICH_MEDIA, and all VPAID creatives. Applicable to DISPLAY when the primary asset type is not HTML_IMAGE. ADDITIONAL_IMAGE and ADDITIONAL_FLASH apply to FLASH_INPAGE creatives. OTHER refers to assets from sources other than Campaign Manager, such as Studio uploaded assets, applicable to all RICH_MEDIA and all VPAID creatives. PARENT_VIDEO refers to videos uploaded by the user in Campaign Manager and is applicable to INSTREAM_VIDEO and VPAID_LINEAR_VIDEO creatives. TRANSCODED_VIDEO refers to videos transcoded by Campaign Manager from PARENT_VIDEO assets and is applicable to INSTREAM_VIDEO and VPAID_LINEAR_VIDEO creatives. ALTERNATE_VIDEO refers to the Campaign Manager representation of child asset videos from Studio, and is applicable to VPAID_LINEAR_VIDEO creatives. These cannot be added or removed within Campaign Manager. For VPAID_LINEAR_VIDEO creatives, PARENT_VIDEO, TRANSCODED_VIDEO and ALTERNATE_VIDEO assets that are marked active serve as backup in case the VPAID creative cannot be served. Only PARENT_VIDEO assets can be added or removed for an INSTREAM_VIDEO or VPAID_LINEAR_VIDEO creative. PARENT_AUDIO refers to audios uploaded by the user in Campaign Manager and is applicable to INSTREAM_AUDIO creatives. TRANSCODED_AUDIO refers to audios transcoded by Campaign Manager from PARENT_AUDIO assets and is applicable to INSTREAM_AUDIO creatives. ", +"enum": [ +"PRIMARY", +"BACKUP_IMAGE", +"ADDITIONAL_IMAGE", +"ADDITIONAL_FLASH", +"PARENT_VIDEO", +"TRANSCODED_VIDEO", +"OTHER", +"ALTERNATE_VIDEO", +"PARENT_AUDIO", +"TRANSCODED_AUDIO" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"", +"", +"", +"", +"" +], +"type": "string" +}, +"size": { +"$ref": "Size", +"description": "Size associated with this creative asset. This is a required field when applicable; however for IMAGE and FLASH_INPAGE, creatives if left blank, this field will be automatically set using the actual size of the associated image asset. Applicable to the following creative types: DISPLAY_IMAGE_GALLERY, FLASH_INPAGE, HTML5_BANNER, IMAGE, and all RICH_MEDIA. Applicable to DISPLAY when the primary asset type is not HTML_IMAGE." +}, +"sslCompliant": { +"description": "Whether the asset is SSL-compliant. This is a read-only field. Applicable to all but the following creative types: all REDIRECT and TRACKING_TEXT.", +"type": "boolean" +}, +"startTimeType": { +"description": "Initial wait time type before making the asset visible. Applicable to the following creative types: all RICH_MEDIA.", +"enum": [ +"ASSET_START_TIME_TYPE_NONE", +"ASSET_START_TIME_TYPE_CUSTOM" +], +"enumDescriptions": [ +"Asset is not automatically displayed.", +"Asset is automatically displayed after a fixed period of time." +], +"type": "string" +}, +"streamingServingUrl": { +"description": "Streaming URL for video asset. This is a read-only field. Applicable to the following creative types: INSTREAM_VIDEO and all VPAID.", +"type": "string" +}, +"transparency": { +"description": "Whether the asset is transparent. Applicable to the following creative types: all RICH_MEDIA. Additionally, only applicable to HTML5 assets.", +"type": "boolean" +}, +"verticallyLocked": { +"description": "Whether the asset is vertically locked. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA.", +"type": "boolean" +}, +"windowMode": { +"description": "Window mode options for flash assets. Applicable to the following creative types: FLASH_INPAGE, RICH_MEDIA_DISPLAY_EXPANDING, RICH_MEDIA_IM_EXPAND, RICH_MEDIA_DISPLAY_BANNER, and RICH_MEDIA_INPAGE_FLOATING.", +"enum": [ +"OPAQUE", +"WINDOW", +"TRANSPARENT" +], +"enumDescriptions": [ +"Allows overlapping of Html and SWF content.", +"Default", +"Used for non-square borders. Allows overlapping of Html and SWF content." +], +"type": "string" +}, +"zIndex": { +"description": "zIndex value of an asset. Applicable to the following creative types: all RICH_MEDIA.Additionally, only applicable to assets whose displayType is NOT one of the following types: ASSET_DISPLAY_TYPE_INPAGE or ASSET_DISPLAY_TYPE_OVERLAY. Acceptable values are -999999999 to 999999999, inclusive.", +"format": "int32", +"type": "integer" +}, +"zipFilename": { +"description": "File name of zip file. This is a read-only field. Applicable to the following creative types: HTML5_BANNER.", +"type": "string" +}, +"zipFilesize": { +"description": "Size of zip file. This is a read-only field. Applicable to the following creative types: HTML5_BANNER.", +"type": "string" +} +}, +"type": "object" +}, +"CreativeAssetId": { +"description": "Creative Asset ID.", +"id": "CreativeAssetId", +"properties": { +"name": { +"description": "Name of the creative asset. This is a required field while inserting an asset. After insertion, this assetIdentifier is used to identify the uploaded asset. Characters in the name must be alphanumeric or one of the following: \".-_ \". Spaces are allowed.", +"type": "string" +}, +"type": { +"description": "Type of asset to upload. This is a required field. FLASH and IMAGE are no longer supported for new uploads. All image assets should use HTML_IMAGE.", +"enum": [ +"IMAGE", +"FLASH", +"VIDEO", +"HTML", +"HTML_IMAGE", +"AUDIO" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"" +], +"type": "string" +} +}, +"type": "object" +}, +"CreativeAssetMetadata": { +"description": "CreativeAssets contains properties of a creative asset file which will be uploaded or has already been uploaded. Refer to the creative sample code for how to upload assets and insert a creative.", +"id": "CreativeAssetMetadata", +"properties": { +"assetIdentifier": { +"$ref": "CreativeAssetId", +"description": "ID of the creative asset. This is a required field." +}, +"clickTags": { +"description": "List of detected click tags for assets. This is a read-only, auto-generated field. This field is empty for a rich media asset.", +"items": { +"$ref": "ClickTag" +}, +"type": "array" +}, +"counterCustomEvents": { +"description": "List of counter events configured for the asset. This is a read-only, auto-generated field and only applicable to a rich media asset.", +"items": { +"$ref": "CreativeCustomEvent" +}, +"type": "array" +}, +"detectedFeatures": { +"description": "List of feature dependencies for the creative asset that are detected by Campaign Manager. Feature dependencies are features that a browser must be able to support in order to render your HTML5 creative correctly. This is a read-only, auto-generated field.", +"items": { +"enum": [ +"CSS_FONT_FACE", +"CSS_BACKGROUND_SIZE", +"CSS_BORDER_IMAGE", +"CSS_BORDER_RADIUS", +"CSS_BOX_SHADOW", +"CSS_FLEX_BOX", +"CSS_HSLA", +"CSS_MULTIPLE_BGS", +"CSS_OPACITY", +"CSS_RGBA", +"CSS_TEXT_SHADOW", +"CSS_ANIMATIONS", +"CSS_COLUMNS", +"CSS_GENERATED_CONTENT", +"CSS_GRADIENTS", +"CSS_REFLECTIONS", +"CSS_TRANSFORMS", +"CSS_TRANSFORMS3D", +"CSS_TRANSITIONS", +"APPLICATION_CACHE", +"CANVAS", +"CANVAS_TEXT", +"DRAG_AND_DROP", +"HASH_CHANGE", +"HISTORY", +"AUDIO", +"VIDEO", +"INDEXED_DB", +"INPUT_ATTR_AUTOCOMPLETE", +"INPUT_ATTR_AUTOFOCUS", +"INPUT_ATTR_LIST", +"INPUT_ATTR_PLACEHOLDER", +"INPUT_ATTR_MAX", +"INPUT_ATTR_MIN", +"INPUT_ATTR_MULTIPLE", +"INPUT_ATTR_PATTERN", +"INPUT_ATTR_REQUIRED", +"INPUT_ATTR_STEP", +"INPUT_TYPE_SEARCH", +"INPUT_TYPE_TEL", +"INPUT_TYPE_URL", +"INPUT_TYPE_EMAIL", +"INPUT_TYPE_DATETIME", +"INPUT_TYPE_DATE", +"INPUT_TYPE_MONTH", +"INPUT_TYPE_WEEK", +"INPUT_TYPE_TIME", +"INPUT_TYPE_DATETIME_LOCAL", +"INPUT_TYPE_NUMBER", +"INPUT_TYPE_RANGE", +"INPUT_TYPE_COLOR", +"LOCAL_STORAGE", +"POST_MESSAGE", +"SESSION_STORAGE", +"WEB_SOCKETS", +"WEB_SQL_DATABASE", +"WEB_WORKERS", +"GEO_LOCATION", +"INLINE_SVG", +"SMIL", +"SVG_HREF", +"SVG_CLIP_PATHS", +"TOUCH", +"WEBGL", +"SVG_FILTERS", +"SVG_FE_IMAGE" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"POST_MESSAGE always required due to html5 implementation.", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"" +], +"type": "string" +}, +"type": "array" +}, +"exitCustomEvents": { +"description": "List of exit events configured for the asset. This is a read-only, auto-generated field and only applicable to a rich media asset.", +"items": { +"$ref": "CreativeCustomEvent" +}, +"type": "array" +}, +"id": { +"description": "Numeric ID of the asset. This is a read-only, auto-generated field.", +"format": "int64", +"type": "string" +}, +"idDimensionValue": { +"$ref": "DimensionValue", +"description": "Dimension value for the numeric ID of the asset. This is a read-only, auto-generated field." +}, +"kind": { +"description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#creativeAssetMetadata\".", +"type": "string" +}, +"richMedia": { +"description": "True if the uploaded asset is a rich media asset. This is a read-only, auto-generated field.", +"type": "boolean" +}, +"timerCustomEvents": { +"description": "List of timer events configured for the asset. This is a read-only, auto-generated field and only applicable to a rich media asset.", +"items": { +"$ref": "CreativeCustomEvent" +}, +"type": "array" +}, +"warnedValidationRules": { +"description": "Rules validated during code generation that generated a warning. This is a read-only, auto-generated field. Possible values are: - \"ADMOB_REFERENCED\" - \"ASSET_FORMAT_UNSUPPORTED_DCM\" - \"ASSET_INVALID\" - \"CLICK_TAG_HARD_CODED\" - \"CLICK_TAG_INVALID\" - \"CLICK_TAG_IN_GWD\" - \"CLICK_TAG_MISSING\" - \"CLICK_TAG_MORE_THAN_ONE\" - \"CLICK_TAG_NON_TOP_LEVEL\" - \"COMPONENT_UNSUPPORTED_DCM\" - \"ENABLER_UNSUPPORTED_METHOD_DCM\" - \"EXTERNAL_FILE_REFERENCED\" - \"FILE_DETAIL_EMPTY\" - \"FILE_TYPE_INVALID\" - \"GWD_PROPERTIES_INVALID\" - \"HTML5_FEATURE_UNSUPPORTED\" - \"LINKED_FILE_NOT_FOUND\" - \"MAX_FLASH_VERSION_11\" - \"MRAID_REFERENCED\" - \"NOT_SSL_COMPLIANT\" - \"ORPHANED_ASSET\" - \"PRIMARY_HTML_MISSING\" - \"SVG_INVALID\" - \"ZIP_INVALID\" ", +"items": { +"enum": [ +"CLICK_TAG_NON_TOP_LEVEL", +"CLICK_TAG_MISSING", +"CLICK_TAG_MORE_THAN_ONE", +"CLICK_TAG_INVALID", +"ORPHANED_ASSET", +"PRIMARY_HTML_MISSING", +"EXTERNAL_FILE_REFERENCED", +"MRAID_REFERENCED", +"ADMOB_REFERENCED", +"FILE_TYPE_INVALID", +"ZIP_INVALID", +"LINKED_FILE_NOT_FOUND", +"MAX_FLASH_VERSION_11", +"NOT_SSL_COMPLIANT", +"FILE_DETAIL_EMPTY", +"ASSET_INVALID", +"GWD_PROPERTIES_INVALID", +"ENABLER_UNSUPPORTED_METHOD_DCM", +"ASSET_FORMAT_UNSUPPORTED_DCM", +"COMPONENT_UNSUPPORTED_DCM", +"HTML5_FEATURE_UNSUPPORTED", +"CLICK_TAG_IN_GWD", +"CLICK_TAG_HARD_CODED", +"SVG_INVALID", +"CLICK_TAG_IN_RICH_MEDIA", +"MISSING_ENABLER_REFERENCE" +], +"enumDescriptions": [ +"Click tag initialization detected but not at the top level of the primary html file.", +"No click tag detected.", +"More than one click tag detected.", +"Click tag invalid (failed url validation).", +"Orphaned asset not referenced.", +"Primary html file missing.", +"Reference to a third-party resource.", +"Reference to INAPP MRAID feature.", +"Reference to INAPP ADMOB feature.", +"Invalid file type referenced.", +"Invalid zip passed in", +"A relative file was linked to that wasn't included in zip.", +"Max flash version at 11.", +"Whether the asset uses secure urls or not.", +"File detail empty.", +"Asset is not valid and could not be processed.", +"GWD properties are invalid.", +"Unsupported Enabler methods in DCM.", +"Asset ad format is unsupported in DCM.", +"Component is unsupported in DCM.", +"Html5 feature is unsupported.", +"Click tag defined in GWD asset. GWD-published creatives should use exit events instead of defining var clickTag. Defined var clickTags are a symptom of an unsupported workflow, and an error should be thrown.", +"Whether the asset has hard coded click tag url(s).", +"Whether an SVG block could not be parsed.", +"Click tag defined in rich media asset. Rich media creatives should use exit events instead of defining var clickTag. Defined var clickTags are a symptom of an unsupported workflow, and an error should be thrown.", +"Rich media primary asset is missing the Enabler reference." +], +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"CreativeAssignment": { +"description": "Creative Assignment.", +"id": "CreativeAssignment", +"properties": { +"active": { +"description": "Whether this creative assignment is active. When true, the creative will be included in the ad's rotation.", +"type": "boolean" +}, +"applyEventTags": { +"description": "Whether applicable event tags should fire when this creative assignment is rendered. If this value is unset when the ad is inserted or updated, it will default to true for all creative types EXCEPT for INTERNAL_REDIRECT, INTERSTITIAL_INTERNAL_REDIRECT, and INSTREAM_VIDEO.", +"type": "boolean" +}, +"clickThroughUrl": { +"$ref": "ClickThroughUrl", +"description": "Click-through URL of the creative assignment." +}, +"companionCreativeOverrides": { +"description": "Companion creative overrides for this creative assignment. Applicable to video ads.", +"items": { +"$ref": "CompanionClickThroughOverride" +}, +"type": "array" +}, +"creativeGroupAssignments": { +"description": "Creative group assignments for this creative assignment. Only one assignment per creative group number is allowed for a maximum of two assignments.", +"items": { +"$ref": "CreativeGroupAssignment" +}, +"type": "array" +}, +"creativeId": { +"description": "ID of the creative to be assigned. This is a required field.", +"format": "int64", +"type": "string" +}, +"creativeIdDimensionValue": { +"$ref": "DimensionValue", +"description": "Dimension value for the ID of the creative. This is a read-only, auto-generated field." +}, +"endTime": { +"format": "date-time", +"type": "string" +}, +"richMediaExitOverrides": { +"description": "Rich media exit overrides for this creative assignment. Applicable when the creative type is any of the following: - DISPLAY - RICH_MEDIA_INPAGE - RICH_MEDIA_INPAGE_FLOATING - RICH_MEDIA_IM_EXPAND - RICH_MEDIA_EXPANDING - RICH_MEDIA_INTERSTITIAL_FLOAT - RICH_MEDIA_MOBILE_IN_APP - RICH_MEDIA_MULTI_FLOATING - RICH_MEDIA_PEEL_DOWN - VPAID_LINEAR - VPAID_NON_LINEAR ", +"items": { +"$ref": "RichMediaExitOverride" +}, +"type": "array" +}, +"sequence": { +"description": "Sequence number of the creative assignment, applicable when the rotation type is CREATIVE_ROTATION_TYPE_SEQUENTIAL. Acceptable values are 1 to 65535, inclusive.", +"format": "int32", +"type": "integer" +}, +"sslCompliant": { +"description": "Whether the creative to be assigned is SSL-compliant. This is a read-only field that is auto-generated when the ad is inserted or updated.", +"type": "boolean" +}, +"startTime": { +"format": "date-time", +"type": "string" +}, +"weight": { +"description": "Weight of the creative assignment, applicable when the rotation type is CREATIVE_ROTATION_TYPE_RANDOM. Value must be greater than or equal to 1.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"CreativeClickThroughUrl": { +"description": "Click-through URL", +"id": "CreativeClickThroughUrl", +"properties": { +"computedClickThroughUrl": { +"description": "Read-only convenience field representing the actual URL that will be used for this click-through. The URL is computed as follows: - If landingPageId is specified then that landing page's URL is assigned to this field. - Otherwise, the customClickThroughUrl is assigned to this field. ", +"type": "string" +}, +"customClickThroughUrl": { +"description": "Custom click-through URL. Applicable if the landingPageId field is left unset.", +"type": "string" +}, +"landingPageId": { +"description": "ID of the landing page for the click-through URL.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"CreativeCustomEvent": { +"description": "Creative Custom Event.", +"id": "CreativeCustomEvent", +"properties": { +"advertiserCustomEventId": { +"description": "Unique ID of this event used by Reporting and Data Transfer. This is a read-only field.", +"format": "int64", +"type": "string" +}, +"advertiserCustomEventName": { +"description": "User-entered name for the event.", +"type": "string" +}, +"advertiserCustomEventType": { +"description": "Type of the event. This is a read-only field.", +"enum": [ +"ADVERTISER_EVENT_TIMER", +"ADVERTISER_EVENT_EXIT", +"ADVERTISER_EVENT_COUNTER" +], +"enumDescriptions": [ +"", +"", +"" +], +"type": "string" +}, +"artworkLabel": { +"description": "Artwork label column, used to link events in Campaign Manager back to events in Studio. This is a required field and should not be modified after insertion.", +"type": "string" +}, +"artworkType": { +"description": "Artwork type used by the creative.This is a read-only field.", +"enum": [ +"ARTWORK_TYPE_FLASH", +"ARTWORK_TYPE_HTML5", +"ARTWORK_TYPE_MIXED", +"ARTWORK_TYPE_IMAGE" +], +"enumDescriptions": [ +"The creative is a Flash creative.", +"The creative is HTML5.", +"The creative is HTML5 if available, Flash otherwise.", +"The creative is Image." +], +"type": "string" +}, +"exitClickThroughUrl": { +"$ref": "CreativeClickThroughUrl", +"description": "Exit click-through URL for the event. This field is used only for exit events." +}, +"id": { +"description": "ID of this event. This is a required field and should not be modified after insertion.", +"format": "int64", +"type": "string" +}, +"popupWindowProperties": { +"$ref": "PopupWindowProperties", +"description": "Properties for rich media popup windows. This field is used only for exit events." +}, +"targetType": { +"description": "Target type used by the event.", +"enum": [ +"TARGET_BLANK", +"TARGET_TOP", +"TARGET_SELF", +"TARGET_PARENT", +"TARGET_POPUP" +], +"enumDescriptions": [ +"New tab", +"Current tab", +"Same frame", +"Parent frame", +"New window with properties specified in window_properties" +], +"type": "string" +}, +"videoReportingId": { +"description": "Video reporting ID, used to differentiate multiple videos in a single creative. This is a read-only field.", +"type": "string" +} +}, +"type": "object" +}, +"CreativeField": { +"description": "Contains properties of a creative field.", +"id": "CreativeField", +"properties": { +"accountId": { +"description": "Account ID of this creative field. This is a read-only field that can be left blank.", +"format": "int64", +"type": "string" +}, +"advertiserId": { +"description": "Advertiser ID of this creative field. This is a required field on insertion.", +"format": "int64", +"type": "string" +}, +"advertiserIdDimensionValue": { +"$ref": "DimensionValue", +"description": "Dimension value for the ID of the advertiser. This is a read-only, auto-generated field." +}, +"id": { +"description": "ID of this creative field. This is a read-only, auto-generated field.", +"format": "int64", +"type": "string" +}, +"kind": { +"description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#creativeField\".", +"type": "string" +}, +"name": { +"description": "Name of this creative field. This is a required field and must be less than 256 characters long and unique among creative fields of the same advertiser.", +"type": "string" +}, +"subaccountId": { +"description": "Subaccount ID of this creative field. This is a read-only field that can be left blank.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"CreativeFieldAssignment": { +"description": "Creative Field Assignment.", +"id": "CreativeFieldAssignment", +"properties": { +"creativeFieldId": { +"description": "ID of the creative field.", +"format": "int64", +"type": "string" +}, +"creativeFieldValueId": { +"description": "ID of the creative field value.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"CreativeFieldValue": { +"description": "Contains properties of a creative field value.", +"id": "CreativeFieldValue", +"properties": { +"id": { +"description": "ID of this creative field value. This is a read-only, auto-generated field.", +"format": "int64", +"type": "string" +}, +"kind": { +"description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#creativeFieldValue\".", +"type": "string" +}, +"value": { +"description": "Value of this creative field value. It needs to be less than 256 characters in length and unique per creative field.", +"type": "string" +} +}, +"type": "object" +}, +"CreativeFieldValuesListResponse": { +"description": "Creative Field Value List Response", +"id": "CreativeFieldValuesListResponse", +"properties": { +"creativeFieldValues": { +"description": "Creative field value collection.", +"items": { +"$ref": "CreativeFieldValue" +}, +"type": "array" +}, +"kind": { +"description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#creativeFieldValuesListResponse\".", +"type": "string" +}, +"nextPageToken": { +"description": "Pagination token to be used for the next list operation.", +"type": "string" +} +}, +"type": "object" +}, +"CreativeFieldsListResponse": { +"description": "Creative Field List Response", +"id": "CreativeFieldsListResponse", +"properties": { +"creativeFields": { +"description": "Creative field collection.", +"items": { +"$ref": "CreativeField" +}, +"type": "array" +}, +"kind": { +"description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#creativeFieldsListResponse\".", +"type": "string" +}, +"nextPageToken": { +"description": "Pagination token to be used for the next list operation.", +"type": "string" +} +}, +"type": "object" +}, +"CreativeGroup": { +"description": "Contains properties of a creative group.", +"id": "CreativeGroup", +"properties": { +"accountId": { +"description": "Account ID of this creative group. This is a read-only field that can be left blank.", +"format": "int64", +"type": "string" +}, +"advertiserId": { +"description": "Advertiser ID of this creative group. This is a required field on insertion.", +"format": "int64", +"type": "string" +}, +"advertiserIdDimensionValue": { +"$ref": "DimensionValue", +"description": "Dimension value for the ID of the advertiser. This is a read-only, auto-generated field." +}, +"groupNumber": { +"description": "Subgroup of the creative group. Assign your creative groups to a subgroup in order to filter or manage them more easily. This field is required on insertion and is read-only after insertion. Acceptable values are 1 to 2, inclusive.", +"format": "int32", +"type": "integer" +}, +"id": { +"description": "ID of this creative group. This is a read-only, auto-generated field.", +"format": "int64", +"type": "string" +}, +"kind": { +"description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#creativeGroup\".", +"type": "string" +}, +"name": { +"description": "Name of this creative group. This is a required field and must be less than 256 characters long and unique among creative groups of the same advertiser.", +"type": "string" +}, +"subaccountId": { +"description": "Subaccount ID of this creative group. This is a read-only field that can be left blank.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"CreativeGroupAssignment": { +"description": "Creative Group Assignment.", +"id": "CreativeGroupAssignment", +"properties": { +"creativeGroupId": { +"description": "ID of the creative group to be assigned.", +"format": "int64", +"type": "string" +}, +"creativeGroupNumber": { +"description": "Creative group number of the creative group assignment.", +"enum": [ +"CREATIVE_GROUP_ONE", +"CREATIVE_GROUP_TWO" +], +"enumDescriptions": [ +"", +"" +], +"type": "string" +} +}, +"type": "object" +}, +"CreativeGroupsListResponse": { +"description": "Creative Group List Response", +"id": "CreativeGroupsListResponse", +"properties": { +"creativeGroups": { +"description": "Creative group collection.", +"items": { +"$ref": "CreativeGroup" +}, +"type": "array" +}, +"kind": { +"description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#creativeGroupsListResponse\".", +"type": "string" +}, +"nextPageToken": { +"description": "Pagination token to be used for the next list operation.", +"type": "string" +} +}, +"type": "object" +}, +"CreativeOptimizationConfiguration": { +"description": "Creative optimization settings.", +"id": "CreativeOptimizationConfiguration", +"properties": { +"id": { +"description": "ID of this creative optimization config. This field is auto-generated when the campaign is inserted or updated. It can be null for existing campaigns.", +"format": "int64", +"type": "string" +}, +"name": { +"description": "Name of this creative optimization config. This is a required field and must be less than 129 characters long.", +"type": "string" +}, +"optimizationActivitys": { +"description": "List of optimization activities associated with this configuration.", +"items": { +"$ref": "OptimizationActivity" +}, +"type": "array" +}, +"optimizationModel": { +"description": "Optimization model for this configuration.", +"enum": [ +"CLICK", +"POST_CLICK", +"POST_IMPRESSION", +"POST_CLICK_AND_IMPRESSION", +"VIDEO_COMPLETION" +], +"enumDescriptions": [ +"", +"", +"", +"", +"" +], +"type": "string" +} +}, +"type": "object" +}, +"CreativeRotation": { +"description": "Creative Rotation.", +"id": "CreativeRotation", +"properties": { +"creativeAssignments": { +"description": "Creative assignments in this creative rotation.", +"items": { +"$ref": "CreativeAssignment" +}, +"type": "array" +}, +"creativeOptimizationConfigurationId": { +"description": "Creative optimization configuration that is used by this ad. It should refer to one of the existing optimization configurations in the ad's campaign. If it is unset or set to 0, then the campaign's default optimization configuration will be used for this ad.", +"format": "int64", +"type": "string" +}, +"type": { +"description": "Type of creative rotation. Can be used to specify whether to use sequential or random rotation.", +"enum": [ +"CREATIVE_ROTATION_TYPE_SEQUENTIAL", +"CREATIVE_ROTATION_TYPE_RANDOM" +], +"enumDescriptions": [ +"The weights of each creative in the rotation should be sequential starting at 1. The user may adjust the order.", +"The weights are calculated according to the ad's CreativeRoationWeightStrategy." +], +"type": "string" +}, +"weightCalculationStrategy": { +"description": "Strategy for calculating weights. Used with CREATIVE_ROTATION_TYPE_RANDOM.", +"enum": [ +"WEIGHT_STRATEGY_EQUAL", +"WEIGHT_STRATEGY_CUSTOM", +"WEIGHT_STRATEGY_HIGHEST_CTR", +"WEIGHT_STRATEGY_OPTIMIZED" +], +"enumDescriptions": [ +"The creative weights should all be equal to 1. This is the default value for all ads with a rotation type of Random.", +"The creative weights can be any user provided positive integer.", +"The weights will be automatically calculated giving preference to the creative that has the highest CTR. The CTR for campaigns that are optimized for clicks = clicks/impressions. The CTR for campaigns that are optimized for view-through or click through is sum(activities + floodlight weight)/impressions.", +"The creative weights will be automatically calculated using a formula that could not possibly be explained in these comments. The value will be within some predetermined range (probably 0 - 1,000,000)." +], +"type": "string" +} +}, +"type": "object" +}, +"CreativesListResponse": { +"description": "Creative List Response", +"id": "CreativesListResponse", +"properties": { +"creatives": { +"description": "Creative collection.", +"items": { +"$ref": "Creative" +}, +"type": "array" +}, +"kind": { +"description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#creativesListResponse\".", +"type": "string" +}, +"nextPageToken": { +"description": "Pagination token to be used for the next list operation.", +"type": "string" +} +}, +"type": "object" +}, +"CrossDimensionReachReportCompatibleFields": { +"description": "Represents fields that are compatible to be selected for a report of type \"CROSS_DIMENSION_REACH\".", +"id": "CrossDimensionReachReportCompatibleFields", +"properties": { +"breakdown": { +"description": "Dimensions which are compatible to be selected in the \"breakdown\" section of the report.", +"items": { +"$ref": "Dimension" +}, +"type": "array" +}, +"dimensionFilters": { +"description": "Dimensions which are compatible to be selected in the \"dimensionFilters\" section of the report.", +"items": { +"$ref": "Dimension" +}, +"type": "array" +}, +"kind": { +"description": "The kind of resource this is, in this case dfareporting#crossDimensionReachReportCompatibleFields.", +"type": "string" +}, +"metrics": { +"description": "Metrics which are compatible to be selected in the \"metricNames\" section of the report.", +"items": { +"$ref": "Metric" +}, +"type": "array" +}, +"overlapMetrics": { +"description": "Metrics which are compatible to be selected in the \"overlapMetricNames\" section of the report.", +"items": { +"$ref": "Metric" +}, +"type": "array" +} +}, +"type": "object" +}, +"CrossMediaReachReportCompatibleFields": { +"description": "Represents fields that are compatible to be selected for a report of type \"CROSS_MEDIA_REACH\".", +"id": "CrossMediaReachReportCompatibleFields", +"properties": { +"dimensionFilters": { +"description": "Dimensions which are compatible to be selected in the \"dimensionFilters\" section of the report.", +"items": { +"$ref": "Dimension" +}, +"type": "array" +}, +"dimensions": { +"description": "Dimensions which are compatible to be selected in the \"dimensions\" section of the report.", +"items": { +"$ref": "Dimension" +}, +"type": "array" +}, +"kind": { +"description": "The kind of resource this is, in this case dfareporting#crossMediaReachReportCompatibleFields.", +"type": "string" +}, +"metrics": { +"description": "Metrics which are compatible to be selected in the \"metricNames\" section of the report.", +"items": { +"$ref": "Metric" +}, +"type": "array" +} +}, +"type": "object" +}, +"CustomFloodlightVariable": { +"description": "A custom floodlight variable. Can be used in both batchinsert and batchupdate. Adding this in batchupdate will update or append the variable to the existing list.", +"id": "CustomFloodlightVariable", +"properties": { +"kind": { +"description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#customFloodlightVariable\".", +"type": "string" +}, +"type": { +"description": "The type of custom floodlight variable to supply a value for. These map to the \"u[1-100]=\" in the tags.", +"enum": [ +"U1", +"U2", +"U3", +"U4", +"U5", +"U6", +"U7", +"U8", +"U9", +"U10", +"U11", +"U12", +"U13", +"U14", +"U15", +"U16", +"U17", +"U18", +"U19", +"U20", +"U21", +"U22", +"U23", +"U24", +"U25", +"U26", +"U27", +"U28", +"U29", +"U30", +"U31", +"U32", +"U33", +"U34", +"U35", +"U36", +"U37", +"U38", +"U39", +"U40", +"U41", +"U42", +"U43", +"U44", +"U45", +"U46", +"U47", +"U48", +"U49", +"U50", +"U51", +"U52", +"U53", +"U54", +"U55", +"U56", +"U57", +"U58", +"U59", +"U60", +"U61", +"U62", +"U63", +"U64", +"U65", +"U66", +"U67", +"U68", +"U69", +"U70", +"U71", +"U72", +"U73", +"U74", +"U75", +"U76", +"U77", +"U78", +"U79", +"U80", +"U81", +"U82", +"U83", +"U84", +"U85", +"U86", +"U87", +"U88", +"U89", +"U90", +"U91", +"U92", +"U93", +"U94", +"U95", +"U96", +"U97", +"U98", +"U99", +"U100" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"" +], +"type": "string" +}, +"value": { +"description": "The value of the custom floodlight variable. The length of string must not exceed 100 characters.", +"type": "string" +} +}, +"type": "object" +}, +"CustomRichMediaEvents": { +"description": "Represents a Custom Rich Media Events group.", +"id": "CustomRichMediaEvents", +"properties": { +"filteredEventIds": { +"description": "List of custom rich media event IDs. Dimension values must be all of type dfa:richMediaEventTypeIdAndName.", +"items": { +"$ref": "DimensionValue" +}, +"type": "array" +}, +"kind": { +"description": "The kind of resource this is, in this case dfareporting#customRichMediaEvents.", +"type": "string" +} +}, +"type": "object" +}, +"CustomRule": { +"description": "Contains custom rule information.", +"id": "CustomRule", +"properties": { +"name": { +"description": "Optional. Name of this custom rule.", +"type": "string" +}, +"priority": { +"description": "Optional. Priority of the custom rule.", +"format": "int32", +"type": "integer" +}, +"ruleBlocks": { +"description": "Optional. A list of field filter, the custom rule will apply.", +"items": { +"$ref": "RuleBlock" +}, +"type": "array" +} +}, +"type": "object" +}, +"CustomValueField": { +"description": "Contains custom value field information.", +"id": "CustomValueField", +"properties": { +"fieldId": { +"description": "Optional. Field ID in the element.", +"format": "int32", +"type": "integer" +}, +"requestKey": { +"description": "Optional. Custom key used to match for auto filtering.", +"type": "string" +} +}, +"type": "object" +}, +"CustomViewabilityMetric": { +"description": "Custom Viewability Metric", +"id": "CustomViewabilityMetric", +"properties": { +"configuration": { +"$ref": "CustomViewabilityMetricConfiguration", +"description": "Configuration of the custom viewability metric." +}, +"id": { +"description": "ID of the custom viewability metric.", +"format": "int64", +"type": "string" +}, +"name": { +"description": "Name of the custom viewability metric.", +"type": "string" +} +}, +"type": "object" +}, +"CustomViewabilityMetricConfiguration": { +"description": "The attributes, like playtime and percent onscreen, that define the Custom Viewability Metric.", +"id": "CustomViewabilityMetricConfiguration", +"properties": { +"audible": { +"description": "Whether the video must be audible to count an impression.", +"type": "boolean" +}, +"timeMillis": { +"description": "The time in milliseconds the video must play for the Custom Viewability Metric to count an impression. If both this and timePercent are specified, the earlier of the two will be used.", +"format": "int32", +"type": "integer" +}, +"timePercent": { +"description": "The percentage of video that must play for the Custom Viewability Metric to count an impression. If both this and timeMillis are specified, the earlier of the two will be used.", +"format": "int32", +"type": "integer" +}, +"viewabilityPercent": { +"description": "The percentage of video that must be on screen for the Custom Viewability Metric to count an impression.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"DateRange": { +"description": "Represents a date range.", +"id": "DateRange", +"properties": { +"endDate": { +"format": "date", +"type": "string" +}, +"kind": { +"description": "The kind of resource this is, in this case dfareporting#dateRange.", +"type": "string" +}, +"relativeDateRange": { +"description": "The date range relative to the date of when the report is run.", +"enum": [ +"TODAY", +"YESTERDAY", +"WEEK_TO_DATE", +"MONTH_TO_DATE", +"QUARTER_TO_DATE", +"YEAR_TO_DATE", +"PREVIOUS_WEEK", +"PREVIOUS_MONTH", +"PREVIOUS_QUARTER", +"PREVIOUS_YEAR", +"LAST_7_DAYS", +"LAST_30_DAYS", +"LAST_90_DAYS", +"LAST_365_DAYS", +"LAST_24_MONTHS", +"LAST_14_DAYS", +"LAST_60_DAYS" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"" +], +"type": "string" +}, +"startDate": { +"format": "date", +"type": "string" +} +}, +"type": "object" +}, +"DayPartTargeting": { +"description": "Day Part Targeting.", +"id": "DayPartTargeting", +"properties": { +"daysOfWeek": { +"description": "Days of the week when the ad will serve. Acceptable values are: - \"SUNDAY\" - \"MONDAY\" - \"TUESDAY\" - \"WEDNESDAY\" - \"THURSDAY\" - \"FRIDAY\" - \"SATURDAY\" ", +"items": { +"enum": [ +"SUNDAY", +"MONDAY", +"TUESDAY", +"WEDNESDAY", +"THURSDAY", +"FRIDAY", +"SATURDAY" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"", +"" +], +"type": "string" +}, +"type": "array" +}, +"hoursOfDay": { +"description": "Hours of the day when the ad will serve, where 0 is midnight to 1 AM and 23 is 11 PM to midnight. Can be specified with days of week, in which case the ad would serve during these hours on the specified days. For example if Monday, Wednesday, Friday are the days of week specified and 9-10am, 3-5pm (hours 9, 15, and 16) is specified, the ad would serve Monday, Wednesdays, and Fridays at 9-10am and 3-5pm. Acceptable values are 0 to 23, inclusive.", +"items": { +"format": "int32", +"type": "integer" +}, +"type": "array" +}, +"userLocalTime": { +"description": "Whether or not to use the user's local time. If false, the America/New York time zone applies.", +"type": "boolean" +} +}, +"type": "object" +}, +"DeepLink": { +"description": "Contains information about a landing page deep link.", +"id": "DeepLink", +"properties": { +"appUrl": { +"description": "The URL of the mobile app being linked to.", +"type": "string" +}, +"fallbackUrl": { +"description": "The fallback URL. This URL will be served to users who do not have the mobile app installed.", +"type": "string" +}, +"kind": { +"description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#deepLink\".", +"type": "string" +}, +"mobileApp": { +"$ref": "MobileApp", +"description": "The mobile app targeted by this deep link." +}, +"remarketingListIds": { +"description": "Ads served to users on these remarketing lists will use this deep link. Applicable when mobileApp.directory is APPLE_APP_STORE.", +"items": { +"format": "int64", +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"DefaultClickThroughEventTagProperties": { +"description": "Properties of inheriting and overriding the default click-through event tag. A campaign may override the event tag defined at the advertiser level, and an ad may also override the campaign's setting further.", +"id": "DefaultClickThroughEventTagProperties", +"properties": { +"defaultClickThroughEventTagId": { +"description": "ID of the click-through event tag to apply to all ads in this entity's scope.", +"format": "int64", +"type": "string" +}, +"overrideInheritedEventTag": { +"description": "Whether this entity should override the inherited default click-through event tag with its own defined value.", +"type": "boolean" +} +}, +"type": "object" +}, +"DeliverySchedule": { +"description": "Delivery Schedule.", +"id": "DeliverySchedule", +"properties": { +"frequencyCap": { +"$ref": "FrequencyCap", +"description": "Limit on the number of times an individual user can be served the ad within a specified period of time." +}, +"hardCutoff": { +"description": "Whether or not hard cutoff is enabled. If true, the ad will not serve after the end date and time. Otherwise the ad will continue to be served until it has reached its delivery goals.", +"type": "boolean" +}, +"impressionRatio": { +"description": "Impression ratio for this ad. This ratio determines how often each ad is served relative to the others. For example, if ad A has an impression ratio of 1 and ad B has an impression ratio of 3, then Campaign Manager will serve ad B three times as often as ad A. Acceptable values are 1 to 10, inclusive.", +"format": "int64", +"type": "string" +}, +"priority": { +"description": "Serving priority of an ad, with respect to other ads. The lower the priority number, the greater the priority with which it is served.", +"enum": [ +"AD_PRIORITY_01", +"AD_PRIORITY_02", +"AD_PRIORITY_03", +"AD_PRIORITY_04", +"AD_PRIORITY_05", +"AD_PRIORITY_06", +"AD_PRIORITY_07", +"AD_PRIORITY_08", +"AD_PRIORITY_09", +"AD_PRIORITY_10", +"AD_PRIORITY_11", +"AD_PRIORITY_12", +"AD_PRIORITY_13", +"AD_PRIORITY_14", +"AD_PRIORITY_15", +"AD_PRIORITY_16" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"" +], +"type": "string" +} +}, +"type": "object" +}, +"DependentFieldValue": { +"description": "Contains dependent field value information.", +"id": "DependentFieldValue", +"properties": { +"elementId": { +"description": "Optional. The ID of the element that value's field will match against.", +"format": "int64", +"type": "string" +}, +"fieldId": { +"description": "Optional. The field id of the dependent field.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"DfareportingStudioCreativeAssetsInsertRequest": { +"description": "Request message for DfareportingStudioCreativeAssets.Insert.", +"id": "DfareportingStudioCreativeAssetsInsertRequest", +"properties": { +"studioAccountId": { +"description": "Optional. Studio account ID of the studio creative asset. It is a optional.", +"format": "int64", +"type": "string" +}, +"studioAdvertiserId": { +"description": "Required. Studio advertiser ID of the studio creative asset. It is a required field on insertion.", +"format": "int64", +"type": "string" +}, +"studioCreativeId": { +"description": "Optional. Studio creative ID of the studio creative asset. It is a optional field. If it is set, the asset will be associated to the creative.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"DfpSettings": { +"description": "Google Ad Manager Settings", +"id": "DfpSettings", +"properties": { +"dfpNetworkCode": { +"description": "Ad Manager network code for this directory site.", +"type": "string" +}, +"dfpNetworkName": { +"description": "Ad Manager network name for this directory site.", +"type": "string" +}, +"programmaticPlacementAccepted": { +"description": "Whether this directory site accepts programmatic placements.", +"type": "boolean" +}, +"pubPaidPlacementAccepted": { +"description": "Whether this directory site accepts publisher-paid tags.", +"type": "boolean" +}, +"publisherPortalOnly": { +"description": "Whether this directory site is available only via Publisher Portal.", +"type": "boolean" +} +}, +"type": "object" +}, +"Dimension": { +"description": "Represents a dimension.", +"id": "Dimension", +"properties": { +"kind": { +"description": "The kind of resource this is, in this case dfareporting#dimension.", +"type": "string" +}, +"name": { +"description": "The dimension name, e.g. advertiser", +"type": "string" +} +}, +"type": "object" +}, +"DimensionFilter": { +"description": "Represents a dimension filter.", +"id": "DimensionFilter", +"properties": { +"dimensionName": { +"description": "The name of the dimension to filter.", +"type": "string" +}, +"kind": { +"description": "The kind of resource this is, in this case dfareporting#dimensionFilter.", +"type": "string" +}, +"value": { +"description": "The value of the dimension to filter.", +"type": "string" +} +}, +"type": "object" +}, +"DimensionValue": { +"description": "Represents a DimensionValue resource.", +"id": "DimensionValue", +"properties": { +"dimensionName": { +"description": "The name of the dimension.", +"type": "string" +}, +"etag": { +"description": "The eTag of this response for caching purposes.", +"type": "string" +}, +"id": { +"description": "The ID associated with the value if available.", +"type": "string" +}, +"kind": { +"description": "The kind of resource this is, in this case dfareporting#dimensionValue.", +"type": "string" +}, +"matchType": { +"description": "Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.", +"enum": [ +"EXACT", +"BEGINS_WITH", +"CONTAINS", +"WILDCARD_EXPRESSION" +], +"enumDescriptions": [ +"", +"", +"", +"" +], +"type": "string" +}, +"value": { +"description": "The value of the dimension.", +"type": "string" +} +}, +"type": "object" +}, +"DimensionValueList": { +"description": "Represents the list of DimensionValue resources.", +"id": "DimensionValueList", +"properties": { +"etag": { +"description": "The eTag of this response for caching purposes.", +"type": "string" +}, +"items": { +"description": "The dimension values returned in this response.", +"items": { +"$ref": "DimensionValue" +}, +"type": "array" +}, +"kind": { +"description": "The kind of list this is, in this case dfareporting#dimensionValueList.", +"type": "string" +}, +"nextPageToken": { +"description": "Continuation token used to page through dimension values. To retrieve the next page of results, set the next request's \"pageToken\" to the value of this field. The page token is only valid for a limited amount of time and should not be persisted.", +"type": "string" +} +}, +"type": "object" +}, +"DimensionValueRequest": { +"description": "Represents a DimensionValuesRequest.", +"id": "DimensionValueRequest", +"properties": { +"dimensionName": { +"description": "The name of the dimension for which values should be requested.", +"type": "string" +}, +"endDate": { +"format": "date", +"type": "string" +}, +"filters": { +"description": "The list of filters by which to filter values. The filters are ANDed.", +"items": { +"$ref": "DimensionFilter" +}, +"type": "array" +}, +"kind": { +"description": "The kind of request this is, in this case dfareporting#dimensionValueRequest .", +"type": "string" +}, +"startDate": { +"format": "date", +"type": "string" +} +}, +"type": "object" +}, +"DirectorySite": { +"description": "DirectorySites contains properties of a website from the Site Directory. Sites need to be added to an account via the Sites resource before they can be assigned to a placement.", +"id": "DirectorySite", +"properties": { +"id": { +"description": "ID of this directory site. This is a read-only, auto-generated field.", +"format": "int64", +"type": "string" +}, +"idDimensionValue": { +"$ref": "DimensionValue", +"description": "Dimension value for the ID of this directory site. This is a read-only, auto-generated field." +}, +"inpageTagFormats": { +"description": "Tag types for regular placements. Acceptable values are: - \"STANDARD\" - \"IFRAME_JAVASCRIPT_INPAGE\" - \"INTERNAL_REDIRECT_INPAGE\" - \"JAVASCRIPT_INPAGE\" ", +"items": { +"enum": [ +"STANDARD", +"IFRAME_JAVASCRIPT_INPAGE", +"INTERNAL_REDIRECT_INPAGE", +"JAVASCRIPT_INPAGE" +], +"enumDescriptions": [ +"", +"", +"", +"" +], +"type": "string" +}, +"type": "array" +}, +"interstitialTagFormats": { +"description": "Tag types for interstitial placements. Acceptable values are: - \"IFRAME_JAVASCRIPT_INTERSTITIAL\" - \"INTERNAL_REDIRECT_INTERSTITIAL\" - \"JAVASCRIPT_INTERSTITIAL\" ", +"items": { +"enum": [ +"IFRAME_JAVASCRIPT_INTERSTITIAL", +"INTERNAL_REDIRECT_INTERSTITIAL", +"JAVASCRIPT_INTERSTITIAL" +], +"enumDescriptions": [ +"", +"", +"" +], +"type": "string" +}, +"type": "array" +}, +"kind": { +"description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#directorySite\".", +"type": "string" +}, +"name": { +"description": "Name of this directory site.", +"type": "string" +}, +"publisherSpecificationId": { +"description": "Output only. Default publisher specification ID of video placements under this directory site. Possible values are: * `1`, Hulu * `2`, NBC * `3`, CBS * `4`, CBS Desktop * `5`, Discovery * `6`, VEVO HD * `7`, VEVO Vertical * `8`, Fox * `9`, CW Network * `10`, Disney * `11`, IGN * `12`, NFL.com * `13`, Turner Broadcasting * `14`, Tubi on Fox * `15`, Hearst Corporation * `16`, Twitch Desktop * `17`, ABC * `18`, Univision * `19`, MLB.com * `20`, MLB.com Mobile * `21`, MLB.com OTT * `22`, Polsat * `23`, TVN * `24`, Mediaset * `25`, Antena 3 * `26`, Mediamond * `27`, Sky Italia * `28`, Tubi on CBS * `29`, Spotify * `30`, Paramount * `31`, Max", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"settings": { +"$ref": "DirectorySiteSettings", +"description": "Directory site settings." +}, +"url": { +"description": "URL of this directory site.", +"type": "string" +} +}, +"type": "object" +}, +"DirectorySiteSettings": { +"description": "Directory Site Settings", +"id": "DirectorySiteSettings", +"properties": { +"activeViewOptOut": { +"description": "Whether this directory site has disabled active view creatives.", +"type": "boolean" +}, +"dfpSettings": { +"$ref": "DfpSettings", +"description": "Directory site Ad Manager settings." +}, +"instreamVideoPlacementAccepted": { +"description": "Whether this site accepts in-stream video ads.", +"type": "boolean" +}, +"interstitialPlacementAccepted": { +"description": "Whether this site accepts interstitial ads.", +"type": "boolean" +} +}, +"type": "object" +}, +"DirectorySitesListResponse": { +"description": "Directory Site List Response", +"id": "DirectorySitesListResponse", +"properties": { +"directorySites": { +"description": "Directory site collection.", +"items": { +"$ref": "DirectorySite" +}, +"type": "array" +}, +"kind": { +"description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#directorySitesListResponse\".", +"type": "string" +}, +"nextPageToken": { +"description": "Pagination token to be used for the next list operation.", +"type": "string" +} +}, +"type": "object" +}, +"DynamicFeed": { +"description": " *Beta:* This API resource is available only to a very limited number of customers. If you'd like to use this resource, please reach out to your Google sales representative. Contains dynamic feed information.", +"id": "DynamicFeed", +"properties": { +"contentSource": { +"$ref": "ContentSource", +"description": "Required. The content source of the dynamic feed. This is a required field." +}, +"createInfo": { +"$ref": "LastModifiedInfo", +"description": "Output only. The creation timestamp of the dynamic feed. This is a read-only field.", +"readOnly": true +}, +"dynamicFeedId": { +"description": "Output only. Unique ID of this dynamic feed. This is a read-only, auto-generated field.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"dynamicFeedName": { +"description": "Optional. Name of this dynamic feed. It is defaulted to content source file name if not provided.", +"type": "string" +}, +"element": { +"$ref": "Element", +"description": "Required. The element of the dynamic feed that is to specify the schema of the feed. This is a required field." +}, +"feedIngestionStatus": { +"$ref": "FeedIngestionStatus", +"description": "Output only. The ingestion status of the dynamic feed. This is a read-only field.", +"readOnly": true +}, +"feedSchedule": { +"$ref": "FeedSchedule", +"description": "Optional. The schedule of the dynamic feed. It can be set if the feed is published." +}, +"hasPublished": { +"description": "Output only. Indicates whether the dynamic feed has a published version. This is a read-only field.", +"readOnly": true, +"type": "boolean" +}, +"lastModifiedInfo": { +"$ref": "LastModifiedInfo", +"description": "Output only. The last modified timestamp of the dynamic feed. This is a read-only field.", +"readOnly": true +}, +"status": { +"description": "Output only. The status of the feed. It is a read-only field that depends on the the feed ingestion status. The default value is INACTIVE, and it will be updated to ACTIVE once the feed is ingested successfully.", +"enum": [ +"STATUS_UNKNOWN", +"ACTIVE", +"INACTIVE", +"DELETED" +], +"enumDescriptions": [ +"The status is unknown.", +"The feedstatus is active.", +"The feed status is inactive.", +"The feed status is deleted." +], +"readOnly": true, +"type": "string" +}, +"studioAdvertiserId": { +"description": "Required. Advertiser ID of this dynamic feed. This is a required field.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"DynamicFeedsInsertRequest": { +"description": "Dynamic profile ID is required for dynamic feed insert as the current GPA API only can create a dynamic feed under profile context,even though the dynamic feed itself don't need the dynamic profile id.", +"id": "DynamicFeedsInsertRequest", +"properties": { +"dynamicFeed": { +"$ref": "DynamicFeed", +"description": "Required. Dynamic feed to insert." +}, +"dynamicProfileId": { +"description": "Required. Dynamic profile ID of the inserted dynamic feed.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"DynamicProfile": { +"description": " *Beta:* This API resource is available only to a very limited number of customers. If you'd like to use this resource, please reach out to your Google sales representative. Contains dynamic profile information.", +"id": "DynamicProfile", +"properties": { +"active": { +"$ref": "DynamicProfileVersion", +"description": "Optional. Active version of the dynamic profile." +}, +"archiveStatus": { +"description": "Optional. Archive status of this dynamic profile.", +"enum": [ +"ARCHIVE_STATUS_UNKNOWN", +"UNARCHIVED", +"ARCHIVED" +], +"enumDescriptions": [ +"The dynamic profile archive status is unknown. This value is unused.", +"The dynamic profile archive status is unarchived.", +"The dynamic profile archive status is archived." +], +"type": "string" +}, +"createInfo": { +"$ref": "LastModifiedInfo", +"description": "Output only. The creation timestamp of the dynamic profile. This is a read-only field.", +"readOnly": true +}, +"description": { +"description": "Optional. Description of this dynamic profile.", +"type": "string" +}, +"draft": { +"$ref": "DynamicProfileVersion", +"description": "Optional. Draft version of the dynamic profile." +}, +"dynamicProfileId": { +"description": "Output only. Unique ID of this dynamic profile. This is a read-only, auto-generated field.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"kind": { +"description": "Output only. Identifies what kind of resource this is. Value: the fixed string \"dfareporting#dynamicProfile\".", +"readOnly": true, +"type": "string" +}, +"lastModifiedInfo": { +"$ref": "LastModifiedInfo", +"description": "Output only. The last modified timestamp of the dynamic profile. This is a read-only field.", +"readOnly": true +}, +"name": { +"description": "Required. Identifier. Name of this dynamic profile. This is a required field and must be less than 256 characters long.", +"type": "string" +}, +"status": { +"description": "Optional. Status of this dynamic profile.", +"enum": [ +"STATUS_UNKNOWN", +"ACTIVE", +"INACTIVE", +"DELETED" +], +"enumDescriptions": [ +"The dynamic profile status is unknown. This value is unused.", +"The dynamic profile is active.", +"The dynamic profile is inactive.", +"The dynamic profile is deleted." +], +"type": "string" +}, +"studioAdvertiserId": { +"description": "Required. Advertiser ID of this dynamic profile. This is a required field on insertion.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"DynamicProfileFeedSettings": { +"description": "Contains dynamic profile specific settings for an associated dynamic feed.", +"id": "DynamicProfileFeedSettings", +"properties": { +"dynamicFeedId": { +"description": "Optional. Dynamic feed ID associated with dynamic profile version.", +"format": "int64", +"type": "string" +}, +"dynamicRules": { +"$ref": "DynamicRules", +"description": "Optional. Dynamic rules for row selection for the given dynamic feed in the given dynamic profile." +}, +"quantity": { +"description": "Optional. The number of this dynamic feed rows needed by the dynamic profile, default value is 1. Acceptable values are between 1 to 99, inclusive.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"DynamicProfileGenerateCodeResponse": { +"description": "Response message for DfareportingDynamicProfiles.GenerateCode.", +"id": "DynamicProfileGenerateCodeResponse", +"properties": { +"code": { +"description": "Generated code for the dynamic profile. The code will need to be unescaped.", +"type": "string" +} +}, +"type": "object" +}, +"DynamicProfileVersion": { +"description": "Contains dynamic profile version information.", +"id": "DynamicProfileVersion", +"properties": { +"dynamicProfileFeedSettings": { +"description": "Optional. Associated dynamic feeds and their settings (including dynamic rules) for this dynamic profile version.", +"items": { +"$ref": "DynamicProfileFeedSettings" +}, +"type": "array" +}, +"versionId": { +"description": "Output only. Version ID of this dynamic profile version. This is a read-only, auto-generated field. -1 for draft version, 0+ for published versions.", +"format": "int64", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"DynamicRules": { +"description": "Contains dynamic rules information.", +"id": "DynamicRules", +"properties": { +"autoTargetedFieldIds": { +"description": "Optional. List of field IDs in this element that should be auto-targeted. Applicable when rule type is AUTO.", +"items": { +"format": "int32", +"type": "integer" +}, +"type": "array" +}, +"customRules": { +"description": "Optional. The custom rules of the dynamic feed, only applicable when rule type is CUSTOM.", +"items": { +"$ref": "CustomRule" +}, +"type": "array" +}, +"customValueFields": { +"description": "Optional. Mapping between field ID and custom key that are used to match for auto filtering.", +"items": { +"$ref": "CustomValueField" +}, +"type": "array" +}, +"proximityFilter": { +"$ref": "ProximityFilter", +"description": "Optional. The proximity targeting rules of the dynamic feed, only applicable when rule type is PROXIMITY_TARGETING." +}, +"remarketingValueAttributes": { +"description": "Optional. The link between an element field ID and a list of user attribute IDs.", +"items": { +"$ref": "RemarketingValueAttribute" +}, +"type": "array" +}, +"rotationType": { +"description": "Optional. The rotation type to select from eligible rows. Rotation type only apply when the filtering rule results in more than one eligible rows.", +"enum": [ +"ROTATION_TYPE_UNKNOWN", +"RANDOM", +"OPTIMIZED", +"WEIGHTED" +], +"enumDescriptions": [ +"The rotation type is unknown. This value is unused.", +"The rotation type is random. It is the default value.", +"The rotation type is optimized.", +"The rotation type is weighted." +], +"type": "string" +}, +"ruleType": { +"description": "Optional. The type of the rule, the default value is OPEN.", +"enum": [ +"RULE_SET_TYPE_UNKNOWN", +"OPEN", +"AUTO", +"CUSTOM", +"PROXIMITY_TARGETING" +], +"enumDescriptions": [ +"The rule type is unknown. This value is unused.", +"The rule type is open, all feed rows are eligible for selection. This is the default value.", +"The rule type is auto, the feed rows are eligible for selection based on the automatic rules.", +"The rule type is custom, the feed rows are eligible for selection based on the custom rules.", +"The rule type is proximity targeting, the feed rows are eligible for selection based on the proximity targeting rules." +], +"type": "string" +}, +"weightFieldId": { +"description": "Optional. The field ID for the feed that will be used for weighted rotation, only applicable when rotation type is WEIGHTED.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"DynamicTargetingKey": { +"description": "Contains properties of a dynamic targeting key. Dynamic targeting keys are unique, user-friendly labels, created at the advertiser level in DCM, that can be assigned to ads, creatives, and placements and used for targeting with Studio dynamic creatives. Use these labels instead of numeric Campaign Manager IDs (such as placement IDs) to save time and avoid errors in your dynamic feeds.", +"id": "DynamicTargetingKey", +"properties": { +"kind": { +"description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#dynamicTargetingKey\".", +"type": "string" +}, +"name": { +"description": "Name of this dynamic targeting key. This is a required field. Must be less than 256 characters long and cannot contain commas. All characters are converted to lowercase.", +"type": "string" +}, +"objectId": { +"description": "ID of the object of this dynamic targeting key. This is a required field.", +"format": "int64", +"type": "string" +}, +"objectType": { +"description": "Type of the object of this dynamic targeting key. This is a required field.", +"enum": [ +"OBJECT_ADVERTISER", +"OBJECT_AD", +"OBJECT_CREATIVE", +"OBJECT_PLACEMENT" +], +"enumDescriptions": [ +"", +"", +"", +"" +], +"type": "string" +} +}, +"type": "object" +}, +"DynamicTargetingKeysListResponse": { +"description": "Dynamic Targeting Key List Response", +"id": "DynamicTargetingKeysListResponse", +"properties": { +"dynamicTargetingKeys": { +"description": "Dynamic targeting key collection.", +"items": { +"$ref": "DynamicTargetingKey" +}, +"type": "array" +}, +"kind": { +"description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#dynamicTargetingKeysListResponse\".", +"type": "string" +} +}, +"type": "object" +}, +"Element": { +"description": "Contains the element of the dynamic feed.", +"id": "Element", +"properties": { +"activeFieldId": { +"description": "Optional. The field ID to specify the active field in the feed.", +"format": "int32", +"type": "integer" +}, +"createInfo": { +"$ref": "LastModifiedInfo", +"description": "Output only. The creation timestamp of the element. This is a read-only field.", +"readOnly": true +}, +"defaultFieldId": { +"description": "Optional. The field ID to specify the field that represents the default field in the feed.", +"format": "int32", +"type": "integer" +}, +"elementName": { +"description": "Optional. The name of the element. It is defaulted to resource file name if not provided.", +"type": "string" +}, +"endTimestampFieldId": { +"description": "Optional. The field ID to specify the field that represents the end timestamp. Only applicable if you're planning to use scheduling in your dynamic creative.", +"format": "int32", +"type": "integer" +}, +"externalIdFieldId": { +"description": "Required. The field ID to specify the field used for uniquely identifying the feed row. This is a required field.", +"format": "int32", +"type": "integer" +}, +"feedFields": { +"description": "Required. The list of fields of the element. The field order and name should match the meta data in the content source source.", +"items": { +"$ref": "FeedField" +}, +"type": "array" +}, +"isLocalTimestamp": { +"description": "Optional. Whether the start and end timestamp is local timestamp. The default value is false which means start and end timestamp is in UTC.", +"type": "boolean" +}, +"lastModifiedInfo": { +"$ref": "LastModifiedInfo", +"description": "Output only. The last modified timestamp of the element. This is a read-only field.", +"readOnly": true +}, +"proximityTargetingFieldId": { +"description": "Optional. The field ID that specify field used for proximity targeting.", +"format": "int32", +"type": "integer" +}, +"reportingLabelFieldId": { +"description": "Required. The field ID to specify the field used for dynamic reporting in Campaign Manager 360.", +"format": "int32", +"type": "integer" +}, +"startTimestampFieldId": { +"description": "Optional. The field ID to specify the field that represents the start timestamp. Only applicable if you're planning to use scheduling in your dynamic creative.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"EncryptionInfo": { +"description": "A description of how user IDs are encrypted.", +"id": "EncryptionInfo", +"properties": { +"encryptionEntityId": { +"description": "The encryption entity ID. This should match the encryption configuration for ad serving or Data Transfer.", +"format": "int64", +"type": "string" +}, +"encryptionEntityType": { +"description": "The encryption entity type. This should match the encryption configuration for ad serving or Data Transfer.", +"enum": [ +"ENCRYPTION_ENTITY_TYPE_UNKNOWN", +"DCM_ACCOUNT", +"DCM_ADVERTISER", +"DBM_PARTNER", +"DBM_ADVERTISER", +"ADWORDS_CUSTOMER", +"DFP_NETWORK_CODE" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"", +"" +], +"type": "string" +}, +"encryptionSource": { +"description": "Describes whether the encrypted cookie was received from ad serving (the %m macro) or from Data Transfer.", +"enum": [ +"ENCRYPTION_SCOPE_UNKNOWN", +"AD_SERVING", +"DATA_TRANSFER" +], +"enumDescriptions": [ +"", +"", +"" +], +"type": "string" +}, +"kind": { +"description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#encryptionInfo\".", +"type": "string" +} +}, +"type": "object" +}, +"EventTag": { +"description": "Contains properties of an event tag.", +"id": "EventTag", +"properties": { +"accountId": { +"description": "Account ID of this event tag. This is a read-only field that can be left blank.", +"format": "int64", +"type": "string" +}, +"advertiserId": { +"description": "Advertiser ID of this event tag. This field or the campaignId field is required on insertion.", +"format": "int64", +"type": "string" +}, +"advertiserIdDimensionValue": { +"$ref": "DimensionValue", +"description": "Dimension value for the ID of the advertiser. This is a read-only, auto-generated field." +}, +"campaignId": { +"description": "Campaign ID of this event tag. This field or the advertiserId field is required on insertion.", +"format": "int64", +"type": "string" +}, +"campaignIdDimensionValue": { +"$ref": "DimensionValue", +"description": "Dimension value for the ID of the campaign. This is a read-only, auto-generated field." +}, +"enabledByDefault": { +"description": "Whether this event tag should be automatically enabled for all of the advertiser's campaigns and ads.", +"type": "boolean" +}, +"excludeFromAdxRequests": { +"description": "Whether to remove this event tag from ads that are trafficked through Display & Video 360 to Ad Exchange. This may be useful if the event tag uses a pixel that is unapproved for Ad Exchange bids on one or more networks, such as the Google Display Network.", +"type": "boolean" +}, +"id": { +"description": "ID of this event tag. This is a read-only, auto-generated field.", +"format": "int64", +"type": "string" +}, +"kind": { +"description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#eventTag\".", +"type": "string" +}, +"name": { +"description": "Name of this event tag. This is a required field and must be less than 256 characters long.", +"type": "string" +}, +"siteFilterType": { +"description": "Site filter type for this event tag. If no type is specified then the event tag will be applied to all sites.", +"enum": [ +"ALLOWLIST", +"BLOCKLIST" +], +"enumDescriptions": [ +"The event tag should only ever fire on specified sites.", +"The event tag should fire on all sites EXCEPT the specified sites." +], +"type": "string" +}, +"siteIds": { +"description": "Filter list of site IDs associated with this event tag. The siteFilterType determines whether this is a allowlist or blocklist filter.", +"items": { +"format": "int64", +"type": "string" +}, +"type": "array" +}, +"sslCompliant": { +"description": "Whether this tag is SSL-compliant or not. This is a read-only field.", +"type": "boolean" +}, +"status": { +"description": "Status of this event tag. Must be ENABLED for this event tag to fire. This is a required field.", +"enum": [ +"ENABLED", +"DISABLED" +], +"enumDescriptions": [ +"", +"" +], +"type": "string" +}, +"subaccountId": { +"description": "Subaccount ID of this event tag. This is a read-only field that can be left blank.", +"format": "int64", +"type": "string" +}, +"type": { +"description": "Event tag type. Can be used to specify whether to use a third-party pixel, a third-party JavaScript URL, or a third-party click-through URL for either impression or click tracking. This is a required field.", +"enum": [ +"IMPRESSION_IMAGE_EVENT_TAG", +"IMPRESSION_JAVASCRIPT_EVENT_TAG", +"CLICK_THROUGH_EVENT_TAG" +], +"enumDescriptions": [ +"A third-party pixel for impression tracking.", +"A third-party JavaScript URL for impression tracking.", +"A third-party URL for click tracking that redirects to the landing page." +], +"type": "string" +}, +"url": { +"description": "Payload URL for this event tag. The URL on a click-through event tag should have a landing page URL appended to the end of it. This field is required on insertion.", +"type": "string" +}, +"urlEscapeLevels": { +"description": "Number of times the landing page URL should be URL-escaped before being appended to the click-through event tag URL. Only applies to click-through event tags as specified by the event tag type.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"EventTagOverride": { +"description": "Event tag override information.", +"id": "EventTagOverride", +"properties": { +"enabled": { +"description": "Whether this override is enabled.", +"type": "boolean" +}, +"id": { +"description": "ID of this event tag override. This is a read-only, auto-generated field.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"EventTagsListResponse": { +"description": "Event Tag List Response", +"id": "EventTagsListResponse", +"properties": { +"eventTags": { +"description": "Event tag collection.", +"items": { +"$ref": "EventTag" +}, +"type": "array" +}, +"kind": { +"description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#eventTagsListResponse\".", +"type": "string" +} +}, +"type": "object" +}, +"FeedField": { +"description": "Each field of the element. This is a required field.", +"id": "FeedField", +"properties": { +"defaultValue": { +"description": "Optional. The default value of the field.", +"type": "string" +}, +"filterable": { +"description": "Optional. Whether the field is filterable. Could be set as true when the field type is any of the following and is not renderable: - STRING - BOOL - COUNTRY_CODE_ISO - CM360_SITE_ID - CM360_KEYWORD - CM360_CREATIVE_ID - CM360_PLACEMENT_ID - CM360_AD_ID - CM360_ADVERTISER_ID - CM360_CAMPAIGN_ID - CITY - REGION - POSTAL_CODE - METRO - CUSTOM_VALUE - REMARKETING_VALUE - GEO_CANONICAL - STRING_LIST - CREATIVE_DIMENSION - USERLIST_ID - CM360_DYNAMIC_TARGETING_KEY - DV360_LINE_ITEM_ID ", +"type": "boolean" +}, +"id": { +"description": "Required. The ID of the field. The ID is based on the column index starting from 0, and it should match the column index in the resource link.", +"format": "int32", +"type": "integer" +}, +"name": { +"description": "Required. The name of the field.", +"type": "string" +}, +"renderable": { +"description": "Optional. Whether the field is able to display. Could be set as true when the field type is not in any of the following and the field is not filterable: - COUNTRY_CODE_ISO - CITY - REGION - POSTAL_CODE - METRO - GEO_CANONICAL - USERLIST_ID - CONTEXTUAL_KEYWORD - CM360_DYNAMIC_TARGETING_KEY - WEIGHT ", +"type": "boolean" +}, +"required": { +"description": "Optional. Whether the field is required and should not be empty in the feed. Could be set as true when the field type is any of the following: - GPA_SERVED_IMAGE_URL - GPA_SERVED_ASSET_URL - ASSET_LIBRARY_HANDLE - ASSET_LIBRARY_VIDEO_HANDLE - ASSET_LIBRARY_DIRECTORY_HANDLE ", +"type": "boolean" +}, +"type": { +"description": "Required. The type of the field.", +"enum": [ +"TYPE_UNKNOWN", +"STRING", +"LONG", +"GPA_SERVED_IMAGE_URL", +"GPA_SERVED_ASSET_URL", +"COUNTRY_CODE_ISO", +"FLOAT", +"CM360_KEYWORD", +"CM360_SITE_ID", +"BOOL", +"EXIT_URL", +"DATETIME", +"CM360_CREATIVE_ID", +"CM360_PLACEMENT_ID", +"CM360_AD_ID", +"CM360_ADVERTISER_ID", +"CM360_CAMPAIGN_ID", +"CITY", +"REGION", +"POSTAL_CODE", +"METRO", +"CUSTOM_VALUE", +"REMARKETING_VALUE", +"GEO_CANONICAL", +"WEIGHT", +"STRING_LIST", +"CREATIVE_DIMENSION", +"USERLIST_ID", +"ASSET_LIBRARY_DIRECTORY_HANDLE", +"ASSET_LIBRARY_VIDEO_HANDLE", +"ASSET_LIBRARY_HANDLE", +"THIRD_PARTY_SERVED_URL", +"CM360_DYNAMIC_TARGETING_KEY", +"DV360_LINE_ITEM_ID" +], +"enumDescriptions": [ +"The type is unspecified. This is an unused value.", +"The field type is text.", +"The field type is whole number.", +"The field type is image url", +"The field type is asset url.", +"The field type is the ISO 3166-2 alpha-2 codes. It is two-letter country codes defined in ISO 3166-1 published by the International Organization for Standardization.", +"The field type is decimal.", +"The field type is custom CM360 ad tag parameter.", +"The field type is CM360 site ID.", +"The field type is boolean.", +"The field type is exit url.", +"The field type is datetime.", +"The field type is CM360 creative ID.", +"The field type is CM360 placement ID.", +"The field type is CM360 ad ID.", +"The field type is CM360 advertiser ID.", +"The field type is CM360 campaign ID.", +"The field type is cities.", +"The field type is region.", +"The field type is postal code.", +"The field type is metro code.", +"The field type is custom value.", +"The field type is remarketing value.", +"The field type is accurate geographic type.", +"The field type is weight.", +"The field type is a list of values.", +"The field type is creative dimension.", +"The field type is CM/DV360 Audience ID.", +"The field type is AssetLibrary directory path.", +"The field type is AssetLibrary video file path.", +"The field type is AssetLibrary path.", +"The field type is third party served url.", +"The field type is CM dynamic targeting key.", +"The field type is DV360 line item ID." +], +"type": "string" +} +}, +"type": "object" +}, +"FeedIngestionStatus": { +"description": "Contains the ingestion status of the dynamic feed. Feed ingestion is an asynchronous process. If the feed create request is successful, feed ingestion will be processed in the background, including validation, assets retrieval, and saving the data from the resource link. The processing time is dependent on the data size in the resource link. This read-only status field contains the current stage of that processing and its ingestion state.", +"id": "FeedIngestionStatus", +"properties": { +"ingestionErrorRecords": { +"description": "Output only. The ingestion error records of the feed.", +"items": { +"$ref": "IngestionErrorRecord" +}, +"readOnly": true, +"type": "array" +}, +"ingestionStatus": { +"$ref": "IngestionStatus", +"description": "Output only. The ingestion status of the feed.", +"readOnly": true +}, +"state": { +"description": "Output only. The processing state of the feed.", +"enum": [ +"FEED_PROCESSING_STATE_UNKNOWN", +"CANCELLED", +"INGESTING_QUEUED", +"INGESTING", +"INGESTED_SUCCESS", +"INGESTED_FAILURE", +"REQUEST_TO_PUBLISH", +"PUBLISHING", +"PUBLISHED_SUCCESS", +"PUBLISHED_FAILURE" +], +"enumDescriptions": [ +"The feed processing state is unknown.", +"The feed processing state is cancelled.", +"The feed processing state is ingesting queued.", +"The feed processing state is ingesting.", +"The feed processing state is ingested successfully.", +"The feed processing state is ingested with failure.", +"The feed processing state is request to publish.", +"The feed processing state is publishing.", +"The feed processing state is published successfully.", +"The feed processing state is published with failure." +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"FeedSchedule": { +"description": "Contains the schedule of the dynamic feed.", +"id": "FeedSchedule", +"properties": { +"repeatValue": { +"description": "Optional. The number of times the feed retransforms within one day. This is a required field if the schedule is enabled. Acceptable values are between 1 to 6, inclusive.", +"format": "int64", +"type": "string" +}, +"scheduleEnabled": { +"description": "Optional. Whether the schedule is enabled.", +"type": "boolean" +}, +"startHour": { +"description": "Optional. The hour of the day to start the feed. It is applicable if the repeat value is equal to 1. Default value is 0.", +"type": "string" +}, +"startMinute": { +"description": "Optional. The minute of the hour to start the feed. It is applicable if the repeat value is equal to 1. Default value is 0.", +"type": "string" +}, +"timeZone": { +"description": "Optional. The time zone to schedule the feed. It is applicable if the repeat value is equal to 1. Default value is \"America/Los_Angeles\".", +"type": "string" +} +}, +"type": "object" +}, +"FieldError": { +"description": "Contains the field error of the dynamic feed.", +"id": "FieldError", +"properties": { +"fieldId": { +"description": "Output only. The ID of the field.", +"format": "int32", +"readOnly": true, +"type": "integer" +}, +"fieldName": { +"description": "Output only. The name of the field.", +"readOnly": true, +"type": "string" +}, +"fieldValues": { +"description": "Output only. The list of values of the field.", +"items": { +"type": "string" +}, +"readOnly": true, +"type": "array" +}, +"ingestionError": { +"description": "Output only. The ingestion error of the field.", +"enum": [ +"UNKNOWN_PARSING_ERROR", +"MISSING_ID", +"MISSING_REPORTING_LABEL", +"EMPTY_VALUE", +"ASSET_DOWNLOAD_ERROR", +"ID_TOO_LONG", +"DUPLICATE_ID", +"PARSING_ERROR", +"COUNTRY_PARSING_ERROR", +"LONG_PARSING_ERROR", +"BOOL_PARSING_ERROR", +"EXPANDED_URL_PARSING_ERROR", +"FLOAT_PARSING_ERROR", +"DATETIME_PARSING_ERROR", +"INVALID_PREFERENCE_VALUE", +"GEO_NOT_FOUND_ERROR", +"GEO_PARSING_ERROR", +"GEO_PROXIMITY_TARGETING_MULTIPLE_LOCATION_ERROR", +"POSTAL_CODE_PARSING_ERROR", +"METRO_CODE_PARSING_ERROR", +"DATETIME_WITHOUT_TIMEZONE_PARSING_ERROR", +"WEIGHT_PARSING_ERROR", +"CREATIVE_DIMENSION_PARSING_ERROR", +"MULTIVALUE_ID", +"ENDTIME_BEFORE_STARTTIME", +"INVALID_ASSET_LIBRARY_HANDLE", +"INVALID_ASSET_LIBRARY_VIDEO_HANDLE", +"INVALID_ASSET_LIBRARY_DIRECTORY_HANDLE", +"DYNAMIC_TARGETING_KEY_NOT_DEFINED_FOR_ADVERTISER", +"USERLIST_ID_NOT_ACCESSIBLE_FOR_ADVERTISER", +"ENDTIME_PASSED", +"ENDTIME_TOO_SOON", +"TEXT_ASSET_REFERENCE", +"IMAGE_ASSET_SCS_REFERENCE", +"AIRPORT_GEO_TARGET", +"CANONICAL_NAME_QUERY_MISMATCH", +"NO_DEFAULT_ROW", +"NO_ACTIVE_DEFAULT_ROW", +"NO_DEFAULT_ROW_IN_DATE_RANGE", +"NO_ACTIVE_DEFAULT_ROW_IN_DATE_RANGE", +"PAYLOAD_LIMIT_EXCEEDED", +"SSL_NOT_COMPLIANT" +], +"enumDescriptions": [ +"The ingestion error is unknown.", +"The ingestion error when the ID value is missing.", +"The ingestion error when the element value name used for reporting is missing.", +"The ingestion error when a required value is empty", +"The ingestion error when asset retrieval fails for a particular image or asset.", +"The ingestion error when the ID value exceeds the string length limit.", +"The ingestion error when the ID value is duplicate.", +"The ingestion error when parsing the field fails.", +"The ingestion error when parsing the country code fails.", +"The ingestion error when parsing the long value fails.", +"The ingestion error when parsing the boolean value fails.", +"The ingestion error when parsing the expanded url fails.", +"The ingestion error when parsing the float value fails.", +"The ingestion error when parsing the datetime value fails.", +"The ingestion error when the preference value is not a positive float.", +"The ingestion error when a geo location is not found.", +"The ingestion error when parsing the geo field fails.", +"The ingestion error when a feed row has multiple geotargets with proximity targeting enabled.", +"The ingestion error when parsing the postal code value fails.", +"The ingestion error when parsing the metro code value fails.", +"The ingestion error when parsing the datetime value fails.", +"The ingestion error when parsing the weight value fails.", +"The ingestion error when parsing the creative dimension value fails.", +"The ingestion error when a STRING_LIST type ID has multiple values.", +"The ingestion error when the end time is before the start time.", +"The ingestion error when the asset library handle is invalid.", +"The ingestion error when the asset library video handle is invalid.", +"The ingestion error when the asset library directory handle is invalid.", +"The ingestion error when a targeting key used but not defined for the CM360 Advertiser.", +"The ingestion error when the userlist ID is not accessible for the CM360 Advertiser.", +"The ingestion error when the end time is passed.", +"The ingestion error when the end time is in the near future (i.e., <7 days).", +"The ingestion error when a text field specifies a reference to an asset.", +"The ingestion error when Image field specifies a reference to an asset hosted on SCS (s0.2mdn.net/s0qa.2mdn.net).", +"The ingestion error when a geo target is an airport.", +"The ingestion error when the geo target's canonical name does not match the query string used to obtain it.", +"The ingestion error or warning when the default row is not set.", +"The ingestion error or warning when the default row is not active.", +"The ingestion error or warning when the default row is not in the date range.", +"The ingestion error or warning when the default row is not in the date range.", +"The ingestion error when when the payload of the record is above a threshold.", +"The ingestion error or warning when the field is not SSL compliant." +], +"readOnly": true, +"type": "string" +}, +"isError": { +"description": "Output only. Incidcates whether the field has error or warning.", +"readOnly": true, +"type": "boolean" +} +}, +"type": "object" +}, +"FieldFilter": { +"description": "Contains field filter information.", +"id": "FieldFilter", +"properties": { +"boolValue": { +"description": "Optional. The boolean values, only applicable when rhs_value_type is BOOL.", +"type": "boolean" +}, +"dependentFieldValue": { +"$ref": "DependentFieldValue", +"description": "Optional. The dependent values, only applicable when rhs_value_type is DEPENDENT." +}, +"fieldId": { +"description": "Optional. The field ID on the left hand side of the expression.", +"format": "int32", +"type": "integer" +}, +"matchType": { +"description": "Optional. Left hand side of the expression match type.", +"enum": [ +"LHS_MATCH_TYPE_UNKNOWN", +"EQUALS_OR_UNRESTRICTED", +"EQUALS", +"UNRESTRICTED", +"NOT_EQUALS" +], +"enumDescriptions": [ +"The left hand side of the expression is unknown. This value is unused.", +"The left hand side of the expression is equals or unrestricted. It is the default value.", +"The left hand side of the expression is equals.", +"The left hand side of the expression is unrestricted. Unrestricted is used to target fields with no restrictions. For example, country targeting fields hold a list of countries. If the list is empty, we consider the element value to have no restrictions.", +"Left hand side of the expression is not equals. Not equals specifies which fields should not be targeted." +], +"type": "string" +}, +"requestValue": { +"$ref": "RequestValue", +"description": "Optional. The request value, only applicable when rhs_value_type is REQUEST." +}, +"stringValue": { +"description": "Optional. The string value, only applicable when rhs_value_type is STRING.", +"type": "string" +}, +"valueType": { +"description": "Optional. Right hand side of the expression.", +"enum": [ +"RHS_VALUE_TYPE_UNKNOWN", +"STRING", +"REQUEST", +"BOOL", +"DEPENDENT" +], +"enumDescriptions": [ +"The right hand side of the expression is unknown. This value is unused.", +"The right hand side of the expression is a string.", +"The right hand side of the expression is a request value.", +"The right hand side of the expression is a boolean.", +"The right hand side of the expression is a dependent field value." +], +"type": "string" +} +}, +"type": "object" +}, +"File": { +"description": "Represents a File resource. A file contains the metadata for a report run. It shows the status of the run and holds the URLs to the generated report data if the run is finished and the status is \"REPORT_AVAILABLE\".", +"id": "File", +"properties": { +"dateRange": { +"$ref": "DateRange", +"description": "The date range for which the file has report data. The date range will always be the absolute date range for which the report is run." +}, +"etag": { +"description": "Etag of this resource.", +"type": "string" +}, +"fileName": { +"description": "The filename of the file.", +"type": "string" +}, +"format": { +"description": "The output format of the report. Only available once the file is available.", +"enum": [ +"CSV", +"EXCEL" +], +"enumDescriptions": [ +"", +"" +], +"type": "string" +}, +"id": { +"description": "The unique ID of this report file.", +"format": "int64", +"type": "string" +}, +"kind": { +"description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#file\".", +"type": "string" +}, +"lastModifiedTime": { +"description": "The timestamp in milliseconds since epoch when this file was last modified.", +"format": "int64", +"type": "string" +}, +"reportId": { +"description": "The ID of the report this file was generated from.", +"format": "int64", +"type": "string" +}, +"status": { +"description": "The status of the report file.", +"enum": [ +"PROCESSING", +"REPORT_AVAILABLE", +"FAILED", +"CANCELLED", +"QUEUED" +], +"enumDescriptions": [ +"", +"", +"", +"", +"" +], +"type": "string" +}, +"urls": { +"description": "The URLs where the completed report file can be downloaded.", +"properties": { +"apiUrl": { +"description": "The URL for downloading the report data through the API.", +"type": "string" +}, +"browserUrl": { +"description": "The URL for downloading the report data through a browser.", +"type": "string" +} +}, +"type": "object" +} +}, +"type": "object" +}, +"FileList": { +"description": "List of files for a report.", +"id": "FileList", +"properties": { +"etag": { +"description": "Etag of this resource.", +"type": "string" +}, +"items": { +"description": "The files returned in this response.", +"items": { +"$ref": "File" +}, +"type": "array" +}, +"kind": { +"description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#fileList\".", +"type": "string" +}, +"nextPageToken": { +"description": "Continuation token used to page through files. To retrieve the next page of results, set the next request's \"pageToken\" to the value of this field. The page token is only valid for a limited amount of time and should not be persisted.", +"type": "string" +} +}, +"type": "object" +}, +"FloodlightActivitiesGenerateTagResponse": { +"description": "Floodlight Activity GenerateTag Response", +"id": "FloodlightActivitiesGenerateTagResponse", +"properties": { +"floodlightActivityTag": { +"description": "Generated tag for this Floodlight activity. For Google tags, this is the event snippet.", +"type": "string" +}, +"globalSiteTagGlobalSnippet": { +"description": "The global snippet section of a Google tag. The Google tag sets new cookies on your domain, which will store a unique identifier for a user or the ad click that brought the user to your site. Learn more.", +"type": "string" +}, +"kind": { +"description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#floodlightActivitiesGenerateTagResponse\".", +"type": "string" +} +}, +"type": "object" +}, +"FloodlightActivitiesListResponse": { +"description": "Floodlight Activity List Response", +"id": "FloodlightActivitiesListResponse", +"properties": { +"floodlightActivities": { +"description": "Floodlight activity collection.", +"items": { +"$ref": "FloodlightActivity" +}, +"type": "array" +}, +"kind": { +"description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#floodlightActivitiesListResponse\".", +"type": "string" +}, +"nextPageToken": { +"description": "Pagination token to be used for the next list operation.", +"type": "string" +} +}, +"type": "object" +}, +"FloodlightActivity": { +"description": "Contains properties of a Floodlight activity.", +"id": "FloodlightActivity", +"properties": { +"accountId": { +"description": "Account ID of this floodlight activity. This is a read-only field that can be left blank.", +"format": "int64", +"type": "string" +}, +"advertiserId": { +"description": "Advertiser ID of this floodlight activity. If this field is left blank, the value will be copied over either from the activity group's advertiser or the existing activity's advertiser.", +"format": "int64", +"type": "string" +}, +"advertiserIdDimensionValue": { +"$ref": "DimensionValue", +"description": "Dimension value for the ID of the advertiser. This is a read-only, auto-generated field." +}, +"attributionEnabled": { +"description": "Whether the activity is enabled for attribution.", +"type": "boolean" +}, +"cacheBustingType": { +"description": "Code type used for cache busting in the generated tag. Applicable only when floodlightActivityGroupType is COUNTER and countingMethod is STANDARD_COUNTING or UNIQUE_COUNTING.", +"enum": [ +"JAVASCRIPT", +"ACTIVE_SERVER_PAGE", +"JSP", +"PHP", +"COLD_FUSION" +], +"enumDescriptions": [ +"", +"", +"", +"", +"" +], +"type": "string" +}, +"conversionCategory": { +"description": "Required. The conversion category of the activity.", +"enum": [ +"CONVERSION_CATEGORY_DEFAULT", +"CONVERSION_CATEGORY_PURCHASE", +"CONVERSION_CATEGORY_SIGNUP", +"CONVERSION_CATEGORY_PAGE_VIEW", +"CONVERSION_CATEGORY_DOWNLOAD", +"CONVERSION_CATEGORY_BOOM_EVENT", +"CONVERSION_CATEGORY_ADD_TO_CART", +"CONVERSION_CATEGORY_BEGIN_CHECKOUT", +"CONVERSION_CATEGORY_SUBSCRIBE_PAID", +"CONVERSION_CATEGORY_SUBSCRIBE_FREE", +"CONVERSION_CATEGORY_PHONE_CALL_LEAD", +"CONVERSION_CATEGORY_IMPORTED_LEAD", +"CONVERSION_CATEGORY_SUBMIT_LEAD_FORM", +"CONVERSION_CATEGORY_BOOK_APPOINTMENT", +"CONVERSION_CATEGORY_REQUEST_QUOTE", +"CONVERSION_CATEGORY_GET_DIRECTIONS", +"CONVERSION_CATEGORY_OUTBOUND_CLICK", +"CONVERSION_CATEGORY_CONTACT", +"CONVERSION_CATEGORY_VIEW_KEY_PAGE", +"CONVERSION_CATEGORY_ENGAGEMENT", +"CONVERSION_CATEGORY_STORE_VISIT", +"CONVERSION_CATEGORY_STORE_SALE", +"CONVERSION_CATEGORY_QUALIFIED_LEAD", +"CONVERSION_CATEGORY_CONVERTED_LEAD", +"CONVERSION_CATEGORY_IN_APP_AD_REVENUE", +"CONVERSION_CATEGORY_MESSAGE_LEAD" +], +"enumDescriptions": [ +"Unspecified category (called \"Other\" externally).", +"Purchase, sales, or \"order placed\" event.", +"Signup user action.", +"User visiting a page.", +"Software download action (as for an app). A conversion type that is created as a download type may not have its category changed.", +"Boom event (for user list creation). This is an internal-only category.", +". The addition of items to a shopping cart or bag on an advertiser site.", +"When someone enters the checkout flow on an advertiser site.", +"The start of a paid subscription for a product or service.", +"The start of a free subscription for a product or service.", +"A call to indicate interesting in an advertiser's offering. Note: this is different from support calls.", +"A lead conversion imported from an external source into Google Ads.", +"A submission of a form on an advertiser site indicating business interest.", +"A booking of an appointment with an advertiser's business.", +"A quote or price estimate request.", +"A search for an advertiser's business location.", +"A click to an advertiser's partner site, e.g. a referral.", +"A call, SMS, email, chat or other type of contact to an advertiser.", +"Key page views (ex: product page, article).", +"A website engagement event", +"A visit to a physical store location.", +"A sale occurring in a physical store.", +"A lead conversion imported from an external source into Google Ads, that has been further qualified by the advertiser.", +"A lead conversion imported from an external source into Google Ads, that has further completed a desired stage as defined by the lead gen advertiser.", +"Conversion event that provides the revenue value of impressions that were shown in-app to users.", +"Message exchanges which indicate an interest in an advertiser's offering." +], +"type": "string" +}, +"countingMethod": { +"description": "Counting method for conversions for this floodlight activity. This is a required field.", +"enum": [ +"STANDARD_COUNTING", +"UNIQUE_COUNTING", +"SESSION_COUNTING", +"TRANSACTIONS_COUNTING", +"ITEMS_SOLD_COUNTING" +], +"enumDescriptions": [ +"Count every conversion.", +"Count the first conversion for each unique user during each 24-hour day, from midnight to midnight, Eastern Time.", +"Count one conversion per user per session. Session length is set by the site where the Spotlight tag is deployed.", +"Count all conversions, plus the total number of sales that take place and the total revenue for these transactions.", +"Count each conversion, plus the total number of items sold and the total revenue for these sales." +], +"type": "string" +}, +"defaultTags": { +"description": "Dynamic floodlight tags.", +"items": { +"$ref": "FloodlightActivityDynamicTag" +}, +"type": "array" +}, +"expectedUrl": { +"description": "URL where this tag will be deployed. If specified, must be less than 256 characters long.", +"type": "string" +}, +"floodlightActivityGroupId": { +"description": "Floodlight activity group ID of this floodlight activity. This is a required field.", +"format": "int64", +"type": "string" +}, +"floodlightActivityGroupName": { +"description": "Name of the associated floodlight activity group. This is a read-only field.", +"type": "string" +}, +"floodlightActivityGroupTagString": { +"description": "Tag string of the associated floodlight activity group. This is a read-only field.", +"type": "string" +}, +"floodlightActivityGroupType": { +"description": "Type of the associated floodlight activity group. This is a read-only field.", +"enum": [ +"COUNTER", +"SALE" +], +"enumDescriptions": [ +"", +"" +], +"type": "string" +}, +"floodlightConfigurationId": { +"description": "Floodlight configuration ID of this floodlight activity. If this field is left blank, the value will be copied over either from the activity group's floodlight configuration or from the existing activity's floodlight configuration.", +"format": "int64", +"type": "string" +}, +"floodlightConfigurationIdDimensionValue": { +"$ref": "DimensionValue", +"description": "Dimension value for the ID of the floodlight configuration. This is a read-only, auto-generated field." +}, +"floodlightTagType": { +"description": "The type of Floodlight tag this activity will generate. This is a required field.", +"enum": [ +"IFRAME", +"IMAGE", +"GLOBAL_SITE_TAG" +], +"enumDescriptions": [ +"", +"", +"" +], +"type": "string" +}, +"id": { +"description": "ID of this floodlight activity. This is a read-only, auto-generated field.", +"format": "int64", +"type": "string" +}, +"idDimensionValue": { +"$ref": "DimensionValue", +"description": "Dimension value for the ID of this floodlight activity. This is a read-only, auto-generated field." +}, +"kind": { +"description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#floodlightActivity\".", +"type": "string" +}, +"name": { +"description": "Name of this floodlight activity. This is a required field. Must be less than 129 characters long and cannot contain quotes.", +"type": "string" +}, +"notes": { +"description": "General notes or implementation instructions for the tag.", +"type": "string" +}, +"publisherTags": { +"description": "Publisher dynamic floodlight tags.", +"items": { +"$ref": "FloodlightActivityPublisherDynamicTag" +}, +"type": "array" +}, +"secure": { +"description": "Whether this tag should use SSL.", +"type": "boolean" +}, +"sslCompliant": { +"description": "Whether the floodlight activity is SSL-compliant. This is a read-only field, its value detected by the system from the floodlight tags.", +"type": "boolean" +}, +"sslRequired": { +"description": "Whether this floodlight activity must be SSL-compliant.", +"type": "boolean" +}, +"status": { +"description": "The status of the activity. This can only be set to ACTIVE or ARCHIVED_AND_DISABLED. The ARCHIVED status is no longer supported and cannot be set for Floodlight activities. The DISABLED_POLICY status indicates that a Floodlight activity is violating Google policy. Contact your account manager for more information.", +"enum": [ +"ACTIVE", +"ARCHIVED_AND_DISABLED", +"ARCHIVED", +"DISABLED_POLICY" +], +"enumDescriptions": [ +"", +"", +"", +"" +], +"type": "string" +}, +"subaccountId": { +"description": "Subaccount ID of this floodlight activity. This is a read-only field that can be left blank.", +"format": "int64", +"type": "string" +}, +"tagFormat": { +"description": "Tag format type for the floodlight activity. If left blank, the tag format will default to HTML.", +"enum": [ +"HTML", +"XHTML" +], +"enumDescriptions": [ +"", +"" +], +"type": "string" +}, +"tagString": { +"description": "Value of the cat= parameter in the floodlight tag, which the ad servers use to identify the activity. This is optional: if empty, a new tag string will be generated for you. This string must be 1 to 8 characters long, with valid characters being a-z0-9[ _ ]. This tag string must also be unique among activities of the same activity group. This field is read-only after insertion.", +"type": "string" +}, +"userDefinedVariableTypes": { +"description": "List of the user-defined variables used by this conversion tag. These map to the \"u[1-100]=\" in the tags. Each of these can have a user defined type. Acceptable values are U1 to U100, inclusive. ", +"items": { +"enum": [ +"U1", +"U2", +"U3", +"U4", +"U5", +"U6", +"U7", +"U8", +"U9", +"U10", +"U11", +"U12", +"U13", +"U14", +"U15", +"U16", +"U17", +"U18", +"U19", +"U20", +"U21", +"U22", +"U23", +"U24", +"U25", +"U26", +"U27", +"U28", +"U29", +"U30", +"U31", +"U32", +"U33", +"U34", +"U35", +"U36", +"U37", +"U38", +"U39", +"U40", +"U41", +"U42", +"U43", +"U44", +"U45", +"U46", +"U47", +"U48", +"U49", +"U50", +"U51", +"U52", +"U53", +"U54", +"U55", +"U56", +"U57", +"U58", +"U59", +"U60", +"U61", +"U62", +"U63", +"U64", +"U65", +"U66", +"U67", +"U68", +"U69", +"U70", +"U71", +"U72", +"U73", +"U74", +"U75", +"U76", +"U77", +"U78", +"U79", +"U80", +"U81", +"U82", +"U83", +"U84", +"U85", +"U86", +"U87", +"U88", +"U89", +"U90", +"U91", +"U92", +"U93", +"U94", +"U95", +"U96", +"U97", +"U98", +"U99", +"U100" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"" +], +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"FloodlightActivityDynamicTag": { +"description": "Dynamic Tag", +"id": "FloodlightActivityDynamicTag", +"properties": { +"id": { +"description": "ID of this dynamic tag. This is a read-only, auto-generated field.", +"format": "int64", +"type": "string" +}, +"name": { +"description": "Name of this tag.", +"type": "string" +}, +"tag": { +"description": "Tag code.", +"type": "string" +} +}, +"type": "object" +}, +"FloodlightActivityGroup": { +"description": "Contains properties of a Floodlight activity group.", +"id": "FloodlightActivityGroup", +"properties": { +"accountId": { +"description": "Account ID of this floodlight activity group. This is a read-only field that can be left blank.", +"format": "int64", +"type": "string" +}, +"advertiserId": { +"description": "Advertiser ID of this floodlight activity group. If this field is left blank, the value will be copied over either from the floodlight configuration's advertiser or from the existing activity group's advertiser.", +"format": "int64", +"type": "string" +}, +"advertiserIdDimensionValue": { +"$ref": "DimensionValue", +"description": "Dimension value for the ID of the advertiser. This is a read-only, auto-generated field." +}, +"floodlightConfigurationId": { +"description": "Floodlight configuration ID of this floodlight activity group. This is a required field.", +"format": "int64", +"type": "string" +}, +"floodlightConfigurationIdDimensionValue": { +"$ref": "DimensionValue", +"description": "Dimension value for the ID of the floodlight configuration. This is a read-only, auto-generated field." +}, +"id": { +"description": "ID of this floodlight activity group. This is a read-only, auto-generated field.", +"format": "int64", +"type": "string" +}, +"idDimensionValue": { +"$ref": "DimensionValue", +"description": "Dimension value for the ID of this floodlight activity group. This is a read-only, auto-generated field." +}, +"kind": { +"description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#floodlightActivityGroup\".", +"type": "string" +}, +"name": { +"description": "Name of this floodlight activity group. This is a required field. Must be less than 65 characters long and cannot contain quotes.", +"type": "string" +}, +"subaccountId": { +"description": "Subaccount ID of this floodlight activity group. This is a read-only field that can be left blank.", +"format": "int64", +"type": "string" +}, +"tagString": { +"description": "Value of the type= parameter in the floodlight tag, which the ad servers use to identify the activity group that the activity belongs to. This is optional: if empty, a new tag string will be generated for you. This string must be 1 to 8 characters long, with valid characters being a-z0-9[ _ ]. This tag string must also be unique among activity groups of the same floodlight configuration. This field is read-only after insertion.", +"type": "string" +}, +"type": { +"description": "Type of the floodlight activity group. This is a required field that is read-only after insertion.", +"enum": [ +"COUNTER", +"SALE" +], +"enumDescriptions": [ +"", +"" +], +"type": "string" +} +}, +"type": "object" +}, +"FloodlightActivityGroupsListResponse": { +"description": "Floodlight Activity Group List Response", +"id": "FloodlightActivityGroupsListResponse", +"properties": { +"floodlightActivityGroups": { +"description": "Floodlight activity group collection.", +"items": { +"$ref": "FloodlightActivityGroup" +}, +"type": "array" +}, +"kind": { +"description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#floodlightActivityGroupsListResponse\".", +"type": "string" +}, +"nextPageToken": { +"description": "Pagination token to be used for the next list operation.", +"type": "string" +} +}, +"type": "object" +}, +"FloodlightActivityPublisherDynamicTag": { +"description": "Publisher Dynamic Tag", +"id": "FloodlightActivityPublisherDynamicTag", +"properties": { +"clickThrough": { +"description": "Whether this tag is applicable only for click-throughs.", +"type": "boolean" +}, +"directorySiteId": { +"description": "Directory site ID of this dynamic tag. This is a write-only field that can be used as an alternative to the siteId field. When this resource is retrieved, only the siteId field will be populated.", +"format": "int64", +"type": "string" +}, +"dynamicTag": { +"$ref": "FloodlightActivityDynamicTag", +"description": "Dynamic floodlight tag." +}, +"siteId": { +"description": "Site ID of this dynamic tag.", +"format": "int64", +"type": "string" +}, +"siteIdDimensionValue": { +"$ref": "DimensionValue", +"description": "Dimension value for the ID of the site. This is a read-only, auto-generated field." +}, +"viewThrough": { +"description": "Whether this tag is applicable only for view-throughs.", +"type": "boolean" +} +}, +"type": "object" +}, +"FloodlightConfiguration": { +"description": "Contains properties of a Floodlight configuration.", +"id": "FloodlightConfiguration", +"properties": { +"accountId": { +"description": "Account ID of this floodlight configuration. This is a read-only field that can be left blank.", +"format": "int64", +"type": "string" +}, +"advertiserId": { +"description": "Advertiser ID of the parent advertiser of this floodlight configuration.", +"format": "int64", +"type": "string" +}, +"advertiserIdDimensionValue": { +"$ref": "DimensionValue", +"description": "Dimension value for the ID of the advertiser. This is a read-only, auto-generated field." +}, +"analyticsDataSharingEnabled": { +"description": "Whether advertiser data is shared with Google Analytics.", +"type": "boolean" +}, +"customViewabilityMetric": { +"$ref": "CustomViewabilityMetric", +"description": "Custom Viewability metric for the floodlight configuration." +}, +"exposureToConversionEnabled": { +"description": "Whether the exposure-to-conversion report is enabled. This report shows detailed pathway information on up to 10 of the most recent ad exposures seen by a user before converting.", +"type": "boolean" +}, +"firstDayOfWeek": { +"enum": [ +"SUNDAY", +"MONDAY" +], +"enumDescriptions": [ +"", +"" +], +"type": "string" +}, +"id": { +"description": "ID of this floodlight configuration. This is a read-only, auto-generated field.", +"format": "int64", +"type": "string" +}, +"idDimensionValue": { +"$ref": "DimensionValue", +"description": "Dimension value for the ID of this floodlight configuration. This is a read-only, auto-generated field." +}, +"inAppAttributionTrackingEnabled": { +"description": "Whether in-app attribution tracking is enabled.", +"type": "boolean" +}, +"kind": { +"description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#floodlightConfiguration\".", +"type": "string" +}, +"lookbackConfiguration": { +"$ref": "LookbackConfiguration", +"description": "Lookback window settings for this floodlight configuration." +}, +"naturalSearchConversionAttributionOption": { +"description": "Types of attribution options for natural search conversions.", +"enum": [ +"EXCLUDE_NATURAL_SEARCH_CONVERSION_ATTRIBUTION", +"INCLUDE_NATURAL_SEARCH_CONVERSION_ATTRIBUTION", +"INCLUDE_NATURAL_SEARCH_TIERED_CONVERSION_ATTRIBUTION" +], +"enumDescriptions": [ +"", +"", +"" +], +"type": "string" +}, +"omnitureSettings": { +"$ref": "OmnitureSettings", +"description": "Settings for Campaign Manager Omniture integration." +}, +"subaccountId": { +"description": "Subaccount ID of this floodlight configuration. This is a read-only field that can be left blank.", +"format": "int64", +"type": "string" +}, +"tagSettings": { +"$ref": "TagSettings", +"description": "Configuration settings for dynamic and image floodlight tags." +}, +"thirdPartyAuthenticationTokens": { +"description": "List of third-party authentication tokens enabled for this configuration.", +"items": { +"$ref": "ThirdPartyAuthenticationToken" +}, +"type": "array" +}, +"userDefinedVariableConfigurations": { +"description": "List of user defined variables enabled for this configuration.", +"items": { +"$ref": "UserDefinedVariableConfiguration" +}, +"type": "array" +} +}, +"type": "object" +}, +"FloodlightConfigurationsListResponse": { +"description": "Floodlight Configuration List Response", +"id": "FloodlightConfigurationsListResponse", +"properties": { +"floodlightConfigurations": { +"description": "Floodlight configuration collection.", +"items": { +"$ref": "FloodlightConfiguration" +}, +"type": "array" +}, +"kind": { +"description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#floodlightConfigurationsListResponse\".", +"type": "string" +} +}, +"type": "object" +}, +"FloodlightReportCompatibleFields": { +"description": "Represents fields that are compatible to be selected for a report of type \"FlOODLIGHT\".", +"id": "FloodlightReportCompatibleFields", +"properties": { +"dimensionFilters": { +"description": "Dimensions which are compatible to be selected in the \"dimensionFilters\" section of the report.", +"items": { +"$ref": "Dimension" +}, +"type": "array" +}, +"dimensions": { +"description": "Dimensions which are compatible to be selected in the \"dimensions\" section of the report.", +"items": { +"$ref": "Dimension" +}, +"type": "array" +}, +"kind": { +"description": "The kind of resource this is, in this case dfareporting#floodlightReportCompatibleFields.", +"type": "string" +}, +"metrics": { +"description": "Metrics which are compatible to be selected in the \"metricNames\" section of the report.", +"items": { +"$ref": "Metric" +}, +"type": "array" +} +}, +"type": "object" +}, +"FrequencyCap": { +"description": "Frequency Cap.", +"id": "FrequencyCap", +"properties": { +"duration": { +"description": "Duration of time, in seconds, for this frequency cap. The maximum duration is 90 days. Acceptable values are 1 to 7776000, inclusive.", +"format": "int64", +"type": "string" +}, +"impressions": { +"description": "Number of times an individual user can be served the ad within the specified duration. Acceptable values are 1 to 15, inclusive.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"FsCommand": { +"description": "FsCommand.", +"id": "FsCommand", +"properties": { +"left": { +"description": "Distance from the left of the browser.Applicable when positionOption is DISTANCE_FROM_TOP_LEFT_CORNER.", +"format": "int32", +"type": "integer" +}, +"positionOption": { +"description": "Position in the browser where the window will open.", +"enum": [ +"CENTERED", +"DISTANCE_FROM_TOP_LEFT_CORNER" +], +"enumDescriptions": [ +"Center of the window Corresponds to \"center\" in UI", +"user-defined distance from top left-hand corner of the window Corresponds to \"top-left\" in UI" +], +"type": "string" +}, +"top": { +"description": "Distance from the top of the browser. Applicable when positionOption is DISTANCE_FROM_TOP_LEFT_CORNER.", +"format": "int32", +"type": "integer" +}, +"windowHeight": { +"description": "Height of the window.", +"format": "int32", +"type": "integer" +}, +"windowWidth": { +"description": "Width of the window.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"GeoTargeting": { +"description": "Geographical Targeting.", +"id": "GeoTargeting", +"properties": { +"cities": { +"description": "Cities to be targeted. For each city only dartId is required. The other fields are populated automatically when the ad is inserted or updated. If targeting a city, do not target or exclude the country of the city, and do not target the metro or region of the city.", +"items": { +"$ref": "City" +}, +"type": "array" +}, +"countries": { +"description": "Countries to be targeted or excluded from targeting, depending on the setting of the excludeCountries field. For each country only dartId is required. The other fields are populated automatically when the ad is inserted or updated. If targeting or excluding a country, do not target regions, cities, metros, or postal codes in the same country.", +"items": { +"$ref": "Country" +}, +"type": "array" +}, +"excludeCountries": { +"description": "Whether or not to exclude the countries in the countries field from targeting. If false, the countries field refers to countries which will be targeted by the ad.", +"type": "boolean" +}, +"metros": { +"description": "Metros to be targeted. For each metro only dmaId is required. The other fields are populated automatically when the ad is inserted or updated. If targeting a metro, do not target or exclude the country of the metro.", +"items": { +"$ref": "Metro" +}, +"type": "array" +}, +"postalCodes": { +"description": "Postal codes to be targeted. For each postal code only id is required. The other fields are populated automatically when the ad is inserted or updated. If targeting a postal code, do not target or exclude the country of the postal code.", +"items": { +"$ref": "PostalCode" +}, +"type": "array" +}, +"regions": { +"description": "Regions to be targeted. For each region only dartId is required. The other fields are populated automatically when the ad is inserted or updated. If targeting a region, do not target or exclude the country of the region.", +"items": { +"$ref": "Region" +}, +"type": "array" +} +}, +"type": "object" +}, +"IngestionErrorRecord": { +"description": "Contains the ingestion error record of the dynamic feed. limited to 100 records.", +"id": "IngestionErrorRecord", +"properties": { +"errors": { +"description": "Output only. The list of field errors of the ingestion error record.", +"items": { +"$ref": "FieldError" +}, +"readOnly": true, +"type": "array" +}, +"recordId": { +"description": "Output only. The record ID of the ingestion error record.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"IngestionStatus": { +"description": "Contains the ingestion status of the dynamic feed.", +"id": "IngestionStatus", +"properties": { +"numActiveRows": { +"description": "Output only. The number of active rows in the feed.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"numRowsProcessed": { +"description": "Output only. The number of rows processed in the feed.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"numRowsTotal": { +"description": "Output only. The total number of rows in the feed.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"numRowsWithErrors": { +"description": "Output only. The number of rows with errors in the feed.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"numWarningsTotal": { +"description": "Output only. The total number of warnings in the feed.", +"format": "int64", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"Invoice": { +"description": "Contains information about a single invoice", +"id": "Invoice", +"properties": { +"campaign_summaries": { +"description": "The list of summarized campaign information associated with this invoice.", +"items": { +"$ref": "CampaignSummary" +}, +"type": "array" +}, +"correctedInvoiceId": { +"description": "The originally issued invoice that is being adjusted by this invoice, if applicable. May appear on invoice PDF as *Reference invoice number*.", +"type": "string" +}, +"currencyCode": { +"description": "Invoice currency code in ISO 4217 format.", +"type": "string" +}, +"dueDate": { +"description": "The invoice due date.", +"type": "string" +}, +"id": { +"description": "ID of this invoice.", +"type": "string" +}, +"invoiceType": { +"description": "The type of invoice document.", +"enum": [ +"INVOICE_TYPE_UNSPECIFIED", +"INVOICE_TYPE_CREDIT", +"INVOICE_TYPE_INVOICE" +], +"enumDescriptions": [ +"", +"", +"" +], +"type": "string" +}, +"issueDate": { +"description": "The date when the invoice was issued.", +"type": "string" +}, +"kind": { +"description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#invoice\".", +"type": "string" +}, +"paymentsAccountId": { +"description": "The ID of the payments account the invoice belongs to. Appears on the invoice PDF as *Billing Account Number*.", +"type": "string" +}, +"paymentsProfileId": { +"description": "The ID of the payments profile the invoice belongs to. Appears on the invoice PDF as *Billing ID*.", +"type": "string" +}, +"pdfUrl": { +"description": "The URL to download a PDF copy of the invoice. Note that this URL is user specific and requires a valid OAuth 2.0 access token to access. The access token must be provided in an *Authorization: Bearer* HTTP header. The URL will only be usable for 7 days from when the api is called.", +"type": "string" +}, +"purchaseOrderNumber": { +"description": "Purchase order number associated with the invoice.", +"type": "string" +}, +"replacedInvoiceIds": { +"description": "The originally issued invoice(s) that is being cancelled by this invoice, if applicable. May appear on invoice PDF as *Replaced invoice numbers*. Note: There may be multiple replaced invoices due to consolidation of multiple invoices into a single invoice.", +"items": { +"type": "string" +}, +"type": "array" +}, +"serviceEndDate": { +"description": "The invoice service end date.", +"type": "string" +}, +"serviceStartDate": { +"description": "The invoice service start date.", +"type": "string" +}, +"subtotalAmountMicros": { +"description": "The pre-tax subtotal amount, in micros of the invoice's currency.", +"format": "int64", +"type": "string" +}, +"totalAmountMicros": { +"description": "The invoice total amount, in micros of the invoice's currency.", +"format": "int64", +"type": "string" +}, +"totalTaxAmountMicros": { +"description": "The sum of all taxes in invoice, in micros of the invoice's currency.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"KeyValueTargetingExpression": { +"description": "Key Value Targeting Expression.", +"id": "KeyValueTargetingExpression", +"properties": { +"expression": { +"description": "Keyword expression being targeted by the ad.", +"type": "string" +} +}, +"type": "object" +}, +"LandingPage": { +"description": "Contains information about where a user's browser is taken after the user clicks an ad.", +"id": "LandingPage", +"properties": { +"advertiserId": { +"description": "Advertiser ID of this landing page. This is a required field.", +"format": "int64", +"type": "string" +}, +"archived": { +"description": "Whether this landing page has been archived.", +"type": "boolean" +}, +"deepLinks": { +"description": "Links that will direct the user to a mobile app, if installed.", +"items": { +"$ref": "DeepLink" +}, +"type": "array" +}, +"id": { +"description": "ID of this landing page. This is a read-only, auto-generated field.", +"format": "int64", +"type": "string" +}, +"kind": { +"description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#landingPage\".", +"type": "string" +}, +"name": { +"description": "Name of this landing page. This is a required field. It must be less than 256 characters long.", +"type": "string" +}, +"url": { +"description": "URL of this landing page. This is a required field.", +"type": "string" +} +}, +"type": "object" +}, +"Language": { +"description": "Contains information about a language that can be targeted by ads.", +"id": "Language", +"properties": { +"id": { +"description": "Language ID of this language. This is the ID used for targeting and generating reports.", +"format": "int64", +"type": "string" +}, +"kind": { +"description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#language\".", +"type": "string" +}, +"languageCode": { +"description": "Format of language code is an ISO 639 two-letter language code optionally followed by an underscore followed by an ISO 3166 code. Examples are \"en\" for English or \"zh_CN\" for Simplified Chinese.", +"type": "string" +}, +"name": { +"description": "Name of this language.", +"type": "string" +} +}, +"type": "object" +}, +"LanguageTargeting": { +"description": "Language Targeting.", +"id": "LanguageTargeting", +"properties": { +"languages": { +"description": "Languages that this ad targets. For each language only languageId is required. The other fields are populated automatically when the ad is inserted or updated.", +"items": { +"$ref": "Language" +}, +"type": "array" +} +}, +"type": "object" +}, +"LanguagesListResponse": { +"description": "Language List Response", +"id": "LanguagesListResponse", +"properties": { +"kind": { +"description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#languagesListResponse\".", +"type": "string" +}, +"languages": { +"description": "Language collection.", +"items": { +"$ref": "Language" +}, +"type": "array" +} +}, +"type": "object" +}, +"LastModifiedInfo": { +"description": "Modification timestamp.", +"id": "LastModifiedInfo", +"properties": { +"time": { +"description": "Timestamp of the last change in milliseconds since epoch.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"ListPopulationClause": { +"description": "A group clause made up of list population terms representing constraints joined by ORs.", +"id": "ListPopulationClause", +"properties": { +"terms": { +"description": "Terms of this list population clause. Each clause is made up of list population terms representing constraints and are joined by ORs.", +"items": { +"$ref": "ListPopulationTerm" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListPopulationRule": { +"description": "Remarketing List Population Rule.", +"id": "ListPopulationRule", +"properties": { +"floodlightActivityId": { +"description": "Floodlight activity ID associated with this rule. This field can be left blank.", +"format": "int64", +"type": "string" +}, +"floodlightActivityName": { +"description": "Name of floodlight activity associated with this rule. This is a read-only, auto-generated field.", +"type": "string" +}, +"listPopulationClauses": { +"description": "Clauses that make up this list population rule. Clauses are joined by ANDs, and the clauses themselves are made up of list population terms which are joined by ORs.", +"items": { +"$ref": "ListPopulationClause" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListPopulationTerm": { +"description": "Remarketing List Population Rule Term.", +"id": "ListPopulationTerm", +"properties": { +"contains": { +"description": "Will be true if the term should check if the user is in the list and false if the term should check if the user is not in the list. This field is only relevant when type is set to LIST_MEMBERSHIP_TERM. False by default.", +"type": "boolean" +}, +"negation": { +"description": "Whether to negate the comparison result of this term during rule evaluation. This field is only relevant when type is left unset or set to CUSTOM_VARIABLE_TERM or REFERRER_TERM.", +"type": "boolean" +}, +"operator": { +"description": "Comparison operator of this term. This field is only relevant when type is left unset or set to CUSTOM_VARIABLE_TERM or REFERRER_TERM.", +"enum": [ +"NUM_EQUALS", +"NUM_LESS_THAN", +"NUM_LESS_THAN_EQUAL", +"NUM_GREATER_THAN", +"NUM_GREATER_THAN_EQUAL", +"STRING_EQUALS", +"STRING_CONTAINS" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"", +"" +], +"type": "string" +}, +"remarketingListId": { +"description": "ID of the list in question. This field is only relevant when type is set to LIST_MEMBERSHIP_TERM.", +"format": "int64", +"type": "string" +}, +"type": { +"description": "List population term type determines the applicable fields in this object. If left unset or set to CUSTOM_VARIABLE_TERM, then variableName, variableFriendlyName, operator, value, and negation are applicable. If set to LIST_MEMBERSHIP_TERM then remarketingListId and contains are applicable. If set to REFERRER_TERM then operator, value, and negation are applicable.", +"enum": [ +"CUSTOM_VARIABLE_TERM", +"LIST_MEMBERSHIP_TERM", +"REFERRER_TERM" +], +"enumDescriptions": [ +"", +"", +"" +], +"type": "string" +}, +"value": { +"description": "Literal to compare the variable to. This field is only relevant when type is left unset or set to CUSTOM_VARIABLE_TERM or REFERRER_TERM.", +"type": "string" +}, +"variableFriendlyName": { +"description": "Friendly name of this term's variable. This is a read-only, auto-generated field. This field is only relevant when type is left unset or set to CUSTOM_VARIABLE_TERM.", +"type": "string" +}, +"variableName": { +"description": "Name of the variable (U1, U2, etc.) being compared in this term. This field is only relevant when type is set to null, CUSTOM_VARIABLE_TERM or REFERRER_TERM.", +"type": "string" +} +}, +"type": "object" +}, +"ListTargetingExpression": { +"description": "Remarketing List Targeting Expression.", +"id": "ListTargetingExpression", +"properties": { +"expression": { +"description": "Expression describing which lists are being targeted by the ad.", +"type": "string" +} +}, +"type": "object" +}, +"LookbackConfiguration": { +"description": "Lookback configuration settings.", +"id": "LookbackConfiguration", +"properties": { +"clickDuration": { +"description": "Lookback window, in days, from the last time a given user clicked on one of your ads. If you enter 0, clicks will not be considered as triggering events for floodlight tracking. If you leave this field blank, the default value for your account will be used. Acceptable values are 0 to 90, inclusive.", +"format": "int32", +"type": "integer" +}, +"postImpressionActivitiesDuration": { +"description": "Lookback window, in days, from the last time a given user viewed one of your ads. If you enter 0, impressions will not be considered as triggering events for floodlight tracking. If you leave this field blank, the default value for your account will be used. Acceptable values are 0 to 90, inclusive.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"MeasurementPartnerAdvertiserLink": { +"id": "MeasurementPartnerAdvertiserLink", +"properties": { +"linkStatus": { +"description": "Status of the partner link.", +"enum": [ +"MEASUREMENT_PARTNER_UNLINKED", +"MEASUREMENT_PARTNER_LINKED", +"MEASUREMENT_PARTNER_LINK_PENDING", +"MEASUREMENT_PARTNER_LINK_FAILURE", +"MEASUREMENT_PARTNER_LINK_OPT_OUT", +"MEASUREMENT_PARTNER_LINK_OPT_OUT_PENDING", +"MEASUREMENT_PARTNER_LINK_WRAPPING_PENDING", +"MEASUREMENT_PARTNER_MODE_CHANGE_PENDING", +"MEASUREMENT_PARTNER_UNLINK_PENDING" +], +"enumDescriptions": [ +"Unlinked.", +"Linked successfully", +"Link pending for wrapping.", +"Linking failure.", +"Link opt-out by user.", +"Link opt-out pending sync.", +"Link wrap answer pending.", +"Mode change pending.", +"Partner unlink pending." +], +"type": "string" +}, +"measurementPartner": { +"description": "Measurement partner used for tag wrapping.", +"enum": [ +"NONE", +"INTEGRAL_AD_SCIENCE", +"DOUBLE_VERIFY" +], +"enumDescriptions": [ +"", +"", +"" +], +"type": "string" +}, +"partnerAdvertiserId": { +"description": "partner Advertiser Id.", +"type": "string" +} +}, +"type": "object" +}, +"MeasurementPartnerCampaignLink": { +"id": "MeasurementPartnerCampaignLink", +"properties": { +"linkStatus": { +"description": ".", +"enum": [ +"MEASUREMENT_PARTNER_UNLINKED", +"MEASUREMENT_PARTNER_LINKED", +"MEASUREMENT_PARTNER_LINK_PENDING", +"MEASUREMENT_PARTNER_LINK_FAILURE", +"MEASUREMENT_PARTNER_LINK_OPT_OUT", +"MEASUREMENT_PARTNER_LINK_OPT_OUT_PENDING", +"MEASUREMENT_PARTNER_LINK_WRAPPING_PENDING", +"MEASUREMENT_PARTNER_MODE_CHANGE_PENDING", +"MEASUREMENT_PARTNER_UNLINK_PENDING" +], +"enumDescriptions": [ +"Unlinked.", +"Linked successfully", +"Link pending for wrapping.", +"Linking failure.", +"Link opt-out by user.", +"Link opt-out pending sync.", +"Link wrap answer pending.", +"Mode change pending.", +"Partner unlink pending." +], +"type": "string" +}, +"measurementPartner": { +"description": "Measurement partner used for tag wrapping.", +"enum": [ +"NONE", +"INTEGRAL_AD_SCIENCE", +"DOUBLE_VERIFY" +], +"enumDescriptions": [ +"", +"", +"" +], +"type": "string" +}, +"partnerCampaignId": { +"description": "Partner campaign ID needed for establishing linking with Measurement partner.", +"type": "string" +} +}, +"type": "object" +}, +"MeasurementPartnerWrappingData": { +"description": "Placement tag wrapping", +"id": "MeasurementPartnerWrappingData", +"properties": { +"linkStatus": { +"description": "Placement wrapping status.", +"enum": [ +"MEASUREMENT_PARTNER_UNLINKED", +"MEASUREMENT_PARTNER_LINKED", +"MEASUREMENT_PARTNER_LINK_PENDING", +"MEASUREMENT_PARTNER_LINK_FAILURE", +"MEASUREMENT_PARTNER_LINK_OPT_OUT", +"MEASUREMENT_PARTNER_LINK_OPT_OUT_PENDING", +"MEASUREMENT_PARTNER_LINK_WRAPPING_PENDING", +"MEASUREMENT_PARTNER_MODE_CHANGE_PENDING", +"MEASUREMENT_PARTNER_UNLINK_PENDING" +], +"enumDescriptions": [ +"Unlinked.", +"Linked successfully", +"Link pending for wrapping.", +"Linking failure.", +"Link opt-out by user.", +"Link opt-out pending sync.", +"Link wrap answer pending.", +"Mode change pending.", +"Partner unlink pending." +], +"type": "string" +}, +"measurementPartner": { +"description": "Measurement partner used for wrapping the placement.", +"enum": [ +"NONE", +"INTEGRAL_AD_SCIENCE", +"DOUBLE_VERIFY" +], +"enumDescriptions": [ +"", +"", +"" +], +"type": "string" +}, +"tagWrappingMode": { +"description": "Measurement mode for the wrapped placement.", +"enum": [ +"NONE", +"BLOCKING", +"MONITORING", +"MONITORING_READ_ONLY", +"VIDEO_PIXEL_MONITORING", +"TRACKING", +"VPAID_MONITORING", +"VPAID_BLOCKING", +"NON_VPAID_MONITORING", +"VPAID_ONLY_MONITORING", +"VPAID_ONLY_BLOCKING", +"VPAID_ONLY_FILTERING", +"VPAID_FILTERING", +"NON_VPAID_FILTERING", +"BLOCKING_FILTERING_VPAID", +"BLOCKING_FILTERING_VPAID_ONLY" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"" +], +"type": "string" +}, +"wrappedTag": { +"description": "Tag provided by the measurement partner during wrapping.", +"type": "string" +} +}, +"type": "object" +}, +"Metric": { +"description": "Represents a metric.", +"id": "Metric", +"properties": { +"kind": { +"description": "The kind of resource this is, in this case dfareporting#metric.", +"type": "string" +}, +"name": { +"description": "The metric name, e.g. impressions", +"type": "string" +} +}, +"type": "object" +}, +"Metro": { +"description": "Contains information about a metro region that can be targeted by ads.", +"id": "Metro", +"properties": { +"countryCode": { +"description": "Country code of the country to which this metro region belongs.", +"type": "string" +}, +"countryDartId": { +"description": "DART ID of the country to which this metro region belongs.", +"format": "int64", +"type": "string" +}, +"dartId": { +"description": "DART ID of this metro region.", +"format": "int64", +"type": "string" +}, +"dmaId": { +"description": "DMA ID of this metro region. This is the ID used for targeting and generating reports, and is equivalent to metro_code.", +"format": "int64", +"type": "string" +}, +"kind": { +"description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#metro\".", +"type": "string" +}, +"metroCode": { +"description": "Metro code of this metro region. This is equivalent to dma_id.", +"type": "string" +}, +"name": { +"description": "Name of this metro region.", +"type": "string" +} +}, +"type": "object" +}, +"MetrosListResponse": { +"description": "Metro List Response", +"id": "MetrosListResponse", +"properties": { +"kind": { +"description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#metrosListResponse\".", +"type": "string" +}, +"metros": { +"description": "Metro collection.", +"items": { +"$ref": "Metro" +}, +"type": "array" +} +}, +"type": "object" +}, +"MobileApp": { +"description": "Contains information about a mobile app. Used as a landing page deep link.", +"id": "MobileApp", +"properties": { +"directory": { +"description": "Mobile app directory.", +"enum": [ +"UNKNOWN", +"APPLE_APP_STORE", +"GOOGLE_PLAY_STORE", +"ROKU_APP_STORE", +"AMAZON_FIRETV_APP_STORE", +"PLAYSTATION_APP_STORE", +"APPLE_TV_APP_STORE", +"XBOX_APP_STORE", +"SAMSUNG_TV_APP_STORE", +"ANDROID_TV_APP_STORE", +"GENERIC_CTV_APP_STORE" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"" +], +"type": "string" +}, +"id": { +"description": "ID of this mobile app.", +"type": "string" +}, +"kind": { +"description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#mobileApp\".", +"type": "string" +}, +"publisherName": { +"description": "Publisher name.", +"type": "string" +}, +"title": { +"description": "Title of this mobile app.", +"type": "string" +} +}, +"type": "object" +}, +"MobileAppsListResponse": { +"description": "Mobile app List Response", +"id": "MobileAppsListResponse", +"properties": { +"kind": { +"description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#mobileAppsListResponse\".", +"type": "string" +}, +"mobileApps": { +"description": "Mobile apps collection.", +"items": { +"$ref": "MobileApp" +}, +"type": "array" +}, +"nextPageToken": { +"description": "Pagination token to be used for the next list operation.", +"type": "string" +} +}, +"type": "object" +}, +"MobileCarrier": { +"description": "Contains information about a mobile carrier that can be targeted by ads.", +"id": "MobileCarrier", +"properties": { +"countryCode": { +"description": "Country code of the country to which this mobile carrier belongs.", +"type": "string" +}, +"countryDartId": { +"description": "DART ID of the country to which this mobile carrier belongs.", +"format": "int64", +"type": "string" +}, +"id": { +"description": "ID of this mobile carrier.", +"format": "int64", +"type": "string" +}, +"kind": { +"description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#mobileCarrier\".", +"type": "string" +}, +"name": { +"description": "Name of this mobile carrier.", +"type": "string" +} +}, +"type": "object" +}, +"MobileCarriersListResponse": { +"description": "Mobile Carrier List Response", +"id": "MobileCarriersListResponse", +"properties": { +"kind": { +"description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#mobileCarriersListResponse\".", +"type": "string" +}, +"mobileCarriers": { +"description": "Mobile carrier collection.", +"items": { +"$ref": "MobileCarrier" +}, +"type": "array" +} +}, +"type": "object" +}, +"ObaIcon": { +"description": "Online Behavioral Advertiser icon.", +"id": "ObaIcon", +"properties": { +"iconClickThroughUrl": { +"description": "URL to redirect to when an OBA icon is clicked.", +"type": "string" +}, +"iconClickTrackingUrl": { +"description": "URL to track click when an OBA icon is clicked.", +"type": "string" +}, +"iconViewTrackingUrl": { +"description": "URL to track view when an OBA icon is clicked.", +"type": "string" +}, +"program": { +"description": "Identifies the industry initiative that the icon supports. For example, AdChoices.", +"type": "string" +}, +"resourceUrl": { +"description": "OBA icon resource URL. Campaign Manager only supports image and JavaScript icons. Learn more", +"type": "string" +}, +"size": { +"$ref": "Size", +"description": "OBA icon size." +}, +"xPosition": { +"description": "OBA icon x coordinate position. Accepted values are left or right.", +"type": "string" +}, +"yPosition": { +"description": "OBA icon y coordinate position. Accepted values are top or bottom.", +"type": "string" +} +}, +"type": "object" +}, +"ObjectFilter": { +"description": "Object Filter.", +"id": "ObjectFilter", +"properties": { +"kind": { +"description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#objectFilter\".", +"type": "string" +}, +"objectIds": { +"description": "Applicable when status is ASSIGNED. The user has access to objects with these object IDs.", +"items": { +"format": "int64", +"type": "string" +}, +"type": "array" +}, +"status": { +"description": "Status of the filter. NONE means the user has access to none of the objects. ALL means the user has access to all objects. ASSIGNED means the user has access to the objects with IDs in the objectIds list.", +"enum": [ +"NONE", +"ASSIGNED", +"ALL" +], +"enumDescriptions": [ +"Profile has access to none of the objects.", +"Profile has access to only specific objects.", +"Profile has access to all objects." +], +"type": "string" +} +}, +"type": "object" +}, +"OfflineUserAddressInfo": { +"description": "Identify a user by name and address.", +"id": "OfflineUserAddressInfo", +"properties": { +"city": { +"description": "City of the address.", +"type": "string" +}, +"countryCode": { +"description": "2-letter country code in ISO-3166-1 alpha-2 of the user's address.", +"type": "string" +}, +"hashedFirstName": { +"description": "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).", +"type": "string" +}, +"hashedLastName": { +"description": "Last name of the user, which is hashed as SHA-256 after normalized (lower case only and no punctuation).", +"type": "string" +}, +"hashedStreetAddress": { +"description": "The street address of the user hashed using SHA-256 hash function after normalization (lower case only).", +"type": "string" +}, +"postalCode": { +"description": "Postal code of the user's address.", +"type": "string" +}, +"state": { +"description": "State code of the address.", +"type": "string" +} +}, +"type": "object" +}, +"OffsetPosition": { +"description": "Offset Position.", +"id": "OffsetPosition", +"properties": { +"left": { +"description": "Offset distance from left side of an asset or a window.", +"format": "int32", +"type": "integer" +}, +"top": { +"description": "Offset distance from top side of an asset or a window.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"OmnitureSettings": { +"description": "Omniture Integration Settings.", +"id": "OmnitureSettings", +"properties": { +"omnitureCostDataEnabled": { +"description": "Whether placement cost data will be sent to Omniture. This property can be enabled only if omnitureIntegrationEnabled is true.", +"type": "boolean" +}, +"omnitureIntegrationEnabled": { +"description": "Whether Omniture integration is enabled. This property can be enabled only when the \"Advanced Ad Serving\" account setting is enabled.", +"type": "boolean" +} +}, +"type": "object" +}, +"OperatingSystem": { +"description": "Contains information about an operating system that can be targeted by ads.", +"id": "OperatingSystem", +"properties": { +"dartId": { +"description": "DART ID of this operating system. This is the ID used for targeting.", +"format": "int64", +"type": "string" +}, +"desktop": { +"description": "Whether this operating system is for desktop.", +"type": "boolean" +}, +"kind": { +"description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#operatingSystem\".", +"type": "string" +}, +"mobile": { +"description": "Whether this operating system is for mobile.", +"type": "boolean" +}, +"name": { +"description": "Name of this operating system.", +"type": "string" +} +}, +"type": "object" +}, +"OperatingSystemVersion": { +"description": "Contains information about a particular version of an operating system that can be targeted by ads.", +"id": "OperatingSystemVersion", +"properties": { +"id": { +"description": "ID of this operating system version.", +"format": "int64", +"type": "string" +}, +"kind": { +"description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#operatingSystemVersion\".", +"type": "string" +}, +"majorVersion": { +"description": "Major version (leftmost number) of this operating system version.", +"type": "string" +}, +"minorVersion": { +"description": "Minor version (number after the first dot) of this operating system version.", +"type": "string" +}, +"name": { +"description": "Name of this operating system version.", +"type": "string" +}, +"operatingSystem": { +"$ref": "OperatingSystem", +"description": "Operating system of this operating system version." +} +}, +"type": "object" +}, +"OperatingSystemVersionsListResponse": { +"description": "Operating System Version List Response", +"id": "OperatingSystemVersionsListResponse", +"properties": { +"kind": { +"description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#operatingSystemVersionsListResponse\".", +"type": "string" +}, +"operatingSystemVersions": { +"description": "Operating system version collection.", +"items": { +"$ref": "OperatingSystemVersion" +}, +"type": "array" +} +}, +"type": "object" +}, +"OperatingSystemsListResponse": { +"description": "Operating System List Response", +"id": "OperatingSystemsListResponse", +"properties": { +"kind": { +"description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#operatingSystemsListResponse\".", +"type": "string" +}, +"operatingSystems": { +"description": "Operating system collection.", +"items": { +"$ref": "OperatingSystem" +}, +"type": "array" +} +}, +"type": "object" +}, +"OptimizationActivity": { +"description": "Creative optimization activity.", +"id": "OptimizationActivity", +"properties": { +"floodlightActivityId": { +"description": "Floodlight activity ID of this optimization activity. This is a required field.", +"format": "int64", +"type": "string" +}, +"floodlightActivityIdDimensionValue": { +"$ref": "DimensionValue", +"description": "Dimension value for the ID of the floodlight activity. This is a read-only, auto-generated field." +}, +"weight": { +"description": "Weight associated with this optimization. The weight assigned will be understood in proportion to the weights assigned to the other optimization activities. Value must be greater than or equal to 1.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"PathToConversionReportCompatibleFields": { +"description": "Represents fields that are compatible to be selected for a report of type \"PATH_TO_CONVERSION\".", +"id": "PathToConversionReportCompatibleFields", +"properties": { +"conversionDimensions": { +"description": "Conversion dimensions which are compatible to be selected in the \"conversionDimensions\" section of the report.", +"items": { +"$ref": "Dimension" +}, +"type": "array" +}, +"customFloodlightVariables": { +"description": "Custom floodlight variables which are compatible to be selected in the \"customFloodlightVariables\" section of the report.", +"items": { +"$ref": "Dimension" +}, +"type": "array" +}, +"kind": { +"description": "The kind of resource this is, in this case dfareporting#pathToConversionReportCompatibleFields.", +"type": "string" +}, +"metrics": { +"description": "Metrics which are compatible to be selected in the \"metricNames\" section of the report.", +"items": { +"$ref": "Metric" +}, +"type": "array" +}, +"perInteractionDimensions": { +"description": "Per-interaction dimensions which are compatible to be selected in the \"perInteractionDimensions\" section of the report.", +"items": { +"$ref": "Dimension" +}, +"type": "array" +} +}, +"type": "object" +}, +"Placement": { +"description": "Contains properties of a placement.", +"id": "Placement", +"properties": { +"accountId": { +"description": "Account ID of this placement. This field can be left blank.", +"format": "int64", +"type": "string" +}, +"activeStatus": { +"description": "Whether this placement is active, inactive, archived or permanently archived.", +"enum": [ +"PLACEMENT_STATUS_UNKNOWN", +"PLACEMENT_STATUS_ACTIVE", +"PLACEMENT_STATUS_INACTIVE", +"PLACEMENT_STATUS_ARCHIVED", +"PLACEMENT_STATUS_PERMANENTLY_ARCHIVED" +], +"enumDescriptions": [ +"", +"", +"", +"", +"" +], +"type": "string" +}, +"adBlockingOptOut": { +"description": "Whether this placement opts out of ad blocking. When true, ad blocking is disabled for this placement. When false, the campaign and site settings take effect.", +"type": "boolean" +}, +"adServingPlatformId": { +"description": "Optional. Ad serving platform ID to identify the ad serving platform used by the placement. Measurement partners can use this field to add ad-server specific macros. Possible values are: * `1`, Adelphic * `2`, Adform * `3`, Adobe * `4`, Amobee * `5`, Basis (Centro) * `6`, Beeswax * `7`, Amazon * `8`, DV360 (DBM) * `9`, Innovid * `10`, MediaMath * `11`, Roku OneView DSP * `12`, TabMo Hawk * `13`, The Trade Desk * `14`, Xandr Invest DSP * `15`, Yahoo DSP * `16`, Zeta Global * `17`, Scaleout * `18`, Bidtellect * `19`, Unicorn * `20`, Teads * `21`, Quantcast * `22`, Cognitiv * `23`, AdTheorent * `24`, DeepIntent * `25`, Pulsepoint", +"format": "int64", +"type": "string" +}, +"additionalSizes": { +"description": "Additional sizes associated with this placement. When inserting or updating a placement, only the size ID field is used.", +"items": { +"$ref": "Size" +}, +"type": "array" +}, +"advertiserId": { +"description": "Advertiser ID of this placement. This field can be left blank.", +"format": "int64", +"type": "string" +}, +"advertiserIdDimensionValue": { +"$ref": "DimensionValue", +"description": "Dimension value for the ID of the advertiser. This is a read-only, auto-generated field." +}, +"allowOnYoutube": { +"description": "Optional. Whether the placement is enabled for YouTube integration.", +"type": "boolean" +}, +"campaignId": { +"description": "Campaign ID of this placement. This field is a required field on insertion.", +"format": "int64", +"type": "string" +}, +"campaignIdDimensionValue": { +"$ref": "DimensionValue", +"description": "Dimension value for the ID of the campaign. This is a read-only, auto-generated field." +}, +"comment": { +"description": "Comments for this placement.", +"type": "string" +}, +"compatibility": { +"description": "Placement compatibility. DISPLAY and DISPLAY_INTERSTITIAL refer to rendering on desktop, on mobile devices or in mobile apps for regular or interstitial ads respectively. APP and APP_INTERSTITIAL are no longer allowed for new placement insertions. Instead, use DISPLAY or DISPLAY_INTERSTITIAL. IN_STREAM_VIDEO refers to rendering in in-stream video ads developed with the VAST standard. This field is required on insertion.", +"enum": [ +"DISPLAY", +"DISPLAY_INTERSTITIAL", +"APP", +"APP_INTERSTITIAL", +"IN_STREAM_VIDEO", +"IN_STREAM_AUDIO" +], +"enumDescriptions": [ +"", +"", +"Deprecated enum value. No longer supported.", +"Deprecated enum value. No longer supported.", +"", +"" +], +"type": "string" +}, +"contentCategoryId": { +"description": "ID of the content category assigned to this placement.", +"format": "int64", +"type": "string" +}, +"conversionDomainOverride": { +"$ref": "PlacementConversionDomainOverride", +"description": "Optional. Conversion domain overrides for a placement." +}, +"createInfo": { +"$ref": "LastModifiedInfo", +"description": "Information about the creation of this placement. This is a read-only field." +}, +"directorySiteId": { +"description": "Directory site ID of this placement. On insert, you must set either this field or the siteId field to specify the site associated with this placement. This is a required field that is read-only after insertion.", +"format": "int64", +"type": "string" +}, +"directorySiteIdDimensionValue": { +"$ref": "DimensionValue", +"description": "Dimension value for the ID of the directory site. This is a read-only, auto-generated field." +}, +"externalId": { +"description": "External ID for this placement.", +"type": "string" +}, +"id": { +"description": "ID of this placement. This is a read-only, auto-generated field.", +"format": "int64", +"type": "string" +}, +"idDimensionValue": { +"$ref": "DimensionValue", +"description": "Dimension value for the ID of this placement. This is a read-only, auto-generated field." +}, +"keyName": { +"description": "Key name of this placement. This is a read-only, auto-generated field.", +"type": "string" +}, +"kind": { +"description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#placement\".", +"type": "string" +}, +"lastModifiedInfo": { +"$ref": "LastModifiedInfo", +"description": "Information about the most recent modification of this placement. This is a read-only field." +}, +"lookbackConfiguration": { +"$ref": "LookbackConfiguration", +"description": "Lookback window settings for this placement." +}, +"name": { +"description": "Name of this placement.This is a required field and must be less than or equal to 512 characters long.", +"type": "string" +}, +"partnerWrappingData": { +"$ref": "MeasurementPartnerWrappingData", +"description": "Measurement partner provided settings for a wrapped placement." +}, +"paymentApproved": { +"description": "Whether payment was approved for this placement. This is a read-only field relevant only to publisher-paid placements.", +"type": "boolean" +}, +"paymentSource": { +"description": "Payment source for this placement. This is a required field that is read-only after insertion.", +"enum": [ +"PLACEMENT_AGENCY_PAID", +"PLACEMENT_PUBLISHER_PAID" +], +"enumDescriptions": [ +"", +"" +], +"type": "string" +}, +"placementGroupId": { +"description": "ID of this placement's group, if applicable.", +"format": "int64", +"type": "string" +}, +"placementGroupIdDimensionValue": { +"$ref": "DimensionValue", +"description": "Dimension value for the ID of the placement group. This is a read-only, auto-generated field." +}, +"placementStrategyId": { +"description": "ID of the placement strategy assigned to this placement.", +"format": "int64", +"type": "string" +}, +"pricingSchedule": { +"$ref": "PricingSchedule", +"description": "Pricing schedule of this placement. This field is required on insertion, specifically subfields startDate, endDate and pricingType." +}, +"primary": { +"description": "Whether this placement is the primary placement of a roadblock (placement group). You cannot change this field from true to false. Setting this field to true will automatically set the primary field on the original primary placement of the roadblock to false, and it will automatically set the roadblock's primaryPlacementId field to the ID of this placement.", +"type": "boolean" +}, +"publisherUpdateInfo": { +"$ref": "LastModifiedInfo", +"description": "Information about the last publisher update. This is a read-only field." +}, +"siteId": { +"description": "Site ID associated with this placement. On insert, you must set either this field or the directorySiteId field to specify the site associated with this placement. This is a required field that is read-only after insertion.", +"format": "int64", +"type": "string" +}, +"siteIdDimensionValue": { +"$ref": "DimensionValue", +"description": "Dimension value for the ID of the site. This is a read-only, auto-generated field." +}, +"siteServed": { +"description": "Optional. Whether the ads in the placement are served by another platform and CM is only used for tracking or they are served by CM. A false value indicates the ad is served by CM.", +"type": "boolean" +}, +"size": { +"$ref": "Size", +"description": "Size associated with this placement. When inserting or updating a placement, only the size ID field is used. This field is required on insertion." +}, +"sslRequired": { +"description": "Whether creatives assigned to this placement must be SSL-compliant.", +"type": "boolean" +}, +"status": { +"description": "Third-party placement status.", +"enum": [ +"PENDING_REVIEW", +"PAYMENT_ACCEPTED", +"PAYMENT_REJECTED", +"ACKNOWLEDGE_REJECTION", +"ACKNOWLEDGE_ACCEPTANCE", +"DRAFT" +], +"enumDescriptions": [ +"Placement is not yet reviewed by publisher.", +"Placement Ad Serving fee is accepted by publisher", +"Placement Ad Serving fee is rejected by publisher", +"Advertisers has accepted rejection of placement ad serving fee. This will suppress future notification on DDMM UI", +"Advertisers has accepted acceptance of placement ad serving fee. This will suppress future notification on DDMM UI", +"Advertisers is still working on placement not yet ready for Publisher review; default status for pub-paid placements" +], +"type": "string" +}, +"subaccountId": { +"description": "Subaccount ID of this placement. This field can be left blank.", +"format": "int64", +"type": "string" +}, +"tagFormats": { +"description": "Tag formats to generate for this placement. This field is required on insertion. Acceptable values are: - \"PLACEMENT_TAG_STANDARD\" - \"PLACEMENT_TAG_IFRAME_JAVASCRIPT\" - \"PLACEMENT_TAG_IFRAME_ILAYER\" - \"PLACEMENT_TAG_INTERNAL_REDIRECT\" - \"PLACEMENT_TAG_JAVASCRIPT\" - \"PLACEMENT_TAG_INTERSTITIAL_IFRAME_JAVASCRIPT\" - \"PLACEMENT_TAG_INTERSTITIAL_INTERNAL_REDIRECT\" - \"PLACEMENT_TAG_INTERSTITIAL_JAVASCRIPT\" - \"PLACEMENT_TAG_CLICK_COMMANDS\" - \"PLACEMENT_TAG_INSTREAM_VIDEO_PREFETCH\" - \"PLACEMENT_TAG_INSTREAM_VIDEO_PREFETCH_VAST_3\" - \"PLACEMENT_TAG_INSTREAM_VIDEO_PREFETCH_VAST_4\" - \"PLACEMENT_TAG_TRACKING\" - \"PLACEMENT_TAG_TRACKING_IFRAME\" - \"PLACEMENT_TAG_TRACKING_JAVASCRIPT\" ", +"items": { +"enum": [ +"PLACEMENT_TAG_STANDARD", +"PLACEMENT_TAG_IFRAME_JAVASCRIPT", +"PLACEMENT_TAG_IFRAME_ILAYER", +"PLACEMENT_TAG_INTERNAL_REDIRECT", +"PLACEMENT_TAG_JAVASCRIPT", +"PLACEMENT_TAG_INTERSTITIAL_IFRAME_JAVASCRIPT", +"PLACEMENT_TAG_INTERSTITIAL_INTERNAL_REDIRECT", +"PLACEMENT_TAG_INTERSTITIAL_JAVASCRIPT", +"PLACEMENT_TAG_CLICK_COMMANDS", +"PLACEMENT_TAG_INSTREAM_VIDEO_PREFETCH", +"PLACEMENT_TAG_TRACKING", +"PLACEMENT_TAG_TRACKING_IFRAME", +"PLACEMENT_TAG_TRACKING_JAVASCRIPT", +"PLACEMENT_TAG_INSTREAM_VIDEO_PREFETCH_VAST_3", +"PLACEMENT_TAG_IFRAME_JAVASCRIPT_LEGACY", +"PLACEMENT_TAG_JAVASCRIPT_LEGACY", +"PLACEMENT_TAG_INTERSTITIAL_IFRAME_JAVASCRIPT_LEGACY", +"PLACEMENT_TAG_INTERSTITIAL_JAVASCRIPT_LEGACY", +"PLACEMENT_TAG_INSTREAM_VIDEO_PREFETCH_VAST_4", +"PLACEMENT_TAG_TRACKING_THIRD_PARTY_MEASUREMENT" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"" +], +"type": "string" +}, +"type": "array" +}, +"tagSetting": { +"$ref": "TagSetting", +"description": "Tag settings for this placement." +}, +"videoActiveViewOptOut": { +"description": "Whether Verification and ActiveView are disabled for in-stream video creatives for this placement. The same setting videoActiveViewOptOut exists on the site level -- the opt out occurs if either of these settings are true. These settings are distinct from DirectorySites.settings.activeViewOptOut or Sites.siteSettings.activeViewOptOut which only apply to display ads. However, Accounts.activeViewOptOut opts out both video traffic, as well as display ads, from Verification and ActiveView.", +"type": "boolean" +}, +"videoSettings": { +"$ref": "VideoSettings", +"description": "A collection of settings which affect video creatives served through this placement. Applicable to placements with IN_STREAM_VIDEO compatibility." +}, +"vpaidAdapterChoice": { +"description": "VPAID adapter setting for this placement. Controls which VPAID format the measurement adapter will use for in-stream video creatives assigned to this placement. *Note:* Flash is no longer supported. This field now defaults to HTML5 when the following values are provided: FLASH, BOTH.", +"enum": [ +"DEFAULT", +"FLASH", +"HTML5", +"BOTH" +], +"enumDescriptions": [ +"DEFAULT means Google chooses which adapter, if any, to serve.", +"", +"", +"" +], +"type": "string" +}, +"wrappingOptOut": { +"description": "Whether this placement opts out of tag wrapping.", +"type": "boolean" +}, +"youtubeSettings": { +"$ref": "YoutubeSettings", +"description": "Optional. YouTube settings for the placement. The placement must be enabled for YouTube to use this field." +} +}, +"type": "object" +}, +"PlacementAssignment": { +"description": "Placement Assignment.", +"id": "PlacementAssignment", +"properties": { +"active": { +"description": "Whether this placement assignment is active. When true, the placement will be included in the ad's rotation.", +"type": "boolean" +}, +"placementId": { +"description": "ID of the placement to be assigned. This is a required field.", +"format": "int64", +"type": "string" +}, +"placementIdDimensionValue": { +"$ref": "DimensionValue", +"description": "Dimension value for the ID of the placement. This is a read-only, auto-generated field." +}, +"sslRequired": { +"description": "Whether the placement to be assigned requires SSL. This is a read-only field that is auto-generated when the ad is inserted or updated.", +"type": "boolean" +} +}, +"type": "object" +}, +"PlacementConversionDomainOverride": { +"id": "PlacementConversionDomainOverride", +"properties": { +"conversionDomains": { +"items": { +"$ref": "PlacementSingleConversionDomain" +}, +"type": "array" +} +}, +"type": "object" +}, +"PlacementGroup": { +"description": "Contains properties of a package or roadblock.", +"id": "PlacementGroup", +"properties": { +"accountId": { +"description": "Account ID of this placement group. This is a read-only field that can be left blank.", +"format": "int64", +"type": "string" +}, +"activeStatus": { +"description": "Whether this placement group is active, inactive, archived or permanently archived.", +"enum": [ +"PLACEMENT_STATUS_UNKNOWN", +"PLACEMENT_STATUS_ACTIVE", +"PLACEMENT_STATUS_INACTIVE", +"PLACEMENT_STATUS_ARCHIVED", +"PLACEMENT_STATUS_PERMANENTLY_ARCHIVED" +], +"enumDescriptions": [ +"", +"", +"", +"", +"" +], +"type": "string" +}, +"advertiserId": { +"description": "Advertiser ID of this placement group. This is a required field on insertion.", +"format": "int64", +"type": "string" +}, +"advertiserIdDimensionValue": { +"$ref": "DimensionValue", +"description": "Dimension value for the ID of the advertiser. This is a read-only, auto-generated field." +}, +"campaignId": { +"description": "Campaign ID of this placement group. This field is required on insertion.", +"format": "int64", +"type": "string" +}, +"campaignIdDimensionValue": { +"$ref": "DimensionValue", +"description": "Dimension value for the ID of the campaign. This is a read-only, auto-generated field." +}, +"childPlacementIds": { +"description": "IDs of placements which are assigned to this placement group. This is a read-only, auto-generated field.", +"items": { +"format": "int64", +"type": "string" +}, +"type": "array" +}, +"comment": { +"description": "Comments for this placement group.", +"type": "string" +}, +"contentCategoryId": { +"description": "ID of the content category assigned to this placement group.", +"format": "int64", +"type": "string" +}, +"createInfo": { +"$ref": "LastModifiedInfo", +"description": "Information about the creation of this placement group. This is a read-only field." +}, +"directorySiteId": { +"description": "Directory site ID associated with this placement group. On insert, you must set either this field or the site_id field to specify the site associated with this placement group. This is a required field that is read-only after insertion.", +"format": "int64", +"type": "string" +}, +"directorySiteIdDimensionValue": { +"$ref": "DimensionValue", +"description": "Dimension value for the ID of the directory site. This is a read-only, auto-generated field." +}, +"externalId": { +"description": "External ID for this placement.", +"type": "string" +}, +"id": { +"description": "ID of this placement group. This is a read-only, auto-generated field.", +"format": "int64", +"type": "string" +}, +"idDimensionValue": { +"$ref": "DimensionValue", +"description": "Dimension value for the ID of this placement group. This is a read-only, auto-generated field." +}, +"kind": { +"description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#placementGroup\".", +"type": "string" +}, +"lastModifiedInfo": { +"$ref": "LastModifiedInfo", +"description": "Information about the most recent modification of this placement group. This is a read-only field." +}, +"name": { +"description": "Name of this placement group. This is a required field and must be less than 256 characters long.", +"type": "string" +}, +"placementGroupType": { +"description": "Type of this placement group. A package is a simple group of placements that acts as a single pricing point for a group of tags. A roadblock is a group of placements that not only acts as a single pricing point, but also assumes that all the tags in it will be served at the same time. A roadblock requires one of its assigned placements to be marked as primary for reporting. This field is required on insertion.", +"enum": [ +"PLACEMENT_PACKAGE", +"PLACEMENT_ROADBLOCK" +], +"enumDescriptions": [ +"A simple group of site-placements (tags). Basically acts as a single pricing point for a group of tags.", +"A group of site-placements (tags) that not only acts as a single pricing point but also assumes that all the tags in it will be served at the same time. This kind of group requires one of its assigned site-placements to be marked as primary for reporting purposes." +], +"type": "string" +}, +"placementStrategyId": { +"description": "ID of the placement strategy assigned to this placement group.", +"format": "int64", +"type": "string" +}, +"pricingSchedule": { +"$ref": "PricingSchedule", +"description": "Pricing schedule of this placement group. This field is required on insertion." +}, +"primaryPlacementId": { +"description": "ID of the primary placement, used to calculate the media cost of a roadblock (placement group). Modifying this field will automatically modify the primary field on all affected roadblock child placements.", +"format": "int64", +"type": "string" +}, +"primaryPlacementIdDimensionValue": { +"$ref": "DimensionValue", +"description": "Dimension value for the ID of the primary placement. This is a read-only, auto-generated field." +}, +"siteId": { +"description": "Site ID associated with this placement group. On insert, you must set either this field or the directorySiteId field to specify the site associated with this placement group. This is a required field that is read-only after insertion.", +"format": "int64", +"type": "string" +}, +"siteIdDimensionValue": { +"$ref": "DimensionValue", +"description": "Dimension value for the ID of the site. This is a read-only, auto-generated field." +}, +"subaccountId": { +"description": "Subaccount ID of this placement group. This is a read-only field that can be left blank.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"PlacementGroupsListResponse": { +"description": "Placement Group List Response", +"id": "PlacementGroupsListResponse", +"properties": { +"kind": { +"description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#placementGroupsListResponse\".", +"type": "string" +}, +"nextPageToken": { +"description": "Pagination token to be used for the next list operation.", +"type": "string" +}, +"placementGroups": { +"description": "Placement group collection.", +"items": { +"$ref": "PlacementGroup" +}, +"type": "array" +} +}, +"type": "object" +}, +"PlacementSingleConversionDomain": { +"id": "PlacementSingleConversionDomain", +"properties": { +"conversionDomainId": { +"format": "int64", +"type": "string" +}, +"conversionDomainValue": { +"type": "string" +} +}, +"type": "object" +}, +"PlacementStrategiesListResponse": { +"description": "Placement Strategy List Response", +"id": "PlacementStrategiesListResponse", +"properties": { +"kind": { +"description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#placementStrategiesListResponse\".", +"type": "string" +}, +"nextPageToken": { +"description": "Pagination token to be used for the next list operation.", +"type": "string" +}, +"placementStrategies": { +"description": "Placement strategy collection.", +"items": { +"$ref": "PlacementStrategy" +}, +"type": "array" +} +}, +"type": "object" +}, +"PlacementStrategy": { +"description": "Contains properties of a placement strategy.", +"id": "PlacementStrategy", +"properties": { +"accountId": { +"description": "Account ID of this placement strategy.This is a read-only field that can be left blank.", +"format": "int64", +"type": "string" +}, +"id": { +"description": "ID of this placement strategy. This is a read-only, auto-generated field.", +"format": "int64", +"type": "string" +}, +"kind": { +"description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#placementStrategy\".", +"type": "string" +}, +"name": { +"description": "Name of this placement strategy. This is a required field. It must be less than 256 characters long and unique among placement strategies of the same account.", +"type": "string" +} +}, +"type": "object" +}, +"PlacementTag": { +"description": "Placement Tag", +"id": "PlacementTag", +"properties": { +"placementId": { +"description": "Placement ID", +"format": "int64", +"type": "string" +}, +"tagDatas": { +"description": "Tags generated for this placement.", +"items": { +"$ref": "TagData" +}, +"type": "array" +} +}, +"type": "object" +}, +"PlacementsGenerateTagsResponse": { +"description": "Placement GenerateTags Response", +"id": "PlacementsGenerateTagsResponse", +"properties": { +"kind": { +"description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#placementsGenerateTagsResponse\".", +"type": "string" +}, +"placementTags": { +"description": "Set of generated tags for the specified placements.", +"items": { +"$ref": "PlacementTag" +}, +"type": "array" +} +}, +"type": "object" +}, +"PlacementsListResponse": { +"description": "Placement List Response", +"id": "PlacementsListResponse", +"properties": { +"kind": { +"description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#placementsListResponse\".", +"type": "string" +}, +"nextPageToken": { +"description": "Pagination token to be used for the next list operation.", +"type": "string" +}, +"placements": { +"description": "Placement collection.", +"items": { +"$ref": "Placement" +}, +"type": "array" +} +}, +"type": "object" +}, +"PlatformType": { +"description": "Contains information about a platform type that can be targeted by ads.", +"id": "PlatformType", +"properties": { +"id": { +"description": "ID of this platform type.", +"format": "int64", +"type": "string" +}, +"kind": { +"description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#platformType\".", +"type": "string" +}, +"name": { +"description": "Name of this platform type.", +"type": "string" +} +}, +"type": "object" +}, +"PlatformTypesListResponse": { +"description": "Platform Type List Response", +"id": "PlatformTypesListResponse", +"properties": { +"kind": { +"description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#platformTypesListResponse\".", +"type": "string" +}, +"platformTypes": { +"description": "Platform type collection.", +"items": { +"$ref": "PlatformType" +}, +"type": "array" +} +}, +"type": "object" +}, +"PopupWindowProperties": { +"description": "Popup Window Properties.", +"id": "PopupWindowProperties", +"properties": { +"dimension": { +"$ref": "Size", +"description": "Popup dimension for a creative. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA and all VPAID" +}, +"offset": { +"$ref": "OffsetPosition", +"description": "Upper-left corner coordinates of the popup window. Applicable if positionType is COORDINATES." +}, +"positionType": { +"description": "Popup window position either centered or at specific coordinate.", +"enum": [ +"CENTER", +"COORDINATES" +], +"enumDescriptions": [ +"window positioning at center.", +"window positioning by upper left corner coordinates." +], +"type": "string" +}, +"showAddressBar": { +"description": "Whether to display the browser address bar.", +"type": "boolean" +}, +"showMenuBar": { +"description": "Whether to display the browser menu bar.", +"type": "boolean" +}, +"showScrollBar": { +"description": "Whether to display the browser scroll bar.", +"type": "boolean" +}, +"showStatusBar": { +"description": "Whether to display the browser status bar.", +"type": "boolean" +}, +"showToolBar": { +"description": "Whether to display the browser tool bar.", +"type": "boolean" +}, +"title": { +"description": "Title of popup window.", +"type": "string" +} +}, +"type": "object" +}, +"PostalCode": { +"description": "Contains information about a postal code that can be targeted by ads.", +"id": "PostalCode", +"properties": { +"code": { +"description": "Postal code. This is equivalent to the id field.", +"type": "string" +}, +"countryCode": { +"description": "Country code of the country to which this postal code belongs.", +"type": "string" +}, +"countryDartId": { +"description": "DART ID of the country to which this postal code belongs.", +"format": "int64", +"type": "string" +}, +"id": { +"description": "ID of this postal code.", +"type": "string" +}, +"kind": { +"description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#postalCode\".", +"type": "string" +} +}, +"type": "object" +}, +"PostalCodesListResponse": { +"description": "Postal Code List Response", +"id": "PostalCodesListResponse", +"properties": { +"kind": { +"description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#postalCodesListResponse\".", +"type": "string" +}, +"postalCodes": { +"description": "Postal code collection.", +"items": { +"$ref": "PostalCode" +}, +"type": "array" +} +}, +"type": "object" +}, +"PricingSchedule": { +"description": "Pricing Schedule", +"id": "PricingSchedule", +"properties": { +"capCostOption": { +"description": "Placement cap cost option.", +"enum": [ +"CAP_COST_NONE", +"CAP_COST_MONTHLY", +"CAP_COST_CUMULATIVE" +], +"enumDescriptions": [ +"", +"", +"" +], +"type": "string" +}, +"endDate": { +"format": "date", +"type": "string" +}, +"flighted": { +"description": "Whether this placement is flighted. If true, pricing periods will be computed automatically.", +"type": "boolean" +}, +"floodlightActivityId": { +"description": "Floodlight activity ID associated with this placement. This field should be set when placement pricing type is set to PRICING_TYPE_CPA.", +"format": "int64", +"type": "string" +}, +"pricingPeriods": { +"description": "Pricing periods for this placement.", +"items": { +"$ref": "PricingSchedulePricingPeriod" +}, +"type": "array" +}, +"pricingType": { +"description": "Placement pricing type. This field is required on insertion.", +"enum": [ +"PRICING_TYPE_CPM", +"PRICING_TYPE_CPC", +"PRICING_TYPE_CPA", +"PRICING_TYPE_FLAT_RATE_IMPRESSIONS", +"PRICING_TYPE_FLAT_RATE_CLICKS", +"PRICING_TYPE_CPM_ACTIVEVIEW" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"" +], +"type": "string" +}, +"startDate": { +"format": "date", +"type": "string" +}, +"testingStartDate": { +"format": "date", +"type": "string" +} +}, +"type": "object" +}, +"PricingSchedulePricingPeriod": { +"description": "Pricing Period", +"id": "PricingSchedulePricingPeriod", +"properties": { +"endDate": { +"format": "date", +"type": "string" +}, +"pricingComment": { +"description": "Comments for this pricing period.", +"type": "string" +}, +"rateOrCostNanos": { +"description": "Rate or cost of this pricing period in nanos (i.e., multiplied by 1000000000). Acceptable values are 0 to 1000000000000000000, inclusive.", +"format": "int64", +"type": "string" +}, +"startDate": { +"format": "date", +"type": "string" +}, +"units": { +"description": "Units of this pricing period. Acceptable values are 0 to 10000000000, inclusive.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"ProximityFilter": { +"description": "Contains proximity filter information.", +"id": "ProximityFilter", +"properties": { +"fieldId": { +"description": "Optional. Field ID in the element.", +"format": "int32", +"type": "integer" +}, +"radiusBucketType": { +"description": "Optional. The radius bucket type of the proximity filter", +"enum": [ +"RADIUS_BUCKET_TYPE_UNKNOWN", +"SMALL", +"MEDIUM", +"LARGE", +"MULTI_REGIONAL", +"NATIONAL" +], +"enumDescriptions": [ +"The radius bucket type is unknown.", +"The radius bucket type is small.", +"The radius bucket type is medium.", +"The radius bucket type is large.", +"The radius bucket type is multi-regional.", +"The radius bucket type is national." +], +"type": "string" +}, +"radiusUnitType": { +"description": "Optional. The units of the radius value", +"enum": [ +"RADIUS_UNIT_TYPE_UNKNOWN", +"KILOMETERS", +"MILES" +], +"enumDescriptions": [ +"The units of the radius value are unknown. This value is unused.", +"The units of the radius value are kilometers.", +"The units of the radius value are miles." +], +"type": "string" +}, +"radiusValue": { +"description": "Optional. Radius length in units defined by radius_units.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"ReachReportCompatibleFields": { +"description": "Represents fields that are compatible to be selected for a report of type \"REACH\".", +"id": "ReachReportCompatibleFields", +"properties": { +"dimensionFilters": { +"description": "Dimensions which are compatible to be selected in the \"dimensionFilters\" section of the report.", +"items": { +"$ref": "Dimension" +}, +"type": "array" +}, +"dimensions": { +"description": "Dimensions which are compatible to be selected in the \"dimensions\" section of the report.", +"items": { +"$ref": "Dimension" +}, +"type": "array" +}, +"kind": { +"description": "The kind of resource this is, in this case dfareporting#reachReportCompatibleFields.", +"type": "string" +}, +"metrics": { +"description": "Metrics which are compatible to be selected in the \"metricNames\" section of the report.", +"items": { +"$ref": "Metric" +}, +"type": "array" +}, +"pivotedActivityMetrics": { +"description": "Metrics which are compatible to be selected as activity metrics to pivot on in the \"activities\" section of the report.", +"items": { +"$ref": "Metric" +}, +"type": "array" +}, +"reachByFrequencyMetrics": { +"description": "Metrics which are compatible to be selected in the \"reachByFrequencyMetricNames\" section of the report.", +"items": { +"$ref": "Metric" +}, +"type": "array" +} +}, +"type": "object" +}, +"Recipient": { +"description": "Represents a recipient.", +"id": "Recipient", +"properties": { +"deliveryType": { +"description": "The delivery type for the recipient.", +"enum": [ +"LINK", +"ATTACHMENT" +], +"enumDescriptions": [ +"", +"" +], +"type": "string" +}, +"email": { +"description": "The email address of the recipient.", +"type": "string" +}, +"kind": { +"description": "The kind of resource this is, in this case dfareporting#recipient.", +"type": "string" +} +}, +"type": "object" +}, +"Region": { +"description": "Contains information about a region that can be targeted by ads.", +"id": "Region", +"properties": { +"countryCode": { +"description": "Country code of the country to which this region belongs.", +"type": "string" +}, +"countryDartId": { +"description": "DART ID of the country to which this region belongs.", +"format": "int64", +"type": "string" +}, +"dartId": { +"description": "DART ID of this region.", +"format": "int64", +"type": "string" +}, +"kind": { +"description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#region\".", +"type": "string" +}, +"name": { +"description": "Name of this region.", +"type": "string" +}, +"regionCode": { +"description": "Region code.", +"type": "string" +} +}, +"type": "object" +}, +"RegionsListResponse": { +"description": "Region List Response", +"id": "RegionsListResponse", +"properties": { +"kind": { +"description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#regionsListResponse\".", +"type": "string" +}, +"regions": { +"description": "Region collection.", +"items": { +"$ref": "Region" +}, +"type": "array" +} +}, +"type": "object" +}, +"RemarketingList": { +"description": "Contains properties of a remarketing list. Remarketing enables you to create lists of users who have performed specific actions on a site, then target ads to members of those lists. This resource can be used to manage remarketing lists that are owned by your advertisers. To see all remarketing lists that are visible to your advertisers, including those that are shared to your advertiser or account, use the TargetableRemarketingLists resource.", +"id": "RemarketingList", +"properties": { +"accountId": { +"description": "Account ID of this remarketing list. This is a read-only, auto-generated field that is only returned in GET requests.", +"format": "int64", +"type": "string" +}, +"active": { +"description": "Whether this remarketing list is active.", +"type": "boolean" +}, +"advertiserId": { +"description": "Dimension value for the advertiser ID that owns this remarketing list. This is a required field.", +"format": "int64", +"type": "string" +}, +"advertiserIdDimensionValue": { +"$ref": "DimensionValue", +"description": "Dimension value for the ID of the advertiser. This is a read-only, auto-generated field." +}, +"description": { +"description": "Remarketing list description.", +"type": "string" +}, +"id": { +"description": "Remarketing list ID. This is a read-only, auto-generated field.", +"format": "int64", +"type": "string" +}, +"kind": { +"description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#remarketingList\".", +"type": "string" +}, +"lifeSpan": { +"description": "Number of days that a user should remain in the remarketing list without an impression. Acceptable values are 1 to 540, inclusive.", +"format": "int64", +"type": "string" +}, +"listPopulationRule": { +"$ref": "ListPopulationRule", +"description": "Rule used to populate the remarketing list with users." +}, +"listSize": { +"description": "Number of users currently in the list. This is a read-only field.", +"format": "int64", +"type": "string" +}, +"listSource": { +"description": "Product from which this remarketing list was originated.", +"enum": [ +"REMARKETING_LIST_SOURCE_OTHER", +"REMARKETING_LIST_SOURCE_ADX", +"REMARKETING_LIST_SOURCE_DFP", +"REMARKETING_LIST_SOURCE_XFP", +"REMARKETING_LIST_SOURCE_DFA", +"REMARKETING_LIST_SOURCE_GA", +"REMARKETING_LIST_SOURCE_YOUTUBE", +"REMARKETING_LIST_SOURCE_DBM", +"REMARKETING_LIST_SOURCE_GPLUS", +"REMARKETING_LIST_SOURCE_DMP", +"REMARKETING_LIST_SOURCE_PLAY_STORE" +], +"enumDescriptions": [ +"covers sources not supported in DCM other than those listed below", +"ADX", +"DFP", +"XFP", +"DoubleClick Campaign Manager", +"Google Analytics Premium", +"Youtube", +"DoubleClick Bid Manager", +"G+", +"DoubleClick Audience Center", +"Playstore" +], +"type": "string" +}, +"name": { +"description": "Name of the remarketing list. This is a required field. Must be no greater than 128 characters long.", +"type": "string" +}, +"subaccountId": { +"description": "Subaccount ID of this remarketing list. This is a read-only, auto-generated field that is only returned in GET requests.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"RemarketingListShare": { +"description": "Contains properties of a remarketing list's sharing information. Sharing allows other accounts or advertisers to target to your remarketing lists. This resource can be used to manage remarketing list sharing to other accounts and advertisers.", +"id": "RemarketingListShare", +"properties": { +"kind": { +"description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#remarketingListShare\".", +"type": "string" +}, +"remarketingListId": { +"description": "Remarketing list ID. This is a read-only, auto-generated field.", +"format": "int64", +"type": "string" +}, +"sharedAccountIds": { +"description": "Accounts that the remarketing list is shared with.", +"items": { +"format": "int64", +"type": "string" +}, +"type": "array" +}, +"sharedAdvertiserIds": { +"description": "Advertisers that the remarketing list is shared with.", +"items": { +"format": "int64", +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"RemarketingListsListResponse": { +"description": "Remarketing list response", +"id": "RemarketingListsListResponse", +"properties": { +"kind": { +"description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#remarketingListsListResponse\".", +"type": "string" +}, +"nextPageToken": { +"description": "Pagination token to be used for the next list operation.", +"type": "string" +}, +"remarketingLists": { +"description": "Remarketing list collection.", +"items": { +"$ref": "RemarketingList" +}, +"type": "array" +} +}, +"type": "object" +}, +"RemarketingValueAttribute": { +"description": "Contains remarketing value attribute information.", +"id": "RemarketingValueAttribute", +"properties": { +"fieldId": { +"description": "Optional. Field ID in the element.", +"format": "int32", +"type": "integer" +}, +"userAttributeIds": { +"description": "Optional. Remarketing user attribute IDs for auto filtering.", +"items": { +"format": "int64", +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"Report": { +"description": "Represents a Report resource.", +"id": "Report", +"properties": { +"accountId": { +"description": "The account ID to which this report belongs.", +"format": "int64", +"type": "string" +}, +"criteria": { +"description": "The report criteria for a report of type \"STANDARD\".", +"properties": { +"activities": { +"$ref": "Activities", +"description": "Activity group." +}, +"customRichMediaEvents": { +"$ref": "CustomRichMediaEvents", +"description": "Custom Rich Media Events group." +}, +"dateRange": { +"$ref": "DateRange", +"description": "The date range for which this report should be run." +}, +"dimensionFilters": { +"description": "The list of filters on which dimensions are filtered. Filters for different dimensions are ANDed, filters for the same dimension are grouped together and ORed.", +"items": { +"$ref": "DimensionValue" +}, +"type": "array" +}, +"dimensions": { +"description": "The list of standard dimensions the report should include.", +"items": { +"$ref": "SortedDimension" +}, +"type": "array" +}, +"metricNames": { +"description": "The list of names of metrics the report should include.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"crossMediaReachCriteria": { +"description": "Optional. The report criteria for a report of type \"CROSS_MEDIA_REACH\".", +"properties": { +"dateRange": { +"$ref": "DateRange", +"description": "Required. The date range this report should be run for." +}, +"dimensionFilters": { +"description": "Required. The list of filters on which dimensions are filtered. Filters for different dimensions are ANDed, filters for the same dimension are grouped together and ORed.", +"items": { +"$ref": "DimensionValue" +}, +"type": "array" +}, +"dimensions": { +"description": "Required. The list of dimensions the report should include.", +"items": { +"$ref": "SortedDimension" +}, +"type": "array" +}, +"metricNames": { +"description": "Required. The list of names of metrics the report should include.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"delivery": { +"description": "The report's email delivery settings.", +"properties": { +"emailOwner": { +"description": "Whether the report should be emailed to the report owner.", +"type": "boolean" +}, +"emailOwnerDeliveryType": { +"description": "The type of delivery for the owner to receive, if enabled.", +"enum": [ +"LINK", +"ATTACHMENT" +], +"enumDescriptions": [ +"", +"" +], +"type": "string" +}, +"message": { +"description": "The message to be sent with each email.", +"type": "string" +}, +"recipients": { +"description": "The list of recipients to which to email the report.", +"items": { +"$ref": "Recipient" +}, +"type": "array" +} +}, +"type": "object" +}, +"etag": { +"description": "The eTag of this response for caching purposes.", +"type": "string" +}, +"fileName": { +"description": "The filename used when generating report files for this report.", +"type": "string" +}, +"floodlightCriteria": { +"description": "The report criteria for a report of type \"FLOODLIGHT\".", +"properties": { +"customRichMediaEvents": { +"description": "The list of custom rich media events to include.", +"items": { +"$ref": "DimensionValue" +}, +"type": "array" +}, +"dateRange": { +"$ref": "DateRange", +"description": "The date range this report should be run for." +}, +"dimensionFilters": { +"description": "The list of filters on which dimensions are filtered. Filters for different dimensions are ANDed, filters for the same dimension are grouped together and ORed.", +"items": { +"$ref": "DimensionValue" +}, +"type": "array" +}, +"dimensions": { +"description": "The list of dimensions the report should include.", +"items": { +"$ref": "SortedDimension" +}, +"type": "array" +}, +"floodlightConfigId": { +"$ref": "DimensionValue", +"description": "The floodlight ID for which to show data in this report. All advertisers associated with that ID will automatically be added. The dimension of the value needs to be 'dfa:floodlightConfigId'." +}, +"metricNames": { +"description": "The list of names of metrics the report should include.", +"items": { +"type": "string" +}, +"type": "array" +}, +"reportProperties": { +"description": "The properties of the report.", +"properties": { +"includeAttributedIPConversions": { +"description": "Include conversions that have no cookie, but do have an exposure path.", +"type": "boolean" +}, +"includeUnattributedCookieConversions": { +"description": "Include conversions of users with a DoubleClick cookie but without an exposure. That means the user did not click or see an ad from the advertiser within the Floodlight group, or that the interaction happened outside the lookback window.", +"type": "boolean" +}, +"includeUnattributedIPConversions": { +"description": "Include conversions that have no associated cookies and no exposures. It\u2019s therefore impossible to know how the user was exposed to your ads during the lookback window prior to a conversion.", +"type": "boolean" +} +}, +"type": "object" +} +}, +"type": "object" +}, +"format": { +"description": "The output format of the report. If not specified, default format is \"CSV\". Note that the actual format in the completed report file might differ if for instance the report's size exceeds the format's capabilities. \"CSV\" will then be the fallback format.", +"enum": [ +"CSV", +"EXCEL" +], +"enumDescriptions": [ +"", +"" +], +"type": "string" +}, +"id": { +"description": "The unique ID identifying this report resource.", +"format": "int64", +"type": "string" +}, +"kind": { +"description": "The kind of resource this is, in this case dfareporting#report.", +"type": "string" +}, +"lastModifiedTime": { +"description": "The timestamp (in milliseconds since epoch) of when this report was last modified.", +"format": "uint64", +"type": "string" +}, +"name": { +"description": "The name of the report.", +"type": "string" +}, +"ownerProfileId": { +"description": "The user profile id of the owner of this report.", +"format": "int64", +"type": "string" +}, +"pathToConversionCriteria": { +"description": "The report criteria for a report of type \"PATH_TO_CONVERSION\".", +"properties": { +"activityFilters": { +"description": "The list of 'dfa:activity' values to filter on.", +"items": { +"$ref": "DimensionValue" +}, +"type": "array" +}, +"conversionDimensions": { +"description": "The list of conversion dimensions the report should include.", +"items": { +"$ref": "SortedDimension" +}, +"type": "array" +}, +"customFloodlightVariables": { +"description": "The list of custom floodlight variables the report should include.", +"items": { +"$ref": "SortedDimension" +}, +"type": "array" +}, +"customRichMediaEvents": { +"description": "The list of custom rich media events to include.", +"items": { +"$ref": "DimensionValue" +}, +"type": "array" +}, +"dateRange": { +"$ref": "DateRange", +"description": "The date range this report should be run for." +}, +"floodlightConfigId": { +"$ref": "DimensionValue", +"description": "The floodlight ID for which to show data in this report. All advertisers associated with that ID will automatically be added. The dimension of the value needs to be 'dfa:floodlightConfigId'." +}, +"metricNames": { +"description": "The list of names of metrics the report should include.", +"items": { +"type": "string" +}, +"type": "array" +}, +"perInteractionDimensions": { +"description": "The list of per interaction dimensions the report should include.", +"items": { +"$ref": "SortedDimension" +}, +"type": "array" +}, +"reportProperties": { +"description": "The properties of the report.", +"properties": { +"clicksLookbackWindow": { +"description": "CM360 checks to see if a click interaction occurred within the specified period of time before a conversion. By default the value is pulled from Floodlight or you can manually enter a custom value. Valid values: 1-90.", +"format": "int32", +"type": "integer" +}, +"impressionsLookbackWindow": { +"description": "CM360 checks to see if an impression interaction occurred within the specified period of time before a conversion. By default the value is pulled from Floodlight or you can manually enter a custom value. Valid values: 1-90.", +"format": "int32", +"type": "integer" +}, +"includeAttributedIPConversions": { +"description": "Deprecated: has no effect.", +"type": "boolean" +}, +"includeUnattributedCookieConversions": { +"description": "Include conversions of users with a DoubleClick cookie but without an exposure. That means the user did not click or see an ad from the advertiser within the Floodlight group, or that the interaction happened outside the lookback window.", +"type": "boolean" +}, +"includeUnattributedIPConversions": { +"description": "Include conversions that have no associated cookies and no exposures. It\u2019s therefore impossible to know how the user was exposed to your ads during the lookback window prior to a conversion.", +"type": "boolean" +}, +"maximumClickInteractions": { +"description": "The maximum number of click interactions to include in the report. Advertisers currently paying for E2C reports get up to 200 (100 clicks, 100 impressions). If another advertiser in your network is paying for E2C, you can have up to 5 total exposures per report.", +"format": "int32", +"type": "integer" +}, +"maximumImpressionInteractions": { +"description": "The maximum number of click interactions to include in the report. Advertisers currently paying for E2C reports get up to 200 (100 clicks, 100 impressions). If another advertiser in your network is paying for E2C, you can have up to 5 total exposures per report.", +"format": "int32", +"type": "integer" +}, +"maximumInteractionGap": { +"description": "The maximum amount of time that can take place between interactions (clicks or impressions) by the same user. Valid values: 1-90.", +"format": "int32", +"type": "integer" +}, +"pivotOnInteractionPath": { +"description": "Enable pivoting on interaction path.", +"type": "boolean" +} +}, +"type": "object" +} +}, +"type": "object" +}, +"reachCriteria": { +"description": "The report criteria for a report of type \"REACH\".", +"properties": { +"activities": { +"$ref": "Activities", +"description": "Activity group." +}, +"customRichMediaEvents": { +"$ref": "CustomRichMediaEvents", +"description": "Custom Rich Media Events group." +}, +"dateRange": { +"$ref": "DateRange", +"description": "The date range this report should be run for." +}, +"dimensionFilters": { +"description": "The list of filters on which dimensions are filtered. Filters for different dimensions are ANDed, filters for the same dimension are grouped together and ORed.", +"items": { +"$ref": "DimensionValue" +}, +"type": "array" +}, +"dimensions": { +"description": "The list of dimensions the report should include.", +"items": { +"$ref": "SortedDimension" +}, +"type": "array" +}, +"metricNames": { +"description": "The list of names of metrics the report should include.", +"items": { +"type": "string" +}, +"type": "array" +}, +"reachByFrequencyMetricNames": { +"description": "The list of names of Reach By Frequency metrics the report should include.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"schedule": { +"description": "The report's schedule. Can only be set if the report's 'dateRange' is a relative date range and the relative date range is not \"TODAY\".", +"properties": { +"active": { +"description": "Whether the schedule is active or not. Must be set to either true or false.", +"type": "boolean" +}, +"every": { +"description": "Defines every how many days, weeks or months the report should be run. Needs to be set when \"repeats\" is either \"DAILY\", \"WEEKLY\" or \"MONTHLY\".", +"format": "int32", +"type": "integer" +}, +"expirationDate": { +"format": "date", +"type": "string" +}, +"repeats": { +"description": "The interval for which the report is repeated. Note: - \"DAILY\" also requires field \"every\" to be set. - \"WEEKLY\" also requires fields \"every\" and \"repeatsOnWeekDays\" to be set. - \"MONTHLY\" also requires fields \"every\" and \"runsOnDayOfMonth\" to be set. ", +"type": "string" +}, +"repeatsOnWeekDays": { +"description": "List of week days \"WEEKLY\" on which scheduled reports should run.", +"items": { +"enum": [ +"SUNDAY", +"MONDAY", +"TUESDAY", +"WEDNESDAY", +"THURSDAY", +"FRIDAY", +"SATURDAY" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"", +"" +], +"type": "string" +}, +"type": "array" +}, +"runsOnDayOfMonth": { +"description": "Enum to define for \"MONTHLY\" scheduled reports whether reports should be repeated on the same day of the month as \"startDate\" or the same day of the week of the month. Example: If 'startDate' is Monday, April 2nd 2012 (2012-04-02), \"DAY_OF_MONTH\" would run subsequent reports on the 2nd of every Month, and \"WEEK_OF_MONTH\" would run subsequent reports on the first Monday of the month.", +"enum": [ +"DAY_OF_MONTH", +"WEEK_OF_MONTH" +], +"enumDescriptions": [ +"", +"" +], +"type": "string" +}, +"startDate": { +"format": "date", +"type": "string" +}, +"timezone": { +"description": "The timezone when the report will run.", +"type": "string" +} +}, +"type": "object" +}, +"subAccountId": { +"description": "The subaccount ID to which this report belongs if applicable.", +"format": "int64", +"type": "string" +}, +"type": { +"description": "The type of the report.", +"enum": [ +"STANDARD", +"REACH", +"PATH_TO_CONVERSION", +"FLOODLIGHT", +"CROSS_MEDIA_REACH" +], +"enumDescriptions": [ +"", +"", +"", +"", +"" +], +"type": "string" +} +}, +"type": "object" +}, +"ReportCompatibleFields": { +"description": "Represents fields that are compatible to be selected for a report of type \"STANDARD\".", +"id": "ReportCompatibleFields", +"properties": { +"dimensionFilters": { +"description": "Dimensions which are compatible to be selected in the \"dimensionFilters\" section of the report.", +"items": { +"$ref": "Dimension" +}, +"type": "array" +}, +"dimensions": { +"description": "Dimensions which are compatible to be selected in the \"dimensions\" section of the report.", +"items": { +"$ref": "Dimension" +}, +"type": "array" +}, +"kind": { +"description": "The kind of resource this is, in this case dfareporting#reportCompatibleFields.", +"type": "string" +}, +"metrics": { +"description": "Metrics which are compatible to be selected in the \"metricNames\" section of the report.", +"items": { +"$ref": "Metric" +}, +"type": "array" +}, +"pivotedActivityMetrics": { +"description": "Metrics which are compatible to be selected as activity metrics to pivot on in the \"activities\" section of the report.", +"items": { +"$ref": "Metric" +}, +"type": "array" +} +}, +"type": "object" +}, +"ReportList": { +"description": "Represents the list of reports.", +"id": "ReportList", +"properties": { +"etag": { +"description": "The eTag of this response for caching purposes.", +"type": "string" +}, +"items": { +"description": "The reports returned in this response.", +"items": { +"$ref": "Report" +}, +"type": "array" +}, +"kind": { +"description": "The kind of list this is, in this case dfareporting#reportList.", +"type": "string" +}, +"nextPageToken": { +"description": "Continuation token used to page through reports. To retrieve the next page of results, set the next request's \"pageToken\" to the value of this field. The page token is only valid for a limited amount of time and should not be persisted.", +"type": "string" +} +}, +"type": "object" +}, +"ReportsConfiguration": { +"description": "Reporting Configuration", +"id": "ReportsConfiguration", +"properties": { +"exposureToConversionEnabled": { +"description": "Whether the exposure to conversion report is enabled. This report shows detailed pathway information on up to 10 of the most recent ad exposures seen by a user before converting.", +"type": "boolean" +}, +"lookbackConfiguration": { +"$ref": "LookbackConfiguration", +"description": "Default lookback windows for new advertisers in this account." +}, +"reportGenerationTimeZoneId": { +"description": "Report generation time zone ID of this account. This is a required field that cannot be changed on update. Acceptable values are: - \"1\" for \"America/New_York\" - \"2\" for \"Europe/London\" - \"3\" for \"Europe/Paris\" - \"4\" for \"Africa/Johannesburg\" - \"5\" for \"Asia/Jerusalem\" - \"6\" for \"Asia/Shanghai\" - \"7\" for \"Asia/Hong_Kong\" - \"8\" for \"Asia/Tokyo\" - \"9\" for \"Australia/Sydney\" - \"10\" for \"Asia/Dubai\" - \"11\" for \"America/Los_Angeles\" - \"12\" for \"Pacific/Auckland\" - \"13\" for \"America/Sao_Paulo\" - \"16\" for \"America/Asuncion\" - \"17\" for \"America/Chicago\" - \"18\" for \"America/Denver\" - \"19\" for \"America/St_Johns\" - \"20\" for \"Asia/Dhaka\" - \"21\" for \"Asia/Jakarta\" - \"22\" for \"Asia/Kabul\" - \"23\" for \"Asia/Karachi\" - \"24\" for \"Asia/Calcutta\" - \"25\" for \"Asia/Pyongyang\" - \"26\" for \"Asia/Rangoon\" - \"27\" for \"Atlantic/Cape_Verde\" - \"28\" for \"Atlantic/South_Georgia\" - \"29\" for \"Australia/Adelaide\" - \"30\" for \"Australia/Lord_Howe\" - \"31\" for \"Europe/Moscow\" - \"32\" for \"Pacific/Kiritimati\" - \"35\" for \"Pacific/Norfolk\" - \"36\" for \"Pacific/Tongatapu\" ", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"RequestValue": { +"description": "Contains request value information.", +"id": "RequestValue", +"properties": { +"excludeFromUserAttributeIds": { +"description": "Optional. User attribute IDs in the request that should be excluded. Used only when the field type is REMARKETING_VALUE or USER_ATTRIBUTE_ID.", +"items": { +"format": "int64", +"type": "string" +}, +"type": "array" +}, +"key": { +"description": "Optional. Custom key in the request. Used only when the field type is CUSTOM_VALUE.", +"type": "string" +}, +"userAttributeIds": { +"description": "Optional. User attribute IDs in the request. Used only when the field type is REMARKETING_VALUE or USER_ATTRIBUTE_ID.", +"items": { +"format": "int64", +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"RichMediaExitOverride": { +"description": "Rich Media Exit Override.", +"id": "RichMediaExitOverride", +"properties": { +"clickThroughUrl": { +"$ref": "ClickThroughUrl", +"description": "Click-through URL of this rich media exit override. Applicable if the enabled field is set to true." +}, +"enabled": { +"description": "Whether to use the clickThroughUrl. If false, the creative-level exit will be used.", +"type": "boolean" +}, +"exitId": { +"description": "ID for the override to refer to a specific exit in the creative.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"RuleBlock": { +"description": "Contains a list of field filters that the given custom rule will apply.", +"id": "RuleBlock", +"properties": { +"fieldFilter": { +"description": "Optional. A list of non-auto field filters", +"items": { +"$ref": "FieldFilter" +}, +"type": "array" +} +}, +"type": "object" +}, +"Site": { +"description": "Contains properties of a site.", +"id": "Site", +"properties": { +"accountId": { +"description": "Account ID of this site. This is a read-only field that can be left blank.", +"format": "int64", +"type": "string" +}, +"adServingPlatformId": { +"description": "Optional. Ad serving platform ID to identify the ad serving platform used by the site. Measurement partners can use this field to add ad-server specific macros. If set, this value acts as the default during placement creation. Possible values are: * `1`, Adelphic * `2`, Adform * `3`, Adobe * `4`, Amobee * `5`, Basis (Centro) * `6`, Beeswax * `7`, Amazon * `8`, DV360 (DBM) * `9`, Innovid * `10`, MediaMath * `11`, Roku OneView DSP * `12`, TabMo Hawk * `13`, The Trade Desk * `14`, Xandr Invest DSP * `15`, Yahoo DSP * `16`, Zeta Global * `17`, Scaleout * `18`, Bidtellect * `19`, Unicorn * `20`, Teads * `21`, Quantcast * `22`, Cognitiv * `23`, AdTheorent * `24`, DeepIntent * `25`, Pulsepoint", +"format": "int64", +"type": "string" +}, +"approved": { +"description": "Whether this site is approved.", +"type": "boolean" +}, +"directorySiteId": { +"description": "Directory site associated with this site. This is a required field that is read-only after insertion.", +"format": "int64", +"type": "string" +}, +"directorySiteIdDimensionValue": { +"$ref": "DimensionValue", +"description": "Dimension value for the ID of the directory site. This is a read-only, auto-generated field." +}, +"id": { +"description": "ID of this site. This is a read-only, auto-generated field.", +"format": "int64", +"type": "string" +}, +"idDimensionValue": { +"$ref": "DimensionValue", +"description": "Dimension value for the ID of this site. This is a read-only, auto-generated field." +}, +"keyName": { +"description": "Key name of this site. This is a read-only, auto-generated field.", +"type": "string" +}, +"kind": { +"description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#site\".", +"type": "string" +}, +"name": { +"description": "Name of this site.This is a required field. Must be less than 128 characters long. If this site is under a subaccount, the name must be unique among sites of the same subaccount. Otherwise, this site is a top-level site, and the name must be unique among top-level sites of the same account.", +"type": "string" +}, +"siteContacts": { +"description": "Site contacts.", +"items": { +"$ref": "SiteContact" +}, +"type": "array" +}, +"siteSettings": { +"$ref": "SiteSettings", +"description": "Site-wide settings." +}, +"subaccountId": { +"description": "Subaccount ID of this site. This is a read-only field that can be left blank.", +"format": "int64", +"type": "string" +}, +"videoSettings": { +"$ref": "SiteVideoSettings", +"description": "Default video settings for new placements created under this site. This value will be used to populate the placements.videoSettings field, when no value is specified for the new placement." +} +}, +"type": "object" +}, +"SiteCompanionSetting": { +"description": "Companion Settings", +"id": "SiteCompanionSetting", +"properties": { +"companionsDisabled": { +"description": "Whether companions are disabled for this site template.", +"type": "boolean" +}, +"enabledSizes": { +"description": "Allowlist of companion sizes to be served via this site template. Set this list to null or empty to serve all companion sizes.", +"items": { +"$ref": "Size" +}, +"type": "array" +}, +"imageOnly": { +"description": "Whether to serve only static images as companions.", +"type": "boolean" +}, +"kind": { +"description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#siteCompanionSetting\".", +"type": "string" +} +}, +"type": "object" +}, +"SiteContact": { +"description": "Site Contact", +"id": "SiteContact", +"properties": { +"address": { +"description": "Address of this site contact.", +"type": "string" +}, +"contactType": { +"description": "Site contact type.", +"enum": [ +"SALES_PERSON", +"TRAFFICKER" +], +"enumDescriptions": [ +"", +"" +], +"type": "string" +}, +"email": { +"description": "Email address of this site contact. This is a required field.", +"type": "string" +}, +"firstName": { +"description": "First name of this site contact.", +"type": "string" +}, +"id": { +"description": "ID of this site contact. This is a read-only, auto-generated field.", +"format": "int64", +"type": "string" +}, +"lastName": { +"description": "Last name of this site contact.", +"type": "string" +}, +"phone": { +"description": "Primary phone number of this site contact.", +"type": "string" +}, +"title": { +"description": "Title or designation of this site contact.", +"type": "string" +} +}, +"type": "object" +}, +"SiteSettings": { +"description": "Site Settings", +"id": "SiteSettings", +"properties": { +"activeViewOptOut": { +"description": "Whether active view creatives are disabled for this site.", +"type": "boolean" +}, +"adBlockingOptOut": { +"description": "Whether this site opts out of ad blocking. When true, ad blocking is disabled for all placements under the site, regardless of the individual placement settings. When false, the campaign and placement settings take effect.", +"type": "boolean" +}, +"disableNewCookie": { +"description": "Whether new cookies are disabled for this site.", +"type": "boolean" +}, +"tagSetting": { +"$ref": "TagSetting", +"description": "Configuration settings for dynamic and image floodlight tags." +}, +"videoActiveViewOptOutTemplate": { +"description": "Whether Verification and ActiveView for in-stream video creatives are disabled by default for new placements created under this site. This value will be used to populate the placement.videoActiveViewOptOut field, when no value is specified for the new placement.", +"type": "boolean" +}, +"vpaidAdapterChoiceTemplate": { +"description": "Default VPAID adapter setting for new placements created under this site. This value will be used to populate the placements.vpaidAdapterChoice field, when no value is specified for the new placement. Controls which VPAID format the measurement adapter will use for in-stream video creatives assigned to the placement. The publisher's specifications will typically determine this setting. For VPAID creatives, the adapter format will match the VPAID format (HTML5 VPAID creatives use the HTML5 adapter). *Note:* Flash is no longer supported. This field now defaults to HTML5 when the following values are provided: FLASH, BOTH.", +"enum": [ +"DEFAULT", +"FLASH", +"HTML5", +"BOTH" +], +"enumDescriptions": [ +"DEFAULT means Google chooses which adapter, if any, to serve.", +"", +"", +"" +], +"type": "string" +} +}, +"type": "object" +}, +"SiteSkippableSetting": { +"description": "Skippable Settings", +"id": "SiteSkippableSetting", +"properties": { +"kind": { +"description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#siteSkippableSetting\".", +"type": "string" +}, +"progressOffset": { +"$ref": "VideoOffset", +"description": "Amount of time to play videos served to this site template before counting a view. Applicable when skippable is true." +}, +"skipOffset": { +"$ref": "VideoOffset", +"description": "Amount of time to play videos served to this site before the skip button should appear. Applicable when skippable is true." +}, +"skippable": { +"description": "Whether the user can skip creatives served to this site. This will act as default for new placements created under this site.", +"type": "boolean" +} +}, +"type": "object" +}, +"SiteTranscodeSetting": { +"description": "Transcode Settings", +"id": "SiteTranscodeSetting", +"properties": { +"enabledVideoFormats": { +"description": "Allowlist of video formats to be served to this site template. Set this list to null or empty to serve all video formats.", +"items": { +"format": "int32", +"type": "integer" +}, +"type": "array" +}, +"kind": { +"description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#siteTranscodeSetting\".", +"type": "string" +} +}, +"type": "object" +}, +"SiteVideoSettings": { +"description": "Video Settings", +"id": "SiteVideoSettings", +"properties": { +"companionSettings": { +"$ref": "SiteCompanionSetting", +"description": "Settings for the companion creatives of video creatives served to this site." +}, +"kind": { +"description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#siteVideoSettings\".", +"type": "string" +}, +"obaEnabled": { +"description": "Whether OBA icons are enabled for this placement.", +"type": "boolean" +}, +"obaSettings": { +"$ref": "ObaIcon", +"description": "Settings for the OBA icon of video creatives served to this site. This will act as default for new placements created under this site." +}, +"orientation": { +"description": "Orientation of a site template used for video. This will act as default for new placements created under this site.", +"enum": [ +"ANY", +"LANDSCAPE", +"PORTRAIT" +], +"enumDescriptions": [ +"", +"", +"" +], +"type": "string" +}, +"publisherSpecificationId": { +"description": "Publisher specification ID used to identify site-associated publisher requirements and automatically populate transcode settings. If publisher specification ID is specified, it will take precedence over transcode settings. Possible values are: * `1`, Hulu * `2`, NBC * `3`, CBS * `4`, CBS Desktop * `5`, Discovery * `6`, VEVO HD * `7`, VEVO Vertical * `8`, Fox * `9`, CW Network * `10`, Disney * `11`, IGN * `12`, NFL.com * `13`, Turner Broadcasting * `14`, Tubi on Fox * `15`, Hearst Corporation * `16`, Twitch Desktop * `17`, ABC * `18`, Univision * `19`, MLB.com * `20`, MLB.com Mobile * `21`, MLB.com OTT * `22`, Polsat * `23`, TVN * `24`, Mediaset * `25`, Antena 3 * `26`, Mediamond * `27`, Sky Italia * `28`, Tubi on CBS * `29`, Spotify * `30`, Paramount * `31`, Max", +"format": "int64", +"type": "string" +}, +"skippableSettings": { +"$ref": "SiteSkippableSetting", +"description": "Settings for the skippability of video creatives served to this site. This will act as default for new placements created under this site." +}, +"transcodeSettings": { +"$ref": "SiteTranscodeSetting", +"description": "Settings for the transcodes of video creatives served to this site. This will act as default for new placements created under this site." +} +}, +"type": "object" +}, +"SitesListResponse": { +"description": "Site List Response", +"id": "SitesListResponse", +"properties": { +"kind": { +"description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#sitesListResponse\".", +"type": "string" +}, +"nextPageToken": { +"description": "Pagination token to be used for the next list operation.", +"type": "string" +}, +"sites": { +"description": "Site collection.", +"items": { +"$ref": "Site" +}, +"type": "array" +} +}, +"type": "object" +}, +"Size": { +"description": "Represents the dimensions of ads, placements, creatives, or creative assets.", +"id": "Size", +"properties": { +"height": { +"description": "Height of this size. Acceptable values are 0 to 32767, inclusive.", +"format": "int32", +"type": "integer" +}, +"iab": { +"description": "IAB standard size. This is a read-only, auto-generated field.", +"type": "boolean" +}, +"id": { +"description": "ID of this size. This is a read-only, auto-generated field.", +"format": "int64", +"type": "string" +}, +"kind": { +"description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#size\".", +"type": "string" +}, +"width": { +"description": "Width of this size. Acceptable values are 0 to 32767, inclusive.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"SizesListResponse": { +"description": "Size List Response", +"id": "SizesListResponse", +"properties": { +"kind": { +"description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#sizesListResponse\".", +"type": "string" +}, +"sizes": { +"description": "Size collection.", +"items": { +"$ref": "Size" +}, +"type": "array" +} +}, +"type": "object" +}, +"SkippableSetting": { +"description": "Skippable Settings", +"id": "SkippableSetting", +"properties": { +"kind": { +"description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#skippableSetting\".", +"type": "string" +}, +"progressOffset": { +"$ref": "VideoOffset", +"description": "Amount of time to play videos served to this placement before counting a view. Applicable when skippable is true." +}, +"skipOffset": { +"$ref": "VideoOffset", +"description": "Amount of time to play videos served to this placement before the skip button should appear. Applicable when skippable is true." +}, +"skippable": { +"description": "Whether the user can skip creatives served to this placement.", +"type": "boolean" +} +}, +"type": "object" +}, +"SortedDimension": { +"description": "Represents a sorted dimension.", +"id": "SortedDimension", +"properties": { +"kind": { +"description": "The kind of resource this is, in this case dfareporting#sortedDimension.", +"type": "string" +}, +"name": { +"description": "The name of the dimension.", +"type": "string" +}, +"sortOrder": { +"description": "An optional sort order for the dimension column.", +"enum": [ +"ASCENDING", +"DESCENDING" +], +"enumDescriptions": [ +"", +"" +], +"type": "string" +} +}, +"type": "object" +}, +"StudioCreative": { +"description": " *Beta:* This API resource is available only to a very limited number of customers. If you'd like to use this resource, please reach out to your Google sales representative. Contains studio creative information.", +"id": "StudioCreative", +"properties": { +"assetIds": { +"description": "List of assets associated with this studio creative. It is a required field on insertion.", +"items": { +"format": "int64", +"type": "string" +}, +"type": "array" +}, +"backupImageAssetId": { +"description": "Backup image asset ID of this studio creative. It is a required field on insertion.", +"format": "int64", +"type": "string" +}, +"createdInfo": { +"$ref": "LastModifiedInfo", +"description": "The timestamp when the studio creative was created. This is a read-only, auto-generated field." +}, +"dimension": { +"$ref": "StudioCreativeDimension", +"description": "Dimension of this studio creative. This is a required field on insertion if format is BANNER or EXPANDING." +}, +"dynamicProfileId": { +"description": "Dynamic profile ID of this studio creative.", +"format": "int64", +"type": "string" +}, +"format": { +"description": "Format of this studio creative. This is a required field on insertion.", +"enum": [ +"UNKNOWN", +"BANNER", +"EXPANDING", +"INTERSTITIAL", +"VPAID_LINEAR_VIDEO" +], +"enumDescriptions": [ +"The format of the studio creative is unknown. This value is unused.", +"Banner format.", +"Expanding format.", +"Intertitial format.", +"VPAID linear video creative format." +], +"type": "string" +}, +"id": { +"description": "Output only. Unique ID of this studio creative. This is a read-only, auto-generated field.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"lastModifiedInfo": { +"$ref": "LastModifiedInfo", +"description": "The timestamp when the studio creative was last modified. This is a read-only, auto-generated field." +}, +"name": { +"description": "Identifier. Name of this studio creative. This is a required field on insertion.", +"type": "string" +}, +"status": { +"description": "Output only. Status of this studio creative. It is a read-only field.", +"enum": [ +"UNKNOWN_STATUS", +"IN_DEVELOPMENT", +"PUBLISHED", +"QA_REJECTED", +"QA_APPROVED", +"TRAFFICKED" +], +"enumDescriptions": [ +"The status of the studio creative is unknown. This value is unused.", +"The creative is still being developed.", +"The creative has been published and is ready for QA.", +"The creative has failed QA and must be corrected.", +"The creative has passed QA and is ready to be trafficked.", +"The creative has been trafficked to an adserver." +], +"readOnly": true, +"type": "string" +}, +"studioAccountId": { +"description": "Studio account ID of this creative. This field, if left unset, will be auto-populated.", +"format": "int64", +"type": "string" +}, +"studioAdvertiserId": { +"description": "Studio advertiser ID of this studio creative. This is a required field on insertion.", +"format": "int64", +"type": "string" +}, +"studioCampaignId": { +"description": "Studio campaign ID of this studio creative. This is a required field on insertion.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"StudioCreativeAsset": { +"description": " *Beta:* This API resource is available only to a very limited number of customers. If you'd like to use this resource, please reach out to your Google sales representative. Contains studio creative asset information.", +"id": "StudioCreativeAsset", +"properties": { +"createInfo": { +"$ref": "LastModifiedInfo", +"description": "Output only. The creation timestamp of the studio creative asset. This is a read-only field.", +"readOnly": true +}, +"filename": { +"description": "The filename of the studio creative asset. It is default to the original filename of the asset.", +"type": "string" +}, +"filesize": { +"description": "The filesize of the studio creative asset. This is a read-only field.", +"format": "int64", +"type": "string" +}, +"id": { +"description": "Output only. Unique ID of this studio creative asset. This is a read-only, auto-generated field.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"lastModifiedInfo": { +"$ref": "LastModifiedInfo", +"description": "Output only. The last modified timestamp of the studio creative asset. This is a read-only field.", +"readOnly": true +}, +"studioAccountId": { +"description": "Studio account ID of this studio creative asset. This field, if left unset, will be auto-populated..", +"format": "int64", +"type": "string" +}, +"studioAdvertiserId": { +"description": "Studio advertiser ID of this studio creative asset. This is a required field on insertion.", +"format": "int64", +"type": "string" +}, +"studioCreativeId": { +"description": "Studio creative ID of this studio creative asset. The asset will be associated to the creative if creative id is set.", +"format": "int64", +"type": "string" +}, +"type": { +"description": "The type of the studio creative asset. It is a auto-generated, read-only field.", +"enum": [ +"UNKNOWN_TYPE", +"HTML", +"VIDEO", +"IMAGE", +"FONT" +], +"enumDescriptions": [ +"Unknown type of asset.", +"The asset is an HTML file.", +"The asset is a video file.", +"The asset is an image file.", +"The asset is a font file." +], +"type": "string" +}, +"videoProcessingData": { +"$ref": "VideoProcessingData", +"description": "The processing data of the studio creative asset. This is a read-only field." +} +}, +"type": "object" +}, +"StudioCreativeAssetsResponse": { +"description": "Response message for DfareportingStudioCreativeAssets.Insert.", +"id": "StudioCreativeAssetsResponse", +"properties": { +"assets": { +"description": "The list of studio creative assets.", +"items": { +"$ref": "StudioCreativeAsset" +}, +"type": "array" +} +}, +"type": "object" +}, +"StudioCreativeDimension": { +"description": "Dimension information for a studio creative.", +"id": "StudioCreativeDimension", +"properties": { +"height": { +"description": "Height of the studio creative.", +"format": "int32", +"type": "integer" +}, +"width": { +"description": "Width of the studio creative.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"Subaccount": { +"description": "Contains properties of a Campaign Manager subaccount.", +"id": "Subaccount", +"properties": { +"accountId": { +"description": "ID of the account that contains this subaccount. This is a read-only field that can be left blank.", +"format": "int64", +"type": "string" +}, +"availablePermissionIds": { +"description": "IDs of the available user role permissions for this subaccount.", +"items": { +"format": "int64", +"type": "string" +}, +"type": "array" +}, +"id": { +"description": "ID of this subaccount. This is a read-only, auto-generated field.", +"format": "int64", +"type": "string" +}, +"kind": { +"description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#subaccount\".", +"type": "string" +}, +"name": { +"description": "Name of this subaccount. This is a required field. Must be less than 128 characters long and be unique among subaccounts of the same account.", +"type": "string" +} +}, +"type": "object" +}, +"SubaccountsListResponse": { +"description": "Subaccount List Response", +"id": "SubaccountsListResponse", +"properties": { +"kind": { +"description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#subaccountsListResponse\".", +"type": "string" +}, +"nextPageToken": { +"description": "Pagination token to be used for the next list operation.", +"type": "string" +}, +"subaccounts": { +"description": "Subaccount collection.", +"items": { +"$ref": "Subaccount" +}, +"type": "array" +} +}, +"type": "object" +}, +"TagData": { +"description": "Placement Tag Data", +"id": "TagData", +"properties": { +"adId": { +"description": "Ad associated with this placement tag. Applicable only when format is PLACEMENT_TAG_TRACKING.", +"format": "int64", +"type": "string" +}, +"clickTag": { +"description": "Tag string to record a click.", +"type": "string" +}, +"creativeId": { +"description": "Creative associated with this placement tag. Applicable only when format is PLACEMENT_TAG_TRACKING.", +"format": "int64", +"type": "string" +}, +"format": { +"description": "TagData tag format of this tag.", +"enum": [ +"PLACEMENT_TAG_STANDARD", +"PLACEMENT_TAG_IFRAME_JAVASCRIPT", +"PLACEMENT_TAG_IFRAME_ILAYER", +"PLACEMENT_TAG_INTERNAL_REDIRECT", +"PLACEMENT_TAG_JAVASCRIPT", +"PLACEMENT_TAG_INTERSTITIAL_IFRAME_JAVASCRIPT", +"PLACEMENT_TAG_INTERSTITIAL_INTERNAL_REDIRECT", +"PLACEMENT_TAG_INTERSTITIAL_JAVASCRIPT", +"PLACEMENT_TAG_CLICK_COMMANDS", +"PLACEMENT_TAG_INSTREAM_VIDEO_PREFETCH", +"PLACEMENT_TAG_TRACKING", +"PLACEMENT_TAG_TRACKING_IFRAME", +"PLACEMENT_TAG_TRACKING_JAVASCRIPT", +"PLACEMENT_TAG_INSTREAM_VIDEO_PREFETCH_VAST_3", +"PLACEMENT_TAG_IFRAME_JAVASCRIPT_LEGACY", +"PLACEMENT_TAG_JAVASCRIPT_LEGACY", +"PLACEMENT_TAG_INTERSTITIAL_IFRAME_JAVASCRIPT_LEGACY", +"PLACEMENT_TAG_INTERSTITIAL_JAVASCRIPT_LEGACY", +"PLACEMENT_TAG_INSTREAM_VIDEO_PREFETCH_VAST_4", +"PLACEMENT_TAG_TRACKING_THIRD_PARTY_MEASUREMENT" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"" +], +"type": "string" +}, +"impressionTag": { +"description": "Tag string for serving an ad.", +"type": "string" +} +}, +"type": "object" +}, +"TagSetting": { +"description": "Tag Settings", +"id": "TagSetting", +"properties": { +"additionalKeyValues": { +"description": "Additional key-values to be included in tags. Each key-value pair must be of the form key=value, and pairs must be separated by a semicolon (;). Keys and values must not contain commas. For example, id=2;color=red is a valid value for this field.", +"type": "string" +}, +"includeClickThroughUrls": { +"description": "Whether static landing page URLs should be included in the tags. New placements will default to the value set on their site.", +"type": "boolean" +}, +"includeClickTracking": { +"description": "Whether click-tracking string should be included in the tags.", +"type": "boolean" +}, +"includeUnescapedlpurlMacro": { +"description": "Optional. Indicates that the unescapedlpurl macro should be included in the tag for the static landing page. New placements will default to the value set on their site.", +"type": "boolean" +}, +"keywordOption": { +"description": "Option specifying how keywords are embedded in ad tags. This setting can be used to specify whether keyword placeholders are inserted in placement tags for this site. Publishers can then add keywords to those placeholders.", +"enum": [ +"PLACEHOLDER_WITH_LIST_OF_KEYWORDS", +"IGNORE", +"GENERATE_SEPARATE_TAG_FOR_EACH_KEYWORD" +], +"enumDescriptions": [ +"Creates DART ad tags with a placeholder, such as kw=[keyword] and a list of keywords. The site trafficker must replace [keyword] with the keywords targeted by an ad.", +"Creates DART ad tags that do not have a placeholder for keywords and creates a list of keywords separately from the DART ad tags. Use this option if the site uses a keyword referrer or is a site that uses DART for Publishers.", +"Results in unique tag generation for each relevant keyword during tag export. For example, an ad with three keywords will generate three tags with each tag having its kw= parameter filled in with the relevant keyword values." +], +"type": "string" +} +}, +"type": "object" +}, +"TagSettings": { +"description": "Dynamic and Image Tag Settings.", +"id": "TagSettings", +"properties": { +"dynamicTagEnabled": { +"description": "Whether dynamic floodlight tags are enabled.", +"type": "boolean" +}, +"imageTagEnabled": { +"description": "Whether image tags are enabled.", +"type": "boolean" +} +}, +"type": "object" +}, +"TargetWindow": { +"description": "Target Window.", +"id": "TargetWindow", +"properties": { +"customHtml": { +"description": "User-entered value.", +"type": "string" +}, +"targetWindowOption": { +"description": "Type of browser window for which the backup image of the flash creative can be displayed.", +"enum": [ +"NEW_WINDOW", +"CURRENT_WINDOW", +"CUSTOM" +], +"enumDescriptions": [ +"Open up a new window to display the backup image Corresponds to \"_blank\" in html", +"Use the current window to display the backup image Corresponds to \"_top\" in html", +"User-defined HTML used to display the backup image Corresponds to \"other\"" +], +"type": "string" +} +}, +"type": "object" +}, +"TargetableRemarketingList": { +"description": "Contains properties of a targetable remarketing list. Remarketing enables you to create lists of users who have performed specific actions on a site, then target ads to members of those lists. This resource is a read-only view of a remarketing list to be used to facilitate targeting ads to specific lists. Remarketing lists that are owned by your advertisers and those that are shared to your advertisers or account are accessible via this resource. To manage remarketing lists that are owned by your advertisers, use the RemarketingLists resource.", +"id": "TargetableRemarketingList", +"properties": { +"accountId": { +"description": "Account ID of this remarketing list. This is a read-only, auto-generated field that is only returned in GET requests.", +"format": "int64", +"type": "string" +}, +"active": { +"description": "Whether this targetable remarketing list is active.", +"type": "boolean" +}, +"advertiserId": { +"description": "Dimension value for the advertiser ID that owns this targetable remarketing list.", +"format": "int64", +"type": "string" +}, +"advertiserIdDimensionValue": { +"$ref": "DimensionValue", +"description": "Dimension value for the ID of the advertiser." +}, +"description": { +"description": "Targetable remarketing list description.", +"type": "string" +}, +"id": { +"description": "Targetable remarketing list ID.", +"format": "int64", +"type": "string" +}, +"kind": { +"description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#targetableRemarketingList\".", +"type": "string" +}, +"lifeSpan": { +"description": "Number of days that a user should remain in the targetable remarketing list without an impression.", +"format": "int64", +"type": "string" +}, +"listSize": { +"description": "Number of users currently in the list. This is a read-only field.", +"format": "int64", +"type": "string" +}, +"listSource": { +"description": "Product from which this targetable remarketing list was originated.", +"enum": [ +"REMARKETING_LIST_SOURCE_OTHER", +"REMARKETING_LIST_SOURCE_ADX", +"REMARKETING_LIST_SOURCE_DFP", +"REMARKETING_LIST_SOURCE_XFP", +"REMARKETING_LIST_SOURCE_DFA", +"REMARKETING_LIST_SOURCE_GA", +"REMARKETING_LIST_SOURCE_YOUTUBE", +"REMARKETING_LIST_SOURCE_DBM", +"REMARKETING_LIST_SOURCE_GPLUS", +"REMARKETING_LIST_SOURCE_DMP", +"REMARKETING_LIST_SOURCE_PLAY_STORE" +], +"enumDescriptions": [ +"covers sources not supported in DCM other than those listed below", +"ADX", +"DFP", +"XFP", +"DoubleClick Campaign Manager", +"Google Analytics Premium", +"Youtube", +"DoubleClick Bid Manager", +"G+", +"DoubleClick Audience Center", +"Playstore" +], +"type": "string" +}, +"name": { +"description": "Name of the targetable remarketing list. Is no greater than 128 characters long.", +"type": "string" +}, +"subaccountId": { +"description": "Subaccount ID of this remarketing list. This is a read-only, auto-generated field that is only returned in GET requests.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"TargetableRemarketingListsListResponse": { +"description": "Targetable remarketing list response", +"id": "TargetableRemarketingListsListResponse", +"properties": { +"kind": { +"description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#targetableRemarketingListsListResponse\".", +"type": "string" +}, +"nextPageToken": { +"description": "Pagination token to be used for the next list operation.", +"type": "string" +}, +"targetableRemarketingLists": { +"description": "Targetable remarketing list collection.", +"items": { +"$ref": "TargetableRemarketingList" +}, +"type": "array" +} +}, +"type": "object" +}, +"TargetingTemplate": { +"description": "Contains properties of a targeting template. A targeting template encapsulates targeting information which can be reused across multiple ads.", +"id": "TargetingTemplate", +"properties": { +"accountId": { +"description": "Account ID of this targeting template. This field, if left unset, will be auto-generated on insert and is read-only after insert.", +"format": "int64", +"type": "string" +}, +"advertiserId": { +"description": "Advertiser ID of this targeting template. This is a required field on insert and is read-only after insert.", +"format": "int64", +"type": "string" +}, +"advertiserIdDimensionValue": { +"$ref": "DimensionValue", +"description": "Dimension value for the ID of the advertiser. This is a read-only, auto-generated field." +}, +"contextualKeywordTargeting": { +"$ref": "ContextualKeywordTargeting", +"description": "Optional. Contextual keyword targeting criteria." +}, +"dayPartTargeting": { +"$ref": "DayPartTargeting", +"description": "Time and day targeting criteria." +}, +"geoTargeting": { +"$ref": "GeoTargeting", +"description": "Geographical targeting criteria." +}, +"id": { +"description": "ID of this targeting template. This is a read-only, auto-generated field.", +"format": "int64", +"type": "string" +}, +"keyValueTargetingExpression": { +"$ref": "KeyValueTargetingExpression", +"description": "Key-value targeting criteria." +}, +"kind": { +"description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#targetingTemplate\".", +"type": "string" +}, +"languageTargeting": { +"$ref": "LanguageTargeting", +"description": "Language targeting criteria." +}, +"listTargetingExpression": { +"$ref": "ListTargetingExpression", +"description": "Remarketing list targeting criteria." +}, +"name": { +"description": "Name of this targeting template. This field is required. It must be less than 256 characters long and unique within an advertiser.", +"type": "string" +}, +"subaccountId": { +"description": "Subaccount ID of this targeting template. This field, if left unset, will be auto-generated on insert and is read-only after insert.", +"format": "int64", +"type": "string" +}, +"technologyTargeting": { +"$ref": "TechnologyTargeting", +"description": "Technology platform targeting criteria." +} +}, +"type": "object" +}, +"TargetingTemplatesListResponse": { +"description": "Targeting Template List Response", +"id": "TargetingTemplatesListResponse", +"properties": { +"kind": { +"description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#targetingTemplatesListResponse\".", +"type": "string" +}, +"nextPageToken": { +"description": "Pagination token to be used for the next list operation.", +"type": "string" +}, +"targetingTemplates": { +"description": "Targeting template collection.", +"items": { +"$ref": "TargetingTemplate" +}, +"type": "array" +} +}, +"type": "object" +}, +"TechnologyTargeting": { +"description": "Technology Targeting.", +"id": "TechnologyTargeting", +"properties": { +"browsers": { +"description": "Browsers that this ad targets. For each browser either set browserVersionId or dartId along with the version numbers. If both are specified, only browserVersionId will be used. The other fields are populated automatically when the ad is inserted or updated.", +"items": { +"$ref": "Browser" +}, +"type": "array" +}, +"connectionTypes": { +"description": "Connection types that this ad targets. For each connection type only id is required. The other fields are populated automatically when the ad is inserted or updated.", +"items": { +"$ref": "ConnectionType" +}, +"type": "array" +}, +"mobileCarriers": { +"description": "Mobile carriers that this ad targets. For each mobile carrier only id is required, and the other fields are populated automatically when the ad is inserted or updated. If targeting a mobile carrier, do not set targeting for any zip codes.", +"items": { +"$ref": "MobileCarrier" +}, +"type": "array" +}, +"operatingSystemVersions": { +"description": "Operating system versions that this ad targets. To target all versions, use operatingSystems. For each operating system version, only id is required. The other fields are populated automatically when the ad is inserted or updated. If targeting an operating system version, do not set targeting for the corresponding operating system in operatingSystems.", +"items": { +"$ref": "OperatingSystemVersion" +}, +"type": "array" +}, +"operatingSystems": { +"description": "Operating systems that this ad targets. To target specific versions, use operatingSystemVersions. For each operating system only dartId is required. The other fields are populated automatically when the ad is inserted or updated. If targeting an operating system, do not set targeting for operating system versions for the same operating system.", +"items": { +"$ref": "OperatingSystem" +}, +"type": "array" +}, +"platformTypes": { +"description": "Platform types that this ad targets. For example, desktop, mobile, or tablet. For each platform type, only id is required, and the other fields are populated automatically when the ad is inserted or updated.", +"items": { +"$ref": "PlatformType" +}, +"type": "array" +} +}, +"type": "object" +}, +"ThirdPartyAuthenticationToken": { +"description": "Third Party Authentication Token", +"id": "ThirdPartyAuthenticationToken", +"properties": { +"name": { +"description": "Name of the third-party authentication token.", +"type": "string" +}, +"value": { +"description": "Value of the third-party authentication token. This is a read-only, auto-generated field.", +"type": "string" +} +}, +"type": "object" +}, +"ThirdPartyTrackingUrl": { +"description": "Third-party Tracking URL.", +"id": "ThirdPartyTrackingUrl", +"properties": { +"thirdPartyUrlType": { +"description": "Third-party URL type for in-stream video and in-stream audio creatives.", +"enum": [ +"IMPRESSION", +"CLICK_TRACKING", +"VIDEO_START", +"VIDEO_FIRST_QUARTILE", +"VIDEO_MIDPOINT", +"VIDEO_THIRD_QUARTILE", +"VIDEO_COMPLETE", +"VIDEO_MUTE", +"VIDEO_PAUSE", +"VIDEO_REWIND", +"VIDEO_FULLSCREEN", +"VIDEO_STOP", +"VIDEO_CUSTOM", +"SURVEY", +"RICH_MEDIA_IMPRESSION", +"RICH_MEDIA_RM_IMPRESSION", +"RICH_MEDIA_BACKUP_IMPRESSION", +"VIDEO_SKIP", +"VIDEO_PROGRESS" +], +"enumDescriptions": [ +"Used to count impressions of the ad after video buffering is complete.", +"Used to track user clicks on the video.", +"Used to track the number of times a user starts a video.", +"Used to track the number of times the video plays to 25% of its length.", +"Used to track the number of times the video plays to 50% of its length.", +"Used to track the number of times the video plays to 75% of its length.", +"Used to track the number of times the video plays to the end.", +"Used to track the number of times a user mutes the video.", +"Used to track the number of times a user pauses the video.", +"Used to track the number of times a user replays the video.", +"Used to track the number of times a user expands the video to full-screen size.", +"Used to track the number of times a user stops the video.", +"Used to track the number of times a user performs a custom click, such as clicking on a video hot spot.", +"Used for DFA6 compatibility, this is deprecating in favor of event tags.", +"Used by Studio RichMediaCreative, maps to its thirdPartyImpressionsUrl", +"Used by Studio RichMediaCreative, maps to its thirdPartyRichMediaImpressionsUrl", +"Used by Studio RichMediaCreative, maps to its thirdPartyBackupImageImpressionsUrl", +"Used to track the number of times the video was skipped.", +"Used to track the number of times the video plays to an offset determined by the user." +], +"type": "string" +}, +"url": { +"description": "URL for the specified third-party URL type.", +"type": "string" +} +}, +"type": "object" +}, +"TranscodeSetting": { +"description": "Transcode Settings", +"id": "TranscodeSetting", +"properties": { +"enabledVideoFormats": { +"description": "Allowlist of video formats to be served to this placement. Set this list to null or empty to serve all video formats.", +"items": { +"format": "int32", +"type": "integer" +}, +"type": "array" +}, +"kind": { +"description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#transcodeSetting\".", +"type": "string" +} +}, +"type": "object" +}, +"TvCampaignDetail": { +"description": "TvCampaignDetail contains data from a TV campaign for specific start dates and date windows.", +"id": "TvCampaignDetail", +"properties": { +"id": { +"description": "ID of this TV campaign.", +"type": "string" +}, +"kind": { +"description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#tvCampaignSummary\".", +"type": "string" +}, +"timepoints": { +"description": "The timepoints of the TV campaign.", +"items": { +"$ref": "TvCampaignTimepoint" +}, +"type": "array" +} +}, +"type": "object" +}, +"TvCampaignSummariesListResponse": { +"description": "Response message for TvCampaignSummariesService.List.", +"id": "TvCampaignSummariesListResponse", +"properties": { +"kind": { +"description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#tvCampaignSummariesListResponse\".", +"type": "string" +}, +"tvCampaignSummaries": { +"description": "List of TV campaign summaries.", +"items": { +"$ref": "TvCampaignSummary" +}, +"type": "array" +} +}, +"type": "object" +}, +"TvCampaignSummary": { +"description": "TvCampaignSummary contains aggregate data from a TV campaign.", +"id": "TvCampaignSummary", +"properties": { +"endDate": { +"description": "The end date of the TV campaign, inclusive. A string of the format: \"yyyy-MM-dd\".", +"type": "string" +}, +"grp": { +"description": "GRP of this TV campaign.", +"format": "int64", +"type": "string" +}, +"id": { +"description": "ID of this TV campaign.", +"type": "string" +}, +"impressions": { +"description": "Impressions across the entire TV campaign.", +"format": "int64", +"type": "string" +}, +"kind": { +"description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#tvCampaignSummary\".", +"type": "string" +}, +"name": { +"description": "Identifier. Name of this TV campaign.", +"type": "string" +}, +"spend": { +"description": "Spend across the entire TV campaign.", +"format": "double", +"type": "number" +}, +"startDate": { +"description": "The start date of the TV campaign, inclusive. A string of the format: \"yyyy-MM-dd\".", +"type": "string" +}, +"type": { +"description": "\"CampaignComponentType\" of this TV campaign.", +"enum": [ +"CAMPAIGN_COMPONENT_TYPE_UNSPECIFIED", +"COMPANY", +"BRAND", +"PRODUCT", +"CAMPAIGN" +], +"enumDescriptions": [ +"Required to exist; do not use.", +"Company.", +"Brand.", +"Product.", +"Campaign." +], +"type": "string" +} +}, +"type": "object" +}, +"TvCampaignTimepoint": { +"description": "A single data point for TvCampaignDetail, which holds information about the TV campaign for a specific start date and date window.", +"id": "TvCampaignTimepoint", +"properties": { +"dateWindow": { +"description": "The date window of the timepoint.", +"enum": [ +"WEEKS_UNSPECIFIED", +"WEEKS_ONE", +"WEEKS_FOUR", +"WEEKS_EIGHT", +"WEEKS_TWELVE" +], +"enumDescriptions": [ +"Default value, should never be set.", +"One week.", +"Four weeks.", +"Eight weeks.", +"Twelve weeks." +], +"type": "string" +}, +"spend": { +"description": "The spend within the time range of the timepoint.", +"format": "double", +"type": "number" +}, +"startDate": { +"description": "The start date of the timepoint. A string in the format of \"yyyy-MM-dd\".", +"type": "string" +} +}, +"type": "object" +}, +"UniversalAdId": { +"description": "A Universal Ad ID as per the VAST 4.0 spec. Applicable to the following creative types: INSTREAM_AUDIO, INSTREAM_VIDEO and VPAID.", +"id": "UniversalAdId", +"properties": { +"registry": { +"description": "Registry used for the Ad ID value.", +"enum": [ +"OTHER", +"AD_ID_OFFICIAL", +"CLEARCAST", +"DCM", +"ARPP", +"CUSV" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"" +], +"type": "string" +}, +"value": { +"description": "ID value for this creative. Only alphanumeric characters and the following symbols are valid: \"_/\\-\". Maximum length is 64 characters. Read only when registry is DCM.", +"type": "string" +} +}, +"type": "object" +}, +"UserDefinedVariableConfiguration": { +"description": "User Defined Variable configuration.", +"id": "UserDefinedVariableConfiguration", +"properties": { +"dataType": { +"description": "Data type for the variable. This is a required field.", +"enum": [ +"STRING", +"NUMBER" +], +"enumDescriptions": [ +"", +"" +], +"type": "string" +}, +"reportName": { +"description": "User-friendly name for the variable which will appear in reports. This is a required field, must be less than 64 characters long, and cannot contain the following characters: \"\"<>\".", +"type": "string" +}, +"variableType": { +"description": "Variable name in the tag. This is a required field.", +"enum": [ +"U1", +"U2", +"U3", +"U4", +"U5", +"U6", +"U7", +"U8", +"U9", +"U10", +"U11", +"U12", +"U13", +"U14", +"U15", +"U16", +"U17", +"U18", +"U19", +"U20", +"U21", +"U22", +"U23", +"U24", +"U25", +"U26", +"U27", +"U28", +"U29", +"U30", +"U31", +"U32", +"U33", +"U34", +"U35", +"U36", +"U37", +"U38", +"U39", +"U40", +"U41", +"U42", +"U43", +"U44", +"U45", +"U46", +"U47", +"U48", +"U49", +"U50", +"U51", +"U52", +"U53", +"U54", +"U55", +"U56", +"U57", +"U58", +"U59", +"U60", +"U61", +"U62", +"U63", +"U64", +"U65", +"U66", +"U67", +"U68", +"U69", +"U70", +"U71", +"U72", +"U73", +"U74", +"U75", +"U76", +"U77", +"U78", +"U79", +"U80", +"U81", +"U82", +"U83", +"U84", +"U85", +"U86", +"U87", +"U88", +"U89", +"U90", +"U91", +"U92", +"U93", +"U94", +"U95", +"U96", +"U97", +"U98", +"U99", +"U100" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"" +], +"type": "string" +} +}, +"type": "object" +}, +"UserIdentifier": { +"description": "User identifying information. Exactly one type of identifier must be specified.", +"id": "UserIdentifier", +"properties": { +"addressInfo": { +"$ref": "OfflineUserAddressInfo", +"description": "Address information." +}, +"hashedEmail": { +"description": "Hashed email address using SHA-256 hash function after normalization.", +"type": "string" +}, +"hashedPhoneNumber": { +"description": "Hashed phone number using SHA-256 hash function after normalization (E164 standard).", +"type": "string" +} +}, +"type": "object" +}, +"UserProfile": { +"description": "A UserProfile resource lets you list all DFA user profiles that are associated with a Google user account. The profile_id needs to be specified in other API requests. ", +"id": "UserProfile", +"properties": { +"accountId": { +"description": "The account ID to which this profile belongs.", +"format": "int64", +"type": "string" +}, +"accountName": { +"description": "The account name this profile belongs to.", +"type": "string" +}, +"etag": { +"description": "Etag of this resource.", +"type": "string" +}, +"kind": { +"description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#userProfile\".", +"type": "string" +}, +"profileId": { +"description": "The unique ID of the user profile.", +"format": "int64", +"type": "string" +}, +"subAccountId": { +"description": "The sub account ID this profile belongs to if applicable.", +"format": "int64", +"type": "string" +}, +"subAccountName": { +"description": "The sub account name this profile belongs to if applicable.", +"type": "string" +}, +"userName": { +"description": "The user name.", +"type": "string" +} +}, +"type": "object" +}, +"UserProfileList": { +"description": "Represents the list of user profiles.", +"id": "UserProfileList", +"properties": { +"etag": { +"description": "Etag of this resource.", +"type": "string" +}, +"items": { +"description": "The user profiles returned in this response.", +"items": { +"$ref": "UserProfile" +}, +"type": "array" +}, +"kind": { +"description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#userProfileList\".", +"type": "string" +} +}, +"type": "object" +}, +"UserRole": { +"description": "Contains properties of auser role, which is used to manage user access.", +"id": "UserRole", +"properties": { +"accountId": { +"description": "Account ID of this user role. This is a read-only field that can be left blank.", +"format": "int64", +"type": "string" +}, +"defaultUserRole": { +"description": "Whether this is a default user role. Default user roles are created by the system for the account/subaccount and cannot be modified or deleted. Each default user role comes with a basic set of preassigned permissions.", +"type": "boolean" +}, +"id": { +"description": "ID of this user role. This is a read-only, auto-generated field.", +"format": "int64", +"type": "string" +}, +"kind": { +"description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#userRole\".", +"type": "string" +}, +"name": { +"description": "Name of this user role. This is a required field. Must be less than 256 characters long. If this user role is under a subaccount, the name must be unique among sites of the same subaccount. Otherwise, this user role is a top-level user role, and the name must be unique among top-level user roles of the same account.", +"type": "string" +}, +"parentUserRoleId": { +"description": "ID of the user role that this user role is based on or copied from. This is a required field.", +"format": "int64", +"type": "string" +}, +"permissions": { +"description": "List of permissions associated with this user role.", +"items": { +"$ref": "UserRolePermission" +}, +"type": "array" +}, +"subaccountId": { +"description": "Subaccount ID of this user role. This is a read-only field that can be left blank.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"UserRolePermission": { +"description": "Contains properties of a user role permission.", +"id": "UserRolePermission", +"properties": { +"availability": { +"description": "Levels of availability for a user role permission.", +"enum": [ +"NOT_AVAILABLE_BY_DEFAULT", +"ACCOUNT_BY_DEFAULT", +"SUBACCOUNT_AND_ACCOUNT_BY_DEFAULT", +"ACCOUNT_ALWAYS", +"SUBACCOUNT_AND_ACCOUNT_ALWAYS", +"USER_PROFILE_ONLY" +], +"enumDescriptions": [ +"Not available by default.", +"Available by default to accounts only.", +"Available by default to both accounts and subaccounts.", +"Always available to accounts.", +"Always available to both accounts and subaccounts.", +"Available for user profile permissions only." +], +"type": "string" +}, +"id": { +"description": "ID of this user role permission.", +"format": "int64", +"type": "string" +}, +"kind": { +"description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#userRolePermission\".", +"type": "string" +}, +"name": { +"description": "Name of this user role permission.", +"type": "string" +}, +"permissionGroupId": { +"description": "ID of the permission group that this user role permission belongs to.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"UserRolePermissionGroup": { +"description": "Represents a grouping of related user role permissions.", +"id": "UserRolePermissionGroup", +"properties": { +"id": { +"description": "ID of this user role permission.", +"format": "int64", +"type": "string" +}, +"kind": { +"description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#userRolePermissionGroup\".", +"type": "string" +}, +"name": { +"description": "Name of this user role permission group.", +"type": "string" +} +}, +"type": "object" +}, +"UserRolePermissionGroupsListResponse": { +"description": "User Role Permission Group List Response", +"id": "UserRolePermissionGroupsListResponse", +"properties": { +"kind": { +"description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#userRolePermissionGroupsListResponse\".", +"type": "string" +}, +"userRolePermissionGroups": { +"description": "User role permission group collection.", +"items": { +"$ref": "UserRolePermissionGroup" +}, +"type": "array" +} +}, +"type": "object" +}, +"UserRolePermissionsListResponse": { +"description": "User Role Permission List Response", +"id": "UserRolePermissionsListResponse", +"properties": { +"kind": { +"description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#userRolePermissionsListResponse\".", +"type": "string" +}, +"userRolePermissions": { +"description": "User role permission collection.", +"items": { +"$ref": "UserRolePermission" +}, +"type": "array" +} +}, +"type": "object" +}, +"UserRolesListResponse": { +"description": "User Role List Response", +"id": "UserRolesListResponse", +"properties": { +"kind": { +"description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#userRolesListResponse\".", +"type": "string" +}, +"nextPageToken": { +"description": "Pagination token to be used for the next list operation.", +"type": "string" +}, +"userRoles": { +"description": "User role collection.", +"items": { +"$ref": "UserRole" +}, +"type": "array" +} +}, +"type": "object" +}, +"VideoFormat": { +"description": "Contains information about supported video formats.", +"id": "VideoFormat", +"properties": { +"fileType": { +"description": "File type of the video format.", +"enum": [ +"FLV", +"THREEGPP", +"MP4", +"WEBM", +"M3U8" +], +"enumDescriptions": [ +"", +"", +"", +"", +"" +], +"type": "string" +}, +"id": { +"description": "ID of the video format.", +"format": "int32", +"type": "integer" +}, +"kind": { +"description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#videoFormat\".", +"type": "string" +}, +"resolution": { +"$ref": "Size", +"description": "The resolution of this video format." +}, +"targetBitRate": { +"description": "The target bit rate of this video format.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"VideoFormatsListResponse": { +"description": "Video Format List Response", +"id": "VideoFormatsListResponse", +"properties": { +"kind": { +"description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#videoFormatsListResponse\".", +"type": "string" +}, +"videoFormats": { +"description": "Video format collection.", +"items": { +"$ref": "VideoFormat" +}, +"type": "array" +} +}, +"type": "object" +}, +"VideoOffset": { +"description": "Video Offset", +"id": "VideoOffset", +"properties": { +"offsetPercentage": { +"description": "Duration, as a percentage of video duration. Do not set when offsetSeconds is set. Acceptable values are 0 to 100, inclusive.", +"format": "int32", +"type": "integer" +}, +"offsetSeconds": { +"description": "Duration, in seconds. Do not set when offsetPercentage is set. Acceptable values are 0 to 86399, inclusive.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"VideoProcessingData": { +"description": "Contains processing data for a video asset.", +"id": "VideoProcessingData", +"properties": { +"errorReason": { +"description": "For a FAILED processing state, the error reason discovered.", +"type": "string" +}, +"processingState": { +"description": "Output only. The processing state of the studio creative asset.", +"enum": [ +"UNKNOWN", +"PROCESSING", +"SUCCEEDED", +"FAILED" +], +"enumDescriptions": [ +"The processing state is unknown.", +"The asset is being processed.", +"The asset was successfully processed.", +"The asset failed to be processed." +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"VideoSettings": { +"description": "Video Settings", +"id": "VideoSettings", +"properties": { +"companionSettings": { +"$ref": "CompanionSetting", +"description": "Settings for the companion creatives of video creatives served to this placement." +}, +"durationSeconds": { +"description": "Duration of a video placement in seconds.", +"format": "int32", +"type": "integer" +}, +"kind": { +"description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#videoSettings\".", +"type": "string" +}, +"obaEnabled": { +"description": "Whether OBA icons are enabled for this placement.", +"type": "boolean" +}, +"obaSettings": { +"$ref": "ObaIcon", +"description": "Settings for the OBA icon of video creatives served to this placement. If this object is provided, the creative-level OBA settings will be overridden." +}, +"orientation": { +"description": "Orientation of a video placement. If this value is set, placement will return assets matching the specified orientation.", +"enum": [ +"ANY", +"LANDSCAPE", +"PORTRAIT" +], +"enumDescriptions": [ +"", +"", +"" +], +"type": "string" +}, +"publisherSpecificationId": { +"description": "Publisher specification ID of a video placement. Possible values are: * `1`, Hulu * `2`, NBC * `3`, CBS * `4`, CBS Desktop * `5`, Discovery * `6`, VEVO HD * `7`, VEVO Vertical * `8`, Fox * `9`, CW Network * `10`, Disney * `11`, IGN * `12`, NFL.com * `13`, Turner Broadcasting * `14`, Tubi on Fox * `15`, Hearst Corporation * `16`, Twitch Desktop * `17`, ABC * `18`, Univision * `19`, MLB.com * `20`, MLB.com Mobile * `21`, MLB.com OTT * `22`, Polsat * `23`, TVN * `24`, Mediaset * `25`, Antena 3 * `26`, Mediamond * `27`, Sky Italia * `28`, Tubi on CBS * `29`, Spotify * `30`, Paramount * `31`, Max", +"format": "int64", +"type": "string" +}, +"skippableSettings": { +"$ref": "SkippableSetting", +"description": "Settings for the skippability of video creatives served to this placement. If this object is provided, the creative-level skippable settings will be overridden." +}, +"transcodeSettings": { +"$ref": "TranscodeSetting", +"description": "Settings for the transcodes of video creatives served to this placement. If this object is provided, the creative-level transcode settings will be overridden." +} +}, +"type": "object" +}, +"YoutubeSettings": { +"description": "Contains the YouTube settings.", +"id": "YoutubeSettings", +"properties": { +"businessLogoCreativeIds": { +"description": "Optional. The IDs of the creatives to use for the business logo. Currently only one creative is supported.", +"items": { +"format": "int64", +"type": "string" +}, +"type": "array" +}, +"businessName": { +"description": "Optional. The business name.", +"type": "string" +}, +"callToActions": { +"description": "Optional. The call to actions. Currently only one call to action is supported.", +"items": { +"enum": [ +"CALL_TO_ACTION_UNKNOWN", +"CALL_TO_ACTION_LEARN_MORE", +"CALL_TO_ACTION_GET_QUOTE", +"CALL_TO_ACTION_APPLY_NOW", +"CALL_TO_ACTION_SIGN_UP", +"CALL_TO_ACTION_CONTACT_US", +"CALL_TO_ACTION_SUBSCRIBE", +"CALL_TO_ACTION_DOWNLOAD", +"CALL_TO_ACTION_BOOK_NOW", +"CALL_TO_ACTION_GET_OFFER", +"CALL_TO_ACTION_SHOP_NOW", +"CALL_TO_ACTION_VISIT_STORE", +"CALL_TO_ACTION_CALL_NOW", +"CALL_TO_ACTION_VIEW_MENU", +"CALL_TO_ACTION_TEST_DRIVE", +"CALL_TO_ACTION_SCHEDULE_NOW", +"CALL_TO_ACTION_BUY_NOW", +"CALL_TO_ACTION_DONATE_NOW", +"CALL_TO_ACTION_ORDER_NOW", +"CALL_TO_ACTION_PLAY_NOW", +"CALL_TO_ACTION_SEE_MORE", +"CALL_TO_ACTION_START_NOW", +"CALL_TO_ACTION_VISIT_SITE", +"CALL_TO_ACTION_WATCH_NOW" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"" +], +"type": "string" +}, +"type": "array" +}, +"descriptions": { +"description": "Optional. The descriptions. Currently only one description is supported.", +"items": { +"type": "string" +}, +"type": "array" +}, +"headlines": { +"description": "Optional. The headlines associated with the call to actions. Currently only one headline is supported.", +"items": { +"type": "string" +}, +"type": "array" +}, +"longHeadlines": { +"description": "Optional. The long headlines. Currently only one long headline is supported.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +} +}, +"servicePath": "dfareporting/v5/", +"title": "Campaign Manager 360 API", +"version": "v5" +} \ No newline at end of file diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/dialogflow.v2.json b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/dialogflow.v2.json new file mode 100644 index 0000000000000000000000000000000000000000..139744bfd88c28d28c6d62f2e9c22d4ae1cff719 --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/dialogflow.v2.json @@ -0,0 +1,23198 @@ +{ +"auth": { +"oauth2": { +"scopes": { +"https://www.googleapis.com/auth/cloud-platform": { +"description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." +}, +"https://www.googleapis.com/auth/dialogflow": { +"description": "View, manage and query your Dialogflow agents" +} +} +} +}, +"basePath": "", +"baseUrl": "https://dialogflow.googleapis.com/", +"batchPath": "batch", +"canonicalName": "Dialogflow", +"description": "Builds conversational interfaces (for example, chatbots, and voice-powered apps and devices).", +"discoveryVersion": "v1", +"documentationLink": "https://cloud.google.com/dialogflow/", +"fullyEncodeReservedExpansion": true, +"icons": { +"x16": "http://www.google.com/images/icons/product/search-16.gif", +"x32": "http://www.google.com/images/icons/product/search-32.gif" +}, +"id": "dialogflow:v2", +"kind": "discovery#restDescription", +"mtlsRootUrl": "https://dialogflow.mtls.googleapis.com/", +"name": "dialogflow", +"ownerDomain": "google.com", +"ownerName": "Google", +"parameters": { +"$.xgafv": { +"description": "V1 error format.", +"enum": [ +"1", +"2" +], +"enumDescriptions": [ +"v1 error format", +"v2 error format" +], +"location": "query", +"type": "string" +}, +"access_token": { +"description": "OAuth access token.", +"location": "query", +"type": "string" +}, +"alt": { +"default": "json", +"description": "Data format for response.", +"enum": [ +"json", +"media", +"proto" +], +"enumDescriptions": [ +"Responses with Content-Type of application/json", +"Media download with context-dependent Content-Type", +"Responses with Content-Type of application/x-protobuf" +], +"location": "query", +"type": "string" +}, +"callback": { +"description": "JSONP", +"location": "query", +"type": "string" +}, +"fields": { +"description": "Selector specifying which fields to include in a partial response.", +"location": "query", +"type": "string" +}, +"key": { +"description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", +"location": "query", +"type": "string" +}, +"oauth_token": { +"description": "OAuth 2.0 token for the current user.", +"location": "query", +"type": "string" +}, +"prettyPrint": { +"default": "true", +"description": "Returns response with indentations and line breaks.", +"location": "query", +"type": "boolean" +}, +"quotaUser": { +"description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.", +"location": "query", +"type": "string" +}, +"uploadType": { +"description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", +"location": "query", +"type": "string" +}, +"upload_protocol": { +"description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", +"location": "query", +"type": "string" +} +}, +"protocol": "rest", +"resources": { +"projects": { +"methods": { +"deleteAgent": { +"description": "", +"flatPath": "v2/projects/{projectsId}/agent", +"httpMethod": "DELETE", +"id": "dialogflow.projects.deleteAgent", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"location": "path", +"pattern": "^projects/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+parent}/agent", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"getAgent": { +"description": "", +"flatPath": "v2/projects/{projectsId}/agent", +"httpMethod": "GET", +"id": "dialogflow.projects.getAgent", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"location": "path", +"pattern": "^projects/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+parent}/agent", +"response": { +"$ref": "GoogleCloudDialogflowV2Agent" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"setAgent": { +"description": "", +"flatPath": "v2/projects/{projectsId}/agent", +"httpMethod": "POST", +"id": "dialogflow.projects.setAgent", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"location": "path", +"pattern": "^projects/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v2/{+parent}/agent", +"request": { +"$ref": "GoogleCloudDialogflowV2Agent" +}, +"response": { +"$ref": "GoogleCloudDialogflowV2Agent" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +} +}, +"resources": { +"agent": { +"methods": { +"export": { +"description": "", +"flatPath": "v2/projects/{projectsId}/agent:export", +"httpMethod": "POST", +"id": "dialogflow.projects.agent.export", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"location": "path", +"pattern": "^projects/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+parent}/agent:export", +"request": { +"$ref": "GoogleCloudDialogflowV2ExportAgentRequest" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"getFulfillment": { +"description": "", +"flatPath": "v2/projects/{projectsId}/agent/fulfillment", +"httpMethod": "GET", +"id": "dialogflow.projects.agent.getFulfillment", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"location": "path", +"pattern": "^projects/[^/]+/agent/fulfillment$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+name}", +"response": { +"$ref": "GoogleCloudDialogflowV2Fulfillment" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"getValidationResult": { +"description": "", +"flatPath": "v2/projects/{projectsId}/agent/validationResult", +"httpMethod": "GET", +"id": "dialogflow.projects.agent.getValidationResult", +"parameterOrder": [ +"parent" +], +"parameters": { +"languageCode": { +"location": "query", +"type": "string" +}, +"parent": { +"location": "path", +"pattern": "^projects/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+parent}/agent/validationResult", +"response": { +"$ref": "GoogleCloudDialogflowV2ValidationResult" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"import": { +"description": "", +"flatPath": "v2/projects/{projectsId}/agent:import", +"httpMethod": "POST", +"id": "dialogflow.projects.agent.import", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"location": "path", +"pattern": "^projects/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+parent}/agent:import", +"request": { +"$ref": "GoogleCloudDialogflowV2ImportAgentRequest" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"restore": { +"description": "", +"flatPath": "v2/projects/{projectsId}/agent:restore", +"httpMethod": "POST", +"id": "dialogflow.projects.agent.restore", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"location": "path", +"pattern": "^projects/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+parent}/agent:restore", +"request": { +"$ref": "GoogleCloudDialogflowV2RestoreAgentRequest" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"search": { +"description": "", +"flatPath": "v2/projects/{projectsId}/agent:search", +"httpMethod": "GET", +"id": "dialogflow.projects.agent.search", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"location": "query", +"type": "string" +}, +"parent": { +"location": "path", +"pattern": "^projects/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+parent}/agent:search", +"response": { +"$ref": "GoogleCloudDialogflowV2SearchAgentsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"train": { +"description": "", +"flatPath": "v2/projects/{projectsId}/agent:train", +"httpMethod": "POST", +"id": "dialogflow.projects.agent.train", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"location": "path", +"pattern": "^projects/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+parent}/agent:train", +"request": { +"$ref": "GoogleCloudDialogflowV2TrainAgentRequest" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"updateFulfillment": { +"description": "", +"flatPath": "v2/projects/{projectsId}/agent/fulfillment", +"httpMethod": "PATCH", +"id": "dialogflow.projects.agent.updateFulfillment", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"location": "path", +"pattern": "^projects/[^/]+/agent/fulfillment$", +"required": true, +"type": "string" +}, +"updateMask": { +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v2/{+name}", +"request": { +"$ref": "GoogleCloudDialogflowV2Fulfillment" +}, +"response": { +"$ref": "GoogleCloudDialogflowV2Fulfillment" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +} +}, +"resources": { +"entityTypes": { +"methods": { +"batchDelete": { +"description": "", +"flatPath": "v2/projects/{projectsId}/agent/entityTypes:batchDelete", +"httpMethod": "POST", +"id": "dialogflow.projects.agent.entityTypes.batchDelete", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"location": "path", +"pattern": "^projects/[^/]+/agent$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+parent}/entityTypes:batchDelete", +"request": { +"$ref": "GoogleCloudDialogflowV2BatchDeleteEntityTypesRequest" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"batchUpdate": { +"description": "", +"flatPath": "v2/projects/{projectsId}/agent/entityTypes:batchUpdate", +"httpMethod": "POST", +"id": "dialogflow.projects.agent.entityTypes.batchUpdate", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"location": "path", +"pattern": "^projects/[^/]+/agent$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+parent}/entityTypes:batchUpdate", +"request": { +"$ref": "GoogleCloudDialogflowV2BatchUpdateEntityTypesRequest" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"create": { +"description": "", +"flatPath": "v2/projects/{projectsId}/agent/entityTypes", +"httpMethod": "POST", +"id": "dialogflow.projects.agent.entityTypes.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"languageCode": { +"location": "query", +"type": "string" +}, +"parent": { +"location": "path", +"pattern": "^projects/[^/]+/agent$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+parent}/entityTypes", +"request": { +"$ref": "GoogleCloudDialogflowV2EntityType" +}, +"response": { +"$ref": "GoogleCloudDialogflowV2EntityType" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"delete": { +"description": "", +"flatPath": "v2/projects/{projectsId}/agent/entityTypes/{entityTypesId}", +"httpMethod": "DELETE", +"id": "dialogflow.projects.agent.entityTypes.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"location": "path", +"pattern": "^projects/[^/]+/agent/entityTypes/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+name}", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"get": { +"description": "", +"flatPath": "v2/projects/{projectsId}/agent/entityTypes/{entityTypesId}", +"httpMethod": "GET", +"id": "dialogflow.projects.agent.entityTypes.get", +"parameterOrder": [ +"name" +], +"parameters": { +"languageCode": { +"location": "query", +"type": "string" +}, +"name": { +"location": "path", +"pattern": "^projects/[^/]+/agent/entityTypes/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+name}", +"response": { +"$ref": "GoogleCloudDialogflowV2EntityType" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"list": { +"description": "", +"flatPath": "v2/projects/{projectsId}/agent/entityTypes", +"httpMethod": "GET", +"id": "dialogflow.projects.agent.entityTypes.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"languageCode": { +"location": "query", +"type": "string" +}, +"pageSize": { +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"location": "query", +"type": "string" +}, +"parent": { +"location": "path", +"pattern": "^projects/[^/]+/agent$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+parent}/entityTypes", +"response": { +"$ref": "GoogleCloudDialogflowV2ListEntityTypesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"patch": { +"description": "", +"flatPath": "v2/projects/{projectsId}/agent/entityTypes/{entityTypesId}", +"httpMethod": "PATCH", +"id": "dialogflow.projects.agent.entityTypes.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"languageCode": { +"location": "query", +"type": "string" +}, +"name": { +"location": "path", +"pattern": "^projects/[^/]+/agent/entityTypes/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v2/{+name}", +"request": { +"$ref": "GoogleCloudDialogflowV2EntityType" +}, +"response": { +"$ref": "GoogleCloudDialogflowV2EntityType" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +} +}, +"resources": { +"entities": { +"methods": { +"batchCreate": { +"description": "", +"flatPath": "v2/projects/{projectsId}/agent/entityTypes/{entityTypesId}/entities:batchCreate", +"httpMethod": "POST", +"id": "dialogflow.projects.agent.entityTypes.entities.batchCreate", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"location": "path", +"pattern": "^projects/[^/]+/agent/entityTypes/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+parent}/entities:batchCreate", +"request": { +"$ref": "GoogleCloudDialogflowV2BatchCreateEntitiesRequest" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"batchDelete": { +"description": "", +"flatPath": "v2/projects/{projectsId}/agent/entityTypes/{entityTypesId}/entities:batchDelete", +"httpMethod": "POST", +"id": "dialogflow.projects.agent.entityTypes.entities.batchDelete", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"location": "path", +"pattern": "^projects/[^/]+/agent/entityTypes/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+parent}/entities:batchDelete", +"request": { +"$ref": "GoogleCloudDialogflowV2BatchDeleteEntitiesRequest" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"batchUpdate": { +"description": "", +"flatPath": "v2/projects/{projectsId}/agent/entityTypes/{entityTypesId}/entities:batchUpdate", +"httpMethod": "POST", +"id": "dialogflow.projects.agent.entityTypes.entities.batchUpdate", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"location": "path", +"pattern": "^projects/[^/]+/agent/entityTypes/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+parent}/entities:batchUpdate", +"request": { +"$ref": "GoogleCloudDialogflowV2BatchUpdateEntitiesRequest" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +} +} +} +} +}, +"environments": { +"methods": { +"create": { +"description": "", +"flatPath": "v2/projects/{projectsId}/agent/environments", +"httpMethod": "POST", +"id": "dialogflow.projects.agent.environments.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"environmentId": { +"location": "query", +"type": "string" +}, +"parent": { +"location": "path", +"pattern": "^projects/[^/]+/agent$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+parent}/environments", +"request": { +"$ref": "GoogleCloudDialogflowV2Environment" +}, +"response": { +"$ref": "GoogleCloudDialogflowV2Environment" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"delete": { +"description": "", +"flatPath": "v2/projects/{projectsId}/agent/environments/{environmentsId}", +"httpMethod": "DELETE", +"id": "dialogflow.projects.agent.environments.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"location": "path", +"pattern": "^projects/[^/]+/agent/environments/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+name}", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"get": { +"description": "", +"flatPath": "v2/projects/{projectsId}/agent/environments/{environmentsId}", +"httpMethod": "GET", +"id": "dialogflow.projects.agent.environments.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"location": "path", +"pattern": "^projects/[^/]+/agent/environments/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+name}", +"response": { +"$ref": "GoogleCloudDialogflowV2Environment" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"getHistory": { +"description": "", +"flatPath": "v2/projects/{projectsId}/agent/environments/{environmentsId}/history", +"httpMethod": "GET", +"id": "dialogflow.projects.agent.environments.getHistory", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"location": "query", +"type": "string" +}, +"parent": { +"location": "path", +"pattern": "^projects/[^/]+/agent/environments/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+parent}/history", +"response": { +"$ref": "GoogleCloudDialogflowV2EnvironmentHistory" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"list": { +"description": "", +"flatPath": "v2/projects/{projectsId}/agent/environments", +"httpMethod": "GET", +"id": "dialogflow.projects.agent.environments.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"location": "query", +"type": "string" +}, +"parent": { +"location": "path", +"pattern": "^projects/[^/]+/agent$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+parent}/environments", +"response": { +"$ref": "GoogleCloudDialogflowV2ListEnvironmentsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"patch": { +"description": "", +"flatPath": "v2/projects/{projectsId}/agent/environments/{environmentsId}", +"httpMethod": "PATCH", +"id": "dialogflow.projects.agent.environments.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"allowLoadToDraftAndDiscardChanges": { +"location": "query", +"type": "boolean" +}, +"name": { +"location": "path", +"pattern": "^projects/[^/]+/agent/environments/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v2/{+name}", +"request": { +"$ref": "GoogleCloudDialogflowV2Environment" +}, +"response": { +"$ref": "GoogleCloudDialogflowV2Environment" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +} +}, +"resources": { +"intents": { +"methods": { +"list": { +"description": "", +"flatPath": "v2/projects/{projectsId}/agent/environments/{environmentsId}/intents", +"httpMethod": "GET", +"id": "dialogflow.projects.agent.environments.intents.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"intentView": { +"enum": [ +"INTENT_VIEW_UNSPECIFIED", +"INTENT_VIEW_FULL" +], +"enumDescriptions": [ +"", +"" +], +"location": "query", +"type": "string" +}, +"languageCode": { +"location": "query", +"type": "string" +}, +"pageSize": { +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"location": "query", +"type": "string" +}, +"parent": { +"location": "path", +"pattern": "^projects/[^/]+/agent/environments/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+parent}/intents", +"response": { +"$ref": "GoogleCloudDialogflowV2ListIntentsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +} +} +}, +"users": { +"resources": { +"sessions": { +"methods": { +"deleteContexts": { +"description": "", +"flatPath": "v2/projects/{projectsId}/agent/environments/{environmentsId}/users/{usersId}/sessions/{sessionsId}/contexts", +"httpMethod": "DELETE", +"id": "dialogflow.projects.agent.environments.users.sessions.deleteContexts", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"location": "path", +"pattern": "^projects/[^/]+/agent/environments/[^/]+/users/[^/]+/sessions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+parent}/contexts", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"detectIntent": { +"description": "", +"flatPath": "v2/projects/{projectsId}/agent/environments/{environmentsId}/users/{usersId}/sessions/{sessionsId}:detectIntent", +"httpMethod": "POST", +"id": "dialogflow.projects.agent.environments.users.sessions.detectIntent", +"parameterOrder": [ +"session" +], +"parameters": { +"session": { +"location": "path", +"pattern": "^projects/[^/]+/agent/environments/[^/]+/users/[^/]+/sessions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+session}:detectIntent", +"request": { +"$ref": "GoogleCloudDialogflowV2DetectIntentRequest" +}, +"response": { +"$ref": "GoogleCloudDialogflowV2DetectIntentResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +} +}, +"resources": { +"contexts": { +"methods": { +"create": { +"description": "", +"flatPath": "v2/projects/{projectsId}/agent/environments/{environmentsId}/users/{usersId}/sessions/{sessionsId}/contexts", +"httpMethod": "POST", +"id": "dialogflow.projects.agent.environments.users.sessions.contexts.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"location": "path", +"pattern": "^projects/[^/]+/agent/environments/[^/]+/users/[^/]+/sessions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+parent}/contexts", +"request": { +"$ref": "GoogleCloudDialogflowV2Context" +}, +"response": { +"$ref": "GoogleCloudDialogflowV2Context" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"delete": { +"description": "", +"flatPath": "v2/projects/{projectsId}/agent/environments/{environmentsId}/users/{usersId}/sessions/{sessionsId}/contexts/{contextsId}", +"httpMethod": "DELETE", +"id": "dialogflow.projects.agent.environments.users.sessions.contexts.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"location": "path", +"pattern": "^projects/[^/]+/agent/environments/[^/]+/users/[^/]+/sessions/[^/]+/contexts/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+name}", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"get": { +"description": "", +"flatPath": "v2/projects/{projectsId}/agent/environments/{environmentsId}/users/{usersId}/sessions/{sessionsId}/contexts/{contextsId}", +"httpMethod": "GET", +"id": "dialogflow.projects.agent.environments.users.sessions.contexts.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"location": "path", +"pattern": "^projects/[^/]+/agent/environments/[^/]+/users/[^/]+/sessions/[^/]+/contexts/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+name}", +"response": { +"$ref": "GoogleCloudDialogflowV2Context" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"list": { +"description": "", +"flatPath": "v2/projects/{projectsId}/agent/environments/{environmentsId}/users/{usersId}/sessions/{sessionsId}/contexts", +"httpMethod": "GET", +"id": "dialogflow.projects.agent.environments.users.sessions.contexts.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"location": "query", +"type": "string" +}, +"parent": { +"location": "path", +"pattern": "^projects/[^/]+/agent/environments/[^/]+/users/[^/]+/sessions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+parent}/contexts", +"response": { +"$ref": "GoogleCloudDialogflowV2ListContextsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"patch": { +"description": "", +"flatPath": "v2/projects/{projectsId}/agent/environments/{environmentsId}/users/{usersId}/sessions/{sessionsId}/contexts/{contextsId}", +"httpMethod": "PATCH", +"id": "dialogflow.projects.agent.environments.users.sessions.contexts.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"location": "path", +"pattern": "^projects/[^/]+/agent/environments/[^/]+/users/[^/]+/sessions/[^/]+/contexts/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v2/{+name}", +"request": { +"$ref": "GoogleCloudDialogflowV2Context" +}, +"response": { +"$ref": "GoogleCloudDialogflowV2Context" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +} +} +}, +"entityTypes": { +"methods": { +"create": { +"description": "", +"flatPath": "v2/projects/{projectsId}/agent/environments/{environmentsId}/users/{usersId}/sessions/{sessionsId}/entityTypes", +"httpMethod": "POST", +"id": "dialogflow.projects.agent.environments.users.sessions.entityTypes.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"location": "path", +"pattern": "^projects/[^/]+/agent/environments/[^/]+/users/[^/]+/sessions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+parent}/entityTypes", +"request": { +"$ref": "GoogleCloudDialogflowV2SessionEntityType" +}, +"response": { +"$ref": "GoogleCloudDialogflowV2SessionEntityType" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"delete": { +"description": "", +"flatPath": "v2/projects/{projectsId}/agent/environments/{environmentsId}/users/{usersId}/sessions/{sessionsId}/entityTypes/{entityTypesId}", +"httpMethod": "DELETE", +"id": "dialogflow.projects.agent.environments.users.sessions.entityTypes.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"location": "path", +"pattern": "^projects/[^/]+/agent/environments/[^/]+/users/[^/]+/sessions/[^/]+/entityTypes/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+name}", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"get": { +"description": "", +"flatPath": "v2/projects/{projectsId}/agent/environments/{environmentsId}/users/{usersId}/sessions/{sessionsId}/entityTypes/{entityTypesId}", +"httpMethod": "GET", +"id": "dialogflow.projects.agent.environments.users.sessions.entityTypes.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"location": "path", +"pattern": "^projects/[^/]+/agent/environments/[^/]+/users/[^/]+/sessions/[^/]+/entityTypes/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+name}", +"response": { +"$ref": "GoogleCloudDialogflowV2SessionEntityType" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"list": { +"description": "", +"flatPath": "v2/projects/{projectsId}/agent/environments/{environmentsId}/users/{usersId}/sessions/{sessionsId}/entityTypes", +"httpMethod": "GET", +"id": "dialogflow.projects.agent.environments.users.sessions.entityTypes.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"location": "query", +"type": "string" +}, +"parent": { +"location": "path", +"pattern": "^projects/[^/]+/agent/environments/[^/]+/users/[^/]+/sessions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+parent}/entityTypes", +"response": { +"$ref": "GoogleCloudDialogflowV2ListSessionEntityTypesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"patch": { +"description": "", +"flatPath": "v2/projects/{projectsId}/agent/environments/{environmentsId}/users/{usersId}/sessions/{sessionsId}/entityTypes/{entityTypesId}", +"httpMethod": "PATCH", +"id": "dialogflow.projects.agent.environments.users.sessions.entityTypes.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"location": "path", +"pattern": "^projects/[^/]+/agent/environments/[^/]+/users/[^/]+/sessions/[^/]+/entityTypes/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v2/{+name}", +"request": { +"$ref": "GoogleCloudDialogflowV2SessionEntityType" +}, +"response": { +"$ref": "GoogleCloudDialogflowV2SessionEntityType" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +} +} +} +} +} +} +} +} +}, +"intents": { +"methods": { +"batchDelete": { +"description": "", +"flatPath": "v2/projects/{projectsId}/agent/intents:batchDelete", +"httpMethod": "POST", +"id": "dialogflow.projects.agent.intents.batchDelete", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"location": "path", +"pattern": "^projects/[^/]+/agent$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+parent}/intents:batchDelete", +"request": { +"$ref": "GoogleCloudDialogflowV2BatchDeleteIntentsRequest" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"batchUpdate": { +"description": "", +"flatPath": "v2/projects/{projectsId}/agent/intents:batchUpdate", +"httpMethod": "POST", +"id": "dialogflow.projects.agent.intents.batchUpdate", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"location": "path", +"pattern": "^projects/[^/]+/agent$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+parent}/intents:batchUpdate", +"request": { +"$ref": "GoogleCloudDialogflowV2BatchUpdateIntentsRequest" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"create": { +"description": "", +"flatPath": "v2/projects/{projectsId}/agent/intents", +"httpMethod": "POST", +"id": "dialogflow.projects.agent.intents.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"intentView": { +"enum": [ +"INTENT_VIEW_UNSPECIFIED", +"INTENT_VIEW_FULL" +], +"enumDescriptions": [ +"", +"" +], +"location": "query", +"type": "string" +}, +"languageCode": { +"location": "query", +"type": "string" +}, +"parent": { +"location": "path", +"pattern": "^projects/[^/]+/agent$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+parent}/intents", +"request": { +"$ref": "GoogleCloudDialogflowV2Intent" +}, +"response": { +"$ref": "GoogleCloudDialogflowV2Intent" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"delete": { +"description": "", +"flatPath": "v2/projects/{projectsId}/agent/intents/{intentsId}", +"httpMethod": "DELETE", +"id": "dialogflow.projects.agent.intents.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"location": "path", +"pattern": "^projects/[^/]+/agent/intents/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+name}", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"get": { +"description": "", +"flatPath": "v2/projects/{projectsId}/agent/intents/{intentsId}", +"httpMethod": "GET", +"id": "dialogflow.projects.agent.intents.get", +"parameterOrder": [ +"name" +], +"parameters": { +"intentView": { +"enum": [ +"INTENT_VIEW_UNSPECIFIED", +"INTENT_VIEW_FULL" +], +"enumDescriptions": [ +"", +"" +], +"location": "query", +"type": "string" +}, +"languageCode": { +"location": "query", +"type": "string" +}, +"name": { +"location": "path", +"pattern": "^projects/[^/]+/agent/intents/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+name}", +"response": { +"$ref": "GoogleCloudDialogflowV2Intent" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"list": { +"description": "", +"flatPath": "v2/projects/{projectsId}/agent/intents", +"httpMethod": "GET", +"id": "dialogflow.projects.agent.intents.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"intentView": { +"enum": [ +"INTENT_VIEW_UNSPECIFIED", +"INTENT_VIEW_FULL" +], +"enumDescriptions": [ +"", +"" +], +"location": "query", +"type": "string" +}, +"languageCode": { +"location": "query", +"type": "string" +}, +"pageSize": { +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"location": "query", +"type": "string" +}, +"parent": { +"location": "path", +"pattern": "^projects/[^/]+/agent$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+parent}/intents", +"response": { +"$ref": "GoogleCloudDialogflowV2ListIntentsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"patch": { +"description": "", +"flatPath": "v2/projects/{projectsId}/agent/intents/{intentsId}", +"httpMethod": "PATCH", +"id": "dialogflow.projects.agent.intents.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"intentView": { +"enum": [ +"INTENT_VIEW_UNSPECIFIED", +"INTENT_VIEW_FULL" +], +"enumDescriptions": [ +"", +"" +], +"location": "query", +"type": "string" +}, +"languageCode": { +"location": "query", +"type": "string" +}, +"name": { +"location": "path", +"pattern": "^projects/[^/]+/agent/intents/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v2/{+name}", +"request": { +"$ref": "GoogleCloudDialogflowV2Intent" +}, +"response": { +"$ref": "GoogleCloudDialogflowV2Intent" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +} +} +}, +"knowledgeBases": { +"methods": { +"create": { +"description": "", +"flatPath": "v2/projects/{projectsId}/agent/knowledgeBases", +"httpMethod": "POST", +"id": "dialogflow.projects.agent.knowledgeBases.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"location": "path", +"pattern": "^projects/[^/]+/agent$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+parent}/knowledgeBases", +"request": { +"$ref": "GoogleCloudDialogflowV2KnowledgeBase" +}, +"response": { +"$ref": "GoogleCloudDialogflowV2KnowledgeBase" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"delete": { +"description": "", +"flatPath": "v2/projects/{projectsId}/agent/knowledgeBases/{knowledgeBasesId}", +"httpMethod": "DELETE", +"id": "dialogflow.projects.agent.knowledgeBases.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"force": { +"location": "query", +"type": "boolean" +}, +"name": { +"location": "path", +"pattern": "^projects/[^/]+/agent/knowledgeBases/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+name}", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"get": { +"description": "", +"flatPath": "v2/projects/{projectsId}/agent/knowledgeBases/{knowledgeBasesId}", +"httpMethod": "GET", +"id": "dialogflow.projects.agent.knowledgeBases.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"location": "path", +"pattern": "^projects/[^/]+/agent/knowledgeBases/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+name}", +"response": { +"$ref": "GoogleCloudDialogflowV2KnowledgeBase" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"list": { +"description": "", +"flatPath": "v2/projects/{projectsId}/agent/knowledgeBases", +"httpMethod": "GET", +"id": "dialogflow.projects.agent.knowledgeBases.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"location": "query", +"type": "string" +}, +"pageSize": { +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"location": "query", +"type": "string" +}, +"parent": { +"location": "path", +"pattern": "^projects/[^/]+/agent$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+parent}/knowledgeBases", +"response": { +"$ref": "GoogleCloudDialogflowV2ListKnowledgeBasesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"patch": { +"description": "", +"flatPath": "v2/projects/{projectsId}/agent/knowledgeBases/{knowledgeBasesId}", +"httpMethod": "PATCH", +"id": "dialogflow.projects.agent.knowledgeBases.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"location": "path", +"pattern": "^projects/[^/]+/agent/knowledgeBases/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v2/{+name}", +"request": { +"$ref": "GoogleCloudDialogflowV2KnowledgeBase" +}, +"response": { +"$ref": "GoogleCloudDialogflowV2KnowledgeBase" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +} +}, +"resources": { +"documents": { +"methods": { +"create": { +"description": "", +"flatPath": "v2/projects/{projectsId}/agent/knowledgeBases/{knowledgeBasesId}/documents", +"httpMethod": "POST", +"id": "dialogflow.projects.agent.knowledgeBases.documents.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"location": "path", +"pattern": "^projects/[^/]+/agent/knowledgeBases/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+parent}/documents", +"request": { +"$ref": "GoogleCloudDialogflowV2Document" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"delete": { +"description": "", +"flatPath": "v2/projects/{projectsId}/agent/knowledgeBases/{knowledgeBasesId}/documents/{documentsId}", +"httpMethod": "DELETE", +"id": "dialogflow.projects.agent.knowledgeBases.documents.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"location": "path", +"pattern": "^projects/[^/]+/agent/knowledgeBases/[^/]+/documents/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+name}", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"get": { +"description": "", +"flatPath": "v2/projects/{projectsId}/agent/knowledgeBases/{knowledgeBasesId}/documents/{documentsId}", +"httpMethod": "GET", +"id": "dialogflow.projects.agent.knowledgeBases.documents.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"location": "path", +"pattern": "^projects/[^/]+/agent/knowledgeBases/[^/]+/documents/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+name}", +"response": { +"$ref": "GoogleCloudDialogflowV2Document" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"list": { +"description": "", +"flatPath": "v2/projects/{projectsId}/agent/knowledgeBases/{knowledgeBasesId}/documents", +"httpMethod": "GET", +"id": "dialogflow.projects.agent.knowledgeBases.documents.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"location": "query", +"type": "string" +}, +"pageSize": { +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"location": "query", +"type": "string" +}, +"parent": { +"location": "path", +"pattern": "^projects/[^/]+/agent/knowledgeBases/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+parent}/documents", +"response": { +"$ref": "GoogleCloudDialogflowV2ListDocumentsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"patch": { +"description": "", +"flatPath": "v2/projects/{projectsId}/agent/knowledgeBases/{knowledgeBasesId}/documents/{documentsId}", +"httpMethod": "PATCH", +"id": "dialogflow.projects.agent.knowledgeBases.documents.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"location": "path", +"pattern": "^projects/[^/]+/agent/knowledgeBases/[^/]+/documents/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v2/{+name}", +"request": { +"$ref": "GoogleCloudDialogflowV2Document" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"reload": { +"description": "", +"flatPath": "v2/projects/{projectsId}/agent/knowledgeBases/{knowledgeBasesId}/documents/{documentsId}:reload", +"httpMethod": "POST", +"id": "dialogflow.projects.agent.knowledgeBases.documents.reload", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"location": "path", +"pattern": "^projects/[^/]+/agent/knowledgeBases/[^/]+/documents/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+name}:reload", +"request": { +"$ref": "GoogleCloudDialogflowV2ReloadDocumentRequest" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +} +} +} +} +}, +"sessions": { +"methods": { +"deleteContexts": { +"description": "", +"flatPath": "v2/projects/{projectsId}/agent/sessions/{sessionsId}/contexts", +"httpMethod": "DELETE", +"id": "dialogflow.projects.agent.sessions.deleteContexts", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"location": "path", +"pattern": "^projects/[^/]+/agent/sessions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+parent}/contexts", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"detectIntent": { +"description": "", +"flatPath": "v2/projects/{projectsId}/agent/sessions/{sessionsId}:detectIntent", +"httpMethod": "POST", +"id": "dialogflow.projects.agent.sessions.detectIntent", +"parameterOrder": [ +"session" +], +"parameters": { +"session": { +"location": "path", +"pattern": "^projects/[^/]+/agent/sessions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+session}:detectIntent", +"request": { +"$ref": "GoogleCloudDialogflowV2DetectIntentRequest" +}, +"response": { +"$ref": "GoogleCloudDialogflowV2DetectIntentResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +} +}, +"resources": { +"contexts": { +"methods": { +"create": { +"description": "", +"flatPath": "v2/projects/{projectsId}/agent/sessions/{sessionsId}/contexts", +"httpMethod": "POST", +"id": "dialogflow.projects.agent.sessions.contexts.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"location": "path", +"pattern": "^projects/[^/]+/agent/sessions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+parent}/contexts", +"request": { +"$ref": "GoogleCloudDialogflowV2Context" +}, +"response": { +"$ref": "GoogleCloudDialogflowV2Context" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"delete": { +"description": "", +"flatPath": "v2/projects/{projectsId}/agent/sessions/{sessionsId}/contexts/{contextsId}", +"httpMethod": "DELETE", +"id": "dialogflow.projects.agent.sessions.contexts.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"location": "path", +"pattern": "^projects/[^/]+/agent/sessions/[^/]+/contexts/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+name}", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"get": { +"description": "", +"flatPath": "v2/projects/{projectsId}/agent/sessions/{sessionsId}/contexts/{contextsId}", +"httpMethod": "GET", +"id": "dialogflow.projects.agent.sessions.contexts.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"location": "path", +"pattern": "^projects/[^/]+/agent/sessions/[^/]+/contexts/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+name}", +"response": { +"$ref": "GoogleCloudDialogflowV2Context" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"list": { +"description": "", +"flatPath": "v2/projects/{projectsId}/agent/sessions/{sessionsId}/contexts", +"httpMethod": "GET", +"id": "dialogflow.projects.agent.sessions.contexts.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"location": "query", +"type": "string" +}, +"parent": { +"location": "path", +"pattern": "^projects/[^/]+/agent/sessions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+parent}/contexts", +"response": { +"$ref": "GoogleCloudDialogflowV2ListContextsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"patch": { +"description": "", +"flatPath": "v2/projects/{projectsId}/agent/sessions/{sessionsId}/contexts/{contextsId}", +"httpMethod": "PATCH", +"id": "dialogflow.projects.agent.sessions.contexts.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"location": "path", +"pattern": "^projects/[^/]+/agent/sessions/[^/]+/contexts/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v2/{+name}", +"request": { +"$ref": "GoogleCloudDialogflowV2Context" +}, +"response": { +"$ref": "GoogleCloudDialogflowV2Context" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +} +} +}, +"entityTypes": { +"methods": { +"create": { +"description": "", +"flatPath": "v2/projects/{projectsId}/agent/sessions/{sessionsId}/entityTypes", +"httpMethod": "POST", +"id": "dialogflow.projects.agent.sessions.entityTypes.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"location": "path", +"pattern": "^projects/[^/]+/agent/sessions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+parent}/entityTypes", +"request": { +"$ref": "GoogleCloudDialogflowV2SessionEntityType" +}, +"response": { +"$ref": "GoogleCloudDialogflowV2SessionEntityType" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"delete": { +"description": "", +"flatPath": "v2/projects/{projectsId}/agent/sessions/{sessionsId}/entityTypes/{entityTypesId}", +"httpMethod": "DELETE", +"id": "dialogflow.projects.agent.sessions.entityTypes.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"location": "path", +"pattern": "^projects/[^/]+/agent/sessions/[^/]+/entityTypes/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+name}", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"get": { +"description": "", +"flatPath": "v2/projects/{projectsId}/agent/sessions/{sessionsId}/entityTypes/{entityTypesId}", +"httpMethod": "GET", +"id": "dialogflow.projects.agent.sessions.entityTypes.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"location": "path", +"pattern": "^projects/[^/]+/agent/sessions/[^/]+/entityTypes/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+name}", +"response": { +"$ref": "GoogleCloudDialogflowV2SessionEntityType" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"list": { +"description": "", +"flatPath": "v2/projects/{projectsId}/agent/sessions/{sessionsId}/entityTypes", +"httpMethod": "GET", +"id": "dialogflow.projects.agent.sessions.entityTypes.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"location": "query", +"type": "string" +}, +"parent": { +"location": "path", +"pattern": "^projects/[^/]+/agent/sessions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+parent}/entityTypes", +"response": { +"$ref": "GoogleCloudDialogflowV2ListSessionEntityTypesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"patch": { +"description": "", +"flatPath": "v2/projects/{projectsId}/agent/sessions/{sessionsId}/entityTypes/{entityTypesId}", +"httpMethod": "PATCH", +"id": "dialogflow.projects.agent.sessions.entityTypes.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"location": "path", +"pattern": "^projects/[^/]+/agent/sessions/[^/]+/entityTypes/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v2/{+name}", +"request": { +"$ref": "GoogleCloudDialogflowV2SessionEntityType" +}, +"response": { +"$ref": "GoogleCloudDialogflowV2SessionEntityType" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +} +} +} +} +}, +"versions": { +"methods": { +"create": { +"description": "", +"flatPath": "v2/projects/{projectsId}/agent/versions", +"httpMethod": "POST", +"id": "dialogflow.projects.agent.versions.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"location": "path", +"pattern": "^projects/[^/]+/agent$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+parent}/versions", +"request": { +"$ref": "GoogleCloudDialogflowV2Version" +}, +"response": { +"$ref": "GoogleCloudDialogflowV2Version" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"delete": { +"description": "", +"flatPath": "v2/projects/{projectsId}/agent/versions/{versionsId}", +"httpMethod": "DELETE", +"id": "dialogflow.projects.agent.versions.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"location": "path", +"pattern": "^projects/[^/]+/agent/versions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+name}", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"get": { +"description": "", +"flatPath": "v2/projects/{projectsId}/agent/versions/{versionsId}", +"httpMethod": "GET", +"id": "dialogflow.projects.agent.versions.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"location": "path", +"pattern": "^projects/[^/]+/agent/versions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+name}", +"response": { +"$ref": "GoogleCloudDialogflowV2Version" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"list": { +"description": "", +"flatPath": "v2/projects/{projectsId}/agent/versions", +"httpMethod": "GET", +"id": "dialogflow.projects.agent.versions.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"location": "query", +"type": "string" +}, +"parent": { +"location": "path", +"pattern": "^projects/[^/]+/agent$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+parent}/versions", +"response": { +"$ref": "GoogleCloudDialogflowV2ListVersionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"patch": { +"description": "", +"flatPath": "v2/projects/{projectsId}/agent/versions/{versionsId}", +"httpMethod": "PATCH", +"id": "dialogflow.projects.agent.versions.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"location": "path", +"pattern": "^projects/[^/]+/agent/versions/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v2/{+name}", +"request": { +"$ref": "GoogleCloudDialogflowV2Version" +}, +"response": { +"$ref": "GoogleCloudDialogflowV2Version" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +} +} +} +} +}, +"answerRecords": { +"methods": { +"list": { +"description": "", +"flatPath": "v2/projects/{projectsId}/answerRecords", +"httpMethod": "GET", +"id": "dialogflow.projects.answerRecords.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"location": "query", +"type": "string" +}, +"pageSize": { +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"location": "query", +"type": "string" +}, +"parent": { +"location": "path", +"pattern": "^projects/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+parent}/answerRecords", +"response": { +"$ref": "GoogleCloudDialogflowV2ListAnswerRecordsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"patch": { +"description": "", +"flatPath": "v2/projects/{projectsId}/answerRecords/{answerRecordsId}", +"httpMethod": "PATCH", +"id": "dialogflow.projects.answerRecords.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"location": "path", +"pattern": "^projects/[^/]+/answerRecords/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v2/{+name}", +"request": { +"$ref": "GoogleCloudDialogflowV2AnswerRecord" +}, +"response": { +"$ref": "GoogleCloudDialogflowV2AnswerRecord" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +} +} +}, +"conversationDatasets": { +"methods": { +"get": { +"description": "", +"flatPath": "v2/projects/{projectsId}/conversationDatasets/{conversationDatasetsId}", +"httpMethod": "GET", +"id": "dialogflow.projects.conversationDatasets.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"location": "path", +"pattern": "^projects/[^/]+/conversationDatasets/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+name}", +"response": { +"$ref": "GoogleCloudDialogflowV2ConversationDataset" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"importConversationData": { +"description": "", +"flatPath": "v2/projects/{projectsId}/conversationDatasets/{conversationDatasetsId}:importConversationData", +"httpMethod": "POST", +"id": "dialogflow.projects.conversationDatasets.importConversationData", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"location": "path", +"pattern": "^projects/[^/]+/conversationDatasets/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+name}:importConversationData", +"request": { +"$ref": "GoogleCloudDialogflowV2ImportConversationDataRequest" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"list": { +"description": "", +"flatPath": "v2/projects/{projectsId}/conversationDatasets", +"httpMethod": "GET", +"id": "dialogflow.projects.conversationDatasets.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"location": "query", +"type": "string" +}, +"parent": { +"location": "path", +"pattern": "^projects/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+parent}/conversationDatasets", +"response": { +"$ref": "GoogleCloudDialogflowV2ListConversationDatasetsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +} +} +}, +"conversationModels": { +"methods": { +"create": { +"description": "", +"flatPath": "v2/projects/{projectsId}/conversationModels", +"httpMethod": "POST", +"id": "dialogflow.projects.conversationModels.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"location": "path", +"pattern": "^projects/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+parent}/conversationModels", +"request": { +"$ref": "GoogleCloudDialogflowV2ConversationModel" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"delete": { +"description": "", +"flatPath": "v2/projects/{projectsId}/conversationModels/{conversationModelsId}", +"httpMethod": "DELETE", +"id": "dialogflow.projects.conversationModels.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"location": "path", +"pattern": "^projects/[^/]+/conversationModels/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+name}", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"deploy": { +"description": "", +"flatPath": "v2/projects/{projectsId}/conversationModels/{conversationModelsId}:deploy", +"httpMethod": "POST", +"id": "dialogflow.projects.conversationModels.deploy", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"location": "path", +"pattern": "^projects/[^/]+/conversationModels/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+name}:deploy", +"request": { +"$ref": "GoogleCloudDialogflowV2DeployConversationModelRequest" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"get": { +"description": "", +"flatPath": "v2/projects/{projectsId}/conversationModels/{conversationModelsId}", +"httpMethod": "GET", +"id": "dialogflow.projects.conversationModels.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"location": "path", +"pattern": "^projects/[^/]+/conversationModels/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+name}", +"response": { +"$ref": "GoogleCloudDialogflowV2ConversationModel" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"list": { +"description": "", +"flatPath": "v2/projects/{projectsId}/conversationModels", +"httpMethod": "GET", +"id": "dialogflow.projects.conversationModels.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"location": "query", +"type": "string" +}, +"parent": { +"location": "path", +"pattern": "^projects/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+parent}/conversationModels", +"response": { +"$ref": "GoogleCloudDialogflowV2ListConversationModelsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"undeploy": { +"description": "", +"flatPath": "v2/projects/{projectsId}/conversationModels/{conversationModelsId}:undeploy", +"httpMethod": "POST", +"id": "dialogflow.projects.conversationModels.undeploy", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"location": "path", +"pattern": "^projects/[^/]+/conversationModels/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+name}:undeploy", +"request": { +"$ref": "GoogleCloudDialogflowV2UndeployConversationModelRequest" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +} +}, +"resources": { +"evaluations": { +"methods": { +"get": { +"description": "", +"flatPath": "v2/projects/{projectsId}/conversationModels/{conversationModelsId}/evaluations/{evaluationsId}", +"httpMethod": "GET", +"id": "dialogflow.projects.conversationModels.evaluations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"location": "path", +"pattern": "^projects/[^/]+/conversationModels/[^/]+/evaluations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+name}", +"response": { +"$ref": "GoogleCloudDialogflowV2ConversationModelEvaluation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"list": { +"description": "", +"flatPath": "v2/projects/{projectsId}/conversationModels/{conversationModelsId}/evaluations", +"httpMethod": "GET", +"id": "dialogflow.projects.conversationModels.evaluations.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"location": "query", +"type": "string" +}, +"parent": { +"location": "path", +"pattern": "^projects/[^/]+/conversationModels/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+parent}/evaluations", +"response": { +"$ref": "GoogleCloudDialogflowV2ListConversationModelEvaluationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +} +} +} +} +}, +"conversationProfiles": { +"methods": { +"clearSuggestionFeatureConfig": { +"description": "", +"flatPath": "v2/projects/{projectsId}/conversationProfiles/{conversationProfilesId}:clearSuggestionFeatureConfig", +"httpMethod": "POST", +"id": "dialogflow.projects.conversationProfiles.clearSuggestionFeatureConfig", +"parameterOrder": [ +"conversationProfile" +], +"parameters": { +"conversationProfile": { +"location": "path", +"pattern": "^projects/[^/]+/conversationProfiles/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+conversationProfile}:clearSuggestionFeatureConfig", +"request": { +"$ref": "GoogleCloudDialogflowV2ClearSuggestionFeatureConfigRequest" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"create": { +"description": "", +"flatPath": "v2/projects/{projectsId}/conversationProfiles", +"httpMethod": "POST", +"id": "dialogflow.projects.conversationProfiles.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"location": "path", +"pattern": "^projects/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+parent}/conversationProfiles", +"request": { +"$ref": "GoogleCloudDialogflowV2ConversationProfile" +}, +"response": { +"$ref": "GoogleCloudDialogflowV2ConversationProfile" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"delete": { +"description": "", +"flatPath": "v2/projects/{projectsId}/conversationProfiles/{conversationProfilesId}", +"httpMethod": "DELETE", +"id": "dialogflow.projects.conversationProfiles.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"location": "path", +"pattern": "^projects/[^/]+/conversationProfiles/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+name}", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"get": { +"description": "", +"flatPath": "v2/projects/{projectsId}/conversationProfiles/{conversationProfilesId}", +"httpMethod": "GET", +"id": "dialogflow.projects.conversationProfiles.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"location": "path", +"pattern": "^projects/[^/]+/conversationProfiles/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+name}", +"response": { +"$ref": "GoogleCloudDialogflowV2ConversationProfile" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"list": { +"description": "", +"flatPath": "v2/projects/{projectsId}/conversationProfiles", +"httpMethod": "GET", +"id": "dialogflow.projects.conversationProfiles.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"location": "query", +"type": "string" +}, +"parent": { +"location": "path", +"pattern": "^projects/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+parent}/conversationProfiles", +"response": { +"$ref": "GoogleCloudDialogflowV2ListConversationProfilesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"patch": { +"description": "", +"flatPath": "v2/projects/{projectsId}/conversationProfiles/{conversationProfilesId}", +"httpMethod": "PATCH", +"id": "dialogflow.projects.conversationProfiles.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"location": "path", +"pattern": "^projects/[^/]+/conversationProfiles/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v2/{+name}", +"request": { +"$ref": "GoogleCloudDialogflowV2ConversationProfile" +}, +"response": { +"$ref": "GoogleCloudDialogflowV2ConversationProfile" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"setSuggestionFeatureConfig": { +"description": "", +"flatPath": "v2/projects/{projectsId}/conversationProfiles/{conversationProfilesId}:setSuggestionFeatureConfig", +"httpMethod": "POST", +"id": "dialogflow.projects.conversationProfiles.setSuggestionFeatureConfig", +"parameterOrder": [ +"conversationProfile" +], +"parameters": { +"conversationProfile": { +"location": "path", +"pattern": "^projects/[^/]+/conversationProfiles/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+conversationProfile}:setSuggestionFeatureConfig", +"request": { +"$ref": "GoogleCloudDialogflowV2SetSuggestionFeatureConfigRequest" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +} +} +}, +"conversations": { +"methods": { +"complete": { +"description": "", +"flatPath": "v2/projects/{projectsId}/conversations/{conversationsId}:complete", +"httpMethod": "POST", +"id": "dialogflow.projects.conversations.complete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"location": "path", +"pattern": "^projects/[^/]+/conversations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+name}:complete", +"request": { +"$ref": "GoogleCloudDialogflowV2CompleteConversationRequest" +}, +"response": { +"$ref": "GoogleCloudDialogflowV2Conversation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"create": { +"description": "", +"flatPath": "v2/projects/{projectsId}/conversations", +"httpMethod": "POST", +"id": "dialogflow.projects.conversations.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"conversationId": { +"location": "query", +"type": "string" +}, +"parent": { +"location": "path", +"pattern": "^projects/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+parent}/conversations", +"request": { +"$ref": "GoogleCloudDialogflowV2Conversation" +}, +"response": { +"$ref": "GoogleCloudDialogflowV2Conversation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"get": { +"description": "", +"flatPath": "v2/projects/{projectsId}/conversations/{conversationsId}", +"httpMethod": "GET", +"id": "dialogflow.projects.conversations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"location": "path", +"pattern": "^projects/[^/]+/conversations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+name}", +"response": { +"$ref": "GoogleCloudDialogflowV2Conversation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"list": { +"description": "", +"flatPath": "v2/projects/{projectsId}/conversations", +"httpMethod": "GET", +"id": "dialogflow.projects.conversations.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"location": "query", +"type": "string" +}, +"pageSize": { +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"location": "query", +"type": "string" +}, +"parent": { +"location": "path", +"pattern": "^projects/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+parent}/conversations", +"response": { +"$ref": "GoogleCloudDialogflowV2ListConversationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +} +}, +"resources": { +"messages": { +"methods": { +"list": { +"description": "", +"flatPath": "v2/projects/{projectsId}/conversations/{conversationsId}/messages", +"httpMethod": "GET", +"id": "dialogflow.projects.conversations.messages.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"location": "query", +"type": "string" +}, +"pageSize": { +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"location": "query", +"type": "string" +}, +"parent": { +"location": "path", +"pattern": "^projects/[^/]+/conversations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+parent}/messages", +"response": { +"$ref": "GoogleCloudDialogflowV2ListMessagesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +} +} +}, +"participants": { +"methods": { +"analyzeContent": { +"description": "", +"flatPath": "v2/projects/{projectsId}/conversations/{conversationsId}/participants/{participantsId}:analyzeContent", +"httpMethod": "POST", +"id": "dialogflow.projects.conversations.participants.analyzeContent", +"parameterOrder": [ +"participant" +], +"parameters": { +"participant": { +"location": "path", +"pattern": "^projects/[^/]+/conversations/[^/]+/participants/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+participant}:analyzeContent", +"request": { +"$ref": "GoogleCloudDialogflowV2AnalyzeContentRequest" +}, +"response": { +"$ref": "GoogleCloudDialogflowV2AnalyzeContentResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"create": { +"description": "", +"flatPath": "v2/projects/{projectsId}/conversations/{conversationsId}/participants", +"httpMethod": "POST", +"id": "dialogflow.projects.conversations.participants.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"location": "path", +"pattern": "^projects/[^/]+/conversations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+parent}/participants", +"request": { +"$ref": "GoogleCloudDialogflowV2Participant" +}, +"response": { +"$ref": "GoogleCloudDialogflowV2Participant" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"get": { +"description": "", +"flatPath": "v2/projects/{projectsId}/conversations/{conversationsId}/participants/{participantsId}", +"httpMethod": "GET", +"id": "dialogflow.projects.conversations.participants.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"location": "path", +"pattern": "^projects/[^/]+/conversations/[^/]+/participants/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+name}", +"response": { +"$ref": "GoogleCloudDialogflowV2Participant" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"list": { +"description": "", +"flatPath": "v2/projects/{projectsId}/conversations/{conversationsId}/participants", +"httpMethod": "GET", +"id": "dialogflow.projects.conversations.participants.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"location": "query", +"type": "string" +}, +"parent": { +"location": "path", +"pattern": "^projects/[^/]+/conversations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+parent}/participants", +"response": { +"$ref": "GoogleCloudDialogflowV2ListParticipantsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"patch": { +"description": "", +"flatPath": "v2/projects/{projectsId}/conversations/{conversationsId}/participants/{participantsId}", +"httpMethod": "PATCH", +"id": "dialogflow.projects.conversations.participants.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"location": "path", +"pattern": "^projects/[^/]+/conversations/[^/]+/participants/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v2/{+name}", +"request": { +"$ref": "GoogleCloudDialogflowV2Participant" +}, +"response": { +"$ref": "GoogleCloudDialogflowV2Participant" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +} +}, +"resources": { +"suggestions": { +"methods": { +"suggestArticles": { +"description": "", +"flatPath": "v2/projects/{projectsId}/conversations/{conversationsId}/participants/{participantsId}/suggestions:suggestArticles", +"httpMethod": "POST", +"id": "dialogflow.projects.conversations.participants.suggestions.suggestArticles", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"location": "path", +"pattern": "^projects/[^/]+/conversations/[^/]+/participants/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+parent}/suggestions:suggestArticles", +"request": { +"$ref": "GoogleCloudDialogflowV2SuggestArticlesRequest" +}, +"response": { +"$ref": "GoogleCloudDialogflowV2SuggestArticlesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"suggestFaqAnswers": { +"description": "", +"flatPath": "v2/projects/{projectsId}/conversations/{conversationsId}/participants/{participantsId}/suggestions:suggestFaqAnswers", +"httpMethod": "POST", +"id": "dialogflow.projects.conversations.participants.suggestions.suggestFaqAnswers", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"location": "path", +"pattern": "^projects/[^/]+/conversations/[^/]+/participants/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+parent}/suggestions:suggestFaqAnswers", +"request": { +"$ref": "GoogleCloudDialogflowV2SuggestFaqAnswersRequest" +}, +"response": { +"$ref": "GoogleCloudDialogflowV2SuggestFaqAnswersResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"suggestKnowledgeAssist": { +"description": "", +"flatPath": "v2/projects/{projectsId}/conversations/{conversationsId}/participants/{participantsId}/suggestions:suggestKnowledgeAssist", +"httpMethod": "POST", +"id": "dialogflow.projects.conversations.participants.suggestions.suggestKnowledgeAssist", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"location": "path", +"pattern": "^projects/[^/]+/conversations/[^/]+/participants/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+parent}/suggestions:suggestKnowledgeAssist", +"request": { +"$ref": "GoogleCloudDialogflowV2SuggestKnowledgeAssistRequest" +}, +"response": { +"$ref": "GoogleCloudDialogflowV2SuggestKnowledgeAssistResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"suggestSmartReplies": { +"description": "", +"flatPath": "v2/projects/{projectsId}/conversations/{conversationsId}/participants/{participantsId}/suggestions:suggestSmartReplies", +"httpMethod": "POST", +"id": "dialogflow.projects.conversations.participants.suggestions.suggestSmartReplies", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"location": "path", +"pattern": "^projects/[^/]+/conversations/[^/]+/participants/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+parent}/suggestions:suggestSmartReplies", +"request": { +"$ref": "GoogleCloudDialogflowV2SuggestSmartRepliesRequest" +}, +"response": { +"$ref": "GoogleCloudDialogflowV2SuggestSmartRepliesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +} +} +} +} +}, +"suggestions": { +"methods": { +"generate": { +"description": "", +"flatPath": "v2/projects/{projectsId}/conversations/{conversationsId}/suggestions:generate", +"httpMethod": "POST", +"id": "dialogflow.projects.conversations.suggestions.generate", +"parameterOrder": [ +"conversation" +], +"parameters": { +"conversation": { +"location": "path", +"pattern": "^projects/[^/]+/conversations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+conversation}/suggestions:generate", +"request": { +"$ref": "GoogleCloudDialogflowV2GenerateSuggestionsRequest" +}, +"response": { +"$ref": "GoogleCloudDialogflowV2GenerateSuggestionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"searchKnowledge": { +"description": "", +"flatPath": "v2/projects/{projectsId}/conversations/{conversationsId}/suggestions:searchKnowledge", +"httpMethod": "POST", +"id": "dialogflow.projects.conversations.suggestions.searchKnowledge", +"parameterOrder": [ +"conversation" +], +"parameters": { +"conversation": { +"location": "path", +"pattern": "^projects/[^/]+/conversations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+conversation}/suggestions:searchKnowledge", +"request": { +"$ref": "GoogleCloudDialogflowV2SearchKnowledgeRequest" +}, +"response": { +"$ref": "GoogleCloudDialogflowV2SearchKnowledgeResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"suggestConversationSummary": { +"description": "", +"flatPath": "v2/projects/{projectsId}/conversations/{conversationsId}/suggestions:suggestConversationSummary", +"httpMethod": "POST", +"id": "dialogflow.projects.conversations.suggestions.suggestConversationSummary", +"parameterOrder": [ +"conversation" +], +"parameters": { +"conversation": { +"location": "path", +"pattern": "^projects/[^/]+/conversations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+conversation}/suggestions:suggestConversationSummary", +"request": { +"$ref": "GoogleCloudDialogflowV2SuggestConversationSummaryRequest" +}, +"response": { +"$ref": "GoogleCloudDialogflowV2SuggestConversationSummaryResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +} +} +} +} +}, +"generators": { +"methods": { +"create": { +"description": "", +"flatPath": "v2/projects/{projectsId}/generators", +"httpMethod": "POST", +"id": "dialogflow.projects.generators.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"generatorId": { +"location": "query", +"type": "string" +}, +"parent": { +"location": "path", +"pattern": "^projects/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+parent}/generators", +"request": { +"$ref": "GoogleCloudDialogflowV2Generator" +}, +"response": { +"$ref": "GoogleCloudDialogflowV2Generator" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"list": { +"description": "", +"flatPath": "v2/projects/{projectsId}/generators", +"httpMethod": "GET", +"id": "dialogflow.projects.generators.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"location": "query", +"type": "string" +}, +"parent": { +"location": "path", +"pattern": "^projects/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+parent}/generators", +"response": { +"$ref": "GoogleCloudDialogflowV2ListGeneratorsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +} +} +}, +"knowledgeBases": { +"methods": { +"create": { +"description": "", +"flatPath": "v2/projects/{projectsId}/knowledgeBases", +"httpMethod": "POST", +"id": "dialogflow.projects.knowledgeBases.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"location": "path", +"pattern": "^projects/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+parent}/knowledgeBases", +"request": { +"$ref": "GoogleCloudDialogflowV2KnowledgeBase" +}, +"response": { +"$ref": "GoogleCloudDialogflowV2KnowledgeBase" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"delete": { +"description": "", +"flatPath": "v2/projects/{projectsId}/knowledgeBases/{knowledgeBasesId}", +"httpMethod": "DELETE", +"id": "dialogflow.projects.knowledgeBases.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"force": { +"location": "query", +"type": "boolean" +}, +"name": { +"location": "path", +"pattern": "^projects/[^/]+/knowledgeBases/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+name}", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"get": { +"description": "", +"flatPath": "v2/projects/{projectsId}/knowledgeBases/{knowledgeBasesId}", +"httpMethod": "GET", +"id": "dialogflow.projects.knowledgeBases.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"location": "path", +"pattern": "^projects/[^/]+/knowledgeBases/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+name}", +"response": { +"$ref": "GoogleCloudDialogflowV2KnowledgeBase" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"list": { +"description": "", +"flatPath": "v2/projects/{projectsId}/knowledgeBases", +"httpMethod": "GET", +"id": "dialogflow.projects.knowledgeBases.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"location": "query", +"type": "string" +}, +"pageSize": { +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"location": "query", +"type": "string" +}, +"parent": { +"location": "path", +"pattern": "^projects/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+parent}/knowledgeBases", +"response": { +"$ref": "GoogleCloudDialogflowV2ListKnowledgeBasesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"patch": { +"description": "", +"flatPath": "v2/projects/{projectsId}/knowledgeBases/{knowledgeBasesId}", +"httpMethod": "PATCH", +"id": "dialogflow.projects.knowledgeBases.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"location": "path", +"pattern": "^projects/[^/]+/knowledgeBases/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v2/{+name}", +"request": { +"$ref": "GoogleCloudDialogflowV2KnowledgeBase" +}, +"response": { +"$ref": "GoogleCloudDialogflowV2KnowledgeBase" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +} +}, +"resources": { +"documents": { +"methods": { +"create": { +"description": "", +"flatPath": "v2/projects/{projectsId}/knowledgeBases/{knowledgeBasesId}/documents", +"httpMethod": "POST", +"id": "dialogflow.projects.knowledgeBases.documents.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"location": "path", +"pattern": "^projects/[^/]+/knowledgeBases/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+parent}/documents", +"request": { +"$ref": "GoogleCloudDialogflowV2Document" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"delete": { +"description": "", +"flatPath": "v2/projects/{projectsId}/knowledgeBases/{knowledgeBasesId}/documents/{documentsId}", +"httpMethod": "DELETE", +"id": "dialogflow.projects.knowledgeBases.documents.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"location": "path", +"pattern": "^projects/[^/]+/knowledgeBases/[^/]+/documents/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+name}", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"export": { +"description": "", +"flatPath": "v2/projects/{projectsId}/knowledgeBases/{knowledgeBasesId}/documents/{documentsId}:export", +"httpMethod": "POST", +"id": "dialogflow.projects.knowledgeBases.documents.export", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"location": "path", +"pattern": "^projects/[^/]+/knowledgeBases/[^/]+/documents/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+name}:export", +"request": { +"$ref": "GoogleCloudDialogflowV2ExportDocumentRequest" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"get": { +"description": "", +"flatPath": "v2/projects/{projectsId}/knowledgeBases/{knowledgeBasesId}/documents/{documentsId}", +"httpMethod": "GET", +"id": "dialogflow.projects.knowledgeBases.documents.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"location": "path", +"pattern": "^projects/[^/]+/knowledgeBases/[^/]+/documents/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+name}", +"response": { +"$ref": "GoogleCloudDialogflowV2Document" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"import": { +"description": "", +"flatPath": "v2/projects/{projectsId}/knowledgeBases/{knowledgeBasesId}/documents:import", +"httpMethod": "POST", +"id": "dialogflow.projects.knowledgeBases.documents.import", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"location": "path", +"pattern": "^projects/[^/]+/knowledgeBases/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+parent}/documents:import", +"request": { +"$ref": "GoogleCloudDialogflowV2ImportDocumentsRequest" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"list": { +"description": "", +"flatPath": "v2/projects/{projectsId}/knowledgeBases/{knowledgeBasesId}/documents", +"httpMethod": "GET", +"id": "dialogflow.projects.knowledgeBases.documents.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"location": "query", +"type": "string" +}, +"pageSize": { +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"location": "query", +"type": "string" +}, +"parent": { +"location": "path", +"pattern": "^projects/[^/]+/knowledgeBases/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+parent}/documents", +"response": { +"$ref": "GoogleCloudDialogflowV2ListDocumentsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"patch": { +"description": "", +"flatPath": "v2/projects/{projectsId}/knowledgeBases/{knowledgeBasesId}/documents/{documentsId}", +"httpMethod": "PATCH", +"id": "dialogflow.projects.knowledgeBases.documents.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"location": "path", +"pattern": "^projects/[^/]+/knowledgeBases/[^/]+/documents/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v2/{+name}", +"request": { +"$ref": "GoogleCloudDialogflowV2Document" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"reload": { +"description": "", +"flatPath": "v2/projects/{projectsId}/knowledgeBases/{knowledgeBasesId}/documents/{documentsId}:reload", +"httpMethod": "POST", +"id": "dialogflow.projects.knowledgeBases.documents.reload", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"location": "path", +"pattern": "^projects/[^/]+/knowledgeBases/[^/]+/documents/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+name}:reload", +"request": { +"$ref": "GoogleCloudDialogflowV2ReloadDocumentRequest" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +} +} +} +} +}, +"locations": { +"methods": { +"deleteAgent": { +"description": "", +"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/agent", +"httpMethod": "DELETE", +"id": "dialogflow.projects.locations.deleteAgent", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+parent}/agent", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"get": { +"description": "", +"flatPath": "v2/projects/{projectsId}/locations/{locationsId}", +"httpMethod": "GET", +"id": "dialogflow.projects.locations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+name}", +"response": { +"$ref": "GoogleCloudLocationLocation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"getAgent": { +"description": "", +"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/agent", +"httpMethod": "GET", +"id": "dialogflow.projects.locations.getAgent", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+parent}/agent", +"response": { +"$ref": "GoogleCloudDialogflowV2Agent" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"getEncryptionSpec": { +"description": "", +"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/encryptionSpec", +"httpMethod": "GET", +"id": "dialogflow.projects.locations.getEncryptionSpec", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/encryptionSpec$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+name}", +"response": { +"$ref": "GoogleCloudDialogflowV2EncryptionSpec" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"list": { +"description": "", +"flatPath": "v2/projects/{projectsId}/locations", +"httpMethod": "GET", +"id": "dialogflow.projects.locations.list", +"parameterOrder": [ +"name" +], +"parameters": { +"extraLocationTypes": { +"location": "query", +"repeated": true, +"type": "string" +}, +"filter": { +"location": "query", +"type": "string" +}, +"name": { +"location": "path", +"pattern": "^projects/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"location": "query", +"type": "string" +} +}, +"path": "v2/{+name}/locations", +"response": { +"$ref": "GoogleCloudLocationListLocationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"setAgent": { +"description": "", +"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/agent", +"httpMethod": "POST", +"id": "dialogflow.projects.locations.setAgent", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v2/{+parent}/agent", +"request": { +"$ref": "GoogleCloudDialogflowV2Agent" +}, +"response": { +"$ref": "GoogleCloudDialogflowV2Agent" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +} +}, +"resources": { +"agent": { +"methods": { +"export": { +"description": "", +"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/agent:export", +"httpMethod": "POST", +"id": "dialogflow.projects.locations.agent.export", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+parent}/agent:export", +"request": { +"$ref": "GoogleCloudDialogflowV2ExportAgentRequest" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"getFulfillment": { +"description": "", +"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/agent/fulfillment", +"httpMethod": "GET", +"id": "dialogflow.projects.locations.agent.getFulfillment", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agent/fulfillment$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+name}", +"response": { +"$ref": "GoogleCloudDialogflowV2Fulfillment" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"getValidationResult": { +"description": "", +"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/agent/validationResult", +"httpMethod": "GET", +"id": "dialogflow.projects.locations.agent.getValidationResult", +"parameterOrder": [ +"parent" +], +"parameters": { +"languageCode": { +"location": "query", +"type": "string" +}, +"parent": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+parent}/agent/validationResult", +"response": { +"$ref": "GoogleCloudDialogflowV2ValidationResult" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"import": { +"description": "", +"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/agent:import", +"httpMethod": "POST", +"id": "dialogflow.projects.locations.agent.import", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+parent}/agent:import", +"request": { +"$ref": "GoogleCloudDialogflowV2ImportAgentRequest" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"restore": { +"description": "", +"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/agent:restore", +"httpMethod": "POST", +"id": "dialogflow.projects.locations.agent.restore", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+parent}/agent:restore", +"request": { +"$ref": "GoogleCloudDialogflowV2RestoreAgentRequest" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"search": { +"description": "", +"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/agent:search", +"httpMethod": "GET", +"id": "dialogflow.projects.locations.agent.search", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"location": "query", +"type": "string" +}, +"parent": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+parent}/agent:search", +"response": { +"$ref": "GoogleCloudDialogflowV2SearchAgentsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"train": { +"description": "", +"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/agent:train", +"httpMethod": "POST", +"id": "dialogflow.projects.locations.agent.train", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+parent}/agent:train", +"request": { +"$ref": "GoogleCloudDialogflowV2TrainAgentRequest" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"updateFulfillment": { +"description": "", +"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/agent/fulfillment", +"httpMethod": "PATCH", +"id": "dialogflow.projects.locations.agent.updateFulfillment", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agent/fulfillment$", +"required": true, +"type": "string" +}, +"updateMask": { +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v2/{+name}", +"request": { +"$ref": "GoogleCloudDialogflowV2Fulfillment" +}, +"response": { +"$ref": "GoogleCloudDialogflowV2Fulfillment" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +} +}, +"resources": { +"entityTypes": { +"methods": { +"batchDelete": { +"description": "", +"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/agent/entityTypes:batchDelete", +"httpMethod": "POST", +"id": "dialogflow.projects.locations.agent.entityTypes.batchDelete", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agent$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+parent}/entityTypes:batchDelete", +"request": { +"$ref": "GoogleCloudDialogflowV2BatchDeleteEntityTypesRequest" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"batchUpdate": { +"description": "", +"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/agent/entityTypes:batchUpdate", +"httpMethod": "POST", +"id": "dialogflow.projects.locations.agent.entityTypes.batchUpdate", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agent$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+parent}/entityTypes:batchUpdate", +"request": { +"$ref": "GoogleCloudDialogflowV2BatchUpdateEntityTypesRequest" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"create": { +"description": "", +"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/agent/entityTypes", +"httpMethod": "POST", +"id": "dialogflow.projects.locations.agent.entityTypes.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"languageCode": { +"location": "query", +"type": "string" +}, +"parent": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agent$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+parent}/entityTypes", +"request": { +"$ref": "GoogleCloudDialogflowV2EntityType" +}, +"response": { +"$ref": "GoogleCloudDialogflowV2EntityType" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"delete": { +"description": "", +"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/agent/entityTypes/{entityTypesId}", +"httpMethod": "DELETE", +"id": "dialogflow.projects.locations.agent.entityTypes.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agent/entityTypes/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+name}", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"get": { +"description": "", +"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/agent/entityTypes/{entityTypesId}", +"httpMethod": "GET", +"id": "dialogflow.projects.locations.agent.entityTypes.get", +"parameterOrder": [ +"name" +], +"parameters": { +"languageCode": { +"location": "query", +"type": "string" +}, +"name": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agent/entityTypes/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+name}", +"response": { +"$ref": "GoogleCloudDialogflowV2EntityType" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"list": { +"description": "", +"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/agent/entityTypes", +"httpMethod": "GET", +"id": "dialogflow.projects.locations.agent.entityTypes.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"languageCode": { +"location": "query", +"type": "string" +}, +"pageSize": { +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"location": "query", +"type": "string" +}, +"parent": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agent$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+parent}/entityTypes", +"response": { +"$ref": "GoogleCloudDialogflowV2ListEntityTypesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"patch": { +"description": "", +"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/agent/entityTypes/{entityTypesId}", +"httpMethod": "PATCH", +"id": "dialogflow.projects.locations.agent.entityTypes.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"languageCode": { +"location": "query", +"type": "string" +}, +"name": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agent/entityTypes/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v2/{+name}", +"request": { +"$ref": "GoogleCloudDialogflowV2EntityType" +}, +"response": { +"$ref": "GoogleCloudDialogflowV2EntityType" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +} +}, +"resources": { +"entities": { +"methods": { +"batchCreate": { +"description": "", +"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/agent/entityTypes/{entityTypesId}/entities:batchCreate", +"httpMethod": "POST", +"id": "dialogflow.projects.locations.agent.entityTypes.entities.batchCreate", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agent/entityTypes/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+parent}/entities:batchCreate", +"request": { +"$ref": "GoogleCloudDialogflowV2BatchCreateEntitiesRequest" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"batchDelete": { +"description": "", +"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/agent/entityTypes/{entityTypesId}/entities:batchDelete", +"httpMethod": "POST", +"id": "dialogflow.projects.locations.agent.entityTypes.entities.batchDelete", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agent/entityTypes/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+parent}/entities:batchDelete", +"request": { +"$ref": "GoogleCloudDialogflowV2BatchDeleteEntitiesRequest" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"batchUpdate": { +"description": "", +"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/agent/entityTypes/{entityTypesId}/entities:batchUpdate", +"httpMethod": "POST", +"id": "dialogflow.projects.locations.agent.entityTypes.entities.batchUpdate", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agent/entityTypes/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+parent}/entities:batchUpdate", +"request": { +"$ref": "GoogleCloudDialogflowV2BatchUpdateEntitiesRequest" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +} +} +} +} +}, +"environments": { +"methods": { +"create": { +"description": "", +"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/agent/environments", +"httpMethod": "POST", +"id": "dialogflow.projects.locations.agent.environments.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"environmentId": { +"location": "query", +"type": "string" +}, +"parent": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agent$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+parent}/environments", +"request": { +"$ref": "GoogleCloudDialogflowV2Environment" +}, +"response": { +"$ref": "GoogleCloudDialogflowV2Environment" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"delete": { +"description": "", +"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/agent/environments/{environmentsId}", +"httpMethod": "DELETE", +"id": "dialogflow.projects.locations.agent.environments.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agent/environments/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+name}", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"get": { +"description": "", +"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/agent/environments/{environmentsId}", +"httpMethod": "GET", +"id": "dialogflow.projects.locations.agent.environments.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agent/environments/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+name}", +"response": { +"$ref": "GoogleCloudDialogflowV2Environment" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"getHistory": { +"description": "", +"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/agent/environments/{environmentsId}/history", +"httpMethod": "GET", +"id": "dialogflow.projects.locations.agent.environments.getHistory", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"location": "query", +"type": "string" +}, +"parent": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agent/environments/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+parent}/history", +"response": { +"$ref": "GoogleCloudDialogflowV2EnvironmentHistory" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"list": { +"description": "", +"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/agent/environments", +"httpMethod": "GET", +"id": "dialogflow.projects.locations.agent.environments.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"location": "query", +"type": "string" +}, +"parent": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agent$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+parent}/environments", +"response": { +"$ref": "GoogleCloudDialogflowV2ListEnvironmentsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"patch": { +"description": "", +"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/agent/environments/{environmentsId}", +"httpMethod": "PATCH", +"id": "dialogflow.projects.locations.agent.environments.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"allowLoadToDraftAndDiscardChanges": { +"location": "query", +"type": "boolean" +}, +"name": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agent/environments/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v2/{+name}", +"request": { +"$ref": "GoogleCloudDialogflowV2Environment" +}, +"response": { +"$ref": "GoogleCloudDialogflowV2Environment" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +} +}, +"resources": { +"intents": { +"methods": { +"list": { +"description": "", +"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/agent/environments/{environmentsId}/intents", +"httpMethod": "GET", +"id": "dialogflow.projects.locations.agent.environments.intents.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"intentView": { +"enum": [ +"INTENT_VIEW_UNSPECIFIED", +"INTENT_VIEW_FULL" +], +"enumDescriptions": [ +"", +"" +], +"location": "query", +"type": "string" +}, +"languageCode": { +"location": "query", +"type": "string" +}, +"pageSize": { +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"location": "query", +"type": "string" +}, +"parent": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agent/environments/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+parent}/intents", +"response": { +"$ref": "GoogleCloudDialogflowV2ListIntentsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +} +} +}, +"users": { +"resources": { +"sessions": { +"methods": { +"deleteContexts": { +"description": "", +"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/agent/environments/{environmentsId}/users/{usersId}/sessions/{sessionsId}/contexts", +"httpMethod": "DELETE", +"id": "dialogflow.projects.locations.agent.environments.users.sessions.deleteContexts", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agent/environments/[^/]+/users/[^/]+/sessions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+parent}/contexts", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"detectIntent": { +"description": "", +"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/agent/environments/{environmentsId}/users/{usersId}/sessions/{sessionsId}:detectIntent", +"httpMethod": "POST", +"id": "dialogflow.projects.locations.agent.environments.users.sessions.detectIntent", +"parameterOrder": [ +"session" +], +"parameters": { +"session": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agent/environments/[^/]+/users/[^/]+/sessions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+session}:detectIntent", +"request": { +"$ref": "GoogleCloudDialogflowV2DetectIntentRequest" +}, +"response": { +"$ref": "GoogleCloudDialogflowV2DetectIntentResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +} +}, +"resources": { +"contexts": { +"methods": { +"create": { +"description": "", +"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/agent/environments/{environmentsId}/users/{usersId}/sessions/{sessionsId}/contexts", +"httpMethod": "POST", +"id": "dialogflow.projects.locations.agent.environments.users.sessions.contexts.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agent/environments/[^/]+/users/[^/]+/sessions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+parent}/contexts", +"request": { +"$ref": "GoogleCloudDialogflowV2Context" +}, +"response": { +"$ref": "GoogleCloudDialogflowV2Context" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"delete": { +"description": "", +"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/agent/environments/{environmentsId}/users/{usersId}/sessions/{sessionsId}/contexts/{contextsId}", +"httpMethod": "DELETE", +"id": "dialogflow.projects.locations.agent.environments.users.sessions.contexts.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agent/environments/[^/]+/users/[^/]+/sessions/[^/]+/contexts/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+name}", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"get": { +"description": "", +"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/agent/environments/{environmentsId}/users/{usersId}/sessions/{sessionsId}/contexts/{contextsId}", +"httpMethod": "GET", +"id": "dialogflow.projects.locations.agent.environments.users.sessions.contexts.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agent/environments/[^/]+/users/[^/]+/sessions/[^/]+/contexts/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+name}", +"response": { +"$ref": "GoogleCloudDialogflowV2Context" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"list": { +"description": "", +"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/agent/environments/{environmentsId}/users/{usersId}/sessions/{sessionsId}/contexts", +"httpMethod": "GET", +"id": "dialogflow.projects.locations.agent.environments.users.sessions.contexts.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"location": "query", +"type": "string" +}, +"parent": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agent/environments/[^/]+/users/[^/]+/sessions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+parent}/contexts", +"response": { +"$ref": "GoogleCloudDialogflowV2ListContextsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"patch": { +"description": "", +"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/agent/environments/{environmentsId}/users/{usersId}/sessions/{sessionsId}/contexts/{contextsId}", +"httpMethod": "PATCH", +"id": "dialogflow.projects.locations.agent.environments.users.sessions.contexts.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agent/environments/[^/]+/users/[^/]+/sessions/[^/]+/contexts/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v2/{+name}", +"request": { +"$ref": "GoogleCloudDialogflowV2Context" +}, +"response": { +"$ref": "GoogleCloudDialogflowV2Context" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +} +} +}, +"entityTypes": { +"methods": { +"create": { +"description": "", +"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/agent/environments/{environmentsId}/users/{usersId}/sessions/{sessionsId}/entityTypes", +"httpMethod": "POST", +"id": "dialogflow.projects.locations.agent.environments.users.sessions.entityTypes.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agent/environments/[^/]+/users/[^/]+/sessions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+parent}/entityTypes", +"request": { +"$ref": "GoogleCloudDialogflowV2SessionEntityType" +}, +"response": { +"$ref": "GoogleCloudDialogflowV2SessionEntityType" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"delete": { +"description": "", +"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/agent/environments/{environmentsId}/users/{usersId}/sessions/{sessionsId}/entityTypes/{entityTypesId}", +"httpMethod": "DELETE", +"id": "dialogflow.projects.locations.agent.environments.users.sessions.entityTypes.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agent/environments/[^/]+/users/[^/]+/sessions/[^/]+/entityTypes/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+name}", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"get": { +"description": "", +"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/agent/environments/{environmentsId}/users/{usersId}/sessions/{sessionsId}/entityTypes/{entityTypesId}", +"httpMethod": "GET", +"id": "dialogflow.projects.locations.agent.environments.users.sessions.entityTypes.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agent/environments/[^/]+/users/[^/]+/sessions/[^/]+/entityTypes/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+name}", +"response": { +"$ref": "GoogleCloudDialogflowV2SessionEntityType" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"list": { +"description": "", +"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/agent/environments/{environmentsId}/users/{usersId}/sessions/{sessionsId}/entityTypes", +"httpMethod": "GET", +"id": "dialogflow.projects.locations.agent.environments.users.sessions.entityTypes.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"location": "query", +"type": "string" +}, +"parent": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agent/environments/[^/]+/users/[^/]+/sessions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+parent}/entityTypes", +"response": { +"$ref": "GoogleCloudDialogflowV2ListSessionEntityTypesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"patch": { +"description": "", +"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/agent/environments/{environmentsId}/users/{usersId}/sessions/{sessionsId}/entityTypes/{entityTypesId}", +"httpMethod": "PATCH", +"id": "dialogflow.projects.locations.agent.environments.users.sessions.entityTypes.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agent/environments/[^/]+/users/[^/]+/sessions/[^/]+/entityTypes/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v2/{+name}", +"request": { +"$ref": "GoogleCloudDialogflowV2SessionEntityType" +}, +"response": { +"$ref": "GoogleCloudDialogflowV2SessionEntityType" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +} +} +} +} +} +} +} +} +}, +"intents": { +"methods": { +"batchDelete": { +"description": "", +"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/agent/intents:batchDelete", +"httpMethod": "POST", +"id": "dialogflow.projects.locations.agent.intents.batchDelete", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agent$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+parent}/intents:batchDelete", +"request": { +"$ref": "GoogleCloudDialogflowV2BatchDeleteIntentsRequest" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"batchUpdate": { +"description": "", +"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/agent/intents:batchUpdate", +"httpMethod": "POST", +"id": "dialogflow.projects.locations.agent.intents.batchUpdate", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agent$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+parent}/intents:batchUpdate", +"request": { +"$ref": "GoogleCloudDialogflowV2BatchUpdateIntentsRequest" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"create": { +"description": "", +"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/agent/intents", +"httpMethod": "POST", +"id": "dialogflow.projects.locations.agent.intents.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"intentView": { +"enum": [ +"INTENT_VIEW_UNSPECIFIED", +"INTENT_VIEW_FULL" +], +"enumDescriptions": [ +"", +"" +], +"location": "query", +"type": "string" +}, +"languageCode": { +"location": "query", +"type": "string" +}, +"parent": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agent$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+parent}/intents", +"request": { +"$ref": "GoogleCloudDialogflowV2Intent" +}, +"response": { +"$ref": "GoogleCloudDialogflowV2Intent" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"delete": { +"description": "", +"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/agent/intents/{intentsId}", +"httpMethod": "DELETE", +"id": "dialogflow.projects.locations.agent.intents.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agent/intents/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+name}", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"get": { +"description": "", +"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/agent/intents/{intentsId}", +"httpMethod": "GET", +"id": "dialogflow.projects.locations.agent.intents.get", +"parameterOrder": [ +"name" +], +"parameters": { +"intentView": { +"enum": [ +"INTENT_VIEW_UNSPECIFIED", +"INTENT_VIEW_FULL" +], +"enumDescriptions": [ +"", +"" +], +"location": "query", +"type": "string" +}, +"languageCode": { +"location": "query", +"type": "string" +}, +"name": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agent/intents/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+name}", +"response": { +"$ref": "GoogleCloudDialogflowV2Intent" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"list": { +"description": "", +"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/agent/intents", +"httpMethod": "GET", +"id": "dialogflow.projects.locations.agent.intents.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"intentView": { +"enum": [ +"INTENT_VIEW_UNSPECIFIED", +"INTENT_VIEW_FULL" +], +"enumDescriptions": [ +"", +"" +], +"location": "query", +"type": "string" +}, +"languageCode": { +"location": "query", +"type": "string" +}, +"pageSize": { +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"location": "query", +"type": "string" +}, +"parent": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agent$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+parent}/intents", +"response": { +"$ref": "GoogleCloudDialogflowV2ListIntentsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"patch": { +"description": "", +"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/agent/intents/{intentsId}", +"httpMethod": "PATCH", +"id": "dialogflow.projects.locations.agent.intents.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"intentView": { +"enum": [ +"INTENT_VIEW_UNSPECIFIED", +"INTENT_VIEW_FULL" +], +"enumDescriptions": [ +"", +"" +], +"location": "query", +"type": "string" +}, +"languageCode": { +"location": "query", +"type": "string" +}, +"name": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agent/intents/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v2/{+name}", +"request": { +"$ref": "GoogleCloudDialogflowV2Intent" +}, +"response": { +"$ref": "GoogleCloudDialogflowV2Intent" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +} +} +}, +"sessions": { +"methods": { +"deleteContexts": { +"description": "", +"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/agent/sessions/{sessionsId}/contexts", +"httpMethod": "DELETE", +"id": "dialogflow.projects.locations.agent.sessions.deleteContexts", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agent/sessions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+parent}/contexts", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"detectIntent": { +"description": "", +"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/agent/sessions/{sessionsId}:detectIntent", +"httpMethod": "POST", +"id": "dialogflow.projects.locations.agent.sessions.detectIntent", +"parameterOrder": [ +"session" +], +"parameters": { +"session": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agent/sessions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+session}:detectIntent", +"request": { +"$ref": "GoogleCloudDialogflowV2DetectIntentRequest" +}, +"response": { +"$ref": "GoogleCloudDialogflowV2DetectIntentResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +} +}, +"resources": { +"contexts": { +"methods": { +"create": { +"description": "", +"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/agent/sessions/{sessionsId}/contexts", +"httpMethod": "POST", +"id": "dialogflow.projects.locations.agent.sessions.contexts.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agent/sessions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+parent}/contexts", +"request": { +"$ref": "GoogleCloudDialogflowV2Context" +}, +"response": { +"$ref": "GoogleCloudDialogflowV2Context" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"delete": { +"description": "", +"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/agent/sessions/{sessionsId}/contexts/{contextsId}", +"httpMethod": "DELETE", +"id": "dialogflow.projects.locations.agent.sessions.contexts.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agent/sessions/[^/]+/contexts/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+name}", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"get": { +"description": "", +"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/agent/sessions/{sessionsId}/contexts/{contextsId}", +"httpMethod": "GET", +"id": "dialogflow.projects.locations.agent.sessions.contexts.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agent/sessions/[^/]+/contexts/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+name}", +"response": { +"$ref": "GoogleCloudDialogflowV2Context" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"list": { +"description": "", +"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/agent/sessions/{sessionsId}/contexts", +"httpMethod": "GET", +"id": "dialogflow.projects.locations.agent.sessions.contexts.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"location": "query", +"type": "string" +}, +"parent": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agent/sessions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+parent}/contexts", +"response": { +"$ref": "GoogleCloudDialogflowV2ListContextsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"patch": { +"description": "", +"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/agent/sessions/{sessionsId}/contexts/{contextsId}", +"httpMethod": "PATCH", +"id": "dialogflow.projects.locations.agent.sessions.contexts.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agent/sessions/[^/]+/contexts/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v2/{+name}", +"request": { +"$ref": "GoogleCloudDialogflowV2Context" +}, +"response": { +"$ref": "GoogleCloudDialogflowV2Context" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +} +} +}, +"entityTypes": { +"methods": { +"create": { +"description": "", +"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/agent/sessions/{sessionsId}/entityTypes", +"httpMethod": "POST", +"id": "dialogflow.projects.locations.agent.sessions.entityTypes.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agent/sessions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+parent}/entityTypes", +"request": { +"$ref": "GoogleCloudDialogflowV2SessionEntityType" +}, +"response": { +"$ref": "GoogleCloudDialogflowV2SessionEntityType" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"delete": { +"description": "", +"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/agent/sessions/{sessionsId}/entityTypes/{entityTypesId}", +"httpMethod": "DELETE", +"id": "dialogflow.projects.locations.agent.sessions.entityTypes.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agent/sessions/[^/]+/entityTypes/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+name}", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"get": { +"description": "", +"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/agent/sessions/{sessionsId}/entityTypes/{entityTypesId}", +"httpMethod": "GET", +"id": "dialogflow.projects.locations.agent.sessions.entityTypes.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agent/sessions/[^/]+/entityTypes/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+name}", +"response": { +"$ref": "GoogleCloudDialogflowV2SessionEntityType" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"list": { +"description": "", +"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/agent/sessions/{sessionsId}/entityTypes", +"httpMethod": "GET", +"id": "dialogflow.projects.locations.agent.sessions.entityTypes.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"location": "query", +"type": "string" +}, +"parent": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agent/sessions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+parent}/entityTypes", +"response": { +"$ref": "GoogleCloudDialogflowV2ListSessionEntityTypesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"patch": { +"description": "", +"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/agent/sessions/{sessionsId}/entityTypes/{entityTypesId}", +"httpMethod": "PATCH", +"id": "dialogflow.projects.locations.agent.sessions.entityTypes.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agent/sessions/[^/]+/entityTypes/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v2/{+name}", +"request": { +"$ref": "GoogleCloudDialogflowV2SessionEntityType" +}, +"response": { +"$ref": "GoogleCloudDialogflowV2SessionEntityType" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +} +} +} +} +}, +"versions": { +"methods": { +"create": { +"description": "", +"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/agent/versions", +"httpMethod": "POST", +"id": "dialogflow.projects.locations.agent.versions.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agent$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+parent}/versions", +"request": { +"$ref": "GoogleCloudDialogflowV2Version" +}, +"response": { +"$ref": "GoogleCloudDialogflowV2Version" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"delete": { +"description": "", +"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/agent/versions/{versionsId}", +"httpMethod": "DELETE", +"id": "dialogflow.projects.locations.agent.versions.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agent/versions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+name}", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"get": { +"description": "", +"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/agent/versions/{versionsId}", +"httpMethod": "GET", +"id": "dialogflow.projects.locations.agent.versions.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agent/versions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+name}", +"response": { +"$ref": "GoogleCloudDialogflowV2Version" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"list": { +"description": "", +"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/agent/versions", +"httpMethod": "GET", +"id": "dialogflow.projects.locations.agent.versions.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"location": "query", +"type": "string" +}, +"parent": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agent$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+parent}/versions", +"response": { +"$ref": "GoogleCloudDialogflowV2ListVersionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"patch": { +"description": "", +"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/agent/versions/{versionsId}", +"httpMethod": "PATCH", +"id": "dialogflow.projects.locations.agent.versions.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agent/versions/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v2/{+name}", +"request": { +"$ref": "GoogleCloudDialogflowV2Version" +}, +"response": { +"$ref": "GoogleCloudDialogflowV2Version" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +} +} +} +} +}, +"answerRecords": { +"methods": { +"list": { +"description": "", +"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/answerRecords", +"httpMethod": "GET", +"id": "dialogflow.projects.locations.answerRecords.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"location": "query", +"type": "string" +}, +"pageSize": { +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"location": "query", +"type": "string" +}, +"parent": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+parent}/answerRecords", +"response": { +"$ref": "GoogleCloudDialogflowV2ListAnswerRecordsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"patch": { +"description": "", +"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/answerRecords/{answerRecordsId}", +"httpMethod": "PATCH", +"id": "dialogflow.projects.locations.answerRecords.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/answerRecords/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v2/{+name}", +"request": { +"$ref": "GoogleCloudDialogflowV2AnswerRecord" +}, +"response": { +"$ref": "GoogleCloudDialogflowV2AnswerRecord" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +} +} +}, +"conversationDatasets": { +"methods": { +"create": { +"description": "", +"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/conversationDatasets", +"httpMethod": "POST", +"id": "dialogflow.projects.locations.conversationDatasets.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+parent}/conversationDatasets", +"request": { +"$ref": "GoogleCloudDialogflowV2ConversationDataset" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"delete": { +"description": "", +"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/conversationDatasets/{conversationDatasetsId}", +"httpMethod": "DELETE", +"id": "dialogflow.projects.locations.conversationDatasets.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/conversationDatasets/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+name}", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"get": { +"description": "", +"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/conversationDatasets/{conversationDatasetsId}", +"httpMethod": "GET", +"id": "dialogflow.projects.locations.conversationDatasets.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/conversationDatasets/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+name}", +"response": { +"$ref": "GoogleCloudDialogflowV2ConversationDataset" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"importConversationData": { +"description": "", +"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/conversationDatasets/{conversationDatasetsId}:importConversationData", +"httpMethod": "POST", +"id": "dialogflow.projects.locations.conversationDatasets.importConversationData", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/conversationDatasets/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+name}:importConversationData", +"request": { +"$ref": "GoogleCloudDialogflowV2ImportConversationDataRequest" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"list": { +"description": "", +"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/conversationDatasets", +"httpMethod": "GET", +"id": "dialogflow.projects.locations.conversationDatasets.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"location": "query", +"type": "string" +}, +"parent": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+parent}/conversationDatasets", +"response": { +"$ref": "GoogleCloudDialogflowV2ListConversationDatasetsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +} +} +}, +"conversationModels": { +"methods": { +"create": { +"description": "", +"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/conversationModels", +"httpMethod": "POST", +"id": "dialogflow.projects.locations.conversationModels.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+parent}/conversationModels", +"request": { +"$ref": "GoogleCloudDialogflowV2ConversationModel" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"delete": { +"description": "", +"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/conversationModels/{conversationModelsId}", +"httpMethod": "DELETE", +"id": "dialogflow.projects.locations.conversationModels.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/conversationModels/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+name}", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"deploy": { +"description": "", +"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/conversationModels/{conversationModelsId}:deploy", +"httpMethod": "POST", +"id": "dialogflow.projects.locations.conversationModels.deploy", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/conversationModels/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+name}:deploy", +"request": { +"$ref": "GoogleCloudDialogflowV2DeployConversationModelRequest" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"get": { +"description": "", +"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/conversationModels/{conversationModelsId}", +"httpMethod": "GET", +"id": "dialogflow.projects.locations.conversationModels.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/conversationModels/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+name}", +"response": { +"$ref": "GoogleCloudDialogflowV2ConversationModel" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"list": { +"description": "", +"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/conversationModels", +"httpMethod": "GET", +"id": "dialogflow.projects.locations.conversationModels.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"location": "query", +"type": "string" +}, +"parent": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+parent}/conversationModels", +"response": { +"$ref": "GoogleCloudDialogflowV2ListConversationModelsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"undeploy": { +"description": "", +"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/conversationModels/{conversationModelsId}:undeploy", +"httpMethod": "POST", +"id": "dialogflow.projects.locations.conversationModels.undeploy", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/conversationModels/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+name}:undeploy", +"request": { +"$ref": "GoogleCloudDialogflowV2UndeployConversationModelRequest" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +} +}, +"resources": { +"evaluations": { +"methods": { +"create": { +"description": "", +"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/conversationModels/{conversationModelsId}/evaluations", +"httpMethod": "POST", +"id": "dialogflow.projects.locations.conversationModels.evaluations.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/conversationModels/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+parent}/evaluations", +"request": { +"$ref": "GoogleCloudDialogflowV2CreateConversationModelEvaluationRequest" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"get": { +"description": "", +"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/conversationModels/{conversationModelsId}/evaluations/{evaluationsId}", +"httpMethod": "GET", +"id": "dialogflow.projects.locations.conversationModels.evaluations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/conversationModels/[^/]+/evaluations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+name}", +"response": { +"$ref": "GoogleCloudDialogflowV2ConversationModelEvaluation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"list": { +"description": "", +"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/conversationModels/{conversationModelsId}/evaluations", +"httpMethod": "GET", +"id": "dialogflow.projects.locations.conversationModels.evaluations.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"location": "query", +"type": "string" +}, +"parent": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/conversationModels/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+parent}/evaluations", +"response": { +"$ref": "GoogleCloudDialogflowV2ListConversationModelEvaluationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +} +} +} +} +}, +"conversationProfiles": { +"methods": { +"clearSuggestionFeatureConfig": { +"description": "", +"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/conversationProfiles/{conversationProfilesId}:clearSuggestionFeatureConfig", +"httpMethod": "POST", +"id": "dialogflow.projects.locations.conversationProfiles.clearSuggestionFeatureConfig", +"parameterOrder": [ +"conversationProfile" +], +"parameters": { +"conversationProfile": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/conversationProfiles/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+conversationProfile}:clearSuggestionFeatureConfig", +"request": { +"$ref": "GoogleCloudDialogflowV2ClearSuggestionFeatureConfigRequest" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"create": { +"description": "", +"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/conversationProfiles", +"httpMethod": "POST", +"id": "dialogflow.projects.locations.conversationProfiles.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+parent}/conversationProfiles", +"request": { +"$ref": "GoogleCloudDialogflowV2ConversationProfile" +}, +"response": { +"$ref": "GoogleCloudDialogflowV2ConversationProfile" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"delete": { +"description": "", +"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/conversationProfiles/{conversationProfilesId}", +"httpMethod": "DELETE", +"id": "dialogflow.projects.locations.conversationProfiles.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/conversationProfiles/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+name}", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"get": { +"description": "", +"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/conversationProfiles/{conversationProfilesId}", +"httpMethod": "GET", +"id": "dialogflow.projects.locations.conversationProfiles.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/conversationProfiles/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+name}", +"response": { +"$ref": "GoogleCloudDialogflowV2ConversationProfile" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"list": { +"description": "", +"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/conversationProfiles", +"httpMethod": "GET", +"id": "dialogflow.projects.locations.conversationProfiles.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"location": "query", +"type": "string" +}, +"parent": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+parent}/conversationProfiles", +"response": { +"$ref": "GoogleCloudDialogflowV2ListConversationProfilesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"patch": { +"description": "", +"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/conversationProfiles/{conversationProfilesId}", +"httpMethod": "PATCH", +"id": "dialogflow.projects.locations.conversationProfiles.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/conversationProfiles/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v2/{+name}", +"request": { +"$ref": "GoogleCloudDialogflowV2ConversationProfile" +}, +"response": { +"$ref": "GoogleCloudDialogflowV2ConversationProfile" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"setSuggestionFeatureConfig": { +"description": "", +"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/conversationProfiles/{conversationProfilesId}:setSuggestionFeatureConfig", +"httpMethod": "POST", +"id": "dialogflow.projects.locations.conversationProfiles.setSuggestionFeatureConfig", +"parameterOrder": [ +"conversationProfile" +], +"parameters": { +"conversationProfile": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/conversationProfiles/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+conversationProfile}:setSuggestionFeatureConfig", +"request": { +"$ref": "GoogleCloudDialogflowV2SetSuggestionFeatureConfigRequest" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +} +} +}, +"conversations": { +"methods": { +"complete": { +"description": "", +"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/conversations/{conversationsId}:complete", +"httpMethod": "POST", +"id": "dialogflow.projects.locations.conversations.complete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/conversations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+name}:complete", +"request": { +"$ref": "GoogleCloudDialogflowV2CompleteConversationRequest" +}, +"response": { +"$ref": "GoogleCloudDialogflowV2Conversation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"create": { +"description": "", +"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/conversations", +"httpMethod": "POST", +"id": "dialogflow.projects.locations.conversations.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"conversationId": { +"location": "query", +"type": "string" +}, +"parent": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+parent}/conversations", +"request": { +"$ref": "GoogleCloudDialogflowV2Conversation" +}, +"response": { +"$ref": "GoogleCloudDialogflowV2Conversation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"get": { +"description": "", +"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/conversations/{conversationsId}", +"httpMethod": "GET", +"id": "dialogflow.projects.locations.conversations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/conversations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+name}", +"response": { +"$ref": "GoogleCloudDialogflowV2Conversation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"ingestContextReferences": { +"description": "", +"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/conversations/{conversationsId}:ingestContextReferences", +"httpMethod": "POST", +"id": "dialogflow.projects.locations.conversations.ingestContextReferences", +"parameterOrder": [ +"conversation" +], +"parameters": { +"conversation": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/conversations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+conversation}:ingestContextReferences", +"request": { +"$ref": "GoogleCloudDialogflowV2IngestContextReferencesRequest" +}, +"response": { +"$ref": "GoogleCloudDialogflowV2IngestContextReferencesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"list": { +"description": "", +"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/conversations", +"httpMethod": "GET", +"id": "dialogflow.projects.locations.conversations.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"location": "query", +"type": "string" +}, +"pageSize": { +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"location": "query", +"type": "string" +}, +"parent": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+parent}/conversations", +"response": { +"$ref": "GoogleCloudDialogflowV2ListConversationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +} +}, +"resources": { +"messages": { +"methods": { +"list": { +"description": "", +"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/conversations/{conversationsId}/messages", +"httpMethod": "GET", +"id": "dialogflow.projects.locations.conversations.messages.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"location": "query", +"type": "string" +}, +"pageSize": { +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"location": "query", +"type": "string" +}, +"parent": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/conversations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+parent}/messages", +"response": { +"$ref": "GoogleCloudDialogflowV2ListMessagesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +} +} +}, +"participants": { +"methods": { +"analyzeContent": { +"description": "", +"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/conversations/{conversationsId}/participants/{participantsId}:analyzeContent", +"httpMethod": "POST", +"id": "dialogflow.projects.locations.conversations.participants.analyzeContent", +"parameterOrder": [ +"participant" +], +"parameters": { +"participant": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/conversations/[^/]+/participants/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+participant}:analyzeContent", +"request": { +"$ref": "GoogleCloudDialogflowV2AnalyzeContentRequest" +}, +"response": { +"$ref": "GoogleCloudDialogflowV2AnalyzeContentResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"create": { +"description": "", +"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/conversations/{conversationsId}/participants", +"httpMethod": "POST", +"id": "dialogflow.projects.locations.conversations.participants.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/conversations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+parent}/participants", +"request": { +"$ref": "GoogleCloudDialogflowV2Participant" +}, +"response": { +"$ref": "GoogleCloudDialogflowV2Participant" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"get": { +"description": "", +"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/conversations/{conversationsId}/participants/{participantsId}", +"httpMethod": "GET", +"id": "dialogflow.projects.locations.conversations.participants.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/conversations/[^/]+/participants/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+name}", +"response": { +"$ref": "GoogleCloudDialogflowV2Participant" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"list": { +"description": "", +"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/conversations/{conversationsId}/participants", +"httpMethod": "GET", +"id": "dialogflow.projects.locations.conversations.participants.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"location": "query", +"type": "string" +}, +"parent": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/conversations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+parent}/participants", +"response": { +"$ref": "GoogleCloudDialogflowV2ListParticipantsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"patch": { +"description": "", +"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/conversations/{conversationsId}/participants/{participantsId}", +"httpMethod": "PATCH", +"id": "dialogflow.projects.locations.conversations.participants.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/conversations/[^/]+/participants/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v2/{+name}", +"request": { +"$ref": "GoogleCloudDialogflowV2Participant" +}, +"response": { +"$ref": "GoogleCloudDialogflowV2Participant" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +} +}, +"resources": { +"suggestions": { +"methods": { +"suggestArticles": { +"description": "", +"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/conversations/{conversationsId}/participants/{participantsId}/suggestions:suggestArticles", +"httpMethod": "POST", +"id": "dialogflow.projects.locations.conversations.participants.suggestions.suggestArticles", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/conversations/[^/]+/participants/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+parent}/suggestions:suggestArticles", +"request": { +"$ref": "GoogleCloudDialogflowV2SuggestArticlesRequest" +}, +"response": { +"$ref": "GoogleCloudDialogflowV2SuggestArticlesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"suggestFaqAnswers": { +"description": "", +"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/conversations/{conversationsId}/participants/{participantsId}/suggestions:suggestFaqAnswers", +"httpMethod": "POST", +"id": "dialogflow.projects.locations.conversations.participants.suggestions.suggestFaqAnswers", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/conversations/[^/]+/participants/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+parent}/suggestions:suggestFaqAnswers", +"request": { +"$ref": "GoogleCloudDialogflowV2SuggestFaqAnswersRequest" +}, +"response": { +"$ref": "GoogleCloudDialogflowV2SuggestFaqAnswersResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"suggestKnowledgeAssist": { +"description": "", +"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/conversations/{conversationsId}/participants/{participantsId}/suggestions:suggestKnowledgeAssist", +"httpMethod": "POST", +"id": "dialogflow.projects.locations.conversations.participants.suggestions.suggestKnowledgeAssist", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/conversations/[^/]+/participants/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+parent}/suggestions:suggestKnowledgeAssist", +"request": { +"$ref": "GoogleCloudDialogflowV2SuggestKnowledgeAssistRequest" +}, +"response": { +"$ref": "GoogleCloudDialogflowV2SuggestKnowledgeAssistResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"suggestSmartReplies": { +"description": "", +"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/conversations/{conversationsId}/participants/{participantsId}/suggestions:suggestSmartReplies", +"httpMethod": "POST", +"id": "dialogflow.projects.locations.conversations.participants.suggestions.suggestSmartReplies", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/conversations/[^/]+/participants/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+parent}/suggestions:suggestSmartReplies", +"request": { +"$ref": "GoogleCloudDialogflowV2SuggestSmartRepliesRequest" +}, +"response": { +"$ref": "GoogleCloudDialogflowV2SuggestSmartRepliesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +} +} +} +} +}, +"suggestions": { +"methods": { +"generate": { +"description": "", +"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/conversations/{conversationsId}/suggestions:generate", +"httpMethod": "POST", +"id": "dialogflow.projects.locations.conversations.suggestions.generate", +"parameterOrder": [ +"conversation" +], +"parameters": { +"conversation": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/conversations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+conversation}/suggestions:generate", +"request": { +"$ref": "GoogleCloudDialogflowV2GenerateSuggestionsRequest" +}, +"response": { +"$ref": "GoogleCloudDialogflowV2GenerateSuggestionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"searchKnowledge": { +"description": "", +"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/conversations/{conversationsId}/suggestions:searchKnowledge", +"httpMethod": "POST", +"id": "dialogflow.projects.locations.conversations.suggestions.searchKnowledge", +"parameterOrder": [ +"conversation" +], +"parameters": { +"conversation": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/conversations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+conversation}/suggestions:searchKnowledge", +"request": { +"$ref": "GoogleCloudDialogflowV2SearchKnowledgeRequest" +}, +"response": { +"$ref": "GoogleCloudDialogflowV2SearchKnowledgeResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"suggestConversationSummary": { +"description": "", +"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/conversations/{conversationsId}/suggestions:suggestConversationSummary", +"httpMethod": "POST", +"id": "dialogflow.projects.locations.conversations.suggestions.suggestConversationSummary", +"parameterOrder": [ +"conversation" +], +"parameters": { +"conversation": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/conversations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+conversation}/suggestions:suggestConversationSummary", +"request": { +"$ref": "GoogleCloudDialogflowV2SuggestConversationSummaryRequest" +}, +"response": { +"$ref": "GoogleCloudDialogflowV2SuggestConversationSummaryResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +} +} +} +} +}, +"encryptionSpec": { +"methods": { +"initialize": { +"description": "", +"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/encryptionSpec:initialize", +"httpMethod": "POST", +"id": "dialogflow.projects.locations.encryptionSpec.initialize", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/encryptionSpec$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+name}:initialize", +"request": { +"$ref": "GoogleCloudDialogflowV2InitializeEncryptionSpecRequest" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +} +} +}, +"generators": { +"methods": { +"create": { +"description": "", +"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/generators", +"httpMethod": "POST", +"id": "dialogflow.projects.locations.generators.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"generatorId": { +"location": "query", +"type": "string" +}, +"parent": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+parent}/generators", +"request": { +"$ref": "GoogleCloudDialogflowV2Generator" +}, +"response": { +"$ref": "GoogleCloudDialogflowV2Generator" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"delete": { +"description": "", +"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/generators/{generatorsId}", +"httpMethod": "DELETE", +"id": "dialogflow.projects.locations.generators.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/generators/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+name}", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"get": { +"description": "", +"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/generators/{generatorsId}", +"httpMethod": "GET", +"id": "dialogflow.projects.locations.generators.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/generators/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+name}", +"response": { +"$ref": "GoogleCloudDialogflowV2Generator" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"list": { +"description": "", +"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/generators", +"httpMethod": "GET", +"id": "dialogflow.projects.locations.generators.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"location": "query", +"type": "string" +}, +"parent": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+parent}/generators", +"response": { +"$ref": "GoogleCloudDialogflowV2ListGeneratorsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"patch": { +"description": "", +"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/generators/{generatorsId}", +"httpMethod": "PATCH", +"id": "dialogflow.projects.locations.generators.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/generators/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v2/{+name}", +"request": { +"$ref": "GoogleCloudDialogflowV2Generator" +}, +"response": { +"$ref": "GoogleCloudDialogflowV2Generator" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +} +}, +"resources": { +"evaluations": { +"methods": { +"create": { +"description": "", +"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/generators/{generatorsId}/evaluations", +"httpMethod": "POST", +"id": "dialogflow.projects.locations.generators.evaluations.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/generators/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+parent}/evaluations", +"request": { +"$ref": "GoogleCloudDialogflowV2GeneratorEvaluation" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"delete": { +"description": "", +"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/generators/{generatorsId}/evaluations/{evaluationsId}", +"httpMethod": "DELETE", +"id": "dialogflow.projects.locations.generators.evaluations.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/generators/[^/]+/evaluations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+name}", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"get": { +"description": "", +"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/generators/{generatorsId}/evaluations/{evaluationsId}", +"httpMethod": "GET", +"id": "dialogflow.projects.locations.generators.evaluations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/generators/[^/]+/evaluations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+name}", +"response": { +"$ref": "GoogleCloudDialogflowV2GeneratorEvaluation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"list": { +"description": "", +"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/generators/{generatorsId}/evaluations", +"httpMethod": "GET", +"id": "dialogflow.projects.locations.generators.evaluations.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"location": "query", +"type": "string" +}, +"parent": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/generators/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+parent}/evaluations", +"response": { +"$ref": "GoogleCloudDialogflowV2ListGeneratorEvaluationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +} +} +} +} +}, +"knowledgeBases": { +"methods": { +"create": { +"description": "", +"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/knowledgeBases", +"httpMethod": "POST", +"id": "dialogflow.projects.locations.knowledgeBases.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+parent}/knowledgeBases", +"request": { +"$ref": "GoogleCloudDialogflowV2KnowledgeBase" +}, +"response": { +"$ref": "GoogleCloudDialogflowV2KnowledgeBase" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"delete": { +"description": "", +"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/knowledgeBases/{knowledgeBasesId}", +"httpMethod": "DELETE", +"id": "dialogflow.projects.locations.knowledgeBases.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"force": { +"location": "query", +"type": "boolean" +}, +"name": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/knowledgeBases/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+name}", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"get": { +"description": "", +"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/knowledgeBases/{knowledgeBasesId}", +"httpMethod": "GET", +"id": "dialogflow.projects.locations.knowledgeBases.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/knowledgeBases/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+name}", +"response": { +"$ref": "GoogleCloudDialogflowV2KnowledgeBase" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"list": { +"description": "", +"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/knowledgeBases", +"httpMethod": "GET", +"id": "dialogflow.projects.locations.knowledgeBases.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"location": "query", +"type": "string" +}, +"pageSize": { +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"location": "query", +"type": "string" +}, +"parent": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+parent}/knowledgeBases", +"response": { +"$ref": "GoogleCloudDialogflowV2ListKnowledgeBasesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"patch": { +"description": "", +"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/knowledgeBases/{knowledgeBasesId}", +"httpMethod": "PATCH", +"id": "dialogflow.projects.locations.knowledgeBases.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/knowledgeBases/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v2/{+name}", +"request": { +"$ref": "GoogleCloudDialogflowV2KnowledgeBase" +}, +"response": { +"$ref": "GoogleCloudDialogflowV2KnowledgeBase" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +} +}, +"resources": { +"documents": { +"methods": { +"create": { +"description": "", +"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/knowledgeBases/{knowledgeBasesId}/documents", +"httpMethod": "POST", +"id": "dialogflow.projects.locations.knowledgeBases.documents.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/knowledgeBases/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+parent}/documents", +"request": { +"$ref": "GoogleCloudDialogflowV2Document" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"delete": { +"description": "", +"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/knowledgeBases/{knowledgeBasesId}/documents/{documentsId}", +"httpMethod": "DELETE", +"id": "dialogflow.projects.locations.knowledgeBases.documents.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/knowledgeBases/[^/]+/documents/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+name}", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"export": { +"description": "", +"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/knowledgeBases/{knowledgeBasesId}/documents/{documentsId}:export", +"httpMethod": "POST", +"id": "dialogflow.projects.locations.knowledgeBases.documents.export", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/knowledgeBases/[^/]+/documents/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+name}:export", +"request": { +"$ref": "GoogleCloudDialogflowV2ExportDocumentRequest" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"get": { +"description": "", +"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/knowledgeBases/{knowledgeBasesId}/documents/{documentsId}", +"httpMethod": "GET", +"id": "dialogflow.projects.locations.knowledgeBases.documents.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/knowledgeBases/[^/]+/documents/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+name}", +"response": { +"$ref": "GoogleCloudDialogflowV2Document" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"import": { +"description": "", +"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/knowledgeBases/{knowledgeBasesId}/documents:import", +"httpMethod": "POST", +"id": "dialogflow.projects.locations.knowledgeBases.documents.import", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/knowledgeBases/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+parent}/documents:import", +"request": { +"$ref": "GoogleCloudDialogflowV2ImportDocumentsRequest" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"list": { +"description": "", +"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/knowledgeBases/{knowledgeBasesId}/documents", +"httpMethod": "GET", +"id": "dialogflow.projects.locations.knowledgeBases.documents.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"location": "query", +"type": "string" +}, +"pageSize": { +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"location": "query", +"type": "string" +}, +"parent": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/knowledgeBases/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+parent}/documents", +"response": { +"$ref": "GoogleCloudDialogflowV2ListDocumentsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"patch": { +"description": "", +"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/knowledgeBases/{knowledgeBasesId}/documents/{documentsId}", +"httpMethod": "PATCH", +"id": "dialogflow.projects.locations.knowledgeBases.documents.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/knowledgeBases/[^/]+/documents/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v2/{+name}", +"request": { +"$ref": "GoogleCloudDialogflowV2Document" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"reload": { +"description": "", +"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/knowledgeBases/{knowledgeBasesId}/documents/{documentsId}:reload", +"httpMethod": "POST", +"id": "dialogflow.projects.locations.knowledgeBases.documents.reload", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/knowledgeBases/[^/]+/documents/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+name}:reload", +"request": { +"$ref": "GoogleCloudDialogflowV2ReloadDocumentRequest" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +} +} +} +} +}, +"operations": { +"methods": { +"cancel": { +"description": "", +"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}:cancel", +"httpMethod": "POST", +"id": "dialogflow.projects.locations.operations.cancel", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+name}:cancel", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"get": { +"description": "", +"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}", +"httpMethod": "GET", +"id": "dialogflow.projects.locations.operations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+name}", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"list": { +"description": "", +"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/operations", +"httpMethod": "GET", +"id": "dialogflow.projects.locations.operations.list", +"parameterOrder": [ +"name" +], +"parameters": { +"filter": { +"location": "query", +"type": "string" +}, +"name": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"location": "query", +"type": "string" +}, +"returnPartialSuccess": { +"location": "query", +"type": "boolean" +} +}, +"path": "v2/{+name}/operations", +"response": { +"$ref": "GoogleLongrunningListOperationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +} +} +}, +"sipTrunks": { +"methods": { +"create": { +"description": "", +"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/sipTrunks", +"httpMethod": "POST", +"id": "dialogflow.projects.locations.sipTrunks.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+parent}/sipTrunks", +"request": { +"$ref": "GoogleCloudDialogflowV2SipTrunk" +}, +"response": { +"$ref": "GoogleCloudDialogflowV2SipTrunk" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"delete": { +"description": "", +"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/sipTrunks/{sipTrunksId}", +"httpMethod": "DELETE", +"id": "dialogflow.projects.locations.sipTrunks.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/sipTrunks/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+name}", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"get": { +"description": "", +"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/sipTrunks/{sipTrunksId}", +"httpMethod": "GET", +"id": "dialogflow.projects.locations.sipTrunks.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/sipTrunks/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+name}", +"response": { +"$ref": "GoogleCloudDialogflowV2SipTrunk" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"list": { +"description": "", +"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/sipTrunks", +"httpMethod": "GET", +"id": "dialogflow.projects.locations.sipTrunks.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"location": "query", +"type": "string" +}, +"parent": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+parent}/sipTrunks", +"response": { +"$ref": "GoogleCloudDialogflowV2ListSipTrunksResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"patch": { +"description": "", +"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/sipTrunks/{sipTrunksId}", +"httpMethod": "PATCH", +"id": "dialogflow.projects.locations.sipTrunks.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/sipTrunks/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v2/{+name}", +"request": { +"$ref": "GoogleCloudDialogflowV2SipTrunk" +}, +"response": { +"$ref": "GoogleCloudDialogflowV2SipTrunk" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +} +} +}, +"statelessSuggestion": { +"methods": { +"generate": { +"description": "", +"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/statelessSuggestion:generate", +"httpMethod": "POST", +"id": "dialogflow.projects.locations.statelessSuggestion.generate", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+parent}/statelessSuggestion:generate", +"request": { +"$ref": "GoogleCloudDialogflowV2GenerateStatelessSuggestionRequest" +}, +"response": { +"$ref": "GoogleCloudDialogflowV2GenerateStatelessSuggestionResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +} +} +}, +"suggestions": { +"methods": { +"generateStatelessSummary": { +"description": "", +"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/suggestions:generateStatelessSummary", +"httpMethod": "POST", +"id": "dialogflow.projects.locations.suggestions.generateStatelessSummary", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+parent}/suggestions:generateStatelessSummary", +"request": { +"$ref": "GoogleCloudDialogflowV2GenerateStatelessSummaryRequest" +}, +"response": { +"$ref": "GoogleCloudDialogflowV2GenerateStatelessSummaryResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"searchKnowledge": { +"description": "", +"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/suggestions:searchKnowledge", +"httpMethod": "POST", +"id": "dialogflow.projects.locations.suggestions.searchKnowledge", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+parent}/suggestions:searchKnowledge", +"request": { +"$ref": "GoogleCloudDialogflowV2SearchKnowledgeRequest" +}, +"response": { +"$ref": "GoogleCloudDialogflowV2SearchKnowledgeResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +} +} +}, +"tools": { +"methods": { +"create": { +"description": "", +"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/tools", +"httpMethod": "POST", +"id": "dialogflow.projects.locations.tools.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +}, +"toolId": { +"location": "query", +"type": "string" +} +}, +"path": "v2/{+parent}/tools", +"request": { +"$ref": "GoogleCloudDialogflowV2Tool" +}, +"response": { +"$ref": "GoogleCloudDialogflowV2Tool" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"delete": { +"description": "", +"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/tools/{toolsId}", +"httpMethod": "DELETE", +"id": "dialogflow.projects.locations.tools.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/tools/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+name}", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"get": { +"description": "", +"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/tools/{toolsId}", +"httpMethod": "GET", +"id": "dialogflow.projects.locations.tools.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/tools/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+name}", +"response": { +"$ref": "GoogleCloudDialogflowV2Tool" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"list": { +"description": "", +"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/tools", +"httpMethod": "GET", +"id": "dialogflow.projects.locations.tools.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"location": "query", +"type": "string" +}, +"parent": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+parent}/tools", +"response": { +"$ref": "GoogleCloudDialogflowV2ListToolsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"patch": { +"description": "", +"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/tools/{toolsId}", +"httpMethod": "PATCH", +"id": "dialogflow.projects.locations.tools.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/tools/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v2/{+name}", +"request": { +"$ref": "GoogleCloudDialogflowV2Tool" +}, +"response": { +"$ref": "GoogleCloudDialogflowV2Tool" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +} +} +} +} +}, +"operations": { +"methods": { +"cancel": { +"description": "", +"flatPath": "v2/projects/{projectsId}/operations/{operationsId}:cancel", +"httpMethod": "POST", +"id": "dialogflow.projects.operations.cancel", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"location": "path", +"pattern": "^projects/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+name}:cancel", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"get": { +"description": "", +"flatPath": "v2/projects/{projectsId}/operations/{operationsId}", +"httpMethod": "GET", +"id": "dialogflow.projects.operations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"location": "path", +"pattern": "^projects/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+name}", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"list": { +"description": "", +"flatPath": "v2/projects/{projectsId}/operations", +"httpMethod": "GET", +"id": "dialogflow.projects.operations.list", +"parameterOrder": [ +"name" +], +"parameters": { +"filter": { +"location": "query", +"type": "string" +}, +"name": { +"location": "path", +"pattern": "^projects/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"location": "query", +"type": "string" +}, +"returnPartialSuccess": { +"location": "query", +"type": "boolean" +} +}, +"path": "v2/{+name}/operations", +"response": { +"$ref": "GoogleLongrunningListOperationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +} +} +}, +"suggestions": { +"methods": { +"generateStatelessSummary": { +"description": "", +"flatPath": "v2/projects/{projectsId}/suggestions:generateStatelessSummary", +"httpMethod": "POST", +"id": "dialogflow.projects.suggestions.generateStatelessSummary", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"location": "path", +"pattern": "^projects/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+parent}/suggestions:generateStatelessSummary", +"request": { +"$ref": "GoogleCloudDialogflowV2GenerateStatelessSummaryRequest" +}, +"response": { +"$ref": "GoogleCloudDialogflowV2GenerateStatelessSummaryResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"searchKnowledge": { +"description": "", +"flatPath": "v2/projects/{projectsId}/suggestions:searchKnowledge", +"httpMethod": "POST", +"id": "dialogflow.projects.suggestions.searchKnowledge", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"location": "path", +"pattern": "^projects/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+parent}/suggestions:searchKnowledge", +"request": { +"$ref": "GoogleCloudDialogflowV2SearchKnowledgeRequest" +}, +"response": { +"$ref": "GoogleCloudDialogflowV2SearchKnowledgeResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +} +} +} +} +} +}, +"revision": "20260119", +"rootUrl": "https://dialogflow.googleapis.com/", +"schemas": { +"GoogleCloudDialogflowCxV3AdvancedSettings": { +"id": "GoogleCloudDialogflowCxV3AdvancedSettings", +"properties": { +"audioExportGcsDestination": { +"$ref": "GoogleCloudDialogflowCxV3GcsDestination" +}, +"dtmfSettings": { +"$ref": "GoogleCloudDialogflowCxV3AdvancedSettingsDtmfSettings" +}, +"loggingSettings": { +"$ref": "GoogleCloudDialogflowCxV3AdvancedSettingsLoggingSettings" +}, +"speechSettings": { +"$ref": "GoogleCloudDialogflowCxV3AdvancedSettingsSpeechSettings" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3AdvancedSettingsDtmfSettings": { +"id": "GoogleCloudDialogflowCxV3AdvancedSettingsDtmfSettings", +"properties": { +"enabled": { +"type": "boolean" +}, +"endpointingTimeoutDuration": { +"format": "google-duration", +"type": "string" +}, +"finishDigit": { +"type": "string" +}, +"interdigitTimeoutDuration": { +"format": "google-duration", +"type": "string" +}, +"maxDigits": { +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3AdvancedSettingsLoggingSettings": { +"id": "GoogleCloudDialogflowCxV3AdvancedSettingsLoggingSettings", +"properties": { +"enableConsentBasedRedaction": { +"type": "boolean" +}, +"enableInteractionLogging": { +"type": "boolean" +}, +"enableStackdriverLogging": { +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3AdvancedSettingsSpeechSettings": { +"id": "GoogleCloudDialogflowCxV3AdvancedSettingsSpeechSettings", +"properties": { +"endpointerSensitivity": { +"format": "int32", +"type": "integer" +}, +"models": { +"additionalProperties": { +"type": "string" +}, +"type": "object" +}, +"noSpeechTimeout": { +"format": "google-duration", +"type": "string" +}, +"useTimeoutBasedEndpointing": { +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3AudioInput": { +"id": "GoogleCloudDialogflowCxV3AudioInput", +"properties": { +"audio": { +"format": "byte", +"type": "string" +}, +"config": { +"$ref": "GoogleCloudDialogflowCxV3InputAudioConfig" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3BargeInConfig": { +"id": "GoogleCloudDialogflowCxV3BargeInConfig", +"properties": { +"noBargeInDuration": { +"format": "google-duration", +"type": "string" +}, +"totalDuration": { +"format": "google-duration", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3BatchRunTestCasesMetadata": { +"id": "GoogleCloudDialogflowCxV3BatchRunTestCasesMetadata", +"properties": { +"errors": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3TestError" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3BatchRunTestCasesResponse": { +"id": "GoogleCloudDialogflowCxV3BatchRunTestCasesResponse", +"properties": { +"results": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3TestCaseResult" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3ContinuousTestResult": { +"id": "GoogleCloudDialogflowCxV3ContinuousTestResult", +"properties": { +"name": { +"type": "string" +}, +"result": { +"enum": [ +"AGGREGATED_TEST_RESULT_UNSPECIFIED", +"PASSED", +"FAILED" +], +"enumDescriptions": [ +"", +"", +"" +], +"type": "string" +}, +"runTime": { +"format": "google-datetime", +"type": "string" +}, +"testCaseResults": { +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3ConversationSignals": { +"id": "GoogleCloudDialogflowCxV3ConversationSignals", +"properties": { +"turnSignals": { +"$ref": "GoogleCloudDialogflowCxV3TurnSignals" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3ConversationTurn": { +"id": "GoogleCloudDialogflowCxV3ConversationTurn", +"properties": { +"userInput": { +"$ref": "GoogleCloudDialogflowCxV3ConversationTurnUserInput" +}, +"virtualAgentOutput": { +"$ref": "GoogleCloudDialogflowCxV3ConversationTurnVirtualAgentOutput" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3ConversationTurnUserInput": { +"id": "GoogleCloudDialogflowCxV3ConversationTurnUserInput", +"properties": { +"enableSentimentAnalysis": { +"type": "boolean" +}, +"injectedParameters": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"type": "object" +}, +"input": { +"$ref": "GoogleCloudDialogflowCxV3QueryInput" +}, +"isWebhookEnabled": { +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3ConversationTurnVirtualAgentOutput": { +"id": "GoogleCloudDialogflowCxV3ConversationTurnVirtualAgentOutput", +"properties": { +"currentPage": { +"$ref": "GoogleCloudDialogflowCxV3Page" +}, +"diagnosticInfo": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"type": "object" +}, +"differences": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3TestRunDifference" +}, +"readOnly": true, +"type": "array" +}, +"sessionParameters": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"type": "object" +}, +"status": { +"$ref": "GoogleRpcStatus" +}, +"textResponses": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3ResponseMessageText" +}, +"type": "array" +}, +"triggeredIntent": { +"$ref": "GoogleCloudDialogflowCxV3Intent" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3CreateVersionOperationMetadata": { +"id": "GoogleCloudDialogflowCxV3CreateVersionOperationMetadata", +"properties": { +"version": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3DataStoreConnection": { +"id": "GoogleCloudDialogflowCxV3DataStoreConnection", +"properties": { +"dataStore": { +"type": "string" +}, +"dataStoreType": { +"enum": [ +"DATA_STORE_TYPE_UNSPECIFIED", +"PUBLIC_WEB", +"UNSTRUCTURED", +"STRUCTURED" +], +"enumDescriptions": [ +"", +"", +"", +"" +], +"type": "string" +}, +"documentProcessingMode": { +"enum": [ +"DOCUMENT_PROCESSING_MODE_UNSPECIFIED", +"DOCUMENTS", +"CHUNKS" +], +"enumDescriptions": [ +"", +"", +"" +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3DeployFlowMetadata": { +"id": "GoogleCloudDialogflowCxV3DeployFlowMetadata", +"properties": { +"testErrors": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3TestError" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3DeployFlowResponse": { +"id": "GoogleCloudDialogflowCxV3DeployFlowResponse", +"properties": { +"deployment": { +"type": "string" +}, +"environment": { +"$ref": "GoogleCloudDialogflowCxV3Environment" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3DtmfInput": { +"id": "GoogleCloudDialogflowCxV3DtmfInput", +"properties": { +"digits": { +"type": "string" +}, +"finishDigit": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3Environment": { +"id": "GoogleCloudDialogflowCxV3Environment", +"properties": { +"description": { +"type": "string" +}, +"displayName": { +"type": "string" +}, +"name": { +"type": "string" +}, +"testCasesConfig": { +"$ref": "GoogleCloudDialogflowCxV3EnvironmentTestCasesConfig" +}, +"updateTime": { +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"versionConfigs": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3EnvironmentVersionConfig" +}, +"type": "array" +}, +"webhookConfig": { +"$ref": "GoogleCloudDialogflowCxV3EnvironmentWebhookConfig" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3EnvironmentTestCasesConfig": { +"id": "GoogleCloudDialogflowCxV3EnvironmentTestCasesConfig", +"properties": { +"enableContinuousRun": { +"type": "boolean" +}, +"enablePredeploymentRun": { +"type": "boolean" +}, +"testCases": { +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3EnvironmentVersionConfig": { +"id": "GoogleCloudDialogflowCxV3EnvironmentVersionConfig", +"properties": { +"version": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3EnvironmentWebhookConfig": { +"id": "GoogleCloudDialogflowCxV3EnvironmentWebhookConfig", +"properties": { +"webhookOverrides": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3Webhook" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3EventHandler": { +"id": "GoogleCloudDialogflowCxV3EventHandler", +"properties": { +"event": { +"type": "string" +}, +"name": { +"readOnly": true, +"type": "string" +}, +"targetFlow": { +"type": "string" +}, +"targetPage": { +"type": "string" +}, +"targetPlaybook": { +"type": "string" +}, +"triggerFulfillment": { +"$ref": "GoogleCloudDialogflowCxV3Fulfillment" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3EventInput": { +"id": "GoogleCloudDialogflowCxV3EventInput", +"properties": { +"event": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3ExportAgentResponse": { +"id": "GoogleCloudDialogflowCxV3ExportAgentResponse", +"properties": { +"agentContent": { +"format": "byte", +"type": "string" +}, +"agentUri": { +"type": "string" +}, +"commitSha": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3ExportEntityTypesMetadata": { +"id": "GoogleCloudDialogflowCxV3ExportEntityTypesMetadata", +"properties": {}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3ExportEntityTypesResponse": { +"id": "GoogleCloudDialogflowCxV3ExportEntityTypesResponse", +"properties": { +"entityTypesContent": { +"$ref": "GoogleCloudDialogflowCxV3InlineDestination" +}, +"entityTypesUri": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3ExportFlowResponse": { +"id": "GoogleCloudDialogflowCxV3ExportFlowResponse", +"properties": { +"flowContent": { +"format": "byte", +"type": "string" +}, +"flowUri": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3ExportIntentsMetadata": { +"id": "GoogleCloudDialogflowCxV3ExportIntentsMetadata", +"properties": {}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3ExportIntentsResponse": { +"id": "GoogleCloudDialogflowCxV3ExportIntentsResponse", +"properties": { +"intentsContent": { +"$ref": "GoogleCloudDialogflowCxV3InlineDestination" +}, +"intentsUri": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3ExportTestCasesMetadata": { +"id": "GoogleCloudDialogflowCxV3ExportTestCasesMetadata", +"properties": {}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3ExportTestCasesResponse": { +"id": "GoogleCloudDialogflowCxV3ExportTestCasesResponse", +"properties": { +"content": { +"format": "byte", +"type": "string" +}, +"gcsUri": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3Form": { +"id": "GoogleCloudDialogflowCxV3Form", +"properties": { +"parameters": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3FormParameter" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3FormParameter": { +"id": "GoogleCloudDialogflowCxV3FormParameter", +"properties": { +"advancedSettings": { +"$ref": "GoogleCloudDialogflowCxV3AdvancedSettings" +}, +"defaultValue": { +"type": "any" +}, +"displayName": { +"type": "string" +}, +"entityType": { +"type": "string" +}, +"fillBehavior": { +"$ref": "GoogleCloudDialogflowCxV3FormParameterFillBehavior" +}, +"isList": { +"type": "boolean" +}, +"redact": { +"type": "boolean" +}, +"required": { +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3FormParameterFillBehavior": { +"id": "GoogleCloudDialogflowCxV3FormParameterFillBehavior", +"properties": { +"initialPromptFulfillment": { +"$ref": "GoogleCloudDialogflowCxV3Fulfillment" +}, +"repromptEventHandlers": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3EventHandler" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3Fulfillment": { +"id": "GoogleCloudDialogflowCxV3Fulfillment", +"properties": { +"advancedSettings": { +"$ref": "GoogleCloudDialogflowCxV3AdvancedSettings" +}, +"conditionalCases": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3FulfillmentConditionalCases" +}, +"type": "array" +}, +"enableGenerativeFallback": { +"type": "boolean" +}, +"generators": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3FulfillmentGeneratorSettings" +}, +"type": "array" +}, +"messages": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3ResponseMessage" +}, +"type": "array" +}, +"returnPartialResponses": { +"type": "boolean" +}, +"setParameterActions": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3FulfillmentSetParameterAction" +}, +"type": "array" +}, +"tag": { +"type": "string" +}, +"webhook": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3FulfillmentConditionalCases": { +"id": "GoogleCloudDialogflowCxV3FulfillmentConditionalCases", +"properties": { +"cases": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3FulfillmentConditionalCasesCase" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3FulfillmentConditionalCasesCase": { +"id": "GoogleCloudDialogflowCxV3FulfillmentConditionalCasesCase", +"properties": { +"caseContent": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3FulfillmentConditionalCasesCaseCaseContent" +}, +"type": "array" +}, +"condition": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3FulfillmentConditionalCasesCaseCaseContent": { +"id": "GoogleCloudDialogflowCxV3FulfillmentConditionalCasesCaseCaseContent", +"properties": { +"additionalCases": { +"$ref": "GoogleCloudDialogflowCxV3FulfillmentConditionalCases" +}, +"message": { +"$ref": "GoogleCloudDialogflowCxV3ResponseMessage" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3FulfillmentGeneratorSettings": { +"id": "GoogleCloudDialogflowCxV3FulfillmentGeneratorSettings", +"properties": { +"generator": { +"type": "string" +}, +"inputParameters": { +"additionalProperties": { +"type": "string" +}, +"type": "object" +}, +"outputParameter": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3FulfillmentSetParameterAction": { +"id": "GoogleCloudDialogflowCxV3FulfillmentSetParameterAction", +"properties": { +"parameter": { +"type": "string" +}, +"value": { +"type": "any" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3GcsDestination": { +"id": "GoogleCloudDialogflowCxV3GcsDestination", +"properties": { +"uri": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3ImportEntityTypesMetadata": { +"id": "GoogleCloudDialogflowCxV3ImportEntityTypesMetadata", +"properties": {}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3ImportEntityTypesResponse": { +"id": "GoogleCloudDialogflowCxV3ImportEntityTypesResponse", +"properties": { +"conflictingResources": { +"$ref": "GoogleCloudDialogflowCxV3ImportEntityTypesResponseConflictingResources" +}, +"entityTypes": { +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3ImportEntityTypesResponseConflictingResources": { +"id": "GoogleCloudDialogflowCxV3ImportEntityTypesResponseConflictingResources", +"properties": { +"entityDisplayNames": { +"items": { +"type": "string" +}, +"type": "array" +}, +"entityTypeDisplayNames": { +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3ImportFlowResponse": { +"id": "GoogleCloudDialogflowCxV3ImportFlowResponse", +"properties": { +"flow": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3ImportIntentsMetadata": { +"id": "GoogleCloudDialogflowCxV3ImportIntentsMetadata", +"properties": {}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3ImportIntentsResponse": { +"id": "GoogleCloudDialogflowCxV3ImportIntentsResponse", +"properties": { +"conflictingResources": { +"$ref": "GoogleCloudDialogflowCxV3ImportIntentsResponseConflictingResources" +}, +"intents": { +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3ImportIntentsResponseConflictingResources": { +"id": "GoogleCloudDialogflowCxV3ImportIntentsResponseConflictingResources", +"properties": { +"entityDisplayNames": { +"items": { +"type": "string" +}, +"type": "array" +}, +"intentDisplayNames": { +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3ImportTestCasesMetadata": { +"id": "GoogleCloudDialogflowCxV3ImportTestCasesMetadata", +"properties": { +"errors": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3TestCaseError" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3ImportTestCasesResponse": { +"id": "GoogleCloudDialogflowCxV3ImportTestCasesResponse", +"properties": { +"names": { +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3InlineDestination": { +"id": "GoogleCloudDialogflowCxV3InlineDestination", +"properties": { +"content": { +"format": "byte", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3InputAudioConfig": { +"id": "GoogleCloudDialogflowCxV3InputAudioConfig", +"properties": { +"audioEncoding": { +"enum": [ +"AUDIO_ENCODING_UNSPECIFIED", +"AUDIO_ENCODING_LINEAR_16", +"AUDIO_ENCODING_FLAC", +"AUDIO_ENCODING_MULAW", +"AUDIO_ENCODING_AMR", +"AUDIO_ENCODING_AMR_WB", +"AUDIO_ENCODING_OGG_OPUS", +"AUDIO_ENCODING_SPEEX_WITH_HEADER_BYTE", +"AUDIO_ENCODING_ALAW" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"", +"", +"", +"" +], +"type": "string" +}, +"bargeInConfig": { +"$ref": "GoogleCloudDialogflowCxV3BargeInConfig" +}, +"enableWordInfo": { +"type": "boolean" +}, +"model": { +"type": "string" +}, +"modelVariant": { +"enum": [ +"SPEECH_MODEL_VARIANT_UNSPECIFIED", +"USE_BEST_AVAILABLE", +"USE_STANDARD", +"USE_ENHANCED" +], +"enumDescriptions": [ +"", +"", +"", +"" +], +"type": "string" +}, +"optOutConformerModelMigration": { +"type": "boolean" +}, +"phraseHints": { +"items": { +"type": "string" +}, +"type": "array" +}, +"sampleRateHertz": { +"format": "int32", +"type": "integer" +}, +"singleUtterance": { +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3Intent": { +"id": "GoogleCloudDialogflowCxV3Intent", +"properties": { +"description": { +"type": "string" +}, +"displayName": { +"type": "string" +}, +"isFallback": { +"type": "boolean" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"type": "object" +}, +"name": { +"type": "string" +}, +"parameters": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3IntentParameter" +}, +"type": "array" +}, +"priority": { +"format": "int32", +"type": "integer" +}, +"trainingPhrases": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3IntentTrainingPhrase" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3IntentInput": { +"id": "GoogleCloudDialogflowCxV3IntentInput", +"properties": { +"intent": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3IntentParameter": { +"id": "GoogleCloudDialogflowCxV3IntentParameter", +"properties": { +"entityType": { +"type": "string" +}, +"id": { +"type": "string" +}, +"isList": { +"type": "boolean" +}, +"redact": { +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3IntentTrainingPhrase": { +"id": "GoogleCloudDialogflowCxV3IntentTrainingPhrase", +"properties": { +"id": { +"readOnly": true, +"type": "string" +}, +"parts": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3IntentTrainingPhrasePart" +}, +"type": "array" +}, +"repeatCount": { +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3IntentTrainingPhrasePart": { +"id": "GoogleCloudDialogflowCxV3IntentTrainingPhrasePart", +"properties": { +"parameterId": { +"type": "string" +}, +"text": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3KnowledgeConnectorSettings": { +"id": "GoogleCloudDialogflowCxV3KnowledgeConnectorSettings", +"properties": { +"dataStoreConnections": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3DataStoreConnection" +}, +"type": "array" +}, +"enabled": { +"type": "boolean" +}, +"targetFlow": { +"type": "string" +}, +"targetPage": { +"type": "string" +}, +"triggerFulfillment": { +"$ref": "GoogleCloudDialogflowCxV3Fulfillment" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3LanguageInfo": { +"id": "GoogleCloudDialogflowCxV3LanguageInfo", +"properties": { +"confidenceScore": { +"format": "float", +"type": "number" +}, +"inputLanguageCode": { +"type": "string" +}, +"resolvedLanguageCode": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3Page": { +"id": "GoogleCloudDialogflowCxV3Page", +"properties": { +"advancedSettings": { +"$ref": "GoogleCloudDialogflowCxV3AdvancedSettings" +}, +"description": { +"type": "string" +}, +"displayName": { +"type": "string" +}, +"entryFulfillment": { +"$ref": "GoogleCloudDialogflowCxV3Fulfillment" +}, +"eventHandlers": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3EventHandler" +}, +"type": "array" +}, +"form": { +"$ref": "GoogleCloudDialogflowCxV3Form" +}, +"knowledgeConnectorSettings": { +"$ref": "GoogleCloudDialogflowCxV3KnowledgeConnectorSettings" +}, +"name": { +"type": "string" +}, +"transitionRouteGroups": { +"items": { +"type": "string" +}, +"type": "array" +}, +"transitionRoutes": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3TransitionRoute" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3PageInfo": { +"id": "GoogleCloudDialogflowCxV3PageInfo", +"properties": { +"currentPage": { +"type": "string" +}, +"displayName": { +"type": "string" +}, +"formInfo": { +"$ref": "GoogleCloudDialogflowCxV3PageInfoFormInfo" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3PageInfoFormInfo": { +"id": "GoogleCloudDialogflowCxV3PageInfoFormInfo", +"properties": { +"parameterInfo": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3PageInfoFormInfoParameterInfo" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3PageInfoFormInfoParameterInfo": { +"id": "GoogleCloudDialogflowCxV3PageInfoFormInfoParameterInfo", +"properties": { +"displayName": { +"type": "string" +}, +"justCollected": { +"type": "boolean" +}, +"required": { +"type": "boolean" +}, +"state": { +"enum": [ +"PARAMETER_STATE_UNSPECIFIED", +"EMPTY", +"INVALID", +"FILLED" +], +"enumDescriptions": [ +"", +"", +"", +"" +], +"type": "string" +}, +"value": { +"type": "any" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3QueryInput": { +"id": "GoogleCloudDialogflowCxV3QueryInput", +"properties": { +"audio": { +"$ref": "GoogleCloudDialogflowCxV3AudioInput" +}, +"dtmf": { +"$ref": "GoogleCloudDialogflowCxV3DtmfInput" +}, +"event": { +"$ref": "GoogleCloudDialogflowCxV3EventInput" +}, +"intent": { +"$ref": "GoogleCloudDialogflowCxV3IntentInput" +}, +"languageCode": { +"type": "string" +}, +"text": { +"$ref": "GoogleCloudDialogflowCxV3TextInput" +}, +"toolCallResult": { +"$ref": "GoogleCloudDialogflowCxV3ToolCallResult" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3ResponseMessage": { +"id": "GoogleCloudDialogflowCxV3ResponseMessage", +"properties": { +"channel": { +"type": "string" +}, +"conversationSuccess": { +"$ref": "GoogleCloudDialogflowCxV3ResponseMessageConversationSuccess" +}, +"endInteraction": { +"$ref": "GoogleCloudDialogflowCxV3ResponseMessageEndInteraction", +"readOnly": true +}, +"knowledgeInfoCard": { +"$ref": "GoogleCloudDialogflowCxV3ResponseMessageKnowledgeInfoCard" +}, +"liveAgentHandoff": { +"$ref": "GoogleCloudDialogflowCxV3ResponseMessageLiveAgentHandoff" +}, +"mixedAudio": { +"$ref": "GoogleCloudDialogflowCxV3ResponseMessageMixedAudio", +"readOnly": true +}, +"outputAudioText": { +"$ref": "GoogleCloudDialogflowCxV3ResponseMessageOutputAudioText" +}, +"payload": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"type": "object" +}, +"playAudio": { +"$ref": "GoogleCloudDialogflowCxV3ResponseMessagePlayAudio" +}, +"responseType": { +"enum": [ +"RESPONSE_TYPE_UNSPECIFIED", +"ENTRY_PROMPT", +"PARAMETER_PROMPT", +"HANDLER_PROMPT" +], +"enumDescriptions": [ +"", +"", +"", +"" +], +"type": "string" +}, +"telephonyTransferCall": { +"$ref": "GoogleCloudDialogflowCxV3ResponseMessageTelephonyTransferCall" +}, +"text": { +"$ref": "GoogleCloudDialogflowCxV3ResponseMessageText" +}, +"toolCall": { +"$ref": "GoogleCloudDialogflowCxV3ToolCall" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3ResponseMessageConversationSuccess": { +"id": "GoogleCloudDialogflowCxV3ResponseMessageConversationSuccess", +"properties": { +"metadata": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"type": "object" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3ResponseMessageEndInteraction": { +"id": "GoogleCloudDialogflowCxV3ResponseMessageEndInteraction", +"properties": {}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3ResponseMessageKnowledgeInfoCard": { +"id": "GoogleCloudDialogflowCxV3ResponseMessageKnowledgeInfoCard", +"properties": {}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3ResponseMessageLiveAgentHandoff": { +"id": "GoogleCloudDialogflowCxV3ResponseMessageLiveAgentHandoff", +"properties": { +"metadata": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"type": "object" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3ResponseMessageMixedAudio": { +"id": "GoogleCloudDialogflowCxV3ResponseMessageMixedAudio", +"properties": { +"segments": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3ResponseMessageMixedAudioSegment" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3ResponseMessageMixedAudioSegment": { +"id": "GoogleCloudDialogflowCxV3ResponseMessageMixedAudioSegment", +"properties": { +"allowPlaybackInterruption": { +"readOnly": true, +"type": "boolean" +}, +"audio": { +"format": "byte", +"type": "string" +}, +"uri": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3ResponseMessageOutputAudioText": { +"id": "GoogleCloudDialogflowCxV3ResponseMessageOutputAudioText", +"properties": { +"allowPlaybackInterruption": { +"readOnly": true, +"type": "boolean" +}, +"ssml": { +"type": "string" +}, +"text": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3ResponseMessagePlayAudio": { +"id": "GoogleCloudDialogflowCxV3ResponseMessagePlayAudio", +"properties": { +"allowPlaybackInterruption": { +"readOnly": true, +"type": "boolean" +}, +"audioUri": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3ResponseMessageTelephonyTransferCall": { +"id": "GoogleCloudDialogflowCxV3ResponseMessageTelephonyTransferCall", +"properties": { +"phoneNumber": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3ResponseMessageText": { +"id": "GoogleCloudDialogflowCxV3ResponseMessageText", +"properties": { +"allowPlaybackInterruption": { +"readOnly": true, +"type": "boolean" +}, +"text": { +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3RunContinuousTestMetadata": { +"id": "GoogleCloudDialogflowCxV3RunContinuousTestMetadata", +"properties": { +"errors": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3TestError" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3RunContinuousTestResponse": { +"id": "GoogleCloudDialogflowCxV3RunContinuousTestResponse", +"properties": { +"continuousTestResult": { +"$ref": "GoogleCloudDialogflowCxV3ContinuousTestResult" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3RunTestCaseMetadata": { +"id": "GoogleCloudDialogflowCxV3RunTestCaseMetadata", +"properties": {}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3RunTestCaseResponse": { +"id": "GoogleCloudDialogflowCxV3RunTestCaseResponse", +"properties": { +"result": { +"$ref": "GoogleCloudDialogflowCxV3TestCaseResult" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3SessionInfo": { +"id": "GoogleCloudDialogflowCxV3SessionInfo", +"properties": { +"parameters": { +"additionalProperties": { +"type": "any" +}, +"type": "object" +}, +"session": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3TestCase": { +"id": "GoogleCloudDialogflowCxV3TestCase", +"properties": { +"creationTime": { +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"displayName": { +"type": "string" +}, +"lastTestResult": { +"$ref": "GoogleCloudDialogflowCxV3TestCaseResult" +}, +"name": { +"type": "string" +}, +"notes": { +"type": "string" +}, +"tags": { +"items": { +"type": "string" +}, +"type": "array" +}, +"testCaseConversationTurns": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3ConversationTurn" +}, +"type": "array" +}, +"testConfig": { +"$ref": "GoogleCloudDialogflowCxV3TestConfig" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3TestCaseError": { +"id": "GoogleCloudDialogflowCxV3TestCaseError", +"properties": { +"status": { +"$ref": "GoogleRpcStatus" +}, +"testCase": { +"$ref": "GoogleCloudDialogflowCxV3TestCase" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3TestCaseResult": { +"id": "GoogleCloudDialogflowCxV3TestCaseResult", +"properties": { +"conversationTurns": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3ConversationTurn" +}, +"type": "array" +}, +"environment": { +"type": "string" +}, +"name": { +"type": "string" +}, +"testResult": { +"enum": [ +"TEST_RESULT_UNSPECIFIED", +"PASSED", +"FAILED" +], +"enumDescriptions": [ +"", +"", +"" +], +"type": "string" +}, +"testTime": { +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3TestConfig": { +"id": "GoogleCloudDialogflowCxV3TestConfig", +"properties": { +"flow": { +"type": "string" +}, +"page": { +"type": "string" +}, +"trackingParameters": { +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3TestError": { +"id": "GoogleCloudDialogflowCxV3TestError", +"properties": { +"status": { +"$ref": "GoogleRpcStatus" +}, +"testCase": { +"type": "string" +}, +"testTime": { +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3TestRunDifference": { +"id": "GoogleCloudDialogflowCxV3TestRunDifference", +"properties": { +"description": { +"type": "string" +}, +"type": { +"enum": [ +"DIFF_TYPE_UNSPECIFIED", +"INTENT", +"PAGE", +"PARAMETERS", +"UTTERANCE", +"FLOW" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"" +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3TextInput": { +"id": "GoogleCloudDialogflowCxV3TextInput", +"properties": { +"text": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3ToolCall": { +"id": "GoogleCloudDialogflowCxV3ToolCall", +"properties": { +"action": { +"type": "string" +}, +"inputParameters": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"type": "object" +}, +"tool": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3ToolCallResult": { +"id": "GoogleCloudDialogflowCxV3ToolCallResult", +"properties": { +"action": { +"type": "string" +}, +"error": { +"$ref": "GoogleCloudDialogflowCxV3ToolCallResultError" +}, +"outputParameters": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"type": "object" +}, +"tool": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3ToolCallResultError": { +"id": "GoogleCloudDialogflowCxV3ToolCallResultError", +"properties": { +"message": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3TransitionRoute": { +"id": "GoogleCloudDialogflowCxV3TransitionRoute", +"properties": { +"condition": { +"type": "string" +}, +"description": { +"type": "string" +}, +"intent": { +"type": "string" +}, +"name": { +"readOnly": true, +"type": "string" +}, +"targetFlow": { +"type": "string" +}, +"targetPage": { +"type": "string" +}, +"triggerFulfillment": { +"$ref": "GoogleCloudDialogflowCxV3Fulfillment" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3TurnSignals": { +"id": "GoogleCloudDialogflowCxV3TurnSignals", +"properties": { +"agentEscalated": { +"type": "boolean" +}, +"dtmfUsed": { +"type": "boolean" +}, +"failureReasons": { +"items": { +"enum": [ +"FAILURE_REASON_UNSPECIFIED", +"FAILED_INTENT", +"FAILED_WEBHOOK" +], +"enumDescriptions": [ +"", +"", +"" +], +"type": "string" +}, +"type": "array" +}, +"noMatch": { +"type": "boolean" +}, +"noUserInput": { +"type": "boolean" +}, +"reachedEndPage": { +"type": "boolean" +}, +"sentimentMagnitude": { +"format": "float", +"type": "number" +}, +"sentimentScore": { +"format": "float", +"type": "number" +}, +"userEscalated": { +"type": "boolean" +}, +"webhookStatuses": { +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3Webhook": { +"id": "GoogleCloudDialogflowCxV3Webhook", +"properties": { +"disabled": { +"type": "boolean" +}, +"displayName": { +"type": "string" +}, +"genericWebService": { +"$ref": "GoogleCloudDialogflowCxV3WebhookGenericWebService" +}, +"name": { +"type": "string" +}, +"serviceDirectory": { +"$ref": "GoogleCloudDialogflowCxV3WebhookServiceDirectoryConfig" +}, +"timeout": { +"format": "google-duration", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3WebhookGenericWebService": { +"id": "GoogleCloudDialogflowCxV3WebhookGenericWebService", +"properties": { +"allowedCaCerts": { +"items": { +"format": "byte", +"type": "string" +}, +"type": "array" +}, +"httpMethod": { +"enum": [ +"HTTP_METHOD_UNSPECIFIED", +"POST", +"GET", +"HEAD", +"PUT", +"DELETE", +"PATCH", +"OPTIONS" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"", +"", +"" +], +"type": "string" +}, +"oauthConfig": { +"$ref": "GoogleCloudDialogflowCxV3WebhookGenericWebServiceOAuthConfig" +}, +"parameterMapping": { +"additionalProperties": { +"type": "string" +}, +"type": "object" +}, +"password": { +"deprecated": true, +"type": "string" +}, +"requestBody": { +"type": "string" +}, +"requestHeaders": { +"additionalProperties": { +"type": "string" +}, +"type": "object" +}, +"secretVersionForUsernamePassword": { +"type": "string" +}, +"secretVersionsForRequestHeaders": { +"additionalProperties": { +"$ref": "GoogleCloudDialogflowCxV3WebhookGenericWebServiceSecretVersionHeaderValue" +}, +"type": "object" +}, +"serviceAccountAuthConfig": { +"$ref": "GoogleCloudDialogflowCxV3WebhookGenericWebServiceServiceAccountAuthConfig" +}, +"serviceAgentAuth": { +"enum": [ +"SERVICE_AGENT_AUTH_UNSPECIFIED", +"NONE", +"ID_TOKEN", +"ACCESS_TOKEN" +], +"enumDescriptions": [ +"", +"", +"", +"" +], +"type": "string" +}, +"uri": { +"type": "string" +}, +"username": { +"deprecated": true, +"type": "string" +}, +"webhookType": { +"enum": [ +"WEBHOOK_TYPE_UNSPECIFIED", +"STANDARD", +"FLEXIBLE" +], +"enumDescriptions": [ +"", +"", +"" +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3WebhookGenericWebServiceOAuthConfig": { +"id": "GoogleCloudDialogflowCxV3WebhookGenericWebServiceOAuthConfig", +"properties": { +"clientId": { +"type": "string" +}, +"clientSecret": { +"type": "string" +}, +"scopes": { +"items": { +"type": "string" +}, +"type": "array" +}, +"secretVersionForClientSecret": { +"type": "string" +}, +"tokenEndpoint": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3WebhookGenericWebServiceSecretVersionHeaderValue": { +"id": "GoogleCloudDialogflowCxV3WebhookGenericWebServiceSecretVersionHeaderValue", +"properties": { +"secretVersion": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3WebhookGenericWebServiceServiceAccountAuthConfig": { +"id": "GoogleCloudDialogflowCxV3WebhookGenericWebServiceServiceAccountAuthConfig", +"properties": { +"serviceAccount": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3WebhookRequest": { +"id": "GoogleCloudDialogflowCxV3WebhookRequest", +"properties": { +"detectIntentResponseId": { +"type": "string" +}, +"dtmfDigits": { +"type": "string" +}, +"fulfillmentInfo": { +"$ref": "GoogleCloudDialogflowCxV3WebhookRequestFulfillmentInfo" +}, +"intentInfo": { +"$ref": "GoogleCloudDialogflowCxV3WebhookRequestIntentInfo" +}, +"languageCode": { +"type": "string" +}, +"languageInfo": { +"$ref": "GoogleCloudDialogflowCxV3LanguageInfo" +}, +"messages": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3ResponseMessage" +}, +"type": "array" +}, +"pageInfo": { +"$ref": "GoogleCloudDialogflowCxV3PageInfo" +}, +"payload": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"type": "object" +}, +"sentimentAnalysisResult": { +"$ref": "GoogleCloudDialogflowCxV3WebhookRequestSentimentAnalysisResult" +}, +"sessionInfo": { +"$ref": "GoogleCloudDialogflowCxV3SessionInfo" +}, +"text": { +"type": "string" +}, +"transcript": { +"type": "string" +}, +"triggerEvent": { +"type": "string" +}, +"triggerIntent": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3WebhookRequestFulfillmentInfo": { +"id": "GoogleCloudDialogflowCxV3WebhookRequestFulfillmentInfo", +"properties": { +"tag": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3WebhookRequestIntentInfo": { +"id": "GoogleCloudDialogflowCxV3WebhookRequestIntentInfo", +"properties": { +"confidence": { +"format": "float", +"type": "number" +}, +"displayName": { +"type": "string" +}, +"lastMatchedIntent": { +"type": "string" +}, +"parameters": { +"additionalProperties": { +"$ref": "GoogleCloudDialogflowCxV3WebhookRequestIntentInfoIntentParameterValue" +}, +"type": "object" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3WebhookRequestIntentInfoIntentParameterValue": { +"id": "GoogleCloudDialogflowCxV3WebhookRequestIntentInfoIntentParameterValue", +"properties": { +"originalValue": { +"type": "string" +}, +"resolvedValue": { +"type": "any" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3WebhookRequestSentimentAnalysisResult": { +"id": "GoogleCloudDialogflowCxV3WebhookRequestSentimentAnalysisResult", +"properties": { +"magnitude": { +"format": "float", +"type": "number" +}, +"score": { +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3WebhookResponse": { +"id": "GoogleCloudDialogflowCxV3WebhookResponse", +"properties": { +"fulfillmentResponse": { +"$ref": "GoogleCloudDialogflowCxV3WebhookResponseFulfillmentResponse" +}, +"pageInfo": { +"$ref": "GoogleCloudDialogflowCxV3PageInfo" +}, +"payload": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"type": "object" +}, +"sessionInfo": { +"$ref": "GoogleCloudDialogflowCxV3SessionInfo" +}, +"targetFlow": { +"type": "string" +}, +"targetPage": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3WebhookResponseFulfillmentResponse": { +"id": "GoogleCloudDialogflowCxV3WebhookResponseFulfillmentResponse", +"properties": { +"mergeBehavior": { +"enum": [ +"MERGE_BEHAVIOR_UNSPECIFIED", +"APPEND", +"REPLACE" +], +"enumDescriptions": [ +"", +"", +"" +], +"type": "string" +}, +"messages": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3ResponseMessage" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3WebhookServiceDirectoryConfig": { +"id": "GoogleCloudDialogflowCxV3WebhookServiceDirectoryConfig", +"properties": { +"genericWebService": { +"$ref": "GoogleCloudDialogflowCxV3WebhookGenericWebService" +}, +"service": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1AdvancedSettings": { +"id": "GoogleCloudDialogflowCxV3beta1AdvancedSettings", +"properties": { +"audioExportGcsDestination": { +"$ref": "GoogleCloudDialogflowCxV3beta1GcsDestination" +}, +"dtmfSettings": { +"$ref": "GoogleCloudDialogflowCxV3beta1AdvancedSettingsDtmfSettings" +}, +"loggingSettings": { +"$ref": "GoogleCloudDialogflowCxV3beta1AdvancedSettingsLoggingSettings" +}, +"speechSettings": { +"$ref": "GoogleCloudDialogflowCxV3beta1AdvancedSettingsSpeechSettings" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1AdvancedSettingsDtmfSettings": { +"id": "GoogleCloudDialogflowCxV3beta1AdvancedSettingsDtmfSettings", +"properties": { +"enabled": { +"type": "boolean" +}, +"endpointingTimeoutDuration": { +"format": "google-duration", +"type": "string" +}, +"finishDigit": { +"type": "string" +}, +"interdigitTimeoutDuration": { +"format": "google-duration", +"type": "string" +}, +"maxDigits": { +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1AdvancedSettingsLoggingSettings": { +"id": "GoogleCloudDialogflowCxV3beta1AdvancedSettingsLoggingSettings", +"properties": { +"enableConsentBasedRedaction": { +"type": "boolean" +}, +"enableInteractionLogging": { +"type": "boolean" +}, +"enableStackdriverLogging": { +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1AdvancedSettingsSpeechSettings": { +"id": "GoogleCloudDialogflowCxV3beta1AdvancedSettingsSpeechSettings", +"properties": { +"endpointerSensitivity": { +"format": "int32", +"type": "integer" +}, +"models": { +"additionalProperties": { +"type": "string" +}, +"type": "object" +}, +"noSpeechTimeout": { +"format": "google-duration", +"type": "string" +}, +"useTimeoutBasedEndpointing": { +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1AudioInput": { +"id": "GoogleCloudDialogflowCxV3beta1AudioInput", +"properties": { +"audio": { +"format": "byte", +"type": "string" +}, +"config": { +"$ref": "GoogleCloudDialogflowCxV3beta1InputAudioConfig" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1BargeInConfig": { +"id": "GoogleCloudDialogflowCxV3beta1BargeInConfig", +"properties": { +"noBargeInDuration": { +"format": "google-duration", +"type": "string" +}, +"totalDuration": { +"format": "google-duration", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1BatchRunTestCasesMetadata": { +"id": "GoogleCloudDialogflowCxV3beta1BatchRunTestCasesMetadata", +"properties": { +"errors": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3beta1TestError" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1BatchRunTestCasesResponse": { +"id": "GoogleCloudDialogflowCxV3beta1BatchRunTestCasesResponse", +"properties": { +"results": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3beta1TestCaseResult" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1ContinuousTestResult": { +"id": "GoogleCloudDialogflowCxV3beta1ContinuousTestResult", +"properties": { +"name": { +"type": "string" +}, +"result": { +"enum": [ +"AGGREGATED_TEST_RESULT_UNSPECIFIED", +"PASSED", +"FAILED" +], +"enumDescriptions": [ +"", +"", +"" +], +"type": "string" +}, +"runTime": { +"format": "google-datetime", +"type": "string" +}, +"testCaseResults": { +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1ConversationSignals": { +"id": "GoogleCloudDialogflowCxV3beta1ConversationSignals", +"properties": { +"turnSignals": { +"$ref": "GoogleCloudDialogflowCxV3beta1TurnSignals" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1ConversationTurn": { +"id": "GoogleCloudDialogflowCxV3beta1ConversationTurn", +"properties": { +"userInput": { +"$ref": "GoogleCloudDialogflowCxV3beta1ConversationTurnUserInput" +}, +"virtualAgentOutput": { +"$ref": "GoogleCloudDialogflowCxV3beta1ConversationTurnVirtualAgentOutput" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1ConversationTurnUserInput": { +"id": "GoogleCloudDialogflowCxV3beta1ConversationTurnUserInput", +"properties": { +"enableSentimentAnalysis": { +"type": "boolean" +}, +"injectedParameters": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"type": "object" +}, +"input": { +"$ref": "GoogleCloudDialogflowCxV3beta1QueryInput" +}, +"isWebhookEnabled": { +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1ConversationTurnVirtualAgentOutput": { +"id": "GoogleCloudDialogflowCxV3beta1ConversationTurnVirtualAgentOutput", +"properties": { +"currentPage": { +"$ref": "GoogleCloudDialogflowCxV3beta1Page" +}, +"diagnosticInfo": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"type": "object" +}, +"differences": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3beta1TestRunDifference" +}, +"readOnly": true, +"type": "array" +}, +"sessionParameters": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"type": "object" +}, +"status": { +"$ref": "GoogleRpcStatus" +}, +"textResponses": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3beta1ResponseMessageText" +}, +"type": "array" +}, +"triggeredIntent": { +"$ref": "GoogleCloudDialogflowCxV3beta1Intent" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1CreateVersionOperationMetadata": { +"id": "GoogleCloudDialogflowCxV3beta1CreateVersionOperationMetadata", +"properties": { +"version": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1DataStoreConnection": { +"id": "GoogleCloudDialogflowCxV3beta1DataStoreConnection", +"properties": { +"dataStore": { +"type": "string" +}, +"dataStoreType": { +"enum": [ +"DATA_STORE_TYPE_UNSPECIFIED", +"PUBLIC_WEB", +"UNSTRUCTURED", +"STRUCTURED" +], +"enumDescriptions": [ +"", +"", +"", +"" +], +"type": "string" +}, +"documentProcessingMode": { +"enum": [ +"DOCUMENT_PROCESSING_MODE_UNSPECIFIED", +"DOCUMENTS", +"CHUNKS" +], +"enumDescriptions": [ +"", +"", +"" +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1DeployFlowMetadata": { +"id": "GoogleCloudDialogflowCxV3beta1DeployFlowMetadata", +"properties": { +"testErrors": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3beta1TestError" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1DeployFlowResponse": { +"id": "GoogleCloudDialogflowCxV3beta1DeployFlowResponse", +"properties": { +"deployment": { +"type": "string" +}, +"environment": { +"$ref": "GoogleCloudDialogflowCxV3beta1Environment" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1DtmfInput": { +"id": "GoogleCloudDialogflowCxV3beta1DtmfInput", +"properties": { +"digits": { +"type": "string" +}, +"finishDigit": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1Environment": { +"id": "GoogleCloudDialogflowCxV3beta1Environment", +"properties": { +"description": { +"type": "string" +}, +"displayName": { +"type": "string" +}, +"name": { +"type": "string" +}, +"testCasesConfig": { +"$ref": "GoogleCloudDialogflowCxV3beta1EnvironmentTestCasesConfig" +}, +"updateTime": { +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"versionConfigs": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3beta1EnvironmentVersionConfig" +}, +"type": "array" +}, +"webhookConfig": { +"$ref": "GoogleCloudDialogflowCxV3beta1EnvironmentWebhookConfig" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1EnvironmentTestCasesConfig": { +"id": "GoogleCloudDialogflowCxV3beta1EnvironmentTestCasesConfig", +"properties": { +"enableContinuousRun": { +"type": "boolean" +}, +"enablePredeploymentRun": { +"type": "boolean" +}, +"testCases": { +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1EnvironmentVersionConfig": { +"id": "GoogleCloudDialogflowCxV3beta1EnvironmentVersionConfig", +"properties": { +"version": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1EnvironmentWebhookConfig": { +"id": "GoogleCloudDialogflowCxV3beta1EnvironmentWebhookConfig", +"properties": { +"webhookOverrides": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3beta1Webhook" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1EventHandler": { +"id": "GoogleCloudDialogflowCxV3beta1EventHandler", +"properties": { +"event": { +"type": "string" +}, +"name": { +"readOnly": true, +"type": "string" +}, +"targetFlow": { +"type": "string" +}, +"targetPage": { +"type": "string" +}, +"targetPlaybook": { +"type": "string" +}, +"triggerFulfillment": { +"$ref": "GoogleCloudDialogflowCxV3beta1Fulfillment" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1EventInput": { +"id": "GoogleCloudDialogflowCxV3beta1EventInput", +"properties": { +"event": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1ExportAgentResponse": { +"id": "GoogleCloudDialogflowCxV3beta1ExportAgentResponse", +"properties": { +"agentContent": { +"format": "byte", +"type": "string" +}, +"agentUri": { +"type": "string" +}, +"commitSha": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1ExportEntityTypesMetadata": { +"id": "GoogleCloudDialogflowCxV3beta1ExportEntityTypesMetadata", +"properties": {}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1ExportEntityTypesResponse": { +"id": "GoogleCloudDialogflowCxV3beta1ExportEntityTypesResponse", +"properties": { +"entityTypesContent": { +"$ref": "GoogleCloudDialogflowCxV3beta1InlineDestination" +}, +"entityTypesUri": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1ExportFlowResponse": { +"id": "GoogleCloudDialogflowCxV3beta1ExportFlowResponse", +"properties": { +"flowContent": { +"format": "byte", +"type": "string" +}, +"flowUri": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1ExportIntentsMetadata": { +"id": "GoogleCloudDialogflowCxV3beta1ExportIntentsMetadata", +"properties": {}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1ExportIntentsResponse": { +"id": "GoogleCloudDialogflowCxV3beta1ExportIntentsResponse", +"properties": { +"intentsContent": { +"$ref": "GoogleCloudDialogflowCxV3beta1InlineDestination" +}, +"intentsUri": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1ExportTestCasesMetadata": { +"id": "GoogleCloudDialogflowCxV3beta1ExportTestCasesMetadata", +"properties": {}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1ExportTestCasesResponse": { +"id": "GoogleCloudDialogflowCxV3beta1ExportTestCasesResponse", +"properties": { +"content": { +"format": "byte", +"type": "string" +}, +"gcsUri": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1Form": { +"id": "GoogleCloudDialogflowCxV3beta1Form", +"properties": { +"parameters": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3beta1FormParameter" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1FormParameter": { +"id": "GoogleCloudDialogflowCxV3beta1FormParameter", +"properties": { +"advancedSettings": { +"$ref": "GoogleCloudDialogflowCxV3beta1AdvancedSettings" +}, +"defaultValue": { +"type": "any" +}, +"displayName": { +"type": "string" +}, +"entityType": { +"type": "string" +}, +"fillBehavior": { +"$ref": "GoogleCloudDialogflowCxV3beta1FormParameterFillBehavior" +}, +"isList": { +"type": "boolean" +}, +"redact": { +"type": "boolean" +}, +"required": { +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1FormParameterFillBehavior": { +"id": "GoogleCloudDialogflowCxV3beta1FormParameterFillBehavior", +"properties": { +"initialPromptFulfillment": { +"$ref": "GoogleCloudDialogflowCxV3beta1Fulfillment" +}, +"repromptEventHandlers": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3beta1EventHandler" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1Fulfillment": { +"id": "GoogleCloudDialogflowCxV3beta1Fulfillment", +"properties": { +"advancedSettings": { +"$ref": "GoogleCloudDialogflowCxV3beta1AdvancedSettings" +}, +"conditionalCases": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCases" +}, +"type": "array" +}, +"enableGenerativeFallback": { +"type": "boolean" +}, +"generators": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3beta1FulfillmentGeneratorSettings" +}, +"type": "array" +}, +"messages": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3beta1ResponseMessage" +}, +"type": "array" +}, +"returnPartialResponses": { +"type": "boolean" +}, +"setParameterActions": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3beta1FulfillmentSetParameterAction" +}, +"type": "array" +}, +"tag": { +"type": "string" +}, +"webhook": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCases": { +"id": "GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCases", +"properties": { +"cases": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCase" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCase": { +"id": "GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCase", +"properties": { +"caseContent": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCaseCaseContent" +}, +"type": "array" +}, +"condition": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCaseCaseContent": { +"id": "GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCaseCaseContent", +"properties": { +"additionalCases": { +"$ref": "GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCases" +}, +"message": { +"$ref": "GoogleCloudDialogflowCxV3beta1ResponseMessage" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1FulfillmentGeneratorSettings": { +"id": "GoogleCloudDialogflowCxV3beta1FulfillmentGeneratorSettings", +"properties": { +"generator": { +"type": "string" +}, +"inputParameters": { +"additionalProperties": { +"type": "string" +}, +"type": "object" +}, +"outputParameter": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1FulfillmentSetParameterAction": { +"id": "GoogleCloudDialogflowCxV3beta1FulfillmentSetParameterAction", +"properties": { +"parameter": { +"type": "string" +}, +"value": { +"type": "any" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1GcsDestination": { +"id": "GoogleCloudDialogflowCxV3beta1GcsDestination", +"properties": { +"uri": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1ImportEntityTypesMetadata": { +"id": "GoogleCloudDialogflowCxV3beta1ImportEntityTypesMetadata", +"properties": {}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1ImportEntityTypesResponse": { +"id": "GoogleCloudDialogflowCxV3beta1ImportEntityTypesResponse", +"properties": { +"conflictingResources": { +"$ref": "GoogleCloudDialogflowCxV3beta1ImportEntityTypesResponseConflictingResources" +}, +"entityTypes": { +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1ImportEntityTypesResponseConflictingResources": { +"id": "GoogleCloudDialogflowCxV3beta1ImportEntityTypesResponseConflictingResources", +"properties": { +"entityDisplayNames": { +"items": { +"type": "string" +}, +"type": "array" +}, +"entityTypeDisplayNames": { +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1ImportFlowResponse": { +"id": "GoogleCloudDialogflowCxV3beta1ImportFlowResponse", +"properties": { +"flow": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1ImportIntentsMetadata": { +"id": "GoogleCloudDialogflowCxV3beta1ImportIntentsMetadata", +"properties": {}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1ImportIntentsResponse": { +"id": "GoogleCloudDialogflowCxV3beta1ImportIntentsResponse", +"properties": { +"conflictingResources": { +"$ref": "GoogleCloudDialogflowCxV3beta1ImportIntentsResponseConflictingResources" +}, +"intents": { +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1ImportIntentsResponseConflictingResources": { +"id": "GoogleCloudDialogflowCxV3beta1ImportIntentsResponseConflictingResources", +"properties": { +"entityDisplayNames": { +"items": { +"type": "string" +}, +"type": "array" +}, +"intentDisplayNames": { +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1ImportTestCasesMetadata": { +"id": "GoogleCloudDialogflowCxV3beta1ImportTestCasesMetadata", +"properties": { +"errors": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3beta1TestCaseError" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1ImportTestCasesResponse": { +"id": "GoogleCloudDialogflowCxV3beta1ImportTestCasesResponse", +"properties": { +"names": { +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1InlineDestination": { +"id": "GoogleCloudDialogflowCxV3beta1InlineDestination", +"properties": { +"content": { +"format": "byte", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1InputAudioConfig": { +"id": "GoogleCloudDialogflowCxV3beta1InputAudioConfig", +"properties": { +"audioEncoding": { +"enum": [ +"AUDIO_ENCODING_UNSPECIFIED", +"AUDIO_ENCODING_LINEAR_16", +"AUDIO_ENCODING_FLAC", +"AUDIO_ENCODING_MULAW", +"AUDIO_ENCODING_AMR", +"AUDIO_ENCODING_AMR_WB", +"AUDIO_ENCODING_OGG_OPUS", +"AUDIO_ENCODING_SPEEX_WITH_HEADER_BYTE", +"AUDIO_ENCODING_ALAW" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"", +"", +"", +"" +], +"type": "string" +}, +"bargeInConfig": { +"$ref": "GoogleCloudDialogflowCxV3beta1BargeInConfig" +}, +"enableWordInfo": { +"type": "boolean" +}, +"model": { +"type": "string" +}, +"modelVariant": { +"enum": [ +"SPEECH_MODEL_VARIANT_UNSPECIFIED", +"USE_BEST_AVAILABLE", +"USE_STANDARD", +"USE_ENHANCED" +], +"enumDescriptions": [ +"", +"", +"", +"" +], +"type": "string" +}, +"optOutConformerModelMigration": { +"type": "boolean" +}, +"phraseHints": { +"items": { +"type": "string" +}, +"type": "array" +}, +"sampleRateHertz": { +"format": "int32", +"type": "integer" +}, +"singleUtterance": { +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1Intent": { +"id": "GoogleCloudDialogflowCxV3beta1Intent", +"properties": { +"description": { +"type": "string" +}, +"displayName": { +"type": "string" +}, +"isFallback": { +"type": "boolean" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"type": "object" +}, +"name": { +"type": "string" +}, +"parameters": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3beta1IntentParameter" +}, +"type": "array" +}, +"priority": { +"format": "int32", +"type": "integer" +}, +"trainingPhrases": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3beta1IntentTrainingPhrase" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1IntentInput": { +"id": "GoogleCloudDialogflowCxV3beta1IntentInput", +"properties": { +"intent": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1IntentParameter": { +"id": "GoogleCloudDialogflowCxV3beta1IntentParameter", +"properties": { +"entityType": { +"type": "string" +}, +"id": { +"type": "string" +}, +"isList": { +"type": "boolean" +}, +"redact": { +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1IntentTrainingPhrase": { +"id": "GoogleCloudDialogflowCxV3beta1IntentTrainingPhrase", +"properties": { +"id": { +"readOnly": true, +"type": "string" +}, +"parts": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3beta1IntentTrainingPhrasePart" +}, +"type": "array" +}, +"repeatCount": { +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1IntentTrainingPhrasePart": { +"id": "GoogleCloudDialogflowCxV3beta1IntentTrainingPhrasePart", +"properties": { +"parameterId": { +"type": "string" +}, +"text": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1KnowledgeConnectorSettings": { +"id": "GoogleCloudDialogflowCxV3beta1KnowledgeConnectorSettings", +"properties": { +"dataStoreConnections": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3beta1DataStoreConnection" +}, +"type": "array" +}, +"enabled": { +"type": "boolean" +}, +"targetFlow": { +"type": "string" +}, +"targetPage": { +"type": "string" +}, +"triggerFulfillment": { +"$ref": "GoogleCloudDialogflowCxV3beta1Fulfillment" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1LanguageInfo": { +"id": "GoogleCloudDialogflowCxV3beta1LanguageInfo", +"properties": { +"confidenceScore": { +"format": "float", +"type": "number" +}, +"inputLanguageCode": { +"type": "string" +}, +"resolvedLanguageCode": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1Page": { +"id": "GoogleCloudDialogflowCxV3beta1Page", +"properties": { +"advancedSettings": { +"$ref": "GoogleCloudDialogflowCxV3beta1AdvancedSettings" +}, +"description": { +"type": "string" +}, +"displayName": { +"type": "string" +}, +"entryFulfillment": { +"$ref": "GoogleCloudDialogflowCxV3beta1Fulfillment" +}, +"eventHandlers": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3beta1EventHandler" +}, +"type": "array" +}, +"form": { +"$ref": "GoogleCloudDialogflowCxV3beta1Form" +}, +"knowledgeConnectorSettings": { +"$ref": "GoogleCloudDialogflowCxV3beta1KnowledgeConnectorSettings" +}, +"name": { +"type": "string" +}, +"transitionRouteGroups": { +"items": { +"type": "string" +}, +"type": "array" +}, +"transitionRoutes": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3beta1TransitionRoute" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1PageInfo": { +"id": "GoogleCloudDialogflowCxV3beta1PageInfo", +"properties": { +"currentPage": { +"type": "string" +}, +"displayName": { +"type": "string" +}, +"formInfo": { +"$ref": "GoogleCloudDialogflowCxV3beta1PageInfoFormInfo" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1PageInfoFormInfo": { +"id": "GoogleCloudDialogflowCxV3beta1PageInfoFormInfo", +"properties": { +"parameterInfo": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3beta1PageInfoFormInfoParameterInfo" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1PageInfoFormInfoParameterInfo": { +"id": "GoogleCloudDialogflowCxV3beta1PageInfoFormInfoParameterInfo", +"properties": { +"displayName": { +"type": "string" +}, +"justCollected": { +"type": "boolean" +}, +"required": { +"type": "boolean" +}, +"state": { +"enum": [ +"PARAMETER_STATE_UNSPECIFIED", +"EMPTY", +"INVALID", +"FILLED" +], +"enumDescriptions": [ +"", +"", +"", +"" +], +"type": "string" +}, +"value": { +"type": "any" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1QueryInput": { +"id": "GoogleCloudDialogflowCxV3beta1QueryInput", +"properties": { +"audio": { +"$ref": "GoogleCloudDialogflowCxV3beta1AudioInput" +}, +"dtmf": { +"$ref": "GoogleCloudDialogflowCxV3beta1DtmfInput" +}, +"event": { +"$ref": "GoogleCloudDialogflowCxV3beta1EventInput" +}, +"intent": { +"$ref": "GoogleCloudDialogflowCxV3beta1IntentInput" +}, +"languageCode": { +"type": "string" +}, +"text": { +"$ref": "GoogleCloudDialogflowCxV3beta1TextInput" +}, +"toolCallResult": { +"$ref": "GoogleCloudDialogflowCxV3beta1ToolCallResult" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1ResponseMessage": { +"id": "GoogleCloudDialogflowCxV3beta1ResponseMessage", +"properties": { +"channel": { +"type": "string" +}, +"conversationSuccess": { +"$ref": "GoogleCloudDialogflowCxV3beta1ResponseMessageConversationSuccess" +}, +"endInteraction": { +"$ref": "GoogleCloudDialogflowCxV3beta1ResponseMessageEndInteraction", +"readOnly": true +}, +"knowledgeInfoCard": { +"$ref": "GoogleCloudDialogflowCxV3beta1ResponseMessageKnowledgeInfoCard" +}, +"liveAgentHandoff": { +"$ref": "GoogleCloudDialogflowCxV3beta1ResponseMessageLiveAgentHandoff" +}, +"mixedAudio": { +"$ref": "GoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudio", +"readOnly": true +}, +"outputAudioText": { +"$ref": "GoogleCloudDialogflowCxV3beta1ResponseMessageOutputAudioText" +}, +"payload": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"type": "object" +}, +"playAudio": { +"$ref": "GoogleCloudDialogflowCxV3beta1ResponseMessagePlayAudio" +}, +"telephonyTransferCall": { +"$ref": "GoogleCloudDialogflowCxV3beta1ResponseMessageTelephonyTransferCall" +}, +"text": { +"$ref": "GoogleCloudDialogflowCxV3beta1ResponseMessageText" +}, +"toolCall": { +"$ref": "GoogleCloudDialogflowCxV3beta1ToolCall" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1ResponseMessageConversationSuccess": { +"id": "GoogleCloudDialogflowCxV3beta1ResponseMessageConversationSuccess", +"properties": { +"metadata": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"type": "object" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1ResponseMessageEndInteraction": { +"id": "GoogleCloudDialogflowCxV3beta1ResponseMessageEndInteraction", +"properties": {}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1ResponseMessageKnowledgeInfoCard": { +"id": "GoogleCloudDialogflowCxV3beta1ResponseMessageKnowledgeInfoCard", +"properties": {}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1ResponseMessageLiveAgentHandoff": { +"id": "GoogleCloudDialogflowCxV3beta1ResponseMessageLiveAgentHandoff", +"properties": { +"metadata": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"type": "object" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudio": { +"id": "GoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudio", +"properties": { +"segments": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudioSegment" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudioSegment": { +"id": "GoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudioSegment", +"properties": { +"allowPlaybackInterruption": { +"readOnly": true, +"type": "boolean" +}, +"audio": { +"format": "byte", +"type": "string" +}, +"uri": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1ResponseMessageOutputAudioText": { +"id": "GoogleCloudDialogflowCxV3beta1ResponseMessageOutputAudioText", +"properties": { +"allowPlaybackInterruption": { +"readOnly": true, +"type": "boolean" +}, +"ssml": { +"type": "string" +}, +"text": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1ResponseMessagePlayAudio": { +"id": "GoogleCloudDialogflowCxV3beta1ResponseMessagePlayAudio", +"properties": { +"allowPlaybackInterruption": { +"readOnly": true, +"type": "boolean" +}, +"audioUri": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1ResponseMessageTelephonyTransferCall": { +"id": "GoogleCloudDialogflowCxV3beta1ResponseMessageTelephonyTransferCall", +"properties": { +"phoneNumber": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1ResponseMessageText": { +"id": "GoogleCloudDialogflowCxV3beta1ResponseMessageText", +"properties": { +"allowPlaybackInterruption": { +"readOnly": true, +"type": "boolean" +}, +"text": { +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1RunContinuousTestMetadata": { +"id": "GoogleCloudDialogflowCxV3beta1RunContinuousTestMetadata", +"properties": { +"errors": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3beta1TestError" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1RunContinuousTestResponse": { +"id": "GoogleCloudDialogflowCxV3beta1RunContinuousTestResponse", +"properties": { +"continuousTestResult": { +"$ref": "GoogleCloudDialogflowCxV3beta1ContinuousTestResult" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1RunTestCaseMetadata": { +"id": "GoogleCloudDialogflowCxV3beta1RunTestCaseMetadata", +"properties": {}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1RunTestCaseResponse": { +"id": "GoogleCloudDialogflowCxV3beta1RunTestCaseResponse", +"properties": { +"result": { +"$ref": "GoogleCloudDialogflowCxV3beta1TestCaseResult" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1SessionInfo": { +"id": "GoogleCloudDialogflowCxV3beta1SessionInfo", +"properties": { +"parameters": { +"additionalProperties": { +"type": "any" +}, +"type": "object" +}, +"session": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1TestCase": { +"id": "GoogleCloudDialogflowCxV3beta1TestCase", +"properties": { +"creationTime": { +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"displayName": { +"type": "string" +}, +"lastTestResult": { +"$ref": "GoogleCloudDialogflowCxV3beta1TestCaseResult" +}, +"name": { +"type": "string" +}, +"notes": { +"type": "string" +}, +"tags": { +"items": { +"type": "string" +}, +"type": "array" +}, +"testCaseConversationTurns": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3beta1ConversationTurn" +}, +"type": "array" +}, +"testConfig": { +"$ref": "GoogleCloudDialogflowCxV3beta1TestConfig" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1TestCaseError": { +"id": "GoogleCloudDialogflowCxV3beta1TestCaseError", +"properties": { +"status": { +"$ref": "GoogleRpcStatus" +}, +"testCase": { +"$ref": "GoogleCloudDialogflowCxV3beta1TestCase" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1TestCaseResult": { +"id": "GoogleCloudDialogflowCxV3beta1TestCaseResult", +"properties": { +"conversationTurns": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3beta1ConversationTurn" +}, +"type": "array" +}, +"environment": { +"type": "string" +}, +"name": { +"type": "string" +}, +"testResult": { +"enum": [ +"TEST_RESULT_UNSPECIFIED", +"PASSED", +"FAILED" +], +"enumDescriptions": [ +"", +"", +"" +], +"type": "string" +}, +"testTime": { +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1TestConfig": { +"id": "GoogleCloudDialogflowCxV3beta1TestConfig", +"properties": { +"flow": { +"type": "string" +}, +"page": { +"type": "string" +}, +"trackingParameters": { +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1TestError": { +"id": "GoogleCloudDialogflowCxV3beta1TestError", +"properties": { +"status": { +"$ref": "GoogleRpcStatus" +}, +"testCase": { +"type": "string" +}, +"testTime": { +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1TestRunDifference": { +"id": "GoogleCloudDialogflowCxV3beta1TestRunDifference", +"properties": { +"description": { +"type": "string" +}, +"type": { +"enum": [ +"DIFF_TYPE_UNSPECIFIED", +"INTENT", +"PAGE", +"PARAMETERS", +"UTTERANCE", +"FLOW" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"" +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1TextInput": { +"id": "GoogleCloudDialogflowCxV3beta1TextInput", +"properties": { +"text": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1ToolCall": { +"id": "GoogleCloudDialogflowCxV3beta1ToolCall", +"properties": { +"action": { +"type": "string" +}, +"inputParameters": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"type": "object" +}, +"tool": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1ToolCallResult": { +"id": "GoogleCloudDialogflowCxV3beta1ToolCallResult", +"properties": { +"action": { +"type": "string" +}, +"error": { +"$ref": "GoogleCloudDialogflowCxV3beta1ToolCallResultError" +}, +"outputParameters": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"type": "object" +}, +"tool": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1ToolCallResultError": { +"id": "GoogleCloudDialogflowCxV3beta1ToolCallResultError", +"properties": { +"message": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1TransitionRoute": { +"id": "GoogleCloudDialogflowCxV3beta1TransitionRoute", +"properties": { +"condition": { +"type": "string" +}, +"description": { +"type": "string" +}, +"intent": { +"type": "string" +}, +"name": { +"readOnly": true, +"type": "string" +}, +"targetFlow": { +"type": "string" +}, +"targetPage": { +"type": "string" +}, +"triggerFulfillment": { +"$ref": "GoogleCloudDialogflowCxV3beta1Fulfillment" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1TurnSignals": { +"id": "GoogleCloudDialogflowCxV3beta1TurnSignals", +"properties": { +"agentEscalated": { +"type": "boolean" +}, +"dtmfUsed": { +"type": "boolean" +}, +"failureReasons": { +"items": { +"enum": [ +"FAILURE_REASON_UNSPECIFIED", +"FAILED_INTENT", +"FAILED_WEBHOOK" +], +"enumDescriptions": [ +"", +"", +"" +], +"type": "string" +}, +"type": "array" +}, +"noMatch": { +"type": "boolean" +}, +"noUserInput": { +"type": "boolean" +}, +"reachedEndPage": { +"type": "boolean" +}, +"sentimentMagnitude": { +"format": "float", +"type": "number" +}, +"sentimentScore": { +"format": "float", +"type": "number" +}, +"userEscalated": { +"type": "boolean" +}, +"webhookStatuses": { +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1Webhook": { +"id": "GoogleCloudDialogflowCxV3beta1Webhook", +"properties": { +"disabled": { +"type": "boolean" +}, +"displayName": { +"type": "string" +}, +"genericWebService": { +"$ref": "GoogleCloudDialogflowCxV3beta1WebhookGenericWebService" +}, +"name": { +"type": "string" +}, +"serviceDirectory": { +"$ref": "GoogleCloudDialogflowCxV3beta1WebhookServiceDirectoryConfig" +}, +"timeout": { +"format": "google-duration", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1WebhookGenericWebService": { +"id": "GoogleCloudDialogflowCxV3beta1WebhookGenericWebService", +"properties": { +"allowedCaCerts": { +"items": { +"format": "byte", +"type": "string" +}, +"type": "array" +}, +"httpMethod": { +"enum": [ +"HTTP_METHOD_UNSPECIFIED", +"POST", +"GET", +"HEAD", +"PUT", +"DELETE", +"PATCH", +"OPTIONS" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"", +"", +"" +], +"type": "string" +}, +"oauthConfig": { +"$ref": "GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceOAuthConfig" +}, +"parameterMapping": { +"additionalProperties": { +"type": "string" +}, +"type": "object" +}, +"password": { +"deprecated": true, +"type": "string" +}, +"requestBody": { +"type": "string" +}, +"requestHeaders": { +"additionalProperties": { +"type": "string" +}, +"type": "object" +}, +"secretVersionForUsernamePassword": { +"type": "string" +}, +"secretVersionsForRequestHeaders": { +"additionalProperties": { +"$ref": "GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceSecretVersionHeaderValue" +}, +"type": "object" +}, +"serviceAccountAuthConfig": { +"$ref": "GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceServiceAccountAuthConfig" +}, +"serviceAgentAuth": { +"enum": [ +"SERVICE_AGENT_AUTH_UNSPECIFIED", +"NONE", +"ID_TOKEN", +"ACCESS_TOKEN" +], +"enumDescriptions": [ +"", +"", +"", +"" +], +"type": "string" +}, +"uri": { +"type": "string" +}, +"username": { +"deprecated": true, +"type": "string" +}, +"webhookType": { +"enum": [ +"WEBHOOK_TYPE_UNSPECIFIED", +"STANDARD", +"FLEXIBLE" +], +"enumDescriptions": [ +"", +"", +"" +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceOAuthConfig": { +"id": "GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceOAuthConfig", +"properties": { +"clientId": { +"type": "string" +}, +"clientSecret": { +"type": "string" +}, +"scopes": { +"items": { +"type": "string" +}, +"type": "array" +}, +"secretVersionForClientSecret": { +"type": "string" +}, +"tokenEndpoint": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceSecretVersionHeaderValue": { +"id": "GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceSecretVersionHeaderValue", +"properties": { +"secretVersion": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceServiceAccountAuthConfig": { +"id": "GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceServiceAccountAuthConfig", +"properties": { +"serviceAccount": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1WebhookRequest": { +"id": "GoogleCloudDialogflowCxV3beta1WebhookRequest", +"properties": { +"detectIntentResponseId": { +"type": "string" +}, +"dtmfDigits": { +"type": "string" +}, +"fulfillmentInfo": { +"$ref": "GoogleCloudDialogflowCxV3beta1WebhookRequestFulfillmentInfo" +}, +"intentInfo": { +"$ref": "GoogleCloudDialogflowCxV3beta1WebhookRequestIntentInfo" +}, +"languageCode": { +"type": "string" +}, +"languageInfo": { +"$ref": "GoogleCloudDialogflowCxV3beta1LanguageInfo" +}, +"messages": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3beta1ResponseMessage" +}, +"type": "array" +}, +"pageInfo": { +"$ref": "GoogleCloudDialogflowCxV3beta1PageInfo" +}, +"payload": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"type": "object" +}, +"sentimentAnalysisResult": { +"$ref": "GoogleCloudDialogflowCxV3beta1WebhookRequestSentimentAnalysisResult" +}, +"sessionInfo": { +"$ref": "GoogleCloudDialogflowCxV3beta1SessionInfo" +}, +"text": { +"type": "string" +}, +"transcript": { +"type": "string" +}, +"triggerEvent": { +"type": "string" +}, +"triggerIntent": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1WebhookRequestFulfillmentInfo": { +"id": "GoogleCloudDialogflowCxV3beta1WebhookRequestFulfillmentInfo", +"properties": { +"tag": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1WebhookRequestIntentInfo": { +"id": "GoogleCloudDialogflowCxV3beta1WebhookRequestIntentInfo", +"properties": { +"confidence": { +"format": "float", +"type": "number" +}, +"displayName": { +"type": "string" +}, +"lastMatchedIntent": { +"type": "string" +}, +"parameters": { +"additionalProperties": { +"$ref": "GoogleCloudDialogflowCxV3beta1WebhookRequestIntentInfoIntentParameterValue" +}, +"type": "object" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1WebhookRequestIntentInfoIntentParameterValue": { +"id": "GoogleCloudDialogflowCxV3beta1WebhookRequestIntentInfoIntentParameterValue", +"properties": { +"originalValue": { +"type": "string" +}, +"resolvedValue": { +"type": "any" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1WebhookRequestSentimentAnalysisResult": { +"id": "GoogleCloudDialogflowCxV3beta1WebhookRequestSentimentAnalysisResult", +"properties": { +"magnitude": { +"format": "float", +"type": "number" +}, +"score": { +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1WebhookResponse": { +"id": "GoogleCloudDialogflowCxV3beta1WebhookResponse", +"properties": { +"fulfillmentResponse": { +"$ref": "GoogleCloudDialogflowCxV3beta1WebhookResponseFulfillmentResponse" +}, +"pageInfo": { +"$ref": "GoogleCloudDialogflowCxV3beta1PageInfo" +}, +"payload": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"type": "object" +}, +"sessionInfo": { +"$ref": "GoogleCloudDialogflowCxV3beta1SessionInfo" +}, +"targetFlow": { +"type": "string" +}, +"targetPage": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1WebhookResponseFulfillmentResponse": { +"id": "GoogleCloudDialogflowCxV3beta1WebhookResponseFulfillmentResponse", +"properties": { +"mergeBehavior": { +"enum": [ +"MERGE_BEHAVIOR_UNSPECIFIED", +"APPEND", +"REPLACE" +], +"enumDescriptions": [ +"", +"", +"" +], +"type": "string" +}, +"messages": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3beta1ResponseMessage" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1WebhookServiceDirectoryConfig": { +"id": "GoogleCloudDialogflowCxV3beta1WebhookServiceDirectoryConfig", +"properties": { +"genericWebService": { +"$ref": "GoogleCloudDialogflowCxV3beta1WebhookGenericWebService" +}, +"service": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2Agent": { +"id": "GoogleCloudDialogflowV2Agent", +"properties": { +"apiVersion": { +"enum": [ +"API_VERSION_UNSPECIFIED", +"API_VERSION_V1", +"API_VERSION_V2", +"API_VERSION_V2_BETA_1" +], +"enumDescriptions": [ +"", +"", +"", +"" +], +"type": "string" +}, +"avatarUri": { +"type": "string" +}, +"classificationThreshold": { +"format": "float", +"type": "number" +}, +"defaultLanguageCode": { +"type": "string" +}, +"description": { +"type": "string" +}, +"displayName": { +"type": "string" +}, +"enableLogging": { +"type": "boolean" +}, +"matchMode": { +"deprecated": true, +"enum": [ +"MATCH_MODE_UNSPECIFIED", +"MATCH_MODE_HYBRID", +"MATCH_MODE_ML_ONLY" +], +"enumDescriptions": [ +"", +"", +"" +], +"type": "string" +}, +"parent": { +"type": "string" +}, +"supportedLanguageCodes": { +"items": { +"type": "string" +}, +"type": "array" +}, +"tier": { +"enum": [ +"TIER_UNSPECIFIED", +"TIER_STANDARD", +"TIER_ENTERPRISE", +"TIER_ENTERPRISE_PLUS" +], +"enumDeprecated": [ +false, +false, +false, +true +], +"enumDescriptions": [ +"", +"", +"", +"" +], +"type": "string" +}, +"timeZone": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2AgentAssistantFeedback": { +"id": "GoogleCloudDialogflowV2AgentAssistantFeedback", +"properties": { +"answerRelevance": { +"enum": [ +"ANSWER_RELEVANCE_UNSPECIFIED", +"IRRELEVANT", +"RELEVANT" +], +"enumDescriptions": [ +"", +"", +"" +], +"type": "string" +}, +"documentCorrectness": { +"enum": [ +"DOCUMENT_CORRECTNESS_UNSPECIFIED", +"INCORRECT", +"CORRECT" +], +"enumDescriptions": [ +"", +"", +"" +], +"type": "string" +}, +"documentEfficiency": { +"enum": [ +"DOCUMENT_EFFICIENCY_UNSPECIFIED", +"INEFFICIENT", +"EFFICIENT" +], +"enumDescriptions": [ +"", +"", +"" +], +"type": "string" +}, +"knowledgeAssistFeedback": { +"$ref": "GoogleCloudDialogflowV2AgentAssistantFeedbackKnowledgeAssistFeedback" +}, +"knowledgeSearchFeedback": { +"$ref": "GoogleCloudDialogflowV2AgentAssistantFeedbackKnowledgeSearchFeedback" +}, +"summarizationFeedback": { +"$ref": "GoogleCloudDialogflowV2AgentAssistantFeedbackSummarizationFeedback" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2AgentAssistantFeedbackKnowledgeAssistFeedback": { +"id": "GoogleCloudDialogflowV2AgentAssistantFeedbackKnowledgeAssistFeedback", +"properties": { +"answerCopied": { +"type": "boolean" +}, +"clickedUris": { +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2AgentAssistantFeedbackKnowledgeSearchFeedback": { +"id": "GoogleCloudDialogflowV2AgentAssistantFeedbackKnowledgeSearchFeedback", +"properties": { +"answerCopied": { +"type": "boolean" +}, +"clickedUris": { +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2AgentAssistantFeedbackSummarizationFeedback": { +"id": "GoogleCloudDialogflowV2AgentAssistantFeedbackSummarizationFeedback", +"properties": { +"startTime": { +"format": "google-datetime", +"type": "string" +}, +"submitTime": { +"format": "google-datetime", +"type": "string" +}, +"summaryText": { +"type": "string" +}, +"textSections": { +"additionalProperties": { +"type": "string" +}, +"type": "object" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2AgentAssistantRecord": { +"id": "GoogleCloudDialogflowV2AgentAssistantRecord", +"properties": { +"articleSuggestionAnswer": { +"$ref": "GoogleCloudDialogflowV2ArticleAnswer", +"readOnly": true +}, +"dialogflowAssistAnswer": { +"$ref": "GoogleCloudDialogflowV2DialogflowAssistAnswer", +"readOnly": true +}, +"faqAnswer": { +"$ref": "GoogleCloudDialogflowV2FaqAnswer", +"readOnly": true +}, +"generatorSuggestion": { +"$ref": "GoogleCloudDialogflowV2GeneratorSuggestion", +"readOnly": true +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2AgentCoachingContext": { +"id": "GoogleCloudDialogflowV2AgentCoachingContext", +"properties": { +"instructions": { +"items": { +"$ref": "GoogleCloudDialogflowV2AgentCoachingInstruction" +}, +"type": "array" +}, +"outputLanguageCode": { +"type": "string" +}, +"overarchingGuidance": { +"type": "string" +}, +"version": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2AgentCoachingInstruction": { +"id": "GoogleCloudDialogflowV2AgentCoachingInstruction", +"properties": { +"agentAction": { +"type": "string" +}, +"condition": { +"type": "string" +}, +"displayDetails": { +"type": "string" +}, +"displayName": { +"type": "string" +}, +"duplicateCheckResult": { +"$ref": "GoogleCloudDialogflowV2AgentCoachingInstructionDuplicateCheckResult", +"readOnly": true +}, +"systemAction": { +"type": "string" +}, +"triggeringEvent": { +"enum": [ +"TRIGGER_EVENT_UNSPECIFIED", +"END_OF_UTTERANCE", +"MANUAL_CALL", +"CUSTOMER_MESSAGE", +"AGENT_MESSAGE", +"TOOL_CALL_COMPLETION" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"" +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2AgentCoachingInstructionDuplicateCheckResult": { +"id": "GoogleCloudDialogflowV2AgentCoachingInstructionDuplicateCheckResult", +"properties": { +"duplicateSuggestions": { +"items": { +"$ref": "GoogleCloudDialogflowV2AgentCoachingInstructionDuplicateCheckResultDuplicateSuggestion" +}, +"readOnly": true, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2AgentCoachingInstructionDuplicateCheckResultDuplicateSuggestion": { +"id": "GoogleCloudDialogflowV2AgentCoachingInstructionDuplicateCheckResultDuplicateSuggestion", +"properties": { +"answerRecord": { +"readOnly": true, +"type": "string" +}, +"similarityScore": { +"format": "float", +"readOnly": true, +"type": "number" +}, +"suggestionIndex": { +"format": "int32", +"readOnly": true, +"type": "integer" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2AgentCoachingSuggestion": { +"id": "GoogleCloudDialogflowV2AgentCoachingSuggestion", +"properties": { +"agentActionSuggestions": { +"items": { +"$ref": "GoogleCloudDialogflowV2AgentCoachingSuggestionAgentActionSuggestion" +}, +"type": "array" +}, +"applicableInstructions": { +"items": { +"$ref": "GoogleCloudDialogflowV2AgentCoachingInstruction" +}, +"type": "array" +}, +"sampleResponses": { +"items": { +"$ref": "GoogleCloudDialogflowV2AgentCoachingSuggestionSampleResponse" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2AgentCoachingSuggestionAgentActionSuggestion": { +"id": "GoogleCloudDialogflowV2AgentCoachingSuggestionAgentActionSuggestion", +"properties": { +"agentAction": { +"type": "string" +}, +"duplicateCheckResult": { +"$ref": "GoogleCloudDialogflowV2AgentCoachingSuggestionDuplicateCheckResult", +"readOnly": true +}, +"sources": { +"$ref": "GoogleCloudDialogflowV2AgentCoachingSuggestionSources", +"readOnly": true +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2AgentCoachingSuggestionDuplicateCheckResult": { +"id": "GoogleCloudDialogflowV2AgentCoachingSuggestionDuplicateCheckResult", +"properties": { +"duplicateSuggestions": { +"items": { +"$ref": "GoogleCloudDialogflowV2AgentCoachingSuggestionDuplicateCheckResultDuplicateSuggestion" +}, +"readOnly": true, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2AgentCoachingSuggestionDuplicateCheckResultDuplicateSuggestion": { +"id": "GoogleCloudDialogflowV2AgentCoachingSuggestionDuplicateCheckResultDuplicateSuggestion", +"properties": { +"answerRecord": { +"readOnly": true, +"type": "string" +}, +"similarityScore": { +"format": "float", +"readOnly": true, +"type": "number" +}, +"sources": { +"$ref": "GoogleCloudDialogflowV2AgentCoachingSuggestionSources", +"readOnly": true +}, +"suggestionIndex": { +"format": "int32", +"readOnly": true, +"type": "integer" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2AgentCoachingSuggestionSampleResponse": { +"id": "GoogleCloudDialogflowV2AgentCoachingSuggestionSampleResponse", +"properties": { +"duplicateCheckResult": { +"$ref": "GoogleCloudDialogflowV2AgentCoachingSuggestionDuplicateCheckResult", +"readOnly": true +}, +"responseText": { +"type": "string" +}, +"sources": { +"$ref": "GoogleCloudDialogflowV2AgentCoachingSuggestionSources", +"readOnly": true +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2AgentCoachingSuggestionSources": { +"id": "GoogleCloudDialogflowV2AgentCoachingSuggestionSources", +"properties": { +"instructionIndexes": { +"items": { +"format": "int32", +"type": "integer" +}, +"readOnly": true, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2AnalyzeContentRequest": { +"id": "GoogleCloudDialogflowV2AnalyzeContentRequest", +"properties": { +"assistQueryParams": { +"$ref": "GoogleCloudDialogflowV2AssistQueryParameters" +}, +"audioInput": { +"$ref": "GoogleCloudDialogflowV2AudioInput" +}, +"cxParameters": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"type": "object" +}, +"eventInput": { +"$ref": "GoogleCloudDialogflowV2EventInput" +}, +"queryParams": { +"$ref": "GoogleCloudDialogflowV2QueryParameters" +}, +"replyAudioConfig": { +"$ref": "GoogleCloudDialogflowV2OutputAudioConfig" +}, +"requestId": { +"type": "string" +}, +"suggestionInput": { +"$ref": "GoogleCloudDialogflowV2SuggestionInput" +}, +"textInput": { +"$ref": "GoogleCloudDialogflowV2TextInput" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2AnalyzeContentResponse": { +"id": "GoogleCloudDialogflowV2AnalyzeContentResponse", +"properties": { +"automatedAgentReply": { +"$ref": "GoogleCloudDialogflowV2AutomatedAgentReply" +}, +"dtmfParameters": { +"$ref": "GoogleCloudDialogflowV2DtmfParameters" +}, +"endUserSuggestionResults": { +"items": { +"$ref": "GoogleCloudDialogflowV2SuggestionResult" +}, +"type": "array" +}, +"humanAgentSuggestionResults": { +"items": { +"$ref": "GoogleCloudDialogflowV2SuggestionResult" +}, +"type": "array" +}, +"message": { +"$ref": "GoogleCloudDialogflowV2Message" +}, +"replyAudio": { +"$ref": "GoogleCloudDialogflowV2OutputAudio" +}, +"replyText": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2AnnotatedMessagePart": { +"id": "GoogleCloudDialogflowV2AnnotatedMessagePart", +"properties": { +"entityType": { +"type": "string" +}, +"formattedValue": { +"type": "any" +}, +"text": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2AnswerFeedback": { +"id": "GoogleCloudDialogflowV2AnswerFeedback", +"properties": { +"agentAssistantDetailFeedback": { +"$ref": "GoogleCloudDialogflowV2AgentAssistantFeedback" +}, +"clickTime": { +"format": "google-datetime", +"type": "string" +}, +"clicked": { +"type": "boolean" +}, +"correctnessLevel": { +"enum": [ +"CORRECTNESS_LEVEL_UNSPECIFIED", +"NOT_CORRECT", +"PARTIALLY_CORRECT", +"FULLY_CORRECT" +], +"enumDescriptions": [ +"", +"", +"", +"" +], +"type": "string" +}, +"displayTime": { +"format": "google-datetime", +"type": "string" +}, +"displayed": { +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2AnswerRecord": { +"id": "GoogleCloudDialogflowV2AnswerRecord", +"properties": { +"agentAssistantRecord": { +"$ref": "GoogleCloudDialogflowV2AgentAssistantRecord", +"readOnly": true +}, +"answerFeedback": { +"$ref": "GoogleCloudDialogflowV2AnswerFeedback" +}, +"name": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2ArticleAnswer": { +"id": "GoogleCloudDialogflowV2ArticleAnswer", +"properties": { +"answerRecord": { +"type": "string" +}, +"confidence": { +"format": "float", +"type": "number" +}, +"metadata": { +"additionalProperties": { +"type": "string" +}, +"type": "object" +}, +"snippets": { +"items": { +"type": "string" +}, +"type": "array" +}, +"title": { +"type": "string" +}, +"uri": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2ArticleSuggestionModelMetadata": { +"id": "GoogleCloudDialogflowV2ArticleSuggestionModelMetadata", +"properties": { +"trainingModelType": { +"enum": [ +"MODEL_TYPE_UNSPECIFIED", +"SMART_REPLY_DUAL_ENCODER_MODEL", +"SMART_REPLY_BERT_MODEL" +], +"enumDescriptions": [ +"", +"", +"" +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2AssistQueryParameters": { +"id": "GoogleCloudDialogflowV2AssistQueryParameters", +"properties": { +"documentsMetadataFilters": { +"additionalProperties": { +"type": "string" +}, +"type": "object" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2AudioInput": { +"id": "GoogleCloudDialogflowV2AudioInput", +"properties": { +"audio": { +"format": "byte", +"type": "string" +}, +"config": { +"$ref": "GoogleCloudDialogflowV2InputAudioConfig" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2AutomatedAgentConfig": { +"id": "GoogleCloudDialogflowV2AutomatedAgentConfig", +"properties": { +"agent": { +"type": "string" +}, +"sessionTtl": { +"format": "google-duration", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2AutomatedAgentReply": { +"id": "GoogleCloudDialogflowV2AutomatedAgentReply", +"properties": { +"allowCancellation": { +"type": "boolean" +}, +"automatedAgentReplyType": { +"enum": [ +"AUTOMATED_AGENT_REPLY_TYPE_UNSPECIFIED", +"PARTIAL", +"FINAL" +], +"enumDescriptions": [ +"", +"", +"" +], +"type": "string" +}, +"cxCurrentPage": { +"type": "string" +}, +"detectIntentResponse": { +"$ref": "GoogleCloudDialogflowV2DetectIntentResponse" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2BatchCreateEntitiesRequest": { +"id": "GoogleCloudDialogflowV2BatchCreateEntitiesRequest", +"properties": { +"entities": { +"items": { +"$ref": "GoogleCloudDialogflowV2EntityTypeEntity" +}, +"type": "array" +}, +"languageCode": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2BatchDeleteEntitiesRequest": { +"id": "GoogleCloudDialogflowV2BatchDeleteEntitiesRequest", +"properties": { +"entityValues": { +"items": { +"type": "string" +}, +"type": "array" +}, +"languageCode": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2BatchDeleteEntityTypesRequest": { +"id": "GoogleCloudDialogflowV2BatchDeleteEntityTypesRequest", +"properties": { +"entityTypeNames": { +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2BatchDeleteIntentsRequest": { +"id": "GoogleCloudDialogflowV2BatchDeleteIntentsRequest", +"properties": { +"intents": { +"items": { +"$ref": "GoogleCloudDialogflowV2Intent" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2BatchUpdateEntitiesRequest": { +"id": "GoogleCloudDialogflowV2BatchUpdateEntitiesRequest", +"properties": { +"entities": { +"items": { +"$ref": "GoogleCloudDialogflowV2EntityTypeEntity" +}, +"type": "array" +}, +"languageCode": { +"type": "string" +}, +"updateMask": { +"format": "google-fieldmask", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2BatchUpdateEntityTypesRequest": { +"id": "GoogleCloudDialogflowV2BatchUpdateEntityTypesRequest", +"properties": { +"entityTypeBatchInline": { +"$ref": "GoogleCloudDialogflowV2EntityTypeBatch" +}, +"entityTypeBatchUri": { +"type": "string" +}, +"languageCode": { +"type": "string" +}, +"updateMask": { +"format": "google-fieldmask", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2BatchUpdateEntityTypesResponse": { +"id": "GoogleCloudDialogflowV2BatchUpdateEntityTypesResponse", +"properties": { +"entityTypes": { +"items": { +"$ref": "GoogleCloudDialogflowV2EntityType" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2BatchUpdateIntentsRequest": { +"id": "GoogleCloudDialogflowV2BatchUpdateIntentsRequest", +"properties": { +"intentBatchInline": { +"$ref": "GoogleCloudDialogflowV2IntentBatch" +}, +"intentBatchUri": { +"type": "string" +}, +"intentView": { +"enum": [ +"INTENT_VIEW_UNSPECIFIED", +"INTENT_VIEW_FULL" +], +"enumDescriptions": [ +"", +"" +], +"type": "string" +}, +"languageCode": { +"type": "string" +}, +"updateMask": { +"format": "google-fieldmask", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2BatchUpdateIntentsResponse": { +"id": "GoogleCloudDialogflowV2BatchUpdateIntentsResponse", +"properties": { +"intents": { +"items": { +"$ref": "GoogleCloudDialogflowV2Intent" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2ClearSuggestionFeatureConfigOperationMetadata": { +"id": "GoogleCloudDialogflowV2ClearSuggestionFeatureConfigOperationMetadata", +"properties": { +"conversationProfile": { +"type": "string" +}, +"createTime": { +"format": "google-datetime", +"type": "string" +}, +"participantRole": { +"enum": [ +"ROLE_UNSPECIFIED", +"HUMAN_AGENT", +"AUTOMATED_AGENT", +"END_USER" +], +"enumDescriptions": [ +"", +"", +"", +"" +], +"type": "string" +}, +"suggestionFeatureType": { +"enum": [ +"TYPE_UNSPECIFIED", +"ARTICLE_SUGGESTION", +"FAQ", +"SMART_REPLY", +"CONVERSATION_SUMMARIZATION", +"KNOWLEDGE_SEARCH", +"KNOWLEDGE_ASSIST" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"", +"" +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2ClearSuggestionFeatureConfigRequest": { +"id": "GoogleCloudDialogflowV2ClearSuggestionFeatureConfigRequest", +"properties": { +"participantRole": { +"enum": [ +"ROLE_UNSPECIFIED", +"HUMAN_AGENT", +"AUTOMATED_AGENT", +"END_USER" +], +"enumDescriptions": [ +"", +"", +"", +"" +], +"type": "string" +}, +"suggestionFeatureType": { +"enum": [ +"TYPE_UNSPECIFIED", +"ARTICLE_SUGGESTION", +"FAQ", +"SMART_REPLY", +"CONVERSATION_SUMMARIZATION", +"KNOWLEDGE_SEARCH", +"KNOWLEDGE_ASSIST" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"", +"" +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2CompleteConversationRequest": { +"id": "GoogleCloudDialogflowV2CompleteConversationRequest", +"properties": {}, +"type": "object" +}, +"GoogleCloudDialogflowV2Connection": { +"id": "GoogleCloudDialogflowV2Connection", +"properties": { +"connectionId": { +"readOnly": true, +"type": "string" +}, +"errorDetails": { +"$ref": "GoogleCloudDialogflowV2ConnectionErrorDetails", +"readOnly": true +}, +"state": { +"enum": [ +"STATE_UNSPECIFIED", +"CONNECTED", +"DISCONNECTED", +"AUTHENTICATION_FAILED", +"KEEPALIVE" +], +"enumDescriptions": [ +"", +"", +"", +"", +"" +], +"readOnly": true, +"type": "string" +}, +"updateTime": { +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2ConnectionErrorDetails": { +"id": "GoogleCloudDialogflowV2ConnectionErrorDetails", +"properties": { +"certificateState": { +"enum": [ +"CERTIFICATE_STATE_UNSPECIFIED", +"CERTIFICATE_VALID", +"CERTIFICATE_INVALID", +"CERTIFICATE_EXPIRED", +"CERTIFICATE_HOSTNAME_NOT_FOUND", +"CERTIFICATE_UNAUTHENTICATED", +"CERTIFICATE_TRUST_STORE_NOT_FOUND", +"CERTIFICATE_HOSTNAME_INVALID_FORMAT", +"CERTIFICATE_QUOTA_EXCEEDED" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"", +"", +"", +"" +], +"readOnly": true, +"type": "string" +}, +"errorMessage": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2Context": { +"id": "GoogleCloudDialogflowV2Context", +"properties": { +"lifespanCount": { +"format": "int32", +"type": "integer" +}, +"name": { +"type": "string" +}, +"parameters": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"type": "object" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2Conversation": { +"id": "GoogleCloudDialogflowV2Conversation", +"properties": { +"conversationProfile": { +"type": "string" +}, +"conversationStage": { +"enum": [ +"CONVERSATION_STAGE_UNSPECIFIED", +"VIRTUAL_AGENT_STAGE", +"HUMAN_ASSIST_STAGE" +], +"enumDescriptions": [ +"", +"", +"" +], +"type": "string" +}, +"endTime": { +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"ingestedContextReferences": { +"additionalProperties": { +"$ref": "GoogleCloudDialogflowV2ConversationContextReference" +}, +"readOnly": true, +"type": "object" +}, +"lifecycleState": { +"enum": [ +"LIFECYCLE_STATE_UNSPECIFIED", +"IN_PROGRESS", +"COMPLETED" +], +"enumDescriptions": [ +"", +"", +"" +], +"readOnly": true, +"type": "string" +}, +"name": { +"readOnly": true, +"type": "string" +}, +"phoneNumber": { +"$ref": "GoogleCloudDialogflowV2ConversationPhoneNumber", +"readOnly": true +}, +"startTime": { +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"telephonyConnectionInfo": { +"$ref": "GoogleCloudDialogflowV2ConversationTelephonyConnectionInfo", +"readOnly": true +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2ConversationContext": { +"id": "GoogleCloudDialogflowV2ConversationContext", +"properties": { +"messageEntries": { +"items": { +"$ref": "GoogleCloudDialogflowV2MessageEntry" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2ConversationContextReference": { +"id": "GoogleCloudDialogflowV2ConversationContextReference", +"properties": { +"contextContents": { +"items": { +"$ref": "GoogleCloudDialogflowV2ConversationContextReferenceContextContent" +}, +"type": "array" +}, +"createTime": { +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"languageCode": { +"type": "string" +}, +"updateMode": { +"enum": [ +"UPDATE_MODE_UNSPECIFIED", +"APPEND", +"OVERWRITE" +], +"enumDescriptions": [ +"", +"", +"" +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2ConversationContextReferenceContextContent": { +"id": "GoogleCloudDialogflowV2ConversationContextReferenceContextContent", +"properties": { +"answerRecord": { +"type": "string" +}, +"content": { +"type": "string" +}, +"contentFormat": { +"enum": [ +"CONTENT_FORMAT_UNSPECIFIED", +"JSON", +"PLAIN_TEXT" +], +"enumDescriptions": [ +"", +"", +"" +], +"type": "string" +}, +"ingestionTime": { +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2ConversationDataset": { +"id": "GoogleCloudDialogflowV2ConversationDataset", +"properties": { +"conversationCount": { +"format": "int64", +"readOnly": true, +"type": "string" +}, +"conversationInfo": { +"$ref": "GoogleCloudDialogflowV2ConversationInfo", +"readOnly": true +}, +"createTime": { +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"description": { +"type": "string" +}, +"displayName": { +"type": "string" +}, +"inputConfig": { +"$ref": "GoogleCloudDialogflowV2InputConfig", +"readOnly": true +}, +"name": { +"readOnly": true, +"type": "string" +}, +"satisfiesPzi": { +"readOnly": true, +"type": "boolean" +}, +"satisfiesPzs": { +"readOnly": true, +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2ConversationEvent": { +"id": "GoogleCloudDialogflowV2ConversationEvent", +"properties": { +"conversation": { +"type": "string" +}, +"errorStatus": { +"$ref": "GoogleRpcStatus" +}, +"newMessagePayload": { +"$ref": "GoogleCloudDialogflowV2Message" +}, +"newRecognitionResultPayload": { +"$ref": "GoogleCloudDialogflowV2StreamingRecognitionResult" +}, +"type": { +"enum": [ +"TYPE_UNSPECIFIED", +"CONVERSATION_STARTED", +"CONVERSATION_FINISHED", +"HUMAN_INTERVENTION_NEEDED", +"NEW_MESSAGE", +"NEW_RECOGNITION_RESULT", +"UNRECOVERABLE_ERROR" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"", +"" +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2ConversationInfo": { +"id": "GoogleCloudDialogflowV2ConversationInfo", +"properties": { +"languageCode": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2ConversationModel": { +"id": "GoogleCloudDialogflowV2ConversationModel", +"properties": { +"articleSuggestionModelMetadata": { +"$ref": "GoogleCloudDialogflowV2ArticleSuggestionModelMetadata" +}, +"createTime": { +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"datasets": { +"items": { +"$ref": "GoogleCloudDialogflowV2InputDataset" +}, +"type": "array" +}, +"displayName": { +"type": "string" +}, +"languageCode": { +"type": "string" +}, +"name": { +"type": "string" +}, +"satisfiesPzi": { +"readOnly": true, +"type": "boolean" +}, +"satisfiesPzs": { +"readOnly": true, +"type": "boolean" +}, +"smartReplyModelMetadata": { +"$ref": "GoogleCloudDialogflowV2SmartReplyModelMetadata" +}, +"state": { +"enum": [ +"STATE_UNSPECIFIED", +"CREATING", +"UNDEPLOYED", +"DEPLOYING", +"DEPLOYED", +"UNDEPLOYING", +"DELETING", +"FAILED", +"PENDING" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"", +"", +"", +"" +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2ConversationModelEvaluation": { +"id": "GoogleCloudDialogflowV2ConversationModelEvaluation", +"properties": { +"createTime": { +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"displayName": { +"type": "string" +}, +"evaluationConfig": { +"$ref": "GoogleCloudDialogflowV2EvaluationConfig" +}, +"name": { +"type": "string" +}, +"rawHumanEvalTemplateCsv": { +"readOnly": true, +"type": "string" +}, +"smartReplyMetrics": { +"$ref": "GoogleCloudDialogflowV2SmartReplyMetrics", +"readOnly": true +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2ConversationPhoneNumber": { +"id": "GoogleCloudDialogflowV2ConversationPhoneNumber", +"properties": { +"countryCode": { +"format": "int32", +"readOnly": true, +"type": "integer" +}, +"phoneNumber": { +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2ConversationProfile": { +"id": "GoogleCloudDialogflowV2ConversationProfile", +"properties": { +"automatedAgentConfig": { +"$ref": "GoogleCloudDialogflowV2AutomatedAgentConfig" +}, +"createTime": { +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"displayName": { +"type": "string" +}, +"humanAgentAssistantConfig": { +"$ref": "GoogleCloudDialogflowV2HumanAgentAssistantConfig" +}, +"humanAgentHandoffConfig": { +"$ref": "GoogleCloudDialogflowV2HumanAgentHandoffConfig" +}, +"languageCode": { +"type": "string" +}, +"loggingConfig": { +"$ref": "GoogleCloudDialogflowV2LoggingConfig" +}, +"name": { +"type": "string" +}, +"newMessageEventNotificationConfig": { +"$ref": "GoogleCloudDialogflowV2NotificationConfig" +}, +"newRecognitionResultNotificationConfig": { +"$ref": "GoogleCloudDialogflowV2NotificationConfig" +}, +"notificationConfig": { +"$ref": "GoogleCloudDialogflowV2NotificationConfig" +}, +"securitySettings": { +"type": "string" +}, +"sttConfig": { +"$ref": "GoogleCloudDialogflowV2SpeechToTextConfig" +}, +"timeZone": { +"type": "string" +}, +"ttsConfig": { +"$ref": "GoogleCloudDialogflowV2SynthesizeSpeechConfig" +}, +"updateTime": { +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2ConversationTelephonyConnectionInfo": { +"id": "GoogleCloudDialogflowV2ConversationTelephonyConnectionInfo", +"properties": { +"dialedNumber": { +"readOnly": true, +"type": "string" +}, +"extraMimeContents": { +"items": { +"$ref": "GoogleCloudDialogflowV2ConversationTelephonyConnectionInfoMimeContent" +}, +"readOnly": true, +"type": "array" +}, +"sdp": { +"type": "string" +}, +"sipHeaders": { +"items": { +"$ref": "GoogleCloudDialogflowV2ConversationTelephonyConnectionInfoSipHeader" +}, +"readOnly": true, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2ConversationTelephonyConnectionInfoMimeContent": { +"id": "GoogleCloudDialogflowV2ConversationTelephonyConnectionInfoMimeContent", +"properties": { +"content": { +"format": "byte", +"type": "string" +}, +"mimeType": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2ConversationTelephonyConnectionInfoSipHeader": { +"id": "GoogleCloudDialogflowV2ConversationTelephonyConnectionInfoSipHeader", +"properties": { +"name": { +"type": "string" +}, +"value": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2CreateConversationDatasetOperationMetadata": { +"id": "GoogleCloudDialogflowV2CreateConversationDatasetOperationMetadata", +"properties": { +"conversationDataset": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2CreateConversationModelEvaluationOperationMetadata": { +"id": "GoogleCloudDialogflowV2CreateConversationModelEvaluationOperationMetadata", +"properties": { +"conversationModel": { +"type": "string" +}, +"conversationModelEvaluation": { +"type": "string" +}, +"createTime": { +"format": "google-datetime", +"type": "string" +}, +"state": { +"enum": [ +"STATE_UNSPECIFIED", +"INITIALIZING", +"RUNNING", +"CANCELLED", +"SUCCEEDED", +"FAILED" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"" +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2CreateConversationModelEvaluationRequest": { +"id": "GoogleCloudDialogflowV2CreateConversationModelEvaluationRequest", +"properties": { +"conversationModelEvaluation": { +"$ref": "GoogleCloudDialogflowV2ConversationModelEvaluation" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2CreateConversationModelOperationMetadata": { +"id": "GoogleCloudDialogflowV2CreateConversationModelOperationMetadata", +"properties": { +"conversationModel": { +"type": "string" +}, +"createTime": { +"format": "google-datetime", +"type": "string" +}, +"doneTime": { +"format": "google-datetime", +"type": "string" +}, +"state": { +"enum": [ +"STATE_UNSPECIFIED", +"PENDING", +"SUCCEEDED", +"FAILED", +"CANCELLED", +"CANCELLING", +"TRAINING" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"", +"" +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2CustomPronunciationParams": { +"id": "GoogleCloudDialogflowV2CustomPronunciationParams", +"properties": { +"phoneticEncoding": { +"enum": [ +"PHONETIC_ENCODING_UNSPECIFIED", +"PHONETIC_ENCODING_IPA", +"PHONETIC_ENCODING_X_SAMPA" +], +"enumDescriptions": [ +"", +"", +"" +], +"type": "string" +}, +"phrase": { +"type": "string" +}, +"pronunciation": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2DeleteConversationDatasetOperationMetadata": { +"id": "GoogleCloudDialogflowV2DeleteConversationDatasetOperationMetadata", +"properties": {}, +"type": "object" +}, +"GoogleCloudDialogflowV2DeleteConversationModelOperationMetadata": { +"id": "GoogleCloudDialogflowV2DeleteConversationModelOperationMetadata", +"properties": { +"conversationModel": { +"type": "string" +}, +"createTime": { +"format": "google-datetime", +"type": "string" +}, +"doneTime": { +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2DeployConversationModelOperationMetadata": { +"id": "GoogleCloudDialogflowV2DeployConversationModelOperationMetadata", +"properties": { +"conversationModel": { +"type": "string" +}, +"createTime": { +"format": "google-datetime", +"type": "string" +}, +"doneTime": { +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2DeployConversationModelRequest": { +"id": "GoogleCloudDialogflowV2DeployConversationModelRequest", +"properties": {}, +"type": "object" +}, +"GoogleCloudDialogflowV2DetectIntentRequest": { +"id": "GoogleCloudDialogflowV2DetectIntentRequest", +"properties": { +"inputAudio": { +"format": "byte", +"type": "string" +}, +"outputAudioConfig": { +"$ref": "GoogleCloudDialogflowV2OutputAudioConfig" +}, +"outputAudioConfigMask": { +"format": "google-fieldmask", +"type": "string" +}, +"queryInput": { +"$ref": "GoogleCloudDialogflowV2QueryInput" +}, +"queryParams": { +"$ref": "GoogleCloudDialogflowV2QueryParameters" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2DetectIntentResponse": { +"id": "GoogleCloudDialogflowV2DetectIntentResponse", +"properties": { +"outputAudio": { +"format": "byte", +"type": "string" +}, +"outputAudioConfig": { +"$ref": "GoogleCloudDialogflowV2OutputAudioConfig" +}, +"queryResult": { +"$ref": "GoogleCloudDialogflowV2QueryResult" +}, +"responseId": { +"type": "string" +}, +"webhookStatus": { +"$ref": "GoogleRpcStatus" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2DialogflowAssistAnswer": { +"id": "GoogleCloudDialogflowV2DialogflowAssistAnswer", +"properties": { +"answerRecord": { +"type": "string" +}, +"intentSuggestion": { +"$ref": "GoogleCloudDialogflowV2IntentSuggestion" +}, +"queryResult": { +"$ref": "GoogleCloudDialogflowV2QueryResult" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2Document": { +"id": "GoogleCloudDialogflowV2Document", +"properties": { +"contentUri": { +"type": "string" +}, +"displayName": { +"type": "string" +}, +"enableAutoReload": { +"type": "boolean" +}, +"knowledgeTypes": { +"items": { +"enum": [ +"KNOWLEDGE_TYPE_UNSPECIFIED", +"FAQ", +"EXTRACTIVE_QA", +"ARTICLE_SUGGESTION", +"AGENT_FACING_SMART_REPLY" +], +"enumDescriptions": [ +"", +"", +"", +"", +"" +], +"type": "string" +}, +"type": "array" +}, +"latestReloadStatus": { +"$ref": "GoogleCloudDialogflowV2DocumentReloadStatus", +"readOnly": true +}, +"metadata": { +"additionalProperties": { +"type": "string" +}, +"type": "object" +}, +"mimeType": { +"type": "string" +}, +"name": { +"type": "string" +}, +"rawContent": { +"format": "byte", +"type": "string" +}, +"state": { +"enum": [ +"STATE_UNSPECIFIED", +"CREATING", +"ACTIVE", +"UPDATING", +"RELOADING", +"DELETING" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"" +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2DocumentReloadStatus": { +"id": "GoogleCloudDialogflowV2DocumentReloadStatus", +"properties": { +"status": { +"$ref": "GoogleRpcStatus" +}, +"time": { +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2DtmfParameters": { +"id": "GoogleCloudDialogflowV2DtmfParameters", +"properties": { +"acceptsDtmfInput": { +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2EncryptionSpec": { +"id": "GoogleCloudDialogflowV2EncryptionSpec", +"properties": { +"kmsKey": { +"type": "string" +}, +"name": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2EntityType": { +"id": "GoogleCloudDialogflowV2EntityType", +"properties": { +"autoExpansionMode": { +"enum": [ +"AUTO_EXPANSION_MODE_UNSPECIFIED", +"AUTO_EXPANSION_MODE_DEFAULT" +], +"enumDescriptions": [ +"", +"" +], +"type": "string" +}, +"displayName": { +"type": "string" +}, +"enableFuzzyExtraction": { +"type": "boolean" +}, +"entities": { +"items": { +"$ref": "GoogleCloudDialogflowV2EntityTypeEntity" +}, +"type": "array" +}, +"kind": { +"enum": [ +"KIND_UNSPECIFIED", +"KIND_MAP", +"KIND_LIST", +"KIND_REGEXP" +], +"enumDescriptions": [ +"", +"", +"", +"" +], +"type": "string" +}, +"name": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2EntityTypeBatch": { +"id": "GoogleCloudDialogflowV2EntityTypeBatch", +"properties": { +"entityTypes": { +"items": { +"$ref": "GoogleCloudDialogflowV2EntityType" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2EntityTypeEntity": { +"id": "GoogleCloudDialogflowV2EntityTypeEntity", +"properties": { +"synonyms": { +"items": { +"type": "string" +}, +"type": "array" +}, +"value": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2Environment": { +"id": "GoogleCloudDialogflowV2Environment", +"properties": { +"agentVersion": { +"type": "string" +}, +"description": { +"type": "string" +}, +"fulfillment": { +"$ref": "GoogleCloudDialogflowV2Fulfillment" +}, +"name": { +"readOnly": true, +"type": "string" +}, +"state": { +"enum": [ +"STATE_UNSPECIFIED", +"STOPPED", +"LOADING", +"RUNNING" +], +"enumDescriptions": [ +"", +"", +"", +"" +], +"readOnly": true, +"type": "string" +}, +"textToSpeechSettings": { +"$ref": "GoogleCloudDialogflowV2TextToSpeechSettings" +}, +"updateTime": { +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2EnvironmentHistory": { +"id": "GoogleCloudDialogflowV2EnvironmentHistory", +"properties": { +"entries": { +"items": { +"$ref": "GoogleCloudDialogflowV2EnvironmentHistoryEntry" +}, +"readOnly": true, +"type": "array" +}, +"nextPageToken": { +"readOnly": true, +"type": "string" +}, +"parent": { +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2EnvironmentHistoryEntry": { +"id": "GoogleCloudDialogflowV2EnvironmentHistoryEntry", +"properties": { +"agentVersion": { +"type": "string" +}, +"createTime": { +"format": "google-datetime", +"type": "string" +}, +"description": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2EvaluationConfig": { +"id": "GoogleCloudDialogflowV2EvaluationConfig", +"properties": { +"datasets": { +"items": { +"$ref": "GoogleCloudDialogflowV2InputDataset" +}, +"type": "array" +}, +"smartComposeConfig": { +"$ref": "GoogleCloudDialogflowV2EvaluationConfigSmartComposeConfig" +}, +"smartReplyConfig": { +"$ref": "GoogleCloudDialogflowV2EvaluationConfigSmartReplyConfig" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2EvaluationConfigSmartComposeConfig": { +"id": "GoogleCloudDialogflowV2EvaluationConfigSmartComposeConfig", +"properties": { +"allowlistDocument": { +"type": "string" +}, +"maxResultCount": { +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2EvaluationConfigSmartReplyConfig": { +"id": "GoogleCloudDialogflowV2EvaluationConfigSmartReplyConfig", +"properties": { +"allowlistDocument": { +"type": "string" +}, +"maxResultCount": { +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2EvaluationStatus": { +"id": "GoogleCloudDialogflowV2EvaluationStatus", +"properties": { +"done": { +"readOnly": true, +"type": "boolean" +}, +"pipelineStatus": { +"$ref": "GoogleRpcStatus", +"readOnly": true +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2EventInput": { +"id": "GoogleCloudDialogflowV2EventInput", +"properties": { +"languageCode": { +"type": "string" +}, +"name": { +"type": "string" +}, +"parameters": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"type": "object" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2ExportAgentRequest": { +"id": "GoogleCloudDialogflowV2ExportAgentRequest", +"properties": { +"agentUri": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2ExportAgentResponse": { +"id": "GoogleCloudDialogflowV2ExportAgentResponse", +"properties": { +"agentContent": { +"format": "byte", +"type": "string" +}, +"agentUri": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2ExportDocumentRequest": { +"id": "GoogleCloudDialogflowV2ExportDocumentRequest", +"properties": { +"exportFullContent": { +"type": "boolean" +}, +"gcsDestination": { +"$ref": "GoogleCloudDialogflowV2GcsDestination" +}, +"smartMessagingPartialUpdate": { +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2ExportOperationMetadata": { +"id": "GoogleCloudDialogflowV2ExportOperationMetadata", +"properties": { +"exportedGcsDestination": { +"$ref": "GoogleCloudDialogflowV2GcsDestination" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2FaqAnswer": { +"id": "GoogleCloudDialogflowV2FaqAnswer", +"properties": { +"answer": { +"type": "string" +}, +"answerRecord": { +"type": "string" +}, +"confidence": { +"format": "float", +"type": "number" +}, +"metadata": { +"additionalProperties": { +"type": "string" +}, +"type": "object" +}, +"question": { +"type": "string" +}, +"source": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2FewShotExample": { +"id": "GoogleCloudDialogflowV2FewShotExample", +"properties": { +"conversationContext": { +"$ref": "GoogleCloudDialogflowV2ConversationContext" +}, +"extraInfo": { +"additionalProperties": { +"type": "string" +}, +"type": "object" +}, +"output": { +"$ref": "GoogleCloudDialogflowV2GeneratorSuggestion" +}, +"summarizationSectionList": { +"$ref": "GoogleCloudDialogflowV2SummarizationSectionList" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2FreeFormContext": { +"id": "GoogleCloudDialogflowV2FreeFormContext", +"properties": { +"text": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2FreeFormSuggestion": { +"id": "GoogleCloudDialogflowV2FreeFormSuggestion", +"properties": { +"response": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2Fulfillment": { +"id": "GoogleCloudDialogflowV2Fulfillment", +"properties": { +"displayName": { +"type": "string" +}, +"enabled": { +"type": "boolean" +}, +"features": { +"items": { +"$ref": "GoogleCloudDialogflowV2FulfillmentFeature" +}, +"type": "array" +}, +"genericWebService": { +"$ref": "GoogleCloudDialogflowV2FulfillmentGenericWebService" +}, +"name": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2FulfillmentFeature": { +"id": "GoogleCloudDialogflowV2FulfillmentFeature", +"properties": { +"type": { +"enum": [ +"TYPE_UNSPECIFIED", +"SMALLTALK" +], +"enumDescriptions": [ +"", +"" +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2FulfillmentGenericWebService": { +"id": "GoogleCloudDialogflowV2FulfillmentGenericWebService", +"properties": { +"isCloudFunction": { +"deprecated": true, +"type": "boolean" +}, +"password": { +"type": "string" +}, +"requestHeaders": { +"additionalProperties": { +"type": "string" +}, +"type": "object" +}, +"uri": { +"type": "string" +}, +"username": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2GcsDestination": { +"id": "GoogleCloudDialogflowV2GcsDestination", +"properties": { +"uri": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2GcsSources": { +"id": "GoogleCloudDialogflowV2GcsSources", +"properties": { +"uris": { +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2GenerateStatelessSuggestionRequest": { +"id": "GoogleCloudDialogflowV2GenerateStatelessSuggestionRequest", +"properties": { +"contextReferences": { +"additionalProperties": { +"$ref": "GoogleCloudDialogflowV2ConversationContextReference" +}, +"type": "object" +}, +"conversationContext": { +"$ref": "GoogleCloudDialogflowV2ConversationContext" +}, +"generator": { +"$ref": "GoogleCloudDialogflowV2Generator" +}, +"generatorName": { +"type": "string" +}, +"securitySettings": { +"type": "string" +}, +"triggerEvents": { +"items": { +"enum": [ +"TRIGGER_EVENT_UNSPECIFIED", +"END_OF_UTTERANCE", +"MANUAL_CALL", +"CUSTOMER_MESSAGE", +"AGENT_MESSAGE" +], +"enumDescriptions": [ +"", +"", +"", +"", +"" +], +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2GenerateStatelessSuggestionResponse": { +"id": "GoogleCloudDialogflowV2GenerateStatelessSuggestionResponse", +"properties": { +"generatorSuggestion": { +"$ref": "GoogleCloudDialogflowV2GeneratorSuggestion" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2GenerateStatelessSummaryRequest": { +"id": "GoogleCloudDialogflowV2GenerateStatelessSummaryRequest", +"properties": { +"conversationProfile": { +"$ref": "GoogleCloudDialogflowV2ConversationProfile" +}, +"latestMessage": { +"type": "string" +}, +"maxContextSize": { +"format": "int32", +"type": "integer" +}, +"statelessConversation": { +"$ref": "GoogleCloudDialogflowV2GenerateStatelessSummaryRequestMinimalConversation" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2GenerateStatelessSummaryRequestMinimalConversation": { +"id": "GoogleCloudDialogflowV2GenerateStatelessSummaryRequestMinimalConversation", +"properties": { +"messages": { +"items": { +"$ref": "GoogleCloudDialogflowV2Message" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2GenerateStatelessSummaryResponse": { +"id": "GoogleCloudDialogflowV2GenerateStatelessSummaryResponse", +"properties": { +"contextSize": { +"format": "int32", +"type": "integer" +}, +"latestMessage": { +"type": "string" +}, +"summary": { +"$ref": "GoogleCloudDialogflowV2GenerateStatelessSummaryResponseSummary" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2GenerateStatelessSummaryResponseSummary": { +"id": "GoogleCloudDialogflowV2GenerateStatelessSummaryResponseSummary", +"properties": { +"baselineModelVersion": { +"type": "string" +}, +"text": { +"type": "string" +}, +"textSections": { +"additionalProperties": { +"type": "string" +}, +"type": "object" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2GenerateSuggestionsRequest": { +"id": "GoogleCloudDialogflowV2GenerateSuggestionsRequest", +"properties": { +"latestMessage": { +"type": "string" +}, +"triggerEvents": { +"items": { +"enum": [ +"TRIGGER_EVENT_UNSPECIFIED", +"END_OF_UTTERANCE", +"MANUAL_CALL", +"CUSTOMER_MESSAGE", +"AGENT_MESSAGE" +], +"enumDescriptions": [ +"", +"", +"", +"", +"" +], +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2GenerateSuggestionsResponse": { +"id": "GoogleCloudDialogflowV2GenerateSuggestionsResponse", +"properties": { +"generatorSuggestionAnswers": { +"items": { +"$ref": "GoogleCloudDialogflowV2GenerateSuggestionsResponseGeneratorSuggestionAnswer" +}, +"type": "array" +}, +"latestMessage": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2GenerateSuggestionsResponseGeneratorSuggestionAnswer": { +"id": "GoogleCloudDialogflowV2GenerateSuggestionsResponseGeneratorSuggestionAnswer", +"properties": { +"answerRecord": { +"type": "string" +}, +"generatorSuggestion": { +"$ref": "GoogleCloudDialogflowV2GeneratorSuggestion" +}, +"sourceGenerator": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2Generator": { +"id": "GoogleCloudDialogflowV2Generator", +"properties": { +"agentCoachingContext": { +"$ref": "GoogleCloudDialogflowV2AgentCoachingContext" +}, +"createTime": { +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"description": { +"type": "string" +}, +"freeFormContext": { +"$ref": "GoogleCloudDialogflowV2FreeFormContext" +}, +"inferenceParameter": { +"$ref": "GoogleCloudDialogflowV2InferenceParameter" +}, +"name": { +"readOnly": true, +"type": "string" +}, +"publishedModel": { +"type": "string" +}, +"suggestionDedupingConfig": { +"$ref": "GoogleCloudDialogflowV2SuggestionDedupingConfig" +}, +"summarizationContext": { +"$ref": "GoogleCloudDialogflowV2SummarizationContext" +}, +"tools": { +"items": { +"type": "string" +}, +"type": "array" +}, +"triggerEvent": { +"enum": [ +"TRIGGER_EVENT_UNSPECIFIED", +"END_OF_UTTERANCE", +"MANUAL_CALL", +"CUSTOMER_MESSAGE", +"AGENT_MESSAGE" +], +"enumDescriptions": [ +"", +"", +"", +"", +"" +], +"type": "string" +}, +"updateTime": { +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2GeneratorEvaluation": { +"id": "GoogleCloudDialogflowV2GeneratorEvaluation", +"properties": { +"completeTime": { +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"createTime": { +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"displayName": { +"type": "string" +}, +"evaluationStatus": { +"$ref": "GoogleCloudDialogflowV2EvaluationStatus", +"readOnly": true +}, +"generatorEvaluationConfig": { +"$ref": "GoogleCloudDialogflowV2GeneratorEvaluationConfig" +}, +"initialGenerator": { +"$ref": "GoogleCloudDialogflowV2Generator" +}, +"name": { +"readOnly": true, +"type": "string" +}, +"satisfiesPzi": { +"readOnly": true, +"type": "boolean" +}, +"satisfiesPzs": { +"readOnly": true, +"type": "boolean" +}, +"summarizationMetrics": { +"$ref": "GoogleCloudDialogflowV2SummarizationEvaluationMetrics", +"readOnly": true +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2GeneratorEvaluationConfig": { +"id": "GoogleCloudDialogflowV2GeneratorEvaluationConfig", +"properties": { +"inputDataConfig": { +"$ref": "GoogleCloudDialogflowV2GeneratorEvaluationConfigInputDataConfig" +}, +"outputGcsBucketPath": { +"type": "string" +}, +"summarizationConfig": { +"$ref": "GoogleCloudDialogflowV2GeneratorEvaluationConfigSummarizationConfig" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2GeneratorEvaluationConfigAgentAssistInputDataConfig": { +"id": "GoogleCloudDialogflowV2GeneratorEvaluationConfigAgentAssistInputDataConfig", +"properties": { +"endTime": { +"format": "google-datetime", +"type": "string" +}, +"startTime": { +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2GeneratorEvaluationConfigDatasetInputDataConfig": { +"id": "GoogleCloudDialogflowV2GeneratorEvaluationConfigDatasetInputDataConfig", +"properties": { +"dataset": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2GeneratorEvaluationConfigInputDataConfig": { +"id": "GoogleCloudDialogflowV2GeneratorEvaluationConfigInputDataConfig", +"properties": { +"agentAssistInputDataConfig": { +"$ref": "GoogleCloudDialogflowV2GeneratorEvaluationConfigAgentAssistInputDataConfig" +}, +"datasetInputDataConfig": { +"$ref": "GoogleCloudDialogflowV2GeneratorEvaluationConfigDatasetInputDataConfig" +}, +"endTime": { +"deprecated": true, +"format": "google-datetime", +"type": "string" +}, +"inputDataSourceType": { +"deprecated": true, +"enum": [ +"INPUT_DATA_SOURCE_TYPE_UNSPECIFIED", +"AGENT_ASSIST_CONVERSATIONS", +"INSIGHTS_CONVERSATIONS" +], +"enumDescriptions": [ +"", +"", +"" +], +"type": "string" +}, +"isSummaryGenerationAllowed": { +"deprecated": true, +"type": "boolean" +}, +"sampleSize": { +"format": "int32", +"type": "integer" +}, +"startTime": { +"deprecated": true, +"format": "google-datetime", +"type": "string" +}, +"summaryGenerationOption": { +"enum": [ +"SUMMARY_GENERATION_OPTION_UNSPECIFIED", +"ALWAYS_GENERATE", +"GENERATE_IF_MISSING", +"DO_NOT_GENERATE" +], +"enumDescriptions": [ +"", +"", +"", +"" +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2GeneratorEvaluationConfigSummarizationConfig": { +"id": "GoogleCloudDialogflowV2GeneratorEvaluationConfigSummarizationConfig", +"properties": { +"accuracyEvaluationVersion": { +"deprecated": true, +"type": "string" +}, +"completenessEvaluationVersion": { +"deprecated": true, +"type": "string" +}, +"enableAccuracyEvaluation": { +"deprecated": true, +"type": "boolean" +}, +"enableCompletenessEvaluation": { +"deprecated": true, +"type": "boolean" +}, +"evaluatorVersion": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2GeneratorSuggestion": { +"id": "GoogleCloudDialogflowV2GeneratorSuggestion", +"properties": { +"agentCoachingSuggestion": { +"$ref": "GoogleCloudDialogflowV2AgentCoachingSuggestion" +}, +"freeFormSuggestion": { +"$ref": "GoogleCloudDialogflowV2FreeFormSuggestion" +}, +"summarySuggestion": { +"$ref": "GoogleCloudDialogflowV2SummarySuggestion" +}, +"toolCallInfo": { +"items": { +"$ref": "GoogleCloudDialogflowV2GeneratorSuggestionToolCallInfo" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2GeneratorSuggestionToolCallInfo": { +"id": "GoogleCloudDialogflowV2GeneratorSuggestionToolCallInfo", +"properties": { +"toolCall": { +"$ref": "GoogleCloudDialogflowV2ToolCall" +}, +"toolCallResult": { +"$ref": "GoogleCloudDialogflowV2ToolCallResult" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2HumanAgentAssistantConfig": { +"id": "GoogleCloudDialogflowV2HumanAgentAssistantConfig", +"properties": { +"endUserSuggestionConfig": { +"$ref": "GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionConfig" +}, +"humanAgentSuggestionConfig": { +"$ref": "GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionConfig" +}, +"messageAnalysisConfig": { +"$ref": "GoogleCloudDialogflowV2HumanAgentAssistantConfigMessageAnalysisConfig" +}, +"notificationConfig": { +"$ref": "GoogleCloudDialogflowV2NotificationConfig" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2HumanAgentAssistantConfigConversationModelConfig": { +"id": "GoogleCloudDialogflowV2HumanAgentAssistantConfigConversationModelConfig", +"properties": { +"baselineModelVersion": { +"type": "string" +}, +"model": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2HumanAgentAssistantConfigConversationProcessConfig": { +"id": "GoogleCloudDialogflowV2HumanAgentAssistantConfigConversationProcessConfig", +"properties": { +"recentSentencesCount": { +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2HumanAgentAssistantConfigMessageAnalysisConfig": { +"id": "GoogleCloudDialogflowV2HumanAgentAssistantConfigMessageAnalysisConfig", +"properties": { +"enableEntityExtraction": { +"type": "boolean" +}, +"enableSentimentAnalysis": { +"type": "boolean" +}, +"enableSentimentAnalysisV3": { +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionConfig": { +"id": "GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionConfig", +"properties": { +"disableHighLatencyFeaturesSyncDelivery": { +"type": "boolean" +}, +"enableAsyncToolCall": { +"type": "boolean" +}, +"featureConfigs": { +"items": { +"$ref": "GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionFeatureConfig" +}, +"type": "array" +}, +"generators": { +"items": { +"type": "string" +}, +"type": "array" +}, +"groupSuggestionResponses": { +"type": "boolean" +}, +"skipEmptyEventBasedSuggestion": { +"type": "boolean" +}, +"useUnredactedConversationData": { +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionFeatureConfig": { +"id": "GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionFeatureConfig", +"properties": { +"conversationModelConfig": { +"$ref": "GoogleCloudDialogflowV2HumanAgentAssistantConfigConversationModelConfig" +}, +"conversationProcessConfig": { +"$ref": "GoogleCloudDialogflowV2HumanAgentAssistantConfigConversationProcessConfig" +}, +"disableAgentQueryLogging": { +"type": "boolean" +}, +"enableConversationAugmentedQuery": { +"type": "boolean" +}, +"enableEventBasedSuggestion": { +"type": "boolean" +}, +"enableQuerySuggestionOnly": { +"type": "boolean" +}, +"enableQuerySuggestionWhenNoAnswer": { +"type": "boolean" +}, +"enableResponseDebugInfo": { +"type": "boolean" +}, +"queryConfig": { +"$ref": "GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfig" +}, +"raiSettings": { +"$ref": "GoogleCloudDialogflowV2RaiSettings" +}, +"suggestionFeature": { +"$ref": "GoogleCloudDialogflowV2SuggestionFeature" +}, +"suggestionTriggerSettings": { +"$ref": "GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionTriggerSettings" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfig": { +"id": "GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfig", +"properties": { +"confidenceThreshold": { +"format": "float", +"type": "number" +}, +"contextFilterSettings": { +"$ref": "GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigContextFilterSettings" +}, +"contextSize": { +"format": "int32", +"type": "integer" +}, +"dialogflowQuerySource": { +"$ref": "GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigDialogflowQuerySource" +}, +"documentQuerySource": { +"$ref": "GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigDocumentQuerySource" +}, +"knowledgeBaseQuerySource": { +"$ref": "GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigKnowledgeBaseQuerySource" +}, +"maxResults": { +"format": "int32", +"type": "integer" +}, +"sections": { +"$ref": "GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigSections" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigContextFilterSettings": { +"id": "GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigContextFilterSettings", +"properties": { +"dropHandoffMessages": { +"type": "boolean" +}, +"dropIvrMessages": { +"type": "boolean" +}, +"dropVirtualAgentMessages": { +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigDialogflowQuerySource": { +"id": "GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigDialogflowQuerySource", +"properties": { +"agent": { +"type": "string" +}, +"humanAgentSideConfig": { +"$ref": "GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigDialogflowQuerySourceHumanAgentSideConfig" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigDialogflowQuerySourceHumanAgentSideConfig": { +"id": "GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigDialogflowQuerySourceHumanAgentSideConfig", +"properties": { +"agent": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigDocumentQuerySource": { +"id": "GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigDocumentQuerySource", +"properties": { +"documents": { +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigKnowledgeBaseQuerySource": { +"id": "GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigKnowledgeBaseQuerySource", +"properties": { +"knowledgeBases": { +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigSections": { +"id": "GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigSections", +"properties": { +"sectionTypes": { +"items": { +"enum": [ +"SECTION_TYPE_UNSPECIFIED", +"SITUATION", +"ACTION", +"RESOLUTION", +"REASON_FOR_CANCELLATION", +"CUSTOMER_SATISFACTION", +"ENTITIES" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"", +"" +], +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionTriggerSettings": { +"id": "GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionTriggerSettings", +"properties": { +"noSmalltalk": { +"type": "boolean" +}, +"onlyEndUser": { +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2HumanAgentAssistantEvent": { +"id": "GoogleCloudDialogflowV2HumanAgentAssistantEvent", +"properties": { +"conversation": { +"type": "string" +}, +"participant": { +"type": "string" +}, +"suggestionResults": { +"items": { +"$ref": "GoogleCloudDialogflowV2SuggestionResult" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2HumanAgentHandoffConfig": { +"id": "GoogleCloudDialogflowV2HumanAgentHandoffConfig", +"properties": { +"livePersonConfig": { +"$ref": "GoogleCloudDialogflowV2HumanAgentHandoffConfigLivePersonConfig" +}, +"salesforceLiveAgentConfig": { +"$ref": "GoogleCloudDialogflowV2HumanAgentHandoffConfigSalesforceLiveAgentConfig" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2HumanAgentHandoffConfigLivePersonConfig": { +"id": "GoogleCloudDialogflowV2HumanAgentHandoffConfigLivePersonConfig", +"properties": { +"accountNumber": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2HumanAgentHandoffConfigSalesforceLiveAgentConfig": { +"id": "GoogleCloudDialogflowV2HumanAgentHandoffConfigSalesforceLiveAgentConfig", +"properties": { +"buttonId": { +"type": "string" +}, +"deploymentId": { +"type": "string" +}, +"endpointDomain": { +"type": "string" +}, +"organizationId": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2ImportAgentRequest": { +"id": "GoogleCloudDialogflowV2ImportAgentRequest", +"properties": { +"agentContent": { +"format": "byte", +"type": "string" +}, +"agentUri": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2ImportConversationDataOperationMetadata": { +"id": "GoogleCloudDialogflowV2ImportConversationDataOperationMetadata", +"properties": { +"conversationDataset": { +"type": "string" +}, +"createTime": { +"format": "google-datetime", +"type": "string" +}, +"partialFailures": { +"items": { +"$ref": "GoogleRpcStatus" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2ImportConversationDataOperationResponse": { +"id": "GoogleCloudDialogflowV2ImportConversationDataOperationResponse", +"properties": { +"conversationDataset": { +"type": "string" +}, +"importCount": { +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2ImportConversationDataRequest": { +"id": "GoogleCloudDialogflowV2ImportConversationDataRequest", +"properties": { +"inputConfig": { +"$ref": "GoogleCloudDialogflowV2InputConfig" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2ImportDocumentTemplate": { +"id": "GoogleCloudDialogflowV2ImportDocumentTemplate", +"properties": { +"knowledgeTypes": { +"items": { +"enum": [ +"KNOWLEDGE_TYPE_UNSPECIFIED", +"FAQ", +"EXTRACTIVE_QA", +"ARTICLE_SUGGESTION", +"AGENT_FACING_SMART_REPLY" +], +"enumDescriptions": [ +"", +"", +"", +"", +"" +], +"type": "string" +}, +"type": "array" +}, +"metadata": { +"additionalProperties": { +"type": "string" +}, +"type": "object" +}, +"mimeType": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2ImportDocumentsRequest": { +"id": "GoogleCloudDialogflowV2ImportDocumentsRequest", +"properties": { +"documentTemplate": { +"$ref": "GoogleCloudDialogflowV2ImportDocumentTemplate" +}, +"gcsSource": { +"$ref": "GoogleCloudDialogflowV2GcsSources" +}, +"importGcsCustomMetadata": { +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2ImportDocumentsResponse": { +"id": "GoogleCloudDialogflowV2ImportDocumentsResponse", +"properties": { +"warnings": { +"items": { +"$ref": "GoogleRpcStatus" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2InferenceParameter": { +"id": "GoogleCloudDialogflowV2InferenceParameter", +"properties": { +"maxOutputTokens": { +"format": "int32", +"type": "integer" +}, +"temperature": { +"format": "double", +"type": "number" +}, +"topK": { +"format": "int32", +"type": "integer" +}, +"topP": { +"format": "double", +"type": "number" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2IngestContextReferencesRequest": { +"id": "GoogleCloudDialogflowV2IngestContextReferencesRequest", +"properties": { +"contextReferences": { +"additionalProperties": { +"$ref": "GoogleCloudDialogflowV2ConversationContextReference" +}, +"type": "object" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2IngestContextReferencesResponse": { +"id": "GoogleCloudDialogflowV2IngestContextReferencesResponse", +"properties": { +"ingestedContextReferences": { +"additionalProperties": { +"$ref": "GoogleCloudDialogflowV2ConversationContextReference" +}, +"type": "object" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2IngestedContextReferenceDebugInfo": { +"id": "GoogleCloudDialogflowV2IngestedContextReferenceDebugInfo", +"properties": { +"contextReferenceRetrieved": { +"type": "boolean" +}, +"ingestedParametersDebugInfo": { +"items": { +"$ref": "GoogleCloudDialogflowV2IngestedContextReferenceDebugInfoIngestedParameterDebugInfo" +}, +"type": "array" +}, +"projectNotAllowlisted": { +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2IngestedContextReferenceDebugInfoIngestedParameterDebugInfo": { +"id": "GoogleCloudDialogflowV2IngestedContextReferenceDebugInfoIngestedParameterDebugInfo", +"properties": { +"ingestionStatus": { +"enum": [ +"INGESTION_STATUS_UNSPECIFIED", +"INGESTION_STATUS_SUCCEEDED", +"INGESTION_STATUS_CONTEXT_NOT_AVAILABLE", +"INGESTION_STATUS_PARSE_FAILED", +"INGESTION_STATUS_INVALID_ENTRY", +"INGESTION_STATUS_INVALID_FORMAT", +"INGESTION_STATUS_LANGUAGE_MISMATCH" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"", +"" +], +"type": "string" +}, +"parameter": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2InitializeEncryptionSpecMetadata": { +"id": "GoogleCloudDialogflowV2InitializeEncryptionSpecMetadata", +"properties": { +"request": { +"$ref": "GoogleCloudDialogflowV2InitializeEncryptionSpecRequest", +"readOnly": true +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2InitializeEncryptionSpecRequest": { +"id": "GoogleCloudDialogflowV2InitializeEncryptionSpecRequest", +"properties": { +"encryptionSpec": { +"$ref": "GoogleCloudDialogflowV2EncryptionSpec" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2InputAudioConfig": { +"id": "GoogleCloudDialogflowV2InputAudioConfig", +"properties": { +"audioEncoding": { +"enum": [ +"AUDIO_ENCODING_UNSPECIFIED", +"AUDIO_ENCODING_LINEAR_16", +"AUDIO_ENCODING_FLAC", +"AUDIO_ENCODING_MULAW", +"AUDIO_ENCODING_AMR", +"AUDIO_ENCODING_AMR_WB", +"AUDIO_ENCODING_OGG_OPUS", +"AUDIO_ENCODING_SPEEX_WITH_HEADER_BYTE", +"AUDIO_ENCODING_ALAW" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"", +"", +"", +"" +], +"type": "string" +}, +"disableNoSpeechRecognizedEvent": { +"type": "boolean" +}, +"enableAutomaticPunctuation": { +"type": "boolean" +}, +"enableWordInfo": { +"type": "boolean" +}, +"languageCode": { +"type": "string" +}, +"model": { +"type": "string" +}, +"modelVariant": { +"enum": [ +"SPEECH_MODEL_VARIANT_UNSPECIFIED", +"USE_BEST_AVAILABLE", +"USE_STANDARD", +"USE_ENHANCED" +], +"enumDescriptions": [ +"", +"", +"", +"" +], +"type": "string" +}, +"optOutConformerModelMigration": { +"type": "boolean" +}, +"phraseHints": { +"deprecated": true, +"items": { +"type": "string" +}, +"type": "array" +}, +"phraseSets": { +"items": { +"type": "string" +}, +"type": "array" +}, +"sampleRateHertz": { +"format": "int32", +"type": "integer" +}, +"singleUtterance": { +"type": "boolean" +}, +"speechContexts": { +"items": { +"$ref": "GoogleCloudDialogflowV2SpeechContext" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2InputConfig": { +"id": "GoogleCloudDialogflowV2InputConfig", +"properties": { +"gcsSource": { +"$ref": "GoogleCloudDialogflowV2GcsSources" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2InputDataset": { +"id": "GoogleCloudDialogflowV2InputDataset", +"properties": { +"dataset": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2Intent": { +"id": "GoogleCloudDialogflowV2Intent", +"properties": { +"action": { +"type": "string" +}, +"defaultResponsePlatforms": { +"items": { +"enum": [ +"PLATFORM_UNSPECIFIED", +"FACEBOOK", +"SLACK", +"TELEGRAM", +"KIK", +"SKYPE", +"LINE", +"VIBER", +"ACTIONS_ON_GOOGLE", +"GOOGLE_HANGOUTS" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"", +"", +"", +"", +"" +], +"type": "string" +}, +"type": "array" +}, +"displayName": { +"type": "string" +}, +"endInteraction": { +"type": "boolean" +}, +"events": { +"items": { +"type": "string" +}, +"type": "array" +}, +"followupIntentInfo": { +"items": { +"$ref": "GoogleCloudDialogflowV2IntentFollowupIntentInfo" +}, +"readOnly": true, +"type": "array" +}, +"inputContextNames": { +"items": { +"type": "string" +}, +"type": "array" +}, +"isFallback": { +"type": "boolean" +}, +"liveAgentHandoff": { +"type": "boolean" +}, +"messages": { +"items": { +"$ref": "GoogleCloudDialogflowV2IntentMessage" +}, +"type": "array" +}, +"mlDisabled": { +"type": "boolean" +}, +"name": { +"type": "string" +}, +"outputContexts": { +"items": { +"$ref": "GoogleCloudDialogflowV2Context" +}, +"type": "array" +}, +"parameters": { +"items": { +"$ref": "GoogleCloudDialogflowV2IntentParameter" +}, +"type": "array" +}, +"parentFollowupIntentName": { +"type": "string" +}, +"priority": { +"format": "int32", +"type": "integer" +}, +"resetContexts": { +"type": "boolean" +}, +"rootFollowupIntentName": { +"readOnly": true, +"type": "string" +}, +"trainingPhrases": { +"items": { +"$ref": "GoogleCloudDialogflowV2IntentTrainingPhrase" +}, +"type": "array" +}, +"webhookState": { +"enum": [ +"WEBHOOK_STATE_UNSPECIFIED", +"WEBHOOK_STATE_ENABLED", +"WEBHOOK_STATE_ENABLED_FOR_SLOT_FILLING" +], +"enumDescriptions": [ +"", +"", +"" +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2IntentBatch": { +"id": "GoogleCloudDialogflowV2IntentBatch", +"properties": { +"intents": { +"items": { +"$ref": "GoogleCloudDialogflowV2Intent" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2IntentFollowupIntentInfo": { +"id": "GoogleCloudDialogflowV2IntentFollowupIntentInfo", +"properties": { +"followupIntentName": { +"type": "string" +}, +"parentFollowupIntentName": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2IntentMessage": { +"id": "GoogleCloudDialogflowV2IntentMessage", +"properties": { +"basicCard": { +"$ref": "GoogleCloudDialogflowV2IntentMessageBasicCard" +}, +"browseCarouselCard": { +"$ref": "GoogleCloudDialogflowV2IntentMessageBrowseCarouselCard" +}, +"card": { +"$ref": "GoogleCloudDialogflowV2IntentMessageCard" +}, +"carouselSelect": { +"$ref": "GoogleCloudDialogflowV2IntentMessageCarouselSelect" +}, +"image": { +"$ref": "GoogleCloudDialogflowV2IntentMessageImage" +}, +"linkOutSuggestion": { +"$ref": "GoogleCloudDialogflowV2IntentMessageLinkOutSuggestion" +}, +"listSelect": { +"$ref": "GoogleCloudDialogflowV2IntentMessageListSelect" +}, +"mediaContent": { +"$ref": "GoogleCloudDialogflowV2IntentMessageMediaContent" +}, +"payload": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"type": "object" +}, +"platform": { +"enum": [ +"PLATFORM_UNSPECIFIED", +"FACEBOOK", +"SLACK", +"TELEGRAM", +"KIK", +"SKYPE", +"LINE", +"VIBER", +"ACTIONS_ON_GOOGLE", +"GOOGLE_HANGOUTS" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"", +"", +"", +"", +"" +], +"type": "string" +}, +"quickReplies": { +"$ref": "GoogleCloudDialogflowV2IntentMessageQuickReplies" +}, +"simpleResponses": { +"$ref": "GoogleCloudDialogflowV2IntentMessageSimpleResponses" +}, +"suggestions": { +"$ref": "GoogleCloudDialogflowV2IntentMessageSuggestions" +}, +"tableCard": { +"$ref": "GoogleCloudDialogflowV2IntentMessageTableCard" +}, +"text": { +"$ref": "GoogleCloudDialogflowV2IntentMessageText" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2IntentMessageBasicCard": { +"id": "GoogleCloudDialogflowV2IntentMessageBasicCard", +"properties": { +"buttons": { +"items": { +"$ref": "GoogleCloudDialogflowV2IntentMessageBasicCardButton" +}, +"type": "array" +}, +"formattedText": { +"type": "string" +}, +"image": { +"$ref": "GoogleCloudDialogflowV2IntentMessageImage" +}, +"subtitle": { +"type": "string" +}, +"title": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2IntentMessageBasicCardButton": { +"id": "GoogleCloudDialogflowV2IntentMessageBasicCardButton", +"properties": { +"openUriAction": { +"$ref": "GoogleCloudDialogflowV2IntentMessageBasicCardButtonOpenUriAction" +}, +"title": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2IntentMessageBasicCardButtonOpenUriAction": { +"id": "GoogleCloudDialogflowV2IntentMessageBasicCardButtonOpenUriAction", +"properties": { +"uri": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2IntentMessageBrowseCarouselCard": { +"id": "GoogleCloudDialogflowV2IntentMessageBrowseCarouselCard", +"properties": { +"imageDisplayOptions": { +"enum": [ +"IMAGE_DISPLAY_OPTIONS_UNSPECIFIED", +"GRAY", +"WHITE", +"CROPPED", +"BLURRED_BACKGROUND" +], +"enumDescriptions": [ +"", +"", +"", +"", +"" +], +"type": "string" +}, +"items": { +"items": { +"$ref": "GoogleCloudDialogflowV2IntentMessageBrowseCarouselCardBrowseCarouselCardItem" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2IntentMessageBrowseCarouselCardBrowseCarouselCardItem": { +"id": "GoogleCloudDialogflowV2IntentMessageBrowseCarouselCardBrowseCarouselCardItem", +"properties": { +"description": { +"type": "string" +}, +"footer": { +"type": "string" +}, +"image": { +"$ref": "GoogleCloudDialogflowV2IntentMessageImage" +}, +"openUriAction": { +"$ref": "GoogleCloudDialogflowV2IntentMessageBrowseCarouselCardBrowseCarouselCardItemOpenUrlAction" +}, +"title": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2IntentMessageBrowseCarouselCardBrowseCarouselCardItemOpenUrlAction": { +"id": "GoogleCloudDialogflowV2IntentMessageBrowseCarouselCardBrowseCarouselCardItemOpenUrlAction", +"properties": { +"url": { +"type": "string" +}, +"urlTypeHint": { +"enum": [ +"URL_TYPE_HINT_UNSPECIFIED", +"AMP_ACTION", +"AMP_CONTENT" +], +"enumDescriptions": [ +"", +"", +"" +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2IntentMessageCard": { +"id": "GoogleCloudDialogflowV2IntentMessageCard", +"properties": { +"buttons": { +"items": { +"$ref": "GoogleCloudDialogflowV2IntentMessageCardButton" +}, +"type": "array" +}, +"imageUri": { +"type": "string" +}, +"subtitle": { +"type": "string" +}, +"title": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2IntentMessageCardButton": { +"id": "GoogleCloudDialogflowV2IntentMessageCardButton", +"properties": { +"postback": { +"type": "string" +}, +"text": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2IntentMessageCarouselSelect": { +"id": "GoogleCloudDialogflowV2IntentMessageCarouselSelect", +"properties": { +"items": { +"items": { +"$ref": "GoogleCloudDialogflowV2IntentMessageCarouselSelectItem" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2IntentMessageCarouselSelectItem": { +"id": "GoogleCloudDialogflowV2IntentMessageCarouselSelectItem", +"properties": { +"description": { +"type": "string" +}, +"image": { +"$ref": "GoogleCloudDialogflowV2IntentMessageImage" +}, +"info": { +"$ref": "GoogleCloudDialogflowV2IntentMessageSelectItemInfo" +}, +"title": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2IntentMessageColumnProperties": { +"id": "GoogleCloudDialogflowV2IntentMessageColumnProperties", +"properties": { +"header": { +"type": "string" +}, +"horizontalAlignment": { +"enum": [ +"HORIZONTAL_ALIGNMENT_UNSPECIFIED", +"LEADING", +"CENTER", +"TRAILING" +], +"enumDescriptions": [ +"", +"", +"", +"" +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2IntentMessageImage": { +"id": "GoogleCloudDialogflowV2IntentMessageImage", +"properties": { +"accessibilityText": { +"type": "string" +}, +"imageUri": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2IntentMessageLinkOutSuggestion": { +"id": "GoogleCloudDialogflowV2IntentMessageLinkOutSuggestion", +"properties": { +"destinationName": { +"type": "string" +}, +"uri": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2IntentMessageListSelect": { +"id": "GoogleCloudDialogflowV2IntentMessageListSelect", +"properties": { +"items": { +"items": { +"$ref": "GoogleCloudDialogflowV2IntentMessageListSelectItem" +}, +"type": "array" +}, +"subtitle": { +"type": "string" +}, +"title": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2IntentMessageListSelectItem": { +"id": "GoogleCloudDialogflowV2IntentMessageListSelectItem", +"properties": { +"description": { +"type": "string" +}, +"image": { +"$ref": "GoogleCloudDialogflowV2IntentMessageImage" +}, +"info": { +"$ref": "GoogleCloudDialogflowV2IntentMessageSelectItemInfo" +}, +"title": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2IntentMessageMediaContent": { +"id": "GoogleCloudDialogflowV2IntentMessageMediaContent", +"properties": { +"mediaObjects": { +"items": { +"$ref": "GoogleCloudDialogflowV2IntentMessageMediaContentResponseMediaObject" +}, +"type": "array" +}, +"mediaType": { +"enum": [ +"RESPONSE_MEDIA_TYPE_UNSPECIFIED", +"AUDIO" +], +"enumDescriptions": [ +"", +"" +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2IntentMessageMediaContentResponseMediaObject": { +"id": "GoogleCloudDialogflowV2IntentMessageMediaContentResponseMediaObject", +"properties": { +"contentUrl": { +"type": "string" +}, +"description": { +"type": "string" +}, +"icon": { +"$ref": "GoogleCloudDialogflowV2IntentMessageImage" +}, +"largeImage": { +"$ref": "GoogleCloudDialogflowV2IntentMessageImage" +}, +"name": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2IntentMessageQuickReplies": { +"id": "GoogleCloudDialogflowV2IntentMessageQuickReplies", +"properties": { +"quickReplies": { +"items": { +"type": "string" +}, +"type": "array" +}, +"title": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2IntentMessageSelectItemInfo": { +"id": "GoogleCloudDialogflowV2IntentMessageSelectItemInfo", +"properties": { +"key": { +"type": "string" +}, +"synonyms": { +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2IntentMessageSimpleResponse": { +"id": "GoogleCloudDialogflowV2IntentMessageSimpleResponse", +"properties": { +"displayText": { +"type": "string" +}, +"ssml": { +"type": "string" +}, +"textToSpeech": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2IntentMessageSimpleResponses": { +"id": "GoogleCloudDialogflowV2IntentMessageSimpleResponses", +"properties": { +"simpleResponses": { +"items": { +"$ref": "GoogleCloudDialogflowV2IntentMessageSimpleResponse" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2IntentMessageSuggestion": { +"id": "GoogleCloudDialogflowV2IntentMessageSuggestion", +"properties": { +"title": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2IntentMessageSuggestions": { +"id": "GoogleCloudDialogflowV2IntentMessageSuggestions", +"properties": { +"suggestions": { +"items": { +"$ref": "GoogleCloudDialogflowV2IntentMessageSuggestion" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2IntentMessageTableCard": { +"id": "GoogleCloudDialogflowV2IntentMessageTableCard", +"properties": { +"buttons": { +"items": { +"$ref": "GoogleCloudDialogflowV2IntentMessageBasicCardButton" +}, +"type": "array" +}, +"columnProperties": { +"items": { +"$ref": "GoogleCloudDialogflowV2IntentMessageColumnProperties" +}, +"type": "array" +}, +"image": { +"$ref": "GoogleCloudDialogflowV2IntentMessageImage" +}, +"rows": { +"items": { +"$ref": "GoogleCloudDialogflowV2IntentMessageTableCardRow" +}, +"type": "array" +}, +"subtitle": { +"type": "string" +}, +"title": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2IntentMessageTableCardCell": { +"id": "GoogleCloudDialogflowV2IntentMessageTableCardCell", +"properties": { +"text": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2IntentMessageTableCardRow": { +"id": "GoogleCloudDialogflowV2IntentMessageTableCardRow", +"properties": { +"cells": { +"items": { +"$ref": "GoogleCloudDialogflowV2IntentMessageTableCardCell" +}, +"type": "array" +}, +"dividerAfter": { +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2IntentMessageText": { +"id": "GoogleCloudDialogflowV2IntentMessageText", +"properties": { +"text": { +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2IntentParameter": { +"id": "GoogleCloudDialogflowV2IntentParameter", +"properties": { +"defaultValue": { +"type": "string" +}, +"displayName": { +"type": "string" +}, +"entityTypeDisplayName": { +"type": "string" +}, +"isList": { +"type": "boolean" +}, +"mandatory": { +"type": "boolean" +}, +"name": { +"type": "string" +}, +"prompts": { +"items": { +"type": "string" +}, +"type": "array" +}, +"value": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2IntentSuggestion": { +"id": "GoogleCloudDialogflowV2IntentSuggestion", +"properties": { +"description": { +"type": "string" +}, +"displayName": { +"type": "string" +}, +"intentV2": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2IntentTrainingPhrase": { +"id": "GoogleCloudDialogflowV2IntentTrainingPhrase", +"properties": { +"name": { +"readOnly": true, +"type": "string" +}, +"parts": { +"items": { +"$ref": "GoogleCloudDialogflowV2IntentTrainingPhrasePart" +}, +"type": "array" +}, +"timesAddedCount": { +"format": "int32", +"type": "integer" +}, +"type": { +"enum": [ +"TYPE_UNSPECIFIED", +"EXAMPLE", +"TEMPLATE" +], +"enumDeprecated": [ +false, +false, +true +], +"enumDescriptions": [ +"", +"", +"" +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2IntentTrainingPhrasePart": { +"id": "GoogleCloudDialogflowV2IntentTrainingPhrasePart", +"properties": { +"alias": { +"type": "string" +}, +"entityType": { +"type": "string" +}, +"text": { +"type": "string" +}, +"userDefined": { +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2KnowledgeAssistAnswer": { +"id": "GoogleCloudDialogflowV2KnowledgeAssistAnswer", +"properties": { +"answerRecord": { +"type": "string" +}, +"knowledgeAssistDebugInfo": { +"$ref": "GoogleCloudDialogflowV2KnowledgeAssistDebugInfo" +}, +"suggestedQuery": { +"$ref": "GoogleCloudDialogflowV2KnowledgeAssistAnswerSuggestedQuery" +}, +"suggestedQueryAnswer": { +"$ref": "GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswer" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswer": { +"id": "GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswer", +"properties": { +"answerText": { +"type": "string" +}, +"faqSource": { +"$ref": "GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswerFaqSource" +}, +"generativeSource": { +"$ref": "GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswerGenerativeSource" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswerFaqSource": { +"id": "GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswerFaqSource", +"properties": { +"question": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswerGenerativeSource": { +"id": "GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswerGenerativeSource", +"properties": { +"snippets": { +"items": { +"$ref": "GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswerGenerativeSourceSnippet" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswerGenerativeSourceSnippet": { +"id": "GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswerGenerativeSourceSnippet", +"properties": { +"metadata": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"type": "object" +}, +"text": { +"type": "string" +}, +"title": { +"type": "string" +}, +"uri": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2KnowledgeAssistAnswerSuggestedQuery": { +"id": "GoogleCloudDialogflowV2KnowledgeAssistAnswerSuggestedQuery", +"properties": { +"queryText": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2KnowledgeAssistDebugInfo": { +"id": "GoogleCloudDialogflowV2KnowledgeAssistDebugInfo", +"properties": { +"datastoreResponseReason": { +"enum": [ +"DATASTORE_RESPONSE_REASON_UNSPECIFIED", +"NONE", +"SEARCH_OUT_OF_QUOTA", +"SEARCH_EMPTY_RESULTS", +"ANSWER_GENERATION_GEN_AI_DISABLED", +"ANSWER_GENERATION_OUT_OF_QUOTA", +"ANSWER_GENERATION_ERROR", +"ANSWER_GENERATION_NOT_ENOUGH_INFO", +"ANSWER_GENERATION_RAI_FAILED", +"ANSWER_GENERATION_NOT_GROUNDED" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"", +"", +"", +"", +"" +], +"type": "string" +}, +"ingestedContextReferenceDebugInfo": { +"$ref": "GoogleCloudDialogflowV2IngestedContextReferenceDebugInfo" +}, +"knowledgeAssistBehavior": { +"$ref": "GoogleCloudDialogflowV2KnowledgeAssistDebugInfoKnowledgeAssistBehavior" +}, +"queryCategorizationFailureReason": { +"enum": [ +"QUERY_CATEGORIZATION_FAILURE_REASON_UNSPECIFIED", +"QUERY_CATEGORIZATION_INVALID_CONFIG", +"QUERY_CATEGORIZATION_RESULT_NOT_FOUND", +"QUERY_CATEGORIZATION_FAILED" +], +"enumDescriptions": [ +"", +"", +"", +"" +], +"type": "string" +}, +"queryGenerationFailureReason": { +"enum": [ +"QUERY_GENERATION_FAILURE_REASON_UNSPECIFIED", +"QUERY_GENERATION_OUT_OF_QUOTA", +"QUERY_GENERATION_FAILED", +"QUERY_GENERATION_NO_QUERY_GENERATED", +"QUERY_GENERATION_RAI_FAILED", +"NOT_IN_ALLOWLIST", +"QUERY_GENERATION_QUERY_REDACTED", +"QUERY_GENERATION_LLM_RESPONSE_PARSE_FAILED", +"QUERY_GENERATION_EMPTY_CONVERSATION", +"QUERY_GENERATION_EMPTY_LAST_MESSAGE", +"QUERY_GENERATION_TRIGGERING_EVENT_CONDITION_NOT_MET" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"" +], +"type": "string" +}, +"serviceLatency": { +"$ref": "GoogleCloudDialogflowV2ServiceLatency" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2KnowledgeAssistDebugInfoKnowledgeAssistBehavior": { +"id": "GoogleCloudDialogflowV2KnowledgeAssistDebugInfoKnowledgeAssistBehavior", +"properties": { +"answerGenerationRewriterOn": { +"type": "boolean" +}, +"appendedSearchContextCount": { +"format": "int32", +"type": "integer" +}, +"conversationTranscriptHasMixedLanguages": { +"type": "boolean" +}, +"disableSyncDelivery": { +"type": "boolean" +}, +"endUserMetadataIncluded": { +"type": "boolean" +}, +"invalidItemsQuerySuggestionSkipped": { +"type": "boolean" +}, +"multipleQueriesGenerated": { +"type": "boolean" +}, +"previousQueriesIncluded": { +"type": "boolean" +}, +"primaryQueryRedactedAndReplaced": { +"type": "boolean" +}, +"queryContainedSearchContext": { +"type": "boolean" +}, +"queryGenerationAgentLanguageMismatch": { +"type": "boolean" +}, +"queryGenerationEndUserLanguageMismatch": { +"type": "boolean" +}, +"returnQueryOnly": { +"type": "boolean" +}, +"thirdPartyConnectorAllowed": { +"type": "boolean" +}, +"useCustomSafetyFilterLevel": { +"type": "boolean" +}, +"usePubsubDelivery": { +"type": "boolean" +}, +"useTranslatedMessage": { +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2KnowledgeBase": { +"id": "GoogleCloudDialogflowV2KnowledgeBase", +"properties": { +"displayName": { +"type": "string" +}, +"languageCode": { +"type": "string" +}, +"name": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2KnowledgeOperationMetadata": { +"id": "GoogleCloudDialogflowV2KnowledgeOperationMetadata", +"properties": { +"doneTime": { +"format": "google-datetime", +"type": "string" +}, +"exportOperationMetadata": { +"$ref": "GoogleCloudDialogflowV2ExportOperationMetadata" +}, +"knowledgeBase": { +"type": "string" +}, +"state": { +"enum": [ +"STATE_UNSPECIFIED", +"PENDING", +"RUNNING", +"DONE" +], +"enumDescriptions": [ +"", +"", +"", +"" +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2ListAnswerRecordsResponse": { +"id": "GoogleCloudDialogflowV2ListAnswerRecordsResponse", +"properties": { +"answerRecords": { +"items": { +"$ref": "GoogleCloudDialogflowV2AnswerRecord" +}, +"type": "array" +}, +"nextPageToken": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2ListContextsResponse": { +"id": "GoogleCloudDialogflowV2ListContextsResponse", +"properties": { +"contexts": { +"items": { +"$ref": "GoogleCloudDialogflowV2Context" +}, +"type": "array" +}, +"nextPageToken": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2ListConversationDatasetsResponse": { +"id": "GoogleCloudDialogflowV2ListConversationDatasetsResponse", +"properties": { +"conversationDatasets": { +"items": { +"$ref": "GoogleCloudDialogflowV2ConversationDataset" +}, +"type": "array" +}, +"nextPageToken": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2ListConversationModelEvaluationsResponse": { +"id": "GoogleCloudDialogflowV2ListConversationModelEvaluationsResponse", +"properties": { +"conversationModelEvaluations": { +"items": { +"$ref": "GoogleCloudDialogflowV2ConversationModelEvaluation" +}, +"type": "array" +}, +"nextPageToken": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2ListConversationModelsResponse": { +"id": "GoogleCloudDialogflowV2ListConversationModelsResponse", +"properties": { +"conversationModels": { +"items": { +"$ref": "GoogleCloudDialogflowV2ConversationModel" +}, +"type": "array" +}, +"nextPageToken": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2ListConversationProfilesResponse": { +"id": "GoogleCloudDialogflowV2ListConversationProfilesResponse", +"properties": { +"conversationProfiles": { +"items": { +"$ref": "GoogleCloudDialogflowV2ConversationProfile" +}, +"type": "array" +}, +"nextPageToken": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2ListConversationsResponse": { +"id": "GoogleCloudDialogflowV2ListConversationsResponse", +"properties": { +"conversations": { +"items": { +"$ref": "GoogleCloudDialogflowV2Conversation" +}, +"type": "array" +}, +"nextPageToken": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2ListDocumentsResponse": { +"id": "GoogleCloudDialogflowV2ListDocumentsResponse", +"properties": { +"documents": { +"items": { +"$ref": "GoogleCloudDialogflowV2Document" +}, +"type": "array" +}, +"nextPageToken": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2ListEntityTypesResponse": { +"id": "GoogleCloudDialogflowV2ListEntityTypesResponse", +"properties": { +"entityTypes": { +"items": { +"$ref": "GoogleCloudDialogflowV2EntityType" +}, +"type": "array" +}, +"nextPageToken": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2ListEnvironmentsResponse": { +"id": "GoogleCloudDialogflowV2ListEnvironmentsResponse", +"properties": { +"environments": { +"items": { +"$ref": "GoogleCloudDialogflowV2Environment" +}, +"type": "array" +}, +"nextPageToken": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2ListGeneratorEvaluationsResponse": { +"id": "GoogleCloudDialogflowV2ListGeneratorEvaluationsResponse", +"properties": { +"generatorEvaluations": { +"items": { +"$ref": "GoogleCloudDialogflowV2GeneratorEvaluation" +}, +"type": "array" +}, +"nextPageToken": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2ListGeneratorsResponse": { +"id": "GoogleCloudDialogflowV2ListGeneratorsResponse", +"properties": { +"generators": { +"items": { +"$ref": "GoogleCloudDialogflowV2Generator" +}, +"type": "array" +}, +"nextPageToken": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2ListIntentsResponse": { +"id": "GoogleCloudDialogflowV2ListIntentsResponse", +"properties": { +"intents": { +"items": { +"$ref": "GoogleCloudDialogflowV2Intent" +}, +"type": "array" +}, +"nextPageToken": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2ListKnowledgeBasesResponse": { +"id": "GoogleCloudDialogflowV2ListKnowledgeBasesResponse", +"properties": { +"knowledgeBases": { +"items": { +"$ref": "GoogleCloudDialogflowV2KnowledgeBase" +}, +"type": "array" +}, +"nextPageToken": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2ListMessagesResponse": { +"id": "GoogleCloudDialogflowV2ListMessagesResponse", +"properties": { +"messages": { +"items": { +"$ref": "GoogleCloudDialogflowV2Message" +}, +"type": "array" +}, +"nextPageToken": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2ListParticipantsResponse": { +"id": "GoogleCloudDialogflowV2ListParticipantsResponse", +"properties": { +"nextPageToken": { +"type": "string" +}, +"participants": { +"items": { +"$ref": "GoogleCloudDialogflowV2Participant" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2ListSessionEntityTypesResponse": { +"id": "GoogleCloudDialogflowV2ListSessionEntityTypesResponse", +"properties": { +"nextPageToken": { +"type": "string" +}, +"sessionEntityTypes": { +"items": { +"$ref": "GoogleCloudDialogflowV2SessionEntityType" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2ListSipTrunksResponse": { +"id": "GoogleCloudDialogflowV2ListSipTrunksResponse", +"properties": { +"nextPageToken": { +"type": "string" +}, +"sipTrunks": { +"items": { +"$ref": "GoogleCloudDialogflowV2SipTrunk" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2ListToolsResponse": { +"id": "GoogleCloudDialogflowV2ListToolsResponse", +"properties": { +"nextPageToken": { +"type": "string" +}, +"tools": { +"items": { +"$ref": "GoogleCloudDialogflowV2Tool" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2ListVersionsResponse": { +"id": "GoogleCloudDialogflowV2ListVersionsResponse", +"properties": { +"nextPageToken": { +"type": "string" +}, +"versions": { +"items": { +"$ref": "GoogleCloudDialogflowV2Version" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2LoggingConfig": { +"id": "GoogleCloudDialogflowV2LoggingConfig", +"properties": { +"enableStackdriverLogging": { +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2Message": { +"id": "GoogleCloudDialogflowV2Message", +"properties": { +"content": { +"type": "string" +}, +"createTime": { +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"languageCode": { +"type": "string" +}, +"messageAnnotation": { +"$ref": "GoogleCloudDialogflowV2MessageAnnotation", +"readOnly": true +}, +"name": { +"type": "string" +}, +"participant": { +"readOnly": true, +"type": "string" +}, +"participantRole": { +"enum": [ +"ROLE_UNSPECIFIED", +"HUMAN_AGENT", +"AUTOMATED_AGENT", +"END_USER" +], +"enumDescriptions": [ +"", +"", +"", +"" +], +"readOnly": true, +"type": "string" +}, +"sendTime": { +"format": "google-datetime", +"type": "string" +}, +"sentimentAnalysis": { +"$ref": "GoogleCloudDialogflowV2SentimentAnalysisResult", +"readOnly": true +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2MessageAnnotation": { +"id": "GoogleCloudDialogflowV2MessageAnnotation", +"properties": { +"containEntities": { +"type": "boolean" +}, +"parts": { +"items": { +"$ref": "GoogleCloudDialogflowV2AnnotatedMessagePart" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2MessageEntry": { +"id": "GoogleCloudDialogflowV2MessageEntry", +"properties": { +"createTime": { +"format": "google-datetime", +"type": "string" +}, +"languageCode": { +"type": "string" +}, +"role": { +"enum": [ +"ROLE_UNSPECIFIED", +"HUMAN_AGENT", +"AUTOMATED_AGENT", +"END_USER" +], +"enumDescriptions": [ +"", +"", +"", +"" +], +"type": "string" +}, +"text": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2NotificationConfig": { +"id": "GoogleCloudDialogflowV2NotificationConfig", +"properties": { +"messageFormat": { +"enum": [ +"MESSAGE_FORMAT_UNSPECIFIED", +"PROTO", +"JSON" +], +"enumDescriptions": [ +"", +"", +"" +], +"type": "string" +}, +"topic": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2OriginalDetectIntentRequest": { +"id": "GoogleCloudDialogflowV2OriginalDetectIntentRequest", +"properties": { +"payload": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"type": "object" +}, +"source": { +"type": "string" +}, +"version": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2OutputAudio": { +"id": "GoogleCloudDialogflowV2OutputAudio", +"properties": { +"audio": { +"format": "byte", +"type": "string" +}, +"config": { +"$ref": "GoogleCloudDialogflowV2OutputAudioConfig" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2OutputAudioConfig": { +"id": "GoogleCloudDialogflowV2OutputAudioConfig", +"properties": { +"audioEncoding": { +"enum": [ +"OUTPUT_AUDIO_ENCODING_UNSPECIFIED", +"OUTPUT_AUDIO_ENCODING_LINEAR_16", +"OUTPUT_AUDIO_ENCODING_MP3", +"OUTPUT_AUDIO_ENCODING_MP3_64_KBPS", +"OUTPUT_AUDIO_ENCODING_OGG_OPUS", +"OUTPUT_AUDIO_ENCODING_MULAW", +"OUTPUT_AUDIO_ENCODING_ALAW" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"", +"" +], +"type": "string" +}, +"sampleRateHertz": { +"format": "int32", +"type": "integer" +}, +"synthesizeSpeechConfig": { +"$ref": "GoogleCloudDialogflowV2SynthesizeSpeechConfig" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2Participant": { +"id": "GoogleCloudDialogflowV2Participant", +"properties": { +"agentDesktopSource": { +"enum": [ +"AGENT_DESKTOP_SOURCE_UNSPECIFIED", +"LIVE_PERSON", +"GENESYS_CLOUD", +"TWILIO", +"SALESFORCE", +"OTHER" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"" +], +"type": "string" +}, +"documentsMetadataFilters": { +"additionalProperties": { +"type": "string" +}, +"type": "object" +}, +"name": { +"type": "string" +}, +"obfuscatedExternalUserId": { +"type": "string" +}, +"role": { +"enum": [ +"ROLE_UNSPECIFIED", +"HUMAN_AGENT", +"AUTOMATED_AGENT", +"END_USER" +], +"enumDescriptions": [ +"", +"", +"", +"" +], +"type": "string" +}, +"sipRecordingMediaLabel": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2QueryInput": { +"id": "GoogleCloudDialogflowV2QueryInput", +"properties": { +"audioConfig": { +"$ref": "GoogleCloudDialogflowV2InputAudioConfig" +}, +"event": { +"$ref": "GoogleCloudDialogflowV2EventInput" +}, +"text": { +"$ref": "GoogleCloudDialogflowV2TextInput" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2QueryParameters": { +"id": "GoogleCloudDialogflowV2QueryParameters", +"properties": { +"contexts": { +"items": { +"$ref": "GoogleCloudDialogflowV2Context" +}, +"type": "array" +}, +"geoLocation": { +"$ref": "GoogleTypeLatLng" +}, +"payload": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"type": "object" +}, +"platform": { +"type": "string" +}, +"resetContexts": { +"type": "boolean" +}, +"sentimentAnalysisRequestConfig": { +"$ref": "GoogleCloudDialogflowV2SentimentAnalysisRequestConfig" +}, +"sessionEntityTypes": { +"items": { +"$ref": "GoogleCloudDialogflowV2SessionEntityType" +}, +"type": "array" +}, +"timeZone": { +"type": "string" +}, +"webhookHeaders": { +"additionalProperties": { +"type": "string" +}, +"type": "object" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2QueryResult": { +"id": "GoogleCloudDialogflowV2QueryResult", +"properties": { +"action": { +"type": "string" +}, +"allRequiredParamsPresent": { +"type": "boolean" +}, +"cancelsSlotFilling": { +"type": "boolean" +}, +"diagnosticInfo": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"type": "object" +}, +"fulfillmentMessages": { +"items": { +"$ref": "GoogleCloudDialogflowV2IntentMessage" +}, +"type": "array" +}, +"fulfillmentText": { +"type": "string" +}, +"intent": { +"$ref": "GoogleCloudDialogflowV2Intent" +}, +"intentDetectionConfidence": { +"format": "float", +"type": "number" +}, +"languageCode": { +"type": "string" +}, +"outputContexts": { +"items": { +"$ref": "GoogleCloudDialogflowV2Context" +}, +"type": "array" +}, +"parameters": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"type": "object" +}, +"queryText": { +"type": "string" +}, +"sentimentAnalysisResult": { +"$ref": "GoogleCloudDialogflowV2SentimentAnalysisResult" +}, +"speechRecognitionConfidence": { +"format": "float", +"type": "number" +}, +"webhookPayload": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"type": "object" +}, +"webhookSource": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2RaiSettings": { +"id": "GoogleCloudDialogflowV2RaiSettings", +"properties": { +"raiCategoryConfigs": { +"items": { +"$ref": "GoogleCloudDialogflowV2RaiSettingsRaiCategoryConfig" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2RaiSettingsRaiCategoryConfig": { +"id": "GoogleCloudDialogflowV2RaiSettingsRaiCategoryConfig", +"properties": { +"category": { +"enum": [ +"RAI_CATEGORY_UNSPECIFIED", +"DANGEROUS_CONTENT", +"SEXUALLY_EXPLICIT", +"HARASSMENT", +"HATE_SPEECH" +], +"enumDescriptions": [ +"", +"", +"", +"", +"" +], +"type": "string" +}, +"sensitivityLevel": { +"enum": [ +"SENSITIVITY_LEVEL_UNSPECIFIED", +"BLOCK_MOST", +"BLOCK_SOME", +"BLOCK_FEW", +"BLOCK_NONE" +], +"enumDescriptions": [ +"", +"", +"", +"", +"" +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2ReloadDocumentRequest": { +"id": "GoogleCloudDialogflowV2ReloadDocumentRequest", +"properties": { +"contentUri": { +"type": "string" +}, +"importGcsCustomMetadata": { +"type": "boolean" +}, +"smartMessagingPartialUpdate": { +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2RestoreAgentRequest": { +"id": "GoogleCloudDialogflowV2RestoreAgentRequest", +"properties": { +"agentContent": { +"format": "byte", +"type": "string" +}, +"agentUri": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2SearchAgentsResponse": { +"id": "GoogleCloudDialogflowV2SearchAgentsResponse", +"properties": { +"agents": { +"items": { +"$ref": "GoogleCloudDialogflowV2Agent" +}, +"type": "array" +}, +"nextPageToken": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2SearchKnowledgeAnswer": { +"id": "GoogleCloudDialogflowV2SearchKnowledgeAnswer", +"properties": { +"answer": { +"type": "string" +}, +"answerRecord": { +"type": "string" +}, +"answerSources": { +"items": { +"$ref": "GoogleCloudDialogflowV2SearchKnowledgeAnswerAnswerSource" +}, +"type": "array" +}, +"answerType": { +"enum": [ +"ANSWER_TYPE_UNSPECIFIED", +"FAQ", +"GENERATIVE", +"INTENT" +], +"enumDescriptions": [ +"", +"", +"", +"" +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2SearchKnowledgeAnswerAnswerSource": { +"id": "GoogleCloudDialogflowV2SearchKnowledgeAnswerAnswerSource", +"properties": { +"metadata": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"type": "object" +}, +"snippet": { +"type": "string" +}, +"title": { +"type": "string" +}, +"uri": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2SearchKnowledgeDebugInfo": { +"id": "GoogleCloudDialogflowV2SearchKnowledgeDebugInfo", +"properties": { +"datastoreResponseReason": { +"enum": [ +"DATASTORE_RESPONSE_REASON_UNSPECIFIED", +"NONE", +"SEARCH_OUT_OF_QUOTA", +"SEARCH_EMPTY_RESULTS", +"ANSWER_GENERATION_GEN_AI_DISABLED", +"ANSWER_GENERATION_OUT_OF_QUOTA", +"ANSWER_GENERATION_ERROR", +"ANSWER_GENERATION_NOT_ENOUGH_INFO", +"ANSWER_GENERATION_RAI_FAILED", +"ANSWER_GENERATION_NOT_GROUNDED" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"", +"", +"", +"", +"" +], +"type": "string" +}, +"ingestedContextReferenceDebugInfo": { +"$ref": "GoogleCloudDialogflowV2IngestedContextReferenceDebugInfo" +}, +"searchKnowledgeBehavior": { +"$ref": "GoogleCloudDialogflowV2SearchKnowledgeDebugInfoSearchKnowledgeBehavior" +}, +"serviceLatency": { +"$ref": "GoogleCloudDialogflowV2ServiceLatency" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2SearchKnowledgeDebugInfoSearchKnowledgeBehavior": { +"id": "GoogleCloudDialogflowV2SearchKnowledgeDebugInfoSearchKnowledgeBehavior", +"properties": { +"answerGenerationRewriterOn": { +"type": "boolean" +}, +"endUserMetadataIncluded": { +"type": "boolean" +}, +"thirdPartyConnectorAllowed": { +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2SearchKnowledgeRequest": { +"id": "GoogleCloudDialogflowV2SearchKnowledgeRequest", +"properties": { +"conversation": { +"type": "string" +}, +"conversationProfile": { +"type": "string" +}, +"endUserMetadata": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"type": "object" +}, +"exactSearch": { +"type": "boolean" +}, +"latestMessage": { +"type": "string" +}, +"parent": { +"type": "string" +}, +"query": { +"$ref": "GoogleCloudDialogflowV2TextInput" +}, +"querySource": { +"enum": [ +"QUERY_SOURCE_UNSPECIFIED", +"AGENT_QUERY", +"SUGGESTED_QUERY" +], +"enumDescriptions": [ +"", +"", +"" +], +"type": "string" +}, +"searchConfig": { +"$ref": "GoogleCloudDialogflowV2SearchKnowledgeRequestSearchConfig" +}, +"sessionId": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2SearchKnowledgeRequestSearchConfig": { +"id": "GoogleCloudDialogflowV2SearchKnowledgeRequestSearchConfig", +"properties": { +"boostSpecs": { +"items": { +"$ref": "GoogleCloudDialogflowV2SearchKnowledgeRequestSearchConfigBoostSpecs" +}, +"type": "array" +}, +"filterSpecs": { +"items": { +"$ref": "GoogleCloudDialogflowV2SearchKnowledgeRequestSearchConfigFilterSpecs" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2SearchKnowledgeRequestSearchConfigBoostSpecs": { +"id": "GoogleCloudDialogflowV2SearchKnowledgeRequestSearchConfigBoostSpecs", +"properties": { +"dataStores": { +"items": { +"type": "string" +}, +"type": "array" +}, +"spec": { +"items": { +"$ref": "GoogleCloudDialogflowV2SearchKnowledgeRequestSearchConfigBoostSpecsBoostSpec" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2SearchKnowledgeRequestSearchConfigBoostSpecsBoostSpec": { +"id": "GoogleCloudDialogflowV2SearchKnowledgeRequestSearchConfigBoostSpecsBoostSpec", +"properties": { +"conditionBoostSpecs": { +"items": { +"$ref": "GoogleCloudDialogflowV2SearchKnowledgeRequestSearchConfigBoostSpecsBoostSpecConditionBoostSpec" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2SearchKnowledgeRequestSearchConfigBoostSpecsBoostSpecConditionBoostSpec": { +"id": "GoogleCloudDialogflowV2SearchKnowledgeRequestSearchConfigBoostSpecsBoostSpecConditionBoostSpec", +"properties": { +"boost": { +"format": "float", +"type": "number" +}, +"boostControlSpec": { +"$ref": "GoogleCloudDialogflowV2SearchKnowledgeRequestSearchConfigBoostSpecsBoostSpecConditionBoostSpecBoostControlSpec" +}, +"condition": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2SearchKnowledgeRequestSearchConfigBoostSpecsBoostSpecConditionBoostSpecBoostControlSpec": { +"id": "GoogleCloudDialogflowV2SearchKnowledgeRequestSearchConfigBoostSpecsBoostSpecConditionBoostSpecBoostControlSpec", +"properties": { +"attributeType": { +"enum": [ +"ATTRIBUTE_TYPE_UNSPECIFIED", +"NUMERICAL", +"FRESHNESS" +], +"enumDescriptions": [ +"", +"", +"" +], +"type": "string" +}, +"controlPoints": { +"items": { +"$ref": "GoogleCloudDialogflowV2SearchKnowledgeRequestSearchConfigBoostSpecsBoostSpecConditionBoostSpecBoostControlSpecControlPoint" +}, +"type": "array" +}, +"fieldName": { +"type": "string" +}, +"interpolationType": { +"enum": [ +"INTERPOLATION_TYPE_UNSPECIFIED", +"LINEAR" +], +"enumDescriptions": [ +"", +"" +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2SearchKnowledgeRequestSearchConfigBoostSpecsBoostSpecConditionBoostSpecBoostControlSpecControlPoint": { +"id": "GoogleCloudDialogflowV2SearchKnowledgeRequestSearchConfigBoostSpecsBoostSpecConditionBoostSpecBoostControlSpecControlPoint", +"properties": { +"attributeValue": { +"type": "string" +}, +"boostAmount": { +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2SearchKnowledgeRequestSearchConfigFilterSpecs": { +"id": "GoogleCloudDialogflowV2SearchKnowledgeRequestSearchConfigFilterSpecs", +"properties": { +"dataStores": { +"items": { +"type": "string" +}, +"type": "array" +}, +"filter": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2SearchKnowledgeResponse": { +"id": "GoogleCloudDialogflowV2SearchKnowledgeResponse", +"properties": { +"answers": { +"items": { +"$ref": "GoogleCloudDialogflowV2SearchKnowledgeAnswer" +}, +"type": "array" +}, +"rewrittenQuery": { +"type": "string" +}, +"searchKnowledgeDebugInfo": { +"$ref": "GoogleCloudDialogflowV2SearchKnowledgeDebugInfo" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2Sentiment": { +"id": "GoogleCloudDialogflowV2Sentiment", +"properties": { +"magnitude": { +"format": "float", +"type": "number" +}, +"score": { +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2SentimentAnalysisRequestConfig": { +"id": "GoogleCloudDialogflowV2SentimentAnalysisRequestConfig", +"properties": { +"analyzeQueryTextSentiment": { +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2SentimentAnalysisResult": { +"id": "GoogleCloudDialogflowV2SentimentAnalysisResult", +"properties": { +"queryTextSentiment": { +"$ref": "GoogleCloudDialogflowV2Sentiment" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2ServiceLatency": { +"id": "GoogleCloudDialogflowV2ServiceLatency", +"properties": { +"internalServiceLatencies": { +"items": { +"$ref": "GoogleCloudDialogflowV2ServiceLatencyInternalServiceLatency" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2ServiceLatencyInternalServiceLatency": { +"id": "GoogleCloudDialogflowV2ServiceLatencyInternalServiceLatency", +"properties": { +"completeTime": { +"format": "google-datetime", +"type": "string" +}, +"latencyMs": { +"format": "float", +"type": "number" +}, +"startTime": { +"format": "google-datetime", +"type": "string" +}, +"step": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2SessionEntityType": { +"id": "GoogleCloudDialogflowV2SessionEntityType", +"properties": { +"entities": { +"items": { +"$ref": "GoogleCloudDialogflowV2EntityTypeEntity" +}, +"type": "array" +}, +"entityOverrideMode": { +"enum": [ +"ENTITY_OVERRIDE_MODE_UNSPECIFIED", +"ENTITY_OVERRIDE_MODE_OVERRIDE", +"ENTITY_OVERRIDE_MODE_SUPPLEMENT" +], +"enumDescriptions": [ +"", +"", +"" +], +"type": "string" +}, +"name": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2SetSuggestionFeatureConfigOperationMetadata": { +"id": "GoogleCloudDialogflowV2SetSuggestionFeatureConfigOperationMetadata", +"properties": { +"conversationProfile": { +"type": "string" +}, +"createTime": { +"format": "google-datetime", +"type": "string" +}, +"participantRole": { +"enum": [ +"ROLE_UNSPECIFIED", +"HUMAN_AGENT", +"AUTOMATED_AGENT", +"END_USER" +], +"enumDescriptions": [ +"", +"", +"", +"" +], +"type": "string" +}, +"suggestionFeatureType": { +"enum": [ +"TYPE_UNSPECIFIED", +"ARTICLE_SUGGESTION", +"FAQ", +"SMART_REPLY", +"CONVERSATION_SUMMARIZATION", +"KNOWLEDGE_SEARCH", +"KNOWLEDGE_ASSIST" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"", +"" +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2SetSuggestionFeatureConfigRequest": { +"id": "GoogleCloudDialogflowV2SetSuggestionFeatureConfigRequest", +"properties": { +"participantRole": { +"enum": [ +"ROLE_UNSPECIFIED", +"HUMAN_AGENT", +"AUTOMATED_AGENT", +"END_USER" +], +"enumDescriptions": [ +"", +"", +"", +"" +], +"type": "string" +}, +"suggestionFeatureConfig": { +"$ref": "GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionFeatureConfig" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2SipTrunk": { +"id": "GoogleCloudDialogflowV2SipTrunk", +"properties": { +"connections": { +"items": { +"$ref": "GoogleCloudDialogflowV2Connection" +}, +"readOnly": true, +"type": "array" +}, +"displayName": { +"type": "string" +}, +"expectedHostname": { +"items": { +"type": "string" +}, +"type": "array" +}, +"name": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2SmartReplyAnswer": { +"id": "GoogleCloudDialogflowV2SmartReplyAnswer", +"properties": { +"answerRecord": { +"type": "string" +}, +"confidence": { +"format": "float", +"type": "number" +}, +"reply": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2SmartReplyMetrics": { +"id": "GoogleCloudDialogflowV2SmartReplyMetrics", +"properties": { +"allowlistCoverage": { +"format": "float", +"type": "number" +}, +"conversationCount": { +"format": "int64", +"type": "string" +}, +"topNMetrics": { +"items": { +"$ref": "GoogleCloudDialogflowV2SmartReplyMetricsTopNMetrics" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2SmartReplyMetricsTopNMetrics": { +"id": "GoogleCloudDialogflowV2SmartReplyMetricsTopNMetrics", +"properties": { +"n": { +"format": "int32", +"type": "integer" +}, +"recall": { +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2SmartReplyModelMetadata": { +"id": "GoogleCloudDialogflowV2SmartReplyModelMetadata", +"properties": { +"trainingModelType": { +"enum": [ +"MODEL_TYPE_UNSPECIFIED", +"SMART_REPLY_DUAL_ENCODER_MODEL", +"SMART_REPLY_BERT_MODEL" +], +"enumDescriptions": [ +"", +"", +"" +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2SpeechContext": { +"id": "GoogleCloudDialogflowV2SpeechContext", +"properties": { +"boost": { +"format": "float", +"type": "number" +}, +"phrases": { +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2SpeechToTextConfig": { +"id": "GoogleCloudDialogflowV2SpeechToTextConfig", +"properties": { +"audioEncoding": { +"enum": [ +"AUDIO_ENCODING_UNSPECIFIED", +"AUDIO_ENCODING_LINEAR_16", +"AUDIO_ENCODING_FLAC", +"AUDIO_ENCODING_MULAW", +"AUDIO_ENCODING_AMR", +"AUDIO_ENCODING_AMR_WB", +"AUDIO_ENCODING_OGG_OPUS", +"AUDIO_ENCODING_SPEEX_WITH_HEADER_BYTE", +"AUDIO_ENCODING_ALAW" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"", +"", +"", +"" +], +"type": "string" +}, +"enableWordInfo": { +"type": "boolean" +}, +"languageCode": { +"type": "string" +}, +"model": { +"type": "string" +}, +"phraseSets": { +"items": { +"type": "string" +}, +"type": "array" +}, +"sampleRateHertz": { +"format": "int32", +"type": "integer" +}, +"speechModelVariant": { +"enum": [ +"SPEECH_MODEL_VARIANT_UNSPECIFIED", +"USE_BEST_AVAILABLE", +"USE_STANDARD", +"USE_ENHANCED" +], +"enumDescriptions": [ +"", +"", +"", +"" +], +"type": "string" +}, +"useTimeoutBasedEndpointing": { +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2SpeechWordInfo": { +"id": "GoogleCloudDialogflowV2SpeechWordInfo", +"properties": { +"confidence": { +"format": "float", +"type": "number" +}, +"endOffset": { +"format": "google-duration", +"type": "string" +}, +"startOffset": { +"format": "google-duration", +"type": "string" +}, +"word": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2StreamingRecognitionResult": { +"id": "GoogleCloudDialogflowV2StreamingRecognitionResult", +"properties": { +"confidence": { +"format": "float", +"type": "number" +}, +"isFinal": { +"type": "boolean" +}, +"languageCode": { +"type": "string" +}, +"messageType": { +"enum": [ +"MESSAGE_TYPE_UNSPECIFIED", +"TRANSCRIPT", +"END_OF_SINGLE_UTTERANCE" +], +"enumDescriptions": [ +"", +"", +"" +], +"type": "string" +}, +"speechEndOffset": { +"format": "google-duration", +"type": "string" +}, +"speechWordInfo": { +"items": { +"$ref": "GoogleCloudDialogflowV2SpeechWordInfo" +}, +"type": "array" +}, +"transcript": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2SuggestArticlesRequest": { +"id": "GoogleCloudDialogflowV2SuggestArticlesRequest", +"properties": { +"assistQueryParams": { +"$ref": "GoogleCloudDialogflowV2AssistQueryParameters" +}, +"contextSize": { +"format": "int32", +"type": "integer" +}, +"latestMessage": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2SuggestArticlesResponse": { +"id": "GoogleCloudDialogflowV2SuggestArticlesResponse", +"properties": { +"articleAnswers": { +"items": { +"$ref": "GoogleCloudDialogflowV2ArticleAnswer" +}, +"type": "array" +}, +"contextSize": { +"format": "int32", +"type": "integer" +}, +"latestMessage": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2SuggestConversationSummaryRequest": { +"id": "GoogleCloudDialogflowV2SuggestConversationSummaryRequest", +"properties": { +"assistQueryParams": { +"$ref": "GoogleCloudDialogflowV2AssistQueryParameters" +}, +"contextSize": { +"format": "int32", +"type": "integer" +}, +"latestMessage": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2SuggestConversationSummaryResponse": { +"id": "GoogleCloudDialogflowV2SuggestConversationSummaryResponse", +"properties": { +"contextSize": { +"format": "int32", +"type": "integer" +}, +"latestMessage": { +"type": "string" +}, +"summary": { +"$ref": "GoogleCloudDialogflowV2SuggestConversationSummaryResponseSummary" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2SuggestConversationSummaryResponseSummary": { +"id": "GoogleCloudDialogflowV2SuggestConversationSummaryResponseSummary", +"properties": { +"answerRecord": { +"type": "string" +}, +"baselineModelVersion": { +"type": "string" +}, +"sortedTextSections": { +"items": { +"$ref": "GoogleCloudDialogflowV2SuggestConversationSummaryResponseSummarySummarySection" +}, +"type": "array" +}, +"text": { +"type": "string" +}, +"textSections": { +"additionalProperties": { +"type": "string" +}, +"type": "object" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2SuggestConversationSummaryResponseSummarySummarySection": { +"id": "GoogleCloudDialogflowV2SuggestConversationSummaryResponseSummarySummarySection", +"properties": { +"section": { +"readOnly": true, +"type": "string" +}, +"summary": { +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2SuggestFaqAnswersRequest": { +"id": "GoogleCloudDialogflowV2SuggestFaqAnswersRequest", +"properties": { +"assistQueryParams": { +"$ref": "GoogleCloudDialogflowV2AssistQueryParameters" +}, +"contextSize": { +"format": "int32", +"type": "integer" +}, +"latestMessage": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2SuggestFaqAnswersResponse": { +"id": "GoogleCloudDialogflowV2SuggestFaqAnswersResponse", +"properties": { +"contextSize": { +"format": "int32", +"type": "integer" +}, +"faqAnswers": { +"items": { +"$ref": "GoogleCloudDialogflowV2FaqAnswer" +}, +"type": "array" +}, +"latestMessage": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2SuggestKnowledgeAssistRequest": { +"id": "GoogleCloudDialogflowV2SuggestKnowledgeAssistRequest", +"properties": { +"contextSize": { +"format": "int32", +"type": "integer" +}, +"latestMessage": { +"type": "string" +}, +"previousSuggestedQuery": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2SuggestKnowledgeAssistResponse": { +"id": "GoogleCloudDialogflowV2SuggestKnowledgeAssistResponse", +"properties": { +"contextSize": { +"format": "int32", +"type": "integer" +}, +"knowledgeAssistAnswer": { +"$ref": "GoogleCloudDialogflowV2KnowledgeAssistAnswer", +"readOnly": true +}, +"latestMessage": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2SuggestSmartRepliesRequest": { +"id": "GoogleCloudDialogflowV2SuggestSmartRepliesRequest", +"properties": { +"contextSize": { +"format": "int32", +"type": "integer" +}, +"currentTextInput": { +"$ref": "GoogleCloudDialogflowV2TextInput" +}, +"latestMessage": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2SuggestSmartRepliesResponse": { +"id": "GoogleCloudDialogflowV2SuggestSmartRepliesResponse", +"properties": { +"contextSize": { +"format": "int32", +"type": "integer" +}, +"latestMessage": { +"type": "string" +}, +"smartReplyAnswers": { +"items": { +"$ref": "GoogleCloudDialogflowV2SmartReplyAnswer" +}, +"readOnly": true, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2SuggestionDedupingConfig": { +"id": "GoogleCloudDialogflowV2SuggestionDedupingConfig", +"properties": { +"enableDeduping": { +"type": "boolean" +}, +"similarityThreshold": { +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2SuggestionFeature": { +"id": "GoogleCloudDialogflowV2SuggestionFeature", +"properties": { +"type": { +"enum": [ +"TYPE_UNSPECIFIED", +"ARTICLE_SUGGESTION", +"FAQ", +"SMART_REPLY", +"CONVERSATION_SUMMARIZATION", +"KNOWLEDGE_SEARCH", +"KNOWLEDGE_ASSIST" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"", +"" +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2SuggestionInput": { +"id": "GoogleCloudDialogflowV2SuggestionInput", +"properties": { +"action": { +"enum": [ +"ACTION_UNSPECIFIED", +"CANCEL", +"REVISE", +"CONFIRM" +], +"enumDescriptions": [ +"", +"", +"", +"" +], +"type": "string" +}, +"answerRecord": { +"type": "string" +}, +"parameters": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"type": "object" +}, +"sendTime": { +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2SuggestionResult": { +"id": "GoogleCloudDialogflowV2SuggestionResult", +"properties": { +"error": { +"$ref": "GoogleRpcStatus" +}, +"generateSuggestionsResponse": { +"$ref": "GoogleCloudDialogflowV2GenerateSuggestionsResponse" +}, +"suggestArticlesResponse": { +"$ref": "GoogleCloudDialogflowV2SuggestArticlesResponse" +}, +"suggestFaqAnswersResponse": { +"$ref": "GoogleCloudDialogflowV2SuggestFaqAnswersResponse" +}, +"suggestKnowledgeAssistResponse": { +"$ref": "GoogleCloudDialogflowV2SuggestKnowledgeAssistResponse" +}, +"suggestSmartRepliesResponse": { +"$ref": "GoogleCloudDialogflowV2SuggestSmartRepliesResponse" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2SummarizationContext": { +"id": "GoogleCloudDialogflowV2SummarizationContext", +"properties": { +"fewShotExamples": { +"items": { +"$ref": "GoogleCloudDialogflowV2FewShotExample" +}, +"type": "array" +}, +"outputLanguageCode": { +"type": "string" +}, +"summarizationSections": { +"items": { +"$ref": "GoogleCloudDialogflowV2SummarizationSection" +}, +"type": "array" +}, +"version": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2SummarizationEvaluationMetrics": { +"id": "GoogleCloudDialogflowV2SummarizationEvaluationMetrics", +"properties": { +"conversationDetails": { +"items": { +"$ref": "GoogleCloudDialogflowV2SummarizationEvaluationMetricsConversationDetail" +}, +"readOnly": true, +"type": "array" +}, +"overallMetrics": { +"items": { +"$ref": "GoogleCloudDialogflowV2SummarizationEvaluationMetricsOverallScoresByMetric" +}, +"readOnly": true, +"type": "array" +}, +"overallSectionTokens": { +"items": { +"$ref": "GoogleCloudDialogflowV2SummarizationEvaluationMetricsSectionToken" +}, +"readOnly": true, +"type": "array" +}, +"summarizationEvaluationMergedResultsUri": { +"readOnly": true, +"type": "string" +}, +"summarizationEvaluationResults": { +"items": { +"$ref": "GoogleCloudDialogflowV2SummarizationEvaluationMetricsSummarizationEvaluationResult" +}, +"readOnly": true, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2SummarizationEvaluationMetricsAccuracyDecomposition": { +"id": "GoogleCloudDialogflowV2SummarizationEvaluationMetricsAccuracyDecomposition", +"properties": { +"accuracyReasoning": { +"readOnly": true, +"type": "string" +}, +"isAccurate": { +"readOnly": true, +"type": "boolean" +}, +"point": { +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2SummarizationEvaluationMetricsAdherenceDecomposition": { +"deprecated": true, +"id": "GoogleCloudDialogflowV2SummarizationEvaluationMetricsAdherenceDecomposition", +"properties": { +"adherenceReasoning": { +"readOnly": true, +"type": "string" +}, +"isAdherent": { +"readOnly": true, +"type": "boolean" +}, +"point": { +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2SummarizationEvaluationMetricsAdherenceRubric": { +"id": "GoogleCloudDialogflowV2SummarizationEvaluationMetricsAdherenceRubric", +"properties": { +"isAddressed": { +"readOnly": true, +"type": "boolean" +}, +"question": { +"readOnly": true, +"type": "string" +}, +"reasoning": { +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2SummarizationEvaluationMetricsCompletenessRubric": { +"id": "GoogleCloudDialogflowV2SummarizationEvaluationMetricsCompletenessRubric", +"properties": { +"isAddressed": { +"readOnly": true, +"type": "boolean" +}, +"question": { +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2SummarizationEvaluationMetricsConversationDetail": { +"id": "GoogleCloudDialogflowV2SummarizationEvaluationMetricsConversationDetail", +"properties": { +"messageEntries": { +"items": { +"$ref": "GoogleCloudDialogflowV2MessageEntry" +}, +"readOnly": true, +"type": "array" +}, +"metricDetails": { +"items": { +"$ref": "GoogleCloudDialogflowV2SummarizationEvaluationMetricsConversationDetailMetricDetail" +}, +"readOnly": true, +"type": "array" +}, +"sectionTokens": { +"items": { +"$ref": "GoogleCloudDialogflowV2SummarizationEvaluationMetricsSectionToken" +}, +"readOnly": true, +"type": "array" +}, +"summarySections": { +"items": { +"$ref": "GoogleCloudDialogflowV2SummarySuggestionSummarySection" +}, +"readOnly": true, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2SummarizationEvaluationMetricsConversationDetailMetricDetail": { +"id": "GoogleCloudDialogflowV2SummarizationEvaluationMetricsConversationDetailMetricDetail", +"properties": { +"metric": { +"readOnly": true, +"type": "string" +}, +"score": { +"format": "float", +"readOnly": true, +"type": "number" +}, +"sectionDetails": { +"items": { +"$ref": "GoogleCloudDialogflowV2SummarizationEvaluationMetricsConversationDetailMetricDetailSectionDetail" +}, +"readOnly": true, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2SummarizationEvaluationMetricsConversationDetailMetricDetailSectionDetail": { +"id": "GoogleCloudDialogflowV2SummarizationEvaluationMetricsConversationDetailMetricDetailSectionDetail", +"properties": { +"evaluationResults": { +"items": { +"$ref": "GoogleCloudDialogflowV2SummarizationEvaluationMetricsEvaluationResult" +}, +"readOnly": true, +"type": "array" +}, +"score": { +"format": "float", +"readOnly": true, +"type": "number" +}, +"section": { +"readOnly": true, +"type": "string" +}, +"sectionSummary": { +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2SummarizationEvaluationMetricsDecomposition": { +"deprecated": true, +"id": "GoogleCloudDialogflowV2SummarizationEvaluationMetricsDecomposition", +"properties": { +"accuracyDecomposition": { +"$ref": "GoogleCloudDialogflowV2SummarizationEvaluationMetricsAccuracyDecomposition" +}, +"adherenceDecomposition": { +"$ref": "GoogleCloudDialogflowV2SummarizationEvaluationMetricsAdherenceDecomposition" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2SummarizationEvaluationMetricsEvaluationResult": { +"id": "GoogleCloudDialogflowV2SummarizationEvaluationMetricsEvaluationResult", +"properties": { +"accuracyDecomposition": { +"$ref": "GoogleCloudDialogflowV2SummarizationEvaluationMetricsAccuracyDecomposition" +}, +"adherenceRubric": { +"$ref": "GoogleCloudDialogflowV2SummarizationEvaluationMetricsAdherenceRubric" +}, +"completenessRubric": { +"$ref": "GoogleCloudDialogflowV2SummarizationEvaluationMetricsCompletenessRubric" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2SummarizationEvaluationMetricsOverallScoresByMetric": { +"id": "GoogleCloudDialogflowV2SummarizationEvaluationMetricsOverallScoresByMetric", +"properties": { +"metric": { +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2SummarizationEvaluationMetricsSectionToken": { +"id": "GoogleCloudDialogflowV2SummarizationEvaluationMetricsSectionToken", +"properties": { +"section": { +"readOnly": true, +"type": "string" +}, +"tokenCount": { +"format": "int64", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2SummarizationEvaluationMetricsSummarizationEvaluationResult": { +"id": "GoogleCloudDialogflowV2SummarizationEvaluationMetricsSummarizationEvaluationResult", +"properties": { +"decompositions": { +"deprecated": true, +"items": { +"$ref": "GoogleCloudDialogflowV2SummarizationEvaluationMetricsDecomposition" +}, +"readOnly": true, +"type": "array" +}, +"evaluationResults": { +"items": { +"$ref": "GoogleCloudDialogflowV2SummarizationEvaluationMetricsEvaluationResult" +}, +"readOnly": true, +"type": "array" +}, +"metric": { +"readOnly": true, +"type": "string" +}, +"score": { +"format": "float", +"readOnly": true, +"type": "number" +}, +"section": { +"readOnly": true, +"type": "string" +}, +"sectionSummary": { +"readOnly": true, +"type": "string" +}, +"sessionId": { +"deprecated": true, +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2SummarizationSection": { +"id": "GoogleCloudDialogflowV2SummarizationSection", +"properties": { +"definition": { +"type": "string" +}, +"key": { +"type": "string" +}, +"type": { +"enum": [ +"TYPE_UNSPECIFIED", +"SITUATION", +"ACTION", +"RESOLUTION", +"REASON_FOR_CANCELLATION", +"CUSTOMER_SATISFACTION", +"ENTITIES", +"CUSTOMER_DEFINED", +"SITUATION_CONCISE", +"ACTION_CONCISE" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"", +"", +"", +"", +"" +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2SummarizationSectionList": { +"id": "GoogleCloudDialogflowV2SummarizationSectionList", +"properties": { +"summarizationSections": { +"items": { +"$ref": "GoogleCloudDialogflowV2SummarizationSection" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2SummarySuggestion": { +"id": "GoogleCloudDialogflowV2SummarySuggestion", +"properties": { +"summarySections": { +"items": { +"$ref": "GoogleCloudDialogflowV2SummarySuggestionSummarySection" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2SummarySuggestionSummarySection": { +"id": "GoogleCloudDialogflowV2SummarySuggestionSummarySection", +"properties": { +"section": { +"type": "string" +}, +"summary": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2SynthesizeSpeechConfig": { +"id": "GoogleCloudDialogflowV2SynthesizeSpeechConfig", +"properties": { +"effectsProfileId": { +"items": { +"type": "string" +}, +"type": "array" +}, +"pitch": { +"format": "double", +"type": "number" +}, +"pronunciations": { +"items": { +"$ref": "GoogleCloudDialogflowV2CustomPronunciationParams" +}, +"type": "array" +}, +"speakingRate": { +"format": "double", +"type": "number" +}, +"voice": { +"$ref": "GoogleCloudDialogflowV2VoiceSelectionParams" +}, +"volumeGainDb": { +"format": "double", +"type": "number" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2TextInput": { +"id": "GoogleCloudDialogflowV2TextInput", +"properties": { +"languageCode": { +"type": "string" +}, +"text": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2TextToSpeechSettings": { +"id": "GoogleCloudDialogflowV2TextToSpeechSettings", +"properties": { +"enableTextToSpeech": { +"type": "boolean" +}, +"outputAudioEncoding": { +"enum": [ +"OUTPUT_AUDIO_ENCODING_UNSPECIFIED", +"OUTPUT_AUDIO_ENCODING_LINEAR_16", +"OUTPUT_AUDIO_ENCODING_MP3", +"OUTPUT_AUDIO_ENCODING_MP3_64_KBPS", +"OUTPUT_AUDIO_ENCODING_OGG_OPUS", +"OUTPUT_AUDIO_ENCODING_MULAW", +"OUTPUT_AUDIO_ENCODING_ALAW" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"", +"" +], +"type": "string" +}, +"sampleRateHertz": { +"format": "int32", +"type": "integer" +}, +"synthesizeSpeechConfigs": { +"additionalProperties": { +"$ref": "GoogleCloudDialogflowV2SynthesizeSpeechConfig" +}, +"type": "object" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2Tool": { +"id": "GoogleCloudDialogflowV2Tool", +"properties": { +"actionConfirmationRequirement": { +"additionalProperties": { +"enum": [ +"CONFIRMATION_REQUIREMENT_UNSPECIFIED", +"REQUIRED", +"NOT_REQUIRED" +], +"enumDescriptions": [ +"", +"", +"" +], +"type": "string" +}, +"type": "object" +}, +"connectorSpec": { +"$ref": "GoogleCloudDialogflowV2ToolConnectorTool" +}, +"createTime": { +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"description": { +"type": "string" +}, +"displayName": { +"type": "string" +}, +"extensionSpec": { +"$ref": "GoogleCloudDialogflowV2ToolExtensionTool", +"deprecated": true +}, +"functionSpec": { +"$ref": "GoogleCloudDialogflowV2ToolFunctionTool" +}, +"name": { +"readOnly": true, +"type": "string" +}, +"openApiSpec": { +"$ref": "GoogleCloudDialogflowV2ToolOpenApiTool" +}, +"satisfiesPzi": { +"readOnly": true, +"type": "boolean" +}, +"satisfiesPzs": { +"readOnly": true, +"type": "boolean" +}, +"toolKey": { +"type": "string" +}, +"updateTime": { +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2ToolAuthentication": { +"id": "GoogleCloudDialogflowV2ToolAuthentication", +"properties": { +"apiKeyConfig": { +"$ref": "GoogleCloudDialogflowV2ToolAuthenticationApiKeyConfig" +}, +"bearerTokenConfig": { +"$ref": "GoogleCloudDialogflowV2ToolAuthenticationBearerTokenConfig" +}, +"oauthConfig": { +"$ref": "GoogleCloudDialogflowV2ToolAuthenticationOAuthConfig" +}, +"serviceAgentAuthConfig": { +"$ref": "GoogleCloudDialogflowV2ToolAuthenticationServiceAgentAuthConfig" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2ToolAuthenticationApiKeyConfig": { +"id": "GoogleCloudDialogflowV2ToolAuthenticationApiKeyConfig", +"properties": { +"apiKey": { +"type": "string" +}, +"keyName": { +"type": "string" +}, +"requestLocation": { +"enum": [ +"REQUEST_LOCATION_UNSPECIFIED", +"HEADER", +"QUERY_STRING" +], +"enumDescriptions": [ +"", +"", +"" +], +"type": "string" +}, +"secretVersionForApiKey": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2ToolAuthenticationBearerTokenConfig": { +"id": "GoogleCloudDialogflowV2ToolAuthenticationBearerTokenConfig", +"properties": { +"secretVersionForToken": { +"type": "string" +}, +"token": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2ToolAuthenticationOAuthConfig": { +"id": "GoogleCloudDialogflowV2ToolAuthenticationOAuthConfig", +"properties": { +"clientId": { +"type": "string" +}, +"clientSecret": { +"type": "string" +}, +"oauthGrantType": { +"enum": [ +"OAUTH_GRANT_TYPE_UNSPECIFIED", +"CLIENT_CREDENTIAL" +], +"enumDescriptions": [ +"", +"" +], +"type": "string" +}, +"scopes": { +"items": { +"type": "string" +}, +"type": "array" +}, +"secretVersionForClientSecret": { +"type": "string" +}, +"tokenEndpoint": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2ToolAuthenticationServiceAgentAuthConfig": { +"id": "GoogleCloudDialogflowV2ToolAuthenticationServiceAgentAuthConfig", +"properties": { +"serviceAgentAuth": { +"enum": [ +"SERVICE_AGENT_AUTH_UNSPECIFIED", +"ID_TOKEN", +"ACCESS_TOKEN" +], +"enumDescriptions": [ +"", +"", +"" +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2ToolCall": { +"id": "GoogleCloudDialogflowV2ToolCall", +"properties": { +"action": { +"type": "string" +}, +"answerRecord": { +"type": "string" +}, +"createTime": { +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"inputParameters": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"type": "object" +}, +"state": { +"enum": [ +"STATE_UNSPECIFIED", +"TRIGGERED", +"NEEDS_CONFIRMATION" +], +"enumDescriptions": [ +"", +"", +"" +], +"readOnly": true, +"type": "string" +}, +"tool": { +"type": "string" +}, +"toolDisplayDetails": { +"type": "string" +}, +"toolDisplayName": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2ToolCallResult": { +"id": "GoogleCloudDialogflowV2ToolCallResult", +"properties": { +"action": { +"type": "string" +}, +"answerRecord": { +"type": "string" +}, +"content": { +"type": "string" +}, +"createTime": { +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"error": { +"$ref": "GoogleCloudDialogflowV2ToolCallResultError" +}, +"rawContent": { +"format": "byte", +"type": "string" +}, +"tool": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2ToolCallResultError": { +"id": "GoogleCloudDialogflowV2ToolCallResultError", +"properties": { +"message": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2ToolConnectorTool": { +"id": "GoogleCloudDialogflowV2ToolConnectorTool", +"properties": { +"actions": { +"items": { +"$ref": "GoogleCloudDialogflowV2ToolConnectorToolAction" +}, +"type": "array" +}, +"name": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2ToolConnectorToolAction": { +"id": "GoogleCloudDialogflowV2ToolConnectorToolAction", +"properties": { +"connectionActionId": { +"type": "string" +}, +"entityOperation": { +"$ref": "GoogleCloudDialogflowV2ToolConnectorToolActionEntityOperation" +}, +"inputFields": { +"items": { +"type": "string" +}, +"type": "array" +}, +"outputFields": { +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2ToolConnectorToolActionEntityOperation": { +"id": "GoogleCloudDialogflowV2ToolConnectorToolActionEntityOperation", +"properties": { +"entityId": { +"type": "string" +}, +"operation": { +"enum": [ +"OPERATION_TYPE_UNSPECIFIED", +"LIST", +"GET", +"CREATE", +"UPDATE", +"DELETE" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"" +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2ToolExtensionTool": { +"id": "GoogleCloudDialogflowV2ToolExtensionTool", +"properties": { +"name": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2ToolFunctionTool": { +"id": "GoogleCloudDialogflowV2ToolFunctionTool", +"properties": { +"inputSchema": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"type": "object" +}, +"methodType": { +"enum": [ +"METHOD_TYPE_UNSPECIFIED", +"GET", +"POST", +"PUT", +"DELETE", +"PATCH" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"" +], +"type": "string" +}, +"outputSchema": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"type": "object" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2ToolOpenApiTool": { +"id": "GoogleCloudDialogflowV2ToolOpenApiTool", +"properties": { +"authentication": { +"$ref": "GoogleCloudDialogflowV2ToolAuthentication" +}, +"serviceDirectoryConfig": { +"$ref": "GoogleCloudDialogflowV2ToolServiceDirectoryConfig" +}, +"textSchema": { +"type": "string" +}, +"tlsConfig": { +"$ref": "GoogleCloudDialogflowV2ToolTLSConfig" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2ToolServiceDirectoryConfig": { +"id": "GoogleCloudDialogflowV2ToolServiceDirectoryConfig", +"properties": { +"service": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2ToolTLSConfig": { +"id": "GoogleCloudDialogflowV2ToolTLSConfig", +"properties": { +"caCerts": { +"items": { +"$ref": "GoogleCloudDialogflowV2ToolTLSConfigCACert" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2ToolTLSConfigCACert": { +"id": "GoogleCloudDialogflowV2ToolTLSConfigCACert", +"properties": { +"cert": { +"format": "byte", +"type": "string" +}, +"displayName": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2TrainAgentRequest": { +"id": "GoogleCloudDialogflowV2TrainAgentRequest", +"properties": {}, +"type": "object" +}, +"GoogleCloudDialogflowV2UndeployConversationModelOperationMetadata": { +"id": "GoogleCloudDialogflowV2UndeployConversationModelOperationMetadata", +"properties": { +"conversationModel": { +"type": "string" +}, +"createTime": { +"format": "google-datetime", +"type": "string" +}, +"doneTime": { +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2UndeployConversationModelRequest": { +"id": "GoogleCloudDialogflowV2UndeployConversationModelRequest", +"properties": {}, +"type": "object" +}, +"GoogleCloudDialogflowV2ValidationError": { +"id": "GoogleCloudDialogflowV2ValidationError", +"properties": { +"entries": { +"items": { +"type": "string" +}, +"type": "array" +}, +"errorMessage": { +"type": "string" +}, +"severity": { +"enum": [ +"SEVERITY_UNSPECIFIED", +"INFO", +"WARNING", +"ERROR", +"CRITICAL" +], +"enumDescriptions": [ +"", +"", +"", +"", +"" +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2ValidationResult": { +"id": "GoogleCloudDialogflowV2ValidationResult", +"properties": { +"validationErrors": { +"items": { +"$ref": "GoogleCloudDialogflowV2ValidationError" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2Version": { +"id": "GoogleCloudDialogflowV2Version", +"properties": { +"createTime": { +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"description": { +"type": "string" +}, +"name": { +"readOnly": true, +"type": "string" +}, +"status": { +"enum": [ +"VERSION_STATUS_UNSPECIFIED", +"IN_PROGRESS", +"READY", +"FAILED" +], +"enumDescriptions": [ +"", +"", +"", +"" +], +"readOnly": true, +"type": "string" +}, +"versionNumber": { +"format": "int32", +"readOnly": true, +"type": "integer" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2VoiceSelectionParams": { +"id": "GoogleCloudDialogflowV2VoiceSelectionParams", +"properties": { +"name": { +"type": "string" +}, +"ssmlGender": { +"enum": [ +"SSML_VOICE_GENDER_UNSPECIFIED", +"SSML_VOICE_GENDER_MALE", +"SSML_VOICE_GENDER_FEMALE", +"SSML_VOICE_GENDER_NEUTRAL" +], +"enumDescriptions": [ +"", +"", +"", +"" +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2WebhookRequest": { +"id": "GoogleCloudDialogflowV2WebhookRequest", +"properties": { +"originalDetectIntentRequest": { +"$ref": "GoogleCloudDialogflowV2OriginalDetectIntentRequest" +}, +"queryResult": { +"$ref": "GoogleCloudDialogflowV2QueryResult" +}, +"responseId": { +"type": "string" +}, +"session": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2WebhookResponse": { +"id": "GoogleCloudDialogflowV2WebhookResponse", +"properties": { +"followupEventInput": { +"$ref": "GoogleCloudDialogflowV2EventInput" +}, +"fulfillmentMessages": { +"items": { +"$ref": "GoogleCloudDialogflowV2IntentMessage" +}, +"type": "array" +}, +"fulfillmentText": { +"type": "string" +}, +"outputContexts": { +"items": { +"$ref": "GoogleCloudDialogflowV2Context" +}, +"type": "array" +}, +"payload": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"type": "object" +}, +"sessionEntityTypes": { +"items": { +"$ref": "GoogleCloudDialogflowV2SessionEntityType" +}, +"type": "array" +}, +"source": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1AgentCoachingInstruction": { +"id": "GoogleCloudDialogflowV2beta1AgentCoachingInstruction", +"properties": { +"agentAction": { +"type": "string" +}, +"condition": { +"type": "string" +}, +"displayDetails": { +"type": "string" +}, +"displayName": { +"type": "string" +}, +"duplicateCheckResult": { +"$ref": "GoogleCloudDialogflowV2beta1AgentCoachingInstructionDuplicateCheckResult", +"readOnly": true +}, +"systemAction": { +"type": "string" +}, +"triggeringEvent": { +"enum": [ +"TRIGGER_EVENT_UNSPECIFIED", +"END_OF_UTTERANCE", +"MANUAL_CALL", +"CUSTOMER_MESSAGE", +"AGENT_MESSAGE", +"TOOL_CALL_COMPLETION" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"" +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1AgentCoachingInstructionDuplicateCheckResult": { +"id": "GoogleCloudDialogflowV2beta1AgentCoachingInstructionDuplicateCheckResult", +"properties": { +"duplicateSuggestions": { +"items": { +"$ref": "GoogleCloudDialogflowV2beta1AgentCoachingInstructionDuplicateCheckResultDuplicateSuggestion" +}, +"readOnly": true, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1AgentCoachingInstructionDuplicateCheckResultDuplicateSuggestion": { +"id": "GoogleCloudDialogflowV2beta1AgentCoachingInstructionDuplicateCheckResultDuplicateSuggestion", +"properties": { +"answerRecord": { +"readOnly": true, +"type": "string" +}, +"similarityScore": { +"format": "float", +"readOnly": true, +"type": "number" +}, +"suggestionIndex": { +"format": "int32", +"readOnly": true, +"type": "integer" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1AgentCoachingSuggestion": { +"id": "GoogleCloudDialogflowV2beta1AgentCoachingSuggestion", +"properties": { +"agentActionSuggestions": { +"items": { +"$ref": "GoogleCloudDialogflowV2beta1AgentCoachingSuggestionAgentActionSuggestion" +}, +"type": "array" +}, +"applicableInstructions": { +"items": { +"$ref": "GoogleCloudDialogflowV2beta1AgentCoachingInstruction" +}, +"type": "array" +}, +"sampleResponses": { +"items": { +"$ref": "GoogleCloudDialogflowV2beta1AgentCoachingSuggestionSampleResponse" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1AgentCoachingSuggestionAgentActionSuggestion": { +"id": "GoogleCloudDialogflowV2beta1AgentCoachingSuggestionAgentActionSuggestion", +"properties": { +"agentAction": { +"type": "string" +}, +"duplicateCheckResult": { +"$ref": "GoogleCloudDialogflowV2beta1AgentCoachingSuggestionDuplicateCheckResult", +"readOnly": true +}, +"sources": { +"$ref": "GoogleCloudDialogflowV2beta1AgentCoachingSuggestionSources", +"readOnly": true +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1AgentCoachingSuggestionDuplicateCheckResult": { +"id": "GoogleCloudDialogflowV2beta1AgentCoachingSuggestionDuplicateCheckResult", +"properties": { +"duplicateSuggestions": { +"items": { +"$ref": "GoogleCloudDialogflowV2beta1AgentCoachingSuggestionDuplicateCheckResultDuplicateSuggestion" +}, +"readOnly": true, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1AgentCoachingSuggestionDuplicateCheckResultDuplicateSuggestion": { +"id": "GoogleCloudDialogflowV2beta1AgentCoachingSuggestionDuplicateCheckResultDuplicateSuggestion", +"properties": { +"answerRecord": { +"readOnly": true, +"type": "string" +}, +"similarityScore": { +"format": "float", +"readOnly": true, +"type": "number" +}, +"sources": { +"$ref": "GoogleCloudDialogflowV2beta1AgentCoachingSuggestionSources", +"readOnly": true +}, +"suggestionIndex": { +"format": "int32", +"readOnly": true, +"type": "integer" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1AgentCoachingSuggestionSampleResponse": { +"id": "GoogleCloudDialogflowV2beta1AgentCoachingSuggestionSampleResponse", +"properties": { +"duplicateCheckResult": { +"$ref": "GoogleCloudDialogflowV2beta1AgentCoachingSuggestionDuplicateCheckResult", +"readOnly": true +}, +"responseText": { +"type": "string" +}, +"sources": { +"$ref": "GoogleCloudDialogflowV2beta1AgentCoachingSuggestionSources", +"readOnly": true +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1AgentCoachingSuggestionSources": { +"id": "GoogleCloudDialogflowV2beta1AgentCoachingSuggestionSources", +"properties": { +"instructionIndexes": { +"items": { +"format": "int32", +"type": "integer" +}, +"readOnly": true, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1AnnotatedMessagePart": { +"id": "GoogleCloudDialogflowV2beta1AnnotatedMessagePart", +"properties": { +"entityType": { +"type": "string" +}, +"formattedValue": { +"type": "any" +}, +"text": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1ArticleAnswer": { +"id": "GoogleCloudDialogflowV2beta1ArticleAnswer", +"properties": { +"answerRecord": { +"type": "string" +}, +"metadata": { +"additionalProperties": { +"type": "string" +}, +"type": "object" +}, +"snippets": { +"items": { +"type": "string" +}, +"type": "array" +}, +"title": { +"type": "string" +}, +"uri": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1BatchUpdateEntityTypesResponse": { +"id": "GoogleCloudDialogflowV2beta1BatchUpdateEntityTypesResponse", +"properties": { +"entityTypes": { +"items": { +"$ref": "GoogleCloudDialogflowV2beta1EntityType" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1BatchUpdateIntentsResponse": { +"id": "GoogleCloudDialogflowV2beta1BatchUpdateIntentsResponse", +"properties": { +"intents": { +"items": { +"$ref": "GoogleCloudDialogflowV2beta1Intent" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1ClearSuggestionFeatureConfigOperationMetadata": { +"id": "GoogleCloudDialogflowV2beta1ClearSuggestionFeatureConfigOperationMetadata", +"properties": { +"conversationProfile": { +"type": "string" +}, +"createTime": { +"format": "google-datetime", +"type": "string" +}, +"participantRole": { +"enum": [ +"ROLE_UNSPECIFIED", +"HUMAN_AGENT", +"AUTOMATED_AGENT", +"END_USER" +], +"enumDescriptions": [ +"", +"", +"", +"" +], +"type": "string" +}, +"suggestionFeatureType": { +"enum": [ +"TYPE_UNSPECIFIED", +"ARTICLE_SUGGESTION", +"FAQ", +"SMART_REPLY", +"DIALOGFLOW_ASSIST", +"CONVERSATION_SUMMARIZATION", +"KNOWLEDGE_SEARCH", +"KNOWLEDGE_ASSIST" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"", +"", +"" +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1Context": { +"id": "GoogleCloudDialogflowV2beta1Context", +"properties": { +"lifespanCount": { +"format": "int32", +"type": "integer" +}, +"name": { +"type": "string" +}, +"parameters": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"type": "object" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1ConversationEvent": { +"id": "GoogleCloudDialogflowV2beta1ConversationEvent", +"properties": { +"conversation": { +"type": "string" +}, +"errorStatus": { +"$ref": "GoogleRpcStatus" +}, +"newMessagePayload": { +"$ref": "GoogleCloudDialogflowV2beta1Message" +}, +"newRecognitionResultPayload": { +"$ref": "GoogleCloudDialogflowV2beta1StreamingRecognitionResult" +}, +"type": { +"enum": [ +"TYPE_UNSPECIFIED", +"CONVERSATION_STARTED", +"CONVERSATION_FINISHED", +"HUMAN_INTERVENTION_NEEDED", +"NEW_MESSAGE", +"NEW_RECOGNITION_RESULT", +"UNRECOVERABLE_ERROR" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"", +"" +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1DialogflowAssistAnswer": { +"id": "GoogleCloudDialogflowV2beta1DialogflowAssistAnswer", +"properties": { +"answerRecord": { +"type": "string" +}, +"intentSuggestion": { +"$ref": "GoogleCloudDialogflowV2beta1IntentSuggestion" +}, +"queryResult": { +"$ref": "GoogleCloudDialogflowV2beta1QueryResult" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1EncryptionSpec": { +"id": "GoogleCloudDialogflowV2beta1EncryptionSpec", +"properties": { +"kmsKey": { +"type": "string" +}, +"name": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1EntityType": { +"id": "GoogleCloudDialogflowV2beta1EntityType", +"properties": { +"autoExpansionMode": { +"enum": [ +"AUTO_EXPANSION_MODE_UNSPECIFIED", +"AUTO_EXPANSION_MODE_DEFAULT" +], +"enumDescriptions": [ +"", +"" +], +"type": "string" +}, +"displayName": { +"type": "string" +}, +"enableFuzzyExtraction": { +"type": "boolean" +}, +"entities": { +"items": { +"$ref": "GoogleCloudDialogflowV2beta1EntityTypeEntity" +}, +"type": "array" +}, +"kind": { +"enum": [ +"KIND_UNSPECIFIED", +"KIND_MAP", +"KIND_LIST", +"KIND_REGEXP" +], +"enumDescriptions": [ +"", +"", +"", +"" +], +"type": "string" +}, +"name": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1EntityTypeEntity": { +"id": "GoogleCloudDialogflowV2beta1EntityTypeEntity", +"properties": { +"synonyms": { +"items": { +"type": "string" +}, +"type": "array" +}, +"value": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1EventInput": { +"id": "GoogleCloudDialogflowV2beta1EventInput", +"properties": { +"languageCode": { +"type": "string" +}, +"name": { +"type": "string" +}, +"parameters": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"type": "object" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1ExportAgentResponse": { +"id": "GoogleCloudDialogflowV2beta1ExportAgentResponse", +"properties": { +"agentContent": { +"format": "byte", +"type": "string" +}, +"agentUri": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1ExportOperationMetadata": { +"id": "GoogleCloudDialogflowV2beta1ExportOperationMetadata", +"properties": { +"exportedGcsDestination": { +"$ref": "GoogleCloudDialogflowV2beta1GcsDestination" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1FaqAnswer": { +"id": "GoogleCloudDialogflowV2beta1FaqAnswer", +"properties": { +"answer": { +"type": "string" +}, +"answerRecord": { +"type": "string" +}, +"confidence": { +"format": "float", +"type": "number" +}, +"metadata": { +"additionalProperties": { +"type": "string" +}, +"type": "object" +}, +"question": { +"type": "string" +}, +"source": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1FreeFormSuggestion": { +"id": "GoogleCloudDialogflowV2beta1FreeFormSuggestion", +"properties": { +"response": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1GcsDestination": { +"id": "GoogleCloudDialogflowV2beta1GcsDestination", +"properties": { +"uri": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1GenerateSuggestionsResponse": { +"id": "GoogleCloudDialogflowV2beta1GenerateSuggestionsResponse", +"properties": { +"generatorSuggestionAnswers": { +"items": { +"$ref": "GoogleCloudDialogflowV2beta1GenerateSuggestionsResponseGeneratorSuggestionAnswer" +}, +"type": "array" +}, +"latestMessage": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1GenerateSuggestionsResponseGeneratorSuggestionAnswer": { +"id": "GoogleCloudDialogflowV2beta1GenerateSuggestionsResponseGeneratorSuggestionAnswer", +"properties": { +"answerRecord": { +"type": "string" +}, +"generatorSuggestion": { +"$ref": "GoogleCloudDialogflowV2beta1GeneratorSuggestion" +}, +"sourceGenerator": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1GeneratorSuggestion": { +"id": "GoogleCloudDialogflowV2beta1GeneratorSuggestion", +"properties": { +"agentCoachingSuggestion": { +"$ref": "GoogleCloudDialogflowV2beta1AgentCoachingSuggestion" +}, +"freeFormSuggestion": { +"$ref": "GoogleCloudDialogflowV2beta1FreeFormSuggestion" +}, +"summarySuggestion": { +"$ref": "GoogleCloudDialogflowV2beta1SummarySuggestion" +}, +"toolCallInfo": { +"items": { +"$ref": "GoogleCloudDialogflowV2beta1GeneratorSuggestionToolCallInfo" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1GeneratorSuggestionToolCallInfo": { +"id": "GoogleCloudDialogflowV2beta1GeneratorSuggestionToolCallInfo", +"properties": { +"toolCall": { +"$ref": "GoogleCloudDialogflowV2beta1ToolCall" +}, +"toolCallResult": { +"$ref": "GoogleCloudDialogflowV2beta1ToolCallResult" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1HumanAgentAssistantEvent": { +"id": "GoogleCloudDialogflowV2beta1HumanAgentAssistantEvent", +"properties": { +"conversation": { +"type": "string" +}, +"participant": { +"type": "string" +}, +"suggestionResults": { +"items": { +"$ref": "GoogleCloudDialogflowV2beta1SuggestionResult" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1ImportDocumentsResponse": { +"id": "GoogleCloudDialogflowV2beta1ImportDocumentsResponse", +"properties": { +"warnings": { +"items": { +"$ref": "GoogleRpcStatus" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1IngestedContextReferenceDebugInfo": { +"id": "GoogleCloudDialogflowV2beta1IngestedContextReferenceDebugInfo", +"properties": { +"contextReferenceRetrieved": { +"type": "boolean" +}, +"ingestedParametersDebugInfo": { +"items": { +"$ref": "GoogleCloudDialogflowV2beta1IngestedContextReferenceDebugInfoIngestedParameterDebugInfo" +}, +"type": "array" +}, +"projectNotAllowlisted": { +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1IngestedContextReferenceDebugInfoIngestedParameterDebugInfo": { +"id": "GoogleCloudDialogflowV2beta1IngestedContextReferenceDebugInfoIngestedParameterDebugInfo", +"properties": { +"ingestionStatus": { +"enum": [ +"INGESTION_STATUS_UNSPECIFIED", +"INGESTION_STATUS_SUCCEEDED", +"INGESTION_STATUS_CONTEXT_NOT_AVAILABLE", +"INGESTION_STATUS_PARSE_FAILED", +"INGESTION_STATUS_INVALID_ENTRY", +"INGESTION_STATUS_INVALID_FORMAT", +"INGESTION_STATUS_LANGUAGE_MISMATCH" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"", +"" +], +"type": "string" +}, +"parameter": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1InitializeEncryptionSpecMetadata": { +"id": "GoogleCloudDialogflowV2beta1InitializeEncryptionSpecMetadata", +"properties": { +"request": { +"$ref": "GoogleCloudDialogflowV2beta1InitializeEncryptionSpecRequest", +"readOnly": true +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1InitializeEncryptionSpecRequest": { +"id": "GoogleCloudDialogflowV2beta1InitializeEncryptionSpecRequest", +"properties": { +"encryptionSpec": { +"$ref": "GoogleCloudDialogflowV2beta1EncryptionSpec" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1Intent": { +"id": "GoogleCloudDialogflowV2beta1Intent", +"properties": { +"action": { +"type": "string" +}, +"defaultResponsePlatforms": { +"items": { +"enum": [ +"PLATFORM_UNSPECIFIED", +"FACEBOOK", +"SLACK", +"TELEGRAM", +"KIK", +"SKYPE", +"LINE", +"VIBER", +"ACTIONS_ON_GOOGLE", +"TELEPHONY", +"GOOGLE_HANGOUTS" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"" +], +"type": "string" +}, +"type": "array" +}, +"displayName": { +"type": "string" +}, +"endInteraction": { +"type": "boolean" +}, +"events": { +"items": { +"type": "string" +}, +"type": "array" +}, +"followupIntentInfo": { +"items": { +"$ref": "GoogleCloudDialogflowV2beta1IntentFollowupIntentInfo" +}, +"readOnly": true, +"type": "array" +}, +"inputContextNames": { +"items": { +"type": "string" +}, +"type": "array" +}, +"isFallback": { +"type": "boolean" +}, +"liveAgentHandoff": { +"type": "boolean" +}, +"messages": { +"items": { +"$ref": "GoogleCloudDialogflowV2beta1IntentMessage" +}, +"type": "array" +}, +"mlDisabled": { +"type": "boolean" +}, +"mlEnabled": { +"deprecated": true, +"type": "boolean" +}, +"name": { +"type": "string" +}, +"outputContexts": { +"items": { +"$ref": "GoogleCloudDialogflowV2beta1Context" +}, +"type": "array" +}, +"parameters": { +"items": { +"$ref": "GoogleCloudDialogflowV2beta1IntentParameter" +}, +"type": "array" +}, +"parentFollowupIntentName": { +"type": "string" +}, +"priority": { +"format": "int32", +"type": "integer" +}, +"resetContexts": { +"type": "boolean" +}, +"rootFollowupIntentName": { +"readOnly": true, +"type": "string" +}, +"trainingPhrases": { +"items": { +"$ref": "GoogleCloudDialogflowV2beta1IntentTrainingPhrase" +}, +"type": "array" +}, +"webhookState": { +"enum": [ +"WEBHOOK_STATE_UNSPECIFIED", +"WEBHOOK_STATE_ENABLED", +"WEBHOOK_STATE_ENABLED_FOR_SLOT_FILLING" +], +"enumDescriptions": [ +"", +"", +"" +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1IntentFollowupIntentInfo": { +"id": "GoogleCloudDialogflowV2beta1IntentFollowupIntentInfo", +"properties": { +"followupIntentName": { +"type": "string" +}, +"parentFollowupIntentName": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1IntentMessage": { +"id": "GoogleCloudDialogflowV2beta1IntentMessage", +"properties": { +"basicCard": { +"$ref": "GoogleCloudDialogflowV2beta1IntentMessageBasicCard" +}, +"browseCarouselCard": { +"$ref": "GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCard" +}, +"card": { +"$ref": "GoogleCloudDialogflowV2beta1IntentMessageCard" +}, +"carouselSelect": { +"$ref": "GoogleCloudDialogflowV2beta1IntentMessageCarouselSelect" +}, +"image": { +"$ref": "GoogleCloudDialogflowV2beta1IntentMessageImage" +}, +"linkOutSuggestion": { +"$ref": "GoogleCloudDialogflowV2beta1IntentMessageLinkOutSuggestion" +}, +"listSelect": { +"$ref": "GoogleCloudDialogflowV2beta1IntentMessageListSelect" +}, +"mediaContent": { +"$ref": "GoogleCloudDialogflowV2beta1IntentMessageMediaContent" +}, +"payload": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"type": "object" +}, +"platform": { +"enum": [ +"PLATFORM_UNSPECIFIED", +"FACEBOOK", +"SLACK", +"TELEGRAM", +"KIK", +"SKYPE", +"LINE", +"VIBER", +"ACTIONS_ON_GOOGLE", +"TELEPHONY", +"GOOGLE_HANGOUTS" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"" +], +"type": "string" +}, +"quickReplies": { +"$ref": "GoogleCloudDialogflowV2beta1IntentMessageQuickReplies" +}, +"rbmCarouselRichCard": { +"$ref": "GoogleCloudDialogflowV2beta1IntentMessageRbmCarouselCard" +}, +"rbmStandaloneRichCard": { +"$ref": "GoogleCloudDialogflowV2beta1IntentMessageRbmStandaloneCard" +}, +"rbmText": { +"$ref": "GoogleCloudDialogflowV2beta1IntentMessageRbmText" +}, +"simpleResponses": { +"$ref": "GoogleCloudDialogflowV2beta1IntentMessageSimpleResponses" +}, +"suggestions": { +"$ref": "GoogleCloudDialogflowV2beta1IntentMessageSuggestions" +}, +"tableCard": { +"$ref": "GoogleCloudDialogflowV2beta1IntentMessageTableCard" +}, +"telephonyPlayAudio": { +"$ref": "GoogleCloudDialogflowV2beta1IntentMessageTelephonyPlayAudio" +}, +"telephonySynthesizeSpeech": { +"$ref": "GoogleCloudDialogflowV2beta1IntentMessageTelephonySynthesizeSpeech" +}, +"telephonyTransferCall": { +"$ref": "GoogleCloudDialogflowV2beta1IntentMessageTelephonyTransferCall" +}, +"text": { +"$ref": "GoogleCloudDialogflowV2beta1IntentMessageText" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1IntentMessageBasicCard": { +"id": "GoogleCloudDialogflowV2beta1IntentMessageBasicCard", +"properties": { +"buttons": { +"items": { +"$ref": "GoogleCloudDialogflowV2beta1IntentMessageBasicCardButton" +}, +"type": "array" +}, +"formattedText": { +"type": "string" +}, +"image": { +"$ref": "GoogleCloudDialogflowV2beta1IntentMessageImage" +}, +"subtitle": { +"type": "string" +}, +"title": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1IntentMessageBasicCardButton": { +"id": "GoogleCloudDialogflowV2beta1IntentMessageBasicCardButton", +"properties": { +"openUriAction": { +"$ref": "GoogleCloudDialogflowV2beta1IntentMessageBasicCardButtonOpenUriAction" +}, +"title": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1IntentMessageBasicCardButtonOpenUriAction": { +"id": "GoogleCloudDialogflowV2beta1IntentMessageBasicCardButtonOpenUriAction", +"properties": { +"uri": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCard": { +"id": "GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCard", +"properties": { +"imageDisplayOptions": { +"enum": [ +"IMAGE_DISPLAY_OPTIONS_UNSPECIFIED", +"GRAY", +"WHITE", +"CROPPED", +"BLURRED_BACKGROUND" +], +"enumDescriptions": [ +"", +"", +"", +"", +"" +], +"type": "string" +}, +"items": { +"items": { +"$ref": "GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardBrowseCarouselCardItem" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardBrowseCarouselCardItem": { +"id": "GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardBrowseCarouselCardItem", +"properties": { +"description": { +"type": "string" +}, +"footer": { +"type": "string" +}, +"image": { +"$ref": "GoogleCloudDialogflowV2beta1IntentMessageImage" +}, +"openUriAction": { +"$ref": "GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardBrowseCarouselCardItemOpenUrlAction" +}, +"title": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardBrowseCarouselCardItemOpenUrlAction": { +"id": "GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardBrowseCarouselCardItemOpenUrlAction", +"properties": { +"url": { +"type": "string" +}, +"urlTypeHint": { +"enum": [ +"URL_TYPE_HINT_UNSPECIFIED", +"AMP_ACTION", +"AMP_CONTENT" +], +"enumDescriptions": [ +"", +"", +"" +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1IntentMessageCard": { +"id": "GoogleCloudDialogflowV2beta1IntentMessageCard", +"properties": { +"buttons": { +"items": { +"$ref": "GoogleCloudDialogflowV2beta1IntentMessageCardButton" +}, +"type": "array" +}, +"imageUri": { +"type": "string" +}, +"subtitle": { +"type": "string" +}, +"title": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1IntentMessageCardButton": { +"id": "GoogleCloudDialogflowV2beta1IntentMessageCardButton", +"properties": { +"postback": { +"type": "string" +}, +"text": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1IntentMessageCarouselSelect": { +"id": "GoogleCloudDialogflowV2beta1IntentMessageCarouselSelect", +"properties": { +"items": { +"items": { +"$ref": "GoogleCloudDialogflowV2beta1IntentMessageCarouselSelectItem" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1IntentMessageCarouselSelectItem": { +"id": "GoogleCloudDialogflowV2beta1IntentMessageCarouselSelectItem", +"properties": { +"description": { +"type": "string" +}, +"image": { +"$ref": "GoogleCloudDialogflowV2beta1IntentMessageImage" +}, +"info": { +"$ref": "GoogleCloudDialogflowV2beta1IntentMessageSelectItemInfo" +}, +"title": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1IntentMessageColumnProperties": { +"id": "GoogleCloudDialogflowV2beta1IntentMessageColumnProperties", +"properties": { +"header": { +"type": "string" +}, +"horizontalAlignment": { +"enum": [ +"HORIZONTAL_ALIGNMENT_UNSPECIFIED", +"LEADING", +"CENTER", +"TRAILING" +], +"enumDescriptions": [ +"", +"", +"", +"" +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1IntentMessageImage": { +"id": "GoogleCloudDialogflowV2beta1IntentMessageImage", +"properties": { +"accessibilityText": { +"type": "string" +}, +"imageUri": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1IntentMessageLinkOutSuggestion": { +"id": "GoogleCloudDialogflowV2beta1IntentMessageLinkOutSuggestion", +"properties": { +"destinationName": { +"type": "string" +}, +"uri": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1IntentMessageListSelect": { +"id": "GoogleCloudDialogflowV2beta1IntentMessageListSelect", +"properties": { +"items": { +"items": { +"$ref": "GoogleCloudDialogflowV2beta1IntentMessageListSelectItem" +}, +"type": "array" +}, +"subtitle": { +"type": "string" +}, +"title": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1IntentMessageListSelectItem": { +"id": "GoogleCloudDialogflowV2beta1IntentMessageListSelectItem", +"properties": { +"description": { +"type": "string" +}, +"image": { +"$ref": "GoogleCloudDialogflowV2beta1IntentMessageImage" +}, +"info": { +"$ref": "GoogleCloudDialogflowV2beta1IntentMessageSelectItemInfo" +}, +"title": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1IntentMessageMediaContent": { +"id": "GoogleCloudDialogflowV2beta1IntentMessageMediaContent", +"properties": { +"mediaObjects": { +"items": { +"$ref": "GoogleCloudDialogflowV2beta1IntentMessageMediaContentResponseMediaObject" +}, +"type": "array" +}, +"mediaType": { +"enum": [ +"RESPONSE_MEDIA_TYPE_UNSPECIFIED", +"AUDIO" +], +"enumDescriptions": [ +"", +"" +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1IntentMessageMediaContentResponseMediaObject": { +"id": "GoogleCloudDialogflowV2beta1IntentMessageMediaContentResponseMediaObject", +"properties": { +"contentUrl": { +"type": "string" +}, +"description": { +"type": "string" +}, +"icon": { +"$ref": "GoogleCloudDialogflowV2beta1IntentMessageImage" +}, +"largeImage": { +"$ref": "GoogleCloudDialogflowV2beta1IntentMessageImage" +}, +"name": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1IntentMessageQuickReplies": { +"id": "GoogleCloudDialogflowV2beta1IntentMessageQuickReplies", +"properties": { +"quickReplies": { +"items": { +"type": "string" +}, +"type": "array" +}, +"title": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1IntentMessageRbmCardContent": { +"id": "GoogleCloudDialogflowV2beta1IntentMessageRbmCardContent", +"properties": { +"description": { +"type": "string" +}, +"media": { +"$ref": "GoogleCloudDialogflowV2beta1IntentMessageRbmCardContentRbmMedia" +}, +"suggestions": { +"items": { +"$ref": "GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestion" +}, +"type": "array" +}, +"title": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1IntentMessageRbmCardContentRbmMedia": { +"id": "GoogleCloudDialogflowV2beta1IntentMessageRbmCardContentRbmMedia", +"properties": { +"fileUri": { +"type": "string" +}, +"height": { +"enum": [ +"HEIGHT_UNSPECIFIED", +"SHORT", +"MEDIUM", +"TALL" +], +"enumDescriptions": [ +"", +"", +"", +"" +], +"type": "string" +}, +"thumbnailUri": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1IntentMessageRbmCarouselCard": { +"id": "GoogleCloudDialogflowV2beta1IntentMessageRbmCarouselCard", +"properties": { +"cardContents": { +"items": { +"$ref": "GoogleCloudDialogflowV2beta1IntentMessageRbmCardContent" +}, +"type": "array" +}, +"cardWidth": { +"enum": [ +"CARD_WIDTH_UNSPECIFIED", +"SMALL", +"MEDIUM" +], +"enumDescriptions": [ +"", +"", +"" +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1IntentMessageRbmStandaloneCard": { +"id": "GoogleCloudDialogflowV2beta1IntentMessageRbmStandaloneCard", +"properties": { +"cardContent": { +"$ref": "GoogleCloudDialogflowV2beta1IntentMessageRbmCardContent" +}, +"cardOrientation": { +"enum": [ +"CARD_ORIENTATION_UNSPECIFIED", +"HORIZONTAL", +"VERTICAL" +], +"enumDescriptions": [ +"", +"", +"" +], +"type": "string" +}, +"thumbnailImageAlignment": { +"enum": [ +"THUMBNAIL_IMAGE_ALIGNMENT_UNSPECIFIED", +"LEFT", +"RIGHT" +], +"enumDescriptions": [ +"", +"", +"" +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedAction": { +"id": "GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedAction", +"properties": { +"dial": { +"$ref": "GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionDial" +}, +"openUrl": { +"$ref": "GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionOpenUri" +}, +"postbackData": { +"type": "string" +}, +"shareLocation": { +"$ref": "GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionShareLocation" +}, +"text": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionDial": { +"id": "GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionDial", +"properties": { +"phoneNumber": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionOpenUri": { +"id": "GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionOpenUri", +"properties": { +"uri": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionShareLocation": { +"id": "GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionShareLocation", +"properties": {}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedReply": { +"id": "GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedReply", +"properties": { +"postbackData": { +"type": "string" +}, +"text": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestion": { +"id": "GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestion", +"properties": { +"action": { +"$ref": "GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedAction" +}, +"reply": { +"$ref": "GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedReply" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1IntentMessageRbmText": { +"id": "GoogleCloudDialogflowV2beta1IntentMessageRbmText", +"properties": { +"rbmSuggestion": { +"items": { +"$ref": "GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestion" +}, +"type": "array" +}, +"text": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1IntentMessageSelectItemInfo": { +"id": "GoogleCloudDialogflowV2beta1IntentMessageSelectItemInfo", +"properties": { +"key": { +"type": "string" +}, +"synonyms": { +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1IntentMessageSimpleResponse": { +"id": "GoogleCloudDialogflowV2beta1IntentMessageSimpleResponse", +"properties": { +"displayText": { +"type": "string" +}, +"ssml": { +"type": "string" +}, +"textToSpeech": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1IntentMessageSimpleResponses": { +"id": "GoogleCloudDialogflowV2beta1IntentMessageSimpleResponses", +"properties": { +"simpleResponses": { +"items": { +"$ref": "GoogleCloudDialogflowV2beta1IntentMessageSimpleResponse" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1IntentMessageSuggestion": { +"id": "GoogleCloudDialogflowV2beta1IntentMessageSuggestion", +"properties": { +"title": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1IntentMessageSuggestions": { +"id": "GoogleCloudDialogflowV2beta1IntentMessageSuggestions", +"properties": { +"suggestions": { +"items": { +"$ref": "GoogleCloudDialogflowV2beta1IntentMessageSuggestion" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1IntentMessageTableCard": { +"id": "GoogleCloudDialogflowV2beta1IntentMessageTableCard", +"properties": { +"buttons": { +"items": { +"$ref": "GoogleCloudDialogflowV2beta1IntentMessageBasicCardButton" +}, +"type": "array" +}, +"columnProperties": { +"items": { +"$ref": "GoogleCloudDialogflowV2beta1IntentMessageColumnProperties" +}, +"type": "array" +}, +"image": { +"$ref": "GoogleCloudDialogflowV2beta1IntentMessageImage" +}, +"rows": { +"items": { +"$ref": "GoogleCloudDialogflowV2beta1IntentMessageTableCardRow" +}, +"type": "array" +}, +"subtitle": { +"type": "string" +}, +"title": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1IntentMessageTableCardCell": { +"id": "GoogleCloudDialogflowV2beta1IntentMessageTableCardCell", +"properties": { +"text": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1IntentMessageTableCardRow": { +"id": "GoogleCloudDialogflowV2beta1IntentMessageTableCardRow", +"properties": { +"cells": { +"items": { +"$ref": "GoogleCloudDialogflowV2beta1IntentMessageTableCardCell" +}, +"type": "array" +}, +"dividerAfter": { +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1IntentMessageTelephonyPlayAudio": { +"id": "GoogleCloudDialogflowV2beta1IntentMessageTelephonyPlayAudio", +"properties": { +"audioUri": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1IntentMessageTelephonySynthesizeSpeech": { +"id": "GoogleCloudDialogflowV2beta1IntentMessageTelephonySynthesizeSpeech", +"properties": { +"ssml": { +"type": "string" +}, +"text": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1IntentMessageTelephonyTransferCall": { +"id": "GoogleCloudDialogflowV2beta1IntentMessageTelephonyTransferCall", +"properties": { +"phoneNumber": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1IntentMessageText": { +"id": "GoogleCloudDialogflowV2beta1IntentMessageText", +"properties": { +"text": { +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1IntentParameter": { +"id": "GoogleCloudDialogflowV2beta1IntentParameter", +"properties": { +"defaultValue": { +"type": "string" +}, +"displayName": { +"type": "string" +}, +"entityTypeDisplayName": { +"type": "string" +}, +"isList": { +"type": "boolean" +}, +"mandatory": { +"type": "boolean" +}, +"name": { +"type": "string" +}, +"prompts": { +"items": { +"type": "string" +}, +"type": "array" +}, +"value": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1IntentSuggestion": { +"id": "GoogleCloudDialogflowV2beta1IntentSuggestion", +"properties": { +"description": { +"type": "string" +}, +"displayName": { +"type": "string" +}, +"intentV2": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1IntentTrainingPhrase": { +"id": "GoogleCloudDialogflowV2beta1IntentTrainingPhrase", +"properties": { +"name": { +"readOnly": true, +"type": "string" +}, +"parts": { +"items": { +"$ref": "GoogleCloudDialogflowV2beta1IntentTrainingPhrasePart" +}, +"type": "array" +}, +"timesAddedCount": { +"format": "int32", +"type": "integer" +}, +"type": { +"enum": [ +"TYPE_UNSPECIFIED", +"EXAMPLE", +"TEMPLATE" +], +"enumDeprecated": [ +false, +false, +true +], +"enumDescriptions": [ +"", +"", +"" +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1IntentTrainingPhrasePart": { +"id": "GoogleCloudDialogflowV2beta1IntentTrainingPhrasePart", +"properties": { +"alias": { +"type": "string" +}, +"entityType": { +"type": "string" +}, +"text": { +"type": "string" +}, +"userDefined": { +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1KnowledgeAnswers": { +"id": "GoogleCloudDialogflowV2beta1KnowledgeAnswers", +"properties": { +"answers": { +"items": { +"$ref": "GoogleCloudDialogflowV2beta1KnowledgeAnswersAnswer" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1KnowledgeAnswersAnswer": { +"id": "GoogleCloudDialogflowV2beta1KnowledgeAnswersAnswer", +"properties": { +"answer": { +"type": "string" +}, +"faqQuestion": { +"type": "string" +}, +"matchConfidence": { +"format": "float", +"type": "number" +}, +"matchConfidenceLevel": { +"enum": [ +"MATCH_CONFIDENCE_LEVEL_UNSPECIFIED", +"LOW", +"MEDIUM", +"HIGH" +], +"enumDescriptions": [ +"", +"", +"", +"" +], +"type": "string" +}, +"source": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1KnowledgeAssistAnswer": { +"id": "GoogleCloudDialogflowV2beta1KnowledgeAssistAnswer", +"properties": { +"answerRecord": { +"type": "string" +}, +"knowledgeAssistDebugInfo": { +"$ref": "GoogleCloudDialogflowV2beta1KnowledgeAssistDebugInfo" +}, +"suggestedQuery": { +"$ref": "GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerSuggestedQuery" +}, +"suggestedQueryAnswer": { +"$ref": "GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerKnowledgeAnswer" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerKnowledgeAnswer": { +"id": "GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerKnowledgeAnswer", +"properties": { +"answerText": { +"type": "string" +}, +"faqSource": { +"$ref": "GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerKnowledgeAnswerFaqSource" +}, +"generativeSource": { +"$ref": "GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerKnowledgeAnswerGenerativeSource" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerKnowledgeAnswerFaqSource": { +"id": "GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerKnowledgeAnswerFaqSource", +"properties": { +"question": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerKnowledgeAnswerGenerativeSource": { +"id": "GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerKnowledgeAnswerGenerativeSource", +"properties": { +"snippets": { +"items": { +"$ref": "GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerKnowledgeAnswerGenerativeSourceSnippet" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerKnowledgeAnswerGenerativeSourceSnippet": { +"id": "GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerKnowledgeAnswerGenerativeSourceSnippet", +"properties": { +"metadata": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"type": "object" +}, +"text": { +"type": "string" +}, +"title": { +"type": "string" +}, +"uri": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerSuggestedQuery": { +"id": "GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerSuggestedQuery", +"properties": { +"queryText": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1KnowledgeAssistDebugInfo": { +"id": "GoogleCloudDialogflowV2beta1KnowledgeAssistDebugInfo", +"properties": { +"datastoreResponseReason": { +"enum": [ +"DATASTORE_RESPONSE_REASON_UNSPECIFIED", +"NONE", +"SEARCH_OUT_OF_QUOTA", +"SEARCH_EMPTY_RESULTS", +"ANSWER_GENERATION_GEN_AI_DISABLED", +"ANSWER_GENERATION_OUT_OF_QUOTA", +"ANSWER_GENERATION_ERROR", +"ANSWER_GENERATION_NOT_ENOUGH_INFO", +"ANSWER_GENERATION_RAI_FAILED", +"ANSWER_GENERATION_NOT_GROUNDED" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"", +"", +"", +"", +"" +], +"type": "string" +}, +"ingestedContextReferenceDebugInfo": { +"$ref": "GoogleCloudDialogflowV2beta1IngestedContextReferenceDebugInfo" +}, +"knowledgeAssistBehavior": { +"$ref": "GoogleCloudDialogflowV2beta1KnowledgeAssistDebugInfoKnowledgeAssistBehavior" +}, +"queryCategorizationFailureReason": { +"enum": [ +"QUERY_CATEGORIZATION_FAILURE_REASON_UNSPECIFIED", +"QUERY_CATEGORIZATION_INVALID_CONFIG", +"QUERY_CATEGORIZATION_RESULT_NOT_FOUND", +"QUERY_CATEGORIZATION_FAILED" +], +"enumDescriptions": [ +"", +"", +"", +"" +], +"type": "string" +}, +"queryGenerationFailureReason": { +"enum": [ +"QUERY_GENERATION_FAILURE_REASON_UNSPECIFIED", +"QUERY_GENERATION_OUT_OF_QUOTA", +"QUERY_GENERATION_FAILED", +"QUERY_GENERATION_NO_QUERY_GENERATED", +"QUERY_GENERATION_RAI_FAILED", +"NOT_IN_ALLOWLIST", +"QUERY_GENERATION_QUERY_REDACTED", +"QUERY_GENERATION_LLM_RESPONSE_PARSE_FAILED", +"QUERY_GENERATION_EMPTY_CONVERSATION", +"QUERY_GENERATION_EMPTY_LAST_MESSAGE", +"QUERY_GENERATION_TRIGGERING_EVENT_CONDITION_NOT_MET" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"" +], +"type": "string" +}, +"serviceLatency": { +"$ref": "GoogleCloudDialogflowV2beta1ServiceLatency" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1KnowledgeAssistDebugInfoKnowledgeAssistBehavior": { +"id": "GoogleCloudDialogflowV2beta1KnowledgeAssistDebugInfoKnowledgeAssistBehavior", +"properties": { +"answerGenerationRewriterOn": { +"type": "boolean" +}, +"appendedSearchContextCount": { +"format": "int32", +"type": "integer" +}, +"conversationTranscriptHasMixedLanguages": { +"type": "boolean" +}, +"disableSyncDelivery": { +"type": "boolean" +}, +"endUserMetadataIncluded": { +"type": "boolean" +}, +"invalidItemsQuerySuggestionSkipped": { +"type": "boolean" +}, +"multipleQueriesGenerated": { +"type": "boolean" +}, +"previousQueriesIncluded": { +"type": "boolean" +}, +"primaryQueryRedactedAndReplaced": { +"type": "boolean" +}, +"queryContainedSearchContext": { +"type": "boolean" +}, +"queryGenerationAgentLanguageMismatch": { +"type": "boolean" +}, +"queryGenerationEndUserLanguageMismatch": { +"type": "boolean" +}, +"returnQueryOnly": { +"type": "boolean" +}, +"thirdPartyConnectorAllowed": { +"type": "boolean" +}, +"useCustomSafetyFilterLevel": { +"type": "boolean" +}, +"usePubsubDelivery": { +"type": "boolean" +}, +"useTranslatedMessage": { +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1KnowledgeOperationMetadata": { +"id": "GoogleCloudDialogflowV2beta1KnowledgeOperationMetadata", +"properties": { +"doneTime": { +"format": "google-datetime", +"type": "string" +}, +"exportOperationMetadata": { +"$ref": "GoogleCloudDialogflowV2beta1ExportOperationMetadata" +}, +"knowledgeBase": { +"type": "string" +}, +"state": { +"enum": [ +"STATE_UNSPECIFIED", +"PENDING", +"RUNNING", +"DONE" +], +"enumDescriptions": [ +"", +"", +"", +"" +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1Message": { +"id": "GoogleCloudDialogflowV2beta1Message", +"properties": { +"content": { +"type": "string" +}, +"createTime": { +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"languageCode": { +"type": "string" +}, +"messageAnnotation": { +"$ref": "GoogleCloudDialogflowV2beta1MessageAnnotation", +"readOnly": true +}, +"name": { +"type": "string" +}, +"participant": { +"readOnly": true, +"type": "string" +}, +"participantRole": { +"enum": [ +"ROLE_UNSPECIFIED", +"HUMAN_AGENT", +"AUTOMATED_AGENT", +"END_USER" +], +"enumDescriptions": [ +"", +"", +"", +"" +], +"readOnly": true, +"type": "string" +}, +"responseMessages": { +"items": { +"$ref": "GoogleCloudDialogflowV2beta1ResponseMessage" +}, +"type": "array" +}, +"sendTime": { +"format": "google-datetime", +"type": "string" +}, +"sentimentAnalysis": { +"$ref": "GoogleCloudDialogflowV2beta1SentimentAnalysisResult", +"readOnly": true +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1MessageAnnotation": { +"id": "GoogleCloudDialogflowV2beta1MessageAnnotation", +"properties": { +"containEntities": { +"type": "boolean" +}, +"parts": { +"items": { +"$ref": "GoogleCloudDialogflowV2beta1AnnotatedMessagePart" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1OriginalDetectIntentRequest": { +"id": "GoogleCloudDialogflowV2beta1OriginalDetectIntentRequest", +"properties": { +"payload": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"type": "object" +}, +"source": { +"type": "string" +}, +"version": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1QueryResult": { +"id": "GoogleCloudDialogflowV2beta1QueryResult", +"properties": { +"action": { +"type": "string" +}, +"allRequiredParamsPresent": { +"type": "boolean" +}, +"cancelsSlotFilling": { +"type": "boolean" +}, +"diagnosticInfo": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"type": "object" +}, +"fulfillmentMessages": { +"items": { +"$ref": "GoogleCloudDialogflowV2beta1IntentMessage" +}, +"type": "array" +}, +"fulfillmentText": { +"type": "string" +}, +"intent": { +"$ref": "GoogleCloudDialogflowV2beta1Intent" +}, +"intentDetectionConfidence": { +"format": "float", +"type": "number" +}, +"knowledgeAnswers": { +"$ref": "GoogleCloudDialogflowV2beta1KnowledgeAnswers" +}, +"languageCode": { +"type": "string" +}, +"outputContexts": { +"items": { +"$ref": "GoogleCloudDialogflowV2beta1Context" +}, +"type": "array" +}, +"parameters": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"type": "object" +}, +"queryText": { +"type": "string" +}, +"sentimentAnalysisResult": { +"$ref": "GoogleCloudDialogflowV2beta1SentimentAnalysisResult" +}, +"speechRecognitionConfidence": { +"format": "float", +"type": "number" +}, +"webhookPayload": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"type": "object" +}, +"webhookSource": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1ResponseMessage": { +"id": "GoogleCloudDialogflowV2beta1ResponseMessage", +"properties": { +"endInteraction": { +"$ref": "GoogleCloudDialogflowV2beta1ResponseMessageEndInteraction" +}, +"liveAgentHandoff": { +"$ref": "GoogleCloudDialogflowV2beta1ResponseMessageLiveAgentHandoff" +}, +"mixedAudio": { +"$ref": "GoogleCloudDialogflowV2beta1ResponseMessageMixedAudio" +}, +"payload": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"type": "object" +}, +"telephonyTransferCall": { +"$ref": "GoogleCloudDialogflowV2beta1ResponseMessageTelephonyTransferCall" +}, +"text": { +"$ref": "GoogleCloudDialogflowV2beta1ResponseMessageText" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1ResponseMessageEndInteraction": { +"id": "GoogleCloudDialogflowV2beta1ResponseMessageEndInteraction", +"properties": {}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1ResponseMessageLiveAgentHandoff": { +"id": "GoogleCloudDialogflowV2beta1ResponseMessageLiveAgentHandoff", +"properties": { +"metadata": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"type": "object" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1ResponseMessageMixedAudio": { +"id": "GoogleCloudDialogflowV2beta1ResponseMessageMixedAudio", +"properties": { +"segments": { +"items": { +"$ref": "GoogleCloudDialogflowV2beta1ResponseMessageMixedAudioSegment" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1ResponseMessageMixedAudioSegment": { +"id": "GoogleCloudDialogflowV2beta1ResponseMessageMixedAudioSegment", +"properties": { +"allowPlaybackInterruption": { +"type": "boolean" +}, +"audio": { +"format": "byte", +"type": "string" +}, +"uri": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1ResponseMessageTelephonyTransferCall": { +"id": "GoogleCloudDialogflowV2beta1ResponseMessageTelephonyTransferCall", +"properties": { +"phoneNumber": { +"type": "string" +}, +"sipUri": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1ResponseMessageText": { +"id": "GoogleCloudDialogflowV2beta1ResponseMessageText", +"properties": { +"text": { +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1Sentiment": { +"id": "GoogleCloudDialogflowV2beta1Sentiment", +"properties": { +"magnitude": { +"format": "float", +"type": "number" +}, +"score": { +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1SentimentAnalysisResult": { +"id": "GoogleCloudDialogflowV2beta1SentimentAnalysisResult", +"properties": { +"queryTextSentiment": { +"$ref": "GoogleCloudDialogflowV2beta1Sentiment" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1ServiceLatency": { +"id": "GoogleCloudDialogflowV2beta1ServiceLatency", +"properties": { +"internalServiceLatencies": { +"items": { +"$ref": "GoogleCloudDialogflowV2beta1ServiceLatencyInternalServiceLatency" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1ServiceLatencyInternalServiceLatency": { +"id": "GoogleCloudDialogflowV2beta1ServiceLatencyInternalServiceLatency", +"properties": { +"completeTime": { +"format": "google-datetime", +"type": "string" +}, +"latencyMs": { +"format": "float", +"type": "number" +}, +"startTime": { +"format": "google-datetime", +"type": "string" +}, +"step": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1SessionEntityType": { +"id": "GoogleCloudDialogflowV2beta1SessionEntityType", +"properties": { +"entities": { +"items": { +"$ref": "GoogleCloudDialogflowV2beta1EntityTypeEntity" +}, +"type": "array" +}, +"entityOverrideMode": { +"enum": [ +"ENTITY_OVERRIDE_MODE_UNSPECIFIED", +"ENTITY_OVERRIDE_MODE_OVERRIDE", +"ENTITY_OVERRIDE_MODE_SUPPLEMENT" +], +"enumDescriptions": [ +"", +"", +"" +], +"type": "string" +}, +"name": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1SetSuggestionFeatureConfigOperationMetadata": { +"id": "GoogleCloudDialogflowV2beta1SetSuggestionFeatureConfigOperationMetadata", +"properties": { +"conversationProfile": { +"type": "string" +}, +"createTime": { +"format": "google-datetime", +"type": "string" +}, +"participantRole": { +"enum": [ +"ROLE_UNSPECIFIED", +"HUMAN_AGENT", +"AUTOMATED_AGENT", +"END_USER" +], +"enumDescriptions": [ +"", +"", +"", +"" +], +"type": "string" +}, +"suggestionFeatureType": { +"enum": [ +"TYPE_UNSPECIFIED", +"ARTICLE_SUGGESTION", +"FAQ", +"SMART_REPLY", +"DIALOGFLOW_ASSIST", +"CONVERSATION_SUMMARIZATION", +"KNOWLEDGE_SEARCH", +"KNOWLEDGE_ASSIST" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"", +"", +"" +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1SmartReplyAnswer": { +"id": "GoogleCloudDialogflowV2beta1SmartReplyAnswer", +"properties": { +"answerRecord": { +"type": "string" +}, +"confidence": { +"format": "float", +"type": "number" +}, +"reply": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1SpeechWordInfo": { +"id": "GoogleCloudDialogflowV2beta1SpeechWordInfo", +"properties": { +"confidence": { +"format": "float", +"type": "number" +}, +"endOffset": { +"format": "google-duration", +"type": "string" +}, +"startOffset": { +"format": "google-duration", +"type": "string" +}, +"word": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1StreamingRecognitionResult": { +"id": "GoogleCloudDialogflowV2beta1StreamingRecognitionResult", +"properties": { +"confidence": { +"format": "float", +"type": "number" +}, +"dtmfDigits": { +"$ref": "GoogleCloudDialogflowV2beta1TelephonyDtmfEvents" +}, +"isFinal": { +"type": "boolean" +}, +"languageCode": { +"type": "string" +}, +"messageType": { +"enum": [ +"MESSAGE_TYPE_UNSPECIFIED", +"TRANSCRIPT", +"END_OF_SINGLE_UTTERANCE", +"DTMF_DIGITS", +"PARTIAL_DTMF_DIGITS" +], +"enumDescriptions": [ +"", +"", +"", +"", +"" +], +"type": "string" +}, +"speechEndOffset": { +"format": "google-duration", +"type": "string" +}, +"speechWordInfo": { +"items": { +"$ref": "GoogleCloudDialogflowV2beta1SpeechWordInfo" +}, +"type": "array" +}, +"stability": { +"format": "float", +"type": "number" +}, +"transcript": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1SuggestArticlesResponse": { +"id": "GoogleCloudDialogflowV2beta1SuggestArticlesResponse", +"properties": { +"articleAnswers": { +"items": { +"$ref": "GoogleCloudDialogflowV2beta1ArticleAnswer" +}, +"type": "array" +}, +"contextSize": { +"format": "int32", +"type": "integer" +}, +"latestMessage": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1SuggestDialogflowAssistsResponse": { +"id": "GoogleCloudDialogflowV2beta1SuggestDialogflowAssistsResponse", +"properties": { +"contextSize": { +"format": "int32", +"type": "integer" +}, +"dialogflowAssistAnswers": { +"items": { +"$ref": "GoogleCloudDialogflowV2beta1DialogflowAssistAnswer" +}, +"type": "array" +}, +"latestMessage": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1SuggestFaqAnswersResponse": { +"id": "GoogleCloudDialogflowV2beta1SuggestFaqAnswersResponse", +"properties": { +"contextSize": { +"format": "int32", +"type": "integer" +}, +"faqAnswers": { +"items": { +"$ref": "GoogleCloudDialogflowV2beta1FaqAnswer" +}, +"type": "array" +}, +"latestMessage": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1SuggestKnowledgeAssistResponse": { +"id": "GoogleCloudDialogflowV2beta1SuggestKnowledgeAssistResponse", +"properties": { +"contextSize": { +"format": "int32", +"type": "integer" +}, +"knowledgeAssistAnswer": { +"$ref": "GoogleCloudDialogflowV2beta1KnowledgeAssistAnswer", +"readOnly": true +}, +"latestMessage": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1SuggestSmartRepliesResponse": { +"id": "GoogleCloudDialogflowV2beta1SuggestSmartRepliesResponse", +"properties": { +"contextSize": { +"format": "int32", +"type": "integer" +}, +"latestMessage": { +"type": "string" +}, +"smartReplyAnswers": { +"items": { +"$ref": "GoogleCloudDialogflowV2beta1SmartReplyAnswer" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1SuggestionResult": { +"id": "GoogleCloudDialogflowV2beta1SuggestionResult", +"properties": { +"error": { +"$ref": "GoogleRpcStatus" +}, +"generateSuggestionsResponse": { +"$ref": "GoogleCloudDialogflowV2beta1GenerateSuggestionsResponse" +}, +"suggestArticlesResponse": { +"$ref": "GoogleCloudDialogflowV2beta1SuggestArticlesResponse" +}, +"suggestDialogflowAssistsResponse": { +"$ref": "GoogleCloudDialogflowV2beta1SuggestDialogflowAssistsResponse" +}, +"suggestEntityExtractionResponse": { +"$ref": "GoogleCloudDialogflowV2beta1SuggestDialogflowAssistsResponse" +}, +"suggestFaqAnswersResponse": { +"$ref": "GoogleCloudDialogflowV2beta1SuggestFaqAnswersResponse" +}, +"suggestKnowledgeAssistResponse": { +"$ref": "GoogleCloudDialogflowV2beta1SuggestKnowledgeAssistResponse" +}, +"suggestSmartRepliesResponse": { +"$ref": "GoogleCloudDialogflowV2beta1SuggestSmartRepliesResponse" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1SummarySuggestion": { +"id": "GoogleCloudDialogflowV2beta1SummarySuggestion", +"properties": { +"summarySections": { +"items": { +"$ref": "GoogleCloudDialogflowV2beta1SummarySuggestionSummarySection" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1SummarySuggestionSummarySection": { +"id": "GoogleCloudDialogflowV2beta1SummarySuggestionSummarySection", +"properties": { +"section": { +"type": "string" +}, +"summary": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1TelephonyDtmfEvents": { +"id": "GoogleCloudDialogflowV2beta1TelephonyDtmfEvents", +"properties": { +"dtmfEvents": { +"items": { +"enum": [ +"TELEPHONY_DTMF_UNSPECIFIED", +"DTMF_ONE", +"DTMF_TWO", +"DTMF_THREE", +"DTMF_FOUR", +"DTMF_FIVE", +"DTMF_SIX", +"DTMF_SEVEN", +"DTMF_EIGHT", +"DTMF_NINE", +"DTMF_ZERO", +"DTMF_A", +"DTMF_B", +"DTMF_C", +"DTMF_D", +"DTMF_STAR", +"DTMF_POUND" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"" +], +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1ToolCall": { +"id": "GoogleCloudDialogflowV2beta1ToolCall", +"properties": { +"action": { +"type": "string" +}, +"answerRecord": { +"type": "string" +}, +"createTime": { +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"inputParameters": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"type": "object" +}, +"state": { +"enum": [ +"STATE_UNSPECIFIED", +"TRIGGERED", +"NEEDS_CONFIRMATION" +], +"enumDescriptions": [ +"", +"", +"" +], +"readOnly": true, +"type": "string" +}, +"tool": { +"type": "string" +}, +"toolDisplayDetails": { +"type": "string" +}, +"toolDisplayName": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1ToolCallResult": { +"id": "GoogleCloudDialogflowV2beta1ToolCallResult", +"properties": { +"action": { +"type": "string" +}, +"answerRecord": { +"type": "string" +}, +"content": { +"type": "string" +}, +"createTime": { +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"error": { +"$ref": "GoogleCloudDialogflowV2beta1ToolCallResultError" +}, +"rawContent": { +"format": "byte", +"type": "string" +}, +"tool": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1ToolCallResultError": { +"id": "GoogleCloudDialogflowV2beta1ToolCallResultError", +"properties": { +"message": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1WebhookRequest": { +"id": "GoogleCloudDialogflowV2beta1WebhookRequest", +"properties": { +"alternativeQueryResults": { +"items": { +"$ref": "GoogleCloudDialogflowV2beta1QueryResult" +}, +"type": "array" +}, +"originalDetectIntentRequest": { +"$ref": "GoogleCloudDialogflowV2beta1OriginalDetectIntentRequest" +}, +"queryResult": { +"$ref": "GoogleCloudDialogflowV2beta1QueryResult" +}, +"responseId": { +"type": "string" +}, +"session": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1WebhookResponse": { +"id": "GoogleCloudDialogflowV2beta1WebhookResponse", +"properties": { +"endInteraction": { +"type": "boolean" +}, +"followupEventInput": { +"$ref": "GoogleCloudDialogflowV2beta1EventInput" +}, +"fulfillmentMessages": { +"items": { +"$ref": "GoogleCloudDialogflowV2beta1IntentMessage" +}, +"type": "array" +}, +"fulfillmentText": { +"type": "string" +}, +"liveAgentHandoff": { +"type": "boolean" +}, +"outputContexts": { +"items": { +"$ref": "GoogleCloudDialogflowV2beta1Context" +}, +"type": "array" +}, +"payload": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"type": "object" +}, +"sessionEntityTypes": { +"items": { +"$ref": "GoogleCloudDialogflowV2beta1SessionEntityType" +}, +"type": "array" +}, +"source": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV3alpha1ConversationSignals": { +"id": "GoogleCloudDialogflowV3alpha1ConversationSignals", +"properties": { +"turnSignals": { +"$ref": "GoogleCloudDialogflowV3alpha1TurnSignals" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV3alpha1TurnSignals": { +"id": "GoogleCloudDialogflowV3alpha1TurnSignals", +"properties": { +"agentEscalated": { +"type": "boolean" +}, +"dtmfUsed": { +"type": "boolean" +}, +"failureReasons": { +"items": { +"enum": [ +"FAILURE_REASON_UNSPECIFIED", +"FAILED_INTENT", +"FAILED_WEBHOOK" +], +"enumDescriptions": [ +"", +"", +"" +], +"type": "string" +}, +"type": "array" +}, +"noMatch": { +"type": "boolean" +}, +"noUserInput": { +"type": "boolean" +}, +"reachedEndPage": { +"type": "boolean" +}, +"sentimentMagnitude": { +"format": "float", +"type": "number" +}, +"sentimentScore": { +"format": "float", +"type": "number" +}, +"triggeredAbandonmentEvent": { +"type": "boolean" +}, +"userEscalated": { +"type": "boolean" +}, +"webhookStatuses": { +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudLocationListLocationsResponse": { +"id": "GoogleCloudLocationListLocationsResponse", +"properties": { +"locations": { +"items": { +"$ref": "GoogleCloudLocationLocation" +}, +"type": "array" +}, +"nextPageToken": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudLocationLocation": { +"id": "GoogleCloudLocationLocation", +"properties": { +"displayName": { +"type": "string" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"type": "object" +}, +"locationId": { +"type": "string" +}, +"metadata": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"type": "object" +}, +"name": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleLongrunningListOperationsResponse": { +"id": "GoogleLongrunningListOperationsResponse", +"properties": { +"nextPageToken": { +"type": "string" +}, +"operations": { +"items": { +"$ref": "GoogleLongrunningOperation" +}, +"type": "array" +}, +"unreachable": { +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleLongrunningOperation": { +"id": "GoogleLongrunningOperation", +"properties": { +"done": { +"type": "boolean" +}, +"error": { +"$ref": "GoogleRpcStatus" +}, +"metadata": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"type": "object" +}, +"name": { +"type": "string" +}, +"response": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"type": "object" +} +}, +"type": "object" +}, +"GoogleProtobufEmpty": { +"id": "GoogleProtobufEmpty", +"properties": {}, +"type": "object" +}, +"GoogleRpcStatus": { +"id": "GoogleRpcStatus", +"properties": { +"code": { +"format": "int32", +"type": "integer" +}, +"details": { +"items": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleTypeLatLng": { +"id": "GoogleTypeLatLng", +"properties": { +"latitude": { +"format": "double", +"type": "number" +}, +"longitude": { +"format": "double", +"type": "number" +} +}, +"type": "object" +} +}, +"servicePath": "", +"title": "Dialogflow API", +"version": "v2", +"version_module": true +} \ No newline at end of file diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/dialogflow.v2beta1.json b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/dialogflow.v2beta1.json new file mode 100644 index 0000000000000000000000000000000000000000..51157ed10e4a3a3f0bb2cfd2a0fc28b91710862a --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/dialogflow.v2beta1.json @@ -0,0 +1,22916 @@ +{ +"auth": { +"oauth2": { +"scopes": { +"https://www.googleapis.com/auth/cloud-platform": { +"description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." +}, +"https://www.googleapis.com/auth/dialogflow": { +"description": "View, manage and query your Dialogflow agents" +} +} +} +}, +"basePath": "", +"baseUrl": "https://dialogflow.googleapis.com/", +"batchPath": "batch", +"canonicalName": "Dialogflow", +"description": "Builds conversational interfaces (for example, chatbots, and voice-powered apps and devices).", +"discoveryVersion": "v1", +"documentationLink": "https://cloud.google.com/dialogflow/", +"fullyEncodeReservedExpansion": true, +"icons": { +"x16": "http://www.google.com/images/icons/product/search-16.gif", +"x32": "http://www.google.com/images/icons/product/search-32.gif" +}, +"id": "dialogflow:v2beta1", +"kind": "discovery#restDescription", +"mtlsRootUrl": "https://dialogflow.mtls.googleapis.com/", +"name": "dialogflow", +"ownerDomain": "google.com", +"ownerName": "Google", +"parameters": { +"$.xgafv": { +"description": "V1 error format.", +"enum": [ +"1", +"2" +], +"enumDescriptions": [ +"v1 error format", +"v2 error format" +], +"location": "query", +"type": "string" +}, +"access_token": { +"description": "OAuth access token.", +"location": "query", +"type": "string" +}, +"alt": { +"default": "json", +"description": "Data format for response.", +"enum": [ +"json", +"media", +"proto" +], +"enumDescriptions": [ +"Responses with Content-Type of application/json", +"Media download with context-dependent Content-Type", +"Responses with Content-Type of application/x-protobuf" +], +"location": "query", +"type": "string" +}, +"callback": { +"description": "JSONP", +"location": "query", +"type": "string" +}, +"fields": { +"description": "Selector specifying which fields to include in a partial response.", +"location": "query", +"type": "string" +}, +"key": { +"description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", +"location": "query", +"type": "string" +}, +"oauth_token": { +"description": "OAuth 2.0 token for the current user.", +"location": "query", +"type": "string" +}, +"prettyPrint": { +"default": "true", +"description": "Returns response with indentations and line breaks.", +"location": "query", +"type": "boolean" +}, +"quotaUser": { +"description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.", +"location": "query", +"type": "string" +}, +"uploadType": { +"description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", +"location": "query", +"type": "string" +}, +"upload_protocol": { +"description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", +"location": "query", +"type": "string" +} +}, +"protocol": "rest", +"resources": { +"projects": { +"methods": { +"deleteAgent": { +"description": "", +"flatPath": "v2beta1/projects/{projectsId}/agent", +"httpMethod": "DELETE", +"id": "dialogflow.projects.deleteAgent", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"location": "path", +"pattern": "^projects/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2beta1/{+parent}/agent", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"getAgent": { +"description": "", +"flatPath": "v2beta1/projects/{projectsId}/agent", +"httpMethod": "GET", +"id": "dialogflow.projects.getAgent", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"location": "path", +"pattern": "^projects/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2beta1/{+parent}/agent", +"response": { +"$ref": "GoogleCloudDialogflowV2beta1Agent" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"setAgent": { +"description": "", +"flatPath": "v2beta1/projects/{projectsId}/agent", +"httpMethod": "POST", +"id": "dialogflow.projects.setAgent", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"location": "path", +"pattern": "^projects/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v2beta1/{+parent}/agent", +"request": { +"$ref": "GoogleCloudDialogflowV2beta1Agent" +}, +"response": { +"$ref": "GoogleCloudDialogflowV2beta1Agent" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +} +}, +"resources": { +"agent": { +"methods": { +"export": { +"description": "", +"flatPath": "v2beta1/projects/{projectsId}/agent:export", +"httpMethod": "POST", +"id": "dialogflow.projects.agent.export", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"location": "path", +"pattern": "^projects/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2beta1/{+parent}/agent:export", +"request": { +"$ref": "GoogleCloudDialogflowV2beta1ExportAgentRequest" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"getFulfillment": { +"description": "", +"flatPath": "v2beta1/projects/{projectsId}/agent/fulfillment", +"httpMethod": "GET", +"id": "dialogflow.projects.agent.getFulfillment", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"location": "path", +"pattern": "^projects/[^/]+/agent/fulfillment$", +"required": true, +"type": "string" +} +}, +"path": "v2beta1/{+name}", +"response": { +"$ref": "GoogleCloudDialogflowV2beta1Fulfillment" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"getValidationResult": { +"description": "", +"flatPath": "v2beta1/projects/{projectsId}/agent/validationResult", +"httpMethod": "GET", +"id": "dialogflow.projects.agent.getValidationResult", +"parameterOrder": [ +"parent" +], +"parameters": { +"languageCode": { +"location": "query", +"type": "string" +}, +"parent": { +"location": "path", +"pattern": "^projects/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2beta1/{+parent}/agent/validationResult", +"response": { +"$ref": "GoogleCloudDialogflowV2beta1ValidationResult" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"import": { +"description": "", +"flatPath": "v2beta1/projects/{projectsId}/agent:import", +"httpMethod": "POST", +"id": "dialogflow.projects.agent.import", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"location": "path", +"pattern": "^projects/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2beta1/{+parent}/agent:import", +"request": { +"$ref": "GoogleCloudDialogflowV2beta1ImportAgentRequest" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"restore": { +"description": "", +"flatPath": "v2beta1/projects/{projectsId}/agent:restore", +"httpMethod": "POST", +"id": "dialogflow.projects.agent.restore", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"location": "path", +"pattern": "^projects/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2beta1/{+parent}/agent:restore", +"request": { +"$ref": "GoogleCloudDialogflowV2beta1RestoreAgentRequest" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"search": { +"description": "", +"flatPath": "v2beta1/projects/{projectsId}/agent:search", +"httpMethod": "GET", +"id": "dialogflow.projects.agent.search", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"location": "query", +"type": "string" +}, +"parent": { +"location": "path", +"pattern": "^projects/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2beta1/{+parent}/agent:search", +"response": { +"$ref": "GoogleCloudDialogflowV2beta1SearchAgentsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"train": { +"description": "", +"flatPath": "v2beta1/projects/{projectsId}/agent:train", +"httpMethod": "POST", +"id": "dialogflow.projects.agent.train", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"location": "path", +"pattern": "^projects/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2beta1/{+parent}/agent:train", +"request": { +"$ref": "GoogleCloudDialogflowV2beta1TrainAgentRequest" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"updateFulfillment": { +"description": "", +"flatPath": "v2beta1/projects/{projectsId}/agent/fulfillment", +"httpMethod": "PATCH", +"id": "dialogflow.projects.agent.updateFulfillment", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"location": "path", +"pattern": "^projects/[^/]+/agent/fulfillment$", +"required": true, +"type": "string" +}, +"updateMask": { +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v2beta1/{+name}", +"request": { +"$ref": "GoogleCloudDialogflowV2beta1Fulfillment" +}, +"response": { +"$ref": "GoogleCloudDialogflowV2beta1Fulfillment" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +} +}, +"resources": { +"entityTypes": { +"methods": { +"batchDelete": { +"description": "", +"flatPath": "v2beta1/projects/{projectsId}/agent/entityTypes:batchDelete", +"httpMethod": "POST", +"id": "dialogflow.projects.agent.entityTypes.batchDelete", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"location": "path", +"pattern": "^projects/[^/]+/agent$", +"required": true, +"type": "string" +} +}, +"path": "v2beta1/{+parent}/entityTypes:batchDelete", +"request": { +"$ref": "GoogleCloudDialogflowV2beta1BatchDeleteEntityTypesRequest" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"batchUpdate": { +"description": "", +"flatPath": "v2beta1/projects/{projectsId}/agent/entityTypes:batchUpdate", +"httpMethod": "POST", +"id": "dialogflow.projects.agent.entityTypes.batchUpdate", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"location": "path", +"pattern": "^projects/[^/]+/agent$", +"required": true, +"type": "string" +} +}, +"path": "v2beta1/{+parent}/entityTypes:batchUpdate", +"request": { +"$ref": "GoogleCloudDialogflowV2beta1BatchUpdateEntityTypesRequest" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"create": { +"description": "", +"flatPath": "v2beta1/projects/{projectsId}/agent/entityTypes", +"httpMethod": "POST", +"id": "dialogflow.projects.agent.entityTypes.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"languageCode": { +"location": "query", +"type": "string" +}, +"parent": { +"location": "path", +"pattern": "^projects/[^/]+/agent$", +"required": true, +"type": "string" +} +}, +"path": "v2beta1/{+parent}/entityTypes", +"request": { +"$ref": "GoogleCloudDialogflowV2beta1EntityType" +}, +"response": { +"$ref": "GoogleCloudDialogflowV2beta1EntityType" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"delete": { +"description": "", +"flatPath": "v2beta1/projects/{projectsId}/agent/entityTypes/{entityTypesId}", +"httpMethod": "DELETE", +"id": "dialogflow.projects.agent.entityTypes.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"location": "path", +"pattern": "^projects/[^/]+/agent/entityTypes/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2beta1/{+name}", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"get": { +"description": "", +"flatPath": "v2beta1/projects/{projectsId}/agent/entityTypes/{entityTypesId}", +"httpMethod": "GET", +"id": "dialogflow.projects.agent.entityTypes.get", +"parameterOrder": [ +"name" +], +"parameters": { +"languageCode": { +"location": "query", +"type": "string" +}, +"name": { +"location": "path", +"pattern": "^projects/[^/]+/agent/entityTypes/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2beta1/{+name}", +"response": { +"$ref": "GoogleCloudDialogflowV2beta1EntityType" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"list": { +"description": "", +"flatPath": "v2beta1/projects/{projectsId}/agent/entityTypes", +"httpMethod": "GET", +"id": "dialogflow.projects.agent.entityTypes.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"languageCode": { +"location": "query", +"type": "string" +}, +"pageSize": { +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"location": "query", +"type": "string" +}, +"parent": { +"location": "path", +"pattern": "^projects/[^/]+/agent$", +"required": true, +"type": "string" +} +}, +"path": "v2beta1/{+parent}/entityTypes", +"response": { +"$ref": "GoogleCloudDialogflowV2beta1ListEntityTypesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"patch": { +"description": "", +"flatPath": "v2beta1/projects/{projectsId}/agent/entityTypes/{entityTypesId}", +"httpMethod": "PATCH", +"id": "dialogflow.projects.agent.entityTypes.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"languageCode": { +"location": "query", +"type": "string" +}, +"name": { +"location": "path", +"pattern": "^projects/[^/]+/agent/entityTypes/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v2beta1/{+name}", +"request": { +"$ref": "GoogleCloudDialogflowV2beta1EntityType" +}, +"response": { +"$ref": "GoogleCloudDialogflowV2beta1EntityType" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +} +}, +"resources": { +"entities": { +"methods": { +"batchCreate": { +"description": "", +"flatPath": "v2beta1/projects/{projectsId}/agent/entityTypes/{entityTypesId}/entities:batchCreate", +"httpMethod": "POST", +"id": "dialogflow.projects.agent.entityTypes.entities.batchCreate", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"location": "path", +"pattern": "^projects/[^/]+/agent/entityTypes/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2beta1/{+parent}/entities:batchCreate", +"request": { +"$ref": "GoogleCloudDialogflowV2beta1BatchCreateEntitiesRequest" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"batchDelete": { +"description": "", +"flatPath": "v2beta1/projects/{projectsId}/agent/entityTypes/{entityTypesId}/entities:batchDelete", +"httpMethod": "POST", +"id": "dialogflow.projects.agent.entityTypes.entities.batchDelete", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"location": "path", +"pattern": "^projects/[^/]+/agent/entityTypes/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2beta1/{+parent}/entities:batchDelete", +"request": { +"$ref": "GoogleCloudDialogflowV2beta1BatchDeleteEntitiesRequest" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"batchUpdate": { +"description": "", +"flatPath": "v2beta1/projects/{projectsId}/agent/entityTypes/{entityTypesId}/entities:batchUpdate", +"httpMethod": "POST", +"id": "dialogflow.projects.agent.entityTypes.entities.batchUpdate", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"location": "path", +"pattern": "^projects/[^/]+/agent/entityTypes/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2beta1/{+parent}/entities:batchUpdate", +"request": { +"$ref": "GoogleCloudDialogflowV2beta1BatchUpdateEntitiesRequest" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +} +} +} +} +}, +"environments": { +"methods": { +"create": { +"description": "", +"flatPath": "v2beta1/projects/{projectsId}/agent/environments", +"httpMethod": "POST", +"id": "dialogflow.projects.agent.environments.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"environmentId": { +"location": "query", +"type": "string" +}, +"parent": { +"location": "path", +"pattern": "^projects/[^/]+/agent$", +"required": true, +"type": "string" +} +}, +"path": "v2beta1/{+parent}/environments", +"request": { +"$ref": "GoogleCloudDialogflowV2beta1Environment" +}, +"response": { +"$ref": "GoogleCloudDialogflowV2beta1Environment" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"delete": { +"description": "", +"flatPath": "v2beta1/projects/{projectsId}/agent/environments/{environmentsId}", +"httpMethod": "DELETE", +"id": "dialogflow.projects.agent.environments.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"location": "path", +"pattern": "^projects/[^/]+/agent/environments/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2beta1/{+name}", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"get": { +"description": "", +"flatPath": "v2beta1/projects/{projectsId}/agent/environments/{environmentsId}", +"httpMethod": "GET", +"id": "dialogflow.projects.agent.environments.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"location": "path", +"pattern": "^projects/[^/]+/agent/environments/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2beta1/{+name}", +"response": { +"$ref": "GoogleCloudDialogflowV2beta1Environment" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"getHistory": { +"description": "", +"flatPath": "v2beta1/projects/{projectsId}/agent/environments/{environmentsId}/history", +"httpMethod": "GET", +"id": "dialogflow.projects.agent.environments.getHistory", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"location": "query", +"type": "string" +}, +"parent": { +"location": "path", +"pattern": "^projects/[^/]+/agent/environments/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2beta1/{+parent}/history", +"response": { +"$ref": "GoogleCloudDialogflowV2beta1EnvironmentHistory" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"list": { +"description": "", +"flatPath": "v2beta1/projects/{projectsId}/agent/environments", +"httpMethod": "GET", +"id": "dialogflow.projects.agent.environments.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"location": "query", +"type": "string" +}, +"parent": { +"location": "path", +"pattern": "^projects/[^/]+/agent$", +"required": true, +"type": "string" +} +}, +"path": "v2beta1/{+parent}/environments", +"response": { +"$ref": "GoogleCloudDialogflowV2beta1ListEnvironmentsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"patch": { +"description": "", +"flatPath": "v2beta1/projects/{projectsId}/agent/environments/{environmentsId}", +"httpMethod": "PATCH", +"id": "dialogflow.projects.agent.environments.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"allowLoadToDraftAndDiscardChanges": { +"location": "query", +"type": "boolean" +}, +"name": { +"location": "path", +"pattern": "^projects/[^/]+/agent/environments/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v2beta1/{+name}", +"request": { +"$ref": "GoogleCloudDialogflowV2beta1Environment" +}, +"response": { +"$ref": "GoogleCloudDialogflowV2beta1Environment" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +} +}, +"resources": { +"intents": { +"methods": { +"list": { +"description": "", +"flatPath": "v2beta1/projects/{projectsId}/agent/environments/{environmentsId}/intents", +"httpMethod": "GET", +"id": "dialogflow.projects.agent.environments.intents.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"intentView": { +"enum": [ +"INTENT_VIEW_UNSPECIFIED", +"INTENT_VIEW_FULL" +], +"enumDescriptions": [ +"", +"" +], +"location": "query", +"type": "string" +}, +"languageCode": { +"location": "query", +"type": "string" +}, +"pageSize": { +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"location": "query", +"type": "string" +}, +"parent": { +"location": "path", +"pattern": "^projects/[^/]+/agent/environments/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2beta1/{+parent}/intents", +"response": { +"$ref": "GoogleCloudDialogflowV2beta1ListIntentsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +} +} +}, +"users": { +"resources": { +"sessions": { +"methods": { +"deleteContexts": { +"description": "", +"flatPath": "v2beta1/projects/{projectsId}/agent/environments/{environmentsId}/users/{usersId}/sessions/{sessionsId}/contexts", +"httpMethod": "DELETE", +"id": "dialogflow.projects.agent.environments.users.sessions.deleteContexts", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"location": "path", +"pattern": "^projects/[^/]+/agent/environments/[^/]+/users/[^/]+/sessions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2beta1/{+parent}/contexts", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"detectIntent": { +"description": "", +"flatPath": "v2beta1/projects/{projectsId}/agent/environments/{environmentsId}/users/{usersId}/sessions/{sessionsId}:detectIntent", +"httpMethod": "POST", +"id": "dialogflow.projects.agent.environments.users.sessions.detectIntent", +"parameterOrder": [ +"session" +], +"parameters": { +"session": { +"location": "path", +"pattern": "^projects/[^/]+/agent/environments/[^/]+/users/[^/]+/sessions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2beta1/{+session}:detectIntent", +"request": { +"$ref": "GoogleCloudDialogflowV2beta1DetectIntentRequest" +}, +"response": { +"$ref": "GoogleCloudDialogflowV2beta1DetectIntentResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +} +}, +"resources": { +"contexts": { +"methods": { +"create": { +"description": "", +"flatPath": "v2beta1/projects/{projectsId}/agent/environments/{environmentsId}/users/{usersId}/sessions/{sessionsId}/contexts", +"httpMethod": "POST", +"id": "dialogflow.projects.agent.environments.users.sessions.contexts.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"location": "path", +"pattern": "^projects/[^/]+/agent/environments/[^/]+/users/[^/]+/sessions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2beta1/{+parent}/contexts", +"request": { +"$ref": "GoogleCloudDialogflowV2beta1Context" +}, +"response": { +"$ref": "GoogleCloudDialogflowV2beta1Context" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"delete": { +"description": "", +"flatPath": "v2beta1/projects/{projectsId}/agent/environments/{environmentsId}/users/{usersId}/sessions/{sessionsId}/contexts/{contextsId}", +"httpMethod": "DELETE", +"id": "dialogflow.projects.agent.environments.users.sessions.contexts.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"location": "path", +"pattern": "^projects/[^/]+/agent/environments/[^/]+/users/[^/]+/sessions/[^/]+/contexts/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2beta1/{+name}", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"get": { +"description": "", +"flatPath": "v2beta1/projects/{projectsId}/agent/environments/{environmentsId}/users/{usersId}/sessions/{sessionsId}/contexts/{contextsId}", +"httpMethod": "GET", +"id": "dialogflow.projects.agent.environments.users.sessions.contexts.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"location": "path", +"pattern": "^projects/[^/]+/agent/environments/[^/]+/users/[^/]+/sessions/[^/]+/contexts/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2beta1/{+name}", +"response": { +"$ref": "GoogleCloudDialogflowV2beta1Context" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"list": { +"description": "", +"flatPath": "v2beta1/projects/{projectsId}/agent/environments/{environmentsId}/users/{usersId}/sessions/{sessionsId}/contexts", +"httpMethod": "GET", +"id": "dialogflow.projects.agent.environments.users.sessions.contexts.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"location": "query", +"type": "string" +}, +"parent": { +"location": "path", +"pattern": "^projects/[^/]+/agent/environments/[^/]+/users/[^/]+/sessions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2beta1/{+parent}/contexts", +"response": { +"$ref": "GoogleCloudDialogflowV2beta1ListContextsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"patch": { +"description": "", +"flatPath": "v2beta1/projects/{projectsId}/agent/environments/{environmentsId}/users/{usersId}/sessions/{sessionsId}/contexts/{contextsId}", +"httpMethod": "PATCH", +"id": "dialogflow.projects.agent.environments.users.sessions.contexts.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"location": "path", +"pattern": "^projects/[^/]+/agent/environments/[^/]+/users/[^/]+/sessions/[^/]+/contexts/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v2beta1/{+name}", +"request": { +"$ref": "GoogleCloudDialogflowV2beta1Context" +}, +"response": { +"$ref": "GoogleCloudDialogflowV2beta1Context" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +} +} +}, +"entityTypes": { +"methods": { +"create": { +"description": "", +"flatPath": "v2beta1/projects/{projectsId}/agent/environments/{environmentsId}/users/{usersId}/sessions/{sessionsId}/entityTypes", +"httpMethod": "POST", +"id": "dialogflow.projects.agent.environments.users.sessions.entityTypes.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"location": "path", +"pattern": "^projects/[^/]+/agent/environments/[^/]+/users/[^/]+/sessions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2beta1/{+parent}/entityTypes", +"request": { +"$ref": "GoogleCloudDialogflowV2beta1SessionEntityType" +}, +"response": { +"$ref": "GoogleCloudDialogflowV2beta1SessionEntityType" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"delete": { +"description": "", +"flatPath": "v2beta1/projects/{projectsId}/agent/environments/{environmentsId}/users/{usersId}/sessions/{sessionsId}/entityTypes/{entityTypesId}", +"httpMethod": "DELETE", +"id": "dialogflow.projects.agent.environments.users.sessions.entityTypes.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"location": "path", +"pattern": "^projects/[^/]+/agent/environments/[^/]+/users/[^/]+/sessions/[^/]+/entityTypes/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2beta1/{+name}", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"get": { +"description": "", +"flatPath": "v2beta1/projects/{projectsId}/agent/environments/{environmentsId}/users/{usersId}/sessions/{sessionsId}/entityTypes/{entityTypesId}", +"httpMethod": "GET", +"id": "dialogflow.projects.agent.environments.users.sessions.entityTypes.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"location": "path", +"pattern": "^projects/[^/]+/agent/environments/[^/]+/users/[^/]+/sessions/[^/]+/entityTypes/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2beta1/{+name}", +"response": { +"$ref": "GoogleCloudDialogflowV2beta1SessionEntityType" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"list": { +"description": "", +"flatPath": "v2beta1/projects/{projectsId}/agent/environments/{environmentsId}/users/{usersId}/sessions/{sessionsId}/entityTypes", +"httpMethod": "GET", +"id": "dialogflow.projects.agent.environments.users.sessions.entityTypes.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"location": "query", +"type": "string" +}, +"parent": { +"location": "path", +"pattern": "^projects/[^/]+/agent/environments/[^/]+/users/[^/]+/sessions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2beta1/{+parent}/entityTypes", +"response": { +"$ref": "GoogleCloudDialogflowV2beta1ListSessionEntityTypesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"patch": { +"description": "", +"flatPath": "v2beta1/projects/{projectsId}/agent/environments/{environmentsId}/users/{usersId}/sessions/{sessionsId}/entityTypes/{entityTypesId}", +"httpMethod": "PATCH", +"id": "dialogflow.projects.agent.environments.users.sessions.entityTypes.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"location": "path", +"pattern": "^projects/[^/]+/agent/environments/[^/]+/users/[^/]+/sessions/[^/]+/entityTypes/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v2beta1/{+name}", +"request": { +"$ref": "GoogleCloudDialogflowV2beta1SessionEntityType" +}, +"response": { +"$ref": "GoogleCloudDialogflowV2beta1SessionEntityType" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +} +} +} +} +} +} +} +} +}, +"intents": { +"methods": { +"batchDelete": { +"description": "", +"flatPath": "v2beta1/projects/{projectsId}/agent/intents:batchDelete", +"httpMethod": "POST", +"id": "dialogflow.projects.agent.intents.batchDelete", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"location": "path", +"pattern": "^projects/[^/]+/agent$", +"required": true, +"type": "string" +} +}, +"path": "v2beta1/{+parent}/intents:batchDelete", +"request": { +"$ref": "GoogleCloudDialogflowV2beta1BatchDeleteIntentsRequest" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"batchUpdate": { +"description": "", +"flatPath": "v2beta1/projects/{projectsId}/agent/intents:batchUpdate", +"httpMethod": "POST", +"id": "dialogflow.projects.agent.intents.batchUpdate", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"location": "path", +"pattern": "^projects/[^/]+/agent$", +"required": true, +"type": "string" +} +}, +"path": "v2beta1/{+parent}/intents:batchUpdate", +"request": { +"$ref": "GoogleCloudDialogflowV2beta1BatchUpdateIntentsRequest" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"create": { +"description": "", +"flatPath": "v2beta1/projects/{projectsId}/agent/intents", +"httpMethod": "POST", +"id": "dialogflow.projects.agent.intents.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"intentView": { +"enum": [ +"INTENT_VIEW_UNSPECIFIED", +"INTENT_VIEW_FULL" +], +"enumDescriptions": [ +"", +"" +], +"location": "query", +"type": "string" +}, +"languageCode": { +"location": "query", +"type": "string" +}, +"parent": { +"location": "path", +"pattern": "^projects/[^/]+/agent$", +"required": true, +"type": "string" +} +}, +"path": "v2beta1/{+parent}/intents", +"request": { +"$ref": "GoogleCloudDialogflowV2beta1Intent" +}, +"response": { +"$ref": "GoogleCloudDialogflowV2beta1Intent" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"delete": { +"description": "", +"flatPath": "v2beta1/projects/{projectsId}/agent/intents/{intentsId}", +"httpMethod": "DELETE", +"id": "dialogflow.projects.agent.intents.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"location": "path", +"pattern": "^projects/[^/]+/agent/intents/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2beta1/{+name}", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"get": { +"description": "", +"flatPath": "v2beta1/projects/{projectsId}/agent/intents/{intentsId}", +"httpMethod": "GET", +"id": "dialogflow.projects.agent.intents.get", +"parameterOrder": [ +"name" +], +"parameters": { +"intentView": { +"enum": [ +"INTENT_VIEW_UNSPECIFIED", +"INTENT_VIEW_FULL" +], +"enumDescriptions": [ +"", +"" +], +"location": "query", +"type": "string" +}, +"languageCode": { +"location": "query", +"type": "string" +}, +"name": { +"location": "path", +"pattern": "^projects/[^/]+/agent/intents/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2beta1/{+name}", +"response": { +"$ref": "GoogleCloudDialogflowV2beta1Intent" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"list": { +"description": "", +"flatPath": "v2beta1/projects/{projectsId}/agent/intents", +"httpMethod": "GET", +"id": "dialogflow.projects.agent.intents.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"intentView": { +"enum": [ +"INTENT_VIEW_UNSPECIFIED", +"INTENT_VIEW_FULL" +], +"enumDescriptions": [ +"", +"" +], +"location": "query", +"type": "string" +}, +"languageCode": { +"location": "query", +"type": "string" +}, +"pageSize": { +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"location": "query", +"type": "string" +}, +"parent": { +"location": "path", +"pattern": "^projects/[^/]+/agent$", +"required": true, +"type": "string" +} +}, +"path": "v2beta1/{+parent}/intents", +"response": { +"$ref": "GoogleCloudDialogflowV2beta1ListIntentsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"patch": { +"description": "", +"flatPath": "v2beta1/projects/{projectsId}/agent/intents/{intentsId}", +"httpMethod": "PATCH", +"id": "dialogflow.projects.agent.intents.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"intentView": { +"enum": [ +"INTENT_VIEW_UNSPECIFIED", +"INTENT_VIEW_FULL" +], +"enumDescriptions": [ +"", +"" +], +"location": "query", +"type": "string" +}, +"languageCode": { +"location": "query", +"type": "string" +}, +"name": { +"location": "path", +"pattern": "^projects/[^/]+/agent/intents/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v2beta1/{+name}", +"request": { +"$ref": "GoogleCloudDialogflowV2beta1Intent" +}, +"response": { +"$ref": "GoogleCloudDialogflowV2beta1Intent" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +} +} +}, +"knowledgeBases": { +"methods": { +"create": { +"description": "", +"flatPath": "v2beta1/projects/{projectsId}/agent/knowledgeBases", +"httpMethod": "POST", +"id": "dialogflow.projects.agent.knowledgeBases.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"location": "path", +"pattern": "^projects/[^/]+/agent$", +"required": true, +"type": "string" +} +}, +"path": "v2beta1/{+parent}/knowledgeBases", +"request": { +"$ref": "GoogleCloudDialogflowV2beta1KnowledgeBase" +}, +"response": { +"$ref": "GoogleCloudDialogflowV2beta1KnowledgeBase" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"delete": { +"description": "", +"flatPath": "v2beta1/projects/{projectsId}/agent/knowledgeBases/{knowledgeBasesId}", +"httpMethod": "DELETE", +"id": "dialogflow.projects.agent.knowledgeBases.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"force": { +"location": "query", +"type": "boolean" +}, +"name": { +"location": "path", +"pattern": "^projects/[^/]+/agent/knowledgeBases/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2beta1/{+name}", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"get": { +"description": "", +"flatPath": "v2beta1/projects/{projectsId}/agent/knowledgeBases/{knowledgeBasesId}", +"httpMethod": "GET", +"id": "dialogflow.projects.agent.knowledgeBases.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"location": "path", +"pattern": "^projects/[^/]+/agent/knowledgeBases/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2beta1/{+name}", +"response": { +"$ref": "GoogleCloudDialogflowV2beta1KnowledgeBase" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"list": { +"description": "", +"flatPath": "v2beta1/projects/{projectsId}/agent/knowledgeBases", +"httpMethod": "GET", +"id": "dialogflow.projects.agent.knowledgeBases.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"location": "query", +"type": "string" +}, +"pageSize": { +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"location": "query", +"type": "string" +}, +"parent": { +"location": "path", +"pattern": "^projects/[^/]+/agent$", +"required": true, +"type": "string" +} +}, +"path": "v2beta1/{+parent}/knowledgeBases", +"response": { +"$ref": "GoogleCloudDialogflowV2beta1ListKnowledgeBasesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"patch": { +"description": "", +"flatPath": "v2beta1/projects/{projectsId}/agent/knowledgeBases/{knowledgeBasesId}", +"httpMethod": "PATCH", +"id": "dialogflow.projects.agent.knowledgeBases.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"location": "path", +"pattern": "^projects/[^/]+/agent/knowledgeBases/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v2beta1/{+name}", +"request": { +"$ref": "GoogleCloudDialogflowV2beta1KnowledgeBase" +}, +"response": { +"$ref": "GoogleCloudDialogflowV2beta1KnowledgeBase" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +} +}, +"resources": { +"documents": { +"methods": { +"create": { +"description": "", +"flatPath": "v2beta1/projects/{projectsId}/agent/knowledgeBases/{knowledgeBasesId}/documents", +"httpMethod": "POST", +"id": "dialogflow.projects.agent.knowledgeBases.documents.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"importGcsCustomMetadata": { +"location": "query", +"type": "boolean" +}, +"parent": { +"location": "path", +"pattern": "^projects/[^/]+/agent/knowledgeBases/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2beta1/{+parent}/documents", +"request": { +"$ref": "GoogleCloudDialogflowV2beta1Document" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"delete": { +"description": "", +"flatPath": "v2beta1/projects/{projectsId}/agent/knowledgeBases/{knowledgeBasesId}/documents/{documentsId}", +"httpMethod": "DELETE", +"id": "dialogflow.projects.agent.knowledgeBases.documents.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"location": "path", +"pattern": "^projects/[^/]+/agent/knowledgeBases/[^/]+/documents/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2beta1/{+name}", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"get": { +"description": "", +"flatPath": "v2beta1/projects/{projectsId}/agent/knowledgeBases/{knowledgeBasesId}/documents/{documentsId}", +"httpMethod": "GET", +"id": "dialogflow.projects.agent.knowledgeBases.documents.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"location": "path", +"pattern": "^projects/[^/]+/agent/knowledgeBases/[^/]+/documents/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2beta1/{+name}", +"response": { +"$ref": "GoogleCloudDialogflowV2beta1Document" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"list": { +"description": "", +"flatPath": "v2beta1/projects/{projectsId}/agent/knowledgeBases/{knowledgeBasesId}/documents", +"httpMethod": "GET", +"id": "dialogflow.projects.agent.knowledgeBases.documents.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"location": "query", +"type": "string" +}, +"pageSize": { +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"location": "query", +"type": "string" +}, +"parent": { +"location": "path", +"pattern": "^projects/[^/]+/agent/knowledgeBases/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2beta1/{+parent}/documents", +"response": { +"$ref": "GoogleCloudDialogflowV2beta1ListDocumentsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"patch": { +"description": "", +"flatPath": "v2beta1/projects/{projectsId}/agent/knowledgeBases/{knowledgeBasesId}/documents/{documentsId}", +"httpMethod": "PATCH", +"id": "dialogflow.projects.agent.knowledgeBases.documents.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"location": "path", +"pattern": "^projects/[^/]+/agent/knowledgeBases/[^/]+/documents/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v2beta1/{+name}", +"request": { +"$ref": "GoogleCloudDialogflowV2beta1Document" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"reload": { +"description": "", +"flatPath": "v2beta1/projects/{projectsId}/agent/knowledgeBases/{knowledgeBasesId}/documents/{documentsId}:reload", +"httpMethod": "POST", +"id": "dialogflow.projects.agent.knowledgeBases.documents.reload", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"location": "path", +"pattern": "^projects/[^/]+/agent/knowledgeBases/[^/]+/documents/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2beta1/{+name}:reload", +"request": { +"$ref": "GoogleCloudDialogflowV2beta1ReloadDocumentRequest" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +} +} +} +} +}, +"sessions": { +"methods": { +"deleteContexts": { +"description": "", +"flatPath": "v2beta1/projects/{projectsId}/agent/sessions/{sessionsId}/contexts", +"httpMethod": "DELETE", +"id": "dialogflow.projects.agent.sessions.deleteContexts", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"location": "path", +"pattern": "^projects/[^/]+/agent/sessions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2beta1/{+parent}/contexts", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"detectIntent": { +"description": "", +"flatPath": "v2beta1/projects/{projectsId}/agent/sessions/{sessionsId}:detectIntent", +"httpMethod": "POST", +"id": "dialogflow.projects.agent.sessions.detectIntent", +"parameterOrder": [ +"session" +], +"parameters": { +"session": { +"location": "path", +"pattern": "^projects/[^/]+/agent/sessions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2beta1/{+session}:detectIntent", +"request": { +"$ref": "GoogleCloudDialogflowV2beta1DetectIntentRequest" +}, +"response": { +"$ref": "GoogleCloudDialogflowV2beta1DetectIntentResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +} +}, +"resources": { +"contexts": { +"methods": { +"create": { +"description": "", +"flatPath": "v2beta1/projects/{projectsId}/agent/sessions/{sessionsId}/contexts", +"httpMethod": "POST", +"id": "dialogflow.projects.agent.sessions.contexts.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"location": "path", +"pattern": "^projects/[^/]+/agent/sessions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2beta1/{+parent}/contexts", +"request": { +"$ref": "GoogleCloudDialogflowV2beta1Context" +}, +"response": { +"$ref": "GoogleCloudDialogflowV2beta1Context" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"delete": { +"description": "", +"flatPath": "v2beta1/projects/{projectsId}/agent/sessions/{sessionsId}/contexts/{contextsId}", +"httpMethod": "DELETE", +"id": "dialogflow.projects.agent.sessions.contexts.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"location": "path", +"pattern": "^projects/[^/]+/agent/sessions/[^/]+/contexts/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2beta1/{+name}", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"get": { +"description": "", +"flatPath": "v2beta1/projects/{projectsId}/agent/sessions/{sessionsId}/contexts/{contextsId}", +"httpMethod": "GET", +"id": "dialogflow.projects.agent.sessions.contexts.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"location": "path", +"pattern": "^projects/[^/]+/agent/sessions/[^/]+/contexts/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2beta1/{+name}", +"response": { +"$ref": "GoogleCloudDialogflowV2beta1Context" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"list": { +"description": "", +"flatPath": "v2beta1/projects/{projectsId}/agent/sessions/{sessionsId}/contexts", +"httpMethod": "GET", +"id": "dialogflow.projects.agent.sessions.contexts.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"location": "query", +"type": "string" +}, +"parent": { +"location": "path", +"pattern": "^projects/[^/]+/agent/sessions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2beta1/{+parent}/contexts", +"response": { +"$ref": "GoogleCloudDialogflowV2beta1ListContextsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"patch": { +"description": "", +"flatPath": "v2beta1/projects/{projectsId}/agent/sessions/{sessionsId}/contexts/{contextsId}", +"httpMethod": "PATCH", +"id": "dialogflow.projects.agent.sessions.contexts.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"location": "path", +"pattern": "^projects/[^/]+/agent/sessions/[^/]+/contexts/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v2beta1/{+name}", +"request": { +"$ref": "GoogleCloudDialogflowV2beta1Context" +}, +"response": { +"$ref": "GoogleCloudDialogflowV2beta1Context" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +} +} +}, +"entityTypes": { +"methods": { +"create": { +"description": "", +"flatPath": "v2beta1/projects/{projectsId}/agent/sessions/{sessionsId}/entityTypes", +"httpMethod": "POST", +"id": "dialogflow.projects.agent.sessions.entityTypes.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"location": "path", +"pattern": "^projects/[^/]+/agent/sessions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2beta1/{+parent}/entityTypes", +"request": { +"$ref": "GoogleCloudDialogflowV2beta1SessionEntityType" +}, +"response": { +"$ref": "GoogleCloudDialogflowV2beta1SessionEntityType" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"delete": { +"description": "", +"flatPath": "v2beta1/projects/{projectsId}/agent/sessions/{sessionsId}/entityTypes/{entityTypesId}", +"httpMethod": "DELETE", +"id": "dialogflow.projects.agent.sessions.entityTypes.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"location": "path", +"pattern": "^projects/[^/]+/agent/sessions/[^/]+/entityTypes/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2beta1/{+name}", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"get": { +"description": "", +"flatPath": "v2beta1/projects/{projectsId}/agent/sessions/{sessionsId}/entityTypes/{entityTypesId}", +"httpMethod": "GET", +"id": "dialogflow.projects.agent.sessions.entityTypes.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"location": "path", +"pattern": "^projects/[^/]+/agent/sessions/[^/]+/entityTypes/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2beta1/{+name}", +"response": { +"$ref": "GoogleCloudDialogflowV2beta1SessionEntityType" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"list": { +"description": "", +"flatPath": "v2beta1/projects/{projectsId}/agent/sessions/{sessionsId}/entityTypes", +"httpMethod": "GET", +"id": "dialogflow.projects.agent.sessions.entityTypes.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"location": "query", +"type": "string" +}, +"parent": { +"location": "path", +"pattern": "^projects/[^/]+/agent/sessions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2beta1/{+parent}/entityTypes", +"response": { +"$ref": "GoogleCloudDialogflowV2beta1ListSessionEntityTypesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"patch": { +"description": "", +"flatPath": "v2beta1/projects/{projectsId}/agent/sessions/{sessionsId}/entityTypes/{entityTypesId}", +"httpMethod": "PATCH", +"id": "dialogflow.projects.agent.sessions.entityTypes.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"location": "path", +"pattern": "^projects/[^/]+/agent/sessions/[^/]+/entityTypes/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v2beta1/{+name}", +"request": { +"$ref": "GoogleCloudDialogflowV2beta1SessionEntityType" +}, +"response": { +"$ref": "GoogleCloudDialogflowV2beta1SessionEntityType" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +} +} +} +} +}, +"versions": { +"methods": { +"create": { +"description": "", +"flatPath": "v2beta1/projects/{projectsId}/agent/versions", +"httpMethod": "POST", +"id": "dialogflow.projects.agent.versions.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"location": "path", +"pattern": "^projects/[^/]+/agent$", +"required": true, +"type": "string" +} +}, +"path": "v2beta1/{+parent}/versions", +"request": { +"$ref": "GoogleCloudDialogflowV2beta1Version" +}, +"response": { +"$ref": "GoogleCloudDialogflowV2beta1Version" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"delete": { +"description": "", +"flatPath": "v2beta1/projects/{projectsId}/agent/versions/{versionsId}", +"httpMethod": "DELETE", +"id": "dialogflow.projects.agent.versions.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"location": "path", +"pattern": "^projects/[^/]+/agent/versions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2beta1/{+name}", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"get": { +"description": "", +"flatPath": "v2beta1/projects/{projectsId}/agent/versions/{versionsId}", +"httpMethod": "GET", +"id": "dialogflow.projects.agent.versions.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"location": "path", +"pattern": "^projects/[^/]+/agent/versions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2beta1/{+name}", +"response": { +"$ref": "GoogleCloudDialogflowV2beta1Version" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"list": { +"description": "", +"flatPath": "v2beta1/projects/{projectsId}/agent/versions", +"httpMethod": "GET", +"id": "dialogflow.projects.agent.versions.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"location": "query", +"type": "string" +}, +"parent": { +"location": "path", +"pattern": "^projects/[^/]+/agent$", +"required": true, +"type": "string" +} +}, +"path": "v2beta1/{+parent}/versions", +"response": { +"$ref": "GoogleCloudDialogflowV2beta1ListVersionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"patch": { +"description": "", +"flatPath": "v2beta1/projects/{projectsId}/agent/versions/{versionsId}", +"httpMethod": "PATCH", +"id": "dialogflow.projects.agent.versions.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"location": "path", +"pattern": "^projects/[^/]+/agent/versions/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v2beta1/{+name}", +"request": { +"$ref": "GoogleCloudDialogflowV2beta1Version" +}, +"response": { +"$ref": "GoogleCloudDialogflowV2beta1Version" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +} +} +} +} +}, +"answerRecords": { +"methods": { +"get": { +"deprecated": true, +"description": "", +"flatPath": "v2beta1/projects/{projectsId}/answerRecords/{answerRecordsId}", +"httpMethod": "GET", +"id": "dialogflow.projects.answerRecords.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"location": "path", +"pattern": "^projects/[^/]+/answerRecords/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2beta1/{+name}", +"response": { +"$ref": "GoogleCloudDialogflowV2beta1AnswerRecord" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"list": { +"description": "", +"flatPath": "v2beta1/projects/{projectsId}/answerRecords", +"httpMethod": "GET", +"id": "dialogflow.projects.answerRecords.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"location": "query", +"type": "string" +}, +"pageSize": { +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"location": "query", +"type": "string" +}, +"parent": { +"location": "path", +"pattern": "^projects/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2beta1/{+parent}/answerRecords", +"response": { +"$ref": "GoogleCloudDialogflowV2beta1ListAnswerRecordsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"patch": { +"description": "", +"flatPath": "v2beta1/projects/{projectsId}/answerRecords/{answerRecordsId}", +"httpMethod": "PATCH", +"id": "dialogflow.projects.answerRecords.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"location": "path", +"pattern": "^projects/[^/]+/answerRecords/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v2beta1/{+name}", +"request": { +"$ref": "GoogleCloudDialogflowV2beta1AnswerRecord" +}, +"response": { +"$ref": "GoogleCloudDialogflowV2beta1AnswerRecord" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +} +} +}, +"conversationProfiles": { +"methods": { +"clearSuggestionFeatureConfig": { +"description": "", +"flatPath": "v2beta1/projects/{projectsId}/conversationProfiles/{conversationProfilesId}:clearSuggestionFeatureConfig", +"httpMethod": "POST", +"id": "dialogflow.projects.conversationProfiles.clearSuggestionFeatureConfig", +"parameterOrder": [ +"conversationProfile" +], +"parameters": { +"conversationProfile": { +"location": "path", +"pattern": "^projects/[^/]+/conversationProfiles/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2beta1/{+conversationProfile}:clearSuggestionFeatureConfig", +"request": { +"$ref": "GoogleCloudDialogflowV2beta1ClearSuggestionFeatureConfigRequest" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"create": { +"description": "", +"flatPath": "v2beta1/projects/{projectsId}/conversationProfiles", +"httpMethod": "POST", +"id": "dialogflow.projects.conversationProfiles.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"location": "path", +"pattern": "^projects/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2beta1/{+parent}/conversationProfiles", +"request": { +"$ref": "GoogleCloudDialogflowV2beta1ConversationProfile" +}, +"response": { +"$ref": "GoogleCloudDialogflowV2beta1ConversationProfile" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"delete": { +"description": "", +"flatPath": "v2beta1/projects/{projectsId}/conversationProfiles/{conversationProfilesId}", +"httpMethod": "DELETE", +"id": "dialogflow.projects.conversationProfiles.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"location": "path", +"pattern": "^projects/[^/]+/conversationProfiles/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2beta1/{+name}", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"get": { +"description": "", +"flatPath": "v2beta1/projects/{projectsId}/conversationProfiles/{conversationProfilesId}", +"httpMethod": "GET", +"id": "dialogflow.projects.conversationProfiles.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"location": "path", +"pattern": "^projects/[^/]+/conversationProfiles/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2beta1/{+name}", +"response": { +"$ref": "GoogleCloudDialogflowV2beta1ConversationProfile" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"list": { +"description": "", +"flatPath": "v2beta1/projects/{projectsId}/conversationProfiles", +"httpMethod": "GET", +"id": "dialogflow.projects.conversationProfiles.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"location": "query", +"type": "string" +}, +"parent": { +"location": "path", +"pattern": "^projects/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2beta1/{+parent}/conversationProfiles", +"response": { +"$ref": "GoogleCloudDialogflowV2beta1ListConversationProfilesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"patch": { +"description": "", +"flatPath": "v2beta1/projects/{projectsId}/conversationProfiles/{conversationProfilesId}", +"httpMethod": "PATCH", +"id": "dialogflow.projects.conversationProfiles.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"location": "path", +"pattern": "^projects/[^/]+/conversationProfiles/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v2beta1/{+name}", +"request": { +"$ref": "GoogleCloudDialogflowV2beta1ConversationProfile" +}, +"response": { +"$ref": "GoogleCloudDialogflowV2beta1ConversationProfile" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"setSuggestionFeatureConfig": { +"description": "", +"flatPath": "v2beta1/projects/{projectsId}/conversationProfiles/{conversationProfilesId}:setSuggestionFeatureConfig", +"httpMethod": "POST", +"id": "dialogflow.projects.conversationProfiles.setSuggestionFeatureConfig", +"parameterOrder": [ +"conversationProfile" +], +"parameters": { +"conversationProfile": { +"location": "path", +"pattern": "^projects/[^/]+/conversationProfiles/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2beta1/{+conversationProfile}:setSuggestionFeatureConfig", +"request": { +"$ref": "GoogleCloudDialogflowV2beta1SetSuggestionFeatureConfigRequest" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +} +} +}, +"conversations": { +"methods": { +"complete": { +"description": "", +"flatPath": "v2beta1/projects/{projectsId}/conversations/{conversationsId}:complete", +"httpMethod": "POST", +"id": "dialogflow.projects.conversations.complete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"location": "path", +"pattern": "^projects/[^/]+/conversations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2beta1/{+name}:complete", +"request": { +"$ref": "GoogleCloudDialogflowV2beta1CompleteConversationRequest" +}, +"response": { +"$ref": "GoogleCloudDialogflowV2beta1Conversation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"create": { +"description": "", +"flatPath": "v2beta1/projects/{projectsId}/conversations", +"httpMethod": "POST", +"id": "dialogflow.projects.conversations.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"conversationId": { +"location": "query", +"type": "string" +}, +"parent": { +"location": "path", +"pattern": "^projects/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2beta1/{+parent}/conversations", +"request": { +"$ref": "GoogleCloudDialogflowV2beta1Conversation" +}, +"response": { +"$ref": "GoogleCloudDialogflowV2beta1Conversation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"get": { +"description": "", +"flatPath": "v2beta1/projects/{projectsId}/conversations/{conversationsId}", +"httpMethod": "GET", +"id": "dialogflow.projects.conversations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"location": "path", +"pattern": "^projects/[^/]+/conversations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2beta1/{+name}", +"response": { +"$ref": "GoogleCloudDialogflowV2beta1Conversation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"list": { +"description": "", +"flatPath": "v2beta1/projects/{projectsId}/conversations", +"httpMethod": "GET", +"id": "dialogflow.projects.conversations.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"location": "query", +"type": "string" +}, +"pageSize": { +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"location": "query", +"type": "string" +}, +"parent": { +"location": "path", +"pattern": "^projects/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2beta1/{+parent}/conversations", +"response": { +"$ref": "GoogleCloudDialogflowV2beta1ListConversationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +} +}, +"resources": { +"messages": { +"methods": { +"batchCreate": { +"description": "", +"flatPath": "v2beta1/projects/{projectsId}/conversations/{conversationsId}/messages:batchCreate", +"httpMethod": "POST", +"id": "dialogflow.projects.conversations.messages.batchCreate", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"location": "path", +"pattern": "^projects/[^/]+/conversations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2beta1/{+parent}/messages:batchCreate", +"request": { +"$ref": "GoogleCloudDialogflowV2beta1BatchCreateMessagesRequest" +}, +"response": { +"$ref": "GoogleCloudDialogflowV2beta1BatchCreateMessagesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"list": { +"description": "", +"flatPath": "v2beta1/projects/{projectsId}/conversations/{conversationsId}/messages", +"httpMethod": "GET", +"id": "dialogflow.projects.conversations.messages.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"location": "query", +"type": "string" +}, +"pageSize": { +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"location": "query", +"type": "string" +}, +"parent": { +"location": "path", +"pattern": "^projects/[^/]+/conversations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2beta1/{+parent}/messages", +"response": { +"$ref": "GoogleCloudDialogflowV2beta1ListMessagesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +} +} +}, +"participants": { +"methods": { +"analyzeContent": { +"description": "", +"flatPath": "v2beta1/projects/{projectsId}/conversations/{conversationsId}/participants/{participantsId}:analyzeContent", +"httpMethod": "POST", +"id": "dialogflow.projects.conversations.participants.analyzeContent", +"parameterOrder": [ +"participant" +], +"parameters": { +"participant": { +"location": "path", +"pattern": "^projects/[^/]+/conversations/[^/]+/participants/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2beta1/{+participant}:analyzeContent", +"request": { +"$ref": "GoogleCloudDialogflowV2beta1AnalyzeContentRequest" +}, +"response": { +"$ref": "GoogleCloudDialogflowV2beta1AnalyzeContentResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"create": { +"description": "", +"flatPath": "v2beta1/projects/{projectsId}/conversations/{conversationsId}/participants", +"httpMethod": "POST", +"id": "dialogflow.projects.conversations.participants.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"location": "path", +"pattern": "^projects/[^/]+/conversations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2beta1/{+parent}/participants", +"request": { +"$ref": "GoogleCloudDialogflowV2beta1Participant" +}, +"response": { +"$ref": "GoogleCloudDialogflowV2beta1Participant" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"get": { +"description": "", +"flatPath": "v2beta1/projects/{projectsId}/conversations/{conversationsId}/participants/{participantsId}", +"httpMethod": "GET", +"id": "dialogflow.projects.conversations.participants.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"location": "path", +"pattern": "^projects/[^/]+/conversations/[^/]+/participants/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2beta1/{+name}", +"response": { +"$ref": "GoogleCloudDialogflowV2beta1Participant" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"list": { +"description": "", +"flatPath": "v2beta1/projects/{projectsId}/conversations/{conversationsId}/participants", +"httpMethod": "GET", +"id": "dialogflow.projects.conversations.participants.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"location": "query", +"type": "string" +}, +"parent": { +"location": "path", +"pattern": "^projects/[^/]+/conversations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2beta1/{+parent}/participants", +"response": { +"$ref": "GoogleCloudDialogflowV2beta1ListParticipantsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"patch": { +"description": "", +"flatPath": "v2beta1/projects/{projectsId}/conversations/{conversationsId}/participants/{participantsId}", +"httpMethod": "PATCH", +"id": "dialogflow.projects.conversations.participants.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"location": "path", +"pattern": "^projects/[^/]+/conversations/[^/]+/participants/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v2beta1/{+name}", +"request": { +"$ref": "GoogleCloudDialogflowV2beta1Participant" +}, +"response": { +"$ref": "GoogleCloudDialogflowV2beta1Participant" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +} +}, +"resources": { +"suggestions": { +"methods": { +"compile": { +"deprecated": true, +"description": "", +"flatPath": "v2beta1/projects/{projectsId}/conversations/{conversationsId}/participants/{participantsId}/suggestions:compile", +"httpMethod": "POST", +"id": "dialogflow.projects.conversations.participants.suggestions.compile", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"location": "path", +"pattern": "^projects/[^/]+/conversations/[^/]+/participants/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2beta1/{+parent}/suggestions:compile", +"request": { +"$ref": "GoogleCloudDialogflowV2beta1CompileSuggestionRequest" +}, +"response": { +"$ref": "GoogleCloudDialogflowV2beta1CompileSuggestionResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"list": { +"deprecated": true, +"description": "", +"flatPath": "v2beta1/projects/{projectsId}/conversations/{conversationsId}/participants/{participantsId}/suggestions", +"httpMethod": "GET", +"id": "dialogflow.projects.conversations.participants.suggestions.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"location": "query", +"type": "string" +}, +"pageSize": { +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"location": "query", +"type": "string" +}, +"parent": { +"location": "path", +"pattern": "^projects/[^/]+/conversations/[^/]+/participants/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2beta1/{+parent}/suggestions", +"response": { +"$ref": "GoogleCloudDialogflowV2beta1ListSuggestionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"suggestArticles": { +"description": "", +"flatPath": "v2beta1/projects/{projectsId}/conversations/{conversationsId}/participants/{participantsId}/suggestions:suggestArticles", +"httpMethod": "POST", +"id": "dialogflow.projects.conversations.participants.suggestions.suggestArticles", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"location": "path", +"pattern": "^projects/[^/]+/conversations/[^/]+/participants/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2beta1/{+parent}/suggestions:suggestArticles", +"request": { +"$ref": "GoogleCloudDialogflowV2beta1SuggestArticlesRequest" +}, +"response": { +"$ref": "GoogleCloudDialogflowV2beta1SuggestArticlesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"suggestFaqAnswers": { +"description": "", +"flatPath": "v2beta1/projects/{projectsId}/conversations/{conversationsId}/participants/{participantsId}/suggestions:suggestFaqAnswers", +"httpMethod": "POST", +"id": "dialogflow.projects.conversations.participants.suggestions.suggestFaqAnswers", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"location": "path", +"pattern": "^projects/[^/]+/conversations/[^/]+/participants/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2beta1/{+parent}/suggestions:suggestFaqAnswers", +"request": { +"$ref": "GoogleCloudDialogflowV2beta1SuggestFaqAnswersRequest" +}, +"response": { +"$ref": "GoogleCloudDialogflowV2beta1SuggestFaqAnswersResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"suggestKnowledgeAssist": { +"description": "", +"flatPath": "v2beta1/projects/{projectsId}/conversations/{conversationsId}/participants/{participantsId}/suggestions:suggestKnowledgeAssist", +"httpMethod": "POST", +"id": "dialogflow.projects.conversations.participants.suggestions.suggestKnowledgeAssist", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"location": "path", +"pattern": "^projects/[^/]+/conversations/[^/]+/participants/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2beta1/{+parent}/suggestions:suggestKnowledgeAssist", +"request": { +"$ref": "GoogleCloudDialogflowV2beta1SuggestKnowledgeAssistRequest" +}, +"response": { +"$ref": "GoogleCloudDialogflowV2beta1SuggestKnowledgeAssistResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"suggestSmartReplies": { +"description": "", +"flatPath": "v2beta1/projects/{projectsId}/conversations/{conversationsId}/participants/{participantsId}/suggestions:suggestSmartReplies", +"httpMethod": "POST", +"id": "dialogflow.projects.conversations.participants.suggestions.suggestSmartReplies", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"location": "path", +"pattern": "^projects/[^/]+/conversations/[^/]+/participants/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2beta1/{+parent}/suggestions:suggestSmartReplies", +"request": { +"$ref": "GoogleCloudDialogflowV2beta1SuggestSmartRepliesRequest" +}, +"response": { +"$ref": "GoogleCloudDialogflowV2beta1SuggestSmartRepliesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +} +} +} +} +}, +"suggestions": { +"methods": { +"generate": { +"description": "", +"flatPath": "v2beta1/projects/{projectsId}/conversations/{conversationsId}/suggestions:generate", +"httpMethod": "POST", +"id": "dialogflow.projects.conversations.suggestions.generate", +"parameterOrder": [ +"conversation" +], +"parameters": { +"conversation": { +"location": "path", +"pattern": "^projects/[^/]+/conversations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2beta1/{+conversation}/suggestions:generate", +"request": { +"$ref": "GoogleCloudDialogflowV2beta1GenerateSuggestionsRequest" +}, +"response": { +"$ref": "GoogleCloudDialogflowV2beta1GenerateSuggestionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"searchKnowledge": { +"description": "", +"flatPath": "v2beta1/projects/{projectsId}/conversations/{conversationsId}/suggestions:searchKnowledge", +"httpMethod": "POST", +"id": "dialogflow.projects.conversations.suggestions.searchKnowledge", +"parameterOrder": [ +"conversation" +], +"parameters": { +"conversation": { +"location": "path", +"pattern": "^projects/[^/]+/conversations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2beta1/{+conversation}/suggestions:searchKnowledge", +"request": { +"$ref": "GoogleCloudDialogflowV2beta1SearchKnowledgeRequest" +}, +"response": { +"$ref": "GoogleCloudDialogflowV2beta1SearchKnowledgeResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"suggestConversationSummary": { +"description": "", +"flatPath": "v2beta1/projects/{projectsId}/conversations/{conversationsId}/suggestions:suggestConversationSummary", +"httpMethod": "POST", +"id": "dialogflow.projects.conversations.suggestions.suggestConversationSummary", +"parameterOrder": [ +"conversation" +], +"parameters": { +"conversation": { +"location": "path", +"pattern": "^projects/[^/]+/conversations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2beta1/{+conversation}/suggestions:suggestConversationSummary", +"request": { +"$ref": "GoogleCloudDialogflowV2beta1SuggestConversationSummaryRequest" +}, +"response": { +"$ref": "GoogleCloudDialogflowV2beta1SuggestConversationSummaryResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +} +} +} +} +}, +"generators": { +"methods": { +"create": { +"description": "", +"flatPath": "v2beta1/projects/{projectsId}/generators", +"httpMethod": "POST", +"id": "dialogflow.projects.generators.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"generatorId": { +"location": "query", +"type": "string" +}, +"parent": { +"location": "path", +"pattern": "^projects/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2beta1/{+parent}/generators", +"request": { +"$ref": "GoogleCloudDialogflowV2beta1Generator" +}, +"response": { +"$ref": "GoogleCloudDialogflowV2beta1Generator" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"list": { +"description": "", +"flatPath": "v2beta1/projects/{projectsId}/generators", +"httpMethod": "GET", +"id": "dialogflow.projects.generators.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"location": "query", +"type": "string" +}, +"parent": { +"location": "path", +"pattern": "^projects/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2beta1/{+parent}/generators", +"response": { +"$ref": "GoogleCloudDialogflowV2beta1ListGeneratorsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +} +} +}, +"knowledgeBases": { +"methods": { +"create": { +"description": "", +"flatPath": "v2beta1/projects/{projectsId}/knowledgeBases", +"httpMethod": "POST", +"id": "dialogflow.projects.knowledgeBases.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"location": "path", +"pattern": "^projects/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2beta1/{+parent}/knowledgeBases", +"request": { +"$ref": "GoogleCloudDialogflowV2beta1KnowledgeBase" +}, +"response": { +"$ref": "GoogleCloudDialogflowV2beta1KnowledgeBase" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"delete": { +"description": "", +"flatPath": "v2beta1/projects/{projectsId}/knowledgeBases/{knowledgeBasesId}", +"httpMethod": "DELETE", +"id": "dialogflow.projects.knowledgeBases.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"force": { +"location": "query", +"type": "boolean" +}, +"name": { +"location": "path", +"pattern": "^projects/[^/]+/knowledgeBases/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2beta1/{+name}", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"get": { +"description": "", +"flatPath": "v2beta1/projects/{projectsId}/knowledgeBases/{knowledgeBasesId}", +"httpMethod": "GET", +"id": "dialogflow.projects.knowledgeBases.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"location": "path", +"pattern": "^projects/[^/]+/knowledgeBases/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2beta1/{+name}", +"response": { +"$ref": "GoogleCloudDialogflowV2beta1KnowledgeBase" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"list": { +"description": "", +"flatPath": "v2beta1/projects/{projectsId}/knowledgeBases", +"httpMethod": "GET", +"id": "dialogflow.projects.knowledgeBases.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"location": "query", +"type": "string" +}, +"pageSize": { +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"location": "query", +"type": "string" +}, +"parent": { +"location": "path", +"pattern": "^projects/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2beta1/{+parent}/knowledgeBases", +"response": { +"$ref": "GoogleCloudDialogflowV2beta1ListKnowledgeBasesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"patch": { +"description": "", +"flatPath": "v2beta1/projects/{projectsId}/knowledgeBases/{knowledgeBasesId}", +"httpMethod": "PATCH", +"id": "dialogflow.projects.knowledgeBases.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"location": "path", +"pattern": "^projects/[^/]+/knowledgeBases/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v2beta1/{+name}", +"request": { +"$ref": "GoogleCloudDialogflowV2beta1KnowledgeBase" +}, +"response": { +"$ref": "GoogleCloudDialogflowV2beta1KnowledgeBase" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +} +}, +"resources": { +"documents": { +"methods": { +"create": { +"description": "", +"flatPath": "v2beta1/projects/{projectsId}/knowledgeBases/{knowledgeBasesId}/documents", +"httpMethod": "POST", +"id": "dialogflow.projects.knowledgeBases.documents.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"importGcsCustomMetadata": { +"location": "query", +"type": "boolean" +}, +"parent": { +"location": "path", +"pattern": "^projects/[^/]+/knowledgeBases/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2beta1/{+parent}/documents", +"request": { +"$ref": "GoogleCloudDialogflowV2beta1Document" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"delete": { +"description": "", +"flatPath": "v2beta1/projects/{projectsId}/knowledgeBases/{knowledgeBasesId}/documents/{documentsId}", +"httpMethod": "DELETE", +"id": "dialogflow.projects.knowledgeBases.documents.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"location": "path", +"pattern": "^projects/[^/]+/knowledgeBases/[^/]+/documents/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2beta1/{+name}", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"get": { +"description": "", +"flatPath": "v2beta1/projects/{projectsId}/knowledgeBases/{knowledgeBasesId}/documents/{documentsId}", +"httpMethod": "GET", +"id": "dialogflow.projects.knowledgeBases.documents.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"location": "path", +"pattern": "^projects/[^/]+/knowledgeBases/[^/]+/documents/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2beta1/{+name}", +"response": { +"$ref": "GoogleCloudDialogflowV2beta1Document" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"import": { +"description": "", +"flatPath": "v2beta1/projects/{projectsId}/knowledgeBases/{knowledgeBasesId}/documents:import", +"httpMethod": "POST", +"id": "dialogflow.projects.knowledgeBases.documents.import", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"location": "path", +"pattern": "^projects/[^/]+/knowledgeBases/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2beta1/{+parent}/documents:import", +"request": { +"$ref": "GoogleCloudDialogflowV2beta1ImportDocumentsRequest" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"list": { +"description": "", +"flatPath": "v2beta1/projects/{projectsId}/knowledgeBases/{knowledgeBasesId}/documents", +"httpMethod": "GET", +"id": "dialogflow.projects.knowledgeBases.documents.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"location": "query", +"type": "string" +}, +"pageSize": { +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"location": "query", +"type": "string" +}, +"parent": { +"location": "path", +"pattern": "^projects/[^/]+/knowledgeBases/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2beta1/{+parent}/documents", +"response": { +"$ref": "GoogleCloudDialogflowV2beta1ListDocumentsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"patch": { +"description": "", +"flatPath": "v2beta1/projects/{projectsId}/knowledgeBases/{knowledgeBasesId}/documents/{documentsId}", +"httpMethod": "PATCH", +"id": "dialogflow.projects.knowledgeBases.documents.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"location": "path", +"pattern": "^projects/[^/]+/knowledgeBases/[^/]+/documents/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v2beta1/{+name}", +"request": { +"$ref": "GoogleCloudDialogflowV2beta1Document" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"reload": { +"description": "", +"flatPath": "v2beta1/projects/{projectsId}/knowledgeBases/{knowledgeBasesId}/documents/{documentsId}:reload", +"httpMethod": "POST", +"id": "dialogflow.projects.knowledgeBases.documents.reload", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"location": "path", +"pattern": "^projects/[^/]+/knowledgeBases/[^/]+/documents/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2beta1/{+name}:reload", +"request": { +"$ref": "GoogleCloudDialogflowV2beta1ReloadDocumentRequest" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +} +} +} +} +}, +"locations": { +"methods": { +"deleteAgent": { +"description": "", +"flatPath": "v2beta1/projects/{projectsId}/locations/{locationsId}/agent", +"httpMethod": "DELETE", +"id": "dialogflow.projects.locations.deleteAgent", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2beta1/{+parent}/agent", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"get": { +"description": "", +"flatPath": "v2beta1/projects/{projectsId}/locations/{locationsId}", +"httpMethod": "GET", +"id": "dialogflow.projects.locations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2beta1/{+name}", +"response": { +"$ref": "GoogleCloudLocationLocation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"getAgent": { +"description": "", +"flatPath": "v2beta1/projects/{projectsId}/locations/{locationsId}/agent", +"httpMethod": "GET", +"id": "dialogflow.projects.locations.getAgent", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2beta1/{+parent}/agent", +"response": { +"$ref": "GoogleCloudDialogflowV2beta1Agent" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"getEncryptionSpec": { +"description": "", +"flatPath": "v2beta1/projects/{projectsId}/locations/{locationsId}/encryptionSpec", +"httpMethod": "GET", +"id": "dialogflow.projects.locations.getEncryptionSpec", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/encryptionSpec$", +"required": true, +"type": "string" +} +}, +"path": "v2beta1/{+name}", +"response": { +"$ref": "GoogleCloudDialogflowV2beta1EncryptionSpec" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"list": { +"description": "", +"flatPath": "v2beta1/projects/{projectsId}/locations", +"httpMethod": "GET", +"id": "dialogflow.projects.locations.list", +"parameterOrder": [ +"name" +], +"parameters": { +"extraLocationTypes": { +"location": "query", +"repeated": true, +"type": "string" +}, +"filter": { +"location": "query", +"type": "string" +}, +"name": { +"location": "path", +"pattern": "^projects/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"location": "query", +"type": "string" +} +}, +"path": "v2beta1/{+name}/locations", +"response": { +"$ref": "GoogleCloudLocationListLocationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"setAgent": { +"description": "", +"flatPath": "v2beta1/projects/{projectsId}/locations/{locationsId}/agent", +"httpMethod": "POST", +"id": "dialogflow.projects.locations.setAgent", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v2beta1/{+parent}/agent", +"request": { +"$ref": "GoogleCloudDialogflowV2beta1Agent" +}, +"response": { +"$ref": "GoogleCloudDialogflowV2beta1Agent" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +} +}, +"resources": { +"agent": { +"methods": { +"export": { +"description": "", +"flatPath": "v2beta1/projects/{projectsId}/locations/{locationsId}/agent:export", +"httpMethod": "POST", +"id": "dialogflow.projects.locations.agent.export", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2beta1/{+parent}/agent:export", +"request": { +"$ref": "GoogleCloudDialogflowV2beta1ExportAgentRequest" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"getFulfillment": { +"description": "", +"flatPath": "v2beta1/projects/{projectsId}/locations/{locationsId}/agent/fulfillment", +"httpMethod": "GET", +"id": "dialogflow.projects.locations.agent.getFulfillment", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agent/fulfillment$", +"required": true, +"type": "string" +} +}, +"path": "v2beta1/{+name}", +"response": { +"$ref": "GoogleCloudDialogflowV2beta1Fulfillment" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"getValidationResult": { +"description": "", +"flatPath": "v2beta1/projects/{projectsId}/locations/{locationsId}/agent/validationResult", +"httpMethod": "GET", +"id": "dialogflow.projects.locations.agent.getValidationResult", +"parameterOrder": [ +"parent" +], +"parameters": { +"languageCode": { +"location": "query", +"type": "string" +}, +"parent": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2beta1/{+parent}/agent/validationResult", +"response": { +"$ref": "GoogleCloudDialogflowV2beta1ValidationResult" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"import": { +"description": "", +"flatPath": "v2beta1/projects/{projectsId}/locations/{locationsId}/agent:import", +"httpMethod": "POST", +"id": "dialogflow.projects.locations.agent.import", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2beta1/{+parent}/agent:import", +"request": { +"$ref": "GoogleCloudDialogflowV2beta1ImportAgentRequest" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"restore": { +"description": "", +"flatPath": "v2beta1/projects/{projectsId}/locations/{locationsId}/agent:restore", +"httpMethod": "POST", +"id": "dialogflow.projects.locations.agent.restore", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2beta1/{+parent}/agent:restore", +"request": { +"$ref": "GoogleCloudDialogflowV2beta1RestoreAgentRequest" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"search": { +"description": "", +"flatPath": "v2beta1/projects/{projectsId}/locations/{locationsId}/agent:search", +"httpMethod": "GET", +"id": "dialogflow.projects.locations.agent.search", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"location": "query", +"type": "string" +}, +"parent": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2beta1/{+parent}/agent:search", +"response": { +"$ref": "GoogleCloudDialogflowV2beta1SearchAgentsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"train": { +"description": "", +"flatPath": "v2beta1/projects/{projectsId}/locations/{locationsId}/agent:train", +"httpMethod": "POST", +"id": "dialogflow.projects.locations.agent.train", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2beta1/{+parent}/agent:train", +"request": { +"$ref": "GoogleCloudDialogflowV2beta1TrainAgentRequest" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"updateFulfillment": { +"description": "", +"flatPath": "v2beta1/projects/{projectsId}/locations/{locationsId}/agent/fulfillment", +"httpMethod": "PATCH", +"id": "dialogflow.projects.locations.agent.updateFulfillment", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agent/fulfillment$", +"required": true, +"type": "string" +}, +"updateMask": { +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v2beta1/{+name}", +"request": { +"$ref": "GoogleCloudDialogflowV2beta1Fulfillment" +}, +"response": { +"$ref": "GoogleCloudDialogflowV2beta1Fulfillment" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +} +}, +"resources": { +"entityTypes": { +"methods": { +"batchDelete": { +"description": "", +"flatPath": "v2beta1/projects/{projectsId}/locations/{locationsId}/agent/entityTypes:batchDelete", +"httpMethod": "POST", +"id": "dialogflow.projects.locations.agent.entityTypes.batchDelete", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agent$", +"required": true, +"type": "string" +} +}, +"path": "v2beta1/{+parent}/entityTypes:batchDelete", +"request": { +"$ref": "GoogleCloudDialogflowV2beta1BatchDeleteEntityTypesRequest" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"batchUpdate": { +"description": "", +"flatPath": "v2beta1/projects/{projectsId}/locations/{locationsId}/agent/entityTypes:batchUpdate", +"httpMethod": "POST", +"id": "dialogflow.projects.locations.agent.entityTypes.batchUpdate", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agent$", +"required": true, +"type": "string" +} +}, +"path": "v2beta1/{+parent}/entityTypes:batchUpdate", +"request": { +"$ref": "GoogleCloudDialogflowV2beta1BatchUpdateEntityTypesRequest" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"create": { +"description": "", +"flatPath": "v2beta1/projects/{projectsId}/locations/{locationsId}/agent/entityTypes", +"httpMethod": "POST", +"id": "dialogflow.projects.locations.agent.entityTypes.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"languageCode": { +"location": "query", +"type": "string" +}, +"parent": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agent$", +"required": true, +"type": "string" +} +}, +"path": "v2beta1/{+parent}/entityTypes", +"request": { +"$ref": "GoogleCloudDialogflowV2beta1EntityType" +}, +"response": { +"$ref": "GoogleCloudDialogflowV2beta1EntityType" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"delete": { +"description": "", +"flatPath": "v2beta1/projects/{projectsId}/locations/{locationsId}/agent/entityTypes/{entityTypesId}", +"httpMethod": "DELETE", +"id": "dialogflow.projects.locations.agent.entityTypes.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agent/entityTypes/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2beta1/{+name}", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"get": { +"description": "", +"flatPath": "v2beta1/projects/{projectsId}/locations/{locationsId}/agent/entityTypes/{entityTypesId}", +"httpMethod": "GET", +"id": "dialogflow.projects.locations.agent.entityTypes.get", +"parameterOrder": [ +"name" +], +"parameters": { +"languageCode": { +"location": "query", +"type": "string" +}, +"name": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agent/entityTypes/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2beta1/{+name}", +"response": { +"$ref": "GoogleCloudDialogflowV2beta1EntityType" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"list": { +"description": "", +"flatPath": "v2beta1/projects/{projectsId}/locations/{locationsId}/agent/entityTypes", +"httpMethod": "GET", +"id": "dialogflow.projects.locations.agent.entityTypes.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"languageCode": { +"location": "query", +"type": "string" +}, +"pageSize": { +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"location": "query", +"type": "string" +}, +"parent": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agent$", +"required": true, +"type": "string" +} +}, +"path": "v2beta1/{+parent}/entityTypes", +"response": { +"$ref": "GoogleCloudDialogflowV2beta1ListEntityTypesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"patch": { +"description": "", +"flatPath": "v2beta1/projects/{projectsId}/locations/{locationsId}/agent/entityTypes/{entityTypesId}", +"httpMethod": "PATCH", +"id": "dialogflow.projects.locations.agent.entityTypes.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"languageCode": { +"location": "query", +"type": "string" +}, +"name": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agent/entityTypes/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v2beta1/{+name}", +"request": { +"$ref": "GoogleCloudDialogflowV2beta1EntityType" +}, +"response": { +"$ref": "GoogleCloudDialogflowV2beta1EntityType" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +} +}, +"resources": { +"entities": { +"methods": { +"batchCreate": { +"description": "", +"flatPath": "v2beta1/projects/{projectsId}/locations/{locationsId}/agent/entityTypes/{entityTypesId}/entities:batchCreate", +"httpMethod": "POST", +"id": "dialogflow.projects.locations.agent.entityTypes.entities.batchCreate", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agent/entityTypes/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2beta1/{+parent}/entities:batchCreate", +"request": { +"$ref": "GoogleCloudDialogflowV2beta1BatchCreateEntitiesRequest" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"batchDelete": { +"description": "", +"flatPath": "v2beta1/projects/{projectsId}/locations/{locationsId}/agent/entityTypes/{entityTypesId}/entities:batchDelete", +"httpMethod": "POST", +"id": "dialogflow.projects.locations.agent.entityTypes.entities.batchDelete", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agent/entityTypes/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2beta1/{+parent}/entities:batchDelete", +"request": { +"$ref": "GoogleCloudDialogflowV2beta1BatchDeleteEntitiesRequest" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"batchUpdate": { +"description": "", +"flatPath": "v2beta1/projects/{projectsId}/locations/{locationsId}/agent/entityTypes/{entityTypesId}/entities:batchUpdate", +"httpMethod": "POST", +"id": "dialogflow.projects.locations.agent.entityTypes.entities.batchUpdate", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agent/entityTypes/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2beta1/{+parent}/entities:batchUpdate", +"request": { +"$ref": "GoogleCloudDialogflowV2beta1BatchUpdateEntitiesRequest" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +} +} +} +} +}, +"environments": { +"methods": { +"create": { +"description": "", +"flatPath": "v2beta1/projects/{projectsId}/locations/{locationsId}/agent/environments", +"httpMethod": "POST", +"id": "dialogflow.projects.locations.agent.environments.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"environmentId": { +"location": "query", +"type": "string" +}, +"parent": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agent$", +"required": true, +"type": "string" +} +}, +"path": "v2beta1/{+parent}/environments", +"request": { +"$ref": "GoogleCloudDialogflowV2beta1Environment" +}, +"response": { +"$ref": "GoogleCloudDialogflowV2beta1Environment" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"delete": { +"description": "", +"flatPath": "v2beta1/projects/{projectsId}/locations/{locationsId}/agent/environments/{environmentsId}", +"httpMethod": "DELETE", +"id": "dialogflow.projects.locations.agent.environments.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agent/environments/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2beta1/{+name}", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"get": { +"description": "", +"flatPath": "v2beta1/projects/{projectsId}/locations/{locationsId}/agent/environments/{environmentsId}", +"httpMethod": "GET", +"id": "dialogflow.projects.locations.agent.environments.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agent/environments/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2beta1/{+name}", +"response": { +"$ref": "GoogleCloudDialogflowV2beta1Environment" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"getHistory": { +"description": "", +"flatPath": "v2beta1/projects/{projectsId}/locations/{locationsId}/agent/environments/{environmentsId}/history", +"httpMethod": "GET", +"id": "dialogflow.projects.locations.agent.environments.getHistory", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"location": "query", +"type": "string" +}, +"parent": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agent/environments/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2beta1/{+parent}/history", +"response": { +"$ref": "GoogleCloudDialogflowV2beta1EnvironmentHistory" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"list": { +"description": "", +"flatPath": "v2beta1/projects/{projectsId}/locations/{locationsId}/agent/environments", +"httpMethod": "GET", +"id": "dialogflow.projects.locations.agent.environments.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"location": "query", +"type": "string" +}, +"parent": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agent$", +"required": true, +"type": "string" +} +}, +"path": "v2beta1/{+parent}/environments", +"response": { +"$ref": "GoogleCloudDialogflowV2beta1ListEnvironmentsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"patch": { +"description": "", +"flatPath": "v2beta1/projects/{projectsId}/locations/{locationsId}/agent/environments/{environmentsId}", +"httpMethod": "PATCH", +"id": "dialogflow.projects.locations.agent.environments.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"allowLoadToDraftAndDiscardChanges": { +"location": "query", +"type": "boolean" +}, +"name": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agent/environments/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v2beta1/{+name}", +"request": { +"$ref": "GoogleCloudDialogflowV2beta1Environment" +}, +"response": { +"$ref": "GoogleCloudDialogflowV2beta1Environment" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +} +}, +"resources": { +"intents": { +"methods": { +"list": { +"description": "", +"flatPath": "v2beta1/projects/{projectsId}/locations/{locationsId}/agent/environments/{environmentsId}/intents", +"httpMethod": "GET", +"id": "dialogflow.projects.locations.agent.environments.intents.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"intentView": { +"enum": [ +"INTENT_VIEW_UNSPECIFIED", +"INTENT_VIEW_FULL" +], +"enumDescriptions": [ +"", +"" +], +"location": "query", +"type": "string" +}, +"languageCode": { +"location": "query", +"type": "string" +}, +"pageSize": { +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"location": "query", +"type": "string" +}, +"parent": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agent/environments/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2beta1/{+parent}/intents", +"response": { +"$ref": "GoogleCloudDialogflowV2beta1ListIntentsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +} +} +}, +"users": { +"resources": { +"sessions": { +"methods": { +"deleteContexts": { +"description": "", +"flatPath": "v2beta1/projects/{projectsId}/locations/{locationsId}/agent/environments/{environmentsId}/users/{usersId}/sessions/{sessionsId}/contexts", +"httpMethod": "DELETE", +"id": "dialogflow.projects.locations.agent.environments.users.sessions.deleteContexts", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agent/environments/[^/]+/users/[^/]+/sessions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2beta1/{+parent}/contexts", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"detectIntent": { +"description": "", +"flatPath": "v2beta1/projects/{projectsId}/locations/{locationsId}/agent/environments/{environmentsId}/users/{usersId}/sessions/{sessionsId}:detectIntent", +"httpMethod": "POST", +"id": "dialogflow.projects.locations.agent.environments.users.sessions.detectIntent", +"parameterOrder": [ +"session" +], +"parameters": { +"session": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agent/environments/[^/]+/users/[^/]+/sessions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2beta1/{+session}:detectIntent", +"request": { +"$ref": "GoogleCloudDialogflowV2beta1DetectIntentRequest" +}, +"response": { +"$ref": "GoogleCloudDialogflowV2beta1DetectIntentResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +} +}, +"resources": { +"contexts": { +"methods": { +"create": { +"description": "", +"flatPath": "v2beta1/projects/{projectsId}/locations/{locationsId}/agent/environments/{environmentsId}/users/{usersId}/sessions/{sessionsId}/contexts", +"httpMethod": "POST", +"id": "dialogflow.projects.locations.agent.environments.users.sessions.contexts.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agent/environments/[^/]+/users/[^/]+/sessions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2beta1/{+parent}/contexts", +"request": { +"$ref": "GoogleCloudDialogflowV2beta1Context" +}, +"response": { +"$ref": "GoogleCloudDialogflowV2beta1Context" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"delete": { +"description": "", +"flatPath": "v2beta1/projects/{projectsId}/locations/{locationsId}/agent/environments/{environmentsId}/users/{usersId}/sessions/{sessionsId}/contexts/{contextsId}", +"httpMethod": "DELETE", +"id": "dialogflow.projects.locations.agent.environments.users.sessions.contexts.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agent/environments/[^/]+/users/[^/]+/sessions/[^/]+/contexts/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2beta1/{+name}", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"get": { +"description": "", +"flatPath": "v2beta1/projects/{projectsId}/locations/{locationsId}/agent/environments/{environmentsId}/users/{usersId}/sessions/{sessionsId}/contexts/{contextsId}", +"httpMethod": "GET", +"id": "dialogflow.projects.locations.agent.environments.users.sessions.contexts.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agent/environments/[^/]+/users/[^/]+/sessions/[^/]+/contexts/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2beta1/{+name}", +"response": { +"$ref": "GoogleCloudDialogflowV2beta1Context" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"list": { +"description": "", +"flatPath": "v2beta1/projects/{projectsId}/locations/{locationsId}/agent/environments/{environmentsId}/users/{usersId}/sessions/{sessionsId}/contexts", +"httpMethod": "GET", +"id": "dialogflow.projects.locations.agent.environments.users.sessions.contexts.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"location": "query", +"type": "string" +}, +"parent": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agent/environments/[^/]+/users/[^/]+/sessions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2beta1/{+parent}/contexts", +"response": { +"$ref": "GoogleCloudDialogflowV2beta1ListContextsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"patch": { +"description": "", +"flatPath": "v2beta1/projects/{projectsId}/locations/{locationsId}/agent/environments/{environmentsId}/users/{usersId}/sessions/{sessionsId}/contexts/{contextsId}", +"httpMethod": "PATCH", +"id": "dialogflow.projects.locations.agent.environments.users.sessions.contexts.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agent/environments/[^/]+/users/[^/]+/sessions/[^/]+/contexts/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v2beta1/{+name}", +"request": { +"$ref": "GoogleCloudDialogflowV2beta1Context" +}, +"response": { +"$ref": "GoogleCloudDialogflowV2beta1Context" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +} +} +}, +"entityTypes": { +"methods": { +"create": { +"description": "", +"flatPath": "v2beta1/projects/{projectsId}/locations/{locationsId}/agent/environments/{environmentsId}/users/{usersId}/sessions/{sessionsId}/entityTypes", +"httpMethod": "POST", +"id": "dialogflow.projects.locations.agent.environments.users.sessions.entityTypes.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agent/environments/[^/]+/users/[^/]+/sessions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2beta1/{+parent}/entityTypes", +"request": { +"$ref": "GoogleCloudDialogflowV2beta1SessionEntityType" +}, +"response": { +"$ref": "GoogleCloudDialogflowV2beta1SessionEntityType" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"delete": { +"description": "", +"flatPath": "v2beta1/projects/{projectsId}/locations/{locationsId}/agent/environments/{environmentsId}/users/{usersId}/sessions/{sessionsId}/entityTypes/{entityTypesId}", +"httpMethod": "DELETE", +"id": "dialogflow.projects.locations.agent.environments.users.sessions.entityTypes.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agent/environments/[^/]+/users/[^/]+/sessions/[^/]+/entityTypes/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2beta1/{+name}", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"get": { +"description": "", +"flatPath": "v2beta1/projects/{projectsId}/locations/{locationsId}/agent/environments/{environmentsId}/users/{usersId}/sessions/{sessionsId}/entityTypes/{entityTypesId}", +"httpMethod": "GET", +"id": "dialogflow.projects.locations.agent.environments.users.sessions.entityTypes.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agent/environments/[^/]+/users/[^/]+/sessions/[^/]+/entityTypes/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2beta1/{+name}", +"response": { +"$ref": "GoogleCloudDialogflowV2beta1SessionEntityType" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"list": { +"description": "", +"flatPath": "v2beta1/projects/{projectsId}/locations/{locationsId}/agent/environments/{environmentsId}/users/{usersId}/sessions/{sessionsId}/entityTypes", +"httpMethod": "GET", +"id": "dialogflow.projects.locations.agent.environments.users.sessions.entityTypes.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"location": "query", +"type": "string" +}, +"parent": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agent/environments/[^/]+/users/[^/]+/sessions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2beta1/{+parent}/entityTypes", +"response": { +"$ref": "GoogleCloudDialogflowV2beta1ListSessionEntityTypesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"patch": { +"description": "", +"flatPath": "v2beta1/projects/{projectsId}/locations/{locationsId}/agent/environments/{environmentsId}/users/{usersId}/sessions/{sessionsId}/entityTypes/{entityTypesId}", +"httpMethod": "PATCH", +"id": "dialogflow.projects.locations.agent.environments.users.sessions.entityTypes.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agent/environments/[^/]+/users/[^/]+/sessions/[^/]+/entityTypes/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v2beta1/{+name}", +"request": { +"$ref": "GoogleCloudDialogflowV2beta1SessionEntityType" +}, +"response": { +"$ref": "GoogleCloudDialogflowV2beta1SessionEntityType" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +} +} +} +} +} +} +} +} +}, +"intents": { +"methods": { +"batchDelete": { +"description": "", +"flatPath": "v2beta1/projects/{projectsId}/locations/{locationsId}/agent/intents:batchDelete", +"httpMethod": "POST", +"id": "dialogflow.projects.locations.agent.intents.batchDelete", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agent$", +"required": true, +"type": "string" +} +}, +"path": "v2beta1/{+parent}/intents:batchDelete", +"request": { +"$ref": "GoogleCloudDialogflowV2beta1BatchDeleteIntentsRequest" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"batchUpdate": { +"description": "", +"flatPath": "v2beta1/projects/{projectsId}/locations/{locationsId}/agent/intents:batchUpdate", +"httpMethod": "POST", +"id": "dialogflow.projects.locations.agent.intents.batchUpdate", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agent$", +"required": true, +"type": "string" +} +}, +"path": "v2beta1/{+parent}/intents:batchUpdate", +"request": { +"$ref": "GoogleCloudDialogflowV2beta1BatchUpdateIntentsRequest" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"create": { +"description": "", +"flatPath": "v2beta1/projects/{projectsId}/locations/{locationsId}/agent/intents", +"httpMethod": "POST", +"id": "dialogflow.projects.locations.agent.intents.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"intentView": { +"enum": [ +"INTENT_VIEW_UNSPECIFIED", +"INTENT_VIEW_FULL" +], +"enumDescriptions": [ +"", +"" +], +"location": "query", +"type": "string" +}, +"languageCode": { +"location": "query", +"type": "string" +}, +"parent": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agent$", +"required": true, +"type": "string" +} +}, +"path": "v2beta1/{+parent}/intents", +"request": { +"$ref": "GoogleCloudDialogflowV2beta1Intent" +}, +"response": { +"$ref": "GoogleCloudDialogflowV2beta1Intent" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"delete": { +"description": "", +"flatPath": "v2beta1/projects/{projectsId}/locations/{locationsId}/agent/intents/{intentsId}", +"httpMethod": "DELETE", +"id": "dialogflow.projects.locations.agent.intents.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agent/intents/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2beta1/{+name}", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"get": { +"description": "", +"flatPath": "v2beta1/projects/{projectsId}/locations/{locationsId}/agent/intents/{intentsId}", +"httpMethod": "GET", +"id": "dialogflow.projects.locations.agent.intents.get", +"parameterOrder": [ +"name" +], +"parameters": { +"intentView": { +"enum": [ +"INTENT_VIEW_UNSPECIFIED", +"INTENT_VIEW_FULL" +], +"enumDescriptions": [ +"", +"" +], +"location": "query", +"type": "string" +}, +"languageCode": { +"location": "query", +"type": "string" +}, +"name": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agent/intents/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2beta1/{+name}", +"response": { +"$ref": "GoogleCloudDialogflowV2beta1Intent" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"list": { +"description": "", +"flatPath": "v2beta1/projects/{projectsId}/locations/{locationsId}/agent/intents", +"httpMethod": "GET", +"id": "dialogflow.projects.locations.agent.intents.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"intentView": { +"enum": [ +"INTENT_VIEW_UNSPECIFIED", +"INTENT_VIEW_FULL" +], +"enumDescriptions": [ +"", +"" +], +"location": "query", +"type": "string" +}, +"languageCode": { +"location": "query", +"type": "string" +}, +"pageSize": { +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"location": "query", +"type": "string" +}, +"parent": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agent$", +"required": true, +"type": "string" +} +}, +"path": "v2beta1/{+parent}/intents", +"response": { +"$ref": "GoogleCloudDialogflowV2beta1ListIntentsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"patch": { +"description": "", +"flatPath": "v2beta1/projects/{projectsId}/locations/{locationsId}/agent/intents/{intentsId}", +"httpMethod": "PATCH", +"id": "dialogflow.projects.locations.agent.intents.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"intentView": { +"enum": [ +"INTENT_VIEW_UNSPECIFIED", +"INTENT_VIEW_FULL" +], +"enumDescriptions": [ +"", +"" +], +"location": "query", +"type": "string" +}, +"languageCode": { +"location": "query", +"type": "string" +}, +"name": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agent/intents/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v2beta1/{+name}", +"request": { +"$ref": "GoogleCloudDialogflowV2beta1Intent" +}, +"response": { +"$ref": "GoogleCloudDialogflowV2beta1Intent" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +} +} +}, +"sessions": { +"methods": { +"deleteContexts": { +"description": "", +"flatPath": "v2beta1/projects/{projectsId}/locations/{locationsId}/agent/sessions/{sessionsId}/contexts", +"httpMethod": "DELETE", +"id": "dialogflow.projects.locations.agent.sessions.deleteContexts", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agent/sessions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2beta1/{+parent}/contexts", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"detectIntent": { +"description": "", +"flatPath": "v2beta1/projects/{projectsId}/locations/{locationsId}/agent/sessions/{sessionsId}:detectIntent", +"httpMethod": "POST", +"id": "dialogflow.projects.locations.agent.sessions.detectIntent", +"parameterOrder": [ +"session" +], +"parameters": { +"session": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agent/sessions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2beta1/{+session}:detectIntent", +"request": { +"$ref": "GoogleCloudDialogflowV2beta1DetectIntentRequest" +}, +"response": { +"$ref": "GoogleCloudDialogflowV2beta1DetectIntentResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +} +}, +"resources": { +"contexts": { +"methods": { +"create": { +"description": "", +"flatPath": "v2beta1/projects/{projectsId}/locations/{locationsId}/agent/sessions/{sessionsId}/contexts", +"httpMethod": "POST", +"id": "dialogflow.projects.locations.agent.sessions.contexts.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agent/sessions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2beta1/{+parent}/contexts", +"request": { +"$ref": "GoogleCloudDialogflowV2beta1Context" +}, +"response": { +"$ref": "GoogleCloudDialogflowV2beta1Context" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"delete": { +"description": "", +"flatPath": "v2beta1/projects/{projectsId}/locations/{locationsId}/agent/sessions/{sessionsId}/contexts/{contextsId}", +"httpMethod": "DELETE", +"id": "dialogflow.projects.locations.agent.sessions.contexts.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agent/sessions/[^/]+/contexts/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2beta1/{+name}", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"get": { +"description": "", +"flatPath": "v2beta1/projects/{projectsId}/locations/{locationsId}/agent/sessions/{sessionsId}/contexts/{contextsId}", +"httpMethod": "GET", +"id": "dialogflow.projects.locations.agent.sessions.contexts.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agent/sessions/[^/]+/contexts/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2beta1/{+name}", +"response": { +"$ref": "GoogleCloudDialogflowV2beta1Context" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"list": { +"description": "", +"flatPath": "v2beta1/projects/{projectsId}/locations/{locationsId}/agent/sessions/{sessionsId}/contexts", +"httpMethod": "GET", +"id": "dialogflow.projects.locations.agent.sessions.contexts.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"location": "query", +"type": "string" +}, +"parent": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agent/sessions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2beta1/{+parent}/contexts", +"response": { +"$ref": "GoogleCloudDialogflowV2beta1ListContextsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"patch": { +"description": "", +"flatPath": "v2beta1/projects/{projectsId}/locations/{locationsId}/agent/sessions/{sessionsId}/contexts/{contextsId}", +"httpMethod": "PATCH", +"id": "dialogflow.projects.locations.agent.sessions.contexts.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agent/sessions/[^/]+/contexts/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v2beta1/{+name}", +"request": { +"$ref": "GoogleCloudDialogflowV2beta1Context" +}, +"response": { +"$ref": "GoogleCloudDialogflowV2beta1Context" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +} +} +}, +"entityTypes": { +"methods": { +"create": { +"description": "", +"flatPath": "v2beta1/projects/{projectsId}/locations/{locationsId}/agent/sessions/{sessionsId}/entityTypes", +"httpMethod": "POST", +"id": "dialogflow.projects.locations.agent.sessions.entityTypes.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agent/sessions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2beta1/{+parent}/entityTypes", +"request": { +"$ref": "GoogleCloudDialogflowV2beta1SessionEntityType" +}, +"response": { +"$ref": "GoogleCloudDialogflowV2beta1SessionEntityType" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"delete": { +"description": "", +"flatPath": "v2beta1/projects/{projectsId}/locations/{locationsId}/agent/sessions/{sessionsId}/entityTypes/{entityTypesId}", +"httpMethod": "DELETE", +"id": "dialogflow.projects.locations.agent.sessions.entityTypes.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agent/sessions/[^/]+/entityTypes/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2beta1/{+name}", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"get": { +"description": "", +"flatPath": "v2beta1/projects/{projectsId}/locations/{locationsId}/agent/sessions/{sessionsId}/entityTypes/{entityTypesId}", +"httpMethod": "GET", +"id": "dialogflow.projects.locations.agent.sessions.entityTypes.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agent/sessions/[^/]+/entityTypes/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2beta1/{+name}", +"response": { +"$ref": "GoogleCloudDialogflowV2beta1SessionEntityType" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"list": { +"description": "", +"flatPath": "v2beta1/projects/{projectsId}/locations/{locationsId}/agent/sessions/{sessionsId}/entityTypes", +"httpMethod": "GET", +"id": "dialogflow.projects.locations.agent.sessions.entityTypes.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"location": "query", +"type": "string" +}, +"parent": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agent/sessions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2beta1/{+parent}/entityTypes", +"response": { +"$ref": "GoogleCloudDialogflowV2beta1ListSessionEntityTypesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"patch": { +"description": "", +"flatPath": "v2beta1/projects/{projectsId}/locations/{locationsId}/agent/sessions/{sessionsId}/entityTypes/{entityTypesId}", +"httpMethod": "PATCH", +"id": "dialogflow.projects.locations.agent.sessions.entityTypes.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agent/sessions/[^/]+/entityTypes/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v2beta1/{+name}", +"request": { +"$ref": "GoogleCloudDialogflowV2beta1SessionEntityType" +}, +"response": { +"$ref": "GoogleCloudDialogflowV2beta1SessionEntityType" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +} +} +} +} +}, +"versions": { +"methods": { +"create": { +"description": "", +"flatPath": "v2beta1/projects/{projectsId}/locations/{locationsId}/agent/versions", +"httpMethod": "POST", +"id": "dialogflow.projects.locations.agent.versions.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agent$", +"required": true, +"type": "string" +} +}, +"path": "v2beta1/{+parent}/versions", +"request": { +"$ref": "GoogleCloudDialogflowV2beta1Version" +}, +"response": { +"$ref": "GoogleCloudDialogflowV2beta1Version" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"delete": { +"description": "", +"flatPath": "v2beta1/projects/{projectsId}/locations/{locationsId}/agent/versions/{versionsId}", +"httpMethod": "DELETE", +"id": "dialogflow.projects.locations.agent.versions.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agent/versions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2beta1/{+name}", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"get": { +"description": "", +"flatPath": "v2beta1/projects/{projectsId}/locations/{locationsId}/agent/versions/{versionsId}", +"httpMethod": "GET", +"id": "dialogflow.projects.locations.agent.versions.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agent/versions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2beta1/{+name}", +"response": { +"$ref": "GoogleCloudDialogflowV2beta1Version" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"list": { +"description": "", +"flatPath": "v2beta1/projects/{projectsId}/locations/{locationsId}/agent/versions", +"httpMethod": "GET", +"id": "dialogflow.projects.locations.agent.versions.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"location": "query", +"type": "string" +}, +"parent": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agent$", +"required": true, +"type": "string" +} +}, +"path": "v2beta1/{+parent}/versions", +"response": { +"$ref": "GoogleCloudDialogflowV2beta1ListVersionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"patch": { +"description": "", +"flatPath": "v2beta1/projects/{projectsId}/locations/{locationsId}/agent/versions/{versionsId}", +"httpMethod": "PATCH", +"id": "dialogflow.projects.locations.agent.versions.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agent/versions/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v2beta1/{+name}", +"request": { +"$ref": "GoogleCloudDialogflowV2beta1Version" +}, +"response": { +"$ref": "GoogleCloudDialogflowV2beta1Version" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +} +} +} +} +}, +"answerRecords": { +"methods": { +"get": { +"deprecated": true, +"description": "", +"flatPath": "v2beta1/projects/{projectsId}/locations/{locationsId}/answerRecords/{answerRecordsId}", +"httpMethod": "GET", +"id": "dialogflow.projects.locations.answerRecords.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/answerRecords/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2beta1/{+name}", +"response": { +"$ref": "GoogleCloudDialogflowV2beta1AnswerRecord" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"list": { +"description": "", +"flatPath": "v2beta1/projects/{projectsId}/locations/{locationsId}/answerRecords", +"httpMethod": "GET", +"id": "dialogflow.projects.locations.answerRecords.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"location": "query", +"type": "string" +}, +"pageSize": { +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"location": "query", +"type": "string" +}, +"parent": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2beta1/{+parent}/answerRecords", +"response": { +"$ref": "GoogleCloudDialogflowV2beta1ListAnswerRecordsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"patch": { +"description": "", +"flatPath": "v2beta1/projects/{projectsId}/locations/{locationsId}/answerRecords/{answerRecordsId}", +"httpMethod": "PATCH", +"id": "dialogflow.projects.locations.answerRecords.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/answerRecords/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v2beta1/{+name}", +"request": { +"$ref": "GoogleCloudDialogflowV2beta1AnswerRecord" +}, +"response": { +"$ref": "GoogleCloudDialogflowV2beta1AnswerRecord" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +} +} +}, +"conversationProfiles": { +"methods": { +"clearSuggestionFeatureConfig": { +"description": "", +"flatPath": "v2beta1/projects/{projectsId}/locations/{locationsId}/conversationProfiles/{conversationProfilesId}:clearSuggestionFeatureConfig", +"httpMethod": "POST", +"id": "dialogflow.projects.locations.conversationProfiles.clearSuggestionFeatureConfig", +"parameterOrder": [ +"conversationProfile" +], +"parameters": { +"conversationProfile": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/conversationProfiles/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2beta1/{+conversationProfile}:clearSuggestionFeatureConfig", +"request": { +"$ref": "GoogleCloudDialogflowV2beta1ClearSuggestionFeatureConfigRequest" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"create": { +"description": "", +"flatPath": "v2beta1/projects/{projectsId}/locations/{locationsId}/conversationProfiles", +"httpMethod": "POST", +"id": "dialogflow.projects.locations.conversationProfiles.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2beta1/{+parent}/conversationProfiles", +"request": { +"$ref": "GoogleCloudDialogflowV2beta1ConversationProfile" +}, +"response": { +"$ref": "GoogleCloudDialogflowV2beta1ConversationProfile" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"delete": { +"description": "", +"flatPath": "v2beta1/projects/{projectsId}/locations/{locationsId}/conversationProfiles/{conversationProfilesId}", +"httpMethod": "DELETE", +"id": "dialogflow.projects.locations.conversationProfiles.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/conversationProfiles/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2beta1/{+name}", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"get": { +"description": "", +"flatPath": "v2beta1/projects/{projectsId}/locations/{locationsId}/conversationProfiles/{conversationProfilesId}", +"httpMethod": "GET", +"id": "dialogflow.projects.locations.conversationProfiles.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/conversationProfiles/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2beta1/{+name}", +"response": { +"$ref": "GoogleCloudDialogflowV2beta1ConversationProfile" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"list": { +"description": "", +"flatPath": "v2beta1/projects/{projectsId}/locations/{locationsId}/conversationProfiles", +"httpMethod": "GET", +"id": "dialogflow.projects.locations.conversationProfiles.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"location": "query", +"type": "string" +}, +"parent": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2beta1/{+parent}/conversationProfiles", +"response": { +"$ref": "GoogleCloudDialogflowV2beta1ListConversationProfilesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"patch": { +"description": "", +"flatPath": "v2beta1/projects/{projectsId}/locations/{locationsId}/conversationProfiles/{conversationProfilesId}", +"httpMethod": "PATCH", +"id": "dialogflow.projects.locations.conversationProfiles.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/conversationProfiles/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v2beta1/{+name}", +"request": { +"$ref": "GoogleCloudDialogflowV2beta1ConversationProfile" +}, +"response": { +"$ref": "GoogleCloudDialogflowV2beta1ConversationProfile" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"setSuggestionFeatureConfig": { +"description": "", +"flatPath": "v2beta1/projects/{projectsId}/locations/{locationsId}/conversationProfiles/{conversationProfilesId}:setSuggestionFeatureConfig", +"httpMethod": "POST", +"id": "dialogflow.projects.locations.conversationProfiles.setSuggestionFeatureConfig", +"parameterOrder": [ +"conversationProfile" +], +"parameters": { +"conversationProfile": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/conversationProfiles/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2beta1/{+conversationProfile}:setSuggestionFeatureConfig", +"request": { +"$ref": "GoogleCloudDialogflowV2beta1SetSuggestionFeatureConfigRequest" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +} +} +}, +"conversations": { +"methods": { +"complete": { +"description": "", +"flatPath": "v2beta1/projects/{projectsId}/locations/{locationsId}/conversations/{conversationsId}:complete", +"httpMethod": "POST", +"id": "dialogflow.projects.locations.conversations.complete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/conversations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2beta1/{+name}:complete", +"request": { +"$ref": "GoogleCloudDialogflowV2beta1CompleteConversationRequest" +}, +"response": { +"$ref": "GoogleCloudDialogflowV2beta1Conversation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"create": { +"description": "", +"flatPath": "v2beta1/projects/{projectsId}/locations/{locationsId}/conversations", +"httpMethod": "POST", +"id": "dialogflow.projects.locations.conversations.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"conversationId": { +"location": "query", +"type": "string" +}, +"parent": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2beta1/{+parent}/conversations", +"request": { +"$ref": "GoogleCloudDialogflowV2beta1Conversation" +}, +"response": { +"$ref": "GoogleCloudDialogflowV2beta1Conversation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"get": { +"description": "", +"flatPath": "v2beta1/projects/{projectsId}/locations/{locationsId}/conversations/{conversationsId}", +"httpMethod": "GET", +"id": "dialogflow.projects.locations.conversations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/conversations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2beta1/{+name}", +"response": { +"$ref": "GoogleCloudDialogflowV2beta1Conversation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"ingestContextReferences": { +"description": "", +"flatPath": "v2beta1/projects/{projectsId}/locations/{locationsId}/conversations/{conversationsId}:ingestContextReferences", +"httpMethod": "POST", +"id": "dialogflow.projects.locations.conversations.ingestContextReferences", +"parameterOrder": [ +"conversation" +], +"parameters": { +"conversation": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/conversations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2beta1/{+conversation}:ingestContextReferences", +"request": { +"$ref": "GoogleCloudDialogflowV2beta1IngestContextReferencesRequest" +}, +"response": { +"$ref": "GoogleCloudDialogflowV2beta1IngestContextReferencesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"list": { +"description": "", +"flatPath": "v2beta1/projects/{projectsId}/locations/{locationsId}/conversations", +"httpMethod": "GET", +"id": "dialogflow.projects.locations.conversations.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"location": "query", +"type": "string" +}, +"pageSize": { +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"location": "query", +"type": "string" +}, +"parent": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2beta1/{+parent}/conversations", +"response": { +"$ref": "GoogleCloudDialogflowV2beta1ListConversationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +} +}, +"resources": { +"messages": { +"methods": { +"batchCreate": { +"description": "", +"flatPath": "v2beta1/projects/{projectsId}/locations/{locationsId}/conversations/{conversationsId}/messages:batchCreate", +"httpMethod": "POST", +"id": "dialogflow.projects.locations.conversations.messages.batchCreate", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/conversations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2beta1/{+parent}/messages:batchCreate", +"request": { +"$ref": "GoogleCloudDialogflowV2beta1BatchCreateMessagesRequest" +}, +"response": { +"$ref": "GoogleCloudDialogflowV2beta1BatchCreateMessagesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"list": { +"description": "", +"flatPath": "v2beta1/projects/{projectsId}/locations/{locationsId}/conversations/{conversationsId}/messages", +"httpMethod": "GET", +"id": "dialogflow.projects.locations.conversations.messages.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"location": "query", +"type": "string" +}, +"pageSize": { +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"location": "query", +"type": "string" +}, +"parent": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/conversations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2beta1/{+parent}/messages", +"response": { +"$ref": "GoogleCloudDialogflowV2beta1ListMessagesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +} +} +}, +"participants": { +"methods": { +"analyzeContent": { +"description": "", +"flatPath": "v2beta1/projects/{projectsId}/locations/{locationsId}/conversations/{conversationsId}/participants/{participantsId}:analyzeContent", +"httpMethod": "POST", +"id": "dialogflow.projects.locations.conversations.participants.analyzeContent", +"parameterOrder": [ +"participant" +], +"parameters": { +"participant": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/conversations/[^/]+/participants/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2beta1/{+participant}:analyzeContent", +"request": { +"$ref": "GoogleCloudDialogflowV2beta1AnalyzeContentRequest" +}, +"response": { +"$ref": "GoogleCloudDialogflowV2beta1AnalyzeContentResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"create": { +"description": "", +"flatPath": "v2beta1/projects/{projectsId}/locations/{locationsId}/conversations/{conversationsId}/participants", +"httpMethod": "POST", +"id": "dialogflow.projects.locations.conversations.participants.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/conversations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2beta1/{+parent}/participants", +"request": { +"$ref": "GoogleCloudDialogflowV2beta1Participant" +}, +"response": { +"$ref": "GoogleCloudDialogflowV2beta1Participant" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"get": { +"description": "", +"flatPath": "v2beta1/projects/{projectsId}/locations/{locationsId}/conversations/{conversationsId}/participants/{participantsId}", +"httpMethod": "GET", +"id": "dialogflow.projects.locations.conversations.participants.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/conversations/[^/]+/participants/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2beta1/{+name}", +"response": { +"$ref": "GoogleCloudDialogflowV2beta1Participant" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"list": { +"description": "", +"flatPath": "v2beta1/projects/{projectsId}/locations/{locationsId}/conversations/{conversationsId}/participants", +"httpMethod": "GET", +"id": "dialogflow.projects.locations.conversations.participants.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"location": "query", +"type": "string" +}, +"parent": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/conversations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2beta1/{+parent}/participants", +"response": { +"$ref": "GoogleCloudDialogflowV2beta1ListParticipantsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"patch": { +"description": "", +"flatPath": "v2beta1/projects/{projectsId}/locations/{locationsId}/conversations/{conversationsId}/participants/{participantsId}", +"httpMethod": "PATCH", +"id": "dialogflow.projects.locations.conversations.participants.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/conversations/[^/]+/participants/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v2beta1/{+name}", +"request": { +"$ref": "GoogleCloudDialogflowV2beta1Participant" +}, +"response": { +"$ref": "GoogleCloudDialogflowV2beta1Participant" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +} +}, +"resources": { +"suggestions": { +"methods": { +"suggestArticles": { +"description": "", +"flatPath": "v2beta1/projects/{projectsId}/locations/{locationsId}/conversations/{conversationsId}/participants/{participantsId}/suggestions:suggestArticles", +"httpMethod": "POST", +"id": "dialogflow.projects.locations.conversations.participants.suggestions.suggestArticles", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/conversations/[^/]+/participants/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2beta1/{+parent}/suggestions:suggestArticles", +"request": { +"$ref": "GoogleCloudDialogflowV2beta1SuggestArticlesRequest" +}, +"response": { +"$ref": "GoogleCloudDialogflowV2beta1SuggestArticlesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"suggestFaqAnswers": { +"description": "", +"flatPath": "v2beta1/projects/{projectsId}/locations/{locationsId}/conversations/{conversationsId}/participants/{participantsId}/suggestions:suggestFaqAnswers", +"httpMethod": "POST", +"id": "dialogflow.projects.locations.conversations.participants.suggestions.suggestFaqAnswers", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/conversations/[^/]+/participants/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2beta1/{+parent}/suggestions:suggestFaqAnswers", +"request": { +"$ref": "GoogleCloudDialogflowV2beta1SuggestFaqAnswersRequest" +}, +"response": { +"$ref": "GoogleCloudDialogflowV2beta1SuggestFaqAnswersResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"suggestKnowledgeAssist": { +"description": "", +"flatPath": "v2beta1/projects/{projectsId}/locations/{locationsId}/conversations/{conversationsId}/participants/{participantsId}/suggestions:suggestKnowledgeAssist", +"httpMethod": "POST", +"id": "dialogflow.projects.locations.conversations.participants.suggestions.suggestKnowledgeAssist", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/conversations/[^/]+/participants/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2beta1/{+parent}/suggestions:suggestKnowledgeAssist", +"request": { +"$ref": "GoogleCloudDialogflowV2beta1SuggestKnowledgeAssistRequest" +}, +"response": { +"$ref": "GoogleCloudDialogflowV2beta1SuggestKnowledgeAssistResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"suggestSmartReplies": { +"description": "", +"flatPath": "v2beta1/projects/{projectsId}/locations/{locationsId}/conversations/{conversationsId}/participants/{participantsId}/suggestions:suggestSmartReplies", +"httpMethod": "POST", +"id": "dialogflow.projects.locations.conversations.participants.suggestions.suggestSmartReplies", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/conversations/[^/]+/participants/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2beta1/{+parent}/suggestions:suggestSmartReplies", +"request": { +"$ref": "GoogleCloudDialogflowV2beta1SuggestSmartRepliesRequest" +}, +"response": { +"$ref": "GoogleCloudDialogflowV2beta1SuggestSmartRepliesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +} +} +} +} +}, +"suggestions": { +"methods": { +"generate": { +"description": "", +"flatPath": "v2beta1/projects/{projectsId}/locations/{locationsId}/conversations/{conversationsId}/suggestions:generate", +"httpMethod": "POST", +"id": "dialogflow.projects.locations.conversations.suggestions.generate", +"parameterOrder": [ +"conversation" +], +"parameters": { +"conversation": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/conversations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2beta1/{+conversation}/suggestions:generate", +"request": { +"$ref": "GoogleCloudDialogflowV2beta1GenerateSuggestionsRequest" +}, +"response": { +"$ref": "GoogleCloudDialogflowV2beta1GenerateSuggestionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"searchKnowledge": { +"description": "", +"flatPath": "v2beta1/projects/{projectsId}/locations/{locationsId}/conversations/{conversationsId}/suggestions:searchKnowledge", +"httpMethod": "POST", +"id": "dialogflow.projects.locations.conversations.suggestions.searchKnowledge", +"parameterOrder": [ +"conversation" +], +"parameters": { +"conversation": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/conversations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2beta1/{+conversation}/suggestions:searchKnowledge", +"request": { +"$ref": "GoogleCloudDialogflowV2beta1SearchKnowledgeRequest" +}, +"response": { +"$ref": "GoogleCloudDialogflowV2beta1SearchKnowledgeResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"suggestConversationSummary": { +"description": "", +"flatPath": "v2beta1/projects/{projectsId}/locations/{locationsId}/conversations/{conversationsId}/suggestions:suggestConversationSummary", +"httpMethod": "POST", +"id": "dialogflow.projects.locations.conversations.suggestions.suggestConversationSummary", +"parameterOrder": [ +"conversation" +], +"parameters": { +"conversation": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/conversations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2beta1/{+conversation}/suggestions:suggestConversationSummary", +"request": { +"$ref": "GoogleCloudDialogflowV2beta1SuggestConversationSummaryRequest" +}, +"response": { +"$ref": "GoogleCloudDialogflowV2beta1SuggestConversationSummaryResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +} +} +} +} +}, +"encryptionSpec": { +"methods": { +"initialize": { +"description": "", +"flatPath": "v2beta1/projects/{projectsId}/locations/{locationsId}/encryptionSpec:initialize", +"httpMethod": "POST", +"id": "dialogflow.projects.locations.encryptionSpec.initialize", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/encryptionSpec$", +"required": true, +"type": "string" +} +}, +"path": "v2beta1/{+name}:initialize", +"request": { +"$ref": "GoogleCloudDialogflowV2beta1InitializeEncryptionSpecRequest" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +} +} +}, +"generators": { +"methods": { +"create": { +"description": "", +"flatPath": "v2beta1/projects/{projectsId}/locations/{locationsId}/generators", +"httpMethod": "POST", +"id": "dialogflow.projects.locations.generators.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"generatorId": { +"location": "query", +"type": "string" +}, +"parent": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2beta1/{+parent}/generators", +"request": { +"$ref": "GoogleCloudDialogflowV2beta1Generator" +}, +"response": { +"$ref": "GoogleCloudDialogflowV2beta1Generator" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"delete": { +"description": "", +"flatPath": "v2beta1/projects/{projectsId}/locations/{locationsId}/generators/{generatorsId}", +"httpMethod": "DELETE", +"id": "dialogflow.projects.locations.generators.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/generators/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2beta1/{+name}", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"get": { +"description": "", +"flatPath": "v2beta1/projects/{projectsId}/locations/{locationsId}/generators/{generatorsId}", +"httpMethod": "GET", +"id": "dialogflow.projects.locations.generators.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/generators/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2beta1/{+name}", +"response": { +"$ref": "GoogleCloudDialogflowV2beta1Generator" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"list": { +"description": "", +"flatPath": "v2beta1/projects/{projectsId}/locations/{locationsId}/generators", +"httpMethod": "GET", +"id": "dialogflow.projects.locations.generators.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"location": "query", +"type": "string" +}, +"parent": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2beta1/{+parent}/generators", +"response": { +"$ref": "GoogleCloudDialogflowV2beta1ListGeneratorsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"patch": { +"description": "", +"flatPath": "v2beta1/projects/{projectsId}/locations/{locationsId}/generators/{generatorsId}", +"httpMethod": "PATCH", +"id": "dialogflow.projects.locations.generators.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/generators/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v2beta1/{+name}", +"request": { +"$ref": "GoogleCloudDialogflowV2beta1Generator" +}, +"response": { +"$ref": "GoogleCloudDialogflowV2beta1Generator" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +} +}, +"resources": { +"evaluations": { +"methods": { +"create": { +"description": "", +"flatPath": "v2beta1/projects/{projectsId}/locations/{locationsId}/generators/{generatorsId}/evaluations", +"httpMethod": "POST", +"id": "dialogflow.projects.locations.generators.evaluations.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/generators/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2beta1/{+parent}/evaluations", +"request": { +"$ref": "GoogleCloudDialogflowV2beta1GeneratorEvaluation" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"delete": { +"description": "", +"flatPath": "v2beta1/projects/{projectsId}/locations/{locationsId}/generators/{generatorsId}/evaluations/{evaluationsId}", +"httpMethod": "DELETE", +"id": "dialogflow.projects.locations.generators.evaluations.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/generators/[^/]+/evaluations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2beta1/{+name}", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"get": { +"description": "", +"flatPath": "v2beta1/projects/{projectsId}/locations/{locationsId}/generators/{generatorsId}/evaluations/{evaluationsId}", +"httpMethod": "GET", +"id": "dialogflow.projects.locations.generators.evaluations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/generators/[^/]+/evaluations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2beta1/{+name}", +"response": { +"$ref": "GoogleCloudDialogflowV2beta1GeneratorEvaluation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"list": { +"description": "", +"flatPath": "v2beta1/projects/{projectsId}/locations/{locationsId}/generators/{generatorsId}/evaluations", +"httpMethod": "GET", +"id": "dialogflow.projects.locations.generators.evaluations.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"location": "query", +"type": "string" +}, +"parent": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/generators/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2beta1/{+parent}/evaluations", +"response": { +"$ref": "GoogleCloudDialogflowV2beta1ListGeneratorEvaluationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +} +} +} +} +}, +"knowledgeBases": { +"methods": { +"create": { +"description": "", +"flatPath": "v2beta1/projects/{projectsId}/locations/{locationsId}/knowledgeBases", +"httpMethod": "POST", +"id": "dialogflow.projects.locations.knowledgeBases.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2beta1/{+parent}/knowledgeBases", +"request": { +"$ref": "GoogleCloudDialogflowV2beta1KnowledgeBase" +}, +"response": { +"$ref": "GoogleCloudDialogflowV2beta1KnowledgeBase" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"delete": { +"description": "", +"flatPath": "v2beta1/projects/{projectsId}/locations/{locationsId}/knowledgeBases/{knowledgeBasesId}", +"httpMethod": "DELETE", +"id": "dialogflow.projects.locations.knowledgeBases.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"force": { +"location": "query", +"type": "boolean" +}, +"name": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/knowledgeBases/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2beta1/{+name}", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"get": { +"description": "", +"flatPath": "v2beta1/projects/{projectsId}/locations/{locationsId}/knowledgeBases/{knowledgeBasesId}", +"httpMethod": "GET", +"id": "dialogflow.projects.locations.knowledgeBases.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/knowledgeBases/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2beta1/{+name}", +"response": { +"$ref": "GoogleCloudDialogflowV2beta1KnowledgeBase" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"list": { +"description": "", +"flatPath": "v2beta1/projects/{projectsId}/locations/{locationsId}/knowledgeBases", +"httpMethod": "GET", +"id": "dialogflow.projects.locations.knowledgeBases.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"location": "query", +"type": "string" +}, +"pageSize": { +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"location": "query", +"type": "string" +}, +"parent": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2beta1/{+parent}/knowledgeBases", +"response": { +"$ref": "GoogleCloudDialogflowV2beta1ListKnowledgeBasesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"patch": { +"description": "", +"flatPath": "v2beta1/projects/{projectsId}/locations/{locationsId}/knowledgeBases/{knowledgeBasesId}", +"httpMethod": "PATCH", +"id": "dialogflow.projects.locations.knowledgeBases.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/knowledgeBases/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v2beta1/{+name}", +"request": { +"$ref": "GoogleCloudDialogflowV2beta1KnowledgeBase" +}, +"response": { +"$ref": "GoogleCloudDialogflowV2beta1KnowledgeBase" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +} +}, +"resources": { +"documents": { +"methods": { +"create": { +"description": "", +"flatPath": "v2beta1/projects/{projectsId}/locations/{locationsId}/knowledgeBases/{knowledgeBasesId}/documents", +"httpMethod": "POST", +"id": "dialogflow.projects.locations.knowledgeBases.documents.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"importGcsCustomMetadata": { +"location": "query", +"type": "boolean" +}, +"parent": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/knowledgeBases/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2beta1/{+parent}/documents", +"request": { +"$ref": "GoogleCloudDialogflowV2beta1Document" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"delete": { +"description": "", +"flatPath": "v2beta1/projects/{projectsId}/locations/{locationsId}/knowledgeBases/{knowledgeBasesId}/documents/{documentsId}", +"httpMethod": "DELETE", +"id": "dialogflow.projects.locations.knowledgeBases.documents.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/knowledgeBases/[^/]+/documents/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2beta1/{+name}", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"get": { +"description": "", +"flatPath": "v2beta1/projects/{projectsId}/locations/{locationsId}/knowledgeBases/{knowledgeBasesId}/documents/{documentsId}", +"httpMethod": "GET", +"id": "dialogflow.projects.locations.knowledgeBases.documents.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/knowledgeBases/[^/]+/documents/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2beta1/{+name}", +"response": { +"$ref": "GoogleCloudDialogflowV2beta1Document" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"import": { +"description": "", +"flatPath": "v2beta1/projects/{projectsId}/locations/{locationsId}/knowledgeBases/{knowledgeBasesId}/documents:import", +"httpMethod": "POST", +"id": "dialogflow.projects.locations.knowledgeBases.documents.import", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/knowledgeBases/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2beta1/{+parent}/documents:import", +"request": { +"$ref": "GoogleCloudDialogflowV2beta1ImportDocumentsRequest" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"list": { +"description": "", +"flatPath": "v2beta1/projects/{projectsId}/locations/{locationsId}/knowledgeBases/{knowledgeBasesId}/documents", +"httpMethod": "GET", +"id": "dialogflow.projects.locations.knowledgeBases.documents.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"location": "query", +"type": "string" +}, +"pageSize": { +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"location": "query", +"type": "string" +}, +"parent": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/knowledgeBases/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2beta1/{+parent}/documents", +"response": { +"$ref": "GoogleCloudDialogflowV2beta1ListDocumentsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"patch": { +"description": "", +"flatPath": "v2beta1/projects/{projectsId}/locations/{locationsId}/knowledgeBases/{knowledgeBasesId}/documents/{documentsId}", +"httpMethod": "PATCH", +"id": "dialogflow.projects.locations.knowledgeBases.documents.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/knowledgeBases/[^/]+/documents/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v2beta1/{+name}", +"request": { +"$ref": "GoogleCloudDialogflowV2beta1Document" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"reload": { +"description": "", +"flatPath": "v2beta1/projects/{projectsId}/locations/{locationsId}/knowledgeBases/{knowledgeBasesId}/documents/{documentsId}:reload", +"httpMethod": "POST", +"id": "dialogflow.projects.locations.knowledgeBases.documents.reload", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/knowledgeBases/[^/]+/documents/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2beta1/{+name}:reload", +"request": { +"$ref": "GoogleCloudDialogflowV2beta1ReloadDocumentRequest" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +} +} +} +} +}, +"operations": { +"methods": { +"cancel": { +"description": "", +"flatPath": "v2beta1/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}:cancel", +"httpMethod": "POST", +"id": "dialogflow.projects.locations.operations.cancel", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2beta1/{+name}:cancel", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"get": { +"description": "", +"flatPath": "v2beta1/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}", +"httpMethod": "GET", +"id": "dialogflow.projects.locations.operations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2beta1/{+name}", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"list": { +"description": "", +"flatPath": "v2beta1/projects/{projectsId}/locations/{locationsId}/operations", +"httpMethod": "GET", +"id": "dialogflow.projects.locations.operations.list", +"parameterOrder": [ +"name" +], +"parameters": { +"filter": { +"location": "query", +"type": "string" +}, +"name": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"location": "query", +"type": "string" +}, +"returnPartialSuccess": { +"location": "query", +"type": "boolean" +} +}, +"path": "v2beta1/{+name}/operations", +"response": { +"$ref": "GoogleLongrunningListOperationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +} +} +}, +"phoneNumbers": { +"methods": { +"delete": { +"description": "", +"flatPath": "v2beta1/projects/{projectsId}/locations/{locationsId}/phoneNumbers/{phoneNumbersId}", +"httpMethod": "DELETE", +"id": "dialogflow.projects.locations.phoneNumbers.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/phoneNumbers/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2beta1/{+name}", +"response": { +"$ref": "GoogleCloudDialogflowV2beta1PhoneNumber" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"list": { +"description": "", +"flatPath": "v2beta1/projects/{projectsId}/locations/{locationsId}/phoneNumbers", +"httpMethod": "GET", +"id": "dialogflow.projects.locations.phoneNumbers.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"location": "query", +"type": "string" +}, +"parent": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +}, +"showDeleted": { +"location": "query", +"type": "boolean" +} +}, +"path": "v2beta1/{+parent}/phoneNumbers", +"response": { +"$ref": "GoogleCloudDialogflowV2beta1ListPhoneNumbersResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"patch": { +"description": "", +"flatPath": "v2beta1/projects/{projectsId}/locations/{locationsId}/phoneNumbers/{phoneNumbersId}", +"httpMethod": "PATCH", +"id": "dialogflow.projects.locations.phoneNumbers.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/phoneNumbers/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v2beta1/{+name}", +"request": { +"$ref": "GoogleCloudDialogflowV2beta1PhoneNumber" +}, +"response": { +"$ref": "GoogleCloudDialogflowV2beta1PhoneNumber" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"undelete": { +"description": "", +"flatPath": "v2beta1/projects/{projectsId}/locations/{locationsId}/phoneNumbers/{phoneNumbersId}:undelete", +"httpMethod": "POST", +"id": "dialogflow.projects.locations.phoneNumbers.undelete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/phoneNumbers/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2beta1/{+name}:undelete", +"request": { +"$ref": "GoogleCloudDialogflowV2beta1UndeletePhoneNumberRequest" +}, +"response": { +"$ref": "GoogleCloudDialogflowV2beta1PhoneNumber" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +} +} +}, +"sipTrunks": { +"methods": { +"create": { +"description": "", +"flatPath": "v2beta1/projects/{projectsId}/locations/{locationsId}/sipTrunks", +"httpMethod": "POST", +"id": "dialogflow.projects.locations.sipTrunks.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2beta1/{+parent}/sipTrunks", +"request": { +"$ref": "GoogleCloudDialogflowV2beta1SipTrunk" +}, +"response": { +"$ref": "GoogleCloudDialogflowV2beta1SipTrunk" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"delete": { +"description": "", +"flatPath": "v2beta1/projects/{projectsId}/locations/{locationsId}/sipTrunks/{sipTrunksId}", +"httpMethod": "DELETE", +"id": "dialogflow.projects.locations.sipTrunks.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/sipTrunks/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2beta1/{+name}", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"get": { +"description": "", +"flatPath": "v2beta1/projects/{projectsId}/locations/{locationsId}/sipTrunks/{sipTrunksId}", +"httpMethod": "GET", +"id": "dialogflow.projects.locations.sipTrunks.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/sipTrunks/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2beta1/{+name}", +"response": { +"$ref": "GoogleCloudDialogflowV2beta1SipTrunk" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"list": { +"description": "", +"flatPath": "v2beta1/projects/{projectsId}/locations/{locationsId}/sipTrunks", +"httpMethod": "GET", +"id": "dialogflow.projects.locations.sipTrunks.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"location": "query", +"type": "string" +}, +"parent": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2beta1/{+parent}/sipTrunks", +"response": { +"$ref": "GoogleCloudDialogflowV2beta1ListSipTrunksResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"patch": { +"description": "", +"flatPath": "v2beta1/projects/{projectsId}/locations/{locationsId}/sipTrunks/{sipTrunksId}", +"httpMethod": "PATCH", +"id": "dialogflow.projects.locations.sipTrunks.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/sipTrunks/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v2beta1/{+name}", +"request": { +"$ref": "GoogleCloudDialogflowV2beta1SipTrunk" +}, +"response": { +"$ref": "GoogleCloudDialogflowV2beta1SipTrunk" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +} +} +}, +"statelessSuggestion": { +"methods": { +"generate": { +"description": "", +"flatPath": "v2beta1/projects/{projectsId}/locations/{locationsId}/statelessSuggestion:generate", +"httpMethod": "POST", +"id": "dialogflow.projects.locations.statelessSuggestion.generate", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2beta1/{+parent}/statelessSuggestion:generate", +"request": { +"$ref": "GoogleCloudDialogflowV2beta1GenerateStatelessSuggestionRequest" +}, +"response": { +"$ref": "GoogleCloudDialogflowV2beta1GenerateStatelessSuggestionResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +} +} +}, +"suggestions": { +"methods": { +"generateStatelessSummary": { +"description": "", +"flatPath": "v2beta1/projects/{projectsId}/locations/{locationsId}/suggestions:generateStatelessSummary", +"httpMethod": "POST", +"id": "dialogflow.projects.locations.suggestions.generateStatelessSummary", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2beta1/{+parent}/suggestions:generateStatelessSummary", +"request": { +"$ref": "GoogleCloudDialogflowV2beta1GenerateStatelessSummaryRequest" +}, +"response": { +"$ref": "GoogleCloudDialogflowV2beta1GenerateStatelessSummaryResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"searchKnowledge": { +"description": "", +"flatPath": "v2beta1/projects/{projectsId}/locations/{locationsId}/suggestions:searchKnowledge", +"httpMethod": "POST", +"id": "dialogflow.projects.locations.suggestions.searchKnowledge", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2beta1/{+parent}/suggestions:searchKnowledge", +"request": { +"$ref": "GoogleCloudDialogflowV2beta1SearchKnowledgeRequest" +}, +"response": { +"$ref": "GoogleCloudDialogflowV2beta1SearchKnowledgeResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +} +} +}, +"tools": { +"methods": { +"create": { +"description": "", +"flatPath": "v2beta1/projects/{projectsId}/locations/{locationsId}/tools", +"httpMethod": "POST", +"id": "dialogflow.projects.locations.tools.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +}, +"toolId": { +"location": "query", +"type": "string" +} +}, +"path": "v2beta1/{+parent}/tools", +"request": { +"$ref": "GoogleCloudDialogflowV2beta1Tool" +}, +"response": { +"$ref": "GoogleCloudDialogflowV2beta1Tool" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"delete": { +"description": "", +"flatPath": "v2beta1/projects/{projectsId}/locations/{locationsId}/tools/{toolsId}", +"httpMethod": "DELETE", +"id": "dialogflow.projects.locations.tools.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/tools/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2beta1/{+name}", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"get": { +"description": "", +"flatPath": "v2beta1/projects/{projectsId}/locations/{locationsId}/tools/{toolsId}", +"httpMethod": "GET", +"id": "dialogflow.projects.locations.tools.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/tools/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2beta1/{+name}", +"response": { +"$ref": "GoogleCloudDialogflowV2beta1Tool" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"list": { +"description": "", +"flatPath": "v2beta1/projects/{projectsId}/locations/{locationsId}/tools", +"httpMethod": "GET", +"id": "dialogflow.projects.locations.tools.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"location": "query", +"type": "string" +}, +"parent": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2beta1/{+parent}/tools", +"response": { +"$ref": "GoogleCloudDialogflowV2beta1ListToolsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"patch": { +"description": "", +"flatPath": "v2beta1/projects/{projectsId}/locations/{locationsId}/tools/{toolsId}", +"httpMethod": "PATCH", +"id": "dialogflow.projects.locations.tools.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/tools/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v2beta1/{+name}", +"request": { +"$ref": "GoogleCloudDialogflowV2beta1Tool" +}, +"response": { +"$ref": "GoogleCloudDialogflowV2beta1Tool" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +} +} +} +} +}, +"operations": { +"methods": { +"cancel": { +"description": "", +"flatPath": "v2beta1/projects/{projectsId}/operations/{operationsId}:cancel", +"httpMethod": "POST", +"id": "dialogflow.projects.operations.cancel", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"location": "path", +"pattern": "^projects/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2beta1/{+name}:cancel", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"get": { +"description": "", +"flatPath": "v2beta1/projects/{projectsId}/operations/{operationsId}", +"httpMethod": "GET", +"id": "dialogflow.projects.operations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"location": "path", +"pattern": "^projects/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2beta1/{+name}", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"list": { +"description": "", +"flatPath": "v2beta1/projects/{projectsId}/operations", +"httpMethod": "GET", +"id": "dialogflow.projects.operations.list", +"parameterOrder": [ +"name" +], +"parameters": { +"filter": { +"location": "query", +"type": "string" +}, +"name": { +"location": "path", +"pattern": "^projects/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"location": "query", +"type": "string" +}, +"returnPartialSuccess": { +"location": "query", +"type": "boolean" +} +}, +"path": "v2beta1/{+name}/operations", +"response": { +"$ref": "GoogleLongrunningListOperationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +} +} +}, +"phoneNumbers": { +"methods": { +"delete": { +"description": "", +"flatPath": "v2beta1/projects/{projectsId}/phoneNumbers/{phoneNumbersId}", +"httpMethod": "DELETE", +"id": "dialogflow.projects.phoneNumbers.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"location": "path", +"pattern": "^projects/[^/]+/phoneNumbers/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2beta1/{+name}", +"response": { +"$ref": "GoogleCloudDialogflowV2beta1PhoneNumber" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"list": { +"description": "", +"flatPath": "v2beta1/projects/{projectsId}/phoneNumbers", +"httpMethod": "GET", +"id": "dialogflow.projects.phoneNumbers.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"location": "query", +"type": "string" +}, +"parent": { +"location": "path", +"pattern": "^projects/[^/]+$", +"required": true, +"type": "string" +}, +"showDeleted": { +"location": "query", +"type": "boolean" +} +}, +"path": "v2beta1/{+parent}/phoneNumbers", +"response": { +"$ref": "GoogleCloudDialogflowV2beta1ListPhoneNumbersResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"patch": { +"description": "", +"flatPath": "v2beta1/projects/{projectsId}/phoneNumbers/{phoneNumbersId}", +"httpMethod": "PATCH", +"id": "dialogflow.projects.phoneNumbers.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"location": "path", +"pattern": "^projects/[^/]+/phoneNumbers/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v2beta1/{+name}", +"request": { +"$ref": "GoogleCloudDialogflowV2beta1PhoneNumber" +}, +"response": { +"$ref": "GoogleCloudDialogflowV2beta1PhoneNumber" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"undelete": { +"description": "", +"flatPath": "v2beta1/projects/{projectsId}/phoneNumbers/{phoneNumbersId}:undelete", +"httpMethod": "POST", +"id": "dialogflow.projects.phoneNumbers.undelete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"location": "path", +"pattern": "^projects/[^/]+/phoneNumbers/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2beta1/{+name}:undelete", +"request": { +"$ref": "GoogleCloudDialogflowV2beta1UndeletePhoneNumberRequest" +}, +"response": { +"$ref": "GoogleCloudDialogflowV2beta1PhoneNumber" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +} +} +}, +"suggestions": { +"methods": { +"generateStatelessSummary": { +"description": "", +"flatPath": "v2beta1/projects/{projectsId}/suggestions:generateStatelessSummary", +"httpMethod": "POST", +"id": "dialogflow.projects.suggestions.generateStatelessSummary", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"location": "path", +"pattern": "^projects/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2beta1/{+parent}/suggestions:generateStatelessSummary", +"request": { +"$ref": "GoogleCloudDialogflowV2beta1GenerateStatelessSummaryRequest" +}, +"response": { +"$ref": "GoogleCloudDialogflowV2beta1GenerateStatelessSummaryResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"searchKnowledge": { +"description": "", +"flatPath": "v2beta1/projects/{projectsId}/suggestions:searchKnowledge", +"httpMethod": "POST", +"id": "dialogflow.projects.suggestions.searchKnowledge", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"location": "path", +"pattern": "^projects/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2beta1/{+parent}/suggestions:searchKnowledge", +"request": { +"$ref": "GoogleCloudDialogflowV2beta1SearchKnowledgeRequest" +}, +"response": { +"$ref": "GoogleCloudDialogflowV2beta1SearchKnowledgeResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +} +} +} +} +} +}, +"revision": "20260216", +"rootUrl": "https://dialogflow.googleapis.com/", +"schemas": { +"GoogleCloudDialogflowCxV3AdvancedSettings": { +"id": "GoogleCloudDialogflowCxV3AdvancedSettings", +"properties": { +"audioExportGcsDestination": { +"$ref": "GoogleCloudDialogflowCxV3GcsDestination" +}, +"dtmfSettings": { +"$ref": "GoogleCloudDialogflowCxV3AdvancedSettingsDtmfSettings" +}, +"loggingSettings": { +"$ref": "GoogleCloudDialogflowCxV3AdvancedSettingsLoggingSettings" +}, +"speechSettings": { +"$ref": "GoogleCloudDialogflowCxV3AdvancedSettingsSpeechSettings" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3AdvancedSettingsDtmfSettings": { +"id": "GoogleCloudDialogflowCxV3AdvancedSettingsDtmfSettings", +"properties": { +"enabled": { +"type": "boolean" +}, +"endpointingTimeoutDuration": { +"format": "google-duration", +"type": "string" +}, +"finishDigit": { +"type": "string" +}, +"interdigitTimeoutDuration": { +"format": "google-duration", +"type": "string" +}, +"maxDigits": { +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3AdvancedSettingsLoggingSettings": { +"id": "GoogleCloudDialogflowCxV3AdvancedSettingsLoggingSettings", +"properties": { +"enableConsentBasedRedaction": { +"type": "boolean" +}, +"enableInteractionLogging": { +"type": "boolean" +}, +"enableStackdriverLogging": { +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3AdvancedSettingsSpeechSettings": { +"id": "GoogleCloudDialogflowCxV3AdvancedSettingsSpeechSettings", +"properties": { +"endpointerSensitivity": { +"format": "int32", +"type": "integer" +}, +"models": { +"additionalProperties": { +"type": "string" +}, +"type": "object" +}, +"noSpeechTimeout": { +"format": "google-duration", +"type": "string" +}, +"useTimeoutBasedEndpointing": { +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3AudioInput": { +"id": "GoogleCloudDialogflowCxV3AudioInput", +"properties": { +"audio": { +"format": "byte", +"type": "string" +}, +"config": { +"$ref": "GoogleCloudDialogflowCxV3InputAudioConfig" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3BargeInConfig": { +"id": "GoogleCloudDialogflowCxV3BargeInConfig", +"properties": { +"noBargeInDuration": { +"format": "google-duration", +"type": "string" +}, +"totalDuration": { +"format": "google-duration", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3BatchRunTestCasesMetadata": { +"id": "GoogleCloudDialogflowCxV3BatchRunTestCasesMetadata", +"properties": { +"errors": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3TestError" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3BatchRunTestCasesResponse": { +"id": "GoogleCloudDialogflowCxV3BatchRunTestCasesResponse", +"properties": { +"results": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3TestCaseResult" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3ContinuousTestResult": { +"id": "GoogleCloudDialogflowCxV3ContinuousTestResult", +"properties": { +"name": { +"type": "string" +}, +"result": { +"enum": [ +"AGGREGATED_TEST_RESULT_UNSPECIFIED", +"PASSED", +"FAILED" +], +"enumDescriptions": [ +"", +"", +"" +], +"type": "string" +}, +"runTime": { +"format": "google-datetime", +"type": "string" +}, +"testCaseResults": { +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3ConversationSignals": { +"id": "GoogleCloudDialogflowCxV3ConversationSignals", +"properties": { +"turnSignals": { +"$ref": "GoogleCloudDialogflowCxV3TurnSignals" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3ConversationTurn": { +"id": "GoogleCloudDialogflowCxV3ConversationTurn", +"properties": { +"userInput": { +"$ref": "GoogleCloudDialogflowCxV3ConversationTurnUserInput" +}, +"virtualAgentOutput": { +"$ref": "GoogleCloudDialogflowCxV3ConversationTurnVirtualAgentOutput" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3ConversationTurnUserInput": { +"id": "GoogleCloudDialogflowCxV3ConversationTurnUserInput", +"properties": { +"enableSentimentAnalysis": { +"type": "boolean" +}, +"injectedParameters": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"type": "object" +}, +"input": { +"$ref": "GoogleCloudDialogflowCxV3QueryInput" +}, +"isWebhookEnabled": { +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3ConversationTurnVirtualAgentOutput": { +"id": "GoogleCloudDialogflowCxV3ConversationTurnVirtualAgentOutput", +"properties": { +"currentPage": { +"$ref": "GoogleCloudDialogflowCxV3Page" +}, +"diagnosticInfo": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"type": "object" +}, +"differences": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3TestRunDifference" +}, +"readOnly": true, +"type": "array" +}, +"sessionParameters": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"type": "object" +}, +"status": { +"$ref": "GoogleRpcStatus" +}, +"textResponses": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3ResponseMessageText" +}, +"type": "array" +}, +"triggeredIntent": { +"$ref": "GoogleCloudDialogflowCxV3Intent" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3CreateVersionOperationMetadata": { +"id": "GoogleCloudDialogflowCxV3CreateVersionOperationMetadata", +"properties": { +"version": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3DataStoreConnection": { +"id": "GoogleCloudDialogflowCxV3DataStoreConnection", +"properties": { +"dataStore": { +"type": "string" +}, +"dataStoreType": { +"enum": [ +"DATA_STORE_TYPE_UNSPECIFIED", +"PUBLIC_WEB", +"UNSTRUCTURED", +"STRUCTURED" +], +"enumDescriptions": [ +"", +"", +"", +"" +], +"type": "string" +}, +"documentProcessingMode": { +"enum": [ +"DOCUMENT_PROCESSING_MODE_UNSPECIFIED", +"DOCUMENTS", +"CHUNKS" +], +"enumDescriptions": [ +"", +"", +"" +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3DeployFlowMetadata": { +"id": "GoogleCloudDialogflowCxV3DeployFlowMetadata", +"properties": { +"testErrors": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3TestError" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3DeployFlowResponse": { +"id": "GoogleCloudDialogflowCxV3DeployFlowResponse", +"properties": { +"deployment": { +"type": "string" +}, +"environment": { +"$ref": "GoogleCloudDialogflowCxV3Environment" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3DtmfInput": { +"id": "GoogleCloudDialogflowCxV3DtmfInput", +"properties": { +"digits": { +"type": "string" +}, +"finishDigit": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3Environment": { +"id": "GoogleCloudDialogflowCxV3Environment", +"properties": { +"description": { +"type": "string" +}, +"displayName": { +"type": "string" +}, +"name": { +"type": "string" +}, +"testCasesConfig": { +"$ref": "GoogleCloudDialogflowCxV3EnvironmentTestCasesConfig" +}, +"updateTime": { +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"versionConfigs": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3EnvironmentVersionConfig" +}, +"type": "array" +}, +"webhookConfig": { +"$ref": "GoogleCloudDialogflowCxV3EnvironmentWebhookConfig" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3EnvironmentTestCasesConfig": { +"id": "GoogleCloudDialogflowCxV3EnvironmentTestCasesConfig", +"properties": { +"enableContinuousRun": { +"type": "boolean" +}, +"enablePredeploymentRun": { +"type": "boolean" +}, +"testCases": { +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3EnvironmentVersionConfig": { +"id": "GoogleCloudDialogflowCxV3EnvironmentVersionConfig", +"properties": { +"version": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3EnvironmentWebhookConfig": { +"id": "GoogleCloudDialogflowCxV3EnvironmentWebhookConfig", +"properties": { +"webhookOverrides": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3Webhook" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3EventHandler": { +"id": "GoogleCloudDialogflowCxV3EventHandler", +"properties": { +"event": { +"type": "string" +}, +"name": { +"readOnly": true, +"type": "string" +}, +"targetFlow": { +"type": "string" +}, +"targetPage": { +"type": "string" +}, +"targetPlaybook": { +"type": "string" +}, +"triggerFulfillment": { +"$ref": "GoogleCloudDialogflowCxV3Fulfillment" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3EventInput": { +"id": "GoogleCloudDialogflowCxV3EventInput", +"properties": { +"event": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3ExportAgentResponse": { +"id": "GoogleCloudDialogflowCxV3ExportAgentResponse", +"properties": { +"agentContent": { +"format": "byte", +"type": "string" +}, +"agentUri": { +"type": "string" +}, +"commitSha": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3ExportEntityTypesMetadata": { +"id": "GoogleCloudDialogflowCxV3ExportEntityTypesMetadata", +"properties": {}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3ExportEntityTypesResponse": { +"id": "GoogleCloudDialogflowCxV3ExportEntityTypesResponse", +"properties": { +"entityTypesContent": { +"$ref": "GoogleCloudDialogflowCxV3InlineDestination" +}, +"entityTypesUri": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3ExportFlowResponse": { +"id": "GoogleCloudDialogflowCxV3ExportFlowResponse", +"properties": { +"flowContent": { +"format": "byte", +"type": "string" +}, +"flowUri": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3ExportIntentsMetadata": { +"id": "GoogleCloudDialogflowCxV3ExportIntentsMetadata", +"properties": {}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3ExportIntentsResponse": { +"id": "GoogleCloudDialogflowCxV3ExportIntentsResponse", +"properties": { +"intentsContent": { +"$ref": "GoogleCloudDialogflowCxV3InlineDestination" +}, +"intentsUri": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3ExportTestCasesMetadata": { +"id": "GoogleCloudDialogflowCxV3ExportTestCasesMetadata", +"properties": {}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3ExportTestCasesResponse": { +"id": "GoogleCloudDialogflowCxV3ExportTestCasesResponse", +"properties": { +"content": { +"format": "byte", +"type": "string" +}, +"gcsUri": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3Form": { +"id": "GoogleCloudDialogflowCxV3Form", +"properties": { +"parameters": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3FormParameter" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3FormParameter": { +"id": "GoogleCloudDialogflowCxV3FormParameter", +"properties": { +"advancedSettings": { +"$ref": "GoogleCloudDialogflowCxV3AdvancedSettings" +}, +"defaultValue": { +"type": "any" +}, +"displayName": { +"type": "string" +}, +"entityType": { +"type": "string" +}, +"fillBehavior": { +"$ref": "GoogleCloudDialogflowCxV3FormParameterFillBehavior" +}, +"isList": { +"type": "boolean" +}, +"redact": { +"type": "boolean" +}, +"required": { +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3FormParameterFillBehavior": { +"id": "GoogleCloudDialogflowCxV3FormParameterFillBehavior", +"properties": { +"initialPromptFulfillment": { +"$ref": "GoogleCloudDialogflowCxV3Fulfillment" +}, +"repromptEventHandlers": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3EventHandler" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3Fulfillment": { +"id": "GoogleCloudDialogflowCxV3Fulfillment", +"properties": { +"advancedSettings": { +"$ref": "GoogleCloudDialogflowCxV3AdvancedSettings" +}, +"conditionalCases": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3FulfillmentConditionalCases" +}, +"type": "array" +}, +"enableGenerativeFallback": { +"type": "boolean" +}, +"generators": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3FulfillmentGeneratorSettings" +}, +"type": "array" +}, +"messages": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3ResponseMessage" +}, +"type": "array" +}, +"returnPartialResponses": { +"type": "boolean" +}, +"setParameterActions": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3FulfillmentSetParameterAction" +}, +"type": "array" +}, +"tag": { +"type": "string" +}, +"webhook": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3FulfillmentConditionalCases": { +"id": "GoogleCloudDialogflowCxV3FulfillmentConditionalCases", +"properties": { +"cases": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3FulfillmentConditionalCasesCase" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3FulfillmentConditionalCasesCase": { +"id": "GoogleCloudDialogflowCxV3FulfillmentConditionalCasesCase", +"properties": { +"caseContent": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3FulfillmentConditionalCasesCaseCaseContent" +}, +"type": "array" +}, +"condition": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3FulfillmentConditionalCasesCaseCaseContent": { +"id": "GoogleCloudDialogflowCxV3FulfillmentConditionalCasesCaseCaseContent", +"properties": { +"additionalCases": { +"$ref": "GoogleCloudDialogflowCxV3FulfillmentConditionalCases" +}, +"message": { +"$ref": "GoogleCloudDialogflowCxV3ResponseMessage" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3FulfillmentGeneratorSettings": { +"id": "GoogleCloudDialogflowCxV3FulfillmentGeneratorSettings", +"properties": { +"generator": { +"type": "string" +}, +"inputParameters": { +"additionalProperties": { +"type": "string" +}, +"type": "object" +}, +"outputParameter": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3FulfillmentSetParameterAction": { +"id": "GoogleCloudDialogflowCxV3FulfillmentSetParameterAction", +"properties": { +"parameter": { +"type": "string" +}, +"value": { +"type": "any" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3GcsDestination": { +"id": "GoogleCloudDialogflowCxV3GcsDestination", +"properties": { +"uri": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3ImportEntityTypesMetadata": { +"id": "GoogleCloudDialogflowCxV3ImportEntityTypesMetadata", +"properties": {}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3ImportEntityTypesResponse": { +"id": "GoogleCloudDialogflowCxV3ImportEntityTypesResponse", +"properties": { +"conflictingResources": { +"$ref": "GoogleCloudDialogflowCxV3ImportEntityTypesResponseConflictingResources" +}, +"entityTypes": { +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3ImportEntityTypesResponseConflictingResources": { +"id": "GoogleCloudDialogflowCxV3ImportEntityTypesResponseConflictingResources", +"properties": { +"entityDisplayNames": { +"items": { +"type": "string" +}, +"type": "array" +}, +"entityTypeDisplayNames": { +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3ImportFlowResponse": { +"id": "GoogleCloudDialogflowCxV3ImportFlowResponse", +"properties": { +"flow": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3ImportIntentsMetadata": { +"id": "GoogleCloudDialogflowCxV3ImportIntentsMetadata", +"properties": {}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3ImportIntentsResponse": { +"id": "GoogleCloudDialogflowCxV3ImportIntentsResponse", +"properties": { +"conflictingResources": { +"$ref": "GoogleCloudDialogflowCxV3ImportIntentsResponseConflictingResources" +}, +"intents": { +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3ImportIntentsResponseConflictingResources": { +"id": "GoogleCloudDialogflowCxV3ImportIntentsResponseConflictingResources", +"properties": { +"entityDisplayNames": { +"items": { +"type": "string" +}, +"type": "array" +}, +"intentDisplayNames": { +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3ImportTestCasesMetadata": { +"id": "GoogleCloudDialogflowCxV3ImportTestCasesMetadata", +"properties": { +"errors": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3TestCaseError" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3ImportTestCasesResponse": { +"id": "GoogleCloudDialogflowCxV3ImportTestCasesResponse", +"properties": { +"names": { +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3InlineDestination": { +"id": "GoogleCloudDialogflowCxV3InlineDestination", +"properties": { +"content": { +"format": "byte", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3InputAudioConfig": { +"id": "GoogleCloudDialogflowCxV3InputAudioConfig", +"properties": { +"audioEncoding": { +"enum": [ +"AUDIO_ENCODING_UNSPECIFIED", +"AUDIO_ENCODING_LINEAR_16", +"AUDIO_ENCODING_FLAC", +"AUDIO_ENCODING_MULAW", +"AUDIO_ENCODING_AMR", +"AUDIO_ENCODING_AMR_WB", +"AUDIO_ENCODING_OGG_OPUS", +"AUDIO_ENCODING_SPEEX_WITH_HEADER_BYTE", +"AUDIO_ENCODING_ALAW" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"", +"", +"", +"" +], +"type": "string" +}, +"bargeInConfig": { +"$ref": "GoogleCloudDialogflowCxV3BargeInConfig" +}, +"enableWordInfo": { +"type": "boolean" +}, +"model": { +"type": "string" +}, +"modelVariant": { +"enum": [ +"SPEECH_MODEL_VARIANT_UNSPECIFIED", +"USE_BEST_AVAILABLE", +"USE_STANDARD", +"USE_ENHANCED" +], +"enumDescriptions": [ +"", +"", +"", +"" +], +"type": "string" +}, +"optOutConformerModelMigration": { +"type": "boolean" +}, +"phraseHints": { +"items": { +"type": "string" +}, +"type": "array" +}, +"sampleRateHertz": { +"format": "int32", +"type": "integer" +}, +"singleUtterance": { +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3Intent": { +"id": "GoogleCloudDialogflowCxV3Intent", +"properties": { +"description": { +"type": "string" +}, +"displayName": { +"type": "string" +}, +"isFallback": { +"type": "boolean" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"type": "object" +}, +"name": { +"type": "string" +}, +"parameters": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3IntentParameter" +}, +"type": "array" +}, +"priority": { +"format": "int32", +"type": "integer" +}, +"trainingPhrases": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3IntentTrainingPhrase" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3IntentInput": { +"id": "GoogleCloudDialogflowCxV3IntentInput", +"properties": { +"intent": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3IntentParameter": { +"id": "GoogleCloudDialogflowCxV3IntentParameter", +"properties": { +"entityType": { +"type": "string" +}, +"id": { +"type": "string" +}, +"isList": { +"type": "boolean" +}, +"redact": { +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3IntentTrainingPhrase": { +"id": "GoogleCloudDialogflowCxV3IntentTrainingPhrase", +"properties": { +"id": { +"readOnly": true, +"type": "string" +}, +"parts": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3IntentTrainingPhrasePart" +}, +"type": "array" +}, +"repeatCount": { +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3IntentTrainingPhrasePart": { +"id": "GoogleCloudDialogflowCxV3IntentTrainingPhrasePart", +"properties": { +"parameterId": { +"type": "string" +}, +"text": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3KnowledgeConnectorSettings": { +"id": "GoogleCloudDialogflowCxV3KnowledgeConnectorSettings", +"properties": { +"dataStoreConnections": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3DataStoreConnection" +}, +"type": "array" +}, +"enabled": { +"type": "boolean" +}, +"targetFlow": { +"type": "string" +}, +"targetPage": { +"type": "string" +}, +"triggerFulfillment": { +"$ref": "GoogleCloudDialogflowCxV3Fulfillment" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3LanguageInfo": { +"id": "GoogleCloudDialogflowCxV3LanguageInfo", +"properties": { +"confidenceScore": { +"format": "float", +"type": "number" +}, +"inputLanguageCode": { +"type": "string" +}, +"resolvedLanguageCode": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3Page": { +"id": "GoogleCloudDialogflowCxV3Page", +"properties": { +"advancedSettings": { +"$ref": "GoogleCloudDialogflowCxV3AdvancedSettings" +}, +"description": { +"type": "string" +}, +"displayName": { +"type": "string" +}, +"entryFulfillment": { +"$ref": "GoogleCloudDialogflowCxV3Fulfillment" +}, +"eventHandlers": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3EventHandler" +}, +"type": "array" +}, +"form": { +"$ref": "GoogleCloudDialogflowCxV3Form" +}, +"knowledgeConnectorSettings": { +"$ref": "GoogleCloudDialogflowCxV3KnowledgeConnectorSettings" +}, +"name": { +"type": "string" +}, +"transitionRouteGroups": { +"items": { +"type": "string" +}, +"type": "array" +}, +"transitionRoutes": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3TransitionRoute" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3PageInfo": { +"id": "GoogleCloudDialogflowCxV3PageInfo", +"properties": { +"currentPage": { +"type": "string" +}, +"displayName": { +"type": "string" +}, +"formInfo": { +"$ref": "GoogleCloudDialogflowCxV3PageInfoFormInfo" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3PageInfoFormInfo": { +"id": "GoogleCloudDialogflowCxV3PageInfoFormInfo", +"properties": { +"parameterInfo": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3PageInfoFormInfoParameterInfo" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3PageInfoFormInfoParameterInfo": { +"id": "GoogleCloudDialogflowCxV3PageInfoFormInfoParameterInfo", +"properties": { +"displayName": { +"type": "string" +}, +"justCollected": { +"type": "boolean" +}, +"required": { +"type": "boolean" +}, +"state": { +"enum": [ +"PARAMETER_STATE_UNSPECIFIED", +"EMPTY", +"INVALID", +"FILLED" +], +"enumDescriptions": [ +"", +"", +"", +"" +], +"type": "string" +}, +"value": { +"type": "any" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3QueryInput": { +"id": "GoogleCloudDialogflowCxV3QueryInput", +"properties": { +"audio": { +"$ref": "GoogleCloudDialogflowCxV3AudioInput" +}, +"dtmf": { +"$ref": "GoogleCloudDialogflowCxV3DtmfInput" +}, +"event": { +"$ref": "GoogleCloudDialogflowCxV3EventInput" +}, +"intent": { +"$ref": "GoogleCloudDialogflowCxV3IntentInput" +}, +"languageCode": { +"type": "string" +}, +"text": { +"$ref": "GoogleCloudDialogflowCxV3TextInput" +}, +"toolCallResult": { +"$ref": "GoogleCloudDialogflowCxV3ToolCallResult" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3ResponseMessage": { +"id": "GoogleCloudDialogflowCxV3ResponseMessage", +"properties": { +"channel": { +"type": "string" +}, +"conversationSuccess": { +"$ref": "GoogleCloudDialogflowCxV3ResponseMessageConversationSuccess" +}, +"endInteraction": { +"$ref": "GoogleCloudDialogflowCxV3ResponseMessageEndInteraction", +"readOnly": true +}, +"knowledgeInfoCard": { +"$ref": "GoogleCloudDialogflowCxV3ResponseMessageKnowledgeInfoCard" +}, +"liveAgentHandoff": { +"$ref": "GoogleCloudDialogflowCxV3ResponseMessageLiveAgentHandoff" +}, +"mixedAudio": { +"$ref": "GoogleCloudDialogflowCxV3ResponseMessageMixedAudio", +"readOnly": true +}, +"outputAudioText": { +"$ref": "GoogleCloudDialogflowCxV3ResponseMessageOutputAudioText" +}, +"payload": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"type": "object" +}, +"playAudio": { +"$ref": "GoogleCloudDialogflowCxV3ResponseMessagePlayAudio" +}, +"responseType": { +"enum": [ +"RESPONSE_TYPE_UNSPECIFIED", +"ENTRY_PROMPT", +"PARAMETER_PROMPT", +"HANDLER_PROMPT" +], +"enumDescriptions": [ +"", +"", +"", +"" +], +"type": "string" +}, +"telephonyTransferCall": { +"$ref": "GoogleCloudDialogflowCxV3ResponseMessageTelephonyTransferCall" +}, +"text": { +"$ref": "GoogleCloudDialogflowCxV3ResponseMessageText" +}, +"toolCall": { +"$ref": "GoogleCloudDialogflowCxV3ToolCall" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3ResponseMessageConversationSuccess": { +"id": "GoogleCloudDialogflowCxV3ResponseMessageConversationSuccess", +"properties": { +"metadata": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"type": "object" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3ResponseMessageEndInteraction": { +"id": "GoogleCloudDialogflowCxV3ResponseMessageEndInteraction", +"properties": {}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3ResponseMessageKnowledgeInfoCard": { +"id": "GoogleCloudDialogflowCxV3ResponseMessageKnowledgeInfoCard", +"properties": {}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3ResponseMessageLiveAgentHandoff": { +"id": "GoogleCloudDialogflowCxV3ResponseMessageLiveAgentHandoff", +"properties": { +"metadata": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"type": "object" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3ResponseMessageMixedAudio": { +"id": "GoogleCloudDialogflowCxV3ResponseMessageMixedAudio", +"properties": { +"segments": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3ResponseMessageMixedAudioSegment" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3ResponseMessageMixedAudioSegment": { +"id": "GoogleCloudDialogflowCxV3ResponseMessageMixedAudioSegment", +"properties": { +"allowPlaybackInterruption": { +"readOnly": true, +"type": "boolean" +}, +"audio": { +"format": "byte", +"type": "string" +}, +"uri": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3ResponseMessageOutputAudioText": { +"id": "GoogleCloudDialogflowCxV3ResponseMessageOutputAudioText", +"properties": { +"allowPlaybackInterruption": { +"readOnly": true, +"type": "boolean" +}, +"ssml": { +"type": "string" +}, +"text": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3ResponseMessagePlayAudio": { +"id": "GoogleCloudDialogflowCxV3ResponseMessagePlayAudio", +"properties": { +"allowPlaybackInterruption": { +"readOnly": true, +"type": "boolean" +}, +"audioUri": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3ResponseMessageTelephonyTransferCall": { +"id": "GoogleCloudDialogflowCxV3ResponseMessageTelephonyTransferCall", +"properties": { +"phoneNumber": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3ResponseMessageText": { +"id": "GoogleCloudDialogflowCxV3ResponseMessageText", +"properties": { +"allowPlaybackInterruption": { +"readOnly": true, +"type": "boolean" +}, +"text": { +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3RunContinuousTestMetadata": { +"id": "GoogleCloudDialogflowCxV3RunContinuousTestMetadata", +"properties": { +"errors": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3TestError" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3RunContinuousTestResponse": { +"id": "GoogleCloudDialogflowCxV3RunContinuousTestResponse", +"properties": { +"continuousTestResult": { +"$ref": "GoogleCloudDialogflowCxV3ContinuousTestResult" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3RunTestCaseMetadata": { +"id": "GoogleCloudDialogflowCxV3RunTestCaseMetadata", +"properties": {}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3RunTestCaseResponse": { +"id": "GoogleCloudDialogflowCxV3RunTestCaseResponse", +"properties": { +"result": { +"$ref": "GoogleCloudDialogflowCxV3TestCaseResult" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3SessionInfo": { +"id": "GoogleCloudDialogflowCxV3SessionInfo", +"properties": { +"parameters": { +"additionalProperties": { +"type": "any" +}, +"type": "object" +}, +"session": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3TestCase": { +"id": "GoogleCloudDialogflowCxV3TestCase", +"properties": { +"creationTime": { +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"displayName": { +"type": "string" +}, +"lastTestResult": { +"$ref": "GoogleCloudDialogflowCxV3TestCaseResult" +}, +"name": { +"type": "string" +}, +"notes": { +"type": "string" +}, +"tags": { +"items": { +"type": "string" +}, +"type": "array" +}, +"testCaseConversationTurns": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3ConversationTurn" +}, +"type": "array" +}, +"testConfig": { +"$ref": "GoogleCloudDialogflowCxV3TestConfig" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3TestCaseError": { +"id": "GoogleCloudDialogflowCxV3TestCaseError", +"properties": { +"status": { +"$ref": "GoogleRpcStatus" +}, +"testCase": { +"$ref": "GoogleCloudDialogflowCxV3TestCase" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3TestCaseResult": { +"id": "GoogleCloudDialogflowCxV3TestCaseResult", +"properties": { +"conversationTurns": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3ConversationTurn" +}, +"type": "array" +}, +"environment": { +"type": "string" +}, +"name": { +"type": "string" +}, +"testResult": { +"enum": [ +"TEST_RESULT_UNSPECIFIED", +"PASSED", +"FAILED" +], +"enumDescriptions": [ +"", +"", +"" +], +"type": "string" +}, +"testTime": { +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3TestConfig": { +"id": "GoogleCloudDialogflowCxV3TestConfig", +"properties": { +"flow": { +"type": "string" +}, +"page": { +"type": "string" +}, +"trackingParameters": { +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3TestError": { +"id": "GoogleCloudDialogflowCxV3TestError", +"properties": { +"status": { +"$ref": "GoogleRpcStatus" +}, +"testCase": { +"type": "string" +}, +"testTime": { +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3TestRunDifference": { +"id": "GoogleCloudDialogflowCxV3TestRunDifference", +"properties": { +"description": { +"type": "string" +}, +"type": { +"enum": [ +"DIFF_TYPE_UNSPECIFIED", +"INTENT", +"PAGE", +"PARAMETERS", +"UTTERANCE", +"FLOW" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"" +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3TextInput": { +"id": "GoogleCloudDialogflowCxV3TextInput", +"properties": { +"text": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3ToolCall": { +"id": "GoogleCloudDialogflowCxV3ToolCall", +"properties": { +"action": { +"type": "string" +}, +"inputParameters": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"type": "object" +}, +"tool": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3ToolCallResult": { +"id": "GoogleCloudDialogflowCxV3ToolCallResult", +"properties": { +"action": { +"type": "string" +}, +"error": { +"$ref": "GoogleCloudDialogflowCxV3ToolCallResultError" +}, +"outputParameters": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"type": "object" +}, +"tool": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3ToolCallResultError": { +"id": "GoogleCloudDialogflowCxV3ToolCallResultError", +"properties": { +"message": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3TransitionRoute": { +"id": "GoogleCloudDialogflowCxV3TransitionRoute", +"properties": { +"condition": { +"type": "string" +}, +"description": { +"type": "string" +}, +"intent": { +"type": "string" +}, +"name": { +"readOnly": true, +"type": "string" +}, +"targetFlow": { +"type": "string" +}, +"targetPage": { +"type": "string" +}, +"triggerFulfillment": { +"$ref": "GoogleCloudDialogflowCxV3Fulfillment" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3TurnSignals": { +"id": "GoogleCloudDialogflowCxV3TurnSignals", +"properties": { +"agentEscalated": { +"type": "boolean" +}, +"dtmfUsed": { +"type": "boolean" +}, +"failureReasons": { +"items": { +"enum": [ +"FAILURE_REASON_UNSPECIFIED", +"FAILED_INTENT", +"FAILED_WEBHOOK" +], +"enumDescriptions": [ +"", +"", +"" +], +"type": "string" +}, +"type": "array" +}, +"noMatch": { +"type": "boolean" +}, +"noUserInput": { +"type": "boolean" +}, +"reachedEndPage": { +"type": "boolean" +}, +"sentimentMagnitude": { +"format": "float", +"type": "number" +}, +"sentimentScore": { +"format": "float", +"type": "number" +}, +"userEscalated": { +"type": "boolean" +}, +"webhookStatuses": { +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3Webhook": { +"id": "GoogleCloudDialogflowCxV3Webhook", +"properties": { +"disabled": { +"type": "boolean" +}, +"displayName": { +"type": "string" +}, +"genericWebService": { +"$ref": "GoogleCloudDialogflowCxV3WebhookGenericWebService" +}, +"name": { +"type": "string" +}, +"serviceDirectory": { +"$ref": "GoogleCloudDialogflowCxV3WebhookServiceDirectoryConfig" +}, +"timeout": { +"format": "google-duration", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3WebhookGenericWebService": { +"id": "GoogleCloudDialogflowCxV3WebhookGenericWebService", +"properties": { +"allowedCaCerts": { +"items": { +"format": "byte", +"type": "string" +}, +"type": "array" +}, +"httpMethod": { +"enum": [ +"HTTP_METHOD_UNSPECIFIED", +"POST", +"GET", +"HEAD", +"PUT", +"DELETE", +"PATCH", +"OPTIONS" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"", +"", +"" +], +"type": "string" +}, +"oauthConfig": { +"$ref": "GoogleCloudDialogflowCxV3WebhookGenericWebServiceOAuthConfig" +}, +"parameterMapping": { +"additionalProperties": { +"type": "string" +}, +"type": "object" +}, +"password": { +"deprecated": true, +"type": "string" +}, +"requestBody": { +"type": "string" +}, +"requestHeaders": { +"additionalProperties": { +"type": "string" +}, +"type": "object" +}, +"secretVersionForUsernamePassword": { +"type": "string" +}, +"secretVersionsForRequestHeaders": { +"additionalProperties": { +"$ref": "GoogleCloudDialogflowCxV3WebhookGenericWebServiceSecretVersionHeaderValue" +}, +"type": "object" +}, +"serviceAccountAuthConfig": { +"$ref": "GoogleCloudDialogflowCxV3WebhookGenericWebServiceServiceAccountAuthConfig" +}, +"serviceAgentAuth": { +"enum": [ +"SERVICE_AGENT_AUTH_UNSPECIFIED", +"NONE", +"ID_TOKEN", +"ACCESS_TOKEN" +], +"enumDescriptions": [ +"", +"", +"", +"" +], +"type": "string" +}, +"uri": { +"type": "string" +}, +"username": { +"deprecated": true, +"type": "string" +}, +"webhookType": { +"enum": [ +"WEBHOOK_TYPE_UNSPECIFIED", +"STANDARD", +"FLEXIBLE" +], +"enumDescriptions": [ +"", +"", +"" +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3WebhookGenericWebServiceOAuthConfig": { +"id": "GoogleCloudDialogflowCxV3WebhookGenericWebServiceOAuthConfig", +"properties": { +"clientId": { +"type": "string" +}, +"clientSecret": { +"type": "string" +}, +"scopes": { +"items": { +"type": "string" +}, +"type": "array" +}, +"secretVersionForClientSecret": { +"type": "string" +}, +"tokenEndpoint": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3WebhookGenericWebServiceSecretVersionHeaderValue": { +"id": "GoogleCloudDialogflowCxV3WebhookGenericWebServiceSecretVersionHeaderValue", +"properties": { +"secretVersion": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3WebhookGenericWebServiceServiceAccountAuthConfig": { +"id": "GoogleCloudDialogflowCxV3WebhookGenericWebServiceServiceAccountAuthConfig", +"properties": { +"serviceAccount": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3WebhookRequest": { +"id": "GoogleCloudDialogflowCxV3WebhookRequest", +"properties": { +"detectIntentResponseId": { +"type": "string" +}, +"dtmfDigits": { +"type": "string" +}, +"fulfillmentInfo": { +"$ref": "GoogleCloudDialogflowCxV3WebhookRequestFulfillmentInfo" +}, +"intentInfo": { +"$ref": "GoogleCloudDialogflowCxV3WebhookRequestIntentInfo" +}, +"languageCode": { +"type": "string" +}, +"languageInfo": { +"$ref": "GoogleCloudDialogflowCxV3LanguageInfo" +}, +"messages": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3ResponseMessage" +}, +"type": "array" +}, +"pageInfo": { +"$ref": "GoogleCloudDialogflowCxV3PageInfo" +}, +"payload": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"type": "object" +}, +"sentimentAnalysisResult": { +"$ref": "GoogleCloudDialogflowCxV3WebhookRequestSentimentAnalysisResult" +}, +"sessionInfo": { +"$ref": "GoogleCloudDialogflowCxV3SessionInfo" +}, +"text": { +"type": "string" +}, +"transcript": { +"type": "string" +}, +"triggerEvent": { +"type": "string" +}, +"triggerIntent": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3WebhookRequestFulfillmentInfo": { +"id": "GoogleCloudDialogflowCxV3WebhookRequestFulfillmentInfo", +"properties": { +"tag": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3WebhookRequestIntentInfo": { +"id": "GoogleCloudDialogflowCxV3WebhookRequestIntentInfo", +"properties": { +"confidence": { +"format": "float", +"type": "number" +}, +"displayName": { +"type": "string" +}, +"lastMatchedIntent": { +"type": "string" +}, +"parameters": { +"additionalProperties": { +"$ref": "GoogleCloudDialogflowCxV3WebhookRequestIntentInfoIntentParameterValue" +}, +"type": "object" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3WebhookRequestIntentInfoIntentParameterValue": { +"id": "GoogleCloudDialogflowCxV3WebhookRequestIntentInfoIntentParameterValue", +"properties": { +"originalValue": { +"type": "string" +}, +"resolvedValue": { +"type": "any" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3WebhookRequestSentimentAnalysisResult": { +"id": "GoogleCloudDialogflowCxV3WebhookRequestSentimentAnalysisResult", +"properties": { +"magnitude": { +"format": "float", +"type": "number" +}, +"score": { +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3WebhookResponse": { +"id": "GoogleCloudDialogflowCxV3WebhookResponse", +"properties": { +"fulfillmentResponse": { +"$ref": "GoogleCloudDialogflowCxV3WebhookResponseFulfillmentResponse" +}, +"pageInfo": { +"$ref": "GoogleCloudDialogflowCxV3PageInfo" +}, +"payload": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"type": "object" +}, +"sessionInfo": { +"$ref": "GoogleCloudDialogflowCxV3SessionInfo" +}, +"targetFlow": { +"type": "string" +}, +"targetPage": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3WebhookResponseFulfillmentResponse": { +"id": "GoogleCloudDialogflowCxV3WebhookResponseFulfillmentResponse", +"properties": { +"mergeBehavior": { +"enum": [ +"MERGE_BEHAVIOR_UNSPECIFIED", +"APPEND", +"REPLACE" +], +"enumDescriptions": [ +"", +"", +"" +], +"type": "string" +}, +"messages": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3ResponseMessage" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3WebhookServiceDirectoryConfig": { +"id": "GoogleCloudDialogflowCxV3WebhookServiceDirectoryConfig", +"properties": { +"genericWebService": { +"$ref": "GoogleCloudDialogflowCxV3WebhookGenericWebService" +}, +"service": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1AdvancedSettings": { +"id": "GoogleCloudDialogflowCxV3beta1AdvancedSettings", +"properties": { +"audioExportGcsDestination": { +"$ref": "GoogleCloudDialogflowCxV3beta1GcsDestination" +}, +"dtmfSettings": { +"$ref": "GoogleCloudDialogflowCxV3beta1AdvancedSettingsDtmfSettings" +}, +"loggingSettings": { +"$ref": "GoogleCloudDialogflowCxV3beta1AdvancedSettingsLoggingSettings" +}, +"speechSettings": { +"$ref": "GoogleCloudDialogflowCxV3beta1AdvancedSettingsSpeechSettings" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1AdvancedSettingsDtmfSettings": { +"id": "GoogleCloudDialogflowCxV3beta1AdvancedSettingsDtmfSettings", +"properties": { +"enabled": { +"type": "boolean" +}, +"endpointingTimeoutDuration": { +"format": "google-duration", +"type": "string" +}, +"finishDigit": { +"type": "string" +}, +"interdigitTimeoutDuration": { +"format": "google-duration", +"type": "string" +}, +"maxDigits": { +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1AdvancedSettingsLoggingSettings": { +"id": "GoogleCloudDialogflowCxV3beta1AdvancedSettingsLoggingSettings", +"properties": { +"enableConsentBasedRedaction": { +"type": "boolean" +}, +"enableInteractionLogging": { +"type": "boolean" +}, +"enableStackdriverLogging": { +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1AdvancedSettingsSpeechSettings": { +"id": "GoogleCloudDialogflowCxV3beta1AdvancedSettingsSpeechSettings", +"properties": { +"endpointerSensitivity": { +"format": "int32", +"type": "integer" +}, +"models": { +"additionalProperties": { +"type": "string" +}, +"type": "object" +}, +"noSpeechTimeout": { +"format": "google-duration", +"type": "string" +}, +"useTimeoutBasedEndpointing": { +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1AudioInput": { +"id": "GoogleCloudDialogflowCxV3beta1AudioInput", +"properties": { +"audio": { +"format": "byte", +"type": "string" +}, +"config": { +"$ref": "GoogleCloudDialogflowCxV3beta1InputAudioConfig" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1BargeInConfig": { +"id": "GoogleCloudDialogflowCxV3beta1BargeInConfig", +"properties": { +"noBargeInDuration": { +"format": "google-duration", +"type": "string" +}, +"totalDuration": { +"format": "google-duration", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1BatchRunTestCasesMetadata": { +"id": "GoogleCloudDialogflowCxV3beta1BatchRunTestCasesMetadata", +"properties": { +"errors": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3beta1TestError" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1BatchRunTestCasesResponse": { +"id": "GoogleCloudDialogflowCxV3beta1BatchRunTestCasesResponse", +"properties": { +"results": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3beta1TestCaseResult" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1ContinuousTestResult": { +"id": "GoogleCloudDialogflowCxV3beta1ContinuousTestResult", +"properties": { +"name": { +"type": "string" +}, +"result": { +"enum": [ +"AGGREGATED_TEST_RESULT_UNSPECIFIED", +"PASSED", +"FAILED" +], +"enumDescriptions": [ +"", +"", +"" +], +"type": "string" +}, +"runTime": { +"format": "google-datetime", +"type": "string" +}, +"testCaseResults": { +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1ConversationSignals": { +"id": "GoogleCloudDialogflowCxV3beta1ConversationSignals", +"properties": { +"turnSignals": { +"$ref": "GoogleCloudDialogflowCxV3beta1TurnSignals" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1ConversationTurn": { +"id": "GoogleCloudDialogflowCxV3beta1ConversationTurn", +"properties": { +"userInput": { +"$ref": "GoogleCloudDialogflowCxV3beta1ConversationTurnUserInput" +}, +"virtualAgentOutput": { +"$ref": "GoogleCloudDialogflowCxV3beta1ConversationTurnVirtualAgentOutput" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1ConversationTurnUserInput": { +"id": "GoogleCloudDialogflowCxV3beta1ConversationTurnUserInput", +"properties": { +"enableSentimentAnalysis": { +"type": "boolean" +}, +"injectedParameters": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"type": "object" +}, +"input": { +"$ref": "GoogleCloudDialogflowCxV3beta1QueryInput" +}, +"isWebhookEnabled": { +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1ConversationTurnVirtualAgentOutput": { +"id": "GoogleCloudDialogflowCxV3beta1ConversationTurnVirtualAgentOutput", +"properties": { +"currentPage": { +"$ref": "GoogleCloudDialogflowCxV3beta1Page" +}, +"diagnosticInfo": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"type": "object" +}, +"differences": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3beta1TestRunDifference" +}, +"readOnly": true, +"type": "array" +}, +"sessionParameters": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"type": "object" +}, +"status": { +"$ref": "GoogleRpcStatus" +}, +"textResponses": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3beta1ResponseMessageText" +}, +"type": "array" +}, +"triggeredIntent": { +"$ref": "GoogleCloudDialogflowCxV3beta1Intent" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1CreateVersionOperationMetadata": { +"id": "GoogleCloudDialogflowCxV3beta1CreateVersionOperationMetadata", +"properties": { +"version": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1DataStoreConnection": { +"id": "GoogleCloudDialogflowCxV3beta1DataStoreConnection", +"properties": { +"dataStore": { +"type": "string" +}, +"dataStoreType": { +"enum": [ +"DATA_STORE_TYPE_UNSPECIFIED", +"PUBLIC_WEB", +"UNSTRUCTURED", +"STRUCTURED" +], +"enumDescriptions": [ +"", +"", +"", +"" +], +"type": "string" +}, +"documentProcessingMode": { +"enum": [ +"DOCUMENT_PROCESSING_MODE_UNSPECIFIED", +"DOCUMENTS", +"CHUNKS" +], +"enumDescriptions": [ +"", +"", +"" +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1DeployFlowMetadata": { +"id": "GoogleCloudDialogflowCxV3beta1DeployFlowMetadata", +"properties": { +"testErrors": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3beta1TestError" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1DeployFlowResponse": { +"id": "GoogleCloudDialogflowCxV3beta1DeployFlowResponse", +"properties": { +"deployment": { +"type": "string" +}, +"environment": { +"$ref": "GoogleCloudDialogflowCxV3beta1Environment" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1DtmfInput": { +"id": "GoogleCloudDialogflowCxV3beta1DtmfInput", +"properties": { +"digits": { +"type": "string" +}, +"finishDigit": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1Environment": { +"id": "GoogleCloudDialogflowCxV3beta1Environment", +"properties": { +"description": { +"type": "string" +}, +"displayName": { +"type": "string" +}, +"name": { +"type": "string" +}, +"testCasesConfig": { +"$ref": "GoogleCloudDialogflowCxV3beta1EnvironmentTestCasesConfig" +}, +"updateTime": { +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"versionConfigs": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3beta1EnvironmentVersionConfig" +}, +"type": "array" +}, +"webhookConfig": { +"$ref": "GoogleCloudDialogflowCxV3beta1EnvironmentWebhookConfig" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1EnvironmentTestCasesConfig": { +"id": "GoogleCloudDialogflowCxV3beta1EnvironmentTestCasesConfig", +"properties": { +"enableContinuousRun": { +"type": "boolean" +}, +"enablePredeploymentRun": { +"type": "boolean" +}, +"testCases": { +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1EnvironmentVersionConfig": { +"id": "GoogleCloudDialogflowCxV3beta1EnvironmentVersionConfig", +"properties": { +"version": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1EnvironmentWebhookConfig": { +"id": "GoogleCloudDialogflowCxV3beta1EnvironmentWebhookConfig", +"properties": { +"webhookOverrides": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3beta1Webhook" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1EventHandler": { +"id": "GoogleCloudDialogflowCxV3beta1EventHandler", +"properties": { +"event": { +"type": "string" +}, +"name": { +"readOnly": true, +"type": "string" +}, +"targetFlow": { +"type": "string" +}, +"targetPage": { +"type": "string" +}, +"targetPlaybook": { +"type": "string" +}, +"triggerFulfillment": { +"$ref": "GoogleCloudDialogflowCxV3beta1Fulfillment" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1EventInput": { +"id": "GoogleCloudDialogflowCxV3beta1EventInput", +"properties": { +"event": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1ExportAgentResponse": { +"id": "GoogleCloudDialogflowCxV3beta1ExportAgentResponse", +"properties": { +"agentContent": { +"format": "byte", +"type": "string" +}, +"agentUri": { +"type": "string" +}, +"commitSha": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1ExportEntityTypesMetadata": { +"id": "GoogleCloudDialogflowCxV3beta1ExportEntityTypesMetadata", +"properties": {}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1ExportEntityTypesResponse": { +"id": "GoogleCloudDialogflowCxV3beta1ExportEntityTypesResponse", +"properties": { +"entityTypesContent": { +"$ref": "GoogleCloudDialogflowCxV3beta1InlineDestination" +}, +"entityTypesUri": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1ExportFlowResponse": { +"id": "GoogleCloudDialogflowCxV3beta1ExportFlowResponse", +"properties": { +"flowContent": { +"format": "byte", +"type": "string" +}, +"flowUri": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1ExportIntentsMetadata": { +"id": "GoogleCloudDialogflowCxV3beta1ExportIntentsMetadata", +"properties": {}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1ExportIntentsResponse": { +"id": "GoogleCloudDialogflowCxV3beta1ExportIntentsResponse", +"properties": { +"intentsContent": { +"$ref": "GoogleCloudDialogflowCxV3beta1InlineDestination" +}, +"intentsUri": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1ExportTestCasesMetadata": { +"id": "GoogleCloudDialogflowCxV3beta1ExportTestCasesMetadata", +"properties": {}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1ExportTestCasesResponse": { +"id": "GoogleCloudDialogflowCxV3beta1ExportTestCasesResponse", +"properties": { +"content": { +"format": "byte", +"type": "string" +}, +"gcsUri": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1Form": { +"id": "GoogleCloudDialogflowCxV3beta1Form", +"properties": { +"parameters": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3beta1FormParameter" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1FormParameter": { +"id": "GoogleCloudDialogflowCxV3beta1FormParameter", +"properties": { +"advancedSettings": { +"$ref": "GoogleCloudDialogflowCxV3beta1AdvancedSettings" +}, +"defaultValue": { +"type": "any" +}, +"displayName": { +"type": "string" +}, +"entityType": { +"type": "string" +}, +"fillBehavior": { +"$ref": "GoogleCloudDialogflowCxV3beta1FormParameterFillBehavior" +}, +"isList": { +"type": "boolean" +}, +"redact": { +"type": "boolean" +}, +"required": { +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1FormParameterFillBehavior": { +"id": "GoogleCloudDialogflowCxV3beta1FormParameterFillBehavior", +"properties": { +"initialPromptFulfillment": { +"$ref": "GoogleCloudDialogflowCxV3beta1Fulfillment" +}, +"repromptEventHandlers": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3beta1EventHandler" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1Fulfillment": { +"id": "GoogleCloudDialogflowCxV3beta1Fulfillment", +"properties": { +"advancedSettings": { +"$ref": "GoogleCloudDialogflowCxV3beta1AdvancedSettings" +}, +"conditionalCases": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCases" +}, +"type": "array" +}, +"enableGenerativeFallback": { +"type": "boolean" +}, +"generators": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3beta1FulfillmentGeneratorSettings" +}, +"type": "array" +}, +"messages": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3beta1ResponseMessage" +}, +"type": "array" +}, +"returnPartialResponses": { +"type": "boolean" +}, +"setParameterActions": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3beta1FulfillmentSetParameterAction" +}, +"type": "array" +}, +"tag": { +"type": "string" +}, +"webhook": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCases": { +"id": "GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCases", +"properties": { +"cases": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCase" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCase": { +"id": "GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCase", +"properties": { +"caseContent": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCaseCaseContent" +}, +"type": "array" +}, +"condition": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCaseCaseContent": { +"id": "GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCaseCaseContent", +"properties": { +"additionalCases": { +"$ref": "GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCases" +}, +"message": { +"$ref": "GoogleCloudDialogflowCxV3beta1ResponseMessage" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1FulfillmentGeneratorSettings": { +"id": "GoogleCloudDialogflowCxV3beta1FulfillmentGeneratorSettings", +"properties": { +"generator": { +"type": "string" +}, +"inputParameters": { +"additionalProperties": { +"type": "string" +}, +"type": "object" +}, +"outputParameter": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1FulfillmentSetParameterAction": { +"id": "GoogleCloudDialogflowCxV3beta1FulfillmentSetParameterAction", +"properties": { +"parameter": { +"type": "string" +}, +"value": { +"type": "any" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1GcsDestination": { +"id": "GoogleCloudDialogflowCxV3beta1GcsDestination", +"properties": { +"uri": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1ImportEntityTypesMetadata": { +"id": "GoogleCloudDialogflowCxV3beta1ImportEntityTypesMetadata", +"properties": {}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1ImportEntityTypesResponse": { +"id": "GoogleCloudDialogflowCxV3beta1ImportEntityTypesResponse", +"properties": { +"conflictingResources": { +"$ref": "GoogleCloudDialogflowCxV3beta1ImportEntityTypesResponseConflictingResources" +}, +"entityTypes": { +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1ImportEntityTypesResponseConflictingResources": { +"id": "GoogleCloudDialogflowCxV3beta1ImportEntityTypesResponseConflictingResources", +"properties": { +"entityDisplayNames": { +"items": { +"type": "string" +}, +"type": "array" +}, +"entityTypeDisplayNames": { +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1ImportFlowResponse": { +"id": "GoogleCloudDialogflowCxV3beta1ImportFlowResponse", +"properties": { +"flow": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1ImportIntentsMetadata": { +"id": "GoogleCloudDialogflowCxV3beta1ImportIntentsMetadata", +"properties": {}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1ImportIntentsResponse": { +"id": "GoogleCloudDialogflowCxV3beta1ImportIntentsResponse", +"properties": { +"conflictingResources": { +"$ref": "GoogleCloudDialogflowCxV3beta1ImportIntentsResponseConflictingResources" +}, +"intents": { +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1ImportIntentsResponseConflictingResources": { +"id": "GoogleCloudDialogflowCxV3beta1ImportIntentsResponseConflictingResources", +"properties": { +"entityDisplayNames": { +"items": { +"type": "string" +}, +"type": "array" +}, +"intentDisplayNames": { +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1ImportTestCasesMetadata": { +"id": "GoogleCloudDialogflowCxV3beta1ImportTestCasesMetadata", +"properties": { +"errors": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3beta1TestCaseError" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1ImportTestCasesResponse": { +"id": "GoogleCloudDialogflowCxV3beta1ImportTestCasesResponse", +"properties": { +"names": { +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1InlineDestination": { +"id": "GoogleCloudDialogflowCxV3beta1InlineDestination", +"properties": { +"content": { +"format": "byte", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1InputAudioConfig": { +"id": "GoogleCloudDialogflowCxV3beta1InputAudioConfig", +"properties": { +"audioEncoding": { +"enum": [ +"AUDIO_ENCODING_UNSPECIFIED", +"AUDIO_ENCODING_LINEAR_16", +"AUDIO_ENCODING_FLAC", +"AUDIO_ENCODING_MULAW", +"AUDIO_ENCODING_AMR", +"AUDIO_ENCODING_AMR_WB", +"AUDIO_ENCODING_OGG_OPUS", +"AUDIO_ENCODING_SPEEX_WITH_HEADER_BYTE", +"AUDIO_ENCODING_ALAW" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"", +"", +"", +"" +], +"type": "string" +}, +"bargeInConfig": { +"$ref": "GoogleCloudDialogflowCxV3beta1BargeInConfig" +}, +"enableWordInfo": { +"type": "boolean" +}, +"model": { +"type": "string" +}, +"modelVariant": { +"enum": [ +"SPEECH_MODEL_VARIANT_UNSPECIFIED", +"USE_BEST_AVAILABLE", +"USE_STANDARD", +"USE_ENHANCED" +], +"enumDescriptions": [ +"", +"", +"", +"" +], +"type": "string" +}, +"optOutConformerModelMigration": { +"type": "boolean" +}, +"phraseHints": { +"items": { +"type": "string" +}, +"type": "array" +}, +"sampleRateHertz": { +"format": "int32", +"type": "integer" +}, +"singleUtterance": { +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1Intent": { +"id": "GoogleCloudDialogflowCxV3beta1Intent", +"properties": { +"description": { +"type": "string" +}, +"displayName": { +"type": "string" +}, +"isFallback": { +"type": "boolean" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"type": "object" +}, +"name": { +"type": "string" +}, +"parameters": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3beta1IntentParameter" +}, +"type": "array" +}, +"priority": { +"format": "int32", +"type": "integer" +}, +"trainingPhrases": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3beta1IntentTrainingPhrase" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1IntentInput": { +"id": "GoogleCloudDialogflowCxV3beta1IntentInput", +"properties": { +"intent": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1IntentParameter": { +"id": "GoogleCloudDialogflowCxV3beta1IntentParameter", +"properties": { +"entityType": { +"type": "string" +}, +"id": { +"type": "string" +}, +"isList": { +"type": "boolean" +}, +"redact": { +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1IntentTrainingPhrase": { +"id": "GoogleCloudDialogflowCxV3beta1IntentTrainingPhrase", +"properties": { +"id": { +"readOnly": true, +"type": "string" +}, +"parts": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3beta1IntentTrainingPhrasePart" +}, +"type": "array" +}, +"repeatCount": { +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1IntentTrainingPhrasePart": { +"id": "GoogleCloudDialogflowCxV3beta1IntentTrainingPhrasePart", +"properties": { +"parameterId": { +"type": "string" +}, +"text": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1KnowledgeConnectorSettings": { +"id": "GoogleCloudDialogflowCxV3beta1KnowledgeConnectorSettings", +"properties": { +"dataStoreConnections": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3beta1DataStoreConnection" +}, +"type": "array" +}, +"enabled": { +"type": "boolean" +}, +"targetFlow": { +"type": "string" +}, +"targetPage": { +"type": "string" +}, +"triggerFulfillment": { +"$ref": "GoogleCloudDialogflowCxV3beta1Fulfillment" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1LanguageInfo": { +"id": "GoogleCloudDialogflowCxV3beta1LanguageInfo", +"properties": { +"confidenceScore": { +"format": "float", +"type": "number" +}, +"inputLanguageCode": { +"type": "string" +}, +"resolvedLanguageCode": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1Page": { +"id": "GoogleCloudDialogflowCxV3beta1Page", +"properties": { +"advancedSettings": { +"$ref": "GoogleCloudDialogflowCxV3beta1AdvancedSettings" +}, +"description": { +"type": "string" +}, +"displayName": { +"type": "string" +}, +"entryFulfillment": { +"$ref": "GoogleCloudDialogflowCxV3beta1Fulfillment" +}, +"eventHandlers": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3beta1EventHandler" +}, +"type": "array" +}, +"form": { +"$ref": "GoogleCloudDialogflowCxV3beta1Form" +}, +"knowledgeConnectorSettings": { +"$ref": "GoogleCloudDialogflowCxV3beta1KnowledgeConnectorSettings" +}, +"name": { +"type": "string" +}, +"transitionRouteGroups": { +"items": { +"type": "string" +}, +"type": "array" +}, +"transitionRoutes": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3beta1TransitionRoute" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1PageInfo": { +"id": "GoogleCloudDialogflowCxV3beta1PageInfo", +"properties": { +"currentPage": { +"type": "string" +}, +"displayName": { +"type": "string" +}, +"formInfo": { +"$ref": "GoogleCloudDialogflowCxV3beta1PageInfoFormInfo" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1PageInfoFormInfo": { +"id": "GoogleCloudDialogflowCxV3beta1PageInfoFormInfo", +"properties": { +"parameterInfo": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3beta1PageInfoFormInfoParameterInfo" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1PageInfoFormInfoParameterInfo": { +"id": "GoogleCloudDialogflowCxV3beta1PageInfoFormInfoParameterInfo", +"properties": { +"displayName": { +"type": "string" +}, +"justCollected": { +"type": "boolean" +}, +"required": { +"type": "boolean" +}, +"state": { +"enum": [ +"PARAMETER_STATE_UNSPECIFIED", +"EMPTY", +"INVALID", +"FILLED" +], +"enumDescriptions": [ +"", +"", +"", +"" +], +"type": "string" +}, +"value": { +"type": "any" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1QueryInput": { +"id": "GoogleCloudDialogflowCxV3beta1QueryInput", +"properties": { +"audio": { +"$ref": "GoogleCloudDialogflowCxV3beta1AudioInput" +}, +"dtmf": { +"$ref": "GoogleCloudDialogflowCxV3beta1DtmfInput" +}, +"event": { +"$ref": "GoogleCloudDialogflowCxV3beta1EventInput" +}, +"intent": { +"$ref": "GoogleCloudDialogflowCxV3beta1IntentInput" +}, +"languageCode": { +"type": "string" +}, +"text": { +"$ref": "GoogleCloudDialogflowCxV3beta1TextInput" +}, +"toolCallResult": { +"$ref": "GoogleCloudDialogflowCxV3beta1ToolCallResult" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1ResponseMessage": { +"id": "GoogleCloudDialogflowCxV3beta1ResponseMessage", +"properties": { +"channel": { +"type": "string" +}, +"conversationSuccess": { +"$ref": "GoogleCloudDialogflowCxV3beta1ResponseMessageConversationSuccess" +}, +"endInteraction": { +"$ref": "GoogleCloudDialogflowCxV3beta1ResponseMessageEndInteraction", +"readOnly": true +}, +"knowledgeInfoCard": { +"$ref": "GoogleCloudDialogflowCxV3beta1ResponseMessageKnowledgeInfoCard" +}, +"liveAgentHandoff": { +"$ref": "GoogleCloudDialogflowCxV3beta1ResponseMessageLiveAgentHandoff" +}, +"mixedAudio": { +"$ref": "GoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudio", +"readOnly": true +}, +"outputAudioText": { +"$ref": "GoogleCloudDialogflowCxV3beta1ResponseMessageOutputAudioText" +}, +"payload": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"type": "object" +}, +"playAudio": { +"$ref": "GoogleCloudDialogflowCxV3beta1ResponseMessagePlayAudio" +}, +"telephonyTransferCall": { +"$ref": "GoogleCloudDialogflowCxV3beta1ResponseMessageTelephonyTransferCall" +}, +"text": { +"$ref": "GoogleCloudDialogflowCxV3beta1ResponseMessageText" +}, +"toolCall": { +"$ref": "GoogleCloudDialogflowCxV3beta1ToolCall" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1ResponseMessageConversationSuccess": { +"id": "GoogleCloudDialogflowCxV3beta1ResponseMessageConversationSuccess", +"properties": { +"metadata": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"type": "object" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1ResponseMessageEndInteraction": { +"id": "GoogleCloudDialogflowCxV3beta1ResponseMessageEndInteraction", +"properties": {}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1ResponseMessageKnowledgeInfoCard": { +"id": "GoogleCloudDialogflowCxV3beta1ResponseMessageKnowledgeInfoCard", +"properties": {}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1ResponseMessageLiveAgentHandoff": { +"id": "GoogleCloudDialogflowCxV3beta1ResponseMessageLiveAgentHandoff", +"properties": { +"metadata": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"type": "object" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudio": { +"id": "GoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudio", +"properties": { +"segments": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudioSegment" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudioSegment": { +"id": "GoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudioSegment", +"properties": { +"allowPlaybackInterruption": { +"readOnly": true, +"type": "boolean" +}, +"audio": { +"format": "byte", +"type": "string" +}, +"uri": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1ResponseMessageOutputAudioText": { +"id": "GoogleCloudDialogflowCxV3beta1ResponseMessageOutputAudioText", +"properties": { +"allowPlaybackInterruption": { +"readOnly": true, +"type": "boolean" +}, +"ssml": { +"type": "string" +}, +"text": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1ResponseMessagePlayAudio": { +"id": "GoogleCloudDialogflowCxV3beta1ResponseMessagePlayAudio", +"properties": { +"allowPlaybackInterruption": { +"readOnly": true, +"type": "boolean" +}, +"audioUri": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1ResponseMessageTelephonyTransferCall": { +"id": "GoogleCloudDialogflowCxV3beta1ResponseMessageTelephonyTransferCall", +"properties": { +"phoneNumber": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1ResponseMessageText": { +"id": "GoogleCloudDialogflowCxV3beta1ResponseMessageText", +"properties": { +"allowPlaybackInterruption": { +"readOnly": true, +"type": "boolean" +}, +"text": { +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1RunContinuousTestMetadata": { +"id": "GoogleCloudDialogflowCxV3beta1RunContinuousTestMetadata", +"properties": { +"errors": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3beta1TestError" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1RunContinuousTestResponse": { +"id": "GoogleCloudDialogflowCxV3beta1RunContinuousTestResponse", +"properties": { +"continuousTestResult": { +"$ref": "GoogleCloudDialogflowCxV3beta1ContinuousTestResult" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1RunTestCaseMetadata": { +"id": "GoogleCloudDialogflowCxV3beta1RunTestCaseMetadata", +"properties": {}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1RunTestCaseResponse": { +"id": "GoogleCloudDialogflowCxV3beta1RunTestCaseResponse", +"properties": { +"result": { +"$ref": "GoogleCloudDialogflowCxV3beta1TestCaseResult" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1SessionInfo": { +"id": "GoogleCloudDialogflowCxV3beta1SessionInfo", +"properties": { +"parameters": { +"additionalProperties": { +"type": "any" +}, +"type": "object" +}, +"session": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1TestCase": { +"id": "GoogleCloudDialogflowCxV3beta1TestCase", +"properties": { +"creationTime": { +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"displayName": { +"type": "string" +}, +"lastTestResult": { +"$ref": "GoogleCloudDialogflowCxV3beta1TestCaseResult" +}, +"name": { +"type": "string" +}, +"notes": { +"type": "string" +}, +"tags": { +"items": { +"type": "string" +}, +"type": "array" +}, +"testCaseConversationTurns": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3beta1ConversationTurn" +}, +"type": "array" +}, +"testConfig": { +"$ref": "GoogleCloudDialogflowCxV3beta1TestConfig" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1TestCaseError": { +"id": "GoogleCloudDialogflowCxV3beta1TestCaseError", +"properties": { +"status": { +"$ref": "GoogleRpcStatus" +}, +"testCase": { +"$ref": "GoogleCloudDialogflowCxV3beta1TestCase" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1TestCaseResult": { +"id": "GoogleCloudDialogflowCxV3beta1TestCaseResult", +"properties": { +"conversationTurns": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3beta1ConversationTurn" +}, +"type": "array" +}, +"environment": { +"type": "string" +}, +"name": { +"type": "string" +}, +"testResult": { +"enum": [ +"TEST_RESULT_UNSPECIFIED", +"PASSED", +"FAILED" +], +"enumDescriptions": [ +"", +"", +"" +], +"type": "string" +}, +"testTime": { +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1TestConfig": { +"id": "GoogleCloudDialogflowCxV3beta1TestConfig", +"properties": { +"flow": { +"type": "string" +}, +"page": { +"type": "string" +}, +"trackingParameters": { +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1TestError": { +"id": "GoogleCloudDialogflowCxV3beta1TestError", +"properties": { +"status": { +"$ref": "GoogleRpcStatus" +}, +"testCase": { +"type": "string" +}, +"testTime": { +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1TestRunDifference": { +"id": "GoogleCloudDialogflowCxV3beta1TestRunDifference", +"properties": { +"description": { +"type": "string" +}, +"type": { +"enum": [ +"DIFF_TYPE_UNSPECIFIED", +"INTENT", +"PAGE", +"PARAMETERS", +"UTTERANCE", +"FLOW" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"" +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1TextInput": { +"id": "GoogleCloudDialogflowCxV3beta1TextInput", +"properties": { +"text": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1ToolCall": { +"id": "GoogleCloudDialogflowCxV3beta1ToolCall", +"properties": { +"action": { +"type": "string" +}, +"inputParameters": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"type": "object" +}, +"tool": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1ToolCallResult": { +"id": "GoogleCloudDialogflowCxV3beta1ToolCallResult", +"properties": { +"action": { +"type": "string" +}, +"error": { +"$ref": "GoogleCloudDialogflowCxV3beta1ToolCallResultError" +}, +"outputParameters": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"type": "object" +}, +"tool": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1ToolCallResultError": { +"id": "GoogleCloudDialogflowCxV3beta1ToolCallResultError", +"properties": { +"message": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1TransitionRoute": { +"id": "GoogleCloudDialogflowCxV3beta1TransitionRoute", +"properties": { +"condition": { +"type": "string" +}, +"description": { +"type": "string" +}, +"intent": { +"type": "string" +}, +"name": { +"readOnly": true, +"type": "string" +}, +"targetFlow": { +"type": "string" +}, +"targetPage": { +"type": "string" +}, +"triggerFulfillment": { +"$ref": "GoogleCloudDialogflowCxV3beta1Fulfillment" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1TurnSignals": { +"id": "GoogleCloudDialogflowCxV3beta1TurnSignals", +"properties": { +"agentEscalated": { +"type": "boolean" +}, +"dtmfUsed": { +"type": "boolean" +}, +"failureReasons": { +"items": { +"enum": [ +"FAILURE_REASON_UNSPECIFIED", +"FAILED_INTENT", +"FAILED_WEBHOOK" +], +"enumDescriptions": [ +"", +"", +"" +], +"type": "string" +}, +"type": "array" +}, +"noMatch": { +"type": "boolean" +}, +"noUserInput": { +"type": "boolean" +}, +"reachedEndPage": { +"type": "boolean" +}, +"sentimentMagnitude": { +"format": "float", +"type": "number" +}, +"sentimentScore": { +"format": "float", +"type": "number" +}, +"userEscalated": { +"type": "boolean" +}, +"webhookStatuses": { +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1Webhook": { +"id": "GoogleCloudDialogflowCxV3beta1Webhook", +"properties": { +"disabled": { +"type": "boolean" +}, +"displayName": { +"type": "string" +}, +"genericWebService": { +"$ref": "GoogleCloudDialogflowCxV3beta1WebhookGenericWebService" +}, +"name": { +"type": "string" +}, +"serviceDirectory": { +"$ref": "GoogleCloudDialogflowCxV3beta1WebhookServiceDirectoryConfig" +}, +"timeout": { +"format": "google-duration", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1WebhookGenericWebService": { +"id": "GoogleCloudDialogflowCxV3beta1WebhookGenericWebService", +"properties": { +"allowedCaCerts": { +"items": { +"format": "byte", +"type": "string" +}, +"type": "array" +}, +"httpMethod": { +"enum": [ +"HTTP_METHOD_UNSPECIFIED", +"POST", +"GET", +"HEAD", +"PUT", +"DELETE", +"PATCH", +"OPTIONS" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"", +"", +"" +], +"type": "string" +}, +"oauthConfig": { +"$ref": "GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceOAuthConfig" +}, +"parameterMapping": { +"additionalProperties": { +"type": "string" +}, +"type": "object" +}, +"password": { +"deprecated": true, +"type": "string" +}, +"requestBody": { +"type": "string" +}, +"requestHeaders": { +"additionalProperties": { +"type": "string" +}, +"type": "object" +}, +"secretVersionForUsernamePassword": { +"type": "string" +}, +"secretVersionsForRequestHeaders": { +"additionalProperties": { +"$ref": "GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceSecretVersionHeaderValue" +}, +"type": "object" +}, +"serviceAccountAuthConfig": { +"$ref": "GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceServiceAccountAuthConfig" +}, +"serviceAgentAuth": { +"enum": [ +"SERVICE_AGENT_AUTH_UNSPECIFIED", +"NONE", +"ID_TOKEN", +"ACCESS_TOKEN" +], +"enumDescriptions": [ +"", +"", +"", +"" +], +"type": "string" +}, +"uri": { +"type": "string" +}, +"username": { +"deprecated": true, +"type": "string" +}, +"webhookType": { +"enum": [ +"WEBHOOK_TYPE_UNSPECIFIED", +"STANDARD", +"FLEXIBLE" +], +"enumDescriptions": [ +"", +"", +"" +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceOAuthConfig": { +"id": "GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceOAuthConfig", +"properties": { +"clientId": { +"type": "string" +}, +"clientSecret": { +"type": "string" +}, +"scopes": { +"items": { +"type": "string" +}, +"type": "array" +}, +"secretVersionForClientSecret": { +"type": "string" +}, +"tokenEndpoint": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceSecretVersionHeaderValue": { +"id": "GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceSecretVersionHeaderValue", +"properties": { +"secretVersion": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceServiceAccountAuthConfig": { +"id": "GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceServiceAccountAuthConfig", +"properties": { +"serviceAccount": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1WebhookRequest": { +"id": "GoogleCloudDialogflowCxV3beta1WebhookRequest", +"properties": { +"detectIntentResponseId": { +"type": "string" +}, +"dtmfDigits": { +"type": "string" +}, +"fulfillmentInfo": { +"$ref": "GoogleCloudDialogflowCxV3beta1WebhookRequestFulfillmentInfo" +}, +"intentInfo": { +"$ref": "GoogleCloudDialogflowCxV3beta1WebhookRequestIntentInfo" +}, +"languageCode": { +"type": "string" +}, +"languageInfo": { +"$ref": "GoogleCloudDialogflowCxV3beta1LanguageInfo" +}, +"messages": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3beta1ResponseMessage" +}, +"type": "array" +}, +"pageInfo": { +"$ref": "GoogleCloudDialogflowCxV3beta1PageInfo" +}, +"payload": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"type": "object" +}, +"sentimentAnalysisResult": { +"$ref": "GoogleCloudDialogflowCxV3beta1WebhookRequestSentimentAnalysisResult" +}, +"sessionInfo": { +"$ref": "GoogleCloudDialogflowCxV3beta1SessionInfo" +}, +"text": { +"type": "string" +}, +"transcript": { +"type": "string" +}, +"triggerEvent": { +"type": "string" +}, +"triggerIntent": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1WebhookRequestFulfillmentInfo": { +"id": "GoogleCloudDialogflowCxV3beta1WebhookRequestFulfillmentInfo", +"properties": { +"tag": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1WebhookRequestIntentInfo": { +"id": "GoogleCloudDialogflowCxV3beta1WebhookRequestIntentInfo", +"properties": { +"confidence": { +"format": "float", +"type": "number" +}, +"displayName": { +"type": "string" +}, +"lastMatchedIntent": { +"type": "string" +}, +"parameters": { +"additionalProperties": { +"$ref": "GoogleCloudDialogflowCxV3beta1WebhookRequestIntentInfoIntentParameterValue" +}, +"type": "object" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1WebhookRequestIntentInfoIntentParameterValue": { +"id": "GoogleCloudDialogflowCxV3beta1WebhookRequestIntentInfoIntentParameterValue", +"properties": { +"originalValue": { +"type": "string" +}, +"resolvedValue": { +"type": "any" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1WebhookRequestSentimentAnalysisResult": { +"id": "GoogleCloudDialogflowCxV3beta1WebhookRequestSentimentAnalysisResult", +"properties": { +"magnitude": { +"format": "float", +"type": "number" +}, +"score": { +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1WebhookResponse": { +"id": "GoogleCloudDialogflowCxV3beta1WebhookResponse", +"properties": { +"fulfillmentResponse": { +"$ref": "GoogleCloudDialogflowCxV3beta1WebhookResponseFulfillmentResponse" +}, +"pageInfo": { +"$ref": "GoogleCloudDialogflowCxV3beta1PageInfo" +}, +"payload": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"type": "object" +}, +"sessionInfo": { +"$ref": "GoogleCloudDialogflowCxV3beta1SessionInfo" +}, +"targetFlow": { +"type": "string" +}, +"targetPage": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1WebhookResponseFulfillmentResponse": { +"id": "GoogleCloudDialogflowCxV3beta1WebhookResponseFulfillmentResponse", +"properties": { +"mergeBehavior": { +"enum": [ +"MERGE_BEHAVIOR_UNSPECIFIED", +"APPEND", +"REPLACE" +], +"enumDescriptions": [ +"", +"", +"" +], +"type": "string" +}, +"messages": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3beta1ResponseMessage" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1WebhookServiceDirectoryConfig": { +"id": "GoogleCloudDialogflowCxV3beta1WebhookServiceDirectoryConfig", +"properties": { +"genericWebService": { +"$ref": "GoogleCloudDialogflowCxV3beta1WebhookGenericWebService" +}, +"service": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2AgentCoachingInstruction": { +"id": "GoogleCloudDialogflowV2AgentCoachingInstruction", +"properties": { +"agentAction": { +"type": "string" +}, +"condition": { +"type": "string" +}, +"displayDetails": { +"type": "string" +}, +"displayName": { +"type": "string" +}, +"duplicateCheckResult": { +"$ref": "GoogleCloudDialogflowV2AgentCoachingInstructionDuplicateCheckResult", +"readOnly": true +}, +"systemAction": { +"type": "string" +}, +"triggeringEvent": { +"enum": [ +"TRIGGER_EVENT_UNSPECIFIED", +"END_OF_UTTERANCE", +"MANUAL_CALL", +"CUSTOMER_MESSAGE", +"AGENT_MESSAGE", +"TOOL_CALL_COMPLETION" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"" +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2AgentCoachingInstructionDuplicateCheckResult": { +"id": "GoogleCloudDialogflowV2AgentCoachingInstructionDuplicateCheckResult", +"properties": { +"duplicateSuggestions": { +"items": { +"$ref": "GoogleCloudDialogflowV2AgentCoachingInstructionDuplicateCheckResultDuplicateSuggestion" +}, +"readOnly": true, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2AgentCoachingInstructionDuplicateCheckResultDuplicateSuggestion": { +"id": "GoogleCloudDialogflowV2AgentCoachingInstructionDuplicateCheckResultDuplicateSuggestion", +"properties": { +"answerRecord": { +"readOnly": true, +"type": "string" +}, +"similarityScore": { +"format": "float", +"readOnly": true, +"type": "number" +}, +"suggestionIndex": { +"format": "int32", +"readOnly": true, +"type": "integer" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2AgentCoachingSuggestion": { +"id": "GoogleCloudDialogflowV2AgentCoachingSuggestion", +"properties": { +"agentActionSuggestions": { +"items": { +"$ref": "GoogleCloudDialogflowV2AgentCoachingSuggestionAgentActionSuggestion" +}, +"type": "array" +}, +"applicableInstructions": { +"items": { +"$ref": "GoogleCloudDialogflowV2AgentCoachingInstruction" +}, +"type": "array" +}, +"sampleResponses": { +"items": { +"$ref": "GoogleCloudDialogflowV2AgentCoachingSuggestionSampleResponse" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2AgentCoachingSuggestionAgentActionSuggestion": { +"id": "GoogleCloudDialogflowV2AgentCoachingSuggestionAgentActionSuggestion", +"properties": { +"agentAction": { +"type": "string" +}, +"duplicateCheckResult": { +"$ref": "GoogleCloudDialogflowV2AgentCoachingSuggestionDuplicateCheckResult", +"readOnly": true +}, +"sources": { +"$ref": "GoogleCloudDialogflowV2AgentCoachingSuggestionSources", +"readOnly": true +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2AgentCoachingSuggestionDuplicateCheckResult": { +"id": "GoogleCloudDialogflowV2AgentCoachingSuggestionDuplicateCheckResult", +"properties": { +"duplicateSuggestions": { +"items": { +"$ref": "GoogleCloudDialogflowV2AgentCoachingSuggestionDuplicateCheckResultDuplicateSuggestion" +}, +"readOnly": true, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2AgentCoachingSuggestionDuplicateCheckResultDuplicateSuggestion": { +"id": "GoogleCloudDialogflowV2AgentCoachingSuggestionDuplicateCheckResultDuplicateSuggestion", +"properties": { +"answerRecord": { +"readOnly": true, +"type": "string" +}, +"similarityScore": { +"format": "float", +"readOnly": true, +"type": "number" +}, +"sources": { +"$ref": "GoogleCloudDialogflowV2AgentCoachingSuggestionSources", +"readOnly": true +}, +"suggestionIndex": { +"format": "int32", +"readOnly": true, +"type": "integer" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2AgentCoachingSuggestionSampleResponse": { +"id": "GoogleCloudDialogflowV2AgentCoachingSuggestionSampleResponse", +"properties": { +"duplicateCheckResult": { +"$ref": "GoogleCloudDialogflowV2AgentCoachingSuggestionDuplicateCheckResult", +"readOnly": true +}, +"responseText": { +"type": "string" +}, +"sources": { +"$ref": "GoogleCloudDialogflowV2AgentCoachingSuggestionSources", +"readOnly": true +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2AgentCoachingSuggestionSources": { +"id": "GoogleCloudDialogflowV2AgentCoachingSuggestionSources", +"properties": { +"instructionIndexes": { +"items": { +"format": "int32", +"type": "integer" +}, +"readOnly": true, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2AnnotatedMessagePart": { +"id": "GoogleCloudDialogflowV2AnnotatedMessagePart", +"properties": { +"entityType": { +"type": "string" +}, +"formattedValue": { +"type": "any" +}, +"text": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2ArticleAnswer": { +"id": "GoogleCloudDialogflowV2ArticleAnswer", +"properties": { +"answerRecord": { +"type": "string" +}, +"confidence": { +"format": "float", +"type": "number" +}, +"metadata": { +"additionalProperties": { +"type": "string" +}, +"type": "object" +}, +"snippets": { +"items": { +"type": "string" +}, +"type": "array" +}, +"title": { +"type": "string" +}, +"uri": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2ArticleSuggestionModelMetadata": { +"id": "GoogleCloudDialogflowV2ArticleSuggestionModelMetadata", +"properties": { +"trainingModelType": { +"enum": [ +"MODEL_TYPE_UNSPECIFIED", +"SMART_REPLY_DUAL_ENCODER_MODEL", +"SMART_REPLY_BERT_MODEL" +], +"enumDescriptions": [ +"", +"", +"" +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2BatchUpdateEntityTypesResponse": { +"id": "GoogleCloudDialogflowV2BatchUpdateEntityTypesResponse", +"properties": { +"entityTypes": { +"items": { +"$ref": "GoogleCloudDialogflowV2EntityType" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2BatchUpdateIntentsResponse": { +"id": "GoogleCloudDialogflowV2BatchUpdateIntentsResponse", +"properties": { +"intents": { +"items": { +"$ref": "GoogleCloudDialogflowV2Intent" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2ClearSuggestionFeatureConfigOperationMetadata": { +"id": "GoogleCloudDialogflowV2ClearSuggestionFeatureConfigOperationMetadata", +"properties": { +"conversationProfile": { +"type": "string" +}, +"createTime": { +"format": "google-datetime", +"type": "string" +}, +"participantRole": { +"enum": [ +"ROLE_UNSPECIFIED", +"HUMAN_AGENT", +"AUTOMATED_AGENT", +"END_USER" +], +"enumDescriptions": [ +"", +"", +"", +"" +], +"type": "string" +}, +"suggestionFeatureType": { +"enum": [ +"TYPE_UNSPECIFIED", +"ARTICLE_SUGGESTION", +"FAQ", +"SMART_REPLY", +"CONVERSATION_SUMMARIZATION", +"KNOWLEDGE_SEARCH", +"KNOWLEDGE_ASSIST" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"", +"" +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2Context": { +"id": "GoogleCloudDialogflowV2Context", +"properties": { +"lifespanCount": { +"format": "int32", +"type": "integer" +}, +"name": { +"type": "string" +}, +"parameters": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"type": "object" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2ConversationEvent": { +"id": "GoogleCloudDialogflowV2ConversationEvent", +"properties": { +"conversation": { +"type": "string" +}, +"errorStatus": { +"$ref": "GoogleRpcStatus" +}, +"newMessagePayload": { +"$ref": "GoogleCloudDialogflowV2Message" +}, +"newRecognitionResultPayload": { +"$ref": "GoogleCloudDialogflowV2StreamingRecognitionResult" +}, +"type": { +"enum": [ +"TYPE_UNSPECIFIED", +"CONVERSATION_STARTED", +"CONVERSATION_FINISHED", +"HUMAN_INTERVENTION_NEEDED", +"NEW_MESSAGE", +"NEW_RECOGNITION_RESULT", +"UNRECOVERABLE_ERROR" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"", +"" +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2ConversationModel": { +"id": "GoogleCloudDialogflowV2ConversationModel", +"properties": { +"articleSuggestionModelMetadata": { +"$ref": "GoogleCloudDialogflowV2ArticleSuggestionModelMetadata" +}, +"createTime": { +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"datasets": { +"items": { +"$ref": "GoogleCloudDialogflowV2InputDataset" +}, +"type": "array" +}, +"displayName": { +"type": "string" +}, +"languageCode": { +"type": "string" +}, +"name": { +"type": "string" +}, +"satisfiesPzi": { +"readOnly": true, +"type": "boolean" +}, +"satisfiesPzs": { +"readOnly": true, +"type": "boolean" +}, +"smartReplyModelMetadata": { +"$ref": "GoogleCloudDialogflowV2SmartReplyModelMetadata" +}, +"state": { +"enum": [ +"STATE_UNSPECIFIED", +"CREATING", +"UNDEPLOYED", +"DEPLOYING", +"DEPLOYED", +"UNDEPLOYING", +"DELETING", +"FAILED", +"PENDING" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"", +"", +"", +"" +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2CreateConversationDatasetOperationMetadata": { +"id": "GoogleCloudDialogflowV2CreateConversationDatasetOperationMetadata", +"properties": { +"conversationDataset": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2CreateConversationModelEvaluationOperationMetadata": { +"id": "GoogleCloudDialogflowV2CreateConversationModelEvaluationOperationMetadata", +"properties": { +"conversationModel": { +"type": "string" +}, +"conversationModelEvaluation": { +"type": "string" +}, +"createTime": { +"format": "google-datetime", +"type": "string" +}, +"state": { +"enum": [ +"STATE_UNSPECIFIED", +"INITIALIZING", +"RUNNING", +"CANCELLED", +"SUCCEEDED", +"FAILED" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"" +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2CreateConversationModelOperationMetadata": { +"id": "GoogleCloudDialogflowV2CreateConversationModelOperationMetadata", +"properties": { +"conversationModel": { +"type": "string" +}, +"createTime": { +"format": "google-datetime", +"type": "string" +}, +"doneTime": { +"format": "google-datetime", +"type": "string" +}, +"state": { +"enum": [ +"STATE_UNSPECIFIED", +"PENDING", +"SUCCEEDED", +"FAILED", +"CANCELLED", +"CANCELLING", +"TRAINING" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"", +"" +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2DeleteConversationDatasetOperationMetadata": { +"id": "GoogleCloudDialogflowV2DeleteConversationDatasetOperationMetadata", +"properties": {}, +"type": "object" +}, +"GoogleCloudDialogflowV2DeleteConversationModelOperationMetadata": { +"id": "GoogleCloudDialogflowV2DeleteConversationModelOperationMetadata", +"properties": { +"conversationModel": { +"type": "string" +}, +"createTime": { +"format": "google-datetime", +"type": "string" +}, +"doneTime": { +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2DeployConversationModelOperationMetadata": { +"id": "GoogleCloudDialogflowV2DeployConversationModelOperationMetadata", +"properties": { +"conversationModel": { +"type": "string" +}, +"createTime": { +"format": "google-datetime", +"type": "string" +}, +"doneTime": { +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2EncryptionSpec": { +"id": "GoogleCloudDialogflowV2EncryptionSpec", +"properties": { +"kmsKey": { +"type": "string" +}, +"name": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2EntityType": { +"id": "GoogleCloudDialogflowV2EntityType", +"properties": { +"autoExpansionMode": { +"enum": [ +"AUTO_EXPANSION_MODE_UNSPECIFIED", +"AUTO_EXPANSION_MODE_DEFAULT" +], +"enumDescriptions": [ +"", +"" +], +"type": "string" +}, +"displayName": { +"type": "string" +}, +"enableFuzzyExtraction": { +"type": "boolean" +}, +"entities": { +"items": { +"$ref": "GoogleCloudDialogflowV2EntityTypeEntity" +}, +"type": "array" +}, +"kind": { +"enum": [ +"KIND_UNSPECIFIED", +"KIND_MAP", +"KIND_LIST", +"KIND_REGEXP" +], +"enumDescriptions": [ +"", +"", +"", +"" +], +"type": "string" +}, +"name": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2EntityTypeEntity": { +"id": "GoogleCloudDialogflowV2EntityTypeEntity", +"properties": { +"synonyms": { +"items": { +"type": "string" +}, +"type": "array" +}, +"value": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2EventInput": { +"id": "GoogleCloudDialogflowV2EventInput", +"properties": { +"languageCode": { +"type": "string" +}, +"name": { +"type": "string" +}, +"parameters": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"type": "object" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2ExportAgentResponse": { +"id": "GoogleCloudDialogflowV2ExportAgentResponse", +"properties": { +"agentContent": { +"format": "byte", +"type": "string" +}, +"agentUri": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2ExportOperationMetadata": { +"id": "GoogleCloudDialogflowV2ExportOperationMetadata", +"properties": { +"exportedGcsDestination": { +"$ref": "GoogleCloudDialogflowV2GcsDestination" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2FaqAnswer": { +"id": "GoogleCloudDialogflowV2FaqAnswer", +"properties": { +"answer": { +"type": "string" +}, +"answerRecord": { +"type": "string" +}, +"confidence": { +"format": "float", +"type": "number" +}, +"metadata": { +"additionalProperties": { +"type": "string" +}, +"type": "object" +}, +"question": { +"type": "string" +}, +"source": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2FreeFormSuggestion": { +"id": "GoogleCloudDialogflowV2FreeFormSuggestion", +"properties": { +"response": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2GcsDestination": { +"id": "GoogleCloudDialogflowV2GcsDestination", +"properties": { +"uri": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2GenerateSuggestionsResponse": { +"id": "GoogleCloudDialogflowV2GenerateSuggestionsResponse", +"properties": { +"generatorSuggestionAnswers": { +"items": { +"$ref": "GoogleCloudDialogflowV2GenerateSuggestionsResponseGeneratorSuggestionAnswer" +}, +"type": "array" +}, +"latestMessage": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2GenerateSuggestionsResponseGeneratorSuggestionAnswer": { +"id": "GoogleCloudDialogflowV2GenerateSuggestionsResponseGeneratorSuggestionAnswer", +"properties": { +"answerRecord": { +"type": "string" +}, +"generatorSuggestion": { +"$ref": "GoogleCloudDialogflowV2GeneratorSuggestion" +}, +"sourceGenerator": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2GeneratorSuggestion": { +"id": "GoogleCloudDialogflowV2GeneratorSuggestion", +"properties": { +"agentCoachingSuggestion": { +"$ref": "GoogleCloudDialogflowV2AgentCoachingSuggestion" +}, +"freeFormSuggestion": { +"$ref": "GoogleCloudDialogflowV2FreeFormSuggestion" +}, +"summarySuggestion": { +"$ref": "GoogleCloudDialogflowV2SummarySuggestion" +}, +"toolCallInfo": { +"items": { +"$ref": "GoogleCloudDialogflowV2GeneratorSuggestionToolCallInfo" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2GeneratorSuggestionToolCallInfo": { +"id": "GoogleCloudDialogflowV2GeneratorSuggestionToolCallInfo", +"properties": { +"toolCall": { +"$ref": "GoogleCloudDialogflowV2ToolCall" +}, +"toolCallResult": { +"$ref": "GoogleCloudDialogflowV2ToolCallResult" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2HumanAgentAssistantEvent": { +"id": "GoogleCloudDialogflowV2HumanAgentAssistantEvent", +"properties": { +"conversation": { +"type": "string" +}, +"participant": { +"type": "string" +}, +"suggestionResults": { +"items": { +"$ref": "GoogleCloudDialogflowV2SuggestionResult" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2ImportConversationDataOperationMetadata": { +"id": "GoogleCloudDialogflowV2ImportConversationDataOperationMetadata", +"properties": { +"conversationDataset": { +"type": "string" +}, +"createTime": { +"format": "google-datetime", +"type": "string" +}, +"partialFailures": { +"items": { +"$ref": "GoogleRpcStatus" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2ImportConversationDataOperationResponse": { +"id": "GoogleCloudDialogflowV2ImportConversationDataOperationResponse", +"properties": { +"conversationDataset": { +"type": "string" +}, +"importCount": { +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2ImportDocumentsResponse": { +"id": "GoogleCloudDialogflowV2ImportDocumentsResponse", +"properties": { +"warnings": { +"items": { +"$ref": "GoogleRpcStatus" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2IngestedContextReferenceDebugInfo": { +"id": "GoogleCloudDialogflowV2IngestedContextReferenceDebugInfo", +"properties": { +"contextReferenceRetrieved": { +"type": "boolean" +}, +"ingestedParametersDebugInfo": { +"items": { +"$ref": "GoogleCloudDialogflowV2IngestedContextReferenceDebugInfoIngestedParameterDebugInfo" +}, +"type": "array" +}, +"projectNotAllowlisted": { +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2IngestedContextReferenceDebugInfoIngestedParameterDebugInfo": { +"id": "GoogleCloudDialogflowV2IngestedContextReferenceDebugInfoIngestedParameterDebugInfo", +"properties": { +"ingestionStatus": { +"enum": [ +"INGESTION_STATUS_UNSPECIFIED", +"INGESTION_STATUS_SUCCEEDED", +"INGESTION_STATUS_CONTEXT_NOT_AVAILABLE", +"INGESTION_STATUS_PARSE_FAILED", +"INGESTION_STATUS_INVALID_ENTRY", +"INGESTION_STATUS_INVALID_FORMAT", +"INGESTION_STATUS_LANGUAGE_MISMATCH" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"", +"" +], +"type": "string" +}, +"parameter": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2InitializeEncryptionSpecMetadata": { +"id": "GoogleCloudDialogflowV2InitializeEncryptionSpecMetadata", +"properties": { +"request": { +"$ref": "GoogleCloudDialogflowV2InitializeEncryptionSpecRequest", +"readOnly": true +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2InitializeEncryptionSpecRequest": { +"id": "GoogleCloudDialogflowV2InitializeEncryptionSpecRequest", +"properties": { +"encryptionSpec": { +"$ref": "GoogleCloudDialogflowV2EncryptionSpec" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2InputDataset": { +"id": "GoogleCloudDialogflowV2InputDataset", +"properties": { +"dataset": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2Intent": { +"id": "GoogleCloudDialogflowV2Intent", +"properties": { +"action": { +"type": "string" +}, +"defaultResponsePlatforms": { +"items": { +"enum": [ +"PLATFORM_UNSPECIFIED", +"FACEBOOK", +"SLACK", +"TELEGRAM", +"KIK", +"SKYPE", +"LINE", +"VIBER", +"ACTIONS_ON_GOOGLE", +"GOOGLE_HANGOUTS" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"", +"", +"", +"", +"" +], +"type": "string" +}, +"type": "array" +}, +"displayName": { +"type": "string" +}, +"endInteraction": { +"type": "boolean" +}, +"events": { +"items": { +"type": "string" +}, +"type": "array" +}, +"followupIntentInfo": { +"items": { +"$ref": "GoogleCloudDialogflowV2IntentFollowupIntentInfo" +}, +"readOnly": true, +"type": "array" +}, +"inputContextNames": { +"items": { +"type": "string" +}, +"type": "array" +}, +"isFallback": { +"type": "boolean" +}, +"liveAgentHandoff": { +"type": "boolean" +}, +"messages": { +"items": { +"$ref": "GoogleCloudDialogflowV2IntentMessage" +}, +"type": "array" +}, +"mlDisabled": { +"type": "boolean" +}, +"name": { +"type": "string" +}, +"outputContexts": { +"items": { +"$ref": "GoogleCloudDialogflowV2Context" +}, +"type": "array" +}, +"parameters": { +"items": { +"$ref": "GoogleCloudDialogflowV2IntentParameter" +}, +"type": "array" +}, +"parentFollowupIntentName": { +"type": "string" +}, +"priority": { +"format": "int32", +"type": "integer" +}, +"resetContexts": { +"type": "boolean" +}, +"rootFollowupIntentName": { +"readOnly": true, +"type": "string" +}, +"trainingPhrases": { +"items": { +"$ref": "GoogleCloudDialogflowV2IntentTrainingPhrase" +}, +"type": "array" +}, +"webhookState": { +"enum": [ +"WEBHOOK_STATE_UNSPECIFIED", +"WEBHOOK_STATE_ENABLED", +"WEBHOOK_STATE_ENABLED_FOR_SLOT_FILLING" +], +"enumDescriptions": [ +"", +"", +"" +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2IntentFollowupIntentInfo": { +"id": "GoogleCloudDialogflowV2IntentFollowupIntentInfo", +"properties": { +"followupIntentName": { +"type": "string" +}, +"parentFollowupIntentName": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2IntentMessage": { +"id": "GoogleCloudDialogflowV2IntentMessage", +"properties": { +"basicCard": { +"$ref": "GoogleCloudDialogflowV2IntentMessageBasicCard" +}, +"browseCarouselCard": { +"$ref": "GoogleCloudDialogflowV2IntentMessageBrowseCarouselCard" +}, +"card": { +"$ref": "GoogleCloudDialogflowV2IntentMessageCard" +}, +"carouselSelect": { +"$ref": "GoogleCloudDialogflowV2IntentMessageCarouselSelect" +}, +"image": { +"$ref": "GoogleCloudDialogflowV2IntentMessageImage" +}, +"linkOutSuggestion": { +"$ref": "GoogleCloudDialogflowV2IntentMessageLinkOutSuggestion" +}, +"listSelect": { +"$ref": "GoogleCloudDialogflowV2IntentMessageListSelect" +}, +"mediaContent": { +"$ref": "GoogleCloudDialogflowV2IntentMessageMediaContent" +}, +"payload": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"type": "object" +}, +"platform": { +"enum": [ +"PLATFORM_UNSPECIFIED", +"FACEBOOK", +"SLACK", +"TELEGRAM", +"KIK", +"SKYPE", +"LINE", +"VIBER", +"ACTIONS_ON_GOOGLE", +"GOOGLE_HANGOUTS" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"", +"", +"", +"", +"" +], +"type": "string" +}, +"quickReplies": { +"$ref": "GoogleCloudDialogflowV2IntentMessageQuickReplies" +}, +"simpleResponses": { +"$ref": "GoogleCloudDialogflowV2IntentMessageSimpleResponses" +}, +"suggestions": { +"$ref": "GoogleCloudDialogflowV2IntentMessageSuggestions" +}, +"tableCard": { +"$ref": "GoogleCloudDialogflowV2IntentMessageTableCard" +}, +"text": { +"$ref": "GoogleCloudDialogflowV2IntentMessageText" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2IntentMessageBasicCard": { +"id": "GoogleCloudDialogflowV2IntentMessageBasicCard", +"properties": { +"buttons": { +"items": { +"$ref": "GoogleCloudDialogflowV2IntentMessageBasicCardButton" +}, +"type": "array" +}, +"formattedText": { +"type": "string" +}, +"image": { +"$ref": "GoogleCloudDialogflowV2IntentMessageImage" +}, +"subtitle": { +"type": "string" +}, +"title": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2IntentMessageBasicCardButton": { +"id": "GoogleCloudDialogflowV2IntentMessageBasicCardButton", +"properties": { +"openUriAction": { +"$ref": "GoogleCloudDialogflowV2IntentMessageBasicCardButtonOpenUriAction" +}, +"title": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2IntentMessageBasicCardButtonOpenUriAction": { +"id": "GoogleCloudDialogflowV2IntentMessageBasicCardButtonOpenUriAction", +"properties": { +"uri": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2IntentMessageBrowseCarouselCard": { +"id": "GoogleCloudDialogflowV2IntentMessageBrowseCarouselCard", +"properties": { +"imageDisplayOptions": { +"enum": [ +"IMAGE_DISPLAY_OPTIONS_UNSPECIFIED", +"GRAY", +"WHITE", +"CROPPED", +"BLURRED_BACKGROUND" +], +"enumDescriptions": [ +"", +"", +"", +"", +"" +], +"type": "string" +}, +"items": { +"items": { +"$ref": "GoogleCloudDialogflowV2IntentMessageBrowseCarouselCardBrowseCarouselCardItem" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2IntentMessageBrowseCarouselCardBrowseCarouselCardItem": { +"id": "GoogleCloudDialogflowV2IntentMessageBrowseCarouselCardBrowseCarouselCardItem", +"properties": { +"description": { +"type": "string" +}, +"footer": { +"type": "string" +}, +"image": { +"$ref": "GoogleCloudDialogflowV2IntentMessageImage" +}, +"openUriAction": { +"$ref": "GoogleCloudDialogflowV2IntentMessageBrowseCarouselCardBrowseCarouselCardItemOpenUrlAction" +}, +"title": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2IntentMessageBrowseCarouselCardBrowseCarouselCardItemOpenUrlAction": { +"id": "GoogleCloudDialogflowV2IntentMessageBrowseCarouselCardBrowseCarouselCardItemOpenUrlAction", +"properties": { +"url": { +"type": "string" +}, +"urlTypeHint": { +"enum": [ +"URL_TYPE_HINT_UNSPECIFIED", +"AMP_ACTION", +"AMP_CONTENT" +], +"enumDescriptions": [ +"", +"", +"" +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2IntentMessageCard": { +"id": "GoogleCloudDialogflowV2IntentMessageCard", +"properties": { +"buttons": { +"items": { +"$ref": "GoogleCloudDialogflowV2IntentMessageCardButton" +}, +"type": "array" +}, +"imageUri": { +"type": "string" +}, +"subtitle": { +"type": "string" +}, +"title": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2IntentMessageCardButton": { +"id": "GoogleCloudDialogflowV2IntentMessageCardButton", +"properties": { +"postback": { +"type": "string" +}, +"text": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2IntentMessageCarouselSelect": { +"id": "GoogleCloudDialogflowV2IntentMessageCarouselSelect", +"properties": { +"items": { +"items": { +"$ref": "GoogleCloudDialogflowV2IntentMessageCarouselSelectItem" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2IntentMessageCarouselSelectItem": { +"id": "GoogleCloudDialogflowV2IntentMessageCarouselSelectItem", +"properties": { +"description": { +"type": "string" +}, +"image": { +"$ref": "GoogleCloudDialogflowV2IntentMessageImage" +}, +"info": { +"$ref": "GoogleCloudDialogflowV2IntentMessageSelectItemInfo" +}, +"title": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2IntentMessageColumnProperties": { +"id": "GoogleCloudDialogflowV2IntentMessageColumnProperties", +"properties": { +"header": { +"type": "string" +}, +"horizontalAlignment": { +"enum": [ +"HORIZONTAL_ALIGNMENT_UNSPECIFIED", +"LEADING", +"CENTER", +"TRAILING" +], +"enumDescriptions": [ +"", +"", +"", +"" +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2IntentMessageImage": { +"id": "GoogleCloudDialogflowV2IntentMessageImage", +"properties": { +"accessibilityText": { +"type": "string" +}, +"imageUri": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2IntentMessageLinkOutSuggestion": { +"id": "GoogleCloudDialogflowV2IntentMessageLinkOutSuggestion", +"properties": { +"destinationName": { +"type": "string" +}, +"uri": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2IntentMessageListSelect": { +"id": "GoogleCloudDialogflowV2IntentMessageListSelect", +"properties": { +"items": { +"items": { +"$ref": "GoogleCloudDialogflowV2IntentMessageListSelectItem" +}, +"type": "array" +}, +"subtitle": { +"type": "string" +}, +"title": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2IntentMessageListSelectItem": { +"id": "GoogleCloudDialogflowV2IntentMessageListSelectItem", +"properties": { +"description": { +"type": "string" +}, +"image": { +"$ref": "GoogleCloudDialogflowV2IntentMessageImage" +}, +"info": { +"$ref": "GoogleCloudDialogflowV2IntentMessageSelectItemInfo" +}, +"title": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2IntentMessageMediaContent": { +"id": "GoogleCloudDialogflowV2IntentMessageMediaContent", +"properties": { +"mediaObjects": { +"items": { +"$ref": "GoogleCloudDialogflowV2IntentMessageMediaContentResponseMediaObject" +}, +"type": "array" +}, +"mediaType": { +"enum": [ +"RESPONSE_MEDIA_TYPE_UNSPECIFIED", +"AUDIO" +], +"enumDescriptions": [ +"", +"" +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2IntentMessageMediaContentResponseMediaObject": { +"id": "GoogleCloudDialogflowV2IntentMessageMediaContentResponseMediaObject", +"properties": { +"contentUrl": { +"type": "string" +}, +"description": { +"type": "string" +}, +"icon": { +"$ref": "GoogleCloudDialogflowV2IntentMessageImage" +}, +"largeImage": { +"$ref": "GoogleCloudDialogflowV2IntentMessageImage" +}, +"name": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2IntentMessageQuickReplies": { +"id": "GoogleCloudDialogflowV2IntentMessageQuickReplies", +"properties": { +"quickReplies": { +"items": { +"type": "string" +}, +"type": "array" +}, +"title": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2IntentMessageSelectItemInfo": { +"id": "GoogleCloudDialogflowV2IntentMessageSelectItemInfo", +"properties": { +"key": { +"type": "string" +}, +"synonyms": { +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2IntentMessageSimpleResponse": { +"id": "GoogleCloudDialogflowV2IntentMessageSimpleResponse", +"properties": { +"displayText": { +"type": "string" +}, +"ssml": { +"type": "string" +}, +"textToSpeech": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2IntentMessageSimpleResponses": { +"id": "GoogleCloudDialogflowV2IntentMessageSimpleResponses", +"properties": { +"simpleResponses": { +"items": { +"$ref": "GoogleCloudDialogflowV2IntentMessageSimpleResponse" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2IntentMessageSuggestion": { +"id": "GoogleCloudDialogflowV2IntentMessageSuggestion", +"properties": { +"title": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2IntentMessageSuggestions": { +"id": "GoogleCloudDialogflowV2IntentMessageSuggestions", +"properties": { +"suggestions": { +"items": { +"$ref": "GoogleCloudDialogflowV2IntentMessageSuggestion" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2IntentMessageTableCard": { +"id": "GoogleCloudDialogflowV2IntentMessageTableCard", +"properties": { +"buttons": { +"items": { +"$ref": "GoogleCloudDialogflowV2IntentMessageBasicCardButton" +}, +"type": "array" +}, +"columnProperties": { +"items": { +"$ref": "GoogleCloudDialogflowV2IntentMessageColumnProperties" +}, +"type": "array" +}, +"image": { +"$ref": "GoogleCloudDialogflowV2IntentMessageImage" +}, +"rows": { +"items": { +"$ref": "GoogleCloudDialogflowV2IntentMessageTableCardRow" +}, +"type": "array" +}, +"subtitle": { +"type": "string" +}, +"title": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2IntentMessageTableCardCell": { +"id": "GoogleCloudDialogflowV2IntentMessageTableCardCell", +"properties": { +"text": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2IntentMessageTableCardRow": { +"id": "GoogleCloudDialogflowV2IntentMessageTableCardRow", +"properties": { +"cells": { +"items": { +"$ref": "GoogleCloudDialogflowV2IntentMessageTableCardCell" +}, +"type": "array" +}, +"dividerAfter": { +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2IntentMessageText": { +"id": "GoogleCloudDialogflowV2IntentMessageText", +"properties": { +"text": { +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2IntentParameter": { +"id": "GoogleCloudDialogflowV2IntentParameter", +"properties": { +"defaultValue": { +"type": "string" +}, +"displayName": { +"type": "string" +}, +"entityTypeDisplayName": { +"type": "string" +}, +"isList": { +"type": "boolean" +}, +"mandatory": { +"type": "boolean" +}, +"name": { +"type": "string" +}, +"prompts": { +"items": { +"type": "string" +}, +"type": "array" +}, +"value": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2IntentTrainingPhrase": { +"id": "GoogleCloudDialogflowV2IntentTrainingPhrase", +"properties": { +"name": { +"readOnly": true, +"type": "string" +}, +"parts": { +"items": { +"$ref": "GoogleCloudDialogflowV2IntentTrainingPhrasePart" +}, +"type": "array" +}, +"timesAddedCount": { +"format": "int32", +"type": "integer" +}, +"type": { +"enum": [ +"TYPE_UNSPECIFIED", +"EXAMPLE", +"TEMPLATE" +], +"enumDeprecated": [ +false, +false, +true +], +"enumDescriptions": [ +"", +"", +"" +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2IntentTrainingPhrasePart": { +"id": "GoogleCloudDialogflowV2IntentTrainingPhrasePart", +"properties": { +"alias": { +"type": "string" +}, +"entityType": { +"type": "string" +}, +"text": { +"type": "string" +}, +"userDefined": { +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2KnowledgeAssistAnswer": { +"id": "GoogleCloudDialogflowV2KnowledgeAssistAnswer", +"properties": { +"answerRecord": { +"type": "string" +}, +"knowledgeAssistDebugInfo": { +"$ref": "GoogleCloudDialogflowV2KnowledgeAssistDebugInfo" +}, +"suggestedQuery": { +"$ref": "GoogleCloudDialogflowV2KnowledgeAssistAnswerSuggestedQuery" +}, +"suggestedQueryAnswer": { +"$ref": "GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswer" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswer": { +"id": "GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswer", +"properties": { +"answerText": { +"type": "string" +}, +"faqSource": { +"$ref": "GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswerFaqSource" +}, +"generativeSource": { +"$ref": "GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswerGenerativeSource" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswerFaqSource": { +"id": "GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswerFaqSource", +"properties": { +"question": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswerGenerativeSource": { +"id": "GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswerGenerativeSource", +"properties": { +"snippets": { +"items": { +"$ref": "GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswerGenerativeSourceSnippet" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswerGenerativeSourceSnippet": { +"id": "GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswerGenerativeSourceSnippet", +"properties": { +"metadata": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"type": "object" +}, +"text": { +"type": "string" +}, +"title": { +"type": "string" +}, +"uri": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2KnowledgeAssistAnswerSuggestedQuery": { +"id": "GoogleCloudDialogflowV2KnowledgeAssistAnswerSuggestedQuery", +"properties": { +"queryText": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2KnowledgeAssistDebugInfo": { +"id": "GoogleCloudDialogflowV2KnowledgeAssistDebugInfo", +"properties": { +"datastoreResponseReason": { +"enum": [ +"DATASTORE_RESPONSE_REASON_UNSPECIFIED", +"NONE", +"SEARCH_OUT_OF_QUOTA", +"SEARCH_EMPTY_RESULTS", +"ANSWER_GENERATION_GEN_AI_DISABLED", +"ANSWER_GENERATION_OUT_OF_QUOTA", +"ANSWER_GENERATION_ERROR", +"ANSWER_GENERATION_NOT_ENOUGH_INFO", +"ANSWER_GENERATION_RAI_FAILED", +"ANSWER_GENERATION_NOT_GROUNDED" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"", +"", +"", +"", +"" +], +"type": "string" +}, +"ingestedContextReferenceDebugInfo": { +"$ref": "GoogleCloudDialogflowV2IngestedContextReferenceDebugInfo" +}, +"knowledgeAssistBehavior": { +"$ref": "GoogleCloudDialogflowV2KnowledgeAssistDebugInfoKnowledgeAssistBehavior" +}, +"queryCategorizationFailureReason": { +"enum": [ +"QUERY_CATEGORIZATION_FAILURE_REASON_UNSPECIFIED", +"QUERY_CATEGORIZATION_INVALID_CONFIG", +"QUERY_CATEGORIZATION_RESULT_NOT_FOUND", +"QUERY_CATEGORIZATION_FAILED" +], +"enumDescriptions": [ +"", +"", +"", +"" +], +"type": "string" +}, +"queryGenerationFailureReason": { +"enum": [ +"QUERY_GENERATION_FAILURE_REASON_UNSPECIFIED", +"QUERY_GENERATION_OUT_OF_QUOTA", +"QUERY_GENERATION_FAILED", +"QUERY_GENERATION_NO_QUERY_GENERATED", +"QUERY_GENERATION_RAI_FAILED", +"NOT_IN_ALLOWLIST", +"QUERY_GENERATION_QUERY_REDACTED", +"QUERY_GENERATION_LLM_RESPONSE_PARSE_FAILED", +"QUERY_GENERATION_EMPTY_CONVERSATION", +"QUERY_GENERATION_EMPTY_LAST_MESSAGE", +"QUERY_GENERATION_TRIGGERING_EVENT_CONDITION_NOT_MET" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"" +], +"type": "string" +}, +"serviceLatency": { +"$ref": "GoogleCloudDialogflowV2ServiceLatency" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2KnowledgeAssistDebugInfoKnowledgeAssistBehavior": { +"id": "GoogleCloudDialogflowV2KnowledgeAssistDebugInfoKnowledgeAssistBehavior", +"properties": { +"answerGenerationRewriterOn": { +"type": "boolean" +}, +"appendedSearchContextCount": { +"format": "int32", +"type": "integer" +}, +"conversationTranscriptHasMixedLanguages": { +"type": "boolean" +}, +"disableSyncDelivery": { +"type": "boolean" +}, +"endUserMetadataIncluded": { +"type": "boolean" +}, +"invalidItemsQuerySuggestionSkipped": { +"type": "boolean" +}, +"multipleQueriesGenerated": { +"type": "boolean" +}, +"previousQueriesIncluded": { +"type": "boolean" +}, +"primaryQueryRedactedAndReplaced": { +"type": "boolean" +}, +"queryContainedSearchContext": { +"type": "boolean" +}, +"queryGenerationAgentLanguageMismatch": { +"type": "boolean" +}, +"queryGenerationEndUserLanguageMismatch": { +"type": "boolean" +}, +"returnQueryOnly": { +"type": "boolean" +}, +"thirdPartyConnectorAllowed": { +"type": "boolean" +}, +"useCustomSafetyFilterLevel": { +"type": "boolean" +}, +"usePubsubDelivery": { +"type": "boolean" +}, +"useTranslatedMessage": { +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2KnowledgeOperationMetadata": { +"id": "GoogleCloudDialogflowV2KnowledgeOperationMetadata", +"properties": { +"doneTime": { +"format": "google-datetime", +"type": "string" +}, +"exportOperationMetadata": { +"$ref": "GoogleCloudDialogflowV2ExportOperationMetadata" +}, +"knowledgeBase": { +"type": "string" +}, +"state": { +"enum": [ +"STATE_UNSPECIFIED", +"PENDING", +"RUNNING", +"DONE" +], +"enumDescriptions": [ +"", +"", +"", +"" +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2Message": { +"id": "GoogleCloudDialogflowV2Message", +"properties": { +"content": { +"type": "string" +}, +"createTime": { +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"languageCode": { +"type": "string" +}, +"messageAnnotation": { +"$ref": "GoogleCloudDialogflowV2MessageAnnotation", +"readOnly": true +}, +"name": { +"type": "string" +}, +"participant": { +"readOnly": true, +"type": "string" +}, +"participantRole": { +"enum": [ +"ROLE_UNSPECIFIED", +"HUMAN_AGENT", +"AUTOMATED_AGENT", +"END_USER" +], +"enumDescriptions": [ +"", +"", +"", +"" +], +"readOnly": true, +"type": "string" +}, +"sendTime": { +"format": "google-datetime", +"type": "string" +}, +"sentimentAnalysis": { +"$ref": "GoogleCloudDialogflowV2SentimentAnalysisResult", +"readOnly": true +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2MessageAnnotation": { +"id": "GoogleCloudDialogflowV2MessageAnnotation", +"properties": { +"containEntities": { +"type": "boolean" +}, +"parts": { +"items": { +"$ref": "GoogleCloudDialogflowV2AnnotatedMessagePart" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2OriginalDetectIntentRequest": { +"id": "GoogleCloudDialogflowV2OriginalDetectIntentRequest", +"properties": { +"payload": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"type": "object" +}, +"source": { +"type": "string" +}, +"version": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2QueryResult": { +"id": "GoogleCloudDialogflowV2QueryResult", +"properties": { +"action": { +"type": "string" +}, +"allRequiredParamsPresent": { +"type": "boolean" +}, +"cancelsSlotFilling": { +"type": "boolean" +}, +"diagnosticInfo": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"type": "object" +}, +"fulfillmentMessages": { +"items": { +"$ref": "GoogleCloudDialogflowV2IntentMessage" +}, +"type": "array" +}, +"fulfillmentText": { +"type": "string" +}, +"intent": { +"$ref": "GoogleCloudDialogflowV2Intent" +}, +"intentDetectionConfidence": { +"format": "float", +"type": "number" +}, +"languageCode": { +"type": "string" +}, +"outputContexts": { +"items": { +"$ref": "GoogleCloudDialogflowV2Context" +}, +"type": "array" +}, +"parameters": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"type": "object" +}, +"queryText": { +"type": "string" +}, +"sentimentAnalysisResult": { +"$ref": "GoogleCloudDialogflowV2SentimentAnalysisResult" +}, +"speechRecognitionConfidence": { +"format": "float", +"type": "number" +}, +"webhookPayload": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"type": "object" +}, +"webhookSource": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2Sentiment": { +"id": "GoogleCloudDialogflowV2Sentiment", +"properties": { +"magnitude": { +"format": "float", +"type": "number" +}, +"score": { +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2SentimentAnalysisResult": { +"id": "GoogleCloudDialogflowV2SentimentAnalysisResult", +"properties": { +"queryTextSentiment": { +"$ref": "GoogleCloudDialogflowV2Sentiment" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2ServiceLatency": { +"id": "GoogleCloudDialogflowV2ServiceLatency", +"properties": { +"internalServiceLatencies": { +"items": { +"$ref": "GoogleCloudDialogflowV2ServiceLatencyInternalServiceLatency" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2ServiceLatencyInternalServiceLatency": { +"id": "GoogleCloudDialogflowV2ServiceLatencyInternalServiceLatency", +"properties": { +"completeTime": { +"format": "google-datetime", +"type": "string" +}, +"latencyMs": { +"format": "float", +"type": "number" +}, +"startTime": { +"format": "google-datetime", +"type": "string" +}, +"step": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2SessionEntityType": { +"id": "GoogleCloudDialogflowV2SessionEntityType", +"properties": { +"entities": { +"items": { +"$ref": "GoogleCloudDialogflowV2EntityTypeEntity" +}, +"type": "array" +}, +"entityOverrideMode": { +"enum": [ +"ENTITY_OVERRIDE_MODE_UNSPECIFIED", +"ENTITY_OVERRIDE_MODE_OVERRIDE", +"ENTITY_OVERRIDE_MODE_SUPPLEMENT" +], +"enumDescriptions": [ +"", +"", +"" +], +"type": "string" +}, +"name": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2SetSuggestionFeatureConfigOperationMetadata": { +"id": "GoogleCloudDialogflowV2SetSuggestionFeatureConfigOperationMetadata", +"properties": { +"conversationProfile": { +"type": "string" +}, +"createTime": { +"format": "google-datetime", +"type": "string" +}, +"participantRole": { +"enum": [ +"ROLE_UNSPECIFIED", +"HUMAN_AGENT", +"AUTOMATED_AGENT", +"END_USER" +], +"enumDescriptions": [ +"", +"", +"", +"" +], +"type": "string" +}, +"suggestionFeatureType": { +"enum": [ +"TYPE_UNSPECIFIED", +"ARTICLE_SUGGESTION", +"FAQ", +"SMART_REPLY", +"CONVERSATION_SUMMARIZATION", +"KNOWLEDGE_SEARCH", +"KNOWLEDGE_ASSIST" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"", +"" +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2SmartReplyAnswer": { +"id": "GoogleCloudDialogflowV2SmartReplyAnswer", +"properties": { +"answerRecord": { +"type": "string" +}, +"confidence": { +"format": "float", +"type": "number" +}, +"reply": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2SmartReplyModelMetadata": { +"id": "GoogleCloudDialogflowV2SmartReplyModelMetadata", +"properties": { +"trainingModelType": { +"enum": [ +"MODEL_TYPE_UNSPECIFIED", +"SMART_REPLY_DUAL_ENCODER_MODEL", +"SMART_REPLY_BERT_MODEL" +], +"enumDescriptions": [ +"", +"", +"" +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2SpeechWordInfo": { +"id": "GoogleCloudDialogflowV2SpeechWordInfo", +"properties": { +"confidence": { +"format": "float", +"type": "number" +}, +"endOffset": { +"format": "google-duration", +"type": "string" +}, +"startOffset": { +"format": "google-duration", +"type": "string" +}, +"word": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2StreamingRecognitionResult": { +"id": "GoogleCloudDialogflowV2StreamingRecognitionResult", +"properties": { +"confidence": { +"format": "float", +"type": "number" +}, +"isFinal": { +"type": "boolean" +}, +"languageCode": { +"type": "string" +}, +"messageType": { +"enum": [ +"MESSAGE_TYPE_UNSPECIFIED", +"TRANSCRIPT", +"END_OF_SINGLE_UTTERANCE" +], +"enumDescriptions": [ +"", +"", +"" +], +"type": "string" +}, +"speechEndOffset": { +"format": "google-duration", +"type": "string" +}, +"speechWordInfo": { +"items": { +"$ref": "GoogleCloudDialogflowV2SpeechWordInfo" +}, +"type": "array" +}, +"transcript": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2SuggestArticlesResponse": { +"id": "GoogleCloudDialogflowV2SuggestArticlesResponse", +"properties": { +"articleAnswers": { +"items": { +"$ref": "GoogleCloudDialogflowV2ArticleAnswer" +}, +"type": "array" +}, +"contextSize": { +"format": "int32", +"type": "integer" +}, +"latestMessage": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2SuggestFaqAnswersResponse": { +"id": "GoogleCloudDialogflowV2SuggestFaqAnswersResponse", +"properties": { +"contextSize": { +"format": "int32", +"type": "integer" +}, +"faqAnswers": { +"items": { +"$ref": "GoogleCloudDialogflowV2FaqAnswer" +}, +"type": "array" +}, +"latestMessage": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2SuggestKnowledgeAssistResponse": { +"id": "GoogleCloudDialogflowV2SuggestKnowledgeAssistResponse", +"properties": { +"contextSize": { +"format": "int32", +"type": "integer" +}, +"knowledgeAssistAnswer": { +"$ref": "GoogleCloudDialogflowV2KnowledgeAssistAnswer", +"readOnly": true +}, +"latestMessage": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2SuggestSmartRepliesResponse": { +"id": "GoogleCloudDialogflowV2SuggestSmartRepliesResponse", +"properties": { +"contextSize": { +"format": "int32", +"type": "integer" +}, +"latestMessage": { +"type": "string" +}, +"smartReplyAnswers": { +"items": { +"$ref": "GoogleCloudDialogflowV2SmartReplyAnswer" +}, +"readOnly": true, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2SuggestionResult": { +"id": "GoogleCloudDialogflowV2SuggestionResult", +"properties": { +"error": { +"$ref": "GoogleRpcStatus" +}, +"generateSuggestionsResponse": { +"$ref": "GoogleCloudDialogflowV2GenerateSuggestionsResponse" +}, +"suggestArticlesResponse": { +"$ref": "GoogleCloudDialogflowV2SuggestArticlesResponse" +}, +"suggestFaqAnswersResponse": { +"$ref": "GoogleCloudDialogflowV2SuggestFaqAnswersResponse" +}, +"suggestKnowledgeAssistResponse": { +"$ref": "GoogleCloudDialogflowV2SuggestKnowledgeAssistResponse" +}, +"suggestSmartRepliesResponse": { +"$ref": "GoogleCloudDialogflowV2SuggestSmartRepliesResponse" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2SummarySuggestion": { +"id": "GoogleCloudDialogflowV2SummarySuggestion", +"properties": { +"summarySections": { +"items": { +"$ref": "GoogleCloudDialogflowV2SummarySuggestionSummarySection" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2SummarySuggestionSummarySection": { +"id": "GoogleCloudDialogflowV2SummarySuggestionSummarySection", +"properties": { +"section": { +"type": "string" +}, +"summary": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2ToolCall": { +"id": "GoogleCloudDialogflowV2ToolCall", +"properties": { +"action": { +"type": "string" +}, +"answerRecord": { +"type": "string" +}, +"createTime": { +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"inputParameters": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"type": "object" +}, +"state": { +"enum": [ +"STATE_UNSPECIFIED", +"TRIGGERED", +"NEEDS_CONFIRMATION" +], +"enumDescriptions": [ +"", +"", +"" +], +"readOnly": true, +"type": "string" +}, +"tool": { +"type": "string" +}, +"toolDisplayDetails": { +"type": "string" +}, +"toolDisplayName": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2ToolCallResult": { +"id": "GoogleCloudDialogflowV2ToolCallResult", +"properties": { +"action": { +"type": "string" +}, +"answerRecord": { +"type": "string" +}, +"content": { +"type": "string" +}, +"createTime": { +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"error": { +"$ref": "GoogleCloudDialogflowV2ToolCallResultError" +}, +"rawContent": { +"format": "byte", +"type": "string" +}, +"tool": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2ToolCallResultError": { +"id": "GoogleCloudDialogflowV2ToolCallResultError", +"properties": { +"message": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2UndeployConversationModelOperationMetadata": { +"id": "GoogleCloudDialogflowV2UndeployConversationModelOperationMetadata", +"properties": { +"conversationModel": { +"type": "string" +}, +"createTime": { +"format": "google-datetime", +"type": "string" +}, +"doneTime": { +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2WebhookRequest": { +"id": "GoogleCloudDialogflowV2WebhookRequest", +"properties": { +"originalDetectIntentRequest": { +"$ref": "GoogleCloudDialogflowV2OriginalDetectIntentRequest" +}, +"queryResult": { +"$ref": "GoogleCloudDialogflowV2QueryResult" +}, +"responseId": { +"type": "string" +}, +"session": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2WebhookResponse": { +"id": "GoogleCloudDialogflowV2WebhookResponse", +"properties": { +"followupEventInput": { +"$ref": "GoogleCloudDialogflowV2EventInput" +}, +"fulfillmentMessages": { +"items": { +"$ref": "GoogleCloudDialogflowV2IntentMessage" +}, +"type": "array" +}, +"fulfillmentText": { +"type": "string" +}, +"outputContexts": { +"items": { +"$ref": "GoogleCloudDialogflowV2Context" +}, +"type": "array" +}, +"payload": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"type": "object" +}, +"sessionEntityTypes": { +"items": { +"$ref": "GoogleCloudDialogflowV2SessionEntityType" +}, +"type": "array" +}, +"source": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1Agent": { +"id": "GoogleCloudDialogflowV2beta1Agent", +"properties": { +"apiVersion": { +"enum": [ +"API_VERSION_UNSPECIFIED", +"API_VERSION_V1", +"API_VERSION_V2", +"API_VERSION_V2_BETA_1" +], +"enumDescriptions": [ +"", +"", +"", +"" +], +"type": "string" +}, +"avatarUri": { +"type": "string" +}, +"classificationThreshold": { +"format": "float", +"type": "number" +}, +"defaultLanguageCode": { +"type": "string" +}, +"description": { +"type": "string" +}, +"displayName": { +"type": "string" +}, +"enableLogging": { +"type": "boolean" +}, +"matchMode": { +"deprecated": true, +"enum": [ +"MATCH_MODE_UNSPECIFIED", +"MATCH_MODE_HYBRID", +"MATCH_MODE_ML_ONLY" +], +"enumDescriptions": [ +"", +"", +"" +], +"type": "string" +}, +"parent": { +"type": "string" +}, +"supportedLanguageCodes": { +"items": { +"type": "string" +}, +"type": "array" +}, +"tier": { +"enum": [ +"TIER_UNSPECIFIED", +"TIER_STANDARD", +"TIER_ENTERPRISE", +"TIER_ENTERPRISE_PLUS" +], +"enumDeprecated": [ +false, +false, +false, +true +], +"enumDescriptions": [ +"", +"", +"", +"" +], +"type": "string" +}, +"timeZone": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1AgentAssistantFeedback": { +"id": "GoogleCloudDialogflowV2beta1AgentAssistantFeedback", +"properties": { +"answerRelevance": { +"enum": [ +"ANSWER_RELEVANCE_UNSPECIFIED", +"IRRELEVANT", +"RELEVANT" +], +"enumDescriptions": [ +"", +"", +"" +], +"type": "string" +}, +"documentCorrectness": { +"enum": [ +"DOCUMENT_CORRECTNESS_UNSPECIFIED", +"INCORRECT", +"CORRECT" +], +"enumDescriptions": [ +"", +"", +"" +], +"type": "string" +}, +"documentEfficiency": { +"enum": [ +"DOCUMENT_EFFICIENCY_UNSPECIFIED", +"INEFFICIENT", +"EFFICIENT" +], +"enumDescriptions": [ +"", +"", +"" +], +"type": "string" +}, +"knowledgeAssistFeedback": { +"$ref": "GoogleCloudDialogflowV2beta1AgentAssistantFeedbackKnowledgeAssistFeedback" +}, +"knowledgeSearchFeedback": { +"$ref": "GoogleCloudDialogflowV2beta1AgentAssistantFeedbackKnowledgeSearchFeedback" +}, +"summarizationFeedback": { +"$ref": "GoogleCloudDialogflowV2beta1AgentAssistantFeedbackSummarizationFeedback" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1AgentAssistantFeedbackKnowledgeAssistFeedback": { +"id": "GoogleCloudDialogflowV2beta1AgentAssistantFeedbackKnowledgeAssistFeedback", +"properties": { +"answerCopied": { +"type": "boolean" +}, +"clickedUris": { +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1AgentAssistantFeedbackKnowledgeSearchFeedback": { +"id": "GoogleCloudDialogflowV2beta1AgentAssistantFeedbackKnowledgeSearchFeedback", +"properties": { +"answerCopied": { +"type": "boolean" +}, +"clickedUris": { +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1AgentAssistantFeedbackSummarizationFeedback": { +"id": "GoogleCloudDialogflowV2beta1AgentAssistantFeedbackSummarizationFeedback", +"properties": { +"startTimestamp": { +"format": "google-datetime", +"type": "string" +}, +"submitTimestamp": { +"format": "google-datetime", +"type": "string" +}, +"summaryText": { +"type": "string" +}, +"textSections": { +"additionalProperties": { +"type": "string" +}, +"type": "object" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1AgentAssistantRecord": { +"id": "GoogleCloudDialogflowV2beta1AgentAssistantRecord", +"properties": { +"articleSuggestionAnswer": { +"$ref": "GoogleCloudDialogflowV2beta1ArticleAnswer", +"readOnly": true +}, +"dialogflowAssistAnswer": { +"$ref": "GoogleCloudDialogflowV2beta1DialogflowAssistAnswer", +"readOnly": true +}, +"faqAnswer": { +"$ref": "GoogleCloudDialogflowV2beta1FaqAnswer", +"readOnly": true +}, +"generatorSuggestion": { +"$ref": "GoogleCloudDialogflowV2beta1GeneratorSuggestion", +"readOnly": true +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1AgentCoachingContext": { +"id": "GoogleCloudDialogflowV2beta1AgentCoachingContext", +"properties": { +"instructions": { +"items": { +"$ref": "GoogleCloudDialogflowV2beta1AgentCoachingInstruction" +}, +"type": "array" +}, +"outputLanguageCode": { +"type": "string" +}, +"overarchingGuidance": { +"type": "string" +}, +"version": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1AgentCoachingInstruction": { +"id": "GoogleCloudDialogflowV2beta1AgentCoachingInstruction", +"properties": { +"agentAction": { +"type": "string" +}, +"condition": { +"type": "string" +}, +"displayDetails": { +"type": "string" +}, +"displayName": { +"type": "string" +}, +"duplicateCheckResult": { +"$ref": "GoogleCloudDialogflowV2beta1AgentCoachingInstructionDuplicateCheckResult", +"readOnly": true +}, +"systemAction": { +"type": "string" +}, +"triggeringEvent": { +"enum": [ +"TRIGGER_EVENT_UNSPECIFIED", +"END_OF_UTTERANCE", +"MANUAL_CALL", +"CUSTOMER_MESSAGE", +"AGENT_MESSAGE", +"TOOL_CALL_COMPLETION" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"" +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1AgentCoachingInstructionDuplicateCheckResult": { +"id": "GoogleCloudDialogflowV2beta1AgentCoachingInstructionDuplicateCheckResult", +"properties": { +"duplicateSuggestions": { +"items": { +"$ref": "GoogleCloudDialogflowV2beta1AgentCoachingInstructionDuplicateCheckResultDuplicateSuggestion" +}, +"readOnly": true, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1AgentCoachingInstructionDuplicateCheckResultDuplicateSuggestion": { +"id": "GoogleCloudDialogflowV2beta1AgentCoachingInstructionDuplicateCheckResultDuplicateSuggestion", +"properties": { +"answerRecord": { +"readOnly": true, +"type": "string" +}, +"similarityScore": { +"format": "float", +"readOnly": true, +"type": "number" +}, +"suggestionIndex": { +"format": "int32", +"readOnly": true, +"type": "integer" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1AgentCoachingSuggestion": { +"id": "GoogleCloudDialogflowV2beta1AgentCoachingSuggestion", +"properties": { +"agentActionSuggestions": { +"items": { +"$ref": "GoogleCloudDialogflowV2beta1AgentCoachingSuggestionAgentActionSuggestion" +}, +"type": "array" +}, +"applicableInstructions": { +"items": { +"$ref": "GoogleCloudDialogflowV2beta1AgentCoachingInstruction" +}, +"type": "array" +}, +"sampleResponses": { +"items": { +"$ref": "GoogleCloudDialogflowV2beta1AgentCoachingSuggestionSampleResponse" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1AgentCoachingSuggestionAgentActionSuggestion": { +"id": "GoogleCloudDialogflowV2beta1AgentCoachingSuggestionAgentActionSuggestion", +"properties": { +"agentAction": { +"type": "string" +}, +"duplicateCheckResult": { +"$ref": "GoogleCloudDialogflowV2beta1AgentCoachingSuggestionDuplicateCheckResult", +"readOnly": true +}, +"sources": { +"$ref": "GoogleCloudDialogflowV2beta1AgentCoachingSuggestionSources", +"readOnly": true +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1AgentCoachingSuggestionDuplicateCheckResult": { +"id": "GoogleCloudDialogflowV2beta1AgentCoachingSuggestionDuplicateCheckResult", +"properties": { +"duplicateSuggestions": { +"items": { +"$ref": "GoogleCloudDialogflowV2beta1AgentCoachingSuggestionDuplicateCheckResultDuplicateSuggestion" +}, +"readOnly": true, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1AgentCoachingSuggestionDuplicateCheckResultDuplicateSuggestion": { +"id": "GoogleCloudDialogflowV2beta1AgentCoachingSuggestionDuplicateCheckResultDuplicateSuggestion", +"properties": { +"answerRecord": { +"readOnly": true, +"type": "string" +}, +"similarityScore": { +"format": "float", +"readOnly": true, +"type": "number" +}, +"sources": { +"$ref": "GoogleCloudDialogflowV2beta1AgentCoachingSuggestionSources", +"readOnly": true +}, +"suggestionIndex": { +"format": "int32", +"readOnly": true, +"type": "integer" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1AgentCoachingSuggestionSampleResponse": { +"id": "GoogleCloudDialogflowV2beta1AgentCoachingSuggestionSampleResponse", +"properties": { +"duplicateCheckResult": { +"$ref": "GoogleCloudDialogflowV2beta1AgentCoachingSuggestionDuplicateCheckResult", +"readOnly": true +}, +"responseText": { +"type": "string" +}, +"sources": { +"$ref": "GoogleCloudDialogflowV2beta1AgentCoachingSuggestionSources", +"readOnly": true +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1AgentCoachingSuggestionSources": { +"id": "GoogleCloudDialogflowV2beta1AgentCoachingSuggestionSources", +"properties": { +"instructionIndexes": { +"items": { +"format": "int32", +"type": "integer" +}, +"readOnly": true, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1AnalyzeContentRequest": { +"id": "GoogleCloudDialogflowV2beta1AnalyzeContentRequest", +"properties": { +"assistQueryParams": { +"$ref": "GoogleCloudDialogflowV2beta1AssistQueryParameters" +}, +"audioInput": { +"$ref": "GoogleCloudDialogflowV2beta1AudioInput" +}, +"cxCurrentPage": { +"type": "string" +}, +"cxParameters": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"type": "object" +}, +"eventInput": { +"$ref": "GoogleCloudDialogflowV2beta1EventInput" +}, +"intentInput": { +"$ref": "GoogleCloudDialogflowV2beta1IntentInput" +}, +"messageSendTime": { +"format": "google-datetime", +"type": "string" +}, +"queryParams": { +"$ref": "GoogleCloudDialogflowV2beta1QueryParameters" +}, +"replyAudioConfig": { +"$ref": "GoogleCloudDialogflowV2beta1OutputAudioConfig" +}, +"requestId": { +"type": "string" +}, +"suggestionInput": { +"$ref": "GoogleCloudDialogflowV2beta1SuggestionInput" +}, +"textInput": { +"$ref": "GoogleCloudDialogflowV2beta1TextInput" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1AnalyzeContentResponse": { +"id": "GoogleCloudDialogflowV2beta1AnalyzeContentResponse", +"properties": { +"automatedAgentReply": { +"$ref": "GoogleCloudDialogflowV2beta1AutomatedAgentReply" +}, +"dtmfParameters": { +"$ref": "GoogleCloudDialogflowV2beta1DtmfParameters" +}, +"endUserSuggestionResults": { +"items": { +"$ref": "GoogleCloudDialogflowV2beta1SuggestionResult" +}, +"type": "array" +}, +"humanAgentSuggestionResults": { +"items": { +"$ref": "GoogleCloudDialogflowV2beta1SuggestionResult" +}, +"type": "array" +}, +"message": { +"$ref": "GoogleCloudDialogflowV2beta1Message" +}, +"replyAudio": { +"$ref": "GoogleCloudDialogflowV2beta1OutputAudio" +}, +"replyText": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1AnnotatedMessagePart": { +"id": "GoogleCloudDialogflowV2beta1AnnotatedMessagePart", +"properties": { +"entityType": { +"type": "string" +}, +"formattedValue": { +"type": "any" +}, +"text": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1AnswerFeedback": { +"id": "GoogleCloudDialogflowV2beta1AnswerFeedback", +"properties": { +"agentAssistantDetailFeedback": { +"$ref": "GoogleCloudDialogflowV2beta1AgentAssistantFeedback" +}, +"clickTime": { +"format": "google-datetime", +"type": "string" +}, +"clicked": { +"type": "boolean" +}, +"correctnessLevel": { +"enum": [ +"CORRECTNESS_LEVEL_UNSPECIFIED", +"NOT_CORRECT", +"PARTIALLY_CORRECT", +"FULLY_CORRECT" +], +"enumDescriptions": [ +"", +"", +"", +"" +], +"type": "string" +}, +"displayTime": { +"format": "google-datetime", +"type": "string" +}, +"displayed": { +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1AnswerRecord": { +"id": "GoogleCloudDialogflowV2beta1AnswerRecord", +"properties": { +"agentAssistantRecord": { +"$ref": "GoogleCloudDialogflowV2beta1AgentAssistantRecord" +}, +"answerFeedback": { +"$ref": "GoogleCloudDialogflowV2beta1AnswerFeedback" +}, +"name": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1ArticleAnswer": { +"id": "GoogleCloudDialogflowV2beta1ArticleAnswer", +"properties": { +"answerRecord": { +"type": "string" +}, +"metadata": { +"additionalProperties": { +"type": "string" +}, +"type": "object" +}, +"snippets": { +"items": { +"type": "string" +}, +"type": "array" +}, +"title": { +"type": "string" +}, +"uri": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1AssistQueryParameters": { +"id": "GoogleCloudDialogflowV2beta1AssistQueryParameters", +"properties": { +"documentsMetadataFilters": { +"additionalProperties": { +"type": "string" +}, +"type": "object" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1AudioInput": { +"id": "GoogleCloudDialogflowV2beta1AudioInput", +"properties": { +"audio": { +"format": "byte", +"type": "string" +}, +"config": { +"$ref": "GoogleCloudDialogflowV2beta1InputAudioConfig" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1AutomatedAgentConfig": { +"id": "GoogleCloudDialogflowV2beta1AutomatedAgentConfig", +"properties": { +"agent": { +"type": "string" +}, +"sessionTtl": { +"format": "google-duration", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1AutomatedAgentReply": { +"id": "GoogleCloudDialogflowV2beta1AutomatedAgentReply", +"properties": { +"allowCancellation": { +"type": "boolean" +}, +"automatedAgentReplyType": { +"enum": [ +"AUTOMATED_AGENT_REPLY_TYPE_UNSPECIFIED", +"PARTIAL", +"FINAL" +], +"enumDescriptions": [ +"", +"", +"" +], +"type": "string" +}, +"callCompanionAuthCode": { +"format": "byte", +"type": "string" +}, +"cxCurrentPage": { +"type": "string" +}, +"cxSessionParameters": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"deprecated": true, +"type": "object" +}, +"detectIntentResponse": { +"$ref": "GoogleCloudDialogflowV2beta1DetectIntentResponse" +}, +"event": { +"type": "string" +}, +"intent": { +"type": "string" +}, +"matchConfidence": { +"format": "float", +"type": "number" +}, +"parameters": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"type": "object" +}, +"responseMessages": { +"items": { +"$ref": "GoogleCloudDialogflowV2beta1ResponseMessage" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1BargeInConfig": { +"id": "GoogleCloudDialogflowV2beta1BargeInConfig", +"properties": { +"noBargeInDuration": { +"format": "google-duration", +"type": "string" +}, +"totalDuration": { +"format": "google-duration", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1BatchCreateEntitiesRequest": { +"id": "GoogleCloudDialogflowV2beta1BatchCreateEntitiesRequest", +"properties": { +"entities": { +"items": { +"$ref": "GoogleCloudDialogflowV2beta1EntityTypeEntity" +}, +"type": "array" +}, +"languageCode": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1BatchCreateMessagesRequest": { +"id": "GoogleCloudDialogflowV2beta1BatchCreateMessagesRequest", +"properties": { +"requests": { +"items": { +"$ref": "GoogleCloudDialogflowV2beta1CreateMessageRequest" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1BatchCreateMessagesResponse": { +"id": "GoogleCloudDialogflowV2beta1BatchCreateMessagesResponse", +"properties": { +"messages": { +"items": { +"$ref": "GoogleCloudDialogflowV2beta1Message" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1BatchDeleteEntitiesRequest": { +"id": "GoogleCloudDialogflowV2beta1BatchDeleteEntitiesRequest", +"properties": { +"entityValues": { +"items": { +"type": "string" +}, +"type": "array" +}, +"languageCode": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1BatchDeleteEntityTypesRequest": { +"id": "GoogleCloudDialogflowV2beta1BatchDeleteEntityTypesRequest", +"properties": { +"entityTypeNames": { +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1BatchDeleteIntentsRequest": { +"id": "GoogleCloudDialogflowV2beta1BatchDeleteIntentsRequest", +"properties": { +"intents": { +"items": { +"$ref": "GoogleCloudDialogflowV2beta1Intent" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1BatchUpdateEntitiesRequest": { +"id": "GoogleCloudDialogflowV2beta1BatchUpdateEntitiesRequest", +"properties": { +"entities": { +"items": { +"$ref": "GoogleCloudDialogflowV2beta1EntityTypeEntity" +}, +"type": "array" +}, +"languageCode": { +"type": "string" +}, +"updateMask": { +"format": "google-fieldmask", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1BatchUpdateEntityTypesRequest": { +"id": "GoogleCloudDialogflowV2beta1BatchUpdateEntityTypesRequest", +"properties": { +"entityTypeBatchInline": { +"$ref": "GoogleCloudDialogflowV2beta1EntityTypeBatch" +}, +"entityTypeBatchUri": { +"type": "string" +}, +"languageCode": { +"type": "string" +}, +"updateMask": { +"format": "google-fieldmask", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1BatchUpdateEntityTypesResponse": { +"id": "GoogleCloudDialogflowV2beta1BatchUpdateEntityTypesResponse", +"properties": { +"entityTypes": { +"items": { +"$ref": "GoogleCloudDialogflowV2beta1EntityType" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1BatchUpdateIntentsRequest": { +"id": "GoogleCloudDialogflowV2beta1BatchUpdateIntentsRequest", +"properties": { +"intentBatchInline": { +"$ref": "GoogleCloudDialogflowV2beta1IntentBatch" +}, +"intentBatchUri": { +"type": "string" +}, +"intentView": { +"enum": [ +"INTENT_VIEW_UNSPECIFIED", +"INTENT_VIEW_FULL" +], +"enumDescriptions": [ +"", +"" +], +"type": "string" +}, +"languageCode": { +"type": "string" +}, +"updateMask": { +"format": "google-fieldmask", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1BatchUpdateIntentsResponse": { +"id": "GoogleCloudDialogflowV2beta1BatchUpdateIntentsResponse", +"properties": { +"intents": { +"items": { +"$ref": "GoogleCloudDialogflowV2beta1Intent" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1ClearSuggestionFeatureConfigOperationMetadata": { +"id": "GoogleCloudDialogflowV2beta1ClearSuggestionFeatureConfigOperationMetadata", +"properties": { +"conversationProfile": { +"type": "string" +}, +"createTime": { +"format": "google-datetime", +"type": "string" +}, +"participantRole": { +"enum": [ +"ROLE_UNSPECIFIED", +"HUMAN_AGENT", +"AUTOMATED_AGENT", +"END_USER" +], +"enumDescriptions": [ +"", +"", +"", +"" +], +"type": "string" +}, +"suggestionFeatureType": { +"enum": [ +"TYPE_UNSPECIFIED", +"ARTICLE_SUGGESTION", +"FAQ", +"SMART_REPLY", +"DIALOGFLOW_ASSIST", +"CONVERSATION_SUMMARIZATION", +"KNOWLEDGE_SEARCH", +"KNOWLEDGE_ASSIST" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"", +"", +"" +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1ClearSuggestionFeatureConfigRequest": { +"id": "GoogleCloudDialogflowV2beta1ClearSuggestionFeatureConfigRequest", +"properties": { +"participantRole": { +"enum": [ +"ROLE_UNSPECIFIED", +"HUMAN_AGENT", +"AUTOMATED_AGENT", +"END_USER" +], +"enumDescriptions": [ +"", +"", +"", +"" +], +"type": "string" +}, +"suggestionFeatureType": { +"enum": [ +"TYPE_UNSPECIFIED", +"ARTICLE_SUGGESTION", +"FAQ", +"SMART_REPLY", +"DIALOGFLOW_ASSIST", +"CONVERSATION_SUMMARIZATION", +"KNOWLEDGE_SEARCH", +"KNOWLEDGE_ASSIST" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"", +"", +"" +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1CompileSuggestionRequest": { +"deprecated": true, +"id": "GoogleCloudDialogflowV2beta1CompileSuggestionRequest", +"properties": { +"contextSize": { +"format": "int32", +"type": "integer" +}, +"latestMessage": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1CompileSuggestionResponse": { +"deprecated": true, +"id": "GoogleCloudDialogflowV2beta1CompileSuggestionResponse", +"properties": { +"contextSize": { +"format": "int32", +"type": "integer" +}, +"latestMessage": { +"type": "string" +}, +"suggestion": { +"$ref": "GoogleCloudDialogflowV2beta1Suggestion" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1CompleteConversationRequest": { +"id": "GoogleCloudDialogflowV2beta1CompleteConversationRequest", +"properties": {}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1Connection": { +"id": "GoogleCloudDialogflowV2beta1Connection", +"properties": { +"connectionId": { +"readOnly": true, +"type": "string" +}, +"errorDetails": { +"$ref": "GoogleCloudDialogflowV2beta1ConnectionErrorDetails", +"readOnly": true +}, +"state": { +"enum": [ +"STATE_UNSPECIFIED", +"CONNECTED", +"DISCONNECTED", +"AUTHENTICATION_FAILED", +"KEEPALIVE" +], +"enumDescriptions": [ +"", +"", +"", +"", +"" +], +"readOnly": true, +"type": "string" +}, +"updateTime": { +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1ConnectionErrorDetails": { +"id": "GoogleCloudDialogflowV2beta1ConnectionErrorDetails", +"properties": { +"certificateState": { +"enum": [ +"CERTIFICATE_STATE_UNSPECIFIED", +"CERTIFICATE_VALID", +"CERTIFICATE_INVALID", +"CERTIFICATE_EXPIRED", +"CERTIFICATE_HOSTNAME_NOT_FOUND", +"CERTIFICATE_UNAUTHENTICATED", +"CERTIFICATE_TRUST_STORE_NOT_FOUND", +"CERTIFICATE_HOSTNAME_INVALID_FORMAT", +"CERTIFICATE_QUOTA_EXCEEDED" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"", +"", +"", +"" +], +"readOnly": true, +"type": "string" +}, +"errorMessage": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1Context": { +"id": "GoogleCloudDialogflowV2beta1Context", +"properties": { +"lifespanCount": { +"format": "int32", +"type": "integer" +}, +"name": { +"type": "string" +}, +"parameters": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"type": "object" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1Conversation": { +"id": "GoogleCloudDialogflowV2beta1Conversation", +"properties": { +"conversationProfile": { +"type": "string" +}, +"conversationStage": { +"enum": [ +"CONVERSATION_STAGE_UNSPECIFIED", +"VIRTUAL_AGENT_STAGE", +"HUMAN_ASSIST_STAGE" +], +"enumDescriptions": [ +"", +"", +"" +], +"type": "string" +}, +"endTime": { +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"ingestedContextReferences": { +"additionalProperties": { +"$ref": "GoogleCloudDialogflowV2beta1ConversationContextReference" +}, +"readOnly": true, +"type": "object" +}, +"lifecycleState": { +"enum": [ +"LIFECYCLE_STATE_UNSPECIFIED", +"IN_PROGRESS", +"COMPLETED" +], +"enumDescriptions": [ +"", +"", +"" +], +"readOnly": true, +"type": "string" +}, +"name": { +"readOnly": true, +"type": "string" +}, +"phoneNumber": { +"$ref": "GoogleCloudDialogflowV2beta1ConversationPhoneNumber", +"readOnly": true +}, +"startTime": { +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"telephonyConnectionInfo": { +"$ref": "GoogleCloudDialogflowV2beta1ConversationTelephonyConnectionInfo", +"readOnly": true +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1ConversationContext": { +"id": "GoogleCloudDialogflowV2beta1ConversationContext", +"properties": { +"messageEntries": { +"items": { +"$ref": "GoogleCloudDialogflowV2beta1MessageEntry" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1ConversationContextReference": { +"id": "GoogleCloudDialogflowV2beta1ConversationContextReference", +"properties": { +"contextContents": { +"items": { +"$ref": "GoogleCloudDialogflowV2beta1ConversationContextReferenceContextContent" +}, +"type": "array" +}, +"createTime": { +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"languageCode": { +"type": "string" +}, +"updateMode": { +"enum": [ +"UPDATE_MODE_UNSPECIFIED", +"APPEND", +"OVERWRITE" +], +"enumDescriptions": [ +"", +"", +"" +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1ConversationContextReferenceContextContent": { +"id": "GoogleCloudDialogflowV2beta1ConversationContextReferenceContextContent", +"properties": { +"answerRecord": { +"type": "string" +}, +"content": { +"type": "string" +}, +"contentFormat": { +"enum": [ +"CONTENT_FORMAT_UNSPECIFIED", +"JSON", +"PLAIN_TEXT" +], +"enumDescriptions": [ +"", +"", +"" +], +"type": "string" +}, +"ingestionTime": { +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1ConversationEvent": { +"id": "GoogleCloudDialogflowV2beta1ConversationEvent", +"properties": { +"conversation": { +"type": "string" +}, +"errorStatus": { +"$ref": "GoogleRpcStatus" +}, +"newMessagePayload": { +"$ref": "GoogleCloudDialogflowV2beta1Message" +}, +"newRecognitionResultPayload": { +"$ref": "GoogleCloudDialogflowV2beta1StreamingRecognitionResult" +}, +"type": { +"enum": [ +"TYPE_UNSPECIFIED", +"CONVERSATION_STARTED", +"CONVERSATION_FINISHED", +"HUMAN_INTERVENTION_NEEDED", +"NEW_MESSAGE", +"NEW_RECOGNITION_RESULT", +"UNRECOVERABLE_ERROR" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"", +"" +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1ConversationPhoneNumber": { +"id": "GoogleCloudDialogflowV2beta1ConversationPhoneNumber", +"properties": { +"countryCode": { +"format": "int32", +"readOnly": true, +"type": "integer" +}, +"phoneNumber": { +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1ConversationProfile": { +"id": "GoogleCloudDialogflowV2beta1ConversationProfile", +"properties": { +"automatedAgentConfig": { +"$ref": "GoogleCloudDialogflowV2beta1AutomatedAgentConfig" +}, +"createTime": { +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"displayName": { +"type": "string" +}, +"humanAgentAssistantConfig": { +"$ref": "GoogleCloudDialogflowV2beta1HumanAgentAssistantConfig" +}, +"humanAgentHandoffConfig": { +"$ref": "GoogleCloudDialogflowV2beta1HumanAgentHandoffConfig" +}, +"languageCode": { +"type": "string" +}, +"loggingConfig": { +"$ref": "GoogleCloudDialogflowV2beta1LoggingConfig" +}, +"name": { +"type": "string" +}, +"newMessageEventNotificationConfig": { +"$ref": "GoogleCloudDialogflowV2beta1NotificationConfig" +}, +"newRecognitionResultNotificationConfig": { +"$ref": "GoogleCloudDialogflowV2beta1NotificationConfig" +}, +"notificationConfig": { +"$ref": "GoogleCloudDialogflowV2beta1NotificationConfig" +}, +"securitySettings": { +"type": "string" +}, +"sttConfig": { +"$ref": "GoogleCloudDialogflowV2beta1SpeechToTextConfig" +}, +"timeZone": { +"type": "string" +}, +"ttsConfig": { +"$ref": "GoogleCloudDialogflowV2beta1SynthesizeSpeechConfig" +}, +"updateTime": { +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"useBidiStreaming": { +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1ConversationTelephonyConnectionInfo": { +"id": "GoogleCloudDialogflowV2beta1ConversationTelephonyConnectionInfo", +"properties": { +"dialedNumber": { +"readOnly": true, +"type": "string" +}, +"extraMimeContents": { +"items": { +"$ref": "GoogleCloudDialogflowV2beta1ConversationTelephonyConnectionInfoMimeContent" +}, +"readOnly": true, +"type": "array" +}, +"sdp": { +"type": "string" +}, +"sipHeaders": { +"items": { +"$ref": "GoogleCloudDialogflowV2beta1ConversationTelephonyConnectionInfoSipHeader" +}, +"readOnly": true, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1ConversationTelephonyConnectionInfoMimeContent": { +"id": "GoogleCloudDialogflowV2beta1ConversationTelephonyConnectionInfoMimeContent", +"properties": { +"content": { +"format": "byte", +"type": "string" +}, +"mimeType": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1ConversationTelephonyConnectionInfoSipHeader": { +"id": "GoogleCloudDialogflowV2beta1ConversationTelephonyConnectionInfoSipHeader", +"properties": { +"name": { +"type": "string" +}, +"value": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1CreateMessageRequest": { +"id": "GoogleCloudDialogflowV2beta1CreateMessageRequest", +"properties": { +"message": { +"$ref": "GoogleCloudDialogflowV2beta1Message" +}, +"parent": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1CustomPronunciationParams": { +"id": "GoogleCloudDialogflowV2beta1CustomPronunciationParams", +"properties": { +"phoneticEncoding": { +"enum": [ +"PHONETIC_ENCODING_UNSPECIFIED", +"PHONETIC_ENCODING_IPA", +"PHONETIC_ENCODING_X_SAMPA" +], +"enumDescriptions": [ +"", +"", +"" +], +"type": "string" +}, +"phrase": { +"type": "string" +}, +"pronunciation": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1DetectIntentRequest": { +"id": "GoogleCloudDialogflowV2beta1DetectIntentRequest", +"properties": { +"inputAudio": { +"format": "byte", +"type": "string" +}, +"outputAudioConfig": { +"$ref": "GoogleCloudDialogflowV2beta1OutputAudioConfig" +}, +"outputAudioConfigMask": { +"format": "google-fieldmask", +"type": "string" +}, +"queryInput": { +"$ref": "GoogleCloudDialogflowV2beta1QueryInput" +}, +"queryParams": { +"$ref": "GoogleCloudDialogflowV2beta1QueryParameters" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1DetectIntentResponse": { +"id": "GoogleCloudDialogflowV2beta1DetectIntentResponse", +"properties": { +"alternativeQueryResults": { +"items": { +"$ref": "GoogleCloudDialogflowV2beta1QueryResult" +}, +"type": "array" +}, +"outputAudio": { +"format": "byte", +"type": "string" +}, +"outputAudioConfig": { +"$ref": "GoogleCloudDialogflowV2beta1OutputAudioConfig" +}, +"queryResult": { +"$ref": "GoogleCloudDialogflowV2beta1QueryResult" +}, +"responseId": { +"type": "string" +}, +"webhookStatus": { +"$ref": "GoogleRpcStatus" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1DialogflowAssistAnswer": { +"id": "GoogleCloudDialogflowV2beta1DialogflowAssistAnswer", +"properties": { +"answerRecord": { +"type": "string" +}, +"intentSuggestion": { +"$ref": "GoogleCloudDialogflowV2beta1IntentSuggestion" +}, +"queryResult": { +"$ref": "GoogleCloudDialogflowV2beta1QueryResult" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1Document": { +"id": "GoogleCloudDialogflowV2beta1Document", +"properties": { +"content": { +"deprecated": true, +"type": "string" +}, +"contentUri": { +"type": "string" +}, +"displayName": { +"type": "string" +}, +"enableAutoReload": { +"type": "boolean" +}, +"knowledgeTypes": { +"items": { +"enum": [ +"KNOWLEDGE_TYPE_UNSPECIFIED", +"FAQ", +"EXTRACTIVE_QA", +"ARTICLE_SUGGESTION", +"AGENT_FACING_SMART_REPLY", +"SMART_REPLY" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"" +], +"type": "string" +}, +"type": "array" +}, +"latestReloadStatus": { +"$ref": "GoogleCloudDialogflowV2beta1DocumentReloadStatus", +"readOnly": true +}, +"metadata": { +"additionalProperties": { +"type": "string" +}, +"type": "object" +}, +"mimeType": { +"type": "string" +}, +"name": { +"type": "string" +}, +"rawContent": { +"format": "byte", +"type": "string" +}, +"state": { +"enum": [ +"STATE_UNSPECIFIED", +"CREATING", +"ACTIVE", +"UPDATING", +"RELOADING", +"DELETING" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"" +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1DocumentReloadStatus": { +"id": "GoogleCloudDialogflowV2beta1DocumentReloadStatus", +"properties": { +"status": { +"$ref": "GoogleRpcStatus" +}, +"time": { +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1DtmfParameters": { +"id": "GoogleCloudDialogflowV2beta1DtmfParameters", +"properties": { +"acceptsDtmfInput": { +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1EncryptionSpec": { +"id": "GoogleCloudDialogflowV2beta1EncryptionSpec", +"properties": { +"kmsKey": { +"type": "string" +}, +"name": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1EntityType": { +"id": "GoogleCloudDialogflowV2beta1EntityType", +"properties": { +"autoExpansionMode": { +"enum": [ +"AUTO_EXPANSION_MODE_UNSPECIFIED", +"AUTO_EXPANSION_MODE_DEFAULT" +], +"enumDescriptions": [ +"", +"" +], +"type": "string" +}, +"displayName": { +"type": "string" +}, +"enableFuzzyExtraction": { +"type": "boolean" +}, +"entities": { +"items": { +"$ref": "GoogleCloudDialogflowV2beta1EntityTypeEntity" +}, +"type": "array" +}, +"kind": { +"enum": [ +"KIND_UNSPECIFIED", +"KIND_MAP", +"KIND_LIST", +"KIND_REGEXP" +], +"enumDescriptions": [ +"", +"", +"", +"" +], +"type": "string" +}, +"name": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1EntityTypeBatch": { +"id": "GoogleCloudDialogflowV2beta1EntityTypeBatch", +"properties": { +"entityTypes": { +"items": { +"$ref": "GoogleCloudDialogflowV2beta1EntityType" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1EntityTypeEntity": { +"id": "GoogleCloudDialogflowV2beta1EntityTypeEntity", +"properties": { +"synonyms": { +"items": { +"type": "string" +}, +"type": "array" +}, +"value": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1Environment": { +"id": "GoogleCloudDialogflowV2beta1Environment", +"properties": { +"agentVersion": { +"type": "string" +}, +"description": { +"type": "string" +}, +"fulfillment": { +"$ref": "GoogleCloudDialogflowV2beta1Fulfillment" +}, +"name": { +"readOnly": true, +"type": "string" +}, +"state": { +"enum": [ +"STATE_UNSPECIFIED", +"STOPPED", +"LOADING", +"RUNNING" +], +"enumDescriptions": [ +"", +"", +"", +"" +], +"readOnly": true, +"type": "string" +}, +"textToSpeechSettings": { +"$ref": "GoogleCloudDialogflowV2beta1TextToSpeechSettings" +}, +"updateTime": { +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1EnvironmentHistory": { +"id": "GoogleCloudDialogflowV2beta1EnvironmentHistory", +"properties": { +"entries": { +"items": { +"$ref": "GoogleCloudDialogflowV2beta1EnvironmentHistoryEntry" +}, +"readOnly": true, +"type": "array" +}, +"nextPageToken": { +"readOnly": true, +"type": "string" +}, +"parent": { +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1EnvironmentHistoryEntry": { +"id": "GoogleCloudDialogflowV2beta1EnvironmentHistoryEntry", +"properties": { +"agentVersion": { +"type": "string" +}, +"createTime": { +"format": "google-datetime", +"type": "string" +}, +"description": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1EvaluationStatus": { +"id": "GoogleCloudDialogflowV2beta1EvaluationStatus", +"properties": { +"done": { +"readOnly": true, +"type": "boolean" +}, +"pipelineStatus": { +"$ref": "GoogleRpcStatus", +"readOnly": true +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1EventInput": { +"id": "GoogleCloudDialogflowV2beta1EventInput", +"properties": { +"languageCode": { +"type": "string" +}, +"name": { +"type": "string" +}, +"parameters": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"type": "object" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1ExportAgentRequest": { +"id": "GoogleCloudDialogflowV2beta1ExportAgentRequest", +"properties": { +"agentUri": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1ExportAgentResponse": { +"id": "GoogleCloudDialogflowV2beta1ExportAgentResponse", +"properties": { +"agentContent": { +"format": "byte", +"type": "string" +}, +"agentUri": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1ExportOperationMetadata": { +"id": "GoogleCloudDialogflowV2beta1ExportOperationMetadata", +"properties": { +"exportedGcsDestination": { +"$ref": "GoogleCloudDialogflowV2beta1GcsDestination" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1FaqAnswer": { +"id": "GoogleCloudDialogflowV2beta1FaqAnswer", +"properties": { +"answer": { +"type": "string" +}, +"answerRecord": { +"type": "string" +}, +"confidence": { +"format": "float", +"type": "number" +}, +"metadata": { +"additionalProperties": { +"type": "string" +}, +"type": "object" +}, +"question": { +"type": "string" +}, +"source": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1FewShotExample": { +"id": "GoogleCloudDialogflowV2beta1FewShotExample", +"properties": { +"conversationContext": { +"$ref": "GoogleCloudDialogflowV2beta1ConversationContext" +}, +"extraInfo": { +"additionalProperties": { +"type": "string" +}, +"type": "object" +}, +"output": { +"$ref": "GoogleCloudDialogflowV2beta1GeneratorSuggestion" +}, +"summarizationSectionList": { +"$ref": "GoogleCloudDialogflowV2beta1SummarizationSectionList" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1FreeFormContext": { +"id": "GoogleCloudDialogflowV2beta1FreeFormContext", +"properties": { +"text": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1FreeFormSuggestion": { +"id": "GoogleCloudDialogflowV2beta1FreeFormSuggestion", +"properties": { +"response": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1Fulfillment": { +"id": "GoogleCloudDialogflowV2beta1Fulfillment", +"properties": { +"displayName": { +"type": "string" +}, +"enabled": { +"type": "boolean" +}, +"features": { +"items": { +"$ref": "GoogleCloudDialogflowV2beta1FulfillmentFeature" +}, +"type": "array" +}, +"genericWebService": { +"$ref": "GoogleCloudDialogflowV2beta1FulfillmentGenericWebService" +}, +"name": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1FulfillmentFeature": { +"id": "GoogleCloudDialogflowV2beta1FulfillmentFeature", +"properties": { +"type": { +"enum": [ +"TYPE_UNSPECIFIED", +"SMALLTALK" +], +"enumDescriptions": [ +"", +"" +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1FulfillmentGenericWebService": { +"id": "GoogleCloudDialogflowV2beta1FulfillmentGenericWebService", +"properties": { +"isCloudFunction": { +"deprecated": true, +"type": "boolean" +}, +"password": { +"type": "string" +}, +"requestHeaders": { +"additionalProperties": { +"type": "string" +}, +"type": "object" +}, +"uri": { +"type": "string" +}, +"username": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1GcsDestination": { +"id": "GoogleCloudDialogflowV2beta1GcsDestination", +"properties": { +"uri": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1GcsSource": { +"id": "GoogleCloudDialogflowV2beta1GcsSource", +"properties": { +"uri": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1GcsSources": { +"id": "GoogleCloudDialogflowV2beta1GcsSources", +"properties": { +"uris": { +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1GenerateStatelessSuggestionRequest": { +"id": "GoogleCloudDialogflowV2beta1GenerateStatelessSuggestionRequest", +"properties": { +"contextReferences": { +"additionalProperties": { +"$ref": "GoogleCloudDialogflowV2beta1ConversationContextReference" +}, +"type": "object" +}, +"conversationContext": { +"$ref": "GoogleCloudDialogflowV2beta1ConversationContext" +}, +"generator": { +"$ref": "GoogleCloudDialogflowV2beta1Generator" +}, +"generatorName": { +"type": "string" +}, +"securitySettings": { +"type": "string" +}, +"triggerEvents": { +"items": { +"enum": [ +"TRIGGER_EVENT_UNSPECIFIED", +"END_OF_UTTERANCE", +"MANUAL_CALL", +"CUSTOMER_MESSAGE", +"AGENT_MESSAGE" +], +"enumDescriptions": [ +"", +"", +"", +"", +"" +], +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1GenerateStatelessSuggestionResponse": { +"id": "GoogleCloudDialogflowV2beta1GenerateStatelessSuggestionResponse", +"properties": { +"generatorSuggestion": { +"$ref": "GoogleCloudDialogflowV2beta1GeneratorSuggestion" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1GenerateStatelessSummaryRequest": { +"id": "GoogleCloudDialogflowV2beta1GenerateStatelessSummaryRequest", +"properties": { +"conversationProfile": { +"$ref": "GoogleCloudDialogflowV2beta1ConversationProfile" +}, +"latestMessage": { +"type": "string" +}, +"maxContextSize": { +"format": "int32", +"type": "integer" +}, +"statelessConversation": { +"$ref": "GoogleCloudDialogflowV2beta1GenerateStatelessSummaryRequestMinimalConversation" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1GenerateStatelessSummaryRequestMinimalConversation": { +"id": "GoogleCloudDialogflowV2beta1GenerateStatelessSummaryRequestMinimalConversation", +"properties": { +"messages": { +"items": { +"$ref": "GoogleCloudDialogflowV2beta1Message" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1GenerateStatelessSummaryResponse": { +"id": "GoogleCloudDialogflowV2beta1GenerateStatelessSummaryResponse", +"properties": { +"contextSize": { +"format": "int32", +"type": "integer" +}, +"latestMessage": { +"type": "string" +}, +"summary": { +"$ref": "GoogleCloudDialogflowV2beta1GenerateStatelessSummaryResponseSummary" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1GenerateStatelessSummaryResponseSummary": { +"id": "GoogleCloudDialogflowV2beta1GenerateStatelessSummaryResponseSummary", +"properties": { +"baselineModelVersion": { +"type": "string" +}, +"text": { +"type": "string" +}, +"textSections": { +"additionalProperties": { +"type": "string" +}, +"type": "object" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1GenerateSuggestionsRequest": { +"id": "GoogleCloudDialogflowV2beta1GenerateSuggestionsRequest", +"properties": { +"latestMessage": { +"type": "string" +}, +"triggerEvents": { +"items": { +"enum": [ +"TRIGGER_EVENT_UNSPECIFIED", +"END_OF_UTTERANCE", +"MANUAL_CALL", +"CUSTOMER_MESSAGE", +"AGENT_MESSAGE" +], +"enumDescriptions": [ +"", +"", +"", +"", +"" +], +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1GenerateSuggestionsResponse": { +"id": "GoogleCloudDialogflowV2beta1GenerateSuggestionsResponse", +"properties": { +"generatorSuggestionAnswers": { +"items": { +"$ref": "GoogleCloudDialogflowV2beta1GenerateSuggestionsResponseGeneratorSuggestionAnswer" +}, +"type": "array" +}, +"latestMessage": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1GenerateSuggestionsResponseGeneratorSuggestionAnswer": { +"id": "GoogleCloudDialogflowV2beta1GenerateSuggestionsResponseGeneratorSuggestionAnswer", +"properties": { +"answerRecord": { +"type": "string" +}, +"generatorSuggestion": { +"$ref": "GoogleCloudDialogflowV2beta1GeneratorSuggestion" +}, +"sourceGenerator": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1Generator": { +"id": "GoogleCloudDialogflowV2beta1Generator", +"properties": { +"agentCoachingContext": { +"$ref": "GoogleCloudDialogflowV2beta1AgentCoachingContext" +}, +"createTime": { +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"description": { +"type": "string" +}, +"freeFormContext": { +"$ref": "GoogleCloudDialogflowV2beta1FreeFormContext" +}, +"inferenceParameter": { +"$ref": "GoogleCloudDialogflowV2beta1InferenceParameter" +}, +"name": { +"readOnly": true, +"type": "string" +}, +"publishedModel": { +"type": "string" +}, +"suggestionDedupingConfig": { +"$ref": "GoogleCloudDialogflowV2beta1SuggestionDedupingConfig" +}, +"summarizationContext": { +"$ref": "GoogleCloudDialogflowV2beta1SummarizationContext" +}, +"tools": { +"items": { +"type": "string" +}, +"type": "array" +}, +"triggerEvent": { +"enum": [ +"TRIGGER_EVENT_UNSPECIFIED", +"END_OF_UTTERANCE", +"MANUAL_CALL", +"CUSTOMER_MESSAGE", +"AGENT_MESSAGE" +], +"enumDescriptions": [ +"", +"", +"", +"", +"" +], +"type": "string" +}, +"updateTime": { +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1GeneratorEvaluation": { +"id": "GoogleCloudDialogflowV2beta1GeneratorEvaluation", +"properties": { +"completeTime": { +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"createTime": { +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"displayName": { +"type": "string" +}, +"evaluationStatus": { +"$ref": "GoogleCloudDialogflowV2beta1EvaluationStatus", +"readOnly": true +}, +"generatorEvaluationConfig": { +"$ref": "GoogleCloudDialogflowV2beta1GeneratorEvaluationConfig" +}, +"initialGenerator": { +"$ref": "GoogleCloudDialogflowV2beta1Generator" +}, +"name": { +"readOnly": true, +"type": "string" +}, +"satisfiesPzi": { +"readOnly": true, +"type": "boolean" +}, +"satisfiesPzs": { +"readOnly": true, +"type": "boolean" +}, +"summarizationMetrics": { +"$ref": "GoogleCloudDialogflowV2beta1SummarizationEvaluationMetrics", +"readOnly": true +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1GeneratorEvaluationConfig": { +"id": "GoogleCloudDialogflowV2beta1GeneratorEvaluationConfig", +"properties": { +"inputDataConfig": { +"$ref": "GoogleCloudDialogflowV2beta1GeneratorEvaluationConfigInputDataConfig" +}, +"outputGcsBucketPath": { +"type": "string" +}, +"summarizationConfig": { +"$ref": "GoogleCloudDialogflowV2beta1GeneratorEvaluationConfigSummarizationConfig" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1GeneratorEvaluationConfigAgentAssistInputDataConfig": { +"id": "GoogleCloudDialogflowV2beta1GeneratorEvaluationConfigAgentAssistInputDataConfig", +"properties": { +"endTime": { +"format": "google-datetime", +"type": "string" +}, +"startTime": { +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1GeneratorEvaluationConfigDatasetInputDataConfig": { +"id": "GoogleCloudDialogflowV2beta1GeneratorEvaluationConfigDatasetInputDataConfig", +"properties": { +"dataset": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1GeneratorEvaluationConfigInputDataConfig": { +"id": "GoogleCloudDialogflowV2beta1GeneratorEvaluationConfigInputDataConfig", +"properties": { +"agentAssistInputDataConfig": { +"$ref": "GoogleCloudDialogflowV2beta1GeneratorEvaluationConfigAgentAssistInputDataConfig" +}, +"datasetInputDataConfig": { +"$ref": "GoogleCloudDialogflowV2beta1GeneratorEvaluationConfigDatasetInputDataConfig" +}, +"endTime": { +"deprecated": true, +"format": "google-datetime", +"type": "string" +}, +"inputDataSourceType": { +"deprecated": true, +"enum": [ +"INPUT_DATA_SOURCE_TYPE_UNSPECIFIED", +"AGENT_ASSIST_CONVERSATIONS", +"INSIGHTS_CONVERSATIONS" +], +"enumDescriptions": [ +"", +"", +"" +], +"type": "string" +}, +"isSummaryGenerationAllowed": { +"deprecated": true, +"type": "boolean" +}, +"sampleSize": { +"format": "int32", +"type": "integer" +}, +"startTime": { +"deprecated": true, +"format": "google-datetime", +"type": "string" +}, +"summaryGenerationOption": { +"enum": [ +"SUMMARY_GENERATION_OPTION_UNSPECIFIED", +"ALWAYS_GENERATE", +"GENERATE_IF_MISSING", +"DO_NOT_GENERATE" +], +"enumDescriptions": [ +"", +"", +"", +"" +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1GeneratorEvaluationConfigSummarizationConfig": { +"id": "GoogleCloudDialogflowV2beta1GeneratorEvaluationConfigSummarizationConfig", +"properties": { +"accuracyEvaluationVersion": { +"deprecated": true, +"type": "string" +}, +"completenessEvaluationVersion": { +"deprecated": true, +"type": "string" +}, +"enableAccuracyEvaluation": { +"deprecated": true, +"type": "boolean" +}, +"enableCompletenessEvaluation": { +"deprecated": true, +"type": "boolean" +}, +"evaluatorVersion": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1GeneratorSuggestion": { +"id": "GoogleCloudDialogflowV2beta1GeneratorSuggestion", +"properties": { +"agentCoachingSuggestion": { +"$ref": "GoogleCloudDialogflowV2beta1AgentCoachingSuggestion" +}, +"freeFormSuggestion": { +"$ref": "GoogleCloudDialogflowV2beta1FreeFormSuggestion" +}, +"summarySuggestion": { +"$ref": "GoogleCloudDialogflowV2beta1SummarySuggestion" +}, +"toolCallInfo": { +"items": { +"$ref": "GoogleCloudDialogflowV2beta1GeneratorSuggestionToolCallInfo" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1GeneratorSuggestionToolCallInfo": { +"id": "GoogleCloudDialogflowV2beta1GeneratorSuggestionToolCallInfo", +"properties": { +"toolCall": { +"$ref": "GoogleCloudDialogflowV2beta1ToolCall" +}, +"toolCallResult": { +"$ref": "GoogleCloudDialogflowV2beta1ToolCallResult" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1HumanAgentAssistantConfig": { +"id": "GoogleCloudDialogflowV2beta1HumanAgentAssistantConfig", +"properties": { +"endUserSuggestionConfig": { +"$ref": "GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionConfig" +}, +"humanAgentSuggestionConfig": { +"$ref": "GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionConfig" +}, +"messageAnalysisConfig": { +"$ref": "GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigMessageAnalysisConfig" +}, +"notificationConfig": { +"$ref": "GoogleCloudDialogflowV2beta1NotificationConfig" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigConversationModelConfig": { +"id": "GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigConversationModelConfig", +"properties": { +"baselineModelVersion": { +"type": "string" +}, +"model": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigConversationProcessConfig": { +"id": "GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigConversationProcessConfig", +"properties": { +"recentSentencesCount": { +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigMessageAnalysisConfig": { +"id": "GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigMessageAnalysisConfig", +"properties": { +"enableEntityExtraction": { +"type": "boolean" +}, +"enableSentimentAnalysis": { +"type": "boolean" +}, +"enableSentimentAnalysisV3": { +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionConfig": { +"id": "GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionConfig", +"properties": { +"disableHighLatencyFeaturesSyncDelivery": { +"type": "boolean" +}, +"enableAsyncToolCall": { +"type": "boolean" +}, +"featureConfigs": { +"items": { +"$ref": "GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionFeatureConfig" +}, +"type": "array" +}, +"generators": { +"items": { +"type": "string" +}, +"type": "array" +}, +"groupSuggestionResponses": { +"type": "boolean" +}, +"skipEmptyEventBasedSuggestion": { +"type": "boolean" +}, +"useUnredactedConversationData": { +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionFeatureConfig": { +"id": "GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionFeatureConfig", +"properties": { +"conversationModelConfig": { +"$ref": "GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigConversationModelConfig" +}, +"conversationProcessConfig": { +"$ref": "GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigConversationProcessConfig" +}, +"disableAgentQueryLogging": { +"type": "boolean" +}, +"enableConversationAugmentedQuery": { +"type": "boolean" +}, +"enableEventBasedSuggestion": { +"type": "boolean" +}, +"enableQuerySuggestionOnly": { +"type": "boolean" +}, +"enableQuerySuggestionWhenNoAnswer": { +"type": "boolean" +}, +"enableResponseDebugInfo": { +"type": "boolean" +}, +"queryConfig": { +"$ref": "GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConfig" +}, +"raiSettings": { +"$ref": "GoogleCloudDialogflowV2beta1RaiSettings" +}, +"suggestionFeature": { +"$ref": "GoogleCloudDialogflowV2beta1SuggestionFeature" +}, +"suggestionTriggerSettings": { +"$ref": "GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionTriggerSettings" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConfig": { +"id": "GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConfig", +"properties": { +"confidenceThreshold": { +"format": "float", +"type": "number" +}, +"contextFilterSettings": { +"$ref": "GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConfigContextFilterSettings" +}, +"contextSize": { +"format": "int32", +"type": "integer" +}, +"dialogflowQuerySource": { +"$ref": "GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConfigDialogflowQuerySource" +}, +"documentQuerySource": { +"$ref": "GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConfigDocumentQuerySource" +}, +"knowledgeBaseQuerySource": { +"$ref": "GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConfigKnowledgeBaseQuerySource" +}, +"maxResults": { +"format": "int32", +"type": "integer" +}, +"sections": { +"$ref": "GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConfigSections" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConfigContextFilterSettings": { +"id": "GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConfigContextFilterSettings", +"properties": { +"dropHandoffMessages": { +"type": "boolean" +}, +"dropIvrMessages": { +"type": "boolean" +}, +"dropVirtualAgentMessages": { +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConfigDialogflowQuerySource": { +"id": "GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConfigDialogflowQuerySource", +"properties": { +"agent": { +"type": "string" +}, +"humanAgentSideConfig": { +"$ref": "GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConfigDialogflowQuerySourceHumanAgentSideConfig" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConfigDialogflowQuerySourceHumanAgentSideConfig": { +"id": "GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConfigDialogflowQuerySourceHumanAgentSideConfig", +"properties": { +"agent": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConfigDocumentQuerySource": { +"id": "GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConfigDocumentQuerySource", +"properties": { +"documents": { +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConfigKnowledgeBaseQuerySource": { +"id": "GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConfigKnowledgeBaseQuerySource", +"properties": { +"knowledgeBases": { +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConfigSections": { +"id": "GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConfigSections", +"properties": { +"sectionTypes": { +"items": { +"enum": [ +"SECTION_TYPE_UNSPECIFIED", +"SITUATION", +"ACTION", +"RESOLUTION", +"REASON_FOR_CANCELLATION", +"CUSTOMER_SATISFACTION", +"ENTITIES" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"", +"" +], +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionTriggerSettings": { +"id": "GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionTriggerSettings", +"properties": { +"noSmallTalk": { +"type": "boolean" +}, +"onlyEndUser": { +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1HumanAgentAssistantEvent": { +"id": "GoogleCloudDialogflowV2beta1HumanAgentAssistantEvent", +"properties": { +"conversation": { +"type": "string" +}, +"participant": { +"type": "string" +}, +"suggestionResults": { +"items": { +"$ref": "GoogleCloudDialogflowV2beta1SuggestionResult" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1HumanAgentHandoffConfig": { +"id": "GoogleCloudDialogflowV2beta1HumanAgentHandoffConfig", +"properties": { +"livePersonConfig": { +"$ref": "GoogleCloudDialogflowV2beta1HumanAgentHandoffConfigLivePersonConfig" +}, +"salesforceLiveAgentConfig": { +"$ref": "GoogleCloudDialogflowV2beta1HumanAgentHandoffConfigSalesforceLiveAgentConfig" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1HumanAgentHandoffConfigLivePersonConfig": { +"id": "GoogleCloudDialogflowV2beta1HumanAgentHandoffConfigLivePersonConfig", +"properties": { +"accountNumber": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1HumanAgentHandoffConfigSalesforceLiveAgentConfig": { +"id": "GoogleCloudDialogflowV2beta1HumanAgentHandoffConfigSalesforceLiveAgentConfig", +"properties": { +"buttonId": { +"type": "string" +}, +"deploymentId": { +"type": "string" +}, +"endpointDomain": { +"type": "string" +}, +"organizationId": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1ImportAgentRequest": { +"id": "GoogleCloudDialogflowV2beta1ImportAgentRequest", +"properties": { +"agentContent": { +"format": "byte", +"type": "string" +}, +"agentUri": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1ImportDocumentTemplate": { +"id": "GoogleCloudDialogflowV2beta1ImportDocumentTemplate", +"properties": { +"knowledgeTypes": { +"items": { +"enum": [ +"KNOWLEDGE_TYPE_UNSPECIFIED", +"FAQ", +"EXTRACTIVE_QA", +"ARTICLE_SUGGESTION", +"AGENT_FACING_SMART_REPLY", +"SMART_REPLY" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"" +], +"type": "string" +}, +"type": "array" +}, +"metadata": { +"additionalProperties": { +"type": "string" +}, +"type": "object" +}, +"mimeType": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1ImportDocumentsRequest": { +"id": "GoogleCloudDialogflowV2beta1ImportDocumentsRequest", +"properties": { +"documentTemplate": { +"$ref": "GoogleCloudDialogflowV2beta1ImportDocumentTemplate" +}, +"gcsSource": { +"$ref": "GoogleCloudDialogflowV2beta1GcsSources" +}, +"importGcsCustomMetadata": { +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1ImportDocumentsResponse": { +"id": "GoogleCloudDialogflowV2beta1ImportDocumentsResponse", +"properties": { +"warnings": { +"items": { +"$ref": "GoogleRpcStatus" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1InferenceParameter": { +"id": "GoogleCloudDialogflowV2beta1InferenceParameter", +"properties": { +"maxOutputTokens": { +"format": "int32", +"type": "integer" +}, +"temperature": { +"format": "double", +"type": "number" +}, +"topK": { +"format": "int32", +"type": "integer" +}, +"topP": { +"format": "double", +"type": "number" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1IngestContextReferencesRequest": { +"id": "GoogleCloudDialogflowV2beta1IngestContextReferencesRequest", +"properties": { +"contextReferences": { +"additionalProperties": { +"$ref": "GoogleCloudDialogflowV2beta1ConversationContextReference" +}, +"type": "object" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1IngestContextReferencesResponse": { +"id": "GoogleCloudDialogflowV2beta1IngestContextReferencesResponse", +"properties": { +"ingestedContextReferences": { +"additionalProperties": { +"$ref": "GoogleCloudDialogflowV2beta1ConversationContextReference" +}, +"type": "object" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1IngestedContextReferenceDebugInfo": { +"id": "GoogleCloudDialogflowV2beta1IngestedContextReferenceDebugInfo", +"properties": { +"contextReferenceRetrieved": { +"type": "boolean" +}, +"ingestedParametersDebugInfo": { +"items": { +"$ref": "GoogleCloudDialogflowV2beta1IngestedContextReferenceDebugInfoIngestedParameterDebugInfo" +}, +"type": "array" +}, +"projectNotAllowlisted": { +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1IngestedContextReferenceDebugInfoIngestedParameterDebugInfo": { +"id": "GoogleCloudDialogflowV2beta1IngestedContextReferenceDebugInfoIngestedParameterDebugInfo", +"properties": { +"ingestionStatus": { +"enum": [ +"INGESTION_STATUS_UNSPECIFIED", +"INGESTION_STATUS_SUCCEEDED", +"INGESTION_STATUS_CONTEXT_NOT_AVAILABLE", +"INGESTION_STATUS_PARSE_FAILED", +"INGESTION_STATUS_INVALID_ENTRY", +"INGESTION_STATUS_INVALID_FORMAT", +"INGESTION_STATUS_LANGUAGE_MISMATCH" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"", +"" +], +"type": "string" +}, +"parameter": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1InitializeEncryptionSpecMetadata": { +"id": "GoogleCloudDialogflowV2beta1InitializeEncryptionSpecMetadata", +"properties": { +"request": { +"$ref": "GoogleCloudDialogflowV2beta1InitializeEncryptionSpecRequest", +"readOnly": true +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1InitializeEncryptionSpecRequest": { +"id": "GoogleCloudDialogflowV2beta1InitializeEncryptionSpecRequest", +"properties": { +"encryptionSpec": { +"$ref": "GoogleCloudDialogflowV2beta1EncryptionSpec" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1InputAudioConfig": { +"id": "GoogleCloudDialogflowV2beta1InputAudioConfig", +"properties": { +"audioEncoding": { +"enum": [ +"AUDIO_ENCODING_UNSPECIFIED", +"AUDIO_ENCODING_LINEAR_16", +"AUDIO_ENCODING_FLAC", +"AUDIO_ENCODING_MULAW", +"AUDIO_ENCODING_AMR", +"AUDIO_ENCODING_AMR_WB", +"AUDIO_ENCODING_OGG_OPUS", +"AUDIO_ENCODING_SPEEX_WITH_HEADER_BYTE", +"AUDIO_ENCODING_ALAW" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"", +"", +"", +"" +], +"type": "string" +}, +"bargeInConfig": { +"$ref": "GoogleCloudDialogflowV2beta1BargeInConfig" +}, +"defaultNoSpeechTimeout": { +"format": "google-duration", +"type": "string" +}, +"disableNoSpeechRecognizedEvent": { +"type": "boolean" +}, +"enableAutomaticPunctuation": { +"type": "boolean" +}, +"enableWordInfo": { +"type": "boolean" +}, +"languageCode": { +"type": "string" +}, +"model": { +"type": "string" +}, +"modelVariant": { +"enum": [ +"SPEECH_MODEL_VARIANT_UNSPECIFIED", +"USE_BEST_AVAILABLE", +"USE_STANDARD", +"USE_ENHANCED" +], +"enumDescriptions": [ +"", +"", +"", +"" +], +"type": "string" +}, +"optOutConformerModelMigration": { +"type": "boolean" +}, +"phraseHints": { +"deprecated": true, +"items": { +"type": "string" +}, +"type": "array" +}, +"phraseSets": { +"items": { +"type": "string" +}, +"type": "array" +}, +"sampleRateHertz": { +"format": "int32", +"type": "integer" +}, +"singleUtterance": { +"type": "boolean" +}, +"speechContexts": { +"items": { +"$ref": "GoogleCloudDialogflowV2beta1SpeechContext" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1Intent": { +"id": "GoogleCloudDialogflowV2beta1Intent", +"properties": { +"action": { +"type": "string" +}, +"defaultResponsePlatforms": { +"items": { +"enum": [ +"PLATFORM_UNSPECIFIED", +"FACEBOOK", +"SLACK", +"TELEGRAM", +"KIK", +"SKYPE", +"LINE", +"VIBER", +"ACTIONS_ON_GOOGLE", +"TELEPHONY", +"GOOGLE_HANGOUTS" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"" +], +"type": "string" +}, +"type": "array" +}, +"displayName": { +"type": "string" +}, +"endInteraction": { +"type": "boolean" +}, +"events": { +"items": { +"type": "string" +}, +"type": "array" +}, +"followupIntentInfo": { +"items": { +"$ref": "GoogleCloudDialogflowV2beta1IntentFollowupIntentInfo" +}, +"readOnly": true, +"type": "array" +}, +"inputContextNames": { +"items": { +"type": "string" +}, +"type": "array" +}, +"isFallback": { +"type": "boolean" +}, +"liveAgentHandoff": { +"type": "boolean" +}, +"messages": { +"items": { +"$ref": "GoogleCloudDialogflowV2beta1IntentMessage" +}, +"type": "array" +}, +"mlDisabled": { +"type": "boolean" +}, +"mlEnabled": { +"deprecated": true, +"type": "boolean" +}, +"name": { +"type": "string" +}, +"outputContexts": { +"items": { +"$ref": "GoogleCloudDialogflowV2beta1Context" +}, +"type": "array" +}, +"parameters": { +"items": { +"$ref": "GoogleCloudDialogflowV2beta1IntentParameter" +}, +"type": "array" +}, +"parentFollowupIntentName": { +"type": "string" +}, +"priority": { +"format": "int32", +"type": "integer" +}, +"resetContexts": { +"type": "boolean" +}, +"rootFollowupIntentName": { +"readOnly": true, +"type": "string" +}, +"trainingPhrases": { +"items": { +"$ref": "GoogleCloudDialogflowV2beta1IntentTrainingPhrase" +}, +"type": "array" +}, +"webhookState": { +"enum": [ +"WEBHOOK_STATE_UNSPECIFIED", +"WEBHOOK_STATE_ENABLED", +"WEBHOOK_STATE_ENABLED_FOR_SLOT_FILLING" +], +"enumDescriptions": [ +"", +"", +"" +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1IntentBatch": { +"id": "GoogleCloudDialogflowV2beta1IntentBatch", +"properties": { +"intents": { +"items": { +"$ref": "GoogleCloudDialogflowV2beta1Intent" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1IntentFollowupIntentInfo": { +"id": "GoogleCloudDialogflowV2beta1IntentFollowupIntentInfo", +"properties": { +"followupIntentName": { +"type": "string" +}, +"parentFollowupIntentName": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1IntentInput": { +"id": "GoogleCloudDialogflowV2beta1IntentInput", +"properties": { +"intent": { +"type": "string" +}, +"languageCode": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1IntentMessage": { +"id": "GoogleCloudDialogflowV2beta1IntentMessage", +"properties": { +"basicCard": { +"$ref": "GoogleCloudDialogflowV2beta1IntentMessageBasicCard" +}, +"browseCarouselCard": { +"$ref": "GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCard" +}, +"card": { +"$ref": "GoogleCloudDialogflowV2beta1IntentMessageCard" +}, +"carouselSelect": { +"$ref": "GoogleCloudDialogflowV2beta1IntentMessageCarouselSelect" +}, +"image": { +"$ref": "GoogleCloudDialogflowV2beta1IntentMessageImage" +}, +"linkOutSuggestion": { +"$ref": "GoogleCloudDialogflowV2beta1IntentMessageLinkOutSuggestion" +}, +"listSelect": { +"$ref": "GoogleCloudDialogflowV2beta1IntentMessageListSelect" +}, +"mediaContent": { +"$ref": "GoogleCloudDialogflowV2beta1IntentMessageMediaContent" +}, +"payload": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"type": "object" +}, +"platform": { +"enum": [ +"PLATFORM_UNSPECIFIED", +"FACEBOOK", +"SLACK", +"TELEGRAM", +"KIK", +"SKYPE", +"LINE", +"VIBER", +"ACTIONS_ON_GOOGLE", +"TELEPHONY", +"GOOGLE_HANGOUTS" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"" +], +"type": "string" +}, +"quickReplies": { +"$ref": "GoogleCloudDialogflowV2beta1IntentMessageQuickReplies" +}, +"rbmCarouselRichCard": { +"$ref": "GoogleCloudDialogflowV2beta1IntentMessageRbmCarouselCard" +}, +"rbmStandaloneRichCard": { +"$ref": "GoogleCloudDialogflowV2beta1IntentMessageRbmStandaloneCard" +}, +"rbmText": { +"$ref": "GoogleCloudDialogflowV2beta1IntentMessageRbmText" +}, +"simpleResponses": { +"$ref": "GoogleCloudDialogflowV2beta1IntentMessageSimpleResponses" +}, +"suggestions": { +"$ref": "GoogleCloudDialogflowV2beta1IntentMessageSuggestions" +}, +"tableCard": { +"$ref": "GoogleCloudDialogflowV2beta1IntentMessageTableCard" +}, +"telephonyPlayAudio": { +"$ref": "GoogleCloudDialogflowV2beta1IntentMessageTelephonyPlayAudio" +}, +"telephonySynthesizeSpeech": { +"$ref": "GoogleCloudDialogflowV2beta1IntentMessageTelephonySynthesizeSpeech" +}, +"telephonyTransferCall": { +"$ref": "GoogleCloudDialogflowV2beta1IntentMessageTelephonyTransferCall" +}, +"text": { +"$ref": "GoogleCloudDialogflowV2beta1IntentMessageText" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1IntentMessageBasicCard": { +"id": "GoogleCloudDialogflowV2beta1IntentMessageBasicCard", +"properties": { +"buttons": { +"items": { +"$ref": "GoogleCloudDialogflowV2beta1IntentMessageBasicCardButton" +}, +"type": "array" +}, +"formattedText": { +"type": "string" +}, +"image": { +"$ref": "GoogleCloudDialogflowV2beta1IntentMessageImage" +}, +"subtitle": { +"type": "string" +}, +"title": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1IntentMessageBasicCardButton": { +"id": "GoogleCloudDialogflowV2beta1IntentMessageBasicCardButton", +"properties": { +"openUriAction": { +"$ref": "GoogleCloudDialogflowV2beta1IntentMessageBasicCardButtonOpenUriAction" +}, +"title": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1IntentMessageBasicCardButtonOpenUriAction": { +"id": "GoogleCloudDialogflowV2beta1IntentMessageBasicCardButtonOpenUriAction", +"properties": { +"uri": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCard": { +"id": "GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCard", +"properties": { +"imageDisplayOptions": { +"enum": [ +"IMAGE_DISPLAY_OPTIONS_UNSPECIFIED", +"GRAY", +"WHITE", +"CROPPED", +"BLURRED_BACKGROUND" +], +"enumDescriptions": [ +"", +"", +"", +"", +"" +], +"type": "string" +}, +"items": { +"items": { +"$ref": "GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardBrowseCarouselCardItem" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardBrowseCarouselCardItem": { +"id": "GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardBrowseCarouselCardItem", +"properties": { +"description": { +"type": "string" +}, +"footer": { +"type": "string" +}, +"image": { +"$ref": "GoogleCloudDialogflowV2beta1IntentMessageImage" +}, +"openUriAction": { +"$ref": "GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardBrowseCarouselCardItemOpenUrlAction" +}, +"title": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardBrowseCarouselCardItemOpenUrlAction": { +"id": "GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardBrowseCarouselCardItemOpenUrlAction", +"properties": { +"url": { +"type": "string" +}, +"urlTypeHint": { +"enum": [ +"URL_TYPE_HINT_UNSPECIFIED", +"AMP_ACTION", +"AMP_CONTENT" +], +"enumDescriptions": [ +"", +"", +"" +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1IntentMessageCard": { +"id": "GoogleCloudDialogflowV2beta1IntentMessageCard", +"properties": { +"buttons": { +"items": { +"$ref": "GoogleCloudDialogflowV2beta1IntentMessageCardButton" +}, +"type": "array" +}, +"imageUri": { +"type": "string" +}, +"subtitle": { +"type": "string" +}, +"title": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1IntentMessageCardButton": { +"id": "GoogleCloudDialogflowV2beta1IntentMessageCardButton", +"properties": { +"postback": { +"type": "string" +}, +"text": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1IntentMessageCarouselSelect": { +"id": "GoogleCloudDialogflowV2beta1IntentMessageCarouselSelect", +"properties": { +"items": { +"items": { +"$ref": "GoogleCloudDialogflowV2beta1IntentMessageCarouselSelectItem" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1IntentMessageCarouselSelectItem": { +"id": "GoogleCloudDialogflowV2beta1IntentMessageCarouselSelectItem", +"properties": { +"description": { +"type": "string" +}, +"image": { +"$ref": "GoogleCloudDialogflowV2beta1IntentMessageImage" +}, +"info": { +"$ref": "GoogleCloudDialogflowV2beta1IntentMessageSelectItemInfo" +}, +"title": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1IntentMessageColumnProperties": { +"id": "GoogleCloudDialogflowV2beta1IntentMessageColumnProperties", +"properties": { +"header": { +"type": "string" +}, +"horizontalAlignment": { +"enum": [ +"HORIZONTAL_ALIGNMENT_UNSPECIFIED", +"LEADING", +"CENTER", +"TRAILING" +], +"enumDescriptions": [ +"", +"", +"", +"" +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1IntentMessageImage": { +"id": "GoogleCloudDialogflowV2beta1IntentMessageImage", +"properties": { +"accessibilityText": { +"type": "string" +}, +"imageUri": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1IntentMessageLinkOutSuggestion": { +"id": "GoogleCloudDialogflowV2beta1IntentMessageLinkOutSuggestion", +"properties": { +"destinationName": { +"type": "string" +}, +"uri": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1IntentMessageListSelect": { +"id": "GoogleCloudDialogflowV2beta1IntentMessageListSelect", +"properties": { +"items": { +"items": { +"$ref": "GoogleCloudDialogflowV2beta1IntentMessageListSelectItem" +}, +"type": "array" +}, +"subtitle": { +"type": "string" +}, +"title": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1IntentMessageListSelectItem": { +"id": "GoogleCloudDialogflowV2beta1IntentMessageListSelectItem", +"properties": { +"description": { +"type": "string" +}, +"image": { +"$ref": "GoogleCloudDialogflowV2beta1IntentMessageImage" +}, +"info": { +"$ref": "GoogleCloudDialogflowV2beta1IntentMessageSelectItemInfo" +}, +"title": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1IntentMessageMediaContent": { +"id": "GoogleCloudDialogflowV2beta1IntentMessageMediaContent", +"properties": { +"mediaObjects": { +"items": { +"$ref": "GoogleCloudDialogflowV2beta1IntentMessageMediaContentResponseMediaObject" +}, +"type": "array" +}, +"mediaType": { +"enum": [ +"RESPONSE_MEDIA_TYPE_UNSPECIFIED", +"AUDIO" +], +"enumDescriptions": [ +"", +"" +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1IntentMessageMediaContentResponseMediaObject": { +"id": "GoogleCloudDialogflowV2beta1IntentMessageMediaContentResponseMediaObject", +"properties": { +"contentUrl": { +"type": "string" +}, +"description": { +"type": "string" +}, +"icon": { +"$ref": "GoogleCloudDialogflowV2beta1IntentMessageImage" +}, +"largeImage": { +"$ref": "GoogleCloudDialogflowV2beta1IntentMessageImage" +}, +"name": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1IntentMessageQuickReplies": { +"id": "GoogleCloudDialogflowV2beta1IntentMessageQuickReplies", +"properties": { +"quickReplies": { +"items": { +"type": "string" +}, +"type": "array" +}, +"title": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1IntentMessageRbmCardContent": { +"id": "GoogleCloudDialogflowV2beta1IntentMessageRbmCardContent", +"properties": { +"description": { +"type": "string" +}, +"media": { +"$ref": "GoogleCloudDialogflowV2beta1IntentMessageRbmCardContentRbmMedia" +}, +"suggestions": { +"items": { +"$ref": "GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestion" +}, +"type": "array" +}, +"title": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1IntentMessageRbmCardContentRbmMedia": { +"id": "GoogleCloudDialogflowV2beta1IntentMessageRbmCardContentRbmMedia", +"properties": { +"fileUri": { +"type": "string" +}, +"height": { +"enum": [ +"HEIGHT_UNSPECIFIED", +"SHORT", +"MEDIUM", +"TALL" +], +"enumDescriptions": [ +"", +"", +"", +"" +], +"type": "string" +}, +"thumbnailUri": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1IntentMessageRbmCarouselCard": { +"id": "GoogleCloudDialogflowV2beta1IntentMessageRbmCarouselCard", +"properties": { +"cardContents": { +"items": { +"$ref": "GoogleCloudDialogflowV2beta1IntentMessageRbmCardContent" +}, +"type": "array" +}, +"cardWidth": { +"enum": [ +"CARD_WIDTH_UNSPECIFIED", +"SMALL", +"MEDIUM" +], +"enumDescriptions": [ +"", +"", +"" +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1IntentMessageRbmStandaloneCard": { +"id": "GoogleCloudDialogflowV2beta1IntentMessageRbmStandaloneCard", +"properties": { +"cardContent": { +"$ref": "GoogleCloudDialogflowV2beta1IntentMessageRbmCardContent" +}, +"cardOrientation": { +"enum": [ +"CARD_ORIENTATION_UNSPECIFIED", +"HORIZONTAL", +"VERTICAL" +], +"enumDescriptions": [ +"", +"", +"" +], +"type": "string" +}, +"thumbnailImageAlignment": { +"enum": [ +"THUMBNAIL_IMAGE_ALIGNMENT_UNSPECIFIED", +"LEFT", +"RIGHT" +], +"enumDescriptions": [ +"", +"", +"" +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedAction": { +"id": "GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedAction", +"properties": { +"dial": { +"$ref": "GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionDial" +}, +"openUrl": { +"$ref": "GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionOpenUri" +}, +"postbackData": { +"type": "string" +}, +"shareLocation": { +"$ref": "GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionShareLocation" +}, +"text": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionDial": { +"id": "GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionDial", +"properties": { +"phoneNumber": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionOpenUri": { +"id": "GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionOpenUri", +"properties": { +"uri": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionShareLocation": { +"id": "GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionShareLocation", +"properties": {}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedReply": { +"id": "GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedReply", +"properties": { +"postbackData": { +"type": "string" +}, +"text": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestion": { +"id": "GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestion", +"properties": { +"action": { +"$ref": "GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedAction" +}, +"reply": { +"$ref": "GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedReply" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1IntentMessageRbmText": { +"id": "GoogleCloudDialogflowV2beta1IntentMessageRbmText", +"properties": { +"rbmSuggestion": { +"items": { +"$ref": "GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestion" +}, +"type": "array" +}, +"text": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1IntentMessageSelectItemInfo": { +"id": "GoogleCloudDialogflowV2beta1IntentMessageSelectItemInfo", +"properties": { +"key": { +"type": "string" +}, +"synonyms": { +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1IntentMessageSimpleResponse": { +"id": "GoogleCloudDialogflowV2beta1IntentMessageSimpleResponse", +"properties": { +"displayText": { +"type": "string" +}, +"ssml": { +"type": "string" +}, +"textToSpeech": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1IntentMessageSimpleResponses": { +"id": "GoogleCloudDialogflowV2beta1IntentMessageSimpleResponses", +"properties": { +"simpleResponses": { +"items": { +"$ref": "GoogleCloudDialogflowV2beta1IntentMessageSimpleResponse" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1IntentMessageSuggestion": { +"id": "GoogleCloudDialogflowV2beta1IntentMessageSuggestion", +"properties": { +"title": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1IntentMessageSuggestions": { +"id": "GoogleCloudDialogflowV2beta1IntentMessageSuggestions", +"properties": { +"suggestions": { +"items": { +"$ref": "GoogleCloudDialogflowV2beta1IntentMessageSuggestion" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1IntentMessageTableCard": { +"id": "GoogleCloudDialogflowV2beta1IntentMessageTableCard", +"properties": { +"buttons": { +"items": { +"$ref": "GoogleCloudDialogflowV2beta1IntentMessageBasicCardButton" +}, +"type": "array" +}, +"columnProperties": { +"items": { +"$ref": "GoogleCloudDialogflowV2beta1IntentMessageColumnProperties" +}, +"type": "array" +}, +"image": { +"$ref": "GoogleCloudDialogflowV2beta1IntentMessageImage" +}, +"rows": { +"items": { +"$ref": "GoogleCloudDialogflowV2beta1IntentMessageTableCardRow" +}, +"type": "array" +}, +"subtitle": { +"type": "string" +}, +"title": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1IntentMessageTableCardCell": { +"id": "GoogleCloudDialogflowV2beta1IntentMessageTableCardCell", +"properties": { +"text": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1IntentMessageTableCardRow": { +"id": "GoogleCloudDialogflowV2beta1IntentMessageTableCardRow", +"properties": { +"cells": { +"items": { +"$ref": "GoogleCloudDialogflowV2beta1IntentMessageTableCardCell" +}, +"type": "array" +}, +"dividerAfter": { +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1IntentMessageTelephonyPlayAudio": { +"id": "GoogleCloudDialogflowV2beta1IntentMessageTelephonyPlayAudio", +"properties": { +"audioUri": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1IntentMessageTelephonySynthesizeSpeech": { +"id": "GoogleCloudDialogflowV2beta1IntentMessageTelephonySynthesizeSpeech", +"properties": { +"ssml": { +"type": "string" +}, +"text": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1IntentMessageTelephonyTransferCall": { +"id": "GoogleCloudDialogflowV2beta1IntentMessageTelephonyTransferCall", +"properties": { +"phoneNumber": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1IntentMessageText": { +"id": "GoogleCloudDialogflowV2beta1IntentMessageText", +"properties": { +"text": { +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1IntentParameter": { +"id": "GoogleCloudDialogflowV2beta1IntentParameter", +"properties": { +"defaultValue": { +"type": "string" +}, +"displayName": { +"type": "string" +}, +"entityTypeDisplayName": { +"type": "string" +}, +"isList": { +"type": "boolean" +}, +"mandatory": { +"type": "boolean" +}, +"name": { +"type": "string" +}, +"prompts": { +"items": { +"type": "string" +}, +"type": "array" +}, +"value": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1IntentSuggestion": { +"id": "GoogleCloudDialogflowV2beta1IntentSuggestion", +"properties": { +"description": { +"type": "string" +}, +"displayName": { +"type": "string" +}, +"intentV2": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1IntentTrainingPhrase": { +"id": "GoogleCloudDialogflowV2beta1IntentTrainingPhrase", +"properties": { +"name": { +"readOnly": true, +"type": "string" +}, +"parts": { +"items": { +"$ref": "GoogleCloudDialogflowV2beta1IntentTrainingPhrasePart" +}, +"type": "array" +}, +"timesAddedCount": { +"format": "int32", +"type": "integer" +}, +"type": { +"enum": [ +"TYPE_UNSPECIFIED", +"EXAMPLE", +"TEMPLATE" +], +"enumDeprecated": [ +false, +false, +true +], +"enumDescriptions": [ +"", +"", +"" +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1IntentTrainingPhrasePart": { +"id": "GoogleCloudDialogflowV2beta1IntentTrainingPhrasePart", +"properties": { +"alias": { +"type": "string" +}, +"entityType": { +"type": "string" +}, +"text": { +"type": "string" +}, +"userDefined": { +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1KnowledgeAnswers": { +"id": "GoogleCloudDialogflowV2beta1KnowledgeAnswers", +"properties": { +"answers": { +"items": { +"$ref": "GoogleCloudDialogflowV2beta1KnowledgeAnswersAnswer" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1KnowledgeAnswersAnswer": { +"id": "GoogleCloudDialogflowV2beta1KnowledgeAnswersAnswer", +"properties": { +"answer": { +"type": "string" +}, +"faqQuestion": { +"type": "string" +}, +"matchConfidence": { +"format": "float", +"type": "number" +}, +"matchConfidenceLevel": { +"enum": [ +"MATCH_CONFIDENCE_LEVEL_UNSPECIFIED", +"LOW", +"MEDIUM", +"HIGH" +], +"enumDescriptions": [ +"", +"", +"", +"" +], +"type": "string" +}, +"source": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1KnowledgeAssistAnswer": { +"id": "GoogleCloudDialogflowV2beta1KnowledgeAssistAnswer", +"properties": { +"answerRecord": { +"type": "string" +}, +"knowledgeAssistDebugInfo": { +"$ref": "GoogleCloudDialogflowV2beta1KnowledgeAssistDebugInfo" +}, +"suggestedQuery": { +"$ref": "GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerSuggestedQuery" +}, +"suggestedQueryAnswer": { +"$ref": "GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerKnowledgeAnswer" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerKnowledgeAnswer": { +"id": "GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerKnowledgeAnswer", +"properties": { +"answerText": { +"type": "string" +}, +"faqSource": { +"$ref": "GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerKnowledgeAnswerFaqSource" +}, +"generativeSource": { +"$ref": "GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerKnowledgeAnswerGenerativeSource" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerKnowledgeAnswerFaqSource": { +"id": "GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerKnowledgeAnswerFaqSource", +"properties": { +"question": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerKnowledgeAnswerGenerativeSource": { +"id": "GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerKnowledgeAnswerGenerativeSource", +"properties": { +"snippets": { +"items": { +"$ref": "GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerKnowledgeAnswerGenerativeSourceSnippet" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerKnowledgeAnswerGenerativeSourceSnippet": { +"id": "GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerKnowledgeAnswerGenerativeSourceSnippet", +"properties": { +"metadata": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"type": "object" +}, +"text": { +"type": "string" +}, +"title": { +"type": "string" +}, +"uri": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerSuggestedQuery": { +"id": "GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerSuggestedQuery", +"properties": { +"queryText": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1KnowledgeAssistDebugInfo": { +"id": "GoogleCloudDialogflowV2beta1KnowledgeAssistDebugInfo", +"properties": { +"datastoreResponseReason": { +"enum": [ +"DATASTORE_RESPONSE_REASON_UNSPECIFIED", +"NONE", +"SEARCH_OUT_OF_QUOTA", +"SEARCH_EMPTY_RESULTS", +"ANSWER_GENERATION_GEN_AI_DISABLED", +"ANSWER_GENERATION_OUT_OF_QUOTA", +"ANSWER_GENERATION_ERROR", +"ANSWER_GENERATION_NOT_ENOUGH_INFO", +"ANSWER_GENERATION_RAI_FAILED", +"ANSWER_GENERATION_NOT_GROUNDED" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"", +"", +"", +"", +"" +], +"type": "string" +}, +"ingestedContextReferenceDebugInfo": { +"$ref": "GoogleCloudDialogflowV2beta1IngestedContextReferenceDebugInfo" +}, +"knowledgeAssistBehavior": { +"$ref": "GoogleCloudDialogflowV2beta1KnowledgeAssistDebugInfoKnowledgeAssistBehavior" +}, +"queryCategorizationFailureReason": { +"enum": [ +"QUERY_CATEGORIZATION_FAILURE_REASON_UNSPECIFIED", +"QUERY_CATEGORIZATION_INVALID_CONFIG", +"QUERY_CATEGORIZATION_RESULT_NOT_FOUND", +"QUERY_CATEGORIZATION_FAILED" +], +"enumDescriptions": [ +"", +"", +"", +"" +], +"type": "string" +}, +"queryGenerationFailureReason": { +"enum": [ +"QUERY_GENERATION_FAILURE_REASON_UNSPECIFIED", +"QUERY_GENERATION_OUT_OF_QUOTA", +"QUERY_GENERATION_FAILED", +"QUERY_GENERATION_NO_QUERY_GENERATED", +"QUERY_GENERATION_RAI_FAILED", +"NOT_IN_ALLOWLIST", +"QUERY_GENERATION_QUERY_REDACTED", +"QUERY_GENERATION_LLM_RESPONSE_PARSE_FAILED", +"QUERY_GENERATION_EMPTY_CONVERSATION", +"QUERY_GENERATION_EMPTY_LAST_MESSAGE", +"QUERY_GENERATION_TRIGGERING_EVENT_CONDITION_NOT_MET" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"" +], +"type": "string" +}, +"serviceLatency": { +"$ref": "GoogleCloudDialogflowV2beta1ServiceLatency" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1KnowledgeAssistDebugInfoKnowledgeAssistBehavior": { +"id": "GoogleCloudDialogflowV2beta1KnowledgeAssistDebugInfoKnowledgeAssistBehavior", +"properties": { +"answerGenerationRewriterOn": { +"type": "boolean" +}, +"appendedSearchContextCount": { +"format": "int32", +"type": "integer" +}, +"conversationTranscriptHasMixedLanguages": { +"type": "boolean" +}, +"disableSyncDelivery": { +"type": "boolean" +}, +"endUserMetadataIncluded": { +"type": "boolean" +}, +"invalidItemsQuerySuggestionSkipped": { +"type": "boolean" +}, +"multipleQueriesGenerated": { +"type": "boolean" +}, +"previousQueriesIncluded": { +"type": "boolean" +}, +"primaryQueryRedactedAndReplaced": { +"type": "boolean" +}, +"queryContainedSearchContext": { +"type": "boolean" +}, +"queryGenerationAgentLanguageMismatch": { +"type": "boolean" +}, +"queryGenerationEndUserLanguageMismatch": { +"type": "boolean" +}, +"returnQueryOnly": { +"type": "boolean" +}, +"thirdPartyConnectorAllowed": { +"type": "boolean" +}, +"useCustomSafetyFilterLevel": { +"type": "boolean" +}, +"usePubsubDelivery": { +"type": "boolean" +}, +"useTranslatedMessage": { +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1KnowledgeBase": { +"id": "GoogleCloudDialogflowV2beta1KnowledgeBase", +"properties": { +"displayName": { +"type": "string" +}, +"languageCode": { +"type": "string" +}, +"name": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1KnowledgeOperationMetadata": { +"id": "GoogleCloudDialogflowV2beta1KnowledgeOperationMetadata", +"properties": { +"doneTime": { +"format": "google-datetime", +"type": "string" +}, +"exportOperationMetadata": { +"$ref": "GoogleCloudDialogflowV2beta1ExportOperationMetadata" +}, +"knowledgeBase": { +"type": "string" +}, +"state": { +"enum": [ +"STATE_UNSPECIFIED", +"PENDING", +"RUNNING", +"DONE" +], +"enumDescriptions": [ +"", +"", +"", +"" +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1ListAnswerRecordsResponse": { +"id": "GoogleCloudDialogflowV2beta1ListAnswerRecordsResponse", +"properties": { +"answerRecords": { +"items": { +"$ref": "GoogleCloudDialogflowV2beta1AnswerRecord" +}, +"type": "array" +}, +"nextPageToken": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1ListContextsResponse": { +"id": "GoogleCloudDialogflowV2beta1ListContextsResponse", +"properties": { +"contexts": { +"items": { +"$ref": "GoogleCloudDialogflowV2beta1Context" +}, +"type": "array" +}, +"nextPageToken": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1ListConversationProfilesResponse": { +"id": "GoogleCloudDialogflowV2beta1ListConversationProfilesResponse", +"properties": { +"conversationProfiles": { +"items": { +"$ref": "GoogleCloudDialogflowV2beta1ConversationProfile" +}, +"type": "array" +}, +"nextPageToken": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1ListConversationsResponse": { +"id": "GoogleCloudDialogflowV2beta1ListConversationsResponse", +"properties": { +"conversations": { +"items": { +"$ref": "GoogleCloudDialogflowV2beta1Conversation" +}, +"type": "array" +}, +"nextPageToken": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1ListDocumentsResponse": { +"id": "GoogleCloudDialogflowV2beta1ListDocumentsResponse", +"properties": { +"documents": { +"items": { +"$ref": "GoogleCloudDialogflowV2beta1Document" +}, +"type": "array" +}, +"nextPageToken": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1ListEntityTypesResponse": { +"id": "GoogleCloudDialogflowV2beta1ListEntityTypesResponse", +"properties": { +"entityTypes": { +"items": { +"$ref": "GoogleCloudDialogflowV2beta1EntityType" +}, +"type": "array" +}, +"nextPageToken": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1ListEnvironmentsResponse": { +"id": "GoogleCloudDialogflowV2beta1ListEnvironmentsResponse", +"properties": { +"environments": { +"items": { +"$ref": "GoogleCloudDialogflowV2beta1Environment" +}, +"type": "array" +}, +"nextPageToken": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1ListGeneratorEvaluationsResponse": { +"id": "GoogleCloudDialogflowV2beta1ListGeneratorEvaluationsResponse", +"properties": { +"generatorEvaluations": { +"items": { +"$ref": "GoogleCloudDialogflowV2beta1GeneratorEvaluation" +}, +"type": "array" +}, +"nextPageToken": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1ListGeneratorsResponse": { +"id": "GoogleCloudDialogflowV2beta1ListGeneratorsResponse", +"properties": { +"generators": { +"items": { +"$ref": "GoogleCloudDialogflowV2beta1Generator" +}, +"type": "array" +}, +"nextPageToken": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1ListIntentsResponse": { +"id": "GoogleCloudDialogflowV2beta1ListIntentsResponse", +"properties": { +"intents": { +"items": { +"$ref": "GoogleCloudDialogflowV2beta1Intent" +}, +"type": "array" +}, +"nextPageToken": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1ListKnowledgeBasesResponse": { +"id": "GoogleCloudDialogflowV2beta1ListKnowledgeBasesResponse", +"properties": { +"knowledgeBases": { +"items": { +"$ref": "GoogleCloudDialogflowV2beta1KnowledgeBase" +}, +"type": "array" +}, +"nextPageToken": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1ListMessagesResponse": { +"id": "GoogleCloudDialogflowV2beta1ListMessagesResponse", +"properties": { +"messages": { +"items": { +"$ref": "GoogleCloudDialogflowV2beta1Message" +}, +"type": "array" +}, +"nextPageToken": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1ListParticipantsResponse": { +"id": "GoogleCloudDialogflowV2beta1ListParticipantsResponse", +"properties": { +"nextPageToken": { +"type": "string" +}, +"participants": { +"items": { +"$ref": "GoogleCloudDialogflowV2beta1Participant" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1ListPhoneNumbersResponse": { +"id": "GoogleCloudDialogflowV2beta1ListPhoneNumbersResponse", +"properties": { +"nextPageToken": { +"type": "string" +}, +"phoneNumbers": { +"items": { +"$ref": "GoogleCloudDialogflowV2beta1PhoneNumber" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1ListSessionEntityTypesResponse": { +"id": "GoogleCloudDialogflowV2beta1ListSessionEntityTypesResponse", +"properties": { +"nextPageToken": { +"type": "string" +}, +"sessionEntityTypes": { +"items": { +"$ref": "GoogleCloudDialogflowV2beta1SessionEntityType" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1ListSipTrunksResponse": { +"id": "GoogleCloudDialogflowV2beta1ListSipTrunksResponse", +"properties": { +"nextPageToken": { +"type": "string" +}, +"sipTrunks": { +"items": { +"$ref": "GoogleCloudDialogflowV2beta1SipTrunk" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1ListSuggestionsResponse": { +"deprecated": true, +"id": "GoogleCloudDialogflowV2beta1ListSuggestionsResponse", +"properties": { +"nextPageToken": { +"type": "string" +}, +"suggestions": { +"items": { +"$ref": "GoogleCloudDialogflowV2beta1Suggestion" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1ListToolsResponse": { +"id": "GoogleCloudDialogflowV2beta1ListToolsResponse", +"properties": { +"nextPageToken": { +"type": "string" +}, +"tools": { +"items": { +"$ref": "GoogleCloudDialogflowV2beta1Tool" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1ListVersionsResponse": { +"id": "GoogleCloudDialogflowV2beta1ListVersionsResponse", +"properties": { +"nextPageToken": { +"type": "string" +}, +"versions": { +"items": { +"$ref": "GoogleCloudDialogflowV2beta1Version" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1LoggingConfig": { +"id": "GoogleCloudDialogflowV2beta1LoggingConfig", +"properties": { +"enableStackdriverLogging": { +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1Message": { +"id": "GoogleCloudDialogflowV2beta1Message", +"properties": { +"content": { +"type": "string" +}, +"createTime": { +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"languageCode": { +"type": "string" +}, +"messageAnnotation": { +"$ref": "GoogleCloudDialogflowV2beta1MessageAnnotation", +"readOnly": true +}, +"name": { +"type": "string" +}, +"participant": { +"readOnly": true, +"type": "string" +}, +"participantRole": { +"enum": [ +"ROLE_UNSPECIFIED", +"HUMAN_AGENT", +"AUTOMATED_AGENT", +"END_USER" +], +"enumDescriptions": [ +"", +"", +"", +"" +], +"readOnly": true, +"type": "string" +}, +"responseMessages": { +"items": { +"$ref": "GoogleCloudDialogflowV2beta1ResponseMessage" +}, +"type": "array" +}, +"sendTime": { +"format": "google-datetime", +"type": "string" +}, +"sentimentAnalysis": { +"$ref": "GoogleCloudDialogflowV2beta1SentimentAnalysisResult", +"readOnly": true +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1MessageAnnotation": { +"id": "GoogleCloudDialogflowV2beta1MessageAnnotation", +"properties": { +"containEntities": { +"type": "boolean" +}, +"parts": { +"items": { +"$ref": "GoogleCloudDialogflowV2beta1AnnotatedMessagePart" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1MessageEntry": { +"id": "GoogleCloudDialogflowV2beta1MessageEntry", +"properties": { +"createTime": { +"format": "google-datetime", +"type": "string" +}, +"languageCode": { +"type": "string" +}, +"role": { +"enum": [ +"ROLE_UNSPECIFIED", +"HUMAN_AGENT", +"AUTOMATED_AGENT", +"END_USER" +], +"enumDescriptions": [ +"", +"", +"", +"" +], +"type": "string" +}, +"text": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1NotificationConfig": { +"id": "GoogleCloudDialogflowV2beta1NotificationConfig", +"properties": { +"messageFormat": { +"enum": [ +"MESSAGE_FORMAT_UNSPECIFIED", +"PROTO", +"JSON" +], +"enumDescriptions": [ +"", +"", +"" +], +"type": "string" +}, +"topic": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1OriginalDetectIntentRequest": { +"id": "GoogleCloudDialogflowV2beta1OriginalDetectIntentRequest", +"properties": { +"payload": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"type": "object" +}, +"source": { +"type": "string" +}, +"version": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1OutputAudio": { +"id": "GoogleCloudDialogflowV2beta1OutputAudio", +"properties": { +"audio": { +"format": "byte", +"type": "string" +}, +"config": { +"$ref": "GoogleCloudDialogflowV2beta1OutputAudioConfig" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1OutputAudioConfig": { +"id": "GoogleCloudDialogflowV2beta1OutputAudioConfig", +"properties": { +"audioEncoding": { +"enum": [ +"OUTPUT_AUDIO_ENCODING_UNSPECIFIED", +"OUTPUT_AUDIO_ENCODING_LINEAR_16", +"OUTPUT_AUDIO_ENCODING_MP3", +"OUTPUT_AUDIO_ENCODING_MP3_64_KBPS", +"OUTPUT_AUDIO_ENCODING_OGG_OPUS", +"OUTPUT_AUDIO_ENCODING_MULAW", +"OUTPUT_AUDIO_ENCODING_ALAW" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"", +"" +], +"type": "string" +}, +"sampleRateHertz": { +"format": "int32", +"type": "integer" +}, +"synthesizeSpeechConfig": { +"$ref": "GoogleCloudDialogflowV2beta1SynthesizeSpeechConfig" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1Participant": { +"id": "GoogleCloudDialogflowV2beta1Participant", +"properties": { +"agentDesktopSource": { +"enum": [ +"AGENT_DESKTOP_SOURCE_UNSPECIFIED", +"LIVE_PERSON", +"GENESYS_CLOUD", +"TWILIO", +"SALESFORCE", +"OTHER" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"" +], +"type": "string" +}, +"documentsMetadataFilters": { +"additionalProperties": { +"type": "string" +}, +"type": "object" +}, +"name": { +"type": "string" +}, +"obfuscatedExternalUserId": { +"type": "string" +}, +"role": { +"enum": [ +"ROLE_UNSPECIFIED", +"HUMAN_AGENT", +"AUTOMATED_AGENT", +"END_USER" +], +"enumDescriptions": [ +"", +"", +"", +"" +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1PhoneNumber": { +"id": "GoogleCloudDialogflowV2beta1PhoneNumber", +"properties": { +"conversationProfile": { +"type": "string" +}, +"lifecycleState": { +"enum": [ +"LIFECYCLE_STATE_UNSPECIFIED", +"ACTIVE", +"DELETE_REQUESTED" +], +"enumDescriptions": [ +"", +"", +"" +], +"readOnly": true, +"type": "string" +}, +"name": { +"type": "string" +}, +"phoneNumber": { +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1QueryInput": { +"id": "GoogleCloudDialogflowV2beta1QueryInput", +"properties": { +"audioConfig": { +"$ref": "GoogleCloudDialogflowV2beta1InputAudioConfig" +}, +"dtmf": { +"$ref": "GoogleCloudDialogflowV2beta1TelephonyDtmfEvents" +}, +"event": { +"$ref": "GoogleCloudDialogflowV2beta1EventInput" +}, +"text": { +"$ref": "GoogleCloudDialogflowV2beta1TextInput" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1QueryParameters": { +"id": "GoogleCloudDialogflowV2beta1QueryParameters", +"properties": { +"contexts": { +"items": { +"$ref": "GoogleCloudDialogflowV2beta1Context" +}, +"type": "array" +}, +"geoLocation": { +"$ref": "GoogleTypeLatLng" +}, +"knowledgeBaseNames": { +"items": { +"type": "string" +}, +"type": "array" +}, +"payload": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"type": "object" +}, +"platform": { +"type": "string" +}, +"resetContexts": { +"type": "boolean" +}, +"sentimentAnalysisRequestConfig": { +"$ref": "GoogleCloudDialogflowV2beta1SentimentAnalysisRequestConfig" +}, +"sessionEntityTypes": { +"items": { +"$ref": "GoogleCloudDialogflowV2beta1SessionEntityType" +}, +"type": "array" +}, +"subAgents": { +"items": { +"$ref": "GoogleCloudDialogflowV2beta1SubAgent" +}, +"type": "array" +}, +"timeZone": { +"type": "string" +}, +"webhookHeaders": { +"additionalProperties": { +"type": "string" +}, +"type": "object" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1QueryResult": { +"id": "GoogleCloudDialogflowV2beta1QueryResult", +"properties": { +"action": { +"type": "string" +}, +"allRequiredParamsPresent": { +"type": "boolean" +}, +"cancelsSlotFilling": { +"type": "boolean" +}, +"diagnosticInfo": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"type": "object" +}, +"fulfillmentMessages": { +"items": { +"$ref": "GoogleCloudDialogflowV2beta1IntentMessage" +}, +"type": "array" +}, +"fulfillmentText": { +"type": "string" +}, +"intent": { +"$ref": "GoogleCloudDialogflowV2beta1Intent" +}, +"intentDetectionConfidence": { +"format": "float", +"type": "number" +}, +"knowledgeAnswers": { +"$ref": "GoogleCloudDialogflowV2beta1KnowledgeAnswers" +}, +"languageCode": { +"type": "string" +}, +"outputContexts": { +"items": { +"$ref": "GoogleCloudDialogflowV2beta1Context" +}, +"type": "array" +}, +"parameters": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"type": "object" +}, +"queryText": { +"type": "string" +}, +"sentimentAnalysisResult": { +"$ref": "GoogleCloudDialogflowV2beta1SentimentAnalysisResult" +}, +"speechRecognitionConfidence": { +"format": "float", +"type": "number" +}, +"webhookPayload": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"type": "object" +}, +"webhookSource": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1RaiSettings": { +"id": "GoogleCloudDialogflowV2beta1RaiSettings", +"properties": { +"raiCategoryConfigs": { +"items": { +"$ref": "GoogleCloudDialogflowV2beta1RaiSettingsRaiCategoryConfig" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1RaiSettingsRaiCategoryConfig": { +"id": "GoogleCloudDialogflowV2beta1RaiSettingsRaiCategoryConfig", +"properties": { +"category": { +"enum": [ +"RAI_CATEGORY_UNSPECIFIED", +"DANGEROUS_CONTENT", +"SEXUALLY_EXPLICIT", +"HARASSMENT", +"HATE_SPEECH" +], +"enumDescriptions": [ +"", +"", +"", +"", +"" +], +"type": "string" +}, +"sensitivityLevel": { +"enum": [ +"SENSITIVITY_LEVEL_UNSPECIFIED", +"BLOCK_MOST", +"BLOCK_SOME", +"BLOCK_FEW", +"BLOCK_NONE" +], +"enumDescriptions": [ +"", +"", +"", +"", +"" +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1ReloadDocumentRequest": { +"id": "GoogleCloudDialogflowV2beta1ReloadDocumentRequest", +"properties": { +"gcsSource": { +"$ref": "GoogleCloudDialogflowV2beta1GcsSource" +}, +"importGcsCustomMetadata": { +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1ResponseMessage": { +"id": "GoogleCloudDialogflowV2beta1ResponseMessage", +"properties": { +"endInteraction": { +"$ref": "GoogleCloudDialogflowV2beta1ResponseMessageEndInteraction" +}, +"liveAgentHandoff": { +"$ref": "GoogleCloudDialogflowV2beta1ResponseMessageLiveAgentHandoff" +}, +"mixedAudio": { +"$ref": "GoogleCloudDialogflowV2beta1ResponseMessageMixedAudio" +}, +"payload": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"type": "object" +}, +"telephonyTransferCall": { +"$ref": "GoogleCloudDialogflowV2beta1ResponseMessageTelephonyTransferCall" +}, +"text": { +"$ref": "GoogleCloudDialogflowV2beta1ResponseMessageText" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1ResponseMessageEndInteraction": { +"id": "GoogleCloudDialogflowV2beta1ResponseMessageEndInteraction", +"properties": {}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1ResponseMessageLiveAgentHandoff": { +"id": "GoogleCloudDialogflowV2beta1ResponseMessageLiveAgentHandoff", +"properties": { +"metadata": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"type": "object" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1ResponseMessageMixedAudio": { +"id": "GoogleCloudDialogflowV2beta1ResponseMessageMixedAudio", +"properties": { +"segments": { +"items": { +"$ref": "GoogleCloudDialogflowV2beta1ResponseMessageMixedAudioSegment" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1ResponseMessageMixedAudioSegment": { +"id": "GoogleCloudDialogflowV2beta1ResponseMessageMixedAudioSegment", +"properties": { +"allowPlaybackInterruption": { +"type": "boolean" +}, +"audio": { +"format": "byte", +"type": "string" +}, +"uri": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1ResponseMessageTelephonyTransferCall": { +"id": "GoogleCloudDialogflowV2beta1ResponseMessageTelephonyTransferCall", +"properties": { +"phoneNumber": { +"type": "string" +}, +"sipUri": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1ResponseMessageText": { +"id": "GoogleCloudDialogflowV2beta1ResponseMessageText", +"properties": { +"text": { +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1RestoreAgentRequest": { +"id": "GoogleCloudDialogflowV2beta1RestoreAgentRequest", +"properties": { +"agentContent": { +"format": "byte", +"type": "string" +}, +"agentUri": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1SearchAgentsResponse": { +"id": "GoogleCloudDialogflowV2beta1SearchAgentsResponse", +"properties": { +"agents": { +"items": { +"$ref": "GoogleCloudDialogflowV2beta1Agent" +}, +"type": "array" +}, +"nextPageToken": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1SearchKnowledgeAnswer": { +"id": "GoogleCloudDialogflowV2beta1SearchKnowledgeAnswer", +"properties": { +"answer": { +"type": "string" +}, +"answerRecord": { +"type": "string" +}, +"answerSources": { +"items": { +"$ref": "GoogleCloudDialogflowV2beta1SearchKnowledgeAnswerAnswerSource" +}, +"type": "array" +}, +"answerType": { +"enum": [ +"ANSWER_TYPE_UNSPECIFIED", +"FAQ", +"GENERATIVE", +"INTENT" +], +"enumDescriptions": [ +"", +"", +"", +"" +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1SearchKnowledgeAnswerAnswerSource": { +"id": "GoogleCloudDialogflowV2beta1SearchKnowledgeAnswerAnswerSource", +"properties": { +"metadata": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"type": "object" +}, +"snippet": { +"type": "string" +}, +"title": { +"type": "string" +}, +"uri": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1SearchKnowledgeDebugInfo": { +"id": "GoogleCloudDialogflowV2beta1SearchKnowledgeDebugInfo", +"properties": { +"datastoreResponseReason": { +"enum": [ +"DATASTORE_RESPONSE_REASON_UNSPECIFIED", +"NONE", +"SEARCH_OUT_OF_QUOTA", +"SEARCH_EMPTY_RESULTS", +"ANSWER_GENERATION_GEN_AI_DISABLED", +"ANSWER_GENERATION_OUT_OF_QUOTA", +"ANSWER_GENERATION_ERROR", +"ANSWER_GENERATION_NOT_ENOUGH_INFO", +"ANSWER_GENERATION_RAI_FAILED", +"ANSWER_GENERATION_NOT_GROUNDED" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"", +"", +"", +"", +"" +], +"type": "string" +}, +"ingestedContextReferenceDebugInfo": { +"$ref": "GoogleCloudDialogflowV2beta1IngestedContextReferenceDebugInfo" +}, +"searchKnowledgeBehavior": { +"$ref": "GoogleCloudDialogflowV2beta1SearchKnowledgeDebugInfoSearchKnowledgeBehavior" +}, +"serviceLatency": { +"$ref": "GoogleCloudDialogflowV2beta1ServiceLatency" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1SearchKnowledgeDebugInfoSearchKnowledgeBehavior": { +"id": "GoogleCloudDialogflowV2beta1SearchKnowledgeDebugInfoSearchKnowledgeBehavior", +"properties": { +"answerGenerationRewriterOn": { +"type": "boolean" +}, +"endUserMetadataIncluded": { +"type": "boolean" +}, +"thirdPartyConnectorAllowed": { +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1SearchKnowledgeRequest": { +"id": "GoogleCloudDialogflowV2beta1SearchKnowledgeRequest", +"properties": { +"conversation": { +"type": "string" +}, +"conversationProfile": { +"type": "string" +}, +"endUserMetadata": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"type": "object" +}, +"exactSearch": { +"type": "boolean" +}, +"latestMessage": { +"type": "string" +}, +"parent": { +"type": "string" +}, +"query": { +"$ref": "GoogleCloudDialogflowV2beta1TextInput" +}, +"querySource": { +"enum": [ +"QUERY_SOURCE_UNSPECIFIED", +"AGENT_QUERY", +"SUGGESTED_QUERY" +], +"enumDescriptions": [ +"", +"", +"" +], +"type": "string" +}, +"searchConfig": { +"$ref": "GoogleCloudDialogflowV2beta1SearchKnowledgeRequestSearchConfig" +}, +"sessionId": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1SearchKnowledgeRequestSearchConfig": { +"id": "GoogleCloudDialogflowV2beta1SearchKnowledgeRequestSearchConfig", +"properties": { +"boostSpecs": { +"items": { +"$ref": "GoogleCloudDialogflowV2beta1SearchKnowledgeRequestSearchConfigBoostSpecs" +}, +"type": "array" +}, +"filterSpecs": { +"items": { +"$ref": "GoogleCloudDialogflowV2beta1SearchKnowledgeRequestSearchConfigFilterSpecs" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1SearchKnowledgeRequestSearchConfigBoostSpecs": { +"id": "GoogleCloudDialogflowV2beta1SearchKnowledgeRequestSearchConfigBoostSpecs", +"properties": { +"dataStores": { +"items": { +"type": "string" +}, +"type": "array" +}, +"spec": { +"items": { +"$ref": "GoogleCloudDialogflowV2beta1SearchKnowledgeRequestSearchConfigBoostSpecsBoostSpec" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1SearchKnowledgeRequestSearchConfigBoostSpecsBoostSpec": { +"id": "GoogleCloudDialogflowV2beta1SearchKnowledgeRequestSearchConfigBoostSpecsBoostSpec", +"properties": { +"conditionBoostSpecs": { +"items": { +"$ref": "GoogleCloudDialogflowV2beta1SearchKnowledgeRequestSearchConfigBoostSpecsBoostSpecConditionBoostSpec" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1SearchKnowledgeRequestSearchConfigBoostSpecsBoostSpecConditionBoostSpec": { +"id": "GoogleCloudDialogflowV2beta1SearchKnowledgeRequestSearchConfigBoostSpecsBoostSpecConditionBoostSpec", +"properties": { +"boost": { +"format": "float", +"type": "number" +}, +"boostControlSpec": { +"$ref": "GoogleCloudDialogflowV2beta1SearchKnowledgeRequestSearchConfigBoostSpecsBoostSpecConditionBoostSpecBoostControlSpec" +}, +"condition": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1SearchKnowledgeRequestSearchConfigBoostSpecsBoostSpecConditionBoostSpecBoostControlSpec": { +"id": "GoogleCloudDialogflowV2beta1SearchKnowledgeRequestSearchConfigBoostSpecsBoostSpecConditionBoostSpecBoostControlSpec", +"properties": { +"attributeType": { +"enum": [ +"ATTRIBUTE_TYPE_UNSPECIFIED", +"NUMERICAL", +"FRESHNESS" +], +"enumDescriptions": [ +"", +"", +"" +], +"type": "string" +}, +"controlPoints": { +"items": { +"$ref": "GoogleCloudDialogflowV2beta1SearchKnowledgeRequestSearchConfigBoostSpecsBoostSpecConditionBoostSpecBoostControlSpecControlPoint" +}, +"type": "array" +}, +"fieldName": { +"type": "string" +}, +"interpolationType": { +"enum": [ +"INTERPOLATION_TYPE_UNSPECIFIED", +"LINEAR" +], +"enumDescriptions": [ +"", +"" +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1SearchKnowledgeRequestSearchConfigBoostSpecsBoostSpecConditionBoostSpecBoostControlSpecControlPoint": { +"id": "GoogleCloudDialogflowV2beta1SearchKnowledgeRequestSearchConfigBoostSpecsBoostSpecConditionBoostSpecBoostControlSpecControlPoint", +"properties": { +"attributeValue": { +"type": "string" +}, +"boostAmount": { +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1SearchKnowledgeRequestSearchConfigFilterSpecs": { +"id": "GoogleCloudDialogflowV2beta1SearchKnowledgeRequestSearchConfigFilterSpecs", +"properties": { +"dataStores": { +"items": { +"type": "string" +}, +"type": "array" +}, +"filter": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1SearchKnowledgeResponse": { +"id": "GoogleCloudDialogflowV2beta1SearchKnowledgeResponse", +"properties": { +"answers": { +"items": { +"$ref": "GoogleCloudDialogflowV2beta1SearchKnowledgeAnswer" +}, +"type": "array" +}, +"rewrittenQuery": { +"type": "string" +}, +"searchKnowledgeDebugInfo": { +"$ref": "GoogleCloudDialogflowV2beta1SearchKnowledgeDebugInfo" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1Sentiment": { +"id": "GoogleCloudDialogflowV2beta1Sentiment", +"properties": { +"magnitude": { +"format": "float", +"type": "number" +}, +"score": { +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1SentimentAnalysisRequestConfig": { +"id": "GoogleCloudDialogflowV2beta1SentimentAnalysisRequestConfig", +"properties": { +"analyzeQueryTextSentiment": { +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1SentimentAnalysisResult": { +"id": "GoogleCloudDialogflowV2beta1SentimentAnalysisResult", +"properties": { +"queryTextSentiment": { +"$ref": "GoogleCloudDialogflowV2beta1Sentiment" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1ServiceLatency": { +"id": "GoogleCloudDialogflowV2beta1ServiceLatency", +"properties": { +"internalServiceLatencies": { +"items": { +"$ref": "GoogleCloudDialogflowV2beta1ServiceLatencyInternalServiceLatency" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1ServiceLatencyInternalServiceLatency": { +"id": "GoogleCloudDialogflowV2beta1ServiceLatencyInternalServiceLatency", +"properties": { +"completeTime": { +"format": "google-datetime", +"type": "string" +}, +"latencyMs": { +"format": "float", +"type": "number" +}, +"startTime": { +"format": "google-datetime", +"type": "string" +}, +"step": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1SessionEntityType": { +"id": "GoogleCloudDialogflowV2beta1SessionEntityType", +"properties": { +"entities": { +"items": { +"$ref": "GoogleCloudDialogflowV2beta1EntityTypeEntity" +}, +"type": "array" +}, +"entityOverrideMode": { +"enum": [ +"ENTITY_OVERRIDE_MODE_UNSPECIFIED", +"ENTITY_OVERRIDE_MODE_OVERRIDE", +"ENTITY_OVERRIDE_MODE_SUPPLEMENT" +], +"enumDescriptions": [ +"", +"", +"" +], +"type": "string" +}, +"name": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1SetSuggestionFeatureConfigOperationMetadata": { +"id": "GoogleCloudDialogflowV2beta1SetSuggestionFeatureConfigOperationMetadata", +"properties": { +"conversationProfile": { +"type": "string" +}, +"createTime": { +"format": "google-datetime", +"type": "string" +}, +"participantRole": { +"enum": [ +"ROLE_UNSPECIFIED", +"HUMAN_AGENT", +"AUTOMATED_AGENT", +"END_USER" +], +"enumDescriptions": [ +"", +"", +"", +"" +], +"type": "string" +}, +"suggestionFeatureType": { +"enum": [ +"TYPE_UNSPECIFIED", +"ARTICLE_SUGGESTION", +"FAQ", +"SMART_REPLY", +"DIALOGFLOW_ASSIST", +"CONVERSATION_SUMMARIZATION", +"KNOWLEDGE_SEARCH", +"KNOWLEDGE_ASSIST" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"", +"", +"" +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1SetSuggestionFeatureConfigRequest": { +"id": "GoogleCloudDialogflowV2beta1SetSuggestionFeatureConfigRequest", +"properties": { +"participantRole": { +"enum": [ +"ROLE_UNSPECIFIED", +"HUMAN_AGENT", +"AUTOMATED_AGENT", +"END_USER" +], +"enumDescriptions": [ +"", +"", +"", +"" +], +"type": "string" +}, +"suggestionFeatureConfig": { +"$ref": "GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionFeatureConfig" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1SipTrunk": { +"id": "GoogleCloudDialogflowV2beta1SipTrunk", +"properties": { +"connections": { +"items": { +"$ref": "GoogleCloudDialogflowV2beta1Connection" +}, +"readOnly": true, +"type": "array" +}, +"displayName": { +"type": "string" +}, +"expectedHostname": { +"items": { +"type": "string" +}, +"type": "array" +}, +"name": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1SmartReplyAnswer": { +"id": "GoogleCloudDialogflowV2beta1SmartReplyAnswer", +"properties": { +"answerRecord": { +"type": "string" +}, +"confidence": { +"format": "float", +"type": "number" +}, +"reply": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1SpeechContext": { +"id": "GoogleCloudDialogflowV2beta1SpeechContext", +"properties": { +"boost": { +"format": "float", +"type": "number" +}, +"phrases": { +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1SpeechToTextConfig": { +"id": "GoogleCloudDialogflowV2beta1SpeechToTextConfig", +"properties": { +"audioEncoding": { +"enum": [ +"AUDIO_ENCODING_UNSPECIFIED", +"AUDIO_ENCODING_LINEAR_16", +"AUDIO_ENCODING_FLAC", +"AUDIO_ENCODING_MULAW", +"AUDIO_ENCODING_AMR", +"AUDIO_ENCODING_AMR_WB", +"AUDIO_ENCODING_OGG_OPUS", +"AUDIO_ENCODING_SPEEX_WITH_HEADER_BYTE", +"AUDIO_ENCODING_ALAW" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"", +"", +"", +"" +], +"type": "string" +}, +"enableWordInfo": { +"type": "boolean" +}, +"languageCode": { +"type": "string" +}, +"model": { +"type": "string" +}, +"phraseSets": { +"items": { +"type": "string" +}, +"type": "array" +}, +"sampleRateHertz": { +"format": "int32", +"type": "integer" +}, +"speechModelVariant": { +"enum": [ +"SPEECH_MODEL_VARIANT_UNSPECIFIED", +"USE_BEST_AVAILABLE", +"USE_STANDARD", +"USE_ENHANCED" +], +"enumDescriptions": [ +"", +"", +"", +"" +], +"type": "string" +}, +"useTimeoutBasedEndpointing": { +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1SpeechWordInfo": { +"id": "GoogleCloudDialogflowV2beta1SpeechWordInfo", +"properties": { +"confidence": { +"format": "float", +"type": "number" +}, +"endOffset": { +"format": "google-duration", +"type": "string" +}, +"startOffset": { +"format": "google-duration", +"type": "string" +}, +"word": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1StreamingRecognitionResult": { +"id": "GoogleCloudDialogflowV2beta1StreamingRecognitionResult", +"properties": { +"confidence": { +"format": "float", +"type": "number" +}, +"dtmfDigits": { +"$ref": "GoogleCloudDialogflowV2beta1TelephonyDtmfEvents" +}, +"isFinal": { +"type": "boolean" +}, +"languageCode": { +"type": "string" +}, +"messageType": { +"enum": [ +"MESSAGE_TYPE_UNSPECIFIED", +"TRANSCRIPT", +"END_OF_SINGLE_UTTERANCE", +"DTMF_DIGITS", +"PARTIAL_DTMF_DIGITS" +], +"enumDescriptions": [ +"", +"", +"", +"", +"" +], +"type": "string" +}, +"speechEndOffset": { +"format": "google-duration", +"type": "string" +}, +"speechWordInfo": { +"items": { +"$ref": "GoogleCloudDialogflowV2beta1SpeechWordInfo" +}, +"type": "array" +}, +"stability": { +"format": "float", +"type": "number" +}, +"transcript": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1SubAgent": { +"id": "GoogleCloudDialogflowV2beta1SubAgent", +"properties": { +"environment": { +"type": "string" +}, +"project": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1SuggestArticlesRequest": { +"id": "GoogleCloudDialogflowV2beta1SuggestArticlesRequest", +"properties": { +"assistQueryParams": { +"$ref": "GoogleCloudDialogflowV2beta1AssistQueryParameters" +}, +"contextSize": { +"format": "int32", +"type": "integer" +}, +"latestMessage": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1SuggestArticlesResponse": { +"id": "GoogleCloudDialogflowV2beta1SuggestArticlesResponse", +"properties": { +"articleAnswers": { +"items": { +"$ref": "GoogleCloudDialogflowV2beta1ArticleAnswer" +}, +"type": "array" +}, +"contextSize": { +"format": "int32", +"type": "integer" +}, +"latestMessage": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1SuggestConversationSummaryRequest": { +"id": "GoogleCloudDialogflowV2beta1SuggestConversationSummaryRequest", +"properties": { +"assistQueryParams": { +"$ref": "GoogleCloudDialogflowV2beta1AssistQueryParameters" +}, +"contextSize": { +"format": "int32", +"type": "integer" +}, +"latestMessage": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1SuggestConversationSummaryResponse": { +"id": "GoogleCloudDialogflowV2beta1SuggestConversationSummaryResponse", +"properties": { +"contextSize": { +"format": "int32", +"type": "integer" +}, +"latestMessage": { +"type": "string" +}, +"summary": { +"$ref": "GoogleCloudDialogflowV2beta1SuggestConversationSummaryResponseSummary" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1SuggestConversationSummaryResponseSummary": { +"id": "GoogleCloudDialogflowV2beta1SuggestConversationSummaryResponseSummary", +"properties": { +"answerRecord": { +"type": "string" +}, +"baselineModelVersion": { +"type": "string" +}, +"sortedTextSections": { +"items": { +"$ref": "GoogleCloudDialogflowV2beta1SuggestConversationSummaryResponseSummarySummarySection" +}, +"type": "array" +}, +"text": { +"type": "string" +}, +"textSections": { +"additionalProperties": { +"type": "string" +}, +"type": "object" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1SuggestConversationSummaryResponseSummarySummarySection": { +"id": "GoogleCloudDialogflowV2beta1SuggestConversationSummaryResponseSummarySummarySection", +"properties": { +"section": { +"readOnly": true, +"type": "string" +}, +"summary": { +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1SuggestDialogflowAssistsResponse": { +"id": "GoogleCloudDialogflowV2beta1SuggestDialogflowAssistsResponse", +"properties": { +"contextSize": { +"format": "int32", +"type": "integer" +}, +"dialogflowAssistAnswers": { +"items": { +"$ref": "GoogleCloudDialogflowV2beta1DialogflowAssistAnswer" +}, +"type": "array" +}, +"latestMessage": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1SuggestFaqAnswersRequest": { +"id": "GoogleCloudDialogflowV2beta1SuggestFaqAnswersRequest", +"properties": { +"assistQueryParams": { +"$ref": "GoogleCloudDialogflowV2beta1AssistQueryParameters" +}, +"contextSize": { +"format": "int32", +"type": "integer" +}, +"latestMessage": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1SuggestFaqAnswersResponse": { +"id": "GoogleCloudDialogflowV2beta1SuggestFaqAnswersResponse", +"properties": { +"contextSize": { +"format": "int32", +"type": "integer" +}, +"faqAnswers": { +"items": { +"$ref": "GoogleCloudDialogflowV2beta1FaqAnswer" +}, +"type": "array" +}, +"latestMessage": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1SuggestKnowledgeAssistRequest": { +"id": "GoogleCloudDialogflowV2beta1SuggestKnowledgeAssistRequest", +"properties": { +"contextSize": { +"format": "int32", +"type": "integer" +}, +"latestMessage": { +"type": "string" +}, +"previousSuggestedQuery": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1SuggestKnowledgeAssistResponse": { +"id": "GoogleCloudDialogflowV2beta1SuggestKnowledgeAssistResponse", +"properties": { +"contextSize": { +"format": "int32", +"type": "integer" +}, +"knowledgeAssistAnswer": { +"$ref": "GoogleCloudDialogflowV2beta1KnowledgeAssistAnswer", +"readOnly": true +}, +"latestMessage": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1SuggestSmartRepliesRequest": { +"id": "GoogleCloudDialogflowV2beta1SuggestSmartRepliesRequest", +"properties": { +"contextSize": { +"format": "int32", +"type": "integer" +}, +"currentTextInput": { +"$ref": "GoogleCloudDialogflowV2beta1TextInput" +}, +"latestMessage": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1SuggestSmartRepliesResponse": { +"id": "GoogleCloudDialogflowV2beta1SuggestSmartRepliesResponse", +"properties": { +"contextSize": { +"format": "int32", +"type": "integer" +}, +"latestMessage": { +"type": "string" +}, +"smartReplyAnswers": { +"items": { +"$ref": "GoogleCloudDialogflowV2beta1SmartReplyAnswer" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1Suggestion": { +"deprecated": true, +"id": "GoogleCloudDialogflowV2beta1Suggestion", +"properties": { +"articles": { +"items": { +"$ref": "GoogleCloudDialogflowV2beta1SuggestionArticle" +}, +"type": "array" +}, +"createTime": { +"format": "google-datetime", +"type": "string" +}, +"faqAnswers": { +"items": { +"$ref": "GoogleCloudDialogflowV2beta1SuggestionFaqAnswer" +}, +"type": "array" +}, +"latestMessage": { +"type": "string" +}, +"name": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1SuggestionArticle": { +"id": "GoogleCloudDialogflowV2beta1SuggestionArticle", +"properties": { +"answerRecord": { +"type": "string" +}, +"metadata": { +"additionalProperties": { +"type": "string" +}, +"type": "object" +}, +"snippets": { +"items": { +"type": "string" +}, +"type": "array" +}, +"title": { +"type": "string" +}, +"uri": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1SuggestionDedupingConfig": { +"id": "GoogleCloudDialogflowV2beta1SuggestionDedupingConfig", +"properties": { +"enableDeduping": { +"type": "boolean" +}, +"similarityThreshold": { +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1SuggestionFaqAnswer": { +"id": "GoogleCloudDialogflowV2beta1SuggestionFaqAnswer", +"properties": { +"answer": { +"type": "string" +}, +"answerRecord": { +"type": "string" +}, +"confidence": { +"format": "float", +"type": "number" +}, +"metadata": { +"additionalProperties": { +"type": "string" +}, +"type": "object" +}, +"question": { +"type": "string" +}, +"source": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1SuggestionFeature": { +"id": "GoogleCloudDialogflowV2beta1SuggestionFeature", +"properties": { +"type": { +"enum": [ +"TYPE_UNSPECIFIED", +"ARTICLE_SUGGESTION", +"FAQ", +"SMART_REPLY", +"DIALOGFLOW_ASSIST", +"CONVERSATION_SUMMARIZATION", +"KNOWLEDGE_SEARCH", +"KNOWLEDGE_ASSIST" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"", +"", +"" +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1SuggestionInput": { +"id": "GoogleCloudDialogflowV2beta1SuggestionInput", +"properties": { +"action": { +"enum": [ +"ACTION_UNSPECIFIED", +"CANCEL", +"REVISE", +"CONFIRM" +], +"enumDescriptions": [ +"", +"", +"", +"" +], +"type": "string" +}, +"answerRecord": { +"type": "string" +}, +"intentInput": { +"$ref": "GoogleCloudDialogflowV2beta1IntentInput" +}, +"parameters": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"type": "object" +}, +"sendTime": { +"format": "google-datetime", +"type": "string" +}, +"textOverride": { +"$ref": "GoogleCloudDialogflowV2beta1TextInput" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1SuggestionResult": { +"id": "GoogleCloudDialogflowV2beta1SuggestionResult", +"properties": { +"error": { +"$ref": "GoogleRpcStatus" +}, +"generateSuggestionsResponse": { +"$ref": "GoogleCloudDialogflowV2beta1GenerateSuggestionsResponse" +}, +"suggestArticlesResponse": { +"$ref": "GoogleCloudDialogflowV2beta1SuggestArticlesResponse" +}, +"suggestDialogflowAssistsResponse": { +"$ref": "GoogleCloudDialogflowV2beta1SuggestDialogflowAssistsResponse" +}, +"suggestEntityExtractionResponse": { +"$ref": "GoogleCloudDialogflowV2beta1SuggestDialogflowAssistsResponse" +}, +"suggestFaqAnswersResponse": { +"$ref": "GoogleCloudDialogflowV2beta1SuggestFaqAnswersResponse" +}, +"suggestKnowledgeAssistResponse": { +"$ref": "GoogleCloudDialogflowV2beta1SuggestKnowledgeAssistResponse" +}, +"suggestSmartRepliesResponse": { +"$ref": "GoogleCloudDialogflowV2beta1SuggestSmartRepliesResponse" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1SummarizationContext": { +"id": "GoogleCloudDialogflowV2beta1SummarizationContext", +"properties": { +"fewShotExamples": { +"items": { +"$ref": "GoogleCloudDialogflowV2beta1FewShotExample" +}, +"type": "array" +}, +"outputLanguageCode": { +"type": "string" +}, +"summarizationSections": { +"items": { +"$ref": "GoogleCloudDialogflowV2beta1SummarizationSection" +}, +"type": "array" +}, +"version": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1SummarizationEvaluationMetrics": { +"id": "GoogleCloudDialogflowV2beta1SummarizationEvaluationMetrics", +"properties": { +"conversationDetails": { +"items": { +"$ref": "GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsConversationDetail" +}, +"readOnly": true, +"type": "array" +}, +"overallMetrics": { +"items": { +"$ref": "GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsOverallScoresByMetric" +}, +"readOnly": true, +"type": "array" +}, +"overallSectionTokens": { +"items": { +"$ref": "GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsSectionToken" +}, +"readOnly": true, +"type": "array" +}, +"summarizationEvaluationMergedResultsUri": { +"readOnly": true, +"type": "string" +}, +"summarizationEvaluationResults": { +"items": { +"$ref": "GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsSummarizationEvaluationResult" +}, +"readOnly": true, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsAccuracyDecomposition": { +"id": "GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsAccuracyDecomposition", +"properties": { +"accuracyReasoning": { +"readOnly": true, +"type": "string" +}, +"isAccurate": { +"readOnly": true, +"type": "boolean" +}, +"point": { +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsAdherenceDecomposition": { +"deprecated": true, +"id": "GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsAdherenceDecomposition", +"properties": { +"adherenceReasoning": { +"readOnly": true, +"type": "string" +}, +"isAdherent": { +"readOnly": true, +"type": "boolean" +}, +"point": { +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsAdherenceRubric": { +"id": "GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsAdherenceRubric", +"properties": { +"isAddressed": { +"readOnly": true, +"type": "boolean" +}, +"question": { +"readOnly": true, +"type": "string" +}, +"reasoning": { +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsCompletenessRubric": { +"id": "GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsCompletenessRubric", +"properties": { +"isAddressed": { +"readOnly": true, +"type": "boolean" +}, +"question": { +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsConversationDetail": { +"id": "GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsConversationDetail", +"properties": { +"messageEntries": { +"items": { +"$ref": "GoogleCloudDialogflowV2beta1MessageEntry" +}, +"readOnly": true, +"type": "array" +}, +"metricDetails": { +"items": { +"$ref": "GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsConversationDetailMetricDetail" +}, +"readOnly": true, +"type": "array" +}, +"sectionTokens": { +"items": { +"$ref": "GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsSectionToken" +}, +"readOnly": true, +"type": "array" +}, +"summarySections": { +"items": { +"$ref": "GoogleCloudDialogflowV2beta1SummarySuggestionSummarySection" +}, +"readOnly": true, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsConversationDetailMetricDetail": { +"id": "GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsConversationDetailMetricDetail", +"properties": { +"metric": { +"readOnly": true, +"type": "string" +}, +"score": { +"format": "float", +"readOnly": true, +"type": "number" +}, +"sectionDetails": { +"items": { +"$ref": "GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsConversationDetailMetricDetailSectionDetail" +}, +"readOnly": true, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsConversationDetailMetricDetailSectionDetail": { +"id": "GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsConversationDetailMetricDetailSectionDetail", +"properties": { +"evaluationResults": { +"items": { +"$ref": "GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsEvaluationResult" +}, +"readOnly": true, +"type": "array" +}, +"score": { +"format": "float", +"readOnly": true, +"type": "number" +}, +"section": { +"readOnly": true, +"type": "string" +}, +"sectionSummary": { +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsDecomposition": { +"deprecated": true, +"id": "GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsDecomposition", +"properties": { +"accuracyDecomposition": { +"$ref": "GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsAccuracyDecomposition" +}, +"adherenceDecomposition": { +"$ref": "GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsAdherenceDecomposition" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsEvaluationResult": { +"id": "GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsEvaluationResult", +"properties": { +"accuracyDecomposition": { +"$ref": "GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsAccuracyDecomposition" +}, +"adherenceRubric": { +"$ref": "GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsAdherenceRubric" +}, +"completenessRubric": { +"$ref": "GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsCompletenessRubric" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsOverallScoresByMetric": { +"id": "GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsOverallScoresByMetric", +"properties": { +"metric": { +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsSectionToken": { +"id": "GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsSectionToken", +"properties": { +"section": { +"readOnly": true, +"type": "string" +}, +"tokenCount": { +"format": "int64", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsSummarizationEvaluationResult": { +"id": "GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsSummarizationEvaluationResult", +"properties": { +"decompositions": { +"deprecated": true, +"items": { +"$ref": "GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsDecomposition" +}, +"readOnly": true, +"type": "array" +}, +"evaluationResults": { +"items": { +"$ref": "GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsEvaluationResult" +}, +"readOnly": true, +"type": "array" +}, +"metric": { +"readOnly": true, +"type": "string" +}, +"score": { +"format": "float", +"readOnly": true, +"type": "number" +}, +"section": { +"readOnly": true, +"type": "string" +}, +"sectionSummary": { +"readOnly": true, +"type": "string" +}, +"sessionId": { +"deprecated": true, +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1SummarizationSection": { +"id": "GoogleCloudDialogflowV2beta1SummarizationSection", +"properties": { +"definition": { +"type": "string" +}, +"key": { +"type": "string" +}, +"type": { +"enum": [ +"TYPE_UNSPECIFIED", +"SITUATION", +"ACTION", +"RESOLUTION", +"REASON_FOR_CANCELLATION", +"CUSTOMER_SATISFACTION", +"ENTITIES", +"CUSTOMER_DEFINED", +"SITUATION_CONCISE", +"ACTION_CONCISE" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"", +"", +"", +"", +"" +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1SummarizationSectionList": { +"id": "GoogleCloudDialogflowV2beta1SummarizationSectionList", +"properties": { +"summarizationSections": { +"items": { +"$ref": "GoogleCloudDialogflowV2beta1SummarizationSection" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1SummarySuggestion": { +"id": "GoogleCloudDialogflowV2beta1SummarySuggestion", +"properties": { +"summarySections": { +"items": { +"$ref": "GoogleCloudDialogflowV2beta1SummarySuggestionSummarySection" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1SummarySuggestionSummarySection": { +"id": "GoogleCloudDialogflowV2beta1SummarySuggestionSummarySection", +"properties": { +"section": { +"type": "string" +}, +"summary": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1SynthesizeSpeechConfig": { +"id": "GoogleCloudDialogflowV2beta1SynthesizeSpeechConfig", +"properties": { +"effectsProfileId": { +"items": { +"type": "string" +}, +"type": "array" +}, +"pitch": { +"format": "double", +"type": "number" +}, +"pronunciations": { +"items": { +"$ref": "GoogleCloudDialogflowV2beta1CustomPronunciationParams" +}, +"type": "array" +}, +"speakingRate": { +"format": "double", +"type": "number" +}, +"voice": { +"$ref": "GoogleCloudDialogflowV2beta1VoiceSelectionParams" +}, +"volumeGainDb": { +"format": "double", +"type": "number" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1TelephonyDtmfEvents": { +"id": "GoogleCloudDialogflowV2beta1TelephonyDtmfEvents", +"properties": { +"dtmfEvents": { +"items": { +"enum": [ +"TELEPHONY_DTMF_UNSPECIFIED", +"DTMF_ONE", +"DTMF_TWO", +"DTMF_THREE", +"DTMF_FOUR", +"DTMF_FIVE", +"DTMF_SIX", +"DTMF_SEVEN", +"DTMF_EIGHT", +"DTMF_NINE", +"DTMF_ZERO", +"DTMF_A", +"DTMF_B", +"DTMF_C", +"DTMF_D", +"DTMF_STAR", +"DTMF_POUND" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"" +], +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1TextInput": { +"id": "GoogleCloudDialogflowV2beta1TextInput", +"properties": { +"languageCode": { +"type": "string" +}, +"text": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1TextToSpeechSettings": { +"id": "GoogleCloudDialogflowV2beta1TextToSpeechSettings", +"properties": { +"enableTextToSpeech": { +"type": "boolean" +}, +"outputAudioEncoding": { +"enum": [ +"OUTPUT_AUDIO_ENCODING_UNSPECIFIED", +"OUTPUT_AUDIO_ENCODING_LINEAR_16", +"OUTPUT_AUDIO_ENCODING_MP3", +"OUTPUT_AUDIO_ENCODING_MP3_64_KBPS", +"OUTPUT_AUDIO_ENCODING_OGG_OPUS", +"OUTPUT_AUDIO_ENCODING_MULAW", +"OUTPUT_AUDIO_ENCODING_ALAW" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"", +"" +], +"type": "string" +}, +"sampleRateHertz": { +"format": "int32", +"type": "integer" +}, +"synthesizeSpeechConfigs": { +"additionalProperties": { +"$ref": "GoogleCloudDialogflowV2beta1SynthesizeSpeechConfig" +}, +"type": "object" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1Tool": { +"id": "GoogleCloudDialogflowV2beta1Tool", +"properties": { +"actionConfirmationRequirement": { +"additionalProperties": { +"enum": [ +"CONFIRMATION_REQUIREMENT_UNSPECIFIED", +"REQUIRED", +"NOT_REQUIRED" +], +"enumDescriptions": [ +"", +"", +"" +], +"type": "string" +}, +"type": "object" +}, +"connectorSpec": { +"$ref": "GoogleCloudDialogflowV2beta1ToolConnectorTool" +}, +"createTime": { +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"description": { +"type": "string" +}, +"displayName": { +"type": "string" +}, +"extensionSpec": { +"$ref": "GoogleCloudDialogflowV2beta1ToolExtensionTool", +"deprecated": true +}, +"functionSpec": { +"$ref": "GoogleCloudDialogflowV2beta1ToolFunctionTool" +}, +"name": { +"readOnly": true, +"type": "string" +}, +"openApiSpec": { +"$ref": "GoogleCloudDialogflowV2beta1ToolOpenApiTool" +}, +"satisfiesPzi": { +"readOnly": true, +"type": "boolean" +}, +"satisfiesPzs": { +"readOnly": true, +"type": "boolean" +}, +"toolKey": { +"type": "string" +}, +"updateTime": { +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1ToolAuthentication": { +"id": "GoogleCloudDialogflowV2beta1ToolAuthentication", +"properties": { +"apiKeyConfig": { +"$ref": "GoogleCloudDialogflowV2beta1ToolAuthenticationApiKeyConfig" +}, +"bearerTokenConfig": { +"$ref": "GoogleCloudDialogflowV2beta1ToolAuthenticationBearerTokenConfig" +}, +"oauthConfig": { +"$ref": "GoogleCloudDialogflowV2beta1ToolAuthenticationOAuthConfig" +}, +"serviceAgentAuthConfig": { +"$ref": "GoogleCloudDialogflowV2beta1ToolAuthenticationServiceAgentAuthConfig" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1ToolAuthenticationApiKeyConfig": { +"id": "GoogleCloudDialogflowV2beta1ToolAuthenticationApiKeyConfig", +"properties": { +"apiKey": { +"type": "string" +}, +"keyName": { +"type": "string" +}, +"requestLocation": { +"enum": [ +"REQUEST_LOCATION_UNSPECIFIED", +"HEADER", +"QUERY_STRING" +], +"enumDescriptions": [ +"", +"", +"" +], +"type": "string" +}, +"secretVersionForApiKey": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1ToolAuthenticationBearerTokenConfig": { +"id": "GoogleCloudDialogflowV2beta1ToolAuthenticationBearerTokenConfig", +"properties": { +"secretVersionForToken": { +"type": "string" +}, +"token": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1ToolAuthenticationOAuthConfig": { +"id": "GoogleCloudDialogflowV2beta1ToolAuthenticationOAuthConfig", +"properties": { +"clientId": { +"type": "string" +}, +"clientSecret": { +"type": "string" +}, +"oauthGrantType": { +"enum": [ +"OAUTH_GRANT_TYPE_UNSPECIFIED", +"CLIENT_CREDENTIAL" +], +"enumDescriptions": [ +"", +"" +], +"type": "string" +}, +"scopes": { +"items": { +"type": "string" +}, +"type": "array" +}, +"secretVersionForClientSecret": { +"type": "string" +}, +"tokenEndpoint": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1ToolAuthenticationServiceAgentAuthConfig": { +"id": "GoogleCloudDialogflowV2beta1ToolAuthenticationServiceAgentAuthConfig", +"properties": { +"serviceAgentAuth": { +"enum": [ +"SERVICE_AGENT_AUTH_UNSPECIFIED", +"ID_TOKEN", +"ACCESS_TOKEN" +], +"enumDescriptions": [ +"", +"", +"" +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1ToolCall": { +"id": "GoogleCloudDialogflowV2beta1ToolCall", +"properties": { +"action": { +"type": "string" +}, +"answerRecord": { +"type": "string" +}, +"createTime": { +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"inputParameters": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"type": "object" +}, +"state": { +"enum": [ +"STATE_UNSPECIFIED", +"TRIGGERED", +"NEEDS_CONFIRMATION" +], +"enumDescriptions": [ +"", +"", +"" +], +"readOnly": true, +"type": "string" +}, +"tool": { +"type": "string" +}, +"toolDisplayDetails": { +"type": "string" +}, +"toolDisplayName": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1ToolCallResult": { +"id": "GoogleCloudDialogflowV2beta1ToolCallResult", +"properties": { +"action": { +"type": "string" +}, +"answerRecord": { +"type": "string" +}, +"content": { +"type": "string" +}, +"createTime": { +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"error": { +"$ref": "GoogleCloudDialogflowV2beta1ToolCallResultError" +}, +"rawContent": { +"format": "byte", +"type": "string" +}, +"tool": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1ToolCallResultError": { +"id": "GoogleCloudDialogflowV2beta1ToolCallResultError", +"properties": { +"message": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1ToolConnectorTool": { +"id": "GoogleCloudDialogflowV2beta1ToolConnectorTool", +"properties": { +"actions": { +"items": { +"$ref": "GoogleCloudDialogflowV2beta1ToolConnectorToolAction" +}, +"type": "array" +}, +"name": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1ToolConnectorToolAction": { +"id": "GoogleCloudDialogflowV2beta1ToolConnectorToolAction", +"properties": { +"connectionActionId": { +"type": "string" +}, +"entityOperation": { +"$ref": "GoogleCloudDialogflowV2beta1ToolConnectorToolActionEntityOperation" +}, +"inputFields": { +"items": { +"type": "string" +}, +"type": "array" +}, +"outputFields": { +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1ToolConnectorToolActionEntityOperation": { +"id": "GoogleCloudDialogflowV2beta1ToolConnectorToolActionEntityOperation", +"properties": { +"entityId": { +"type": "string" +}, +"operation": { +"enum": [ +"OPERATION_TYPE_UNSPECIFIED", +"LIST", +"GET", +"CREATE", +"UPDATE", +"DELETE" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"" +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1ToolExtensionTool": { +"id": "GoogleCloudDialogflowV2beta1ToolExtensionTool", +"properties": { +"name": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1ToolFunctionTool": { +"id": "GoogleCloudDialogflowV2beta1ToolFunctionTool", +"properties": { +"inputSchema": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"type": "object" +}, +"methodType": { +"enum": [ +"METHOD_TYPE_UNSPECIFIED", +"GET", +"POST", +"PUT", +"DELETE", +"PATCH" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"" +], +"type": "string" +}, +"outputSchema": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"type": "object" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1ToolOpenApiTool": { +"id": "GoogleCloudDialogflowV2beta1ToolOpenApiTool", +"properties": { +"authentication": { +"$ref": "GoogleCloudDialogflowV2beta1ToolAuthentication" +}, +"serviceDirectoryConfig": { +"$ref": "GoogleCloudDialogflowV2beta1ToolServiceDirectoryConfig" +}, +"textSchema": { +"type": "string" +}, +"tlsConfig": { +"$ref": "GoogleCloudDialogflowV2beta1ToolTLSConfig" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1ToolServiceDirectoryConfig": { +"id": "GoogleCloudDialogflowV2beta1ToolServiceDirectoryConfig", +"properties": { +"service": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1ToolTLSConfig": { +"id": "GoogleCloudDialogflowV2beta1ToolTLSConfig", +"properties": { +"caCerts": { +"items": { +"$ref": "GoogleCloudDialogflowV2beta1ToolTLSConfigCACert" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1ToolTLSConfigCACert": { +"id": "GoogleCloudDialogflowV2beta1ToolTLSConfigCACert", +"properties": { +"cert": { +"format": "byte", +"type": "string" +}, +"displayName": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1TrainAgentRequest": { +"id": "GoogleCloudDialogflowV2beta1TrainAgentRequest", +"properties": {}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1UndeletePhoneNumberRequest": { +"id": "GoogleCloudDialogflowV2beta1UndeletePhoneNumberRequest", +"properties": {}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1ValidationError": { +"id": "GoogleCloudDialogflowV2beta1ValidationError", +"properties": { +"entries": { +"items": { +"type": "string" +}, +"type": "array" +}, +"errorMessage": { +"type": "string" +}, +"severity": { +"enum": [ +"SEVERITY_UNSPECIFIED", +"INFO", +"WARNING", +"ERROR", +"CRITICAL" +], +"enumDescriptions": [ +"", +"", +"", +"", +"" +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1ValidationResult": { +"id": "GoogleCloudDialogflowV2beta1ValidationResult", +"properties": { +"validationErrors": { +"items": { +"$ref": "GoogleCloudDialogflowV2beta1ValidationError" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1Version": { +"id": "GoogleCloudDialogflowV2beta1Version", +"properties": { +"createTime": { +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"description": { +"type": "string" +}, +"name": { +"readOnly": true, +"type": "string" +}, +"status": { +"enum": [ +"VERSION_STATUS_UNSPECIFIED", +"IN_PROGRESS", +"READY", +"FAILED" +], +"enumDescriptions": [ +"", +"", +"", +"" +], +"readOnly": true, +"type": "string" +}, +"versionNumber": { +"format": "int32", +"readOnly": true, +"type": "integer" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1VoiceSelectionParams": { +"id": "GoogleCloudDialogflowV2beta1VoiceSelectionParams", +"properties": { +"name": { +"type": "string" +}, +"ssmlGender": { +"enum": [ +"SSML_VOICE_GENDER_UNSPECIFIED", +"SSML_VOICE_GENDER_MALE", +"SSML_VOICE_GENDER_FEMALE", +"SSML_VOICE_GENDER_NEUTRAL" +], +"enumDescriptions": [ +"", +"", +"", +"" +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1WebhookRequest": { +"id": "GoogleCloudDialogflowV2beta1WebhookRequest", +"properties": { +"alternativeQueryResults": { +"items": { +"$ref": "GoogleCloudDialogflowV2beta1QueryResult" +}, +"type": "array" +}, +"originalDetectIntentRequest": { +"$ref": "GoogleCloudDialogflowV2beta1OriginalDetectIntentRequest" +}, +"queryResult": { +"$ref": "GoogleCloudDialogflowV2beta1QueryResult" +}, +"responseId": { +"type": "string" +}, +"session": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1WebhookResponse": { +"id": "GoogleCloudDialogflowV2beta1WebhookResponse", +"properties": { +"endInteraction": { +"type": "boolean" +}, +"followupEventInput": { +"$ref": "GoogleCloudDialogflowV2beta1EventInput" +}, +"fulfillmentMessages": { +"items": { +"$ref": "GoogleCloudDialogflowV2beta1IntentMessage" +}, +"type": "array" +}, +"fulfillmentText": { +"type": "string" +}, +"liveAgentHandoff": { +"type": "boolean" +}, +"outputContexts": { +"items": { +"$ref": "GoogleCloudDialogflowV2beta1Context" +}, +"type": "array" +}, +"payload": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"type": "object" +}, +"sessionEntityTypes": { +"items": { +"$ref": "GoogleCloudDialogflowV2beta1SessionEntityType" +}, +"type": "array" +}, +"source": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV3alpha1ConversationSignals": { +"id": "GoogleCloudDialogflowV3alpha1ConversationSignals", +"properties": { +"turnSignals": { +"$ref": "GoogleCloudDialogflowV3alpha1TurnSignals" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV3alpha1TurnSignals": { +"id": "GoogleCloudDialogflowV3alpha1TurnSignals", +"properties": { +"agentEscalated": { +"type": "boolean" +}, +"dtmfUsed": { +"type": "boolean" +}, +"failureReasons": { +"items": { +"enum": [ +"FAILURE_REASON_UNSPECIFIED", +"FAILED_INTENT", +"FAILED_WEBHOOK" +], +"enumDescriptions": [ +"", +"", +"" +], +"type": "string" +}, +"type": "array" +}, +"noMatch": { +"type": "boolean" +}, +"noUserInput": { +"type": "boolean" +}, +"reachedEndPage": { +"type": "boolean" +}, +"sentimentMagnitude": { +"format": "float", +"type": "number" +}, +"sentimentScore": { +"format": "float", +"type": "number" +}, +"triggeredAbandonmentEvent": { +"type": "boolean" +}, +"userEscalated": { +"type": "boolean" +}, +"webhookStatuses": { +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudLocationListLocationsResponse": { +"id": "GoogleCloudLocationListLocationsResponse", +"properties": { +"locations": { +"items": { +"$ref": "GoogleCloudLocationLocation" +}, +"type": "array" +}, +"nextPageToken": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudLocationLocation": { +"id": "GoogleCloudLocationLocation", +"properties": { +"displayName": { +"type": "string" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"type": "object" +}, +"locationId": { +"type": "string" +}, +"metadata": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"type": "object" +}, +"name": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleLongrunningListOperationsResponse": { +"id": "GoogleLongrunningListOperationsResponse", +"properties": { +"nextPageToken": { +"type": "string" +}, +"operations": { +"items": { +"$ref": "GoogleLongrunningOperation" +}, +"type": "array" +}, +"unreachable": { +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleLongrunningOperation": { +"id": "GoogleLongrunningOperation", +"properties": { +"done": { +"type": "boolean" +}, +"error": { +"$ref": "GoogleRpcStatus" +}, +"metadata": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"type": "object" +}, +"name": { +"type": "string" +}, +"response": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"type": "object" +} +}, +"type": "object" +}, +"GoogleProtobufEmpty": { +"id": "GoogleProtobufEmpty", +"properties": {}, +"type": "object" +}, +"GoogleRpcStatus": { +"id": "GoogleRpcStatus", +"properties": { +"code": { +"format": "int32", +"type": "integer" +}, +"details": { +"items": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleTypeLatLng": { +"id": "GoogleTypeLatLng", +"properties": { +"latitude": { +"format": "double", +"type": "number" +}, +"longitude": { +"format": "double", +"type": "number" +} +}, +"type": "object" +} +}, +"servicePath": "", +"title": "Dialogflow API", +"version": "v2beta1", +"version_module": true +} \ No newline at end of file diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/dialogflow.v3.json b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/dialogflow.v3.json new file mode 100644 index 0000000000000000000000000000000000000000..ea2e7c616144eb91619613689f0d0e3c44f8d2ec --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/dialogflow.v3.json @@ -0,0 +1,18894 @@ +{ +"auth": { +"oauth2": { +"scopes": { +"https://www.googleapis.com/auth/cloud-platform": { +"description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." +}, +"https://www.googleapis.com/auth/dialogflow": { +"description": "View, manage and query your Dialogflow agents" +} +} +} +}, +"basePath": "", +"baseUrl": "https://dialogflow.googleapis.com/", +"batchPath": "batch", +"canonicalName": "Dialogflow", +"description": "Builds conversational interfaces (for example, chatbots, and voice-powered apps and devices).", +"discoveryVersion": "v1", +"documentationLink": "https://cloud.google.com/dialogflow/", +"fullyEncodeReservedExpansion": true, +"icons": { +"x16": "http://www.google.com/images/icons/product/search-16.gif", +"x32": "http://www.google.com/images/icons/product/search-32.gif" +}, +"id": "dialogflow:v3", +"kind": "discovery#restDescription", +"mtlsRootUrl": "https://dialogflow.mtls.googleapis.com/", +"name": "dialogflow", +"ownerDomain": "google.com", +"ownerName": "Google", +"parameters": { +"$.xgafv": { +"description": "V1 error format.", +"enum": [ +"1", +"2" +], +"enumDescriptions": [ +"v1 error format", +"v2 error format" +], +"location": "query", +"type": "string" +}, +"access_token": { +"description": "OAuth access token.", +"location": "query", +"type": "string" +}, +"alt": { +"default": "json", +"description": "Data format for response.", +"enum": [ +"json", +"media", +"proto" +], +"enumDescriptions": [ +"Responses with Content-Type of application/json", +"Media download with context-dependent Content-Type", +"Responses with Content-Type of application/x-protobuf" +], +"location": "query", +"type": "string" +}, +"callback": { +"description": "JSONP", +"location": "query", +"type": "string" +}, +"fields": { +"description": "Selector specifying which fields to include in a partial response.", +"location": "query", +"type": "string" +}, +"key": { +"description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", +"location": "query", +"type": "string" +}, +"oauth_token": { +"description": "OAuth 2.0 token for the current user.", +"location": "query", +"type": "string" +}, +"prettyPrint": { +"default": "true", +"description": "Returns response with indentations and line breaks.", +"location": "query", +"type": "boolean" +}, +"quotaUser": { +"description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.", +"location": "query", +"type": "string" +}, +"uploadType": { +"description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", +"location": "query", +"type": "string" +}, +"upload_protocol": { +"description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", +"location": "query", +"type": "string" +} +}, +"protocol": "rest", +"resources": { +"projects": { +"resources": { +"locations": { +"methods": { +"get": { +"description": "", +"flatPath": "v3/projects/{projectsId}/locations/{locationsId}", +"httpMethod": "GET", +"id": "dialogflow.projects.locations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3/{+name}", +"response": { +"$ref": "GoogleCloudLocationLocation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"list": { +"description": "", +"flatPath": "v3/projects/{projectsId}/locations", +"httpMethod": "GET", +"id": "dialogflow.projects.locations.list", +"parameterOrder": [ +"name" +], +"parameters": { +"extraLocationTypes": { +"location": "query", +"repeated": true, +"type": "string" +}, +"filter": { +"location": "query", +"type": "string" +}, +"name": { +"location": "path", +"pattern": "^projects/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"location": "query", +"type": "string" +} +}, +"path": "v3/{+name}/locations", +"response": { +"$ref": "GoogleCloudLocationListLocationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +} +}, +"resources": { +"agents": { +"methods": { +"create": { +"description": "", +"flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents", +"httpMethod": "POST", +"id": "dialogflow.projects.locations.agents.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3/{+parent}/agents", +"request": { +"$ref": "GoogleCloudDialogflowCxV3Agent" +}, +"response": { +"$ref": "GoogleCloudDialogflowCxV3Agent" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"delete": { +"description": "", +"flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}", +"httpMethod": "DELETE", +"id": "dialogflow.projects.locations.agents.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3/{+name}", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"export": { +"description": "", +"flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}:export", +"httpMethod": "POST", +"id": "dialogflow.projects.locations.agents.export", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3/{+name}:export", +"request": { +"$ref": "GoogleCloudDialogflowCxV3ExportAgentRequest" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"get": { +"description": "", +"flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}", +"httpMethod": "GET", +"id": "dialogflow.projects.locations.agents.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3/{+name}", +"response": { +"$ref": "GoogleCloudDialogflowCxV3Agent" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"getGenerativeSettings": { +"description": "", +"flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/generativeSettings", +"httpMethod": "GET", +"id": "dialogflow.projects.locations.agents.getGenerativeSettings", +"parameterOrder": [ +"name" +], +"parameters": { +"languageCode": { +"location": "query", +"type": "string" +}, +"name": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/generativeSettings$", +"required": true, +"type": "string" +} +}, +"path": "v3/{+name}", +"response": { +"$ref": "GoogleCloudDialogflowCxV3GenerativeSettings" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"getValidationResult": { +"description": "", +"flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/validationResult", +"httpMethod": "GET", +"id": "dialogflow.projects.locations.agents.getValidationResult", +"parameterOrder": [ +"name" +], +"parameters": { +"languageCode": { +"location": "query", +"type": "string" +}, +"name": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/validationResult$", +"required": true, +"type": "string" +} +}, +"path": "v3/{+name}", +"response": { +"$ref": "GoogleCloudDialogflowCxV3AgentValidationResult" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"list": { +"description": "", +"flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents", +"httpMethod": "GET", +"id": "dialogflow.projects.locations.agents.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"location": "query", +"type": "string" +}, +"parent": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3/{+parent}/agents", +"response": { +"$ref": "GoogleCloudDialogflowCxV3ListAgentsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"patch": { +"description": "", +"flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}", +"httpMethod": "PATCH", +"id": "dialogflow.projects.locations.agents.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v3/{+name}", +"request": { +"$ref": "GoogleCloudDialogflowCxV3Agent" +}, +"response": { +"$ref": "GoogleCloudDialogflowCxV3Agent" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"restore": { +"description": "", +"flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}:restore", +"httpMethod": "POST", +"id": "dialogflow.projects.locations.agents.restore", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3/{+name}:restore", +"request": { +"$ref": "GoogleCloudDialogflowCxV3RestoreAgentRequest" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"updateGenerativeSettings": { +"description": "", +"flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/generativeSettings", +"httpMethod": "PATCH", +"id": "dialogflow.projects.locations.agents.updateGenerativeSettings", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/generativeSettings$", +"required": true, +"type": "string" +}, +"updateMask": { +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v3/{+name}", +"request": { +"$ref": "GoogleCloudDialogflowCxV3GenerativeSettings" +}, +"response": { +"$ref": "GoogleCloudDialogflowCxV3GenerativeSettings" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"validate": { +"description": "", +"flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}:validate", +"httpMethod": "POST", +"id": "dialogflow.projects.locations.agents.validate", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3/{+name}:validate", +"request": { +"$ref": "GoogleCloudDialogflowCxV3ValidateAgentRequest" +}, +"response": { +"$ref": "GoogleCloudDialogflowCxV3AgentValidationResult" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +} +}, +"resources": { +"changelogs": { +"methods": { +"get": { +"description": "", +"flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/changelogs/{changelogsId}", +"httpMethod": "GET", +"id": "dialogflow.projects.locations.agents.changelogs.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/changelogs/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3/{+name}", +"response": { +"$ref": "GoogleCloudDialogflowCxV3Changelog" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"list": { +"description": "", +"flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/changelogs", +"httpMethod": "GET", +"id": "dialogflow.projects.locations.agents.changelogs.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"location": "query", +"type": "string" +}, +"pageSize": { +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"location": "query", +"type": "string" +}, +"parent": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3/{+parent}/changelogs", +"response": { +"$ref": "GoogleCloudDialogflowCxV3ListChangelogsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +} +} +}, +"entityTypes": { +"methods": { +"create": { +"description": "", +"flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/entityTypes", +"httpMethod": "POST", +"id": "dialogflow.projects.locations.agents.entityTypes.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"languageCode": { +"location": "query", +"type": "string" +}, +"parent": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3/{+parent}/entityTypes", +"request": { +"$ref": "GoogleCloudDialogflowCxV3EntityType" +}, +"response": { +"$ref": "GoogleCloudDialogflowCxV3EntityType" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"delete": { +"description": "", +"flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/entityTypes/{entityTypesId}", +"httpMethod": "DELETE", +"id": "dialogflow.projects.locations.agents.entityTypes.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"force": { +"location": "query", +"type": "boolean" +}, +"name": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/entityTypes/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3/{+name}", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"export": { +"description": "", +"flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/entityTypes:export", +"httpMethod": "POST", +"id": "dialogflow.projects.locations.agents.entityTypes.export", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3/{+parent}/entityTypes:export", +"request": { +"$ref": "GoogleCloudDialogflowCxV3ExportEntityTypesRequest" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"get": { +"description": "", +"flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/entityTypes/{entityTypesId}", +"httpMethod": "GET", +"id": "dialogflow.projects.locations.agents.entityTypes.get", +"parameterOrder": [ +"name" +], +"parameters": { +"languageCode": { +"location": "query", +"type": "string" +}, +"name": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/entityTypes/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3/{+name}", +"response": { +"$ref": "GoogleCloudDialogflowCxV3EntityType" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"import": { +"description": "", +"flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/entityTypes:import", +"httpMethod": "POST", +"id": "dialogflow.projects.locations.agents.entityTypes.import", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3/{+parent}/entityTypes:import", +"request": { +"$ref": "GoogleCloudDialogflowCxV3ImportEntityTypesRequest" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"list": { +"description": "", +"flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/entityTypes", +"httpMethod": "GET", +"id": "dialogflow.projects.locations.agents.entityTypes.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"languageCode": { +"location": "query", +"type": "string" +}, +"pageSize": { +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"location": "query", +"type": "string" +}, +"parent": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3/{+parent}/entityTypes", +"response": { +"$ref": "GoogleCloudDialogflowCxV3ListEntityTypesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"patch": { +"description": "", +"flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/entityTypes/{entityTypesId}", +"httpMethod": "PATCH", +"id": "dialogflow.projects.locations.agents.entityTypes.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"languageCode": { +"location": "query", +"type": "string" +}, +"name": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/entityTypes/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v3/{+name}", +"request": { +"$ref": "GoogleCloudDialogflowCxV3EntityType" +}, +"response": { +"$ref": "GoogleCloudDialogflowCxV3EntityType" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +} +} +}, +"environments": { +"methods": { +"create": { +"description": "", +"flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/environments", +"httpMethod": "POST", +"id": "dialogflow.projects.locations.agents.environments.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3/{+parent}/environments", +"request": { +"$ref": "GoogleCloudDialogflowCxV3Environment" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"delete": { +"description": "", +"flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/environments/{environmentsId}", +"httpMethod": "DELETE", +"id": "dialogflow.projects.locations.agents.environments.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/environments/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3/{+name}", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"deployFlow": { +"description": "", +"flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/environments/{environmentsId}:deployFlow", +"httpMethod": "POST", +"id": "dialogflow.projects.locations.agents.environments.deployFlow", +"parameterOrder": [ +"environment" +], +"parameters": { +"environment": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/environments/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3/{+environment}:deployFlow", +"request": { +"$ref": "GoogleCloudDialogflowCxV3DeployFlowRequest" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"get": { +"description": "", +"flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/environments/{environmentsId}", +"httpMethod": "GET", +"id": "dialogflow.projects.locations.agents.environments.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/environments/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3/{+name}", +"response": { +"$ref": "GoogleCloudDialogflowCxV3Environment" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"list": { +"description": "", +"flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/environments", +"httpMethod": "GET", +"id": "dialogflow.projects.locations.agents.environments.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"location": "query", +"type": "string" +}, +"parent": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3/{+parent}/environments", +"response": { +"$ref": "GoogleCloudDialogflowCxV3ListEnvironmentsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"lookupEnvironmentHistory": { +"description": "", +"flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/environments/{environmentsId}:lookupEnvironmentHistory", +"httpMethod": "GET", +"id": "dialogflow.projects.locations.agents.environments.lookupEnvironmentHistory", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/environments/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"location": "query", +"type": "string" +} +}, +"path": "v3/{+name}:lookupEnvironmentHistory", +"response": { +"$ref": "GoogleCloudDialogflowCxV3LookupEnvironmentHistoryResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"patch": { +"description": "", +"flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/environments/{environmentsId}", +"httpMethod": "PATCH", +"id": "dialogflow.projects.locations.agents.environments.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/environments/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v3/{+name}", +"request": { +"$ref": "GoogleCloudDialogflowCxV3Environment" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"runContinuousTest": { +"description": "", +"flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/environments/{environmentsId}:runContinuousTest", +"httpMethod": "POST", +"id": "dialogflow.projects.locations.agents.environments.runContinuousTest", +"parameterOrder": [ +"environment" +], +"parameters": { +"environment": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/environments/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3/{+environment}:runContinuousTest", +"request": { +"$ref": "GoogleCloudDialogflowCxV3RunContinuousTestRequest" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +} +}, +"resources": { +"continuousTestResults": { +"methods": { +"list": { +"description": "", +"flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/environments/{environmentsId}/continuousTestResults", +"httpMethod": "GET", +"id": "dialogflow.projects.locations.agents.environments.continuousTestResults.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"location": "query", +"type": "string" +}, +"parent": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/environments/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3/{+parent}/continuousTestResults", +"response": { +"$ref": "GoogleCloudDialogflowCxV3ListContinuousTestResultsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +} +} +}, +"deployments": { +"methods": { +"get": { +"description": "", +"flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/environments/{environmentsId}/deployments/{deploymentsId}", +"httpMethod": "GET", +"id": "dialogflow.projects.locations.agents.environments.deployments.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/environments/[^/]+/deployments/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3/{+name}", +"response": { +"$ref": "GoogleCloudDialogflowCxV3Deployment" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"list": { +"description": "", +"flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/environments/{environmentsId}/deployments", +"httpMethod": "GET", +"id": "dialogflow.projects.locations.agents.environments.deployments.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"location": "query", +"type": "string" +}, +"parent": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/environments/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3/{+parent}/deployments", +"response": { +"$ref": "GoogleCloudDialogflowCxV3ListDeploymentsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +} +} +}, +"experiments": { +"methods": { +"create": { +"description": "", +"flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/environments/{environmentsId}/experiments", +"httpMethod": "POST", +"id": "dialogflow.projects.locations.agents.environments.experiments.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/environments/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3/{+parent}/experiments", +"request": { +"$ref": "GoogleCloudDialogflowCxV3Experiment" +}, +"response": { +"$ref": "GoogleCloudDialogflowCxV3Experiment" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"delete": { +"description": "", +"flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/environments/{environmentsId}/experiments/{experimentsId}", +"httpMethod": "DELETE", +"id": "dialogflow.projects.locations.agents.environments.experiments.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/environments/[^/]+/experiments/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3/{+name}", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"get": { +"description": "", +"flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/environments/{environmentsId}/experiments/{experimentsId}", +"httpMethod": "GET", +"id": "dialogflow.projects.locations.agents.environments.experiments.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/environments/[^/]+/experiments/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3/{+name}", +"response": { +"$ref": "GoogleCloudDialogflowCxV3Experiment" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"list": { +"description": "", +"flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/environments/{environmentsId}/experiments", +"httpMethod": "GET", +"id": "dialogflow.projects.locations.agents.environments.experiments.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"location": "query", +"type": "string" +}, +"parent": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/environments/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3/{+parent}/experiments", +"response": { +"$ref": "GoogleCloudDialogflowCxV3ListExperimentsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"patch": { +"description": "", +"flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/environments/{environmentsId}/experiments/{experimentsId}", +"httpMethod": "PATCH", +"id": "dialogflow.projects.locations.agents.environments.experiments.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/environments/[^/]+/experiments/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v3/{+name}", +"request": { +"$ref": "GoogleCloudDialogflowCxV3Experiment" +}, +"response": { +"$ref": "GoogleCloudDialogflowCxV3Experiment" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"start": { +"description": "", +"flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/environments/{environmentsId}/experiments/{experimentsId}:start", +"httpMethod": "POST", +"id": "dialogflow.projects.locations.agents.environments.experiments.start", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/environments/[^/]+/experiments/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3/{+name}:start", +"request": { +"$ref": "GoogleCloudDialogflowCxV3StartExperimentRequest" +}, +"response": { +"$ref": "GoogleCloudDialogflowCxV3Experiment" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"stop": { +"description": "", +"flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/environments/{environmentsId}/experiments/{experimentsId}:stop", +"httpMethod": "POST", +"id": "dialogflow.projects.locations.agents.environments.experiments.stop", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/environments/[^/]+/experiments/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3/{+name}:stop", +"request": { +"$ref": "GoogleCloudDialogflowCxV3StopExperimentRequest" +}, +"response": { +"$ref": "GoogleCloudDialogflowCxV3Experiment" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +} +} +}, +"sessions": { +"methods": { +"detectIntent": { +"description": "", +"flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/environments/{environmentsId}/sessions/{sessionsId}:detectIntent", +"httpMethod": "POST", +"id": "dialogflow.projects.locations.agents.environments.sessions.detectIntent", +"parameterOrder": [ +"session" +], +"parameters": { +"session": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/environments/[^/]+/sessions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3/{+session}:detectIntent", +"request": { +"$ref": "GoogleCloudDialogflowCxV3DetectIntentRequest" +}, +"response": { +"$ref": "GoogleCloudDialogflowCxV3DetectIntentResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"fulfillIntent": { +"description": "", +"flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/environments/{environmentsId}/sessions/{sessionsId}:fulfillIntent", +"httpMethod": "POST", +"id": "dialogflow.projects.locations.agents.environments.sessions.fulfillIntent", +"parameterOrder": [ +"session" +], +"parameters": { +"session": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/environments/[^/]+/sessions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3/{+session}:fulfillIntent", +"request": { +"$ref": "GoogleCloudDialogflowCxV3FulfillIntentRequest" +}, +"response": { +"$ref": "GoogleCloudDialogflowCxV3FulfillIntentResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"matchIntent": { +"description": "", +"flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/environments/{environmentsId}/sessions/{sessionsId}:matchIntent", +"httpMethod": "POST", +"id": "dialogflow.projects.locations.agents.environments.sessions.matchIntent", +"parameterOrder": [ +"session" +], +"parameters": { +"session": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/environments/[^/]+/sessions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3/{+session}:matchIntent", +"request": { +"$ref": "GoogleCloudDialogflowCxV3MatchIntentRequest" +}, +"response": { +"$ref": "GoogleCloudDialogflowCxV3MatchIntentResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"serverStreamingDetectIntent": { +"description": "", +"flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/environments/{environmentsId}/sessions/{sessionsId}:serverStreamingDetectIntent", +"httpMethod": "POST", +"id": "dialogflow.projects.locations.agents.environments.sessions.serverStreamingDetectIntent", +"parameterOrder": [ +"session" +], +"parameters": { +"session": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/environments/[^/]+/sessions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3/{+session}:serverStreamingDetectIntent", +"request": { +"$ref": "GoogleCloudDialogflowCxV3DetectIntentRequest" +}, +"response": { +"$ref": "GoogleCloudDialogflowCxV3DetectIntentResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +} +}, +"resources": { +"entityTypes": { +"methods": { +"create": { +"description": "", +"flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/environments/{environmentsId}/sessions/{sessionsId}/entityTypes", +"httpMethod": "POST", +"id": "dialogflow.projects.locations.agents.environments.sessions.entityTypes.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/environments/[^/]+/sessions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3/{+parent}/entityTypes", +"request": { +"$ref": "GoogleCloudDialogflowCxV3SessionEntityType" +}, +"response": { +"$ref": "GoogleCloudDialogflowCxV3SessionEntityType" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"delete": { +"description": "", +"flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/environments/{environmentsId}/sessions/{sessionsId}/entityTypes/{entityTypesId}", +"httpMethod": "DELETE", +"id": "dialogflow.projects.locations.agents.environments.sessions.entityTypes.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/environments/[^/]+/sessions/[^/]+/entityTypes/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3/{+name}", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"get": { +"description": "", +"flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/environments/{environmentsId}/sessions/{sessionsId}/entityTypes/{entityTypesId}", +"httpMethod": "GET", +"id": "dialogflow.projects.locations.agents.environments.sessions.entityTypes.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/environments/[^/]+/sessions/[^/]+/entityTypes/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3/{+name}", +"response": { +"$ref": "GoogleCloudDialogflowCxV3SessionEntityType" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"list": { +"description": "", +"flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/environments/{environmentsId}/sessions/{sessionsId}/entityTypes", +"httpMethod": "GET", +"id": "dialogflow.projects.locations.agents.environments.sessions.entityTypes.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"location": "query", +"type": "string" +}, +"parent": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/environments/[^/]+/sessions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3/{+parent}/entityTypes", +"response": { +"$ref": "GoogleCloudDialogflowCxV3ListSessionEntityTypesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"patch": { +"description": "", +"flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/environments/{environmentsId}/sessions/{sessionsId}/entityTypes/{entityTypesId}", +"httpMethod": "PATCH", +"id": "dialogflow.projects.locations.agents.environments.sessions.entityTypes.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/environments/[^/]+/sessions/[^/]+/entityTypes/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v3/{+name}", +"request": { +"$ref": "GoogleCloudDialogflowCxV3SessionEntityType" +}, +"response": { +"$ref": "GoogleCloudDialogflowCxV3SessionEntityType" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +} +} +} +} +} +} +}, +"flows": { +"methods": { +"create": { +"description": "", +"flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/flows", +"httpMethod": "POST", +"id": "dialogflow.projects.locations.agents.flows.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"languageCode": { +"location": "query", +"type": "string" +}, +"parent": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3/{+parent}/flows", +"request": { +"$ref": "GoogleCloudDialogflowCxV3Flow" +}, +"response": { +"$ref": "GoogleCloudDialogflowCxV3Flow" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"delete": { +"description": "", +"flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/flows/{flowsId}", +"httpMethod": "DELETE", +"id": "dialogflow.projects.locations.agents.flows.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"force": { +"location": "query", +"type": "boolean" +}, +"name": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/flows/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3/{+name}", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"export": { +"description": "", +"flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/flows/{flowsId}:export", +"httpMethod": "POST", +"id": "dialogflow.projects.locations.agents.flows.export", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/flows/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3/{+name}:export", +"request": { +"$ref": "GoogleCloudDialogflowCxV3ExportFlowRequest" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"get": { +"description": "", +"flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/flows/{flowsId}", +"httpMethod": "GET", +"id": "dialogflow.projects.locations.agents.flows.get", +"parameterOrder": [ +"name" +], +"parameters": { +"languageCode": { +"location": "query", +"type": "string" +}, +"name": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/flows/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3/{+name}", +"response": { +"$ref": "GoogleCloudDialogflowCxV3Flow" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"getValidationResult": { +"description": "", +"flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/flows/{flowsId}/validationResult", +"httpMethod": "GET", +"id": "dialogflow.projects.locations.agents.flows.getValidationResult", +"parameterOrder": [ +"name" +], +"parameters": { +"languageCode": { +"location": "query", +"type": "string" +}, +"name": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/flows/[^/]+/validationResult$", +"required": true, +"type": "string" +} +}, +"path": "v3/{+name}", +"response": { +"$ref": "GoogleCloudDialogflowCxV3FlowValidationResult" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"import": { +"description": "", +"flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/flows:import", +"httpMethod": "POST", +"id": "dialogflow.projects.locations.agents.flows.import", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3/{+parent}/flows:import", +"request": { +"$ref": "GoogleCloudDialogflowCxV3ImportFlowRequest" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"list": { +"description": "", +"flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/flows", +"httpMethod": "GET", +"id": "dialogflow.projects.locations.agents.flows.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"languageCode": { +"location": "query", +"type": "string" +}, +"pageSize": { +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"location": "query", +"type": "string" +}, +"parent": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3/{+parent}/flows", +"response": { +"$ref": "GoogleCloudDialogflowCxV3ListFlowsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"patch": { +"description": "", +"flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/flows/{flowsId}", +"httpMethod": "PATCH", +"id": "dialogflow.projects.locations.agents.flows.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"languageCode": { +"location": "query", +"type": "string" +}, +"name": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/flows/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v3/{+name}", +"request": { +"$ref": "GoogleCloudDialogflowCxV3Flow" +}, +"response": { +"$ref": "GoogleCloudDialogflowCxV3Flow" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"train": { +"description": "", +"flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/flows/{flowsId}:train", +"httpMethod": "POST", +"id": "dialogflow.projects.locations.agents.flows.train", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/flows/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3/{+name}:train", +"request": { +"$ref": "GoogleCloudDialogflowCxV3TrainFlowRequest" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"validate": { +"description": "", +"flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/flows/{flowsId}:validate", +"httpMethod": "POST", +"id": "dialogflow.projects.locations.agents.flows.validate", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/flows/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3/{+name}:validate", +"request": { +"$ref": "GoogleCloudDialogflowCxV3ValidateFlowRequest" +}, +"response": { +"$ref": "GoogleCloudDialogflowCxV3FlowValidationResult" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +} +}, +"resources": { +"pages": { +"methods": { +"create": { +"description": "", +"flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/flows/{flowsId}/pages", +"httpMethod": "POST", +"id": "dialogflow.projects.locations.agents.flows.pages.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"languageCode": { +"location": "query", +"type": "string" +}, +"parent": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/flows/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3/{+parent}/pages", +"request": { +"$ref": "GoogleCloudDialogflowCxV3Page" +}, +"response": { +"$ref": "GoogleCloudDialogflowCxV3Page" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"delete": { +"description": "", +"flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/flows/{flowsId}/pages/{pagesId}", +"httpMethod": "DELETE", +"id": "dialogflow.projects.locations.agents.flows.pages.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"force": { +"location": "query", +"type": "boolean" +}, +"name": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/flows/[^/]+/pages/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3/{+name}", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"get": { +"description": "", +"flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/flows/{flowsId}/pages/{pagesId}", +"httpMethod": "GET", +"id": "dialogflow.projects.locations.agents.flows.pages.get", +"parameterOrder": [ +"name" +], +"parameters": { +"languageCode": { +"location": "query", +"type": "string" +}, +"name": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/flows/[^/]+/pages/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3/{+name}", +"response": { +"$ref": "GoogleCloudDialogflowCxV3Page" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"list": { +"description": "", +"flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/flows/{flowsId}/pages", +"httpMethod": "GET", +"id": "dialogflow.projects.locations.agents.flows.pages.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"languageCode": { +"location": "query", +"type": "string" +}, +"pageSize": { +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"location": "query", +"type": "string" +}, +"parent": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/flows/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3/{+parent}/pages", +"response": { +"$ref": "GoogleCloudDialogflowCxV3ListPagesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"patch": { +"description": "", +"flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/flows/{flowsId}/pages/{pagesId}", +"httpMethod": "PATCH", +"id": "dialogflow.projects.locations.agents.flows.pages.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"languageCode": { +"location": "query", +"type": "string" +}, +"name": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/flows/[^/]+/pages/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v3/{+name}", +"request": { +"$ref": "GoogleCloudDialogflowCxV3Page" +}, +"response": { +"$ref": "GoogleCloudDialogflowCxV3Page" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +} +} +}, +"transitionRouteGroups": { +"methods": { +"create": { +"description": "", +"flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/flows/{flowsId}/transitionRouteGroups", +"httpMethod": "POST", +"id": "dialogflow.projects.locations.agents.flows.transitionRouteGroups.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"languageCode": { +"location": "query", +"type": "string" +}, +"parent": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/flows/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3/{+parent}/transitionRouteGroups", +"request": { +"$ref": "GoogleCloudDialogflowCxV3TransitionRouteGroup" +}, +"response": { +"$ref": "GoogleCloudDialogflowCxV3TransitionRouteGroup" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"delete": { +"description": "", +"flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/flows/{flowsId}/transitionRouteGroups/{transitionRouteGroupsId}", +"httpMethod": "DELETE", +"id": "dialogflow.projects.locations.agents.flows.transitionRouteGroups.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"force": { +"location": "query", +"type": "boolean" +}, +"name": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/flows/[^/]+/transitionRouteGroups/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3/{+name}", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"get": { +"description": "", +"flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/flows/{flowsId}/transitionRouteGroups/{transitionRouteGroupsId}", +"httpMethod": "GET", +"id": "dialogflow.projects.locations.agents.flows.transitionRouteGroups.get", +"parameterOrder": [ +"name" +], +"parameters": { +"languageCode": { +"location": "query", +"type": "string" +}, +"name": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/flows/[^/]+/transitionRouteGroups/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3/{+name}", +"response": { +"$ref": "GoogleCloudDialogflowCxV3TransitionRouteGroup" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"list": { +"description": "", +"flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/flows/{flowsId}/transitionRouteGroups", +"httpMethod": "GET", +"id": "dialogflow.projects.locations.agents.flows.transitionRouteGroups.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"languageCode": { +"location": "query", +"type": "string" +}, +"pageSize": { +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"location": "query", +"type": "string" +}, +"parent": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/flows/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3/{+parent}/transitionRouteGroups", +"response": { +"$ref": "GoogleCloudDialogflowCxV3ListTransitionRouteGroupsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"patch": { +"description": "", +"flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/flows/{flowsId}/transitionRouteGroups/{transitionRouteGroupsId}", +"httpMethod": "PATCH", +"id": "dialogflow.projects.locations.agents.flows.transitionRouteGroups.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"languageCode": { +"location": "query", +"type": "string" +}, +"name": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/flows/[^/]+/transitionRouteGroups/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v3/{+name}", +"request": { +"$ref": "GoogleCloudDialogflowCxV3TransitionRouteGroup" +}, +"response": { +"$ref": "GoogleCloudDialogflowCxV3TransitionRouteGroup" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +} +} +}, +"versions": { +"methods": { +"compareVersions": { +"description": "", +"flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/flows/{flowsId}/versions/{versionsId}:compareVersions", +"httpMethod": "POST", +"id": "dialogflow.projects.locations.agents.flows.versions.compareVersions", +"parameterOrder": [ +"baseVersion" +], +"parameters": { +"baseVersion": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/flows/[^/]+/versions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3/{+baseVersion}:compareVersions", +"request": { +"$ref": "GoogleCloudDialogflowCxV3CompareVersionsRequest" +}, +"response": { +"$ref": "GoogleCloudDialogflowCxV3CompareVersionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"create": { +"description": "", +"flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/flows/{flowsId}/versions", +"httpMethod": "POST", +"id": "dialogflow.projects.locations.agents.flows.versions.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/flows/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3/{+parent}/versions", +"request": { +"$ref": "GoogleCloudDialogflowCxV3Version" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"delete": { +"description": "", +"flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/flows/{flowsId}/versions/{versionsId}", +"httpMethod": "DELETE", +"id": "dialogflow.projects.locations.agents.flows.versions.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/flows/[^/]+/versions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3/{+name}", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"get": { +"description": "", +"flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/flows/{flowsId}/versions/{versionsId}", +"httpMethod": "GET", +"id": "dialogflow.projects.locations.agents.flows.versions.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/flows/[^/]+/versions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3/{+name}", +"response": { +"$ref": "GoogleCloudDialogflowCxV3Version" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"list": { +"description": "", +"flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/flows/{flowsId}/versions", +"httpMethod": "GET", +"id": "dialogflow.projects.locations.agents.flows.versions.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"location": "query", +"type": "string" +}, +"parent": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/flows/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3/{+parent}/versions", +"response": { +"$ref": "GoogleCloudDialogflowCxV3ListVersionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"load": { +"description": "", +"flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/flows/{flowsId}/versions/{versionsId}:load", +"httpMethod": "POST", +"id": "dialogflow.projects.locations.agents.flows.versions.load", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/flows/[^/]+/versions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3/{+name}:load", +"request": { +"$ref": "GoogleCloudDialogflowCxV3LoadVersionRequest" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"patch": { +"description": "", +"flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/flows/{flowsId}/versions/{versionsId}", +"httpMethod": "PATCH", +"id": "dialogflow.projects.locations.agents.flows.versions.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/flows/[^/]+/versions/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v3/{+name}", +"request": { +"$ref": "GoogleCloudDialogflowCxV3Version" +}, +"response": { +"$ref": "GoogleCloudDialogflowCxV3Version" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +} +} +} +} +}, +"generators": { +"methods": { +"create": { +"description": "", +"flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/generators", +"httpMethod": "POST", +"id": "dialogflow.projects.locations.agents.generators.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"languageCode": { +"location": "query", +"type": "string" +}, +"parent": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3/{+parent}/generators", +"request": { +"$ref": "GoogleCloudDialogflowCxV3Generator" +}, +"response": { +"$ref": "GoogleCloudDialogflowCxV3Generator" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"delete": { +"description": "", +"flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/generators/{generatorsId}", +"httpMethod": "DELETE", +"id": "dialogflow.projects.locations.agents.generators.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"force": { +"location": "query", +"type": "boolean" +}, +"name": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/generators/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3/{+name}", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"get": { +"description": "", +"flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/generators/{generatorsId}", +"httpMethod": "GET", +"id": "dialogflow.projects.locations.agents.generators.get", +"parameterOrder": [ +"name" +], +"parameters": { +"languageCode": { +"location": "query", +"type": "string" +}, +"name": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/generators/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3/{+name}", +"response": { +"$ref": "GoogleCloudDialogflowCxV3Generator" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"list": { +"description": "", +"flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/generators", +"httpMethod": "GET", +"id": "dialogflow.projects.locations.agents.generators.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"languageCode": { +"location": "query", +"type": "string" +}, +"pageSize": { +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"location": "query", +"type": "string" +}, +"parent": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3/{+parent}/generators", +"response": { +"$ref": "GoogleCloudDialogflowCxV3ListGeneratorsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"patch": { +"description": "", +"flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/generators/{generatorsId}", +"httpMethod": "PATCH", +"id": "dialogflow.projects.locations.agents.generators.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"languageCode": { +"location": "query", +"type": "string" +}, +"name": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/generators/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v3/{+name}", +"request": { +"$ref": "GoogleCloudDialogflowCxV3Generator" +}, +"response": { +"$ref": "GoogleCloudDialogflowCxV3Generator" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +} +} +}, +"intents": { +"methods": { +"create": { +"description": "", +"flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/intents", +"httpMethod": "POST", +"id": "dialogflow.projects.locations.agents.intents.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"languageCode": { +"location": "query", +"type": "string" +}, +"parent": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3/{+parent}/intents", +"request": { +"$ref": "GoogleCloudDialogflowCxV3Intent" +}, +"response": { +"$ref": "GoogleCloudDialogflowCxV3Intent" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"delete": { +"description": "", +"flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/intents/{intentsId}", +"httpMethod": "DELETE", +"id": "dialogflow.projects.locations.agents.intents.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/intents/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3/{+name}", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"export": { +"description": "", +"flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/intents:export", +"httpMethod": "POST", +"id": "dialogflow.projects.locations.agents.intents.export", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3/{+parent}/intents:export", +"request": { +"$ref": "GoogleCloudDialogflowCxV3ExportIntentsRequest" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"get": { +"description": "", +"flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/intents/{intentsId}", +"httpMethod": "GET", +"id": "dialogflow.projects.locations.agents.intents.get", +"parameterOrder": [ +"name" +], +"parameters": { +"languageCode": { +"location": "query", +"type": "string" +}, +"name": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/intents/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3/{+name}", +"response": { +"$ref": "GoogleCloudDialogflowCxV3Intent" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"import": { +"description": "", +"flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/intents:import", +"httpMethod": "POST", +"id": "dialogflow.projects.locations.agents.intents.import", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3/{+parent}/intents:import", +"request": { +"$ref": "GoogleCloudDialogflowCxV3ImportIntentsRequest" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"list": { +"description": "", +"flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/intents", +"httpMethod": "GET", +"id": "dialogflow.projects.locations.agents.intents.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"intentView": { +"enum": [ +"INTENT_VIEW_UNSPECIFIED", +"INTENT_VIEW_PARTIAL", +"INTENT_VIEW_FULL" +], +"enumDescriptions": [ +"", +"", +"" +], +"location": "query", +"type": "string" +}, +"languageCode": { +"location": "query", +"type": "string" +}, +"pageSize": { +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"location": "query", +"type": "string" +}, +"parent": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3/{+parent}/intents", +"response": { +"$ref": "GoogleCloudDialogflowCxV3ListIntentsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"patch": { +"description": "", +"flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/intents/{intentsId}", +"httpMethod": "PATCH", +"id": "dialogflow.projects.locations.agents.intents.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"languageCode": { +"location": "query", +"type": "string" +}, +"name": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/intents/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v3/{+name}", +"request": { +"$ref": "GoogleCloudDialogflowCxV3Intent" +}, +"response": { +"$ref": "GoogleCloudDialogflowCxV3Intent" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +} +} +}, +"playbooks": { +"methods": { +"create": { +"description": "", +"flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/playbooks", +"httpMethod": "POST", +"id": "dialogflow.projects.locations.agents.playbooks.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3/{+parent}/playbooks", +"request": { +"$ref": "GoogleCloudDialogflowCxV3Playbook" +}, +"response": { +"$ref": "GoogleCloudDialogflowCxV3Playbook" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"delete": { +"description": "", +"flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/playbooks/{playbooksId}", +"httpMethod": "DELETE", +"id": "dialogflow.projects.locations.agents.playbooks.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/playbooks/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3/{+name}", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"export": { +"description": "", +"flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/playbooks/{playbooksId}:export", +"httpMethod": "POST", +"id": "dialogflow.projects.locations.agents.playbooks.export", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/playbooks/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3/{+name}:export", +"request": { +"$ref": "GoogleCloudDialogflowCxV3ExportPlaybookRequest" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"get": { +"description": "", +"flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/playbooks/{playbooksId}", +"httpMethod": "GET", +"id": "dialogflow.projects.locations.agents.playbooks.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/playbooks/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3/{+name}", +"response": { +"$ref": "GoogleCloudDialogflowCxV3Playbook" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"import": { +"description": "", +"flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/playbooks:import", +"httpMethod": "POST", +"id": "dialogflow.projects.locations.agents.playbooks.import", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3/{+parent}/playbooks:import", +"request": { +"$ref": "GoogleCloudDialogflowCxV3ImportPlaybookRequest" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"list": { +"description": "", +"flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/playbooks", +"httpMethod": "GET", +"id": "dialogflow.projects.locations.agents.playbooks.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"location": "query", +"type": "string" +}, +"parent": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3/{+parent}/playbooks", +"response": { +"$ref": "GoogleCloudDialogflowCxV3ListPlaybooksResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"patch": { +"description": "", +"flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/playbooks/{playbooksId}", +"httpMethod": "PATCH", +"id": "dialogflow.projects.locations.agents.playbooks.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/playbooks/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v3/{+name}", +"request": { +"$ref": "GoogleCloudDialogflowCxV3Playbook" +}, +"response": { +"$ref": "GoogleCloudDialogflowCxV3Playbook" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +} +}, +"resources": { +"examples": { +"methods": { +"create": { +"description": "", +"flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/playbooks/{playbooksId}/examples", +"httpMethod": "POST", +"id": "dialogflow.projects.locations.agents.playbooks.examples.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/playbooks/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3/{+parent}/examples", +"request": { +"$ref": "GoogleCloudDialogflowCxV3Example" +}, +"response": { +"$ref": "GoogleCloudDialogflowCxV3Example" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"delete": { +"description": "", +"flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/playbooks/{playbooksId}/examples/{examplesId}", +"httpMethod": "DELETE", +"id": "dialogflow.projects.locations.agents.playbooks.examples.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/playbooks/[^/]+/examples/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3/{+name}", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"get": { +"description": "", +"flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/playbooks/{playbooksId}/examples/{examplesId}", +"httpMethod": "GET", +"id": "dialogflow.projects.locations.agents.playbooks.examples.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/playbooks/[^/]+/examples/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3/{+name}", +"response": { +"$ref": "GoogleCloudDialogflowCxV3Example" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"list": { +"description": "", +"flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/playbooks/{playbooksId}/examples", +"httpMethod": "GET", +"id": "dialogflow.projects.locations.agents.playbooks.examples.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"languageCode": { +"location": "query", +"type": "string" +}, +"pageSize": { +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"location": "query", +"type": "string" +}, +"parent": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/playbooks/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3/{+parent}/examples", +"response": { +"$ref": "GoogleCloudDialogflowCxV3ListExamplesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"patch": { +"description": "", +"flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/playbooks/{playbooksId}/examples/{examplesId}", +"httpMethod": "PATCH", +"id": "dialogflow.projects.locations.agents.playbooks.examples.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/playbooks/[^/]+/examples/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v3/{+name}", +"request": { +"$ref": "GoogleCloudDialogflowCxV3Example" +}, +"response": { +"$ref": "GoogleCloudDialogflowCxV3Example" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +} +} +}, +"versions": { +"methods": { +"create": { +"description": "", +"flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/playbooks/{playbooksId}/versions", +"httpMethod": "POST", +"id": "dialogflow.projects.locations.agents.playbooks.versions.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/playbooks/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3/{+parent}/versions", +"request": { +"$ref": "GoogleCloudDialogflowCxV3PlaybookVersion" +}, +"response": { +"$ref": "GoogleCloudDialogflowCxV3PlaybookVersion" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"delete": { +"description": "", +"flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/playbooks/{playbooksId}/versions/{versionsId}", +"httpMethod": "DELETE", +"id": "dialogflow.projects.locations.agents.playbooks.versions.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/playbooks/[^/]+/versions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3/{+name}", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"get": { +"description": "", +"flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/playbooks/{playbooksId}/versions/{versionsId}", +"httpMethod": "GET", +"id": "dialogflow.projects.locations.agents.playbooks.versions.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/playbooks/[^/]+/versions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3/{+name}", +"response": { +"$ref": "GoogleCloudDialogflowCxV3PlaybookVersion" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"list": { +"description": "", +"flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/playbooks/{playbooksId}/versions", +"httpMethod": "GET", +"id": "dialogflow.projects.locations.agents.playbooks.versions.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"location": "query", +"type": "string" +}, +"parent": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/playbooks/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3/{+parent}/versions", +"response": { +"$ref": "GoogleCloudDialogflowCxV3ListPlaybookVersionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"restore": { +"description": "", +"flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/playbooks/{playbooksId}/versions/{versionsId}:restore", +"httpMethod": "POST", +"id": "dialogflow.projects.locations.agents.playbooks.versions.restore", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/playbooks/[^/]+/versions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3/{+name}:restore", +"request": { +"$ref": "GoogleCloudDialogflowCxV3RestorePlaybookVersionRequest" +}, +"response": { +"$ref": "GoogleCloudDialogflowCxV3RestorePlaybookVersionResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +} +} +} +} +}, +"sessions": { +"methods": { +"detectIntent": { +"description": "", +"flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/sessions/{sessionsId}:detectIntent", +"httpMethod": "POST", +"id": "dialogflow.projects.locations.agents.sessions.detectIntent", +"parameterOrder": [ +"session" +], +"parameters": { +"session": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/sessions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3/{+session}:detectIntent", +"request": { +"$ref": "GoogleCloudDialogflowCxV3DetectIntentRequest" +}, +"response": { +"$ref": "GoogleCloudDialogflowCxV3DetectIntentResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"fulfillIntent": { +"description": "", +"flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/sessions/{sessionsId}:fulfillIntent", +"httpMethod": "POST", +"id": "dialogflow.projects.locations.agents.sessions.fulfillIntent", +"parameterOrder": [ +"session" +], +"parameters": { +"session": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/sessions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3/{+session}:fulfillIntent", +"request": { +"$ref": "GoogleCloudDialogflowCxV3FulfillIntentRequest" +}, +"response": { +"$ref": "GoogleCloudDialogflowCxV3FulfillIntentResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"matchIntent": { +"description": "", +"flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/sessions/{sessionsId}:matchIntent", +"httpMethod": "POST", +"id": "dialogflow.projects.locations.agents.sessions.matchIntent", +"parameterOrder": [ +"session" +], +"parameters": { +"session": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/sessions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3/{+session}:matchIntent", +"request": { +"$ref": "GoogleCloudDialogflowCxV3MatchIntentRequest" +}, +"response": { +"$ref": "GoogleCloudDialogflowCxV3MatchIntentResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"serverStreamingDetectIntent": { +"description": "", +"flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/sessions/{sessionsId}:serverStreamingDetectIntent", +"httpMethod": "POST", +"id": "dialogflow.projects.locations.agents.sessions.serverStreamingDetectIntent", +"parameterOrder": [ +"session" +], +"parameters": { +"session": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/sessions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3/{+session}:serverStreamingDetectIntent", +"request": { +"$ref": "GoogleCloudDialogflowCxV3DetectIntentRequest" +}, +"response": { +"$ref": "GoogleCloudDialogflowCxV3DetectIntentResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"submitAnswerFeedback": { +"description": "", +"flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/sessions/{sessionsId}:submitAnswerFeedback", +"httpMethod": "POST", +"id": "dialogflow.projects.locations.agents.sessions.submitAnswerFeedback", +"parameterOrder": [ +"session" +], +"parameters": { +"session": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/sessions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3/{+session}:submitAnswerFeedback", +"request": { +"$ref": "GoogleCloudDialogflowCxV3SubmitAnswerFeedbackRequest" +}, +"response": { +"$ref": "GoogleCloudDialogflowCxV3AnswerFeedback" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +} +}, +"resources": { +"entityTypes": { +"methods": { +"create": { +"description": "", +"flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/sessions/{sessionsId}/entityTypes", +"httpMethod": "POST", +"id": "dialogflow.projects.locations.agents.sessions.entityTypes.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/sessions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3/{+parent}/entityTypes", +"request": { +"$ref": "GoogleCloudDialogflowCxV3SessionEntityType" +}, +"response": { +"$ref": "GoogleCloudDialogflowCxV3SessionEntityType" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"delete": { +"description": "", +"flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/sessions/{sessionsId}/entityTypes/{entityTypesId}", +"httpMethod": "DELETE", +"id": "dialogflow.projects.locations.agents.sessions.entityTypes.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/sessions/[^/]+/entityTypes/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3/{+name}", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"get": { +"description": "", +"flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/sessions/{sessionsId}/entityTypes/{entityTypesId}", +"httpMethod": "GET", +"id": "dialogflow.projects.locations.agents.sessions.entityTypes.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/sessions/[^/]+/entityTypes/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3/{+name}", +"response": { +"$ref": "GoogleCloudDialogflowCxV3SessionEntityType" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"list": { +"description": "", +"flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/sessions/{sessionsId}/entityTypes", +"httpMethod": "GET", +"id": "dialogflow.projects.locations.agents.sessions.entityTypes.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"location": "query", +"type": "string" +}, +"parent": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/sessions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3/{+parent}/entityTypes", +"response": { +"$ref": "GoogleCloudDialogflowCxV3ListSessionEntityTypesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"patch": { +"description": "", +"flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/sessions/{sessionsId}/entityTypes/{entityTypesId}", +"httpMethod": "PATCH", +"id": "dialogflow.projects.locations.agents.sessions.entityTypes.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/sessions/[^/]+/entityTypes/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v3/{+name}", +"request": { +"$ref": "GoogleCloudDialogflowCxV3SessionEntityType" +}, +"response": { +"$ref": "GoogleCloudDialogflowCxV3SessionEntityType" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +} +} +} +} +}, +"testCases": { +"methods": { +"batchDelete": { +"description": "", +"flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/testCases:batchDelete", +"httpMethod": "POST", +"id": "dialogflow.projects.locations.agents.testCases.batchDelete", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3/{+parent}/testCases:batchDelete", +"request": { +"$ref": "GoogleCloudDialogflowCxV3BatchDeleteTestCasesRequest" +}, +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"batchRun": { +"description": "", +"flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/testCases:batchRun", +"httpMethod": "POST", +"id": "dialogflow.projects.locations.agents.testCases.batchRun", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3/{+parent}/testCases:batchRun", +"request": { +"$ref": "GoogleCloudDialogflowCxV3BatchRunTestCasesRequest" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"calculateCoverage": { +"description": "", +"flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/testCases:calculateCoverage", +"httpMethod": "GET", +"id": "dialogflow.projects.locations.agents.testCases.calculateCoverage", +"parameterOrder": [ +"agent" +], +"parameters": { +"agent": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+$", +"required": true, +"type": "string" +}, +"type": { +"enum": [ +"COVERAGE_TYPE_UNSPECIFIED", +"INTENT", +"PAGE_TRANSITION", +"TRANSITION_ROUTE_GROUP" +], +"enumDescriptions": [ +"", +"", +"", +"" +], +"location": "query", +"type": "string" +} +}, +"path": "v3/{+agent}/testCases:calculateCoverage", +"response": { +"$ref": "GoogleCloudDialogflowCxV3CalculateCoverageResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"create": { +"description": "", +"flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/testCases", +"httpMethod": "POST", +"id": "dialogflow.projects.locations.agents.testCases.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3/{+parent}/testCases", +"request": { +"$ref": "GoogleCloudDialogflowCxV3TestCase" +}, +"response": { +"$ref": "GoogleCloudDialogflowCxV3TestCase" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"export": { +"description": "", +"flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/testCases:export", +"httpMethod": "POST", +"id": "dialogflow.projects.locations.agents.testCases.export", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3/{+parent}/testCases:export", +"request": { +"$ref": "GoogleCloudDialogflowCxV3ExportTestCasesRequest" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"get": { +"description": "", +"flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/testCases/{testCasesId}", +"httpMethod": "GET", +"id": "dialogflow.projects.locations.agents.testCases.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/testCases/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3/{+name}", +"response": { +"$ref": "GoogleCloudDialogflowCxV3TestCase" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"import": { +"description": "", +"flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/testCases:import", +"httpMethod": "POST", +"id": "dialogflow.projects.locations.agents.testCases.import", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3/{+parent}/testCases:import", +"request": { +"$ref": "GoogleCloudDialogflowCxV3ImportTestCasesRequest" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"list": { +"description": "", +"flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/testCases", +"httpMethod": "GET", +"id": "dialogflow.projects.locations.agents.testCases.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"location": "query", +"type": "string" +}, +"parent": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+$", +"required": true, +"type": "string" +}, +"view": { +"enum": [ +"TEST_CASE_VIEW_UNSPECIFIED", +"BASIC", +"FULL" +], +"enumDescriptions": [ +"", +"", +"" +], +"location": "query", +"type": "string" +} +}, +"path": "v3/{+parent}/testCases", +"response": { +"$ref": "GoogleCloudDialogflowCxV3ListTestCasesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"patch": { +"description": "", +"flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/testCases/{testCasesId}", +"httpMethod": "PATCH", +"id": "dialogflow.projects.locations.agents.testCases.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/testCases/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v3/{+name}", +"request": { +"$ref": "GoogleCloudDialogflowCxV3TestCase" +}, +"response": { +"$ref": "GoogleCloudDialogflowCxV3TestCase" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"run": { +"description": "", +"flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/testCases/{testCasesId}:run", +"httpMethod": "POST", +"id": "dialogflow.projects.locations.agents.testCases.run", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/testCases/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3/{+name}:run", +"request": { +"$ref": "GoogleCloudDialogflowCxV3RunTestCaseRequest" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +} +}, +"resources": { +"results": { +"methods": { +"get": { +"description": "", +"flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/testCases/{testCasesId}/results/{resultsId}", +"httpMethod": "GET", +"id": "dialogflow.projects.locations.agents.testCases.results.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/testCases/[^/]+/results/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3/{+name}", +"response": { +"$ref": "GoogleCloudDialogflowCxV3TestCaseResult" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"list": { +"description": "", +"flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/testCases/{testCasesId}/results", +"httpMethod": "GET", +"id": "dialogflow.projects.locations.agents.testCases.results.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"location": "query", +"type": "string" +}, +"pageSize": { +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"location": "query", +"type": "string" +}, +"parent": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/testCases/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3/{+parent}/results", +"response": { +"$ref": "GoogleCloudDialogflowCxV3ListTestCaseResultsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +} +} +} +} +}, +"tools": { +"methods": { +"create": { +"description": "", +"flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/tools", +"httpMethod": "POST", +"id": "dialogflow.projects.locations.agents.tools.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3/{+parent}/tools", +"request": { +"$ref": "GoogleCloudDialogflowCxV3Tool" +}, +"response": { +"$ref": "GoogleCloudDialogflowCxV3Tool" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"delete": { +"description": "", +"flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/tools/{toolsId}", +"httpMethod": "DELETE", +"id": "dialogflow.projects.locations.agents.tools.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"force": { +"location": "query", +"type": "boolean" +}, +"name": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/tools/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3/{+name}", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"get": { +"description": "", +"flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/tools/{toolsId}", +"httpMethod": "GET", +"id": "dialogflow.projects.locations.agents.tools.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/tools/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3/{+name}", +"response": { +"$ref": "GoogleCloudDialogflowCxV3Tool" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"list": { +"description": "", +"flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/tools", +"httpMethod": "GET", +"id": "dialogflow.projects.locations.agents.tools.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"location": "query", +"type": "string" +}, +"parent": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3/{+parent}/tools", +"response": { +"$ref": "GoogleCloudDialogflowCxV3ListToolsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"patch": { +"description": "", +"flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/tools/{toolsId}", +"httpMethod": "PATCH", +"id": "dialogflow.projects.locations.agents.tools.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/tools/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v3/{+name}", +"request": { +"$ref": "GoogleCloudDialogflowCxV3Tool" +}, +"response": { +"$ref": "GoogleCloudDialogflowCxV3Tool" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +} +}, +"resources": { +"versions": { +"methods": { +"create": { +"description": "", +"flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/tools/{toolsId}/versions", +"httpMethod": "POST", +"id": "dialogflow.projects.locations.agents.tools.versions.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/tools/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3/{+parent}/versions", +"request": { +"$ref": "GoogleCloudDialogflowCxV3ToolVersion" +}, +"response": { +"$ref": "GoogleCloudDialogflowCxV3ToolVersion" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"delete": { +"description": "", +"flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/tools/{toolsId}/versions/{versionsId}", +"httpMethod": "DELETE", +"id": "dialogflow.projects.locations.agents.tools.versions.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"force": { +"location": "query", +"type": "boolean" +}, +"name": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/tools/[^/]+/versions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3/{+name}", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"get": { +"description": "", +"flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/tools/{toolsId}/versions/{versionsId}", +"httpMethod": "GET", +"id": "dialogflow.projects.locations.agents.tools.versions.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/tools/[^/]+/versions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3/{+name}", +"response": { +"$ref": "GoogleCloudDialogflowCxV3ToolVersion" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"list": { +"description": "", +"flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/tools/{toolsId}/versions", +"httpMethod": "GET", +"id": "dialogflow.projects.locations.agents.tools.versions.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"location": "query", +"type": "string" +}, +"parent": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/tools/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3/{+parent}/versions", +"response": { +"$ref": "GoogleCloudDialogflowCxV3ListToolVersionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"restore": { +"description": "", +"flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/tools/{toolsId}/versions/{versionsId}:restore", +"httpMethod": "POST", +"id": "dialogflow.projects.locations.agents.tools.versions.restore", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/tools/[^/]+/versions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3/{+name}:restore", +"request": { +"$ref": "GoogleCloudDialogflowCxV3RestoreToolVersionRequest" +}, +"response": { +"$ref": "GoogleCloudDialogflowCxV3RestoreToolVersionResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +} +} +} +} +}, +"transitionRouteGroups": { +"methods": { +"create": { +"description": "", +"flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/transitionRouteGroups", +"httpMethod": "POST", +"id": "dialogflow.projects.locations.agents.transitionRouteGroups.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"languageCode": { +"location": "query", +"type": "string" +}, +"parent": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3/{+parent}/transitionRouteGroups", +"request": { +"$ref": "GoogleCloudDialogflowCxV3TransitionRouteGroup" +}, +"response": { +"$ref": "GoogleCloudDialogflowCxV3TransitionRouteGroup" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"delete": { +"description": "", +"flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/transitionRouteGroups/{transitionRouteGroupsId}", +"httpMethod": "DELETE", +"id": "dialogflow.projects.locations.agents.transitionRouteGroups.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"force": { +"location": "query", +"type": "boolean" +}, +"name": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/transitionRouteGroups/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3/{+name}", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"get": { +"description": "", +"flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/transitionRouteGroups/{transitionRouteGroupsId}", +"httpMethod": "GET", +"id": "dialogflow.projects.locations.agents.transitionRouteGroups.get", +"parameterOrder": [ +"name" +], +"parameters": { +"languageCode": { +"location": "query", +"type": "string" +}, +"name": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/transitionRouteGroups/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3/{+name}", +"response": { +"$ref": "GoogleCloudDialogflowCxV3TransitionRouteGroup" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"list": { +"description": "", +"flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/transitionRouteGroups", +"httpMethod": "GET", +"id": "dialogflow.projects.locations.agents.transitionRouteGroups.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"languageCode": { +"location": "query", +"type": "string" +}, +"pageSize": { +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"location": "query", +"type": "string" +}, +"parent": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3/{+parent}/transitionRouteGroups", +"response": { +"$ref": "GoogleCloudDialogflowCxV3ListTransitionRouteGroupsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"patch": { +"description": "", +"flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/transitionRouteGroups/{transitionRouteGroupsId}", +"httpMethod": "PATCH", +"id": "dialogflow.projects.locations.agents.transitionRouteGroups.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"languageCode": { +"location": "query", +"type": "string" +}, +"name": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/transitionRouteGroups/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v3/{+name}", +"request": { +"$ref": "GoogleCloudDialogflowCxV3TransitionRouteGroup" +}, +"response": { +"$ref": "GoogleCloudDialogflowCxV3TransitionRouteGroup" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +} +} +}, +"webhooks": { +"methods": { +"create": { +"description": "", +"flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/webhooks", +"httpMethod": "POST", +"id": "dialogflow.projects.locations.agents.webhooks.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3/{+parent}/webhooks", +"request": { +"$ref": "GoogleCloudDialogflowCxV3Webhook" +}, +"response": { +"$ref": "GoogleCloudDialogflowCxV3Webhook" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"delete": { +"description": "", +"flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/webhooks/{webhooksId}", +"httpMethod": "DELETE", +"id": "dialogflow.projects.locations.agents.webhooks.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"force": { +"location": "query", +"type": "boolean" +}, +"name": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/webhooks/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3/{+name}", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"get": { +"description": "", +"flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/webhooks/{webhooksId}", +"httpMethod": "GET", +"id": "dialogflow.projects.locations.agents.webhooks.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/webhooks/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3/{+name}", +"response": { +"$ref": "GoogleCloudDialogflowCxV3Webhook" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"list": { +"description": "", +"flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/webhooks", +"httpMethod": "GET", +"id": "dialogflow.projects.locations.agents.webhooks.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"location": "query", +"type": "string" +}, +"parent": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3/{+parent}/webhooks", +"response": { +"$ref": "GoogleCloudDialogflowCxV3ListWebhooksResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"patch": { +"description": "", +"flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/webhooks/{webhooksId}", +"httpMethod": "PATCH", +"id": "dialogflow.projects.locations.agents.webhooks.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/webhooks/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v3/{+name}", +"request": { +"$ref": "GoogleCloudDialogflowCxV3Webhook" +}, +"response": { +"$ref": "GoogleCloudDialogflowCxV3Webhook" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +} +} +} +} +}, +"operations": { +"methods": { +"cancel": { +"description": "", +"flatPath": "v3/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}:cancel", +"httpMethod": "POST", +"id": "dialogflow.projects.locations.operations.cancel", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3/{+name}:cancel", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"get": { +"description": "", +"flatPath": "v3/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}", +"httpMethod": "GET", +"id": "dialogflow.projects.locations.operations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3/{+name}", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"list": { +"description": "", +"flatPath": "v3/projects/{projectsId}/locations/{locationsId}/operations", +"httpMethod": "GET", +"id": "dialogflow.projects.locations.operations.list", +"parameterOrder": [ +"name" +], +"parameters": { +"filter": { +"location": "query", +"type": "string" +}, +"name": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"location": "query", +"type": "string" +}, +"returnPartialSuccess": { +"location": "query", +"type": "boolean" +} +}, +"path": "v3/{+name}/operations", +"response": { +"$ref": "GoogleLongrunningListOperationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +} +} +}, +"securitySettings": { +"methods": { +"create": { +"description": "", +"flatPath": "v3/projects/{projectsId}/locations/{locationsId}/securitySettings", +"httpMethod": "POST", +"id": "dialogflow.projects.locations.securitySettings.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3/{+parent}/securitySettings", +"request": { +"$ref": "GoogleCloudDialogflowCxV3SecuritySettings" +}, +"response": { +"$ref": "GoogleCloudDialogflowCxV3SecuritySettings" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"delete": { +"description": "", +"flatPath": "v3/projects/{projectsId}/locations/{locationsId}/securitySettings/{securitySettingsId}", +"httpMethod": "DELETE", +"id": "dialogflow.projects.locations.securitySettings.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/securitySettings/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3/{+name}", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"get": { +"description": "", +"flatPath": "v3/projects/{projectsId}/locations/{locationsId}/securitySettings/{securitySettingsId}", +"httpMethod": "GET", +"id": "dialogflow.projects.locations.securitySettings.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/securitySettings/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3/{+name}", +"response": { +"$ref": "GoogleCloudDialogflowCxV3SecuritySettings" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"list": { +"description": "", +"flatPath": "v3/projects/{projectsId}/locations/{locationsId}/securitySettings", +"httpMethod": "GET", +"id": "dialogflow.projects.locations.securitySettings.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"location": "query", +"type": "string" +}, +"parent": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3/{+parent}/securitySettings", +"response": { +"$ref": "GoogleCloudDialogflowCxV3ListSecuritySettingsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"patch": { +"description": "", +"flatPath": "v3/projects/{projectsId}/locations/{locationsId}/securitySettings/{securitySettingsId}", +"httpMethod": "PATCH", +"id": "dialogflow.projects.locations.securitySettings.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/securitySettings/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v3/{+name}", +"request": { +"$ref": "GoogleCloudDialogflowCxV3SecuritySettings" +}, +"response": { +"$ref": "GoogleCloudDialogflowCxV3SecuritySettings" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +} +} +} +} +}, +"operations": { +"methods": { +"cancel": { +"description": "", +"flatPath": "v3/projects/{projectsId}/operations/{operationsId}:cancel", +"httpMethod": "POST", +"id": "dialogflow.projects.operations.cancel", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"location": "path", +"pattern": "^projects/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3/{+name}:cancel", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"get": { +"description": "", +"flatPath": "v3/projects/{projectsId}/operations/{operationsId}", +"httpMethod": "GET", +"id": "dialogflow.projects.operations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"location": "path", +"pattern": "^projects/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3/{+name}", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"list": { +"description": "", +"flatPath": "v3/projects/{projectsId}/operations", +"httpMethod": "GET", +"id": "dialogflow.projects.operations.list", +"parameterOrder": [ +"name" +], +"parameters": { +"filter": { +"location": "query", +"type": "string" +}, +"name": { +"location": "path", +"pattern": "^projects/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"location": "query", +"type": "string" +}, +"returnPartialSuccess": { +"location": "query", +"type": "boolean" +} +}, +"path": "v3/{+name}/operations", +"response": { +"$ref": "GoogleLongrunningListOperationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +} +} +} +} +} +}, +"revision": "20260119", +"rootUrl": "https://dialogflow.googleapis.com/", +"schemas": { +"GoogleCloudDialogflowCxV3Action": { +"id": "GoogleCloudDialogflowCxV3Action", +"properties": { +"agentUtterance": { +"$ref": "GoogleCloudDialogflowCxV3AgentUtterance" +}, +"flowInvocation": { +"$ref": "GoogleCloudDialogflowCxV3FlowInvocation" +}, +"flowTransition": { +"$ref": "GoogleCloudDialogflowCxV3FlowTransition" +}, +"playbookInvocation": { +"$ref": "GoogleCloudDialogflowCxV3PlaybookInvocation" +}, +"playbookTransition": { +"$ref": "GoogleCloudDialogflowCxV3PlaybookTransition" +}, +"toolUse": { +"$ref": "GoogleCloudDialogflowCxV3ToolUse" +}, +"userUtterance": { +"$ref": "GoogleCloudDialogflowCxV3UserUtterance" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3AdvancedSettings": { +"id": "GoogleCloudDialogflowCxV3AdvancedSettings", +"properties": { +"audioExportGcsDestination": { +"$ref": "GoogleCloudDialogflowCxV3GcsDestination" +}, +"dtmfSettings": { +"$ref": "GoogleCloudDialogflowCxV3AdvancedSettingsDtmfSettings" +}, +"loggingSettings": { +"$ref": "GoogleCloudDialogflowCxV3AdvancedSettingsLoggingSettings" +}, +"speechSettings": { +"$ref": "GoogleCloudDialogflowCxV3AdvancedSettingsSpeechSettings" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3AdvancedSettingsDtmfSettings": { +"id": "GoogleCloudDialogflowCxV3AdvancedSettingsDtmfSettings", +"properties": { +"enabled": { +"type": "boolean" +}, +"endpointingTimeoutDuration": { +"format": "google-duration", +"type": "string" +}, +"finishDigit": { +"type": "string" +}, +"interdigitTimeoutDuration": { +"format": "google-duration", +"type": "string" +}, +"maxDigits": { +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3AdvancedSettingsLoggingSettings": { +"id": "GoogleCloudDialogflowCxV3AdvancedSettingsLoggingSettings", +"properties": { +"enableConsentBasedRedaction": { +"type": "boolean" +}, +"enableInteractionLogging": { +"type": "boolean" +}, +"enableStackdriverLogging": { +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3AdvancedSettingsSpeechSettings": { +"id": "GoogleCloudDialogflowCxV3AdvancedSettingsSpeechSettings", +"properties": { +"endpointerSensitivity": { +"format": "int32", +"type": "integer" +}, +"models": { +"additionalProperties": { +"type": "string" +}, +"type": "object" +}, +"noSpeechTimeout": { +"format": "google-duration", +"type": "string" +}, +"useTimeoutBasedEndpointing": { +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3Agent": { +"id": "GoogleCloudDialogflowCxV3Agent", +"properties": { +"advancedSettings": { +"$ref": "GoogleCloudDialogflowCxV3AdvancedSettings" +}, +"answerFeedbackSettings": { +"$ref": "GoogleCloudDialogflowCxV3AgentAnswerFeedbackSettings" +}, +"avatarUri": { +"type": "string" +}, +"clientCertificateSettings": { +"$ref": "GoogleCloudDialogflowCxV3AgentClientCertificateSettings" +}, +"defaultLanguageCode": { +"type": "string" +}, +"description": { +"type": "string" +}, +"displayName": { +"type": "string" +}, +"enableMultiLanguageTraining": { +"type": "boolean" +}, +"enableSpellCorrection": { +"type": "boolean" +}, +"enableStackdriverLogging": { +"deprecated": true, +"type": "boolean" +}, +"genAppBuilderSettings": { +"$ref": "GoogleCloudDialogflowCxV3AgentGenAppBuilderSettings" +}, +"gitIntegrationSettings": { +"$ref": "GoogleCloudDialogflowCxV3AgentGitIntegrationSettings" +}, +"locked": { +"type": "boolean" +}, +"name": { +"type": "string" +}, +"personalizationSettings": { +"$ref": "GoogleCloudDialogflowCxV3AgentPersonalizationSettings" +}, +"satisfiesPzi": { +"readOnly": true, +"type": "boolean" +}, +"satisfiesPzs": { +"readOnly": true, +"type": "boolean" +}, +"securitySettings": { +"type": "string" +}, +"speechToTextSettings": { +"$ref": "GoogleCloudDialogflowCxV3SpeechToTextSettings" +}, +"startFlow": { +"type": "string" +}, +"startPlaybook": { +"type": "string" +}, +"supportedLanguageCodes": { +"items": { +"type": "string" +}, +"type": "array" +}, +"textToSpeechSettings": { +"$ref": "GoogleCloudDialogflowCxV3TextToSpeechSettings" +}, +"timeZone": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3AgentAnswerFeedbackSettings": { +"id": "GoogleCloudDialogflowCxV3AgentAnswerFeedbackSettings", +"properties": { +"enableAnswerFeedback": { +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3AgentClientCertificateSettings": { +"id": "GoogleCloudDialogflowCxV3AgentClientCertificateSettings", +"properties": { +"passphrase": { +"type": "string" +}, +"privateKey": { +"type": "string" +}, +"sslCertificate": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3AgentGenAppBuilderSettings": { +"id": "GoogleCloudDialogflowCxV3AgentGenAppBuilderSettings", +"properties": { +"engine": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3AgentGitIntegrationSettings": { +"id": "GoogleCloudDialogflowCxV3AgentGitIntegrationSettings", +"properties": { +"githubSettings": { +"$ref": "GoogleCloudDialogflowCxV3AgentGitIntegrationSettingsGithubSettings" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3AgentGitIntegrationSettingsGithubSettings": { +"id": "GoogleCloudDialogflowCxV3AgentGitIntegrationSettingsGithubSettings", +"properties": { +"accessToken": { +"type": "string" +}, +"branches": { +"items": { +"type": "string" +}, +"type": "array" +}, +"displayName": { +"type": "string" +}, +"repositoryUri": { +"type": "string" +}, +"trackingBranch": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3AgentPersonalizationSettings": { +"id": "GoogleCloudDialogflowCxV3AgentPersonalizationSettings", +"properties": { +"defaultEndUserMetadata": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"type": "object" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3AgentUtterance": { +"id": "GoogleCloudDialogflowCxV3AgentUtterance", +"properties": { +"text": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3AgentValidationResult": { +"id": "GoogleCloudDialogflowCxV3AgentValidationResult", +"properties": { +"flowValidationResults": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3FlowValidationResult" +}, +"type": "array" +}, +"name": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3AnswerFeedback": { +"id": "GoogleCloudDialogflowCxV3AnswerFeedback", +"properties": { +"customRating": { +"type": "string" +}, +"rating": { +"enum": [ +"RATING_UNSPECIFIED", +"THUMBS_UP", +"THUMBS_DOWN" +], +"enumDescriptions": [ +"", +"", +"" +], +"type": "string" +}, +"ratingReason": { +"$ref": "GoogleCloudDialogflowCxV3AnswerFeedbackRatingReason" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3AnswerFeedbackRatingReason": { +"id": "GoogleCloudDialogflowCxV3AnswerFeedbackRatingReason", +"properties": { +"feedback": { +"type": "string" +}, +"reasonLabels": { +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3AudioInput": { +"id": "GoogleCloudDialogflowCxV3AudioInput", +"properties": { +"audio": { +"format": "byte", +"type": "string" +}, +"config": { +"$ref": "GoogleCloudDialogflowCxV3InputAudioConfig" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3BargeInConfig": { +"id": "GoogleCloudDialogflowCxV3BargeInConfig", +"properties": { +"noBargeInDuration": { +"format": "google-duration", +"type": "string" +}, +"totalDuration": { +"format": "google-duration", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3BatchDeleteTestCasesRequest": { +"id": "GoogleCloudDialogflowCxV3BatchDeleteTestCasesRequest", +"properties": { +"names": { +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3BatchRunTestCasesMetadata": { +"id": "GoogleCloudDialogflowCxV3BatchRunTestCasesMetadata", +"properties": { +"errors": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3TestError" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3BatchRunTestCasesRequest": { +"id": "GoogleCloudDialogflowCxV3BatchRunTestCasesRequest", +"properties": { +"environment": { +"type": "string" +}, +"testCases": { +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3BatchRunTestCasesResponse": { +"id": "GoogleCloudDialogflowCxV3BatchRunTestCasesResponse", +"properties": { +"results": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3TestCaseResult" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3BoostSpec": { +"id": "GoogleCloudDialogflowCxV3BoostSpec", +"properties": { +"conditionBoostSpecs": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3BoostSpecConditionBoostSpec" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3BoostSpecConditionBoostSpec": { +"id": "GoogleCloudDialogflowCxV3BoostSpecConditionBoostSpec", +"properties": { +"boost": { +"format": "float", +"type": "number" +}, +"boostControlSpec": { +"$ref": "GoogleCloudDialogflowCxV3BoostSpecConditionBoostSpecBoostControlSpec" +}, +"condition": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3BoostSpecConditionBoostSpecBoostControlSpec": { +"id": "GoogleCloudDialogflowCxV3BoostSpecConditionBoostSpecBoostControlSpec", +"properties": { +"attributeType": { +"enum": [ +"ATTRIBUTE_TYPE_UNSPECIFIED", +"NUMERICAL", +"FRESHNESS" +], +"enumDescriptions": [ +"", +"", +"" +], +"type": "string" +}, +"controlPoints": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3BoostSpecConditionBoostSpecBoostControlSpecControlPoint" +}, +"type": "array" +}, +"fieldName": { +"type": "string" +}, +"interpolationType": { +"enum": [ +"INTERPOLATION_TYPE_UNSPECIFIED", +"LINEAR" +], +"enumDescriptions": [ +"", +"" +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3BoostSpecConditionBoostSpecBoostControlSpecControlPoint": { +"id": "GoogleCloudDialogflowCxV3BoostSpecConditionBoostSpecBoostControlSpecControlPoint", +"properties": { +"attributeValue": { +"type": "string" +}, +"boostAmount": { +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3BoostSpecs": { +"id": "GoogleCloudDialogflowCxV3BoostSpecs", +"properties": { +"dataStores": { +"items": { +"type": "string" +}, +"type": "array" +}, +"spec": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3BoostSpec" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3CalculateCoverageResponse": { +"id": "GoogleCloudDialogflowCxV3CalculateCoverageResponse", +"properties": { +"agent": { +"type": "string" +}, +"intentCoverage": { +"$ref": "GoogleCloudDialogflowCxV3IntentCoverage" +}, +"routeGroupCoverage": { +"$ref": "GoogleCloudDialogflowCxV3TransitionRouteGroupCoverage" +}, +"transitionCoverage": { +"$ref": "GoogleCloudDialogflowCxV3TransitionCoverage" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3Changelog": { +"id": "GoogleCloudDialogflowCxV3Changelog", +"properties": { +"action": { +"type": "string" +}, +"createTime": { +"format": "google-datetime", +"type": "string" +}, +"displayName": { +"type": "string" +}, +"languageCode": { +"type": "string" +}, +"name": { +"type": "string" +}, +"resource": { +"type": "string" +}, +"type": { +"type": "string" +}, +"userEmail": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3CodeBlock": { +"id": "GoogleCloudDialogflowCxV3CodeBlock", +"properties": { +"code": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3CompareVersionsRequest": { +"id": "GoogleCloudDialogflowCxV3CompareVersionsRequest", +"properties": { +"languageCode": { +"type": "string" +}, +"targetVersion": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3CompareVersionsResponse": { +"id": "GoogleCloudDialogflowCxV3CompareVersionsResponse", +"properties": { +"baseVersionContentJson": { +"type": "string" +}, +"compareTime": { +"format": "google-datetime", +"type": "string" +}, +"targetVersionContentJson": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3ContinuousTestResult": { +"id": "GoogleCloudDialogflowCxV3ContinuousTestResult", +"properties": { +"name": { +"type": "string" +}, +"result": { +"enum": [ +"AGGREGATED_TEST_RESULT_UNSPECIFIED", +"PASSED", +"FAILED" +], +"enumDescriptions": [ +"", +"", +"" +], +"type": "string" +}, +"runTime": { +"format": "google-datetime", +"type": "string" +}, +"testCaseResults": { +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3ConversationSignals": { +"id": "GoogleCloudDialogflowCxV3ConversationSignals", +"properties": { +"turnSignals": { +"$ref": "GoogleCloudDialogflowCxV3TurnSignals" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3ConversationTurn": { +"id": "GoogleCloudDialogflowCxV3ConversationTurn", +"properties": { +"userInput": { +"$ref": "GoogleCloudDialogflowCxV3ConversationTurnUserInput" +}, +"virtualAgentOutput": { +"$ref": "GoogleCloudDialogflowCxV3ConversationTurnVirtualAgentOutput" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3ConversationTurnUserInput": { +"id": "GoogleCloudDialogflowCxV3ConversationTurnUserInput", +"properties": { +"enableSentimentAnalysis": { +"type": "boolean" +}, +"injectedParameters": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"type": "object" +}, +"input": { +"$ref": "GoogleCloudDialogflowCxV3QueryInput" +}, +"isWebhookEnabled": { +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3ConversationTurnVirtualAgentOutput": { +"id": "GoogleCloudDialogflowCxV3ConversationTurnVirtualAgentOutput", +"properties": { +"currentPage": { +"$ref": "GoogleCloudDialogflowCxV3Page" +}, +"diagnosticInfo": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"type": "object" +}, +"differences": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3TestRunDifference" +}, +"readOnly": true, +"type": "array" +}, +"sessionParameters": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"type": "object" +}, +"status": { +"$ref": "GoogleRpcStatus" +}, +"textResponses": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3ResponseMessageText" +}, +"type": "array" +}, +"triggeredIntent": { +"$ref": "GoogleCloudDialogflowCxV3Intent" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3CreateVersionOperationMetadata": { +"id": "GoogleCloudDialogflowCxV3CreateVersionOperationMetadata", +"properties": { +"version": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3DataStoreConnection": { +"id": "GoogleCloudDialogflowCxV3DataStoreConnection", +"properties": { +"dataStore": { +"type": "string" +}, +"dataStoreType": { +"enum": [ +"DATA_STORE_TYPE_UNSPECIFIED", +"PUBLIC_WEB", +"UNSTRUCTURED", +"STRUCTURED" +], +"enumDescriptions": [ +"", +"", +"", +"" +], +"type": "string" +}, +"documentProcessingMode": { +"enum": [ +"DOCUMENT_PROCESSING_MODE_UNSPECIFIED", +"DOCUMENTS", +"CHUNKS" +], +"enumDescriptions": [ +"", +"", +"" +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3DataStoreConnectionSignals": { +"id": "GoogleCloudDialogflowCxV3DataStoreConnectionSignals", +"properties": { +"answer": { +"type": "string" +}, +"answerGenerationModelCallSignals": { +"$ref": "GoogleCloudDialogflowCxV3DataStoreConnectionSignalsAnswerGenerationModelCallSignals" +}, +"answerParts": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3DataStoreConnectionSignalsAnswerPart" +}, +"type": "array" +}, +"citedSnippets": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3DataStoreConnectionSignalsCitedSnippet" +}, +"type": "array" +}, +"groundingSignals": { +"$ref": "GoogleCloudDialogflowCxV3DataStoreConnectionSignalsGroundingSignals" +}, +"rewriterModelCallSignals": { +"$ref": "GoogleCloudDialogflowCxV3DataStoreConnectionSignalsRewriterModelCallSignals" +}, +"rewrittenQuery": { +"type": "string" +}, +"safetySignals": { +"$ref": "GoogleCloudDialogflowCxV3DataStoreConnectionSignalsSafetySignals" +}, +"searchSnippets": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3DataStoreConnectionSignalsSearchSnippet" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3DataStoreConnectionSignalsAnswerGenerationModelCallSignals": { +"id": "GoogleCloudDialogflowCxV3DataStoreConnectionSignalsAnswerGenerationModelCallSignals", +"properties": { +"model": { +"type": "string" +}, +"modelOutput": { +"type": "string" +}, +"renderedPrompt": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3DataStoreConnectionSignalsAnswerPart": { +"id": "GoogleCloudDialogflowCxV3DataStoreConnectionSignalsAnswerPart", +"properties": { +"supportingIndices": { +"items": { +"format": "int32", +"type": "integer" +}, +"type": "array" +}, +"text": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3DataStoreConnectionSignalsCitedSnippet": { +"id": "GoogleCloudDialogflowCxV3DataStoreConnectionSignalsCitedSnippet", +"properties": { +"searchSnippet": { +"$ref": "GoogleCloudDialogflowCxV3DataStoreConnectionSignalsSearchSnippet" +}, +"snippetIndex": { +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3DataStoreConnectionSignalsGroundingSignals": { +"id": "GoogleCloudDialogflowCxV3DataStoreConnectionSignalsGroundingSignals", +"properties": { +"decision": { +"enum": [ +"GROUNDING_DECISION_UNSPECIFIED", +"ACCEPTED_BY_GROUNDING", +"REJECTED_BY_GROUNDING" +], +"enumDescriptions": [ +"", +"", +"" +], +"type": "string" +}, +"score": { +"enum": [ +"GROUNDING_SCORE_BUCKET_UNSPECIFIED", +"VERY_LOW", +"LOW", +"MEDIUM", +"HIGH", +"VERY_HIGH" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"" +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3DataStoreConnectionSignalsRewriterModelCallSignals": { +"id": "GoogleCloudDialogflowCxV3DataStoreConnectionSignalsRewriterModelCallSignals", +"properties": { +"model": { +"type": "string" +}, +"modelOutput": { +"type": "string" +}, +"renderedPrompt": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3DataStoreConnectionSignalsSafetySignals": { +"id": "GoogleCloudDialogflowCxV3DataStoreConnectionSignalsSafetySignals", +"properties": { +"bannedPhraseMatch": { +"enum": [ +"BANNED_PHRASE_MATCH_UNSPECIFIED", +"BANNED_PHRASE_MATCH_NONE", +"BANNED_PHRASE_MATCH_QUERY", +"BANNED_PHRASE_MATCH_RESPONSE" +], +"enumDescriptions": [ +"", +"", +"", +"" +], +"type": "string" +}, +"decision": { +"enum": [ +"SAFETY_DECISION_UNSPECIFIED", +"ACCEPTED_BY_SAFETY_CHECK", +"REJECTED_BY_SAFETY_CHECK" +], +"enumDescriptions": [ +"", +"", +"" +], +"type": "string" +}, +"matchedBannedPhrase": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3DataStoreConnectionSignalsSearchSnippet": { +"id": "GoogleCloudDialogflowCxV3DataStoreConnectionSignalsSearchSnippet", +"properties": { +"documentTitle": { +"type": "string" +}, +"documentUri": { +"type": "string" +}, +"metadata": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"type": "object" +}, +"text": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3DeployFlowMetadata": { +"id": "GoogleCloudDialogflowCxV3DeployFlowMetadata", +"properties": { +"testErrors": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3TestError" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3DeployFlowRequest": { +"id": "GoogleCloudDialogflowCxV3DeployFlowRequest", +"properties": { +"flowVersion": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3DeployFlowResponse": { +"id": "GoogleCloudDialogflowCxV3DeployFlowResponse", +"properties": { +"deployment": { +"type": "string" +}, +"environment": { +"$ref": "GoogleCloudDialogflowCxV3Environment" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3Deployment": { +"id": "GoogleCloudDialogflowCxV3Deployment", +"properties": { +"endTime": { +"format": "google-datetime", +"type": "string" +}, +"flowVersion": { +"type": "string" +}, +"name": { +"type": "string" +}, +"result": { +"$ref": "GoogleCloudDialogflowCxV3DeploymentResult" +}, +"startTime": { +"format": "google-datetime", +"type": "string" +}, +"state": { +"enum": [ +"STATE_UNSPECIFIED", +"RUNNING", +"SUCCEEDED", +"FAILED" +], +"enumDescriptions": [ +"", +"", +"", +"" +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3DeploymentResult": { +"id": "GoogleCloudDialogflowCxV3DeploymentResult", +"properties": { +"deploymentTestResults": { +"items": { +"type": "string" +}, +"type": "array" +}, +"experiment": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3DetectIntentRequest": { +"id": "GoogleCloudDialogflowCxV3DetectIntentRequest", +"properties": { +"outputAudioConfig": { +"$ref": "GoogleCloudDialogflowCxV3OutputAudioConfig" +}, +"queryInput": { +"$ref": "GoogleCloudDialogflowCxV3QueryInput" +}, +"queryParams": { +"$ref": "GoogleCloudDialogflowCxV3QueryParameters" +}, +"responseView": { +"enum": [ +"DETECT_INTENT_RESPONSE_VIEW_UNSPECIFIED", +"DETECT_INTENT_RESPONSE_VIEW_FULL", +"DETECT_INTENT_RESPONSE_VIEW_BASIC", +"DETECT_INTENT_RESPONSE_VIEW_DEFAULT" +], +"enumDescriptions": [ +"", +"", +"", +"" +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3DetectIntentResponse": { +"id": "GoogleCloudDialogflowCxV3DetectIntentResponse", +"properties": { +"allowCancellation": { +"type": "boolean" +}, +"outputAudio": { +"format": "byte", +"type": "string" +}, +"outputAudioConfig": { +"$ref": "GoogleCloudDialogflowCxV3OutputAudioConfig" +}, +"queryResult": { +"$ref": "GoogleCloudDialogflowCxV3QueryResult" +}, +"responseId": { +"type": "string" +}, +"responseType": { +"enum": [ +"RESPONSE_TYPE_UNSPECIFIED", +"PARTIAL", +"FINAL" +], +"enumDescriptions": [ +"", +"", +"" +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3DtmfInput": { +"id": "GoogleCloudDialogflowCxV3DtmfInput", +"properties": { +"digits": { +"type": "string" +}, +"finishDigit": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3EntityType": { +"id": "GoogleCloudDialogflowCxV3EntityType", +"properties": { +"autoExpansionMode": { +"enum": [ +"AUTO_EXPANSION_MODE_UNSPECIFIED", +"AUTO_EXPANSION_MODE_DEFAULT" +], +"enumDescriptions": [ +"", +"" +], +"type": "string" +}, +"displayName": { +"type": "string" +}, +"enableFuzzyExtraction": { +"type": "boolean" +}, +"entities": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3EntityTypeEntity" +}, +"type": "array" +}, +"excludedPhrases": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3EntityTypeExcludedPhrase" +}, +"type": "array" +}, +"kind": { +"enum": [ +"KIND_UNSPECIFIED", +"KIND_MAP", +"KIND_LIST", +"KIND_REGEXP" +], +"enumDescriptions": [ +"", +"", +"", +"" +], +"type": "string" +}, +"name": { +"type": "string" +}, +"redact": { +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3EntityTypeEntity": { +"id": "GoogleCloudDialogflowCxV3EntityTypeEntity", +"properties": { +"synonyms": { +"items": { +"type": "string" +}, +"type": "array" +}, +"value": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3EntityTypeExcludedPhrase": { +"id": "GoogleCloudDialogflowCxV3EntityTypeExcludedPhrase", +"properties": { +"value": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3Environment": { +"id": "GoogleCloudDialogflowCxV3Environment", +"properties": { +"description": { +"type": "string" +}, +"displayName": { +"type": "string" +}, +"name": { +"type": "string" +}, +"testCasesConfig": { +"$ref": "GoogleCloudDialogflowCxV3EnvironmentTestCasesConfig" +}, +"updateTime": { +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"versionConfigs": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3EnvironmentVersionConfig" +}, +"type": "array" +}, +"webhookConfig": { +"$ref": "GoogleCloudDialogflowCxV3EnvironmentWebhookConfig" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3EnvironmentTestCasesConfig": { +"id": "GoogleCloudDialogflowCxV3EnvironmentTestCasesConfig", +"properties": { +"enableContinuousRun": { +"type": "boolean" +}, +"enablePredeploymentRun": { +"type": "boolean" +}, +"testCases": { +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3EnvironmentVersionConfig": { +"id": "GoogleCloudDialogflowCxV3EnvironmentVersionConfig", +"properties": { +"version": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3EnvironmentWebhookConfig": { +"id": "GoogleCloudDialogflowCxV3EnvironmentWebhookConfig", +"properties": { +"webhookOverrides": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3Webhook" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3EventHandler": { +"id": "GoogleCloudDialogflowCxV3EventHandler", +"properties": { +"event": { +"type": "string" +}, +"name": { +"readOnly": true, +"type": "string" +}, +"targetFlow": { +"type": "string" +}, +"targetPage": { +"type": "string" +}, +"targetPlaybook": { +"type": "string" +}, +"triggerFulfillment": { +"$ref": "GoogleCloudDialogflowCxV3Fulfillment" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3EventInput": { +"id": "GoogleCloudDialogflowCxV3EventInput", +"properties": { +"event": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3Example": { +"id": "GoogleCloudDialogflowCxV3Example", +"properties": { +"actions": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3Action" +}, +"type": "array" +}, +"conversationState": { +"enum": [ +"OUTPUT_STATE_UNSPECIFIED", +"OUTPUT_STATE_OK", +"OUTPUT_STATE_CANCELLED", +"OUTPUT_STATE_FAILED", +"OUTPUT_STATE_ESCALATED", +"OUTPUT_STATE_PENDING" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"" +], +"type": "string" +}, +"createTime": { +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"description": { +"type": "string" +}, +"displayName": { +"type": "string" +}, +"languageCode": { +"type": "string" +}, +"name": { +"type": "string" +}, +"playbookInput": { +"$ref": "GoogleCloudDialogflowCxV3PlaybookInput" +}, +"playbookOutput": { +"$ref": "GoogleCloudDialogflowCxV3PlaybookOutput" +}, +"tokenCount": { +"format": "int64", +"readOnly": true, +"type": "string" +}, +"updateTime": { +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3Experiment": { +"id": "GoogleCloudDialogflowCxV3Experiment", +"properties": { +"createTime": { +"format": "google-datetime", +"type": "string" +}, +"definition": { +"$ref": "GoogleCloudDialogflowCxV3ExperimentDefinition" +}, +"description": { +"type": "string" +}, +"displayName": { +"type": "string" +}, +"endTime": { +"format": "google-datetime", +"type": "string" +}, +"experimentLength": { +"format": "google-duration", +"type": "string" +}, +"lastUpdateTime": { +"format": "google-datetime", +"type": "string" +}, +"name": { +"type": "string" +}, +"result": { +"$ref": "GoogleCloudDialogflowCxV3ExperimentResult" +}, +"rolloutConfig": { +"$ref": "GoogleCloudDialogflowCxV3RolloutConfig" +}, +"rolloutFailureReason": { +"type": "string" +}, +"rolloutState": { +"$ref": "GoogleCloudDialogflowCxV3RolloutState" +}, +"startTime": { +"format": "google-datetime", +"type": "string" +}, +"state": { +"enum": [ +"STATE_UNSPECIFIED", +"DRAFT", +"RUNNING", +"DONE", +"ROLLOUT_FAILED" +], +"enumDescriptions": [ +"", +"", +"", +"", +"" +], +"type": "string" +}, +"variantsHistory": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3VariantsHistory" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3ExperimentDefinition": { +"id": "GoogleCloudDialogflowCxV3ExperimentDefinition", +"properties": { +"condition": { +"type": "string" +}, +"versionVariants": { +"$ref": "GoogleCloudDialogflowCxV3VersionVariants" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3ExperimentResult": { +"id": "GoogleCloudDialogflowCxV3ExperimentResult", +"properties": { +"lastUpdateTime": { +"format": "google-datetime", +"type": "string" +}, +"versionMetrics": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3ExperimentResultVersionMetrics" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3ExperimentResultConfidenceInterval": { +"id": "GoogleCloudDialogflowCxV3ExperimentResultConfidenceInterval", +"properties": { +"confidenceLevel": { +"format": "double", +"type": "number" +}, +"lowerBound": { +"format": "double", +"type": "number" +}, +"ratio": { +"format": "double", +"type": "number" +}, +"upperBound": { +"format": "double", +"type": "number" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3ExperimentResultMetric": { +"id": "GoogleCloudDialogflowCxV3ExperimentResultMetric", +"properties": { +"confidenceInterval": { +"$ref": "GoogleCloudDialogflowCxV3ExperimentResultConfidenceInterval" +}, +"count": { +"format": "double", +"type": "number" +}, +"countType": { +"enum": [ +"COUNT_TYPE_UNSPECIFIED", +"TOTAL_NO_MATCH_COUNT", +"TOTAL_TURN_COUNT", +"AVERAGE_TURN_COUNT" +], +"enumDescriptions": [ +"", +"", +"", +"" +], +"type": "string" +}, +"ratio": { +"format": "double", +"type": "number" +}, +"type": { +"enum": [ +"METRIC_UNSPECIFIED", +"CONTAINED_SESSION_NO_CALLBACK_RATE", +"LIVE_AGENT_HANDOFF_RATE", +"CALLBACK_SESSION_RATE", +"ABANDONED_SESSION_RATE", +"SESSION_END_RATE" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"" +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3ExperimentResultVersionMetrics": { +"id": "GoogleCloudDialogflowCxV3ExperimentResultVersionMetrics", +"properties": { +"metrics": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3ExperimentResultMetric" +}, +"type": "array" +}, +"sessionCount": { +"format": "int32", +"type": "integer" +}, +"version": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3ExportAgentRequest": { +"id": "GoogleCloudDialogflowCxV3ExportAgentRequest", +"properties": { +"agentUri": { +"type": "string" +}, +"dataFormat": { +"enum": [ +"DATA_FORMAT_UNSPECIFIED", +"BLOB", +"JSON_PACKAGE" +], +"enumDescriptions": [ +"", +"", +"" +], +"type": "string" +}, +"environment": { +"type": "string" +}, +"gitDestination": { +"$ref": "GoogleCloudDialogflowCxV3ExportAgentRequestGitDestination" +}, +"includeBigqueryExportSettings": { +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3ExportAgentRequestGitDestination": { +"id": "GoogleCloudDialogflowCxV3ExportAgentRequestGitDestination", +"properties": { +"commitMessage": { +"type": "string" +}, +"trackingBranch": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3ExportAgentResponse": { +"id": "GoogleCloudDialogflowCxV3ExportAgentResponse", +"properties": { +"agentContent": { +"format": "byte", +"type": "string" +}, +"agentUri": { +"type": "string" +}, +"commitSha": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3ExportEntityTypesMetadata": { +"id": "GoogleCloudDialogflowCxV3ExportEntityTypesMetadata", +"properties": {}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3ExportEntityTypesRequest": { +"id": "GoogleCloudDialogflowCxV3ExportEntityTypesRequest", +"properties": { +"dataFormat": { +"enum": [ +"DATA_FORMAT_UNSPECIFIED", +"BLOB", +"JSON_PACKAGE" +], +"enumDescriptions": [ +"", +"", +"" +], +"type": "string" +}, +"entityTypes": { +"items": { +"type": "string" +}, +"type": "array" +}, +"entityTypesContentInline": { +"type": "boolean" +}, +"entityTypesUri": { +"type": "string" +}, +"languageCode": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3ExportEntityTypesResponse": { +"id": "GoogleCloudDialogflowCxV3ExportEntityTypesResponse", +"properties": { +"entityTypesContent": { +"$ref": "GoogleCloudDialogflowCxV3InlineDestination" +}, +"entityTypesUri": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3ExportFlowRequest": { +"id": "GoogleCloudDialogflowCxV3ExportFlowRequest", +"properties": { +"flowUri": { +"type": "string" +}, +"includeReferencedFlows": { +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3ExportFlowResponse": { +"id": "GoogleCloudDialogflowCxV3ExportFlowResponse", +"properties": { +"flowContent": { +"format": "byte", +"type": "string" +}, +"flowUri": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3ExportIntentsMetadata": { +"id": "GoogleCloudDialogflowCxV3ExportIntentsMetadata", +"properties": {}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3ExportIntentsRequest": { +"id": "GoogleCloudDialogflowCxV3ExportIntentsRequest", +"properties": { +"dataFormat": { +"enum": [ +"DATA_FORMAT_UNSPECIFIED", +"BLOB", +"JSON", +"CSV" +], +"enumDescriptions": [ +"", +"", +"", +"" +], +"type": "string" +}, +"intents": { +"items": { +"type": "string" +}, +"type": "array" +}, +"intentsContentInline": { +"type": "boolean" +}, +"intentsUri": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3ExportIntentsResponse": { +"id": "GoogleCloudDialogflowCxV3ExportIntentsResponse", +"properties": { +"intentsContent": { +"$ref": "GoogleCloudDialogflowCxV3InlineDestination" +}, +"intentsUri": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3ExportPlaybookRequest": { +"id": "GoogleCloudDialogflowCxV3ExportPlaybookRequest", +"properties": { +"dataFormat": { +"enum": [ +"DATA_FORMAT_UNSPECIFIED", +"BLOB", +"JSON" +], +"enumDescriptions": [ +"", +"", +"" +], +"type": "string" +}, +"playbookUri": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3ExportTestCasesMetadata": { +"id": "GoogleCloudDialogflowCxV3ExportTestCasesMetadata", +"properties": {}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3ExportTestCasesRequest": { +"id": "GoogleCloudDialogflowCxV3ExportTestCasesRequest", +"properties": { +"dataFormat": { +"enum": [ +"DATA_FORMAT_UNSPECIFIED", +"BLOB", +"JSON" +], +"enumDescriptions": [ +"", +"", +"" +], +"type": "string" +}, +"filter": { +"type": "string" +}, +"gcsUri": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3ExportTestCasesResponse": { +"id": "GoogleCloudDialogflowCxV3ExportTestCasesResponse", +"properties": { +"content": { +"format": "byte", +"type": "string" +}, +"gcsUri": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3FilterSpecs": { +"id": "GoogleCloudDialogflowCxV3FilterSpecs", +"properties": { +"dataStores": { +"items": { +"type": "string" +}, +"type": "array" +}, +"filter": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3Flow": { +"id": "GoogleCloudDialogflowCxV3Flow", +"properties": { +"advancedSettings": { +"$ref": "GoogleCloudDialogflowCxV3AdvancedSettings" +}, +"description": { +"type": "string" +}, +"displayName": { +"type": "string" +}, +"eventHandlers": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3EventHandler" +}, +"type": "array" +}, +"inputParameterDefinitions": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3ParameterDefinition" +}, +"type": "array" +}, +"knowledgeConnectorSettings": { +"$ref": "GoogleCloudDialogflowCxV3KnowledgeConnectorSettings" +}, +"locked": { +"type": "boolean" +}, +"multiLanguageSettings": { +"$ref": "GoogleCloudDialogflowCxV3FlowMultiLanguageSettings" +}, +"name": { +"type": "string" +}, +"nluSettings": { +"$ref": "GoogleCloudDialogflowCxV3NluSettings" +}, +"outputParameterDefinitions": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3ParameterDefinition" +}, +"type": "array" +}, +"transitionRouteGroups": { +"items": { +"type": "string" +}, +"type": "array" +}, +"transitionRoutes": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3TransitionRoute" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3FlowImportStrategy": { +"id": "GoogleCloudDialogflowCxV3FlowImportStrategy", +"properties": { +"globalImportStrategy": { +"enum": [ +"IMPORT_STRATEGY_UNSPECIFIED", +"IMPORT_STRATEGY_CREATE_NEW", +"IMPORT_STRATEGY_REPLACE", +"IMPORT_STRATEGY_KEEP", +"IMPORT_STRATEGY_MERGE", +"IMPORT_STRATEGY_THROW_ERROR" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"" +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3FlowInvocation": { +"id": "GoogleCloudDialogflowCxV3FlowInvocation", +"properties": { +"displayName": { +"readOnly": true, +"type": "string" +}, +"flow": { +"type": "string" +}, +"flowState": { +"enum": [ +"OUTPUT_STATE_UNSPECIFIED", +"OUTPUT_STATE_OK", +"OUTPUT_STATE_CANCELLED", +"OUTPUT_STATE_FAILED", +"OUTPUT_STATE_ESCALATED", +"OUTPUT_STATE_PENDING" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"" +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3FlowMultiLanguageSettings": { +"id": "GoogleCloudDialogflowCxV3FlowMultiLanguageSettings", +"properties": { +"enableMultiLanguageDetection": { +"type": "boolean" +}, +"supportedResponseLanguageCodes": { +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3FlowTransition": { +"id": "GoogleCloudDialogflowCxV3FlowTransition", +"properties": { +"displayName": { +"readOnly": true, +"type": "string" +}, +"flow": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3FlowValidationResult": { +"id": "GoogleCloudDialogflowCxV3FlowValidationResult", +"properties": { +"name": { +"type": "string" +}, +"updateTime": { +"format": "google-datetime", +"type": "string" +}, +"validationMessages": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3ValidationMessage" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3Form": { +"id": "GoogleCloudDialogflowCxV3Form", +"properties": { +"parameters": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3FormParameter" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3FormParameter": { +"id": "GoogleCloudDialogflowCxV3FormParameter", +"properties": { +"advancedSettings": { +"$ref": "GoogleCloudDialogflowCxV3AdvancedSettings" +}, +"defaultValue": { +"type": "any" +}, +"displayName": { +"type": "string" +}, +"entityType": { +"type": "string" +}, +"fillBehavior": { +"$ref": "GoogleCloudDialogflowCxV3FormParameterFillBehavior" +}, +"isList": { +"type": "boolean" +}, +"redact": { +"type": "boolean" +}, +"required": { +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3FormParameterFillBehavior": { +"id": "GoogleCloudDialogflowCxV3FormParameterFillBehavior", +"properties": { +"initialPromptFulfillment": { +"$ref": "GoogleCloudDialogflowCxV3Fulfillment" +}, +"repromptEventHandlers": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3EventHandler" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3FulfillIntentRequest": { +"id": "GoogleCloudDialogflowCxV3FulfillIntentRequest", +"properties": { +"match": { +"$ref": "GoogleCloudDialogflowCxV3Match" +}, +"matchIntentRequest": { +"$ref": "GoogleCloudDialogflowCxV3MatchIntentRequest" +}, +"outputAudioConfig": { +"$ref": "GoogleCloudDialogflowCxV3OutputAudioConfig" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3FulfillIntentResponse": { +"id": "GoogleCloudDialogflowCxV3FulfillIntentResponse", +"properties": { +"outputAudio": { +"format": "byte", +"type": "string" +}, +"outputAudioConfig": { +"$ref": "GoogleCloudDialogflowCxV3OutputAudioConfig" +}, +"queryResult": { +"$ref": "GoogleCloudDialogflowCxV3QueryResult" +}, +"responseId": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3Fulfillment": { +"id": "GoogleCloudDialogflowCxV3Fulfillment", +"properties": { +"advancedSettings": { +"$ref": "GoogleCloudDialogflowCxV3AdvancedSettings" +}, +"conditionalCases": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3FulfillmentConditionalCases" +}, +"type": "array" +}, +"enableGenerativeFallback": { +"type": "boolean" +}, +"generators": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3FulfillmentGeneratorSettings" +}, +"type": "array" +}, +"messages": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3ResponseMessage" +}, +"type": "array" +}, +"returnPartialResponses": { +"type": "boolean" +}, +"setParameterActions": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3FulfillmentSetParameterAction" +}, +"type": "array" +}, +"tag": { +"type": "string" +}, +"webhook": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3FulfillmentConditionalCases": { +"id": "GoogleCloudDialogflowCxV3FulfillmentConditionalCases", +"properties": { +"cases": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3FulfillmentConditionalCasesCase" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3FulfillmentConditionalCasesCase": { +"id": "GoogleCloudDialogflowCxV3FulfillmentConditionalCasesCase", +"properties": { +"caseContent": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3FulfillmentConditionalCasesCaseCaseContent" +}, +"type": "array" +}, +"condition": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3FulfillmentConditionalCasesCaseCaseContent": { +"id": "GoogleCloudDialogflowCxV3FulfillmentConditionalCasesCaseCaseContent", +"properties": { +"additionalCases": { +"$ref": "GoogleCloudDialogflowCxV3FulfillmentConditionalCases" +}, +"message": { +"$ref": "GoogleCloudDialogflowCxV3ResponseMessage" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3FulfillmentGeneratorSettings": { +"id": "GoogleCloudDialogflowCxV3FulfillmentGeneratorSettings", +"properties": { +"generator": { +"type": "string" +}, +"inputParameters": { +"additionalProperties": { +"type": "string" +}, +"type": "object" +}, +"outputParameter": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3FulfillmentSetParameterAction": { +"id": "GoogleCloudDialogflowCxV3FulfillmentSetParameterAction", +"properties": { +"parameter": { +"type": "string" +}, +"value": { +"type": "any" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3GcsDestination": { +"id": "GoogleCloudDialogflowCxV3GcsDestination", +"properties": { +"uri": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3GenerativeSettings": { +"id": "GoogleCloudDialogflowCxV3GenerativeSettings", +"properties": { +"fallbackSettings": { +"$ref": "GoogleCloudDialogflowCxV3GenerativeSettingsFallbackSettings" +}, +"generativeSafetySettings": { +"$ref": "GoogleCloudDialogflowCxV3SafetySettings" +}, +"knowledgeConnectorSettings": { +"$ref": "GoogleCloudDialogflowCxV3GenerativeSettingsKnowledgeConnectorSettings" +}, +"languageCode": { +"type": "string" +}, +"llmModelSettings": { +"$ref": "GoogleCloudDialogflowCxV3LlmModelSettings" +}, +"name": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3GenerativeSettingsFallbackSettings": { +"id": "GoogleCloudDialogflowCxV3GenerativeSettingsFallbackSettings", +"properties": { +"promptTemplates": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3GenerativeSettingsFallbackSettingsPromptTemplate" +}, +"type": "array" +}, +"selectedPrompt": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3GenerativeSettingsFallbackSettingsPromptTemplate": { +"id": "GoogleCloudDialogflowCxV3GenerativeSettingsFallbackSettingsPromptTemplate", +"properties": { +"displayName": { +"type": "string" +}, +"frozen": { +"type": "boolean" +}, +"promptText": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3GenerativeSettingsKnowledgeConnectorSettings": { +"id": "GoogleCloudDialogflowCxV3GenerativeSettingsKnowledgeConnectorSettings", +"properties": { +"agent": { +"type": "string" +}, +"agentIdentity": { +"type": "string" +}, +"agentScope": { +"type": "string" +}, +"business": { +"type": "string" +}, +"businessDescription": { +"type": "string" +}, +"disableDataStoreFallback": { +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3Generator": { +"id": "GoogleCloudDialogflowCxV3Generator", +"properties": { +"displayName": { +"type": "string" +}, +"llmModelSettings": { +"$ref": "GoogleCloudDialogflowCxV3LlmModelSettings" +}, +"modelParameter": { +"$ref": "GoogleCloudDialogflowCxV3GeneratorModelParameter" +}, +"name": { +"type": "string" +}, +"placeholders": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3GeneratorPlaceholder" +}, +"type": "array" +}, +"promptText": { +"$ref": "GoogleCloudDialogflowCxV3Phrase" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3GeneratorModelParameter": { +"id": "GoogleCloudDialogflowCxV3GeneratorModelParameter", +"properties": { +"maxDecodeSteps": { +"format": "int32", +"type": "integer" +}, +"temperature": { +"format": "float", +"type": "number" +}, +"topK": { +"format": "int32", +"type": "integer" +}, +"topP": { +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3GeneratorPlaceholder": { +"id": "GoogleCloudDialogflowCxV3GeneratorPlaceholder", +"properties": { +"id": { +"type": "string" +}, +"name": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3Handler": { +"id": "GoogleCloudDialogflowCxV3Handler", +"properties": { +"eventHandler": { +"$ref": "GoogleCloudDialogflowCxV3HandlerEventHandler" +}, +"lifecycleHandler": { +"$ref": "GoogleCloudDialogflowCxV3HandlerLifecycleHandler" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3HandlerEventHandler": { +"id": "GoogleCloudDialogflowCxV3HandlerEventHandler", +"properties": { +"condition": { +"type": "string" +}, +"event": { +"type": "string" +}, +"fulfillment": { +"$ref": "GoogleCloudDialogflowCxV3Fulfillment" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3HandlerLifecycleHandler": { +"id": "GoogleCloudDialogflowCxV3HandlerLifecycleHandler", +"properties": { +"condition": { +"type": "string" +}, +"fulfillment": { +"$ref": "GoogleCloudDialogflowCxV3Fulfillment" +}, +"lifecycleStage": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3ImportEntityTypesMetadata": { +"id": "GoogleCloudDialogflowCxV3ImportEntityTypesMetadata", +"properties": {}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3ImportEntityTypesRequest": { +"id": "GoogleCloudDialogflowCxV3ImportEntityTypesRequest", +"properties": { +"entityTypesContent": { +"$ref": "GoogleCloudDialogflowCxV3InlineSource" +}, +"entityTypesUri": { +"type": "string" +}, +"mergeOption": { +"enum": [ +"MERGE_OPTION_UNSPECIFIED", +"REPLACE", +"MERGE", +"RENAME", +"REPORT_CONFLICT", +"KEEP" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"" +], +"type": "string" +}, +"targetEntityType": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3ImportEntityTypesResponse": { +"id": "GoogleCloudDialogflowCxV3ImportEntityTypesResponse", +"properties": { +"conflictingResources": { +"$ref": "GoogleCloudDialogflowCxV3ImportEntityTypesResponseConflictingResources" +}, +"entityTypes": { +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3ImportEntityTypesResponseConflictingResources": { +"id": "GoogleCloudDialogflowCxV3ImportEntityTypesResponseConflictingResources", +"properties": { +"entityDisplayNames": { +"items": { +"type": "string" +}, +"type": "array" +}, +"entityTypeDisplayNames": { +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3ImportFlowRequest": { +"id": "GoogleCloudDialogflowCxV3ImportFlowRequest", +"properties": { +"flowContent": { +"format": "byte", +"type": "string" +}, +"flowImportStrategy": { +"$ref": "GoogleCloudDialogflowCxV3FlowImportStrategy" +}, +"flowUri": { +"type": "string" +}, +"importOption": { +"enum": [ +"IMPORT_OPTION_UNSPECIFIED", +"KEEP", +"FALLBACK" +], +"enumDescriptions": [ +"", +"", +"" +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3ImportFlowResponse": { +"id": "GoogleCloudDialogflowCxV3ImportFlowResponse", +"properties": { +"flow": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3ImportIntentsMetadata": { +"id": "GoogleCloudDialogflowCxV3ImportIntentsMetadata", +"properties": {}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3ImportIntentsRequest": { +"id": "GoogleCloudDialogflowCxV3ImportIntentsRequest", +"properties": { +"intentsContent": { +"$ref": "GoogleCloudDialogflowCxV3InlineSource" +}, +"intentsUri": { +"type": "string" +}, +"mergeOption": { +"enum": [ +"MERGE_OPTION_UNSPECIFIED", +"REJECT", +"REPLACE", +"MERGE", +"RENAME", +"REPORT_CONFLICT", +"KEEP" +], +"enumDeprecated": [ +false, +true, +false, +false, +false, +false, +false +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"", +"" +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3ImportIntentsResponse": { +"id": "GoogleCloudDialogflowCxV3ImportIntentsResponse", +"properties": { +"conflictingResources": { +"$ref": "GoogleCloudDialogflowCxV3ImportIntentsResponseConflictingResources" +}, +"intents": { +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3ImportIntentsResponseConflictingResources": { +"id": "GoogleCloudDialogflowCxV3ImportIntentsResponseConflictingResources", +"properties": { +"entityDisplayNames": { +"items": { +"type": "string" +}, +"type": "array" +}, +"intentDisplayNames": { +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3ImportPlaybookRequest": { +"id": "GoogleCloudDialogflowCxV3ImportPlaybookRequest", +"properties": { +"importStrategy": { +"$ref": "GoogleCloudDialogflowCxV3PlaybookImportStrategy" +}, +"playbookContent": { +"format": "byte", +"type": "string" +}, +"playbookUri": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3ImportTestCasesMetadata": { +"id": "GoogleCloudDialogflowCxV3ImportTestCasesMetadata", +"properties": { +"errors": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3TestCaseError" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3ImportTestCasesRequest": { +"id": "GoogleCloudDialogflowCxV3ImportTestCasesRequest", +"properties": { +"content": { +"format": "byte", +"type": "string" +}, +"gcsUri": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3ImportTestCasesResponse": { +"id": "GoogleCloudDialogflowCxV3ImportTestCasesResponse", +"properties": { +"names": { +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3InlineDestination": { +"id": "GoogleCloudDialogflowCxV3InlineDestination", +"properties": { +"content": { +"format": "byte", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3InlineSchema": { +"id": "GoogleCloudDialogflowCxV3InlineSchema", +"properties": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3TypeSchema" +}, +"type": { +"enum": [ +"DATA_TYPE_UNSPECIFIED", +"STRING", +"NUMBER", +"BOOLEAN", +"ARRAY" +], +"enumDescriptions": [ +"", +"", +"", +"", +"" +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3InlineSource": { +"id": "GoogleCloudDialogflowCxV3InlineSource", +"properties": { +"content": { +"format": "byte", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3InputAudioConfig": { +"id": "GoogleCloudDialogflowCxV3InputAudioConfig", +"properties": { +"audioEncoding": { +"enum": [ +"AUDIO_ENCODING_UNSPECIFIED", +"AUDIO_ENCODING_LINEAR_16", +"AUDIO_ENCODING_FLAC", +"AUDIO_ENCODING_MULAW", +"AUDIO_ENCODING_AMR", +"AUDIO_ENCODING_AMR_WB", +"AUDIO_ENCODING_OGG_OPUS", +"AUDIO_ENCODING_SPEEX_WITH_HEADER_BYTE", +"AUDIO_ENCODING_ALAW" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"", +"", +"", +"" +], +"type": "string" +}, +"bargeInConfig": { +"$ref": "GoogleCloudDialogflowCxV3BargeInConfig" +}, +"enableWordInfo": { +"type": "boolean" +}, +"model": { +"type": "string" +}, +"modelVariant": { +"enum": [ +"SPEECH_MODEL_VARIANT_UNSPECIFIED", +"USE_BEST_AVAILABLE", +"USE_STANDARD", +"USE_ENHANCED" +], +"enumDescriptions": [ +"", +"", +"", +"" +], +"type": "string" +}, +"optOutConformerModelMigration": { +"type": "boolean" +}, +"phraseHints": { +"items": { +"type": "string" +}, +"type": "array" +}, +"sampleRateHertz": { +"format": "int32", +"type": "integer" +}, +"singleUtterance": { +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3Intent": { +"id": "GoogleCloudDialogflowCxV3Intent", +"properties": { +"description": { +"type": "string" +}, +"displayName": { +"type": "string" +}, +"isFallback": { +"type": "boolean" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"type": "object" +}, +"name": { +"type": "string" +}, +"parameters": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3IntentParameter" +}, +"type": "array" +}, +"priority": { +"format": "int32", +"type": "integer" +}, +"trainingPhrases": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3IntentTrainingPhrase" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3IntentCoverage": { +"id": "GoogleCloudDialogflowCxV3IntentCoverage", +"properties": { +"coverageScore": { +"format": "float", +"type": "number" +}, +"intents": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3IntentCoverageIntent" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3IntentCoverageIntent": { +"id": "GoogleCloudDialogflowCxV3IntentCoverageIntent", +"properties": { +"covered": { +"type": "boolean" +}, +"intent": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3IntentInput": { +"id": "GoogleCloudDialogflowCxV3IntentInput", +"properties": { +"intent": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3IntentParameter": { +"id": "GoogleCloudDialogflowCxV3IntentParameter", +"properties": { +"entityType": { +"type": "string" +}, +"id": { +"type": "string" +}, +"isList": { +"type": "boolean" +}, +"redact": { +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3IntentTrainingPhrase": { +"id": "GoogleCloudDialogflowCxV3IntentTrainingPhrase", +"properties": { +"id": { +"readOnly": true, +"type": "string" +}, +"parts": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3IntentTrainingPhrasePart" +}, +"type": "array" +}, +"repeatCount": { +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3IntentTrainingPhrasePart": { +"id": "GoogleCloudDialogflowCxV3IntentTrainingPhrasePart", +"properties": { +"parameterId": { +"type": "string" +}, +"text": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3KnowledgeConnectorSettings": { +"id": "GoogleCloudDialogflowCxV3KnowledgeConnectorSettings", +"properties": { +"dataStoreConnections": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3DataStoreConnection" +}, +"type": "array" +}, +"enabled": { +"type": "boolean" +}, +"targetFlow": { +"type": "string" +}, +"targetPage": { +"type": "string" +}, +"triggerFulfillment": { +"$ref": "GoogleCloudDialogflowCxV3Fulfillment" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3LanguageInfo": { +"id": "GoogleCloudDialogflowCxV3LanguageInfo", +"properties": { +"confidenceScore": { +"format": "float", +"type": "number" +}, +"inputLanguageCode": { +"type": "string" +}, +"resolvedLanguageCode": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3ListAgentsResponse": { +"id": "GoogleCloudDialogflowCxV3ListAgentsResponse", +"properties": { +"agents": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3Agent" +}, +"type": "array" +}, +"nextPageToken": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3ListChangelogsResponse": { +"id": "GoogleCloudDialogflowCxV3ListChangelogsResponse", +"properties": { +"changelogs": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3Changelog" +}, +"type": "array" +}, +"nextPageToken": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3ListContinuousTestResultsResponse": { +"id": "GoogleCloudDialogflowCxV3ListContinuousTestResultsResponse", +"properties": { +"continuousTestResults": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3ContinuousTestResult" +}, +"type": "array" +}, +"nextPageToken": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3ListDeploymentsResponse": { +"id": "GoogleCloudDialogflowCxV3ListDeploymentsResponse", +"properties": { +"deployments": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3Deployment" +}, +"type": "array" +}, +"nextPageToken": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3ListEntityTypesResponse": { +"id": "GoogleCloudDialogflowCxV3ListEntityTypesResponse", +"properties": { +"entityTypes": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3EntityType" +}, +"type": "array" +}, +"nextPageToken": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3ListEnvironmentsResponse": { +"id": "GoogleCloudDialogflowCxV3ListEnvironmentsResponse", +"properties": { +"environments": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3Environment" +}, +"type": "array" +}, +"nextPageToken": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3ListExamplesResponse": { +"id": "GoogleCloudDialogflowCxV3ListExamplesResponse", +"properties": { +"examples": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3Example" +}, +"type": "array" +}, +"nextPageToken": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3ListExperimentsResponse": { +"id": "GoogleCloudDialogflowCxV3ListExperimentsResponse", +"properties": { +"experiments": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3Experiment" +}, +"type": "array" +}, +"nextPageToken": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3ListFlowsResponse": { +"id": "GoogleCloudDialogflowCxV3ListFlowsResponse", +"properties": { +"flows": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3Flow" +}, +"type": "array" +}, +"nextPageToken": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3ListGeneratorsResponse": { +"id": "GoogleCloudDialogflowCxV3ListGeneratorsResponse", +"properties": { +"generators": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3Generator" +}, +"type": "array" +}, +"nextPageToken": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3ListIntentsResponse": { +"id": "GoogleCloudDialogflowCxV3ListIntentsResponse", +"properties": { +"intents": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3Intent" +}, +"type": "array" +}, +"nextPageToken": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3ListPagesResponse": { +"id": "GoogleCloudDialogflowCxV3ListPagesResponse", +"properties": { +"nextPageToken": { +"type": "string" +}, +"pages": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3Page" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3ListPlaybookVersionsResponse": { +"id": "GoogleCloudDialogflowCxV3ListPlaybookVersionsResponse", +"properties": { +"nextPageToken": { +"type": "string" +}, +"playbookVersions": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3PlaybookVersion" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3ListPlaybooksResponse": { +"id": "GoogleCloudDialogflowCxV3ListPlaybooksResponse", +"properties": { +"nextPageToken": { +"type": "string" +}, +"playbooks": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3Playbook" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3ListSecuritySettingsResponse": { +"id": "GoogleCloudDialogflowCxV3ListSecuritySettingsResponse", +"properties": { +"nextPageToken": { +"type": "string" +}, +"securitySettings": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3SecuritySettings" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3ListSessionEntityTypesResponse": { +"id": "GoogleCloudDialogflowCxV3ListSessionEntityTypesResponse", +"properties": { +"nextPageToken": { +"type": "string" +}, +"sessionEntityTypes": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3SessionEntityType" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3ListTestCaseResultsResponse": { +"id": "GoogleCloudDialogflowCxV3ListTestCaseResultsResponse", +"properties": { +"nextPageToken": { +"type": "string" +}, +"testCaseResults": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3TestCaseResult" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3ListTestCasesResponse": { +"id": "GoogleCloudDialogflowCxV3ListTestCasesResponse", +"properties": { +"nextPageToken": { +"type": "string" +}, +"testCases": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3TestCase" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3ListToolVersionsResponse": { +"id": "GoogleCloudDialogflowCxV3ListToolVersionsResponse", +"properties": { +"nextPageToken": { +"type": "string" +}, +"toolVersions": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3ToolVersion" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3ListToolsResponse": { +"id": "GoogleCloudDialogflowCxV3ListToolsResponse", +"properties": { +"nextPageToken": { +"type": "string" +}, +"tools": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3Tool" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3ListTransitionRouteGroupsResponse": { +"id": "GoogleCloudDialogflowCxV3ListTransitionRouteGroupsResponse", +"properties": { +"nextPageToken": { +"type": "string" +}, +"transitionRouteGroups": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3TransitionRouteGroup" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3ListVersionsResponse": { +"id": "GoogleCloudDialogflowCxV3ListVersionsResponse", +"properties": { +"nextPageToken": { +"type": "string" +}, +"versions": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3Version" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3ListWebhooksResponse": { +"id": "GoogleCloudDialogflowCxV3ListWebhooksResponse", +"properties": { +"nextPageToken": { +"type": "string" +}, +"webhooks": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3Webhook" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3LlmModelSettings": { +"id": "GoogleCloudDialogflowCxV3LlmModelSettings", +"properties": { +"model": { +"type": "string" +}, +"promptText": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3LoadVersionRequest": { +"id": "GoogleCloudDialogflowCxV3LoadVersionRequest", +"properties": { +"allowOverrideAgentResources": { +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3LookupEnvironmentHistoryResponse": { +"id": "GoogleCloudDialogflowCxV3LookupEnvironmentHistoryResponse", +"properties": { +"environments": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3Environment" +}, +"type": "array" +}, +"nextPageToken": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3Match": { +"id": "GoogleCloudDialogflowCxV3Match", +"properties": { +"confidence": { +"format": "float", +"type": "number" +}, +"event": { +"type": "string" +}, +"intent": { +"$ref": "GoogleCloudDialogflowCxV3Intent" +}, +"matchType": { +"enum": [ +"MATCH_TYPE_UNSPECIFIED", +"INTENT", +"DIRECT_INTENT", +"PARAMETER_FILLING", +"NO_MATCH", +"NO_INPUT", +"EVENT", +"KNOWLEDGE_CONNECTOR", +"PLAYBOOK" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"", +"", +"", +"" +], +"type": "string" +}, +"parameters": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"type": "object" +}, +"resolvedInput": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3MatchIntentRequest": { +"id": "GoogleCloudDialogflowCxV3MatchIntentRequest", +"properties": { +"persistParameterChanges": { +"type": "boolean" +}, +"queryInput": { +"$ref": "GoogleCloudDialogflowCxV3QueryInput" +}, +"queryParams": { +"$ref": "GoogleCloudDialogflowCxV3QueryParameters" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3MatchIntentResponse": { +"id": "GoogleCloudDialogflowCxV3MatchIntentResponse", +"properties": { +"currentPage": { +"$ref": "GoogleCloudDialogflowCxV3Page" +}, +"matches": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3Match" +}, +"type": "array" +}, +"text": { +"type": "string" +}, +"transcript": { +"type": "string" +}, +"triggerEvent": { +"type": "string" +}, +"triggerIntent": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3NluSettings": { +"id": "GoogleCloudDialogflowCxV3NluSettings", +"properties": { +"classificationThreshold": { +"format": "float", +"type": "number" +}, +"modelTrainingMode": { +"enum": [ +"MODEL_TRAINING_MODE_UNSPECIFIED", +"MODEL_TRAINING_MODE_AUTOMATIC", +"MODEL_TRAINING_MODE_MANUAL" +], +"enumDescriptions": [ +"", +"", +"" +], +"type": "string" +}, +"modelType": { +"enum": [ +"MODEL_TYPE_UNSPECIFIED", +"MODEL_TYPE_STANDARD", +"MODEL_TYPE_ADVANCED" +], +"enumDescriptions": [ +"", +"", +"" +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3OutputAudioConfig": { +"id": "GoogleCloudDialogflowCxV3OutputAudioConfig", +"properties": { +"audioEncoding": { +"enum": [ +"OUTPUT_AUDIO_ENCODING_UNSPECIFIED", +"OUTPUT_AUDIO_ENCODING_LINEAR_16", +"OUTPUT_AUDIO_ENCODING_MP3", +"OUTPUT_AUDIO_ENCODING_MP3_64_KBPS", +"OUTPUT_AUDIO_ENCODING_OGG_OPUS", +"OUTPUT_AUDIO_ENCODING_MULAW", +"OUTPUT_AUDIO_ENCODING_ALAW" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"", +"" +], +"type": "string" +}, +"sampleRateHertz": { +"format": "int32", +"type": "integer" +}, +"synthesizeSpeechConfig": { +"$ref": "GoogleCloudDialogflowCxV3SynthesizeSpeechConfig" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3Page": { +"id": "GoogleCloudDialogflowCxV3Page", +"properties": { +"advancedSettings": { +"$ref": "GoogleCloudDialogflowCxV3AdvancedSettings" +}, +"description": { +"type": "string" +}, +"displayName": { +"type": "string" +}, +"entryFulfillment": { +"$ref": "GoogleCloudDialogflowCxV3Fulfillment" +}, +"eventHandlers": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3EventHandler" +}, +"type": "array" +}, +"form": { +"$ref": "GoogleCloudDialogflowCxV3Form" +}, +"knowledgeConnectorSettings": { +"$ref": "GoogleCloudDialogflowCxV3KnowledgeConnectorSettings" +}, +"name": { +"type": "string" +}, +"transitionRouteGroups": { +"items": { +"type": "string" +}, +"type": "array" +}, +"transitionRoutes": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3TransitionRoute" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3PageInfo": { +"id": "GoogleCloudDialogflowCxV3PageInfo", +"properties": { +"currentPage": { +"type": "string" +}, +"displayName": { +"type": "string" +}, +"formInfo": { +"$ref": "GoogleCloudDialogflowCxV3PageInfoFormInfo" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3PageInfoFormInfo": { +"id": "GoogleCloudDialogflowCxV3PageInfoFormInfo", +"properties": { +"parameterInfo": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3PageInfoFormInfoParameterInfo" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3PageInfoFormInfoParameterInfo": { +"id": "GoogleCloudDialogflowCxV3PageInfoFormInfoParameterInfo", +"properties": { +"displayName": { +"type": "string" +}, +"justCollected": { +"type": "boolean" +}, +"required": { +"type": "boolean" +}, +"state": { +"enum": [ +"PARAMETER_STATE_UNSPECIFIED", +"EMPTY", +"INVALID", +"FILLED" +], +"enumDescriptions": [ +"", +"", +"", +"" +], +"type": "string" +}, +"value": { +"type": "any" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3ParameterDefinition": { +"id": "GoogleCloudDialogflowCxV3ParameterDefinition", +"properties": { +"description": { +"type": "string" +}, +"name": { +"type": "string" +}, +"type": { +"deprecated": true, +"enum": [ +"PARAMETER_TYPE_UNSPECIFIED", +"STRING", +"NUMBER", +"BOOLEAN", +"NULL", +"OBJECT", +"LIST" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"", +"" +], +"type": "string" +}, +"typeSchema": { +"$ref": "GoogleCloudDialogflowCxV3TypeSchema" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3Phrase": { +"id": "GoogleCloudDialogflowCxV3Phrase", +"properties": { +"text": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3Playbook": { +"id": "GoogleCloudDialogflowCxV3Playbook", +"properties": { +"codeBlock": { +"$ref": "GoogleCloudDialogflowCxV3CodeBlock" +}, +"createTime": { +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"displayName": { +"type": "string" +}, +"goal": { +"type": "string" +}, +"handlers": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3Handler" +}, +"type": "array" +}, +"inlineActions": { +"items": { +"type": "string" +}, +"readOnly": true, +"type": "array" +}, +"inputParameterDefinitions": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3ParameterDefinition" +}, +"type": "array" +}, +"instruction": { +"$ref": "GoogleCloudDialogflowCxV3PlaybookInstruction" +}, +"llmModelSettings": { +"$ref": "GoogleCloudDialogflowCxV3LlmModelSettings" +}, +"name": { +"type": "string" +}, +"outputParameterDefinitions": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3ParameterDefinition" +}, +"type": "array" +}, +"playbookType": { +"enum": [ +"PLAYBOOK_TYPE_UNSPECIFIED", +"TASK", +"ROUTINE" +], +"enumDescriptions": [ +"", +"", +"" +], +"type": "string" +}, +"referencedFlows": { +"items": { +"type": "string" +}, +"readOnly": true, +"type": "array" +}, +"referencedPlaybooks": { +"items": { +"type": "string" +}, +"readOnly": true, +"type": "array" +}, +"referencedTools": { +"items": { +"type": "string" +}, +"type": "array" +}, +"tokenCount": { +"format": "int64", +"readOnly": true, +"type": "string" +}, +"updateTime": { +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3PlaybookImportStrategy": { +"id": "GoogleCloudDialogflowCxV3PlaybookImportStrategy", +"properties": { +"mainPlaybookImportStrategy": { +"enum": [ +"IMPORT_STRATEGY_UNSPECIFIED", +"IMPORT_STRATEGY_CREATE_NEW", +"IMPORT_STRATEGY_REPLACE", +"IMPORT_STRATEGY_KEEP", +"IMPORT_STRATEGY_MERGE", +"IMPORT_STRATEGY_THROW_ERROR" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"" +], +"type": "string" +}, +"nestedResourceImportStrategy": { +"enum": [ +"IMPORT_STRATEGY_UNSPECIFIED", +"IMPORT_STRATEGY_CREATE_NEW", +"IMPORT_STRATEGY_REPLACE", +"IMPORT_STRATEGY_KEEP", +"IMPORT_STRATEGY_MERGE", +"IMPORT_STRATEGY_THROW_ERROR" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"" +], +"type": "string" +}, +"toolImportStrategy": { +"enum": [ +"IMPORT_STRATEGY_UNSPECIFIED", +"IMPORT_STRATEGY_CREATE_NEW", +"IMPORT_STRATEGY_REPLACE", +"IMPORT_STRATEGY_KEEP", +"IMPORT_STRATEGY_MERGE", +"IMPORT_STRATEGY_THROW_ERROR" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"" +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3PlaybookInput": { +"id": "GoogleCloudDialogflowCxV3PlaybookInput", +"properties": { +"precedingConversationSummary": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3PlaybookInstruction": { +"id": "GoogleCloudDialogflowCxV3PlaybookInstruction", +"properties": { +"guidelines": { +"type": "string" +}, +"steps": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3PlaybookStep" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3PlaybookInvocation": { +"id": "GoogleCloudDialogflowCxV3PlaybookInvocation", +"properties": { +"displayName": { +"readOnly": true, +"type": "string" +}, +"playbook": { +"type": "string" +}, +"playbookInput": { +"$ref": "GoogleCloudDialogflowCxV3PlaybookInput" +}, +"playbookOutput": { +"$ref": "GoogleCloudDialogflowCxV3PlaybookOutput" +}, +"playbookState": { +"enum": [ +"OUTPUT_STATE_UNSPECIFIED", +"OUTPUT_STATE_OK", +"OUTPUT_STATE_CANCELLED", +"OUTPUT_STATE_FAILED", +"OUTPUT_STATE_ESCALATED", +"OUTPUT_STATE_PENDING" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"" +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3PlaybookOutput": { +"id": "GoogleCloudDialogflowCxV3PlaybookOutput", +"properties": { +"executionSummary": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3PlaybookStep": { +"id": "GoogleCloudDialogflowCxV3PlaybookStep", +"properties": { +"steps": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3PlaybookStep" +}, +"type": "array" +}, +"text": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3PlaybookTransition": { +"id": "GoogleCloudDialogflowCxV3PlaybookTransition", +"properties": { +"displayName": { +"readOnly": true, +"type": "string" +}, +"playbook": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3PlaybookVersion": { +"id": "GoogleCloudDialogflowCxV3PlaybookVersion", +"properties": { +"description": { +"type": "string" +}, +"examples": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3Example" +}, +"readOnly": true, +"type": "array" +}, +"name": { +"type": "string" +}, +"playbook": { +"$ref": "GoogleCloudDialogflowCxV3Playbook", +"readOnly": true +}, +"updateTime": { +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3QueryInput": { +"id": "GoogleCloudDialogflowCxV3QueryInput", +"properties": { +"audio": { +"$ref": "GoogleCloudDialogflowCxV3AudioInput" +}, +"dtmf": { +"$ref": "GoogleCloudDialogflowCxV3DtmfInput" +}, +"event": { +"$ref": "GoogleCloudDialogflowCxV3EventInput" +}, +"intent": { +"$ref": "GoogleCloudDialogflowCxV3IntentInput" +}, +"languageCode": { +"type": "string" +}, +"text": { +"$ref": "GoogleCloudDialogflowCxV3TextInput" +}, +"toolCallResult": { +"$ref": "GoogleCloudDialogflowCxV3ToolCallResult" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3QueryParameters": { +"id": "GoogleCloudDialogflowCxV3QueryParameters", +"properties": { +"analyzeQueryTextSentiment": { +"type": "boolean" +}, +"channel": { +"type": "string" +}, +"currentPage": { +"type": "string" +}, +"currentPlaybook": { +"type": "string" +}, +"disableWebhook": { +"type": "boolean" +}, +"endUserMetadata": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"type": "object" +}, +"flowVersions": { +"items": { +"type": "string" +}, +"type": "array" +}, +"geoLocation": { +"$ref": "GoogleTypeLatLng" +}, +"llmModelSettings": { +"$ref": "GoogleCloudDialogflowCxV3LlmModelSettings" +}, +"parameterScope": { +"type": "string" +}, +"parameters": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"type": "object" +}, +"payload": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"type": "object" +}, +"populateDataStoreConnectionSignals": { +"deprecated": true, +"type": "boolean" +}, +"searchConfig": { +"$ref": "GoogleCloudDialogflowCxV3SearchConfig" +}, +"sessionEntityTypes": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3SessionEntityType" +}, +"type": "array" +}, +"sessionTtl": { +"format": "google-duration", +"type": "string" +}, +"timeZone": { +"type": "string" +}, +"webhookHeaders": { +"additionalProperties": { +"type": "string" +}, +"type": "object" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3QueryResult": { +"id": "GoogleCloudDialogflowCxV3QueryResult", +"properties": { +"advancedSettings": { +"$ref": "GoogleCloudDialogflowCxV3AdvancedSettings" +}, +"allowAnswerFeedback": { +"type": "boolean" +}, +"currentFlow": { +"$ref": "GoogleCloudDialogflowCxV3Flow" +}, +"currentPage": { +"$ref": "GoogleCloudDialogflowCxV3Page" +}, +"dataStoreConnectionSignals": { +"$ref": "GoogleCloudDialogflowCxV3DataStoreConnectionSignals" +}, +"diagnosticInfo": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"type": "object" +}, +"dtmf": { +"$ref": "GoogleCloudDialogflowCxV3DtmfInput" +}, +"intent": { +"$ref": "GoogleCloudDialogflowCxV3Intent", +"deprecated": true +}, +"intentDetectionConfidence": { +"deprecated": true, +"format": "float", +"type": "number" +}, +"languageCode": { +"type": "string" +}, +"match": { +"$ref": "GoogleCloudDialogflowCxV3Match" +}, +"parameters": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"type": "object" +}, +"responseMessages": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3ResponseMessage" +}, +"type": "array" +}, +"sentimentAnalysisResult": { +"$ref": "GoogleCloudDialogflowCxV3SentimentAnalysisResult" +}, +"text": { +"type": "string" +}, +"transcript": { +"type": "string" +}, +"triggerEvent": { +"type": "string" +}, +"triggerIntent": { +"type": "string" +}, +"webhookPayloads": { +"items": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"type": "object" +}, +"type": "array" +}, +"webhookStatuses": { +"items": { +"$ref": "GoogleRpcStatus" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3ResourceName": { +"id": "GoogleCloudDialogflowCxV3ResourceName", +"properties": { +"displayName": { +"type": "string" +}, +"name": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3ResponseMessage": { +"id": "GoogleCloudDialogflowCxV3ResponseMessage", +"properties": { +"channel": { +"type": "string" +}, +"conversationSuccess": { +"$ref": "GoogleCloudDialogflowCxV3ResponseMessageConversationSuccess" +}, +"endInteraction": { +"$ref": "GoogleCloudDialogflowCxV3ResponseMessageEndInteraction", +"readOnly": true +}, +"knowledgeInfoCard": { +"$ref": "GoogleCloudDialogflowCxV3ResponseMessageKnowledgeInfoCard" +}, +"liveAgentHandoff": { +"$ref": "GoogleCloudDialogflowCxV3ResponseMessageLiveAgentHandoff" +}, +"mixedAudio": { +"$ref": "GoogleCloudDialogflowCxV3ResponseMessageMixedAudio", +"readOnly": true +}, +"outputAudioText": { +"$ref": "GoogleCloudDialogflowCxV3ResponseMessageOutputAudioText" +}, +"payload": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"type": "object" +}, +"playAudio": { +"$ref": "GoogleCloudDialogflowCxV3ResponseMessagePlayAudio" +}, +"responseType": { +"enum": [ +"RESPONSE_TYPE_UNSPECIFIED", +"ENTRY_PROMPT", +"PARAMETER_PROMPT", +"HANDLER_PROMPT" +], +"enumDescriptions": [ +"", +"", +"", +"" +], +"type": "string" +}, +"telephonyTransferCall": { +"$ref": "GoogleCloudDialogflowCxV3ResponseMessageTelephonyTransferCall" +}, +"text": { +"$ref": "GoogleCloudDialogflowCxV3ResponseMessageText" +}, +"toolCall": { +"$ref": "GoogleCloudDialogflowCxV3ToolCall" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3ResponseMessageConversationSuccess": { +"id": "GoogleCloudDialogflowCxV3ResponseMessageConversationSuccess", +"properties": { +"metadata": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"type": "object" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3ResponseMessageEndInteraction": { +"id": "GoogleCloudDialogflowCxV3ResponseMessageEndInteraction", +"properties": {}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3ResponseMessageKnowledgeInfoCard": { +"id": "GoogleCloudDialogflowCxV3ResponseMessageKnowledgeInfoCard", +"properties": {}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3ResponseMessageLiveAgentHandoff": { +"id": "GoogleCloudDialogflowCxV3ResponseMessageLiveAgentHandoff", +"properties": { +"metadata": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"type": "object" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3ResponseMessageMixedAudio": { +"id": "GoogleCloudDialogflowCxV3ResponseMessageMixedAudio", +"properties": { +"segments": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3ResponseMessageMixedAudioSegment" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3ResponseMessageMixedAudioSegment": { +"id": "GoogleCloudDialogflowCxV3ResponseMessageMixedAudioSegment", +"properties": { +"allowPlaybackInterruption": { +"readOnly": true, +"type": "boolean" +}, +"audio": { +"format": "byte", +"type": "string" +}, +"uri": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3ResponseMessageOutputAudioText": { +"id": "GoogleCloudDialogflowCxV3ResponseMessageOutputAudioText", +"properties": { +"allowPlaybackInterruption": { +"readOnly": true, +"type": "boolean" +}, +"ssml": { +"type": "string" +}, +"text": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3ResponseMessagePlayAudio": { +"id": "GoogleCloudDialogflowCxV3ResponseMessagePlayAudio", +"properties": { +"allowPlaybackInterruption": { +"readOnly": true, +"type": "boolean" +}, +"audioUri": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3ResponseMessageTelephonyTransferCall": { +"id": "GoogleCloudDialogflowCxV3ResponseMessageTelephonyTransferCall", +"properties": { +"phoneNumber": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3ResponseMessageText": { +"id": "GoogleCloudDialogflowCxV3ResponseMessageText", +"properties": { +"allowPlaybackInterruption": { +"readOnly": true, +"type": "boolean" +}, +"text": { +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3RestoreAgentRequest": { +"id": "GoogleCloudDialogflowCxV3RestoreAgentRequest", +"properties": { +"agentContent": { +"format": "byte", +"type": "string" +}, +"agentUri": { +"type": "string" +}, +"gitSource": { +"$ref": "GoogleCloudDialogflowCxV3RestoreAgentRequestGitSource" +}, +"restoreOption": { +"enum": [ +"RESTORE_OPTION_UNSPECIFIED", +"KEEP", +"FALLBACK" +], +"enumDescriptions": [ +"", +"", +"" +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3RestoreAgentRequestGitSource": { +"id": "GoogleCloudDialogflowCxV3RestoreAgentRequestGitSource", +"properties": { +"trackingBranch": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3RestorePlaybookVersionRequest": { +"id": "GoogleCloudDialogflowCxV3RestorePlaybookVersionRequest", +"properties": {}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3RestorePlaybookVersionResponse": { +"id": "GoogleCloudDialogflowCxV3RestorePlaybookVersionResponse", +"properties": { +"playbook": { +"$ref": "GoogleCloudDialogflowCxV3Playbook" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3RestoreToolVersionRequest": { +"id": "GoogleCloudDialogflowCxV3RestoreToolVersionRequest", +"properties": {}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3RestoreToolVersionResponse": { +"id": "GoogleCloudDialogflowCxV3RestoreToolVersionResponse", +"properties": { +"tool": { +"$ref": "GoogleCloudDialogflowCxV3Tool" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3RolloutConfig": { +"id": "GoogleCloudDialogflowCxV3RolloutConfig", +"properties": { +"failureCondition": { +"type": "string" +}, +"rolloutCondition": { +"type": "string" +}, +"rolloutSteps": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3RolloutConfigRolloutStep" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3RolloutConfigRolloutStep": { +"id": "GoogleCloudDialogflowCxV3RolloutConfigRolloutStep", +"properties": { +"displayName": { +"type": "string" +}, +"minDuration": { +"format": "google-duration", +"type": "string" +}, +"trafficPercent": { +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3RolloutState": { +"id": "GoogleCloudDialogflowCxV3RolloutState", +"properties": { +"startTime": { +"format": "google-datetime", +"type": "string" +}, +"step": { +"type": "string" +}, +"stepIndex": { +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3RunContinuousTestMetadata": { +"id": "GoogleCloudDialogflowCxV3RunContinuousTestMetadata", +"properties": { +"errors": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3TestError" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3RunContinuousTestRequest": { +"id": "GoogleCloudDialogflowCxV3RunContinuousTestRequest", +"properties": {}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3RunContinuousTestResponse": { +"id": "GoogleCloudDialogflowCxV3RunContinuousTestResponse", +"properties": { +"continuousTestResult": { +"$ref": "GoogleCloudDialogflowCxV3ContinuousTestResult" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3RunTestCaseMetadata": { +"id": "GoogleCloudDialogflowCxV3RunTestCaseMetadata", +"properties": {}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3RunTestCaseRequest": { +"id": "GoogleCloudDialogflowCxV3RunTestCaseRequest", +"properties": { +"environment": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3RunTestCaseResponse": { +"id": "GoogleCloudDialogflowCxV3RunTestCaseResponse", +"properties": { +"result": { +"$ref": "GoogleCloudDialogflowCxV3TestCaseResult" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3SafetySettings": { +"id": "GoogleCloudDialogflowCxV3SafetySettings", +"properties": { +"bannedPhrases": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3SafetySettingsPhrase" +}, +"type": "array" +}, +"defaultBannedPhraseMatchStrategy": { +"enum": [ +"PHRASE_MATCH_STRATEGY_UNSPECIFIED", +"PARTIAL_MATCH", +"WORD_MATCH" +], +"enumDescriptions": [ +"", +"", +"" +], +"type": "string" +}, +"defaultRaiSettings": { +"$ref": "GoogleCloudDialogflowCxV3SafetySettingsRaiSettings" +}, +"promptSecuritySettings": { +"$ref": "GoogleCloudDialogflowCxV3SafetySettingsPromptSecuritySettings" +}, +"raiSettings": { +"$ref": "GoogleCloudDialogflowCxV3SafetySettingsRaiSettings" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3SafetySettingsPhrase": { +"id": "GoogleCloudDialogflowCxV3SafetySettingsPhrase", +"properties": { +"languageCode": { +"type": "string" +}, +"text": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3SafetySettingsPromptSecuritySettings": { +"id": "GoogleCloudDialogflowCxV3SafetySettingsPromptSecuritySettings", +"properties": { +"enablePromptSecurity": { +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3SafetySettingsRaiSettings": { +"id": "GoogleCloudDialogflowCxV3SafetySettingsRaiSettings", +"properties": { +"categoryFilters": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3SafetySettingsRaiSettingsCategoryFilter" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3SafetySettingsRaiSettingsCategoryFilter": { +"id": "GoogleCloudDialogflowCxV3SafetySettingsRaiSettingsCategoryFilter", +"properties": { +"category": { +"enum": [ +"SAFETY_CATEGORY_UNSPECIFIED", +"DANGEROUS_CONTENT", +"HATE_SPEECH", +"HARASSMENT", +"SEXUALLY_EXPLICIT_CONTENT" +], +"enumDescriptions": [ +"", +"", +"", +"", +"" +], +"type": "string" +}, +"filterLevel": { +"enum": [ +"SAFETY_FILTER_LEVEL_UNSPECIFIED", +"BLOCK_NONE", +"BLOCK_FEW", +"BLOCK_SOME", +"BLOCK_MOST" +], +"enumDescriptions": [ +"", +"", +"", +"", +"" +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3SearchConfig": { +"id": "GoogleCloudDialogflowCxV3SearchConfig", +"properties": { +"boostSpecs": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3BoostSpecs" +}, +"type": "array" +}, +"filterSpecs": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3FilterSpecs" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3SecuritySettings": { +"id": "GoogleCloudDialogflowCxV3SecuritySettings", +"properties": { +"audioExportSettings": { +"$ref": "GoogleCloudDialogflowCxV3SecuritySettingsAudioExportSettings" +}, +"deidentifyTemplate": { +"type": "string" +}, +"displayName": { +"type": "string" +}, +"insightsExportSettings": { +"$ref": "GoogleCloudDialogflowCxV3SecuritySettingsInsightsExportSettings" +}, +"inspectTemplate": { +"type": "string" +}, +"name": { +"type": "string" +}, +"purgeDataTypes": { +"items": { +"enum": [ +"PURGE_DATA_TYPE_UNSPECIFIED", +"DIALOGFLOW_HISTORY" +], +"enumDescriptions": [ +"", +"" +], +"type": "string" +}, +"type": "array" +}, +"redactionScope": { +"enum": [ +"REDACTION_SCOPE_UNSPECIFIED", +"REDACT_DISK_STORAGE" +], +"enumDescriptions": [ +"", +"" +], +"type": "string" +}, +"redactionStrategy": { +"enum": [ +"REDACTION_STRATEGY_UNSPECIFIED", +"REDACT_WITH_SERVICE" +], +"enumDescriptions": [ +"", +"" +], +"type": "string" +}, +"retentionStrategy": { +"enum": [ +"RETENTION_STRATEGY_UNSPECIFIED", +"REMOVE_AFTER_CONVERSATION" +], +"enumDescriptions": [ +"", +"" +], +"type": "string" +}, +"retentionWindowDays": { +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3SecuritySettingsAudioExportSettings": { +"id": "GoogleCloudDialogflowCxV3SecuritySettingsAudioExportSettings", +"properties": { +"audioExportPattern": { +"type": "string" +}, +"audioFormat": { +"enum": [ +"AUDIO_FORMAT_UNSPECIFIED", +"MULAW", +"MP3", +"OGG" +], +"enumDescriptions": [ +"", +"", +"", +"" +], +"type": "string" +}, +"enableAudioRedaction": { +"type": "boolean" +}, +"gcsBucket": { +"type": "string" +}, +"storeTtsAudio": { +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3SecuritySettingsInsightsExportSettings": { +"id": "GoogleCloudDialogflowCxV3SecuritySettingsInsightsExportSettings", +"properties": { +"enableInsightsExport": { +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3SentimentAnalysisResult": { +"id": "GoogleCloudDialogflowCxV3SentimentAnalysisResult", +"properties": { +"magnitude": { +"format": "float", +"type": "number" +}, +"score": { +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3SessionEntityType": { +"id": "GoogleCloudDialogflowCxV3SessionEntityType", +"properties": { +"entities": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3EntityTypeEntity" +}, +"type": "array" +}, +"entityOverrideMode": { +"enum": [ +"ENTITY_OVERRIDE_MODE_UNSPECIFIED", +"ENTITY_OVERRIDE_MODE_OVERRIDE", +"ENTITY_OVERRIDE_MODE_SUPPLEMENT" +], +"enumDescriptions": [ +"", +"", +"" +], +"type": "string" +}, +"name": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3SessionInfo": { +"id": "GoogleCloudDialogflowCxV3SessionInfo", +"properties": { +"parameters": { +"additionalProperties": { +"type": "any" +}, +"type": "object" +}, +"session": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3SpeechToTextSettings": { +"id": "GoogleCloudDialogflowCxV3SpeechToTextSettings", +"properties": { +"enableSpeechAdaptation": { +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3StartExperimentRequest": { +"id": "GoogleCloudDialogflowCxV3StartExperimentRequest", +"properties": {}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3StopExperimentRequest": { +"id": "GoogleCloudDialogflowCxV3StopExperimentRequest", +"properties": {}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3SubmitAnswerFeedbackRequest": { +"id": "GoogleCloudDialogflowCxV3SubmitAnswerFeedbackRequest", +"properties": { +"answerFeedback": { +"$ref": "GoogleCloudDialogflowCxV3AnswerFeedback" +}, +"responseId": { +"type": "string" +}, +"updateMask": { +"format": "google-fieldmask", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3SynthesizeSpeechConfig": { +"id": "GoogleCloudDialogflowCxV3SynthesizeSpeechConfig", +"properties": { +"effectsProfileId": { +"items": { +"type": "string" +}, +"type": "array" +}, +"pitch": { +"format": "double", +"type": "number" +}, +"speakingRate": { +"format": "double", +"type": "number" +}, +"voice": { +"$ref": "GoogleCloudDialogflowCxV3VoiceSelectionParams" +}, +"volumeGainDb": { +"format": "double", +"type": "number" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3TestCase": { +"id": "GoogleCloudDialogflowCxV3TestCase", +"properties": { +"creationTime": { +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"displayName": { +"type": "string" +}, +"lastTestResult": { +"$ref": "GoogleCloudDialogflowCxV3TestCaseResult" +}, +"name": { +"type": "string" +}, +"notes": { +"type": "string" +}, +"tags": { +"items": { +"type": "string" +}, +"type": "array" +}, +"testCaseConversationTurns": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3ConversationTurn" +}, +"type": "array" +}, +"testConfig": { +"$ref": "GoogleCloudDialogflowCxV3TestConfig" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3TestCaseError": { +"id": "GoogleCloudDialogflowCxV3TestCaseError", +"properties": { +"status": { +"$ref": "GoogleRpcStatus" +}, +"testCase": { +"$ref": "GoogleCloudDialogflowCxV3TestCase" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3TestCaseResult": { +"id": "GoogleCloudDialogflowCxV3TestCaseResult", +"properties": { +"conversationTurns": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3ConversationTurn" +}, +"type": "array" +}, +"environment": { +"type": "string" +}, +"name": { +"type": "string" +}, +"testResult": { +"enum": [ +"TEST_RESULT_UNSPECIFIED", +"PASSED", +"FAILED" +], +"enumDescriptions": [ +"", +"", +"" +], +"type": "string" +}, +"testTime": { +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3TestConfig": { +"id": "GoogleCloudDialogflowCxV3TestConfig", +"properties": { +"flow": { +"type": "string" +}, +"page": { +"type": "string" +}, +"trackingParameters": { +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3TestError": { +"id": "GoogleCloudDialogflowCxV3TestError", +"properties": { +"status": { +"$ref": "GoogleRpcStatus" +}, +"testCase": { +"type": "string" +}, +"testTime": { +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3TestRunDifference": { +"id": "GoogleCloudDialogflowCxV3TestRunDifference", +"properties": { +"description": { +"type": "string" +}, +"type": { +"enum": [ +"DIFF_TYPE_UNSPECIFIED", +"INTENT", +"PAGE", +"PARAMETERS", +"UTTERANCE", +"FLOW" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"" +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3TextInput": { +"id": "GoogleCloudDialogflowCxV3TextInput", +"properties": { +"text": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3TextToSpeechSettings": { +"id": "GoogleCloudDialogflowCxV3TextToSpeechSettings", +"properties": { +"synthesizeSpeechConfigs": { +"additionalProperties": { +"$ref": "GoogleCloudDialogflowCxV3SynthesizeSpeechConfig" +}, +"type": "object" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3Tool": { +"id": "GoogleCloudDialogflowCxV3Tool", +"properties": { +"dataStoreSpec": { +"$ref": "GoogleCloudDialogflowCxV3ToolDataStoreTool" +}, +"description": { +"type": "string" +}, +"displayName": { +"type": "string" +}, +"functionSpec": { +"$ref": "GoogleCloudDialogflowCxV3ToolFunctionTool" +}, +"name": { +"type": "string" +}, +"openApiSpec": { +"$ref": "GoogleCloudDialogflowCxV3ToolOpenApiTool" +}, +"toolType": { +"enum": [ +"TOOL_TYPE_UNSPECIFIED", +"CUSTOMIZED_TOOL", +"BUILTIN_TOOL" +], +"enumDescriptions": [ +"", +"", +"" +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3ToolAuthentication": { +"id": "GoogleCloudDialogflowCxV3ToolAuthentication", +"properties": { +"apiKeyConfig": { +"$ref": "GoogleCloudDialogflowCxV3ToolAuthenticationApiKeyConfig" +}, +"bearerTokenConfig": { +"$ref": "GoogleCloudDialogflowCxV3ToolAuthenticationBearerTokenConfig" +}, +"oauthConfig": { +"$ref": "GoogleCloudDialogflowCxV3ToolAuthenticationOAuthConfig" +}, +"serviceAccountAuthConfig": { +"$ref": "GoogleCloudDialogflowCxV3ToolAuthenticationServiceAccountAuthConfig" +}, +"serviceAgentAuthConfig": { +"$ref": "GoogleCloudDialogflowCxV3ToolAuthenticationServiceAgentAuthConfig" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3ToolAuthenticationApiKeyConfig": { +"id": "GoogleCloudDialogflowCxV3ToolAuthenticationApiKeyConfig", +"properties": { +"apiKey": { +"type": "string" +}, +"keyName": { +"type": "string" +}, +"requestLocation": { +"enum": [ +"REQUEST_LOCATION_UNSPECIFIED", +"HEADER", +"QUERY_STRING" +], +"enumDescriptions": [ +"", +"", +"" +], +"type": "string" +}, +"secretVersionForApiKey": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3ToolAuthenticationBearerTokenConfig": { +"id": "GoogleCloudDialogflowCxV3ToolAuthenticationBearerTokenConfig", +"properties": { +"secretVersionForToken": { +"type": "string" +}, +"token": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3ToolAuthenticationOAuthConfig": { +"id": "GoogleCloudDialogflowCxV3ToolAuthenticationOAuthConfig", +"properties": { +"clientId": { +"type": "string" +}, +"clientSecret": { +"type": "string" +}, +"oauthGrantType": { +"enum": [ +"OAUTH_GRANT_TYPE_UNSPECIFIED", +"CLIENT_CREDENTIAL" +], +"enumDescriptions": [ +"", +"" +], +"type": "string" +}, +"scopes": { +"items": { +"type": "string" +}, +"type": "array" +}, +"secretVersionForClientSecret": { +"type": "string" +}, +"tokenEndpoint": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3ToolAuthenticationServiceAccountAuthConfig": { +"id": "GoogleCloudDialogflowCxV3ToolAuthenticationServiceAccountAuthConfig", +"properties": { +"serviceAccount": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3ToolAuthenticationServiceAgentAuthConfig": { +"id": "GoogleCloudDialogflowCxV3ToolAuthenticationServiceAgentAuthConfig", +"properties": { +"serviceAgentAuth": { +"enum": [ +"SERVICE_AGENT_AUTH_UNSPECIFIED", +"ID_TOKEN", +"ACCESS_TOKEN" +], +"enumDescriptions": [ +"", +"", +"" +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3ToolCall": { +"id": "GoogleCloudDialogflowCxV3ToolCall", +"properties": { +"action": { +"type": "string" +}, +"inputParameters": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"type": "object" +}, +"tool": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3ToolCallResult": { +"id": "GoogleCloudDialogflowCxV3ToolCallResult", +"properties": { +"action": { +"type": "string" +}, +"error": { +"$ref": "GoogleCloudDialogflowCxV3ToolCallResultError" +}, +"outputParameters": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"type": "object" +}, +"tool": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3ToolCallResultError": { +"id": "GoogleCloudDialogflowCxV3ToolCallResultError", +"properties": { +"message": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3ToolDataStoreTool": { +"id": "GoogleCloudDialogflowCxV3ToolDataStoreTool", +"properties": { +"dataStoreConnections": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3DataStoreConnection" +}, +"type": "array" +}, +"fallbackPrompt": { +"$ref": "GoogleCloudDialogflowCxV3ToolDataStoreToolFallbackPrompt" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3ToolDataStoreToolFallbackPrompt": { +"id": "GoogleCloudDialogflowCxV3ToolDataStoreToolFallbackPrompt", +"properties": {}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3ToolFunctionTool": { +"id": "GoogleCloudDialogflowCxV3ToolFunctionTool", +"properties": { +"inputSchema": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"type": "object" +}, +"outputSchema": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"type": "object" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3ToolOpenApiTool": { +"id": "GoogleCloudDialogflowCxV3ToolOpenApiTool", +"properties": { +"authentication": { +"$ref": "GoogleCloudDialogflowCxV3ToolAuthentication" +}, +"serviceDirectoryConfig": { +"$ref": "GoogleCloudDialogflowCxV3ToolServiceDirectoryConfig" +}, +"textSchema": { +"type": "string" +}, +"tlsConfig": { +"$ref": "GoogleCloudDialogflowCxV3ToolTLSConfig" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3ToolServiceDirectoryConfig": { +"id": "GoogleCloudDialogflowCxV3ToolServiceDirectoryConfig", +"properties": { +"service": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3ToolTLSConfig": { +"id": "GoogleCloudDialogflowCxV3ToolTLSConfig", +"properties": { +"caCerts": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3ToolTLSConfigCACert" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3ToolTLSConfigCACert": { +"id": "GoogleCloudDialogflowCxV3ToolTLSConfigCACert", +"properties": { +"cert": { +"format": "byte", +"type": "string" +}, +"displayName": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3ToolUse": { +"id": "GoogleCloudDialogflowCxV3ToolUse", +"properties": { +"action": { +"type": "string" +}, +"displayName": { +"readOnly": true, +"type": "string" +}, +"inputActionParameters": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"type": "object" +}, +"outputActionParameters": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"type": "object" +}, +"tool": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3ToolVersion": { +"id": "GoogleCloudDialogflowCxV3ToolVersion", +"properties": { +"createTime": { +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"displayName": { +"type": "string" +}, +"name": { +"type": "string" +}, +"tool": { +"$ref": "GoogleCloudDialogflowCxV3Tool" +}, +"updateTime": { +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3TrainFlowRequest": { +"id": "GoogleCloudDialogflowCxV3TrainFlowRequest", +"properties": {}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3TransitionCoverage": { +"id": "GoogleCloudDialogflowCxV3TransitionCoverage", +"properties": { +"coverageScore": { +"format": "float", +"type": "number" +}, +"transitions": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3TransitionCoverageTransition" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3TransitionCoverageTransition": { +"id": "GoogleCloudDialogflowCxV3TransitionCoverageTransition", +"properties": { +"covered": { +"type": "boolean" +}, +"eventHandler": { +"$ref": "GoogleCloudDialogflowCxV3EventHandler" +}, +"index": { +"format": "int32", +"type": "integer" +}, +"source": { +"$ref": "GoogleCloudDialogflowCxV3TransitionCoverageTransitionNode" +}, +"target": { +"$ref": "GoogleCloudDialogflowCxV3TransitionCoverageTransitionNode" +}, +"transitionRoute": { +"$ref": "GoogleCloudDialogflowCxV3TransitionRoute" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3TransitionCoverageTransitionNode": { +"id": "GoogleCloudDialogflowCxV3TransitionCoverageTransitionNode", +"properties": { +"flow": { +"$ref": "GoogleCloudDialogflowCxV3Flow" +}, +"page": { +"$ref": "GoogleCloudDialogflowCxV3Page" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3TransitionRoute": { +"id": "GoogleCloudDialogflowCxV3TransitionRoute", +"properties": { +"condition": { +"type": "string" +}, +"description": { +"type": "string" +}, +"intent": { +"type": "string" +}, +"name": { +"readOnly": true, +"type": "string" +}, +"targetFlow": { +"type": "string" +}, +"targetPage": { +"type": "string" +}, +"triggerFulfillment": { +"$ref": "GoogleCloudDialogflowCxV3Fulfillment" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3TransitionRouteGroup": { +"id": "GoogleCloudDialogflowCxV3TransitionRouteGroup", +"properties": { +"displayName": { +"type": "string" +}, +"name": { +"type": "string" +}, +"transitionRoutes": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3TransitionRoute" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3TransitionRouteGroupCoverage": { +"id": "GoogleCloudDialogflowCxV3TransitionRouteGroupCoverage", +"properties": { +"coverageScore": { +"format": "float", +"type": "number" +}, +"coverages": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3TransitionRouteGroupCoverageCoverage" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3TransitionRouteGroupCoverageCoverage": { +"id": "GoogleCloudDialogflowCxV3TransitionRouteGroupCoverageCoverage", +"properties": { +"coverageScore": { +"format": "float", +"type": "number" +}, +"routeGroup": { +"$ref": "GoogleCloudDialogflowCxV3TransitionRouteGroup" +}, +"transitions": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3TransitionRouteGroupCoverageCoverageTransition" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3TransitionRouteGroupCoverageCoverageTransition": { +"id": "GoogleCloudDialogflowCxV3TransitionRouteGroupCoverageCoverageTransition", +"properties": { +"covered": { +"type": "boolean" +}, +"transitionRoute": { +"$ref": "GoogleCloudDialogflowCxV3TransitionRoute" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3TurnSignals": { +"id": "GoogleCloudDialogflowCxV3TurnSignals", +"properties": { +"agentEscalated": { +"type": "boolean" +}, +"dtmfUsed": { +"type": "boolean" +}, +"failureReasons": { +"items": { +"enum": [ +"FAILURE_REASON_UNSPECIFIED", +"FAILED_INTENT", +"FAILED_WEBHOOK" +], +"enumDescriptions": [ +"", +"", +"" +], +"type": "string" +}, +"type": "array" +}, +"noMatch": { +"type": "boolean" +}, +"noUserInput": { +"type": "boolean" +}, +"reachedEndPage": { +"type": "boolean" +}, +"sentimentMagnitude": { +"format": "float", +"type": "number" +}, +"sentimentScore": { +"format": "float", +"type": "number" +}, +"userEscalated": { +"type": "boolean" +}, +"webhookStatuses": { +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3TypeSchema": { +"id": "GoogleCloudDialogflowCxV3TypeSchema", +"properties": { +"inlineSchema": { +"$ref": "GoogleCloudDialogflowCxV3InlineSchema" +}, +"schemaReference": { +"$ref": "GoogleCloudDialogflowCxV3TypeSchemaSchemaReference" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3TypeSchemaSchemaReference": { +"id": "GoogleCloudDialogflowCxV3TypeSchemaSchemaReference", +"properties": { +"schema": { +"type": "string" +}, +"tool": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3UserUtterance": { +"id": "GoogleCloudDialogflowCxV3UserUtterance", +"properties": { +"text": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3ValidateAgentRequest": { +"id": "GoogleCloudDialogflowCxV3ValidateAgentRequest", +"properties": { +"languageCode": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3ValidateFlowRequest": { +"id": "GoogleCloudDialogflowCxV3ValidateFlowRequest", +"properties": { +"languageCode": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3ValidationMessage": { +"id": "GoogleCloudDialogflowCxV3ValidationMessage", +"properties": { +"detail": { +"type": "string" +}, +"resourceNames": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3ResourceName" +}, +"type": "array" +}, +"resourceType": { +"enum": [ +"RESOURCE_TYPE_UNSPECIFIED", +"AGENT", +"INTENT", +"INTENT_TRAINING_PHRASE", +"INTENT_PARAMETER", +"INTENTS", +"INTENT_TRAINING_PHRASES", +"ENTITY_TYPE", +"ENTITY_TYPES", +"WEBHOOK", +"FLOW", +"PAGE", +"PAGES", +"TRANSITION_ROUTE_GROUP", +"AGENT_TRANSITION_ROUTE_GROUP" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"" +], +"type": "string" +}, +"resources": { +"deprecated": true, +"items": { +"type": "string" +}, +"type": "array" +}, +"severity": { +"enum": [ +"SEVERITY_UNSPECIFIED", +"INFO", +"WARNING", +"ERROR" +], +"enumDescriptions": [ +"", +"", +"", +"" +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3VariantsHistory": { +"id": "GoogleCloudDialogflowCxV3VariantsHistory", +"properties": { +"updateTime": { +"format": "google-datetime", +"type": "string" +}, +"versionVariants": { +"$ref": "GoogleCloudDialogflowCxV3VersionVariants" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3Version": { +"id": "GoogleCloudDialogflowCxV3Version", +"properties": { +"createTime": { +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"description": { +"type": "string" +}, +"displayName": { +"type": "string" +}, +"name": { +"type": "string" +}, +"nluSettings": { +"$ref": "GoogleCloudDialogflowCxV3NluSettings", +"readOnly": true +}, +"state": { +"enum": [ +"STATE_UNSPECIFIED", +"RUNNING", +"SUCCEEDED", +"FAILED" +], +"enumDescriptions": [ +"", +"", +"", +"" +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3VersionVariants": { +"id": "GoogleCloudDialogflowCxV3VersionVariants", +"properties": { +"variants": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3VersionVariantsVariant" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3VersionVariantsVariant": { +"id": "GoogleCloudDialogflowCxV3VersionVariantsVariant", +"properties": { +"isControlGroup": { +"type": "boolean" +}, +"trafficAllocation": { +"format": "float", +"type": "number" +}, +"version": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3VoiceSelectionParams": { +"id": "GoogleCloudDialogflowCxV3VoiceSelectionParams", +"properties": { +"name": { +"type": "string" +}, +"ssmlGender": { +"enum": [ +"SSML_VOICE_GENDER_UNSPECIFIED", +"SSML_VOICE_GENDER_MALE", +"SSML_VOICE_GENDER_FEMALE", +"SSML_VOICE_GENDER_NEUTRAL" +], +"enumDescriptions": [ +"", +"", +"", +"" +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3Webhook": { +"id": "GoogleCloudDialogflowCxV3Webhook", +"properties": { +"disabled": { +"type": "boolean" +}, +"displayName": { +"type": "string" +}, +"genericWebService": { +"$ref": "GoogleCloudDialogflowCxV3WebhookGenericWebService" +}, +"name": { +"type": "string" +}, +"serviceDirectory": { +"$ref": "GoogleCloudDialogflowCxV3WebhookServiceDirectoryConfig" +}, +"timeout": { +"format": "google-duration", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3WebhookGenericWebService": { +"id": "GoogleCloudDialogflowCxV3WebhookGenericWebService", +"properties": { +"allowedCaCerts": { +"items": { +"format": "byte", +"type": "string" +}, +"type": "array" +}, +"httpMethod": { +"enum": [ +"HTTP_METHOD_UNSPECIFIED", +"POST", +"GET", +"HEAD", +"PUT", +"DELETE", +"PATCH", +"OPTIONS" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"", +"", +"" +], +"type": "string" +}, +"oauthConfig": { +"$ref": "GoogleCloudDialogflowCxV3WebhookGenericWebServiceOAuthConfig" +}, +"parameterMapping": { +"additionalProperties": { +"type": "string" +}, +"type": "object" +}, +"password": { +"deprecated": true, +"type": "string" +}, +"requestBody": { +"type": "string" +}, +"requestHeaders": { +"additionalProperties": { +"type": "string" +}, +"type": "object" +}, +"secretVersionForUsernamePassword": { +"type": "string" +}, +"secretVersionsForRequestHeaders": { +"additionalProperties": { +"$ref": "GoogleCloudDialogflowCxV3WebhookGenericWebServiceSecretVersionHeaderValue" +}, +"type": "object" +}, +"serviceAccountAuthConfig": { +"$ref": "GoogleCloudDialogflowCxV3WebhookGenericWebServiceServiceAccountAuthConfig" +}, +"serviceAgentAuth": { +"enum": [ +"SERVICE_AGENT_AUTH_UNSPECIFIED", +"NONE", +"ID_TOKEN", +"ACCESS_TOKEN" +], +"enumDescriptions": [ +"", +"", +"", +"" +], +"type": "string" +}, +"uri": { +"type": "string" +}, +"username": { +"deprecated": true, +"type": "string" +}, +"webhookType": { +"enum": [ +"WEBHOOK_TYPE_UNSPECIFIED", +"STANDARD", +"FLEXIBLE" +], +"enumDescriptions": [ +"", +"", +"" +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3WebhookGenericWebServiceOAuthConfig": { +"id": "GoogleCloudDialogflowCxV3WebhookGenericWebServiceOAuthConfig", +"properties": { +"clientId": { +"type": "string" +}, +"clientSecret": { +"type": "string" +}, +"scopes": { +"items": { +"type": "string" +}, +"type": "array" +}, +"secretVersionForClientSecret": { +"type": "string" +}, +"tokenEndpoint": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3WebhookGenericWebServiceSecretVersionHeaderValue": { +"id": "GoogleCloudDialogflowCxV3WebhookGenericWebServiceSecretVersionHeaderValue", +"properties": { +"secretVersion": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3WebhookGenericWebServiceServiceAccountAuthConfig": { +"id": "GoogleCloudDialogflowCxV3WebhookGenericWebServiceServiceAccountAuthConfig", +"properties": { +"serviceAccount": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3WebhookRequest": { +"id": "GoogleCloudDialogflowCxV3WebhookRequest", +"properties": { +"detectIntentResponseId": { +"type": "string" +}, +"dtmfDigits": { +"type": "string" +}, +"fulfillmentInfo": { +"$ref": "GoogleCloudDialogflowCxV3WebhookRequestFulfillmentInfo" +}, +"intentInfo": { +"$ref": "GoogleCloudDialogflowCxV3WebhookRequestIntentInfo" +}, +"languageCode": { +"type": "string" +}, +"languageInfo": { +"$ref": "GoogleCloudDialogflowCxV3LanguageInfo" +}, +"messages": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3ResponseMessage" +}, +"type": "array" +}, +"pageInfo": { +"$ref": "GoogleCloudDialogflowCxV3PageInfo" +}, +"payload": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"type": "object" +}, +"sentimentAnalysisResult": { +"$ref": "GoogleCloudDialogflowCxV3WebhookRequestSentimentAnalysisResult" +}, +"sessionInfo": { +"$ref": "GoogleCloudDialogflowCxV3SessionInfo" +}, +"text": { +"type": "string" +}, +"transcript": { +"type": "string" +}, +"triggerEvent": { +"type": "string" +}, +"triggerIntent": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3WebhookRequestFulfillmentInfo": { +"id": "GoogleCloudDialogflowCxV3WebhookRequestFulfillmentInfo", +"properties": { +"tag": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3WebhookRequestIntentInfo": { +"id": "GoogleCloudDialogflowCxV3WebhookRequestIntentInfo", +"properties": { +"confidence": { +"format": "float", +"type": "number" +}, +"displayName": { +"type": "string" +}, +"lastMatchedIntent": { +"type": "string" +}, +"parameters": { +"additionalProperties": { +"$ref": "GoogleCloudDialogflowCxV3WebhookRequestIntentInfoIntentParameterValue" +}, +"type": "object" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3WebhookRequestIntentInfoIntentParameterValue": { +"id": "GoogleCloudDialogflowCxV3WebhookRequestIntentInfoIntentParameterValue", +"properties": { +"originalValue": { +"type": "string" +}, +"resolvedValue": { +"type": "any" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3WebhookRequestSentimentAnalysisResult": { +"id": "GoogleCloudDialogflowCxV3WebhookRequestSentimentAnalysisResult", +"properties": { +"magnitude": { +"format": "float", +"type": "number" +}, +"score": { +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3WebhookResponse": { +"id": "GoogleCloudDialogflowCxV3WebhookResponse", +"properties": { +"fulfillmentResponse": { +"$ref": "GoogleCloudDialogflowCxV3WebhookResponseFulfillmentResponse" +}, +"pageInfo": { +"$ref": "GoogleCloudDialogflowCxV3PageInfo" +}, +"payload": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"type": "object" +}, +"sessionInfo": { +"$ref": "GoogleCloudDialogflowCxV3SessionInfo" +}, +"targetFlow": { +"type": "string" +}, +"targetPage": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3WebhookResponseFulfillmentResponse": { +"id": "GoogleCloudDialogflowCxV3WebhookResponseFulfillmentResponse", +"properties": { +"mergeBehavior": { +"enum": [ +"MERGE_BEHAVIOR_UNSPECIFIED", +"APPEND", +"REPLACE" +], +"enumDescriptions": [ +"", +"", +"" +], +"type": "string" +}, +"messages": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3ResponseMessage" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3WebhookServiceDirectoryConfig": { +"id": "GoogleCloudDialogflowCxV3WebhookServiceDirectoryConfig", +"properties": { +"genericWebService": { +"$ref": "GoogleCloudDialogflowCxV3WebhookGenericWebService" +}, +"service": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1AdvancedSettings": { +"id": "GoogleCloudDialogflowCxV3beta1AdvancedSettings", +"properties": { +"audioExportGcsDestination": { +"$ref": "GoogleCloudDialogflowCxV3beta1GcsDestination" +}, +"dtmfSettings": { +"$ref": "GoogleCloudDialogflowCxV3beta1AdvancedSettingsDtmfSettings" +}, +"loggingSettings": { +"$ref": "GoogleCloudDialogflowCxV3beta1AdvancedSettingsLoggingSettings" +}, +"speechSettings": { +"$ref": "GoogleCloudDialogflowCxV3beta1AdvancedSettingsSpeechSettings" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1AdvancedSettingsDtmfSettings": { +"id": "GoogleCloudDialogflowCxV3beta1AdvancedSettingsDtmfSettings", +"properties": { +"enabled": { +"type": "boolean" +}, +"endpointingTimeoutDuration": { +"format": "google-duration", +"type": "string" +}, +"finishDigit": { +"type": "string" +}, +"interdigitTimeoutDuration": { +"format": "google-duration", +"type": "string" +}, +"maxDigits": { +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1AdvancedSettingsLoggingSettings": { +"id": "GoogleCloudDialogflowCxV3beta1AdvancedSettingsLoggingSettings", +"properties": { +"enableConsentBasedRedaction": { +"type": "boolean" +}, +"enableInteractionLogging": { +"type": "boolean" +}, +"enableStackdriverLogging": { +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1AdvancedSettingsSpeechSettings": { +"id": "GoogleCloudDialogflowCxV3beta1AdvancedSettingsSpeechSettings", +"properties": { +"endpointerSensitivity": { +"format": "int32", +"type": "integer" +}, +"models": { +"additionalProperties": { +"type": "string" +}, +"type": "object" +}, +"noSpeechTimeout": { +"format": "google-duration", +"type": "string" +}, +"useTimeoutBasedEndpointing": { +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1AudioInput": { +"id": "GoogleCloudDialogflowCxV3beta1AudioInput", +"properties": { +"audio": { +"format": "byte", +"type": "string" +}, +"config": { +"$ref": "GoogleCloudDialogflowCxV3beta1InputAudioConfig" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1BargeInConfig": { +"id": "GoogleCloudDialogflowCxV3beta1BargeInConfig", +"properties": { +"noBargeInDuration": { +"format": "google-duration", +"type": "string" +}, +"totalDuration": { +"format": "google-duration", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1BatchRunTestCasesMetadata": { +"id": "GoogleCloudDialogflowCxV3beta1BatchRunTestCasesMetadata", +"properties": { +"errors": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3beta1TestError" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1BatchRunTestCasesResponse": { +"id": "GoogleCloudDialogflowCxV3beta1BatchRunTestCasesResponse", +"properties": { +"results": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3beta1TestCaseResult" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1ContinuousTestResult": { +"id": "GoogleCloudDialogflowCxV3beta1ContinuousTestResult", +"properties": { +"name": { +"type": "string" +}, +"result": { +"enum": [ +"AGGREGATED_TEST_RESULT_UNSPECIFIED", +"PASSED", +"FAILED" +], +"enumDescriptions": [ +"", +"", +"" +], +"type": "string" +}, +"runTime": { +"format": "google-datetime", +"type": "string" +}, +"testCaseResults": { +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1ConversationSignals": { +"id": "GoogleCloudDialogflowCxV3beta1ConversationSignals", +"properties": { +"turnSignals": { +"$ref": "GoogleCloudDialogflowCxV3beta1TurnSignals" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1ConversationTurn": { +"id": "GoogleCloudDialogflowCxV3beta1ConversationTurn", +"properties": { +"userInput": { +"$ref": "GoogleCloudDialogflowCxV3beta1ConversationTurnUserInput" +}, +"virtualAgentOutput": { +"$ref": "GoogleCloudDialogflowCxV3beta1ConversationTurnVirtualAgentOutput" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1ConversationTurnUserInput": { +"id": "GoogleCloudDialogflowCxV3beta1ConversationTurnUserInput", +"properties": { +"enableSentimentAnalysis": { +"type": "boolean" +}, +"injectedParameters": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"type": "object" +}, +"input": { +"$ref": "GoogleCloudDialogflowCxV3beta1QueryInput" +}, +"isWebhookEnabled": { +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1ConversationTurnVirtualAgentOutput": { +"id": "GoogleCloudDialogflowCxV3beta1ConversationTurnVirtualAgentOutput", +"properties": { +"currentPage": { +"$ref": "GoogleCloudDialogflowCxV3beta1Page" +}, +"diagnosticInfo": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"type": "object" +}, +"differences": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3beta1TestRunDifference" +}, +"readOnly": true, +"type": "array" +}, +"sessionParameters": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"type": "object" +}, +"status": { +"$ref": "GoogleRpcStatus" +}, +"textResponses": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3beta1ResponseMessageText" +}, +"type": "array" +}, +"triggeredIntent": { +"$ref": "GoogleCloudDialogflowCxV3beta1Intent" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1CreateVersionOperationMetadata": { +"id": "GoogleCloudDialogflowCxV3beta1CreateVersionOperationMetadata", +"properties": { +"version": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1DataStoreConnection": { +"id": "GoogleCloudDialogflowCxV3beta1DataStoreConnection", +"properties": { +"dataStore": { +"type": "string" +}, +"dataStoreType": { +"enum": [ +"DATA_STORE_TYPE_UNSPECIFIED", +"PUBLIC_WEB", +"UNSTRUCTURED", +"STRUCTURED" +], +"enumDescriptions": [ +"", +"", +"", +"" +], +"type": "string" +}, +"documentProcessingMode": { +"enum": [ +"DOCUMENT_PROCESSING_MODE_UNSPECIFIED", +"DOCUMENTS", +"CHUNKS" +], +"enumDescriptions": [ +"", +"", +"" +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1DeployFlowMetadata": { +"id": "GoogleCloudDialogflowCxV3beta1DeployFlowMetadata", +"properties": { +"testErrors": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3beta1TestError" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1DeployFlowResponse": { +"id": "GoogleCloudDialogflowCxV3beta1DeployFlowResponse", +"properties": { +"deployment": { +"type": "string" +}, +"environment": { +"$ref": "GoogleCloudDialogflowCxV3beta1Environment" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1DtmfInput": { +"id": "GoogleCloudDialogflowCxV3beta1DtmfInput", +"properties": { +"digits": { +"type": "string" +}, +"finishDigit": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1Environment": { +"id": "GoogleCloudDialogflowCxV3beta1Environment", +"properties": { +"description": { +"type": "string" +}, +"displayName": { +"type": "string" +}, +"name": { +"type": "string" +}, +"testCasesConfig": { +"$ref": "GoogleCloudDialogflowCxV3beta1EnvironmentTestCasesConfig" +}, +"updateTime": { +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"versionConfigs": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3beta1EnvironmentVersionConfig" +}, +"type": "array" +}, +"webhookConfig": { +"$ref": "GoogleCloudDialogflowCxV3beta1EnvironmentWebhookConfig" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1EnvironmentTestCasesConfig": { +"id": "GoogleCloudDialogflowCxV3beta1EnvironmentTestCasesConfig", +"properties": { +"enableContinuousRun": { +"type": "boolean" +}, +"enablePredeploymentRun": { +"type": "boolean" +}, +"testCases": { +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1EnvironmentVersionConfig": { +"id": "GoogleCloudDialogflowCxV3beta1EnvironmentVersionConfig", +"properties": { +"version": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1EnvironmentWebhookConfig": { +"id": "GoogleCloudDialogflowCxV3beta1EnvironmentWebhookConfig", +"properties": { +"webhookOverrides": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3beta1Webhook" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1EventHandler": { +"id": "GoogleCloudDialogflowCxV3beta1EventHandler", +"properties": { +"event": { +"type": "string" +}, +"name": { +"readOnly": true, +"type": "string" +}, +"targetFlow": { +"type": "string" +}, +"targetPage": { +"type": "string" +}, +"targetPlaybook": { +"type": "string" +}, +"triggerFulfillment": { +"$ref": "GoogleCloudDialogflowCxV3beta1Fulfillment" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1EventInput": { +"id": "GoogleCloudDialogflowCxV3beta1EventInput", +"properties": { +"event": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1ExportAgentResponse": { +"id": "GoogleCloudDialogflowCxV3beta1ExportAgentResponse", +"properties": { +"agentContent": { +"format": "byte", +"type": "string" +}, +"agentUri": { +"type": "string" +}, +"commitSha": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1ExportEntityTypesMetadata": { +"id": "GoogleCloudDialogflowCxV3beta1ExportEntityTypesMetadata", +"properties": {}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1ExportEntityTypesResponse": { +"id": "GoogleCloudDialogflowCxV3beta1ExportEntityTypesResponse", +"properties": { +"entityTypesContent": { +"$ref": "GoogleCloudDialogflowCxV3beta1InlineDestination" +}, +"entityTypesUri": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1ExportFlowResponse": { +"id": "GoogleCloudDialogflowCxV3beta1ExportFlowResponse", +"properties": { +"flowContent": { +"format": "byte", +"type": "string" +}, +"flowUri": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1ExportIntentsMetadata": { +"id": "GoogleCloudDialogflowCxV3beta1ExportIntentsMetadata", +"properties": {}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1ExportIntentsResponse": { +"id": "GoogleCloudDialogflowCxV3beta1ExportIntentsResponse", +"properties": { +"intentsContent": { +"$ref": "GoogleCloudDialogflowCxV3beta1InlineDestination" +}, +"intentsUri": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1ExportTestCasesMetadata": { +"id": "GoogleCloudDialogflowCxV3beta1ExportTestCasesMetadata", +"properties": {}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1ExportTestCasesResponse": { +"id": "GoogleCloudDialogflowCxV3beta1ExportTestCasesResponse", +"properties": { +"content": { +"format": "byte", +"type": "string" +}, +"gcsUri": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1Form": { +"id": "GoogleCloudDialogflowCxV3beta1Form", +"properties": { +"parameters": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3beta1FormParameter" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1FormParameter": { +"id": "GoogleCloudDialogflowCxV3beta1FormParameter", +"properties": { +"advancedSettings": { +"$ref": "GoogleCloudDialogflowCxV3beta1AdvancedSettings" +}, +"defaultValue": { +"type": "any" +}, +"displayName": { +"type": "string" +}, +"entityType": { +"type": "string" +}, +"fillBehavior": { +"$ref": "GoogleCloudDialogflowCxV3beta1FormParameterFillBehavior" +}, +"isList": { +"type": "boolean" +}, +"redact": { +"type": "boolean" +}, +"required": { +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1FormParameterFillBehavior": { +"id": "GoogleCloudDialogflowCxV3beta1FormParameterFillBehavior", +"properties": { +"initialPromptFulfillment": { +"$ref": "GoogleCloudDialogflowCxV3beta1Fulfillment" +}, +"repromptEventHandlers": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3beta1EventHandler" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1Fulfillment": { +"id": "GoogleCloudDialogflowCxV3beta1Fulfillment", +"properties": { +"advancedSettings": { +"$ref": "GoogleCloudDialogflowCxV3beta1AdvancedSettings" +}, +"conditionalCases": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCases" +}, +"type": "array" +}, +"enableGenerativeFallback": { +"type": "boolean" +}, +"generators": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3beta1FulfillmentGeneratorSettings" +}, +"type": "array" +}, +"messages": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3beta1ResponseMessage" +}, +"type": "array" +}, +"returnPartialResponses": { +"type": "boolean" +}, +"setParameterActions": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3beta1FulfillmentSetParameterAction" +}, +"type": "array" +}, +"tag": { +"type": "string" +}, +"webhook": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCases": { +"id": "GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCases", +"properties": { +"cases": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCase" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCase": { +"id": "GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCase", +"properties": { +"caseContent": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCaseCaseContent" +}, +"type": "array" +}, +"condition": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCaseCaseContent": { +"id": "GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCaseCaseContent", +"properties": { +"additionalCases": { +"$ref": "GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCases" +}, +"message": { +"$ref": "GoogleCloudDialogflowCxV3beta1ResponseMessage" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1FulfillmentGeneratorSettings": { +"id": "GoogleCloudDialogflowCxV3beta1FulfillmentGeneratorSettings", +"properties": { +"generator": { +"type": "string" +}, +"inputParameters": { +"additionalProperties": { +"type": "string" +}, +"type": "object" +}, +"outputParameter": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1FulfillmentSetParameterAction": { +"id": "GoogleCloudDialogflowCxV3beta1FulfillmentSetParameterAction", +"properties": { +"parameter": { +"type": "string" +}, +"value": { +"type": "any" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1GcsDestination": { +"id": "GoogleCloudDialogflowCxV3beta1GcsDestination", +"properties": { +"uri": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1ImportEntityTypesMetadata": { +"id": "GoogleCloudDialogflowCxV3beta1ImportEntityTypesMetadata", +"properties": {}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1ImportEntityTypesResponse": { +"id": "GoogleCloudDialogflowCxV3beta1ImportEntityTypesResponse", +"properties": { +"conflictingResources": { +"$ref": "GoogleCloudDialogflowCxV3beta1ImportEntityTypesResponseConflictingResources" +}, +"entityTypes": { +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1ImportEntityTypesResponseConflictingResources": { +"id": "GoogleCloudDialogflowCxV3beta1ImportEntityTypesResponseConflictingResources", +"properties": { +"entityDisplayNames": { +"items": { +"type": "string" +}, +"type": "array" +}, +"entityTypeDisplayNames": { +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1ImportFlowResponse": { +"id": "GoogleCloudDialogflowCxV3beta1ImportFlowResponse", +"properties": { +"flow": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1ImportIntentsMetadata": { +"id": "GoogleCloudDialogflowCxV3beta1ImportIntentsMetadata", +"properties": {}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1ImportIntentsResponse": { +"id": "GoogleCloudDialogflowCxV3beta1ImportIntentsResponse", +"properties": { +"conflictingResources": { +"$ref": "GoogleCloudDialogflowCxV3beta1ImportIntentsResponseConflictingResources" +}, +"intents": { +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1ImportIntentsResponseConflictingResources": { +"id": "GoogleCloudDialogflowCxV3beta1ImportIntentsResponseConflictingResources", +"properties": { +"entityDisplayNames": { +"items": { +"type": "string" +}, +"type": "array" +}, +"intentDisplayNames": { +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1ImportTestCasesMetadata": { +"id": "GoogleCloudDialogflowCxV3beta1ImportTestCasesMetadata", +"properties": { +"errors": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3beta1TestCaseError" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1ImportTestCasesResponse": { +"id": "GoogleCloudDialogflowCxV3beta1ImportTestCasesResponse", +"properties": { +"names": { +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1InlineDestination": { +"id": "GoogleCloudDialogflowCxV3beta1InlineDestination", +"properties": { +"content": { +"format": "byte", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1InputAudioConfig": { +"id": "GoogleCloudDialogflowCxV3beta1InputAudioConfig", +"properties": { +"audioEncoding": { +"enum": [ +"AUDIO_ENCODING_UNSPECIFIED", +"AUDIO_ENCODING_LINEAR_16", +"AUDIO_ENCODING_FLAC", +"AUDIO_ENCODING_MULAW", +"AUDIO_ENCODING_AMR", +"AUDIO_ENCODING_AMR_WB", +"AUDIO_ENCODING_OGG_OPUS", +"AUDIO_ENCODING_SPEEX_WITH_HEADER_BYTE", +"AUDIO_ENCODING_ALAW" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"", +"", +"", +"" +], +"type": "string" +}, +"bargeInConfig": { +"$ref": "GoogleCloudDialogflowCxV3beta1BargeInConfig" +}, +"enableWordInfo": { +"type": "boolean" +}, +"model": { +"type": "string" +}, +"modelVariant": { +"enum": [ +"SPEECH_MODEL_VARIANT_UNSPECIFIED", +"USE_BEST_AVAILABLE", +"USE_STANDARD", +"USE_ENHANCED" +], +"enumDescriptions": [ +"", +"", +"", +"" +], +"type": "string" +}, +"optOutConformerModelMigration": { +"type": "boolean" +}, +"phraseHints": { +"items": { +"type": "string" +}, +"type": "array" +}, +"sampleRateHertz": { +"format": "int32", +"type": "integer" +}, +"singleUtterance": { +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1Intent": { +"id": "GoogleCloudDialogflowCxV3beta1Intent", +"properties": { +"description": { +"type": "string" +}, +"displayName": { +"type": "string" +}, +"isFallback": { +"type": "boolean" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"type": "object" +}, +"name": { +"type": "string" +}, +"parameters": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3beta1IntentParameter" +}, +"type": "array" +}, +"priority": { +"format": "int32", +"type": "integer" +}, +"trainingPhrases": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3beta1IntentTrainingPhrase" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1IntentInput": { +"id": "GoogleCloudDialogflowCxV3beta1IntentInput", +"properties": { +"intent": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1IntentParameter": { +"id": "GoogleCloudDialogflowCxV3beta1IntentParameter", +"properties": { +"entityType": { +"type": "string" +}, +"id": { +"type": "string" +}, +"isList": { +"type": "boolean" +}, +"redact": { +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1IntentTrainingPhrase": { +"id": "GoogleCloudDialogflowCxV3beta1IntentTrainingPhrase", +"properties": { +"id": { +"readOnly": true, +"type": "string" +}, +"parts": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3beta1IntentTrainingPhrasePart" +}, +"type": "array" +}, +"repeatCount": { +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1IntentTrainingPhrasePart": { +"id": "GoogleCloudDialogflowCxV3beta1IntentTrainingPhrasePart", +"properties": { +"parameterId": { +"type": "string" +}, +"text": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1KnowledgeConnectorSettings": { +"id": "GoogleCloudDialogflowCxV3beta1KnowledgeConnectorSettings", +"properties": { +"dataStoreConnections": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3beta1DataStoreConnection" +}, +"type": "array" +}, +"enabled": { +"type": "boolean" +}, +"targetFlow": { +"type": "string" +}, +"targetPage": { +"type": "string" +}, +"triggerFulfillment": { +"$ref": "GoogleCloudDialogflowCxV3beta1Fulfillment" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1LanguageInfo": { +"id": "GoogleCloudDialogflowCxV3beta1LanguageInfo", +"properties": { +"confidenceScore": { +"format": "float", +"type": "number" +}, +"inputLanguageCode": { +"type": "string" +}, +"resolvedLanguageCode": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1Page": { +"id": "GoogleCloudDialogflowCxV3beta1Page", +"properties": { +"advancedSettings": { +"$ref": "GoogleCloudDialogflowCxV3beta1AdvancedSettings" +}, +"description": { +"type": "string" +}, +"displayName": { +"type": "string" +}, +"entryFulfillment": { +"$ref": "GoogleCloudDialogflowCxV3beta1Fulfillment" +}, +"eventHandlers": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3beta1EventHandler" +}, +"type": "array" +}, +"form": { +"$ref": "GoogleCloudDialogflowCxV3beta1Form" +}, +"knowledgeConnectorSettings": { +"$ref": "GoogleCloudDialogflowCxV3beta1KnowledgeConnectorSettings" +}, +"name": { +"type": "string" +}, +"transitionRouteGroups": { +"items": { +"type": "string" +}, +"type": "array" +}, +"transitionRoutes": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3beta1TransitionRoute" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1PageInfo": { +"id": "GoogleCloudDialogflowCxV3beta1PageInfo", +"properties": { +"currentPage": { +"type": "string" +}, +"displayName": { +"type": "string" +}, +"formInfo": { +"$ref": "GoogleCloudDialogflowCxV3beta1PageInfoFormInfo" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1PageInfoFormInfo": { +"id": "GoogleCloudDialogflowCxV3beta1PageInfoFormInfo", +"properties": { +"parameterInfo": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3beta1PageInfoFormInfoParameterInfo" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1PageInfoFormInfoParameterInfo": { +"id": "GoogleCloudDialogflowCxV3beta1PageInfoFormInfoParameterInfo", +"properties": { +"displayName": { +"type": "string" +}, +"justCollected": { +"type": "boolean" +}, +"required": { +"type": "boolean" +}, +"state": { +"enum": [ +"PARAMETER_STATE_UNSPECIFIED", +"EMPTY", +"INVALID", +"FILLED" +], +"enumDescriptions": [ +"", +"", +"", +"" +], +"type": "string" +}, +"value": { +"type": "any" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1QueryInput": { +"id": "GoogleCloudDialogflowCxV3beta1QueryInput", +"properties": { +"audio": { +"$ref": "GoogleCloudDialogflowCxV3beta1AudioInput" +}, +"dtmf": { +"$ref": "GoogleCloudDialogflowCxV3beta1DtmfInput" +}, +"event": { +"$ref": "GoogleCloudDialogflowCxV3beta1EventInput" +}, +"intent": { +"$ref": "GoogleCloudDialogflowCxV3beta1IntentInput" +}, +"languageCode": { +"type": "string" +}, +"text": { +"$ref": "GoogleCloudDialogflowCxV3beta1TextInput" +}, +"toolCallResult": { +"$ref": "GoogleCloudDialogflowCxV3beta1ToolCallResult" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1ResponseMessage": { +"id": "GoogleCloudDialogflowCxV3beta1ResponseMessage", +"properties": { +"channel": { +"type": "string" +}, +"conversationSuccess": { +"$ref": "GoogleCloudDialogflowCxV3beta1ResponseMessageConversationSuccess" +}, +"endInteraction": { +"$ref": "GoogleCloudDialogflowCxV3beta1ResponseMessageEndInteraction", +"readOnly": true +}, +"knowledgeInfoCard": { +"$ref": "GoogleCloudDialogflowCxV3beta1ResponseMessageKnowledgeInfoCard" +}, +"liveAgentHandoff": { +"$ref": "GoogleCloudDialogflowCxV3beta1ResponseMessageLiveAgentHandoff" +}, +"mixedAudio": { +"$ref": "GoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudio", +"readOnly": true +}, +"outputAudioText": { +"$ref": "GoogleCloudDialogflowCxV3beta1ResponseMessageOutputAudioText" +}, +"payload": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"type": "object" +}, +"playAudio": { +"$ref": "GoogleCloudDialogflowCxV3beta1ResponseMessagePlayAudio" +}, +"telephonyTransferCall": { +"$ref": "GoogleCloudDialogflowCxV3beta1ResponseMessageTelephonyTransferCall" +}, +"text": { +"$ref": "GoogleCloudDialogflowCxV3beta1ResponseMessageText" +}, +"toolCall": { +"$ref": "GoogleCloudDialogflowCxV3beta1ToolCall" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1ResponseMessageConversationSuccess": { +"id": "GoogleCloudDialogflowCxV3beta1ResponseMessageConversationSuccess", +"properties": { +"metadata": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"type": "object" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1ResponseMessageEndInteraction": { +"id": "GoogleCloudDialogflowCxV3beta1ResponseMessageEndInteraction", +"properties": {}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1ResponseMessageKnowledgeInfoCard": { +"id": "GoogleCloudDialogflowCxV3beta1ResponseMessageKnowledgeInfoCard", +"properties": {}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1ResponseMessageLiveAgentHandoff": { +"id": "GoogleCloudDialogflowCxV3beta1ResponseMessageLiveAgentHandoff", +"properties": { +"metadata": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"type": "object" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudio": { +"id": "GoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudio", +"properties": { +"segments": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudioSegment" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudioSegment": { +"id": "GoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudioSegment", +"properties": { +"allowPlaybackInterruption": { +"readOnly": true, +"type": "boolean" +}, +"audio": { +"format": "byte", +"type": "string" +}, +"uri": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1ResponseMessageOutputAudioText": { +"id": "GoogleCloudDialogflowCxV3beta1ResponseMessageOutputAudioText", +"properties": { +"allowPlaybackInterruption": { +"readOnly": true, +"type": "boolean" +}, +"ssml": { +"type": "string" +}, +"text": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1ResponseMessagePlayAudio": { +"id": "GoogleCloudDialogflowCxV3beta1ResponseMessagePlayAudio", +"properties": { +"allowPlaybackInterruption": { +"readOnly": true, +"type": "boolean" +}, +"audioUri": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1ResponseMessageTelephonyTransferCall": { +"id": "GoogleCloudDialogflowCxV3beta1ResponseMessageTelephonyTransferCall", +"properties": { +"phoneNumber": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1ResponseMessageText": { +"id": "GoogleCloudDialogflowCxV3beta1ResponseMessageText", +"properties": { +"allowPlaybackInterruption": { +"readOnly": true, +"type": "boolean" +}, +"text": { +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1RunContinuousTestMetadata": { +"id": "GoogleCloudDialogflowCxV3beta1RunContinuousTestMetadata", +"properties": { +"errors": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3beta1TestError" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1RunContinuousTestResponse": { +"id": "GoogleCloudDialogflowCxV3beta1RunContinuousTestResponse", +"properties": { +"continuousTestResult": { +"$ref": "GoogleCloudDialogflowCxV3beta1ContinuousTestResult" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1RunTestCaseMetadata": { +"id": "GoogleCloudDialogflowCxV3beta1RunTestCaseMetadata", +"properties": {}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1RunTestCaseResponse": { +"id": "GoogleCloudDialogflowCxV3beta1RunTestCaseResponse", +"properties": { +"result": { +"$ref": "GoogleCloudDialogflowCxV3beta1TestCaseResult" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1SessionInfo": { +"id": "GoogleCloudDialogflowCxV3beta1SessionInfo", +"properties": { +"parameters": { +"additionalProperties": { +"type": "any" +}, +"type": "object" +}, +"session": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1TestCase": { +"id": "GoogleCloudDialogflowCxV3beta1TestCase", +"properties": { +"creationTime": { +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"displayName": { +"type": "string" +}, +"lastTestResult": { +"$ref": "GoogleCloudDialogflowCxV3beta1TestCaseResult" +}, +"name": { +"type": "string" +}, +"notes": { +"type": "string" +}, +"tags": { +"items": { +"type": "string" +}, +"type": "array" +}, +"testCaseConversationTurns": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3beta1ConversationTurn" +}, +"type": "array" +}, +"testConfig": { +"$ref": "GoogleCloudDialogflowCxV3beta1TestConfig" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1TestCaseError": { +"id": "GoogleCloudDialogflowCxV3beta1TestCaseError", +"properties": { +"status": { +"$ref": "GoogleRpcStatus" +}, +"testCase": { +"$ref": "GoogleCloudDialogflowCxV3beta1TestCase" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1TestCaseResult": { +"id": "GoogleCloudDialogflowCxV3beta1TestCaseResult", +"properties": { +"conversationTurns": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3beta1ConversationTurn" +}, +"type": "array" +}, +"environment": { +"type": "string" +}, +"name": { +"type": "string" +}, +"testResult": { +"enum": [ +"TEST_RESULT_UNSPECIFIED", +"PASSED", +"FAILED" +], +"enumDescriptions": [ +"", +"", +"" +], +"type": "string" +}, +"testTime": { +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1TestConfig": { +"id": "GoogleCloudDialogflowCxV3beta1TestConfig", +"properties": { +"flow": { +"type": "string" +}, +"page": { +"type": "string" +}, +"trackingParameters": { +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1TestError": { +"id": "GoogleCloudDialogflowCxV3beta1TestError", +"properties": { +"status": { +"$ref": "GoogleRpcStatus" +}, +"testCase": { +"type": "string" +}, +"testTime": { +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1TestRunDifference": { +"id": "GoogleCloudDialogflowCxV3beta1TestRunDifference", +"properties": { +"description": { +"type": "string" +}, +"type": { +"enum": [ +"DIFF_TYPE_UNSPECIFIED", +"INTENT", +"PAGE", +"PARAMETERS", +"UTTERANCE", +"FLOW" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"" +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1TextInput": { +"id": "GoogleCloudDialogflowCxV3beta1TextInput", +"properties": { +"text": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1ToolCall": { +"id": "GoogleCloudDialogflowCxV3beta1ToolCall", +"properties": { +"action": { +"type": "string" +}, +"inputParameters": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"type": "object" +}, +"tool": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1ToolCallResult": { +"id": "GoogleCloudDialogflowCxV3beta1ToolCallResult", +"properties": { +"action": { +"type": "string" +}, +"error": { +"$ref": "GoogleCloudDialogflowCxV3beta1ToolCallResultError" +}, +"outputParameters": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"type": "object" +}, +"tool": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1ToolCallResultError": { +"id": "GoogleCloudDialogflowCxV3beta1ToolCallResultError", +"properties": { +"message": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1TransitionRoute": { +"id": "GoogleCloudDialogflowCxV3beta1TransitionRoute", +"properties": { +"condition": { +"type": "string" +}, +"description": { +"type": "string" +}, +"intent": { +"type": "string" +}, +"name": { +"readOnly": true, +"type": "string" +}, +"targetFlow": { +"type": "string" +}, +"targetPage": { +"type": "string" +}, +"triggerFulfillment": { +"$ref": "GoogleCloudDialogflowCxV3beta1Fulfillment" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1TurnSignals": { +"id": "GoogleCloudDialogflowCxV3beta1TurnSignals", +"properties": { +"agentEscalated": { +"type": "boolean" +}, +"dtmfUsed": { +"type": "boolean" +}, +"failureReasons": { +"items": { +"enum": [ +"FAILURE_REASON_UNSPECIFIED", +"FAILED_INTENT", +"FAILED_WEBHOOK" +], +"enumDescriptions": [ +"", +"", +"" +], +"type": "string" +}, +"type": "array" +}, +"noMatch": { +"type": "boolean" +}, +"noUserInput": { +"type": "boolean" +}, +"reachedEndPage": { +"type": "boolean" +}, +"sentimentMagnitude": { +"format": "float", +"type": "number" +}, +"sentimentScore": { +"format": "float", +"type": "number" +}, +"userEscalated": { +"type": "boolean" +}, +"webhookStatuses": { +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1Webhook": { +"id": "GoogleCloudDialogflowCxV3beta1Webhook", +"properties": { +"disabled": { +"type": "boolean" +}, +"displayName": { +"type": "string" +}, +"genericWebService": { +"$ref": "GoogleCloudDialogflowCxV3beta1WebhookGenericWebService" +}, +"name": { +"type": "string" +}, +"serviceDirectory": { +"$ref": "GoogleCloudDialogflowCxV3beta1WebhookServiceDirectoryConfig" +}, +"timeout": { +"format": "google-duration", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1WebhookGenericWebService": { +"id": "GoogleCloudDialogflowCxV3beta1WebhookGenericWebService", +"properties": { +"allowedCaCerts": { +"items": { +"format": "byte", +"type": "string" +}, +"type": "array" +}, +"httpMethod": { +"enum": [ +"HTTP_METHOD_UNSPECIFIED", +"POST", +"GET", +"HEAD", +"PUT", +"DELETE", +"PATCH", +"OPTIONS" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"", +"", +"" +], +"type": "string" +}, +"oauthConfig": { +"$ref": "GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceOAuthConfig" +}, +"parameterMapping": { +"additionalProperties": { +"type": "string" +}, +"type": "object" +}, +"password": { +"deprecated": true, +"type": "string" +}, +"requestBody": { +"type": "string" +}, +"requestHeaders": { +"additionalProperties": { +"type": "string" +}, +"type": "object" +}, +"secretVersionForUsernamePassword": { +"type": "string" +}, +"secretVersionsForRequestHeaders": { +"additionalProperties": { +"$ref": "GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceSecretVersionHeaderValue" +}, +"type": "object" +}, +"serviceAccountAuthConfig": { +"$ref": "GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceServiceAccountAuthConfig" +}, +"serviceAgentAuth": { +"enum": [ +"SERVICE_AGENT_AUTH_UNSPECIFIED", +"NONE", +"ID_TOKEN", +"ACCESS_TOKEN" +], +"enumDescriptions": [ +"", +"", +"", +"" +], +"type": "string" +}, +"uri": { +"type": "string" +}, +"username": { +"deprecated": true, +"type": "string" +}, +"webhookType": { +"enum": [ +"WEBHOOK_TYPE_UNSPECIFIED", +"STANDARD", +"FLEXIBLE" +], +"enumDescriptions": [ +"", +"", +"" +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceOAuthConfig": { +"id": "GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceOAuthConfig", +"properties": { +"clientId": { +"type": "string" +}, +"clientSecret": { +"type": "string" +}, +"scopes": { +"items": { +"type": "string" +}, +"type": "array" +}, +"secretVersionForClientSecret": { +"type": "string" +}, +"tokenEndpoint": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceSecretVersionHeaderValue": { +"id": "GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceSecretVersionHeaderValue", +"properties": { +"secretVersion": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceServiceAccountAuthConfig": { +"id": "GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceServiceAccountAuthConfig", +"properties": { +"serviceAccount": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1WebhookRequest": { +"id": "GoogleCloudDialogflowCxV3beta1WebhookRequest", +"properties": { +"detectIntentResponseId": { +"type": "string" +}, +"dtmfDigits": { +"type": "string" +}, +"fulfillmentInfo": { +"$ref": "GoogleCloudDialogflowCxV3beta1WebhookRequestFulfillmentInfo" +}, +"intentInfo": { +"$ref": "GoogleCloudDialogflowCxV3beta1WebhookRequestIntentInfo" +}, +"languageCode": { +"type": "string" +}, +"languageInfo": { +"$ref": "GoogleCloudDialogflowCxV3beta1LanguageInfo" +}, +"messages": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3beta1ResponseMessage" +}, +"type": "array" +}, +"pageInfo": { +"$ref": "GoogleCloudDialogflowCxV3beta1PageInfo" +}, +"payload": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"type": "object" +}, +"sentimentAnalysisResult": { +"$ref": "GoogleCloudDialogflowCxV3beta1WebhookRequestSentimentAnalysisResult" +}, +"sessionInfo": { +"$ref": "GoogleCloudDialogflowCxV3beta1SessionInfo" +}, +"text": { +"type": "string" +}, +"transcript": { +"type": "string" +}, +"triggerEvent": { +"type": "string" +}, +"triggerIntent": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1WebhookRequestFulfillmentInfo": { +"id": "GoogleCloudDialogflowCxV3beta1WebhookRequestFulfillmentInfo", +"properties": { +"tag": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1WebhookRequestIntentInfo": { +"id": "GoogleCloudDialogflowCxV3beta1WebhookRequestIntentInfo", +"properties": { +"confidence": { +"format": "float", +"type": "number" +}, +"displayName": { +"type": "string" +}, +"lastMatchedIntent": { +"type": "string" +}, +"parameters": { +"additionalProperties": { +"$ref": "GoogleCloudDialogflowCxV3beta1WebhookRequestIntentInfoIntentParameterValue" +}, +"type": "object" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1WebhookRequestIntentInfoIntentParameterValue": { +"id": "GoogleCloudDialogflowCxV3beta1WebhookRequestIntentInfoIntentParameterValue", +"properties": { +"originalValue": { +"type": "string" +}, +"resolvedValue": { +"type": "any" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1WebhookRequestSentimentAnalysisResult": { +"id": "GoogleCloudDialogflowCxV3beta1WebhookRequestSentimentAnalysisResult", +"properties": { +"magnitude": { +"format": "float", +"type": "number" +}, +"score": { +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1WebhookResponse": { +"id": "GoogleCloudDialogflowCxV3beta1WebhookResponse", +"properties": { +"fulfillmentResponse": { +"$ref": "GoogleCloudDialogflowCxV3beta1WebhookResponseFulfillmentResponse" +}, +"pageInfo": { +"$ref": "GoogleCloudDialogflowCxV3beta1PageInfo" +}, +"payload": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"type": "object" +}, +"sessionInfo": { +"$ref": "GoogleCloudDialogflowCxV3beta1SessionInfo" +}, +"targetFlow": { +"type": "string" +}, +"targetPage": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1WebhookResponseFulfillmentResponse": { +"id": "GoogleCloudDialogflowCxV3beta1WebhookResponseFulfillmentResponse", +"properties": { +"mergeBehavior": { +"enum": [ +"MERGE_BEHAVIOR_UNSPECIFIED", +"APPEND", +"REPLACE" +], +"enumDescriptions": [ +"", +"", +"" +], +"type": "string" +}, +"messages": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3beta1ResponseMessage" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1WebhookServiceDirectoryConfig": { +"id": "GoogleCloudDialogflowCxV3beta1WebhookServiceDirectoryConfig", +"properties": { +"genericWebService": { +"$ref": "GoogleCloudDialogflowCxV3beta1WebhookGenericWebService" +}, +"service": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2AgentCoachingInstruction": { +"id": "GoogleCloudDialogflowV2AgentCoachingInstruction", +"properties": { +"agentAction": { +"type": "string" +}, +"condition": { +"type": "string" +}, +"displayDetails": { +"type": "string" +}, +"displayName": { +"type": "string" +}, +"duplicateCheckResult": { +"$ref": "GoogleCloudDialogflowV2AgentCoachingInstructionDuplicateCheckResult", +"readOnly": true +}, +"systemAction": { +"type": "string" +}, +"triggeringEvent": { +"enum": [ +"TRIGGER_EVENT_UNSPECIFIED", +"END_OF_UTTERANCE", +"MANUAL_CALL", +"CUSTOMER_MESSAGE", +"AGENT_MESSAGE", +"TOOL_CALL_COMPLETION" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"" +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2AgentCoachingInstructionDuplicateCheckResult": { +"id": "GoogleCloudDialogflowV2AgentCoachingInstructionDuplicateCheckResult", +"properties": { +"duplicateSuggestions": { +"items": { +"$ref": "GoogleCloudDialogflowV2AgentCoachingInstructionDuplicateCheckResultDuplicateSuggestion" +}, +"readOnly": true, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2AgentCoachingInstructionDuplicateCheckResultDuplicateSuggestion": { +"id": "GoogleCloudDialogflowV2AgentCoachingInstructionDuplicateCheckResultDuplicateSuggestion", +"properties": { +"answerRecord": { +"readOnly": true, +"type": "string" +}, +"similarityScore": { +"format": "float", +"readOnly": true, +"type": "number" +}, +"suggestionIndex": { +"format": "int32", +"readOnly": true, +"type": "integer" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2AgentCoachingSuggestion": { +"id": "GoogleCloudDialogflowV2AgentCoachingSuggestion", +"properties": { +"agentActionSuggestions": { +"items": { +"$ref": "GoogleCloudDialogflowV2AgentCoachingSuggestionAgentActionSuggestion" +}, +"type": "array" +}, +"applicableInstructions": { +"items": { +"$ref": "GoogleCloudDialogflowV2AgentCoachingInstruction" +}, +"type": "array" +}, +"sampleResponses": { +"items": { +"$ref": "GoogleCloudDialogflowV2AgentCoachingSuggestionSampleResponse" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2AgentCoachingSuggestionAgentActionSuggestion": { +"id": "GoogleCloudDialogflowV2AgentCoachingSuggestionAgentActionSuggestion", +"properties": { +"agentAction": { +"type": "string" +}, +"duplicateCheckResult": { +"$ref": "GoogleCloudDialogflowV2AgentCoachingSuggestionDuplicateCheckResult", +"readOnly": true +}, +"sources": { +"$ref": "GoogleCloudDialogflowV2AgentCoachingSuggestionSources", +"readOnly": true +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2AgentCoachingSuggestionDuplicateCheckResult": { +"id": "GoogleCloudDialogflowV2AgentCoachingSuggestionDuplicateCheckResult", +"properties": { +"duplicateSuggestions": { +"items": { +"$ref": "GoogleCloudDialogflowV2AgentCoachingSuggestionDuplicateCheckResultDuplicateSuggestion" +}, +"readOnly": true, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2AgentCoachingSuggestionDuplicateCheckResultDuplicateSuggestion": { +"id": "GoogleCloudDialogflowV2AgentCoachingSuggestionDuplicateCheckResultDuplicateSuggestion", +"properties": { +"answerRecord": { +"readOnly": true, +"type": "string" +}, +"similarityScore": { +"format": "float", +"readOnly": true, +"type": "number" +}, +"sources": { +"$ref": "GoogleCloudDialogflowV2AgentCoachingSuggestionSources", +"readOnly": true +}, +"suggestionIndex": { +"format": "int32", +"readOnly": true, +"type": "integer" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2AgentCoachingSuggestionSampleResponse": { +"id": "GoogleCloudDialogflowV2AgentCoachingSuggestionSampleResponse", +"properties": { +"duplicateCheckResult": { +"$ref": "GoogleCloudDialogflowV2AgentCoachingSuggestionDuplicateCheckResult", +"readOnly": true +}, +"responseText": { +"type": "string" +}, +"sources": { +"$ref": "GoogleCloudDialogflowV2AgentCoachingSuggestionSources", +"readOnly": true +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2AgentCoachingSuggestionSources": { +"id": "GoogleCloudDialogflowV2AgentCoachingSuggestionSources", +"properties": { +"instructionIndexes": { +"items": { +"format": "int32", +"type": "integer" +}, +"readOnly": true, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2AnnotatedMessagePart": { +"id": "GoogleCloudDialogflowV2AnnotatedMessagePart", +"properties": { +"entityType": { +"type": "string" +}, +"formattedValue": { +"type": "any" +}, +"text": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2ArticleAnswer": { +"id": "GoogleCloudDialogflowV2ArticleAnswer", +"properties": { +"answerRecord": { +"type": "string" +}, +"confidence": { +"format": "float", +"type": "number" +}, +"metadata": { +"additionalProperties": { +"type": "string" +}, +"type": "object" +}, +"snippets": { +"items": { +"type": "string" +}, +"type": "array" +}, +"title": { +"type": "string" +}, +"uri": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2ArticleSuggestionModelMetadata": { +"id": "GoogleCloudDialogflowV2ArticleSuggestionModelMetadata", +"properties": { +"trainingModelType": { +"enum": [ +"MODEL_TYPE_UNSPECIFIED", +"SMART_REPLY_DUAL_ENCODER_MODEL", +"SMART_REPLY_BERT_MODEL" +], +"enumDescriptions": [ +"", +"", +"" +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2BatchUpdateEntityTypesResponse": { +"id": "GoogleCloudDialogflowV2BatchUpdateEntityTypesResponse", +"properties": { +"entityTypes": { +"items": { +"$ref": "GoogleCloudDialogflowV2EntityType" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2BatchUpdateIntentsResponse": { +"id": "GoogleCloudDialogflowV2BatchUpdateIntentsResponse", +"properties": { +"intents": { +"items": { +"$ref": "GoogleCloudDialogflowV2Intent" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2ClearSuggestionFeatureConfigOperationMetadata": { +"id": "GoogleCloudDialogflowV2ClearSuggestionFeatureConfigOperationMetadata", +"properties": { +"conversationProfile": { +"type": "string" +}, +"createTime": { +"format": "google-datetime", +"type": "string" +}, +"participantRole": { +"enum": [ +"ROLE_UNSPECIFIED", +"HUMAN_AGENT", +"AUTOMATED_AGENT", +"END_USER" +], +"enumDescriptions": [ +"", +"", +"", +"" +], +"type": "string" +}, +"suggestionFeatureType": { +"enum": [ +"TYPE_UNSPECIFIED", +"ARTICLE_SUGGESTION", +"FAQ", +"SMART_REPLY", +"CONVERSATION_SUMMARIZATION", +"KNOWLEDGE_SEARCH", +"KNOWLEDGE_ASSIST" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"", +"" +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2Context": { +"id": "GoogleCloudDialogflowV2Context", +"properties": { +"lifespanCount": { +"format": "int32", +"type": "integer" +}, +"name": { +"type": "string" +}, +"parameters": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"type": "object" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2ConversationEvent": { +"id": "GoogleCloudDialogflowV2ConversationEvent", +"properties": { +"conversation": { +"type": "string" +}, +"errorStatus": { +"$ref": "GoogleRpcStatus" +}, +"newMessagePayload": { +"$ref": "GoogleCloudDialogflowV2Message" +}, +"newRecognitionResultPayload": { +"$ref": "GoogleCloudDialogflowV2StreamingRecognitionResult" +}, +"type": { +"enum": [ +"TYPE_UNSPECIFIED", +"CONVERSATION_STARTED", +"CONVERSATION_FINISHED", +"HUMAN_INTERVENTION_NEEDED", +"NEW_MESSAGE", +"NEW_RECOGNITION_RESULT", +"UNRECOVERABLE_ERROR" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"", +"" +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2ConversationModel": { +"id": "GoogleCloudDialogflowV2ConversationModel", +"properties": { +"articleSuggestionModelMetadata": { +"$ref": "GoogleCloudDialogflowV2ArticleSuggestionModelMetadata" +}, +"createTime": { +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"datasets": { +"items": { +"$ref": "GoogleCloudDialogflowV2InputDataset" +}, +"type": "array" +}, +"displayName": { +"type": "string" +}, +"languageCode": { +"type": "string" +}, +"name": { +"type": "string" +}, +"satisfiesPzi": { +"readOnly": true, +"type": "boolean" +}, +"satisfiesPzs": { +"readOnly": true, +"type": "boolean" +}, +"smartReplyModelMetadata": { +"$ref": "GoogleCloudDialogflowV2SmartReplyModelMetadata" +}, +"state": { +"enum": [ +"STATE_UNSPECIFIED", +"CREATING", +"UNDEPLOYED", +"DEPLOYING", +"DEPLOYED", +"UNDEPLOYING", +"DELETING", +"FAILED", +"PENDING" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"", +"", +"", +"" +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2CreateConversationDatasetOperationMetadata": { +"id": "GoogleCloudDialogflowV2CreateConversationDatasetOperationMetadata", +"properties": { +"conversationDataset": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2CreateConversationModelEvaluationOperationMetadata": { +"id": "GoogleCloudDialogflowV2CreateConversationModelEvaluationOperationMetadata", +"properties": { +"conversationModel": { +"type": "string" +}, +"conversationModelEvaluation": { +"type": "string" +}, +"createTime": { +"format": "google-datetime", +"type": "string" +}, +"state": { +"enum": [ +"STATE_UNSPECIFIED", +"INITIALIZING", +"RUNNING", +"CANCELLED", +"SUCCEEDED", +"FAILED" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"" +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2CreateConversationModelOperationMetadata": { +"id": "GoogleCloudDialogflowV2CreateConversationModelOperationMetadata", +"properties": { +"conversationModel": { +"type": "string" +}, +"createTime": { +"format": "google-datetime", +"type": "string" +}, +"doneTime": { +"format": "google-datetime", +"type": "string" +}, +"state": { +"enum": [ +"STATE_UNSPECIFIED", +"PENDING", +"SUCCEEDED", +"FAILED", +"CANCELLED", +"CANCELLING", +"TRAINING" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"", +"" +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2DeleteConversationDatasetOperationMetadata": { +"id": "GoogleCloudDialogflowV2DeleteConversationDatasetOperationMetadata", +"properties": {}, +"type": "object" +}, +"GoogleCloudDialogflowV2DeleteConversationModelOperationMetadata": { +"id": "GoogleCloudDialogflowV2DeleteConversationModelOperationMetadata", +"properties": { +"conversationModel": { +"type": "string" +}, +"createTime": { +"format": "google-datetime", +"type": "string" +}, +"doneTime": { +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2DeployConversationModelOperationMetadata": { +"id": "GoogleCloudDialogflowV2DeployConversationModelOperationMetadata", +"properties": { +"conversationModel": { +"type": "string" +}, +"createTime": { +"format": "google-datetime", +"type": "string" +}, +"doneTime": { +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2EncryptionSpec": { +"id": "GoogleCloudDialogflowV2EncryptionSpec", +"properties": { +"kmsKey": { +"type": "string" +}, +"name": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2EntityType": { +"id": "GoogleCloudDialogflowV2EntityType", +"properties": { +"autoExpansionMode": { +"enum": [ +"AUTO_EXPANSION_MODE_UNSPECIFIED", +"AUTO_EXPANSION_MODE_DEFAULT" +], +"enumDescriptions": [ +"", +"" +], +"type": "string" +}, +"displayName": { +"type": "string" +}, +"enableFuzzyExtraction": { +"type": "boolean" +}, +"entities": { +"items": { +"$ref": "GoogleCloudDialogflowV2EntityTypeEntity" +}, +"type": "array" +}, +"kind": { +"enum": [ +"KIND_UNSPECIFIED", +"KIND_MAP", +"KIND_LIST", +"KIND_REGEXP" +], +"enumDescriptions": [ +"", +"", +"", +"" +], +"type": "string" +}, +"name": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2EntityTypeEntity": { +"id": "GoogleCloudDialogflowV2EntityTypeEntity", +"properties": { +"synonyms": { +"items": { +"type": "string" +}, +"type": "array" +}, +"value": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2EventInput": { +"id": "GoogleCloudDialogflowV2EventInput", +"properties": { +"languageCode": { +"type": "string" +}, +"name": { +"type": "string" +}, +"parameters": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"type": "object" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2ExportAgentResponse": { +"id": "GoogleCloudDialogflowV2ExportAgentResponse", +"properties": { +"agentContent": { +"format": "byte", +"type": "string" +}, +"agentUri": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2ExportOperationMetadata": { +"id": "GoogleCloudDialogflowV2ExportOperationMetadata", +"properties": { +"exportedGcsDestination": { +"$ref": "GoogleCloudDialogflowV2GcsDestination" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2FaqAnswer": { +"id": "GoogleCloudDialogflowV2FaqAnswer", +"properties": { +"answer": { +"type": "string" +}, +"answerRecord": { +"type": "string" +}, +"confidence": { +"format": "float", +"type": "number" +}, +"metadata": { +"additionalProperties": { +"type": "string" +}, +"type": "object" +}, +"question": { +"type": "string" +}, +"source": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2FreeFormSuggestion": { +"id": "GoogleCloudDialogflowV2FreeFormSuggestion", +"properties": { +"response": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2GcsDestination": { +"id": "GoogleCloudDialogflowV2GcsDestination", +"properties": { +"uri": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2GenerateSuggestionsResponse": { +"id": "GoogleCloudDialogflowV2GenerateSuggestionsResponse", +"properties": { +"generatorSuggestionAnswers": { +"items": { +"$ref": "GoogleCloudDialogflowV2GenerateSuggestionsResponseGeneratorSuggestionAnswer" +}, +"type": "array" +}, +"latestMessage": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2GenerateSuggestionsResponseGeneratorSuggestionAnswer": { +"id": "GoogleCloudDialogflowV2GenerateSuggestionsResponseGeneratorSuggestionAnswer", +"properties": { +"answerRecord": { +"type": "string" +}, +"generatorSuggestion": { +"$ref": "GoogleCloudDialogflowV2GeneratorSuggestion" +}, +"sourceGenerator": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2GeneratorSuggestion": { +"id": "GoogleCloudDialogflowV2GeneratorSuggestion", +"properties": { +"agentCoachingSuggestion": { +"$ref": "GoogleCloudDialogflowV2AgentCoachingSuggestion" +}, +"freeFormSuggestion": { +"$ref": "GoogleCloudDialogflowV2FreeFormSuggestion" +}, +"summarySuggestion": { +"$ref": "GoogleCloudDialogflowV2SummarySuggestion" +}, +"toolCallInfo": { +"items": { +"$ref": "GoogleCloudDialogflowV2GeneratorSuggestionToolCallInfo" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2GeneratorSuggestionToolCallInfo": { +"id": "GoogleCloudDialogflowV2GeneratorSuggestionToolCallInfo", +"properties": { +"toolCall": { +"$ref": "GoogleCloudDialogflowV2ToolCall" +}, +"toolCallResult": { +"$ref": "GoogleCloudDialogflowV2ToolCallResult" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2HumanAgentAssistantEvent": { +"id": "GoogleCloudDialogflowV2HumanAgentAssistantEvent", +"properties": { +"conversation": { +"type": "string" +}, +"participant": { +"type": "string" +}, +"suggestionResults": { +"items": { +"$ref": "GoogleCloudDialogflowV2SuggestionResult" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2ImportConversationDataOperationMetadata": { +"id": "GoogleCloudDialogflowV2ImportConversationDataOperationMetadata", +"properties": { +"conversationDataset": { +"type": "string" +}, +"createTime": { +"format": "google-datetime", +"type": "string" +}, +"partialFailures": { +"items": { +"$ref": "GoogleRpcStatus" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2ImportConversationDataOperationResponse": { +"id": "GoogleCloudDialogflowV2ImportConversationDataOperationResponse", +"properties": { +"conversationDataset": { +"type": "string" +}, +"importCount": { +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2ImportDocumentsResponse": { +"id": "GoogleCloudDialogflowV2ImportDocumentsResponse", +"properties": { +"warnings": { +"items": { +"$ref": "GoogleRpcStatus" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2IngestedContextReferenceDebugInfo": { +"id": "GoogleCloudDialogflowV2IngestedContextReferenceDebugInfo", +"properties": { +"contextReferenceRetrieved": { +"type": "boolean" +}, +"ingestedParametersDebugInfo": { +"items": { +"$ref": "GoogleCloudDialogflowV2IngestedContextReferenceDebugInfoIngestedParameterDebugInfo" +}, +"type": "array" +}, +"projectNotAllowlisted": { +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2IngestedContextReferenceDebugInfoIngestedParameterDebugInfo": { +"id": "GoogleCloudDialogflowV2IngestedContextReferenceDebugInfoIngestedParameterDebugInfo", +"properties": { +"ingestionStatus": { +"enum": [ +"INGESTION_STATUS_UNSPECIFIED", +"INGESTION_STATUS_SUCCEEDED", +"INGESTION_STATUS_CONTEXT_NOT_AVAILABLE", +"INGESTION_STATUS_PARSE_FAILED", +"INGESTION_STATUS_INVALID_ENTRY", +"INGESTION_STATUS_INVALID_FORMAT", +"INGESTION_STATUS_LANGUAGE_MISMATCH" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"", +"" +], +"type": "string" +}, +"parameter": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2InitializeEncryptionSpecMetadata": { +"id": "GoogleCloudDialogflowV2InitializeEncryptionSpecMetadata", +"properties": { +"request": { +"$ref": "GoogleCloudDialogflowV2InitializeEncryptionSpecRequest", +"readOnly": true +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2InitializeEncryptionSpecRequest": { +"id": "GoogleCloudDialogflowV2InitializeEncryptionSpecRequest", +"properties": { +"encryptionSpec": { +"$ref": "GoogleCloudDialogflowV2EncryptionSpec" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2InputDataset": { +"id": "GoogleCloudDialogflowV2InputDataset", +"properties": { +"dataset": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2Intent": { +"id": "GoogleCloudDialogflowV2Intent", +"properties": { +"action": { +"type": "string" +}, +"defaultResponsePlatforms": { +"items": { +"enum": [ +"PLATFORM_UNSPECIFIED", +"FACEBOOK", +"SLACK", +"TELEGRAM", +"KIK", +"SKYPE", +"LINE", +"VIBER", +"ACTIONS_ON_GOOGLE", +"GOOGLE_HANGOUTS" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"", +"", +"", +"", +"" +], +"type": "string" +}, +"type": "array" +}, +"displayName": { +"type": "string" +}, +"endInteraction": { +"type": "boolean" +}, +"events": { +"items": { +"type": "string" +}, +"type": "array" +}, +"followupIntentInfo": { +"items": { +"$ref": "GoogleCloudDialogflowV2IntentFollowupIntentInfo" +}, +"readOnly": true, +"type": "array" +}, +"inputContextNames": { +"items": { +"type": "string" +}, +"type": "array" +}, +"isFallback": { +"type": "boolean" +}, +"liveAgentHandoff": { +"type": "boolean" +}, +"messages": { +"items": { +"$ref": "GoogleCloudDialogflowV2IntentMessage" +}, +"type": "array" +}, +"mlDisabled": { +"type": "boolean" +}, +"name": { +"type": "string" +}, +"outputContexts": { +"items": { +"$ref": "GoogleCloudDialogflowV2Context" +}, +"type": "array" +}, +"parameters": { +"items": { +"$ref": "GoogleCloudDialogflowV2IntentParameter" +}, +"type": "array" +}, +"parentFollowupIntentName": { +"type": "string" +}, +"priority": { +"format": "int32", +"type": "integer" +}, +"resetContexts": { +"type": "boolean" +}, +"rootFollowupIntentName": { +"readOnly": true, +"type": "string" +}, +"trainingPhrases": { +"items": { +"$ref": "GoogleCloudDialogflowV2IntentTrainingPhrase" +}, +"type": "array" +}, +"webhookState": { +"enum": [ +"WEBHOOK_STATE_UNSPECIFIED", +"WEBHOOK_STATE_ENABLED", +"WEBHOOK_STATE_ENABLED_FOR_SLOT_FILLING" +], +"enumDescriptions": [ +"", +"", +"" +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2IntentFollowupIntentInfo": { +"id": "GoogleCloudDialogflowV2IntentFollowupIntentInfo", +"properties": { +"followupIntentName": { +"type": "string" +}, +"parentFollowupIntentName": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2IntentMessage": { +"id": "GoogleCloudDialogflowV2IntentMessage", +"properties": { +"basicCard": { +"$ref": "GoogleCloudDialogflowV2IntentMessageBasicCard" +}, +"browseCarouselCard": { +"$ref": "GoogleCloudDialogflowV2IntentMessageBrowseCarouselCard" +}, +"card": { +"$ref": "GoogleCloudDialogflowV2IntentMessageCard" +}, +"carouselSelect": { +"$ref": "GoogleCloudDialogflowV2IntentMessageCarouselSelect" +}, +"image": { +"$ref": "GoogleCloudDialogflowV2IntentMessageImage" +}, +"linkOutSuggestion": { +"$ref": "GoogleCloudDialogflowV2IntentMessageLinkOutSuggestion" +}, +"listSelect": { +"$ref": "GoogleCloudDialogflowV2IntentMessageListSelect" +}, +"mediaContent": { +"$ref": "GoogleCloudDialogflowV2IntentMessageMediaContent" +}, +"payload": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"type": "object" +}, +"platform": { +"enum": [ +"PLATFORM_UNSPECIFIED", +"FACEBOOK", +"SLACK", +"TELEGRAM", +"KIK", +"SKYPE", +"LINE", +"VIBER", +"ACTIONS_ON_GOOGLE", +"GOOGLE_HANGOUTS" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"", +"", +"", +"", +"" +], +"type": "string" +}, +"quickReplies": { +"$ref": "GoogleCloudDialogflowV2IntentMessageQuickReplies" +}, +"simpleResponses": { +"$ref": "GoogleCloudDialogflowV2IntentMessageSimpleResponses" +}, +"suggestions": { +"$ref": "GoogleCloudDialogflowV2IntentMessageSuggestions" +}, +"tableCard": { +"$ref": "GoogleCloudDialogflowV2IntentMessageTableCard" +}, +"text": { +"$ref": "GoogleCloudDialogflowV2IntentMessageText" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2IntentMessageBasicCard": { +"id": "GoogleCloudDialogflowV2IntentMessageBasicCard", +"properties": { +"buttons": { +"items": { +"$ref": "GoogleCloudDialogflowV2IntentMessageBasicCardButton" +}, +"type": "array" +}, +"formattedText": { +"type": "string" +}, +"image": { +"$ref": "GoogleCloudDialogflowV2IntentMessageImage" +}, +"subtitle": { +"type": "string" +}, +"title": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2IntentMessageBasicCardButton": { +"id": "GoogleCloudDialogflowV2IntentMessageBasicCardButton", +"properties": { +"openUriAction": { +"$ref": "GoogleCloudDialogflowV2IntentMessageBasicCardButtonOpenUriAction" +}, +"title": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2IntentMessageBasicCardButtonOpenUriAction": { +"id": "GoogleCloudDialogflowV2IntentMessageBasicCardButtonOpenUriAction", +"properties": { +"uri": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2IntentMessageBrowseCarouselCard": { +"id": "GoogleCloudDialogflowV2IntentMessageBrowseCarouselCard", +"properties": { +"imageDisplayOptions": { +"enum": [ +"IMAGE_DISPLAY_OPTIONS_UNSPECIFIED", +"GRAY", +"WHITE", +"CROPPED", +"BLURRED_BACKGROUND" +], +"enumDescriptions": [ +"", +"", +"", +"", +"" +], +"type": "string" +}, +"items": { +"items": { +"$ref": "GoogleCloudDialogflowV2IntentMessageBrowseCarouselCardBrowseCarouselCardItem" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2IntentMessageBrowseCarouselCardBrowseCarouselCardItem": { +"id": "GoogleCloudDialogflowV2IntentMessageBrowseCarouselCardBrowseCarouselCardItem", +"properties": { +"description": { +"type": "string" +}, +"footer": { +"type": "string" +}, +"image": { +"$ref": "GoogleCloudDialogflowV2IntentMessageImage" +}, +"openUriAction": { +"$ref": "GoogleCloudDialogflowV2IntentMessageBrowseCarouselCardBrowseCarouselCardItemOpenUrlAction" +}, +"title": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2IntentMessageBrowseCarouselCardBrowseCarouselCardItemOpenUrlAction": { +"id": "GoogleCloudDialogflowV2IntentMessageBrowseCarouselCardBrowseCarouselCardItemOpenUrlAction", +"properties": { +"url": { +"type": "string" +}, +"urlTypeHint": { +"enum": [ +"URL_TYPE_HINT_UNSPECIFIED", +"AMP_ACTION", +"AMP_CONTENT" +], +"enumDescriptions": [ +"", +"", +"" +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2IntentMessageCard": { +"id": "GoogleCloudDialogflowV2IntentMessageCard", +"properties": { +"buttons": { +"items": { +"$ref": "GoogleCloudDialogflowV2IntentMessageCardButton" +}, +"type": "array" +}, +"imageUri": { +"type": "string" +}, +"subtitle": { +"type": "string" +}, +"title": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2IntentMessageCardButton": { +"id": "GoogleCloudDialogflowV2IntentMessageCardButton", +"properties": { +"postback": { +"type": "string" +}, +"text": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2IntentMessageCarouselSelect": { +"id": "GoogleCloudDialogflowV2IntentMessageCarouselSelect", +"properties": { +"items": { +"items": { +"$ref": "GoogleCloudDialogflowV2IntentMessageCarouselSelectItem" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2IntentMessageCarouselSelectItem": { +"id": "GoogleCloudDialogflowV2IntentMessageCarouselSelectItem", +"properties": { +"description": { +"type": "string" +}, +"image": { +"$ref": "GoogleCloudDialogflowV2IntentMessageImage" +}, +"info": { +"$ref": "GoogleCloudDialogflowV2IntentMessageSelectItemInfo" +}, +"title": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2IntentMessageColumnProperties": { +"id": "GoogleCloudDialogflowV2IntentMessageColumnProperties", +"properties": { +"header": { +"type": "string" +}, +"horizontalAlignment": { +"enum": [ +"HORIZONTAL_ALIGNMENT_UNSPECIFIED", +"LEADING", +"CENTER", +"TRAILING" +], +"enumDescriptions": [ +"", +"", +"", +"" +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2IntentMessageImage": { +"id": "GoogleCloudDialogflowV2IntentMessageImage", +"properties": { +"accessibilityText": { +"type": "string" +}, +"imageUri": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2IntentMessageLinkOutSuggestion": { +"id": "GoogleCloudDialogflowV2IntentMessageLinkOutSuggestion", +"properties": { +"destinationName": { +"type": "string" +}, +"uri": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2IntentMessageListSelect": { +"id": "GoogleCloudDialogflowV2IntentMessageListSelect", +"properties": { +"items": { +"items": { +"$ref": "GoogleCloudDialogflowV2IntentMessageListSelectItem" +}, +"type": "array" +}, +"subtitle": { +"type": "string" +}, +"title": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2IntentMessageListSelectItem": { +"id": "GoogleCloudDialogflowV2IntentMessageListSelectItem", +"properties": { +"description": { +"type": "string" +}, +"image": { +"$ref": "GoogleCloudDialogflowV2IntentMessageImage" +}, +"info": { +"$ref": "GoogleCloudDialogflowV2IntentMessageSelectItemInfo" +}, +"title": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2IntentMessageMediaContent": { +"id": "GoogleCloudDialogflowV2IntentMessageMediaContent", +"properties": { +"mediaObjects": { +"items": { +"$ref": "GoogleCloudDialogflowV2IntentMessageMediaContentResponseMediaObject" +}, +"type": "array" +}, +"mediaType": { +"enum": [ +"RESPONSE_MEDIA_TYPE_UNSPECIFIED", +"AUDIO" +], +"enumDescriptions": [ +"", +"" +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2IntentMessageMediaContentResponseMediaObject": { +"id": "GoogleCloudDialogflowV2IntentMessageMediaContentResponseMediaObject", +"properties": { +"contentUrl": { +"type": "string" +}, +"description": { +"type": "string" +}, +"icon": { +"$ref": "GoogleCloudDialogflowV2IntentMessageImage" +}, +"largeImage": { +"$ref": "GoogleCloudDialogflowV2IntentMessageImage" +}, +"name": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2IntentMessageQuickReplies": { +"id": "GoogleCloudDialogflowV2IntentMessageQuickReplies", +"properties": { +"quickReplies": { +"items": { +"type": "string" +}, +"type": "array" +}, +"title": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2IntentMessageSelectItemInfo": { +"id": "GoogleCloudDialogflowV2IntentMessageSelectItemInfo", +"properties": { +"key": { +"type": "string" +}, +"synonyms": { +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2IntentMessageSimpleResponse": { +"id": "GoogleCloudDialogflowV2IntentMessageSimpleResponse", +"properties": { +"displayText": { +"type": "string" +}, +"ssml": { +"type": "string" +}, +"textToSpeech": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2IntentMessageSimpleResponses": { +"id": "GoogleCloudDialogflowV2IntentMessageSimpleResponses", +"properties": { +"simpleResponses": { +"items": { +"$ref": "GoogleCloudDialogflowV2IntentMessageSimpleResponse" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2IntentMessageSuggestion": { +"id": "GoogleCloudDialogflowV2IntentMessageSuggestion", +"properties": { +"title": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2IntentMessageSuggestions": { +"id": "GoogleCloudDialogflowV2IntentMessageSuggestions", +"properties": { +"suggestions": { +"items": { +"$ref": "GoogleCloudDialogflowV2IntentMessageSuggestion" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2IntentMessageTableCard": { +"id": "GoogleCloudDialogflowV2IntentMessageTableCard", +"properties": { +"buttons": { +"items": { +"$ref": "GoogleCloudDialogflowV2IntentMessageBasicCardButton" +}, +"type": "array" +}, +"columnProperties": { +"items": { +"$ref": "GoogleCloudDialogflowV2IntentMessageColumnProperties" +}, +"type": "array" +}, +"image": { +"$ref": "GoogleCloudDialogflowV2IntentMessageImage" +}, +"rows": { +"items": { +"$ref": "GoogleCloudDialogflowV2IntentMessageTableCardRow" +}, +"type": "array" +}, +"subtitle": { +"type": "string" +}, +"title": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2IntentMessageTableCardCell": { +"id": "GoogleCloudDialogflowV2IntentMessageTableCardCell", +"properties": { +"text": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2IntentMessageTableCardRow": { +"id": "GoogleCloudDialogflowV2IntentMessageTableCardRow", +"properties": { +"cells": { +"items": { +"$ref": "GoogleCloudDialogflowV2IntentMessageTableCardCell" +}, +"type": "array" +}, +"dividerAfter": { +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2IntentMessageText": { +"id": "GoogleCloudDialogflowV2IntentMessageText", +"properties": { +"text": { +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2IntentParameter": { +"id": "GoogleCloudDialogflowV2IntentParameter", +"properties": { +"defaultValue": { +"type": "string" +}, +"displayName": { +"type": "string" +}, +"entityTypeDisplayName": { +"type": "string" +}, +"isList": { +"type": "boolean" +}, +"mandatory": { +"type": "boolean" +}, +"name": { +"type": "string" +}, +"prompts": { +"items": { +"type": "string" +}, +"type": "array" +}, +"value": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2IntentTrainingPhrase": { +"id": "GoogleCloudDialogflowV2IntentTrainingPhrase", +"properties": { +"name": { +"readOnly": true, +"type": "string" +}, +"parts": { +"items": { +"$ref": "GoogleCloudDialogflowV2IntentTrainingPhrasePart" +}, +"type": "array" +}, +"timesAddedCount": { +"format": "int32", +"type": "integer" +}, +"type": { +"enum": [ +"TYPE_UNSPECIFIED", +"EXAMPLE", +"TEMPLATE" +], +"enumDeprecated": [ +false, +false, +true +], +"enumDescriptions": [ +"", +"", +"" +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2IntentTrainingPhrasePart": { +"id": "GoogleCloudDialogflowV2IntentTrainingPhrasePart", +"properties": { +"alias": { +"type": "string" +}, +"entityType": { +"type": "string" +}, +"text": { +"type": "string" +}, +"userDefined": { +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2KnowledgeAssistAnswer": { +"id": "GoogleCloudDialogflowV2KnowledgeAssistAnswer", +"properties": { +"answerRecord": { +"type": "string" +}, +"knowledgeAssistDebugInfo": { +"$ref": "GoogleCloudDialogflowV2KnowledgeAssistDebugInfo" +}, +"suggestedQuery": { +"$ref": "GoogleCloudDialogflowV2KnowledgeAssistAnswerSuggestedQuery" +}, +"suggestedQueryAnswer": { +"$ref": "GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswer" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswer": { +"id": "GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswer", +"properties": { +"answerText": { +"type": "string" +}, +"faqSource": { +"$ref": "GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswerFaqSource" +}, +"generativeSource": { +"$ref": "GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswerGenerativeSource" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswerFaqSource": { +"id": "GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswerFaqSource", +"properties": { +"question": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswerGenerativeSource": { +"id": "GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswerGenerativeSource", +"properties": { +"snippets": { +"items": { +"$ref": "GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswerGenerativeSourceSnippet" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswerGenerativeSourceSnippet": { +"id": "GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswerGenerativeSourceSnippet", +"properties": { +"metadata": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"type": "object" +}, +"text": { +"type": "string" +}, +"title": { +"type": "string" +}, +"uri": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2KnowledgeAssistAnswerSuggestedQuery": { +"id": "GoogleCloudDialogflowV2KnowledgeAssistAnswerSuggestedQuery", +"properties": { +"queryText": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2KnowledgeAssistDebugInfo": { +"id": "GoogleCloudDialogflowV2KnowledgeAssistDebugInfo", +"properties": { +"datastoreResponseReason": { +"enum": [ +"DATASTORE_RESPONSE_REASON_UNSPECIFIED", +"NONE", +"SEARCH_OUT_OF_QUOTA", +"SEARCH_EMPTY_RESULTS", +"ANSWER_GENERATION_GEN_AI_DISABLED", +"ANSWER_GENERATION_OUT_OF_QUOTA", +"ANSWER_GENERATION_ERROR", +"ANSWER_GENERATION_NOT_ENOUGH_INFO", +"ANSWER_GENERATION_RAI_FAILED", +"ANSWER_GENERATION_NOT_GROUNDED" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"", +"", +"", +"", +"" +], +"type": "string" +}, +"ingestedContextReferenceDebugInfo": { +"$ref": "GoogleCloudDialogflowV2IngestedContextReferenceDebugInfo" +}, +"knowledgeAssistBehavior": { +"$ref": "GoogleCloudDialogflowV2KnowledgeAssistDebugInfoKnowledgeAssistBehavior" +}, +"queryCategorizationFailureReason": { +"enum": [ +"QUERY_CATEGORIZATION_FAILURE_REASON_UNSPECIFIED", +"QUERY_CATEGORIZATION_INVALID_CONFIG", +"QUERY_CATEGORIZATION_RESULT_NOT_FOUND", +"QUERY_CATEGORIZATION_FAILED" +], +"enumDescriptions": [ +"", +"", +"", +"" +], +"type": "string" +}, +"queryGenerationFailureReason": { +"enum": [ +"QUERY_GENERATION_FAILURE_REASON_UNSPECIFIED", +"QUERY_GENERATION_OUT_OF_QUOTA", +"QUERY_GENERATION_FAILED", +"QUERY_GENERATION_NO_QUERY_GENERATED", +"QUERY_GENERATION_RAI_FAILED", +"NOT_IN_ALLOWLIST", +"QUERY_GENERATION_QUERY_REDACTED", +"QUERY_GENERATION_LLM_RESPONSE_PARSE_FAILED", +"QUERY_GENERATION_EMPTY_CONVERSATION", +"QUERY_GENERATION_EMPTY_LAST_MESSAGE", +"QUERY_GENERATION_TRIGGERING_EVENT_CONDITION_NOT_MET" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"" +], +"type": "string" +}, +"serviceLatency": { +"$ref": "GoogleCloudDialogflowV2ServiceLatency" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2KnowledgeAssistDebugInfoKnowledgeAssistBehavior": { +"id": "GoogleCloudDialogflowV2KnowledgeAssistDebugInfoKnowledgeAssistBehavior", +"properties": { +"answerGenerationRewriterOn": { +"type": "boolean" +}, +"appendedSearchContextCount": { +"format": "int32", +"type": "integer" +}, +"conversationTranscriptHasMixedLanguages": { +"type": "boolean" +}, +"disableSyncDelivery": { +"type": "boolean" +}, +"endUserMetadataIncluded": { +"type": "boolean" +}, +"invalidItemsQuerySuggestionSkipped": { +"type": "boolean" +}, +"multipleQueriesGenerated": { +"type": "boolean" +}, +"previousQueriesIncluded": { +"type": "boolean" +}, +"primaryQueryRedactedAndReplaced": { +"type": "boolean" +}, +"queryContainedSearchContext": { +"type": "boolean" +}, +"queryGenerationAgentLanguageMismatch": { +"type": "boolean" +}, +"queryGenerationEndUserLanguageMismatch": { +"type": "boolean" +}, +"returnQueryOnly": { +"type": "boolean" +}, +"thirdPartyConnectorAllowed": { +"type": "boolean" +}, +"useCustomSafetyFilterLevel": { +"type": "boolean" +}, +"usePubsubDelivery": { +"type": "boolean" +}, +"useTranslatedMessage": { +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2KnowledgeOperationMetadata": { +"id": "GoogleCloudDialogflowV2KnowledgeOperationMetadata", +"properties": { +"doneTime": { +"format": "google-datetime", +"type": "string" +}, +"exportOperationMetadata": { +"$ref": "GoogleCloudDialogflowV2ExportOperationMetadata" +}, +"knowledgeBase": { +"type": "string" +}, +"state": { +"enum": [ +"STATE_UNSPECIFIED", +"PENDING", +"RUNNING", +"DONE" +], +"enumDescriptions": [ +"", +"", +"", +"" +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2Message": { +"id": "GoogleCloudDialogflowV2Message", +"properties": { +"content": { +"type": "string" +}, +"createTime": { +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"languageCode": { +"type": "string" +}, +"messageAnnotation": { +"$ref": "GoogleCloudDialogflowV2MessageAnnotation", +"readOnly": true +}, +"name": { +"type": "string" +}, +"participant": { +"readOnly": true, +"type": "string" +}, +"participantRole": { +"enum": [ +"ROLE_UNSPECIFIED", +"HUMAN_AGENT", +"AUTOMATED_AGENT", +"END_USER" +], +"enumDescriptions": [ +"", +"", +"", +"" +], +"readOnly": true, +"type": "string" +}, +"sendTime": { +"format": "google-datetime", +"type": "string" +}, +"sentimentAnalysis": { +"$ref": "GoogleCloudDialogflowV2SentimentAnalysisResult", +"readOnly": true +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2MessageAnnotation": { +"id": "GoogleCloudDialogflowV2MessageAnnotation", +"properties": { +"containEntities": { +"type": "boolean" +}, +"parts": { +"items": { +"$ref": "GoogleCloudDialogflowV2AnnotatedMessagePart" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2OriginalDetectIntentRequest": { +"id": "GoogleCloudDialogflowV2OriginalDetectIntentRequest", +"properties": { +"payload": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"type": "object" +}, +"source": { +"type": "string" +}, +"version": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2QueryResult": { +"id": "GoogleCloudDialogflowV2QueryResult", +"properties": { +"action": { +"type": "string" +}, +"allRequiredParamsPresent": { +"type": "boolean" +}, +"cancelsSlotFilling": { +"type": "boolean" +}, +"diagnosticInfo": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"type": "object" +}, +"fulfillmentMessages": { +"items": { +"$ref": "GoogleCloudDialogflowV2IntentMessage" +}, +"type": "array" +}, +"fulfillmentText": { +"type": "string" +}, +"intent": { +"$ref": "GoogleCloudDialogflowV2Intent" +}, +"intentDetectionConfidence": { +"format": "float", +"type": "number" +}, +"languageCode": { +"type": "string" +}, +"outputContexts": { +"items": { +"$ref": "GoogleCloudDialogflowV2Context" +}, +"type": "array" +}, +"parameters": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"type": "object" +}, +"queryText": { +"type": "string" +}, +"sentimentAnalysisResult": { +"$ref": "GoogleCloudDialogflowV2SentimentAnalysisResult" +}, +"speechRecognitionConfidence": { +"format": "float", +"type": "number" +}, +"webhookPayload": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"type": "object" +}, +"webhookSource": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2Sentiment": { +"id": "GoogleCloudDialogflowV2Sentiment", +"properties": { +"magnitude": { +"format": "float", +"type": "number" +}, +"score": { +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2SentimentAnalysisResult": { +"id": "GoogleCloudDialogflowV2SentimentAnalysisResult", +"properties": { +"queryTextSentiment": { +"$ref": "GoogleCloudDialogflowV2Sentiment" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2ServiceLatency": { +"id": "GoogleCloudDialogflowV2ServiceLatency", +"properties": { +"internalServiceLatencies": { +"items": { +"$ref": "GoogleCloudDialogflowV2ServiceLatencyInternalServiceLatency" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2ServiceLatencyInternalServiceLatency": { +"id": "GoogleCloudDialogflowV2ServiceLatencyInternalServiceLatency", +"properties": { +"completeTime": { +"format": "google-datetime", +"type": "string" +}, +"latencyMs": { +"format": "float", +"type": "number" +}, +"startTime": { +"format": "google-datetime", +"type": "string" +}, +"step": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2SessionEntityType": { +"id": "GoogleCloudDialogflowV2SessionEntityType", +"properties": { +"entities": { +"items": { +"$ref": "GoogleCloudDialogflowV2EntityTypeEntity" +}, +"type": "array" +}, +"entityOverrideMode": { +"enum": [ +"ENTITY_OVERRIDE_MODE_UNSPECIFIED", +"ENTITY_OVERRIDE_MODE_OVERRIDE", +"ENTITY_OVERRIDE_MODE_SUPPLEMENT" +], +"enumDescriptions": [ +"", +"", +"" +], +"type": "string" +}, +"name": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2SetSuggestionFeatureConfigOperationMetadata": { +"id": "GoogleCloudDialogflowV2SetSuggestionFeatureConfigOperationMetadata", +"properties": { +"conversationProfile": { +"type": "string" +}, +"createTime": { +"format": "google-datetime", +"type": "string" +}, +"participantRole": { +"enum": [ +"ROLE_UNSPECIFIED", +"HUMAN_AGENT", +"AUTOMATED_AGENT", +"END_USER" +], +"enumDescriptions": [ +"", +"", +"", +"" +], +"type": "string" +}, +"suggestionFeatureType": { +"enum": [ +"TYPE_UNSPECIFIED", +"ARTICLE_SUGGESTION", +"FAQ", +"SMART_REPLY", +"CONVERSATION_SUMMARIZATION", +"KNOWLEDGE_SEARCH", +"KNOWLEDGE_ASSIST" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"", +"" +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2SmartReplyAnswer": { +"id": "GoogleCloudDialogflowV2SmartReplyAnswer", +"properties": { +"answerRecord": { +"type": "string" +}, +"confidence": { +"format": "float", +"type": "number" +}, +"reply": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2SmartReplyModelMetadata": { +"id": "GoogleCloudDialogflowV2SmartReplyModelMetadata", +"properties": { +"trainingModelType": { +"enum": [ +"MODEL_TYPE_UNSPECIFIED", +"SMART_REPLY_DUAL_ENCODER_MODEL", +"SMART_REPLY_BERT_MODEL" +], +"enumDescriptions": [ +"", +"", +"" +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2SpeechWordInfo": { +"id": "GoogleCloudDialogflowV2SpeechWordInfo", +"properties": { +"confidence": { +"format": "float", +"type": "number" +}, +"endOffset": { +"format": "google-duration", +"type": "string" +}, +"startOffset": { +"format": "google-duration", +"type": "string" +}, +"word": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2StreamingRecognitionResult": { +"id": "GoogleCloudDialogflowV2StreamingRecognitionResult", +"properties": { +"confidence": { +"format": "float", +"type": "number" +}, +"isFinal": { +"type": "boolean" +}, +"languageCode": { +"type": "string" +}, +"messageType": { +"enum": [ +"MESSAGE_TYPE_UNSPECIFIED", +"TRANSCRIPT", +"END_OF_SINGLE_UTTERANCE" +], +"enumDescriptions": [ +"", +"", +"" +], +"type": "string" +}, +"speechEndOffset": { +"format": "google-duration", +"type": "string" +}, +"speechWordInfo": { +"items": { +"$ref": "GoogleCloudDialogflowV2SpeechWordInfo" +}, +"type": "array" +}, +"transcript": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2SuggestArticlesResponse": { +"id": "GoogleCloudDialogflowV2SuggestArticlesResponse", +"properties": { +"articleAnswers": { +"items": { +"$ref": "GoogleCloudDialogflowV2ArticleAnswer" +}, +"type": "array" +}, +"contextSize": { +"format": "int32", +"type": "integer" +}, +"latestMessage": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2SuggestFaqAnswersResponse": { +"id": "GoogleCloudDialogflowV2SuggestFaqAnswersResponse", +"properties": { +"contextSize": { +"format": "int32", +"type": "integer" +}, +"faqAnswers": { +"items": { +"$ref": "GoogleCloudDialogflowV2FaqAnswer" +}, +"type": "array" +}, +"latestMessage": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2SuggestKnowledgeAssistResponse": { +"id": "GoogleCloudDialogflowV2SuggestKnowledgeAssistResponse", +"properties": { +"contextSize": { +"format": "int32", +"type": "integer" +}, +"knowledgeAssistAnswer": { +"$ref": "GoogleCloudDialogflowV2KnowledgeAssistAnswer", +"readOnly": true +}, +"latestMessage": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2SuggestSmartRepliesResponse": { +"id": "GoogleCloudDialogflowV2SuggestSmartRepliesResponse", +"properties": { +"contextSize": { +"format": "int32", +"type": "integer" +}, +"latestMessage": { +"type": "string" +}, +"smartReplyAnswers": { +"items": { +"$ref": "GoogleCloudDialogflowV2SmartReplyAnswer" +}, +"readOnly": true, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2SuggestionResult": { +"id": "GoogleCloudDialogflowV2SuggestionResult", +"properties": { +"error": { +"$ref": "GoogleRpcStatus" +}, +"generateSuggestionsResponse": { +"$ref": "GoogleCloudDialogflowV2GenerateSuggestionsResponse" +}, +"suggestArticlesResponse": { +"$ref": "GoogleCloudDialogflowV2SuggestArticlesResponse" +}, +"suggestFaqAnswersResponse": { +"$ref": "GoogleCloudDialogflowV2SuggestFaqAnswersResponse" +}, +"suggestKnowledgeAssistResponse": { +"$ref": "GoogleCloudDialogflowV2SuggestKnowledgeAssistResponse" +}, +"suggestSmartRepliesResponse": { +"$ref": "GoogleCloudDialogflowV2SuggestSmartRepliesResponse" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2SummarySuggestion": { +"id": "GoogleCloudDialogflowV2SummarySuggestion", +"properties": { +"summarySections": { +"items": { +"$ref": "GoogleCloudDialogflowV2SummarySuggestionSummarySection" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2SummarySuggestionSummarySection": { +"id": "GoogleCloudDialogflowV2SummarySuggestionSummarySection", +"properties": { +"section": { +"type": "string" +}, +"summary": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2ToolCall": { +"id": "GoogleCloudDialogflowV2ToolCall", +"properties": { +"action": { +"type": "string" +}, +"answerRecord": { +"type": "string" +}, +"createTime": { +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"inputParameters": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"type": "object" +}, +"state": { +"enum": [ +"STATE_UNSPECIFIED", +"TRIGGERED", +"NEEDS_CONFIRMATION" +], +"enumDescriptions": [ +"", +"", +"" +], +"readOnly": true, +"type": "string" +}, +"tool": { +"type": "string" +}, +"toolDisplayDetails": { +"type": "string" +}, +"toolDisplayName": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2ToolCallResult": { +"id": "GoogleCloudDialogflowV2ToolCallResult", +"properties": { +"action": { +"type": "string" +}, +"answerRecord": { +"type": "string" +}, +"content": { +"type": "string" +}, +"createTime": { +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"error": { +"$ref": "GoogleCloudDialogflowV2ToolCallResultError" +}, +"rawContent": { +"format": "byte", +"type": "string" +}, +"tool": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2ToolCallResultError": { +"id": "GoogleCloudDialogflowV2ToolCallResultError", +"properties": { +"message": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2UndeployConversationModelOperationMetadata": { +"id": "GoogleCloudDialogflowV2UndeployConversationModelOperationMetadata", +"properties": { +"conversationModel": { +"type": "string" +}, +"createTime": { +"format": "google-datetime", +"type": "string" +}, +"doneTime": { +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2WebhookRequest": { +"id": "GoogleCloudDialogflowV2WebhookRequest", +"properties": { +"originalDetectIntentRequest": { +"$ref": "GoogleCloudDialogflowV2OriginalDetectIntentRequest" +}, +"queryResult": { +"$ref": "GoogleCloudDialogflowV2QueryResult" +}, +"responseId": { +"type": "string" +}, +"session": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2WebhookResponse": { +"id": "GoogleCloudDialogflowV2WebhookResponse", +"properties": { +"followupEventInput": { +"$ref": "GoogleCloudDialogflowV2EventInput" +}, +"fulfillmentMessages": { +"items": { +"$ref": "GoogleCloudDialogflowV2IntentMessage" +}, +"type": "array" +}, +"fulfillmentText": { +"type": "string" +}, +"outputContexts": { +"items": { +"$ref": "GoogleCloudDialogflowV2Context" +}, +"type": "array" +}, +"payload": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"type": "object" +}, +"sessionEntityTypes": { +"items": { +"$ref": "GoogleCloudDialogflowV2SessionEntityType" +}, +"type": "array" +}, +"source": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1AgentCoachingInstruction": { +"id": "GoogleCloudDialogflowV2beta1AgentCoachingInstruction", +"properties": { +"agentAction": { +"type": "string" +}, +"condition": { +"type": "string" +}, +"displayDetails": { +"type": "string" +}, +"displayName": { +"type": "string" +}, +"duplicateCheckResult": { +"$ref": "GoogleCloudDialogflowV2beta1AgentCoachingInstructionDuplicateCheckResult", +"readOnly": true +}, +"systemAction": { +"type": "string" +}, +"triggeringEvent": { +"enum": [ +"TRIGGER_EVENT_UNSPECIFIED", +"END_OF_UTTERANCE", +"MANUAL_CALL", +"CUSTOMER_MESSAGE", +"AGENT_MESSAGE", +"TOOL_CALL_COMPLETION" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"" +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1AgentCoachingInstructionDuplicateCheckResult": { +"id": "GoogleCloudDialogflowV2beta1AgentCoachingInstructionDuplicateCheckResult", +"properties": { +"duplicateSuggestions": { +"items": { +"$ref": "GoogleCloudDialogflowV2beta1AgentCoachingInstructionDuplicateCheckResultDuplicateSuggestion" +}, +"readOnly": true, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1AgentCoachingInstructionDuplicateCheckResultDuplicateSuggestion": { +"id": "GoogleCloudDialogflowV2beta1AgentCoachingInstructionDuplicateCheckResultDuplicateSuggestion", +"properties": { +"answerRecord": { +"readOnly": true, +"type": "string" +}, +"similarityScore": { +"format": "float", +"readOnly": true, +"type": "number" +}, +"suggestionIndex": { +"format": "int32", +"readOnly": true, +"type": "integer" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1AgentCoachingSuggestion": { +"id": "GoogleCloudDialogflowV2beta1AgentCoachingSuggestion", +"properties": { +"agentActionSuggestions": { +"items": { +"$ref": "GoogleCloudDialogflowV2beta1AgentCoachingSuggestionAgentActionSuggestion" +}, +"type": "array" +}, +"applicableInstructions": { +"items": { +"$ref": "GoogleCloudDialogflowV2beta1AgentCoachingInstruction" +}, +"type": "array" +}, +"sampleResponses": { +"items": { +"$ref": "GoogleCloudDialogflowV2beta1AgentCoachingSuggestionSampleResponse" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1AgentCoachingSuggestionAgentActionSuggestion": { +"id": "GoogleCloudDialogflowV2beta1AgentCoachingSuggestionAgentActionSuggestion", +"properties": { +"agentAction": { +"type": "string" +}, +"duplicateCheckResult": { +"$ref": "GoogleCloudDialogflowV2beta1AgentCoachingSuggestionDuplicateCheckResult", +"readOnly": true +}, +"sources": { +"$ref": "GoogleCloudDialogflowV2beta1AgentCoachingSuggestionSources", +"readOnly": true +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1AgentCoachingSuggestionDuplicateCheckResult": { +"id": "GoogleCloudDialogflowV2beta1AgentCoachingSuggestionDuplicateCheckResult", +"properties": { +"duplicateSuggestions": { +"items": { +"$ref": "GoogleCloudDialogflowV2beta1AgentCoachingSuggestionDuplicateCheckResultDuplicateSuggestion" +}, +"readOnly": true, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1AgentCoachingSuggestionDuplicateCheckResultDuplicateSuggestion": { +"id": "GoogleCloudDialogflowV2beta1AgentCoachingSuggestionDuplicateCheckResultDuplicateSuggestion", +"properties": { +"answerRecord": { +"readOnly": true, +"type": "string" +}, +"similarityScore": { +"format": "float", +"readOnly": true, +"type": "number" +}, +"sources": { +"$ref": "GoogleCloudDialogflowV2beta1AgentCoachingSuggestionSources", +"readOnly": true +}, +"suggestionIndex": { +"format": "int32", +"readOnly": true, +"type": "integer" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1AgentCoachingSuggestionSampleResponse": { +"id": "GoogleCloudDialogflowV2beta1AgentCoachingSuggestionSampleResponse", +"properties": { +"duplicateCheckResult": { +"$ref": "GoogleCloudDialogflowV2beta1AgentCoachingSuggestionDuplicateCheckResult", +"readOnly": true +}, +"responseText": { +"type": "string" +}, +"sources": { +"$ref": "GoogleCloudDialogflowV2beta1AgentCoachingSuggestionSources", +"readOnly": true +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1AgentCoachingSuggestionSources": { +"id": "GoogleCloudDialogflowV2beta1AgentCoachingSuggestionSources", +"properties": { +"instructionIndexes": { +"items": { +"format": "int32", +"type": "integer" +}, +"readOnly": true, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1AnnotatedMessagePart": { +"id": "GoogleCloudDialogflowV2beta1AnnotatedMessagePart", +"properties": { +"entityType": { +"type": "string" +}, +"formattedValue": { +"type": "any" +}, +"text": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1ArticleAnswer": { +"id": "GoogleCloudDialogflowV2beta1ArticleAnswer", +"properties": { +"answerRecord": { +"type": "string" +}, +"metadata": { +"additionalProperties": { +"type": "string" +}, +"type": "object" +}, +"snippets": { +"items": { +"type": "string" +}, +"type": "array" +}, +"title": { +"type": "string" +}, +"uri": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1BatchUpdateEntityTypesResponse": { +"id": "GoogleCloudDialogflowV2beta1BatchUpdateEntityTypesResponse", +"properties": { +"entityTypes": { +"items": { +"$ref": "GoogleCloudDialogflowV2beta1EntityType" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1BatchUpdateIntentsResponse": { +"id": "GoogleCloudDialogflowV2beta1BatchUpdateIntentsResponse", +"properties": { +"intents": { +"items": { +"$ref": "GoogleCloudDialogflowV2beta1Intent" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1ClearSuggestionFeatureConfigOperationMetadata": { +"id": "GoogleCloudDialogflowV2beta1ClearSuggestionFeatureConfigOperationMetadata", +"properties": { +"conversationProfile": { +"type": "string" +}, +"createTime": { +"format": "google-datetime", +"type": "string" +}, +"participantRole": { +"enum": [ +"ROLE_UNSPECIFIED", +"HUMAN_AGENT", +"AUTOMATED_AGENT", +"END_USER" +], +"enumDescriptions": [ +"", +"", +"", +"" +], +"type": "string" +}, +"suggestionFeatureType": { +"enum": [ +"TYPE_UNSPECIFIED", +"ARTICLE_SUGGESTION", +"FAQ", +"SMART_REPLY", +"DIALOGFLOW_ASSIST", +"CONVERSATION_SUMMARIZATION", +"KNOWLEDGE_SEARCH", +"KNOWLEDGE_ASSIST" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"", +"", +"" +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1Context": { +"id": "GoogleCloudDialogflowV2beta1Context", +"properties": { +"lifespanCount": { +"format": "int32", +"type": "integer" +}, +"name": { +"type": "string" +}, +"parameters": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"type": "object" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1ConversationEvent": { +"id": "GoogleCloudDialogflowV2beta1ConversationEvent", +"properties": { +"conversation": { +"type": "string" +}, +"errorStatus": { +"$ref": "GoogleRpcStatus" +}, +"newMessagePayload": { +"$ref": "GoogleCloudDialogflowV2beta1Message" +}, +"newRecognitionResultPayload": { +"$ref": "GoogleCloudDialogflowV2beta1StreamingRecognitionResult" +}, +"type": { +"enum": [ +"TYPE_UNSPECIFIED", +"CONVERSATION_STARTED", +"CONVERSATION_FINISHED", +"HUMAN_INTERVENTION_NEEDED", +"NEW_MESSAGE", +"NEW_RECOGNITION_RESULT", +"UNRECOVERABLE_ERROR" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"", +"" +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1DialogflowAssistAnswer": { +"id": "GoogleCloudDialogflowV2beta1DialogflowAssistAnswer", +"properties": { +"answerRecord": { +"type": "string" +}, +"intentSuggestion": { +"$ref": "GoogleCloudDialogflowV2beta1IntentSuggestion" +}, +"queryResult": { +"$ref": "GoogleCloudDialogflowV2beta1QueryResult" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1EncryptionSpec": { +"id": "GoogleCloudDialogflowV2beta1EncryptionSpec", +"properties": { +"kmsKey": { +"type": "string" +}, +"name": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1EntityType": { +"id": "GoogleCloudDialogflowV2beta1EntityType", +"properties": { +"autoExpansionMode": { +"enum": [ +"AUTO_EXPANSION_MODE_UNSPECIFIED", +"AUTO_EXPANSION_MODE_DEFAULT" +], +"enumDescriptions": [ +"", +"" +], +"type": "string" +}, +"displayName": { +"type": "string" +}, +"enableFuzzyExtraction": { +"type": "boolean" +}, +"entities": { +"items": { +"$ref": "GoogleCloudDialogflowV2beta1EntityTypeEntity" +}, +"type": "array" +}, +"kind": { +"enum": [ +"KIND_UNSPECIFIED", +"KIND_MAP", +"KIND_LIST", +"KIND_REGEXP" +], +"enumDescriptions": [ +"", +"", +"", +"" +], +"type": "string" +}, +"name": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1EntityTypeEntity": { +"id": "GoogleCloudDialogflowV2beta1EntityTypeEntity", +"properties": { +"synonyms": { +"items": { +"type": "string" +}, +"type": "array" +}, +"value": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1EventInput": { +"id": "GoogleCloudDialogflowV2beta1EventInput", +"properties": { +"languageCode": { +"type": "string" +}, +"name": { +"type": "string" +}, +"parameters": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"type": "object" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1ExportAgentResponse": { +"id": "GoogleCloudDialogflowV2beta1ExportAgentResponse", +"properties": { +"agentContent": { +"format": "byte", +"type": "string" +}, +"agentUri": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1ExportOperationMetadata": { +"id": "GoogleCloudDialogflowV2beta1ExportOperationMetadata", +"properties": { +"exportedGcsDestination": { +"$ref": "GoogleCloudDialogflowV2beta1GcsDestination" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1FaqAnswer": { +"id": "GoogleCloudDialogflowV2beta1FaqAnswer", +"properties": { +"answer": { +"type": "string" +}, +"answerRecord": { +"type": "string" +}, +"confidence": { +"format": "float", +"type": "number" +}, +"metadata": { +"additionalProperties": { +"type": "string" +}, +"type": "object" +}, +"question": { +"type": "string" +}, +"source": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1FreeFormSuggestion": { +"id": "GoogleCloudDialogflowV2beta1FreeFormSuggestion", +"properties": { +"response": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1GcsDestination": { +"id": "GoogleCloudDialogflowV2beta1GcsDestination", +"properties": { +"uri": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1GenerateSuggestionsResponse": { +"id": "GoogleCloudDialogflowV2beta1GenerateSuggestionsResponse", +"properties": { +"generatorSuggestionAnswers": { +"items": { +"$ref": "GoogleCloudDialogflowV2beta1GenerateSuggestionsResponseGeneratorSuggestionAnswer" +}, +"type": "array" +}, +"latestMessage": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1GenerateSuggestionsResponseGeneratorSuggestionAnswer": { +"id": "GoogleCloudDialogflowV2beta1GenerateSuggestionsResponseGeneratorSuggestionAnswer", +"properties": { +"answerRecord": { +"type": "string" +}, +"generatorSuggestion": { +"$ref": "GoogleCloudDialogflowV2beta1GeneratorSuggestion" +}, +"sourceGenerator": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1GeneratorSuggestion": { +"id": "GoogleCloudDialogflowV2beta1GeneratorSuggestion", +"properties": { +"agentCoachingSuggestion": { +"$ref": "GoogleCloudDialogflowV2beta1AgentCoachingSuggestion" +}, +"freeFormSuggestion": { +"$ref": "GoogleCloudDialogflowV2beta1FreeFormSuggestion" +}, +"summarySuggestion": { +"$ref": "GoogleCloudDialogflowV2beta1SummarySuggestion" +}, +"toolCallInfo": { +"items": { +"$ref": "GoogleCloudDialogflowV2beta1GeneratorSuggestionToolCallInfo" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1GeneratorSuggestionToolCallInfo": { +"id": "GoogleCloudDialogflowV2beta1GeneratorSuggestionToolCallInfo", +"properties": { +"toolCall": { +"$ref": "GoogleCloudDialogflowV2beta1ToolCall" +}, +"toolCallResult": { +"$ref": "GoogleCloudDialogflowV2beta1ToolCallResult" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1HumanAgentAssistantEvent": { +"id": "GoogleCloudDialogflowV2beta1HumanAgentAssistantEvent", +"properties": { +"conversation": { +"type": "string" +}, +"participant": { +"type": "string" +}, +"suggestionResults": { +"items": { +"$ref": "GoogleCloudDialogflowV2beta1SuggestionResult" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1ImportDocumentsResponse": { +"id": "GoogleCloudDialogflowV2beta1ImportDocumentsResponse", +"properties": { +"warnings": { +"items": { +"$ref": "GoogleRpcStatus" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1IngestedContextReferenceDebugInfo": { +"id": "GoogleCloudDialogflowV2beta1IngestedContextReferenceDebugInfo", +"properties": { +"contextReferenceRetrieved": { +"type": "boolean" +}, +"ingestedParametersDebugInfo": { +"items": { +"$ref": "GoogleCloudDialogflowV2beta1IngestedContextReferenceDebugInfoIngestedParameterDebugInfo" +}, +"type": "array" +}, +"projectNotAllowlisted": { +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1IngestedContextReferenceDebugInfoIngestedParameterDebugInfo": { +"id": "GoogleCloudDialogflowV2beta1IngestedContextReferenceDebugInfoIngestedParameterDebugInfo", +"properties": { +"ingestionStatus": { +"enum": [ +"INGESTION_STATUS_UNSPECIFIED", +"INGESTION_STATUS_SUCCEEDED", +"INGESTION_STATUS_CONTEXT_NOT_AVAILABLE", +"INGESTION_STATUS_PARSE_FAILED", +"INGESTION_STATUS_INVALID_ENTRY", +"INGESTION_STATUS_INVALID_FORMAT", +"INGESTION_STATUS_LANGUAGE_MISMATCH" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"", +"" +], +"type": "string" +}, +"parameter": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1InitializeEncryptionSpecMetadata": { +"id": "GoogleCloudDialogflowV2beta1InitializeEncryptionSpecMetadata", +"properties": { +"request": { +"$ref": "GoogleCloudDialogflowV2beta1InitializeEncryptionSpecRequest", +"readOnly": true +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1InitializeEncryptionSpecRequest": { +"id": "GoogleCloudDialogflowV2beta1InitializeEncryptionSpecRequest", +"properties": { +"encryptionSpec": { +"$ref": "GoogleCloudDialogflowV2beta1EncryptionSpec" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1Intent": { +"id": "GoogleCloudDialogflowV2beta1Intent", +"properties": { +"action": { +"type": "string" +}, +"defaultResponsePlatforms": { +"items": { +"enum": [ +"PLATFORM_UNSPECIFIED", +"FACEBOOK", +"SLACK", +"TELEGRAM", +"KIK", +"SKYPE", +"LINE", +"VIBER", +"ACTIONS_ON_GOOGLE", +"TELEPHONY", +"GOOGLE_HANGOUTS" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"" +], +"type": "string" +}, +"type": "array" +}, +"displayName": { +"type": "string" +}, +"endInteraction": { +"type": "boolean" +}, +"events": { +"items": { +"type": "string" +}, +"type": "array" +}, +"followupIntentInfo": { +"items": { +"$ref": "GoogleCloudDialogflowV2beta1IntentFollowupIntentInfo" +}, +"readOnly": true, +"type": "array" +}, +"inputContextNames": { +"items": { +"type": "string" +}, +"type": "array" +}, +"isFallback": { +"type": "boolean" +}, +"liveAgentHandoff": { +"type": "boolean" +}, +"messages": { +"items": { +"$ref": "GoogleCloudDialogflowV2beta1IntentMessage" +}, +"type": "array" +}, +"mlDisabled": { +"type": "boolean" +}, +"mlEnabled": { +"deprecated": true, +"type": "boolean" +}, +"name": { +"type": "string" +}, +"outputContexts": { +"items": { +"$ref": "GoogleCloudDialogflowV2beta1Context" +}, +"type": "array" +}, +"parameters": { +"items": { +"$ref": "GoogleCloudDialogflowV2beta1IntentParameter" +}, +"type": "array" +}, +"parentFollowupIntentName": { +"type": "string" +}, +"priority": { +"format": "int32", +"type": "integer" +}, +"resetContexts": { +"type": "boolean" +}, +"rootFollowupIntentName": { +"readOnly": true, +"type": "string" +}, +"trainingPhrases": { +"items": { +"$ref": "GoogleCloudDialogflowV2beta1IntentTrainingPhrase" +}, +"type": "array" +}, +"webhookState": { +"enum": [ +"WEBHOOK_STATE_UNSPECIFIED", +"WEBHOOK_STATE_ENABLED", +"WEBHOOK_STATE_ENABLED_FOR_SLOT_FILLING" +], +"enumDescriptions": [ +"", +"", +"" +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1IntentFollowupIntentInfo": { +"id": "GoogleCloudDialogflowV2beta1IntentFollowupIntentInfo", +"properties": { +"followupIntentName": { +"type": "string" +}, +"parentFollowupIntentName": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1IntentMessage": { +"id": "GoogleCloudDialogflowV2beta1IntentMessage", +"properties": { +"basicCard": { +"$ref": "GoogleCloudDialogflowV2beta1IntentMessageBasicCard" +}, +"browseCarouselCard": { +"$ref": "GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCard" +}, +"card": { +"$ref": "GoogleCloudDialogflowV2beta1IntentMessageCard" +}, +"carouselSelect": { +"$ref": "GoogleCloudDialogflowV2beta1IntentMessageCarouselSelect" +}, +"image": { +"$ref": "GoogleCloudDialogflowV2beta1IntentMessageImage" +}, +"linkOutSuggestion": { +"$ref": "GoogleCloudDialogflowV2beta1IntentMessageLinkOutSuggestion" +}, +"listSelect": { +"$ref": "GoogleCloudDialogflowV2beta1IntentMessageListSelect" +}, +"mediaContent": { +"$ref": "GoogleCloudDialogflowV2beta1IntentMessageMediaContent" +}, +"payload": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"type": "object" +}, +"platform": { +"enum": [ +"PLATFORM_UNSPECIFIED", +"FACEBOOK", +"SLACK", +"TELEGRAM", +"KIK", +"SKYPE", +"LINE", +"VIBER", +"ACTIONS_ON_GOOGLE", +"TELEPHONY", +"GOOGLE_HANGOUTS" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"" +], +"type": "string" +}, +"quickReplies": { +"$ref": "GoogleCloudDialogflowV2beta1IntentMessageQuickReplies" +}, +"rbmCarouselRichCard": { +"$ref": "GoogleCloudDialogflowV2beta1IntentMessageRbmCarouselCard" +}, +"rbmStandaloneRichCard": { +"$ref": "GoogleCloudDialogflowV2beta1IntentMessageRbmStandaloneCard" +}, +"rbmText": { +"$ref": "GoogleCloudDialogflowV2beta1IntentMessageRbmText" +}, +"simpleResponses": { +"$ref": "GoogleCloudDialogflowV2beta1IntentMessageSimpleResponses" +}, +"suggestions": { +"$ref": "GoogleCloudDialogflowV2beta1IntentMessageSuggestions" +}, +"tableCard": { +"$ref": "GoogleCloudDialogflowV2beta1IntentMessageTableCard" +}, +"telephonyPlayAudio": { +"$ref": "GoogleCloudDialogflowV2beta1IntentMessageTelephonyPlayAudio" +}, +"telephonySynthesizeSpeech": { +"$ref": "GoogleCloudDialogflowV2beta1IntentMessageTelephonySynthesizeSpeech" +}, +"telephonyTransferCall": { +"$ref": "GoogleCloudDialogflowV2beta1IntentMessageTelephonyTransferCall" +}, +"text": { +"$ref": "GoogleCloudDialogflowV2beta1IntentMessageText" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1IntentMessageBasicCard": { +"id": "GoogleCloudDialogflowV2beta1IntentMessageBasicCard", +"properties": { +"buttons": { +"items": { +"$ref": "GoogleCloudDialogflowV2beta1IntentMessageBasicCardButton" +}, +"type": "array" +}, +"formattedText": { +"type": "string" +}, +"image": { +"$ref": "GoogleCloudDialogflowV2beta1IntentMessageImage" +}, +"subtitle": { +"type": "string" +}, +"title": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1IntentMessageBasicCardButton": { +"id": "GoogleCloudDialogflowV2beta1IntentMessageBasicCardButton", +"properties": { +"openUriAction": { +"$ref": "GoogleCloudDialogflowV2beta1IntentMessageBasicCardButtonOpenUriAction" +}, +"title": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1IntentMessageBasicCardButtonOpenUriAction": { +"id": "GoogleCloudDialogflowV2beta1IntentMessageBasicCardButtonOpenUriAction", +"properties": { +"uri": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCard": { +"id": "GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCard", +"properties": { +"imageDisplayOptions": { +"enum": [ +"IMAGE_DISPLAY_OPTIONS_UNSPECIFIED", +"GRAY", +"WHITE", +"CROPPED", +"BLURRED_BACKGROUND" +], +"enumDescriptions": [ +"", +"", +"", +"", +"" +], +"type": "string" +}, +"items": { +"items": { +"$ref": "GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardBrowseCarouselCardItem" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardBrowseCarouselCardItem": { +"id": "GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardBrowseCarouselCardItem", +"properties": { +"description": { +"type": "string" +}, +"footer": { +"type": "string" +}, +"image": { +"$ref": "GoogleCloudDialogflowV2beta1IntentMessageImage" +}, +"openUriAction": { +"$ref": "GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardBrowseCarouselCardItemOpenUrlAction" +}, +"title": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardBrowseCarouselCardItemOpenUrlAction": { +"id": "GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardBrowseCarouselCardItemOpenUrlAction", +"properties": { +"url": { +"type": "string" +}, +"urlTypeHint": { +"enum": [ +"URL_TYPE_HINT_UNSPECIFIED", +"AMP_ACTION", +"AMP_CONTENT" +], +"enumDescriptions": [ +"", +"", +"" +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1IntentMessageCard": { +"id": "GoogleCloudDialogflowV2beta1IntentMessageCard", +"properties": { +"buttons": { +"items": { +"$ref": "GoogleCloudDialogflowV2beta1IntentMessageCardButton" +}, +"type": "array" +}, +"imageUri": { +"type": "string" +}, +"subtitle": { +"type": "string" +}, +"title": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1IntentMessageCardButton": { +"id": "GoogleCloudDialogflowV2beta1IntentMessageCardButton", +"properties": { +"postback": { +"type": "string" +}, +"text": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1IntentMessageCarouselSelect": { +"id": "GoogleCloudDialogflowV2beta1IntentMessageCarouselSelect", +"properties": { +"items": { +"items": { +"$ref": "GoogleCloudDialogflowV2beta1IntentMessageCarouselSelectItem" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1IntentMessageCarouselSelectItem": { +"id": "GoogleCloudDialogflowV2beta1IntentMessageCarouselSelectItem", +"properties": { +"description": { +"type": "string" +}, +"image": { +"$ref": "GoogleCloudDialogflowV2beta1IntentMessageImage" +}, +"info": { +"$ref": "GoogleCloudDialogflowV2beta1IntentMessageSelectItemInfo" +}, +"title": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1IntentMessageColumnProperties": { +"id": "GoogleCloudDialogflowV2beta1IntentMessageColumnProperties", +"properties": { +"header": { +"type": "string" +}, +"horizontalAlignment": { +"enum": [ +"HORIZONTAL_ALIGNMENT_UNSPECIFIED", +"LEADING", +"CENTER", +"TRAILING" +], +"enumDescriptions": [ +"", +"", +"", +"" +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1IntentMessageImage": { +"id": "GoogleCloudDialogflowV2beta1IntentMessageImage", +"properties": { +"accessibilityText": { +"type": "string" +}, +"imageUri": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1IntentMessageLinkOutSuggestion": { +"id": "GoogleCloudDialogflowV2beta1IntentMessageLinkOutSuggestion", +"properties": { +"destinationName": { +"type": "string" +}, +"uri": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1IntentMessageListSelect": { +"id": "GoogleCloudDialogflowV2beta1IntentMessageListSelect", +"properties": { +"items": { +"items": { +"$ref": "GoogleCloudDialogflowV2beta1IntentMessageListSelectItem" +}, +"type": "array" +}, +"subtitle": { +"type": "string" +}, +"title": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1IntentMessageListSelectItem": { +"id": "GoogleCloudDialogflowV2beta1IntentMessageListSelectItem", +"properties": { +"description": { +"type": "string" +}, +"image": { +"$ref": "GoogleCloudDialogflowV2beta1IntentMessageImage" +}, +"info": { +"$ref": "GoogleCloudDialogflowV2beta1IntentMessageSelectItemInfo" +}, +"title": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1IntentMessageMediaContent": { +"id": "GoogleCloudDialogflowV2beta1IntentMessageMediaContent", +"properties": { +"mediaObjects": { +"items": { +"$ref": "GoogleCloudDialogflowV2beta1IntentMessageMediaContentResponseMediaObject" +}, +"type": "array" +}, +"mediaType": { +"enum": [ +"RESPONSE_MEDIA_TYPE_UNSPECIFIED", +"AUDIO" +], +"enumDescriptions": [ +"", +"" +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1IntentMessageMediaContentResponseMediaObject": { +"id": "GoogleCloudDialogflowV2beta1IntentMessageMediaContentResponseMediaObject", +"properties": { +"contentUrl": { +"type": "string" +}, +"description": { +"type": "string" +}, +"icon": { +"$ref": "GoogleCloudDialogflowV2beta1IntentMessageImage" +}, +"largeImage": { +"$ref": "GoogleCloudDialogflowV2beta1IntentMessageImage" +}, +"name": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1IntentMessageQuickReplies": { +"id": "GoogleCloudDialogflowV2beta1IntentMessageQuickReplies", +"properties": { +"quickReplies": { +"items": { +"type": "string" +}, +"type": "array" +}, +"title": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1IntentMessageRbmCardContent": { +"id": "GoogleCloudDialogflowV2beta1IntentMessageRbmCardContent", +"properties": { +"description": { +"type": "string" +}, +"media": { +"$ref": "GoogleCloudDialogflowV2beta1IntentMessageRbmCardContentRbmMedia" +}, +"suggestions": { +"items": { +"$ref": "GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestion" +}, +"type": "array" +}, +"title": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1IntentMessageRbmCardContentRbmMedia": { +"id": "GoogleCloudDialogflowV2beta1IntentMessageRbmCardContentRbmMedia", +"properties": { +"fileUri": { +"type": "string" +}, +"height": { +"enum": [ +"HEIGHT_UNSPECIFIED", +"SHORT", +"MEDIUM", +"TALL" +], +"enumDescriptions": [ +"", +"", +"", +"" +], +"type": "string" +}, +"thumbnailUri": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1IntentMessageRbmCarouselCard": { +"id": "GoogleCloudDialogflowV2beta1IntentMessageRbmCarouselCard", +"properties": { +"cardContents": { +"items": { +"$ref": "GoogleCloudDialogflowV2beta1IntentMessageRbmCardContent" +}, +"type": "array" +}, +"cardWidth": { +"enum": [ +"CARD_WIDTH_UNSPECIFIED", +"SMALL", +"MEDIUM" +], +"enumDescriptions": [ +"", +"", +"" +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1IntentMessageRbmStandaloneCard": { +"id": "GoogleCloudDialogflowV2beta1IntentMessageRbmStandaloneCard", +"properties": { +"cardContent": { +"$ref": "GoogleCloudDialogflowV2beta1IntentMessageRbmCardContent" +}, +"cardOrientation": { +"enum": [ +"CARD_ORIENTATION_UNSPECIFIED", +"HORIZONTAL", +"VERTICAL" +], +"enumDescriptions": [ +"", +"", +"" +], +"type": "string" +}, +"thumbnailImageAlignment": { +"enum": [ +"THUMBNAIL_IMAGE_ALIGNMENT_UNSPECIFIED", +"LEFT", +"RIGHT" +], +"enumDescriptions": [ +"", +"", +"" +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedAction": { +"id": "GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedAction", +"properties": { +"dial": { +"$ref": "GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionDial" +}, +"openUrl": { +"$ref": "GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionOpenUri" +}, +"postbackData": { +"type": "string" +}, +"shareLocation": { +"$ref": "GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionShareLocation" +}, +"text": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionDial": { +"id": "GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionDial", +"properties": { +"phoneNumber": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionOpenUri": { +"id": "GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionOpenUri", +"properties": { +"uri": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionShareLocation": { +"id": "GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionShareLocation", +"properties": {}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedReply": { +"id": "GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedReply", +"properties": { +"postbackData": { +"type": "string" +}, +"text": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestion": { +"id": "GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestion", +"properties": { +"action": { +"$ref": "GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedAction" +}, +"reply": { +"$ref": "GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedReply" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1IntentMessageRbmText": { +"id": "GoogleCloudDialogflowV2beta1IntentMessageRbmText", +"properties": { +"rbmSuggestion": { +"items": { +"$ref": "GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestion" +}, +"type": "array" +}, +"text": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1IntentMessageSelectItemInfo": { +"id": "GoogleCloudDialogflowV2beta1IntentMessageSelectItemInfo", +"properties": { +"key": { +"type": "string" +}, +"synonyms": { +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1IntentMessageSimpleResponse": { +"id": "GoogleCloudDialogflowV2beta1IntentMessageSimpleResponse", +"properties": { +"displayText": { +"type": "string" +}, +"ssml": { +"type": "string" +}, +"textToSpeech": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1IntentMessageSimpleResponses": { +"id": "GoogleCloudDialogflowV2beta1IntentMessageSimpleResponses", +"properties": { +"simpleResponses": { +"items": { +"$ref": "GoogleCloudDialogflowV2beta1IntentMessageSimpleResponse" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1IntentMessageSuggestion": { +"id": "GoogleCloudDialogflowV2beta1IntentMessageSuggestion", +"properties": { +"title": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1IntentMessageSuggestions": { +"id": "GoogleCloudDialogflowV2beta1IntentMessageSuggestions", +"properties": { +"suggestions": { +"items": { +"$ref": "GoogleCloudDialogflowV2beta1IntentMessageSuggestion" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1IntentMessageTableCard": { +"id": "GoogleCloudDialogflowV2beta1IntentMessageTableCard", +"properties": { +"buttons": { +"items": { +"$ref": "GoogleCloudDialogflowV2beta1IntentMessageBasicCardButton" +}, +"type": "array" +}, +"columnProperties": { +"items": { +"$ref": "GoogleCloudDialogflowV2beta1IntentMessageColumnProperties" +}, +"type": "array" +}, +"image": { +"$ref": "GoogleCloudDialogflowV2beta1IntentMessageImage" +}, +"rows": { +"items": { +"$ref": "GoogleCloudDialogflowV2beta1IntentMessageTableCardRow" +}, +"type": "array" +}, +"subtitle": { +"type": "string" +}, +"title": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1IntentMessageTableCardCell": { +"id": "GoogleCloudDialogflowV2beta1IntentMessageTableCardCell", +"properties": { +"text": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1IntentMessageTableCardRow": { +"id": "GoogleCloudDialogflowV2beta1IntentMessageTableCardRow", +"properties": { +"cells": { +"items": { +"$ref": "GoogleCloudDialogflowV2beta1IntentMessageTableCardCell" +}, +"type": "array" +}, +"dividerAfter": { +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1IntentMessageTelephonyPlayAudio": { +"id": "GoogleCloudDialogflowV2beta1IntentMessageTelephonyPlayAudio", +"properties": { +"audioUri": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1IntentMessageTelephonySynthesizeSpeech": { +"id": "GoogleCloudDialogflowV2beta1IntentMessageTelephonySynthesizeSpeech", +"properties": { +"ssml": { +"type": "string" +}, +"text": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1IntentMessageTelephonyTransferCall": { +"id": "GoogleCloudDialogflowV2beta1IntentMessageTelephonyTransferCall", +"properties": { +"phoneNumber": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1IntentMessageText": { +"id": "GoogleCloudDialogflowV2beta1IntentMessageText", +"properties": { +"text": { +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1IntentParameter": { +"id": "GoogleCloudDialogflowV2beta1IntentParameter", +"properties": { +"defaultValue": { +"type": "string" +}, +"displayName": { +"type": "string" +}, +"entityTypeDisplayName": { +"type": "string" +}, +"isList": { +"type": "boolean" +}, +"mandatory": { +"type": "boolean" +}, +"name": { +"type": "string" +}, +"prompts": { +"items": { +"type": "string" +}, +"type": "array" +}, +"value": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1IntentSuggestion": { +"id": "GoogleCloudDialogflowV2beta1IntentSuggestion", +"properties": { +"description": { +"type": "string" +}, +"displayName": { +"type": "string" +}, +"intentV2": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1IntentTrainingPhrase": { +"id": "GoogleCloudDialogflowV2beta1IntentTrainingPhrase", +"properties": { +"name": { +"readOnly": true, +"type": "string" +}, +"parts": { +"items": { +"$ref": "GoogleCloudDialogflowV2beta1IntentTrainingPhrasePart" +}, +"type": "array" +}, +"timesAddedCount": { +"format": "int32", +"type": "integer" +}, +"type": { +"enum": [ +"TYPE_UNSPECIFIED", +"EXAMPLE", +"TEMPLATE" +], +"enumDeprecated": [ +false, +false, +true +], +"enumDescriptions": [ +"", +"", +"" +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1IntentTrainingPhrasePart": { +"id": "GoogleCloudDialogflowV2beta1IntentTrainingPhrasePart", +"properties": { +"alias": { +"type": "string" +}, +"entityType": { +"type": "string" +}, +"text": { +"type": "string" +}, +"userDefined": { +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1KnowledgeAnswers": { +"id": "GoogleCloudDialogflowV2beta1KnowledgeAnswers", +"properties": { +"answers": { +"items": { +"$ref": "GoogleCloudDialogflowV2beta1KnowledgeAnswersAnswer" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1KnowledgeAnswersAnswer": { +"id": "GoogleCloudDialogflowV2beta1KnowledgeAnswersAnswer", +"properties": { +"answer": { +"type": "string" +}, +"faqQuestion": { +"type": "string" +}, +"matchConfidence": { +"format": "float", +"type": "number" +}, +"matchConfidenceLevel": { +"enum": [ +"MATCH_CONFIDENCE_LEVEL_UNSPECIFIED", +"LOW", +"MEDIUM", +"HIGH" +], +"enumDescriptions": [ +"", +"", +"", +"" +], +"type": "string" +}, +"source": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1KnowledgeAssistAnswer": { +"id": "GoogleCloudDialogflowV2beta1KnowledgeAssistAnswer", +"properties": { +"answerRecord": { +"type": "string" +}, +"knowledgeAssistDebugInfo": { +"$ref": "GoogleCloudDialogflowV2beta1KnowledgeAssistDebugInfo" +}, +"suggestedQuery": { +"$ref": "GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerSuggestedQuery" +}, +"suggestedQueryAnswer": { +"$ref": "GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerKnowledgeAnswer" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerKnowledgeAnswer": { +"id": "GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerKnowledgeAnswer", +"properties": { +"answerText": { +"type": "string" +}, +"faqSource": { +"$ref": "GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerKnowledgeAnswerFaqSource" +}, +"generativeSource": { +"$ref": "GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerKnowledgeAnswerGenerativeSource" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerKnowledgeAnswerFaqSource": { +"id": "GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerKnowledgeAnswerFaqSource", +"properties": { +"question": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerKnowledgeAnswerGenerativeSource": { +"id": "GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerKnowledgeAnswerGenerativeSource", +"properties": { +"snippets": { +"items": { +"$ref": "GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerKnowledgeAnswerGenerativeSourceSnippet" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerKnowledgeAnswerGenerativeSourceSnippet": { +"id": "GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerKnowledgeAnswerGenerativeSourceSnippet", +"properties": { +"metadata": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"type": "object" +}, +"text": { +"type": "string" +}, +"title": { +"type": "string" +}, +"uri": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerSuggestedQuery": { +"id": "GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerSuggestedQuery", +"properties": { +"queryText": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1KnowledgeAssistDebugInfo": { +"id": "GoogleCloudDialogflowV2beta1KnowledgeAssistDebugInfo", +"properties": { +"datastoreResponseReason": { +"enum": [ +"DATASTORE_RESPONSE_REASON_UNSPECIFIED", +"NONE", +"SEARCH_OUT_OF_QUOTA", +"SEARCH_EMPTY_RESULTS", +"ANSWER_GENERATION_GEN_AI_DISABLED", +"ANSWER_GENERATION_OUT_OF_QUOTA", +"ANSWER_GENERATION_ERROR", +"ANSWER_GENERATION_NOT_ENOUGH_INFO", +"ANSWER_GENERATION_RAI_FAILED", +"ANSWER_GENERATION_NOT_GROUNDED" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"", +"", +"", +"", +"" +], +"type": "string" +}, +"ingestedContextReferenceDebugInfo": { +"$ref": "GoogleCloudDialogflowV2beta1IngestedContextReferenceDebugInfo" +}, +"knowledgeAssistBehavior": { +"$ref": "GoogleCloudDialogflowV2beta1KnowledgeAssistDebugInfoKnowledgeAssistBehavior" +}, +"queryCategorizationFailureReason": { +"enum": [ +"QUERY_CATEGORIZATION_FAILURE_REASON_UNSPECIFIED", +"QUERY_CATEGORIZATION_INVALID_CONFIG", +"QUERY_CATEGORIZATION_RESULT_NOT_FOUND", +"QUERY_CATEGORIZATION_FAILED" +], +"enumDescriptions": [ +"", +"", +"", +"" +], +"type": "string" +}, +"queryGenerationFailureReason": { +"enum": [ +"QUERY_GENERATION_FAILURE_REASON_UNSPECIFIED", +"QUERY_GENERATION_OUT_OF_QUOTA", +"QUERY_GENERATION_FAILED", +"QUERY_GENERATION_NO_QUERY_GENERATED", +"QUERY_GENERATION_RAI_FAILED", +"NOT_IN_ALLOWLIST", +"QUERY_GENERATION_QUERY_REDACTED", +"QUERY_GENERATION_LLM_RESPONSE_PARSE_FAILED", +"QUERY_GENERATION_EMPTY_CONVERSATION", +"QUERY_GENERATION_EMPTY_LAST_MESSAGE", +"QUERY_GENERATION_TRIGGERING_EVENT_CONDITION_NOT_MET" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"" +], +"type": "string" +}, +"serviceLatency": { +"$ref": "GoogleCloudDialogflowV2beta1ServiceLatency" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1KnowledgeAssistDebugInfoKnowledgeAssistBehavior": { +"id": "GoogleCloudDialogflowV2beta1KnowledgeAssistDebugInfoKnowledgeAssistBehavior", +"properties": { +"answerGenerationRewriterOn": { +"type": "boolean" +}, +"appendedSearchContextCount": { +"format": "int32", +"type": "integer" +}, +"conversationTranscriptHasMixedLanguages": { +"type": "boolean" +}, +"disableSyncDelivery": { +"type": "boolean" +}, +"endUserMetadataIncluded": { +"type": "boolean" +}, +"invalidItemsQuerySuggestionSkipped": { +"type": "boolean" +}, +"multipleQueriesGenerated": { +"type": "boolean" +}, +"previousQueriesIncluded": { +"type": "boolean" +}, +"primaryQueryRedactedAndReplaced": { +"type": "boolean" +}, +"queryContainedSearchContext": { +"type": "boolean" +}, +"queryGenerationAgentLanguageMismatch": { +"type": "boolean" +}, +"queryGenerationEndUserLanguageMismatch": { +"type": "boolean" +}, +"returnQueryOnly": { +"type": "boolean" +}, +"thirdPartyConnectorAllowed": { +"type": "boolean" +}, +"useCustomSafetyFilterLevel": { +"type": "boolean" +}, +"usePubsubDelivery": { +"type": "boolean" +}, +"useTranslatedMessage": { +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1KnowledgeOperationMetadata": { +"id": "GoogleCloudDialogflowV2beta1KnowledgeOperationMetadata", +"properties": { +"doneTime": { +"format": "google-datetime", +"type": "string" +}, +"exportOperationMetadata": { +"$ref": "GoogleCloudDialogflowV2beta1ExportOperationMetadata" +}, +"knowledgeBase": { +"type": "string" +}, +"state": { +"enum": [ +"STATE_UNSPECIFIED", +"PENDING", +"RUNNING", +"DONE" +], +"enumDescriptions": [ +"", +"", +"", +"" +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1Message": { +"id": "GoogleCloudDialogflowV2beta1Message", +"properties": { +"content": { +"type": "string" +}, +"createTime": { +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"languageCode": { +"type": "string" +}, +"messageAnnotation": { +"$ref": "GoogleCloudDialogflowV2beta1MessageAnnotation", +"readOnly": true +}, +"name": { +"type": "string" +}, +"participant": { +"readOnly": true, +"type": "string" +}, +"participantRole": { +"enum": [ +"ROLE_UNSPECIFIED", +"HUMAN_AGENT", +"AUTOMATED_AGENT", +"END_USER" +], +"enumDescriptions": [ +"", +"", +"", +"" +], +"readOnly": true, +"type": "string" +}, +"responseMessages": { +"items": { +"$ref": "GoogleCloudDialogflowV2beta1ResponseMessage" +}, +"type": "array" +}, +"sendTime": { +"format": "google-datetime", +"type": "string" +}, +"sentimentAnalysis": { +"$ref": "GoogleCloudDialogflowV2beta1SentimentAnalysisResult", +"readOnly": true +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1MessageAnnotation": { +"id": "GoogleCloudDialogflowV2beta1MessageAnnotation", +"properties": { +"containEntities": { +"type": "boolean" +}, +"parts": { +"items": { +"$ref": "GoogleCloudDialogflowV2beta1AnnotatedMessagePart" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1OriginalDetectIntentRequest": { +"id": "GoogleCloudDialogflowV2beta1OriginalDetectIntentRequest", +"properties": { +"payload": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"type": "object" +}, +"source": { +"type": "string" +}, +"version": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1QueryResult": { +"id": "GoogleCloudDialogflowV2beta1QueryResult", +"properties": { +"action": { +"type": "string" +}, +"allRequiredParamsPresent": { +"type": "boolean" +}, +"cancelsSlotFilling": { +"type": "boolean" +}, +"diagnosticInfo": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"type": "object" +}, +"fulfillmentMessages": { +"items": { +"$ref": "GoogleCloudDialogflowV2beta1IntentMessage" +}, +"type": "array" +}, +"fulfillmentText": { +"type": "string" +}, +"intent": { +"$ref": "GoogleCloudDialogflowV2beta1Intent" +}, +"intentDetectionConfidence": { +"format": "float", +"type": "number" +}, +"knowledgeAnswers": { +"$ref": "GoogleCloudDialogflowV2beta1KnowledgeAnswers" +}, +"languageCode": { +"type": "string" +}, +"outputContexts": { +"items": { +"$ref": "GoogleCloudDialogflowV2beta1Context" +}, +"type": "array" +}, +"parameters": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"type": "object" +}, +"queryText": { +"type": "string" +}, +"sentimentAnalysisResult": { +"$ref": "GoogleCloudDialogflowV2beta1SentimentAnalysisResult" +}, +"speechRecognitionConfidence": { +"format": "float", +"type": "number" +}, +"webhookPayload": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"type": "object" +}, +"webhookSource": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1ResponseMessage": { +"id": "GoogleCloudDialogflowV2beta1ResponseMessage", +"properties": { +"endInteraction": { +"$ref": "GoogleCloudDialogflowV2beta1ResponseMessageEndInteraction" +}, +"liveAgentHandoff": { +"$ref": "GoogleCloudDialogflowV2beta1ResponseMessageLiveAgentHandoff" +}, +"mixedAudio": { +"$ref": "GoogleCloudDialogflowV2beta1ResponseMessageMixedAudio" +}, +"payload": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"type": "object" +}, +"telephonyTransferCall": { +"$ref": "GoogleCloudDialogflowV2beta1ResponseMessageTelephonyTransferCall" +}, +"text": { +"$ref": "GoogleCloudDialogflowV2beta1ResponseMessageText" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1ResponseMessageEndInteraction": { +"id": "GoogleCloudDialogflowV2beta1ResponseMessageEndInteraction", +"properties": {}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1ResponseMessageLiveAgentHandoff": { +"id": "GoogleCloudDialogflowV2beta1ResponseMessageLiveAgentHandoff", +"properties": { +"metadata": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"type": "object" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1ResponseMessageMixedAudio": { +"id": "GoogleCloudDialogflowV2beta1ResponseMessageMixedAudio", +"properties": { +"segments": { +"items": { +"$ref": "GoogleCloudDialogflowV2beta1ResponseMessageMixedAudioSegment" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1ResponseMessageMixedAudioSegment": { +"id": "GoogleCloudDialogflowV2beta1ResponseMessageMixedAudioSegment", +"properties": { +"allowPlaybackInterruption": { +"type": "boolean" +}, +"audio": { +"format": "byte", +"type": "string" +}, +"uri": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1ResponseMessageTelephonyTransferCall": { +"id": "GoogleCloudDialogflowV2beta1ResponseMessageTelephonyTransferCall", +"properties": { +"phoneNumber": { +"type": "string" +}, +"sipUri": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1ResponseMessageText": { +"id": "GoogleCloudDialogflowV2beta1ResponseMessageText", +"properties": { +"text": { +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1Sentiment": { +"id": "GoogleCloudDialogflowV2beta1Sentiment", +"properties": { +"magnitude": { +"format": "float", +"type": "number" +}, +"score": { +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1SentimentAnalysisResult": { +"id": "GoogleCloudDialogflowV2beta1SentimentAnalysisResult", +"properties": { +"queryTextSentiment": { +"$ref": "GoogleCloudDialogflowV2beta1Sentiment" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1ServiceLatency": { +"id": "GoogleCloudDialogflowV2beta1ServiceLatency", +"properties": { +"internalServiceLatencies": { +"items": { +"$ref": "GoogleCloudDialogflowV2beta1ServiceLatencyInternalServiceLatency" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1ServiceLatencyInternalServiceLatency": { +"id": "GoogleCloudDialogflowV2beta1ServiceLatencyInternalServiceLatency", +"properties": { +"completeTime": { +"format": "google-datetime", +"type": "string" +}, +"latencyMs": { +"format": "float", +"type": "number" +}, +"startTime": { +"format": "google-datetime", +"type": "string" +}, +"step": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1SessionEntityType": { +"id": "GoogleCloudDialogflowV2beta1SessionEntityType", +"properties": { +"entities": { +"items": { +"$ref": "GoogleCloudDialogflowV2beta1EntityTypeEntity" +}, +"type": "array" +}, +"entityOverrideMode": { +"enum": [ +"ENTITY_OVERRIDE_MODE_UNSPECIFIED", +"ENTITY_OVERRIDE_MODE_OVERRIDE", +"ENTITY_OVERRIDE_MODE_SUPPLEMENT" +], +"enumDescriptions": [ +"", +"", +"" +], +"type": "string" +}, +"name": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1SetSuggestionFeatureConfigOperationMetadata": { +"id": "GoogleCloudDialogflowV2beta1SetSuggestionFeatureConfigOperationMetadata", +"properties": { +"conversationProfile": { +"type": "string" +}, +"createTime": { +"format": "google-datetime", +"type": "string" +}, +"participantRole": { +"enum": [ +"ROLE_UNSPECIFIED", +"HUMAN_AGENT", +"AUTOMATED_AGENT", +"END_USER" +], +"enumDescriptions": [ +"", +"", +"", +"" +], +"type": "string" +}, +"suggestionFeatureType": { +"enum": [ +"TYPE_UNSPECIFIED", +"ARTICLE_SUGGESTION", +"FAQ", +"SMART_REPLY", +"DIALOGFLOW_ASSIST", +"CONVERSATION_SUMMARIZATION", +"KNOWLEDGE_SEARCH", +"KNOWLEDGE_ASSIST" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"", +"", +"" +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1SmartReplyAnswer": { +"id": "GoogleCloudDialogflowV2beta1SmartReplyAnswer", +"properties": { +"answerRecord": { +"type": "string" +}, +"confidence": { +"format": "float", +"type": "number" +}, +"reply": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1SpeechWordInfo": { +"id": "GoogleCloudDialogflowV2beta1SpeechWordInfo", +"properties": { +"confidence": { +"format": "float", +"type": "number" +}, +"endOffset": { +"format": "google-duration", +"type": "string" +}, +"startOffset": { +"format": "google-duration", +"type": "string" +}, +"word": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1StreamingRecognitionResult": { +"id": "GoogleCloudDialogflowV2beta1StreamingRecognitionResult", +"properties": { +"confidence": { +"format": "float", +"type": "number" +}, +"dtmfDigits": { +"$ref": "GoogleCloudDialogflowV2beta1TelephonyDtmfEvents" +}, +"isFinal": { +"type": "boolean" +}, +"languageCode": { +"type": "string" +}, +"messageType": { +"enum": [ +"MESSAGE_TYPE_UNSPECIFIED", +"TRANSCRIPT", +"END_OF_SINGLE_UTTERANCE", +"DTMF_DIGITS", +"PARTIAL_DTMF_DIGITS" +], +"enumDescriptions": [ +"", +"", +"", +"", +"" +], +"type": "string" +}, +"speechEndOffset": { +"format": "google-duration", +"type": "string" +}, +"speechWordInfo": { +"items": { +"$ref": "GoogleCloudDialogflowV2beta1SpeechWordInfo" +}, +"type": "array" +}, +"stability": { +"format": "float", +"type": "number" +}, +"transcript": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1SuggestArticlesResponse": { +"id": "GoogleCloudDialogflowV2beta1SuggestArticlesResponse", +"properties": { +"articleAnswers": { +"items": { +"$ref": "GoogleCloudDialogflowV2beta1ArticleAnswer" +}, +"type": "array" +}, +"contextSize": { +"format": "int32", +"type": "integer" +}, +"latestMessage": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1SuggestDialogflowAssistsResponse": { +"id": "GoogleCloudDialogflowV2beta1SuggestDialogflowAssistsResponse", +"properties": { +"contextSize": { +"format": "int32", +"type": "integer" +}, +"dialogflowAssistAnswers": { +"items": { +"$ref": "GoogleCloudDialogflowV2beta1DialogflowAssistAnswer" +}, +"type": "array" +}, +"latestMessage": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1SuggestFaqAnswersResponse": { +"id": "GoogleCloudDialogflowV2beta1SuggestFaqAnswersResponse", +"properties": { +"contextSize": { +"format": "int32", +"type": "integer" +}, +"faqAnswers": { +"items": { +"$ref": "GoogleCloudDialogflowV2beta1FaqAnswer" +}, +"type": "array" +}, +"latestMessage": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1SuggestKnowledgeAssistResponse": { +"id": "GoogleCloudDialogflowV2beta1SuggestKnowledgeAssistResponse", +"properties": { +"contextSize": { +"format": "int32", +"type": "integer" +}, +"knowledgeAssistAnswer": { +"$ref": "GoogleCloudDialogflowV2beta1KnowledgeAssistAnswer", +"readOnly": true +}, +"latestMessage": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1SuggestSmartRepliesResponse": { +"id": "GoogleCloudDialogflowV2beta1SuggestSmartRepliesResponse", +"properties": { +"contextSize": { +"format": "int32", +"type": "integer" +}, +"latestMessage": { +"type": "string" +}, +"smartReplyAnswers": { +"items": { +"$ref": "GoogleCloudDialogflowV2beta1SmartReplyAnswer" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1SuggestionResult": { +"id": "GoogleCloudDialogflowV2beta1SuggestionResult", +"properties": { +"error": { +"$ref": "GoogleRpcStatus" +}, +"generateSuggestionsResponse": { +"$ref": "GoogleCloudDialogflowV2beta1GenerateSuggestionsResponse" +}, +"suggestArticlesResponse": { +"$ref": "GoogleCloudDialogflowV2beta1SuggestArticlesResponse" +}, +"suggestDialogflowAssistsResponse": { +"$ref": "GoogleCloudDialogflowV2beta1SuggestDialogflowAssistsResponse" +}, +"suggestEntityExtractionResponse": { +"$ref": "GoogleCloudDialogflowV2beta1SuggestDialogflowAssistsResponse" +}, +"suggestFaqAnswersResponse": { +"$ref": "GoogleCloudDialogflowV2beta1SuggestFaqAnswersResponse" +}, +"suggestKnowledgeAssistResponse": { +"$ref": "GoogleCloudDialogflowV2beta1SuggestKnowledgeAssistResponse" +}, +"suggestSmartRepliesResponse": { +"$ref": "GoogleCloudDialogflowV2beta1SuggestSmartRepliesResponse" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1SummarySuggestion": { +"id": "GoogleCloudDialogflowV2beta1SummarySuggestion", +"properties": { +"summarySections": { +"items": { +"$ref": "GoogleCloudDialogflowV2beta1SummarySuggestionSummarySection" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1SummarySuggestionSummarySection": { +"id": "GoogleCloudDialogflowV2beta1SummarySuggestionSummarySection", +"properties": { +"section": { +"type": "string" +}, +"summary": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1TelephonyDtmfEvents": { +"id": "GoogleCloudDialogflowV2beta1TelephonyDtmfEvents", +"properties": { +"dtmfEvents": { +"items": { +"enum": [ +"TELEPHONY_DTMF_UNSPECIFIED", +"DTMF_ONE", +"DTMF_TWO", +"DTMF_THREE", +"DTMF_FOUR", +"DTMF_FIVE", +"DTMF_SIX", +"DTMF_SEVEN", +"DTMF_EIGHT", +"DTMF_NINE", +"DTMF_ZERO", +"DTMF_A", +"DTMF_B", +"DTMF_C", +"DTMF_D", +"DTMF_STAR", +"DTMF_POUND" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"" +], +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1ToolCall": { +"id": "GoogleCloudDialogflowV2beta1ToolCall", +"properties": { +"action": { +"type": "string" +}, +"answerRecord": { +"type": "string" +}, +"createTime": { +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"inputParameters": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"type": "object" +}, +"state": { +"enum": [ +"STATE_UNSPECIFIED", +"TRIGGERED", +"NEEDS_CONFIRMATION" +], +"enumDescriptions": [ +"", +"", +"" +], +"readOnly": true, +"type": "string" +}, +"tool": { +"type": "string" +}, +"toolDisplayDetails": { +"type": "string" +}, +"toolDisplayName": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1ToolCallResult": { +"id": "GoogleCloudDialogflowV2beta1ToolCallResult", +"properties": { +"action": { +"type": "string" +}, +"answerRecord": { +"type": "string" +}, +"content": { +"type": "string" +}, +"createTime": { +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"error": { +"$ref": "GoogleCloudDialogflowV2beta1ToolCallResultError" +}, +"rawContent": { +"format": "byte", +"type": "string" +}, +"tool": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1ToolCallResultError": { +"id": "GoogleCloudDialogflowV2beta1ToolCallResultError", +"properties": { +"message": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1WebhookRequest": { +"id": "GoogleCloudDialogflowV2beta1WebhookRequest", +"properties": { +"alternativeQueryResults": { +"items": { +"$ref": "GoogleCloudDialogflowV2beta1QueryResult" +}, +"type": "array" +}, +"originalDetectIntentRequest": { +"$ref": "GoogleCloudDialogflowV2beta1OriginalDetectIntentRequest" +}, +"queryResult": { +"$ref": "GoogleCloudDialogflowV2beta1QueryResult" +}, +"responseId": { +"type": "string" +}, +"session": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1WebhookResponse": { +"id": "GoogleCloudDialogflowV2beta1WebhookResponse", +"properties": { +"endInteraction": { +"type": "boolean" +}, +"followupEventInput": { +"$ref": "GoogleCloudDialogflowV2beta1EventInput" +}, +"fulfillmentMessages": { +"items": { +"$ref": "GoogleCloudDialogflowV2beta1IntentMessage" +}, +"type": "array" +}, +"fulfillmentText": { +"type": "string" +}, +"liveAgentHandoff": { +"type": "boolean" +}, +"outputContexts": { +"items": { +"$ref": "GoogleCloudDialogflowV2beta1Context" +}, +"type": "array" +}, +"payload": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"type": "object" +}, +"sessionEntityTypes": { +"items": { +"$ref": "GoogleCloudDialogflowV2beta1SessionEntityType" +}, +"type": "array" +}, +"source": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV3alpha1ConversationSignals": { +"id": "GoogleCloudDialogflowV3alpha1ConversationSignals", +"properties": { +"turnSignals": { +"$ref": "GoogleCloudDialogflowV3alpha1TurnSignals" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV3alpha1TurnSignals": { +"id": "GoogleCloudDialogflowV3alpha1TurnSignals", +"properties": { +"agentEscalated": { +"type": "boolean" +}, +"dtmfUsed": { +"type": "boolean" +}, +"failureReasons": { +"items": { +"enum": [ +"FAILURE_REASON_UNSPECIFIED", +"FAILED_INTENT", +"FAILED_WEBHOOK" +], +"enumDescriptions": [ +"", +"", +"" +], +"type": "string" +}, +"type": "array" +}, +"noMatch": { +"type": "boolean" +}, +"noUserInput": { +"type": "boolean" +}, +"reachedEndPage": { +"type": "boolean" +}, +"sentimentMagnitude": { +"format": "float", +"type": "number" +}, +"sentimentScore": { +"format": "float", +"type": "number" +}, +"triggeredAbandonmentEvent": { +"type": "boolean" +}, +"userEscalated": { +"type": "boolean" +}, +"webhookStatuses": { +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudLocationListLocationsResponse": { +"id": "GoogleCloudLocationListLocationsResponse", +"properties": { +"locations": { +"items": { +"$ref": "GoogleCloudLocationLocation" +}, +"type": "array" +}, +"nextPageToken": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudLocationLocation": { +"id": "GoogleCloudLocationLocation", +"properties": { +"displayName": { +"type": "string" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"type": "object" +}, +"locationId": { +"type": "string" +}, +"metadata": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"type": "object" +}, +"name": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleLongrunningListOperationsResponse": { +"id": "GoogleLongrunningListOperationsResponse", +"properties": { +"nextPageToken": { +"type": "string" +}, +"operations": { +"items": { +"$ref": "GoogleLongrunningOperation" +}, +"type": "array" +}, +"unreachable": { +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleLongrunningOperation": { +"id": "GoogleLongrunningOperation", +"properties": { +"done": { +"type": "boolean" +}, +"error": { +"$ref": "GoogleRpcStatus" +}, +"metadata": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"type": "object" +}, +"name": { +"type": "string" +}, +"response": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"type": "object" +} +}, +"type": "object" +}, +"GoogleProtobufEmpty": { +"id": "GoogleProtobufEmpty", +"properties": {}, +"type": "object" +}, +"GoogleRpcStatus": { +"id": "GoogleRpcStatus", +"properties": { +"code": { +"format": "int32", +"type": "integer" +}, +"details": { +"items": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleTypeLatLng": { +"id": "GoogleTypeLatLng", +"properties": { +"latitude": { +"format": "double", +"type": "number" +}, +"longitude": { +"format": "double", +"type": "number" +} +}, +"type": "object" +} +}, +"servicePath": "", +"title": "Dialogflow API", +"version": "v3", +"version_module": true +} \ No newline at end of file diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/dialogflow.v3beta1.json b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/dialogflow.v3beta1.json new file mode 100644 index 0000000000000000000000000000000000000000..d55dd463f636c8e4761dec7ced8fcb356606703a --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/dialogflow.v3beta1.json @@ -0,0 +1,19939 @@ +{ +"auth": { +"oauth2": { +"scopes": { +"https://www.googleapis.com/auth/cloud-platform": { +"description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." +}, +"https://www.googleapis.com/auth/dialogflow": { +"description": "View, manage and query your Dialogflow agents" +} +} +} +}, +"basePath": "", +"baseUrl": "https://dialogflow.googleapis.com/", +"batchPath": "batch", +"canonicalName": "Dialogflow", +"description": "Builds conversational interfaces (for example, chatbots, and voice-powered apps and devices).", +"discoveryVersion": "v1", +"documentationLink": "https://cloud.google.com/dialogflow/", +"fullyEncodeReservedExpansion": true, +"icons": { +"x16": "http://www.google.com/images/icons/product/search-16.gif", +"x32": "http://www.google.com/images/icons/product/search-32.gif" +}, +"id": "dialogflow:v3beta1", +"kind": "discovery#restDescription", +"mtlsRootUrl": "https://dialogflow.mtls.googleapis.com/", +"name": "dialogflow", +"ownerDomain": "google.com", +"ownerName": "Google", +"parameters": { +"$.xgafv": { +"description": "V1 error format.", +"enum": [ +"1", +"2" +], +"enumDescriptions": [ +"v1 error format", +"v2 error format" +], +"location": "query", +"type": "string" +}, +"access_token": { +"description": "OAuth access token.", +"location": "query", +"type": "string" +}, +"alt": { +"default": "json", +"description": "Data format for response.", +"enum": [ +"json", +"media", +"proto" +], +"enumDescriptions": [ +"Responses with Content-Type of application/json", +"Media download with context-dependent Content-Type", +"Responses with Content-Type of application/x-protobuf" +], +"location": "query", +"type": "string" +}, +"callback": { +"description": "JSONP", +"location": "query", +"type": "string" +}, +"fields": { +"description": "Selector specifying which fields to include in a partial response.", +"location": "query", +"type": "string" +}, +"key": { +"description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", +"location": "query", +"type": "string" +}, +"oauth_token": { +"description": "OAuth 2.0 token for the current user.", +"location": "query", +"type": "string" +}, +"prettyPrint": { +"default": "true", +"description": "Returns response with indentations and line breaks.", +"location": "query", +"type": "boolean" +}, +"quotaUser": { +"description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.", +"location": "query", +"type": "string" +}, +"uploadType": { +"description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", +"location": "query", +"type": "string" +}, +"upload_protocol": { +"description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", +"location": "query", +"type": "string" +} +}, +"protocol": "rest", +"resources": { +"projects": { +"resources": { +"locations": { +"methods": { +"get": { +"description": "", +"flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}", +"httpMethod": "GET", +"id": "dialogflow.projects.locations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3beta1/{+name}", +"response": { +"$ref": "GoogleCloudLocationLocation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"list": { +"description": "", +"flatPath": "v3beta1/projects/{projectsId}/locations", +"httpMethod": "GET", +"id": "dialogflow.projects.locations.list", +"parameterOrder": [ +"name" +], +"parameters": { +"extraLocationTypes": { +"location": "query", +"repeated": true, +"type": "string" +}, +"filter": { +"location": "query", +"type": "string" +}, +"name": { +"location": "path", +"pattern": "^projects/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"location": "query", +"type": "string" +} +}, +"path": "v3beta1/{+name}/locations", +"response": { +"$ref": "GoogleCloudLocationListLocationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +} +}, +"resources": { +"agents": { +"methods": { +"create": { +"description": "", +"flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents", +"httpMethod": "POST", +"id": "dialogflow.projects.locations.agents.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3beta1/{+parent}/agents", +"request": { +"$ref": "GoogleCloudDialogflowCxV3beta1Agent" +}, +"response": { +"$ref": "GoogleCloudDialogflowCxV3beta1Agent" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"delete": { +"description": "", +"flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}", +"httpMethod": "DELETE", +"id": "dialogflow.projects.locations.agents.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3beta1/{+name}", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"export": { +"description": "", +"flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}:export", +"httpMethod": "POST", +"id": "dialogflow.projects.locations.agents.export", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3beta1/{+name}:export", +"request": { +"$ref": "GoogleCloudDialogflowCxV3beta1ExportAgentRequest" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"get": { +"description": "", +"flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}", +"httpMethod": "GET", +"id": "dialogflow.projects.locations.agents.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3beta1/{+name}", +"response": { +"$ref": "GoogleCloudDialogflowCxV3beta1Agent" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"getGenerativeSettings": { +"description": "", +"flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/generativeSettings", +"httpMethod": "GET", +"id": "dialogflow.projects.locations.agents.getGenerativeSettings", +"parameterOrder": [ +"name" +], +"parameters": { +"languageCode": { +"location": "query", +"type": "string" +}, +"name": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/generativeSettings$", +"required": true, +"type": "string" +} +}, +"path": "v3beta1/{+name}", +"response": { +"$ref": "GoogleCloudDialogflowCxV3beta1GenerativeSettings" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"getValidationResult": { +"description": "", +"flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/validationResult", +"httpMethod": "GET", +"id": "dialogflow.projects.locations.agents.getValidationResult", +"parameterOrder": [ +"name" +], +"parameters": { +"languageCode": { +"location": "query", +"type": "string" +}, +"name": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/validationResult$", +"required": true, +"type": "string" +} +}, +"path": "v3beta1/{+name}", +"response": { +"$ref": "GoogleCloudDialogflowCxV3beta1AgentValidationResult" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"list": { +"description": "", +"flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents", +"httpMethod": "GET", +"id": "dialogflow.projects.locations.agents.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"location": "query", +"type": "string" +}, +"parent": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3beta1/{+parent}/agents", +"response": { +"$ref": "GoogleCloudDialogflowCxV3beta1ListAgentsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"patch": { +"description": "", +"flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}", +"httpMethod": "PATCH", +"id": "dialogflow.projects.locations.agents.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v3beta1/{+name}", +"request": { +"$ref": "GoogleCloudDialogflowCxV3beta1Agent" +}, +"response": { +"$ref": "GoogleCloudDialogflowCxV3beta1Agent" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"restore": { +"description": "", +"flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}:restore", +"httpMethod": "POST", +"id": "dialogflow.projects.locations.agents.restore", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3beta1/{+name}:restore", +"request": { +"$ref": "GoogleCloudDialogflowCxV3beta1RestoreAgentRequest" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"updateGenerativeSettings": { +"description": "", +"flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/generativeSettings", +"httpMethod": "PATCH", +"id": "dialogflow.projects.locations.agents.updateGenerativeSettings", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/generativeSettings$", +"required": true, +"type": "string" +}, +"updateMask": { +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v3beta1/{+name}", +"request": { +"$ref": "GoogleCloudDialogflowCxV3beta1GenerativeSettings" +}, +"response": { +"$ref": "GoogleCloudDialogflowCxV3beta1GenerativeSettings" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"validate": { +"description": "", +"flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}:validate", +"httpMethod": "POST", +"id": "dialogflow.projects.locations.agents.validate", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3beta1/{+name}:validate", +"request": { +"$ref": "GoogleCloudDialogflowCxV3beta1ValidateAgentRequest" +}, +"response": { +"$ref": "GoogleCloudDialogflowCxV3beta1AgentValidationResult" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +} +}, +"resources": { +"changelogs": { +"methods": { +"get": { +"description": "", +"flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/changelogs/{changelogsId}", +"httpMethod": "GET", +"id": "dialogflow.projects.locations.agents.changelogs.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/changelogs/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3beta1/{+name}", +"response": { +"$ref": "GoogleCloudDialogflowCxV3beta1Changelog" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"list": { +"description": "", +"flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/changelogs", +"httpMethod": "GET", +"id": "dialogflow.projects.locations.agents.changelogs.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"location": "query", +"type": "string" +}, +"pageSize": { +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"location": "query", +"type": "string" +}, +"parent": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3beta1/{+parent}/changelogs", +"response": { +"$ref": "GoogleCloudDialogflowCxV3beta1ListChangelogsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +} +} +}, +"conversations": { +"methods": { +"delete": { +"description": "", +"flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/conversations/{conversationsId}", +"httpMethod": "DELETE", +"id": "dialogflow.projects.locations.agents.conversations.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/conversations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3beta1/{+name}", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"get": { +"description": "", +"flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/conversations/{conversationsId}", +"httpMethod": "GET", +"id": "dialogflow.projects.locations.agents.conversations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/conversations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3beta1/{+name}", +"response": { +"$ref": "GoogleCloudDialogflowCxV3beta1Conversation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"list": { +"description": "", +"flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/conversations", +"httpMethod": "GET", +"id": "dialogflow.projects.locations.agents.conversations.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"location": "query", +"type": "string" +}, +"pageSize": { +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"location": "query", +"type": "string" +}, +"parent": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3beta1/{+parent}/conversations", +"response": { +"$ref": "GoogleCloudDialogflowCxV3beta1ListConversationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +} +} +}, +"entityTypes": { +"methods": { +"create": { +"description": "", +"flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/entityTypes", +"httpMethod": "POST", +"id": "dialogflow.projects.locations.agents.entityTypes.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"languageCode": { +"location": "query", +"type": "string" +}, +"parent": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3beta1/{+parent}/entityTypes", +"request": { +"$ref": "GoogleCloudDialogflowCxV3beta1EntityType" +}, +"response": { +"$ref": "GoogleCloudDialogflowCxV3beta1EntityType" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"delete": { +"description": "", +"flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/entityTypes/{entityTypesId}", +"httpMethod": "DELETE", +"id": "dialogflow.projects.locations.agents.entityTypes.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"force": { +"location": "query", +"type": "boolean" +}, +"name": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/entityTypes/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3beta1/{+name}", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"export": { +"description": "", +"flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/entityTypes:export", +"httpMethod": "POST", +"id": "dialogflow.projects.locations.agents.entityTypes.export", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3beta1/{+parent}/entityTypes:export", +"request": { +"$ref": "GoogleCloudDialogflowCxV3beta1ExportEntityTypesRequest" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"get": { +"description": "", +"flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/entityTypes/{entityTypesId}", +"httpMethod": "GET", +"id": "dialogflow.projects.locations.agents.entityTypes.get", +"parameterOrder": [ +"name" +], +"parameters": { +"languageCode": { +"location": "query", +"type": "string" +}, +"name": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/entityTypes/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3beta1/{+name}", +"response": { +"$ref": "GoogleCloudDialogflowCxV3beta1EntityType" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"import": { +"description": "", +"flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/entityTypes:import", +"httpMethod": "POST", +"id": "dialogflow.projects.locations.agents.entityTypes.import", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3beta1/{+parent}/entityTypes:import", +"request": { +"$ref": "GoogleCloudDialogflowCxV3beta1ImportEntityTypesRequest" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"list": { +"description": "", +"flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/entityTypes", +"httpMethod": "GET", +"id": "dialogflow.projects.locations.agents.entityTypes.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"languageCode": { +"location": "query", +"type": "string" +}, +"pageSize": { +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"location": "query", +"type": "string" +}, +"parent": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3beta1/{+parent}/entityTypes", +"response": { +"$ref": "GoogleCloudDialogflowCxV3beta1ListEntityTypesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"patch": { +"description": "", +"flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/entityTypes/{entityTypesId}", +"httpMethod": "PATCH", +"id": "dialogflow.projects.locations.agents.entityTypes.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"languageCode": { +"location": "query", +"type": "string" +}, +"name": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/entityTypes/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v3beta1/{+name}", +"request": { +"$ref": "GoogleCloudDialogflowCxV3beta1EntityType" +}, +"response": { +"$ref": "GoogleCloudDialogflowCxV3beta1EntityType" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +} +} +}, +"environments": { +"methods": { +"create": { +"description": "", +"flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/environments", +"httpMethod": "POST", +"id": "dialogflow.projects.locations.agents.environments.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3beta1/{+parent}/environments", +"request": { +"$ref": "GoogleCloudDialogflowCxV3beta1Environment" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"delete": { +"description": "", +"flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/environments/{environmentsId}", +"httpMethod": "DELETE", +"id": "dialogflow.projects.locations.agents.environments.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/environments/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3beta1/{+name}", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"deployFlow": { +"description": "", +"flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/environments/{environmentsId}:deployFlow", +"httpMethod": "POST", +"id": "dialogflow.projects.locations.agents.environments.deployFlow", +"parameterOrder": [ +"environment" +], +"parameters": { +"environment": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/environments/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3beta1/{+environment}:deployFlow", +"request": { +"$ref": "GoogleCloudDialogflowCxV3beta1DeployFlowRequest" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"get": { +"description": "", +"flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/environments/{environmentsId}", +"httpMethod": "GET", +"id": "dialogflow.projects.locations.agents.environments.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/environments/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3beta1/{+name}", +"response": { +"$ref": "GoogleCloudDialogflowCxV3beta1Environment" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"list": { +"description": "", +"flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/environments", +"httpMethod": "GET", +"id": "dialogflow.projects.locations.agents.environments.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"location": "query", +"type": "string" +}, +"parent": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3beta1/{+parent}/environments", +"response": { +"$ref": "GoogleCloudDialogflowCxV3beta1ListEnvironmentsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"lookupEnvironmentHistory": { +"description": "", +"flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/environments/{environmentsId}:lookupEnvironmentHistory", +"httpMethod": "GET", +"id": "dialogflow.projects.locations.agents.environments.lookupEnvironmentHistory", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/environments/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"location": "query", +"type": "string" +} +}, +"path": "v3beta1/{+name}:lookupEnvironmentHistory", +"response": { +"$ref": "GoogleCloudDialogflowCxV3beta1LookupEnvironmentHistoryResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"patch": { +"description": "", +"flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/environments/{environmentsId}", +"httpMethod": "PATCH", +"id": "dialogflow.projects.locations.agents.environments.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/environments/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v3beta1/{+name}", +"request": { +"$ref": "GoogleCloudDialogflowCxV3beta1Environment" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"runContinuousTest": { +"description": "", +"flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/environments/{environmentsId}:runContinuousTest", +"httpMethod": "POST", +"id": "dialogflow.projects.locations.agents.environments.runContinuousTest", +"parameterOrder": [ +"environment" +], +"parameters": { +"environment": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/environments/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3beta1/{+environment}:runContinuousTest", +"request": { +"$ref": "GoogleCloudDialogflowCxV3beta1RunContinuousTestRequest" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +} +}, +"resources": { +"continuousTestResults": { +"methods": { +"list": { +"description": "", +"flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/environments/{environmentsId}/continuousTestResults", +"httpMethod": "GET", +"id": "dialogflow.projects.locations.agents.environments.continuousTestResults.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"location": "query", +"type": "string" +}, +"parent": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/environments/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3beta1/{+parent}/continuousTestResults", +"response": { +"$ref": "GoogleCloudDialogflowCxV3beta1ListContinuousTestResultsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +} +} +}, +"deployments": { +"methods": { +"get": { +"description": "", +"flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/environments/{environmentsId}/deployments/{deploymentsId}", +"httpMethod": "GET", +"id": "dialogflow.projects.locations.agents.environments.deployments.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/environments/[^/]+/deployments/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3beta1/{+name}", +"response": { +"$ref": "GoogleCloudDialogflowCxV3beta1Deployment" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"list": { +"description": "", +"flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/environments/{environmentsId}/deployments", +"httpMethod": "GET", +"id": "dialogflow.projects.locations.agents.environments.deployments.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"location": "query", +"type": "string" +}, +"parent": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/environments/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3beta1/{+parent}/deployments", +"response": { +"$ref": "GoogleCloudDialogflowCxV3beta1ListDeploymentsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +} +} +}, +"experiments": { +"methods": { +"create": { +"description": "", +"flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/environments/{environmentsId}/experiments", +"httpMethod": "POST", +"id": "dialogflow.projects.locations.agents.environments.experiments.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/environments/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3beta1/{+parent}/experiments", +"request": { +"$ref": "GoogleCloudDialogflowCxV3beta1Experiment" +}, +"response": { +"$ref": "GoogleCloudDialogflowCxV3beta1Experiment" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"delete": { +"description": "", +"flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/environments/{environmentsId}/experiments/{experimentsId}", +"httpMethod": "DELETE", +"id": "dialogflow.projects.locations.agents.environments.experiments.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/environments/[^/]+/experiments/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3beta1/{+name}", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"get": { +"description": "", +"flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/environments/{environmentsId}/experiments/{experimentsId}", +"httpMethod": "GET", +"id": "dialogflow.projects.locations.agents.environments.experiments.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/environments/[^/]+/experiments/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3beta1/{+name}", +"response": { +"$ref": "GoogleCloudDialogflowCxV3beta1Experiment" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"list": { +"description": "", +"flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/environments/{environmentsId}/experiments", +"httpMethod": "GET", +"id": "dialogflow.projects.locations.agents.environments.experiments.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"location": "query", +"type": "string" +}, +"parent": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/environments/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3beta1/{+parent}/experiments", +"response": { +"$ref": "GoogleCloudDialogflowCxV3beta1ListExperimentsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"patch": { +"description": "", +"flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/environments/{environmentsId}/experiments/{experimentsId}", +"httpMethod": "PATCH", +"id": "dialogflow.projects.locations.agents.environments.experiments.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/environments/[^/]+/experiments/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v3beta1/{+name}", +"request": { +"$ref": "GoogleCloudDialogflowCxV3beta1Experiment" +}, +"response": { +"$ref": "GoogleCloudDialogflowCxV3beta1Experiment" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"start": { +"description": "", +"flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/environments/{environmentsId}/experiments/{experimentsId}:start", +"httpMethod": "POST", +"id": "dialogflow.projects.locations.agents.environments.experiments.start", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/environments/[^/]+/experiments/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3beta1/{+name}:start", +"request": { +"$ref": "GoogleCloudDialogflowCxV3beta1StartExperimentRequest" +}, +"response": { +"$ref": "GoogleCloudDialogflowCxV3beta1Experiment" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"stop": { +"description": "", +"flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/environments/{environmentsId}/experiments/{experimentsId}:stop", +"httpMethod": "POST", +"id": "dialogflow.projects.locations.agents.environments.experiments.stop", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/environments/[^/]+/experiments/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3beta1/{+name}:stop", +"request": { +"$ref": "GoogleCloudDialogflowCxV3beta1StopExperimentRequest" +}, +"response": { +"$ref": "GoogleCloudDialogflowCxV3beta1Experiment" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +} +} +}, +"sessions": { +"methods": { +"detectIntent": { +"description": "", +"flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/environments/{environmentsId}/sessions/{sessionsId}:detectIntent", +"httpMethod": "POST", +"id": "dialogflow.projects.locations.agents.environments.sessions.detectIntent", +"parameterOrder": [ +"session" +], +"parameters": { +"session": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/environments/[^/]+/sessions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3beta1/{+session}:detectIntent", +"request": { +"$ref": "GoogleCloudDialogflowCxV3beta1DetectIntentRequest" +}, +"response": { +"$ref": "GoogleCloudDialogflowCxV3beta1DetectIntentResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"fulfillIntent": { +"description": "", +"flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/environments/{environmentsId}/sessions/{sessionsId}:fulfillIntent", +"httpMethod": "POST", +"id": "dialogflow.projects.locations.agents.environments.sessions.fulfillIntent", +"parameterOrder": [ +"session" +], +"parameters": { +"session": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/environments/[^/]+/sessions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3beta1/{+session}:fulfillIntent", +"request": { +"$ref": "GoogleCloudDialogflowCxV3beta1FulfillIntentRequest" +}, +"response": { +"$ref": "GoogleCloudDialogflowCxV3beta1FulfillIntentResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"matchIntent": { +"description": "", +"flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/environments/{environmentsId}/sessions/{sessionsId}:matchIntent", +"httpMethod": "POST", +"id": "dialogflow.projects.locations.agents.environments.sessions.matchIntent", +"parameterOrder": [ +"session" +], +"parameters": { +"session": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/environments/[^/]+/sessions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3beta1/{+session}:matchIntent", +"request": { +"$ref": "GoogleCloudDialogflowCxV3beta1MatchIntentRequest" +}, +"response": { +"$ref": "GoogleCloudDialogflowCxV3beta1MatchIntentResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"serverStreamingDetectIntent": { +"description": "", +"flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/environments/{environmentsId}/sessions/{sessionsId}:serverStreamingDetectIntent", +"httpMethod": "POST", +"id": "dialogflow.projects.locations.agents.environments.sessions.serverStreamingDetectIntent", +"parameterOrder": [ +"session" +], +"parameters": { +"session": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/environments/[^/]+/sessions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3beta1/{+session}:serverStreamingDetectIntent", +"request": { +"$ref": "GoogleCloudDialogflowCxV3beta1DetectIntentRequest" +}, +"response": { +"$ref": "GoogleCloudDialogflowCxV3beta1DetectIntentResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +} +}, +"resources": { +"entityTypes": { +"methods": { +"create": { +"description": "", +"flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/environments/{environmentsId}/sessions/{sessionsId}/entityTypes", +"httpMethod": "POST", +"id": "dialogflow.projects.locations.agents.environments.sessions.entityTypes.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/environments/[^/]+/sessions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3beta1/{+parent}/entityTypes", +"request": { +"$ref": "GoogleCloudDialogflowCxV3beta1SessionEntityType" +}, +"response": { +"$ref": "GoogleCloudDialogflowCxV3beta1SessionEntityType" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"delete": { +"description": "", +"flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/environments/{environmentsId}/sessions/{sessionsId}/entityTypes/{entityTypesId}", +"httpMethod": "DELETE", +"id": "dialogflow.projects.locations.agents.environments.sessions.entityTypes.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/environments/[^/]+/sessions/[^/]+/entityTypes/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3beta1/{+name}", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"get": { +"description": "", +"flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/environments/{environmentsId}/sessions/{sessionsId}/entityTypes/{entityTypesId}", +"httpMethod": "GET", +"id": "dialogflow.projects.locations.agents.environments.sessions.entityTypes.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/environments/[^/]+/sessions/[^/]+/entityTypes/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3beta1/{+name}", +"response": { +"$ref": "GoogleCloudDialogflowCxV3beta1SessionEntityType" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"list": { +"description": "", +"flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/environments/{environmentsId}/sessions/{sessionsId}/entityTypes", +"httpMethod": "GET", +"id": "dialogflow.projects.locations.agents.environments.sessions.entityTypes.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"location": "query", +"type": "string" +}, +"parent": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/environments/[^/]+/sessions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3beta1/{+parent}/entityTypes", +"response": { +"$ref": "GoogleCloudDialogflowCxV3beta1ListSessionEntityTypesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"patch": { +"description": "", +"flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/environments/{environmentsId}/sessions/{sessionsId}/entityTypes/{entityTypesId}", +"httpMethod": "PATCH", +"id": "dialogflow.projects.locations.agents.environments.sessions.entityTypes.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/environments/[^/]+/sessions/[^/]+/entityTypes/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v3beta1/{+name}", +"request": { +"$ref": "GoogleCloudDialogflowCxV3beta1SessionEntityType" +}, +"response": { +"$ref": "GoogleCloudDialogflowCxV3beta1SessionEntityType" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +} +} +} +} +} +} +}, +"flows": { +"methods": { +"create": { +"description": "", +"flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/flows", +"httpMethod": "POST", +"id": "dialogflow.projects.locations.agents.flows.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"languageCode": { +"location": "query", +"type": "string" +}, +"parent": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3beta1/{+parent}/flows", +"request": { +"$ref": "GoogleCloudDialogflowCxV3beta1Flow" +}, +"response": { +"$ref": "GoogleCloudDialogflowCxV3beta1Flow" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"delete": { +"description": "", +"flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/flows/{flowsId}", +"httpMethod": "DELETE", +"id": "dialogflow.projects.locations.agents.flows.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"force": { +"location": "query", +"type": "boolean" +}, +"name": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/flows/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3beta1/{+name}", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"export": { +"description": "", +"flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/flows/{flowsId}:export", +"httpMethod": "POST", +"id": "dialogflow.projects.locations.agents.flows.export", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/flows/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3beta1/{+name}:export", +"request": { +"$ref": "GoogleCloudDialogflowCxV3beta1ExportFlowRequest" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"get": { +"description": "", +"flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/flows/{flowsId}", +"httpMethod": "GET", +"id": "dialogflow.projects.locations.agents.flows.get", +"parameterOrder": [ +"name" +], +"parameters": { +"languageCode": { +"location": "query", +"type": "string" +}, +"name": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/flows/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3beta1/{+name}", +"response": { +"$ref": "GoogleCloudDialogflowCxV3beta1Flow" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"getValidationResult": { +"description": "", +"flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/flows/{flowsId}/validationResult", +"httpMethod": "GET", +"id": "dialogflow.projects.locations.agents.flows.getValidationResult", +"parameterOrder": [ +"name" +], +"parameters": { +"languageCode": { +"location": "query", +"type": "string" +}, +"name": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/flows/[^/]+/validationResult$", +"required": true, +"type": "string" +} +}, +"path": "v3beta1/{+name}", +"response": { +"$ref": "GoogleCloudDialogflowCxV3beta1FlowValidationResult" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"import": { +"description": "", +"flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/flows:import", +"httpMethod": "POST", +"id": "dialogflow.projects.locations.agents.flows.import", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3beta1/{+parent}/flows:import", +"request": { +"$ref": "GoogleCloudDialogflowCxV3beta1ImportFlowRequest" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"list": { +"description": "", +"flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/flows", +"httpMethod": "GET", +"id": "dialogflow.projects.locations.agents.flows.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"languageCode": { +"location": "query", +"type": "string" +}, +"pageSize": { +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"location": "query", +"type": "string" +}, +"parent": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3beta1/{+parent}/flows", +"response": { +"$ref": "GoogleCloudDialogflowCxV3beta1ListFlowsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"patch": { +"description": "", +"flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/flows/{flowsId}", +"httpMethod": "PATCH", +"id": "dialogflow.projects.locations.agents.flows.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"languageCode": { +"location": "query", +"type": "string" +}, +"name": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/flows/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v3beta1/{+name}", +"request": { +"$ref": "GoogleCloudDialogflowCxV3beta1Flow" +}, +"response": { +"$ref": "GoogleCloudDialogflowCxV3beta1Flow" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"train": { +"description": "", +"flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/flows/{flowsId}:train", +"httpMethod": "POST", +"id": "dialogflow.projects.locations.agents.flows.train", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/flows/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3beta1/{+name}:train", +"request": { +"$ref": "GoogleCloudDialogflowCxV3beta1TrainFlowRequest" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"validate": { +"description": "", +"flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/flows/{flowsId}:validate", +"httpMethod": "POST", +"id": "dialogflow.projects.locations.agents.flows.validate", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/flows/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3beta1/{+name}:validate", +"request": { +"$ref": "GoogleCloudDialogflowCxV3beta1ValidateFlowRequest" +}, +"response": { +"$ref": "GoogleCloudDialogflowCxV3beta1FlowValidationResult" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +} +}, +"resources": { +"pages": { +"methods": { +"create": { +"description": "", +"flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/flows/{flowsId}/pages", +"httpMethod": "POST", +"id": "dialogflow.projects.locations.agents.flows.pages.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"languageCode": { +"location": "query", +"type": "string" +}, +"parent": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/flows/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3beta1/{+parent}/pages", +"request": { +"$ref": "GoogleCloudDialogflowCxV3beta1Page" +}, +"response": { +"$ref": "GoogleCloudDialogflowCxV3beta1Page" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"delete": { +"description": "", +"flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/flows/{flowsId}/pages/{pagesId}", +"httpMethod": "DELETE", +"id": "dialogflow.projects.locations.agents.flows.pages.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"force": { +"location": "query", +"type": "boolean" +}, +"name": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/flows/[^/]+/pages/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3beta1/{+name}", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"get": { +"description": "", +"flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/flows/{flowsId}/pages/{pagesId}", +"httpMethod": "GET", +"id": "dialogflow.projects.locations.agents.flows.pages.get", +"parameterOrder": [ +"name" +], +"parameters": { +"languageCode": { +"location": "query", +"type": "string" +}, +"name": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/flows/[^/]+/pages/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3beta1/{+name}", +"response": { +"$ref": "GoogleCloudDialogflowCxV3beta1Page" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"list": { +"description": "", +"flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/flows/{flowsId}/pages", +"httpMethod": "GET", +"id": "dialogflow.projects.locations.agents.flows.pages.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"languageCode": { +"location": "query", +"type": "string" +}, +"pageSize": { +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"location": "query", +"type": "string" +}, +"parent": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/flows/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3beta1/{+parent}/pages", +"response": { +"$ref": "GoogleCloudDialogflowCxV3beta1ListPagesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"patch": { +"description": "", +"flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/flows/{flowsId}/pages/{pagesId}", +"httpMethod": "PATCH", +"id": "dialogflow.projects.locations.agents.flows.pages.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"languageCode": { +"location": "query", +"type": "string" +}, +"name": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/flows/[^/]+/pages/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v3beta1/{+name}", +"request": { +"$ref": "GoogleCloudDialogflowCxV3beta1Page" +}, +"response": { +"$ref": "GoogleCloudDialogflowCxV3beta1Page" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +} +} +}, +"transitionRouteGroups": { +"methods": { +"create": { +"description": "", +"flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/flows/{flowsId}/transitionRouteGroups", +"httpMethod": "POST", +"id": "dialogflow.projects.locations.agents.flows.transitionRouteGroups.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"languageCode": { +"location": "query", +"type": "string" +}, +"parent": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/flows/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3beta1/{+parent}/transitionRouteGroups", +"request": { +"$ref": "GoogleCloudDialogflowCxV3beta1TransitionRouteGroup" +}, +"response": { +"$ref": "GoogleCloudDialogflowCxV3beta1TransitionRouteGroup" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"delete": { +"description": "", +"flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/flows/{flowsId}/transitionRouteGroups/{transitionRouteGroupsId}", +"httpMethod": "DELETE", +"id": "dialogflow.projects.locations.agents.flows.transitionRouteGroups.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"force": { +"location": "query", +"type": "boolean" +}, +"name": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/flows/[^/]+/transitionRouteGroups/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3beta1/{+name}", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"get": { +"description": "", +"flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/flows/{flowsId}/transitionRouteGroups/{transitionRouteGroupsId}", +"httpMethod": "GET", +"id": "dialogflow.projects.locations.agents.flows.transitionRouteGroups.get", +"parameterOrder": [ +"name" +], +"parameters": { +"languageCode": { +"location": "query", +"type": "string" +}, +"name": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/flows/[^/]+/transitionRouteGroups/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3beta1/{+name}", +"response": { +"$ref": "GoogleCloudDialogflowCxV3beta1TransitionRouteGroup" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"list": { +"description": "", +"flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/flows/{flowsId}/transitionRouteGroups", +"httpMethod": "GET", +"id": "dialogflow.projects.locations.agents.flows.transitionRouteGroups.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"languageCode": { +"location": "query", +"type": "string" +}, +"pageSize": { +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"location": "query", +"type": "string" +}, +"parent": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/flows/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3beta1/{+parent}/transitionRouteGroups", +"response": { +"$ref": "GoogleCloudDialogflowCxV3beta1ListTransitionRouteGroupsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"patch": { +"description": "", +"flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/flows/{flowsId}/transitionRouteGroups/{transitionRouteGroupsId}", +"httpMethod": "PATCH", +"id": "dialogflow.projects.locations.agents.flows.transitionRouteGroups.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"languageCode": { +"location": "query", +"type": "string" +}, +"name": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/flows/[^/]+/transitionRouteGroups/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v3beta1/{+name}", +"request": { +"$ref": "GoogleCloudDialogflowCxV3beta1TransitionRouteGroup" +}, +"response": { +"$ref": "GoogleCloudDialogflowCxV3beta1TransitionRouteGroup" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +} +} +}, +"versions": { +"methods": { +"compareVersions": { +"description": "", +"flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/flows/{flowsId}/versions/{versionsId}:compareVersions", +"httpMethod": "POST", +"id": "dialogflow.projects.locations.agents.flows.versions.compareVersions", +"parameterOrder": [ +"baseVersion" +], +"parameters": { +"baseVersion": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/flows/[^/]+/versions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3beta1/{+baseVersion}:compareVersions", +"request": { +"$ref": "GoogleCloudDialogflowCxV3beta1CompareVersionsRequest" +}, +"response": { +"$ref": "GoogleCloudDialogflowCxV3beta1CompareVersionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"create": { +"description": "", +"flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/flows/{flowsId}/versions", +"httpMethod": "POST", +"id": "dialogflow.projects.locations.agents.flows.versions.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/flows/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3beta1/{+parent}/versions", +"request": { +"$ref": "GoogleCloudDialogflowCxV3beta1Version" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"delete": { +"description": "", +"flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/flows/{flowsId}/versions/{versionsId}", +"httpMethod": "DELETE", +"id": "dialogflow.projects.locations.agents.flows.versions.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/flows/[^/]+/versions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3beta1/{+name}", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"get": { +"description": "", +"flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/flows/{flowsId}/versions/{versionsId}", +"httpMethod": "GET", +"id": "dialogflow.projects.locations.agents.flows.versions.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/flows/[^/]+/versions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3beta1/{+name}", +"response": { +"$ref": "GoogleCloudDialogflowCxV3beta1Version" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"list": { +"description": "", +"flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/flows/{flowsId}/versions", +"httpMethod": "GET", +"id": "dialogflow.projects.locations.agents.flows.versions.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"location": "query", +"type": "string" +}, +"parent": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/flows/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3beta1/{+parent}/versions", +"response": { +"$ref": "GoogleCloudDialogflowCxV3beta1ListVersionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"load": { +"description": "", +"flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/flows/{flowsId}/versions/{versionsId}:load", +"httpMethod": "POST", +"id": "dialogflow.projects.locations.agents.flows.versions.load", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/flows/[^/]+/versions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3beta1/{+name}:load", +"request": { +"$ref": "GoogleCloudDialogflowCxV3beta1LoadVersionRequest" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"patch": { +"description": "", +"flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/flows/{flowsId}/versions/{versionsId}", +"httpMethod": "PATCH", +"id": "dialogflow.projects.locations.agents.flows.versions.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/flows/[^/]+/versions/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v3beta1/{+name}", +"request": { +"$ref": "GoogleCloudDialogflowCxV3beta1Version" +}, +"response": { +"$ref": "GoogleCloudDialogflowCxV3beta1Version" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +} +} +} +} +}, +"generators": { +"methods": { +"create": { +"description": "", +"flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/generators", +"httpMethod": "POST", +"id": "dialogflow.projects.locations.agents.generators.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"languageCode": { +"location": "query", +"type": "string" +}, +"parent": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3beta1/{+parent}/generators", +"request": { +"$ref": "GoogleCloudDialogflowCxV3beta1Generator" +}, +"response": { +"$ref": "GoogleCloudDialogflowCxV3beta1Generator" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"delete": { +"description": "", +"flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/generators/{generatorsId}", +"httpMethod": "DELETE", +"id": "dialogflow.projects.locations.agents.generators.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"force": { +"location": "query", +"type": "boolean" +}, +"name": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/generators/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3beta1/{+name}", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"get": { +"description": "", +"flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/generators/{generatorsId}", +"httpMethod": "GET", +"id": "dialogflow.projects.locations.agents.generators.get", +"parameterOrder": [ +"name" +], +"parameters": { +"languageCode": { +"location": "query", +"type": "string" +}, +"name": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/generators/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3beta1/{+name}", +"response": { +"$ref": "GoogleCloudDialogflowCxV3beta1Generator" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"list": { +"description": "", +"flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/generators", +"httpMethod": "GET", +"id": "dialogflow.projects.locations.agents.generators.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"languageCode": { +"location": "query", +"type": "string" +}, +"pageSize": { +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"location": "query", +"type": "string" +}, +"parent": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3beta1/{+parent}/generators", +"response": { +"$ref": "GoogleCloudDialogflowCxV3beta1ListGeneratorsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"patch": { +"description": "", +"flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/generators/{generatorsId}", +"httpMethod": "PATCH", +"id": "dialogflow.projects.locations.agents.generators.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"languageCode": { +"location": "query", +"type": "string" +}, +"name": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/generators/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v3beta1/{+name}", +"request": { +"$ref": "GoogleCloudDialogflowCxV3beta1Generator" +}, +"response": { +"$ref": "GoogleCloudDialogflowCxV3beta1Generator" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +} +} +}, +"intents": { +"methods": { +"create": { +"description": "", +"flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/intents", +"httpMethod": "POST", +"id": "dialogflow.projects.locations.agents.intents.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"languageCode": { +"location": "query", +"type": "string" +}, +"parent": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3beta1/{+parent}/intents", +"request": { +"$ref": "GoogleCloudDialogflowCxV3beta1Intent" +}, +"response": { +"$ref": "GoogleCloudDialogflowCxV3beta1Intent" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"delete": { +"description": "", +"flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/intents/{intentsId}", +"httpMethod": "DELETE", +"id": "dialogflow.projects.locations.agents.intents.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/intents/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3beta1/{+name}", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"export": { +"description": "", +"flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/intents:export", +"httpMethod": "POST", +"id": "dialogflow.projects.locations.agents.intents.export", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3beta1/{+parent}/intents:export", +"request": { +"$ref": "GoogleCloudDialogflowCxV3beta1ExportIntentsRequest" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"get": { +"description": "", +"flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/intents/{intentsId}", +"httpMethod": "GET", +"id": "dialogflow.projects.locations.agents.intents.get", +"parameterOrder": [ +"name" +], +"parameters": { +"languageCode": { +"location": "query", +"type": "string" +}, +"name": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/intents/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3beta1/{+name}", +"response": { +"$ref": "GoogleCloudDialogflowCxV3beta1Intent" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"import": { +"description": "", +"flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/intents:import", +"httpMethod": "POST", +"id": "dialogflow.projects.locations.agents.intents.import", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3beta1/{+parent}/intents:import", +"request": { +"$ref": "GoogleCloudDialogflowCxV3beta1ImportIntentsRequest" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"list": { +"description": "", +"flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/intents", +"httpMethod": "GET", +"id": "dialogflow.projects.locations.agents.intents.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"intentView": { +"enum": [ +"INTENT_VIEW_UNSPECIFIED", +"INTENT_VIEW_PARTIAL", +"INTENT_VIEW_FULL" +], +"enumDescriptions": [ +"", +"", +"" +], +"location": "query", +"type": "string" +}, +"languageCode": { +"location": "query", +"type": "string" +}, +"pageSize": { +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"location": "query", +"type": "string" +}, +"parent": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3beta1/{+parent}/intents", +"response": { +"$ref": "GoogleCloudDialogflowCxV3beta1ListIntentsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"patch": { +"description": "", +"flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/intents/{intentsId}", +"httpMethod": "PATCH", +"id": "dialogflow.projects.locations.agents.intents.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"languageCode": { +"location": "query", +"type": "string" +}, +"name": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/intents/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v3beta1/{+name}", +"request": { +"$ref": "GoogleCloudDialogflowCxV3beta1Intent" +}, +"response": { +"$ref": "GoogleCloudDialogflowCxV3beta1Intent" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +} +} +}, +"playbooks": { +"methods": { +"create": { +"description": "", +"flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/playbooks", +"httpMethod": "POST", +"id": "dialogflow.projects.locations.agents.playbooks.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3beta1/{+parent}/playbooks", +"request": { +"$ref": "GoogleCloudDialogflowCxV3beta1Playbook" +}, +"response": { +"$ref": "GoogleCloudDialogflowCxV3beta1Playbook" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"delete": { +"description": "", +"flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/playbooks/{playbooksId}", +"httpMethod": "DELETE", +"id": "dialogflow.projects.locations.agents.playbooks.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/playbooks/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3beta1/{+name}", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"export": { +"description": "", +"flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/playbooks/{playbooksId}:export", +"httpMethod": "POST", +"id": "dialogflow.projects.locations.agents.playbooks.export", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/playbooks/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3beta1/{+name}:export", +"request": { +"$ref": "GoogleCloudDialogflowCxV3beta1ExportPlaybookRequest" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"get": { +"description": "", +"flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/playbooks/{playbooksId}", +"httpMethod": "GET", +"id": "dialogflow.projects.locations.agents.playbooks.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/playbooks/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3beta1/{+name}", +"response": { +"$ref": "GoogleCloudDialogflowCxV3beta1Playbook" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"import": { +"description": "", +"flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/playbooks:import", +"httpMethod": "POST", +"id": "dialogflow.projects.locations.agents.playbooks.import", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3beta1/{+parent}/playbooks:import", +"request": { +"$ref": "GoogleCloudDialogflowCxV3beta1ImportPlaybookRequest" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"list": { +"description": "", +"flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/playbooks", +"httpMethod": "GET", +"id": "dialogflow.projects.locations.agents.playbooks.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"location": "query", +"type": "string" +}, +"parent": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3beta1/{+parent}/playbooks", +"response": { +"$ref": "GoogleCloudDialogflowCxV3beta1ListPlaybooksResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"patch": { +"description": "", +"flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/playbooks/{playbooksId}", +"httpMethod": "PATCH", +"id": "dialogflow.projects.locations.agents.playbooks.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/playbooks/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v3beta1/{+name}", +"request": { +"$ref": "GoogleCloudDialogflowCxV3beta1Playbook" +}, +"response": { +"$ref": "GoogleCloudDialogflowCxV3beta1Playbook" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +} +}, +"resources": { +"examples": { +"methods": { +"create": { +"description": "", +"flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/playbooks/{playbooksId}/examples", +"httpMethod": "POST", +"id": "dialogflow.projects.locations.agents.playbooks.examples.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/playbooks/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3beta1/{+parent}/examples", +"request": { +"$ref": "GoogleCloudDialogflowCxV3beta1Example" +}, +"response": { +"$ref": "GoogleCloudDialogflowCxV3beta1Example" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"delete": { +"description": "", +"flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/playbooks/{playbooksId}/examples/{examplesId}", +"httpMethod": "DELETE", +"id": "dialogflow.projects.locations.agents.playbooks.examples.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/playbooks/[^/]+/examples/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3beta1/{+name}", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"get": { +"description": "", +"flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/playbooks/{playbooksId}/examples/{examplesId}", +"httpMethod": "GET", +"id": "dialogflow.projects.locations.agents.playbooks.examples.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/playbooks/[^/]+/examples/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3beta1/{+name}", +"response": { +"$ref": "GoogleCloudDialogflowCxV3beta1Example" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"list": { +"description": "", +"flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/playbooks/{playbooksId}/examples", +"httpMethod": "GET", +"id": "dialogflow.projects.locations.agents.playbooks.examples.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"languageCode": { +"location": "query", +"type": "string" +}, +"pageSize": { +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"location": "query", +"type": "string" +}, +"parent": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/playbooks/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3beta1/{+parent}/examples", +"response": { +"$ref": "GoogleCloudDialogflowCxV3beta1ListExamplesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"patch": { +"description": "", +"flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/playbooks/{playbooksId}/examples/{examplesId}", +"httpMethod": "PATCH", +"id": "dialogflow.projects.locations.agents.playbooks.examples.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/playbooks/[^/]+/examples/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v3beta1/{+name}", +"request": { +"$ref": "GoogleCloudDialogflowCxV3beta1Example" +}, +"response": { +"$ref": "GoogleCloudDialogflowCxV3beta1Example" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +} +} +}, +"versions": { +"methods": { +"create": { +"description": "", +"flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/playbooks/{playbooksId}/versions", +"httpMethod": "POST", +"id": "dialogflow.projects.locations.agents.playbooks.versions.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/playbooks/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3beta1/{+parent}/versions", +"request": { +"$ref": "GoogleCloudDialogflowCxV3beta1PlaybookVersion" +}, +"response": { +"$ref": "GoogleCloudDialogflowCxV3beta1PlaybookVersion" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"delete": { +"description": "", +"flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/playbooks/{playbooksId}/versions/{versionsId}", +"httpMethod": "DELETE", +"id": "dialogflow.projects.locations.agents.playbooks.versions.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/playbooks/[^/]+/versions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3beta1/{+name}", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"get": { +"description": "", +"flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/playbooks/{playbooksId}/versions/{versionsId}", +"httpMethod": "GET", +"id": "dialogflow.projects.locations.agents.playbooks.versions.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/playbooks/[^/]+/versions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3beta1/{+name}", +"response": { +"$ref": "GoogleCloudDialogflowCxV3beta1PlaybookVersion" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"list": { +"description": "", +"flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/playbooks/{playbooksId}/versions", +"httpMethod": "GET", +"id": "dialogflow.projects.locations.agents.playbooks.versions.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"location": "query", +"type": "string" +}, +"parent": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/playbooks/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3beta1/{+parent}/versions", +"response": { +"$ref": "GoogleCloudDialogflowCxV3beta1ListPlaybookVersionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"restore": { +"description": "", +"flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/playbooks/{playbooksId}/versions/{versionsId}:restore", +"httpMethod": "POST", +"id": "dialogflow.projects.locations.agents.playbooks.versions.restore", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/playbooks/[^/]+/versions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3beta1/{+name}:restore", +"request": { +"$ref": "GoogleCloudDialogflowCxV3beta1RestorePlaybookVersionRequest" +}, +"response": { +"$ref": "GoogleCloudDialogflowCxV3beta1RestorePlaybookVersionResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +} +} +} +} +}, +"sessions": { +"methods": { +"detectIntent": { +"description": "", +"flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/sessions/{sessionsId}:detectIntent", +"httpMethod": "POST", +"id": "dialogflow.projects.locations.agents.sessions.detectIntent", +"parameterOrder": [ +"session" +], +"parameters": { +"session": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/sessions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3beta1/{+session}:detectIntent", +"request": { +"$ref": "GoogleCloudDialogflowCxV3beta1DetectIntentRequest" +}, +"response": { +"$ref": "GoogleCloudDialogflowCxV3beta1DetectIntentResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"fulfillIntent": { +"description": "", +"flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/sessions/{sessionsId}:fulfillIntent", +"httpMethod": "POST", +"id": "dialogflow.projects.locations.agents.sessions.fulfillIntent", +"parameterOrder": [ +"session" +], +"parameters": { +"session": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/sessions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3beta1/{+session}:fulfillIntent", +"request": { +"$ref": "GoogleCloudDialogflowCxV3beta1FulfillIntentRequest" +}, +"response": { +"$ref": "GoogleCloudDialogflowCxV3beta1FulfillIntentResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"matchIntent": { +"description": "", +"flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/sessions/{sessionsId}:matchIntent", +"httpMethod": "POST", +"id": "dialogflow.projects.locations.agents.sessions.matchIntent", +"parameterOrder": [ +"session" +], +"parameters": { +"session": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/sessions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3beta1/{+session}:matchIntent", +"request": { +"$ref": "GoogleCloudDialogflowCxV3beta1MatchIntentRequest" +}, +"response": { +"$ref": "GoogleCloudDialogflowCxV3beta1MatchIntentResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"serverStreamingDetectIntent": { +"description": "", +"flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/sessions/{sessionsId}:serverStreamingDetectIntent", +"httpMethod": "POST", +"id": "dialogflow.projects.locations.agents.sessions.serverStreamingDetectIntent", +"parameterOrder": [ +"session" +], +"parameters": { +"session": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/sessions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3beta1/{+session}:serverStreamingDetectIntent", +"request": { +"$ref": "GoogleCloudDialogflowCxV3beta1DetectIntentRequest" +}, +"response": { +"$ref": "GoogleCloudDialogflowCxV3beta1DetectIntentResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"submitAnswerFeedback": { +"description": "", +"flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/sessions/{sessionsId}:submitAnswerFeedback", +"httpMethod": "POST", +"id": "dialogflow.projects.locations.agents.sessions.submitAnswerFeedback", +"parameterOrder": [ +"session" +], +"parameters": { +"session": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/sessions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3beta1/{+session}:submitAnswerFeedback", +"request": { +"$ref": "GoogleCloudDialogflowCxV3beta1SubmitAnswerFeedbackRequest" +}, +"response": { +"$ref": "GoogleCloudDialogflowCxV3beta1AnswerFeedback" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +} +}, +"resources": { +"entityTypes": { +"methods": { +"create": { +"description": "", +"flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/sessions/{sessionsId}/entityTypes", +"httpMethod": "POST", +"id": "dialogflow.projects.locations.agents.sessions.entityTypes.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/sessions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3beta1/{+parent}/entityTypes", +"request": { +"$ref": "GoogleCloudDialogflowCxV3beta1SessionEntityType" +}, +"response": { +"$ref": "GoogleCloudDialogflowCxV3beta1SessionEntityType" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"delete": { +"description": "", +"flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/sessions/{sessionsId}/entityTypes/{entityTypesId}", +"httpMethod": "DELETE", +"id": "dialogflow.projects.locations.agents.sessions.entityTypes.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/sessions/[^/]+/entityTypes/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3beta1/{+name}", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"get": { +"description": "", +"flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/sessions/{sessionsId}/entityTypes/{entityTypesId}", +"httpMethod": "GET", +"id": "dialogflow.projects.locations.agents.sessions.entityTypes.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/sessions/[^/]+/entityTypes/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3beta1/{+name}", +"response": { +"$ref": "GoogleCloudDialogflowCxV3beta1SessionEntityType" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"list": { +"description": "", +"flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/sessions/{sessionsId}/entityTypes", +"httpMethod": "GET", +"id": "dialogflow.projects.locations.agents.sessions.entityTypes.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"location": "query", +"type": "string" +}, +"parent": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/sessions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3beta1/{+parent}/entityTypes", +"response": { +"$ref": "GoogleCloudDialogflowCxV3beta1ListSessionEntityTypesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"patch": { +"description": "", +"flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/sessions/{sessionsId}/entityTypes/{entityTypesId}", +"httpMethod": "PATCH", +"id": "dialogflow.projects.locations.agents.sessions.entityTypes.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/sessions/[^/]+/entityTypes/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v3beta1/{+name}", +"request": { +"$ref": "GoogleCloudDialogflowCxV3beta1SessionEntityType" +}, +"response": { +"$ref": "GoogleCloudDialogflowCxV3beta1SessionEntityType" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +} +} +} +} +}, +"testCases": { +"methods": { +"batchDelete": { +"description": "", +"flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/testCases:batchDelete", +"httpMethod": "POST", +"id": "dialogflow.projects.locations.agents.testCases.batchDelete", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3beta1/{+parent}/testCases:batchDelete", +"request": { +"$ref": "GoogleCloudDialogflowCxV3beta1BatchDeleteTestCasesRequest" +}, +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"batchRun": { +"description": "", +"flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/testCases:batchRun", +"httpMethod": "POST", +"id": "dialogflow.projects.locations.agents.testCases.batchRun", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3beta1/{+parent}/testCases:batchRun", +"request": { +"$ref": "GoogleCloudDialogflowCxV3beta1BatchRunTestCasesRequest" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"calculateCoverage": { +"description": "", +"flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/testCases:calculateCoverage", +"httpMethod": "GET", +"id": "dialogflow.projects.locations.agents.testCases.calculateCoverage", +"parameterOrder": [ +"agent" +], +"parameters": { +"agent": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+$", +"required": true, +"type": "string" +}, +"type": { +"enum": [ +"COVERAGE_TYPE_UNSPECIFIED", +"INTENT", +"PAGE_TRANSITION", +"TRANSITION_ROUTE_GROUP" +], +"enumDescriptions": [ +"", +"", +"", +"" +], +"location": "query", +"type": "string" +} +}, +"path": "v3beta1/{+agent}/testCases:calculateCoverage", +"response": { +"$ref": "GoogleCloudDialogflowCxV3beta1CalculateCoverageResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"create": { +"description": "", +"flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/testCases", +"httpMethod": "POST", +"id": "dialogflow.projects.locations.agents.testCases.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3beta1/{+parent}/testCases", +"request": { +"$ref": "GoogleCloudDialogflowCxV3beta1TestCase" +}, +"response": { +"$ref": "GoogleCloudDialogflowCxV3beta1TestCase" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"export": { +"description": "", +"flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/testCases:export", +"httpMethod": "POST", +"id": "dialogflow.projects.locations.agents.testCases.export", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3beta1/{+parent}/testCases:export", +"request": { +"$ref": "GoogleCloudDialogflowCxV3beta1ExportTestCasesRequest" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"get": { +"description": "", +"flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/testCases/{testCasesId}", +"httpMethod": "GET", +"id": "dialogflow.projects.locations.agents.testCases.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/testCases/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3beta1/{+name}", +"response": { +"$ref": "GoogleCloudDialogflowCxV3beta1TestCase" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"import": { +"description": "", +"flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/testCases:import", +"httpMethod": "POST", +"id": "dialogflow.projects.locations.agents.testCases.import", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3beta1/{+parent}/testCases:import", +"request": { +"$ref": "GoogleCloudDialogflowCxV3beta1ImportTestCasesRequest" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"list": { +"description": "", +"flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/testCases", +"httpMethod": "GET", +"id": "dialogflow.projects.locations.agents.testCases.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"location": "query", +"type": "string" +}, +"parent": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+$", +"required": true, +"type": "string" +}, +"view": { +"enum": [ +"TEST_CASE_VIEW_UNSPECIFIED", +"BASIC", +"FULL" +], +"enumDescriptions": [ +"", +"", +"" +], +"location": "query", +"type": "string" +} +}, +"path": "v3beta1/{+parent}/testCases", +"response": { +"$ref": "GoogleCloudDialogflowCxV3beta1ListTestCasesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"patch": { +"description": "", +"flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/testCases/{testCasesId}", +"httpMethod": "PATCH", +"id": "dialogflow.projects.locations.agents.testCases.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/testCases/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v3beta1/{+name}", +"request": { +"$ref": "GoogleCloudDialogflowCxV3beta1TestCase" +}, +"response": { +"$ref": "GoogleCloudDialogflowCxV3beta1TestCase" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"run": { +"description": "", +"flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/testCases/{testCasesId}:run", +"httpMethod": "POST", +"id": "dialogflow.projects.locations.agents.testCases.run", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/testCases/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3beta1/{+name}:run", +"request": { +"$ref": "GoogleCloudDialogflowCxV3beta1RunTestCaseRequest" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +} +}, +"resources": { +"results": { +"methods": { +"get": { +"description": "", +"flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/testCases/{testCasesId}/results/{resultsId}", +"httpMethod": "GET", +"id": "dialogflow.projects.locations.agents.testCases.results.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/testCases/[^/]+/results/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3beta1/{+name}", +"response": { +"$ref": "GoogleCloudDialogflowCxV3beta1TestCaseResult" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"list": { +"description": "", +"flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/testCases/{testCasesId}/results", +"httpMethod": "GET", +"id": "dialogflow.projects.locations.agents.testCases.results.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"location": "query", +"type": "string" +}, +"pageSize": { +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"location": "query", +"type": "string" +}, +"parent": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/testCases/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3beta1/{+parent}/results", +"response": { +"$ref": "GoogleCloudDialogflowCxV3beta1ListTestCaseResultsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +} +} +} +} +}, +"tools": { +"methods": { +"create": { +"description": "", +"flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/tools", +"httpMethod": "POST", +"id": "dialogflow.projects.locations.agents.tools.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3beta1/{+parent}/tools", +"request": { +"$ref": "GoogleCloudDialogflowCxV3beta1Tool" +}, +"response": { +"$ref": "GoogleCloudDialogflowCxV3beta1Tool" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"delete": { +"description": "", +"flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/tools/{toolsId}", +"httpMethod": "DELETE", +"id": "dialogflow.projects.locations.agents.tools.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"force": { +"location": "query", +"type": "boolean" +}, +"name": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/tools/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3beta1/{+name}", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"export": { +"description": "", +"flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/tools:export", +"httpMethod": "POST", +"id": "dialogflow.projects.locations.agents.tools.export", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3beta1/{+parent}/tools:export", +"request": { +"$ref": "GoogleCloudDialogflowCxV3beta1ExportToolsRequest" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"get": { +"description": "", +"flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/tools/{toolsId}", +"httpMethod": "GET", +"id": "dialogflow.projects.locations.agents.tools.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/tools/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3beta1/{+name}", +"response": { +"$ref": "GoogleCloudDialogflowCxV3beta1Tool" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"list": { +"description": "", +"flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/tools", +"httpMethod": "GET", +"id": "dialogflow.projects.locations.agents.tools.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"location": "query", +"type": "string" +}, +"parent": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3beta1/{+parent}/tools", +"response": { +"$ref": "GoogleCloudDialogflowCxV3beta1ListToolsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"patch": { +"description": "", +"flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/tools/{toolsId}", +"httpMethod": "PATCH", +"id": "dialogflow.projects.locations.agents.tools.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/tools/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v3beta1/{+name}", +"request": { +"$ref": "GoogleCloudDialogflowCxV3beta1Tool" +}, +"response": { +"$ref": "GoogleCloudDialogflowCxV3beta1Tool" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +} +}, +"resources": { +"versions": { +"methods": { +"create": { +"description": "", +"flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/tools/{toolsId}/versions", +"httpMethod": "POST", +"id": "dialogflow.projects.locations.agents.tools.versions.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/tools/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3beta1/{+parent}/versions", +"request": { +"$ref": "GoogleCloudDialogflowCxV3beta1ToolVersion" +}, +"response": { +"$ref": "GoogleCloudDialogflowCxV3beta1ToolVersion" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"delete": { +"description": "", +"flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/tools/{toolsId}/versions/{versionsId}", +"httpMethod": "DELETE", +"id": "dialogflow.projects.locations.agents.tools.versions.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"force": { +"location": "query", +"type": "boolean" +}, +"name": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/tools/[^/]+/versions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3beta1/{+name}", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"get": { +"description": "", +"flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/tools/{toolsId}/versions/{versionsId}", +"httpMethod": "GET", +"id": "dialogflow.projects.locations.agents.tools.versions.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/tools/[^/]+/versions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3beta1/{+name}", +"response": { +"$ref": "GoogleCloudDialogflowCxV3beta1ToolVersion" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"list": { +"description": "", +"flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/tools/{toolsId}/versions", +"httpMethod": "GET", +"id": "dialogflow.projects.locations.agents.tools.versions.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"location": "query", +"type": "string" +}, +"parent": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/tools/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3beta1/{+parent}/versions", +"response": { +"$ref": "GoogleCloudDialogflowCxV3beta1ListToolVersionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"restore": { +"description": "", +"flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/tools/{toolsId}/versions/{versionsId}:restore", +"httpMethod": "POST", +"id": "dialogflow.projects.locations.agents.tools.versions.restore", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/tools/[^/]+/versions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3beta1/{+name}:restore", +"request": { +"$ref": "GoogleCloudDialogflowCxV3beta1RestoreToolVersionRequest" +}, +"response": { +"$ref": "GoogleCloudDialogflowCxV3beta1RestoreToolVersionResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +} +} +} +} +}, +"transitionRouteGroups": { +"methods": { +"create": { +"description": "", +"flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/transitionRouteGroups", +"httpMethod": "POST", +"id": "dialogflow.projects.locations.agents.transitionRouteGroups.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"languageCode": { +"location": "query", +"type": "string" +}, +"parent": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3beta1/{+parent}/transitionRouteGroups", +"request": { +"$ref": "GoogleCloudDialogflowCxV3beta1TransitionRouteGroup" +}, +"response": { +"$ref": "GoogleCloudDialogflowCxV3beta1TransitionRouteGroup" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"delete": { +"description": "", +"flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/transitionRouteGroups/{transitionRouteGroupsId}", +"httpMethod": "DELETE", +"id": "dialogflow.projects.locations.agents.transitionRouteGroups.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"force": { +"location": "query", +"type": "boolean" +}, +"name": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/transitionRouteGroups/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3beta1/{+name}", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"get": { +"description": "", +"flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/transitionRouteGroups/{transitionRouteGroupsId}", +"httpMethod": "GET", +"id": "dialogflow.projects.locations.agents.transitionRouteGroups.get", +"parameterOrder": [ +"name" +], +"parameters": { +"languageCode": { +"location": "query", +"type": "string" +}, +"name": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/transitionRouteGroups/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3beta1/{+name}", +"response": { +"$ref": "GoogleCloudDialogflowCxV3beta1TransitionRouteGroup" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"list": { +"description": "", +"flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/transitionRouteGroups", +"httpMethod": "GET", +"id": "dialogflow.projects.locations.agents.transitionRouteGroups.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"languageCode": { +"location": "query", +"type": "string" +}, +"pageSize": { +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"location": "query", +"type": "string" +}, +"parent": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3beta1/{+parent}/transitionRouteGroups", +"response": { +"$ref": "GoogleCloudDialogflowCxV3beta1ListTransitionRouteGroupsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"patch": { +"description": "", +"flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/transitionRouteGroups/{transitionRouteGroupsId}", +"httpMethod": "PATCH", +"id": "dialogflow.projects.locations.agents.transitionRouteGroups.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"languageCode": { +"location": "query", +"type": "string" +}, +"name": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/transitionRouteGroups/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v3beta1/{+name}", +"request": { +"$ref": "GoogleCloudDialogflowCxV3beta1TransitionRouteGroup" +}, +"response": { +"$ref": "GoogleCloudDialogflowCxV3beta1TransitionRouteGroup" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +} +} +}, +"webhooks": { +"methods": { +"create": { +"description": "", +"flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/webhooks", +"httpMethod": "POST", +"id": "dialogflow.projects.locations.agents.webhooks.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3beta1/{+parent}/webhooks", +"request": { +"$ref": "GoogleCloudDialogflowCxV3beta1Webhook" +}, +"response": { +"$ref": "GoogleCloudDialogflowCxV3beta1Webhook" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"delete": { +"description": "", +"flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/webhooks/{webhooksId}", +"httpMethod": "DELETE", +"id": "dialogflow.projects.locations.agents.webhooks.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"force": { +"location": "query", +"type": "boolean" +}, +"name": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/webhooks/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3beta1/{+name}", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"get": { +"description": "", +"flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/webhooks/{webhooksId}", +"httpMethod": "GET", +"id": "dialogflow.projects.locations.agents.webhooks.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/webhooks/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3beta1/{+name}", +"response": { +"$ref": "GoogleCloudDialogflowCxV3beta1Webhook" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"list": { +"description": "", +"flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/webhooks", +"httpMethod": "GET", +"id": "dialogflow.projects.locations.agents.webhooks.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"location": "query", +"type": "string" +}, +"parent": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3beta1/{+parent}/webhooks", +"response": { +"$ref": "GoogleCloudDialogflowCxV3beta1ListWebhooksResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"patch": { +"description": "", +"flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/webhooks/{webhooksId}", +"httpMethod": "PATCH", +"id": "dialogflow.projects.locations.agents.webhooks.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/webhooks/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v3beta1/{+name}", +"request": { +"$ref": "GoogleCloudDialogflowCxV3beta1Webhook" +}, +"response": { +"$ref": "GoogleCloudDialogflowCxV3beta1Webhook" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +} +} +} +} +}, +"operations": { +"methods": { +"cancel": { +"description": "", +"flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}:cancel", +"httpMethod": "POST", +"id": "dialogflow.projects.locations.operations.cancel", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3beta1/{+name}:cancel", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"get": { +"description": "", +"flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}", +"httpMethod": "GET", +"id": "dialogflow.projects.locations.operations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3beta1/{+name}", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"list": { +"description": "", +"flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/operations", +"httpMethod": "GET", +"id": "dialogflow.projects.locations.operations.list", +"parameterOrder": [ +"name" +], +"parameters": { +"filter": { +"location": "query", +"type": "string" +}, +"name": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"location": "query", +"type": "string" +}, +"returnPartialSuccess": { +"location": "query", +"type": "boolean" +} +}, +"path": "v3beta1/{+name}/operations", +"response": { +"$ref": "GoogleLongrunningListOperationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +} +} +}, +"securitySettings": { +"methods": { +"create": { +"description": "", +"flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/securitySettings", +"httpMethod": "POST", +"id": "dialogflow.projects.locations.securitySettings.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3beta1/{+parent}/securitySettings", +"request": { +"$ref": "GoogleCloudDialogflowCxV3beta1SecuritySettings" +}, +"response": { +"$ref": "GoogleCloudDialogflowCxV3beta1SecuritySettings" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"delete": { +"description": "", +"flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/securitySettings/{securitySettingsId}", +"httpMethod": "DELETE", +"id": "dialogflow.projects.locations.securitySettings.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/securitySettings/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3beta1/{+name}", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"get": { +"description": "", +"flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/securitySettings/{securitySettingsId}", +"httpMethod": "GET", +"id": "dialogflow.projects.locations.securitySettings.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/securitySettings/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3beta1/{+name}", +"response": { +"$ref": "GoogleCloudDialogflowCxV3beta1SecuritySettings" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"list": { +"description": "", +"flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/securitySettings", +"httpMethod": "GET", +"id": "dialogflow.projects.locations.securitySettings.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"location": "query", +"type": "string" +}, +"parent": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3beta1/{+parent}/securitySettings", +"response": { +"$ref": "GoogleCloudDialogflowCxV3beta1ListSecuritySettingsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"patch": { +"description": "", +"flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/securitySettings/{securitySettingsId}", +"httpMethod": "PATCH", +"id": "dialogflow.projects.locations.securitySettings.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/securitySettings/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v3beta1/{+name}", +"request": { +"$ref": "GoogleCloudDialogflowCxV3beta1SecuritySettings" +}, +"response": { +"$ref": "GoogleCloudDialogflowCxV3beta1SecuritySettings" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +} +} +} +} +}, +"operations": { +"methods": { +"cancel": { +"description": "", +"flatPath": "v3beta1/projects/{projectsId}/operations/{operationsId}:cancel", +"httpMethod": "POST", +"id": "dialogflow.projects.operations.cancel", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"location": "path", +"pattern": "^projects/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3beta1/{+name}:cancel", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"get": { +"description": "", +"flatPath": "v3beta1/projects/{projectsId}/operations/{operationsId}", +"httpMethod": "GET", +"id": "dialogflow.projects.operations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"location": "path", +"pattern": "^projects/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3beta1/{+name}", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +}, +"list": { +"description": "", +"flatPath": "v3beta1/projects/{projectsId}/operations", +"httpMethod": "GET", +"id": "dialogflow.projects.operations.list", +"parameterOrder": [ +"name" +], +"parameters": { +"filter": { +"location": "query", +"type": "string" +}, +"name": { +"location": "path", +"pattern": "^projects/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"location": "query", +"type": "string" +}, +"returnPartialSuccess": { +"location": "query", +"type": "boolean" +} +}, +"path": "v3beta1/{+name}/operations", +"response": { +"$ref": "GoogleLongrunningListOperationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/dialogflow" +] +} +} +} +} +} +}, +"revision": "20260119", +"rootUrl": "https://dialogflow.googleapis.com/", +"schemas": { +"GoogleCloudDialogflowCxV3AdvancedSettings": { +"id": "GoogleCloudDialogflowCxV3AdvancedSettings", +"properties": { +"audioExportGcsDestination": { +"$ref": "GoogleCloudDialogflowCxV3GcsDestination" +}, +"dtmfSettings": { +"$ref": "GoogleCloudDialogflowCxV3AdvancedSettingsDtmfSettings" +}, +"loggingSettings": { +"$ref": "GoogleCloudDialogflowCxV3AdvancedSettingsLoggingSettings" +}, +"speechSettings": { +"$ref": "GoogleCloudDialogflowCxV3AdvancedSettingsSpeechSettings" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3AdvancedSettingsDtmfSettings": { +"id": "GoogleCloudDialogflowCxV3AdvancedSettingsDtmfSettings", +"properties": { +"enabled": { +"type": "boolean" +}, +"endpointingTimeoutDuration": { +"format": "google-duration", +"type": "string" +}, +"finishDigit": { +"type": "string" +}, +"interdigitTimeoutDuration": { +"format": "google-duration", +"type": "string" +}, +"maxDigits": { +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3AdvancedSettingsLoggingSettings": { +"id": "GoogleCloudDialogflowCxV3AdvancedSettingsLoggingSettings", +"properties": { +"enableConsentBasedRedaction": { +"type": "boolean" +}, +"enableInteractionLogging": { +"type": "boolean" +}, +"enableStackdriverLogging": { +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3AdvancedSettingsSpeechSettings": { +"id": "GoogleCloudDialogflowCxV3AdvancedSettingsSpeechSettings", +"properties": { +"endpointerSensitivity": { +"format": "int32", +"type": "integer" +}, +"models": { +"additionalProperties": { +"type": "string" +}, +"type": "object" +}, +"noSpeechTimeout": { +"format": "google-duration", +"type": "string" +}, +"useTimeoutBasedEndpointing": { +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3AudioInput": { +"id": "GoogleCloudDialogflowCxV3AudioInput", +"properties": { +"audio": { +"format": "byte", +"type": "string" +}, +"config": { +"$ref": "GoogleCloudDialogflowCxV3InputAudioConfig" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3BargeInConfig": { +"id": "GoogleCloudDialogflowCxV3BargeInConfig", +"properties": { +"noBargeInDuration": { +"format": "google-duration", +"type": "string" +}, +"totalDuration": { +"format": "google-duration", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3BatchRunTestCasesMetadata": { +"id": "GoogleCloudDialogflowCxV3BatchRunTestCasesMetadata", +"properties": { +"errors": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3TestError" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3BatchRunTestCasesResponse": { +"id": "GoogleCloudDialogflowCxV3BatchRunTestCasesResponse", +"properties": { +"results": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3TestCaseResult" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3ContinuousTestResult": { +"id": "GoogleCloudDialogflowCxV3ContinuousTestResult", +"properties": { +"name": { +"type": "string" +}, +"result": { +"enum": [ +"AGGREGATED_TEST_RESULT_UNSPECIFIED", +"PASSED", +"FAILED" +], +"enumDescriptions": [ +"", +"", +"" +], +"type": "string" +}, +"runTime": { +"format": "google-datetime", +"type": "string" +}, +"testCaseResults": { +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3ConversationSignals": { +"id": "GoogleCloudDialogflowCxV3ConversationSignals", +"properties": { +"turnSignals": { +"$ref": "GoogleCloudDialogflowCxV3TurnSignals" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3ConversationTurn": { +"id": "GoogleCloudDialogflowCxV3ConversationTurn", +"properties": { +"userInput": { +"$ref": "GoogleCloudDialogflowCxV3ConversationTurnUserInput" +}, +"virtualAgentOutput": { +"$ref": "GoogleCloudDialogflowCxV3ConversationTurnVirtualAgentOutput" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3ConversationTurnUserInput": { +"id": "GoogleCloudDialogflowCxV3ConversationTurnUserInput", +"properties": { +"enableSentimentAnalysis": { +"type": "boolean" +}, +"injectedParameters": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"type": "object" +}, +"input": { +"$ref": "GoogleCloudDialogflowCxV3QueryInput" +}, +"isWebhookEnabled": { +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3ConversationTurnVirtualAgentOutput": { +"id": "GoogleCloudDialogflowCxV3ConversationTurnVirtualAgentOutput", +"properties": { +"currentPage": { +"$ref": "GoogleCloudDialogflowCxV3Page" +}, +"diagnosticInfo": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"type": "object" +}, +"differences": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3TestRunDifference" +}, +"readOnly": true, +"type": "array" +}, +"sessionParameters": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"type": "object" +}, +"status": { +"$ref": "GoogleRpcStatus" +}, +"textResponses": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3ResponseMessageText" +}, +"type": "array" +}, +"triggeredIntent": { +"$ref": "GoogleCloudDialogflowCxV3Intent" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3CreateVersionOperationMetadata": { +"id": "GoogleCloudDialogflowCxV3CreateVersionOperationMetadata", +"properties": { +"version": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3DataStoreConnection": { +"id": "GoogleCloudDialogflowCxV3DataStoreConnection", +"properties": { +"dataStore": { +"type": "string" +}, +"dataStoreType": { +"enum": [ +"DATA_STORE_TYPE_UNSPECIFIED", +"PUBLIC_WEB", +"UNSTRUCTURED", +"STRUCTURED" +], +"enumDescriptions": [ +"", +"", +"", +"" +], +"type": "string" +}, +"documentProcessingMode": { +"enum": [ +"DOCUMENT_PROCESSING_MODE_UNSPECIFIED", +"DOCUMENTS", +"CHUNKS" +], +"enumDescriptions": [ +"", +"", +"" +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3DeployFlowMetadata": { +"id": "GoogleCloudDialogflowCxV3DeployFlowMetadata", +"properties": { +"testErrors": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3TestError" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3DeployFlowResponse": { +"id": "GoogleCloudDialogflowCxV3DeployFlowResponse", +"properties": { +"deployment": { +"type": "string" +}, +"environment": { +"$ref": "GoogleCloudDialogflowCxV3Environment" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3DtmfInput": { +"id": "GoogleCloudDialogflowCxV3DtmfInput", +"properties": { +"digits": { +"type": "string" +}, +"finishDigit": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3Environment": { +"id": "GoogleCloudDialogflowCxV3Environment", +"properties": { +"description": { +"type": "string" +}, +"displayName": { +"type": "string" +}, +"name": { +"type": "string" +}, +"testCasesConfig": { +"$ref": "GoogleCloudDialogflowCxV3EnvironmentTestCasesConfig" +}, +"updateTime": { +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"versionConfigs": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3EnvironmentVersionConfig" +}, +"type": "array" +}, +"webhookConfig": { +"$ref": "GoogleCloudDialogflowCxV3EnvironmentWebhookConfig" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3EnvironmentTestCasesConfig": { +"id": "GoogleCloudDialogflowCxV3EnvironmentTestCasesConfig", +"properties": { +"enableContinuousRun": { +"type": "boolean" +}, +"enablePredeploymentRun": { +"type": "boolean" +}, +"testCases": { +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3EnvironmentVersionConfig": { +"id": "GoogleCloudDialogflowCxV3EnvironmentVersionConfig", +"properties": { +"version": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3EnvironmentWebhookConfig": { +"id": "GoogleCloudDialogflowCxV3EnvironmentWebhookConfig", +"properties": { +"webhookOverrides": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3Webhook" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3EventHandler": { +"id": "GoogleCloudDialogflowCxV3EventHandler", +"properties": { +"event": { +"type": "string" +}, +"name": { +"readOnly": true, +"type": "string" +}, +"targetFlow": { +"type": "string" +}, +"targetPage": { +"type": "string" +}, +"targetPlaybook": { +"type": "string" +}, +"triggerFulfillment": { +"$ref": "GoogleCloudDialogflowCxV3Fulfillment" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3EventInput": { +"id": "GoogleCloudDialogflowCxV3EventInput", +"properties": { +"event": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3ExportAgentResponse": { +"id": "GoogleCloudDialogflowCxV3ExportAgentResponse", +"properties": { +"agentContent": { +"format": "byte", +"type": "string" +}, +"agentUri": { +"type": "string" +}, +"commitSha": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3ExportEntityTypesMetadata": { +"id": "GoogleCloudDialogflowCxV3ExportEntityTypesMetadata", +"properties": {}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3ExportEntityTypesResponse": { +"id": "GoogleCloudDialogflowCxV3ExportEntityTypesResponse", +"properties": { +"entityTypesContent": { +"$ref": "GoogleCloudDialogflowCxV3InlineDestination" +}, +"entityTypesUri": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3ExportFlowResponse": { +"id": "GoogleCloudDialogflowCxV3ExportFlowResponse", +"properties": { +"flowContent": { +"format": "byte", +"type": "string" +}, +"flowUri": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3ExportIntentsMetadata": { +"id": "GoogleCloudDialogflowCxV3ExportIntentsMetadata", +"properties": {}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3ExportIntentsResponse": { +"id": "GoogleCloudDialogflowCxV3ExportIntentsResponse", +"properties": { +"intentsContent": { +"$ref": "GoogleCloudDialogflowCxV3InlineDestination" +}, +"intentsUri": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3ExportTestCasesMetadata": { +"id": "GoogleCloudDialogflowCxV3ExportTestCasesMetadata", +"properties": {}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3ExportTestCasesResponse": { +"id": "GoogleCloudDialogflowCxV3ExportTestCasesResponse", +"properties": { +"content": { +"format": "byte", +"type": "string" +}, +"gcsUri": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3Form": { +"id": "GoogleCloudDialogflowCxV3Form", +"properties": { +"parameters": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3FormParameter" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3FormParameter": { +"id": "GoogleCloudDialogflowCxV3FormParameter", +"properties": { +"advancedSettings": { +"$ref": "GoogleCloudDialogflowCxV3AdvancedSettings" +}, +"defaultValue": { +"type": "any" +}, +"displayName": { +"type": "string" +}, +"entityType": { +"type": "string" +}, +"fillBehavior": { +"$ref": "GoogleCloudDialogflowCxV3FormParameterFillBehavior" +}, +"isList": { +"type": "boolean" +}, +"redact": { +"type": "boolean" +}, +"required": { +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3FormParameterFillBehavior": { +"id": "GoogleCloudDialogflowCxV3FormParameterFillBehavior", +"properties": { +"initialPromptFulfillment": { +"$ref": "GoogleCloudDialogflowCxV3Fulfillment" +}, +"repromptEventHandlers": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3EventHandler" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3Fulfillment": { +"id": "GoogleCloudDialogflowCxV3Fulfillment", +"properties": { +"advancedSettings": { +"$ref": "GoogleCloudDialogflowCxV3AdvancedSettings" +}, +"conditionalCases": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3FulfillmentConditionalCases" +}, +"type": "array" +}, +"enableGenerativeFallback": { +"type": "boolean" +}, +"generators": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3FulfillmentGeneratorSettings" +}, +"type": "array" +}, +"messages": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3ResponseMessage" +}, +"type": "array" +}, +"returnPartialResponses": { +"type": "boolean" +}, +"setParameterActions": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3FulfillmentSetParameterAction" +}, +"type": "array" +}, +"tag": { +"type": "string" +}, +"webhook": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3FulfillmentConditionalCases": { +"id": "GoogleCloudDialogflowCxV3FulfillmentConditionalCases", +"properties": { +"cases": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3FulfillmentConditionalCasesCase" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3FulfillmentConditionalCasesCase": { +"id": "GoogleCloudDialogflowCxV3FulfillmentConditionalCasesCase", +"properties": { +"caseContent": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3FulfillmentConditionalCasesCaseCaseContent" +}, +"type": "array" +}, +"condition": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3FulfillmentConditionalCasesCaseCaseContent": { +"id": "GoogleCloudDialogflowCxV3FulfillmentConditionalCasesCaseCaseContent", +"properties": { +"additionalCases": { +"$ref": "GoogleCloudDialogflowCxV3FulfillmentConditionalCases" +}, +"message": { +"$ref": "GoogleCloudDialogflowCxV3ResponseMessage" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3FulfillmentGeneratorSettings": { +"id": "GoogleCloudDialogflowCxV3FulfillmentGeneratorSettings", +"properties": { +"generator": { +"type": "string" +}, +"inputParameters": { +"additionalProperties": { +"type": "string" +}, +"type": "object" +}, +"outputParameter": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3FulfillmentSetParameterAction": { +"id": "GoogleCloudDialogflowCxV3FulfillmentSetParameterAction", +"properties": { +"parameter": { +"type": "string" +}, +"value": { +"type": "any" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3GcsDestination": { +"id": "GoogleCloudDialogflowCxV3GcsDestination", +"properties": { +"uri": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3ImportEntityTypesMetadata": { +"id": "GoogleCloudDialogflowCxV3ImportEntityTypesMetadata", +"properties": {}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3ImportEntityTypesResponse": { +"id": "GoogleCloudDialogflowCxV3ImportEntityTypesResponse", +"properties": { +"conflictingResources": { +"$ref": "GoogleCloudDialogflowCxV3ImportEntityTypesResponseConflictingResources" +}, +"entityTypes": { +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3ImportEntityTypesResponseConflictingResources": { +"id": "GoogleCloudDialogflowCxV3ImportEntityTypesResponseConflictingResources", +"properties": { +"entityDisplayNames": { +"items": { +"type": "string" +}, +"type": "array" +}, +"entityTypeDisplayNames": { +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3ImportFlowResponse": { +"id": "GoogleCloudDialogflowCxV3ImportFlowResponse", +"properties": { +"flow": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3ImportIntentsMetadata": { +"id": "GoogleCloudDialogflowCxV3ImportIntentsMetadata", +"properties": {}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3ImportIntentsResponse": { +"id": "GoogleCloudDialogflowCxV3ImportIntentsResponse", +"properties": { +"conflictingResources": { +"$ref": "GoogleCloudDialogflowCxV3ImportIntentsResponseConflictingResources" +}, +"intents": { +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3ImportIntentsResponseConflictingResources": { +"id": "GoogleCloudDialogflowCxV3ImportIntentsResponseConflictingResources", +"properties": { +"entityDisplayNames": { +"items": { +"type": "string" +}, +"type": "array" +}, +"intentDisplayNames": { +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3ImportTestCasesMetadata": { +"id": "GoogleCloudDialogflowCxV3ImportTestCasesMetadata", +"properties": { +"errors": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3TestCaseError" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3ImportTestCasesResponse": { +"id": "GoogleCloudDialogflowCxV3ImportTestCasesResponse", +"properties": { +"names": { +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3InlineDestination": { +"id": "GoogleCloudDialogflowCxV3InlineDestination", +"properties": { +"content": { +"format": "byte", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3InputAudioConfig": { +"id": "GoogleCloudDialogflowCxV3InputAudioConfig", +"properties": { +"audioEncoding": { +"enum": [ +"AUDIO_ENCODING_UNSPECIFIED", +"AUDIO_ENCODING_LINEAR_16", +"AUDIO_ENCODING_FLAC", +"AUDIO_ENCODING_MULAW", +"AUDIO_ENCODING_AMR", +"AUDIO_ENCODING_AMR_WB", +"AUDIO_ENCODING_OGG_OPUS", +"AUDIO_ENCODING_SPEEX_WITH_HEADER_BYTE", +"AUDIO_ENCODING_ALAW" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"", +"", +"", +"" +], +"type": "string" +}, +"bargeInConfig": { +"$ref": "GoogleCloudDialogflowCxV3BargeInConfig" +}, +"enableWordInfo": { +"type": "boolean" +}, +"model": { +"type": "string" +}, +"modelVariant": { +"enum": [ +"SPEECH_MODEL_VARIANT_UNSPECIFIED", +"USE_BEST_AVAILABLE", +"USE_STANDARD", +"USE_ENHANCED" +], +"enumDescriptions": [ +"", +"", +"", +"" +], +"type": "string" +}, +"optOutConformerModelMigration": { +"type": "boolean" +}, +"phraseHints": { +"items": { +"type": "string" +}, +"type": "array" +}, +"sampleRateHertz": { +"format": "int32", +"type": "integer" +}, +"singleUtterance": { +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3Intent": { +"id": "GoogleCloudDialogflowCxV3Intent", +"properties": { +"description": { +"type": "string" +}, +"displayName": { +"type": "string" +}, +"isFallback": { +"type": "boolean" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"type": "object" +}, +"name": { +"type": "string" +}, +"parameters": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3IntentParameter" +}, +"type": "array" +}, +"priority": { +"format": "int32", +"type": "integer" +}, +"trainingPhrases": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3IntentTrainingPhrase" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3IntentInput": { +"id": "GoogleCloudDialogflowCxV3IntentInput", +"properties": { +"intent": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3IntentParameter": { +"id": "GoogleCloudDialogflowCxV3IntentParameter", +"properties": { +"entityType": { +"type": "string" +}, +"id": { +"type": "string" +}, +"isList": { +"type": "boolean" +}, +"redact": { +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3IntentTrainingPhrase": { +"id": "GoogleCloudDialogflowCxV3IntentTrainingPhrase", +"properties": { +"id": { +"readOnly": true, +"type": "string" +}, +"parts": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3IntentTrainingPhrasePart" +}, +"type": "array" +}, +"repeatCount": { +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3IntentTrainingPhrasePart": { +"id": "GoogleCloudDialogflowCxV3IntentTrainingPhrasePart", +"properties": { +"parameterId": { +"type": "string" +}, +"text": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3KnowledgeConnectorSettings": { +"id": "GoogleCloudDialogflowCxV3KnowledgeConnectorSettings", +"properties": { +"dataStoreConnections": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3DataStoreConnection" +}, +"type": "array" +}, +"enabled": { +"type": "boolean" +}, +"targetFlow": { +"type": "string" +}, +"targetPage": { +"type": "string" +}, +"triggerFulfillment": { +"$ref": "GoogleCloudDialogflowCxV3Fulfillment" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3LanguageInfo": { +"id": "GoogleCloudDialogflowCxV3LanguageInfo", +"properties": { +"confidenceScore": { +"format": "float", +"type": "number" +}, +"inputLanguageCode": { +"type": "string" +}, +"resolvedLanguageCode": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3Page": { +"id": "GoogleCloudDialogflowCxV3Page", +"properties": { +"advancedSettings": { +"$ref": "GoogleCloudDialogflowCxV3AdvancedSettings" +}, +"description": { +"type": "string" +}, +"displayName": { +"type": "string" +}, +"entryFulfillment": { +"$ref": "GoogleCloudDialogflowCxV3Fulfillment" +}, +"eventHandlers": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3EventHandler" +}, +"type": "array" +}, +"form": { +"$ref": "GoogleCloudDialogflowCxV3Form" +}, +"knowledgeConnectorSettings": { +"$ref": "GoogleCloudDialogflowCxV3KnowledgeConnectorSettings" +}, +"name": { +"type": "string" +}, +"transitionRouteGroups": { +"items": { +"type": "string" +}, +"type": "array" +}, +"transitionRoutes": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3TransitionRoute" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3PageInfo": { +"id": "GoogleCloudDialogflowCxV3PageInfo", +"properties": { +"currentPage": { +"type": "string" +}, +"displayName": { +"type": "string" +}, +"formInfo": { +"$ref": "GoogleCloudDialogflowCxV3PageInfoFormInfo" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3PageInfoFormInfo": { +"id": "GoogleCloudDialogflowCxV3PageInfoFormInfo", +"properties": { +"parameterInfo": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3PageInfoFormInfoParameterInfo" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3PageInfoFormInfoParameterInfo": { +"id": "GoogleCloudDialogflowCxV3PageInfoFormInfoParameterInfo", +"properties": { +"displayName": { +"type": "string" +}, +"justCollected": { +"type": "boolean" +}, +"required": { +"type": "boolean" +}, +"state": { +"enum": [ +"PARAMETER_STATE_UNSPECIFIED", +"EMPTY", +"INVALID", +"FILLED" +], +"enumDescriptions": [ +"", +"", +"", +"" +], +"type": "string" +}, +"value": { +"type": "any" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3QueryInput": { +"id": "GoogleCloudDialogflowCxV3QueryInput", +"properties": { +"audio": { +"$ref": "GoogleCloudDialogflowCxV3AudioInput" +}, +"dtmf": { +"$ref": "GoogleCloudDialogflowCxV3DtmfInput" +}, +"event": { +"$ref": "GoogleCloudDialogflowCxV3EventInput" +}, +"intent": { +"$ref": "GoogleCloudDialogflowCxV3IntentInput" +}, +"languageCode": { +"type": "string" +}, +"text": { +"$ref": "GoogleCloudDialogflowCxV3TextInput" +}, +"toolCallResult": { +"$ref": "GoogleCloudDialogflowCxV3ToolCallResult" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3ResponseMessage": { +"id": "GoogleCloudDialogflowCxV3ResponseMessage", +"properties": { +"channel": { +"type": "string" +}, +"conversationSuccess": { +"$ref": "GoogleCloudDialogflowCxV3ResponseMessageConversationSuccess" +}, +"endInteraction": { +"$ref": "GoogleCloudDialogflowCxV3ResponseMessageEndInteraction", +"readOnly": true +}, +"knowledgeInfoCard": { +"$ref": "GoogleCloudDialogflowCxV3ResponseMessageKnowledgeInfoCard" +}, +"liveAgentHandoff": { +"$ref": "GoogleCloudDialogflowCxV3ResponseMessageLiveAgentHandoff" +}, +"mixedAudio": { +"$ref": "GoogleCloudDialogflowCxV3ResponseMessageMixedAudio", +"readOnly": true +}, +"outputAudioText": { +"$ref": "GoogleCloudDialogflowCxV3ResponseMessageOutputAudioText" +}, +"payload": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"type": "object" +}, +"playAudio": { +"$ref": "GoogleCloudDialogflowCxV3ResponseMessagePlayAudio" +}, +"responseType": { +"enum": [ +"RESPONSE_TYPE_UNSPECIFIED", +"ENTRY_PROMPT", +"PARAMETER_PROMPT", +"HANDLER_PROMPT" +], +"enumDescriptions": [ +"", +"", +"", +"" +], +"type": "string" +}, +"telephonyTransferCall": { +"$ref": "GoogleCloudDialogflowCxV3ResponseMessageTelephonyTransferCall" +}, +"text": { +"$ref": "GoogleCloudDialogflowCxV3ResponseMessageText" +}, +"toolCall": { +"$ref": "GoogleCloudDialogflowCxV3ToolCall" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3ResponseMessageConversationSuccess": { +"id": "GoogleCloudDialogflowCxV3ResponseMessageConversationSuccess", +"properties": { +"metadata": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"type": "object" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3ResponseMessageEndInteraction": { +"id": "GoogleCloudDialogflowCxV3ResponseMessageEndInteraction", +"properties": {}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3ResponseMessageKnowledgeInfoCard": { +"id": "GoogleCloudDialogflowCxV3ResponseMessageKnowledgeInfoCard", +"properties": {}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3ResponseMessageLiveAgentHandoff": { +"id": "GoogleCloudDialogflowCxV3ResponseMessageLiveAgentHandoff", +"properties": { +"metadata": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"type": "object" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3ResponseMessageMixedAudio": { +"id": "GoogleCloudDialogflowCxV3ResponseMessageMixedAudio", +"properties": { +"segments": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3ResponseMessageMixedAudioSegment" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3ResponseMessageMixedAudioSegment": { +"id": "GoogleCloudDialogflowCxV3ResponseMessageMixedAudioSegment", +"properties": { +"allowPlaybackInterruption": { +"readOnly": true, +"type": "boolean" +}, +"audio": { +"format": "byte", +"type": "string" +}, +"uri": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3ResponseMessageOutputAudioText": { +"id": "GoogleCloudDialogflowCxV3ResponseMessageOutputAudioText", +"properties": { +"allowPlaybackInterruption": { +"readOnly": true, +"type": "boolean" +}, +"ssml": { +"type": "string" +}, +"text": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3ResponseMessagePlayAudio": { +"id": "GoogleCloudDialogflowCxV3ResponseMessagePlayAudio", +"properties": { +"allowPlaybackInterruption": { +"readOnly": true, +"type": "boolean" +}, +"audioUri": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3ResponseMessageTelephonyTransferCall": { +"id": "GoogleCloudDialogflowCxV3ResponseMessageTelephonyTransferCall", +"properties": { +"phoneNumber": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3ResponseMessageText": { +"id": "GoogleCloudDialogflowCxV3ResponseMessageText", +"properties": { +"allowPlaybackInterruption": { +"readOnly": true, +"type": "boolean" +}, +"text": { +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3RunContinuousTestMetadata": { +"id": "GoogleCloudDialogflowCxV3RunContinuousTestMetadata", +"properties": { +"errors": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3TestError" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3RunContinuousTestResponse": { +"id": "GoogleCloudDialogflowCxV3RunContinuousTestResponse", +"properties": { +"continuousTestResult": { +"$ref": "GoogleCloudDialogflowCxV3ContinuousTestResult" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3RunTestCaseMetadata": { +"id": "GoogleCloudDialogflowCxV3RunTestCaseMetadata", +"properties": {}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3RunTestCaseResponse": { +"id": "GoogleCloudDialogflowCxV3RunTestCaseResponse", +"properties": { +"result": { +"$ref": "GoogleCloudDialogflowCxV3TestCaseResult" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3SessionInfo": { +"id": "GoogleCloudDialogflowCxV3SessionInfo", +"properties": { +"parameters": { +"additionalProperties": { +"type": "any" +}, +"type": "object" +}, +"session": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3TestCase": { +"id": "GoogleCloudDialogflowCxV3TestCase", +"properties": { +"creationTime": { +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"displayName": { +"type": "string" +}, +"lastTestResult": { +"$ref": "GoogleCloudDialogflowCxV3TestCaseResult" +}, +"name": { +"type": "string" +}, +"notes": { +"type": "string" +}, +"tags": { +"items": { +"type": "string" +}, +"type": "array" +}, +"testCaseConversationTurns": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3ConversationTurn" +}, +"type": "array" +}, +"testConfig": { +"$ref": "GoogleCloudDialogflowCxV3TestConfig" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3TestCaseError": { +"id": "GoogleCloudDialogflowCxV3TestCaseError", +"properties": { +"status": { +"$ref": "GoogleRpcStatus" +}, +"testCase": { +"$ref": "GoogleCloudDialogflowCxV3TestCase" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3TestCaseResult": { +"id": "GoogleCloudDialogflowCxV3TestCaseResult", +"properties": { +"conversationTurns": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3ConversationTurn" +}, +"type": "array" +}, +"environment": { +"type": "string" +}, +"name": { +"type": "string" +}, +"testResult": { +"enum": [ +"TEST_RESULT_UNSPECIFIED", +"PASSED", +"FAILED" +], +"enumDescriptions": [ +"", +"", +"" +], +"type": "string" +}, +"testTime": { +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3TestConfig": { +"id": "GoogleCloudDialogflowCxV3TestConfig", +"properties": { +"flow": { +"type": "string" +}, +"page": { +"type": "string" +}, +"trackingParameters": { +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3TestError": { +"id": "GoogleCloudDialogflowCxV3TestError", +"properties": { +"status": { +"$ref": "GoogleRpcStatus" +}, +"testCase": { +"type": "string" +}, +"testTime": { +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3TestRunDifference": { +"id": "GoogleCloudDialogflowCxV3TestRunDifference", +"properties": { +"description": { +"type": "string" +}, +"type": { +"enum": [ +"DIFF_TYPE_UNSPECIFIED", +"INTENT", +"PAGE", +"PARAMETERS", +"UTTERANCE", +"FLOW" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"" +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3TextInput": { +"id": "GoogleCloudDialogflowCxV3TextInput", +"properties": { +"text": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3ToolCall": { +"id": "GoogleCloudDialogflowCxV3ToolCall", +"properties": { +"action": { +"type": "string" +}, +"inputParameters": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"type": "object" +}, +"tool": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3ToolCallResult": { +"id": "GoogleCloudDialogflowCxV3ToolCallResult", +"properties": { +"action": { +"type": "string" +}, +"error": { +"$ref": "GoogleCloudDialogflowCxV3ToolCallResultError" +}, +"outputParameters": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"type": "object" +}, +"tool": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3ToolCallResultError": { +"id": "GoogleCloudDialogflowCxV3ToolCallResultError", +"properties": { +"message": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3TransitionRoute": { +"id": "GoogleCloudDialogflowCxV3TransitionRoute", +"properties": { +"condition": { +"type": "string" +}, +"description": { +"type": "string" +}, +"intent": { +"type": "string" +}, +"name": { +"readOnly": true, +"type": "string" +}, +"targetFlow": { +"type": "string" +}, +"targetPage": { +"type": "string" +}, +"triggerFulfillment": { +"$ref": "GoogleCloudDialogflowCxV3Fulfillment" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3TurnSignals": { +"id": "GoogleCloudDialogflowCxV3TurnSignals", +"properties": { +"agentEscalated": { +"type": "boolean" +}, +"dtmfUsed": { +"type": "boolean" +}, +"failureReasons": { +"items": { +"enum": [ +"FAILURE_REASON_UNSPECIFIED", +"FAILED_INTENT", +"FAILED_WEBHOOK" +], +"enumDescriptions": [ +"", +"", +"" +], +"type": "string" +}, +"type": "array" +}, +"noMatch": { +"type": "boolean" +}, +"noUserInput": { +"type": "boolean" +}, +"reachedEndPage": { +"type": "boolean" +}, +"sentimentMagnitude": { +"format": "float", +"type": "number" +}, +"sentimentScore": { +"format": "float", +"type": "number" +}, +"userEscalated": { +"type": "boolean" +}, +"webhookStatuses": { +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3Webhook": { +"id": "GoogleCloudDialogflowCxV3Webhook", +"properties": { +"disabled": { +"type": "boolean" +}, +"displayName": { +"type": "string" +}, +"genericWebService": { +"$ref": "GoogleCloudDialogflowCxV3WebhookGenericWebService" +}, +"name": { +"type": "string" +}, +"serviceDirectory": { +"$ref": "GoogleCloudDialogflowCxV3WebhookServiceDirectoryConfig" +}, +"timeout": { +"format": "google-duration", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3WebhookGenericWebService": { +"id": "GoogleCloudDialogflowCxV3WebhookGenericWebService", +"properties": { +"allowedCaCerts": { +"items": { +"format": "byte", +"type": "string" +}, +"type": "array" +}, +"httpMethod": { +"enum": [ +"HTTP_METHOD_UNSPECIFIED", +"POST", +"GET", +"HEAD", +"PUT", +"DELETE", +"PATCH", +"OPTIONS" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"", +"", +"" +], +"type": "string" +}, +"oauthConfig": { +"$ref": "GoogleCloudDialogflowCxV3WebhookGenericWebServiceOAuthConfig" +}, +"parameterMapping": { +"additionalProperties": { +"type": "string" +}, +"type": "object" +}, +"password": { +"deprecated": true, +"type": "string" +}, +"requestBody": { +"type": "string" +}, +"requestHeaders": { +"additionalProperties": { +"type": "string" +}, +"type": "object" +}, +"secretVersionForUsernamePassword": { +"type": "string" +}, +"secretVersionsForRequestHeaders": { +"additionalProperties": { +"$ref": "GoogleCloudDialogflowCxV3WebhookGenericWebServiceSecretVersionHeaderValue" +}, +"type": "object" +}, +"serviceAccountAuthConfig": { +"$ref": "GoogleCloudDialogflowCxV3WebhookGenericWebServiceServiceAccountAuthConfig" +}, +"serviceAgentAuth": { +"enum": [ +"SERVICE_AGENT_AUTH_UNSPECIFIED", +"NONE", +"ID_TOKEN", +"ACCESS_TOKEN" +], +"enumDescriptions": [ +"", +"", +"", +"" +], +"type": "string" +}, +"uri": { +"type": "string" +}, +"username": { +"deprecated": true, +"type": "string" +}, +"webhookType": { +"enum": [ +"WEBHOOK_TYPE_UNSPECIFIED", +"STANDARD", +"FLEXIBLE" +], +"enumDescriptions": [ +"", +"", +"" +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3WebhookGenericWebServiceOAuthConfig": { +"id": "GoogleCloudDialogflowCxV3WebhookGenericWebServiceOAuthConfig", +"properties": { +"clientId": { +"type": "string" +}, +"clientSecret": { +"type": "string" +}, +"scopes": { +"items": { +"type": "string" +}, +"type": "array" +}, +"secretVersionForClientSecret": { +"type": "string" +}, +"tokenEndpoint": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3WebhookGenericWebServiceSecretVersionHeaderValue": { +"id": "GoogleCloudDialogflowCxV3WebhookGenericWebServiceSecretVersionHeaderValue", +"properties": { +"secretVersion": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3WebhookGenericWebServiceServiceAccountAuthConfig": { +"id": "GoogleCloudDialogflowCxV3WebhookGenericWebServiceServiceAccountAuthConfig", +"properties": { +"serviceAccount": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3WebhookRequest": { +"id": "GoogleCloudDialogflowCxV3WebhookRequest", +"properties": { +"detectIntentResponseId": { +"type": "string" +}, +"dtmfDigits": { +"type": "string" +}, +"fulfillmentInfo": { +"$ref": "GoogleCloudDialogflowCxV3WebhookRequestFulfillmentInfo" +}, +"intentInfo": { +"$ref": "GoogleCloudDialogflowCxV3WebhookRequestIntentInfo" +}, +"languageCode": { +"type": "string" +}, +"languageInfo": { +"$ref": "GoogleCloudDialogflowCxV3LanguageInfo" +}, +"messages": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3ResponseMessage" +}, +"type": "array" +}, +"pageInfo": { +"$ref": "GoogleCloudDialogflowCxV3PageInfo" +}, +"payload": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"type": "object" +}, +"sentimentAnalysisResult": { +"$ref": "GoogleCloudDialogflowCxV3WebhookRequestSentimentAnalysisResult" +}, +"sessionInfo": { +"$ref": "GoogleCloudDialogflowCxV3SessionInfo" +}, +"text": { +"type": "string" +}, +"transcript": { +"type": "string" +}, +"triggerEvent": { +"type": "string" +}, +"triggerIntent": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3WebhookRequestFulfillmentInfo": { +"id": "GoogleCloudDialogflowCxV3WebhookRequestFulfillmentInfo", +"properties": { +"tag": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3WebhookRequestIntentInfo": { +"id": "GoogleCloudDialogflowCxV3WebhookRequestIntentInfo", +"properties": { +"confidence": { +"format": "float", +"type": "number" +}, +"displayName": { +"type": "string" +}, +"lastMatchedIntent": { +"type": "string" +}, +"parameters": { +"additionalProperties": { +"$ref": "GoogleCloudDialogflowCxV3WebhookRequestIntentInfoIntentParameterValue" +}, +"type": "object" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3WebhookRequestIntentInfoIntentParameterValue": { +"id": "GoogleCloudDialogflowCxV3WebhookRequestIntentInfoIntentParameterValue", +"properties": { +"originalValue": { +"type": "string" +}, +"resolvedValue": { +"type": "any" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3WebhookRequestSentimentAnalysisResult": { +"id": "GoogleCloudDialogflowCxV3WebhookRequestSentimentAnalysisResult", +"properties": { +"magnitude": { +"format": "float", +"type": "number" +}, +"score": { +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3WebhookResponse": { +"id": "GoogleCloudDialogflowCxV3WebhookResponse", +"properties": { +"fulfillmentResponse": { +"$ref": "GoogleCloudDialogflowCxV3WebhookResponseFulfillmentResponse" +}, +"pageInfo": { +"$ref": "GoogleCloudDialogflowCxV3PageInfo" +}, +"payload": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"type": "object" +}, +"sessionInfo": { +"$ref": "GoogleCloudDialogflowCxV3SessionInfo" +}, +"targetFlow": { +"type": "string" +}, +"targetPage": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3WebhookResponseFulfillmentResponse": { +"id": "GoogleCloudDialogflowCxV3WebhookResponseFulfillmentResponse", +"properties": { +"mergeBehavior": { +"enum": [ +"MERGE_BEHAVIOR_UNSPECIFIED", +"APPEND", +"REPLACE" +], +"enumDescriptions": [ +"", +"", +"" +], +"type": "string" +}, +"messages": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3ResponseMessage" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3WebhookServiceDirectoryConfig": { +"id": "GoogleCloudDialogflowCxV3WebhookServiceDirectoryConfig", +"properties": { +"genericWebService": { +"$ref": "GoogleCloudDialogflowCxV3WebhookGenericWebService" +}, +"service": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1Action": { +"id": "GoogleCloudDialogflowCxV3beta1Action", +"properties": { +"agentUtterance": { +"$ref": "GoogleCloudDialogflowCxV3beta1AgentUtterance" +}, +"completeTime": { +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"displayName": { +"readOnly": true, +"type": "string" +}, +"event": { +"$ref": "GoogleCloudDialogflowCxV3beta1Event" +}, +"flowInvocation": { +"$ref": "GoogleCloudDialogflowCxV3beta1FlowInvocation" +}, +"flowStateUpdate": { +"$ref": "GoogleCloudDialogflowCxV3beta1ActionFlowStateUpdate", +"readOnly": true +}, +"flowTransition": { +"$ref": "GoogleCloudDialogflowCxV3beta1FlowTransition" +}, +"intentMatch": { +"$ref": "GoogleCloudDialogflowCxV3beta1ActionIntentMatch", +"readOnly": true +}, +"llmCall": { +"$ref": "GoogleCloudDialogflowCxV3beta1LlmCall", +"readOnly": true +}, +"playbookInvocation": { +"$ref": "GoogleCloudDialogflowCxV3beta1PlaybookInvocation" +}, +"playbookTransition": { +"$ref": "GoogleCloudDialogflowCxV3beta1PlaybookTransition" +}, +"startTime": { +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"status": { +"$ref": "GoogleCloudDialogflowCxV3beta1Status", +"readOnly": true +}, +"stt": { +"$ref": "GoogleCloudDialogflowCxV3beta1ActionSTT" +}, +"subExecutionSteps": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3beta1Span" +}, +"type": "array" +}, +"toolUse": { +"$ref": "GoogleCloudDialogflowCxV3beta1ToolUse" +}, +"tts": { +"$ref": "GoogleCloudDialogflowCxV3beta1ActionTTS" +}, +"userUtterance": { +"$ref": "GoogleCloudDialogflowCxV3beta1UserUtterance" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1ActionFlowStateUpdate": { +"id": "GoogleCloudDialogflowCxV3beta1ActionFlowStateUpdate", +"properties": { +"destination": { +"type": "string" +}, +"eventType": { +"type": "string" +}, +"functionCall": { +"$ref": "GoogleCloudDialogflowCxV3beta1ActionFlowStateUpdateFunctionCall" +}, +"pageState": { +"$ref": "GoogleCloudDialogflowCxV3beta1ActionFlowStateUpdatePageState" +}, +"updatedParameters": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"type": "object" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1ActionFlowStateUpdateFunctionCall": { +"id": "GoogleCloudDialogflowCxV3beta1ActionFlowStateUpdateFunctionCall", +"properties": { +"name": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1ActionFlowStateUpdatePageState": { +"id": "GoogleCloudDialogflowCxV3beta1ActionFlowStateUpdatePageState", +"properties": { +"displayName": { +"type": "string" +}, +"page": { +"type": "string" +}, +"status": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1ActionIntentMatch": { +"id": "GoogleCloudDialogflowCxV3beta1ActionIntentMatch", +"properties": { +"matchedIntents": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3beta1ActionIntentMatchMatchedIntent" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1ActionIntentMatchMatchedIntent": { +"id": "GoogleCloudDialogflowCxV3beta1ActionIntentMatchMatchedIntent", +"properties": { +"displayName": { +"type": "string" +}, +"generativeFallback": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"type": "object" +}, +"intentId": { +"type": "string" +}, +"score": { +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1ActionSTT": { +"id": "GoogleCloudDialogflowCxV3beta1ActionSTT", +"properties": {}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1ActionTTS": { +"id": "GoogleCloudDialogflowCxV3beta1ActionTTS", +"properties": {}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1AdvancedSettings": { +"id": "GoogleCloudDialogflowCxV3beta1AdvancedSettings", +"properties": { +"audioExportGcsDestination": { +"$ref": "GoogleCloudDialogflowCxV3beta1GcsDestination" +}, +"dtmfSettings": { +"$ref": "GoogleCloudDialogflowCxV3beta1AdvancedSettingsDtmfSettings" +}, +"loggingSettings": { +"$ref": "GoogleCloudDialogflowCxV3beta1AdvancedSettingsLoggingSettings" +}, +"speechSettings": { +"$ref": "GoogleCloudDialogflowCxV3beta1AdvancedSettingsSpeechSettings" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1AdvancedSettingsDtmfSettings": { +"id": "GoogleCloudDialogflowCxV3beta1AdvancedSettingsDtmfSettings", +"properties": { +"enabled": { +"type": "boolean" +}, +"endpointingTimeoutDuration": { +"format": "google-duration", +"type": "string" +}, +"finishDigit": { +"type": "string" +}, +"interdigitTimeoutDuration": { +"format": "google-duration", +"type": "string" +}, +"maxDigits": { +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1AdvancedSettingsLoggingSettings": { +"id": "GoogleCloudDialogflowCxV3beta1AdvancedSettingsLoggingSettings", +"properties": { +"enableConsentBasedRedaction": { +"type": "boolean" +}, +"enableInteractionLogging": { +"type": "boolean" +}, +"enableStackdriverLogging": { +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1AdvancedSettingsSpeechSettings": { +"id": "GoogleCloudDialogflowCxV3beta1AdvancedSettingsSpeechSettings", +"properties": { +"endpointerSensitivity": { +"format": "int32", +"type": "integer" +}, +"models": { +"additionalProperties": { +"type": "string" +}, +"type": "object" +}, +"noSpeechTimeout": { +"format": "google-duration", +"type": "string" +}, +"useTimeoutBasedEndpointing": { +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1Agent": { +"id": "GoogleCloudDialogflowCxV3beta1Agent", +"properties": { +"advancedSettings": { +"$ref": "GoogleCloudDialogflowCxV3beta1AdvancedSettings" +}, +"answerFeedbackSettings": { +"$ref": "GoogleCloudDialogflowCxV3beta1AgentAnswerFeedbackSettings" +}, +"avatarUri": { +"type": "string" +}, +"bigqueryExportSettings": { +"$ref": "GoogleCloudDialogflowCxV3beta1BigQueryExportSettings" +}, +"clientCertificateSettings": { +"$ref": "GoogleCloudDialogflowCxV3beta1AgentClientCertificateSettings" +}, +"defaultLanguageCode": { +"type": "string" +}, +"description": { +"type": "string" +}, +"displayName": { +"type": "string" +}, +"enableMultiLanguageTraining": { +"type": "boolean" +}, +"enableSpellCorrection": { +"type": "boolean" +}, +"enableStackdriverLogging": { +"deprecated": true, +"type": "boolean" +}, +"genAppBuilderSettings": { +"$ref": "GoogleCloudDialogflowCxV3beta1AgentGenAppBuilderSettings" +}, +"gitIntegrationSettings": { +"$ref": "GoogleCloudDialogflowCxV3beta1AgentGitIntegrationSettings" +}, +"locked": { +"type": "boolean" +}, +"name": { +"type": "string" +}, +"personalizationSettings": { +"$ref": "GoogleCloudDialogflowCxV3beta1AgentPersonalizationSettings" +}, +"satisfiesPzi": { +"readOnly": true, +"type": "boolean" +}, +"satisfiesPzs": { +"readOnly": true, +"type": "boolean" +}, +"securitySettings": { +"type": "string" +}, +"speechToTextSettings": { +"$ref": "GoogleCloudDialogflowCxV3beta1SpeechToTextSettings" +}, +"startFlow": { +"type": "string" +}, +"startPlaybook": { +"type": "string" +}, +"supportedLanguageCodes": { +"items": { +"type": "string" +}, +"type": "array" +}, +"textToSpeechSettings": { +"$ref": "GoogleCloudDialogflowCxV3beta1TextToSpeechSettings" +}, +"timeZone": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1AgentAnswerFeedbackSettings": { +"id": "GoogleCloudDialogflowCxV3beta1AgentAnswerFeedbackSettings", +"properties": { +"enableAnswerFeedback": { +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1AgentClientCertificateSettings": { +"id": "GoogleCloudDialogflowCxV3beta1AgentClientCertificateSettings", +"properties": { +"passphrase": { +"type": "string" +}, +"privateKey": { +"type": "string" +}, +"sslCertificate": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1AgentGenAppBuilderSettings": { +"id": "GoogleCloudDialogflowCxV3beta1AgentGenAppBuilderSettings", +"properties": { +"engine": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1AgentGitIntegrationSettings": { +"id": "GoogleCloudDialogflowCxV3beta1AgentGitIntegrationSettings", +"properties": { +"gitConnectionSettings": { +"$ref": "GoogleCloudDialogflowCxV3beta1AgentGitIntegrationSettingsGitConnectionSettings" +}, +"githubSettings": { +"$ref": "GoogleCloudDialogflowCxV3beta1AgentGitIntegrationSettingsGithubSettings" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1AgentGitIntegrationSettingsGitConnectionSettings": { +"id": "GoogleCloudDialogflowCxV3beta1AgentGitIntegrationSettingsGitConnectionSettings", +"properties": { +"accessTokenSecret": { +"type": "string" +}, +"branches": { +"items": { +"type": "string" +}, +"type": "array" +}, +"displayName": { +"type": "string" +}, +"repositoryUri": { +"type": "string" +}, +"trackingBranch": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1AgentGitIntegrationSettingsGithubSettings": { +"id": "GoogleCloudDialogflowCxV3beta1AgentGitIntegrationSettingsGithubSettings", +"properties": { +"accessToken": { +"type": "string" +}, +"branches": { +"items": { +"type": "string" +}, +"type": "array" +}, +"displayName": { +"type": "string" +}, +"repositoryUri": { +"type": "string" +}, +"trackingBranch": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1AgentPersonalizationSettings": { +"id": "GoogleCloudDialogflowCxV3beta1AgentPersonalizationSettings", +"properties": { +"defaultEndUserMetadata": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"type": "object" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1AgentUtterance": { +"id": "GoogleCloudDialogflowCxV3beta1AgentUtterance", +"properties": { +"requireGeneration": { +"type": "boolean" +}, +"text": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1AgentValidationResult": { +"id": "GoogleCloudDialogflowCxV3beta1AgentValidationResult", +"properties": { +"flowValidationResults": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3beta1FlowValidationResult" +}, +"type": "array" +}, +"name": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1AnswerFeedback": { +"id": "GoogleCloudDialogflowCxV3beta1AnswerFeedback", +"properties": { +"customRating": { +"type": "string" +}, +"rating": { +"enum": [ +"RATING_UNSPECIFIED", +"THUMBS_UP", +"THUMBS_DOWN" +], +"enumDescriptions": [ +"", +"", +"" +], +"type": "string" +}, +"ratingReason": { +"$ref": "GoogleCloudDialogflowCxV3beta1AnswerFeedbackRatingReason" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1AnswerFeedbackRatingReason": { +"id": "GoogleCloudDialogflowCxV3beta1AnswerFeedbackRatingReason", +"properties": { +"feedback": { +"type": "string" +}, +"reasonLabels": { +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1AudioInput": { +"id": "GoogleCloudDialogflowCxV3beta1AudioInput", +"properties": { +"audio": { +"format": "byte", +"type": "string" +}, +"config": { +"$ref": "GoogleCloudDialogflowCxV3beta1InputAudioConfig" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1BargeInConfig": { +"id": "GoogleCloudDialogflowCxV3beta1BargeInConfig", +"properties": { +"noBargeInDuration": { +"format": "google-duration", +"type": "string" +}, +"totalDuration": { +"format": "google-duration", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1BatchDeleteTestCasesRequest": { +"id": "GoogleCloudDialogflowCxV3beta1BatchDeleteTestCasesRequest", +"properties": { +"names": { +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1BatchRunTestCasesMetadata": { +"id": "GoogleCloudDialogflowCxV3beta1BatchRunTestCasesMetadata", +"properties": { +"errors": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3beta1TestError" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1BatchRunTestCasesRequest": { +"id": "GoogleCloudDialogflowCxV3beta1BatchRunTestCasesRequest", +"properties": { +"environment": { +"type": "string" +}, +"testCases": { +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1BatchRunTestCasesResponse": { +"id": "GoogleCloudDialogflowCxV3beta1BatchRunTestCasesResponse", +"properties": { +"results": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3beta1TestCaseResult" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1BigQueryExportSettings": { +"id": "GoogleCloudDialogflowCxV3beta1BigQueryExportSettings", +"properties": { +"bigqueryTable": { +"type": "string" +}, +"enabled": { +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1BoostSpec": { +"id": "GoogleCloudDialogflowCxV3beta1BoostSpec", +"properties": { +"conditionBoostSpecs": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3beta1BoostSpecConditionBoostSpec" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1BoostSpecConditionBoostSpec": { +"id": "GoogleCloudDialogflowCxV3beta1BoostSpecConditionBoostSpec", +"properties": { +"boost": { +"format": "float", +"type": "number" +}, +"boostControlSpec": { +"$ref": "GoogleCloudDialogflowCxV3beta1BoostSpecConditionBoostSpecBoostControlSpec" +}, +"condition": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1BoostSpecConditionBoostSpecBoostControlSpec": { +"id": "GoogleCloudDialogflowCxV3beta1BoostSpecConditionBoostSpecBoostControlSpec", +"properties": { +"attributeType": { +"enum": [ +"ATTRIBUTE_TYPE_UNSPECIFIED", +"NUMERICAL", +"FRESHNESS" +], +"enumDescriptions": [ +"", +"", +"" +], +"type": "string" +}, +"controlPoints": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3beta1BoostSpecConditionBoostSpecBoostControlSpecControlPoint" +}, +"type": "array" +}, +"fieldName": { +"type": "string" +}, +"interpolationType": { +"enum": [ +"INTERPOLATION_TYPE_UNSPECIFIED", +"LINEAR" +], +"enumDescriptions": [ +"", +"" +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1BoostSpecConditionBoostSpecBoostControlSpecControlPoint": { +"id": "GoogleCloudDialogflowCxV3beta1BoostSpecConditionBoostSpecBoostControlSpecControlPoint", +"properties": { +"attributeValue": { +"type": "string" +}, +"boostAmount": { +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1BoostSpecs": { +"id": "GoogleCloudDialogflowCxV3beta1BoostSpecs", +"properties": { +"dataStores": { +"items": { +"type": "string" +}, +"type": "array" +}, +"spec": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3beta1BoostSpec" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1CalculateCoverageResponse": { +"id": "GoogleCloudDialogflowCxV3beta1CalculateCoverageResponse", +"properties": { +"agent": { +"type": "string" +}, +"intentCoverage": { +"$ref": "GoogleCloudDialogflowCxV3beta1IntentCoverage" +}, +"routeGroupCoverage": { +"$ref": "GoogleCloudDialogflowCxV3beta1TransitionRouteGroupCoverage" +}, +"transitionCoverage": { +"$ref": "GoogleCloudDialogflowCxV3beta1TransitionCoverage" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1Changelog": { +"id": "GoogleCloudDialogflowCxV3beta1Changelog", +"properties": { +"action": { +"type": "string" +}, +"createTime": { +"format": "google-datetime", +"type": "string" +}, +"displayName": { +"type": "string" +}, +"languageCode": { +"type": "string" +}, +"name": { +"type": "string" +}, +"resource": { +"type": "string" +}, +"type": { +"type": "string" +}, +"userEmail": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1CodeBlock": { +"id": "GoogleCloudDialogflowCxV3beta1CodeBlock", +"properties": { +"code": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1CompareVersionsRequest": { +"id": "GoogleCloudDialogflowCxV3beta1CompareVersionsRequest", +"properties": { +"languageCode": { +"type": "string" +}, +"targetVersion": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1CompareVersionsResponse": { +"id": "GoogleCloudDialogflowCxV3beta1CompareVersionsResponse", +"properties": { +"baseVersionContentJson": { +"type": "string" +}, +"compareTime": { +"format": "google-datetime", +"type": "string" +}, +"targetVersionContentJson": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1ContinuousTestResult": { +"id": "GoogleCloudDialogflowCxV3beta1ContinuousTestResult", +"properties": { +"name": { +"type": "string" +}, +"result": { +"enum": [ +"AGGREGATED_TEST_RESULT_UNSPECIFIED", +"PASSED", +"FAILED" +], +"enumDescriptions": [ +"", +"", +"" +], +"type": "string" +}, +"runTime": { +"format": "google-datetime", +"type": "string" +}, +"testCaseResults": { +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1Conversation": { +"id": "GoogleCloudDialogflowCxV3beta1Conversation", +"properties": { +"duration": { +"format": "google-duration", +"type": "string" +}, +"environment": { +"$ref": "GoogleCloudDialogflowCxV3beta1Environment" +}, +"flowVersions": { +"additionalProperties": { +"format": "int64", +"type": "string" +}, +"type": "object" +}, +"flows": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3beta1Flow" +}, +"type": "array" +}, +"intents": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3beta1Intent" +}, +"type": "array" +}, +"interactions": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3beta1ConversationInteraction" +}, +"type": "array" +}, +"languageCode": { +"type": "string" +}, +"metrics": { +"$ref": "GoogleCloudDialogflowCxV3beta1ConversationMetrics" +}, +"name": { +"type": "string" +}, +"pages": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3beta1Page" +}, +"type": "array" +}, +"startTime": { +"format": "google-datetime", +"type": "string" +}, +"type": { +"enum": [ +"TYPE_UNSPECIFIED", +"AUDIO", +"TEXT", +"UNDETERMINED" +], +"enumDescriptions": [ +"", +"", +"", +"" +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1ConversationInteraction": { +"id": "GoogleCloudDialogflowCxV3beta1ConversationInteraction", +"properties": { +"answerFeedback": { +"$ref": "GoogleCloudDialogflowCxV3beta1AnswerFeedback" +}, +"createTime": { +"format": "google-datetime", +"type": "string" +}, +"missingTransition": { +"$ref": "GoogleCloudDialogflowCxV3beta1ConversationInteractionMissingTransition" +}, +"partialResponses": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3beta1DetectIntentResponse" +}, +"type": "array" +}, +"request": { +"$ref": "GoogleCloudDialogflowCxV3beta1DetectIntentRequest" +}, +"requestUtterances": { +"type": "string" +}, +"response": { +"$ref": "GoogleCloudDialogflowCxV3beta1DetectIntentResponse" +}, +"responseUtterances": { +"type": "string" +}, +"stepMetrics": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3beta1ConversationInteractionStepMetrics" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1ConversationInteractionMissingTransition": { +"id": "GoogleCloudDialogflowCxV3beta1ConversationInteractionMissingTransition", +"properties": { +"intentDisplayName": { +"type": "string" +}, +"score": { +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1ConversationInteractionStepMetrics": { +"id": "GoogleCloudDialogflowCxV3beta1ConversationInteractionStepMetrics", +"properties": { +"latency": { +"format": "google-duration", +"type": "string" +}, +"name": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1ConversationMetrics": { +"id": "GoogleCloudDialogflowCxV3beta1ConversationMetrics", +"properties": { +"averageMatchConfidence": { +"format": "float", +"type": "number" +}, +"hasEndInteraction": { +"type": "boolean" +}, +"hasLiveAgentHandoff": { +"type": "boolean" +}, +"inputAudioDuration": { +"format": "google-duration", +"type": "string" +}, +"interactionCount": { +"format": "int32", +"type": "integer" +}, +"matchTypeCount": { +"$ref": "GoogleCloudDialogflowCxV3beta1ConversationMetricsMatchTypeCount" +}, +"maxWebhookLatency": { +"format": "google-duration", +"type": "string" +}, +"outputAudioDuration": { +"format": "google-duration", +"type": "string" +}, +"queryInputCount": { +"$ref": "GoogleCloudDialogflowCxV3beta1ConversationMetricsQueryInputCount" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1ConversationMetricsMatchTypeCount": { +"id": "GoogleCloudDialogflowCxV3beta1ConversationMetricsMatchTypeCount", +"properties": { +"directIntentCount": { +"format": "int32", +"type": "integer" +}, +"eventCount": { +"format": "int32", +"type": "integer" +}, +"intentCount": { +"format": "int32", +"type": "integer" +}, +"noInputCount": { +"format": "int32", +"type": "integer" +}, +"noMatchCount": { +"format": "int32", +"type": "integer" +}, +"parameterFillingCount": { +"format": "int32", +"type": "integer" +}, +"unspecifiedCount": { +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1ConversationMetricsQueryInputCount": { +"id": "GoogleCloudDialogflowCxV3beta1ConversationMetricsQueryInputCount", +"properties": { +"audioCount": { +"format": "int32", +"type": "integer" +}, +"dtmfCount": { +"format": "int32", +"type": "integer" +}, +"eventCount": { +"format": "int32", +"type": "integer" +}, +"intentCount": { +"format": "int32", +"type": "integer" +}, +"textCount": { +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1ConversationSignals": { +"id": "GoogleCloudDialogflowCxV3beta1ConversationSignals", +"properties": { +"turnSignals": { +"$ref": "GoogleCloudDialogflowCxV3beta1TurnSignals" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1ConversationTurn": { +"id": "GoogleCloudDialogflowCxV3beta1ConversationTurn", +"properties": { +"userInput": { +"$ref": "GoogleCloudDialogflowCxV3beta1ConversationTurnUserInput" +}, +"virtualAgentOutput": { +"$ref": "GoogleCloudDialogflowCxV3beta1ConversationTurnVirtualAgentOutput" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1ConversationTurnUserInput": { +"id": "GoogleCloudDialogflowCxV3beta1ConversationTurnUserInput", +"properties": { +"enableSentimentAnalysis": { +"type": "boolean" +}, +"injectedParameters": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"type": "object" +}, +"input": { +"$ref": "GoogleCloudDialogflowCxV3beta1QueryInput" +}, +"isWebhookEnabled": { +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1ConversationTurnVirtualAgentOutput": { +"id": "GoogleCloudDialogflowCxV3beta1ConversationTurnVirtualAgentOutput", +"properties": { +"currentPage": { +"$ref": "GoogleCloudDialogflowCxV3beta1Page" +}, +"diagnosticInfo": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"type": "object" +}, +"differences": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3beta1TestRunDifference" +}, +"readOnly": true, +"type": "array" +}, +"sessionParameters": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"type": "object" +}, +"status": { +"$ref": "GoogleRpcStatus" +}, +"textResponses": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3beta1ResponseMessageText" +}, +"type": "array" +}, +"triggeredIntent": { +"$ref": "GoogleCloudDialogflowCxV3beta1Intent" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1CreateVersionOperationMetadata": { +"id": "GoogleCloudDialogflowCxV3beta1CreateVersionOperationMetadata", +"properties": { +"version": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1DataStoreConnection": { +"id": "GoogleCloudDialogflowCxV3beta1DataStoreConnection", +"properties": { +"dataStore": { +"type": "string" +}, +"dataStoreType": { +"enum": [ +"DATA_STORE_TYPE_UNSPECIFIED", +"PUBLIC_WEB", +"UNSTRUCTURED", +"STRUCTURED" +], +"enumDescriptions": [ +"", +"", +"", +"" +], +"type": "string" +}, +"documentProcessingMode": { +"enum": [ +"DOCUMENT_PROCESSING_MODE_UNSPECIFIED", +"DOCUMENTS", +"CHUNKS" +], +"enumDescriptions": [ +"", +"", +"" +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1DataStoreConnectionSignals": { +"id": "GoogleCloudDialogflowCxV3beta1DataStoreConnectionSignals", +"properties": { +"answer": { +"type": "string" +}, +"answerGenerationModelCallSignals": { +"$ref": "GoogleCloudDialogflowCxV3beta1DataStoreConnectionSignalsAnswerGenerationModelCallSignals" +}, +"answerParts": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3beta1DataStoreConnectionSignalsAnswerPart" +}, +"type": "array" +}, +"citedSnippets": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3beta1DataStoreConnectionSignalsCitedSnippet" +}, +"type": "array" +}, +"groundingSignals": { +"$ref": "GoogleCloudDialogflowCxV3beta1DataStoreConnectionSignalsGroundingSignals" +}, +"rewriterModelCallSignals": { +"$ref": "GoogleCloudDialogflowCxV3beta1DataStoreConnectionSignalsRewriterModelCallSignals" +}, +"rewrittenQuery": { +"type": "string" +}, +"safetySignals": { +"$ref": "GoogleCloudDialogflowCxV3beta1DataStoreConnectionSignalsSafetySignals" +}, +"searchSnippets": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3beta1DataStoreConnectionSignalsSearchSnippet" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1DataStoreConnectionSignalsAnswerGenerationModelCallSignals": { +"id": "GoogleCloudDialogflowCxV3beta1DataStoreConnectionSignalsAnswerGenerationModelCallSignals", +"properties": { +"model": { +"type": "string" +}, +"modelOutput": { +"type": "string" +}, +"renderedPrompt": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1DataStoreConnectionSignalsAnswerPart": { +"id": "GoogleCloudDialogflowCxV3beta1DataStoreConnectionSignalsAnswerPart", +"properties": { +"supportingIndices": { +"items": { +"format": "int32", +"type": "integer" +}, +"type": "array" +}, +"text": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1DataStoreConnectionSignalsCitedSnippet": { +"id": "GoogleCloudDialogflowCxV3beta1DataStoreConnectionSignalsCitedSnippet", +"properties": { +"searchSnippet": { +"$ref": "GoogleCloudDialogflowCxV3beta1DataStoreConnectionSignalsSearchSnippet" +}, +"snippetIndex": { +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1DataStoreConnectionSignalsGroundingSignals": { +"id": "GoogleCloudDialogflowCxV3beta1DataStoreConnectionSignalsGroundingSignals", +"properties": { +"decision": { +"enum": [ +"GROUNDING_DECISION_UNSPECIFIED", +"ACCEPTED_BY_GROUNDING", +"REJECTED_BY_GROUNDING" +], +"enumDescriptions": [ +"", +"", +"" +], +"type": "string" +}, +"score": { +"enum": [ +"GROUNDING_SCORE_BUCKET_UNSPECIFIED", +"VERY_LOW", +"LOW", +"MEDIUM", +"HIGH", +"VERY_HIGH" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"" +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1DataStoreConnectionSignalsRewriterModelCallSignals": { +"id": "GoogleCloudDialogflowCxV3beta1DataStoreConnectionSignalsRewriterModelCallSignals", +"properties": { +"model": { +"type": "string" +}, +"modelOutput": { +"type": "string" +}, +"renderedPrompt": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1DataStoreConnectionSignalsSafetySignals": { +"id": "GoogleCloudDialogflowCxV3beta1DataStoreConnectionSignalsSafetySignals", +"properties": { +"bannedPhraseMatch": { +"enum": [ +"BANNED_PHRASE_MATCH_UNSPECIFIED", +"BANNED_PHRASE_MATCH_NONE", +"BANNED_PHRASE_MATCH_QUERY", +"BANNED_PHRASE_MATCH_RESPONSE" +], +"enumDescriptions": [ +"", +"", +"", +"" +], +"type": "string" +}, +"decision": { +"enum": [ +"SAFETY_DECISION_UNSPECIFIED", +"ACCEPTED_BY_SAFETY_CHECK", +"REJECTED_BY_SAFETY_CHECK" +], +"enumDescriptions": [ +"", +"", +"" +], +"type": "string" +}, +"matchedBannedPhrase": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1DataStoreConnectionSignalsSearchSnippet": { +"id": "GoogleCloudDialogflowCxV3beta1DataStoreConnectionSignalsSearchSnippet", +"properties": { +"documentTitle": { +"type": "string" +}, +"documentUri": { +"type": "string" +}, +"metadata": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"type": "object" +}, +"text": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1DeployFlowMetadata": { +"id": "GoogleCloudDialogflowCxV3beta1DeployFlowMetadata", +"properties": { +"testErrors": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3beta1TestError" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1DeployFlowRequest": { +"id": "GoogleCloudDialogflowCxV3beta1DeployFlowRequest", +"properties": { +"flowVersion": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1DeployFlowResponse": { +"id": "GoogleCloudDialogflowCxV3beta1DeployFlowResponse", +"properties": { +"deployment": { +"type": "string" +}, +"environment": { +"$ref": "GoogleCloudDialogflowCxV3beta1Environment" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1Deployment": { +"id": "GoogleCloudDialogflowCxV3beta1Deployment", +"properties": { +"endTime": { +"format": "google-datetime", +"type": "string" +}, +"flowVersion": { +"type": "string" +}, +"name": { +"type": "string" +}, +"result": { +"$ref": "GoogleCloudDialogflowCxV3beta1DeploymentResult" +}, +"startTime": { +"format": "google-datetime", +"type": "string" +}, +"state": { +"enum": [ +"STATE_UNSPECIFIED", +"RUNNING", +"SUCCEEDED", +"FAILED" +], +"enumDescriptions": [ +"", +"", +"", +"" +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1DeploymentResult": { +"id": "GoogleCloudDialogflowCxV3beta1DeploymentResult", +"properties": { +"deploymentTestResults": { +"items": { +"type": "string" +}, +"type": "array" +}, +"experiment": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1DetectIntentRequest": { +"id": "GoogleCloudDialogflowCxV3beta1DetectIntentRequest", +"properties": { +"outputAudioConfig": { +"$ref": "GoogleCloudDialogflowCxV3beta1OutputAudioConfig" +}, +"queryInput": { +"$ref": "GoogleCloudDialogflowCxV3beta1QueryInput" +}, +"queryParams": { +"$ref": "GoogleCloudDialogflowCxV3beta1QueryParameters" +}, +"responseView": { +"enum": [ +"DETECT_INTENT_RESPONSE_VIEW_UNSPECIFIED", +"DETECT_INTENT_RESPONSE_VIEW_FULL", +"DETECT_INTENT_RESPONSE_VIEW_BASIC", +"DETECT_INTENT_RESPONSE_VIEW_DEFAULT" +], +"enumDescriptions": [ +"", +"", +"", +"" +], +"type": "string" +}, +"session": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1DetectIntentResponse": { +"id": "GoogleCloudDialogflowCxV3beta1DetectIntentResponse", +"properties": { +"allowCancellation": { +"type": "boolean" +}, +"outputAudio": { +"format": "byte", +"type": "string" +}, +"outputAudioConfig": { +"$ref": "GoogleCloudDialogflowCxV3beta1OutputAudioConfig" +}, +"queryResult": { +"$ref": "GoogleCloudDialogflowCxV3beta1QueryResult" +}, +"responseId": { +"type": "string" +}, +"responseType": { +"enum": [ +"RESPONSE_TYPE_UNSPECIFIED", +"PARTIAL", +"FINAL" +], +"enumDescriptions": [ +"", +"", +"" +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1DtmfInput": { +"id": "GoogleCloudDialogflowCxV3beta1DtmfInput", +"properties": { +"digits": { +"type": "string" +}, +"finishDigit": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1EntityType": { +"id": "GoogleCloudDialogflowCxV3beta1EntityType", +"properties": { +"autoExpansionMode": { +"enum": [ +"AUTO_EXPANSION_MODE_UNSPECIFIED", +"AUTO_EXPANSION_MODE_DEFAULT" +], +"enumDescriptions": [ +"", +"" +], +"type": "string" +}, +"displayName": { +"type": "string" +}, +"enableFuzzyExtraction": { +"type": "boolean" +}, +"entities": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3beta1EntityTypeEntity" +}, +"type": "array" +}, +"excludedPhrases": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3beta1EntityTypeExcludedPhrase" +}, +"type": "array" +}, +"kind": { +"enum": [ +"KIND_UNSPECIFIED", +"KIND_MAP", +"KIND_LIST", +"KIND_REGEXP" +], +"enumDescriptions": [ +"", +"", +"", +"" +], +"type": "string" +}, +"name": { +"type": "string" +}, +"redact": { +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1EntityTypeEntity": { +"id": "GoogleCloudDialogflowCxV3beta1EntityTypeEntity", +"properties": { +"synonyms": { +"items": { +"type": "string" +}, +"type": "array" +}, +"value": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1EntityTypeExcludedPhrase": { +"id": "GoogleCloudDialogflowCxV3beta1EntityTypeExcludedPhrase", +"properties": { +"value": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1Environment": { +"id": "GoogleCloudDialogflowCxV3beta1Environment", +"properties": { +"description": { +"type": "string" +}, +"displayName": { +"type": "string" +}, +"name": { +"type": "string" +}, +"testCasesConfig": { +"$ref": "GoogleCloudDialogflowCxV3beta1EnvironmentTestCasesConfig" +}, +"updateTime": { +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"versionConfigs": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3beta1EnvironmentVersionConfig" +}, +"type": "array" +}, +"webhookConfig": { +"$ref": "GoogleCloudDialogflowCxV3beta1EnvironmentWebhookConfig" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1EnvironmentTestCasesConfig": { +"id": "GoogleCloudDialogflowCxV3beta1EnvironmentTestCasesConfig", +"properties": { +"enableContinuousRun": { +"type": "boolean" +}, +"enablePredeploymentRun": { +"type": "boolean" +}, +"testCases": { +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1EnvironmentVersionConfig": { +"id": "GoogleCloudDialogflowCxV3beta1EnvironmentVersionConfig", +"properties": { +"version": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1EnvironmentWebhookConfig": { +"id": "GoogleCloudDialogflowCxV3beta1EnvironmentWebhookConfig", +"properties": { +"webhookOverrides": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3beta1Webhook" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1Event": { +"id": "GoogleCloudDialogflowCxV3beta1Event", +"properties": { +"event": { +"type": "string" +}, +"text": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1EventHandler": { +"id": "GoogleCloudDialogflowCxV3beta1EventHandler", +"properties": { +"event": { +"type": "string" +}, +"name": { +"readOnly": true, +"type": "string" +}, +"targetFlow": { +"type": "string" +}, +"targetPage": { +"type": "string" +}, +"targetPlaybook": { +"type": "string" +}, +"triggerFulfillment": { +"$ref": "GoogleCloudDialogflowCxV3beta1Fulfillment" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1EventInput": { +"id": "GoogleCloudDialogflowCxV3beta1EventInput", +"properties": { +"event": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1Example": { +"id": "GoogleCloudDialogflowCxV3beta1Example", +"properties": { +"actions": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3beta1Action" +}, +"type": "array" +}, +"conversationState": { +"enum": [ +"OUTPUT_STATE_UNSPECIFIED", +"OUTPUT_STATE_OK", +"OUTPUT_STATE_CANCELLED", +"OUTPUT_STATE_FAILED", +"OUTPUT_STATE_ESCALATED", +"OUTPUT_STATE_PENDING" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"" +], +"type": "string" +}, +"createTime": { +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"description": { +"type": "string" +}, +"displayName": { +"type": "string" +}, +"languageCode": { +"type": "string" +}, +"name": { +"type": "string" +}, +"playbookInput": { +"$ref": "GoogleCloudDialogflowCxV3beta1PlaybookInput" +}, +"playbookOutput": { +"$ref": "GoogleCloudDialogflowCxV3beta1PlaybookOutput" +}, +"tokenCount": { +"format": "int64", +"readOnly": true, +"type": "string" +}, +"updateTime": { +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1ExceptionDetail": { +"id": "GoogleCloudDialogflowCxV3beta1ExceptionDetail", +"properties": { +"errorMessage": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1Experiment": { +"id": "GoogleCloudDialogflowCxV3beta1Experiment", +"properties": { +"createTime": { +"format": "google-datetime", +"type": "string" +}, +"definition": { +"$ref": "GoogleCloudDialogflowCxV3beta1ExperimentDefinition" +}, +"description": { +"type": "string" +}, +"displayName": { +"type": "string" +}, +"endTime": { +"format": "google-datetime", +"type": "string" +}, +"experimentLength": { +"format": "google-duration", +"type": "string" +}, +"lastUpdateTime": { +"format": "google-datetime", +"type": "string" +}, +"name": { +"type": "string" +}, +"result": { +"$ref": "GoogleCloudDialogflowCxV3beta1ExperimentResult" +}, +"rolloutConfig": { +"$ref": "GoogleCloudDialogflowCxV3beta1RolloutConfig" +}, +"rolloutFailureReason": { +"type": "string" +}, +"rolloutState": { +"$ref": "GoogleCloudDialogflowCxV3beta1RolloutState" +}, +"startTime": { +"format": "google-datetime", +"type": "string" +}, +"state": { +"enum": [ +"STATE_UNSPECIFIED", +"DRAFT", +"RUNNING", +"DONE", +"ROLLOUT_FAILED" +], +"enumDescriptions": [ +"", +"", +"", +"", +"" +], +"type": "string" +}, +"variantsHistory": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3beta1VariantsHistory" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1ExperimentDefinition": { +"id": "GoogleCloudDialogflowCxV3beta1ExperimentDefinition", +"properties": { +"condition": { +"type": "string" +}, +"versionVariants": { +"$ref": "GoogleCloudDialogflowCxV3beta1VersionVariants" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1ExperimentResult": { +"id": "GoogleCloudDialogflowCxV3beta1ExperimentResult", +"properties": { +"lastUpdateTime": { +"format": "google-datetime", +"type": "string" +}, +"versionMetrics": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3beta1ExperimentResultVersionMetrics" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1ExperimentResultConfidenceInterval": { +"id": "GoogleCloudDialogflowCxV3beta1ExperimentResultConfidenceInterval", +"properties": { +"confidenceLevel": { +"format": "double", +"type": "number" +}, +"lowerBound": { +"format": "double", +"type": "number" +}, +"ratio": { +"format": "double", +"type": "number" +}, +"upperBound": { +"format": "double", +"type": "number" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1ExperimentResultMetric": { +"id": "GoogleCloudDialogflowCxV3beta1ExperimentResultMetric", +"properties": { +"confidenceInterval": { +"$ref": "GoogleCloudDialogflowCxV3beta1ExperimentResultConfidenceInterval" +}, +"count": { +"format": "double", +"type": "number" +}, +"countType": { +"enum": [ +"COUNT_TYPE_UNSPECIFIED", +"TOTAL_NO_MATCH_COUNT", +"TOTAL_TURN_COUNT", +"AVERAGE_TURN_COUNT" +], +"enumDescriptions": [ +"", +"", +"", +"" +], +"type": "string" +}, +"ratio": { +"format": "double", +"type": "number" +}, +"type": { +"enum": [ +"METRIC_UNSPECIFIED", +"CONTAINED_SESSION_NO_CALLBACK_RATE", +"LIVE_AGENT_HANDOFF_RATE", +"CALLBACK_SESSION_RATE", +"ABANDONED_SESSION_RATE", +"SESSION_END_RATE" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"" +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1ExperimentResultVersionMetrics": { +"id": "GoogleCloudDialogflowCxV3beta1ExperimentResultVersionMetrics", +"properties": { +"metrics": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3beta1ExperimentResultMetric" +}, +"type": "array" +}, +"sessionCount": { +"format": "int32", +"type": "integer" +}, +"version": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1ExportAgentRequest": { +"id": "GoogleCloudDialogflowCxV3beta1ExportAgentRequest", +"properties": { +"agentUri": { +"type": "string" +}, +"dataFormat": { +"enum": [ +"DATA_FORMAT_UNSPECIFIED", +"BLOB", +"JSON_PACKAGE" +], +"enumDescriptions": [ +"", +"", +"" +], +"type": "string" +}, +"environment": { +"type": "string" +}, +"gitDestination": { +"$ref": "GoogleCloudDialogflowCxV3beta1ExportAgentRequestGitDestination" +}, +"includeBigqueryExportSettings": { +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1ExportAgentRequestGitDestination": { +"id": "GoogleCloudDialogflowCxV3beta1ExportAgentRequestGitDestination", +"properties": { +"commitMessage": { +"type": "string" +}, +"trackingBranch": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1ExportAgentResponse": { +"id": "GoogleCloudDialogflowCxV3beta1ExportAgentResponse", +"properties": { +"agentContent": { +"format": "byte", +"type": "string" +}, +"agentUri": { +"type": "string" +}, +"commitSha": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1ExportEntityTypesMetadata": { +"id": "GoogleCloudDialogflowCxV3beta1ExportEntityTypesMetadata", +"properties": {}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1ExportEntityTypesRequest": { +"id": "GoogleCloudDialogflowCxV3beta1ExportEntityTypesRequest", +"properties": { +"dataFormat": { +"enum": [ +"DATA_FORMAT_UNSPECIFIED", +"BLOB", +"JSON_PACKAGE" +], +"enumDescriptions": [ +"", +"", +"" +], +"type": "string" +}, +"entityTypes": { +"items": { +"type": "string" +}, +"type": "array" +}, +"entityTypesContentInline": { +"type": "boolean" +}, +"entityTypesUri": { +"type": "string" +}, +"languageCode": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1ExportEntityTypesResponse": { +"id": "GoogleCloudDialogflowCxV3beta1ExportEntityTypesResponse", +"properties": { +"entityTypesContent": { +"$ref": "GoogleCloudDialogflowCxV3beta1InlineDestination" +}, +"entityTypesUri": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1ExportFlowRequest": { +"id": "GoogleCloudDialogflowCxV3beta1ExportFlowRequest", +"properties": { +"flowUri": { +"type": "string" +}, +"includeReferencedFlows": { +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1ExportFlowResponse": { +"id": "GoogleCloudDialogflowCxV3beta1ExportFlowResponse", +"properties": { +"flowContent": { +"format": "byte", +"type": "string" +}, +"flowUri": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1ExportIntentsMetadata": { +"id": "GoogleCloudDialogflowCxV3beta1ExportIntentsMetadata", +"properties": {}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1ExportIntentsRequest": { +"id": "GoogleCloudDialogflowCxV3beta1ExportIntentsRequest", +"properties": { +"dataFormat": { +"enum": [ +"DATA_FORMAT_UNSPECIFIED", +"BLOB", +"JSON", +"CSV" +], +"enumDescriptions": [ +"", +"", +"", +"" +], +"type": "string" +}, +"intents": { +"items": { +"type": "string" +}, +"type": "array" +}, +"intentsContentInline": { +"type": "boolean" +}, +"intentsUri": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1ExportIntentsResponse": { +"id": "GoogleCloudDialogflowCxV3beta1ExportIntentsResponse", +"properties": { +"intentsContent": { +"$ref": "GoogleCloudDialogflowCxV3beta1InlineDestination" +}, +"intentsUri": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1ExportPlaybookRequest": { +"id": "GoogleCloudDialogflowCxV3beta1ExportPlaybookRequest", +"properties": { +"dataFormat": { +"enum": [ +"DATA_FORMAT_UNSPECIFIED", +"BLOB", +"JSON" +], +"enumDescriptions": [ +"", +"", +"" +], +"type": "string" +}, +"playbookUri": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1ExportTestCasesMetadata": { +"id": "GoogleCloudDialogflowCxV3beta1ExportTestCasesMetadata", +"properties": {}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1ExportTestCasesRequest": { +"id": "GoogleCloudDialogflowCxV3beta1ExportTestCasesRequest", +"properties": { +"dataFormat": { +"enum": [ +"DATA_FORMAT_UNSPECIFIED", +"BLOB", +"JSON" +], +"enumDescriptions": [ +"", +"", +"" +], +"type": "string" +}, +"filter": { +"type": "string" +}, +"gcsUri": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1ExportTestCasesResponse": { +"id": "GoogleCloudDialogflowCxV3beta1ExportTestCasesResponse", +"properties": { +"content": { +"format": "byte", +"type": "string" +}, +"gcsUri": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1ExportToolsRequest": { +"id": "GoogleCloudDialogflowCxV3beta1ExportToolsRequest", +"properties": { +"dataFormat": { +"enum": [ +"DATA_FORMAT_UNSPECIFIED", +"BLOB" +], +"enumDescriptions": [ +"", +"" +], +"type": "string" +}, +"tools": { +"items": { +"type": "string" +}, +"type": "array" +}, +"toolsContentInline": { +"type": "boolean" +}, +"toolsUri": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1FilterSpecs": { +"id": "GoogleCloudDialogflowCxV3beta1FilterSpecs", +"properties": { +"dataStores": { +"items": { +"type": "string" +}, +"type": "array" +}, +"filter": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1Flow": { +"id": "GoogleCloudDialogflowCxV3beta1Flow", +"properties": { +"advancedSettings": { +"$ref": "GoogleCloudDialogflowCxV3beta1AdvancedSettings" +}, +"description": { +"type": "string" +}, +"displayName": { +"type": "string" +}, +"eventHandlers": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3beta1EventHandler" +}, +"type": "array" +}, +"inputParameterDefinitions": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3beta1ParameterDefinition" +}, +"type": "array" +}, +"knowledgeConnectorSettings": { +"$ref": "GoogleCloudDialogflowCxV3beta1KnowledgeConnectorSettings" +}, +"locked": { +"type": "boolean" +}, +"multiLanguageSettings": { +"$ref": "GoogleCloudDialogflowCxV3beta1FlowMultiLanguageSettings" +}, +"name": { +"type": "string" +}, +"nluSettings": { +"$ref": "GoogleCloudDialogflowCxV3beta1NluSettings" +}, +"outputParameterDefinitions": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3beta1ParameterDefinition" +}, +"type": "array" +}, +"transitionRouteGroups": { +"items": { +"type": "string" +}, +"type": "array" +}, +"transitionRoutes": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3beta1TransitionRoute" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1FlowImportStrategy": { +"id": "GoogleCloudDialogflowCxV3beta1FlowImportStrategy", +"properties": { +"globalImportStrategy": { +"enum": [ +"IMPORT_STRATEGY_UNSPECIFIED", +"IMPORT_STRATEGY_CREATE_NEW", +"IMPORT_STRATEGY_REPLACE", +"IMPORT_STRATEGY_KEEP", +"IMPORT_STRATEGY_MERGE", +"IMPORT_STRATEGY_THROW_ERROR" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"" +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1FlowInvocation": { +"id": "GoogleCloudDialogflowCxV3beta1FlowInvocation", +"properties": { +"displayName": { +"readOnly": true, +"type": "string" +}, +"flow": { +"type": "string" +}, +"flowState": { +"enum": [ +"OUTPUT_STATE_UNSPECIFIED", +"OUTPUT_STATE_OK", +"OUTPUT_STATE_CANCELLED", +"OUTPUT_STATE_FAILED", +"OUTPUT_STATE_ESCALATED", +"OUTPUT_STATE_PENDING" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"" +], +"type": "string" +}, +"inputActionParameters": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"type": "object" +}, +"outputActionParameters": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"type": "object" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1FlowMultiLanguageSettings": { +"id": "GoogleCloudDialogflowCxV3beta1FlowMultiLanguageSettings", +"properties": { +"enableMultiLanguageDetection": { +"type": "boolean" +}, +"supportedResponseLanguageCodes": { +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1FlowTransition": { +"id": "GoogleCloudDialogflowCxV3beta1FlowTransition", +"properties": { +"displayName": { +"readOnly": true, +"type": "string" +}, +"flow": { +"type": "string" +}, +"inputActionParameters": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"deprecated": true, +"type": "object" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1FlowValidationResult": { +"id": "GoogleCloudDialogflowCxV3beta1FlowValidationResult", +"properties": { +"name": { +"type": "string" +}, +"updateTime": { +"format": "google-datetime", +"type": "string" +}, +"validationMessages": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3beta1ValidationMessage" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1Form": { +"id": "GoogleCloudDialogflowCxV3beta1Form", +"properties": { +"parameters": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3beta1FormParameter" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1FormParameter": { +"id": "GoogleCloudDialogflowCxV3beta1FormParameter", +"properties": { +"advancedSettings": { +"$ref": "GoogleCloudDialogflowCxV3beta1AdvancedSettings" +}, +"defaultValue": { +"type": "any" +}, +"displayName": { +"type": "string" +}, +"entityType": { +"type": "string" +}, +"fillBehavior": { +"$ref": "GoogleCloudDialogflowCxV3beta1FormParameterFillBehavior" +}, +"isList": { +"type": "boolean" +}, +"redact": { +"type": "boolean" +}, +"required": { +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1FormParameterFillBehavior": { +"id": "GoogleCloudDialogflowCxV3beta1FormParameterFillBehavior", +"properties": { +"initialPromptFulfillment": { +"$ref": "GoogleCloudDialogflowCxV3beta1Fulfillment" +}, +"repromptEventHandlers": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3beta1EventHandler" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1FulfillIntentRequest": { +"id": "GoogleCloudDialogflowCxV3beta1FulfillIntentRequest", +"properties": { +"match": { +"$ref": "GoogleCloudDialogflowCxV3beta1Match" +}, +"matchIntentRequest": { +"$ref": "GoogleCloudDialogflowCxV3beta1MatchIntentRequest" +}, +"outputAudioConfig": { +"$ref": "GoogleCloudDialogflowCxV3beta1OutputAudioConfig" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1FulfillIntentResponse": { +"id": "GoogleCloudDialogflowCxV3beta1FulfillIntentResponse", +"properties": { +"outputAudio": { +"format": "byte", +"type": "string" +}, +"outputAudioConfig": { +"$ref": "GoogleCloudDialogflowCxV3beta1OutputAudioConfig" +}, +"queryResult": { +"$ref": "GoogleCloudDialogflowCxV3beta1QueryResult" +}, +"responseId": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1Fulfillment": { +"id": "GoogleCloudDialogflowCxV3beta1Fulfillment", +"properties": { +"advancedSettings": { +"$ref": "GoogleCloudDialogflowCxV3beta1AdvancedSettings" +}, +"conditionalCases": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCases" +}, +"type": "array" +}, +"enableGenerativeFallback": { +"type": "boolean" +}, +"generators": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3beta1FulfillmentGeneratorSettings" +}, +"type": "array" +}, +"messages": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3beta1ResponseMessage" +}, +"type": "array" +}, +"returnPartialResponses": { +"type": "boolean" +}, +"setParameterActions": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3beta1FulfillmentSetParameterAction" +}, +"type": "array" +}, +"tag": { +"type": "string" +}, +"webhook": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCases": { +"id": "GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCases", +"properties": { +"cases": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCase" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCase": { +"id": "GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCase", +"properties": { +"caseContent": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCaseCaseContent" +}, +"type": "array" +}, +"condition": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCaseCaseContent": { +"id": "GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCaseCaseContent", +"properties": { +"additionalCases": { +"$ref": "GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCases" +}, +"message": { +"$ref": "GoogleCloudDialogflowCxV3beta1ResponseMessage" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1FulfillmentGeneratorSettings": { +"id": "GoogleCloudDialogflowCxV3beta1FulfillmentGeneratorSettings", +"properties": { +"generator": { +"type": "string" +}, +"inputParameters": { +"additionalProperties": { +"type": "string" +}, +"type": "object" +}, +"outputParameter": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1FulfillmentSetParameterAction": { +"id": "GoogleCloudDialogflowCxV3beta1FulfillmentSetParameterAction", +"properties": { +"parameter": { +"type": "string" +}, +"value": { +"type": "any" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1GcsDestination": { +"id": "GoogleCloudDialogflowCxV3beta1GcsDestination", +"properties": { +"uri": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1GenerativeInfo": { +"id": "GoogleCloudDialogflowCxV3beta1GenerativeInfo", +"properties": { +"actionTracingInfo": { +"$ref": "GoogleCloudDialogflowCxV3beta1Example" +}, +"currentPlaybooks": { +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1GenerativeSettings": { +"id": "GoogleCloudDialogflowCxV3beta1GenerativeSettings", +"properties": { +"fallbackSettings": { +"$ref": "GoogleCloudDialogflowCxV3beta1GenerativeSettingsFallbackSettings" +}, +"generativeSafetySettings": { +"$ref": "GoogleCloudDialogflowCxV3beta1SafetySettings" +}, +"knowledgeConnectorSettings": { +"$ref": "GoogleCloudDialogflowCxV3beta1GenerativeSettingsKnowledgeConnectorSettings" +}, +"languageCode": { +"type": "string" +}, +"llmModelSettings": { +"$ref": "GoogleCloudDialogflowCxV3beta1LlmModelSettings" +}, +"name": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1GenerativeSettingsFallbackSettings": { +"id": "GoogleCloudDialogflowCxV3beta1GenerativeSettingsFallbackSettings", +"properties": { +"promptTemplates": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3beta1GenerativeSettingsFallbackSettingsPromptTemplate" +}, +"type": "array" +}, +"selectedPrompt": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1GenerativeSettingsFallbackSettingsPromptTemplate": { +"id": "GoogleCloudDialogflowCxV3beta1GenerativeSettingsFallbackSettingsPromptTemplate", +"properties": { +"displayName": { +"type": "string" +}, +"frozen": { +"type": "boolean" +}, +"promptText": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1GenerativeSettingsKnowledgeConnectorSettings": { +"id": "GoogleCloudDialogflowCxV3beta1GenerativeSettingsKnowledgeConnectorSettings", +"properties": { +"agent": { +"type": "string" +}, +"agentIdentity": { +"type": "string" +}, +"agentScope": { +"type": "string" +}, +"business": { +"type": "string" +}, +"businessDescription": { +"type": "string" +}, +"disableDataStoreFallback": { +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1Generator": { +"id": "GoogleCloudDialogflowCxV3beta1Generator", +"properties": { +"displayName": { +"type": "string" +}, +"llmModelSettings": { +"$ref": "GoogleCloudDialogflowCxV3beta1LlmModelSettings" +}, +"modelParameter": { +"$ref": "GoogleCloudDialogflowCxV3beta1GeneratorModelParameter" +}, +"name": { +"type": "string" +}, +"placeholders": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3beta1GeneratorPlaceholder" +}, +"type": "array" +}, +"promptText": { +"$ref": "GoogleCloudDialogflowCxV3beta1Phrase" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1GeneratorModelParameter": { +"id": "GoogleCloudDialogflowCxV3beta1GeneratorModelParameter", +"properties": { +"maxDecodeSteps": { +"format": "int32", +"type": "integer" +}, +"temperature": { +"format": "float", +"type": "number" +}, +"topK": { +"format": "int32", +"type": "integer" +}, +"topP": { +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1GeneratorPlaceholder": { +"id": "GoogleCloudDialogflowCxV3beta1GeneratorPlaceholder", +"properties": { +"id": { +"type": "string" +}, +"name": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1Handler": { +"id": "GoogleCloudDialogflowCxV3beta1Handler", +"properties": { +"eventHandler": { +"$ref": "GoogleCloudDialogflowCxV3beta1HandlerEventHandler" +}, +"lifecycleHandler": { +"$ref": "GoogleCloudDialogflowCxV3beta1HandlerLifecycleHandler" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1HandlerEventHandler": { +"id": "GoogleCloudDialogflowCxV3beta1HandlerEventHandler", +"properties": { +"condition": { +"type": "string" +}, +"event": { +"type": "string" +}, +"fulfillment": { +"$ref": "GoogleCloudDialogflowCxV3beta1Fulfillment" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1HandlerLifecycleHandler": { +"id": "GoogleCloudDialogflowCxV3beta1HandlerLifecycleHandler", +"properties": { +"condition": { +"type": "string" +}, +"fulfillment": { +"$ref": "GoogleCloudDialogflowCxV3beta1Fulfillment" +}, +"lifecycleStage": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1ImportEntityTypesMetadata": { +"id": "GoogleCloudDialogflowCxV3beta1ImportEntityTypesMetadata", +"properties": {}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1ImportEntityTypesRequest": { +"id": "GoogleCloudDialogflowCxV3beta1ImportEntityTypesRequest", +"properties": { +"entityTypesContent": { +"$ref": "GoogleCloudDialogflowCxV3beta1InlineSource" +}, +"entityTypesUri": { +"type": "string" +}, +"mergeOption": { +"enum": [ +"MERGE_OPTION_UNSPECIFIED", +"REPLACE", +"MERGE", +"RENAME", +"REPORT_CONFLICT", +"KEEP" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"" +], +"type": "string" +}, +"targetEntityType": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1ImportEntityTypesResponse": { +"id": "GoogleCloudDialogflowCxV3beta1ImportEntityTypesResponse", +"properties": { +"conflictingResources": { +"$ref": "GoogleCloudDialogflowCxV3beta1ImportEntityTypesResponseConflictingResources" +}, +"entityTypes": { +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1ImportEntityTypesResponseConflictingResources": { +"id": "GoogleCloudDialogflowCxV3beta1ImportEntityTypesResponseConflictingResources", +"properties": { +"entityDisplayNames": { +"items": { +"type": "string" +}, +"type": "array" +}, +"entityTypeDisplayNames": { +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1ImportFlowRequest": { +"id": "GoogleCloudDialogflowCxV3beta1ImportFlowRequest", +"properties": { +"flowContent": { +"format": "byte", +"type": "string" +}, +"flowImportStrategy": { +"$ref": "GoogleCloudDialogflowCxV3beta1FlowImportStrategy" +}, +"flowUri": { +"type": "string" +}, +"importOption": { +"enum": [ +"IMPORT_OPTION_UNSPECIFIED", +"KEEP", +"FALLBACK" +], +"enumDescriptions": [ +"", +"", +"" +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1ImportFlowResponse": { +"id": "GoogleCloudDialogflowCxV3beta1ImportFlowResponse", +"properties": { +"flow": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1ImportIntentsMetadata": { +"id": "GoogleCloudDialogflowCxV3beta1ImportIntentsMetadata", +"properties": {}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1ImportIntentsRequest": { +"id": "GoogleCloudDialogflowCxV3beta1ImportIntentsRequest", +"properties": { +"intentsContent": { +"$ref": "GoogleCloudDialogflowCxV3beta1InlineSource" +}, +"intentsUri": { +"type": "string" +}, +"mergeOption": { +"enum": [ +"MERGE_OPTION_UNSPECIFIED", +"REJECT", +"REPLACE", +"MERGE", +"RENAME", +"REPORT_CONFLICT", +"KEEP" +], +"enumDeprecated": [ +false, +true, +false, +false, +false, +false, +false +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"", +"" +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1ImportIntentsResponse": { +"id": "GoogleCloudDialogflowCxV3beta1ImportIntentsResponse", +"properties": { +"conflictingResources": { +"$ref": "GoogleCloudDialogflowCxV3beta1ImportIntentsResponseConflictingResources" +}, +"intents": { +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1ImportIntentsResponseConflictingResources": { +"id": "GoogleCloudDialogflowCxV3beta1ImportIntentsResponseConflictingResources", +"properties": { +"entityDisplayNames": { +"items": { +"type": "string" +}, +"type": "array" +}, +"intentDisplayNames": { +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1ImportPlaybookRequest": { +"id": "GoogleCloudDialogflowCxV3beta1ImportPlaybookRequest", +"properties": { +"importStrategy": { +"$ref": "GoogleCloudDialogflowCxV3beta1PlaybookImportStrategy" +}, +"playbookContent": { +"format": "byte", +"type": "string" +}, +"playbookUri": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1ImportTestCasesMetadata": { +"id": "GoogleCloudDialogflowCxV3beta1ImportTestCasesMetadata", +"properties": { +"errors": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3beta1TestCaseError" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1ImportTestCasesRequest": { +"id": "GoogleCloudDialogflowCxV3beta1ImportTestCasesRequest", +"properties": { +"content": { +"format": "byte", +"type": "string" +}, +"gcsUri": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1ImportTestCasesResponse": { +"id": "GoogleCloudDialogflowCxV3beta1ImportTestCasesResponse", +"properties": { +"names": { +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1InlineDestination": { +"id": "GoogleCloudDialogflowCxV3beta1InlineDestination", +"properties": { +"content": { +"format": "byte", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1InlineSchema": { +"id": "GoogleCloudDialogflowCxV3beta1InlineSchema", +"properties": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3beta1TypeSchema" +}, +"type": { +"enum": [ +"DATA_TYPE_UNSPECIFIED", +"STRING", +"NUMBER", +"BOOLEAN", +"ARRAY" +], +"enumDescriptions": [ +"", +"", +"", +"", +"" +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1InlineSource": { +"id": "GoogleCloudDialogflowCxV3beta1InlineSource", +"properties": { +"content": { +"format": "byte", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1InputAudioConfig": { +"id": "GoogleCloudDialogflowCxV3beta1InputAudioConfig", +"properties": { +"audioEncoding": { +"enum": [ +"AUDIO_ENCODING_UNSPECIFIED", +"AUDIO_ENCODING_LINEAR_16", +"AUDIO_ENCODING_FLAC", +"AUDIO_ENCODING_MULAW", +"AUDIO_ENCODING_AMR", +"AUDIO_ENCODING_AMR_WB", +"AUDIO_ENCODING_OGG_OPUS", +"AUDIO_ENCODING_SPEEX_WITH_HEADER_BYTE", +"AUDIO_ENCODING_ALAW" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"", +"", +"", +"" +], +"type": "string" +}, +"bargeInConfig": { +"$ref": "GoogleCloudDialogflowCxV3beta1BargeInConfig" +}, +"enableWordInfo": { +"type": "boolean" +}, +"model": { +"type": "string" +}, +"modelVariant": { +"enum": [ +"SPEECH_MODEL_VARIANT_UNSPECIFIED", +"USE_BEST_AVAILABLE", +"USE_STANDARD", +"USE_ENHANCED" +], +"enumDescriptions": [ +"", +"", +"", +"" +], +"type": "string" +}, +"optOutConformerModelMigration": { +"type": "boolean" +}, +"phraseHints": { +"items": { +"type": "string" +}, +"type": "array" +}, +"sampleRateHertz": { +"format": "int32", +"type": "integer" +}, +"singleUtterance": { +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1Intent": { +"id": "GoogleCloudDialogflowCxV3beta1Intent", +"properties": { +"description": { +"type": "string" +}, +"displayName": { +"type": "string" +}, +"isFallback": { +"type": "boolean" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"type": "object" +}, +"name": { +"type": "string" +}, +"parameters": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3beta1IntentParameter" +}, +"type": "array" +}, +"priority": { +"format": "int32", +"type": "integer" +}, +"trainingPhrases": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3beta1IntentTrainingPhrase" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1IntentCoverage": { +"id": "GoogleCloudDialogflowCxV3beta1IntentCoverage", +"properties": { +"coverageScore": { +"format": "float", +"type": "number" +}, +"intents": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3beta1IntentCoverageIntent" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1IntentCoverageIntent": { +"id": "GoogleCloudDialogflowCxV3beta1IntentCoverageIntent", +"properties": { +"covered": { +"type": "boolean" +}, +"intent": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1IntentInput": { +"id": "GoogleCloudDialogflowCxV3beta1IntentInput", +"properties": { +"intent": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1IntentParameter": { +"id": "GoogleCloudDialogflowCxV3beta1IntentParameter", +"properties": { +"entityType": { +"type": "string" +}, +"id": { +"type": "string" +}, +"isList": { +"type": "boolean" +}, +"redact": { +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1IntentTrainingPhrase": { +"id": "GoogleCloudDialogflowCxV3beta1IntentTrainingPhrase", +"properties": { +"id": { +"readOnly": true, +"type": "string" +}, +"parts": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3beta1IntentTrainingPhrasePart" +}, +"type": "array" +}, +"repeatCount": { +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1IntentTrainingPhrasePart": { +"id": "GoogleCloudDialogflowCxV3beta1IntentTrainingPhrasePart", +"properties": { +"parameterId": { +"type": "string" +}, +"text": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1KnowledgeConnectorSettings": { +"id": "GoogleCloudDialogflowCxV3beta1KnowledgeConnectorSettings", +"properties": { +"dataStoreConnections": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3beta1DataStoreConnection" +}, +"type": "array" +}, +"enabled": { +"type": "boolean" +}, +"targetFlow": { +"type": "string" +}, +"targetPage": { +"type": "string" +}, +"triggerFulfillment": { +"$ref": "GoogleCloudDialogflowCxV3beta1Fulfillment" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1LanguageInfo": { +"id": "GoogleCloudDialogflowCxV3beta1LanguageInfo", +"properties": { +"confidenceScore": { +"format": "float", +"type": "number" +}, +"inputLanguageCode": { +"type": "string" +}, +"resolvedLanguageCode": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1ListAgentsResponse": { +"id": "GoogleCloudDialogflowCxV3beta1ListAgentsResponse", +"properties": { +"agents": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3beta1Agent" +}, +"type": "array" +}, +"nextPageToken": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1ListChangelogsResponse": { +"id": "GoogleCloudDialogflowCxV3beta1ListChangelogsResponse", +"properties": { +"changelogs": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3beta1Changelog" +}, +"type": "array" +}, +"nextPageToken": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1ListContinuousTestResultsResponse": { +"id": "GoogleCloudDialogflowCxV3beta1ListContinuousTestResultsResponse", +"properties": { +"continuousTestResults": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3beta1ContinuousTestResult" +}, +"type": "array" +}, +"nextPageToken": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1ListConversationsResponse": { +"id": "GoogleCloudDialogflowCxV3beta1ListConversationsResponse", +"properties": { +"conversations": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3beta1Conversation" +}, +"type": "array" +}, +"nextPageToken": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1ListDeploymentsResponse": { +"id": "GoogleCloudDialogflowCxV3beta1ListDeploymentsResponse", +"properties": { +"deployments": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3beta1Deployment" +}, +"type": "array" +}, +"nextPageToken": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1ListEntityTypesResponse": { +"id": "GoogleCloudDialogflowCxV3beta1ListEntityTypesResponse", +"properties": { +"entityTypes": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3beta1EntityType" +}, +"type": "array" +}, +"nextPageToken": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1ListEnvironmentsResponse": { +"id": "GoogleCloudDialogflowCxV3beta1ListEnvironmentsResponse", +"properties": { +"environments": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3beta1Environment" +}, +"type": "array" +}, +"nextPageToken": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1ListExamplesResponse": { +"id": "GoogleCloudDialogflowCxV3beta1ListExamplesResponse", +"properties": { +"examples": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3beta1Example" +}, +"type": "array" +}, +"nextPageToken": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1ListExperimentsResponse": { +"id": "GoogleCloudDialogflowCxV3beta1ListExperimentsResponse", +"properties": { +"experiments": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3beta1Experiment" +}, +"type": "array" +}, +"nextPageToken": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1ListFlowsResponse": { +"id": "GoogleCloudDialogflowCxV3beta1ListFlowsResponse", +"properties": { +"flows": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3beta1Flow" +}, +"type": "array" +}, +"nextPageToken": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1ListGeneratorsResponse": { +"id": "GoogleCloudDialogflowCxV3beta1ListGeneratorsResponse", +"properties": { +"generators": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3beta1Generator" +}, +"type": "array" +}, +"nextPageToken": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1ListIntentsResponse": { +"id": "GoogleCloudDialogflowCxV3beta1ListIntentsResponse", +"properties": { +"intents": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3beta1Intent" +}, +"type": "array" +}, +"nextPageToken": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1ListPagesResponse": { +"id": "GoogleCloudDialogflowCxV3beta1ListPagesResponse", +"properties": { +"nextPageToken": { +"type": "string" +}, +"pages": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3beta1Page" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1ListPlaybookVersionsResponse": { +"id": "GoogleCloudDialogflowCxV3beta1ListPlaybookVersionsResponse", +"properties": { +"nextPageToken": { +"type": "string" +}, +"playbookVersions": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3beta1PlaybookVersion" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1ListPlaybooksResponse": { +"id": "GoogleCloudDialogflowCxV3beta1ListPlaybooksResponse", +"properties": { +"nextPageToken": { +"type": "string" +}, +"playbooks": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3beta1Playbook" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1ListSecuritySettingsResponse": { +"id": "GoogleCloudDialogflowCxV3beta1ListSecuritySettingsResponse", +"properties": { +"nextPageToken": { +"type": "string" +}, +"securitySettings": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3beta1SecuritySettings" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1ListSessionEntityTypesResponse": { +"id": "GoogleCloudDialogflowCxV3beta1ListSessionEntityTypesResponse", +"properties": { +"nextPageToken": { +"type": "string" +}, +"sessionEntityTypes": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3beta1SessionEntityType" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1ListTestCaseResultsResponse": { +"id": "GoogleCloudDialogflowCxV3beta1ListTestCaseResultsResponse", +"properties": { +"nextPageToken": { +"type": "string" +}, +"testCaseResults": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3beta1TestCaseResult" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1ListTestCasesResponse": { +"id": "GoogleCloudDialogflowCxV3beta1ListTestCasesResponse", +"properties": { +"nextPageToken": { +"type": "string" +}, +"testCases": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3beta1TestCase" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1ListToolVersionsResponse": { +"id": "GoogleCloudDialogflowCxV3beta1ListToolVersionsResponse", +"properties": { +"nextPageToken": { +"type": "string" +}, +"toolVersions": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3beta1ToolVersion" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1ListToolsResponse": { +"id": "GoogleCloudDialogflowCxV3beta1ListToolsResponse", +"properties": { +"nextPageToken": { +"type": "string" +}, +"tools": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3beta1Tool" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1ListTransitionRouteGroupsResponse": { +"id": "GoogleCloudDialogflowCxV3beta1ListTransitionRouteGroupsResponse", +"properties": { +"nextPageToken": { +"type": "string" +}, +"transitionRouteGroups": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3beta1TransitionRouteGroup" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1ListVersionsResponse": { +"id": "GoogleCloudDialogflowCxV3beta1ListVersionsResponse", +"properties": { +"nextPageToken": { +"type": "string" +}, +"versions": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3beta1Version" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1ListWebhooksResponse": { +"id": "GoogleCloudDialogflowCxV3beta1ListWebhooksResponse", +"properties": { +"nextPageToken": { +"type": "string" +}, +"webhooks": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3beta1Webhook" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1LlmCall": { +"id": "GoogleCloudDialogflowCxV3beta1LlmCall", +"properties": { +"model": { +"type": "string" +}, +"retrievedExamples": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3beta1LlmCallRetrievedExample" +}, +"type": "array" +}, +"temperature": { +"format": "float", +"type": "number" +}, +"tokenCount": { +"$ref": "GoogleCloudDialogflowCxV3beta1LlmCallTokenCount" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1LlmCallRetrievedExample": { +"id": "GoogleCloudDialogflowCxV3beta1LlmCallRetrievedExample", +"properties": { +"exampleDisplayName": { +"type": "string" +}, +"exampleId": { +"type": "string" +}, +"matchedRetrievalLabel": { +"type": "string" +}, +"retrievalStrategy": { +"enum": [ +"RETRIEVAL_STRATEGY_UNSPECIFIED", +"DEFAULT", +"STATIC", +"NEVER" +], +"enumDescriptions": [ +"", +"", +"", +"" +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1LlmCallTokenCount": { +"id": "GoogleCloudDialogflowCxV3beta1LlmCallTokenCount", +"properties": { +"conversationContextTokenCount": { +"format": "int64", +"type": "string" +}, +"exampleTokenCount": { +"format": "int64", +"type": "string" +}, +"totalInputTokenCount": { +"format": "int64", +"type": "string" +}, +"totalOutputTokenCount": { +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1LlmModelSettings": { +"id": "GoogleCloudDialogflowCxV3beta1LlmModelSettings", +"properties": { +"model": { +"type": "string" +}, +"parameters": { +"$ref": "GoogleCloudDialogflowCxV3beta1LlmModelSettingsParameters" +}, +"promptText": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1LlmModelSettingsParameters": { +"id": "GoogleCloudDialogflowCxV3beta1LlmModelSettingsParameters", +"properties": { +"inputTokenLimit": { +"enum": [ +"INPUT_TOKEN_LIMIT_UNSPECIFIED", +"INPUT_TOKEN_LIMIT_SHORT", +"INPUT_TOKEN_LIMIT_MEDIUM", +"INPUT_TOKEN_LIMIT_LONG" +], +"enumDescriptions": [ +"", +"", +"", +"" +], +"type": "string" +}, +"outputTokenLimit": { +"enum": [ +"OUTPUT_TOKEN_LIMIT_UNSPECIFIED", +"OUTPUT_TOKEN_LIMIT_SHORT", +"OUTPUT_TOKEN_LIMIT_MEDIUM", +"OUTPUT_TOKEN_LIMIT_LONG" +], +"enumDescriptions": [ +"", +"", +"", +"" +], +"type": "string" +}, +"temperature": { +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1LoadVersionRequest": { +"id": "GoogleCloudDialogflowCxV3beta1LoadVersionRequest", +"properties": { +"allowOverrideAgentResources": { +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1LookupEnvironmentHistoryResponse": { +"id": "GoogleCloudDialogflowCxV3beta1LookupEnvironmentHistoryResponse", +"properties": { +"environments": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3beta1Environment" +}, +"type": "array" +}, +"nextPageToken": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1Match": { +"id": "GoogleCloudDialogflowCxV3beta1Match", +"properties": { +"confidence": { +"format": "float", +"type": "number" +}, +"event": { +"type": "string" +}, +"intent": { +"$ref": "GoogleCloudDialogflowCxV3beta1Intent" +}, +"matchType": { +"enum": [ +"MATCH_TYPE_UNSPECIFIED", +"INTENT", +"DIRECT_INTENT", +"PARAMETER_FILLING", +"NO_MATCH", +"NO_INPUT", +"EVENT", +"KNOWLEDGE_CONNECTOR", +"PLAYBOOK" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"", +"", +"", +"" +], +"type": "string" +}, +"parameters": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"type": "object" +}, +"resolvedInput": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1MatchIntentRequest": { +"id": "GoogleCloudDialogflowCxV3beta1MatchIntentRequest", +"properties": { +"persistParameterChanges": { +"type": "boolean" +}, +"queryInput": { +"$ref": "GoogleCloudDialogflowCxV3beta1QueryInput" +}, +"queryParams": { +"$ref": "GoogleCloudDialogflowCxV3beta1QueryParameters" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1MatchIntentResponse": { +"id": "GoogleCloudDialogflowCxV3beta1MatchIntentResponse", +"properties": { +"currentPage": { +"$ref": "GoogleCloudDialogflowCxV3beta1Page" +}, +"matches": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3beta1Match" +}, +"type": "array" +}, +"text": { +"type": "string" +}, +"transcript": { +"type": "string" +}, +"triggerEvent": { +"type": "string" +}, +"triggerIntent": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1NamedMetric": { +"id": "GoogleCloudDialogflowCxV3beta1NamedMetric", +"properties": { +"name": { +"type": "string" +}, +"unit": { +"type": "string" +}, +"value": { +"type": "any" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1NluSettings": { +"id": "GoogleCloudDialogflowCxV3beta1NluSettings", +"properties": { +"classificationThreshold": { +"format": "float", +"type": "number" +}, +"modelTrainingMode": { +"enum": [ +"MODEL_TRAINING_MODE_UNSPECIFIED", +"MODEL_TRAINING_MODE_AUTOMATIC", +"MODEL_TRAINING_MODE_MANUAL" +], +"enumDescriptions": [ +"", +"", +"" +], +"type": "string" +}, +"modelType": { +"enum": [ +"MODEL_TYPE_UNSPECIFIED", +"MODEL_TYPE_STANDARD", +"MODEL_TYPE_ADVANCED" +], +"enumDescriptions": [ +"", +"", +"" +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1OutputAudioConfig": { +"id": "GoogleCloudDialogflowCxV3beta1OutputAudioConfig", +"properties": { +"audioEncoding": { +"enum": [ +"OUTPUT_AUDIO_ENCODING_UNSPECIFIED", +"OUTPUT_AUDIO_ENCODING_LINEAR_16", +"OUTPUT_AUDIO_ENCODING_MP3", +"OUTPUT_AUDIO_ENCODING_MP3_64_KBPS", +"OUTPUT_AUDIO_ENCODING_OGG_OPUS", +"OUTPUT_AUDIO_ENCODING_MULAW", +"OUTPUT_AUDIO_ENCODING_ALAW" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"", +"" +], +"type": "string" +}, +"sampleRateHertz": { +"format": "int32", +"type": "integer" +}, +"synthesizeSpeechConfig": { +"$ref": "GoogleCloudDialogflowCxV3beta1SynthesizeSpeechConfig" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1Page": { +"id": "GoogleCloudDialogflowCxV3beta1Page", +"properties": { +"advancedSettings": { +"$ref": "GoogleCloudDialogflowCxV3beta1AdvancedSettings" +}, +"description": { +"type": "string" +}, +"displayName": { +"type": "string" +}, +"entryFulfillment": { +"$ref": "GoogleCloudDialogflowCxV3beta1Fulfillment" +}, +"eventHandlers": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3beta1EventHandler" +}, +"type": "array" +}, +"form": { +"$ref": "GoogleCloudDialogflowCxV3beta1Form" +}, +"knowledgeConnectorSettings": { +"$ref": "GoogleCloudDialogflowCxV3beta1KnowledgeConnectorSettings" +}, +"name": { +"type": "string" +}, +"transitionRouteGroups": { +"items": { +"type": "string" +}, +"type": "array" +}, +"transitionRoutes": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3beta1TransitionRoute" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1PageInfo": { +"id": "GoogleCloudDialogflowCxV3beta1PageInfo", +"properties": { +"currentPage": { +"type": "string" +}, +"displayName": { +"type": "string" +}, +"formInfo": { +"$ref": "GoogleCloudDialogflowCxV3beta1PageInfoFormInfo" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1PageInfoFormInfo": { +"id": "GoogleCloudDialogflowCxV3beta1PageInfoFormInfo", +"properties": { +"parameterInfo": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3beta1PageInfoFormInfoParameterInfo" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1PageInfoFormInfoParameterInfo": { +"id": "GoogleCloudDialogflowCxV3beta1PageInfoFormInfoParameterInfo", +"properties": { +"displayName": { +"type": "string" +}, +"justCollected": { +"type": "boolean" +}, +"required": { +"type": "boolean" +}, +"state": { +"enum": [ +"PARAMETER_STATE_UNSPECIFIED", +"EMPTY", +"INVALID", +"FILLED" +], +"enumDescriptions": [ +"", +"", +"", +"" +], +"type": "string" +}, +"value": { +"type": "any" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1ParameterDefinition": { +"id": "GoogleCloudDialogflowCxV3beta1ParameterDefinition", +"properties": { +"description": { +"type": "string" +}, +"name": { +"type": "string" +}, +"type": { +"deprecated": true, +"enum": [ +"PARAMETER_TYPE_UNSPECIFIED", +"STRING", +"NUMBER", +"BOOLEAN", +"NULL", +"OBJECT", +"LIST" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"", +"" +], +"type": "string" +}, +"typeSchema": { +"$ref": "GoogleCloudDialogflowCxV3beta1TypeSchema" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1Phrase": { +"id": "GoogleCloudDialogflowCxV3beta1Phrase", +"properties": { +"text": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1Playbook": { +"id": "GoogleCloudDialogflowCxV3beta1Playbook", +"properties": { +"codeBlock": { +"$ref": "GoogleCloudDialogflowCxV3beta1CodeBlock" +}, +"createTime": { +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"displayName": { +"type": "string" +}, +"goal": { +"type": "string" +}, +"handlers": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3beta1Handler" +}, +"type": "array" +}, +"inlineActions": { +"items": { +"type": "string" +}, +"readOnly": true, +"type": "array" +}, +"inputParameterDefinitions": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3beta1ParameterDefinition" +}, +"type": "array" +}, +"instruction": { +"$ref": "GoogleCloudDialogflowCxV3beta1PlaybookInstruction" +}, +"llmModelSettings": { +"$ref": "GoogleCloudDialogflowCxV3beta1LlmModelSettings" +}, +"name": { +"type": "string" +}, +"outputParameterDefinitions": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3beta1ParameterDefinition" +}, +"type": "array" +}, +"playbookType": { +"enum": [ +"PLAYBOOK_TYPE_UNSPECIFIED", +"TASK", +"ROUTINE" +], +"enumDescriptions": [ +"", +"", +"" +], +"type": "string" +}, +"referencedFlows": { +"items": { +"type": "string" +}, +"readOnly": true, +"type": "array" +}, +"referencedPlaybooks": { +"items": { +"type": "string" +}, +"readOnly": true, +"type": "array" +}, +"referencedTools": { +"items": { +"type": "string" +}, +"type": "array" +}, +"speechSettings": { +"$ref": "GoogleCloudDialogflowCxV3beta1AdvancedSettingsSpeechSettings" +}, +"tokenCount": { +"format": "int64", +"readOnly": true, +"type": "string" +}, +"updateTime": { +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1PlaybookImportStrategy": { +"id": "GoogleCloudDialogflowCxV3beta1PlaybookImportStrategy", +"properties": { +"mainPlaybookImportStrategy": { +"enum": [ +"IMPORT_STRATEGY_UNSPECIFIED", +"IMPORT_STRATEGY_CREATE_NEW", +"IMPORT_STRATEGY_REPLACE", +"IMPORT_STRATEGY_KEEP", +"IMPORT_STRATEGY_MERGE", +"IMPORT_STRATEGY_THROW_ERROR" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"" +], +"type": "string" +}, +"nestedResourceImportStrategy": { +"enum": [ +"IMPORT_STRATEGY_UNSPECIFIED", +"IMPORT_STRATEGY_CREATE_NEW", +"IMPORT_STRATEGY_REPLACE", +"IMPORT_STRATEGY_KEEP", +"IMPORT_STRATEGY_MERGE", +"IMPORT_STRATEGY_THROW_ERROR" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"" +], +"type": "string" +}, +"toolImportStrategy": { +"enum": [ +"IMPORT_STRATEGY_UNSPECIFIED", +"IMPORT_STRATEGY_CREATE_NEW", +"IMPORT_STRATEGY_REPLACE", +"IMPORT_STRATEGY_KEEP", +"IMPORT_STRATEGY_MERGE", +"IMPORT_STRATEGY_THROW_ERROR" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"" +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1PlaybookInput": { +"id": "GoogleCloudDialogflowCxV3beta1PlaybookInput", +"properties": { +"actionParameters": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"type": "object" +}, +"precedingConversationSummary": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1PlaybookInstruction": { +"id": "GoogleCloudDialogflowCxV3beta1PlaybookInstruction", +"properties": { +"guidelines": { +"type": "string" +}, +"steps": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3beta1PlaybookStep" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1PlaybookInvocation": { +"id": "GoogleCloudDialogflowCxV3beta1PlaybookInvocation", +"properties": { +"displayName": { +"readOnly": true, +"type": "string" +}, +"playbook": { +"type": "string" +}, +"playbookInput": { +"$ref": "GoogleCloudDialogflowCxV3beta1PlaybookInput" +}, +"playbookOutput": { +"$ref": "GoogleCloudDialogflowCxV3beta1PlaybookOutput" +}, +"playbookState": { +"enum": [ +"OUTPUT_STATE_UNSPECIFIED", +"OUTPUT_STATE_OK", +"OUTPUT_STATE_CANCELLED", +"OUTPUT_STATE_FAILED", +"OUTPUT_STATE_ESCALATED", +"OUTPUT_STATE_PENDING" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"" +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1PlaybookOutput": { +"id": "GoogleCloudDialogflowCxV3beta1PlaybookOutput", +"properties": { +"actionParameters": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"type": "object" +}, +"executionSummary": { +"type": "string" +}, +"state": { +"deprecated": true, +"enum": [ +"STATE_UNSPECIFIED", +"OK", +"CANCELLED", +"FAILED", +"ESCALATED" +], +"enumDescriptions": [ +"", +"", +"", +"", +"" +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1PlaybookStep": { +"id": "GoogleCloudDialogflowCxV3beta1PlaybookStep", +"properties": { +"steps": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3beta1PlaybookStep" +}, +"type": "array" +}, +"text": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1PlaybookTransition": { +"id": "GoogleCloudDialogflowCxV3beta1PlaybookTransition", +"properties": { +"displayName": { +"readOnly": true, +"type": "string" +}, +"inputActionParameters": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"deprecated": true, +"type": "object" +}, +"playbook": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1PlaybookVersion": { +"id": "GoogleCloudDialogflowCxV3beta1PlaybookVersion", +"properties": { +"description": { +"type": "string" +}, +"examples": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3beta1Example" +}, +"readOnly": true, +"type": "array" +}, +"name": { +"type": "string" +}, +"playbook": { +"$ref": "GoogleCloudDialogflowCxV3beta1Playbook", +"readOnly": true +}, +"updateTime": { +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1QueryInput": { +"id": "GoogleCloudDialogflowCxV3beta1QueryInput", +"properties": { +"audio": { +"$ref": "GoogleCloudDialogflowCxV3beta1AudioInput" +}, +"dtmf": { +"$ref": "GoogleCloudDialogflowCxV3beta1DtmfInput" +}, +"event": { +"$ref": "GoogleCloudDialogflowCxV3beta1EventInput" +}, +"intent": { +"$ref": "GoogleCloudDialogflowCxV3beta1IntentInput" +}, +"languageCode": { +"type": "string" +}, +"text": { +"$ref": "GoogleCloudDialogflowCxV3beta1TextInput" +}, +"toolCallResult": { +"$ref": "GoogleCloudDialogflowCxV3beta1ToolCallResult" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1QueryParameters": { +"id": "GoogleCloudDialogflowCxV3beta1QueryParameters", +"properties": { +"analyzeQueryTextSentiment": { +"type": "boolean" +}, +"channel": { +"type": "string" +}, +"currentPage": { +"type": "string" +}, +"currentPlaybook": { +"type": "string" +}, +"disableWebhook": { +"type": "boolean" +}, +"endUserMetadata": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"type": "object" +}, +"flowVersions": { +"items": { +"type": "string" +}, +"type": "array" +}, +"geoLocation": { +"$ref": "GoogleTypeLatLng" +}, +"llmModelSettings": { +"$ref": "GoogleCloudDialogflowCxV3beta1LlmModelSettings" +}, +"parameterScope": { +"type": "string" +}, +"parameters": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"type": "object" +}, +"payload": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"type": "object" +}, +"populateDataStoreConnectionSignals": { +"deprecated": true, +"type": "boolean" +}, +"searchConfig": { +"$ref": "GoogleCloudDialogflowCxV3beta1SearchConfig" +}, +"sessionEntityTypes": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3beta1SessionEntityType" +}, +"type": "array" +}, +"sessionTtl": { +"format": "google-duration", +"type": "string" +}, +"timeZone": { +"type": "string" +}, +"webhookHeaders": { +"additionalProperties": { +"type": "string" +}, +"type": "object" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1QueryResult": { +"id": "GoogleCloudDialogflowCxV3beta1QueryResult", +"properties": { +"advancedSettings": { +"$ref": "GoogleCloudDialogflowCxV3beta1AdvancedSettings" +}, +"allowAnswerFeedback": { +"type": "boolean" +}, +"currentFlow": { +"$ref": "GoogleCloudDialogflowCxV3beta1Flow" +}, +"currentPage": { +"$ref": "GoogleCloudDialogflowCxV3beta1Page" +}, +"dataStoreConnectionSignals": { +"$ref": "GoogleCloudDialogflowCxV3beta1DataStoreConnectionSignals" +}, +"diagnosticInfo": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"type": "object" +}, +"dtmf": { +"$ref": "GoogleCloudDialogflowCxV3beta1DtmfInput" +}, +"generativeInfo": { +"$ref": "GoogleCloudDialogflowCxV3beta1GenerativeInfo" +}, +"intent": { +"$ref": "GoogleCloudDialogflowCxV3beta1Intent", +"deprecated": true +}, +"intentDetectionConfidence": { +"deprecated": true, +"format": "float", +"type": "number" +}, +"languageCode": { +"type": "string" +}, +"match": { +"$ref": "GoogleCloudDialogflowCxV3beta1Match" +}, +"parameters": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"type": "object" +}, +"responseMessages": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3beta1ResponseMessage" +}, +"type": "array" +}, +"sentimentAnalysisResult": { +"$ref": "GoogleCloudDialogflowCxV3beta1SentimentAnalysisResult" +}, +"text": { +"type": "string" +}, +"transcript": { +"type": "string" +}, +"triggerEvent": { +"type": "string" +}, +"triggerIntent": { +"type": "string" +}, +"webhookDisplayNames": { +"items": { +"type": "string" +}, +"type": "array" +}, +"webhookIds": { +"items": { +"type": "string" +}, +"type": "array" +}, +"webhookLatencies": { +"items": { +"format": "google-duration", +"type": "string" +}, +"type": "array" +}, +"webhookPayloads": { +"items": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"type": "object" +}, +"type": "array" +}, +"webhookStatuses": { +"items": { +"$ref": "GoogleRpcStatus" +}, +"type": "array" +}, +"webhookTags": { +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1ResourceName": { +"id": "GoogleCloudDialogflowCxV3beta1ResourceName", +"properties": { +"displayName": { +"type": "string" +}, +"name": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1ResponseMessage": { +"id": "GoogleCloudDialogflowCxV3beta1ResponseMessage", +"properties": { +"channel": { +"type": "string" +}, +"conversationSuccess": { +"$ref": "GoogleCloudDialogflowCxV3beta1ResponseMessageConversationSuccess" +}, +"endInteraction": { +"$ref": "GoogleCloudDialogflowCxV3beta1ResponseMessageEndInteraction", +"readOnly": true +}, +"knowledgeInfoCard": { +"$ref": "GoogleCloudDialogflowCxV3beta1ResponseMessageKnowledgeInfoCard" +}, +"liveAgentHandoff": { +"$ref": "GoogleCloudDialogflowCxV3beta1ResponseMessageLiveAgentHandoff" +}, +"mixedAudio": { +"$ref": "GoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudio", +"readOnly": true +}, +"outputAudioText": { +"$ref": "GoogleCloudDialogflowCxV3beta1ResponseMessageOutputAudioText" +}, +"payload": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"type": "object" +}, +"playAudio": { +"$ref": "GoogleCloudDialogflowCxV3beta1ResponseMessagePlayAudio" +}, +"telephonyTransferCall": { +"$ref": "GoogleCloudDialogflowCxV3beta1ResponseMessageTelephonyTransferCall" +}, +"text": { +"$ref": "GoogleCloudDialogflowCxV3beta1ResponseMessageText" +}, +"toolCall": { +"$ref": "GoogleCloudDialogflowCxV3beta1ToolCall" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1ResponseMessageConversationSuccess": { +"id": "GoogleCloudDialogflowCxV3beta1ResponseMessageConversationSuccess", +"properties": { +"metadata": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"type": "object" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1ResponseMessageEndInteraction": { +"id": "GoogleCloudDialogflowCxV3beta1ResponseMessageEndInteraction", +"properties": {}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1ResponseMessageKnowledgeInfoCard": { +"id": "GoogleCloudDialogflowCxV3beta1ResponseMessageKnowledgeInfoCard", +"properties": {}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1ResponseMessageLiveAgentHandoff": { +"id": "GoogleCloudDialogflowCxV3beta1ResponseMessageLiveAgentHandoff", +"properties": { +"metadata": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"type": "object" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudio": { +"id": "GoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudio", +"properties": { +"segments": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudioSegment" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudioSegment": { +"id": "GoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudioSegment", +"properties": { +"allowPlaybackInterruption": { +"readOnly": true, +"type": "boolean" +}, +"audio": { +"format": "byte", +"type": "string" +}, +"uri": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1ResponseMessageOutputAudioText": { +"id": "GoogleCloudDialogflowCxV3beta1ResponseMessageOutputAudioText", +"properties": { +"allowPlaybackInterruption": { +"readOnly": true, +"type": "boolean" +}, +"ssml": { +"type": "string" +}, +"text": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1ResponseMessagePlayAudio": { +"id": "GoogleCloudDialogflowCxV3beta1ResponseMessagePlayAudio", +"properties": { +"allowPlaybackInterruption": { +"readOnly": true, +"type": "boolean" +}, +"audioUri": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1ResponseMessageTelephonyTransferCall": { +"id": "GoogleCloudDialogflowCxV3beta1ResponseMessageTelephonyTransferCall", +"properties": { +"phoneNumber": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1ResponseMessageText": { +"id": "GoogleCloudDialogflowCxV3beta1ResponseMessageText", +"properties": { +"allowPlaybackInterruption": { +"readOnly": true, +"type": "boolean" +}, +"text": { +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1RestoreAgentRequest": { +"id": "GoogleCloudDialogflowCxV3beta1RestoreAgentRequest", +"properties": { +"agentContent": { +"format": "byte", +"type": "string" +}, +"agentUri": { +"type": "string" +}, +"gitSource": { +"$ref": "GoogleCloudDialogflowCxV3beta1RestoreAgentRequestGitSource" +}, +"restoreOption": { +"enum": [ +"RESTORE_OPTION_UNSPECIFIED", +"KEEP", +"FALLBACK" +], +"enumDescriptions": [ +"", +"", +"" +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1RestoreAgentRequestGitSource": { +"id": "GoogleCloudDialogflowCxV3beta1RestoreAgentRequestGitSource", +"properties": { +"trackingBranch": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1RestorePlaybookVersionRequest": { +"id": "GoogleCloudDialogflowCxV3beta1RestorePlaybookVersionRequest", +"properties": {}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1RestorePlaybookVersionResponse": { +"id": "GoogleCloudDialogflowCxV3beta1RestorePlaybookVersionResponse", +"properties": { +"playbook": { +"$ref": "GoogleCloudDialogflowCxV3beta1Playbook" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1RestoreToolVersionRequest": { +"id": "GoogleCloudDialogflowCxV3beta1RestoreToolVersionRequest", +"properties": {}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1RestoreToolVersionResponse": { +"id": "GoogleCloudDialogflowCxV3beta1RestoreToolVersionResponse", +"properties": { +"tool": { +"$ref": "GoogleCloudDialogflowCxV3beta1Tool" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1RolloutConfig": { +"id": "GoogleCloudDialogflowCxV3beta1RolloutConfig", +"properties": { +"failureCondition": { +"type": "string" +}, +"rolloutCondition": { +"type": "string" +}, +"rolloutSteps": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3beta1RolloutConfigRolloutStep" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1RolloutConfigRolloutStep": { +"id": "GoogleCloudDialogflowCxV3beta1RolloutConfigRolloutStep", +"properties": { +"displayName": { +"type": "string" +}, +"minDuration": { +"format": "google-duration", +"type": "string" +}, +"trafficPercent": { +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1RolloutState": { +"id": "GoogleCloudDialogflowCxV3beta1RolloutState", +"properties": { +"startTime": { +"format": "google-datetime", +"type": "string" +}, +"step": { +"type": "string" +}, +"stepIndex": { +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1RunContinuousTestMetadata": { +"id": "GoogleCloudDialogflowCxV3beta1RunContinuousTestMetadata", +"properties": { +"errors": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3beta1TestError" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1RunContinuousTestRequest": { +"id": "GoogleCloudDialogflowCxV3beta1RunContinuousTestRequest", +"properties": {}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1RunContinuousTestResponse": { +"id": "GoogleCloudDialogflowCxV3beta1RunContinuousTestResponse", +"properties": { +"continuousTestResult": { +"$ref": "GoogleCloudDialogflowCxV3beta1ContinuousTestResult" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1RunTestCaseMetadata": { +"id": "GoogleCloudDialogflowCxV3beta1RunTestCaseMetadata", +"properties": {}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1RunTestCaseRequest": { +"id": "GoogleCloudDialogflowCxV3beta1RunTestCaseRequest", +"properties": { +"environment": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1RunTestCaseResponse": { +"id": "GoogleCloudDialogflowCxV3beta1RunTestCaseResponse", +"properties": { +"result": { +"$ref": "GoogleCloudDialogflowCxV3beta1TestCaseResult" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1SafetySettings": { +"id": "GoogleCloudDialogflowCxV3beta1SafetySettings", +"properties": { +"bannedPhrases": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3beta1SafetySettingsPhrase" +}, +"type": "array" +}, +"defaultBannedPhraseMatchStrategy": { +"enum": [ +"PHRASE_MATCH_STRATEGY_UNSPECIFIED", +"PARTIAL_MATCH", +"WORD_MATCH" +], +"enumDescriptions": [ +"", +"", +"" +], +"type": "string" +}, +"defaultRaiSettings": { +"$ref": "GoogleCloudDialogflowCxV3beta1SafetySettingsRaiSettings" +}, +"promptSecuritySettings": { +"$ref": "GoogleCloudDialogflowCxV3beta1SafetySettingsPromptSecuritySettings" +}, +"raiSettings": { +"$ref": "GoogleCloudDialogflowCxV3beta1SafetySettingsRaiSettings" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1SafetySettingsPhrase": { +"id": "GoogleCloudDialogflowCxV3beta1SafetySettingsPhrase", +"properties": { +"languageCode": { +"type": "string" +}, +"text": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1SafetySettingsPromptSecuritySettings": { +"id": "GoogleCloudDialogflowCxV3beta1SafetySettingsPromptSecuritySettings", +"properties": { +"enablePromptSecurity": { +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1SafetySettingsRaiSettings": { +"id": "GoogleCloudDialogflowCxV3beta1SafetySettingsRaiSettings", +"properties": { +"categoryFilters": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3beta1SafetySettingsRaiSettingsCategoryFilter" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1SafetySettingsRaiSettingsCategoryFilter": { +"id": "GoogleCloudDialogflowCxV3beta1SafetySettingsRaiSettingsCategoryFilter", +"properties": { +"category": { +"enum": [ +"SAFETY_CATEGORY_UNSPECIFIED", +"DANGEROUS_CONTENT", +"HATE_SPEECH", +"HARASSMENT", +"SEXUALLY_EXPLICIT_CONTENT" +], +"enumDescriptions": [ +"", +"", +"", +"", +"" +], +"type": "string" +}, +"filterLevel": { +"enum": [ +"SAFETY_FILTER_LEVEL_UNSPECIFIED", +"BLOCK_NONE", +"BLOCK_FEW", +"BLOCK_SOME", +"BLOCK_MOST" +], +"enumDescriptions": [ +"", +"", +"", +"", +"" +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1SearchConfig": { +"id": "GoogleCloudDialogflowCxV3beta1SearchConfig", +"properties": { +"boostSpecs": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3beta1BoostSpecs" +}, +"type": "array" +}, +"filterSpecs": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3beta1FilterSpecs" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1SecuritySettings": { +"id": "GoogleCloudDialogflowCxV3beta1SecuritySettings", +"properties": { +"audioExportSettings": { +"$ref": "GoogleCloudDialogflowCxV3beta1SecuritySettingsAudioExportSettings" +}, +"deidentifyTemplate": { +"type": "string" +}, +"displayName": { +"type": "string" +}, +"insightsExportSettings": { +"$ref": "GoogleCloudDialogflowCxV3beta1SecuritySettingsInsightsExportSettings" +}, +"inspectTemplate": { +"type": "string" +}, +"name": { +"type": "string" +}, +"purgeDataTypes": { +"items": { +"enum": [ +"PURGE_DATA_TYPE_UNSPECIFIED", +"DIALOGFLOW_HISTORY" +], +"enumDescriptions": [ +"", +"" +], +"type": "string" +}, +"type": "array" +}, +"redactionScope": { +"enum": [ +"REDACTION_SCOPE_UNSPECIFIED", +"REDACT_DISK_STORAGE" +], +"enumDescriptions": [ +"", +"" +], +"type": "string" +}, +"redactionStrategy": { +"enum": [ +"REDACTION_STRATEGY_UNSPECIFIED", +"REDACT_WITH_SERVICE" +], +"enumDescriptions": [ +"", +"" +], +"type": "string" +}, +"retentionStrategy": { +"enum": [ +"RETENTION_STRATEGY_UNSPECIFIED", +"REMOVE_AFTER_CONVERSATION" +], +"enumDescriptions": [ +"", +"" +], +"type": "string" +}, +"retentionWindowDays": { +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1SecuritySettingsAudioExportSettings": { +"id": "GoogleCloudDialogflowCxV3beta1SecuritySettingsAudioExportSettings", +"properties": { +"audioExportPattern": { +"type": "string" +}, +"audioFormat": { +"enum": [ +"AUDIO_FORMAT_UNSPECIFIED", +"MULAW", +"MP3", +"OGG" +], +"enumDescriptions": [ +"", +"", +"", +"" +], +"type": "string" +}, +"enableAudioRedaction": { +"type": "boolean" +}, +"gcsBucket": { +"type": "string" +}, +"storeTtsAudio": { +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1SecuritySettingsInsightsExportSettings": { +"id": "GoogleCloudDialogflowCxV3beta1SecuritySettingsInsightsExportSettings", +"properties": { +"enableInsightsExport": { +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1SentimentAnalysisResult": { +"id": "GoogleCloudDialogflowCxV3beta1SentimentAnalysisResult", +"properties": { +"magnitude": { +"format": "float", +"type": "number" +}, +"score": { +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1SessionEntityType": { +"id": "GoogleCloudDialogflowCxV3beta1SessionEntityType", +"properties": { +"entities": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3beta1EntityTypeEntity" +}, +"type": "array" +}, +"entityOverrideMode": { +"enum": [ +"ENTITY_OVERRIDE_MODE_UNSPECIFIED", +"ENTITY_OVERRIDE_MODE_OVERRIDE", +"ENTITY_OVERRIDE_MODE_SUPPLEMENT" +], +"enumDescriptions": [ +"", +"", +"" +], +"type": "string" +}, +"name": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1SessionInfo": { +"id": "GoogleCloudDialogflowCxV3beta1SessionInfo", +"properties": { +"parameters": { +"additionalProperties": { +"type": "any" +}, +"type": "object" +}, +"session": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1Span": { +"id": "GoogleCloudDialogflowCxV3beta1Span", +"properties": { +"completeTime": { +"format": "google-datetime", +"type": "string" +}, +"metrics": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3beta1NamedMetric" +}, +"type": "array" +}, +"name": { +"type": "string" +}, +"startTime": { +"format": "google-datetime", +"type": "string" +}, +"tags": { +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1SpeechToTextSettings": { +"id": "GoogleCloudDialogflowCxV3beta1SpeechToTextSettings", +"properties": { +"enableSpeechAdaptation": { +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1StartExperimentRequest": { +"id": "GoogleCloudDialogflowCxV3beta1StartExperimentRequest", +"properties": {}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1Status": { +"id": "GoogleCloudDialogflowCxV3beta1Status", +"properties": { +"exception": { +"$ref": "GoogleCloudDialogflowCxV3beta1ExceptionDetail" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1StopExperimentRequest": { +"id": "GoogleCloudDialogflowCxV3beta1StopExperimentRequest", +"properties": {}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1SubmitAnswerFeedbackRequest": { +"id": "GoogleCloudDialogflowCxV3beta1SubmitAnswerFeedbackRequest", +"properties": { +"answerFeedback": { +"$ref": "GoogleCloudDialogflowCxV3beta1AnswerFeedback" +}, +"responseId": { +"type": "string" +}, +"updateMask": { +"format": "google-fieldmask", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1SynthesizeSpeechConfig": { +"id": "GoogleCloudDialogflowCxV3beta1SynthesizeSpeechConfig", +"properties": { +"effectsProfileId": { +"items": { +"type": "string" +}, +"type": "array" +}, +"pitch": { +"format": "double", +"type": "number" +}, +"speakingRate": { +"format": "double", +"type": "number" +}, +"voice": { +"$ref": "GoogleCloudDialogflowCxV3beta1VoiceSelectionParams" +}, +"volumeGainDb": { +"format": "double", +"type": "number" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1TestCase": { +"id": "GoogleCloudDialogflowCxV3beta1TestCase", +"properties": { +"creationTime": { +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"displayName": { +"type": "string" +}, +"lastTestResult": { +"$ref": "GoogleCloudDialogflowCxV3beta1TestCaseResult" +}, +"name": { +"type": "string" +}, +"notes": { +"type": "string" +}, +"tags": { +"items": { +"type": "string" +}, +"type": "array" +}, +"testCaseConversationTurns": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3beta1ConversationTurn" +}, +"type": "array" +}, +"testConfig": { +"$ref": "GoogleCloudDialogflowCxV3beta1TestConfig" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1TestCaseError": { +"id": "GoogleCloudDialogflowCxV3beta1TestCaseError", +"properties": { +"status": { +"$ref": "GoogleRpcStatus" +}, +"testCase": { +"$ref": "GoogleCloudDialogflowCxV3beta1TestCase" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1TestCaseResult": { +"id": "GoogleCloudDialogflowCxV3beta1TestCaseResult", +"properties": { +"conversationTurns": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3beta1ConversationTurn" +}, +"type": "array" +}, +"environment": { +"type": "string" +}, +"name": { +"type": "string" +}, +"testResult": { +"enum": [ +"TEST_RESULT_UNSPECIFIED", +"PASSED", +"FAILED" +], +"enumDescriptions": [ +"", +"", +"" +], +"type": "string" +}, +"testTime": { +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1TestConfig": { +"id": "GoogleCloudDialogflowCxV3beta1TestConfig", +"properties": { +"flow": { +"type": "string" +}, +"page": { +"type": "string" +}, +"trackingParameters": { +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1TestError": { +"id": "GoogleCloudDialogflowCxV3beta1TestError", +"properties": { +"status": { +"$ref": "GoogleRpcStatus" +}, +"testCase": { +"type": "string" +}, +"testTime": { +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1TestRunDifference": { +"id": "GoogleCloudDialogflowCxV3beta1TestRunDifference", +"properties": { +"description": { +"type": "string" +}, +"type": { +"enum": [ +"DIFF_TYPE_UNSPECIFIED", +"INTENT", +"PAGE", +"PARAMETERS", +"UTTERANCE", +"FLOW" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"" +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1TextInput": { +"id": "GoogleCloudDialogflowCxV3beta1TextInput", +"properties": { +"text": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1TextToSpeechSettings": { +"id": "GoogleCloudDialogflowCxV3beta1TextToSpeechSettings", +"properties": { +"synthesizeSpeechConfigs": { +"additionalProperties": { +"$ref": "GoogleCloudDialogflowCxV3beta1SynthesizeSpeechConfig" +}, +"type": "object" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1Tool": { +"id": "GoogleCloudDialogflowCxV3beta1Tool", +"properties": { +"connectorSpec": { +"$ref": "GoogleCloudDialogflowCxV3beta1ToolConnectorTool" +}, +"dataStoreSpec": { +"$ref": "GoogleCloudDialogflowCxV3beta1ToolDataStoreTool" +}, +"description": { +"type": "string" +}, +"displayName": { +"type": "string" +}, +"extensionSpec": { +"$ref": "GoogleCloudDialogflowCxV3beta1ToolExtensionTool" +}, +"functionSpec": { +"$ref": "GoogleCloudDialogflowCxV3beta1ToolFunctionTool" +}, +"name": { +"type": "string" +}, +"openApiSpec": { +"$ref": "GoogleCloudDialogflowCxV3beta1ToolOpenApiTool" +}, +"toolType": { +"enum": [ +"TOOL_TYPE_UNSPECIFIED", +"CUSTOMIZED_TOOL", +"BUILTIN_TOOL" +], +"enumDescriptions": [ +"", +"", +"" +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1ToolAuthentication": { +"id": "GoogleCloudDialogflowCxV3beta1ToolAuthentication", +"properties": { +"apiKeyConfig": { +"$ref": "GoogleCloudDialogflowCxV3beta1ToolAuthenticationApiKeyConfig" +}, +"bearerTokenConfig": { +"$ref": "GoogleCloudDialogflowCxV3beta1ToolAuthenticationBearerTokenConfig" +}, +"oauthConfig": { +"$ref": "GoogleCloudDialogflowCxV3beta1ToolAuthenticationOAuthConfig" +}, +"serviceAccountAuthConfig": { +"$ref": "GoogleCloudDialogflowCxV3beta1ToolAuthenticationServiceAccountAuthConfig" +}, +"serviceAgentAuthConfig": { +"$ref": "GoogleCloudDialogflowCxV3beta1ToolAuthenticationServiceAgentAuthConfig" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1ToolAuthenticationApiKeyConfig": { +"id": "GoogleCloudDialogflowCxV3beta1ToolAuthenticationApiKeyConfig", +"properties": { +"apiKey": { +"type": "string" +}, +"keyName": { +"type": "string" +}, +"requestLocation": { +"enum": [ +"REQUEST_LOCATION_UNSPECIFIED", +"HEADER", +"QUERY_STRING" +], +"enumDescriptions": [ +"", +"", +"" +], +"type": "string" +}, +"secretVersionForApiKey": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1ToolAuthenticationBearerTokenConfig": { +"id": "GoogleCloudDialogflowCxV3beta1ToolAuthenticationBearerTokenConfig", +"properties": { +"secretVersionForToken": { +"type": "string" +}, +"token": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1ToolAuthenticationOAuthConfig": { +"id": "GoogleCloudDialogflowCxV3beta1ToolAuthenticationOAuthConfig", +"properties": { +"clientId": { +"type": "string" +}, +"clientSecret": { +"type": "string" +}, +"oauthGrantType": { +"enum": [ +"OAUTH_GRANT_TYPE_UNSPECIFIED", +"CLIENT_CREDENTIAL" +], +"enumDescriptions": [ +"", +"" +], +"type": "string" +}, +"scopes": { +"items": { +"type": "string" +}, +"type": "array" +}, +"secretVersionForClientSecret": { +"type": "string" +}, +"tokenEndpoint": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1ToolAuthenticationServiceAccountAuthConfig": { +"id": "GoogleCloudDialogflowCxV3beta1ToolAuthenticationServiceAccountAuthConfig", +"properties": { +"serviceAccount": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1ToolAuthenticationServiceAgentAuthConfig": { +"id": "GoogleCloudDialogflowCxV3beta1ToolAuthenticationServiceAgentAuthConfig", +"properties": { +"serviceAgentAuth": { +"enum": [ +"SERVICE_AGENT_AUTH_UNSPECIFIED", +"ID_TOKEN", +"ACCESS_TOKEN" +], +"enumDescriptions": [ +"", +"", +"" +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1ToolCall": { +"id": "GoogleCloudDialogflowCxV3beta1ToolCall", +"properties": { +"action": { +"type": "string" +}, +"inputParameters": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"type": "object" +}, +"tool": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1ToolCallResult": { +"id": "GoogleCloudDialogflowCxV3beta1ToolCallResult", +"properties": { +"action": { +"type": "string" +}, +"error": { +"$ref": "GoogleCloudDialogflowCxV3beta1ToolCallResultError" +}, +"outputParameters": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"type": "object" +}, +"tool": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1ToolCallResultError": { +"id": "GoogleCloudDialogflowCxV3beta1ToolCallResultError", +"properties": { +"message": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1ToolConnectorTool": { +"id": "GoogleCloudDialogflowCxV3beta1ToolConnectorTool", +"properties": { +"actions": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3beta1ToolConnectorToolAction" +}, +"type": "array" +}, +"endUserAuthConfig": { +"$ref": "GoogleCloudDialogflowCxV3beta1ToolEndUserAuthConfig" +}, +"name": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1ToolConnectorToolAction": { +"id": "GoogleCloudDialogflowCxV3beta1ToolConnectorToolAction", +"properties": { +"connectionActionId": { +"type": "string" +}, +"entityOperation": { +"$ref": "GoogleCloudDialogflowCxV3beta1ToolConnectorToolActionEntityOperation" +}, +"inputFields": { +"items": { +"type": "string" +}, +"type": "array" +}, +"outputFields": { +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1ToolConnectorToolActionEntityOperation": { +"id": "GoogleCloudDialogflowCxV3beta1ToolConnectorToolActionEntityOperation", +"properties": { +"entityId": { +"type": "string" +}, +"operation": { +"enum": [ +"OPERATION_TYPE_UNSPECIFIED", +"LIST", +"GET", +"CREATE", +"UPDATE", +"DELETE" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"" +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1ToolDataStoreTool": { +"id": "GoogleCloudDialogflowCxV3beta1ToolDataStoreTool", +"properties": { +"dataStoreConnections": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3beta1DataStoreConnection" +}, +"type": "array" +}, +"fallbackPrompt": { +"$ref": "GoogleCloudDialogflowCxV3beta1ToolDataStoreToolFallbackPrompt" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1ToolDataStoreToolFallbackPrompt": { +"id": "GoogleCloudDialogflowCxV3beta1ToolDataStoreToolFallbackPrompt", +"properties": {}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1ToolEndUserAuthConfig": { +"id": "GoogleCloudDialogflowCxV3beta1ToolEndUserAuthConfig", +"properties": { +"oauth2AuthCodeConfig": { +"$ref": "GoogleCloudDialogflowCxV3beta1ToolEndUserAuthConfigOauth2AuthCodeConfig" +}, +"oauth2JwtBearerConfig": { +"$ref": "GoogleCloudDialogflowCxV3beta1ToolEndUserAuthConfigOauth2JwtBearerConfig" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1ToolEndUserAuthConfigOauth2AuthCodeConfig": { +"id": "GoogleCloudDialogflowCxV3beta1ToolEndUserAuthConfigOauth2AuthCodeConfig", +"properties": { +"oauthToken": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1ToolEndUserAuthConfigOauth2JwtBearerConfig": { +"id": "GoogleCloudDialogflowCxV3beta1ToolEndUserAuthConfigOauth2JwtBearerConfig", +"properties": { +"clientKey": { +"type": "string" +}, +"issuer": { +"type": "string" +}, +"subject": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1ToolExtensionTool": { +"id": "GoogleCloudDialogflowCxV3beta1ToolExtensionTool", +"properties": { +"name": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1ToolFunctionTool": { +"id": "GoogleCloudDialogflowCxV3beta1ToolFunctionTool", +"properties": { +"inputSchema": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"type": "object" +}, +"outputSchema": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"type": "object" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1ToolOpenApiTool": { +"id": "GoogleCloudDialogflowCxV3beta1ToolOpenApiTool", +"properties": { +"authentication": { +"$ref": "GoogleCloudDialogflowCxV3beta1ToolAuthentication" +}, +"serviceDirectoryConfig": { +"$ref": "GoogleCloudDialogflowCxV3beta1ToolServiceDirectoryConfig" +}, +"textSchema": { +"type": "string" +}, +"tlsConfig": { +"$ref": "GoogleCloudDialogflowCxV3beta1ToolTLSConfig" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1ToolServiceDirectoryConfig": { +"id": "GoogleCloudDialogflowCxV3beta1ToolServiceDirectoryConfig", +"properties": { +"service": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1ToolTLSConfig": { +"id": "GoogleCloudDialogflowCxV3beta1ToolTLSConfig", +"properties": { +"caCerts": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3beta1ToolTLSConfigCACert" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1ToolTLSConfigCACert": { +"id": "GoogleCloudDialogflowCxV3beta1ToolTLSConfigCACert", +"properties": { +"cert": { +"format": "byte", +"type": "string" +}, +"displayName": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1ToolUse": { +"id": "GoogleCloudDialogflowCxV3beta1ToolUse", +"properties": { +"action": { +"type": "string" +}, +"dataStoreToolTrace": { +"$ref": "GoogleCloudDialogflowCxV3beta1ToolUseDataStoreToolTrace" +}, +"displayName": { +"readOnly": true, +"type": "string" +}, +"inputActionParameters": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"type": "object" +}, +"outputActionParameters": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"type": "object" +}, +"tool": { +"type": "string" +}, +"webhookToolTrace": { +"$ref": "GoogleCloudDialogflowCxV3beta1ToolUseWebhookToolTrace" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1ToolUseDataStoreToolTrace": { +"id": "GoogleCloudDialogflowCxV3beta1ToolUseDataStoreToolTrace", +"properties": { +"dataStoreConnectionSignals": { +"$ref": "GoogleCloudDialogflowCxV3beta1DataStoreConnectionSignals" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1ToolUseWebhookToolTrace": { +"id": "GoogleCloudDialogflowCxV3beta1ToolUseWebhookToolTrace", +"properties": { +"webhookTag": { +"type": "string" +}, +"webhookUri": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1ToolVersion": { +"id": "GoogleCloudDialogflowCxV3beta1ToolVersion", +"properties": { +"createTime": { +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"displayName": { +"type": "string" +}, +"name": { +"type": "string" +}, +"tool": { +"$ref": "GoogleCloudDialogflowCxV3beta1Tool" +}, +"updateTime": { +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1TrainFlowRequest": { +"id": "GoogleCloudDialogflowCxV3beta1TrainFlowRequest", +"properties": {}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1TransitionCoverage": { +"id": "GoogleCloudDialogflowCxV3beta1TransitionCoverage", +"properties": { +"coverageScore": { +"format": "float", +"type": "number" +}, +"transitions": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3beta1TransitionCoverageTransition" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1TransitionCoverageTransition": { +"id": "GoogleCloudDialogflowCxV3beta1TransitionCoverageTransition", +"properties": { +"covered": { +"type": "boolean" +}, +"eventHandler": { +"$ref": "GoogleCloudDialogflowCxV3beta1EventHandler" +}, +"index": { +"format": "int32", +"type": "integer" +}, +"source": { +"$ref": "GoogleCloudDialogflowCxV3beta1TransitionCoverageTransitionNode" +}, +"target": { +"$ref": "GoogleCloudDialogflowCxV3beta1TransitionCoverageTransitionNode" +}, +"transitionRoute": { +"$ref": "GoogleCloudDialogflowCxV3beta1TransitionRoute" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1TransitionCoverageTransitionNode": { +"id": "GoogleCloudDialogflowCxV3beta1TransitionCoverageTransitionNode", +"properties": { +"flow": { +"$ref": "GoogleCloudDialogflowCxV3beta1Flow" +}, +"page": { +"$ref": "GoogleCloudDialogflowCxV3beta1Page" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1TransitionRoute": { +"id": "GoogleCloudDialogflowCxV3beta1TransitionRoute", +"properties": { +"condition": { +"type": "string" +}, +"description": { +"type": "string" +}, +"intent": { +"type": "string" +}, +"name": { +"readOnly": true, +"type": "string" +}, +"targetFlow": { +"type": "string" +}, +"targetPage": { +"type": "string" +}, +"triggerFulfillment": { +"$ref": "GoogleCloudDialogflowCxV3beta1Fulfillment" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1TransitionRouteGroup": { +"id": "GoogleCloudDialogflowCxV3beta1TransitionRouteGroup", +"properties": { +"displayName": { +"type": "string" +}, +"name": { +"type": "string" +}, +"transitionRoutes": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3beta1TransitionRoute" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1TransitionRouteGroupCoverage": { +"id": "GoogleCloudDialogflowCxV3beta1TransitionRouteGroupCoverage", +"properties": { +"coverageScore": { +"format": "float", +"type": "number" +}, +"coverages": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3beta1TransitionRouteGroupCoverageCoverage" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1TransitionRouteGroupCoverageCoverage": { +"id": "GoogleCloudDialogflowCxV3beta1TransitionRouteGroupCoverageCoverage", +"properties": { +"coverageScore": { +"format": "float", +"type": "number" +}, +"routeGroup": { +"$ref": "GoogleCloudDialogflowCxV3beta1TransitionRouteGroup" +}, +"transitions": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3beta1TransitionRouteGroupCoverageCoverageTransition" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1TransitionRouteGroupCoverageCoverageTransition": { +"id": "GoogleCloudDialogflowCxV3beta1TransitionRouteGroupCoverageCoverageTransition", +"properties": { +"covered": { +"type": "boolean" +}, +"transitionRoute": { +"$ref": "GoogleCloudDialogflowCxV3beta1TransitionRoute" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1TurnSignals": { +"id": "GoogleCloudDialogflowCxV3beta1TurnSignals", +"properties": { +"agentEscalated": { +"type": "boolean" +}, +"dtmfUsed": { +"type": "boolean" +}, +"failureReasons": { +"items": { +"enum": [ +"FAILURE_REASON_UNSPECIFIED", +"FAILED_INTENT", +"FAILED_WEBHOOK" +], +"enumDescriptions": [ +"", +"", +"" +], +"type": "string" +}, +"type": "array" +}, +"noMatch": { +"type": "boolean" +}, +"noUserInput": { +"type": "boolean" +}, +"reachedEndPage": { +"type": "boolean" +}, +"sentimentMagnitude": { +"format": "float", +"type": "number" +}, +"sentimentScore": { +"format": "float", +"type": "number" +}, +"userEscalated": { +"type": "boolean" +}, +"webhookStatuses": { +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1TypeSchema": { +"id": "GoogleCloudDialogflowCxV3beta1TypeSchema", +"properties": { +"inlineSchema": { +"$ref": "GoogleCloudDialogflowCxV3beta1InlineSchema" +}, +"schemaReference": { +"$ref": "GoogleCloudDialogflowCxV3beta1TypeSchemaSchemaReference" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1TypeSchemaSchemaReference": { +"id": "GoogleCloudDialogflowCxV3beta1TypeSchemaSchemaReference", +"properties": { +"schema": { +"type": "string" +}, +"tool": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1UserUtterance": { +"id": "GoogleCloudDialogflowCxV3beta1UserUtterance", +"properties": { +"audio": { +"format": "byte", +"type": "string" +}, +"audioTokens": { +"items": { +"format": "int32", +"type": "integer" +}, +"type": "array" +}, +"text": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1ValidateAgentRequest": { +"id": "GoogleCloudDialogflowCxV3beta1ValidateAgentRequest", +"properties": { +"languageCode": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1ValidateFlowRequest": { +"id": "GoogleCloudDialogflowCxV3beta1ValidateFlowRequest", +"properties": { +"languageCode": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1ValidationMessage": { +"id": "GoogleCloudDialogflowCxV3beta1ValidationMessage", +"properties": { +"detail": { +"type": "string" +}, +"resourceNames": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3beta1ResourceName" +}, +"type": "array" +}, +"resourceType": { +"enum": [ +"RESOURCE_TYPE_UNSPECIFIED", +"AGENT", +"INTENT", +"INTENT_TRAINING_PHRASE", +"INTENT_PARAMETER", +"INTENTS", +"INTENT_TRAINING_PHRASES", +"ENTITY_TYPE", +"ENTITY_TYPES", +"WEBHOOK", +"FLOW", +"PAGE", +"PAGES", +"TRANSITION_ROUTE_GROUP", +"AGENT_TRANSITION_ROUTE_GROUP" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"" +], +"type": "string" +}, +"resources": { +"deprecated": true, +"items": { +"type": "string" +}, +"type": "array" +}, +"severity": { +"enum": [ +"SEVERITY_UNSPECIFIED", +"INFO", +"WARNING", +"ERROR" +], +"enumDescriptions": [ +"", +"", +"", +"" +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1VariantsHistory": { +"id": "GoogleCloudDialogflowCxV3beta1VariantsHistory", +"properties": { +"updateTime": { +"format": "google-datetime", +"type": "string" +}, +"versionVariants": { +"$ref": "GoogleCloudDialogflowCxV3beta1VersionVariants" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1Version": { +"id": "GoogleCloudDialogflowCxV3beta1Version", +"properties": { +"createTime": { +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"description": { +"type": "string" +}, +"displayName": { +"type": "string" +}, +"name": { +"type": "string" +}, +"nluSettings": { +"$ref": "GoogleCloudDialogflowCxV3beta1NluSettings", +"readOnly": true +}, +"state": { +"enum": [ +"STATE_UNSPECIFIED", +"RUNNING", +"SUCCEEDED", +"FAILED" +], +"enumDescriptions": [ +"", +"", +"", +"" +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1VersionVariants": { +"id": "GoogleCloudDialogflowCxV3beta1VersionVariants", +"properties": { +"variants": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3beta1VersionVariantsVariant" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1VersionVariantsVariant": { +"id": "GoogleCloudDialogflowCxV3beta1VersionVariantsVariant", +"properties": { +"isControlGroup": { +"type": "boolean" +}, +"trafficAllocation": { +"format": "float", +"type": "number" +}, +"version": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1VoiceSelectionParams": { +"id": "GoogleCloudDialogflowCxV3beta1VoiceSelectionParams", +"properties": { +"name": { +"type": "string" +}, +"ssmlGender": { +"enum": [ +"SSML_VOICE_GENDER_UNSPECIFIED", +"SSML_VOICE_GENDER_MALE", +"SSML_VOICE_GENDER_FEMALE", +"SSML_VOICE_GENDER_NEUTRAL" +], +"enumDescriptions": [ +"", +"", +"", +"" +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1Webhook": { +"id": "GoogleCloudDialogflowCxV3beta1Webhook", +"properties": { +"disabled": { +"type": "boolean" +}, +"displayName": { +"type": "string" +}, +"genericWebService": { +"$ref": "GoogleCloudDialogflowCxV3beta1WebhookGenericWebService" +}, +"name": { +"type": "string" +}, +"serviceDirectory": { +"$ref": "GoogleCloudDialogflowCxV3beta1WebhookServiceDirectoryConfig" +}, +"timeout": { +"format": "google-duration", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1WebhookGenericWebService": { +"id": "GoogleCloudDialogflowCxV3beta1WebhookGenericWebService", +"properties": { +"allowedCaCerts": { +"items": { +"format": "byte", +"type": "string" +}, +"type": "array" +}, +"httpMethod": { +"enum": [ +"HTTP_METHOD_UNSPECIFIED", +"POST", +"GET", +"HEAD", +"PUT", +"DELETE", +"PATCH", +"OPTIONS" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"", +"", +"" +], +"type": "string" +}, +"oauthConfig": { +"$ref": "GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceOAuthConfig" +}, +"parameterMapping": { +"additionalProperties": { +"type": "string" +}, +"type": "object" +}, +"password": { +"deprecated": true, +"type": "string" +}, +"requestBody": { +"type": "string" +}, +"requestHeaders": { +"additionalProperties": { +"type": "string" +}, +"type": "object" +}, +"secretVersionForUsernamePassword": { +"type": "string" +}, +"secretVersionsForRequestHeaders": { +"additionalProperties": { +"$ref": "GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceSecretVersionHeaderValue" +}, +"type": "object" +}, +"serviceAccountAuthConfig": { +"$ref": "GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceServiceAccountAuthConfig" +}, +"serviceAgentAuth": { +"enum": [ +"SERVICE_AGENT_AUTH_UNSPECIFIED", +"NONE", +"ID_TOKEN", +"ACCESS_TOKEN" +], +"enumDescriptions": [ +"", +"", +"", +"" +], +"type": "string" +}, +"uri": { +"type": "string" +}, +"username": { +"deprecated": true, +"type": "string" +}, +"webhookType": { +"enum": [ +"WEBHOOK_TYPE_UNSPECIFIED", +"STANDARD", +"FLEXIBLE" +], +"enumDescriptions": [ +"", +"", +"" +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceOAuthConfig": { +"id": "GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceOAuthConfig", +"properties": { +"clientId": { +"type": "string" +}, +"clientSecret": { +"type": "string" +}, +"scopes": { +"items": { +"type": "string" +}, +"type": "array" +}, +"secretVersionForClientSecret": { +"type": "string" +}, +"tokenEndpoint": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceSecretVersionHeaderValue": { +"id": "GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceSecretVersionHeaderValue", +"properties": { +"secretVersion": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceServiceAccountAuthConfig": { +"id": "GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceServiceAccountAuthConfig", +"properties": { +"serviceAccount": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1WebhookRequest": { +"id": "GoogleCloudDialogflowCxV3beta1WebhookRequest", +"properties": { +"detectIntentResponseId": { +"type": "string" +}, +"dtmfDigits": { +"type": "string" +}, +"fulfillmentInfo": { +"$ref": "GoogleCloudDialogflowCxV3beta1WebhookRequestFulfillmentInfo" +}, +"intentInfo": { +"$ref": "GoogleCloudDialogflowCxV3beta1WebhookRequestIntentInfo" +}, +"languageCode": { +"type": "string" +}, +"languageInfo": { +"$ref": "GoogleCloudDialogflowCxV3beta1LanguageInfo" +}, +"messages": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3beta1ResponseMessage" +}, +"type": "array" +}, +"pageInfo": { +"$ref": "GoogleCloudDialogflowCxV3beta1PageInfo" +}, +"payload": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"type": "object" +}, +"sentimentAnalysisResult": { +"$ref": "GoogleCloudDialogflowCxV3beta1WebhookRequestSentimentAnalysisResult" +}, +"sessionInfo": { +"$ref": "GoogleCloudDialogflowCxV3beta1SessionInfo" +}, +"text": { +"type": "string" +}, +"transcript": { +"type": "string" +}, +"triggerEvent": { +"type": "string" +}, +"triggerIntent": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1WebhookRequestFulfillmentInfo": { +"id": "GoogleCloudDialogflowCxV3beta1WebhookRequestFulfillmentInfo", +"properties": { +"tag": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1WebhookRequestIntentInfo": { +"id": "GoogleCloudDialogflowCxV3beta1WebhookRequestIntentInfo", +"properties": { +"confidence": { +"format": "float", +"type": "number" +}, +"displayName": { +"type": "string" +}, +"lastMatchedIntent": { +"type": "string" +}, +"parameters": { +"additionalProperties": { +"$ref": "GoogleCloudDialogflowCxV3beta1WebhookRequestIntentInfoIntentParameterValue" +}, +"type": "object" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1WebhookRequestIntentInfoIntentParameterValue": { +"id": "GoogleCloudDialogflowCxV3beta1WebhookRequestIntentInfoIntentParameterValue", +"properties": { +"originalValue": { +"type": "string" +}, +"resolvedValue": { +"type": "any" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1WebhookRequestSentimentAnalysisResult": { +"id": "GoogleCloudDialogflowCxV3beta1WebhookRequestSentimentAnalysisResult", +"properties": { +"magnitude": { +"format": "float", +"type": "number" +}, +"score": { +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1WebhookResponse": { +"id": "GoogleCloudDialogflowCxV3beta1WebhookResponse", +"properties": { +"fulfillmentResponse": { +"$ref": "GoogleCloudDialogflowCxV3beta1WebhookResponseFulfillmentResponse" +}, +"pageInfo": { +"$ref": "GoogleCloudDialogflowCxV3beta1PageInfo" +}, +"payload": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"type": "object" +}, +"sessionInfo": { +"$ref": "GoogleCloudDialogflowCxV3beta1SessionInfo" +}, +"targetFlow": { +"type": "string" +}, +"targetPage": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1WebhookResponseFulfillmentResponse": { +"id": "GoogleCloudDialogflowCxV3beta1WebhookResponseFulfillmentResponse", +"properties": { +"mergeBehavior": { +"enum": [ +"MERGE_BEHAVIOR_UNSPECIFIED", +"APPEND", +"REPLACE" +], +"enumDescriptions": [ +"", +"", +"" +], +"type": "string" +}, +"messages": { +"items": { +"$ref": "GoogleCloudDialogflowCxV3beta1ResponseMessage" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowCxV3beta1WebhookServiceDirectoryConfig": { +"id": "GoogleCloudDialogflowCxV3beta1WebhookServiceDirectoryConfig", +"properties": { +"genericWebService": { +"$ref": "GoogleCloudDialogflowCxV3beta1WebhookGenericWebService" +}, +"service": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2AgentCoachingInstruction": { +"id": "GoogleCloudDialogflowV2AgentCoachingInstruction", +"properties": { +"agentAction": { +"type": "string" +}, +"condition": { +"type": "string" +}, +"displayDetails": { +"type": "string" +}, +"displayName": { +"type": "string" +}, +"duplicateCheckResult": { +"$ref": "GoogleCloudDialogflowV2AgentCoachingInstructionDuplicateCheckResult", +"readOnly": true +}, +"systemAction": { +"type": "string" +}, +"triggeringEvent": { +"enum": [ +"TRIGGER_EVENT_UNSPECIFIED", +"END_OF_UTTERANCE", +"MANUAL_CALL", +"CUSTOMER_MESSAGE", +"AGENT_MESSAGE", +"TOOL_CALL_COMPLETION" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"" +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2AgentCoachingInstructionDuplicateCheckResult": { +"id": "GoogleCloudDialogflowV2AgentCoachingInstructionDuplicateCheckResult", +"properties": { +"duplicateSuggestions": { +"items": { +"$ref": "GoogleCloudDialogflowV2AgentCoachingInstructionDuplicateCheckResultDuplicateSuggestion" +}, +"readOnly": true, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2AgentCoachingInstructionDuplicateCheckResultDuplicateSuggestion": { +"id": "GoogleCloudDialogflowV2AgentCoachingInstructionDuplicateCheckResultDuplicateSuggestion", +"properties": { +"answerRecord": { +"readOnly": true, +"type": "string" +}, +"similarityScore": { +"format": "float", +"readOnly": true, +"type": "number" +}, +"suggestionIndex": { +"format": "int32", +"readOnly": true, +"type": "integer" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2AgentCoachingSuggestion": { +"id": "GoogleCloudDialogflowV2AgentCoachingSuggestion", +"properties": { +"agentActionSuggestions": { +"items": { +"$ref": "GoogleCloudDialogflowV2AgentCoachingSuggestionAgentActionSuggestion" +}, +"type": "array" +}, +"applicableInstructions": { +"items": { +"$ref": "GoogleCloudDialogflowV2AgentCoachingInstruction" +}, +"type": "array" +}, +"sampleResponses": { +"items": { +"$ref": "GoogleCloudDialogflowV2AgentCoachingSuggestionSampleResponse" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2AgentCoachingSuggestionAgentActionSuggestion": { +"id": "GoogleCloudDialogflowV2AgentCoachingSuggestionAgentActionSuggestion", +"properties": { +"agentAction": { +"type": "string" +}, +"duplicateCheckResult": { +"$ref": "GoogleCloudDialogflowV2AgentCoachingSuggestionDuplicateCheckResult", +"readOnly": true +}, +"sources": { +"$ref": "GoogleCloudDialogflowV2AgentCoachingSuggestionSources", +"readOnly": true +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2AgentCoachingSuggestionDuplicateCheckResult": { +"id": "GoogleCloudDialogflowV2AgentCoachingSuggestionDuplicateCheckResult", +"properties": { +"duplicateSuggestions": { +"items": { +"$ref": "GoogleCloudDialogflowV2AgentCoachingSuggestionDuplicateCheckResultDuplicateSuggestion" +}, +"readOnly": true, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2AgentCoachingSuggestionDuplicateCheckResultDuplicateSuggestion": { +"id": "GoogleCloudDialogflowV2AgentCoachingSuggestionDuplicateCheckResultDuplicateSuggestion", +"properties": { +"answerRecord": { +"readOnly": true, +"type": "string" +}, +"similarityScore": { +"format": "float", +"readOnly": true, +"type": "number" +}, +"sources": { +"$ref": "GoogleCloudDialogflowV2AgentCoachingSuggestionSources", +"readOnly": true +}, +"suggestionIndex": { +"format": "int32", +"readOnly": true, +"type": "integer" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2AgentCoachingSuggestionSampleResponse": { +"id": "GoogleCloudDialogflowV2AgentCoachingSuggestionSampleResponse", +"properties": { +"duplicateCheckResult": { +"$ref": "GoogleCloudDialogflowV2AgentCoachingSuggestionDuplicateCheckResult", +"readOnly": true +}, +"responseText": { +"type": "string" +}, +"sources": { +"$ref": "GoogleCloudDialogflowV2AgentCoachingSuggestionSources", +"readOnly": true +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2AgentCoachingSuggestionSources": { +"id": "GoogleCloudDialogflowV2AgentCoachingSuggestionSources", +"properties": { +"instructionIndexes": { +"items": { +"format": "int32", +"type": "integer" +}, +"readOnly": true, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2AnnotatedMessagePart": { +"id": "GoogleCloudDialogflowV2AnnotatedMessagePart", +"properties": { +"entityType": { +"type": "string" +}, +"formattedValue": { +"type": "any" +}, +"text": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2ArticleAnswer": { +"id": "GoogleCloudDialogflowV2ArticleAnswer", +"properties": { +"answerRecord": { +"type": "string" +}, +"confidence": { +"format": "float", +"type": "number" +}, +"metadata": { +"additionalProperties": { +"type": "string" +}, +"type": "object" +}, +"snippets": { +"items": { +"type": "string" +}, +"type": "array" +}, +"title": { +"type": "string" +}, +"uri": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2ArticleSuggestionModelMetadata": { +"id": "GoogleCloudDialogflowV2ArticleSuggestionModelMetadata", +"properties": { +"trainingModelType": { +"enum": [ +"MODEL_TYPE_UNSPECIFIED", +"SMART_REPLY_DUAL_ENCODER_MODEL", +"SMART_REPLY_BERT_MODEL" +], +"enumDescriptions": [ +"", +"", +"" +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2BatchUpdateEntityTypesResponse": { +"id": "GoogleCloudDialogflowV2BatchUpdateEntityTypesResponse", +"properties": { +"entityTypes": { +"items": { +"$ref": "GoogleCloudDialogflowV2EntityType" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2BatchUpdateIntentsResponse": { +"id": "GoogleCloudDialogflowV2BatchUpdateIntentsResponse", +"properties": { +"intents": { +"items": { +"$ref": "GoogleCloudDialogflowV2Intent" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2ClearSuggestionFeatureConfigOperationMetadata": { +"id": "GoogleCloudDialogflowV2ClearSuggestionFeatureConfigOperationMetadata", +"properties": { +"conversationProfile": { +"type": "string" +}, +"createTime": { +"format": "google-datetime", +"type": "string" +}, +"participantRole": { +"enum": [ +"ROLE_UNSPECIFIED", +"HUMAN_AGENT", +"AUTOMATED_AGENT", +"END_USER" +], +"enumDescriptions": [ +"", +"", +"", +"" +], +"type": "string" +}, +"suggestionFeatureType": { +"enum": [ +"TYPE_UNSPECIFIED", +"ARTICLE_SUGGESTION", +"FAQ", +"SMART_REPLY", +"CONVERSATION_SUMMARIZATION", +"KNOWLEDGE_SEARCH", +"KNOWLEDGE_ASSIST" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"", +"" +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2Context": { +"id": "GoogleCloudDialogflowV2Context", +"properties": { +"lifespanCount": { +"format": "int32", +"type": "integer" +}, +"name": { +"type": "string" +}, +"parameters": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"type": "object" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2ConversationEvent": { +"id": "GoogleCloudDialogflowV2ConversationEvent", +"properties": { +"conversation": { +"type": "string" +}, +"errorStatus": { +"$ref": "GoogleRpcStatus" +}, +"newMessagePayload": { +"$ref": "GoogleCloudDialogflowV2Message" +}, +"newRecognitionResultPayload": { +"$ref": "GoogleCloudDialogflowV2StreamingRecognitionResult" +}, +"type": { +"enum": [ +"TYPE_UNSPECIFIED", +"CONVERSATION_STARTED", +"CONVERSATION_FINISHED", +"HUMAN_INTERVENTION_NEEDED", +"NEW_MESSAGE", +"NEW_RECOGNITION_RESULT", +"UNRECOVERABLE_ERROR" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"", +"" +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2ConversationModel": { +"id": "GoogleCloudDialogflowV2ConversationModel", +"properties": { +"articleSuggestionModelMetadata": { +"$ref": "GoogleCloudDialogflowV2ArticleSuggestionModelMetadata" +}, +"createTime": { +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"datasets": { +"items": { +"$ref": "GoogleCloudDialogflowV2InputDataset" +}, +"type": "array" +}, +"displayName": { +"type": "string" +}, +"languageCode": { +"type": "string" +}, +"name": { +"type": "string" +}, +"satisfiesPzi": { +"readOnly": true, +"type": "boolean" +}, +"satisfiesPzs": { +"readOnly": true, +"type": "boolean" +}, +"smartReplyModelMetadata": { +"$ref": "GoogleCloudDialogflowV2SmartReplyModelMetadata" +}, +"state": { +"enum": [ +"STATE_UNSPECIFIED", +"CREATING", +"UNDEPLOYED", +"DEPLOYING", +"DEPLOYED", +"UNDEPLOYING", +"DELETING", +"FAILED", +"PENDING" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"", +"", +"", +"" +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2CreateConversationDatasetOperationMetadata": { +"id": "GoogleCloudDialogflowV2CreateConversationDatasetOperationMetadata", +"properties": { +"conversationDataset": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2CreateConversationModelEvaluationOperationMetadata": { +"id": "GoogleCloudDialogflowV2CreateConversationModelEvaluationOperationMetadata", +"properties": { +"conversationModel": { +"type": "string" +}, +"conversationModelEvaluation": { +"type": "string" +}, +"createTime": { +"format": "google-datetime", +"type": "string" +}, +"state": { +"enum": [ +"STATE_UNSPECIFIED", +"INITIALIZING", +"RUNNING", +"CANCELLED", +"SUCCEEDED", +"FAILED" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"" +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2CreateConversationModelOperationMetadata": { +"id": "GoogleCloudDialogflowV2CreateConversationModelOperationMetadata", +"properties": { +"conversationModel": { +"type": "string" +}, +"createTime": { +"format": "google-datetime", +"type": "string" +}, +"doneTime": { +"format": "google-datetime", +"type": "string" +}, +"state": { +"enum": [ +"STATE_UNSPECIFIED", +"PENDING", +"SUCCEEDED", +"FAILED", +"CANCELLED", +"CANCELLING", +"TRAINING" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"", +"" +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2DeleteConversationDatasetOperationMetadata": { +"id": "GoogleCloudDialogflowV2DeleteConversationDatasetOperationMetadata", +"properties": {}, +"type": "object" +}, +"GoogleCloudDialogflowV2DeleteConversationModelOperationMetadata": { +"id": "GoogleCloudDialogflowV2DeleteConversationModelOperationMetadata", +"properties": { +"conversationModel": { +"type": "string" +}, +"createTime": { +"format": "google-datetime", +"type": "string" +}, +"doneTime": { +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2DeployConversationModelOperationMetadata": { +"id": "GoogleCloudDialogflowV2DeployConversationModelOperationMetadata", +"properties": { +"conversationModel": { +"type": "string" +}, +"createTime": { +"format": "google-datetime", +"type": "string" +}, +"doneTime": { +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2EncryptionSpec": { +"id": "GoogleCloudDialogflowV2EncryptionSpec", +"properties": { +"kmsKey": { +"type": "string" +}, +"name": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2EntityType": { +"id": "GoogleCloudDialogflowV2EntityType", +"properties": { +"autoExpansionMode": { +"enum": [ +"AUTO_EXPANSION_MODE_UNSPECIFIED", +"AUTO_EXPANSION_MODE_DEFAULT" +], +"enumDescriptions": [ +"", +"" +], +"type": "string" +}, +"displayName": { +"type": "string" +}, +"enableFuzzyExtraction": { +"type": "boolean" +}, +"entities": { +"items": { +"$ref": "GoogleCloudDialogflowV2EntityTypeEntity" +}, +"type": "array" +}, +"kind": { +"enum": [ +"KIND_UNSPECIFIED", +"KIND_MAP", +"KIND_LIST", +"KIND_REGEXP" +], +"enumDescriptions": [ +"", +"", +"", +"" +], +"type": "string" +}, +"name": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2EntityTypeEntity": { +"id": "GoogleCloudDialogflowV2EntityTypeEntity", +"properties": { +"synonyms": { +"items": { +"type": "string" +}, +"type": "array" +}, +"value": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2EventInput": { +"id": "GoogleCloudDialogflowV2EventInput", +"properties": { +"languageCode": { +"type": "string" +}, +"name": { +"type": "string" +}, +"parameters": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"type": "object" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2ExportAgentResponse": { +"id": "GoogleCloudDialogflowV2ExportAgentResponse", +"properties": { +"agentContent": { +"format": "byte", +"type": "string" +}, +"agentUri": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2ExportOperationMetadata": { +"id": "GoogleCloudDialogflowV2ExportOperationMetadata", +"properties": { +"exportedGcsDestination": { +"$ref": "GoogleCloudDialogflowV2GcsDestination" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2FaqAnswer": { +"id": "GoogleCloudDialogflowV2FaqAnswer", +"properties": { +"answer": { +"type": "string" +}, +"answerRecord": { +"type": "string" +}, +"confidence": { +"format": "float", +"type": "number" +}, +"metadata": { +"additionalProperties": { +"type": "string" +}, +"type": "object" +}, +"question": { +"type": "string" +}, +"source": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2FreeFormSuggestion": { +"id": "GoogleCloudDialogflowV2FreeFormSuggestion", +"properties": { +"response": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2GcsDestination": { +"id": "GoogleCloudDialogflowV2GcsDestination", +"properties": { +"uri": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2GenerateSuggestionsResponse": { +"id": "GoogleCloudDialogflowV2GenerateSuggestionsResponse", +"properties": { +"generatorSuggestionAnswers": { +"items": { +"$ref": "GoogleCloudDialogflowV2GenerateSuggestionsResponseGeneratorSuggestionAnswer" +}, +"type": "array" +}, +"latestMessage": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2GenerateSuggestionsResponseGeneratorSuggestionAnswer": { +"id": "GoogleCloudDialogflowV2GenerateSuggestionsResponseGeneratorSuggestionAnswer", +"properties": { +"answerRecord": { +"type": "string" +}, +"generatorSuggestion": { +"$ref": "GoogleCloudDialogflowV2GeneratorSuggestion" +}, +"sourceGenerator": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2GeneratorSuggestion": { +"id": "GoogleCloudDialogflowV2GeneratorSuggestion", +"properties": { +"agentCoachingSuggestion": { +"$ref": "GoogleCloudDialogflowV2AgentCoachingSuggestion" +}, +"freeFormSuggestion": { +"$ref": "GoogleCloudDialogflowV2FreeFormSuggestion" +}, +"summarySuggestion": { +"$ref": "GoogleCloudDialogflowV2SummarySuggestion" +}, +"toolCallInfo": { +"items": { +"$ref": "GoogleCloudDialogflowV2GeneratorSuggestionToolCallInfo" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2GeneratorSuggestionToolCallInfo": { +"id": "GoogleCloudDialogflowV2GeneratorSuggestionToolCallInfo", +"properties": { +"toolCall": { +"$ref": "GoogleCloudDialogflowV2ToolCall" +}, +"toolCallResult": { +"$ref": "GoogleCloudDialogflowV2ToolCallResult" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2HumanAgentAssistantEvent": { +"id": "GoogleCloudDialogflowV2HumanAgentAssistantEvent", +"properties": { +"conversation": { +"type": "string" +}, +"participant": { +"type": "string" +}, +"suggestionResults": { +"items": { +"$ref": "GoogleCloudDialogflowV2SuggestionResult" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2ImportConversationDataOperationMetadata": { +"id": "GoogleCloudDialogflowV2ImportConversationDataOperationMetadata", +"properties": { +"conversationDataset": { +"type": "string" +}, +"createTime": { +"format": "google-datetime", +"type": "string" +}, +"partialFailures": { +"items": { +"$ref": "GoogleRpcStatus" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2ImportConversationDataOperationResponse": { +"id": "GoogleCloudDialogflowV2ImportConversationDataOperationResponse", +"properties": { +"conversationDataset": { +"type": "string" +}, +"importCount": { +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2ImportDocumentsResponse": { +"id": "GoogleCloudDialogflowV2ImportDocumentsResponse", +"properties": { +"warnings": { +"items": { +"$ref": "GoogleRpcStatus" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2IngestedContextReferenceDebugInfo": { +"id": "GoogleCloudDialogflowV2IngestedContextReferenceDebugInfo", +"properties": { +"contextReferenceRetrieved": { +"type": "boolean" +}, +"ingestedParametersDebugInfo": { +"items": { +"$ref": "GoogleCloudDialogflowV2IngestedContextReferenceDebugInfoIngestedParameterDebugInfo" +}, +"type": "array" +}, +"projectNotAllowlisted": { +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2IngestedContextReferenceDebugInfoIngestedParameterDebugInfo": { +"id": "GoogleCloudDialogflowV2IngestedContextReferenceDebugInfoIngestedParameterDebugInfo", +"properties": { +"ingestionStatus": { +"enum": [ +"INGESTION_STATUS_UNSPECIFIED", +"INGESTION_STATUS_SUCCEEDED", +"INGESTION_STATUS_CONTEXT_NOT_AVAILABLE", +"INGESTION_STATUS_PARSE_FAILED", +"INGESTION_STATUS_INVALID_ENTRY", +"INGESTION_STATUS_INVALID_FORMAT", +"INGESTION_STATUS_LANGUAGE_MISMATCH" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"", +"" +], +"type": "string" +}, +"parameter": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2InitializeEncryptionSpecMetadata": { +"id": "GoogleCloudDialogflowV2InitializeEncryptionSpecMetadata", +"properties": { +"request": { +"$ref": "GoogleCloudDialogflowV2InitializeEncryptionSpecRequest", +"readOnly": true +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2InitializeEncryptionSpecRequest": { +"id": "GoogleCloudDialogflowV2InitializeEncryptionSpecRequest", +"properties": { +"encryptionSpec": { +"$ref": "GoogleCloudDialogflowV2EncryptionSpec" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2InputDataset": { +"id": "GoogleCloudDialogflowV2InputDataset", +"properties": { +"dataset": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2Intent": { +"id": "GoogleCloudDialogflowV2Intent", +"properties": { +"action": { +"type": "string" +}, +"defaultResponsePlatforms": { +"items": { +"enum": [ +"PLATFORM_UNSPECIFIED", +"FACEBOOK", +"SLACK", +"TELEGRAM", +"KIK", +"SKYPE", +"LINE", +"VIBER", +"ACTIONS_ON_GOOGLE", +"GOOGLE_HANGOUTS" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"", +"", +"", +"", +"" +], +"type": "string" +}, +"type": "array" +}, +"displayName": { +"type": "string" +}, +"endInteraction": { +"type": "boolean" +}, +"events": { +"items": { +"type": "string" +}, +"type": "array" +}, +"followupIntentInfo": { +"items": { +"$ref": "GoogleCloudDialogflowV2IntentFollowupIntentInfo" +}, +"readOnly": true, +"type": "array" +}, +"inputContextNames": { +"items": { +"type": "string" +}, +"type": "array" +}, +"isFallback": { +"type": "boolean" +}, +"liveAgentHandoff": { +"type": "boolean" +}, +"messages": { +"items": { +"$ref": "GoogleCloudDialogflowV2IntentMessage" +}, +"type": "array" +}, +"mlDisabled": { +"type": "boolean" +}, +"name": { +"type": "string" +}, +"outputContexts": { +"items": { +"$ref": "GoogleCloudDialogflowV2Context" +}, +"type": "array" +}, +"parameters": { +"items": { +"$ref": "GoogleCloudDialogflowV2IntentParameter" +}, +"type": "array" +}, +"parentFollowupIntentName": { +"type": "string" +}, +"priority": { +"format": "int32", +"type": "integer" +}, +"resetContexts": { +"type": "boolean" +}, +"rootFollowupIntentName": { +"readOnly": true, +"type": "string" +}, +"trainingPhrases": { +"items": { +"$ref": "GoogleCloudDialogflowV2IntentTrainingPhrase" +}, +"type": "array" +}, +"webhookState": { +"enum": [ +"WEBHOOK_STATE_UNSPECIFIED", +"WEBHOOK_STATE_ENABLED", +"WEBHOOK_STATE_ENABLED_FOR_SLOT_FILLING" +], +"enumDescriptions": [ +"", +"", +"" +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2IntentFollowupIntentInfo": { +"id": "GoogleCloudDialogflowV2IntentFollowupIntentInfo", +"properties": { +"followupIntentName": { +"type": "string" +}, +"parentFollowupIntentName": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2IntentMessage": { +"id": "GoogleCloudDialogflowV2IntentMessage", +"properties": { +"basicCard": { +"$ref": "GoogleCloudDialogflowV2IntentMessageBasicCard" +}, +"browseCarouselCard": { +"$ref": "GoogleCloudDialogflowV2IntentMessageBrowseCarouselCard" +}, +"card": { +"$ref": "GoogleCloudDialogflowV2IntentMessageCard" +}, +"carouselSelect": { +"$ref": "GoogleCloudDialogflowV2IntentMessageCarouselSelect" +}, +"image": { +"$ref": "GoogleCloudDialogflowV2IntentMessageImage" +}, +"linkOutSuggestion": { +"$ref": "GoogleCloudDialogflowV2IntentMessageLinkOutSuggestion" +}, +"listSelect": { +"$ref": "GoogleCloudDialogflowV2IntentMessageListSelect" +}, +"mediaContent": { +"$ref": "GoogleCloudDialogflowV2IntentMessageMediaContent" +}, +"payload": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"type": "object" +}, +"platform": { +"enum": [ +"PLATFORM_UNSPECIFIED", +"FACEBOOK", +"SLACK", +"TELEGRAM", +"KIK", +"SKYPE", +"LINE", +"VIBER", +"ACTIONS_ON_GOOGLE", +"GOOGLE_HANGOUTS" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"", +"", +"", +"", +"" +], +"type": "string" +}, +"quickReplies": { +"$ref": "GoogleCloudDialogflowV2IntentMessageQuickReplies" +}, +"simpleResponses": { +"$ref": "GoogleCloudDialogflowV2IntentMessageSimpleResponses" +}, +"suggestions": { +"$ref": "GoogleCloudDialogflowV2IntentMessageSuggestions" +}, +"tableCard": { +"$ref": "GoogleCloudDialogflowV2IntentMessageTableCard" +}, +"text": { +"$ref": "GoogleCloudDialogflowV2IntentMessageText" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2IntentMessageBasicCard": { +"id": "GoogleCloudDialogflowV2IntentMessageBasicCard", +"properties": { +"buttons": { +"items": { +"$ref": "GoogleCloudDialogflowV2IntentMessageBasicCardButton" +}, +"type": "array" +}, +"formattedText": { +"type": "string" +}, +"image": { +"$ref": "GoogleCloudDialogflowV2IntentMessageImage" +}, +"subtitle": { +"type": "string" +}, +"title": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2IntentMessageBasicCardButton": { +"id": "GoogleCloudDialogflowV2IntentMessageBasicCardButton", +"properties": { +"openUriAction": { +"$ref": "GoogleCloudDialogflowV2IntentMessageBasicCardButtonOpenUriAction" +}, +"title": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2IntentMessageBasicCardButtonOpenUriAction": { +"id": "GoogleCloudDialogflowV2IntentMessageBasicCardButtonOpenUriAction", +"properties": { +"uri": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2IntentMessageBrowseCarouselCard": { +"id": "GoogleCloudDialogflowV2IntentMessageBrowseCarouselCard", +"properties": { +"imageDisplayOptions": { +"enum": [ +"IMAGE_DISPLAY_OPTIONS_UNSPECIFIED", +"GRAY", +"WHITE", +"CROPPED", +"BLURRED_BACKGROUND" +], +"enumDescriptions": [ +"", +"", +"", +"", +"" +], +"type": "string" +}, +"items": { +"items": { +"$ref": "GoogleCloudDialogflowV2IntentMessageBrowseCarouselCardBrowseCarouselCardItem" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2IntentMessageBrowseCarouselCardBrowseCarouselCardItem": { +"id": "GoogleCloudDialogflowV2IntentMessageBrowseCarouselCardBrowseCarouselCardItem", +"properties": { +"description": { +"type": "string" +}, +"footer": { +"type": "string" +}, +"image": { +"$ref": "GoogleCloudDialogflowV2IntentMessageImage" +}, +"openUriAction": { +"$ref": "GoogleCloudDialogflowV2IntentMessageBrowseCarouselCardBrowseCarouselCardItemOpenUrlAction" +}, +"title": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2IntentMessageBrowseCarouselCardBrowseCarouselCardItemOpenUrlAction": { +"id": "GoogleCloudDialogflowV2IntentMessageBrowseCarouselCardBrowseCarouselCardItemOpenUrlAction", +"properties": { +"url": { +"type": "string" +}, +"urlTypeHint": { +"enum": [ +"URL_TYPE_HINT_UNSPECIFIED", +"AMP_ACTION", +"AMP_CONTENT" +], +"enumDescriptions": [ +"", +"", +"" +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2IntentMessageCard": { +"id": "GoogleCloudDialogflowV2IntentMessageCard", +"properties": { +"buttons": { +"items": { +"$ref": "GoogleCloudDialogflowV2IntentMessageCardButton" +}, +"type": "array" +}, +"imageUri": { +"type": "string" +}, +"subtitle": { +"type": "string" +}, +"title": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2IntentMessageCardButton": { +"id": "GoogleCloudDialogflowV2IntentMessageCardButton", +"properties": { +"postback": { +"type": "string" +}, +"text": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2IntentMessageCarouselSelect": { +"id": "GoogleCloudDialogflowV2IntentMessageCarouselSelect", +"properties": { +"items": { +"items": { +"$ref": "GoogleCloudDialogflowV2IntentMessageCarouselSelectItem" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2IntentMessageCarouselSelectItem": { +"id": "GoogleCloudDialogflowV2IntentMessageCarouselSelectItem", +"properties": { +"description": { +"type": "string" +}, +"image": { +"$ref": "GoogleCloudDialogflowV2IntentMessageImage" +}, +"info": { +"$ref": "GoogleCloudDialogflowV2IntentMessageSelectItemInfo" +}, +"title": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2IntentMessageColumnProperties": { +"id": "GoogleCloudDialogflowV2IntentMessageColumnProperties", +"properties": { +"header": { +"type": "string" +}, +"horizontalAlignment": { +"enum": [ +"HORIZONTAL_ALIGNMENT_UNSPECIFIED", +"LEADING", +"CENTER", +"TRAILING" +], +"enumDescriptions": [ +"", +"", +"", +"" +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2IntentMessageImage": { +"id": "GoogleCloudDialogflowV2IntentMessageImage", +"properties": { +"accessibilityText": { +"type": "string" +}, +"imageUri": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2IntentMessageLinkOutSuggestion": { +"id": "GoogleCloudDialogflowV2IntentMessageLinkOutSuggestion", +"properties": { +"destinationName": { +"type": "string" +}, +"uri": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2IntentMessageListSelect": { +"id": "GoogleCloudDialogflowV2IntentMessageListSelect", +"properties": { +"items": { +"items": { +"$ref": "GoogleCloudDialogflowV2IntentMessageListSelectItem" +}, +"type": "array" +}, +"subtitle": { +"type": "string" +}, +"title": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2IntentMessageListSelectItem": { +"id": "GoogleCloudDialogflowV2IntentMessageListSelectItem", +"properties": { +"description": { +"type": "string" +}, +"image": { +"$ref": "GoogleCloudDialogflowV2IntentMessageImage" +}, +"info": { +"$ref": "GoogleCloudDialogflowV2IntentMessageSelectItemInfo" +}, +"title": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2IntentMessageMediaContent": { +"id": "GoogleCloudDialogflowV2IntentMessageMediaContent", +"properties": { +"mediaObjects": { +"items": { +"$ref": "GoogleCloudDialogflowV2IntentMessageMediaContentResponseMediaObject" +}, +"type": "array" +}, +"mediaType": { +"enum": [ +"RESPONSE_MEDIA_TYPE_UNSPECIFIED", +"AUDIO" +], +"enumDescriptions": [ +"", +"" +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2IntentMessageMediaContentResponseMediaObject": { +"id": "GoogleCloudDialogflowV2IntentMessageMediaContentResponseMediaObject", +"properties": { +"contentUrl": { +"type": "string" +}, +"description": { +"type": "string" +}, +"icon": { +"$ref": "GoogleCloudDialogflowV2IntentMessageImage" +}, +"largeImage": { +"$ref": "GoogleCloudDialogflowV2IntentMessageImage" +}, +"name": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2IntentMessageQuickReplies": { +"id": "GoogleCloudDialogflowV2IntentMessageQuickReplies", +"properties": { +"quickReplies": { +"items": { +"type": "string" +}, +"type": "array" +}, +"title": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2IntentMessageSelectItemInfo": { +"id": "GoogleCloudDialogflowV2IntentMessageSelectItemInfo", +"properties": { +"key": { +"type": "string" +}, +"synonyms": { +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2IntentMessageSimpleResponse": { +"id": "GoogleCloudDialogflowV2IntentMessageSimpleResponse", +"properties": { +"displayText": { +"type": "string" +}, +"ssml": { +"type": "string" +}, +"textToSpeech": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2IntentMessageSimpleResponses": { +"id": "GoogleCloudDialogflowV2IntentMessageSimpleResponses", +"properties": { +"simpleResponses": { +"items": { +"$ref": "GoogleCloudDialogflowV2IntentMessageSimpleResponse" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2IntentMessageSuggestion": { +"id": "GoogleCloudDialogflowV2IntentMessageSuggestion", +"properties": { +"title": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2IntentMessageSuggestions": { +"id": "GoogleCloudDialogflowV2IntentMessageSuggestions", +"properties": { +"suggestions": { +"items": { +"$ref": "GoogleCloudDialogflowV2IntentMessageSuggestion" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2IntentMessageTableCard": { +"id": "GoogleCloudDialogflowV2IntentMessageTableCard", +"properties": { +"buttons": { +"items": { +"$ref": "GoogleCloudDialogflowV2IntentMessageBasicCardButton" +}, +"type": "array" +}, +"columnProperties": { +"items": { +"$ref": "GoogleCloudDialogflowV2IntentMessageColumnProperties" +}, +"type": "array" +}, +"image": { +"$ref": "GoogleCloudDialogflowV2IntentMessageImage" +}, +"rows": { +"items": { +"$ref": "GoogleCloudDialogflowV2IntentMessageTableCardRow" +}, +"type": "array" +}, +"subtitle": { +"type": "string" +}, +"title": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2IntentMessageTableCardCell": { +"id": "GoogleCloudDialogflowV2IntentMessageTableCardCell", +"properties": { +"text": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2IntentMessageTableCardRow": { +"id": "GoogleCloudDialogflowV2IntentMessageTableCardRow", +"properties": { +"cells": { +"items": { +"$ref": "GoogleCloudDialogflowV2IntentMessageTableCardCell" +}, +"type": "array" +}, +"dividerAfter": { +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2IntentMessageText": { +"id": "GoogleCloudDialogflowV2IntentMessageText", +"properties": { +"text": { +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2IntentParameter": { +"id": "GoogleCloudDialogflowV2IntentParameter", +"properties": { +"defaultValue": { +"type": "string" +}, +"displayName": { +"type": "string" +}, +"entityTypeDisplayName": { +"type": "string" +}, +"isList": { +"type": "boolean" +}, +"mandatory": { +"type": "boolean" +}, +"name": { +"type": "string" +}, +"prompts": { +"items": { +"type": "string" +}, +"type": "array" +}, +"value": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2IntentTrainingPhrase": { +"id": "GoogleCloudDialogflowV2IntentTrainingPhrase", +"properties": { +"name": { +"readOnly": true, +"type": "string" +}, +"parts": { +"items": { +"$ref": "GoogleCloudDialogflowV2IntentTrainingPhrasePart" +}, +"type": "array" +}, +"timesAddedCount": { +"format": "int32", +"type": "integer" +}, +"type": { +"enum": [ +"TYPE_UNSPECIFIED", +"EXAMPLE", +"TEMPLATE" +], +"enumDeprecated": [ +false, +false, +true +], +"enumDescriptions": [ +"", +"", +"" +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2IntentTrainingPhrasePart": { +"id": "GoogleCloudDialogflowV2IntentTrainingPhrasePart", +"properties": { +"alias": { +"type": "string" +}, +"entityType": { +"type": "string" +}, +"text": { +"type": "string" +}, +"userDefined": { +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2KnowledgeAssistAnswer": { +"id": "GoogleCloudDialogflowV2KnowledgeAssistAnswer", +"properties": { +"answerRecord": { +"type": "string" +}, +"knowledgeAssistDebugInfo": { +"$ref": "GoogleCloudDialogflowV2KnowledgeAssistDebugInfo" +}, +"suggestedQuery": { +"$ref": "GoogleCloudDialogflowV2KnowledgeAssistAnswerSuggestedQuery" +}, +"suggestedQueryAnswer": { +"$ref": "GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswer" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswer": { +"id": "GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswer", +"properties": { +"answerText": { +"type": "string" +}, +"faqSource": { +"$ref": "GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswerFaqSource" +}, +"generativeSource": { +"$ref": "GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswerGenerativeSource" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswerFaqSource": { +"id": "GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswerFaqSource", +"properties": { +"question": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswerGenerativeSource": { +"id": "GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswerGenerativeSource", +"properties": { +"snippets": { +"items": { +"$ref": "GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswerGenerativeSourceSnippet" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswerGenerativeSourceSnippet": { +"id": "GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswerGenerativeSourceSnippet", +"properties": { +"metadata": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"type": "object" +}, +"text": { +"type": "string" +}, +"title": { +"type": "string" +}, +"uri": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2KnowledgeAssistAnswerSuggestedQuery": { +"id": "GoogleCloudDialogflowV2KnowledgeAssistAnswerSuggestedQuery", +"properties": { +"queryText": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2KnowledgeAssistDebugInfo": { +"id": "GoogleCloudDialogflowV2KnowledgeAssistDebugInfo", +"properties": { +"datastoreResponseReason": { +"enum": [ +"DATASTORE_RESPONSE_REASON_UNSPECIFIED", +"NONE", +"SEARCH_OUT_OF_QUOTA", +"SEARCH_EMPTY_RESULTS", +"ANSWER_GENERATION_GEN_AI_DISABLED", +"ANSWER_GENERATION_OUT_OF_QUOTA", +"ANSWER_GENERATION_ERROR", +"ANSWER_GENERATION_NOT_ENOUGH_INFO", +"ANSWER_GENERATION_RAI_FAILED", +"ANSWER_GENERATION_NOT_GROUNDED" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"", +"", +"", +"", +"" +], +"type": "string" +}, +"ingestedContextReferenceDebugInfo": { +"$ref": "GoogleCloudDialogflowV2IngestedContextReferenceDebugInfo" +}, +"knowledgeAssistBehavior": { +"$ref": "GoogleCloudDialogflowV2KnowledgeAssistDebugInfoKnowledgeAssistBehavior" +}, +"queryCategorizationFailureReason": { +"enum": [ +"QUERY_CATEGORIZATION_FAILURE_REASON_UNSPECIFIED", +"QUERY_CATEGORIZATION_INVALID_CONFIG", +"QUERY_CATEGORIZATION_RESULT_NOT_FOUND", +"QUERY_CATEGORIZATION_FAILED" +], +"enumDescriptions": [ +"", +"", +"", +"" +], +"type": "string" +}, +"queryGenerationFailureReason": { +"enum": [ +"QUERY_GENERATION_FAILURE_REASON_UNSPECIFIED", +"QUERY_GENERATION_OUT_OF_QUOTA", +"QUERY_GENERATION_FAILED", +"QUERY_GENERATION_NO_QUERY_GENERATED", +"QUERY_GENERATION_RAI_FAILED", +"NOT_IN_ALLOWLIST", +"QUERY_GENERATION_QUERY_REDACTED", +"QUERY_GENERATION_LLM_RESPONSE_PARSE_FAILED", +"QUERY_GENERATION_EMPTY_CONVERSATION", +"QUERY_GENERATION_EMPTY_LAST_MESSAGE", +"QUERY_GENERATION_TRIGGERING_EVENT_CONDITION_NOT_MET" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"" +], +"type": "string" +}, +"serviceLatency": { +"$ref": "GoogleCloudDialogflowV2ServiceLatency" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2KnowledgeAssistDebugInfoKnowledgeAssistBehavior": { +"id": "GoogleCloudDialogflowV2KnowledgeAssistDebugInfoKnowledgeAssistBehavior", +"properties": { +"answerGenerationRewriterOn": { +"type": "boolean" +}, +"appendedSearchContextCount": { +"format": "int32", +"type": "integer" +}, +"conversationTranscriptHasMixedLanguages": { +"type": "boolean" +}, +"disableSyncDelivery": { +"type": "boolean" +}, +"endUserMetadataIncluded": { +"type": "boolean" +}, +"invalidItemsQuerySuggestionSkipped": { +"type": "boolean" +}, +"multipleQueriesGenerated": { +"type": "boolean" +}, +"previousQueriesIncluded": { +"type": "boolean" +}, +"primaryQueryRedactedAndReplaced": { +"type": "boolean" +}, +"queryContainedSearchContext": { +"type": "boolean" +}, +"queryGenerationAgentLanguageMismatch": { +"type": "boolean" +}, +"queryGenerationEndUserLanguageMismatch": { +"type": "boolean" +}, +"returnQueryOnly": { +"type": "boolean" +}, +"thirdPartyConnectorAllowed": { +"type": "boolean" +}, +"useCustomSafetyFilterLevel": { +"type": "boolean" +}, +"usePubsubDelivery": { +"type": "boolean" +}, +"useTranslatedMessage": { +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2KnowledgeOperationMetadata": { +"id": "GoogleCloudDialogflowV2KnowledgeOperationMetadata", +"properties": { +"doneTime": { +"format": "google-datetime", +"type": "string" +}, +"exportOperationMetadata": { +"$ref": "GoogleCloudDialogflowV2ExportOperationMetadata" +}, +"knowledgeBase": { +"type": "string" +}, +"state": { +"enum": [ +"STATE_UNSPECIFIED", +"PENDING", +"RUNNING", +"DONE" +], +"enumDescriptions": [ +"", +"", +"", +"" +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2Message": { +"id": "GoogleCloudDialogflowV2Message", +"properties": { +"content": { +"type": "string" +}, +"createTime": { +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"languageCode": { +"type": "string" +}, +"messageAnnotation": { +"$ref": "GoogleCloudDialogflowV2MessageAnnotation", +"readOnly": true +}, +"name": { +"type": "string" +}, +"participant": { +"readOnly": true, +"type": "string" +}, +"participantRole": { +"enum": [ +"ROLE_UNSPECIFIED", +"HUMAN_AGENT", +"AUTOMATED_AGENT", +"END_USER" +], +"enumDescriptions": [ +"", +"", +"", +"" +], +"readOnly": true, +"type": "string" +}, +"sendTime": { +"format": "google-datetime", +"type": "string" +}, +"sentimentAnalysis": { +"$ref": "GoogleCloudDialogflowV2SentimentAnalysisResult", +"readOnly": true +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2MessageAnnotation": { +"id": "GoogleCloudDialogflowV2MessageAnnotation", +"properties": { +"containEntities": { +"type": "boolean" +}, +"parts": { +"items": { +"$ref": "GoogleCloudDialogflowV2AnnotatedMessagePart" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2OriginalDetectIntentRequest": { +"id": "GoogleCloudDialogflowV2OriginalDetectIntentRequest", +"properties": { +"payload": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"type": "object" +}, +"source": { +"type": "string" +}, +"version": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2QueryResult": { +"id": "GoogleCloudDialogflowV2QueryResult", +"properties": { +"action": { +"type": "string" +}, +"allRequiredParamsPresent": { +"type": "boolean" +}, +"cancelsSlotFilling": { +"type": "boolean" +}, +"diagnosticInfo": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"type": "object" +}, +"fulfillmentMessages": { +"items": { +"$ref": "GoogleCloudDialogflowV2IntentMessage" +}, +"type": "array" +}, +"fulfillmentText": { +"type": "string" +}, +"intent": { +"$ref": "GoogleCloudDialogflowV2Intent" +}, +"intentDetectionConfidence": { +"format": "float", +"type": "number" +}, +"languageCode": { +"type": "string" +}, +"outputContexts": { +"items": { +"$ref": "GoogleCloudDialogflowV2Context" +}, +"type": "array" +}, +"parameters": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"type": "object" +}, +"queryText": { +"type": "string" +}, +"sentimentAnalysisResult": { +"$ref": "GoogleCloudDialogflowV2SentimentAnalysisResult" +}, +"speechRecognitionConfidence": { +"format": "float", +"type": "number" +}, +"webhookPayload": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"type": "object" +}, +"webhookSource": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2Sentiment": { +"id": "GoogleCloudDialogflowV2Sentiment", +"properties": { +"magnitude": { +"format": "float", +"type": "number" +}, +"score": { +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2SentimentAnalysisResult": { +"id": "GoogleCloudDialogflowV2SentimentAnalysisResult", +"properties": { +"queryTextSentiment": { +"$ref": "GoogleCloudDialogflowV2Sentiment" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2ServiceLatency": { +"id": "GoogleCloudDialogflowV2ServiceLatency", +"properties": { +"internalServiceLatencies": { +"items": { +"$ref": "GoogleCloudDialogflowV2ServiceLatencyInternalServiceLatency" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2ServiceLatencyInternalServiceLatency": { +"id": "GoogleCloudDialogflowV2ServiceLatencyInternalServiceLatency", +"properties": { +"completeTime": { +"format": "google-datetime", +"type": "string" +}, +"latencyMs": { +"format": "float", +"type": "number" +}, +"startTime": { +"format": "google-datetime", +"type": "string" +}, +"step": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2SessionEntityType": { +"id": "GoogleCloudDialogflowV2SessionEntityType", +"properties": { +"entities": { +"items": { +"$ref": "GoogleCloudDialogflowV2EntityTypeEntity" +}, +"type": "array" +}, +"entityOverrideMode": { +"enum": [ +"ENTITY_OVERRIDE_MODE_UNSPECIFIED", +"ENTITY_OVERRIDE_MODE_OVERRIDE", +"ENTITY_OVERRIDE_MODE_SUPPLEMENT" +], +"enumDescriptions": [ +"", +"", +"" +], +"type": "string" +}, +"name": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2SetSuggestionFeatureConfigOperationMetadata": { +"id": "GoogleCloudDialogflowV2SetSuggestionFeatureConfigOperationMetadata", +"properties": { +"conversationProfile": { +"type": "string" +}, +"createTime": { +"format": "google-datetime", +"type": "string" +}, +"participantRole": { +"enum": [ +"ROLE_UNSPECIFIED", +"HUMAN_AGENT", +"AUTOMATED_AGENT", +"END_USER" +], +"enumDescriptions": [ +"", +"", +"", +"" +], +"type": "string" +}, +"suggestionFeatureType": { +"enum": [ +"TYPE_UNSPECIFIED", +"ARTICLE_SUGGESTION", +"FAQ", +"SMART_REPLY", +"CONVERSATION_SUMMARIZATION", +"KNOWLEDGE_SEARCH", +"KNOWLEDGE_ASSIST" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"", +"" +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2SmartReplyAnswer": { +"id": "GoogleCloudDialogflowV2SmartReplyAnswer", +"properties": { +"answerRecord": { +"type": "string" +}, +"confidence": { +"format": "float", +"type": "number" +}, +"reply": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2SmartReplyModelMetadata": { +"id": "GoogleCloudDialogflowV2SmartReplyModelMetadata", +"properties": { +"trainingModelType": { +"enum": [ +"MODEL_TYPE_UNSPECIFIED", +"SMART_REPLY_DUAL_ENCODER_MODEL", +"SMART_REPLY_BERT_MODEL" +], +"enumDescriptions": [ +"", +"", +"" +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2SpeechWordInfo": { +"id": "GoogleCloudDialogflowV2SpeechWordInfo", +"properties": { +"confidence": { +"format": "float", +"type": "number" +}, +"endOffset": { +"format": "google-duration", +"type": "string" +}, +"startOffset": { +"format": "google-duration", +"type": "string" +}, +"word": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2StreamingRecognitionResult": { +"id": "GoogleCloudDialogflowV2StreamingRecognitionResult", +"properties": { +"confidence": { +"format": "float", +"type": "number" +}, +"isFinal": { +"type": "boolean" +}, +"languageCode": { +"type": "string" +}, +"messageType": { +"enum": [ +"MESSAGE_TYPE_UNSPECIFIED", +"TRANSCRIPT", +"END_OF_SINGLE_UTTERANCE" +], +"enumDescriptions": [ +"", +"", +"" +], +"type": "string" +}, +"speechEndOffset": { +"format": "google-duration", +"type": "string" +}, +"speechWordInfo": { +"items": { +"$ref": "GoogleCloudDialogflowV2SpeechWordInfo" +}, +"type": "array" +}, +"transcript": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2SuggestArticlesResponse": { +"id": "GoogleCloudDialogflowV2SuggestArticlesResponse", +"properties": { +"articleAnswers": { +"items": { +"$ref": "GoogleCloudDialogflowV2ArticleAnswer" +}, +"type": "array" +}, +"contextSize": { +"format": "int32", +"type": "integer" +}, +"latestMessage": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2SuggestFaqAnswersResponse": { +"id": "GoogleCloudDialogflowV2SuggestFaqAnswersResponse", +"properties": { +"contextSize": { +"format": "int32", +"type": "integer" +}, +"faqAnswers": { +"items": { +"$ref": "GoogleCloudDialogflowV2FaqAnswer" +}, +"type": "array" +}, +"latestMessage": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2SuggestKnowledgeAssistResponse": { +"id": "GoogleCloudDialogflowV2SuggestKnowledgeAssistResponse", +"properties": { +"contextSize": { +"format": "int32", +"type": "integer" +}, +"knowledgeAssistAnswer": { +"$ref": "GoogleCloudDialogflowV2KnowledgeAssistAnswer", +"readOnly": true +}, +"latestMessage": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2SuggestSmartRepliesResponse": { +"id": "GoogleCloudDialogflowV2SuggestSmartRepliesResponse", +"properties": { +"contextSize": { +"format": "int32", +"type": "integer" +}, +"latestMessage": { +"type": "string" +}, +"smartReplyAnswers": { +"items": { +"$ref": "GoogleCloudDialogflowV2SmartReplyAnswer" +}, +"readOnly": true, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2SuggestionResult": { +"id": "GoogleCloudDialogflowV2SuggestionResult", +"properties": { +"error": { +"$ref": "GoogleRpcStatus" +}, +"generateSuggestionsResponse": { +"$ref": "GoogleCloudDialogflowV2GenerateSuggestionsResponse" +}, +"suggestArticlesResponse": { +"$ref": "GoogleCloudDialogflowV2SuggestArticlesResponse" +}, +"suggestFaqAnswersResponse": { +"$ref": "GoogleCloudDialogflowV2SuggestFaqAnswersResponse" +}, +"suggestKnowledgeAssistResponse": { +"$ref": "GoogleCloudDialogflowV2SuggestKnowledgeAssistResponse" +}, +"suggestSmartRepliesResponse": { +"$ref": "GoogleCloudDialogflowV2SuggestSmartRepliesResponse" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2SummarySuggestion": { +"id": "GoogleCloudDialogflowV2SummarySuggestion", +"properties": { +"summarySections": { +"items": { +"$ref": "GoogleCloudDialogflowV2SummarySuggestionSummarySection" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2SummarySuggestionSummarySection": { +"id": "GoogleCloudDialogflowV2SummarySuggestionSummarySection", +"properties": { +"section": { +"type": "string" +}, +"summary": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2ToolCall": { +"id": "GoogleCloudDialogflowV2ToolCall", +"properties": { +"action": { +"type": "string" +}, +"answerRecord": { +"type": "string" +}, +"createTime": { +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"inputParameters": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"type": "object" +}, +"state": { +"enum": [ +"STATE_UNSPECIFIED", +"TRIGGERED", +"NEEDS_CONFIRMATION" +], +"enumDescriptions": [ +"", +"", +"" +], +"readOnly": true, +"type": "string" +}, +"tool": { +"type": "string" +}, +"toolDisplayDetails": { +"type": "string" +}, +"toolDisplayName": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2ToolCallResult": { +"id": "GoogleCloudDialogflowV2ToolCallResult", +"properties": { +"action": { +"type": "string" +}, +"answerRecord": { +"type": "string" +}, +"content": { +"type": "string" +}, +"createTime": { +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"error": { +"$ref": "GoogleCloudDialogflowV2ToolCallResultError" +}, +"rawContent": { +"format": "byte", +"type": "string" +}, +"tool": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2ToolCallResultError": { +"id": "GoogleCloudDialogflowV2ToolCallResultError", +"properties": { +"message": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2UndeployConversationModelOperationMetadata": { +"id": "GoogleCloudDialogflowV2UndeployConversationModelOperationMetadata", +"properties": { +"conversationModel": { +"type": "string" +}, +"createTime": { +"format": "google-datetime", +"type": "string" +}, +"doneTime": { +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2WebhookRequest": { +"id": "GoogleCloudDialogflowV2WebhookRequest", +"properties": { +"originalDetectIntentRequest": { +"$ref": "GoogleCloudDialogflowV2OriginalDetectIntentRequest" +}, +"queryResult": { +"$ref": "GoogleCloudDialogflowV2QueryResult" +}, +"responseId": { +"type": "string" +}, +"session": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2WebhookResponse": { +"id": "GoogleCloudDialogflowV2WebhookResponse", +"properties": { +"followupEventInput": { +"$ref": "GoogleCloudDialogflowV2EventInput" +}, +"fulfillmentMessages": { +"items": { +"$ref": "GoogleCloudDialogflowV2IntentMessage" +}, +"type": "array" +}, +"fulfillmentText": { +"type": "string" +}, +"outputContexts": { +"items": { +"$ref": "GoogleCloudDialogflowV2Context" +}, +"type": "array" +}, +"payload": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"type": "object" +}, +"sessionEntityTypes": { +"items": { +"$ref": "GoogleCloudDialogflowV2SessionEntityType" +}, +"type": "array" +}, +"source": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1AgentCoachingInstruction": { +"id": "GoogleCloudDialogflowV2beta1AgentCoachingInstruction", +"properties": { +"agentAction": { +"type": "string" +}, +"condition": { +"type": "string" +}, +"displayDetails": { +"type": "string" +}, +"displayName": { +"type": "string" +}, +"duplicateCheckResult": { +"$ref": "GoogleCloudDialogflowV2beta1AgentCoachingInstructionDuplicateCheckResult", +"readOnly": true +}, +"systemAction": { +"type": "string" +}, +"triggeringEvent": { +"enum": [ +"TRIGGER_EVENT_UNSPECIFIED", +"END_OF_UTTERANCE", +"MANUAL_CALL", +"CUSTOMER_MESSAGE", +"AGENT_MESSAGE", +"TOOL_CALL_COMPLETION" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"" +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1AgentCoachingInstructionDuplicateCheckResult": { +"id": "GoogleCloudDialogflowV2beta1AgentCoachingInstructionDuplicateCheckResult", +"properties": { +"duplicateSuggestions": { +"items": { +"$ref": "GoogleCloudDialogflowV2beta1AgentCoachingInstructionDuplicateCheckResultDuplicateSuggestion" +}, +"readOnly": true, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1AgentCoachingInstructionDuplicateCheckResultDuplicateSuggestion": { +"id": "GoogleCloudDialogflowV2beta1AgentCoachingInstructionDuplicateCheckResultDuplicateSuggestion", +"properties": { +"answerRecord": { +"readOnly": true, +"type": "string" +}, +"similarityScore": { +"format": "float", +"readOnly": true, +"type": "number" +}, +"suggestionIndex": { +"format": "int32", +"readOnly": true, +"type": "integer" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1AgentCoachingSuggestion": { +"id": "GoogleCloudDialogflowV2beta1AgentCoachingSuggestion", +"properties": { +"agentActionSuggestions": { +"items": { +"$ref": "GoogleCloudDialogflowV2beta1AgentCoachingSuggestionAgentActionSuggestion" +}, +"type": "array" +}, +"applicableInstructions": { +"items": { +"$ref": "GoogleCloudDialogflowV2beta1AgentCoachingInstruction" +}, +"type": "array" +}, +"sampleResponses": { +"items": { +"$ref": "GoogleCloudDialogflowV2beta1AgentCoachingSuggestionSampleResponse" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1AgentCoachingSuggestionAgentActionSuggestion": { +"id": "GoogleCloudDialogflowV2beta1AgentCoachingSuggestionAgentActionSuggestion", +"properties": { +"agentAction": { +"type": "string" +}, +"duplicateCheckResult": { +"$ref": "GoogleCloudDialogflowV2beta1AgentCoachingSuggestionDuplicateCheckResult", +"readOnly": true +}, +"sources": { +"$ref": "GoogleCloudDialogflowV2beta1AgentCoachingSuggestionSources", +"readOnly": true +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1AgentCoachingSuggestionDuplicateCheckResult": { +"id": "GoogleCloudDialogflowV2beta1AgentCoachingSuggestionDuplicateCheckResult", +"properties": { +"duplicateSuggestions": { +"items": { +"$ref": "GoogleCloudDialogflowV2beta1AgentCoachingSuggestionDuplicateCheckResultDuplicateSuggestion" +}, +"readOnly": true, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1AgentCoachingSuggestionDuplicateCheckResultDuplicateSuggestion": { +"id": "GoogleCloudDialogflowV2beta1AgentCoachingSuggestionDuplicateCheckResultDuplicateSuggestion", +"properties": { +"answerRecord": { +"readOnly": true, +"type": "string" +}, +"similarityScore": { +"format": "float", +"readOnly": true, +"type": "number" +}, +"sources": { +"$ref": "GoogleCloudDialogflowV2beta1AgentCoachingSuggestionSources", +"readOnly": true +}, +"suggestionIndex": { +"format": "int32", +"readOnly": true, +"type": "integer" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1AgentCoachingSuggestionSampleResponse": { +"id": "GoogleCloudDialogflowV2beta1AgentCoachingSuggestionSampleResponse", +"properties": { +"duplicateCheckResult": { +"$ref": "GoogleCloudDialogflowV2beta1AgentCoachingSuggestionDuplicateCheckResult", +"readOnly": true +}, +"responseText": { +"type": "string" +}, +"sources": { +"$ref": "GoogleCloudDialogflowV2beta1AgentCoachingSuggestionSources", +"readOnly": true +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1AgentCoachingSuggestionSources": { +"id": "GoogleCloudDialogflowV2beta1AgentCoachingSuggestionSources", +"properties": { +"instructionIndexes": { +"items": { +"format": "int32", +"type": "integer" +}, +"readOnly": true, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1AnnotatedMessagePart": { +"id": "GoogleCloudDialogflowV2beta1AnnotatedMessagePart", +"properties": { +"entityType": { +"type": "string" +}, +"formattedValue": { +"type": "any" +}, +"text": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1ArticleAnswer": { +"id": "GoogleCloudDialogflowV2beta1ArticleAnswer", +"properties": { +"answerRecord": { +"type": "string" +}, +"metadata": { +"additionalProperties": { +"type": "string" +}, +"type": "object" +}, +"snippets": { +"items": { +"type": "string" +}, +"type": "array" +}, +"title": { +"type": "string" +}, +"uri": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1BatchUpdateEntityTypesResponse": { +"id": "GoogleCloudDialogflowV2beta1BatchUpdateEntityTypesResponse", +"properties": { +"entityTypes": { +"items": { +"$ref": "GoogleCloudDialogflowV2beta1EntityType" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1BatchUpdateIntentsResponse": { +"id": "GoogleCloudDialogflowV2beta1BatchUpdateIntentsResponse", +"properties": { +"intents": { +"items": { +"$ref": "GoogleCloudDialogflowV2beta1Intent" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1ClearSuggestionFeatureConfigOperationMetadata": { +"id": "GoogleCloudDialogflowV2beta1ClearSuggestionFeatureConfigOperationMetadata", +"properties": { +"conversationProfile": { +"type": "string" +}, +"createTime": { +"format": "google-datetime", +"type": "string" +}, +"participantRole": { +"enum": [ +"ROLE_UNSPECIFIED", +"HUMAN_AGENT", +"AUTOMATED_AGENT", +"END_USER" +], +"enumDescriptions": [ +"", +"", +"", +"" +], +"type": "string" +}, +"suggestionFeatureType": { +"enum": [ +"TYPE_UNSPECIFIED", +"ARTICLE_SUGGESTION", +"FAQ", +"SMART_REPLY", +"DIALOGFLOW_ASSIST", +"CONVERSATION_SUMMARIZATION", +"KNOWLEDGE_SEARCH", +"KNOWLEDGE_ASSIST" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"", +"", +"" +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1Context": { +"id": "GoogleCloudDialogflowV2beta1Context", +"properties": { +"lifespanCount": { +"format": "int32", +"type": "integer" +}, +"name": { +"type": "string" +}, +"parameters": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"type": "object" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1ConversationEvent": { +"id": "GoogleCloudDialogflowV2beta1ConversationEvent", +"properties": { +"conversation": { +"type": "string" +}, +"errorStatus": { +"$ref": "GoogleRpcStatus" +}, +"newMessagePayload": { +"$ref": "GoogleCloudDialogflowV2beta1Message" +}, +"newRecognitionResultPayload": { +"$ref": "GoogleCloudDialogflowV2beta1StreamingRecognitionResult" +}, +"type": { +"enum": [ +"TYPE_UNSPECIFIED", +"CONVERSATION_STARTED", +"CONVERSATION_FINISHED", +"HUMAN_INTERVENTION_NEEDED", +"NEW_MESSAGE", +"NEW_RECOGNITION_RESULT", +"UNRECOVERABLE_ERROR" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"", +"" +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1DialogflowAssistAnswer": { +"id": "GoogleCloudDialogflowV2beta1DialogflowAssistAnswer", +"properties": { +"answerRecord": { +"type": "string" +}, +"intentSuggestion": { +"$ref": "GoogleCloudDialogflowV2beta1IntentSuggestion" +}, +"queryResult": { +"$ref": "GoogleCloudDialogflowV2beta1QueryResult" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1EncryptionSpec": { +"id": "GoogleCloudDialogflowV2beta1EncryptionSpec", +"properties": { +"kmsKey": { +"type": "string" +}, +"name": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1EntityType": { +"id": "GoogleCloudDialogflowV2beta1EntityType", +"properties": { +"autoExpansionMode": { +"enum": [ +"AUTO_EXPANSION_MODE_UNSPECIFIED", +"AUTO_EXPANSION_MODE_DEFAULT" +], +"enumDescriptions": [ +"", +"" +], +"type": "string" +}, +"displayName": { +"type": "string" +}, +"enableFuzzyExtraction": { +"type": "boolean" +}, +"entities": { +"items": { +"$ref": "GoogleCloudDialogflowV2beta1EntityTypeEntity" +}, +"type": "array" +}, +"kind": { +"enum": [ +"KIND_UNSPECIFIED", +"KIND_MAP", +"KIND_LIST", +"KIND_REGEXP" +], +"enumDescriptions": [ +"", +"", +"", +"" +], +"type": "string" +}, +"name": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1EntityTypeEntity": { +"id": "GoogleCloudDialogflowV2beta1EntityTypeEntity", +"properties": { +"synonyms": { +"items": { +"type": "string" +}, +"type": "array" +}, +"value": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1EventInput": { +"id": "GoogleCloudDialogflowV2beta1EventInput", +"properties": { +"languageCode": { +"type": "string" +}, +"name": { +"type": "string" +}, +"parameters": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"type": "object" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1ExportAgentResponse": { +"id": "GoogleCloudDialogflowV2beta1ExportAgentResponse", +"properties": { +"agentContent": { +"format": "byte", +"type": "string" +}, +"agentUri": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1ExportOperationMetadata": { +"id": "GoogleCloudDialogflowV2beta1ExportOperationMetadata", +"properties": { +"exportedGcsDestination": { +"$ref": "GoogleCloudDialogflowV2beta1GcsDestination" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1FaqAnswer": { +"id": "GoogleCloudDialogflowV2beta1FaqAnswer", +"properties": { +"answer": { +"type": "string" +}, +"answerRecord": { +"type": "string" +}, +"confidence": { +"format": "float", +"type": "number" +}, +"metadata": { +"additionalProperties": { +"type": "string" +}, +"type": "object" +}, +"question": { +"type": "string" +}, +"source": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1FreeFormSuggestion": { +"id": "GoogleCloudDialogflowV2beta1FreeFormSuggestion", +"properties": { +"response": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1GcsDestination": { +"id": "GoogleCloudDialogflowV2beta1GcsDestination", +"properties": { +"uri": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1GenerateSuggestionsResponse": { +"id": "GoogleCloudDialogflowV2beta1GenerateSuggestionsResponse", +"properties": { +"generatorSuggestionAnswers": { +"items": { +"$ref": "GoogleCloudDialogflowV2beta1GenerateSuggestionsResponseGeneratorSuggestionAnswer" +}, +"type": "array" +}, +"latestMessage": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1GenerateSuggestionsResponseGeneratorSuggestionAnswer": { +"id": "GoogleCloudDialogflowV2beta1GenerateSuggestionsResponseGeneratorSuggestionAnswer", +"properties": { +"answerRecord": { +"type": "string" +}, +"generatorSuggestion": { +"$ref": "GoogleCloudDialogflowV2beta1GeneratorSuggestion" +}, +"sourceGenerator": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1GeneratorSuggestion": { +"id": "GoogleCloudDialogflowV2beta1GeneratorSuggestion", +"properties": { +"agentCoachingSuggestion": { +"$ref": "GoogleCloudDialogflowV2beta1AgentCoachingSuggestion" +}, +"freeFormSuggestion": { +"$ref": "GoogleCloudDialogflowV2beta1FreeFormSuggestion" +}, +"summarySuggestion": { +"$ref": "GoogleCloudDialogflowV2beta1SummarySuggestion" +}, +"toolCallInfo": { +"items": { +"$ref": "GoogleCloudDialogflowV2beta1GeneratorSuggestionToolCallInfo" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1GeneratorSuggestionToolCallInfo": { +"id": "GoogleCloudDialogflowV2beta1GeneratorSuggestionToolCallInfo", +"properties": { +"toolCall": { +"$ref": "GoogleCloudDialogflowV2beta1ToolCall" +}, +"toolCallResult": { +"$ref": "GoogleCloudDialogflowV2beta1ToolCallResult" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1HumanAgentAssistantEvent": { +"id": "GoogleCloudDialogflowV2beta1HumanAgentAssistantEvent", +"properties": { +"conversation": { +"type": "string" +}, +"participant": { +"type": "string" +}, +"suggestionResults": { +"items": { +"$ref": "GoogleCloudDialogflowV2beta1SuggestionResult" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1ImportDocumentsResponse": { +"id": "GoogleCloudDialogflowV2beta1ImportDocumentsResponse", +"properties": { +"warnings": { +"items": { +"$ref": "GoogleRpcStatus" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1IngestedContextReferenceDebugInfo": { +"id": "GoogleCloudDialogflowV2beta1IngestedContextReferenceDebugInfo", +"properties": { +"contextReferenceRetrieved": { +"type": "boolean" +}, +"ingestedParametersDebugInfo": { +"items": { +"$ref": "GoogleCloudDialogflowV2beta1IngestedContextReferenceDebugInfoIngestedParameterDebugInfo" +}, +"type": "array" +}, +"projectNotAllowlisted": { +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1IngestedContextReferenceDebugInfoIngestedParameterDebugInfo": { +"id": "GoogleCloudDialogflowV2beta1IngestedContextReferenceDebugInfoIngestedParameterDebugInfo", +"properties": { +"ingestionStatus": { +"enum": [ +"INGESTION_STATUS_UNSPECIFIED", +"INGESTION_STATUS_SUCCEEDED", +"INGESTION_STATUS_CONTEXT_NOT_AVAILABLE", +"INGESTION_STATUS_PARSE_FAILED", +"INGESTION_STATUS_INVALID_ENTRY", +"INGESTION_STATUS_INVALID_FORMAT", +"INGESTION_STATUS_LANGUAGE_MISMATCH" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"", +"" +], +"type": "string" +}, +"parameter": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1InitializeEncryptionSpecMetadata": { +"id": "GoogleCloudDialogflowV2beta1InitializeEncryptionSpecMetadata", +"properties": { +"request": { +"$ref": "GoogleCloudDialogflowV2beta1InitializeEncryptionSpecRequest", +"readOnly": true +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1InitializeEncryptionSpecRequest": { +"id": "GoogleCloudDialogflowV2beta1InitializeEncryptionSpecRequest", +"properties": { +"encryptionSpec": { +"$ref": "GoogleCloudDialogflowV2beta1EncryptionSpec" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1Intent": { +"id": "GoogleCloudDialogflowV2beta1Intent", +"properties": { +"action": { +"type": "string" +}, +"defaultResponsePlatforms": { +"items": { +"enum": [ +"PLATFORM_UNSPECIFIED", +"FACEBOOK", +"SLACK", +"TELEGRAM", +"KIK", +"SKYPE", +"LINE", +"VIBER", +"ACTIONS_ON_GOOGLE", +"TELEPHONY", +"GOOGLE_HANGOUTS" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"" +], +"type": "string" +}, +"type": "array" +}, +"displayName": { +"type": "string" +}, +"endInteraction": { +"type": "boolean" +}, +"events": { +"items": { +"type": "string" +}, +"type": "array" +}, +"followupIntentInfo": { +"items": { +"$ref": "GoogleCloudDialogflowV2beta1IntentFollowupIntentInfo" +}, +"readOnly": true, +"type": "array" +}, +"inputContextNames": { +"items": { +"type": "string" +}, +"type": "array" +}, +"isFallback": { +"type": "boolean" +}, +"liveAgentHandoff": { +"type": "boolean" +}, +"messages": { +"items": { +"$ref": "GoogleCloudDialogflowV2beta1IntentMessage" +}, +"type": "array" +}, +"mlDisabled": { +"type": "boolean" +}, +"mlEnabled": { +"deprecated": true, +"type": "boolean" +}, +"name": { +"type": "string" +}, +"outputContexts": { +"items": { +"$ref": "GoogleCloudDialogflowV2beta1Context" +}, +"type": "array" +}, +"parameters": { +"items": { +"$ref": "GoogleCloudDialogflowV2beta1IntentParameter" +}, +"type": "array" +}, +"parentFollowupIntentName": { +"type": "string" +}, +"priority": { +"format": "int32", +"type": "integer" +}, +"resetContexts": { +"type": "boolean" +}, +"rootFollowupIntentName": { +"readOnly": true, +"type": "string" +}, +"trainingPhrases": { +"items": { +"$ref": "GoogleCloudDialogflowV2beta1IntentTrainingPhrase" +}, +"type": "array" +}, +"webhookState": { +"enum": [ +"WEBHOOK_STATE_UNSPECIFIED", +"WEBHOOK_STATE_ENABLED", +"WEBHOOK_STATE_ENABLED_FOR_SLOT_FILLING" +], +"enumDescriptions": [ +"", +"", +"" +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1IntentFollowupIntentInfo": { +"id": "GoogleCloudDialogflowV2beta1IntentFollowupIntentInfo", +"properties": { +"followupIntentName": { +"type": "string" +}, +"parentFollowupIntentName": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1IntentMessage": { +"id": "GoogleCloudDialogflowV2beta1IntentMessage", +"properties": { +"basicCard": { +"$ref": "GoogleCloudDialogflowV2beta1IntentMessageBasicCard" +}, +"browseCarouselCard": { +"$ref": "GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCard" +}, +"card": { +"$ref": "GoogleCloudDialogflowV2beta1IntentMessageCard" +}, +"carouselSelect": { +"$ref": "GoogleCloudDialogflowV2beta1IntentMessageCarouselSelect" +}, +"image": { +"$ref": "GoogleCloudDialogflowV2beta1IntentMessageImage" +}, +"linkOutSuggestion": { +"$ref": "GoogleCloudDialogflowV2beta1IntentMessageLinkOutSuggestion" +}, +"listSelect": { +"$ref": "GoogleCloudDialogflowV2beta1IntentMessageListSelect" +}, +"mediaContent": { +"$ref": "GoogleCloudDialogflowV2beta1IntentMessageMediaContent" +}, +"payload": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"type": "object" +}, +"platform": { +"enum": [ +"PLATFORM_UNSPECIFIED", +"FACEBOOK", +"SLACK", +"TELEGRAM", +"KIK", +"SKYPE", +"LINE", +"VIBER", +"ACTIONS_ON_GOOGLE", +"TELEPHONY", +"GOOGLE_HANGOUTS" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"" +], +"type": "string" +}, +"quickReplies": { +"$ref": "GoogleCloudDialogflowV2beta1IntentMessageQuickReplies" +}, +"rbmCarouselRichCard": { +"$ref": "GoogleCloudDialogflowV2beta1IntentMessageRbmCarouselCard" +}, +"rbmStandaloneRichCard": { +"$ref": "GoogleCloudDialogflowV2beta1IntentMessageRbmStandaloneCard" +}, +"rbmText": { +"$ref": "GoogleCloudDialogflowV2beta1IntentMessageRbmText" +}, +"simpleResponses": { +"$ref": "GoogleCloudDialogflowV2beta1IntentMessageSimpleResponses" +}, +"suggestions": { +"$ref": "GoogleCloudDialogflowV2beta1IntentMessageSuggestions" +}, +"tableCard": { +"$ref": "GoogleCloudDialogflowV2beta1IntentMessageTableCard" +}, +"telephonyPlayAudio": { +"$ref": "GoogleCloudDialogflowV2beta1IntentMessageTelephonyPlayAudio" +}, +"telephonySynthesizeSpeech": { +"$ref": "GoogleCloudDialogflowV2beta1IntentMessageTelephonySynthesizeSpeech" +}, +"telephonyTransferCall": { +"$ref": "GoogleCloudDialogflowV2beta1IntentMessageTelephonyTransferCall" +}, +"text": { +"$ref": "GoogleCloudDialogflowV2beta1IntentMessageText" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1IntentMessageBasicCard": { +"id": "GoogleCloudDialogflowV2beta1IntentMessageBasicCard", +"properties": { +"buttons": { +"items": { +"$ref": "GoogleCloudDialogflowV2beta1IntentMessageBasicCardButton" +}, +"type": "array" +}, +"formattedText": { +"type": "string" +}, +"image": { +"$ref": "GoogleCloudDialogflowV2beta1IntentMessageImage" +}, +"subtitle": { +"type": "string" +}, +"title": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1IntentMessageBasicCardButton": { +"id": "GoogleCloudDialogflowV2beta1IntentMessageBasicCardButton", +"properties": { +"openUriAction": { +"$ref": "GoogleCloudDialogflowV2beta1IntentMessageBasicCardButtonOpenUriAction" +}, +"title": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1IntentMessageBasicCardButtonOpenUriAction": { +"id": "GoogleCloudDialogflowV2beta1IntentMessageBasicCardButtonOpenUriAction", +"properties": { +"uri": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCard": { +"id": "GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCard", +"properties": { +"imageDisplayOptions": { +"enum": [ +"IMAGE_DISPLAY_OPTIONS_UNSPECIFIED", +"GRAY", +"WHITE", +"CROPPED", +"BLURRED_BACKGROUND" +], +"enumDescriptions": [ +"", +"", +"", +"", +"" +], +"type": "string" +}, +"items": { +"items": { +"$ref": "GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardBrowseCarouselCardItem" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardBrowseCarouselCardItem": { +"id": "GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardBrowseCarouselCardItem", +"properties": { +"description": { +"type": "string" +}, +"footer": { +"type": "string" +}, +"image": { +"$ref": "GoogleCloudDialogflowV2beta1IntentMessageImage" +}, +"openUriAction": { +"$ref": "GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardBrowseCarouselCardItemOpenUrlAction" +}, +"title": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardBrowseCarouselCardItemOpenUrlAction": { +"id": "GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardBrowseCarouselCardItemOpenUrlAction", +"properties": { +"url": { +"type": "string" +}, +"urlTypeHint": { +"enum": [ +"URL_TYPE_HINT_UNSPECIFIED", +"AMP_ACTION", +"AMP_CONTENT" +], +"enumDescriptions": [ +"", +"", +"" +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1IntentMessageCard": { +"id": "GoogleCloudDialogflowV2beta1IntentMessageCard", +"properties": { +"buttons": { +"items": { +"$ref": "GoogleCloudDialogflowV2beta1IntentMessageCardButton" +}, +"type": "array" +}, +"imageUri": { +"type": "string" +}, +"subtitle": { +"type": "string" +}, +"title": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1IntentMessageCardButton": { +"id": "GoogleCloudDialogflowV2beta1IntentMessageCardButton", +"properties": { +"postback": { +"type": "string" +}, +"text": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1IntentMessageCarouselSelect": { +"id": "GoogleCloudDialogflowV2beta1IntentMessageCarouselSelect", +"properties": { +"items": { +"items": { +"$ref": "GoogleCloudDialogflowV2beta1IntentMessageCarouselSelectItem" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1IntentMessageCarouselSelectItem": { +"id": "GoogleCloudDialogflowV2beta1IntentMessageCarouselSelectItem", +"properties": { +"description": { +"type": "string" +}, +"image": { +"$ref": "GoogleCloudDialogflowV2beta1IntentMessageImage" +}, +"info": { +"$ref": "GoogleCloudDialogflowV2beta1IntentMessageSelectItemInfo" +}, +"title": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1IntentMessageColumnProperties": { +"id": "GoogleCloudDialogflowV2beta1IntentMessageColumnProperties", +"properties": { +"header": { +"type": "string" +}, +"horizontalAlignment": { +"enum": [ +"HORIZONTAL_ALIGNMENT_UNSPECIFIED", +"LEADING", +"CENTER", +"TRAILING" +], +"enumDescriptions": [ +"", +"", +"", +"" +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1IntentMessageImage": { +"id": "GoogleCloudDialogflowV2beta1IntentMessageImage", +"properties": { +"accessibilityText": { +"type": "string" +}, +"imageUri": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1IntentMessageLinkOutSuggestion": { +"id": "GoogleCloudDialogflowV2beta1IntentMessageLinkOutSuggestion", +"properties": { +"destinationName": { +"type": "string" +}, +"uri": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1IntentMessageListSelect": { +"id": "GoogleCloudDialogflowV2beta1IntentMessageListSelect", +"properties": { +"items": { +"items": { +"$ref": "GoogleCloudDialogflowV2beta1IntentMessageListSelectItem" +}, +"type": "array" +}, +"subtitle": { +"type": "string" +}, +"title": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1IntentMessageListSelectItem": { +"id": "GoogleCloudDialogflowV2beta1IntentMessageListSelectItem", +"properties": { +"description": { +"type": "string" +}, +"image": { +"$ref": "GoogleCloudDialogflowV2beta1IntentMessageImage" +}, +"info": { +"$ref": "GoogleCloudDialogflowV2beta1IntentMessageSelectItemInfo" +}, +"title": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1IntentMessageMediaContent": { +"id": "GoogleCloudDialogflowV2beta1IntentMessageMediaContent", +"properties": { +"mediaObjects": { +"items": { +"$ref": "GoogleCloudDialogflowV2beta1IntentMessageMediaContentResponseMediaObject" +}, +"type": "array" +}, +"mediaType": { +"enum": [ +"RESPONSE_MEDIA_TYPE_UNSPECIFIED", +"AUDIO" +], +"enumDescriptions": [ +"", +"" +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1IntentMessageMediaContentResponseMediaObject": { +"id": "GoogleCloudDialogflowV2beta1IntentMessageMediaContentResponseMediaObject", +"properties": { +"contentUrl": { +"type": "string" +}, +"description": { +"type": "string" +}, +"icon": { +"$ref": "GoogleCloudDialogflowV2beta1IntentMessageImage" +}, +"largeImage": { +"$ref": "GoogleCloudDialogflowV2beta1IntentMessageImage" +}, +"name": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1IntentMessageQuickReplies": { +"id": "GoogleCloudDialogflowV2beta1IntentMessageQuickReplies", +"properties": { +"quickReplies": { +"items": { +"type": "string" +}, +"type": "array" +}, +"title": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1IntentMessageRbmCardContent": { +"id": "GoogleCloudDialogflowV2beta1IntentMessageRbmCardContent", +"properties": { +"description": { +"type": "string" +}, +"media": { +"$ref": "GoogleCloudDialogflowV2beta1IntentMessageRbmCardContentRbmMedia" +}, +"suggestions": { +"items": { +"$ref": "GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestion" +}, +"type": "array" +}, +"title": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1IntentMessageRbmCardContentRbmMedia": { +"id": "GoogleCloudDialogflowV2beta1IntentMessageRbmCardContentRbmMedia", +"properties": { +"fileUri": { +"type": "string" +}, +"height": { +"enum": [ +"HEIGHT_UNSPECIFIED", +"SHORT", +"MEDIUM", +"TALL" +], +"enumDescriptions": [ +"", +"", +"", +"" +], +"type": "string" +}, +"thumbnailUri": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1IntentMessageRbmCarouselCard": { +"id": "GoogleCloudDialogflowV2beta1IntentMessageRbmCarouselCard", +"properties": { +"cardContents": { +"items": { +"$ref": "GoogleCloudDialogflowV2beta1IntentMessageRbmCardContent" +}, +"type": "array" +}, +"cardWidth": { +"enum": [ +"CARD_WIDTH_UNSPECIFIED", +"SMALL", +"MEDIUM" +], +"enumDescriptions": [ +"", +"", +"" +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1IntentMessageRbmStandaloneCard": { +"id": "GoogleCloudDialogflowV2beta1IntentMessageRbmStandaloneCard", +"properties": { +"cardContent": { +"$ref": "GoogleCloudDialogflowV2beta1IntentMessageRbmCardContent" +}, +"cardOrientation": { +"enum": [ +"CARD_ORIENTATION_UNSPECIFIED", +"HORIZONTAL", +"VERTICAL" +], +"enumDescriptions": [ +"", +"", +"" +], +"type": "string" +}, +"thumbnailImageAlignment": { +"enum": [ +"THUMBNAIL_IMAGE_ALIGNMENT_UNSPECIFIED", +"LEFT", +"RIGHT" +], +"enumDescriptions": [ +"", +"", +"" +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedAction": { +"id": "GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedAction", +"properties": { +"dial": { +"$ref": "GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionDial" +}, +"openUrl": { +"$ref": "GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionOpenUri" +}, +"postbackData": { +"type": "string" +}, +"shareLocation": { +"$ref": "GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionShareLocation" +}, +"text": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionDial": { +"id": "GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionDial", +"properties": { +"phoneNumber": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionOpenUri": { +"id": "GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionOpenUri", +"properties": { +"uri": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionShareLocation": { +"id": "GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionShareLocation", +"properties": {}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedReply": { +"id": "GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedReply", +"properties": { +"postbackData": { +"type": "string" +}, +"text": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestion": { +"id": "GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestion", +"properties": { +"action": { +"$ref": "GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedAction" +}, +"reply": { +"$ref": "GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedReply" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1IntentMessageRbmText": { +"id": "GoogleCloudDialogflowV2beta1IntentMessageRbmText", +"properties": { +"rbmSuggestion": { +"items": { +"$ref": "GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestion" +}, +"type": "array" +}, +"text": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1IntentMessageSelectItemInfo": { +"id": "GoogleCloudDialogflowV2beta1IntentMessageSelectItemInfo", +"properties": { +"key": { +"type": "string" +}, +"synonyms": { +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1IntentMessageSimpleResponse": { +"id": "GoogleCloudDialogflowV2beta1IntentMessageSimpleResponse", +"properties": { +"displayText": { +"type": "string" +}, +"ssml": { +"type": "string" +}, +"textToSpeech": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1IntentMessageSimpleResponses": { +"id": "GoogleCloudDialogflowV2beta1IntentMessageSimpleResponses", +"properties": { +"simpleResponses": { +"items": { +"$ref": "GoogleCloudDialogflowV2beta1IntentMessageSimpleResponse" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1IntentMessageSuggestion": { +"id": "GoogleCloudDialogflowV2beta1IntentMessageSuggestion", +"properties": { +"title": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1IntentMessageSuggestions": { +"id": "GoogleCloudDialogflowV2beta1IntentMessageSuggestions", +"properties": { +"suggestions": { +"items": { +"$ref": "GoogleCloudDialogflowV2beta1IntentMessageSuggestion" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1IntentMessageTableCard": { +"id": "GoogleCloudDialogflowV2beta1IntentMessageTableCard", +"properties": { +"buttons": { +"items": { +"$ref": "GoogleCloudDialogflowV2beta1IntentMessageBasicCardButton" +}, +"type": "array" +}, +"columnProperties": { +"items": { +"$ref": "GoogleCloudDialogflowV2beta1IntentMessageColumnProperties" +}, +"type": "array" +}, +"image": { +"$ref": "GoogleCloudDialogflowV2beta1IntentMessageImage" +}, +"rows": { +"items": { +"$ref": "GoogleCloudDialogflowV2beta1IntentMessageTableCardRow" +}, +"type": "array" +}, +"subtitle": { +"type": "string" +}, +"title": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1IntentMessageTableCardCell": { +"id": "GoogleCloudDialogflowV2beta1IntentMessageTableCardCell", +"properties": { +"text": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1IntentMessageTableCardRow": { +"id": "GoogleCloudDialogflowV2beta1IntentMessageTableCardRow", +"properties": { +"cells": { +"items": { +"$ref": "GoogleCloudDialogflowV2beta1IntentMessageTableCardCell" +}, +"type": "array" +}, +"dividerAfter": { +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1IntentMessageTelephonyPlayAudio": { +"id": "GoogleCloudDialogflowV2beta1IntentMessageTelephonyPlayAudio", +"properties": { +"audioUri": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1IntentMessageTelephonySynthesizeSpeech": { +"id": "GoogleCloudDialogflowV2beta1IntentMessageTelephonySynthesizeSpeech", +"properties": { +"ssml": { +"type": "string" +}, +"text": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1IntentMessageTelephonyTransferCall": { +"id": "GoogleCloudDialogflowV2beta1IntentMessageTelephonyTransferCall", +"properties": { +"phoneNumber": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1IntentMessageText": { +"id": "GoogleCloudDialogflowV2beta1IntentMessageText", +"properties": { +"text": { +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1IntentParameter": { +"id": "GoogleCloudDialogflowV2beta1IntentParameter", +"properties": { +"defaultValue": { +"type": "string" +}, +"displayName": { +"type": "string" +}, +"entityTypeDisplayName": { +"type": "string" +}, +"isList": { +"type": "boolean" +}, +"mandatory": { +"type": "boolean" +}, +"name": { +"type": "string" +}, +"prompts": { +"items": { +"type": "string" +}, +"type": "array" +}, +"value": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1IntentSuggestion": { +"id": "GoogleCloudDialogflowV2beta1IntentSuggestion", +"properties": { +"description": { +"type": "string" +}, +"displayName": { +"type": "string" +}, +"intentV2": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1IntentTrainingPhrase": { +"id": "GoogleCloudDialogflowV2beta1IntentTrainingPhrase", +"properties": { +"name": { +"readOnly": true, +"type": "string" +}, +"parts": { +"items": { +"$ref": "GoogleCloudDialogflowV2beta1IntentTrainingPhrasePart" +}, +"type": "array" +}, +"timesAddedCount": { +"format": "int32", +"type": "integer" +}, +"type": { +"enum": [ +"TYPE_UNSPECIFIED", +"EXAMPLE", +"TEMPLATE" +], +"enumDeprecated": [ +false, +false, +true +], +"enumDescriptions": [ +"", +"", +"" +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1IntentTrainingPhrasePart": { +"id": "GoogleCloudDialogflowV2beta1IntentTrainingPhrasePart", +"properties": { +"alias": { +"type": "string" +}, +"entityType": { +"type": "string" +}, +"text": { +"type": "string" +}, +"userDefined": { +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1KnowledgeAnswers": { +"id": "GoogleCloudDialogflowV2beta1KnowledgeAnswers", +"properties": { +"answers": { +"items": { +"$ref": "GoogleCloudDialogflowV2beta1KnowledgeAnswersAnswer" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1KnowledgeAnswersAnswer": { +"id": "GoogleCloudDialogflowV2beta1KnowledgeAnswersAnswer", +"properties": { +"answer": { +"type": "string" +}, +"faqQuestion": { +"type": "string" +}, +"matchConfidence": { +"format": "float", +"type": "number" +}, +"matchConfidenceLevel": { +"enum": [ +"MATCH_CONFIDENCE_LEVEL_UNSPECIFIED", +"LOW", +"MEDIUM", +"HIGH" +], +"enumDescriptions": [ +"", +"", +"", +"" +], +"type": "string" +}, +"source": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1KnowledgeAssistAnswer": { +"id": "GoogleCloudDialogflowV2beta1KnowledgeAssistAnswer", +"properties": { +"answerRecord": { +"type": "string" +}, +"knowledgeAssistDebugInfo": { +"$ref": "GoogleCloudDialogflowV2beta1KnowledgeAssistDebugInfo" +}, +"suggestedQuery": { +"$ref": "GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerSuggestedQuery" +}, +"suggestedQueryAnswer": { +"$ref": "GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerKnowledgeAnswer" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerKnowledgeAnswer": { +"id": "GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerKnowledgeAnswer", +"properties": { +"answerText": { +"type": "string" +}, +"faqSource": { +"$ref": "GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerKnowledgeAnswerFaqSource" +}, +"generativeSource": { +"$ref": "GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerKnowledgeAnswerGenerativeSource" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerKnowledgeAnswerFaqSource": { +"id": "GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerKnowledgeAnswerFaqSource", +"properties": { +"question": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerKnowledgeAnswerGenerativeSource": { +"id": "GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerKnowledgeAnswerGenerativeSource", +"properties": { +"snippets": { +"items": { +"$ref": "GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerKnowledgeAnswerGenerativeSourceSnippet" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerKnowledgeAnswerGenerativeSourceSnippet": { +"id": "GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerKnowledgeAnswerGenerativeSourceSnippet", +"properties": { +"metadata": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"type": "object" +}, +"text": { +"type": "string" +}, +"title": { +"type": "string" +}, +"uri": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerSuggestedQuery": { +"id": "GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerSuggestedQuery", +"properties": { +"queryText": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1KnowledgeAssistDebugInfo": { +"id": "GoogleCloudDialogflowV2beta1KnowledgeAssistDebugInfo", +"properties": { +"datastoreResponseReason": { +"enum": [ +"DATASTORE_RESPONSE_REASON_UNSPECIFIED", +"NONE", +"SEARCH_OUT_OF_QUOTA", +"SEARCH_EMPTY_RESULTS", +"ANSWER_GENERATION_GEN_AI_DISABLED", +"ANSWER_GENERATION_OUT_OF_QUOTA", +"ANSWER_GENERATION_ERROR", +"ANSWER_GENERATION_NOT_ENOUGH_INFO", +"ANSWER_GENERATION_RAI_FAILED", +"ANSWER_GENERATION_NOT_GROUNDED" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"", +"", +"", +"", +"" +], +"type": "string" +}, +"ingestedContextReferenceDebugInfo": { +"$ref": "GoogleCloudDialogflowV2beta1IngestedContextReferenceDebugInfo" +}, +"knowledgeAssistBehavior": { +"$ref": "GoogleCloudDialogflowV2beta1KnowledgeAssistDebugInfoKnowledgeAssistBehavior" +}, +"queryCategorizationFailureReason": { +"enum": [ +"QUERY_CATEGORIZATION_FAILURE_REASON_UNSPECIFIED", +"QUERY_CATEGORIZATION_INVALID_CONFIG", +"QUERY_CATEGORIZATION_RESULT_NOT_FOUND", +"QUERY_CATEGORIZATION_FAILED" +], +"enumDescriptions": [ +"", +"", +"", +"" +], +"type": "string" +}, +"queryGenerationFailureReason": { +"enum": [ +"QUERY_GENERATION_FAILURE_REASON_UNSPECIFIED", +"QUERY_GENERATION_OUT_OF_QUOTA", +"QUERY_GENERATION_FAILED", +"QUERY_GENERATION_NO_QUERY_GENERATED", +"QUERY_GENERATION_RAI_FAILED", +"NOT_IN_ALLOWLIST", +"QUERY_GENERATION_QUERY_REDACTED", +"QUERY_GENERATION_LLM_RESPONSE_PARSE_FAILED", +"QUERY_GENERATION_EMPTY_CONVERSATION", +"QUERY_GENERATION_EMPTY_LAST_MESSAGE", +"QUERY_GENERATION_TRIGGERING_EVENT_CONDITION_NOT_MET" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"" +], +"type": "string" +}, +"serviceLatency": { +"$ref": "GoogleCloudDialogflowV2beta1ServiceLatency" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1KnowledgeAssistDebugInfoKnowledgeAssistBehavior": { +"id": "GoogleCloudDialogflowV2beta1KnowledgeAssistDebugInfoKnowledgeAssistBehavior", +"properties": { +"answerGenerationRewriterOn": { +"type": "boolean" +}, +"appendedSearchContextCount": { +"format": "int32", +"type": "integer" +}, +"conversationTranscriptHasMixedLanguages": { +"type": "boolean" +}, +"disableSyncDelivery": { +"type": "boolean" +}, +"endUserMetadataIncluded": { +"type": "boolean" +}, +"invalidItemsQuerySuggestionSkipped": { +"type": "boolean" +}, +"multipleQueriesGenerated": { +"type": "boolean" +}, +"previousQueriesIncluded": { +"type": "boolean" +}, +"primaryQueryRedactedAndReplaced": { +"type": "boolean" +}, +"queryContainedSearchContext": { +"type": "boolean" +}, +"queryGenerationAgentLanguageMismatch": { +"type": "boolean" +}, +"queryGenerationEndUserLanguageMismatch": { +"type": "boolean" +}, +"returnQueryOnly": { +"type": "boolean" +}, +"thirdPartyConnectorAllowed": { +"type": "boolean" +}, +"useCustomSafetyFilterLevel": { +"type": "boolean" +}, +"usePubsubDelivery": { +"type": "boolean" +}, +"useTranslatedMessage": { +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1KnowledgeOperationMetadata": { +"id": "GoogleCloudDialogflowV2beta1KnowledgeOperationMetadata", +"properties": { +"doneTime": { +"format": "google-datetime", +"type": "string" +}, +"exportOperationMetadata": { +"$ref": "GoogleCloudDialogflowV2beta1ExportOperationMetadata" +}, +"knowledgeBase": { +"type": "string" +}, +"state": { +"enum": [ +"STATE_UNSPECIFIED", +"PENDING", +"RUNNING", +"DONE" +], +"enumDescriptions": [ +"", +"", +"", +"" +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1Message": { +"id": "GoogleCloudDialogflowV2beta1Message", +"properties": { +"content": { +"type": "string" +}, +"createTime": { +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"languageCode": { +"type": "string" +}, +"messageAnnotation": { +"$ref": "GoogleCloudDialogflowV2beta1MessageAnnotation", +"readOnly": true +}, +"name": { +"type": "string" +}, +"participant": { +"readOnly": true, +"type": "string" +}, +"participantRole": { +"enum": [ +"ROLE_UNSPECIFIED", +"HUMAN_AGENT", +"AUTOMATED_AGENT", +"END_USER" +], +"enumDescriptions": [ +"", +"", +"", +"" +], +"readOnly": true, +"type": "string" +}, +"responseMessages": { +"items": { +"$ref": "GoogleCloudDialogflowV2beta1ResponseMessage" +}, +"type": "array" +}, +"sendTime": { +"format": "google-datetime", +"type": "string" +}, +"sentimentAnalysis": { +"$ref": "GoogleCloudDialogflowV2beta1SentimentAnalysisResult", +"readOnly": true +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1MessageAnnotation": { +"id": "GoogleCloudDialogflowV2beta1MessageAnnotation", +"properties": { +"containEntities": { +"type": "boolean" +}, +"parts": { +"items": { +"$ref": "GoogleCloudDialogflowV2beta1AnnotatedMessagePart" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1OriginalDetectIntentRequest": { +"id": "GoogleCloudDialogflowV2beta1OriginalDetectIntentRequest", +"properties": { +"payload": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"type": "object" +}, +"source": { +"type": "string" +}, +"version": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1QueryResult": { +"id": "GoogleCloudDialogflowV2beta1QueryResult", +"properties": { +"action": { +"type": "string" +}, +"allRequiredParamsPresent": { +"type": "boolean" +}, +"cancelsSlotFilling": { +"type": "boolean" +}, +"diagnosticInfo": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"type": "object" +}, +"fulfillmentMessages": { +"items": { +"$ref": "GoogleCloudDialogflowV2beta1IntentMessage" +}, +"type": "array" +}, +"fulfillmentText": { +"type": "string" +}, +"intent": { +"$ref": "GoogleCloudDialogflowV2beta1Intent" +}, +"intentDetectionConfidence": { +"format": "float", +"type": "number" +}, +"knowledgeAnswers": { +"$ref": "GoogleCloudDialogflowV2beta1KnowledgeAnswers" +}, +"languageCode": { +"type": "string" +}, +"outputContexts": { +"items": { +"$ref": "GoogleCloudDialogflowV2beta1Context" +}, +"type": "array" +}, +"parameters": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"type": "object" +}, +"queryText": { +"type": "string" +}, +"sentimentAnalysisResult": { +"$ref": "GoogleCloudDialogflowV2beta1SentimentAnalysisResult" +}, +"speechRecognitionConfidence": { +"format": "float", +"type": "number" +}, +"webhookPayload": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"type": "object" +}, +"webhookSource": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1ResponseMessage": { +"id": "GoogleCloudDialogflowV2beta1ResponseMessage", +"properties": { +"endInteraction": { +"$ref": "GoogleCloudDialogflowV2beta1ResponseMessageEndInteraction" +}, +"liveAgentHandoff": { +"$ref": "GoogleCloudDialogflowV2beta1ResponseMessageLiveAgentHandoff" +}, +"mixedAudio": { +"$ref": "GoogleCloudDialogflowV2beta1ResponseMessageMixedAudio" +}, +"payload": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"type": "object" +}, +"telephonyTransferCall": { +"$ref": "GoogleCloudDialogflowV2beta1ResponseMessageTelephonyTransferCall" +}, +"text": { +"$ref": "GoogleCloudDialogflowV2beta1ResponseMessageText" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1ResponseMessageEndInteraction": { +"id": "GoogleCloudDialogflowV2beta1ResponseMessageEndInteraction", +"properties": {}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1ResponseMessageLiveAgentHandoff": { +"id": "GoogleCloudDialogflowV2beta1ResponseMessageLiveAgentHandoff", +"properties": { +"metadata": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"type": "object" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1ResponseMessageMixedAudio": { +"id": "GoogleCloudDialogflowV2beta1ResponseMessageMixedAudio", +"properties": { +"segments": { +"items": { +"$ref": "GoogleCloudDialogflowV2beta1ResponseMessageMixedAudioSegment" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1ResponseMessageMixedAudioSegment": { +"id": "GoogleCloudDialogflowV2beta1ResponseMessageMixedAudioSegment", +"properties": { +"allowPlaybackInterruption": { +"type": "boolean" +}, +"audio": { +"format": "byte", +"type": "string" +}, +"uri": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1ResponseMessageTelephonyTransferCall": { +"id": "GoogleCloudDialogflowV2beta1ResponseMessageTelephonyTransferCall", +"properties": { +"phoneNumber": { +"type": "string" +}, +"sipUri": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1ResponseMessageText": { +"id": "GoogleCloudDialogflowV2beta1ResponseMessageText", +"properties": { +"text": { +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1Sentiment": { +"id": "GoogleCloudDialogflowV2beta1Sentiment", +"properties": { +"magnitude": { +"format": "float", +"type": "number" +}, +"score": { +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1SentimentAnalysisResult": { +"id": "GoogleCloudDialogflowV2beta1SentimentAnalysisResult", +"properties": { +"queryTextSentiment": { +"$ref": "GoogleCloudDialogflowV2beta1Sentiment" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1ServiceLatency": { +"id": "GoogleCloudDialogflowV2beta1ServiceLatency", +"properties": { +"internalServiceLatencies": { +"items": { +"$ref": "GoogleCloudDialogflowV2beta1ServiceLatencyInternalServiceLatency" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1ServiceLatencyInternalServiceLatency": { +"id": "GoogleCloudDialogflowV2beta1ServiceLatencyInternalServiceLatency", +"properties": { +"completeTime": { +"format": "google-datetime", +"type": "string" +}, +"latencyMs": { +"format": "float", +"type": "number" +}, +"startTime": { +"format": "google-datetime", +"type": "string" +}, +"step": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1SessionEntityType": { +"id": "GoogleCloudDialogflowV2beta1SessionEntityType", +"properties": { +"entities": { +"items": { +"$ref": "GoogleCloudDialogflowV2beta1EntityTypeEntity" +}, +"type": "array" +}, +"entityOverrideMode": { +"enum": [ +"ENTITY_OVERRIDE_MODE_UNSPECIFIED", +"ENTITY_OVERRIDE_MODE_OVERRIDE", +"ENTITY_OVERRIDE_MODE_SUPPLEMENT" +], +"enumDescriptions": [ +"", +"", +"" +], +"type": "string" +}, +"name": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1SetSuggestionFeatureConfigOperationMetadata": { +"id": "GoogleCloudDialogflowV2beta1SetSuggestionFeatureConfigOperationMetadata", +"properties": { +"conversationProfile": { +"type": "string" +}, +"createTime": { +"format": "google-datetime", +"type": "string" +}, +"participantRole": { +"enum": [ +"ROLE_UNSPECIFIED", +"HUMAN_AGENT", +"AUTOMATED_AGENT", +"END_USER" +], +"enumDescriptions": [ +"", +"", +"", +"" +], +"type": "string" +}, +"suggestionFeatureType": { +"enum": [ +"TYPE_UNSPECIFIED", +"ARTICLE_SUGGESTION", +"FAQ", +"SMART_REPLY", +"DIALOGFLOW_ASSIST", +"CONVERSATION_SUMMARIZATION", +"KNOWLEDGE_SEARCH", +"KNOWLEDGE_ASSIST" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"", +"", +"" +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1SmartReplyAnswer": { +"id": "GoogleCloudDialogflowV2beta1SmartReplyAnswer", +"properties": { +"answerRecord": { +"type": "string" +}, +"confidence": { +"format": "float", +"type": "number" +}, +"reply": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1SpeechWordInfo": { +"id": "GoogleCloudDialogflowV2beta1SpeechWordInfo", +"properties": { +"confidence": { +"format": "float", +"type": "number" +}, +"endOffset": { +"format": "google-duration", +"type": "string" +}, +"startOffset": { +"format": "google-duration", +"type": "string" +}, +"word": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1StreamingRecognitionResult": { +"id": "GoogleCloudDialogflowV2beta1StreamingRecognitionResult", +"properties": { +"confidence": { +"format": "float", +"type": "number" +}, +"dtmfDigits": { +"$ref": "GoogleCloudDialogflowV2beta1TelephonyDtmfEvents" +}, +"isFinal": { +"type": "boolean" +}, +"languageCode": { +"type": "string" +}, +"messageType": { +"enum": [ +"MESSAGE_TYPE_UNSPECIFIED", +"TRANSCRIPT", +"END_OF_SINGLE_UTTERANCE", +"DTMF_DIGITS", +"PARTIAL_DTMF_DIGITS" +], +"enumDescriptions": [ +"", +"", +"", +"", +"" +], +"type": "string" +}, +"speechEndOffset": { +"format": "google-duration", +"type": "string" +}, +"speechWordInfo": { +"items": { +"$ref": "GoogleCloudDialogflowV2beta1SpeechWordInfo" +}, +"type": "array" +}, +"stability": { +"format": "float", +"type": "number" +}, +"transcript": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1SuggestArticlesResponse": { +"id": "GoogleCloudDialogflowV2beta1SuggestArticlesResponse", +"properties": { +"articleAnswers": { +"items": { +"$ref": "GoogleCloudDialogflowV2beta1ArticleAnswer" +}, +"type": "array" +}, +"contextSize": { +"format": "int32", +"type": "integer" +}, +"latestMessage": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1SuggestDialogflowAssistsResponse": { +"id": "GoogleCloudDialogflowV2beta1SuggestDialogflowAssistsResponse", +"properties": { +"contextSize": { +"format": "int32", +"type": "integer" +}, +"dialogflowAssistAnswers": { +"items": { +"$ref": "GoogleCloudDialogflowV2beta1DialogflowAssistAnswer" +}, +"type": "array" +}, +"latestMessage": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1SuggestFaqAnswersResponse": { +"id": "GoogleCloudDialogflowV2beta1SuggestFaqAnswersResponse", +"properties": { +"contextSize": { +"format": "int32", +"type": "integer" +}, +"faqAnswers": { +"items": { +"$ref": "GoogleCloudDialogflowV2beta1FaqAnswer" +}, +"type": "array" +}, +"latestMessage": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1SuggestKnowledgeAssistResponse": { +"id": "GoogleCloudDialogflowV2beta1SuggestKnowledgeAssistResponse", +"properties": { +"contextSize": { +"format": "int32", +"type": "integer" +}, +"knowledgeAssistAnswer": { +"$ref": "GoogleCloudDialogflowV2beta1KnowledgeAssistAnswer", +"readOnly": true +}, +"latestMessage": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1SuggestSmartRepliesResponse": { +"id": "GoogleCloudDialogflowV2beta1SuggestSmartRepliesResponse", +"properties": { +"contextSize": { +"format": "int32", +"type": "integer" +}, +"latestMessage": { +"type": "string" +}, +"smartReplyAnswers": { +"items": { +"$ref": "GoogleCloudDialogflowV2beta1SmartReplyAnswer" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1SuggestionResult": { +"id": "GoogleCloudDialogflowV2beta1SuggestionResult", +"properties": { +"error": { +"$ref": "GoogleRpcStatus" +}, +"generateSuggestionsResponse": { +"$ref": "GoogleCloudDialogflowV2beta1GenerateSuggestionsResponse" +}, +"suggestArticlesResponse": { +"$ref": "GoogleCloudDialogflowV2beta1SuggestArticlesResponse" +}, +"suggestDialogflowAssistsResponse": { +"$ref": "GoogleCloudDialogflowV2beta1SuggestDialogflowAssistsResponse" +}, +"suggestEntityExtractionResponse": { +"$ref": "GoogleCloudDialogflowV2beta1SuggestDialogflowAssistsResponse" +}, +"suggestFaqAnswersResponse": { +"$ref": "GoogleCloudDialogflowV2beta1SuggestFaqAnswersResponse" +}, +"suggestKnowledgeAssistResponse": { +"$ref": "GoogleCloudDialogflowV2beta1SuggestKnowledgeAssistResponse" +}, +"suggestSmartRepliesResponse": { +"$ref": "GoogleCloudDialogflowV2beta1SuggestSmartRepliesResponse" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1SummarySuggestion": { +"id": "GoogleCloudDialogflowV2beta1SummarySuggestion", +"properties": { +"summarySections": { +"items": { +"$ref": "GoogleCloudDialogflowV2beta1SummarySuggestionSummarySection" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1SummarySuggestionSummarySection": { +"id": "GoogleCloudDialogflowV2beta1SummarySuggestionSummarySection", +"properties": { +"section": { +"type": "string" +}, +"summary": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1TelephonyDtmfEvents": { +"id": "GoogleCloudDialogflowV2beta1TelephonyDtmfEvents", +"properties": { +"dtmfEvents": { +"items": { +"enum": [ +"TELEPHONY_DTMF_UNSPECIFIED", +"DTMF_ONE", +"DTMF_TWO", +"DTMF_THREE", +"DTMF_FOUR", +"DTMF_FIVE", +"DTMF_SIX", +"DTMF_SEVEN", +"DTMF_EIGHT", +"DTMF_NINE", +"DTMF_ZERO", +"DTMF_A", +"DTMF_B", +"DTMF_C", +"DTMF_D", +"DTMF_STAR", +"DTMF_POUND" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"" +], +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1ToolCall": { +"id": "GoogleCloudDialogflowV2beta1ToolCall", +"properties": { +"action": { +"type": "string" +}, +"answerRecord": { +"type": "string" +}, +"createTime": { +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"inputParameters": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"type": "object" +}, +"state": { +"enum": [ +"STATE_UNSPECIFIED", +"TRIGGERED", +"NEEDS_CONFIRMATION" +], +"enumDescriptions": [ +"", +"", +"" +], +"readOnly": true, +"type": "string" +}, +"tool": { +"type": "string" +}, +"toolDisplayDetails": { +"type": "string" +}, +"toolDisplayName": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1ToolCallResult": { +"id": "GoogleCloudDialogflowV2beta1ToolCallResult", +"properties": { +"action": { +"type": "string" +}, +"answerRecord": { +"type": "string" +}, +"content": { +"type": "string" +}, +"createTime": { +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"error": { +"$ref": "GoogleCloudDialogflowV2beta1ToolCallResultError" +}, +"rawContent": { +"format": "byte", +"type": "string" +}, +"tool": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1ToolCallResultError": { +"id": "GoogleCloudDialogflowV2beta1ToolCallResultError", +"properties": { +"message": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1WebhookRequest": { +"id": "GoogleCloudDialogflowV2beta1WebhookRequest", +"properties": { +"alternativeQueryResults": { +"items": { +"$ref": "GoogleCloudDialogflowV2beta1QueryResult" +}, +"type": "array" +}, +"originalDetectIntentRequest": { +"$ref": "GoogleCloudDialogflowV2beta1OriginalDetectIntentRequest" +}, +"queryResult": { +"$ref": "GoogleCloudDialogflowV2beta1QueryResult" +}, +"responseId": { +"type": "string" +}, +"session": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV2beta1WebhookResponse": { +"id": "GoogleCloudDialogflowV2beta1WebhookResponse", +"properties": { +"endInteraction": { +"type": "boolean" +}, +"followupEventInput": { +"$ref": "GoogleCloudDialogflowV2beta1EventInput" +}, +"fulfillmentMessages": { +"items": { +"$ref": "GoogleCloudDialogflowV2beta1IntentMessage" +}, +"type": "array" +}, +"fulfillmentText": { +"type": "string" +}, +"liveAgentHandoff": { +"type": "boolean" +}, +"outputContexts": { +"items": { +"$ref": "GoogleCloudDialogflowV2beta1Context" +}, +"type": "array" +}, +"payload": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"type": "object" +}, +"sessionEntityTypes": { +"items": { +"$ref": "GoogleCloudDialogflowV2beta1SessionEntityType" +}, +"type": "array" +}, +"source": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV3alpha1ConversationSignals": { +"id": "GoogleCloudDialogflowV3alpha1ConversationSignals", +"properties": { +"turnSignals": { +"$ref": "GoogleCloudDialogflowV3alpha1TurnSignals" +} +}, +"type": "object" +}, +"GoogleCloudDialogflowV3alpha1TurnSignals": { +"id": "GoogleCloudDialogflowV3alpha1TurnSignals", +"properties": { +"agentEscalated": { +"type": "boolean" +}, +"dtmfUsed": { +"type": "boolean" +}, +"failureReasons": { +"items": { +"enum": [ +"FAILURE_REASON_UNSPECIFIED", +"FAILED_INTENT", +"FAILED_WEBHOOK" +], +"enumDescriptions": [ +"", +"", +"" +], +"type": "string" +}, +"type": "array" +}, +"noMatch": { +"type": "boolean" +}, +"noUserInput": { +"type": "boolean" +}, +"reachedEndPage": { +"type": "boolean" +}, +"sentimentMagnitude": { +"format": "float", +"type": "number" +}, +"sentimentScore": { +"format": "float", +"type": "number" +}, +"triggeredAbandonmentEvent": { +"type": "boolean" +}, +"userEscalated": { +"type": "boolean" +}, +"webhookStatuses": { +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudLocationListLocationsResponse": { +"id": "GoogleCloudLocationListLocationsResponse", +"properties": { +"locations": { +"items": { +"$ref": "GoogleCloudLocationLocation" +}, +"type": "array" +}, +"nextPageToken": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudLocationLocation": { +"id": "GoogleCloudLocationLocation", +"properties": { +"displayName": { +"type": "string" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"type": "object" +}, +"locationId": { +"type": "string" +}, +"metadata": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"type": "object" +}, +"name": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleLongrunningListOperationsResponse": { +"id": "GoogleLongrunningListOperationsResponse", +"properties": { +"nextPageToken": { +"type": "string" +}, +"operations": { +"items": { +"$ref": "GoogleLongrunningOperation" +}, +"type": "array" +}, +"unreachable": { +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleLongrunningOperation": { +"id": "GoogleLongrunningOperation", +"properties": { +"done": { +"type": "boolean" +}, +"error": { +"$ref": "GoogleRpcStatus" +}, +"metadata": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"type": "object" +}, +"name": { +"type": "string" +}, +"response": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"type": "object" +} +}, +"type": "object" +}, +"GoogleProtobufEmpty": { +"id": "GoogleProtobufEmpty", +"properties": {}, +"type": "object" +}, +"GoogleRpcStatus": { +"id": "GoogleRpcStatus", +"properties": { +"code": { +"format": "int32", +"type": "integer" +}, +"details": { +"items": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleTypeLatLng": { +"id": "GoogleTypeLatLng", +"properties": { +"latitude": { +"format": "double", +"type": "number" +}, +"longitude": { +"format": "double", +"type": "number" +} +}, +"type": "object" +} +}, +"servicePath": "", +"title": "Dialogflow API", +"version": "v3beta1", +"version_module": true +} \ No newline at end of file diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/discoveryengine.v1.json b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/discoveryengine.v1.json new file mode 100644 index 0000000000000000000000000000000000000000..5a70fb1ad4412ed1bdfd4c554d1bbc01470953c5 --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/discoveryengine.v1.json @@ -0,0 +1,33615 @@ +{ +"auth": { +"oauth2": { +"scopes": { +"https://www.googleapis.com/auth/cloud-platform": { +"description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." +}, +"https://www.googleapis.com/auth/cloud_search.query": { +"description": "Search your organization's data in the Cloud Search index" +}, +"https://www.googleapis.com/auth/discoveryengine.assist.readwrite": { +"description": "View your Agentspace chat history, including uploaded files and generated reports and visualizations, and interact with the Agentspace assistant on your behalf." +}, +"https://www.googleapis.com/auth/discoveryengine.readwrite": { +"description": "View, edit, create, and delete all your data associated with any Discovery Engine API product, such as Agentspace, Vertex AI Search, or NotebookLM Enterprise, including both end user data and administration or configuration data." +} +} +} +}, +"basePath": "", +"baseUrl": "https://discoveryengine.googleapis.com/", +"batchPath": "batch", +"canonicalName": "Discovery Engine", +"description": "Discovery Engine API.", +"discoveryVersion": "v1", +"documentationLink": "https://cloud.google.com/generative-ai-app-builder/docs/", +"endpoints": [ +{ +"description": "Regional Endpoint", +"endpointUrl": "https://discoveryengine.asia-northeast1.rep.googleapis.com/", +"location": "asia-northeast1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://discoveryengine.europe-west2.rep.googleapis.com/", +"location": "europe-west2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://discoveryengine.us.rep.googleapis.com/", +"location": "us" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://discoveryengine.eu.rep.googleapis.com/", +"location": "eu" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://discoveryengine.in.rep.googleapis.com/", +"location": "in" +} +], +"fullyEncodeReservedExpansion": true, +"icons": { +"x16": "http://www.google.com/images/icons/product/search-16.gif", +"x32": "http://www.google.com/images/icons/product/search-32.gif" +}, +"id": "discoveryengine:v1", +"kind": "discovery#restDescription", +"mtlsRootUrl": "https://discoveryengine.mtls.googleapis.com/", +"name": "discoveryengine", +"ownerDomain": "google.com", +"ownerName": "Google", +"parameters": { +"$.xgafv": { +"description": "V1 error format.", +"enum": [ +"1", +"2" +], +"enumDescriptions": [ +"v1 error format", +"v2 error format" +], +"location": "query", +"type": "string" +}, +"access_token": { +"description": "OAuth access token.", +"location": "query", +"type": "string" +}, +"alt": { +"default": "json", +"description": "Data format for response.", +"enum": [ +"json", +"media", +"proto" +], +"enumDescriptions": [ +"Responses with Content-Type of application/json", +"Media download with context-dependent Content-Type", +"Responses with Content-Type of application/x-protobuf" +], +"location": "query", +"type": "string" +}, +"callback": { +"description": "JSONP", +"location": "query", +"type": "string" +}, +"fields": { +"description": "Selector specifying which fields to include in a partial response.", +"location": "query", +"type": "string" +}, +"key": { +"description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", +"location": "query", +"type": "string" +}, +"oauth_token": { +"description": "OAuth 2.0 token for the current user.", +"location": "query", +"type": "string" +}, +"prettyPrint": { +"default": "true", +"description": "Returns response with indentations and line breaks.", +"location": "query", +"type": "boolean" +}, +"quotaUser": { +"description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.", +"location": "query", +"type": "string" +}, +"uploadType": { +"description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", +"location": "query", +"type": "string" +}, +"upload_protocol": { +"description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", +"location": "query", +"type": "string" +} +}, +"protocol": "rest", +"resources": { +"projects": { +"methods": { +"provision": { +"description": "Provisions the project resource. During the process, related systems will get prepared and initialized. Caller must read the [Terms for data use](https://cloud.google.com/retail/data-use-terms), and optionally specify in request to provide consent to that service terms.", +"flatPath": "v1/projects/{projectsId}:provision", +"httpMethod": "POST", +"id": "discoveryengine.projects.provision", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Full resource name of a Project, such as `projects/{project_id_or_number}`.", +"location": "path", +"pattern": "^projects/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:provision", +"request": { +"$ref": "GoogleCloudDiscoveryengineV1ProvisionProjectRequest" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/discoveryengine.readwrite" +] +} +}, +"resources": { +"locations": { +"methods": { +"getAclConfig": { +"description": "Gets the AclConfig.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/aclConfig", +"httpMethod": "GET", +"id": "discoveryengine.projects.locations.getAclConfig", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Resource name of AclConfig, such as `projects/*/locations/*/aclConfig`. If the caller does not have permission to access the AclConfig, regardless of whether or not it exists, a PERMISSION_DENIED error is returned.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/aclConfig$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleCloudDiscoveryengineV1AclConfig" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/discoveryengine.readwrite" +] +}, +"getCmekConfig": { +"description": "Gets the CmekConfig.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/cmekConfig", +"httpMethod": "GET", +"id": "discoveryengine.projects.locations.getCmekConfig", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Resource name of CmekConfig, such as `projects/*/locations/*/cmekConfig` or `projects/*/locations/*/cmekConfigs/*`. If the caller does not have permission to access the CmekConfig, regardless of whether or not it exists, a PERMISSION_DENIED error is returned.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/cmekConfig$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleCloudDiscoveryengineV1CmekConfig" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/discoveryengine.readwrite" +] +}, +"setUpDataConnector": { +"description": "Creates a Collection and sets up the DataConnector for it. To stop a DataConnector after setup, use the CollectionService.DeleteCollection method.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}:setUpDataConnector", +"httpMethod": "POST", +"id": "discoveryengine.projects.locations.setUpDataConnector", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The parent of Collection, in the format of `projects/{project}/locations/{location}`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}:setUpDataConnector", +"request": { +"$ref": "GoogleCloudDiscoveryengineV1SetUpDataConnectorRequest" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/discoveryengine.assist.readwrite", +"https://www.googleapis.com/auth/discoveryengine.readwrite" +] +}, +"setUpDataConnectorV2": { +"description": "Creates a Collection and sets up the DataConnector for it. To stop a DataConnector after setup, use the CollectionService.DeleteCollection method.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}:setUpDataConnectorV2", +"httpMethod": "POST", +"id": "discoveryengine.projects.locations.setUpDataConnectorV2", +"parameterOrder": [ +"parent" +], +"parameters": { +"collectionDisplayName": { +"description": "Required. The display name of the Collection. Should be human readable, used to display collections in the Console Dashboard. UTF-8 encoded string with limit of 1024 characters.", +"location": "query", +"type": "string" +}, +"collectionId": { +"description": "Required. The ID to use for the Collection, which will become the final component of the Collection's resource name. A new Collection is created as part of the DataConnector setup. DataConnector is a singleton resource under Collection, managing all DataStores of the Collection. This field must conform to [RFC-1034](https://tools.ietf.org/html/rfc1034) standard with a length limit of 63 characters. Otherwise, an INVALID_ARGUMENT error is returned.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent of Collection, in the format of `projects/{project}/locations/{location}`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}:setUpDataConnectorV2", +"request": { +"$ref": "GoogleCloudDiscoveryengineV1DataConnector" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/discoveryengine.assist.readwrite", +"https://www.googleapis.com/auth/discoveryengine.readwrite" +] +}, +"updateAclConfig": { +"description": "Default ACL configuration for use in a location of a customer's project. Updates will only reflect to new data stores. Existing data stores will still use the old value.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/aclConfig", +"httpMethod": "PATCH", +"id": "discoveryengine.projects.locations.updateAclConfig", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Immutable. The full resource name of the acl configuration. Format: `projects/{project}/locations/{location}/aclConfig`. This field must be a UTF-8 encoded string with a length limit of 1024 characters.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/aclConfig$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "GoogleCloudDiscoveryengineV1AclConfig" +}, +"response": { +"$ref": "GoogleCloudDiscoveryengineV1AclConfig" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/discoveryengine.readwrite" +] +}, +"updateCmekConfig": { +"description": "Provisions a CMEK key for use in a location of a customer's project. This method will also conduct location validation on the provided cmekConfig to make sure the key is valid and can be used in the selected location.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/cmekConfig", +"httpMethod": "PATCH", +"id": "discoveryengine.projects.locations.updateCmekConfig", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the CmekConfig of the form `projects/{project}/locations/{location}/cmekConfig` or `projects/{project}/locations/{location}/cmekConfigs/{cmek_config}`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/cmekConfig$", +"required": true, +"type": "string" +}, +"setDefault": { +"description": "Set the following CmekConfig as the default to be used for child resources if one is not specified.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "GoogleCloudDiscoveryengineV1CmekConfig" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/discoveryengine.readwrite" +] +} +}, +"resources": { +"cmekConfigs": { +"methods": { +"delete": { +"description": "De-provisions a CmekConfig.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/cmekConfigs/{cmekConfigsId}", +"httpMethod": "DELETE", +"id": "discoveryengine.projects.locations.cmekConfigs.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the CmekConfig to delete, such as `projects/{project}/locations/{location}/cmekConfigs/{cmek_config}`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/cmekConfigs/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/discoveryengine.readwrite" +] +}, +"get": { +"description": "Gets the CmekConfig.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/cmekConfigs/{cmekConfigsId}", +"httpMethod": "GET", +"id": "discoveryengine.projects.locations.cmekConfigs.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Resource name of CmekConfig, such as `projects/*/locations/*/cmekConfig` or `projects/*/locations/*/cmekConfigs/*`. If the caller does not have permission to access the CmekConfig, regardless of whether or not it exists, a PERMISSION_DENIED error is returned.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/cmekConfigs/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleCloudDiscoveryengineV1CmekConfig" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/discoveryengine.readwrite" +] +}, +"list": { +"description": "Lists all the CmekConfigs with the project.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/cmekConfigs", +"httpMethod": "GET", +"id": "discoveryengine.projects.locations.cmekConfigs.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The parent location resource name, such as `projects/{project}/locations/{location}`. If the caller does not have permission to list CmekConfigs under this location, regardless of whether or not a CmekConfig exists, a PERMISSION_DENIED error is returned.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/cmekConfigs", +"response": { +"$ref": "GoogleCloudDiscoveryengineV1ListCmekConfigsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/discoveryengine.readwrite" +] +}, +"patch": { +"description": "Provisions a CMEK key for use in a location of a customer's project. This method will also conduct location validation on the provided cmekConfig to make sure the key is valid and can be used in the selected location.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/cmekConfigs/{cmekConfigsId}", +"httpMethod": "PATCH", +"id": "discoveryengine.projects.locations.cmekConfigs.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the CmekConfig of the form `projects/{project}/locations/{location}/cmekConfig` or `projects/{project}/locations/{location}/cmekConfigs/{cmek_config}`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/cmekConfigs/[^/]+$", +"required": true, +"type": "string" +}, +"setDefault": { +"description": "Set the following CmekConfig as the default to be used for child resources if one is not specified.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "GoogleCloudDiscoveryengineV1CmekConfig" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/discoveryengine.readwrite" +] +} +} +}, +"collections": { +"methods": { +"delete": { +"description": "Deletes a Collection.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}", +"httpMethod": "DELETE", +"id": "discoveryengine.projects.locations.collections.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The full resource name of the Collection, in the format of `projects/{project}/locations/{location}/collections/{collection}`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/discoveryengine.readwrite" +] +}, +"getDataConnector": { +"description": "Gets the DataConnector. DataConnector is a singleton resource for each Collection.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/dataConnector", +"httpMethod": "GET", +"id": "discoveryengine.projects.locations.collections.getDataConnector", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Full resource name of DataConnector, such as `projects/{project}/locations/{location}/collections/{collection_id}/dataConnector`. If the caller does not have permission to access the DataConnector, regardless of whether or not it exists, a PERMISSION_DENIED error is returned. If the requested DataConnector does not exist, a NOT_FOUND error is returned.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/dataConnector$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleCloudDiscoveryengineV1DataConnector" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/discoveryengine.assist.readwrite", +"https://www.googleapis.com/auth/discoveryengine.readwrite" +] +}, +"updateDataConnector": { +"description": "Updates a DataConnector.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/dataConnector", +"httpMethod": "PATCH", +"id": "discoveryengine.projects.locations.collections.updateDataConnector", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Output only. The full resource name of the Data Connector. Format: `projects/*/locations/*/collections/*/dataConnector`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/dataConnector$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Indicates which fields in the provided DataConnector to update. Supported field paths include: - `refresh_interval` - `params` - `auto_run_disabled` - `action_config` - `action_config.action_params` - `action_config.service_name` - `destination_configs` - `blocking_reasons` - `sync_mode` - `incremental_sync_disabled` - `incremental_refresh_interval` - `data_protection_policy` Note: Support for these fields may vary depending on the connector type. For example, not all connectors support `destination_configs`. If an unsupported or unknown field path is provided, the request will return an INVALID_ARGUMENT error.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "GoogleCloudDiscoveryengineV1DataConnector" +}, +"response": { +"$ref": "GoogleCloudDiscoveryengineV1DataConnector" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/discoveryengine.assist.readwrite", +"https://www.googleapis.com/auth/discoveryengine.readwrite" +] +} +}, +"resources": { +"dataConnector": { +"resources": { +"operations": { +"methods": { +"get": { +"description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/dataConnector/operations/{operationsId}", +"httpMethod": "GET", +"id": "discoveryengine.projects.locations.collections.dataConnector.operations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/dataConnector/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/discoveryengine.readwrite" +] +}, +"list": { +"description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/dataConnector/operations", +"httpMethod": "GET", +"id": "discoveryengine.projects.locations.collections.dataConnector.operations.list", +"parameterOrder": [ +"name" +], +"parameters": { +"filter": { +"description": "The standard list filter.", +"location": "query", +"type": "string" +}, +"name": { +"description": "The name of the operation's parent resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/dataConnector$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The standard list page size.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The standard list page token.", +"location": "query", +"type": "string" +}, +"returnPartialSuccess": { +"description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `\"projects/example/locations/-\"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1/{+name}/operations", +"response": { +"$ref": "GoogleLongrunningListOperationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/discoveryengine.readwrite" +] +} +} +} +} +}, +"dataStores": { +"methods": { +"completeQuery": { +"description": "Completes the specified user input with keyword suggestions.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/dataStores/{dataStoresId}:completeQuery", +"httpMethod": "GET", +"id": "discoveryengine.projects.locations.collections.dataStores.completeQuery", +"parameterOrder": [ +"dataStore" +], +"parameters": { +"dataStore": { +"description": "Required. The parent data store resource name for which the completion is performed, such as `projects/*/locations/global/collections/default_collection/dataStores/default_data_store`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/dataStores/[^/]+$", +"required": true, +"type": "string" +}, +"includeTailSuggestions": { +"description": "Indicates if tail suggestions should be returned if there are no suggestions that match the full query. Even if set to true, if there are suggestions that match the full query, those are returned and no tail suggestions are returned.", +"location": "query", +"type": "boolean" +}, +"query": { +"description": "Required. The typeahead input used to fetch suggestions. Maximum length is 128 characters.", +"location": "query", +"type": "string" +}, +"queryModel": { +"description": "Specifies the autocomplete data model. This overrides any model specified in the Configuration > Autocomplete section of the Cloud console. Currently supported values: * `document` - Using suggestions generated from user-imported documents. * `search-history` - Using suggestions generated from the past history of SearchService.Search API calls. Do not use it when there is no traffic for Search API. * `user-event` - Using suggestions generated from user-imported search events. * `document-completable` - Using suggestions taken directly from user-imported document fields marked as completable. Default values: * `document` is the default model for regular dataStores. * `search-history` is the default model for site search dataStores.", +"location": "query", +"type": "string" +}, +"userPseudoId": { +"description": "Optional. A unique identifier for tracking visitors. For example, this could be implemented with an HTTP cookie, which should be able to uniquely identify a visitor on a single device. This unique identifier should not change if the visitor logs in or out of the website. This field should NOT have a fixed value such as `unknown_visitor`. This should be the same identifier as UserEvent.user_pseudo_id and SearchRequest.user_pseudo_id. The field must be a UTF-8 encoded string with a length limit of 128 characters. Otherwise, an `INVALID_ARGUMENT` error is returned.", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+dataStore}:completeQuery", +"response": { +"$ref": "GoogleCloudDiscoveryengineV1CompleteQueryResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/discoveryengine.assist.readwrite", +"https://www.googleapis.com/auth/discoveryengine.readwrite" +] +}, +"create": { +"description": "Creates a DataStore. DataStore is for storing Documents. To serve these documents for Search, or Recommendation use case, an Engine needs to be created separately.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/dataStores", +"httpMethod": "POST", +"id": "discoveryengine.projects.locations.collections.dataStores.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"cmekConfigName": { +"description": "Resource name of the CmekConfig to use for protecting this DataStore.", +"location": "query", +"type": "string" +}, +"createAdvancedSiteSearch": { +"description": "A boolean flag indicating whether user want to directly create an advanced data store for site search. If the data store is not configured as site search (GENERIC vertical and PUBLIC_WEBSITE content_config), this flag will be ignored.", +"location": "query", +"type": "boolean" +}, +"dataStoreId": { +"description": "Required. The ID to use for the DataStore, which will become the final component of the DataStore's resource name. This field must conform to [RFC-1034](https://tools.ietf.org/html/rfc1034) standard with a length limit of 63 characters. Otherwise, an INVALID_ARGUMENT error is returned.", +"location": "query", +"type": "string" +}, +"disableCmek": { +"description": "DataStore without CMEK protections. If a default CmekConfig is set for the project, setting this field will override the default CmekConfig as well.", +"location": "query", +"type": "boolean" +}, +"parent": { +"description": "Required. The parent resource name, such as `projects/{project}/locations/{location}/collections/{collection}`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+$", +"required": true, +"type": "string" +}, +"skipDefaultSchemaCreation": { +"description": "A boolean flag indicating whether to skip the default schema creation for the data store. Only enable this flag if you are certain that the default schema is incompatible with your use case. If set to true, you must manually create a schema for the data store before any documents can be ingested. This flag cannot be specified if `data_store.starting_schema` is specified.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1/{+parent}/dataStores", +"request": { +"$ref": "GoogleCloudDiscoveryengineV1DataStore" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/discoveryengine.readwrite" +] +}, +"delete": { +"description": "Deletes a DataStore.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/dataStores/{dataStoresId}", +"httpMethod": "DELETE", +"id": "discoveryengine.projects.locations.collections.dataStores.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Full resource name of DataStore, such as `projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}`. If the caller does not have permission to delete the DataStore, regardless of whether or not it exists, a PERMISSION_DENIED error is returned. If the DataStore to delete does not exist, a NOT_FOUND error is returned.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/dataStores/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/discoveryengine.readwrite" +] +}, +"get": { +"description": "Gets a DataStore.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/dataStores/{dataStoresId}", +"httpMethod": "GET", +"id": "discoveryengine.projects.locations.collections.dataStores.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Full resource name of DataStore, such as `projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}`. If the caller does not have permission to access the DataStore, regardless of whether or not it exists, a PERMISSION_DENIED error is returned. If the requested DataStore does not exist, a NOT_FOUND error is returned.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/dataStores/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleCloudDiscoveryengineV1DataStore" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/discoveryengine.readwrite" +] +}, +"getSiteSearchEngine": { +"description": "Gets the SiteSearchEngine.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/dataStores/{dataStoresId}/siteSearchEngine", +"httpMethod": "GET", +"id": "discoveryengine.projects.locations.collections.dataStores.getSiteSearchEngine", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Resource name of SiteSearchEngine, such as `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine`. If the caller does not have permission to access the [SiteSearchEngine], regardless of whether or not it exists, a PERMISSION_DENIED error is returned.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/dataStores/[^/]+/siteSearchEngine$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleCloudDiscoveryengineV1SiteSearchEngine" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/discoveryengine.readwrite" +] +}, +"list": { +"description": "Lists all the DataStores associated with the project.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/dataStores", +"httpMethod": "GET", +"id": "discoveryengine.projects.locations.collections.dataStores.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Filter by solution type . For example: `filter = 'solution_type:SOLUTION_TYPE_SEARCH'`", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Maximum number of DataStores to return. If unspecified, defaults to 10. The maximum allowed value is 50. Values above 50 will be coerced to 50. If this field is negative, an INVALID_ARGUMENT is returned.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A page token ListDataStoresResponse.next_page_token, received from a previous DataStoreService.ListDataStores call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to DataStoreService.ListDataStores must match the call that provided the page token. Otherwise, an INVALID_ARGUMENT error is returned.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent branch resource name, such as `projects/{project}/locations/{location}/collections/{collection_id}`. If the caller does not have permission to list DataStores under this location, regardless of whether or not this data store exists, a PERMISSION_DENIED error is returned.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/dataStores", +"response": { +"$ref": "GoogleCloudDiscoveryengineV1ListDataStoresResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/discoveryengine.readwrite" +] +}, +"patch": { +"description": "Updates a DataStore", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/dataStores/{dataStoresId}", +"httpMethod": "PATCH", +"id": "discoveryengine.projects.locations.collections.dataStores.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Immutable. Identifier. The full resource name of the data store. Format: `projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}`. This field must be a UTF-8 encoded string with a length limit of 1024 characters.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/dataStores/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Indicates which fields in the provided DataStore to update. If an unsupported or unknown field is provided, an INVALID_ARGUMENT error is returned.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "GoogleCloudDiscoveryengineV1DataStore" +}, +"response": { +"$ref": "GoogleCloudDiscoveryengineV1DataStore" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/discoveryengine.readwrite" +] +}, +"trainCustomModel": { +"description": "Trains a custom model.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/dataStores/{dataStoresId}:trainCustomModel", +"httpMethod": "POST", +"id": "discoveryengine.projects.locations.collections.dataStores.trainCustomModel", +"parameterOrder": [ +"dataStore" +], +"parameters": { +"dataStore": { +"description": "Required. The resource name of the Data Store, such as `projects/*/locations/global/collections/default_collection/dataStores/default_data_store`. This field is used to identify the data store where to train the models.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/dataStores/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+dataStore}:trainCustomModel", +"request": { +"$ref": "GoogleCloudDiscoveryengineV1TrainCustomModelRequest" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/discoveryengine.readwrite" +] +} +}, +"resources": { +"branches": { +"methods": { +"batchGetDocumentsMetadata": { +"description": "Gets index freshness metadata for Documents. Supported for website search only.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/dataStores/{dataStoresId}/branches/{branchesId}/batchGetDocumentsMetadata", +"httpMethod": "GET", +"id": "discoveryengine.projects.locations.collections.dataStores.branches.batchGetDocumentsMetadata", +"parameterOrder": [ +"parent" +], +"parameters": { +"matcher.fhirMatcher.fhirResources": { +"description": "Required. The FHIR resources to match by. Format: projects/{project}/locations/{location}/datasets/{dataset}/fhirStores/{fhir_store}/fhir/{resource_type}/{fhir_resource_id}", +"location": "query", +"repeated": true, +"type": "string" +}, +"matcher.urisMatcher.uris": { +"description": "The exact URIs to match by.", +"location": "query", +"repeated": true, +"type": "string" +}, +"parent": { +"description": "Required. The parent branch resource name, such as `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/dataStores/[^/]+/branches/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/batchGetDocumentsMetadata", +"response": { +"$ref": "GoogleCloudDiscoveryengineV1BatchGetDocumentsMetadataResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/discoveryengine.readwrite" +] +} +}, +"resources": { +"documents": { +"methods": { +"create": { +"description": "Creates a Document.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/dataStores/{dataStoresId}/branches/{branchesId}/documents", +"httpMethod": "POST", +"id": "discoveryengine.projects.locations.collections.dataStores.branches.documents.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"documentId": { +"description": "Required. The ID to use for the Document, which becomes the final component of the Document.name. If the caller does not have permission to create the Document, regardless of whether or not it exists, a `PERMISSION_DENIED` error is returned. This field must be unique among all Documents with the same parent. Otherwise, an `ALREADY_EXISTS` error is returned. This field must conform to [RFC-1034](https://tools.ietf.org/html/rfc1034) standard with a length limit of 128 characters. Otherwise, an `INVALID_ARGUMENT` error is returned.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent resource name, such as `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/dataStores/[^/]+/branches/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/documents", +"request": { +"$ref": "GoogleCloudDiscoveryengineV1Document" +}, +"response": { +"$ref": "GoogleCloudDiscoveryengineV1Document" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/discoveryengine.readwrite" +] +}, +"delete": { +"description": "Deletes a Document.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/dataStores/{dataStoresId}/branches/{branchesId}/documents/{documentsId}", +"httpMethod": "DELETE", +"id": "discoveryengine.projects.locations.collections.dataStores.branches.documents.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Full resource name of Document, such as `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}/documents/{document}`. If the caller does not have permission to delete the Document, regardless of whether or not it exists, a `PERMISSION_DENIED` error is returned. If the Document to delete does not exist, a `NOT_FOUND` error is returned.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/dataStores/[^/]+/branches/[^/]+/documents/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/discoveryengine.readwrite" +] +}, +"get": { +"description": "Gets a Document.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/dataStores/{dataStoresId}/branches/{branchesId}/documents/{documentsId}", +"httpMethod": "GET", +"id": "discoveryengine.projects.locations.collections.dataStores.branches.documents.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Full resource name of Document, such as `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}/documents/{document}`. If the caller does not have permission to access the Document, regardless of whether or not it exists, a `PERMISSION_DENIED` error is returned. If the requested Document does not exist, a `NOT_FOUND` error is returned.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/dataStores/[^/]+/branches/[^/]+/documents/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleCloudDiscoveryengineV1Document" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/discoveryengine.readwrite" +] +}, +"import": { +"description": "Bulk import of multiple Documents. Request processing may be synchronous. Non-existing items are created. Note: It is possible for a subset of the Documents to be successfully updated.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/dataStores/{dataStoresId}/branches/{branchesId}/documents:import", +"httpMethod": "POST", +"id": "discoveryengine.projects.locations.collections.dataStores.branches.documents.import", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The parent branch resource name, such as `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}`. Requires create/update permission.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/dataStores/[^/]+/branches/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/documents:import", +"request": { +"$ref": "GoogleCloudDiscoveryengineV1ImportDocumentsRequest" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/discoveryengine.readwrite" +] +}, +"list": { +"description": "Gets a list of Documents.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/dataStores/{dataStoresId}/branches/{branchesId}/documents", +"httpMethod": "GET", +"id": "discoveryengine.projects.locations.collections.dataStores.branches.documents.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "Maximum number of Documents to return. If unspecified, defaults to 100. The maximum allowed value is 1000. Values above 1000 are set to 1000. If this field is negative, an `INVALID_ARGUMENT` error is returned.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A page token ListDocumentsResponse.next_page_token, received from a previous DocumentService.ListDocuments call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to DocumentService.ListDocuments must match the call that provided the page token. Otherwise, an `INVALID_ARGUMENT` error is returned.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent branch resource name, such as `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}`. Use `default_branch` as the branch ID, to list documents under the default branch. If the caller does not have permission to list Documents under this branch, regardless of whether or not this branch exists, a `PERMISSION_DENIED` error is returned.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/dataStores/[^/]+/branches/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/documents", +"response": { +"$ref": "GoogleCloudDiscoveryengineV1ListDocumentsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/discoveryengine.readwrite" +] +}, +"patch": { +"description": "Updates a Document.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/dataStores/{dataStoresId}/branches/{branchesId}/documents/{documentsId}", +"httpMethod": "PATCH", +"id": "discoveryengine.projects.locations.collections.dataStores.branches.documents.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"allowMissing": { +"description": "If set to `true` and the Document is not found, a new Document is be created.", +"location": "query", +"type": "boolean" +}, +"name": { +"description": "Immutable. The full resource name of the document. Format: `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}/documents/{document_id}`. This field must be a UTF-8 encoded string with a length limit of 1024 characters.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/dataStores/[^/]+/branches/[^/]+/documents/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Indicates which fields in the provided imported 'document' to update. If not set, by default updates all fields.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "GoogleCloudDiscoveryengineV1Document" +}, +"response": { +"$ref": "GoogleCloudDiscoveryengineV1Document" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/discoveryengine.readwrite" +] +}, +"purge": { +"description": "Permanently deletes all selected Documents in a branch. This process is asynchronous. Depending on the number of Documents to be deleted, this operation can take hours to complete. Before the delete operation completes, some Documents might still be returned by DocumentService.GetDocument or DocumentService.ListDocuments. To get a list of the Documents to be deleted, set PurgeDocumentsRequest.force to false.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/dataStores/{dataStoresId}/branches/{branchesId}/documents:purge", +"httpMethod": "POST", +"id": "discoveryengine.projects.locations.collections.dataStores.branches.documents.purge", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The parent resource name, such as `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/dataStores/[^/]+/branches/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/documents:purge", +"request": { +"$ref": "GoogleCloudDiscoveryengineV1PurgeDocumentsRequest" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/discoveryengine.readwrite" +] +} +} +}, +"operations": { +"methods": { +"cancel": { +"description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/dataStores/{dataStoresId}/branches/{branchesId}/operations/{operationsId}:cancel", +"httpMethod": "POST", +"id": "discoveryengine.projects.locations.collections.dataStores.branches.operations.cancel", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be cancelled.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/dataStores/[^/]+/branches/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:cancel", +"request": { +"$ref": "GoogleLongrunningCancelOperationRequest" +}, +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/discoveryengine.readwrite" +] +}, +"get": { +"description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/dataStores/{dataStoresId}/branches/{branchesId}/operations/{operationsId}", +"httpMethod": "GET", +"id": "discoveryengine.projects.locations.collections.dataStores.branches.operations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/dataStores/[^/]+/branches/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/discoveryengine.readwrite" +] +}, +"list": { +"description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/dataStores/{dataStoresId}/branches/{branchesId}/operations", +"httpMethod": "GET", +"id": "discoveryengine.projects.locations.collections.dataStores.branches.operations.list", +"parameterOrder": [ +"name" +], +"parameters": { +"filter": { +"description": "The standard list filter.", +"location": "query", +"type": "string" +}, +"name": { +"description": "The name of the operation's parent resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/dataStores/[^/]+/branches/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The standard list page size.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The standard list page token.", +"location": "query", +"type": "string" +}, +"returnPartialSuccess": { +"description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `\"projects/example/locations/-\"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1/{+name}/operations", +"response": { +"$ref": "GoogleLongrunningListOperationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/discoveryengine.readwrite" +] +} +} +} +} +}, +"completionConfig": { +"methods": { +"completeQuery": { +"description": "Completes the user input with advanced keyword suggestions.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/dataStores/{dataStoresId}/completionConfig:completeQuery", +"httpMethod": "POST", +"id": "discoveryengine.projects.locations.collections.dataStores.completionConfig.completeQuery", +"parameterOrder": [ +"completionConfig" +], +"parameters": { +"completionConfig": { +"description": "Required. The completion_config of the parent dataStore or engine resource name for which the completion is performed, such as `projects/*/locations/global/collections/default_collection/dataStores/*/completionConfig` `projects/*/locations/global/collections/default_collection/engines/*/completionConfig`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/dataStores/[^/]+/completionConfig$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+completionConfig}:completeQuery", +"request": { +"$ref": "GoogleCloudDiscoveryengineV1AdvancedCompleteQueryRequest" +}, +"response": { +"$ref": "GoogleCloudDiscoveryengineV1AdvancedCompleteQueryResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud_search.query", +"https://www.googleapis.com/auth/discoveryengine.assist.readwrite", +"https://www.googleapis.com/auth/discoveryengine.readwrite" +] +} +} +}, +"completionSuggestions": { +"methods": { +"import": { +"description": "Imports CompletionSuggestions for a DataStore.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/dataStores/{dataStoresId}/completionSuggestions:import", +"httpMethod": "POST", +"id": "discoveryengine.projects.locations.collections.dataStores.completionSuggestions.import", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The parent data store resource name for which to import customer autocomplete suggestions. Follows pattern `projects/*/locations/*/collections/*/dataStores/*`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/dataStores/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/completionSuggestions:import", +"request": { +"$ref": "GoogleCloudDiscoveryengineV1ImportCompletionSuggestionsRequest" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/discoveryengine.assist.readwrite", +"https://www.googleapis.com/auth/discoveryengine.readwrite" +] +}, +"purge": { +"description": "Permanently deletes all CompletionSuggestions for a DataStore.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/dataStores/{dataStoresId}/completionSuggestions:purge", +"httpMethod": "POST", +"id": "discoveryengine.projects.locations.collections.dataStores.completionSuggestions.purge", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The parent data store resource name for which to purge completion suggestions. Follows pattern projects/*/locations/*/collections/*/dataStores/*.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/dataStores/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/completionSuggestions:purge", +"request": { +"$ref": "GoogleCloudDiscoveryengineV1PurgeCompletionSuggestionsRequest" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/discoveryengine.assist.readwrite", +"https://www.googleapis.com/auth/discoveryengine.readwrite" +] +} +} +}, +"controls": { +"methods": { +"create": { +"description": "Creates a Control. By default 1000 controls are allowed for a data store. A request can be submitted to adjust this limit. If the Control to create already exists, an ALREADY_EXISTS error is returned.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/dataStores/{dataStoresId}/controls", +"httpMethod": "POST", +"id": "discoveryengine.projects.locations.collections.dataStores.controls.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"controlId": { +"description": "Required. The ID to use for the Control, which will become the final component of the Control's resource name. This value must be within 1-63 characters. Valid characters are /a-z-_/.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. Full resource name of parent data store. Format: `projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}` or `projects/{project}/locations/{location}/collections/{collection_id}/engines/{engine_id}`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/dataStores/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/controls", +"request": { +"$ref": "GoogleCloudDiscoveryengineV1Control" +}, +"response": { +"$ref": "GoogleCloudDiscoveryengineV1Control" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/discoveryengine.readwrite" +] +}, +"delete": { +"description": "Deletes a Control. If the Control to delete does not exist, a NOT_FOUND error is returned.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/dataStores/{dataStoresId}/controls/{controlsId}", +"httpMethod": "DELETE", +"id": "discoveryengine.projects.locations.collections.dataStores.controls.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the Control to delete. Format: `projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}/controls/{control_id}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/dataStores/[^/]+/controls/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/discoveryengine.readwrite" +] +}, +"get": { +"description": "Gets a Control.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/dataStores/{dataStoresId}/controls/{controlsId}", +"httpMethod": "GET", +"id": "discoveryengine.projects.locations.collections.dataStores.controls.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the Control to get. Format: `projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}/controls/{control_id}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/dataStores/[^/]+/controls/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleCloudDiscoveryengineV1Control" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/discoveryengine.readwrite" +] +}, +"list": { +"description": "Lists all Controls by their parent DataStore.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/dataStores/{dataStoresId}/controls", +"httpMethod": "GET", +"id": "discoveryengine.projects.locations.collections.dataStores.controls.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Optional. A filter to apply on the list results. Supported features: * List all the products under the parent branch if filter is unset. Currently this field is unsupported.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Optional. Maximum number of results to return. If unspecified, defaults to 50. Max allowed value is 1000.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. A page token, received from a previous `ListControls` call. Provide this to retrieve the subsequent page.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The data store resource name. Format: `projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}` or `projects/{project}/locations/{location}/collections/{collection_id}/engines/{engine_id}`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/dataStores/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/controls", +"response": { +"$ref": "GoogleCloudDiscoveryengineV1ListControlsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/discoveryengine.readwrite" +] +}, +"patch": { +"description": "Updates a Control. Control action type cannot be changed. If the Control to update does not exist, a NOT_FOUND error is returned.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/dataStores/{dataStoresId}/controls/{controlsId}", +"httpMethod": "PATCH", +"id": "discoveryengine.projects.locations.collections.dataStores.controls.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Immutable. Fully qualified name `projects/*/locations/global/dataStore/*/controls/*`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/dataStores/[^/]+/controls/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Optional. Indicates which fields in the provided Control to update. The following are NOT supported: * Control.name * Control.solution_type If not set or empty, all supported fields are updated.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "GoogleCloudDiscoveryengineV1Control" +}, +"response": { +"$ref": "GoogleCloudDiscoveryengineV1Control" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/discoveryengine.readwrite" +] +} +} +}, +"conversations": { +"methods": { +"converse": { +"description": "Converses a conversation.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/dataStores/{dataStoresId}/conversations/{conversationsId}:converse", +"httpMethod": "POST", +"id": "discoveryengine.projects.locations.collections.dataStores.conversations.converse", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the Conversation to get. Format: `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store_id}/conversations/{conversation_id}`. Use `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store_id}/conversations/-` to activate auto session mode, which automatically creates a new conversation inside a ConverseConversation session.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/dataStores/[^/]+/conversations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:converse", +"request": { +"$ref": "GoogleCloudDiscoveryengineV1ConverseConversationRequest" +}, +"response": { +"$ref": "GoogleCloudDiscoveryengineV1ConverseConversationResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/discoveryengine.readwrite" +] +}, +"create": { +"description": "Creates a Conversation. If the Conversation to create already exists, an ALREADY_EXISTS error is returned.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/dataStores/{dataStoresId}/conversations", +"httpMethod": "POST", +"id": "discoveryengine.projects.locations.collections.dataStores.conversations.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. Full resource name of parent data store. Format: `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store_id}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/dataStores/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/conversations", +"request": { +"$ref": "GoogleCloudDiscoveryengineV1Conversation" +}, +"response": { +"$ref": "GoogleCloudDiscoveryengineV1Conversation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/discoveryengine.readwrite" +] +}, +"delete": { +"description": "Deletes a Conversation. If the Conversation to delete does not exist, a NOT_FOUND error is returned.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/dataStores/{dataStoresId}/conversations/{conversationsId}", +"httpMethod": "DELETE", +"id": "discoveryengine.projects.locations.collections.dataStores.conversations.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the Conversation to delete. Format: `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store_id}/conversations/{conversation_id}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/dataStores/[^/]+/conversations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/discoveryengine.readwrite" +] +}, +"get": { +"description": "Gets a Conversation.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/dataStores/{dataStoresId}/conversations/{conversationsId}", +"httpMethod": "GET", +"id": "discoveryengine.projects.locations.collections.dataStores.conversations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the Conversation to get. Format: `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store_id}/conversations/{conversation_id}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/dataStores/[^/]+/conversations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleCloudDiscoveryengineV1Conversation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/discoveryengine.readwrite" +] +}, +"list": { +"description": "Lists all Conversations by their parent DataStore.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/dataStores/{dataStoresId}/conversations", +"httpMethod": "GET", +"id": "discoveryengine.projects.locations.collections.dataStores.conversations.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "A filter to apply on the list results. The supported features are: user_pseudo_id, state. Example: \"user_pseudo_id = some_id\"", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "A comma-separated list of fields to order by, sorted in ascending order. Use \"desc\" after a field name for descending. Supported fields: * `update_time` * `create_time` * `conversation_name` Example: \"update_time desc\" \"create_time\"", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Maximum number of results to return. If unspecified, defaults to 50. Max allowed value is 1000.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A page token, received from a previous `ListConversations` call. Provide this to retrieve the subsequent page.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The data store resource name. Format: `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store_id}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/dataStores/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/conversations", +"response": { +"$ref": "GoogleCloudDiscoveryengineV1ListConversationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/discoveryengine.readwrite" +] +}, +"patch": { +"description": "Updates a Conversation. Conversation action type cannot be changed. If the Conversation to update does not exist, a NOT_FOUND error is returned.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/dataStores/{dataStoresId}/conversations/{conversationsId}", +"httpMethod": "PATCH", +"id": "discoveryengine.projects.locations.collections.dataStores.conversations.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Immutable. Fully qualified name `projects/{project}/locations/global/collections/{collection}/dataStore/*/conversations/*` or `projects/{project}/locations/global/collections/{collection}/engines/*/conversations/*`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/dataStores/[^/]+/conversations/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Indicates which fields in the provided Conversation to update. The following are NOT supported: * Conversation.name If not set or empty, all supported fields are updated.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "GoogleCloudDiscoveryengineV1Conversation" +}, +"response": { +"$ref": "GoogleCloudDiscoveryengineV1Conversation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/discoveryengine.readwrite" +] +} +} +}, +"customModels": { +"methods": { +"list": { +"description": "Gets a list of all the custom models.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/dataStores/{dataStoresId}/customModels", +"httpMethod": "GET", +"id": "discoveryengine.projects.locations.collections.dataStores.customModels.list", +"parameterOrder": [ +"dataStore" +], +"parameters": { +"dataStore": { +"description": "Required. The resource name of the parent Data Store, such as `projects/*/locations/global/collections/default_collection/dataStores/default_data_store`. This field is used to identify the data store where to fetch the models from.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/dataStores/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+dataStore}/customModels", +"response": { +"$ref": "GoogleCloudDiscoveryengineV1ListCustomModelsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/discoveryengine.readwrite" +] +} +} +}, +"models": { +"resources": { +"operations": { +"methods": { +"get": { +"description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/dataStores/{dataStoresId}/models/{modelsId}/operations/{operationsId}", +"httpMethod": "GET", +"id": "discoveryengine.projects.locations.collections.dataStores.models.operations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/dataStores/[^/]+/models/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/discoveryengine.readwrite" +] +}, +"list": { +"description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/dataStores/{dataStoresId}/models/{modelsId}/operations", +"httpMethod": "GET", +"id": "discoveryengine.projects.locations.collections.dataStores.models.operations.list", +"parameterOrder": [ +"name" +], +"parameters": { +"filter": { +"description": "The standard list filter.", +"location": "query", +"type": "string" +}, +"name": { +"description": "The name of the operation's parent resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/dataStores/[^/]+/models/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The standard list page size.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The standard list page token.", +"location": "query", +"type": "string" +}, +"returnPartialSuccess": { +"description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `\"projects/example/locations/-\"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1/{+name}/operations", +"response": { +"$ref": "GoogleLongrunningListOperationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/discoveryengine.readwrite" +] +} +} +} +} +}, +"operations": { +"methods": { +"get": { +"description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/dataStores/{dataStoresId}/operations/{operationsId}", +"httpMethod": "GET", +"id": "discoveryengine.projects.locations.collections.dataStores.operations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/dataStores/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/discoveryengine.readwrite" +] +}, +"list": { +"description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/dataStores/{dataStoresId}/operations", +"httpMethod": "GET", +"id": "discoveryengine.projects.locations.collections.dataStores.operations.list", +"parameterOrder": [ +"name" +], +"parameters": { +"filter": { +"description": "The standard list filter.", +"location": "query", +"type": "string" +}, +"name": { +"description": "The name of the operation's parent resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/dataStores/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The standard list page size.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The standard list page token.", +"location": "query", +"type": "string" +}, +"returnPartialSuccess": { +"description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `\"projects/example/locations/-\"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1/{+name}/operations", +"response": { +"$ref": "GoogleLongrunningListOperationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/discoveryengine.readwrite" +] +} +} +}, +"schemas": { +"methods": { +"create": { +"description": "Creates a Schema.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/dataStores/{dataStoresId}/schemas", +"httpMethod": "POST", +"id": "discoveryengine.projects.locations.collections.dataStores.schemas.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The parent data store resource name, in the format of `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/dataStores/[^/]+$", +"required": true, +"type": "string" +}, +"schemaId": { +"description": "Required. The ID to use for the Schema, which becomes the final component of the Schema.name. This field should conform to [RFC-1034](https://tools.ietf.org/html/rfc1034) standard with a length limit of 63 characters.", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+parent}/schemas", +"request": { +"$ref": "GoogleCloudDiscoveryengineV1Schema" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/discoveryengine.readwrite" +] +}, +"delete": { +"description": "Deletes a Schema.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/dataStores/{dataStoresId}/schemas/{schemasId}", +"httpMethod": "DELETE", +"id": "discoveryengine.projects.locations.collections.dataStores.schemas.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The full resource name of the schema, in the format of `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/schemas/{schema}`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/dataStores/[^/]+/schemas/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/discoveryengine.readwrite" +] +}, +"get": { +"description": "Gets a Schema.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/dataStores/{dataStoresId}/schemas/{schemasId}", +"httpMethod": "GET", +"id": "discoveryengine.projects.locations.collections.dataStores.schemas.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The full resource name of the schema, in the format of `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/schemas/{schema}`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/dataStores/[^/]+/schemas/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleCloudDiscoveryengineV1Schema" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/discoveryengine.readwrite" +] +}, +"list": { +"description": "Gets a list of Schemas.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/dataStores/{dataStoresId}/schemas", +"httpMethod": "GET", +"id": "discoveryengine.projects.locations.collections.dataStores.schemas.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "The maximum number of Schemas to return. The service may return fewer than this value. If unspecified, at most 100 Schemas are returned. The maximum value is 1000; values above 1000 are set to 1000.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A page token, received from a previous SchemaService.ListSchemas call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to SchemaService.ListSchemas must match the call that provided the page token.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent data store resource name, in the format of `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/dataStores/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/schemas", +"response": { +"$ref": "GoogleCloudDiscoveryengineV1ListSchemasResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/discoveryengine.readwrite" +] +}, +"patch": { +"description": "Updates a Schema.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/dataStores/{dataStoresId}/schemas/{schemasId}", +"httpMethod": "PATCH", +"id": "discoveryengine.projects.locations.collections.dataStores.schemas.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"allowMissing": { +"description": "If set to true, and the Schema is not found, a new Schema is created. In this situation, `update_mask` is ignored.", +"location": "query", +"type": "boolean" +}, +"name": { +"description": "Immutable. The full resource name of the schema, in the format of `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/schemas/{schema}`. This field must be a UTF-8 encoded string with a length limit of 1024 characters.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/dataStores/[^/]+/schemas/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "GoogleCloudDiscoveryengineV1Schema" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/discoveryengine.readwrite" +] +} +}, +"resources": { +"operations": { +"methods": { +"get": { +"description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/dataStores/{dataStoresId}/schemas/{schemasId}/operations/{operationsId}", +"httpMethod": "GET", +"id": "discoveryengine.projects.locations.collections.dataStores.schemas.operations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/dataStores/[^/]+/schemas/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/discoveryengine.readwrite" +] +}, +"list": { +"description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/dataStores/{dataStoresId}/schemas/{schemasId}/operations", +"httpMethod": "GET", +"id": "discoveryengine.projects.locations.collections.dataStores.schemas.operations.list", +"parameterOrder": [ +"name" +], +"parameters": { +"filter": { +"description": "The standard list filter.", +"location": "query", +"type": "string" +}, +"name": { +"description": "The name of the operation's parent resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/dataStores/[^/]+/schemas/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The standard list page size.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The standard list page token.", +"location": "query", +"type": "string" +}, +"returnPartialSuccess": { +"description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `\"projects/example/locations/-\"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1/{+name}/operations", +"response": { +"$ref": "GoogleLongrunningListOperationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/discoveryengine.readwrite" +] +} +} +} +} +}, +"servingConfigs": { +"methods": { +"answer": { +"description": "Answer query method.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/dataStores/{dataStoresId}/servingConfigs/{servingConfigsId}:answer", +"httpMethod": "POST", +"id": "discoveryengine.projects.locations.collections.dataStores.servingConfigs.answer", +"parameterOrder": [ +"servingConfig" +], +"parameters": { +"servingConfig": { +"description": "Required. The resource name of the Search serving config, such as `projects/*/locations/global/collections/default_collection/engines/*/servingConfigs/default_serving_config`, or `projects/*/locations/global/collections/default_collection/dataStores/*/servingConfigs/default_serving_config`. This field is used to identify the serving configuration name, set of models used to make the search.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/dataStores/[^/]+/servingConfigs/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+servingConfig}:answer", +"request": { +"$ref": "GoogleCloudDiscoveryengineV1AnswerQueryRequest" +}, +"response": { +"$ref": "GoogleCloudDiscoveryengineV1AnswerQueryResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/discoveryengine.readwrite" +] +}, +"create": { +"description": "Creates a ServingConfig. Note: The Google Cloud console works only with the default serving config. Additional ServingConfigs can be created and managed only via the API. A maximum of 100 ServingConfigs are allowed in an Engine, otherwise a RESOURCE_EXHAUSTED error is returned.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/dataStores/{dataStoresId}/servingConfigs", +"httpMethod": "POST", +"id": "discoveryengine.projects.locations.collections.dataStores.servingConfigs.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. Full resource name of parent. Format: `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/dataStores/[^/]+$", +"required": true, +"type": "string" +}, +"servingConfigId": { +"description": "Required. The ID to use for the ServingConfig, which will become the final component of the ServingConfig's resource name. This value should be 4-63 characters, and valid characters are /a-zA-Z0-9+/.", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+parent}/servingConfigs", +"request": { +"$ref": "GoogleCloudDiscoveryengineV1ServingConfig" +}, +"response": { +"$ref": "GoogleCloudDiscoveryengineV1ServingConfig" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/discoveryengine.readwrite" +] +}, +"delete": { +"description": "Deletes a ServingConfig. Returns a NOT_FOUND error if the ServingConfig does not exist.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/dataStores/{dataStoresId}/servingConfigs/{servingConfigsId}", +"httpMethod": "DELETE", +"id": "discoveryengine.projects.locations.collections.dataStores.servingConfigs.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the ServingConfig to delete. Format: `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/servingConfigs/{serving_config_id}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/dataStores/[^/]+/servingConfigs/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/discoveryengine.readwrite" +] +}, +"get": { +"description": "Gets a ServingConfig. Returns a NotFound error if the ServingConfig does not exist.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/dataStores/{dataStoresId}/servingConfigs/{servingConfigsId}", +"httpMethod": "GET", +"id": "discoveryengine.projects.locations.collections.dataStores.servingConfigs.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the ServingConfig to get. Format: `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/servingConfigs/{serving_config_id}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/dataStores/[^/]+/servingConfigs/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleCloudDiscoveryengineV1ServingConfig" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/discoveryengine.readwrite" +] +}, +"list": { +"description": "Lists all ServingConfigs linked to this dataStore.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/dataStores/{dataStoresId}/servingConfigs", +"httpMethod": "GET", +"id": "discoveryengine.projects.locations.collections.dataStores.servingConfigs.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "Optional. Maximum number of results to return. If unspecified, defaults to 100. If a value greater than 100 is provided, at most 100 results are returned.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. A page token, received from a previous `ListServingConfigs` call. Provide this to retrieve the subsequent page.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. Full resource name of the parent resource. Format: `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/dataStores/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/servingConfigs", +"response": { +"$ref": "GoogleCloudDiscoveryengineV1ListServingConfigsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/discoveryengine.readwrite" +] +}, +"patch": { +"description": "Updates a ServingConfig. Returns a NOT_FOUND error if the ServingConfig does not exist.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/dataStores/{dataStoresId}/servingConfigs/{servingConfigsId}", +"httpMethod": "PATCH", +"id": "discoveryengine.projects.locations.collections.dataStores.servingConfigs.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Immutable. Fully qualified name `projects/{project}/locations/{location}/collections/{collection_id}/engines/{engine_id}/servingConfigs/{serving_config_id}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/dataStores/[^/]+/servingConfigs/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Indicates which fields in the provided ServingConfig to update. The following are NOT supported: * ServingConfig.name If not set, all supported fields are updated.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "GoogleCloudDiscoveryengineV1ServingConfig" +}, +"response": { +"$ref": "GoogleCloudDiscoveryengineV1ServingConfig" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/discoveryengine.readwrite" +] +}, +"recommend": { +"description": "Makes a recommendation, which requires a contextual user event.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/dataStores/{dataStoresId}/servingConfigs/{servingConfigsId}:recommend", +"httpMethod": "POST", +"id": "discoveryengine.projects.locations.collections.dataStores.servingConfigs.recommend", +"parameterOrder": [ +"servingConfig" +], +"parameters": { +"servingConfig": { +"description": "Required. Full resource name of a ServingConfig: `projects/*/locations/global/collections/*/engines/*/servingConfigs/*`, or `projects/*/locations/global/collections/*/dataStores/*/servingConfigs/*` One default serving config is created along with your recommendation engine creation. The engine ID is used as the ID of the default serving config. For example, for Engine `projects/*/locations/global/collections/*/engines/my-engine`, you can use `projects/*/locations/global/collections/*/engines/my-engine/servingConfigs/my-engine` for your RecommendationService.Recommend requests.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/dataStores/[^/]+/servingConfigs/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+servingConfig}:recommend", +"request": { +"$ref": "GoogleCloudDiscoveryengineV1RecommendRequest" +}, +"response": { +"$ref": "GoogleCloudDiscoveryengineV1RecommendResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/discoveryengine.readwrite" +] +}, +"search": { +"description": "Performs a search.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/dataStores/{dataStoresId}/servingConfigs/{servingConfigsId}:search", +"httpMethod": "POST", +"id": "discoveryengine.projects.locations.collections.dataStores.servingConfigs.search", +"parameterOrder": [ +"servingConfig" +], +"parameters": { +"servingConfig": { +"description": "Required. The resource name of the Search serving config, such as `projects/*/locations/global/collections/default_collection/engines/*/servingConfigs/default_serving_config`, or `projects/*/locations/global/collections/default_collection/dataStores/default_data_store/servingConfigs/default_serving_config`. This field is used to identify the serving configuration name, set of models used to make the search.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/dataStores/[^/]+/servingConfigs/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+servingConfig}:search", +"request": { +"$ref": "GoogleCloudDiscoveryengineV1SearchRequest" +}, +"response": { +"$ref": "GoogleCloudDiscoveryengineV1SearchResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/discoveryengine.assist.readwrite", +"https://www.googleapis.com/auth/discoveryengine.readwrite" +] +}, +"searchLite": { +"description": "Performs a search. Similar to the SearchService.Search method, but a lite version that allows API key for authentication, where OAuth and IAM checks are not required. Only public website search is supported by this method. If data stores and engines not associated with public website search are specified, a `FAILED_PRECONDITION` error is returned. This method can be used for easy onboarding without having to implement an authentication backend. However, it is strongly recommended to use SearchService.Search instead with required OAuth and IAM checks to provide better data security.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/dataStores/{dataStoresId}/servingConfigs/{servingConfigsId}:searchLite", +"httpMethod": "POST", +"id": "discoveryengine.projects.locations.collections.dataStores.servingConfigs.searchLite", +"parameterOrder": [ +"servingConfig" +], +"parameters": { +"servingConfig": { +"description": "Required. The resource name of the Search serving config, such as `projects/*/locations/global/collections/default_collection/engines/*/servingConfigs/default_serving_config`, or `projects/*/locations/global/collections/default_collection/dataStores/default_data_store/servingConfigs/default_serving_config`. This field is used to identify the serving configuration name, set of models used to make the search.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/dataStores/[^/]+/servingConfigs/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+servingConfig}:searchLite", +"request": { +"$ref": "GoogleCloudDiscoveryengineV1SearchRequest" +}, +"response": { +"$ref": "GoogleCloudDiscoveryengineV1SearchResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/discoveryengine.assist.readwrite", +"https://www.googleapis.com/auth/discoveryengine.readwrite" +] +}, +"streamAnswer": { +"description": "Answer query method (streaming). It takes one AnswerQueryRequest and returns multiple AnswerQueryResponse messages in a stream.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/dataStores/{dataStoresId}/servingConfigs/{servingConfigsId}:streamAnswer", +"httpMethod": "POST", +"id": "discoveryengine.projects.locations.collections.dataStores.servingConfigs.streamAnswer", +"parameterOrder": [ +"servingConfig" +], +"parameters": { +"servingConfig": { +"description": "Required. The resource name of the Search serving config, such as `projects/*/locations/global/collections/default_collection/engines/*/servingConfigs/default_serving_config`, or `projects/*/locations/global/collections/default_collection/dataStores/*/servingConfigs/default_serving_config`. This field is used to identify the serving configuration name, set of models used to make the search.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/dataStores/[^/]+/servingConfigs/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+servingConfig}:streamAnswer", +"request": { +"$ref": "GoogleCloudDiscoveryengineV1AnswerQueryRequest" +}, +"response": { +"$ref": "GoogleCloudDiscoveryengineV1AnswerQueryResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/discoveryengine.readwrite" +] +} +} +}, +"sessions": { +"methods": { +"create": { +"description": "Creates a Session. If the Session to create already exists, an ALREADY_EXISTS error is returned.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/dataStores/{dataStoresId}/sessions", +"httpMethod": "POST", +"id": "discoveryengine.projects.locations.collections.dataStores.sessions.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. Full resource name of parent data store. Format: `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store_id}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/dataStores/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/sessions", +"request": { +"$ref": "GoogleCloudDiscoveryengineV1Session" +}, +"response": { +"$ref": "GoogleCloudDiscoveryengineV1Session" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/discoveryengine.assist.readwrite", +"https://www.googleapis.com/auth/discoveryengine.readwrite" +] +}, +"delete": { +"description": "Deletes a Session. If the Session to delete does not exist, a NOT_FOUND error is returned.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/dataStores/{dataStoresId}/sessions/{sessionsId}", +"httpMethod": "DELETE", +"id": "discoveryengine.projects.locations.collections.dataStores.sessions.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the Session to delete. Format: `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store_id}/sessions/{session_id}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/dataStores/[^/]+/sessions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/discoveryengine.assist.readwrite", +"https://www.googleapis.com/auth/discoveryengine.readwrite" +] +}, +"get": { +"description": "Gets a Session.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/dataStores/{dataStoresId}/sessions/{sessionsId}", +"httpMethod": "GET", +"id": "discoveryengine.projects.locations.collections.dataStores.sessions.get", +"parameterOrder": [ +"name" +], +"parameters": { +"includeAnswerDetails": { +"description": "Optional. If set to true, the full session including all answer details will be returned.", +"location": "query", +"type": "boolean" +}, +"name": { +"description": "Required. The resource name of the Session to get. Format: `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store_id}/sessions/{session_id}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/dataStores/[^/]+/sessions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleCloudDiscoveryengineV1Session" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/discoveryengine.assist.readwrite", +"https://www.googleapis.com/auth/discoveryengine.readwrite" +] +}, +"list": { +"description": "Lists all Sessions by their parent DataStore.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/dataStores/{dataStoresId}/sessions", +"httpMethod": "GET", +"id": "discoveryengine.projects.locations.collections.dataStores.sessions.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "A comma-separated list of fields to filter by, in EBNF grammar. The supported fields are: * `user_pseudo_id` * `state` * `display_name` * `starred` * `is_pinned` * `labels` * `create_time` * `update_time` * `collaborative_project` Examples: * `user_pseudo_id = some_id` * `display_name = \"some_name\"` * `starred = true` * `is_pinned=true AND (NOT labels:hidden)` * `create_time > \"1970-01-01T12:00:00Z\"` * `collaborative_project = \"projects/123/locations/global/collections/default_collection/engines/\" \"default_engine/collaborative_projects/cp1\"`", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "A comma-separated list of fields to order by, sorted in ascending order. Use \"desc\" after a field name for descending. Supported fields: * `update_time` * `create_time` * `session_name` * `is_pinned` Example: * `update_time desc` * `create_time` * `is_pinned desc,update_time desc`: list sessions by is_pinned first, then by update_time.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Maximum number of results to return. If unspecified, defaults to 50. Max allowed value is 1000.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A page token, received from a previous `ListSessions` call. Provide this to retrieve the subsequent page.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The data store resource name. Format: `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store_id}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/dataStores/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/sessions", +"response": { +"$ref": "GoogleCloudDiscoveryengineV1ListSessionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/discoveryengine.assist.readwrite", +"https://www.googleapis.com/auth/discoveryengine.readwrite" +] +}, +"patch": { +"description": "Updates a Session. Session action type cannot be changed. If the Session to update does not exist, a NOT_FOUND error is returned.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/dataStores/{dataStoresId}/sessions/{sessionsId}", +"httpMethod": "PATCH", +"id": "discoveryengine.projects.locations.collections.dataStores.sessions.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Immutable. Fully qualified name `projects/{project}/locations/global/collections/{collection}/engines/{engine}/sessions/*`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/dataStores/[^/]+/sessions/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Indicates which fields in the provided Session to update. The following are NOT supported: * Session.name If not set or empty, all supported fields are updated.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "GoogleCloudDiscoveryengineV1Session" +}, +"response": { +"$ref": "GoogleCloudDiscoveryengineV1Session" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/discoveryengine.assist.readwrite", +"https://www.googleapis.com/auth/discoveryengine.readwrite" +] +} +}, +"resources": { +"answers": { +"methods": { +"get": { +"description": "Gets a Answer.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/dataStores/{dataStoresId}/sessions/{sessionsId}/answers/{answersId}", +"httpMethod": "GET", +"id": "discoveryengine.projects.locations.collections.dataStores.sessions.answers.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the Answer to get. Format: `projects/{project}/locations/{location}/collections/{collection}/engines/{engine_id}/sessions/{session_id}/answers/{answer_id}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/dataStores/[^/]+/sessions/[^/]+/answers/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleCloudDiscoveryengineV1Answer" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/discoveryengine.readwrite" +] +} +} +} +} +}, +"siteSearchEngine": { +"methods": { +"batchVerifyTargetSites": { +"description": "Verify target sites' ownership and validity. This API sends all the target sites under site search engine for verification.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/dataStores/{dataStoresId}/siteSearchEngine:batchVerifyTargetSites", +"httpMethod": "POST", +"id": "discoveryengine.projects.locations.collections.dataStores.siteSearchEngine.batchVerifyTargetSites", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The parent resource shared by all TargetSites being verified. `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/dataStores/[^/]+/siteSearchEngine$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}:batchVerifyTargetSites", +"request": { +"$ref": "GoogleCloudDiscoveryengineV1BatchVerifyTargetSitesRequest" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/discoveryengine.readwrite" +] +}, +"disableAdvancedSiteSearch": { +"description": "Downgrade from advanced site search to basic site search.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/dataStores/{dataStoresId}/siteSearchEngine:disableAdvancedSiteSearch", +"httpMethod": "POST", +"id": "discoveryengine.projects.locations.collections.dataStores.siteSearchEngine.disableAdvancedSiteSearch", +"parameterOrder": [ +"siteSearchEngine" +], +"parameters": { +"siteSearchEngine": { +"description": "Required. Full resource name of the SiteSearchEngine, such as `projects/{project}/locations/{location}/dataStores/{data_store_id}/siteSearchEngine`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/dataStores/[^/]+/siteSearchEngine$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+siteSearchEngine}:disableAdvancedSiteSearch", +"request": { +"$ref": "GoogleCloudDiscoveryengineV1DisableAdvancedSiteSearchRequest" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/discoveryengine.readwrite" +] +}, +"enableAdvancedSiteSearch": { +"description": "Upgrade from basic site search to advanced site search.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/dataStores/{dataStoresId}/siteSearchEngine:enableAdvancedSiteSearch", +"httpMethod": "POST", +"id": "discoveryengine.projects.locations.collections.dataStores.siteSearchEngine.enableAdvancedSiteSearch", +"parameterOrder": [ +"siteSearchEngine" +], +"parameters": { +"siteSearchEngine": { +"description": "Required. Full resource name of the SiteSearchEngine, such as `projects/{project}/locations/{location}/dataStores/{data_store_id}/siteSearchEngine`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/dataStores/[^/]+/siteSearchEngine$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+siteSearchEngine}:enableAdvancedSiteSearch", +"request": { +"$ref": "GoogleCloudDiscoveryengineV1EnableAdvancedSiteSearchRequest" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/discoveryengine.readwrite" +] +}, +"fetchDomainVerificationStatus": { +"description": "Returns list of target sites with its domain verification status. This method can only be called under data store with BASIC_SITE_SEARCH state at the moment.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/dataStores/{dataStoresId}/siteSearchEngine:fetchDomainVerificationStatus", +"httpMethod": "GET", +"id": "discoveryengine.projects.locations.collections.dataStores.siteSearchEngine.fetchDomainVerificationStatus", +"parameterOrder": [ +"siteSearchEngine" +], +"parameters": { +"pageSize": { +"description": "Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default. The maximum value is 1000; values above 1000 will be coerced to 1000. If this field is negative, an INVALID_ARGUMENT error is returned.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A page token, received from a previous `FetchDomainVerificationStatus` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `FetchDomainVerificationStatus` must match the call that provided the page token.", +"location": "query", +"type": "string" +}, +"siteSearchEngine": { +"description": "Required. The site search engine resource under which we fetch all the domain verification status. `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/dataStores/[^/]+/siteSearchEngine$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+siteSearchEngine}:fetchDomainVerificationStatus", +"response": { +"$ref": "GoogleCloudDiscoveryengineV1FetchDomainVerificationStatusResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/discoveryengine.readwrite" +] +}, +"recrawlUris": { +"description": "Request on-demand recrawl for a list of URIs.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/dataStores/{dataStoresId}/siteSearchEngine:recrawlUris", +"httpMethod": "POST", +"id": "discoveryengine.projects.locations.collections.dataStores.siteSearchEngine.recrawlUris", +"parameterOrder": [ +"siteSearchEngine" +], +"parameters": { +"siteSearchEngine": { +"description": "Required. Full resource name of the SiteSearchEngine, such as `projects/*/locations/*/collections/*/dataStores/*/siteSearchEngine`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/dataStores/[^/]+/siteSearchEngine$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+siteSearchEngine}:recrawlUris", +"request": { +"$ref": "GoogleCloudDiscoveryengineV1RecrawlUrisRequest" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/discoveryengine.readwrite" +] +} +}, +"resources": { +"operations": { +"methods": { +"get": { +"description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/dataStores/{dataStoresId}/siteSearchEngine/operations/{operationsId}", +"httpMethod": "GET", +"id": "discoveryengine.projects.locations.collections.dataStores.siteSearchEngine.operations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/dataStores/[^/]+/siteSearchEngine/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/discoveryengine.readwrite" +] +}, +"list": { +"description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/dataStores/{dataStoresId}/siteSearchEngine/operations", +"httpMethod": "GET", +"id": "discoveryengine.projects.locations.collections.dataStores.siteSearchEngine.operations.list", +"parameterOrder": [ +"name" +], +"parameters": { +"filter": { +"description": "The standard list filter.", +"location": "query", +"type": "string" +}, +"name": { +"description": "The name of the operation's parent resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/dataStores/[^/]+/siteSearchEngine$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The standard list page size.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The standard list page token.", +"location": "query", +"type": "string" +}, +"returnPartialSuccess": { +"description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `\"projects/example/locations/-\"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1/{+name}/operations", +"response": { +"$ref": "GoogleLongrunningListOperationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/discoveryengine.readwrite" +] +} +} +}, +"sitemaps": { +"methods": { +"create": { +"description": "Creates a Sitemap.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/dataStores/{dataStoresId}/siteSearchEngine/sitemaps", +"httpMethod": "POST", +"id": "discoveryengine.projects.locations.collections.dataStores.siteSearchEngine.sitemaps.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. Parent resource name of the SiteSearchEngine, such as `projects/*/locations/*/collections/*/dataStores/*/siteSearchEngine`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/dataStores/[^/]+/siteSearchEngine$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/sitemaps", +"request": { +"$ref": "GoogleCloudDiscoveryengineV1Sitemap" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/discoveryengine.readwrite" +] +}, +"delete": { +"description": "Deletes a Sitemap.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/dataStores/{dataStoresId}/siteSearchEngine/sitemaps/{sitemapsId}", +"httpMethod": "DELETE", +"id": "discoveryengine.projects.locations.collections.dataStores.siteSearchEngine.sitemaps.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Full resource name of Sitemap, such as `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine/sitemaps/{sitemap}`. If the caller does not have permission to access the Sitemap, regardless of whether or not it exists, a PERMISSION_DENIED error is returned. If the requested Sitemap does not exist, a NOT_FOUND error is returned.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/dataStores/[^/]+/siteSearchEngine/sitemaps/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/discoveryengine.readwrite" +] +}, +"fetch": { +"description": "Fetch Sitemaps in a DataStore.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/dataStores/{dataStoresId}/siteSearchEngine/sitemaps:fetch", +"httpMethod": "GET", +"id": "discoveryengine.projects.locations.collections.dataStores.siteSearchEngine.sitemaps.fetch", +"parameterOrder": [ +"parent" +], +"parameters": { +"matcher.urisMatcher.uris": { +"description": "The Sitemap uris.", +"location": "query", +"repeated": true, +"type": "string" +}, +"parent": { +"description": "Required. Parent resource name of the SiteSearchEngine, such as `projects/*/locations/*/collections/*/dataStores/*/siteSearchEngine`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/dataStores/[^/]+/siteSearchEngine$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/sitemaps:fetch", +"response": { +"$ref": "GoogleCloudDiscoveryengineV1FetchSitemapsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/discoveryengine.readwrite" +] +} +} +}, +"targetSites": { +"methods": { +"batchCreate": { +"description": "Creates TargetSite in a batch.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/dataStores/{dataStoresId}/siteSearchEngine/targetSites:batchCreate", +"httpMethod": "POST", +"id": "discoveryengine.projects.locations.collections.dataStores.siteSearchEngine.targetSites.batchCreate", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The parent resource shared by all TargetSites being created. `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine`. The parent field in the CreateBookRequest messages must either be empty or match this field.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/dataStores/[^/]+/siteSearchEngine$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/targetSites:batchCreate", +"request": { +"$ref": "GoogleCloudDiscoveryengineV1BatchCreateTargetSitesRequest" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/discoveryengine.readwrite" +] +}, +"create": { +"description": "Creates a TargetSite.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/dataStores/{dataStoresId}/siteSearchEngine/targetSites", +"httpMethod": "POST", +"id": "discoveryengine.projects.locations.collections.dataStores.siteSearchEngine.targetSites.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. Parent resource name of TargetSite, such as `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/dataStores/[^/]+/siteSearchEngine$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/targetSites", +"request": { +"$ref": "GoogleCloudDiscoveryengineV1TargetSite" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/discoveryengine.readwrite" +] +}, +"delete": { +"description": "Deletes a TargetSite.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/dataStores/{dataStoresId}/siteSearchEngine/targetSites/{targetSitesId}", +"httpMethod": "DELETE", +"id": "discoveryengine.projects.locations.collections.dataStores.siteSearchEngine.targetSites.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Full resource name of TargetSite, such as `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}`. If the caller does not have permission to access the TargetSite, regardless of whether or not it exists, a PERMISSION_DENIED error is returned. If the requested TargetSite does not exist, a NOT_FOUND error is returned.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/dataStores/[^/]+/siteSearchEngine/targetSites/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/discoveryengine.readwrite" +] +}, +"get": { +"description": "Gets a TargetSite.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/dataStores/{dataStoresId}/siteSearchEngine/targetSites/{targetSitesId}", +"httpMethod": "GET", +"id": "discoveryengine.projects.locations.collections.dataStores.siteSearchEngine.targetSites.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Full resource name of TargetSite, such as `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}`. If the caller does not have permission to access the TargetSite, regardless of whether or not it exists, a PERMISSION_DENIED error is returned. If the requested TargetSite does not exist, a NOT_FOUND error is returned.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/dataStores/[^/]+/siteSearchEngine/targetSites/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleCloudDiscoveryengineV1TargetSite" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/discoveryengine.readwrite" +] +}, +"list": { +"description": "Gets a list of TargetSites.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/dataStores/{dataStoresId}/siteSearchEngine/targetSites", +"httpMethod": "GET", +"id": "discoveryengine.projects.locations.collections.dataStores.siteSearchEngine.targetSites.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default. The maximum value is 1000; values above 1000 will be coerced to 1000. If this field is negative, an INVALID_ARGUMENT error is returned.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A page token, received from a previous `ListTargetSites` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListTargetSites` must match the call that provided the page token.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent site search engine resource name, such as `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine`. If the caller does not have permission to list TargetSites under this site search engine, regardless of whether or not this branch exists, a PERMISSION_DENIED error is returned.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/dataStores/[^/]+/siteSearchEngine$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/targetSites", +"response": { +"$ref": "GoogleCloudDiscoveryengineV1ListTargetSitesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/discoveryengine.readwrite" +] +}, +"patch": { +"description": "Updates a TargetSite.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/dataStores/{dataStoresId}/siteSearchEngine/targetSites/{targetSitesId}", +"httpMethod": "PATCH", +"id": "discoveryengine.projects.locations.collections.dataStores.siteSearchEngine.targetSites.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Output only. The fully qualified resource name of the target site. `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}` The `target_site_id` is system-generated.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/dataStores/[^/]+/siteSearchEngine/targetSites/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "GoogleCloudDiscoveryengineV1TargetSite" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/discoveryengine.readwrite" +] +} +}, +"resources": { +"operations": { +"methods": { +"get": { +"description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/dataStores/{dataStoresId}/siteSearchEngine/targetSites/operations/{operationsId}", +"httpMethod": "GET", +"id": "discoveryengine.projects.locations.collections.dataStores.siteSearchEngine.targetSites.operations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/dataStores/[^/]+/siteSearchEngine/targetSites/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/discoveryengine.readwrite" +] +}, +"list": { +"description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/dataStores/{dataStoresId}/siteSearchEngine/targetSites/operations", +"httpMethod": "GET", +"id": "discoveryengine.projects.locations.collections.dataStores.siteSearchEngine.targetSites.operations.list", +"parameterOrder": [ +"name" +], +"parameters": { +"filter": { +"description": "The standard list filter.", +"location": "query", +"type": "string" +}, +"name": { +"description": "The name of the operation's parent resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/dataStores/[^/]+/siteSearchEngine/targetSites$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The standard list page size.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The standard list page token.", +"location": "query", +"type": "string" +}, +"returnPartialSuccess": { +"description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `\"projects/example/locations/-\"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1/{+name}/operations", +"response": { +"$ref": "GoogleLongrunningListOperationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/discoveryengine.readwrite" +] +} +} +} +} +} +} +}, +"suggestionDenyListEntries": { +"methods": { +"import": { +"description": "Imports all SuggestionDenyListEntry for a DataStore.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/dataStores/{dataStoresId}/suggestionDenyListEntries:import", +"httpMethod": "POST", +"id": "discoveryengine.projects.locations.collections.dataStores.suggestionDenyListEntries.import", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The parent data store resource name for which to import denylist entries. Follows pattern projects/*/locations/*/collections/*/dataStores/*.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/dataStores/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/suggestionDenyListEntries:import", +"request": { +"$ref": "GoogleCloudDiscoveryengineV1ImportSuggestionDenyListEntriesRequest" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/discoveryengine.assist.readwrite", +"https://www.googleapis.com/auth/discoveryengine.readwrite" +] +}, +"purge": { +"description": "Permanently deletes all SuggestionDenyListEntry for a DataStore.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/dataStores/{dataStoresId}/suggestionDenyListEntries:purge", +"httpMethod": "POST", +"id": "discoveryengine.projects.locations.collections.dataStores.suggestionDenyListEntries.purge", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The parent data store resource name for which to import denylist entries. Follows pattern projects/*/locations/*/collections/*/dataStores/*.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/dataStores/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/suggestionDenyListEntries:purge", +"request": { +"$ref": "GoogleCloudDiscoveryengineV1PurgeSuggestionDenyListEntriesRequest" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/discoveryengine.assist.readwrite", +"https://www.googleapis.com/auth/discoveryengine.readwrite" +] +} +} +}, +"userEvents": { +"methods": { +"collect": { +"description": "Writes a single user event from the browser. This uses a GET request to due to browser restriction of POST-ing to a third-party domain. This method is used only by the Discovery Engine API JavaScript pixel and Google Tag Manager. Users should not call this method directly.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/dataStores/{dataStoresId}/userEvents:collect", +"httpMethod": "GET", +"id": "discoveryengine.projects.locations.collections.dataStores.userEvents.collect", +"parameterOrder": [ +"parent" +], +"parameters": { +"ets": { +"description": "The event timestamp in milliseconds. This prevents browser caching of otherwise identical get requests. The name is abbreviated to reduce the payload bytes.", +"format": "int64", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent resource name. If the collect user event action is applied in DataStore level, the format is: `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}`. If the collect user event action is applied in Location level, for example, the event with Document across multiple DataStore, the format is: `projects/{project}/locations/{location}`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/dataStores/[^/]+$", +"required": true, +"type": "string" +}, +"uri": { +"description": "The URL including cgi-parameters but excluding the hash fragment with a length limit of 5,000 characters. This is often more useful than the referer URL, because many browsers only send the domain for third-party requests.", +"location": "query", +"type": "string" +}, +"userEvent": { +"description": "Required. URL encoded UserEvent proto with a length limit of 2,000,000 characters.", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+parent}/userEvents:collect", +"response": { +"$ref": "GoogleApiHttpBody" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/discoveryengine.assist.readwrite", +"https://www.googleapis.com/auth/discoveryengine.readwrite" +] +}, +"import": { +"description": "Bulk import of user events. Request processing might be synchronous. Events that already exist are skipped. Use this method for backfilling historical user events. Operation.response is of type ImportResponse. Note that it is possible for a subset of the items to be successfully inserted. Operation.metadata is of type ImportMetadata.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/dataStores/{dataStoresId}/userEvents:import", +"httpMethod": "POST", +"id": "discoveryengine.projects.locations.collections.dataStores.userEvents.import", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. Parent DataStore resource name, of the form `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/dataStores/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/userEvents:import", +"request": { +"$ref": "GoogleCloudDiscoveryengineV1ImportUserEventsRequest" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/discoveryengine.assist.readwrite", +"https://www.googleapis.com/auth/discoveryengine.readwrite" +] +}, +"purge": { +"description": "Deletes permanently all user events specified by the filter provided. Depending on the number of events specified by the filter, this operation could take hours or days to complete. To test a filter, use the list command first.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/dataStores/{dataStoresId}/userEvents:purge", +"httpMethod": "POST", +"id": "discoveryengine.projects.locations.collections.dataStores.userEvents.purge", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The resource name of the catalog under which the events are created. The format is `projects/{project}/locations/global/collections/{collection}/dataStores/{dataStore}`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/dataStores/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/userEvents:purge", +"request": { +"$ref": "GoogleCloudDiscoveryengineV1PurgeUserEventsRequest" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/discoveryengine.assist.readwrite", +"https://www.googleapis.com/auth/discoveryengine.readwrite" +] +}, +"write": { +"description": "Writes a single user event.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/dataStores/{dataStoresId}/userEvents:write", +"httpMethod": "POST", +"id": "discoveryengine.projects.locations.collections.dataStores.userEvents.write", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The parent resource name. If the write user event action is applied in DataStore level, the format is: `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}`. If the write user event action is applied in Location level, for example, the event with Document across multiple DataStore, the format is: `projects/{project}/locations/{location}`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/dataStores/[^/]+$", +"required": true, +"type": "string" +}, +"writeAsync": { +"description": "If set to true, the user event is written asynchronously after validation, and the API responds without waiting for the write.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1/{+parent}/userEvents:write", +"request": { +"$ref": "GoogleCloudDiscoveryengineV1UserEvent" +}, +"response": { +"$ref": "GoogleCloudDiscoveryengineV1UserEvent" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/discoveryengine.assist.readwrite", +"https://www.googleapis.com/auth/discoveryengine.readwrite" +] +} +} +}, +"widgetConfigs": { +"methods": { +"get": { +"description": "Gets a WidgetConfig.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/dataStores/{dataStoresId}/widgetConfigs/{widgetConfigsId}", +"httpMethod": "GET", +"id": "discoveryengine.projects.locations.collections.dataStores.widgetConfigs.get", +"parameterOrder": [ +"name" +], +"parameters": { +"acceptCache": { +"description": "Optional. Whether it's acceptable to load the widget config from cache. If set to true, recent changes on widget configs may take a few minutes to reflect on the end user's view. It's recommended to set to true for maturely developed widgets, as it improves widget performance. Set to false to see changes reflected in prod right away, if your widget is under development.", +"location": "query", +"type": "boolean" +}, +"getWidgetConfigRequestOption.turnOffCollectionComponents": { +"description": "Optional. Whether to turn off collection_components in WidgetConfig to reduce latency and data transmission.", +"location": "query", +"type": "boolean" +}, +"name": { +"description": "Required. Full WidgetConfig resource name. Format: `projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}/widgetConfigs/{widget_config_id}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/dataStores/[^/]+/widgetConfigs/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleCloudDiscoveryengineV1WidgetConfig" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/discoveryengine.assist.readwrite", +"https://www.googleapis.com/auth/discoveryengine.readwrite" +] +}, +"patch": { +"description": "Update a WidgetConfig.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/dataStores/{dataStoresId}/widgetConfigs/{widgetConfigsId}", +"httpMethod": "PATCH", +"id": "discoveryengine.projects.locations.collections.dataStores.widgetConfigs.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Immutable. The full resource name of the widget config. Format: `projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}/widgetConfigs/{widget_config_id}`. This field must be a UTF-8 encoded string with a length limit of 1024 characters.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/dataStores/[^/]+/widgetConfigs/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Indicates which fields in the provided WidgetConfig to update. The following are the only supported fields: * WidgetConfig.enable_autocomplete If not set, all supported fields are updated.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "GoogleCloudDiscoveryengineV1WidgetConfig" +}, +"response": { +"$ref": "GoogleCloudDiscoveryengineV1WidgetConfig" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/discoveryengine.assist.readwrite", +"https://www.googleapis.com/auth/discoveryengine.readwrite" +] +} +} +} +} +}, +"engines": { +"methods": { +"create": { +"description": "Creates an Engine.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/engines", +"httpMethod": "POST", +"id": "discoveryengine.projects.locations.collections.engines.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"engineId": { +"description": "Required. The ID to use for the Engine, which will become the final component of the Engine's resource name. This field must conform to [RFC-1034](https://tools.ietf.org/html/rfc1034) standard with a length limit of 63 characters. Otherwise, an INVALID_ARGUMENT error is returned.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent resource name, such as `projects/{project}/locations/{location}/collections/{collection}`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/engines", +"request": { +"$ref": "GoogleCloudDiscoveryengineV1Engine" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/discoveryengine.readwrite" +] +}, +"delete": { +"description": "Deletes an Engine.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/engines/{enginesId}", +"httpMethod": "DELETE", +"id": "discoveryengine.projects.locations.collections.engines.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Full resource name of Engine, such as `projects/{project}/locations/{location}/collections/{collection_id}/engines/{engine_id}`. If the caller does not have permission to delete the Engine, regardless of whether or not it exists, a PERMISSION_DENIED error is returned. If the Engine to delete does not exist, a NOT_FOUND error is returned.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/engines/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/discoveryengine.readwrite" +] +}, +"get": { +"description": "Gets an Engine.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/engines/{enginesId}", +"httpMethod": "GET", +"id": "discoveryengine.projects.locations.collections.engines.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Full resource name of Engine, such as `projects/{project}/locations/{location}/collections/{collection_id}/engines/{engine_id}`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/engines/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleCloudDiscoveryengineV1Engine" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/discoveryengine.readwrite" +] +}, +"getIamPolicy": { +"description": "Gets the IAM access control policy for an Engine. A `NOT_FOUND` error is returned if the resource does not exist. An empty policy is returned if the resource exists but does not have a policy set on it.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/engines/{enginesId}:getIamPolicy", +"httpMethod": "GET", +"id": "discoveryengine.projects.locations.collections.engines.getIamPolicy", +"parameterOrder": [ +"resource" +], +"parameters": { +"options.requestedPolicyVersion": { +"description": "Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).", +"format": "int32", +"location": "query", +"type": "integer" +}, +"resource": { +"description": "REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/engines/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+resource}:getIamPolicy", +"response": { +"$ref": "GoogleIamV1Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/discoveryengine.readwrite" +] +}, +"list": { +"description": "Lists all the Engines associated with the project.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/engines", +"httpMethod": "GET", +"id": "discoveryengine.projects.locations.collections.engines.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Optional. Filter by solution type. For example: solution_type=SOLUTION_TYPE_SEARCH", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Optional. Not supported.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. Not supported.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent resource name, such as `projects/{project}/locations/{location}/collections/{collection_id}`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/engines", +"response": { +"$ref": "GoogleCloudDiscoveryengineV1ListEnginesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/discoveryengine.readwrite" +] +}, +"patch": { +"description": "Updates an Engine", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/engines/{enginesId}", +"httpMethod": "PATCH", +"id": "discoveryengine.projects.locations.collections.engines.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Immutable. Identifier. The fully qualified resource name of the engine. This field must be a UTF-8 encoded string with a length limit of 1024 characters. Format: `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}` engine should be 1-63 characters, and valid characters are /a-z0-9*/. Otherwise, an INVALID_ARGUMENT error is returned.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/engines/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Indicates which fields in the provided Engine to update. If an unsupported or unknown field is provided, an INVALID_ARGUMENT error is returned.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "GoogleCloudDiscoveryengineV1Engine" +}, +"response": { +"$ref": "GoogleCloudDiscoveryengineV1Engine" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/discoveryengine.readwrite" +] +}, +"setIamPolicy": { +"description": "Sets the IAM access control policy for an Engine. A `NOT_FOUND` error is returned if the resource does not exist. **Important:** When setting a policy directly on an Engine resource, the only recommended roles in the bindings are: `roles/discoveryengine.user` and `roles/discoveryengine.agentspaceUser`. Attempting to grant any other role will result in a warning in logging.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/engines/{enginesId}:setIamPolicy", +"httpMethod": "POST", +"id": "discoveryengine.projects.locations.collections.engines.setIamPolicy", +"parameterOrder": [ +"resource" +], +"parameters": { +"resource": { +"description": "REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/engines/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+resource}:setIamPolicy", +"request": { +"$ref": "GoogleIamV1SetIamPolicyRequest" +}, +"response": { +"$ref": "GoogleIamV1Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/discoveryengine.readwrite" +] +} +}, +"resources": { +"assistants": { +"methods": { +"create": { +"description": "Creates an Assistant.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/engines/{enginesId}/assistants", +"httpMethod": "POST", +"id": "discoveryengine.projects.locations.collections.engines.assistants.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"assistantId": { +"description": "Required. The ID to use for the Assistant, which will become the final component of the Assistant's resource name. This field must conform to [RFC-1034](https://tools.ietf.org/html/rfc1034) with a length limit of 63 characters.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent resource name. Format: `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/engines/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/assistants", +"request": { +"$ref": "GoogleCloudDiscoveryengineV1Assistant" +}, +"response": { +"$ref": "GoogleCloudDiscoveryengineV1Assistant" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/discoveryengine.assist.readwrite", +"https://www.googleapis.com/auth/discoveryengine.readwrite" +] +}, +"delete": { +"description": "Deletes an Assistant.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/engines/{enginesId}/assistants/{assistantsId}", +"httpMethod": "DELETE", +"id": "discoveryengine.projects.locations.collections.engines.assistants.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Resource name of Assistant. Format: `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/assistants/{assistant}` If the caller does not have permission to delete the Assistant, regardless of whether or not it exists, a PERMISSION_DENIED error is returned. If the Assistant to delete does not exist, a NOT_FOUND error is returned.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/engines/[^/]+/assistants/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/discoveryengine.assist.readwrite", +"https://www.googleapis.com/auth/discoveryengine.readwrite" +] +}, +"get": { +"description": "Gets an Assistant.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/engines/{enginesId}/assistants/{assistantsId}", +"httpMethod": "GET", +"id": "discoveryengine.projects.locations.collections.engines.assistants.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Resource name of Assistant. Format: `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/assistants/{assistant}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/engines/[^/]+/assistants/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleCloudDiscoveryengineV1Assistant" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/discoveryengine.assist.readwrite", +"https://www.googleapis.com/auth/discoveryengine.readwrite" +] +}, +"list": { +"description": "Lists all Assistants under an Engine.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/engines/{enginesId}/assistants", +"httpMethod": "GET", +"id": "discoveryengine.projects.locations.collections.engines.assistants.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "Maximum number of Assistants to return. If unspecified, defaults to 100. The maximum allowed value is 1000; anything above that will be coerced down to 1000.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A page token ListAssistantsResponse.next_page_token, received from a previous AssistantService.ListAssistants call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to ListAssistants must match the call that provided the page token.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent resource name. Format: `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/engines/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/assistants", +"response": { +"$ref": "GoogleCloudDiscoveryengineV1ListAssistantsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/discoveryengine.assist.readwrite", +"https://www.googleapis.com/auth/discoveryengine.readwrite" +] +}, +"patch": { +"description": "Updates an Assistant", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/engines/{enginesId}/assistants/{assistantsId}", +"httpMethod": "PATCH", +"id": "discoveryengine.projects.locations.collections.engines.assistants.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Immutable. Resource name of the assistant. Format: `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/assistants/{assistant}` It must be a UTF-8 encoded string with a length limit of 1024 characters.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/engines/[^/]+/assistants/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "The list of fields to update.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "GoogleCloudDiscoveryengineV1Assistant" +}, +"response": { +"$ref": "GoogleCloudDiscoveryengineV1Assistant" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/discoveryengine.assist.readwrite", +"https://www.googleapis.com/auth/discoveryengine.readwrite" +] +}, +"streamAssist": { +"description": "Assists the user with a query in a streaming fashion.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/engines/{enginesId}/assistants/{assistantsId}:streamAssist", +"httpMethod": "POST", +"id": "discoveryengine.projects.locations.collections.engines.assistants.streamAssist", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the Assistant. Format: `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/assistants/{assistant}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/engines/[^/]+/assistants/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:streamAssist", +"request": { +"$ref": "GoogleCloudDiscoveryengineV1StreamAssistRequest" +}, +"response": { +"$ref": "GoogleCloudDiscoveryengineV1StreamAssistResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/discoveryengine.assist.readwrite", +"https://www.googleapis.com/auth/discoveryengine.readwrite" +] +} +}, +"resources": { +"agents": { +"methods": { +"getCard": { +"description": "GetAgentCard returns the agent card for the agent.", +"flatPath": "projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/engines/{enginesId}/assistants/{assistantsId}/agents/{agentsId}/card", +"httpMethod": "GET", +"id": "discoveryengine.projects.locations.collections.engines.assistants.agents.getCard", +"parameterOrder": [ +"tenant" +], +"parameters": { +"tenant": { +"description": "Optional tenant, provided as a path parameter. Experimental, might still change for 1.0 release.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/engines/[^/]+/assistants/[^/]+/agents/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "{+tenant}/card", +"response": { +"$ref": "A2aV1AgentCard" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"message": { +"methods": { +"send": { +"description": "Send a message to the agent. This is a blocking call that will return the task once it is completed, or a LRO if requested.", +"flatPath": "projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/engines/{enginesId}/assistants/{assistantsId}/agents/{agentsId}/message:send", +"httpMethod": "POST", +"id": "discoveryengine.projects.locations.collections.engines.assistants.agents.message.send", +"parameterOrder": [ +"tenant" +], +"parameters": { +"tenant": { +"description": "Optional tenant, provided as a path parameter. Experimental, might still change for 1.0 release.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/engines/[^/]+/assistants/[^/]+/agents/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "{+tenant}/message:send", +"request": { +"$ref": "A2aV1SendMessageRequest" +}, +"response": { +"$ref": "A2aV1SendMessageResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"stream": { +"description": "SendStreamingMessage is a streaming call that will return a stream of task update events until the Task is in an interrupted or terminal state.", +"flatPath": "projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/engines/{enginesId}/assistants/{assistantsId}/agents/{agentsId}/message:stream", +"httpMethod": "POST", +"id": "discoveryengine.projects.locations.collections.engines.assistants.agents.message.stream", +"parameterOrder": [ +"tenant" +], +"parameters": { +"tenant": { +"description": "Optional tenant, provided as a path parameter. Experimental, might still change for 1.0 release.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/engines/[^/]+/assistants/[^/]+/agents/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "{+tenant}/message:stream", +"request": { +"$ref": "A2aV1SendMessageRequest" +}, +"response": { +"$ref": "A2aV1StreamResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"operations": { +"methods": { +"get": { +"description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/engines/{enginesId}/assistants/{assistantsId}/agents/{agentsId}/operations/{operationsId}", +"httpMethod": "GET", +"id": "discoveryengine.projects.locations.collections.engines.assistants.agents.operations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/engines/[^/]+/assistants/[^/]+/agents/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/discoveryengine.readwrite" +] +} +} +}, +"tasks": { +"methods": { +"cancel": { +"description": "Cancel a task from the agent. If supported one should expect no more task updates for the task.", +"flatPath": "projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/engines/{enginesId}/assistants/{assistantsId}/agents/{agentsId}/tasks/{tasksId}:cancel", +"httpMethod": "POST", +"id": "discoveryengine.projects.locations.collections.engines.assistants.agents.tasks.cancel", +"parameterOrder": [ +"tenant", +"name" +], +"parameters": { +"name": { +"description": "The resource name of the task to cancel. Format: tasks/{task_id}", +"location": "path", +"pattern": "^tasks/[^/]+$", +"required": true, +"type": "string" +}, +"tenant": { +"description": "Optional tenant, provided as a path parameter. Experimental, might still change for 1.0 release.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/engines/[^/]+/assistants/[^/]+/agents/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "{+tenant}/{+name}:cancel", +"request": { +"$ref": "A2aV1CancelTaskRequest" +}, +"response": { +"$ref": "A2aV1Task" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Get the current state of a task from the agent.", +"flatPath": "projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/engines/{enginesId}/assistants/{assistantsId}/agents/{agentsId}/tasks/{tasksId}", +"httpMethod": "GET", +"id": "discoveryengine.projects.locations.collections.engines.assistants.agents.tasks.get", +"parameterOrder": [ +"tenant", +"name" +], +"parameters": { +"historyLength": { +"description": "The number of most recent messages from the task's history to retrieve.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"name": { +"description": "Required. The resource name of the task. Format: tasks/{task_id}", +"location": "path", +"pattern": "^tasks/[^/]+$", +"required": true, +"type": "string" +}, +"tenant": { +"description": "Optional tenant, provided as a path parameter. Experimental, might still change for 1.0 release.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/engines/[^/]+/assistants/[^/]+/agents/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "{+tenant}/{+name}", +"response": { +"$ref": "A2aV1Task" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"subscribe": { +"description": "TaskSubscription is a streaming call that will return a stream of task update events. This attaches the stream to an existing in process task. If the task is complete the stream will return the completed task (like GetTask) and close the stream.", +"flatPath": "projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/engines/{enginesId}/assistants/{assistantsId}/agents/{agentsId}/tasks/{tasksId}:subscribe", +"httpMethod": "GET", +"id": "discoveryengine.projects.locations.collections.engines.assistants.agents.tasks.subscribe", +"parameterOrder": [ +"tenant", +"name" +], +"parameters": { +"name": { +"description": "The resource name of the task to subscribe to. Format: tasks/{task_id}", +"location": "path", +"pattern": "^tasks/[^/]+$", +"required": true, +"type": "string" +}, +"tenant": { +"description": "Optional tenant, provided as a path parameter. Experimental, might still change for 1.0 release.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/engines/[^/]+/assistants/[^/]+/agents/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "{+tenant}/{+name}:subscribe", +"response": { +"$ref": "A2aV1StreamResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"pushNotificationConfigs": { +"methods": { +"create": { +"description": "Set a push notification config for a task.", +"flatPath": "projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/engines/{enginesId}/assistants/{assistantsId}/agents/{agentsId}/tasks/{tasksId}/pushNotificationConfigs", +"httpMethod": "POST", +"id": "discoveryengine.projects.locations.collections.engines.assistants.agents.tasks.pushNotificationConfigs.create", +"parameterOrder": [ +"tenant", +"parent" +], +"parameters": { +"configId": { +"description": "Required. The ID for the new config.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent task resource for this config. Format: tasks/{task_id}", +"location": "path", +"pattern": "^tasks/[^/]+/pushNotificationConfigs$", +"required": true, +"type": "string" +}, +"tenant": { +"description": "Optional tenant, provided as a path parameter. Experimental, might still change for 1.0 release.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/engines/[^/]+/assistants/[^/]+/agents/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "{+tenant}/{+parent}", +"request": { +"$ref": "A2aV1TaskPushNotificationConfig" +}, +"response": { +"$ref": "A2aV1TaskPushNotificationConfig" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Delete a push notification config for a task.", +"flatPath": "projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/engines/{enginesId}/assistants/{assistantsId}/agents/{agentsId}/tasks/{tasksId}/pushNotificationConfigs/{pushNotificationConfigsId}", +"httpMethod": "DELETE", +"id": "discoveryengine.projects.locations.collections.engines.assistants.agents.tasks.pushNotificationConfigs.delete", +"parameterOrder": [ +"tenant", +"name" +], +"parameters": { +"name": { +"description": "The resource name of the config to delete. Format: tasks/{task_id}/pushNotificationConfigs/{config_id}", +"location": "path", +"pattern": "^tasks/[^/]+/pushNotificationConfigs/[^/]+$", +"required": true, +"type": "string" +}, +"tenant": { +"description": "Optional tenant, provided as a path parameter. Experimental, might still change for 1.0 release.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/engines/[^/]+/assistants/[^/]+/agents/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "{+tenant}/{+name}", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Get a push notification config for a task.", +"flatPath": "projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/engines/{enginesId}/assistants/{assistantsId}/agents/{agentsId}/tasks/{tasksId}/pushNotificationConfigs/{pushNotificationConfigsId}", +"httpMethod": "GET", +"id": "discoveryengine.projects.locations.collections.engines.assistants.agents.tasks.pushNotificationConfigs.get", +"parameterOrder": [ +"tenant", +"name" +], +"parameters": { +"name": { +"description": "The resource name of the config to retrieve. Format: tasks/{task_id}/pushNotificationConfigs/{config_id}", +"location": "path", +"pattern": "^tasks/[^/]+/pushNotificationConfigs/[^/]+$", +"required": true, +"type": "string" +}, +"tenant": { +"description": "Optional tenant, provided as a path parameter. Experimental, might still change for 1.0 release.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/engines/[^/]+/assistants/[^/]+/agents/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "{+tenant}/{+name}", +"response": { +"$ref": "A2aV1TaskPushNotificationConfig" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Get a list of push notifications configured for a task.", +"flatPath": "projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/engines/{enginesId}/assistants/{assistantsId}/agents/{agentsId}/tasks/{tasksId}/pushNotificationConfigs", +"httpMethod": "GET", +"id": "discoveryengine.projects.locations.collections.engines.assistants.agents.tasks.pushNotificationConfigs.list", +"parameterOrder": [ +"tenant", +"parent" +], +"parameters": { +"pageSize": { +"description": "For AIP-158 these fields are present. Usually not used/needed. The maximum number of configurations to return. If unspecified, all configs will be returned.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A page token received from a previous ListTaskPushNotificationConfigRequest call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListTaskPushNotificationConfigRequest` must match the call that provided the page token.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "The parent task resource. Format: tasks/{task_id}", +"location": "path", +"pattern": "^tasks/[^/]+$", +"required": true, +"type": "string" +}, +"tenant": { +"description": "Optional tenant, provided as a path parameter. Experimental, might still change for 1.0 release.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/engines/[^/]+/assistants/[^/]+/agents/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "{+tenant}/{+parent}/pushNotificationConfigs", +"response": { +"$ref": "A2aV1ListTaskPushNotificationConfigResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +} +} +} +} +}, +"completionConfig": { +"methods": { +"completeQuery": { +"description": "Completes the user input with advanced keyword suggestions.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/engines/{enginesId}/completionConfig:completeQuery", +"httpMethod": "POST", +"id": "discoveryengine.projects.locations.collections.engines.completionConfig.completeQuery", +"parameterOrder": [ +"completionConfig" +], +"parameters": { +"completionConfig": { +"description": "Required. The completion_config of the parent dataStore or engine resource name for which the completion is performed, such as `projects/*/locations/global/collections/default_collection/dataStores/*/completionConfig` `projects/*/locations/global/collections/default_collection/engines/*/completionConfig`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/engines/[^/]+/completionConfig$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+completionConfig}:completeQuery", +"request": { +"$ref": "GoogleCloudDiscoveryengineV1AdvancedCompleteQueryRequest" +}, +"response": { +"$ref": "GoogleCloudDiscoveryengineV1AdvancedCompleteQueryResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud_search.query", +"https://www.googleapis.com/auth/discoveryengine.assist.readwrite", +"https://www.googleapis.com/auth/discoveryengine.readwrite" +] +} +} +}, +"controls": { +"methods": { +"create": { +"description": "Creates a Control. By default 1000 controls are allowed for a data store. A request can be submitted to adjust this limit. If the Control to create already exists, an ALREADY_EXISTS error is returned.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/engines/{enginesId}/controls", +"httpMethod": "POST", +"id": "discoveryengine.projects.locations.collections.engines.controls.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"controlId": { +"description": "Required. The ID to use for the Control, which will become the final component of the Control's resource name. This value must be within 1-63 characters. Valid characters are /a-z-_/.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. Full resource name of parent data store. Format: `projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}` or `projects/{project}/locations/{location}/collections/{collection_id}/engines/{engine_id}`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/engines/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/controls", +"request": { +"$ref": "GoogleCloudDiscoveryengineV1Control" +}, +"response": { +"$ref": "GoogleCloudDiscoveryengineV1Control" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/discoveryengine.readwrite" +] +}, +"delete": { +"description": "Deletes a Control. If the Control to delete does not exist, a NOT_FOUND error is returned.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/engines/{enginesId}/controls/{controlsId}", +"httpMethod": "DELETE", +"id": "discoveryengine.projects.locations.collections.engines.controls.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the Control to delete. Format: `projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}/controls/{control_id}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/engines/[^/]+/controls/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/discoveryengine.readwrite" +] +}, +"get": { +"description": "Gets a Control.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/engines/{enginesId}/controls/{controlsId}", +"httpMethod": "GET", +"id": "discoveryengine.projects.locations.collections.engines.controls.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the Control to get. Format: `projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}/controls/{control_id}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/engines/[^/]+/controls/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleCloudDiscoveryengineV1Control" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/discoveryengine.readwrite" +] +}, +"list": { +"description": "Lists all Controls by their parent DataStore.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/engines/{enginesId}/controls", +"httpMethod": "GET", +"id": "discoveryengine.projects.locations.collections.engines.controls.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Optional. A filter to apply on the list results. Supported features: * List all the products under the parent branch if filter is unset. Currently this field is unsupported.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Optional. Maximum number of results to return. If unspecified, defaults to 50. Max allowed value is 1000.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. A page token, received from a previous `ListControls` call. Provide this to retrieve the subsequent page.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The data store resource name. Format: `projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}` or `projects/{project}/locations/{location}/collections/{collection_id}/engines/{engine_id}`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/engines/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/controls", +"response": { +"$ref": "GoogleCloudDiscoveryengineV1ListControlsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/discoveryengine.readwrite" +] +}, +"patch": { +"description": "Updates a Control. Control action type cannot be changed. If the Control to update does not exist, a NOT_FOUND error is returned.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/engines/{enginesId}/controls/{controlsId}", +"httpMethod": "PATCH", +"id": "discoveryengine.projects.locations.collections.engines.controls.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Immutable. Fully qualified name `projects/*/locations/global/dataStore/*/controls/*`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/engines/[^/]+/controls/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Optional. Indicates which fields in the provided Control to update. The following are NOT supported: * Control.name * Control.solution_type If not set or empty, all supported fields are updated.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "GoogleCloudDiscoveryengineV1Control" +}, +"response": { +"$ref": "GoogleCloudDiscoveryengineV1Control" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/discoveryengine.readwrite" +] +} +} +}, +"conversations": { +"methods": { +"converse": { +"description": "Converses a conversation.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/engines/{enginesId}/conversations/{conversationsId}:converse", +"httpMethod": "POST", +"id": "discoveryengine.projects.locations.collections.engines.conversations.converse", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the Conversation to get. Format: `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store_id}/conversations/{conversation_id}`. Use `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store_id}/conversations/-` to activate auto session mode, which automatically creates a new conversation inside a ConverseConversation session.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/engines/[^/]+/conversations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:converse", +"request": { +"$ref": "GoogleCloudDiscoveryengineV1ConverseConversationRequest" +}, +"response": { +"$ref": "GoogleCloudDiscoveryengineV1ConverseConversationResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/discoveryengine.readwrite" +] +}, +"create": { +"description": "Creates a Conversation. If the Conversation to create already exists, an ALREADY_EXISTS error is returned.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/engines/{enginesId}/conversations", +"httpMethod": "POST", +"id": "discoveryengine.projects.locations.collections.engines.conversations.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. Full resource name of parent data store. Format: `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store_id}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/engines/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/conversations", +"request": { +"$ref": "GoogleCloudDiscoveryengineV1Conversation" +}, +"response": { +"$ref": "GoogleCloudDiscoveryengineV1Conversation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/discoveryengine.readwrite" +] +}, +"delete": { +"description": "Deletes a Conversation. If the Conversation to delete does not exist, a NOT_FOUND error is returned.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/engines/{enginesId}/conversations/{conversationsId}", +"httpMethod": "DELETE", +"id": "discoveryengine.projects.locations.collections.engines.conversations.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the Conversation to delete. Format: `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store_id}/conversations/{conversation_id}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/engines/[^/]+/conversations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/discoveryengine.readwrite" +] +}, +"get": { +"description": "Gets a Conversation.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/engines/{enginesId}/conversations/{conversationsId}", +"httpMethod": "GET", +"id": "discoveryengine.projects.locations.collections.engines.conversations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the Conversation to get. Format: `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store_id}/conversations/{conversation_id}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/engines/[^/]+/conversations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleCloudDiscoveryengineV1Conversation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/discoveryengine.readwrite" +] +}, +"list": { +"description": "Lists all Conversations by their parent DataStore.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/engines/{enginesId}/conversations", +"httpMethod": "GET", +"id": "discoveryengine.projects.locations.collections.engines.conversations.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "A filter to apply on the list results. The supported features are: user_pseudo_id, state. Example: \"user_pseudo_id = some_id\"", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "A comma-separated list of fields to order by, sorted in ascending order. Use \"desc\" after a field name for descending. Supported fields: * `update_time` * `create_time` * `conversation_name` Example: \"update_time desc\" \"create_time\"", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Maximum number of results to return. If unspecified, defaults to 50. Max allowed value is 1000.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A page token, received from a previous `ListConversations` call. Provide this to retrieve the subsequent page.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The data store resource name. Format: `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store_id}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/engines/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/conversations", +"response": { +"$ref": "GoogleCloudDiscoveryengineV1ListConversationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/discoveryengine.readwrite" +] +}, +"patch": { +"description": "Updates a Conversation. Conversation action type cannot be changed. If the Conversation to update does not exist, a NOT_FOUND error is returned.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/engines/{enginesId}/conversations/{conversationsId}", +"httpMethod": "PATCH", +"id": "discoveryengine.projects.locations.collections.engines.conversations.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Immutable. Fully qualified name `projects/{project}/locations/global/collections/{collection}/dataStore/*/conversations/*` or `projects/{project}/locations/global/collections/{collection}/engines/*/conversations/*`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/engines/[^/]+/conversations/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Indicates which fields in the provided Conversation to update. The following are NOT supported: * Conversation.name If not set or empty, all supported fields are updated.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "GoogleCloudDiscoveryengineV1Conversation" +}, +"response": { +"$ref": "GoogleCloudDiscoveryengineV1Conversation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/discoveryengine.readwrite" +] +} +} +}, +"operations": { +"methods": { +"cancel": { +"description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/engines/{enginesId}/operations/{operationsId}:cancel", +"httpMethod": "POST", +"id": "discoveryengine.projects.locations.collections.engines.operations.cancel", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be cancelled.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/engines/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:cancel", +"request": { +"$ref": "GoogleLongrunningCancelOperationRequest" +}, +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/discoveryengine.readwrite" +] +}, +"get": { +"description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/engines/{enginesId}/operations/{operationsId}", +"httpMethod": "GET", +"id": "discoveryengine.projects.locations.collections.engines.operations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/engines/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/discoveryengine.readwrite" +] +}, +"list": { +"description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/engines/{enginesId}/operations", +"httpMethod": "GET", +"id": "discoveryengine.projects.locations.collections.engines.operations.list", +"parameterOrder": [ +"name" +], +"parameters": { +"filter": { +"description": "The standard list filter.", +"location": "query", +"type": "string" +}, +"name": { +"description": "The name of the operation's parent resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/engines/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The standard list page size.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The standard list page token.", +"location": "query", +"type": "string" +}, +"returnPartialSuccess": { +"description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `\"projects/example/locations/-\"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1/{+name}/operations", +"response": { +"$ref": "GoogleLongrunningListOperationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/discoveryengine.readwrite" +] +} +} +}, +"servingConfigs": { +"methods": { +"answer": { +"description": "Answer query method.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/engines/{enginesId}/servingConfigs/{servingConfigsId}:answer", +"httpMethod": "POST", +"id": "discoveryengine.projects.locations.collections.engines.servingConfigs.answer", +"parameterOrder": [ +"servingConfig" +], +"parameters": { +"servingConfig": { +"description": "Required. The resource name of the Search serving config, such as `projects/*/locations/global/collections/default_collection/engines/*/servingConfigs/default_serving_config`, or `projects/*/locations/global/collections/default_collection/dataStores/*/servingConfigs/default_serving_config`. This field is used to identify the serving configuration name, set of models used to make the search.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/engines/[^/]+/servingConfigs/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+servingConfig}:answer", +"request": { +"$ref": "GoogleCloudDiscoveryengineV1AnswerQueryRequest" +}, +"response": { +"$ref": "GoogleCloudDiscoveryengineV1AnswerQueryResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/discoveryengine.readwrite" +] +}, +"create": { +"description": "Creates a ServingConfig. Note: The Google Cloud console works only with the default serving config. Additional ServingConfigs can be created and managed only via the API. A maximum of 100 ServingConfigs are allowed in an Engine, otherwise a RESOURCE_EXHAUSTED error is returned.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/engines/{enginesId}/servingConfigs", +"httpMethod": "POST", +"id": "discoveryengine.projects.locations.collections.engines.servingConfigs.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. Full resource name of parent. Format: `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/engines/[^/]+$", +"required": true, +"type": "string" +}, +"servingConfigId": { +"description": "Required. The ID to use for the ServingConfig, which will become the final component of the ServingConfig's resource name. This value should be 4-63 characters, and valid characters are /a-zA-Z0-9+/.", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+parent}/servingConfigs", +"request": { +"$ref": "GoogleCloudDiscoveryengineV1ServingConfig" +}, +"response": { +"$ref": "GoogleCloudDiscoveryengineV1ServingConfig" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/discoveryengine.readwrite" +] +}, +"delete": { +"description": "Deletes a ServingConfig. Returns a NOT_FOUND error if the ServingConfig does not exist.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/engines/{enginesId}/servingConfigs/{servingConfigsId}", +"httpMethod": "DELETE", +"id": "discoveryengine.projects.locations.collections.engines.servingConfigs.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the ServingConfig to delete. Format: `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/servingConfigs/{serving_config_id}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/engines/[^/]+/servingConfigs/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/discoveryengine.readwrite" +] +}, +"get": { +"description": "Gets a ServingConfig. Returns a NotFound error if the ServingConfig does not exist.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/engines/{enginesId}/servingConfigs/{servingConfigsId}", +"httpMethod": "GET", +"id": "discoveryengine.projects.locations.collections.engines.servingConfigs.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the ServingConfig to get. Format: `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/servingConfigs/{serving_config_id}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/engines/[^/]+/servingConfigs/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleCloudDiscoveryengineV1ServingConfig" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/discoveryengine.readwrite" +] +}, +"list": { +"description": "Lists all ServingConfigs linked to this dataStore.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/engines/{enginesId}/servingConfigs", +"httpMethod": "GET", +"id": "discoveryengine.projects.locations.collections.engines.servingConfigs.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "Optional. Maximum number of results to return. If unspecified, defaults to 100. If a value greater than 100 is provided, at most 100 results are returned.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. A page token, received from a previous `ListServingConfigs` call. Provide this to retrieve the subsequent page.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. Full resource name of the parent resource. Format: `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/engines/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/servingConfigs", +"response": { +"$ref": "GoogleCloudDiscoveryengineV1ListServingConfigsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/discoveryengine.readwrite" +] +}, +"patch": { +"description": "Updates a ServingConfig. Returns a NOT_FOUND error if the ServingConfig does not exist.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/engines/{enginesId}/servingConfigs/{servingConfigsId}", +"httpMethod": "PATCH", +"id": "discoveryengine.projects.locations.collections.engines.servingConfigs.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Immutable. Fully qualified name `projects/{project}/locations/{location}/collections/{collection_id}/engines/{engine_id}/servingConfigs/{serving_config_id}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/engines/[^/]+/servingConfigs/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Indicates which fields in the provided ServingConfig to update. The following are NOT supported: * ServingConfig.name If not set, all supported fields are updated.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "GoogleCloudDiscoveryengineV1ServingConfig" +}, +"response": { +"$ref": "GoogleCloudDiscoveryengineV1ServingConfig" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/discoveryengine.readwrite" +] +}, +"recommend": { +"description": "Makes a recommendation, which requires a contextual user event.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/engines/{enginesId}/servingConfigs/{servingConfigsId}:recommend", +"httpMethod": "POST", +"id": "discoveryengine.projects.locations.collections.engines.servingConfigs.recommend", +"parameterOrder": [ +"servingConfig" +], +"parameters": { +"servingConfig": { +"description": "Required. Full resource name of a ServingConfig: `projects/*/locations/global/collections/*/engines/*/servingConfigs/*`, or `projects/*/locations/global/collections/*/dataStores/*/servingConfigs/*` One default serving config is created along with your recommendation engine creation. The engine ID is used as the ID of the default serving config. For example, for Engine `projects/*/locations/global/collections/*/engines/my-engine`, you can use `projects/*/locations/global/collections/*/engines/my-engine/servingConfigs/my-engine` for your RecommendationService.Recommend requests.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/engines/[^/]+/servingConfigs/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+servingConfig}:recommend", +"request": { +"$ref": "GoogleCloudDiscoveryengineV1RecommendRequest" +}, +"response": { +"$ref": "GoogleCloudDiscoveryengineV1RecommendResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/discoveryengine.readwrite" +] +}, +"search": { +"description": "Performs a search.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/engines/{enginesId}/servingConfigs/{servingConfigsId}:search", +"httpMethod": "POST", +"id": "discoveryengine.projects.locations.collections.engines.servingConfigs.search", +"parameterOrder": [ +"servingConfig" +], +"parameters": { +"servingConfig": { +"description": "Required. The resource name of the Search serving config, such as `projects/*/locations/global/collections/default_collection/engines/*/servingConfigs/default_serving_config`, or `projects/*/locations/global/collections/default_collection/dataStores/default_data_store/servingConfigs/default_serving_config`. This field is used to identify the serving configuration name, set of models used to make the search.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/engines/[^/]+/servingConfigs/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+servingConfig}:search", +"request": { +"$ref": "GoogleCloudDiscoveryengineV1SearchRequest" +}, +"response": { +"$ref": "GoogleCloudDiscoveryengineV1SearchResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/discoveryengine.assist.readwrite", +"https://www.googleapis.com/auth/discoveryengine.readwrite" +] +}, +"searchLite": { +"description": "Performs a search. Similar to the SearchService.Search method, but a lite version that allows API key for authentication, where OAuth and IAM checks are not required. Only public website search is supported by this method. If data stores and engines not associated with public website search are specified, a `FAILED_PRECONDITION` error is returned. This method can be used for easy onboarding without having to implement an authentication backend. However, it is strongly recommended to use SearchService.Search instead with required OAuth and IAM checks to provide better data security.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/engines/{enginesId}/servingConfigs/{servingConfigsId}:searchLite", +"httpMethod": "POST", +"id": "discoveryengine.projects.locations.collections.engines.servingConfigs.searchLite", +"parameterOrder": [ +"servingConfig" +], +"parameters": { +"servingConfig": { +"description": "Required. The resource name of the Search serving config, such as `projects/*/locations/global/collections/default_collection/engines/*/servingConfigs/default_serving_config`, or `projects/*/locations/global/collections/default_collection/dataStores/default_data_store/servingConfigs/default_serving_config`. This field is used to identify the serving configuration name, set of models used to make the search.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/engines/[^/]+/servingConfigs/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+servingConfig}:searchLite", +"request": { +"$ref": "GoogleCloudDiscoveryengineV1SearchRequest" +}, +"response": { +"$ref": "GoogleCloudDiscoveryengineV1SearchResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/discoveryengine.assist.readwrite", +"https://www.googleapis.com/auth/discoveryengine.readwrite" +] +}, +"streamAnswer": { +"description": "Answer query method (streaming). It takes one AnswerQueryRequest and returns multiple AnswerQueryResponse messages in a stream.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/engines/{enginesId}/servingConfigs/{servingConfigsId}:streamAnswer", +"httpMethod": "POST", +"id": "discoveryengine.projects.locations.collections.engines.servingConfigs.streamAnswer", +"parameterOrder": [ +"servingConfig" +], +"parameters": { +"servingConfig": { +"description": "Required. The resource name of the Search serving config, such as `projects/*/locations/global/collections/default_collection/engines/*/servingConfigs/default_serving_config`, or `projects/*/locations/global/collections/default_collection/dataStores/*/servingConfigs/default_serving_config`. This field is used to identify the serving configuration name, set of models used to make the search.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/engines/[^/]+/servingConfigs/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+servingConfig}:streamAnswer", +"request": { +"$ref": "GoogleCloudDiscoveryengineV1AnswerQueryRequest" +}, +"response": { +"$ref": "GoogleCloudDiscoveryengineV1AnswerQueryResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/discoveryengine.readwrite" +] +} +} +}, +"sessions": { +"methods": { +"create": { +"description": "Creates a Session. If the Session to create already exists, an ALREADY_EXISTS error is returned.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/engines/{enginesId}/sessions", +"httpMethod": "POST", +"id": "discoveryengine.projects.locations.collections.engines.sessions.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. Full resource name of parent data store. Format: `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store_id}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/engines/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/sessions", +"request": { +"$ref": "GoogleCloudDiscoveryengineV1Session" +}, +"response": { +"$ref": "GoogleCloudDiscoveryengineV1Session" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/discoveryengine.assist.readwrite", +"https://www.googleapis.com/auth/discoveryengine.readwrite" +] +}, +"delete": { +"description": "Deletes a Session. If the Session to delete does not exist, a NOT_FOUND error is returned.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/engines/{enginesId}/sessions/{sessionsId}", +"httpMethod": "DELETE", +"id": "discoveryengine.projects.locations.collections.engines.sessions.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the Session to delete. Format: `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store_id}/sessions/{session_id}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/engines/[^/]+/sessions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/discoveryengine.assist.readwrite", +"https://www.googleapis.com/auth/discoveryengine.readwrite" +] +}, +"get": { +"description": "Gets a Session.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/engines/{enginesId}/sessions/{sessionsId}", +"httpMethod": "GET", +"id": "discoveryengine.projects.locations.collections.engines.sessions.get", +"parameterOrder": [ +"name" +], +"parameters": { +"includeAnswerDetails": { +"description": "Optional. If set to true, the full session including all answer details will be returned.", +"location": "query", +"type": "boolean" +}, +"name": { +"description": "Required. The resource name of the Session to get. Format: `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store_id}/sessions/{session_id}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/engines/[^/]+/sessions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleCloudDiscoveryengineV1Session" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/discoveryengine.assist.readwrite", +"https://www.googleapis.com/auth/discoveryengine.readwrite" +] +}, +"list": { +"description": "Lists all Sessions by their parent DataStore.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/engines/{enginesId}/sessions", +"httpMethod": "GET", +"id": "discoveryengine.projects.locations.collections.engines.sessions.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "A comma-separated list of fields to filter by, in EBNF grammar. The supported fields are: * `user_pseudo_id` * `state` * `display_name` * `starred` * `is_pinned` * `labels` * `create_time` * `update_time` * `collaborative_project` Examples: * `user_pseudo_id = some_id` * `display_name = \"some_name\"` * `starred = true` * `is_pinned=true AND (NOT labels:hidden)` * `create_time > \"1970-01-01T12:00:00Z\"` * `collaborative_project = \"projects/123/locations/global/collections/default_collection/engines/\" \"default_engine/collaborative_projects/cp1\"`", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "A comma-separated list of fields to order by, sorted in ascending order. Use \"desc\" after a field name for descending. Supported fields: * `update_time` * `create_time` * `session_name` * `is_pinned` Example: * `update_time desc` * `create_time` * `is_pinned desc,update_time desc`: list sessions by is_pinned first, then by update_time.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Maximum number of results to return. If unspecified, defaults to 50. Max allowed value is 1000.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A page token, received from a previous `ListSessions` call. Provide this to retrieve the subsequent page.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The data store resource name. Format: `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store_id}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/engines/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/sessions", +"response": { +"$ref": "GoogleCloudDiscoveryengineV1ListSessionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/discoveryengine.assist.readwrite", +"https://www.googleapis.com/auth/discoveryengine.readwrite" +] +}, +"patch": { +"description": "Updates a Session. Session action type cannot be changed. If the Session to update does not exist, a NOT_FOUND error is returned.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/engines/{enginesId}/sessions/{sessionsId}", +"httpMethod": "PATCH", +"id": "discoveryengine.projects.locations.collections.engines.sessions.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Immutable. Fully qualified name `projects/{project}/locations/global/collections/{collection}/engines/{engine}/sessions/*`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/engines/[^/]+/sessions/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Indicates which fields in the provided Session to update. The following are NOT supported: * Session.name If not set or empty, all supported fields are updated.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "GoogleCloudDiscoveryengineV1Session" +}, +"response": { +"$ref": "GoogleCloudDiscoveryengineV1Session" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/discoveryengine.assist.readwrite", +"https://www.googleapis.com/auth/discoveryengine.readwrite" +] +} +}, +"resources": { +"answers": { +"methods": { +"get": { +"description": "Gets a Answer.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/engines/{enginesId}/sessions/{sessionsId}/answers/{answersId}", +"httpMethod": "GET", +"id": "discoveryengine.projects.locations.collections.engines.sessions.answers.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the Answer to get. Format: `projects/{project}/locations/{location}/collections/{collection}/engines/{engine_id}/sessions/{session_id}/answers/{answer_id}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/engines/[^/]+/sessions/[^/]+/answers/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleCloudDiscoveryengineV1Answer" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/discoveryengine.readwrite" +] +} +} +} +} +}, +"widgetConfigs": { +"methods": { +"get": { +"description": "Gets a WidgetConfig.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/engines/{enginesId}/widgetConfigs/{widgetConfigsId}", +"httpMethod": "GET", +"id": "discoveryengine.projects.locations.collections.engines.widgetConfigs.get", +"parameterOrder": [ +"name" +], +"parameters": { +"acceptCache": { +"description": "Optional. Whether it's acceptable to load the widget config from cache. If set to true, recent changes on widget configs may take a few minutes to reflect on the end user's view. It's recommended to set to true for maturely developed widgets, as it improves widget performance. Set to false to see changes reflected in prod right away, if your widget is under development.", +"location": "query", +"type": "boolean" +}, +"getWidgetConfigRequestOption.turnOffCollectionComponents": { +"description": "Optional. Whether to turn off collection_components in WidgetConfig to reduce latency and data transmission.", +"location": "query", +"type": "boolean" +}, +"name": { +"description": "Required. Full WidgetConfig resource name. Format: `projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}/widgetConfigs/{widget_config_id}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/engines/[^/]+/widgetConfigs/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleCloudDiscoveryengineV1WidgetConfig" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/discoveryengine.assist.readwrite", +"https://www.googleapis.com/auth/discoveryengine.readwrite" +] +}, +"patch": { +"description": "Update a WidgetConfig.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/engines/{enginesId}/widgetConfigs/{widgetConfigsId}", +"httpMethod": "PATCH", +"id": "discoveryengine.projects.locations.collections.engines.widgetConfigs.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Immutable. The full resource name of the widget config. Format: `projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}/widgetConfigs/{widget_config_id}`. This field must be a UTF-8 encoded string with a length limit of 1024 characters.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/engines/[^/]+/widgetConfigs/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Indicates which fields in the provided WidgetConfig to update. The following are the only supported fields: * WidgetConfig.enable_autocomplete If not set, all supported fields are updated.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "GoogleCloudDiscoveryengineV1WidgetConfig" +}, +"response": { +"$ref": "GoogleCloudDiscoveryengineV1WidgetConfig" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/discoveryengine.assist.readwrite", +"https://www.googleapis.com/auth/discoveryengine.readwrite" +] +} +} +} +} +}, +"operations": { +"methods": { +"get": { +"description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/operations/{operationsId}", +"httpMethod": "GET", +"id": "discoveryengine.projects.locations.collections.operations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/discoveryengine.readwrite" +] +}, +"list": { +"description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/operations", +"httpMethod": "GET", +"id": "discoveryengine.projects.locations.collections.operations.list", +"parameterOrder": [ +"name" +], +"parameters": { +"filter": { +"description": "The standard list filter.", +"location": "query", +"type": "string" +}, +"name": { +"description": "The name of the operation's parent resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The standard list page size.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The standard list page token.", +"location": "query", +"type": "string" +}, +"returnPartialSuccess": { +"description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `\"projects/example/locations/-\"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1/{+name}/operations", +"response": { +"$ref": "GoogleLongrunningListOperationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/discoveryengine.readwrite" +] +} +} +} +} +}, +"dataStores": { +"methods": { +"completeQuery": { +"description": "Completes the specified user input with keyword suggestions.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/dataStores/{dataStoresId}:completeQuery", +"httpMethod": "GET", +"id": "discoveryengine.projects.locations.dataStores.completeQuery", +"parameterOrder": [ +"dataStore" +], +"parameters": { +"dataStore": { +"description": "Required. The parent data store resource name for which the completion is performed, such as `projects/*/locations/global/collections/default_collection/dataStores/default_data_store`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/dataStores/[^/]+$", +"required": true, +"type": "string" +}, +"includeTailSuggestions": { +"description": "Indicates if tail suggestions should be returned if there are no suggestions that match the full query. Even if set to true, if there are suggestions that match the full query, those are returned and no tail suggestions are returned.", +"location": "query", +"type": "boolean" +}, +"query": { +"description": "Required. The typeahead input used to fetch suggestions. Maximum length is 128 characters.", +"location": "query", +"type": "string" +}, +"queryModel": { +"description": "Specifies the autocomplete data model. This overrides any model specified in the Configuration > Autocomplete section of the Cloud console. Currently supported values: * `document` - Using suggestions generated from user-imported documents. * `search-history` - Using suggestions generated from the past history of SearchService.Search API calls. Do not use it when there is no traffic for Search API. * `user-event` - Using suggestions generated from user-imported search events. * `document-completable` - Using suggestions taken directly from user-imported document fields marked as completable. Default values: * `document` is the default model for regular dataStores. * `search-history` is the default model for site search dataStores.", +"location": "query", +"type": "string" +}, +"userPseudoId": { +"description": "Optional. A unique identifier for tracking visitors. For example, this could be implemented with an HTTP cookie, which should be able to uniquely identify a visitor on a single device. This unique identifier should not change if the visitor logs in or out of the website. This field should NOT have a fixed value such as `unknown_visitor`. This should be the same identifier as UserEvent.user_pseudo_id and SearchRequest.user_pseudo_id. The field must be a UTF-8 encoded string with a length limit of 128 characters. Otherwise, an `INVALID_ARGUMENT` error is returned.", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+dataStore}:completeQuery", +"response": { +"$ref": "GoogleCloudDiscoveryengineV1CompleteQueryResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/discoveryengine.assist.readwrite", +"https://www.googleapis.com/auth/discoveryengine.readwrite" +] +}, +"create": { +"description": "Creates a DataStore. DataStore is for storing Documents. To serve these documents for Search, or Recommendation use case, an Engine needs to be created separately.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/dataStores", +"httpMethod": "POST", +"id": "discoveryengine.projects.locations.dataStores.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"cmekConfigName": { +"description": "Resource name of the CmekConfig to use for protecting this DataStore.", +"location": "query", +"type": "string" +}, +"createAdvancedSiteSearch": { +"description": "A boolean flag indicating whether user want to directly create an advanced data store for site search. If the data store is not configured as site search (GENERIC vertical and PUBLIC_WEBSITE content_config), this flag will be ignored.", +"location": "query", +"type": "boolean" +}, +"dataStoreId": { +"description": "Required. The ID to use for the DataStore, which will become the final component of the DataStore's resource name. This field must conform to [RFC-1034](https://tools.ietf.org/html/rfc1034) standard with a length limit of 63 characters. Otherwise, an INVALID_ARGUMENT error is returned.", +"location": "query", +"type": "string" +}, +"disableCmek": { +"description": "DataStore without CMEK protections. If a default CmekConfig is set for the project, setting this field will override the default CmekConfig as well.", +"location": "query", +"type": "boolean" +}, +"parent": { +"description": "Required. The parent resource name, such as `projects/{project}/locations/{location}/collections/{collection}`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +}, +"skipDefaultSchemaCreation": { +"description": "A boolean flag indicating whether to skip the default schema creation for the data store. Only enable this flag if you are certain that the default schema is incompatible with your use case. If set to true, you must manually create a schema for the data store before any documents can be ingested. This flag cannot be specified if `data_store.starting_schema` is specified.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1/{+parent}/dataStores", +"request": { +"$ref": "GoogleCloudDiscoveryengineV1DataStore" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/discoveryengine.readwrite" +] +}, +"delete": { +"description": "Deletes a DataStore.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/dataStores/{dataStoresId}", +"httpMethod": "DELETE", +"id": "discoveryengine.projects.locations.dataStores.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Full resource name of DataStore, such as `projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}`. If the caller does not have permission to delete the DataStore, regardless of whether or not it exists, a PERMISSION_DENIED error is returned. If the DataStore to delete does not exist, a NOT_FOUND error is returned.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/dataStores/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/discoveryengine.readwrite" +] +}, +"get": { +"description": "Gets a DataStore.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/dataStores/{dataStoresId}", +"httpMethod": "GET", +"id": "discoveryengine.projects.locations.dataStores.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Full resource name of DataStore, such as `projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}`. If the caller does not have permission to access the DataStore, regardless of whether or not it exists, a PERMISSION_DENIED error is returned. If the requested DataStore does not exist, a NOT_FOUND error is returned.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/dataStores/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleCloudDiscoveryengineV1DataStore" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/discoveryengine.readwrite" +] +}, +"getSiteSearchEngine": { +"description": "Gets the SiteSearchEngine.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/dataStores/{dataStoresId}/siteSearchEngine", +"httpMethod": "GET", +"id": "discoveryengine.projects.locations.dataStores.getSiteSearchEngine", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Resource name of SiteSearchEngine, such as `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine`. If the caller does not have permission to access the [SiteSearchEngine], regardless of whether or not it exists, a PERMISSION_DENIED error is returned.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/dataStores/[^/]+/siteSearchEngine$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleCloudDiscoveryengineV1SiteSearchEngine" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/discoveryengine.readwrite" +] +}, +"list": { +"description": "Lists all the DataStores associated with the project.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/dataStores", +"httpMethod": "GET", +"id": "discoveryengine.projects.locations.dataStores.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Filter by solution type . For example: `filter = 'solution_type:SOLUTION_TYPE_SEARCH'`", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Maximum number of DataStores to return. If unspecified, defaults to 10. The maximum allowed value is 50. Values above 50 will be coerced to 50. If this field is negative, an INVALID_ARGUMENT is returned.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A page token ListDataStoresResponse.next_page_token, received from a previous DataStoreService.ListDataStores call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to DataStoreService.ListDataStores must match the call that provided the page token. Otherwise, an INVALID_ARGUMENT error is returned.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent branch resource name, such as `projects/{project}/locations/{location}/collections/{collection_id}`. If the caller does not have permission to list DataStores under this location, regardless of whether or not this data store exists, a PERMISSION_DENIED error is returned.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/dataStores", +"response": { +"$ref": "GoogleCloudDiscoveryengineV1ListDataStoresResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/discoveryengine.readwrite" +] +}, +"patch": { +"description": "Updates a DataStore", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/dataStores/{dataStoresId}", +"httpMethod": "PATCH", +"id": "discoveryengine.projects.locations.dataStores.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Immutable. Identifier. The full resource name of the data store. Format: `projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}`. This field must be a UTF-8 encoded string with a length limit of 1024 characters.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/dataStores/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Indicates which fields in the provided DataStore to update. If an unsupported or unknown field is provided, an INVALID_ARGUMENT error is returned.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "GoogleCloudDiscoveryengineV1DataStore" +}, +"response": { +"$ref": "GoogleCloudDiscoveryengineV1DataStore" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/discoveryengine.readwrite" +] +} +}, +"resources": { +"branches": { +"methods": { +"batchGetDocumentsMetadata": { +"description": "Gets index freshness metadata for Documents. Supported for website search only.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/dataStores/{dataStoresId}/branches/{branchesId}/batchGetDocumentsMetadata", +"httpMethod": "GET", +"id": "discoveryengine.projects.locations.dataStores.branches.batchGetDocumentsMetadata", +"parameterOrder": [ +"parent" +], +"parameters": { +"matcher.fhirMatcher.fhirResources": { +"description": "Required. The FHIR resources to match by. Format: projects/{project}/locations/{location}/datasets/{dataset}/fhirStores/{fhir_store}/fhir/{resource_type}/{fhir_resource_id}", +"location": "query", +"repeated": true, +"type": "string" +}, +"matcher.urisMatcher.uris": { +"description": "The exact URIs to match by.", +"location": "query", +"repeated": true, +"type": "string" +}, +"parent": { +"description": "Required. The parent branch resource name, such as `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/dataStores/[^/]+/branches/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/batchGetDocumentsMetadata", +"response": { +"$ref": "GoogleCloudDiscoveryengineV1BatchGetDocumentsMetadataResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/discoveryengine.readwrite" +] +} +}, +"resources": { +"documents": { +"methods": { +"create": { +"description": "Creates a Document.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/dataStores/{dataStoresId}/branches/{branchesId}/documents", +"httpMethod": "POST", +"id": "discoveryengine.projects.locations.dataStores.branches.documents.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"documentId": { +"description": "Required. The ID to use for the Document, which becomes the final component of the Document.name. If the caller does not have permission to create the Document, regardless of whether or not it exists, a `PERMISSION_DENIED` error is returned. This field must be unique among all Documents with the same parent. Otherwise, an `ALREADY_EXISTS` error is returned. This field must conform to [RFC-1034](https://tools.ietf.org/html/rfc1034) standard with a length limit of 128 characters. Otherwise, an `INVALID_ARGUMENT` error is returned.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent resource name, such as `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/dataStores/[^/]+/branches/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/documents", +"request": { +"$ref": "GoogleCloudDiscoveryengineV1Document" +}, +"response": { +"$ref": "GoogleCloudDiscoveryengineV1Document" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/discoveryengine.readwrite" +] +}, +"delete": { +"description": "Deletes a Document.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/dataStores/{dataStoresId}/branches/{branchesId}/documents/{documentsId}", +"httpMethod": "DELETE", +"id": "discoveryengine.projects.locations.dataStores.branches.documents.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Full resource name of Document, such as `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}/documents/{document}`. If the caller does not have permission to delete the Document, regardless of whether or not it exists, a `PERMISSION_DENIED` error is returned. If the Document to delete does not exist, a `NOT_FOUND` error is returned.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/dataStores/[^/]+/branches/[^/]+/documents/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/discoveryengine.readwrite" +] +}, +"get": { +"description": "Gets a Document.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/dataStores/{dataStoresId}/branches/{branchesId}/documents/{documentsId}", +"httpMethod": "GET", +"id": "discoveryengine.projects.locations.dataStores.branches.documents.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Full resource name of Document, such as `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}/documents/{document}`. If the caller does not have permission to access the Document, regardless of whether or not it exists, a `PERMISSION_DENIED` error is returned. If the requested Document does not exist, a `NOT_FOUND` error is returned.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/dataStores/[^/]+/branches/[^/]+/documents/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleCloudDiscoveryengineV1Document" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/discoveryengine.readwrite" +] +}, +"import": { +"description": "Bulk import of multiple Documents. Request processing may be synchronous. Non-existing items are created. Note: It is possible for a subset of the Documents to be successfully updated.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/dataStores/{dataStoresId}/branches/{branchesId}/documents:import", +"httpMethod": "POST", +"id": "discoveryengine.projects.locations.dataStores.branches.documents.import", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The parent branch resource name, such as `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}`. Requires create/update permission.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/dataStores/[^/]+/branches/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/documents:import", +"request": { +"$ref": "GoogleCloudDiscoveryengineV1ImportDocumentsRequest" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/discoveryengine.readwrite" +] +}, +"list": { +"description": "Gets a list of Documents.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/dataStores/{dataStoresId}/branches/{branchesId}/documents", +"httpMethod": "GET", +"id": "discoveryengine.projects.locations.dataStores.branches.documents.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "Maximum number of Documents to return. If unspecified, defaults to 100. The maximum allowed value is 1000. Values above 1000 are set to 1000. If this field is negative, an `INVALID_ARGUMENT` error is returned.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A page token ListDocumentsResponse.next_page_token, received from a previous DocumentService.ListDocuments call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to DocumentService.ListDocuments must match the call that provided the page token. Otherwise, an `INVALID_ARGUMENT` error is returned.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent branch resource name, such as `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}`. Use `default_branch` as the branch ID, to list documents under the default branch. If the caller does not have permission to list Documents under this branch, regardless of whether or not this branch exists, a `PERMISSION_DENIED` error is returned.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/dataStores/[^/]+/branches/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/documents", +"response": { +"$ref": "GoogleCloudDiscoveryengineV1ListDocumentsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/discoveryengine.readwrite" +] +}, +"patch": { +"description": "Updates a Document.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/dataStores/{dataStoresId}/branches/{branchesId}/documents/{documentsId}", +"httpMethod": "PATCH", +"id": "discoveryengine.projects.locations.dataStores.branches.documents.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"allowMissing": { +"description": "If set to `true` and the Document is not found, a new Document is be created.", +"location": "query", +"type": "boolean" +}, +"name": { +"description": "Immutable. The full resource name of the document. Format: `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}/documents/{document_id}`. This field must be a UTF-8 encoded string with a length limit of 1024 characters.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/dataStores/[^/]+/branches/[^/]+/documents/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Indicates which fields in the provided imported 'document' to update. If not set, by default updates all fields.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "GoogleCloudDiscoveryengineV1Document" +}, +"response": { +"$ref": "GoogleCloudDiscoveryengineV1Document" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/discoveryengine.readwrite" +] +}, +"purge": { +"description": "Permanently deletes all selected Documents in a branch. This process is asynchronous. Depending on the number of Documents to be deleted, this operation can take hours to complete. Before the delete operation completes, some Documents might still be returned by DocumentService.GetDocument or DocumentService.ListDocuments. To get a list of the Documents to be deleted, set PurgeDocumentsRequest.force to false.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/dataStores/{dataStoresId}/branches/{branchesId}/documents:purge", +"httpMethod": "POST", +"id": "discoveryengine.projects.locations.dataStores.branches.documents.purge", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The parent resource name, such as `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/dataStores/[^/]+/branches/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/documents:purge", +"request": { +"$ref": "GoogleCloudDiscoveryengineV1PurgeDocumentsRequest" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/discoveryengine.readwrite" +] +} +} +}, +"operations": { +"methods": { +"cancel": { +"description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/dataStores/{dataStoresId}/branches/{branchesId}/operations/{operationsId}:cancel", +"httpMethod": "POST", +"id": "discoveryengine.projects.locations.dataStores.branches.operations.cancel", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be cancelled.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/dataStores/[^/]+/branches/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:cancel", +"request": { +"$ref": "GoogleLongrunningCancelOperationRequest" +}, +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/discoveryengine.readwrite" +] +}, +"get": { +"description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/dataStores/{dataStoresId}/branches/{branchesId}/operations/{operationsId}", +"httpMethod": "GET", +"id": "discoveryengine.projects.locations.dataStores.branches.operations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/dataStores/[^/]+/branches/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/discoveryengine.readwrite" +] +}, +"list": { +"description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/dataStores/{dataStoresId}/branches/{branchesId}/operations", +"httpMethod": "GET", +"id": "discoveryengine.projects.locations.dataStores.branches.operations.list", +"parameterOrder": [ +"name" +], +"parameters": { +"filter": { +"description": "The standard list filter.", +"location": "query", +"type": "string" +}, +"name": { +"description": "The name of the operation's parent resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/dataStores/[^/]+/branches/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The standard list page size.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The standard list page token.", +"location": "query", +"type": "string" +}, +"returnPartialSuccess": { +"description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `\"projects/example/locations/-\"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1/{+name}/operations", +"response": { +"$ref": "GoogleLongrunningListOperationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/discoveryengine.readwrite" +] +} +} +} +} +}, +"completionConfig": { +"methods": { +"completeQuery": { +"description": "Completes the user input with advanced keyword suggestions.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/dataStores/{dataStoresId}/completionConfig:completeQuery", +"httpMethod": "POST", +"id": "discoveryengine.projects.locations.dataStores.completionConfig.completeQuery", +"parameterOrder": [ +"completionConfig" +], +"parameters": { +"completionConfig": { +"description": "Required. The completion_config of the parent dataStore or engine resource name for which the completion is performed, such as `projects/*/locations/global/collections/default_collection/dataStores/*/completionConfig` `projects/*/locations/global/collections/default_collection/engines/*/completionConfig`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/dataStores/[^/]+/completionConfig$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+completionConfig}:completeQuery", +"request": { +"$ref": "GoogleCloudDiscoveryengineV1AdvancedCompleteQueryRequest" +}, +"response": { +"$ref": "GoogleCloudDiscoveryengineV1AdvancedCompleteQueryResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud_search.query", +"https://www.googleapis.com/auth/discoveryengine.assist.readwrite", +"https://www.googleapis.com/auth/discoveryengine.readwrite" +] +} +} +}, +"completionSuggestions": { +"methods": { +"import": { +"description": "Imports CompletionSuggestions for a DataStore.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/dataStores/{dataStoresId}/completionSuggestions:import", +"httpMethod": "POST", +"id": "discoveryengine.projects.locations.dataStores.completionSuggestions.import", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The parent data store resource name for which to import customer autocomplete suggestions. Follows pattern `projects/*/locations/*/collections/*/dataStores/*`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/dataStores/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/completionSuggestions:import", +"request": { +"$ref": "GoogleCloudDiscoveryengineV1ImportCompletionSuggestionsRequest" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/discoveryengine.assist.readwrite", +"https://www.googleapis.com/auth/discoveryengine.readwrite" +] +}, +"purge": { +"description": "Permanently deletes all CompletionSuggestions for a DataStore.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/dataStores/{dataStoresId}/completionSuggestions:purge", +"httpMethod": "POST", +"id": "discoveryengine.projects.locations.dataStores.completionSuggestions.purge", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The parent data store resource name for which to purge completion suggestions. Follows pattern projects/*/locations/*/collections/*/dataStores/*.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/dataStores/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/completionSuggestions:purge", +"request": { +"$ref": "GoogleCloudDiscoveryengineV1PurgeCompletionSuggestionsRequest" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/discoveryengine.assist.readwrite", +"https://www.googleapis.com/auth/discoveryengine.readwrite" +] +} +} +}, +"controls": { +"methods": { +"create": { +"description": "Creates a Control. By default 1000 controls are allowed for a data store. A request can be submitted to adjust this limit. If the Control to create already exists, an ALREADY_EXISTS error is returned.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/dataStores/{dataStoresId}/controls", +"httpMethod": "POST", +"id": "discoveryengine.projects.locations.dataStores.controls.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"controlId": { +"description": "Required. The ID to use for the Control, which will become the final component of the Control's resource name. This value must be within 1-63 characters. Valid characters are /a-z-_/.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. Full resource name of parent data store. Format: `projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}` or `projects/{project}/locations/{location}/collections/{collection_id}/engines/{engine_id}`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/dataStores/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/controls", +"request": { +"$ref": "GoogleCloudDiscoveryengineV1Control" +}, +"response": { +"$ref": "GoogleCloudDiscoveryengineV1Control" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/discoveryengine.readwrite" +] +}, +"delete": { +"description": "Deletes a Control. If the Control to delete does not exist, a NOT_FOUND error is returned.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/dataStores/{dataStoresId}/controls/{controlsId}", +"httpMethod": "DELETE", +"id": "discoveryengine.projects.locations.dataStores.controls.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the Control to delete. Format: `projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}/controls/{control_id}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/dataStores/[^/]+/controls/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/discoveryengine.readwrite" +] +}, +"get": { +"description": "Gets a Control.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/dataStores/{dataStoresId}/controls/{controlsId}", +"httpMethod": "GET", +"id": "discoveryengine.projects.locations.dataStores.controls.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the Control to get. Format: `projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}/controls/{control_id}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/dataStores/[^/]+/controls/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleCloudDiscoveryengineV1Control" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/discoveryengine.readwrite" +] +}, +"list": { +"description": "Lists all Controls by their parent DataStore.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/dataStores/{dataStoresId}/controls", +"httpMethod": "GET", +"id": "discoveryengine.projects.locations.dataStores.controls.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Optional. A filter to apply on the list results. Supported features: * List all the products under the parent branch if filter is unset. Currently this field is unsupported.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Optional. Maximum number of results to return. If unspecified, defaults to 50. Max allowed value is 1000.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. A page token, received from a previous `ListControls` call. Provide this to retrieve the subsequent page.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The data store resource name. Format: `projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}` or `projects/{project}/locations/{location}/collections/{collection_id}/engines/{engine_id}`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/dataStores/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/controls", +"response": { +"$ref": "GoogleCloudDiscoveryengineV1ListControlsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/discoveryengine.readwrite" +] +}, +"patch": { +"description": "Updates a Control. Control action type cannot be changed. If the Control to update does not exist, a NOT_FOUND error is returned.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/dataStores/{dataStoresId}/controls/{controlsId}", +"httpMethod": "PATCH", +"id": "discoveryengine.projects.locations.dataStores.controls.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Immutable. Fully qualified name `projects/*/locations/global/dataStore/*/controls/*`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/dataStores/[^/]+/controls/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Optional. Indicates which fields in the provided Control to update. The following are NOT supported: * Control.name * Control.solution_type If not set or empty, all supported fields are updated.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "GoogleCloudDiscoveryengineV1Control" +}, +"response": { +"$ref": "GoogleCloudDiscoveryengineV1Control" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/discoveryengine.readwrite" +] +} +} +}, +"conversations": { +"methods": { +"converse": { +"description": "Converses a conversation.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/dataStores/{dataStoresId}/conversations/{conversationsId}:converse", +"httpMethod": "POST", +"id": "discoveryengine.projects.locations.dataStores.conversations.converse", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the Conversation to get. Format: `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store_id}/conversations/{conversation_id}`. Use `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store_id}/conversations/-` to activate auto session mode, which automatically creates a new conversation inside a ConverseConversation session.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/dataStores/[^/]+/conversations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:converse", +"request": { +"$ref": "GoogleCloudDiscoveryengineV1ConverseConversationRequest" +}, +"response": { +"$ref": "GoogleCloudDiscoveryengineV1ConverseConversationResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/discoveryengine.readwrite" +] +}, +"create": { +"description": "Creates a Conversation. If the Conversation to create already exists, an ALREADY_EXISTS error is returned.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/dataStores/{dataStoresId}/conversations", +"httpMethod": "POST", +"id": "discoveryengine.projects.locations.dataStores.conversations.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. Full resource name of parent data store. Format: `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store_id}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/dataStores/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/conversations", +"request": { +"$ref": "GoogleCloudDiscoveryengineV1Conversation" +}, +"response": { +"$ref": "GoogleCloudDiscoveryengineV1Conversation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/discoveryengine.readwrite" +] +}, +"delete": { +"description": "Deletes a Conversation. If the Conversation to delete does not exist, a NOT_FOUND error is returned.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/dataStores/{dataStoresId}/conversations/{conversationsId}", +"httpMethod": "DELETE", +"id": "discoveryengine.projects.locations.dataStores.conversations.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the Conversation to delete. Format: `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store_id}/conversations/{conversation_id}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/dataStores/[^/]+/conversations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/discoveryengine.readwrite" +] +}, +"get": { +"description": "Gets a Conversation.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/dataStores/{dataStoresId}/conversations/{conversationsId}", +"httpMethod": "GET", +"id": "discoveryengine.projects.locations.dataStores.conversations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the Conversation to get. Format: `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store_id}/conversations/{conversation_id}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/dataStores/[^/]+/conversations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleCloudDiscoveryengineV1Conversation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/discoveryengine.readwrite" +] +}, +"list": { +"description": "Lists all Conversations by their parent DataStore.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/dataStores/{dataStoresId}/conversations", +"httpMethod": "GET", +"id": "discoveryengine.projects.locations.dataStores.conversations.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "A filter to apply on the list results. The supported features are: user_pseudo_id, state. Example: \"user_pseudo_id = some_id\"", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "A comma-separated list of fields to order by, sorted in ascending order. Use \"desc\" after a field name for descending. Supported fields: * `update_time` * `create_time` * `conversation_name` Example: \"update_time desc\" \"create_time\"", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Maximum number of results to return. If unspecified, defaults to 50. Max allowed value is 1000.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A page token, received from a previous `ListConversations` call. Provide this to retrieve the subsequent page.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The data store resource name. Format: `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store_id}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/dataStores/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/conversations", +"response": { +"$ref": "GoogleCloudDiscoveryengineV1ListConversationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/discoveryengine.readwrite" +] +}, +"patch": { +"description": "Updates a Conversation. Conversation action type cannot be changed. If the Conversation to update does not exist, a NOT_FOUND error is returned.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/dataStores/{dataStoresId}/conversations/{conversationsId}", +"httpMethod": "PATCH", +"id": "discoveryengine.projects.locations.dataStores.conversations.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Immutable. Fully qualified name `projects/{project}/locations/global/collections/{collection}/dataStore/*/conversations/*` or `projects/{project}/locations/global/collections/{collection}/engines/*/conversations/*`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/dataStores/[^/]+/conversations/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Indicates which fields in the provided Conversation to update. The following are NOT supported: * Conversation.name If not set or empty, all supported fields are updated.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "GoogleCloudDiscoveryengineV1Conversation" +}, +"response": { +"$ref": "GoogleCloudDiscoveryengineV1Conversation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/discoveryengine.readwrite" +] +} +} +}, +"models": { +"resources": { +"operations": { +"methods": { +"get": { +"description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/dataStores/{dataStoresId}/models/{modelsId}/operations/{operationsId}", +"httpMethod": "GET", +"id": "discoveryengine.projects.locations.dataStores.models.operations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/dataStores/[^/]+/models/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/discoveryengine.readwrite" +] +}, +"list": { +"description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/dataStores/{dataStoresId}/models/{modelsId}/operations", +"httpMethod": "GET", +"id": "discoveryengine.projects.locations.dataStores.models.operations.list", +"parameterOrder": [ +"name" +], +"parameters": { +"filter": { +"description": "The standard list filter.", +"location": "query", +"type": "string" +}, +"name": { +"description": "The name of the operation's parent resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/dataStores/[^/]+/models/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The standard list page size.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The standard list page token.", +"location": "query", +"type": "string" +}, +"returnPartialSuccess": { +"description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `\"projects/example/locations/-\"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1/{+name}/operations", +"response": { +"$ref": "GoogleLongrunningListOperationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/discoveryengine.readwrite" +] +} +} +} +} +}, +"operations": { +"methods": { +"get": { +"description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/dataStores/{dataStoresId}/operations/{operationsId}", +"httpMethod": "GET", +"id": "discoveryengine.projects.locations.dataStores.operations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/dataStores/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/discoveryengine.readwrite" +] +}, +"list": { +"description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/dataStores/{dataStoresId}/operations", +"httpMethod": "GET", +"id": "discoveryengine.projects.locations.dataStores.operations.list", +"parameterOrder": [ +"name" +], +"parameters": { +"filter": { +"description": "The standard list filter.", +"location": "query", +"type": "string" +}, +"name": { +"description": "The name of the operation's parent resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/dataStores/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The standard list page size.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The standard list page token.", +"location": "query", +"type": "string" +}, +"returnPartialSuccess": { +"description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `\"projects/example/locations/-\"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1/{+name}/operations", +"response": { +"$ref": "GoogleLongrunningListOperationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/discoveryengine.readwrite" +] +} +} +}, +"schemas": { +"methods": { +"create": { +"description": "Creates a Schema.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/dataStores/{dataStoresId}/schemas", +"httpMethod": "POST", +"id": "discoveryengine.projects.locations.dataStores.schemas.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The parent data store resource name, in the format of `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/dataStores/[^/]+$", +"required": true, +"type": "string" +}, +"schemaId": { +"description": "Required. The ID to use for the Schema, which becomes the final component of the Schema.name. This field should conform to [RFC-1034](https://tools.ietf.org/html/rfc1034) standard with a length limit of 63 characters.", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+parent}/schemas", +"request": { +"$ref": "GoogleCloudDiscoveryengineV1Schema" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/discoveryengine.readwrite" +] +}, +"delete": { +"description": "Deletes a Schema.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/dataStores/{dataStoresId}/schemas/{schemasId}", +"httpMethod": "DELETE", +"id": "discoveryengine.projects.locations.dataStores.schemas.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The full resource name of the schema, in the format of `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/schemas/{schema}`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/dataStores/[^/]+/schemas/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/discoveryengine.readwrite" +] +}, +"get": { +"description": "Gets a Schema.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/dataStores/{dataStoresId}/schemas/{schemasId}", +"httpMethod": "GET", +"id": "discoveryengine.projects.locations.dataStores.schemas.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The full resource name of the schema, in the format of `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/schemas/{schema}`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/dataStores/[^/]+/schemas/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleCloudDiscoveryengineV1Schema" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/discoveryengine.readwrite" +] +}, +"list": { +"description": "Gets a list of Schemas.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/dataStores/{dataStoresId}/schemas", +"httpMethod": "GET", +"id": "discoveryengine.projects.locations.dataStores.schemas.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "The maximum number of Schemas to return. The service may return fewer than this value. If unspecified, at most 100 Schemas are returned. The maximum value is 1000; values above 1000 are set to 1000.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A page token, received from a previous SchemaService.ListSchemas call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to SchemaService.ListSchemas must match the call that provided the page token.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent data store resource name, in the format of `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/dataStores/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/schemas", +"response": { +"$ref": "GoogleCloudDiscoveryengineV1ListSchemasResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/discoveryengine.readwrite" +] +}, +"patch": { +"description": "Updates a Schema.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/dataStores/{dataStoresId}/schemas/{schemasId}", +"httpMethod": "PATCH", +"id": "discoveryengine.projects.locations.dataStores.schemas.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"allowMissing": { +"description": "If set to true, and the Schema is not found, a new Schema is created. In this situation, `update_mask` is ignored.", +"location": "query", +"type": "boolean" +}, +"name": { +"description": "Immutable. The full resource name of the schema, in the format of `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/schemas/{schema}`. This field must be a UTF-8 encoded string with a length limit of 1024 characters.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/dataStores/[^/]+/schemas/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "GoogleCloudDiscoveryengineV1Schema" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/discoveryengine.readwrite" +] +} +} +}, +"servingConfigs": { +"methods": { +"answer": { +"description": "Answer query method.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/dataStores/{dataStoresId}/servingConfigs/{servingConfigsId}:answer", +"httpMethod": "POST", +"id": "discoveryengine.projects.locations.dataStores.servingConfigs.answer", +"parameterOrder": [ +"servingConfig" +], +"parameters": { +"servingConfig": { +"description": "Required. The resource name of the Search serving config, such as `projects/*/locations/global/collections/default_collection/engines/*/servingConfigs/default_serving_config`, or `projects/*/locations/global/collections/default_collection/dataStores/*/servingConfigs/default_serving_config`. This field is used to identify the serving configuration name, set of models used to make the search.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/dataStores/[^/]+/servingConfigs/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+servingConfig}:answer", +"request": { +"$ref": "GoogleCloudDiscoveryengineV1AnswerQueryRequest" +}, +"response": { +"$ref": "GoogleCloudDiscoveryengineV1AnswerQueryResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/discoveryengine.readwrite" +] +}, +"create": { +"description": "Creates a ServingConfig. Note: The Google Cloud console works only with the default serving config. Additional ServingConfigs can be created and managed only via the API. A maximum of 100 ServingConfigs are allowed in an Engine, otherwise a RESOURCE_EXHAUSTED error is returned.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/dataStores/{dataStoresId}/servingConfigs", +"httpMethod": "POST", +"id": "discoveryengine.projects.locations.dataStores.servingConfigs.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. Full resource name of parent. Format: `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/dataStores/[^/]+$", +"required": true, +"type": "string" +}, +"servingConfigId": { +"description": "Required. The ID to use for the ServingConfig, which will become the final component of the ServingConfig's resource name. This value should be 4-63 characters, and valid characters are /a-zA-Z0-9+/.", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+parent}/servingConfigs", +"request": { +"$ref": "GoogleCloudDiscoveryengineV1ServingConfig" +}, +"response": { +"$ref": "GoogleCloudDiscoveryengineV1ServingConfig" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/discoveryengine.readwrite" +] +}, +"delete": { +"description": "Deletes a ServingConfig. Returns a NOT_FOUND error if the ServingConfig does not exist.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/dataStores/{dataStoresId}/servingConfigs/{servingConfigsId}", +"httpMethod": "DELETE", +"id": "discoveryengine.projects.locations.dataStores.servingConfigs.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the ServingConfig to delete. Format: `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/servingConfigs/{serving_config_id}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/dataStores/[^/]+/servingConfigs/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/discoveryengine.readwrite" +] +}, +"get": { +"description": "Gets a ServingConfig. Returns a NotFound error if the ServingConfig does not exist.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/dataStores/{dataStoresId}/servingConfigs/{servingConfigsId}", +"httpMethod": "GET", +"id": "discoveryengine.projects.locations.dataStores.servingConfigs.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the ServingConfig to get. Format: `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/servingConfigs/{serving_config_id}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/dataStores/[^/]+/servingConfigs/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleCloudDiscoveryengineV1ServingConfig" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/discoveryengine.readwrite" +] +}, +"list": { +"description": "Lists all ServingConfigs linked to this dataStore.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/dataStores/{dataStoresId}/servingConfigs", +"httpMethod": "GET", +"id": "discoveryengine.projects.locations.dataStores.servingConfigs.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "Optional. Maximum number of results to return. If unspecified, defaults to 100. If a value greater than 100 is provided, at most 100 results are returned.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. A page token, received from a previous `ListServingConfigs` call. Provide this to retrieve the subsequent page.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. Full resource name of the parent resource. Format: `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/dataStores/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/servingConfigs", +"response": { +"$ref": "GoogleCloudDiscoveryengineV1ListServingConfigsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/discoveryengine.readwrite" +] +}, +"patch": { +"description": "Updates a ServingConfig. Returns a NOT_FOUND error if the ServingConfig does not exist.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/dataStores/{dataStoresId}/servingConfigs/{servingConfigsId}", +"httpMethod": "PATCH", +"id": "discoveryengine.projects.locations.dataStores.servingConfigs.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Immutable. Fully qualified name `projects/{project}/locations/{location}/collections/{collection_id}/engines/{engine_id}/servingConfigs/{serving_config_id}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/dataStores/[^/]+/servingConfigs/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Indicates which fields in the provided ServingConfig to update. The following are NOT supported: * ServingConfig.name If not set, all supported fields are updated.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "GoogleCloudDiscoveryengineV1ServingConfig" +}, +"response": { +"$ref": "GoogleCloudDiscoveryengineV1ServingConfig" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/discoveryengine.readwrite" +] +}, +"recommend": { +"description": "Makes a recommendation, which requires a contextual user event.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/dataStores/{dataStoresId}/servingConfigs/{servingConfigsId}:recommend", +"httpMethod": "POST", +"id": "discoveryengine.projects.locations.dataStores.servingConfigs.recommend", +"parameterOrder": [ +"servingConfig" +], +"parameters": { +"servingConfig": { +"description": "Required. Full resource name of a ServingConfig: `projects/*/locations/global/collections/*/engines/*/servingConfigs/*`, or `projects/*/locations/global/collections/*/dataStores/*/servingConfigs/*` One default serving config is created along with your recommendation engine creation. The engine ID is used as the ID of the default serving config. For example, for Engine `projects/*/locations/global/collections/*/engines/my-engine`, you can use `projects/*/locations/global/collections/*/engines/my-engine/servingConfigs/my-engine` for your RecommendationService.Recommend requests.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/dataStores/[^/]+/servingConfigs/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+servingConfig}:recommend", +"request": { +"$ref": "GoogleCloudDiscoveryengineV1RecommendRequest" +}, +"response": { +"$ref": "GoogleCloudDiscoveryengineV1RecommendResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/discoveryengine.readwrite" +] +}, +"search": { +"description": "Performs a search.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/dataStores/{dataStoresId}/servingConfigs/{servingConfigsId}:search", +"httpMethod": "POST", +"id": "discoveryengine.projects.locations.dataStores.servingConfigs.search", +"parameterOrder": [ +"servingConfig" +], +"parameters": { +"servingConfig": { +"description": "Required. The resource name of the Search serving config, such as `projects/*/locations/global/collections/default_collection/engines/*/servingConfigs/default_serving_config`, or `projects/*/locations/global/collections/default_collection/dataStores/default_data_store/servingConfigs/default_serving_config`. This field is used to identify the serving configuration name, set of models used to make the search.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/dataStores/[^/]+/servingConfigs/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+servingConfig}:search", +"request": { +"$ref": "GoogleCloudDiscoveryengineV1SearchRequest" +}, +"response": { +"$ref": "GoogleCloudDiscoveryengineV1SearchResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/discoveryengine.assist.readwrite", +"https://www.googleapis.com/auth/discoveryengine.readwrite" +] +}, +"searchLite": { +"description": "Performs a search. Similar to the SearchService.Search method, but a lite version that allows API key for authentication, where OAuth and IAM checks are not required. Only public website search is supported by this method. If data stores and engines not associated with public website search are specified, a `FAILED_PRECONDITION` error is returned. This method can be used for easy onboarding without having to implement an authentication backend. However, it is strongly recommended to use SearchService.Search instead with required OAuth and IAM checks to provide better data security.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/dataStores/{dataStoresId}/servingConfigs/{servingConfigsId}:searchLite", +"httpMethod": "POST", +"id": "discoveryengine.projects.locations.dataStores.servingConfigs.searchLite", +"parameterOrder": [ +"servingConfig" +], +"parameters": { +"servingConfig": { +"description": "Required. The resource name of the Search serving config, such as `projects/*/locations/global/collections/default_collection/engines/*/servingConfigs/default_serving_config`, or `projects/*/locations/global/collections/default_collection/dataStores/default_data_store/servingConfigs/default_serving_config`. This field is used to identify the serving configuration name, set of models used to make the search.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/dataStores/[^/]+/servingConfigs/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+servingConfig}:searchLite", +"request": { +"$ref": "GoogleCloudDiscoveryengineV1SearchRequest" +}, +"response": { +"$ref": "GoogleCloudDiscoveryengineV1SearchResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/discoveryengine.assist.readwrite", +"https://www.googleapis.com/auth/discoveryengine.readwrite" +] +}, +"streamAnswer": { +"description": "Answer query method (streaming). It takes one AnswerQueryRequest and returns multiple AnswerQueryResponse messages in a stream.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/dataStores/{dataStoresId}/servingConfigs/{servingConfigsId}:streamAnswer", +"httpMethod": "POST", +"id": "discoveryengine.projects.locations.dataStores.servingConfigs.streamAnswer", +"parameterOrder": [ +"servingConfig" +], +"parameters": { +"servingConfig": { +"description": "Required. The resource name of the Search serving config, such as `projects/*/locations/global/collections/default_collection/engines/*/servingConfigs/default_serving_config`, or `projects/*/locations/global/collections/default_collection/dataStores/*/servingConfigs/default_serving_config`. This field is used to identify the serving configuration name, set of models used to make the search.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/dataStores/[^/]+/servingConfigs/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+servingConfig}:streamAnswer", +"request": { +"$ref": "GoogleCloudDiscoveryengineV1AnswerQueryRequest" +}, +"response": { +"$ref": "GoogleCloudDiscoveryengineV1AnswerQueryResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/discoveryengine.readwrite" +] +} +} +}, +"sessions": { +"methods": { +"create": { +"description": "Creates a Session. If the Session to create already exists, an ALREADY_EXISTS error is returned.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/dataStores/{dataStoresId}/sessions", +"httpMethod": "POST", +"id": "discoveryengine.projects.locations.dataStores.sessions.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. Full resource name of parent data store. Format: `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store_id}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/dataStores/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/sessions", +"request": { +"$ref": "GoogleCloudDiscoveryengineV1Session" +}, +"response": { +"$ref": "GoogleCloudDiscoveryengineV1Session" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/discoveryengine.assist.readwrite", +"https://www.googleapis.com/auth/discoveryengine.readwrite" +] +}, +"delete": { +"description": "Deletes a Session. If the Session to delete does not exist, a NOT_FOUND error is returned.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/dataStores/{dataStoresId}/sessions/{sessionsId}", +"httpMethod": "DELETE", +"id": "discoveryengine.projects.locations.dataStores.sessions.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the Session to delete. Format: `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store_id}/sessions/{session_id}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/dataStores/[^/]+/sessions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/discoveryengine.assist.readwrite", +"https://www.googleapis.com/auth/discoveryengine.readwrite" +] +}, +"get": { +"description": "Gets a Session.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/dataStores/{dataStoresId}/sessions/{sessionsId}", +"httpMethod": "GET", +"id": "discoveryengine.projects.locations.dataStores.sessions.get", +"parameterOrder": [ +"name" +], +"parameters": { +"includeAnswerDetails": { +"description": "Optional. If set to true, the full session including all answer details will be returned.", +"location": "query", +"type": "boolean" +}, +"name": { +"description": "Required. The resource name of the Session to get. Format: `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store_id}/sessions/{session_id}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/dataStores/[^/]+/sessions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleCloudDiscoveryengineV1Session" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/discoveryengine.assist.readwrite", +"https://www.googleapis.com/auth/discoveryengine.readwrite" +] +}, +"list": { +"description": "Lists all Sessions by their parent DataStore.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/dataStores/{dataStoresId}/sessions", +"httpMethod": "GET", +"id": "discoveryengine.projects.locations.dataStores.sessions.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "A comma-separated list of fields to filter by, in EBNF grammar. The supported fields are: * `user_pseudo_id` * `state` * `display_name` * `starred` * `is_pinned` * `labels` * `create_time` * `update_time` * `collaborative_project` Examples: * `user_pseudo_id = some_id` * `display_name = \"some_name\"` * `starred = true` * `is_pinned=true AND (NOT labels:hidden)` * `create_time > \"1970-01-01T12:00:00Z\"` * `collaborative_project = \"projects/123/locations/global/collections/default_collection/engines/\" \"default_engine/collaborative_projects/cp1\"`", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "A comma-separated list of fields to order by, sorted in ascending order. Use \"desc\" after a field name for descending. Supported fields: * `update_time` * `create_time` * `session_name` * `is_pinned` Example: * `update_time desc` * `create_time` * `is_pinned desc,update_time desc`: list sessions by is_pinned first, then by update_time.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Maximum number of results to return. If unspecified, defaults to 50. Max allowed value is 1000.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A page token, received from a previous `ListSessions` call. Provide this to retrieve the subsequent page.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The data store resource name. Format: `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store_id}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/dataStores/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/sessions", +"response": { +"$ref": "GoogleCloudDiscoveryengineV1ListSessionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/discoveryengine.assist.readwrite", +"https://www.googleapis.com/auth/discoveryengine.readwrite" +] +}, +"patch": { +"description": "Updates a Session. Session action type cannot be changed. If the Session to update does not exist, a NOT_FOUND error is returned.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/dataStores/{dataStoresId}/sessions/{sessionsId}", +"httpMethod": "PATCH", +"id": "discoveryengine.projects.locations.dataStores.sessions.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Immutable. Fully qualified name `projects/{project}/locations/global/collections/{collection}/engines/{engine}/sessions/*`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/dataStores/[^/]+/sessions/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Indicates which fields in the provided Session to update. The following are NOT supported: * Session.name If not set or empty, all supported fields are updated.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "GoogleCloudDiscoveryengineV1Session" +}, +"response": { +"$ref": "GoogleCloudDiscoveryengineV1Session" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/discoveryengine.assist.readwrite", +"https://www.googleapis.com/auth/discoveryengine.readwrite" +] +} +}, +"resources": { +"answers": { +"methods": { +"get": { +"description": "Gets a Answer.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/dataStores/{dataStoresId}/sessions/{sessionsId}/answers/{answersId}", +"httpMethod": "GET", +"id": "discoveryengine.projects.locations.dataStores.sessions.answers.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the Answer to get. Format: `projects/{project}/locations/{location}/collections/{collection}/engines/{engine_id}/sessions/{session_id}/answers/{answer_id}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/dataStores/[^/]+/sessions/[^/]+/answers/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleCloudDiscoveryengineV1Answer" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/discoveryengine.readwrite" +] +} +} +} +} +}, +"siteSearchEngine": { +"methods": { +"disableAdvancedSiteSearch": { +"description": "Downgrade from advanced site search to basic site search.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/dataStores/{dataStoresId}/siteSearchEngine:disableAdvancedSiteSearch", +"httpMethod": "POST", +"id": "discoveryengine.projects.locations.dataStores.siteSearchEngine.disableAdvancedSiteSearch", +"parameterOrder": [ +"siteSearchEngine" +], +"parameters": { +"siteSearchEngine": { +"description": "Required. Full resource name of the SiteSearchEngine, such as `projects/{project}/locations/{location}/dataStores/{data_store_id}/siteSearchEngine`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/dataStores/[^/]+/siteSearchEngine$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+siteSearchEngine}:disableAdvancedSiteSearch", +"request": { +"$ref": "GoogleCloudDiscoveryengineV1DisableAdvancedSiteSearchRequest" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/discoveryengine.readwrite" +] +}, +"enableAdvancedSiteSearch": { +"description": "Upgrade from basic site search to advanced site search.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/dataStores/{dataStoresId}/siteSearchEngine:enableAdvancedSiteSearch", +"httpMethod": "POST", +"id": "discoveryengine.projects.locations.dataStores.siteSearchEngine.enableAdvancedSiteSearch", +"parameterOrder": [ +"siteSearchEngine" +], +"parameters": { +"siteSearchEngine": { +"description": "Required. Full resource name of the SiteSearchEngine, such as `projects/{project}/locations/{location}/dataStores/{data_store_id}/siteSearchEngine`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/dataStores/[^/]+/siteSearchEngine$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+siteSearchEngine}:enableAdvancedSiteSearch", +"request": { +"$ref": "GoogleCloudDiscoveryengineV1EnableAdvancedSiteSearchRequest" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/discoveryengine.readwrite" +] +}, +"recrawlUris": { +"description": "Request on-demand recrawl for a list of URIs.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/dataStores/{dataStoresId}/siteSearchEngine:recrawlUris", +"httpMethod": "POST", +"id": "discoveryengine.projects.locations.dataStores.siteSearchEngine.recrawlUris", +"parameterOrder": [ +"siteSearchEngine" +], +"parameters": { +"siteSearchEngine": { +"description": "Required. Full resource name of the SiteSearchEngine, such as `projects/*/locations/*/collections/*/dataStores/*/siteSearchEngine`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/dataStores/[^/]+/siteSearchEngine$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+siteSearchEngine}:recrawlUris", +"request": { +"$ref": "GoogleCloudDiscoveryengineV1RecrawlUrisRequest" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/discoveryengine.readwrite" +] +} +}, +"resources": { +"sitemaps": { +"methods": { +"create": { +"description": "Creates a Sitemap.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/dataStores/{dataStoresId}/siteSearchEngine/sitemaps", +"httpMethod": "POST", +"id": "discoveryengine.projects.locations.dataStores.siteSearchEngine.sitemaps.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. Parent resource name of the SiteSearchEngine, such as `projects/*/locations/*/collections/*/dataStores/*/siteSearchEngine`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/dataStores/[^/]+/siteSearchEngine$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/sitemaps", +"request": { +"$ref": "GoogleCloudDiscoveryengineV1Sitemap" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/discoveryengine.readwrite" +] +}, +"delete": { +"description": "Deletes a Sitemap.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/dataStores/{dataStoresId}/siteSearchEngine/sitemaps/{sitemapsId}", +"httpMethod": "DELETE", +"id": "discoveryengine.projects.locations.dataStores.siteSearchEngine.sitemaps.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Full resource name of Sitemap, such as `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine/sitemaps/{sitemap}`. If the caller does not have permission to access the Sitemap, regardless of whether or not it exists, a PERMISSION_DENIED error is returned. If the requested Sitemap does not exist, a NOT_FOUND error is returned.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/dataStores/[^/]+/siteSearchEngine/sitemaps/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/discoveryengine.readwrite" +] +}, +"fetch": { +"description": "Fetch Sitemaps in a DataStore.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/dataStores/{dataStoresId}/siteSearchEngine/sitemaps:fetch", +"httpMethod": "GET", +"id": "discoveryengine.projects.locations.dataStores.siteSearchEngine.sitemaps.fetch", +"parameterOrder": [ +"parent" +], +"parameters": { +"matcher.urisMatcher.uris": { +"description": "The Sitemap uris.", +"location": "query", +"repeated": true, +"type": "string" +}, +"parent": { +"description": "Required. Parent resource name of the SiteSearchEngine, such as `projects/*/locations/*/collections/*/dataStores/*/siteSearchEngine`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/dataStores/[^/]+/siteSearchEngine$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/sitemaps:fetch", +"response": { +"$ref": "GoogleCloudDiscoveryengineV1FetchSitemapsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/discoveryengine.readwrite" +] +} +} +}, +"targetSites": { +"methods": { +"batchCreate": { +"description": "Creates TargetSite in a batch.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/dataStores/{dataStoresId}/siteSearchEngine/targetSites:batchCreate", +"httpMethod": "POST", +"id": "discoveryengine.projects.locations.dataStores.siteSearchEngine.targetSites.batchCreate", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The parent resource shared by all TargetSites being created. `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine`. The parent field in the CreateBookRequest messages must either be empty or match this field.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/dataStores/[^/]+/siteSearchEngine$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/targetSites:batchCreate", +"request": { +"$ref": "GoogleCloudDiscoveryengineV1BatchCreateTargetSitesRequest" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/discoveryengine.readwrite" +] +}, +"create": { +"description": "Creates a TargetSite.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/dataStores/{dataStoresId}/siteSearchEngine/targetSites", +"httpMethod": "POST", +"id": "discoveryengine.projects.locations.dataStores.siteSearchEngine.targetSites.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. Parent resource name of TargetSite, such as `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/dataStores/[^/]+/siteSearchEngine$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/targetSites", +"request": { +"$ref": "GoogleCloudDiscoveryengineV1TargetSite" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/discoveryengine.readwrite" +] +}, +"delete": { +"description": "Deletes a TargetSite.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/dataStores/{dataStoresId}/siteSearchEngine/targetSites/{targetSitesId}", +"httpMethod": "DELETE", +"id": "discoveryengine.projects.locations.dataStores.siteSearchEngine.targetSites.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Full resource name of TargetSite, such as `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}`. If the caller does not have permission to access the TargetSite, regardless of whether or not it exists, a PERMISSION_DENIED error is returned. If the requested TargetSite does not exist, a NOT_FOUND error is returned.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/dataStores/[^/]+/siteSearchEngine/targetSites/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/discoveryengine.readwrite" +] +}, +"get": { +"description": "Gets a TargetSite.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/dataStores/{dataStoresId}/siteSearchEngine/targetSites/{targetSitesId}", +"httpMethod": "GET", +"id": "discoveryengine.projects.locations.dataStores.siteSearchEngine.targetSites.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Full resource name of TargetSite, such as `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}`. If the caller does not have permission to access the TargetSite, regardless of whether or not it exists, a PERMISSION_DENIED error is returned. If the requested TargetSite does not exist, a NOT_FOUND error is returned.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/dataStores/[^/]+/siteSearchEngine/targetSites/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleCloudDiscoveryengineV1TargetSite" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/discoveryengine.readwrite" +] +}, +"list": { +"description": "Gets a list of TargetSites.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/dataStores/{dataStoresId}/siteSearchEngine/targetSites", +"httpMethod": "GET", +"id": "discoveryengine.projects.locations.dataStores.siteSearchEngine.targetSites.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default. The maximum value is 1000; values above 1000 will be coerced to 1000. If this field is negative, an INVALID_ARGUMENT error is returned.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A page token, received from a previous `ListTargetSites` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListTargetSites` must match the call that provided the page token.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent site search engine resource name, such as `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine`. If the caller does not have permission to list TargetSites under this site search engine, regardless of whether or not this branch exists, a PERMISSION_DENIED error is returned.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/dataStores/[^/]+/siteSearchEngine$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/targetSites", +"response": { +"$ref": "GoogleCloudDiscoveryengineV1ListTargetSitesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/discoveryengine.readwrite" +] +}, +"patch": { +"description": "Updates a TargetSite.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/dataStores/{dataStoresId}/siteSearchEngine/targetSites/{targetSitesId}", +"httpMethod": "PATCH", +"id": "discoveryengine.projects.locations.dataStores.siteSearchEngine.targetSites.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Output only. The fully qualified resource name of the target site. `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}` The `target_site_id` is system-generated.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/dataStores/[^/]+/siteSearchEngine/targetSites/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "GoogleCloudDiscoveryengineV1TargetSite" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/discoveryengine.readwrite" +] +} +} +} +} +}, +"suggestionDenyListEntries": { +"methods": { +"import": { +"description": "Imports all SuggestionDenyListEntry for a DataStore.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/dataStores/{dataStoresId}/suggestionDenyListEntries:import", +"httpMethod": "POST", +"id": "discoveryengine.projects.locations.dataStores.suggestionDenyListEntries.import", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The parent data store resource name for which to import denylist entries. Follows pattern projects/*/locations/*/collections/*/dataStores/*.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/dataStores/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/suggestionDenyListEntries:import", +"request": { +"$ref": "GoogleCloudDiscoveryengineV1ImportSuggestionDenyListEntriesRequest" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/discoveryengine.assist.readwrite", +"https://www.googleapis.com/auth/discoveryengine.readwrite" +] +}, +"purge": { +"description": "Permanently deletes all SuggestionDenyListEntry for a DataStore.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/dataStores/{dataStoresId}/suggestionDenyListEntries:purge", +"httpMethod": "POST", +"id": "discoveryengine.projects.locations.dataStores.suggestionDenyListEntries.purge", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The parent data store resource name for which to import denylist entries. Follows pattern projects/*/locations/*/collections/*/dataStores/*.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/dataStores/.*$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/suggestionDenyListEntries:purge", +"request": { +"$ref": "GoogleCloudDiscoveryengineV1PurgeSuggestionDenyListEntriesRequest" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/discoveryengine.assist.readwrite", +"https://www.googleapis.com/auth/discoveryengine.readwrite" +] +} +} +}, +"userEvents": { +"methods": { +"collect": { +"description": "Writes a single user event from the browser. This uses a GET request to due to browser restriction of POST-ing to a third-party domain. This method is used only by the Discovery Engine API JavaScript pixel and Google Tag Manager. Users should not call this method directly.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/dataStores/{dataStoresId}/userEvents:collect", +"httpMethod": "GET", +"id": "discoveryengine.projects.locations.dataStores.userEvents.collect", +"parameterOrder": [ +"parent" +], +"parameters": { +"ets": { +"description": "The event timestamp in milliseconds. This prevents browser caching of otherwise identical get requests. The name is abbreviated to reduce the payload bytes.", +"format": "int64", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent resource name. If the collect user event action is applied in DataStore level, the format is: `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}`. If the collect user event action is applied in Location level, for example, the event with Document across multiple DataStore, the format is: `projects/{project}/locations/{location}`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/dataStores/[^/]+$", +"required": true, +"type": "string" +}, +"uri": { +"description": "The URL including cgi-parameters but excluding the hash fragment with a length limit of 5,000 characters. This is often more useful than the referer URL, because many browsers only send the domain for third-party requests.", +"location": "query", +"type": "string" +}, +"userEvent": { +"description": "Required. URL encoded UserEvent proto with a length limit of 2,000,000 characters.", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+parent}/userEvents:collect", +"response": { +"$ref": "GoogleApiHttpBody" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/discoveryengine.assist.readwrite", +"https://www.googleapis.com/auth/discoveryengine.readwrite" +] +}, +"import": { +"description": "Bulk import of user events. Request processing might be synchronous. Events that already exist are skipped. Use this method for backfilling historical user events. Operation.response is of type ImportResponse. Note that it is possible for a subset of the items to be successfully inserted. Operation.metadata is of type ImportMetadata.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/dataStores/{dataStoresId}/userEvents:import", +"httpMethod": "POST", +"id": "discoveryengine.projects.locations.dataStores.userEvents.import", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. Parent DataStore resource name, of the form `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/dataStores/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/userEvents:import", +"request": { +"$ref": "GoogleCloudDiscoveryengineV1ImportUserEventsRequest" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/discoveryengine.assist.readwrite", +"https://www.googleapis.com/auth/discoveryengine.readwrite" +] +}, +"purge": { +"description": "Deletes permanently all user events specified by the filter provided. Depending on the number of events specified by the filter, this operation could take hours or days to complete. To test a filter, use the list command first.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/dataStores/{dataStoresId}/userEvents:purge", +"httpMethod": "POST", +"id": "discoveryengine.projects.locations.dataStores.userEvents.purge", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The resource name of the catalog under which the events are created. The format is `projects/{project}/locations/global/collections/{collection}/dataStores/{dataStore}`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/dataStores/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/userEvents:purge", +"request": { +"$ref": "GoogleCloudDiscoveryengineV1PurgeUserEventsRequest" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/discoveryengine.assist.readwrite", +"https://www.googleapis.com/auth/discoveryengine.readwrite" +] +}, +"write": { +"description": "Writes a single user event.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/dataStores/{dataStoresId}/userEvents:write", +"httpMethod": "POST", +"id": "discoveryengine.projects.locations.dataStores.userEvents.write", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The parent resource name. If the write user event action is applied in DataStore level, the format is: `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}`. If the write user event action is applied in Location level, for example, the event with Document across multiple DataStore, the format is: `projects/{project}/locations/{location}`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/dataStores/[^/]+$", +"required": true, +"type": "string" +}, +"writeAsync": { +"description": "If set to true, the user event is written asynchronously after validation, and the API responds without waiting for the write.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1/{+parent}/userEvents:write", +"request": { +"$ref": "GoogleCloudDiscoveryengineV1UserEvent" +}, +"response": { +"$ref": "GoogleCloudDiscoveryengineV1UserEvent" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/discoveryengine.assist.readwrite", +"https://www.googleapis.com/auth/discoveryengine.readwrite" +] +} +} +}, +"widgetConfigs": { +"methods": { +"get": { +"description": "Gets a WidgetConfig.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/dataStores/{dataStoresId}/widgetConfigs/{widgetConfigsId}", +"httpMethod": "GET", +"id": "discoveryengine.projects.locations.dataStores.widgetConfigs.get", +"parameterOrder": [ +"name" +], +"parameters": { +"acceptCache": { +"description": "Optional. Whether it's acceptable to load the widget config from cache. If set to true, recent changes on widget configs may take a few minutes to reflect on the end user's view. It's recommended to set to true for maturely developed widgets, as it improves widget performance. Set to false to see changes reflected in prod right away, if your widget is under development.", +"location": "query", +"type": "boolean" +}, +"getWidgetConfigRequestOption.turnOffCollectionComponents": { +"description": "Optional. Whether to turn off collection_components in WidgetConfig to reduce latency and data transmission.", +"location": "query", +"type": "boolean" +}, +"name": { +"description": "Required. Full WidgetConfig resource name. Format: `projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}/widgetConfigs/{widget_config_id}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/dataStores/[^/]+/widgetConfigs/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleCloudDiscoveryengineV1WidgetConfig" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/discoveryengine.assist.readwrite", +"https://www.googleapis.com/auth/discoveryengine.readwrite" +] +}, +"patch": { +"description": "Update a WidgetConfig.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/dataStores/{dataStoresId}/widgetConfigs/{widgetConfigsId}", +"httpMethod": "PATCH", +"id": "discoveryengine.projects.locations.dataStores.widgetConfigs.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Immutable. The full resource name of the widget config. Format: `projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}/widgetConfigs/{widget_config_id}`. This field must be a UTF-8 encoded string with a length limit of 1024 characters.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/dataStores/[^/]+/widgetConfigs/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Indicates which fields in the provided WidgetConfig to update. The following are the only supported fields: * WidgetConfig.enable_autocomplete If not set, all supported fields are updated.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "GoogleCloudDiscoveryengineV1WidgetConfig" +}, +"response": { +"$ref": "GoogleCloudDiscoveryengineV1WidgetConfig" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/discoveryengine.assist.readwrite", +"https://www.googleapis.com/auth/discoveryengine.readwrite" +] +} +} +} +} +}, +"groundingConfigs": { +"methods": { +"check": { +"description": "Performs a grounding check.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/groundingConfigs/{groundingConfigsId}:check", +"httpMethod": "POST", +"id": "discoveryengine.projects.locations.groundingConfigs.check", +"parameterOrder": [ +"groundingConfig" +], +"parameters": { +"groundingConfig": { +"description": "Required. The resource name of the grounding config, such as `projects/*/locations/global/groundingConfigs/default_grounding_config`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/groundingConfigs/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+groundingConfig}:check", +"request": { +"$ref": "GoogleCloudDiscoveryengineV1CheckGroundingRequest" +}, +"response": { +"$ref": "GoogleCloudDiscoveryengineV1CheckGroundingResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/discoveryengine.readwrite" +] +} +} +}, +"identityMappingStores": { +"methods": { +"create": { +"description": "Creates a new Identity Mapping Store.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/identityMappingStores", +"httpMethod": "POST", +"id": "discoveryengine.projects.locations.identityMappingStores.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"cmekConfigName": { +"description": "Resource name of the CmekConfig to use for protecting this Identity Mapping Store.", +"location": "query", +"type": "string" +}, +"disableCmek": { +"description": "Identity Mapping Store without CMEK protections. If a default CmekConfig is set for the project, setting this field will override the default CmekConfig as well.", +"location": "query", +"type": "boolean" +}, +"identityMappingStoreId": { +"description": "Required. The ID of the Identity Mapping Store to create. The ID must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). The maximum length is 63 characters.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent collection resource name, such as `projects/{project}/locations/{location}`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/identityMappingStores", +"request": { +"$ref": "GoogleCloudDiscoveryengineV1IdentityMappingStore" +}, +"response": { +"$ref": "GoogleCloudDiscoveryengineV1IdentityMappingStore" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/discoveryengine.readwrite" +] +}, +"delete": { +"description": "Deletes the Identity Mapping Store.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/identityMappingStores/{identityMappingStoresId}", +"httpMethod": "DELETE", +"id": "discoveryengine.projects.locations.identityMappingStores.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the Identity Mapping Store to delete. Format: `projects/{project}/locations/{location}/identityMappingStores/{identityMappingStore}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/identityMappingStores/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/discoveryengine.readwrite" +] +}, +"get": { +"description": "Gets the Identity Mapping Store.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/identityMappingStores/{identityMappingStoresId}", +"httpMethod": "GET", +"id": "discoveryengine.projects.locations.identityMappingStores.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the Identity Mapping Store to get. Format: `projects/{project}/locations/{location}/identityMappingStores/{identityMappingStore}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/identityMappingStores/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleCloudDiscoveryengineV1IdentityMappingStore" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/discoveryengine.readwrite" +] +}, +"importIdentityMappings": { +"description": "Imports a list of Identity Mapping Entries to an Identity Mapping Store.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/identityMappingStores/{identityMappingStoresId}:importIdentityMappings", +"httpMethod": "POST", +"id": "discoveryengine.projects.locations.identityMappingStores.importIdentityMappings", +"parameterOrder": [ +"identityMappingStore" +], +"parameters": { +"identityMappingStore": { +"description": "Required. The name of the Identity Mapping Store to import Identity Mapping Entries to. Format: `projects/{project}/locations/{location}/identityMappingStores/{identityMappingStore}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/identityMappingStores/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+identityMappingStore}:importIdentityMappings", +"request": { +"$ref": "GoogleCloudDiscoveryengineV1ImportIdentityMappingsRequest" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/discoveryengine.readwrite" +] +}, +"list": { +"description": "Lists all Identity Mapping Stores.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/identityMappingStores", +"httpMethod": "GET", +"id": "discoveryengine.projects.locations.identityMappingStores.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "Maximum number of IdentityMappingStores to return. If unspecified, defaults to 100. The maximum allowed value is 1000. Values above 1000 will be coerced to 1000.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A page token, received from a previous `ListIdentityMappingStores` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListIdentityMappingStores` must match the call that provided the page token.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent of the Identity Mapping Stores to list. Format: `projects/{project}/locations/{location}`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/identityMappingStores", +"response": { +"$ref": "GoogleCloudDiscoveryengineV1ListIdentityMappingStoresResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/discoveryengine.readwrite" +] +}, +"listIdentityMappings": { +"description": "Lists Identity Mappings in an Identity Mapping Store.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/identityMappingStores/{identityMappingStoresId}:listIdentityMappings", +"httpMethod": "GET", +"id": "discoveryengine.projects.locations.identityMappingStores.listIdentityMappings", +"parameterOrder": [ +"identityMappingStore" +], +"parameters": { +"identityMappingStore": { +"description": "Required. The name of the Identity Mapping Store to list Identity Mapping Entries in. Format: `projects/{project}/locations/{location}/identityMappingStores/{identityMappingStore}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/identityMappingStores/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "Maximum number of IdentityMappings to return. If unspecified, defaults to 2000. The maximum allowed value is 10000. Values above 10000 will be coerced to 10000.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A page token, received from a previous `ListIdentityMappings` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListIdentityMappings` must match the call that provided the page token.", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+identityMappingStore}:listIdentityMappings", +"response": { +"$ref": "GoogleCloudDiscoveryengineV1ListIdentityMappingsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/discoveryengine.readwrite" +] +}, +"purgeIdentityMappings": { +"description": "Purges specified or all Identity Mapping Entries from an Identity Mapping Store.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/identityMappingStores/{identityMappingStoresId}:purgeIdentityMappings", +"httpMethod": "POST", +"id": "discoveryengine.projects.locations.identityMappingStores.purgeIdentityMappings", +"parameterOrder": [ +"identityMappingStore" +], +"parameters": { +"identityMappingStore": { +"description": "Required. The name of the Identity Mapping Store to purge Identity Mapping Entries from. Format: `projects/{project}/locations/{location}/identityMappingStores/{identityMappingStore}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/identityMappingStores/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+identityMappingStore}:purgeIdentityMappings", +"request": { +"$ref": "GoogleCloudDiscoveryengineV1PurgeIdentityMappingsRequest" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/discoveryengine.readwrite" +] +} +}, +"resources": { +"operations": { +"methods": { +"get": { +"description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/identityMappingStores/{identityMappingStoresId}/operations/{operationsId}", +"httpMethod": "GET", +"id": "discoveryengine.projects.locations.identityMappingStores.operations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/identityMappingStores/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/discoveryengine.readwrite" +] +}, +"list": { +"description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/identityMappingStores/{identityMappingStoresId}/operations", +"httpMethod": "GET", +"id": "discoveryengine.projects.locations.identityMappingStores.operations.list", +"parameterOrder": [ +"name" +], +"parameters": { +"filter": { +"description": "The standard list filter.", +"location": "query", +"type": "string" +}, +"name": { +"description": "The name of the operation's parent resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/identityMappingStores/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The standard list page size.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The standard list page token.", +"location": "query", +"type": "string" +}, +"returnPartialSuccess": { +"description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `\"projects/example/locations/-\"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1/{+name}/operations", +"response": { +"$ref": "GoogleLongrunningListOperationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/discoveryengine.readwrite" +] +} +} +} +} +}, +"licenseConfigs": { +"methods": { +"create": { +"description": "Creates a LicenseConfig This method should only be used for creating NotebookLm licenses or Gemini Enterprise free trial licenses.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/licenseConfigs", +"httpMethod": "POST", +"id": "discoveryengine.projects.locations.licenseConfigs.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"licenseConfigId": { +"description": "Optional. The ID to use for the LicenseConfig, which will become the final component of the LicenseConfig's resource name. We are using the tier (product edition) name as the license config id such as `search` or `search_and_assistant`.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent resource name, such as `projects/{project}/locations/{location}`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/licenseConfigs", +"request": { +"$ref": "GoogleCloudDiscoveryengineV1LicenseConfig" +}, +"response": { +"$ref": "GoogleCloudDiscoveryengineV1LicenseConfig" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/discoveryengine.readwrite" +] +}, +"get": { +"description": "Gets a LicenseConfig.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/licenseConfigs/{licenseConfigsId}", +"httpMethod": "GET", +"id": "discoveryengine.projects.locations.licenseConfigs.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Full resource name of LicenseConfig, such as `projects/{project}/locations/{location}/licenseConfigs/*`. If the caller does not have permission to access the LicenseConfig, regardless of whether or not it exists, a PERMISSION_DENIED error is returned. If the requested LicenseConfig does not exist, a NOT_FOUND error is returned.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/licenseConfigs/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleCloudDiscoveryengineV1LicenseConfig" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/discoveryengine.readwrite" +] +}, +"patch": { +"description": "Updates the LicenseConfig", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/licenseConfigs/{licenseConfigsId}", +"httpMethod": "PATCH", +"id": "discoveryengine.projects.locations.licenseConfigs.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Immutable. Identifier. The fully qualified resource name of the license config. Format: `projects/{project}/locations/{location}/licenseConfigs/{license_config}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/licenseConfigs/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Optional. Indicates which fields in the provided LicenseConfig to update. If an unsupported or unknown field is provided, an INVALID_ARGUMENT error is returned.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "GoogleCloudDiscoveryengineV1LicenseConfig" +}, +"response": { +"$ref": "GoogleCloudDiscoveryengineV1LicenseConfig" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/discoveryengine.readwrite" +] +} +} +}, +"operations": { +"methods": { +"get": { +"description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}", +"httpMethod": "GET", +"id": "discoveryengine.projects.locations.operations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/discoveryengine.readwrite" +] +}, +"list": { +"description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/operations", +"httpMethod": "GET", +"id": "discoveryengine.projects.locations.operations.list", +"parameterOrder": [ +"name" +], +"parameters": { +"filter": { +"description": "The standard list filter.", +"location": "query", +"type": "string" +}, +"name": { +"description": "The name of the operation's parent resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The standard list page size.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The standard list page token.", +"location": "query", +"type": "string" +}, +"returnPartialSuccess": { +"description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `\"projects/example/locations/-\"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1/{+name}/operations", +"response": { +"$ref": "GoogleLongrunningListOperationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/discoveryengine.readwrite" +] +} +} +}, +"podcasts": { +"resources": { +"operations": { +"methods": { +"get": { +"description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/podcasts/{podcastsId}/operations/{operationsId}", +"httpMethod": "GET", +"id": "discoveryengine.projects.locations.podcasts.operations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/podcasts/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/discoveryengine.readwrite" +] +} +} +} +} +}, +"rankingConfigs": { +"methods": { +"rank": { +"description": "Ranks a list of text records based on the given input query.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/rankingConfigs/{rankingConfigsId}:rank", +"httpMethod": "POST", +"id": "discoveryengine.projects.locations.rankingConfigs.rank", +"parameterOrder": [ +"rankingConfig" +], +"parameters": { +"rankingConfig": { +"description": "Required. The resource name of the rank service config, such as `projects/{project_num}/locations/{location}/rankingConfigs/default_ranking_config`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/rankingConfigs/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+rankingConfig}:rank", +"request": { +"$ref": "GoogleCloudDiscoveryengineV1RankRequest" +}, +"response": { +"$ref": "GoogleCloudDiscoveryengineV1RankResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/discoveryengine.readwrite" +] +} +} +}, +"userEvents": { +"methods": { +"collect": { +"description": "Writes a single user event from the browser. This uses a GET request to due to browser restriction of POST-ing to a third-party domain. This method is used only by the Discovery Engine API JavaScript pixel and Google Tag Manager. Users should not call this method directly.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/userEvents:collect", +"httpMethod": "GET", +"id": "discoveryengine.projects.locations.userEvents.collect", +"parameterOrder": [ +"parent" +], +"parameters": { +"ets": { +"description": "The event timestamp in milliseconds. This prevents browser caching of otherwise identical get requests. The name is abbreviated to reduce the payload bytes.", +"format": "int64", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent resource name. If the collect user event action is applied in DataStore level, the format is: `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}`. If the collect user event action is applied in Location level, for example, the event with Document across multiple DataStore, the format is: `projects/{project}/locations/{location}`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +}, +"uri": { +"description": "The URL including cgi-parameters but excluding the hash fragment with a length limit of 5,000 characters. This is often more useful than the referer URL, because many browsers only send the domain for third-party requests.", +"location": "query", +"type": "string" +}, +"userEvent": { +"description": "Required. URL encoded UserEvent proto with a length limit of 2,000,000 characters.", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+parent}/userEvents:collect", +"response": { +"$ref": "GoogleApiHttpBody" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/discoveryengine.assist.readwrite", +"https://www.googleapis.com/auth/discoveryengine.readwrite" +] +}, +"import": { +"description": "Bulk import of user events. Request processing might be synchronous. Events that already exist are skipped. Use this method for backfilling historical user events. Operation.response is of type ImportResponse. Note that it is possible for a subset of the items to be successfully inserted. Operation.metadata is of type ImportMetadata.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/userEvents:import", +"httpMethod": "POST", +"id": "discoveryengine.projects.locations.userEvents.import", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. Parent DataStore resource name, of the form `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/userEvents:import", +"request": { +"$ref": "GoogleCloudDiscoveryengineV1ImportUserEventsRequest" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/discoveryengine.assist.readwrite", +"https://www.googleapis.com/auth/discoveryengine.readwrite" +] +}, +"write": { +"description": "Writes a single user event.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/userEvents:write", +"httpMethod": "POST", +"id": "discoveryengine.projects.locations.userEvents.write", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The parent resource name. If the write user event action is applied in DataStore level, the format is: `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}`. If the write user event action is applied in Location level, for example, the event with Document across multiple DataStore, the format is: `projects/{project}/locations/{location}`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +}, +"writeAsync": { +"description": "If set to true, the user event is written asynchronously after validation, and the API responds without waiting for the write.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1/{+parent}/userEvents:write", +"request": { +"$ref": "GoogleCloudDiscoveryengineV1UserEvent" +}, +"response": { +"$ref": "GoogleCloudDiscoveryengineV1UserEvent" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/discoveryengine.assist.readwrite", +"https://www.googleapis.com/auth/discoveryengine.readwrite" +] +} +} +}, +"userStores": { +"methods": { +"batchUpdateUserLicenses": { +"description": "Updates the User License. This method is used for batch assign/unassign licenses to users.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/userStores/{userStoresId}:batchUpdateUserLicenses", +"httpMethod": "POST", +"id": "discoveryengine.projects.locations.userStores.batchUpdateUserLicenses", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The parent UserStore resource name, format: `projects/{project}/locations/{location}/userStores/{user_store_id}`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/userStores/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}:batchUpdateUserLicenses", +"request": { +"$ref": "GoogleCloudDiscoveryengineV1BatchUpdateUserLicensesRequest" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/discoveryengine.readwrite" +] +}, +"create": { +"description": "Creates a new User Store.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/userStores", +"httpMethod": "POST", +"id": "discoveryengine.projects.locations.userStores.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The parent collection resource name, such as `projects/{project}/locations/{location}`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +}, +"userStoreId": { +"description": "Required. The ID of the User Store to create. The ID must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). The maximum length is 63 characters.", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+parent}/userStores", +"request": { +"$ref": "GoogleCloudDiscoveryengineV1UserStore" +}, +"response": { +"$ref": "GoogleCloudDiscoveryengineV1UserStore" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/discoveryengine.readwrite" +] +}, +"delete": { +"description": "Deletes the User Store.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/userStores/{userStoresId}", +"httpMethod": "DELETE", +"id": "discoveryengine.projects.locations.userStores.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the User Store to delete. Format: `projects/{project}/locations/{location}/userStores/{user_store_id}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/userStores/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/discoveryengine.readwrite" +] +}, +"get": { +"description": "Gets the User Store.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/userStores/{userStoresId}", +"httpMethod": "GET", +"id": "discoveryengine.projects.locations.userStores.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the User Store to get. Format: `projects/{project}/locations/{location}/userStores/{user_store_id}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/userStores/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleCloudDiscoveryengineV1UserStore" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/discoveryengine.readwrite" +] +}, +"patch": { +"description": "Updates the User Store.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/userStores/{userStoresId}", +"httpMethod": "PATCH", +"id": "discoveryengine.projects.locations.userStores.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Immutable. The full resource name of the User Store, in the format of `projects/{project}/locations/{location}/userStores/{user_store}`. This field must be a UTF-8 encoded string with a length limit of 1024 characters.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/userStores/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Optional. The list of fields to update.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "GoogleCloudDiscoveryengineV1UserStore" +}, +"response": { +"$ref": "GoogleCloudDiscoveryengineV1UserStore" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/discoveryengine.readwrite" +] +} +}, +"resources": { +"licenseConfigsUsageStats": { +"methods": { +"list": { +"description": "Lists all the LicenseConfigUsageStatss associated with the project.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/userStores/{userStoresId}/licenseConfigsUsageStats", +"httpMethod": "GET", +"id": "discoveryengine.projects.locations.userStores.licenseConfigsUsageStats.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The parent branch resource name, such as `projects/{project}/locations/{location}/userStores/{user_store_id}`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/userStores/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/licenseConfigsUsageStats", +"response": { +"$ref": "GoogleCloudDiscoveryengineV1ListLicenseConfigsUsageStatsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/discoveryengine.readwrite" +] +} +} +}, +"userLicenses": { +"methods": { +"list": { +"description": "Lists the User Licenses.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/userStores/{userStoresId}/userLicenses", +"httpMethod": "GET", +"id": "discoveryengine.projects.locations.userStores.userLicenses.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"orderBy": { +"description": "Optional. The order in which the UserLicenses are listed. The value must be a comma-separated list of fields. Default sorting order is ascending. To specify descending order for a field, append a \" desc\" suffix. Redundant space characters in the syntax are insignificant. Supported fields: * `license_assignment_state` * `user_principal` * `user_profile` * `last_login_date` * `update_time` If not set, the default ordering is by `user_principal`. Examples: * `user_principal desc` to order by `user_principal` in descending order. * `license_assignment_state` to order by `license_assignment_state` in ascending order. * `last_login_date desc` to order by `last_login_date` in descending order. * `update_time desc` to order by `update_time` in descending order. * `last_login_date desc, user_principal` to order by `last_login_date` in descending order and then by `user_principal` in ascending order.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Optional. Requested page size. Server may return fewer items than requested. If unspecified, defaults to 10. The maximum value is 50; values above 50 will be coerced to 50. If this field is negative, an INVALID_ARGUMENT error is returned.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. A page token, received from a previous `ListUserLicenses` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListUserLicenses` must match the call that provided the page token.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent UserStore resource name, format: `projects/{project}/locations/{location}/userStores/{user_store_id}`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/userStores/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/userLicenses", +"response": { +"$ref": "GoogleCloudDiscoveryengineV1ListUserLicensesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/discoveryengine.readwrite" +] +} +} +} +} +} +} +}, +"operations": { +"methods": { +"cancel": { +"description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.", +"flatPath": "v1/projects/{projectsId}/operations/{operationsId}:cancel", +"httpMethod": "POST", +"id": "discoveryengine.projects.operations.cancel", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be cancelled.", +"location": "path", +"pattern": "^projects/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:cancel", +"request": { +"$ref": "GoogleLongrunningCancelOperationRequest" +}, +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/discoveryengine.readwrite" +] +}, +"get": { +"description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", +"flatPath": "v1/projects/{projectsId}/operations/{operationsId}", +"httpMethod": "GET", +"id": "discoveryengine.projects.operations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource.", +"location": "path", +"pattern": "^projects/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/discoveryengine.readwrite" +] +}, +"list": { +"description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.", +"flatPath": "v1/projects/{projectsId}/operations", +"httpMethod": "GET", +"id": "discoveryengine.projects.operations.list", +"parameterOrder": [ +"name" +], +"parameters": { +"filter": { +"description": "The standard list filter.", +"location": "query", +"type": "string" +}, +"name": { +"description": "The name of the operation's parent resource.", +"location": "path", +"pattern": "^projects/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The standard list page size.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The standard list page token.", +"location": "query", +"type": "string" +}, +"returnPartialSuccess": { +"description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `\"projects/example/locations/-\"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1/{+name}/operations", +"response": { +"$ref": "GoogleLongrunningListOperationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/discoveryengine.readwrite" +] +} +} +} +} +} +}, +"revision": "20260226", +"rootUrl": "https://discoveryengine.googleapis.com/", +"schemas": { +"A2aV1APIKeySecurityScheme": { +"id": "A2aV1APIKeySecurityScheme", +"properties": { +"description": { +"description": "Description of this security scheme.", +"type": "string" +}, +"location": { +"description": "Location of the API key, valid values are \"query\", \"header\", or \"cookie\"", +"type": "string" +}, +"name": { +"description": "Name of the header, query or cookie parameter to be used.", +"type": "string" +} +}, +"type": "object" +}, +"A2aV1AgentCapabilities": { +"description": "Defines the A2A feature set supported by the agent", +"id": "A2aV1AgentCapabilities", +"properties": { +"extensions": { +"description": "Extensions supported by this agent.", +"items": { +"$ref": "A2aV1AgentExtension" +}, +"type": "array" +}, +"pushNotifications": { +"description": "If the agent can send push notifications to the clients webhook", +"type": "boolean" +}, +"streaming": { +"description": "If the agent will support streaming responses", +"type": "boolean" +} +}, +"type": "object" +}, +"A2aV1AgentCard": { +"description": "AgentCard conveys key information: - Overall details (version, name, description, uses) - Skills; a set of actions/solutions the agent can perform - Default modalities/content types supported by the agent. - Authentication requirements Next ID: 19", +"id": "A2aV1AgentCard", +"properties": { +"additionalInterfaces": { +"description": "Announcement of additional supported transports. Client can use any of the supported transports.", +"items": { +"$ref": "A2aV1AgentInterface" +}, +"type": "array" +}, +"capabilities": { +"$ref": "A2aV1AgentCapabilities", +"description": "A2A Capability set supported by the agent." +}, +"defaultInputModes": { +"description": "protolint:enable REPEATED_FIELD_NAMES_PLURALIZED The set of interaction modes that the agent supports across all skills. This can be overridden per skill. Defined as mime types.", +"items": { +"type": "string" +}, +"type": "array" +}, +"defaultOutputModes": { +"description": "The mime types supported as outputs from this agent.", +"items": { +"type": "string" +}, +"type": "array" +}, +"description": { +"description": "A description of the agent's domain of action/solution space. Example: \"Agent that helps users with recipes and cooking.\"", +"type": "string" +}, +"documentationUrl": { +"description": "A url to provide additional documentation about the agent.", +"type": "string" +}, +"iconUrl": { +"description": "An optional URL to an icon for the agent.", +"type": "string" +}, +"name": { +"description": "A human readable name for the agent. Example: \"Recipe Agent\"", +"type": "string" +}, +"preferredTransport": { +"description": "The transport of the preferred endpoint. If empty, defaults to JSONRPC.", +"type": "string" +}, +"protocolVersion": { +"description": "The version of the A2A protocol this agent supports.", +"type": "string" +}, +"provider": { +"$ref": "A2aV1AgentProvider", +"description": "The service provider of the agent." +}, +"security": { +"description": "protolint:disable REPEATED_FIELD_NAMES_PLURALIZED Security requirements for contacting the agent. This list can be seen as an OR of ANDs. Each object in the list describes one possible set of security requirements that must be present on a request. This allows specifying, for example, \"callers must either use OAuth OR an API Key AND mTLS.\" Example: security { schemes { key: \"oauth\" value { list: [\"read\"] } } } security { schemes { key: \"api-key\" } schemes { key: \"mtls\" } }", +"items": { +"$ref": "A2aV1Security" +}, +"type": "array" +}, +"securitySchemes": { +"additionalProperties": { +"$ref": "A2aV1SecurityScheme" +}, +"description": "The security scheme details used for authenticating with this agent.", +"type": "object" +}, +"signatures": { +"description": "JSON Web Signatures computed for this AgentCard.", +"items": { +"$ref": "A2aV1AgentCardSignature" +}, +"type": "array" +}, +"skills": { +"description": "Skills represent a unit of ability an agent can perform. This may somewhat abstract but represents a more focused set of actions that the agent is highly likely to succeed at.", +"items": { +"$ref": "A2aV1AgentSkill" +}, +"type": "array" +}, +"supportsAuthenticatedExtendedCard": { +"description": "Whether the agent supports providing an extended agent card when the user is authenticated, i.e. is the card from .well-known different than the card from GetAgentCard.", +"type": "boolean" +}, +"url": { +"description": "A URL to the address the agent is hosted at. This represents the preferred endpoint as declared by the agent.", +"type": "string" +}, +"version": { +"description": "The version of the agent. Example: \"1.0.0\"", +"type": "string" +} +}, +"type": "object" +}, +"A2aV1AgentCardSignature": { +"description": "AgentCardSignature represents a JWS signature of an AgentCard. This follows the JSON format of an RFC 7515 JSON Web Signature (JWS).", +"id": "A2aV1AgentCardSignature", +"properties": { +"header": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"description": "The unprotected JWS header values.", +"type": "object" +}, +"protected": { +"description": "Required. The protected JWS header for the signature. This is always a base64url-encoded JSON object. Required.", +"type": "string" +}, +"signature": { +"description": "Required. The computed signature, base64url-encoded. Required.", +"type": "string" +} +}, +"type": "object" +}, +"A2aV1AgentExtension": { +"description": "A declaration of an extension supported by an Agent.", +"id": "A2aV1AgentExtension", +"properties": { +"description": { +"description": "A description of how this agent uses this extension. Example: \"Google OAuth 2.0 authentication\"", +"type": "string" +}, +"params": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"description": "Optional configuration for the extension.", +"type": "object" +}, +"required": { +"description": "Whether the client must follow specific requirements of the extension. Example: false", +"type": "boolean" +}, +"uri": { +"description": "The URI of the extension. Example: \"https://developers.google.com/identity/protocols/oauth2\"", +"type": "string" +} +}, +"type": "object" +}, +"A2aV1AgentInterface": { +"description": "Defines additional transport information for the agent.", +"id": "A2aV1AgentInterface", +"properties": { +"tenant": { +"description": "Tenant to be set in the request when calling the agent. Experimental, might still change for 1.0 release.", +"type": "string" +}, +"transport": { +"description": "The transport supported this url. This is an open form string, to be easily extended for many transport protocols. The core ones officially supported are JSONRPC, GRPC and HTTP+JSON.", +"type": "string" +}, +"url": { +"description": "The url this interface is found at.", +"type": "string" +} +}, +"type": "object" +}, +"A2aV1AgentProvider": { +"description": "Represents information about the service provider of an agent.", +"id": "A2aV1AgentProvider", +"properties": { +"organization": { +"description": "The providers organization name Example: \"Google\"", +"type": "string" +}, +"url": { +"description": "The providers reference url Example: \"https://ai.google.dev\"", +"type": "string" +} +}, +"type": "object" +}, +"A2aV1AgentSkill": { +"description": "AgentSkill represents a unit of action/solution that the agent can perform. One can think of this as a type of highly reliable solution that an agent can be tasked to provide. Agents have the autonomy to choose how and when to use specific skills, but clients should have confidence that if the skill is defined that unit of action can be reliably performed.", +"id": "A2aV1AgentSkill", +"properties": { +"description": { +"description": "A human (or llm) readable description of the skill details and behaviors.", +"type": "string" +}, +"examples": { +"description": "A set of example queries that this skill is designed to address. These examples should help the caller to understand how to craft requests to the agent to achieve specific goals. Example: [\"I need a recipe for bread\"]", +"items": { +"type": "string" +}, +"type": "array" +}, +"id": { +"description": "Unique identifier of the skill within this agent.", +"type": "string" +}, +"inputModes": { +"description": "Possible input modalities supported.", +"items": { +"type": "string" +}, +"type": "array" +}, +"name": { +"description": "A human readable name for the skill.", +"type": "string" +}, +"outputModes": { +"description": "Possible output modalities produced", +"items": { +"type": "string" +}, +"type": "array" +}, +"security": { +"description": "protolint:disable REPEATED_FIELD_NAMES_PLURALIZED Security schemes necessary for the agent to leverage this skill. As in the overall AgentCard.security, this list represents a logical OR of security requirement objects. Each object is a set of security schemes that must be used together (a logical AND). protolint:enable REPEATED_FIELD_NAMES_PLURALIZED", +"items": { +"$ref": "A2aV1Security" +}, +"type": "array" +}, +"tags": { +"description": "A set of tags for the skill to enhance categorization/utilization. Example: [\"cooking\", \"customer support\", \"billing\"]", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"A2aV1Artifact": { +"description": "Artifacts are the container for task completed results. These are similar to Messages but are intended to be the product of a task, as opposed to point-to-point communication.", +"id": "A2aV1Artifact", +"properties": { +"artifactId": { +"description": "Unique identifier (e.g. UUID) for the artifact. It must be at least unique within a task.", +"type": "string" +}, +"description": { +"description": "A human readable description of the artifact, optional.", +"type": "string" +}, +"extensions": { +"description": "The URIs of extensions that are present or contributed to this Artifact.", +"items": { +"type": "string" +}, +"type": "array" +}, +"metadata": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"description": "Optional metadata included with the artifact.", +"type": "object" +}, +"name": { +"description": "A human readable name for the artifact.", +"type": "string" +}, +"parts": { +"description": "The content of the artifact.", +"items": { +"$ref": "A2aV1Part" +}, +"type": "array" +} +}, +"type": "object" +}, +"A2aV1AuthenticationInfo": { +"description": "Defines authentication details, used for push notifications.", +"id": "A2aV1AuthenticationInfo", +"properties": { +"credentials": { +"description": "Optional credentials", +"type": "string" +}, +"schemes": { +"description": "Supported authentication schemes - e.g. Basic, Bearer, etc", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"A2aV1AuthorizationCodeOAuthFlow": { +"id": "A2aV1AuthorizationCodeOAuthFlow", +"properties": { +"authorizationUrl": { +"description": "The authorization URL to be used for this flow. This MUST be in the form of a URL. The OAuth2 standard requires the use of TLS", +"type": "string" +}, +"refreshUrl": { +"description": "The URL to be used for obtaining refresh tokens. This MUST be in the form of a URL. The OAuth2 standard requires the use of TLS.", +"type": "string" +}, +"scopes": { +"additionalProperties": { +"type": "string" +}, +"description": "The available scopes for the OAuth2 security scheme. A map between the scope name and a short description for it. The map MAY be empty.", +"type": "object" +}, +"tokenUrl": { +"description": "The token URL to be used for this flow. This MUST be in the form of a URL. The OAuth2 standard requires the use of TLS.", +"type": "string" +} +}, +"type": "object" +}, +"A2aV1CancelTaskRequest": { +"id": "A2aV1CancelTaskRequest", +"properties": {}, +"type": "object" +}, +"A2aV1ClientCredentialsOAuthFlow": { +"id": "A2aV1ClientCredentialsOAuthFlow", +"properties": { +"refreshUrl": { +"description": "The URL to be used for obtaining refresh tokens. This MUST be in the form of a URL. The OAuth2 standard requires the use of TLS.", +"type": "string" +}, +"scopes": { +"additionalProperties": { +"type": "string" +}, +"description": "The available scopes for the OAuth2 security scheme. A map between the scope name and a short description for it. The map MAY be empty.", +"type": "object" +}, +"tokenUrl": { +"description": "The token URL to be used for this flow. This MUST be in the form of a URL. The OAuth2 standard requires the use of TLS.", +"type": "string" +} +}, +"type": "object" +}, +"A2aV1DataPart": { +"description": "DataPart represents a structured blob. This is most commonly a JSON payload.", +"id": "A2aV1DataPart", +"properties": { +"data": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"type": "object" +} +}, +"type": "object" +}, +"A2aV1FilePart": { +"description": "FilePart represents the different ways files can be provided. If files are small, directly feeding the bytes is supported via file_with_bytes. If the file is large, the agent should read the content as appropriate directly from the file_with_uri source.", +"id": "A2aV1FilePart", +"properties": { +"fileWithBytes": { +"format": "byte", +"type": "string" +}, +"fileWithUri": { +"type": "string" +}, +"mimeType": { +"type": "string" +}, +"name": { +"type": "string" +} +}, +"type": "object" +}, +"A2aV1HTTPAuthSecurityScheme": { +"id": "A2aV1HTTPAuthSecurityScheme", +"properties": { +"bearerFormat": { +"description": "A hint to the client to identify how the bearer token is formatted. Bearer tokens are usually generated by an authorization server, so this information is primarily for documentation purposes.", +"type": "string" +}, +"description": { +"description": "Description of this security scheme.", +"type": "string" +}, +"scheme": { +"description": "The name of the HTTP Authentication scheme to be used in the Authorization header as defined in RFC7235. The values used SHOULD be registered in the IANA Authentication Scheme registry. The value is case-insensitive, as defined in RFC7235.", +"type": "string" +} +}, +"type": "object" +}, +"A2aV1ImplicitOAuthFlow": { +"id": "A2aV1ImplicitOAuthFlow", +"properties": { +"authorizationUrl": { +"description": "The authorization URL to be used for this flow. This MUST be in the form of a URL. The OAuth2 standard requires the use of TLS", +"type": "string" +}, +"refreshUrl": { +"description": "The URL to be used for obtaining refresh tokens. This MUST be in the form of a URL. The OAuth2 standard requires the use of TLS.", +"type": "string" +}, +"scopes": { +"additionalProperties": { +"type": "string" +}, +"description": "The available scopes for the OAuth2 security scheme. A map between the scope name and a short description for it. The map MAY be empty.", +"type": "object" +} +}, +"type": "object" +}, +"A2aV1ListTaskPushNotificationConfigResponse": { +"id": "A2aV1ListTaskPushNotificationConfigResponse", +"properties": { +"configs": { +"description": "The list of push notification configurations.", +"items": { +"$ref": "A2aV1TaskPushNotificationConfig" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.", +"type": "string" +} +}, +"type": "object" +}, +"A2aV1Message": { +"description": "Message is one unit of communication between client and server. It is associated with a context and optionally a task. Since the server is responsible for the context definition, it must always provide a context_id in its messages. The client can optionally provide the context_id if it knows the context to associate the message to. Similarly for task_id, except the server decides if a task is created and whether to include the task_id.", +"id": "A2aV1Message", +"properties": { +"content": { +"description": "protolint:disable REPEATED_FIELD_NAMES_PLURALIZED Content is the container of the message content.", +"items": { +"$ref": "A2aV1Part" +}, +"type": "array" +}, +"contextId": { +"description": "The context id of the message. This is optional and if set, the message will be associated with the given context.", +"type": "string" +}, +"extensions": { +"description": "The URIs of extensions that are present or contributed to this Message.", +"items": { +"type": "string" +}, +"type": "array" +}, +"messageId": { +"description": "The unique identifier (e.g. UUID)of the message. This is required and created by the message creator.", +"type": "string" +}, +"metadata": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"description": "protolint:enable REPEATED_FIELD_NAMES_PLURALIZED Any optional metadata to provide along with the message.", +"type": "object" +}, +"role": { +"description": "A role for the message.", +"enum": [ +"ROLE_UNSPECIFIED", +"ROLE_USER", +"ROLE_AGENT" +], +"enumDescriptions": [ +"", +"USER role refers to communication from the client to the server.", +"AGENT role refers to communication from the server to the client." +], +"type": "string" +}, +"taskId": { +"description": "The task id of the message. This is optional and if set, the message will be associated with the given task.", +"type": "string" +} +}, +"type": "object" +}, +"A2aV1MutualTlsSecurityScheme": { +"id": "A2aV1MutualTlsSecurityScheme", +"properties": { +"description": { +"description": "Description of this security scheme.", +"type": "string" +} +}, +"type": "object" +}, +"A2aV1OAuth2SecurityScheme": { +"id": "A2aV1OAuth2SecurityScheme", +"properties": { +"description": { +"description": "Description of this security scheme.", +"type": "string" +}, +"flows": { +"$ref": "A2aV1OAuthFlows", +"description": "An object containing configuration information for the flow types supported" +}, +"oauth2MetadataUrl": { +"description": "URL to the oauth2 authorization server metadata [RFC8414](https://datatracker.ietf.org/doc/html/rfc8414). TLS is required.", +"type": "string" +} +}, +"type": "object" +}, +"A2aV1OAuthFlows": { +"id": "A2aV1OAuthFlows", +"properties": { +"authorizationCode": { +"$ref": "A2aV1AuthorizationCodeOAuthFlow" +}, +"clientCredentials": { +"$ref": "A2aV1ClientCredentialsOAuthFlow" +}, +"implicit": { +"$ref": "A2aV1ImplicitOAuthFlow" +}, +"password": { +"$ref": "A2aV1PasswordOAuthFlow" +} +}, +"type": "object" +}, +"A2aV1OpenIdConnectSecurityScheme": { +"id": "A2aV1OpenIdConnectSecurityScheme", +"properties": { +"description": { +"description": "Description of this security scheme.", +"type": "string" +}, +"openIdConnectUrl": { +"description": "Well-known URL to discover the [[OpenID-Connect-Discovery]] provider metadata.", +"type": "string" +} +}, +"type": "object" +}, +"A2aV1Part": { +"description": "Part represents a container for a section of communication content. Parts can be purely textual, some sort of file (image, video, etc) or a structured data blob (i.e. JSON).", +"id": "A2aV1Part", +"properties": { +"data": { +"$ref": "A2aV1DataPart" +}, +"file": { +"$ref": "A2aV1FilePart" +}, +"metadata": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"description": "Optional metadata associated with this part.", +"type": "object" +}, +"text": { +"type": "string" +} +}, +"type": "object" +}, +"A2aV1PasswordOAuthFlow": { +"id": "A2aV1PasswordOAuthFlow", +"properties": { +"refreshUrl": { +"description": "The URL to be used for obtaining refresh tokens. This MUST be in the form of a URL. The OAuth2 standard requires the use of TLS.", +"type": "string" +}, +"scopes": { +"additionalProperties": { +"type": "string" +}, +"description": "The available scopes for the OAuth2 security scheme. A map between the scope name and a short description for it. The map MAY be empty.", +"type": "object" +}, +"tokenUrl": { +"description": "The token URL to be used for this flow. This MUST be in the form of a URL. The OAuth2 standard requires the use of TLS.", +"type": "string" +} +}, +"type": "object" +}, +"A2aV1PushNotificationConfig": { +"description": "Configuration for setting up push notifications for task updates.", +"id": "A2aV1PushNotificationConfig", +"properties": { +"authentication": { +"$ref": "A2aV1AuthenticationInfo", +"description": "Information about the authentication to sent with the notification" +}, +"id": { +"description": "A unique identifier (e.g. UUID) for this push notification.", +"type": "string" +}, +"token": { +"description": "Token unique for this task/session", +"type": "string" +}, +"url": { +"description": "Url to send the notification too", +"type": "string" +} +}, +"type": "object" +}, +"A2aV1Security": { +"id": "A2aV1Security", +"properties": { +"schemes": { +"additionalProperties": { +"$ref": "A2aV1StringList" +}, +"type": "object" +} +}, +"type": "object" +}, +"A2aV1SecurityScheme": { +"id": "A2aV1SecurityScheme", +"properties": { +"apiKeySecurityScheme": { +"$ref": "A2aV1APIKeySecurityScheme" +}, +"httpAuthSecurityScheme": { +"$ref": "A2aV1HTTPAuthSecurityScheme" +}, +"mtlsSecurityScheme": { +"$ref": "A2aV1MutualTlsSecurityScheme" +}, +"oauth2SecurityScheme": { +"$ref": "A2aV1OAuth2SecurityScheme" +}, +"openIdConnectSecurityScheme": { +"$ref": "A2aV1OpenIdConnectSecurityScheme" +} +}, +"type": "object" +}, +"A2aV1SendMessageConfiguration": { +"description": "Configuration of a send message request.", +"id": "A2aV1SendMessageConfiguration", +"properties": { +"acceptedOutputModes": { +"description": "The output modes that the agent is expected to respond with.", +"items": { +"type": "string" +}, +"type": "array" +}, +"blocking": { +"description": "If true, the message will be blocking until the task is completed. If false, the message will be non-blocking and the task will be returned immediately. It is the caller's responsibility to check for any task updates.", +"type": "boolean" +}, +"historyLength": { +"description": "The maximum number of messages to include in the history. if 0, the history will be unlimited.", +"format": "int32", +"type": "integer" +}, +"pushNotification": { +"$ref": "A2aV1PushNotificationConfig", +"description": "A configuration of a webhook that can be used to receive updates" +} +}, +"type": "object" +}, +"A2aV1SendMessageRequest": { +"description": "/////////// Request Messages ///////////", +"id": "A2aV1SendMessageRequest", +"properties": { +"configuration": { +"$ref": "A2aV1SendMessageConfiguration", +"description": "Configuration for the send request." +}, +"message": { +"$ref": "A2aV1Message", +"description": "Required. The message to send to the agent." +}, +"metadata": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"description": "Optional metadata for the request.", +"type": "object" +} +}, +"type": "object" +}, +"A2aV1SendMessageResponse": { +"description": "////// Response Messages ///////////", +"id": "A2aV1SendMessageResponse", +"properties": { +"message": { +"$ref": "A2aV1Message" +}, +"task": { +"$ref": "A2aV1Task" +} +}, +"type": "object" +}, +"A2aV1StreamResponse": { +"description": "The stream response for a message. The stream should be one of the following sequences: If the response is a message, the stream should contain one, and only one, message and then close If the response is a task lifecycle, the first response should be a Task object followed by zero or more TaskStatusUpdateEvents and TaskArtifactUpdateEvents. The stream should complete when the Task if in an interrupted or terminal state. A stream that ends before these conditions are met are", +"id": "A2aV1StreamResponse", +"properties": { +"artifactUpdate": { +"$ref": "A2aV1TaskArtifactUpdateEvent" +}, +"message": { +"$ref": "A2aV1Message" +}, +"statusUpdate": { +"$ref": "A2aV1TaskStatusUpdateEvent" +}, +"task": { +"$ref": "A2aV1Task" +} +}, +"type": "object" +}, +"A2aV1StringList": { +"description": "protolint:disable REPEATED_FIELD_NAMES_PLURALIZED", +"id": "A2aV1StringList", +"properties": { +"list": { +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"A2aV1Task": { +"description": "Task is the core unit of action for A2A. It has a current status and when results are created for the task they are stored in the artifact. If there are multiple turns for a task, these are stored in history.", +"id": "A2aV1Task", +"properties": { +"artifacts": { +"description": "A set of output artifacts for a Task.", +"items": { +"$ref": "A2aV1Artifact" +}, +"type": "array" +}, +"contextId": { +"description": "Unique identifier (e.g. UUID) for the contextual collection of interactions (tasks and messages). Created by the A2A server.", +"type": "string" +}, +"history": { +"description": "protolint:disable REPEATED_FIELD_NAMES_PLURALIZED The history of interactions from a task.", +"items": { +"$ref": "A2aV1Message" +}, +"type": "array" +}, +"id": { +"description": "Unique identifier (e.g. UUID) for the task, generated by the server for a new task.", +"type": "string" +}, +"metadata": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"description": "protolint:enable REPEATED_FIELD_NAMES_PLURALIZED A key/value object to store custom metadata about a task.", +"type": "object" +}, +"status": { +"$ref": "A2aV1TaskStatus", +"description": "The current status of a Task, including state and a message." +} +}, +"type": "object" +}, +"A2aV1TaskArtifactUpdateEvent": { +"description": "TaskArtifactUpdateEvent represents a task delta where an artifact has been generated.", +"id": "A2aV1TaskArtifactUpdateEvent", +"properties": { +"append": { +"description": "Whether this should be appended to a prior one produced", +"type": "boolean" +}, +"artifact": { +"$ref": "A2aV1Artifact", +"description": "The artifact itself" +}, +"contextId": { +"description": "The id of the context that this task belongs too", +"type": "string" +}, +"lastChunk": { +"description": "Whether this represents the last part of an artifact", +"type": "boolean" +}, +"metadata": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"description": "Optional metadata associated with the artifact update.", +"type": "object" +}, +"taskId": { +"description": "The id of the task for this artifact", +"type": "string" +} +}, +"type": "object" +}, +"A2aV1TaskPushNotificationConfig": { +"id": "A2aV1TaskPushNotificationConfig", +"properties": { +"name": { +"description": "The resource name of the config. Format: tasks/{task_id}/pushNotificationConfigs/{config_id}", +"type": "string" +}, +"pushNotificationConfig": { +"$ref": "A2aV1PushNotificationConfig", +"description": "The push notification configuration details." +} +}, +"type": "object" +}, +"A2aV1TaskStatus": { +"description": "A container for the status of a task", +"id": "A2aV1TaskStatus", +"properties": { +"message": { +"$ref": "A2aV1Message", +"description": "A message associated with the status." +}, +"state": { +"description": "The current state of this task", +"enum": [ +"TASK_STATE_UNSPECIFIED", +"TASK_STATE_SUBMITTED", +"TASK_STATE_WORKING", +"TASK_STATE_COMPLETED", +"TASK_STATE_FAILED", +"TASK_STATE_CANCELLED", +"TASK_STATE_INPUT_REQUIRED", +"TASK_STATE_REJECTED", +"TASK_STATE_AUTH_REQUIRED" +], +"enumDescriptions": [ +"", +"Represents the status that acknowledges a task is created", +"Represents the status that a task is actively being processed", +"Represents the status a task is finished. This is a terminal state", +"Represents the status a task is done but failed. This is a terminal state", +"Represents the status a task was cancelled before it finished. This is a terminal state.", +"Represents the status that the task requires information to complete. This is an interrupted state.", +"Represents the status that the agent has decided to not perform the task. This may be done during initial task creation or later once an agent has determined it can't or won't proceed. This is a terminal state.", +"Represents the state that some authentication is needed from the upstream client. Authentication is expected to come out-of-band thus this is not an interrupted or terminal state." +], +"type": "string" +}, +"timestamp": { +"description": "Timestamp when the status was recorded. Example: \"2023-10-27T10:00:00Z\"", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"A2aV1TaskStatusUpdateEvent": { +"description": "TaskStatusUpdateEvent is a delta even on a task indicating that a task has changed.", +"id": "A2aV1TaskStatusUpdateEvent", +"properties": { +"contextId": { +"description": "The id of the context that the task belongs to", +"type": "string" +}, +"final": { +"description": "Whether this is the last status update expected for this task.", +"type": "boolean" +}, +"metadata": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"description": "Optional metadata to associate with the task update.", +"type": "object" +}, +"status": { +"$ref": "A2aV1TaskStatus", +"description": "The new status of the task." +}, +"taskId": { +"description": "The id of the task that is changed", +"type": "string" +} +}, +"type": "object" +}, +"GoogleApiDistribution": { +"description": "`Distribution` contains summary statistics for a population of values. It optionally contains a histogram representing the distribution of those values across a set of buckets. The summary statistics are the count, mean, sum of the squared deviation from the mean, the minimum, and the maximum of the set of population of values. The histogram is based on a sequence of buckets and gives a count of values that fall into each bucket. The boundaries of the buckets are given either explicitly or by formulas for buckets of fixed or exponentially increasing widths. Although it is not forbidden, it is generally a bad idea to include non-finite values (infinities or NaNs) in the population of values, as this will render the `mean` and `sum_of_squared_deviation` fields meaningless.", +"id": "GoogleApiDistribution", +"properties": { +"bucketCounts": { +"description": "The number of values in each bucket of the histogram, as described in `bucket_options`. If the distribution does not have a histogram, then omit this field. If there is a histogram, then the sum of the values in `bucket_counts` must equal the value in the `count` field of the distribution. If present, `bucket_counts` should contain N values, where N is the number of buckets specified in `bucket_options`. If you supply fewer than N values, the remaining values are assumed to be 0. The order of the values in `bucket_counts` follows the bucket numbering schemes described for the three bucket types. The first value must be the count for the underflow bucket (number 0). The next N-2 values are the counts for the finite buckets (number 1 through N-2). The N'th value in `bucket_counts` is the count for the overflow bucket (number N-1).", +"items": { +"format": "int64", +"type": "string" +}, +"type": "array" +}, +"bucketOptions": { +"$ref": "GoogleApiDistributionBucketOptions", +"description": "Defines the histogram bucket boundaries. If the distribution does not contain a histogram, then omit this field." +}, +"count": { +"description": "The number of values in the population. Must be non-negative. This value must equal the sum of the values in `bucket_counts` if a histogram is provided.", +"format": "int64", +"type": "string" +}, +"exemplars": { +"description": "Must be in increasing order of `value` field.", +"items": { +"$ref": "GoogleApiDistributionExemplar" +}, +"type": "array" +}, +"mean": { +"description": "The arithmetic mean of the values in the population. If `count` is zero then this field must be zero.", +"format": "double", +"type": "number" +}, +"range": { +"$ref": "GoogleApiDistributionRange", +"description": "If specified, contains the range of the population values. The field must not be present if the `count` is zero." +}, +"sumOfSquaredDeviation": { +"description": "The sum of squared deviations from the mean of the values in the population. For values x_i this is: Sum[i=1..n]((x_i - mean)^2) Knuth, \"The Art of Computer Programming\", Vol. 2, page 232, 3rd edition describes Welford's method for accumulating this sum in one pass. If `count` is zero then this field must be zero.", +"format": "double", +"type": "number" +} +}, +"type": "object" +}, +"GoogleApiDistributionBucketOptions": { +"description": "`BucketOptions` describes the bucket boundaries used to create a histogram for the distribution. The buckets can be in a linear sequence, an exponential sequence, or each bucket can be specified explicitly. `BucketOptions` does not include the number of values in each bucket. A bucket has an inclusive lower bound and exclusive upper bound for the values that are counted for that bucket. The upper bound of a bucket must be strictly greater than the lower bound. The sequence of N buckets for a distribution consists of an underflow bucket (number 0), zero or more finite buckets (number 1 through N - 2) and an overflow bucket (number N - 1). The buckets are contiguous: the lower bound of bucket i (i > 0) is the same as the upper bound of bucket i - 1. The buckets span the whole range of finite values: lower bound of the underflow bucket is -infinity and the upper bound of the overflow bucket is +infinity. The finite buckets are so-called because both bounds are finite.", +"id": "GoogleApiDistributionBucketOptions", +"properties": { +"explicitBuckets": { +"$ref": "GoogleApiDistributionBucketOptionsExplicit", +"description": "The explicit buckets." +}, +"exponentialBuckets": { +"$ref": "GoogleApiDistributionBucketOptionsExponential", +"description": "The exponential buckets." +}, +"linearBuckets": { +"$ref": "GoogleApiDistributionBucketOptionsLinear", +"description": "The linear bucket." +} +}, +"type": "object" +}, +"GoogleApiDistributionBucketOptionsExplicit": { +"description": "Specifies a set of buckets with arbitrary widths. There are `size(bounds) + 1` (= N) buckets. Bucket `i` has the following boundaries: Upper bound (0 <= i < N-1): bounds[i] Lower bound (1 <= i < N); bounds[i - 1] The `bounds` field must contain at least one element. If `bounds` has only one element, then there are no finite buckets, and that single element is the common boundary of the overflow and underflow buckets.", +"id": "GoogleApiDistributionBucketOptionsExplicit", +"properties": { +"bounds": { +"description": "The values must be monotonically increasing.", +"items": { +"format": "double", +"type": "number" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleApiDistributionBucketOptionsExponential": { +"description": "Specifies an exponential sequence of buckets that have a width that is proportional to the value of the lower bound. Each bucket represents a constant relative uncertainty on a specific value in the bucket. There are `num_finite_buckets + 2` (= N) buckets. Bucket `i` has the following boundaries: Upper bound (0 <= i < N-1): scale * (growth_factor ^ i). Lower bound (1 <= i < N): scale * (growth_factor ^ (i - 1)).", +"id": "GoogleApiDistributionBucketOptionsExponential", +"properties": { +"growthFactor": { +"description": "Must be greater than 1.", +"format": "double", +"type": "number" +}, +"numFiniteBuckets": { +"description": "Must be greater than 0.", +"format": "int32", +"type": "integer" +}, +"scale": { +"description": "Must be greater than 0.", +"format": "double", +"type": "number" +} +}, +"type": "object" +}, +"GoogleApiDistributionBucketOptionsLinear": { +"description": "Specifies a linear sequence of buckets that all have the same width (except overflow and underflow). Each bucket represents a constant absolute uncertainty on the specific value in the bucket. There are `num_finite_buckets + 2` (= N) buckets. Bucket `i` has the following boundaries: Upper bound (0 <= i < N-1): offset + (width * i). Lower bound (1 <= i < N): offset + (width * (i - 1)).", +"id": "GoogleApiDistributionBucketOptionsLinear", +"properties": { +"numFiniteBuckets": { +"description": "Must be greater than 0.", +"format": "int32", +"type": "integer" +}, +"offset": { +"description": "Lower bound of the first bucket.", +"format": "double", +"type": "number" +}, +"width": { +"description": "Must be greater than 0.", +"format": "double", +"type": "number" +} +}, +"type": "object" +}, +"GoogleApiDistributionExemplar": { +"description": "Exemplars are example points that may be used to annotate aggregated distribution values. They are metadata that gives information about a particular value added to a Distribution bucket, such as a trace ID that was active when a value was added. They may contain further information, such as a example values and timestamps, origin, etc.", +"id": "GoogleApiDistributionExemplar", +"properties": { +"attachments": { +"description": "Contextual information about the example value. Examples are: Trace: type.googleapis.com/google.monitoring.v3.SpanContext Literal string: type.googleapis.com/google.protobuf.StringValue Labels dropped during aggregation: type.googleapis.com/google.monitoring.v3.DroppedLabels There may be only a single attachment of any given message type in a single exemplar, and this is enforced by the system.", +"items": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"type": "object" +}, +"type": "array" +}, +"timestamp": { +"description": "The observation (sampling) time of the above value.", +"format": "google-datetime", +"type": "string" +}, +"value": { +"description": "Value of the exemplar point. This value determines to which bucket the exemplar belongs.", +"format": "double", +"type": "number" +} +}, +"type": "object" +}, +"GoogleApiDistributionRange": { +"description": "The range of the population values.", +"id": "GoogleApiDistributionRange", +"properties": { +"max": { +"description": "The maximum of the population values.", +"format": "double", +"type": "number" +}, +"min": { +"description": "The minimum of the population values.", +"format": "double", +"type": "number" +} +}, +"type": "object" +}, +"GoogleApiHttpBody": { +"description": "Message that represents an arbitrary HTTP body. It should only be used for payload formats that can't be represented as JSON, such as raw binary or an HTML page. This message can be used both in streaming and non-streaming API methods in the request as well as the response. It can be used as a top-level request field, which is convenient if one wants to extract parameters from either the URL or HTTP template into the request fields and also want access to the raw HTTP body. Example: message GetResourceRequest { // A unique request id. string request_id = 1; // The raw HTTP body is bound to this field. google.api.HttpBody http_body = 2; } service ResourceService { rpc GetResource(GetResourceRequest) returns (google.api.HttpBody); rpc UpdateResource(google.api.HttpBody) returns (google.protobuf.Empty); } Example with streaming methods: service CaldavService { rpc GetCalendar(stream google.api.HttpBody) returns (stream google.api.HttpBody); rpc UpdateCalendar(stream google.api.HttpBody) returns (stream google.api.HttpBody); } Use of this type only changes how the request and response bodies are handled, all other features will continue to work unchanged.", +"id": "GoogleApiHttpBody", +"properties": { +"contentType": { +"description": "The HTTP Content-Type header value specifying the content type of the body.", +"type": "string" +}, +"data": { +"description": "The HTTP request/response body as raw binary.", +"format": "byte", +"type": "string" +}, +"extensions": { +"description": "Application specific response metadata. Must be set in the first response for streaming APIs.", +"items": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"type": "object" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleApiMetric": { +"description": "A specific metric, identified by specifying values for all of the labels of a `MetricDescriptor`.", +"id": "GoogleApiMetric", +"properties": { +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "The set of label values that uniquely identify this metric. All labels listed in the `MetricDescriptor` must be assigned values.", +"type": "object" +}, +"type": { +"description": "An existing metric type, see google.api.MetricDescriptor. For example, `custom.googleapis.com/invoice/paid/amount`.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleApiMonitoredResource": { +"description": "An object representing a resource that can be used for monitoring, logging, billing, or other purposes. Examples include virtual machine instances, databases, and storage devices such as disks. The `type` field identifies a MonitoredResourceDescriptor object that describes the resource's schema. Information in the `labels` field identifies the actual resource and its attributes according to the schema. For example, a particular Compute Engine VM instance could be represented by the following object, because the MonitoredResourceDescriptor for `\"gce_instance\"` has labels `\"project_id\"`, `\"instance_id\"` and `\"zone\"`: { \"type\": \"gce_instance\", \"labels\": { \"project_id\": \"my-project\", \"instance_id\": \"12345678901234\", \"zone\": \"us-central1-a\" }}", +"id": "GoogleApiMonitoredResource", +"properties": { +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Required. Values for all of the labels listed in the associated monitored resource descriptor. For example, Compute Engine VM instances use the labels `\"project_id\"`, `\"instance_id\"`, and `\"zone\"`.", +"type": "object" +}, +"type": { +"description": "Required. The monitored resource type. This field must match the `type` field of a MonitoredResourceDescriptor object. For example, the type of a Compute Engine VM instance is `gce_instance`. Some descriptors include the service name in the type; for example, the type of a Datastream stream is `datastream.googleapis.com/Stream`.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleApiMonitoredResourceMetadata": { +"description": "Auxiliary metadata for a MonitoredResource object. MonitoredResource objects contain the minimum set of information to uniquely identify a monitored resource instance. There is some other useful auxiliary metadata. Monitoring and Logging use an ingestion pipeline to extract metadata for cloud resources of all types, and store the metadata in this message.", +"id": "GoogleApiMonitoredResourceMetadata", +"properties": { +"systemLabels": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"description": "Output only. Values for predefined system metadata labels. System labels are a kind of metadata extracted by Google, including \"machine_image\", \"vpc\", \"subnet_id\", \"security_group\", \"name\", etc. System label values can be only strings, Boolean values, or a list of strings. For example: { \"name\": \"my-test-instance\", \"security_group\": [\"a\", \"b\", \"c\"], \"spot_instance\": false }", +"type": "object" +}, +"userLabels": { +"additionalProperties": { +"type": "string" +}, +"description": "Output only. A map of user-defined metadata labels.", +"type": "object" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineLoggingConnectorRunErrorContext": { +"description": "The error payload that is populated on LRO sync APIs, including the following: * `google.cloud.discoveryengine.v1main.DataConnectorService.SetUpDataConnector` * `google.cloud.discoveryengine.v1main.DataConnectorService.StartConnectorRun`", +"id": "GoogleCloudDiscoveryengineLoggingConnectorRunErrorContext", +"properties": { +"connectorRun": { +"description": "The full resource name of the Connector Run. Format: `projects/*/locations/*/collections/*/dataConnector/connectorRuns/*`. The `connector_run_id` is system-generated.", +"type": "string" +}, +"dataConnector": { +"description": "The full resource name of the DataConnector. Format: `projects/*/locations/*/collections/*/dataConnector`.", +"type": "string" +}, +"endTime": { +"description": "The time when the connector run ended.", +"format": "google-datetime", +"type": "string" +}, +"entity": { +"description": "The entity to sync for the connector run.", +"type": "string" +}, +"operation": { +"description": "The operation resource name of the LRO to sync the connector.", +"type": "string" +}, +"startTime": { +"description": "The time when the connector run started.", +"format": "google-datetime", +"type": "string" +}, +"syncType": { +"description": "The type of sync run. Can be one of the following: * `FULL` * `INCREMENTAL`", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineLoggingErrorContext": { +"description": "A description of the context in which an error occurred.", +"id": "GoogleCloudDiscoveryengineLoggingErrorContext", +"properties": { +"httpRequest": { +"$ref": "GoogleCloudDiscoveryengineLoggingHttpRequestContext", +"description": "The HTTP request which was processed when the error was triggered." +}, +"reportLocation": { +"$ref": "GoogleCloudDiscoveryengineLoggingSourceLocation", +"description": "The location in the source code where the decision was made to report the error, usually the place where it was logged." +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineLoggingErrorLog": { +"description": "An error log which is reported to the Error Reporting system.", +"id": "GoogleCloudDiscoveryengineLoggingErrorLog", +"properties": { +"connectorRunPayload": { +"$ref": "GoogleCloudDiscoveryengineLoggingConnectorRunErrorContext", +"description": "The error payload that is populated on LRO connector sync APIs." +}, +"context": { +"$ref": "GoogleCloudDiscoveryengineLoggingErrorContext", +"description": "A description of the context in which the error occurred." +}, +"importPayload": { +"$ref": "GoogleCloudDiscoveryengineLoggingImportErrorContext", +"description": "The error payload that is populated on LRO import APIs." +}, +"message": { +"description": "A message describing the error.", +"type": "string" +}, +"requestPayload": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"description": "The API request payload, represented as a protocol buffer. Most API request types are supported\u2014for example: * `type.googleapis.com/google.cloud.discoveryengine.v1alpha.DocumentService.CreateDocumentRequest` * `type.googleapis.com/google.cloud.discoveryengine.v1alpha.UserEventService.WriteUserEventRequest`", +"type": "object" +}, +"responsePayload": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"description": "The API response payload, represented as a protocol buffer. This is used to log some \"soft errors\", where the response is valid but we consider there are some quality issues like unjoined events. The following API responses are supported, and no PII is included: * `google.cloud.discoveryengine.v1alpha.RecommendationService.Recommend` * `google.cloud.discoveryengine.v1alpha.UserEventService.WriteUserEvent` * `google.cloud.discoveryengine.v1alpha.UserEventService.CollectUserEvent`", +"type": "object" +}, +"serviceContext": { +"$ref": "GoogleCloudDiscoveryengineLoggingServiceContext", +"description": "The service context in which this error has occurred." +}, +"status": { +"$ref": "GoogleRpcStatus", +"description": "The RPC status associated with the error log." +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineLoggingHttpRequestContext": { +"description": "HTTP request data that is related to a reported error.", +"id": "GoogleCloudDiscoveryengineLoggingHttpRequestContext", +"properties": { +"responseStatusCode": { +"description": "The HTTP response status code for the request.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineLoggingImportErrorContext": { +"description": "The error payload that is populated on LRO import APIs, including the following: * `google.cloud.discoveryengine.v1alpha.DocumentService.ImportDocuments` * `google.cloud.discoveryengine.v1alpha.UserEventService.ImportUserEvents`", +"id": "GoogleCloudDiscoveryengineLoggingImportErrorContext", +"properties": { +"document": { +"description": "The detailed content which caused the error on importing a document.", +"type": "string" +}, +"gcsPath": { +"description": "Google Cloud Storage file path of the import source. Can be set for batch operation error.", +"type": "string" +}, +"lineNumber": { +"description": "Line number of the content in file. Should be empty for permission or batch operation error.", +"type": "string" +}, +"operation": { +"description": "The operation resource name of the LRO.", +"type": "string" +}, +"userEvent": { +"description": "The detailed content which caused the error on importing a user event.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineLoggingServiceContext": { +"description": "Describes a running service that sends errors.", +"id": "GoogleCloudDiscoveryengineLoggingServiceContext", +"properties": { +"service": { +"description": "An identifier of the service\u2014for example, `discoveryengine.googleapis.com`.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineLoggingSourceLocation": { +"description": "Indicates a location in the source code of the service for which errors are reported.", +"id": "GoogleCloudDiscoveryengineLoggingSourceLocation", +"properties": { +"functionName": { +"description": "Human-readable name of a function or method\u2014for example, `google.cloud.discoveryengine.v1alpha.RecommendationService.Recommend`.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1AclConfig": { +"description": "Access Control Configuration.", +"id": "GoogleCloudDiscoveryengineV1AclConfig", +"properties": { +"idpConfig": { +"$ref": "GoogleCloudDiscoveryengineV1IdpConfig", +"description": "Identity provider config." +}, +"name": { +"description": "Immutable. The full resource name of the acl configuration. Format: `projects/{project}/locations/{location}/aclConfig`. This field must be a UTF-8 encoded string with a length limit of 1024 characters.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1ActionConfig": { +"description": "Informations to support actions on the connector.", +"id": "GoogleCloudDiscoveryengineV1ActionConfig", +"properties": { +"actionParams": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"description": "Optional. Action parameters in structured json format.", +"type": "object" +}, +"isActionConfigured": { +"description": "Output only. The connector contains the necessary parameters and is configured to support actions.", +"readOnly": true, +"type": "boolean" +}, +"jsonActionParams": { +"description": "Optional. Action parameters in json string format.", +"type": "string" +}, +"serviceName": { +"description": "Optional. The Service Directory resource name (projects/*/locations/*/namespaces/*/services/*) representing a VPC network endpoint used to connect to the data source's `instance_uri`, defined in DataConnector.params. Required when VPC Service Controls are enabled.", +"type": "string" +}, +"useStaticSecrets": { +"description": "Optional. Whether to use static secrets for the connector. If true, the secrets provided in the action_params will be ignored.", +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1AdvancedCompleteQueryRequest": { +"description": "Request message for CompletionService.AdvancedCompleteQuery method. .", +"id": "GoogleCloudDiscoveryengineV1AdvancedCompleteQueryRequest", +"properties": { +"boostSpec": { +"$ref": "GoogleCloudDiscoveryengineV1AdvancedCompleteQueryRequestBoostSpec", +"description": "Optional. Specification to boost suggestions matching the condition." +}, +"experimentIds": { +"description": "Optional. Experiment ids for this request.", +"items": { +"type": "string" +}, +"type": "array" +}, +"includeTailSuggestions": { +"description": "Indicates if tail suggestions should be returned if there are no suggestions that match the full query. Even if set to true, if there are suggestions that match the full query, those are returned and no tail suggestions are returned.", +"type": "boolean" +}, +"query": { +"description": "Required. The typeahead input used to fetch suggestions. Maximum length is 128 characters. The query can not be empty for most of the suggestion types. If it is empty, an `INVALID_ARGUMENT` error is returned. The exception is when the suggestion_types contains only the type `RECENT_SEARCH`, the query can be an empty string. The is called \"zero prefix\" feature, which returns user's recently searched queries given the empty query.", +"type": "string" +}, +"queryModel": { +"description": "Specifies the autocomplete query model, which only applies to the QUERY SuggestionType. This overrides any model specified in the Configuration > Autocomplete section of the Cloud console. Currently supported values: * `document` - Using suggestions generated from user-imported documents. * `search-history` - Using suggestions generated from the past history of SearchService.Search API calls. Do not use it when there is no traffic for Search API. * `user-event` - Using suggestions generated from user-imported search events. * `document-completable` - Using suggestions taken directly from user-imported document fields marked as completable. Default values: * `document` is the default model for regular dataStores. * `search-history` is the default model for site search dataStores.", +"type": "string" +}, +"suggestionTypeSpecs": { +"description": "Optional. Specification of each suggestion type.", +"items": { +"$ref": "GoogleCloudDiscoveryengineV1AdvancedCompleteQueryRequestSuggestionTypeSpec" +}, +"type": "array" +}, +"suggestionTypes": { +"description": "Optional. Suggestion types to return. If empty or unspecified, query suggestions are returned. Only one suggestion type is supported at the moment.", +"items": { +"enum": [ +"SUGGESTION_TYPE_UNSPECIFIED", +"QUERY", +"PEOPLE", +"CONTENT", +"RECENT_SEARCH", +"GOOGLE_WORKSPACE" +], +"enumDescriptions": [ +"Default value.", +"Returns query suggestions.", +"Returns people suggestions.", +"Returns content suggestions.", +"Returns recent search suggestions.", +"Returns Google Workspace suggestions." +], +"type": "string" +}, +"type": "array" +}, +"userInfo": { +"$ref": "GoogleCloudDiscoveryengineV1UserInfo", +"description": "Optional. Information about the end user. This should be the same identifier information as UserEvent.user_info and SearchRequest.user_info." +}, +"userPseudoId": { +"description": "Optional. A unique identifier for tracking visitors. For example, this could be implemented with an HTTP cookie, which should be able to uniquely identify a visitor on a single device. This unique identifier should not change if the visitor logs in or out of the website. This field should NOT have a fixed value such as `unknown_visitor`. This should be the same identifier as UserEvent.user_pseudo_id and SearchRequest.user_pseudo_id. The field must be a UTF-8 encoded string with a length limit of 128", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1AdvancedCompleteQueryRequestBoostSpec": { +"description": "Specification to boost suggestions based on the condition of the suggestion.", +"id": "GoogleCloudDiscoveryengineV1AdvancedCompleteQueryRequestBoostSpec", +"properties": { +"conditionBoostSpecs": { +"description": "Condition boost specifications. If a suggestion matches multiple conditions in the specifications, boost values from these specifications are all applied and combined in a non-linear way. Maximum number of specifications is 20. Note: Currently only support language condition boost.", +"items": { +"$ref": "GoogleCloudDiscoveryengineV1AdvancedCompleteQueryRequestBoostSpecConditionBoostSpec" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1AdvancedCompleteQueryRequestBoostSpecConditionBoostSpec": { +"description": "Boost applies to suggestions which match a condition.", +"id": "GoogleCloudDiscoveryengineV1AdvancedCompleteQueryRequestBoostSpecConditionBoostSpec", +"properties": { +"boost": { +"description": "Strength of the boost, which should be in [-1, 1]. Negative boost means demotion. Default is 0.0. Setting to 1.0 gives the suggestions a big promotion. However, it does not necessarily mean that the top result will be a boosted suggestion. Setting to -1.0 gives the suggestions a big demotion. However, other suggestions that are relevant might still be shown. Setting to 0.0 means no boost applied. The boosting condition is ignored.", +"format": "float", +"type": "number" +}, +"condition": { +"description": "An expression which specifies a boost condition. The syntax is the same as [filter expression syntax](https://cloud.google.com/generative-ai-app-builder/docs/filter-search-metadata#filter-expression-syntax). Currently, the only supported condition is a list of BCP-47 lang codes. Example: * To boost suggestions in languages `en` or `fr`: `(lang_code: ANY(\"en\", \"fr\"))`", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1AdvancedCompleteQueryRequestSuggestionTypeSpec": { +"description": "Specification of each suggestion type.", +"id": "GoogleCloudDiscoveryengineV1AdvancedCompleteQueryRequestSuggestionTypeSpec", +"properties": { +"maxSuggestions": { +"description": "Optional. Maximum number of suggestions to return for each suggestion type.", +"format": "int32", +"type": "integer" +}, +"suggestionType": { +"description": "Optional. Suggestion type.", +"enum": [ +"SUGGESTION_TYPE_UNSPECIFIED", +"QUERY", +"PEOPLE", +"CONTENT", +"RECENT_SEARCH", +"GOOGLE_WORKSPACE" +], +"enumDescriptions": [ +"Default value.", +"Returns query suggestions.", +"Returns people suggestions.", +"Returns content suggestions.", +"Returns recent search suggestions.", +"Returns Google Workspace suggestions." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1AdvancedCompleteQueryResponse": { +"description": "Response message for CompletionService.AdvancedCompleteQuery method.", +"id": "GoogleCloudDiscoveryengineV1AdvancedCompleteQueryResponse", +"properties": { +"contentSuggestions": { +"description": "Results of the matched content suggestions. The result list is ordered and the first result is the top suggestion.", +"items": { +"$ref": "GoogleCloudDiscoveryengineV1AdvancedCompleteQueryResponseContentSuggestion" +}, +"type": "array" +}, +"peopleSuggestions": { +"description": "Results of the matched people suggestions. The result list is ordered and the first result is the top suggestion.", +"items": { +"$ref": "GoogleCloudDiscoveryengineV1AdvancedCompleteQueryResponsePersonSuggestion" +}, +"type": "array" +}, +"querySuggestions": { +"description": "Results of the matched query suggestions. The result list is ordered and the first result is a top suggestion.", +"items": { +"$ref": "GoogleCloudDiscoveryengineV1AdvancedCompleteQueryResponseQuerySuggestion" +}, +"type": "array" +}, +"recentSearchSuggestions": { +"description": "Results of the matched \"recent search\" suggestions. The result list is ordered and the first result is the top suggestion.", +"items": { +"$ref": "GoogleCloudDiscoveryengineV1AdvancedCompleteQueryResponseRecentSearchSuggestion" +}, +"type": "array" +}, +"tailMatchTriggered": { +"description": "True if the returned suggestions are all tail suggestions. For tail matching to be triggered, include_tail_suggestions in the request must be true and there must be no suggestions that match the full query.", +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1AdvancedCompleteQueryResponseContentSuggestion": { +"description": "Suggestions as content.", +"id": "GoogleCloudDiscoveryengineV1AdvancedCompleteQueryResponseContentSuggestion", +"properties": { +"contentType": { +"description": "The type of the content suggestion.", +"enum": [ +"CONTENT_TYPE_UNSPECIFIED", +"GOOGLE_WORKSPACE", +"THIRD_PARTY" +], +"enumDescriptions": [ +"Default value.", +"The suggestion is from a Google Workspace source.", +"The suggestion is from a third party source." +], +"type": "string" +}, +"dataStore": { +"description": "The name of the dataStore that this suggestion belongs to.", +"type": "string" +}, +"destinationUri": { +"description": "The destination uri of the content suggestion.", +"type": "string" +}, +"document": { +"$ref": "GoogleCloudDiscoveryengineV1Document", +"description": "The document data snippet in the suggestion. Only a subset of fields will be populated." +}, +"iconUri": { +"description": "The icon uri of the content suggestion.", +"type": "string" +}, +"score": { +"description": "The score of each suggestion. The score is in the range of [0, 1].", +"format": "double", +"type": "number" +}, +"suggestion": { +"description": "The suggestion for the query.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1AdvancedCompleteQueryResponsePersonSuggestion": { +"description": "Suggestions as people.", +"id": "GoogleCloudDiscoveryengineV1AdvancedCompleteQueryResponsePersonSuggestion", +"properties": { +"dataStore": { +"description": "The name of the dataStore that this suggestion belongs to.", +"type": "string" +}, +"destinationUri": { +"description": "The destination uri of the person suggestion.", +"type": "string" +}, +"displayPhotoUri": { +"description": "The photo uri of the person suggestion.", +"type": "string" +}, +"document": { +"$ref": "GoogleCloudDiscoveryengineV1Document", +"description": "The document data snippet in the suggestion. Only a subset of fields is populated." +}, +"personType": { +"description": "The type of the person.", +"enum": [ +"PERSON_TYPE_UNSPECIFIED", +"CLOUD_IDENTITY", +"THIRD_PARTY_IDENTITY" +], +"enumDescriptions": [ +"Default value.", +"The suggestion is from a GOOGLE_IDENTITY source.", +"The suggestion is from a THIRD_PARTY_IDENTITY source." +], +"type": "string" +}, +"score": { +"description": "The score of each suggestion. The score is in the range of [0, 1].", +"format": "double", +"type": "number" +}, +"suggestion": { +"description": "The suggestion for the query.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1AdvancedCompleteQueryResponseQuerySuggestion": { +"description": "Suggestions as search queries.", +"id": "GoogleCloudDiscoveryengineV1AdvancedCompleteQueryResponseQuerySuggestion", +"properties": { +"completableFieldPaths": { +"description": "The unique document field paths that serve as the source of this suggestion if it was generated from completable fields. This field is only populated for the document-completable model.", +"items": { +"type": "string" +}, +"type": "array" +}, +"dataStore": { +"description": "The name of the dataStore that this suggestion belongs to.", +"items": { +"type": "string" +}, +"type": "array" +}, +"score": { +"description": "The score of each suggestion. The score is in the range of [0, 1].", +"format": "double", +"type": "number" +}, +"suggestion": { +"description": "The suggestion for the query.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1AdvancedCompleteQueryResponseRecentSearchSuggestion": { +"description": "Suggestions from recent search history.", +"id": "GoogleCloudDiscoveryengineV1AdvancedCompleteQueryResponseRecentSearchSuggestion", +"properties": { +"recentSearchTime": { +"description": "The time when this recent rearch happened.", +"format": "google-datetime", +"type": "string" +}, +"score": { +"description": "The score of each suggestion. The score is in the range of [0, 1].", +"format": "double", +"type": "number" +}, +"suggestion": { +"description": "The suggestion for the query.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1AdvancedSiteSearchConfig": { +"description": "Configuration data for advance site search.", +"id": "GoogleCloudDiscoveryengineV1AdvancedSiteSearchConfig", +"properties": { +"disableAutomaticRefresh": { +"description": "If set true, automatic refresh is disabled for the DataStore.", +"type": "boolean" +}, +"disableInitialIndex": { +"description": "If set true, initial indexing is disabled for the DataStore.", +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1AlertPolicyConfig": { +"description": "The connector level alert config.", +"id": "GoogleCloudDiscoveryengineV1AlertPolicyConfig", +"properties": { +"alertEnrollments": { +"description": "Optional. The enrollment states of each alert.", +"items": { +"$ref": "GoogleCloudDiscoveryengineV1AlertPolicyConfigAlertEnrollment" +}, +"type": "array" +}, +"alertPolicyName": { +"description": "Immutable. The fully qualified resource name of the AlertPolicy.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1AlertPolicyConfigAlertEnrollment": { +"description": "The alert enrollment status.", +"id": "GoogleCloudDiscoveryengineV1AlertPolicyConfigAlertEnrollment", +"properties": { +"alertId": { +"description": "Immutable. The id of an alert.", +"type": "string" +}, +"enrollState": { +"description": "Required. The enrollment status of a customer.", +"enum": [ +"ENROLL_STATES_UNSPECIFIED", +"ENROLLED", +"DECLINED" +], +"enumDescriptions": [ +"Default value. Used for customers who have not responded to the alert policy.", +"Customer is enrolled in this policy.", +"Customer declined this policy." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1AlloyDbSource": { +"description": "AlloyDB source import data from.", +"id": "GoogleCloudDiscoveryengineV1AlloyDbSource", +"properties": { +"clusterId": { +"description": "Required. The AlloyDB cluster to copy the data from with a length limit of 256 characters.", +"type": "string" +}, +"databaseId": { +"description": "Required. The AlloyDB database to copy the data from with a length limit of 256 characters.", +"type": "string" +}, +"gcsStagingDir": { +"description": "Intermediate Cloud Storage directory used for the import with a length limit of 2,000 characters. Can be specified if one wants to have the AlloyDB export to a specific Cloud Storage directory. Ensure that the AlloyDB service account has the necessary Cloud Storage Admin permissions to access the specified Cloud Storage directory.", +"type": "string" +}, +"locationId": { +"description": "Required. The AlloyDB location to copy the data from with a length limit of 256 characters.", +"type": "string" +}, +"projectId": { +"description": "The project ID that contains the AlloyDB source. Has a length limit of 128 characters. If not specified, inherits the project ID from the parent request.", +"type": "string" +}, +"tableId": { +"description": "Required. The AlloyDB table to copy the data from with a length limit of 256 characters.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1Answer": { +"description": "Defines an answer.", +"id": "GoogleCloudDiscoveryengineV1Answer", +"properties": { +"answerSkippedReasons": { +"description": "Additional answer-skipped reasons. This provides the reason for ignored cases. If nothing is skipped, this field is not set.", +"items": { +"enum": [ +"ANSWER_SKIPPED_REASON_UNSPECIFIED", +"ADVERSARIAL_QUERY_IGNORED", +"NON_ANSWER_SEEKING_QUERY_IGNORED", +"OUT_OF_DOMAIN_QUERY_IGNORED", +"POTENTIAL_POLICY_VIOLATION", +"NO_RELEVANT_CONTENT", +"JAIL_BREAKING_QUERY_IGNORED", +"CUSTOMER_POLICY_VIOLATION", +"NON_ANSWER_SEEKING_QUERY_IGNORED_V2", +"LOW_GROUNDED_ANSWER", +"USER_DEFINED_CLASSIFICATION_QUERY_IGNORED", +"UNHELPFUL_ANSWER" +], +"enumDescriptions": [ +"Default value. The answer skipped reason is not specified.", +"The adversarial query ignored case.", +"The non-answer seeking query ignored case Google skips the answer if the query is chit chat.", +"The out-of-domain query ignored case. Google skips the answer if there are no high-relevance search results.", +"The potential policy violation case. Google skips the answer if there is a potential policy violation detected. This includes content that may be violent or toxic.", +"The no relevant content case. Google skips the answer if there is no relevant content in the retrieved search results.", +"The jail-breaking query ignored case. For example, \"Reply in the tone of a competing company's CEO\". Google skips the answer if the query is classified as a jail-breaking query.", +"The customer policy violation case. Google skips the summary if there is a customer policy violation detected. The policy is defined by the customer.", +"The non-answer seeking query ignored case. Google skips the answer if the query doesn't have clear intent.", +"The low-grounded answer case. Google skips the answer if a well grounded answer was unable to be generated.", +"The user defined query classification ignored case. Google skips the answer if the query is classified as a user defined query classification.", +"The unhelpful answer case. Google skips the answer if the answer is not helpful. This can be due to a variety of factors, including but not limited to: the query is not answerable, the answer is not relevant to the query, or the answer is not well-formatted." +], +"type": "string" +}, +"type": "array" +}, +"answerText": { +"description": "The textual answer.", +"type": "string" +}, +"citations": { +"description": "Citations.", +"items": { +"$ref": "GoogleCloudDiscoveryengineV1AnswerCitation" +}, +"type": "array" +}, +"completeTime": { +"description": "Output only. Answer completed timestamp.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"createTime": { +"description": "Output only. Answer creation timestamp.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"groundingScore": { +"description": "A score in the range of [0, 1] describing how grounded the answer is by the reference chunks.", +"format": "double", +"type": "number" +}, +"groundingSupports": { +"description": "Optional. Grounding supports.", +"items": { +"$ref": "GoogleCloudDiscoveryengineV1AnswerGroundingSupport" +}, +"type": "array" +}, +"name": { +"description": "Immutable. Fully qualified name `projects/{project}/locations/global/collections/{collection}/engines/{engine}/sessions/*/answers/*`", +"type": "string" +}, +"queryUnderstandingInfo": { +"$ref": "GoogleCloudDiscoveryengineV1AnswerQueryUnderstandingInfo", +"description": "Query understanding information." +}, +"references": { +"description": "References.", +"items": { +"$ref": "GoogleCloudDiscoveryengineV1AnswerReference" +}, +"type": "array" +}, +"relatedQuestions": { +"description": "Suggested related questions.", +"items": { +"type": "string" +}, +"type": "array" +}, +"safetyRatings": { +"description": "Optional. Safety ratings.", +"items": { +"$ref": "GoogleCloudDiscoveryengineV1SafetyRating" +}, +"type": "array" +}, +"state": { +"description": "The state of the answer generation.", +"enum": [ +"STATE_UNSPECIFIED", +"IN_PROGRESS", +"FAILED", +"SUCCEEDED", +"STREAMING" +], +"enumDescriptions": [ +"Unknown.", +"Answer generation is currently in progress.", +"Answer generation currently failed.", +"Answer generation has succeeded.", +"Answer generation is currently in progress." +], +"type": "string" +}, +"steps": { +"description": "Answer generation steps.", +"items": { +"$ref": "GoogleCloudDiscoveryengineV1AnswerStep" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1AnswerCitation": { +"description": "Citation info for a segment.", +"id": "GoogleCloudDiscoveryengineV1AnswerCitation", +"properties": { +"endIndex": { +"description": "End of the attributed segment, exclusive. Measured in bytes (UTF-8 unicode). If there are multi-byte characters,such as non-ASCII characters, the index measurement is longer than the string length.", +"format": "int64", +"type": "string" +}, +"sources": { +"description": "Citation sources for the attributed segment.", +"items": { +"$ref": "GoogleCloudDiscoveryengineV1AnswerCitationSource" +}, +"type": "array" +}, +"startIndex": { +"description": "Index indicates the start of the segment, measured in bytes (UTF-8 unicode). If there are multi-byte characters,such as non-ASCII characters, the index measurement is longer than the string length.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1AnswerCitationSource": { +"description": "Citation source.", +"id": "GoogleCloudDiscoveryengineV1AnswerCitationSource", +"properties": { +"referenceId": { +"description": "ID of the citation source.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1AnswerGenerationSpec": { +"description": "The specification for answer generation.", +"id": "GoogleCloudDiscoveryengineV1AnswerGenerationSpec", +"properties": { +"userDefinedClassifierSpec": { +"$ref": "GoogleCloudDiscoveryengineV1AnswerGenerationSpecUserDefinedClassifierSpec", +"description": "Optional. The specification for user specified classifier spec." +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1AnswerGenerationSpecUserDefinedClassifierSpec": { +"description": "The specification for user defined classifier.", +"id": "GoogleCloudDiscoveryengineV1AnswerGenerationSpecUserDefinedClassifierSpec", +"properties": { +"enableUserDefinedClassifier": { +"description": "Optional. Whether or not to enable and include user defined classifier.", +"type": "boolean" +}, +"modelId": { +"description": "Optional. The model id to be used for the user defined classifier.", +"type": "string" +}, +"preamble": { +"description": "Optional. The preamble to be used for the user defined classifier.", +"type": "string" +}, +"seed": { +"description": "Optional. The seed value to be used for the user defined classifier.", +"format": "int32", +"type": "integer" +}, +"taskMarker": { +"description": "Optional. The task marker to be used for the user defined classifier.", +"type": "string" +}, +"temperature": { +"description": "Optional. The temperature value to be used for the user defined classifier.", +"format": "double", +"type": "number" +}, +"topK": { +"description": "Optional. The top-k value to be used for the user defined classifier.", +"format": "int64", +"type": "string" +}, +"topP": { +"description": "Optional. The top-p value to be used for the user defined classifier.", +"format": "double", +"type": "number" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1AnswerGroundingSupport": { +"description": "Grounding support for a claim in `answer_text`.", +"id": "GoogleCloudDiscoveryengineV1AnswerGroundingSupport", +"properties": { +"endIndex": { +"description": "Required. End of the claim, exclusive.", +"format": "int64", +"type": "string" +}, +"groundingCheckRequired": { +"description": "Indicates that this claim required grounding check. When the system decided this claim didn't require attribution/grounding check, this field is set to false. In that case, no grounding check was done for the claim and therefore `grounding_score`, `sources` is not returned.", +"type": "boolean" +}, +"groundingScore": { +"description": "A score in the range of [0, 1] describing how grounded is a specific claim by the references. Higher value means that the claim is better supported by the reference chunks.", +"format": "double", +"type": "number" +}, +"sources": { +"description": "Optional. Citation sources for the claim.", +"items": { +"$ref": "GoogleCloudDiscoveryengineV1AnswerCitationSource" +}, +"type": "array" +}, +"startIndex": { +"description": "Required. Index indicates the start of the claim, measured in bytes (UTF-8 unicode).", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1AnswerQueryRequest": { +"description": "Request message for ConversationalSearchService.AnswerQuery method.", +"id": "GoogleCloudDiscoveryengineV1AnswerQueryRequest", +"properties": { +"answerGenerationSpec": { +"$ref": "GoogleCloudDiscoveryengineV1AnswerQueryRequestAnswerGenerationSpec", +"description": "Answer generation specification." +}, +"asynchronousMode": { +"deprecated": true, +"description": "Deprecated: This field is deprecated. Streaming Answer API will be supported. Asynchronous mode control. If enabled, the response will be returned with answer/session resource name without final answer. The API users need to do the polling to get the latest status of answer/session by calling ConversationalSearchService.GetAnswer or ConversationalSearchService.GetSession method.", +"type": "boolean" +}, +"endUserSpec": { +"$ref": "GoogleCloudDiscoveryengineV1AnswerQueryRequestEndUserSpec", +"description": "Optional. End user specification." +}, +"groundingSpec": { +"$ref": "GoogleCloudDiscoveryengineV1AnswerQueryRequestGroundingSpec", +"description": "Optional. Grounding specification." +}, +"query": { +"$ref": "GoogleCloudDiscoveryengineV1Query", +"description": "Required. Current user query." +}, +"queryUnderstandingSpec": { +"$ref": "GoogleCloudDiscoveryengineV1AnswerQueryRequestQueryUnderstandingSpec", +"description": "Query understanding specification." +}, +"relatedQuestionsSpec": { +"$ref": "GoogleCloudDiscoveryengineV1AnswerQueryRequestRelatedQuestionsSpec", +"description": "Related questions specification." +}, +"safetySpec": { +"$ref": "GoogleCloudDiscoveryengineV1AnswerQueryRequestSafetySpec", +"description": "Model specification." +}, +"searchSpec": { +"$ref": "GoogleCloudDiscoveryengineV1AnswerQueryRequestSearchSpec", +"description": "Search specification." +}, +"session": { +"description": "The session resource name. Not required. When session field is not set, the API is in sessionless mode. We support auto session mode: users can use the wildcard symbol `-` as session ID. A new ID will be automatically generated and assigned.", +"type": "string" +}, +"userLabels": { +"additionalProperties": { +"type": "string" +}, +"description": "The user labels applied to a resource must meet the following requirements: * Each resource can have multiple labels, up to a maximum of 64. * Each label must be a key-value pair. * Keys have a minimum length of 1 character and a maximum length of 63 characters and cannot be empty. Values can be empty and have a maximum length of 63 characters. * Keys and values can contain only lowercase letters, numeric characters, underscores, and dashes. All characters must use UTF-8 encoding, and international characters are allowed. * The key portion of a label must be unique. However, you can use the same key with multiple resources. * Keys must start with a lowercase letter or international character. See [Google Cloud Document](https://cloud.google.com/resource-manager/docs/creating-managing-labels#requirements) for more details.", +"type": "object" +}, +"userPseudoId": { +"description": "A unique identifier for tracking visitors. For example, this could be implemented with an HTTP cookie, which should be able to uniquely identify a visitor on a single device. This unique identifier should not change if the visitor logs in or out of the website. This field should NOT have a fixed value such as `unknown_visitor`. The field must be a UTF-8 encoded string with a length limit of 128 characters. Otherwise, an `INVALID_ARGUMENT` error is returned.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1AnswerQueryRequestAnswerGenerationSpec": { +"description": "Answer generation specification.", +"id": "GoogleCloudDiscoveryengineV1AnswerQueryRequestAnswerGenerationSpec", +"properties": { +"answerLanguageCode": { +"description": "Language code for Answer. Use language tags defined by [BCP47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt). Note: This is an experimental feature.", +"type": "string" +}, +"ignoreAdversarialQuery": { +"description": "Specifies whether to filter out adversarial queries. The default value is `false`. Google employs search-query classification to detect adversarial queries. No answer is returned if the search query is classified as an adversarial query. For example, a user might ask a question regarding negative comments about the company or submit a query designed to generate unsafe, policy-violating output. If this field is set to `true`, we skip generating answers for adversarial queries and return fallback messages instead.", +"type": "boolean" +}, +"ignoreJailBreakingQuery": { +"description": "Optional. Specifies whether to filter out jail-breaking queries. The default value is `false`. Google employs search-query classification to detect jail-breaking queries. No summary is returned if the search query is classified as a jail-breaking query. A user might add instructions to the query to change the tone, style, language, content of the answer, or ask the model to act as a different entity, e.g. \"Reply in the tone of a competing company's CEO\". If this field is set to `true`, we skip generating summaries for jail-breaking queries and return fallback messages instead.", +"type": "boolean" +}, +"ignoreLowRelevantContent": { +"description": "Specifies whether to filter out queries that have low relevance. If this field is set to `false`, all search results are used regardless of relevance to generate answers. If set to `true` or unset, the behavior will be determined automatically by the service.", +"type": "boolean" +}, +"ignoreNonAnswerSeekingQuery": { +"description": "Specifies whether to filter out queries that are not answer-seeking. The default value is `false`. Google employs search-query classification to detect answer-seeking queries. No answer is returned if the search query is classified as a non-answer seeking query. If this field is set to `true`, we skip generating answers for non-answer seeking queries and return fallback messages instead.", +"type": "boolean" +}, +"includeCitations": { +"description": "Specifies whether to include citation metadata in the answer. The default value is `false`.", +"type": "boolean" +}, +"modelSpec": { +"$ref": "GoogleCloudDiscoveryengineV1AnswerQueryRequestAnswerGenerationSpecModelSpec", +"description": "Answer generation model specification." +}, +"promptSpec": { +"$ref": "GoogleCloudDiscoveryengineV1AnswerQueryRequestAnswerGenerationSpecPromptSpec", +"description": "Answer generation prompt specification." +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1AnswerQueryRequestAnswerGenerationSpecModelSpec": { +"description": "Answer Generation Model specification.", +"id": "GoogleCloudDiscoveryengineV1AnswerQueryRequestAnswerGenerationSpecModelSpec", +"properties": { +"modelVersion": { +"description": "Model version. If not set, it will use the default stable model. Allowed values are: stable, preview.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1AnswerQueryRequestAnswerGenerationSpecPromptSpec": { +"description": "Answer generation prompt specification.", +"id": "GoogleCloudDiscoveryengineV1AnswerQueryRequestAnswerGenerationSpecPromptSpec", +"properties": { +"preamble": { +"description": "Customized preamble.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1AnswerQueryRequestEndUserSpec": { +"description": "End user specification.", +"id": "GoogleCloudDiscoveryengineV1AnswerQueryRequestEndUserSpec", +"properties": { +"endUserMetadata": { +"description": "Optional. End user metadata.", +"items": { +"$ref": "GoogleCloudDiscoveryengineV1AnswerQueryRequestEndUserSpecEndUserMetaData" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1AnswerQueryRequestEndUserSpecEndUserMetaData": { +"description": "End user metadata.", +"id": "GoogleCloudDiscoveryengineV1AnswerQueryRequestEndUserSpecEndUserMetaData", +"properties": { +"chunkInfo": { +"$ref": "GoogleCloudDiscoveryengineV1AnswerQueryRequestEndUserSpecEndUserMetaDataChunkInfo", +"description": "Chunk information." +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1AnswerQueryRequestEndUserSpecEndUserMetaDataChunkInfo": { +"description": "Chunk information.", +"id": "GoogleCloudDiscoveryengineV1AnswerQueryRequestEndUserSpecEndUserMetaDataChunkInfo", +"properties": { +"content": { +"description": "Chunk textual content. It is limited to 8000 characters.", +"type": "string" +}, +"documentMetadata": { +"$ref": "GoogleCloudDiscoveryengineV1AnswerQueryRequestEndUserSpecEndUserMetaDataChunkInfoDocumentMetadata", +"description": "Metadata of the document from the current chunk." +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1AnswerQueryRequestEndUserSpecEndUserMetaDataChunkInfoDocumentMetadata": { +"description": "Document metadata contains the information of the document of the current chunk.", +"id": "GoogleCloudDiscoveryengineV1AnswerQueryRequestEndUserSpecEndUserMetaDataChunkInfoDocumentMetadata", +"properties": { +"title": { +"description": "Title of the document.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1AnswerQueryRequestGroundingSpec": { +"description": "Grounding specification.", +"id": "GoogleCloudDiscoveryengineV1AnswerQueryRequestGroundingSpec", +"properties": { +"filteringLevel": { +"description": "Optional. Specifies whether to enable the filtering based on grounding score and at what level.", +"enum": [ +"FILTERING_LEVEL_UNSPECIFIED", +"FILTERING_LEVEL_LOW", +"FILTERING_LEVEL_HIGH" +], +"enumDescriptions": [ +"Default is no filter", +"Filter answers based on a low threshold.", +"Filter answers based on a high threshold." +], +"type": "string" +}, +"includeGroundingSupports": { +"description": "Optional. Specifies whether to include grounding_supports in the answer. The default value is `false`. When this field is set to `true`, returned answer will have `grounding_score` and will contain GroundingSupports for each claim.", +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1AnswerQueryRequestQueryUnderstandingSpec": { +"description": "Query understanding specification.", +"id": "GoogleCloudDiscoveryengineV1AnswerQueryRequestQueryUnderstandingSpec", +"properties": { +"disableSpellCorrection": { +"description": "Optional. Whether to disable spell correction. The default value is `false`.", +"type": "boolean" +}, +"queryClassificationSpec": { +"$ref": "GoogleCloudDiscoveryengineV1AnswerQueryRequestQueryUnderstandingSpecQueryClassificationSpec", +"description": "Query classification specification." +}, +"queryRephraserSpec": { +"$ref": "GoogleCloudDiscoveryengineV1AnswerQueryRequestQueryUnderstandingSpecQueryRephraserSpec", +"description": "Query rephraser specification." +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1AnswerQueryRequestQueryUnderstandingSpecQueryClassificationSpec": { +"description": "Query classification specification.", +"id": "GoogleCloudDiscoveryengineV1AnswerQueryRequestQueryUnderstandingSpecQueryClassificationSpec", +"properties": { +"types": { +"description": "Enabled query classification types.", +"items": { +"enum": [ +"TYPE_UNSPECIFIED", +"ADVERSARIAL_QUERY", +"NON_ANSWER_SEEKING_QUERY", +"JAIL_BREAKING_QUERY", +"NON_ANSWER_SEEKING_QUERY_V2", +"USER_DEFINED_CLASSIFICATION_QUERY" +], +"enumDescriptions": [ +"Unspecified query classification type.", +"Adversarial query classification type.", +"Non-answer-seeking query classification type, for chit chat.", +"Jail-breaking query classification type.", +"Non-answer-seeking query classification type, for no clear intent.", +"User defined query classification type." +], +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1AnswerQueryRequestQueryUnderstandingSpecQueryRephraserSpec": { +"description": "Query rephraser specification.", +"id": "GoogleCloudDiscoveryengineV1AnswerQueryRequestQueryUnderstandingSpecQueryRephraserSpec", +"properties": { +"disable": { +"description": "Disable query rephraser.", +"type": "boolean" +}, +"maxRephraseSteps": { +"description": "Max rephrase steps. The max number is 5 steps. If not set or set to < 1, it will be set to 1 by default.", +"format": "int32", +"type": "integer" +}, +"modelSpec": { +"$ref": "GoogleCloudDiscoveryengineV1AnswerQueryRequestQueryUnderstandingSpecQueryRephraserSpecModelSpec", +"description": "Optional. Query Rephraser Model specification." +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1AnswerQueryRequestQueryUnderstandingSpecQueryRephraserSpecModelSpec": { +"description": "Query Rephraser Model specification.", +"id": "GoogleCloudDiscoveryengineV1AnswerQueryRequestQueryUnderstandingSpecQueryRephraserSpecModelSpec", +"properties": { +"modelType": { +"description": "Optional. Enabled query rephraser model type. If not set, it will use LARGE by default.", +"enum": [ +"MODEL_TYPE_UNSPECIFIED", +"SMALL", +"LARGE" +], +"enumDescriptions": [ +"Unspecified model type.", +"Small query rephraser model. Gemini 1.0 XS model.", +"Large query rephraser model. Gemini 1.0 Pro model." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1AnswerQueryRequestRelatedQuestionsSpec": { +"description": "Related questions specification.", +"id": "GoogleCloudDiscoveryengineV1AnswerQueryRequestRelatedQuestionsSpec", +"properties": { +"enable": { +"description": "Enable related questions feature if true.", +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1AnswerQueryRequestSafetySpec": { +"description": "Safety specification. There are two use cases: 1. when only safety_spec.enable is set, the BLOCK_LOW_AND_ABOVE threshold will be applied for all categories. 2. when safety_spec.enable is set and some safety_settings are set, only specified safety_settings are applied.", +"id": "GoogleCloudDiscoveryengineV1AnswerQueryRequestSafetySpec", +"properties": { +"enable": { +"description": "Enable the safety filtering on the answer response. It is false by default.", +"type": "boolean" +}, +"safetySettings": { +"description": "Optional. Safety settings. This settings are effective only when the safety_spec.enable is true.", +"items": { +"$ref": "GoogleCloudDiscoveryengineV1AnswerQueryRequestSafetySpecSafetySetting" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1AnswerQueryRequestSafetySpecSafetySetting": { +"description": "Safety settings.", +"id": "GoogleCloudDiscoveryengineV1AnswerQueryRequestSafetySpecSafetySetting", +"properties": { +"category": { +"description": "Required. Harm category.", +"enum": [ +"HARM_CATEGORY_UNSPECIFIED", +"HARM_CATEGORY_HATE_SPEECH", +"HARM_CATEGORY_DANGEROUS_CONTENT", +"HARM_CATEGORY_HARASSMENT", +"HARM_CATEGORY_SEXUALLY_EXPLICIT", +"HARM_CATEGORY_CIVIC_INTEGRITY" +], +"enumDescriptions": [ +"The harm category is unspecified.", +"The harm category is hate speech.", +"The harm category is dangerous content.", +"The harm category is harassment.", +"The harm category is sexually explicit content.", +"The harm category is civic integrity." +], +"type": "string" +}, +"threshold": { +"description": "Required. The harm block threshold.", +"enum": [ +"HARM_BLOCK_THRESHOLD_UNSPECIFIED", +"BLOCK_LOW_AND_ABOVE", +"BLOCK_MEDIUM_AND_ABOVE", +"BLOCK_ONLY_HIGH", +"BLOCK_NONE", +"OFF" +], +"enumDescriptions": [ +"Unspecified harm block threshold.", +"Block low threshold and above (i.e. block more).", +"Block medium threshold and above.", +"Block only high threshold (i.e. block less).", +"Block none.", +"Turn off the safety filter." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1AnswerQueryRequestSearchSpec": { +"description": "Search specification.", +"id": "GoogleCloudDiscoveryengineV1AnswerQueryRequestSearchSpec", +"properties": { +"searchParams": { +"$ref": "GoogleCloudDiscoveryengineV1AnswerQueryRequestSearchSpecSearchParams", +"description": "Search parameters." +}, +"searchResultList": { +"$ref": "GoogleCloudDiscoveryengineV1AnswerQueryRequestSearchSpecSearchResultList", +"description": "Search result list." +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1AnswerQueryRequestSearchSpecSearchParams": { +"description": "Search parameters.", +"id": "GoogleCloudDiscoveryengineV1AnswerQueryRequestSearchSpecSearchParams", +"properties": { +"boostSpec": { +"$ref": "GoogleCloudDiscoveryengineV1SearchRequestBoostSpec", +"description": "Boost specification to boost certain documents in search results which may affect the answer query response. For more information on boosting, see [Boosting](https://cloud.google.com/retail/docs/boosting#boost)" +}, +"dataStoreSpecs": { +"description": "Specs defining dataStores to filter on in a search call and configurations for those dataStores. This is only considered for engines with multiple dataStores use case. For single dataStore within an engine, they should use the specs at the top level.", +"items": { +"$ref": "GoogleCloudDiscoveryengineV1SearchRequestDataStoreSpec" +}, +"type": "array" +}, +"filter": { +"description": "The filter syntax consists of an expression language for constructing a predicate from one or more fields of the documents being filtered. Filter expression is case-sensitive. This will be used to filter search results which may affect the Answer response. If this field is unrecognizable, an `INVALID_ARGUMENT` is returned. Filtering in Vertex AI Search is done by mapping the LHS filter key to a key property defined in the Vertex AI Search backend -- this mapping is defined by the customer in their schema. For example a media customers might have a field 'name' in their schema. In this case the filter would look like this: filter --> name:'ANY(\"king kong\")' For more information about filtering including syntax and filter operators, see [Filter](https://cloud.google.com/generative-ai-app-builder/docs/filter-search-metadata)", +"type": "string" +}, +"maxReturnResults": { +"description": "Number of search results to return. The default value is 10.", +"format": "int32", +"type": "integer" +}, +"orderBy": { +"description": "The order in which documents are returned. Documents can be ordered by a field in an Document object. Leave it unset if ordered by relevance. `order_by` expression is case-sensitive. For more information on ordering, see [Ordering](https://cloud.google.com/retail/docs/filter-and-order#order) If this field is unrecognizable, an `INVALID_ARGUMENT` is returned.", +"type": "string" +}, +"searchResultMode": { +"description": "Specifies the search result mode. If unspecified, the search result mode defaults to `DOCUMENTS`. See [parse and chunk documents](https://cloud.google.com/generative-ai-app-builder/docs/parse-chunk-documents)", +"enum": [ +"SEARCH_RESULT_MODE_UNSPECIFIED", +"DOCUMENTS", +"CHUNKS" +], +"enumDescriptions": [ +"Default value.", +"Returns documents in the search result.", +"Returns chunks in the search result. Only available if the DocumentProcessingConfig.chunking_config is specified." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1AnswerQueryRequestSearchSpecSearchResultList": { +"description": "Search result list.", +"id": "GoogleCloudDiscoveryengineV1AnswerQueryRequestSearchSpecSearchResultList", +"properties": { +"searchResults": { +"description": "Search results.", +"items": { +"$ref": "GoogleCloudDiscoveryengineV1AnswerQueryRequestSearchSpecSearchResultListSearchResult" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1AnswerQueryRequestSearchSpecSearchResultListSearchResult": { +"description": "Search result.", +"id": "GoogleCloudDiscoveryengineV1AnswerQueryRequestSearchSpecSearchResultListSearchResult", +"properties": { +"chunkInfo": { +"$ref": "GoogleCloudDiscoveryengineV1AnswerQueryRequestSearchSpecSearchResultListSearchResultChunkInfo", +"description": "Chunk information." +}, +"unstructuredDocumentInfo": { +"$ref": "GoogleCloudDiscoveryengineV1AnswerQueryRequestSearchSpecSearchResultListSearchResultUnstructuredDocumentInfo", +"description": "Unstructured document information." +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1AnswerQueryRequestSearchSpecSearchResultListSearchResultChunkInfo": { +"description": "Chunk information.", +"id": "GoogleCloudDiscoveryengineV1AnswerQueryRequestSearchSpecSearchResultListSearchResultChunkInfo", +"properties": { +"chunk": { +"description": "Chunk resource name.", +"type": "string" +}, +"content": { +"description": "Chunk textual content.", +"type": "string" +}, +"documentMetadata": { +"$ref": "GoogleCloudDiscoveryengineV1AnswerQueryRequestSearchSpecSearchResultListSearchResultChunkInfoDocumentMetadata", +"description": "Metadata of the document from the current chunk." +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1AnswerQueryRequestSearchSpecSearchResultListSearchResultChunkInfoDocumentMetadata": { +"description": "Document metadata contains the information of the document of the current chunk.", +"id": "GoogleCloudDiscoveryengineV1AnswerQueryRequestSearchSpecSearchResultListSearchResultChunkInfoDocumentMetadata", +"properties": { +"title": { +"description": "Title of the document.", +"type": "string" +}, +"uri": { +"description": "Uri of the document.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1AnswerQueryRequestSearchSpecSearchResultListSearchResultUnstructuredDocumentInfo": { +"description": "Unstructured document information.", +"id": "GoogleCloudDiscoveryengineV1AnswerQueryRequestSearchSpecSearchResultListSearchResultUnstructuredDocumentInfo", +"properties": { +"document": { +"description": "Document resource name.", +"type": "string" +}, +"documentContexts": { +"description": "List of document contexts. The content will be used for Answer Generation. This is supposed to be the main content of the document that can be long and comprehensive.", +"items": { +"$ref": "GoogleCloudDiscoveryengineV1AnswerQueryRequestSearchSpecSearchResultListSearchResultUnstructuredDocumentInfoDocumentContext" +}, +"type": "array" +}, +"extractiveAnswers": { +"deprecated": true, +"description": "Deprecated: This field is deprecated and will have no effect on the Answer generation. Please use document_contexts and extractive_segments fields. List of extractive answers.", +"items": { +"$ref": "GoogleCloudDiscoveryengineV1AnswerQueryRequestSearchSpecSearchResultListSearchResultUnstructuredDocumentInfoExtractiveAnswer" +}, +"type": "array" +}, +"extractiveSegments": { +"description": "List of extractive segments.", +"items": { +"$ref": "GoogleCloudDiscoveryengineV1AnswerQueryRequestSearchSpecSearchResultListSearchResultUnstructuredDocumentInfoExtractiveSegment" +}, +"type": "array" +}, +"title": { +"description": "Title.", +"type": "string" +}, +"uri": { +"description": "URI for the document.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1AnswerQueryRequestSearchSpecSearchResultListSearchResultUnstructuredDocumentInfoDocumentContext": { +"description": "Document context.", +"id": "GoogleCloudDiscoveryengineV1AnswerQueryRequestSearchSpecSearchResultListSearchResultUnstructuredDocumentInfoDocumentContext", +"properties": { +"content": { +"description": "Document content to be used for answer generation.", +"type": "string" +}, +"pageIdentifier": { +"description": "Page identifier.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1AnswerQueryRequestSearchSpecSearchResultListSearchResultUnstructuredDocumentInfoExtractiveAnswer": { +"description": "Extractive answer. [Guide](https://cloud.google.com/generative-ai-app-builder/docs/snippets#get-answers)", +"id": "GoogleCloudDiscoveryengineV1AnswerQueryRequestSearchSpecSearchResultListSearchResultUnstructuredDocumentInfoExtractiveAnswer", +"properties": { +"content": { +"description": "Extractive answer content.", +"type": "string" +}, +"pageIdentifier": { +"description": "Page identifier.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1AnswerQueryRequestSearchSpecSearchResultListSearchResultUnstructuredDocumentInfoExtractiveSegment": { +"description": "Extractive segment. [Guide](https://cloud.google.com/generative-ai-app-builder/docs/snippets#extractive-segments) Answer generation will only use it if document_contexts is empty. This is supposed to be shorter snippets.", +"id": "GoogleCloudDiscoveryengineV1AnswerQueryRequestSearchSpecSearchResultListSearchResultUnstructuredDocumentInfoExtractiveSegment", +"properties": { +"content": { +"description": "Extractive segment content.", +"type": "string" +}, +"pageIdentifier": { +"description": "Page identifier.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1AnswerQueryResponse": { +"description": "Response message for ConversationalSearchService.AnswerQuery method.", +"id": "GoogleCloudDiscoveryengineV1AnswerQueryResponse", +"properties": { +"answer": { +"$ref": "GoogleCloudDiscoveryengineV1Answer", +"description": "Answer resource object. If AnswerQueryRequest.QueryUnderstandingSpec.QueryRephraserSpec.max_rephrase_steps is greater than 1, use Answer.name to fetch answer information using ConversationalSearchService.GetAnswer API." +}, +"answerQueryToken": { +"description": "A global unique ID used for logging.", +"type": "string" +}, +"session": { +"$ref": "GoogleCloudDiscoveryengineV1Session", +"description": "Session resource object. It will be only available when session field is set and valid in the AnswerQueryRequest request." +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1AnswerQueryUnderstandingInfo": { +"description": "Query understanding information.", +"id": "GoogleCloudDiscoveryengineV1AnswerQueryUnderstandingInfo", +"properties": { +"queryClassificationInfo": { +"description": "Query classification information.", +"items": { +"$ref": "GoogleCloudDiscoveryengineV1AnswerQueryUnderstandingInfoQueryClassificationInfo" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1AnswerQueryUnderstandingInfoQueryClassificationInfo": { +"description": "Query classification information.", +"id": "GoogleCloudDiscoveryengineV1AnswerQueryUnderstandingInfoQueryClassificationInfo", +"properties": { +"positive": { +"description": "Classification output.", +"type": "boolean" +}, +"type": { +"description": "Query classification type.", +"enum": [ +"TYPE_UNSPECIFIED", +"ADVERSARIAL_QUERY", +"NON_ANSWER_SEEKING_QUERY", +"JAIL_BREAKING_QUERY", +"NON_ANSWER_SEEKING_QUERY_V2", +"USER_DEFINED_CLASSIFICATION_QUERY" +], +"enumDescriptions": [ +"Unspecified query classification type.", +"Adversarial query classification type.", +"Non-answer-seeking query classification type, for chit chat.", +"Jail-breaking query classification type.", +"Non-answer-seeking query classification type, for no clear intent.", +"User defined query classification type." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1AnswerReference": { +"description": "Reference.", +"id": "GoogleCloudDiscoveryengineV1AnswerReference", +"properties": { +"chunkInfo": { +"$ref": "GoogleCloudDiscoveryengineV1AnswerReferenceChunkInfo", +"description": "Chunk information." +}, +"structuredDocumentInfo": { +"$ref": "GoogleCloudDiscoveryengineV1AnswerReferenceStructuredDocumentInfo", +"description": "Structured document information." +}, +"unstructuredDocumentInfo": { +"$ref": "GoogleCloudDiscoveryengineV1AnswerReferenceUnstructuredDocumentInfo", +"description": "Unstructured document information." +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1AnswerReferenceChunkInfo": { +"description": "Chunk information.", +"id": "GoogleCloudDiscoveryengineV1AnswerReferenceChunkInfo", +"properties": { +"chunk": { +"description": "Chunk resource name.", +"type": "string" +}, +"content": { +"description": "Chunk textual content.", +"type": "string" +}, +"documentMetadata": { +"$ref": "GoogleCloudDiscoveryengineV1AnswerReferenceChunkInfoDocumentMetadata", +"description": "Document metadata." +}, +"relevanceScore": { +"description": "The relevance of the chunk for a given query. Values range from 0.0 (completely irrelevant) to 1.0 (completely relevant). This value is for informational purpose only. It may change for the same query and chunk at any time due to a model retraining or change in implementation.", +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1AnswerReferenceChunkInfoDocumentMetadata": { +"description": "Document metadata.", +"id": "GoogleCloudDiscoveryengineV1AnswerReferenceChunkInfoDocumentMetadata", +"properties": { +"document": { +"description": "Document resource name.", +"type": "string" +}, +"pageIdentifier": { +"description": "Page identifier.", +"type": "string" +}, +"structData": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"description": "The structured JSON metadata for the document. It is populated from the struct data from the Chunk in search result.", +"type": "object" +}, +"title": { +"description": "Title.", +"type": "string" +}, +"uri": { +"description": "URI for the document.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1AnswerReferenceStructuredDocumentInfo": { +"description": "Structured search information.", +"id": "GoogleCloudDiscoveryengineV1AnswerReferenceStructuredDocumentInfo", +"properties": { +"document": { +"description": "Document resource name.", +"type": "string" +}, +"structData": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"description": "Structured search data.", +"type": "object" +}, +"title": { +"description": "Output only. The title of the document.", +"readOnly": true, +"type": "string" +}, +"uri": { +"description": "Output only. The URI of the document.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1AnswerReferenceUnstructuredDocumentInfo": { +"description": "Unstructured document information.", +"id": "GoogleCloudDiscoveryengineV1AnswerReferenceUnstructuredDocumentInfo", +"properties": { +"chunkContents": { +"description": "List of cited chunk contents derived from document content.", +"items": { +"$ref": "GoogleCloudDiscoveryengineV1AnswerReferenceUnstructuredDocumentInfoChunkContent" +}, +"type": "array" +}, +"document": { +"description": "Document resource name.", +"type": "string" +}, +"structData": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"description": "The structured JSON metadata for the document. It is populated from the struct data from the Chunk in search result.", +"type": "object" +}, +"title": { +"description": "Title.", +"type": "string" +}, +"uri": { +"description": "URI for the document.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1AnswerReferenceUnstructuredDocumentInfoChunkContent": { +"description": "Chunk content.", +"id": "GoogleCloudDiscoveryengineV1AnswerReferenceUnstructuredDocumentInfoChunkContent", +"properties": { +"content": { +"description": "Chunk textual content.", +"type": "string" +}, +"pageIdentifier": { +"description": "Page identifier.", +"type": "string" +}, +"relevanceScore": { +"description": "The relevance of the chunk for a given query. Values range from 0.0 (completely irrelevant) to 1.0 (completely relevant). This value is for informational purpose only. It may change for the same query and chunk at any time due to a model retraining or change in implementation.", +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1AnswerStep": { +"description": "Step information.", +"id": "GoogleCloudDiscoveryengineV1AnswerStep", +"properties": { +"actions": { +"description": "Actions.", +"items": { +"$ref": "GoogleCloudDiscoveryengineV1AnswerStepAction" +}, +"type": "array" +}, +"description": { +"description": "The description of the step.", +"type": "string" +}, +"state": { +"description": "The state of the step.", +"enum": [ +"STATE_UNSPECIFIED", +"IN_PROGRESS", +"FAILED", +"SUCCEEDED" +], +"enumDescriptions": [ +"Unknown.", +"Step is currently in progress.", +"Step currently failed.", +"Step has succeeded." +], +"type": "string" +}, +"thought": { +"description": "The thought of the step.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1AnswerStepAction": { +"description": "Action.", +"id": "GoogleCloudDiscoveryengineV1AnswerStepAction", +"properties": { +"observation": { +"$ref": "GoogleCloudDiscoveryengineV1AnswerStepActionObservation", +"description": "Observation." +}, +"searchAction": { +"$ref": "GoogleCloudDiscoveryengineV1AnswerStepActionSearchAction", +"description": "Search action." +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1AnswerStepActionObservation": { +"description": "Observation.", +"id": "GoogleCloudDiscoveryengineV1AnswerStepActionObservation", +"properties": { +"searchResults": { +"description": "Search results observed by the search action, it can be snippets info or chunk info, depending on the citation type set by the user.", +"items": { +"$ref": "GoogleCloudDiscoveryengineV1AnswerStepActionObservationSearchResult" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1AnswerStepActionObservationSearchResult": { +"id": "GoogleCloudDiscoveryengineV1AnswerStepActionObservationSearchResult", +"properties": { +"chunkInfo": { +"description": "If citation_type is CHUNK_LEVEL_CITATION and chunk mode is on, populate chunk info.", +"items": { +"$ref": "GoogleCloudDiscoveryengineV1AnswerStepActionObservationSearchResultChunkInfo" +}, +"type": "array" +}, +"document": { +"description": "Document resource name.", +"type": "string" +}, +"snippetInfo": { +"description": "If citation_type is DOCUMENT_LEVEL_CITATION, populate document level snippets.", +"items": { +"$ref": "GoogleCloudDiscoveryengineV1AnswerStepActionObservationSearchResultSnippetInfo" +}, +"type": "array" +}, +"structData": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"description": "Data representation. The structured JSON data for the document. It's populated from the struct data from the Document, or the Chunk in search result.", +"type": "object" +}, +"title": { +"description": "Title.", +"type": "string" +}, +"uri": { +"description": "URI for the document.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1AnswerStepActionObservationSearchResultChunkInfo": { +"description": "Chunk information.", +"id": "GoogleCloudDiscoveryengineV1AnswerStepActionObservationSearchResultChunkInfo", +"properties": { +"chunk": { +"description": "Chunk resource name.", +"type": "string" +}, +"content": { +"description": "Chunk textual content.", +"type": "string" +}, +"relevanceScore": { +"description": "The relevance of the chunk for a given query. Values range from 0.0 (completely irrelevant) to 1.0 (completely relevant). This value is for informational purpose only. It may change for the same query and chunk at any time due to a model retraining or change in implementation.", +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1AnswerStepActionObservationSearchResultSnippetInfo": { +"description": "Snippet information.", +"id": "GoogleCloudDiscoveryengineV1AnswerStepActionObservationSearchResultSnippetInfo", +"properties": { +"snippet": { +"description": "Snippet content.", +"type": "string" +}, +"snippetStatus": { +"description": "Status of the snippet defined by the search team.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1AnswerStepActionSearchAction": { +"description": "Search action.", +"id": "GoogleCloudDiscoveryengineV1AnswerStepActionSearchAction", +"properties": { +"query": { +"description": "The query to search.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1AssistAnswer": { +"description": "AssistAnswer resource, main part of AssistResponse.", +"id": "GoogleCloudDiscoveryengineV1AssistAnswer", +"properties": { +"assistSkippedReasons": { +"description": "Reasons for not answering the assist call.", +"items": { +"enum": [ +"ASSIST_SKIPPED_REASON_UNSPECIFIED", +"NON_ASSIST_SEEKING_QUERY_IGNORED", +"CUSTOMER_POLICY_VIOLATION" +], +"enumDescriptions": [ +"Default value. Skip reason is not specified.", +"The assistant ignored the query, because it did not appear to be answer-seeking.", +"The assistant ignored the query or refused to answer because of a customer policy violation (e.g., the query or the answer contained a banned phrase)." +], +"type": "string" +}, +"type": "array" +}, +"customerPolicyEnforcementResult": { +"$ref": "GoogleCloudDiscoveryengineV1AssistAnswerCustomerPolicyEnforcementResult", +"description": "Optional. The field contains information about the various policy checks' results like the banned phrases or the Model Armor checks. This field is populated only if the assist call was skipped due to a policy violation." +}, +"name": { +"description": "Immutable. Identifier. Resource name of the `AssistAnswer`. Format: `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}/assistAnswers/{assist_answer}` This field must be a UTF-8 encoded string with a length limit of 1024 characters.", +"type": "string" +}, +"replies": { +"description": "Replies of the assistant.", +"items": { +"$ref": "GoogleCloudDiscoveryengineV1AssistAnswerReply" +}, +"type": "array" +}, +"state": { +"description": "State of the answer generation.", +"enum": [ +"STATE_UNSPECIFIED", +"IN_PROGRESS", +"FAILED", +"SUCCEEDED", +"SKIPPED" +], +"enumDescriptions": [ +"Unknown.", +"Assist operation is currently in progress.", +"Assist operation has failed.", +"Assist operation has succeeded.", +"Assist operation has been skipped." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1AssistAnswerCustomerPolicyEnforcementResult": { +"description": "Customer policy enforcement results. Contains the results of the various policy checks, like the banned phrases or the Model Armor checks.", +"id": "GoogleCloudDiscoveryengineV1AssistAnswerCustomerPolicyEnforcementResult", +"properties": { +"policyResults": { +"description": "Customer policy enforcement results. Populated only if the assist call was skipped due to a policy violation. It contains results from those filters that blocked the processing of the query.", +"items": { +"$ref": "GoogleCloudDiscoveryengineV1AssistAnswerCustomerPolicyEnforcementResultPolicyEnforcementResult" +}, +"type": "array" +}, +"verdict": { +"description": "Final verdict of the customer policy enforcement. If only one policy blocked the processing, the verdict is BLOCK.", +"enum": [ +"UNSPECIFIED", +"ALLOW", +"BLOCK" +], +"enumDescriptions": [ +"Unknown value.", +"There was no policy violation.", +"Processing was blocked by the customer policy." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1AssistAnswerCustomerPolicyEnforcementResultBannedPhraseEnforcementResult": { +"description": "Customer policy enforcement result for the banned phrase policy.", +"id": "GoogleCloudDiscoveryengineV1AssistAnswerCustomerPolicyEnforcementResultBannedPhraseEnforcementResult", +"properties": { +"bannedPhrases": { +"description": "The banned phrases that were found in the query or the answer.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1AssistAnswerCustomerPolicyEnforcementResultModelArmorEnforcementResult": { +"description": "Customer policy enforcement result for the Model Armor policy.", +"id": "GoogleCloudDiscoveryengineV1AssistAnswerCustomerPolicyEnforcementResultModelArmorEnforcementResult", +"properties": { +"error": { +"$ref": "GoogleRpcStatus", +"description": "The error returned by Model Armor if the policy enforcement failed for some reason." +}, +"modelArmorViolation": { +"description": "The Model Armor violation that was found.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1AssistAnswerCustomerPolicyEnforcementResultPolicyEnforcementResult": { +"description": "Customer policy enforcement result for a single policy type.", +"id": "GoogleCloudDiscoveryengineV1AssistAnswerCustomerPolicyEnforcementResultPolicyEnforcementResult", +"properties": { +"bannedPhraseEnforcementResult": { +"$ref": "GoogleCloudDiscoveryengineV1AssistAnswerCustomerPolicyEnforcementResultBannedPhraseEnforcementResult", +"description": "The policy enforcement result for the banned phrase policy." +}, +"modelArmorEnforcementResult": { +"$ref": "GoogleCloudDiscoveryengineV1AssistAnswerCustomerPolicyEnforcementResultModelArmorEnforcementResult", +"description": "The policy enforcement result for the Model Armor policy." +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1AssistAnswerReply": { +"description": "One part of the multi-part response of the assist call.", +"id": "GoogleCloudDiscoveryengineV1AssistAnswerReply", +"properties": { +"groundedContent": { +"$ref": "GoogleCloudDiscoveryengineV1AssistantGroundedContent", +"description": "Possibly grounded response text or media from the assistant." +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1AssistUserMetadata": { +"description": "User metadata of the request.", +"id": "GoogleCloudDiscoveryengineV1AssistUserMetadata", +"properties": { +"preferredLanguageCode": { +"description": "Optional. Preferred language to be used for answering if language detection fails. Also used as the language of error messages created by actions, regardless of language detection results.", +"type": "string" +}, +"timeZone": { +"description": "Optional. IANA time zone, e.g. Europe/Budapest.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1Assistant": { +"description": "Discovery Engine Assistant resource.", +"id": "GoogleCloudDiscoveryengineV1Assistant", +"properties": { +"customerPolicy": { +"$ref": "GoogleCloudDiscoveryengineV1AssistantCustomerPolicy", +"description": "Optional. Customer policy for the assistant." +}, +"defaultWebGroundingToggleOff": { +"description": "Optional. This field controls the default web grounding toggle for end users if `web_grounding_type` is set to `WEB_GROUNDING_TYPE_GOOGLE_SEARCH` or `WEB_GROUNDING_TYPE_ENTERPRISE_WEB_SEARCH`. By default, this field is set to false. If `web_grounding_type` is `WEB_GROUNDING_TYPE_GOOGLE_SEARCH` or `WEB_GROUNDING_TYPE_ENTERPRISE_WEB_SEARCH`, end users will have web grounding enabled by default on UI. If true, grounding toggle will be disabled by default on UI. End users can still enable web grounding in the UI if web grounding is enabled.", +"type": "boolean" +}, +"description": { +"description": "Optional. Description for additional information. Expected to be shown on the configuration UI, not to the users of the assistant.", +"type": "string" +}, +"displayName": { +"description": "Required. The assistant display name. It must be a UTF-8 encoded string with a length limit of 128 characters.", +"type": "string" +}, +"enabledTools": { +"additionalProperties": { +"$ref": "GoogleCloudDiscoveryengineV1AssistantToolList" +}, +"description": "Optional. Note: not implemented yet. Use enabled_actions instead. The enabled tools on this assistant. The keys are connector name, for example \"projects/{projectId}/locations/{locationId}/collections/{collectionId}/dataconnector The values consist of admin enabled tools towards the connector instance. Admin can selectively enable multiple tools on any of the connector instances that they created in the project. For example {\"jira1ConnectorName\": [(toolId1, \"createTicket\"), (toolId2, \"transferTicket\")], \"gmail1ConnectorName\": [(toolId3, \"sendEmail\"),..] }", +"type": "object" +}, +"generationConfig": { +"$ref": "GoogleCloudDiscoveryengineV1AssistantGenerationConfig", +"description": "Optional. Configuration for the generation of the assistant response." +}, +"name": { +"description": "Immutable. Resource name of the assistant. Format: `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/assistants/{assistant}` It must be a UTF-8 encoded string with a length limit of 1024 characters.", +"type": "string" +}, +"webGroundingType": { +"description": "Optional. The type of web grounding to use.", +"enum": [ +"WEB_GROUNDING_TYPE_UNSPECIFIED", +"WEB_GROUNDING_TYPE_DISABLED", +"WEB_GROUNDING_TYPE_GOOGLE_SEARCH", +"WEB_GROUNDING_TYPE_ENTERPRISE_WEB_SEARCH" +], +"enumDescriptions": [ +"Default, unspecified setting. This is the same as disabled.", +"Web grounding is disabled.", +"Grounding with Google Search is enabled.", +"Grounding with Enterprise Web Search is enabled." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1AssistantContent": { +"description": "Multi-modal content.", +"id": "GoogleCloudDiscoveryengineV1AssistantContent", +"properties": { +"codeExecutionResult": { +"$ref": "GoogleCloudDiscoveryengineV1AssistantContentCodeExecutionResult", +"description": "Result of executing an ExecutableCode." +}, +"executableCode": { +"$ref": "GoogleCloudDiscoveryengineV1AssistantContentExecutableCode", +"description": "Code generated by the model that is meant to be executed." +}, +"file": { +"$ref": "GoogleCloudDiscoveryengineV1AssistantContentFile", +"description": "A file, e.g., an audio summary." +}, +"inlineData": { +"$ref": "GoogleCloudDiscoveryengineV1AssistantContentBlob", +"description": "Inline binary data." +}, +"role": { +"description": "The producer of the content. Can be \"model\" or \"user\".", +"type": "string" +}, +"text": { +"description": "Inline text.", +"type": "string" +}, +"thought": { +"description": "Optional. Indicates if the part is thought from the model.", +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1AssistantContentBlob": { +"description": "Inline blob.", +"id": "GoogleCloudDiscoveryengineV1AssistantContentBlob", +"properties": { +"data": { +"description": "Required. Raw bytes.", +"format": "byte", +"type": "string" +}, +"mimeType": { +"description": "Required. The media type (MIME type) of the generated data.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1AssistantContentCodeExecutionResult": { +"description": "Result of executing ExecutableCode.", +"id": "GoogleCloudDiscoveryengineV1AssistantContentCodeExecutionResult", +"properties": { +"outcome": { +"description": "Required. Outcome of the code execution.", +"enum": [ +"OUTCOME_UNSPECIFIED", +"OUTCOME_OK", +"OUTCOME_FAILED", +"OUTCOME_DEADLINE_EXCEEDED" +], +"enumDescriptions": [ +"Unspecified status. This value should not be used.", +"Code execution completed successfully.", +"Code execution finished but with a failure. `stderr` should contain the reason.", +"Code execution ran for too long, and was cancelled. There may or may not be a partial output present." +], +"type": "string" +}, +"output": { +"description": "Optional. Contains stdout when code execution is successful, stderr or other description otherwise.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1AssistantContentExecutableCode": { +"description": "Code generated by the model that is meant to be executed by the model.", +"id": "GoogleCloudDiscoveryengineV1AssistantContentExecutableCode", +"properties": { +"code": { +"description": "Required. The code content. Currently only supports Python.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1AssistantContentFile": { +"description": "A file, e.g., an audio summary.", +"id": "GoogleCloudDiscoveryengineV1AssistantContentFile", +"properties": { +"fileId": { +"description": "Required. The file ID.", +"type": "string" +}, +"mimeType": { +"description": "Required. The media type (MIME type) of the file.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1AssistantCustomerPolicy": { +"description": "Customer-defined policy for the assistant.", +"id": "GoogleCloudDiscoveryengineV1AssistantCustomerPolicy", +"properties": { +"bannedPhrases": { +"description": "Optional. List of banned phrases.", +"items": { +"$ref": "GoogleCloudDiscoveryengineV1AssistantCustomerPolicyBannedPhrase" +}, +"type": "array" +}, +"modelArmorConfig": { +"$ref": "GoogleCloudDiscoveryengineV1AssistantCustomerPolicyModelArmorConfig", +"description": "Optional. Model Armor configuration to be used for sanitizing user prompts and assistant responses." +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1AssistantCustomerPolicyBannedPhrase": { +"description": "Definition of a customer-defined banned phrase. A banned phrase is not allowed to appear in the user query or the LLM response, or else the answer will be refused.", +"id": "GoogleCloudDiscoveryengineV1AssistantCustomerPolicyBannedPhrase", +"properties": { +"ignoreDiacritics": { +"description": "Optional. If true, diacritical marks (e.g., accents, umlauts) are ignored when matching banned phrases. For example, \"cafe\" would match \"caf\u00e9\".", +"type": "boolean" +}, +"matchType": { +"description": "Optional. Match type for the banned phrase.", +"enum": [ +"BANNED_PHRASE_MATCH_TYPE_UNSPECIFIED", +"SIMPLE_STRING_MATCH", +"WORD_BOUNDARY_STRING_MATCH" +], +"enumDescriptions": [ +"Defaults to SIMPLE_STRING_MATCH.", +"The banned phrase matches if it is found anywhere in the text as an exact substring.", +"Banned phrase only matches if the pattern found in the text is surrounded by word delimiters. The phrase itself may still contain word delimiters." +], +"type": "string" +}, +"phrase": { +"description": "Required. The raw string content to be banned.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1AssistantCustomerPolicyModelArmorConfig": { +"description": "Configuration for customer defined Model Armor templates to be used for sanitizing user prompts and assistant responses.", +"id": "GoogleCloudDiscoveryengineV1AssistantCustomerPolicyModelArmorConfig", +"properties": { +"failureMode": { +"description": "Optional. Defines the failure mode for Model Armor sanitization.", +"enum": [ +"FAILURE_MODE_UNSPECIFIED", +"FAIL_OPEN", +"FAIL_CLOSED" +], +"enumDescriptions": [ +"Unspecified failure mode, default behavior is `FAIL_CLOSED`.", +"In case of a Model Armor processing failure, the request is allowed to proceed without any changes.", +"In case of a Model Armor processing failure, the request is rejected." +], +"type": "string" +}, +"responseTemplate": { +"description": "Optional. The resource name of the Model Armor template for sanitizing assistant responses. Format: `projects/{project}/locations/{location}/templates/{template_id}` If not specified, no sanitization will be applied to the assistant response.", +"type": "string" +}, +"userPromptTemplate": { +"description": "Optional. The resource name of the Model Armor template for sanitizing user prompts. Format: `projects/{project}/locations/{location}/templates/{template_id}` If not specified, no sanitization will be applied to the user prompt.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1AssistantGenerationConfig": { +"description": "Configuration for the generation of the assistant response.", +"id": "GoogleCloudDiscoveryengineV1AssistantGenerationConfig", +"properties": { +"allowedModelIds": { +"description": "Optional. The list of models that are allowed to be used for assistant.", +"items": { +"type": "string" +}, +"type": "array" +}, +"defaultLanguage": { +"description": "The default language to use for the generation of the assistant response. Use an ISO 639-1 language code such as `en`. If not specified, the language will be automatically detected.", +"type": "string" +}, +"defaultModelId": { +"description": "Optional. The default model to use for assistant.", +"type": "string" +}, +"systemInstruction": { +"$ref": "GoogleCloudDiscoveryengineV1AssistantGenerationConfigSystemInstruction", +"description": "System instruction, also known as the prompt preamble for LLM calls. See also https://cloud.google.com/vertex-ai/generative-ai/docs/learn/prompts/system-instructions" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1AssistantGenerationConfigSystemInstruction": { +"description": "System instruction, also known as the prompt preamble for LLM calls.", +"id": "GoogleCloudDiscoveryengineV1AssistantGenerationConfigSystemInstruction", +"properties": { +"additionalSystemInstruction": { +"description": "Optional. Additional system instruction that will be added to the default system instruction.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1AssistantGroundedContent": { +"description": "A piece of content and possibly its grounding information. Not all content needs grounding. Phrases like \"Of course, I will gladly search it for you.\" do not need grounding.", +"id": "GoogleCloudDiscoveryengineV1AssistantGroundedContent", +"properties": { +"citationMetadata": { +"$ref": "GoogleCloudDiscoveryengineV1CitationMetadata", +"description": "Source attribution of the generated content. See also https://cloud.google.com/vertex-ai/generative-ai/docs/learn/overview#citation_check" +}, +"content": { +"$ref": "GoogleCloudDiscoveryengineV1AssistantContent", +"description": "The content." +}, +"textGroundingMetadata": { +"$ref": "GoogleCloudDiscoveryengineV1AssistantGroundedContentTextGroundingMetadata", +"description": "Metadata for grounding based on text sources." +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1AssistantGroundedContentTextGroundingMetadata": { +"description": "Grounding details for text sources.", +"id": "GoogleCloudDiscoveryengineV1AssistantGroundedContentTextGroundingMetadata", +"properties": { +"references": { +"description": "References for the grounded text.", +"items": { +"$ref": "GoogleCloudDiscoveryengineV1AssistantGroundedContentTextGroundingMetadataReference" +}, +"type": "array" +}, +"segments": { +"description": "Grounding information for parts of the text.", +"items": { +"$ref": "GoogleCloudDiscoveryengineV1AssistantGroundedContentTextGroundingMetadataSegment" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1AssistantGroundedContentTextGroundingMetadataReference": { +"description": "Referenced content and related document metadata.", +"id": "GoogleCloudDiscoveryengineV1AssistantGroundedContentTextGroundingMetadataReference", +"properties": { +"content": { +"description": "Referenced text content.", +"type": "string" +}, +"documentMetadata": { +"$ref": "GoogleCloudDiscoveryengineV1AssistantGroundedContentTextGroundingMetadataReferenceDocumentMetadata", +"description": "Document metadata." +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1AssistantGroundedContentTextGroundingMetadataReferenceDocumentMetadata": { +"description": "Document metadata.", +"id": "GoogleCloudDiscoveryengineV1AssistantGroundedContentTextGroundingMetadataReferenceDocumentMetadata", +"properties": { +"document": { +"description": "Document resource name.", +"type": "string" +}, +"domain": { +"description": "Domain name from the document URI. Note that the `uri` field may contain a URL that redirects to the actual website, in which case this will contain the domain name of the target site.", +"type": "string" +}, +"mimeType": { +"description": "The mime type of the document. https://www.iana.org/assignments/media-types/media-types.xhtml.", +"type": "string" +}, +"pageIdentifier": { +"description": "Page identifier.", +"type": "string" +}, +"title": { +"description": "Title.", +"type": "string" +}, +"uri": { +"description": "URI for the document. It may contain a URL that redirects to the actual website.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1AssistantGroundedContentTextGroundingMetadataSegment": { +"description": "Grounding information for a segment of the text.", +"id": "GoogleCloudDiscoveryengineV1AssistantGroundedContentTextGroundingMetadataSegment", +"properties": { +"endIndex": { +"description": "End of the segment, exclusive.", +"format": "int64", +"type": "string" +}, +"groundingScore": { +"description": "Score for the segment.", +"format": "float", +"type": "number" +}, +"referenceIndices": { +"description": "References for the segment.", +"items": { +"format": "int32", +"type": "integer" +}, +"type": "array" +}, +"startIndex": { +"description": "Zero-based index indicating the start of the segment, measured in bytes of a UTF-8 string (i.e. characters encoded on multiple bytes have a length of more than one).", +"format": "int64", +"type": "string" +}, +"text": { +"description": "The text segment itself.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1AssistantToolInfo": { +"description": "Information to identify a tool.", +"id": "GoogleCloudDiscoveryengineV1AssistantToolInfo", +"properties": { +"toolDisplayName": { +"description": "The display name of the tool.", +"type": "string" +}, +"toolName": { +"description": "The name of the tool as defined by DataConnectorService.QueryAvailableActions. Note: it's using `action` in the DataConnectorService apis, but they are the same as the `tool` here.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1AssistantToolList": { +"description": "The enabled tools on a connector", +"id": "GoogleCloudDiscoveryengineV1AssistantToolList", +"properties": { +"toolInfo": { +"description": "The list of tools with corresponding tool information.", +"items": { +"$ref": "GoogleCloudDiscoveryengineV1AssistantToolInfo" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1BAPConfig": { +"description": "The configuration for the BAP connector.", +"id": "GoogleCloudDiscoveryengineV1BAPConfig", +"properties": { +"enabledActions": { +"description": "Optional. The actions enabled on the associated BAP connection.", +"items": { +"type": "string" +}, +"type": "array" +}, +"supportedConnectorModes": { +"description": "Required. The supported connector modes for the associated BAP connection.", +"items": { +"enum": [ +"CONNECTOR_MODE_UNSPECIFIED", +"DATA_INGESTION", +"ACTIONS", +"END_USER_AUTHENTICATION" +], +"enumDescriptions": [ +"Connector mode unspecified.", +"Connector utilized for data ingestion.", +"Connector utilized for Actions", +"Connector utilized for End User Authentication." +], +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1BatchCreateTargetSiteMetadata": { +"description": "Metadata related to the progress of the SiteSearchEngineService.BatchCreateTargetSites operation. This will be returned by the google.longrunning.Operation.metadata field.", +"id": "GoogleCloudDiscoveryengineV1BatchCreateTargetSiteMetadata", +"properties": { +"createTime": { +"description": "Operation create time.", +"format": "google-datetime", +"type": "string" +}, +"updateTime": { +"description": "Operation last update time. If the operation is done, this is also the finish time.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1BatchCreateTargetSitesRequest": { +"description": "Request message for SiteSearchEngineService.BatchCreateTargetSites method.", +"id": "GoogleCloudDiscoveryengineV1BatchCreateTargetSitesRequest", +"properties": { +"requests": { +"description": "Required. The request message specifying the resources to create. A maximum of 20 TargetSites can be created in a batch.", +"items": { +"$ref": "GoogleCloudDiscoveryengineV1CreateTargetSiteRequest" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1BatchCreateTargetSitesResponse": { +"description": "Response message for SiteSearchEngineService.BatchCreateTargetSites method.", +"id": "GoogleCloudDiscoveryengineV1BatchCreateTargetSitesResponse", +"properties": { +"targetSites": { +"description": "TargetSites created.", +"items": { +"$ref": "GoogleCloudDiscoveryengineV1TargetSite" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1BatchGetDocumentsMetadataResponse": { +"description": "Response message for DocumentService.BatchGetDocumentsMetadata method.", +"id": "GoogleCloudDiscoveryengineV1BatchGetDocumentsMetadataResponse", +"properties": { +"documentsMetadata": { +"description": "The metadata of the Documents.", +"items": { +"$ref": "GoogleCloudDiscoveryengineV1BatchGetDocumentsMetadataResponseDocumentMetadata" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1BatchGetDocumentsMetadataResponseDocumentMetadata": { +"description": "The metadata of a Document.", +"id": "GoogleCloudDiscoveryengineV1BatchGetDocumentsMetadataResponseDocumentMetadata", +"properties": { +"dataIngestionSource": { +"description": "The data ingestion source of the Document. Allowed values are: * `batch`: Data ingested via Batch API, e.g., ImportDocuments. * `streaming` Data ingested via Streaming API, e.g., FHIR streaming.", +"type": "string" +}, +"lastRefreshedTime": { +"description": "The timestamp of the last time the Document was last indexed.", +"format": "google-datetime", +"type": "string" +}, +"matcherValue": { +"$ref": "GoogleCloudDiscoveryengineV1BatchGetDocumentsMetadataResponseDocumentMetadataMatcherValue", +"description": "The value of the matcher that was used to match the Document." +}, +"state": { +"description": "The state of the document.", +"enum": [ +"STATE_UNSPECIFIED", +"INDEXED", +"NOT_IN_TARGET_SITE", +"NOT_IN_INDEX" +], +"enumDescriptions": [ +"Should never be set.", +"The Document is indexed.", +"The Document is not indexed because its URI is not in the TargetSite.", +"The Document is not indexed." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1BatchGetDocumentsMetadataResponseDocumentMetadataMatcherValue": { +"description": "The value of the matcher that was used to match the Document.", +"id": "GoogleCloudDiscoveryengineV1BatchGetDocumentsMetadataResponseDocumentMetadataMatcherValue", +"properties": { +"fhirResource": { +"description": "Format: projects/{project}/locations/{location}/datasets/{dataset}/fhirStores/{fhir_store}/fhir/{resource_type}/{fhir_resource_id}", +"type": "string" +}, +"uri": { +"description": "If match by URI, the URI of the Document.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1BatchUpdateUserLicensesMetadata": { +"description": "Metadata related to the progress of the UserLicenseService.BatchUpdateUserLicenses operation. This will be returned by the google.longrunning.Operation.metadata field.", +"id": "GoogleCloudDiscoveryengineV1BatchUpdateUserLicensesMetadata", +"properties": { +"createTime": { +"description": "Operation create time.", +"format": "google-datetime", +"type": "string" +}, +"failureCount": { +"description": "Count of user licenses that failed to be updated.", +"format": "int64", +"type": "string" +}, +"successCount": { +"description": "Count of user licenses successfully updated.", +"format": "int64", +"type": "string" +}, +"updateTime": { +"description": "Operation last update time. If the operation is done, this is also the finish time.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1BatchUpdateUserLicensesRequest": { +"description": "Request message for UserLicenseService.BatchUpdateUserLicenses method.", +"id": "GoogleCloudDiscoveryengineV1BatchUpdateUserLicensesRequest", +"properties": { +"deleteUnassignedUserLicenses": { +"description": "Optional. If true, if user licenses removed associated license config, the user license will be deleted. By default which is false, the user license will be updated to unassigned state.", +"type": "boolean" +}, +"inlineSource": { +"$ref": "GoogleCloudDiscoveryengineV1BatchUpdateUserLicensesRequestInlineSource", +"description": "The inline source for the input content for document embeddings." +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1BatchUpdateUserLicensesRequestInlineSource": { +"description": "The inline source for the input config for BatchUpdateUserLicenses method.", +"id": "GoogleCloudDiscoveryengineV1BatchUpdateUserLicensesRequestInlineSource", +"properties": { +"updateMask": { +"description": "Optional. The list of fields to update.", +"format": "google-fieldmask", +"type": "string" +}, +"userLicenses": { +"description": "Required. A list of user licenses to update. Each user license must have a valid UserLicense.user_principal.", +"items": { +"$ref": "GoogleCloudDiscoveryengineV1UserLicense" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1BatchUpdateUserLicensesResponse": { +"description": "Response message for UserLicenseService.BatchUpdateUserLicenses method.", +"id": "GoogleCloudDiscoveryengineV1BatchUpdateUserLicensesResponse", +"properties": { +"errorSamples": { +"description": "A sample of errors encountered while processing the request.", +"items": { +"$ref": "GoogleRpcStatus" +}, +"type": "array" +}, +"userLicenses": { +"description": "UserLicenses successfully updated.", +"items": { +"$ref": "GoogleCloudDiscoveryengineV1UserLicense" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1BatchVerifyTargetSitesRequest": { +"description": "Request message for SiteSearchEngineService.BatchVerifyTargetSites method.", +"id": "GoogleCloudDiscoveryengineV1BatchVerifyTargetSitesRequest", +"properties": {}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1BigQuerySource": { +"description": "BigQuery source import data from.", +"id": "GoogleCloudDiscoveryengineV1BigQuerySource", +"properties": { +"dataSchema": { +"description": "The schema to use when parsing the data from the source. Supported values for user event imports: * `user_event` (default): One UserEvent per row. Supported values for document imports: * `document` (default): One Document format per row. Each document must have a valid Document.id and one of Document.json_data or Document.struct_data. * `custom`: One custom data per row in arbitrary format that conforms to the defined Schema of the data store. This can only be used by the GENERIC Data Store vertical.", +"type": "string" +}, +"datasetId": { +"description": "Required. The BigQuery data set to copy the data from with a length limit of 1,024 characters.", +"type": "string" +}, +"gcsStagingDir": { +"description": "Intermediate Cloud Storage directory used for the import with a length limit of 2,000 characters. Can be specified if one wants to have the BigQuery export to a specific Cloud Storage directory.", +"type": "string" +}, +"partitionDate": { +"$ref": "GoogleTypeDate", +"description": "BigQuery time partitioned table's _PARTITIONDATE in YYYY-MM-DD format." +}, +"projectId": { +"description": "The project ID or the project number that contains the BigQuery source. Has a length limit of 128 characters. If not specified, inherits the project ID from the parent request.", +"type": "string" +}, +"tableId": { +"description": "Required. The BigQuery table to copy the data from with a length limit of 1,024 characters.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1BigtableOptions": { +"description": "The Bigtable Options object that contains information to support the import.", +"id": "GoogleCloudDiscoveryengineV1BigtableOptions", +"properties": { +"families": { +"additionalProperties": { +"$ref": "GoogleCloudDiscoveryengineV1BigtableOptionsBigtableColumnFamily" +}, +"description": "The mapping from family names to an object that contains column families level information for the given column family. If a family is not present in this map it will be ignored.", +"type": "object" +}, +"keyFieldName": { +"description": "The field name used for saving row key value in the document. The name has to match the pattern `a-zA-Z0-9*`.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1BigtableOptionsBigtableColumn": { +"description": "The column of the Bigtable.", +"id": "GoogleCloudDiscoveryengineV1BigtableOptionsBigtableColumn", +"properties": { +"encoding": { +"description": "The encoding mode of the values when the type is not `STRING`. Acceptable encoding values are: * `TEXT`: indicates values are alphanumeric text strings. * `BINARY`: indicates values are encoded using `HBase Bytes.toBytes` family of functions. This can be overridden for a specific column by listing that column in `columns` and specifying an encoding for it.", +"enum": [ +"ENCODING_UNSPECIFIED", +"TEXT", +"BINARY" +], +"enumDescriptions": [ +"The encoding is unspecified.", +"Text encoding.", +"Binary encoding." +], +"type": "string" +}, +"fieldName": { +"description": "The field name to use for this column in the document. The name has to match the pattern `a-zA-Z0-9*`. If not set, it is parsed from the qualifier bytes with best effort. However, due to different naming patterns, field name collisions could happen, where parsing behavior is undefined.", +"type": "string" +}, +"qualifier": { +"description": "Required. Qualifier of the column. If it cannot be decoded with utf-8, use a base-64 encoded string instead.", +"format": "byte", +"type": "string" +}, +"type": { +"description": "The type of values in this column family. The values are expected to be encoded using `HBase Bytes.toBytes` function when the encoding value is set to `BINARY`.", +"enum": [ +"TYPE_UNSPECIFIED", +"STRING", +"NUMBER", +"INTEGER", +"VAR_INTEGER", +"BIG_NUMERIC", +"BOOLEAN", +"JSON" +], +"enumDescriptions": [ +"The type is unspecified.", +"String type.", +"Numerical type.", +"Integer type.", +"Variable length integer type.", +"BigDecimal type.", +"Boolean type.", +"JSON type." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1BigtableOptionsBigtableColumnFamily": { +"description": "The column family of the Bigtable.", +"id": "GoogleCloudDiscoveryengineV1BigtableOptionsBigtableColumnFamily", +"properties": { +"columns": { +"description": "The list of objects that contains column level information for each column. If a column is not present in this list it will be ignored.", +"items": { +"$ref": "GoogleCloudDiscoveryengineV1BigtableOptionsBigtableColumn" +}, +"type": "array" +}, +"encoding": { +"description": "The encoding mode of the values when the type is not STRING. Acceptable encoding values are: * `TEXT`: indicates values are alphanumeric text strings. * `BINARY`: indicates values are encoded using `HBase Bytes.toBytes` family of functions. This can be overridden for a specific column by listing that column in `columns` and specifying an encoding for it.", +"enum": [ +"ENCODING_UNSPECIFIED", +"TEXT", +"BINARY" +], +"enumDescriptions": [ +"The encoding is unspecified.", +"Text encoding.", +"Binary encoding." +], +"type": "string" +}, +"fieldName": { +"description": "The field name to use for this column family in the document. The name has to match the pattern `a-zA-Z0-9*`. If not set, it is parsed from the family name with best effort. However, due to different naming patterns, field name collisions could happen, where parsing behavior is undefined.", +"type": "string" +}, +"type": { +"description": "The type of values in this column family. The values are expected to be encoded using `HBase Bytes.toBytes` function when the encoding value is set to `BINARY`.", +"enum": [ +"TYPE_UNSPECIFIED", +"STRING", +"NUMBER", +"INTEGER", +"VAR_INTEGER", +"BIG_NUMERIC", +"BOOLEAN", +"JSON" +], +"enumDescriptions": [ +"The type is unspecified.", +"String type.", +"Numerical type.", +"Integer type.", +"Variable length integer type.", +"BigDecimal type.", +"Boolean type.", +"JSON type." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1BigtableSource": { +"description": "The Cloud Bigtable source for importing data.", +"id": "GoogleCloudDiscoveryengineV1BigtableSource", +"properties": { +"bigtableOptions": { +"$ref": "GoogleCloudDiscoveryengineV1BigtableOptions", +"description": "Required. Bigtable options that contains information needed when parsing data into typed structures. For example, column type annotations." +}, +"instanceId": { +"description": "Required. The instance ID of the Cloud Bigtable that needs to be imported.", +"type": "string" +}, +"projectId": { +"description": "The project ID that contains the Bigtable source. Has a length limit of 128 characters. If not specified, inherits the project ID from the parent request.", +"type": "string" +}, +"tableId": { +"description": "Required. The table ID of the Cloud Bigtable that needs to be imported.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1CheckGroundingRequest": { +"description": "Request message for GroundedGenerationService.CheckGrounding method.", +"id": "GoogleCloudDiscoveryengineV1CheckGroundingRequest", +"properties": { +"answerCandidate": { +"description": "Answer candidate to check. It can have a maximum length of 4096 tokens.", +"type": "string" +}, +"facts": { +"description": "List of facts for the grounding check. We support up to 200 facts.", +"items": { +"$ref": "GoogleCloudDiscoveryengineV1GroundingFact" +}, +"type": "array" +}, +"groundingSpec": { +"$ref": "GoogleCloudDiscoveryengineV1CheckGroundingSpec", +"description": "Configuration of the grounding check." +}, +"userLabels": { +"additionalProperties": { +"type": "string" +}, +"description": "The user labels applied to a resource must meet the following requirements: * Each resource can have multiple labels, up to a maximum of 64. * Each label must be a key-value pair. * Keys have a minimum length of 1 character and a maximum length of 63 characters and cannot be empty. Values can be empty and have a maximum length of 63 characters. * Keys and values can contain only lowercase letters, numeric characters, underscores, and dashes. All characters must use UTF-8 encoding, and international characters are allowed. * The key portion of a label must be unique. However, you can use the same key with multiple resources. * Keys must start with a lowercase letter or international character. See [Google Cloud Document](https://cloud.google.com/resource-manager/docs/creating-managing-labels#requirements) for more details.", +"type": "object" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1CheckGroundingResponse": { +"description": "Response message for the GroundedGenerationService.CheckGrounding method.", +"id": "GoogleCloudDiscoveryengineV1CheckGroundingResponse", +"properties": { +"citedChunks": { +"description": "List of facts cited across all claims in the answer candidate. These are derived from the facts supplied in the request.", +"items": { +"$ref": "GoogleCloudDiscoveryengineV1FactChunk" +}, +"type": "array" +}, +"citedFacts": { +"description": "List of facts cited across all claims in the answer candidate. These are derived from the facts supplied in the request.", +"items": { +"$ref": "GoogleCloudDiscoveryengineV1CheckGroundingResponseCheckGroundingFactChunk" +}, +"type": "array" +}, +"claims": { +"description": "Claim texts and citation info across all claims in the answer candidate.", +"items": { +"$ref": "GoogleCloudDiscoveryengineV1CheckGroundingResponseClaim" +}, +"type": "array" +}, +"supportScore": { +"description": "The support score for the input answer candidate. Higher the score, higher is the fraction of claims that are supported by the provided facts. This is always set when a response is returned.", +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1CheckGroundingResponseCheckGroundingFactChunk": { +"description": "Fact chunk for grounding check.", +"id": "GoogleCloudDiscoveryengineV1CheckGroundingResponseCheckGroundingFactChunk", +"properties": { +"chunkText": { +"description": "Text content of the fact chunk. Can be at most 10K characters long.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1CheckGroundingResponseClaim": { +"description": "Text and citation info for a claim in the answer candidate.", +"id": "GoogleCloudDiscoveryengineV1CheckGroundingResponseClaim", +"properties": { +"citationIndices": { +"description": "A list of indices (into 'cited_chunks') specifying the citations associated with the claim. For instance [1,3,4] means that cited_chunks[1], cited_chunks[3], cited_chunks[4] are the facts cited supporting for the claim. A citation to a fact indicates that the claim is supported by the fact.", +"items": { +"format": "int32", +"type": "integer" +}, +"type": "array" +}, +"claimText": { +"description": "Text for the claim in the answer candidate. Always provided regardless of whether citations or anti-citations are found.", +"type": "string" +}, +"endPos": { +"description": "Position indicating the end of the claim in the answer candidate, exclusive, in bytes. Note that this is not measured in characters and, therefore, must be rendered as such. For example, if the claim text contains non-ASCII characters, the start and end positions vary when measured in characters (programming-language-dependent) and when measured in bytes (programming-language-independent).", +"format": "int32", +"type": "integer" +}, +"groundingCheckRequired": { +"description": "Indicates that this claim required grounding check. When the system decided this claim doesn't require attribution/grounding check, this field will be set to false. In that case, no grounding check was done for the claim and therefore citation_indices should not be returned.", +"type": "boolean" +}, +"score": { +"description": "Confidence score for the claim in the answer candidate, in the range of [0, 1]. This is set only when `CheckGroundingRequest.grounding_spec.enable_claim_level_score` is true.", +"format": "double", +"type": "number" +}, +"startPos": { +"description": "Position indicating the start of the claim in the answer candidate, measured in bytes. Note that this is not measured in characters and, therefore, must be rendered in the user interface keeping in mind that some characters may take more than one byte. For example, if the claim text contains non-ASCII characters, the start and end positions vary when measured in characters (programming-language-dependent) and when measured in bytes (programming-language-independent).", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1CheckGroundingSpec": { +"description": "Specification for the grounding check.", +"id": "GoogleCloudDiscoveryengineV1CheckGroundingSpec", +"properties": { +"citationThreshold": { +"description": "The threshold (in [0,1]) used for determining whether a fact must be cited for a claim in the answer candidate. Choosing a higher threshold will lead to fewer but very strong citations, while choosing a lower threshold may lead to more but somewhat weaker citations. If unset, the threshold will default to 0.6.", +"format": "double", +"type": "number" +}, +"enableClaimLevelScore": { +"description": "The control flag that enables claim-level grounding score in the response.", +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1Chunk": { +"description": "Chunk captures all raw metadata information of items to be recommended or searched in the chunk mode.", +"id": "GoogleCloudDiscoveryengineV1Chunk", +"properties": { +"annotationContents": { +"description": "Output only. Annotation contents if the current chunk contains annotations.", +"items": { +"type": "string" +}, +"readOnly": true, +"type": "array" +}, +"annotationMetadata": { +"description": "Output only. The annotation metadata includes structured content in the current chunk.", +"items": { +"$ref": "GoogleCloudDiscoveryengineV1ChunkAnnotationMetadata" +}, +"readOnly": true, +"type": "array" +}, +"chunkMetadata": { +"$ref": "GoogleCloudDiscoveryengineV1ChunkChunkMetadata", +"description": "Output only. Metadata of the current chunk.", +"readOnly": true +}, +"content": { +"description": "Content is a string from a document (parsed content).", +"type": "string" +}, +"dataUrls": { +"description": "Output only. Image Data URLs if the current chunk contains images. Data URLs are composed of four parts: a prefix (data:), a MIME type indicating the type of data, an optional base64 token if non-textual, and the data itself: data:,", +"items": { +"type": "string" +}, +"readOnly": true, +"type": "array" +}, +"derivedStructData": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"description": "Output only. This field is OUTPUT_ONLY. It contains derived data that are not in the original input document.", +"readOnly": true, +"type": "object" +}, +"documentMetadata": { +"$ref": "GoogleCloudDiscoveryengineV1ChunkDocumentMetadata", +"description": "Metadata of the document from the current chunk." +}, +"id": { +"description": "Unique chunk ID of the current chunk.", +"type": "string" +}, +"name": { +"description": "The full resource name of the chunk. Format: `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}/documents/{document_id}/chunks/{chunk_id}`. This field must be a UTF-8 encoded string with a length limit of 1024 characters.", +"type": "string" +}, +"pageSpan": { +"$ref": "GoogleCloudDiscoveryengineV1ChunkPageSpan", +"description": "Page span of the chunk." +}, +"relevanceScore": { +"description": "Output only. Represents the relevance score based on similarity. Higher score indicates higher chunk relevance. The score is in range [-1.0, 1.0]. Only populated on SearchResponse.", +"format": "double", +"readOnly": true, +"type": "number" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1ChunkAnnotationMetadata": { +"description": "The annotation metadata includes structured content in the current chunk.", +"id": "GoogleCloudDiscoveryengineV1ChunkAnnotationMetadata", +"properties": { +"imageId": { +"description": "Output only. Image id is provided if the structured content is based on an image.", +"readOnly": true, +"type": "string" +}, +"structuredContent": { +"$ref": "GoogleCloudDiscoveryengineV1ChunkStructuredContent", +"description": "Output only. The structured content information.", +"readOnly": true +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1ChunkChunkMetadata": { +"description": "Metadata of the current chunk. This field is only populated on SearchService.Search API.", +"id": "GoogleCloudDiscoveryengineV1ChunkChunkMetadata", +"properties": { +"nextChunks": { +"description": "The next chunks of the current chunk. The number is controlled by SearchRequest.ContentSearchSpec.ChunkSpec.num_next_chunks. This field is only populated on SearchService.Search API.", +"items": { +"$ref": "GoogleCloudDiscoveryengineV1Chunk" +}, +"type": "array" +}, +"previousChunks": { +"description": "The previous chunks of the current chunk. The number is controlled by SearchRequest.ContentSearchSpec.ChunkSpec.num_previous_chunks. This field is only populated on SearchService.Search API.", +"items": { +"$ref": "GoogleCloudDiscoveryengineV1Chunk" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1ChunkDocumentMetadata": { +"description": "Document metadata contains the information of the document of the current chunk.", +"id": "GoogleCloudDiscoveryengineV1ChunkDocumentMetadata", +"properties": { +"mimeType": { +"description": "The mime type of the document. https://www.iana.org/assignments/media-types/media-types.xhtml.", +"type": "string" +}, +"structData": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"description": "Data representation. The structured JSON data for the document. It should conform to the registered Schema or an `INVALID_ARGUMENT` error is thrown.", +"type": "object" +}, +"title": { +"description": "Title of the document.", +"type": "string" +}, +"uri": { +"description": "Uri of the document.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1ChunkPageSpan": { +"description": "Page span of the chunk.", +"id": "GoogleCloudDiscoveryengineV1ChunkPageSpan", +"properties": { +"pageEnd": { +"description": "The end page of the chunk.", +"format": "int32", +"type": "integer" +}, +"pageStart": { +"description": "The start page of the chunk.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1ChunkStructuredContent": { +"description": "The structured content information.", +"id": "GoogleCloudDiscoveryengineV1ChunkStructuredContent", +"properties": { +"content": { +"description": "Output only. The content of the structured content.", +"readOnly": true, +"type": "string" +}, +"structureType": { +"description": "Output only. The structure type of the structured content.", +"enum": [ +"STRUCTURE_TYPE_UNSPECIFIED", +"SHAREHOLDER_STRUCTURE", +"SIGNATURE_STRUCTURE", +"CHECKBOX_STRUCTURE" +], +"enumDescriptions": [ +"Default value.", +"Shareholder structure.", +"Signature structure.", +"Checkbox structure." +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1Citation": { +"description": "Source attributions for content.", +"id": "GoogleCloudDiscoveryengineV1Citation", +"properties": { +"endIndex": { +"description": "Output only. End index into the content.", +"format": "int32", +"readOnly": true, +"type": "integer" +}, +"license": { +"description": "Output only. License of the attribution.", +"readOnly": true, +"type": "string" +}, +"publicationDate": { +"$ref": "GoogleTypeDate", +"description": "Output only. Publication date of the attribution.", +"readOnly": true +}, +"startIndex": { +"description": "Output only. Start index into the content.", +"format": "int32", +"readOnly": true, +"type": "integer" +}, +"title": { +"description": "Output only. Title of the attribution.", +"readOnly": true, +"type": "string" +}, +"uri": { +"description": "Output only. Url reference of the attribution.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1CitationMetadata": { +"description": "A collection of source attributions for a piece of content.", +"id": "GoogleCloudDiscoveryengineV1CitationMetadata", +"properties": { +"citations": { +"description": "Output only. List of citations.", +"items": { +"$ref": "GoogleCloudDiscoveryengineV1Citation" +}, +"readOnly": true, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1CloudSqlSource": { +"description": "Cloud SQL source import data from.", +"id": "GoogleCloudDiscoveryengineV1CloudSqlSource", +"properties": { +"databaseId": { +"description": "Required. The Cloud SQL database to copy the data from with a length limit of 256 characters.", +"type": "string" +}, +"gcsStagingDir": { +"description": "Intermediate Cloud Storage directory used for the import with a length limit of 2,000 characters. Can be specified if one wants to have the Cloud SQL export to a specific Cloud Storage directory. Ensure that the Cloud SQL service account has the necessary Cloud Storage Admin permissions to access the specified Cloud Storage directory.", +"type": "string" +}, +"instanceId": { +"description": "Required. The Cloud SQL instance to copy the data from with a length limit of 256 characters.", +"type": "string" +}, +"offload": { +"description": "Option for serverless export. Enabling this option will incur additional cost. More info can be found [here](https://cloud.google.com/sql/pricing#serverless).", +"type": "boolean" +}, +"projectId": { +"description": "The project ID that contains the Cloud SQL source. Has a length limit of 128 characters. If not specified, inherits the project ID from the parent request.", +"type": "string" +}, +"tableId": { +"description": "Required. The Cloud SQL table to copy the data from with a length limit of 256 characters.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1CmekConfig": { +"description": "Configurations used to enable CMEK data encryption with Cloud KMS keys.", +"id": "GoogleCloudDiscoveryengineV1CmekConfig", +"properties": { +"isDefault": { +"description": "Output only. The default CmekConfig for the Customer.", +"readOnly": true, +"type": "boolean" +}, +"kmsKey": { +"description": "Required. KMS key resource name which will be used to encrypt resources `projects/{project}/locations/{location}/keyRings/{keyRing}/cryptoKeys/{keyId}`.", +"type": "string" +}, +"kmsKeyVersion": { +"description": "Output only. KMS key version resource name which will be used to encrypt resources `/cryptoKeyVersions/{keyVersion}`.", +"readOnly": true, +"type": "string" +}, +"lastRotationTimestampMicros": { +"description": "Output only. The timestamp of the last key rotation.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"name": { +"description": "Required. The name of the CmekConfig of the form `projects/{project}/locations/{location}/cmekConfig` or `projects/{project}/locations/{location}/cmekConfigs/{cmek_config}`.", +"type": "string" +}, +"notebooklmState": { +"description": "Output only. Whether the NotebookLM Corpus is ready to be used.", +"enum": [ +"NOTEBOOK_LM_STATE_UNSPECIFIED", +"NOTEBOOK_LM_NOT_READY", +"NOTEBOOK_LM_READY", +"NOTEBOOK_LM_NOT_ENABLED" +], +"enumDescriptions": [ +"The NotebookLM state is unknown.", +"The NotebookLM is not ready.", +"The NotebookLM is ready to be used.", +"The NotebookLM is not enabled." +], +"readOnly": true, +"type": "string" +}, +"singleRegionKeys": { +"description": "Optional. Single-regional CMEKs that are required for some VAIS features.", +"items": { +"$ref": "GoogleCloudDiscoveryengineV1SingleRegionKey" +}, +"type": "array" +}, +"state": { +"description": "Output only. The states of the CmekConfig.", +"enum": [ +"STATE_UNSPECIFIED", +"CREATING", +"ACTIVE", +"KEY_ISSUE", +"DELETING", +"DELETE_FAILED", +"UNUSABLE", +"ACTIVE_ROTATING", +"DELETED", +"EXPIRED" +], +"enumDescriptions": [ +"The CmekConfig state is unknown.", +"The CmekConfig is creating.", +"The CmekConfig can be used with DataStores.", +"The CmekConfig is unavailable, most likely due to the KMS Key being revoked.", +"The CmekConfig is deleting.", +"The CmekConfig deletion process failed.", +"The CmekConfig is not usable, most likely due to some internal issue.", +"The KMS key version is being rotated.", +"The KMS key is soft deleted. Some cleanup policy will eventually be applied.", +"The KMS key is expired, meaning the key has been disabled for 30+ days. The customer can call DeleteCmekConfig to change the state to DELETED." +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1Collection": { +"description": "Collection is a container for configuring resources and access to a set of DataStores.", +"id": "GoogleCloudDiscoveryengineV1Collection", +"properties": { +"createTime": { +"description": "Output only. Timestamp the Collection was created at.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"displayName": { +"description": "Required. The Collection display name. This field must be a UTF-8 encoded string with a length limit of 128 characters. Otherwise, an INVALID_ARGUMENT error is returned.", +"type": "string" +}, +"name": { +"description": "Immutable. The full resource name of the Collection. Format: `projects/{project}/locations/{location}/collections/{collection_id}`. This field must be a UTF-8 encoded string with a length limit of 1024 characters.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1CompleteQueryResponse": { +"description": "Response message for CompletionService.CompleteQuery method.", +"id": "GoogleCloudDiscoveryengineV1CompleteQueryResponse", +"properties": { +"querySuggestions": { +"description": "Results of the matched query suggestions. The result list is ordered and the first result is a top suggestion.", +"items": { +"$ref": "GoogleCloudDiscoveryengineV1CompleteQueryResponseQuerySuggestion" +}, +"type": "array" +}, +"tailMatchTriggered": { +"description": "True if the returned suggestions are all tail suggestions. For tail matching to be triggered, include_tail_suggestions in the request must be true and there must be no suggestions that match the full query.", +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1CompleteQueryResponseQuerySuggestion": { +"description": "Suggestions as search queries.", +"id": "GoogleCloudDiscoveryengineV1CompleteQueryResponseQuerySuggestion", +"properties": { +"completableFieldPaths": { +"description": "The unique document field paths that serve as the source of this suggestion if it was generated from completable fields. This field is only populated for the document-completable model.", +"items": { +"type": "string" +}, +"type": "array" +}, +"suggestion": { +"description": "The suggestion for the query.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1CompletionInfo": { +"description": "Detailed completion information including completion attribution token and clicked completion info.", +"id": "GoogleCloudDiscoveryengineV1CompletionInfo", +"properties": { +"selectedPosition": { +"description": "End user selected CompleteQueryResponse.QuerySuggestion.suggestion position, starting from 0.", +"format": "int32", +"type": "integer" +}, +"selectedSuggestion": { +"description": "End user selected CompleteQueryResponse.QuerySuggestion.suggestion.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1CompletionSuggestion": { +"description": "Autocomplete suggestions that are imported from Customer.", +"id": "GoogleCloudDiscoveryengineV1CompletionSuggestion", +"properties": { +"alternativePhrases": { +"description": "Alternative matching phrases for this suggestion.", +"items": { +"type": "string" +}, +"type": "array" +}, +"frequency": { +"description": "Frequency of this suggestion. Will be used to rank suggestions when score is not available.", +"format": "int64", +"type": "string" +}, +"globalScore": { +"description": "Global score of this suggestion. Control how this suggestion would be scored / ranked.", +"format": "double", +"type": "number" +}, +"groupId": { +"description": "If two suggestions have the same groupId, they will not be returned together. Instead the one ranked higher will be returned. This can be used to deduplicate semantically identical suggestions.", +"type": "string" +}, +"groupScore": { +"description": "The score of this suggestion within its group.", +"format": "double", +"type": "number" +}, +"languageCode": { +"description": "BCP-47 language code of this suggestion.", +"type": "string" +}, +"suggestion": { +"description": "Required. The suggestion text.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1Condition": { +"description": "Defines circumstances to be checked before allowing a behavior", +"id": "GoogleCloudDiscoveryengineV1Condition", +"properties": { +"activeTimeRange": { +"description": "Range of time(s) specifying when condition is active. Maximum of 10 time ranges.", +"items": { +"$ref": "GoogleCloudDiscoveryengineV1ConditionTimeRange" +}, +"type": "array" +}, +"queryRegex": { +"description": "Optional. Query regex to match the whole search query. Cannot be set when Condition.query_terms is set. Only supported for Basic Site Search promotion serving controls.", +"type": "string" +}, +"queryTerms": { +"description": "Search only A list of terms to match the query on. Cannot be set when Condition.query_regex is set. Maximum of 10 query terms.", +"items": { +"$ref": "GoogleCloudDiscoveryengineV1ConditionQueryTerm" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1ConditionQueryTerm": { +"description": "Matcher for search request query", +"id": "GoogleCloudDiscoveryengineV1ConditionQueryTerm", +"properties": { +"fullMatch": { +"description": "Whether the search query needs to exactly match the query term.", +"type": "boolean" +}, +"value": { +"description": "The specific query value to match against Must be lowercase, must be UTF-8. Can have at most 3 space separated terms if full_match is true. Cannot be an empty string. Maximum length of 5000 characters.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1ConditionTimeRange": { +"description": "Used for time-dependent conditions.", +"id": "GoogleCloudDiscoveryengineV1ConditionTimeRange", +"properties": { +"endTime": { +"description": "End of time range. Range is inclusive. Must be in the future.", +"format": "google-datetime", +"type": "string" +}, +"startTime": { +"description": "Start of time range. Range is inclusive.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1Control": { +"description": "Defines a conditioned behavior to employ during serving. Must be attached to a ServingConfig to be considered at serving time. Permitted actions dependent on `SolutionType`.", +"id": "GoogleCloudDiscoveryengineV1Control", +"properties": { +"associatedServingConfigIds": { +"description": "Output only. List of all ServingConfig IDs this control is attached to. May take up to 10 minutes to update after changes.", +"items": { +"type": "string" +}, +"readOnly": true, +"type": "array" +}, +"boostAction": { +"$ref": "GoogleCloudDiscoveryengineV1ControlBoostAction", +"description": "Defines a boost-type control" +}, +"conditions": { +"description": "Determines when the associated action will trigger. Omit to always apply the action. Currently only a single condition may be specified. Otherwise an INVALID ARGUMENT error is thrown.", +"items": { +"$ref": "GoogleCloudDiscoveryengineV1Condition" +}, +"type": "array" +}, +"displayName": { +"description": "Required. Human readable name. The identifier used in UI views. Must be UTF-8 encoded string. Length limit is 128 characters. Otherwise an INVALID ARGUMENT error is thrown.", +"type": "string" +}, +"filterAction": { +"$ref": "GoogleCloudDiscoveryengineV1ControlFilterAction", +"description": "Defines a filter-type control Currently not supported by Recommendation" +}, +"name": { +"description": "Immutable. Fully qualified name `projects/*/locations/global/dataStore/*/controls/*`", +"type": "string" +}, +"promoteAction": { +"$ref": "GoogleCloudDiscoveryengineV1ControlPromoteAction", +"description": "Promote certain links based on predefined trigger queries." +}, +"redirectAction": { +"$ref": "GoogleCloudDiscoveryengineV1ControlRedirectAction", +"description": "Defines a redirect-type control." +}, +"solutionType": { +"description": "Required. Immutable. What solution the control belongs to. Must be compatible with vertical of resource. Otherwise an INVALID ARGUMENT error is thrown.", +"enum": [ +"SOLUTION_TYPE_UNSPECIFIED", +"SOLUTION_TYPE_RECOMMENDATION", +"SOLUTION_TYPE_SEARCH", +"SOLUTION_TYPE_CHAT", +"SOLUTION_TYPE_GENERATIVE_CHAT", +"SOLUTION_TYPE_AI_MODE" +], +"enumDescriptions": [ +"Default value.", +"Used for Recommendations AI.", +"Used for Discovery Search.", +"Used for use cases related to the Generative AI agent.", +"Used for use cases related to the Generative Chat agent. It's used for Generative chat engine only, the associated data stores must enrolled with `SOLUTION_TYPE_CHAT` solution.", +"Used for AI Mode." +], +"type": "string" +}, +"synonymsAction": { +"$ref": "GoogleCloudDiscoveryengineV1ControlSynonymsAction", +"description": "Treats a group of terms as synonyms of one another." +}, +"useCases": { +"description": "Specifies the use case for the control. Affects what condition fields can be set. Only applies to SOLUTION_TYPE_SEARCH. Currently only allow one use case per control. Must be set when solution_type is SolutionType.SOLUTION_TYPE_SEARCH.", +"items": { +"enum": [ +"SEARCH_USE_CASE_UNSPECIFIED", +"SEARCH_USE_CASE_SEARCH", +"SEARCH_USE_CASE_BROWSE" +], +"enumDescriptions": [ +"Value used when unset. Will not occur in CSS.", +"Search use case. Expects the traffic has a non-empty query.", +"Browse use case. Expects the traffic has an empty query." +], +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1ControlBoostAction": { +"description": "Adjusts order of products in returned list.", +"id": "GoogleCloudDiscoveryengineV1ControlBoostAction", +"properties": { +"boost": { +"deprecated": true, +"description": "Strength of the boost, which should be in [-1, 1]. Negative boost means demotion. Default is 0.0 (No-op).", +"format": "float", +"type": "number" +}, +"dataStore": { +"description": "Required. Specifies which data store's documents can be boosted by this control. Full data store name e.g. projects/123/locations/global/collections/default_collection/dataStores/default_data_store", +"type": "string" +}, +"filter": { +"description": "Required. Specifies which products to apply the boost to. If no filter is provided all products will be boosted (No-op). Syntax documentation: https://cloud.google.com/retail/docs/filter-and-order Maximum length is 5000 characters. Otherwise an INVALID ARGUMENT error is thrown.", +"type": "string" +}, +"fixedBoost": { +"description": "Optional. Strength of the boost, which should be in [-1, 1]. Negative boost means demotion. Default is 0.0 (No-op).", +"format": "float", +"type": "number" +}, +"interpolationBoostSpec": { +"$ref": "GoogleCloudDiscoveryengineV1ControlBoostActionInterpolationBoostSpec", +"description": "Optional. Complex specification for custom ranking based on customer defined attribute value." +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1ControlBoostActionInterpolationBoostSpec": { +"description": "Specification for custom ranking based on customer specified attribute value. It provides more controls for customized ranking than the simple (condition, boost) combination above.", +"id": "GoogleCloudDiscoveryengineV1ControlBoostActionInterpolationBoostSpec", +"properties": { +"attributeType": { +"description": "Optional. The attribute type to be used to determine the boost amount. The attribute value can be derived from the field value of the specified field_name. In the case of numerical it is straightforward i.e. attribute_value = numerical_field_value. In the case of freshness however, attribute_value = (time.now() - datetime_field_value).", +"enum": [ +"ATTRIBUTE_TYPE_UNSPECIFIED", +"NUMERICAL", +"FRESHNESS" +], +"enumDescriptions": [ +"Unspecified AttributeType.", +"The value of the numerical field will be used to dynamically update the boost amount. In this case, the attribute_value (the x value) of the control point will be the actual value of the numerical field for which the boost_amount is specified.", +"For the freshness use case the attribute value will be the duration between the current time and the date in the datetime field specified. The value must be formatted as an XSD `dayTimeDuration` value (a restricted subset of an ISO 8601 duration value). The pattern for this is: `nDnM]`. For example, `5D`, `3DT12H30M`, `T24H`." +], +"type": "string" +}, +"controlPoints": { +"description": "Optional. The control points used to define the curve. The monotonic function (defined through the interpolation_type above) passes through the control points listed here.", +"items": { +"$ref": "GoogleCloudDiscoveryengineV1ControlBoostActionInterpolationBoostSpecControlPoint" +}, +"type": "array" +}, +"fieldName": { +"description": "Optional. The name of the field whose value will be used to determine the boost amount.", +"type": "string" +}, +"interpolationType": { +"description": "Optional. The interpolation type to be applied to connect the control points listed below.", +"enum": [ +"INTERPOLATION_TYPE_UNSPECIFIED", +"LINEAR" +], +"enumDescriptions": [ +"Interpolation type is unspecified. In this case, it defaults to Linear.", +"Piecewise linear interpolation will be applied." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1ControlBoostActionInterpolationBoostSpecControlPoint": { +"description": "The control points used to define the curve. The curve defined through these control points can only be monotonically increasing or decreasing(constant values are acceptable).", +"id": "GoogleCloudDiscoveryengineV1ControlBoostActionInterpolationBoostSpecControlPoint", +"properties": { +"attributeValue": { +"description": "Optional. Can be one of: 1. The numerical field value. 2. The duration spec for freshness: The value must be formatted as an XSD `dayTimeDuration` value (a restricted subset of an ISO 8601 duration value). The pattern for this is: `nDnM]`.", +"type": "string" +}, +"boostAmount": { +"description": "Optional. The value between -1 to 1 by which to boost the score if the attribute_value evaluates to the value specified above.", +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1ControlFilterAction": { +"description": "Specified which products may be included in results. Uses same filter as boost.", +"id": "GoogleCloudDiscoveryengineV1ControlFilterAction", +"properties": { +"dataStore": { +"description": "Required. Specifies which data store's documents can be filtered by this control. Full data store name e.g. projects/123/locations/global/collections/default_collection/dataStores/default_data_store", +"type": "string" +}, +"filter": { +"description": "Required. A filter to apply on the matching condition results. Required Syntax documentation: https://cloud.google.com/retail/docs/filter-and-order Maximum length is 5000 characters. Otherwise an INVALID ARGUMENT error is thrown.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1ControlPromoteAction": { +"description": "Promote certain links based on some trigger queries. Example: Promote shoe store link when searching for `shoe` keyword. The link can be outside of associated data store.", +"id": "GoogleCloudDiscoveryengineV1ControlPromoteAction", +"properties": { +"dataStore": { +"description": "Required. Data store with which this promotion is attached to.", +"type": "string" +}, +"searchLinkPromotion": { +"$ref": "GoogleCloudDiscoveryengineV1SearchLinkPromotion", +"description": "Required. Promotion attached to this action." +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1ControlRedirectAction": { +"description": "Redirects a shopper to the provided URI.", +"id": "GoogleCloudDiscoveryengineV1ControlRedirectAction", +"properties": { +"redirectUri": { +"description": "Required. The URI to which the shopper will be redirected. Required. URI must have length equal or less than 2000 characters. Otherwise an INVALID ARGUMENT error is thrown.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1ControlSynonymsAction": { +"description": "Creates a set of terms that will act as synonyms of one another. Example: \"happy\" will also be considered as \"glad\", \"glad\" will also be considered as \"happy\".", +"id": "GoogleCloudDiscoveryengineV1ControlSynonymsAction", +"properties": { +"synonyms": { +"description": "Defines a set of synonyms. Can specify up to 100 synonyms. Must specify at least 2 synonyms. Otherwise an INVALID ARGUMENT error is thrown.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1Conversation": { +"description": "External conversation proto definition.", +"id": "GoogleCloudDiscoveryengineV1Conversation", +"properties": { +"endTime": { +"description": "Output only. The time the conversation finished.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"messages": { +"description": "Conversation messages.", +"items": { +"$ref": "GoogleCloudDiscoveryengineV1ConversationMessage" +}, +"type": "array" +}, +"name": { +"description": "Immutable. Fully qualified name `projects/{project}/locations/global/collections/{collection}/dataStore/*/conversations/*` or `projects/{project}/locations/global/collections/{collection}/engines/*/conversations/*`.", +"type": "string" +}, +"startTime": { +"description": "Output only. The time the conversation started.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"state": { +"description": "The state of the Conversation.", +"enum": [ +"STATE_UNSPECIFIED", +"IN_PROGRESS", +"COMPLETED" +], +"enumDescriptions": [ +"Unknown.", +"Conversation is currently open.", +"Conversation has been completed." +], +"type": "string" +}, +"userPseudoId": { +"description": "A unique identifier for tracking users.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1ConversationContext": { +"description": "Defines context of the conversation", +"id": "GoogleCloudDiscoveryengineV1ConversationContext", +"properties": { +"activeDocument": { +"description": "The current active document the user opened. It contains the document resource reference.", +"type": "string" +}, +"contextDocuments": { +"description": "The current list of documents the user is seeing. It contains the document resource references.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1ConversationMessage": { +"description": "Defines a conversation message.", +"id": "GoogleCloudDiscoveryengineV1ConversationMessage", +"properties": { +"createTime": { +"description": "Output only. Message creation timestamp.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"reply": { +"$ref": "GoogleCloudDiscoveryengineV1Reply", +"description": "Search reply." +}, +"userInput": { +"$ref": "GoogleCloudDiscoveryengineV1TextInput", +"description": "User text input." +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1ConverseConversationRequest": { +"description": "Request message for ConversationalSearchService.ConverseConversation method.", +"id": "GoogleCloudDiscoveryengineV1ConverseConversationRequest", +"properties": { +"boostSpec": { +"$ref": "GoogleCloudDiscoveryengineV1SearchRequestBoostSpec", +"description": "Boost specification to boost certain documents in search results which may affect the converse response. For more information on boosting, see [Boosting](https://cloud.google.com/retail/docs/boosting#boost)" +}, +"conversation": { +"$ref": "GoogleCloudDiscoveryengineV1Conversation", +"description": "The conversation to be used by auto session only. The name field will be ignored as we automatically assign new name for the conversation in auto session." +}, +"filter": { +"description": "The filter syntax consists of an expression language for constructing a predicate from one or more fields of the documents being filtered. Filter expression is case-sensitive. This will be used to filter search results which may affect the summary response. If this field is unrecognizable, an `INVALID_ARGUMENT` is returned. Filtering in Vertex AI Search is done by mapping the LHS filter key to a key property defined in the Vertex AI Search backend -- this mapping is defined by the customer in their schema. For example a media customer might have a field 'name' in their schema. In this case the filter would look like this: filter --> name:'ANY(\"king kong\")' For more information about filtering including syntax and filter operators, see [Filter](https://cloud.google.com/generative-ai-app-builder/docs/filter-search-metadata)", +"type": "string" +}, +"query": { +"$ref": "GoogleCloudDiscoveryengineV1TextInput", +"description": "Required. Current user input." +}, +"safeSearch": { +"description": "Whether to turn on safe search.", +"type": "boolean" +}, +"servingConfig": { +"description": "The resource name of the Serving Config to use. Format: `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store_id}/servingConfigs/{serving_config_id}` If this is not set, the default serving config will be used.", +"type": "string" +}, +"summarySpec": { +"$ref": "GoogleCloudDiscoveryengineV1SearchRequestContentSearchSpecSummarySpec", +"description": "A specification for configuring the summary returned in the response." +}, +"userLabels": { +"additionalProperties": { +"type": "string" +}, +"description": "The user labels applied to a resource must meet the following requirements: * Each resource can have multiple labels, up to a maximum of 64. * Each label must be a key-value pair. * Keys have a minimum length of 1 character and a maximum length of 63 characters and cannot be empty. Values can be empty and have a maximum length of 63 characters. * Keys and values can contain only lowercase letters, numeric characters, underscores, and dashes. All characters must use UTF-8 encoding, and international characters are allowed. * The key portion of a label must be unique. However, you can use the same key with multiple resources. * Keys must start with a lowercase letter or international character. See [Google Cloud Document](https://cloud.google.com/resource-manager/docs/creating-managing-labels#requirements) for more details.", +"type": "object" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1ConverseConversationResponse": { +"description": "Response message for ConversationalSearchService.ConverseConversation method.", +"id": "GoogleCloudDiscoveryengineV1ConverseConversationResponse", +"properties": { +"conversation": { +"$ref": "GoogleCloudDiscoveryengineV1Conversation", +"description": "Updated conversation including the answer." +}, +"reply": { +"$ref": "GoogleCloudDiscoveryengineV1Reply", +"description": "Answer to the current query." +}, +"searchResults": { +"description": "Search Results.", +"items": { +"$ref": "GoogleCloudDiscoveryengineV1SearchResponseSearchResult" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1CreateDataStoreMetadata": { +"description": "Metadata related to the progress of the DataStoreService.CreateDataStore operation. This will be returned by the google.longrunning.Operation.metadata field.", +"id": "GoogleCloudDiscoveryengineV1CreateDataStoreMetadata", +"properties": { +"createTime": { +"description": "Operation create time.", +"format": "google-datetime", +"type": "string" +}, +"updateTime": { +"description": "Operation last update time. If the operation is done, this is also the finish time.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1CreateEngineMetadata": { +"description": "Metadata related to the progress of the EngineService.CreateEngine operation. This will be returned by the google.longrunning.Operation.metadata field.", +"id": "GoogleCloudDiscoveryengineV1CreateEngineMetadata", +"properties": { +"createTime": { +"description": "Operation create time.", +"format": "google-datetime", +"type": "string" +}, +"updateTime": { +"description": "Operation last update time. If the operation is done, this is also the finish time.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1CreateSchemaMetadata": { +"description": "Metadata for Create Schema LRO.", +"id": "GoogleCloudDiscoveryengineV1CreateSchemaMetadata", +"properties": { +"createTime": { +"description": "Operation create time.", +"format": "google-datetime", +"type": "string" +}, +"updateTime": { +"description": "Operation last update time. If the operation is done, this is also the finish time.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1CreateSitemapMetadata": { +"description": "Metadata related to the progress of the SiteSearchEngineService.CreateSitemap operation. This will be returned by the google.longrunning.Operation.metadata field.", +"id": "GoogleCloudDiscoveryengineV1CreateSitemapMetadata", +"properties": { +"createTime": { +"description": "Operation create time.", +"format": "google-datetime", +"type": "string" +}, +"updateTime": { +"description": "Operation last update time. If the operation is done, this is also the finish time.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1CreateTargetSiteMetadata": { +"description": "Metadata related to the progress of the SiteSearchEngineService.CreateTargetSite operation. This will be returned by the google.longrunning.Operation.metadata field.", +"id": "GoogleCloudDiscoveryengineV1CreateTargetSiteMetadata", +"properties": { +"createTime": { +"description": "Operation create time.", +"format": "google-datetime", +"type": "string" +}, +"updateTime": { +"description": "Operation last update time. If the operation is done, this is also the finish time.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1CreateTargetSiteRequest": { +"description": "Request message for SiteSearchEngineService.CreateTargetSite method.", +"id": "GoogleCloudDiscoveryengineV1CreateTargetSiteRequest", +"properties": { +"parent": { +"description": "Required. Parent resource name of TargetSite, such as `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine`.", +"type": "string" +}, +"targetSite": { +"$ref": "GoogleCloudDiscoveryengineV1TargetSite", +"description": "Required. The TargetSite to create." +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1CustomAttribute": { +"description": "A custom attribute that is not explicitly modeled in a resource, e.g. UserEvent.", +"id": "GoogleCloudDiscoveryengineV1CustomAttribute", +"properties": { +"numbers": { +"description": "The numerical values of this custom attribute. For example, `[2.3, 15.4]` when the key is \"lengths_cm\". Exactly one of CustomAttribute.text or CustomAttribute.numbers should be set. Otherwise, an `INVALID_ARGUMENT` error is returned.", +"items": { +"format": "double", +"type": "number" +}, +"type": "array" +}, +"text": { +"description": "The textual values of this custom attribute. For example, `[\"yellow\", \"green\"]` when the key is \"color\". Empty string is not allowed. Otherwise, an `INVALID_ARGUMENT` error is returned. Exactly one of CustomAttribute.text or CustomAttribute.numbers should be set. Otherwise, an `INVALID_ARGUMENT` error is returned.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1CustomTuningModel": { +"description": "Metadata that describes a custom tuned model.", +"id": "GoogleCloudDiscoveryengineV1CustomTuningModel", +"properties": { +"createTime": { +"deprecated": true, +"description": "Deprecated: Timestamp the Model was created at.", +"format": "google-datetime", +"type": "string" +}, +"displayName": { +"description": "The display name of the model.", +"type": "string" +}, +"errorMessage": { +"description": "Currently this is only populated if the model state is `INPUT_VALIDATION_FAILED`.", +"type": "string" +}, +"metrics": { +"additionalProperties": { +"format": "double", +"type": "number" +}, +"description": "The metrics of the trained model.", +"type": "object" +}, +"modelState": { +"description": "The state that the model is in (e.g.`TRAINING` or `TRAINING_FAILED`).", +"enum": [ +"MODEL_STATE_UNSPECIFIED", +"TRAINING_PAUSED", +"TRAINING", +"TRAINING_COMPLETE", +"READY_FOR_SERVING", +"TRAINING_FAILED", +"NO_IMPROVEMENT", +"INPUT_VALIDATION_FAILED" +], +"enumDescriptions": [ +"Default value.", +"The model is in a paused training state.", +"The model is currently training.", +"The model has successfully completed training.", +"The model is ready for serving.", +"The model training failed.", +"The model training finished successfully but metrics did not improve.", +"Input data validation failed. Model training didn't start." +], +"type": "string" +}, +"modelVersion": { +"description": "The version of the model.", +"format": "int64", +"type": "string" +}, +"name": { +"description": "Required. The fully qualified resource name of the model. Format: `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/customTuningModels/{custom_tuning_model}`. Model must be an alpha-numerical string with limit of 40 characters.", +"type": "string" +}, +"trainingStartTime": { +"description": "Timestamp the model training was initiated.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1DataConnector": { +"description": "Manages the connection to external data sources for all data stores grouped under a Collection. It's a singleton resource of Collection. The initialization is only supported through DataConnectorService.SetUpDataConnector method, which will create a new Collection and initialize its DataConnector.", +"id": "GoogleCloudDiscoveryengineV1DataConnector", +"properties": { +"aclEnabled": { +"description": "Optional. Whether the connector will be created with an ACL config. Currently this field only affects Cloud Storage and BigQuery connectors.", +"type": "boolean" +}, +"actionConfig": { +"$ref": "GoogleCloudDiscoveryengineV1ActionConfig", +"description": "Optional. Action configurations to make the connector support actions." +}, +"actionState": { +"description": "Output only. State of the action connector. This reflects whether the action connector is initializing, active or has encountered errors.", +"enum": [ +"STATE_UNSPECIFIED", +"CREATING", +"ACTIVE", +"FAILED", +"RUNNING", +"WARNING", +"INITIALIZATION_FAILED", +"UPDATING" +], +"enumDescriptions": [ +"Default value.", +"The connector is being set up.", +"The connector is successfully set up and awaiting next sync run.", +"The connector is in error. The error details can be found in DataConnector.errors. If the error is unfixable, the DataConnector can be deleted by CollectionService.DeleteCollection API.", +"The connector is actively syncing records from the data source.", +"The connector has completed a sync run, but encountered non-fatal errors.", +"Connector initialization failed. Potential causes include runtime errors or issues in the asynchronous pipeline, preventing the request from reaching downstream services (except for some connector types).", +"Connector is in the process of an update." +], +"readOnly": true, +"type": "string" +}, +"alertPolicyConfigs": { +"description": "Optional. The connector level alert config.", +"items": { +"$ref": "GoogleCloudDiscoveryengineV1AlertPolicyConfig" +}, +"type": "array" +}, +"autoRunDisabled": { +"description": "Optional. Indicates whether the connector is disabled for auto run. It can be used to pause periodical and real time sync. Update: with the introduction of incremental_sync_disabled, auto_run_disabled is used to pause/disable only full syncs", +"type": "boolean" +}, +"bapConfig": { +"$ref": "GoogleCloudDiscoveryengineV1BAPConfig", +"description": "Optional. The configuration for establishing a BAP connection." +}, +"blockingReasons": { +"description": "Output only. User actions that must be completed before the connector can start syncing data.", +"items": { +"enum": [ +"BLOCKING_REASON_UNSPECIFIED", +"ALLOWLIST_STATIC_IP", +"ALLOWLIST_IN_SERVICE_ATTACHMENT", +"ALLOWLIST_SERVICE_ACCOUNT" +], +"enumDescriptions": [ +"Default value.", +"Connector requires customer to allowlist static IPs.", +"Connector requires customer to allowlist our project in their service attachment.", +"Connector requires customer to allowlist service account in their project." +], +"type": "string" +}, +"readOnly": true, +"type": "array" +}, +"connectorModes": { +"description": "Optional. The modes enabled for this connector. Default state is CONNECTOR_MODE_UNSPECIFIED.", +"items": { +"enum": [ +"CONNECTOR_MODE_UNSPECIFIED", +"DATA_INGESTION", +"ACTIONS", +"FEDERATED", +"EUA", +"FEDERATED_AND_EUA" +], +"enumDescriptions": [ +"Connector mode unspecified.", +"Connector utilized for data ingestion.", +"Connector utilized for actions.", +"Connector utilized for federated search.", +"Connector utilized for End User Authentication.", +"Hybrid connector utilized for federated search and End User Authentication." +], +"type": "string" +}, +"type": "array" +}, +"connectorType": { +"description": "Output only. The type of connector. Each source can only map to one type. For example, salesforce, confluence and jira have THIRD_PARTY connector type. It is not mutable once set by system.", +"enum": [ +"CONNECTOR_TYPE_UNSPECIFIED", +"THIRD_PARTY", +"GCP_FHIR", +"BIG_QUERY", +"GCS", +"GOOGLE_MAIL", +"GOOGLE_CALENDAR", +"GOOGLE_DRIVE", +"NATIVE_CLOUD_IDENTITY", +"THIRD_PARTY_FEDERATED", +"THIRD_PARTY_EUA", +"GCNV", +"GOOGLE_CHAT", +"GOOGLE_SITES", +"REMOTE_MCP" +], +"enumDescriptions": [ +"Default value.", +"Third party connector to connector to third party application.", +"Data connector connects between FHIR store and VAIS datastore.", +"Big query connector.", +"Google Cloud Storage connector.", +"Gmail connector.", +"Google Calendar connector.", +"Google Drive connector.", +"Native Cloud Identity connector for people search powered by People API.", +"Federated connector, it is a third party connector that doesn't ingestion data, and search is powered by third party application's API.", +"Connector utilized for End User Authentication features.", +"Google Cloud NetApp Volumes connector.", +"Google Chat connector.", +"Google Sites connector.", +"Remote MCP based connector." +], +"readOnly": true, +"type": "string" +}, +"createEuaSaas": { +"description": "Optional. Whether the END USER AUTHENTICATION connector is created in SaaS.", +"type": "boolean" +}, +"createTime": { +"description": "Output only. Timestamp the DataConnector was created at.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"dataSource": { +"description": "Required. The name of the data source. Supported values: `salesforce`, `jira`, `confluence`, `bigquery`.", +"type": "string" +}, +"destinationConfigs": { +"description": "Optional. Any target destinations used to connect to third-party services.", +"items": { +"$ref": "GoogleCloudDiscoveryengineV1DestinationConfig" +}, +"type": "array" +}, +"egressFqdns": { +"description": "Output only. The list of FQDNs of the data connector can egress to. This includes both FQDN derived from the customer provided instance URL and default per connector type FQDNs. Note: This field is derived from both the DataConnector.params, and connector source spec. It should only be used for CAIS and Org Policy evaluation purposes.", +"items": { +"type": "string" +}, +"readOnly": true, +"type": "array" +}, +"endUserConfig": { +"$ref": "GoogleCloudDiscoveryengineV1DataConnectorEndUserConfig", +"description": "Optional. Any params and credentials used specifically for EUA connectors." +}, +"entities": { +"description": "List of entities from the connected data source to ingest.", +"items": { +"$ref": "GoogleCloudDiscoveryengineV1DataConnectorSourceEntity" +}, +"type": "array" +}, +"errors": { +"description": "Output only. The errors from initialization or from the latest connector run.", +"items": { +"$ref": "GoogleRpcStatus" +}, +"readOnly": true, +"type": "array" +}, +"federatedConfig": { +"$ref": "GoogleCloudDiscoveryengineV1DataConnectorFederatedConfig", +"description": "Optional. Any params and credentials used specifically for hybrid connectors supporting FEDERATED mode. This field should only be set if the connector is a hybrid connector and we want to enable FEDERATED mode." +}, +"hybridIngestionDisabled": { +"description": "Optional. If the connector is a hybrid connector, determines whether ingestion is enabled and appropriate resources are provisioned during connector creation. If the connector is not a hybrid connector, this field is ignored.", +"type": "boolean" +}, +"identityRefreshInterval": { +"deprecated": true, +"description": "The refresh interval to sync the Access Control List information for the documents ingested by this connector. If not set, the access control list will be refreshed at the default interval of 30 minutes. The identity refresh interval can be at least 30 minutes and at most 7 days.", +"format": "google-duration", +"type": "string" +}, +"identityScheduleConfig": { +"$ref": "GoogleCloudDiscoveryengineV1IdentityScheduleConfig", +"description": "The configuration for the identity data synchronization runs. This contains the refresh interval to sync the Access Control List information for the documents ingested by this connector." +}, +"incrementalRefreshInterval": { +"description": "Optional. The refresh interval specifically for incremental data syncs. If unset, incremental syncs will use the default from env, set to 3hrs. The minimum is 30 minutes and maximum is 7 days. Applicable to only 3P connectors. When the refresh interval is set to the same value as the incremental refresh interval, incremental sync will be disabled.", +"format": "google-duration", +"type": "string" +}, +"incrementalSyncDisabled": { +"description": "Optional. Indicates whether incremental syncs are paused for this connector. This is independent of auto_run_disabled. Applicable to only 3P connectors. When the refresh interval is set to the same value as the incremental refresh interval, incremental sync will be disabled, i.e. set to true.", +"type": "boolean" +}, +"jsonParams": { +"description": "Required data connector parameters in json string format.", +"type": "string" +}, +"kmsKeyName": { +"description": "Input only. The KMS key to be used to protect the DataStores managed by this connector. Must be set for requests that need to comply with CMEK Org Policy protections. If this field is set and processed successfully, the DataStores created by this connector will be protected by the KMS key.", +"type": "string" +}, +"lastSyncTime": { +"description": "Output only. For periodic connectors only, the last time a data sync was completed.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"latestPauseTime": { +"description": "Output only. The most recent timestamp when this DataConnector was paused, affecting all functionalities such as data synchronization. Pausing a connector has the following effects: - All functionalities, including data synchronization, are halted. - Any ongoing data synchronization job will be canceled. - No future data synchronization runs will be scheduled nor can be triggered.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"name": { +"description": "Output only. The full resource name of the Data Connector. Format: `projects/*/locations/*/collections/*/dataConnector`.", +"readOnly": true, +"type": "string" +}, +"nextSyncTime": { +"$ref": "GoogleTypeDateTime", +"description": "Defines the scheduled time for the next data synchronization. This field requires hour , minute, and time_zone from the [IANA Time Zone Database](https://www.iana.org/time-zones). This is utilized when the data connector has a refresh interval greater than 1 day. When the hours or minutes are not specified, we will assume a sync time of 0:00. The user must provide a time zone to avoid ambiguity." +}, +"params": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"description": "Required data connector parameters in structured json format.", +"type": "object" +}, +"privateConnectivityProjectId": { +"description": "Output only. The tenant project ID associated with private connectivity connectors. This project must be allowlisted by in order for the connector to function.", +"readOnly": true, +"type": "string" +}, +"realtimeState": { +"description": "Output only. real-time sync state", +"enum": [ +"STATE_UNSPECIFIED", +"CREATING", +"ACTIVE", +"FAILED", +"RUNNING", +"WARNING", +"INITIALIZATION_FAILED", +"UPDATING" +], +"enumDescriptions": [ +"Default value.", +"The connector is being set up.", +"The connector is successfully set up and awaiting next sync run.", +"The connector is in error. The error details can be found in DataConnector.errors. If the error is unfixable, the DataConnector can be deleted by CollectionService.DeleteCollection API.", +"The connector is actively syncing records from the data source.", +"The connector has completed a sync run, but encountered non-fatal errors.", +"Connector initialization failed. Potential causes include runtime errors or issues in the asynchronous pipeline, preventing the request from reaching downstream services (except for some connector types).", +"Connector is in the process of an update." +], +"readOnly": true, +"type": "string" +}, +"realtimeSyncConfig": { +"$ref": "GoogleCloudDiscoveryengineV1DataConnectorRealtimeSyncConfig", +"description": "Optional. The configuration for realtime sync." +}, +"refreshInterval": { +"description": "Required. The refresh interval for data sync. If duration is set to 0, the data will be synced in real time. The streaming feature is not supported yet. The minimum is 30 minutes and maximum is 7 days. When the refresh interval is set to the same value as the incremental refresh interval, incremental sync will be disabled.", +"format": "google-duration", +"type": "string" +}, +"removeParamKeys": { +"description": "Optional. Specifies keys to be removed from the 'params' field. This is only active when 'params' is included in the 'update_mask' in an UpdateDataConnectorRequest. Deletion takes precedence if a key is both in 'remove_param_keys' and present in the 'params' field of the request.", +"items": { +"type": "string" +}, +"type": "array" +}, +"state": { +"description": "Output only. State of the connector.", +"enum": [ +"STATE_UNSPECIFIED", +"CREATING", +"ACTIVE", +"FAILED", +"RUNNING", +"WARNING", +"INITIALIZATION_FAILED", +"UPDATING" +], +"enumDescriptions": [ +"Default value.", +"The connector is being set up.", +"The connector is successfully set up and awaiting next sync run.", +"The connector is in error. The error details can be found in DataConnector.errors. If the error is unfixable, the DataConnector can be deleted by CollectionService.DeleteCollection API.", +"The connector is actively syncing records from the data source.", +"The connector has completed a sync run, but encountered non-fatal errors.", +"Connector initialization failed. Potential causes include runtime errors or issues in the asynchronous pipeline, preventing the request from reaching downstream services (except for some connector types).", +"Connector is in the process of an update." +], +"readOnly": true, +"type": "string" +}, +"staticIpAddresses": { +"description": "Output only. The static IP addresses used by this connector.", +"items": { +"type": "string" +}, +"readOnly": true, +"type": "array" +}, +"staticIpEnabled": { +"description": "Optional. Whether customer has enabled static IP addresses for this connector.", +"type": "boolean" +}, +"syncMode": { +"description": "The data synchronization mode supported by the data connector.", +"enum": [ +"PERIODIC", +"STREAMING", +"UNSPECIFIED" +], +"enumDescriptions": [ +"The connector will sync data periodically based on the refresh_interval. Use it with auto_run_disabled to pause the periodic sync, or indicate a one-time sync.", +"The data will be synced in real time.", +"Connector that doesn't ingest data will have this value" +], +"type": "string" +}, +"updateTime": { +"description": "Output only. Timestamp the DataConnector was last updated.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"vpcscEnabled": { +"description": "Output only. Whether the connector is created with VPC-SC enabled. This is only used for CuOP evaluation purpose.", +"readOnly": true, +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1DataConnectorEndUserConfig": { +"description": "Any params and credentials used specifically for EUA connectors.", +"id": "GoogleCloudDiscoveryengineV1DataConnectorEndUserConfig", +"properties": { +"additionalParams": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"description": "Optional. Any additional parameters needed for EUA.", +"type": "object" +}, +"authParams": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"description": "Optional. Any authentication parameters specific to EUA connectors.", +"type": "object" +}, +"jsonAuthParams": { +"description": "Optional. Any authentication parameters specific to EUA connectors in json string format.", +"type": "string" +}, +"tenant": { +"$ref": "GoogleCloudDiscoveryengineV1Tenant", +"description": "Optional. The tenant project the connector is connected to." +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1DataConnectorFederatedConfig": { +"description": "Any params and credentials used specifically for hybrid connectors supporting FEDERATED mode.", +"id": "GoogleCloudDiscoveryengineV1DataConnectorFederatedConfig", +"properties": { +"additionalParams": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"description": "Optional. Any additional parameters needed for FEDERATED.", +"type": "object" +}, +"authParams": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"description": "Optional. Any authentication parameters specific to FEDERATED connectors.", +"type": "object" +}, +"jsonAuthParams": { +"description": "Optional. Any authentication parameters specific to FEDERATED connectors in json string format.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1DataConnectorRealtimeSyncConfig": { +"description": "The configuration for realtime sync to store additional params for realtime sync.", +"id": "GoogleCloudDiscoveryengineV1DataConnectorRealtimeSyncConfig", +"properties": { +"realtimeSyncSecret": { +"description": "Optional. The ID of the Secret Manager secret used for webhook secret.", +"type": "string" +}, +"streamingError": { +"$ref": "GoogleCloudDiscoveryengineV1DataConnectorRealtimeSyncConfigStreamingError", +"description": "Optional. Streaming error details." +}, +"webhookUri": { +"description": "Optional. Webhook url for the connector to specify additional params for realtime sync.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1DataConnectorRealtimeSyncConfigStreamingError": { +"description": "Streaming error details.", +"id": "GoogleCloudDiscoveryengineV1DataConnectorRealtimeSyncConfigStreamingError", +"properties": { +"error": { +"$ref": "GoogleRpcStatus", +"description": "Optional. Error details." +}, +"streamingErrorReason": { +"description": "Optional. Streaming error.", +"enum": [ +"STREAMING_ERROR_REASON_UNSPECIFIED", +"STREAMING_SETUP_ERROR", +"STREAMING_SYNC_ERROR", +"INGRESS_ENDPOINT_REQUIRED" +], +"enumDescriptions": [ +"Streaming error reason unspecified.", +"Some error occurred while setting up resources for realtime sync.", +"Some error was encountered while running realtime sync for the connector.", +"Ingress endpoint is required when setting up realtime sync in private connectivity." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1DataConnectorSourceEntity": { +"description": "Represents an entity in the data source. For example, the `Account` object in Salesforce.", +"id": "GoogleCloudDiscoveryengineV1DataConnectorSourceEntity", +"properties": { +"dataStore": { +"description": "Output only. The full resource name of the associated data store for the source entity. Format: `projects/*/locations/*/collections/*/dataStores/*`. When the connector is initialized by the DataConnectorService.SetUpDataConnector method, a DataStore is automatically created for each source entity.", +"readOnly": true, +"type": "string" +}, +"entityName": { +"description": "The name of the entity. Supported values by data source: * Salesforce: `Lead`, `Opportunity`, `Contact`, `Account`, `Case`, `Contract`, `Campaign` * Jira: `Issue` * Confluence: `Content`, `Space`", +"type": "string" +}, +"healthcareFhirConfig": { +"$ref": "GoogleCloudDiscoveryengineV1HealthcareFhirConfig", +"description": "Optional. Configuration for `HEALTHCARE_FHIR` vertical." +}, +"jsonParams": { +"description": "The parameters for the entity to facilitate data ingestion in json string format.", +"type": "string" +}, +"keyPropertyMappings": { +"additionalProperties": { +"type": "string" +}, +"description": "Attributes for indexing. Key: Field name. Value: The key property to map a field to, such as `title`, and `description`. Supported key properties: * `title`: The title for data record. This would be displayed on search results. * `description`: The description for data record. This would be displayed on search results.", +"type": "object" +}, +"params": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"description": "The parameters for the entity to facilitate data ingestion in structured json format.", +"type": "object" +}, +"startingSchema": { +"$ref": "GoogleCloudDiscoveryengineV1Schema", +"description": "Optional. The start schema to use for the DataStore created from this SourceEntity. If unset, a default vertical specialized schema will be used. This field is only used by SetUpDataConnector API, and will be ignored if used in other APIs. This field will be omitted from all API responses including GetDataConnector API. To retrieve a schema of a DataStore, use SchemaService.GetSchema API instead. The provided schema will be validated against certain rules on schema. Learn more from [this doc](https://cloud.google.com/generative-ai-app-builder/docs/provide-schema)." +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1DataStore": { +"description": "DataStore captures global settings and configs at the DataStore level.", +"id": "GoogleCloudDiscoveryengineV1DataStore", +"properties": { +"aclEnabled": { +"description": "Immutable. Whether data in the DataStore has ACL information. If set to `true`, the source data must have ACL. ACL will be ingested when data is ingested by DocumentService.ImportDocuments methods. When ACL is enabled for the DataStore, Document can't be accessed by calling DocumentService.GetDocument or DocumentService.ListDocuments. Currently ACL is only supported in `GENERIC` industry vertical with non-`PUBLIC_WEBSITE` content config.", +"type": "boolean" +}, +"advancedSiteSearchConfig": { +"$ref": "GoogleCloudDiscoveryengineV1AdvancedSiteSearchConfig", +"description": "Optional. Configuration for advanced site search." +}, +"billingEstimation": { +"$ref": "GoogleCloudDiscoveryengineV1DataStoreBillingEstimation", +"description": "Output only. Data size estimation for billing.", +"readOnly": true +}, +"cmekConfig": { +"$ref": "GoogleCloudDiscoveryengineV1CmekConfig", +"description": "Output only. CMEK-related information for the DataStore.", +"readOnly": true +}, +"configurableBillingApproach": { +"description": "Optional. Configuration for configurable billing approach. See", +"enum": [ +"CONFIGURABLE_BILLING_APPROACH_UNSPECIFIED", +"CONFIGURABLE_SUBSCRIPTION_INDEXING_CORE", +"CONFIGURABLE_CONSUMPTION_EMBEDDING" +], +"enumDescriptions": [ +"Default value. For Spark and non-Spark non-configurable billing approach.", +"Use the subscription base + overage billing for indexing core for non embedding storage.", +"Use the consumption pay-as-you-go billing for embedding storage add-on." +], +"type": "string" +}, +"configurableBillingApproachUpdateTime": { +"description": "Output only. The timestamp when configurable_billing_approach was last updated.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"contentConfig": { +"description": "Immutable. The content config of the data store. If this field is unset, the server behavior defaults to ContentConfig.NO_CONTENT.", +"enum": [ +"CONTENT_CONFIG_UNSPECIFIED", +"NO_CONTENT", +"CONTENT_REQUIRED", +"PUBLIC_WEBSITE", +"GOOGLE_WORKSPACE" +], +"enumDescriptions": [ +"Default value.", +"Only contains documents without any Document.content.", +"Only contains documents with Document.content.", +"The data store is used for public website search.", +"The data store is used for workspace search. Details of workspace data store are specified in the WorkspaceConfig." +], +"type": "string" +}, +"createTime": { +"description": "Output only. Timestamp the DataStore was created at.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"defaultSchemaId": { +"description": "Output only. The id of the default Schema associated to this data store.", +"readOnly": true, +"type": "string" +}, +"displayName": { +"description": "Required. The data store display name. This field must be a UTF-8 encoded string with a length limit of 128 characters. Otherwise, an INVALID_ARGUMENT error is returned.", +"type": "string" +}, +"documentProcessingConfig": { +"$ref": "GoogleCloudDiscoveryengineV1DocumentProcessingConfig", +"description": "Configuration for Document understanding and enrichment." +}, +"healthcareFhirConfig": { +"$ref": "GoogleCloudDiscoveryengineV1HealthcareFhirConfig", +"description": "Optional. Configuration for `HEALTHCARE_FHIR` vertical." +}, +"identityMappingStore": { +"description": "Immutable. The fully qualified resource name of the associated IdentityMappingStore. This field can only be set for acl_enabled DataStores with `THIRD_PARTY` or `GSUITE` IdP. Format: `projects/{project}/locations/{location}/identityMappingStores/{identity_mapping_store}`.", +"type": "string" +}, +"industryVertical": { +"description": "Immutable. The industry vertical that the data store registers.", +"enum": [ +"INDUSTRY_VERTICAL_UNSPECIFIED", +"GENERIC", +"MEDIA", +"HEALTHCARE_FHIR" +], +"enumDescriptions": [ +"Value used when unset.", +"The generic vertical for documents that are not specific to any industry vertical.", +"The media industry vertical.", +"The healthcare FHIR vertical." +], +"type": "string" +}, +"isInfobotFaqDataStore": { +"description": "Optional. If set, this DataStore is an Infobot FAQ DataStore.", +"type": "boolean" +}, +"kmsKeyName": { +"description": "Input only. The KMS key to be used to protect this DataStore at creation time. Must be set for requests that need to comply with CMEK Org Policy protections. If this field is set and processed successfully, the DataStore will be protected by the KMS key, as indicated in the cmek_config field.", +"type": "string" +}, +"name": { +"description": "Immutable. Identifier. The full resource name of the data store. Format: `projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}`. This field must be a UTF-8 encoded string with a length limit of 1024 characters.", +"type": "string" +}, +"naturalLanguageQueryUnderstandingConfig": { +"$ref": "GoogleCloudDiscoveryengineV1NaturalLanguageQueryUnderstandingConfig", +"description": "Optional. Configuration for Natural Language Query Understanding." +}, +"servingConfigDataStore": { +"$ref": "GoogleCloudDiscoveryengineV1DataStoreServingConfigDataStore", +"description": "Optional. Stores serving config at DataStore level." +}, +"solutionTypes": { +"description": "The solutions that the data store enrolls. Available solutions for each industry_vertical: * `MEDIA`: `SOLUTION_TYPE_RECOMMENDATION` and `SOLUTION_TYPE_SEARCH`. * `SITE_SEARCH`: `SOLUTION_TYPE_SEARCH` is automatically enrolled. Other solutions cannot be enrolled.", +"items": { +"enum": [ +"SOLUTION_TYPE_UNSPECIFIED", +"SOLUTION_TYPE_RECOMMENDATION", +"SOLUTION_TYPE_SEARCH", +"SOLUTION_TYPE_CHAT", +"SOLUTION_TYPE_GENERATIVE_CHAT", +"SOLUTION_TYPE_AI_MODE" +], +"enumDescriptions": [ +"Default value.", +"Used for Recommendations AI.", +"Used for Discovery Search.", +"Used for use cases related to the Generative AI agent.", +"Used for use cases related to the Generative Chat agent. It's used for Generative chat engine only, the associated data stores must enrolled with `SOLUTION_TYPE_CHAT` solution.", +"Used for AI Mode." +], +"type": "string" +}, +"type": "array" +}, +"startingSchema": { +"$ref": "GoogleCloudDiscoveryengineV1Schema", +"description": "The start schema to use for this DataStore when provisioning it. If unset, a default vertical specialized schema will be used. This field is only used by CreateDataStore API, and will be ignored if used in other APIs. This field will be omitted from all API responses including CreateDataStore API. To retrieve a schema of a DataStore, use SchemaService.GetSchema API instead. The provided schema will be validated against certain rules on schema. Learn more from [this doc](https://cloud.google.com/generative-ai-app-builder/docs/provide-schema)." +}, +"workspaceConfig": { +"$ref": "GoogleCloudDiscoveryengineV1WorkspaceConfig", +"description": "Config to store data store type configuration for workspace data. This must be set when DataStore.content_config is set as DataStore.ContentConfig.GOOGLE_WORKSPACE." +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1DataStoreBillingEstimation": { +"description": "Estimation of data size per data store.", +"id": "GoogleCloudDiscoveryengineV1DataStoreBillingEstimation", +"properties": { +"structuredDataSize": { +"description": "Data size for structured data in terms of bytes.", +"format": "int64", +"type": "string" +}, +"structuredDataUpdateTime": { +"description": "Last updated timestamp for structured data.", +"format": "google-datetime", +"type": "string" +}, +"unstructuredDataSize": { +"description": "Data size for unstructured data in terms of bytes.", +"format": "int64", +"type": "string" +}, +"unstructuredDataUpdateTime": { +"description": "Last updated timestamp for unstructured data.", +"format": "google-datetime", +"type": "string" +}, +"websiteDataSize": { +"description": "Data size for websites in terms of bytes.", +"format": "int64", +"type": "string" +}, +"websiteDataUpdateTime": { +"description": "Last updated timestamp for websites.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1DataStoreServingConfigDataStore": { +"description": "Stores information regarding the serving configurations at DataStore level.", +"id": "GoogleCloudDiscoveryengineV1DataStoreServingConfigDataStore", +"properties": { +"disabledForServing": { +"description": "Optional. If set true, the DataStore will not be available for serving search requests.", +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1DeleteCmekConfigMetadata": { +"description": "Metadata related to the progress of the CmekConfigService.DeleteCmekConfig operation. This will be returned by the google.longrunning.Operation.metadata field.", +"id": "GoogleCloudDiscoveryengineV1DeleteCmekConfigMetadata", +"properties": { +"createTime": { +"description": "Operation create time.", +"format": "google-datetime", +"type": "string" +}, +"updateTime": { +"description": "Operation last update time. If the operation is done, this is also the finish time.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1DeleteCollectionMetadata": { +"description": "Metadata related to the progress of the CollectionService.UpdateCollection operation. This will be returned by the google.longrunning.Operation.metadata field.", +"id": "GoogleCloudDiscoveryengineV1DeleteCollectionMetadata", +"properties": { +"createTime": { +"description": "Operation create time.", +"format": "google-datetime", +"type": "string" +}, +"updateTime": { +"description": "Operation last update time. If the operation is done, this is also the finish time.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1DeleteDataStoreMetadata": { +"description": "Metadata related to the progress of the DataStoreService.DeleteDataStore operation. This will be returned by the google.longrunning.Operation.metadata field.", +"id": "GoogleCloudDiscoveryengineV1DeleteDataStoreMetadata", +"properties": { +"createTime": { +"description": "Operation create time.", +"format": "google-datetime", +"type": "string" +}, +"updateTime": { +"description": "Operation last update time. If the operation is done, this is also the finish time.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1DeleteEngineMetadata": { +"description": "Metadata related to the progress of the EngineService.DeleteEngine operation. This will be returned by the google.longrunning.Operation.metadata field.", +"id": "GoogleCloudDiscoveryengineV1DeleteEngineMetadata", +"properties": { +"createTime": { +"description": "Operation create time.", +"format": "google-datetime", +"type": "string" +}, +"updateTime": { +"description": "Operation last update time. If the operation is done, this is also the finish time.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1DeleteIdentityMappingStoreMetadata": { +"description": "Metadata related to the progress of the IdentityMappingStoreService.DeleteIdentityMappingStore operation. This will be returned by the google.longrunning.Operation.metadata field.", +"id": "GoogleCloudDiscoveryengineV1DeleteIdentityMappingStoreMetadata", +"properties": { +"createTime": { +"description": "Operation create time.", +"format": "google-datetime", +"type": "string" +}, +"updateTime": { +"description": "Operation last update time. If the operation is done, this is also the finish time.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1DeleteSchemaMetadata": { +"description": "Metadata for DeleteSchema LRO.", +"id": "GoogleCloudDiscoveryengineV1DeleteSchemaMetadata", +"properties": { +"createTime": { +"description": "Operation create time.", +"format": "google-datetime", +"type": "string" +}, +"updateTime": { +"description": "Operation last update time. If the operation is done, this is also the finish time.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1DeleteSitemapMetadata": { +"description": "Metadata related to the progress of the SiteSearchEngineService.DeleteSitemap operation. This will be returned by the google.longrunning.Operation.metadata field.", +"id": "GoogleCloudDiscoveryengineV1DeleteSitemapMetadata", +"properties": { +"createTime": { +"description": "Operation create time.", +"format": "google-datetime", +"type": "string" +}, +"updateTime": { +"description": "Operation last update time. If the operation is done, this is also the finish time.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1DeleteTargetSiteMetadata": { +"description": "Metadata related to the progress of the SiteSearchEngineService.DeleteTargetSite operation. This will be returned by the google.longrunning.Operation.metadata field.", +"id": "GoogleCloudDiscoveryengineV1DeleteTargetSiteMetadata", +"properties": { +"createTime": { +"description": "Operation create time.", +"format": "google-datetime", +"type": "string" +}, +"updateTime": { +"description": "Operation last update time. If the operation is done, this is also the finish time.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1DestinationConfig": { +"description": "Defines target endpoints used to connect to third-party sources.", +"id": "GoogleCloudDiscoveryengineV1DestinationConfig", +"properties": { +"destinations": { +"description": "Optional. The destinations for the corresponding key.", +"items": { +"$ref": "GoogleCloudDiscoveryengineV1DestinationConfigDestination" +}, +"type": "array" +}, +"jsonParams": { +"description": "Additional parameters for this destination config in json string format.", +"type": "string" +}, +"key": { +"description": "Optional. Unique destination identifier that is supported by the connector.", +"type": "string" +}, +"params": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"description": "Optional. Additional parameters for this destination config in structured json format.", +"type": "object" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1DestinationConfigDestination": { +"description": "Defines a target endpoint", +"id": "GoogleCloudDiscoveryengineV1DestinationConfigDestination", +"properties": { +"host": { +"description": "Publicly routable host.", +"type": "string" +}, +"port": { +"description": "Optional. Target port number accepted by the destination.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1DisableAdvancedSiteSearchMetadata": { +"description": "Metadata related to the progress of the SiteSearchEngineService.DisableAdvancedSiteSearch operation. This will be returned by the google.longrunning.Operation.metadata field.", +"id": "GoogleCloudDiscoveryengineV1DisableAdvancedSiteSearchMetadata", +"properties": { +"createTime": { +"description": "Operation create time.", +"format": "google-datetime", +"type": "string" +}, +"updateTime": { +"description": "Operation last update time. If the operation is done, this is also the finish time.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1DisableAdvancedSiteSearchRequest": { +"description": "Request message for SiteSearchEngineService.DisableAdvancedSiteSearch method.", +"id": "GoogleCloudDiscoveryengineV1DisableAdvancedSiteSearchRequest", +"properties": {}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1DisableAdvancedSiteSearchResponse": { +"description": "Response message for SiteSearchEngineService.DisableAdvancedSiteSearch method.", +"id": "GoogleCloudDiscoveryengineV1DisableAdvancedSiteSearchResponse", +"properties": {}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1Document": { +"description": "Document captures all raw metadata information of items to be recommended or searched.", +"id": "GoogleCloudDiscoveryengineV1Document", +"properties": { +"aclInfo": { +"$ref": "GoogleCloudDiscoveryengineV1DocumentAclInfo", +"description": "Access control information for the document." +}, +"content": { +"$ref": "GoogleCloudDiscoveryengineV1DocumentContent", +"description": "The unstructured data linked to this document. Content can only be set and must be set if this document is under a `CONTENT_REQUIRED` data store." +}, +"derivedStructData": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"description": "Output only. This field is OUTPUT_ONLY. It contains derived data that are not in the original input document.", +"readOnly": true, +"type": "object" +}, +"id": { +"description": "Immutable. The identifier of the document. Id should conform to [RFC-1034](https://tools.ietf.org/html/rfc1034) standard with a length limit of 128 characters.", +"type": "string" +}, +"indexStatus": { +"$ref": "GoogleCloudDiscoveryengineV1DocumentIndexStatus", +"description": "Output only. The index status of the document. * If document is indexed successfully, the index_time field is populated. * Otherwise, if document is not indexed due to errors, the error_samples field is populated. * Otherwise, if document's index is in progress, the pending_message field is populated.", +"readOnly": true +}, +"indexTime": { +"description": "Output only. The last time the document was indexed. If this field is set, the document could be returned in search results. This field is OUTPUT_ONLY. If this field is not populated, it means the document has never been indexed.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"jsonData": { +"description": "The JSON string representation of the document. It should conform to the registered Schema or an `INVALID_ARGUMENT` error is thrown.", +"type": "string" +}, +"name": { +"description": "Immutable. The full resource name of the document. Format: `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}/documents/{document_id}`. This field must be a UTF-8 encoded string with a length limit of 1024 characters.", +"type": "string" +}, +"parentDocumentId": { +"description": "The identifier of the parent document. Currently supports at most two level document hierarchy. Id should conform to [RFC-1034](https://tools.ietf.org/html/rfc1034) standard with a length limit of 63 characters.", +"type": "string" +}, +"schemaId": { +"description": "The identifier of the schema located in the same data store.", +"type": "string" +}, +"structData": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"description": "The structured JSON data for the document. It should conform to the registered Schema or an `INVALID_ARGUMENT` error is thrown.", +"type": "object" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1DocumentAclInfo": { +"description": "ACL Information of the Document.", +"id": "GoogleCloudDiscoveryengineV1DocumentAclInfo", +"properties": { +"readers": { +"description": "Readers of the document.", +"items": { +"$ref": "GoogleCloudDiscoveryengineV1DocumentAclInfoAccessRestriction" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1DocumentAclInfoAccessRestriction": { +"description": "AclRestriction to model complex inheritance restrictions. Example: Modeling a \"Both Permit\" inheritance, where to access a child document, user needs to have access to parent document. Document Hierarchy - Space_S --> Page_P. Readers: Space_S: group_1, user_1 Page_P: group_2, group_3, user_2 Space_S ACL Restriction - { \"acl_info\": { \"readers\": [ { \"principals\": [ { \"group_id\": \"group_1\" }, { \"user_id\": \"user_1\" } ] } ] } } Page_P ACL Restriction. { \"acl_info\": { \"readers\": [ { \"principals\": [ { \"group_id\": \"group_2\" }, { \"group_id\": \"group_3\" }, { \"user_id\": \"user_2\" } ], }, { \"principals\": [ { \"group_id\": \"group_1\" }, { \"user_id\": \"user_1\" } ], } ] } }", +"id": "GoogleCloudDiscoveryengineV1DocumentAclInfoAccessRestriction", +"properties": { +"idpWide": { +"description": "All users within the Identity Provider.", +"type": "boolean" +}, +"principals": { +"description": "List of principals.", +"items": { +"$ref": "GoogleCloudDiscoveryengineV1Principal" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1DocumentContent": { +"description": "Unstructured data linked to this document.", +"id": "GoogleCloudDiscoveryengineV1DocumentContent", +"properties": { +"mimeType": { +"description": "The MIME type of the content. Supported types: * `application/pdf` (PDF, only native PDFs are supported for now) * `text/html` (HTML) * `text/plain` (TXT) * `application/xml` or `text/xml` (XML) * `application/json` (JSON) * `application/vnd.openxmlformats-officedocument.wordprocessingml.document` (DOCX) * `application/vnd.openxmlformats-officedocument.presentationml.presentation` (PPTX) * `application/vnd.openxmlformats-officedocument.spreadsheetml.sheet` (XLSX) * `application/vnd.ms-excel.sheet.macroenabled.12` (XLSM) The following types are supported only if layout parser is enabled in the data store: * `image/bmp` (BMP) * `image/gif` (GIF) * `image/jpeg` (JPEG) * `image/png` (PNG) * `image/tiff` (TIFF) See https://www.iana.org/assignments/media-types/media-types.xhtml.", +"type": "string" +}, +"rawBytes": { +"description": "The content represented as a stream of bytes. The maximum length is 1,000,000 bytes (1 MB / ~0.95 MiB). Note: As with all `bytes` fields, this field is represented as pure binary in Protocol Buffers and base64-encoded string in JSON. For example, `abc123!?$*&()'-=@~` should be represented as `YWJjMTIzIT8kKiYoKSctPUB+` in JSON. See https://developers.google.com/protocol-buffers/docs/proto3#json.", +"format": "byte", +"type": "string" +}, +"uri": { +"description": "The URI of the content. Only Cloud Storage URIs (e.g. `gs://bucket-name/path/to/file`) are supported. The maximum file size is 2.5 MB for text-based formats, 200 MB for other formats.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1DocumentIndexStatus": { +"description": "Index status of the document.", +"id": "GoogleCloudDiscoveryengineV1DocumentIndexStatus", +"properties": { +"errorSamples": { +"description": "A sample of errors encountered while indexing the document. If this field is populated, the document is not indexed due to errors.", +"items": { +"$ref": "GoogleRpcStatus" +}, +"type": "array" +}, +"indexTime": { +"description": "The time when the document was indexed. If this field is populated, it means the document has been indexed.", +"format": "google-datetime", +"type": "string" +}, +"pendingMessage": { +"description": "Immutable. The message indicates the document index is in progress. If this field is populated, the document index is pending.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1DocumentInfo": { +"description": "Detailed document information associated with a user event.", +"id": "GoogleCloudDiscoveryengineV1DocumentInfo", +"properties": { +"conversionValue": { +"description": "Optional. The conversion value associated with this Document. Must be set if UserEvent.event_type is \"conversion\". For example, a value of 1000 signifies that 1000 seconds were spent viewing a Document for the `watch` conversion type.", +"format": "float", +"type": "number" +}, +"id": { +"description": "The Document resource ID.", +"type": "string" +}, +"joined": { +"description": "Output only. Whether the referenced Document can be found in the data store.", +"readOnly": true, +"type": "boolean" +}, +"name": { +"description": "The Document resource full name, of the form: `projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}/branches/{branch_id}/documents/{document_id}`", +"type": "string" +}, +"promotionIds": { +"description": "The promotion IDs associated with this Document. Currently, this field is restricted to at most one ID.", +"items": { +"type": "string" +}, +"type": "array" +}, +"quantity": { +"description": "Quantity of the Document associated with the user event. Defaults to 1. For example, this field is 2 if two quantities of the same Document are involved in a `add-to-cart` event. Required for events of the following event types: * `add-to-cart` * `purchase`", +"format": "int32", +"type": "integer" +}, +"uri": { +"description": "The Document URI - only allowed for website data stores.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1DocumentProcessingConfig": { +"description": "A singleton resource of DataStore. If it's empty when DataStore is created and DataStore is set to DataStore.ContentConfig.CONTENT_REQUIRED, the default parser will default to digital parser.", +"id": "GoogleCloudDiscoveryengineV1DocumentProcessingConfig", +"properties": { +"chunkingConfig": { +"$ref": "GoogleCloudDiscoveryengineV1DocumentProcessingConfigChunkingConfig", +"description": "Whether chunking mode is enabled." +}, +"defaultParsingConfig": { +"$ref": "GoogleCloudDiscoveryengineV1DocumentProcessingConfigParsingConfig", +"description": "Configurations for default Document parser. If not specified, we will configure it as default DigitalParsingConfig, and the default parsing config will be applied to all file types for Document parsing." +}, +"name": { +"description": "The full resource name of the Document Processing Config. Format: `projects/*/locations/*/collections/*/dataStores/*/documentProcessingConfig`.", +"type": "string" +}, +"parsingConfigOverrides": { +"additionalProperties": { +"$ref": "GoogleCloudDiscoveryengineV1DocumentProcessingConfigParsingConfig" +}, +"description": "Map from file type to override the default parsing configuration based on the file type. Supported keys: * `pdf`: Override parsing config for PDF files, either digital parsing, ocr parsing or layout parsing is supported. * `html`: Override parsing config for HTML files, only digital parsing and layout parsing are supported. * `docx`: Override parsing config for DOCX files, only digital parsing and layout parsing are supported. * `pptx`: Override parsing config for PPTX files, only digital parsing and layout parsing are supported. * `xlsm`: Override parsing config for XLSM files, only digital parsing and layout parsing are supported. * `xlsx`: Override parsing config for XLSX files, only digital parsing and layout parsing are supported.", +"type": "object" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1DocumentProcessingConfigChunkingConfig": { +"description": "Configuration for chunking config.", +"id": "GoogleCloudDiscoveryengineV1DocumentProcessingConfigChunkingConfig", +"properties": { +"layoutBasedChunkingConfig": { +"$ref": "GoogleCloudDiscoveryengineV1DocumentProcessingConfigChunkingConfigLayoutBasedChunkingConfig", +"description": "Configuration for the layout based chunking." +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1DocumentProcessingConfigChunkingConfigLayoutBasedChunkingConfig": { +"description": "Configuration for the layout based chunking.", +"id": "GoogleCloudDiscoveryengineV1DocumentProcessingConfigChunkingConfigLayoutBasedChunkingConfig", +"properties": { +"chunkSize": { +"description": "The token size limit for each chunk. Supported values: 100-500 (inclusive). Default value: 500.", +"format": "int32", +"type": "integer" +}, +"includeAncestorHeadings": { +"description": "Whether to include appending different levels of headings to chunks from the middle of the document to prevent context loss. Default value: False.", +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1DocumentProcessingConfigParsingConfig": { +"description": "Related configurations applied to a specific type of document parser.", +"id": "GoogleCloudDiscoveryengineV1DocumentProcessingConfigParsingConfig", +"properties": { +"digitalParsingConfig": { +"$ref": "GoogleCloudDiscoveryengineV1DocumentProcessingConfigParsingConfigDigitalParsingConfig", +"description": "Configurations applied to digital parser." +}, +"layoutParsingConfig": { +"$ref": "GoogleCloudDiscoveryengineV1DocumentProcessingConfigParsingConfigLayoutParsingConfig", +"description": "Configurations applied to layout parser." +}, +"ocrParsingConfig": { +"$ref": "GoogleCloudDiscoveryengineV1DocumentProcessingConfigParsingConfigOcrParsingConfig", +"description": "Configurations applied to OCR parser. Currently it only applies to PDFs." +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1DocumentProcessingConfigParsingConfigDigitalParsingConfig": { +"description": "The digital parsing configurations for documents.", +"id": "GoogleCloudDiscoveryengineV1DocumentProcessingConfigParsingConfigDigitalParsingConfig", +"properties": {}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1DocumentProcessingConfigParsingConfigLayoutParsingConfig": { +"description": "The layout parsing configurations for documents.", +"id": "GoogleCloudDiscoveryengineV1DocumentProcessingConfigParsingConfigLayoutParsingConfig", +"properties": { +"enableGetProcessedDocument": { +"description": "Optional. If true, the processed document will be made available for the GetProcessedDocument API.", +"type": "boolean" +}, +"enableImageAnnotation": { +"description": "Optional. If true, the LLM based annotation is added to the image during parsing.", +"type": "boolean" +}, +"enableLlmLayoutParsing": { +"description": "Optional. If true, the pdf layout will be refined using an LLM.", +"type": "boolean" +}, +"enableTableAnnotation": { +"description": "Optional. If true, the LLM based annotation is added to the table during parsing.", +"type": "boolean" +}, +"excludeHtmlClasses": { +"description": "Optional. List of HTML classes to exclude from the parsed content.", +"items": { +"type": "string" +}, +"type": "array" +}, +"excludeHtmlElements": { +"description": "Optional. List of HTML elements to exclude from the parsed content.", +"items": { +"type": "string" +}, +"type": "array" +}, +"excludeHtmlIds": { +"description": "Optional. List of HTML ids to exclude from the parsed content.", +"items": { +"type": "string" +}, +"type": "array" +}, +"structuredContentTypes": { +"description": "Optional. Contains the required structure types to extract from the document. Supported values: * `shareholder-structure`", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1DocumentProcessingConfigParsingConfigOcrParsingConfig": { +"description": "The OCR parsing configurations for documents.", +"id": "GoogleCloudDiscoveryengineV1DocumentProcessingConfigParsingConfigOcrParsingConfig", +"properties": { +"enhancedDocumentElements": { +"deprecated": true, +"description": "[DEPRECATED] This field is deprecated. To use the additional enhanced document elements processing, please switch to `layout_parsing_config`.", +"items": { +"type": "string" +}, +"type": "array" +}, +"useNativeText": { +"description": "If true, will use native text instead of OCR text on pages containing native text.", +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1DoubleList": { +"description": "Double list.", +"id": "GoogleCloudDiscoveryengineV1DoubleList", +"properties": { +"values": { +"description": "Double values.", +"items": { +"format": "double", +"type": "number" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1EnableAdvancedSiteSearchMetadata": { +"description": "Metadata related to the progress of the SiteSearchEngineService.EnableAdvancedSiteSearch operation. This will be returned by the google.longrunning.Operation.metadata field.", +"id": "GoogleCloudDiscoveryengineV1EnableAdvancedSiteSearchMetadata", +"properties": { +"createTime": { +"description": "Operation create time.", +"format": "google-datetime", +"type": "string" +}, +"updateTime": { +"description": "Operation last update time. If the operation is done, this is also the finish time.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1EnableAdvancedSiteSearchRequest": { +"description": "Request message for SiteSearchEngineService.EnableAdvancedSiteSearch method.", +"id": "GoogleCloudDiscoveryengineV1EnableAdvancedSiteSearchRequest", +"properties": {}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1EnableAdvancedSiteSearchResponse": { +"description": "Response message for SiteSearchEngineService.EnableAdvancedSiteSearch method.", +"id": "GoogleCloudDiscoveryengineV1EnableAdvancedSiteSearchResponse", +"properties": {}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1Engine": { +"description": "Metadata that describes the training and serving parameters of an Engine.", +"id": "GoogleCloudDiscoveryengineV1Engine", +"properties": { +"appType": { +"description": "Optional. Immutable. This the application type which this engine resource represents. NOTE: this is a new concept independ of existing industry vertical or solution type.", +"enum": [ +"APP_TYPE_UNSPECIFIED", +"APP_TYPE_INTRANET" +], +"enumDescriptions": [ +"All non specified apps.", +"App type for intranet search and Agentspace." +], +"type": "string" +}, +"chatEngineConfig": { +"$ref": "GoogleCloudDiscoveryengineV1EngineChatEngineConfig", +"description": "Configurations for the Chat Engine. Only applicable if solution_type is SOLUTION_TYPE_CHAT." +}, +"chatEngineMetadata": { +"$ref": "GoogleCloudDiscoveryengineV1EngineChatEngineMetadata", +"description": "Output only. Additional information of the Chat Engine. Only applicable if solution_type is SOLUTION_TYPE_CHAT.", +"readOnly": true +}, +"cmekConfig": { +"$ref": "GoogleCloudDiscoveryengineV1CmekConfig", +"description": "Output only. CMEK-related information for the Engine.", +"readOnly": true +}, +"commonConfig": { +"$ref": "GoogleCloudDiscoveryengineV1EngineCommonConfig", +"description": "Common config spec that specifies the metadata of the engine." +}, +"configurableBillingApproach": { +"description": "Optional. Configuration for configurable billing approach.", +"enum": [ +"CONFIGURABLE_BILLING_APPROACH_UNSPECIFIED", +"CONFIGURABLE_BILLING_APPROACH_ENABLED" +], +"enumDescriptions": [ +"Default value. For Spark and non-Spark non-configurable billing approach. General pricing model.", +"The billing approach follows configurations specified by customer." +], +"type": "string" +}, +"connectorTenantInfo": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. Maps a connector ID (e.g., \"hybrid-github\", \"shopify\") to tenant-specific information required for that connector. The structure of the tenant information string is connector-dependent.", +"type": "object" +}, +"createTime": { +"description": "Output only. Timestamp the Recommendation Engine was created at.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"dataStoreIds": { +"description": "Optional. The data stores associated with this engine. For SOLUTION_TYPE_SEARCH and SOLUTION_TYPE_RECOMMENDATION type of engines, they can only associate with at most one data store. If solution_type is SOLUTION_TYPE_CHAT, multiple DataStores in the same Collection can be associated here. Note that when used in CreateEngineRequest, one DataStore id must be provided as the system will use it for necessary initializations.", +"items": { +"type": "string" +}, +"type": "array" +}, +"disableAnalytics": { +"description": "Optional. Whether to disable analytics for searches performed on this engine.", +"type": "boolean" +}, +"displayName": { +"description": "Required. The display name of the engine. Should be human readable. UTF-8 encoded string with limit of 1024 characters.", +"type": "string" +}, +"features": { +"additionalProperties": { +"enum": [ +"FEATURE_STATE_UNSPECIFIED", +"FEATURE_STATE_ON", +"FEATURE_STATE_OFF" +], +"enumDescriptions": [ +"The feature state is unspecified.", +"The feature is turned on to be accessible.", +"The feature is turned off to be inaccessible." +], +"type": "string" +}, +"description": "Optional. Feature config for the engine to opt in or opt out of features. Supported keys: * `*`: all features, if it's present, all other feature state settings are ignored. * `agent-gallery` * `no-code-agent-builder` * `prompt-gallery` * `model-selector` * `notebook-lm` * `people-search` * `people-search-org-chart` * `bi-directional-audio` * `feedback` * `session-sharing` * `personalization-memory` * `personalization-suggested-highlights` * `disable-agent-sharing` * `disable-image-generation` * `disable-video-generation` * `disable-onedrive-upload` * `disable-talk-to-content` * `disable-google-drive-upload` * `disable-welcome-emails`", +"type": "object" +}, +"industryVertical": { +"description": "Optional. The industry vertical that the engine registers. The restriction of the Engine industry vertical is based on DataStore: Vertical on Engine has to match vertical of the DataStore linked to the engine.", +"enum": [ +"INDUSTRY_VERTICAL_UNSPECIFIED", +"GENERIC", +"MEDIA", +"HEALTHCARE_FHIR" +], +"enumDescriptions": [ +"Value used when unset.", +"The generic vertical for documents that are not specific to any industry vertical.", +"The media industry vertical.", +"The healthcare FHIR vertical." +], +"type": "string" +}, +"knowledgeGraphConfig": { +"$ref": "GoogleCloudDiscoveryengineV1EngineKnowledgeGraphConfig", +"description": "Optional. Configurations for the Knowledge Graph. Only applicable if solution_type is SOLUTION_TYPE_SEARCH." +}, +"marketplaceAgentVisibility": { +"description": "Optional. The visibility of marketplace agents in the agent gallery.", +"enum": [ +"MARKETPLACE_AGENT_VISIBILITY_UNSPECIFIED", +"SHOW_AVAILABLE_AGENTS_ONLY", +"SHOW_AGENTS_ALREADY_INTEGRATED", +"SHOW_AGENTS_ALREADY_PURCHASED", +"SHOW_ALL_AGENTS" +], +"enumDescriptions": [ +"Defaults to `MARKETPLACE_AGENT_VISIBILITY_UNSPECIFIED`.", +"Only agents that are currently available for use by the user are visible.", +"Show marketplace agents that the user does not yet have access to but are integrated into the engine. This level also includes all agents visible with `SHOW_AVAILABLE_AGENTS_ONLY`.", +"Show all agents visible with `SHOW_AGENTS_ALREADY_INTEGRATED`, plus agents that have already been purchased by the project/organization, even if they are not currently integrated into the engine.", +"All agents in the marketplace are visible, regardless of access or purchase status. This level encompasses all agents shown in the previous levels." +], +"type": "string" +}, +"mediaRecommendationEngineConfig": { +"$ref": "GoogleCloudDiscoveryengineV1EngineMediaRecommendationEngineConfig", +"description": "Configurations for the Media Engine. Only applicable on the data stores with solution_type SOLUTION_TYPE_RECOMMENDATION and IndustryVertical.MEDIA vertical." +}, +"modelConfigs": { +"additionalProperties": { +"enum": [ +"MODEL_STATE_UNSPECIFIED", +"MODEL_ENABLED", +"MODEL_DISABLED" +], +"enumDescriptions": [ +"The model state is unspecified.", +"The model is enabled by admin.", +"The model is disabled by admin." +], +"type": "string" +}, +"description": "Optional. Maps a model name to its specific configuration for this engine. This allows admin users to turn on/off individual models. This only stores models whose states are overridden by the admin. When the state is unspecified, or model_configs is empty for this model, the system will decide if this model should be available or not based on the default configuration. For example, a preview model should be disabled by default if the admin has not chosen to enable it.", +"type": "object" +}, +"name": { +"description": "Immutable. Identifier. The fully qualified resource name of the engine. This field must be a UTF-8 encoded string with a length limit of 1024 characters. Format: `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}` engine should be 1-63 characters, and valid characters are /a-z0-9*/. Otherwise, an INVALID_ARGUMENT error is returned.", +"type": "string" +}, +"observabilityConfig": { +"$ref": "GoogleCloudDiscoveryengineV1ObservabilityConfig", +"description": "Optional. Observability config for the engine." +}, +"procurementContactEmail": { +"description": "Optional. The email of the procurement contact.", +"type": "string" +}, +"searchEngineConfig": { +"$ref": "GoogleCloudDiscoveryengineV1EngineSearchEngineConfig", +"description": "Configurations for the Search Engine. Only applicable if solution_type is SOLUTION_TYPE_SEARCH." +}, +"solutionType": { +"description": "Required. The solutions of the engine.", +"enum": [ +"SOLUTION_TYPE_UNSPECIFIED", +"SOLUTION_TYPE_RECOMMENDATION", +"SOLUTION_TYPE_SEARCH", +"SOLUTION_TYPE_CHAT", +"SOLUTION_TYPE_GENERATIVE_CHAT", +"SOLUTION_TYPE_AI_MODE" +], +"enumDescriptions": [ +"Default value.", +"Used for Recommendations AI.", +"Used for Discovery Search.", +"Used for use cases related to the Generative AI agent.", +"Used for use cases related to the Generative Chat agent. It's used for Generative chat engine only, the associated data stores must enrolled with `SOLUTION_TYPE_CHAT` solution.", +"Used for AI Mode." +], +"type": "string" +}, +"updateTime": { +"description": "Output only. Timestamp the Recommendation Engine was last updated.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1EngineChatEngineConfig": { +"description": "Configurations for a Chat Engine.", +"id": "GoogleCloudDiscoveryengineV1EngineChatEngineConfig", +"properties": { +"agentCreationConfig": { +"$ref": "GoogleCloudDiscoveryengineV1EngineChatEngineConfigAgentCreationConfig", +"description": "The configurationt generate the Dialogflow agent that is associated to this Engine. Note that these configurations are one-time consumed by and passed to Dialogflow service. It means they cannot be retrieved using EngineService.GetEngine or EngineService.ListEngines API after engine creation." +}, +"allowCrossRegion": { +"description": "Optional. If the flag set to true, we allow the agent and engine are in different locations, otherwise the agent and engine are required to be in the same location. The flag is set to false by default. Note that the `allow_cross_region` are one-time consumed by and passed to EngineService.CreateEngine. It means they cannot be retrieved using EngineService.GetEngine or EngineService.ListEngines API after engine creation.", +"type": "boolean" +}, +"dialogflowAgentToLink": { +"description": "The resource name of an exist Dialogflow agent to link to this Chat Engine. Customers can either provide `agent_creation_config` to create agent or provide an agent name that links the agent with the Chat engine. Format: `projects//locations//agents/`. Note that the `dialogflow_agent_to_link` are one-time consumed by and passed to Dialogflow service. It means they cannot be retrieved using EngineService.GetEngine or EngineService.ListEngines API after engine creation. Use ChatEngineMetadata.dialogflow_agent for actual agent association after Engine is created.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1EngineChatEngineConfigAgentCreationConfig": { +"description": "Configurations for generating a Dialogflow agent. Note that these configurations are one-time consumed by and passed to Dialogflow service. It means they cannot be retrieved using EngineService.GetEngine or EngineService.ListEngines API after engine creation.", +"id": "GoogleCloudDiscoveryengineV1EngineChatEngineConfigAgentCreationConfig", +"properties": { +"business": { +"description": "Name of the company, organization or other entity that the agent represents. Used for knowledge connector LLM prompt and for knowledge search.", +"type": "string" +}, +"defaultLanguageCode": { +"description": "Required. The default language of the agent as a language tag. See [Language Support](https://cloud.google.com/dialogflow/docs/reference/language) for a list of the currently supported language codes.", +"type": "string" +}, +"location": { +"description": "Agent location for Agent creation, supported values: global/us/eu. If not provided, us Engine will create Agent using us-central-1 by default; eu Engine will create Agent using eu-west-1 by default.", +"type": "string" +}, +"timeZone": { +"description": "Required. The time zone of the agent from the [time zone database](https://www.iana.org/time-zones), e.g., America/New_York, Europe/Paris.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1EngineChatEngineMetadata": { +"description": "Additional information of a Chat Engine. Fields in this message are output only.", +"id": "GoogleCloudDiscoveryengineV1EngineChatEngineMetadata", +"properties": { +"dialogflowAgent": { +"description": "The resource name of a Dialogflow agent, that this Chat Engine refers to. Format: `projects//locations//agents/`.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1EngineCommonConfig": { +"description": "Common configurations for an Engine.", +"id": "GoogleCloudDiscoveryengineV1EngineCommonConfig", +"properties": { +"companyName": { +"description": "The name of the company, business or entity that is associated with the engine. Setting this may help improve LLM related features.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1EngineKnowledgeGraphConfig": { +"description": "Configuration message for the Knowledge Graph.", +"id": "GoogleCloudDiscoveryengineV1EngineKnowledgeGraphConfig", +"properties": { +"cloudKnowledgeGraphTypes": { +"description": "Specify entity types to support.", +"items": { +"type": "string" +}, +"type": "array" +}, +"enableCloudKnowledgeGraph": { +"description": "Whether to enable the Cloud Knowledge Graph for the engine. Defaults to false if not specified.", +"type": "boolean" +}, +"enablePrivateKnowledgeGraph": { +"description": "Whether to enable the Private Knowledge Graph for the engine. Defaults to false if not specified.", +"type": "boolean" +}, +"featureConfig": { +"$ref": "GoogleCloudDiscoveryengineV1EngineKnowledgeGraphConfigFeatureConfig", +"description": "Optional. Feature config for the Knowledge Graph." +}, +"privateKnowledgeGraphTypes": { +"description": "Specify entity types to support.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1EngineKnowledgeGraphConfigFeatureConfig": { +"description": "Feature config for the Knowledge Graph.", +"id": "GoogleCloudDiscoveryengineV1EngineKnowledgeGraphConfigFeatureConfig", +"properties": { +"disablePrivateKgAutoComplete": { +"description": "Whether to disable the private KG auto complete for the engine. Defaults to false if not specified.", +"type": "boolean" +}, +"disablePrivateKgEnrichment": { +"description": "Whether to disable the private KG enrichment for the engine. Defaults to false if not specified.", +"type": "boolean" +}, +"disablePrivateKgQueryUiChips": { +"description": "Whether to disable the private KG for query UI chips. Defaults to false if not specified.", +"type": "boolean" +}, +"disablePrivateKgQueryUnderstanding": { +"description": "Whether to disable the private KG query understanding for the engine. Defaults to false if not specified.", +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1EngineMediaRecommendationEngineConfig": { +"description": "Additional config specs for a Media Recommendation engine.", +"id": "GoogleCloudDiscoveryengineV1EngineMediaRecommendationEngineConfig", +"properties": { +"engineFeaturesConfig": { +"$ref": "GoogleCloudDiscoveryengineV1EngineMediaRecommendationEngineConfigEngineFeaturesConfig", +"description": "Optional. Additional engine features config." +}, +"optimizationObjective": { +"description": "The optimization objective. e.g., `cvr`. This field together with optimization_objective describe engine metadata to use to control engine training and serving. Currently supported values: `ctr`, `cvr`. If not specified, we choose default based on engine type. Default depends on type of recommendation: `recommended-for-you` => `ctr` `others-you-may-like` => `ctr`", +"type": "string" +}, +"optimizationObjectiveConfig": { +"$ref": "GoogleCloudDiscoveryengineV1EngineMediaRecommendationEngineConfigOptimizationObjectiveConfig", +"description": "Name and value of the custom threshold for cvr optimization_objective. For target_field `watch-time`, target_field_value must be an integer value indicating the media progress time in seconds between (0, 86400] (excludes 0, includes 86400) (e.g., 90). For target_field `watch-percentage`, the target_field_value must be a valid float value between (0, 1.0] (excludes 0, includes 1.0) (e.g., 0.5)." +}, +"trainingState": { +"description": "The training state that the engine is in (e.g. `TRAINING` or `PAUSED`). Since part of the cost of running the service is frequency of training - this can be used to determine when to train engine in order to control cost. If not specified: the default value for `CreateEngine` method is `TRAINING`. The default value for `UpdateEngine` method is to keep the state the same as before.", +"enum": [ +"TRAINING_STATE_UNSPECIFIED", +"PAUSED", +"TRAINING" +], +"enumDescriptions": [ +"Unspecified training state.", +"The engine training is paused.", +"The engine is training." +], +"type": "string" +}, +"type": { +"description": "Required. The type of engine. e.g., `recommended-for-you`. This field together with optimization_objective describe engine metadata to use to control engine training and serving. Currently supported values: `recommended-for-you`, `others-you-may-like`, `more-like-this`, `most-popular-items`.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1EngineMediaRecommendationEngineConfigEngineFeaturesConfig": { +"description": "More feature configs of the selected engine type.", +"id": "GoogleCloudDiscoveryengineV1EngineMediaRecommendationEngineConfigEngineFeaturesConfig", +"properties": { +"mostPopularConfig": { +"$ref": "GoogleCloudDiscoveryengineV1EngineMediaRecommendationEngineConfigMostPopularFeatureConfig", +"description": "Most popular engine feature config." +}, +"recommendedForYouConfig": { +"$ref": "GoogleCloudDiscoveryengineV1EngineMediaRecommendationEngineConfigRecommendedForYouFeatureConfig", +"description": "Recommended for you engine feature config." +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1EngineMediaRecommendationEngineConfigMostPopularFeatureConfig": { +"description": "Feature configurations that are required for creating a Most Popular engine.", +"id": "GoogleCloudDiscoveryengineV1EngineMediaRecommendationEngineConfigMostPopularFeatureConfig", +"properties": { +"timeWindowDays": { +"description": "The time window of which the engine is queried at training and prediction time. Positive integers only. The value translates to the last X days of events. Currently required for the `most-popular-items` engine.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1EngineMediaRecommendationEngineConfigOptimizationObjectiveConfig": { +"description": "Custom threshold for `cvr` optimization_objective.", +"id": "GoogleCloudDiscoveryengineV1EngineMediaRecommendationEngineConfigOptimizationObjectiveConfig", +"properties": { +"targetField": { +"description": "Required. The name of the field to target. Currently supported values: `watch-percentage`, `watch-time`.", +"type": "string" +}, +"targetFieldValueFloat": { +"description": "Required. The threshold to be applied to the target (e.g., 0.5).", +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1EngineMediaRecommendationEngineConfigRecommendedForYouFeatureConfig": { +"description": "Additional feature configurations for creating a `recommended-for-you` engine.", +"id": "GoogleCloudDiscoveryengineV1EngineMediaRecommendationEngineConfigRecommendedForYouFeatureConfig", +"properties": { +"contextEventType": { +"description": "The type of event with which the engine is queried at prediction time. If set to `generic`, only `view-item`, `media-play`,and `media-complete` will be used as `context-event` in engine training. If set to `view-home-page`, `view-home-page` will also be used as `context-events` in addition to `view-item`, `media-play`, and `media-complete`. Currently supported for the `recommended-for-you` engine. Currently supported values: `view-home-page`, `generic`.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1EngineSearchEngineConfig": { +"description": "Configurations for a Search Engine.", +"id": "GoogleCloudDiscoveryengineV1EngineSearchEngineConfig", +"properties": { +"requiredSubscriptionTier": { +"description": "Optional. The required subscription tier of this engine. They cannot be modified after engine creation. If the required subscription tier is search, user with higher license tier like assist can still access the standalone app associated with this engine.", +"enum": [ +"SUBSCRIPTION_TIER_UNSPECIFIED", +"SUBSCRIPTION_TIER_SEARCH", +"SUBSCRIPTION_TIER_SEARCH_AND_ASSISTANT", +"SUBSCRIPTION_TIER_NOTEBOOK_LM", +"SUBSCRIPTION_TIER_FRONTLINE_WORKER", +"SUBSCRIPTION_TIER_AGENTSPACE_STARTER", +"SUBSCRIPTION_TIER_AGENTSPACE_BUSINESS", +"SUBSCRIPTION_TIER_ENTERPRISE", +"SUBSCRIPTION_TIER_ENTERPRISE_EMERGING", +"SUBSCRIPTION_TIER_EDU", +"SUBSCRIPTION_TIER_EDU_PRO", +"SUBSCRIPTION_TIER_EDU_EMERGING", +"SUBSCRIPTION_TIER_EDU_PRO_EMERGING", +"SUBSCRIPTION_TIER_FRONTLINE_STARTER" +], +"enumDescriptions": [ +"Default value.", +"Search tier. Search tier can access Vertex AI Search features and NotebookLM features.", +"Gemini Enterprise Plus tier.", +"NotebookLM tier. NotebookLM is a subscription tier can only access NotebookLM features.", +"Gemini Frontline worker tier.", +"Gemini Business Starter tier.", +"Gemini Business tier.", +"Gemini Enterprise Standard tier.", +"Gemini Enterprise Standard tier for emerging markets.", +"Gemini Enterprise EDU tier.", +"Gemini Enterprise EDU Pro tier.", +"Gemini Enterprise EDU tier for emerging market only.", +"Gemini Enterprise EDU Pro tier for emerging market.", +"Gemini Frontline Starter tier." +], +"type": "string" +}, +"searchAddOns": { +"description": "The add-on that this search engine enables.", +"items": { +"enum": [ +"SEARCH_ADD_ON_UNSPECIFIED", +"SEARCH_ADD_ON_LLM" +], +"enumDescriptions": [ +"Default value when the enum is unspecified. This is invalid to use.", +"Large language model add-on." +], +"type": "string" +}, +"type": "array" +}, +"searchTier": { +"description": "The search feature tier of this engine. Different tiers might have different pricing. To learn more, check the pricing documentation. Defaults to SearchTier.SEARCH_TIER_STANDARD if not specified.", +"enum": [ +"SEARCH_TIER_UNSPECIFIED", +"SEARCH_TIER_STANDARD", +"SEARCH_TIER_ENTERPRISE" +], +"enumDescriptions": [ +"Default value when the enum is unspecified. This is invalid to use.", +"Standard tier.", +"Enterprise tier." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1FactChunk": { +"description": "Fact Chunk.", +"id": "GoogleCloudDiscoveryengineV1FactChunk", +"properties": { +"chunkText": { +"description": "Text content of the fact chunk. Can be at most 10K characters long.", +"type": "string" +}, +"domain": { +"description": "The domain of the source.", +"type": "string" +}, +"index": { +"description": "The index of this chunk. Currently, only used for the streaming mode.", +"format": "int32", +"type": "integer" +}, +"source": { +"description": "Source from which this fact chunk was retrieved. If it was retrieved from the GroundingFacts provided in the request then this field will contain the index of the specific fact from which this chunk was retrieved.", +"type": "string" +}, +"sourceMetadata": { +"additionalProperties": { +"type": "string" +}, +"description": "More fine-grained information for the source reference.", +"type": "object" +}, +"title": { +"description": "The title of the source.", +"type": "string" +}, +"uri": { +"description": "The URI of the source.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1FetchDomainVerificationStatusResponse": { +"description": "Response message for SiteSearchEngineService.FetchDomainVerificationStatus method.", +"id": "GoogleCloudDiscoveryengineV1FetchDomainVerificationStatusResponse", +"properties": { +"nextPageToken": { +"description": "A token that can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.", +"type": "string" +}, +"targetSites": { +"description": "List of TargetSites containing the site verification status.", +"items": { +"$ref": "GoogleCloudDiscoveryengineV1TargetSite" +}, +"type": "array" +}, +"totalSize": { +"description": "The total number of items matching the request. This will always be populated in the response.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1FetchSitemapsResponse": { +"description": "Response message for SiteSearchEngineService.FetchSitemaps method.", +"id": "GoogleCloudDiscoveryengineV1FetchSitemapsResponse", +"properties": { +"sitemapsMetadata": { +"description": "List of Sitemaps fetched.", +"items": { +"$ref": "GoogleCloudDiscoveryengineV1FetchSitemapsResponseSitemapMetadata" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1FetchSitemapsResponseSitemapMetadata": { +"description": "Contains a Sitemap and its metadata.", +"id": "GoogleCloudDiscoveryengineV1FetchSitemapsResponseSitemapMetadata", +"properties": { +"sitemap": { +"$ref": "GoogleCloudDiscoveryengineV1Sitemap", +"description": "The Sitemap." +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1FhirStoreSource": { +"description": "Cloud FhirStore source import data from.", +"id": "GoogleCloudDiscoveryengineV1FhirStoreSource", +"properties": { +"fhirStore": { +"description": "Required. The full resource name of the FHIR store to import data from, in the format of `projects/{project}/locations/{location}/datasets/{dataset}/fhirStores/{fhir_store}`.", +"type": "string" +}, +"gcsStagingDir": { +"description": "Intermediate Cloud Storage directory used for the import with a length limit of 2,000 characters. Can be specified if one wants to have the FhirStore export to a specific Cloud Storage directory.", +"type": "string" +}, +"resourceTypes": { +"description": "The FHIR resource types to import. The resource types should be a subset of all [supported FHIR resource types](https://cloud.google.com/generative-ai-app-builder/docs/fhir-schema-reference#resource-level-specification). Default to all supported FHIR resource types if empty.", +"items": { +"type": "string" +}, +"type": "array" +}, +"updateFromLatestPredefinedSchema": { +"description": "Optional. Whether to update the DataStore schema to the latest predefined schema. If true, the DataStore schema will be updated to include any FHIR fields or resource types that have been added since the last import and corresponding FHIR resources will be imported from the FHIR store. Note this field cannot be used in conjunction with `resource_types`. It should be used after initial import.", +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1FirestoreSource": { +"description": "Firestore source import data from.", +"id": "GoogleCloudDiscoveryengineV1FirestoreSource", +"properties": { +"collectionId": { +"description": "Required. The Firestore collection (or entity) to copy the data from with a length limit of 1,500 characters.", +"type": "string" +}, +"databaseId": { +"description": "Required. The Firestore database to copy the data from with a length limit of 256 characters.", +"type": "string" +}, +"gcsStagingDir": { +"description": "Intermediate Cloud Storage directory used for the import with a length limit of 2,000 characters. Can be specified if one wants to have the Firestore export to a specific Cloud Storage directory. Ensure that the Firestore service account has the necessary Cloud Storage Admin permissions to access the specified Cloud Storage directory.", +"type": "string" +}, +"projectId": { +"description": "The project ID that the Cloud SQL source is in with a length limit of 128 characters. If not specified, inherits the project ID from the parent request.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1GcsSource": { +"description": "Cloud Storage location for input content.", +"id": "GoogleCloudDiscoveryengineV1GcsSource", +"properties": { +"dataSchema": { +"description": "The schema to use when parsing the data from the source. Supported values for document imports: * `document` (default): One JSON Document per line. Each document must have a valid Document.id. * `content`: Unstructured data (e.g. PDF, HTML). Each file matched by `input_uris` becomes a document, with the ID set to the first 128 bits of SHA256(URI) encoded as a hex string. * `custom`: One custom data JSON per row in arbitrary format that conforms to the defined Schema of the data store. This can only be used by the GENERIC Data Store vertical. * `csv`: A CSV file with header conforming to the defined Schema of the data store. Each entry after the header is imported as a Document. This can only be used by the GENERIC Data Store vertical. Supported values for user event imports: * `user_event` (default): One JSON UserEvent per line.", +"type": "string" +}, +"inputUris": { +"description": "Required. Cloud Storage URIs to input files. Each URI can be up to 2000 characters long. URIs can match the full object path (for example, `gs://bucket/directory/object.json`) or a pattern matching one or more files, such as `gs://bucket/directory/*.json`. A request can contain at most 100 files (or 100,000 files if `data_schema` is `content`). Each file can be up to 2 GB (or 100 MB if `data_schema` is `content`).", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1GroundingFact": { +"description": "Grounding Fact.", +"id": "GoogleCloudDiscoveryengineV1GroundingFact", +"properties": { +"attributes": { +"additionalProperties": { +"type": "string" +}, +"description": "Attributes associated with the fact. Common attributes include `source` (indicating where the fact was sourced from), `author` (indicating the author of the fact), and so on.", +"type": "object" +}, +"factText": { +"description": "Text content of the fact. Can be at most 10K characters long.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1HealthcareFhirConfig": { +"description": "Config to data store for `HEALTHCARE_FHIR` vertical.", +"id": "GoogleCloudDiscoveryengineV1HealthcareFhirConfig", +"properties": { +"enableConfigurableSchema": { +"description": "Whether to enable configurable schema for `HEALTHCARE_FHIR` vertical. If set to `true`, the predefined healthcare fhir schema can be extended for more customized searching and filtering.", +"type": "boolean" +}, +"enableStaticIndexingForBatchIngestion": { +"description": "Whether to enable static indexing for `HEALTHCARE_FHIR` batch ingestion. If set to `true`, the batch ingestion will be processed in a static indexing mode which is slower but more capable of handling larger volume.", +"type": "boolean" +}, +"initialFilterGroups": { +"description": "Optional. Names of the Group resources to use as a basis for the initial patient filter, in format `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/fhirStores/{fhir_store_id}/fhir/Group/{group_id}`. The filter group must be a FHIR resource name of type Group, and the filter will be constructed from the direct members of the group which are Patient resources.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1IdentityMappingEntry": { +"description": "Identity Mapping Entry that maps an external identity to an internal identity.", +"id": "GoogleCloudDiscoveryengineV1IdentityMappingEntry", +"properties": { +"externalIdentity": { +"description": "Required. Identity outside the customer identity provider. The length limit of external identity will be of 100 characters.", +"type": "string" +}, +"externalIdentityName": { +"description": "Optional. The name of the external identity.", +"type": "string" +}, +"groupId": { +"description": "Group identifier. For Google Workspace user account, group_id should be the google workspace group email. For non-google identity provider, group_id is the mapped group identifier configured during the workforcepool config.", +"type": "string" +}, +"userId": { +"description": "User identifier. For Google Workspace user account, user_id should be the google workspace user email. For non-google identity provider, user_id is the mapped user identifier configured during the workforcepool config.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1IdentityMappingEntryOperationMetadata": { +"description": "IdentityMappingEntry LongRunningOperation metadata for IdentityMappingStoreService.ImportIdentityMappings and IdentityMappingStoreService.PurgeIdentityMappings", +"id": "GoogleCloudDiscoveryengineV1IdentityMappingEntryOperationMetadata", +"properties": { +"failureCount": { +"description": "The number of IdentityMappingEntries that failed to be processed.", +"format": "int64", +"type": "string" +}, +"successCount": { +"description": "The number of IdentityMappingEntries that were successfully processed.", +"format": "int64", +"type": "string" +}, +"totalCount": { +"description": "The total number of IdentityMappingEntries that were processed.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1IdentityMappingStore": { +"description": "Identity Mapping Store which contains Identity Mapping Entries.", +"id": "GoogleCloudDiscoveryengineV1IdentityMappingStore", +"properties": { +"cmekConfig": { +"$ref": "GoogleCloudDiscoveryengineV1CmekConfig", +"description": "Output only. CMEK-related information for the Identity Mapping Store.", +"readOnly": true +}, +"kmsKeyName": { +"description": "Input only. The KMS key to be used to protect this Identity Mapping Store at creation time. Must be set for requests that need to comply with CMEK Org Policy protections. If this field is set and processed successfully, the Identity Mapping Store will be protected by the KMS key, as indicated in the cmek_config field.", +"type": "string" +}, +"name": { +"description": "Immutable. The full resource name of the identity mapping store. Format: `projects/{project}/locations/{location}/identityMappingStores/{identity_mapping_store}`. This field must be a UTF-8 encoded string with a length limit of 1024 characters.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1IdentityScheduleConfig": { +"description": "The configuration for the identity data synchronization runs.", +"id": "GoogleCloudDiscoveryengineV1IdentityScheduleConfig", +"properties": { +"nextSyncTime": { +"$ref": "GoogleTypeDateTime", +"description": "Optional. The UTC time when the next data sync is expected to start for the Data Connector. Customers are only able to specify the hour and minute to schedule the data sync. This is utilized when the data connector has a refresh interval greater than 1 day." +}, +"refreshInterval": { +"description": "Optional. The refresh interval to sync the Access Control List information for the documents ingested by this connector. If not set, the access control list will be refreshed at the default interval of 30 minutes. The identity refresh interval can be at least 30 minutes and at most 7 days.", +"format": "google-duration", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1IdpConfig": { +"description": "Identity Provider Config.", +"id": "GoogleCloudDiscoveryengineV1IdpConfig", +"properties": { +"externalIdpConfig": { +"$ref": "GoogleCloudDiscoveryengineV1IdpConfigExternalIdpConfig", +"description": "External Identity provider config." +}, +"idpType": { +"description": "Identity provider type configured.", +"enum": [ +"IDP_TYPE_UNSPECIFIED", +"GSUITE", +"THIRD_PARTY" +], +"enumDescriptions": [ +"Default value. ACL search not enabled.", +"Google 1P provider.", +"Third party provider." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1IdpConfigExternalIdpConfig": { +"description": "Third party IDP Config.", +"id": "GoogleCloudDiscoveryengineV1IdpConfigExternalIdpConfig", +"properties": { +"workforcePoolName": { +"description": "Workforce pool name. Example: \"locations/global/workforcePools/pool_id\"", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1ImportCompletionSuggestionsMetadata": { +"description": "Metadata related to the progress of the ImportCompletionSuggestions operation. This will be returned by the google.longrunning.Operation.metadata field.", +"id": "GoogleCloudDiscoveryengineV1ImportCompletionSuggestionsMetadata", +"properties": { +"createTime": { +"description": "Operation create time.", +"format": "google-datetime", +"type": "string" +}, +"failureCount": { +"description": "Count of CompletionSuggestions that failed to be imported.", +"format": "int64", +"type": "string" +}, +"successCount": { +"description": "Count of CompletionSuggestions successfully imported.", +"format": "int64", +"type": "string" +}, +"updateTime": { +"description": "Operation last update time. If the operation is done, this is also the finish time.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1ImportCompletionSuggestionsRequest": { +"description": "Request message for CompletionService.ImportCompletionSuggestions method.", +"id": "GoogleCloudDiscoveryengineV1ImportCompletionSuggestionsRequest", +"properties": { +"bigquerySource": { +"$ref": "GoogleCloudDiscoveryengineV1BigQuerySource", +"description": "BigQuery input source." +}, +"errorConfig": { +"$ref": "GoogleCloudDiscoveryengineV1ImportErrorConfig", +"description": "The desired location of errors incurred during the Import." +}, +"gcsSource": { +"$ref": "GoogleCloudDiscoveryengineV1GcsSource", +"description": "Cloud Storage location for the input content." +}, +"inlineSource": { +"$ref": "GoogleCloudDiscoveryengineV1ImportCompletionSuggestionsRequestInlineSource", +"description": "The Inline source for suggestion entries." +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1ImportCompletionSuggestionsRequestInlineSource": { +"description": "The inline source for CompletionSuggestions.", +"id": "GoogleCloudDiscoveryengineV1ImportCompletionSuggestionsRequestInlineSource", +"properties": { +"suggestions": { +"description": "Required. A list of all denylist entries to import. Max of 1000 items.", +"items": { +"$ref": "GoogleCloudDiscoveryengineV1CompletionSuggestion" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1ImportCompletionSuggestionsResponse": { +"description": "Response of the CompletionService.ImportCompletionSuggestions method. If the long running operation is done, this message is returned by the google.longrunning.Operations.response field if the operation is successful.", +"id": "GoogleCloudDiscoveryengineV1ImportCompletionSuggestionsResponse", +"properties": { +"errorConfig": { +"$ref": "GoogleCloudDiscoveryengineV1ImportErrorConfig", +"description": "The desired location of errors incurred during the Import." +}, +"errorSamples": { +"description": "A sample of errors encountered while processing the request.", +"items": { +"$ref": "GoogleRpcStatus" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1ImportDocumentsMetadata": { +"description": "Metadata related to the progress of the ImportDocuments operation. This is returned by the google.longrunning.Operation.metadata field.", +"id": "GoogleCloudDiscoveryengineV1ImportDocumentsMetadata", +"properties": { +"createTime": { +"description": "Operation create time.", +"format": "google-datetime", +"type": "string" +}, +"failureCount": { +"description": "Count of entries that encountered errors while processing.", +"format": "int64", +"type": "string" +}, +"successCount": { +"description": "Count of entries that were processed successfully.", +"format": "int64", +"type": "string" +}, +"totalCount": { +"description": "Total count of entries that were processed.", +"format": "int64", +"type": "string" +}, +"updateTime": { +"description": "Operation last update time. If the operation is done, this is also the finish time.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1ImportDocumentsRequest": { +"description": "Request message for Import methods.", +"id": "GoogleCloudDiscoveryengineV1ImportDocumentsRequest", +"properties": { +"alloyDbSource": { +"$ref": "GoogleCloudDiscoveryengineV1AlloyDbSource", +"description": "AlloyDB input source." +}, +"autoGenerateIds": { +"description": "Whether to automatically generate IDs for the documents if absent. If set to `true`, Document.ids are automatically generated based on the hash of the payload, where IDs may not be consistent during multiple imports. In which case ReconciliationMode.FULL is highly recommended to avoid duplicate contents. If unset or set to `false`, Document.ids have to be specified using id_field, otherwise, documents without IDs fail to be imported. Supported data sources: * GcsSource. GcsSource.data_schema must be `custom` or `csv`. Otherwise, an INVALID_ARGUMENT error is thrown. * BigQuerySource. BigQuerySource.data_schema must be `custom` or `csv`. Otherwise, an INVALID_ARGUMENT error is thrown. * SpannerSource. * CloudSqlSource. * FirestoreSource. * BigtableSource.", +"type": "boolean" +}, +"bigquerySource": { +"$ref": "GoogleCloudDiscoveryengineV1BigQuerySource", +"description": "BigQuery input source." +}, +"bigtableSource": { +"$ref": "GoogleCloudDiscoveryengineV1BigtableSource", +"description": "Cloud Bigtable input source." +}, +"cloudSqlSource": { +"$ref": "GoogleCloudDiscoveryengineV1CloudSqlSource", +"description": "Cloud SQL input source." +}, +"errorConfig": { +"$ref": "GoogleCloudDiscoveryengineV1ImportErrorConfig", +"description": "The desired location of errors incurred during the Import." +}, +"fhirStoreSource": { +"$ref": "GoogleCloudDiscoveryengineV1FhirStoreSource", +"description": "FhirStore input source." +}, +"firestoreSource": { +"$ref": "GoogleCloudDiscoveryengineV1FirestoreSource", +"description": "Firestore input source." +}, +"forceRefreshContent": { +"description": "Optional. Whether to force refresh the unstructured content of the documents. If set to `true`, the content part of the documents will be refreshed regardless of the update status of the referencing content.", +"type": "boolean" +}, +"gcsSource": { +"$ref": "GoogleCloudDiscoveryengineV1GcsSource", +"description": "Cloud Storage location for the input content." +}, +"idField": { +"description": "The field indicates the ID field or column to be used as unique IDs of the documents. For GcsSource it is the key of the JSON field. For instance, `my_id` for JSON `{\"my_id\": \"some_uuid\"}`. For others, it may be the column name of the table where the unique ids are stored. The values of the JSON field or the table column are used as the Document.ids. The JSON field or the table column must be of string type, and the values must be set as valid strings conform to [RFC-1034](https://tools.ietf.org/html/rfc1034) with 1-63 characters. Otherwise, documents without valid IDs fail to be imported. Only set this field when auto_generate_ids is unset or set as `false`. Otherwise, an INVALID_ARGUMENT error is thrown. If it is unset, a default value `_id` is used when importing from the allowed data sources. Supported data sources: * GcsSource. GcsSource.data_schema must be `custom` or `csv`. Otherwise, an INVALID_ARGUMENT error is thrown. * BigQuerySource. BigQuerySource.data_schema must be `custom` or `csv`. Otherwise, an INVALID_ARGUMENT error is thrown. * SpannerSource. * CloudSqlSource. * BigtableSource.", +"type": "string" +}, +"inlineSource": { +"$ref": "GoogleCloudDiscoveryengineV1ImportDocumentsRequestInlineSource", +"description": "The Inline source for the input content for documents." +}, +"reconciliationMode": { +"description": "The mode of reconciliation between existing documents and the documents to be imported. Defaults to ReconciliationMode.INCREMENTAL.", +"enum": [ +"RECONCILIATION_MODE_UNSPECIFIED", +"INCREMENTAL", +"FULL" +], +"enumDescriptions": [ +"Defaults to `INCREMENTAL`.", +"Inserts new documents or updates existing documents.", +"Calculates diff and replaces the entire document dataset. Existing documents may be deleted if they are not present in the source location. When using this mode, there won't be any downtime on the dataset targeted. Any document that should remain unchanged or that should be updated will continue serving while the operation is running." +], +"type": "string" +}, +"spannerSource": { +"$ref": "GoogleCloudDiscoveryengineV1SpannerSource", +"description": "Spanner input source." +}, +"updateMask": { +"description": "Indicates which fields in the provided imported documents to update. If not set, the default is to update all fields.", +"format": "google-fieldmask", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1ImportDocumentsRequestInlineSource": { +"description": "The inline source for the input config for ImportDocuments method.", +"id": "GoogleCloudDiscoveryengineV1ImportDocumentsRequestInlineSource", +"properties": { +"documents": { +"description": "Required. A list of documents to update/create. Each document must have a valid Document.id. Recommended max of 100 items.", +"items": { +"$ref": "GoogleCloudDiscoveryengineV1Document" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1ImportDocumentsResponse": { +"description": "Response of the ImportDocumentsRequest. If the long running operation is done, then this message is returned by the google.longrunning.Operations.response field if the operation was successful.", +"id": "GoogleCloudDiscoveryengineV1ImportDocumentsResponse", +"properties": { +"errorConfig": { +"$ref": "GoogleCloudDiscoveryengineV1ImportErrorConfig", +"description": "Echoes the destination for the complete errors in the request if set." +}, +"errorSamples": { +"description": "A sample of errors encountered while processing the request.", +"items": { +"$ref": "GoogleRpcStatus" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1ImportErrorConfig": { +"description": "Configuration of destination for Import related errors.", +"id": "GoogleCloudDiscoveryengineV1ImportErrorConfig", +"properties": { +"gcsPrefix": { +"description": "Cloud Storage prefix for import errors. This must be an empty, existing Cloud Storage directory. Import errors are written to sharded files in this directory, one per line, as a JSON-encoded `google.rpc.Status` message.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1ImportIdentityMappingsRequest": { +"description": "Request message for IdentityMappingStoreService.ImportIdentityMappings", +"id": "GoogleCloudDiscoveryengineV1ImportIdentityMappingsRequest", +"properties": { +"inlineSource": { +"$ref": "GoogleCloudDiscoveryengineV1ImportIdentityMappingsRequestInlineSource", +"description": "The inline source to import identity mapping entries from." +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1ImportIdentityMappingsRequestInlineSource": { +"description": "The inline source to import identity mapping entries from.", +"id": "GoogleCloudDiscoveryengineV1ImportIdentityMappingsRequestInlineSource", +"properties": { +"identityMappingEntries": { +"description": "A maximum of 10000 entries can be imported at one time", +"items": { +"$ref": "GoogleCloudDiscoveryengineV1IdentityMappingEntry" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1ImportIdentityMappingsResponse": { +"description": "Response message for IdentityMappingStoreService.ImportIdentityMappings", +"id": "GoogleCloudDiscoveryengineV1ImportIdentityMappingsResponse", +"properties": { +"errorSamples": { +"description": "A sample of errors encountered while processing the request.", +"items": { +"$ref": "GoogleRpcStatus" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1ImportSuggestionDenyListEntriesMetadata": { +"description": "Metadata related to the progress of the ImportSuggestionDenyListEntries operation. This is returned by the google.longrunning.Operation.metadata field.", +"id": "GoogleCloudDiscoveryengineV1ImportSuggestionDenyListEntriesMetadata", +"properties": { +"createTime": { +"description": "Operation create time.", +"format": "google-datetime", +"type": "string" +}, +"updateTime": { +"description": "Operation last update time. If the operation is done, this is also the finish time.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1ImportSuggestionDenyListEntriesRequest": { +"description": "Request message for CompletionService.ImportSuggestionDenyListEntries method.", +"id": "GoogleCloudDiscoveryengineV1ImportSuggestionDenyListEntriesRequest", +"properties": { +"gcsSource": { +"$ref": "GoogleCloudDiscoveryengineV1GcsSource", +"description": "Cloud Storage location for the input content. Only 1 file can be specified that contains all entries to import. Supported values `gcs_source.schema` for autocomplete suggestion deny list entry imports: * `suggestion_deny_list` (default): One JSON [SuggestionDenyListEntry] per line." +}, +"inlineSource": { +"$ref": "GoogleCloudDiscoveryengineV1ImportSuggestionDenyListEntriesRequestInlineSource", +"description": "The Inline source for the input content for suggestion deny list entries." +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1ImportSuggestionDenyListEntriesRequestInlineSource": { +"description": "The inline source for SuggestionDenyListEntry.", +"id": "GoogleCloudDiscoveryengineV1ImportSuggestionDenyListEntriesRequestInlineSource", +"properties": { +"entries": { +"description": "Required. A list of all denylist entries to import. Max of 1000 items.", +"items": { +"$ref": "GoogleCloudDiscoveryengineV1SuggestionDenyListEntry" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1ImportSuggestionDenyListEntriesResponse": { +"description": "Response message for CompletionService.ImportSuggestionDenyListEntries method.", +"id": "GoogleCloudDiscoveryengineV1ImportSuggestionDenyListEntriesResponse", +"properties": { +"errorSamples": { +"description": "A sample of errors encountered while processing the request.", +"items": { +"$ref": "GoogleRpcStatus" +}, +"type": "array" +}, +"failedEntriesCount": { +"description": "Count of deny list entries that failed to be imported.", +"format": "int64", +"type": "string" +}, +"importedEntriesCount": { +"description": "Count of deny list entries successfully imported.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1ImportUserEventsMetadata": { +"description": "Metadata related to the progress of the Import operation. This is returned by the google.longrunning.Operation.metadata field.", +"id": "GoogleCloudDiscoveryengineV1ImportUserEventsMetadata", +"properties": { +"createTime": { +"description": "Operation create time.", +"format": "google-datetime", +"type": "string" +}, +"failureCount": { +"description": "Count of entries that encountered errors while processing.", +"format": "int64", +"type": "string" +}, +"successCount": { +"description": "Count of entries that were processed successfully.", +"format": "int64", +"type": "string" +}, +"updateTime": { +"description": "Operation last update time. If the operation is done, this is also the finish time.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1ImportUserEventsRequest": { +"description": "Request message for the ImportUserEvents request.", +"id": "GoogleCloudDiscoveryengineV1ImportUserEventsRequest", +"properties": { +"bigquerySource": { +"$ref": "GoogleCloudDiscoveryengineV1BigQuerySource", +"description": "BigQuery input source." +}, +"errorConfig": { +"$ref": "GoogleCloudDiscoveryengineV1ImportErrorConfig", +"description": "The desired location of errors incurred during the Import. Cannot be set for inline user event imports." +}, +"gcsSource": { +"$ref": "GoogleCloudDiscoveryengineV1GcsSource", +"description": "Cloud Storage location for the input content." +}, +"inlineSource": { +"$ref": "GoogleCloudDiscoveryengineV1ImportUserEventsRequestInlineSource", +"description": "The Inline source for the input content for UserEvents." +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1ImportUserEventsRequestInlineSource": { +"description": "The inline source for the input config for ImportUserEvents method.", +"id": "GoogleCloudDiscoveryengineV1ImportUserEventsRequestInlineSource", +"properties": { +"userEvents": { +"description": "Required. A list of user events to import. Recommended max of 10k items.", +"items": { +"$ref": "GoogleCloudDiscoveryengineV1UserEvent" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1ImportUserEventsResponse": { +"description": "Response of the ImportUserEventsRequest. If the long running operation was successful, then this message is returned by the google.longrunning.Operations.response field if the operation was successful.", +"id": "GoogleCloudDiscoveryengineV1ImportUserEventsResponse", +"properties": { +"errorConfig": { +"$ref": "GoogleCloudDiscoveryengineV1ImportErrorConfig", +"description": "Echoes the destination for the complete errors if this field was set in the request." +}, +"errorSamples": { +"description": "A sample of errors encountered while processing the request.", +"items": { +"$ref": "GoogleRpcStatus" +}, +"type": "array" +}, +"joinedEventsCount": { +"description": "Count of user events imported with complete existing Documents.", +"format": "int64", +"type": "string" +}, +"unjoinedEventsCount": { +"description": "Count of user events imported, but with Document information not found in the existing Branch.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1Interval": { +"description": "A floating point interval.", +"id": "GoogleCloudDiscoveryengineV1Interval", +"properties": { +"exclusiveMaximum": { +"description": "Exclusive upper bound.", +"format": "double", +"type": "number" +}, +"exclusiveMinimum": { +"description": "Exclusive lower bound.", +"format": "double", +"type": "number" +}, +"maximum": { +"description": "Inclusive upper bound.", +"format": "double", +"type": "number" +}, +"minimum": { +"description": "Inclusive lower bound.", +"format": "double", +"type": "number" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1LicenseConfig": { +"description": "Information about users' licenses.", +"id": "GoogleCloudDiscoveryengineV1LicenseConfig", +"properties": { +"autoRenew": { +"description": "Optional. Whether the license config should be auto renewed when it reaches the end date.", +"type": "boolean" +}, +"earlyTerminated": { +"description": "Output only. Indication of whether the subscription is terminated earlier than the expiration date. This is usually terminated by pipeline once the subscription gets terminated from subsv3.", +"readOnly": true, +"type": "boolean" +}, +"earlyTerminationDate": { +"$ref": "GoogleTypeDate", +"description": "Output only. The date when the subscription is terminated earlier than the expiration date.", +"readOnly": true +}, +"endDate": { +"$ref": "GoogleTypeDate", +"description": "Optional. The planed end date." +}, +"freeTrial": { +"description": "Optional. Whether the license config is for free trial.", +"type": "boolean" +}, +"geminiBundle": { +"description": "Output only. Whether the license config is for Gemini bundle.", +"readOnly": true, +"type": "boolean" +}, +"licenseCount": { +"description": "Required. Number of licenses purchased.", +"format": "int64", +"type": "string" +}, +"name": { +"description": "Immutable. Identifier. The fully qualified resource name of the license config. Format: `projects/{project}/locations/{location}/licenseConfigs/{license_config}`", +"type": "string" +}, +"startDate": { +"$ref": "GoogleTypeDate", +"description": "Required. The start date." +}, +"state": { +"description": "Output only. The state of the license config.", +"enum": [ +"STATE_UNSPECIFIED", +"ACTIVE", +"EXPIRED", +"NOT_STARTED", +"WITHDRAWN", +"DEACTIVATING" +], +"enumDescriptions": [ +"Default value. The license config does not exist.", +"The license config is effective and being used.", +"The license config has expired.", +"The license config has not started yet, and its start date is in the future.", +"This is when a sub license config has returned all its seats back to BillingAccountLicenseConfig that it belongs to. Similar to EXPIRED.", +"The license config is terminated earlier than the expiration date and it is deactivating. The customer will still have access in this state. It will be converted to EXPIRED after the deactivating period ends (14 days) or when the end date is reached, whichever comes first." +], +"readOnly": true, +"type": "string" +}, +"subscriptionTerm": { +"description": "Required. Subscription term.", +"enum": [ +"SUBSCRIPTION_TERM_UNSPECIFIED", +"SUBSCRIPTION_TERM_ONE_MONTH", +"SUBSCRIPTION_TERM_ONE_YEAR", +"SUBSCRIPTION_TERM_THREE_YEARS", +"SUBSCRIPTION_TERM_CUSTOM" +], +"enumDescriptions": [ +"Default value, do not use.", +"1 month.", +"1 year.", +"3 years.", +"Custom term. Must set the end_date." +], +"type": "string" +}, +"subscriptionTier": { +"description": "Required. Subscription tier information for the license config.", +"enum": [ +"SUBSCRIPTION_TIER_UNSPECIFIED", +"SUBSCRIPTION_TIER_SEARCH", +"SUBSCRIPTION_TIER_SEARCH_AND_ASSISTANT", +"SUBSCRIPTION_TIER_NOTEBOOK_LM", +"SUBSCRIPTION_TIER_FRONTLINE_WORKER", +"SUBSCRIPTION_TIER_AGENTSPACE_STARTER", +"SUBSCRIPTION_TIER_AGENTSPACE_BUSINESS", +"SUBSCRIPTION_TIER_ENTERPRISE", +"SUBSCRIPTION_TIER_ENTERPRISE_EMERGING", +"SUBSCRIPTION_TIER_EDU", +"SUBSCRIPTION_TIER_EDU_PRO", +"SUBSCRIPTION_TIER_EDU_EMERGING", +"SUBSCRIPTION_TIER_EDU_PRO_EMERGING", +"SUBSCRIPTION_TIER_FRONTLINE_STARTER" +], +"enumDescriptions": [ +"Default value.", +"Search tier. Search tier can access Vertex AI Search features and NotebookLM features.", +"Gemini Enterprise Plus tier.", +"NotebookLM tier. NotebookLM is a subscription tier can only access NotebookLM features.", +"Gemini Frontline worker tier.", +"Gemini Business Starter tier.", +"Gemini Business tier.", +"Gemini Enterprise Standard tier.", +"Gemini Enterprise Standard tier for emerging markets.", +"Gemini Enterprise EDU tier.", +"Gemini Enterprise EDU Pro tier.", +"Gemini Enterprise EDU tier for emerging market only.", +"Gemini Enterprise EDU Pro tier for emerging market.", +"Gemini Frontline Starter tier." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1LicenseConfigUsageStats": { +"description": "Stats about users' licenses.", +"id": "GoogleCloudDiscoveryengineV1LicenseConfigUsageStats", +"properties": { +"licenseConfig": { +"description": "Required. The LicenseConfig name.", +"type": "string" +}, +"usedLicenseCount": { +"description": "Required. The number of licenses used.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1ListAssistantsResponse": { +"description": "Response message for the AssistantService.ListAssistants method.", +"id": "GoogleCloudDiscoveryengineV1ListAssistantsResponse", +"properties": { +"assistants": { +"description": "All the customer's Assistants.", +"items": { +"$ref": "GoogleCloudDiscoveryengineV1Assistant" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A token that can be sent as ListAssistantsRequest.page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1ListCmekConfigsResponse": { +"description": "Response message for CmekConfigService.ListCmekConfigs method.", +"id": "GoogleCloudDiscoveryengineV1ListCmekConfigsResponse", +"properties": { +"cmekConfigs": { +"description": "All the customer's CmekConfigs.", +"items": { +"$ref": "GoogleCloudDiscoveryengineV1CmekConfig" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1ListControlsResponse": { +"description": "Response for ListControls method.", +"id": "GoogleCloudDiscoveryengineV1ListControlsResponse", +"properties": { +"controls": { +"description": "All the Controls for a given data store.", +"items": { +"$ref": "GoogleCloudDiscoveryengineV1Control" +}, +"type": "array" +}, +"nextPageToken": { +"description": "Pagination token, if not returned indicates the last page.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1ListConversationsResponse": { +"description": "Response for ListConversations method.", +"id": "GoogleCloudDiscoveryengineV1ListConversationsResponse", +"properties": { +"conversations": { +"description": "All the Conversations for a given data store.", +"items": { +"$ref": "GoogleCloudDiscoveryengineV1Conversation" +}, +"type": "array" +}, +"nextPageToken": { +"description": "Pagination token, if not returned indicates the last page.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1ListCustomModelsResponse": { +"description": "Response message for SearchTuningService.ListCustomModels method.", +"id": "GoogleCloudDiscoveryengineV1ListCustomModelsResponse", +"properties": { +"models": { +"description": "List of custom tuning models.", +"items": { +"$ref": "GoogleCloudDiscoveryengineV1CustomTuningModel" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1ListDataStoresResponse": { +"description": "Response message for DataStoreService.ListDataStores method.", +"id": "GoogleCloudDiscoveryengineV1ListDataStoresResponse", +"properties": { +"dataStores": { +"description": "All the customer's DataStores.", +"items": { +"$ref": "GoogleCloudDiscoveryengineV1DataStore" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A token that can be sent as ListDataStoresRequest.page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1ListDocumentsResponse": { +"description": "Response message for DocumentService.ListDocuments method.", +"id": "GoogleCloudDiscoveryengineV1ListDocumentsResponse", +"properties": { +"documents": { +"description": "The Documents.", +"items": { +"$ref": "GoogleCloudDiscoveryengineV1Document" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A token that can be sent as ListDocumentsRequest.page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1ListEnginesResponse": { +"description": "Response message for EngineService.ListEngines method.", +"id": "GoogleCloudDiscoveryengineV1ListEnginesResponse", +"properties": { +"engines": { +"description": "All the customer's Engines.", +"items": { +"$ref": "GoogleCloudDiscoveryengineV1Engine" +}, +"type": "array" +}, +"nextPageToken": { +"description": "Not supported.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1ListIdentityMappingStoresResponse": { +"description": "Response message for IdentityMappingStoreService.ListIdentityMappingStores", +"id": "GoogleCloudDiscoveryengineV1ListIdentityMappingStoresResponse", +"properties": { +"identityMappingStores": { +"description": "The Identity Mapping Stores.", +"items": { +"$ref": "GoogleCloudDiscoveryengineV1IdentityMappingStore" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A token that can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1ListIdentityMappingsResponse": { +"description": "Response message for IdentityMappingStoreService.ListIdentityMappings", +"id": "GoogleCloudDiscoveryengineV1ListIdentityMappingsResponse", +"properties": { +"identityMappingEntries": { +"description": "The Identity Mapping Entries.", +"items": { +"$ref": "GoogleCloudDiscoveryengineV1IdentityMappingEntry" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A token that can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1ListLicenseConfigsUsageStatsResponse": { +"description": "Response message for UserLicenseService.ListLicenseConfigsUsageStats method.", +"id": "GoogleCloudDiscoveryengineV1ListLicenseConfigsUsageStatsResponse", +"properties": { +"licenseConfigUsageStats": { +"description": "All the customer's LicenseConfigUsageStats.", +"items": { +"$ref": "GoogleCloudDiscoveryengineV1LicenseConfigUsageStats" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1ListSchemasResponse": { +"description": "Response message for SchemaService.ListSchemas method.", +"id": "GoogleCloudDiscoveryengineV1ListSchemasResponse", +"properties": { +"nextPageToken": { +"description": "A token that can be sent as ListSchemasRequest.page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.", +"type": "string" +}, +"schemas": { +"description": "The Schemas.", +"items": { +"$ref": "GoogleCloudDiscoveryengineV1Schema" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1ListServingConfigsResponse": { +"description": "Response for ListServingConfigs method.", +"id": "GoogleCloudDiscoveryengineV1ListServingConfigsResponse", +"properties": { +"nextPageToken": { +"description": "Pagination token, if not returned indicates the last page.", +"type": "string" +}, +"servingConfigs": { +"description": "All the ServingConfigs for a given dataStore.", +"items": { +"$ref": "GoogleCloudDiscoveryengineV1ServingConfig" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1ListSessionsResponse": { +"description": "Response for ListSessions method.", +"id": "GoogleCloudDiscoveryengineV1ListSessionsResponse", +"properties": { +"nextPageToken": { +"description": "Pagination token, if not returned indicates the last page.", +"type": "string" +}, +"sessions": { +"description": "All the Sessions for a given data store.", +"items": { +"$ref": "GoogleCloudDiscoveryengineV1Session" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1ListTargetSitesResponse": { +"description": "Response message for SiteSearchEngineService.ListTargetSites method.", +"id": "GoogleCloudDiscoveryengineV1ListTargetSitesResponse", +"properties": { +"nextPageToken": { +"description": "A token that can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.", +"type": "string" +}, +"targetSites": { +"description": "List of TargetSites.", +"items": { +"$ref": "GoogleCloudDiscoveryengineV1TargetSite" +}, +"type": "array" +}, +"totalSize": { +"description": "The total number of items matching the request. This will always be populated in the response.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1ListUserLicensesResponse": { +"description": "Response message for UserLicenseService.ListUserLicenses.", +"id": "GoogleCloudDiscoveryengineV1ListUserLicensesResponse", +"properties": { +"nextPageToken": { +"description": "A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.", +"type": "string" +}, +"userLicenses": { +"description": "All the customer's UserLicenses.", +"items": { +"$ref": "GoogleCloudDiscoveryengineV1UserLicense" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1MediaInfo": { +"description": "Media-specific user event information.", +"id": "GoogleCloudDiscoveryengineV1MediaInfo", +"properties": { +"mediaProgressDuration": { +"description": "The media progress time in seconds, if applicable. For example, if the end user has finished 90 seconds of a playback video, then MediaInfo.media_progress_duration.seconds should be set to 90.", +"format": "google-duration", +"type": "string" +}, +"mediaProgressPercentage": { +"description": "Media progress should be computed using only the media_progress_duration relative to the media total length. This value must be between `[0, 1.0]` inclusive. If this is not a playback or the progress cannot be computed (e.g. ongoing livestream), this field should be unset.", +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1NaturalLanguageQueryUnderstandingConfig": { +"description": "Configuration for Natural Language Query Understanding.", +"id": "GoogleCloudDiscoveryengineV1NaturalLanguageQueryUnderstandingConfig", +"properties": { +"mode": { +"description": "Mode of Natural Language Query Understanding. If this field is unset, the behavior defaults to NaturalLanguageQueryUnderstandingConfig.Mode.DISABLED.", +"enum": [ +"MODE_UNSPECIFIED", +"DISABLED", +"ENABLED" +], +"enumDescriptions": [ +"Default value.", +"Natural Language Query Understanding is disabled.", +"Natural Language Query Understanding is enabled." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1ObservabilityConfig": { +"description": "Observability config for a resource.", +"id": "GoogleCloudDiscoveryengineV1ObservabilityConfig", +"properties": { +"observabilityEnabled": { +"description": "Optional. Enables observability. If false, all other flags are ignored.", +"type": "boolean" +}, +"sensitiveLoggingEnabled": { +"description": "Optional. Enables sensitive logging. Sensitive logging includes customer core content (e.g. prompts, responses). If false, will sanitize all sensitive fields.", +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1PageInfo": { +"description": "Detailed page information.", +"id": "GoogleCloudDiscoveryengineV1PageInfo", +"properties": { +"pageCategory": { +"description": "The most specific category associated with a category page. To represent full path of category, use '>' sign to separate different hierarchies. If '>' is part of the category name, replace it with other character(s). Category pages include special pages such as sales or promotions. For instance, a special sale page may have the category hierarchy: `\"pageCategory\" : \"Sales > 2017 Black Friday Deals\"`. Required for `view-category-page` events. Other event types should not set this field. Otherwise, an `INVALID_ARGUMENT` error is returned.", +"type": "string" +}, +"pageviewId": { +"description": "A unique ID of a web page view. This should be kept the same for all user events triggered from the same pageview. For example, an item detail page view could trigger multiple events as the user is browsing the page. The `pageview_id` property should be kept the same for all these events so that they can be grouped together properly. When using the client side event reporting with JavaScript pixel and Google Tag Manager, this value is filled in automatically.", +"type": "string" +}, +"referrerUri": { +"description": "The referrer URL of the current page. When using the client side event reporting with JavaScript pixel and Google Tag Manager, this value is filled in automatically. However, some browser privacy restrictions may cause this field to be empty.", +"type": "string" +}, +"uri": { +"description": "Complete URL (window.location.href) of the user's current page. When using the client side event reporting with JavaScript pixel and Google Tag Manager, this value is filled in automatically. Maximum length 5,000 characters.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1PanelInfo": { +"description": "Detailed panel information associated with a user event.", +"id": "GoogleCloudDiscoveryengineV1PanelInfo", +"properties": { +"displayName": { +"description": "The display name of the panel.", +"type": "string" +}, +"documents": { +"description": "Optional. The document IDs associated with this panel.", +"items": { +"$ref": "GoogleCloudDiscoveryengineV1DocumentInfo" +}, +"type": "array" +}, +"panelId": { +"description": "Required. The panel ID.", +"type": "string" +}, +"panelPosition": { +"description": "The ordered position of the panel, if shown to the user with other panels. If set, then total_panels must also be set.", +"format": "int32", +"type": "integer" +}, +"totalPanels": { +"description": "The total number of panels, including this one, shown to the user. Must be set if panel_position is set.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1Principal": { +"description": "Principal identifier of a user or a group.", +"id": "GoogleCloudDiscoveryengineV1Principal", +"properties": { +"externalEntityId": { +"description": "For 3P application identities which are not present in the customer identity provider.", +"type": "string" +}, +"groupId": { +"description": "Group identifier. For Google Workspace user account, group_id should be the google workspace group email. For non-google identity provider user account, group_id is the mapped group identifier configured during the workforcepool config.", +"type": "string" +}, +"userId": { +"description": "User identifier. For Google Workspace user account, user_id should be the google workspace user email. For non-google identity provider user account, user_id is the mapped user identifier configured during the workforcepool config.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1Project": { +"description": "Metadata and configurations for a Google Cloud project in the service.", +"id": "GoogleCloudDiscoveryengineV1Project", +"properties": { +"configurableBillingStatus": { +"$ref": "GoogleCloudDiscoveryengineV1ProjectConfigurableBillingStatus", +"description": "Output only. The current status of the project's configurable billing.", +"readOnly": true +}, +"createTime": { +"description": "Output only. The timestamp when this project is created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"customerProvidedConfig": { +"$ref": "GoogleCloudDiscoveryengineV1ProjectCustomerProvidedConfig", +"description": "Optional. Customer provided configurations." +}, +"name": { +"description": "Output only. Full resource name of the project, for example `projects/{project}`. Note that when making requests, project number and project id are both acceptable, but the server will always respond in project number.", +"readOnly": true, +"type": "string" +}, +"provisionCompletionTime": { +"description": "Output only. The timestamp when this project is successfully provisioned. Empty value means this project is still provisioning and is not ready for use.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"serviceTermsMap": { +"additionalProperties": { +"$ref": "GoogleCloudDiscoveryengineV1ProjectServiceTerms" +}, +"description": "Output only. A map of terms of services. The key is the `id` of ServiceTerms.", +"readOnly": true, +"type": "object" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1ProjectConfigurableBillingStatus": { +"description": "Represents the currently effective configurable billing parameters. These values are derived from the customer's subscription history stored internally and reflect the thresholds actively being used for billing purposes at the time of the GetProject call. This includes the start_time of the subscription and may differ from the values in `customer_provided_config` due to billing rules (e.g., scale-downs taking effect only at the start of a new month).", +"id": "GoogleCloudDiscoveryengineV1ProjectConfigurableBillingStatus", +"properties": { +"effectiveIndexingCoreThreshold": { +"description": "Optional. The currently effective Indexing Core threshold. This is the threshold against which Indexing Core usage is compared for overage calculations.", +"format": "int64", +"type": "string" +}, +"effectiveSearchQpmThreshold": { +"description": "Optional. The currently effective Search QPM threshold in queries per minute. This is the threshold against which QPM usage is compared for overage calculations.", +"format": "int64", +"type": "string" +}, +"indexingCoreThresholdNextUpdateTime": { +"description": "Output only. The earliest next update time for the indexing core subscription threshold. This is based on the next_update_time returned by the underlying Cloud Billing Subscription V3 API. This field is populated only if an update indexing core subscription threshold request is succeeded.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"searchQpmThresholdNextUpdateTime": { +"description": "Output only. The earliest next update time for the search QPM subscription threshold. This is based on the next_update_time returned by the underlying Cloud Billing Subscription V3 API. This field is populated only if an update QPM subscription threshold request is succeeded.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"startTime": { +"description": "Optional. The start time of the currently active billing subscription.", +"format": "google-datetime", +"type": "string" +}, +"terminateTime": { +"description": "Output only. The latest terminate effective time of search qpm and indexing core subscriptions.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1ProjectCustomerProvidedConfig": { +"description": "Customer provided configurations.", +"id": "GoogleCloudDiscoveryengineV1ProjectCustomerProvidedConfig", +"properties": { +"notebooklmConfig": { +"$ref": "GoogleCloudDiscoveryengineV1ProjectCustomerProvidedConfigNotebooklmConfig", +"description": "Optional. Configuration for NotebookLM settings." +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1ProjectCustomerProvidedConfigNotebooklmConfig": { +"description": "Configuration for NotebookLM.", +"id": "GoogleCloudDiscoveryengineV1ProjectCustomerProvidedConfigNotebooklmConfig", +"properties": { +"dataProtectionPolicy": { +"$ref": "GoogleCloudDiscoveryengineV1ProjectCustomerProvidedConfigNotebooklmConfigDataProtectionPolicy", +"description": "Optional. Specifies the data protection policy for NotebookLM." +}, +"modelArmorConfig": { +"$ref": "GoogleCloudDiscoveryengineV1ProjectCustomerProvidedConfigNotebooklmConfigModelArmorConfig", +"description": "Model Armor configuration to be used for sanitizing user prompts and LLM responses." +}, +"observabilityConfig": { +"$ref": "GoogleCloudDiscoveryengineV1ObservabilityConfig", +"description": "Optional. Observability config for NotebookLM." +}, +"optOutNotebookSharing": { +"description": "Optional. Whether to disable the notebook sharing feature for the project. Default to false if not specified.", +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1ProjectCustomerProvidedConfigNotebooklmConfigDataProtectionPolicy": { +"description": "Data protection policy config for NotebookLM.", +"id": "GoogleCloudDiscoveryengineV1ProjectCustomerProvidedConfigNotebooklmConfigDataProtectionPolicy", +"properties": { +"sensitiveDataProtectionPolicy": { +"$ref": "GoogleCloudDiscoveryengineV1ProjectCustomerProvidedConfigNotebooklmConfigDataProtectionPolicySensitiveDataProtectionPolicy", +"description": "Optional. The sensitive data protection policy." +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1ProjectCustomerProvidedConfigNotebooklmConfigDataProtectionPolicySensitiveDataProtectionPolicy": { +"description": "Specifies a Sensitive Data Protection (https://cloud.google.com/sensitive-data-protection/docs/sensitive-data-protection-overview) policy.", +"id": "GoogleCloudDiscoveryengineV1ProjectCustomerProvidedConfigNotebooklmConfigDataProtectionPolicySensitiveDataProtectionPolicy", +"properties": { +"policy": { +"description": "Optional. The Sensitive Data Protection policy resource name.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1ProjectCustomerProvidedConfigNotebooklmConfigModelArmorConfig": { +"description": "Configuration for customer defined Model Armor templates to be used for sanitizing user prompts and LLM responses.", +"id": "GoogleCloudDiscoveryengineV1ProjectCustomerProvidedConfigNotebooklmConfigModelArmorConfig", +"properties": { +"responseTemplate": { +"description": "Optional. The resource name of the Model Armor Template for sanitizing LLM responses. Format: projects/{project}/locations/{location}/templates/{template_id} If not specified, no sanitization will be applied to the LLM response.", +"type": "string" +}, +"userPromptTemplate": { +"description": "Optional. The resource name of the Model Armor Template for sanitizing user prompts. Format: projects/{project}/locations/{location}/templates/{template_id} If not specified, no sanitization will be applied to the user prompt.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1ProjectServiceTerms": { +"description": "Metadata about the terms of service.", +"id": "GoogleCloudDiscoveryengineV1ProjectServiceTerms", +"properties": { +"acceptTime": { +"description": "The last time when the project agreed to the terms of service.", +"format": "google-datetime", +"type": "string" +}, +"declineTime": { +"description": "The last time when the project declined or revoked the agreement to terms of service.", +"format": "google-datetime", +"type": "string" +}, +"id": { +"description": "The unique identifier of this terms of service. Available terms: * `GA_DATA_USE_TERMS`: [Terms for data use](https://cloud.google.com/retail/data-use-terms). When using this as `id`, the acceptable version to provide is `2022-11-23`.", +"type": "string" +}, +"state": { +"description": "Whether the project has accepted/rejected the service terms or it is still pending.", +"enum": [ +"STATE_UNSPECIFIED", +"TERMS_ACCEPTED", +"TERMS_PENDING", +"TERMS_DECLINED" +], +"enumDescriptions": [ +"The default value of the enum. This value is not actually used.", +"The project has given consent to the terms of service.", +"The project is pending to review and accept the terms of service.", +"The project has declined or revoked the agreement to terms of service." +], +"type": "string" +}, +"version": { +"description": "The version string of the terms of service. For acceptable values, see the comments for id above.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1ProvisionProjectMetadata": { +"description": "Metadata associated with a project provision operation.", +"id": "GoogleCloudDiscoveryengineV1ProvisionProjectMetadata", +"properties": {}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1ProvisionProjectRequest": { +"description": "Request for ProjectService.ProvisionProject method.", +"id": "GoogleCloudDiscoveryengineV1ProvisionProjectRequest", +"properties": { +"acceptDataUseTerms": { +"description": "Required. Set to `true` to specify that caller has read and would like to give consent to the [Terms for data use](https://cloud.google.com/retail/data-use-terms).", +"type": "boolean" +}, +"dataUseTermsVersion": { +"description": "Required. The version of the [Terms for data use](https://cloud.google.com/retail/data-use-terms) that caller has read and would like to give consent to. Acceptable version is `2022-11-23`, and this may change over time.", +"type": "string" +}, +"saasParams": { +"$ref": "GoogleCloudDiscoveryengineV1ProvisionProjectRequestSaasParams", +"description": "Optional. Parameters for Agentspace." +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1ProvisionProjectRequestSaasParams": { +"description": "Parameters for Agentspace.", +"id": "GoogleCloudDiscoveryengineV1ProvisionProjectRequestSaasParams", +"properties": { +"acceptBizQos": { +"description": "Optional. Set to `true` to specify that caller has read and would like to give consent to the [Terms for Agent Space quality of service].", +"type": "boolean" +}, +"isBiz": { +"description": "Optional. Indicates if the current request is for Biz edition (= true) or not (= false).", +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1PurgeCompletionSuggestionsMetadata": { +"description": "Metadata related to the progress of the PurgeCompletionSuggestions operation. This is returned by the google.longrunning.Operation.metadata field.", +"id": "GoogleCloudDiscoveryengineV1PurgeCompletionSuggestionsMetadata", +"properties": { +"createTime": { +"description": "Operation create time.", +"format": "google-datetime", +"type": "string" +}, +"updateTime": { +"description": "Operation last update time. If the operation is done, this is also the finish time.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1PurgeCompletionSuggestionsRequest": { +"description": "Request message for CompletionService.PurgeCompletionSuggestions method.", +"id": "GoogleCloudDiscoveryengineV1PurgeCompletionSuggestionsRequest", +"properties": {}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1PurgeCompletionSuggestionsResponse": { +"description": "Response message for CompletionService.PurgeCompletionSuggestions method.", +"id": "GoogleCloudDiscoveryengineV1PurgeCompletionSuggestionsResponse", +"properties": { +"errorSamples": { +"description": "A sample of errors encountered while processing the request.", +"items": { +"$ref": "GoogleRpcStatus" +}, +"type": "array" +}, +"purgeSucceeded": { +"description": "Whether the completion suggestions were successfully purged.", +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1PurgeDocumentsMetadata": { +"description": "Metadata related to the progress of the PurgeDocuments operation. This will be returned by the google.longrunning.Operation.metadata field.", +"id": "GoogleCloudDiscoveryengineV1PurgeDocumentsMetadata", +"properties": { +"createTime": { +"description": "Operation create time.", +"format": "google-datetime", +"type": "string" +}, +"failureCount": { +"description": "Count of entries that encountered errors while processing.", +"format": "int64", +"type": "string" +}, +"ignoredCount": { +"description": "Count of entries that were ignored as entries were not found.", +"format": "int64", +"type": "string" +}, +"successCount": { +"description": "Count of entries that were deleted successfully.", +"format": "int64", +"type": "string" +}, +"updateTime": { +"description": "Operation last update time. If the operation is done, this is also the finish time.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1PurgeDocumentsRequest": { +"description": "Request message for DocumentService.PurgeDocuments method.", +"id": "GoogleCloudDiscoveryengineV1PurgeDocumentsRequest", +"properties": { +"errorConfig": { +"$ref": "GoogleCloudDiscoveryengineV1PurgeErrorConfig", +"description": "The desired location of errors incurred during the purge." +}, +"filter": { +"description": "Required. Filter matching documents to purge. Only currently supported value is `*` (all items).", +"type": "string" +}, +"force": { +"description": "Actually performs the purge. If `force` is set to false, return the expected purge count without deleting any documents.", +"type": "boolean" +}, +"gcsSource": { +"$ref": "GoogleCloudDiscoveryengineV1GcsSource", +"description": "Cloud Storage location for the input content. Supported `data_schema`: * `document_id`: One valid Document.id per line." +}, +"inlineSource": { +"$ref": "GoogleCloudDiscoveryengineV1PurgeDocumentsRequestInlineSource", +"description": "Inline source for the input content for purge." +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1PurgeDocumentsRequestInlineSource": { +"description": "The inline source for the input config for DocumentService.PurgeDocuments method.", +"id": "GoogleCloudDiscoveryengineV1PurgeDocumentsRequestInlineSource", +"properties": { +"documents": { +"description": "Required. A list of full resource name of documents to purge. In the format `projects/*/locations/*/collections/*/dataStores/*/branches/*/documents/*`. Recommended max of 100 items.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1PurgeDocumentsResponse": { +"description": "Response message for DocumentService.PurgeDocuments method. If the long running operation is successfully done, then this message is returned by the google.longrunning.Operations.response field.", +"id": "GoogleCloudDiscoveryengineV1PurgeDocumentsResponse", +"properties": { +"purgeCount": { +"description": "The total count of documents purged as a result of the operation.", +"format": "int64", +"type": "string" +}, +"purgeSample": { +"description": "A sample of document names that will be deleted. Only populated if `force` is set to false. A max of 100 names will be returned and the names are chosen at random.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1PurgeErrorConfig": { +"description": "Configuration of destination for Purge related errors.", +"id": "GoogleCloudDiscoveryengineV1PurgeErrorConfig", +"properties": { +"gcsPrefix": { +"description": "Cloud Storage prefix for purge errors. This must be an empty, existing Cloud Storage directory. Purge errors are written to sharded files in this directory, one per line, as a JSON-encoded `google.rpc.Status` message.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1PurgeIdentityMappingsRequest": { +"description": "Request message for IdentityMappingStoreService.PurgeIdentityMappings", +"id": "GoogleCloudDiscoveryengineV1PurgeIdentityMappingsRequest", +"properties": { +"filter": { +"description": "Filter matching identity mappings to purge. The eligible field for filtering is: * `update_time`: in ISO 8601 \"zulu\" format. * `external_id` Examples: * Deleting all identity mappings updated in a time range: `update_time > \"2012-04-23T18:25:43.511Z\" AND update_time < \"2012-04-23T18:30:43.511Z\"` * Deleting all identity mappings for a given external_id: `external_id = \"id1\"` * Deleting all identity mappings inside an identity mapping store: `*` The filtering fields are assumed to have an implicit AND. Should not be used with source. An error will be thrown, if both are provided.", +"type": "string" +}, +"force": { +"description": "Actually performs the purge. If `force` is set to false, return the expected purge count without deleting any identity mappings. This field is only supported for purge with filter. For input source this field is ignored and data will be purged regardless of the value of this field.", +"type": "boolean" +}, +"inlineSource": { +"$ref": "GoogleCloudDiscoveryengineV1PurgeIdentityMappingsRequestInlineSource", +"description": "The inline source to purge identity mapping entries from." +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1PurgeIdentityMappingsRequestInlineSource": { +"description": "The inline source to purge identity mapping entries from.", +"id": "GoogleCloudDiscoveryengineV1PurgeIdentityMappingsRequestInlineSource", +"properties": { +"identityMappingEntries": { +"description": "A maximum of 10000 entries can be purged at one time", +"items": { +"$ref": "GoogleCloudDiscoveryengineV1IdentityMappingEntry" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1PurgeSuggestionDenyListEntriesMetadata": { +"description": "Metadata related to the progress of the PurgeSuggestionDenyListEntries operation. This is returned by the google.longrunning.Operation.metadata field.", +"id": "GoogleCloudDiscoveryengineV1PurgeSuggestionDenyListEntriesMetadata", +"properties": { +"createTime": { +"description": "Operation create time.", +"format": "google-datetime", +"type": "string" +}, +"updateTime": { +"description": "Operation last update time. If the operation is done, this is also the finish time.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1PurgeSuggestionDenyListEntriesRequest": { +"description": "Request message for CompletionService.PurgeSuggestionDenyListEntries method.", +"id": "GoogleCloudDiscoveryengineV1PurgeSuggestionDenyListEntriesRequest", +"properties": {}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1PurgeSuggestionDenyListEntriesResponse": { +"description": "Response message for CompletionService.PurgeSuggestionDenyListEntries method.", +"id": "GoogleCloudDiscoveryengineV1PurgeSuggestionDenyListEntriesResponse", +"properties": { +"errorSamples": { +"description": "A sample of errors encountered while processing the request.", +"items": { +"$ref": "GoogleRpcStatus" +}, +"type": "array" +}, +"purgeCount": { +"description": "Number of suggestion deny list entries purged.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1PurgeUserEventsRequest": { +"description": "Request message for PurgeUserEvents method.", +"id": "GoogleCloudDiscoveryengineV1PurgeUserEventsRequest", +"properties": { +"filter": { +"description": "Required. The filter string to specify the events to be deleted with a length limit of 5,000 characters. The eligible fields for filtering are: * `eventType`: Double quoted UserEvent.event_type string. * `eventTime`: in ISO 8601 \"zulu\" format. * `userPseudoId`: Double quoted string. Specifying this will delete all events associated with a visitor. * `userId`: Double quoted string. Specifying this will delete all events associated with a user. Note: This API only supports purging a max range of 30 days. Examples: * Deleting all events in a time range: `eventTime > \"2012-04-23T18:25:43.511Z\" eventTime < \"2012-04-23T18:30:43.511Z\"` * Deleting specific eventType in a time range: `eventTime > \"2012-04-23T18:25:43.511Z\" eventTime < \"2012-04-23T18:30:43.511Z\" eventType = \"search\"` * Deleting all events for a specific visitor in a time range: `eventTime > \"2012-04-23T18:25:43.511Z\" eventTime < \"2012-04-23T18:30:43.511Z\" userPseudoId = \"visitor1024\"` * Deleting the past 30 days of events inside a DataStore: `*` The filtering fields are assumed to have an implicit AND.", +"type": "string" +}, +"force": { +"description": "The `force` field is currently not supported. Purge user event requests will permanently delete all purgeable events. Once the development is complete: If `force` is set to false, the method will return the expected purge count without deleting any user events. This field will default to false if not included in the request.", +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1Query": { +"description": "Defines a user inputed query.", +"id": "GoogleCloudDiscoveryengineV1Query", +"properties": { +"queryId": { +"description": "Output only. Unique Id for the query.", +"readOnly": true, +"type": "string" +}, +"text": { +"description": "Plain text.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1RankRequest": { +"description": "Request message for RankService.Rank method.", +"id": "GoogleCloudDiscoveryengineV1RankRequest", +"properties": { +"ignoreRecordDetailsInResponse": { +"description": "If true, the response will contain only record ID and score. By default, it is false, the response will contain record details.", +"type": "boolean" +}, +"model": { +"description": "The identifier of the model to use. It is one of: * `semantic-ranker-512@latest`: Semantic ranking model with maximum input token size 512. It is set to `semantic-ranker-512@latest` by default if unspecified.", +"type": "string" +}, +"query": { +"description": "The query to use.", +"type": "string" +}, +"records": { +"description": "Required. A list of records to rank.", +"items": { +"$ref": "GoogleCloudDiscoveryengineV1RankingRecord" +}, +"type": "array" +}, +"topN": { +"description": "The number of results to return. If this is unset or no bigger than zero, returns all results.", +"format": "int32", +"type": "integer" +}, +"userLabels": { +"additionalProperties": { +"type": "string" +}, +"description": "The user labels applied to a resource must meet the following requirements: * Each resource can have multiple labels, up to a maximum of 64. * Each label must be a key-value pair. * Keys have a minimum length of 1 character and a maximum length of 63 characters and cannot be empty. Values can be empty and have a maximum length of 63 characters. * Keys and values can contain only lowercase letters, numeric characters, underscores, and dashes. All characters must use UTF-8 encoding, and international characters are allowed. * The key portion of a label must be unique. However, you can use the same key with multiple resources. * Keys must start with a lowercase letter or international character. See [Google Cloud Document](https://cloud.google.com/resource-manager/docs/creating-managing-labels#requirements) for more details.", +"type": "object" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1RankResponse": { +"description": "Response message for RankService.Rank method.", +"id": "GoogleCloudDiscoveryengineV1RankResponse", +"properties": { +"records": { +"description": "A list of records sorted by descending score.", +"items": { +"$ref": "GoogleCloudDiscoveryengineV1RankingRecord" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1RankingRecord": { +"description": "Record message for RankService.Rank method.", +"id": "GoogleCloudDiscoveryengineV1RankingRecord", +"properties": { +"content": { +"description": "The content of the record. Empty by default. At least one of title or content should be set otherwise an INVALID_ARGUMENT error is thrown.", +"type": "string" +}, +"id": { +"description": "The unique ID to represent the record.", +"type": "string" +}, +"score": { +"description": "The score of this record based on the given query and selected model. The score will be rounded to 2 decimal places. If the score is close to 0, it will be rounded to 0.0001 to avoid returning unset.", +"format": "float", +"type": "number" +}, +"title": { +"description": "The title of the record. Empty by default. At least one of title or content should be set otherwise an INVALID_ARGUMENT error is thrown.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1RecommendRequest": { +"description": "Request message for Recommend method.", +"id": "GoogleCloudDiscoveryengineV1RecommendRequest", +"properties": { +"filter": { +"description": "Filter for restricting recommendation results with a length limit of 5,000 characters. Currently, only filter expressions on the `filter_tags` attribute is supported. Examples: * `(filter_tags: ANY(\"Red\", \"Blue\") OR filter_tags: ANY(\"Hot\", \"Cold\"))` * `(filter_tags: ANY(\"Red\", \"Blue\")) AND NOT (filter_tags: ANY(\"Green\"))` If `attributeFilteringSyntax` is set to true under the `params` field, then attribute-based expressions are expected instead of the above described tag-based syntax. Examples: * (language: ANY(\"en\", \"es\")) AND NOT (categories: ANY(\"Movie\")) * (available: true) AND (language: ANY(\"en\", \"es\")) OR (categories: ANY(\"Movie\")) If your filter blocks all results, the API returns generic (unfiltered) popular Documents. If you only want results strictly matching the filters, set `strictFiltering` to `true` in RecommendRequest.params to receive empty results instead. Note that the API never returns Documents with `storageStatus` as `EXPIRED` or `DELETED` regardless of filter choices.", +"type": "string" +}, +"pageSize": { +"description": "Maximum number of results to return. Set this property to the number of recommendation results needed. If zero, the service chooses a reasonable default. The maximum allowed value is 100. Values above 100 are set to 100.", +"format": "int32", +"type": "integer" +}, +"params": { +"additionalProperties": { +"type": "any" +}, +"description": "Additional domain specific parameters for the recommendations. Allowed values: * `returnDocument`: Boolean. If set to `true`, the associated Document object is returned in RecommendResponse.RecommendationResult.document. * `returnScore`: Boolean. If set to true, the recommendation score corresponding to each returned Document is set in RecommendResponse.RecommendationResult.metadata. The given score indicates the probability of a Document conversion given the user's context and history. * `strictFiltering`: Boolean. True by default. If set to `false`, the service returns generic (unfiltered) popular Documents instead of empty if your filter blocks all recommendation results. * `diversityLevel`: String. Default empty. If set to be non-empty, then it needs to be one of: * `no-diversity` * `low-diversity` * `medium-diversity` * `high-diversity` * `auto-diversity` This gives request-level control and adjusts recommendation results based on Document category. * `attributeFilteringSyntax`: Boolean. False by default. If set to true, the `filter` field is interpreted according to the new, attribute-based syntax.", +"type": "object" +}, +"userEvent": { +"$ref": "GoogleCloudDiscoveryengineV1UserEvent", +"description": "Required. Context about the user, what they are looking at and what action they took to trigger the Recommend request. Note that this user event detail won't be ingested to userEvent logs. Thus, a separate userEvent write request is required for event logging. Don't set UserEvent.user_pseudo_id or UserEvent.user_info.user_id to the same fixed ID for different users. If you are trying to receive non-personalized recommendations (not recommended; this can negatively impact model performance), instead set UserEvent.user_pseudo_id to a random unique ID and leave UserEvent.user_info.user_id unset." +}, +"userLabels": { +"additionalProperties": { +"type": "string" +}, +"description": "The user labels applied to a resource must meet the following requirements: * Each resource can have multiple labels, up to a maximum of 64. * Each label must be a key-value pair. * Keys have a minimum length of 1 character and a maximum length of 63 characters and cannot be empty. Values can be empty and have a maximum length of 63 characters. * Keys and values can contain only lowercase letters, numeric characters, underscores, and dashes. All characters must use UTF-8 encoding, and international characters are allowed. * The key portion of a label must be unique. However, you can use the same key with multiple resources. * Keys must start with a lowercase letter or international character. See [Requirements for labels](https://cloud.google.com/resource-manager/docs/creating-managing-labels#requirements) for more details.", +"type": "object" +}, +"validateOnly": { +"description": "Use validate only mode for this recommendation query. If set to `true`, a fake model is used that returns arbitrary Document IDs. Note that the validate only mode should only be used for testing the API, or if the model is not ready.", +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1RecommendResponse": { +"description": "Response message for Recommend method.", +"id": "GoogleCloudDiscoveryengineV1RecommendResponse", +"properties": { +"attributionToken": { +"description": "A unique attribution token. This should be included in the UserEvent logs resulting from this recommendation, which enables accurate attribution of recommendation model performance.", +"type": "string" +}, +"missingIds": { +"description": "IDs of documents in the request that were missing from the default Branch associated with the requested ServingConfig.", +"items": { +"type": "string" +}, +"type": "array" +}, +"results": { +"description": "A list of recommended Documents. The order represents the ranking (from the most relevant Document to the least).", +"items": { +"$ref": "GoogleCloudDiscoveryengineV1RecommendResponseRecommendationResult" +}, +"type": "array" +}, +"validateOnly": { +"description": "True if RecommendRequest.validate_only was set.", +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1RecommendResponseRecommendationResult": { +"description": "RecommendationResult represents a generic recommendation result with associated metadata.", +"id": "GoogleCloudDiscoveryengineV1RecommendResponseRecommendationResult", +"properties": { +"document": { +"$ref": "GoogleCloudDiscoveryengineV1Document", +"description": "Set if `returnDocument` is set to true in RecommendRequest.params." +}, +"id": { +"description": "Resource ID of the recommended Document.", +"type": "string" +}, +"metadata": { +"additionalProperties": { +"type": "any" +}, +"description": "Additional Document metadata or annotations. Possible values: * `score`: Recommendation score in double value. Is set if `returnScore` is set to true in RecommendRequest.params.", +"type": "object" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1RecrawlUrisRequest": { +"description": "Request message for SiteSearchEngineService.RecrawlUris method.", +"id": "GoogleCloudDiscoveryengineV1RecrawlUrisRequest", +"properties": { +"siteCredential": { +"description": "Optional. Credential id to use for crawling.", +"type": "string" +}, +"uris": { +"description": "Required. List of URIs to crawl. At most 10K URIs are supported, otherwise an INVALID_ARGUMENT error is thrown. Each URI should match at least one TargetSite in `site_search_engine`.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1Reply": { +"description": "Defines a reply message to user.", +"id": "GoogleCloudDiscoveryengineV1Reply", +"properties": { +"summary": { +"$ref": "GoogleCloudDiscoveryengineV1SearchResponseSummary", +"description": "Summary based on search results." +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1SafetyRating": { +"description": "Safety rating corresponding to the generated content.", +"id": "GoogleCloudDiscoveryengineV1SafetyRating", +"properties": { +"blocked": { +"description": "Output only. Indicates whether the content was filtered out because of this rating.", +"readOnly": true, +"type": "boolean" +}, +"category": { +"description": "Output only. Harm category.", +"enum": [ +"HARM_CATEGORY_UNSPECIFIED", +"HARM_CATEGORY_HATE_SPEECH", +"HARM_CATEGORY_DANGEROUS_CONTENT", +"HARM_CATEGORY_HARASSMENT", +"HARM_CATEGORY_SEXUALLY_EXPLICIT", +"HARM_CATEGORY_CIVIC_INTEGRITY" +], +"enumDescriptions": [ +"The harm category is unspecified.", +"The harm category is hate speech.", +"The harm category is dangerous content.", +"The harm category is harassment.", +"The harm category is sexually explicit content.", +"The harm category is civic integrity." +], +"readOnly": true, +"type": "string" +}, +"probability": { +"description": "Output only. Harm probability levels in the content.", +"enum": [ +"HARM_PROBABILITY_UNSPECIFIED", +"NEGLIGIBLE", +"LOW", +"MEDIUM", +"HIGH" +], +"enumDescriptions": [ +"Harm probability unspecified.", +"Negligible level of harm.", +"Low level of harm.", +"Medium level of harm.", +"High level of harm." +], +"readOnly": true, +"type": "string" +}, +"probabilityScore": { +"description": "Output only. Harm probability score.", +"format": "float", +"readOnly": true, +"type": "number" +}, +"severity": { +"description": "Output only. Harm severity levels in the content.", +"enum": [ +"HARM_SEVERITY_UNSPECIFIED", +"HARM_SEVERITY_NEGLIGIBLE", +"HARM_SEVERITY_LOW", +"HARM_SEVERITY_MEDIUM", +"HARM_SEVERITY_HIGH" +], +"enumDescriptions": [ +"Harm severity unspecified.", +"Negligible level of harm severity.", +"Low level of harm severity.", +"Medium level of harm severity.", +"High level of harm severity." +], +"readOnly": true, +"type": "string" +}, +"severityScore": { +"description": "Output only. Harm severity score.", +"format": "float", +"readOnly": true, +"type": "number" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1Schema": { +"description": "Defines the structure and layout of a type of document data.", +"id": "GoogleCloudDiscoveryengineV1Schema", +"properties": { +"jsonSchema": { +"description": "The JSON representation of the schema.", +"type": "string" +}, +"name": { +"description": "Immutable. The full resource name of the schema, in the format of `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/schemas/{schema}`. This field must be a UTF-8 encoded string with a length limit of 1024 characters.", +"type": "string" +}, +"structSchema": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"description": "The structured representation of the schema.", +"type": "object" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1SearchInfo": { +"description": "Detailed search information.", +"id": "GoogleCloudDiscoveryengineV1SearchInfo", +"properties": { +"offset": { +"description": "An integer that specifies the current offset for pagination (the 0-indexed starting location, amongst the products deemed by the API as relevant). See SearchRequest.offset for definition. If this field is negative, an `INVALID_ARGUMENT` is returned. This can only be set for `search` events. Other event types should not set this field. Otherwise, an `INVALID_ARGUMENT` error is returned.", +"format": "int32", +"type": "integer" +}, +"orderBy": { +"description": "The order in which products are returned, if applicable. See SearchRequest.order_by for definition and syntax. The value must be a UTF-8 encoded string with a length limit of 1,000 characters. Otherwise, an `INVALID_ARGUMENT` error is returned. This can only be set for `search` events. Other event types should not set this field. Otherwise, an `INVALID_ARGUMENT` error is returned.", +"type": "string" +}, +"searchQuery": { +"description": "The user's search query. See SearchRequest.query for definition. The value must be a UTF-8 encoded string with a length limit of 5,000 characters. Otherwise, an `INVALID_ARGUMENT` error is returned. At least one of search_query or PageInfo.page_category is required for `search` events. Other event types should not set this field. Otherwise, an `INVALID_ARGUMENT` error is returned.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1SearchLinkPromotion": { +"description": "Promotion proto includes uri and other helping information to display the promotion.", +"id": "GoogleCloudDiscoveryengineV1SearchLinkPromotion", +"properties": { +"description": { +"description": "Optional. The Promotion description. Maximum length: 200 characters.", +"type": "string" +}, +"document": { +"description": "Optional. The Document the user wants to promote. For site search, leave unset and only populate uri. Can be set along with uri.", +"type": "string" +}, +"enabled": { +"description": "Optional. The enabled promotion will be returned for any serving configs associated with the parent of the control this promotion is attached to. This flag is used for basic site search only.", +"type": "boolean" +}, +"imageUri": { +"description": "Optional. The promotion thumbnail image url.", +"type": "string" +}, +"title": { +"description": "Required. The title of the promotion. Maximum length: 160 characters.", +"type": "string" +}, +"uri": { +"description": "Optional. The URL for the page the user wants to promote. Must be set for site search. For other verticals, this is optional.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1SearchRequest": { +"description": "Request message for SearchService.Search method.", +"id": "GoogleCloudDiscoveryengineV1SearchRequest", +"properties": { +"boostSpec": { +"$ref": "GoogleCloudDiscoveryengineV1SearchRequestBoostSpec", +"description": "Boost specification to boost certain documents. For more information on boosting, see [Boosting](https://cloud.google.com/generative-ai-app-builder/docs/boost-search-results)" +}, +"branch": { +"description": "The branch resource name, such as `projects/*/locations/global/collections/default_collection/dataStores/default_data_store/branches/0`. Use `default_branch` as the branch ID or leave this field empty, to search documents under the default branch.", +"type": "string" +}, +"canonicalFilter": { +"description": "The default filter that is applied when a user performs a search without checking any filters on the search page. The filter applied to every search request when quality improvement such as query expansion is needed. In the case a query does not have a sufficient amount of results this filter will be used to determine whether or not to enable the query expansion flow. The original filter will still be used for the query expanded search. This field is strongly recommended to achieve high search quality. For more information about filter syntax, see SearchRequest.filter.", +"type": "string" +}, +"contentSearchSpec": { +"$ref": "GoogleCloudDiscoveryengineV1SearchRequestContentSearchSpec", +"description": "A specification for configuring the behavior of content search." +}, +"crowdingSpecs": { +"description": "Optional. Crowding specifications for improving result diversity. If multiple CrowdingSpecs are specified, crowding will be evaluated on each unique combination of the `field` values, and max_count will be the maximum value of `max_count` across all CrowdingSpecs. For example, if the first CrowdingSpec has `field` = \"color\" and `max_count` = 3, and the second CrowdingSpec has `field` = \"size\" and `max_count` = 2, then after 3 documents that share the same color AND size have been returned, subsequent ones should be removed or demoted.", +"items": { +"$ref": "GoogleCloudDiscoveryengineV1SearchRequestCrowdingSpec" +}, +"type": "array" +}, +"dataStoreSpecs": { +"description": "Specifications that define the specific DataStores to be searched, along with configurations for those data stores. This is only considered for Engines with multiple data stores. For engines with a single data store, the specs directly under SearchRequest should be used.", +"items": { +"$ref": "GoogleCloudDiscoveryengineV1SearchRequestDataStoreSpec" +}, +"type": "array" +}, +"displaySpec": { +"$ref": "GoogleCloudDiscoveryengineV1SearchRequestDisplaySpec", +"description": "Optional. Config for display feature, like match highlighting on search results." +}, +"facetSpecs": { +"description": "Facet specifications for faceted search. If empty, no facets are returned. A maximum of 100 values are allowed. Otherwise, an `INVALID_ARGUMENT` error is returned.", +"items": { +"$ref": "GoogleCloudDiscoveryengineV1SearchRequestFacetSpec" +}, +"type": "array" +}, +"filter": { +"description": "The filter syntax consists of an expression language for constructing a predicate from one or more fields of the documents being filtered. Filter expression is case-sensitive. If this field is unrecognizable, an `INVALID_ARGUMENT` is returned. Filtering in Vertex AI Search is done by mapping the LHS filter key to a key property defined in the Vertex AI Search backend -- this mapping is defined by the customer in their schema. For example a media customer might have a field 'name' in their schema. In this case the filter would look like this: filter --> name:'ANY(\"king kong\")' For more information about filtering including syntax and filter operators, see [Filter](https://cloud.google.com/generative-ai-app-builder/docs/filter-search-metadata)", +"type": "string" +}, +"imageQuery": { +"$ref": "GoogleCloudDiscoveryengineV1SearchRequestImageQuery", +"description": "Raw image query." +}, +"languageCode": { +"description": "The BCP-47 language code, such as \"en-US\" or \"sr-Latn\". For more information, see [Standard fields](https://cloud.google.com/apis/design/standard_fields). This field helps to better interpret the query. If a value isn't specified, the query language code is automatically detected, which may not be accurate.", +"type": "string" +}, +"naturalLanguageQueryUnderstandingSpec": { +"$ref": "GoogleCloudDiscoveryengineV1SearchRequestNaturalLanguageQueryUnderstandingSpec", +"description": "Optional. Config for natural language query understanding capabilities, such as extracting structured field filters from the query. Refer to [this documentation](https://cloud.google.com/generative-ai-app-builder/docs/natural-language-queries) for more information. If `naturalLanguageQueryUnderstandingSpec` is not specified, no additional natural language query understanding will be done." +}, +"offset": { +"description": "A 0-indexed integer that specifies the current offset (that is, starting result location, amongst the Documents deemed by the API as relevant) in search results. This field is only considered if page_token is unset. If this field is negative, an `INVALID_ARGUMENT` is returned. A large offset may be capped to a reasonable threshold.", +"format": "int32", +"type": "integer" +}, +"oneBoxPageSize": { +"description": "The maximum number of results to return for OneBox. This applies to each OneBox type individually. Default number is 10.", +"format": "int32", +"type": "integer" +}, +"orderBy": { +"description": "The order in which documents are returned. Documents can be ordered by a field in an Document object. Leave it unset if ordered by relevance. `order_by` expression is case-sensitive. For more information on ordering the website search results, see [Order web search results](https://cloud.google.com/generative-ai-app-builder/docs/order-web-search-results). For more information on ordering the healthcare search results, see [Order healthcare search results](https://cloud.google.com/generative-ai-app-builder/docs/order-hc-results). If this field is unrecognizable, an `INVALID_ARGUMENT` is returned.", +"type": "string" +}, +"pageCategories": { +"description": "Optional. The categories associated with a category page. Must be set for category navigation queries to achieve good search quality. The format should be the same as PageInfo.page_category. This field is the equivalent of the query for browse (navigation) queries. It's used by the browse model when the query is empty. If the field is empty, it will not be used by the browse model. If the field contains more than one element, only the first element will be used. To represent full path of a category, use '>' character to separate different hierarchies. If '>' is part of the category name, replace it with other character(s). For example, `Graphics Cards > RTX>4090 > Founders Edition` where \"RTX > 4090\" represents one level, can be rewritten as `Graphics Cards > RTX_4090 > Founders Edition`", +"items": { +"type": "string" +}, +"type": "array" +}, +"pageSize": { +"description": "Maximum number of Documents to return. The maximum allowed value depends on the data type. Values above the maximum value are coerced to the maximum value. * Websites with basic indexing: Default `10`, Maximum `25`. * Websites with advanced indexing: Default `25`, Maximum `50`. * Other: Default `50`, Maximum `100`. If this field is negative, an `INVALID_ARGUMENT` is returned.", +"format": "int32", +"type": "integer" +}, +"pageToken": { +"description": "A page token received from a previous SearchService.Search call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to SearchService.Search must match the call that provided the page token. Otherwise, an `INVALID_ARGUMENT` error is returned.", +"type": "string" +}, +"params": { +"additionalProperties": { +"type": "any" +}, +"description": "Additional search parameters. For public website search only, supported values are: * `user_country_code`: string. Default empty. If set to non-empty, results are restricted or boosted based on the location provided. For example, `user_country_code: \"au\"` For available codes see [Country Codes](https://developers.google.com/custom-search/docs/json_api_reference#countryCodes) * `search_type`: double. Default empty. Enables non-webpage searching depending on the value. The only valid non-default value is 1, which enables image searching. For example, `search_type: 1`", +"type": "object" +}, +"query": { +"description": "Raw search query.", +"type": "string" +}, +"queryExpansionSpec": { +"$ref": "GoogleCloudDiscoveryengineV1SearchRequestQueryExpansionSpec", +"description": "The query expansion specification that specifies the conditions under which query expansion occurs." +}, +"rankingExpression": { +"description": "Optional. The ranking expression controls the customized ranking on retrieval documents. This overrides ServingConfig.ranking_expression. The syntax and supported features depend on the `ranking_expression_backend` value. If `ranking_expression_backend` is not provided, it defaults to `RANK_BY_EMBEDDING`. If ranking_expression_backend is not provided or set to `RANK_BY_EMBEDDING`, it should be a single function or multiple functions that are joined by \"+\". * ranking_expression = function, { \" + \", function }; Supported functions: * double * relevance_score * double * dotProduct(embedding_field_path) Function variables: * `relevance_score`: pre-defined keywords, used for measure relevance between query and document. * `embedding_field_path`: the document embedding field used with query embedding vector. * `dotProduct`: embedding function between `embedding_field_path` and query embedding vector. Example ranking expression: If document has an embedding field doc_embedding, the ranking expression could be `0.5 * relevance_score + 0.3 * dotProduct(doc_embedding)`. If ranking_expression_backend is set to `RANK_BY_FORMULA`, the following expression types (and combinations of those chained using + or * operators) are supported: * `double` * `signal` * `log(signal)` * `exp(signal)` * `rr(signal, double > 0)` -- reciprocal rank transformation with second argument being a denominator constant. * `is_nan(signal)` -- returns 0 if signal is NaN, 1 otherwise. * `fill_nan(signal1, signal2 | double)` -- if signal1 is NaN, returns signal2 | double, else returns signal1. Here are a few examples of ranking formulas that use the supported ranking expression types: - `0.2 * semantic_similarity_score + 0.8 * log(keyword_similarity_score)` -- mostly rank by the logarithm of `keyword_similarity_score` with slight `semantic_smilarity_score` adjustment. - `0.2 * exp(fill_nan(semantic_similarity_score, 0)) + 0.3 * is_nan(keyword_similarity_score)` -- rank by the exponent of `semantic_similarity_score` filling the value with 0 if it's NaN, also add constant 0.3 adjustment to the final score if `semantic_similarity_score` is NaN. - `0.2 * rr(semantic_similarity_score, 16) + 0.8 * rr(keyword_similarity_score, 16)` -- mostly rank by the reciprocal rank of `keyword_similarity_score` with slight adjustment of reciprocal rank of `semantic_smilarity_score`. The following signals are supported: * `semantic_similarity_score`: semantic similarity adjustment that is calculated using the embeddings generated by a proprietary Google model. This score determines how semantically similar a search query is to a document. * `keyword_similarity_score`: keyword match adjustment uses the Best Match 25 (BM25) ranking function. This score is calculated using a probabilistic model to estimate the probability that a document is relevant to a given query. * `relevance_score`: semantic relevance adjustment that uses a proprietary Google model to determine the meaning and intent behind a user's query in context with the content in the documents. * `pctr_rank`: predicted conversion rate adjustment as a rank use predicted Click-through rate (pCTR) to gauge the relevance and attractiveness of a search result from a user's perspective. A higher pCTR suggests that the result is more likely to satisfy the user's query and intent, making it a valuable signal for ranking. * `freshness_rank`: freshness adjustment as a rank * `document_age`: The time in hours elapsed since the document was last updated, a floating-point number (e.g., 0.25 means 15 minutes). * `topicality_rank`: topicality adjustment as a rank. Uses proprietary Google model to determine the keyword-based overlap between the query and the document. * `base_rank`: the default rank of the result", +"type": "string" +}, +"rankingExpressionBackend": { +"description": "Optional. The backend to use for the ranking expression evaluation.", +"enum": [ +"RANKING_EXPRESSION_BACKEND_UNSPECIFIED", +"BYOE", +"CLEARBOX", +"RANK_BY_EMBEDDING", +"RANK_BY_FORMULA" +], +"enumDeprecated": [ +false, +true, +true, +false, +false +], +"enumDescriptions": [ +"Default option for unspecified/unknown values.", +"Deprecated: Use `RANK_BY_EMBEDDING` instead. Ranking by custom embedding model, the default way to evaluate the ranking expression. Legacy enum option, `RANK_BY_EMBEDDING` should be used instead.", +"Deprecated: Use `RANK_BY_FORMULA` instead. Ranking by custom formula. Legacy enum option, `RANK_BY_FORMULA` should be used instead.", +"Ranking by custom embedding model, the default way to evaluate the ranking expression.", +"Ranking by custom formula." +], +"type": "string" +}, +"relevanceScoreSpec": { +"$ref": "GoogleCloudDiscoveryengineV1SearchRequestRelevanceScoreSpec", +"description": "Optional. The specification for returning the relevance score." +}, +"relevanceThreshold": { +"description": "The global relevance threshold of the search results. Defaults to Google defined threshold, leveraging a balance of precision and recall to deliver both highly accurate results and comprehensive coverage of relevant information. If more granular relevance filtering is required, use the `relevance_filter_spec` instead. This feature is not supported for healthcare search.", +"enum": [ +"RELEVANCE_THRESHOLD_UNSPECIFIED", +"LOWEST", +"LOW", +"MEDIUM", +"HIGH" +], +"enumDescriptions": [ +"Default value. In this case, server behavior defaults to Google defined threshold.", +"Lowest relevance threshold.", +"Low relevance threshold.", +"Medium relevance threshold.", +"High relevance threshold." +], +"type": "string" +}, +"safeSearch": { +"description": "Whether to turn on safe search. This is only supported for website search.", +"type": "boolean" +}, +"searchAsYouTypeSpec": { +"$ref": "GoogleCloudDiscoveryengineV1SearchRequestSearchAsYouTypeSpec", +"description": "Search as you type configuration. Only supported for the IndustryVertical.MEDIA vertical." +}, +"session": { +"description": "The session resource name. Optional. Session allows users to do multi-turn /search API calls or coordination between /search API calls and /answer API calls. Example #1 (multi-turn /search API calls): Call /search API with the session ID generated in the first call. Here, the previous search query gets considered in query standing. I.e., if the first query is \"How did Alphabet do in 2022?\" and the current query is \"How about 2023?\", the current query will be interpreted as \"How did Alphabet do in 2023?\". Example #2 (coordination between /search API calls and /answer API calls): Call /answer API with the session ID generated in the first call. Here, the answer generation happens in the context of the search results from the first search call. Multi-turn Search feature is currently at private GA stage. Please use v1alpha or v1beta version instead before we launch this feature to public GA. Or ask for allowlisting through Google Support team.", +"type": "string" +}, +"sessionSpec": { +"$ref": "GoogleCloudDiscoveryengineV1SearchRequestSessionSpec", +"description": "Session specification. Can be used only when `session` is set." +}, +"spellCorrectionSpec": { +"$ref": "GoogleCloudDiscoveryengineV1SearchRequestSpellCorrectionSpec", +"description": "The spell correction specification that specifies the mode under which spell correction takes effect." +}, +"userInfo": { +"$ref": "GoogleCloudDiscoveryengineV1UserInfo", +"description": "Information about the end user. Highly recommended for analytics and personalization. UserInfo.user_agent is used to deduce `device_type` for analytics." +}, +"userLabels": { +"additionalProperties": { +"type": "string" +}, +"description": "The user labels applied to a resource must meet the following requirements: * Each resource can have multiple labels, up to a maximum of 64. * Each label must be a key-value pair. * Keys have a minimum length of 1 character and a maximum length of 63 characters and cannot be empty. Values can be empty and have a maximum length of 63 characters. * Keys and values can contain only lowercase letters, numeric characters, underscores, and dashes. All characters must use UTF-8 encoding, and international characters are allowed. * The key portion of a label must be unique. However, you can use the same key with multiple resources. * Keys must start with a lowercase letter or international character. See [Google Cloud Document](https://cloud.google.com/resource-manager/docs/creating-managing-labels#requirements) for more details.", +"type": "object" +}, +"userPseudoId": { +"description": "Optional. A unique identifier for tracking visitors. For example, this could be implemented with an HTTP cookie, which should be able to uniquely identify a visitor on a single device. This unique identifier should not change if the visitor logs in or out of the website. This field should NOT have a fixed value such as `unknown_visitor`. This should be the same identifier as UserEvent.user_pseudo_id and CompleteQueryRequest.user_pseudo_id The field must be a UTF-8 encoded string with a length limit of 128 characters. Otherwise, an `INVALID_ARGUMENT` error is returned.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1SearchRequestBoostSpec": { +"description": "Boost specification to boost certain documents.", +"id": "GoogleCloudDiscoveryengineV1SearchRequestBoostSpec", +"properties": { +"conditionBoostSpecs": { +"description": "Condition boost specifications. If a document matches multiple conditions in the specifications, boost scores from these specifications are all applied and combined in a non-linear way. Maximum number of specifications is 20.", +"items": { +"$ref": "GoogleCloudDiscoveryengineV1SearchRequestBoostSpecConditionBoostSpec" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1SearchRequestBoostSpecConditionBoostSpec": { +"description": "Boost applies to documents which match a condition.", +"id": "GoogleCloudDiscoveryengineV1SearchRequestBoostSpecConditionBoostSpec", +"properties": { +"boost": { +"description": "Strength of the condition boost, which should be in [-1, 1]. Negative boost means demotion. Default is 0.0. Setting to 1.0 gives the document a big promotion. However, it does not necessarily mean that the boosted document will be the top result at all times, nor that other documents will be excluded. Results could still be shown even when none of them matches the condition. And results that are significantly more relevant to the search query can still trump your heavily favored but irrelevant documents. Setting to -1.0 gives the document a big demotion. However, results that are deeply relevant might still be shown. The document will have an upstream battle to get a fairly high ranking, but it is not blocked out completely. Setting to 0.0 means no boost applied. The boosting condition is ignored. Only one of the (condition, boost) combination or the boost_control_spec below are set. If both are set then the global boost is ignored and the more fine-grained boost_control_spec is applied.", +"format": "float", +"type": "number" +}, +"boostControlSpec": { +"$ref": "GoogleCloudDiscoveryengineV1SearchRequestBoostSpecConditionBoostSpecBoostControlSpec", +"description": "Complex specification for custom ranking based on customer defined attribute value." +}, +"condition": { +"description": "An expression which specifies a boost condition. The syntax and supported fields are the same as a filter expression. See SearchRequest.filter for detail syntax and limitations. Examples: * To boost documents with document ID \"doc_1\" or \"doc_2\", and color \"Red\" or \"Blue\": `(document_id: ANY(\"doc_1\", \"doc_2\")) AND (color: ANY(\"Red\", \"Blue\"))`", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1SearchRequestBoostSpecConditionBoostSpecBoostControlSpec": { +"description": "Specification for custom ranking based on customer specified attribute value. It provides more controls for customized ranking than the simple (condition, boost) combination above.", +"id": "GoogleCloudDiscoveryengineV1SearchRequestBoostSpecConditionBoostSpecBoostControlSpec", +"properties": { +"attributeType": { +"description": "The attribute type to be used to determine the boost amount. The attribute value can be derived from the field value of the specified field_name. In the case of numerical it is straightforward i.e. attribute_value = numerical_field_value. In the case of freshness however, attribute_value = (time.now() - datetime_field_value).", +"enum": [ +"ATTRIBUTE_TYPE_UNSPECIFIED", +"NUMERICAL", +"FRESHNESS" +], +"enumDescriptions": [ +"Unspecified AttributeType.", +"The value of the numerical field will be used to dynamically update the boost amount. In this case, the attribute_value (the x value) of the control point will be the actual value of the numerical field for which the boost_amount is specified.", +"For the freshness use case the attribute value will be the duration between the current time and the date in the datetime field specified. The value must be formatted as an XSD `dayTimeDuration` value (a restricted subset of an ISO 8601 duration value). The pattern for this is: `nDnM]`. For example, `5D`, `3DT12H30M`, `T24H`." +], +"type": "string" +}, +"controlPoints": { +"description": "The control points used to define the curve. The monotonic function (defined through the interpolation_type above) passes through the control points listed here.", +"items": { +"$ref": "GoogleCloudDiscoveryengineV1SearchRequestBoostSpecConditionBoostSpecBoostControlSpecControlPoint" +}, +"type": "array" +}, +"fieldName": { +"description": "The name of the field whose value will be used to determine the boost amount.", +"type": "string" +}, +"interpolationType": { +"description": "The interpolation type to be applied to connect the control points listed below.", +"enum": [ +"INTERPOLATION_TYPE_UNSPECIFIED", +"LINEAR" +], +"enumDescriptions": [ +"Interpolation type is unspecified. In this case, it defaults to Linear.", +"Piecewise linear interpolation will be applied." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1SearchRequestBoostSpecConditionBoostSpecBoostControlSpecControlPoint": { +"description": "The control points used to define the curve. The curve defined through these control points can only be monotonically increasing or decreasing(constant values are acceptable).", +"id": "GoogleCloudDiscoveryengineV1SearchRequestBoostSpecConditionBoostSpecBoostControlSpecControlPoint", +"properties": { +"attributeValue": { +"description": "Can be one of: 1. The numerical field value. 2. The duration spec for freshness: The value must be formatted as an XSD `dayTimeDuration` value (a restricted subset of an ISO 8601 duration value). The pattern for this is: `nDnM]`.", +"type": "string" +}, +"boostAmount": { +"description": "The value between -1 to 1 by which to boost the score if the attribute_value evaluates to the value specified above.", +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1SearchRequestContentSearchSpec": { +"description": "A specification for configuring the behavior of content search.", +"id": "GoogleCloudDiscoveryengineV1SearchRequestContentSearchSpec", +"properties": { +"chunkSpec": { +"$ref": "GoogleCloudDiscoveryengineV1SearchRequestContentSearchSpecChunkSpec", +"description": "Specifies the chunk spec to be returned from the search response. Only available if the SearchRequest.ContentSearchSpec.search_result_mode is set to CHUNKS" +}, +"extractiveContentSpec": { +"$ref": "GoogleCloudDiscoveryengineV1SearchRequestContentSearchSpecExtractiveContentSpec", +"description": "If there is no extractive_content_spec provided, there will be no extractive answer in the search response." +}, +"searchResultMode": { +"description": "Specifies the search result mode. If unspecified, the search result mode defaults to `DOCUMENTS`.", +"enum": [ +"SEARCH_RESULT_MODE_UNSPECIFIED", +"DOCUMENTS", +"CHUNKS" +], +"enumDescriptions": [ +"Default value.", +"Returns documents in the search result.", +"Returns chunks in the search result. Only available if the DocumentProcessingConfig.chunking_config is specified." +], +"type": "string" +}, +"snippetSpec": { +"$ref": "GoogleCloudDiscoveryengineV1SearchRequestContentSearchSpecSnippetSpec", +"description": "If `snippetSpec` is not specified, snippets are not included in the search response." +}, +"summarySpec": { +"$ref": "GoogleCloudDiscoveryengineV1SearchRequestContentSearchSpecSummarySpec", +"description": "If `summarySpec` is not specified, summaries are not included in the search response." +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1SearchRequestContentSearchSpecChunkSpec": { +"description": "Specifies the chunk spec to be returned from the search response. Only available if the SearchRequest.ContentSearchSpec.search_result_mode is set to CHUNKS", +"id": "GoogleCloudDiscoveryengineV1SearchRequestContentSearchSpecChunkSpec", +"properties": { +"numNextChunks": { +"description": "The number of next chunks to be returned of the current chunk. The maximum allowed value is 3. If not specified, no next chunks will be returned.", +"format": "int32", +"type": "integer" +}, +"numPreviousChunks": { +"description": "The number of previous chunks to be returned of the current chunk. The maximum allowed value is 3. If not specified, no previous chunks will be returned.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1SearchRequestContentSearchSpecExtractiveContentSpec": { +"description": "A specification for configuring the extractive content in a search response.", +"id": "GoogleCloudDiscoveryengineV1SearchRequestContentSearchSpecExtractiveContentSpec", +"properties": { +"maxExtractiveAnswerCount": { +"description": "The maximum number of extractive answers returned in each search result. An extractive answer is a verbatim answer extracted from the original document, which provides a precise and contextually relevant answer to the search query. If the number of matching answers is less than the `max_extractive_answer_count`, return all of the answers. Otherwise, return the `max_extractive_answer_count`. At most five answers are returned for each SearchResult.", +"format": "int32", +"type": "integer" +}, +"maxExtractiveSegmentCount": { +"description": "The max number of extractive segments returned in each search result. Only applied if the DataStore is set to DataStore.ContentConfig.CONTENT_REQUIRED or DataStore.solution_types is SOLUTION_TYPE_CHAT. An extractive segment is a text segment extracted from the original document that is relevant to the search query, and, in general, more verbose than an extractive answer. The segment could then be used as input for LLMs to generate summaries and answers. If the number of matching segments is less than `max_extractive_segment_count`, return all of the segments. Otherwise, return the `max_extractive_segment_count`.", +"format": "int32", +"type": "integer" +}, +"numNextSegments": { +"description": "Return at most `num_next_segments` segments after each selected segments.", +"format": "int32", +"type": "integer" +}, +"numPreviousSegments": { +"description": "Specifies whether to also include the adjacent from each selected segments. Return at most `num_previous_segments` segments before each selected segments.", +"format": "int32", +"type": "integer" +}, +"returnExtractiveSegmentScore": { +"description": "Specifies whether to return the confidence score from the extractive segments in each search result. This feature is available only for new or allowlisted data stores. To allowlist your data store, contact your Customer Engineer. The default value is `false`.", +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1SearchRequestContentSearchSpecSnippetSpec": { +"description": "A specification for configuring snippets in a search response.", +"id": "GoogleCloudDiscoveryengineV1SearchRequestContentSearchSpecSnippetSpec", +"properties": { +"maxSnippetCount": { +"deprecated": true, +"description": "[DEPRECATED] This field is deprecated. To control snippet return, use `return_snippet` field. For backwards compatibility, we will return snippet if max_snippet_count > 0.", +"format": "int32", +"type": "integer" +}, +"referenceOnly": { +"deprecated": true, +"description": "[DEPRECATED] This field is deprecated and will have no affect on the snippet.", +"type": "boolean" +}, +"returnSnippet": { +"description": "If `true`, then return snippet. If no snippet can be generated, we return \"No snippet is available for this page.\" A `snippet_status` with `SUCCESS` or `NO_SNIPPET_AVAILABLE` will also be returned.", +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1SearchRequestContentSearchSpecSummarySpec": { +"description": "A specification for configuring a summary returned in a search response.", +"id": "GoogleCloudDiscoveryengineV1SearchRequestContentSearchSpecSummarySpec", +"properties": { +"ignoreAdversarialQuery": { +"description": "Specifies whether to filter out adversarial queries. The default value is `false`. Google employs search-query classification to detect adversarial queries. No summary is returned if the search query is classified as an adversarial query. For example, a user might ask a question regarding negative comments about the company or submit a query designed to generate unsafe, policy-violating output. If this field is set to `true`, we skip generating summaries for adversarial queries and return fallback messages instead.", +"type": "boolean" +}, +"ignoreJailBreakingQuery": { +"description": "Optional. Specifies whether to filter out jail-breaking queries. The default value is `false`. Google employs search-query classification to detect jail-breaking queries. No summary is returned if the search query is classified as a jail-breaking query. A user might add instructions to the query to change the tone, style, language, content of the answer, or ask the model to act as a different entity, e.g. \"Reply in the tone of a competing company's CEO\". If this field is set to `true`, we skip generating summaries for jail-breaking queries and return fallback messages instead.", +"type": "boolean" +}, +"ignoreLowRelevantContent": { +"description": "Specifies whether to filter out queries that have low relevance. The default value is `false`. If this field is set to `false`, all search results are used regardless of relevance to generate answers. If set to `true`, only queries with high relevance search results will generate answers.", +"type": "boolean" +}, +"ignoreNonSummarySeekingQuery": { +"description": "Specifies whether to filter out queries that are not summary-seeking. The default value is `false`. Google employs search-query classification to detect summary-seeking queries. No summary is returned if the search query is classified as a non-summary seeking query. For example, `why is the sky blue` and `Who is the best soccer player in the world?` are summary-seeking queries, but `SFO airport` and `world cup 2026` are not. They are most likely navigational queries. If this field is set to `true`, we skip generating summaries for non-summary seeking queries and return fallback messages instead.", +"type": "boolean" +}, +"includeCitations": { +"description": "Specifies whether to include citations in the summary. The default value is `false`. When this field is set to `true`, summaries include in-line citation numbers. Example summary including citations: BigQuery is Google Cloud's fully managed and completely serverless enterprise data warehouse [1]. BigQuery supports all data types, works across clouds, and has built-in machine learning and business intelligence, all within a unified platform [2, 3]. The citation numbers refer to the returned search results and are 1-indexed. For example, [1] means that the sentence is attributed to the first search result. [2, 3] means that the sentence is attributed to both the second and third search results.", +"type": "boolean" +}, +"languageCode": { +"description": "Language code for Summary. Use language tags defined by [BCP47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt). Note: This is an experimental feature.", +"type": "string" +}, +"modelPromptSpec": { +"$ref": "GoogleCloudDiscoveryengineV1SearchRequestContentSearchSpecSummarySpecModelPromptSpec", +"description": "If specified, the spec will be used to modify the prompt provided to the LLM." +}, +"modelSpec": { +"$ref": "GoogleCloudDiscoveryengineV1SearchRequestContentSearchSpecSummarySpecModelSpec", +"description": "If specified, the spec will be used to modify the model specification provided to the LLM." +}, +"summaryResultCount": { +"description": "The number of top results to generate the summary from. If the number of results returned is less than `summaryResultCount`, the summary is generated from all of the results. At most 10 results for documents mode, or 50 for chunks mode, can be used to generate a summary. The chunks mode is used when SearchRequest.ContentSearchSpec.search_result_mode is set to CHUNKS.", +"format": "int32", +"type": "integer" +}, +"useSemanticChunks": { +"description": "If true, answer will be generated from most relevant chunks from top search results. This feature will improve summary quality. Note that with this feature enabled, not all top search results will be referenced and included in the reference list, so the citation source index only points to the search results listed in the reference list.", +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1SearchRequestContentSearchSpecSummarySpecModelPromptSpec": { +"description": "Specification of the prompt to use with the model.", +"id": "GoogleCloudDiscoveryengineV1SearchRequestContentSearchSpecSummarySpecModelPromptSpec", +"properties": { +"preamble": { +"description": "Text at the beginning of the prompt that instructs the assistant. Examples are available in the user guide.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1SearchRequestContentSearchSpecSummarySpecModelSpec": { +"description": "Specification of the model.", +"id": "GoogleCloudDiscoveryengineV1SearchRequestContentSearchSpecSummarySpecModelSpec", +"properties": { +"version": { +"description": "The model version used to generate the summary. Supported values are: * `stable`: string. Default value when no value is specified. Uses a generally available, fine-tuned model. For more information, see [Answer generation model versions and lifecycle](https://cloud.google.com/generative-ai-app-builder/docs/answer-generation-models). * `preview`: string. (Public preview) Uses a preview model. For more information, see [Answer generation model versions and lifecycle](https://cloud.google.com/generative-ai-app-builder/docs/answer-generation-models).", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1SearchRequestCrowdingSpec": { +"description": "Specification for crowding. Crowding improves the diversity of search results by limiting the number of results that share the same field value. For example, crowding on the color field with a max_count of 3 and mode DROP_CROWDED_RESULTS will return at most 3 results with the same color across all pages.", +"id": "GoogleCloudDiscoveryengineV1SearchRequestCrowdingSpec", +"properties": { +"field": { +"description": "The field to use for crowding. Documents can be crowded by a field in the Document object. Crowding field is case sensitive.", +"type": "string" +}, +"maxCount": { +"description": "The maximum number of documents to keep per value of the field. Once there are at least max_count previous results which contain the same value for the given field (according to the order specified in `order_by`), later results with the same value are \"crowded away\". If not specified, the default value is 1.", +"format": "int32", +"type": "integer" +}, +"mode": { +"description": "Mode to use for documents that are crowded away.", +"enum": [ +"MODE_UNSPECIFIED", +"DROP_CROWDED_RESULTS", +"DEMOTE_CROWDED_RESULTS_TO_END" +], +"enumDescriptions": [ +"Unspecified crowding mode. In this case, server behavior defaults to Mode.DROP_CROWDED_RESULTS.", +"Drop crowded results.", +"Demote crowded results to the later pages." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1SearchRequestDataStoreSpec": { +"description": "A struct to define data stores to filter on in a search call and configurations for those data stores. Otherwise, an `INVALID_ARGUMENT` error is returned.", +"id": "GoogleCloudDiscoveryengineV1SearchRequestDataStoreSpec", +"properties": { +"boostSpec": { +"$ref": "GoogleCloudDiscoveryengineV1SearchRequestBoostSpec", +"description": "Optional. Boost specification to boost certain documents. For more information on boosting, see [Boosting](https://cloud.google.com/generative-ai-app-builder/docs/boost-search-results)" +}, +"customSearchOperators": { +"description": "Optional. Custom search operators which if specified will be used to filter results from workspace data stores. For more information on custom search operators, see [SearchOperators](https://support.google.com/cloudsearch/answer/6172299).", +"type": "string" +}, +"dataStore": { +"description": "Required. Full resource name of DataStore, such as `projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}`. The path must include the project number, project id is not supported for this field.", +"type": "string" +}, +"filter": { +"description": "Optional. Filter specification to filter documents in the data store specified by data_store field. For more information on filtering, see [Filtering](https://cloud.google.com/generative-ai-app-builder/docs/filter-search-metadata)", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1SearchRequestDisplaySpec": { +"description": "Specifies features for display, like match highlighting.", +"id": "GoogleCloudDiscoveryengineV1SearchRequestDisplaySpec", +"properties": { +"matchHighlightingCondition": { +"description": "The condition under which match highlighting should occur.", +"enum": [ +"MATCH_HIGHLIGHTING_CONDITION_UNSPECIFIED", +"MATCH_HIGHLIGHTING_DISABLED", +"MATCH_HIGHLIGHTING_ENABLED" +], +"enumDescriptions": [ +"Server behavior is the same as `MATCH_HIGHLIGHTING_DISABLED`.", +"Disables match highlighting on all documents.", +"Enables match highlighting on all documents." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1SearchRequestFacetSpec": { +"description": "A facet specification to perform faceted search.", +"id": "GoogleCloudDiscoveryengineV1SearchRequestFacetSpec", +"properties": { +"enableDynamicPosition": { +"description": "Enables dynamic position for this facet. If set to true, the position of this facet among all facets in the response is determined automatically. If dynamic facets are enabled, it is ordered together. If set to false, the position of this facet in the response is the same as in the request, and it is ranked before the facets with dynamic position enable and all dynamic facets. For example, you may always want to have rating facet returned in the response, but it's not necessarily to always display the rating facet at the top. In that case, you can set enable_dynamic_position to true so that the position of rating facet in response is determined automatically. Another example, assuming you have the following facets in the request: * \"rating\", enable_dynamic_position = true * \"price\", enable_dynamic_position = false * \"brands\", enable_dynamic_position = false And also you have a dynamic facets enabled, which generates a facet `gender`. Then the final order of the facets in the response can be (\"price\", \"brands\", \"rating\", \"gender\") or (\"price\", \"brands\", \"gender\", \"rating\") depends on how API orders \"gender\" and \"rating\" facets. However, notice that \"price\" and \"brands\" are always ranked at first and second position because their enable_dynamic_position is false.", +"type": "boolean" +}, +"excludedFilterKeys": { +"description": "List of keys to exclude when faceting. By default, FacetKey.key is not excluded from the filter unless it is listed in this field. Listing a facet key in this field allows its values to appear as facet results, even when they are filtered out of search results. Using this field does not affect what search results are returned. For example, suppose there are 100 documents with the color facet \"Red\" and 200 documents with the color facet \"Blue\". A query containing the filter \"color:ANY(\"Red\")\" and having \"color\" as FacetKey.key would by default return only \"Red\" documents in the search results, and also return \"Red\" with count 100 as the only color facet. Although there are also blue documents available, \"Blue\" would not be shown as an available facet value. If \"color\" is listed in \"excludedFilterKeys\", then the query returns the facet values \"Red\" with count 100 and \"Blue\" with count 200, because the \"color\" key is now excluded from the filter. Because this field doesn't affect search results, the search results are still correctly filtered to return only \"Red\" documents. A maximum of 100 values are allowed. Otherwise, an `INVALID_ARGUMENT` error is returned.", +"items": { +"type": "string" +}, +"type": "array" +}, +"facetKey": { +"$ref": "GoogleCloudDiscoveryengineV1SearchRequestFacetSpecFacetKey", +"description": "Required. The facet key specification." +}, +"limit": { +"description": "Maximum facet values that are returned for this facet. If unspecified, defaults to 20. The maximum allowed value is 300. Values above 300 are coerced to 300. For aggregation in healthcare search, when the [FacetKey.key] is \"healthcare_aggregation_key\", the limit will be overridden to 10,000 internally, regardless of the value set here. If this field is negative, an `INVALID_ARGUMENT` is returned.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1SearchRequestFacetSpecFacetKey": { +"description": "Specifies how a facet is computed.", +"id": "GoogleCloudDiscoveryengineV1SearchRequestFacetSpecFacetKey", +"properties": { +"caseInsensitive": { +"description": "True to make facet keys case insensitive when getting faceting values with prefixes or contains; false otherwise.", +"type": "boolean" +}, +"contains": { +"description": "Only get facet values that contain the given strings. For example, suppose \"category\" has three values \"Action > 2022\", \"Action > 2021\" and \"Sci-Fi > 2022\". If set \"contains\" to \"2022\", the \"category\" facet only contains \"Action > 2022\" and \"Sci-Fi > 2022\". Only supported on textual fields. Maximum is 10.", +"items": { +"type": "string" +}, +"type": "array" +}, +"intervals": { +"description": "Set only if values should be bucketed into intervals. Must be set for facets with numerical values. Must not be set for facet with text values. Maximum number of intervals is 30.", +"items": { +"$ref": "GoogleCloudDiscoveryengineV1Interval" +}, +"type": "array" +}, +"key": { +"description": "Required. Supported textual and numerical facet keys in Document object, over which the facet values are computed. Facet key is case-sensitive.", +"type": "string" +}, +"orderBy": { +"description": "The order in which documents are returned. Allowed values are: * \"count desc\", which means order by SearchResponse.Facet.values.count descending. * \"value desc\", which means order by SearchResponse.Facet.values.value descending. Only applies to textual facets. If not set, textual values are sorted in [natural order](https://en.wikipedia.org/wiki/Natural_sort_order); numerical intervals are sorted in the order given by FacetSpec.FacetKey.intervals.", +"type": "string" +}, +"prefixes": { +"description": "Only get facet values that start with the given string prefix. For example, suppose \"category\" has three values \"Action > 2022\", \"Action > 2021\" and \"Sci-Fi > 2022\". If set \"prefixes\" to \"Action\", the \"category\" facet only contains \"Action > 2022\" and \"Action > 2021\". Only supported on textual fields. Maximum is 10.", +"items": { +"type": "string" +}, +"type": "array" +}, +"restrictedValues": { +"description": "Only get facet for the given restricted values. Only supported on textual fields. For example, suppose \"category\" has three values \"Action > 2022\", \"Action > 2021\" and \"Sci-Fi > 2022\". If set \"restricted_values\" to \"Action > 2022\", the \"category\" facet only contains \"Action > 2022\". Only supported on textual fields. Maximum is 10.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1SearchRequestImageQuery": { +"description": "Specifies the image query input.", +"id": "GoogleCloudDiscoveryengineV1SearchRequestImageQuery", +"properties": { +"imageBytes": { +"description": "Base64 encoded image bytes. Supported image formats: JPEG, PNG, and BMP.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1SearchRequestNaturalLanguageQueryUnderstandingSpec": { +"description": "Specification to enable natural language understanding capabilities for search requests.", +"id": "GoogleCloudDiscoveryengineV1SearchRequestNaturalLanguageQueryUnderstandingSpec", +"properties": { +"allowedFieldNames": { +"description": "Optional. Allowlist of fields that can be used for natural language filter extraction. By default, if this is unspecified, all indexable fields are eligible for natural language filter extraction (but are not guaranteed to be used). If any fields are specified in allowed_field_names, only the fields that are both marked as indexable in the schema and specified in the allowlist will be eligible for natural language filter extraction. Note: for multi-datastore search, this is not yet supported, and will be ignored.", +"items": { +"type": "string" +}, +"type": "array" +}, +"extractedFilterBehavior": { +"description": "Optional. Controls behavior of how extracted filters are applied to the search. The default behavior depends on the request. For single datastore structured search, the default is `HARD_FILTER`. For multi-datastore search, the default behavior is `SOFT_BOOST`. Location-based filters are always applied as hard filters, and the `SOFT_BOOST` setting will not affect them. This field is only used if SearchRequest.NaturalLanguageQueryUnderstandingSpec.FilterExtractionCondition is set to FilterExtractionCondition.ENABLED.", +"enum": [ +"EXTRACTED_FILTER_BEHAVIOR_UNSPECIFIED", +"HARD_FILTER", +"SOFT_BOOST" +], +"enumDescriptions": [ +"`EXTRACTED_FILTER_BEHAVIOR_UNSPECIFIED` will use the default behavior for extracted filters. For single datastore search, the default is to apply as hard filters. For multi-datastore search, the default is to apply as soft boosts.", +"Applies all extracted filters as hard filters on the results. Results that do not pass the extracted filters will not be returned in the result set.", +"Applies all extracted filters as soft boosts. Results that pass the filters will be boosted up to higher ranks in the result set." +], +"type": "string" +}, +"filterExtractionCondition": { +"description": "The condition under which filter extraction should occur. Server behavior defaults to `DISABLED`.", +"enum": [ +"CONDITION_UNSPECIFIED", +"DISABLED", +"ENABLED" +], +"enumDescriptions": [ +"Server behavior defaults to `DISABLED`.", +"Disables NL filter extraction.", +"Enables NL filter extraction." +], +"type": "string" +}, +"geoSearchQueryDetectionFieldNames": { +"description": "Field names used for location-based filtering, where geolocation filters are detected in natural language search queries. Only valid when the FilterExtractionCondition is set to `ENABLED`. If this field is set, it overrides the field names set in ServingConfig.geo_search_query_detection_field_names.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1SearchRequestQueryExpansionSpec": { +"description": "Specification to determine under which conditions query expansion should occur.", +"id": "GoogleCloudDiscoveryengineV1SearchRequestQueryExpansionSpec", +"properties": { +"condition": { +"description": "The condition under which query expansion should occur. Default to Condition.DISABLED.", +"enum": [ +"CONDITION_UNSPECIFIED", +"DISABLED", +"AUTO" +], +"enumDescriptions": [ +"Unspecified query expansion condition. In this case, server behavior defaults to Condition.DISABLED.", +"Disabled query expansion. Only the exact search query is used, even if SearchResponse.total_size is zero.", +"Automatic query expansion built by the Search API." +], +"type": "string" +}, +"pinUnexpandedResults": { +"description": "Whether to pin unexpanded results. If this field is set to true, unexpanded products are always at the top of the search results, followed by the expanded results.", +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1SearchRequestRelevanceScoreSpec": { +"description": "The specification for returning the document relevance score.", +"id": "GoogleCloudDiscoveryengineV1SearchRequestRelevanceScoreSpec", +"properties": { +"returnRelevanceScore": { +"description": "Optional. Whether to return the relevance score for search results. The higher the score, the more relevant the document is to the query.", +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1SearchRequestSearchAsYouTypeSpec": { +"description": "Specification for search as you type in search requests.", +"id": "GoogleCloudDiscoveryengineV1SearchRequestSearchAsYouTypeSpec", +"properties": { +"condition": { +"description": "The condition under which search as you type should occur. Default to Condition.DISABLED.", +"enum": [ +"CONDITION_UNSPECIFIED", +"DISABLED", +"ENABLED", +"AUTO" +], +"enumDescriptions": [ +"Server behavior defaults to Condition.DISABLED.", +"Disables Search As You Type.", +"Enables Search As You Type.", +"Automatic switching between search-as-you-type and standard search modes, ideal for single-API implementations (e.g., debouncing)." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1SearchRequestSessionSpec": { +"description": "Session specification. Multi-turn Search feature is currently at private GA stage. Please use v1alpha or v1beta version instead before we launch this feature to public GA. Or ask for allowlisting through Google Support team.", +"id": "GoogleCloudDiscoveryengineV1SearchRequestSessionSpec", +"properties": { +"queryId": { +"description": "If set, the search result gets stored to the \"turn\" specified by this query ID. Example: Let's say the session looks like this: session { name: \".../sessions/xxx\" turns { query { text: \"What is foo?\" query_id: \".../questions/yyy\" } answer: \"Foo is ...\" } turns { query { text: \"How about bar then?\" query_id: \".../questions/zzz\" } } } The user can call /search API with a request like this: session: \".../sessions/xxx\" session_spec { query_id: \".../questions/zzz\" } Then, the API stores the search result, associated with the last turn. The stored search result can be used by a subsequent /answer API call (with the session ID and the query ID specified). Also, it is possible to call /search and /answer in parallel with the same session ID & query ID.", +"type": "string" +}, +"searchResultPersistenceCount": { +"description": "The number of top search results to persist. The persisted search results can be used for the subsequent /answer api call. This field is similar to the `summary_result_count` field in SearchRequest.ContentSearchSpec.SummarySpec.summary_result_count. At most 10 results for documents mode, or 50 for chunks mode.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1SearchRequestSpellCorrectionSpec": { +"description": "The specification for query spell correction.", +"id": "GoogleCloudDiscoveryengineV1SearchRequestSpellCorrectionSpec", +"properties": { +"mode": { +"description": "The mode under which spell correction replaces the original search query. Defaults to Mode.AUTO.", +"enum": [ +"MODE_UNSPECIFIED", +"SUGGESTION_ONLY", +"AUTO" +], +"enumDescriptions": [ +"Unspecified spell correction mode. In this case, server behavior defaults to Mode.AUTO.", +"Search API tries to find a spelling suggestion. If a suggestion is found, it is put in the SearchResponse.corrected_query. The spelling suggestion won't be used as the search query.", +"Automatic spell correction built by the Search API. Search will be based on the corrected query if found." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1SearchResponse": { +"description": "Response message for SearchService.Search method.", +"id": "GoogleCloudDiscoveryengineV1SearchResponse", +"properties": { +"attributionToken": { +"description": "A unique search token. This should be included in the UserEvent logs resulting from this search, which enables accurate attribution of search model performance. This also helps to identify a request during the customer support scenarios.", +"type": "string" +}, +"correctedQuery": { +"description": "Contains the spell corrected query, if found. If the spell correction type is AUTOMATIC, then the search results are based on corrected_query. Otherwise the original query is used for search.", +"type": "string" +}, +"facets": { +"description": "Results of facets requested by user.", +"items": { +"$ref": "GoogleCloudDiscoveryengineV1SearchResponseFacet" +}, +"type": "array" +}, +"naturalLanguageQueryUnderstandingInfo": { +"$ref": "GoogleCloudDiscoveryengineV1SearchResponseNaturalLanguageQueryUnderstandingInfo", +"description": "Output only. Natural language query understanding information for the returned results.", +"readOnly": true +}, +"nextPageToken": { +"description": "A token that can be sent as SearchRequest.page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.", +"type": "string" +}, +"queryExpansionInfo": { +"$ref": "GoogleCloudDiscoveryengineV1SearchResponseQueryExpansionInfo", +"description": "Query expansion information for the returned results." +}, +"redirectUri": { +"description": "The URI of a customer-defined redirect page. If redirect action is triggered, no search is performed, and only redirect_uri and attribution_token are set in the response.", +"type": "string" +}, +"results": { +"description": "A list of matched documents. The order represents the ranking.", +"items": { +"$ref": "GoogleCloudDiscoveryengineV1SearchResponseSearchResult" +}, +"type": "array" +}, +"searchLinkPromotions": { +"description": "Promotions for site search.", +"items": { +"$ref": "GoogleCloudDiscoveryengineV1SearchLinkPromotion" +}, +"type": "array" +}, +"semanticState": { +"description": "Output only. Indicates the semantic state of the search response.", +"enum": [ +"SEMANTIC_STATE_UNSPECIFIED", +"DISABLED", +"ENABLED" +], +"enumDescriptions": [ +"Default value. Should not be used.", +"Semantic search was disabled for this search response.", +"Semantic search was enabled for this search response." +], +"readOnly": true, +"type": "string" +}, +"sessionInfo": { +"$ref": "GoogleCloudDiscoveryengineV1SearchResponseSessionInfo", +"description": "Session information. Only set if SearchRequest.session is provided. See its description for more details." +}, +"summary": { +"$ref": "GoogleCloudDiscoveryengineV1SearchResponseSummary", +"description": "A summary as part of the search results. This field is only returned if SearchRequest.ContentSearchSpec.summary_spec is set." +}, +"totalSize": { +"description": "The estimated total count of matched items irrespective of pagination. The count of results returned by pagination may be less than the total_size that matches.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1SearchResponseFacet": { +"description": "A facet result.", +"id": "GoogleCloudDiscoveryengineV1SearchResponseFacet", +"properties": { +"dynamicFacet": { +"description": "Whether the facet is dynamically generated.", +"type": "boolean" +}, +"key": { +"description": "The key for this facet. For example, `\"colors\"` or `\"price\"`. It matches SearchRequest.FacetSpec.FacetKey.key.", +"type": "string" +}, +"values": { +"description": "The facet values for this field.", +"items": { +"$ref": "GoogleCloudDiscoveryengineV1SearchResponseFacetFacetValue" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1SearchResponseFacetFacetValue": { +"description": "A facet value which contains value names and their count.", +"id": "GoogleCloudDiscoveryengineV1SearchResponseFacetFacetValue", +"properties": { +"count": { +"description": "Number of items that have this facet value.", +"format": "int64", +"type": "string" +}, +"interval": { +"$ref": "GoogleCloudDiscoveryengineV1Interval", +"description": "Interval value for a facet, such as 10, 20) for facet \"price\". It matches [SearchRequest.FacetSpec.FacetKey.intervals." +}, +"value": { +"description": "Text value of a facet, such as \"Black\" for facet \"colors\".", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1SearchResponseNaturalLanguageQueryUnderstandingInfo": { +"description": "Information describing what natural language understanding was done on the input query.", +"id": "GoogleCloudDiscoveryengineV1SearchResponseNaturalLanguageQueryUnderstandingInfo", +"properties": { +"classifiedIntents": { +"description": "The classified intents from the input query.", +"items": { +"type": "string" +}, +"type": "array" +}, +"extractedFilters": { +"description": "The filters that were extracted from the input query.", +"type": "string" +}, +"rewrittenQuery": { +"description": "Rewritten input query minus the extracted filters.", +"type": "string" +}, +"structuredExtractedFilter": { +"$ref": "GoogleCloudDiscoveryengineV1SearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilter", +"description": "The filters that were extracted from the input query represented in a structured form." +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1SearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilter": { +"description": "The filters that were extracted from the input query represented in a structured form.", +"id": "GoogleCloudDiscoveryengineV1SearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilter", +"properties": { +"expression": { +"$ref": "GoogleCloudDiscoveryengineV1SearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilterExpression", +"description": "The expression denoting the filter that was extracted from the input query in a structured form. It can be a simple expression denoting a single string, numerical or geolocation constraint or a compound expression which is a combination of multiple expressions connected using logical (OR and AND) operators." +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1SearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilterAndExpression": { +"description": "Logical `And` operator.", +"id": "GoogleCloudDiscoveryengineV1SearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilterAndExpression", +"properties": { +"expressions": { +"description": "The expressions that were ANDed together.", +"items": { +"$ref": "GoogleCloudDiscoveryengineV1SearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilterExpression" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1SearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilterExpression": { +"description": "The expression denoting the filter that was extracted from the input query.", +"id": "GoogleCloudDiscoveryengineV1SearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilterExpression", +"properties": { +"andExpr": { +"$ref": "GoogleCloudDiscoveryengineV1SearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilterAndExpression", +"description": "Logical \"And\" compound operator connecting multiple expressions." +}, +"geolocationConstraint": { +"$ref": "GoogleCloudDiscoveryengineV1SearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilterGeolocationConstraint", +"description": "Geolocation constraint expression." +}, +"numberConstraint": { +"$ref": "GoogleCloudDiscoveryengineV1SearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilterNumberConstraint", +"description": "Numerical constraint expression." +}, +"orExpr": { +"$ref": "GoogleCloudDiscoveryengineV1SearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilterOrExpression", +"description": "Logical \"Or\" compound operator connecting multiple expressions." +}, +"stringConstraint": { +"$ref": "GoogleCloudDiscoveryengineV1SearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilterStringConstraint", +"description": "String constraint expression." +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1SearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilterGeolocationConstraint": { +"description": "Constraint of a geolocation field. Name of the geolocation field as defined in the schema.", +"id": "GoogleCloudDiscoveryengineV1SearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilterGeolocationConstraint", +"properties": { +"address": { +"description": "The reference address that was inferred from the input query. The proximity of the reference address to the geolocation field will be used to filter the results.", +"type": "string" +}, +"fieldName": { +"description": "The name of the geolocation field as defined in the schema.", +"type": "string" +}, +"latitude": { +"description": "The latitude of the geolocation inferred from the input query.", +"format": "double", +"type": "number" +}, +"longitude": { +"description": "The longitude of the geolocation inferred from the input query.", +"format": "double", +"type": "number" +}, +"radiusInMeters": { +"description": "The radius in meters around the address. The record is returned if the location of the geolocation field is within the radius.", +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1SearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilterNumberConstraint": { +"description": "Constraint expression of a number field. Example: price < 100.", +"id": "GoogleCloudDiscoveryengineV1SearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilterNumberConstraint", +"properties": { +"comparison": { +"description": "The comparison operation performed between the field value and the value specified in the constraint.", +"enum": [ +"COMPARISON_UNSPECIFIED", +"EQUALS", +"LESS_THAN_EQUALS", +"LESS_THAN", +"GREATER_THAN_EQUALS", +"GREATER_THAN" +], +"enumDescriptions": [ +"Undefined comparison operator.", +"Denotes equality `=` operator.", +"Denotes less than or equal to `<=` operator.", +"Denotes less than `<` operator.", +"Denotes greater than or equal to `>=` operator.", +"Denotes greater than `>` operator." +], +"type": "string" +}, +"fieldName": { +"description": "Name of the numerical field as defined in the schema.", +"type": "string" +}, +"querySegment": { +"description": "Identifies the keywords within the search query that match a filter.", +"type": "string" +}, +"value": { +"description": "The value specified in the numerical constraint.", +"format": "double", +"type": "number" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1SearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilterOrExpression": { +"description": "Logical `Or` operator.", +"id": "GoogleCloudDiscoveryengineV1SearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilterOrExpression", +"properties": { +"expressions": { +"description": "The expressions that were ORed together.", +"items": { +"$ref": "GoogleCloudDiscoveryengineV1SearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilterExpression" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1SearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilterStringConstraint": { +"description": "Constraint expression of a string field.", +"id": "GoogleCloudDiscoveryengineV1SearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilterStringConstraint", +"properties": { +"fieldName": { +"description": "Name of the string field as defined in the schema.", +"type": "string" +}, +"querySegment": { +"description": "Identifies the keywords within the search query that match a filter.", +"type": "string" +}, +"values": { +"description": "Values of the string field. The record will only be returned if the field value matches one of the values specified here.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1SearchResponseQueryExpansionInfo": { +"description": "Information describing query expansion including whether expansion has occurred.", +"id": "GoogleCloudDiscoveryengineV1SearchResponseQueryExpansionInfo", +"properties": { +"expandedQuery": { +"description": "Bool describing whether query expansion has occurred.", +"type": "boolean" +}, +"pinnedResultCount": { +"description": "Number of pinned results. This field will only be set when expansion happens and SearchRequest.QueryExpansionSpec.pin_unexpanded_results is set to true.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1SearchResponseSearchResult": { +"description": "Represents the search results.", +"id": "GoogleCloudDiscoveryengineV1SearchResponseSearchResult", +"properties": { +"chunk": { +"$ref": "GoogleCloudDiscoveryengineV1Chunk", +"description": "The chunk data in the search response if the SearchRequest.ContentSearchSpec.search_result_mode is set to CHUNKS." +}, +"document": { +"$ref": "GoogleCloudDiscoveryengineV1Document", +"description": "The document data snippet in the search response. Only fields that are marked as `retrievable` are populated." +}, +"id": { +"description": "Document.id of the searched Document.", +"type": "string" +}, +"modelScores": { +"additionalProperties": { +"$ref": "GoogleCloudDiscoveryengineV1DoubleList" +}, +"description": "Output only. Google provided available scores.", +"readOnly": true, +"type": "object" +}, +"rankSignals": { +"$ref": "GoogleCloudDiscoveryengineV1SearchResponseSearchResultRankSignals", +"description": "Optional. A set of ranking signals associated with the result." +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1SearchResponseSearchResultRankSignals": { +"description": "A set of ranking signals.", +"id": "GoogleCloudDiscoveryengineV1SearchResponseSearchResultRankSignals", +"properties": { +"boostingFactor": { +"description": "Optional. Combined custom boosts for a doc.", +"format": "float", +"type": "number" +}, +"customSignals": { +"description": "Optional. A list of custom clearbox signals.", +"items": { +"$ref": "GoogleCloudDiscoveryengineV1SearchResponseSearchResultRankSignalsCustomSignal" +}, +"type": "array" +}, +"defaultRank": { +"description": "Optional. The default rank of the result.", +"format": "float", +"type": "number" +}, +"documentAge": { +"description": "Optional. Age of the document in hours.", +"format": "float", +"type": "number" +}, +"keywordSimilarityScore": { +"description": "Optional. Keyword matching adjustment.", +"format": "float", +"type": "number" +}, +"pctrRank": { +"description": "Optional. Predicted conversion rate adjustment as a rank.", +"format": "float", +"type": "number" +}, +"relevanceScore": { +"description": "Optional. Semantic relevance adjustment.", +"format": "float", +"type": "number" +}, +"semanticSimilarityScore": { +"description": "Optional. Semantic similarity adjustment.", +"format": "float", +"type": "number" +}, +"topicalityRank": { +"description": "Optional. Topicality adjustment as a rank.", +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1SearchResponseSearchResultRankSignalsCustomSignal": { +"description": "Custom clearbox signal represented by name and value pair.", +"id": "GoogleCloudDiscoveryengineV1SearchResponseSearchResultRankSignalsCustomSignal", +"properties": { +"name": { +"description": "Optional. Name of the signal.", +"type": "string" +}, +"value": { +"description": "Optional. Float value representing the ranking signal (e.g. 1.25 for BM25).", +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1SearchResponseSessionInfo": { +"description": "Information about the session.", +"id": "GoogleCloudDiscoveryengineV1SearchResponseSessionInfo", +"properties": { +"name": { +"description": "Name of the session. If the auto-session mode is used (when SearchRequest.session ends with \"-\"), this field holds the newly generated session name.", +"type": "string" +}, +"queryId": { +"description": "Query ID that corresponds to this search API call. One session can have multiple turns, each with a unique query ID. By specifying the session name and this query ID in the Answer API call, the answer generation happens in the context of the search results from this search call.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1SearchResponseSummary": { +"description": "Summary of the top N search results specified by the summary spec.", +"id": "GoogleCloudDiscoveryengineV1SearchResponseSummary", +"properties": { +"safetyAttributes": { +"$ref": "GoogleCloudDiscoveryengineV1SearchResponseSummarySafetyAttributes", +"description": "A collection of Safety Attribute categories and their associated confidence scores." +}, +"summarySkippedReasons": { +"description": "Additional summary-skipped reasons. This provides the reason for ignored cases. If nothing is skipped, this field is not set.", +"items": { +"enum": [ +"SUMMARY_SKIPPED_REASON_UNSPECIFIED", +"ADVERSARIAL_QUERY_IGNORED", +"NON_SUMMARY_SEEKING_QUERY_IGNORED", +"OUT_OF_DOMAIN_QUERY_IGNORED", +"POTENTIAL_POLICY_VIOLATION", +"LLM_ADDON_NOT_ENABLED", +"NO_RELEVANT_CONTENT", +"JAIL_BREAKING_QUERY_IGNORED", +"CUSTOMER_POLICY_VIOLATION", +"NON_SUMMARY_SEEKING_QUERY_IGNORED_V2", +"TIME_OUT" +], +"enumDescriptions": [ +"Default value. The summary skipped reason is not specified.", +"The adversarial query ignored case. Only used when SummarySpec.ignore_adversarial_query is set to `true`.", +"The non-summary seeking query ignored case. Google skips the summary if the query is chit chat. Only used when SummarySpec.ignore_non_summary_seeking_query is set to `true`.", +"The out-of-domain query ignored case. Google skips the summary if there are no high-relevance search results. For example, the data store contains facts about company A but the user query is asking questions about company B.", +"The potential policy violation case. Google skips the summary if there is a potential policy violation detected. This includes content that may be violent or toxic.", +"The LLM addon not enabled case. Google skips the summary if the LLM addon is not enabled.", +"The no relevant content case. Google skips the summary if there is no relevant content in the retrieved search results.", +"The jail-breaking query ignored case. For example, \"Reply in the tone of a competing company's CEO\". Only used when [SearchRequest.ContentSearchSpec.SummarySpec.ignore_jail_breaking_query] is set to `true`.", +"The customer policy violation case. Google skips the summary if there is a customer policy violation detected. The policy is defined by the customer.", +"The non-answer seeking query ignored case. Google skips the summary if the query doesn't have clear intent. Only used when [SearchRequest.ContentSearchSpec.SummarySpec.ignore_non_answer_seeking_query] is set to `true`.", +"The time out case. Google skips the summary if the time out." +], +"type": "string" +}, +"type": "array" +}, +"summaryText": { +"description": "The summary content.", +"type": "string" +}, +"summaryWithMetadata": { +"$ref": "GoogleCloudDiscoveryengineV1SearchResponseSummarySummaryWithMetadata", +"description": "Summary with metadata information." +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1SearchResponseSummaryCitation": { +"description": "Citation info for a segment.", +"id": "GoogleCloudDiscoveryengineV1SearchResponseSummaryCitation", +"properties": { +"endIndex": { +"description": "End of the attributed segment, exclusive.", +"format": "int64", +"type": "string" +}, +"sources": { +"description": "Citation sources for the attributed segment.", +"items": { +"$ref": "GoogleCloudDiscoveryengineV1SearchResponseSummaryCitationSource" +}, +"type": "array" +}, +"startIndex": { +"description": "Index indicates the start of the segment, measured in bytes/unicode.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1SearchResponseSummaryCitationMetadata": { +"description": "Citation metadata.", +"id": "GoogleCloudDiscoveryengineV1SearchResponseSummaryCitationMetadata", +"properties": { +"citations": { +"description": "Citations for segments.", +"items": { +"$ref": "GoogleCloudDiscoveryengineV1SearchResponseSummaryCitation" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1SearchResponseSummaryCitationSource": { +"description": "Citation source.", +"id": "GoogleCloudDiscoveryengineV1SearchResponseSummaryCitationSource", +"properties": { +"referenceIndex": { +"description": "Document reference index from SummaryWithMetadata.references. It is 0-indexed and the value will be zero if the reference_index is not set explicitly.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1SearchResponseSummaryReference": { +"description": "Document reference.", +"id": "GoogleCloudDiscoveryengineV1SearchResponseSummaryReference", +"properties": { +"chunkContents": { +"description": "List of cited chunk contents derived from document content.", +"items": { +"$ref": "GoogleCloudDiscoveryengineV1SearchResponseSummaryReferenceChunkContent" +}, +"type": "array" +}, +"document": { +"description": "Required. Document.name of the document. Full resource name of the referenced document, in the format `projects/*/locations/*/collections/*/dataStores/*/branches/*/documents/*`.", +"type": "string" +}, +"title": { +"description": "Title of the document.", +"type": "string" +}, +"uri": { +"description": "Cloud Storage or HTTP uri for the document.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1SearchResponseSummaryReferenceChunkContent": { +"description": "Chunk content.", +"id": "GoogleCloudDiscoveryengineV1SearchResponseSummaryReferenceChunkContent", +"properties": { +"content": { +"description": "Chunk textual content.", +"type": "string" +}, +"pageIdentifier": { +"description": "Page identifier.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1SearchResponseSummarySafetyAttributes": { +"description": "Safety Attribute categories and their associated confidence scores.", +"id": "GoogleCloudDiscoveryengineV1SearchResponseSummarySafetyAttributes", +"properties": { +"categories": { +"description": "The display names of Safety Attribute categories associated with the generated content. Order matches the Scores.", +"items": { +"type": "string" +}, +"type": "array" +}, +"scores": { +"description": "The confidence scores of the each category, higher value means higher confidence. Order matches the Categories.", +"items": { +"format": "float", +"type": "number" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1SearchResponseSummarySummaryWithMetadata": { +"description": "Summary with metadata information.", +"id": "GoogleCloudDiscoveryengineV1SearchResponseSummarySummaryWithMetadata", +"properties": { +"citationMetadata": { +"$ref": "GoogleCloudDiscoveryengineV1SearchResponseSummaryCitationMetadata", +"description": "Citation metadata for given summary." +}, +"references": { +"description": "Document References.", +"items": { +"$ref": "GoogleCloudDiscoveryengineV1SearchResponseSummaryReference" +}, +"type": "array" +}, +"summary": { +"description": "Summary text with no citation information.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1ServingConfig": { +"description": "Configures metadata that is used to generate serving time results (e.g. search results or recommendation predictions). The ServingConfig is passed in the search and predict request and generates results.", +"id": "GoogleCloudDiscoveryengineV1ServingConfig", +"properties": { +"answerGenerationSpec": { +"$ref": "GoogleCloudDiscoveryengineV1AnswerGenerationSpec", +"description": "Optional. The specification for answer generation." +}, +"boostControlIds": { +"description": "Boost controls to use in serving path. All triggered boost controls will be applied. Boost controls must be in the same data store as the serving config. Maximum of 20 boost controls.", +"items": { +"type": "string" +}, +"type": "array" +}, +"createTime": { +"description": "Output only. ServingConfig created timestamp.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"displayName": { +"description": "Required. The human readable serving config display name. Used in Discovery UI. This field must be a UTF-8 encoded string with a length limit of 128 characters. Otherwise, an INVALID_ARGUMENT error is returned.", +"type": "string" +}, +"dissociateControlIds": { +"description": "Condition do not associate specifications. If multiple do not associate conditions match, all matching do not associate controls in the list will execute. Order does not matter. Maximum number of specifications is 100. Can only be set if SolutionType is SOLUTION_TYPE_SEARCH.", +"items": { +"type": "string" +}, +"type": "array" +}, +"diversityLevel": { +"description": "How much diversity to use in recommendation model results e.g. `medium-diversity` or `high-diversity`. Currently supported values: * `no-diversity` * `low-diversity` * `medium-diversity` * `high-diversity` * `auto-diversity` If not specified, we choose default based on recommendation model type. Default value: `no-diversity`. Can only be set if SolutionType is SOLUTION_TYPE_RECOMMENDATION.", +"type": "string" +}, +"filterControlIds": { +"description": "Filter controls to use in serving path. All triggered filter controls will be applied. Filter controls must be in the same data store as the serving config. Maximum of 20 filter controls.", +"items": { +"type": "string" +}, +"type": "array" +}, +"genericConfig": { +"$ref": "GoogleCloudDiscoveryengineV1ServingConfigGenericConfig", +"description": "The GenericConfig of the serving configuration." +}, +"ignoreControlIds": { +"description": "Condition ignore specifications. If multiple ignore conditions match, all matching ignore controls in the list will execute. Order does not matter. Maximum number of specifications is 100.", +"items": { +"type": "string" +}, +"type": "array" +}, +"mediaConfig": { +"$ref": "GoogleCloudDiscoveryengineV1ServingConfigMediaConfig", +"description": "The MediaConfig of the serving configuration." +}, +"modelId": { +"description": "The id of the model to use at serving time. Currently only RecommendationModels are supported. Can be changed but only to a compatible model (e.g. others-you-may-like CTR to others-you-may-like CVR). Required when SolutionType is SOLUTION_TYPE_RECOMMENDATION.", +"type": "string" +}, +"name": { +"description": "Immutable. Fully qualified name `projects/{project}/locations/{location}/collections/{collection_id}/engines/{engine_id}/servingConfigs/{serving_config_id}`", +"type": "string" +}, +"onewaySynonymsControlIds": { +"description": "Condition oneway synonyms specifications. If multiple oneway synonyms conditions match, all matching oneway synonyms controls in the list will execute. Maximum number of specifications is 100. Can only be set if SolutionType is SOLUTION_TYPE_SEARCH.", +"items": { +"type": "string" +}, +"type": "array" +}, +"promoteControlIds": { +"description": "Condition promote specifications. Maximum number of specifications is 100.", +"items": { +"type": "string" +}, +"type": "array" +}, +"rankingExpression": { +"description": "The ranking expression controls the customized ranking on retrieval documents. To leverage this, document embedding is required. The ranking expression setting in ServingConfig applies to all search requests served by the serving config. However, if `SearchRequest.ranking_expression` is specified, it overrides the ServingConfig ranking expression. The ranking expression is a single function or multiple functions that are joined by \"+\". * ranking_expression = function, { \" + \", function }; Supported functions: * double * relevance_score * double * dotProduct(embedding_field_path) Function variables: * `relevance_score`: pre-defined keywords, used for measure relevance between query and document. * `embedding_field_path`: the document embedding field used with query embedding vector. * `dotProduct`: embedding function between embedding_field_path and query embedding vector. Example ranking expression: If document has an embedding field doc_embedding, the ranking expression could be `0.5 * relevance_score + 0.3 * dotProduct(doc_embedding)`.", +"type": "string" +}, +"redirectControlIds": { +"description": "IDs of the redirect controls. Only the first triggered redirect action is applied, even if multiple apply. Maximum number of specifications is 100. Can only be set if SolutionType is SOLUTION_TYPE_SEARCH.", +"items": { +"type": "string" +}, +"type": "array" +}, +"replacementControlIds": { +"description": "Condition replacement specifications. Applied according to the order in the list. A previously replaced term can not be re-replaced. Maximum number of specifications is 100. Can only be set if SolutionType is SOLUTION_TYPE_SEARCH.", +"items": { +"type": "string" +}, +"type": "array" +}, +"solutionType": { +"description": "Required. Immutable. Specifies the solution type that a serving config can be associated with.", +"enum": [ +"SOLUTION_TYPE_UNSPECIFIED", +"SOLUTION_TYPE_RECOMMENDATION", +"SOLUTION_TYPE_SEARCH", +"SOLUTION_TYPE_CHAT", +"SOLUTION_TYPE_GENERATIVE_CHAT", +"SOLUTION_TYPE_AI_MODE" +], +"enumDescriptions": [ +"Default value.", +"Used for Recommendations AI.", +"Used for Discovery Search.", +"Used for use cases related to the Generative AI agent.", +"Used for use cases related to the Generative Chat agent. It's used for Generative chat engine only, the associated data stores must enrolled with `SOLUTION_TYPE_CHAT` solution.", +"Used for AI Mode." +], +"type": "string" +}, +"synonymsControlIds": { +"description": "Condition synonyms specifications. If multiple synonyms conditions match, all matching synonyms controls in the list will execute. Maximum number of specifications is 100. Can only be set if SolutionType is SOLUTION_TYPE_SEARCH.", +"items": { +"type": "string" +}, +"type": "array" +}, +"updateTime": { +"description": "Output only. ServingConfig updated timestamp.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1ServingConfigGenericConfig": { +"description": "Specifies the configurations needed for Generic Discovery.Currently we support: * `content_search_spec`: configuration for generic content search.", +"id": "GoogleCloudDiscoveryengineV1ServingConfigGenericConfig", +"properties": { +"contentSearchSpec": { +"$ref": "GoogleCloudDiscoveryengineV1SearchRequestContentSearchSpec", +"description": "Specifies the expected behavior of content search. Only valid for content-search enabled data store." +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1ServingConfigMediaConfig": { +"description": "Specifies the configurations needed for Media Discovery. Currently we support: * `demote_content_watched`: Threshold for watched content demotion. Customers can specify if using watched content demotion or use viewed detail page. Using the content watched demotion, customers need to specify the watched minutes or percentage exceeds the threshold, the content will be demoted in the recommendation result. * `promote_fresh_content`: cutoff days for fresh content promotion. Customers can specify if using content freshness promotion. If the content was published within the cutoff days, the content will be promoted in the recommendation result. Can only be set if SolutionType is SOLUTION_TYPE_RECOMMENDATION.", +"id": "GoogleCloudDiscoveryengineV1ServingConfigMediaConfig", +"properties": { +"contentFreshnessCutoffDays": { +"description": "Specifies the content freshness used for recommendation result. Contents will be demoted if contents were published for more than content freshness cutoff days.", +"format": "int32", +"type": "integer" +}, +"contentWatchedPercentageThreshold": { +"description": "Specifies the content watched percentage threshold for demotion. Threshold value must be between [0, 1.0] inclusive.", +"format": "float", +"type": "number" +}, +"contentWatchedSecondsThreshold": { +"description": "Specifies the content watched minutes threshold for demotion.", +"format": "float", +"type": "number" +}, +"demoteContentWatchedPastDays": { +"description": "Optional. Specifies the number of days to look back for demoting watched content. If set to zero or unset, defaults to the maximum of 365 days.", +"format": "int32", +"type": "integer" +}, +"demotionEventType": { +"description": "Specifies the event type used for demoting recommendation result. Currently supported values: * `view-item`: Item viewed. * `media-play`: Start/resume watching a video, playing a song, etc. * `media-complete`: Finished or stopped midway through a video, song, etc. If unset, watch history demotion will not be applied. Content freshness demotion will still be applied.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1Session": { +"description": "External session proto definition.", +"id": "GoogleCloudDiscoveryengineV1Session", +"properties": { +"displayName": { +"description": "Optional. The display name of the session. This field is used to identify the session in the UI. By default, the display name is the first turn query text in the session.", +"type": "string" +}, +"endTime": { +"description": "Output only. The time the session finished.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"isPinned": { +"description": "Optional. Whether the session is pinned, pinned session will be displayed on the top of the session list.", +"type": "boolean" +}, +"labels": { +"description": "Optional. The labels for the session. Can be set as filter in ListSessionsRequest.", +"items": { +"type": "string" +}, +"type": "array" +}, +"name": { +"description": "Immutable. Fully qualified name `projects/{project}/locations/global/collections/{collection}/engines/{engine}/sessions/*`", +"type": "string" +}, +"startTime": { +"description": "Output only. The time the session started.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"state": { +"description": "The state of the session.", +"enum": [ +"STATE_UNSPECIFIED", +"IN_PROGRESS" +], +"enumDescriptions": [ +"State is unspecified.", +"The session is currently open." +], +"type": "string" +}, +"turns": { +"description": "Turns.", +"items": { +"$ref": "GoogleCloudDiscoveryengineV1SessionTurn" +}, +"type": "array" +}, +"userPseudoId": { +"description": "A unique identifier for tracking users.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1SessionTurn": { +"description": "Represents a turn, including a query from the user and a answer from service.", +"id": "GoogleCloudDiscoveryengineV1SessionTurn", +"properties": { +"answer": { +"description": "Optional. The resource name of the answer to the user query. Only set if the answer generation (/answer API call) happened in this turn.", +"type": "string" +}, +"detailedAnswer": { +"$ref": "GoogleCloudDiscoveryengineV1Answer", +"description": "Output only. In ConversationalSearchService.GetSession API, if GetSessionRequest.include_answer_details is set to true, this field will be populated when getting answer query session.", +"readOnly": true +}, +"detailedAssistAnswer": { +"$ref": "GoogleCloudDiscoveryengineV1AssistAnswer", +"description": "Output only. In ConversationalSearchService.GetSession API, if GetSessionRequest.include_answer_details is set to true, this field will be populated when getting assistant session.", +"readOnly": true +}, +"query": { +"$ref": "GoogleCloudDiscoveryengineV1Query", +"description": "Optional. The user query. May not be set if this turn is merely regenerating an answer to a different turn" +}, +"queryConfig": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. Represents metadata related to the query config, for example LLM model and version used, model parameters (temperature, grounding parameters, etc.). The prefix \"google.\" is reserved for Google-developed functionality.", +"type": "object" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1SetUpDataConnectorMetadata": { +"description": "Metadata for DataConnectorService.SetUpDataConnector method.", +"id": "GoogleCloudDiscoveryengineV1SetUpDataConnectorMetadata", +"properties": {}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1SetUpDataConnectorRequest": { +"description": "Request for DataConnectorService.SetUpDataConnector method.", +"id": "GoogleCloudDiscoveryengineV1SetUpDataConnectorRequest", +"properties": { +"collectionDisplayName": { +"description": "Required. The display name of the Collection. Should be human readable, used to display collections in the Console Dashboard. UTF-8 encoded string with limit of 1024 characters.", +"type": "string" +}, +"collectionId": { +"description": "Required. The ID to use for the Collection, which will become the final component of the Collection's resource name. A new Collection is created as part of the DataConnector setup. DataConnector is a singleton resource under Collection, managing all DataStores of the Collection. This field must conform to [RFC-1034](https://tools.ietf.org/html/rfc1034) standard with a length limit of 63 characters. Otherwise, an INVALID_ARGUMENT error is returned.", +"type": "string" +}, +"dataConnector": { +"$ref": "GoogleCloudDiscoveryengineV1DataConnector", +"description": "Required. The DataConnector to initialize in the newly created Collection." +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1SingleRegionKey": { +"description": "Metadata for single-regional CMEKs.", +"id": "GoogleCloudDiscoveryengineV1SingleRegionKey", +"properties": { +"kmsKey": { +"description": "Required. Single-regional kms key resource name which will be used to encrypt resources `projects/{project}/locations/{location}/keyRings/{keyRing}/cryptoKeys/{keyId}`.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1SiteSearchEngine": { +"description": "SiteSearchEngine captures DataStore level site search persisting configurations. It is a singleton value per data store.", +"id": "GoogleCloudDiscoveryengineV1SiteSearchEngine", +"properties": { +"name": { +"description": "The fully qualified resource name of the site search engine. Format: `projects/*/locations/*/dataStores/*/siteSearchEngine`", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1SiteVerificationInfo": { +"description": "Verification information for target sites in advanced site search.", +"id": "GoogleCloudDiscoveryengineV1SiteVerificationInfo", +"properties": { +"siteVerificationState": { +"description": "Site verification state indicating the ownership and validity.", +"enum": [ +"SITE_VERIFICATION_STATE_UNSPECIFIED", +"VERIFIED", +"UNVERIFIED", +"EXEMPTED" +], +"enumDescriptions": [ +"Defaults to VERIFIED.", +"Site ownership verified.", +"Site ownership pending verification or verification failed.", +"Site exempt from verification, e.g., a public website that opens to all." +], +"type": "string" +}, +"verifyTime": { +"description": "Latest site verification time.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1Sitemap": { +"description": "A sitemap for the SiteSearchEngine.", +"id": "GoogleCloudDiscoveryengineV1Sitemap", +"properties": { +"createTime": { +"description": "Output only. The sitemap's creation time.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"name": { +"description": "Output only. The fully qualified resource name of the sitemap. `projects/*/locations/*/collections/*/dataStores/*/siteSearchEngine/sitemaps/*` The `sitemap_id` suffix is system-generated.", +"readOnly": true, +"type": "string" +}, +"uri": { +"description": "Public URI for the sitemap, e.g. `www.example.com/sitemap.xml`.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1SpannerSource": { +"description": "The Spanner source for importing data", +"id": "GoogleCloudDiscoveryengineV1SpannerSource", +"properties": { +"databaseId": { +"description": "Required. The database ID of the source Spanner table.", +"type": "string" +}, +"enableDataBoost": { +"description": "Whether to apply data boost on Spanner export. Enabling this option will incur additional cost. More info can be found [here](https://cloud.google.com/spanner/docs/databoost/databoost-overview#billing_and_quotas).", +"type": "boolean" +}, +"instanceId": { +"description": "Required. The instance ID of the source Spanner table.", +"type": "string" +}, +"projectId": { +"description": "The project ID that contains the Spanner source. Has a length limit of 128 characters. If not specified, inherits the project ID from the parent request.", +"type": "string" +}, +"tableId": { +"description": "Required. The table name of the Spanner database that needs to be imported.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1StreamAssistRequest": { +"description": "Request for the AssistantService.StreamAssist method.", +"id": "GoogleCloudDiscoveryengineV1StreamAssistRequest", +"properties": { +"generationSpec": { +"$ref": "GoogleCloudDiscoveryengineV1StreamAssistRequestGenerationSpec", +"description": "Optional. Specification of the generation configuration for the request." +}, +"query": { +"$ref": "GoogleCloudDiscoveryengineV1Query", +"description": "Optional. Current user query. Empty query is only supported if `file_ids` are provided. In this case, the answer will be generated based on those context files." +}, +"session": { +"description": "Optional. The session to use for the request. If specified, the assistant has access to the session history, and the query and the answer are stored there. If `-` is specified as the session ID, or it is left empty, then a new session is created with an automatically generated ID. Format: `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}`", +"type": "string" +}, +"toolsSpec": { +"$ref": "GoogleCloudDiscoveryengineV1StreamAssistRequestToolsSpec", +"description": "Optional. Specification of tools that are used to serve the request." +}, +"userMetadata": { +"$ref": "GoogleCloudDiscoveryengineV1AssistUserMetadata", +"description": "Optional. Information about the user initiating the query." +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1StreamAssistRequestGenerationSpec": { +"description": "Assistant generation specification for the request. This allows to override the default generation configuration at the engine level.", +"id": "GoogleCloudDiscoveryengineV1StreamAssistRequestGenerationSpec", +"properties": { +"modelId": { +"description": "Optional. The Vertex AI model_id used for the generative model. If not set, the default Assistant model will be used.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1StreamAssistRequestToolsSpec": { +"description": "Specification of tools that are used to serve the request.", +"id": "GoogleCloudDiscoveryengineV1StreamAssistRequestToolsSpec", +"properties": { +"imageGenerationSpec": { +"$ref": "GoogleCloudDiscoveryengineV1StreamAssistRequestToolsSpecImageGenerationSpec", +"description": "Optional. Specification of the image generation tool." +}, +"vertexAiSearchSpec": { +"$ref": "GoogleCloudDiscoveryengineV1StreamAssistRequestToolsSpecVertexAiSearchSpec", +"description": "Optional. Specification of the Vertex AI Search tool." +}, +"videoGenerationSpec": { +"$ref": "GoogleCloudDiscoveryengineV1StreamAssistRequestToolsSpecVideoGenerationSpec", +"description": "Optional. Specification of the video generation tool." +}, +"webGroundingSpec": { +"$ref": "GoogleCloudDiscoveryengineV1StreamAssistRequestToolsSpecWebGroundingSpec", +"description": "Optional. Specification of the web grounding tool. If field is present, enables grounding with web search. Works only if Assistant.web_grounding_type is WEB_GROUNDING_TYPE_GOOGLE_SEARCH or WEB_GROUNDING_TYPE_ENTERPRISE_WEB_SEARCH." +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1StreamAssistRequestToolsSpecImageGenerationSpec": { +"description": "Specification of the image generation tool.", +"id": "GoogleCloudDiscoveryengineV1StreamAssistRequestToolsSpecImageGenerationSpec", +"properties": {}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1StreamAssistRequestToolsSpecVertexAiSearchSpec": { +"description": "Specification of the Vertex AI Search tool.", +"id": "GoogleCloudDiscoveryengineV1StreamAssistRequestToolsSpecVertexAiSearchSpec", +"properties": { +"dataStoreSpecs": { +"description": "Optional. Specs defining DataStores to filter on in a search call and configurations for those data stores. This is only considered for Engines with multiple data stores.", +"items": { +"$ref": "GoogleCloudDiscoveryengineV1SearchRequestDataStoreSpec" +}, +"type": "array" +}, +"filter": { +"description": "Optional. The filter syntax consists of an expression language for constructing a predicate from one or more fields of the documents being filtered. Filter expression is case-sensitive. If this field is unrecognizable, an `INVALID_ARGUMENT` is returned. Filtering in Vertex AI Search is done by mapping the LHS filter key to a key property defined in the Vertex AI Search backend -- this mapping is defined by the customer in their schema. For example a media customer might have a field 'name' in their schema. In this case the filter would look like this: filter --> name:'ANY(\"king kong\")' For more information about filtering including syntax and filter operators, see [Filter](https://cloud.google.com/generative-ai-app-builder/docs/filter-search-metadata)", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1StreamAssistRequestToolsSpecVideoGenerationSpec": { +"description": "Specification of the video generation tool.", +"id": "GoogleCloudDiscoveryengineV1StreamAssistRequestToolsSpecVideoGenerationSpec", +"properties": {}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1StreamAssistRequestToolsSpecWebGroundingSpec": { +"description": "Specification of the web grounding tool.", +"id": "GoogleCloudDiscoveryengineV1StreamAssistRequestToolsSpecWebGroundingSpec", +"properties": {}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1StreamAssistResponse": { +"description": "Response for the AssistantService.StreamAssist method.", +"id": "GoogleCloudDiscoveryengineV1StreamAssistResponse", +"properties": { +"answer": { +"$ref": "GoogleCloudDiscoveryengineV1AssistAnswer", +"description": "Assist answer resource object containing parts of the assistant's final answer for the user's query. Not present if the current response doesn't add anything to previously sent AssistAnswer.replies. Observe AssistAnswer.state to see if more parts are to be expected. While the state is `IN_PROGRESS`, the AssistAnswer.replies field in each response will contain replies (reply fragments) to be appended to the ones received in previous responses. AssistAnswer.name won't be filled. If the state is `SUCCEEDED`, `FAILED` or `SKIPPED`, the response is the last response and AssistAnswer.name will have a value." +}, +"assistToken": { +"description": "A global unique ID that identifies the current pair of request and stream of responses. Used for feedback and support.", +"type": "string" +}, +"invocationTools": { +"description": "The tool names of the tools that were invoked.", +"items": { +"type": "string" +}, +"type": "array" +}, +"sessionInfo": { +"$ref": "GoogleCloudDiscoveryengineV1StreamAssistResponseSessionInfo", +"description": "Session information. Only included in the final StreamAssistResponse of the response stream." +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1StreamAssistResponseSessionInfo": { +"description": "Information about the session.", +"id": "GoogleCloudDiscoveryengineV1StreamAssistResponseSessionInfo", +"properties": { +"session": { +"description": "Name of the newly generated or continued session. Format: `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}`.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1SuggestionDenyListEntry": { +"description": "Suggestion deny list entry identifying the phrase to block from suggestions and the applied operation for the phrase.", +"id": "GoogleCloudDiscoveryengineV1SuggestionDenyListEntry", +"properties": { +"blockPhrase": { +"description": "Required. Phrase to block from suggestions served. Can be maximum 125 characters.", +"type": "string" +}, +"matchOperator": { +"description": "Required. The match operator to apply for this phrase. Whether to block the exact phrase, or block any suggestions containing this phrase.", +"enum": [ +"MATCH_OPERATOR_UNSPECIFIED", +"EXACT_MATCH", +"CONTAINS" +], +"enumDescriptions": [ +"Default value. Should not be used", +"If the suggestion is an exact match to the block_phrase, then block it.", +"If the suggestion contains the block_phrase, then block it." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1TargetSite": { +"description": "A target site for the SiteSearchEngine.", +"id": "GoogleCloudDiscoveryengineV1TargetSite", +"properties": { +"exactMatch": { +"description": "Immutable. If set to false, a uri_pattern is generated to include all pages whose address contains the provided_uri_pattern. If set to true, an uri_pattern is generated to try to be an exact match of the provided_uri_pattern or just the specific page if the provided_uri_pattern is a specific one. provided_uri_pattern is always normalized to generate the URI pattern to be used by the search engine.", +"type": "boolean" +}, +"failureReason": { +"$ref": "GoogleCloudDiscoveryengineV1TargetSiteFailureReason", +"description": "Output only. Failure reason.", +"readOnly": true +}, +"generatedUriPattern": { +"description": "Output only. This is system-generated based on the provided_uri_pattern.", +"readOnly": true, +"type": "string" +}, +"indexingStatus": { +"description": "Output only. Indexing status.", +"enum": [ +"INDEXING_STATUS_UNSPECIFIED", +"PENDING", +"FAILED", +"SUCCEEDED", +"DELETING", +"CANCELLABLE", +"CANCELLED" +], +"enumDescriptions": [ +"Defaults to SUCCEEDED.", +"The target site is in the update queue and will be picked up by indexing pipeline.", +"The target site fails to be indexed.", +"The target site has been indexed.", +"The previously indexed target site has been marked to be deleted. This is a transitioning state which will resulted in either: 1. target site deleted if unindexing is successful; 2. state reverts to SUCCEEDED if the unindexing fails.", +"The target site change is pending but cancellable.", +"The target site change is cancelled." +], +"readOnly": true, +"type": "string" +}, +"name": { +"description": "Output only. The fully qualified resource name of the target site. `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}` The `target_site_id` is system-generated.", +"readOnly": true, +"type": "string" +}, +"providedUriPattern": { +"description": "Required. Input only. The user provided URI pattern from which the `generated_uri_pattern` is generated.", +"type": "string" +}, +"rootDomainUri": { +"description": "Output only. Root domain of the provided_uri_pattern.", +"readOnly": true, +"type": "string" +}, +"siteVerificationInfo": { +"$ref": "GoogleCloudDiscoveryengineV1SiteVerificationInfo", +"description": "Output only. Site ownership and validity verification status.", +"readOnly": true +}, +"type": { +"description": "The type of the target site, e.g., whether the site is to be included or excluded.", +"enum": [ +"TYPE_UNSPECIFIED", +"INCLUDE", +"EXCLUDE" +], +"enumDescriptions": [ +"This value is unused. In this case, server behavior defaults to Type.INCLUDE.", +"Include the target site.", +"Exclude the target site." +], +"type": "string" +}, +"updateTime": { +"description": "Output only. The target site's last updated time.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1TargetSiteFailureReason": { +"description": "Site search indexing failure reasons.", +"id": "GoogleCloudDiscoveryengineV1TargetSiteFailureReason", +"properties": { +"quotaFailure": { +"$ref": "GoogleCloudDiscoveryengineV1TargetSiteFailureReasonQuotaFailure", +"description": "Failed due to insufficient quota." +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1TargetSiteFailureReasonQuotaFailure": { +"description": "Failed due to insufficient quota.", +"id": "GoogleCloudDiscoveryengineV1TargetSiteFailureReasonQuotaFailure", +"properties": { +"totalRequiredQuota": { +"description": "This number is an estimation on how much total quota this project needs to successfully complete indexing.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1Tenant": { +"description": "Tenant information for a connector source. This includes some of the same information stored in the Credential message, but is limited to only what is needed to provide a list of accessible tenants to the user.", +"id": "GoogleCloudDiscoveryengineV1Tenant", +"properties": { +"displayName": { +"description": "Optional display name for the tenant, e.g. \"My Slack Team\".", +"type": "string" +}, +"id": { +"description": "The tenant's instance ID. Examples: Jira (\"8594f221-9797-5f78-1fa4-485e198d7cd0\"), Slack (\"T123456\").", +"type": "string" +}, +"uri": { +"description": "The URI of the tenant, if applicable. For example, the URI of a Jira instance is https://my-jira-instance.atlassian.net, and a Slack tenant does not have a URI.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1TextInput": { +"description": "Defines text input.", +"id": "GoogleCloudDiscoveryengineV1TextInput", +"properties": { +"context": { +"$ref": "GoogleCloudDiscoveryengineV1ConversationContext", +"description": "Conversation context of the input." +}, +"input": { +"description": "Text input.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1TrainCustomModelMetadata": { +"description": "Metadata related to the progress of the TrainCustomModel operation. This is returned by the google.longrunning.Operation.metadata field.", +"id": "GoogleCloudDiscoveryengineV1TrainCustomModelMetadata", +"properties": { +"createTime": { +"description": "Operation create time.", +"format": "google-datetime", +"type": "string" +}, +"updateTime": { +"description": "Operation last update time. If the operation is done, this is also the finish time.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1TrainCustomModelRequest": { +"description": "Request message for SearchTuningService.TrainCustomModel method.", +"id": "GoogleCloudDiscoveryengineV1TrainCustomModelRequest", +"properties": { +"errorConfig": { +"$ref": "GoogleCloudDiscoveryengineV1ImportErrorConfig", +"description": "The desired location of errors incurred during the data ingestion and training." +}, +"gcsTrainingInput": { +"$ref": "GoogleCloudDiscoveryengineV1TrainCustomModelRequestGcsTrainingInput", +"description": "Cloud Storage training input." +}, +"modelId": { +"description": "If not provided, a UUID will be generated.", +"type": "string" +}, +"modelType": { +"description": "Model to be trained. Supported values are: * **search-tuning**: Fine tuning the search system based on data provided.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1TrainCustomModelRequestGcsTrainingInput": { +"description": "Cloud Storage training data input.", +"id": "GoogleCloudDiscoveryengineV1TrainCustomModelRequestGcsTrainingInput", +"properties": { +"corpusDataPath": { +"description": "The Cloud Storage corpus data which could be associated in train data. The data path format is `gs:///`. A newline delimited jsonl/ndjson file. For search-tuning model, each line should have the _id, title and text. Example: `{\"_id\": \"doc1\", title: \"relevant doc\", \"text\": \"relevant text\"}`", +"type": "string" +}, +"queryDataPath": { +"description": "The gcs query data which could be associated in train data. The data path format is `gs:///`. A newline delimited jsonl/ndjson file. For search-tuning model, each line should have the _id and text. Example: {\"_id\": \"query1\", \"text\": \"example query\"}", +"type": "string" +}, +"testDataPath": { +"description": "Cloud Storage test data. Same format as train_data_path. If not provided, a random 80/20 train/test split will be performed on train_data_path.", +"type": "string" +}, +"trainDataPath": { +"description": "Cloud Storage training data path whose format should be `gs:///`. The file should be in tsv format. Each line should have the doc_id and query_id and score (number). For search-tuning model, it should have the query-id corpus-id score as tsv file header. The score should be a number in `[0, inf+)`. The larger the number is, the more relevant the pair is. Example: * `query-id\\tcorpus-id\\tscore` * `query1\\tdoc1\\t1`", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1TrainCustomModelResponse": { +"description": "Response of the TrainCustomModelRequest. This message is returned by the google.longrunning.Operations.response field.", +"id": "GoogleCloudDiscoveryengineV1TrainCustomModelResponse", +"properties": { +"errorConfig": { +"$ref": "GoogleCloudDiscoveryengineV1ImportErrorConfig", +"description": "Echoes the destination for the complete errors in the request if set." +}, +"errorSamples": { +"description": "A sample of errors encountered while processing the data.", +"items": { +"$ref": "GoogleRpcStatus" +}, +"type": "array" +}, +"metrics": { +"additionalProperties": { +"format": "double", +"type": "number" +}, +"description": "The metrics of the trained model.", +"type": "object" +}, +"modelName": { +"description": "Fully qualified name of the CustomTuningModel.", +"type": "string" +}, +"modelStatus": { +"description": "The trained model status. Possible values are: * **bad-data**: The training data quality is bad. * **no-improvement**: Tuning didn't improve performance. Won't deploy. * **in-progress**: Model training job creation is in progress. * **training**: Model is actively training. * **evaluating**: The model is evaluating trained metrics. * **indexing**: The model trained metrics are indexing. * **ready**: The model is ready for serving.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1TransactionInfo": { +"description": "A transaction represents the entire purchase transaction.", +"id": "GoogleCloudDiscoveryengineV1TransactionInfo", +"properties": { +"cost": { +"description": "All the costs associated with the products. These can be manufacturing costs, shipping expenses not borne by the end user, or any other costs, such that: * Profit = value - tax - cost", +"format": "float", +"type": "number" +}, +"currency": { +"description": "Required. Currency code. Use three-character ISO-4217 code.", +"type": "string" +}, +"discountValue": { +"description": "The total discount(s) value applied to this transaction. This figure should be excluded from TransactionInfo.value For example, if a user paid TransactionInfo.value amount, then nominal (pre-discount) value of the transaction is the sum of TransactionInfo.value and TransactionInfo.discount_value This means that profit is calculated the same way, regardless of the discount value, and that TransactionInfo.discount_value can be larger than TransactionInfo.value: * Profit = value - tax - cost", +"format": "float", +"type": "number" +}, +"tax": { +"description": "All the taxes associated with the transaction.", +"format": "float", +"type": "number" +}, +"transactionId": { +"description": "The transaction ID with a length limit of 128 characters.", +"type": "string" +}, +"value": { +"description": "Required. Total non-zero value associated with the transaction. This value may include shipping, tax, or other adjustments to the total value that you want to include.", +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1UpdateCmekConfigMetadata": { +"description": "Metadata related to the progress of the CmekConfigService.UpdateCmekConfig operation. This will be returned by the google.longrunning.Operation.metadata field.", +"id": "GoogleCloudDiscoveryengineV1UpdateCmekConfigMetadata", +"properties": { +"createTime": { +"description": "Operation create time.", +"format": "google-datetime", +"type": "string" +}, +"updateTime": { +"description": "Operation last update time. If the operation is done, this is also the finish time.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1UpdateSchemaMetadata": { +"description": "Metadata for UpdateSchema LRO.", +"id": "GoogleCloudDiscoveryengineV1UpdateSchemaMetadata", +"properties": { +"createTime": { +"description": "Operation create time.", +"format": "google-datetime", +"type": "string" +}, +"updateTime": { +"description": "Operation last update time. If the operation is done, this is also the finish time.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1UpdateTargetSiteMetadata": { +"description": "Metadata related to the progress of the SiteSearchEngineService.UpdateTargetSite operation. This will be returned by the google.longrunning.Operation.metadata field.", +"id": "GoogleCloudDiscoveryengineV1UpdateTargetSiteMetadata", +"properties": { +"createTime": { +"description": "Operation create time.", +"format": "google-datetime", +"type": "string" +}, +"updateTime": { +"description": "Operation last update time. If the operation is done, this is also the finish time.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1UserEvent": { +"description": "UserEvent captures all metadata information Discovery Engine API needs to know about how end users interact with your website.", +"id": "GoogleCloudDiscoveryengineV1UserEvent", +"properties": { +"attributes": { +"additionalProperties": { +"$ref": "GoogleCloudDiscoveryengineV1CustomAttribute" +}, +"description": "Extra user event features to include in the recommendation model. These attributes must NOT contain data that needs to be parsed or processed further, e.g. JSON or other encodings. If you provide custom attributes for ingested user events, also include them in the user events that you associate with prediction requests. Custom attribute formatting must be consistent between imported events and events provided with prediction requests. This lets the Discovery Engine API use those custom attributes when training models and serving predictions, which helps improve recommendation quality. This field needs to pass all below criteria, otherwise an `INVALID_ARGUMENT` error is returned: * The key must be a UTF-8 encoded string with a length limit of 5,000 characters. * For text attributes, at most 400 values are allowed. Empty values are not allowed. Each value must be a UTF-8 encoded string with a length limit of 256 characters. * For number attributes, at most 400 values are allowed. For product recommendations, an example of extra user information is `traffic_channel`, which is how a user arrives at the site. Users can arrive at the site by coming to the site directly, coming through Google search, or in other ways.", +"type": "object" +}, +"attributionToken": { +"description": "Token to attribute an API response to user action(s) to trigger the event. Highly recommended for user events that are the result of RecommendationService.Recommend. This field enables accurate attribution of recommendation model performance. The value must be one of: * RecommendResponse.attribution_token for events that are the result of RecommendationService.Recommend. * SearchResponse.attribution_token for events that are the result of SearchService.Search. This token enables us to accurately attribute page view or conversion completion back to the event and the particular predict response containing this clicked/purchased product. If user clicks on product K in the recommendation results, pass RecommendResponse.attribution_token as a URL parameter to product K's page. When recording events on product K's page, log the RecommendResponse.attribution_token to this field.", +"type": "string" +}, +"completionInfo": { +"$ref": "GoogleCloudDiscoveryengineV1CompletionInfo", +"description": "CompletionService.CompleteQuery details related to the event. This field should be set for `search` event when autocomplete function is enabled and the user clicks a suggestion for search." +}, +"conversionType": { +"description": "Optional. Conversion type. Required if UserEvent.event_type is `conversion`. This is a customer-defined conversion name in lowercase letters or numbers separated by \"-\", such as \"watch\", \"good-visit\" etc. Do not set the field if UserEvent.event_type is not `conversion`. This mixes the custom conversion event with predefined events like `search`, `view-item` etc.", +"type": "string" +}, +"dataStore": { +"description": "The DataStore resource full name, of the form `projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}`. Optional. Only required for user events whose data store can't by determined by UserEvent.engine or UserEvent.documents. If data store is set in the parent of write/import/collect user event requests, this field can be omitted.", +"type": "string" +}, +"directUserRequest": { +"description": "Should set to true if the request is made directly from the end user, in which case the UserEvent.user_info.user_agent can be populated from the HTTP request. This flag should be set only if the API request is made directly from the end user such as a mobile app (and not if a gateway or a server is processing and pushing the user events). This should not be set when using the JavaScript tag in UserEventService.CollectUserEvent.", +"type": "boolean" +}, +"documents": { +"description": "List of Documents associated with this user event. This field is optional except for the following event types: * `view-item` * `add-to-cart` * `purchase` * `media-play` * `media-complete` In a `search` event, this field represents the documents returned to the end user on the current page (the end user may have not finished browsing the whole page yet). When a new page is returned to the end user, after pagination/filtering/ordering even for the same query, a new `search` event with different UserEvent.documents is desired.", +"items": { +"$ref": "GoogleCloudDiscoveryengineV1DocumentInfo" +}, +"type": "array" +}, +"engine": { +"description": "The Engine resource name, in the form of `projects/{project}/locations/{location}/collections/{collection_id}/engines/{engine_id}`. Optional. Only required for Engine produced user events. For example, user events from blended search.", +"type": "string" +}, +"eventTime": { +"description": "Only required for UserEventService.ImportUserEvents method. Timestamp of when the user event happened.", +"format": "google-datetime", +"type": "string" +}, +"eventType": { +"description": "Required. User event type. Allowed values are: Generic values: * `search`: Search for Documents. * `view-item`: Detailed page view of a Document. * `view-item-list`: View of a panel or ordered list of Documents. * `view-home-page`: View of the home page. * `view-category-page`: View of a category page, e.g. Home > Men > Jeans Retail-related values: * `add-to-cart`: Add an item(s) to cart, e.g. in Retail online shopping * `purchase`: Purchase an item(s) Media-related values: * `media-play`: Start/resume watching a video, playing a song, etc. * `media-complete`: Finished or stopped midway through a video, song, etc. Custom conversion value: * `conversion`: Customer defined conversion event.", +"type": "string" +}, +"filter": { +"description": "Optional. The filter syntax consists of an expression language for constructing a predicate from one or more fields of the documents being filtered. One example is for `search` events, the associated SearchRequest may contain a filter expression in SearchRequest.filter conforming to https://google.aip.dev/160#filtering. Similarly, for `view-item-list` events that are generated from a RecommendRequest, this field may be populated directly from RecommendRequest.filter conforming to https://google.aip.dev/160#filtering. The value must be a UTF-8 encoded string with a length limit of 1,000 characters. Otherwise, an `INVALID_ARGUMENT` error is returned.", +"type": "string" +}, +"mediaInfo": { +"$ref": "GoogleCloudDiscoveryengineV1MediaInfo", +"description": "Media-specific info." +}, +"pageInfo": { +"$ref": "GoogleCloudDiscoveryengineV1PageInfo", +"description": "Page metadata such as categories and other critical information for certain event types such as `view-category-page`." +}, +"panel": { +"$ref": "GoogleCloudDiscoveryengineV1PanelInfo", +"description": "Panel metadata associated with this user event." +}, +"panels": { +"description": "Optional. List of panels associated with this event. Used for page-level impression data.", +"items": { +"$ref": "GoogleCloudDiscoveryengineV1PanelInfo" +}, +"type": "array" +}, +"promotionIds": { +"description": "The promotion IDs if this is an event associated with promotions. Currently, this field is restricted to at most one ID.", +"items": { +"type": "string" +}, +"type": "array" +}, +"searchInfo": { +"$ref": "GoogleCloudDiscoveryengineV1SearchInfo", +"description": "SearchService.Search details related to the event. This field should be set for `search` event." +}, +"sessionId": { +"description": "A unique identifier for tracking a visitor session with a length limit of 128 bytes. A session is an aggregation of an end user behavior in a time span. A general guideline to populate the session_id: 1. If user has no activity for 30 min, a new session_id should be assigned. 2. The session_id should be unique across users, suggest use uuid or add UserEvent.user_pseudo_id as prefix.", +"type": "string" +}, +"tagIds": { +"description": "A list of identifiers for the independent experiment groups this user event belongs to. This is used to distinguish between user events associated with different experiment setups.", +"items": { +"type": "string" +}, +"type": "array" +}, +"transactionInfo": { +"$ref": "GoogleCloudDiscoveryengineV1TransactionInfo", +"description": "The transaction metadata (if any) associated with this user event." +}, +"userInfo": { +"$ref": "GoogleCloudDiscoveryengineV1UserInfo", +"description": "Information about the end user." +}, +"userPseudoId": { +"description": "Required. A unique identifier for tracking visitors. For example, this could be implemented with an HTTP cookie, which should be able to uniquely identify a visitor on a single device. This unique identifier should not change if the visitor log in/out of the website. Do not set the field to the same fixed ID for different users. This mixes the event history of those users together, which results in degraded model quality. The field must be a UTF-8 encoded string with a length limit of 128 characters. Otherwise, an `INVALID_ARGUMENT` error is returned. The field should not contain PII or user-data. We recommend to use Google Analytics [Client ID](https://developers.google.com/analytics/devguides/collection/analyticsjs/field-reference#clientId) for this field.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1UserInfo": { +"description": "Information of an end user.", +"id": "GoogleCloudDiscoveryengineV1UserInfo", +"properties": { +"timeZone": { +"description": "Optional. IANA time zone, e.g. Europe/Budapest.", +"type": "string" +}, +"userAgent": { +"description": "User agent as included in the HTTP header. The field must be a UTF-8 encoded string with a length limit of 1,000 characters. Otherwise, an `INVALID_ARGUMENT` error is returned. This should not be set when using the client side event reporting with GTM or JavaScript tag in UserEventService.CollectUserEvent or if UserEvent.direct_user_request is set.", +"type": "string" +}, +"userId": { +"description": "Highly recommended for logged-in users. Unique identifier for logged-in user, such as a user name. Don't set for anonymous users. Always use a hashed value for this ID. Don't set the field to the same fixed ID for different users. This mixes the event history of those users together, which results in degraded model quality. The field must be a UTF-8 encoded string with a length limit of 128 characters. Otherwise, an `INVALID_ARGUMENT` error is returned.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1UserLicense": { +"description": "User License information assigned by the admin.", +"id": "GoogleCloudDiscoveryengineV1UserLicense", +"properties": { +"createTime": { +"description": "Output only. User created timestamp.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"lastLoginTime": { +"description": "Output only. User last logged in time. If the user has not logged in yet, this field will be empty.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"licenseAssignmentState": { +"description": "Output only. License assignment state of the user. If the user is assigned with a license config, the user login will be assigned with the license; If the user's license assignment state is unassigned or unspecified, no license config will be associated to the user;", +"enum": [ +"LICENSE_ASSIGNMENT_STATE_UNSPECIFIED", +"ASSIGNED", +"UNASSIGNED", +"NO_LICENSE", +"NO_LICENSE_ATTEMPTED_LOGIN", +"BLOCKED" +], +"enumDescriptions": [ +"Default value.", +"License assigned to the user.", +"No license assigned to the user. Deprecated, translated to NO_LICENSE.", +"No license assigned to the user.", +"User attempted to login but no license assigned to the user. This state is only used for no user first time login attempt but cannot get license assigned. Users already logged in but cannot get license assigned will be assigned NO_LICENSE state(License could be unassigned by admin).", +"User is blocked from assigning a license." +], +"readOnly": true, +"type": "string" +}, +"licenseConfig": { +"description": "Optional. The full resource name of the Subscription(LicenseConfig) assigned to the user.", +"type": "string" +}, +"updateTime": { +"description": "Output only. User update timestamp.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"userPrincipal": { +"description": "Required. Immutable. The user principal of the User, could be email address or other prinical identifier. This field is immutable. Admin assign licenses based on the user principal.", +"type": "string" +}, +"userProfile": { +"description": "Optional. The user profile. We user user full name(First name + Last name) as user profile.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1UserStore": { +"description": "Configures metadata that is used for End User entities.", +"id": "GoogleCloudDiscoveryengineV1UserStore", +"properties": { +"defaultLicenseConfig": { +"description": "Optional. The default subscription LicenseConfig for the UserStore, if UserStore.enable_license_auto_register is true, new users will automatically register under the default subscription. If default LicenseConfig doesn't have remaining license seats left, new users will not be assigned with license and will be blocked for Vertex AI Search features. This is used if `license_assignment_tier_rules` is not configured.", +"type": "string" +}, +"displayName": { +"description": "The display name of the User Store.", +"type": "string" +}, +"enableExpiredLicenseAutoUpdate": { +"description": "Optional. Whether to enable license auto update for users in this User Store. If true, users with expired licenses will automatically be updated to use the default license config as long as the default license config has seats left.", +"type": "boolean" +}, +"enableLicenseAutoRegister": { +"description": "Optional. Whether to enable license auto register for users in this User Store. If true, new users will automatically register under the default license config as long as the default license config has seats left.", +"type": "boolean" +}, +"name": { +"description": "Immutable. The full resource name of the User Store, in the format of `projects/{project}/locations/{location}/userStores/{user_store}`. This field must be a UTF-8 encoded string with a length limit of 1024 characters.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1WidgetConfig": { +"description": "WidgetConfig captures configs at the Widget level.", +"id": "GoogleCloudDiscoveryengineV1WidgetConfig", +"properties": { +"accessSettings": { +"$ref": "GoogleCloudDiscoveryengineV1WidgetConfigAccessSettings", +"description": "Will be used for all widget access settings seen in cloud console integration page. Replaces top deprecated top level properties." +}, +"allowPublicAccess": { +"deprecated": true, +"description": "Whether allow no-auth integration with widget. If set true, public access to search or other solutions from widget is allowed without authenication token provided by customer hosted backend server.", +"type": "boolean" +}, +"allowlistedDomains": { +"deprecated": true, +"description": "Allowlisted domains that can load this widget.", +"items": { +"type": "string" +}, +"type": "array" +}, +"assistantSettings": { +"$ref": "GoogleCloudDiscoveryengineV1WidgetConfigAssistantSettings", +"description": "Optional. Output only. Describes the assistant settings of the widget.", +"readOnly": true +}, +"collectionComponents": { +"description": "Output only. Collection components that lists all collections and child data stores associated with the widget config, those data sources can be used for filtering in widget service APIs, users can return results that from selected data sources.", +"items": { +"$ref": "GoogleCloudDiscoveryengineV1WidgetConfigCollectionComponent" +}, +"readOnly": true, +"type": "array" +}, +"configId": { +"description": "Output only. Unique obfuscated identifier of a WidgetConfig.", +"readOnly": true, +"type": "string" +}, +"contentSearchSpec": { +"$ref": "GoogleCloudDiscoveryengineV1SearchRequestContentSearchSpec", +"deprecated": true, +"description": "The content search spec that configs the desired behavior of content search." +}, +"createTime": { +"description": "Output only. Timestamp the WidgetConfig was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"customerProvidedConfig": { +"$ref": "GoogleCloudDiscoveryengineV1WidgetConfigCustomerProvidedConfig", +"description": "Optional. Output only. Describes the customer related configurations, currently only used for government customers. This field cannot be modified after project onboarding.", +"readOnly": true +}, +"dataStoreType": { +"description": "Output only. The type of the parent data store.", +"enum": [ +"DATA_STORE_TYPE_UNSPECIFIED", +"SITE_SEARCH", +"STRUCTURED", +"UNSTRUCTURED", +"BLENDED" +], +"enumDescriptions": [ +"Unspecified data store type.", +"The parent data store contains a site search engine.", +"The parent data store contains a search engine for structured data.", +"The parent data store contains a search engine for unstructured data.", +"The parent data store is served for blended search with multiple data stores." +], +"readOnly": true, +"type": "string" +}, +"dataStoreUiConfigs": { +"deprecated": true, +"description": "Configurable UI configurations per data store.", +"items": { +"$ref": "GoogleCloudDiscoveryengineV1WidgetConfigDataStoreUiConfig" +}, +"type": "array" +}, +"defaultSearchRequestOrderBy": { +"deprecated": true, +"description": "The default ordering for search results if specified. Used to set SearchRequest#order_by on applicable requests. https://cloud.google.com/generative-ai-app-builder/docs/reference/rest/v1alpha/projects.locations.dataStores.servingConfigs/search#request-body", +"type": "string" +}, +"displayName": { +"description": "Required. The human readable widget config display name. Used in Discovery UI. This field must be a UTF-8 encoded string with a length limit of 128 characters. Otherwise, an INVALID_ARGUMENT error is returned.", +"type": "string" +}, +"enableAutocomplete": { +"deprecated": true, +"description": "Whether or not to enable autocomplete.", +"type": "boolean" +}, +"enableConversationalSearch": { +"deprecated": true, +"description": "Whether to allow conversational search (LLM, multi-turn) or not (non-LLM, single-turn).", +"type": "boolean" +}, +"enablePrivateKnowledgeGraph": { +"description": "Optional. Output only. Whether to enable private knowledge graph.", +"readOnly": true, +"type": "boolean" +}, +"enableQualityFeedback": { +"deprecated": true, +"description": "Turn on or off collecting the search result quality feedback from end users.", +"type": "boolean" +}, +"enableResultScore": { +"description": "Whether to show the result score.", +"type": "boolean" +}, +"enableSafeSearch": { +"deprecated": true, +"description": "Whether to enable safe search.", +"type": "boolean" +}, +"enableSearchAsYouType": { +"deprecated": true, +"description": "Whether to enable search-as-you-type behavior for the search widget", +"type": "boolean" +}, +"enableSnippetResultSummary": { +"deprecated": true, +"description": "Turn on or off summary for each snippets result.", +"type": "boolean" +}, +"enableSummarization": { +"deprecated": true, +"description": "Turn on or off summarization for the search response.", +"type": "boolean" +}, +"enableWebApp": { +"deprecated": true, +"description": "Whether to enable standalone web app.", +"type": "boolean" +}, +"facetField": { +"deprecated": true, +"description": "The configuration and appearance of facets in the end user view.", +"items": { +"$ref": "GoogleCloudDiscoveryengineV1WidgetConfigFacetField" +}, +"type": "array" +}, +"fieldsUiComponentsMap": { +"additionalProperties": { +"$ref": "GoogleCloudDiscoveryengineV1WidgetConfigUIComponentField" +}, +"deprecated": true, +"description": "The key is the UI component. Mock. Currently supported `title`, `thumbnail`, `url`, `custom1`, `custom2`, `custom3`. The value is the name of the field along with its device visibility. The 3 custom fields are optional and can be added or removed. `title`, `thumbnail`, `url` are required UI components that cannot be removed.", +"type": "object" +}, +"geminiBundle": { +"description": "Output only. Whether the subscription is gemini bundle or not.", +"readOnly": true, +"type": "boolean" +}, +"homepageSetting": { +"$ref": "GoogleCloudDiscoveryengineV1WidgetConfigHomepageSetting", +"description": "Optional. Describes the homepage settings of the widget." +}, +"industryVertical": { +"description": "Output only. The industry vertical that the WidgetConfig registers. The WidgetConfig industry vertical is based on the associated Engine.", +"enum": [ +"INDUSTRY_VERTICAL_UNSPECIFIED", +"GENERIC", +"MEDIA", +"HEALTHCARE_FHIR" +], +"enumDescriptions": [ +"Value used when unset.", +"The generic vertical for documents that are not specific to any industry vertical.", +"The media industry vertical.", +"The healthcare FHIR vertical." +], +"readOnly": true, +"type": "string" +}, +"llmEnabled": { +"description": "Output only. Whether LLM is enabled in the corresponding data store.", +"readOnly": true, +"type": "boolean" +}, +"minimumDataTermAccepted": { +"description": "Output only. Whether the customer accepted data use terms.", +"readOnly": true, +"type": "boolean" +}, +"name": { +"description": "Immutable. The full resource name of the widget config. Format: `projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}/widgetConfigs/{widget_config_id}`. This field must be a UTF-8 encoded string with a length limit of 1024 characters.", +"type": "string" +}, +"nodes": { +"description": "Output only. The nodes associated with the Widget Config.", +"items": { +"$ref": "GoogleCloudDiscoveryengineV1WidgetConfigNode" +}, +"readOnly": true, +"type": "array" +}, +"resultDisplayType": { +"deprecated": true, +"description": "The type of snippet to display in UCS widget. - RESULT_DISPLAY_TYPE_UNSPECIFIED for existing users. - SNIPPET for new non-enterprise search users. - EXTRACTIVE_ANSWER for new enterprise search users.", +"enum": [ +"RESULT_DISPLAY_TYPE_UNSPECIFIED", +"SNIPPET", +"EXTRACTIVE_ANSWER" +], +"enumDescriptions": [ +"Unspecified display type (default to showing snippet).", +"Display results from the snippet field.", +"Display results from extractive answers field." +], +"type": "string" +}, +"solutionType": { +"description": "Required. Immutable. Specifies the solution type that this WidgetConfig can be used for.", +"enum": [ +"SOLUTION_TYPE_UNSPECIFIED", +"SOLUTION_TYPE_RECOMMENDATION", +"SOLUTION_TYPE_SEARCH", +"SOLUTION_TYPE_CHAT", +"SOLUTION_TYPE_GENERATIVE_CHAT", +"SOLUTION_TYPE_AI_MODE" +], +"enumDescriptions": [ +"Default value.", +"Used for Recommendations AI.", +"Used for Discovery Search.", +"Used for use cases related to the Generative AI agent.", +"Used for use cases related to the Generative Chat agent. It's used for Generative chat engine only, the associated data stores must enrolled with `SOLUTION_TYPE_CHAT` solution.", +"Used for AI Mode." +], +"type": "string" +}, +"uiBranding": { +"$ref": "GoogleCloudDiscoveryengineV1WidgetConfigUiBrandingSettings", +"description": "Describes search widget UI branding settings, such as the widget title, logo, favicons, and colors." +}, +"uiSettings": { +"$ref": "GoogleCloudDiscoveryengineV1WidgetConfigUiSettings", +"description": "Describes general widget search settings as seen in cloud console widget configuration page. Replaces top deprecated top level properties." +}, +"updateTime": { +"description": "Output only. Timestamp the WidgetConfig was updated.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1WidgetConfigAccessSettings": { +"description": "Describes widget access settings.", +"id": "GoogleCloudDiscoveryengineV1WidgetConfigAccessSettings", +"properties": { +"allowPublicAccess": { +"description": "Whether public unauthenticated access is allowed.", +"type": "boolean" +}, +"allowlistedDomains": { +"description": "List of domains that are allowed to integrate the search widget.", +"items": { +"type": "string" +}, +"type": "array" +}, +"enableWebApp": { +"description": "Whether web app access is enabled.", +"type": "boolean" +}, +"languageCode": { +"description": "Optional. Language code for user interface. Use language tags defined by [BCP47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt). If unset, the default language code is \"en-US\".", +"type": "string" +}, +"workforceIdentityPoolProvider": { +"description": "Optional. The workforce identity pool provider used to access the widget.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1WidgetConfigAssistantSettings": { +"description": "Describes the assistant settings of the widget.", +"id": "GoogleCloudDiscoveryengineV1WidgetConfigAssistantSettings", +"properties": { +"defaultWebGroundingToggleOff": { +"description": "Output only. This field controls the default web grounding toggle for end users if `web_grounding_type` is set to `WEB_GROUNDING_TYPE_GOOGLE_SEARCH` or `WEB_GROUNDING_TYPE_ENTERPRISE_WEB_SEARCH`. By default, this field is set to false. If `web_grounding_type` is `WEB_GROUNDING_TYPE_GOOGLE_SEARCH` or `WEB_GROUNDING_TYPE_ENTERPRISE_WEB_SEARCH`, end users will have web grounding enabled by default on UI. If true, grounding toggle will be disabled by default on UI. End users can still enable web grounding in the UI if web grounding is enabled.", +"readOnly": true, +"type": "boolean" +}, +"disableLocationContext": { +"description": "Optional. Output only. Whether to disable user location context.", +"readOnly": true, +"type": "boolean" +}, +"googleSearchGroundingEnabled": { +"deprecated": true, +"description": "Whether or not the Google search grounding toggle is shown. Deprecated. Use web_grounding_type instead.", +"type": "boolean" +}, +"webGroundingType": { +"description": "Optional. The type of web grounding to use.", +"enum": [ +"WEB_GROUNDING_TYPE_UNSPECIFIED", +"WEB_GROUNDING_TYPE_DISABLED", +"WEB_GROUNDING_TYPE_GOOGLE_SEARCH", +"WEB_GROUNDING_TYPE_ENTERPRISE_WEB_SEARCH" +], +"enumDescriptions": [ +"Default, unspecified setting. This is the same as disabled.", +"Web grounding is disabled.", +"Grounding with Google Search is enabled.", +"Grounding with Enterprise Web Search is enabled." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1WidgetConfigCollectionComponent": { +"description": "Read-only collection component that contains data store collections fields that may be used for filtering", +"id": "GoogleCloudDiscoveryengineV1WidgetConfigCollectionComponent", +"properties": { +"connectorIconLink": { +"description": "Output only. The icon link of the connector source.", +"readOnly": true, +"type": "string" +}, +"dataSource": { +"description": "The name of the data source, retrieved from `Collection.data_connector.data_source`.", +"type": "string" +}, +"dataSourceDisplayName": { +"description": "Output only. The display name of the data source.", +"readOnly": true, +"type": "string" +}, +"dataStoreComponents": { +"description": "For the data store collection, list of the children data stores.", +"items": { +"$ref": "GoogleCloudDiscoveryengineV1WidgetConfigDataStoreComponent" +}, +"type": "array" +}, +"displayName": { +"description": "The display name of the collection.", +"type": "string" +}, +"id": { +"description": "Output only. the identifier of the collection, used for widget service. For now it refers to collection_id, in the future we will migrate the field to encrypted collection name UUID.", +"readOnly": true, +"type": "string" +}, +"name": { +"description": "The name of the collection. It should be collection resource name. Format: `projects/{project}/locations/{location}/collections/{collection_id}`. For APIs under WidgetService, such as WidgetService.LookupWidgetConfig, the project number and location part is erased in this field.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1WidgetConfigCustomerProvidedConfig": { +"description": "Customer provided configurations.", +"id": "GoogleCloudDiscoveryengineV1WidgetConfigCustomerProvidedConfig", +"properties": { +"customerType": { +"description": "Customer type.", +"enum": [ +"DEFAULT_CUSTOMER", +"GOVERNMENT_CUSTOMER" +], +"enumDescriptions": [ +"Default customer type.", +"Government customer type. Some features are disabled for government customers due to legal requirements." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1WidgetConfigDataStoreComponent": { +"description": "Read-only data store component that contains data stores fields that may be used for filtering, it's the child of `CollectionComponent`.", +"id": "GoogleCloudDiscoveryengineV1WidgetConfigDataStoreComponent", +"properties": { +"dataStoreConfigType": { +"description": "Output only. The type of the data store config.", +"enum": [ +"DATA_STORE_CONFIG_TYPE_UNSPECIFIED", +"ALLOW_DB_CONFIG", +"THIRD_PARTY_OAUTH_CONFIG", +"NOTEBOOKLM_CONFIG" +], +"enumDescriptions": [ +"Default value. This value is unused.", +"The data store is connected to AlloyDB", +"The data store is a connected to a third party data source.", +"The data store is a connected to NotebookLM Enterprise." +], +"readOnly": true, +"type": "string" +}, +"displayName": { +"description": "The display name of the data store.", +"type": "string" +}, +"entityName": { +"description": "The name of the entity, retrieved from `Collection.data_connector.entities.entityName`.", +"type": "string" +}, +"id": { +"description": "Output only. the identifier of the data store, used for widget service. For now it refers to data_store_id, in the future we will migrate the field to encrypted data store name UUID.", +"readOnly": true, +"type": "string" +}, +"name": { +"description": "The name of the data store. It should be data store resource name Format: `projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}`. For APIs under WidgetService, such as WidgetService.LookupWidgetConfig, the project number and location part is erased in this field.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1WidgetConfigDataStoreUiConfig": { +"description": "UI component configuration for data store.", +"id": "GoogleCloudDiscoveryengineV1WidgetConfigDataStoreUiConfig", +"properties": { +"facetField": { +"description": "Facet fields that store the mapping of fields to end user widget appearance.", +"items": { +"$ref": "GoogleCloudDiscoveryengineV1WidgetConfigFacetField" +}, +"type": "array" +}, +"fieldsUiComponentsMap": { +"additionalProperties": { +"$ref": "GoogleCloudDiscoveryengineV1WidgetConfigUIComponentField" +}, +"description": "The key is the UI component. Mock. Currently supported `title`, `thumbnail`, `url`, `custom1`, `custom2`, `custom3`. The value is the name of the field along with its device visibility. The 3 custom fields are optional and can be added or removed. `title`, `thumbnail`, `url` are required UI components that cannot be removed.", +"type": "object" +}, +"id": { +"description": "Output only. the identifier of the data store, used for widget service. For now it refers to data_store_id, in the future we will migrate the field to encrypted data store name UUID.", +"readOnly": true, +"type": "string" +}, +"name": { +"description": "The name of the data store. It should be data store resource name Format: `projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}`. For APIs under WidgetService, such as WidgetService.LookupWidgetConfig, the project number and location part is erased in this field.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1WidgetConfigFacetField": { +"description": "Facet fields that store the mapping of fields to end user widget appearance.", +"id": "GoogleCloudDiscoveryengineV1WidgetConfigFacetField", +"properties": { +"displayName": { +"description": "Optional. The field name that end users will see.", +"type": "string" +}, +"field": { +"description": "Required. Registered field name. The format is `field.abc`.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1WidgetConfigHomepageSetting": { +"description": "Describes the homepage setting of the widget. It includes all homepage related settings and configurations, such as shortcuts.", +"id": "GoogleCloudDiscoveryengineV1WidgetConfigHomepageSetting", +"properties": { +"shortcuts": { +"description": "Optional. The shortcuts to display on the homepage.", +"items": { +"$ref": "GoogleCloudDiscoveryengineV1WidgetConfigHomepageSettingShortcut" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1WidgetConfigHomepageSettingShortcut": { +"description": "Describes an entity of shortcut (aka pinned content) on the homepage. The home page will render these shortcuts in the same order as what the API returns. If a customer wants to reorder or remove a shortcut, the UI should always provide the new full list of shortcuts.", +"id": "GoogleCloudDiscoveryengineV1WidgetConfigHomepageSettingShortcut", +"properties": { +"destinationUri": { +"description": "Optional. Destination URL of shortcut.", +"type": "string" +}, +"icon": { +"$ref": "GoogleCloudDiscoveryengineV1WidgetConfigImage", +"description": "Optional. Icon URL of shortcut." +}, +"title": { +"description": "Optional. Title of the shortcut.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1WidgetConfigImage": { +"description": "Options to store an image.", +"id": "GoogleCloudDiscoveryengineV1WidgetConfigImage", +"properties": { +"url": { +"description": "Image URL.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1WidgetConfigNode": { +"description": "Represents a single reusable computational or logical unit.", +"id": "GoogleCloudDiscoveryengineV1WidgetConfigNode", +"properties": { +"description": { +"description": "Output only. A detailed description of what the node does.", +"readOnly": true, +"type": "string" +}, +"displayName": { +"description": "Output only. A human readable name for the node.", +"readOnly": true, +"type": "string" +}, +"iconUrl": { +"description": "Output only. An identifier or URL pointing to an icon representing this node type.", +"readOnly": true, +"type": "string" +}, +"outputSchema": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"description": "Output only. The output schema of the tool. This schema is expected to conform to the OpenAPI Schema standard (see https://spec.openapis.org/oas/v3.0.3.html/ and AIP-146). It describes the structure of the output produced by this node.", +"readOnly": true, +"type": "object" +}, +"parameterSchema": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"description": "Output only. The parameter schema of the tool. This schema is expected to conform to the OpenAPI Schema standard (see https://spec.openapis.org/oas/v3.0.3.html and AIP-146). It describes the expected structure of the parameters that this node accepts.", +"readOnly": true, +"type": "object" +}, +"type": { +"description": "Output only. The type of the node.", +"enum": [ +"TYPE_UNSPECIFIED", +"TRIGGER", +"FLOW", +"CONNECTOR" +], +"enumDescriptions": [ +"Unspecified type.", +"Trigger type.", +"Flow type.", +"Connector type." +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1WidgetConfigUIComponentField": { +"description": "Facet field that maps to a UI Component.", +"id": "GoogleCloudDiscoveryengineV1WidgetConfigUIComponentField", +"properties": { +"deviceVisibility": { +"description": "The field visibility on different types of devices.", +"items": { +"enum": [ +"DEVICE_VISIBILITY_UNSPECIFIED", +"MOBILE", +"DESKTOP" +], +"enumDescriptions": [ +"Default value when not specified. Server returns INVALID_ARGUMENT if used in requests.", +"The UI component is visible on Mobile devices.", +"The UI component is visible on Browser-based client." +], +"type": "string" +}, +"type": "array" +}, +"displayTemplate": { +"description": "The template to customize how the field is displayed. An example value would be a string that looks like: \"Price: {value}\".", +"type": "string" +}, +"field": { +"description": "Required. Registered field name. The format is `field.abc`.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1WidgetConfigUiBrandingSettings": { +"description": "Describes widget UI branding settings.", +"id": "GoogleCloudDiscoveryengineV1WidgetConfigUiBrandingSettings", +"properties": { +"logo": { +"$ref": "GoogleCloudDiscoveryengineV1WidgetConfigImage", +"description": "Logo image." +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1WidgetConfigUiSettings": { +"description": "Describes general widget (or web app) UI settings as seen in the cloud console UI configuration page.", +"id": "GoogleCloudDiscoveryengineV1WidgetConfigUiSettings", +"properties": { +"dataStoreUiConfigs": { +"description": "Per data store configuration.", +"items": { +"$ref": "GoogleCloudDiscoveryengineV1WidgetConfigDataStoreUiConfig" +}, +"type": "array" +}, +"defaultSearchRequestOrderBy": { +"description": "The default ordering for search results if specified. Used to set SearchRequest#order_by on applicable requests. https://cloud.google.com/generative-ai-app-builder/docs/reference/rest/v1alpha/projects.locations.dataStores.servingConfigs/search#request-body", +"type": "string" +}, +"disableUserEventsCollection": { +"description": "If set to true, the widget will not collect user events.", +"type": "boolean" +}, +"enableAutocomplete": { +"description": "Whether or not to enable autocomplete.", +"type": "boolean" +}, +"enableCreateAgentButton": { +"description": "Optional. If set to true, the widget will enable the create agent button.", +"type": "boolean" +}, +"enablePeopleSearch": { +"description": "Optional. If set to true, the widget will enable people search.", +"type": "boolean" +}, +"enableQualityFeedback": { +"description": "Turn on or off collecting the search result quality feedback from end users.", +"type": "boolean" +}, +"enableSafeSearch": { +"description": "Whether to enable safe search.", +"type": "boolean" +}, +"enableSearchAsYouType": { +"description": "Whether to enable search-as-you-type behavior for the search widget.", +"type": "boolean" +}, +"enableVisualContentSummary": { +"description": "If set to true, the widget will enable visual content summary on applicable search requests. Only used by healthcare search.", +"type": "boolean" +}, +"features": { +"additionalProperties": { +"enum": [ +"FEATURE_STATE_UNSPECIFIED", +"FEATURE_STATE_ON", +"FEATURE_STATE_OFF" +], +"enumDescriptions": [ +"The feature state is unspecified.", +"The feature is turned on to be accessible.", +"The feature is turned off to be inaccessible." +], +"type": "string" +}, +"description": "Output only. Feature config for the engine to opt in or opt out of features. Supported keys: * `agent-gallery` * `no-code-agent-builder` * `prompt-gallery` * `model-selector` * `notebook-lm` * `people-search` * `people-search-org-chart` * `bi-directional-audio` * `feedback` * `session-sharing` * `personalization-memory` * `personalization-suggested-highlights` * `disable-agent-sharing` * `disable-image-generation` * `disable-video-generation` * `disable-onedrive-upload` * `disable-talk-to-content` * `disable-google-drive-upload` * `disable-welcome-emails`", +"readOnly": true, +"type": "object" +}, +"generativeAnswerConfig": { +"$ref": "GoogleCloudDiscoveryengineV1WidgetConfigUiSettingsGenerativeAnswerConfig", +"description": "Describes generative answer configuration." +}, +"interactionType": { +"description": "Describes widget (or web app) interaction type", +"enum": [ +"INTERACTION_TYPE_UNSPECIFIED", +"SEARCH_ONLY", +"SEARCH_WITH_ANSWER", +"SEARCH_WITH_FOLLOW_UPS" +], +"enumDescriptions": [ +"Not specified. Defaults to SEARCH_ONLY.", +"Search without a generative answer.", +"Search with the generative answer.", +"Search with the generative answer that supports follow up questions. Also known as multi-turn search." +], +"type": "string" +}, +"modelConfigs": { +"additionalProperties": { +"enum": [ +"MODEL_STATE_UNSPECIFIED", +"MODEL_ENABLED", +"MODEL_DISABLED" +], +"enumDescriptions": [ +"The model state is unspecified.", +"The model is enabled by admin.", +"The model is disabled by admin." +], +"type": "string" +}, +"description": "Output only. Maps a model name to its specific configuration for this engine. This allows admin users to turn on/off individual models. This only stores models whose states are overridden by the admin. When the state is unspecified, or model_configs is empty for this model, the system will decide if this model should be available or not based on the default configuration. For example, a preview model should be disabled by default if the admin has not chosen to enable it.", +"readOnly": true, +"type": "object" +}, +"resultDescriptionType": { +"description": "Controls whether result extract is display and how (snippet or extractive answer). Default to no result if unspecified.", +"enum": [ +"RESULT_DISPLAY_TYPE_UNSPECIFIED", +"SNIPPET", +"EXTRACTIVE_ANSWER" +], +"enumDescriptions": [ +"Unspecified display type (default to showing snippet).", +"Display results from the snippet field.", +"Display results from extractive answers field." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1WidgetConfigUiSettingsGenerativeAnswerConfig": { +"description": "Describes configuration for generative answer.", +"id": "GoogleCloudDiscoveryengineV1WidgetConfigUiSettingsGenerativeAnswerConfig", +"properties": { +"disableRelatedQuestions": { +"description": "Whether generated answer contains suggested related questions.", +"type": "boolean" +}, +"ignoreAdversarialQuery": { +"description": "Optional. Specifies whether to filter out queries that are adversarial.", +"type": "boolean" +}, +"ignoreLowRelevantContent": { +"description": "Optional. Specifies whether to filter out queries that are not relevant to the content.", +"type": "boolean" +}, +"ignoreNonAnswerSeekingQuery": { +"description": "Optional. Specifies whether to filter out queries that are not answer-seeking. The default value is `false`. No answer is returned if the search query is classified as a non-answer seeking query. If this field is set to `true`, we skip generating answers for non-answer seeking queries and return fallback messages instead.", +"type": "boolean" +}, +"imageSource": { +"description": "Optional. Source of image returned in the answer.", +"enum": [ +"IMAGE_SOURCE_UNSPECIFIED", +"ALL_AVAILABLE_SOURCES", +"CORPUS_IMAGE_ONLY", +"FIGURE_GENERATION_ONLY" +], +"enumDescriptions": [ +"Unspecified image source (multimodal feature is disabled by default)", +"Behavior when service determines the pick from all available sources.", +"Include image from corpus in the answer.", +"Triggers figure generation in the answer." +], +"type": "string" +}, +"languageCode": { +"description": "Language code for Summary. Use language tags defined by [BCP47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt). Note: This is an experimental feature.", +"type": "string" +}, +"maxRephraseSteps": { +"description": "Max rephrase steps. The max number is 5 steps. If not set or set to < 1, it will be set to 1 by default.", +"format": "int32", +"type": "integer" +}, +"modelPromptPreamble": { +"description": "Text at the beginning of the prompt that instructs the model that generates the answer.", +"type": "string" +}, +"modelVersion": { +"description": "The model version used to generate the answer.", +"type": "string" +}, +"resultCount": { +"description": "The number of top results to generate the answer from. Up to 10.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1WorkspaceConfig": { +"description": "Config to store data store type configuration for workspace data", +"id": "GoogleCloudDiscoveryengineV1WorkspaceConfig", +"properties": { +"dasherCustomerId": { +"description": "Obfuscated Dasher customer ID.", +"type": "string" +}, +"superAdminEmailAddress": { +"description": "Optional. The super admin email address for the workspace that will be used for access token generation. For now we only use it for Native Google Drive connector data ingestion.", +"type": "string" +}, +"superAdminServiceAccount": { +"description": "Optional. The super admin service account for the workspace that will be used for access token generation. For now we only use it for Native Google Drive connector data ingestion.", +"type": "string" +}, +"type": { +"description": "The Google Workspace data source.", +"enum": [ +"TYPE_UNSPECIFIED", +"GOOGLE_DRIVE", +"GOOGLE_MAIL", +"GOOGLE_SITES", +"GOOGLE_CALENDAR", +"GOOGLE_CHAT", +"GOOGLE_GROUPS", +"GOOGLE_KEEP", +"GOOGLE_PEOPLE" +], +"enumDescriptions": [ +"Defaults to an unspecified Workspace type.", +"Workspace Data Store contains Drive data", +"Workspace Data Store contains Mail data", +"Workspace Data Store contains Sites data", +"Workspace Data Store contains Calendar data", +"Workspace Data Store contains Chat data", +"Workspace Data Store contains Groups data", +"Workspace Data Store contains Keep data", +"Workspace Data Store contains People data" +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1alphaAclConfig": { +"description": "Access Control Configuration.", +"id": "GoogleCloudDiscoveryengineV1alphaAclConfig", +"properties": { +"idpConfig": { +"$ref": "GoogleCloudDiscoveryengineV1alphaIdpConfig", +"description": "Identity provider config." +}, +"name": { +"description": "Immutable. The full resource name of the acl configuration. Format: `projects/{project}/locations/{location}/aclConfig`. This field must be a UTF-8 encoded string with a length limit of 1024 characters.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1alphaActionConfig": { +"description": "Informations to support actions on the connector.", +"id": "GoogleCloudDiscoveryengineV1alphaActionConfig", +"properties": { +"actionParams": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"description": "Optional. Action parameters in structured json format.", +"type": "object" +}, +"isActionConfigured": { +"description": "Output only. The connector contains the necessary parameters and is configured to support actions.", +"readOnly": true, +"type": "boolean" +}, +"jsonActionParams": { +"description": "Optional. Action parameters in json string format.", +"type": "string" +}, +"serviceName": { +"description": "Optional. The Service Directory resource name (projects/*/locations/*/namespaces/*/services/*) representing a VPC network endpoint used to connect to the data source's `instance_uri`, defined in DataConnector.params. Required when VPC Service Controls are enabled.", +"type": "string" +}, +"useStaticSecrets": { +"description": "Optional. Whether to use static secrets for the connector. If true, the secrets provided in the action_params will be ignored.", +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1alphaAddPatientFilterRequest": { +"description": "Request for DataStoreService.AddPatientFilter method.", +"id": "GoogleCloudDiscoveryengineV1alphaAddPatientFilterRequest", +"properties": { +"dataStore": { +"description": "Required. Full resource name of DataStore, such as `projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}`. If the caller does not have permission to access the DataStore, regardless of whether or not it exists, a PERMISSION_DENIED error is returned. If the requested DataStore does not exist, a NOT_FOUND error is returned. If the requested DataStore already has a patient filter, an ALREADY_EXISTS error will be returned.", +"type": "string" +}, +"filterGroups": { +"description": "Required. Names of the Group resources to use as a basis for the patient filter, in format `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/fhirStores/{fhir_store_id}/fhir/Group/{group_id}`. if the caller does not have permission to access the FHIR store, regardless of whether it exists, PERMISSION_DENIED error is returned. If the discovery engine service account does not have permission to access the FHIR store, regardless of whether or not it exists, a PERMISSION_DENIED error is returned. If the group is not found at the location, a RESOURCE_NOT_FOUND error will be returned. The filter group must be a FHIR resource name of type Group, and the filter will be constructed from the direct members of the group which are Patient resources.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1alphaAdvancedSiteSearchConfig": { +"description": "Configuration data for advance site search.", +"id": "GoogleCloudDiscoveryengineV1alphaAdvancedSiteSearchConfig", +"properties": { +"disableAutomaticRefresh": { +"description": "If set true, automatic refresh is disabled for the DataStore.", +"type": "boolean" +}, +"disableInitialIndex": { +"description": "If set true, initial indexing is disabled for the DataStore.", +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1alphaAlertPolicyConfig": { +"description": "The connector level alert config.", +"id": "GoogleCloudDiscoveryengineV1alphaAlertPolicyConfig", +"properties": { +"alertEnrollments": { +"description": "Optional. The enrollment states of each alert.", +"items": { +"$ref": "GoogleCloudDiscoveryengineV1alphaAlertPolicyConfigAlertEnrollment" +}, +"type": "array" +}, +"alertPolicyName": { +"description": "Immutable. The fully qualified resource name of the AlertPolicy.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1alphaAlertPolicyConfigAlertEnrollment": { +"description": "The alert enrollment status.", +"id": "GoogleCloudDiscoveryengineV1alphaAlertPolicyConfigAlertEnrollment", +"properties": { +"alertId": { +"description": "Immutable. The id of an alert.", +"type": "string" +}, +"enrollState": { +"description": "Required. The enrollment status of a customer.", +"enum": [ +"ENROLL_STATES_UNSPECIFIED", +"ENROLLED", +"DECLINED" +], +"enumDescriptions": [ +"Default value. Used for customers who have not responded to the alert policy.", +"Customer is enrolled in this policy.", +"Customer declined this policy." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1alphaAlertPolicyResourceConfig": { +"description": "The resource level alert config. Used in: * UserLicense * EngineUserData The AlertPolicyConfig in data connector is of same usage. No easy way to migrate.", +"id": "GoogleCloudDiscoveryengineV1alphaAlertPolicyResourceConfig", +"properties": { +"alertEnrollments": { +"description": "Optional. The enrollment state of each alert.", +"items": { +"$ref": "GoogleCloudDiscoveryengineV1alphaAlertPolicyResourceConfigAlertEnrollment" +}, +"type": "array" +}, +"alertPolicy": { +"description": "Immutable. The fully qualified resource name of the AlertPolicy.", +"type": "string" +}, +"contactDetails": { +"description": "Optional. The contact details for each alert policy.", +"items": { +"$ref": "GoogleCloudDiscoveryengineV1alphaContactDetails" +}, +"type": "array" +}, +"languageCode": { +"description": "Optional. The language code used for notifications", +"type": "string" +}, +"regionCode": { +"description": "Optional. The region code used of the user that subscribed to the alert policy.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1alphaAlertPolicyResourceConfigAlertEnrollment": { +"description": "The alert enrollment status.", +"id": "GoogleCloudDiscoveryengineV1alphaAlertPolicyResourceConfigAlertEnrollment", +"properties": { +"alertId": { +"description": "Immutable. The id of an alert.", +"type": "string" +}, +"enrollState": { +"description": "Required. The enrollment status of a customer.", +"enum": [ +"ENROLL_STATE_UNSPECIFIED", +"ENROLLED", +"DECLINED" +], +"enumDescriptions": [ +"Default value. Used for customers who have not responded to the alert policy.", +"Customer is enrolled in this policy.", +"Customer declined this policy." +], +"type": "string" +}, +"notificationParams": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. Parameters used to instantiate a notification. Used for notifications that are triggered when registered. Not stored. * Gemini Business welcome emails. * Gemini Business user invitation emails.", +"type": "object" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1alphaAnswer": { +"description": "Defines an answer.", +"id": "GoogleCloudDiscoveryengineV1alphaAnswer", +"properties": { +"answerSkippedReasons": { +"description": "Additional answer-skipped reasons. This provides the reason for ignored cases. If nothing is skipped, this field is not set.", +"items": { +"enum": [ +"ANSWER_SKIPPED_REASON_UNSPECIFIED", +"ADVERSARIAL_QUERY_IGNORED", +"NON_ANSWER_SEEKING_QUERY_IGNORED", +"OUT_OF_DOMAIN_QUERY_IGNORED", +"POTENTIAL_POLICY_VIOLATION", +"NO_RELEVANT_CONTENT", +"JAIL_BREAKING_QUERY_IGNORED", +"CUSTOMER_POLICY_VIOLATION", +"NON_ANSWER_SEEKING_QUERY_IGNORED_V2", +"LOW_GROUNDED_ANSWER", +"USER_DEFINED_CLASSIFICATION_QUERY_IGNORED", +"UNHELPFUL_ANSWER" +], +"enumDescriptions": [ +"Default value. The answer skipped reason is not specified.", +"The adversarial query ignored case.", +"The non-answer seeking query ignored case Google skips the answer if the query is chit chat.", +"The out-of-domain query ignored case. Google skips the answer if there are no high-relevance search results.", +"The potential policy violation case. Google skips the answer if there is a potential policy violation detected. This includes content that may be violent or toxic.", +"The no relevant content case. Google skips the answer if there is no relevant content in the retrieved search results.", +"The jail-breaking query ignored case. For example, \"Reply in the tone of a competing company's CEO\". Google skips the answer if the query is classified as a jail-breaking query.", +"The customer policy violation case. Google skips the summary if there is a customer policy violation detected. The policy is defined by the customer.", +"The non-answer seeking query ignored case. Google skips the answer if the query doesn't have clear intent.", +"The low-grounded answer case. Google skips the answer if a well grounded answer was unable to be generated.", +"The user defined query classification ignored case. Google skips the answer if the query is classified as a user defined query classification.", +"The unhelpful answer case. Google skips the answer if the answer is not helpful. This can be due to a variety of factors, including but not limited to: the query is not answerable, the answer is not relevant to the query, or the answer is not well-formatted." +], +"type": "string" +}, +"type": "array" +}, +"answerText": { +"description": "The textual answer.", +"type": "string" +}, +"blobAttachments": { +"description": "List of blob attachments in the answer.", +"items": { +"$ref": "GoogleCloudDiscoveryengineV1alphaAnswerBlobAttachment" +}, +"type": "array" +}, +"citations": { +"description": "Citations.", +"items": { +"$ref": "GoogleCloudDiscoveryengineV1alphaAnswerCitation" +}, +"type": "array" +}, +"completeTime": { +"description": "Output only. Answer completed timestamp.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"createTime": { +"description": "Output only. Answer creation timestamp.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"groundingScore": { +"description": "A score in the range of [0, 1] describing how grounded the answer is by the reference chunks.", +"format": "double", +"type": "number" +}, +"groundingSupports": { +"description": "Optional. Grounding supports.", +"items": { +"$ref": "GoogleCloudDiscoveryengineV1alphaAnswerGroundingSupport" +}, +"type": "array" +}, +"name": { +"description": "Immutable. Fully qualified name `projects/{project}/locations/global/collections/{collection}/engines/{engine}/sessions/*/answers/*`", +"type": "string" +}, +"queryUnderstandingInfo": { +"$ref": "GoogleCloudDiscoveryengineV1alphaAnswerQueryUnderstandingInfo", +"description": "Query understanding information." +}, +"references": { +"description": "References.", +"items": { +"$ref": "GoogleCloudDiscoveryengineV1alphaAnswerReference" +}, +"type": "array" +}, +"relatedQuestions": { +"description": "Suggested related questions.", +"items": { +"type": "string" +}, +"type": "array" +}, +"safetyRatings": { +"description": "Optional. Safety ratings.", +"items": { +"$ref": "GoogleCloudDiscoveryengineV1alphaSafetyRating" +}, +"type": "array" +}, +"state": { +"description": "The state of the answer generation.", +"enum": [ +"STATE_UNSPECIFIED", +"IN_PROGRESS", +"FAILED", +"SUCCEEDED", +"STREAMING" +], +"enumDescriptions": [ +"Unknown.", +"Answer generation is currently in progress.", +"Answer generation currently failed.", +"Answer generation has succeeded.", +"Answer generation is currently in progress." +], +"type": "string" +}, +"steps": { +"description": "Answer generation steps.", +"items": { +"$ref": "GoogleCloudDiscoveryengineV1alphaAnswerStep" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1alphaAnswerBlobAttachment": { +"description": "Stores binarydata attached to text answer, e.g. image, video, audio, etc.", +"id": "GoogleCloudDiscoveryengineV1alphaAnswerBlobAttachment", +"properties": { +"attributionType": { +"description": "Output only. The attribution type of the blob.", +"enum": [ +"ATTRIBUTION_TYPE_UNSPECIFIED", +"CORPUS", +"GENERATED" +], +"enumDescriptions": [ +"Unspecified attribution type.", +"The attachment data is from the corpus.", +"The attachment data is generated by the model through code generation." +], +"readOnly": true, +"type": "string" +}, +"data": { +"$ref": "GoogleCloudDiscoveryengineV1alphaAnswerBlobAttachmentBlob", +"description": "Output only. The mime type and data of the blob.", +"readOnly": true +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1alphaAnswerBlobAttachmentBlob": { +"description": "The media type and data of the blob.", +"id": "GoogleCloudDiscoveryengineV1alphaAnswerBlobAttachmentBlob", +"properties": { +"data": { +"description": "Output only. Raw bytes.", +"format": "byte", +"readOnly": true, +"type": "string" +}, +"mimeType": { +"description": "Output only. The media type (MIME type) of the generated or retrieved data.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1alphaAnswerCitation": { +"description": "Citation info for a segment.", +"id": "GoogleCloudDiscoveryengineV1alphaAnswerCitation", +"properties": { +"endIndex": { +"description": "End of the attributed segment, exclusive. Measured in bytes (UTF-8 unicode). If there are multi-byte characters,such as non-ASCII characters, the index measurement is longer than the string length.", +"format": "int64", +"type": "string" +}, +"sources": { +"description": "Citation sources for the attributed segment.", +"items": { +"$ref": "GoogleCloudDiscoveryengineV1alphaAnswerCitationSource" +}, +"type": "array" +}, +"startIndex": { +"description": "Index indicates the start of the segment, measured in bytes (UTF-8 unicode). If there are multi-byte characters,such as non-ASCII characters, the index measurement is longer than the string length.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1alphaAnswerCitationSource": { +"description": "Citation source.", +"id": "GoogleCloudDiscoveryengineV1alphaAnswerCitationSource", +"properties": { +"referenceId": { +"description": "ID of the citation source.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1alphaAnswerGroundingSupport": { +"description": "Grounding support for a claim in `answer_text`.", +"id": "GoogleCloudDiscoveryengineV1alphaAnswerGroundingSupport", +"properties": { +"endIndex": { +"description": "Required. End of the claim, exclusive.", +"format": "int64", +"type": "string" +}, +"groundingCheckRequired": { +"description": "Indicates that this claim required grounding check. When the system decided this claim didn't require attribution/grounding check, this field is set to false. In that case, no grounding check was done for the claim and therefore `grounding_score`, `sources` is not returned.", +"type": "boolean" +}, +"groundingScore": { +"description": "A score in the range of [0, 1] describing how grounded is a specific claim by the references. Higher value means that the claim is better supported by the reference chunks.", +"format": "double", +"type": "number" +}, +"sources": { +"description": "Optional. Citation sources for the claim.", +"items": { +"$ref": "GoogleCloudDiscoveryengineV1alphaAnswerCitationSource" +}, +"type": "array" +}, +"startIndex": { +"description": "Required. Index indicates the start of the claim, measured in bytes (UTF-8 unicode).", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1alphaAnswerQueryUnderstandingInfo": { +"description": "Query understanding information.", +"id": "GoogleCloudDiscoveryengineV1alphaAnswerQueryUnderstandingInfo", +"properties": { +"queryClassificationInfo": { +"description": "Query classification information.", +"items": { +"$ref": "GoogleCloudDiscoveryengineV1alphaAnswerQueryUnderstandingInfoQueryClassificationInfo" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1alphaAnswerQueryUnderstandingInfoQueryClassificationInfo": { +"description": "Query classification information.", +"id": "GoogleCloudDiscoveryengineV1alphaAnswerQueryUnderstandingInfoQueryClassificationInfo", +"properties": { +"positive": { +"description": "Classification output.", +"type": "boolean" +}, +"type": { +"description": "Query classification type.", +"enum": [ +"TYPE_UNSPECIFIED", +"ADVERSARIAL_QUERY", +"NON_ANSWER_SEEKING_QUERY", +"JAIL_BREAKING_QUERY", +"NON_ANSWER_SEEKING_QUERY_V2", +"USER_DEFINED_CLASSIFICATION_QUERY" +], +"enumDescriptions": [ +"Unspecified query classification type.", +"Adversarial query classification type.", +"Non-answer-seeking query classification type, for chit chat.", +"Jail-breaking query classification type.", +"Non-answer-seeking query classification type, for no clear intent.", +"User defined query classification type." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1alphaAnswerReference": { +"description": "Reference.", +"id": "GoogleCloudDiscoveryengineV1alphaAnswerReference", +"properties": { +"chunkInfo": { +"$ref": "GoogleCloudDiscoveryengineV1alphaAnswerReferenceChunkInfo", +"description": "Chunk information." +}, +"structuredDocumentInfo": { +"$ref": "GoogleCloudDiscoveryengineV1alphaAnswerReferenceStructuredDocumentInfo", +"description": "Structured document information." +}, +"unstructuredDocumentInfo": { +"$ref": "GoogleCloudDiscoveryengineV1alphaAnswerReferenceUnstructuredDocumentInfo", +"description": "Unstructured document information." +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1alphaAnswerReferenceChunkInfo": { +"description": "Chunk information.", +"id": "GoogleCloudDiscoveryengineV1alphaAnswerReferenceChunkInfo", +"properties": { +"blobAttachmentIndexes": { +"description": "Output only. Stores indexes of blobattachments linked to this chunk.", +"items": { +"format": "int64", +"type": "string" +}, +"readOnly": true, +"type": "array" +}, +"chunk": { +"description": "Chunk resource name.", +"type": "string" +}, +"content": { +"description": "Chunk textual content.", +"type": "string" +}, +"documentMetadata": { +"$ref": "GoogleCloudDiscoveryengineV1alphaAnswerReferenceChunkInfoDocumentMetadata", +"description": "Document metadata." +}, +"relevanceScore": { +"description": "The relevance of the chunk for a given query. Values range from 0.0 (completely irrelevant) to 1.0 (completely relevant). This value is for informational purpose only. It may change for the same query and chunk at any time due to a model retraining or change in implementation.", +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1alphaAnswerReferenceChunkInfoDocumentMetadata": { +"description": "Document metadata.", +"id": "GoogleCloudDiscoveryengineV1alphaAnswerReferenceChunkInfoDocumentMetadata", +"properties": { +"document": { +"description": "Document resource name.", +"type": "string" +}, +"pageIdentifier": { +"description": "Page identifier.", +"type": "string" +}, +"structData": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"description": "The structured JSON metadata for the document. It is populated from the struct data from the Chunk in search result.", +"type": "object" +}, +"title": { +"description": "Title.", +"type": "string" +}, +"uri": { +"description": "URI for the document.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1alphaAnswerReferenceStructuredDocumentInfo": { +"description": "Structured search information.", +"id": "GoogleCloudDiscoveryengineV1alphaAnswerReferenceStructuredDocumentInfo", +"properties": { +"document": { +"description": "Document resource name.", +"type": "string" +}, +"structData": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"description": "Structured search data.", +"type": "object" +}, +"title": { +"description": "Output only. The title of the document.", +"readOnly": true, +"type": "string" +}, +"uri": { +"description": "Output only. The URI of the document.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1alphaAnswerReferenceUnstructuredDocumentInfo": { +"description": "Unstructured document information.", +"id": "GoogleCloudDiscoveryengineV1alphaAnswerReferenceUnstructuredDocumentInfo", +"properties": { +"chunkContents": { +"description": "List of cited chunk contents derived from document content.", +"items": { +"$ref": "GoogleCloudDiscoveryengineV1alphaAnswerReferenceUnstructuredDocumentInfoChunkContent" +}, +"type": "array" +}, +"document": { +"description": "Document resource name.", +"type": "string" +}, +"structData": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"description": "The structured JSON metadata for the document. It is populated from the struct data from the Chunk in search result.", +"type": "object" +}, +"title": { +"description": "Title.", +"type": "string" +}, +"uri": { +"description": "URI for the document.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1alphaAnswerReferenceUnstructuredDocumentInfoChunkContent": { +"description": "Chunk content.", +"id": "GoogleCloudDiscoveryengineV1alphaAnswerReferenceUnstructuredDocumentInfoChunkContent", +"properties": { +"blobAttachmentIndexes": { +"description": "Output only. Stores indexes of blobattachments linked to this chunk.", +"items": { +"format": "int64", +"type": "string" +}, +"readOnly": true, +"type": "array" +}, +"content": { +"description": "Chunk textual content.", +"type": "string" +}, +"pageIdentifier": { +"description": "Page identifier.", +"type": "string" +}, +"relevanceScore": { +"description": "The relevance of the chunk for a given query. Values range from 0.0 (completely irrelevant) to 1.0 (completely relevant). This value is for informational purpose only. It may change for the same query and chunk at any time due to a model retraining or change in implementation.", +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1alphaAnswerStep": { +"description": "Step information.", +"id": "GoogleCloudDiscoveryengineV1alphaAnswerStep", +"properties": { +"actions": { +"description": "Actions.", +"items": { +"$ref": "GoogleCloudDiscoveryengineV1alphaAnswerStepAction" +}, +"type": "array" +}, +"description": { +"description": "The description of the step.", +"type": "string" +}, +"state": { +"description": "The state of the step.", +"enum": [ +"STATE_UNSPECIFIED", +"IN_PROGRESS", +"FAILED", +"SUCCEEDED" +], +"enumDescriptions": [ +"Unknown.", +"Step is currently in progress.", +"Step currently failed.", +"Step has succeeded." +], +"type": "string" +}, +"thought": { +"description": "The thought of the step.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1alphaAnswerStepAction": { +"description": "Action.", +"id": "GoogleCloudDiscoveryengineV1alphaAnswerStepAction", +"properties": { +"observation": { +"$ref": "GoogleCloudDiscoveryengineV1alphaAnswerStepActionObservation", +"description": "Observation." +}, +"searchAction": { +"$ref": "GoogleCloudDiscoveryengineV1alphaAnswerStepActionSearchAction", +"description": "Search action." +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1alphaAnswerStepActionObservation": { +"description": "Observation.", +"id": "GoogleCloudDiscoveryengineV1alphaAnswerStepActionObservation", +"properties": { +"searchResults": { +"description": "Search results observed by the search action, it can be snippets info or chunk info, depending on the citation type set by the user.", +"items": { +"$ref": "GoogleCloudDiscoveryengineV1alphaAnswerStepActionObservationSearchResult" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1alphaAnswerStepActionObservationSearchResult": { +"id": "GoogleCloudDiscoveryengineV1alphaAnswerStepActionObservationSearchResult", +"properties": { +"chunkInfo": { +"description": "If citation_type is CHUNK_LEVEL_CITATION and chunk mode is on, populate chunk info.", +"items": { +"$ref": "GoogleCloudDiscoveryengineV1alphaAnswerStepActionObservationSearchResultChunkInfo" +}, +"type": "array" +}, +"document": { +"description": "Document resource name.", +"type": "string" +}, +"snippetInfo": { +"description": "If citation_type is DOCUMENT_LEVEL_CITATION, populate document level snippets.", +"items": { +"$ref": "GoogleCloudDiscoveryengineV1alphaAnswerStepActionObservationSearchResultSnippetInfo" +}, +"type": "array" +}, +"structData": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"description": "Data representation. The structured JSON data for the document. It's populated from the struct data from the Document, or the Chunk in search result.", +"type": "object" +}, +"title": { +"description": "Title.", +"type": "string" +}, +"uri": { +"description": "URI for the document.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1alphaAnswerStepActionObservationSearchResultChunkInfo": { +"description": "Chunk information.", +"id": "GoogleCloudDiscoveryengineV1alphaAnswerStepActionObservationSearchResultChunkInfo", +"properties": { +"chunk": { +"description": "Chunk resource name.", +"type": "string" +}, +"content": { +"description": "Chunk textual content.", +"type": "string" +}, +"relevanceScore": { +"description": "The relevance of the chunk for a given query. Values range from 0.0 (completely irrelevant) to 1.0 (completely relevant). This value is for informational purpose only. It may change for the same query and chunk at any time due to a model retraining or change in implementation.", +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1alphaAnswerStepActionObservationSearchResultSnippetInfo": { +"description": "Snippet information.", +"id": "GoogleCloudDiscoveryengineV1alphaAnswerStepActionObservationSearchResultSnippetInfo", +"properties": { +"snippet": { +"description": "Snippet content.", +"type": "string" +}, +"snippetStatus": { +"description": "Status of the snippet defined by the search team.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1alphaAnswerStepActionSearchAction": { +"description": "Search action.", +"id": "GoogleCloudDiscoveryengineV1alphaAnswerStepActionSearchAction", +"properties": { +"query": { +"description": "The query to search.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1alphaAssistAnswer": { +"description": "AssistAnswer resource, main part of AssistResponse.", +"id": "GoogleCloudDiscoveryengineV1alphaAssistAnswer", +"properties": { +"assistSkippedReasons": { +"description": "Reasons for not answering the assist call.", +"items": { +"enum": [ +"ASSIST_SKIPPED_REASON_UNSPECIFIED", +"NON_ASSIST_SEEKING_QUERY_IGNORED", +"CUSTOMER_POLICY_VIOLATION" +], +"enumDescriptions": [ +"Default value. Skip reason is not specified.", +"The assistant ignored the query, because it did not appear to be answer-seeking.", +"The assistant ignored the query or refused to answer because of a customer policy violation (e.g., the query or the answer contained a banned phrase)." +], +"type": "string" +}, +"type": "array" +}, +"customerPolicyEnforcementResult": { +"$ref": "GoogleCloudDiscoveryengineV1alphaAssistAnswerCustomerPolicyEnforcementResult", +"description": "Optional. The field contains information about the various policy checks' results like the banned phrases or the Model Armor checks. This field is populated only if the assist call was skipped due to a policy violation." +}, +"name": { +"description": "Immutable. Identifier. Resource name of the `AssistAnswer`. Format: `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}/assistAnswers/{assist_answer}` This field must be a UTF-8 encoded string with a length limit of 1024 characters.", +"type": "string" +}, +"replies": { +"description": "Replies of the assistant.", +"items": { +"$ref": "GoogleCloudDiscoveryengineV1alphaAssistAnswerReply" +}, +"type": "array" +}, +"state": { +"description": "State of the answer generation.", +"enum": [ +"STATE_UNSPECIFIED", +"IN_PROGRESS", +"FAILED", +"SUCCEEDED", +"SKIPPED" +], +"enumDescriptions": [ +"Unknown.", +"Assist operation is currently in progress.", +"Assist operation has failed.", +"Assist operation has succeeded.", +"Assist operation has been skipped." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1alphaAssistAnswerCustomerPolicyEnforcementResult": { +"description": "Customer policy enforcement results. Contains the results of the various policy checks, like the banned phrases or the Model Armor checks.", +"id": "GoogleCloudDiscoveryengineV1alphaAssistAnswerCustomerPolicyEnforcementResult", +"properties": { +"policyResults": { +"description": "Customer policy enforcement results. Populated only if the assist call was skipped due to a policy violation. It contains results from those filters that blocked the processing of the query.", +"items": { +"$ref": "GoogleCloudDiscoveryengineV1alphaAssistAnswerCustomerPolicyEnforcementResultPolicyEnforcementResult" +}, +"type": "array" +}, +"verdict": { +"description": "Final verdict of the customer policy enforcement. If only one policy blocked the processing, the verdict is BLOCK.", +"enum": [ +"UNSPECIFIED", +"ALLOW", +"BLOCK" +], +"enumDescriptions": [ +"Unknown value.", +"There was no policy violation.", +"Processing was blocked by the customer policy." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1alphaAssistAnswerCustomerPolicyEnforcementResultBannedPhraseEnforcementResult": { +"description": "Customer policy enforcement result for the banned phrase policy.", +"id": "GoogleCloudDiscoveryengineV1alphaAssistAnswerCustomerPolicyEnforcementResultBannedPhraseEnforcementResult", +"properties": { +"bannedPhrases": { +"description": "The banned phrases that were found in the query or the answer.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1alphaAssistAnswerCustomerPolicyEnforcementResultModelArmorEnforcementResult": { +"description": "Customer policy enforcement result for the Model Armor policy.", +"id": "GoogleCloudDiscoveryengineV1alphaAssistAnswerCustomerPolicyEnforcementResultModelArmorEnforcementResult", +"properties": { +"error": { +"$ref": "GoogleRpcStatus", +"description": "The error returned by Model Armor if the policy enforcement failed for some reason." +}, +"modelArmorViolation": { +"description": "The Model Armor violation that was found.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1alphaAssistAnswerCustomerPolicyEnforcementResultPolicyEnforcementResult": { +"description": "Customer policy enforcement result for a single policy type.", +"id": "GoogleCloudDiscoveryengineV1alphaAssistAnswerCustomerPolicyEnforcementResultPolicyEnforcementResult", +"properties": { +"bannedPhraseEnforcementResult": { +"$ref": "GoogleCloudDiscoveryengineV1alphaAssistAnswerCustomerPolicyEnforcementResultBannedPhraseEnforcementResult", +"description": "The policy enforcement result for the banned phrase policy." +}, +"modelArmorEnforcementResult": { +"$ref": "GoogleCloudDiscoveryengineV1alphaAssistAnswerCustomerPolicyEnforcementResultModelArmorEnforcementResult", +"description": "The policy enforcement result for the Model Armor policy." +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1alphaAssistAnswerReply": { +"description": "One part of the multi-part response of the assist call.", +"id": "GoogleCloudDiscoveryengineV1alphaAssistAnswerReply", +"properties": { +"groundedContent": { +"$ref": "GoogleCloudDiscoveryengineV1alphaAssistantGroundedContent", +"description": "Possibly grounded response text or media from the assistant." +}, +"replyId": { +"description": "Output only. When set, uniquely identifies a reply within the `AssistAnswer` resource. During an AssistantService.StreamAssist call, multiple `Reply` messages with the same ID can occur within the response stream (across multiple StreamAssistResponse messages). These represent parts of a single `Reply` message in the final `AssistAnswer` resource.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1alphaAssistantContent": { +"description": "Multi-modal content.", +"id": "GoogleCloudDiscoveryengineV1alphaAssistantContent", +"properties": { +"codeExecutionResult": { +"$ref": "GoogleCloudDiscoveryengineV1alphaAssistantContentCodeExecutionResult", +"description": "Result of executing an ExecutableCode." +}, +"executableCode": { +"$ref": "GoogleCloudDiscoveryengineV1alphaAssistantContentExecutableCode", +"description": "Code generated by the model that is meant to be executed." +}, +"file": { +"$ref": "GoogleCloudDiscoveryengineV1alphaAssistantContentFile", +"description": "A file, e.g., an audio summary." +}, +"inlineData": { +"$ref": "GoogleCloudDiscoveryengineV1alphaAssistantContentBlob", +"description": "Inline binary data." +}, +"role": { +"description": "The producer of the content. Can be \"model\" or \"user\".", +"type": "string" +}, +"text": { +"description": "Inline text.", +"type": "string" +}, +"thought": { +"description": "Optional. Indicates if the part is thought from the model.", +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1alphaAssistantContentBlob": { +"description": "Inline blob.", +"id": "GoogleCloudDiscoveryengineV1alphaAssistantContentBlob", +"properties": { +"data": { +"description": "Required. Raw bytes.", +"format": "byte", +"type": "string" +}, +"mimeType": { +"description": "Required. The media type (MIME type) of the generated data.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1alphaAssistantContentCodeExecutionResult": { +"description": "Result of executing ExecutableCode.", +"id": "GoogleCloudDiscoveryengineV1alphaAssistantContentCodeExecutionResult", +"properties": { +"outcome": { +"description": "Required. Outcome of the code execution.", +"enum": [ +"OUTCOME_UNSPECIFIED", +"OUTCOME_OK", +"OUTCOME_FAILED", +"OUTCOME_DEADLINE_EXCEEDED" +], +"enumDescriptions": [ +"Unspecified status. This value should not be used.", +"Code execution completed successfully.", +"Code execution finished but with a failure. `stderr` should contain the reason.", +"Code execution ran for too long, and was cancelled. There may or may not be a partial output present." +], +"type": "string" +}, +"output": { +"description": "Optional. Contains stdout when code execution is successful, stderr or other description otherwise.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1alphaAssistantContentExecutableCode": { +"description": "Code generated by the model that is meant to be executed by the model.", +"id": "GoogleCloudDiscoveryengineV1alphaAssistantContentExecutableCode", +"properties": { +"code": { +"description": "Required. The code content. Currently only supports Python.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1alphaAssistantContentFile": { +"description": "A file, e.g., an audio summary.", +"id": "GoogleCloudDiscoveryengineV1alphaAssistantContentFile", +"properties": { +"fileId": { +"description": "Required. The file ID.", +"type": "string" +}, +"mimeType": { +"description": "Required. The media type (MIME type) of the file.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1alphaAssistantGroundedContent": { +"description": "A piece of content and possibly its grounding information. Not all content needs grounding. Phrases like \"Of course, I will gladly search it for you.\" do not need grounding.", +"id": "GoogleCloudDiscoveryengineV1alphaAssistantGroundedContent", +"properties": { +"citationMetadata": { +"$ref": "GoogleCloudDiscoveryengineV1alphaCitationMetadata", +"description": "Source attribution of the generated content. See also https://cloud.google.com/vertex-ai/generative-ai/docs/learn/overview#citation_check" +}, +"content": { +"$ref": "GoogleCloudDiscoveryengineV1alphaAssistantContent", +"description": "The content." +}, +"textGroundingMetadata": { +"$ref": "GoogleCloudDiscoveryengineV1alphaAssistantGroundedContentTextGroundingMetadata", +"description": "Metadata for grounding based on text sources." +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1alphaAssistantGroundedContentTextGroundingMetadata": { +"description": "Grounding details for text sources.", +"id": "GoogleCloudDiscoveryengineV1alphaAssistantGroundedContentTextGroundingMetadata", +"properties": { +"references": { +"description": "References for the grounded text.", +"items": { +"$ref": "GoogleCloudDiscoveryengineV1alphaAssistantGroundedContentTextGroundingMetadataReference" +}, +"type": "array" +}, +"segments": { +"description": "Grounding information for parts of the text.", +"items": { +"$ref": "GoogleCloudDiscoveryengineV1alphaAssistantGroundedContentTextGroundingMetadataSegment" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1alphaAssistantGroundedContentTextGroundingMetadataReference": { +"description": "Referenced content and related document metadata.", +"id": "GoogleCloudDiscoveryengineV1alphaAssistantGroundedContentTextGroundingMetadataReference", +"properties": { +"content": { +"description": "Referenced text content.", +"type": "string" +}, +"documentMetadata": { +"$ref": "GoogleCloudDiscoveryengineV1alphaAssistantGroundedContentTextGroundingMetadataReferenceDocumentMetadata", +"description": "Document metadata." +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1alphaAssistantGroundedContentTextGroundingMetadataReferenceDocumentMetadata": { +"description": "Document metadata.", +"id": "GoogleCloudDiscoveryengineV1alphaAssistantGroundedContentTextGroundingMetadataReferenceDocumentMetadata", +"properties": { +"document": { +"description": "Document resource name.", +"type": "string" +}, +"domain": { +"description": "Domain name from the document URI. Note that the `uri` field may contain a URL that redirects to the actual website, in which case this will contain the domain name of the target site.", +"type": "string" +}, +"mimeType": { +"description": "The mime type of the document. https://www.iana.org/assignments/media-types/media-types.xhtml.", +"type": "string" +}, +"pageIdentifier": { +"description": "Page identifier.", +"type": "string" +}, +"title": { +"description": "Title.", +"type": "string" +}, +"uri": { +"description": "URI for the document. It may contain a URL that redirects to the actual website.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1alphaAssistantGroundedContentTextGroundingMetadataSegment": { +"description": "Grounding information for a segment of the text.", +"id": "GoogleCloudDiscoveryengineV1alphaAssistantGroundedContentTextGroundingMetadataSegment", +"properties": { +"endIndex": { +"description": "End of the segment, exclusive.", +"format": "int64", +"type": "string" +}, +"groundingScore": { +"description": "Score for the segment.", +"format": "float", +"type": "number" +}, +"referenceIndices": { +"description": "References for the segment.", +"items": { +"format": "int32", +"type": "integer" +}, +"type": "array" +}, +"startIndex": { +"description": "Zero-based index indicating the start of the segment, measured in bytes of a UTF-8 string (i.e. characters encoded on multiple bytes have a length of more than one).", +"format": "int64", +"type": "string" +}, +"text": { +"description": "The text segment itself.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1alphaBAPConfig": { +"description": "The configuration for the BAP connector.", +"id": "GoogleCloudDiscoveryengineV1alphaBAPConfig", +"properties": { +"enabledActions": { +"description": "Optional. The actions enabled on the associated BAP connection.", +"items": { +"type": "string" +}, +"type": "array" +}, +"supportedConnectorModes": { +"description": "Required. The supported connector modes for the associated BAP connection.", +"items": { +"enum": [ +"CONNECTOR_MODE_UNSPECIFIED", +"DATA_INGESTION", +"ACTIONS", +"END_USER_AUTHENTICATION" +], +"enumDescriptions": [ +"Connector mode unspecified.", +"Connector utilized for data ingestion.", +"Connector utilized for Actions", +"Connector utilized for End User Authentication." +], +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1alphaBatchCreateTargetSiteMetadata": { +"description": "Metadata related to the progress of the SiteSearchEngineService.BatchCreateTargetSites operation. This will be returned by the google.longrunning.Operation.metadata field.", +"id": "GoogleCloudDiscoveryengineV1alphaBatchCreateTargetSiteMetadata", +"properties": { +"createTime": { +"description": "Operation create time.", +"format": "google-datetime", +"type": "string" +}, +"updateTime": { +"description": "Operation last update time. If the operation is done, this is also the finish time.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1alphaBatchCreateTargetSitesResponse": { +"description": "Response message for SiteSearchEngineService.BatchCreateTargetSites method.", +"id": "GoogleCloudDiscoveryengineV1alphaBatchCreateTargetSitesResponse", +"properties": { +"targetSites": { +"description": "TargetSites created.", +"items": { +"$ref": "GoogleCloudDiscoveryengineV1alphaTargetSite" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1alphaBatchUpdateUserLicensesMetadata": { +"description": "Metadata related to the progress of the UserLicenseService.BatchUpdateUserLicenses operation. This will be returned by the google.longrunning.Operation.metadata field.", +"id": "GoogleCloudDiscoveryengineV1alphaBatchUpdateUserLicensesMetadata", +"properties": { +"createTime": { +"description": "Operation create time.", +"format": "google-datetime", +"type": "string" +}, +"failureCount": { +"description": "Count of user licenses that failed to be updated.", +"format": "int64", +"type": "string" +}, +"successCount": { +"description": "Count of user licenses successfully updated.", +"format": "int64", +"type": "string" +}, +"updateTime": { +"description": "Operation last update time. If the operation is done, this is also the finish time.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1alphaBatchUpdateUserLicensesResponse": { +"description": "Response message for UserLicenseService.BatchUpdateUserLicenses method.", +"id": "GoogleCloudDiscoveryengineV1alphaBatchUpdateUserLicensesResponse", +"properties": { +"errorSamples": { +"description": "A sample of errors encountered while processing the request.", +"items": { +"$ref": "GoogleRpcStatus" +}, +"type": "array" +}, +"userLicenses": { +"description": "UserLicenses successfully updated.", +"items": { +"$ref": "GoogleCloudDiscoveryengineV1alphaUserLicense" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1alphaCitation": { +"description": "Source attributions for content.", +"id": "GoogleCloudDiscoveryengineV1alphaCitation", +"properties": { +"endIndex": { +"description": "Output only. End index into the content.", +"format": "int32", +"readOnly": true, +"type": "integer" +}, +"license": { +"description": "Output only. License of the attribution.", +"readOnly": true, +"type": "string" +}, +"publicationDate": { +"$ref": "GoogleTypeDate", +"description": "Output only. Publication date of the attribution.", +"readOnly": true +}, +"startIndex": { +"description": "Output only. Start index into the content.", +"format": "int32", +"readOnly": true, +"type": "integer" +}, +"title": { +"description": "Output only. Title of the attribution.", +"readOnly": true, +"type": "string" +}, +"uri": { +"description": "Output only. Url reference of the attribution.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1alphaCitationMetadata": { +"description": "A collection of source attributions for a piece of content.", +"id": "GoogleCloudDiscoveryengineV1alphaCitationMetadata", +"properties": { +"citations": { +"description": "Output only. List of citations.", +"items": { +"$ref": "GoogleCloudDiscoveryengineV1alphaCitation" +}, +"readOnly": true, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1alphaCmekConfig": { +"description": "Configurations used to enable CMEK data encryption with Cloud KMS keys.", +"id": "GoogleCloudDiscoveryengineV1alphaCmekConfig", +"properties": { +"isDefault": { +"description": "Output only. The default CmekConfig for the Customer.", +"readOnly": true, +"type": "boolean" +}, +"kmsKey": { +"description": "Required. KMS key resource name which will be used to encrypt resources `projects/{project}/locations/{location}/keyRings/{keyRing}/cryptoKeys/{keyId}`.", +"type": "string" +}, +"kmsKeyVersion": { +"description": "Output only. KMS key version resource name which will be used to encrypt resources `/cryptoKeyVersions/{keyVersion}`.", +"readOnly": true, +"type": "string" +}, +"lastRotationTimestampMicros": { +"description": "Output only. The timestamp of the last key rotation.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"name": { +"description": "Required. The name of the CmekConfig of the form `projects/{project}/locations/{location}/cmekConfig` or `projects/{project}/locations/{location}/cmekConfigs/{cmek_config}`.", +"type": "string" +}, +"notebooklmState": { +"description": "Output only. Whether the NotebookLM Corpus is ready to be used.", +"enum": [ +"NOTEBOOK_LM_STATE_UNSPECIFIED", +"NOTEBOOK_LM_NOT_READY", +"NOTEBOOK_LM_READY", +"NOTEBOOK_LM_NOT_ENABLED" +], +"enumDescriptions": [ +"The NotebookLM state is unknown.", +"The NotebookLM is not ready.", +"The NotebookLM is ready to be used.", +"The NotebookLM is not enabled." +], +"readOnly": true, +"type": "string" +}, +"singleRegionKeys": { +"description": "Optional. Single-regional CMEKs that are required for some VAIS features.", +"items": { +"$ref": "GoogleCloudDiscoveryengineV1alphaSingleRegionKey" +}, +"type": "array" +}, +"state": { +"description": "Output only. The states of the CmekConfig.", +"enum": [ +"STATE_UNSPECIFIED", +"CREATING", +"ACTIVE", +"KEY_ISSUE", +"DELETING", +"DELETE_FAILED", +"UNUSABLE", +"ACTIVE_ROTATING", +"DELETED", +"EXPIRED" +], +"enumDescriptions": [ +"The CmekConfig state is unknown.", +"The CmekConfig is creating.", +"The CmekConfig can be used with DataStores.", +"The CmekConfig is unavailable, most likely due to the KMS Key being revoked.", +"The CmekConfig is deleting.", +"The CmekConfig deletion process failed.", +"The CmekConfig is not usable, most likely due to some internal issue.", +"The KMS key version is being rotated.", +"The KMS key is soft deleted. Some cleanup policy will eventually be applied.", +"The KMS key is expired, meaning the key has been disabled for 30+ days. The customer can call DeleteCmekConfig to change the state to DELETED." +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1alphaCollection": { +"description": "Collection is a container for configuring resources and access to a set of DataStores.", +"id": "GoogleCloudDiscoveryengineV1alphaCollection", +"properties": { +"createTime": { +"description": "Output only. Timestamp the Collection was created at.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"dataConnector": { +"$ref": "GoogleCloudDiscoveryengineV1alphaDataConnector", +"description": "Output only. The data connector, if present, manages the connection for data stores in the Collection. To set up the connector, use DataConnectorService.SetUpDataConnector method, which creates a new Collection while setting up the DataConnector singleton resource. Setting up connector on an existing Collection is not supported. This output only field contains a subset of the DataConnector fields, including `name`, `data_source`, `entities.entity_name` and `entities.data_store`. To get more details about a data connector, use the DataConnectorService.GetDataConnector method.", +"readOnly": true +}, +"displayName": { +"description": "Required. The Collection display name. This field must be a UTF-8 encoded string with a length limit of 128 characters. Otherwise, an INVALID_ARGUMENT error is returned.", +"type": "string" +}, +"name": { +"description": "Immutable. The full resource name of the Collection. Format: `projects/{project}/locations/{location}/collections/{collection_id}`. This field must be a UTF-8 encoded string with a length limit of 1024 characters.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1alphaCondition": { +"description": "Defines circumstances to be checked before allowing a behavior", +"id": "GoogleCloudDiscoveryengineV1alphaCondition", +"properties": { +"activeTimeRange": { +"description": "Range of time(s) specifying when condition is active. Maximum of 10 time ranges.", +"items": { +"$ref": "GoogleCloudDiscoveryengineV1alphaConditionTimeRange" +}, +"type": "array" +}, +"queryRegex": { +"description": "Optional. Query regex to match the whole search query. Cannot be set when Condition.query_terms is set. Only supported for Basic Site Search promotion serving controls.", +"type": "string" +}, +"queryTerms": { +"description": "Search only A list of terms to match the query on. Cannot be set when Condition.query_regex is set. Maximum of 10 query terms.", +"items": { +"$ref": "GoogleCloudDiscoveryengineV1alphaConditionQueryTerm" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1alphaConditionQueryTerm": { +"description": "Matcher for search request query", +"id": "GoogleCloudDiscoveryengineV1alphaConditionQueryTerm", +"properties": { +"fullMatch": { +"description": "Whether the search query needs to exactly match the query term.", +"type": "boolean" +}, +"value": { +"description": "The specific query value to match against Must be lowercase, must be UTF-8. Can have at most 3 space separated terms if full_match is true. Cannot be an empty string. Maximum length of 5000 characters.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1alphaConditionTimeRange": { +"description": "Used for time-dependent conditions.", +"id": "GoogleCloudDiscoveryengineV1alphaConditionTimeRange", +"properties": { +"endTime": { +"description": "End of time range. Range is inclusive. Must be in the future.", +"format": "google-datetime", +"type": "string" +}, +"startTime": { +"description": "Start of time range. Range is inclusive.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1alphaConnectorRun": { +"description": "A data sync run of DataConnector. After DataConnector is successfully initialized, data syncs are scheduled at DataConnector.refresh_interval. A ConnectorRun represents a data sync either in the past or onging that the moment. //", +"id": "GoogleCloudDiscoveryengineV1alphaConnectorRun", +"properties": { +"endTime": { +"description": "Output only. The time when the connector run ended.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"entityRuns": { +"description": "Output only. The details of the entities synced at the ConnectorRun. Each ConnectorRun consists of syncing one or more entities.", +"items": { +"$ref": "GoogleCloudDiscoveryengineV1alphaConnectorRunEntityRun" +}, +"readOnly": true, +"type": "array" +}, +"errors": { +"description": "Contains info about errors incurred during the sync. Only exist if running into an error state. Contains error code and error message. Use with the `state` field.", +"items": { +"$ref": "GoogleRpcStatus" +}, +"type": "array" +}, +"latestPauseTime": { +"description": "Output only. The time when the connector run was most recently paused.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"name": { +"description": "Output only. The full resource name of the Connector Run. Format: `projects/*/locations/*/collections/*/dataConnector/connectorRuns/*`. The `connector_run_id` is system-generated.", +"readOnly": true, +"type": "string" +}, +"startTime": { +"description": "Output only. The time when the connector run started.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"state": { +"description": "Output only. The state of the sync run.", +"enum": [ +"STATE_UNSPECIFIED", +"RUNNING", +"SUCCEEDED", +"FAILED", +"OVERRUN", +"CANCELLED", +"PENDING", +"WARNING", +"SKIPPED" +], +"enumDescriptions": [ +"Default value.", +"The data sync is ongoing.", +"The data sync is finished.", +"The data sync is failed.", +"Data sync has been running longer than expected and is still running at the time the next run is supposed to start.", +"Data sync was scheduled but has been cancelled.", +"Data sync is about to start.", +"The data sync completed with non-fatal errors.", +"An ongoing connector run has been running longer than expected, causing this run to be skipped." +], +"readOnly": true, +"type": "string" +}, +"stateUpdateTime": { +"description": "Timestamp at which the connector run sync state was last updated.", +"format": "google-datetime", +"type": "string" +}, +"trigger": { +"description": "Output only. The trigger for this ConnectorRun.", +"enum": [ +"TRIGGER_UNSPECIFIED", +"SCHEDULER", +"INITIALIZATION", +"RESUME", +"MANUAL" +], +"enumDescriptions": [ +"Default value.", +"ConnectorRun triggered by scheduler if connector has PERIODIC sync mode.", +"ConnectorRun auto triggered by connector initialization.", +"ConnectorRun auto triggered by resuming connector.", +"ConnectorRun triggered by user manually." +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1alphaConnectorRunEntityRun": { +"description": "Represents an entity that was synced in this ConnectorRun.", +"id": "GoogleCloudDiscoveryengineV1alphaConnectorRunEntityRun", +"properties": { +"deletedRecordCount": { +"description": "Optional. The number of documents deleted.", +"format": "int64", +"type": "string" +}, +"entityName": { +"description": "The name of the source entity.", +"type": "string" +}, +"errorRecordCount": { +"description": "Optional. The total number of documents failed at sync at indexing stage.", +"format": "int64", +"type": "string" +}, +"errors": { +"description": "The errors from the entity's sync run. Only exist if running into an error state. Contains error code and error message.", +"items": { +"$ref": "GoogleRpcStatus" +}, +"type": "array" +}, +"extractedRecordCount": { +"description": "Optional. The number of documents extracted from connector source, ready to be ingested to VAIS.", +"format": "int64", +"type": "string" +}, +"indexedRecordCount": { +"description": "Optional. The number of documents indexed.", +"format": "int64", +"type": "string" +}, +"progress": { +"$ref": "GoogleCloudDiscoveryengineV1alphaConnectorRunEntityRunProgress", +"description": "Metadata to generate the progress bar." +}, +"scheduledRecordCount": { +"description": "Optional. The number of documents scheduled to be crawled/extracted from connector source. This only applies to third party connectors.", +"format": "int64", +"type": "string" +}, +"sourceApiRequestCount": { +"description": "Optional. The number of requests sent to 3p API.", +"format": "int64", +"type": "string" +}, +"state": { +"description": "The state of the entity's sync run.", +"enum": [ +"STATE_UNSPECIFIED", +"RUNNING", +"SUCCEEDED", +"FAILED", +"OVERRUN", +"CANCELLED", +"PENDING", +"WARNING", +"SKIPPED" +], +"enumDescriptions": [ +"Default value.", +"The data sync is ongoing.", +"The data sync is finished.", +"The data sync is failed.", +"Data sync has been running longer than expected and is still running at the time the next run is supposed to start.", +"Data sync was scheduled but has been cancelled.", +"Data sync is about to start.", +"The data sync completed with non-fatal errors.", +"An ongoing connector run has been running longer than expected, causing this run to be skipped." +], +"type": "string" +}, +"stateUpdateTime": { +"description": "Timestamp at which the entity sync state was last updated.", +"format": "google-datetime", +"type": "string" +}, +"statsUpdateTime": { +"description": "The timestamp for either extracted_documents_count, indexed_documents_count and error_documents_count was last updated.", +"format": "google-datetime", +"type": "string" +}, +"syncType": { +"description": "Sync type of this run.", +"enum": [ +"SYNC_TYPE_UNSPECIFIED", +"FULL", +"INCREMENTAL", +"REALTIME", +"SCALA_SYNC" +], +"enumDescriptions": [ +"Sync type unspecified.", +"Sync triggers full sync of all documents.", +"Incremental sync of updated documents.", +"Realtime sync.", +"Scala sync." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1alphaConnectorRunEntityRunProgress": { +"description": "Represents the progress of a sync run.", +"id": "GoogleCloudDiscoveryengineV1alphaConnectorRunEntityRunProgress", +"properties": { +"currentCount": { +"description": "The current progress.", +"format": "int64", +"type": "string" +}, +"percentile": { +"description": "Derived. The percentile of the progress.current_count / total_count. The value is between [0, 1.0] inclusive.", +"format": "float", +"type": "number" +}, +"totalCount": { +"description": "The total.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1alphaContactDetails": { +"description": "The contact info stored in resource level. If both project level and resource level is populated, the resource level contact info will override the project level contact info.", +"id": "GoogleCloudDiscoveryengineV1alphaContactDetails", +"properties": { +"emailAddress": { +"description": "Optional. The email address of the contact.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1alphaControl": { +"description": "Defines a conditioned behavior to employ during serving. Must be attached to a ServingConfig to be considered at serving time. Permitted actions dependent on `SolutionType`.", +"id": "GoogleCloudDiscoveryengineV1alphaControl", +"properties": { +"associatedServingConfigIds": { +"description": "Output only. List of all ServingConfig IDs this control is attached to. May take up to 10 minutes to update after changes.", +"items": { +"type": "string" +}, +"readOnly": true, +"type": "array" +}, +"boostAction": { +"$ref": "GoogleCloudDiscoveryengineV1alphaControlBoostAction", +"description": "Defines a boost-type control" +}, +"conditions": { +"description": "Determines when the associated action will trigger. Omit to always apply the action. Currently only a single condition may be specified. Otherwise an INVALID ARGUMENT error is thrown.", +"items": { +"$ref": "GoogleCloudDiscoveryengineV1alphaCondition" +}, +"type": "array" +}, +"displayName": { +"description": "Required. Human readable name. The identifier used in UI views. Must be UTF-8 encoded string. Length limit is 128 characters. Otherwise an INVALID ARGUMENT error is thrown.", +"type": "string" +}, +"filterAction": { +"$ref": "GoogleCloudDiscoveryengineV1alphaControlFilterAction", +"description": "Defines a filter-type control Currently not supported by Recommendation" +}, +"name": { +"description": "Immutable. Fully qualified name `projects/*/locations/global/dataStore/*/controls/*`", +"type": "string" +}, +"promoteAction": { +"$ref": "GoogleCloudDiscoveryengineV1alphaControlPromoteAction", +"description": "Promote certain links based on predefined trigger queries." +}, +"redirectAction": { +"$ref": "GoogleCloudDiscoveryengineV1alphaControlRedirectAction", +"description": "Defines a redirect-type control." +}, +"solutionType": { +"description": "Required. Immutable. What solution the control belongs to. Must be compatible with vertical of resource. Otherwise an INVALID ARGUMENT error is thrown.", +"enum": [ +"SOLUTION_TYPE_UNSPECIFIED", +"SOLUTION_TYPE_RECOMMENDATION", +"SOLUTION_TYPE_SEARCH", +"SOLUTION_TYPE_CHAT", +"SOLUTION_TYPE_GENERATIVE_CHAT", +"SOLUTION_TYPE_AI_MODE" +], +"enumDescriptions": [ +"Default value.", +"Used for Recommendations AI.", +"Used for Discovery Search.", +"Used for use cases related to the Generative AI agent.", +"Used for use cases related to the Generative Chat agent. It's used for Generative chat engine only, the associated data stores must enrolled with `SOLUTION_TYPE_CHAT` solution.", +"Used for AI Mode." +], +"type": "string" +}, +"synonymsAction": { +"$ref": "GoogleCloudDiscoveryengineV1alphaControlSynonymsAction", +"description": "Treats a group of terms as synonyms of one another." +}, +"useCases": { +"description": "Specifies the use case for the control. Affects what condition fields can be set. Only applies to SOLUTION_TYPE_SEARCH. Currently only allow one use case per control. Must be set when solution_type is SolutionType.SOLUTION_TYPE_SEARCH.", +"items": { +"enum": [ +"SEARCH_USE_CASE_UNSPECIFIED", +"SEARCH_USE_CASE_SEARCH", +"SEARCH_USE_CASE_BROWSE" +], +"enumDescriptions": [ +"Value used when unset. Will not occur in CSS.", +"Search use case. Expects the traffic has a non-empty query.", +"Browse use case. Expects the traffic has an empty query." +], +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1alphaControlBoostAction": { +"description": "Adjusts order of products in returned list.", +"id": "GoogleCloudDiscoveryengineV1alphaControlBoostAction", +"properties": { +"boost": { +"deprecated": true, +"description": "Strength of the boost, which should be in [-1, 1]. Negative boost means demotion. Default is 0.0 (No-op).", +"format": "float", +"type": "number" +}, +"dataStore": { +"description": "Required. Specifies which data store's documents can be boosted by this control. Full data store name e.g. projects/123/locations/global/collections/default_collection/dataStores/default_data_store", +"type": "string" +}, +"filter": { +"description": "Required. Specifies which products to apply the boost to. If no filter is provided all products will be boosted (No-op). Syntax documentation: https://cloud.google.com/retail/docs/filter-and-order Maximum length is 5000 characters. Otherwise an INVALID ARGUMENT error is thrown.", +"type": "string" +}, +"fixedBoost": { +"description": "Optional. Strength of the boost, which should be in [-1, 1]. Negative boost means demotion. Default is 0.0 (No-op).", +"format": "float", +"type": "number" +}, +"interpolationBoostSpec": { +"$ref": "GoogleCloudDiscoveryengineV1alphaControlBoostActionInterpolationBoostSpec", +"description": "Optional. Complex specification for custom ranking based on customer defined attribute value." +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1alphaControlBoostActionInterpolationBoostSpec": { +"description": "Specification for custom ranking based on customer specified attribute value. It provides more controls for customized ranking than the simple (condition, boost) combination above.", +"id": "GoogleCloudDiscoveryengineV1alphaControlBoostActionInterpolationBoostSpec", +"properties": { +"attributeType": { +"description": "Optional. The attribute type to be used to determine the boost amount. The attribute value can be derived from the field value of the specified field_name. In the case of numerical it is straightforward i.e. attribute_value = numerical_field_value. In the case of freshness however, attribute_value = (time.now() - datetime_field_value).", +"enum": [ +"ATTRIBUTE_TYPE_UNSPECIFIED", +"NUMERICAL", +"FRESHNESS" +], +"enumDescriptions": [ +"Unspecified AttributeType.", +"The value of the numerical field will be used to dynamically update the boost amount. In this case, the attribute_value (the x value) of the control point will be the actual value of the numerical field for which the boost_amount is specified.", +"For the freshness use case the attribute value will be the duration between the current time and the date in the datetime field specified. The value must be formatted as an XSD `dayTimeDuration` value (a restricted subset of an ISO 8601 duration value). The pattern for this is: `nDnM]`. For example, `5D`, `3DT12H30M`, `T24H`." +], +"type": "string" +}, +"controlPoints": { +"description": "Optional. The control points used to define the curve. The monotonic function (defined through the interpolation_type above) passes through the control points listed here.", +"items": { +"$ref": "GoogleCloudDiscoveryengineV1alphaControlBoostActionInterpolationBoostSpecControlPoint" +}, +"type": "array" +}, +"fieldName": { +"description": "Optional. The name of the field whose value will be used to determine the boost amount.", +"type": "string" +}, +"interpolationType": { +"description": "Optional. The interpolation type to be applied to connect the control points listed below.", +"enum": [ +"INTERPOLATION_TYPE_UNSPECIFIED", +"LINEAR" +], +"enumDescriptions": [ +"Interpolation type is unspecified. In this case, it defaults to Linear.", +"Piecewise linear interpolation will be applied." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1alphaControlBoostActionInterpolationBoostSpecControlPoint": { +"description": "The control points used to define the curve. The curve defined through these control points can only be monotonically increasing or decreasing(constant values are acceptable).", +"id": "GoogleCloudDiscoveryengineV1alphaControlBoostActionInterpolationBoostSpecControlPoint", +"properties": { +"attributeValue": { +"description": "Optional. Can be one of: 1. The numerical field value. 2. The duration spec for freshness: The value must be formatted as an XSD `dayTimeDuration` value (a restricted subset of an ISO 8601 duration value). The pattern for this is: `nDnM]`.", +"type": "string" +}, +"boostAmount": { +"description": "Optional. The value between -1 to 1 by which to boost the score if the attribute_value evaluates to the value specified above.", +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1alphaControlFilterAction": { +"description": "Specified which products may be included in results. Uses same filter as boost.", +"id": "GoogleCloudDiscoveryengineV1alphaControlFilterAction", +"properties": { +"dataStore": { +"description": "Required. Specifies which data store's documents can be filtered by this control. Full data store name e.g. projects/123/locations/global/collections/default_collection/dataStores/default_data_store", +"type": "string" +}, +"filter": { +"description": "Required. A filter to apply on the matching condition results. Required Syntax documentation: https://cloud.google.com/retail/docs/filter-and-order Maximum length is 5000 characters. Otherwise an INVALID ARGUMENT error is thrown.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1alphaControlPromoteAction": { +"description": "Promote certain links based on some trigger queries. Example: Promote shoe store link when searching for `shoe` keyword. The link can be outside of associated data store.", +"id": "GoogleCloudDiscoveryengineV1alphaControlPromoteAction", +"properties": { +"dataStore": { +"description": "Required. Data store with which this promotion is attached to.", +"type": "string" +}, +"searchLinkPromotion": { +"$ref": "GoogleCloudDiscoveryengineV1alphaSearchLinkPromotion", +"description": "Required. Promotion attached to this action." +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1alphaControlRedirectAction": { +"description": "Redirects a shopper to the provided URI.", +"id": "GoogleCloudDiscoveryengineV1alphaControlRedirectAction", +"properties": { +"redirectUri": { +"description": "Required. The URI to which the shopper will be redirected. Required. URI must have length equal or less than 2000 characters. Otherwise an INVALID ARGUMENT error is thrown.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1alphaControlSynonymsAction": { +"description": "Creates a set of terms that will act as synonyms of one another. Example: \"happy\" will also be considered as \"glad\", \"glad\" will also be considered as \"happy\".", +"id": "GoogleCloudDiscoveryengineV1alphaControlSynonymsAction", +"properties": { +"synonyms": { +"description": "Defines a set of synonyms. Can specify up to 100 synonyms. Must specify at least 2 synonyms. Otherwise an INVALID ARGUMENT error is thrown.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1alphaCrawlRateTimeSeries": { +"description": "The historical crawl rate timeseries data, used for monitoring.", +"id": "GoogleCloudDiscoveryengineV1alphaCrawlRateTimeSeries", +"properties": { +"qpsTimeSeries": { +"$ref": "GoogleMonitoringV3TimeSeries", +"description": "The QPS of the crawl rate." +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1alphaCreateDataStoreMetadata": { +"description": "Metadata related to the progress of the DataStoreService.CreateDataStore operation. This will be returned by the google.longrunning.Operation.metadata field.", +"id": "GoogleCloudDiscoveryengineV1alphaCreateDataStoreMetadata", +"properties": { +"createTime": { +"description": "Operation create time.", +"format": "google-datetime", +"type": "string" +}, +"updateTime": { +"description": "Operation last update time. If the operation is done, this is also the finish time.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1alphaCreateEngineMetadata": { +"description": "Metadata related to the progress of the EngineService.CreateEngine operation. This will be returned by the google.longrunning.Operation.metadata field.", +"id": "GoogleCloudDiscoveryengineV1alphaCreateEngineMetadata", +"properties": { +"createTime": { +"description": "Operation create time.", +"format": "google-datetime", +"type": "string" +}, +"updateTime": { +"description": "Operation last update time. If the operation is done, this is also the finish time.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1alphaCreateEvaluationMetadata": { +"description": "Metadata for EvaluationService.CreateEvaluation method.", +"id": "GoogleCloudDiscoveryengineV1alphaCreateEvaluationMetadata", +"properties": {}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1alphaCreateSchemaMetadata": { +"description": "Metadata for Create Schema LRO.", +"id": "GoogleCloudDiscoveryengineV1alphaCreateSchemaMetadata", +"properties": { +"createTime": { +"description": "Operation create time.", +"format": "google-datetime", +"type": "string" +}, +"updateTime": { +"description": "Operation last update time. If the operation is done, this is also the finish time.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1alphaCreateSitemapMetadata": { +"description": "Metadata related to the progress of the SiteSearchEngineService.CreateSitemap operation. This will be returned by the google.longrunning.Operation.metadata field.", +"id": "GoogleCloudDiscoveryengineV1alphaCreateSitemapMetadata", +"properties": { +"createTime": { +"description": "Operation create time.", +"format": "google-datetime", +"type": "string" +}, +"updateTime": { +"description": "Operation last update time. If the operation is done, this is also the finish time.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1alphaCreateTargetSiteMetadata": { +"description": "Metadata related to the progress of the SiteSearchEngineService.CreateTargetSite operation. This will be returned by the google.longrunning.Operation.metadata field.", +"id": "GoogleCloudDiscoveryengineV1alphaCreateTargetSiteMetadata", +"properties": { +"createTime": { +"description": "Operation create time.", +"format": "google-datetime", +"type": "string" +}, +"updateTime": { +"description": "Operation last update time. If the operation is done, this is also the finish time.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1alphaCustomFineTuningSpec": { +"description": "Defines custom fine tuning spec.", +"id": "GoogleCloudDiscoveryengineV1alphaCustomFineTuningSpec", +"properties": { +"enableSearchAdaptor": { +"description": "Whether or not to enable and include custom fine tuned search adaptor model.", +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1alphaDataConnector": { +"description": "Manages the connection to external data sources for all data stores grouped under a Collection. It's a singleton resource of Collection. The initialization is only supported through DataConnectorService.SetUpDataConnector method, which will create a new Collection and initialize its DataConnector.", +"id": "GoogleCloudDiscoveryengineV1alphaDataConnector", +"properties": { +"aclEnabled": { +"description": "Optional. Whether the connector will be created with an ACL config. Currently this field only affects Cloud Storage and BigQuery connectors.", +"type": "boolean" +}, +"actionConfig": { +"$ref": "GoogleCloudDiscoveryengineV1alphaActionConfig", +"description": "Optional. Action configurations to make the connector support actions." +}, +"actionState": { +"description": "Output only. State of the action connector. This reflects whether the action connector is initializing, active or has encountered errors.", +"enum": [ +"STATE_UNSPECIFIED", +"CREATING", +"ACTIVE", +"FAILED", +"RUNNING", +"WARNING", +"INITIALIZATION_FAILED", +"UPDATING" +], +"enumDescriptions": [ +"Default value.", +"The connector is being set up.", +"The connector is successfully set up and awaiting next sync run.", +"The connector is in error. The error details can be found in DataConnector.errors. If the error is unfixable, the DataConnector can be deleted by CollectionService.DeleteCollection API.", +"The connector is actively syncing records from the data source.", +"The connector has completed a sync run, but encountered non-fatal errors.", +"Connector initialization failed. Potential causes include runtime errors or issues in the asynchronous pipeline, preventing the request from reaching downstream services (except for some connector types).", +"Connector is in the process of an update." +], +"readOnly": true, +"type": "string" +}, +"alertPolicyConfigs": { +"description": "Optional. The connector level alert config.", +"items": { +"$ref": "GoogleCloudDiscoveryengineV1alphaAlertPolicyConfig" +}, +"type": "array" +}, +"autoRunDisabled": { +"description": "Optional. Indicates whether the connector is disabled for auto run. It can be used to pause periodical and real time sync. Update: with the introduction of incremental_sync_disabled, auto_run_disabled is used to pause/disable only full syncs", +"type": "boolean" +}, +"bapConfig": { +"$ref": "GoogleCloudDiscoveryengineV1alphaBAPConfig", +"description": "Optional. The configuration for establishing a BAP connection." +}, +"blockingReasons": { +"description": "Output only. User actions that must be completed before the connector can start syncing data.", +"items": { +"enum": [ +"BLOCKING_REASON_UNSPECIFIED", +"ALLOWLIST_STATIC_IP", +"ALLOWLIST_IN_SERVICE_ATTACHMENT", +"ALLOWLIST_SERVICE_ACCOUNT" +], +"enumDescriptions": [ +"Default value.", +"Connector requires customer to allowlist static IPs.", +"Connector requires customer to allowlist our project in their service attachment.", +"Connector requires customer to allowlist service account in their project." +], +"type": "string" +}, +"readOnly": true, +"type": "array" +}, +"connectorModes": { +"description": "Optional. The modes enabled for this connector. Default state is CONNECTOR_MODE_UNSPECIFIED.", +"items": { +"enum": [ +"CONNECTOR_MODE_UNSPECIFIED", +"DATA_INGESTION", +"ACTIONS", +"FEDERATED", +"EUA", +"FEDERATED_AND_EUA" +], +"enumDescriptions": [ +"Connector mode unspecified.", +"Connector utilized for data ingestion.", +"Connector utilized for actions.", +"Connector utilized for federated search.", +"Connector utilized for End User Authentication.", +"Hybrid connector utilized for federated search and End User Authentication." +], +"type": "string" +}, +"type": "array" +}, +"connectorType": { +"description": "Output only. The type of connector. Each source can only map to one type. For example, salesforce, confluence and jira have THIRD_PARTY connector type. It is not mutable once set by system.", +"enum": [ +"CONNECTOR_TYPE_UNSPECIFIED", +"THIRD_PARTY", +"GCP_FHIR", +"BIG_QUERY", +"GCS", +"GOOGLE_MAIL", +"GOOGLE_CALENDAR", +"GOOGLE_DRIVE", +"NATIVE_CLOUD_IDENTITY", +"THIRD_PARTY_FEDERATED", +"THIRD_PARTY_EUA", +"GCNV", +"GOOGLE_CHAT", +"GOOGLE_SITES", +"REMOTE_MCP" +], +"enumDescriptions": [ +"Default value.", +"Third party connector to connector to third party application.", +"Data connector connects between FHIR store and VAIS datastore.", +"Big query connector.", +"Google Cloud Storage connector.", +"Gmail connector.", +"Google Calendar connector.", +"Google Drive connector.", +"Native Cloud Identity connector for people search powered by People API.", +"Federated connector, it is a third party connector that doesn't ingestion data, and search is powered by third party application's API.", +"Connector utilized for End User Authentication features.", +"Google Cloud NetApp Volumes connector.", +"Google Chat connector.", +"Google Sites connector.", +"Remote MCP based connector." +], +"readOnly": true, +"type": "string" +}, +"createEuaSaas": { +"description": "Optional. Whether the END USER AUTHENTICATION connector is created in SaaS.", +"type": "boolean" +}, +"createTime": { +"description": "Output only. Timestamp the DataConnector was created at.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"dataProtectionPolicy": { +"$ref": "GoogleCloudDiscoveryengineV1alphaDataProtectionPolicy", +"description": "Optional. Specifies the data protection policy for the connector." +}, +"dataSource": { +"description": "Required. The name of the data source. Supported values: `salesforce`, `jira`, `confluence`, `bigquery`.", +"type": "string" +}, +"destinationConfigs": { +"description": "Optional. Any target destinations used to connect to third-party services.", +"items": { +"$ref": "GoogleCloudDiscoveryengineV1alphaDestinationConfig" +}, +"type": "array" +}, +"egressFqdns": { +"description": "Output only. The list of FQDNs of the data connector can egress to. This includes both FQDN derived from the customer provided instance URL and default per connector type FQDNs. Note: This field is derived from both the DataConnector.params, and connector source spec. It should only be used for CAIS and Org Policy evaluation purposes.", +"items": { +"type": "string" +}, +"readOnly": true, +"type": "array" +}, +"endUserConfig": { +"$ref": "GoogleCloudDiscoveryengineV1alphaDataConnectorEndUserConfig", +"description": "Optional. Any params and credentials used specifically for EUA connectors." +}, +"entities": { +"description": "List of entities from the connected data source to ingest.", +"items": { +"$ref": "GoogleCloudDiscoveryengineV1alphaDataConnectorSourceEntity" +}, +"type": "array" +}, +"errors": { +"description": "Output only. The errors from initialization or from the latest connector run.", +"items": { +"$ref": "GoogleRpcStatus" +}, +"readOnly": true, +"type": "array" +}, +"federatedConfig": { +"$ref": "GoogleCloudDiscoveryengineV1alphaDataConnectorFederatedConfig", +"description": "Optional. Any params and credentials used specifically for hybrid connectors supporting FEDERATED mode. This field should only be set if the connector is a hybrid connector and we want to enable FEDERATED mode." +}, +"hybridIngestionDisabled": { +"description": "Optional. If the connector is a hybrid connector, determines whether ingestion is enabled and appropriate resources are provisioned during connector creation. If the connector is not a hybrid connector, this field is ignored.", +"type": "boolean" +}, +"identityRefreshInterval": { +"deprecated": true, +"description": "The refresh interval to sync the Access Control List information for the documents ingested by this connector. If not set, the access control list will be refreshed at the default interval of 30 minutes. The identity refresh interval can be at least 30 minutes and at most 7 days.", +"format": "google-duration", +"type": "string" +}, +"identityScheduleConfig": { +"$ref": "GoogleCloudDiscoveryengineV1alphaIdentityScheduleConfig", +"description": "The configuration for the identity data synchronization runs. This contains the refresh interval to sync the Access Control List information for the documents ingested by this connector." +}, +"incrementalRefreshInterval": { +"description": "Optional. The refresh interval specifically for incremental data syncs. If unset, incremental syncs will use the default from env, set to 3hrs. The minimum is 30 minutes and maximum is 7 days. Applicable to only 3P connectors. When the refresh interval is set to the same value as the incremental refresh interval, incremental sync will be disabled.", +"format": "google-duration", +"type": "string" +}, +"incrementalSyncDisabled": { +"description": "Optional. Indicates whether incremental syncs are paused for this connector. This is independent of auto_run_disabled. Applicable to only 3P connectors. When the refresh interval is set to the same value as the incremental refresh interval, incremental sync will be disabled, i.e. set to true.", +"type": "boolean" +}, +"jsonParams": { +"description": "Required data connector parameters in json string format.", +"type": "string" +}, +"kmsKeyName": { +"description": "Input only. The KMS key to be used to protect the DataStores managed by this connector. Must be set for requests that need to comply with CMEK Org Policy protections. If this field is set and processed successfully, the DataStores created by this connector will be protected by the KMS key.", +"type": "string" +}, +"lastSyncTime": { +"description": "Output only. For periodic connectors only, the last time a data sync was completed.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"latestPauseTime": { +"description": "Output only. The most recent timestamp when this DataConnector was paused, affecting all functionalities such as data synchronization. Pausing a connector has the following effects: - All functionalities, including data synchronization, are halted. - Any ongoing data synchronization job will be canceled. - No future data synchronization runs will be scheduled nor can be triggered.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"name": { +"description": "Output only. The full resource name of the Data Connector. Format: `projects/*/locations/*/collections/*/dataConnector`.", +"readOnly": true, +"type": "string" +}, +"nextSyncTime": { +"$ref": "GoogleTypeDateTime", +"description": "Defines the scheduled time for the next data synchronization. This field requires hour , minute, and time_zone from the [IANA Time Zone Database](https://www.iana.org/time-zones). This is utilized when the data connector has a refresh interval greater than 1 day. When the hours or minutes are not specified, we will assume a sync time of 0:00. The user must provide a time zone to avoid ambiguity." +}, +"params": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"description": "Required data connector parameters in structured json format.", +"type": "object" +}, +"privateConnectivityProjectId": { +"description": "Output only. The tenant project ID associated with private connectivity connectors. This project must be allowlisted by in order for the connector to function.", +"readOnly": true, +"type": "string" +}, +"realtimeState": { +"description": "Output only. real-time sync state", +"enum": [ +"STATE_UNSPECIFIED", +"CREATING", +"ACTIVE", +"FAILED", +"RUNNING", +"WARNING", +"INITIALIZATION_FAILED", +"UPDATING" +], +"enumDescriptions": [ +"Default value.", +"The connector is being set up.", +"The connector is successfully set up and awaiting next sync run.", +"The connector is in error. The error details can be found in DataConnector.errors. If the error is unfixable, the DataConnector can be deleted by CollectionService.DeleteCollection API.", +"The connector is actively syncing records from the data source.", +"The connector has completed a sync run, but encountered non-fatal errors.", +"Connector initialization failed. Potential causes include runtime errors or issues in the asynchronous pipeline, preventing the request from reaching downstream services (except for some connector types).", +"Connector is in the process of an update." +], +"readOnly": true, +"type": "string" +}, +"realtimeSyncConfig": { +"$ref": "GoogleCloudDiscoveryengineV1alphaDataConnectorRealtimeSyncConfig", +"description": "Optional. The configuration for realtime sync." +}, +"refreshInterval": { +"description": "Required. The refresh interval for data sync. If duration is set to 0, the data will be synced in real time. The streaming feature is not supported yet. The minimum is 30 minutes and maximum is 7 days. When the refresh interval is set to the same value as the incremental refresh interval, incremental sync will be disabled.", +"format": "google-duration", +"type": "string" +}, +"removeParamKeys": { +"description": "Optional. Specifies keys to be removed from the 'params' field. This is only active when 'params' is included in the 'update_mask' in an UpdateDataConnectorRequest. Deletion takes precedence if a key is both in 'remove_param_keys' and present in the 'params' field of the request.", +"items": { +"type": "string" +}, +"type": "array" +}, +"state": { +"description": "Output only. State of the connector.", +"enum": [ +"STATE_UNSPECIFIED", +"CREATING", +"ACTIVE", +"FAILED", +"RUNNING", +"WARNING", +"INITIALIZATION_FAILED", +"UPDATING" +], +"enumDescriptions": [ +"Default value.", +"The connector is being set up.", +"The connector is successfully set up and awaiting next sync run.", +"The connector is in error. The error details can be found in DataConnector.errors. If the error is unfixable, the DataConnector can be deleted by CollectionService.DeleteCollection API.", +"The connector is actively syncing records from the data source.", +"The connector has completed a sync run, but encountered non-fatal errors.", +"Connector initialization failed. Potential causes include runtime errors or issues in the asynchronous pipeline, preventing the request from reaching downstream services (except for some connector types).", +"Connector is in the process of an update." +], +"readOnly": true, +"type": "string" +}, +"staticIpAddresses": { +"description": "Output only. The static IP addresses used by this connector.", +"items": { +"type": "string" +}, +"readOnly": true, +"type": "array" +}, +"staticIpEnabled": { +"description": "Optional. Whether customer has enabled static IP addresses for this connector.", +"type": "boolean" +}, +"syncMode": { +"description": "The data synchronization mode supported by the data connector.", +"enum": [ +"PERIODIC", +"STREAMING", +"UNSPECIFIED" +], +"enumDescriptions": [ +"The connector will sync data periodically based on the refresh_interval. Use it with auto_run_disabled to pause the periodic sync, or indicate a one-time sync.", +"The data will be synced in real time.", +"Connector that doesn't ingest data will have this value" +], +"type": "string" +}, +"updateTime": { +"description": "Output only. Timestamp the DataConnector was last updated.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"vpcscEnabled": { +"description": "Output only. Whether the connector is created with VPC-SC enabled. This is only used for CuOP evaluation purpose.", +"readOnly": true, +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1alphaDataConnectorEndUserConfig": { +"description": "Any params and credentials used specifically for EUA connectors.", +"id": "GoogleCloudDiscoveryengineV1alphaDataConnectorEndUserConfig", +"properties": { +"additionalParams": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"description": "Optional. Any additional parameters needed for EUA.", +"type": "object" +}, +"authParams": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"description": "Optional. Any authentication parameters specific to EUA connectors.", +"type": "object" +}, +"jsonAuthParams": { +"description": "Optional. Any authentication parameters specific to EUA connectors in json string format.", +"type": "string" +}, +"tenant": { +"$ref": "GoogleCloudDiscoveryengineV1alphaTenant", +"description": "Optional. The tenant project the connector is connected to." +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1alphaDataConnectorFederatedConfig": { +"description": "Any params and credentials used specifically for hybrid connectors supporting FEDERATED mode.", +"id": "GoogleCloudDiscoveryengineV1alphaDataConnectorFederatedConfig", +"properties": { +"additionalParams": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"description": "Optional. Any additional parameters needed for FEDERATED.", +"type": "object" +}, +"authParams": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"description": "Optional. Any authentication parameters specific to FEDERATED connectors.", +"type": "object" +}, +"jsonAuthParams": { +"description": "Optional. Any authentication parameters specific to FEDERATED connectors in json string format.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1alphaDataConnectorRealtimeSyncConfig": { +"description": "The configuration for realtime sync to store additional params for realtime sync.", +"id": "GoogleCloudDiscoveryengineV1alphaDataConnectorRealtimeSyncConfig", +"properties": { +"realtimeSyncSecret": { +"description": "Optional. The ID of the Secret Manager secret used for webhook secret.", +"type": "string" +}, +"streamingError": { +"$ref": "GoogleCloudDiscoveryengineV1alphaDataConnectorRealtimeSyncConfigStreamingError", +"description": "Optional. Streaming error details." +}, +"webhookUri": { +"description": "Optional. Webhook url for the connector to specify additional params for realtime sync.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1alphaDataConnectorRealtimeSyncConfigStreamingError": { +"description": "Streaming error details.", +"id": "GoogleCloudDiscoveryengineV1alphaDataConnectorRealtimeSyncConfigStreamingError", +"properties": { +"error": { +"$ref": "GoogleRpcStatus", +"description": "Optional. Error details." +}, +"streamingErrorReason": { +"description": "Optional. Streaming error.", +"enum": [ +"STREAMING_ERROR_REASON_UNSPECIFIED", +"STREAMING_SETUP_ERROR", +"STREAMING_SYNC_ERROR", +"INGRESS_ENDPOINT_REQUIRED" +], +"enumDescriptions": [ +"Streaming error reason unspecified.", +"Some error occurred while setting up resources for realtime sync.", +"Some error was encountered while running realtime sync for the connector.", +"Ingress endpoint is required when setting up realtime sync in private connectivity." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1alphaDataConnectorSourceEntity": { +"description": "Represents an entity in the data source. For example, the `Account` object in Salesforce.", +"id": "GoogleCloudDiscoveryengineV1alphaDataConnectorSourceEntity", +"properties": { +"dataStore": { +"description": "Output only. The full resource name of the associated data store for the source entity. Format: `projects/*/locations/*/collections/*/dataStores/*`. When the connector is initialized by the DataConnectorService.SetUpDataConnector method, a DataStore is automatically created for each source entity.", +"readOnly": true, +"type": "string" +}, +"entityName": { +"description": "The name of the entity. Supported values by data source: * Salesforce: `Lead`, `Opportunity`, `Contact`, `Account`, `Case`, `Contract`, `Campaign` * Jira: `Issue` * Confluence: `Content`, `Space`", +"type": "string" +}, +"healthcareFhirConfig": { +"$ref": "GoogleCloudDiscoveryengineV1alphaHealthcareFhirConfig", +"description": "Optional. Configuration for `HEALTHCARE_FHIR` vertical." +}, +"jsonParams": { +"description": "The parameters for the entity to facilitate data ingestion in json string format.", +"type": "string" +}, +"keyPropertyMappings": { +"additionalProperties": { +"type": "string" +}, +"description": "Attributes for indexing. Key: Field name. Value: The key property to map a field to, such as `title`, and `description`. Supported key properties: * `title`: The title for data record. This would be displayed on search results. * `description`: The description for data record. This would be displayed on search results.", +"type": "object" +}, +"params": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"description": "The parameters for the entity to facilitate data ingestion in structured json format.", +"type": "object" +}, +"startingSchema": { +"$ref": "GoogleCloudDiscoveryengineV1alphaSchema", +"description": "Optional. The start schema to use for the DataStore created from this SourceEntity. If unset, a default vertical specialized schema will be used. This field is only used by SetUpDataConnector API, and will be ignored if used in other APIs. This field will be omitted from all API responses including GetDataConnector API. To retrieve a schema of a DataStore, use SchemaService.GetSchema API instead. The provided schema will be validated against certain rules on schema. Learn more from [this doc](https://cloud.google.com/generative-ai-app-builder/docs/provide-schema)." +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1alphaDataProtectionPolicy": { +"description": "Data protection policy config for a connector.", +"id": "GoogleCloudDiscoveryengineV1alphaDataProtectionPolicy", +"properties": { +"sensitiveDataProtectionPolicy": { +"$ref": "GoogleCloudDiscoveryengineV1alphaDataProtectionPolicySensitiveDataProtectionPolicy", +"description": "Optional. The sensitive data protection policy for the connector source." +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1alphaDataProtectionPolicySensitiveDataProtectionPolicy": { +"description": "Specifies a Sensitive Data Protection (https://cloud.google.com/sensitive-data-protection/docs/sensitive-data-protection-overview) policy.", +"id": "GoogleCloudDiscoveryengineV1alphaDataProtectionPolicySensitiveDataProtectionPolicy", +"properties": { +"policy": { +"description": "Optional. The Sensitive Data Protection content policy resource name.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1alphaDataStore": { +"description": "DataStore captures global settings and configs at the DataStore level.", +"id": "GoogleCloudDiscoveryengineV1alphaDataStore", +"properties": { +"aclEnabled": { +"description": "Immutable. Whether data in the DataStore has ACL information. If set to `true`, the source data must have ACL. ACL will be ingested when data is ingested by DocumentService.ImportDocuments methods. When ACL is enabled for the DataStore, Document can't be accessed by calling DocumentService.GetDocument or DocumentService.ListDocuments. Currently ACL is only supported in `GENERIC` industry vertical with non-`PUBLIC_WEBSITE` content config.", +"type": "boolean" +}, +"advancedSiteSearchConfig": { +"$ref": "GoogleCloudDiscoveryengineV1alphaAdvancedSiteSearchConfig", +"description": "Optional. Configuration for advanced site search." +}, +"billingEstimation": { +"$ref": "GoogleCloudDiscoveryengineV1alphaDataStoreBillingEstimation", +"description": "Output only. Data size estimation for billing.", +"readOnly": true +}, +"cmekConfig": { +"$ref": "GoogleCloudDiscoveryengineV1alphaCmekConfig", +"description": "Output only. CMEK-related information for the DataStore.", +"readOnly": true +}, +"configurableBillingApproach": { +"description": "Optional. Configuration for configurable billing approach. See", +"enum": [ +"CONFIGURABLE_BILLING_APPROACH_UNSPECIFIED", +"CONFIGURABLE_SUBSCRIPTION_INDEXING_CORE", +"CONFIGURABLE_CONSUMPTION_EMBEDDING" +], +"enumDescriptions": [ +"Default value. For Spark and non-Spark non-configurable billing approach.", +"Use the subscription base + overage billing for indexing core for non embedding storage.", +"Use the consumption pay-as-you-go billing for embedding storage add-on." +], +"type": "string" +}, +"configurableBillingApproachUpdateTime": { +"description": "Output only. The timestamp when configurable_billing_approach was last updated.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"contentConfig": { +"description": "Immutable. The content config of the data store. If this field is unset, the server behavior defaults to ContentConfig.NO_CONTENT.", +"enum": [ +"CONTENT_CONFIG_UNSPECIFIED", +"NO_CONTENT", +"CONTENT_REQUIRED", +"PUBLIC_WEBSITE", +"GOOGLE_WORKSPACE" +], +"enumDescriptions": [ +"Default value.", +"Only contains documents without any Document.content.", +"Only contains documents with Document.content.", +"The data store is used for public website search.", +"The data store is used for workspace search. Details of workspace data store are specified in the WorkspaceConfig." +], +"type": "string" +}, +"createTime": { +"description": "Output only. Timestamp the DataStore was created at.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"defaultSchemaId": { +"description": "Output only. The id of the default Schema associated to this data store.", +"readOnly": true, +"type": "string" +}, +"displayName": { +"description": "Required. The data store display name. This field must be a UTF-8 encoded string with a length limit of 128 characters. Otherwise, an INVALID_ARGUMENT error is returned.", +"type": "string" +}, +"documentProcessingConfig": { +"$ref": "GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfig", +"description": "Configuration for Document understanding and enrichment." +}, +"healthcareFhirConfig": { +"$ref": "GoogleCloudDiscoveryengineV1alphaHealthcareFhirConfig", +"description": "Optional. Configuration for `HEALTHCARE_FHIR` vertical." +}, +"identityMappingStore": { +"description": "Immutable. The fully qualified resource name of the associated IdentityMappingStore. This field can only be set for acl_enabled DataStores with `THIRD_PARTY` or `GSUITE` IdP. Format: `projects/{project}/locations/{location}/identityMappingStores/{identity_mapping_store}`.", +"type": "string" +}, +"idpConfig": { +"$ref": "GoogleCloudDiscoveryengineV1alphaIdpConfig", +"description": "Output only. Data store level identity provider config.", +"readOnly": true +}, +"industryVertical": { +"description": "Immutable. The industry vertical that the data store registers.", +"enum": [ +"INDUSTRY_VERTICAL_UNSPECIFIED", +"GENERIC", +"MEDIA", +"HEALTHCARE_FHIR" +], +"enumDescriptions": [ +"Value used when unset.", +"The generic vertical for documents that are not specific to any industry vertical.", +"The media industry vertical.", +"The healthcare FHIR vertical." +], +"type": "string" +}, +"isInfobotFaqDataStore": { +"description": "Optional. If set, this DataStore is an Infobot FAQ DataStore.", +"type": "boolean" +}, +"kmsKeyName": { +"description": "Input only. The KMS key to be used to protect this DataStore at creation time. Must be set for requests that need to comply with CMEK Org Policy protections. If this field is set and processed successfully, the DataStore will be protected by the KMS key, as indicated in the cmek_config field.", +"type": "string" +}, +"languageInfo": { +"$ref": "GoogleCloudDiscoveryengineV1alphaLanguageInfo", +"description": "Language info for DataStore." +}, +"name": { +"description": "Immutable. Identifier. The full resource name of the data store. Format: `projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}`. This field must be a UTF-8 encoded string with a length limit of 1024 characters.", +"type": "string" +}, +"naturalLanguageQueryUnderstandingConfig": { +"$ref": "GoogleCloudDiscoveryengineV1alphaNaturalLanguageQueryUnderstandingConfig", +"description": "Optional. Configuration for Natural Language Query Understanding." +}, +"servingConfigDataStore": { +"$ref": "GoogleCloudDiscoveryengineV1alphaDataStoreServingConfigDataStore", +"description": "Optional. Stores serving config at DataStore level." +}, +"solutionTypes": { +"description": "The solutions that the data store enrolls. Available solutions for each industry_vertical: * `MEDIA`: `SOLUTION_TYPE_RECOMMENDATION` and `SOLUTION_TYPE_SEARCH`. * `SITE_SEARCH`: `SOLUTION_TYPE_SEARCH` is automatically enrolled. Other solutions cannot be enrolled.", +"items": { +"enum": [ +"SOLUTION_TYPE_UNSPECIFIED", +"SOLUTION_TYPE_RECOMMENDATION", +"SOLUTION_TYPE_SEARCH", +"SOLUTION_TYPE_CHAT", +"SOLUTION_TYPE_GENERATIVE_CHAT", +"SOLUTION_TYPE_AI_MODE" +], +"enumDescriptions": [ +"Default value.", +"Used for Recommendations AI.", +"Used for Discovery Search.", +"Used for use cases related to the Generative AI agent.", +"Used for use cases related to the Generative Chat agent. It's used for Generative chat engine only, the associated data stores must enrolled with `SOLUTION_TYPE_CHAT` solution.", +"Used for AI Mode." +], +"type": "string" +}, +"type": "array" +}, +"startingSchema": { +"$ref": "GoogleCloudDiscoveryengineV1alphaSchema", +"description": "The start schema to use for this DataStore when provisioning it. If unset, a default vertical specialized schema will be used. This field is only used by CreateDataStore API, and will be ignored if used in other APIs. This field will be omitted from all API responses including CreateDataStore API. To retrieve a schema of a DataStore, use SchemaService.GetSchema API instead. The provided schema will be validated against certain rules on schema. Learn more from [this doc](https://cloud.google.com/generative-ai-app-builder/docs/provide-schema)." +}, +"workspaceConfig": { +"$ref": "GoogleCloudDiscoveryengineV1alphaWorkspaceConfig", +"description": "Config to store data store type configuration for workspace data. This must be set when DataStore.content_config is set as DataStore.ContentConfig.GOOGLE_WORKSPACE." +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1alphaDataStoreBillingEstimation": { +"description": "Estimation of data size per data store.", +"id": "GoogleCloudDiscoveryengineV1alphaDataStoreBillingEstimation", +"properties": { +"structuredDataSize": { +"description": "Data size for structured data in terms of bytes.", +"format": "int64", +"type": "string" +}, +"structuredDataUpdateTime": { +"description": "Last updated timestamp for structured data.", +"format": "google-datetime", +"type": "string" +}, +"unstructuredDataSize": { +"description": "Data size for unstructured data in terms of bytes.", +"format": "int64", +"type": "string" +}, +"unstructuredDataUpdateTime": { +"description": "Last updated timestamp for unstructured data.", +"format": "google-datetime", +"type": "string" +}, +"websiteDataSize": { +"description": "Data size for websites in terms of bytes.", +"format": "int64", +"type": "string" +}, +"websiteDataUpdateTime": { +"description": "Last updated timestamp for websites.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1alphaDataStoreServingConfigDataStore": { +"description": "Stores information regarding the serving configurations at DataStore level.", +"id": "GoogleCloudDiscoveryengineV1alphaDataStoreServingConfigDataStore", +"properties": { +"disabledForServing": { +"description": "Optional. If set true, the DataStore will not be available for serving search requests.", +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1alphaDedicatedCrawlRateTimeSeries": { +"description": "The historical dedicated crawl rate timeseries data, used for monitoring. Dedicated crawl is used by Vertex AI to crawl the user's website when dedicate crawl is set.", +"id": "GoogleCloudDiscoveryengineV1alphaDedicatedCrawlRateTimeSeries", +"properties": { +"autoRefreshCrawlErrorRate": { +"$ref": "GoogleCloudDiscoveryengineV1alphaCrawlRateTimeSeries", +"description": "Vertex AI's error rate time series of auto-refresh dedicated crawl." +}, +"autoRefreshCrawlRate": { +"$ref": "GoogleCloudDiscoveryengineV1alphaCrawlRateTimeSeries", +"description": "Vertex AI's dedicated crawl rate time series of auto-refresh, which is the crawl rate of Google-CloudVertexBot when dedicate crawl is set, and the crawl rate is for best effort use cases like refreshing urls periodically." +}, +"userTriggeredCrawlErrorRate": { +"$ref": "GoogleCloudDiscoveryengineV1alphaCrawlRateTimeSeries", +"description": "Vertex AI's error rate time series of user triggered dedicated crawl." +}, +"userTriggeredCrawlRate": { +"$ref": "GoogleCloudDiscoveryengineV1alphaCrawlRateTimeSeries", +"description": "Vertex AI's dedicated crawl rate time series of user triggered crawl, which is the crawl rate of Google-CloudVertexBot when dedicate crawl is set, and user triggered crawl rate is for deterministic use cases like crawling urls or sitemaps specified by users." +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1alphaDeleteAgentMetadata": { +"description": "Metadata related to the progress of the AgentService.DeleteAgent operation. This will be returned by the google.longrunning.Operation.metadata field.", +"id": "GoogleCloudDiscoveryengineV1alphaDeleteAgentMetadata", +"properties": { +"createTime": { +"description": "Operation create time.", +"format": "google-datetime", +"type": "string" +}, +"updateTime": { +"description": "Operation last update time. If the operation is done, this is also the finish time.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1alphaDeleteCmekConfigMetadata": { +"description": "Metadata related to the progress of the CmekConfigService.DeleteCmekConfig operation. This will be returned by the google.longrunning.Operation.metadata field.", +"id": "GoogleCloudDiscoveryengineV1alphaDeleteCmekConfigMetadata", +"properties": { +"createTime": { +"description": "Operation create time.", +"format": "google-datetime", +"type": "string" +}, +"updateTime": { +"description": "Operation last update time. If the operation is done, this is also the finish time.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1alphaDeleteCollectionMetadata": { +"description": "Metadata related to the progress of the CollectionService.UpdateCollection operation. This will be returned by the google.longrunning.Operation.metadata field.", +"id": "GoogleCloudDiscoveryengineV1alphaDeleteCollectionMetadata", +"properties": { +"createTime": { +"description": "Operation create time.", +"format": "google-datetime", +"type": "string" +}, +"updateTime": { +"description": "Operation last update time. If the operation is done, this is also the finish time.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1alphaDeleteDataStoreMetadata": { +"description": "Metadata related to the progress of the DataStoreService.DeleteDataStore operation. This will be returned by the google.longrunning.Operation.metadata field.", +"id": "GoogleCloudDiscoveryengineV1alphaDeleteDataStoreMetadata", +"properties": { +"createTime": { +"description": "Operation create time.", +"format": "google-datetime", +"type": "string" +}, +"updateTime": { +"description": "Operation last update time. If the operation is done, this is also the finish time.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1alphaDeleteEngineMetadata": { +"description": "Metadata related to the progress of the EngineService.DeleteEngine operation. This will be returned by the google.longrunning.Operation.metadata field.", +"id": "GoogleCloudDiscoveryengineV1alphaDeleteEngineMetadata", +"properties": { +"createTime": { +"description": "Operation create time.", +"format": "google-datetime", +"type": "string" +}, +"updateTime": { +"description": "Operation last update time. If the operation is done, this is also the finish time.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1alphaDeleteIdentityMappingStoreMetadata": { +"description": "Metadata related to the progress of the IdentityMappingStoreService.DeleteIdentityMappingStore operation. This will be returned by the google.longrunning.Operation.metadata field.", +"id": "GoogleCloudDiscoveryengineV1alphaDeleteIdentityMappingStoreMetadata", +"properties": { +"createTime": { +"description": "Operation create time.", +"format": "google-datetime", +"type": "string" +}, +"updateTime": { +"description": "Operation last update time. If the operation is done, this is also the finish time.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1alphaDeletePatientFiltersRequest": { +"description": "Request for DataStoreService.DeletePatientFilters method.", +"id": "GoogleCloudDiscoveryengineV1alphaDeletePatientFiltersRequest", +"properties": { +"dataStore": { +"description": "Required. Full resource name of DataStore, such as `projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}`. If the caller does not have permission to access the DataStore, regardless of whether or not it exists, a PERMISSION_DENIED error is returned. If the requested DataStore does not exist, a NOT_FOUND error is returned. If the requested DataStore does not have a patient filter, a NOT_FOUND error will be returned.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1alphaDeleteSchemaMetadata": { +"description": "Metadata for DeleteSchema LRO.", +"id": "GoogleCloudDiscoveryengineV1alphaDeleteSchemaMetadata", +"properties": { +"createTime": { +"description": "Operation create time.", +"format": "google-datetime", +"type": "string" +}, +"updateTime": { +"description": "Operation last update time. If the operation is done, this is also the finish time.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1alphaDeleteSessionRequest": { +"description": "Request for DeleteSession method.", +"id": "GoogleCloudDiscoveryengineV1alphaDeleteSessionRequest", +"properties": { +"name": { +"description": "Required. The resource name of the Session to delete. Format: `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store_id}/sessions/{session_id}`", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1alphaDeleteSitemapMetadata": { +"description": "Metadata related to the progress of the SiteSearchEngineService.DeleteSitemap operation. This will be returned by the google.longrunning.Operation.metadata field.", +"id": "GoogleCloudDiscoveryengineV1alphaDeleteSitemapMetadata", +"properties": { +"createTime": { +"description": "Operation create time.", +"format": "google-datetime", +"type": "string" +}, +"updateTime": { +"description": "Operation last update time. If the operation is done, this is also the finish time.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1alphaDeleteTargetSiteMetadata": { +"description": "Metadata related to the progress of the SiteSearchEngineService.DeleteTargetSite operation. This will be returned by the google.longrunning.Operation.metadata field.", +"id": "GoogleCloudDiscoveryengineV1alphaDeleteTargetSiteMetadata", +"properties": { +"createTime": { +"description": "Operation create time.", +"format": "google-datetime", +"type": "string" +}, +"updateTime": { +"description": "Operation last update time. If the operation is done, this is also the finish time.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1alphaDeleteUserStoreMetadata": { +"description": "Metadata related to the progress of the UserStoreService.DeleteUserStore operation. This will be returned by the google.longrunning.Operation.metadata field. Delete UserStore will delete all the end users under the user store, return the number of end users successfully deleted or failed to delete in the metadata.", +"id": "GoogleCloudDiscoveryengineV1alphaDeleteUserStoreMetadata", +"properties": { +"failureCount": { +"description": "The number of end users under the user store that failed to be deleted.", +"format": "int64", +"type": "string" +}, +"successCount": { +"description": "The number of end users under the user store that were successfully deleted.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1alphaDestinationConfig": { +"description": "Defines target endpoints used to connect to third-party sources.", +"id": "GoogleCloudDiscoveryengineV1alphaDestinationConfig", +"properties": { +"destinations": { +"description": "Optional. The destinations for the corresponding key.", +"items": { +"$ref": "GoogleCloudDiscoveryengineV1alphaDestinationConfigDestination" +}, +"type": "array" +}, +"jsonParams": { +"description": "Additional parameters for this destination config in json string format.", +"type": "string" +}, +"key": { +"description": "Optional. Unique destination identifier that is supported by the connector.", +"type": "string" +}, +"params": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"description": "Optional. Additional parameters for this destination config in structured json format.", +"type": "object" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1alphaDestinationConfigDestination": { +"description": "Defines a target endpoint", +"id": "GoogleCloudDiscoveryengineV1alphaDestinationConfigDestination", +"properties": { +"host": { +"description": "Publicly routable host.", +"type": "string" +}, +"port": { +"description": "Optional. Target port number accepted by the destination.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1alphaDisableAdvancedSiteSearchMetadata": { +"description": "Metadata related to the progress of the SiteSearchEngineService.DisableAdvancedSiteSearch operation. This will be returned by the google.longrunning.Operation.metadata field.", +"id": "GoogleCloudDiscoveryengineV1alphaDisableAdvancedSiteSearchMetadata", +"properties": { +"createTime": { +"description": "Operation create time.", +"format": "google-datetime", +"type": "string" +}, +"updateTime": { +"description": "Operation last update time. If the operation is done, this is also the finish time.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1alphaDisableAdvancedSiteSearchResponse": { +"description": "Response message for SiteSearchEngineService.DisableAdvancedSiteSearch method.", +"id": "GoogleCloudDiscoveryengineV1alphaDisableAdvancedSiteSearchResponse", +"properties": {}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfig": { +"description": "A singleton resource of DataStore. If it's empty when DataStore is created and DataStore is set to DataStore.ContentConfig.CONTENT_REQUIRED, the default parser will default to digital parser.", +"id": "GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfig", +"properties": { +"chunkingConfig": { +"$ref": "GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigChunkingConfig", +"description": "Whether chunking mode is enabled." +}, +"defaultParsingConfig": { +"$ref": "GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigParsingConfig", +"description": "Configurations for default Document parser. If not specified, we will configure it as default DigitalParsingConfig, and the default parsing config will be applied to all file types for Document parsing." +}, +"name": { +"description": "The full resource name of the Document Processing Config. Format: `projects/*/locations/*/collections/*/dataStores/*/documentProcessingConfig`.", +"type": "string" +}, +"parsingConfigOverrides": { +"additionalProperties": { +"$ref": "GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigParsingConfig" +}, +"description": "Map from file type to override the default parsing configuration based on the file type. Supported keys: * `pdf`: Override parsing config for PDF files, either digital parsing, ocr parsing or layout parsing is supported. * `html`: Override parsing config for HTML files, only digital parsing and layout parsing are supported. * `docx`: Override parsing config for DOCX files, only digital parsing and layout parsing are supported. * `pptx`: Override parsing config for PPTX files, only digital parsing and layout parsing are supported. * `xlsm`: Override parsing config for XLSM files, only digital parsing and layout parsing are supported. * `xlsx`: Override parsing config for XLSX files, only digital parsing and layout parsing are supported.", +"type": "object" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigChunkingConfig": { +"description": "Configuration for chunking config.", +"id": "GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigChunkingConfig", +"properties": { +"layoutBasedChunkingConfig": { +"$ref": "GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigChunkingConfigLayoutBasedChunkingConfig", +"description": "Configuration for the layout based chunking." +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigChunkingConfigLayoutBasedChunkingConfig": { +"description": "Configuration for the layout based chunking.", +"id": "GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigChunkingConfigLayoutBasedChunkingConfig", +"properties": { +"chunkSize": { +"description": "The token size limit for each chunk. Supported values: 100-500 (inclusive). Default value: 500.", +"format": "int32", +"type": "integer" +}, +"includeAncestorHeadings": { +"description": "Whether to include appending different levels of headings to chunks from the middle of the document to prevent context loss. Default value: False.", +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigParsingConfig": { +"description": "Related configurations applied to a specific type of document parser.", +"id": "GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigParsingConfig", +"properties": { +"digitalParsingConfig": { +"$ref": "GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigParsingConfigDigitalParsingConfig", +"description": "Configurations applied to digital parser." +}, +"layoutParsingConfig": { +"$ref": "GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigParsingConfigLayoutParsingConfig", +"description": "Configurations applied to layout parser." +}, +"ocrParsingConfig": { +"$ref": "GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigParsingConfigOcrParsingConfig", +"description": "Configurations applied to OCR parser. Currently it only applies to PDFs." +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigParsingConfigDigitalParsingConfig": { +"description": "The digital parsing configurations for documents.", +"id": "GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigParsingConfigDigitalParsingConfig", +"properties": {}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigParsingConfigLayoutParsingConfig": { +"description": "The layout parsing configurations for documents.", +"id": "GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigParsingConfigLayoutParsingConfig", +"properties": { +"enableGetProcessedDocument": { +"description": "Optional. If true, the processed document will be made available for the GetProcessedDocument API.", +"type": "boolean" +}, +"enableImageAnnotation": { +"description": "Optional. If true, the LLM based annotation is added to the image during parsing.", +"type": "boolean" +}, +"enableLlmLayoutParsing": { +"description": "Optional. If true, the pdf layout will be refined using an LLM.", +"type": "boolean" +}, +"enableTableAnnotation": { +"description": "Optional. If true, the LLM based annotation is added to the table during parsing.", +"type": "boolean" +}, +"excludeHtmlClasses": { +"description": "Optional. List of HTML classes to exclude from the parsed content.", +"items": { +"type": "string" +}, +"type": "array" +}, +"excludeHtmlElements": { +"description": "Optional. List of HTML elements to exclude from the parsed content.", +"items": { +"type": "string" +}, +"type": "array" +}, +"excludeHtmlIds": { +"description": "Optional. List of HTML ids to exclude from the parsed content.", +"items": { +"type": "string" +}, +"type": "array" +}, +"structuredContentTypes": { +"description": "Optional. Contains the required structure types to extract from the document. Supported values: * `shareholder-structure`", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigParsingConfigOcrParsingConfig": { +"description": "The OCR parsing configurations for documents.", +"id": "GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigParsingConfigOcrParsingConfig", +"properties": { +"enhancedDocumentElements": { +"deprecated": true, +"description": "[DEPRECATED] This field is deprecated. To use the additional enhanced document elements processing, please switch to `layout_parsing_config`.", +"items": { +"type": "string" +}, +"type": "array" +}, +"useNativeText": { +"description": "If true, will use native text instead of OCR text on pages containing native text.", +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1alphaEnableAdvancedSiteSearchMetadata": { +"description": "Metadata related to the progress of the SiteSearchEngineService.EnableAdvancedSiteSearch operation. This will be returned by the google.longrunning.Operation.metadata field.", +"id": "GoogleCloudDiscoveryengineV1alphaEnableAdvancedSiteSearchMetadata", +"properties": { +"createTime": { +"description": "Operation create time.", +"format": "google-datetime", +"type": "string" +}, +"updateTime": { +"description": "Operation last update time. If the operation is done, this is also the finish time.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1alphaEnableAdvancedSiteSearchResponse": { +"description": "Response message for SiteSearchEngineService.EnableAdvancedSiteSearch method.", +"id": "GoogleCloudDiscoveryengineV1alphaEnableAdvancedSiteSearchResponse", +"properties": {}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1alphaEngine": { +"description": "Metadata that describes the training and serving parameters of an Engine.", +"id": "GoogleCloudDiscoveryengineV1alphaEngine", +"properties": { +"appType": { +"description": "Optional. Immutable. This the application type which this engine resource represents. NOTE: this is a new concept independ of existing industry vertical or solution type.", +"enum": [ +"APP_TYPE_UNSPECIFIED", +"APP_TYPE_INTRANET" +], +"enumDescriptions": [ +"All non specified apps.", +"App type for intranet search and Agentspace." +], +"type": "string" +}, +"chatEngineConfig": { +"$ref": "GoogleCloudDiscoveryengineV1alphaEngineChatEngineConfig", +"description": "Configurations for the Chat Engine. Only applicable if solution_type is SOLUTION_TYPE_CHAT." +}, +"chatEngineMetadata": { +"$ref": "GoogleCloudDiscoveryengineV1alphaEngineChatEngineMetadata", +"description": "Output only. Additional information of the Chat Engine. Only applicable if solution_type is SOLUTION_TYPE_CHAT.", +"readOnly": true +}, +"cmekConfig": { +"$ref": "GoogleCloudDiscoveryengineV1alphaCmekConfig", +"description": "Output only. CMEK-related information for the Engine.", +"readOnly": true +}, +"commonConfig": { +"$ref": "GoogleCloudDiscoveryengineV1alphaEngineCommonConfig", +"description": "Common config spec that specifies the metadata of the engine." +}, +"configurableBillingApproach": { +"description": "Optional. Configuration for configurable billing approach.", +"enum": [ +"CONFIGURABLE_BILLING_APPROACH_UNSPECIFIED", +"CONFIGURABLE_BILLING_APPROACH_ENABLED" +], +"enumDescriptions": [ +"Default value. For Spark and non-Spark non-configurable billing approach. General pricing model.", +"The billing approach follows configurations specified by customer." +], +"type": "string" +}, +"connectorTenantInfo": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. Maps a connector ID (e.g., \"hybrid-github\", \"shopify\") to tenant-specific information required for that connector. The structure of the tenant information string is connector-dependent.", +"type": "object" +}, +"createTime": { +"description": "Output only. Timestamp the Recommendation Engine was created at.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"dataStoreIds": { +"description": "Optional. The data stores associated with this engine. For SOLUTION_TYPE_SEARCH and SOLUTION_TYPE_RECOMMENDATION type of engines, they can only associate with at most one data store. If solution_type is SOLUTION_TYPE_CHAT, multiple DataStores in the same Collection can be associated here. Note that when used in CreateEngineRequest, one DataStore id must be provided as the system will use it for necessary initializations.", +"items": { +"type": "string" +}, +"type": "array" +}, +"disableAnalytics": { +"description": "Optional. Whether to disable analytics for searches performed on this engine.", +"type": "boolean" +}, +"displayName": { +"description": "Required. The display name of the engine. Should be human readable. UTF-8 encoded string with limit of 1024 characters.", +"type": "string" +}, +"features": { +"additionalProperties": { +"enum": [ +"FEATURE_STATE_UNSPECIFIED", +"FEATURE_STATE_ON", +"FEATURE_STATE_OFF" +], +"enumDescriptions": [ +"The feature state is unspecified.", +"The feature is turned on to be accessible.", +"The feature is turned off to be inaccessible." +], +"type": "string" +}, +"description": "Optional. Feature config for the engine to opt in or opt out of features. Supported keys: * `*`: all features, if it's present, all other feature state settings are ignored. * `agent-gallery` * `no-code-agent-builder` * `prompt-gallery` * `model-selector` * `notebook-lm` * `people-search` * `people-search-org-chart` * `bi-directional-audio` * `feedback` * `session-sharing` * `personalization-memory` * `personalization-suggested-highlights` * `disable-agent-sharing` * `disable-image-generation` * `disable-video-generation` * `disable-onedrive-upload` * `disable-talk-to-content` * `disable-google-drive-upload` * `disable-welcome-emails`", +"type": "object" +}, +"industryVertical": { +"description": "Optional. The industry vertical that the engine registers. The restriction of the Engine industry vertical is based on DataStore: Vertical on Engine has to match vertical of the DataStore linked to the engine.", +"enum": [ +"INDUSTRY_VERTICAL_UNSPECIFIED", +"GENERIC", +"MEDIA", +"HEALTHCARE_FHIR" +], +"enumDescriptions": [ +"Value used when unset.", +"The generic vertical for documents that are not specific to any industry vertical.", +"The media industry vertical.", +"The healthcare FHIR vertical." +], +"type": "string" +}, +"knowledgeGraphConfig": { +"$ref": "GoogleCloudDiscoveryengineV1alphaEngineKnowledgeGraphConfig", +"description": "Optional. Configurations for the Knowledge Graph. Only applicable if solution_type is SOLUTION_TYPE_SEARCH." +}, +"marketplaceAgentVisibility": { +"description": "Optional. The visibility of marketplace agents in the agent gallery.", +"enum": [ +"MARKETPLACE_AGENT_VISIBILITY_UNSPECIFIED", +"SHOW_AVAILABLE_AGENTS_ONLY", +"SHOW_AGENTS_ALREADY_INTEGRATED", +"SHOW_AGENTS_ALREADY_PURCHASED", +"SHOW_ALL_AGENTS" +], +"enumDescriptions": [ +"Defaults to `MARKETPLACE_AGENT_VISIBILITY_UNSPECIFIED`.", +"Only agents that are currently available for use by the user are visible.", +"Show marketplace agents that the user does not yet have access to but are integrated into the engine. This level also includes all agents visible with `SHOW_AVAILABLE_AGENTS_ONLY`.", +"Show all agents visible with `SHOW_AGENTS_ALREADY_INTEGRATED`, plus agents that have already been purchased by the project/organization, even if they are not currently integrated into the engine.", +"All agents in the marketplace are visible, regardless of access or purchase status. This level encompasses all agents shown in the previous levels." +], +"type": "string" +}, +"mediaRecommendationEngineConfig": { +"$ref": "GoogleCloudDiscoveryengineV1alphaEngineMediaRecommendationEngineConfig", +"description": "Configurations for the Media Engine. Only applicable on the data stores with solution_type SOLUTION_TYPE_RECOMMENDATION and IndustryVertical.MEDIA vertical." +}, +"modelConfigs": { +"additionalProperties": { +"enum": [ +"MODEL_STATE_UNSPECIFIED", +"MODEL_ENABLED", +"MODEL_DISABLED" +], +"enumDescriptions": [ +"The model state is unspecified.", +"The model is enabled by admin.", +"The model is disabled by admin." +], +"type": "string" +}, +"description": "Optional. Maps a model name to its specific configuration for this engine. This allows admin users to turn on/off individual models. This only stores models whose states are overridden by the admin. When the state is unspecified, or model_configs is empty for this model, the system will decide if this model should be available or not based on the default configuration. For example, a preview model should be disabled by default if the admin has not chosen to enable it.", +"type": "object" +}, +"name": { +"description": "Immutable. Identifier. The fully qualified resource name of the engine. This field must be a UTF-8 encoded string with a length limit of 1024 characters. Format: `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}` engine should be 1-63 characters, and valid characters are /a-z0-9*/. Otherwise, an INVALID_ARGUMENT error is returned.", +"type": "string" +}, +"observabilityConfig": { +"$ref": "GoogleCloudDiscoveryengineV1alphaObservabilityConfig", +"description": "Optional. Observability config for the engine." +}, +"procurementContactEmail": { +"description": "Optional. The email of the procurement contact.", +"type": "string" +}, +"recommendationMetadata": { +"$ref": "GoogleCloudDiscoveryengineV1alphaEngineRecommendationMetadata", +"description": "Output only. Additional information of a recommendation engine. Only applicable if solution_type is SOLUTION_TYPE_RECOMMENDATION.", +"readOnly": true +}, +"searchEngineConfig": { +"$ref": "GoogleCloudDiscoveryengineV1alphaEngineSearchEngineConfig", +"description": "Configurations for the Search Engine. Only applicable if solution_type is SOLUTION_TYPE_SEARCH." +}, +"similarDocumentsConfig": { +"$ref": "GoogleCloudDiscoveryengineV1alphaEngineSimilarDocumentsEngineConfig", +"description": "Additional config specs for a `similar-items` engine." +}, +"solutionType": { +"description": "Required. The solutions of the engine.", +"enum": [ +"SOLUTION_TYPE_UNSPECIFIED", +"SOLUTION_TYPE_RECOMMENDATION", +"SOLUTION_TYPE_SEARCH", +"SOLUTION_TYPE_CHAT", +"SOLUTION_TYPE_GENERATIVE_CHAT", +"SOLUTION_TYPE_AI_MODE" +], +"enumDescriptions": [ +"Default value.", +"Used for Recommendations AI.", +"Used for Discovery Search.", +"Used for use cases related to the Generative AI agent.", +"Used for use cases related to the Generative Chat agent. It's used for Generative chat engine only, the associated data stores must enrolled with `SOLUTION_TYPE_CHAT` solution.", +"Used for AI Mode." +], +"type": "string" +}, +"updateTime": { +"description": "Output only. Timestamp the Recommendation Engine was last updated.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1alphaEngineChatEngineConfig": { +"description": "Configurations for a Chat Engine.", +"id": "GoogleCloudDiscoveryengineV1alphaEngineChatEngineConfig", +"properties": { +"agentCreationConfig": { +"$ref": "GoogleCloudDiscoveryengineV1alphaEngineChatEngineConfigAgentCreationConfig", +"description": "The configurationt generate the Dialogflow agent that is associated to this Engine. Note that these configurations are one-time consumed by and passed to Dialogflow service. It means they cannot be retrieved using EngineService.GetEngine or EngineService.ListEngines API after engine creation." +}, +"allowCrossRegion": { +"description": "Optional. If the flag set to true, we allow the agent and engine are in different locations, otherwise the agent and engine are required to be in the same location. The flag is set to false by default. Note that the `allow_cross_region` are one-time consumed by and passed to EngineService.CreateEngine. It means they cannot be retrieved using EngineService.GetEngine or EngineService.ListEngines API after engine creation.", +"type": "boolean" +}, +"dialogflowAgentToLink": { +"description": "The resource name of an exist Dialogflow agent to link to this Chat Engine. Customers can either provide `agent_creation_config` to create agent or provide an agent name that links the agent with the Chat engine. Format: `projects//locations//agents/`. Note that the `dialogflow_agent_to_link` are one-time consumed by and passed to Dialogflow service. It means they cannot be retrieved using EngineService.GetEngine or EngineService.ListEngines API after engine creation. Use ChatEngineMetadata.dialogflow_agent for actual agent association after Engine is created.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1alphaEngineChatEngineConfigAgentCreationConfig": { +"description": "Configurations for generating a Dialogflow agent. Note that these configurations are one-time consumed by and passed to Dialogflow service. It means they cannot be retrieved using EngineService.GetEngine or EngineService.ListEngines API after engine creation.", +"id": "GoogleCloudDiscoveryengineV1alphaEngineChatEngineConfigAgentCreationConfig", +"properties": { +"business": { +"description": "Name of the company, organization or other entity that the agent represents. Used for knowledge connector LLM prompt and for knowledge search.", +"type": "string" +}, +"defaultLanguageCode": { +"description": "Required. The default language of the agent as a language tag. See [Language Support](https://cloud.google.com/dialogflow/docs/reference/language) for a list of the currently supported language codes.", +"type": "string" +}, +"location": { +"description": "Agent location for Agent creation, supported values: global/us/eu. If not provided, us Engine will create Agent using us-central-1 by default; eu Engine will create Agent using eu-west-1 by default.", +"type": "string" +}, +"timeZone": { +"description": "Required. The time zone of the agent from the [time zone database](https://www.iana.org/time-zones), e.g., America/New_York, Europe/Paris.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1alphaEngineChatEngineMetadata": { +"description": "Additional information of a Chat Engine. Fields in this message are output only.", +"id": "GoogleCloudDiscoveryengineV1alphaEngineChatEngineMetadata", +"properties": { +"dialogflowAgent": { +"description": "The resource name of a Dialogflow agent, that this Chat Engine refers to. Format: `projects//locations//agents/`.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1alphaEngineCommonConfig": { +"description": "Common configurations for an Engine.", +"id": "GoogleCloudDiscoveryengineV1alphaEngineCommonConfig", +"properties": { +"companyName": { +"description": "The name of the company, business or entity that is associated with the engine. Setting this may help improve LLM related features.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1alphaEngineKnowledgeGraphConfig": { +"description": "Configuration message for the Knowledge Graph.", +"id": "GoogleCloudDiscoveryengineV1alphaEngineKnowledgeGraphConfig", +"properties": { +"cloudKnowledgeGraphTypes": { +"description": "Specify entity types to support.", +"items": { +"type": "string" +}, +"type": "array" +}, +"enableCloudKnowledgeGraph": { +"description": "Whether to enable the Cloud Knowledge Graph for the engine. Defaults to false if not specified.", +"type": "boolean" +}, +"enablePrivateKnowledgeGraph": { +"description": "Whether to enable the Private Knowledge Graph for the engine. Defaults to false if not specified.", +"type": "boolean" +}, +"featureConfig": { +"$ref": "GoogleCloudDiscoveryengineV1alphaEngineKnowledgeGraphConfigFeatureConfig", +"description": "Optional. Feature config for the Knowledge Graph." +}, +"privateKnowledgeGraphTypes": { +"description": "Specify entity types to support.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1alphaEngineKnowledgeGraphConfigFeatureConfig": { +"description": "Feature config for the Knowledge Graph.", +"id": "GoogleCloudDiscoveryengineV1alphaEngineKnowledgeGraphConfigFeatureConfig", +"properties": { +"disablePrivateKgAutoComplete": { +"description": "Whether to disable the private KG auto complete for the engine. Defaults to false if not specified.", +"type": "boolean" +}, +"disablePrivateKgEnrichment": { +"description": "Whether to disable the private KG enrichment for the engine. Defaults to false if not specified.", +"type": "boolean" +}, +"disablePrivateKgQueryUiChips": { +"description": "Whether to disable the private KG for query UI chips. Defaults to false if not specified.", +"type": "boolean" +}, +"disablePrivateKgQueryUnderstanding": { +"description": "Whether to disable the private KG query understanding for the engine. Defaults to false if not specified.", +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1alphaEngineMediaRecommendationEngineConfig": { +"description": "Additional config specs for a Media Recommendation engine.", +"id": "GoogleCloudDiscoveryengineV1alphaEngineMediaRecommendationEngineConfig", +"properties": { +"engineFeaturesConfig": { +"$ref": "GoogleCloudDiscoveryengineV1alphaEngineMediaRecommendationEngineConfigEngineFeaturesConfig", +"description": "Optional. Additional engine features config." +}, +"optimizationObjective": { +"description": "The optimization objective. e.g., `cvr`. This field together with optimization_objective describe engine metadata to use to control engine training and serving. Currently supported values: `ctr`, `cvr`. If not specified, we choose default based on engine type. Default depends on type of recommendation: `recommended-for-you` => `ctr` `others-you-may-like` => `ctr`", +"type": "string" +}, +"optimizationObjectiveConfig": { +"$ref": "GoogleCloudDiscoveryengineV1alphaEngineMediaRecommendationEngineConfigOptimizationObjectiveConfig", +"description": "Name and value of the custom threshold for cvr optimization_objective. For target_field `watch-time`, target_field_value must be an integer value indicating the media progress time in seconds between (0, 86400] (excludes 0, includes 86400) (e.g., 90). For target_field `watch-percentage`, the target_field_value must be a valid float value between (0, 1.0] (excludes 0, includes 1.0) (e.g., 0.5)." +}, +"trainingState": { +"description": "The training state that the engine is in (e.g. `TRAINING` or `PAUSED`). Since part of the cost of running the service is frequency of training - this can be used to determine when to train engine in order to control cost. If not specified: the default value for `CreateEngine` method is `TRAINING`. The default value for `UpdateEngine` method is to keep the state the same as before.", +"enum": [ +"TRAINING_STATE_UNSPECIFIED", +"PAUSED", +"TRAINING" +], +"enumDescriptions": [ +"Unspecified training state.", +"The engine training is paused.", +"The engine is training." +], +"type": "string" +}, +"type": { +"description": "Required. The type of engine. e.g., `recommended-for-you`. This field together with optimization_objective describe engine metadata to use to control engine training and serving. Currently supported values: `recommended-for-you`, `others-you-may-like`, `more-like-this`, `most-popular-items`.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1alphaEngineMediaRecommendationEngineConfigEngineFeaturesConfig": { +"description": "More feature configs of the selected engine type.", +"id": "GoogleCloudDiscoveryengineV1alphaEngineMediaRecommendationEngineConfigEngineFeaturesConfig", +"properties": { +"mostPopularConfig": { +"$ref": "GoogleCloudDiscoveryengineV1alphaEngineMediaRecommendationEngineConfigMostPopularFeatureConfig", +"description": "Most popular engine feature config." +}, +"recommendedForYouConfig": { +"$ref": "GoogleCloudDiscoveryengineV1alphaEngineMediaRecommendationEngineConfigRecommendedForYouFeatureConfig", +"description": "Recommended for you engine feature config." +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1alphaEngineMediaRecommendationEngineConfigMostPopularFeatureConfig": { +"description": "Feature configurations that are required for creating a Most Popular engine.", +"id": "GoogleCloudDiscoveryengineV1alphaEngineMediaRecommendationEngineConfigMostPopularFeatureConfig", +"properties": { +"timeWindowDays": { +"description": "The time window of which the engine is queried at training and prediction time. Positive integers only. The value translates to the last X days of events. Currently required for the `most-popular-items` engine.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1alphaEngineMediaRecommendationEngineConfigOptimizationObjectiveConfig": { +"description": "Custom threshold for `cvr` optimization_objective.", +"id": "GoogleCloudDiscoveryengineV1alphaEngineMediaRecommendationEngineConfigOptimizationObjectiveConfig", +"properties": { +"targetField": { +"description": "Required. The name of the field to target. Currently supported values: `watch-percentage`, `watch-time`.", +"type": "string" +}, +"targetFieldValueFloat": { +"description": "Required. The threshold to be applied to the target (e.g., 0.5).", +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1alphaEngineMediaRecommendationEngineConfigRecommendedForYouFeatureConfig": { +"description": "Additional feature configurations for creating a `recommended-for-you` engine.", +"id": "GoogleCloudDiscoveryengineV1alphaEngineMediaRecommendationEngineConfigRecommendedForYouFeatureConfig", +"properties": { +"contextEventType": { +"description": "The type of event with which the engine is queried at prediction time. If set to `generic`, only `view-item`, `media-play`,and `media-complete` will be used as `context-event` in engine training. If set to `view-home-page`, `view-home-page` will also be used as `context-events` in addition to `view-item`, `media-play`, and `media-complete`. Currently supported for the `recommended-for-you` engine. Currently supported values: `view-home-page`, `generic`.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1alphaEngineRecommendationMetadata": { +"description": "Additional information of a recommendation engine.", +"id": "GoogleCloudDiscoveryengineV1alphaEngineRecommendationMetadata", +"properties": { +"dataState": { +"description": "Output only. The state of data requirements for this engine: `DATA_OK` and `DATA_ERROR`. Engine cannot be trained if the data is in `DATA_ERROR` state. Engine can have `DATA_ERROR` state even if serving state is `ACTIVE`: engines were trained successfully before, but cannot be refreshed because the underlying engine no longer has sufficient data for training.", +"enum": [ +"DATA_STATE_UNSPECIFIED", +"DATA_OK", +"DATA_ERROR" +], +"enumDescriptions": [ +"Unspecified default value, should never be explicitly set.", +"The engine has sufficient training data.", +"The engine does not have sufficient training data. Error messages can be queried via Stackdriver." +], +"readOnly": true, +"type": "string" +}, +"lastTrainTime": { +"description": "Output only. The timestamp when the latest successful training finished. Only applicable on Media Recommendation engines.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"lastTuneTime": { +"description": "Output only. The timestamp when the latest successful tune finished. Only applicable on Media Recommendation engines.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"servingState": { +"description": "Output only. The serving state of the engine: `ACTIVE`, `NOT_ACTIVE`.", +"enum": [ +"SERVING_STATE_UNSPECIFIED", +"INACTIVE", +"ACTIVE", +"TUNED" +], +"enumDescriptions": [ +"Unspecified serving state.", +"The engine is not serving.", +"The engine is serving and can be queried.", +"The engine is trained on tuned hyperparameters and can be queried." +], +"readOnly": true, +"type": "string" +}, +"tuningOperation": { +"description": "Output only. The latest tune operation id associated with the engine. Only applicable on Media Recommendation engines. If present, this operation id can be used to determine if there is an ongoing tune for this engine. To check the operation status, send the GetOperation request with this operation id in the engine resource format. If no tuning has happened for this engine, the string is empty.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1alphaEngineSearchEngineConfig": { +"description": "Configurations for a Search Engine.", +"id": "GoogleCloudDiscoveryengineV1alphaEngineSearchEngineConfig", +"properties": { +"requiredSubscriptionTier": { +"description": "Optional. The required subscription tier of this engine. They cannot be modified after engine creation. If the required subscription tier is search, user with higher license tier like assist can still access the standalone app associated with this engine.", +"enum": [ +"SUBSCRIPTION_TIER_UNSPECIFIED", +"SUBSCRIPTION_TIER_SEARCH", +"SUBSCRIPTION_TIER_SEARCH_AND_ASSISTANT", +"SUBSCRIPTION_TIER_NOTEBOOK_LM", +"SUBSCRIPTION_TIER_FRONTLINE_WORKER", +"SUBSCRIPTION_TIER_AGENTSPACE_STARTER", +"SUBSCRIPTION_TIER_AGENTSPACE_BUSINESS", +"SUBSCRIPTION_TIER_ENTERPRISE", +"SUBSCRIPTION_TIER_ENTERPRISE_EMERGING", +"SUBSCRIPTION_TIER_EDU", +"SUBSCRIPTION_TIER_EDU_PRO", +"SUBSCRIPTION_TIER_EDU_EMERGING", +"SUBSCRIPTION_TIER_EDU_PRO_EMERGING", +"SUBSCRIPTION_TIER_FRONTLINE_STARTER" +], +"enumDescriptions": [ +"Default value.", +"Search tier. Search tier can access Vertex AI Search features and NotebookLM features.", +"Gemini Enterprise Plus tier.", +"NotebookLM tier. NotebookLM is a subscription tier can only access NotebookLM features.", +"Gemini Frontline worker tier.", +"Gemini Business Starter tier.", +"Gemini Business tier.", +"Gemini Enterprise Standard tier.", +"Gemini Enterprise Standard tier for emerging markets.", +"Gemini Enterprise EDU tier.", +"Gemini Enterprise EDU Pro tier.", +"Gemini Enterprise EDU tier for emerging market only.", +"Gemini Enterprise EDU Pro tier for emerging market.", +"Gemini Frontline Starter tier." +], +"type": "string" +}, +"searchAddOns": { +"description": "The add-on that this search engine enables.", +"items": { +"enum": [ +"SEARCH_ADD_ON_UNSPECIFIED", +"SEARCH_ADD_ON_LLM" +], +"enumDescriptions": [ +"Default value when the enum is unspecified. This is invalid to use.", +"Large language model add-on." +], +"type": "string" +}, +"type": "array" +}, +"searchTier": { +"description": "The search feature tier of this engine. Different tiers might have different pricing. To learn more, check the pricing documentation. Defaults to SearchTier.SEARCH_TIER_STANDARD if not specified.", +"enum": [ +"SEARCH_TIER_UNSPECIFIED", +"SEARCH_TIER_STANDARD", +"SEARCH_TIER_ENTERPRISE" +], +"enumDescriptions": [ +"Default value when the enum is unspecified. This is invalid to use.", +"Standard tier.", +"Enterprise tier." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1alphaEngineSimilarDocumentsEngineConfig": { +"description": "Additional config specs for a `similar-items` engine.", +"id": "GoogleCloudDiscoveryengineV1alphaEngineSimilarDocumentsEngineConfig", +"properties": {}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1alphaEstimateDataSizeMetadata": { +"description": "Metadata related to the progress of the EstimateDataSize operation. This is returned by the google.longrunning.Operation.metadata field.", +"id": "GoogleCloudDiscoveryengineV1alphaEstimateDataSizeMetadata", +"properties": { +"createTime": { +"description": "Operation create time.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1alphaEstimateDataSizeResponse": { +"description": "Response of the EstimateDataSize request. If the long running operation was successful, then this message is returned by the google.longrunning.Operations.response field if the operation was successful.", +"id": "GoogleCloudDiscoveryengineV1alphaEstimateDataSizeResponse", +"properties": { +"dataSizeBytes": { +"description": "Data size in terms of bytes.", +"format": "int64", +"type": "string" +}, +"documentCount": { +"description": "Total number of documents.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1alphaEvaluation": { +"description": "An evaluation is a single execution (or run) of an evaluation process. It encapsulates the state of the evaluation and the resulting data.", +"id": "GoogleCloudDiscoveryengineV1alphaEvaluation", +"properties": { +"createTime": { +"description": "Output only. Timestamp the Evaluation was created at.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"endTime": { +"description": "Output only. Timestamp the Evaluation was completed at.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"error": { +"$ref": "GoogleRpcStatus", +"description": "Output only. The error that occurred during evaluation. Only populated when the evaluation's state is FAILED.", +"readOnly": true +}, +"errorSamples": { +"description": "Output only. A sample of errors encountered while processing the request.", +"items": { +"$ref": "GoogleRpcStatus" +}, +"readOnly": true, +"type": "array" +}, +"evaluationSpec": { +"$ref": "GoogleCloudDiscoveryengineV1alphaEvaluationEvaluationSpec", +"description": "Required. The specification of the evaluation." +}, +"name": { +"description": "Identifier. The full resource name of the Evaluation, in the format of `projects/{project}/locations/{location}/evaluations/{evaluation}`. This field must be a UTF-8 encoded string with a length limit of 1024 characters.", +"type": "string" +}, +"qualityMetrics": { +"$ref": "GoogleCloudDiscoveryengineV1alphaQualityMetrics", +"description": "Output only. The metrics produced by the evaluation, averaged across all SampleQuerys in the SampleQuerySet. Only populated when the evaluation's state is SUCCEEDED.", +"readOnly": true +}, +"state": { +"description": "Output only. The state of the evaluation.", +"enum": [ +"STATE_UNSPECIFIED", +"PENDING", +"RUNNING", +"SUCCEEDED", +"FAILED" +], +"enumDescriptions": [ +"The evaluation is unspecified.", +"The service is preparing to run the evaluation.", +"The evaluation is in progress.", +"The evaluation completed successfully.", +"The evaluation failed." +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1alphaEvaluationEvaluationSpec": { +"description": "Describes the specification of the evaluation.", +"id": "GoogleCloudDiscoveryengineV1alphaEvaluationEvaluationSpec", +"properties": { +"querySetSpec": { +"$ref": "GoogleCloudDiscoveryengineV1alphaEvaluationEvaluationSpecQuerySetSpec", +"description": "Optional. The specification of the query set." +}, +"searchRequest": { +"$ref": "GoogleCloudDiscoveryengineV1alphaSearchRequest", +"description": "Required. The search request that is used to perform the evaluation. Only the following fields within SearchRequest are supported; if any other fields are provided, an UNSUPPORTED error will be returned: * SearchRequest.serving_config * SearchRequest.branch * SearchRequest.canonical_filter * SearchRequest.query_expansion_spec * SearchRequest.spell_correction_spec * SearchRequest.content_search_spec * SearchRequest.user_pseudo_id" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1alphaEvaluationEvaluationSpecQuerySetSpec": { +"description": "Describes the specification of the query set.", +"id": "GoogleCloudDiscoveryengineV1alphaEvaluationEvaluationSpecQuerySetSpec", +"properties": { +"sampleQuerySet": { +"description": "Optional. The full resource name of the SampleQuerySet used for the evaluation, in the format of `projects/{project}/locations/{location}/sampleQuerySets/{sampleQuerySet}`.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1alphaExportMetricsMetadata": { +"description": "Metadata related to the progress of the Export operation. This is returned by the google.longrunning.Operation.metadata field.", +"id": "GoogleCloudDiscoveryengineV1alphaExportMetricsMetadata", +"properties": { +"createTime": { +"description": "Operation create time.", +"format": "google-datetime", +"type": "string" +}, +"updateTime": { +"description": "Operation last update time. If the operation is done, this is also the finish time.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1alphaExportMetricsResponse": { +"description": "Response of the ExportMetricsRequest. If the long running operation was successful, then this message is returned by the google.longrunning.Operations.response field.", +"id": "GoogleCloudDiscoveryengineV1alphaExportMetricsResponse", +"properties": {}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1alphaFieldConfig": { +"description": "Configurations for fields of a schema. For example, configuring a field is indexable, or searchable.", +"id": "GoogleCloudDiscoveryengineV1alphaFieldConfig", +"properties": { +"advancedSiteSearchDataSources": { +"description": "If this field is set, only the corresponding source will be indexed for this field. Otherwise, the values from different sources are merged. Assuming a page with `` in meta tag, and `` in page map: if this enum is set to METATAGS, we will only index ``; if this enum is not set, we will merge them and index ``.", +"items": { +"enum": [ +"ADVANCED_SITE_SEARCH_DATA_SOURCE_UNSPECIFIED", +"METATAGS", +"PAGEMAP", +"URI_PATTERN_MAPPING", +"SCHEMA_ORG" +], +"enumDescriptions": [ +"Value used when unset.", +"Retrieve value from meta tag.", +"Retrieve value from page map.", +"Retrieve value from the attributes set by SiteSearchEngineService.SetUriPatternDocumentData API.", +"Retrieve value from schema.org data." +], +"type": "string" +}, +"type": "array" +}, +"completableOption": { +"description": "If completable_option is COMPLETABLE_ENABLED, field values are directly used and returned as suggestions for Autocomplete in CompletionService.CompleteQuery. If completable_option is unset, the server behavior defaults to COMPLETABLE_DISABLED for fields that support setting completable options, which are just `string` fields. For those fields that do not support setting completable options, the server will skip completable option setting, and setting completable_option for those fields will throw `INVALID_ARGUMENT` error.", +"enum": [ +"COMPLETABLE_OPTION_UNSPECIFIED", +"COMPLETABLE_ENABLED", +"COMPLETABLE_DISABLED" +], +"enumDescriptions": [ +"Value used when unset.", +"Completable option enabled for a schema field.", +"Completable option disabled for a schema field." +], +"type": "string" +}, +"dynamicFacetableOption": { +"description": "If dynamic_facetable_option is DYNAMIC_FACETABLE_ENABLED, field values are available for dynamic facet. Could only be DYNAMIC_FACETABLE_DISABLED if FieldConfig.indexable_option is INDEXABLE_DISABLED. Otherwise, an `INVALID_ARGUMENT` error will be returned. If dynamic_facetable_option is unset, the server behavior defaults to DYNAMIC_FACETABLE_DISABLED for fields that support setting dynamic facetable options. For those fields that do not support setting dynamic facetable options, such as `object` and `boolean`, the server will skip dynamic facetable option setting, and setting dynamic_facetable_option for those fields will throw `INVALID_ARGUMENT` error.", +"enum": [ +"DYNAMIC_FACETABLE_OPTION_UNSPECIFIED", +"DYNAMIC_FACETABLE_ENABLED", +"DYNAMIC_FACETABLE_DISABLED" +], +"enumDescriptions": [ +"Value used when unset.", +"Dynamic facetable option enabled for a schema field.", +"Dynamic facetable option disabled for a schema field." +], +"type": "string" +}, +"fieldPath": { +"description": "Required. Field path of the schema field. For example: `title`, `description`, `release_info.release_year`.", +"type": "string" +}, +"fieldType": { +"description": "Output only. Raw type of the field.", +"enum": [ +"FIELD_TYPE_UNSPECIFIED", +"OBJECT", +"STRING", +"NUMBER", +"INTEGER", +"BOOLEAN", +"GEOLOCATION", +"DATETIME" +], +"enumDescriptions": [ +"Field type is unspecified.", +"Field value type is Object.", +"Field value type is String.", +"Field value type is Number.", +"Field value type is Integer.", +"Field value type is Boolean.", +"Field value type is Geolocation. Geolocation is expressed as an object with the following keys: * `id`: a string representing the location id * `longitude`: a number representing the longitude coordinate of the location * `latitude`: a number repesenting the latitude coordinate of the location * `address`: a string representing the full address of the location `latitude` and `longitude` must always be provided together. At least one of a) `address` or b) `latitude`-`longitude` pair must be provided.", +"Field value type is Datetime. Datetime can be expressed as either: * a number representing milliseconds-since-the-epoch * a string representing milliseconds-since-the-epoch. e.g. `\"1420070400001\"` * a string representing the [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date or date and time. e.g. `\"2015-01-01\"` or `\"2015-01-01T12:10:30Z\"`" +], +"readOnly": true, +"type": "string" +}, +"indexableOption": { +"description": "If indexable_option is INDEXABLE_ENABLED, field values are indexed so that it can be filtered or faceted in SearchService.Search. If indexable_option is unset, the server behavior defaults to INDEXABLE_DISABLED for fields that support setting indexable options. For those fields that do not support setting indexable options, such as `object` and `boolean` and key properties, the server will skip indexable_option setting, and setting indexable_option for those fields will throw `INVALID_ARGUMENT` error.", +"enum": [ +"INDEXABLE_OPTION_UNSPECIFIED", +"INDEXABLE_ENABLED", +"INDEXABLE_DISABLED" +], +"enumDescriptions": [ +"Value used when unset.", +"Indexable option enabled for a schema field.", +"Indexable option disabled for a schema field." +], +"type": "string" +}, +"keyPropertyType": { +"description": "Output only. Type of the key property that this field is mapped to. Empty string if this is not annotated as mapped to a key property. Example types are `title`, `description`. Full list is defined by `keyPropertyMapping` in the schema field annotation. If the schema field has a `KeyPropertyMapping` annotation, `indexable_option` and `searchable_option` of this field cannot be modified.", +"readOnly": true, +"type": "string" +}, +"metatagName": { +"description": "Optional. The metatag name found in the HTML page. If user defines this field, the value of this metatag name will be used to extract metatag. If the user does not define this field, the FieldConfig.field_path will be used to extract metatag.", +"type": "string" +}, +"recsFilterableOption": { +"description": "If recs_filterable_option is FILTERABLE_ENABLED, field values are filterable by filter expression in RecommendationService.Recommend. If FILTERABLE_ENABLED but the field type is numerical, field values are not filterable by text queries in RecommendationService.Recommend. Only textual fields are supported. If recs_filterable_option is unset, the default setting is FILTERABLE_DISABLED for fields that support setting filterable options. When a field set to [FILTERABLE_DISABLED] is filtered, a warning is generated and an empty result is returned.", +"enum": [ +"FILTERABLE_OPTION_UNSPECIFIED", +"FILTERABLE_ENABLED", +"FILTERABLE_DISABLED" +], +"enumDescriptions": [ +"Value used when unset.", +"Filterable option enabled for a schema field.", +"Filterable option disabled for a schema field." +], +"type": "string" +}, +"retrievableOption": { +"description": "If retrievable_option is RETRIEVABLE_ENABLED, field values are included in the search results. If retrievable_option is unset, the server behavior defaults to RETRIEVABLE_DISABLED for fields that support setting retrievable options. For those fields that do not support setting retrievable options, such as `object` and `boolean`, the server will skip retrievable option setting, and setting retrievable_option for those fields will throw `INVALID_ARGUMENT` error.", +"enum": [ +"RETRIEVABLE_OPTION_UNSPECIFIED", +"RETRIEVABLE_ENABLED", +"RETRIEVABLE_DISABLED" +], +"enumDescriptions": [ +"Value used when unset.", +"Retrievable option enabled for a schema field.", +"Retrievable option disabled for a schema field." +], +"type": "string" +}, +"schemaOrgPaths": { +"description": "Field paths for indexing custom attribute from schema.org data. More details of schema.org and its defined types can be found at [schema.org](https://schema.org). It is only used on advanced site search schema. Currently only support full path from root. The full path to a field is constructed by concatenating field names, starting from `_root`, with a period `.` as the delimiter. Examples: * Publish date of the root: _root.datePublished * Publish date of the reviews: _root.review.datePublished", +"items": { +"type": "string" +}, +"type": "array" +}, +"searchableOption": { +"description": "If searchable_option is SEARCHABLE_ENABLED, field values are searchable by text queries in SearchService.Search. If SEARCHABLE_ENABLED but field type is numerical, field values will not be searchable by text queries in SearchService.Search, as there are no text values associated to numerical fields. If searchable_option is unset, the server behavior defaults to SEARCHABLE_DISABLED for fields that support setting searchable options. Only `string` fields that have no key property mapping support setting searchable_option. For those fields that do not support setting searchable options, the server will skip searchable option setting, and setting searchable_option for those fields will throw `INVALID_ARGUMENT` error.", +"enum": [ +"SEARCHABLE_OPTION_UNSPECIFIED", +"SEARCHABLE_ENABLED", +"SEARCHABLE_DISABLED" +], +"enumDescriptions": [ +"Value used when unset.", +"Searchable option enabled for a schema field.", +"Searchable option disabled for a schema field." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1alphaGetSessionRequest": { +"description": "Request for GetSession method.", +"id": "GoogleCloudDiscoveryengineV1alphaGetSessionRequest", +"properties": { +"includeAnswerDetails": { +"description": "Optional. If set to true, the full session including all answer details will be returned.", +"type": "boolean" +}, +"name": { +"description": "Required. The resource name of the Session to get. Format: `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store_id}/sessions/{session_id}`", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1alphaGetUriPatternDocumentDataResponse": { +"description": "Response message for SiteSearchEngineService.GetUriPatternDocumentData method.", +"id": "GoogleCloudDiscoveryengineV1alphaGetUriPatternDocumentDataResponse", +"properties": { +"documentDataMap": { +"additionalProperties": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"type": "object" +}, +"description": "Document data keyed by URI pattern. For example: document_data_map = { \"www.url1.com/*\": { \"Categories\": [\"category1\", \"category2\"] }, \"www.url2.com/*\": { \"Categories\": [\"category3\"] } }", +"type": "object" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1alphaHealthcareFhirConfig": { +"description": "Config to data store for `HEALTHCARE_FHIR` vertical.", +"id": "GoogleCloudDiscoveryengineV1alphaHealthcareFhirConfig", +"properties": { +"enableConfigurableSchema": { +"description": "Whether to enable configurable schema for `HEALTHCARE_FHIR` vertical. If set to `true`, the predefined healthcare fhir schema can be extended for more customized searching and filtering.", +"type": "boolean" +}, +"enableStaticIndexingForBatchIngestion": { +"description": "Whether to enable static indexing for `HEALTHCARE_FHIR` batch ingestion. If set to `true`, the batch ingestion will be processed in a static indexing mode which is slower but more capable of handling larger volume.", +"type": "boolean" +}, +"initialFilterGroups": { +"description": "Optional. Names of the Group resources to use as a basis for the initial patient filter, in format `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/fhirStores/{fhir_store_id}/fhir/Group/{group_id}`. The filter group must be a FHIR resource name of type Group, and the filter will be constructed from the direct members of the group which are Patient resources.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1alphaIdentityMappingEntryOperationMetadata": { +"description": "IdentityMappingEntry LongRunningOperation metadata for IdentityMappingStoreService.ImportIdentityMappings and IdentityMappingStoreService.PurgeIdentityMappings", +"id": "GoogleCloudDiscoveryengineV1alphaIdentityMappingEntryOperationMetadata", +"properties": { +"failureCount": { +"description": "The number of IdentityMappingEntries that failed to be processed.", +"format": "int64", +"type": "string" +}, +"successCount": { +"description": "The number of IdentityMappingEntries that were successfully processed.", +"format": "int64", +"type": "string" +}, +"totalCount": { +"description": "The total number of IdentityMappingEntries that were processed.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1alphaIdentityScheduleConfig": { +"description": "The configuration for the identity data synchronization runs.", +"id": "GoogleCloudDiscoveryengineV1alphaIdentityScheduleConfig", +"properties": { +"nextSyncTime": { +"$ref": "GoogleTypeDateTime", +"description": "Optional. The UTC time when the next data sync is expected to start for the Data Connector. Customers are only able to specify the hour and minute to schedule the data sync. This is utilized when the data connector has a refresh interval greater than 1 day." +}, +"refreshInterval": { +"description": "Optional. The refresh interval to sync the Access Control List information for the documents ingested by this connector. If not set, the access control list will be refreshed at the default interval of 30 minutes. The identity refresh interval can be at least 30 minutes and at most 7 days.", +"format": "google-duration", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1alphaIdpConfig": { +"description": "Identity Provider Config.", +"id": "GoogleCloudDiscoveryengineV1alphaIdpConfig", +"properties": { +"externalIdpConfig": { +"$ref": "GoogleCloudDiscoveryengineV1alphaIdpConfigExternalIdpConfig", +"description": "External Identity provider config." +}, +"idpType": { +"description": "Identity provider type configured.", +"enum": [ +"IDP_TYPE_UNSPECIFIED", +"GSUITE", +"THIRD_PARTY" +], +"enumDescriptions": [ +"Default value. ACL search not enabled.", +"Google 1P provider.", +"Third party provider." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1alphaIdpConfigExternalIdpConfig": { +"description": "Third party IDP Config.", +"id": "GoogleCloudDiscoveryengineV1alphaIdpConfigExternalIdpConfig", +"properties": { +"workforcePoolName": { +"description": "Workforce pool name. Example: \"locations/global/workforcePools/pool_id\"", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1alphaImportCompletionSuggestionsMetadata": { +"description": "Metadata related to the progress of the ImportCompletionSuggestions operation. This will be returned by the google.longrunning.Operation.metadata field.", +"id": "GoogleCloudDiscoveryengineV1alphaImportCompletionSuggestionsMetadata", +"properties": { +"createTime": { +"description": "Operation create time.", +"format": "google-datetime", +"type": "string" +}, +"failureCount": { +"description": "Count of CompletionSuggestions that failed to be imported.", +"format": "int64", +"type": "string" +}, +"successCount": { +"description": "Count of CompletionSuggestions successfully imported.", +"format": "int64", +"type": "string" +}, +"updateTime": { +"description": "Operation last update time. If the operation is done, this is also the finish time.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1alphaImportCompletionSuggestionsResponse": { +"description": "Response of the CompletionService.ImportCompletionSuggestions method. If the long running operation is done, this message is returned by the google.longrunning.Operations.response field if the operation is successful.", +"id": "GoogleCloudDiscoveryengineV1alphaImportCompletionSuggestionsResponse", +"properties": { +"errorConfig": { +"$ref": "GoogleCloudDiscoveryengineV1alphaImportErrorConfig", +"description": "The desired location of errors incurred during the Import." +}, +"errorSamples": { +"description": "A sample of errors encountered while processing the request.", +"items": { +"$ref": "GoogleRpcStatus" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1alphaImportDocumentsMetadata": { +"description": "Metadata related to the progress of the ImportDocuments operation. This is returned by the google.longrunning.Operation.metadata field.", +"id": "GoogleCloudDiscoveryengineV1alphaImportDocumentsMetadata", +"properties": { +"createTime": { +"description": "Operation create time.", +"format": "google-datetime", +"type": "string" +}, +"failureCount": { +"description": "Count of entries that encountered errors while processing.", +"format": "int64", +"type": "string" +}, +"successCount": { +"description": "Count of entries that were processed successfully.", +"format": "int64", +"type": "string" +}, +"totalCount": { +"description": "Total count of entries that were processed.", +"format": "int64", +"type": "string" +}, +"updateTime": { +"description": "Operation last update time. If the operation is done, this is also the finish time.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1alphaImportDocumentsResponse": { +"description": "Response of the ImportDocumentsRequest. If the long running operation is done, then this message is returned by the google.longrunning.Operations.response field if the operation was successful.", +"id": "GoogleCloudDiscoveryengineV1alphaImportDocumentsResponse", +"properties": { +"errorConfig": { +"$ref": "GoogleCloudDiscoveryengineV1alphaImportErrorConfig", +"description": "Echoes the destination for the complete errors in the request if set." +}, +"errorSamples": { +"description": "A sample of errors encountered while processing the request.", +"items": { +"$ref": "GoogleRpcStatus" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1alphaImportErrorConfig": { +"description": "Configuration of destination for Import related errors.", +"id": "GoogleCloudDiscoveryengineV1alphaImportErrorConfig", +"properties": { +"gcsPrefix": { +"description": "Cloud Storage prefix for import errors. This must be an empty, existing Cloud Storage directory. Import errors are written to sharded files in this directory, one per line, as a JSON-encoded `google.rpc.Status` message.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1alphaImportIdentityMappingsResponse": { +"description": "Response message for IdentityMappingStoreService.ImportIdentityMappings", +"id": "GoogleCloudDiscoveryengineV1alphaImportIdentityMappingsResponse", +"properties": { +"errorSamples": { +"description": "A sample of errors encountered while processing the request.", +"items": { +"$ref": "GoogleRpcStatus" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1alphaImportSampleQueriesMetadata": { +"description": "Metadata related to the progress of the ImportSampleQueries operation. This will be returned by the google.longrunning.Operation.metadata field.", +"id": "GoogleCloudDiscoveryengineV1alphaImportSampleQueriesMetadata", +"properties": { +"createTime": { +"description": "ImportSampleQueries operation create time.", +"format": "google-datetime", +"type": "string" +}, +"failureCount": { +"description": "Count of SampleQuerys that failed to be imported.", +"format": "int64", +"type": "string" +}, +"successCount": { +"description": "Count of SampleQuerys successfully imported.", +"format": "int64", +"type": "string" +}, +"totalCount": { +"description": "Total count of SampleQuerys that were processed.", +"format": "int64", +"type": "string" +}, +"updateTime": { +"description": "ImportSampleQueries operation last update time. If the operation is done, this is also the finish time.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1alphaImportSampleQueriesResponse": { +"description": "Response of the SampleQueryService.ImportSampleQueries method. If the long running operation is done, this message is returned by the google.longrunning.Operations.response field if the operation is successful.", +"id": "GoogleCloudDiscoveryengineV1alphaImportSampleQueriesResponse", +"properties": { +"errorConfig": { +"$ref": "GoogleCloudDiscoveryengineV1alphaImportErrorConfig", +"description": "The desired location of errors incurred during the Import." +}, +"errorSamples": { +"description": "A sample of errors encountered while processing the request.", +"items": { +"$ref": "GoogleRpcStatus" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1alphaImportSuggestionDenyListEntriesMetadata": { +"description": "Metadata related to the progress of the ImportSuggestionDenyListEntries operation. This is returned by the google.longrunning.Operation.metadata field.", +"id": "GoogleCloudDiscoveryengineV1alphaImportSuggestionDenyListEntriesMetadata", +"properties": { +"createTime": { +"description": "Operation create time.", +"format": "google-datetime", +"type": "string" +}, +"updateTime": { +"description": "Operation last update time. If the operation is done, this is also the finish time.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1alphaImportSuggestionDenyListEntriesResponse": { +"description": "Response message for CompletionService.ImportSuggestionDenyListEntries method.", +"id": "GoogleCloudDiscoveryengineV1alphaImportSuggestionDenyListEntriesResponse", +"properties": { +"errorSamples": { +"description": "A sample of errors encountered while processing the request.", +"items": { +"$ref": "GoogleRpcStatus" +}, +"type": "array" +}, +"failedEntriesCount": { +"description": "Count of deny list entries that failed to be imported.", +"format": "int64", +"type": "string" +}, +"importedEntriesCount": { +"description": "Count of deny list entries successfully imported.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1alphaImportUserEventsMetadata": { +"description": "Metadata related to the progress of the Import operation. This is returned by the google.longrunning.Operation.metadata field.", +"id": "GoogleCloudDiscoveryengineV1alphaImportUserEventsMetadata", +"properties": { +"createTime": { +"description": "Operation create time.", +"format": "google-datetime", +"type": "string" +}, +"failureCount": { +"description": "Count of entries that encountered errors while processing.", +"format": "int64", +"type": "string" +}, +"successCount": { +"description": "Count of entries that were processed successfully.", +"format": "int64", +"type": "string" +}, +"updateTime": { +"description": "Operation last update time. If the operation is done, this is also the finish time.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1alphaImportUserEventsResponse": { +"description": "Response of the ImportUserEventsRequest. If the long running operation was successful, then this message is returned by the google.longrunning.Operations.response field if the operation was successful.", +"id": "GoogleCloudDiscoveryengineV1alphaImportUserEventsResponse", +"properties": { +"errorConfig": { +"$ref": "GoogleCloudDiscoveryengineV1alphaImportErrorConfig", +"description": "Echoes the destination for the complete errors if this field was set in the request." +}, +"errorSamples": { +"description": "A sample of errors encountered while processing the request.", +"items": { +"$ref": "GoogleRpcStatus" +}, +"type": "array" +}, +"joinedEventsCount": { +"description": "Count of user events imported with complete existing Documents.", +"format": "int64", +"type": "string" +}, +"unjoinedEventsCount": { +"description": "Count of user events imported, but with Document information not found in the existing Branch.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1alphaInterval": { +"description": "A floating point interval.", +"id": "GoogleCloudDiscoveryengineV1alphaInterval", +"properties": { +"exclusiveMaximum": { +"description": "Exclusive upper bound.", +"format": "double", +"type": "number" +}, +"exclusiveMinimum": { +"description": "Exclusive lower bound.", +"format": "double", +"type": "number" +}, +"maximum": { +"description": "Inclusive upper bound.", +"format": "double", +"type": "number" +}, +"minimum": { +"description": "Inclusive lower bound.", +"format": "double", +"type": "number" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1alphaLanguageInfo": { +"description": "Language info for DataStore.", +"id": "GoogleCloudDiscoveryengineV1alphaLanguageInfo", +"properties": { +"language": { +"description": "Output only. Language part of normalized_language_code. E.g.: `en-US` -> `en`, `zh-Hans-HK` -> `zh`, `en` -> `en`.", +"readOnly": true, +"type": "string" +}, +"languageCode": { +"description": "The language code for the DataStore.", +"type": "string" +}, +"normalizedLanguageCode": { +"description": "Output only. This is the normalized form of language_code. E.g.: language_code of `en-GB`, `en_GB`, `en-UK` or `en-gb` will have normalized_language_code of `en-GB`.", +"readOnly": true, +"type": "string" +}, +"region": { +"description": "Output only. Region part of normalized_language_code, if present. E.g.: `en-US` -> `US`, `zh-Hans-HK` -> `HK`, `en` -> ``.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1alphaLicenseConfig": { +"description": "Information about users' licenses.", +"id": "GoogleCloudDiscoveryengineV1alphaLicenseConfig", +"properties": { +"alertPolicyResourceConfig": { +"$ref": "GoogleCloudDiscoveryengineV1alphaAlertPolicyResourceConfig", +"description": "Optional. The alert policy config for this license config." +}, +"autoRenew": { +"description": "Optional. Whether the license config should be auto renewed when it reaches the end date.", +"type": "boolean" +}, +"earlyTerminated": { +"description": "Output only. Indication of whether the subscription is terminated earlier than the expiration date. This is usually terminated by pipeline once the subscription gets terminated from subsv3.", +"readOnly": true, +"type": "boolean" +}, +"earlyTerminationDate": { +"$ref": "GoogleTypeDate", +"description": "Output only. The date when the subscription is terminated earlier than the expiration date.", +"readOnly": true +}, +"endDate": { +"$ref": "GoogleTypeDate", +"description": "Optional. The planed end date." +}, +"freeTrial": { +"description": "Optional. Whether the license config is for free trial.", +"type": "boolean" +}, +"geminiBundle": { +"description": "Output only. Whether the license config is for Gemini bundle.", +"readOnly": true, +"type": "boolean" +}, +"licenseCount": { +"description": "Required. Number of licenses purchased.", +"format": "int64", +"type": "string" +}, +"name": { +"description": "Immutable. Identifier. The fully qualified resource name of the license config. Format: `projects/{project}/locations/{location}/licenseConfigs/{license_config}`", +"type": "string" +}, +"startDate": { +"$ref": "GoogleTypeDate", +"description": "Required. The start date." +}, +"state": { +"description": "Output only. The state of the license config.", +"enum": [ +"STATE_UNSPECIFIED", +"ACTIVE", +"EXPIRED", +"NOT_STARTED", +"WITHDRAWN", +"DEACTIVATING" +], +"enumDescriptions": [ +"Default value. The license config does not exist.", +"The license config is effective and being used.", +"The license config has expired.", +"The license config has not started yet, and its start date is in the future.", +"This is when a sub license config has returned all its seats back to BillingAccountLicenseConfig that it belongs to. Similar to EXPIRED.", +"The license config is terminated earlier than the expiration date and it is deactivating. The customer will still have access in this state. It will be converted to EXPIRED after the deactivating period ends (14 days) or when the end date is reached, whichever comes first." +], +"readOnly": true, +"type": "string" +}, +"subscriptionTerm": { +"description": "Required. Subscription term.", +"enum": [ +"SUBSCRIPTION_TERM_UNSPECIFIED", +"SUBSCRIPTION_TERM_ONE_MONTH", +"SUBSCRIPTION_TERM_ONE_YEAR", +"SUBSCRIPTION_TERM_THREE_YEARS", +"SUBSCRIPTION_TERM_CUSTOM" +], +"enumDescriptions": [ +"Default value, do not use.", +"1 month.", +"1 year.", +"3 years.", +"Custom term. Must set the end_date." +], +"type": "string" +}, +"subscriptionTier": { +"description": "Required. Subscription tier information for the license config.", +"enum": [ +"SUBSCRIPTION_TIER_UNSPECIFIED", +"SUBSCRIPTION_TIER_SEARCH", +"SUBSCRIPTION_TIER_SEARCH_AND_ASSISTANT", +"SUBSCRIPTION_TIER_NOTEBOOK_LM", +"SUBSCRIPTION_TIER_FRONTLINE_WORKER", +"SUBSCRIPTION_TIER_AGENTSPACE_STARTER", +"SUBSCRIPTION_TIER_AGENTSPACE_BUSINESS", +"SUBSCRIPTION_TIER_ENTERPRISE", +"SUBSCRIPTION_TIER_ENTERPRISE_EMERGING", +"SUBSCRIPTION_TIER_EDU", +"SUBSCRIPTION_TIER_EDU_PRO", +"SUBSCRIPTION_TIER_EDU_EMERGING", +"SUBSCRIPTION_TIER_EDU_PRO_EMERGING", +"SUBSCRIPTION_TIER_FRONTLINE_STARTER" +], +"enumDescriptions": [ +"Default value.", +"Search tier. Search tier can access Vertex AI Search features and NotebookLM features.", +"Gemini Enterprise Plus tier.", +"NotebookLM tier. NotebookLM is a subscription tier can only access NotebookLM features.", +"Gemini Frontline worker tier.", +"Gemini Business Starter tier.", +"Gemini Business tier.", +"Gemini Enterprise Standard tier.", +"Gemini Enterprise Standard tier for emerging markets.", +"Gemini Enterprise EDU tier.", +"Gemini Enterprise EDU Pro tier.", +"Gemini Enterprise EDU tier for emerging market only.", +"Gemini Enterprise EDU Pro tier for emerging market.", +"Gemini Frontline Starter tier." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1alphaListSessionsRequest": { +"description": "Request for ListSessions method.", +"id": "GoogleCloudDiscoveryengineV1alphaListSessionsRequest", +"properties": { +"filter": { +"description": "A comma-separated list of fields to filter by, in EBNF grammar. The supported fields are: * `user_pseudo_id` * `state` * `display_name` * `starred` * `is_pinned` * `labels` * `create_time` * `update_time` * `collaborative_project` Examples: * `user_pseudo_id = some_id` * `display_name = \"some_name\"` * `starred = true` * `is_pinned=true AND (NOT labels:hidden)` * `create_time > \"1970-01-01T12:00:00Z\"` * `collaborative_project = \"projects/123/locations/global/collections/default_collection/engines/\" \"default_engine/collaborative_projects/cp1\"`", +"type": "string" +}, +"orderBy": { +"description": "A comma-separated list of fields to order by, sorted in ascending order. Use \"desc\" after a field name for descending. Supported fields: * `update_time` * `create_time` * `session_name` * `is_pinned` Example: * `update_time desc` * `create_time` * `is_pinned desc,update_time desc`: list sessions by is_pinned first, then by update_time.", +"type": "string" +}, +"pageSize": { +"description": "Maximum number of results to return. If unspecified, defaults to 50. Max allowed value is 1000.", +"format": "int32", +"type": "integer" +}, +"pageToken": { +"description": "A page token, received from a previous `ListSessions` call. Provide this to retrieve the subsequent page.", +"type": "string" +}, +"parent": { +"description": "Required. The data store resource name. Format: `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store_id}`", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1alphaListSessionsResponse": { +"description": "Response for ListSessions method.", +"id": "GoogleCloudDiscoveryengineV1alphaListSessionsResponse", +"properties": { +"nextPageToken": { +"description": "Pagination token, if not returned indicates the last page.", +"type": "string" +}, +"sessions": { +"description": "All the Sessions for a given data store.", +"items": { +"$ref": "GoogleCloudDiscoveryengineV1alphaSession" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1alphaNaturalLanguageQueryUnderstandingConfig": { +"description": "Configuration for Natural Language Query Understanding.", +"id": "GoogleCloudDiscoveryengineV1alphaNaturalLanguageQueryUnderstandingConfig", +"properties": { +"mode": { +"description": "Mode of Natural Language Query Understanding. If this field is unset, the behavior defaults to NaturalLanguageQueryUnderstandingConfig.Mode.DISABLED.", +"enum": [ +"MODE_UNSPECIFIED", +"DISABLED", +"ENABLED" +], +"enumDescriptions": [ +"Default value.", +"Natural Language Query Understanding is disabled.", +"Natural Language Query Understanding is enabled." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1alphaObservabilityConfig": { +"description": "Observability config for a resource.", +"id": "GoogleCloudDiscoveryengineV1alphaObservabilityConfig", +"properties": { +"observabilityEnabled": { +"description": "Optional. Enables observability. If false, all other flags are ignored.", +"type": "boolean" +}, +"sensitiveLoggingEnabled": { +"description": "Optional. Enables sensitive logging. Sensitive logging includes customer core content (e.g. prompts, responses). If false, will sanitize all sensitive fields.", +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1alphaObtainCrawlRateResponse": { +"description": "Response message for CrawlRateManagementService.ObtainCrawlRate method. The response contains organcic or dedicated crawl rate time series data for monitoring, depending on whether dedicated crawl rate is set.", +"id": "GoogleCloudDiscoveryengineV1alphaObtainCrawlRateResponse", +"properties": { +"dedicatedCrawlRateTimeSeries": { +"$ref": "GoogleCloudDiscoveryengineV1alphaDedicatedCrawlRateTimeSeries", +"description": "The historical dedicated crawl rate timeseries data, used for monitoring." +}, +"error": { +"$ref": "GoogleRpcStatus", +"description": "Errors from service when handling the request." +}, +"organicCrawlRateTimeSeries": { +"$ref": "GoogleCloudDiscoveryengineV1alphaOrganicCrawlRateTimeSeries", +"description": "The historical organic crawl rate timeseries data, used for monitoring." +}, +"state": { +"description": "Output only. The state of the response.", +"enum": [ +"STATE_UNSPECIFIED", +"SUCCEEDED", +"FAILED" +], +"enumDescriptions": [ +"The state is unspecified.", +"The state is successful.", +"The state is failed." +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1alphaOrganicCrawlRateTimeSeries": { +"description": "The historical organic crawl rate timeseries data, used for monitoring. Organic crawl is auto-determined by Google to crawl the user's website when dedicate crawl is not set. Crawl rate is the QPS of crawl request Google sends to the user's website.", +"id": "GoogleCloudDiscoveryengineV1alphaOrganicCrawlRateTimeSeries", +"properties": { +"googleOrganicCrawlRate": { +"$ref": "GoogleCloudDiscoveryengineV1alphaCrawlRateTimeSeries", +"description": "Google's organic crawl rate time series, which is the sum of all googlebots' crawl rate. Please refer to https://developers.google.com/search/docs/crawling-indexing/overview-google-crawlers for more details about googlebots." +}, +"vertexAiOrganicCrawlRate": { +"$ref": "GoogleCloudDiscoveryengineV1alphaCrawlRateTimeSeries", +"description": "Vertex AI's organic crawl rate time series, which is the crawl rate of Google-CloudVertexBot when dedicate crawl is not set. Please refer to https://developers.google.com/search/docs/crawling-indexing/google-common-crawlers#google-cloudvertexbot for more details about Google-CloudVertexBot." +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1alphaPatientFilterOperationMetadata": { +"description": "Metadata related to the progress of the various patient filter operations. This will be returned by the google.longrunning.Operation.metadata field.", +"id": "GoogleCloudDiscoveryengineV1alphaPatientFilterOperationMetadata", +"properties": { +"createTime": { +"description": "Operation create time.", +"format": "google-datetime", +"type": "string" +}, +"filtersAddedCount": { +"description": "The number of patient IDs added to the patient filter.", +"format": "int64", +"type": "string" +}, +"filtersRemovedCount": { +"description": "The number of patient IDs removed from the patient filter.", +"format": "int64", +"type": "string" +}, +"updateTime": { +"description": "Operation last update time. If the operation is done, this is also the finish time.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1alphaProject": { +"description": "Metadata and configurations for a Google Cloud project in the service.", +"id": "GoogleCloudDiscoveryengineV1alphaProject", +"properties": { +"configurableBillingStatus": { +"$ref": "GoogleCloudDiscoveryengineV1alphaProjectConfigurableBillingStatus", +"description": "Output only. The current status of the project's configurable billing.", +"readOnly": true +}, +"createTime": { +"description": "Output only. The timestamp when this project is created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"customerProvidedConfig": { +"$ref": "GoogleCloudDiscoveryengineV1alphaProjectCustomerProvidedConfig", +"description": "Optional. Customer provided configurations." +}, +"name": { +"description": "Output only. Full resource name of the project, for example `projects/{project}`. Note that when making requests, project number and project id are both acceptable, but the server will always respond in project number.", +"readOnly": true, +"type": "string" +}, +"provisionCompletionTime": { +"description": "Output only. The timestamp when this project is successfully provisioned. Empty value means this project is still provisioning and is not ready for use.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"serviceTermsMap": { +"additionalProperties": { +"$ref": "GoogleCloudDiscoveryengineV1alphaProjectServiceTerms" +}, +"description": "Output only. A map of terms of services. The key is the `id` of ServiceTerms.", +"readOnly": true, +"type": "object" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1alphaProjectConfigurableBillingStatus": { +"description": "Represents the currently effective configurable billing parameters. These values are derived from the customer's subscription history stored internally and reflect the thresholds actively being used for billing purposes at the time of the GetProject call. This includes the start_time of the subscription and may differ from the values in `customer_provided_config` due to billing rules (e.g., scale-downs taking effect only at the start of a new month).", +"id": "GoogleCloudDiscoveryengineV1alphaProjectConfigurableBillingStatus", +"properties": { +"effectiveIndexingCoreThreshold": { +"description": "Optional. The currently effective Indexing Core threshold. This is the threshold against which Indexing Core usage is compared for overage calculations.", +"format": "int64", +"type": "string" +}, +"effectiveSearchQpmThreshold": { +"description": "Optional. The currently effective Search QPM threshold in queries per minute. This is the threshold against which QPM usage is compared for overage calculations.", +"format": "int64", +"type": "string" +}, +"indexingCoreThresholdNextUpdateTime": { +"description": "Output only. The earliest next update time for the indexing core subscription threshold. This is based on the next_update_time returned by the underlying Cloud Billing Subscription V3 API. This field is populated only if an update indexing core subscription threshold request is succeeded.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"searchQpmThresholdNextUpdateTime": { +"description": "Output only. The earliest next update time for the search QPM subscription threshold. This is based on the next_update_time returned by the underlying Cloud Billing Subscription V3 API. This field is populated only if an update QPM subscription threshold request is succeeded.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"startTime": { +"description": "Optional. The start time of the currently active billing subscription.", +"format": "google-datetime", +"type": "string" +}, +"terminateTime": { +"description": "Output only. The latest terminate effective time of search qpm and indexing core subscriptions.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1alphaProjectCustomerProvidedConfig": { +"description": "Customer provided configurations.", +"id": "GoogleCloudDiscoveryengineV1alphaProjectCustomerProvidedConfig", +"properties": { +"notebooklmConfig": { +"$ref": "GoogleCloudDiscoveryengineV1alphaProjectCustomerProvidedConfigNotebooklmConfig", +"description": "Optional. Configuration for NotebookLM settings." +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1alphaProjectCustomerProvidedConfigNotebooklmConfig": { +"description": "Configuration for NotebookLM.", +"id": "GoogleCloudDiscoveryengineV1alphaProjectCustomerProvidedConfigNotebooklmConfig", +"properties": { +"dataProtectionPolicy": { +"$ref": "GoogleCloudDiscoveryengineV1alphaProjectCustomerProvidedConfigNotebooklmConfigDataProtectionPolicy", +"description": "Optional. Specifies the data protection policy for NotebookLM." +}, +"modelArmorConfig": { +"$ref": "GoogleCloudDiscoveryengineV1alphaProjectCustomerProvidedConfigNotebooklmConfigModelArmorConfig", +"description": "Model Armor configuration to be used for sanitizing user prompts and LLM responses." +}, +"observabilityConfig": { +"$ref": "GoogleCloudDiscoveryengineV1alphaObservabilityConfig", +"description": "Optional. Observability config for NotebookLM." +}, +"optOutNotebookSharing": { +"description": "Optional. Whether to disable the notebook sharing feature for the project. Default to false if not specified.", +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1alphaProjectCustomerProvidedConfigNotebooklmConfigDataProtectionPolicy": { +"description": "Data protection policy config for NotebookLM.", +"id": "GoogleCloudDiscoveryengineV1alphaProjectCustomerProvidedConfigNotebooklmConfigDataProtectionPolicy", +"properties": { +"sensitiveDataProtectionPolicy": { +"$ref": "GoogleCloudDiscoveryengineV1alphaProjectCustomerProvidedConfigNotebooklmConfigDataProtectionPolicySensitiveDataProtectionPolicy", +"description": "Optional. The sensitive data protection policy." +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1alphaProjectCustomerProvidedConfigNotebooklmConfigDataProtectionPolicySensitiveDataProtectionPolicy": { +"description": "Specifies a Sensitive Data Protection (https://cloud.google.com/sensitive-data-protection/docs/sensitive-data-protection-overview) policy.", +"id": "GoogleCloudDiscoveryengineV1alphaProjectCustomerProvidedConfigNotebooklmConfigDataProtectionPolicySensitiveDataProtectionPolicy", +"properties": { +"policy": { +"description": "Optional. The Sensitive Data Protection policy resource name.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1alphaProjectCustomerProvidedConfigNotebooklmConfigModelArmorConfig": { +"description": "Configuration for customer defined Model Armor templates to be used for sanitizing user prompts and LLM responses.", +"id": "GoogleCloudDiscoveryengineV1alphaProjectCustomerProvidedConfigNotebooklmConfigModelArmorConfig", +"properties": { +"responseTemplate": { +"description": "Optional. The resource name of the Model Armor Template for sanitizing LLM responses. Format: projects/{project}/locations/{location}/templates/{template_id} If not specified, no sanitization will be applied to the LLM response.", +"type": "string" +}, +"userPromptTemplate": { +"description": "Optional. The resource name of the Model Armor Template for sanitizing user prompts. Format: projects/{project}/locations/{location}/templates/{template_id} If not specified, no sanitization will be applied to the user prompt.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1alphaProjectServiceTerms": { +"description": "Metadata about the terms of service.", +"id": "GoogleCloudDiscoveryengineV1alphaProjectServiceTerms", +"properties": { +"acceptTime": { +"description": "The last time when the project agreed to the terms of service.", +"format": "google-datetime", +"type": "string" +}, +"declineTime": { +"description": "The last time when the project declined or revoked the agreement to terms of service.", +"format": "google-datetime", +"type": "string" +}, +"id": { +"description": "The unique identifier of this terms of service. Available terms: * `GA_DATA_USE_TERMS`: [Terms for data use](https://cloud.google.com/retail/data-use-terms). When using this as `id`, the acceptable version to provide is `2022-11-23`.", +"type": "string" +}, +"state": { +"description": "Whether the project has accepted/rejected the service terms or it is still pending.", +"enum": [ +"STATE_UNSPECIFIED", +"TERMS_ACCEPTED", +"TERMS_PENDING", +"TERMS_DECLINED" +], +"enumDescriptions": [ +"The default value of the enum. This value is not actually used.", +"The project has given consent to the terms of service.", +"The project is pending to review and accept the terms of service.", +"The project has declined or revoked the agreement to terms of service." +], +"type": "string" +}, +"version": { +"description": "The version string of the terms of service. For acceptable values, see the comments for id above.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1alphaProvisionProjectMetadata": { +"description": "Metadata associated with a project provision operation.", +"id": "GoogleCloudDiscoveryengineV1alphaProvisionProjectMetadata", +"properties": {}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1alphaPurgeCompletionSuggestionsMetadata": { +"description": "Metadata related to the progress of the PurgeCompletionSuggestions operation. This is returned by the google.longrunning.Operation.metadata field.", +"id": "GoogleCloudDiscoveryengineV1alphaPurgeCompletionSuggestionsMetadata", +"properties": { +"createTime": { +"description": "Operation create time.", +"format": "google-datetime", +"type": "string" +}, +"updateTime": { +"description": "Operation last update time. If the operation is done, this is also the finish time.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1alphaPurgeCompletionSuggestionsResponse": { +"description": "Response message for CompletionService.PurgeCompletionSuggestions method.", +"id": "GoogleCloudDiscoveryengineV1alphaPurgeCompletionSuggestionsResponse", +"properties": { +"errorSamples": { +"description": "A sample of errors encountered while processing the request.", +"items": { +"$ref": "GoogleRpcStatus" +}, +"type": "array" +}, +"purgeSucceeded": { +"description": "Whether the completion suggestions were successfully purged.", +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1alphaPurgeDocumentsMetadata": { +"description": "Metadata related to the progress of the PurgeDocuments operation. This will be returned by the google.longrunning.Operation.metadata field.", +"id": "GoogleCloudDiscoveryengineV1alphaPurgeDocumentsMetadata", +"properties": { +"createTime": { +"description": "Operation create time.", +"format": "google-datetime", +"type": "string" +}, +"failureCount": { +"description": "Count of entries that encountered errors while processing.", +"format": "int64", +"type": "string" +}, +"ignoredCount": { +"description": "Count of entries that were ignored as entries were not found.", +"format": "int64", +"type": "string" +}, +"successCount": { +"description": "Count of entries that were deleted successfully.", +"format": "int64", +"type": "string" +}, +"updateTime": { +"description": "Operation last update time. If the operation is done, this is also the finish time.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1alphaPurgeDocumentsResponse": { +"description": "Response message for DocumentService.PurgeDocuments method. If the long running operation is successfully done, then this message is returned by the google.longrunning.Operations.response field.", +"id": "GoogleCloudDiscoveryengineV1alphaPurgeDocumentsResponse", +"properties": { +"purgeCount": { +"description": "The total count of documents purged as a result of the operation.", +"format": "int64", +"type": "string" +}, +"purgeSample": { +"description": "A sample of document names that will be deleted. Only populated if `force` is set to false. A max of 100 names will be returned and the names are chosen at random.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1alphaPurgeSuggestionDenyListEntriesMetadata": { +"description": "Metadata related to the progress of the PurgeSuggestionDenyListEntries operation. This is returned by the google.longrunning.Operation.metadata field.", +"id": "GoogleCloudDiscoveryengineV1alphaPurgeSuggestionDenyListEntriesMetadata", +"properties": { +"createTime": { +"description": "Operation create time.", +"format": "google-datetime", +"type": "string" +}, +"updateTime": { +"description": "Operation last update time. If the operation is done, this is also the finish time.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1alphaPurgeSuggestionDenyListEntriesResponse": { +"description": "Response message for CompletionService.PurgeSuggestionDenyListEntries method.", +"id": "GoogleCloudDiscoveryengineV1alphaPurgeSuggestionDenyListEntriesResponse", +"properties": { +"errorSamples": { +"description": "A sample of errors encountered while processing the request.", +"items": { +"$ref": "GoogleRpcStatus" +}, +"type": "array" +}, +"purgeCount": { +"description": "Number of suggestion deny list entries purged.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1alphaPurgeUserEventsMetadata": { +"description": "Metadata related to the progress of the PurgeUserEvents operation. This will be returned by the google.longrunning.Operation.metadata field.", +"id": "GoogleCloudDiscoveryengineV1alphaPurgeUserEventsMetadata", +"properties": { +"createTime": { +"description": "Operation create time.", +"format": "google-datetime", +"type": "string" +}, +"failureCount": { +"description": "Count of entries that encountered errors while processing.", +"format": "int64", +"type": "string" +}, +"successCount": { +"description": "Count of entries that were deleted successfully.", +"format": "int64", +"type": "string" +}, +"updateTime": { +"description": "Operation last update time. If the operation is done, this is also the finish time.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1alphaPurgeUserEventsResponse": { +"description": "Response of the PurgeUserEventsRequest. If the long running operation is successfully done, then this message is returned by the google.longrunning.Operations.response field.", +"id": "GoogleCloudDiscoveryengineV1alphaPurgeUserEventsResponse", +"properties": { +"purgeCount": { +"description": "The total count of events purged as a result of the operation.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1alphaQualityMetrics": { +"description": "Describes the metrics produced by the evaluation.", +"id": "GoogleCloudDiscoveryengineV1alphaQualityMetrics", +"properties": { +"docNdcg": { +"$ref": "GoogleCloudDiscoveryengineV1alphaQualityMetricsTopkMetrics", +"description": "Normalized discounted cumulative gain (NDCG) per document, at various top-k cutoff levels. NDCG measures the ranking quality, giving higher relevance to top results. Example (top-3): Suppose SampleQuery with three retrieved documents (D1, D2, D3) and binary relevance judgements (1 for relevant, 0 for not relevant): Retrieved: [D3 (0), D1 (1), D2 (1)] Ideal: [D1 (1), D2 (1), D3 (0)] Calculate NDCG@3 for each SampleQuery: * DCG@3: 0/log2(1+1) + 1/log2(2+1) + 1/log2(3+1) = 1.13 * Ideal DCG@3: 1/log2(1+1) + 1/log2(2+1) + 0/log2(3+1) = 1.63 * NDCG@3: 1.13/1.63 = 0.693" +}, +"docPrecision": { +"$ref": "GoogleCloudDiscoveryengineV1alphaQualityMetricsTopkMetrics", +"description": "Precision per document, at various top-k cutoff levels. Precision is the fraction of retrieved documents that are relevant. Example (top-5): * For a single SampleQuery, If 4 out of 5 retrieved documents in the top-5 are relevant, precision@5 = 4/5 = 0.8" +}, +"docRecall": { +"$ref": "GoogleCloudDiscoveryengineV1alphaQualityMetricsTopkMetrics", +"description": "Recall per document, at various top-k cutoff levels. Recall is the fraction of relevant documents retrieved out of all relevant documents. Example (top-5): * For a single SampleQuery, If 3 out of 5 relevant documents are retrieved in the top-5, recall@5 = 3/5 = 0.6" +}, +"pageNdcg": { +"$ref": "GoogleCloudDiscoveryengineV1alphaQualityMetricsTopkMetrics", +"description": "Normalized discounted cumulative gain (NDCG) per page, at various top-k cutoff levels. NDCG measures the ranking quality, giving higher relevance to top results. Example (top-3): Suppose SampleQuery with three retrieved pages (P1, P2, P3) and binary relevance judgements (1 for relevant, 0 for not relevant): Retrieved: [P3 (0), P1 (1), P2 (1)] Ideal: [P1 (1), P2 (1), P3 (0)] Calculate NDCG@3 for SampleQuery: * DCG@3: 0/log2(1+1) + 1/log2(2+1) + 1/log2(3+1) = 1.13 * Ideal DCG@3: 1/log2(1+1) + 1/log2(2+1) + 0/log2(3+1) = 1.63 * NDCG@3: 1.13/1.63 = 0.693" +}, +"pageRecall": { +"$ref": "GoogleCloudDiscoveryengineV1alphaQualityMetricsTopkMetrics", +"description": "Recall per page, at various top-k cutoff levels. Recall is the fraction of relevant pages retrieved out of all relevant pages. Example (top-5): * For a single SampleQuery, if 3 out of 5 relevant pages are retrieved in the top-5, recall@5 = 3/5 = 0.6" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1alphaQualityMetricsTopkMetrics": { +"description": "Stores the metric values at specific top-k levels.", +"id": "GoogleCloudDiscoveryengineV1alphaQualityMetricsTopkMetrics", +"properties": { +"top1": { +"description": "The top-1 value.", +"format": "double", +"type": "number" +}, +"top10": { +"description": "The top-10 value.", +"format": "double", +"type": "number" +}, +"top3": { +"description": "The top-3 value.", +"format": "double", +"type": "number" +}, +"top5": { +"description": "The top-5 value.", +"format": "double", +"type": "number" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1alphaQuery": { +"description": "Defines a user inputed query.", +"id": "GoogleCloudDiscoveryengineV1alphaQuery", +"properties": { +"parts": { +"description": "Query content parts.", +"items": { +"$ref": "GoogleCloudDiscoveryengineV1alphaQueryPart" +}, +"type": "array" +}, +"queryId": { +"description": "Output only. Unique Id for the query.", +"readOnly": true, +"type": "string" +}, +"text": { +"description": "Plain text.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1alphaQueryPart": { +"description": "Represents a part or the whole of a content, used to represent a query. A query can be made up of multiple parts.", +"id": "GoogleCloudDiscoveryengineV1alphaQueryPart", +"properties": { +"documentReference": { +"$ref": "GoogleCloudDiscoveryengineV1alphaQueryPartDocumentReference", +"description": "Other VAIS Document references." +}, +"driveDocumentReference": { +"$ref": "GoogleCloudDiscoveryengineV1alphaQueryPartDriveDocumentReference", +"description": "Reference to a Google Drive document." +}, +"mimeType": { +"description": "Optional. The IANA standard MIME type of the data. See https://www.iana.org/assignments/media-types/media-types.xhtml. This field is optional. If not set, the default assumed MIME type is \"text/plain\" for the \"data\" field.", +"type": "string" +}, +"personReference": { +"$ref": "GoogleCloudDiscoveryengineV1alphaQueryPartPersonReference", +"description": "Reference to a person." +}, +"text": { +"description": "Text content.", +"type": "string" +}, +"uiJsonPayload": { +"description": "This field is expected to be a ui message in JSON format. As of Q1 2026, ui_json_payload is only supported for A2UI messages.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1alphaQueryPartDocumentReference": { +"description": "Represents a document reference.", +"id": "GoogleCloudDiscoveryengineV1alphaQueryPartDocumentReference", +"properties": { +"destinationUri": { +"description": "The destination uri of the reference.", +"type": "string" +}, +"displayTitle": { +"description": "The display title of the reference.", +"type": "string" +}, +"documentName": { +"description": "The full resource name of the document. Format: `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}/documents/{document_id}`.", +"type": "string" +}, +"fileId": { +"description": "Output only. The file id of the document data stored in the session context files.", +"readOnly": true, +"type": "string" +}, +"iconUri": { +"description": "The icon uri of the reference.", +"type": "string" +}, +"urlForConnector": { +"description": "Input only. The url_for_connector of the document returned by Federated Search.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1alphaQueryPartDriveDocumentReference": { +"description": "Represents a Google Drive document reference.", +"id": "GoogleCloudDiscoveryengineV1alphaQueryPartDriveDocumentReference", +"properties": { +"destinationUri": { +"description": "The destination uri of the reference.", +"type": "string" +}, +"displayTitle": { +"description": "The display title of the reference.", +"type": "string" +}, +"documentName": { +"description": "The full resource name of the document. Format: `projects/*/locations/*/collections/*/dataStores/*/branches/*/documents/*`.", +"type": "string" +}, +"driveId": { +"description": "The Drive id of the document.", +"type": "string" +}, +"fileId": { +"description": "Output only. The file id of the Drive document data stored in the session context files.", +"readOnly": true, +"type": "string" +}, +"iconUri": { +"description": "The icon uri of the Drive document reference.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1alphaQueryPartPersonReference": { +"description": "Represents a person reference.", +"id": "GoogleCloudDiscoveryengineV1alphaQueryPartPersonReference", +"properties": { +"destinationUri": { +"description": "The destination uri of the person.", +"type": "string" +}, +"displayName": { +"description": "The display name of the person.", +"type": "string" +}, +"displayPhotoUri": { +"description": "The display photo url of the person.", +"type": "string" +}, +"documentName": { +"description": "The full resource name of the person. Format: `projects/*/locations/*/collections/*/dataStores/*/branches/*/documents/*`.", +"type": "string" +}, +"email": { +"description": "The email of the person.", +"type": "string" +}, +"fileId": { +"description": "Output only. The file id of the person data stored in the session context files.", +"readOnly": true, +"type": "string" +}, +"personId": { +"description": "The person id of the person.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1alphaRecrawlUrisMetadata": { +"description": "Metadata related to the progress of the SiteSearchEngineService.RecrawlUris operation. This will be returned by the google.longrunning.Operation.metadata field.", +"id": "GoogleCloudDiscoveryengineV1alphaRecrawlUrisMetadata", +"properties": { +"createTime": { +"description": "Operation create time.", +"format": "google-datetime", +"type": "string" +}, +"invalidUris": { +"description": "Unique URIs in the request that have invalid format. Sample limited to 1000.", +"items": { +"type": "string" +}, +"type": "array" +}, +"invalidUrisCount": { +"description": "Total number of unique URIs in the request that have invalid format.", +"format": "int32", +"type": "integer" +}, +"noindexUris": { +"description": "URIs that have no index meta tag. Sample limited to 1000.", +"items": { +"type": "string" +}, +"type": "array" +}, +"noindexUrisCount": { +"description": "Total number of URIs that have no index meta tag.", +"format": "int32", +"type": "integer" +}, +"pendingCount": { +"description": "Total number of URIs that have yet to be crawled.", +"format": "int32", +"type": "integer" +}, +"quotaExceededCount": { +"description": "Total number of URIs that were rejected due to insufficient indexing resources.", +"format": "int32", +"type": "integer" +}, +"successCount": { +"description": "Total number of URIs that have been crawled so far.", +"format": "int32", +"type": "integer" +}, +"updateTime": { +"description": "Operation last update time. If the operation is done, this is also the finish time.", +"format": "google-datetime", +"type": "string" +}, +"urisNotMatchingTargetSites": { +"description": "Unique URIs in the request that don't match any TargetSite in the DataStore, only match TargetSites that haven't been fully indexed, or match a TargetSite with type EXCLUDE. Sample limited to 1000.", +"items": { +"type": "string" +}, +"type": "array" +}, +"urisNotMatchingTargetSitesCount": { +"description": "Total number of URIs that don't match any TargetSites.", +"format": "int32", +"type": "integer" +}, +"validUrisCount": { +"description": "Total number of unique URIs in the request that are not in invalid_uris.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1alphaRecrawlUrisResponse": { +"description": "Response message for SiteSearchEngineService.RecrawlUris method.", +"id": "GoogleCloudDiscoveryengineV1alphaRecrawlUrisResponse", +"properties": { +"failedUris": { +"description": "URIs that were not crawled before the LRO terminated.", +"items": { +"type": "string" +}, +"type": "array" +}, +"failureSamples": { +"description": "Details for a sample of up to 10 `failed_uris`.", +"items": { +"$ref": "GoogleCloudDiscoveryengineV1alphaRecrawlUrisResponseFailureInfo" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1alphaRecrawlUrisResponseFailureInfo": { +"description": "Details about why a particular URI failed to be crawled. Each FailureInfo contains one FailureReason per CorpusType.", +"id": "GoogleCloudDiscoveryengineV1alphaRecrawlUrisResponseFailureInfo", +"properties": { +"failureReasons": { +"description": "List of failure reasons by corpus type (e.g. desktop, mobile).", +"items": { +"$ref": "GoogleCloudDiscoveryengineV1alphaRecrawlUrisResponseFailureInfoFailureReason" +}, +"type": "array" +}, +"uri": { +"description": "URI that failed to be crawled.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1alphaRecrawlUrisResponseFailureInfoFailureReason": { +"description": "Details about why crawling failed for a particular CorpusType, e.g., DESKTOP and MOBILE crawling may fail for different reasons.", +"id": "GoogleCloudDiscoveryengineV1alphaRecrawlUrisResponseFailureInfoFailureReason", +"properties": { +"corpusType": { +"description": "DESKTOP, MOBILE, or CORPUS_TYPE_UNSPECIFIED.", +"enum": [ +"CORPUS_TYPE_UNSPECIFIED", +"DESKTOP", +"MOBILE" +], +"enumDescriptions": [ +"Default value.", +"Denotes a crawling attempt for the desktop version of a page.", +"Denotes a crawling attempt for the mobile version of a page." +], +"type": "string" +}, +"errorMessage": { +"description": "Reason why the URI was not crawled.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1alphaRemoveDedicatedCrawlRateMetadata": { +"description": "Metadata related to the progress of the CrawlRateManagementService.RemoveDedicatedCrawlRate operation. This will be returned by the google.longrunning.Operation.metadata field.", +"id": "GoogleCloudDiscoveryengineV1alphaRemoveDedicatedCrawlRateMetadata", +"properties": { +"createTime": { +"description": "Operation create time.", +"format": "google-datetime", +"type": "string" +}, +"updateTime": { +"description": "Operation last update time. If the operation is done, this is also the finish time.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1alphaRemoveDedicatedCrawlRateResponse": { +"description": "Response message for CrawlRateManagementService.RemoveDedicatedCrawlRate method. It simply returns the state of the response, and an error message if the state is FAILED.", +"id": "GoogleCloudDiscoveryengineV1alphaRemoveDedicatedCrawlRateResponse", +"properties": { +"error": { +"$ref": "GoogleRpcStatus", +"description": "Errors from service when handling the request." +}, +"state": { +"description": "Output only. The state of the response.", +"enum": [ +"STATE_UNSPECIFIED", +"SUCCEEDED", +"FAILED" +], +"enumDescriptions": [ +"The state is unspecified.", +"The state is successful.", +"The state is failed." +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1alphaRemovePatientFilterRequest": { +"description": "Request for DataStoreService.RemovePatientFilter method.", +"id": "GoogleCloudDiscoveryengineV1alphaRemovePatientFilterRequest", +"properties": { +"dataStore": { +"description": "Required. Full resource name of DataStore, such as `projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}`. If the caller does not have permission to access the DataStore, regardless of whether or not it exists, a PERMISSION_DENIED error is returned. If the requested DataStore does not exist, a NOT_FOUND error is returned. If the requested DataStore does not have a patient filter, a NOT_FOUND error will be returned", +"type": "string" +}, +"filterGroups": { +"description": "Required. Names of the Group resources to use as a basis for the list of patients to remove from the patient filter, in format `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/fhirStores/{fhir_store_id}/fhir/Group/{group_id}`. if the caller does not have permission to access the FHIR store, regardless of whether it exists, PERMISSION_DENIED error is returned. If the discovery engine service account does not have permission to access the FHIR store, regardless of whether or not it exists, a PERMISSION_DENIED error is returned. If the group is not found at the location, a RESOURCE_NOT_FOUND error will be returned. The filter group must be a FHIR resource name of type Group, and the list of IDs to remove will be constructed from the direct members of the group which are Patient resources.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1alphaReplacePatientFilterRequest": { +"description": "Request for DataStoreService.ReplacePatientFilter method.", +"id": "GoogleCloudDiscoveryengineV1alphaReplacePatientFilterRequest", +"properties": { +"dataStore": { +"description": "Required. Full resource name of DataStore, such as `projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}`. If the caller does not have permission to access the DataStore, regardless of whether or not it exists, a PERMISSION_DENIED error is returned. If the requested DataStore does not exist, a NOT_FOUND error is returned. If the requested DataStore already has a patient filter, an ALREADY_EXISTS error will be returned.", +"type": "string" +}, +"filterGroups": { +"description": "Required. Names of the Group resources to use as a basis for the list of patients for the new patient filter, in format `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/fhirStores/{fhir_store_id}/fhir/Group/{group_id}`. if the caller does not have permission to access the FHIR store, regardless of whether it exists, PERMISSION_DENIED error is returned. If the discovery engine service account does not have permission to access the FHIR store, regardless of whether or not it exists, a PERMISSION_DENIED error is returned. If the group is not found at the location, a RESOURCE_NOT_FOUND error will be returned. The filter group must be a FHIR resource name of type Group, and the new filter will be constructed from the direct members of the group which are Patient resources.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1alphaSafetyRating": { +"description": "Safety rating corresponding to the generated content.", +"id": "GoogleCloudDiscoveryengineV1alphaSafetyRating", +"properties": { +"blocked": { +"description": "Output only. Indicates whether the content was filtered out because of this rating.", +"readOnly": true, +"type": "boolean" +}, +"category": { +"description": "Output only. Harm category.", +"enum": [ +"HARM_CATEGORY_UNSPECIFIED", +"HARM_CATEGORY_HATE_SPEECH", +"HARM_CATEGORY_DANGEROUS_CONTENT", +"HARM_CATEGORY_HARASSMENT", +"HARM_CATEGORY_SEXUALLY_EXPLICIT", +"HARM_CATEGORY_CIVIC_INTEGRITY" +], +"enumDescriptions": [ +"The harm category is unspecified.", +"The harm category is hate speech.", +"The harm category is dangerous content.", +"The harm category is harassment.", +"The harm category is sexually explicit content.", +"The harm category is civic integrity." +], +"readOnly": true, +"type": "string" +}, +"probability": { +"description": "Output only. Harm probability levels in the content.", +"enum": [ +"HARM_PROBABILITY_UNSPECIFIED", +"NEGLIGIBLE", +"LOW", +"MEDIUM", +"HIGH" +], +"enumDescriptions": [ +"Harm probability unspecified.", +"Negligible level of harm.", +"Low level of harm.", +"Medium level of harm.", +"High level of harm." +], +"readOnly": true, +"type": "string" +}, +"probabilityScore": { +"description": "Output only. Harm probability score.", +"format": "float", +"readOnly": true, +"type": "number" +}, +"severity": { +"description": "Output only. Harm severity levels in the content.", +"enum": [ +"HARM_SEVERITY_UNSPECIFIED", +"HARM_SEVERITY_NEGLIGIBLE", +"HARM_SEVERITY_LOW", +"HARM_SEVERITY_MEDIUM", +"HARM_SEVERITY_HIGH" +], +"enumDescriptions": [ +"Harm severity unspecified.", +"Negligible level of harm severity.", +"Low level of harm severity.", +"Medium level of harm severity.", +"High level of harm severity." +], +"readOnly": true, +"type": "string" +}, +"severityScore": { +"description": "Output only. Harm severity score.", +"format": "float", +"readOnly": true, +"type": "number" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1alphaSchema": { +"description": "Defines the structure and layout of a type of document data.", +"id": "GoogleCloudDiscoveryengineV1alphaSchema", +"properties": { +"fieldConfigs": { +"description": "Output only. Configurations for fields of the schema.", +"items": { +"$ref": "GoogleCloudDiscoveryengineV1alphaFieldConfig" +}, +"readOnly": true, +"type": "array" +}, +"jsonSchema": { +"description": "The JSON representation of the schema.", +"type": "string" +}, +"name": { +"description": "Immutable. The full resource name of the schema, in the format of `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/schemas/{schema}`. This field must be a UTF-8 encoded string with a length limit of 1024 characters.", +"type": "string" +}, +"structSchema": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"description": "The structured representation of the schema.", +"type": "object" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1alphaSearchLinkPromotion": { +"description": "Promotion proto includes uri and other helping information to display the promotion.", +"id": "GoogleCloudDiscoveryengineV1alphaSearchLinkPromotion", +"properties": { +"description": { +"description": "Optional. The Promotion description. Maximum length: 200 characters.", +"type": "string" +}, +"document": { +"description": "Optional. The Document the user wants to promote. For site search, leave unset and only populate uri. Can be set along with uri.", +"type": "string" +}, +"enabled": { +"description": "Optional. The enabled promotion will be returned for any serving configs associated with the parent of the control this promotion is attached to. This flag is used for basic site search only.", +"type": "boolean" +}, +"imageUri": { +"description": "Optional. The promotion thumbnail image url.", +"type": "string" +}, +"title": { +"description": "Required. The title of the promotion. Maximum length: 160 characters.", +"type": "string" +}, +"uri": { +"description": "Optional. The URL for the page the user wants to promote. Must be set for site search. For other verticals, this is optional.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1alphaSearchRequest": { +"description": "Request message for SearchService.Search method.", +"id": "GoogleCloudDiscoveryengineV1alphaSearchRequest", +"properties": { +"boostSpec": { +"$ref": "GoogleCloudDiscoveryengineV1alphaSearchRequestBoostSpec", +"description": "Boost specification to boost certain documents. For more information on boosting, see [Boosting](https://cloud.google.com/generative-ai-app-builder/docs/boost-search-results)" +}, +"branch": { +"description": "The branch resource name, such as `projects/*/locations/global/collections/default_collection/dataStores/default_data_store/branches/0`. Use `default_branch` as the branch ID or leave this field empty, to search documents under the default branch.", +"type": "string" +}, +"canonicalFilter": { +"description": "The default filter that is applied when a user performs a search without checking any filters on the search page. The filter applied to every search request when quality improvement such as query expansion is needed. In the case a query does not have a sufficient amount of results this filter will be used to determine whether or not to enable the query expansion flow. The original filter will still be used for the query expanded search. This field is strongly recommended to achieve high search quality. For more information about filter syntax, see SearchRequest.filter.", +"type": "string" +}, +"contentSearchSpec": { +"$ref": "GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpec", +"description": "A specification for configuring the behavior of content search." +}, +"crowdingSpecs": { +"description": "Optional. Crowding specifications for improving result diversity. If multiple CrowdingSpecs are specified, crowding will be evaluated on each unique combination of the `field` values, and max_count will be the maximum value of `max_count` across all CrowdingSpecs. For example, if the first CrowdingSpec has `field` = \"color\" and `max_count` = 3, and the second CrowdingSpec has `field` = \"size\" and `max_count` = 2, then after 3 documents that share the same color AND size have been returned, subsequent ones should be removed or demoted.", +"items": { +"$ref": "GoogleCloudDiscoveryengineV1alphaSearchRequestCrowdingSpec" +}, +"type": "array" +}, +"customFineTuningSpec": { +"$ref": "GoogleCloudDiscoveryengineV1alphaCustomFineTuningSpec", +"description": "Custom fine tuning configs. If set, it has higher priority than the configs set in ServingConfig.custom_fine_tuning_spec." +}, +"dataStoreSpecs": { +"description": "Specifications that define the specific DataStores to be searched, along with configurations for those data stores. This is only considered for Engines with multiple data stores. For engines with a single data store, the specs directly under SearchRequest should be used.", +"items": { +"$ref": "GoogleCloudDiscoveryengineV1alphaSearchRequestDataStoreSpec" +}, +"type": "array" +}, +"displaySpec": { +"$ref": "GoogleCloudDiscoveryengineV1alphaSearchRequestDisplaySpec", +"description": "Optional. Config for display feature, like match highlighting on search results." +}, +"embeddingSpec": { +"$ref": "GoogleCloudDiscoveryengineV1alphaSearchRequestEmbeddingSpec", +"description": "Uses the provided embedding to do additional semantic document retrieval. The retrieval is based on the dot product of SearchRequest.EmbeddingSpec.EmbeddingVector.vector and the document embedding that is provided in SearchRequest.EmbeddingSpec.EmbeddingVector.field_path. If SearchRequest.EmbeddingSpec.EmbeddingVector.field_path is not provided, it will use ServingConfig.EmbeddingConfig.field_path." +}, +"facetSpecs": { +"description": "Facet specifications for faceted search. If empty, no facets are returned. A maximum of 100 values are allowed. Otherwise, an `INVALID_ARGUMENT` error is returned.", +"items": { +"$ref": "GoogleCloudDiscoveryengineV1alphaSearchRequestFacetSpec" +}, +"type": "array" +}, +"filter": { +"description": "The filter syntax consists of an expression language for constructing a predicate from one or more fields of the documents being filtered. Filter expression is case-sensitive. If this field is unrecognizable, an `INVALID_ARGUMENT` is returned. Filtering in Vertex AI Search is done by mapping the LHS filter key to a key property defined in the Vertex AI Search backend -- this mapping is defined by the customer in their schema. For example a media customer might have a field 'name' in their schema. In this case the filter would look like this: filter --> name:'ANY(\"king kong\")' For more information about filtering including syntax and filter operators, see [Filter](https://cloud.google.com/generative-ai-app-builder/docs/filter-search-metadata)", +"type": "string" +}, +"imageQuery": { +"$ref": "GoogleCloudDiscoveryengineV1alphaSearchRequestImageQuery", +"description": "Raw image query." +}, +"languageCode": { +"description": "The BCP-47 language code, such as \"en-US\" or \"sr-Latn\". For more information, see [Standard fields](https://cloud.google.com/apis/design/standard_fields). This field helps to better interpret the query. If a value isn't specified, the query language code is automatically detected, which may not be accurate.", +"type": "string" +}, +"naturalLanguageQueryUnderstandingSpec": { +"$ref": "GoogleCloudDiscoveryengineV1alphaSearchRequestNaturalLanguageQueryUnderstandingSpec", +"description": "Optional. Config for natural language query understanding capabilities, such as extracting structured field filters from the query. Refer to [this documentation](https://cloud.google.com/generative-ai-app-builder/docs/natural-language-queries) for more information. If `naturalLanguageQueryUnderstandingSpec` is not specified, no additional natural language query understanding will be done." +}, +"numResultsPerDataStore": { +"description": "Optional. The maximum number of results to retrieve from each data store. If not specified, it will use the SearchRequest.DataStoreSpec.num_results if provided, otherwise there is no limit.", +"format": "int32", +"type": "integer" +}, +"offset": { +"description": "A 0-indexed integer that specifies the current offset (that is, starting result location, amongst the Documents deemed by the API as relevant) in search results. This field is only considered if page_token is unset. If this field is negative, an `INVALID_ARGUMENT` is returned. A large offset may be capped to a reasonable threshold.", +"format": "int32", +"type": "integer" +}, +"oneBoxPageSize": { +"description": "The maximum number of results to return for OneBox. This applies to each OneBox type individually. Default number is 10.", +"format": "int32", +"type": "integer" +}, +"orderBy": { +"description": "The order in which documents are returned. Documents can be ordered by a field in an Document object. Leave it unset if ordered by relevance. `order_by` expression is case-sensitive. For more information on ordering the website search results, see [Order web search results](https://cloud.google.com/generative-ai-app-builder/docs/order-web-search-results). For more information on ordering the healthcare search results, see [Order healthcare search results](https://cloud.google.com/generative-ai-app-builder/docs/order-hc-results). If this field is unrecognizable, an `INVALID_ARGUMENT` is returned.", +"type": "string" +}, +"pageCategories": { +"description": "Optional. The categories associated with a category page. Must be set for category navigation queries to achieve good search quality. The format should be the same as PageInfo.page_category. This field is the equivalent of the query for browse (navigation) queries. It's used by the browse model when the query is empty. If the field is empty, it will not be used by the browse model. If the field contains more than one element, only the first element will be used. To represent full path of a category, use '>' character to separate different hierarchies. If '>' is part of the category name, replace it with other character(s). For example, `Graphics Cards > RTX>4090 > Founders Edition` where \"RTX > 4090\" represents one level, can be rewritten as `Graphics Cards > RTX_4090 > Founders Edition`", +"items": { +"type": "string" +}, +"type": "array" +}, +"pageSize": { +"description": "Maximum number of Documents to return. The maximum allowed value depends on the data type. Values above the maximum value are coerced to the maximum value. * Websites with basic indexing: Default `10`, Maximum `25`. * Websites with advanced indexing: Default `25`, Maximum `50`. * Other: Default `50`, Maximum `100`. If this field is negative, an `INVALID_ARGUMENT` is returned.", +"format": "int32", +"type": "integer" +}, +"pageToken": { +"description": "A page token received from a previous SearchService.Search call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to SearchService.Search must match the call that provided the page token. Otherwise, an `INVALID_ARGUMENT` error is returned.", +"type": "string" +}, +"params": { +"additionalProperties": { +"type": "any" +}, +"description": "Additional search parameters. For public website search only, supported values are: * `user_country_code`: string. Default empty. If set to non-empty, results are restricted or boosted based on the location provided. For example, `user_country_code: \"au\"` For available codes see [Country Codes](https://developers.google.com/custom-search/docs/json_api_reference#countryCodes) * `search_type`: double. Default empty. Enables non-webpage searching depending on the value. The only valid non-default value is 1, which enables image searching. For example, `search_type: 1`", +"type": "object" +}, +"personalizationSpec": { +"$ref": "GoogleCloudDiscoveryengineV1alphaSearchRequestPersonalizationSpec", +"description": "The specification for personalization. Notice that if both ServingConfig.personalization_spec and SearchRequest.personalization_spec are set, SearchRequest.personalization_spec overrides ServingConfig.personalization_spec." +}, +"query": { +"description": "Raw search query.", +"type": "string" +}, +"queryExpansionSpec": { +"$ref": "GoogleCloudDiscoveryengineV1alphaSearchRequestQueryExpansionSpec", +"description": "The query expansion specification that specifies the conditions under which query expansion occurs." +}, +"rankingExpression": { +"description": "Optional. The ranking expression controls the customized ranking on retrieval documents. This overrides ServingConfig.ranking_expression. The syntax and supported features depend on the `ranking_expression_backend` value. If `ranking_expression_backend` is not provided, it defaults to `RANK_BY_EMBEDDING`. If ranking_expression_backend is not provided or set to `RANK_BY_EMBEDDING`, it should be a single function or multiple functions that are joined by \"+\". * ranking_expression = function, { \" + \", function }; Supported functions: * double * relevance_score * double * dotProduct(embedding_field_path) Function variables: * `relevance_score`: pre-defined keywords, used for measure relevance between query and document. * `embedding_field_path`: the document embedding field used with query embedding vector. * `dotProduct`: embedding function between `embedding_field_path` and query embedding vector. Example ranking expression: If document has an embedding field doc_embedding, the ranking expression could be `0.5 * relevance_score + 0.3 * dotProduct(doc_embedding)`. If ranking_expression_backend is set to `RANK_BY_FORMULA`, the following expression types (and combinations of those chained using + or * operators) are supported: * `double` * `signal` * `log(signal)` * `exp(signal)` * `rr(signal, double > 0)` -- reciprocal rank transformation with second argument being a denominator constant. * `is_nan(signal)` -- returns 0 if signal is NaN, 1 otherwise. * `fill_nan(signal1, signal2 | double)` -- if signal1 is NaN, returns signal2 | double, else returns signal1. Here are a few examples of ranking formulas that use the supported ranking expression types: - `0.2 * semantic_similarity_score + 0.8 * log(keyword_similarity_score)` -- mostly rank by the logarithm of `keyword_similarity_score` with slight `semantic_smilarity_score` adjustment. - `0.2 * exp(fill_nan(semantic_similarity_score, 0)) + 0.3 * is_nan(keyword_similarity_score)` -- rank by the exponent of `semantic_similarity_score` filling the value with 0 if it's NaN, also add constant 0.3 adjustment to the final score if `semantic_similarity_score` is NaN. - `0.2 * rr(semantic_similarity_score, 16) + 0.8 * rr(keyword_similarity_score, 16)` -- mostly rank by the reciprocal rank of `keyword_similarity_score` with slight adjustment of reciprocal rank of `semantic_smilarity_score`. The following signals are supported: * `semantic_similarity_score`: semantic similarity adjustment that is calculated using the embeddings generated by a proprietary Google model. This score determines how semantically similar a search query is to a document. * `keyword_similarity_score`: keyword match adjustment uses the Best Match 25 (BM25) ranking function. This score is calculated using a probabilistic model to estimate the probability that a document is relevant to a given query. * `relevance_score`: semantic relevance adjustment that uses a proprietary Google model to determine the meaning and intent behind a user's query in context with the content in the documents. * `pctr_rank`: predicted conversion rate adjustment as a rank use predicted Click-through rate (pCTR) to gauge the relevance and attractiveness of a search result from a user's perspective. A higher pCTR suggests that the result is more likely to satisfy the user's query and intent, making it a valuable signal for ranking. * `freshness_rank`: freshness adjustment as a rank * `document_age`: The time in hours elapsed since the document was last updated, a floating-point number (e.g., 0.25 means 15 minutes). * `topicality_rank`: topicality adjustment as a rank. Uses proprietary Google model to determine the keyword-based overlap between the query and the document. * `base_rank`: the default rank of the result", +"type": "string" +}, +"rankingExpressionBackend": { +"description": "Optional. The backend to use for the ranking expression evaluation.", +"enum": [ +"RANKING_EXPRESSION_BACKEND_UNSPECIFIED", +"BYOE", +"CLEARBOX", +"RANK_BY_EMBEDDING", +"RANK_BY_FORMULA" +], +"enumDeprecated": [ +false, +true, +true, +false, +false +], +"enumDescriptions": [ +"Default option for unspecified/unknown values.", +"Deprecated: Use `RANK_BY_EMBEDDING` instead. Ranking by custom embedding model, the default way to evaluate the ranking expression. Legacy enum option, `RANK_BY_EMBEDDING` should be used instead.", +"Deprecated: Use `RANK_BY_FORMULA` instead. Ranking by custom formula. Legacy enum option, `RANK_BY_FORMULA` should be used instead.", +"Ranking by custom embedding model, the default way to evaluate the ranking expression.", +"Ranking by custom formula." +], +"type": "string" +}, +"regionCode": { +"description": "The Unicode country/region code (CLDR) of a location, such as \"US\" and \"419\". For more information, see [Standard fields](https://cloud.google.com/apis/design/standard_fields). If set, then results will be boosted based on the region_code provided.", +"type": "string" +}, +"relevanceFilterSpec": { +"$ref": "GoogleCloudDiscoveryengineV1alphaSearchRequestRelevanceFilterSpec", +"description": "Optional. The granular relevance filtering specification. If not specified, the global `relevance_threshold` will be used for all sub-searches. If specified, this overrides the global `relevance_threshold` to use thresholds on a per sub-search basis. This feature is currently supported only for custom and site search." +}, +"relevanceScoreSpec": { +"$ref": "GoogleCloudDiscoveryengineV1alphaSearchRequestRelevanceScoreSpec", +"description": "Optional. The specification for returning the relevance score." +}, +"relevanceThreshold": { +"description": "The global relevance threshold of the search results. Defaults to Google defined threshold, leveraging a balance of precision and recall to deliver both highly accurate results and comprehensive coverage of relevant information. If more granular relevance filtering is required, use the `relevance_filter_spec` instead. This feature is not supported for healthcare search.", +"enum": [ +"RELEVANCE_THRESHOLD_UNSPECIFIED", +"LOWEST", +"LOW", +"MEDIUM", +"HIGH" +], +"enumDescriptions": [ +"Default value. In this case, server behavior defaults to Google defined threshold.", +"Lowest relevance threshold.", +"Low relevance threshold.", +"Medium relevance threshold.", +"High relevance threshold." +], +"type": "string" +}, +"safeSearch": { +"description": "Whether to turn on safe search. This is only supported for website search.", +"type": "boolean" +}, +"searchAddonSpec": { +"$ref": "GoogleCloudDiscoveryengineV1alphaSearchRequestSearchAddonSpec", +"description": "Optional. SearchAddonSpec is used to disable add-ons for search as per new repricing model. This field is only supported for search requests." +}, +"searchAsYouTypeSpec": { +"$ref": "GoogleCloudDiscoveryengineV1alphaSearchRequestSearchAsYouTypeSpec", +"description": "Search as you type configuration. Only supported for the IndustryVertical.MEDIA vertical." +}, +"servingConfig": { +"description": "Required. The resource name of the Search serving config, such as `projects/*/locations/global/collections/default_collection/engines/*/servingConfigs/default_serving_config`, or `projects/*/locations/global/collections/default_collection/dataStores/default_data_store/servingConfigs/default_serving_config`. This field is used to identify the serving configuration name, set of models used to make the search.", +"type": "string" +}, +"session": { +"description": "The session resource name. Optional. Session allows users to do multi-turn /search API calls or coordination between /search API calls and /answer API calls. Example #1 (multi-turn /search API calls): Call /search API with the session ID generated in the first call. Here, the previous search query gets considered in query standing. I.e., if the first query is \"How did Alphabet do in 2022?\" and the current query is \"How about 2023?\", the current query will be interpreted as \"How did Alphabet do in 2023?\". Example #2 (coordination between /search API calls and /answer API calls): Call /answer API with the session ID generated in the first call. Here, the answer generation happens in the context of the search results from the first search call. Multi-turn Search feature is currently at private GA stage. Please use v1alpha or v1beta version instead before we launch this feature to public GA. Or ask for allowlisting through Google Support team.", +"type": "string" +}, +"sessionSpec": { +"$ref": "GoogleCloudDiscoveryengineV1alphaSearchRequestSessionSpec", +"description": "Session specification. Can be used only when `session` is set." +}, +"spellCorrectionSpec": { +"$ref": "GoogleCloudDiscoveryengineV1alphaSearchRequestSpellCorrectionSpec", +"description": "The spell correction specification that specifies the mode under which spell correction takes effect." +}, +"useLatestData": { +"description": "Uses the Engine, ServingConfig and Control freshly read from the database. Note: this skips config cache and introduces dependency on databases, which could significantly increase the API latency. It should only be used for testing, but not serving end users.", +"type": "boolean" +}, +"userInfo": { +"$ref": "GoogleCloudDiscoveryengineV1alphaUserInfo", +"description": "Information about the end user. Highly recommended for analytics and personalization. UserInfo.user_agent is used to deduce `device_type` for analytics." +}, +"userLabels": { +"additionalProperties": { +"type": "string" +}, +"description": "The user labels applied to a resource must meet the following requirements: * Each resource can have multiple labels, up to a maximum of 64. * Each label must be a key-value pair. * Keys have a minimum length of 1 character and a maximum length of 63 characters and cannot be empty. Values can be empty and have a maximum length of 63 characters. * Keys and values can contain only lowercase letters, numeric characters, underscores, and dashes. All characters must use UTF-8 encoding, and international characters are allowed. * The key portion of a label must be unique. However, you can use the same key with multiple resources. * Keys must start with a lowercase letter or international character. See [Google Cloud Document](https://cloud.google.com/resource-manager/docs/creating-managing-labels#requirements) for more details.", +"type": "object" +}, +"userPseudoId": { +"description": "Optional. A unique identifier for tracking visitors. For example, this could be implemented with an HTTP cookie, which should be able to uniquely identify a visitor on a single device. This unique identifier should not change if the visitor logs in or out of the website. This field should NOT have a fixed value such as `unknown_visitor`. This should be the same identifier as UserEvent.user_pseudo_id and CompleteQueryRequest.user_pseudo_id The field must be a UTF-8 encoded string with a length limit of 128 characters. Otherwise, an `INVALID_ARGUMENT` error is returned.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1alphaSearchRequestBoostSpec": { +"description": "Boost specification to boost certain documents.", +"id": "GoogleCloudDiscoveryengineV1alphaSearchRequestBoostSpec", +"properties": { +"conditionBoostSpecs": { +"description": "Condition boost specifications. If a document matches multiple conditions in the specifications, boost scores from these specifications are all applied and combined in a non-linear way. Maximum number of specifications is 20.", +"items": { +"$ref": "GoogleCloudDiscoveryengineV1alphaSearchRequestBoostSpecConditionBoostSpec" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1alphaSearchRequestBoostSpecConditionBoostSpec": { +"description": "Boost applies to documents which match a condition.", +"id": "GoogleCloudDiscoveryengineV1alphaSearchRequestBoostSpecConditionBoostSpec", +"properties": { +"boost": { +"description": "Strength of the condition boost, which should be in [-1, 1]. Negative boost means demotion. Default is 0.0. Setting to 1.0 gives the document a big promotion. However, it does not necessarily mean that the boosted document will be the top result at all times, nor that other documents will be excluded. Results could still be shown even when none of them matches the condition. And results that are significantly more relevant to the search query can still trump your heavily favored but irrelevant documents. Setting to -1.0 gives the document a big demotion. However, results that are deeply relevant might still be shown. The document will have an upstream battle to get a fairly high ranking, but it is not blocked out completely. Setting to 0.0 means no boost applied. The boosting condition is ignored. Only one of the (condition, boost) combination or the boost_control_spec below are set. If both are set then the global boost is ignored and the more fine-grained boost_control_spec is applied.", +"format": "float", +"type": "number" +}, +"boostControlSpec": { +"$ref": "GoogleCloudDiscoveryengineV1alphaSearchRequestBoostSpecConditionBoostSpecBoostControlSpec", +"description": "Complex specification for custom ranking based on customer defined attribute value." +}, +"condition": { +"description": "An expression which specifies a boost condition. The syntax and supported fields are the same as a filter expression. See SearchRequest.filter for detail syntax and limitations. Examples: * To boost documents with document ID \"doc_1\" or \"doc_2\", and color \"Red\" or \"Blue\": `(document_id: ANY(\"doc_1\", \"doc_2\")) AND (color: ANY(\"Red\", \"Blue\"))`", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1alphaSearchRequestBoostSpecConditionBoostSpecBoostControlSpec": { +"description": "Specification for custom ranking based on customer specified attribute value. It provides more controls for customized ranking than the simple (condition, boost) combination above.", +"id": "GoogleCloudDiscoveryengineV1alphaSearchRequestBoostSpecConditionBoostSpecBoostControlSpec", +"properties": { +"attributeType": { +"description": "The attribute type to be used to determine the boost amount. The attribute value can be derived from the field value of the specified field_name. In the case of numerical it is straightforward i.e. attribute_value = numerical_field_value. In the case of freshness however, attribute_value = (time.now() - datetime_field_value).", +"enum": [ +"ATTRIBUTE_TYPE_UNSPECIFIED", +"NUMERICAL", +"FRESHNESS" +], +"enumDescriptions": [ +"Unspecified AttributeType.", +"The value of the numerical field will be used to dynamically update the boost amount. In this case, the attribute_value (the x value) of the control point will be the actual value of the numerical field for which the boost_amount is specified.", +"For the freshness use case the attribute value will be the duration between the current time and the date in the datetime field specified. The value must be formatted as an XSD `dayTimeDuration` value (a restricted subset of an ISO 8601 duration value). The pattern for this is: `nDnM]`. For example, `5D`, `3DT12H30M`, `T24H`." +], +"type": "string" +}, +"controlPoints": { +"description": "The control points used to define the curve. The monotonic function (defined through the interpolation_type above) passes through the control points listed here.", +"items": { +"$ref": "GoogleCloudDiscoveryengineV1alphaSearchRequestBoostSpecConditionBoostSpecBoostControlSpecControlPoint" +}, +"type": "array" +}, +"fieldName": { +"description": "The name of the field whose value will be used to determine the boost amount.", +"type": "string" +}, +"interpolationType": { +"description": "The interpolation type to be applied to connect the control points listed below.", +"enum": [ +"INTERPOLATION_TYPE_UNSPECIFIED", +"LINEAR" +], +"enumDescriptions": [ +"Interpolation type is unspecified. In this case, it defaults to Linear.", +"Piecewise linear interpolation will be applied." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1alphaSearchRequestBoostSpecConditionBoostSpecBoostControlSpecControlPoint": { +"description": "The control points used to define the curve. The curve defined through these control points can only be monotonically increasing or decreasing(constant values are acceptable).", +"id": "GoogleCloudDiscoveryengineV1alphaSearchRequestBoostSpecConditionBoostSpecBoostControlSpecControlPoint", +"properties": { +"attributeValue": { +"description": "Can be one of: 1. The numerical field value. 2. The duration spec for freshness: The value must be formatted as an XSD `dayTimeDuration` value (a restricted subset of an ISO 8601 duration value). The pattern for this is: `nDnM]`.", +"type": "string" +}, +"boostAmount": { +"description": "The value between -1 to 1 by which to boost the score if the attribute_value evaluates to the value specified above.", +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpec": { +"description": "A specification for configuring the behavior of content search.", +"id": "GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpec", +"properties": { +"chunkSpec": { +"$ref": "GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpecChunkSpec", +"description": "Specifies the chunk spec to be returned from the search response. Only available if the SearchRequest.ContentSearchSpec.search_result_mode is set to CHUNKS" +}, +"extractiveContentSpec": { +"$ref": "GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpecExtractiveContentSpec", +"description": "If there is no extractive_content_spec provided, there will be no extractive answer in the search response." +}, +"searchResultMode": { +"description": "Specifies the search result mode. If unspecified, the search result mode defaults to `DOCUMENTS`.", +"enum": [ +"SEARCH_RESULT_MODE_UNSPECIFIED", +"DOCUMENTS", +"CHUNKS" +], +"enumDescriptions": [ +"Default value.", +"Returns documents in the search result.", +"Returns chunks in the search result. Only available if the DocumentProcessingConfig.chunking_config is specified." +], +"type": "string" +}, +"snippetSpec": { +"$ref": "GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpecSnippetSpec", +"description": "If `snippetSpec` is not specified, snippets are not included in the search response." +}, +"summarySpec": { +"$ref": "GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpecSummarySpec", +"description": "If `summarySpec` is not specified, summaries are not included in the search response." +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpecChunkSpec": { +"description": "Specifies the chunk spec to be returned from the search response. Only available if the SearchRequest.ContentSearchSpec.search_result_mode is set to CHUNKS", +"id": "GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpecChunkSpec", +"properties": { +"numNextChunks": { +"description": "The number of next chunks to be returned of the current chunk. The maximum allowed value is 3. If not specified, no next chunks will be returned.", +"format": "int32", +"type": "integer" +}, +"numPreviousChunks": { +"description": "The number of previous chunks to be returned of the current chunk. The maximum allowed value is 3. If not specified, no previous chunks will be returned.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpecExtractiveContentSpec": { +"description": "A specification for configuring the extractive content in a search response.", +"id": "GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpecExtractiveContentSpec", +"properties": { +"maxExtractiveAnswerCount": { +"description": "The maximum number of extractive answers returned in each search result. An extractive answer is a verbatim answer extracted from the original document, which provides a precise and contextually relevant answer to the search query. If the number of matching answers is less than the `max_extractive_answer_count`, return all of the answers. Otherwise, return the `max_extractive_answer_count`. At most five answers are returned for each SearchResult.", +"format": "int32", +"type": "integer" +}, +"maxExtractiveSegmentCount": { +"description": "The max number of extractive segments returned in each search result. Only applied if the DataStore is set to DataStore.ContentConfig.CONTENT_REQUIRED or DataStore.solution_types is SOLUTION_TYPE_CHAT. An extractive segment is a text segment extracted from the original document that is relevant to the search query, and, in general, more verbose than an extractive answer. The segment could then be used as input for LLMs to generate summaries and answers. If the number of matching segments is less than `max_extractive_segment_count`, return all of the segments. Otherwise, return the `max_extractive_segment_count`.", +"format": "int32", +"type": "integer" +}, +"numNextSegments": { +"description": "Return at most `num_next_segments` segments after each selected segments.", +"format": "int32", +"type": "integer" +}, +"numPreviousSegments": { +"description": "Specifies whether to also include the adjacent from each selected segments. Return at most `num_previous_segments` segments before each selected segments.", +"format": "int32", +"type": "integer" +}, +"returnExtractiveSegmentScore": { +"description": "Specifies whether to return the confidence score from the extractive segments in each search result. This feature is available only for new or allowlisted data stores. To allowlist your data store, contact your Customer Engineer. The default value is `false`.", +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpecSnippetSpec": { +"description": "A specification for configuring snippets in a search response.", +"id": "GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpecSnippetSpec", +"properties": { +"maxSnippetCount": { +"deprecated": true, +"description": "[DEPRECATED] This field is deprecated. To control snippet return, use `return_snippet` field. For backwards compatibility, we will return snippet if max_snippet_count > 0.", +"format": "int32", +"type": "integer" +}, +"referenceOnly": { +"deprecated": true, +"description": "[DEPRECATED] This field is deprecated and will have no affect on the snippet.", +"type": "boolean" +}, +"returnSnippet": { +"description": "If `true`, then return snippet. If no snippet can be generated, we return \"No snippet is available for this page.\" A `snippet_status` with `SUCCESS` or `NO_SNIPPET_AVAILABLE` will also be returned.", +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpecSummarySpec": { +"description": "A specification for configuring a summary returned in a search response.", +"id": "GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpecSummarySpec", +"properties": { +"ignoreAdversarialQuery": { +"description": "Specifies whether to filter out adversarial queries. The default value is `false`. Google employs search-query classification to detect adversarial queries. No summary is returned if the search query is classified as an adversarial query. For example, a user might ask a question regarding negative comments about the company or submit a query designed to generate unsafe, policy-violating output. If this field is set to `true`, we skip generating summaries for adversarial queries and return fallback messages instead.", +"type": "boolean" +}, +"ignoreJailBreakingQuery": { +"description": "Optional. Specifies whether to filter out jail-breaking queries. The default value is `false`. Google employs search-query classification to detect jail-breaking queries. No summary is returned if the search query is classified as a jail-breaking query. A user might add instructions to the query to change the tone, style, language, content of the answer, or ask the model to act as a different entity, e.g. \"Reply in the tone of a competing company's CEO\". If this field is set to `true`, we skip generating summaries for jail-breaking queries and return fallback messages instead.", +"type": "boolean" +}, +"ignoreLowRelevantContent": { +"description": "Specifies whether to filter out queries that have low relevance. The default value is `false`. If this field is set to `false`, all search results are used regardless of relevance to generate answers. If set to `true`, only queries with high relevance search results will generate answers.", +"type": "boolean" +}, +"ignoreNonSummarySeekingQuery": { +"description": "Specifies whether to filter out queries that are not summary-seeking. The default value is `false`. Google employs search-query classification to detect summary-seeking queries. No summary is returned if the search query is classified as a non-summary seeking query. For example, `why is the sky blue` and `Who is the best soccer player in the world?` are summary-seeking queries, but `SFO airport` and `world cup 2026` are not. They are most likely navigational queries. If this field is set to `true`, we skip generating summaries for non-summary seeking queries and return fallback messages instead.", +"type": "boolean" +}, +"includeCitations": { +"description": "Specifies whether to include citations in the summary. The default value is `false`. When this field is set to `true`, summaries include in-line citation numbers. Example summary including citations: BigQuery is Google Cloud's fully managed and completely serverless enterprise data warehouse [1]. BigQuery supports all data types, works across clouds, and has built-in machine learning and business intelligence, all within a unified platform [2, 3]. The citation numbers refer to the returned search results and are 1-indexed. For example, [1] means that the sentence is attributed to the first search result. [2, 3] means that the sentence is attributed to both the second and third search results.", +"type": "boolean" +}, +"languageCode": { +"description": "Language code for Summary. Use language tags defined by [BCP47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt). Note: This is an experimental feature.", +"type": "string" +}, +"modelPromptSpec": { +"$ref": "GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpecSummarySpecModelPromptSpec", +"description": "If specified, the spec will be used to modify the prompt provided to the LLM." +}, +"modelSpec": { +"$ref": "GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpecSummarySpecModelSpec", +"description": "If specified, the spec will be used to modify the model specification provided to the LLM." +}, +"multimodalSpec": { +"$ref": "GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpecSummarySpecMultiModalSpec", +"description": "Optional. Multimodal specification." +}, +"summaryResultCount": { +"description": "The number of top results to generate the summary from. If the number of results returned is less than `summaryResultCount`, the summary is generated from all of the results. At most 10 results for documents mode, or 50 for chunks mode, can be used to generate a summary. The chunks mode is used when SearchRequest.ContentSearchSpec.search_result_mode is set to CHUNKS.", +"format": "int32", +"type": "integer" +}, +"useSemanticChunks": { +"description": "If true, answer will be generated from most relevant chunks from top search results. This feature will improve summary quality. Note that with this feature enabled, not all top search results will be referenced and included in the reference list, so the citation source index only points to the search results listed in the reference list.", +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpecSummarySpecModelPromptSpec": { +"description": "Specification of the prompt to use with the model.", +"id": "GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpecSummarySpecModelPromptSpec", +"properties": { +"preamble": { +"description": "Text at the beginning of the prompt that instructs the assistant. Examples are available in the user guide.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpecSummarySpecModelSpec": { +"description": "Specification of the model.", +"id": "GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpecSummarySpecModelSpec", +"properties": { +"version": { +"description": "The model version used to generate the summary. Supported values are: * `stable`: string. Default value when no value is specified. Uses a generally available, fine-tuned model. For more information, see [Answer generation model versions and lifecycle](https://cloud.google.com/generative-ai-app-builder/docs/answer-generation-models). * `preview`: string. (Public preview) Uses a preview model. For more information, see [Answer generation model versions and lifecycle](https://cloud.google.com/generative-ai-app-builder/docs/answer-generation-models).", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpecSummarySpecMultiModalSpec": { +"description": "Multimodal specification: Will return an image from specified source. If multiple sources are specified, the pick is a quality based decision.", +"id": "GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpecSummarySpecMultiModalSpec", +"properties": { +"imageSource": { +"description": "Optional. Source of image returned in the answer.", +"enum": [ +"IMAGE_SOURCE_UNSPECIFIED", +"ALL_AVAILABLE_SOURCES", +"CORPUS_IMAGE_ONLY", +"FIGURE_GENERATION_ONLY" +], +"enumDescriptions": [ +"Unspecified image source (multimodal feature is disabled by default).", +"Behavior when service determines the pick from all available sources.", +"Includes image from corpus in the answer.", +"Triggers figure generation in the answer." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1alphaSearchRequestCrowdingSpec": { +"description": "Specification for crowding. Crowding improves the diversity of search results by limiting the number of results that share the same field value. For example, crowding on the color field with a max_count of 3 and mode DROP_CROWDED_RESULTS will return at most 3 results with the same color across all pages.", +"id": "GoogleCloudDiscoveryengineV1alphaSearchRequestCrowdingSpec", +"properties": { +"field": { +"description": "The field to use for crowding. Documents can be crowded by a field in the Document object. Crowding field is case sensitive.", +"type": "string" +}, +"maxCount": { +"description": "The maximum number of documents to keep per value of the field. Once there are at least max_count previous results which contain the same value for the given field (according to the order specified in `order_by`), later results with the same value are \"crowded away\". If not specified, the default value is 1.", +"format": "int32", +"type": "integer" +}, +"mode": { +"description": "Mode to use for documents that are crowded away.", +"enum": [ +"MODE_UNSPECIFIED", +"DROP_CROWDED_RESULTS", +"DEMOTE_CROWDED_RESULTS_TO_END" +], +"enumDescriptions": [ +"Unspecified crowding mode. In this case, server behavior defaults to Mode.DROP_CROWDED_RESULTS.", +"Drop crowded results.", +"Demote crowded results to the later pages." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1alphaSearchRequestDataStoreSpec": { +"description": "A struct to define data stores to filter on in a search call and configurations for those data stores. Otherwise, an `INVALID_ARGUMENT` error is returned.", +"id": "GoogleCloudDiscoveryengineV1alphaSearchRequestDataStoreSpec", +"properties": { +"boostSpec": { +"$ref": "GoogleCloudDiscoveryengineV1alphaSearchRequestBoostSpec", +"description": "Optional. Boost specification to boost certain documents. For more information on boosting, see [Boosting](https://cloud.google.com/generative-ai-app-builder/docs/boost-search-results)" +}, +"customSearchOperators": { +"description": "Optional. Custom search operators which if specified will be used to filter results from workspace data stores. For more information on custom search operators, see [SearchOperators](https://support.google.com/cloudsearch/answer/6172299).", +"type": "string" +}, +"dataStore": { +"description": "Required. Full resource name of DataStore, such as `projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}`. The path must include the project number, project id is not supported for this field.", +"type": "string" +}, +"filter": { +"description": "Optional. Filter specification to filter documents in the data store specified by data_store field. For more information on filtering, see [Filtering](https://cloud.google.com/generative-ai-app-builder/docs/filter-search-metadata)", +"type": "string" +}, +"numResults": { +"description": "Optional. The maximum number of results to retrieve from this data store. If not specified, it will use the SearchRequest.num_results_per_data_store if provided, otherwise there is no limit. If both this field and SearchRequest.num_results_per_data_store are specified, this field will be used.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1alphaSearchRequestDisplaySpec": { +"description": "Specifies features for display, like match highlighting.", +"id": "GoogleCloudDiscoveryengineV1alphaSearchRequestDisplaySpec", +"properties": { +"matchHighlightingCondition": { +"description": "The condition under which match highlighting should occur.", +"enum": [ +"MATCH_HIGHLIGHTING_CONDITION_UNSPECIFIED", +"MATCH_HIGHLIGHTING_DISABLED", +"MATCH_HIGHLIGHTING_ENABLED" +], +"enumDescriptions": [ +"Server behavior is the same as `MATCH_HIGHLIGHTING_DISABLED`.", +"Disables match highlighting on all documents.", +"Enables match highlighting on all documents." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1alphaSearchRequestEmbeddingSpec": { +"description": "The specification that uses customized query embedding vector to do semantic document retrieval.", +"id": "GoogleCloudDiscoveryengineV1alphaSearchRequestEmbeddingSpec", +"properties": { +"embeddingVectors": { +"description": "The embedding vector used for retrieval. Limit to 1.", +"items": { +"$ref": "GoogleCloudDiscoveryengineV1alphaSearchRequestEmbeddingSpecEmbeddingVector" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1alphaSearchRequestEmbeddingSpecEmbeddingVector": { +"description": "Embedding vector.", +"id": "GoogleCloudDiscoveryengineV1alphaSearchRequestEmbeddingSpecEmbeddingVector", +"properties": { +"fieldPath": { +"description": "Embedding field path in schema.", +"type": "string" +}, +"vector": { +"description": "Query embedding vector.", +"items": { +"format": "float", +"type": "number" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1alphaSearchRequestFacetSpec": { +"description": "A facet specification to perform faceted search.", +"id": "GoogleCloudDiscoveryengineV1alphaSearchRequestFacetSpec", +"properties": { +"enableDynamicPosition": { +"description": "Enables dynamic position for this facet. If set to true, the position of this facet among all facets in the response is determined automatically. If dynamic facets are enabled, it is ordered together. If set to false, the position of this facet in the response is the same as in the request, and it is ranked before the facets with dynamic position enable and all dynamic facets. For example, you may always want to have rating facet returned in the response, but it's not necessarily to always display the rating facet at the top. In that case, you can set enable_dynamic_position to true so that the position of rating facet in response is determined automatically. Another example, assuming you have the following facets in the request: * \"rating\", enable_dynamic_position = true * \"price\", enable_dynamic_position = false * \"brands\", enable_dynamic_position = false And also you have a dynamic facets enabled, which generates a facet `gender`. Then the final order of the facets in the response can be (\"price\", \"brands\", \"rating\", \"gender\") or (\"price\", \"brands\", \"gender\", \"rating\") depends on how API orders \"gender\" and \"rating\" facets. However, notice that \"price\" and \"brands\" are always ranked at first and second position because their enable_dynamic_position is false.", +"type": "boolean" +}, +"excludedFilterKeys": { +"description": "List of keys to exclude when faceting. By default, FacetKey.key is not excluded from the filter unless it is listed in this field. Listing a facet key in this field allows its values to appear as facet results, even when they are filtered out of search results. Using this field does not affect what search results are returned. For example, suppose there are 100 documents with the color facet \"Red\" and 200 documents with the color facet \"Blue\". A query containing the filter \"color:ANY(\"Red\")\" and having \"color\" as FacetKey.key would by default return only \"Red\" documents in the search results, and also return \"Red\" with count 100 as the only color facet. Although there are also blue documents available, \"Blue\" would not be shown as an available facet value. If \"color\" is listed in \"excludedFilterKeys\", then the query returns the facet values \"Red\" with count 100 and \"Blue\" with count 200, because the \"color\" key is now excluded from the filter. Because this field doesn't affect search results, the search results are still correctly filtered to return only \"Red\" documents. A maximum of 100 values are allowed. Otherwise, an `INVALID_ARGUMENT` error is returned.", +"items": { +"type": "string" +}, +"type": "array" +}, +"facetKey": { +"$ref": "GoogleCloudDiscoveryengineV1alphaSearchRequestFacetSpecFacetKey", +"description": "Required. The facet key specification." +}, +"limit": { +"description": "Maximum facet values that are returned for this facet. If unspecified, defaults to 20. The maximum allowed value is 300. Values above 300 are coerced to 300. For aggregation in healthcare search, when the [FacetKey.key] is \"healthcare_aggregation_key\", the limit will be overridden to 10,000 internally, regardless of the value set here. If this field is negative, an `INVALID_ARGUMENT` is returned.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1alphaSearchRequestFacetSpecFacetKey": { +"description": "Specifies how a facet is computed.", +"id": "GoogleCloudDiscoveryengineV1alphaSearchRequestFacetSpecFacetKey", +"properties": { +"caseInsensitive": { +"description": "True to make facet keys case insensitive when getting faceting values with prefixes or contains; false otherwise.", +"type": "boolean" +}, +"contains": { +"description": "Only get facet values that contain the given strings. For example, suppose \"category\" has three values \"Action > 2022\", \"Action > 2021\" and \"Sci-Fi > 2022\". If set \"contains\" to \"2022\", the \"category\" facet only contains \"Action > 2022\" and \"Sci-Fi > 2022\". Only supported on textual fields. Maximum is 10.", +"items": { +"type": "string" +}, +"type": "array" +}, +"intervals": { +"description": "Set only if values should be bucketed into intervals. Must be set for facets with numerical values. Must not be set for facet with text values. Maximum number of intervals is 30.", +"items": { +"$ref": "GoogleCloudDiscoveryengineV1alphaInterval" +}, +"type": "array" +}, +"key": { +"description": "Required. Supported textual and numerical facet keys in Document object, over which the facet values are computed. Facet key is case-sensitive.", +"type": "string" +}, +"orderBy": { +"description": "The order in which documents are returned. Allowed values are: * \"count desc\", which means order by SearchResponse.Facet.values.count descending. * \"value desc\", which means order by SearchResponse.Facet.values.value descending. Only applies to textual facets. If not set, textual values are sorted in [natural order](https://en.wikipedia.org/wiki/Natural_sort_order); numerical intervals are sorted in the order given by FacetSpec.FacetKey.intervals.", +"type": "string" +}, +"prefixes": { +"description": "Only get facet values that start with the given string prefix. For example, suppose \"category\" has three values \"Action > 2022\", \"Action > 2021\" and \"Sci-Fi > 2022\". If set \"prefixes\" to \"Action\", the \"category\" facet only contains \"Action > 2022\" and \"Action > 2021\". Only supported on textual fields. Maximum is 10.", +"items": { +"type": "string" +}, +"type": "array" +}, +"restrictedValues": { +"description": "Only get facet for the given restricted values. Only supported on textual fields. For example, suppose \"category\" has three values \"Action > 2022\", \"Action > 2021\" and \"Sci-Fi > 2022\". If set \"restricted_values\" to \"Action > 2022\", the \"category\" facet only contains \"Action > 2022\". Only supported on textual fields. Maximum is 10.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1alphaSearchRequestImageQuery": { +"description": "Specifies the image query input.", +"id": "GoogleCloudDiscoveryengineV1alphaSearchRequestImageQuery", +"properties": { +"imageBytes": { +"description": "Base64 encoded image bytes. Supported image formats: JPEG, PNG, and BMP.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1alphaSearchRequestNaturalLanguageQueryUnderstandingSpec": { +"description": "Specification to enable natural language understanding capabilities for search requests.", +"id": "GoogleCloudDiscoveryengineV1alphaSearchRequestNaturalLanguageQueryUnderstandingSpec", +"properties": { +"allowedFieldNames": { +"description": "Optional. Allowlist of fields that can be used for natural language filter extraction. By default, if this is unspecified, all indexable fields are eligible for natural language filter extraction (but are not guaranteed to be used). If any fields are specified in allowed_field_names, only the fields that are both marked as indexable in the schema and specified in the allowlist will be eligible for natural language filter extraction. Note: for multi-datastore search, this is not yet supported, and will be ignored.", +"items": { +"type": "string" +}, +"type": "array" +}, +"extractedFilterBehavior": { +"description": "Optional. Controls behavior of how extracted filters are applied to the search. The default behavior depends on the request. For single datastore structured search, the default is `HARD_FILTER`. For multi-datastore search, the default behavior is `SOFT_BOOST`. Location-based filters are always applied as hard filters, and the `SOFT_BOOST` setting will not affect them. This field is only used if SearchRequest.NaturalLanguageQueryUnderstandingSpec.FilterExtractionCondition is set to FilterExtractionCondition.ENABLED.", +"enum": [ +"EXTRACTED_FILTER_BEHAVIOR_UNSPECIFIED", +"HARD_FILTER", +"SOFT_BOOST" +], +"enumDescriptions": [ +"`EXTRACTED_FILTER_BEHAVIOR_UNSPECIFIED` will use the default behavior for extracted filters. For single datastore search, the default is to apply as hard filters. For multi-datastore search, the default is to apply as soft boosts.", +"Applies all extracted filters as hard filters on the results. Results that do not pass the extracted filters will not be returned in the result set.", +"Applies all extracted filters as soft boosts. Results that pass the filters will be boosted up to higher ranks in the result set." +], +"type": "string" +}, +"filterExtractionCondition": { +"description": "The condition under which filter extraction should occur. Server behavior defaults to `DISABLED`.", +"enum": [ +"CONDITION_UNSPECIFIED", +"DISABLED", +"ENABLED" +], +"enumDescriptions": [ +"Server behavior defaults to `DISABLED`.", +"Disables NL filter extraction.", +"Enables NL filter extraction." +], +"type": "string" +}, +"geoSearchQueryDetectionFieldNames": { +"description": "Field names used for location-based filtering, where geolocation filters are detected in natural language search queries. Only valid when the FilterExtractionCondition is set to `ENABLED`. If this field is set, it overrides the field names set in ServingConfig.geo_search_query_detection_field_names.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1alphaSearchRequestPersonalizationSpec": { +"description": "The specification for personalization.", +"id": "GoogleCloudDiscoveryengineV1alphaSearchRequestPersonalizationSpec", +"properties": { +"mode": { +"description": "The personalization mode of the search request. Defaults to Mode.AUTO.", +"enum": [ +"MODE_UNSPECIFIED", +"AUTO", +"DISABLED" +], +"enumDescriptions": [ +"Default value. In this case, server behavior defaults to Mode.AUTO.", +"Personalization is enabled if data quality requirements are met.", +"Disable personalization." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1alphaSearchRequestQueryExpansionSpec": { +"description": "Specification to determine under which conditions query expansion should occur.", +"id": "GoogleCloudDiscoveryengineV1alphaSearchRequestQueryExpansionSpec", +"properties": { +"condition": { +"description": "The condition under which query expansion should occur. Default to Condition.DISABLED.", +"enum": [ +"CONDITION_UNSPECIFIED", +"DISABLED", +"AUTO" +], +"enumDescriptions": [ +"Unspecified query expansion condition. In this case, server behavior defaults to Condition.DISABLED.", +"Disabled query expansion. Only the exact search query is used, even if SearchResponse.total_size is zero.", +"Automatic query expansion built by the Search API." +], +"type": "string" +}, +"pinUnexpandedResults": { +"description": "Whether to pin unexpanded results. If this field is set to true, unexpanded products are always at the top of the search results, followed by the expanded results.", +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1alphaSearchRequestRelevanceFilterSpec": { +"description": "Relevance filtering specification.", +"id": "GoogleCloudDiscoveryengineV1alphaSearchRequestRelevanceFilterSpec", +"properties": { +"keywordSearchThreshold": { +"$ref": "GoogleCloudDiscoveryengineV1alphaSearchRequestRelevanceFilterSpecRelevanceThresholdSpec", +"description": "Optional. Relevance filtering threshold specification for keyword search." +}, +"semanticSearchThreshold": { +"$ref": "GoogleCloudDiscoveryengineV1alphaSearchRequestRelevanceFilterSpecRelevanceThresholdSpec", +"description": "Optional. Relevance filtering threshold specification for semantic search." +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1alphaSearchRequestRelevanceFilterSpecRelevanceThresholdSpec": { +"description": "Specification for relevance filtering on a specific sub-search.", +"id": "GoogleCloudDiscoveryengineV1alphaSearchRequestRelevanceFilterSpecRelevanceThresholdSpec", +"properties": { +"relevanceThreshold": { +"description": "Pre-defined relevance threshold for the sub-search.", +"enum": [ +"RELEVANCE_THRESHOLD_UNSPECIFIED", +"LOWEST", +"LOW", +"MEDIUM", +"HIGH" +], +"enumDescriptions": [ +"Default value. In this case, server behavior defaults to Google defined threshold.", +"Lowest relevance threshold.", +"Low relevance threshold.", +"Medium relevance threshold.", +"High relevance threshold." +], +"type": "string" +}, +"semanticRelevanceThreshold": { +"description": "Custom relevance threshold for the sub-search. The value must be in [0.0, 1.0].", +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1alphaSearchRequestRelevanceScoreSpec": { +"description": "The specification for returning the document relevance score.", +"id": "GoogleCloudDiscoveryengineV1alphaSearchRequestRelevanceScoreSpec", +"properties": { +"returnRelevanceScore": { +"description": "Optional. Whether to return the relevance score for search results. The higher the score, the more relevant the document is to the query.", +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1alphaSearchRequestSearchAddonSpec": { +"description": "SearchAddonSpec is used to disable add-ons for search as per new repricing model. By default if the SearchAddonSpec is not specified, we consider that the customer wants to enable them wherever applicable.", +"id": "GoogleCloudDiscoveryengineV1alphaSearchRequestSearchAddonSpec", +"properties": { +"disableGenerativeAnswerAddOn": { +"description": "Optional. If true, generative answer add-on is disabled. Generative answer add-on includes natural language to filters and simple answers.", +"type": "boolean" +}, +"disableKpiPersonalizationAddOn": { +"description": "Optional. If true, disables event re-ranking and personalization to optimize KPIs & personalize results.", +"type": "boolean" +}, +"disableSemanticAddOn": { +"description": "Optional. If true, semantic add-on is disabled. Semantic add-on includes embeddings and jetstream.", +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1alphaSearchRequestSearchAsYouTypeSpec": { +"description": "Specification for search as you type in search requests.", +"id": "GoogleCloudDiscoveryengineV1alphaSearchRequestSearchAsYouTypeSpec", +"properties": { +"condition": { +"description": "The condition under which search as you type should occur. Default to Condition.DISABLED.", +"enum": [ +"CONDITION_UNSPECIFIED", +"DISABLED", +"ENABLED", +"AUTO" +], +"enumDescriptions": [ +"Server behavior defaults to Condition.DISABLED.", +"Disables Search As You Type.", +"Enables Search As You Type.", +"Automatic switching between search-as-you-type and standard search modes, ideal for single-API implementations (e.g., debouncing)." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1alphaSearchRequestSessionSpec": { +"description": "Session specification. Multi-turn Search feature is currently at private GA stage. Please use v1alpha or v1beta version instead before we launch this feature to public GA. Or ask for allowlisting through Google Support team.", +"id": "GoogleCloudDiscoveryengineV1alphaSearchRequestSessionSpec", +"properties": { +"queryId": { +"description": "If set, the search result gets stored to the \"turn\" specified by this query ID. Example: Let's say the session looks like this: session { name: \".../sessions/xxx\" turns { query { text: \"What is foo?\" query_id: \".../questions/yyy\" } answer: \"Foo is ...\" } turns { query { text: \"How about bar then?\" query_id: \".../questions/zzz\" } } } The user can call /search API with a request like this: session: \".../sessions/xxx\" session_spec { query_id: \".../questions/zzz\" } Then, the API stores the search result, associated with the last turn. The stored search result can be used by a subsequent /answer API call (with the session ID and the query ID specified). Also, it is possible to call /search and /answer in parallel with the same session ID & query ID.", +"type": "string" +}, +"searchResultPersistenceCount": { +"description": "The number of top search results to persist. The persisted search results can be used for the subsequent /answer api call. This field is similar to the `summary_result_count` field in SearchRequest.ContentSearchSpec.SummarySpec.summary_result_count. At most 10 results for documents mode, or 50 for chunks mode.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1alphaSearchRequestSpellCorrectionSpec": { +"description": "The specification for query spell correction.", +"id": "GoogleCloudDiscoveryengineV1alphaSearchRequestSpellCorrectionSpec", +"properties": { +"mode": { +"description": "The mode under which spell correction replaces the original search query. Defaults to Mode.AUTO.", +"enum": [ +"MODE_UNSPECIFIED", +"SUGGESTION_ONLY", +"AUTO" +], +"enumDescriptions": [ +"Unspecified spell correction mode. In this case, server behavior defaults to Mode.AUTO.", +"Search API tries to find a spelling suggestion. If a suggestion is found, it is put in the SearchResponse.corrected_query. The spelling suggestion won't be used as the search query.", +"Automatic spell correction built by the Search API. Search will be based on the corrected query if found." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1alphaSession": { +"description": "External session proto definition.", +"id": "GoogleCloudDiscoveryengineV1alphaSession", +"properties": { +"displayName": { +"description": "Optional. The display name of the session. This field is used to identify the session in the UI. By default, the display name is the first turn query text in the session.", +"type": "string" +}, +"endTime": { +"description": "Output only. The time the session finished.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"isPinned": { +"description": "Optional. Whether the session is pinned, pinned session will be displayed on the top of the session list.", +"type": "boolean" +}, +"labels": { +"description": "Optional. The labels for the session. Can be set as filter in ListSessionsRequest.", +"items": { +"type": "string" +}, +"type": "array" +}, +"name": { +"description": "Immutable. Fully qualified name `projects/{project}/locations/global/collections/{collection}/engines/{engine}/sessions/*`", +"type": "string" +}, +"startTime": { +"description": "Output only. The time the session started.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"state": { +"description": "The state of the session.", +"enum": [ +"STATE_UNSPECIFIED", +"IN_PROGRESS" +], +"enumDescriptions": [ +"State is unspecified.", +"The session is currently open." +], +"type": "string" +}, +"turns": { +"description": "Turns.", +"items": { +"$ref": "GoogleCloudDiscoveryengineV1alphaSessionTurn" +}, +"type": "array" +}, +"userPseudoId": { +"description": "A unique identifier for tracking users.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1alphaSessionTurn": { +"description": "Represents a turn, including a query from the user and a answer from service.", +"id": "GoogleCloudDiscoveryengineV1alphaSessionTurn", +"properties": { +"answer": { +"description": "Optional. The resource name of the answer to the user query. Only set if the answer generation (/answer API call) happened in this turn.", +"type": "string" +}, +"detailedAnswer": { +"$ref": "GoogleCloudDiscoveryengineV1alphaAnswer", +"description": "Output only. In ConversationalSearchService.GetSession API, if GetSessionRequest.include_answer_details is set to true, this field will be populated when getting answer query session.", +"readOnly": true +}, +"detailedAssistAnswer": { +"$ref": "GoogleCloudDiscoveryengineV1alphaAssistAnswer", +"description": "Output only. In ConversationalSearchService.GetSession API, if GetSessionRequest.include_answer_details is set to true, this field will be populated when getting assistant session.", +"readOnly": true +}, +"query": { +"$ref": "GoogleCloudDiscoveryengineV1alphaQuery", +"description": "Optional. The user query. May not be set if this turn is merely regenerating an answer to a different turn" +}, +"queryConfig": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. Represents metadata related to the query config, for example LLM model and version used, model parameters (temperature, grounding parameters, etc.). The prefix \"google.\" is reserved for Google-developed functionality.", +"type": "object" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1alphaSetDedicatedCrawlRateMetadata": { +"description": "Metadata related to the progress of the CrawlRateManagementService.SetDedicatedCrawlRate operation. This will be returned by the google.longrunning.Operation.metadata field.", +"id": "GoogleCloudDiscoveryengineV1alphaSetDedicatedCrawlRateMetadata", +"properties": { +"createTime": { +"description": "Operation create time.", +"format": "google-datetime", +"type": "string" +}, +"updateTime": { +"description": "Operation last update time. If the operation is done, this is also the finish time.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1alphaSetDedicatedCrawlRateResponse": { +"description": "Response message for CrawlRateManagementService.SetDedicatedCrawlRate method. It simply returns the state of the response, and an error message if the state is FAILED.", +"id": "GoogleCloudDiscoveryengineV1alphaSetDedicatedCrawlRateResponse", +"properties": { +"error": { +"$ref": "GoogleRpcStatus", +"description": "Errors from service when handling the request." +}, +"state": { +"description": "Output only. The state of the response.", +"enum": [ +"STATE_UNSPECIFIED", +"SUCCEEDED", +"FAILED" +], +"enumDescriptions": [ +"The state is unspecified.", +"The state is successful.", +"The state is failed." +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1alphaSetUpDataConnectorMetadata": { +"description": "Metadata for DataConnectorService.SetUpDataConnector method.", +"id": "GoogleCloudDiscoveryengineV1alphaSetUpDataConnectorMetadata", +"properties": {}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1alphaSetUriPatternDocumentDataMetadata": { +"description": "Metadata related to the progress of the SiteSearchEngineService.SetUriPatternDocumentData operation. This will be returned by the google.longrunning.Operation.metadata field.", +"id": "GoogleCloudDiscoveryengineV1alphaSetUriPatternDocumentDataMetadata", +"properties": { +"createTime": { +"description": "Operation create time.", +"format": "google-datetime", +"type": "string" +}, +"updateTime": { +"description": "Operation last update time. If the operation is done, this is also the finish time.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1alphaSetUriPatternDocumentDataResponse": { +"description": "Response message for SiteSearchEngineService.SetUriPatternDocumentData method.", +"id": "GoogleCloudDiscoveryengineV1alphaSetUriPatternDocumentDataResponse", +"properties": {}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1alphaSingleRegionKey": { +"description": "Metadata for single-regional CMEKs.", +"id": "GoogleCloudDiscoveryengineV1alphaSingleRegionKey", +"properties": { +"kmsKey": { +"description": "Required. Single-regional kms key resource name which will be used to encrypt resources `projects/{project}/locations/{location}/keyRings/{keyRing}/cryptoKeys/{keyId}`.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1alphaSiteVerificationInfo": { +"description": "Verification information for target sites in advanced site search.", +"id": "GoogleCloudDiscoveryengineV1alphaSiteVerificationInfo", +"properties": { +"siteVerificationState": { +"description": "Site verification state indicating the ownership and validity.", +"enum": [ +"SITE_VERIFICATION_STATE_UNSPECIFIED", +"VERIFIED", +"UNVERIFIED", +"EXEMPTED" +], +"enumDescriptions": [ +"Defaults to VERIFIED.", +"Site ownership verified.", +"Site ownership pending verification or verification failed.", +"Site exempt from verification, e.g., a public website that opens to all." +], +"type": "string" +}, +"verifyTime": { +"description": "Latest site verification time.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1alphaSitemap": { +"description": "A sitemap for the SiteSearchEngine.", +"id": "GoogleCloudDiscoveryengineV1alphaSitemap", +"properties": { +"createTime": { +"description": "Output only. The sitemap's creation time.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"name": { +"description": "Output only. The fully qualified resource name of the sitemap. `projects/*/locations/*/collections/*/dataStores/*/siteSearchEngine/sitemaps/*` The `sitemap_id` suffix is system-generated.", +"readOnly": true, +"type": "string" +}, +"uri": { +"description": "Public URI for the sitemap, e.g. `www.example.com/sitemap.xml`.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1alphaTargetSite": { +"description": "A target site for the SiteSearchEngine.", +"id": "GoogleCloudDiscoveryengineV1alphaTargetSite", +"properties": { +"exactMatch": { +"description": "Immutable. If set to false, a uri_pattern is generated to include all pages whose address contains the provided_uri_pattern. If set to true, an uri_pattern is generated to try to be an exact match of the provided_uri_pattern or just the specific page if the provided_uri_pattern is a specific one. provided_uri_pattern is always normalized to generate the URI pattern to be used by the search engine.", +"type": "boolean" +}, +"failureReason": { +"$ref": "GoogleCloudDiscoveryengineV1alphaTargetSiteFailureReason", +"description": "Output only. Failure reason.", +"readOnly": true +}, +"generatedUriPattern": { +"description": "Output only. This is system-generated based on the provided_uri_pattern.", +"readOnly": true, +"type": "string" +}, +"indexingStatus": { +"description": "Output only. Indexing status.", +"enum": [ +"INDEXING_STATUS_UNSPECIFIED", +"PENDING", +"FAILED", +"SUCCEEDED", +"DELETING", +"CANCELLABLE", +"CANCELLED" +], +"enumDescriptions": [ +"Defaults to SUCCEEDED.", +"The target site is in the update queue and will be picked up by indexing pipeline.", +"The target site fails to be indexed.", +"The target site has been indexed.", +"The previously indexed target site has been marked to be deleted. This is a transitioning state which will resulted in either: 1. target site deleted if unindexing is successful; 2. state reverts to SUCCEEDED if the unindexing fails.", +"The target site change is pending but cancellable.", +"The target site change is cancelled." +], +"readOnly": true, +"type": "string" +}, +"name": { +"description": "Output only. The fully qualified resource name of the target site. `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}` The `target_site_id` is system-generated.", +"readOnly": true, +"type": "string" +}, +"providedUriPattern": { +"description": "Required. Input only. The user provided URI pattern from which the `generated_uri_pattern` is generated.", +"type": "string" +}, +"rootDomainUri": { +"description": "Output only. Root domain of the provided_uri_pattern.", +"readOnly": true, +"type": "string" +}, +"siteVerificationInfo": { +"$ref": "GoogleCloudDiscoveryengineV1alphaSiteVerificationInfo", +"description": "Output only. Site ownership and validity verification status.", +"readOnly": true +}, +"type": { +"description": "The type of the target site, e.g., whether the site is to be included or excluded.", +"enum": [ +"TYPE_UNSPECIFIED", +"INCLUDE", +"EXCLUDE" +], +"enumDescriptions": [ +"This value is unused. In this case, server behavior defaults to Type.INCLUDE.", +"Include the target site.", +"Exclude the target site." +], +"type": "string" +}, +"updateTime": { +"description": "Output only. The target site's last updated time.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1alphaTargetSiteFailureReason": { +"description": "Site search indexing failure reasons.", +"id": "GoogleCloudDiscoveryengineV1alphaTargetSiteFailureReason", +"properties": { +"quotaFailure": { +"$ref": "GoogleCloudDiscoveryengineV1alphaTargetSiteFailureReasonQuotaFailure", +"description": "Failed due to insufficient quota." +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1alphaTargetSiteFailureReasonQuotaFailure": { +"description": "Failed due to insufficient quota.", +"id": "GoogleCloudDiscoveryengineV1alphaTargetSiteFailureReasonQuotaFailure", +"properties": { +"totalRequiredQuota": { +"description": "This number is an estimation on how much total quota this project needs to successfully complete indexing.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1alphaTenant": { +"description": "Tenant information for a connector source. This includes some of the same information stored in the Credential message, but is limited to only what is needed to provide a list of accessible tenants to the user.", +"id": "GoogleCloudDiscoveryengineV1alphaTenant", +"properties": { +"displayName": { +"description": "Optional display name for the tenant, e.g. \"My Slack Team\".", +"type": "string" +}, +"id": { +"description": "The tenant's instance ID. Examples: Jira (\"8594f221-9797-5f78-1fa4-485e198d7cd0\"), Slack (\"T123456\").", +"type": "string" +}, +"uri": { +"description": "The URI of the tenant, if applicable. For example, the URI of a Jira instance is https://my-jira-instance.atlassian.net, and a Slack tenant does not have a URI.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1alphaTrainCustomModelMetadata": { +"description": "Metadata related to the progress of the TrainCustomModel operation. This is returned by the google.longrunning.Operation.metadata field.", +"id": "GoogleCloudDiscoveryengineV1alphaTrainCustomModelMetadata", +"properties": { +"createTime": { +"description": "Operation create time.", +"format": "google-datetime", +"type": "string" +}, +"updateTime": { +"description": "Operation last update time. If the operation is done, this is also the finish time.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1alphaTrainCustomModelResponse": { +"description": "Response of the TrainCustomModelRequest. This message is returned by the google.longrunning.Operations.response field.", +"id": "GoogleCloudDiscoveryengineV1alphaTrainCustomModelResponse", +"properties": { +"errorConfig": { +"$ref": "GoogleCloudDiscoveryengineV1alphaImportErrorConfig", +"description": "Echoes the destination for the complete errors in the request if set." +}, +"errorSamples": { +"description": "A sample of errors encountered while processing the data.", +"items": { +"$ref": "GoogleRpcStatus" +}, +"type": "array" +}, +"metrics": { +"additionalProperties": { +"format": "double", +"type": "number" +}, +"description": "The metrics of the trained model.", +"type": "object" +}, +"modelName": { +"description": "Fully qualified name of the CustomTuningModel.", +"type": "string" +}, +"modelStatus": { +"description": "The trained model status. Possible values are: * **bad-data**: The training data quality is bad. * **no-improvement**: Tuning didn't improve performance. Won't deploy. * **in-progress**: Model training job creation is in progress. * **training**: Model is actively training. * **evaluating**: The model is evaluating trained metrics. * **indexing**: The model trained metrics are indexing. * **ready**: The model is ready for serving.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1alphaTuneEngineMetadata": { +"description": "Metadata associated with a tune operation.", +"id": "GoogleCloudDiscoveryengineV1alphaTuneEngineMetadata", +"properties": { +"engine": { +"description": "Required. The resource name of the engine that this tune applies to. Format: `projects/{project}/locations/{location}/collections/{collection_id}/engines/{engine_id}`", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1alphaTuneEngineResponse": { +"description": "Response associated with a tune operation.", +"id": "GoogleCloudDiscoveryengineV1alphaTuneEngineResponse", +"properties": {}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1alphaUpdateCmekConfigMetadata": { +"description": "Metadata related to the progress of the CmekConfigService.UpdateCmekConfig operation. This will be returned by the google.longrunning.Operation.metadata field.", +"id": "GoogleCloudDiscoveryengineV1alphaUpdateCmekConfigMetadata", +"properties": { +"createTime": { +"description": "Operation create time.", +"format": "google-datetime", +"type": "string" +}, +"updateTime": { +"description": "Operation last update time. If the operation is done, this is also the finish time.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1alphaUpdateCollectionMetadata": { +"description": "Metadata related to the progress of the CollectionService.UpdateCollection operation. This will be returned by the google.longrunning.Operation.metadata field.", +"id": "GoogleCloudDiscoveryengineV1alphaUpdateCollectionMetadata", +"properties": { +"createTime": { +"description": "Operation create time.", +"format": "google-datetime", +"type": "string" +}, +"updateTime": { +"description": "Operation last update time. If the operation is done, this is also the finish time.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1alphaUpdateSchemaMetadata": { +"description": "Metadata for UpdateSchema LRO.", +"id": "GoogleCloudDiscoveryengineV1alphaUpdateSchemaMetadata", +"properties": { +"createTime": { +"description": "Operation create time.", +"format": "google-datetime", +"type": "string" +}, +"updateTime": { +"description": "Operation last update time. If the operation is done, this is also the finish time.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1alphaUpdateSessionRequest": { +"description": "Request for UpdateSession method.", +"id": "GoogleCloudDiscoveryengineV1alphaUpdateSessionRequest", +"properties": { +"session": { +"$ref": "GoogleCloudDiscoveryengineV1alphaSession", +"description": "Required. The Session to update." +}, +"updateMask": { +"description": "Indicates which fields in the provided Session to update. The following are NOT supported: * Session.name If not set or empty, all supported fields are updated.", +"format": "google-fieldmask", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1alphaUpdateTargetSiteMetadata": { +"description": "Metadata related to the progress of the SiteSearchEngineService.UpdateTargetSite operation. This will be returned by the google.longrunning.Operation.metadata field.", +"id": "GoogleCloudDiscoveryengineV1alphaUpdateTargetSiteMetadata", +"properties": { +"createTime": { +"description": "Operation create time.", +"format": "google-datetime", +"type": "string" +}, +"updateTime": { +"description": "Operation last update time. If the operation is done, this is also the finish time.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1alphaUserInfo": { +"description": "Information of an end user.", +"id": "GoogleCloudDiscoveryengineV1alphaUserInfo", +"properties": { +"timeZone": { +"description": "Optional. IANA time zone, e.g. Europe/Budapest.", +"type": "string" +}, +"userAgent": { +"description": "User agent as included in the HTTP header. The field must be a UTF-8 encoded string with a length limit of 1,000 characters. Otherwise, an `INVALID_ARGUMENT` error is returned. This should not be set when using the client side event reporting with GTM or JavaScript tag in UserEventService.CollectUserEvent or if UserEvent.direct_user_request is set.", +"type": "string" +}, +"userId": { +"description": "Highly recommended for logged-in users. Unique identifier for logged-in user, such as a user name. Don't set for anonymous users. Always use a hashed value for this ID. Don't set the field to the same fixed ID for different users. This mixes the event history of those users together, which results in degraded model quality. The field must be a UTF-8 encoded string with a length limit of 128 characters. Otherwise, an `INVALID_ARGUMENT` error is returned.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1alphaUserLicense": { +"description": "User License information assigned by the admin.", +"id": "GoogleCloudDiscoveryengineV1alphaUserLicense", +"properties": { +"createTime": { +"description": "Output only. User created timestamp.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"lastLoginTime": { +"description": "Output only. User last logged in time. If the user has not logged in yet, this field will be empty.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"licenseAssignmentState": { +"description": "Output only. License assignment state of the user. If the user is assigned with a license config, the user login will be assigned with the license; If the user's license assignment state is unassigned or unspecified, no license config will be associated to the user;", +"enum": [ +"LICENSE_ASSIGNMENT_STATE_UNSPECIFIED", +"ASSIGNED", +"UNASSIGNED", +"NO_LICENSE", +"NO_LICENSE_ATTEMPTED_LOGIN", +"BLOCKED" +], +"enumDescriptions": [ +"Default value.", +"License assigned to the user.", +"No license assigned to the user. Deprecated, translated to NO_LICENSE.", +"No license assigned to the user.", +"User attempted to login but no license assigned to the user. This state is only used for no user first time login attempt but cannot get license assigned. Users already logged in but cannot get license assigned will be assigned NO_LICENSE state(License could be unassigned by admin).", +"User is blocked from assigning a license." +], +"readOnly": true, +"type": "string" +}, +"licenseConfig": { +"description": "Optional. The full resource name of the Subscription(LicenseConfig) assigned to the user.", +"type": "string" +}, +"updateTime": { +"description": "Output only. User update timestamp.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"userPrincipal": { +"description": "Required. Immutable. The user principal of the User, could be email address or other prinical identifier. This field is immutable. Admin assign licenses based on the user principal.", +"type": "string" +}, +"userProfile": { +"description": "Optional. The user profile. We user user full name(First name + Last name) as user profile.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1alphaWorkspaceConfig": { +"description": "Config to store data store type configuration for workspace data", +"id": "GoogleCloudDiscoveryengineV1alphaWorkspaceConfig", +"properties": { +"dasherCustomerId": { +"description": "Obfuscated Dasher customer ID.", +"type": "string" +}, +"superAdminEmailAddress": { +"description": "Optional. The super admin email address for the workspace that will be used for access token generation. For now we only use it for Native Google Drive connector data ingestion.", +"type": "string" +}, +"superAdminServiceAccount": { +"description": "Optional. The super admin service account for the workspace that will be used for access token generation. For now we only use it for Native Google Drive connector data ingestion.", +"type": "string" +}, +"type": { +"description": "The Google Workspace data source.", +"enum": [ +"TYPE_UNSPECIFIED", +"GOOGLE_DRIVE", +"GOOGLE_MAIL", +"GOOGLE_SITES", +"GOOGLE_CALENDAR", +"GOOGLE_CHAT", +"GOOGLE_GROUPS", +"GOOGLE_KEEP", +"GOOGLE_PEOPLE" +], +"enumDescriptions": [ +"Defaults to an unspecified Workspace type.", +"Workspace Data Store contains Drive data", +"Workspace Data Store contains Mail data", +"Workspace Data Store contains Sites data", +"Workspace Data Store contains Calendar data", +"Workspace Data Store contains Chat data", +"Workspace Data Store contains Groups data", +"Workspace Data Store contains Keep data", +"Workspace Data Store contains People data" +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1betaAclConfig": { +"description": "Access Control Configuration.", +"id": "GoogleCloudDiscoveryengineV1betaAclConfig", +"properties": { +"idpConfig": { +"$ref": "GoogleCloudDiscoveryengineV1betaIdpConfig", +"description": "Identity provider config." +}, +"name": { +"description": "Immutable. The full resource name of the acl configuration. Format: `projects/{project}/locations/{location}/aclConfig`. This field must be a UTF-8 encoded string with a length limit of 1024 characters.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1betaAdvancedSiteSearchConfig": { +"description": "Configuration data for advance site search.", +"id": "GoogleCloudDiscoveryengineV1betaAdvancedSiteSearchConfig", +"properties": { +"disableAutomaticRefresh": { +"description": "If set true, automatic refresh is disabled for the DataStore.", +"type": "boolean" +}, +"disableInitialIndex": { +"description": "If set true, initial indexing is disabled for the DataStore.", +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1betaBatchCreateTargetSiteMetadata": { +"description": "Metadata related to the progress of the SiteSearchEngineService.BatchCreateTargetSites operation. This will be returned by the google.longrunning.Operation.metadata field.", +"id": "GoogleCloudDiscoveryengineV1betaBatchCreateTargetSiteMetadata", +"properties": { +"createTime": { +"description": "Operation create time.", +"format": "google-datetime", +"type": "string" +}, +"updateTime": { +"description": "Operation last update time. If the operation is done, this is also the finish time.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1betaBatchCreateTargetSitesResponse": { +"description": "Response message for SiteSearchEngineService.BatchCreateTargetSites method.", +"id": "GoogleCloudDiscoveryengineV1betaBatchCreateTargetSitesResponse", +"properties": { +"targetSites": { +"description": "TargetSites created.", +"items": { +"$ref": "GoogleCloudDiscoveryengineV1betaTargetSite" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1betaBatchUpdateUserLicensesMetadata": { +"description": "Metadata related to the progress of the UserLicenseService.BatchUpdateUserLicenses operation. This will be returned by the google.longrunning.Operation.metadata field.", +"id": "GoogleCloudDiscoveryengineV1betaBatchUpdateUserLicensesMetadata", +"properties": { +"createTime": { +"description": "Operation create time.", +"format": "google-datetime", +"type": "string" +}, +"failureCount": { +"description": "Count of user licenses that failed to be updated.", +"format": "int64", +"type": "string" +}, +"successCount": { +"description": "Count of user licenses successfully updated.", +"format": "int64", +"type": "string" +}, +"updateTime": { +"description": "Operation last update time. If the operation is done, this is also the finish time.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1betaBatchUpdateUserLicensesResponse": { +"description": "Response message for UserLicenseService.BatchUpdateUserLicenses method.", +"id": "GoogleCloudDiscoveryengineV1betaBatchUpdateUserLicensesResponse", +"properties": { +"errorSamples": { +"description": "A sample of errors encountered while processing the request.", +"items": { +"$ref": "GoogleRpcStatus" +}, +"type": "array" +}, +"userLicenses": { +"description": "UserLicenses successfully updated.", +"items": { +"$ref": "GoogleCloudDiscoveryengineV1betaUserLicense" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1betaCmekConfig": { +"description": "Configurations used to enable CMEK data encryption with Cloud KMS keys.", +"id": "GoogleCloudDiscoveryengineV1betaCmekConfig", +"properties": { +"isDefault": { +"description": "Output only. The default CmekConfig for the Customer.", +"readOnly": true, +"type": "boolean" +}, +"kmsKey": { +"description": "Required. KMS key resource name which will be used to encrypt resources `projects/{project}/locations/{location}/keyRings/{keyRing}/cryptoKeys/{keyId}`.", +"type": "string" +}, +"kmsKeyVersion": { +"description": "Output only. KMS key version resource name which will be used to encrypt resources `/cryptoKeyVersions/{keyVersion}`.", +"readOnly": true, +"type": "string" +}, +"lastRotationTimestampMicros": { +"description": "Output only. The timestamp of the last key rotation.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"name": { +"description": "Required. The name of the CmekConfig of the form `projects/{project}/locations/{location}/cmekConfig` or `projects/{project}/locations/{location}/cmekConfigs/{cmek_config}`.", +"type": "string" +}, +"notebooklmState": { +"description": "Output only. Whether the NotebookLM Corpus is ready to be used.", +"enum": [ +"NOTEBOOK_LM_STATE_UNSPECIFIED", +"NOTEBOOK_LM_NOT_READY", +"NOTEBOOK_LM_READY", +"NOTEBOOK_LM_NOT_ENABLED" +], +"enumDescriptions": [ +"The NotebookLM state is unknown.", +"The NotebookLM is not ready.", +"The NotebookLM is ready to be used.", +"The NotebookLM is not enabled." +], +"readOnly": true, +"type": "string" +}, +"singleRegionKeys": { +"description": "Optional. Single-regional CMEKs that are required for some VAIS features.", +"items": { +"$ref": "GoogleCloudDiscoveryengineV1betaSingleRegionKey" +}, +"type": "array" +}, +"state": { +"description": "Output only. The states of the CmekConfig.", +"enum": [ +"STATE_UNSPECIFIED", +"CREATING", +"ACTIVE", +"KEY_ISSUE", +"DELETING", +"DELETE_FAILED", +"UNUSABLE", +"ACTIVE_ROTATING", +"DELETED", +"EXPIRED" +], +"enumDescriptions": [ +"The CmekConfig state is unknown.", +"The CmekConfig is creating.", +"The CmekConfig can be used with DataStores.", +"The CmekConfig is unavailable, most likely due to the KMS Key being revoked.", +"The CmekConfig is deleting.", +"The CmekConfig deletion process failed.", +"The CmekConfig is not usable, most likely due to some internal issue.", +"The KMS key version is being rotated.", +"The KMS key is soft deleted. Some cleanup policy will eventually be applied.", +"The KMS key is expired, meaning the key has been disabled for 30+ days. The customer can call DeleteCmekConfig to change the state to DELETED." +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1betaCondition": { +"description": "Defines circumstances to be checked before allowing a behavior", +"id": "GoogleCloudDiscoveryengineV1betaCondition", +"properties": { +"activeTimeRange": { +"description": "Range of time(s) specifying when condition is active. Maximum of 10 time ranges.", +"items": { +"$ref": "GoogleCloudDiscoveryengineV1betaConditionTimeRange" +}, +"type": "array" +}, +"queryRegex": { +"description": "Optional. Query regex to match the whole search query. Cannot be set when Condition.query_terms is set. Only supported for Basic Site Search promotion serving controls.", +"type": "string" +}, +"queryTerms": { +"description": "Search only A list of terms to match the query on. Cannot be set when Condition.query_regex is set. Maximum of 10 query terms.", +"items": { +"$ref": "GoogleCloudDiscoveryengineV1betaConditionQueryTerm" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1betaConditionQueryTerm": { +"description": "Matcher for search request query", +"id": "GoogleCloudDiscoveryengineV1betaConditionQueryTerm", +"properties": { +"fullMatch": { +"description": "Whether the search query needs to exactly match the query term.", +"type": "boolean" +}, +"value": { +"description": "The specific query value to match against Must be lowercase, must be UTF-8. Can have at most 3 space separated terms if full_match is true. Cannot be an empty string. Maximum length of 5000 characters.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1betaConditionTimeRange": { +"description": "Used for time-dependent conditions.", +"id": "GoogleCloudDiscoveryengineV1betaConditionTimeRange", +"properties": { +"endTime": { +"description": "End of time range. Range is inclusive. Must be in the future.", +"format": "google-datetime", +"type": "string" +}, +"startTime": { +"description": "Start of time range. Range is inclusive.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1betaControl": { +"description": "Defines a conditioned behavior to employ during serving. Must be attached to a ServingConfig to be considered at serving time. Permitted actions dependent on `SolutionType`.", +"id": "GoogleCloudDiscoveryengineV1betaControl", +"properties": { +"associatedServingConfigIds": { +"description": "Output only. List of all ServingConfig IDs this control is attached to. May take up to 10 minutes to update after changes.", +"items": { +"type": "string" +}, +"readOnly": true, +"type": "array" +}, +"boostAction": { +"$ref": "GoogleCloudDiscoveryengineV1betaControlBoostAction", +"description": "Defines a boost-type control" +}, +"conditions": { +"description": "Determines when the associated action will trigger. Omit to always apply the action. Currently only a single condition may be specified. Otherwise an INVALID ARGUMENT error is thrown.", +"items": { +"$ref": "GoogleCloudDiscoveryengineV1betaCondition" +}, +"type": "array" +}, +"displayName": { +"description": "Required. Human readable name. The identifier used in UI views. Must be UTF-8 encoded string. Length limit is 128 characters. Otherwise an INVALID ARGUMENT error is thrown.", +"type": "string" +}, +"filterAction": { +"$ref": "GoogleCloudDiscoveryengineV1betaControlFilterAction", +"description": "Defines a filter-type control Currently not supported by Recommendation" +}, +"name": { +"description": "Immutable. Fully qualified name `projects/*/locations/global/dataStore/*/controls/*`", +"type": "string" +}, +"promoteAction": { +"$ref": "GoogleCloudDiscoveryengineV1betaControlPromoteAction", +"description": "Promote certain links based on predefined trigger queries." +}, +"redirectAction": { +"$ref": "GoogleCloudDiscoveryengineV1betaControlRedirectAction", +"description": "Defines a redirect-type control." +}, +"solutionType": { +"description": "Required. Immutable. What solution the control belongs to. Must be compatible with vertical of resource. Otherwise an INVALID ARGUMENT error is thrown.", +"enum": [ +"SOLUTION_TYPE_UNSPECIFIED", +"SOLUTION_TYPE_RECOMMENDATION", +"SOLUTION_TYPE_SEARCH", +"SOLUTION_TYPE_CHAT", +"SOLUTION_TYPE_GENERATIVE_CHAT", +"SOLUTION_TYPE_AI_MODE" +], +"enumDescriptions": [ +"Default value.", +"Used for Recommendations AI.", +"Used for Discovery Search.", +"Used for use cases related to the Generative AI agent.", +"Used for use cases related to the Generative Chat agent. It's used for Generative chat engine only, the associated data stores must enrolled with `SOLUTION_TYPE_CHAT` solution.", +"Used for AI Mode." +], +"type": "string" +}, +"synonymsAction": { +"$ref": "GoogleCloudDiscoveryengineV1betaControlSynonymsAction", +"description": "Treats a group of terms as synonyms of one another." +}, +"useCases": { +"description": "Specifies the use case for the control. Affects what condition fields can be set. Only applies to SOLUTION_TYPE_SEARCH. Currently only allow one use case per control. Must be set when solution_type is SolutionType.SOLUTION_TYPE_SEARCH.", +"items": { +"enum": [ +"SEARCH_USE_CASE_UNSPECIFIED", +"SEARCH_USE_CASE_SEARCH", +"SEARCH_USE_CASE_BROWSE" +], +"enumDescriptions": [ +"Value used when unset. Will not occur in CSS.", +"Search use case. Expects the traffic has a non-empty query.", +"Browse use case. Expects the traffic has an empty query." +], +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1betaControlBoostAction": { +"description": "Adjusts order of products in returned list.", +"id": "GoogleCloudDiscoveryengineV1betaControlBoostAction", +"properties": { +"boost": { +"deprecated": true, +"description": "Strength of the boost, which should be in [-1, 1]. Negative boost means demotion. Default is 0.0 (No-op).", +"format": "float", +"type": "number" +}, +"dataStore": { +"description": "Required. Specifies which data store's documents can be boosted by this control. Full data store name e.g. projects/123/locations/global/collections/default_collection/dataStores/default_data_store", +"type": "string" +}, +"filter": { +"description": "Required. Specifies which products to apply the boost to. If no filter is provided all products will be boosted (No-op). Syntax documentation: https://cloud.google.com/retail/docs/filter-and-order Maximum length is 5000 characters. Otherwise an INVALID ARGUMENT error is thrown.", +"type": "string" +}, +"fixedBoost": { +"description": "Optional. Strength of the boost, which should be in [-1, 1]. Negative boost means demotion. Default is 0.0 (No-op).", +"format": "float", +"type": "number" +}, +"interpolationBoostSpec": { +"$ref": "GoogleCloudDiscoveryengineV1betaControlBoostActionInterpolationBoostSpec", +"description": "Optional. Complex specification for custom ranking based on customer defined attribute value." +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1betaControlBoostActionInterpolationBoostSpec": { +"description": "Specification for custom ranking based on customer specified attribute value. It provides more controls for customized ranking than the simple (condition, boost) combination above.", +"id": "GoogleCloudDiscoveryengineV1betaControlBoostActionInterpolationBoostSpec", +"properties": { +"attributeType": { +"description": "Optional. The attribute type to be used to determine the boost amount. The attribute value can be derived from the field value of the specified field_name. In the case of numerical it is straightforward i.e. attribute_value = numerical_field_value. In the case of freshness however, attribute_value = (time.now() - datetime_field_value).", +"enum": [ +"ATTRIBUTE_TYPE_UNSPECIFIED", +"NUMERICAL", +"FRESHNESS" +], +"enumDescriptions": [ +"Unspecified AttributeType.", +"The value of the numerical field will be used to dynamically update the boost amount. In this case, the attribute_value (the x value) of the control point will be the actual value of the numerical field for which the boost_amount is specified.", +"For the freshness use case the attribute value will be the duration between the current time and the date in the datetime field specified. The value must be formatted as an XSD `dayTimeDuration` value (a restricted subset of an ISO 8601 duration value). The pattern for this is: `nDnM]`. For example, `5D`, `3DT12H30M`, `T24H`." +], +"type": "string" +}, +"controlPoints": { +"description": "Optional. The control points used to define the curve. The monotonic function (defined through the interpolation_type above) passes through the control points listed here.", +"items": { +"$ref": "GoogleCloudDiscoveryengineV1betaControlBoostActionInterpolationBoostSpecControlPoint" +}, +"type": "array" +}, +"fieldName": { +"description": "Optional. The name of the field whose value will be used to determine the boost amount.", +"type": "string" +}, +"interpolationType": { +"description": "Optional. The interpolation type to be applied to connect the control points listed below.", +"enum": [ +"INTERPOLATION_TYPE_UNSPECIFIED", +"LINEAR" +], +"enumDescriptions": [ +"Interpolation type is unspecified. In this case, it defaults to Linear.", +"Piecewise linear interpolation will be applied." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1betaControlBoostActionInterpolationBoostSpecControlPoint": { +"description": "The control points used to define the curve. The curve defined through these control points can only be monotonically increasing or decreasing(constant values are acceptable).", +"id": "GoogleCloudDiscoveryengineV1betaControlBoostActionInterpolationBoostSpecControlPoint", +"properties": { +"attributeValue": { +"description": "Optional. Can be one of: 1. The numerical field value. 2. The duration spec for freshness: The value must be formatted as an XSD `dayTimeDuration` value (a restricted subset of an ISO 8601 duration value). The pattern for this is: `nDnM]`.", +"type": "string" +}, +"boostAmount": { +"description": "Optional. The value between -1 to 1 by which to boost the score if the attribute_value evaluates to the value specified above.", +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1betaControlFilterAction": { +"description": "Specified which products may be included in results. Uses same filter as boost.", +"id": "GoogleCloudDiscoveryengineV1betaControlFilterAction", +"properties": { +"dataStore": { +"description": "Required. Specifies which data store's documents can be filtered by this control. Full data store name e.g. projects/123/locations/global/collections/default_collection/dataStores/default_data_store", +"type": "string" +}, +"filter": { +"description": "Required. A filter to apply on the matching condition results. Required Syntax documentation: https://cloud.google.com/retail/docs/filter-and-order Maximum length is 5000 characters. Otherwise an INVALID ARGUMENT error is thrown.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1betaControlPromoteAction": { +"description": "Promote certain links based on some trigger queries. Example: Promote shoe store link when searching for `shoe` keyword. The link can be outside of associated data store.", +"id": "GoogleCloudDiscoveryengineV1betaControlPromoteAction", +"properties": { +"dataStore": { +"description": "Required. Data store with which this promotion is attached to.", +"type": "string" +}, +"searchLinkPromotion": { +"$ref": "GoogleCloudDiscoveryengineV1betaSearchLinkPromotion", +"description": "Required. Promotion attached to this action." +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1betaControlRedirectAction": { +"description": "Redirects a shopper to the provided URI.", +"id": "GoogleCloudDiscoveryengineV1betaControlRedirectAction", +"properties": { +"redirectUri": { +"description": "Required. The URI to which the shopper will be redirected. Required. URI must have length equal or less than 2000 characters. Otherwise an INVALID ARGUMENT error is thrown.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1betaControlSynonymsAction": { +"description": "Creates a set of terms that will act as synonyms of one another. Example: \"happy\" will also be considered as \"glad\", \"glad\" will also be considered as \"happy\".", +"id": "GoogleCloudDiscoveryengineV1betaControlSynonymsAction", +"properties": { +"synonyms": { +"description": "Defines a set of synonyms. Can specify up to 100 synonyms. Must specify at least 2 synonyms. Otherwise an INVALID ARGUMENT error is thrown.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1betaCrawlRateTimeSeries": { +"description": "The historical crawl rate timeseries data, used for monitoring.", +"id": "GoogleCloudDiscoveryengineV1betaCrawlRateTimeSeries", +"properties": { +"qpsTimeSeries": { +"$ref": "GoogleMonitoringV3TimeSeries", +"description": "The QPS of the crawl rate." +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1betaCreateDataStoreMetadata": { +"description": "Metadata related to the progress of the DataStoreService.CreateDataStore operation. This will be returned by the google.longrunning.Operation.metadata field.", +"id": "GoogleCloudDiscoveryengineV1betaCreateDataStoreMetadata", +"properties": { +"createTime": { +"description": "Operation create time.", +"format": "google-datetime", +"type": "string" +}, +"updateTime": { +"description": "Operation last update time. If the operation is done, this is also the finish time.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1betaCreateEngineMetadata": { +"description": "Metadata related to the progress of the EngineService.CreateEngine operation. This will be returned by the google.longrunning.Operation.metadata field.", +"id": "GoogleCloudDiscoveryengineV1betaCreateEngineMetadata", +"properties": { +"createTime": { +"description": "Operation create time.", +"format": "google-datetime", +"type": "string" +}, +"updateTime": { +"description": "Operation last update time. If the operation is done, this is also the finish time.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1betaCreateEvaluationMetadata": { +"description": "Metadata for EvaluationService.CreateEvaluation method.", +"id": "GoogleCloudDiscoveryengineV1betaCreateEvaluationMetadata", +"properties": {}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1betaCreateSchemaMetadata": { +"description": "Metadata for Create Schema LRO.", +"id": "GoogleCloudDiscoveryengineV1betaCreateSchemaMetadata", +"properties": { +"createTime": { +"description": "Operation create time.", +"format": "google-datetime", +"type": "string" +}, +"updateTime": { +"description": "Operation last update time. If the operation is done, this is also the finish time.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1betaCreateSitemapMetadata": { +"description": "Metadata related to the progress of the SiteSearchEngineService.CreateSitemap operation. This will be returned by the google.longrunning.Operation.metadata field.", +"id": "GoogleCloudDiscoveryengineV1betaCreateSitemapMetadata", +"properties": { +"createTime": { +"description": "Operation create time.", +"format": "google-datetime", +"type": "string" +}, +"updateTime": { +"description": "Operation last update time. If the operation is done, this is also the finish time.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1betaCreateTargetSiteMetadata": { +"description": "Metadata related to the progress of the SiteSearchEngineService.CreateTargetSite operation. This will be returned by the google.longrunning.Operation.metadata field.", +"id": "GoogleCloudDiscoveryengineV1betaCreateTargetSiteMetadata", +"properties": { +"createTime": { +"description": "Operation create time.", +"format": "google-datetime", +"type": "string" +}, +"updateTime": { +"description": "Operation last update time. If the operation is done, this is also the finish time.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1betaDataStore": { +"description": "DataStore captures global settings and configs at the DataStore level.", +"id": "GoogleCloudDiscoveryengineV1betaDataStore", +"properties": { +"aclEnabled": { +"description": "Immutable. Whether data in the DataStore has ACL information. If set to `true`, the source data must have ACL. ACL will be ingested when data is ingested by DocumentService.ImportDocuments methods. When ACL is enabled for the DataStore, Document can't be accessed by calling DocumentService.GetDocument or DocumentService.ListDocuments. Currently ACL is only supported in `GENERIC` industry vertical with non-`PUBLIC_WEBSITE` content config.", +"type": "boolean" +}, +"advancedSiteSearchConfig": { +"$ref": "GoogleCloudDiscoveryengineV1betaAdvancedSiteSearchConfig", +"description": "Optional. Configuration for advanced site search." +}, +"billingEstimation": { +"$ref": "GoogleCloudDiscoveryengineV1betaDataStoreBillingEstimation", +"description": "Output only. Data size estimation for billing.", +"readOnly": true +}, +"cmekConfig": { +"$ref": "GoogleCloudDiscoveryengineV1betaCmekConfig", +"description": "Output only. CMEK-related information for the DataStore.", +"readOnly": true +}, +"configurableBillingApproach": { +"description": "Optional. Configuration for configurable billing approach. See", +"enum": [ +"CONFIGURABLE_BILLING_APPROACH_UNSPECIFIED", +"CONFIGURABLE_SUBSCRIPTION_INDEXING_CORE", +"CONFIGURABLE_CONSUMPTION_EMBEDDING" +], +"enumDescriptions": [ +"Default value. For Spark and non-Spark non-configurable billing approach.", +"Use the subscription base + overage billing for indexing core for non embedding storage.", +"Use the consumption pay-as-you-go billing for embedding storage add-on." +], +"type": "string" +}, +"configurableBillingApproachUpdateTime": { +"description": "Output only. The timestamp when configurable_billing_approach was last updated.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"contentConfig": { +"description": "Immutable. The content config of the data store. If this field is unset, the server behavior defaults to ContentConfig.NO_CONTENT.", +"enum": [ +"CONTENT_CONFIG_UNSPECIFIED", +"NO_CONTENT", +"CONTENT_REQUIRED", +"PUBLIC_WEBSITE", +"GOOGLE_WORKSPACE" +], +"enumDescriptions": [ +"Default value.", +"Only contains documents without any Document.content.", +"Only contains documents with Document.content.", +"The data store is used for public website search.", +"The data store is used for workspace search. Details of workspace data store are specified in the WorkspaceConfig." +], +"type": "string" +}, +"createTime": { +"description": "Output only. Timestamp the DataStore was created at.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"defaultSchemaId": { +"description": "Output only. The id of the default Schema associated to this data store.", +"readOnly": true, +"type": "string" +}, +"displayName": { +"description": "Required. The data store display name. This field must be a UTF-8 encoded string with a length limit of 128 characters. Otherwise, an INVALID_ARGUMENT error is returned.", +"type": "string" +}, +"documentProcessingConfig": { +"$ref": "GoogleCloudDiscoveryengineV1betaDocumentProcessingConfig", +"description": "Configuration for Document understanding and enrichment." +}, +"healthcareFhirConfig": { +"$ref": "GoogleCloudDiscoveryengineV1betaHealthcareFhirConfig", +"description": "Optional. Configuration for `HEALTHCARE_FHIR` vertical." +}, +"identityMappingStore": { +"description": "Immutable. The fully qualified resource name of the associated IdentityMappingStore. This field can only be set for acl_enabled DataStores with `THIRD_PARTY` or `GSUITE` IdP. Format: `projects/{project}/locations/{location}/identityMappingStores/{identity_mapping_store}`.", +"type": "string" +}, +"industryVertical": { +"description": "Immutable. The industry vertical that the data store registers.", +"enum": [ +"INDUSTRY_VERTICAL_UNSPECIFIED", +"GENERIC", +"MEDIA", +"HEALTHCARE_FHIR" +], +"enumDescriptions": [ +"Value used when unset.", +"The generic vertical for documents that are not specific to any industry vertical.", +"The media industry vertical.", +"The healthcare FHIR vertical." +], +"type": "string" +}, +"isInfobotFaqDataStore": { +"description": "Optional. If set, this DataStore is an Infobot FAQ DataStore.", +"type": "boolean" +}, +"kmsKeyName": { +"description": "Input only. The KMS key to be used to protect this DataStore at creation time. Must be set for requests that need to comply with CMEK Org Policy protections. If this field is set and processed successfully, the DataStore will be protected by the KMS key, as indicated in the cmek_config field.", +"type": "string" +}, +"languageInfo": { +"$ref": "GoogleCloudDiscoveryengineV1betaLanguageInfo", +"description": "Language info for DataStore." +}, +"name": { +"description": "Immutable. Identifier. The full resource name of the data store. Format: `projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}`. This field must be a UTF-8 encoded string with a length limit of 1024 characters.", +"type": "string" +}, +"naturalLanguageQueryUnderstandingConfig": { +"$ref": "GoogleCloudDiscoveryengineV1betaNaturalLanguageQueryUnderstandingConfig", +"description": "Optional. Configuration for Natural Language Query Understanding." +}, +"servingConfigDataStore": { +"$ref": "GoogleCloudDiscoveryengineV1betaDataStoreServingConfigDataStore", +"description": "Optional. Stores serving config at DataStore level." +}, +"solutionTypes": { +"description": "The solutions that the data store enrolls. Available solutions for each industry_vertical: * `MEDIA`: `SOLUTION_TYPE_RECOMMENDATION` and `SOLUTION_TYPE_SEARCH`. * `SITE_SEARCH`: `SOLUTION_TYPE_SEARCH` is automatically enrolled. Other solutions cannot be enrolled.", +"items": { +"enum": [ +"SOLUTION_TYPE_UNSPECIFIED", +"SOLUTION_TYPE_RECOMMENDATION", +"SOLUTION_TYPE_SEARCH", +"SOLUTION_TYPE_CHAT", +"SOLUTION_TYPE_GENERATIVE_CHAT", +"SOLUTION_TYPE_AI_MODE" +], +"enumDescriptions": [ +"Default value.", +"Used for Recommendations AI.", +"Used for Discovery Search.", +"Used for use cases related to the Generative AI agent.", +"Used for use cases related to the Generative Chat agent. It's used for Generative chat engine only, the associated data stores must enrolled with `SOLUTION_TYPE_CHAT` solution.", +"Used for AI Mode." +], +"type": "string" +}, +"type": "array" +}, +"startingSchema": { +"$ref": "GoogleCloudDiscoveryengineV1betaSchema", +"description": "The start schema to use for this DataStore when provisioning it. If unset, a default vertical specialized schema will be used. This field is only used by CreateDataStore API, and will be ignored if used in other APIs. This field will be omitted from all API responses including CreateDataStore API. To retrieve a schema of a DataStore, use SchemaService.GetSchema API instead. The provided schema will be validated against certain rules on schema. Learn more from [this doc](https://cloud.google.com/generative-ai-app-builder/docs/provide-schema)." +}, +"workspaceConfig": { +"$ref": "GoogleCloudDiscoveryengineV1betaWorkspaceConfig", +"description": "Config to store data store type configuration for workspace data. This must be set when DataStore.content_config is set as DataStore.ContentConfig.GOOGLE_WORKSPACE." +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1betaDataStoreBillingEstimation": { +"description": "Estimation of data size per data store.", +"id": "GoogleCloudDiscoveryengineV1betaDataStoreBillingEstimation", +"properties": { +"structuredDataSize": { +"description": "Data size for structured data in terms of bytes.", +"format": "int64", +"type": "string" +}, +"structuredDataUpdateTime": { +"description": "Last updated timestamp for structured data.", +"format": "google-datetime", +"type": "string" +}, +"unstructuredDataSize": { +"description": "Data size for unstructured data in terms of bytes.", +"format": "int64", +"type": "string" +}, +"unstructuredDataUpdateTime": { +"description": "Last updated timestamp for unstructured data.", +"format": "google-datetime", +"type": "string" +}, +"websiteDataSize": { +"description": "Data size for websites in terms of bytes.", +"format": "int64", +"type": "string" +}, +"websiteDataUpdateTime": { +"description": "Last updated timestamp for websites.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1betaDataStoreServingConfigDataStore": { +"description": "Stores information regarding the serving configurations at DataStore level.", +"id": "GoogleCloudDiscoveryengineV1betaDataStoreServingConfigDataStore", +"properties": { +"disabledForServing": { +"description": "Optional. If set true, the DataStore will not be available for serving search requests.", +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1betaDedicatedCrawlRateTimeSeries": { +"description": "The historical dedicated crawl rate timeseries data, used for monitoring. Dedicated crawl is used by Vertex AI to crawl the user's website when dedicate crawl is set.", +"id": "GoogleCloudDiscoveryengineV1betaDedicatedCrawlRateTimeSeries", +"properties": { +"autoRefreshCrawlErrorRate": { +"$ref": "GoogleCloudDiscoveryengineV1betaCrawlRateTimeSeries", +"description": "Vertex AI's error rate time series of auto-refresh dedicated crawl." +}, +"autoRefreshCrawlRate": { +"$ref": "GoogleCloudDiscoveryengineV1betaCrawlRateTimeSeries", +"description": "Vertex AI's dedicated crawl rate time series of auto-refresh, which is the crawl rate of Google-CloudVertexBot when dedicate crawl is set, and the crawl rate is for best effort use cases like refreshing urls periodically." +}, +"userTriggeredCrawlErrorRate": { +"$ref": "GoogleCloudDiscoveryengineV1betaCrawlRateTimeSeries", +"description": "Vertex AI's error rate time series of user triggered dedicated crawl." +}, +"userTriggeredCrawlRate": { +"$ref": "GoogleCloudDiscoveryengineV1betaCrawlRateTimeSeries", +"description": "Vertex AI's dedicated crawl rate time series of user triggered crawl, which is the crawl rate of Google-CloudVertexBot when dedicate crawl is set, and user triggered crawl rate is for deterministic use cases like crawling urls or sitemaps specified by users." +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1betaDeleteDataStoreMetadata": { +"description": "Metadata related to the progress of the DataStoreService.DeleteDataStore operation. This will be returned by the google.longrunning.Operation.metadata field.", +"id": "GoogleCloudDiscoveryengineV1betaDeleteDataStoreMetadata", +"properties": { +"createTime": { +"description": "Operation create time.", +"format": "google-datetime", +"type": "string" +}, +"updateTime": { +"description": "Operation last update time. If the operation is done, this is also the finish time.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1betaDeleteEngineMetadata": { +"description": "Metadata related to the progress of the EngineService.DeleteEngine operation. This will be returned by the google.longrunning.Operation.metadata field.", +"id": "GoogleCloudDiscoveryengineV1betaDeleteEngineMetadata", +"properties": { +"createTime": { +"description": "Operation create time.", +"format": "google-datetime", +"type": "string" +}, +"updateTime": { +"description": "Operation last update time. If the operation is done, this is also the finish time.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1betaDeleteIdentityMappingStoreMetadata": { +"description": "Metadata related to the progress of the IdentityMappingStoreService.DeleteIdentityMappingStore operation. This will be returned by the google.longrunning.Operation.metadata field.", +"id": "GoogleCloudDiscoveryengineV1betaDeleteIdentityMappingStoreMetadata", +"properties": { +"createTime": { +"description": "Operation create time.", +"format": "google-datetime", +"type": "string" +}, +"updateTime": { +"description": "Operation last update time. If the operation is done, this is also the finish time.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1betaDeleteSchemaMetadata": { +"description": "Metadata for DeleteSchema LRO.", +"id": "GoogleCloudDiscoveryengineV1betaDeleteSchemaMetadata", +"properties": { +"createTime": { +"description": "Operation create time.", +"format": "google-datetime", +"type": "string" +}, +"updateTime": { +"description": "Operation last update time. If the operation is done, this is also the finish time.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1betaDeleteSitemapMetadata": { +"description": "Metadata related to the progress of the SiteSearchEngineService.DeleteSitemap operation. This will be returned by the google.longrunning.Operation.metadata field.", +"id": "GoogleCloudDiscoveryengineV1betaDeleteSitemapMetadata", +"properties": { +"createTime": { +"description": "Operation create time.", +"format": "google-datetime", +"type": "string" +}, +"updateTime": { +"description": "Operation last update time. If the operation is done, this is also the finish time.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1betaDeleteTargetSiteMetadata": { +"description": "Metadata related to the progress of the SiteSearchEngineService.DeleteTargetSite operation. This will be returned by the google.longrunning.Operation.metadata field.", +"id": "GoogleCloudDiscoveryengineV1betaDeleteTargetSiteMetadata", +"properties": { +"createTime": { +"description": "Operation create time.", +"format": "google-datetime", +"type": "string" +}, +"updateTime": { +"description": "Operation last update time. If the operation is done, this is also the finish time.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1betaDisableAdvancedSiteSearchMetadata": { +"description": "Metadata related to the progress of the SiteSearchEngineService.DisableAdvancedSiteSearch operation. This will be returned by the google.longrunning.Operation.metadata field.", +"id": "GoogleCloudDiscoveryengineV1betaDisableAdvancedSiteSearchMetadata", +"properties": { +"createTime": { +"description": "Operation create time.", +"format": "google-datetime", +"type": "string" +}, +"updateTime": { +"description": "Operation last update time. If the operation is done, this is also the finish time.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1betaDisableAdvancedSiteSearchResponse": { +"description": "Response message for SiteSearchEngineService.DisableAdvancedSiteSearch method.", +"id": "GoogleCloudDiscoveryengineV1betaDisableAdvancedSiteSearchResponse", +"properties": {}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1betaDocumentProcessingConfig": { +"description": "A singleton resource of DataStore. If it's empty when DataStore is created and DataStore is set to DataStore.ContentConfig.CONTENT_REQUIRED, the default parser will default to digital parser.", +"id": "GoogleCloudDiscoveryengineV1betaDocumentProcessingConfig", +"properties": { +"chunkingConfig": { +"$ref": "GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigChunkingConfig", +"description": "Whether chunking mode is enabled." +}, +"defaultParsingConfig": { +"$ref": "GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigParsingConfig", +"description": "Configurations for default Document parser. If not specified, we will configure it as default DigitalParsingConfig, and the default parsing config will be applied to all file types for Document parsing." +}, +"name": { +"description": "The full resource name of the Document Processing Config. Format: `projects/*/locations/*/collections/*/dataStores/*/documentProcessingConfig`.", +"type": "string" +}, +"parsingConfigOverrides": { +"additionalProperties": { +"$ref": "GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigParsingConfig" +}, +"description": "Map from file type to override the default parsing configuration based on the file type. Supported keys: * `pdf`: Override parsing config for PDF files, either digital parsing, ocr parsing or layout parsing is supported. * `html`: Override parsing config for HTML files, only digital parsing and layout parsing are supported. * `docx`: Override parsing config for DOCX files, only digital parsing and layout parsing are supported. * `pptx`: Override parsing config for PPTX files, only digital parsing and layout parsing are supported. * `xlsm`: Override parsing config for XLSM files, only digital parsing and layout parsing are supported. * `xlsx`: Override parsing config for XLSX files, only digital parsing and layout parsing are supported.", +"type": "object" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigChunkingConfig": { +"description": "Configuration for chunking config.", +"id": "GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigChunkingConfig", +"properties": { +"layoutBasedChunkingConfig": { +"$ref": "GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigChunkingConfigLayoutBasedChunkingConfig", +"description": "Configuration for the layout based chunking." +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigChunkingConfigLayoutBasedChunkingConfig": { +"description": "Configuration for the layout based chunking.", +"id": "GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigChunkingConfigLayoutBasedChunkingConfig", +"properties": { +"chunkSize": { +"description": "The token size limit for each chunk. Supported values: 100-500 (inclusive). Default value: 500.", +"format": "int32", +"type": "integer" +}, +"includeAncestorHeadings": { +"description": "Whether to include appending different levels of headings to chunks from the middle of the document to prevent context loss. Default value: False.", +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigParsingConfig": { +"description": "Related configurations applied to a specific type of document parser.", +"id": "GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigParsingConfig", +"properties": { +"digitalParsingConfig": { +"$ref": "GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigParsingConfigDigitalParsingConfig", +"description": "Configurations applied to digital parser." +}, +"layoutParsingConfig": { +"$ref": "GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigParsingConfigLayoutParsingConfig", +"description": "Configurations applied to layout parser." +}, +"ocrParsingConfig": { +"$ref": "GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigParsingConfigOcrParsingConfig", +"description": "Configurations applied to OCR parser. Currently it only applies to PDFs." +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigParsingConfigDigitalParsingConfig": { +"description": "The digital parsing configurations for documents.", +"id": "GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigParsingConfigDigitalParsingConfig", +"properties": {}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigParsingConfigLayoutParsingConfig": { +"description": "The layout parsing configurations for documents.", +"id": "GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigParsingConfigLayoutParsingConfig", +"properties": { +"enableGetProcessedDocument": { +"description": "Optional. If true, the processed document will be made available for the GetProcessedDocument API.", +"type": "boolean" +}, +"enableImageAnnotation": { +"description": "Optional. If true, the LLM based annotation is added to the image during parsing.", +"type": "boolean" +}, +"enableLlmLayoutParsing": { +"description": "Optional. If true, the pdf layout will be refined using an LLM.", +"type": "boolean" +}, +"enableTableAnnotation": { +"description": "Optional. If true, the LLM based annotation is added to the table during parsing.", +"type": "boolean" +}, +"excludeHtmlClasses": { +"description": "Optional. List of HTML classes to exclude from the parsed content.", +"items": { +"type": "string" +}, +"type": "array" +}, +"excludeHtmlElements": { +"description": "Optional. List of HTML elements to exclude from the parsed content.", +"items": { +"type": "string" +}, +"type": "array" +}, +"excludeHtmlIds": { +"description": "Optional. List of HTML ids to exclude from the parsed content.", +"items": { +"type": "string" +}, +"type": "array" +}, +"structuredContentTypes": { +"description": "Optional. Contains the required structure types to extract from the document. Supported values: * `shareholder-structure`", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigParsingConfigOcrParsingConfig": { +"description": "The OCR parsing configurations for documents.", +"id": "GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigParsingConfigOcrParsingConfig", +"properties": { +"enhancedDocumentElements": { +"deprecated": true, +"description": "[DEPRECATED] This field is deprecated. To use the additional enhanced document elements processing, please switch to `layout_parsing_config`.", +"items": { +"type": "string" +}, +"type": "array" +}, +"useNativeText": { +"description": "If true, will use native text instead of OCR text on pages containing native text.", +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1betaEnableAdvancedSiteSearchMetadata": { +"description": "Metadata related to the progress of the SiteSearchEngineService.EnableAdvancedSiteSearch operation. This will be returned by the google.longrunning.Operation.metadata field.", +"id": "GoogleCloudDiscoveryengineV1betaEnableAdvancedSiteSearchMetadata", +"properties": { +"createTime": { +"description": "Operation create time.", +"format": "google-datetime", +"type": "string" +}, +"updateTime": { +"description": "Operation last update time. If the operation is done, this is also the finish time.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1betaEnableAdvancedSiteSearchResponse": { +"description": "Response message for SiteSearchEngineService.EnableAdvancedSiteSearch method.", +"id": "GoogleCloudDiscoveryengineV1betaEnableAdvancedSiteSearchResponse", +"properties": {}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1betaEngine": { +"description": "Metadata that describes the training and serving parameters of an Engine.", +"id": "GoogleCloudDiscoveryengineV1betaEngine", +"properties": { +"appType": { +"description": "Optional. Immutable. This the application type which this engine resource represents. NOTE: this is a new concept independ of existing industry vertical or solution type.", +"enum": [ +"APP_TYPE_UNSPECIFIED", +"APP_TYPE_INTRANET" +], +"enumDescriptions": [ +"All non specified apps.", +"App type for intranet search and Agentspace." +], +"type": "string" +}, +"chatEngineConfig": { +"$ref": "GoogleCloudDiscoveryengineV1betaEngineChatEngineConfig", +"description": "Configurations for the Chat Engine. Only applicable if solution_type is SOLUTION_TYPE_CHAT." +}, +"chatEngineMetadata": { +"$ref": "GoogleCloudDiscoveryengineV1betaEngineChatEngineMetadata", +"description": "Output only. Additional information of the Chat Engine. Only applicable if solution_type is SOLUTION_TYPE_CHAT.", +"readOnly": true +}, +"cmekConfig": { +"$ref": "GoogleCloudDiscoveryengineV1betaCmekConfig", +"description": "Output only. CMEK-related information for the Engine.", +"readOnly": true +}, +"commonConfig": { +"$ref": "GoogleCloudDiscoveryengineV1betaEngineCommonConfig", +"description": "Common config spec that specifies the metadata of the engine." +}, +"configurableBillingApproach": { +"description": "Optional. Configuration for configurable billing approach.", +"enum": [ +"CONFIGURABLE_BILLING_APPROACH_UNSPECIFIED", +"CONFIGURABLE_BILLING_APPROACH_ENABLED" +], +"enumDescriptions": [ +"Default value. For Spark and non-Spark non-configurable billing approach. General pricing model.", +"The billing approach follows configurations specified by customer." +], +"type": "string" +}, +"connectorTenantInfo": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. Maps a connector ID (e.g., \"hybrid-github\", \"shopify\") to tenant-specific information required for that connector. The structure of the tenant information string is connector-dependent.", +"type": "object" +}, +"createTime": { +"description": "Output only. Timestamp the Recommendation Engine was created at.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"dataStoreIds": { +"description": "Optional. The data stores associated with this engine. For SOLUTION_TYPE_SEARCH and SOLUTION_TYPE_RECOMMENDATION type of engines, they can only associate with at most one data store. If solution_type is SOLUTION_TYPE_CHAT, multiple DataStores in the same Collection can be associated here. Note that when used in CreateEngineRequest, one DataStore id must be provided as the system will use it for necessary initializations.", +"items": { +"type": "string" +}, +"type": "array" +}, +"disableAnalytics": { +"description": "Optional. Whether to disable analytics for searches performed on this engine.", +"type": "boolean" +}, +"displayName": { +"description": "Required. The display name of the engine. Should be human readable. UTF-8 encoded string with limit of 1024 characters.", +"type": "string" +}, +"features": { +"additionalProperties": { +"enum": [ +"FEATURE_STATE_UNSPECIFIED", +"FEATURE_STATE_ON", +"FEATURE_STATE_OFF" +], +"enumDescriptions": [ +"The feature state is unspecified.", +"The feature is turned on to be accessible.", +"The feature is turned off to be inaccessible." +], +"type": "string" +}, +"description": "Optional. Feature config for the engine to opt in or opt out of features. Supported keys: * `*`: all features, if it's present, all other feature state settings are ignored. * `agent-gallery` * `no-code-agent-builder` * `prompt-gallery` * `model-selector` * `notebook-lm` * `people-search` * `people-search-org-chart` * `bi-directional-audio` * `feedback` * `session-sharing` * `personalization-memory` * `personalization-suggested-highlights` * `disable-agent-sharing` * `disable-image-generation` * `disable-video-generation` * `disable-onedrive-upload` * `disable-talk-to-content` * `disable-google-drive-upload` * `disable-welcome-emails`", +"type": "object" +}, +"industryVertical": { +"description": "Optional. The industry vertical that the engine registers. The restriction of the Engine industry vertical is based on DataStore: Vertical on Engine has to match vertical of the DataStore linked to the engine.", +"enum": [ +"INDUSTRY_VERTICAL_UNSPECIFIED", +"GENERIC", +"MEDIA", +"HEALTHCARE_FHIR" +], +"enumDescriptions": [ +"Value used when unset.", +"The generic vertical for documents that are not specific to any industry vertical.", +"The media industry vertical.", +"The healthcare FHIR vertical." +], +"type": "string" +}, +"knowledgeGraphConfig": { +"$ref": "GoogleCloudDiscoveryengineV1betaEngineKnowledgeGraphConfig", +"description": "Optional. Configurations for the Knowledge Graph. Only applicable if solution_type is SOLUTION_TYPE_SEARCH." +}, +"marketplaceAgentVisibility": { +"description": "Optional. The visibility of marketplace agents in the agent gallery.", +"enum": [ +"MARKETPLACE_AGENT_VISIBILITY_UNSPECIFIED", +"SHOW_AVAILABLE_AGENTS_ONLY", +"SHOW_AGENTS_ALREADY_INTEGRATED", +"SHOW_AGENTS_ALREADY_PURCHASED", +"SHOW_ALL_AGENTS" +], +"enumDescriptions": [ +"Defaults to `MARKETPLACE_AGENT_VISIBILITY_UNSPECIFIED`.", +"Only agents that are currently available for use by the user are visible.", +"Show marketplace agents that the user does not yet have access to but are integrated into the engine. This level also includes all agents visible with `SHOW_AVAILABLE_AGENTS_ONLY`.", +"Show all agents visible with `SHOW_AGENTS_ALREADY_INTEGRATED`, plus agents that have already been purchased by the project/organization, even if they are not currently integrated into the engine.", +"All agents in the marketplace are visible, regardless of access or purchase status. This level encompasses all agents shown in the previous levels." +], +"type": "string" +}, +"mediaRecommendationEngineConfig": { +"$ref": "GoogleCloudDiscoveryengineV1betaEngineMediaRecommendationEngineConfig", +"description": "Configurations for the Media Engine. Only applicable on the data stores with solution_type SOLUTION_TYPE_RECOMMENDATION and IndustryVertical.MEDIA vertical." +}, +"modelConfigs": { +"additionalProperties": { +"enum": [ +"MODEL_STATE_UNSPECIFIED", +"MODEL_ENABLED", +"MODEL_DISABLED" +], +"enumDescriptions": [ +"The model state is unspecified.", +"The model is enabled by admin.", +"The model is disabled by admin." +], +"type": "string" +}, +"description": "Optional. Maps a model name to its specific configuration for this engine. This allows admin users to turn on/off individual models. This only stores models whose states are overridden by the admin. When the state is unspecified, or model_configs is empty for this model, the system will decide if this model should be available or not based on the default configuration. For example, a preview model should be disabled by default if the admin has not chosen to enable it.", +"type": "object" +}, +"name": { +"description": "Immutable. Identifier. The fully qualified resource name of the engine. This field must be a UTF-8 encoded string with a length limit of 1024 characters. Format: `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}` engine should be 1-63 characters, and valid characters are /a-z0-9*/. Otherwise, an INVALID_ARGUMENT error is returned.", +"type": "string" +}, +"observabilityConfig": { +"$ref": "GoogleCloudDiscoveryengineV1betaObservabilityConfig", +"description": "Optional. Observability config for the engine." +}, +"procurementContactEmail": { +"description": "Optional. The email of the procurement contact.", +"type": "string" +}, +"searchEngineConfig": { +"$ref": "GoogleCloudDiscoveryengineV1betaEngineSearchEngineConfig", +"description": "Configurations for the Search Engine. Only applicable if solution_type is SOLUTION_TYPE_SEARCH." +}, +"solutionType": { +"description": "Required. The solutions of the engine.", +"enum": [ +"SOLUTION_TYPE_UNSPECIFIED", +"SOLUTION_TYPE_RECOMMENDATION", +"SOLUTION_TYPE_SEARCH", +"SOLUTION_TYPE_CHAT", +"SOLUTION_TYPE_GENERATIVE_CHAT", +"SOLUTION_TYPE_AI_MODE" +], +"enumDescriptions": [ +"Default value.", +"Used for Recommendations AI.", +"Used for Discovery Search.", +"Used for use cases related to the Generative AI agent.", +"Used for use cases related to the Generative Chat agent. It's used for Generative chat engine only, the associated data stores must enrolled with `SOLUTION_TYPE_CHAT` solution.", +"Used for AI Mode." +], +"type": "string" +}, +"updateTime": { +"description": "Output only. Timestamp the Recommendation Engine was last updated.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1betaEngineChatEngineConfig": { +"description": "Configurations for a Chat Engine.", +"id": "GoogleCloudDiscoveryengineV1betaEngineChatEngineConfig", +"properties": { +"agentCreationConfig": { +"$ref": "GoogleCloudDiscoveryengineV1betaEngineChatEngineConfigAgentCreationConfig", +"description": "The configurationt generate the Dialogflow agent that is associated to this Engine. Note that these configurations are one-time consumed by and passed to Dialogflow service. It means they cannot be retrieved using EngineService.GetEngine or EngineService.ListEngines API after engine creation." +}, +"allowCrossRegion": { +"description": "Optional. If the flag set to true, we allow the agent and engine are in different locations, otherwise the agent and engine are required to be in the same location. The flag is set to false by default. Note that the `allow_cross_region` are one-time consumed by and passed to EngineService.CreateEngine. It means they cannot be retrieved using EngineService.GetEngine or EngineService.ListEngines API after engine creation.", +"type": "boolean" +}, +"dialogflowAgentToLink": { +"description": "The resource name of an exist Dialogflow agent to link to this Chat Engine. Customers can either provide `agent_creation_config` to create agent or provide an agent name that links the agent with the Chat engine. Format: `projects//locations//agents/`. Note that the `dialogflow_agent_to_link` are one-time consumed by and passed to Dialogflow service. It means they cannot be retrieved using EngineService.GetEngine or EngineService.ListEngines API after engine creation. Use ChatEngineMetadata.dialogflow_agent for actual agent association after Engine is created.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1betaEngineChatEngineConfigAgentCreationConfig": { +"description": "Configurations for generating a Dialogflow agent. Note that these configurations are one-time consumed by and passed to Dialogflow service. It means they cannot be retrieved using EngineService.GetEngine or EngineService.ListEngines API after engine creation.", +"id": "GoogleCloudDiscoveryengineV1betaEngineChatEngineConfigAgentCreationConfig", +"properties": { +"business": { +"description": "Name of the company, organization or other entity that the agent represents. Used for knowledge connector LLM prompt and for knowledge search.", +"type": "string" +}, +"defaultLanguageCode": { +"description": "Required. The default language of the agent as a language tag. See [Language Support](https://cloud.google.com/dialogflow/docs/reference/language) for a list of the currently supported language codes.", +"type": "string" +}, +"location": { +"description": "Agent location for Agent creation, supported values: global/us/eu. If not provided, us Engine will create Agent using us-central-1 by default; eu Engine will create Agent using eu-west-1 by default.", +"type": "string" +}, +"timeZone": { +"description": "Required. The time zone of the agent from the [time zone database](https://www.iana.org/time-zones), e.g., America/New_York, Europe/Paris.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1betaEngineChatEngineMetadata": { +"description": "Additional information of a Chat Engine. Fields in this message are output only.", +"id": "GoogleCloudDiscoveryengineV1betaEngineChatEngineMetadata", +"properties": { +"dialogflowAgent": { +"description": "The resource name of a Dialogflow agent, that this Chat Engine refers to. Format: `projects//locations//agents/`.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1betaEngineCommonConfig": { +"description": "Common configurations for an Engine.", +"id": "GoogleCloudDiscoveryengineV1betaEngineCommonConfig", +"properties": { +"companyName": { +"description": "The name of the company, business or entity that is associated with the engine. Setting this may help improve LLM related features.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1betaEngineKnowledgeGraphConfig": { +"description": "Configuration message for the Knowledge Graph.", +"id": "GoogleCloudDiscoveryengineV1betaEngineKnowledgeGraphConfig", +"properties": { +"cloudKnowledgeGraphTypes": { +"description": "Specify entity types to support.", +"items": { +"type": "string" +}, +"type": "array" +}, +"enableCloudKnowledgeGraph": { +"description": "Whether to enable the Cloud Knowledge Graph for the engine. Defaults to false if not specified.", +"type": "boolean" +}, +"enablePrivateKnowledgeGraph": { +"description": "Whether to enable the Private Knowledge Graph for the engine. Defaults to false if not specified.", +"type": "boolean" +}, +"featureConfig": { +"$ref": "GoogleCloudDiscoveryengineV1betaEngineKnowledgeGraphConfigFeatureConfig", +"description": "Optional. Feature config for the Knowledge Graph." +}, +"privateKnowledgeGraphTypes": { +"description": "Specify entity types to support.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1betaEngineKnowledgeGraphConfigFeatureConfig": { +"description": "Feature config for the Knowledge Graph.", +"id": "GoogleCloudDiscoveryengineV1betaEngineKnowledgeGraphConfigFeatureConfig", +"properties": { +"disablePrivateKgAutoComplete": { +"description": "Whether to disable the private KG auto complete for the engine. Defaults to false if not specified.", +"type": "boolean" +}, +"disablePrivateKgEnrichment": { +"description": "Whether to disable the private KG enrichment for the engine. Defaults to false if not specified.", +"type": "boolean" +}, +"disablePrivateKgQueryUiChips": { +"description": "Whether to disable the private KG for query UI chips. Defaults to false if not specified.", +"type": "boolean" +}, +"disablePrivateKgQueryUnderstanding": { +"description": "Whether to disable the private KG query understanding for the engine. Defaults to false if not specified.", +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1betaEngineMediaRecommendationEngineConfig": { +"description": "Additional config specs for a Media Recommendation engine.", +"id": "GoogleCloudDiscoveryengineV1betaEngineMediaRecommendationEngineConfig", +"properties": { +"engineFeaturesConfig": { +"$ref": "GoogleCloudDiscoveryengineV1betaEngineMediaRecommendationEngineConfigEngineFeaturesConfig", +"description": "Optional. Additional engine features config." +}, +"optimizationObjective": { +"description": "The optimization objective. e.g., `cvr`. This field together with optimization_objective describe engine metadata to use to control engine training and serving. Currently supported values: `ctr`, `cvr`. If not specified, we choose default based on engine type. Default depends on type of recommendation: `recommended-for-you` => `ctr` `others-you-may-like` => `ctr`", +"type": "string" +}, +"optimizationObjectiveConfig": { +"$ref": "GoogleCloudDiscoveryengineV1betaEngineMediaRecommendationEngineConfigOptimizationObjectiveConfig", +"description": "Name and value of the custom threshold for cvr optimization_objective. For target_field `watch-time`, target_field_value must be an integer value indicating the media progress time in seconds between (0, 86400] (excludes 0, includes 86400) (e.g., 90). For target_field `watch-percentage`, the target_field_value must be a valid float value between (0, 1.0] (excludes 0, includes 1.0) (e.g., 0.5)." +}, +"trainingState": { +"description": "The training state that the engine is in (e.g. `TRAINING` or `PAUSED`). Since part of the cost of running the service is frequency of training - this can be used to determine when to train engine in order to control cost. If not specified: the default value for `CreateEngine` method is `TRAINING`. The default value for `UpdateEngine` method is to keep the state the same as before.", +"enum": [ +"TRAINING_STATE_UNSPECIFIED", +"PAUSED", +"TRAINING" +], +"enumDescriptions": [ +"Unspecified training state.", +"The engine training is paused.", +"The engine is training." +], +"type": "string" +}, +"type": { +"description": "Required. The type of engine. e.g., `recommended-for-you`. This field together with optimization_objective describe engine metadata to use to control engine training and serving. Currently supported values: `recommended-for-you`, `others-you-may-like`, `more-like-this`, `most-popular-items`.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1betaEngineMediaRecommendationEngineConfigEngineFeaturesConfig": { +"description": "More feature configs of the selected engine type.", +"id": "GoogleCloudDiscoveryengineV1betaEngineMediaRecommendationEngineConfigEngineFeaturesConfig", +"properties": { +"mostPopularConfig": { +"$ref": "GoogleCloudDiscoveryengineV1betaEngineMediaRecommendationEngineConfigMostPopularFeatureConfig", +"description": "Most popular engine feature config." +}, +"recommendedForYouConfig": { +"$ref": "GoogleCloudDiscoveryengineV1betaEngineMediaRecommendationEngineConfigRecommendedForYouFeatureConfig", +"description": "Recommended for you engine feature config." +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1betaEngineMediaRecommendationEngineConfigMostPopularFeatureConfig": { +"description": "Feature configurations that are required for creating a Most Popular engine.", +"id": "GoogleCloudDiscoveryengineV1betaEngineMediaRecommendationEngineConfigMostPopularFeatureConfig", +"properties": { +"timeWindowDays": { +"description": "The time window of which the engine is queried at training and prediction time. Positive integers only. The value translates to the last X days of events. Currently required for the `most-popular-items` engine.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1betaEngineMediaRecommendationEngineConfigOptimizationObjectiveConfig": { +"description": "Custom threshold for `cvr` optimization_objective.", +"id": "GoogleCloudDiscoveryengineV1betaEngineMediaRecommendationEngineConfigOptimizationObjectiveConfig", +"properties": { +"targetField": { +"description": "Required. The name of the field to target. Currently supported values: `watch-percentage`, `watch-time`.", +"type": "string" +}, +"targetFieldValueFloat": { +"description": "Required. The threshold to be applied to the target (e.g., 0.5).", +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1betaEngineMediaRecommendationEngineConfigRecommendedForYouFeatureConfig": { +"description": "Additional feature configurations for creating a `recommended-for-you` engine.", +"id": "GoogleCloudDiscoveryengineV1betaEngineMediaRecommendationEngineConfigRecommendedForYouFeatureConfig", +"properties": { +"contextEventType": { +"description": "The type of event with which the engine is queried at prediction time. If set to `generic`, only `view-item`, `media-play`,and `media-complete` will be used as `context-event` in engine training. If set to `view-home-page`, `view-home-page` will also be used as `context-events` in addition to `view-item`, `media-play`, and `media-complete`. Currently supported for the `recommended-for-you` engine. Currently supported values: `view-home-page`, `generic`.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1betaEngineSearchEngineConfig": { +"description": "Configurations for a Search Engine.", +"id": "GoogleCloudDiscoveryengineV1betaEngineSearchEngineConfig", +"properties": { +"requiredSubscriptionTier": { +"description": "Optional. The required subscription tier of this engine. They cannot be modified after engine creation. If the required subscription tier is search, user with higher license tier like assist can still access the standalone app associated with this engine.", +"enum": [ +"SUBSCRIPTION_TIER_UNSPECIFIED", +"SUBSCRIPTION_TIER_SEARCH", +"SUBSCRIPTION_TIER_SEARCH_AND_ASSISTANT", +"SUBSCRIPTION_TIER_NOTEBOOK_LM", +"SUBSCRIPTION_TIER_FRONTLINE_WORKER", +"SUBSCRIPTION_TIER_AGENTSPACE_STARTER", +"SUBSCRIPTION_TIER_AGENTSPACE_BUSINESS", +"SUBSCRIPTION_TIER_ENTERPRISE", +"SUBSCRIPTION_TIER_ENTERPRISE_EMERGING", +"SUBSCRIPTION_TIER_EDU", +"SUBSCRIPTION_TIER_EDU_PRO", +"SUBSCRIPTION_TIER_EDU_EMERGING", +"SUBSCRIPTION_TIER_EDU_PRO_EMERGING", +"SUBSCRIPTION_TIER_FRONTLINE_STARTER" +], +"enumDescriptions": [ +"Default value.", +"Search tier. Search tier can access Vertex AI Search features and NotebookLM features.", +"Gemini Enterprise Plus tier.", +"NotebookLM tier. NotebookLM is a subscription tier can only access NotebookLM features.", +"Gemini Frontline worker tier.", +"Gemini Business Starter tier.", +"Gemini Business tier.", +"Gemini Enterprise Standard tier.", +"Gemini Enterprise Standard tier for emerging markets.", +"Gemini Enterprise EDU tier.", +"Gemini Enterprise EDU Pro tier.", +"Gemini Enterprise EDU tier for emerging market only.", +"Gemini Enterprise EDU Pro tier for emerging market.", +"Gemini Frontline Starter tier." +], +"type": "string" +}, +"searchAddOns": { +"description": "The add-on that this search engine enables.", +"items": { +"enum": [ +"SEARCH_ADD_ON_UNSPECIFIED", +"SEARCH_ADD_ON_LLM" +], +"enumDescriptions": [ +"Default value when the enum is unspecified. This is invalid to use.", +"Large language model add-on." +], +"type": "string" +}, +"type": "array" +}, +"searchTier": { +"description": "The search feature tier of this engine. Different tiers might have different pricing. To learn more, check the pricing documentation. Defaults to SearchTier.SEARCH_TIER_STANDARD if not specified.", +"enum": [ +"SEARCH_TIER_UNSPECIFIED", +"SEARCH_TIER_STANDARD", +"SEARCH_TIER_ENTERPRISE" +], +"enumDescriptions": [ +"Default value when the enum is unspecified. This is invalid to use.", +"Standard tier.", +"Enterprise tier." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1betaEvaluation": { +"description": "An evaluation is a single execution (or run) of an evaluation process. It encapsulates the state of the evaluation and the resulting data.", +"id": "GoogleCloudDiscoveryengineV1betaEvaluation", +"properties": { +"createTime": { +"description": "Output only. Timestamp the Evaluation was created at.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"endTime": { +"description": "Output only. Timestamp the Evaluation was completed at.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"error": { +"$ref": "GoogleRpcStatus", +"description": "Output only. The error that occurred during evaluation. Only populated when the evaluation's state is FAILED.", +"readOnly": true +}, +"errorSamples": { +"description": "Output only. A sample of errors encountered while processing the request.", +"items": { +"$ref": "GoogleRpcStatus" +}, +"readOnly": true, +"type": "array" +}, +"evaluationSpec": { +"$ref": "GoogleCloudDiscoveryengineV1betaEvaluationEvaluationSpec", +"description": "Required. The specification of the evaluation." +}, +"name": { +"description": "Identifier. The full resource name of the Evaluation, in the format of `projects/{project}/locations/{location}/evaluations/{evaluation}`. This field must be a UTF-8 encoded string with a length limit of 1024 characters.", +"type": "string" +}, +"qualityMetrics": { +"$ref": "GoogleCloudDiscoveryengineV1betaQualityMetrics", +"description": "Output only. The metrics produced by the evaluation, averaged across all SampleQuerys in the SampleQuerySet. Only populated when the evaluation's state is SUCCEEDED.", +"readOnly": true +}, +"state": { +"description": "Output only. The state of the evaluation.", +"enum": [ +"STATE_UNSPECIFIED", +"PENDING", +"RUNNING", +"SUCCEEDED", +"FAILED" +], +"enumDescriptions": [ +"The evaluation is unspecified.", +"The service is preparing to run the evaluation.", +"The evaluation is in progress.", +"The evaluation completed successfully.", +"The evaluation failed." +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1betaEvaluationEvaluationSpec": { +"description": "Describes the specification of the evaluation.", +"id": "GoogleCloudDiscoveryengineV1betaEvaluationEvaluationSpec", +"properties": { +"querySetSpec": { +"$ref": "GoogleCloudDiscoveryengineV1betaEvaluationEvaluationSpecQuerySetSpec", +"description": "Optional. The specification of the query set." +}, +"searchRequest": { +"$ref": "GoogleCloudDiscoveryengineV1betaSearchRequest", +"description": "Required. The search request that is used to perform the evaluation. Only the following fields within SearchRequest are supported; if any other fields are provided, an UNSUPPORTED error will be returned: * SearchRequest.serving_config * SearchRequest.branch * SearchRequest.canonical_filter * SearchRequest.query_expansion_spec * SearchRequest.spell_correction_spec * SearchRequest.content_search_spec * SearchRequest.user_pseudo_id" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1betaEvaluationEvaluationSpecQuerySetSpec": { +"description": "Describes the specification of the query set.", +"id": "GoogleCloudDiscoveryengineV1betaEvaluationEvaluationSpecQuerySetSpec", +"properties": { +"sampleQuerySet": { +"description": "Optional. The full resource name of the SampleQuerySet used for the evaluation, in the format of `projects/{project}/locations/{location}/sampleQuerySets/{sampleQuerySet}`.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1betaHealthcareFhirConfig": { +"description": "Config to data store for `HEALTHCARE_FHIR` vertical.", +"id": "GoogleCloudDiscoveryengineV1betaHealthcareFhirConfig", +"properties": { +"enableConfigurableSchema": { +"description": "Whether to enable configurable schema for `HEALTHCARE_FHIR` vertical. If set to `true`, the predefined healthcare fhir schema can be extended for more customized searching and filtering.", +"type": "boolean" +}, +"enableStaticIndexingForBatchIngestion": { +"description": "Whether to enable static indexing for `HEALTHCARE_FHIR` batch ingestion. If set to `true`, the batch ingestion will be processed in a static indexing mode which is slower but more capable of handling larger volume.", +"type": "boolean" +}, +"initialFilterGroups": { +"description": "Optional. Names of the Group resources to use as a basis for the initial patient filter, in format `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/fhirStores/{fhir_store_id}/fhir/Group/{group_id}`. The filter group must be a FHIR resource name of type Group, and the filter will be constructed from the direct members of the group which are Patient resources.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1betaIdentityMappingEntryOperationMetadata": { +"description": "IdentityMappingEntry LongRunningOperation metadata for IdentityMappingStoreService.ImportIdentityMappings and IdentityMappingStoreService.PurgeIdentityMappings", +"id": "GoogleCloudDiscoveryengineV1betaIdentityMappingEntryOperationMetadata", +"properties": { +"failureCount": { +"description": "The number of IdentityMappingEntries that failed to be processed.", +"format": "int64", +"type": "string" +}, +"successCount": { +"description": "The number of IdentityMappingEntries that were successfully processed.", +"format": "int64", +"type": "string" +}, +"totalCount": { +"description": "The total number of IdentityMappingEntries that were processed.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1betaIdpConfig": { +"description": "Identity Provider Config.", +"id": "GoogleCloudDiscoveryengineV1betaIdpConfig", +"properties": { +"externalIdpConfig": { +"$ref": "GoogleCloudDiscoveryengineV1betaIdpConfigExternalIdpConfig", +"description": "External Identity provider config." +}, +"idpType": { +"description": "Identity provider type configured.", +"enum": [ +"IDP_TYPE_UNSPECIFIED", +"GSUITE", +"THIRD_PARTY" +], +"enumDescriptions": [ +"Default value. ACL search not enabled.", +"Google 1P provider.", +"Third party provider." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1betaIdpConfigExternalIdpConfig": { +"description": "Third party IDP Config.", +"id": "GoogleCloudDiscoveryengineV1betaIdpConfigExternalIdpConfig", +"properties": { +"workforcePoolName": { +"description": "Workforce pool name. Example: \"locations/global/workforcePools/pool_id\"", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1betaImportCompletionSuggestionsMetadata": { +"description": "Metadata related to the progress of the ImportCompletionSuggestions operation. This will be returned by the google.longrunning.Operation.metadata field.", +"id": "GoogleCloudDiscoveryengineV1betaImportCompletionSuggestionsMetadata", +"properties": { +"createTime": { +"description": "Operation create time.", +"format": "google-datetime", +"type": "string" +}, +"failureCount": { +"description": "Count of CompletionSuggestions that failed to be imported.", +"format": "int64", +"type": "string" +}, +"successCount": { +"description": "Count of CompletionSuggestions successfully imported.", +"format": "int64", +"type": "string" +}, +"updateTime": { +"description": "Operation last update time. If the operation is done, this is also the finish time.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1betaImportCompletionSuggestionsResponse": { +"description": "Response of the CompletionService.ImportCompletionSuggestions method. If the long running operation is done, this message is returned by the google.longrunning.Operations.response field if the operation is successful.", +"id": "GoogleCloudDiscoveryengineV1betaImportCompletionSuggestionsResponse", +"properties": { +"errorConfig": { +"$ref": "GoogleCloudDiscoveryengineV1betaImportErrorConfig", +"description": "The desired location of errors incurred during the Import." +}, +"errorSamples": { +"description": "A sample of errors encountered while processing the request.", +"items": { +"$ref": "GoogleRpcStatus" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1betaImportDocumentsMetadata": { +"description": "Metadata related to the progress of the ImportDocuments operation. This is returned by the google.longrunning.Operation.metadata field.", +"id": "GoogleCloudDiscoveryengineV1betaImportDocumentsMetadata", +"properties": { +"createTime": { +"description": "Operation create time.", +"format": "google-datetime", +"type": "string" +}, +"failureCount": { +"description": "Count of entries that encountered errors while processing.", +"format": "int64", +"type": "string" +}, +"successCount": { +"description": "Count of entries that were processed successfully.", +"format": "int64", +"type": "string" +}, +"totalCount": { +"description": "Total count of entries that were processed.", +"format": "int64", +"type": "string" +}, +"updateTime": { +"description": "Operation last update time. If the operation is done, this is also the finish time.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1betaImportDocumentsResponse": { +"description": "Response of the ImportDocumentsRequest. If the long running operation is done, then this message is returned by the google.longrunning.Operations.response field if the operation was successful.", +"id": "GoogleCloudDiscoveryengineV1betaImportDocumentsResponse", +"properties": { +"errorConfig": { +"$ref": "GoogleCloudDiscoveryengineV1betaImportErrorConfig", +"description": "Echoes the destination for the complete errors in the request if set." +}, +"errorSamples": { +"description": "A sample of errors encountered while processing the request.", +"items": { +"$ref": "GoogleRpcStatus" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1betaImportErrorConfig": { +"description": "Configuration of destination for Import related errors.", +"id": "GoogleCloudDiscoveryengineV1betaImportErrorConfig", +"properties": { +"gcsPrefix": { +"description": "Cloud Storage prefix for import errors. This must be an empty, existing Cloud Storage directory. Import errors are written to sharded files in this directory, one per line, as a JSON-encoded `google.rpc.Status` message.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1betaImportIdentityMappingsResponse": { +"description": "Response message for IdentityMappingStoreService.ImportIdentityMappings", +"id": "GoogleCloudDiscoveryengineV1betaImportIdentityMappingsResponse", +"properties": { +"errorSamples": { +"description": "A sample of errors encountered while processing the request.", +"items": { +"$ref": "GoogleRpcStatus" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1betaImportSampleQueriesMetadata": { +"description": "Metadata related to the progress of the ImportSampleQueries operation. This will be returned by the google.longrunning.Operation.metadata field.", +"id": "GoogleCloudDiscoveryengineV1betaImportSampleQueriesMetadata", +"properties": { +"createTime": { +"description": "ImportSampleQueries operation create time.", +"format": "google-datetime", +"type": "string" +}, +"failureCount": { +"description": "Count of SampleQuerys that failed to be imported.", +"format": "int64", +"type": "string" +}, +"successCount": { +"description": "Count of SampleQuerys successfully imported.", +"format": "int64", +"type": "string" +}, +"totalCount": { +"description": "Total count of SampleQuerys that were processed.", +"format": "int64", +"type": "string" +}, +"updateTime": { +"description": "ImportSampleQueries operation last update time. If the operation is done, this is also the finish time.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1betaImportSampleQueriesResponse": { +"description": "Response of the SampleQueryService.ImportSampleQueries method. If the long running operation is done, this message is returned by the google.longrunning.Operations.response field if the operation is successful.", +"id": "GoogleCloudDiscoveryengineV1betaImportSampleQueriesResponse", +"properties": { +"errorConfig": { +"$ref": "GoogleCloudDiscoveryengineV1betaImportErrorConfig", +"description": "The desired location of errors incurred during the Import." +}, +"errorSamples": { +"description": "A sample of errors encountered while processing the request.", +"items": { +"$ref": "GoogleRpcStatus" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1betaImportSuggestionDenyListEntriesMetadata": { +"description": "Metadata related to the progress of the ImportSuggestionDenyListEntries operation. This is returned by the google.longrunning.Operation.metadata field.", +"id": "GoogleCloudDiscoveryengineV1betaImportSuggestionDenyListEntriesMetadata", +"properties": { +"createTime": { +"description": "Operation create time.", +"format": "google-datetime", +"type": "string" +}, +"updateTime": { +"description": "Operation last update time. If the operation is done, this is also the finish time.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1betaImportSuggestionDenyListEntriesResponse": { +"description": "Response message for CompletionService.ImportSuggestionDenyListEntries method.", +"id": "GoogleCloudDiscoveryengineV1betaImportSuggestionDenyListEntriesResponse", +"properties": { +"errorSamples": { +"description": "A sample of errors encountered while processing the request.", +"items": { +"$ref": "GoogleRpcStatus" +}, +"type": "array" +}, +"failedEntriesCount": { +"description": "Count of deny list entries that failed to be imported.", +"format": "int64", +"type": "string" +}, +"importedEntriesCount": { +"description": "Count of deny list entries successfully imported.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1betaImportUserEventsMetadata": { +"description": "Metadata related to the progress of the Import operation. This is returned by the google.longrunning.Operation.metadata field.", +"id": "GoogleCloudDiscoveryengineV1betaImportUserEventsMetadata", +"properties": { +"createTime": { +"description": "Operation create time.", +"format": "google-datetime", +"type": "string" +}, +"failureCount": { +"description": "Count of entries that encountered errors while processing.", +"format": "int64", +"type": "string" +}, +"successCount": { +"description": "Count of entries that were processed successfully.", +"format": "int64", +"type": "string" +}, +"updateTime": { +"description": "Operation last update time. If the operation is done, this is also the finish time.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1betaImportUserEventsResponse": { +"description": "Response of the ImportUserEventsRequest. If the long running operation was successful, then this message is returned by the google.longrunning.Operations.response field if the operation was successful.", +"id": "GoogleCloudDiscoveryengineV1betaImportUserEventsResponse", +"properties": { +"errorConfig": { +"$ref": "GoogleCloudDiscoveryengineV1betaImportErrorConfig", +"description": "Echoes the destination for the complete errors if this field was set in the request." +}, +"errorSamples": { +"description": "A sample of errors encountered while processing the request.", +"items": { +"$ref": "GoogleRpcStatus" +}, +"type": "array" +}, +"joinedEventsCount": { +"description": "Count of user events imported with complete existing Documents.", +"format": "int64", +"type": "string" +}, +"unjoinedEventsCount": { +"description": "Count of user events imported, but with Document information not found in the existing Branch.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1betaInterval": { +"description": "A floating point interval.", +"id": "GoogleCloudDiscoveryengineV1betaInterval", +"properties": { +"exclusiveMaximum": { +"description": "Exclusive upper bound.", +"format": "double", +"type": "number" +}, +"exclusiveMinimum": { +"description": "Exclusive lower bound.", +"format": "double", +"type": "number" +}, +"maximum": { +"description": "Inclusive upper bound.", +"format": "double", +"type": "number" +}, +"minimum": { +"description": "Inclusive lower bound.", +"format": "double", +"type": "number" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1betaLanguageInfo": { +"description": "Language info for DataStore.", +"id": "GoogleCloudDiscoveryengineV1betaLanguageInfo", +"properties": { +"language": { +"description": "Output only. Language part of normalized_language_code. E.g.: `en-US` -> `en`, `zh-Hans-HK` -> `zh`, `en` -> `en`.", +"readOnly": true, +"type": "string" +}, +"languageCode": { +"description": "The language code for the DataStore.", +"type": "string" +}, +"normalizedLanguageCode": { +"description": "Output only. This is the normalized form of language_code. E.g.: language_code of `en-GB`, `en_GB`, `en-UK` or `en-gb` will have normalized_language_code of `en-GB`.", +"readOnly": true, +"type": "string" +}, +"region": { +"description": "Output only. Region part of normalized_language_code, if present. E.g.: `en-US` -> `US`, `zh-Hans-HK` -> `HK`, `en` -> ``.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1betaLicenseConfig": { +"description": "Information about users' licenses.", +"id": "GoogleCloudDiscoveryengineV1betaLicenseConfig", +"properties": { +"autoRenew": { +"description": "Optional. Whether the license config should be auto renewed when it reaches the end date.", +"type": "boolean" +}, +"earlyTerminated": { +"description": "Output only. Indication of whether the subscription is terminated earlier than the expiration date. This is usually terminated by pipeline once the subscription gets terminated from subsv3.", +"readOnly": true, +"type": "boolean" +}, +"earlyTerminationDate": { +"$ref": "GoogleTypeDate", +"description": "Output only. The date when the subscription is terminated earlier than the expiration date.", +"readOnly": true +}, +"endDate": { +"$ref": "GoogleTypeDate", +"description": "Optional. The planed end date." +}, +"freeTrial": { +"description": "Optional. Whether the license config is for free trial.", +"type": "boolean" +}, +"geminiBundle": { +"description": "Output only. Whether the license config is for Gemini bundle.", +"readOnly": true, +"type": "boolean" +}, +"licenseCount": { +"description": "Required. Number of licenses purchased.", +"format": "int64", +"type": "string" +}, +"name": { +"description": "Immutable. Identifier. The fully qualified resource name of the license config. Format: `projects/{project}/locations/{location}/licenseConfigs/{license_config}`", +"type": "string" +}, +"startDate": { +"$ref": "GoogleTypeDate", +"description": "Required. The start date." +}, +"state": { +"description": "Output only. The state of the license config.", +"enum": [ +"STATE_UNSPECIFIED", +"ACTIVE", +"EXPIRED", +"NOT_STARTED", +"WITHDRAWN", +"DEACTIVATING" +], +"enumDescriptions": [ +"Default value. The license config does not exist.", +"The license config is effective and being used.", +"The license config has expired.", +"The license config has not started yet, and its start date is in the future.", +"This is when a sub license config has returned all its seats back to BillingAccountLicenseConfig that it belongs to. Similar to EXPIRED.", +"The license config is terminated earlier than the expiration date and it is deactivating. The customer will still have access in this state. It will be converted to EXPIRED after the deactivating period ends (14 days) or when the end date is reached, whichever comes first." +], +"readOnly": true, +"type": "string" +}, +"subscriptionTerm": { +"description": "Required. Subscription term.", +"enum": [ +"SUBSCRIPTION_TERM_UNSPECIFIED", +"SUBSCRIPTION_TERM_ONE_MONTH", +"SUBSCRIPTION_TERM_ONE_YEAR", +"SUBSCRIPTION_TERM_THREE_YEARS", +"SUBSCRIPTION_TERM_CUSTOM" +], +"enumDescriptions": [ +"Default value, do not use.", +"1 month.", +"1 year.", +"3 years.", +"Custom term. Must set the end_date." +], +"type": "string" +}, +"subscriptionTier": { +"description": "Required. Subscription tier information for the license config.", +"enum": [ +"SUBSCRIPTION_TIER_UNSPECIFIED", +"SUBSCRIPTION_TIER_SEARCH", +"SUBSCRIPTION_TIER_SEARCH_AND_ASSISTANT", +"SUBSCRIPTION_TIER_NOTEBOOK_LM", +"SUBSCRIPTION_TIER_FRONTLINE_WORKER", +"SUBSCRIPTION_TIER_AGENTSPACE_STARTER", +"SUBSCRIPTION_TIER_AGENTSPACE_BUSINESS", +"SUBSCRIPTION_TIER_ENTERPRISE", +"SUBSCRIPTION_TIER_ENTERPRISE_EMERGING", +"SUBSCRIPTION_TIER_EDU", +"SUBSCRIPTION_TIER_EDU_PRO", +"SUBSCRIPTION_TIER_EDU_EMERGING", +"SUBSCRIPTION_TIER_EDU_PRO_EMERGING", +"SUBSCRIPTION_TIER_FRONTLINE_STARTER" +], +"enumDescriptions": [ +"Default value.", +"Search tier. Search tier can access Vertex AI Search features and NotebookLM features.", +"Gemini Enterprise Plus tier.", +"NotebookLM tier. NotebookLM is a subscription tier can only access NotebookLM features.", +"Gemini Frontline worker tier.", +"Gemini Business Starter tier.", +"Gemini Business tier.", +"Gemini Enterprise Standard tier.", +"Gemini Enterprise Standard tier for emerging markets.", +"Gemini Enterprise EDU tier.", +"Gemini Enterprise EDU Pro tier.", +"Gemini Enterprise EDU tier for emerging market only.", +"Gemini Enterprise EDU Pro tier for emerging market.", +"Gemini Frontline Starter tier." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1betaNaturalLanguageQueryUnderstandingConfig": { +"description": "Configuration for Natural Language Query Understanding.", +"id": "GoogleCloudDiscoveryengineV1betaNaturalLanguageQueryUnderstandingConfig", +"properties": { +"mode": { +"description": "Mode of Natural Language Query Understanding. If this field is unset, the behavior defaults to NaturalLanguageQueryUnderstandingConfig.Mode.DISABLED.", +"enum": [ +"MODE_UNSPECIFIED", +"DISABLED", +"ENABLED" +], +"enumDescriptions": [ +"Default value.", +"Natural Language Query Understanding is disabled.", +"Natural Language Query Understanding is enabled." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1betaObservabilityConfig": { +"description": "Observability config for a resource.", +"id": "GoogleCloudDiscoveryengineV1betaObservabilityConfig", +"properties": { +"observabilityEnabled": { +"description": "Optional. Enables observability. If false, all other flags are ignored.", +"type": "boolean" +}, +"sensitiveLoggingEnabled": { +"description": "Optional. Enables sensitive logging. Sensitive logging includes customer core content (e.g. prompts, responses). If false, will sanitize all sensitive fields.", +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1betaObtainCrawlRateResponse": { +"description": "Response message for CrawlRateManagementService.ObtainCrawlRate method. The response contains organcic or dedicated crawl rate time series data for monitoring, depending on whether dedicated crawl rate is set.", +"id": "GoogleCloudDiscoveryengineV1betaObtainCrawlRateResponse", +"properties": { +"dedicatedCrawlRateTimeSeries": { +"$ref": "GoogleCloudDiscoveryengineV1betaDedicatedCrawlRateTimeSeries", +"description": "The historical dedicated crawl rate timeseries data, used for monitoring." +}, +"error": { +"$ref": "GoogleRpcStatus", +"description": "Errors from service when handling the request." +}, +"organicCrawlRateTimeSeries": { +"$ref": "GoogleCloudDiscoveryengineV1betaOrganicCrawlRateTimeSeries", +"description": "The historical organic crawl rate timeseries data, used for monitoring." +}, +"state": { +"description": "Output only. The state of the response.", +"enum": [ +"STATE_UNSPECIFIED", +"SUCCEEDED", +"FAILED" +], +"enumDescriptions": [ +"The state is unspecified.", +"The state is successful.", +"The state is failed." +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1betaOrganicCrawlRateTimeSeries": { +"description": "The historical organic crawl rate timeseries data, used for monitoring. Organic crawl is auto-determined by Google to crawl the user's website when dedicate crawl is not set. Crawl rate is the QPS of crawl request Google sends to the user's website.", +"id": "GoogleCloudDiscoveryengineV1betaOrganicCrawlRateTimeSeries", +"properties": { +"googleOrganicCrawlRate": { +"$ref": "GoogleCloudDiscoveryengineV1betaCrawlRateTimeSeries", +"description": "Google's organic crawl rate time series, which is the sum of all googlebots' crawl rate. Please refer to https://developers.google.com/search/docs/crawling-indexing/overview-google-crawlers for more details about googlebots." +}, +"vertexAiOrganicCrawlRate": { +"$ref": "GoogleCloudDiscoveryengineV1betaCrawlRateTimeSeries", +"description": "Vertex AI's organic crawl rate time series, which is the crawl rate of Google-CloudVertexBot when dedicate crawl is not set. Please refer to https://developers.google.com/search/docs/crawling-indexing/google-common-crawlers#google-cloudvertexbot for more details about Google-CloudVertexBot." +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1betaProject": { +"description": "Metadata and configurations for a Google Cloud project in the service.", +"id": "GoogleCloudDiscoveryengineV1betaProject", +"properties": { +"configurableBillingStatus": { +"$ref": "GoogleCloudDiscoveryengineV1betaProjectConfigurableBillingStatus", +"description": "Output only. The current status of the project's configurable billing.", +"readOnly": true +}, +"createTime": { +"description": "Output only. The timestamp when this project is created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"customerProvidedConfig": { +"$ref": "GoogleCloudDiscoveryengineV1betaProjectCustomerProvidedConfig", +"description": "Optional. Customer provided configurations." +}, +"name": { +"description": "Output only. Full resource name of the project, for example `projects/{project}`. Note that when making requests, project number and project id are both acceptable, but the server will always respond in project number.", +"readOnly": true, +"type": "string" +}, +"provisionCompletionTime": { +"description": "Output only. The timestamp when this project is successfully provisioned. Empty value means this project is still provisioning and is not ready for use.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"serviceTermsMap": { +"additionalProperties": { +"$ref": "GoogleCloudDiscoveryengineV1betaProjectServiceTerms" +}, +"description": "Output only. A map of terms of services. The key is the `id` of ServiceTerms.", +"readOnly": true, +"type": "object" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1betaProjectConfigurableBillingStatus": { +"description": "Represents the currently effective configurable billing parameters. These values are derived from the customer's subscription history stored internally and reflect the thresholds actively being used for billing purposes at the time of the GetProject call. This includes the start_time of the subscription and may differ from the values in `customer_provided_config` due to billing rules (e.g., scale-downs taking effect only at the start of a new month).", +"id": "GoogleCloudDiscoveryengineV1betaProjectConfigurableBillingStatus", +"properties": { +"effectiveIndexingCoreThreshold": { +"description": "Optional. The currently effective Indexing Core threshold. This is the threshold against which Indexing Core usage is compared for overage calculations.", +"format": "int64", +"type": "string" +}, +"effectiveSearchQpmThreshold": { +"description": "Optional. The currently effective Search QPM threshold in queries per minute. This is the threshold against which QPM usage is compared for overage calculations.", +"format": "int64", +"type": "string" +}, +"indexingCoreThresholdNextUpdateTime": { +"description": "Output only. The earliest next update time for the indexing core subscription threshold. This is based on the next_update_time returned by the underlying Cloud Billing Subscription V3 API. This field is populated only if an update indexing core subscription threshold request is succeeded.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"searchQpmThresholdNextUpdateTime": { +"description": "Output only. The earliest next update time for the search QPM subscription threshold. This is based on the next_update_time returned by the underlying Cloud Billing Subscription V3 API. This field is populated only if an update QPM subscription threshold request is succeeded.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"startTime": { +"description": "Optional. The start time of the currently active billing subscription.", +"format": "google-datetime", +"type": "string" +}, +"terminateTime": { +"description": "Output only. The latest terminate effective time of search qpm and indexing core subscriptions.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1betaProjectCustomerProvidedConfig": { +"description": "Customer provided configurations.", +"id": "GoogleCloudDiscoveryengineV1betaProjectCustomerProvidedConfig", +"properties": { +"notebooklmConfig": { +"$ref": "GoogleCloudDiscoveryengineV1betaProjectCustomerProvidedConfigNotebooklmConfig", +"description": "Optional. Configuration for NotebookLM settings." +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1betaProjectCustomerProvidedConfigNotebooklmConfig": { +"description": "Configuration for NotebookLM.", +"id": "GoogleCloudDiscoveryengineV1betaProjectCustomerProvidedConfigNotebooklmConfig", +"properties": { +"dataProtectionPolicy": { +"$ref": "GoogleCloudDiscoveryengineV1betaProjectCustomerProvidedConfigNotebooklmConfigDataProtectionPolicy", +"description": "Optional. Specifies the data protection policy for NotebookLM." +}, +"modelArmorConfig": { +"$ref": "GoogleCloudDiscoveryengineV1betaProjectCustomerProvidedConfigNotebooklmConfigModelArmorConfig", +"description": "Model Armor configuration to be used for sanitizing user prompts and LLM responses." +}, +"observabilityConfig": { +"$ref": "GoogleCloudDiscoveryengineV1betaObservabilityConfig", +"description": "Optional. Observability config for NotebookLM." +}, +"optOutNotebookSharing": { +"description": "Optional. Whether to disable the notebook sharing feature for the project. Default to false if not specified.", +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1betaProjectCustomerProvidedConfigNotebooklmConfigDataProtectionPolicy": { +"description": "Data protection policy config for NotebookLM.", +"id": "GoogleCloudDiscoveryengineV1betaProjectCustomerProvidedConfigNotebooklmConfigDataProtectionPolicy", +"properties": { +"sensitiveDataProtectionPolicy": { +"$ref": "GoogleCloudDiscoveryengineV1betaProjectCustomerProvidedConfigNotebooklmConfigDataProtectionPolicySensitiveDataProtectionPolicy", +"description": "Optional. The sensitive data protection policy." +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1betaProjectCustomerProvidedConfigNotebooklmConfigDataProtectionPolicySensitiveDataProtectionPolicy": { +"description": "Specifies a Sensitive Data Protection (https://cloud.google.com/sensitive-data-protection/docs/sensitive-data-protection-overview) policy.", +"id": "GoogleCloudDiscoveryengineV1betaProjectCustomerProvidedConfigNotebooklmConfigDataProtectionPolicySensitiveDataProtectionPolicy", +"properties": { +"policy": { +"description": "Optional. The Sensitive Data Protection policy resource name.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1betaProjectCustomerProvidedConfigNotebooklmConfigModelArmorConfig": { +"description": "Configuration for customer defined Model Armor templates to be used for sanitizing user prompts and LLM responses.", +"id": "GoogleCloudDiscoveryengineV1betaProjectCustomerProvidedConfigNotebooklmConfigModelArmorConfig", +"properties": { +"responseTemplate": { +"description": "Optional. The resource name of the Model Armor Template for sanitizing LLM responses. Format: projects/{project}/locations/{location}/templates/{template_id} If not specified, no sanitization will be applied to the LLM response.", +"type": "string" +}, +"userPromptTemplate": { +"description": "Optional. The resource name of the Model Armor Template for sanitizing user prompts. Format: projects/{project}/locations/{location}/templates/{template_id} If not specified, no sanitization will be applied to the user prompt.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1betaProjectServiceTerms": { +"description": "Metadata about the terms of service.", +"id": "GoogleCloudDiscoveryengineV1betaProjectServiceTerms", +"properties": { +"acceptTime": { +"description": "The last time when the project agreed to the terms of service.", +"format": "google-datetime", +"type": "string" +}, +"declineTime": { +"description": "The last time when the project declined or revoked the agreement to terms of service.", +"format": "google-datetime", +"type": "string" +}, +"id": { +"description": "The unique identifier of this terms of service. Available terms: * `GA_DATA_USE_TERMS`: [Terms for data use](https://cloud.google.com/retail/data-use-terms). When using this as `id`, the acceptable version to provide is `2022-11-23`.", +"type": "string" +}, +"state": { +"description": "Whether the project has accepted/rejected the service terms or it is still pending.", +"enum": [ +"STATE_UNSPECIFIED", +"TERMS_ACCEPTED", +"TERMS_PENDING", +"TERMS_DECLINED" +], +"enumDescriptions": [ +"The default value of the enum. This value is not actually used.", +"The project has given consent to the terms of service.", +"The project is pending to review and accept the terms of service.", +"The project has declined or revoked the agreement to terms of service." +], +"type": "string" +}, +"version": { +"description": "The version string of the terms of service. For acceptable values, see the comments for id above.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1betaProvisionProjectMetadata": { +"description": "Metadata associated with a project provision operation.", +"id": "GoogleCloudDiscoveryengineV1betaProvisionProjectMetadata", +"properties": {}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1betaPurgeDocumentsMetadata": { +"description": "Metadata related to the progress of the PurgeDocuments operation. This will be returned by the google.longrunning.Operation.metadata field.", +"id": "GoogleCloudDiscoveryengineV1betaPurgeDocumentsMetadata", +"properties": { +"createTime": { +"description": "Operation create time.", +"format": "google-datetime", +"type": "string" +}, +"failureCount": { +"description": "Count of entries that encountered errors while processing.", +"format": "int64", +"type": "string" +}, +"ignoredCount": { +"description": "Count of entries that were ignored as entries were not found.", +"format": "int64", +"type": "string" +}, +"successCount": { +"description": "Count of entries that were deleted successfully.", +"format": "int64", +"type": "string" +}, +"updateTime": { +"description": "Operation last update time. If the operation is done, this is also the finish time.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1betaPurgeDocumentsResponse": { +"description": "Response message for DocumentService.PurgeDocuments method. If the long running operation is successfully done, then this message is returned by the google.longrunning.Operations.response field.", +"id": "GoogleCloudDiscoveryengineV1betaPurgeDocumentsResponse", +"properties": { +"purgeCount": { +"description": "The total count of documents purged as a result of the operation.", +"format": "int64", +"type": "string" +}, +"purgeSample": { +"description": "A sample of document names that will be deleted. Only populated if `force` is set to false. A max of 100 names will be returned and the names are chosen at random.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1betaPurgeSuggestionDenyListEntriesMetadata": { +"description": "Metadata related to the progress of the PurgeSuggestionDenyListEntries operation. This is returned by the google.longrunning.Operation.metadata field.", +"id": "GoogleCloudDiscoveryengineV1betaPurgeSuggestionDenyListEntriesMetadata", +"properties": { +"createTime": { +"description": "Operation create time.", +"format": "google-datetime", +"type": "string" +}, +"updateTime": { +"description": "Operation last update time. If the operation is done, this is also the finish time.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1betaPurgeSuggestionDenyListEntriesResponse": { +"description": "Response message for CompletionService.PurgeSuggestionDenyListEntries method.", +"id": "GoogleCloudDiscoveryengineV1betaPurgeSuggestionDenyListEntriesResponse", +"properties": { +"errorSamples": { +"description": "A sample of errors encountered while processing the request.", +"items": { +"$ref": "GoogleRpcStatus" +}, +"type": "array" +}, +"purgeCount": { +"description": "Number of suggestion deny list entries purged.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1betaQualityMetrics": { +"description": "Describes the metrics produced by the evaluation.", +"id": "GoogleCloudDiscoveryengineV1betaQualityMetrics", +"properties": { +"docNdcg": { +"$ref": "GoogleCloudDiscoveryengineV1betaQualityMetricsTopkMetrics", +"description": "Normalized discounted cumulative gain (NDCG) per document, at various top-k cutoff levels. NDCG measures the ranking quality, giving higher relevance to top results. Example (top-3): Suppose SampleQuery with three retrieved documents (D1, D2, D3) and binary relevance judgements (1 for relevant, 0 for not relevant): Retrieved: [D3 (0), D1 (1), D2 (1)] Ideal: [D1 (1), D2 (1), D3 (0)] Calculate NDCG@3 for each SampleQuery: * DCG@3: 0/log2(1+1) + 1/log2(2+1) + 1/log2(3+1) = 1.13 * Ideal DCG@3: 1/log2(1+1) + 1/log2(2+1) + 0/log2(3+1) = 1.63 * NDCG@3: 1.13/1.63 = 0.693" +}, +"docPrecision": { +"$ref": "GoogleCloudDiscoveryengineV1betaQualityMetricsTopkMetrics", +"description": "Precision per document, at various top-k cutoff levels. Precision is the fraction of retrieved documents that are relevant. Example (top-5): * For a single SampleQuery, If 4 out of 5 retrieved documents in the top-5 are relevant, precision@5 = 4/5 = 0.8" +}, +"docRecall": { +"$ref": "GoogleCloudDiscoveryengineV1betaQualityMetricsTopkMetrics", +"description": "Recall per document, at various top-k cutoff levels. Recall is the fraction of relevant documents retrieved out of all relevant documents. Example (top-5): * For a single SampleQuery, If 3 out of 5 relevant documents are retrieved in the top-5, recall@5 = 3/5 = 0.6" +}, +"pageNdcg": { +"$ref": "GoogleCloudDiscoveryengineV1betaQualityMetricsTopkMetrics", +"description": "Normalized discounted cumulative gain (NDCG) per page, at various top-k cutoff levels. NDCG measures the ranking quality, giving higher relevance to top results. Example (top-3): Suppose SampleQuery with three retrieved pages (P1, P2, P3) and binary relevance judgements (1 for relevant, 0 for not relevant): Retrieved: [P3 (0), P1 (1), P2 (1)] Ideal: [P1 (1), P2 (1), P3 (0)] Calculate NDCG@3 for SampleQuery: * DCG@3: 0/log2(1+1) + 1/log2(2+1) + 1/log2(3+1) = 1.13 * Ideal DCG@3: 1/log2(1+1) + 1/log2(2+1) + 0/log2(3+1) = 1.63 * NDCG@3: 1.13/1.63 = 0.693" +}, +"pageRecall": { +"$ref": "GoogleCloudDiscoveryengineV1betaQualityMetricsTopkMetrics", +"description": "Recall per page, at various top-k cutoff levels. Recall is the fraction of relevant pages retrieved out of all relevant pages. Example (top-5): * For a single SampleQuery, if 3 out of 5 relevant pages are retrieved in the top-5, recall@5 = 3/5 = 0.6" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1betaQualityMetricsTopkMetrics": { +"description": "Stores the metric values at specific top-k levels.", +"id": "GoogleCloudDiscoveryengineV1betaQualityMetricsTopkMetrics", +"properties": { +"top1": { +"description": "The top-1 value.", +"format": "double", +"type": "number" +}, +"top10": { +"description": "The top-10 value.", +"format": "double", +"type": "number" +}, +"top3": { +"description": "The top-3 value.", +"format": "double", +"type": "number" +}, +"top5": { +"description": "The top-5 value.", +"format": "double", +"type": "number" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1betaRemoveDedicatedCrawlRateMetadata": { +"description": "Metadata related to the progress of the CrawlRateManagementService.RemoveDedicatedCrawlRate operation. This will be returned by the google.longrunning.Operation.metadata field.", +"id": "GoogleCloudDiscoveryengineV1betaRemoveDedicatedCrawlRateMetadata", +"properties": { +"createTime": { +"description": "Operation create time.", +"format": "google-datetime", +"type": "string" +}, +"updateTime": { +"description": "Operation last update time. If the operation is done, this is also the finish time.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1betaRemoveDedicatedCrawlRateResponse": { +"description": "Response message for CrawlRateManagementService.RemoveDedicatedCrawlRate method. It simply returns the state of the response, and an error message if the state is FAILED.", +"id": "GoogleCloudDiscoveryengineV1betaRemoveDedicatedCrawlRateResponse", +"properties": { +"error": { +"$ref": "GoogleRpcStatus", +"description": "Errors from service when handling the request." +}, +"state": { +"description": "Output only. The state of the response.", +"enum": [ +"STATE_UNSPECIFIED", +"SUCCEEDED", +"FAILED" +], +"enumDescriptions": [ +"The state is unspecified.", +"The state is successful.", +"The state is failed." +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1betaSchema": { +"description": "Defines the structure and layout of a type of document data.", +"id": "GoogleCloudDiscoveryengineV1betaSchema", +"properties": { +"jsonSchema": { +"description": "The JSON representation of the schema.", +"type": "string" +}, +"name": { +"description": "Immutable. The full resource name of the schema, in the format of `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/schemas/{schema}`. This field must be a UTF-8 encoded string with a length limit of 1024 characters.", +"type": "string" +}, +"structSchema": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"description": "The structured representation of the schema.", +"type": "object" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1betaSearchLinkPromotion": { +"description": "Promotion proto includes uri and other helping information to display the promotion.", +"id": "GoogleCloudDiscoveryengineV1betaSearchLinkPromotion", +"properties": { +"description": { +"description": "Optional. The Promotion description. Maximum length: 200 characters.", +"type": "string" +}, +"document": { +"description": "Optional. The Document the user wants to promote. For site search, leave unset and only populate uri. Can be set along with uri.", +"type": "string" +}, +"enabled": { +"description": "Optional. The enabled promotion will be returned for any serving configs associated with the parent of the control this promotion is attached to. This flag is used for basic site search only.", +"type": "boolean" +}, +"imageUri": { +"description": "Optional. The promotion thumbnail image url.", +"type": "string" +}, +"title": { +"description": "Required. The title of the promotion. Maximum length: 160 characters.", +"type": "string" +}, +"uri": { +"description": "Optional. The URL for the page the user wants to promote. Must be set for site search. For other verticals, this is optional.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1betaSearchRequest": { +"description": "Request message for SearchService.Search method.", +"id": "GoogleCloudDiscoveryengineV1betaSearchRequest", +"properties": { +"boostSpec": { +"$ref": "GoogleCloudDiscoveryengineV1betaSearchRequestBoostSpec", +"description": "Boost specification to boost certain documents. For more information on boosting, see [Boosting](https://cloud.google.com/generative-ai-app-builder/docs/boost-search-results)" +}, +"branch": { +"description": "The branch resource name, such as `projects/*/locations/global/collections/default_collection/dataStores/default_data_store/branches/0`. Use `default_branch` as the branch ID or leave this field empty, to search documents under the default branch.", +"type": "string" +}, +"canonicalFilter": { +"description": "The default filter that is applied when a user performs a search without checking any filters on the search page. The filter applied to every search request when quality improvement such as query expansion is needed. In the case a query does not have a sufficient amount of results this filter will be used to determine whether or not to enable the query expansion flow. The original filter will still be used for the query expanded search. This field is strongly recommended to achieve high search quality. For more information about filter syntax, see SearchRequest.filter.", +"type": "string" +}, +"contentSearchSpec": { +"$ref": "GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpec", +"description": "A specification for configuring the behavior of content search." +}, +"crowdingSpecs": { +"description": "Optional. Crowding specifications for improving result diversity. If multiple CrowdingSpecs are specified, crowding will be evaluated on each unique combination of the `field` values, and max_count will be the maximum value of `max_count` across all CrowdingSpecs. For example, if the first CrowdingSpec has `field` = \"color\" and `max_count` = 3, and the second CrowdingSpec has `field` = \"size\" and `max_count` = 2, then after 3 documents that share the same color AND size have been returned, subsequent ones should be removed or demoted.", +"items": { +"$ref": "GoogleCloudDiscoveryengineV1betaSearchRequestCrowdingSpec" +}, +"type": "array" +}, +"dataStoreSpecs": { +"description": "Specifications that define the specific DataStores to be searched, along with configurations for those data stores. This is only considered for Engines with multiple data stores. For engines with a single data store, the specs directly under SearchRequest should be used.", +"items": { +"$ref": "GoogleCloudDiscoveryengineV1betaSearchRequestDataStoreSpec" +}, +"type": "array" +}, +"displaySpec": { +"$ref": "GoogleCloudDiscoveryengineV1betaSearchRequestDisplaySpec", +"description": "Optional. Config for display feature, like match highlighting on search results." +}, +"embeddingSpec": { +"$ref": "GoogleCloudDiscoveryengineV1betaSearchRequestEmbeddingSpec", +"description": "Uses the provided embedding to do additional semantic document retrieval. The retrieval is based on the dot product of SearchRequest.EmbeddingSpec.EmbeddingVector.vector and the document embedding that is provided in SearchRequest.EmbeddingSpec.EmbeddingVector.field_path. If SearchRequest.EmbeddingSpec.EmbeddingVector.field_path is not provided, it will use ServingConfig.EmbeddingConfig.field_path." +}, +"facetSpecs": { +"description": "Facet specifications for faceted search. If empty, no facets are returned. A maximum of 100 values are allowed. Otherwise, an `INVALID_ARGUMENT` error is returned.", +"items": { +"$ref": "GoogleCloudDiscoveryengineV1betaSearchRequestFacetSpec" +}, +"type": "array" +}, +"filter": { +"description": "The filter syntax consists of an expression language for constructing a predicate from one or more fields of the documents being filtered. Filter expression is case-sensitive. If this field is unrecognizable, an `INVALID_ARGUMENT` is returned. Filtering in Vertex AI Search is done by mapping the LHS filter key to a key property defined in the Vertex AI Search backend -- this mapping is defined by the customer in their schema. For example a media customer might have a field 'name' in their schema. In this case the filter would look like this: filter --> name:'ANY(\"king kong\")' For more information about filtering including syntax and filter operators, see [Filter](https://cloud.google.com/generative-ai-app-builder/docs/filter-search-metadata)", +"type": "string" +}, +"imageQuery": { +"$ref": "GoogleCloudDiscoveryengineV1betaSearchRequestImageQuery", +"description": "Raw image query." +}, +"languageCode": { +"description": "The BCP-47 language code, such as \"en-US\" or \"sr-Latn\". For more information, see [Standard fields](https://cloud.google.com/apis/design/standard_fields). This field helps to better interpret the query. If a value isn't specified, the query language code is automatically detected, which may not be accurate.", +"type": "string" +}, +"naturalLanguageQueryUnderstandingSpec": { +"$ref": "GoogleCloudDiscoveryengineV1betaSearchRequestNaturalLanguageQueryUnderstandingSpec", +"description": "Optional. Config for natural language query understanding capabilities, such as extracting structured field filters from the query. Refer to [this documentation](https://cloud.google.com/generative-ai-app-builder/docs/natural-language-queries) for more information. If `naturalLanguageQueryUnderstandingSpec` is not specified, no additional natural language query understanding will be done." +}, +"numResultsPerDataStore": { +"description": "Optional. The maximum number of results to retrieve from each data store. If not specified, it will use the SearchRequest.DataStoreSpec.num_results if provided, otherwise there is no limit.", +"format": "int32", +"type": "integer" +}, +"offset": { +"description": "A 0-indexed integer that specifies the current offset (that is, starting result location, amongst the Documents deemed by the API as relevant) in search results. This field is only considered if page_token is unset. If this field is negative, an `INVALID_ARGUMENT` is returned. A large offset may be capped to a reasonable threshold.", +"format": "int32", +"type": "integer" +}, +"oneBoxPageSize": { +"description": "The maximum number of results to return for OneBox. This applies to each OneBox type individually. Default number is 10.", +"format": "int32", +"type": "integer" +}, +"orderBy": { +"description": "The order in which documents are returned. Documents can be ordered by a field in an Document object. Leave it unset if ordered by relevance. `order_by` expression is case-sensitive. For more information on ordering the website search results, see [Order web search results](https://cloud.google.com/generative-ai-app-builder/docs/order-web-search-results). For more information on ordering the healthcare search results, see [Order healthcare search results](https://cloud.google.com/generative-ai-app-builder/docs/order-hc-results). If this field is unrecognizable, an `INVALID_ARGUMENT` is returned.", +"type": "string" +}, +"pageCategories": { +"description": "Optional. The categories associated with a category page. Must be set for category navigation queries to achieve good search quality. The format should be the same as PageInfo.page_category. This field is the equivalent of the query for browse (navigation) queries. It's used by the browse model when the query is empty. If the field is empty, it will not be used by the browse model. If the field contains more than one element, only the first element will be used. To represent full path of a category, use '>' character to separate different hierarchies. If '>' is part of the category name, replace it with other character(s). For example, `Graphics Cards > RTX>4090 > Founders Edition` where \"RTX > 4090\" represents one level, can be rewritten as `Graphics Cards > RTX_4090 > Founders Edition`", +"items": { +"type": "string" +}, +"type": "array" +}, +"pageSize": { +"description": "Maximum number of Documents to return. The maximum allowed value depends on the data type. Values above the maximum value are coerced to the maximum value. * Websites with basic indexing: Default `10`, Maximum `25`. * Websites with advanced indexing: Default `25`, Maximum `50`. * Other: Default `50`, Maximum `100`. If this field is negative, an `INVALID_ARGUMENT` is returned.", +"format": "int32", +"type": "integer" +}, +"pageToken": { +"description": "A page token received from a previous SearchService.Search call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to SearchService.Search must match the call that provided the page token. Otherwise, an `INVALID_ARGUMENT` error is returned.", +"type": "string" +}, +"params": { +"additionalProperties": { +"type": "any" +}, +"description": "Additional search parameters. For public website search only, supported values are: * `user_country_code`: string. Default empty. If set to non-empty, results are restricted or boosted based on the location provided. For example, `user_country_code: \"au\"` For available codes see [Country Codes](https://developers.google.com/custom-search/docs/json_api_reference#countryCodes) * `search_type`: double. Default empty. Enables non-webpage searching depending on the value. The only valid non-default value is 1, which enables image searching. For example, `search_type: 1`", +"type": "object" +}, +"personalizationSpec": { +"$ref": "GoogleCloudDiscoveryengineV1betaSearchRequestPersonalizationSpec", +"description": "The specification for personalization. Notice that if both ServingConfig.personalization_spec and SearchRequest.personalization_spec are set, SearchRequest.personalization_spec overrides ServingConfig.personalization_spec." +}, +"query": { +"description": "Raw search query.", +"type": "string" +}, +"queryExpansionSpec": { +"$ref": "GoogleCloudDiscoveryengineV1betaSearchRequestQueryExpansionSpec", +"description": "The query expansion specification that specifies the conditions under which query expansion occurs." +}, +"rankingExpression": { +"description": "Optional. The ranking expression controls the customized ranking on retrieval documents. This overrides ServingConfig.ranking_expression. The syntax and supported features depend on the `ranking_expression_backend` value. If `ranking_expression_backend` is not provided, it defaults to `RANK_BY_EMBEDDING`. If ranking_expression_backend is not provided or set to `RANK_BY_EMBEDDING`, it should be a single function or multiple functions that are joined by \"+\". * ranking_expression = function, { \" + \", function }; Supported functions: * double * relevance_score * double * dotProduct(embedding_field_path) Function variables: * `relevance_score`: pre-defined keywords, used for measure relevance between query and document. * `embedding_field_path`: the document embedding field used with query embedding vector. * `dotProduct`: embedding function between `embedding_field_path` and query embedding vector. Example ranking expression: If document has an embedding field doc_embedding, the ranking expression could be `0.5 * relevance_score + 0.3 * dotProduct(doc_embedding)`. If ranking_expression_backend is set to `RANK_BY_FORMULA`, the following expression types (and combinations of those chained using + or * operators) are supported: * `double` * `signal` * `log(signal)` * `exp(signal)` * `rr(signal, double > 0)` -- reciprocal rank transformation with second argument being a denominator constant. * `is_nan(signal)` -- returns 0 if signal is NaN, 1 otherwise. * `fill_nan(signal1, signal2 | double)` -- if signal1 is NaN, returns signal2 | double, else returns signal1. Here are a few examples of ranking formulas that use the supported ranking expression types: - `0.2 * semantic_similarity_score + 0.8 * log(keyword_similarity_score)` -- mostly rank by the logarithm of `keyword_similarity_score` with slight `semantic_smilarity_score` adjustment. - `0.2 * exp(fill_nan(semantic_similarity_score, 0)) + 0.3 * is_nan(keyword_similarity_score)` -- rank by the exponent of `semantic_similarity_score` filling the value with 0 if it's NaN, also add constant 0.3 adjustment to the final score if `semantic_similarity_score` is NaN. - `0.2 * rr(semantic_similarity_score, 16) + 0.8 * rr(keyword_similarity_score, 16)` -- mostly rank by the reciprocal rank of `keyword_similarity_score` with slight adjustment of reciprocal rank of `semantic_smilarity_score`. The following signals are supported: * `semantic_similarity_score`: semantic similarity adjustment that is calculated using the embeddings generated by a proprietary Google model. This score determines how semantically similar a search query is to a document. * `keyword_similarity_score`: keyword match adjustment uses the Best Match 25 (BM25) ranking function. This score is calculated using a probabilistic model to estimate the probability that a document is relevant to a given query. * `relevance_score`: semantic relevance adjustment that uses a proprietary Google model to determine the meaning and intent behind a user's query in context with the content in the documents. * `pctr_rank`: predicted conversion rate adjustment as a rank use predicted Click-through rate (pCTR) to gauge the relevance and attractiveness of a search result from a user's perspective. A higher pCTR suggests that the result is more likely to satisfy the user's query and intent, making it a valuable signal for ranking. * `freshness_rank`: freshness adjustment as a rank * `document_age`: The time in hours elapsed since the document was last updated, a floating-point number (e.g., 0.25 means 15 minutes). * `topicality_rank`: topicality adjustment as a rank. Uses proprietary Google model to determine the keyword-based overlap between the query and the document. * `base_rank`: the default rank of the result", +"type": "string" +}, +"rankingExpressionBackend": { +"description": "Optional. The backend to use for the ranking expression evaluation.", +"enum": [ +"RANKING_EXPRESSION_BACKEND_UNSPECIFIED", +"BYOE", +"CLEARBOX", +"RANK_BY_EMBEDDING", +"RANK_BY_FORMULA" +], +"enumDeprecated": [ +false, +true, +true, +false, +false +], +"enumDescriptions": [ +"Default option for unspecified/unknown values.", +"Deprecated: Use `RANK_BY_EMBEDDING` instead. Ranking by custom embedding model, the default way to evaluate the ranking expression. Legacy enum option, `RANK_BY_EMBEDDING` should be used instead.", +"Deprecated: Use `RANK_BY_FORMULA` instead. Ranking by custom formula. Legacy enum option, `RANK_BY_FORMULA` should be used instead.", +"Ranking by custom embedding model, the default way to evaluate the ranking expression.", +"Ranking by custom formula." +], +"type": "string" +}, +"regionCode": { +"description": "The Unicode country/region code (CLDR) of a location, such as \"US\" and \"419\". For more information, see [Standard fields](https://cloud.google.com/apis/design/standard_fields). If set, then results will be boosted based on the region_code provided.", +"type": "string" +}, +"relevanceFilterSpec": { +"$ref": "GoogleCloudDiscoveryengineV1betaSearchRequestRelevanceFilterSpec", +"description": "Optional. The granular relevance filtering specification. If not specified, the global `relevance_threshold` will be used for all sub-searches. If specified, this overrides the global `relevance_threshold` to use thresholds on a per sub-search basis. This feature is currently supported only for custom and site search." +}, +"relevanceScoreSpec": { +"$ref": "GoogleCloudDiscoveryengineV1betaSearchRequestRelevanceScoreSpec", +"description": "Optional. The specification for returning the relevance score." +}, +"relevanceThreshold": { +"description": "The global relevance threshold of the search results. Defaults to Google defined threshold, leveraging a balance of precision and recall to deliver both highly accurate results and comprehensive coverage of relevant information. If more granular relevance filtering is required, use the `relevance_filter_spec` instead. This feature is not supported for healthcare search.", +"enum": [ +"RELEVANCE_THRESHOLD_UNSPECIFIED", +"LOWEST", +"LOW", +"MEDIUM", +"HIGH" +], +"enumDescriptions": [ +"Default value. In this case, server behavior defaults to Google defined threshold.", +"Lowest relevance threshold.", +"Low relevance threshold.", +"Medium relevance threshold.", +"High relevance threshold." +], +"type": "string" +}, +"safeSearch": { +"description": "Whether to turn on safe search. This is only supported for website search.", +"type": "boolean" +}, +"searchAddonSpec": { +"$ref": "GoogleCloudDiscoveryengineV1betaSearchRequestSearchAddonSpec", +"description": "Optional. SearchAddonSpec is used to disable add-ons for search as per new repricing model. This field is only supported for search requests." +}, +"searchAsYouTypeSpec": { +"$ref": "GoogleCloudDiscoveryengineV1betaSearchRequestSearchAsYouTypeSpec", +"description": "Search as you type configuration. Only supported for the IndustryVertical.MEDIA vertical." +}, +"servingConfig": { +"description": "Required. The resource name of the Search serving config, such as `projects/*/locations/global/collections/default_collection/engines/*/servingConfigs/default_serving_config`, or `projects/*/locations/global/collections/default_collection/dataStores/default_data_store/servingConfigs/default_serving_config`. This field is used to identify the serving configuration name, set of models used to make the search.", +"type": "string" +}, +"session": { +"description": "The session resource name. Optional. Session allows users to do multi-turn /search API calls or coordination between /search API calls and /answer API calls. Example #1 (multi-turn /search API calls): Call /search API with the session ID generated in the first call. Here, the previous search query gets considered in query standing. I.e., if the first query is \"How did Alphabet do in 2022?\" and the current query is \"How about 2023?\", the current query will be interpreted as \"How did Alphabet do in 2023?\". Example #2 (coordination between /search API calls and /answer API calls): Call /answer API with the session ID generated in the first call. Here, the answer generation happens in the context of the search results from the first search call. Multi-turn Search feature is currently at private GA stage. Please use v1alpha or v1beta version instead before we launch this feature to public GA. Or ask for allowlisting through Google Support team.", +"type": "string" +}, +"sessionSpec": { +"$ref": "GoogleCloudDiscoveryengineV1betaSearchRequestSessionSpec", +"description": "Session specification. Can be used only when `session` is set." +}, +"spellCorrectionSpec": { +"$ref": "GoogleCloudDiscoveryengineV1betaSearchRequestSpellCorrectionSpec", +"description": "The spell correction specification that specifies the mode under which spell correction takes effect." +}, +"userInfo": { +"$ref": "GoogleCloudDiscoveryengineV1betaUserInfo", +"description": "Information about the end user. Highly recommended for analytics and personalization. UserInfo.user_agent is used to deduce `device_type` for analytics." +}, +"userLabels": { +"additionalProperties": { +"type": "string" +}, +"description": "The user labels applied to a resource must meet the following requirements: * Each resource can have multiple labels, up to a maximum of 64. * Each label must be a key-value pair. * Keys have a minimum length of 1 character and a maximum length of 63 characters and cannot be empty. Values can be empty and have a maximum length of 63 characters. * Keys and values can contain only lowercase letters, numeric characters, underscores, and dashes. All characters must use UTF-8 encoding, and international characters are allowed. * The key portion of a label must be unique. However, you can use the same key with multiple resources. * Keys must start with a lowercase letter or international character. See [Google Cloud Document](https://cloud.google.com/resource-manager/docs/creating-managing-labels#requirements) for more details.", +"type": "object" +}, +"userPseudoId": { +"description": "Optional. A unique identifier for tracking visitors. For example, this could be implemented with an HTTP cookie, which should be able to uniquely identify a visitor on a single device. This unique identifier should not change if the visitor logs in or out of the website. This field should NOT have a fixed value such as `unknown_visitor`. This should be the same identifier as UserEvent.user_pseudo_id and CompleteQueryRequest.user_pseudo_id The field must be a UTF-8 encoded string with a length limit of 128 characters. Otherwise, an `INVALID_ARGUMENT` error is returned.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1betaSearchRequestBoostSpec": { +"description": "Boost specification to boost certain documents.", +"id": "GoogleCloudDiscoveryengineV1betaSearchRequestBoostSpec", +"properties": { +"conditionBoostSpecs": { +"description": "Condition boost specifications. If a document matches multiple conditions in the specifications, boost scores from these specifications are all applied and combined in a non-linear way. Maximum number of specifications is 20.", +"items": { +"$ref": "GoogleCloudDiscoveryengineV1betaSearchRequestBoostSpecConditionBoostSpec" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1betaSearchRequestBoostSpecConditionBoostSpec": { +"description": "Boost applies to documents which match a condition.", +"id": "GoogleCloudDiscoveryengineV1betaSearchRequestBoostSpecConditionBoostSpec", +"properties": { +"boost": { +"description": "Strength of the condition boost, which should be in [-1, 1]. Negative boost means demotion. Default is 0.0. Setting to 1.0 gives the document a big promotion. However, it does not necessarily mean that the boosted document will be the top result at all times, nor that other documents will be excluded. Results could still be shown even when none of them matches the condition. And results that are significantly more relevant to the search query can still trump your heavily favored but irrelevant documents. Setting to -1.0 gives the document a big demotion. However, results that are deeply relevant might still be shown. The document will have an upstream battle to get a fairly high ranking, but it is not blocked out completely. Setting to 0.0 means no boost applied. The boosting condition is ignored. Only one of the (condition, boost) combination or the boost_control_spec below are set. If both are set then the global boost is ignored and the more fine-grained boost_control_spec is applied.", +"format": "float", +"type": "number" +}, +"boostControlSpec": { +"$ref": "GoogleCloudDiscoveryengineV1betaSearchRequestBoostSpecConditionBoostSpecBoostControlSpec", +"description": "Complex specification for custom ranking based on customer defined attribute value." +}, +"condition": { +"description": "An expression which specifies a boost condition. The syntax and supported fields are the same as a filter expression. See SearchRequest.filter for detail syntax and limitations. Examples: * To boost documents with document ID \"doc_1\" or \"doc_2\", and color \"Red\" or \"Blue\": `(document_id: ANY(\"doc_1\", \"doc_2\")) AND (color: ANY(\"Red\", \"Blue\"))`", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1betaSearchRequestBoostSpecConditionBoostSpecBoostControlSpec": { +"description": "Specification for custom ranking based on customer specified attribute value. It provides more controls for customized ranking than the simple (condition, boost) combination above.", +"id": "GoogleCloudDiscoveryengineV1betaSearchRequestBoostSpecConditionBoostSpecBoostControlSpec", +"properties": { +"attributeType": { +"description": "The attribute type to be used to determine the boost amount. The attribute value can be derived from the field value of the specified field_name. In the case of numerical it is straightforward i.e. attribute_value = numerical_field_value. In the case of freshness however, attribute_value = (time.now() - datetime_field_value).", +"enum": [ +"ATTRIBUTE_TYPE_UNSPECIFIED", +"NUMERICAL", +"FRESHNESS" +], +"enumDescriptions": [ +"Unspecified AttributeType.", +"The value of the numerical field will be used to dynamically update the boost amount. In this case, the attribute_value (the x value) of the control point will be the actual value of the numerical field for which the boost_amount is specified.", +"For the freshness use case the attribute value will be the duration between the current time and the date in the datetime field specified. The value must be formatted as an XSD `dayTimeDuration` value (a restricted subset of an ISO 8601 duration value). The pattern for this is: `nDnM]`. For example, `5D`, `3DT12H30M`, `T24H`." +], +"type": "string" +}, +"controlPoints": { +"description": "The control points used to define the curve. The monotonic function (defined through the interpolation_type above) passes through the control points listed here.", +"items": { +"$ref": "GoogleCloudDiscoveryengineV1betaSearchRequestBoostSpecConditionBoostSpecBoostControlSpecControlPoint" +}, +"type": "array" +}, +"fieldName": { +"description": "The name of the field whose value will be used to determine the boost amount.", +"type": "string" +}, +"interpolationType": { +"description": "The interpolation type to be applied to connect the control points listed below.", +"enum": [ +"INTERPOLATION_TYPE_UNSPECIFIED", +"LINEAR" +], +"enumDescriptions": [ +"Interpolation type is unspecified. In this case, it defaults to Linear.", +"Piecewise linear interpolation will be applied." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1betaSearchRequestBoostSpecConditionBoostSpecBoostControlSpecControlPoint": { +"description": "The control points used to define the curve. The curve defined through these control points can only be monotonically increasing or decreasing(constant values are acceptable).", +"id": "GoogleCloudDiscoveryengineV1betaSearchRequestBoostSpecConditionBoostSpecBoostControlSpecControlPoint", +"properties": { +"attributeValue": { +"description": "Can be one of: 1. The numerical field value. 2. The duration spec for freshness: The value must be formatted as an XSD `dayTimeDuration` value (a restricted subset of an ISO 8601 duration value). The pattern for this is: `nDnM]`.", +"type": "string" +}, +"boostAmount": { +"description": "The value between -1 to 1 by which to boost the score if the attribute_value evaluates to the value specified above.", +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpec": { +"description": "A specification for configuring the behavior of content search.", +"id": "GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpec", +"properties": { +"chunkSpec": { +"$ref": "GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpecChunkSpec", +"description": "Specifies the chunk spec to be returned from the search response. Only available if the SearchRequest.ContentSearchSpec.search_result_mode is set to CHUNKS" +}, +"extractiveContentSpec": { +"$ref": "GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpecExtractiveContentSpec", +"description": "If there is no extractive_content_spec provided, there will be no extractive answer in the search response." +}, +"searchResultMode": { +"description": "Specifies the search result mode. If unspecified, the search result mode defaults to `DOCUMENTS`.", +"enum": [ +"SEARCH_RESULT_MODE_UNSPECIFIED", +"DOCUMENTS", +"CHUNKS" +], +"enumDescriptions": [ +"Default value.", +"Returns documents in the search result.", +"Returns chunks in the search result. Only available if the DocumentProcessingConfig.chunking_config is specified." +], +"type": "string" +}, +"snippetSpec": { +"$ref": "GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpecSnippetSpec", +"description": "If `snippetSpec` is not specified, snippets are not included in the search response." +}, +"summarySpec": { +"$ref": "GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpecSummarySpec", +"description": "If `summarySpec` is not specified, summaries are not included in the search response." +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpecChunkSpec": { +"description": "Specifies the chunk spec to be returned from the search response. Only available if the SearchRequest.ContentSearchSpec.search_result_mode is set to CHUNKS", +"id": "GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpecChunkSpec", +"properties": { +"numNextChunks": { +"description": "The number of next chunks to be returned of the current chunk. The maximum allowed value is 3. If not specified, no next chunks will be returned.", +"format": "int32", +"type": "integer" +}, +"numPreviousChunks": { +"description": "The number of previous chunks to be returned of the current chunk. The maximum allowed value is 3. If not specified, no previous chunks will be returned.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpecExtractiveContentSpec": { +"description": "A specification for configuring the extractive content in a search response.", +"id": "GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpecExtractiveContentSpec", +"properties": { +"maxExtractiveAnswerCount": { +"description": "The maximum number of extractive answers returned in each search result. An extractive answer is a verbatim answer extracted from the original document, which provides a precise and contextually relevant answer to the search query. If the number of matching answers is less than the `max_extractive_answer_count`, return all of the answers. Otherwise, return the `max_extractive_answer_count`. At most five answers are returned for each SearchResult.", +"format": "int32", +"type": "integer" +}, +"maxExtractiveSegmentCount": { +"description": "The max number of extractive segments returned in each search result. Only applied if the DataStore is set to DataStore.ContentConfig.CONTENT_REQUIRED or DataStore.solution_types is SOLUTION_TYPE_CHAT. An extractive segment is a text segment extracted from the original document that is relevant to the search query, and, in general, more verbose than an extractive answer. The segment could then be used as input for LLMs to generate summaries and answers. If the number of matching segments is less than `max_extractive_segment_count`, return all of the segments. Otherwise, return the `max_extractive_segment_count`.", +"format": "int32", +"type": "integer" +}, +"numNextSegments": { +"description": "Return at most `num_next_segments` segments after each selected segments.", +"format": "int32", +"type": "integer" +}, +"numPreviousSegments": { +"description": "Specifies whether to also include the adjacent from each selected segments. Return at most `num_previous_segments` segments before each selected segments.", +"format": "int32", +"type": "integer" +}, +"returnExtractiveSegmentScore": { +"description": "Specifies whether to return the confidence score from the extractive segments in each search result. This feature is available only for new or allowlisted data stores. To allowlist your data store, contact your Customer Engineer. The default value is `false`.", +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpecSnippetSpec": { +"description": "A specification for configuring snippets in a search response.", +"id": "GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpecSnippetSpec", +"properties": { +"maxSnippetCount": { +"deprecated": true, +"description": "[DEPRECATED] This field is deprecated. To control snippet return, use `return_snippet` field. For backwards compatibility, we will return snippet if max_snippet_count > 0.", +"format": "int32", +"type": "integer" +}, +"referenceOnly": { +"deprecated": true, +"description": "[DEPRECATED] This field is deprecated and will have no affect on the snippet.", +"type": "boolean" +}, +"returnSnippet": { +"description": "If `true`, then return snippet. If no snippet can be generated, we return \"No snippet is available for this page.\" A `snippet_status` with `SUCCESS` or `NO_SNIPPET_AVAILABLE` will also be returned.", +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpecSummarySpec": { +"description": "A specification for configuring a summary returned in a search response.", +"id": "GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpecSummarySpec", +"properties": { +"ignoreAdversarialQuery": { +"description": "Specifies whether to filter out adversarial queries. The default value is `false`. Google employs search-query classification to detect adversarial queries. No summary is returned if the search query is classified as an adversarial query. For example, a user might ask a question regarding negative comments about the company or submit a query designed to generate unsafe, policy-violating output. If this field is set to `true`, we skip generating summaries for adversarial queries and return fallback messages instead.", +"type": "boolean" +}, +"ignoreJailBreakingQuery": { +"description": "Optional. Specifies whether to filter out jail-breaking queries. The default value is `false`. Google employs search-query classification to detect jail-breaking queries. No summary is returned if the search query is classified as a jail-breaking query. A user might add instructions to the query to change the tone, style, language, content of the answer, or ask the model to act as a different entity, e.g. \"Reply in the tone of a competing company's CEO\". If this field is set to `true`, we skip generating summaries for jail-breaking queries and return fallback messages instead.", +"type": "boolean" +}, +"ignoreLowRelevantContent": { +"description": "Specifies whether to filter out queries that have low relevance. The default value is `false`. If this field is set to `false`, all search results are used regardless of relevance to generate answers. If set to `true`, only queries with high relevance search results will generate answers.", +"type": "boolean" +}, +"ignoreNonSummarySeekingQuery": { +"description": "Specifies whether to filter out queries that are not summary-seeking. The default value is `false`. Google employs search-query classification to detect summary-seeking queries. No summary is returned if the search query is classified as a non-summary seeking query. For example, `why is the sky blue` and `Who is the best soccer player in the world?` are summary-seeking queries, but `SFO airport` and `world cup 2026` are not. They are most likely navigational queries. If this field is set to `true`, we skip generating summaries for non-summary seeking queries and return fallback messages instead.", +"type": "boolean" +}, +"includeCitations": { +"description": "Specifies whether to include citations in the summary. The default value is `false`. When this field is set to `true`, summaries include in-line citation numbers. Example summary including citations: BigQuery is Google Cloud's fully managed and completely serverless enterprise data warehouse [1]. BigQuery supports all data types, works across clouds, and has built-in machine learning and business intelligence, all within a unified platform [2, 3]. The citation numbers refer to the returned search results and are 1-indexed. For example, [1] means that the sentence is attributed to the first search result. [2, 3] means that the sentence is attributed to both the second and third search results.", +"type": "boolean" +}, +"languageCode": { +"description": "Language code for Summary. Use language tags defined by [BCP47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt). Note: This is an experimental feature.", +"type": "string" +}, +"modelPromptSpec": { +"$ref": "GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpecSummarySpecModelPromptSpec", +"description": "If specified, the spec will be used to modify the prompt provided to the LLM." +}, +"modelSpec": { +"$ref": "GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpecSummarySpecModelSpec", +"description": "If specified, the spec will be used to modify the model specification provided to the LLM." +}, +"multimodalSpec": { +"$ref": "GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpecSummarySpecMultiModalSpec", +"description": "Optional. Multimodal specification." +}, +"summaryResultCount": { +"description": "The number of top results to generate the summary from. If the number of results returned is less than `summaryResultCount`, the summary is generated from all of the results. At most 10 results for documents mode, or 50 for chunks mode, can be used to generate a summary. The chunks mode is used when SearchRequest.ContentSearchSpec.search_result_mode is set to CHUNKS.", +"format": "int32", +"type": "integer" +}, +"useSemanticChunks": { +"description": "If true, answer will be generated from most relevant chunks from top search results. This feature will improve summary quality. Note that with this feature enabled, not all top search results will be referenced and included in the reference list, so the citation source index only points to the search results listed in the reference list.", +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpecSummarySpecModelPromptSpec": { +"description": "Specification of the prompt to use with the model.", +"id": "GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpecSummarySpecModelPromptSpec", +"properties": { +"preamble": { +"description": "Text at the beginning of the prompt that instructs the assistant. Examples are available in the user guide.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpecSummarySpecModelSpec": { +"description": "Specification of the model.", +"id": "GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpecSummarySpecModelSpec", +"properties": { +"version": { +"description": "The model version used to generate the summary. Supported values are: * `stable`: string. Default value when no value is specified. Uses a generally available, fine-tuned model. For more information, see [Answer generation model versions and lifecycle](https://cloud.google.com/generative-ai-app-builder/docs/answer-generation-models). * `preview`: string. (Public preview) Uses a preview model. For more information, see [Answer generation model versions and lifecycle](https://cloud.google.com/generative-ai-app-builder/docs/answer-generation-models).", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpecSummarySpecMultiModalSpec": { +"description": "Multimodal specification: Will return an image from specified source. If multiple sources are specified, the pick is a quality based decision.", +"id": "GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpecSummarySpecMultiModalSpec", +"properties": { +"imageSource": { +"description": "Optional. Source of image returned in the answer.", +"enum": [ +"IMAGE_SOURCE_UNSPECIFIED", +"ALL_AVAILABLE_SOURCES", +"CORPUS_IMAGE_ONLY", +"FIGURE_GENERATION_ONLY" +], +"enumDescriptions": [ +"Unspecified image source (multimodal feature is disabled by default).", +"Behavior when service determines the pick from all available sources.", +"Includes image from corpus in the answer.", +"Triggers figure generation in the answer." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1betaSearchRequestCrowdingSpec": { +"description": "Specification for crowding. Crowding improves the diversity of search results by limiting the number of results that share the same field value. For example, crowding on the color field with a max_count of 3 and mode DROP_CROWDED_RESULTS will return at most 3 results with the same color across all pages.", +"id": "GoogleCloudDiscoveryengineV1betaSearchRequestCrowdingSpec", +"properties": { +"field": { +"description": "The field to use for crowding. Documents can be crowded by a field in the Document object. Crowding field is case sensitive.", +"type": "string" +}, +"maxCount": { +"description": "The maximum number of documents to keep per value of the field. Once there are at least max_count previous results which contain the same value for the given field (according to the order specified in `order_by`), later results with the same value are \"crowded away\". If not specified, the default value is 1.", +"format": "int32", +"type": "integer" +}, +"mode": { +"description": "Mode to use for documents that are crowded away.", +"enum": [ +"MODE_UNSPECIFIED", +"DROP_CROWDED_RESULTS", +"DEMOTE_CROWDED_RESULTS_TO_END" +], +"enumDescriptions": [ +"Unspecified crowding mode. In this case, server behavior defaults to Mode.DROP_CROWDED_RESULTS.", +"Drop crowded results.", +"Demote crowded results to the later pages." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1betaSearchRequestDataStoreSpec": { +"description": "A struct to define data stores to filter on in a search call and configurations for those data stores. Otherwise, an `INVALID_ARGUMENT` error is returned.", +"id": "GoogleCloudDiscoveryengineV1betaSearchRequestDataStoreSpec", +"properties": { +"boostSpec": { +"$ref": "GoogleCloudDiscoveryengineV1betaSearchRequestBoostSpec", +"description": "Optional. Boost specification to boost certain documents. For more information on boosting, see [Boosting](https://cloud.google.com/generative-ai-app-builder/docs/boost-search-results)" +}, +"customSearchOperators": { +"description": "Optional. Custom search operators which if specified will be used to filter results from workspace data stores. For more information on custom search operators, see [SearchOperators](https://support.google.com/cloudsearch/answer/6172299).", +"type": "string" +}, +"dataStore": { +"description": "Required. Full resource name of DataStore, such as `projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}`. The path must include the project number, project id is not supported for this field.", +"type": "string" +}, +"filter": { +"description": "Optional. Filter specification to filter documents in the data store specified by data_store field. For more information on filtering, see [Filtering](https://cloud.google.com/generative-ai-app-builder/docs/filter-search-metadata)", +"type": "string" +}, +"numResults": { +"description": "Optional. The maximum number of results to retrieve from this data store. If not specified, it will use the SearchRequest.num_results_per_data_store if provided, otherwise there is no limit. If both this field and SearchRequest.num_results_per_data_store are specified, this field will be used.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1betaSearchRequestDisplaySpec": { +"description": "Specifies features for display, like match highlighting.", +"id": "GoogleCloudDiscoveryengineV1betaSearchRequestDisplaySpec", +"properties": { +"matchHighlightingCondition": { +"description": "The condition under which match highlighting should occur.", +"enum": [ +"MATCH_HIGHLIGHTING_CONDITION_UNSPECIFIED", +"MATCH_HIGHLIGHTING_DISABLED", +"MATCH_HIGHLIGHTING_ENABLED" +], +"enumDescriptions": [ +"Server behavior is the same as `MATCH_HIGHLIGHTING_DISABLED`.", +"Disables match highlighting on all documents.", +"Enables match highlighting on all documents." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1betaSearchRequestEmbeddingSpec": { +"description": "The specification that uses customized query embedding vector to do semantic document retrieval.", +"id": "GoogleCloudDiscoveryengineV1betaSearchRequestEmbeddingSpec", +"properties": { +"embeddingVectors": { +"description": "The embedding vector used for retrieval. Limit to 1.", +"items": { +"$ref": "GoogleCloudDiscoveryengineV1betaSearchRequestEmbeddingSpecEmbeddingVector" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1betaSearchRequestEmbeddingSpecEmbeddingVector": { +"description": "Embedding vector.", +"id": "GoogleCloudDiscoveryengineV1betaSearchRequestEmbeddingSpecEmbeddingVector", +"properties": { +"fieldPath": { +"description": "Embedding field path in schema.", +"type": "string" +}, +"vector": { +"description": "Query embedding vector.", +"items": { +"format": "float", +"type": "number" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1betaSearchRequestFacetSpec": { +"description": "A facet specification to perform faceted search.", +"id": "GoogleCloudDiscoveryengineV1betaSearchRequestFacetSpec", +"properties": { +"enableDynamicPosition": { +"description": "Enables dynamic position for this facet. If set to true, the position of this facet among all facets in the response is determined automatically. If dynamic facets are enabled, it is ordered together. If set to false, the position of this facet in the response is the same as in the request, and it is ranked before the facets with dynamic position enable and all dynamic facets. For example, you may always want to have rating facet returned in the response, but it's not necessarily to always display the rating facet at the top. In that case, you can set enable_dynamic_position to true so that the position of rating facet in response is determined automatically. Another example, assuming you have the following facets in the request: * \"rating\", enable_dynamic_position = true * \"price\", enable_dynamic_position = false * \"brands\", enable_dynamic_position = false And also you have a dynamic facets enabled, which generates a facet `gender`. Then the final order of the facets in the response can be (\"price\", \"brands\", \"rating\", \"gender\") or (\"price\", \"brands\", \"gender\", \"rating\") depends on how API orders \"gender\" and \"rating\" facets. However, notice that \"price\" and \"brands\" are always ranked at first and second position because their enable_dynamic_position is false.", +"type": "boolean" +}, +"excludedFilterKeys": { +"description": "List of keys to exclude when faceting. By default, FacetKey.key is not excluded from the filter unless it is listed in this field. Listing a facet key in this field allows its values to appear as facet results, even when they are filtered out of search results. Using this field does not affect what search results are returned. For example, suppose there are 100 documents with the color facet \"Red\" and 200 documents with the color facet \"Blue\". A query containing the filter \"color:ANY(\"Red\")\" and having \"color\" as FacetKey.key would by default return only \"Red\" documents in the search results, and also return \"Red\" with count 100 as the only color facet. Although there are also blue documents available, \"Blue\" would not be shown as an available facet value. If \"color\" is listed in \"excludedFilterKeys\", then the query returns the facet values \"Red\" with count 100 and \"Blue\" with count 200, because the \"color\" key is now excluded from the filter. Because this field doesn't affect search results, the search results are still correctly filtered to return only \"Red\" documents. A maximum of 100 values are allowed. Otherwise, an `INVALID_ARGUMENT` error is returned.", +"items": { +"type": "string" +}, +"type": "array" +}, +"facetKey": { +"$ref": "GoogleCloudDiscoveryengineV1betaSearchRequestFacetSpecFacetKey", +"description": "Required. The facet key specification." +}, +"limit": { +"description": "Maximum facet values that are returned for this facet. If unspecified, defaults to 20. The maximum allowed value is 300. Values above 300 are coerced to 300. For aggregation in healthcare search, when the [FacetKey.key] is \"healthcare_aggregation_key\", the limit will be overridden to 10,000 internally, regardless of the value set here. If this field is negative, an `INVALID_ARGUMENT` is returned.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1betaSearchRequestFacetSpecFacetKey": { +"description": "Specifies how a facet is computed.", +"id": "GoogleCloudDiscoveryengineV1betaSearchRequestFacetSpecFacetKey", +"properties": { +"caseInsensitive": { +"description": "True to make facet keys case insensitive when getting faceting values with prefixes or contains; false otherwise.", +"type": "boolean" +}, +"contains": { +"description": "Only get facet values that contain the given strings. For example, suppose \"category\" has three values \"Action > 2022\", \"Action > 2021\" and \"Sci-Fi > 2022\". If set \"contains\" to \"2022\", the \"category\" facet only contains \"Action > 2022\" and \"Sci-Fi > 2022\". Only supported on textual fields. Maximum is 10.", +"items": { +"type": "string" +}, +"type": "array" +}, +"intervals": { +"description": "Set only if values should be bucketed into intervals. Must be set for facets with numerical values. Must not be set for facet with text values. Maximum number of intervals is 30.", +"items": { +"$ref": "GoogleCloudDiscoveryengineV1betaInterval" +}, +"type": "array" +}, +"key": { +"description": "Required. Supported textual and numerical facet keys in Document object, over which the facet values are computed. Facet key is case-sensitive.", +"type": "string" +}, +"orderBy": { +"description": "The order in which documents are returned. Allowed values are: * \"count desc\", which means order by SearchResponse.Facet.values.count descending. * \"value desc\", which means order by SearchResponse.Facet.values.value descending. Only applies to textual facets. If not set, textual values are sorted in [natural order](https://en.wikipedia.org/wiki/Natural_sort_order); numerical intervals are sorted in the order given by FacetSpec.FacetKey.intervals.", +"type": "string" +}, +"prefixes": { +"description": "Only get facet values that start with the given string prefix. For example, suppose \"category\" has three values \"Action > 2022\", \"Action > 2021\" and \"Sci-Fi > 2022\". If set \"prefixes\" to \"Action\", the \"category\" facet only contains \"Action > 2022\" and \"Action > 2021\". Only supported on textual fields. Maximum is 10.", +"items": { +"type": "string" +}, +"type": "array" +}, +"restrictedValues": { +"description": "Only get facet for the given restricted values. Only supported on textual fields. For example, suppose \"category\" has three values \"Action > 2022\", \"Action > 2021\" and \"Sci-Fi > 2022\". If set \"restricted_values\" to \"Action > 2022\", the \"category\" facet only contains \"Action > 2022\". Only supported on textual fields. Maximum is 10.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1betaSearchRequestImageQuery": { +"description": "Specifies the image query input.", +"id": "GoogleCloudDiscoveryengineV1betaSearchRequestImageQuery", +"properties": { +"imageBytes": { +"description": "Base64 encoded image bytes. Supported image formats: JPEG, PNG, and BMP.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1betaSearchRequestNaturalLanguageQueryUnderstandingSpec": { +"description": "Specification to enable natural language understanding capabilities for search requests.", +"id": "GoogleCloudDiscoveryengineV1betaSearchRequestNaturalLanguageQueryUnderstandingSpec", +"properties": { +"allowedFieldNames": { +"description": "Optional. Allowlist of fields that can be used for natural language filter extraction. By default, if this is unspecified, all indexable fields are eligible for natural language filter extraction (but are not guaranteed to be used). If any fields are specified in allowed_field_names, only the fields that are both marked as indexable in the schema and specified in the allowlist will be eligible for natural language filter extraction. Note: for multi-datastore search, this is not yet supported, and will be ignored.", +"items": { +"type": "string" +}, +"type": "array" +}, +"extractedFilterBehavior": { +"description": "Optional. Controls behavior of how extracted filters are applied to the search. The default behavior depends on the request. For single datastore structured search, the default is `HARD_FILTER`. For multi-datastore search, the default behavior is `SOFT_BOOST`. Location-based filters are always applied as hard filters, and the `SOFT_BOOST` setting will not affect them. This field is only used if SearchRequest.NaturalLanguageQueryUnderstandingSpec.FilterExtractionCondition is set to FilterExtractionCondition.ENABLED.", +"enum": [ +"EXTRACTED_FILTER_BEHAVIOR_UNSPECIFIED", +"HARD_FILTER", +"SOFT_BOOST" +], +"enumDescriptions": [ +"`EXTRACTED_FILTER_BEHAVIOR_UNSPECIFIED` will use the default behavior for extracted filters. For single datastore search, the default is to apply as hard filters. For multi-datastore search, the default is to apply as soft boosts.", +"Applies all extracted filters as hard filters on the results. Results that do not pass the extracted filters will not be returned in the result set.", +"Applies all extracted filters as soft boosts. Results that pass the filters will be boosted up to higher ranks in the result set." +], +"type": "string" +}, +"filterExtractionCondition": { +"description": "The condition under which filter extraction should occur. Server behavior defaults to `DISABLED`.", +"enum": [ +"CONDITION_UNSPECIFIED", +"DISABLED", +"ENABLED" +], +"enumDescriptions": [ +"Server behavior defaults to `DISABLED`.", +"Disables NL filter extraction.", +"Enables NL filter extraction." +], +"type": "string" +}, +"geoSearchQueryDetectionFieldNames": { +"description": "Field names used for location-based filtering, where geolocation filters are detected in natural language search queries. Only valid when the FilterExtractionCondition is set to `ENABLED`. If this field is set, it overrides the field names set in ServingConfig.geo_search_query_detection_field_names.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1betaSearchRequestPersonalizationSpec": { +"description": "The specification for personalization.", +"id": "GoogleCloudDiscoveryengineV1betaSearchRequestPersonalizationSpec", +"properties": { +"mode": { +"description": "The personalization mode of the search request. Defaults to Mode.AUTO.", +"enum": [ +"MODE_UNSPECIFIED", +"AUTO", +"DISABLED" +], +"enumDescriptions": [ +"Default value. In this case, server behavior defaults to Mode.AUTO.", +"Personalization is enabled if data quality requirements are met.", +"Disable personalization." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1betaSearchRequestQueryExpansionSpec": { +"description": "Specification to determine under which conditions query expansion should occur.", +"id": "GoogleCloudDiscoveryengineV1betaSearchRequestQueryExpansionSpec", +"properties": { +"condition": { +"description": "The condition under which query expansion should occur. Default to Condition.DISABLED.", +"enum": [ +"CONDITION_UNSPECIFIED", +"DISABLED", +"AUTO" +], +"enumDescriptions": [ +"Unspecified query expansion condition. In this case, server behavior defaults to Condition.DISABLED.", +"Disabled query expansion. Only the exact search query is used, even if SearchResponse.total_size is zero.", +"Automatic query expansion built by the Search API." +], +"type": "string" +}, +"pinUnexpandedResults": { +"description": "Whether to pin unexpanded results. If this field is set to true, unexpanded products are always at the top of the search results, followed by the expanded results.", +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1betaSearchRequestRelevanceFilterSpec": { +"description": "Relevance filtering specification.", +"id": "GoogleCloudDiscoveryengineV1betaSearchRequestRelevanceFilterSpec", +"properties": { +"keywordSearchThreshold": { +"$ref": "GoogleCloudDiscoveryengineV1betaSearchRequestRelevanceFilterSpecRelevanceThresholdSpec", +"description": "Optional. Relevance filtering threshold specification for keyword search." +}, +"semanticSearchThreshold": { +"$ref": "GoogleCloudDiscoveryengineV1betaSearchRequestRelevanceFilterSpecRelevanceThresholdSpec", +"description": "Optional. Relevance filtering threshold specification for semantic search." +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1betaSearchRequestRelevanceFilterSpecRelevanceThresholdSpec": { +"description": "Specification for relevance filtering on a specific sub-search.", +"id": "GoogleCloudDiscoveryengineV1betaSearchRequestRelevanceFilterSpecRelevanceThresholdSpec", +"properties": { +"relevanceThreshold": { +"description": "Pre-defined relevance threshold for the sub-search.", +"enum": [ +"RELEVANCE_THRESHOLD_UNSPECIFIED", +"LOWEST", +"LOW", +"MEDIUM", +"HIGH" +], +"enumDescriptions": [ +"Default value. In this case, server behavior defaults to Google defined threshold.", +"Lowest relevance threshold.", +"Low relevance threshold.", +"Medium relevance threshold.", +"High relevance threshold." +], +"type": "string" +}, +"semanticRelevanceThreshold": { +"description": "Custom relevance threshold for the sub-search. The value must be in [0.0, 1.0].", +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1betaSearchRequestRelevanceScoreSpec": { +"description": "The specification for returning the document relevance score.", +"id": "GoogleCloudDiscoveryengineV1betaSearchRequestRelevanceScoreSpec", +"properties": { +"returnRelevanceScore": { +"description": "Optional. Whether to return the relevance score for search results. The higher the score, the more relevant the document is to the query.", +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1betaSearchRequestSearchAddonSpec": { +"description": "SearchAddonSpec is used to disable add-ons for search as per new repricing model. By default if the SearchAddonSpec is not specified, we consider that the customer wants to enable them wherever applicable.", +"id": "GoogleCloudDiscoveryengineV1betaSearchRequestSearchAddonSpec", +"properties": { +"disableGenerativeAnswerAddOn": { +"description": "Optional. If true, generative answer add-on is disabled. Generative answer add-on includes natural language to filters and simple answers.", +"type": "boolean" +}, +"disableKpiPersonalizationAddOn": { +"description": "Optional. If true, disables event re-ranking and personalization to optimize KPIs & personalize results.", +"type": "boolean" +}, +"disableSemanticAddOn": { +"description": "Optional. If true, semantic add-on is disabled. Semantic add-on includes embeddings and jetstream.", +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1betaSearchRequestSearchAsYouTypeSpec": { +"description": "Specification for search as you type in search requests.", +"id": "GoogleCloudDiscoveryengineV1betaSearchRequestSearchAsYouTypeSpec", +"properties": { +"condition": { +"description": "The condition under which search as you type should occur. Default to Condition.DISABLED.", +"enum": [ +"CONDITION_UNSPECIFIED", +"DISABLED", +"ENABLED", +"AUTO" +], +"enumDescriptions": [ +"Server behavior defaults to Condition.DISABLED.", +"Disables Search As You Type.", +"Enables Search As You Type.", +"Automatic switching between search-as-you-type and standard search modes, ideal for single-API implementations (e.g., debouncing)." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1betaSearchRequestSessionSpec": { +"description": "Session specification. Multi-turn Search feature is currently at private GA stage. Please use v1alpha or v1beta version instead before we launch this feature to public GA. Or ask for allowlisting through Google Support team.", +"id": "GoogleCloudDiscoveryengineV1betaSearchRequestSessionSpec", +"properties": { +"queryId": { +"description": "If set, the search result gets stored to the \"turn\" specified by this query ID. Example: Let's say the session looks like this: session { name: \".../sessions/xxx\" turns { query { text: \"What is foo?\" query_id: \".../questions/yyy\" } answer: \"Foo is ...\" } turns { query { text: \"How about bar then?\" query_id: \".../questions/zzz\" } } } The user can call /search API with a request like this: session: \".../sessions/xxx\" session_spec { query_id: \".../questions/zzz\" } Then, the API stores the search result, associated with the last turn. The stored search result can be used by a subsequent /answer API call (with the session ID and the query ID specified). Also, it is possible to call /search and /answer in parallel with the same session ID & query ID.", +"type": "string" +}, +"searchResultPersistenceCount": { +"description": "The number of top search results to persist. The persisted search results can be used for the subsequent /answer api call. This field is similar to the `summary_result_count` field in SearchRequest.ContentSearchSpec.SummarySpec.summary_result_count. At most 10 results for documents mode, or 50 for chunks mode.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1betaSearchRequestSpellCorrectionSpec": { +"description": "The specification for query spell correction.", +"id": "GoogleCloudDiscoveryengineV1betaSearchRequestSpellCorrectionSpec", +"properties": { +"mode": { +"description": "The mode under which spell correction replaces the original search query. Defaults to Mode.AUTO.", +"enum": [ +"MODE_UNSPECIFIED", +"SUGGESTION_ONLY", +"AUTO" +], +"enumDescriptions": [ +"Unspecified spell correction mode. In this case, server behavior defaults to Mode.AUTO.", +"Search API tries to find a spelling suggestion. If a suggestion is found, it is put in the SearchResponse.corrected_query. The spelling suggestion won't be used as the search query.", +"Automatic spell correction built by the Search API. Search will be based on the corrected query if found." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1betaSetDedicatedCrawlRateMetadata": { +"description": "Metadata related to the progress of the CrawlRateManagementService.SetDedicatedCrawlRate operation. This will be returned by the google.longrunning.Operation.metadata field.", +"id": "GoogleCloudDiscoveryengineV1betaSetDedicatedCrawlRateMetadata", +"properties": { +"createTime": { +"description": "Operation create time.", +"format": "google-datetime", +"type": "string" +}, +"updateTime": { +"description": "Operation last update time. If the operation is done, this is also the finish time.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1betaSetDedicatedCrawlRateResponse": { +"description": "Response message for CrawlRateManagementService.SetDedicatedCrawlRate method. It simply returns the state of the response, and an error message if the state is FAILED.", +"id": "GoogleCloudDiscoveryengineV1betaSetDedicatedCrawlRateResponse", +"properties": { +"error": { +"$ref": "GoogleRpcStatus", +"description": "Errors from service when handling the request." +}, +"state": { +"description": "Output only. The state of the response.", +"enum": [ +"STATE_UNSPECIFIED", +"SUCCEEDED", +"FAILED" +], +"enumDescriptions": [ +"The state is unspecified.", +"The state is successful.", +"The state is failed." +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1betaSingleRegionKey": { +"description": "Metadata for single-regional CMEKs.", +"id": "GoogleCloudDiscoveryengineV1betaSingleRegionKey", +"properties": { +"kmsKey": { +"description": "Required. Single-regional kms key resource name which will be used to encrypt resources `projects/{project}/locations/{location}/keyRings/{keyRing}/cryptoKeys/{keyId}`.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1betaSiteVerificationInfo": { +"description": "Verification information for target sites in advanced site search.", +"id": "GoogleCloudDiscoveryengineV1betaSiteVerificationInfo", +"properties": { +"siteVerificationState": { +"description": "Site verification state indicating the ownership and validity.", +"enum": [ +"SITE_VERIFICATION_STATE_UNSPECIFIED", +"VERIFIED", +"UNVERIFIED", +"EXEMPTED" +], +"enumDescriptions": [ +"Defaults to VERIFIED.", +"Site ownership verified.", +"Site ownership pending verification or verification failed.", +"Site exempt from verification, e.g., a public website that opens to all." +], +"type": "string" +}, +"verifyTime": { +"description": "Latest site verification time.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1betaSitemap": { +"description": "A sitemap for the SiteSearchEngine.", +"id": "GoogleCloudDiscoveryengineV1betaSitemap", +"properties": { +"createTime": { +"description": "Output only. The sitemap's creation time.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"name": { +"description": "Output only. The fully qualified resource name of the sitemap. `projects/*/locations/*/collections/*/dataStores/*/siteSearchEngine/sitemaps/*` The `sitemap_id` suffix is system-generated.", +"readOnly": true, +"type": "string" +}, +"uri": { +"description": "Public URI for the sitemap, e.g. `www.example.com/sitemap.xml`.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1betaTargetSite": { +"description": "A target site for the SiteSearchEngine.", +"id": "GoogleCloudDiscoveryengineV1betaTargetSite", +"properties": { +"exactMatch": { +"description": "Immutable. If set to false, a uri_pattern is generated to include all pages whose address contains the provided_uri_pattern. If set to true, an uri_pattern is generated to try to be an exact match of the provided_uri_pattern or just the specific page if the provided_uri_pattern is a specific one. provided_uri_pattern is always normalized to generate the URI pattern to be used by the search engine.", +"type": "boolean" +}, +"failureReason": { +"$ref": "GoogleCloudDiscoveryengineV1betaTargetSiteFailureReason", +"description": "Output only. Failure reason.", +"readOnly": true +}, +"generatedUriPattern": { +"description": "Output only. This is system-generated based on the provided_uri_pattern.", +"readOnly": true, +"type": "string" +}, +"indexingStatus": { +"description": "Output only. Indexing status.", +"enum": [ +"INDEXING_STATUS_UNSPECIFIED", +"PENDING", +"FAILED", +"SUCCEEDED", +"DELETING", +"CANCELLABLE", +"CANCELLED" +], +"enumDescriptions": [ +"Defaults to SUCCEEDED.", +"The target site is in the update queue and will be picked up by indexing pipeline.", +"The target site fails to be indexed.", +"The target site has been indexed.", +"The previously indexed target site has been marked to be deleted. This is a transitioning state which will resulted in either: 1. target site deleted if unindexing is successful; 2. state reverts to SUCCEEDED if the unindexing fails.", +"The target site change is pending but cancellable.", +"The target site change is cancelled." +], +"readOnly": true, +"type": "string" +}, +"name": { +"description": "Output only. The fully qualified resource name of the target site. `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}` The `target_site_id` is system-generated.", +"readOnly": true, +"type": "string" +}, +"providedUriPattern": { +"description": "Required. Input only. The user provided URI pattern from which the `generated_uri_pattern` is generated.", +"type": "string" +}, +"rootDomainUri": { +"description": "Output only. Root domain of the provided_uri_pattern.", +"readOnly": true, +"type": "string" +}, +"siteVerificationInfo": { +"$ref": "GoogleCloudDiscoveryengineV1betaSiteVerificationInfo", +"description": "Output only. Site ownership and validity verification status.", +"readOnly": true +}, +"type": { +"description": "The type of the target site, e.g., whether the site is to be included or excluded.", +"enum": [ +"TYPE_UNSPECIFIED", +"INCLUDE", +"EXCLUDE" +], +"enumDescriptions": [ +"This value is unused. In this case, server behavior defaults to Type.INCLUDE.", +"Include the target site.", +"Exclude the target site." +], +"type": "string" +}, +"updateTime": { +"description": "Output only. The target site's last updated time.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1betaTargetSiteFailureReason": { +"description": "Site search indexing failure reasons.", +"id": "GoogleCloudDiscoveryengineV1betaTargetSiteFailureReason", +"properties": { +"quotaFailure": { +"$ref": "GoogleCloudDiscoveryengineV1betaTargetSiteFailureReasonQuotaFailure", +"description": "Failed due to insufficient quota." +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1betaTargetSiteFailureReasonQuotaFailure": { +"description": "Failed due to insufficient quota.", +"id": "GoogleCloudDiscoveryengineV1betaTargetSiteFailureReasonQuotaFailure", +"properties": { +"totalRequiredQuota": { +"description": "This number is an estimation on how much total quota this project needs to successfully complete indexing.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1betaTrainCustomModelMetadata": { +"description": "Metadata related to the progress of the TrainCustomModel operation. This is returned by the google.longrunning.Operation.metadata field.", +"id": "GoogleCloudDiscoveryengineV1betaTrainCustomModelMetadata", +"properties": { +"createTime": { +"description": "Operation create time.", +"format": "google-datetime", +"type": "string" +}, +"updateTime": { +"description": "Operation last update time. If the operation is done, this is also the finish time.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1betaTrainCustomModelResponse": { +"description": "Response of the TrainCustomModelRequest. This message is returned by the google.longrunning.Operations.response field.", +"id": "GoogleCloudDiscoveryengineV1betaTrainCustomModelResponse", +"properties": { +"errorConfig": { +"$ref": "GoogleCloudDiscoveryengineV1betaImportErrorConfig", +"description": "Echoes the destination for the complete errors in the request if set." +}, +"errorSamples": { +"description": "A sample of errors encountered while processing the data.", +"items": { +"$ref": "GoogleRpcStatus" +}, +"type": "array" +}, +"metrics": { +"additionalProperties": { +"format": "double", +"type": "number" +}, +"description": "The metrics of the trained model.", +"type": "object" +}, +"modelName": { +"description": "Fully qualified name of the CustomTuningModel.", +"type": "string" +}, +"modelStatus": { +"description": "The trained model status. Possible values are: * **bad-data**: The training data quality is bad. * **no-improvement**: Tuning didn't improve performance. Won't deploy. * **in-progress**: Model training job creation is in progress. * **training**: Model is actively training. * **evaluating**: The model is evaluating trained metrics. * **indexing**: The model trained metrics are indexing. * **ready**: The model is ready for serving.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1betaTuneEngineMetadata": { +"description": "Metadata associated with a tune operation.", +"id": "GoogleCloudDiscoveryengineV1betaTuneEngineMetadata", +"properties": { +"engine": { +"description": "Required. The resource name of the engine that this tune applies to. Format: `projects/{project}/locations/{location}/collections/{collection_id}/engines/{engine_id}`", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1betaTuneEngineResponse": { +"description": "Response associated with a tune operation.", +"id": "GoogleCloudDiscoveryengineV1betaTuneEngineResponse", +"properties": {}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1betaUpdateSchemaMetadata": { +"description": "Metadata for UpdateSchema LRO.", +"id": "GoogleCloudDiscoveryengineV1betaUpdateSchemaMetadata", +"properties": { +"createTime": { +"description": "Operation create time.", +"format": "google-datetime", +"type": "string" +}, +"updateTime": { +"description": "Operation last update time. If the operation is done, this is also the finish time.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1betaUpdateTargetSiteMetadata": { +"description": "Metadata related to the progress of the SiteSearchEngineService.UpdateTargetSite operation. This will be returned by the google.longrunning.Operation.metadata field.", +"id": "GoogleCloudDiscoveryengineV1betaUpdateTargetSiteMetadata", +"properties": { +"createTime": { +"description": "Operation create time.", +"format": "google-datetime", +"type": "string" +}, +"updateTime": { +"description": "Operation last update time. If the operation is done, this is also the finish time.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1betaUserInfo": { +"description": "Information of an end user.", +"id": "GoogleCloudDiscoveryengineV1betaUserInfo", +"properties": { +"timeZone": { +"description": "Optional. IANA time zone, e.g. Europe/Budapest.", +"type": "string" +}, +"userAgent": { +"description": "User agent as included in the HTTP header. The field must be a UTF-8 encoded string with a length limit of 1,000 characters. Otherwise, an `INVALID_ARGUMENT` error is returned. This should not be set when using the client side event reporting with GTM or JavaScript tag in UserEventService.CollectUserEvent or if UserEvent.direct_user_request is set.", +"type": "string" +}, +"userId": { +"description": "Highly recommended for logged-in users. Unique identifier for logged-in user, such as a user name. Don't set for anonymous users. Always use a hashed value for this ID. Don't set the field to the same fixed ID for different users. This mixes the event history of those users together, which results in degraded model quality. The field must be a UTF-8 encoded string with a length limit of 128 characters. Otherwise, an `INVALID_ARGUMENT` error is returned.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1betaUserLicense": { +"description": "User License information assigned by the admin.", +"id": "GoogleCloudDiscoveryengineV1betaUserLicense", +"properties": { +"createTime": { +"description": "Output only. User created timestamp.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"lastLoginTime": { +"description": "Output only. User last logged in time. If the user has not logged in yet, this field will be empty.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"licenseAssignmentState": { +"description": "Output only. License assignment state of the user. If the user is assigned with a license config, the user login will be assigned with the license; If the user's license assignment state is unassigned or unspecified, no license config will be associated to the user;", +"enum": [ +"LICENSE_ASSIGNMENT_STATE_UNSPECIFIED", +"ASSIGNED", +"UNASSIGNED", +"NO_LICENSE", +"NO_LICENSE_ATTEMPTED_LOGIN", +"BLOCKED" +], +"enumDescriptions": [ +"Default value.", +"License assigned to the user.", +"No license assigned to the user. Deprecated, translated to NO_LICENSE.", +"No license assigned to the user.", +"User attempted to login but no license assigned to the user. This state is only used for no user first time login attempt but cannot get license assigned. Users already logged in but cannot get license assigned will be assigned NO_LICENSE state(License could be unassigned by admin).", +"User is blocked from assigning a license." +], +"readOnly": true, +"type": "string" +}, +"licenseConfig": { +"description": "Optional. The full resource name of the Subscription(LicenseConfig) assigned to the user.", +"type": "string" +}, +"updateTime": { +"description": "Output only. User update timestamp.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"userPrincipal": { +"description": "Required. Immutable. The user principal of the User, could be email address or other prinical identifier. This field is immutable. Admin assign licenses based on the user principal.", +"type": "string" +}, +"userProfile": { +"description": "Optional. The user profile. We user user full name(First name + Last name) as user profile.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1betaUserStore": { +"description": "Configures metadata that is used for End User entities.", +"id": "GoogleCloudDiscoveryengineV1betaUserStore", +"properties": { +"defaultLicenseConfig": { +"description": "Optional. The default subscription LicenseConfig for the UserStore, if UserStore.enable_license_auto_register is true, new users will automatically register under the default subscription. If default LicenseConfig doesn't have remaining license seats left, new users will not be assigned with license and will be blocked for Vertex AI Search features. This is used if `license_assignment_tier_rules` is not configured.", +"type": "string" +}, +"displayName": { +"description": "The display name of the User Store.", +"type": "string" +}, +"enableExpiredLicenseAutoUpdate": { +"description": "Optional. Whether to enable license auto update for users in this User Store. If true, users with expired licenses will automatically be updated to use the default license config as long as the default license config has seats left.", +"type": "boolean" +}, +"enableLicenseAutoRegister": { +"description": "Optional. Whether to enable license auto register for users in this User Store. If true, new users will automatically register under the default license config as long as the default license config has seats left.", +"type": "boolean" +}, +"name": { +"description": "Immutable. The full resource name of the User Store, in the format of `projects/{project}/locations/{location}/userStores/{user_store}`. This field must be a UTF-8 encoded string with a length limit of 1024 characters.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDiscoveryengineV1betaWorkspaceConfig": { +"description": "Config to store data store type configuration for workspace data", +"id": "GoogleCloudDiscoveryengineV1betaWorkspaceConfig", +"properties": { +"dasherCustomerId": { +"description": "Obfuscated Dasher customer ID.", +"type": "string" +}, +"superAdminEmailAddress": { +"description": "Optional. The super admin email address for the workspace that will be used for access token generation. For now we only use it for Native Google Drive connector data ingestion.", +"type": "string" +}, +"superAdminServiceAccount": { +"description": "Optional. The super admin service account for the workspace that will be used for access token generation. For now we only use it for Native Google Drive connector data ingestion.", +"type": "string" +}, +"type": { +"description": "The Google Workspace data source.", +"enum": [ +"TYPE_UNSPECIFIED", +"GOOGLE_DRIVE", +"GOOGLE_MAIL", +"GOOGLE_SITES", +"GOOGLE_CALENDAR", +"GOOGLE_CHAT", +"GOOGLE_GROUPS", +"GOOGLE_KEEP", +"GOOGLE_PEOPLE" +], +"enumDescriptions": [ +"Defaults to an unspecified Workspace type.", +"Workspace Data Store contains Drive data", +"Workspace Data Store contains Mail data", +"Workspace Data Store contains Sites data", +"Workspace Data Store contains Calendar data", +"Workspace Data Store contains Chat data", +"Workspace Data Store contains Groups data", +"Workspace Data Store contains Keep data", +"Workspace Data Store contains People data" +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleIamV1Binding": { +"description": "Associates `members`, or principals, with a `role`.", +"id": "GoogleIamV1Binding", +"properties": { +"condition": { +"$ref": "GoogleTypeExpr", +"description": "The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies)." +}, +"members": { +"description": "Specifies the principals requesting access for a Google Cloud resource. `members` can have the following values: * `allUsers`: A special identifier that represents anyone who is on the internet; with or without a Google account. * `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service account. Does not include identities that come from external identity providers (IdPs) through identity federation. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `group:{emailid}`: An email address that represents a Google group. For example, `admins@example.com`. * `domain:{domain}`: The G Suite domain (primary) that represents all the users of that domain. For example, `google.com` or `example.com`. * `principal://iam.googleapis.com/locations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}`: A single identity in a workforce identity pool. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/group/{group_id}`: All workforce identities in a group. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/attribute.{attribute_name}/{attribute_value}`: All workforce identities with a specific attribute value. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/*`: All identities in a workforce identity pool. * `principal://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/subject/{subject_attribute_value}`: A single identity in a workload identity pool. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/group/{group_id}`: A workload identity pool group. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/attribute.{attribute_name}/{attribute_value}`: All identities in a workload identity pool with a certain attribute. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/*`: All identities in a workload identity pool. * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a user that has been recently deleted. For example, `alice@example.com?uid=123456789012345678901`. If the user is recovered, this value reverts to `user:{emailid}` and the recovered user retains the role in the binding. * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a service account that has been recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the service account is undeleted, this value reverts to `serviceAccount:{emailid}` and the undeleted service account retains the role in the binding. * `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a Google group that has been recently deleted. For example, `admins@example.com?uid=123456789012345678901`. If the group is recovered, this value reverts to `group:{emailid}` and the recovered group retains the role in the binding. * `deleted:principal://iam.googleapis.com/locations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}`: Deleted single identity in a workforce identity pool. For example, `deleted:principal://iam.googleapis.com/locations/global/workforcePools/my-pool-id/subject/my-subject-attribute-value`.", +"items": { +"type": "string" +}, +"type": "array" +}, +"role": { +"description": "Role that is assigned to the list of `members`, or principals. For example, `roles/viewer`, `roles/editor`, or `roles/owner`. For an overview of the IAM roles and permissions, see the [IAM documentation](https://cloud.google.com/iam/docs/roles-overview). For a list of the available pre-defined roles, see [here](https://cloud.google.com/iam/docs/understanding-roles).", +"type": "string" +} +}, +"type": "object" +}, +"GoogleIamV1Policy": { +"description": "An Identity and Access Management (IAM) policy, which specifies access controls for Google Cloud resources. A `Policy` is a collection of `bindings`. A `binding` binds one or more `members`, or principals, to a single `role`. Principals can be user accounts, service accounts, Google groups, and domains (such as G Suite). A `role` is a named list of permissions; each `role` can be an IAM predefined role or a user-created custom role. For some types of Google Cloud resources, a `binding` can also specify a `condition`, which is a logical expression that allows access to a resource only if the expression evaluates to `true`. A condition can add constraints based on attributes of the request, the resource, or both. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). **JSON example:** ``` { \"bindings\": [ { \"role\": \"roles/resourcemanager.organizationAdmin\", \"members\": [ \"user:mike@example.com\", \"group:admins@example.com\", \"domain:google.com\", \"serviceAccount:my-project-id@appspot.gserviceaccount.com\" ] }, { \"role\": \"roles/resourcemanager.organizationViewer\", \"members\": [ \"user:eve@example.com\" ], \"condition\": { \"title\": \"expirable access\", \"description\": \"Does not grant access after Sep 2020\", \"expression\": \"request.time < timestamp('2020-10-01T00:00:00.000Z')\", } } ], \"etag\": \"BwWWja0YfJA=\", \"version\": 3 } ``` **YAML example:** ``` bindings: - members: - user:mike@example.com - group:admins@example.com - domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.com role: roles/resourcemanager.organizationViewer condition: title: expirable access description: Does not grant access after Sep 2020 expression: request.time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 ``` For a description of IAM and its features, see the [IAM documentation](https://cloud.google.com/iam/docs/).", +"id": "GoogleIamV1Policy", +"properties": { +"bindings": { +"description": "Associates a list of `members`, or principals, with a `role`. Optionally, may specify a `condition` that determines how and when the `bindings` are applied. Each of the `bindings` must contain at least one principal. The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250 of these principals can be Google groups. Each occurrence of a principal counts towards these limits. For example, if the `bindings` grant 50 different roles to `user:alice@example.com`, and not to any other principal, then you can add another 1,450 principals to the `bindings` in the `Policy`.", +"items": { +"$ref": "GoogleIamV1Binding" +}, +"type": "array" +}, +"etag": { +"description": "`etag` is used for optimistic concurrency control as a way to help prevent simultaneous updates of a policy from overwriting each other. It is strongly suggested that systems make use of the `etag` in the read-modify-write cycle to perform policy updates in order to avoid race conditions: An `etag` is returned in the response to `getIamPolicy`, and systems are expected to put that etag in the request to `setIamPolicy` to ensure that their change will be applied to the same version of the policy. **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost.", +"format": "byte", +"type": "string" +}, +"version": { +"description": "Specifies the format of the policy. Valid values are `0`, `1`, and `3`. Requests that specify an invalid value are rejected. Any operation that affects conditional role bindings must specify version `3`. This requirement applies to the following operations: * Getting a policy that includes a conditional role binding * Adding a conditional role binding to a policy * Changing a conditional role binding in a policy * Removing any role binding, with or without a condition, from a policy that includes conditions **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost. If a policy does not include any conditions, operations on that policy may specify any valid version or leave the field unset. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"GoogleIamV1SetIamPolicyRequest": { +"description": "Request message for `SetIamPolicy` method.", +"id": "GoogleIamV1SetIamPolicyRequest", +"properties": { +"policy": { +"$ref": "GoogleIamV1Policy", +"description": "REQUIRED: The complete policy to be applied to the `resource`. The size of the policy is limited to a few 10s of KB. An empty policy is a valid policy but certain Google Cloud services (such as Projects) might reject them." +} +}, +"type": "object" +}, +"GoogleLongrunningCancelOperationRequest": { +"description": "The request message for Operations.CancelOperation.", +"id": "GoogleLongrunningCancelOperationRequest", +"properties": {}, +"type": "object" +}, +"GoogleLongrunningListOperationsResponse": { +"description": "The response message for Operations.ListOperations.", +"id": "GoogleLongrunningListOperationsResponse", +"properties": { +"nextPageToken": { +"description": "The standard List next-page token.", +"type": "string" +}, +"operations": { +"description": "A list of operations that matches the specified filter in the request.", +"items": { +"$ref": "GoogleLongrunningOperation" +}, +"type": "array" +}, +"unreachable": { +"description": "Unordered list. Unreachable resources. Populated when the request sets `ListOperationsRequest.return_partial_success` and reads across collections. For example, when attempting to list all resources across all supported locations.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleLongrunningOperation": { +"description": "This resource represents a long-running operation that is the result of a network API call.", +"id": "GoogleLongrunningOperation", +"properties": { +"done": { +"description": "If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.", +"type": "boolean" +}, +"error": { +"$ref": "GoogleRpcStatus", +"description": "The error result of the operation in case of failure or cancellation." +}, +"metadata": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.", +"type": "object" +}, +"name": { +"description": "The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.", +"type": "string" +}, +"response": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "The normal, successful response of the operation. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.", +"type": "object" +} +}, +"type": "object" +}, +"GoogleMonitoringV3Point": { +"description": "A single data point in a time series.", +"id": "GoogleMonitoringV3Point", +"properties": { +"interval": { +"$ref": "GoogleMonitoringV3TimeInterval", +"description": "The time interval to which the data point applies. For `GAUGE` metrics, the start time is optional, but if it is supplied, it must equal the end time. For `DELTA` metrics, the start and end time should specify a non-zero interval, with subsequent points specifying contiguous and non-overlapping intervals. For `CUMULATIVE` metrics, the start and end time should specify a non-zero interval, with subsequent points specifying the same start time and increasing end times, until an event resets the cumulative value to zero and sets a new start time for the following points." +}, +"value": { +"$ref": "GoogleMonitoringV3TypedValue", +"description": "The value of the data point." +} +}, +"type": "object" +}, +"GoogleMonitoringV3TimeInterval": { +"description": "A time interval extending just after a start time through an end time. If the start time is the same as the end time, then the interval represents a single point in time.", +"id": "GoogleMonitoringV3TimeInterval", +"properties": { +"endTime": { +"description": "Required. The end of the time interval.", +"format": "google-datetime", +"type": "string" +}, +"startTime": { +"description": "Optional. The beginning of the time interval. The default value for the start time is the end time. The start time must not be later than the end time.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"GoogleMonitoringV3TimeSeries": { +"description": "A collection of data points that describes the time-varying values of a metric. A time series is identified by a combination of a fully-specified monitored resource and a fully-specified metric. This type is used for both listing and creating time series.", +"id": "GoogleMonitoringV3TimeSeries", +"properties": { +"description": { +"description": "Input only. A detailed description of the time series that will be associated with the google.api.MetricDescriptor for the metric. Once set, this field cannot be changed through CreateTimeSeries.", +"type": "string" +}, +"metadata": { +"$ref": "GoogleApiMonitoredResourceMetadata", +"description": "Output only. The associated monitored resource metadata. When reading a time series, this field will include metadata labels that are explicitly named in the reduction. When creating a time series, this field is ignored." +}, +"metric": { +"$ref": "GoogleApiMetric", +"description": "The associated metric. A fully-specified metric used to identify the time series." +}, +"metricKind": { +"description": "The metric kind of the time series. When listing time series, this metric kind might be different from the metric kind of the associated metric if this time series is an alignment or reduction of other time series. When creating a time series, this field is optional. If present, it must be the same as the metric kind of the associated metric. If the associated metric's descriptor must be auto-created, then this field specifies the metric kind of the new descriptor and must be either `GAUGE` (the default) or `CUMULATIVE`.", +"enum": [ +"METRIC_KIND_UNSPECIFIED", +"GAUGE", +"DELTA", +"CUMULATIVE" +], +"enumDescriptions": [ +"Do not use this default value.", +"An instantaneous measurement of a value.", +"The change in a value during a time interval.", +"A value accumulated over a time interval. Cumulative measurements in a time series should have the same start time and increasing end times, until an event resets the cumulative value to zero and sets a new start time for the following points." +], +"type": "string" +}, +"points": { +"description": "The data points of this time series. When listing time series, points are returned in reverse time order. When creating a time series, this field must contain exactly one point and the point's type must be the same as the value type of the associated metric. If the associated metric's descriptor must be auto-created, then the value type of the descriptor is determined by the point's type, which must be `BOOL`, `INT64`, `DOUBLE`, or `DISTRIBUTION`.", +"items": { +"$ref": "GoogleMonitoringV3Point" +}, +"type": "array" +}, +"resource": { +"$ref": "GoogleApiMonitoredResource", +"description": "The associated monitored resource. Custom metrics can use only certain monitored resource types in their time series data. For more information, see [Monitored resources for custom metrics](https://cloud.google.com/monitoring/custom-metrics/creating-metrics#custom-metric-resources)." +}, +"unit": { +"description": "The units in which the metric value is reported. It is only applicable if the `value_type` is `INT64`, `DOUBLE`, or `DISTRIBUTION`. The `unit` defines the representation of the stored metric values. This field can only be changed through CreateTimeSeries when it is empty.", +"type": "string" +}, +"valueType": { +"description": "The value type of the time series. When listing time series, this value type might be different from the value type of the associated metric if this time series is an alignment or reduction of other time series. When creating a time series, this field is optional. If present, it must be the same as the type of the data in the `points` field.", +"enum": [ +"VALUE_TYPE_UNSPECIFIED", +"BOOL", +"INT64", +"DOUBLE", +"STRING", +"DISTRIBUTION", +"MONEY" +], +"enumDescriptions": [ +"Do not use this default value.", +"The value is a boolean. This value type can be used only if the metric kind is `GAUGE`.", +"The value is a signed 64-bit integer.", +"The value is a double precision floating point number.", +"The value is a text string. This value type can be used only if the metric kind is `GAUGE`.", +"The value is a `Distribution`.", +"The value is money." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleMonitoringV3TypedValue": { +"description": "A single strongly-typed value.", +"id": "GoogleMonitoringV3TypedValue", +"properties": { +"boolValue": { +"description": "A Boolean value: `true` or `false`.", +"type": "boolean" +}, +"distributionValue": { +"$ref": "GoogleApiDistribution", +"description": "A distribution value." +}, +"doubleValue": { +"description": "A 64-bit double-precision floating-point number. Its magnitude is approximately \u00b110\u00b1300 and it has 16 significant digits of precision.", +"format": "double", +"type": "number" +}, +"int64Value": { +"description": "A 64-bit integer. Its range is approximately \u00b19.2x1018.", +"format": "int64", +"type": "string" +}, +"stringValue": { +"description": "A variable-length string value.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleProtobufEmpty": { +"description": "A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }", +"id": "GoogleProtobufEmpty", +"properties": {}, +"type": "object" +}, +"GoogleRpcStatus": { +"description": "The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors).", +"id": "GoogleRpcStatus", +"properties": { +"code": { +"description": "The status code, which should be an enum value of google.rpc.Code.", +"format": "int32", +"type": "integer" +}, +"details": { +"description": "A list of messages that carry the error details. There is a common set of message types for APIs to use.", +"items": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleTypeDate": { +"description": "Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following: * A full date, with non-zero year, month, and day values. * A month and day, with a zero year (for example, an anniversary). * A year on its own, with a zero month and a zero day. * A year and month, with a zero day (for example, a credit card expiration date). Related types: * google.type.TimeOfDay * google.type.DateTime * google.protobuf.Timestamp", +"id": "GoogleTypeDate", +"properties": { +"day": { +"description": "Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn't significant.", +"format": "int32", +"type": "integer" +}, +"month": { +"description": "Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.", +"format": "int32", +"type": "integer" +}, +"year": { +"description": "Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"GoogleTypeDateTime": { +"description": "Represents civil time (or occasionally physical time). This type can represent a civil time in one of a few possible ways: * When utc_offset is set and time_zone is unset: a civil time on a calendar day with a particular offset from UTC. * When time_zone is set and utc_offset is unset: a civil time on a calendar day in a particular time zone. * When neither time_zone nor utc_offset is set: a civil time on a calendar day in local time. The date is relative to the Proleptic Gregorian Calendar. If year, month, or day are 0, the DateTime is considered not to have a specific year, month, or day respectively. This type may also be used to represent a physical time if all the date and time fields are set and either case of the `time_offset` oneof is set. Consider using `Timestamp` message for physical time instead. If your use case also would like to store the user's timezone, that can be done in another field. This type is more flexible than some applications may want. Make sure to document and validate your application's limitations.", +"id": "GoogleTypeDateTime", +"properties": { +"day": { +"description": "Optional. Day of month. Must be from 1 to 31 and valid for the year and month, or 0 if specifying a datetime without a day.", +"format": "int32", +"type": "integer" +}, +"hours": { +"description": "Optional. Hours of day in 24 hour format. Should be from 0 to 23, defaults to 0 (midnight). An API may choose to allow the value \"24:00:00\" for scenarios like business closing time.", +"format": "int32", +"type": "integer" +}, +"minutes": { +"description": "Optional. Minutes of hour of day. Must be from 0 to 59, defaults to 0.", +"format": "int32", +"type": "integer" +}, +"month": { +"description": "Optional. Month of year. Must be from 1 to 12, or 0 if specifying a datetime without a month.", +"format": "int32", +"type": "integer" +}, +"nanos": { +"description": "Optional. Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999, defaults to 0.", +"format": "int32", +"type": "integer" +}, +"seconds": { +"description": "Optional. Seconds of minutes of the time. Must normally be from 0 to 59, defaults to 0. An API may allow the value 60 if it allows leap-seconds.", +"format": "int32", +"type": "integer" +}, +"timeZone": { +"$ref": "GoogleTypeTimeZone", +"description": "Time zone." +}, +"utcOffset": { +"description": "UTC offset. Must be whole seconds, between -18 hours and +18 hours. For example, a UTC offset of -4:00 would be represented as { seconds: -14400 }.", +"format": "google-duration", +"type": "string" +}, +"year": { +"description": "Optional. Year of date. Must be from 1 to 9999, or 0 if specifying a datetime without a year.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"GoogleTypeExpr": { +"description": "Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: \"Summary size limit\" description: \"Determines if a summary is less than 100 chars\" expression: \"document.summary.size() < 100\" Example (Equality): title: \"Requestor is owner\" description: \"Determines if requestor is the document owner\" expression: \"document.owner == request.auth.claims.email\" Example (Logic): title: \"Public documents\" description: \"Determine whether the document should be publicly visible\" expression: \"document.type != 'private' && document.type != 'internal'\" Example (Data Manipulation): title: \"Notification string\" description: \"Create a notification string with a timestamp.\" expression: \"'New message received at ' + string(document.create_time)\" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information.", +"id": "GoogleTypeExpr", +"properties": { +"description": { +"description": "Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI.", +"type": "string" +}, +"expression": { +"description": "Textual representation of an expression in Common Expression Language syntax.", +"type": "string" +}, +"location": { +"description": "Optional. String indicating the location of the expression for error reporting, e.g. a file name and a position in the file.", +"type": "string" +}, +"title": { +"description": "Optional. Title for the expression, i.e. a short string describing its purpose. This can be used e.g. in UIs which allow to enter the expression.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleTypeTimeZone": { +"description": "Represents a time zone from the [IANA Time Zone Database](https://www.iana.org/time-zones).", +"id": "GoogleTypeTimeZone", +"properties": { +"id": { +"description": "IANA Time Zone Database time zone. For example \"America/New_York\".", +"type": "string" +}, +"version": { +"description": "Optional. IANA Time Zone Database version number. For example \"2019a\".", +"type": "string" +} +}, +"type": "object" +} +}, +"servicePath": "", +"title": "Discovery Engine API", +"version": "v1", +"version_module": true +} \ No newline at end of file diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/displayvideo.v4.json b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/displayvideo.v4.json new file mode 100644 index 0000000000000000000000000000000000000000..ac7c9a2c61b954896e9139be38a2a353d17c179e --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/displayvideo.v4.json @@ -0,0 +1,23493 @@ +{ +"auth": { +"oauth2": { +"scopes": { +"https://www.googleapis.com/auth/display-video": { +"description": "Create, see, edit, and permanently delete your Display & Video 360 entities and reports" +}, +"https://www.googleapis.com/auth/display-video-mediaplanning": { +"description": "Create, see, and edit Display & Video 360 Campaign entities and see billing invoices" +}, +"https://www.googleapis.com/auth/display-video-user-management": { +"description": "Private Service: https://www.googleapis.com/auth/display-video-user-management" +}, +"https://www.googleapis.com/auth/doubleclickbidmanager": { +"description": "View and manage your reports in DoubleClick Bid Manager" +} +} +} +}, +"basePath": "", +"baseUrl": "https://displayvideo.googleapis.com/", +"batchPath": "batch", +"canonicalName": "Display Video", +"description": "Display & Video 360 API allows users to automate complex Display & Video 360 workflows, such as creating insertion orders and setting targeting options for individual line items.", +"discoveryVersion": "v1", +"documentationLink": "https://developers.google.com/display-video/", +"fullyEncodeReservedExpansion": true, +"icons": { +"x16": "http://www.google.com/images/icons/product/search-16.gif", +"x32": "http://www.google.com/images/icons/product/search-32.gif" +}, +"id": "displayvideo:v4", +"kind": "discovery#restDescription", +"mtlsRootUrl": "https://displayvideo.mtls.googleapis.com/", +"name": "displayvideo", +"ownerDomain": "google.com", +"ownerName": "Google", +"parameters": { +"$.xgafv": { +"description": "V1 error format.", +"enum": [ +"1", +"2" +], +"enumDescriptions": [ +"v1 error format", +"v2 error format" +], +"location": "query", +"type": "string" +}, +"access_token": { +"description": "OAuth access token.", +"location": "query", +"type": "string" +}, +"alt": { +"default": "json", +"description": "Data format for response.", +"enum": [ +"json", +"media", +"proto" +], +"enumDescriptions": [ +"Responses with Content-Type of application/json", +"Media download with context-dependent Content-Type", +"Responses with Content-Type of application/x-protobuf" +], +"location": "query", +"type": "string" +}, +"callback": { +"description": "JSONP", +"location": "query", +"type": "string" +}, +"fields": { +"description": "Selector specifying which fields to include in a partial response.", +"location": "query", +"type": "string" +}, +"key": { +"description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", +"location": "query", +"type": "string" +}, +"oauth_token": { +"description": "OAuth 2.0 token for the current user.", +"location": "query", +"type": "string" +}, +"prettyPrint": { +"default": "true", +"description": "Returns response with indentations and line breaks.", +"location": "query", +"type": "boolean" +}, +"quotaUser": { +"description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.", +"location": "query", +"type": "string" +}, +"uploadType": { +"description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", +"location": "query", +"type": "string" +}, +"upload_protocol": { +"description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", +"location": "query", +"type": "string" +} +}, +"protocol": "rest", +"resources": { +"advertisers": { +"methods": { +"audit": { +"description": "Audits an advertiser. Returns the counts of used entities per resource type under the advertiser provided. Used entities count towards their respective resource limit. See https://support.google.com/displayvideo/answer/6071450.", +"flatPath": "v4/advertisers/{advertisersId}:audit", +"httpMethod": "GET", +"id": "displayvideo.advertisers.audit", +"parameterOrder": [ +"advertiserId" +], +"parameters": { +"advertiserId": { +"description": "Required. The ID of the advertiser to audit.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"readMask": { +"description": "Optional. The specific fields to return. If no mask is specified, all fields in the response proto will be filled. Valid values are: * usedLineItemsCount * usedInsertionOrdersCount * usedCampaignsCount * channelsCount * negativelyTargetedChannelsCount * negativeKeywordListsCount * adGroupCriteriaCount * campaignCriteriaCount", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v4/advertisers/{+advertiserId}:audit", +"response": { +"$ref": "AuditAdvertiserResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/display-video" +] +}, +"create": { +"description": "Creates a new advertiser. Returns the newly created advertiser if successful. **This method regularly experiences high latency.** We recommend [increasing your default timeout](/display-video/api/guides/best-practices/timeouts#client_library_timeout) to avoid errors.", +"flatPath": "v4/advertisers", +"httpMethod": "POST", +"id": "displayvideo.advertisers.create", +"parameterOrder": [], +"parameters": {}, +"path": "v4/advertisers", +"request": { +"$ref": "Advertiser" +}, +"response": { +"$ref": "Advertiser" +}, +"scopes": [ +"https://www.googleapis.com/auth/display-video" +] +}, +"delete": { +"description": "Deletes an advertiser. Deleting an advertiser will delete all of its child resources, for example, campaigns, insertion orders and line items. A deleted advertiser cannot be recovered.", +"flatPath": "v4/advertisers/{advertisersId}", +"httpMethod": "DELETE", +"id": "displayvideo.advertisers.delete", +"parameterOrder": [ +"advertiserId" +], +"parameters": { +"advertiserId": { +"description": "The ID of the advertiser we need to delete.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v4/advertisers/{+advertiserId}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/display-video" +] +}, +"editAssignedTargetingOptions": { +"description": "Edits targeting options under a single advertiser. The operation will delete the assigned targeting options provided in BulkEditAdvertiserAssignedTargetingOptionsRequest.delete_requests and then create the assigned targeting options provided in BulkEditAdvertiserAssignedTargetingOptionsRequest.create_requests .", +"flatPath": "v4/advertisers/{advertisersId}:editAssignedTargetingOptions", +"httpMethod": "POST", +"id": "displayvideo.advertisers.editAssignedTargetingOptions", +"parameterOrder": [ +"advertiserId" +], +"parameters": { +"advertiserId": { +"description": "Required. The ID of the advertiser.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v4/advertisers/{+advertiserId}:editAssignedTargetingOptions", +"request": { +"$ref": "BulkEditAdvertiserAssignedTargetingOptionsRequest" +}, +"response": { +"$ref": "BulkEditAdvertiserAssignedTargetingOptionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/display-video" +] +}, +"get": { +"description": "Gets an advertiser.", +"flatPath": "v4/advertisers/{advertisersId}", +"httpMethod": "GET", +"id": "displayvideo.advertisers.get", +"parameterOrder": [ +"advertiserId" +], +"parameters": { +"advertiserId": { +"description": "Required. The ID of the advertiser to fetch.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v4/advertisers/{+advertiserId}", +"response": { +"$ref": "Advertiser" +}, +"scopes": [ +"https://www.googleapis.com/auth/display-video" +] +}, +"list": { +"description": "Lists advertisers that are accessible to the current user. The order is defined by the order_by parameter. A single partner_id is required. Cross-partner listing is not supported.", +"flatPath": "v4/advertisers", +"httpMethod": "GET", +"id": "displayvideo.advertisers.list", +"parameterOrder": [], +"parameters": { +"filter": { +"description": "Allows filtering by advertiser fields. Supported syntax: * Filter expressions are made up of one or more restrictions. * Restrictions can be combined by `AND` or `OR` logical operators. * A restriction has the form of `{field} {operator} {value}`. * The `updateTime` field must use the `GREATER THAN OR EQUAL TO (>=)` or `LESS THAN OR EQUAL TO (<=)` operators. * All other fields must use the `EQUALS (=)` operator. Supported fields: * `advertiserId` * `displayName` * `entityStatus` * `updateTime` (input in ISO 8601 format, or `YYYY-MM-DDTHH:MM:SSZ`) Examples: * All active advertisers under a partner: `entityStatus=\"ENTITY_STATUS_ACTIVE\"` * All advertisers with an update time less than or equal to 2020-11-04T18:54:47Z (format of ISO 8601): `updateTime<=\"2020-11-04T18:54:47Z\"` * All advertisers with an update time greater than or equal to 2020-11-04T18:54:47Z (format of ISO 8601): `updateTime>=\"2020-11-04T18:54:47Z\"` The length of this field should be no more than 500 characters. Reference our [filter `LIST` requests](/display-video/api/guides/how-tos/filters) guide for more information.", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "Field by which to sort the list. Acceptable values are: * `advertiserId` (default) * `displayName` * `entityStatus` * `updateTime` The default sorting order is ascending. To specify descending order for a field, a suffix \"desc\" should be added to the field name. For example, `displayName desc`.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Requested page size. Must be between `1` and `200`. If unspecified will default to `100`.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A token identifying a page of results the server should return. Typically, this is the value of next_page_token returned from the previous call to `ListAdvertisers` method. If not specified, the first page of results will be returned.", +"location": "query", +"type": "string" +}, +"partnerId": { +"description": "Required. The ID of the partner that the fetched advertisers should all belong to. The system only supports listing advertisers for one partner at a time.", +"format": "int64", +"location": "query", +"type": "string" +} +}, +"path": "v4/advertisers", +"response": { +"$ref": "ListAdvertisersResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/display-video" +] +}, +"listAssignedTargetingOptions": { +"description": "Lists assigned targeting options of an advertiser across targeting types.", +"flatPath": "v4/advertisers/{advertisersId}:listAssignedTargetingOptions", +"httpMethod": "GET", +"id": "displayvideo.advertisers.listAssignedTargetingOptions", +"parameterOrder": [ +"advertiserId" +], +"parameters": { +"advertiserId": { +"description": "Required. The ID of the advertiser the line item belongs to.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"filter": { +"description": "Allows filtering by assigned targeting option fields. Supported syntax: * Filter expressions are made up of one or more restrictions. * Restrictions can be combined by the `OR` logical operator. * A restriction has the form of `{field} {operator} {value}`. * All fields must use the `EQUALS (=) operator`. Supported fields: * `targetingType` Examples: * targetingType with value TARGETING_TYPE_CHANNEL `targetingType=\"TARGETING_TYPE_CHANNEL\"` The length of this field should be no more than 500 characters. Reference our [filter `LIST` requests](/display-video/api/guides/how-tos/filters) guide for more information.", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "Field by which to sort the list. Acceptable values are: * `targetingType` (default) The default sorting order is ascending. To specify descending order for a field, a suffix \"desc\" should be added to the field name. Example: `targetingType desc`.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Requested page size. The size must be an integer between `1` and `5000`. If unspecified, the default is '5000'. Returns error code `INVALID_ARGUMENT` if an invalid value is specified.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A token that lets the client fetch the next page of results. Typically, this is the value of next_page_token returned from the previous call to `BulkListAdvertiserAssignedTargetingOptions` method. If not specified, the first page of results will be returned.", +"location": "query", +"type": "string" +} +}, +"path": "v4/advertisers/{+advertiserId}:listAssignedTargetingOptions", +"response": { +"$ref": "BulkListAdvertiserAssignedTargetingOptionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/display-video" +] +}, +"patch": { +"description": "Updates an existing advertiser. Returns the updated advertiser if successful.", +"flatPath": "v4/advertisers/{advertisersId}", +"httpMethod": "PATCH", +"id": "displayvideo.advertisers.patch", +"parameterOrder": [ +"advertiserId" +], +"parameters": { +"advertiserId": { +"description": "Output only. The unique ID of the advertiser. Assigned by the system.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Required. The mask to control which fields to update.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v4/advertisers/{+advertiserId}", +"request": { +"$ref": "Advertiser" +}, +"response": { +"$ref": "Advertiser" +}, +"scopes": [ +"https://www.googleapis.com/auth/display-video" +] +} +}, +"resources": { +"adAssets": { +"methods": { +"bulkCreate": { +"description": "Creates multiple ad assets in a single request. Returns the newly-created ad assets if successful. Only supports the creation of assets of AdAssetType `AD_ASSET_TYPE_YOUTUBE_VIDEO`.", +"flatPath": "v4/advertisers/{advertisersId}/adAssets:bulkCreate", +"httpMethod": "POST", +"id": "displayvideo.advertisers.adAssets.bulkCreate", +"parameterOrder": [ +"advertiserId" +], +"parameters": { +"advertiserId": { +"description": "Required. The ID of the advertiser these ad assets belong to.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v4/advertisers/{+advertiserId}/adAssets:bulkCreate", +"request": { +"$ref": "BulkCreateAdAssetsRequest" +}, +"response": { +"$ref": "BulkCreateAdAssetsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/display-video" +] +}, +"create": { +"description": "Creates an ad asset. Returns the newly-created ad asset if successful. Only supports the creation of assets of AdAssetType `AD_ASSET_TYPE_YOUTUBE_VIDEO`.", +"flatPath": "v4/advertisers/{advertisersId}/adAssets", +"httpMethod": "POST", +"id": "displayvideo.advertisers.adAssets.create", +"parameterOrder": [ +"advertiserId" +], +"parameters": { +"advertiserId": { +"description": "Required. The ID of the advertiser this ad asset belongs to.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v4/advertisers/{+advertiserId}/adAssets", +"request": { +"$ref": "CreateAdAssetRequest" +}, +"response": { +"$ref": "AdAsset" +}, +"scopes": [ +"https://www.googleapis.com/auth/display-video" +] +}, +"get": { +"description": "Gets an ad asset. Only supports the retrieval of assets of AdAssetType `AD_ASSET_TYPE_YOUTUBE_VIDEO`.", +"flatPath": "v4/advertisers/{advertisersId}/adAssets/{adAssetsId}", +"httpMethod": "GET", +"id": "displayvideo.advertisers.adAssets.get", +"parameterOrder": [ +"advertiserId", +"adAssetId" +], +"parameters": { +"adAssetId": { +"description": "Required. The ID of the ad asset to fetch. Only supports assets of AdAssetType `AD_ASSET_TYPE_YOUTUBE_VIDEO`", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"advertiserId": { +"description": "Required. The ID of the advertiser this ad asset belongs to.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v4/advertisers/{+advertiserId}/adAssets/{+adAssetId}", +"response": { +"$ref": "AdAsset" +}, +"scopes": [ +"https://www.googleapis.com/auth/display-video" +] +}, +"list": { +"description": "Lists ad assets under an advertiser ID. Only supports the retrieval of assets of AdAssetType `AD_ASSET_TYPE_YOUTUBE_VIDEO`.", +"flatPath": "v4/advertisers/{advertisersId}/adAssets", +"httpMethod": "GET", +"id": "displayvideo.advertisers.adAssets.list", +"parameterOrder": [ +"advertiserId" +], +"parameters": { +"advertiserId": { +"description": "Required. The ID of the advertiser the ad assets belong to.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"filter": { +"description": "Optional. Allows filtering of the results by ad asset fields. Supported syntax: * A restriction has the form of `{field} {operator} {value}`. * All fields must use the `EQUALS (=)` operator. Supported fields: * `youtubeVideoAsset.youtubeVideoId` * `entityStatus` Examples: * All active YouTube video ad assets under an advertiser: `entityStatus=ENTITY_STATUS_ACTIVE`", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "Optional. Field by which to sort the list. Acceptable values are: * `entityStatus` * `youtubeVideoAsset.youtubeVideoId` * `adAssetId` (default) The default sorting order is ascending. To specify descending order for a field, a suffix \"desc\" should be added to the field name. Example: `adAssetId desc`.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Optional. Requested page size. Must be between `1` and `5000`. If unspecified will default to `5000`. Returns error code `INVALID_ARGUMENT` if an invalid value is specified.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. A token identifying a page of results the server should return. Typically, this is the value of next_page_token returned from the previous call to `ListAdAssets` method. If not specified, the first page of results will be returned.", +"location": "query", +"type": "string" +} +}, +"path": "v4/advertisers/{+advertiserId}/adAssets", +"response": { +"$ref": "ListAdAssetsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/display-video" +] +}, +"upload": { +"description": "Uploads and creates an ad asset. Returns the ID of the newly-created ad asset if successful. Only supports the uploading of assets with the AdAssetType `AD_ASSET_TYPE_IMAGE`.", +"flatPath": "v4/advertisers/{advertisersId}/adAssets:uploadAdAsset", +"httpMethod": "POST", +"id": "displayvideo.advertisers.adAssets.upload", +"mediaUpload": { +"accept": [ +"*/*" +], +"protocols": { +"simple": { +"multipart": true, +"path": "/upload/v4/advertisers/{+advertiserId}/adAssets:uploadAdAsset" +} +} +}, +"parameterOrder": [ +"advertiserId" +], +"parameters": { +"advertiserId": { +"description": "Required. The ID of the advertiser this ad asset belongs to.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v4/advertisers/{+advertiserId}/adAssets:uploadAdAsset", +"request": { +"$ref": "UploadAdAssetRequest" +}, +"response": { +"$ref": "UploadAdAssetResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/display-video" +], +"supportsMediaUpload": true +} +} +}, +"adGroupAds": { +"methods": { +"get": { +"description": "Gets an ad group ad.", +"flatPath": "v4/advertisers/{advertisersId}/adGroupAds/{adGroupAdsId}", +"httpMethod": "GET", +"id": "displayvideo.advertisers.adGroupAds.get", +"parameterOrder": [ +"advertiserId", +"adGroupAdId" +], +"parameters": { +"adGroupAdId": { +"description": "Required. The ID of the ad to fetch.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"advertiserId": { +"description": "Required. The ID of the advertiser this ad group ad belongs to.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v4/advertisers/{+advertiserId}/adGroupAds/{+adGroupAdId}", +"response": { +"$ref": "AdGroupAd" +}, +"scopes": [ +"https://www.googleapis.com/auth/display-video" +] +}, +"list": { +"description": "Lists ad group ads.", +"flatPath": "v4/advertisers/{advertisersId}/adGroupAds", +"httpMethod": "GET", +"id": "displayvideo.advertisers.adGroupAds.list", +"parameterOrder": [ +"advertiserId" +], +"parameters": { +"advertiserId": { +"description": "Required. The ID of the advertiser the ads belong to.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"filter": { +"description": "Optional. Allows filtering by ad group ad fields. Supported syntax: * Filter expressions are made up of one or more restrictions. * Restrictions can be combined by `AND` and `OR`. A sequence of restrictions implicitly uses `AND`. * A restriction has the form of `{field} {operator} {value}`. * All fields must use the `EQUALS (=)` operator. Supported fields: * `adGroupId` * `displayName` * `entityStatus` * `adGroupAdId` Examples: * All ad group ads under an ad group: `adGroupId=\"1234\"` * All ad group ads under an ad group with an entityStatus of `ENTITY_STATUS_ACTIVE` or `ENTITY_STATUS_PAUSED`: `(entityStatus=\"ENTITY_STATUS_ACTIVE\" OR entityStatus=\"ENTITY_STATUS_PAUSED\") AND adGroupId=\"12345\"` The length of this field should be no more than 500 characters. Reference our [filter `LIST` requests](/display-video/api/guides/how-tos/filters) guide for more information.", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "Optional. Field by which to sort the list. Acceptable values are: * `displayName` (default) * `entityStatus` The default sorting order is ascending. To specify descending order for a field, a suffix \"desc\" should be added to the field name. Example: `displayName desc`.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Optional. Requested page size. Must be between `1` and `100`. If unspecified will default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value is specified.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. A token identifying a page of results the server should return. Typically, this is the value of next_page_token returned from the previous call to `ListAdGroupAds` method. If not specified, the first page of results will be returned.", +"location": "query", +"type": "string" +} +}, +"path": "v4/advertisers/{+advertiserId}/adGroupAds", +"response": { +"$ref": "ListAdGroupAdsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/display-video" +] +} +} +}, +"adGroups": { +"methods": { +"bulkListAssignedTargetingOptions": { +"description": "Lists assigned targeting options for multiple ad groups across targeting types. Inherited assigned targeting options are not included.", +"flatPath": "v4/advertisers/{advertisersId}/adGroups:bulkListAssignedTargetingOptions", +"httpMethod": "GET", +"id": "displayvideo.advertisers.adGroups.bulkListAssignedTargetingOptions", +"parameterOrder": [ +"advertiserId" +], +"parameters": { +"adGroupIds": { +"description": "Required. The IDs of the ad groups to list assigned targeting options for.", +"format": "int64", +"location": "query", +"repeated": true, +"type": "string" +}, +"advertiserId": { +"description": "Required. The ID of the advertiser the line items belongs to.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"filter": { +"description": "Optional. Allows filtering by assigned targeting option fields. Supported syntax: * Filter expressions are made up of one or more restrictions. * Restrictions can be combined by the logical operator `OR`. * A restriction has the form of `{field} {operator} {value}`. * All fields must use the `EQUALS (=)` operator. Supported fields: * `targetingType` Examples: * `AssignedTargetingOption` resources of targeting type `TARGETING_TYPE_YOUTUBE_VIDEO` or `TARGETING_TYPE_YOUTUBE_CHANNEL`: `targetingType=\"TARGETING_TYPE_YOUTUBE_VIDEO\" OR targetingType=\"TARGETING_TYPE_YOUTUBE_CHANNEL\"` The length of this field should be no more than 500 characters. Reference our [filter `LIST` requests](/display-video/api/guides/how-tos/filters) guide for more information.", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "Optional. Field by which to sort the list. Acceptable values are: * `adGroupId` (default) * `assignedTargetingOption.targetingType` The default sorting order is ascending. To specify descending order for a field, a suffix \"desc\" should be added to the field name. Example: `targetingType desc`.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Optional. Requested page size. The size must be an integer between `1` and `5000`. If unspecified, the default is `5000`. Returns error code `INVALID_ARGUMENT` if an invalid value is specified.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. A token that lets the client fetch the next page of results. Typically, this is the value of next_page_token returned from the previous call to the `BulkListAdGroupAssignedTargetingOptions` method. If not specified, the first page of results will be returned.", +"location": "query", +"type": "string" +} +}, +"path": "v4/advertisers/{+advertiserId}/adGroups:bulkListAssignedTargetingOptions", +"response": { +"$ref": "BulkListAdGroupAssignedTargetingOptionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/display-video" +] +}, +"get": { +"description": "Gets an ad group.", +"flatPath": "v4/advertisers/{advertisersId}/adGroups/{adGroupsId}", +"httpMethod": "GET", +"id": "displayvideo.advertisers.adGroups.get", +"parameterOrder": [ +"advertiserId", +"adGroupId" +], +"parameters": { +"adGroupId": { +"description": "Required. The ID of the ad group to fetch.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"advertiserId": { +"description": "Required. The ID of the advertiser this ad group belongs to.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v4/advertisers/{+advertiserId}/adGroups/{+adGroupId}", +"response": { +"$ref": "AdGroup" +}, +"scopes": [ +"https://www.googleapis.com/auth/display-video" +] +}, +"list": { +"description": "Lists ad groups.", +"flatPath": "v4/advertisers/{advertisersId}/adGroups", +"httpMethod": "GET", +"id": "displayvideo.advertisers.adGroups.list", +"parameterOrder": [ +"advertiserId" +], +"parameters": { +"advertiserId": { +"description": "Required. The ID of the advertiser the ad groups belongs to.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"filter": { +"description": "Optional. Allows filtering by custom ad group fields. Supported syntax: * Filter expressions are made up of one or more restrictions. * Restrictions can be combined by `AND` and `OR`. A sequence of restrictions implicitly uses `AND`. * A restriction has the form of `{field} {operator} {value}`. * All fields must use the `EQUALS (=)` operator. Supported properties: * `adGroupId` * `displayName` * `entityStatus` * `lineItemId` * `adGroupFormat` Examples: * All ad groups under an line item: `lineItemId=\"1234\"` * All `ENTITY_STATUS_ACTIVE` or `ENTITY_STATUS_PAUSED` `AD_GROUP_FORMAT_IN_STREAM` ad groups under an advertiser: `(entityStatus=\"ENTITY_STATUS_ACTIVE\" OR entityStatus=\"ENTITY_STATUS_PAUSED\") AND adGroupFormat=\"AD_GROUP_FORMAT_IN_STREAM\"` The length of this field should be no more than 500 characters. Reference our [filter `LIST` requests](/display-video/api/guides/how-tos/filters) guide for more information.", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "Optional. Field by which to sort the list. Acceptable values are: * `displayName` (default) * `entityStatus` The default sorting order is ascending. To specify descending order for a field, a suffix \"desc\" should be added to the field name. Example: `displayName desc`.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Optional. Requested page size. Must be between `1` and `200`. If unspecified will default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value is specified.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. A token identifying a page of results the server should return. Typically, this is the value of next_page_token returned from the previous call to `ListAdGroups` method. If not specified, the first page of results will be returned.", +"location": "query", +"type": "string" +} +}, +"path": "v4/advertisers/{+advertiserId}/adGroups", +"response": { +"$ref": "ListAdGroupsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/display-video" +] +} +}, +"resources": { +"targetingTypes": { +"resources": { +"assignedTargetingOptions": { +"methods": { +"get": { +"description": "Gets a single targeting option assigned to an ad group. Inherited assigned targeting options are not included.", +"flatPath": "v4/advertisers/{advertisersId}/adGroups/{adGroupsId}/targetingTypes/{targetingTypesId}/assignedTargetingOptions/{assignedTargetingOptionsId}", +"httpMethod": "GET", +"id": "displayvideo.advertisers.adGroups.targetingTypes.assignedTargetingOptions.get", +"parameterOrder": [ +"advertiserId", +"adGroupId", +"targetingType", +"assignedTargetingOptionId" +], +"parameters": { +"adGroupId": { +"description": "Required. The ID of the ad group the assigned targeting option belongs to.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"advertiserId": { +"description": "Required. The ID of the advertiser the ad group belongs to.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"assignedTargetingOptionId": { +"description": "Required. An identifier unique to the targeting type in this line item that identifies the assigned targeting option being requested.", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"targetingType": { +"description": "Required. Identifies the type of this assigned targeting option. Supported targeting types include: * `TARGETING_TYPE_AGE_RANGE` * `TARGETING_TYPE_APP` * `TARGETING_TYPE_APP_CATEGORY` * `TARGETING_TYPE_AUDIENCE_GROUP` * `TARGETING_TYPE_CATEGORY` * `TARGETING_TYPE_GENDER` * `TARGETING_TYPE_HOUSEHOLD_INCOME` * `TARGETING_TYPE_KEYWORD` * `TARGETING_TYPE_PARENTAL_STATUS` * `TARGETING_TYPE_SESSION_POSITION` * `TARGETING_TYPE_URL` * `TARGETING_TYPE_YOUTUBE_CHANNEL` * `TARGETING_TYPE_YOUTUBE_VIDEO`", +"enum": [ +"TARGETING_TYPE_UNSPECIFIED", +"TARGETING_TYPE_CHANNEL", +"TARGETING_TYPE_APP_CATEGORY", +"TARGETING_TYPE_APP", +"TARGETING_TYPE_URL", +"TARGETING_TYPE_DAY_AND_TIME", +"TARGETING_TYPE_AGE_RANGE", +"TARGETING_TYPE_REGIONAL_LOCATION_LIST", +"TARGETING_TYPE_PROXIMITY_LOCATION_LIST", +"TARGETING_TYPE_GENDER", +"TARGETING_TYPE_VIDEO_PLAYER_SIZE", +"TARGETING_TYPE_USER_REWARDED_CONTENT", +"TARGETING_TYPE_PARENTAL_STATUS", +"TARGETING_TYPE_CONTENT_INSTREAM_POSITION", +"TARGETING_TYPE_CONTENT_OUTSTREAM_POSITION", +"TARGETING_TYPE_DEVICE_TYPE", +"TARGETING_TYPE_AUDIENCE_GROUP", +"TARGETING_TYPE_BROWSER", +"TARGETING_TYPE_HOUSEHOLD_INCOME", +"TARGETING_TYPE_ON_SCREEN_POSITION", +"TARGETING_TYPE_THIRD_PARTY_VERIFIER", +"TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION", +"TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION", +"TARGETING_TYPE_ENVIRONMENT", +"TARGETING_TYPE_CARRIER_AND_ISP", +"TARGETING_TYPE_OPERATING_SYSTEM", +"TARGETING_TYPE_DEVICE_MAKE_MODEL", +"TARGETING_TYPE_KEYWORD", +"TARGETING_TYPE_NEGATIVE_KEYWORD_LIST", +"TARGETING_TYPE_VIEWABILITY", +"TARGETING_TYPE_CATEGORY", +"TARGETING_TYPE_INVENTORY_SOURCE", +"TARGETING_TYPE_LANGUAGE", +"TARGETING_TYPE_AUTHORIZED_SELLER_STATUS", +"TARGETING_TYPE_GEO_REGION", +"TARGETING_TYPE_INVENTORY_SOURCE_GROUP", +"TARGETING_TYPE_EXCHANGE", +"TARGETING_TYPE_SUB_EXCHANGE", +"TARGETING_TYPE_POI", +"TARGETING_TYPE_BUSINESS_CHAIN", +"TARGETING_TYPE_CONTENT_DURATION", +"TARGETING_TYPE_CONTENT_STREAM_TYPE", +"TARGETING_TYPE_NATIVE_CONTENT_POSITION", +"TARGETING_TYPE_OMID", +"TARGETING_TYPE_AUDIO_CONTENT_TYPE", +"TARGETING_TYPE_CONTENT_GENRE", +"TARGETING_TYPE_YOUTUBE_VIDEO", +"TARGETING_TYPE_YOUTUBE_CHANNEL", +"TARGETING_TYPE_SESSION_POSITION", +"TARGETING_TYPE_CONTENT_THEME_EXCLUSION" +], +"enumDescriptions": [ +"Default value when type is not specified or is unknown in this version.", +"Target a channel (a custom group of related websites or apps).", +"Target an app category (for example, education or puzzle games).", +"Target a specific app (for example, Angry Birds).", +"Target a specific url (for example, quora.com).", +"Target ads during a chosen time period on a specific day.", +"Target ads to a specific age range (for example, 18-24).", +"Target ads to the specified regions on a regional location list.", +"Target ads to the specified points of interest on a proximity location list.", +"Target ads to a specific gender (for example, female or male).", +"Target a specific video player size for video ads.", +"Target user rewarded content for video ads.", +"Target ads to a specific parental status (for example, parent or not a parent).", +"Target video or audio ads in a specific content instream position (for example, pre-roll, mid-roll, or post-roll).", +"Target ads in a specific content outstream position.", +"Target ads to a specific device type (for example, tablet or connected TV).", +"Target ads to an audience or groups of audiences. Singleton field, at most one can exist on a single Lineitem at a time.", +"Target ads to specific web browsers (for example, Chrome).", +"Target ads to a specific household income range (for example, top 10%).", +"Target ads in a specific on screen position.", +"Filter web sites through third party verification (for example, IAS or DoubleVerify).", +"Filter web sites by specific digital content label ratings (for example, DL-MA: suitable only for mature audiences).", +"Filter website content by sensitive categories (for example, adult).", +"Target ads to a specific environment (for example, web or app).", +"Target ads to a specific network carrier or internet service provider (ISP) (for example, Comcast or Orange).", +"Target ads to a specific operating system (for example, macOS).", +"Target ads to a specific device make or model (for example, Roku or Samsung).", +"Target ads to a specific keyword (for example, dog or retriever).", +"Target ads to a specific negative keyword list.", +"Target ads to a specific viewability (for example, 80% viewable).", +"Target ads to a specific content category (for example, arts & entertainment).", +"Purchase impressions from specific deals and auction packages.", +"Target ads to a specific language (for example, English or Japanese).", +"Target ads to ads.txt authorized sellers. If no targeting option of this type is assigned, the resource uses the \"Authorized Direct Sellers and Resellers\" option by default.", +"Target ads to a specific regional location (for example, a city or state).", +"Purchase impressions from a group of deals and auction packages.", +"Purchase impressions from specific exchanges.", +"Purchase impressions from specific sub-exchanges.", +"Target ads around a specific point of interest, such as a notable building, a street address, or latitude/longitude coordinates.", +"Target ads around locations of a business chain within a specific geo region.", +"Target ads to a specific video content duration.", +"Target ads to a specific video content stream type.", +"Target ads to a specific native content position.", +"Target ads in an Open Measurement enabled inventory.", +"Target ads to a specific audio content type.", +"Target ads to a specific content genre.", +"Target ads to a specific YouTube video. Targeting of this type cannot be created or updated using the API. Although this targeting is inherited by child resources, **inherited targeting of this type will not be retrieveable**.", +"Target ads to a specific YouTube channel. Targeting of this type cannot be created or updated using the API. Although this targeting is inherited by child resources, **inherited targeting of this type will not be retrieveable**.", +"Target ads to a serve it in a certain position of a session. Only supported for Ad Group resources under YouTube Programmatic Reservation line items. Targeting of this type cannot be created or updated using the API.", +"Filter website content by content themes (for example, religion). Only supported for Advertiser resources. Targeting of this type cannot be created or updated using the API. This targeting is only inherited by child YouTube and Demand Gen line item resources." +], +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v4/advertisers/{+advertiserId}/adGroups/{+adGroupId}/targetingTypes/{+targetingType}/assignedTargetingOptions/{+assignedTargetingOptionId}", +"response": { +"$ref": "AssignedTargetingOption" +}, +"scopes": [ +"https://www.googleapis.com/auth/display-video" +] +}, +"list": { +"description": "Lists the targeting options assigned to an ad group. Inherited assigned targeting options are not included.", +"flatPath": "v4/advertisers/{advertisersId}/adGroups/{adGroupsId}/targetingTypes/{targetingTypesId}/assignedTargetingOptions", +"httpMethod": "GET", +"id": "displayvideo.advertisers.adGroups.targetingTypes.assignedTargetingOptions.list", +"parameterOrder": [ +"advertiserId", +"adGroupId", +"targetingType" +], +"parameters": { +"adGroupId": { +"description": "Required. The ID of the ad group to list assigned targeting options for.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"advertiserId": { +"description": "Required. The ID of the advertiser the ad group belongs to.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"filter": { +"description": "Optional. Allows filtering by assigned targeting option fields. Supported syntax: * Filter expressions are made up of one or more restrictions. * Restrictions can be combined by the logical operator `OR`. * A restriction has the form of `{field} {operator} {value}`. * All fields must use the `EQUALS (=)` operator. Supported fields: * `assignedTargetingOptionId` Examples: * `AssignedTargetingOption` resources with ID 1 or 2: `assignedTargetingOptionId=\"1\" OR assignedTargetingOptionId=\"2\"` The length of this field should be no more than 500 characters. Reference our [filter `LIST` requests](/display-video/api/guides/how-tos/filters) guide for more information.", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "Optional. Field by which to sort the list. Acceptable values are: * `assignedTargetingOptionId` (default) The default sorting order is ascending. To specify descending order for a field, a suffix \"desc\" should be added to the field name. Example: `assignedTargetingOptionId desc`.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Optional. Requested page size. Must be between `1` and `5000`. If unspecified will default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value is specified.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. A token identifying a page of results the server should return. Typically, this is the value of next_page_token returned from the previous call to `ListAdGroupAssignedTargetingOptions` method. If not specified, the first page of results will be returned.", +"location": "query", +"type": "string" +}, +"targetingType": { +"description": "Required. Identifies the type of assigned targeting options to list. Supported targeting types include: * `TARGETING_TYPE_AGE_RANGE` * `TARGETING_TYPE_APP` * `TARGETING_TYPE_APP_CATEGORY` * `TARGETING_TYPE_AUDIENCE_GROUP` * `TARGETING_TYPE_CATEGORY` * `TARGETING_TYPE_GENDER` * `TARGETING_TYPE_HOUSEHOLD_INCOME` * `TARGETING_TYPE_KEYWORD` * `TARGETING_TYPE_PARENTAL_STATUS` * `TARGETING_TYPE_SESSION_POSITION` * `TARGETING_TYPE_URL` * `TARGETING_TYPE_YOUTUBE_CHANNEL` * `TARGETING_TYPE_YOUTUBE_VIDEO`", +"enum": [ +"TARGETING_TYPE_UNSPECIFIED", +"TARGETING_TYPE_CHANNEL", +"TARGETING_TYPE_APP_CATEGORY", +"TARGETING_TYPE_APP", +"TARGETING_TYPE_URL", +"TARGETING_TYPE_DAY_AND_TIME", +"TARGETING_TYPE_AGE_RANGE", +"TARGETING_TYPE_REGIONAL_LOCATION_LIST", +"TARGETING_TYPE_PROXIMITY_LOCATION_LIST", +"TARGETING_TYPE_GENDER", +"TARGETING_TYPE_VIDEO_PLAYER_SIZE", +"TARGETING_TYPE_USER_REWARDED_CONTENT", +"TARGETING_TYPE_PARENTAL_STATUS", +"TARGETING_TYPE_CONTENT_INSTREAM_POSITION", +"TARGETING_TYPE_CONTENT_OUTSTREAM_POSITION", +"TARGETING_TYPE_DEVICE_TYPE", +"TARGETING_TYPE_AUDIENCE_GROUP", +"TARGETING_TYPE_BROWSER", +"TARGETING_TYPE_HOUSEHOLD_INCOME", +"TARGETING_TYPE_ON_SCREEN_POSITION", +"TARGETING_TYPE_THIRD_PARTY_VERIFIER", +"TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION", +"TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION", +"TARGETING_TYPE_ENVIRONMENT", +"TARGETING_TYPE_CARRIER_AND_ISP", +"TARGETING_TYPE_OPERATING_SYSTEM", +"TARGETING_TYPE_DEVICE_MAKE_MODEL", +"TARGETING_TYPE_KEYWORD", +"TARGETING_TYPE_NEGATIVE_KEYWORD_LIST", +"TARGETING_TYPE_VIEWABILITY", +"TARGETING_TYPE_CATEGORY", +"TARGETING_TYPE_INVENTORY_SOURCE", +"TARGETING_TYPE_LANGUAGE", +"TARGETING_TYPE_AUTHORIZED_SELLER_STATUS", +"TARGETING_TYPE_GEO_REGION", +"TARGETING_TYPE_INVENTORY_SOURCE_GROUP", +"TARGETING_TYPE_EXCHANGE", +"TARGETING_TYPE_SUB_EXCHANGE", +"TARGETING_TYPE_POI", +"TARGETING_TYPE_BUSINESS_CHAIN", +"TARGETING_TYPE_CONTENT_DURATION", +"TARGETING_TYPE_CONTENT_STREAM_TYPE", +"TARGETING_TYPE_NATIVE_CONTENT_POSITION", +"TARGETING_TYPE_OMID", +"TARGETING_TYPE_AUDIO_CONTENT_TYPE", +"TARGETING_TYPE_CONTENT_GENRE", +"TARGETING_TYPE_YOUTUBE_VIDEO", +"TARGETING_TYPE_YOUTUBE_CHANNEL", +"TARGETING_TYPE_SESSION_POSITION", +"TARGETING_TYPE_CONTENT_THEME_EXCLUSION" +], +"enumDescriptions": [ +"Default value when type is not specified or is unknown in this version.", +"Target a channel (a custom group of related websites or apps).", +"Target an app category (for example, education or puzzle games).", +"Target a specific app (for example, Angry Birds).", +"Target a specific url (for example, quora.com).", +"Target ads during a chosen time period on a specific day.", +"Target ads to a specific age range (for example, 18-24).", +"Target ads to the specified regions on a regional location list.", +"Target ads to the specified points of interest on a proximity location list.", +"Target ads to a specific gender (for example, female or male).", +"Target a specific video player size for video ads.", +"Target user rewarded content for video ads.", +"Target ads to a specific parental status (for example, parent or not a parent).", +"Target video or audio ads in a specific content instream position (for example, pre-roll, mid-roll, or post-roll).", +"Target ads in a specific content outstream position.", +"Target ads to a specific device type (for example, tablet or connected TV).", +"Target ads to an audience or groups of audiences. Singleton field, at most one can exist on a single Lineitem at a time.", +"Target ads to specific web browsers (for example, Chrome).", +"Target ads to a specific household income range (for example, top 10%).", +"Target ads in a specific on screen position.", +"Filter web sites through third party verification (for example, IAS or DoubleVerify).", +"Filter web sites by specific digital content label ratings (for example, DL-MA: suitable only for mature audiences).", +"Filter website content by sensitive categories (for example, adult).", +"Target ads to a specific environment (for example, web or app).", +"Target ads to a specific network carrier or internet service provider (ISP) (for example, Comcast or Orange).", +"Target ads to a specific operating system (for example, macOS).", +"Target ads to a specific device make or model (for example, Roku or Samsung).", +"Target ads to a specific keyword (for example, dog or retriever).", +"Target ads to a specific negative keyword list.", +"Target ads to a specific viewability (for example, 80% viewable).", +"Target ads to a specific content category (for example, arts & entertainment).", +"Purchase impressions from specific deals and auction packages.", +"Target ads to a specific language (for example, English or Japanese).", +"Target ads to ads.txt authorized sellers. If no targeting option of this type is assigned, the resource uses the \"Authorized Direct Sellers and Resellers\" option by default.", +"Target ads to a specific regional location (for example, a city or state).", +"Purchase impressions from a group of deals and auction packages.", +"Purchase impressions from specific exchanges.", +"Purchase impressions from specific sub-exchanges.", +"Target ads around a specific point of interest, such as a notable building, a street address, or latitude/longitude coordinates.", +"Target ads around locations of a business chain within a specific geo region.", +"Target ads to a specific video content duration.", +"Target ads to a specific video content stream type.", +"Target ads to a specific native content position.", +"Target ads in an Open Measurement enabled inventory.", +"Target ads to a specific audio content type.", +"Target ads to a specific content genre.", +"Target ads to a specific YouTube video. Targeting of this type cannot be created or updated using the API. Although this targeting is inherited by child resources, **inherited targeting of this type will not be retrieveable**.", +"Target ads to a specific YouTube channel. Targeting of this type cannot be created or updated using the API. Although this targeting is inherited by child resources, **inherited targeting of this type will not be retrieveable**.", +"Target ads to a serve it in a certain position of a session. Only supported for Ad Group resources under YouTube Programmatic Reservation line items. Targeting of this type cannot be created or updated using the API.", +"Filter website content by content themes (for example, religion). Only supported for Advertiser resources. Targeting of this type cannot be created or updated using the API. This targeting is only inherited by child YouTube and Demand Gen line item resources." +], +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v4/advertisers/{+advertiserId}/adGroups/{+adGroupId}/targetingTypes/{+targetingType}/assignedTargetingOptions", +"response": { +"$ref": "ListAdGroupAssignedTargetingOptionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/display-video" +] +} +} +} +} +}, +"youtubeAssetTypes": { +"resources": { +"youtubeAssetAssociations": { +"methods": { +"create": { +"description": "Creates a new association between the identified resource and a YouTube asset. Returns the newly-created association. *Warning:* This method is only available to an informed subset of users.", +"flatPath": "v4/advertisers/{advertisersId}/adGroups/{adGroupsId}/youtubeAssetTypes/{youtubeAssetTypesId}/youtubeAssetAssociations", +"httpMethod": "POST", +"id": "displayvideo.advertisers.adGroups.youtubeAssetTypes.youtubeAssetAssociations.create", +"parameterOrder": [ +"advertiserId", +"adGroupId", +"youtubeAssetType" +], +"parameters": { +"adGroupId": { +"description": "The ID of an ad group.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"advertiserId": { +"description": "Required. The ID of the advertiser that the linked entity belongs to.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"linkedEntity.lineItemId": { +"description": "The ID of a line item.", +"format": "int64", +"location": "query", +"type": "string" +}, +"youtubeAssetType": { +"description": "Required. The type of YouTube asset associated with the resource.", +"enum": [ +"YOUTUBE_ASSET_TYPE_UNSPECIFIED", +"YOUTUBE_ASSET_TYPE_LOCATION", +"YOUTUBE_ASSET_TYPE_AFFILIATE_LOCATION", +"YOUTUBE_ASSET_TYPE_SITELINK" +], +"enumDescriptions": [ +"YouTube asset type is not specified or is unknown in this version.", +"Location asset.", +"Affiliate location asset.", +"Sitelink asset." +], +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v4/advertisers/{+advertiserId}/adGroups/{+adGroupId}/youtubeAssetTypes/{+youtubeAssetType}/youtubeAssetAssociations", +"request": { +"$ref": "YoutubeAssetAssociation" +}, +"response": { +"$ref": "YoutubeAssetAssociation" +}, +"scopes": [ +"https://www.googleapis.com/auth/display-video" +] +}, +"delete": { +"description": "Deletes an existing association between the identified resource and a YouTube asset. *Warning:* This method is only available to an informed subset of users.", +"flatPath": "v4/advertisers/{advertisersId}/adGroups/{adGroupsId}/youtubeAssetTypes/{youtubeAssetTypesId}/youtubeAssetAssociations/{youtubeAssetAssociationsId}", +"httpMethod": "DELETE", +"id": "displayvideo.advertisers.adGroups.youtubeAssetTypes.youtubeAssetAssociations.delete", +"parameterOrder": [ +"advertiserId", +"adGroupId", +"youtubeAssetType", +"youtubeAssetAssociationId" +], +"parameters": { +"adGroupId": { +"description": "The ID of an ad group.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"advertiserId": { +"description": "Required. The ID of the advertiser that the linked entity belongs to.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"linkedEntity.lineItemId": { +"description": "The ID of a line item.", +"format": "int64", +"location": "query", +"type": "string" +}, +"youtubeAssetAssociationId": { +"description": "Required. The ID of the YouTube asset in the association. For `YOUTUBE_ASSET_TYPE_LOCATION` and `YOUTUBE_ASSET_TYPE_AFFILIATE_LOCATION` associations: This should be the ID of the asset set linked, or 0 if the location_asset_filter or affiliate_location_asset_filter is `DISABLED`. For `YOUTUBE_ASSET_TYPE_SITELINK` associations: This should be the ID of the sitelink asset linked.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"youtubeAssetType": { +"description": "Required. The type of YouTube asset associated with the resource.", +"enum": [ +"YOUTUBE_ASSET_TYPE_UNSPECIFIED", +"YOUTUBE_ASSET_TYPE_LOCATION", +"YOUTUBE_ASSET_TYPE_AFFILIATE_LOCATION", +"YOUTUBE_ASSET_TYPE_SITELINK" +], +"enumDescriptions": [ +"YouTube asset type is not specified or is unknown in this version.", +"Location asset.", +"Affiliate location asset.", +"Sitelink asset." +], +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v4/advertisers/{+advertiserId}/adGroups/{+adGroupId}/youtubeAssetTypes/{+youtubeAssetType}/youtubeAssetAssociations/{+youtubeAssetAssociationId}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/display-video" +] +}, +"list": { +"description": "Lists the YouTube asset associations linked to the given resource.", +"flatPath": "v4/advertisers/{advertisersId}/adGroups/{adGroupsId}/youtubeAssetTypes/{youtubeAssetTypesId}/youtubeAssetAssociations", +"httpMethod": "GET", +"id": "displayvideo.advertisers.adGroups.youtubeAssetTypes.youtubeAssetAssociations.list", +"parameterOrder": [ +"advertiserId", +"adGroupId", +"youtubeAssetType" +], +"parameters": { +"adGroupId": { +"description": "The ID of an ad group.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"advertiserId": { +"description": "Required. The ID of the advertiser that the linked entity belongs to.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"linkedEntity.lineItemId": { +"description": "The ID of a line item.", +"format": "int64", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "Optional. Field by which to sort the list. The only acceptable values are: * `linkedYoutubeAsset.locationAssetFilter.assetSetId`, * `linkedYoutubeAsset.affiliateLocationAssetFilter.assetSetId`, * `linkedYoutubeAsset.sitelinkAsset.assetId` The default sorting order is ascending. To specify descending order for a field, a suffix \" desc\" should be added to the field name. Example: `linkedYoutubeAsset.sitelinkAsset.assetId desc`.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Optional. Requested page size. Must be between `1` and `10000`. If unspecified will default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value is specified.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. A token identifying a page of results the server should return. Typically, this is the value of next_page_token returned from the previous call to `ListYoutubeAssetAssociations` method. If not specified, the first page of results will be returned.", +"location": "query", +"type": "string" +}, +"youtubeAssetType": { +"description": "Required. The type of YouTube asset being associated with the resource.", +"enum": [ +"YOUTUBE_ASSET_TYPE_UNSPECIFIED", +"YOUTUBE_ASSET_TYPE_LOCATION", +"YOUTUBE_ASSET_TYPE_AFFILIATE_LOCATION", +"YOUTUBE_ASSET_TYPE_SITELINK" +], +"enumDescriptions": [ +"YouTube asset type is not specified or is unknown in this version.", +"Location asset.", +"Affiliate location asset.", +"Sitelink asset." +], +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v4/advertisers/{+advertiserId}/adGroups/{+adGroupId}/youtubeAssetTypes/{+youtubeAssetType}/youtubeAssetAssociations", +"response": { +"$ref": "ListYoutubeAssetAssociationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/display-video" +] +} +} +} +} +} +} +}, +"assets": { +"methods": { +"upload": { +"description": "Uploads an asset. Returns the ID of the newly uploaded asset if successful. The asset file size should be no more than 10 MB for images, 200 MB for ZIP files, and 1 GB for videos. Must be used within the [multipart media upload process](/display-video/api/guides/how-tos/upload#multipart). Examples using provided client libraries can be found in our [Creating Creatives guide](/display-video/api/guides/creating-creatives/overview#upload_an_asset).", +"flatPath": "v4/advertisers/{advertisersId}/assets", +"httpMethod": "POST", +"id": "displayvideo.advertisers.assets.upload", +"mediaUpload": { +"accept": [ +"*/*" +], +"protocols": { +"simple": { +"multipart": true, +"path": "/upload/v4/advertisers/{+advertiserId}/assets" +} +} +}, +"parameterOrder": [ +"advertiserId" +], +"parameters": { +"advertiserId": { +"description": "Required. The ID of the advertiser this asset belongs to.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v4/advertisers/{+advertiserId}/assets", +"request": { +"$ref": "CreateAssetRequest" +}, +"response": { +"$ref": "CreateAssetResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/display-video" +], +"supportsMediaUpload": true +} +} +}, +"campaigns": { +"methods": { +"create": { +"description": "Creates a new campaign. Returns the newly created campaign if successful.", +"flatPath": "v4/advertisers/{advertisersId}/campaigns", +"httpMethod": "POST", +"id": "displayvideo.advertisers.campaigns.create", +"parameterOrder": [ +"advertiserId" +], +"parameters": { +"advertiserId": { +"description": "Output only. The unique ID of the advertiser the campaign belongs to.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v4/advertisers/{+advertiserId}/campaigns", +"request": { +"$ref": "Campaign" +}, +"response": { +"$ref": "Campaign" +}, +"scopes": [ +"https://www.googleapis.com/auth/display-video", +"https://www.googleapis.com/auth/display-video-mediaplanning" +] +}, +"delete": { +"description": "Permanently deletes a campaign. A deleted campaign cannot be recovered. The campaign should be archived first, i.e. set entity_status to `ENTITY_STATUS_ARCHIVED`, to be able to delete it. **This method regularly experiences high latency.** We recommend [increasing your default timeout](/display-video/api/guides/best-practices/timeouts#client_library_timeout) to avoid errors.", +"flatPath": "v4/advertisers/{advertisersId}/campaigns/{campaignsId}", +"httpMethod": "DELETE", +"id": "displayvideo.advertisers.campaigns.delete", +"parameterOrder": [ +"advertiserId", +"campaignId" +], +"parameters": { +"advertiserId": { +"description": "The ID of the advertiser this campaign belongs to.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"campaignId": { +"description": "The ID of the campaign we need to delete.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v4/advertisers/{+advertiserId}/campaigns/{+campaignId}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/display-video", +"https://www.googleapis.com/auth/display-video-mediaplanning" +] +}, +"get": { +"description": "Gets a campaign.", +"flatPath": "v4/advertisers/{advertisersId}/campaigns/{campaignsId}", +"httpMethod": "GET", +"id": "displayvideo.advertisers.campaigns.get", +"parameterOrder": [ +"advertiserId", +"campaignId" +], +"parameters": { +"advertiserId": { +"description": "Required. The ID of the advertiser this campaign belongs to.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"campaignId": { +"description": "Required. The ID of the campaign to fetch.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v4/advertisers/{+advertiserId}/campaigns/{+campaignId}", +"response": { +"$ref": "Campaign" +}, +"scopes": [ +"https://www.googleapis.com/auth/display-video", +"https://www.googleapis.com/auth/display-video-mediaplanning" +] +}, +"list": { +"description": "Lists campaigns in an advertiser. The order is defined by the order_by parameter. If a filter by entity_status is not specified, campaigns with `ENTITY_STATUS_ARCHIVED` will not be included in the results.", +"flatPath": "v4/advertisers/{advertisersId}/campaigns", +"httpMethod": "GET", +"id": "displayvideo.advertisers.campaigns.list", +"parameterOrder": [ +"advertiserId" +], +"parameters": { +"advertiserId": { +"description": "The ID of the advertiser to list campaigns for.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"filter": { +"description": "Allows filtering by campaign fields. Supported syntax: * Filter expressions are made up of one or more restrictions. * Restrictions can be combined by `AND` or `OR` logical operators. A sequence of restrictions implicitly uses `AND`. * A restriction has the form of `{field} {operator} {value}`. * The `updateTime` field must use the `GREATER THAN OR EQUAL TO (>=)` or `LESS THAN OR EQUAL TO (<=)` operators. * All other fields must use the `EQUALS (=)` operator. Supported fields: * `campaignId` * `displayName` * `entityStatus` * `updateTime` (input in ISO 8601 format, or `YYYY-MM-DDTHH:MM:SSZ`) Examples: * All `ENTITY_STATUS_ACTIVE` or `ENTITY_STATUS_PAUSED` campaigns under an advertiser: `(entityStatus=\"ENTITY_STATUS_ACTIVE\" OR entityStatus=\"ENTITY_STATUS_PAUSED\")` * All campaigns with an update time less than or equal to 2020-11-04T18:54:47Z (format of ISO 8601): `updateTime<=\"2020-11-04T18:54:47Z\"` * All campaigns with an update time greater than or equal to 2020-11-04T18:54:47Z (format of ISO 8601): `updateTime>=\"2020-11-04T18:54:47Z\"` The length of this field should be no more than 500 characters. Reference our [filter `LIST` requests](/display-video/api/guides/how-tos/filters) guide for more information.", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "Field by which to sort the list. Acceptable values are: * `displayName` (default) * `entityStatus` * `updateTime` The default sorting order is ascending. To specify descending order for a field, a suffix \"desc\" should be added to the field name. Example: `displayName desc`.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Requested page size. Must be between `1` and `200`. If unspecified will default to `100`.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A token identifying a page of results the server should return. Typically, this is the value of next_page_token returned from the previous call to `ListCampaigns` method. If not specified, the first page of results will be returned.", +"location": "query", +"type": "string" +} +}, +"path": "v4/advertisers/{+advertiserId}/campaigns", +"response": { +"$ref": "ListCampaignsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/display-video", +"https://www.googleapis.com/auth/display-video-mediaplanning" +] +}, +"patch": { +"description": "Updates an existing campaign. Returns the updated campaign if successful.", +"flatPath": "v4/advertisers/{advertisersId}/campaigns/{campaignsId}", +"httpMethod": "PATCH", +"id": "displayvideo.advertisers.campaigns.patch", +"parameterOrder": [ +"advertiserId", +"campaignId" +], +"parameters": { +"advertiserId": { +"description": "Output only. The unique ID of the advertiser the campaign belongs to.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"campaignId": { +"description": "Output only. The unique ID of the campaign. Assigned by the system.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Required. The mask to control which fields to update.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v4/advertisers/{+advertiserId}/campaigns/{+campaignId}", +"request": { +"$ref": "Campaign" +}, +"response": { +"$ref": "Campaign" +}, +"scopes": [ +"https://www.googleapis.com/auth/display-video", +"https://www.googleapis.com/auth/display-video-mediaplanning" +] +} +} +}, +"channels": { +"methods": { +"create": { +"description": "Creates a new channel. Returns the newly created channel if successful.", +"flatPath": "v4/advertisers/{advertisersId}/channels", +"httpMethod": "POST", +"id": "displayvideo.advertisers.channels.create", +"parameterOrder": [ +"advertiserId" +], +"parameters": { +"advertiserId": { +"description": "The ID of the advertiser that owns the created channel.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"partnerId": { +"description": "The ID of the partner that owns the created channel.", +"format": "int64", +"location": "query", +"type": "string" +} +}, +"path": "v4/advertisers/{+advertiserId}/channels", +"request": { +"$ref": "Channel" +}, +"response": { +"$ref": "Channel" +}, +"scopes": [ +"https://www.googleapis.com/auth/display-video" +] +}, +"get": { +"description": "Gets a channel for a partner or advertiser.", +"flatPath": "v4/advertisers/{advertisersId}/channels/{channelsId}", +"httpMethod": "GET", +"id": "displayvideo.advertisers.channels.get", +"parameterOrder": [ +"advertiserId", +"channelId" +], +"parameters": { +"advertiserId": { +"description": "The ID of the advertiser that owns the fetched channel.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"channelId": { +"description": "Required. The ID of the channel to fetch.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"partnerId": { +"description": "The ID of the partner that owns the fetched channel.", +"format": "int64", +"location": "query", +"type": "string" +} +}, +"path": "v4/advertisers/{+advertiserId}/channels/{+channelId}", +"response": { +"$ref": "Channel" +}, +"scopes": [ +"https://www.googleapis.com/auth/display-video" +] +}, +"list": { +"description": "Lists channels for a partner or advertiser.", +"flatPath": "v4/advertisers/{advertisersId}/channels", +"httpMethod": "GET", +"id": "displayvideo.advertisers.channels.list", +"parameterOrder": [ +"advertiserId" +], +"parameters": { +"advertiserId": { +"description": "The ID of the advertiser that owns the channels.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"filter": { +"description": "Allows filtering by channel fields. Supported syntax: * Filter expressions for channel can only contain at most one restriction. * A restriction has the form of `{field} {operator} {value}`. * All fields must use the `HAS (:)` operator. Supported fields: * `displayName` Examples: * All channels for which the display name contains \"google\": `displayName : \"google\"`. The length of this field should be no more than 500 characters. Reference our [filter `LIST` requests](/display-video/api/guides/how-tos/filters) guide for more information.", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "Field by which to sort the list. Acceptable values are: * `displayName` (default) * `channelId` The default sorting order is ascending. To specify descending order for a field, a suffix \" desc\" should be added to the field name. Example: `displayName desc`.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Requested page size. Must be between `1` and `200`. If unspecified will default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value is specified.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A token identifying a page of results the server should return. Typically, this is the value of next_page_token returned from the previous call to `ListChannels` method. If not specified, the first page of results will be returned.", +"location": "query", +"type": "string" +}, +"partnerId": { +"description": "The ID of the partner that owns the channels.", +"format": "int64", +"location": "query", +"type": "string" +} +}, +"path": "v4/advertisers/{+advertiserId}/channels", +"response": { +"$ref": "ListChannelsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/display-video" +] +}, +"patch": { +"description": "Updates a channel. Returns the updated channel if successful.", +"flatPath": "v4/advertisers/{advertisersId}/channels/{channelId}", +"httpMethod": "PATCH", +"id": "displayvideo.advertisers.channels.patch", +"parameterOrder": [ +"advertiserId", +"channelId" +], +"parameters": { +"advertiserId": { +"description": "The ID of the advertiser that owns the created channel.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"channelId": { +"description": "Output only. The unique ID of the channel. Assigned by the system.", +"format": "int64", +"location": "path", +"required": true, +"type": "string" +}, +"partnerId": { +"description": "The ID of the partner that owns the created channel.", +"format": "int64", +"location": "query", +"type": "string" +}, +"updateMask": { +"description": "Required. The mask to control which fields to update.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v4/advertisers/{+advertiserId}/channels/{channelId}", +"request": { +"$ref": "Channel" +}, +"response": { +"$ref": "Channel" +}, +"scopes": [ +"https://www.googleapis.com/auth/display-video" +] +} +}, +"resources": { +"sites": { +"methods": { +"bulkEdit": { +"description": "Bulk edits sites under a single channel. The operation will delete the sites provided in BulkEditSitesRequest.deleted_sites and then create the sites provided in BulkEditSitesRequest.created_sites.", +"flatPath": "v4/advertisers/{advertiserId}/channels/{channelsId}/sites:bulkEdit", +"httpMethod": "POST", +"id": "displayvideo.advertisers.channels.sites.bulkEdit", +"parameterOrder": [ +"advertiserId", +"channelId" +], +"parameters": { +"advertiserId": { +"description": "The ID of the advertiser that owns the parent channel.", +"format": "int64", +"location": "path", +"required": true, +"type": "string" +}, +"channelId": { +"description": "Required. The ID of the parent channel to which the sites belong.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v4/advertisers/{advertiserId}/channels/{+channelId}/sites:bulkEdit", +"request": { +"$ref": "BulkEditSitesRequest" +}, +"response": { +"$ref": "BulkEditSitesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/display-video" +] +}, +"create": { +"description": "Creates a site in a channel.", +"flatPath": "v4/advertisers/{advertiserId}/channels/{channelsId}/sites", +"httpMethod": "POST", +"id": "displayvideo.advertisers.channels.sites.create", +"parameterOrder": [ +"advertiserId", +"channelId" +], +"parameters": { +"advertiserId": { +"description": "The ID of the advertiser that owns the parent channel.", +"format": "int64", +"location": "path", +"required": true, +"type": "string" +}, +"channelId": { +"description": "Required. The ID of the parent channel in which the site will be created.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"partnerId": { +"description": "The ID of the partner that owns the parent channel.", +"format": "int64", +"location": "query", +"type": "string" +} +}, +"path": "v4/advertisers/{advertiserId}/channels/{+channelId}/sites", +"request": { +"$ref": "Site" +}, +"response": { +"$ref": "Site" +}, +"scopes": [ +"https://www.googleapis.com/auth/display-video" +] +}, +"delete": { +"description": "Deletes a site from a channel.", +"flatPath": "v4/advertisers/{advertiserId}/channels/{channelsId}/sites/{sitesId}", +"httpMethod": "DELETE", +"id": "displayvideo.advertisers.channels.sites.delete", +"parameterOrder": [ +"advertiserId", +"channelId", +"urlOrAppId" +], +"parameters": { +"advertiserId": { +"description": "The ID of the advertiser that owns the parent channel.", +"format": "int64", +"location": "path", +"required": true, +"type": "string" +}, +"channelId": { +"description": "Required. The ID of the parent channel to which the site belongs.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"partnerId": { +"description": "The ID of the partner that owns the parent channel.", +"format": "int64", +"location": "query", +"type": "string" +}, +"urlOrAppId": { +"description": "Required. The URL or app ID of the site to delete.", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v4/advertisers/{advertiserId}/channels/{+channelId}/sites/{+urlOrAppId}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/display-video" +] +}, +"list": { +"description": "Lists sites in a channel.", +"flatPath": "v4/advertisers/{advertisersId}/channels/{channelsId}/sites", +"httpMethod": "GET", +"id": "displayvideo.advertisers.channels.sites.list", +"parameterOrder": [ +"advertiserId", +"channelId" +], +"parameters": { +"advertiserId": { +"description": "The ID of the advertiser that owns the parent channel.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"channelId": { +"description": "Required. The ID of the parent channel to which the requested sites belong.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"filter": { +"description": "Allows filtering by site fields. Supported syntax: * Filter expressions for site retrieval can only contain at most one restriction. * A restriction has the form of `{field} {operator} {value}`. * All fields must use the `HAS (:)` operator. Supported fields: * `urlOrAppId` Examples: * All sites for which the URL or app ID contains \"google\": `urlOrAppId : \"google\"` The length of this field should be no more than 500 characters. Reference our [filter `LIST` requests](/display-video/api/guides/how-tos/filters) guide for more information.", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "Field by which to sort the list. Acceptable values are: * `urlOrAppId` (default) The default sorting order is ascending. To specify descending order for a field, a suffix \" desc\" should be added to the field name. Example: `urlOrAppId desc`.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Requested page size. Must be between `1` and `10000`. If unspecified will default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value is specified.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A token identifying a page of results the server should return. Typically, this is the value of next_page_token returned from the previous call to `ListSites` method. If not specified, the first page of results will be returned.", +"location": "query", +"type": "string" +}, +"partnerId": { +"description": "The ID of the partner that owns the parent channel.", +"format": "int64", +"location": "query", +"type": "string" +} +}, +"path": "v4/advertisers/{+advertiserId}/channels/{+channelId}/sites", +"response": { +"$ref": "ListSitesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/display-video" +] +}, +"replace": { +"description": "Replaces all of the sites under a single channel. The operation will replace the sites under a channel with the sites provided in ReplaceSitesRequest.new_sites. **This method regularly experiences high latency.** We recommend [increasing your default timeout](/display-video/api/guides/best-practices/timeouts#client_library_timeout) to avoid errors.", +"flatPath": "v4/advertisers/{advertiserId}/channels/{channelsId}/sites:replace", +"httpMethod": "POST", +"id": "displayvideo.advertisers.channels.sites.replace", +"parameterOrder": [ +"advertiserId", +"channelId" +], +"parameters": { +"advertiserId": { +"description": "The ID of the advertiser that owns the parent channel.", +"format": "int64", +"location": "path", +"required": true, +"type": "string" +}, +"channelId": { +"description": "Required. The ID of the parent channel whose sites will be replaced.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v4/advertisers/{advertiserId}/channels/{+channelId}/sites:replace", +"request": { +"$ref": "ReplaceSitesRequest" +}, +"response": { +"$ref": "ReplaceSitesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/display-video" +] +} +} +} +} +}, +"creatives": { +"methods": { +"create": { +"description": "Creates a new creative. Returns the newly created creative if successful. A [\"Standard\" user role](//support.google.com/displayvideo/answer/2723011) or greater for the parent advertiser or partner is required to make this request.", +"flatPath": "v4/advertisers/{advertisersId}/creatives", +"httpMethod": "POST", +"id": "displayvideo.advertisers.creatives.create", +"parameterOrder": [ +"advertiserId" +], +"parameters": { +"advertiserId": { +"description": "Output only. The unique ID of the advertiser the creative belongs to.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v4/advertisers/{+advertiserId}/creatives", +"request": { +"$ref": "Creative" +}, +"response": { +"$ref": "Creative" +}, +"scopes": [ +"https://www.googleapis.com/auth/display-video" +] +}, +"delete": { +"description": "Deletes a creative. Returns error code `NOT_FOUND` if the creative does not exist. The creative should be archived first, i.e. set entity_status to `ENTITY_STATUS_ARCHIVED`, before it can be deleted. A [\"Standard\" user role](//support.google.com/displayvideo/answer/2723011) or greater for the parent advertiser or partner is required to make this request.", +"flatPath": "v4/advertisers/{advertisersId}/creatives/{creativesId}", +"httpMethod": "DELETE", +"id": "displayvideo.advertisers.creatives.delete", +"parameterOrder": [ +"advertiserId", +"creativeId" +], +"parameters": { +"advertiserId": { +"description": "The ID of the advertiser this creative belongs to.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"creativeId": { +"description": "The ID of the creative to be deleted.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v4/advertisers/{+advertiserId}/creatives/{+creativeId}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/display-video" +] +}, +"get": { +"description": "Gets a creative.", +"flatPath": "v4/advertisers/{advertisersId}/creatives/{creativesId}", +"httpMethod": "GET", +"id": "displayvideo.advertisers.creatives.get", +"parameterOrder": [ +"advertiserId", +"creativeId" +], +"parameters": { +"advertiserId": { +"description": "Required. The ID of the advertiser this creative belongs to.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"creativeId": { +"description": "Required. The ID of the creative to fetch.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v4/advertisers/{+advertiserId}/creatives/{+creativeId}", +"response": { +"$ref": "Creative" +}, +"scopes": [ +"https://www.googleapis.com/auth/display-video" +] +}, +"list": { +"description": "Lists creatives in an advertiser. The order is defined by the order_by parameter. If a filter by entity_status is not specified, creatives with `ENTITY_STATUS_ARCHIVED` will not be included in the results.", +"flatPath": "v4/advertisers/{advertisersId}/creatives", +"httpMethod": "GET", +"id": "displayvideo.advertisers.creatives.list", +"parameterOrder": [ +"advertiserId" +], +"parameters": { +"advertiserId": { +"description": "Required. The ID of the advertiser to list creatives for.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"filter": { +"description": "Allows filtering by creative fields. Supported syntax: * Filter expressions are made up of one or more restrictions. * Restrictions can be combined by `AND` or `OR` logical operators. A sequence of restrictions implicitly uses `AND`. * A restriction has the form of `{field} {operator} {value}`. * The `lineItemIds` field must use the `HAS (:)` operator. * The `updateTime` field must use the `GREATER THAN OR EQUAL TO (>=)` or `LESS THAN OR EQUAL TO (<=)` operators. * All other fields must use the `EQUALS (=)` operator. * For `entityStatus`, `minDuration`, `maxDuration`, `updateTime`, and `dynamic` fields, there may be at most one restriction. Supported Fields: * `approvalStatus` * `creativeId` * `creativeType` * `dimensions` (input in the form of `{width}x{height}`) * `dynamic` * `entityStatus` * `exchangeReviewStatus` (input in the form of `{exchange}-{reviewStatus}`) * `lineItemIds` * `maxDuration` (input in the form of `{duration}s`. Only seconds are supported) * `minDuration` (input in the form of `{duration}s`. Only seconds are supported) * `updateTime` (input in ISO 8601 format, or `YYYY-MM-DDTHH:MM:SSZ`) Notes: * For `updateTime`, a creative resource's field value reflects the last time that a creative has been updated, which includes updates made by the system (e.g. creative review updates). Examples: * All native creatives: `creativeType=\"CREATIVE_TYPE_NATIVE\"` * All active creatives with 300x400 or 50x100 dimensions: `entityStatus=\"ENTITY_STATUS_ACTIVE\" AND (dimensions=\"300x400\" OR dimensions=\"50x100\")` * All dynamic creatives that are approved by AdX or AppNexus, with a minimum duration of 5 seconds and 200ms: `dynamic=\"true\" AND minDuration=\"5.2s\" AND (exchangeReviewStatus=\"EXCHANGE_GOOGLE_AD_MANAGER-REVIEW_STATUS_APPROVED\" OR exchangeReviewStatus=\"EXCHANGE_APPNEXUS-REVIEW_STATUS_APPROVED\")` * All video creatives that are associated with line item ID 1 or 2: `creativeType=\"CREATIVE_TYPE_VIDEO\" AND (lineItemIds:1 OR lineItemIds:2)` * Find creatives by multiple creative IDs: `creativeId=1 OR creativeId=2` * All creatives with an update time greater than or equal to 2020-11-04T18:54:47Z (format of ISO 8601): `updateTime>=\"2020-11-04T18:54:47Z\"` The length of this field should be no more than 500 characters. Reference our [filter `LIST` requests](/display-video/api/guides/how-tos/filters) guide for more information.", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "Field by which to sort the list. Acceptable values are: * `creativeId` (default) * `createTime` * `mediaDuration` * `dimensions` (sorts by width first, then by height) The default sorting order is ascending. To specify descending order for a field, a suffix \"desc\" should be added to the field name. Example: `createTime desc`.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Requested page size. Must be between `1` and `200`. If unspecified will default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value is specified.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A token identifying a page of results the server should return. Typically, this is the value of next_page_token returned from the previous call to `ListCreatives` method. If not specified, the first page of results will be returned.", +"location": "query", +"type": "string" +} +}, +"path": "v4/advertisers/{+advertiserId}/creatives", +"response": { +"$ref": "ListCreativesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/display-video" +] +}, +"patch": { +"description": "Updates an existing creative. Returns the updated creative if successful. A [\"Standard\" user role](//support.google.com/displayvideo/answer/2723011) or greater for the parent advertiser or partner is required to make this request.", +"flatPath": "v4/advertisers/{advertisersId}/creatives/{creativesId}", +"httpMethod": "PATCH", +"id": "displayvideo.advertisers.creatives.patch", +"parameterOrder": [ +"advertiserId", +"creativeId" +], +"parameters": { +"advertiserId": { +"description": "Output only. The unique ID of the advertiser the creative belongs to.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"creativeId": { +"description": "Output only. The unique ID of the creative. Assigned by the system.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Required. The mask to control which fields to update.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v4/advertisers/{+advertiserId}/creatives/{+creativeId}", +"request": { +"$ref": "Creative" +}, +"response": { +"$ref": "Creative" +}, +"scopes": [ +"https://www.googleapis.com/auth/display-video" +] +} +} +}, +"insertionOrders": { +"methods": { +"create": { +"description": "Creates a new insertion order. Returns the newly created insertion order if successful.", +"flatPath": "v4/advertisers/{advertisersId}/insertionOrders", +"httpMethod": "POST", +"id": "displayvideo.advertisers.insertionOrders.create", +"parameterOrder": [ +"advertiserId" +], +"parameters": { +"advertiserId": { +"description": "Output only. The unique ID of the advertiser the insertion order belongs to.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v4/advertisers/{+advertiserId}/insertionOrders", +"request": { +"$ref": "InsertionOrder" +}, +"response": { +"$ref": "InsertionOrder" +}, +"scopes": [ +"https://www.googleapis.com/auth/display-video" +] +}, +"delete": { +"description": "Deletes an insertion order. Returns error code `NOT_FOUND` if the insertion order does not exist. The insertion order should be archived first, i.e. set entity_status to `ENTITY_STATUS_ARCHIVED`, to be able to delete it.", +"flatPath": "v4/advertisers/{advertisersId}/insertionOrders/{insertionOrdersId}", +"httpMethod": "DELETE", +"id": "displayvideo.advertisers.insertionOrders.delete", +"parameterOrder": [ +"advertiserId", +"insertionOrderId" +], +"parameters": { +"advertiserId": { +"description": "The ID of the advertiser this insertion order belongs to.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"insertionOrderId": { +"description": "The ID of the insertion order to delete.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v4/advertisers/{+advertiserId}/insertionOrders/{+insertionOrderId}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/display-video" +] +}, +"get": { +"description": "Gets an insertion order. Returns error code `NOT_FOUND` if the insertion order does not exist.", +"flatPath": "v4/advertisers/{advertisersId}/insertionOrders/{insertionOrdersId}", +"httpMethod": "GET", +"id": "displayvideo.advertisers.insertionOrders.get", +"parameterOrder": [ +"advertiserId", +"insertionOrderId" +], +"parameters": { +"advertiserId": { +"description": "Required. The ID of the advertiser this insertion order belongs to.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"insertionOrderId": { +"description": "Required. The ID of the insertion order to fetch.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v4/advertisers/{+advertiserId}/insertionOrders/{+insertionOrderId}", +"response": { +"$ref": "InsertionOrder" +}, +"scopes": [ +"https://www.googleapis.com/auth/display-video" +] +}, +"list": { +"description": "Lists insertion orders in an advertiser. The order is defined by the order_by parameter. If a filter by entity_status is not specified, insertion orders with `ENTITY_STATUS_ARCHIVED` will not be included in the results.", +"flatPath": "v4/advertisers/{advertisersId}/insertionOrders", +"httpMethod": "GET", +"id": "displayvideo.advertisers.insertionOrders.list", +"parameterOrder": [ +"advertiserId" +], +"parameters": { +"advertiserId": { +"description": "Required. The ID of the advertiser to list insertion orders for.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"filter": { +"description": "Allows filtering by insertion order fields. Supported syntax: * Filter expressions are made up of one or more restrictions. * Restrictions can be combined by `AND` or `OR` logical operators. A sequence of restrictions implicitly uses `AND`. * A restriction has the form of `{field} {operator} {value}`. * The `updateTime` field must use the `GREATER THAN OR EQUAL TO (>=)` or `LESS THAN OR EQUAL TO (<=)` operators. * All other fields must use the `EQUALS (=)` operator. Supported fields: * `campaignId` * `displayName` * `entityStatus` * `updateTime` (input in ISO 8601 format, or `YYYY-MM-DDTHH:MM:SSZ`) Examples: * All insertion orders under a campaign: `campaignId=\"1234\"` * All `ENTITY_STATUS_ACTIVE` or `ENTITY_STATUS_PAUSED` insertion orders under an advertiser: `(entityStatus=\"ENTITY_STATUS_ACTIVE\" OR entityStatus=\"ENTITY_STATUS_PAUSED\")` * All insertion orders with an update time less than or equal to 2020-11-04T18:54:47Z (format of ISO 8601): `updateTime<=\"2020-11-04T18:54:47Z\"` * All insertion orders with an update time greater than or equal to 2020-11-04T18:54:47Z (format of ISO 8601): `updateTime>=\"2020-11-04T18:54:47Z\"` The length of this field should be no more than 500 characters. Reference our [filter `LIST` requests](/display-video/api/guides/how-tos/filters) guide for more information.", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "Field by which to sort the list. Acceptable values are: * \"displayName\" (default) * \"entityStatus\" * \"updateTime\" The default sorting order is ascending. To specify descending order for a field, a suffix \"desc\" should be added to the field name. Example: `displayName desc`.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Requested page size. Must be between `1` and `100`. If unspecified will default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value is specified.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A token identifying a page of results the server should return. Typically, this is the value of next_page_token returned from the previous call to `ListInsertionOrders` method. If not specified, the first page of results will be returned.", +"location": "query", +"type": "string" +} +}, +"path": "v4/advertisers/{+advertiserId}/insertionOrders", +"response": { +"$ref": "ListInsertionOrdersResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/display-video" +] +}, +"patch": { +"description": "Updates an existing insertion order. Returns the updated insertion order if successful.", +"flatPath": "v4/advertisers/{advertisersId}/insertionOrders/{insertionOrdersId}", +"httpMethod": "PATCH", +"id": "displayvideo.advertisers.insertionOrders.patch", +"parameterOrder": [ +"advertiserId", +"insertionOrderId" +], +"parameters": { +"advertiserId": { +"description": "Output only. The unique ID of the advertiser the insertion order belongs to.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"insertionOrderId": { +"description": "Output only. The unique ID of the insertion order. Assigned by the system.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Required. The mask to control which fields to update.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v4/advertisers/{+advertiserId}/insertionOrders/{+insertionOrderId}", +"request": { +"$ref": "InsertionOrder" +}, +"response": { +"$ref": "InsertionOrder" +}, +"scopes": [ +"https://www.googleapis.com/auth/display-video" +] +} +} +}, +"invoices": { +"methods": { +"list": { +"description": "Lists invoices posted for an advertiser in a given month. Invoices generated by billing profiles with a \"Partner\" invoice level are not retrievable through this method.", +"flatPath": "v4/advertisers/{advertisersId}/invoices", +"httpMethod": "GET", +"id": "displayvideo.advertisers.invoices.list", +"parameterOrder": [ +"advertiserId" +], +"parameters": { +"advertiserId": { +"description": "Required. The ID of the advertiser to list invoices for.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"issueMonth": { +"description": "The month to list the invoices for. If not set, the request will retrieve invoices for the previous month. Must be in the format YYYYMM.", +"location": "query", +"type": "string" +}, +"loiSapinInvoiceType": { +"description": "Select type of invoice to retrieve for Loi Sapin advertisers. Only applicable to Loi Sapin advertisers. Will be ignored otherwise.", +"enum": [ +"LOI_SAPIN_INVOICE_TYPE_UNSPECIFIED", +"LOI_SAPIN_INVOICE_TYPE_MEDIA", +"LOI_SAPIN_INVOICE_TYPE_PLATFORM" +], +"enumDescriptions": [ +"Value is not specified.", +"Invoices with Media cost.", +"Invoices with Platform fee." +], +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Requested page size. Must be between `1` and `200`. If unspecified will default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value is specified.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A token identifying a page of results the server should return. Typically, this is the value of next_page_token returned from the previous call to `ListInvoices` method. If not specified, the first page of results will be returned.", +"location": "query", +"type": "string" +} +}, +"path": "v4/advertisers/{+advertiserId}/invoices", +"response": { +"$ref": "ListInvoicesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/display-video", +"https://www.googleapis.com/auth/display-video-mediaplanning" +] +}, +"lookupInvoiceCurrency": { +"description": "Retrieves the invoice currency used by an advertiser in a given month.", +"flatPath": "v4/advertisers/{advertisersId}/invoices:lookupInvoiceCurrency", +"httpMethod": "GET", +"id": "displayvideo.advertisers.invoices.lookupInvoiceCurrency", +"parameterOrder": [ +"advertiserId" +], +"parameters": { +"advertiserId": { +"description": "Required. The ID of the advertiser to lookup currency for.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"invoiceMonth": { +"description": "Month for which the currency is needed. If not set, the request will return existing currency settings for the advertiser. Must be in the format YYYYMM.", +"location": "query", +"type": "string" +} +}, +"path": "v4/advertisers/{+advertiserId}/invoices:lookupInvoiceCurrency", +"response": { +"$ref": "LookupInvoiceCurrencyResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/display-video", +"https://www.googleapis.com/auth/display-video-mediaplanning" +] +} +} +}, +"lineItems": { +"methods": { +"bulkEditAssignedTargetingOptions": { +"description": "Bulk edits targeting options under multiple line items. The operation will delete the assigned targeting options provided in BulkEditAssignedTargetingOptionsRequest.delete_requests and then create the assigned targeting options provided in BulkEditAssignedTargetingOptionsRequest.create_requests. Requests to this endpoint cannot be made concurrently with the following requests updating the same line item: * lineItems.bulkUpdate * lineItems.patch * assignedTargetingOptions.create * assignedTargetingOptions.delete YouTube & Partners line items cannot be created or updated using the API.", +"flatPath": "v4/advertisers/{advertisersId}/lineItems:bulkEditAssignedTargetingOptions", +"httpMethod": "POST", +"id": "displayvideo.advertisers.lineItems.bulkEditAssignedTargetingOptions", +"parameterOrder": [ +"advertiserId" +], +"parameters": { +"advertiserId": { +"description": "Required. The ID of the advertiser the line items belong to.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v4/advertisers/{+advertiserId}/lineItems:bulkEditAssignedTargetingOptions", +"request": { +"$ref": "BulkEditAssignedTargetingOptionsRequest" +}, +"response": { +"$ref": "BulkEditAssignedTargetingOptionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/display-video" +] +}, +"bulkListAssignedTargetingOptions": { +"description": "Lists assigned targeting options for multiple line items across targeting types.", +"flatPath": "v4/advertisers/{advertisersId}/lineItems:bulkListAssignedTargetingOptions", +"httpMethod": "GET", +"id": "displayvideo.advertisers.lineItems.bulkListAssignedTargetingOptions", +"parameterOrder": [ +"advertiserId" +], +"parameters": { +"advertiserId": { +"description": "Required. The ID of the advertiser the line items belongs to.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"filter": { +"description": "Allows filtering by assigned targeting option fields. Supported syntax: * Filter expressions are made up of one or more restrictions. * Restrictions can be combined by the logical operator `OR` on the same field. * A restriction has the form of `{field} {operator} {value}`. * All fields must use the `EQUALS (=)` operator. Supported fields: * `targetingType` * `inheritance` Examples: * `AssignedTargetingOption` resources of targeting type `TARGETING_TYPE_PROXIMITY_LOCATION_LIST` or `TARGETING_TYPE_CHANNEL`: `targetingType=\"TARGETING_TYPE_PROXIMITY_LOCATION_LIST\" OR targetingType=\"TARGETING_TYPE_CHANNEL\"` * `AssignedTargetingOption` resources with inheritance status of `NOT_INHERITED` or `INHERITED_FROM_PARTNER`: `inheritance=\"NOT_INHERITED\" OR inheritance=\"INHERITED_FROM_PARTNER\"` The length of this field should be no more than 500 characters. Reference our [filter `LIST` requests](/display-video/api/guides/how-tos/filters) guide for more information.", +"location": "query", +"type": "string" +}, +"lineItemIds": { +"description": "Required. The IDs of the line items to list assigned targeting options for.", +"format": "int64", +"location": "query", +"repeated": true, +"type": "string" +}, +"orderBy": { +"description": "Field by which to sort the list. Acceptable values are: * `lineItemId` (default) * `assignedTargetingOption.targetingType` The default sorting order is ascending. To specify descending order for a field, a suffix \"desc\" should be added to the field name. Example: `targetingType desc`.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Requested page size. The size must be an integer between `1` and `5000`. If unspecified, the default is `5000`. Returns error code `INVALID_ARGUMENT` if an invalid value is specified.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A token that lets the client fetch the next page of results. Typically, this is the value of next_page_token returned from the previous call to the `BulkListAssignedTargetingOptions` method. If not specified, the first page of results will be returned.", +"location": "query", +"type": "string" +} +}, +"path": "v4/advertisers/{+advertiserId}/lineItems:bulkListAssignedTargetingOptions", +"response": { +"$ref": "BulkListAssignedTargetingOptionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/display-video" +] +}, +"bulkUpdate": { +"description": "Updates multiple line items. Requests to this endpoint cannot be made concurrently with the following requests updating the same line item: * BulkEditAssignedTargetingOptions * UpdateLineItem * assignedTargetingOptions.create * assignedTargetingOptions.delete YouTube & Partners line items cannot be created or updated using the API.", +"flatPath": "v4/advertisers/{advertisersId}/lineItems:bulkUpdate", +"httpMethod": "POST", +"id": "displayvideo.advertisers.lineItems.bulkUpdate", +"parameterOrder": [ +"advertiserId" +], +"parameters": { +"advertiserId": { +"description": "Required. The ID of the advertiser this line item belongs to.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v4/advertisers/{+advertiserId}/lineItems:bulkUpdate", +"request": { +"$ref": "BulkUpdateLineItemsRequest" +}, +"response": { +"$ref": "BulkUpdateLineItemsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/display-video" +] +}, +"create": { +"description": "Creates a new line item. Returns the newly created line item if successful. YouTube & Partners line items cannot be created or updated using the API.", +"flatPath": "v4/advertisers/{advertisersId}/lineItems", +"httpMethod": "POST", +"id": "displayvideo.advertisers.lineItems.create", +"parameterOrder": [ +"advertiserId" +], +"parameters": { +"advertiserId": { +"description": "Output only. The unique ID of the advertiser the line item belongs to.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v4/advertisers/{+advertiserId}/lineItems", +"request": { +"$ref": "LineItem" +}, +"response": { +"$ref": "LineItem" +}, +"scopes": [ +"https://www.googleapis.com/auth/display-video" +] +}, +"delete": { +"description": "Deletes a line item. Returns error code `NOT_FOUND` if the line item does not exist. The line item should be archived first, i.e. set entity_status to `ENTITY_STATUS_ARCHIVED`, to be able to delete it. YouTube & Partners line items cannot be created or updated using the API.", +"flatPath": "v4/advertisers/{advertisersId}/lineItems/{lineItemsId}", +"httpMethod": "DELETE", +"id": "displayvideo.advertisers.lineItems.delete", +"parameterOrder": [ +"advertiserId", +"lineItemId" +], +"parameters": { +"advertiserId": { +"description": "The ID of the advertiser this line item belongs to.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"lineItemId": { +"description": "The ID of the line item to delete.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v4/advertisers/{+advertiserId}/lineItems/{+lineItemId}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/display-video" +] +}, +"duplicate": { +"description": "Duplicates a line item. Returns the ID of the created line item if successful. YouTube & Partners line items cannot be created or updated using the API. **This method regularly experiences high latency.** We recommend [increasing your default timeout](/display-video/api/guides/best-practices/timeouts#client_library_timeout) to avoid errors.", +"flatPath": "v4/advertisers/{advertisersId}/lineItems/{lineItemsId}:duplicate", +"httpMethod": "POST", +"id": "displayvideo.advertisers.lineItems.duplicate", +"parameterOrder": [ +"advertiserId", +"lineItemId" +], +"parameters": { +"advertiserId": { +"description": "Required. The ID of the advertiser this line item belongs to.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"lineItemId": { +"description": "Required. The ID of the line item to duplicate.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v4/advertisers/{+advertiserId}/lineItems/{+lineItemId}:duplicate", +"request": { +"$ref": "DuplicateLineItemRequest" +}, +"response": { +"$ref": "DuplicateLineItemResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/display-video" +] +}, +"get": { +"description": "Gets a line item.", +"flatPath": "v4/advertisers/{advertisersId}/lineItems/{lineItemsId}", +"httpMethod": "GET", +"id": "displayvideo.advertisers.lineItems.get", +"parameterOrder": [ +"advertiserId", +"lineItemId" +], +"parameters": { +"advertiserId": { +"description": "Required. The ID of the advertiser this line item belongs to.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"lineItemId": { +"description": "Required. The ID of the line item to fetch.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v4/advertisers/{+advertiserId}/lineItems/{+lineItemId}", +"response": { +"$ref": "LineItem" +}, +"scopes": [ +"https://www.googleapis.com/auth/display-video" +] +}, +"list": { +"description": "Lists line items in an advertiser. The order is defined by the order_by parameter. If a filter by entity_status is not specified, line items with `ENTITY_STATUS_ARCHIVED` will not be included in the results.", +"flatPath": "v4/advertisers/{advertisersId}/lineItems", +"httpMethod": "GET", +"id": "displayvideo.advertisers.lineItems.list", +"parameterOrder": [ +"advertiserId" +], +"parameters": { +"advertiserId": { +"description": "Required. The ID of the advertiser to list line items for.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"filter": { +"description": "Allows filtering by line item fields. Supported syntax: * Filter expressions are made up of one or more restrictions. * Restrictions can be combined by `AND` or `OR` logical operators. A sequence of restrictions implicitly uses `AND`. * A restriction has the form of `{field} {operator} {value}`. * The `updateTime` field must use the `GREATER THAN OR EQUAL TO (>=)` or `LESS THAN OR EQUAL TO (<=)` operators. * All other fields must use the `EQUALS (=)` operator. Supported fields: * `campaignId` * `displayName` * `entityStatus` * `insertionOrderId` * `lineItemId` * `lineItemType` * `updateTime` (input in ISO 8601 format, or `YYYY-MM-DDTHH:MM:SSZ`) Examples: * All line items under an insertion order: `insertionOrderId=\"1234\"` * All `ENTITY_STATUS_ACTIVE` or `ENTITY_STATUS_PAUSED` and `LINE_ITEM_TYPE_DISPLAY_DEFAULT` line items under an advertiser: `(entityStatus=\"ENTITY_STATUS_ACTIVE\" OR entityStatus=\"ENTITY_STATUS_PAUSED\") AND lineItemType=\"LINE_ITEM_TYPE_DISPLAY_DEFAULT\"` * All line items with an update time less than or equal to 2020-11-04T18:54:47Z (format of ISO 8601): `updateTime<=\"2020-11-04T18:54:47Z\"` * All line items with an update time greater than or equal to 2020-11-04T18:54:47Z (format of ISO 8601): `updateTime>=\"2020-11-04T18:54:47Z\"` The length of this field should be no more than 500 characters. Reference our [filter `LIST` requests](/display-video/api/guides/how-tos/filters) guide for more information.", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "Field by which to sort the list. Acceptable values are: * `displayName` (default) * `entityStatus` * `updateTime` The default sorting order is ascending. To specify descending order for a field, a suffix \"desc\" should be added to the field name. Example: `displayName desc`.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Requested page size. Must be between `1` and `200`. If unspecified will default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value is specified.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A token identifying a page of results the server should return. Typically, this is the value of next_page_token returned from the previous call to `ListLineItems` method. If not specified, the first page of results will be returned.", +"location": "query", +"type": "string" +} +}, +"path": "v4/advertisers/{+advertiserId}/lineItems", +"response": { +"$ref": "ListLineItemsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/display-video" +] +}, +"patch": { +"description": "Updates an existing line item. Returns the updated line item if successful. Requests to this endpoint cannot be made concurrently with the following requests updating the same line item: * BulkEditAssignedTargetingOptions * BulkUpdateLineItems * assignedTargetingOptions.create * assignedTargetingOptions.delete YouTube & Partners line items cannot be created or updated using the API. **This method regularly experiences high latency.** We recommend [increasing your default timeout](/display-video/api/guides/best-practices/timeouts#client_library_timeout) to avoid errors.", +"flatPath": "v4/advertisers/{advertisersId}/lineItems/{lineItemsId}", +"httpMethod": "PATCH", +"id": "displayvideo.advertisers.lineItems.patch", +"parameterOrder": [ +"advertiserId", +"lineItemId" +], +"parameters": { +"advertiserId": { +"description": "Output only. The unique ID of the advertiser the line item belongs to.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"lineItemId": { +"description": "Output only. The unique ID of the line item. Assigned by the system.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Required. The mask to control which fields to update.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v4/advertisers/{+advertiserId}/lineItems/{+lineItemId}", +"request": { +"$ref": "LineItem" +}, +"response": { +"$ref": "LineItem" +}, +"scopes": [ +"https://www.googleapis.com/auth/display-video" +] +} +}, +"resources": { +"targetingTypes": { +"resources": { +"assignedTargetingOptions": { +"methods": { +"create": { +"description": "Assigns a targeting option to a line item. Returns the assigned targeting option if successful. Requests to this endpoint cannot be made concurrently with the following requests updating the same line item: * lineItems.bulkEditAssignedTargetingOptions * lineItems.bulkUpdate * lineItems.patch * DeleteLineItemAssignedTargetingOption YouTube & Partners line items cannot be created or updated using the API.", +"flatPath": "v4/advertisers/{advertisersId}/lineItems/{lineItemsId}/targetingTypes/{targetingTypesId}/assignedTargetingOptions", +"httpMethod": "POST", +"id": "displayvideo.advertisers.lineItems.targetingTypes.assignedTargetingOptions.create", +"parameterOrder": [ +"advertiserId", +"lineItemId", +"targetingType" +], +"parameters": { +"advertiserId": { +"description": "Required. The ID of the advertiser the line item belongs to.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"lineItemId": { +"description": "Required. The ID of the line item the assigned targeting option will belong to.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"targetingType": { +"description": "Required. Identifies the type of this assigned targeting option. Supported targeting types include: * `TARGETING_TYPE_AGE_RANGE` * `TARGETING_TYPE_APP` * `TARGETING_TYPE_APP_CATEGORY` * `TARGETING_TYPE_AUDIENCE_GROUP` * `TARGETING_TYPE_AUDIO_CONTENT_TYPE` * `TARGETING_TYPE_AUTHORIZED_SELLER_STATUS` * `TARGETING_TYPE_BROWSER` * `TARGETING_TYPE_BUSINESS_CHAIN` * `TARGETING_TYPE_CARRIER_AND_ISP` * `TARGETING_TYPE_CATEGORY` * `TARGETING_TYPE_CHANNEL` * `TARGETING_TYPE_CONTENT_DURATION` * `TARGETING_TYPE_CONTENT_GENRE` * `TARGETING_TYPE_CONTENT_INSTREAM_POSITION` * `TARGETING_TYPE_CONTENT_OUTSTREAM_POSITION` * `TARGETING_TYPE_CONTENT_STREAM_TYPE` * `TARGETING_TYPE_DAY_AND_TIME` * `TARGETING_TYPE_DEVICE_MAKE_MODEL` * `TARGETING_TYPE_DEVICE_TYPE` * `TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION` * `TARGETING_TYPE_ENVIRONMENT` * `TARGETING_TYPE_EXCHANGE` * `TARGETING_TYPE_GENDER` * `TARGETING_TYPE_GEO_REGION` * `TARGETING_TYPE_HOUSEHOLD_INCOME` * `TARGETING_TYPE_INVENTORY_SOURCE` * `TARGETING_TYPE_INVENTORY_SOURCE_GROUP` * `TARGETING_TYPE_KEYWORD` * `TARGETING_TYPE_LANGUAGE` * `TARGETING_TYPE_NATIVE_CONTENT_POSITION` * `TARGETING_TYPE_NEGATIVE_KEYWORD_LIST` * `TARGETING_TYPE_OMID` * `TARGETING_TYPE_ON_SCREEN_POSITION` * `TARGETING_TYPE_OPERATING_SYSTEM` * `TARGETING_TYPE_PARENTAL_STATUS` * `TARGETING_TYPE_POI` * `TARGETING_TYPE_PROXIMITY_LOCATION_LIST` * `TARGETING_TYPE_REGIONAL_LOCATION_LIST` * `TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION` * `TARGETING_TYPE_SUB_EXCHANGE` * `TARGETING_TYPE_THIRD_PARTY_VERIFIER` * `TARGETING_TYPE_URL` * `TARGETING_TYPE_USER_REWARDED_CONTENT` * `TARGETING_TYPE_VIDEO_PLAYER_SIZE` * `TARGETING_TYPE_VIEWABILITY`", +"enum": [ +"TARGETING_TYPE_UNSPECIFIED", +"TARGETING_TYPE_CHANNEL", +"TARGETING_TYPE_APP_CATEGORY", +"TARGETING_TYPE_APP", +"TARGETING_TYPE_URL", +"TARGETING_TYPE_DAY_AND_TIME", +"TARGETING_TYPE_AGE_RANGE", +"TARGETING_TYPE_REGIONAL_LOCATION_LIST", +"TARGETING_TYPE_PROXIMITY_LOCATION_LIST", +"TARGETING_TYPE_GENDER", +"TARGETING_TYPE_VIDEO_PLAYER_SIZE", +"TARGETING_TYPE_USER_REWARDED_CONTENT", +"TARGETING_TYPE_PARENTAL_STATUS", +"TARGETING_TYPE_CONTENT_INSTREAM_POSITION", +"TARGETING_TYPE_CONTENT_OUTSTREAM_POSITION", +"TARGETING_TYPE_DEVICE_TYPE", +"TARGETING_TYPE_AUDIENCE_GROUP", +"TARGETING_TYPE_BROWSER", +"TARGETING_TYPE_HOUSEHOLD_INCOME", +"TARGETING_TYPE_ON_SCREEN_POSITION", +"TARGETING_TYPE_THIRD_PARTY_VERIFIER", +"TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION", +"TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION", +"TARGETING_TYPE_ENVIRONMENT", +"TARGETING_TYPE_CARRIER_AND_ISP", +"TARGETING_TYPE_OPERATING_SYSTEM", +"TARGETING_TYPE_DEVICE_MAKE_MODEL", +"TARGETING_TYPE_KEYWORD", +"TARGETING_TYPE_NEGATIVE_KEYWORD_LIST", +"TARGETING_TYPE_VIEWABILITY", +"TARGETING_TYPE_CATEGORY", +"TARGETING_TYPE_INVENTORY_SOURCE", +"TARGETING_TYPE_LANGUAGE", +"TARGETING_TYPE_AUTHORIZED_SELLER_STATUS", +"TARGETING_TYPE_GEO_REGION", +"TARGETING_TYPE_INVENTORY_SOURCE_GROUP", +"TARGETING_TYPE_EXCHANGE", +"TARGETING_TYPE_SUB_EXCHANGE", +"TARGETING_TYPE_POI", +"TARGETING_TYPE_BUSINESS_CHAIN", +"TARGETING_TYPE_CONTENT_DURATION", +"TARGETING_TYPE_CONTENT_STREAM_TYPE", +"TARGETING_TYPE_NATIVE_CONTENT_POSITION", +"TARGETING_TYPE_OMID", +"TARGETING_TYPE_AUDIO_CONTENT_TYPE", +"TARGETING_TYPE_CONTENT_GENRE", +"TARGETING_TYPE_YOUTUBE_VIDEO", +"TARGETING_TYPE_YOUTUBE_CHANNEL", +"TARGETING_TYPE_SESSION_POSITION", +"TARGETING_TYPE_CONTENT_THEME_EXCLUSION" +], +"enumDescriptions": [ +"Default value when type is not specified or is unknown in this version.", +"Target a channel (a custom group of related websites or apps).", +"Target an app category (for example, education or puzzle games).", +"Target a specific app (for example, Angry Birds).", +"Target a specific url (for example, quora.com).", +"Target ads during a chosen time period on a specific day.", +"Target ads to a specific age range (for example, 18-24).", +"Target ads to the specified regions on a regional location list.", +"Target ads to the specified points of interest on a proximity location list.", +"Target ads to a specific gender (for example, female or male).", +"Target a specific video player size for video ads.", +"Target user rewarded content for video ads.", +"Target ads to a specific parental status (for example, parent or not a parent).", +"Target video or audio ads in a specific content instream position (for example, pre-roll, mid-roll, or post-roll).", +"Target ads in a specific content outstream position.", +"Target ads to a specific device type (for example, tablet or connected TV).", +"Target ads to an audience or groups of audiences. Singleton field, at most one can exist on a single Lineitem at a time.", +"Target ads to specific web browsers (for example, Chrome).", +"Target ads to a specific household income range (for example, top 10%).", +"Target ads in a specific on screen position.", +"Filter web sites through third party verification (for example, IAS or DoubleVerify).", +"Filter web sites by specific digital content label ratings (for example, DL-MA: suitable only for mature audiences).", +"Filter website content by sensitive categories (for example, adult).", +"Target ads to a specific environment (for example, web or app).", +"Target ads to a specific network carrier or internet service provider (ISP) (for example, Comcast or Orange).", +"Target ads to a specific operating system (for example, macOS).", +"Target ads to a specific device make or model (for example, Roku or Samsung).", +"Target ads to a specific keyword (for example, dog or retriever).", +"Target ads to a specific negative keyword list.", +"Target ads to a specific viewability (for example, 80% viewable).", +"Target ads to a specific content category (for example, arts & entertainment).", +"Purchase impressions from specific deals and auction packages.", +"Target ads to a specific language (for example, English or Japanese).", +"Target ads to ads.txt authorized sellers. If no targeting option of this type is assigned, the resource uses the \"Authorized Direct Sellers and Resellers\" option by default.", +"Target ads to a specific regional location (for example, a city or state).", +"Purchase impressions from a group of deals and auction packages.", +"Purchase impressions from specific exchanges.", +"Purchase impressions from specific sub-exchanges.", +"Target ads around a specific point of interest, such as a notable building, a street address, or latitude/longitude coordinates.", +"Target ads around locations of a business chain within a specific geo region.", +"Target ads to a specific video content duration.", +"Target ads to a specific video content stream type.", +"Target ads to a specific native content position.", +"Target ads in an Open Measurement enabled inventory.", +"Target ads to a specific audio content type.", +"Target ads to a specific content genre.", +"Target ads to a specific YouTube video. Targeting of this type cannot be created or updated using the API. Although this targeting is inherited by child resources, **inherited targeting of this type will not be retrieveable**.", +"Target ads to a specific YouTube channel. Targeting of this type cannot be created or updated using the API. Although this targeting is inherited by child resources, **inherited targeting of this type will not be retrieveable**.", +"Target ads to a serve it in a certain position of a session. Only supported for Ad Group resources under YouTube Programmatic Reservation line items. Targeting of this type cannot be created or updated using the API.", +"Filter website content by content themes (for example, religion). Only supported for Advertiser resources. Targeting of this type cannot be created or updated using the API. This targeting is only inherited by child YouTube and Demand Gen line item resources." +], +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v4/advertisers/{+advertiserId}/lineItems/{+lineItemId}/targetingTypes/{+targetingType}/assignedTargetingOptions", +"request": { +"$ref": "AssignedTargetingOption" +}, +"response": { +"$ref": "AssignedTargetingOption" +}, +"scopes": [ +"https://www.googleapis.com/auth/display-video" +] +}, +"delete": { +"description": "Deletes an assigned targeting option from a line item. Requests to this endpoint cannot be made concurrently with the following requests updating the same line item: * lineItems.bulkEditAssignedTargetingOptions * lineItems.bulkUpdate * lineItems.patch * CreateLineItemAssignedTargetingOption YouTube & Partners line items cannot be created or updated using the API.", +"flatPath": "v4/advertisers/{advertisersId}/lineItems/{lineItemsId}/targetingTypes/{targetingTypesId}/assignedTargetingOptions/{assignedTargetingOptionsId}", +"httpMethod": "DELETE", +"id": "displayvideo.advertisers.lineItems.targetingTypes.assignedTargetingOptions.delete", +"parameterOrder": [ +"advertiserId", +"lineItemId", +"targetingType", +"assignedTargetingOptionId" +], +"parameters": { +"advertiserId": { +"description": "Required. The ID of the advertiser the line item belongs to.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"assignedTargetingOptionId": { +"description": "Required. The ID of the assigned targeting option to delete.", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"lineItemId": { +"description": "Required. The ID of the line item the assigned targeting option belongs to.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"targetingType": { +"description": "Required. Identifies the type of this assigned targeting option. Supported targeting types include: * `TARGETING_TYPE_AGE_RANGE` * `TARGETING_TYPE_APP` * `TARGETING_TYPE_APP_CATEGORY` * `TARGETING_TYPE_AUDIENCE_GROUP` * `TARGETING_TYPE_AUDIO_CONTENT_TYPE` * `TARGETING_TYPE_AUTHORIZED_SELLER_STATUS` * `TARGETING_TYPE_BROWSER` * `TARGETING_TYPE_BUSINESS_CHAIN` * `TARGETING_TYPE_CARRIER_AND_ISP` * `TARGETING_TYPE_CATEGORY` * `TARGETING_TYPE_CHANNEL` * `TARGETING_TYPE_CONTENT_DURATION` * `TARGETING_TYPE_CONTENT_GENRE` * `TARGETING_TYPE_CONTENT_INSTREAM_POSITION` * `TARGETING_TYPE_CONTENT_OUTSTREAM_POSITION` * `TARGETING_TYPE_CONTENT_STREAM_TYPE` * `TARGETING_TYPE_DAY_AND_TIME` * `TARGETING_TYPE_DEVICE_MAKE_MODEL` * `TARGETING_TYPE_DEVICE_TYPE` * `TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION` * `TARGETING_TYPE_ENVIRONMENT` * `TARGETING_TYPE_EXCHANGE` * `TARGETING_TYPE_GENDER` * `TARGETING_TYPE_GEO_REGION` * `TARGETING_TYPE_HOUSEHOLD_INCOME` * `TARGETING_TYPE_INVENTORY_SOURCE` * `TARGETING_TYPE_INVENTORY_SOURCE_GROUP` * `TARGETING_TYPE_KEYWORD` * `TARGETING_TYPE_LANGUAGE` * `TARGETING_TYPE_NATIVE_CONTENT_POSITION` * `TARGETING_TYPE_NEGATIVE_KEYWORD_LIST` * `TARGETING_TYPE_OMID` * `TARGETING_TYPE_ON_SCREEN_POSITION` * `TARGETING_TYPE_OPERATING_SYSTEM` * `TARGETING_TYPE_PARENTAL_STATUS` * `TARGETING_TYPE_POI` * `TARGETING_TYPE_PROXIMITY_LOCATION_LIST` * `TARGETING_TYPE_REGIONAL_LOCATION_LIST` * `TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION` * `TARGETING_TYPE_SUB_EXCHANGE` * `TARGETING_TYPE_THIRD_PARTY_VERIFIER` * `TARGETING_TYPE_URL` * `TARGETING_TYPE_USER_REWARDED_CONTENT` * `TARGETING_TYPE_VIDEO_PLAYER_SIZE` * `TARGETING_TYPE_VIEWABILITY`", +"enum": [ +"TARGETING_TYPE_UNSPECIFIED", +"TARGETING_TYPE_CHANNEL", +"TARGETING_TYPE_APP_CATEGORY", +"TARGETING_TYPE_APP", +"TARGETING_TYPE_URL", +"TARGETING_TYPE_DAY_AND_TIME", +"TARGETING_TYPE_AGE_RANGE", +"TARGETING_TYPE_REGIONAL_LOCATION_LIST", +"TARGETING_TYPE_PROXIMITY_LOCATION_LIST", +"TARGETING_TYPE_GENDER", +"TARGETING_TYPE_VIDEO_PLAYER_SIZE", +"TARGETING_TYPE_USER_REWARDED_CONTENT", +"TARGETING_TYPE_PARENTAL_STATUS", +"TARGETING_TYPE_CONTENT_INSTREAM_POSITION", +"TARGETING_TYPE_CONTENT_OUTSTREAM_POSITION", +"TARGETING_TYPE_DEVICE_TYPE", +"TARGETING_TYPE_AUDIENCE_GROUP", +"TARGETING_TYPE_BROWSER", +"TARGETING_TYPE_HOUSEHOLD_INCOME", +"TARGETING_TYPE_ON_SCREEN_POSITION", +"TARGETING_TYPE_THIRD_PARTY_VERIFIER", +"TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION", +"TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION", +"TARGETING_TYPE_ENVIRONMENT", +"TARGETING_TYPE_CARRIER_AND_ISP", +"TARGETING_TYPE_OPERATING_SYSTEM", +"TARGETING_TYPE_DEVICE_MAKE_MODEL", +"TARGETING_TYPE_KEYWORD", +"TARGETING_TYPE_NEGATIVE_KEYWORD_LIST", +"TARGETING_TYPE_VIEWABILITY", +"TARGETING_TYPE_CATEGORY", +"TARGETING_TYPE_INVENTORY_SOURCE", +"TARGETING_TYPE_LANGUAGE", +"TARGETING_TYPE_AUTHORIZED_SELLER_STATUS", +"TARGETING_TYPE_GEO_REGION", +"TARGETING_TYPE_INVENTORY_SOURCE_GROUP", +"TARGETING_TYPE_EXCHANGE", +"TARGETING_TYPE_SUB_EXCHANGE", +"TARGETING_TYPE_POI", +"TARGETING_TYPE_BUSINESS_CHAIN", +"TARGETING_TYPE_CONTENT_DURATION", +"TARGETING_TYPE_CONTENT_STREAM_TYPE", +"TARGETING_TYPE_NATIVE_CONTENT_POSITION", +"TARGETING_TYPE_OMID", +"TARGETING_TYPE_AUDIO_CONTENT_TYPE", +"TARGETING_TYPE_CONTENT_GENRE", +"TARGETING_TYPE_YOUTUBE_VIDEO", +"TARGETING_TYPE_YOUTUBE_CHANNEL", +"TARGETING_TYPE_SESSION_POSITION", +"TARGETING_TYPE_CONTENT_THEME_EXCLUSION" +], +"enumDescriptions": [ +"Default value when type is not specified or is unknown in this version.", +"Target a channel (a custom group of related websites or apps).", +"Target an app category (for example, education or puzzle games).", +"Target a specific app (for example, Angry Birds).", +"Target a specific url (for example, quora.com).", +"Target ads during a chosen time period on a specific day.", +"Target ads to a specific age range (for example, 18-24).", +"Target ads to the specified regions on a regional location list.", +"Target ads to the specified points of interest on a proximity location list.", +"Target ads to a specific gender (for example, female or male).", +"Target a specific video player size for video ads.", +"Target user rewarded content for video ads.", +"Target ads to a specific parental status (for example, parent or not a parent).", +"Target video or audio ads in a specific content instream position (for example, pre-roll, mid-roll, or post-roll).", +"Target ads in a specific content outstream position.", +"Target ads to a specific device type (for example, tablet or connected TV).", +"Target ads to an audience or groups of audiences. Singleton field, at most one can exist on a single Lineitem at a time.", +"Target ads to specific web browsers (for example, Chrome).", +"Target ads to a specific household income range (for example, top 10%).", +"Target ads in a specific on screen position.", +"Filter web sites through third party verification (for example, IAS or DoubleVerify).", +"Filter web sites by specific digital content label ratings (for example, DL-MA: suitable only for mature audiences).", +"Filter website content by sensitive categories (for example, adult).", +"Target ads to a specific environment (for example, web or app).", +"Target ads to a specific network carrier or internet service provider (ISP) (for example, Comcast or Orange).", +"Target ads to a specific operating system (for example, macOS).", +"Target ads to a specific device make or model (for example, Roku or Samsung).", +"Target ads to a specific keyword (for example, dog or retriever).", +"Target ads to a specific negative keyword list.", +"Target ads to a specific viewability (for example, 80% viewable).", +"Target ads to a specific content category (for example, arts & entertainment).", +"Purchase impressions from specific deals and auction packages.", +"Target ads to a specific language (for example, English or Japanese).", +"Target ads to ads.txt authorized sellers. If no targeting option of this type is assigned, the resource uses the \"Authorized Direct Sellers and Resellers\" option by default.", +"Target ads to a specific regional location (for example, a city or state).", +"Purchase impressions from a group of deals and auction packages.", +"Purchase impressions from specific exchanges.", +"Purchase impressions from specific sub-exchanges.", +"Target ads around a specific point of interest, such as a notable building, a street address, or latitude/longitude coordinates.", +"Target ads around locations of a business chain within a specific geo region.", +"Target ads to a specific video content duration.", +"Target ads to a specific video content stream type.", +"Target ads to a specific native content position.", +"Target ads in an Open Measurement enabled inventory.", +"Target ads to a specific audio content type.", +"Target ads to a specific content genre.", +"Target ads to a specific YouTube video. Targeting of this type cannot be created or updated using the API. Although this targeting is inherited by child resources, **inherited targeting of this type will not be retrieveable**.", +"Target ads to a specific YouTube channel. Targeting of this type cannot be created or updated using the API. Although this targeting is inherited by child resources, **inherited targeting of this type will not be retrieveable**.", +"Target ads to a serve it in a certain position of a session. Only supported for Ad Group resources under YouTube Programmatic Reservation line items. Targeting of this type cannot be created or updated using the API.", +"Filter website content by content themes (for example, religion). Only supported for Advertiser resources. Targeting of this type cannot be created or updated using the API. This targeting is only inherited by child YouTube and Demand Gen line item resources." +], +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v4/advertisers/{+advertiserId}/lineItems/{+lineItemId}/targetingTypes/{+targetingType}/assignedTargetingOptions/{+assignedTargetingOptionId}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/display-video" +] +}, +"get": { +"description": "Gets a single targeting option assigned to a line item.", +"flatPath": "v4/advertisers/{advertisersId}/lineItems/{lineItemsId}/targetingTypes/{targetingTypesId}/assignedTargetingOptions/{assignedTargetingOptionsId}", +"httpMethod": "GET", +"id": "displayvideo.advertisers.lineItems.targetingTypes.assignedTargetingOptions.get", +"parameterOrder": [ +"advertiserId", +"lineItemId", +"targetingType", +"assignedTargetingOptionId" +], +"parameters": { +"advertiserId": { +"description": "Required. The ID of the advertiser the line item belongs to.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"assignedTargetingOptionId": { +"description": "Required. An identifier unique to the targeting type in this line item that identifies the assigned targeting option being requested.", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"lineItemId": { +"description": "Required. The ID of the line item the assigned targeting option belongs to.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"targetingType": { +"description": "Required. Identifies the type of this assigned targeting option. Supported targeting types include: * `TARGETING_TYPE_AGE_RANGE` * `TARGETING_TYPE_APP` * `TARGETING_TYPE_APP_CATEGORY` * `TARGETING_TYPE_AUDIENCE_GROUP` * `TARGETING_TYPE_AUDIO_CONTENT_TYPE` * `TARGETING_TYPE_AUTHORIZED_SELLER_STATUS` * `TARGETING_TYPE_BROWSER` * `TARGETING_TYPE_BUSINESS_CHAIN` * `TARGETING_TYPE_CARRIER_AND_ISP` * `TARGETING_TYPE_CATEGORY` * `TARGETING_TYPE_CHANNEL` * `TARGETING_TYPE_CONTENT_DURATION` * `TARGETING_TYPE_CONTENT_GENRE` * `TARGETING_TYPE_CONTENT_INSTREAM_POSITION` * `TARGETING_TYPE_CONTENT_OUTSTREAM_POSITION` * `TARGETING_TYPE_CONTENT_STREAM_TYPE` * `TARGETING_TYPE_DAY_AND_TIME` * `TARGETING_TYPE_DEVICE_MAKE_MODEL` * `TARGETING_TYPE_DEVICE_TYPE` * `TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION` * `TARGETING_TYPE_ENVIRONMENT` * `TARGETING_TYPE_EXCHANGE` * `TARGETING_TYPE_GENDER` * `TARGETING_TYPE_GEO_REGION` * `TARGETING_TYPE_HOUSEHOLD_INCOME` * `TARGETING_TYPE_INVENTORY_SOURCE` * `TARGETING_TYPE_INVENTORY_SOURCE_GROUP` * `TARGETING_TYPE_KEYWORD` * `TARGETING_TYPE_LANGUAGE` * `TARGETING_TYPE_NATIVE_CONTENT_POSITION` * `TARGETING_TYPE_NEGATIVE_KEYWORD_LIST` * `TARGETING_TYPE_OMID` * `TARGETING_TYPE_ON_SCREEN_POSITION` * `TARGETING_TYPE_OPERATING_SYSTEM` * `TARGETING_TYPE_PARENTAL_STATUS` * `TARGETING_TYPE_POI` * `TARGETING_TYPE_PROXIMITY_LOCATION_LIST` * `TARGETING_TYPE_REGIONAL_LOCATION_LIST` * `TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION` * `TARGETING_TYPE_SUB_EXCHANGE` * `TARGETING_TYPE_THIRD_PARTY_VERIFIER` * `TARGETING_TYPE_URL` * `TARGETING_TYPE_USER_REWARDED_CONTENT` * `TARGETING_TYPE_VIDEO_PLAYER_SIZE` * `TARGETING_TYPE_VIEWABILITY` * `TARGETING_TYPE_INVENTORY_MODE` * `TARGETING_TYPE_YOUTUBE_CHANNEL` (only for `LINE_ITEM_TYPE_YOUTUBE_AND_PARTNERS_VIDEO_SEQUENCE` line items) * `TARGETING_TYPE_YOUTUBE_VIDEO` (only for `LINE_ITEM_TYPE_YOUTUBE_AND_PARTNERS_VIDEO_SEQUENCE` line items)", +"enum": [ +"TARGETING_TYPE_UNSPECIFIED", +"TARGETING_TYPE_CHANNEL", +"TARGETING_TYPE_APP_CATEGORY", +"TARGETING_TYPE_APP", +"TARGETING_TYPE_URL", +"TARGETING_TYPE_DAY_AND_TIME", +"TARGETING_TYPE_AGE_RANGE", +"TARGETING_TYPE_REGIONAL_LOCATION_LIST", +"TARGETING_TYPE_PROXIMITY_LOCATION_LIST", +"TARGETING_TYPE_GENDER", +"TARGETING_TYPE_VIDEO_PLAYER_SIZE", +"TARGETING_TYPE_USER_REWARDED_CONTENT", +"TARGETING_TYPE_PARENTAL_STATUS", +"TARGETING_TYPE_CONTENT_INSTREAM_POSITION", +"TARGETING_TYPE_CONTENT_OUTSTREAM_POSITION", +"TARGETING_TYPE_DEVICE_TYPE", +"TARGETING_TYPE_AUDIENCE_GROUP", +"TARGETING_TYPE_BROWSER", +"TARGETING_TYPE_HOUSEHOLD_INCOME", +"TARGETING_TYPE_ON_SCREEN_POSITION", +"TARGETING_TYPE_THIRD_PARTY_VERIFIER", +"TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION", +"TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION", +"TARGETING_TYPE_ENVIRONMENT", +"TARGETING_TYPE_CARRIER_AND_ISP", +"TARGETING_TYPE_OPERATING_SYSTEM", +"TARGETING_TYPE_DEVICE_MAKE_MODEL", +"TARGETING_TYPE_KEYWORD", +"TARGETING_TYPE_NEGATIVE_KEYWORD_LIST", +"TARGETING_TYPE_VIEWABILITY", +"TARGETING_TYPE_CATEGORY", +"TARGETING_TYPE_INVENTORY_SOURCE", +"TARGETING_TYPE_LANGUAGE", +"TARGETING_TYPE_AUTHORIZED_SELLER_STATUS", +"TARGETING_TYPE_GEO_REGION", +"TARGETING_TYPE_INVENTORY_SOURCE_GROUP", +"TARGETING_TYPE_EXCHANGE", +"TARGETING_TYPE_SUB_EXCHANGE", +"TARGETING_TYPE_POI", +"TARGETING_TYPE_BUSINESS_CHAIN", +"TARGETING_TYPE_CONTENT_DURATION", +"TARGETING_TYPE_CONTENT_STREAM_TYPE", +"TARGETING_TYPE_NATIVE_CONTENT_POSITION", +"TARGETING_TYPE_OMID", +"TARGETING_TYPE_AUDIO_CONTENT_TYPE", +"TARGETING_TYPE_CONTENT_GENRE", +"TARGETING_TYPE_YOUTUBE_VIDEO", +"TARGETING_TYPE_YOUTUBE_CHANNEL", +"TARGETING_TYPE_SESSION_POSITION", +"TARGETING_TYPE_CONTENT_THEME_EXCLUSION" +], +"enumDescriptions": [ +"Default value when type is not specified or is unknown in this version.", +"Target a channel (a custom group of related websites or apps).", +"Target an app category (for example, education or puzzle games).", +"Target a specific app (for example, Angry Birds).", +"Target a specific url (for example, quora.com).", +"Target ads during a chosen time period on a specific day.", +"Target ads to a specific age range (for example, 18-24).", +"Target ads to the specified regions on a regional location list.", +"Target ads to the specified points of interest on a proximity location list.", +"Target ads to a specific gender (for example, female or male).", +"Target a specific video player size for video ads.", +"Target user rewarded content for video ads.", +"Target ads to a specific parental status (for example, parent or not a parent).", +"Target video or audio ads in a specific content instream position (for example, pre-roll, mid-roll, or post-roll).", +"Target ads in a specific content outstream position.", +"Target ads to a specific device type (for example, tablet or connected TV).", +"Target ads to an audience or groups of audiences. Singleton field, at most one can exist on a single Lineitem at a time.", +"Target ads to specific web browsers (for example, Chrome).", +"Target ads to a specific household income range (for example, top 10%).", +"Target ads in a specific on screen position.", +"Filter web sites through third party verification (for example, IAS or DoubleVerify).", +"Filter web sites by specific digital content label ratings (for example, DL-MA: suitable only for mature audiences).", +"Filter website content by sensitive categories (for example, adult).", +"Target ads to a specific environment (for example, web or app).", +"Target ads to a specific network carrier or internet service provider (ISP) (for example, Comcast or Orange).", +"Target ads to a specific operating system (for example, macOS).", +"Target ads to a specific device make or model (for example, Roku or Samsung).", +"Target ads to a specific keyword (for example, dog or retriever).", +"Target ads to a specific negative keyword list.", +"Target ads to a specific viewability (for example, 80% viewable).", +"Target ads to a specific content category (for example, arts & entertainment).", +"Purchase impressions from specific deals and auction packages.", +"Target ads to a specific language (for example, English or Japanese).", +"Target ads to ads.txt authorized sellers. If no targeting option of this type is assigned, the resource uses the \"Authorized Direct Sellers and Resellers\" option by default.", +"Target ads to a specific regional location (for example, a city or state).", +"Purchase impressions from a group of deals and auction packages.", +"Purchase impressions from specific exchanges.", +"Purchase impressions from specific sub-exchanges.", +"Target ads around a specific point of interest, such as a notable building, a street address, or latitude/longitude coordinates.", +"Target ads around locations of a business chain within a specific geo region.", +"Target ads to a specific video content duration.", +"Target ads to a specific video content stream type.", +"Target ads to a specific native content position.", +"Target ads in an Open Measurement enabled inventory.", +"Target ads to a specific audio content type.", +"Target ads to a specific content genre.", +"Target ads to a specific YouTube video. Targeting of this type cannot be created or updated using the API. Although this targeting is inherited by child resources, **inherited targeting of this type will not be retrieveable**.", +"Target ads to a specific YouTube channel. Targeting of this type cannot be created or updated using the API. Although this targeting is inherited by child resources, **inherited targeting of this type will not be retrieveable**.", +"Target ads to a serve it in a certain position of a session. Only supported for Ad Group resources under YouTube Programmatic Reservation line items. Targeting of this type cannot be created or updated using the API.", +"Filter website content by content themes (for example, religion). Only supported for Advertiser resources. Targeting of this type cannot be created or updated using the API. This targeting is only inherited by child YouTube and Demand Gen line item resources." +], +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v4/advertisers/{+advertiserId}/lineItems/{+lineItemId}/targetingTypes/{+targetingType}/assignedTargetingOptions/{+assignedTargetingOptionId}", +"response": { +"$ref": "AssignedTargetingOption" +}, +"scopes": [ +"https://www.googleapis.com/auth/display-video" +] +}, +"list": { +"description": "Lists the targeting options assigned to a line item.", +"flatPath": "v4/advertisers/{advertisersId}/lineItems/{lineItemsId}/targetingTypes/{targetingTypesId}/assignedTargetingOptions", +"httpMethod": "GET", +"id": "displayvideo.advertisers.lineItems.targetingTypes.assignedTargetingOptions.list", +"parameterOrder": [ +"advertiserId", +"lineItemId", +"targetingType" +], +"parameters": { +"advertiserId": { +"description": "Required. The ID of the advertiser the line item belongs to.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"filter": { +"description": "Allows filtering by assigned targeting option fields. Supported syntax: * Filter expressions are made up of one or more restrictions. * Restrictions can be combined by the logical operator `OR`. * A restriction has the form of `{field} {operator} {value}`. * All fields must use the `EQUALS (=)` operator. Supported fields: * `assignedTargetingOptionId` * `inheritance` Examples: * `AssignedTargetingOption` resources with ID 1 or 2: `assignedTargetingOptionId=\"1\" OR assignedTargetingOptionId=\"2\"` * `AssignedTargetingOption` resources with inheritance status of `NOT_INHERITED` or `INHERITED_FROM_PARTNER`: `inheritance=\"NOT_INHERITED\" OR inheritance=\"INHERITED_FROM_PARTNER\"` The length of this field should be no more than 500 characters. Reference our [filter `LIST` requests](/display-video/api/guides/how-tos/filters) guide for more information.", +"location": "query", +"type": "string" +}, +"lineItemId": { +"description": "Required. The ID of the line item to list assigned targeting options for.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"orderBy": { +"description": "Field by which to sort the list. Acceptable values are: * `assignedTargetingOptionId` (default) The default sorting order is ascending. To specify descending order for a field, a suffix \"desc\" should be added to the field name. Example: `assignedTargetingOptionId desc`.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Requested page size. Must be between `1` and `5000`. If unspecified will default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value is specified.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A token identifying a page of results the server should return. Typically, this is the value of next_page_token returned from the previous call to `ListLineItemAssignedTargetingOptions` method. If not specified, the first page of results will be returned.", +"location": "query", +"type": "string" +}, +"targetingType": { +"description": "Required. Identifies the type of assigned targeting options to list. Supported targeting types include: * `TARGETING_TYPE_AGE_RANGE` * `TARGETING_TYPE_APP` * `TARGETING_TYPE_APP_CATEGORY` * `TARGETING_TYPE_AUDIENCE_GROUP` * `TARGETING_TYPE_AUDIO_CONTENT_TYPE` * `TARGETING_TYPE_AUTHORIZED_SELLER_STATUS` * `TARGETING_TYPE_BROWSER` * `TARGETING_TYPE_BUSINESS_CHAIN` * `TARGETING_TYPE_CARRIER_AND_ISP` * `TARGETING_TYPE_CATEGORY` * `TARGETING_TYPE_CHANNEL` * `TARGETING_TYPE_CONTENT_DURATION` * `TARGETING_TYPE_CONTENT_GENRE` * `TARGETING_TYPE_CONTENT_INSTREAM_POSITION` * `TARGETING_TYPE_CONTENT_OUTSTREAM_POSITION` * `TARGETING_TYPE_CONTENT_STREAM_TYPE` * `TARGETING_TYPE_DAY_AND_TIME` * `TARGETING_TYPE_DEVICE_MAKE_MODEL` * `TARGETING_TYPE_DEVICE_TYPE` * `TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION` * `TARGETING_TYPE_ENVIRONMENT` * `TARGETING_TYPE_EXCHANGE` * `TARGETING_TYPE_GENDER` * `TARGETING_TYPE_GEO_REGION` * `TARGETING_TYPE_HOUSEHOLD_INCOME` * `TARGETING_TYPE_INVENTORY_SOURCE` * `TARGETING_TYPE_INVENTORY_SOURCE_GROUP` * `TARGETING_TYPE_KEYWORD` * `TARGETING_TYPE_LANGUAGE` * `TARGETING_TYPE_NATIVE_CONTENT_POSITION` * `TARGETING_TYPE_NEGATIVE_KEYWORD_LIST` * `TARGETING_TYPE_OMID` * `TARGETING_TYPE_ON_SCREEN_POSITION` * `TARGETING_TYPE_OPERATING_SYSTEM` * `TARGETING_TYPE_PARENTAL_STATUS` * `TARGETING_TYPE_POI` * `TARGETING_TYPE_PROXIMITY_LOCATION_LIST` * `TARGETING_TYPE_REGIONAL_LOCATION_LIST` * `TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION` * `TARGETING_TYPE_SUB_EXCHANGE` * `TARGETING_TYPE_THIRD_PARTY_VERIFIER` * `TARGETING_TYPE_URL` * `TARGETING_TYPE_USER_REWARDED_CONTENT` * `TARGETING_TYPE_VIDEO_PLAYER_SIZE` * `TARGETING_TYPE_VIEWABILITY` * `TARGETING_TYPE_INVENTORY_MODE` * `TARGETING_TYPE_YOUTUBE_CHANNEL` (only for `LINE_ITEM_TYPE_YOUTUBE_AND_PARTNERS_VIDEO_SEQUENCE` line items) * `TARGETING_TYPE_YOUTUBE_VIDEO` (only for `LINE_ITEM_TYPE_YOUTUBE_AND_PARTNERS_VIDEO_SEQUENCE` line items)", +"enum": [ +"TARGETING_TYPE_UNSPECIFIED", +"TARGETING_TYPE_CHANNEL", +"TARGETING_TYPE_APP_CATEGORY", +"TARGETING_TYPE_APP", +"TARGETING_TYPE_URL", +"TARGETING_TYPE_DAY_AND_TIME", +"TARGETING_TYPE_AGE_RANGE", +"TARGETING_TYPE_REGIONAL_LOCATION_LIST", +"TARGETING_TYPE_PROXIMITY_LOCATION_LIST", +"TARGETING_TYPE_GENDER", +"TARGETING_TYPE_VIDEO_PLAYER_SIZE", +"TARGETING_TYPE_USER_REWARDED_CONTENT", +"TARGETING_TYPE_PARENTAL_STATUS", +"TARGETING_TYPE_CONTENT_INSTREAM_POSITION", +"TARGETING_TYPE_CONTENT_OUTSTREAM_POSITION", +"TARGETING_TYPE_DEVICE_TYPE", +"TARGETING_TYPE_AUDIENCE_GROUP", +"TARGETING_TYPE_BROWSER", +"TARGETING_TYPE_HOUSEHOLD_INCOME", +"TARGETING_TYPE_ON_SCREEN_POSITION", +"TARGETING_TYPE_THIRD_PARTY_VERIFIER", +"TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION", +"TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION", +"TARGETING_TYPE_ENVIRONMENT", +"TARGETING_TYPE_CARRIER_AND_ISP", +"TARGETING_TYPE_OPERATING_SYSTEM", +"TARGETING_TYPE_DEVICE_MAKE_MODEL", +"TARGETING_TYPE_KEYWORD", +"TARGETING_TYPE_NEGATIVE_KEYWORD_LIST", +"TARGETING_TYPE_VIEWABILITY", +"TARGETING_TYPE_CATEGORY", +"TARGETING_TYPE_INVENTORY_SOURCE", +"TARGETING_TYPE_LANGUAGE", +"TARGETING_TYPE_AUTHORIZED_SELLER_STATUS", +"TARGETING_TYPE_GEO_REGION", +"TARGETING_TYPE_INVENTORY_SOURCE_GROUP", +"TARGETING_TYPE_EXCHANGE", +"TARGETING_TYPE_SUB_EXCHANGE", +"TARGETING_TYPE_POI", +"TARGETING_TYPE_BUSINESS_CHAIN", +"TARGETING_TYPE_CONTENT_DURATION", +"TARGETING_TYPE_CONTENT_STREAM_TYPE", +"TARGETING_TYPE_NATIVE_CONTENT_POSITION", +"TARGETING_TYPE_OMID", +"TARGETING_TYPE_AUDIO_CONTENT_TYPE", +"TARGETING_TYPE_CONTENT_GENRE", +"TARGETING_TYPE_YOUTUBE_VIDEO", +"TARGETING_TYPE_YOUTUBE_CHANNEL", +"TARGETING_TYPE_SESSION_POSITION", +"TARGETING_TYPE_CONTENT_THEME_EXCLUSION" +], +"enumDescriptions": [ +"Default value when type is not specified or is unknown in this version.", +"Target a channel (a custom group of related websites or apps).", +"Target an app category (for example, education or puzzle games).", +"Target a specific app (for example, Angry Birds).", +"Target a specific url (for example, quora.com).", +"Target ads during a chosen time period on a specific day.", +"Target ads to a specific age range (for example, 18-24).", +"Target ads to the specified regions on a regional location list.", +"Target ads to the specified points of interest on a proximity location list.", +"Target ads to a specific gender (for example, female or male).", +"Target a specific video player size for video ads.", +"Target user rewarded content for video ads.", +"Target ads to a specific parental status (for example, parent or not a parent).", +"Target video or audio ads in a specific content instream position (for example, pre-roll, mid-roll, or post-roll).", +"Target ads in a specific content outstream position.", +"Target ads to a specific device type (for example, tablet or connected TV).", +"Target ads to an audience or groups of audiences. Singleton field, at most one can exist on a single Lineitem at a time.", +"Target ads to specific web browsers (for example, Chrome).", +"Target ads to a specific household income range (for example, top 10%).", +"Target ads in a specific on screen position.", +"Filter web sites through third party verification (for example, IAS or DoubleVerify).", +"Filter web sites by specific digital content label ratings (for example, DL-MA: suitable only for mature audiences).", +"Filter website content by sensitive categories (for example, adult).", +"Target ads to a specific environment (for example, web or app).", +"Target ads to a specific network carrier or internet service provider (ISP) (for example, Comcast or Orange).", +"Target ads to a specific operating system (for example, macOS).", +"Target ads to a specific device make or model (for example, Roku or Samsung).", +"Target ads to a specific keyword (for example, dog or retriever).", +"Target ads to a specific negative keyword list.", +"Target ads to a specific viewability (for example, 80% viewable).", +"Target ads to a specific content category (for example, arts & entertainment).", +"Purchase impressions from specific deals and auction packages.", +"Target ads to a specific language (for example, English or Japanese).", +"Target ads to ads.txt authorized sellers. If no targeting option of this type is assigned, the resource uses the \"Authorized Direct Sellers and Resellers\" option by default.", +"Target ads to a specific regional location (for example, a city or state).", +"Purchase impressions from a group of deals and auction packages.", +"Purchase impressions from specific exchanges.", +"Purchase impressions from specific sub-exchanges.", +"Target ads around a specific point of interest, such as a notable building, a street address, or latitude/longitude coordinates.", +"Target ads around locations of a business chain within a specific geo region.", +"Target ads to a specific video content duration.", +"Target ads to a specific video content stream type.", +"Target ads to a specific native content position.", +"Target ads in an Open Measurement enabled inventory.", +"Target ads to a specific audio content type.", +"Target ads to a specific content genre.", +"Target ads to a specific YouTube video. Targeting of this type cannot be created or updated using the API. Although this targeting is inherited by child resources, **inherited targeting of this type will not be retrieveable**.", +"Target ads to a specific YouTube channel. Targeting of this type cannot be created or updated using the API. Although this targeting is inherited by child resources, **inherited targeting of this type will not be retrieveable**.", +"Target ads to a serve it in a certain position of a session. Only supported for Ad Group resources under YouTube Programmatic Reservation line items. Targeting of this type cannot be created or updated using the API.", +"Filter website content by content themes (for example, religion). Only supported for Advertiser resources. Targeting of this type cannot be created or updated using the API. This targeting is only inherited by child YouTube and Demand Gen line item resources." +], +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v4/advertisers/{+advertiserId}/lineItems/{+lineItemId}/targetingTypes/{+targetingType}/assignedTargetingOptions", +"response": { +"$ref": "ListLineItemAssignedTargetingOptionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/display-video" +] +} +} +} +} +}, +"youtubeAssetTypes": { +"resources": { +"youtubeAssetAssociations": { +"methods": { +"create": { +"description": "Creates a new association between the identified resource and a YouTube asset. Returns the newly-created association. *Warning:* This method is only available to an informed subset of users.", +"flatPath": "v4/advertisers/{advertisersId}/lineItems/{lineItemsId}/youtubeAssetTypes/{youtubeAssetTypesId}/youtubeAssetAssociations", +"httpMethod": "POST", +"id": "displayvideo.advertisers.lineItems.youtubeAssetTypes.youtubeAssetAssociations.create", +"parameterOrder": [ +"advertiserId", +"lineItemId", +"youtubeAssetType" +], +"parameters": { +"advertiserId": { +"description": "Required. The ID of the advertiser that the linked entity belongs to.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"lineItemId": { +"description": "The ID of a line item.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"linkedEntity.adGroupId": { +"description": "The ID of an ad group.", +"format": "int64", +"location": "query", +"type": "string" +}, +"youtubeAssetType": { +"description": "Required. The type of YouTube asset associated with the resource.", +"enum": [ +"YOUTUBE_ASSET_TYPE_UNSPECIFIED", +"YOUTUBE_ASSET_TYPE_LOCATION", +"YOUTUBE_ASSET_TYPE_AFFILIATE_LOCATION", +"YOUTUBE_ASSET_TYPE_SITELINK" +], +"enumDescriptions": [ +"YouTube asset type is not specified or is unknown in this version.", +"Location asset.", +"Affiliate location asset.", +"Sitelink asset." +], +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v4/advertisers/{+advertiserId}/lineItems/{+lineItemId}/youtubeAssetTypes/{+youtubeAssetType}/youtubeAssetAssociations", +"request": { +"$ref": "YoutubeAssetAssociation" +}, +"response": { +"$ref": "YoutubeAssetAssociation" +}, +"scopes": [ +"https://www.googleapis.com/auth/display-video" +] +}, +"delete": { +"description": "Deletes an existing association between the identified resource and a YouTube asset. *Warning:* This method is only available to an informed subset of users.", +"flatPath": "v4/advertisers/{advertisersId}/lineItems/{lineItemsId}/youtubeAssetTypes/{youtubeAssetTypesId}/youtubeAssetAssociations/{youtubeAssetAssociationsId}", +"httpMethod": "DELETE", +"id": "displayvideo.advertisers.lineItems.youtubeAssetTypes.youtubeAssetAssociations.delete", +"parameterOrder": [ +"advertiserId", +"lineItemId", +"youtubeAssetType", +"youtubeAssetAssociationId" +], +"parameters": { +"advertiserId": { +"description": "Required. The ID of the advertiser that the linked entity belongs to.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"lineItemId": { +"description": "The ID of a line item.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"linkedEntity.adGroupId": { +"description": "The ID of an ad group.", +"format": "int64", +"location": "query", +"type": "string" +}, +"youtubeAssetAssociationId": { +"description": "Required. The ID of the YouTube asset in the association. For `YOUTUBE_ASSET_TYPE_LOCATION` and `YOUTUBE_ASSET_TYPE_AFFILIATE_LOCATION` associations: This should be the ID of the asset set linked, or 0 if the location_asset_filter or affiliate_location_asset_filter is `DISABLED`. For `YOUTUBE_ASSET_TYPE_SITELINK` associations: This should be the ID of the sitelink asset linked.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"youtubeAssetType": { +"description": "Required. The type of YouTube asset associated with the resource.", +"enum": [ +"YOUTUBE_ASSET_TYPE_UNSPECIFIED", +"YOUTUBE_ASSET_TYPE_LOCATION", +"YOUTUBE_ASSET_TYPE_AFFILIATE_LOCATION", +"YOUTUBE_ASSET_TYPE_SITELINK" +], +"enumDescriptions": [ +"YouTube asset type is not specified or is unknown in this version.", +"Location asset.", +"Affiliate location asset.", +"Sitelink asset." +], +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v4/advertisers/{+advertiserId}/lineItems/{+lineItemId}/youtubeAssetTypes/{+youtubeAssetType}/youtubeAssetAssociations/{+youtubeAssetAssociationId}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/display-video" +] +}, +"list": { +"description": "Lists the YouTube asset associations linked to the given resource.", +"flatPath": "v4/advertisers/{advertisersId}/lineItems/{lineItemsId}/youtubeAssetTypes/{youtubeAssetTypesId}/youtubeAssetAssociations", +"httpMethod": "GET", +"id": "displayvideo.advertisers.lineItems.youtubeAssetTypes.youtubeAssetAssociations.list", +"parameterOrder": [ +"advertiserId", +"lineItemId", +"youtubeAssetType" +], +"parameters": { +"advertiserId": { +"description": "Required. The ID of the advertiser that the linked entity belongs to.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"lineItemId": { +"description": "The ID of a line item.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"linkedEntity.adGroupId": { +"description": "The ID of an ad group.", +"format": "int64", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "Optional. Field by which to sort the list. The only acceptable values are: * `linkedYoutubeAsset.locationAssetFilter.assetSetId`, * `linkedYoutubeAsset.affiliateLocationAssetFilter.assetSetId`, * `linkedYoutubeAsset.sitelinkAsset.assetId` The default sorting order is ascending. To specify descending order for a field, a suffix \" desc\" should be added to the field name. Example: `linkedYoutubeAsset.sitelinkAsset.assetId desc`.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Optional. Requested page size. Must be between `1` and `10000`. If unspecified will default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value is specified.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. A token identifying a page of results the server should return. Typically, this is the value of next_page_token returned from the previous call to `ListYoutubeAssetAssociations` method. If not specified, the first page of results will be returned.", +"location": "query", +"type": "string" +}, +"youtubeAssetType": { +"description": "Required. The type of YouTube asset being associated with the resource.", +"enum": [ +"YOUTUBE_ASSET_TYPE_UNSPECIFIED", +"YOUTUBE_ASSET_TYPE_LOCATION", +"YOUTUBE_ASSET_TYPE_AFFILIATE_LOCATION", +"YOUTUBE_ASSET_TYPE_SITELINK" +], +"enumDescriptions": [ +"YouTube asset type is not specified or is unknown in this version.", +"Location asset.", +"Affiliate location asset.", +"Sitelink asset." +], +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v4/advertisers/{+advertiserId}/lineItems/{+lineItemId}/youtubeAssetTypes/{+youtubeAssetType}/youtubeAssetAssociations", +"response": { +"$ref": "ListYoutubeAssetAssociationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/display-video" +] +} +} +} +} +} +} +}, +"locationLists": { +"methods": { +"create": { +"description": "Creates a new location list. Returns the newly created location list if successful.", +"flatPath": "v4/advertisers/{advertisersId}/locationLists", +"httpMethod": "POST", +"id": "displayvideo.advertisers.locationLists.create", +"parameterOrder": [ +"advertiserId" +], +"parameters": { +"advertiserId": { +"description": "Required. The ID of the DV360 advertiser to which the location list belongs.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v4/advertisers/{+advertiserId}/locationLists", +"request": { +"$ref": "LocationList" +}, +"response": { +"$ref": "LocationList" +}, +"scopes": [ +"https://www.googleapis.com/auth/display-video" +] +}, +"get": { +"description": "Gets a location list.", +"flatPath": "v4/advertisers/{advertisersId}/locationLists/{locationListsId}", +"httpMethod": "GET", +"id": "displayvideo.advertisers.locationLists.get", +"parameterOrder": [ +"advertiserId", +"locationListId" +], +"parameters": { +"advertiserId": { +"description": "Required. The ID of the DV360 advertiser to which the fetched location list belongs.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"locationListId": { +"description": "Required. The ID of the location list to fetch.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v4/advertisers/{+advertiserId}/locationLists/{+locationListId}", +"response": { +"$ref": "LocationList" +}, +"scopes": [ +"https://www.googleapis.com/auth/display-video" +] +}, +"list": { +"description": "Lists location lists based on a given advertiser id.", +"flatPath": "v4/advertisers/{advertisersId}/locationLists", +"httpMethod": "GET", +"id": "displayvideo.advertisers.locationLists.list", +"parameterOrder": [ +"advertiserId" +], +"parameters": { +"advertiserId": { +"description": "Required. The ID of the DV360 advertiser to which the fetched location lists belong.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"filter": { +"description": "Allows filtering by location list fields. Supported syntax: * Filter expressions are made up of one or more restrictions. * Restrictions can be combined by `AND` or `OR` logical operators. A sequence of restrictions implicitly uses `AND`. * A restriction has the form of `{field} {operator} {value}`. * All fields must use the `EQUALS (=)` operator. Supported fields: * `locationType` Examples: * All regional location list: `locationType=\"TARGETING_LOCATION_TYPE_REGIONAL\"` * All proximity location list: `locationType=\"TARGETING_LOCATION_TYPE_PROXIMITY\"` The length of this field should be no more than 500 characters. Reference our [filter `LIST` requests](/display-video/api/guides/how-tos/filters) guide for more information.", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "Field by which to sort the list. Acceptable values are: * `locationListId` (default) * `displayName` The default sorting order is ascending. To specify descending order for a field, a suffix \"desc\" should be added to the field name. Example: `displayName desc`.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Requested page size. Must be between `1` and `200`. Defaults to `100` if not set. Returns error code `INVALID_ARGUMENT` if an invalid value is specified.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A token identifying a page of results the server should return. Typically, this is the value of next_page_token returned from the previous call to `ListLocationLists` method. If not specified, the first page of results will be returned.", +"location": "query", +"type": "string" +} +}, +"path": "v4/advertisers/{+advertiserId}/locationLists", +"response": { +"$ref": "ListLocationListsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/display-video" +] +}, +"patch": { +"description": "Updates a location list. Returns the updated location list if successful.", +"flatPath": "v4/advertisers/{advertisersId}/locationLists/{locationListId}", +"httpMethod": "PATCH", +"id": "displayvideo.advertisers.locationLists.patch", +"parameterOrder": [ +"advertiserId", +"locationListId" +], +"parameters": { +"advertiserId": { +"description": "Required. The ID of the DV360 advertiser to which the location lists belongs.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"locationListId": { +"description": "Output only. The unique ID of the location list. Assigned by the system.", +"format": "int64", +"location": "path", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Required. The mask to control which fields to update.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v4/advertisers/{+advertiserId}/locationLists/{locationListId}", +"request": { +"$ref": "LocationList" +}, +"response": { +"$ref": "LocationList" +}, +"scopes": [ +"https://www.googleapis.com/auth/display-video" +] +} +}, +"resources": { +"assignedLocations": { +"methods": { +"bulkEdit": { +"description": "Bulk edits multiple assignments between locations and a single location list. The operation will delete the assigned locations provided in deletedAssignedLocations and then create the assigned locations provided in createdAssignedLocations.", +"flatPath": "v4/advertisers/{advertiserId}/locationLists/{locationListsId}/assignedLocations:bulkEdit", +"httpMethod": "POST", +"id": "displayvideo.advertisers.locationLists.assignedLocations.bulkEdit", +"parameterOrder": [ +"advertiserId", +"locationListId" +], +"parameters": { +"advertiserId": { +"description": "Required. The ID of the DV360 advertiser to which the location list belongs.", +"format": "int64", +"location": "path", +"required": true, +"type": "string" +}, +"locationListId": { +"description": "Required. The ID of the location list to which these assignments are assigned.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v4/advertisers/{advertiserId}/locationLists/{+locationListId}/assignedLocations:bulkEdit", +"request": { +"$ref": "BulkEditAssignedLocationsRequest" +}, +"response": { +"$ref": "BulkEditAssignedLocationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/display-video" +] +}, +"create": { +"description": "Creates an assignment between a location and a location list.", +"flatPath": "v4/advertisers/{advertiserId}/locationLists/{locationListId}/assignedLocations", +"httpMethod": "POST", +"id": "displayvideo.advertisers.locationLists.assignedLocations.create", +"parameterOrder": [ +"advertiserId", +"locationListId" +], +"parameters": { +"advertiserId": { +"description": "Required. The ID of the DV360 advertiser to which the location list belongs.", +"format": "int64", +"location": "path", +"required": true, +"type": "string" +}, +"locationListId": { +"description": "Required. The ID of the location list for which the assignment will be created.", +"format": "int64", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v4/advertisers/{advertiserId}/locationLists/{locationListId}/assignedLocations", +"request": { +"$ref": "AssignedLocation" +}, +"response": { +"$ref": "AssignedLocation" +}, +"scopes": [ +"https://www.googleapis.com/auth/display-video" +] +}, +"delete": { +"description": "Deletes the assignment between a location and a location list.", +"flatPath": "v4/advertisers/{advertiserId}/locationLists/{locationListId}/assignedLocations/{assignedLocationsId}", +"httpMethod": "DELETE", +"id": "displayvideo.advertisers.locationLists.assignedLocations.delete", +"parameterOrder": [ +"advertiserId", +"locationListId", +"assignedLocationId" +], +"parameters": { +"advertiserId": { +"description": "Required. The ID of the DV360 advertiser to which the location list belongs.", +"format": "int64", +"location": "path", +"required": true, +"type": "string" +}, +"assignedLocationId": { +"description": "Required. The ID of the assigned location to delete.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"locationListId": { +"description": "Required. The ID of the location list to which this assignment is assigned.", +"format": "int64", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v4/advertisers/{advertiserId}/locationLists/{locationListId}/assignedLocations/{+assignedLocationId}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/display-video" +] +}, +"list": { +"description": "Lists locations assigned to a location list.", +"flatPath": "v4/advertisers/{advertiserId}/locationLists/{locationListId}/assignedLocations", +"httpMethod": "GET", +"id": "displayvideo.advertisers.locationLists.assignedLocations.list", +"parameterOrder": [ +"advertiserId", +"locationListId" +], +"parameters": { +"advertiserId": { +"description": "Required. The ID of the DV360 advertiser to which the location list belongs.", +"format": "int64", +"location": "path", +"required": true, +"type": "string" +}, +"filter": { +"description": "Allows filtering by location list assignment fields. Supported syntax: * Filter expressions are made up of one or more restrictions. * Restrictions can be combined by the `OR` logical operator. * A restriction has the form of `{field} {operator} {value}`. * All fields must use the `EQUALS (=)` operator. Supported fields: * `assignedLocationId` The length of this field should be no more than 500 characters. Reference our [filter `LIST` requests](/display-video/api/guides/how-tos/filters) guide for more information.", +"location": "query", +"type": "string" +}, +"locationListId": { +"description": "Required. The ID of the location list to which these assignments are assigned.", +"format": "int64", +"location": "path", +"required": true, +"type": "string" +}, +"orderBy": { +"description": "Field by which to sort the list. Acceptable values are: * `assignedLocationId` (default) The default sorting order is ascending. To specify descending order for a field, a suffix \" desc\" should be added to the field name. Example: `assignedLocationId desc`.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Requested page size. Must be between `1` and `200`. If unspecified will default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value is specified.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A token identifying a page of results the server should return. Typically, this is the value of next_page_token returned from the previous call to `ListAssignedLocations` method. If not specified, the first page of results will be returned.", +"location": "query", +"type": "string" +} +}, +"path": "v4/advertisers/{advertiserId}/locationLists/{locationListId}/assignedLocations", +"response": { +"$ref": "ListAssignedLocationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/display-video" +] +} +} +} +} +}, +"negativeKeywordLists": { +"methods": { +"create": { +"description": "Creates a new negative keyword list. Returns the newly created negative keyword list if successful.", +"flatPath": "v4/advertisers/{advertisersId}/negativeKeywordLists", +"httpMethod": "POST", +"id": "displayvideo.advertisers.negativeKeywordLists.create", +"parameterOrder": [ +"advertiserId" +], +"parameters": { +"advertiserId": { +"description": "Required. The ID of the DV360 advertiser to which the negative keyword list will belong.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v4/advertisers/{+advertiserId}/negativeKeywordLists", +"request": { +"$ref": "NegativeKeywordList" +}, +"response": { +"$ref": "NegativeKeywordList" +}, +"scopes": [ +"https://www.googleapis.com/auth/display-video" +] +}, +"delete": { +"description": "Deletes a negative keyword list given an advertiser ID and a negative keyword list ID.", +"flatPath": "v4/advertisers/{advertisersId}/negativeKeywordLists/{negativeKeywordListsId}", +"httpMethod": "DELETE", +"id": "displayvideo.advertisers.negativeKeywordLists.delete", +"parameterOrder": [ +"advertiserId", +"negativeKeywordListId" +], +"parameters": { +"advertiserId": { +"description": "Required. The ID of the DV360 advertiser to which the negative keyword list belongs.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"negativeKeywordListId": { +"description": "Required. The ID of the negative keyword list to delete.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v4/advertisers/{+advertiserId}/negativeKeywordLists/{+negativeKeywordListId}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/display-video" +] +}, +"get": { +"description": "Gets a negative keyword list given an advertiser ID and a negative keyword list ID.", +"flatPath": "v4/advertisers/{advertisersId}/negativeKeywordLists/{negativeKeywordListsId}", +"httpMethod": "GET", +"id": "displayvideo.advertisers.negativeKeywordLists.get", +"parameterOrder": [ +"advertiserId", +"negativeKeywordListId" +], +"parameters": { +"advertiserId": { +"description": "Required. The ID of the DV360 advertiser to which the fetched negative keyword list belongs.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"negativeKeywordListId": { +"description": "Required. The ID of the negative keyword list to fetch.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v4/advertisers/{+advertiserId}/negativeKeywordLists/{+negativeKeywordListId}", +"response": { +"$ref": "NegativeKeywordList" +}, +"scopes": [ +"https://www.googleapis.com/auth/display-video" +] +}, +"list": { +"description": "Lists negative keyword lists based on a given advertiser id.", +"flatPath": "v4/advertisers/{advertisersId}/negativeKeywordLists", +"httpMethod": "GET", +"id": "displayvideo.advertisers.negativeKeywordLists.list", +"parameterOrder": [ +"advertiserId" +], +"parameters": { +"advertiserId": { +"description": "Required. The ID of the DV360 advertiser to which the fetched negative keyword lists belong.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "Requested page size. Must be between `1` and `200`. Defaults to `100` if not set. Returns error code `INVALID_ARGUMENT` if an invalid value is specified.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A token identifying a page of results the server should return. Typically, this is the value of next_page_token returned from the previous call to `ListNegativeKeywordLists` method. If not specified, the first page of results will be returned.", +"location": "query", +"type": "string" +} +}, +"path": "v4/advertisers/{+advertiserId}/negativeKeywordLists", +"response": { +"$ref": "ListNegativeKeywordListsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/display-video" +] +}, +"patch": { +"description": "Updates a negative keyword list. Returns the updated negative keyword list if successful.", +"flatPath": "v4/advertisers/{advertisersId}/negativeKeywordLists/{negativeKeywordListId}", +"httpMethod": "PATCH", +"id": "displayvideo.advertisers.negativeKeywordLists.patch", +"parameterOrder": [ +"advertiserId", +"negativeKeywordListId" +], +"parameters": { +"advertiserId": { +"description": "Required. The ID of the DV360 advertiser to which the negative keyword list belongs.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"negativeKeywordListId": { +"description": "Output only. The unique ID of the negative keyword list. Assigned by the system.", +"format": "int64", +"location": "path", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Required. The mask to control which fields to update.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v4/advertisers/{+advertiserId}/negativeKeywordLists/{negativeKeywordListId}", +"request": { +"$ref": "NegativeKeywordList" +}, +"response": { +"$ref": "NegativeKeywordList" +}, +"scopes": [ +"https://www.googleapis.com/auth/display-video" +] +} +}, +"resources": { +"negativeKeywords": { +"methods": { +"bulkEdit": { +"description": "Bulk edits negative keywords in a single negative keyword list. The operation will delete the negative keywords provided in BulkEditNegativeKeywordsRequest.deleted_negative_keywords and then create the negative keywords provided in BulkEditNegativeKeywordsRequest.created_negative_keywords. This operation is guaranteed to be atomic and will never result in a partial success or partial failure.", +"flatPath": "v4/advertisers/{advertiserId}/negativeKeywordLists/{negativeKeywordListsId}/negativeKeywords:bulkEdit", +"httpMethod": "POST", +"id": "displayvideo.advertisers.negativeKeywordLists.negativeKeywords.bulkEdit", +"parameterOrder": [ +"advertiserId", +"negativeKeywordListId" +], +"parameters": { +"advertiserId": { +"description": "Required. The ID of the DV360 advertiser to which the parent negative keyword list belongs.", +"format": "int64", +"location": "path", +"required": true, +"type": "string" +}, +"negativeKeywordListId": { +"description": "Required. The ID of the parent negative keyword list to which the negative keywords belong.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v4/advertisers/{advertiserId}/negativeKeywordLists/{+negativeKeywordListId}/negativeKeywords:bulkEdit", +"request": { +"$ref": "BulkEditNegativeKeywordsRequest" +}, +"response": { +"$ref": "BulkEditNegativeKeywordsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/display-video" +] +}, +"create": { +"description": "Creates a negative keyword in a negative keyword list.", +"flatPath": "v4/advertisers/{advertiserId}/negativeKeywordLists/{negativeKeywordListsId}/negativeKeywords", +"httpMethod": "POST", +"id": "displayvideo.advertisers.negativeKeywordLists.negativeKeywords.create", +"parameterOrder": [ +"advertiserId", +"negativeKeywordListId" +], +"parameters": { +"advertiserId": { +"description": "Required. The ID of the DV360 advertiser to which the parent negative keyword list belongs.", +"format": "int64", +"location": "path", +"required": true, +"type": "string" +}, +"negativeKeywordListId": { +"description": "Required. The ID of the parent negative keyword list in which the negative keyword will be created.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v4/advertisers/{advertiserId}/negativeKeywordLists/{+negativeKeywordListId}/negativeKeywords", +"request": { +"$ref": "NegativeKeyword" +}, +"response": { +"$ref": "NegativeKeyword" +}, +"scopes": [ +"https://www.googleapis.com/auth/display-video" +] +}, +"delete": { +"description": "Deletes a negative keyword from a negative keyword list.", +"flatPath": "v4/advertisers/{advertiserId}/negativeKeywordLists/{negativeKeywordListsId}/negativeKeywords/{negativeKeywordsId}", +"httpMethod": "DELETE", +"id": "displayvideo.advertisers.negativeKeywordLists.negativeKeywords.delete", +"parameterOrder": [ +"advertiserId", +"negativeKeywordListId", +"keywordValue" +], +"parameters": { +"advertiserId": { +"description": "Required. The ID of the DV360 advertiser to which the parent negative keyword list belongs.", +"format": "int64", +"location": "path", +"required": true, +"type": "string" +}, +"keywordValue": { +"description": "Required. The keyword value of the negative keyword to delete.", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"negativeKeywordListId": { +"description": "Required. The ID of the parent negative keyword list to which the negative keyword belongs.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v4/advertisers/{advertiserId}/negativeKeywordLists/{+negativeKeywordListId}/negativeKeywords/{+keywordValue}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/display-video" +] +}, +"list": { +"description": "Lists negative keywords in a negative keyword list.", +"flatPath": "v4/advertisers/{advertisersId}/negativeKeywordLists/{negativeKeywordListsId}/negativeKeywords", +"httpMethod": "GET", +"id": "displayvideo.advertisers.negativeKeywordLists.negativeKeywords.list", +"parameterOrder": [ +"advertiserId", +"negativeKeywordListId" +], +"parameters": { +"advertiserId": { +"description": "Required. The ID of the DV360 advertiser to which the parent negative keyword list belongs.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"filter": { +"description": "Allows filtering by negative keyword fields. Supported syntax: * Filter expressions for negative keywords can only contain at most one restriction. * A restriction has the form of `{field} {operator} {value}`. * All fields must use the `HAS (:)` operator. Supported fields: * `keywordValue` Examples: * All negative keywords for which the keyword value contains \"google\": `keywordValue : \"google\"` The length of this field should be no more than 500 characters. Reference our [filter `LIST` requests](/display-video/api/guides/how-tos/filters) guide for more information.", +"location": "query", +"type": "string" +}, +"negativeKeywordListId": { +"description": "Required. The ID of the parent negative keyword list to which the requested negative keywords belong.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"orderBy": { +"description": "Field by which to sort the list. Acceptable values are: * `keywordValue` (default) The default sorting order is ascending. To specify descending order for a field, a suffix \" desc\" should be added to the field name. Example: `keywordValue desc`.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Requested page size. Must be between `1` and `1000`. If unspecified will default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value is specified.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A token identifying a page of results the server should return. Typically, this is the value of next_page_token returned from the previous call to `ListNegativeKeywords` method. If not specified, the first page of results will be returned.", +"location": "query", +"type": "string" +} +}, +"path": "v4/advertisers/{+advertiserId}/negativeKeywordLists/{+negativeKeywordListId}/negativeKeywords", +"response": { +"$ref": "ListNegativeKeywordsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/display-video" +] +}, +"replace": { +"description": "Replaces all negative keywords in a single negative keyword list. The operation will replace the keywords in a negative keyword list with keywords provided in ReplaceNegativeKeywordsRequest.new_negative_keywords.", +"flatPath": "v4/advertisers/{advertiserId}/negativeKeywordLists/{negativeKeywordListsId}/negativeKeywords:replace", +"httpMethod": "POST", +"id": "displayvideo.advertisers.negativeKeywordLists.negativeKeywords.replace", +"parameterOrder": [ +"advertiserId", +"negativeKeywordListId" +], +"parameters": { +"advertiserId": { +"description": "Required. The ID of the DV360 advertiser to which the parent negative keyword list belongs.", +"format": "int64", +"location": "path", +"required": true, +"type": "string" +}, +"negativeKeywordListId": { +"description": "Required. The ID of the parent negative keyword list to which the negative keywords belong.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v4/advertisers/{advertiserId}/negativeKeywordLists/{+negativeKeywordListId}/negativeKeywords:replace", +"request": { +"$ref": "ReplaceNegativeKeywordsRequest" +}, +"response": { +"$ref": "ReplaceNegativeKeywordsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/display-video" +] +} +} +} +} +}, +"targetingTypes": { +"resources": { +"assignedTargetingOptions": { +"methods": { +"create": { +"description": "Assigns a targeting option to an advertiser. Returns the assigned targeting option if successful.", +"flatPath": "v4/advertisers/{advertisersId}/targetingTypes/{targetingTypesId}/assignedTargetingOptions", +"httpMethod": "POST", +"id": "displayvideo.advertisers.targetingTypes.assignedTargetingOptions.create", +"parameterOrder": [ +"advertiserId", +"targetingType" +], +"parameters": { +"advertiserId": { +"description": "Required. The ID of the advertiser.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"targetingType": { +"description": "Required. Identifies the type of this assigned targeting option. Supported targeting types: * `TARGETING_TYPE_CHANNEL` * `TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION` * `TARGETING_TYPE_OMID` * `TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION` * `TARGETING_TYPE_KEYWORD` * `TARGETING_TYPE_INVENTORY_MODE`", +"enum": [ +"TARGETING_TYPE_UNSPECIFIED", +"TARGETING_TYPE_CHANNEL", +"TARGETING_TYPE_APP_CATEGORY", +"TARGETING_TYPE_APP", +"TARGETING_TYPE_URL", +"TARGETING_TYPE_DAY_AND_TIME", +"TARGETING_TYPE_AGE_RANGE", +"TARGETING_TYPE_REGIONAL_LOCATION_LIST", +"TARGETING_TYPE_PROXIMITY_LOCATION_LIST", +"TARGETING_TYPE_GENDER", +"TARGETING_TYPE_VIDEO_PLAYER_SIZE", +"TARGETING_TYPE_USER_REWARDED_CONTENT", +"TARGETING_TYPE_PARENTAL_STATUS", +"TARGETING_TYPE_CONTENT_INSTREAM_POSITION", +"TARGETING_TYPE_CONTENT_OUTSTREAM_POSITION", +"TARGETING_TYPE_DEVICE_TYPE", +"TARGETING_TYPE_AUDIENCE_GROUP", +"TARGETING_TYPE_BROWSER", +"TARGETING_TYPE_HOUSEHOLD_INCOME", +"TARGETING_TYPE_ON_SCREEN_POSITION", +"TARGETING_TYPE_THIRD_PARTY_VERIFIER", +"TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION", +"TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION", +"TARGETING_TYPE_ENVIRONMENT", +"TARGETING_TYPE_CARRIER_AND_ISP", +"TARGETING_TYPE_OPERATING_SYSTEM", +"TARGETING_TYPE_DEVICE_MAKE_MODEL", +"TARGETING_TYPE_KEYWORD", +"TARGETING_TYPE_NEGATIVE_KEYWORD_LIST", +"TARGETING_TYPE_VIEWABILITY", +"TARGETING_TYPE_CATEGORY", +"TARGETING_TYPE_INVENTORY_SOURCE", +"TARGETING_TYPE_LANGUAGE", +"TARGETING_TYPE_AUTHORIZED_SELLER_STATUS", +"TARGETING_TYPE_GEO_REGION", +"TARGETING_TYPE_INVENTORY_SOURCE_GROUP", +"TARGETING_TYPE_EXCHANGE", +"TARGETING_TYPE_SUB_EXCHANGE", +"TARGETING_TYPE_POI", +"TARGETING_TYPE_BUSINESS_CHAIN", +"TARGETING_TYPE_CONTENT_DURATION", +"TARGETING_TYPE_CONTENT_STREAM_TYPE", +"TARGETING_TYPE_NATIVE_CONTENT_POSITION", +"TARGETING_TYPE_OMID", +"TARGETING_TYPE_AUDIO_CONTENT_TYPE", +"TARGETING_TYPE_CONTENT_GENRE", +"TARGETING_TYPE_YOUTUBE_VIDEO", +"TARGETING_TYPE_YOUTUBE_CHANNEL", +"TARGETING_TYPE_SESSION_POSITION", +"TARGETING_TYPE_CONTENT_THEME_EXCLUSION" +], +"enumDescriptions": [ +"Default value when type is not specified or is unknown in this version.", +"Target a channel (a custom group of related websites or apps).", +"Target an app category (for example, education or puzzle games).", +"Target a specific app (for example, Angry Birds).", +"Target a specific url (for example, quora.com).", +"Target ads during a chosen time period on a specific day.", +"Target ads to a specific age range (for example, 18-24).", +"Target ads to the specified regions on a regional location list.", +"Target ads to the specified points of interest on a proximity location list.", +"Target ads to a specific gender (for example, female or male).", +"Target a specific video player size for video ads.", +"Target user rewarded content for video ads.", +"Target ads to a specific parental status (for example, parent or not a parent).", +"Target video or audio ads in a specific content instream position (for example, pre-roll, mid-roll, or post-roll).", +"Target ads in a specific content outstream position.", +"Target ads to a specific device type (for example, tablet or connected TV).", +"Target ads to an audience or groups of audiences. Singleton field, at most one can exist on a single Lineitem at a time.", +"Target ads to specific web browsers (for example, Chrome).", +"Target ads to a specific household income range (for example, top 10%).", +"Target ads in a specific on screen position.", +"Filter web sites through third party verification (for example, IAS or DoubleVerify).", +"Filter web sites by specific digital content label ratings (for example, DL-MA: suitable only for mature audiences).", +"Filter website content by sensitive categories (for example, adult).", +"Target ads to a specific environment (for example, web or app).", +"Target ads to a specific network carrier or internet service provider (ISP) (for example, Comcast or Orange).", +"Target ads to a specific operating system (for example, macOS).", +"Target ads to a specific device make or model (for example, Roku or Samsung).", +"Target ads to a specific keyword (for example, dog or retriever).", +"Target ads to a specific negative keyword list.", +"Target ads to a specific viewability (for example, 80% viewable).", +"Target ads to a specific content category (for example, arts & entertainment).", +"Purchase impressions from specific deals and auction packages.", +"Target ads to a specific language (for example, English or Japanese).", +"Target ads to ads.txt authorized sellers. If no targeting option of this type is assigned, the resource uses the \"Authorized Direct Sellers and Resellers\" option by default.", +"Target ads to a specific regional location (for example, a city or state).", +"Purchase impressions from a group of deals and auction packages.", +"Purchase impressions from specific exchanges.", +"Purchase impressions from specific sub-exchanges.", +"Target ads around a specific point of interest, such as a notable building, a street address, or latitude/longitude coordinates.", +"Target ads around locations of a business chain within a specific geo region.", +"Target ads to a specific video content duration.", +"Target ads to a specific video content stream type.", +"Target ads to a specific native content position.", +"Target ads in an Open Measurement enabled inventory.", +"Target ads to a specific audio content type.", +"Target ads to a specific content genre.", +"Target ads to a specific YouTube video. Targeting of this type cannot be created or updated using the API. Although this targeting is inherited by child resources, **inherited targeting of this type will not be retrieveable**.", +"Target ads to a specific YouTube channel. Targeting of this type cannot be created or updated using the API. Although this targeting is inherited by child resources, **inherited targeting of this type will not be retrieveable**.", +"Target ads to a serve it in a certain position of a session. Only supported for Ad Group resources under YouTube Programmatic Reservation line items. Targeting of this type cannot be created or updated using the API.", +"Filter website content by content themes (for example, religion). Only supported for Advertiser resources. Targeting of this type cannot be created or updated using the API. This targeting is only inherited by child YouTube and Demand Gen line item resources." +], +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v4/advertisers/{+advertiserId}/targetingTypes/{+targetingType}/assignedTargetingOptions", +"request": { +"$ref": "AssignedTargetingOption" +}, +"response": { +"$ref": "AssignedTargetingOption" +}, +"scopes": [ +"https://www.googleapis.com/auth/display-video" +] +}, +"delete": { +"description": "Deletes an assigned targeting option from an advertiser.", +"flatPath": "v4/advertisers/{advertisersId}/targetingTypes/{targetingTypesId}/assignedTargetingOptions/{assignedTargetingOptionsId}", +"httpMethod": "DELETE", +"id": "displayvideo.advertisers.targetingTypes.assignedTargetingOptions.delete", +"parameterOrder": [ +"advertiserId", +"targetingType", +"assignedTargetingOptionId" +], +"parameters": { +"advertiserId": { +"description": "Required. The ID of the advertiser.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"assignedTargetingOptionId": { +"description": "Required. The ID of the assigned targeting option to delete.", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"targetingType": { +"description": "Required. Identifies the type of this assigned targeting option. Supported targeting types: * `TARGETING_TYPE_CHANNEL` * `TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION` * `TARGETING_TYPE_OMID` * `TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION` * `TARGETING_TYPE_KEYWORD` * `TARGETING_TYPE_INVENTORY_MODE`", +"enum": [ +"TARGETING_TYPE_UNSPECIFIED", +"TARGETING_TYPE_CHANNEL", +"TARGETING_TYPE_APP_CATEGORY", +"TARGETING_TYPE_APP", +"TARGETING_TYPE_URL", +"TARGETING_TYPE_DAY_AND_TIME", +"TARGETING_TYPE_AGE_RANGE", +"TARGETING_TYPE_REGIONAL_LOCATION_LIST", +"TARGETING_TYPE_PROXIMITY_LOCATION_LIST", +"TARGETING_TYPE_GENDER", +"TARGETING_TYPE_VIDEO_PLAYER_SIZE", +"TARGETING_TYPE_USER_REWARDED_CONTENT", +"TARGETING_TYPE_PARENTAL_STATUS", +"TARGETING_TYPE_CONTENT_INSTREAM_POSITION", +"TARGETING_TYPE_CONTENT_OUTSTREAM_POSITION", +"TARGETING_TYPE_DEVICE_TYPE", +"TARGETING_TYPE_AUDIENCE_GROUP", +"TARGETING_TYPE_BROWSER", +"TARGETING_TYPE_HOUSEHOLD_INCOME", +"TARGETING_TYPE_ON_SCREEN_POSITION", +"TARGETING_TYPE_THIRD_PARTY_VERIFIER", +"TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION", +"TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION", +"TARGETING_TYPE_ENVIRONMENT", +"TARGETING_TYPE_CARRIER_AND_ISP", +"TARGETING_TYPE_OPERATING_SYSTEM", +"TARGETING_TYPE_DEVICE_MAKE_MODEL", +"TARGETING_TYPE_KEYWORD", +"TARGETING_TYPE_NEGATIVE_KEYWORD_LIST", +"TARGETING_TYPE_VIEWABILITY", +"TARGETING_TYPE_CATEGORY", +"TARGETING_TYPE_INVENTORY_SOURCE", +"TARGETING_TYPE_LANGUAGE", +"TARGETING_TYPE_AUTHORIZED_SELLER_STATUS", +"TARGETING_TYPE_GEO_REGION", +"TARGETING_TYPE_INVENTORY_SOURCE_GROUP", +"TARGETING_TYPE_EXCHANGE", +"TARGETING_TYPE_SUB_EXCHANGE", +"TARGETING_TYPE_POI", +"TARGETING_TYPE_BUSINESS_CHAIN", +"TARGETING_TYPE_CONTENT_DURATION", +"TARGETING_TYPE_CONTENT_STREAM_TYPE", +"TARGETING_TYPE_NATIVE_CONTENT_POSITION", +"TARGETING_TYPE_OMID", +"TARGETING_TYPE_AUDIO_CONTENT_TYPE", +"TARGETING_TYPE_CONTENT_GENRE", +"TARGETING_TYPE_YOUTUBE_VIDEO", +"TARGETING_TYPE_YOUTUBE_CHANNEL", +"TARGETING_TYPE_SESSION_POSITION", +"TARGETING_TYPE_CONTENT_THEME_EXCLUSION" +], +"enumDescriptions": [ +"Default value when type is not specified or is unknown in this version.", +"Target a channel (a custom group of related websites or apps).", +"Target an app category (for example, education or puzzle games).", +"Target a specific app (for example, Angry Birds).", +"Target a specific url (for example, quora.com).", +"Target ads during a chosen time period on a specific day.", +"Target ads to a specific age range (for example, 18-24).", +"Target ads to the specified regions on a regional location list.", +"Target ads to the specified points of interest on a proximity location list.", +"Target ads to a specific gender (for example, female or male).", +"Target a specific video player size for video ads.", +"Target user rewarded content for video ads.", +"Target ads to a specific parental status (for example, parent or not a parent).", +"Target video or audio ads in a specific content instream position (for example, pre-roll, mid-roll, or post-roll).", +"Target ads in a specific content outstream position.", +"Target ads to a specific device type (for example, tablet or connected TV).", +"Target ads to an audience or groups of audiences. Singleton field, at most one can exist on a single Lineitem at a time.", +"Target ads to specific web browsers (for example, Chrome).", +"Target ads to a specific household income range (for example, top 10%).", +"Target ads in a specific on screen position.", +"Filter web sites through third party verification (for example, IAS or DoubleVerify).", +"Filter web sites by specific digital content label ratings (for example, DL-MA: suitable only for mature audiences).", +"Filter website content by sensitive categories (for example, adult).", +"Target ads to a specific environment (for example, web or app).", +"Target ads to a specific network carrier or internet service provider (ISP) (for example, Comcast or Orange).", +"Target ads to a specific operating system (for example, macOS).", +"Target ads to a specific device make or model (for example, Roku or Samsung).", +"Target ads to a specific keyword (for example, dog or retriever).", +"Target ads to a specific negative keyword list.", +"Target ads to a specific viewability (for example, 80% viewable).", +"Target ads to a specific content category (for example, arts & entertainment).", +"Purchase impressions from specific deals and auction packages.", +"Target ads to a specific language (for example, English or Japanese).", +"Target ads to ads.txt authorized sellers. If no targeting option of this type is assigned, the resource uses the \"Authorized Direct Sellers and Resellers\" option by default.", +"Target ads to a specific regional location (for example, a city or state).", +"Purchase impressions from a group of deals and auction packages.", +"Purchase impressions from specific exchanges.", +"Purchase impressions from specific sub-exchanges.", +"Target ads around a specific point of interest, such as a notable building, a street address, or latitude/longitude coordinates.", +"Target ads around locations of a business chain within a specific geo region.", +"Target ads to a specific video content duration.", +"Target ads to a specific video content stream type.", +"Target ads to a specific native content position.", +"Target ads in an Open Measurement enabled inventory.", +"Target ads to a specific audio content type.", +"Target ads to a specific content genre.", +"Target ads to a specific YouTube video. Targeting of this type cannot be created or updated using the API. Although this targeting is inherited by child resources, **inherited targeting of this type will not be retrieveable**.", +"Target ads to a specific YouTube channel. Targeting of this type cannot be created or updated using the API. Although this targeting is inherited by child resources, **inherited targeting of this type will not be retrieveable**.", +"Target ads to a serve it in a certain position of a session. Only supported for Ad Group resources under YouTube Programmatic Reservation line items. Targeting of this type cannot be created or updated using the API.", +"Filter website content by content themes (for example, religion). Only supported for Advertiser resources. Targeting of this type cannot be created or updated using the API. This targeting is only inherited by child YouTube and Demand Gen line item resources." +], +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v4/advertisers/{+advertiserId}/targetingTypes/{+targetingType}/assignedTargetingOptions/{+assignedTargetingOptionId}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/display-video" +] +}, +"get": { +"description": "Gets a single targeting option assigned to an advertiser.", +"flatPath": "v4/advertisers/{advertisersId}/targetingTypes/{targetingTypesId}/assignedTargetingOptions/{assignedTargetingOptionsId}", +"httpMethod": "GET", +"id": "displayvideo.advertisers.targetingTypes.assignedTargetingOptions.get", +"parameterOrder": [ +"advertiserId", +"targetingType", +"assignedTargetingOptionId" +], +"parameters": { +"advertiserId": { +"description": "Required. The ID of the advertiser.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"assignedTargetingOptionId": { +"description": "Required. An identifier unique to the targeting type in this advertiser that identifies the assigned targeting option being requested.", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"targetingType": { +"description": "Required. Identifies the type of this assigned targeting option. Supported targeting types: * `TARGETING_TYPE_CHANNEL` * `TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION` * `TARGETING_TYPE_OMID` * `TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION` * `TARGETING_TYPE_YOUTUBE_VIDEO` * `TARGETING_TYPE_YOUTUBE_CHANNEL` * `TARGETING_TYPE_KEYWORD` * `TARGETING_TYPE_CONTENT_THEME_EXCLUSION`", +"enum": [ +"TARGETING_TYPE_UNSPECIFIED", +"TARGETING_TYPE_CHANNEL", +"TARGETING_TYPE_APP_CATEGORY", +"TARGETING_TYPE_APP", +"TARGETING_TYPE_URL", +"TARGETING_TYPE_DAY_AND_TIME", +"TARGETING_TYPE_AGE_RANGE", +"TARGETING_TYPE_REGIONAL_LOCATION_LIST", +"TARGETING_TYPE_PROXIMITY_LOCATION_LIST", +"TARGETING_TYPE_GENDER", +"TARGETING_TYPE_VIDEO_PLAYER_SIZE", +"TARGETING_TYPE_USER_REWARDED_CONTENT", +"TARGETING_TYPE_PARENTAL_STATUS", +"TARGETING_TYPE_CONTENT_INSTREAM_POSITION", +"TARGETING_TYPE_CONTENT_OUTSTREAM_POSITION", +"TARGETING_TYPE_DEVICE_TYPE", +"TARGETING_TYPE_AUDIENCE_GROUP", +"TARGETING_TYPE_BROWSER", +"TARGETING_TYPE_HOUSEHOLD_INCOME", +"TARGETING_TYPE_ON_SCREEN_POSITION", +"TARGETING_TYPE_THIRD_PARTY_VERIFIER", +"TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION", +"TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION", +"TARGETING_TYPE_ENVIRONMENT", +"TARGETING_TYPE_CARRIER_AND_ISP", +"TARGETING_TYPE_OPERATING_SYSTEM", +"TARGETING_TYPE_DEVICE_MAKE_MODEL", +"TARGETING_TYPE_KEYWORD", +"TARGETING_TYPE_NEGATIVE_KEYWORD_LIST", +"TARGETING_TYPE_VIEWABILITY", +"TARGETING_TYPE_CATEGORY", +"TARGETING_TYPE_INVENTORY_SOURCE", +"TARGETING_TYPE_LANGUAGE", +"TARGETING_TYPE_AUTHORIZED_SELLER_STATUS", +"TARGETING_TYPE_GEO_REGION", +"TARGETING_TYPE_INVENTORY_SOURCE_GROUP", +"TARGETING_TYPE_EXCHANGE", +"TARGETING_TYPE_SUB_EXCHANGE", +"TARGETING_TYPE_POI", +"TARGETING_TYPE_BUSINESS_CHAIN", +"TARGETING_TYPE_CONTENT_DURATION", +"TARGETING_TYPE_CONTENT_STREAM_TYPE", +"TARGETING_TYPE_NATIVE_CONTENT_POSITION", +"TARGETING_TYPE_OMID", +"TARGETING_TYPE_AUDIO_CONTENT_TYPE", +"TARGETING_TYPE_CONTENT_GENRE", +"TARGETING_TYPE_YOUTUBE_VIDEO", +"TARGETING_TYPE_YOUTUBE_CHANNEL", +"TARGETING_TYPE_SESSION_POSITION", +"TARGETING_TYPE_CONTENT_THEME_EXCLUSION" +], +"enumDescriptions": [ +"Default value when type is not specified or is unknown in this version.", +"Target a channel (a custom group of related websites or apps).", +"Target an app category (for example, education or puzzle games).", +"Target a specific app (for example, Angry Birds).", +"Target a specific url (for example, quora.com).", +"Target ads during a chosen time period on a specific day.", +"Target ads to a specific age range (for example, 18-24).", +"Target ads to the specified regions on a regional location list.", +"Target ads to the specified points of interest on a proximity location list.", +"Target ads to a specific gender (for example, female or male).", +"Target a specific video player size for video ads.", +"Target user rewarded content for video ads.", +"Target ads to a specific parental status (for example, parent or not a parent).", +"Target video or audio ads in a specific content instream position (for example, pre-roll, mid-roll, or post-roll).", +"Target ads in a specific content outstream position.", +"Target ads to a specific device type (for example, tablet or connected TV).", +"Target ads to an audience or groups of audiences. Singleton field, at most one can exist on a single Lineitem at a time.", +"Target ads to specific web browsers (for example, Chrome).", +"Target ads to a specific household income range (for example, top 10%).", +"Target ads in a specific on screen position.", +"Filter web sites through third party verification (for example, IAS or DoubleVerify).", +"Filter web sites by specific digital content label ratings (for example, DL-MA: suitable only for mature audiences).", +"Filter website content by sensitive categories (for example, adult).", +"Target ads to a specific environment (for example, web or app).", +"Target ads to a specific network carrier or internet service provider (ISP) (for example, Comcast or Orange).", +"Target ads to a specific operating system (for example, macOS).", +"Target ads to a specific device make or model (for example, Roku or Samsung).", +"Target ads to a specific keyword (for example, dog or retriever).", +"Target ads to a specific negative keyword list.", +"Target ads to a specific viewability (for example, 80% viewable).", +"Target ads to a specific content category (for example, arts & entertainment).", +"Purchase impressions from specific deals and auction packages.", +"Target ads to a specific language (for example, English or Japanese).", +"Target ads to ads.txt authorized sellers. If no targeting option of this type is assigned, the resource uses the \"Authorized Direct Sellers and Resellers\" option by default.", +"Target ads to a specific regional location (for example, a city or state).", +"Purchase impressions from a group of deals and auction packages.", +"Purchase impressions from specific exchanges.", +"Purchase impressions from specific sub-exchanges.", +"Target ads around a specific point of interest, such as a notable building, a street address, or latitude/longitude coordinates.", +"Target ads around locations of a business chain within a specific geo region.", +"Target ads to a specific video content duration.", +"Target ads to a specific video content stream type.", +"Target ads to a specific native content position.", +"Target ads in an Open Measurement enabled inventory.", +"Target ads to a specific audio content type.", +"Target ads to a specific content genre.", +"Target ads to a specific YouTube video. Targeting of this type cannot be created or updated using the API. Although this targeting is inherited by child resources, **inherited targeting of this type will not be retrieveable**.", +"Target ads to a specific YouTube channel. Targeting of this type cannot be created or updated using the API. Although this targeting is inherited by child resources, **inherited targeting of this type will not be retrieveable**.", +"Target ads to a serve it in a certain position of a session. Only supported for Ad Group resources under YouTube Programmatic Reservation line items. Targeting of this type cannot be created or updated using the API.", +"Filter website content by content themes (for example, religion). Only supported for Advertiser resources. Targeting of this type cannot be created or updated using the API. This targeting is only inherited by child YouTube and Demand Gen line item resources." +], +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v4/advertisers/{+advertiserId}/targetingTypes/{+targetingType}/assignedTargetingOptions/{+assignedTargetingOptionId}", +"response": { +"$ref": "AssignedTargetingOption" +}, +"scopes": [ +"https://www.googleapis.com/auth/display-video" +] +}, +"list": { +"description": "Lists the targeting options assigned to an advertiser.", +"flatPath": "v4/advertisers/{advertisersId}/targetingTypes/{targetingTypesId}/assignedTargetingOptions", +"httpMethod": "GET", +"id": "displayvideo.advertisers.targetingTypes.assignedTargetingOptions.list", +"parameterOrder": [ +"advertiserId", +"targetingType" +], +"parameters": { +"advertiserId": { +"description": "Required. The ID of the advertiser.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"filter": { +"description": "Allows filtering by assigned targeting option fields. Supported syntax: * Filter expressions are made up of one or more restrictions. * Restrictions can be combined by the `OR` logical operator. * A restriction has the form of `{field} {operator} {value}`. * All fields must use the `EQUALS (=)` operator. Supported fields: * `assignedTargetingOptionId` Examples: * `AssignedTargetingOption` with ID 123456: `assignedTargetingOptionId=\"123456\"` The length of this field should be no more than 500 characters. Reference our [filter `LIST` requests](/display-video/api/guides/how-tos/filters) guide for more information.", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "Field by which to sort the list. Acceptable values are: * `assignedTargetingOptionId` (default) The default sorting order is ascending. To specify descending order for a field, a suffix \"desc\" should be added to the field name. Example: `assignedTargetingOptionId desc`.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Requested page size. Must be between `1` and `5000`. If unspecified will default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value is specified.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A token identifying a page of results the server should return. Typically, this is the value of next_page_token returned from the previous call to `ListAdvertiserAssignedTargetingOptions` method. If not specified, the first page of results will be returned.", +"location": "query", +"type": "string" +}, +"targetingType": { +"description": "Required. Identifies the type of assigned targeting options to list. Supported targeting types: * `TARGETING_TYPE_CHANNEL` * `TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION` * `TARGETING_TYPE_OMID` * `TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION` * `TARGETING_TYPE_YOUTUBE_VIDEO` * `TARGETING_TYPE_YOUTUBE_CHANNEL` * `TARGETING_TYPE_KEYWORD` * `TARGETING_TYPE_CONTENT_THEME_EXCLUSION`", +"enum": [ +"TARGETING_TYPE_UNSPECIFIED", +"TARGETING_TYPE_CHANNEL", +"TARGETING_TYPE_APP_CATEGORY", +"TARGETING_TYPE_APP", +"TARGETING_TYPE_URL", +"TARGETING_TYPE_DAY_AND_TIME", +"TARGETING_TYPE_AGE_RANGE", +"TARGETING_TYPE_REGIONAL_LOCATION_LIST", +"TARGETING_TYPE_PROXIMITY_LOCATION_LIST", +"TARGETING_TYPE_GENDER", +"TARGETING_TYPE_VIDEO_PLAYER_SIZE", +"TARGETING_TYPE_USER_REWARDED_CONTENT", +"TARGETING_TYPE_PARENTAL_STATUS", +"TARGETING_TYPE_CONTENT_INSTREAM_POSITION", +"TARGETING_TYPE_CONTENT_OUTSTREAM_POSITION", +"TARGETING_TYPE_DEVICE_TYPE", +"TARGETING_TYPE_AUDIENCE_GROUP", +"TARGETING_TYPE_BROWSER", +"TARGETING_TYPE_HOUSEHOLD_INCOME", +"TARGETING_TYPE_ON_SCREEN_POSITION", +"TARGETING_TYPE_THIRD_PARTY_VERIFIER", +"TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION", +"TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION", +"TARGETING_TYPE_ENVIRONMENT", +"TARGETING_TYPE_CARRIER_AND_ISP", +"TARGETING_TYPE_OPERATING_SYSTEM", +"TARGETING_TYPE_DEVICE_MAKE_MODEL", +"TARGETING_TYPE_KEYWORD", +"TARGETING_TYPE_NEGATIVE_KEYWORD_LIST", +"TARGETING_TYPE_VIEWABILITY", +"TARGETING_TYPE_CATEGORY", +"TARGETING_TYPE_INVENTORY_SOURCE", +"TARGETING_TYPE_LANGUAGE", +"TARGETING_TYPE_AUTHORIZED_SELLER_STATUS", +"TARGETING_TYPE_GEO_REGION", +"TARGETING_TYPE_INVENTORY_SOURCE_GROUP", +"TARGETING_TYPE_EXCHANGE", +"TARGETING_TYPE_SUB_EXCHANGE", +"TARGETING_TYPE_POI", +"TARGETING_TYPE_BUSINESS_CHAIN", +"TARGETING_TYPE_CONTENT_DURATION", +"TARGETING_TYPE_CONTENT_STREAM_TYPE", +"TARGETING_TYPE_NATIVE_CONTENT_POSITION", +"TARGETING_TYPE_OMID", +"TARGETING_TYPE_AUDIO_CONTENT_TYPE", +"TARGETING_TYPE_CONTENT_GENRE", +"TARGETING_TYPE_YOUTUBE_VIDEO", +"TARGETING_TYPE_YOUTUBE_CHANNEL", +"TARGETING_TYPE_SESSION_POSITION", +"TARGETING_TYPE_CONTENT_THEME_EXCLUSION" +], +"enumDescriptions": [ +"Default value when type is not specified or is unknown in this version.", +"Target a channel (a custom group of related websites or apps).", +"Target an app category (for example, education or puzzle games).", +"Target a specific app (for example, Angry Birds).", +"Target a specific url (for example, quora.com).", +"Target ads during a chosen time period on a specific day.", +"Target ads to a specific age range (for example, 18-24).", +"Target ads to the specified regions on a regional location list.", +"Target ads to the specified points of interest on a proximity location list.", +"Target ads to a specific gender (for example, female or male).", +"Target a specific video player size for video ads.", +"Target user rewarded content for video ads.", +"Target ads to a specific parental status (for example, parent or not a parent).", +"Target video or audio ads in a specific content instream position (for example, pre-roll, mid-roll, or post-roll).", +"Target ads in a specific content outstream position.", +"Target ads to a specific device type (for example, tablet or connected TV).", +"Target ads to an audience or groups of audiences. Singleton field, at most one can exist on a single Lineitem at a time.", +"Target ads to specific web browsers (for example, Chrome).", +"Target ads to a specific household income range (for example, top 10%).", +"Target ads in a specific on screen position.", +"Filter web sites through third party verification (for example, IAS or DoubleVerify).", +"Filter web sites by specific digital content label ratings (for example, DL-MA: suitable only for mature audiences).", +"Filter website content by sensitive categories (for example, adult).", +"Target ads to a specific environment (for example, web or app).", +"Target ads to a specific network carrier or internet service provider (ISP) (for example, Comcast or Orange).", +"Target ads to a specific operating system (for example, macOS).", +"Target ads to a specific device make or model (for example, Roku or Samsung).", +"Target ads to a specific keyword (for example, dog or retriever).", +"Target ads to a specific negative keyword list.", +"Target ads to a specific viewability (for example, 80% viewable).", +"Target ads to a specific content category (for example, arts & entertainment).", +"Purchase impressions from specific deals and auction packages.", +"Target ads to a specific language (for example, English or Japanese).", +"Target ads to ads.txt authorized sellers. If no targeting option of this type is assigned, the resource uses the \"Authorized Direct Sellers and Resellers\" option by default.", +"Target ads to a specific regional location (for example, a city or state).", +"Purchase impressions from a group of deals and auction packages.", +"Purchase impressions from specific exchanges.", +"Purchase impressions from specific sub-exchanges.", +"Target ads around a specific point of interest, such as a notable building, a street address, or latitude/longitude coordinates.", +"Target ads around locations of a business chain within a specific geo region.", +"Target ads to a specific video content duration.", +"Target ads to a specific video content stream type.", +"Target ads to a specific native content position.", +"Target ads in an Open Measurement enabled inventory.", +"Target ads to a specific audio content type.", +"Target ads to a specific content genre.", +"Target ads to a specific YouTube video. Targeting of this type cannot be created or updated using the API. Although this targeting is inherited by child resources, **inherited targeting of this type will not be retrieveable**.", +"Target ads to a specific YouTube channel. Targeting of this type cannot be created or updated using the API. Although this targeting is inherited by child resources, **inherited targeting of this type will not be retrieveable**.", +"Target ads to a serve it in a certain position of a session. Only supported for Ad Group resources under YouTube Programmatic Reservation line items. Targeting of this type cannot be created or updated using the API.", +"Filter website content by content themes (for example, religion). Only supported for Advertiser resources. Targeting of this type cannot be created or updated using the API. This targeting is only inherited by child YouTube and Demand Gen line item resources." +], +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v4/advertisers/{+advertiserId}/targetingTypes/{+targetingType}/assignedTargetingOptions", +"response": { +"$ref": "ListAdvertiserAssignedTargetingOptionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/display-video" +] +} +} +} +} +} +} +}, +"combinedAudiences": { +"methods": { +"get": { +"description": "Gets a combined audience.", +"flatPath": "v4/combinedAudiences/{combinedAudiencesId}", +"httpMethod": "GET", +"id": "displayvideo.combinedAudiences.get", +"parameterOrder": [ +"combinedAudienceId" +], +"parameters": { +"advertiserId": { +"description": "The ID of the advertiser that has access to the fetched combined audience.", +"format": "int64", +"location": "query", +"type": "string" +}, +"combinedAudienceId": { +"description": "Required. The ID of the combined audience to fetch.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"partnerId": { +"description": "The ID of the partner that has access to the fetched combined audience.", +"format": "int64", +"location": "query", +"type": "string" +} +}, +"path": "v4/combinedAudiences/{+combinedAudienceId}", +"response": { +"$ref": "CombinedAudience" +}, +"scopes": [ +"https://www.googleapis.com/auth/display-video" +] +}, +"list": { +"description": "Lists combined audiences. The order is defined by the order_by parameter.", +"flatPath": "v4/combinedAudiences", +"httpMethod": "GET", +"id": "displayvideo.combinedAudiences.list", +"parameterOrder": [], +"parameters": { +"advertiserId": { +"description": "The ID of the advertiser that has access to the fetched combined audiences.", +"format": "int64", +"location": "query", +"type": "string" +}, +"filter": { +"description": "Allows filtering by combined audience fields. Supported syntax: * Filter expressions for combined audiences can only contain at most one restriction. * A restriction has the form of `{field} {operator} {value}`. * All fields must use the `HAS (:)` operator. Supported fields: * `displayName` Examples: * All combined audiences for which the display name contains \"Google\": `displayName : \"Google\"`. The length of this field should be no more than 500 characters. Reference our [filter `LIST` requests](/display-video/api/guides/how-tos/filters) guide for more information.", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "Field by which to sort the list. Acceptable values are: * `combinedAudienceId` (default) * `displayName` The default sorting order is ascending. To specify descending order for a field, a suffix \"desc\" should be added to the field name. Example: `displayName desc`.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Requested page size. Must be between `1` and `200`. If unspecified will default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value is specified.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A token identifying a page of results the server should return. Typically, this is the value of next_page_token returned from the previous call to `ListCombinedAudiences` method. If not specified, the first page of results will be returned.", +"location": "query", +"type": "string" +}, +"partnerId": { +"description": "The ID of the partner that has access to the fetched combined audiences.", +"format": "int64", +"location": "query", +"type": "string" +} +}, +"path": "v4/combinedAudiences", +"response": { +"$ref": "ListCombinedAudiencesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/display-video" +] +} +} +}, +"customBiddingAlgorithms": { +"methods": { +"create": { +"description": "Creates a new custom bidding algorithm. Returns the newly created custom bidding algorithm if successful.", +"flatPath": "v4/customBiddingAlgorithms", +"httpMethod": "POST", +"id": "displayvideo.customBiddingAlgorithms.create", +"parameterOrder": [], +"parameters": {}, +"path": "v4/customBiddingAlgorithms", +"request": { +"$ref": "CustomBiddingAlgorithm" +}, +"response": { +"$ref": "CustomBiddingAlgorithm" +}, +"scopes": [ +"https://www.googleapis.com/auth/display-video" +] +}, +"get": { +"description": "Gets a custom bidding algorithm.", +"flatPath": "v4/customBiddingAlgorithms/{customBiddingAlgorithmsId}", +"httpMethod": "GET", +"id": "displayvideo.customBiddingAlgorithms.get", +"parameterOrder": [ +"customBiddingAlgorithmId" +], +"parameters": { +"advertiserId": { +"description": "The ID of the DV360 partner that has access to the custom bidding algorithm.", +"format": "int64", +"location": "query", +"type": "string" +}, +"customBiddingAlgorithmId": { +"description": "Required. The ID of the custom bidding algorithm to fetch.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"partnerId": { +"description": "The ID of the DV360 partner that has access to the custom bidding algorithm.", +"format": "int64", +"location": "query", +"type": "string" +} +}, +"path": "v4/customBiddingAlgorithms/{+customBiddingAlgorithmId}", +"response": { +"$ref": "CustomBiddingAlgorithm" +}, +"scopes": [ +"https://www.googleapis.com/auth/display-video" +] +}, +"list": { +"description": "Lists custom bidding algorithms that are accessible to the current user and can be used in bidding stratgies. The order is defined by the order_by parameter.", +"flatPath": "v4/customBiddingAlgorithms", +"httpMethod": "GET", +"id": "displayvideo.customBiddingAlgorithms.list", +"parameterOrder": [], +"parameters": { +"advertiserId": { +"description": "The ID of the DV360 advertiser that has access to the custom bidding algorithm.", +"format": "int64", +"location": "query", +"type": "string" +}, +"filter": { +"description": "Allows filtering by custom bidding algorithm fields. Supported syntax: * Filter expressions are made up of one or more restrictions. * Restrictions can be combined by `AND`. A sequence of restrictions implicitly uses `AND`. * A restriction has the form of `{field} {operator} {value}`. * The `customBiddingAlgorithmType` field must use the `EQUALS (=)` operator. * The `displayName` field must use the `HAS (:)` operator. Supported fields: * `customBiddingAlgorithmType` * `displayName` Examples: * All custom bidding algorithms for which the display name contains \"politics\": `displayName:\"politics\"`. * All custom bidding algorithms for which the type is \"SCRIPT_BASED\": `customBiddingAlgorithmType=SCRIPT_BASED` The length of this field should be no more than 500 characters. Reference our [filter `LIST` requests](/display-video/api/guides/how-tos/filters) guide for more information.", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "Field by which to sort the list. Acceptable values are: * `displayName` (default) The default sorting order is ascending. To specify descending order for a field, a suffix \"desc\" should be added to the field name. Example: `displayName desc`.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Requested page size. Must be between `1` and `200`. If unspecified will default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value is specified.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A token identifying a page of results the server should return. Typically, this is the value of next_page_token returned from the previous call to `ListCustomBiddingAlgorithms` method. If not specified, the first page of results will be returned.", +"location": "query", +"type": "string" +}, +"partnerId": { +"description": "The ID of the DV360 partner that has access to the custom bidding algorithm.", +"format": "int64", +"location": "query", +"type": "string" +} +}, +"path": "v4/customBiddingAlgorithms", +"response": { +"$ref": "ListCustomBiddingAlgorithmsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/display-video" +] +}, +"patch": { +"description": "Updates an existing custom bidding algorithm. Returns the updated custom bidding algorithm if successful. Requests updating a custom bidding algorithm assigned to a line item will return an error.", +"flatPath": "v4/customBiddingAlgorithms/{customBiddingAlgorithmsId}", +"httpMethod": "PATCH", +"id": "displayvideo.customBiddingAlgorithms.patch", +"parameterOrder": [ +"customBiddingAlgorithmId" +], +"parameters": { +"customBiddingAlgorithmId": { +"description": "Output only. The unique ID of the custom bidding algorithm. Assigned by the system.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Required. The mask to control which fields to update.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v4/customBiddingAlgorithms/{+customBiddingAlgorithmId}", +"request": { +"$ref": "CustomBiddingAlgorithm" +}, +"response": { +"$ref": "CustomBiddingAlgorithm" +}, +"scopes": [ +"https://www.googleapis.com/auth/display-video" +] +}, +"uploadRules": { +"description": "Creates a rules reference object for an AlgorithmRules file. The resulting reference object provides a resource path where the AlgorithmRules file should be uploaded. This reference object should be included when creating a new CustomBiddingAlgorithmRules resource.", +"flatPath": "v4/customBiddingAlgorithms/{customBiddingAlgorithmsId}:uploadRules", +"httpMethod": "GET", +"id": "displayvideo.customBiddingAlgorithms.uploadRules", +"parameterOrder": [ +"customBiddingAlgorithmId" +], +"parameters": { +"advertiserId": { +"description": "The ID of the advertiser that owns the parent custom bidding algorithm.", +"format": "int64", +"location": "query", +"type": "string" +}, +"customBiddingAlgorithmId": { +"description": "Required. The ID of the custom bidding algorithm that owns the rules resource.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"partnerId": { +"description": "The ID of the partner that owns the parent custom bidding algorithm.", +"format": "int64", +"location": "query", +"type": "string" +} +}, +"path": "v4/customBiddingAlgorithms/{+customBiddingAlgorithmId}:uploadRules", +"response": { +"$ref": "CustomBiddingAlgorithmRulesRef" +}, +"scopes": [ +"https://www.googleapis.com/auth/display-video" +] +}, +"uploadScript": { +"description": "Creates a custom bidding script reference object for a script file. The resulting reference object provides a resource path to which the script file should be uploaded. This reference object should be included in when creating a new custom bidding script object.", +"flatPath": "v4/customBiddingAlgorithms/{customBiddingAlgorithmsId}:uploadScript", +"httpMethod": "GET", +"id": "displayvideo.customBiddingAlgorithms.uploadScript", +"parameterOrder": [ +"customBiddingAlgorithmId" +], +"parameters": { +"advertiserId": { +"description": "The ID of the advertiser that owns the parent custom bidding algorithm.", +"format": "int64", +"location": "query", +"type": "string" +}, +"customBiddingAlgorithmId": { +"description": "Required. The ID of the custom bidding algorithm owns the script.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"partnerId": { +"description": "The ID of the partner that owns the parent custom bidding algorithm. Only this partner will have write access to this custom bidding script.", +"format": "int64", +"location": "query", +"type": "string" +} +}, +"path": "v4/customBiddingAlgorithms/{+customBiddingAlgorithmId}:uploadScript", +"response": { +"$ref": "CustomBiddingScriptRef" +}, +"scopes": [ +"https://www.googleapis.com/auth/display-video" +] +} +}, +"resources": { +"rules": { +"methods": { +"create": { +"description": "Creates a new rules resource. Returns the newly created rules resource if successful. Requests creating a custom bidding rules resource under an algorithm assigned to a line item will return an error.", +"flatPath": "v4/customBiddingAlgorithms/{customBiddingAlgorithmsId}/rules", +"httpMethod": "POST", +"id": "displayvideo.customBiddingAlgorithms.rules.create", +"parameterOrder": [ +"customBiddingAlgorithmId" +], +"parameters": { +"advertiserId": { +"description": "The ID of the advertiser that owns the parent custom bidding algorithm.", +"format": "int64", +"location": "query", +"type": "string" +}, +"customBiddingAlgorithmId": { +"description": "Required. The ID of the custom bidding algorithm that owns the rules resource.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"partnerId": { +"description": "The ID of the partner that owns the parent custom bidding algorithm. Only this partner will have write access to this rules resource.", +"format": "int64", +"location": "query", +"type": "string" +} +}, +"path": "v4/customBiddingAlgorithms/{+customBiddingAlgorithmId}/rules", +"request": { +"$ref": "CustomBiddingAlgorithmRules" +}, +"response": { +"$ref": "CustomBiddingAlgorithmRules" +}, +"scopes": [ +"https://www.googleapis.com/auth/display-video" +] +}, +"get": { +"description": "Retrieves a rules resource.", +"flatPath": "v4/customBiddingAlgorithms/{customBiddingAlgorithmsId}/rules/{rulesId}", +"httpMethod": "GET", +"id": "displayvideo.customBiddingAlgorithms.rules.get", +"parameterOrder": [ +"customBiddingAlgorithmId", +"customBiddingAlgorithmRulesId" +], +"parameters": { +"advertiserId": { +"description": "The ID of the advertiser that owns the parent custom bidding algorithm.", +"format": "int64", +"location": "query", +"type": "string" +}, +"customBiddingAlgorithmId": { +"description": "Required. The ID of the custom bidding algorithm that owns the rules resource.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"customBiddingAlgorithmRulesId": { +"description": "Required. The ID of the rules resource to fetch.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"partnerId": { +"description": "The ID of the partner that owns the parent custom bidding algorithm.", +"format": "int64", +"location": "query", +"type": "string" +} +}, +"path": "v4/customBiddingAlgorithms/{+customBiddingAlgorithmId}/rules/{+customBiddingAlgorithmRulesId}", +"response": { +"$ref": "CustomBiddingAlgorithmRules" +}, +"scopes": [ +"https://www.googleapis.com/auth/display-video" +] +}, +"list": { +"description": "Lists rules resources that belong to the given algorithm. The order is defined by the order_by parameter.", +"flatPath": "v4/customBiddingAlgorithms/{customBiddingAlgorithmsId}/rules", +"httpMethod": "GET", +"id": "displayvideo.customBiddingAlgorithms.rules.list", +"parameterOrder": [ +"customBiddingAlgorithmId" +], +"parameters": { +"advertiserId": { +"description": "The ID of the advertiser that owns the parent custom bidding algorithm.", +"format": "int64", +"location": "query", +"type": "string" +}, +"customBiddingAlgorithmId": { +"description": "Required. The ID of the custom bidding algorithm that owns the rules resource.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"orderBy": { +"description": "Field by which to sort the list. Acceptable values are: * `createTime desc` (default) The default sorting order is descending. To specify ascending order for a field, the suffix \"desc\" should be removed. Example: `createTime`.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Requested page size. Must be between `1` and `200`. If unspecified will default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value is specified.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A token identifying a page of results the server should return. Typically, this is the value of next_page_token returned from the previous call to `ListCustomBiddingAlgorithmRules` method. If not specified, the first page of results will be returned.", +"location": "query", +"type": "string" +}, +"partnerId": { +"description": "The ID of the partner that owns the parent custom bidding algorithm.", +"format": "int64", +"location": "query", +"type": "string" +} +}, +"path": "v4/customBiddingAlgorithms/{+customBiddingAlgorithmId}/rules", +"response": { +"$ref": "ListCustomBiddingAlgorithmRulesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/display-video" +] +} +} +}, +"scripts": { +"methods": { +"create": { +"description": "Creates a new custom bidding script. Returns the newly created script if successful. Requests creating a custom bidding script under an algorithm assigned to a line item will return an error.", +"flatPath": "v4/customBiddingAlgorithms/{customBiddingAlgorithmsId}/scripts", +"httpMethod": "POST", +"id": "displayvideo.customBiddingAlgorithms.scripts.create", +"parameterOrder": [ +"customBiddingAlgorithmId" +], +"parameters": { +"advertiserId": { +"description": "The ID of the advertiser that owns the parent custom bidding algorithm.", +"format": "int64", +"location": "query", +"type": "string" +}, +"customBiddingAlgorithmId": { +"description": "Required. The ID of the custom bidding algorithm that owns the script.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"partnerId": { +"description": "The ID of the partner that owns the parent custom bidding algorithm. Only this partner will have write access to this custom bidding script.", +"format": "int64", +"location": "query", +"type": "string" +} +}, +"path": "v4/customBiddingAlgorithms/{+customBiddingAlgorithmId}/scripts", +"request": { +"$ref": "CustomBiddingScript" +}, +"response": { +"$ref": "CustomBiddingScript" +}, +"scopes": [ +"https://www.googleapis.com/auth/display-video" +] +}, +"get": { +"description": "Gets a custom bidding script.", +"flatPath": "v4/customBiddingAlgorithms/{customBiddingAlgorithmsId}/scripts/{scriptsId}", +"httpMethod": "GET", +"id": "displayvideo.customBiddingAlgorithms.scripts.get", +"parameterOrder": [ +"customBiddingAlgorithmId", +"customBiddingScriptId" +], +"parameters": { +"advertiserId": { +"description": "The ID of the advertiser that owns the parent custom bidding algorithm.", +"format": "int64", +"location": "query", +"type": "string" +}, +"customBiddingAlgorithmId": { +"description": "Required. The ID of the custom bidding algorithm owns the script.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"customBiddingScriptId": { +"description": "Required. The ID of the custom bidding script to fetch.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"partnerId": { +"description": "The ID of the partner that owns the parent custom bidding algorithm. Only this partner will have write access to this custom bidding script.", +"format": "int64", +"location": "query", +"type": "string" +} +}, +"path": "v4/customBiddingAlgorithms/{+customBiddingAlgorithmId}/scripts/{+customBiddingScriptId}", +"response": { +"$ref": "CustomBiddingScript" +}, +"scopes": [ +"https://www.googleapis.com/auth/display-video" +] +}, +"list": { +"description": "Lists custom bidding scripts that belong to the given algorithm. The order is defined by the order_by parameter.", +"flatPath": "v4/customBiddingAlgorithms/{customBiddingAlgorithmsId}/scripts", +"httpMethod": "GET", +"id": "displayvideo.customBiddingAlgorithms.scripts.list", +"parameterOrder": [ +"customBiddingAlgorithmId" +], +"parameters": { +"advertiserId": { +"description": "The ID of the advertiser that owns the parent custom bidding algorithm.", +"format": "int64", +"location": "query", +"type": "string" +}, +"customBiddingAlgorithmId": { +"description": "Required. The ID of the custom bidding algorithm owns the script.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"orderBy": { +"description": "Field by which to sort the list. Acceptable values are: * `createTime desc` (default) The default sorting order is descending. To specify ascending order for a field, the suffix \"desc\" should be removed. Example: `createTime`.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Requested page size. Must be between `1` and `200`. If unspecified will default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value is specified.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A token identifying a page of results the server should return. Typically, this is the value of next_page_token returned from the previous call to `ListCustomBiddingScripts` method. If not specified, the first page of results will be returned.", +"location": "query", +"type": "string" +}, +"partnerId": { +"description": "The ID of the partner that owns the parent custom bidding algorithm. Only this partner will have write access to this custom bidding script.", +"format": "int64", +"location": "query", +"type": "string" +} +}, +"path": "v4/customBiddingAlgorithms/{+customBiddingAlgorithmId}/scripts", +"response": { +"$ref": "ListCustomBiddingScriptsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/display-video" +] +} +} +} +} +}, +"customLists": { +"methods": { +"get": { +"description": "Gets a custom list.", +"flatPath": "v4/customLists/{customListsId}", +"httpMethod": "GET", +"id": "displayvideo.customLists.get", +"parameterOrder": [ +"customListId" +], +"parameters": { +"advertiserId": { +"description": "The ID of the DV360 advertiser that has access to the fetched custom lists.", +"format": "int64", +"location": "query", +"type": "string" +}, +"customListId": { +"description": "Required. The ID of the custom list to fetch.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v4/customLists/{+customListId}", +"response": { +"$ref": "CustomList" +}, +"scopes": [ +"https://www.googleapis.com/auth/display-video" +] +}, +"list": { +"description": "Lists custom lists. The order is defined by the order_by parameter.", +"flatPath": "v4/customLists", +"httpMethod": "GET", +"id": "displayvideo.customLists.list", +"parameterOrder": [], +"parameters": { +"advertiserId": { +"description": "The ID of the DV360 advertiser that has access to the fetched custom lists.", +"format": "int64", +"location": "query", +"type": "string" +}, +"filter": { +"description": "Allows filtering by custom list fields. Supported syntax: * Filter expressions for custom lists can only contain at most one restriction. * A restriction has the form of `{field} {operator} {value}`. * All fields must use the `HAS (:)` operator. Supported fields: * `displayName` Examples: * All custom lists for which the display name contains \"Google\": `displayName:\"Google\"`. The length of this field should be no more than 500 characters. Reference our [filter `LIST` requests](/display-video/api/guides/how-tos/filters) guide for more information.", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "Field by which to sort the list. Acceptable values are: * `customListId` (default) * `displayName` The default sorting order is ascending. To specify descending order for a field, a suffix \"desc\" should be added to the field name. Example: `displayName desc`.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Requested page size. Must be between `1` and `200`. If unspecified will default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value is specified.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A token identifying a page of results the server should return. Typically, this is the value of next_page_token returned from the previous call to `ListCustomLists` method. If not specified, the first page of results will be returned.", +"location": "query", +"type": "string" +} +}, +"path": "v4/customLists", +"response": { +"$ref": "ListCustomListsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/display-video" +] +} +} +}, +"firstPartyAndPartnerAudiences": { +"methods": { +"create": { +"description": "Creates a FirstPartyAndPartnerAudience. Only supported for the following audience_type: * `CUSTOMER_MATCH_CONTACT_INFO` * `CUSTOMER_MATCH_DEVICE_ID`", +"flatPath": "v4/firstPartyAndPartnerAudiences", +"httpMethod": "POST", +"id": "displayvideo.firstPartyAndPartnerAudiences.create", +"parameterOrder": [], +"parameters": { +"advertiserId": { +"description": "Required. The ID of the advertiser under whom the FirstPartyAndPartnerAudience will be created.", +"format": "int64", +"location": "query", +"type": "string" +} +}, +"path": "v4/firstPartyAndPartnerAudiences", +"request": { +"$ref": "FirstPartyAndPartnerAudience" +}, +"response": { +"$ref": "FirstPartyAndPartnerAudience" +}, +"scopes": [ +"https://www.googleapis.com/auth/display-video" +] +}, +"editCustomerMatchMembers": { +"description": "Updates the member list of a Customer Match audience. Only supported for the following audience_type: * `CUSTOMER_MATCH_CONTACT_INFO` * `CUSTOMER_MATCH_DEVICE_ID`", +"flatPath": "v4/firstPartyAndPartnerAudiences/{firstPartyAndPartnerAudiencesId}:editCustomerMatchMembers", +"httpMethod": "POST", +"id": "displayvideo.firstPartyAndPartnerAudiences.editCustomerMatchMembers", +"parameterOrder": [ +"firstPartyAndPartnerAudienceId" +], +"parameters": { +"firstPartyAndPartnerAudienceId": { +"description": "Required. The ID of the Customer Match FirstPartyAndPartnerAudience whose members will be edited.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v4/firstPartyAndPartnerAudiences/{+firstPartyAndPartnerAudienceId}:editCustomerMatchMembers", +"request": { +"$ref": "EditCustomerMatchMembersRequest" +}, +"response": { +"$ref": "EditCustomerMatchMembersResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/display-video" +] +}, +"get": { +"description": "Gets a first party or partner audience.", +"flatPath": "v4/firstPartyAndPartnerAudiences/{firstPartyAndPartnerAudiencesId}", +"httpMethod": "GET", +"id": "displayvideo.firstPartyAndPartnerAudiences.get", +"parameterOrder": [ +"firstPartyAndPartnerAudienceId" +], +"parameters": { +"advertiserId": { +"description": "The ID of the advertiser that has access to the fetched first party and partner audience.", +"format": "int64", +"location": "query", +"type": "string" +}, +"firstPartyAndPartnerAudienceId": { +"description": "Required. The ID of the first party and partner audience to fetch.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"partnerId": { +"description": "The ID of the partner that has access to the fetched first party and partner audience.", +"format": "int64", +"location": "query", +"type": "string" +} +}, +"path": "v4/firstPartyAndPartnerAudiences/{+firstPartyAndPartnerAudienceId}", +"response": { +"$ref": "FirstPartyAndPartnerAudience" +}, +"scopes": [ +"https://www.googleapis.com/auth/display-video" +] +}, +"list": { +"description": "Lists first party and partner audiences. The order is defined by the order_by parameter.", +"flatPath": "v4/firstPartyAndPartnerAudiences", +"httpMethod": "GET", +"id": "displayvideo.firstPartyAndPartnerAudiences.list", +"parameterOrder": [], +"parameters": { +"advertiserId": { +"description": "The ID of the advertiser that has access to the fetched first party and partner audiences.", +"format": "int64", +"location": "query", +"type": "string" +}, +"filter": { +"description": "Optional. Allows filtering by first party and partner audience fields. Supported syntax: * Filter expressions for first party and partner audiences can only contain at most one restriction. * A restriction has the form of `{field} {operator} {value}`. * All fields must use the `HAS (:)` operator. Supported fields: * `displayName` Examples: * All first party and partner audiences for which the display name contains \"Google\": `displayName:\"Google\"`. The length of this field should be no more than 500 characters. Reference our [filter `LIST` requests](/display-video/api/guides/how-tos/filters) guide for more information.", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "Optional. Field by which to sort the list. Acceptable values are: * `FirstPartyAndPartnerAudienceId` (default) * `displayName` The default sorting order is ascending. To specify descending order for a field, a suffix \"desc\" should be added to the field name. Example: `displayName desc`.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Optional. Requested page size. Must be between `1` and `5000`. If unspecified, this value defaults to `5000`. Returns error code `INVALID_ARGUMENT` if an invalid value is specified.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. A token identifying a page of results the server should return. Typically, this is the value of next_page_token returned from the previous call to `ListFirstPartyAndPartnerAudiences` method. If not specified, the first page of results will be returned.", +"location": "query", +"type": "string" +}, +"partnerId": { +"description": "The ID of the partner that has access to the fetched first party and partner audiences.", +"format": "int64", +"location": "query", +"type": "string" +} +}, +"path": "v4/firstPartyAndPartnerAudiences", +"response": { +"$ref": "ListFirstPartyAndPartnerAudiencesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/display-video" +] +}, +"patch": { +"description": "Updates an existing FirstPartyAndPartnerAudience. Only supported for the following audience_type: * `CUSTOMER_MATCH_CONTACT_INFO` * `CUSTOMER_MATCH_DEVICE_ID`", +"flatPath": "v4/firstPartyAndPartnerAudiences/{firstPartyAndPartnerAudiencesId}", +"httpMethod": "PATCH", +"id": "displayvideo.firstPartyAndPartnerAudiences.patch", +"parameterOrder": [ +"firstPartyAndPartnerAudienceId" +], +"parameters": { +"advertiserId": { +"description": "Required. The ID of the owner advertiser of the updated FirstPartyAndPartnerAudience.", +"format": "int64", +"location": "query", +"type": "string" +}, +"firstPartyAndPartnerAudienceId": { +"description": "Identifier. The unique ID of the first party and partner audience. Assigned by the system.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Required. The mask to control which fields to update. Updates are only supported for the following fields: * `displayName` * `description` * `membershipDurationDays`", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v4/firstPartyAndPartnerAudiences/{+firstPartyAndPartnerAudienceId}", +"request": { +"$ref": "FirstPartyAndPartnerAudience" +}, +"response": { +"$ref": "FirstPartyAndPartnerAudience" +}, +"scopes": [ +"https://www.googleapis.com/auth/display-video" +] +} +} +}, +"floodlightGroups": { +"methods": { +"get": { +"description": "Gets a Floodlight group.", +"flatPath": "v4/floodlightGroups/{floodlightGroupsId}", +"httpMethod": "GET", +"id": "displayvideo.floodlightGroups.get", +"parameterOrder": [ +"floodlightGroupId" +], +"parameters": { +"floodlightGroupId": { +"description": "Required. The ID of the Floodlight group to fetch.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"partnerId": { +"description": "Required. The partner context by which the Floodlight group is being accessed.", +"format": "int64", +"location": "query", +"type": "string" +} +}, +"path": "v4/floodlightGroups/{+floodlightGroupId}", +"response": { +"$ref": "FloodlightGroup" +}, +"scopes": [ +"https://www.googleapis.com/auth/display-video" +] +}, +"patch": { +"description": "Updates an existing Floodlight group. Returns the updated Floodlight group if successful.", +"flatPath": "v4/floodlightGroups/{floodlightGroupId}", +"httpMethod": "PATCH", +"id": "displayvideo.floodlightGroups.patch", +"parameterOrder": [ +"floodlightGroupId" +], +"parameters": { +"floodlightGroupId": { +"description": "Output only. The unique ID of the Floodlight group. Assigned by the system.", +"format": "int64", +"location": "path", +"required": true, +"type": "string" +}, +"partnerId": { +"description": "Required. The partner context by which the Floodlight group is being accessed.", +"format": "int64", +"location": "query", +"type": "string" +}, +"updateMask": { +"description": "Required. The mask to control which fields to update.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v4/floodlightGroups/{floodlightGroupId}", +"request": { +"$ref": "FloodlightGroup" +}, +"response": { +"$ref": "FloodlightGroup" +}, +"scopes": [ +"https://www.googleapis.com/auth/display-video" +] +} +}, +"resources": { +"floodlightActivities": { +"methods": { +"get": { +"description": "Gets a Floodlight activity.", +"flatPath": "v4/floodlightGroups/{floodlightGroupsId}/floodlightActivities/{floodlightActivitiesId}", +"httpMethod": "GET", +"id": "displayvideo.floodlightGroups.floodlightActivities.get", +"parameterOrder": [ +"floodlightGroupId", +"floodlightActivityId" +], +"parameters": { +"floodlightActivityId": { +"description": "Required. The ID of the Floodlight activity to fetch.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"floodlightGroupId": { +"description": "Required. The ID of the parent Floodlight group to which the requested Floodlight activity belongs.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"partnerId": { +"description": "Required. The ID of the partner through which the Floodlight activity is being accessed.", +"format": "int64", +"location": "query", +"type": "string" +} +}, +"path": "v4/floodlightGroups/{+floodlightGroupId}/floodlightActivities/{+floodlightActivityId}", +"response": { +"$ref": "FloodlightActivity" +}, +"scopes": [ +"https://www.googleapis.com/auth/display-video" +] +}, +"list": { +"description": "Lists Floodlight activities in a Floodlight group.", +"flatPath": "v4/floodlightGroups/{floodlightGroupsId}/floodlightActivities", +"httpMethod": "GET", +"id": "displayvideo.floodlightGroups.floodlightActivities.list", +"parameterOrder": [ +"floodlightGroupId" +], +"parameters": { +"floodlightGroupId": { +"description": "Required. The ID of the parent Floodlight group to which the requested Floodlight activities belong.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"orderBy": { +"description": "Optional. Field by which to sort the list. Acceptable values are: * `displayName` (default) * `floodlightActivityId` The default sorting order is ascending. To specify descending order for a field, a suffix \"desc\" should be added to the field name. Example: `displayName desc`.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Optional. Requested page size. Must be between `1` and `200`. If unspecified will default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value is specified.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. A token identifying a page of results the server should return. Typically, this is the value of next_page_token returned from the previous call to `ListFloodlightActivities` method. If not specified, the first page of results will be returned.", +"location": "query", +"type": "string" +}, +"partnerId": { +"description": "Required. The ID of the partner through which the Floodlight activities are being accessed.", +"format": "int64", +"location": "query", +"type": "string" +} +}, +"path": "v4/floodlightGroups/{+floodlightGroupId}/floodlightActivities", +"response": { +"$ref": "ListFloodlightActivitiesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/display-video" +] +} +} +} +} +}, +"googleAudiences": { +"methods": { +"get": { +"description": "Gets a Google audience.", +"flatPath": "v4/googleAudiences/{googleAudiencesId}", +"httpMethod": "GET", +"id": "displayvideo.googleAudiences.get", +"parameterOrder": [ +"googleAudienceId" +], +"parameters": { +"advertiserId": { +"description": "The ID of the advertiser that has access to the fetched Google audience.", +"format": "int64", +"location": "query", +"type": "string" +}, +"googleAudienceId": { +"description": "Required. The ID of the Google audience to fetch.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"partnerId": { +"description": "The ID of the partner that has access to the fetched Google audience.", +"format": "int64", +"location": "query", +"type": "string" +} +}, +"path": "v4/googleAudiences/{+googleAudienceId}", +"response": { +"$ref": "GoogleAudience" +}, +"scopes": [ +"https://www.googleapis.com/auth/display-video" +] +}, +"list": { +"description": "Lists Google audiences. The order is defined by the order_by parameter.", +"flatPath": "v4/googleAudiences", +"httpMethod": "GET", +"id": "displayvideo.googleAudiences.list", +"parameterOrder": [], +"parameters": { +"advertiserId": { +"description": "The ID of the advertiser that has access to the fetched Google audiences.", +"format": "int64", +"location": "query", +"type": "string" +}, +"filter": { +"description": "Allows filtering by Google audience fields. Supported syntax: * Filter expressions for Google audiences can only contain at most one restriction. * A restriction has the form of `{field} {operator} {value}`. * All fields must use the `HAS (:)` operator. Supported fields: * `displayName` Examples: * All Google audiences for which the display name contains \"Google\": `displayName:\"Google\"`. The length of this field should be no more than 500 characters. Reference our [filter `LIST` requests](/display-video/api/guides/how-tos/filters) guide for more information.", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "Field by which to sort the list. Acceptable values are: * `googleAudienceId` (default) * `displayName` The default sorting order is ascending. To specify descending order for a field, a suffix \"desc\" should be added to the field name. Example: `displayName desc`.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Requested page size. Must be between `1` and `200`. If unspecified will default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value is specified.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A token identifying a page of results the server should return. Typically, this is the value of next_page_token returned from the previous call to `ListGoogleAudiences` method. If not specified, the first page of results will be returned.", +"location": "query", +"type": "string" +}, +"partnerId": { +"description": "The ID of the partner that has access to the fetched Google audiences.", +"format": "int64", +"location": "query", +"type": "string" +} +}, +"path": "v4/googleAudiences", +"response": { +"$ref": "ListGoogleAudiencesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/display-video" +] +} +} +}, +"guaranteedOrders": { +"methods": { +"create": { +"description": "Creates a new guaranteed order. Returns the newly created guaranteed order if successful.", +"flatPath": "v4/guaranteedOrders", +"httpMethod": "POST", +"id": "displayvideo.guaranteedOrders.create", +"parameterOrder": [], +"parameters": { +"advertiserId": { +"description": "The ID of the advertiser that the request is being made within.", +"format": "int64", +"location": "query", +"type": "string" +}, +"partnerId": { +"description": "The ID of the partner that the request is being made within.", +"format": "int64", +"location": "query", +"type": "string" +} +}, +"path": "v4/guaranteedOrders", +"request": { +"$ref": "GuaranteedOrder" +}, +"response": { +"$ref": "GuaranteedOrder" +}, +"scopes": [ +"https://www.googleapis.com/auth/display-video" +] +}, +"editGuaranteedOrderReadAccessors": { +"description": "Edits read advertisers of a guaranteed order.", +"flatPath": "v4/guaranteedOrders/{guaranteedOrdersId}:editGuaranteedOrderReadAccessors", +"httpMethod": "POST", +"id": "displayvideo.guaranteedOrders.editGuaranteedOrderReadAccessors", +"parameterOrder": [ +"guaranteedOrderId" +], +"parameters": { +"guaranteedOrderId": { +"description": "Required. The ID of the guaranteed order to edit. The ID is of the format `{exchange}-{legacy_guaranteed_order_id}`", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v4/guaranteedOrders/{+guaranteedOrderId}:editGuaranteedOrderReadAccessors", +"request": { +"$ref": "EditGuaranteedOrderReadAccessorsRequest" +}, +"response": { +"$ref": "EditGuaranteedOrderReadAccessorsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/display-video" +] +}, +"get": { +"description": "Gets a guaranteed order.", +"flatPath": "v4/guaranteedOrders/{guaranteedOrdersId}", +"httpMethod": "GET", +"id": "displayvideo.guaranteedOrders.get", +"parameterOrder": [ +"guaranteedOrderId" +], +"parameters": { +"advertiserId": { +"description": "The ID of the advertiser that has access to the guaranteed order.", +"format": "int64", +"location": "query", +"type": "string" +}, +"guaranteedOrderId": { +"description": "Required. The ID of the guaranteed order to fetch. The ID is of the format `{exchange}-{legacy_guaranteed_order_id}`", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"partnerId": { +"description": "The ID of the partner that has access to the guaranteed order.", +"format": "int64", +"location": "query", +"type": "string" +} +}, +"path": "v4/guaranteedOrders/{+guaranteedOrderId}", +"response": { +"$ref": "GuaranteedOrder" +}, +"scopes": [ +"https://www.googleapis.com/auth/display-video" +] +}, +"list": { +"description": "Lists guaranteed orders that are accessible to the current user. The order is defined by the order_by parameter. If a filter by entity_status is not specified, guaranteed orders with entity status `ENTITY_STATUS_ARCHIVED` will not be included in the results.", +"flatPath": "v4/guaranteedOrders", +"httpMethod": "GET", +"id": "displayvideo.guaranteedOrders.list", +"parameterOrder": [], +"parameters": { +"advertiserId": { +"description": "The ID of the advertiser that has access to the guaranteed order.", +"format": "int64", +"location": "query", +"type": "string" +}, +"filter": { +"description": "Allows filtering by guaranteed order fields. * Filter expressions are made up of one or more restrictions. * Restrictions can be combined by `AND` or `OR` logical operators. A sequence of restrictions implicitly uses `AND`. * A restriction has the form of `{field} {operator} {value}`. * All fields must use the `EQUALS (=)` operator. Supported fields: * `guaranteed_order_id` * `exchange` * `display_name` * `status.entityStatus` Examples: * All active guaranteed orders: `status.entityStatus=\"ENTITY_STATUS_ACTIVE\"` * Guaranteed orders belonging to Google Ad Manager or Rubicon exchanges: `exchange=\"EXCHANGE_GOOGLE_AD_MANAGER\" OR exchange=\"EXCHANGE_RUBICON\"` The length of this field should be no more than 500 characters. Reference our [filter `LIST` requests](/display-video/api/guides/how-tos/filters) guide for more information.", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "Field by which to sort the list. Acceptable values are: * `displayName` (default) The default sorting order is ascending. To specify descending order for a field, a suffix \"desc\" should be added to the field name. For example, `displayName desc`.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Requested page size. Must be between `1` and `200`. If unspecified will default to `100`.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A token identifying a page of results the server should return. Typically, this is the value of next_page_token returned from the previous call to `ListGuaranteedOrders` method. If not specified, the first page of results will be returned.", +"location": "query", +"type": "string" +}, +"partnerId": { +"description": "The ID of the partner that has access to the guaranteed order.", +"format": "int64", +"location": "query", +"type": "string" +} +}, +"path": "v4/guaranteedOrders", +"response": { +"$ref": "ListGuaranteedOrdersResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/display-video" +] +}, +"patch": { +"description": "Updates an existing guaranteed order. Returns the updated guaranteed order if successful.", +"flatPath": "v4/guaranteedOrders/{guaranteedOrdersId}", +"httpMethod": "PATCH", +"id": "displayvideo.guaranteedOrders.patch", +"parameterOrder": [ +"guaranteedOrderId" +], +"parameters": { +"advertiserId": { +"description": "The ID of the advertiser that the request is being made within.", +"format": "int64", +"location": "query", +"type": "string" +}, +"guaranteedOrderId": { +"description": "Output only. The unique identifier of the guaranteed order. The guaranteed order IDs have the format `{exchange}-{legacy_guaranteed_order_id}`.", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"partnerId": { +"description": "The ID of the partner that the request is being made within.", +"format": "int64", +"location": "query", +"type": "string" +}, +"updateMask": { +"description": "Required. The mask to control which fields to update.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v4/guaranteedOrders/{+guaranteedOrderId}", +"request": { +"$ref": "GuaranteedOrder" +}, +"response": { +"$ref": "GuaranteedOrder" +}, +"scopes": [ +"https://www.googleapis.com/auth/display-video" +] +} +} +}, +"inventorySourceGroups": { +"methods": { +"create": { +"description": "Creates a new inventory source group. Returns the newly created inventory source group if successful.", +"flatPath": "v4/inventorySourceGroups", +"httpMethod": "POST", +"id": "displayvideo.inventorySourceGroups.create", +"parameterOrder": [], +"parameters": { +"advertiserId": { +"description": "The ID of the advertiser that owns the inventory source group. The parent partner will not have access to this group.", +"format": "int64", +"location": "query", +"type": "string" +}, +"partnerId": { +"description": "The ID of the partner that owns the inventory source group. Only this partner will have write access to this group. Only advertisers to which this group is explicitly shared will have read access to this group.", +"format": "int64", +"location": "query", +"type": "string" +} +}, +"path": "v4/inventorySourceGroups", +"request": { +"$ref": "InventorySourceGroup" +}, +"response": { +"$ref": "InventorySourceGroup" +}, +"scopes": [ +"https://www.googleapis.com/auth/display-video" +] +}, +"delete": { +"description": "Deletes an inventory source group.", +"flatPath": "v4/inventorySourceGroups/{inventorySourceGroupsId}", +"httpMethod": "DELETE", +"id": "displayvideo.inventorySourceGroups.delete", +"parameterOrder": [ +"inventorySourceGroupId" +], +"parameters": { +"advertiserId": { +"description": "The ID of the advertiser that owns the inventory source group. The parent partner does not have access to this group.", +"format": "int64", +"location": "query", +"type": "string" +}, +"inventorySourceGroupId": { +"description": "Required. The ID of the inventory source group to delete.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"partnerId": { +"description": "The ID of the partner that owns the inventory source group. Only this partner has write access to this group.", +"format": "int64", +"location": "query", +"type": "string" +} +}, +"path": "v4/inventorySourceGroups/{+inventorySourceGroupId}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/display-video" +] +}, +"get": { +"description": "Gets an inventory source group.", +"flatPath": "v4/inventorySourceGroups/{inventorySourceGroupsId}", +"httpMethod": "GET", +"id": "displayvideo.inventorySourceGroups.get", +"parameterOrder": [ +"inventorySourceGroupId" +], +"parameters": { +"advertiserId": { +"description": "The ID of the advertiser that has access to the inventory source group. If an inventory source group is partner-owned, only advertisers to which the group is explicitly shared can access the group.", +"format": "int64", +"location": "query", +"type": "string" +}, +"inventorySourceGroupId": { +"description": "Required. The ID of the inventory source group to fetch.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"partnerId": { +"description": "The ID of the partner that has access to the inventory source group. A partner cannot access an advertiser-owned inventory source group.", +"format": "int64", +"location": "query", +"type": "string" +} +}, +"path": "v4/inventorySourceGroups/{+inventorySourceGroupId}", +"response": { +"$ref": "InventorySourceGroup" +}, +"scopes": [ +"https://www.googleapis.com/auth/display-video" +] +}, +"list": { +"description": "Lists inventory source groups that are accessible to the current user. The order is defined by the order_by parameter.", +"flatPath": "v4/inventorySourceGroups", +"httpMethod": "GET", +"id": "displayvideo.inventorySourceGroups.list", +"parameterOrder": [], +"parameters": { +"advertiserId": { +"description": "The ID of the advertiser that has access to the inventory source group. If an inventory source group is partner-owned, only advertisers to which the group is explicitly shared can access the group.", +"format": "int64", +"location": "query", +"type": "string" +}, +"filter": { +"description": "Allows filtering by inventory source group fields. Supported syntax: * Filter expressions are made up of one or more restrictions. * Restrictions can be combined by the logical operator `OR`. * A restriction has the form of `{field} {operator} {value}`. * All fields must use the `EQUALS (=)` operator. Supported fields: * `inventorySourceGroupId` The length of this field should be no more than 500 characters. Reference our [filter `LIST` requests](/display-video/api/guides/how-tos/filters) guide for more information.", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "Field by which to sort the list. Acceptable values are: * `displayName` (default) * `inventorySourceGroupId` The default sorting order is ascending. To specify descending order for a field, a suffix \"desc\" should be added to the field name. For example, `displayName desc`.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Requested page size. Must be between `1` and `200`. If unspecified will default to `100`.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A token identifying a page of results the server should return. Typically, this is the value of next_page_token returned from the previous call to `ListInventorySources` method. If not specified, the first page of results will be returned.", +"location": "query", +"type": "string" +}, +"partnerId": { +"description": "The ID of the partner that has access to the inventory source group. A partner cannot access advertiser-owned inventory source groups.", +"format": "int64", +"location": "query", +"type": "string" +} +}, +"path": "v4/inventorySourceGroups", +"response": { +"$ref": "ListInventorySourceGroupsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/display-video" +] +}, +"patch": { +"description": "Updates an inventory source group. Returns the updated inventory source group if successful.", +"flatPath": "v4/inventorySourceGroups/{inventorySourceGroupId}", +"httpMethod": "PATCH", +"id": "displayvideo.inventorySourceGroups.patch", +"parameterOrder": [ +"inventorySourceGroupId" +], +"parameters": { +"advertiserId": { +"description": "The ID of the advertiser that owns the inventory source group. The parent partner does not have access to this group.", +"format": "int64", +"location": "query", +"type": "string" +}, +"inventorySourceGroupId": { +"description": "Output only. The unique ID of the inventory source group. Assigned by the system.", +"format": "int64", +"location": "path", +"required": true, +"type": "string" +}, +"partnerId": { +"description": "The ID of the partner that owns the inventory source group. Only this partner has write access to this group.", +"format": "int64", +"location": "query", +"type": "string" +}, +"updateMask": { +"description": "Required. The mask to control which fields to update.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v4/inventorySourceGroups/{inventorySourceGroupId}", +"request": { +"$ref": "InventorySourceGroup" +}, +"response": { +"$ref": "InventorySourceGroup" +}, +"scopes": [ +"https://www.googleapis.com/auth/display-video" +] +} +}, +"resources": { +"assignedInventorySources": { +"methods": { +"bulkEdit": { +"description": "Bulk edits multiple assignments between inventory sources and a single inventory source group. The operation will delete the assigned inventory sources provided in BulkEditAssignedInventorySourcesRequest.deleted_assigned_inventory_sources and then create the assigned inventory sources provided in BulkEditAssignedInventorySourcesRequest.created_assigned_inventory_sources.", +"flatPath": "v4/inventorySourceGroups/{inventorySourceGroupsId}/assignedInventorySources:bulkEdit", +"httpMethod": "POST", +"id": "displayvideo.inventorySourceGroups.assignedInventorySources.bulkEdit", +"parameterOrder": [ +"inventorySourceGroupId" +], +"parameters": { +"inventorySourceGroupId": { +"description": "Required. The ID of the inventory source group to which the assignments are assigned.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v4/inventorySourceGroups/{+inventorySourceGroupId}/assignedInventorySources:bulkEdit", +"request": { +"$ref": "BulkEditAssignedInventorySourcesRequest" +}, +"response": { +"$ref": "BulkEditAssignedInventorySourcesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/display-video" +] +}, +"create": { +"description": "Creates an assignment between an inventory source and an inventory source group.", +"flatPath": "v4/inventorySourceGroups/{inventorySourceGroupsId}/assignedInventorySources", +"httpMethod": "POST", +"id": "displayvideo.inventorySourceGroups.assignedInventorySources.create", +"parameterOrder": [ +"inventorySourceGroupId" +], +"parameters": { +"advertiserId": { +"description": "The ID of the advertiser that owns the parent inventory source group. The parent partner will not have access to this assigned inventory source.", +"format": "int64", +"location": "query", +"type": "string" +}, +"inventorySourceGroupId": { +"description": "Required. The ID of the inventory source group to which the assignment will be assigned.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"partnerId": { +"description": "The ID of the partner that owns the parent inventory source group. Only this partner will have write access to this assigned inventory source.", +"format": "int64", +"location": "query", +"type": "string" +} +}, +"path": "v4/inventorySourceGroups/{+inventorySourceGroupId}/assignedInventorySources", +"request": { +"$ref": "AssignedInventorySource" +}, +"response": { +"$ref": "AssignedInventorySource" +}, +"scopes": [ +"https://www.googleapis.com/auth/display-video" +] +}, +"delete": { +"description": "Deletes the assignment between an inventory source and an inventory source group.", +"flatPath": "v4/inventorySourceGroups/{inventorySourceGroupsId}/assignedInventorySources/{assignedInventorySourcesId}", +"httpMethod": "DELETE", +"id": "displayvideo.inventorySourceGroups.assignedInventorySources.delete", +"parameterOrder": [ +"inventorySourceGroupId", +"assignedInventorySourceId" +], +"parameters": { +"advertiserId": { +"description": "The ID of the advertiser that owns the parent inventory source group. The parent partner does not have access to this assigned inventory source.", +"format": "int64", +"location": "query", +"type": "string" +}, +"assignedInventorySourceId": { +"description": "Required. The ID of the assigned inventory source to delete.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"inventorySourceGroupId": { +"description": "Required. The ID of the inventory source group to which this assignment is assigned.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"partnerId": { +"description": "The ID of the partner that owns the parent inventory source group. Only this partner has write access to this assigned inventory source.", +"format": "int64", +"location": "query", +"type": "string" +} +}, +"path": "v4/inventorySourceGroups/{+inventorySourceGroupId}/assignedInventorySources/{+assignedInventorySourceId}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/display-video" +] +}, +"list": { +"description": "Lists inventory sources assigned to an inventory source group.", +"flatPath": "v4/inventorySourceGroups/{inventorySourceGroupsId}/assignedInventorySources", +"httpMethod": "GET", +"id": "displayvideo.inventorySourceGroups.assignedInventorySources.list", +"parameterOrder": [ +"inventorySourceGroupId" +], +"parameters": { +"advertiserId": { +"description": "The ID of the advertiser that has access to the assignment. If the parent inventory source group is partner-owned, only advertisers to which the parent group is explicitly shared can access the assigned inventory source.", +"format": "int64", +"location": "query", +"type": "string" +}, +"filter": { +"description": "Allows filtering by assigned inventory source fields. Supported syntax: * Filter expressions are made up of one or more restrictions. * Restrictions can be combined by the `OR` logical operator. * A restriction has the form of `{field} {operator} {value}`. * All fields must use the `EQUALS (=)` operator. Supported fields: * `assignedInventorySourceId` The length of this field should be no more than 500 characters. Reference our [filter `LIST` requests](/display-video/api/guides/how-tos/filters) guide for more information.", +"location": "query", +"type": "string" +}, +"inventorySourceGroupId": { +"description": "Required. The ID of the inventory source group to which these assignments are assigned.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"orderBy": { +"description": "Field by which to sort the list. Acceptable values are: * `assignedInventorySourceId` (default) The default sorting order is ascending. To specify descending order for a field, a suffix \" desc\" should be added to the field name. Example: `assignedInventorySourceId desc`.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Requested page size. Must be between `1` and `100`. If unspecified will default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value is specified.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A token identifying a page of results the server should return. Typically, this is the value of next_page_token returned from the previous call to `ListAssignedInventorySources` method. If not specified, the first page of results will be returned.", +"location": "query", +"type": "string" +}, +"partnerId": { +"description": "The ID of the partner that has access to the assignment. If the parent inventory source group is advertiser-owned, the assignment cannot be accessed via a partner.", +"format": "int64", +"location": "query", +"type": "string" +} +}, +"path": "v4/inventorySourceGroups/{+inventorySourceGroupId}/assignedInventorySources", +"response": { +"$ref": "ListAssignedInventorySourcesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/display-video" +] +} +} +} +} +}, +"inventorySources": { +"methods": { +"create": { +"description": "Creates a new inventory source. Returns the newly created inventory source if successful.", +"flatPath": "v4/inventorySources", +"httpMethod": "POST", +"id": "displayvideo.inventorySources.create", +"parameterOrder": [], +"parameters": { +"advertiserId": { +"description": "The ID of the advertiser that the request is being made within.", +"format": "int64", +"location": "query", +"type": "string" +}, +"partnerId": { +"description": "The ID of the partner that the request is being made within.", +"format": "int64", +"location": "query", +"type": "string" +} +}, +"path": "v4/inventorySources", +"request": { +"$ref": "InventorySource" +}, +"response": { +"$ref": "InventorySource" +}, +"scopes": [ +"https://www.googleapis.com/auth/display-video" +] +}, +"editInventorySourceReadWriteAccessors": { +"description": "Edits read/write accessors of an inventory source. Returns the updated read_write_accessors for the inventory source.", +"flatPath": "v4/inventorySources/{inventorySourcesId}:editInventorySourceReadWriteAccessors", +"httpMethod": "POST", +"id": "displayvideo.inventorySources.editInventorySourceReadWriteAccessors", +"parameterOrder": [ +"inventorySourceId" +], +"parameters": { +"inventorySourceId": { +"description": "Required. The ID of inventory source to update.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v4/inventorySources/{+inventorySourceId}:editInventorySourceReadWriteAccessors", +"request": { +"$ref": "EditInventorySourceReadWriteAccessorsRequest" +}, +"response": { +"$ref": "InventorySourceAccessors" +}, +"scopes": [ +"https://www.googleapis.com/auth/display-video" +] +}, +"get": { +"description": "Gets an inventory source.", +"flatPath": "v4/inventorySources/{inventorySourcesId}", +"httpMethod": "GET", +"id": "displayvideo.inventorySources.get", +"parameterOrder": [ +"inventorySourceId" +], +"parameters": { +"advertiserId": { +"description": "Optional. The ID of the DV360 advertiser to which the fetched inventory source is permissioned. If the user only has access to the advertiser and not the parent partner, use this field to specify the relevant advertiser.", +"format": "int64", +"location": "query", +"type": "string" +}, +"inventorySourceId": { +"description": "Required. The ID of the inventory source to fetch.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"partnerId": { +"description": "Required. The ID of the DV360 partner to which the fetched inventory source is permissioned.", +"format": "int64", +"location": "query", +"type": "string" +} +}, +"path": "v4/inventorySources/{+inventorySourceId}", +"response": { +"$ref": "InventorySource" +}, +"scopes": [ +"https://www.googleapis.com/auth/display-video" +] +}, +"list": { +"description": "Lists inventory sources that are accessible to the current user. The order is defined by the order_by parameter. If a filter by entity_status is not specified, inventory sources with entity status `ENTITY_STATUS_ARCHIVED` will not be included in the results.", +"flatPath": "v4/inventorySources", +"httpMethod": "GET", +"id": "displayvideo.inventorySources.list", +"parameterOrder": [], +"parameters": { +"advertiserId": { +"description": "The ID of the advertiser that has access to the inventory source.", +"format": "int64", +"location": "query", +"type": "string" +}, +"filter": { +"description": "Allows filtering by inventory source fields. Supported syntax: * Filter expressions are made up of one or more restrictions. * Restrictions can be combined by `AND` or `OR` logical operators. A sequence of restrictions implicitly uses `AND`. * A restriction has the form of `{field} {operator} {value}`. * All fields must use the `EQUALS (=)` operator. Supported fields: * `status.entityStatus` * `commitment` * `deliveryMethod` * `rateDetails.rateType` * `exchange` Examples: * All active inventory sources: `status.entityStatus=\"ENTITY_STATUS_ACTIVE\"` * Inventory sources belonging to Google Ad Manager or Rubicon exchanges: `exchange=\"EXCHANGE_GOOGLE_AD_MANAGER\" OR exchange=\"EXCHANGE_RUBICON\"` The length of this field should be no more than 500 characters. Reference our [filter `LIST` requests](/display-video/api/guides/how-tos/filters) guide for more information.", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "Field by which to sort the list. Acceptable values are: * `displayName` (default) The default sorting order is ascending. To specify descending order for a field, a suffix \"desc\" should be added to the field name. For example, `displayName desc`.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Requested page size. Must be between `1` and `200`. If unspecified will default to `100`.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A token identifying a page of results the server should return. Typically, this is the value of next_page_token returned from the previous call to `ListInventorySources` method. If not specified, the first page of results will be returned.", +"location": "query", +"type": "string" +}, +"partnerId": { +"description": "The ID of the partner that has access to the inventory source.", +"format": "int64", +"location": "query", +"type": "string" +} +}, +"path": "v4/inventorySources", +"response": { +"$ref": "ListInventorySourcesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/display-video" +] +}, +"patch": { +"description": "Updates an existing inventory source. Returns the updated inventory source if successful.", +"flatPath": "v4/inventorySources/{inventorySourcesId}", +"httpMethod": "PATCH", +"id": "displayvideo.inventorySources.patch", +"parameterOrder": [ +"inventorySourceId" +], +"parameters": { +"advertiserId": { +"description": "The ID of the advertiser that the request is being made within.", +"format": "int64", +"location": "query", +"type": "string" +}, +"inventorySourceId": { +"description": "Output only. The unique ID of the inventory source. Assigned by the system.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"partnerId": { +"description": "The ID of the partner that the request is being made within.", +"format": "int64", +"location": "query", +"type": "string" +}, +"updateMask": { +"description": "Required. The mask to control which fields to update.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v4/inventorySources/{+inventorySourceId}", +"request": { +"$ref": "InventorySource" +}, +"response": { +"$ref": "InventorySource" +}, +"scopes": [ +"https://www.googleapis.com/auth/display-video" +] +} +} +}, +"media": { +"methods": { +"download": { +"description": "Downloads media. Download is supported on the URI `/download/{resource_name=**}?alt=media.` **Note**: Download requests will not be successful without including `alt=media` query string.", +"flatPath": "download/{downloadId}", +"httpMethod": "GET", +"id": "displayvideo.media.download", +"parameterOrder": [ +"resourceName" +], +"parameters": { +"resourceName": { +"description": "Name of the media that is being downloaded. See ReadRequest.resource_name.", +"location": "path", +"pattern": "^.*$", +"required": true, +"type": "string" +} +}, +"path": "download/{+resourceName}", +"response": { +"$ref": "GoogleBytestreamMedia" +}, +"scopes": [ +"https://www.googleapis.com/auth/display-video", +"https://www.googleapis.com/auth/doubleclickbidmanager" +], +"supportsMediaDownload": true +}, +"upload": { +"description": "Uploads media. Upload is supported on the URI `/upload/media/{resource_name=**}?upload_type=media.` **Note**: Upload requests will not be successful without including `upload_type=media` query string.", +"flatPath": "media/{mediaId}", +"httpMethod": "POST", +"id": "displayvideo.media.upload", +"mediaUpload": { +"accept": [ +"*/*" +], +"protocols": { +"simple": { +"multipart": true, +"path": "/upload/media/{+resourceName}" +} +} +}, +"parameterOrder": [ +"resourceName" +], +"parameters": { +"resourceName": { +"description": "Name of the media that is being downloaded. See ReadRequest.resource_name.", +"location": "path", +"pattern": "^.*$", +"required": true, +"type": "string" +} +}, +"path": "media/{+resourceName}", +"request": { +"$ref": "GoogleBytestreamMedia" +}, +"response": { +"$ref": "GoogleBytestreamMedia" +}, +"scopes": [ +"https://www.googleapis.com/auth/display-video", +"https://www.googleapis.com/auth/doubleclickbidmanager" +], +"supportsMediaUpload": true +} +} +}, +"partners": { +"methods": { +"editAssignedTargetingOptions": { +"description": "Edits targeting options under a single partner. The operation will delete the assigned targeting options provided in BulkEditPartnerAssignedTargetingOptionsRequest.deleteRequests and then create the assigned targeting options provided in BulkEditPartnerAssignedTargetingOptionsRequest.createRequests .", +"flatPath": "v4/partners/{partnersId}:editAssignedTargetingOptions", +"httpMethod": "POST", +"id": "displayvideo.partners.editAssignedTargetingOptions", +"parameterOrder": [ +"partnerId" +], +"parameters": { +"partnerId": { +"description": "Required. The ID of the partner.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v4/partners/{+partnerId}:editAssignedTargetingOptions", +"request": { +"$ref": "BulkEditPartnerAssignedTargetingOptionsRequest" +}, +"response": { +"$ref": "BulkEditPartnerAssignedTargetingOptionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/display-video" +] +}, +"get": { +"description": "Gets a partner.", +"flatPath": "v4/partners/{partnersId}", +"httpMethod": "GET", +"id": "displayvideo.partners.get", +"parameterOrder": [ +"partnerId" +], +"parameters": { +"partnerId": { +"description": "Required. The ID of the partner to fetch.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v4/partners/{+partnerId}", +"response": { +"$ref": "Partner" +}, +"scopes": [ +"https://www.googleapis.com/auth/display-video" +] +}, +"list": { +"description": "Lists partners that are accessible to the current user. The order is defined by the order_by parameter.", +"flatPath": "v4/partners", +"httpMethod": "GET", +"id": "displayvideo.partners.list", +"parameterOrder": [], +"parameters": { +"filter": { +"description": "Allows filtering by partner fields. Supported syntax: * Filter expressions are made up of one or more restrictions. * Restrictions can be combined by `AND` or `OR` logical operators. A sequence of restrictions implicitly uses `AND`. * A restriction has the form of `{field} {operator} {value}`. * All fields must use the `EQUALS (=)` operator. Supported fields: * `entityStatus` Examples: * All active partners: `entityStatus=\"ENTITY_STATUS_ACTIVE\"` The length of this field should be no more than 500 characters. Reference our [filter `LIST` requests](/display-video/api/guides/how-tos/filters) guide for more information.", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "Field by which to sort the list. Acceptable values are: * `displayName` The default sorting order is ascending. To specify descending order for a field, a suffix \"desc\" should be added to the field name. For example, `displayName desc`.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Requested page size. Must be between `1` and `200`. If unspecified will default to `100`.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A token identifying a page of results the server should return. Typically, this is the value of next_page_token returned from the previous call to `ListPartners` method. If not specified, the first page of results will be returned.", +"location": "query", +"type": "string" +} +}, +"path": "v4/partners", +"response": { +"$ref": "ListPartnersResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/display-video" +] +} +}, +"resources": { +"channels": { +"methods": { +"create": { +"description": "Creates a new channel. Returns the newly created channel if successful.", +"flatPath": "v4/partners/{partnersId}/channels", +"httpMethod": "POST", +"id": "displayvideo.partners.channels.create", +"parameterOrder": [ +"partnerId" +], +"parameters": { +"advertiserId": { +"description": "The ID of the advertiser that owns the created channel.", +"format": "int64", +"location": "query", +"type": "string" +}, +"partnerId": { +"description": "The ID of the partner that owns the created channel.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v4/partners/{+partnerId}/channels", +"request": { +"$ref": "Channel" +}, +"response": { +"$ref": "Channel" +}, +"scopes": [ +"https://www.googleapis.com/auth/display-video" +] +}, +"get": { +"description": "Gets a channel for a partner or advertiser.", +"flatPath": "v4/partners/{partnersId}/channels/{channelsId}", +"httpMethod": "GET", +"id": "displayvideo.partners.channels.get", +"parameterOrder": [ +"partnerId", +"channelId" +], +"parameters": { +"advertiserId": { +"description": "The ID of the advertiser that owns the fetched channel.", +"format": "int64", +"location": "query", +"type": "string" +}, +"channelId": { +"description": "Required. The ID of the channel to fetch.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"partnerId": { +"description": "The ID of the partner that owns the fetched channel.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v4/partners/{+partnerId}/channels/{+channelId}", +"response": { +"$ref": "Channel" +}, +"scopes": [ +"https://www.googleapis.com/auth/display-video" +] +}, +"list": { +"description": "Lists channels for a partner or advertiser.", +"flatPath": "v4/partners/{partnersId}/channels", +"httpMethod": "GET", +"id": "displayvideo.partners.channels.list", +"parameterOrder": [ +"partnerId" +], +"parameters": { +"advertiserId": { +"description": "The ID of the advertiser that owns the channels.", +"format": "int64", +"location": "query", +"type": "string" +}, +"filter": { +"description": "Allows filtering by channel fields. Supported syntax: * Filter expressions for channel can only contain at most one restriction. * A restriction has the form of `{field} {operator} {value}`. * All fields must use the `HAS (:)` operator. Supported fields: * `displayName` Examples: * All channels for which the display name contains \"google\": `displayName : \"google\"`. The length of this field should be no more than 500 characters. Reference our [filter `LIST` requests](/display-video/api/guides/how-tos/filters) guide for more information.", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "Field by which to sort the list. Acceptable values are: * `displayName` (default) * `channelId` The default sorting order is ascending. To specify descending order for a field, a suffix \" desc\" should be added to the field name. Example: `displayName desc`.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Requested page size. Must be between `1` and `200`. If unspecified will default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value is specified.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A token identifying a page of results the server should return. Typically, this is the value of next_page_token returned from the previous call to `ListChannels` method. If not specified, the first page of results will be returned.", +"location": "query", +"type": "string" +}, +"partnerId": { +"description": "The ID of the partner that owns the channels.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v4/partners/{+partnerId}/channels", +"response": { +"$ref": "ListChannelsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/display-video" +] +}, +"patch": { +"description": "Updates a channel. Returns the updated channel if successful.", +"flatPath": "v4/partners/{partnersId}/channels/{channelId}", +"httpMethod": "PATCH", +"id": "displayvideo.partners.channels.patch", +"parameterOrder": [ +"partnerId", +"channelId" +], +"parameters": { +"advertiserId": { +"description": "The ID of the advertiser that owns the created channel.", +"format": "int64", +"location": "query", +"type": "string" +}, +"channelId": { +"description": "Output only. The unique ID of the channel. Assigned by the system.", +"format": "int64", +"location": "path", +"required": true, +"type": "string" +}, +"partnerId": { +"description": "The ID of the partner that owns the created channel.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Required. The mask to control which fields to update.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v4/partners/{+partnerId}/channels/{channelId}", +"request": { +"$ref": "Channel" +}, +"response": { +"$ref": "Channel" +}, +"scopes": [ +"https://www.googleapis.com/auth/display-video" +] +} +}, +"resources": { +"sites": { +"methods": { +"bulkEdit": { +"description": "Bulk edits sites under a single channel. The operation will delete the sites provided in BulkEditSitesRequest.deleted_sites and then create the sites provided in BulkEditSitesRequest.created_sites.", +"flatPath": "v4/partners/{partnerId}/channels/{channelsId}/sites:bulkEdit", +"httpMethod": "POST", +"id": "displayvideo.partners.channels.sites.bulkEdit", +"parameterOrder": [ +"partnerId", +"channelId" +], +"parameters": { +"channelId": { +"description": "Required. The ID of the parent channel to which the sites belong.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"partnerId": { +"description": "The ID of the partner that owns the parent channel.", +"format": "int64", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v4/partners/{partnerId}/channels/{+channelId}/sites:bulkEdit", +"request": { +"$ref": "BulkEditSitesRequest" +}, +"response": { +"$ref": "BulkEditSitesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/display-video" +] +}, +"create": { +"description": "Creates a site in a channel.", +"flatPath": "v4/partners/{partnerId}/channels/{channelsId}/sites", +"httpMethod": "POST", +"id": "displayvideo.partners.channels.sites.create", +"parameterOrder": [ +"partnerId", +"channelId" +], +"parameters": { +"advertiserId": { +"description": "The ID of the advertiser that owns the parent channel.", +"format": "int64", +"location": "query", +"type": "string" +}, +"channelId": { +"description": "Required. The ID of the parent channel in which the site will be created.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"partnerId": { +"description": "The ID of the partner that owns the parent channel.", +"format": "int64", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v4/partners/{partnerId}/channels/{+channelId}/sites", +"request": { +"$ref": "Site" +}, +"response": { +"$ref": "Site" +}, +"scopes": [ +"https://www.googleapis.com/auth/display-video" +] +}, +"delete": { +"description": "Deletes a site from a channel.", +"flatPath": "v4/partners/{partnerId}/channels/{channelsId}/sites/{sitesId}", +"httpMethod": "DELETE", +"id": "displayvideo.partners.channels.sites.delete", +"parameterOrder": [ +"partnerId", +"channelId", +"urlOrAppId" +], +"parameters": { +"advertiserId": { +"description": "The ID of the advertiser that owns the parent channel.", +"format": "int64", +"location": "query", +"type": "string" +}, +"channelId": { +"description": "Required. The ID of the parent channel to which the site belongs.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"partnerId": { +"description": "The ID of the partner that owns the parent channel.", +"format": "int64", +"location": "path", +"required": true, +"type": "string" +}, +"urlOrAppId": { +"description": "Required. The URL or app ID of the site to delete.", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v4/partners/{partnerId}/channels/{+channelId}/sites/{+urlOrAppId}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/display-video" +] +}, +"list": { +"description": "Lists sites in a channel.", +"flatPath": "v4/partners/{partnersId}/channels/{channelsId}/sites", +"httpMethod": "GET", +"id": "displayvideo.partners.channels.sites.list", +"parameterOrder": [ +"partnerId", +"channelId" +], +"parameters": { +"advertiserId": { +"description": "The ID of the advertiser that owns the parent channel.", +"format": "int64", +"location": "query", +"type": "string" +}, +"channelId": { +"description": "Required. The ID of the parent channel to which the requested sites belong.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"filter": { +"description": "Allows filtering by site fields. Supported syntax: * Filter expressions for site retrieval can only contain at most one restriction. * A restriction has the form of `{field} {operator} {value}`. * All fields must use the `HAS (:)` operator. Supported fields: * `urlOrAppId` Examples: * All sites for which the URL or app ID contains \"google\": `urlOrAppId : \"google\"` The length of this field should be no more than 500 characters. Reference our [filter `LIST` requests](/display-video/api/guides/how-tos/filters) guide for more information.", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "Field by which to sort the list. Acceptable values are: * `urlOrAppId` (default) The default sorting order is ascending. To specify descending order for a field, a suffix \" desc\" should be added to the field name. Example: `urlOrAppId desc`.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Requested page size. Must be between `1` and `10000`. If unspecified will default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value is specified.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A token identifying a page of results the server should return. Typically, this is the value of next_page_token returned from the previous call to `ListSites` method. If not specified, the first page of results will be returned.", +"location": "query", +"type": "string" +}, +"partnerId": { +"description": "The ID of the partner that owns the parent channel.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v4/partners/{+partnerId}/channels/{+channelId}/sites", +"response": { +"$ref": "ListSitesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/display-video" +] +}, +"replace": { +"description": "Replaces all of the sites under a single channel. The operation will replace the sites under a channel with the sites provided in ReplaceSitesRequest.new_sites. **This method regularly experiences high latency.** We recommend [increasing your default timeout](/display-video/api/guides/best-practices/timeouts#client_library_timeout) to avoid errors.", +"flatPath": "v4/partners/{partnerId}/channels/{channelsId}/sites:replace", +"httpMethod": "POST", +"id": "displayvideo.partners.channels.sites.replace", +"parameterOrder": [ +"partnerId", +"channelId" +], +"parameters": { +"channelId": { +"description": "Required. The ID of the parent channel whose sites will be replaced.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"partnerId": { +"description": "The ID of the partner that owns the parent channel.", +"format": "int64", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v4/partners/{partnerId}/channels/{+channelId}/sites:replace", +"request": { +"$ref": "ReplaceSitesRequest" +}, +"response": { +"$ref": "ReplaceSitesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/display-video" +] +} +} +} +} +}, +"targetingTypes": { +"resources": { +"assignedTargetingOptions": { +"methods": { +"create": { +"description": "Assigns a targeting option to a partner. Returns the assigned targeting option if successful.", +"flatPath": "v4/partners/{partnersId}/targetingTypes/{targetingTypesId}/assignedTargetingOptions", +"httpMethod": "POST", +"id": "displayvideo.partners.targetingTypes.assignedTargetingOptions.create", +"parameterOrder": [ +"partnerId", +"targetingType" +], +"parameters": { +"partnerId": { +"description": "Required. The ID of the partner.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"targetingType": { +"description": "Required. Identifies the type of this assigned targeting option. Supported targeting types: * `TARGETING_TYPE_CHANNEL`", +"enum": [ +"TARGETING_TYPE_UNSPECIFIED", +"TARGETING_TYPE_CHANNEL", +"TARGETING_TYPE_APP_CATEGORY", +"TARGETING_TYPE_APP", +"TARGETING_TYPE_URL", +"TARGETING_TYPE_DAY_AND_TIME", +"TARGETING_TYPE_AGE_RANGE", +"TARGETING_TYPE_REGIONAL_LOCATION_LIST", +"TARGETING_TYPE_PROXIMITY_LOCATION_LIST", +"TARGETING_TYPE_GENDER", +"TARGETING_TYPE_VIDEO_PLAYER_SIZE", +"TARGETING_TYPE_USER_REWARDED_CONTENT", +"TARGETING_TYPE_PARENTAL_STATUS", +"TARGETING_TYPE_CONTENT_INSTREAM_POSITION", +"TARGETING_TYPE_CONTENT_OUTSTREAM_POSITION", +"TARGETING_TYPE_DEVICE_TYPE", +"TARGETING_TYPE_AUDIENCE_GROUP", +"TARGETING_TYPE_BROWSER", +"TARGETING_TYPE_HOUSEHOLD_INCOME", +"TARGETING_TYPE_ON_SCREEN_POSITION", +"TARGETING_TYPE_THIRD_PARTY_VERIFIER", +"TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION", +"TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION", +"TARGETING_TYPE_ENVIRONMENT", +"TARGETING_TYPE_CARRIER_AND_ISP", +"TARGETING_TYPE_OPERATING_SYSTEM", +"TARGETING_TYPE_DEVICE_MAKE_MODEL", +"TARGETING_TYPE_KEYWORD", +"TARGETING_TYPE_NEGATIVE_KEYWORD_LIST", +"TARGETING_TYPE_VIEWABILITY", +"TARGETING_TYPE_CATEGORY", +"TARGETING_TYPE_INVENTORY_SOURCE", +"TARGETING_TYPE_LANGUAGE", +"TARGETING_TYPE_AUTHORIZED_SELLER_STATUS", +"TARGETING_TYPE_GEO_REGION", +"TARGETING_TYPE_INVENTORY_SOURCE_GROUP", +"TARGETING_TYPE_EXCHANGE", +"TARGETING_TYPE_SUB_EXCHANGE", +"TARGETING_TYPE_POI", +"TARGETING_TYPE_BUSINESS_CHAIN", +"TARGETING_TYPE_CONTENT_DURATION", +"TARGETING_TYPE_CONTENT_STREAM_TYPE", +"TARGETING_TYPE_NATIVE_CONTENT_POSITION", +"TARGETING_TYPE_OMID", +"TARGETING_TYPE_AUDIO_CONTENT_TYPE", +"TARGETING_TYPE_CONTENT_GENRE", +"TARGETING_TYPE_YOUTUBE_VIDEO", +"TARGETING_TYPE_YOUTUBE_CHANNEL", +"TARGETING_TYPE_SESSION_POSITION", +"TARGETING_TYPE_CONTENT_THEME_EXCLUSION" +], +"enumDescriptions": [ +"Default value when type is not specified or is unknown in this version.", +"Target a channel (a custom group of related websites or apps).", +"Target an app category (for example, education or puzzle games).", +"Target a specific app (for example, Angry Birds).", +"Target a specific url (for example, quora.com).", +"Target ads during a chosen time period on a specific day.", +"Target ads to a specific age range (for example, 18-24).", +"Target ads to the specified regions on a regional location list.", +"Target ads to the specified points of interest on a proximity location list.", +"Target ads to a specific gender (for example, female or male).", +"Target a specific video player size for video ads.", +"Target user rewarded content for video ads.", +"Target ads to a specific parental status (for example, parent or not a parent).", +"Target video or audio ads in a specific content instream position (for example, pre-roll, mid-roll, or post-roll).", +"Target ads in a specific content outstream position.", +"Target ads to a specific device type (for example, tablet or connected TV).", +"Target ads to an audience or groups of audiences. Singleton field, at most one can exist on a single Lineitem at a time.", +"Target ads to specific web browsers (for example, Chrome).", +"Target ads to a specific household income range (for example, top 10%).", +"Target ads in a specific on screen position.", +"Filter web sites through third party verification (for example, IAS or DoubleVerify).", +"Filter web sites by specific digital content label ratings (for example, DL-MA: suitable only for mature audiences).", +"Filter website content by sensitive categories (for example, adult).", +"Target ads to a specific environment (for example, web or app).", +"Target ads to a specific network carrier or internet service provider (ISP) (for example, Comcast or Orange).", +"Target ads to a specific operating system (for example, macOS).", +"Target ads to a specific device make or model (for example, Roku or Samsung).", +"Target ads to a specific keyword (for example, dog or retriever).", +"Target ads to a specific negative keyword list.", +"Target ads to a specific viewability (for example, 80% viewable).", +"Target ads to a specific content category (for example, arts & entertainment).", +"Purchase impressions from specific deals and auction packages.", +"Target ads to a specific language (for example, English or Japanese).", +"Target ads to ads.txt authorized sellers. If no targeting option of this type is assigned, the resource uses the \"Authorized Direct Sellers and Resellers\" option by default.", +"Target ads to a specific regional location (for example, a city or state).", +"Purchase impressions from a group of deals and auction packages.", +"Purchase impressions from specific exchanges.", +"Purchase impressions from specific sub-exchanges.", +"Target ads around a specific point of interest, such as a notable building, a street address, or latitude/longitude coordinates.", +"Target ads around locations of a business chain within a specific geo region.", +"Target ads to a specific video content duration.", +"Target ads to a specific video content stream type.", +"Target ads to a specific native content position.", +"Target ads in an Open Measurement enabled inventory.", +"Target ads to a specific audio content type.", +"Target ads to a specific content genre.", +"Target ads to a specific YouTube video. Targeting of this type cannot be created or updated using the API. Although this targeting is inherited by child resources, **inherited targeting of this type will not be retrieveable**.", +"Target ads to a specific YouTube channel. Targeting of this type cannot be created or updated using the API. Although this targeting is inherited by child resources, **inherited targeting of this type will not be retrieveable**.", +"Target ads to a serve it in a certain position of a session. Only supported for Ad Group resources under YouTube Programmatic Reservation line items. Targeting of this type cannot be created or updated using the API.", +"Filter website content by content themes (for example, religion). Only supported for Advertiser resources. Targeting of this type cannot be created or updated using the API. This targeting is only inherited by child YouTube and Demand Gen line item resources." +], +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v4/partners/{+partnerId}/targetingTypes/{+targetingType}/assignedTargetingOptions", +"request": { +"$ref": "AssignedTargetingOption" +}, +"response": { +"$ref": "AssignedTargetingOption" +}, +"scopes": [ +"https://www.googleapis.com/auth/display-video" +] +}, +"delete": { +"description": "Deletes an assigned targeting option from a partner.", +"flatPath": "v4/partners/{partnersId}/targetingTypes/{targetingTypesId}/assignedTargetingOptions/{assignedTargetingOptionsId}", +"httpMethod": "DELETE", +"id": "displayvideo.partners.targetingTypes.assignedTargetingOptions.delete", +"parameterOrder": [ +"partnerId", +"targetingType", +"assignedTargetingOptionId" +], +"parameters": { +"assignedTargetingOptionId": { +"description": "Required. The ID of the assigned targeting option to delete.", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"partnerId": { +"description": "Required. The ID of the partner.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"targetingType": { +"description": "Required. Identifies the type of this assigned targeting option. Supported targeting types: * `TARGETING_TYPE_CHANNEL`", +"enum": [ +"TARGETING_TYPE_UNSPECIFIED", +"TARGETING_TYPE_CHANNEL", +"TARGETING_TYPE_APP_CATEGORY", +"TARGETING_TYPE_APP", +"TARGETING_TYPE_URL", +"TARGETING_TYPE_DAY_AND_TIME", +"TARGETING_TYPE_AGE_RANGE", +"TARGETING_TYPE_REGIONAL_LOCATION_LIST", +"TARGETING_TYPE_PROXIMITY_LOCATION_LIST", +"TARGETING_TYPE_GENDER", +"TARGETING_TYPE_VIDEO_PLAYER_SIZE", +"TARGETING_TYPE_USER_REWARDED_CONTENT", +"TARGETING_TYPE_PARENTAL_STATUS", +"TARGETING_TYPE_CONTENT_INSTREAM_POSITION", +"TARGETING_TYPE_CONTENT_OUTSTREAM_POSITION", +"TARGETING_TYPE_DEVICE_TYPE", +"TARGETING_TYPE_AUDIENCE_GROUP", +"TARGETING_TYPE_BROWSER", +"TARGETING_TYPE_HOUSEHOLD_INCOME", +"TARGETING_TYPE_ON_SCREEN_POSITION", +"TARGETING_TYPE_THIRD_PARTY_VERIFIER", +"TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION", +"TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION", +"TARGETING_TYPE_ENVIRONMENT", +"TARGETING_TYPE_CARRIER_AND_ISP", +"TARGETING_TYPE_OPERATING_SYSTEM", +"TARGETING_TYPE_DEVICE_MAKE_MODEL", +"TARGETING_TYPE_KEYWORD", +"TARGETING_TYPE_NEGATIVE_KEYWORD_LIST", +"TARGETING_TYPE_VIEWABILITY", +"TARGETING_TYPE_CATEGORY", +"TARGETING_TYPE_INVENTORY_SOURCE", +"TARGETING_TYPE_LANGUAGE", +"TARGETING_TYPE_AUTHORIZED_SELLER_STATUS", +"TARGETING_TYPE_GEO_REGION", +"TARGETING_TYPE_INVENTORY_SOURCE_GROUP", +"TARGETING_TYPE_EXCHANGE", +"TARGETING_TYPE_SUB_EXCHANGE", +"TARGETING_TYPE_POI", +"TARGETING_TYPE_BUSINESS_CHAIN", +"TARGETING_TYPE_CONTENT_DURATION", +"TARGETING_TYPE_CONTENT_STREAM_TYPE", +"TARGETING_TYPE_NATIVE_CONTENT_POSITION", +"TARGETING_TYPE_OMID", +"TARGETING_TYPE_AUDIO_CONTENT_TYPE", +"TARGETING_TYPE_CONTENT_GENRE", +"TARGETING_TYPE_YOUTUBE_VIDEO", +"TARGETING_TYPE_YOUTUBE_CHANNEL", +"TARGETING_TYPE_SESSION_POSITION", +"TARGETING_TYPE_CONTENT_THEME_EXCLUSION" +], +"enumDescriptions": [ +"Default value when type is not specified or is unknown in this version.", +"Target a channel (a custom group of related websites or apps).", +"Target an app category (for example, education or puzzle games).", +"Target a specific app (for example, Angry Birds).", +"Target a specific url (for example, quora.com).", +"Target ads during a chosen time period on a specific day.", +"Target ads to a specific age range (for example, 18-24).", +"Target ads to the specified regions on a regional location list.", +"Target ads to the specified points of interest on a proximity location list.", +"Target ads to a specific gender (for example, female or male).", +"Target a specific video player size for video ads.", +"Target user rewarded content for video ads.", +"Target ads to a specific parental status (for example, parent or not a parent).", +"Target video or audio ads in a specific content instream position (for example, pre-roll, mid-roll, or post-roll).", +"Target ads in a specific content outstream position.", +"Target ads to a specific device type (for example, tablet or connected TV).", +"Target ads to an audience or groups of audiences. Singleton field, at most one can exist on a single Lineitem at a time.", +"Target ads to specific web browsers (for example, Chrome).", +"Target ads to a specific household income range (for example, top 10%).", +"Target ads in a specific on screen position.", +"Filter web sites through third party verification (for example, IAS or DoubleVerify).", +"Filter web sites by specific digital content label ratings (for example, DL-MA: suitable only for mature audiences).", +"Filter website content by sensitive categories (for example, adult).", +"Target ads to a specific environment (for example, web or app).", +"Target ads to a specific network carrier or internet service provider (ISP) (for example, Comcast or Orange).", +"Target ads to a specific operating system (for example, macOS).", +"Target ads to a specific device make or model (for example, Roku or Samsung).", +"Target ads to a specific keyword (for example, dog or retriever).", +"Target ads to a specific negative keyword list.", +"Target ads to a specific viewability (for example, 80% viewable).", +"Target ads to a specific content category (for example, arts & entertainment).", +"Purchase impressions from specific deals and auction packages.", +"Target ads to a specific language (for example, English or Japanese).", +"Target ads to ads.txt authorized sellers. If no targeting option of this type is assigned, the resource uses the \"Authorized Direct Sellers and Resellers\" option by default.", +"Target ads to a specific regional location (for example, a city or state).", +"Purchase impressions from a group of deals and auction packages.", +"Purchase impressions from specific exchanges.", +"Purchase impressions from specific sub-exchanges.", +"Target ads around a specific point of interest, such as a notable building, a street address, or latitude/longitude coordinates.", +"Target ads around locations of a business chain within a specific geo region.", +"Target ads to a specific video content duration.", +"Target ads to a specific video content stream type.", +"Target ads to a specific native content position.", +"Target ads in an Open Measurement enabled inventory.", +"Target ads to a specific audio content type.", +"Target ads to a specific content genre.", +"Target ads to a specific YouTube video. Targeting of this type cannot be created or updated using the API. Although this targeting is inherited by child resources, **inherited targeting of this type will not be retrieveable**.", +"Target ads to a specific YouTube channel. Targeting of this type cannot be created or updated using the API. Although this targeting is inherited by child resources, **inherited targeting of this type will not be retrieveable**.", +"Target ads to a serve it in a certain position of a session. Only supported for Ad Group resources under YouTube Programmatic Reservation line items. Targeting of this type cannot be created or updated using the API.", +"Filter website content by content themes (for example, religion). Only supported for Advertiser resources. Targeting of this type cannot be created or updated using the API. This targeting is only inherited by child YouTube and Demand Gen line item resources." +], +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v4/partners/{+partnerId}/targetingTypes/{+targetingType}/assignedTargetingOptions/{+assignedTargetingOptionId}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/display-video" +] +}, +"get": { +"description": "Gets a single targeting option assigned to a partner.", +"flatPath": "v4/partners/{partnersId}/targetingTypes/{targetingTypesId}/assignedTargetingOptions/{assignedTargetingOptionsId}", +"httpMethod": "GET", +"id": "displayvideo.partners.targetingTypes.assignedTargetingOptions.get", +"parameterOrder": [ +"partnerId", +"targetingType", +"assignedTargetingOptionId" +], +"parameters": { +"assignedTargetingOptionId": { +"description": "Required. An identifier unique to the targeting type in this partner that identifies the assigned targeting option being requested.", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"partnerId": { +"description": "Required. The ID of the partner.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"targetingType": { +"description": "Required. Identifies the type of this assigned targeting option. Supported targeting types: * `TARGETING_TYPE_CHANNEL`", +"enum": [ +"TARGETING_TYPE_UNSPECIFIED", +"TARGETING_TYPE_CHANNEL", +"TARGETING_TYPE_APP_CATEGORY", +"TARGETING_TYPE_APP", +"TARGETING_TYPE_URL", +"TARGETING_TYPE_DAY_AND_TIME", +"TARGETING_TYPE_AGE_RANGE", +"TARGETING_TYPE_REGIONAL_LOCATION_LIST", +"TARGETING_TYPE_PROXIMITY_LOCATION_LIST", +"TARGETING_TYPE_GENDER", +"TARGETING_TYPE_VIDEO_PLAYER_SIZE", +"TARGETING_TYPE_USER_REWARDED_CONTENT", +"TARGETING_TYPE_PARENTAL_STATUS", +"TARGETING_TYPE_CONTENT_INSTREAM_POSITION", +"TARGETING_TYPE_CONTENT_OUTSTREAM_POSITION", +"TARGETING_TYPE_DEVICE_TYPE", +"TARGETING_TYPE_AUDIENCE_GROUP", +"TARGETING_TYPE_BROWSER", +"TARGETING_TYPE_HOUSEHOLD_INCOME", +"TARGETING_TYPE_ON_SCREEN_POSITION", +"TARGETING_TYPE_THIRD_PARTY_VERIFIER", +"TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION", +"TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION", +"TARGETING_TYPE_ENVIRONMENT", +"TARGETING_TYPE_CARRIER_AND_ISP", +"TARGETING_TYPE_OPERATING_SYSTEM", +"TARGETING_TYPE_DEVICE_MAKE_MODEL", +"TARGETING_TYPE_KEYWORD", +"TARGETING_TYPE_NEGATIVE_KEYWORD_LIST", +"TARGETING_TYPE_VIEWABILITY", +"TARGETING_TYPE_CATEGORY", +"TARGETING_TYPE_INVENTORY_SOURCE", +"TARGETING_TYPE_LANGUAGE", +"TARGETING_TYPE_AUTHORIZED_SELLER_STATUS", +"TARGETING_TYPE_GEO_REGION", +"TARGETING_TYPE_INVENTORY_SOURCE_GROUP", +"TARGETING_TYPE_EXCHANGE", +"TARGETING_TYPE_SUB_EXCHANGE", +"TARGETING_TYPE_POI", +"TARGETING_TYPE_BUSINESS_CHAIN", +"TARGETING_TYPE_CONTENT_DURATION", +"TARGETING_TYPE_CONTENT_STREAM_TYPE", +"TARGETING_TYPE_NATIVE_CONTENT_POSITION", +"TARGETING_TYPE_OMID", +"TARGETING_TYPE_AUDIO_CONTENT_TYPE", +"TARGETING_TYPE_CONTENT_GENRE", +"TARGETING_TYPE_YOUTUBE_VIDEO", +"TARGETING_TYPE_YOUTUBE_CHANNEL", +"TARGETING_TYPE_SESSION_POSITION", +"TARGETING_TYPE_CONTENT_THEME_EXCLUSION" +], +"enumDescriptions": [ +"Default value when type is not specified or is unknown in this version.", +"Target a channel (a custom group of related websites or apps).", +"Target an app category (for example, education or puzzle games).", +"Target a specific app (for example, Angry Birds).", +"Target a specific url (for example, quora.com).", +"Target ads during a chosen time period on a specific day.", +"Target ads to a specific age range (for example, 18-24).", +"Target ads to the specified regions on a regional location list.", +"Target ads to the specified points of interest on a proximity location list.", +"Target ads to a specific gender (for example, female or male).", +"Target a specific video player size for video ads.", +"Target user rewarded content for video ads.", +"Target ads to a specific parental status (for example, parent or not a parent).", +"Target video or audio ads in a specific content instream position (for example, pre-roll, mid-roll, or post-roll).", +"Target ads in a specific content outstream position.", +"Target ads to a specific device type (for example, tablet or connected TV).", +"Target ads to an audience or groups of audiences. Singleton field, at most one can exist on a single Lineitem at a time.", +"Target ads to specific web browsers (for example, Chrome).", +"Target ads to a specific household income range (for example, top 10%).", +"Target ads in a specific on screen position.", +"Filter web sites through third party verification (for example, IAS or DoubleVerify).", +"Filter web sites by specific digital content label ratings (for example, DL-MA: suitable only for mature audiences).", +"Filter website content by sensitive categories (for example, adult).", +"Target ads to a specific environment (for example, web or app).", +"Target ads to a specific network carrier or internet service provider (ISP) (for example, Comcast or Orange).", +"Target ads to a specific operating system (for example, macOS).", +"Target ads to a specific device make or model (for example, Roku or Samsung).", +"Target ads to a specific keyword (for example, dog or retriever).", +"Target ads to a specific negative keyword list.", +"Target ads to a specific viewability (for example, 80% viewable).", +"Target ads to a specific content category (for example, arts & entertainment).", +"Purchase impressions from specific deals and auction packages.", +"Target ads to a specific language (for example, English or Japanese).", +"Target ads to ads.txt authorized sellers. If no targeting option of this type is assigned, the resource uses the \"Authorized Direct Sellers and Resellers\" option by default.", +"Target ads to a specific regional location (for example, a city or state).", +"Purchase impressions from a group of deals and auction packages.", +"Purchase impressions from specific exchanges.", +"Purchase impressions from specific sub-exchanges.", +"Target ads around a specific point of interest, such as a notable building, a street address, or latitude/longitude coordinates.", +"Target ads around locations of a business chain within a specific geo region.", +"Target ads to a specific video content duration.", +"Target ads to a specific video content stream type.", +"Target ads to a specific native content position.", +"Target ads in an Open Measurement enabled inventory.", +"Target ads to a specific audio content type.", +"Target ads to a specific content genre.", +"Target ads to a specific YouTube video. Targeting of this type cannot be created or updated using the API. Although this targeting is inherited by child resources, **inherited targeting of this type will not be retrieveable**.", +"Target ads to a specific YouTube channel. Targeting of this type cannot be created or updated using the API. Although this targeting is inherited by child resources, **inherited targeting of this type will not be retrieveable**.", +"Target ads to a serve it in a certain position of a session. Only supported for Ad Group resources under YouTube Programmatic Reservation line items. Targeting of this type cannot be created or updated using the API.", +"Filter website content by content themes (for example, religion). Only supported for Advertiser resources. Targeting of this type cannot be created or updated using the API. This targeting is only inherited by child YouTube and Demand Gen line item resources." +], +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v4/partners/{+partnerId}/targetingTypes/{+targetingType}/assignedTargetingOptions/{+assignedTargetingOptionId}", +"response": { +"$ref": "AssignedTargetingOption" +}, +"scopes": [ +"https://www.googleapis.com/auth/display-video" +] +}, +"list": { +"description": "Lists the targeting options assigned to a partner.", +"flatPath": "v4/partners/{partnersId}/targetingTypes/{targetingTypesId}/assignedTargetingOptions", +"httpMethod": "GET", +"id": "displayvideo.partners.targetingTypes.assignedTargetingOptions.list", +"parameterOrder": [ +"partnerId", +"targetingType" +], +"parameters": { +"filter": { +"description": "Allows filtering by assigned targeting option fields. Supported syntax: * Filter expressions are made up of one or more restrictions. * Restrictions can be combined by the logical operator `OR`. * A restriction has the form of `{field} {operator} {value}`. * All fields must use the `EQUALS (=)` operator. Supported fields: * `assignedTargetingOptionId` Examples: * `AssignedTargetingOption` resource with ID 123456: `assignedTargetingOptionId=\"123456\"` The length of this field should be no more than 500 characters. Reference our [filter `LIST` requests](/display-video/api/guides/how-tos/filters) guide for more information.", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "Field by which to sort the list. Acceptable values are: * `assignedTargetingOptionId` (default) The default sorting order is ascending. To specify descending order for a field, a suffix \"desc\" should be added to the field name. Example: `assignedTargetingOptionId desc`.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Requested page size. Must be between `1` and `200`. If unspecified will default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value is specified.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A token identifying a page of results the server should return. Typically, this is the value of next_page_token returned from the previous call to `ListPartnerAssignedTargetingOptions` method. If not specified, the first page of results will be returned.", +"location": "query", +"type": "string" +}, +"partnerId": { +"description": "Required. The ID of the partner.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"targetingType": { +"description": "Required. Identifies the type of assigned targeting options to list. Supported targeting types: * `TARGETING_TYPE_CHANNEL`", +"enum": [ +"TARGETING_TYPE_UNSPECIFIED", +"TARGETING_TYPE_CHANNEL", +"TARGETING_TYPE_APP_CATEGORY", +"TARGETING_TYPE_APP", +"TARGETING_TYPE_URL", +"TARGETING_TYPE_DAY_AND_TIME", +"TARGETING_TYPE_AGE_RANGE", +"TARGETING_TYPE_REGIONAL_LOCATION_LIST", +"TARGETING_TYPE_PROXIMITY_LOCATION_LIST", +"TARGETING_TYPE_GENDER", +"TARGETING_TYPE_VIDEO_PLAYER_SIZE", +"TARGETING_TYPE_USER_REWARDED_CONTENT", +"TARGETING_TYPE_PARENTAL_STATUS", +"TARGETING_TYPE_CONTENT_INSTREAM_POSITION", +"TARGETING_TYPE_CONTENT_OUTSTREAM_POSITION", +"TARGETING_TYPE_DEVICE_TYPE", +"TARGETING_TYPE_AUDIENCE_GROUP", +"TARGETING_TYPE_BROWSER", +"TARGETING_TYPE_HOUSEHOLD_INCOME", +"TARGETING_TYPE_ON_SCREEN_POSITION", +"TARGETING_TYPE_THIRD_PARTY_VERIFIER", +"TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION", +"TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION", +"TARGETING_TYPE_ENVIRONMENT", +"TARGETING_TYPE_CARRIER_AND_ISP", +"TARGETING_TYPE_OPERATING_SYSTEM", +"TARGETING_TYPE_DEVICE_MAKE_MODEL", +"TARGETING_TYPE_KEYWORD", +"TARGETING_TYPE_NEGATIVE_KEYWORD_LIST", +"TARGETING_TYPE_VIEWABILITY", +"TARGETING_TYPE_CATEGORY", +"TARGETING_TYPE_INVENTORY_SOURCE", +"TARGETING_TYPE_LANGUAGE", +"TARGETING_TYPE_AUTHORIZED_SELLER_STATUS", +"TARGETING_TYPE_GEO_REGION", +"TARGETING_TYPE_INVENTORY_SOURCE_GROUP", +"TARGETING_TYPE_EXCHANGE", +"TARGETING_TYPE_SUB_EXCHANGE", +"TARGETING_TYPE_POI", +"TARGETING_TYPE_BUSINESS_CHAIN", +"TARGETING_TYPE_CONTENT_DURATION", +"TARGETING_TYPE_CONTENT_STREAM_TYPE", +"TARGETING_TYPE_NATIVE_CONTENT_POSITION", +"TARGETING_TYPE_OMID", +"TARGETING_TYPE_AUDIO_CONTENT_TYPE", +"TARGETING_TYPE_CONTENT_GENRE", +"TARGETING_TYPE_YOUTUBE_VIDEO", +"TARGETING_TYPE_YOUTUBE_CHANNEL", +"TARGETING_TYPE_SESSION_POSITION", +"TARGETING_TYPE_CONTENT_THEME_EXCLUSION" +], +"enumDescriptions": [ +"Default value when type is not specified or is unknown in this version.", +"Target a channel (a custom group of related websites or apps).", +"Target an app category (for example, education or puzzle games).", +"Target a specific app (for example, Angry Birds).", +"Target a specific url (for example, quora.com).", +"Target ads during a chosen time period on a specific day.", +"Target ads to a specific age range (for example, 18-24).", +"Target ads to the specified regions on a regional location list.", +"Target ads to the specified points of interest on a proximity location list.", +"Target ads to a specific gender (for example, female or male).", +"Target a specific video player size for video ads.", +"Target user rewarded content for video ads.", +"Target ads to a specific parental status (for example, parent or not a parent).", +"Target video or audio ads in a specific content instream position (for example, pre-roll, mid-roll, or post-roll).", +"Target ads in a specific content outstream position.", +"Target ads to a specific device type (for example, tablet or connected TV).", +"Target ads to an audience or groups of audiences. Singleton field, at most one can exist on a single Lineitem at a time.", +"Target ads to specific web browsers (for example, Chrome).", +"Target ads to a specific household income range (for example, top 10%).", +"Target ads in a specific on screen position.", +"Filter web sites through third party verification (for example, IAS or DoubleVerify).", +"Filter web sites by specific digital content label ratings (for example, DL-MA: suitable only for mature audiences).", +"Filter website content by sensitive categories (for example, adult).", +"Target ads to a specific environment (for example, web or app).", +"Target ads to a specific network carrier or internet service provider (ISP) (for example, Comcast or Orange).", +"Target ads to a specific operating system (for example, macOS).", +"Target ads to a specific device make or model (for example, Roku or Samsung).", +"Target ads to a specific keyword (for example, dog or retriever).", +"Target ads to a specific negative keyword list.", +"Target ads to a specific viewability (for example, 80% viewable).", +"Target ads to a specific content category (for example, arts & entertainment).", +"Purchase impressions from specific deals and auction packages.", +"Target ads to a specific language (for example, English or Japanese).", +"Target ads to ads.txt authorized sellers. If no targeting option of this type is assigned, the resource uses the \"Authorized Direct Sellers and Resellers\" option by default.", +"Target ads to a specific regional location (for example, a city or state).", +"Purchase impressions from a group of deals and auction packages.", +"Purchase impressions from specific exchanges.", +"Purchase impressions from specific sub-exchanges.", +"Target ads around a specific point of interest, such as a notable building, a street address, or latitude/longitude coordinates.", +"Target ads around locations of a business chain within a specific geo region.", +"Target ads to a specific video content duration.", +"Target ads to a specific video content stream type.", +"Target ads to a specific native content position.", +"Target ads in an Open Measurement enabled inventory.", +"Target ads to a specific audio content type.", +"Target ads to a specific content genre.", +"Target ads to a specific YouTube video. Targeting of this type cannot be created or updated using the API. Although this targeting is inherited by child resources, **inherited targeting of this type will not be retrieveable**.", +"Target ads to a specific YouTube channel. Targeting of this type cannot be created or updated using the API. Although this targeting is inherited by child resources, **inherited targeting of this type will not be retrieveable**.", +"Target ads to a serve it in a certain position of a session. Only supported for Ad Group resources under YouTube Programmatic Reservation line items. Targeting of this type cannot be created or updated using the API.", +"Filter website content by content themes (for example, religion). Only supported for Advertiser resources. Targeting of this type cannot be created or updated using the API. This targeting is only inherited by child YouTube and Demand Gen line item resources." +], +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v4/partners/{+partnerId}/targetingTypes/{+targetingType}/assignedTargetingOptions", +"response": { +"$ref": "ListPartnerAssignedTargetingOptionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/display-video" +] +} +} +} +} +} +} +}, +"sdfdownloadtasks": { +"methods": { +"create": { +"description": "Creates an SDF Download Task. Returns an Operation. An SDF Download Task is a long-running, asynchronous operation. The metadata type of this operation is SdfDownloadTaskMetadata. If the request is successful, the response type of the operation is SdfDownloadTask. The response will not include the download files, which must be retrieved with media.download. The state of operation can be retrieved with `sdfdownloadtasks.operations.get`. Any errors can be found in the error.message. Note that error.details is expected to be empty.", +"flatPath": "v4/sdfdownloadtasks", +"httpMethod": "POST", +"id": "displayvideo.sdfdownloadtasks.create", +"parameterOrder": [], +"parameters": {}, +"path": "v4/sdfdownloadtasks", +"request": { +"$ref": "CreateSdfDownloadTaskRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/display-video" +] +} +}, +"resources": { +"operations": { +"methods": { +"get": { +"description": "Gets the latest state of an asynchronous SDF download task operation. Clients should poll this method at intervals of 30 seconds.", +"flatPath": "v4/sdfdownloadtasks/operations/{operationsId}", +"httpMethod": "GET", +"id": "displayvideo.sdfdownloadtasks.operations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource.", +"location": "path", +"pattern": "^sdfdownloadtasks/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v4/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/display-video", +"https://www.googleapis.com/auth/doubleclickbidmanager" +] +} +} +} +} +}, +"sdfuploadtasks": { +"resources": { +"operations": { +"methods": { +"get": { +"description": "Gets the latest state of an asynchronous SDF download task operation. Clients should poll this method at intervals of 30 seconds.", +"flatPath": "v4/sdfuploadtasks/operations/{operationsId}", +"httpMethod": "GET", +"id": "displayvideo.sdfuploadtasks.operations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource.", +"location": "path", +"pattern": "^sdfuploadtasks/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v4/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/display-video", +"https://www.googleapis.com/auth/doubleclickbidmanager" +] +} +} +} +} +}, +"targetingTypes": { +"resources": { +"targetingOptions": { +"methods": { +"get": { +"description": "Gets a single targeting option.", +"flatPath": "v4/targetingTypes/{targetingTypesId}/targetingOptions/{targetingOptionsId}", +"httpMethod": "GET", +"id": "displayvideo.targetingTypes.targetingOptions.get", +"parameterOrder": [ +"targetingType", +"targetingOptionId" +], +"parameters": { +"advertiserId": { +"description": "Required. The Advertiser this request is being made in the context of.", +"format": "int64", +"location": "query", +"type": "string" +}, +"targetingOptionId": { +"description": "Required. The ID of the of targeting option to retrieve.", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"targetingType": { +"description": "Required. The type of targeting option to retrieve. Accepted values are: * `TARGETING_TYPE_APP_CATEGORY` * `TARGETING_TYPE_AGE_RANGE` * `TARGETING_TYPE_GENDER` * `TARGETING_TYPE_VIDEO_PLAYER_SIZE` * `TARGETING_TYPE_USER_REWARDED_CONTENT` * `TARGETING_TYPE_PARENTAL_STATUS` * `TARGETING_TYPE_CONTENT_INSTREAM_POSITION` * `TARGETING_TYPE_CONTENT_OUTSTREAM_POSITION` * `TARGETING_TYPE_DEVICE_TYPE` * `TARGETING_TYPE_BROWSER` * `TARGETING_TYPE_HOUSEHOLD_INCOME` * `TARGETING_TYPE_ON_SCREEN_POSITION` * `TARGETING_TYPE_CARRIER_AND_ISP` * `TARGETING_TYPE_OPERATING_SYSTEM` * `TARGETING_TYPE_DEVICE_MAKE_MODEL` * `TARGETING_TYPE_ENVIRONMENT` * `TARGETING_TYPE_CATEGORY` * `TARGETING_TYPE_VIEWABILITY` * `TARGETING_TYPE_AUTHORIZED_SELLER_STATUS` * `TARGETING_TYPE_LANGUAGE` * `TARGETING_TYPE_GEO_REGION` * `TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION` * `TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION` * `TARGETING_TYPE_EXCHANGE` * `TARGETING_TYPE_SUB_EXCHANGE` * `TARGETING_TYPE_NATIVE_CONTENT_POSITION` * `TARGETING_TYPE_OMID`", +"enum": [ +"TARGETING_TYPE_UNSPECIFIED", +"TARGETING_TYPE_CHANNEL", +"TARGETING_TYPE_APP_CATEGORY", +"TARGETING_TYPE_APP", +"TARGETING_TYPE_URL", +"TARGETING_TYPE_DAY_AND_TIME", +"TARGETING_TYPE_AGE_RANGE", +"TARGETING_TYPE_REGIONAL_LOCATION_LIST", +"TARGETING_TYPE_PROXIMITY_LOCATION_LIST", +"TARGETING_TYPE_GENDER", +"TARGETING_TYPE_VIDEO_PLAYER_SIZE", +"TARGETING_TYPE_USER_REWARDED_CONTENT", +"TARGETING_TYPE_PARENTAL_STATUS", +"TARGETING_TYPE_CONTENT_INSTREAM_POSITION", +"TARGETING_TYPE_CONTENT_OUTSTREAM_POSITION", +"TARGETING_TYPE_DEVICE_TYPE", +"TARGETING_TYPE_AUDIENCE_GROUP", +"TARGETING_TYPE_BROWSER", +"TARGETING_TYPE_HOUSEHOLD_INCOME", +"TARGETING_TYPE_ON_SCREEN_POSITION", +"TARGETING_TYPE_THIRD_PARTY_VERIFIER", +"TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION", +"TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION", +"TARGETING_TYPE_ENVIRONMENT", +"TARGETING_TYPE_CARRIER_AND_ISP", +"TARGETING_TYPE_OPERATING_SYSTEM", +"TARGETING_TYPE_DEVICE_MAKE_MODEL", +"TARGETING_TYPE_KEYWORD", +"TARGETING_TYPE_NEGATIVE_KEYWORD_LIST", +"TARGETING_TYPE_VIEWABILITY", +"TARGETING_TYPE_CATEGORY", +"TARGETING_TYPE_INVENTORY_SOURCE", +"TARGETING_TYPE_LANGUAGE", +"TARGETING_TYPE_AUTHORIZED_SELLER_STATUS", +"TARGETING_TYPE_GEO_REGION", +"TARGETING_TYPE_INVENTORY_SOURCE_GROUP", +"TARGETING_TYPE_EXCHANGE", +"TARGETING_TYPE_SUB_EXCHANGE", +"TARGETING_TYPE_POI", +"TARGETING_TYPE_BUSINESS_CHAIN", +"TARGETING_TYPE_CONTENT_DURATION", +"TARGETING_TYPE_CONTENT_STREAM_TYPE", +"TARGETING_TYPE_NATIVE_CONTENT_POSITION", +"TARGETING_TYPE_OMID", +"TARGETING_TYPE_AUDIO_CONTENT_TYPE", +"TARGETING_TYPE_CONTENT_GENRE", +"TARGETING_TYPE_YOUTUBE_VIDEO", +"TARGETING_TYPE_YOUTUBE_CHANNEL", +"TARGETING_TYPE_SESSION_POSITION", +"TARGETING_TYPE_CONTENT_THEME_EXCLUSION" +], +"enumDescriptions": [ +"Default value when type is not specified or is unknown in this version.", +"Target a channel (a custom group of related websites or apps).", +"Target an app category (for example, education or puzzle games).", +"Target a specific app (for example, Angry Birds).", +"Target a specific url (for example, quora.com).", +"Target ads during a chosen time period on a specific day.", +"Target ads to a specific age range (for example, 18-24).", +"Target ads to the specified regions on a regional location list.", +"Target ads to the specified points of interest on a proximity location list.", +"Target ads to a specific gender (for example, female or male).", +"Target a specific video player size for video ads.", +"Target user rewarded content for video ads.", +"Target ads to a specific parental status (for example, parent or not a parent).", +"Target video or audio ads in a specific content instream position (for example, pre-roll, mid-roll, or post-roll).", +"Target ads in a specific content outstream position.", +"Target ads to a specific device type (for example, tablet or connected TV).", +"Target ads to an audience or groups of audiences. Singleton field, at most one can exist on a single Lineitem at a time.", +"Target ads to specific web browsers (for example, Chrome).", +"Target ads to a specific household income range (for example, top 10%).", +"Target ads in a specific on screen position.", +"Filter web sites through third party verification (for example, IAS or DoubleVerify).", +"Filter web sites by specific digital content label ratings (for example, DL-MA: suitable only for mature audiences).", +"Filter website content by sensitive categories (for example, adult).", +"Target ads to a specific environment (for example, web or app).", +"Target ads to a specific network carrier or internet service provider (ISP) (for example, Comcast or Orange).", +"Target ads to a specific operating system (for example, macOS).", +"Target ads to a specific device make or model (for example, Roku or Samsung).", +"Target ads to a specific keyword (for example, dog or retriever).", +"Target ads to a specific negative keyword list.", +"Target ads to a specific viewability (for example, 80% viewable).", +"Target ads to a specific content category (for example, arts & entertainment).", +"Purchase impressions from specific deals and auction packages.", +"Target ads to a specific language (for example, English or Japanese).", +"Target ads to ads.txt authorized sellers. If no targeting option of this type is assigned, the resource uses the \"Authorized Direct Sellers and Resellers\" option by default.", +"Target ads to a specific regional location (for example, a city or state).", +"Purchase impressions from a group of deals and auction packages.", +"Purchase impressions from specific exchanges.", +"Purchase impressions from specific sub-exchanges.", +"Target ads around a specific point of interest, such as a notable building, a street address, or latitude/longitude coordinates.", +"Target ads around locations of a business chain within a specific geo region.", +"Target ads to a specific video content duration.", +"Target ads to a specific video content stream type.", +"Target ads to a specific native content position.", +"Target ads in an Open Measurement enabled inventory.", +"Target ads to a specific audio content type.", +"Target ads to a specific content genre.", +"Target ads to a specific YouTube video. Targeting of this type cannot be created or updated using the API. Although this targeting is inherited by child resources, **inherited targeting of this type will not be retrieveable**.", +"Target ads to a specific YouTube channel. Targeting of this type cannot be created or updated using the API. Although this targeting is inherited by child resources, **inherited targeting of this type will not be retrieveable**.", +"Target ads to a serve it in a certain position of a session. Only supported for Ad Group resources under YouTube Programmatic Reservation line items. Targeting of this type cannot be created or updated using the API.", +"Filter website content by content themes (for example, religion). Only supported for Advertiser resources. Targeting of this type cannot be created or updated using the API. This targeting is only inherited by child YouTube and Demand Gen line item resources." +], +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v4/targetingTypes/{+targetingType}/targetingOptions/{+targetingOptionId}", +"response": { +"$ref": "TargetingOption" +}, +"scopes": [ +"https://www.googleapis.com/auth/display-video" +] +}, +"list": { +"description": "Lists targeting options of a given type.", +"flatPath": "v4/targetingTypes/{targetingTypesId}/targetingOptions", +"httpMethod": "GET", +"id": "displayvideo.targetingTypes.targetingOptions.list", +"parameterOrder": [ +"targetingType" +], +"parameters": { +"advertiserId": { +"description": "Required. The Advertiser this request is being made in the context of.", +"format": "int64", +"location": "query", +"type": "string" +}, +"filter": { +"description": "Allows filtering by targeting option fields. Supported syntax: * Filter expressions are made up of one or more restrictions. * Restrictions can be combined by `OR` logical operators. * A restriction has the form of `{field} {operator} {value}`. * All fields must use the `EQUALS (=)` operator. Supported fields: * `carrierAndIspDetails.type` * `geoRegionDetails.geoRegionType` * `targetingOptionId` Examples: * All `GEO REGION` targeting options that belong to sub type `GEO_REGION_TYPE_COUNTRY` or `GEO_REGION_TYPE_STATE`: `geoRegionDetails.geoRegionType=\"GEO_REGION_TYPE_COUNTRY\" OR geoRegionDetails.geoRegionType=\"GEO_REGION_TYPE_STATE\"` * All `CARRIER AND ISP` targeting options that belong to sub type `CARRIER_AND_ISP_TYPE_CARRIER`: `carrierAndIspDetails.type=\"CARRIER_AND_ISP_TYPE_CARRIER\"` The length of this field should be no more than 500 characters. Reference our [filter `LIST` requests](/display-video/api/guides/how-tos/filters) guide for more information.", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "Field by which to sort the list. Acceptable values are: * `targetingOptionId` (default) The default sorting order is ascending. To specify descending order for a field, a suffix \"desc\" should be added to the field name. Example: `targetingOptionId desc`.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Requested page size. Must be between `1` and `200`. If unspecified will default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value is specified.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A token identifying a page of results the server should return. Typically, this is the value of next_page_token returned from the previous call to `ListTargetingOptions` method. If not specified, the first page of results will be returned.", +"location": "query", +"type": "string" +}, +"targetingType": { +"description": "Required. The type of targeting option to be listed. Accepted values are: * `TARGETING_TYPE_APP_CATEGORY` * `TARGETING_TYPE_AGE_RANGE` * `TARGETING_TYPE_GENDER` * `TARGETING_TYPE_VIDEO_PLAYER_SIZE` * `TARGETING_TYPE_USER_REWARDED_CONTENT` * `TARGETING_TYPE_PARENTAL_STATUS` * `TARGETING_TYPE_CONTENT_INSTREAM_POSITION` * `TARGETING_TYPE_CONTENT_OUTSTREAM_POSITION` * `TARGETING_TYPE_DEVICE_TYPE` * `TARGETING_TYPE_BROWSER` * `TARGETING_TYPE_HOUSEHOLD_INCOME` * `TARGETING_TYPE_ON_SCREEN_POSITION` * `TARGETING_TYPE_CARRIER_AND_ISP` * `TARGETING_TYPE_OPERATING_SYSTEM` * `TARGETING_TYPE_DEVICE_MAKE_MODEL` * `TARGETING_TYPE_ENVIRONMENT` * `TARGETING_TYPE_CATEGORY` * `TARGETING_TYPE_VIEWABILITY` * `TARGETING_TYPE_AUTHORIZED_SELLER_STATUS` * `TARGETING_TYPE_LANGUAGE` * `TARGETING_TYPE_GEO_REGION` * `TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION` * `TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION` * `TARGETING_TYPE_EXCHANGE` * `TARGETING_TYPE_SUB_EXCHANGE` * `TARGETING_TYPE_NATIVE_CONTENT_POSITION` * `TARGETING_TYPE_OMID`", +"enum": [ +"TARGETING_TYPE_UNSPECIFIED", +"TARGETING_TYPE_CHANNEL", +"TARGETING_TYPE_APP_CATEGORY", +"TARGETING_TYPE_APP", +"TARGETING_TYPE_URL", +"TARGETING_TYPE_DAY_AND_TIME", +"TARGETING_TYPE_AGE_RANGE", +"TARGETING_TYPE_REGIONAL_LOCATION_LIST", +"TARGETING_TYPE_PROXIMITY_LOCATION_LIST", +"TARGETING_TYPE_GENDER", +"TARGETING_TYPE_VIDEO_PLAYER_SIZE", +"TARGETING_TYPE_USER_REWARDED_CONTENT", +"TARGETING_TYPE_PARENTAL_STATUS", +"TARGETING_TYPE_CONTENT_INSTREAM_POSITION", +"TARGETING_TYPE_CONTENT_OUTSTREAM_POSITION", +"TARGETING_TYPE_DEVICE_TYPE", +"TARGETING_TYPE_AUDIENCE_GROUP", +"TARGETING_TYPE_BROWSER", +"TARGETING_TYPE_HOUSEHOLD_INCOME", +"TARGETING_TYPE_ON_SCREEN_POSITION", +"TARGETING_TYPE_THIRD_PARTY_VERIFIER", +"TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION", +"TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION", +"TARGETING_TYPE_ENVIRONMENT", +"TARGETING_TYPE_CARRIER_AND_ISP", +"TARGETING_TYPE_OPERATING_SYSTEM", +"TARGETING_TYPE_DEVICE_MAKE_MODEL", +"TARGETING_TYPE_KEYWORD", +"TARGETING_TYPE_NEGATIVE_KEYWORD_LIST", +"TARGETING_TYPE_VIEWABILITY", +"TARGETING_TYPE_CATEGORY", +"TARGETING_TYPE_INVENTORY_SOURCE", +"TARGETING_TYPE_LANGUAGE", +"TARGETING_TYPE_AUTHORIZED_SELLER_STATUS", +"TARGETING_TYPE_GEO_REGION", +"TARGETING_TYPE_INVENTORY_SOURCE_GROUP", +"TARGETING_TYPE_EXCHANGE", +"TARGETING_TYPE_SUB_EXCHANGE", +"TARGETING_TYPE_POI", +"TARGETING_TYPE_BUSINESS_CHAIN", +"TARGETING_TYPE_CONTENT_DURATION", +"TARGETING_TYPE_CONTENT_STREAM_TYPE", +"TARGETING_TYPE_NATIVE_CONTENT_POSITION", +"TARGETING_TYPE_OMID", +"TARGETING_TYPE_AUDIO_CONTENT_TYPE", +"TARGETING_TYPE_CONTENT_GENRE", +"TARGETING_TYPE_YOUTUBE_VIDEO", +"TARGETING_TYPE_YOUTUBE_CHANNEL", +"TARGETING_TYPE_SESSION_POSITION", +"TARGETING_TYPE_CONTENT_THEME_EXCLUSION" +], +"enumDescriptions": [ +"Default value when type is not specified or is unknown in this version.", +"Target a channel (a custom group of related websites or apps).", +"Target an app category (for example, education or puzzle games).", +"Target a specific app (for example, Angry Birds).", +"Target a specific url (for example, quora.com).", +"Target ads during a chosen time period on a specific day.", +"Target ads to a specific age range (for example, 18-24).", +"Target ads to the specified regions on a regional location list.", +"Target ads to the specified points of interest on a proximity location list.", +"Target ads to a specific gender (for example, female or male).", +"Target a specific video player size for video ads.", +"Target user rewarded content for video ads.", +"Target ads to a specific parental status (for example, parent or not a parent).", +"Target video or audio ads in a specific content instream position (for example, pre-roll, mid-roll, or post-roll).", +"Target ads in a specific content outstream position.", +"Target ads to a specific device type (for example, tablet or connected TV).", +"Target ads to an audience or groups of audiences. Singleton field, at most one can exist on a single Lineitem at a time.", +"Target ads to specific web browsers (for example, Chrome).", +"Target ads to a specific household income range (for example, top 10%).", +"Target ads in a specific on screen position.", +"Filter web sites through third party verification (for example, IAS or DoubleVerify).", +"Filter web sites by specific digital content label ratings (for example, DL-MA: suitable only for mature audiences).", +"Filter website content by sensitive categories (for example, adult).", +"Target ads to a specific environment (for example, web or app).", +"Target ads to a specific network carrier or internet service provider (ISP) (for example, Comcast or Orange).", +"Target ads to a specific operating system (for example, macOS).", +"Target ads to a specific device make or model (for example, Roku or Samsung).", +"Target ads to a specific keyword (for example, dog or retriever).", +"Target ads to a specific negative keyword list.", +"Target ads to a specific viewability (for example, 80% viewable).", +"Target ads to a specific content category (for example, arts & entertainment).", +"Purchase impressions from specific deals and auction packages.", +"Target ads to a specific language (for example, English or Japanese).", +"Target ads to ads.txt authorized sellers. If no targeting option of this type is assigned, the resource uses the \"Authorized Direct Sellers and Resellers\" option by default.", +"Target ads to a specific regional location (for example, a city or state).", +"Purchase impressions from a group of deals and auction packages.", +"Purchase impressions from specific exchanges.", +"Purchase impressions from specific sub-exchanges.", +"Target ads around a specific point of interest, such as a notable building, a street address, or latitude/longitude coordinates.", +"Target ads around locations of a business chain within a specific geo region.", +"Target ads to a specific video content duration.", +"Target ads to a specific video content stream type.", +"Target ads to a specific native content position.", +"Target ads in an Open Measurement enabled inventory.", +"Target ads to a specific audio content type.", +"Target ads to a specific content genre.", +"Target ads to a specific YouTube video. Targeting of this type cannot be created or updated using the API. Although this targeting is inherited by child resources, **inherited targeting of this type will not be retrieveable**.", +"Target ads to a specific YouTube channel. Targeting of this type cannot be created or updated using the API. Although this targeting is inherited by child resources, **inherited targeting of this type will not be retrieveable**.", +"Target ads to a serve it in a certain position of a session. Only supported for Ad Group resources under YouTube Programmatic Reservation line items. Targeting of this type cannot be created or updated using the API.", +"Filter website content by content themes (for example, religion). Only supported for Advertiser resources. Targeting of this type cannot be created or updated using the API. This targeting is only inherited by child YouTube and Demand Gen line item resources." +], +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v4/targetingTypes/{+targetingType}/targetingOptions", +"response": { +"$ref": "ListTargetingOptionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/display-video" +] +}, +"search": { +"description": "Searches for targeting options of a given type based on the given search terms.", +"flatPath": "v4/targetingTypes/{targetingTypesId}/targetingOptions:search", +"httpMethod": "POST", +"id": "displayvideo.targetingTypes.targetingOptions.search", +"parameterOrder": [ +"targetingType" +], +"parameters": { +"targetingType": { +"description": "Required. The type of targeting options to retrieve. Accepted values are: * `TARGETING_TYPE_GEO_REGION` * `TARGETING_TYPE_POI` * `TARGETING_TYPE_BUSINESS_CHAIN`", +"enum": [ +"TARGETING_TYPE_UNSPECIFIED", +"TARGETING_TYPE_CHANNEL", +"TARGETING_TYPE_APP_CATEGORY", +"TARGETING_TYPE_APP", +"TARGETING_TYPE_URL", +"TARGETING_TYPE_DAY_AND_TIME", +"TARGETING_TYPE_AGE_RANGE", +"TARGETING_TYPE_REGIONAL_LOCATION_LIST", +"TARGETING_TYPE_PROXIMITY_LOCATION_LIST", +"TARGETING_TYPE_GENDER", +"TARGETING_TYPE_VIDEO_PLAYER_SIZE", +"TARGETING_TYPE_USER_REWARDED_CONTENT", +"TARGETING_TYPE_PARENTAL_STATUS", +"TARGETING_TYPE_CONTENT_INSTREAM_POSITION", +"TARGETING_TYPE_CONTENT_OUTSTREAM_POSITION", +"TARGETING_TYPE_DEVICE_TYPE", +"TARGETING_TYPE_AUDIENCE_GROUP", +"TARGETING_TYPE_BROWSER", +"TARGETING_TYPE_HOUSEHOLD_INCOME", +"TARGETING_TYPE_ON_SCREEN_POSITION", +"TARGETING_TYPE_THIRD_PARTY_VERIFIER", +"TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION", +"TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION", +"TARGETING_TYPE_ENVIRONMENT", +"TARGETING_TYPE_CARRIER_AND_ISP", +"TARGETING_TYPE_OPERATING_SYSTEM", +"TARGETING_TYPE_DEVICE_MAKE_MODEL", +"TARGETING_TYPE_KEYWORD", +"TARGETING_TYPE_NEGATIVE_KEYWORD_LIST", +"TARGETING_TYPE_VIEWABILITY", +"TARGETING_TYPE_CATEGORY", +"TARGETING_TYPE_INVENTORY_SOURCE", +"TARGETING_TYPE_LANGUAGE", +"TARGETING_TYPE_AUTHORIZED_SELLER_STATUS", +"TARGETING_TYPE_GEO_REGION", +"TARGETING_TYPE_INVENTORY_SOURCE_GROUP", +"TARGETING_TYPE_EXCHANGE", +"TARGETING_TYPE_SUB_EXCHANGE", +"TARGETING_TYPE_POI", +"TARGETING_TYPE_BUSINESS_CHAIN", +"TARGETING_TYPE_CONTENT_DURATION", +"TARGETING_TYPE_CONTENT_STREAM_TYPE", +"TARGETING_TYPE_NATIVE_CONTENT_POSITION", +"TARGETING_TYPE_OMID", +"TARGETING_TYPE_AUDIO_CONTENT_TYPE", +"TARGETING_TYPE_CONTENT_GENRE", +"TARGETING_TYPE_YOUTUBE_VIDEO", +"TARGETING_TYPE_YOUTUBE_CHANNEL", +"TARGETING_TYPE_SESSION_POSITION", +"TARGETING_TYPE_CONTENT_THEME_EXCLUSION" +], +"enumDescriptions": [ +"Default value when type is not specified or is unknown in this version.", +"Target a channel (a custom group of related websites or apps).", +"Target an app category (for example, education or puzzle games).", +"Target a specific app (for example, Angry Birds).", +"Target a specific url (for example, quora.com).", +"Target ads during a chosen time period on a specific day.", +"Target ads to a specific age range (for example, 18-24).", +"Target ads to the specified regions on a regional location list.", +"Target ads to the specified points of interest on a proximity location list.", +"Target ads to a specific gender (for example, female or male).", +"Target a specific video player size for video ads.", +"Target user rewarded content for video ads.", +"Target ads to a specific parental status (for example, parent or not a parent).", +"Target video or audio ads in a specific content instream position (for example, pre-roll, mid-roll, or post-roll).", +"Target ads in a specific content outstream position.", +"Target ads to a specific device type (for example, tablet or connected TV).", +"Target ads to an audience or groups of audiences. Singleton field, at most one can exist on a single Lineitem at a time.", +"Target ads to specific web browsers (for example, Chrome).", +"Target ads to a specific household income range (for example, top 10%).", +"Target ads in a specific on screen position.", +"Filter web sites through third party verification (for example, IAS or DoubleVerify).", +"Filter web sites by specific digital content label ratings (for example, DL-MA: suitable only for mature audiences).", +"Filter website content by sensitive categories (for example, adult).", +"Target ads to a specific environment (for example, web or app).", +"Target ads to a specific network carrier or internet service provider (ISP) (for example, Comcast or Orange).", +"Target ads to a specific operating system (for example, macOS).", +"Target ads to a specific device make or model (for example, Roku or Samsung).", +"Target ads to a specific keyword (for example, dog or retriever).", +"Target ads to a specific negative keyword list.", +"Target ads to a specific viewability (for example, 80% viewable).", +"Target ads to a specific content category (for example, arts & entertainment).", +"Purchase impressions from specific deals and auction packages.", +"Target ads to a specific language (for example, English or Japanese).", +"Target ads to ads.txt authorized sellers. If no targeting option of this type is assigned, the resource uses the \"Authorized Direct Sellers and Resellers\" option by default.", +"Target ads to a specific regional location (for example, a city or state).", +"Purchase impressions from a group of deals and auction packages.", +"Purchase impressions from specific exchanges.", +"Purchase impressions from specific sub-exchanges.", +"Target ads around a specific point of interest, such as a notable building, a street address, or latitude/longitude coordinates.", +"Target ads around locations of a business chain within a specific geo region.", +"Target ads to a specific video content duration.", +"Target ads to a specific video content stream type.", +"Target ads to a specific native content position.", +"Target ads in an Open Measurement enabled inventory.", +"Target ads to a specific audio content type.", +"Target ads to a specific content genre.", +"Target ads to a specific YouTube video. Targeting of this type cannot be created or updated using the API. Although this targeting is inherited by child resources, **inherited targeting of this type will not be retrieveable**.", +"Target ads to a specific YouTube channel. Targeting of this type cannot be created or updated using the API. Although this targeting is inherited by child resources, **inherited targeting of this type will not be retrieveable**.", +"Target ads to a serve it in a certain position of a session. Only supported for Ad Group resources under YouTube Programmatic Reservation line items. Targeting of this type cannot be created or updated using the API.", +"Filter website content by content themes (for example, religion). Only supported for Advertiser resources. Targeting of this type cannot be created or updated using the API. This targeting is only inherited by child YouTube and Demand Gen line item resources." +], +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v4/targetingTypes/{+targetingType}/targetingOptions:search", +"request": { +"$ref": "SearchTargetingOptionsRequest" +}, +"response": { +"$ref": "SearchTargetingOptionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/display-video" +] +} +} +} +} +}, +"users": { +"methods": { +"bulkEditAssignedUserRoles": { +"description": "Bulk edits user roles for a user. The operation will delete the assigned user roles provided in BulkEditAssignedUserRolesRequest.deletedAssignedUserRoles and then assign the user roles provided in BulkEditAssignedUserRolesRequest.createdAssignedUserRoles. This method has unique authentication requirements. Read the prerequisites in our [Managing Users guide](/display-video/api/guides/users/overview#prerequisites) before using this method. The \"Try this method\" feature does not work for this method.", +"flatPath": "v4/users/{usersId}:bulkEditAssignedUserRoles", +"httpMethod": "POST", +"id": "displayvideo.users.bulkEditAssignedUserRoles", +"parameterOrder": [ +"userId" +], +"parameters": { +"userId": { +"description": "Required. The ID of the user to which the assigned user roles belong.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v4/users/{+userId}:bulkEditAssignedUserRoles", +"request": { +"$ref": "BulkEditAssignedUserRolesRequest" +}, +"response": { +"$ref": "BulkEditAssignedUserRolesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/display-video-user-management" +] +}, +"create": { +"description": "Creates a new user. Returns the newly created user if successful. This method has unique authentication requirements. Read the prerequisites in our [Managing Users guide](/display-video/api/guides/users/overview#prerequisites) before using this method. The \"Try this method\" feature does not work for this method.", +"flatPath": "v4/users", +"httpMethod": "POST", +"id": "displayvideo.users.create", +"parameterOrder": [], +"parameters": {}, +"path": "v4/users", +"request": { +"$ref": "User" +}, +"response": { +"$ref": "User" +}, +"scopes": [ +"https://www.googleapis.com/auth/display-video-user-management" +] +}, +"delete": { +"description": "Deletes a user. This method has unique authentication requirements. Read the prerequisites in our [Managing Users guide](/display-video/api/guides/users/overview#prerequisites) before using this method. The \"Try this method\" feature does not work for this method.", +"flatPath": "v4/users/{usersId}", +"httpMethod": "DELETE", +"id": "displayvideo.users.delete", +"parameterOrder": [ +"userId" +], +"parameters": { +"userId": { +"description": "Required. The ID of the user to delete.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v4/users/{+userId}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/display-video-user-management" +] +}, +"get": { +"description": "Gets a user. This method has unique authentication requirements. Read the prerequisites in our [Managing Users guide](/display-video/api/guides/users/overview#prerequisites) before using this method. The \"Try this method\" feature does not work for this method.", +"flatPath": "v4/users/{usersId}", +"httpMethod": "GET", +"id": "displayvideo.users.get", +"parameterOrder": [ +"userId" +], +"parameters": { +"userId": { +"description": "Required. The ID of the user to fetch.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v4/users/{+userId}", +"response": { +"$ref": "User" +}, +"scopes": [ +"https://www.googleapis.com/auth/display-video-user-management" +] +}, +"list": { +"description": "Lists users that are accessible to the current user. If two users have user roles on the same partner or advertiser, they can access each other. This method has unique authentication requirements. Read the prerequisites in our [Managing Users guide](/display-video/api/guides/users/overview#prerequisites) before using this method. The \"Try this method\" feature does not work for this method.", +"flatPath": "v4/users", +"httpMethod": "GET", +"id": "displayvideo.users.list", +"parameterOrder": [], +"parameters": { +"filter": { +"description": "Allows filtering by user fields. Supported syntax: * Filter expressions are made up of one or more restrictions. * Restrictions can be combined by the logical operator `AND`. * A restriction has the form of `{field} {operator} {value}`. * The `displayName` and `email` fields must use the `HAS (:)` operator. * The `lastLoginTime` field must use either the `LESS THAN OR EQUAL TO (<=)` or `GREATER THAN OR EQUAL TO (>=)` operator. * All other fields must use the `EQUALS (=)` operator. Supported fields: * `assignedUserRole.advertiserId` * `assignedUserRole.entityType`: This is synthetic field of `AssignedUserRole` used for filtering. Identifies the type of entity to which the user role is assigned. Valid values are `Partner` and `Advertiser`. * `assignedUserRole.parentPartnerId`: This is a synthetic field of `AssignedUserRole` used for filtering. Identifies the parent partner of the entity to which the user role is assigned. * `assignedUserRole.partnerId` * `assignedUserRole.userRole` * `displayName` * `email` * `lastLoginTime` (input in ISO 8601 format, or `YYYY-MM-DDTHH:MM:SSZ`) Examples: * The user with `displayName` containing \"foo\": `displayName:\"foo\"` * The user with `email` containing \"bar\": `email:\"bar\"` * All users with standard user roles: `assignedUserRole.userRole=\"STANDARD\"` * All users with user roles for partner 123: `assignedUserRole.partnerId=\"123\"` * All users with user roles for advertiser 123: `assignedUserRole.advertiserId=\"123\"` * All users with partner level user roles: `entityType=\"PARTNER\"` * All users with user roles for partner 123 and advertisers under partner 123: `parentPartnerId=\"123\"` * All users that last logged in on or after 2023-01-01T00:00:00Z (format of ISO 8601): `lastLoginTime>=\"2023-01-01T00:00:00Z\"` The length of this field should be no more than 500 characters. Reference our [filter `LIST` requests](/display-video/api/guides/how-tos/filters) guide for more information.", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "Field by which to sort the list. Acceptable values are: * `displayName` (default) The default sorting order is ascending. To specify descending order for a field, a suffix \"desc\" should be added to the field name. For example, `displayName desc`.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Requested page size. Must be between `1` and `200`. If unspecified will default to `100`.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A token identifying a page of results the server should return. Typically, this is the value of next_page_token returned from the previous call to `ListUsers` method. If not specified, the first page of results will be returned.", +"location": "query", +"type": "string" +} +}, +"path": "v4/users", +"response": { +"$ref": "ListUsersResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/display-video-user-management" +] +}, +"patch": { +"description": "Updates an existing user. Returns the updated user if successful. This method has unique authentication requirements. Read the prerequisites in our [Managing Users guide](/display-video/api/guides/users/overview#prerequisites) before using this method. The \"Try this method\" feature does not work for this method.", +"flatPath": "v4/users/{usersId}", +"httpMethod": "PATCH", +"id": "displayvideo.users.patch", +"parameterOrder": [ +"userId" +], +"parameters": { +"updateMask": { +"description": "Required. The mask to control which fields to update.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +}, +"userId": { +"description": "Output only. The unique ID of the user. Assigned by the system.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v4/users/{+userId}", +"request": { +"$ref": "User" +}, +"response": { +"$ref": "User" +}, +"scopes": [ +"https://www.googleapis.com/auth/display-video-user-management" +] +} +} +} +}, +"revision": "20260224", +"rootUrl": "https://displayvideo.googleapis.com/", +"schemas": { +"ActiveViewVideoViewabilityMetricConfig": { +"description": "Configuration for custom Active View video viewability metrics.", +"id": "ActiveViewVideoViewabilityMetricConfig", +"properties": { +"displayName": { +"description": "Required. The display name of the custom metric.", +"type": "string" +}, +"minimumDuration": { +"description": "The minimum visible video duration required (in seconds) in order for an impression to be recorded. You must specify minimum_duration, minimum_quartile or both. If both are specified, an impression meets the metric criteria if either requirement is met (whichever happens first).", +"enum": [ +"VIDEO_DURATION_UNSPECIFIED", +"VIDEO_DURATION_SECONDS_NONE", +"VIDEO_DURATION_SECONDS_0", +"VIDEO_DURATION_SECONDS_1", +"VIDEO_DURATION_SECONDS_2", +"VIDEO_DURATION_SECONDS_3", +"VIDEO_DURATION_SECONDS_4", +"VIDEO_DURATION_SECONDS_5", +"VIDEO_DURATION_SECONDS_6", +"VIDEO_DURATION_SECONDS_7", +"VIDEO_DURATION_SECONDS_8", +"VIDEO_DURATION_SECONDS_9", +"VIDEO_DURATION_SECONDS_10", +"VIDEO_DURATION_SECONDS_11", +"VIDEO_DURATION_SECONDS_12", +"VIDEO_DURATION_SECONDS_13", +"VIDEO_DURATION_SECONDS_14", +"VIDEO_DURATION_SECONDS_15", +"VIDEO_DURATION_SECONDS_30", +"VIDEO_DURATION_SECONDS_45", +"VIDEO_DURATION_SECONDS_60" +], +"enumDescriptions": [ +"Value is not specified or is unknown in this version.", +"No duration value.", +"0 seconds.", +"1 second.", +"2 seconds.", +"3 seconds.", +"4 seconds.", +"5 seconds.", +"6 seconds.", +"7 seconds.", +"8 seconds.", +"9 seconds.", +"10 seconds.", +"11 seconds.", +"12 seconds.", +"13 seconds.", +"14 seconds.", +"15 seconds.", +"30 seconds.", +"45 seconds.", +"60 seconds." +], +"type": "string" +}, +"minimumQuartile": { +"description": "The minimum visible video duration required, based on the video quartiles, in order for an impression to be recorded. You must specify minimum_duration, minimum_quartile or both. If both are specified, an impression meets the metric criteria if either requirement is met (whichever happens first).", +"enum": [ +"VIDEO_DURATION_QUARTILE_UNSPECIFIED", +"VIDEO_DURATION_QUARTILE_NONE", +"VIDEO_DURATION_QUARTILE_FIRST", +"VIDEO_DURATION_QUARTILE_SECOND", +"VIDEO_DURATION_QUARTILE_THIRD", +"VIDEO_DURATION_QUARTILE_FOURTH" +], +"enumDescriptions": [ +"Value is not specified or is unknown in this version.", +"No quartile value.", +"First quartile.", +"Second quartile (midpoint).", +"Third quartile.", +"Fourth quartile (completion)." +], +"type": "string" +}, +"minimumViewability": { +"description": "Required. The minimum percentage of the video ad's pixels visible on the screen in order for an impression to be recorded.", +"enum": [ +"VIEWABILITY_PERCENT_UNSPECIFIED", +"VIEWABILITY_PERCENT_0", +"VIEWABILITY_PERCENT_25", +"VIEWABILITY_PERCENT_50", +"VIEWABILITY_PERCENT_75", +"VIEWABILITY_PERCENT_100" +], +"enumDescriptions": [ +"Value is not specified or is unknown in this version.", +"0% viewable.", +"25% viewable.", +"50% viewable.", +"75% viewable.", +"100% viewable." +], +"type": "string" +}, +"minimumVolume": { +"description": "Required. The minimum percentage of the video ad's volume required in order for an impression to be recorded.", +"enum": [ +"VIDEO_VOLUME_PERCENT_UNSPECIFIED", +"VIDEO_VOLUME_PERCENT_0", +"VIDEO_VOLUME_PERCENT_10" +], +"enumDescriptions": [ +"Value is not specified or is unknown in this version.", +"0% volume.", +"10% volume." +], +"type": "string" +} +}, +"type": "object" +}, +"AdAsset": { +"description": "A single ad asset.", +"id": "AdAsset", +"properties": { +"adAssetId": { +"description": "Output only. The ID of the ad asset. Referred to as the asset ID when assigned to an ad.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"adAssetType": { +"description": "Required. The type of the ad asset.", +"enum": [ +"AD_ASSET_TYPE_UNSPECIFIED", +"AD_ASSET_TYPE_IMAGE", +"AD_ASSET_TYPE_YOUTUBE_VIDEO" +], +"enumDescriptions": [ +"The ad asset type is unspecified.", +"The ad asset is a YouTube/DemandGen image.", +"The ad asset is a YouTube video." +], +"type": "string" +}, +"entityStatus": { +"description": "Output only. The entity status of the ad asset.", +"enum": [ +"ENTITY_STATUS_UNSPECIFIED", +"ENTITY_STATUS_ACTIVE", +"ENTITY_STATUS_ARCHIVED", +"ENTITY_STATUS_DRAFT", +"ENTITY_STATUS_PAUSED", +"ENTITY_STATUS_SCHEDULED_FOR_DELETION" +], +"enumDescriptions": [ +"Default value when status is not specified or is unknown in this version.", +"The entity is enabled to bid and spend budget.", +"The entity is archived. Bidding and budget spending are disabled. An entity can be deleted after archived. Deleted entities cannot be retrieved.", +"The entity is under draft. Bidding and budget spending are disabled.", +"Bidding and budget spending are paused for the entity.", +"The entity is scheduled for deletion." +], +"readOnly": true, +"type": "string" +}, +"name": { +"description": "Identifier. The resource name of the ad asset.", +"type": "string" +}, +"youtubeVideoAsset": { +"$ref": "YoutubeVideoAsset", +"description": "Youtube video asset data." +} +}, +"type": "object" +}, +"AdGroup": { +"description": "A single ad group associated with a line item.", +"id": "AdGroup", +"properties": { +"adGroupFormat": { +"description": "Required. The format of the ads in the ad group.", +"enum": [ +"AD_GROUP_FORMAT_UNSPECIFIED", +"AD_GROUP_FORMAT_IN_STREAM", +"AD_GROUP_FORMAT_VIDEO_DISCOVERY", +"AD_GROUP_FORMAT_BUMPER", +"AD_GROUP_FORMAT_NON_SKIPPABLE_IN_STREAM", +"AD_GROUP_FORMAT_AUDIO", +"AD_GROUP_FORMAT_RESPONSIVE", +"AD_GROUP_FORMAT_REACH", +"AD_GROUP_FORMAT_MASTHEAD" +], +"enumDescriptions": [ +"Format value is not specified or is unknown in this version.", +"In-stream ads.", +"In-feed ads.", +"Bumper ads.", +"Non-skippable in-stream ads.", +"Non-skippable in-stream audio ads.", +"Responsive ads.", +"[Effective reach ad groups] (https://support.google.com/displayvideo/answer/9173684), including in-stream and bumper ads.", +"Masthead Ad that is surfaced on the top slot on the YouTube homepage." +], +"type": "string" +}, +"adGroupId": { +"description": "Output only. The unique ID of the ad group. Assigned by the system.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"advertiserId": { +"description": "Output only. The unique ID of the advertiser the ad group belongs to.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"bidStrategy": { +"$ref": "BiddingStrategy", +"description": "Optional. The bidding strategy used by the ad group. Only the youtubeAndPartnersBid and demandGenBid field can be used in the bidding strategy." +}, +"displayName": { +"description": "Required. The display name of the ad group. Must be UTF-8 encoded with a maximum size of 255 bytes.", +"type": "string" +}, +"entityStatus": { +"description": "Required. Controls whether or not the ad group can spend its budget and bid on inventory. If the ad group's parent line item is not active, the ad group can't spend its budget even if its own status is `ENTITY_STATUS_ACTIVE`.", +"enum": [ +"ENTITY_STATUS_UNSPECIFIED", +"ENTITY_STATUS_ACTIVE", +"ENTITY_STATUS_ARCHIVED", +"ENTITY_STATUS_DRAFT", +"ENTITY_STATUS_PAUSED", +"ENTITY_STATUS_SCHEDULED_FOR_DELETION" +], +"enumDescriptions": [ +"Default value when status is not specified or is unknown in this version.", +"The entity is enabled to bid and spend budget.", +"The entity is archived. Bidding and budget spending are disabled. An entity can be deleted after archived. Deleted entities cannot be retrieved.", +"The entity is under draft. Bidding and budget spending are disabled.", +"Bidding and budget spending are paused for the entity.", +"The entity is scheduled for deletion." +], +"type": "string" +}, +"lineItemId": { +"description": "Required. The unique ID of the line item that the ad group belongs to.", +"format": "int64", +"type": "string" +}, +"name": { +"description": "Output only. Identifier. The resource name of the ad group.", +"readOnly": true, +"type": "string" +}, +"productFeedData": { +"$ref": "ProductFeedData", +"description": "Optional. The settings of the product feed in this ad group." +}, +"targetingExpansion": { +"$ref": "TargetingExpansionConfig", +"description": "Optional. The [optimized targeting](//support.google.com/displayvideo/answer/12060859) settings of the ad group." +} +}, +"type": "object" +}, +"AdGroupAd": { +"description": "A single ad associated with an ad group.", +"id": "AdGroupAd", +"properties": { +"adGroupAdId": { +"description": "Output only. The unique ID of the ad. Assigned by the system.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"adGroupId": { +"description": "Required. The unique ID of the ad group that the ad belongs to.", +"format": "int64", +"type": "string" +}, +"adPolicy": { +"$ref": "AdPolicy", +"description": "Output only. The policy approval status of the ad.", +"readOnly": true +}, +"adUrls": { +"description": "Output only. List of URLs used by the ad.", +"items": { +"$ref": "AdUrl" +}, +"readOnly": true, +"type": "array" +}, +"advertiserId": { +"description": "Output only. The unique ID of the advertiser the ad belongs to.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"audioAd": { +"$ref": "AudioAd", +"description": "Output only. Details of an [audio ad](//support.google.com/displayvideo/answer/6274216) used for reach marketing objectives.", +"readOnly": true +}, +"bumperAd": { +"$ref": "BumperAd", +"description": "Output only. Details of a [non-skippable short video ad](//support.google.com/displayvideo/answer/6274216), equal to or less than 6 seconds, used for reach.", +"readOnly": true +}, +"displayName": { +"description": "Required. The display name of the ad. Must be UTF-8 encoded with a maximum size of 255 bytes.", +"type": "string" +}, +"displayVideoSourceAd": { +"$ref": "DisplayVideoSourceAd", +"description": "Output only. Details of an ad sourced from a Display & Video 360 creative.", +"readOnly": true +}, +"entityStatus": { +"description": "Required. The entity status of the ad.", +"enum": [ +"ENTITY_STATUS_UNSPECIFIED", +"ENTITY_STATUS_ACTIVE", +"ENTITY_STATUS_ARCHIVED", +"ENTITY_STATUS_DRAFT", +"ENTITY_STATUS_PAUSED", +"ENTITY_STATUS_SCHEDULED_FOR_DELETION" +], +"enumDescriptions": [ +"Default value when status is not specified or is unknown in this version.", +"The entity is enabled to bid and spend budget.", +"The entity is archived. Bidding and budget spending are disabled. An entity can be deleted after archived. Deleted entities cannot be retrieved.", +"The entity is under draft. Bidding and budget spending are disabled.", +"Bidding and budget spending are paused for the entity.", +"The entity is scheduled for deletion." +], +"type": "string" +}, +"inStreamAd": { +"$ref": "InStreamAd", +"description": "Output only. Details of an [in-stream ad skippable after 5 seconds](//support.google.com/displayvideo/answer/6274216), used for brand awareness or reach marketing objectives.", +"readOnly": true +}, +"mastheadAd": { +"$ref": "MastheadAd", +"description": "Output only. Details of an [ad served on the YouTube Home feed](//support.google.com/google-ads/answer/9709826).", +"readOnly": true +}, +"name": { +"description": "Output only. The resource name of the ad.", +"readOnly": true, +"type": "string" +}, +"nonSkippableAd": { +"$ref": "NonSkippableAd", +"description": "Output only. Details of a [non-skippable short in-stream video ad](//support.google.com/displayvideo/answer/6274216), between 6 and 15 seconds, used for reach marketing objectives.", +"readOnly": true +}, +"videoDiscoverAd": { +"$ref": "VideoDiscoveryAd", +"description": "Output only. Details of an [ad promoting a video](//support.google.com/displayvideo/answer/6274216) that shows in places of discovery.", +"readOnly": true +}, +"videoPerformanceAd": { +"$ref": "VideoPerformanceAd", +"description": "Output only. Details of an [ad used in a video action campaign](//support.google.com/google-ads/answer/10147229) to drive actions to the business, service or product.", +"readOnly": true +} +}, +"type": "object" +}, +"AdGroupAssignedTargetingOption": { +"description": "Wrapper object associating an AssignedTargetingOption resource and the ad group it is assigned to.", +"id": "AdGroupAssignedTargetingOption", +"properties": { +"adGroupId": { +"description": "The ID of the ad group the assigned targeting option is assigned to.", +"format": "int64", +"type": "string" +}, +"assignedTargetingOption": { +"$ref": "AssignedTargetingOption", +"description": "The assigned targeting option resource." +} +}, +"type": "object" +}, +"AdPolicy": { +"description": "A single ad policy associated with an ad group ad.", +"id": "AdPolicy", +"properties": { +"adPolicyApprovalStatus": { +"description": "The policy approval status of an ad, indicating the approval decision.", +"enum": [ +"AD_POLICY_APPROVAL_STATUS_UNKNOWN", +"DISAPPROVED", +"APPROVED_LIMITED", +"APPROVED", +"AREA_OF_INTEREST_ONLY" +], +"enumDescriptions": [ +"Unknown or not specified.", +"Will not serve.", +"Will serve with restrictions.", +"Will serve without restrictions.", +"Will not serve in targeted countries, but may serve for users who are searching for information about the targeted countries." +], +"type": "string" +}, +"adPolicyReviewStatus": { +"description": "The policy review status of an ad, indicating where in the review process the ad is currently.", +"enum": [ +"AD_POLICY_REVIEW_STATUS_UNKNOWN", +"REVIEW_IN_PROGRESS", +"REVIEWED", +"UNDER_APPEAL", +"ELIGIBLE_MAY_SERVE" +], +"enumDescriptions": [ +"Unknown or not specified.", +"Currently under review.", +"Primary review complete. Other reviews may still be in progress.", +"Resubmitted for approval or a policy decision has been appealed.", +"Deemed eligible and may be serving. Further review could still follow." +], +"type": "string" +}, +"adPolicyTopicEntry": { +"description": "The entries for each policy topic identified as relating to the ad. Each entry includes the topic, restriction level, and guidance on how to fix policy issues.", +"items": { +"$ref": "AdPolicyTopicEntry" +}, +"type": "array" +} +}, +"type": "object" +}, +"AdPolicyCriterionRestriction": { +"description": "Represents a country restriction.", +"id": "AdPolicyCriterionRestriction", +"properties": { +"countryCriterionId": { +"description": "The country criterion id.", +"format": "int64", +"type": "string" +}, +"countryLabel": { +"description": "Localized name for the country. May be empty.", +"type": "string" +} +}, +"type": "object" +}, +"AdPolicyTopicAppealInfo": { +"description": "Information on how to appeal a policy decision.", +"id": "AdPolicyTopicAppealInfo", +"properties": { +"appealFormLink": { +"description": "Only available when appeal_type is `APPEAL_FORM`.", +"type": "string" +}, +"appealType": { +"description": "Whether the decision can be appealed through a self-service appeal or an appeal form.", +"enum": [ +"AD_POLICY_APPEAL_TYPE_UNKNOWN", +"SELF_SERVICE_APPEAL", +"APPEAL_FORM" +], +"enumDescriptions": [ +"Unknown or not specified.", +"The decision can be appealed through a self-service appeal.", +"The decision can be appealed using an appeal form." +], +"type": "string" +} +}, +"type": "object" +}, +"AdPolicyTopicConstraint": { +"description": "Details on ad serving constraints.", +"id": "AdPolicyTopicConstraint", +"properties": { +"certificateDomainMismatchCountryList": { +"$ref": "AdPolicyTopicConstraintAdPolicyCountryConstraintList", +"description": "Countries where the resource's domain is not covered by the certificates associated with it." +}, +"certificateMissingCountryList": { +"$ref": "AdPolicyTopicConstraintAdPolicyCountryConstraintList", +"description": "Countries where a certificate is required for serving." +}, +"countryConstraint": { +"$ref": "AdPolicyTopicConstraintAdPolicyCountryConstraintList", +"description": "Countries where the ad cannot serve." +}, +"globalCertificateDomainMismatch": { +"$ref": "AdPolicyTopicConstraintAdPolicyGlobalCertificateDomainMismatchConstraint", +"description": "Certificate is required to serve in any country and the existing certificate does not cover the ad's domain." +}, +"globalCertificateMissing": { +"$ref": "AdPolicyTopicConstraintAdPolicyGlobalCertificateMissingConstraint", +"description": "Certificate is required to serve in any country." +}, +"requestCertificateFormLink": { +"description": "Link to the form to request a certificate for the constraint.", +"type": "string" +}, +"resellerConstraint": { +"$ref": "AdPolicyTopicConstraintAdPolicyResellerConstraint", +"description": "Reseller constraint." +} +}, +"type": "object" +}, +"AdPolicyTopicConstraintAdPolicyCountryConstraintList": { +"description": "A list of countries where the ad cannot serve due to policy constraints.", +"id": "AdPolicyTopicConstraintAdPolicyCountryConstraintList", +"properties": { +"countries": { +"description": "Countries where the ad cannot serve.", +"items": { +"$ref": "AdPolicyCriterionRestriction" +}, +"type": "array" +} +}, +"type": "object" +}, +"AdPolicyTopicConstraintAdPolicyGlobalCertificateDomainMismatchConstraint": { +"description": "Certificate is required to serve in any country and the existing certificate does not cover the ad's domain.", +"id": "AdPolicyTopicConstraintAdPolicyGlobalCertificateDomainMismatchConstraint", +"properties": {}, +"type": "object" +}, +"AdPolicyTopicConstraintAdPolicyGlobalCertificateMissingConstraint": { +"description": "Certificate is required to serve in any country.", +"id": "AdPolicyTopicConstraintAdPolicyGlobalCertificateMissingConstraint", +"properties": {}, +"type": "object" +}, +"AdPolicyTopicConstraintAdPolicyResellerConstraint": { +"description": "Policy topic was constrained due to disapproval of the website for reseller purposes.", +"id": "AdPolicyTopicConstraintAdPolicyResellerConstraint", +"properties": {}, +"type": "object" +}, +"AdPolicyTopicEntry": { +"description": "An entry describing how an ad has been identified as relating to an ad policy.", +"id": "AdPolicyTopicEntry", +"properties": { +"appealInfo": { +"$ref": "AdPolicyTopicAppealInfo", +"description": "Information on how to appeal the policy decision." +}, +"helpCenterLink": { +"description": "Ad policy help center link for the policy topic.", +"type": "string" +}, +"policyDecisionType": { +"description": "The source of the policy decision.", +"enum": [ +"AD_POLICY_DECISION_TYPE_UNKNOWN", +"PURSUANT_TO_NOTICE", +"GOOGLE_INVESTIGATION" +], +"enumDescriptions": [ +"Unknown or not specified.", +"The decision is from a legal notice, court order, or trademark content owner complaint, etc.", +"The decision is from a Google-owned investigation." +], +"type": "string" +}, +"policyEnforcementMeans": { +"description": "The policy enforcement means used in the policy review.", +"enum": [ +"AD_POLICY_ENFORCEMENT_MEANS_UNKNOWN", +"AUTOMATED", +"HUMAN_REVIEW" +], +"enumDescriptions": [ +"Unknown or not specified.", +"The enforcement process was fully automated.", +"A human was partially or fully involved in the decision enforcement process." +], +"type": "string" +}, +"policyLabel": { +"description": "Localized label text for policy. Examples include \"Trademarks in text\", \"Contains Alcohol\", etc.", +"type": "string" +}, +"policyTopic": { +"description": "The policy topic. Examples include \"TRADEMARKS\", \"ALCOHOL\", etc.", +"type": "string" +}, +"policyTopicConstraints": { +"description": "The serving constraints relevant to the policy decision.", +"items": { +"$ref": "AdPolicyTopicConstraint" +}, +"type": "array" +}, +"policyTopicDescription": { +"description": "A short summary description of the policy topic.", +"type": "string" +}, +"policyTopicEvidences": { +"description": "The evidence used in the policy decision.", +"items": { +"$ref": "AdPolicyTopicEvidence" +}, +"type": "array" +}, +"policyTopicType": { +"description": "How ad serving will be affected due to the relation to the ad policy topic.", +"enum": [ +"AD_POLICY_TOPIC_ENTRY_TYPE_UNKNOWN", +"PROHIBITED", +"FULLY_LIMITED", +"LIMITED", +"DESCRIPTIVE", +"BROADENING", +"AREA_OF_INTEREST_ONLY" +], +"enumDescriptions": [ +"Unknown or not specified.", +"The resource will not serve.", +"The resource will not serve in all targeted countries.", +"The resource cannot serve in some countries.", +"The resource can serve.", +"The resource can serve, and may serve beyond normal coverage.", +"The resource is constrained for all targeted countries, but may serve for users who are searching for information about the targeted countries." +], +"type": "string" +} +}, +"type": "object" +}, +"AdPolicyTopicEvidence": { +"description": "Evidence information used in the policy decision.", +"id": "AdPolicyTopicEvidence", +"properties": { +"counterfeit": { +"$ref": "AdPolicyTopicEvidenceCounterfeit", +"description": "Counterfeit enforcement that caused a policy violation." +}, +"destinationMismatch": { +"$ref": "AdPolicyTopicEvidenceDestinationMismatch", +"description": "A mismatch between the ad destination URLs." +}, +"destinationNotWorking": { +"$ref": "AdPolicyTopicEvidenceDestinationNotWorking", +"description": "Information on HTTP or DNS errors related to the ad destination." +}, +"destinationTextList": { +"$ref": "AdPolicyTopicEvidenceDestinationTextList", +"description": "The text in the destination of the ad that is causing a policy violation." +}, +"httpCode": { +"description": "HTTP code returned when the final URL was crawled.", +"format": "int32", +"type": "integer" +}, +"languageCode": { +"description": "The language the ad was detected to be written in. This field uses IETF language tags, such as \"en-US\".", +"type": "string" +}, +"legalRemoval": { +"$ref": "AdPolicyTopicEvidenceLegalRemoval", +"description": "Legal related regulation enforcement that caused a policy violation." +}, +"regionalRequirements": { +"$ref": "AdPolicyTopicEvidenceRegionalRequirements", +"description": "T&S proactive enforcement that caused a policy violation." +}, +"textList": { +"$ref": "AdPolicyTopicEvidenceTextList", +"description": "List of evidence found in the text of the ad." +}, +"trademark": { +"$ref": "AdPolicyTopicEvidenceTrademark", +"description": "Trademark terms that caused a policy violation." +}, +"websiteList": { +"$ref": "AdPolicyTopicEvidenceWebsiteList", +"description": "List of websites linked with the ad." +} +}, +"type": "object" +}, +"AdPolicyTopicEvidenceCounterfeit": { +"description": "Details on the counterfeit enforcement that caused a policy violation.", +"id": "AdPolicyTopicEvidenceCounterfeit", +"properties": { +"owners": { +"description": "The content or product owners that made a complaint.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"AdPolicyTopicEvidenceDestinationMismatch": { +"description": "Details on a mismatch between destination URL types.", +"id": "AdPolicyTopicEvidenceDestinationMismatch", +"properties": { +"uriTypes": { +"description": "The set of URLs that do not match. The list can include single or multiple uri types. Example 1: [`DISPLAY_URL`, `FINAL_URL`] means ad display URL does not match with the ad final URL. Example 2: [`FINAL_URL`] means ad final URL did not match the crawled url, which is also considered as destination mismatch.", +"items": { +"enum": [ +"AD_POLICY_TOPIC_EVIDENCE_DESTINATION_MISMATCH_URL_TYPE_UNKNOWN", +"DISPLAY_URL", +"FINAL_URL", +"FINAL_MOBILE_URL", +"TRACKING_URL", +"MOBILE_TRACKING_URL" +], +"enumDescriptions": [ +"Not specified or unknown.", +"The display URL.", +"The final URL.", +"The final mobile URL.", +"The tracking URL.", +"The mobile tracking URL." +], +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"AdPolicyTopicEvidenceDestinationNotWorking": { +"description": "Details for on HTTP or DNS errors related to the ad destination.", +"id": "AdPolicyTopicEvidenceDestinationNotWorking", +"properties": { +"device": { +"description": "The device where visiting the URL resulted in the error.", +"enum": [ +"AD_POLICY_TOPIC_EVIDENCE_DESTINATION_NOT_WORKING_DEVICE_TYPE_UNKNOWN", +"DESKTOP", +"ANDROID", +"IOS" +], +"enumDescriptions": [ +"Not specified or unknown.", +"Desktop device.", +"Android device.", +"iOS device." +], +"type": "string" +}, +"dnsErrorType": { +"description": "The type of DNS error.", +"enum": [ +"AD_POLICY_TOPIC_EVIDENCE_DESTINATION_NOT_WORKING_DNS_ERROR_TYPE_UNKNOWN", +"HOSTNAME_NOT_FOUND", +"GOOGLE_CRAWLER_DNS_ISSUE" +], +"enumDescriptions": [ +"Not specified or unknown.", +"Host name not found in DNS when fetching landing page.", +"Google could not crawl the landing page when communicating with DNS." +], +"type": "string" +}, +"expandedUri": { +"description": "The full URL that didn't work.", +"type": "string" +}, +"httpErrorCode": { +"description": "The HTTP error code.", +"format": "int64", +"type": "string" +}, +"lastCheckedTime": { +"description": "The last time the error was seen when navigating to URL.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"AdPolicyTopicEvidenceDestinationTextList": { +"description": "A list of destination text that violated the policy.", +"id": "AdPolicyTopicEvidenceDestinationTextList", +"properties": { +"destinationTexts": { +"description": "Destination text that caused the policy finding.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"AdPolicyTopicEvidenceLegalRemoval": { +"description": "Legal related regulation enforcement, either from DMCA or local legal regulation.", +"id": "AdPolicyTopicEvidenceLegalRemoval", +"properties": { +"complaintType": { +"description": "The type of complaint causing the legal removal.", +"enum": [ +"AD_POLICY_TOPIC_EVIDENCE_LEGAL_REMOVAL_COMPLAINT_TYPE_UNKNOWN", +"COPYRIGHT", +"COURT_ORDER", +"LOCAL_LEGAL" +], +"enumDescriptions": [ +"Not specified or unknown.", +"Copyright. Only applies to DMCA.", +"Court order. Only applies to local legal.", +"Local legal regulation. Only applies to local legal." +], +"type": "string" +}, +"countryRestrictions": { +"description": "The countries restricted due to the legal removal.", +"items": { +"$ref": "AdPolicyCriterionRestriction" +}, +"type": "array" +}, +"dmca": { +"$ref": "AdPolicyTopicEvidenceLegalRemovalDmca", +"description": "Details on the DMCA regulation legal removal." +}, +"localLegal": { +"$ref": "AdPolicyTopicEvidenceLegalRemovalLocalLegal", +"description": "Details on the local legal regulation legal removal." +}, +"restrictedUris": { +"description": "The urls restricted due to the legal removal.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"AdPolicyTopicEvidenceLegalRemovalDmca": { +"description": "DMCA complaint details.", +"id": "AdPolicyTopicEvidenceLegalRemovalDmca", +"properties": { +"complainant": { +"description": "The entity who made the legal complaint.", +"type": "string" +} +}, +"type": "object" +}, +"AdPolicyTopicEvidenceLegalRemovalLocalLegal": { +"description": "Local legal regulation details.", +"id": "AdPolicyTopicEvidenceLegalRemovalLocalLegal", +"properties": { +"lawType": { +"description": "Type of law for the legal notice.", +"type": "string" +} +}, +"type": "object" +}, +"AdPolicyTopicEvidenceRegionalRequirements": { +"description": "Trust & Safety (T&S) proactive enforcement for policies meant to address regional requirements. This is considered a Google-owned investigation instead of a regulation notice since it's proactive T&S enforcement.", +"id": "AdPolicyTopicEvidenceRegionalRequirements", +"properties": { +"regionalRequirementsEntries": { +"description": "List of regional requirements.", +"items": { +"$ref": "AdPolicyTopicEvidenceRegionalRequirementsRegionalRequirementsEntry" +}, +"type": "array" +} +}, +"type": "object" +}, +"AdPolicyTopicEvidenceRegionalRequirementsRegionalRequirementsEntry": { +"description": "Policy level regional legal violation details.", +"id": "AdPolicyTopicEvidenceRegionalRequirementsRegionalRequirementsEntry", +"properties": { +"countryRestrictions": { +"description": "The countries restricted due to the legal policy.", +"items": { +"$ref": "AdPolicyCriterionRestriction" +}, +"type": "array" +}, +"legalPolicy": { +"description": "The legal policy that is being violated.", +"type": "string" +} +}, +"type": "object" +}, +"AdPolicyTopicEvidenceTextList": { +"description": "A list of fragments of text that violated the policy.", +"id": "AdPolicyTopicEvidenceTextList", +"properties": { +"texts": { +"description": "The fragments of text from the resource that caused the policy finding.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"AdPolicyTopicEvidenceTrademark": { +"description": "Trademark terms that caused a policy violation.", +"id": "AdPolicyTopicEvidenceTrademark", +"properties": { +"countryRestrictions": { +"description": "Countries where the policy violation is relevant.", +"items": { +"$ref": "AdPolicyCriterionRestriction" +}, +"type": "array" +}, +"owner": { +"description": "The trademark content owner.", +"type": "string" +}, +"term": { +"description": "The trademark term.", +"type": "string" +} +}, +"type": "object" +}, +"AdPolicyTopicEvidenceWebsiteList": { +"description": "A list of websites that violated the policy.", +"id": "AdPolicyTopicEvidenceWebsiteList", +"properties": { +"websites": { +"description": "Websites that caused the policy finding.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"AdUrl": { +"description": "Additional URLs related to the ad, including beacons.", +"id": "AdUrl", +"properties": { +"type": { +"description": "The type of the Ad URL.", +"enum": [ +"AD_URL_TYPE_UNSPECIFIED", +"AD_URL_TYPE_BEACON_IMPRESSION", +"AD_URL_TYPE_BEACON_EXPANDABLE_DCM_IMPRESSION", +"AD_URL_TYPE_BEACON_CLICK", +"AD_URL_TYPE_BEACON_SKIP" +], +"enumDescriptions": [ +"Unknown or unspecified.", +"A 1x1 tracking pixel to ping when an impression of a creative is delivered.", +"Expandable DCM impression beacon. At serving time, it is expanded to several beacons.", +"Tracking URL to ping when the click event is triggered.", +"Tracking URL to ping when the skip event is triggered." +], +"type": "string" +}, +"url": { +"description": "The URL string value.", +"type": "string" +} +}, +"type": "object" +}, +"Adloox": { +"description": "Details of Scope3 (previously known as Adloox) brand safety settings.", +"id": "Adloox", +"properties": { +"adultExplicitSexualContent": { +"description": "Optional. Adult and Explicit Sexual Content [GARM](https://wfanet.org/leadership/garm/about-garm) risk ranges to exclude.", +"enum": [ +"GARM_RISK_EXCLUSION_UNSPECIFIED", +"GARM_RISK_EXCLUSION_FLOOR", +"GARM_RISK_EXCLUSION_HIGH", +"GARM_RISK_EXCLUSION_MEDIUM", +"GARM_RISK_EXCLUSION_LOW" +], +"enumDescriptions": [ +"This enum is only a placeholder and it doesn't specify any GARM risk exclusion option.", +"Exclude floor risk.", +"Exclude high and floor risk.", +"Exclude medium, high, and floor risk.", +"Exclude all levels of risk (low, medium, high and floor)." +], +"type": "string" +}, +"armsAmmunitionContent": { +"description": "Optional. Arms and Ammunition Content [GARM](https://wfanet.org/leadership/garm/about-garm) risk ranges to exclude.", +"enum": [ +"GARM_RISK_EXCLUSION_UNSPECIFIED", +"GARM_RISK_EXCLUSION_FLOOR", +"GARM_RISK_EXCLUSION_HIGH", +"GARM_RISK_EXCLUSION_MEDIUM", +"GARM_RISK_EXCLUSION_LOW" +], +"enumDescriptions": [ +"This enum is only a placeholder and it doesn't specify any GARM risk exclusion option.", +"Exclude floor risk.", +"Exclude high and floor risk.", +"Exclude medium, high, and floor risk.", +"Exclude all levels of risk (low, medium, high and floor)." +], +"type": "string" +}, +"crimeHarmfulActsIndividualsSocietyHumanRightsViolationsContent": { +"description": "Optional. Crime and Harmful Acts Content [GARM](https://wfanet.org/leadership/garm/about-garm) risk ranges to exclude.", +"enum": [ +"GARM_RISK_EXCLUSION_UNSPECIFIED", +"GARM_RISK_EXCLUSION_FLOOR", +"GARM_RISK_EXCLUSION_HIGH", +"GARM_RISK_EXCLUSION_MEDIUM", +"GARM_RISK_EXCLUSION_LOW" +], +"enumDescriptions": [ +"This enum is only a placeholder and it doesn't specify any GARM risk exclusion option.", +"Exclude floor risk.", +"Exclude high and floor risk.", +"Exclude medium, high, and floor risk.", +"Exclude all levels of risk (low, medium, high and floor)." +], +"type": "string" +}, +"deathInjuryMilitaryConflictContent": { +"description": "Optional. Death, Injury, or Military Conflict Content [GARM](https://wfanet.org/leadership/garm/about-garm) risk ranges to exclude.", +"enum": [ +"GARM_RISK_EXCLUSION_UNSPECIFIED", +"GARM_RISK_EXCLUSION_FLOOR", +"GARM_RISK_EXCLUSION_HIGH", +"GARM_RISK_EXCLUSION_MEDIUM", +"GARM_RISK_EXCLUSION_LOW" +], +"enumDescriptions": [ +"This enum is only a placeholder and it doesn't specify any GARM risk exclusion option.", +"Exclude floor risk.", +"Exclude high and floor risk.", +"Exclude medium, high, and floor risk.", +"Exclude all levels of risk (low, medium, high and floor)." +], +"type": "string" +}, +"debatedSensitiveSocialIssueContent": { +"description": "Optional. Debated Sensitive Social Issue Content [GARM](https://wfanet.org/leadership/garm/about-garm) risk ranges to exclude.", +"enum": [ +"GARM_RISK_EXCLUSION_UNSPECIFIED", +"GARM_RISK_EXCLUSION_FLOOR", +"GARM_RISK_EXCLUSION_HIGH", +"GARM_RISK_EXCLUSION_MEDIUM", +"GARM_RISK_EXCLUSION_LOW" +], +"enumDescriptions": [ +"This enum is only a placeholder and it doesn't specify any GARM risk exclusion option.", +"Exclude floor risk.", +"Exclude high and floor risk.", +"Exclude medium, high, and floor risk.", +"Exclude all levels of risk (low, medium, high and floor)." +], +"type": "string" +}, +"displayIabViewability": { +"description": "Optional. IAB viewability threshold for display ads.", +"enum": [ +"DISPLAY_IAB_VIEWABILITY_UNSPECIFIED", +"DISPLAY_IAB_VIEWABILITY_10", +"DISPLAY_IAB_VIEWABILITY_20", +"DISPLAY_IAB_VIEWABILITY_35", +"DISPLAY_IAB_VIEWABILITY_50", +"DISPLAY_IAB_VIEWABILITY_75" +], +"enumDescriptions": [ +"Default value when not specified or is unknown in this version.", +"10%+ in view (IAB display viewability standard).", +"20%+ in view (IAB display viewability standard).", +"35%+ in view (IAB display viewability standard).", +"50%+ in view (IAB display viewability standard).", +"75%+ in view (IAB display viewability standard)." +], +"type": "string" +}, +"excludedAdlooxCategories": { +"description": "Scope3 categories to exclude.", +"items": { +"enum": [ +"ADLOOX_UNSPECIFIED", +"ADULT_CONTENT_HARD", +"ADULT_CONTENT_SOFT", +"ILLEGAL_CONTENT", +"BORDERLINE_CONTENT", +"DISCRIMINATORY_CONTENT", +"VIOLENT_CONTENT_WEAPONS", +"LOW_VIEWABILITY_DOMAINS", +"FRAUD" +], +"enumDescriptions": [ +"Default value when a Scope3 category is not specified or is unknown in this version.", +"Adult content (hard).", +"Adult content (soft).", +"Illegal content.", +"Borderline content.", +"Discriminatory content.", +"Violent content & weapons.", +"Low viewability domains.", +"Fraud." +], +"type": "string" +}, +"type": "array" +}, +"excludedFraudIvtMfaCategories": { +"description": "Optional. Scope3's fraud IVT MFA categories to exclude.", +"items": { +"enum": [ +"FRAUD_IVT_MFA_CATEGORY_UNSPECIFIED", +"FRAUD_IVT_MFA" +], +"enumDescriptions": [ +"Default value when a Scope3 Fraud, IVT, MFA category is not specified or is unknown in this version.", +"FRAUD, IVT, MFA." +], +"type": "string" +}, +"type": "array" +}, +"hateSpeechActsAggressionContent": { +"description": "Optional. Hate Speech and Acts of Aggression Content [GARM](https://wfanet.org/leadership/garm/about-garm) risk ranges to exclude.", +"enum": [ +"GARM_RISK_EXCLUSION_UNSPECIFIED", +"GARM_RISK_EXCLUSION_FLOOR", +"GARM_RISK_EXCLUSION_HIGH", +"GARM_RISK_EXCLUSION_MEDIUM", +"GARM_RISK_EXCLUSION_LOW" +], +"enumDescriptions": [ +"This enum is only a placeholder and it doesn't specify any GARM risk exclusion option.", +"Exclude floor risk.", +"Exclude high and floor risk.", +"Exclude medium, high, and floor risk.", +"Exclude all levels of risk (low, medium, high and floor)." +], +"type": "string" +}, +"illegalDrugsTobaccoEcigarettesVapingAlcoholContent": { +"description": "Optional. Illegal Drugs/Alcohol Content [GARM](https://wfanet.org/leadership/garm/about-garm) risk ranges to exclude.", +"enum": [ +"GARM_RISK_EXCLUSION_UNSPECIFIED", +"GARM_RISK_EXCLUSION_FLOOR", +"GARM_RISK_EXCLUSION_HIGH", +"GARM_RISK_EXCLUSION_MEDIUM", +"GARM_RISK_EXCLUSION_LOW" +], +"enumDescriptions": [ +"This enum is only a placeholder and it doesn't specify any GARM risk exclusion option.", +"Exclude floor risk.", +"Exclude high and floor risk.", +"Exclude medium, high, and floor risk.", +"Exclude all levels of risk (low, medium, high and floor)." +], +"type": "string" +}, +"misinformationContent": { +"description": "Optional. Misinformation Content [GARM](https://wfanet.org/leadership/garm/about-garm) risk ranges to exclude.", +"enum": [ +"GARM_RISK_EXCLUSION_UNSPECIFIED", +"GARM_RISK_EXCLUSION_FLOOR", +"GARM_RISK_EXCLUSION_HIGH", +"GARM_RISK_EXCLUSION_MEDIUM", +"GARM_RISK_EXCLUSION_LOW" +], +"enumDescriptions": [ +"This enum is only a placeholder and it doesn't specify any GARM risk exclusion option.", +"Exclude floor risk.", +"Exclude high and floor risk.", +"Exclude medium, high, and floor risk.", +"Exclude all levels of risk (low, medium, high and floor)." +], +"type": "string" +}, +"obscenityProfanityContent": { +"description": "Optional. Obscenity and Profanity Content [GARM](https://wfanet.org/leadership/garm/about-garm) risk ranges to exclude.", +"enum": [ +"GARM_RISK_EXCLUSION_UNSPECIFIED", +"GARM_RISK_EXCLUSION_FLOOR", +"GARM_RISK_EXCLUSION_HIGH", +"GARM_RISK_EXCLUSION_MEDIUM", +"GARM_RISK_EXCLUSION_LOW" +], +"enumDescriptions": [ +"This enum is only a placeholder and it doesn't specify any GARM risk exclusion option.", +"Exclude floor risk.", +"Exclude high and floor risk.", +"Exclude medium, high, and floor risk.", +"Exclude all levels of risk (low, medium, high and floor)." +], +"type": "string" +}, +"onlinePiracyContent": { +"description": "Optional. Online Piracy Content [GARM](https://wfanet.org/leadership/garm/about-garm) risk ranges to exclude.", +"enum": [ +"GARM_RISK_EXCLUSION_UNSPECIFIED", +"GARM_RISK_EXCLUSION_FLOOR", +"GARM_RISK_EXCLUSION_HIGH", +"GARM_RISK_EXCLUSION_MEDIUM", +"GARM_RISK_EXCLUSION_LOW" +], +"enumDescriptions": [ +"This enum is only a placeholder and it doesn't specify any GARM risk exclusion option.", +"Exclude floor risk.", +"Exclude high and floor risk.", +"Exclude medium, high, and floor risk.", +"Exclude all levels of risk (low, medium, high and floor)." +], +"type": "string" +}, +"spamHarmfulContent": { +"description": "Optional. Spam or Harmful Content [GARM](https://wfanet.org/leadership/garm/about-garm) risk ranges to exclude.", +"enum": [ +"GARM_RISK_EXCLUSION_UNSPECIFIED", +"GARM_RISK_EXCLUSION_FLOOR", +"GARM_RISK_EXCLUSION_HIGH", +"GARM_RISK_EXCLUSION_MEDIUM", +"GARM_RISK_EXCLUSION_LOW" +], +"enumDescriptions": [ +"This enum is only a placeholder and it doesn't specify any GARM risk exclusion option.", +"Exclude floor risk.", +"Exclude high and floor risk.", +"Exclude medium, high, and floor risk.", +"Exclude all levels of risk (low, medium, high and floor)." +], +"type": "string" +}, +"terrorismContent": { +"description": "Optional. Terrorism Content [GARM](https://wfanet.org/leadership/garm/about-garm) risk ranges to exclude.", +"enum": [ +"GARM_RISK_EXCLUSION_UNSPECIFIED", +"GARM_RISK_EXCLUSION_FLOOR", +"GARM_RISK_EXCLUSION_HIGH", +"GARM_RISK_EXCLUSION_MEDIUM", +"GARM_RISK_EXCLUSION_LOW" +], +"enumDescriptions": [ +"This enum is only a placeholder and it doesn't specify any GARM risk exclusion option.", +"Exclude floor risk.", +"Exclude high and floor risk.", +"Exclude medium, high, and floor risk.", +"Exclude all levels of risk (low, medium, high and floor)." +], +"type": "string" +}, +"videoIabViewability": { +"description": "Optional. IAB viewability threshold for video ads.", +"enum": [ +"VIDEO_IAB_VIEWABILITY_UNSPECIFIED", +"VIDEO_IAB_VIEWABILITY_10", +"VIDEO_IAB_VIEWABILITY_20", +"VIDEO_IAB_VIEWABILITY_35", +"VIDEO_IAB_VIEWABILITY_50", +"VIDEO_IAB_VIEWABILITY_75" +], +"enumDescriptions": [ +"Default value when not specified or is unknown in this version.", +"10%+ in view (IAB video viewability standard).", +"20%+ in view (IAB video viewability standard).", +"35%+ in view (IAB video viewability standard).", +"50%+ in view (IAB video viewability standard).", +"75%+ in view (IAB video viewability standard)." +], +"type": "string" +} +}, +"type": "object" +}, +"Advertiser": { +"description": "A single advertiser in Display & Video 360 (DV360).", +"id": "Advertiser", +"properties": { +"adServerConfig": { +"$ref": "AdvertiserAdServerConfig", +"description": "Required. Immutable. Ad server related settings of the advertiser." +}, +"advertiserId": { +"description": "Output only. The unique ID of the advertiser. Assigned by the system.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"billingConfig": { +"$ref": "AdvertiserBillingConfig", +"description": "Required. Billing related settings of the advertiser." +}, +"containsEuPoliticalAds": { +"description": "Optional. Whether this advertiser contains line items that serve European Union political ads. If this field is set to `DOES_NOT_CONTAIN_EU_POLITICAL_ADVERTISING`, then the following will happen: * Any new line items created under this advertiser will be assigned `DOES_NOT_CONTAIN_EU_POLITICAL_ADVERTISING` if not otherwise specified. * Any existing line items under this advertiser that do not have a set value be updated to `DOES_NOT_CONTAIN_EU_POLITICAL_ADVERTISING` within a day.", +"enum": [ +"EU_POLITICAL_ADVERTISING_STATUS_UNKNOWN", +"CONTAINS_EU_POLITICAL_ADVERTISING", +"DOES_NOT_CONTAIN_EU_POLITICAL_ADVERTISING" +], +"enumDescriptions": [ +"Unknown.", +"Contains EU political advertising.", +"Does not contain EU political advertising." +], +"type": "string" +}, +"creativeConfig": { +"$ref": "AdvertiserCreativeConfig", +"description": "Required. Creative related settings of the advertiser." +}, +"dataAccessConfig": { +"$ref": "AdvertiserDataAccessConfig", +"description": "Settings that control how advertiser data may be accessed." +}, +"displayName": { +"description": "Required. The display name of the advertiser. Must be UTF-8 encoded with a maximum size of 240 bytes.", +"type": "string" +}, +"entityStatus": { +"description": "Required. Controls whether or not insertion orders and line items of the advertiser can spend their budgets and bid on inventory. * Accepted values are `ENTITY_STATUS_ACTIVE`, `ENTITY_STATUS_PAUSED` and `ENTITY_STATUS_SCHEDULED_FOR_DELETION`. * If set to `ENTITY_STATUS_SCHEDULED_FOR_DELETION`, the advertiser will be deleted 30 days from when it was first scheduled for deletion.", +"enum": [ +"ENTITY_STATUS_UNSPECIFIED", +"ENTITY_STATUS_ACTIVE", +"ENTITY_STATUS_ARCHIVED", +"ENTITY_STATUS_DRAFT", +"ENTITY_STATUS_PAUSED", +"ENTITY_STATUS_SCHEDULED_FOR_DELETION" +], +"enumDescriptions": [ +"Default value when status is not specified or is unknown in this version.", +"The entity is enabled to bid and spend budget.", +"The entity is archived. Bidding and budget spending are disabled. An entity can be deleted after archived. Deleted entities cannot be retrieved.", +"The entity is under draft. Bidding and budget spending are disabled.", +"Bidding and budget spending are paused for the entity.", +"The entity is scheduled for deletion." +], +"type": "string" +}, +"generalConfig": { +"$ref": "AdvertiserGeneralConfig", +"description": "Required. General settings of the advertiser." +}, +"integrationDetails": { +"$ref": "IntegrationDetails", +"description": "Integration details of the advertiser. Only integrationCode is currently applicable to advertiser. Other fields of IntegrationDetails are not supported and will be ignored if provided." +}, +"name": { +"description": "Output only. The resource name of the advertiser.", +"readOnly": true, +"type": "string" +}, +"partnerId": { +"description": "Required. Immutable. The unique ID of the partner that the advertiser belongs to.", +"format": "int64", +"type": "string" +}, +"prismaEnabled": { +"description": "Whether integration with Mediaocean (Prisma) is enabled. By enabling this, you agree to the following: On behalf of my company, I authorize Mediaocean (Prisma) to send budget segment plans to Google, and I authorize Google to send corresponding reporting and invoices from DV360 to Mediaocean for the purposes of budget planning, billing, and reconciliation for this advertiser.", +"type": "boolean" +}, +"servingConfig": { +"$ref": "AdvertiserTargetingConfig", +"description": "Targeting settings related to ad serving of the advertiser." +}, +"updateTime": { +"description": "Output only. The timestamp when the advertiser was last updated. Assigned by the system.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"AdvertiserAdServerConfig": { +"description": "Ad server related settings of an advertiser.", +"id": "AdvertiserAdServerConfig", +"properties": { +"cmHybridConfig": { +"$ref": "CmHybridConfig", +"description": "The configuration for advertisers that use both Campaign Manager 360 (CM360) and third-party ad servers." +}, +"thirdPartyOnlyConfig": { +"$ref": "ThirdPartyOnlyConfig", +"description": "The configuration for advertisers that use third-party ad servers only." +} +}, +"type": "object" +}, +"AdvertiserBillingConfig": { +"description": "Billing related settings of an advertiser.", +"id": "AdvertiserBillingConfig", +"properties": { +"billingProfileId": { +"description": "Required. The ID of a billing profile assigned to the advertiser.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"AdvertiserCreativeConfig": { +"description": "Creatives related settings of an advertiser.", +"id": "AdvertiserCreativeConfig", +"properties": { +"dynamicCreativeEnabled": { +"description": "Whether or not the advertiser is enabled for dynamic creatives.", +"type": "boolean" +}, +"iasClientId": { +"description": "An ID for configuring campaign monitoring provided by Integral Ad Service (IAS). The DV360 system will append an IAS \"Campaign Monitor\" tag containing this ID to the creative tag.", +"format": "int64", +"type": "string" +}, +"obaComplianceDisabled": { +"description": "Whether or not to disable Google's About this Ad feature that adds badging (to identify the content as an ad) and transparency information (on interaction with About this Ad) to your ads for Online Behavioral Advertising (OBA) and regulatory requirements. About this Ad gives users greater control over the ads they see and helps you explain why they're seeing your ad. [Learn more](//support.google.com/displayvideo/answer/14315795). If you choose to set this field to `true`, note that ads served through Display & Video 360 must comply to the following: * Be Online Behavioral Advertising (OBA) compliant, as per your contract with Google Marketing Platform. * In the European Economic Area (EEA), include transparency information and a mechanism for users to report illegal content in ads. If using an alternative ad badging, transparency, and reporting solution, you must ensure it includes the required transparency information and illegal content flagging mechanism and that you notify Google of any illegal content reports using the appropriate [form](//support.google.com/legal/troubleshooter/1114905?sjid=6787484030557261960-EU#ts=2981967%2C2982031%2C12980091).", +"type": "boolean" +}, +"videoCreativeDataSharingAuthorized": { +"description": "By setting this field to `true`, you, on behalf of your company, authorize Google to use video creatives associated with this Display & Video 360 advertiser to provide reporting and features related to the advertiser's television campaigns. Applicable only when the advertiser has a CM360 hybrid ad server configuration.", +"type": "boolean" +} +}, +"type": "object" +}, +"AdvertiserDataAccessConfig": { +"description": "Settings that control how advertiser related data may be accessed.", +"id": "AdvertiserDataAccessConfig", +"properties": { +"sdfConfig": { +"$ref": "AdvertiserSdfConfig", +"description": "Structured Data Files (SDF) settings for the advertiser. If not specified, the SDF settings of the parent partner are used." +} +}, +"type": "object" +}, +"AdvertiserGeneralConfig": { +"description": "General settings of an advertiser.", +"id": "AdvertiserGeneralConfig", +"properties": { +"currencyCode": { +"description": "Required. Immutable. Advertiser's currency in ISO 4217 format. Accepted codes and the currencies they represent are: Currency Code : Currency Name * `ARS` : Argentine Peso * `AUD` : Australian Dollar * `BRL` : Brazilian Real * `CAD` : Canadian Dollar * `CHF` : Swiss Franc * `CLP` : Chilean Peso * `CNY` : Chinese Yuan * `COP` : Colombian Peso * `CZK` : Czech Koruna * `DKK` : Danish Krone * `EGP` : Egyption Pound * `EUR` : Euro * `GBP` : British Pound * `HKD` : Hong Kong Dollar * `HUF` : Hungarian Forint * `IDR` : Indonesian Rupiah * `ILS` : Israeli Shekel * `INR` : Indian Rupee * `JPY` : Japanese Yen * `KRW` : South Korean Won * `MXN` : Mexican Pesos * `MYR` : Malaysian Ringgit * `NGN` : Nigerian Naira * `NOK` : Norwegian Krone * `NZD` : New Zealand Dollar * `PEN` : Peruvian Nuevo Sol * `PLN` : Polish Zloty * `RON` : New Romanian Leu * `RUB` : Russian Ruble * `SEK` : Swedish Krona * `TRY` : Turkish Lira * `TWD` : New Taiwan Dollar * `USD` : US Dollar * `ZAR` : South African Rand", +"type": "string" +}, +"domainUrl": { +"description": "Required. The domain URL of the advertiser's primary website. The system will send this information to publishers that require website URL to associate a campaign with an advertiser. Provide a URL with no path or query string, beginning with `http:` or `https:`. For example, http://www.example.com", +"type": "string" +}, +"timeZone": { +"description": "Output only. The standard TZ database name of the advertiser's time zone. For example, `America/New_York`. See more at: https://en.wikipedia.org/wiki/List_of_tz_database_time_zones For CM360 hybrid advertisers, the time zone is the same as that of the associated CM360 account; for third-party only advertisers, the time zone is the same as that of the parent partner.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"AdvertiserSdfConfig": { +"description": "Structured Data Files (SDF) settings of an advertiser.", +"id": "AdvertiserSdfConfig", +"properties": { +"overridePartnerSdfConfig": { +"description": "Whether or not this advertiser overrides the SDF configuration of its parent partner. By default, an advertiser inherits the SDF configuration from the parent partner. To override the partner configuration, set this field to `true` and provide the new configuration in sdfConfig.", +"type": "boolean" +}, +"sdfConfig": { +"$ref": "SdfConfig", +"description": "The SDF configuration for the advertiser. * Required when overridePartnerSdfConfig is `true`. * Output only when overridePartnerSdfConfig is `false`." +} +}, +"type": "object" +}, +"AdvertiserTargetingConfig": { +"description": "Targeting settings related to ad serving of an advertiser.", +"id": "AdvertiserTargetingConfig", +"properties": { +"exemptTvFromViewabilityTargeting": { +"description": "Whether or not connected TV devices are exempt from viewability targeting for all video line items under the advertiser.", +"type": "boolean" +} +}, +"type": "object" +}, +"AgeRangeAssignedTargetingOptionDetails": { +"description": "Represents a targetable age range. This will be populated in the details field of an AssignedTargetingOption when targeting_type is `TARGETING_TYPE_AGE_RANGE`.", +"id": "AgeRangeAssignedTargetingOptionDetails", +"properties": { +"ageRange": { +"description": "Required. The age range of an audience. We only support targeting a continuous age range of an audience. Thus, the age range represented in this field can be 1) targeted solely, or, 2) part of a larger continuous age range. The reach of a continuous age range targeting can be expanded by also targeting an audience of an unknown age.", +"enum": [ +"AGE_RANGE_UNSPECIFIED", +"AGE_RANGE_18_24", +"AGE_RANGE_25_34", +"AGE_RANGE_35_44", +"AGE_RANGE_45_54", +"AGE_RANGE_55_64", +"AGE_RANGE_65_PLUS", +"AGE_RANGE_UNKNOWN", +"AGE_RANGE_18_20", +"AGE_RANGE_21_24", +"AGE_RANGE_25_29", +"AGE_RANGE_30_34", +"AGE_RANGE_35_39", +"AGE_RANGE_40_44", +"AGE_RANGE_45_49", +"AGE_RANGE_50_54", +"AGE_RANGE_55_59", +"AGE_RANGE_60_64" +], +"enumDescriptions": [ +"Default value when age range is not specified in this version. This enum is a placeholder for default value and does not represent a real age range option.", +"The age range of the audience is 18 to 24.", +"The age range of the audience is 25 to 34.", +"The age range of the audience is 35 to 44.", +"The age range of the audience is 45 to 54.", +"The age range of the audience is 55 to 64.", +"The age range of the audience is 65 and up.", +"The age range of the audience is unknown.", +"The age range of the audience is 18 to 20, only supported for the AdGroup of YouTube Programmatic Reservation line item.", +"The age range of the audience is 21 to 24, only supported for the AdGroup of YouTube Programmatic Reservation line item.", +"The age range of the audience is 25 to 29, only supported for the AdGroup of YouTube Programmatic Reservation line item.", +"The age range of the audience is 30 to 34, only supported for the AdGroup of YouTube Programmatic Reservation line item.", +"The age range of the audience is 35 to 39, only supported for the AdGroup of YouTube Programmatic Reservation line item.", +"The age range of the audience is 40 to 44, only supported for the AdGroup of YouTube Programmatic Reservation line item.", +"The age range of the audience is 45 to 49, only supported for the AdGroup of YouTube Programmatic Reservation line item.", +"The age range of the audience is 50 to 54, only supported for the AdGroup of YouTube Programmatic Reservation line item.", +"The age range of the audience is 55 to 59, only supported for the AdGroup of YouTube Programmatic Reservation line item.", +"The age range of the audience is 60 to 64, only supported for the AdGroup of YouTube Programmatic Reservation line item." +], +"type": "string" +} +}, +"type": "object" +}, +"AgeRangeTargetingOptionDetails": { +"description": "Represents a targetable age range. This will be populated in the age_range_details field when targeting_type is `TARGETING_TYPE_AGE_RANGE`.", +"id": "AgeRangeTargetingOptionDetails", +"properties": { +"ageRange": { +"description": "Output only. The age range of an audience.", +"enum": [ +"AGE_RANGE_UNSPECIFIED", +"AGE_RANGE_18_24", +"AGE_RANGE_25_34", +"AGE_RANGE_35_44", +"AGE_RANGE_45_54", +"AGE_RANGE_55_64", +"AGE_RANGE_65_PLUS", +"AGE_RANGE_UNKNOWN", +"AGE_RANGE_18_20", +"AGE_RANGE_21_24", +"AGE_RANGE_25_29", +"AGE_RANGE_30_34", +"AGE_RANGE_35_39", +"AGE_RANGE_40_44", +"AGE_RANGE_45_49", +"AGE_RANGE_50_54", +"AGE_RANGE_55_59", +"AGE_RANGE_60_64" +], +"enumDescriptions": [ +"Default value when age range is not specified in this version. This enum is a placeholder for default value and does not represent a real age range option.", +"The age range of the audience is 18 to 24.", +"The age range of the audience is 25 to 34.", +"The age range of the audience is 35 to 44.", +"The age range of the audience is 45 to 54.", +"The age range of the audience is 55 to 64.", +"The age range of the audience is 65 and up.", +"The age range of the audience is unknown.", +"The age range of the audience is 18 to 20, only supported for the AdGroup of YouTube Programmatic Reservation line item.", +"The age range of the audience is 21 to 24, only supported for the AdGroup of YouTube Programmatic Reservation line item.", +"The age range of the audience is 25 to 29, only supported for the AdGroup of YouTube Programmatic Reservation line item.", +"The age range of the audience is 30 to 34, only supported for the AdGroup of YouTube Programmatic Reservation line item.", +"The age range of the audience is 35 to 39, only supported for the AdGroup of YouTube Programmatic Reservation line item.", +"The age range of the audience is 40 to 44, only supported for the AdGroup of YouTube Programmatic Reservation line item.", +"The age range of the audience is 45 to 49, only supported for the AdGroup of YouTube Programmatic Reservation line item.", +"The age range of the audience is 50 to 54, only supported for the AdGroup of YouTube Programmatic Reservation line item.", +"The age range of the audience is 55 to 59, only supported for the AdGroup of YouTube Programmatic Reservation line item.", +"The age range of the audience is 60 to 64, only supported for the AdGroup of YouTube Programmatic Reservation line item." +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"AlgorithmRules": { +"description": "Rule-based algorithm.", +"id": "AlgorithmRules", +"properties": { +"attributionModelId": { +"description": "Attribution model for the algorithm. This field is only supported for allowlisted partners.", +"format": "int64", +"type": "string" +}, +"impressionSignalRuleset": { +"$ref": "AlgorithmRulesRuleset", +"description": "Rules for the impression signals." +}, +"postImpressionSignalRuleset": { +"$ref": "AlgorithmRulesRuleset", +"description": "Rules for the post-impression signals. This field is only supported for allowlisted partners." +} +}, +"type": "object" +}, +"AlgorithmRulesComparisonValue": { +"description": "A value to compare the signal to.", +"id": "AlgorithmRulesComparisonValue", +"properties": { +"boolValue": { +"description": "Boolean value.", +"type": "boolean" +}, +"contentDurationValue": { +"description": "Video content duration value.", +"enum": [ +"CONTENT_DURATION_UNSPECIFIED", +"CONTENT_DURATION_UNKNOWN", +"CONTENT_DURATION_0_TO_1_MIN", +"CONTENT_DURATION_1_TO_5_MIN", +"CONTENT_DURATION_5_TO_15_MIN", +"CONTENT_DURATION_15_TO_30_MIN", +"CONTENT_DURATION_30_TO_60_MIN", +"CONTENT_DURATION_OVER_60_MIN" +], +"enumDescriptions": [ +"Content duration is not specified in this version. This enum is a place holder for a default value and does not represent a real content duration.", +"The content duration is unknown.", +"Content is 0-1 minute long.", +"Content is 1-5 minutes long.", +"Content is 5-15 minutes long.", +"Content is 15-30 minutes long.", +"Content is 30-60 minutes long.", +"Content is over 60 minutes long." +], +"type": "string" +}, +"contentGenreIdValue": { +"description": "Video genre id value.", +"format": "int64", +"type": "string" +}, +"contentStreamTypeValue": { +"description": "Video delivery type value.", +"enum": [ +"CONTENT_STREAM_TYPE_UNSPECIFIED", +"CONTENT_LIVE_STREAM", +"CONTENT_ON_DEMAND" +], +"enumDescriptions": [ +"Content stream type is not specified in this version. This enum is a place holder for a default value and does not represent a real content stream type.", +"The content is being live-streamed.", +"The content is viewed on-demand." +], +"type": "string" +}, +"creativeDimensionValue": { +"$ref": "Dimensions", +"description": "Creative dimension value." +}, +"dayAndTimeValue": { +"$ref": "DayAndTime", +"description": "Day and time value. Only `TIME_ZONE_RESOLUTION_END_USER` is supported." +}, +"deviceTypeValue": { +"description": "Device type value.", +"enum": [ +"RULE_DEVICE_TYPE_UNSPECIFIED", +"RULE_DEVICE_TYPE_COMPUTER", +"RULE_DEVICE_TYPE_CONNECTED_TV", +"RULE_DEVICE_TYPE_SMART_PHONE", +"RULE_DEVICE_TYPE_TABLET", +"RULE_DEVICE_TYPE_CONNECTED_DEVICE", +"RULE_DEVICE_TYPE_SET_TOP_BOX" +], +"enumDescriptions": [ +"Default value when device type is not specified in this version. This enum is a placeholder for default value and does not represent a real device type option.", +"Computer.", +"Connected TV.", +"Smart phone.", +"Tablet.", +"Connected device.", +"Set top box." +], +"type": "string" +}, +"doubleValue": { +"description": "Double value.", +"format": "double", +"type": "number" +}, +"environmentValue": { +"description": "Environment value.", +"enum": [ +"ENVIRONMENT_UNSPECIFIED", +"ENVIRONMENT_WEB_OPTIMIZED", +"ENVIRONMENT_WEB_NOT_OPTIMIZED", +"ENVIRONMENT_APP" +], +"enumDescriptions": [ +"Default value when environment is not specified in this version. This enum is a placeholder for default value and does not represent a real environment option.", +"Target inventory displayed in browsers. This includes inventory that was designed for the device it was viewed on, such as mobile websites viewed on a mobile device. ENVIRONMENT_WEB_NOT_OPTIMIZED, if targeted, should be deleted prior to the deletion of this targeting option.", +"Target inventory displayed in browsers. This includes inventory that was not designed for the device but viewed on it, such as websites optimized for desktop but viewed on a mobile device. ENVIRONMENT_WEB_OPTIMIZED should be targeted prior to the addition of this targeting option.", +"Target inventory displayed in apps." +], +"type": "string" +}, +"exchangeValue": { +"description": "Exchange value.", +"enum": [ +"EXCHANGE_UNSPECIFIED", +"EXCHANGE_GOOGLE_AD_MANAGER", +"EXCHANGE_APPNEXUS", +"EXCHANGE_BRIGHTROLL", +"EXCHANGE_ADFORM", +"EXCHANGE_ADMETA", +"EXCHANGE_ADMIXER", +"EXCHANGE_ADSMOGO", +"EXCHANGE_ADSWIZZ", +"EXCHANGE_BIDSWITCH", +"EXCHANGE_BRIGHTROLL_DISPLAY", +"EXCHANGE_CADREON", +"EXCHANGE_DAILYMOTION", +"EXCHANGE_FIVE", +"EXCHANGE_FLUCT", +"EXCHANGE_FREEWHEEL", +"EXCHANGE_GENIEE", +"EXCHANGE_GUMGUM", +"EXCHANGE_IMOBILE", +"EXCHANGE_IBILLBOARD", +"EXCHANGE_IMPROVE_DIGITAL", +"EXCHANGE_INDEX", +"EXCHANGE_KARGO", +"EXCHANGE_MICROAD", +"EXCHANGE_MOPUB", +"EXCHANGE_NEND", +"EXCHANGE_ONE_BY_AOL_DISPLAY", +"EXCHANGE_ONE_BY_AOL_MOBILE", +"EXCHANGE_ONE_BY_AOL_VIDEO", +"EXCHANGE_OOYALA", +"EXCHANGE_OPENX", +"EXCHANGE_PERMODO", +"EXCHANGE_PLATFORMONE", +"EXCHANGE_PLATFORMID", +"EXCHANGE_PUBMATIC", +"EXCHANGE_PULSEPOINT", +"EXCHANGE_REVENUEMAX", +"EXCHANGE_RUBICON", +"EXCHANGE_SMARTCLIP", +"EXCHANGE_SMARTRTB", +"EXCHANGE_SMARTSTREAMTV", +"EXCHANGE_SOVRN", +"EXCHANGE_SPOTXCHANGE", +"EXCHANGE_STROER", +"EXCHANGE_TEADSTV", +"EXCHANGE_TELARIA", +"EXCHANGE_TVN", +"EXCHANGE_UNITED", +"EXCHANGE_YIELDLAB", +"EXCHANGE_YIELDMO", +"EXCHANGE_UNRULYX", +"EXCHANGE_OPEN8", +"EXCHANGE_TRITON", +"EXCHANGE_TRIPLELIFT", +"EXCHANGE_TABOOLA", +"EXCHANGE_INMOBI", +"EXCHANGE_SMAATO", +"EXCHANGE_AJA", +"EXCHANGE_SUPERSHIP", +"EXCHANGE_NEXSTAR_DIGITAL", +"EXCHANGE_WAZE", +"EXCHANGE_SOUNDCAST", +"EXCHANGE_SHARETHROUGH", +"EXCHANGE_FYBER", +"EXCHANGE_RED_FOR_PUBLISHERS", +"EXCHANGE_MEDIANET", +"EXCHANGE_TAPJOY", +"EXCHANGE_VISTAR", +"EXCHANGE_DAX", +"EXCHANGE_JCD", +"EXCHANGE_PLACE_EXCHANGE", +"EXCHANGE_APPLOVIN", +"EXCHANGE_CONNATIX", +"EXCHANGE_RESET_DIGITAL", +"EXCHANGE_HIVESTACK", +"EXCHANGE_DRAX", +"EXCHANGE_APPLOVIN_GBID", +"EXCHANGE_FYBER_GBID", +"EXCHANGE_UNITY_GBID", +"EXCHANGE_CHARTBOOST_GBID", +"EXCHANGE_ADMOST_GBID", +"EXCHANGE_TOPON_GBID", +"EXCHANGE_NETFLIX", +"EXCHANGE_CORE", +"EXCHANGE_COMMERCE_GRID", +"EXCHANGE_SPOTIFY", +"EXCHANGE_TUBI", +"EXCHANGE_SNAP", +"EXCHANGE_CADENT" +], +"enumDescriptions": [ +"Exchange is not specified or is unknown in this version.", +"Google Ad Manager.", +"AppNexus.", +"BrightRoll Exchange for Video from Yahoo!.", +"Adform.", +"Admeta.", +"Admixer.", +"AdsMogo.", +"AdsWizz.", +"BidSwitch.", +"BrightRoll Exchange for Display from Yahoo!.", +"Cadreon.", +"Dailymotion.", +"Five.", +"Fluct.", +"FreeWheel SSP.", +"Geniee.", +"GumGum.", +"i-mobile.", +"iBILLBOARD.", +"Improve Digital.", +"Index Exchange.", +"Kargo.", +"MicroAd.", +"MoPub.", +"Nend.", +"ONE by AOL: Display Market Place.", +"ONE by AOL: Mobile.", +"ONE by AOL: Video.", +"Ooyala.", +"OpenX.", +"Permodo.", +"Platform One.", +"PlatformId.", +"PubMatic.", +"PulsePoint.", +"RevenueMax.", +"Rubicon.", +"SmartClip.", +"SmartRTB+.", +"SmartstreamTv.", +"Sovrn.", +"SpotXchange.", +"Str\u00f6er SSP.", +"TeadsTv.", +"Telaria.", +"TVN.", +"United.", +"Yieldlab.", +"Yieldmo.", +"UnrulyX.", +"Open8.", +"Triton.", +"TripleLift.", +"Taboola.", +"InMobi.", +"Smaato.", +"Aja.", +"Supership.", +"Nexstar Digital.", +"Waze.", +"SoundCast.", +"Sharethrough.", +"Fyber.", +"Red For Publishers.", +"Media.net.", +"Tapjoy.", +"Vistar.", +"DAX.", +"JCD.", +"Place Exchange.", +"AppLovin.", +"Connatix.", +"Reset Digital.", +"Hivestack.", +"Drax.", +"AppLovin MAX.", +"DT Fairbid.", +"Unity LevelPlay.", +"Chartboost Mediation.", +"AdMost.", +"TopOn.", +"Netflix.", +"Core.", +"Commerce Grid.", +"Spotify.", +"Tubi.", +"Snap.", +"Cadent." +], +"type": "string" +}, +"int64Value": { +"description": "Integer value.", +"format": "int64", +"type": "string" +}, +"onScreenPositionValue": { +"description": "Ad position value.", +"enum": [ +"ON_SCREEN_POSITION_UNSPECIFIED", +"ON_SCREEN_POSITION_UNKNOWN", +"ON_SCREEN_POSITION_ABOVE_THE_FOLD", +"ON_SCREEN_POSITION_BELOW_THE_FOLD" +], +"enumDescriptions": [ +"On screen position is not specified in this version. This enum is a place holder for a default value and does not represent a real on screen position.", +"The ad position is unknown on the screen.", +"The ad is located above the fold.", +"The ad is located below the fold." +], +"type": "string" +}, +"stringValue": { +"description": "String value.", +"type": "string" +}, +"videoPlayerSizeValue": { +"description": "Video player size value. This field is only supported for allowlisted partners.", +"enum": [ +"VIDEO_PLAYER_SIZE_UNSPECIFIED", +"VIDEO_PLAYER_SIZE_SMALL", +"VIDEO_PLAYER_SIZE_LARGE", +"VIDEO_PLAYER_SIZE_HD", +"VIDEO_PLAYER_SIZE_UNKNOWN" +], +"enumDescriptions": [ +"Video player size is not specified in this version. This enum is a place holder for a default value and does not represent a real video player size.", +"The dimensions of the video player are less than 400\u00d7300 (desktop), or up to 20% of screen covered (mobile).", +"The dimensions of the video player are between 400x300 and 1280x720 pixels (desktop), or 20% to 90% of the screen covered (mobile).", +"The dimensions of the video player are 1280\u00d7720 or greater (desktop), or over 90% of the screen covered (mobile).", +"The dimensions of the video player are unknown." +], +"type": "string" +} +}, +"type": "object" +}, +"AlgorithmRulesFloodlightActivityConversionSignal": { +"description": "The rule to score impressions based on Floodlight conversion events.", +"id": "AlgorithmRulesFloodlightActivityConversionSignal", +"properties": { +"conversionCounting": { +"description": "Required. The type of conversions to be used in impression value computation, for example, post-click conversions.", +"enum": [ +"CONVERSION_COUNTING_UNSPECIFIED", +"ALL_CONVERSIONS", +"POST_CLICK", +"POST_VIEW" +], +"enumDescriptions": [ +"The action is not specified.", +"All conversions.", +"Post-click conversions.", +"Post-view conversions." +], +"type": "string" +}, +"countingMethod": { +"description": "Required. The way to acquire value from the floodlight activity, for example, count of the conversion.", +"enum": [ +"COUNTING_METHOD_UNSPECIFIED", +"CONVERSIONS_COUNT", +"SALES_QUANTITY", +"SALES_VALUE", +"UNIQUE_COUNT" +], +"enumDescriptions": [ +"The action is not specified.", +"The count of conversions associated with the conversion activity.", +"The number of sales items associated with the conversion activity.", +"The sales revenue associated with the conversion activity.", +"The count of unique conversions associated with the conversion activity. Only one conversion can be counted per impression." +], +"type": "string" +}, +"floodlightActivityId": { +"description": "Required. Id of the floodlight activity.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"AlgorithmRulesRule": { +"description": "Set of conditions. The return value of the rule is either: * The return value for single met condition or * The defined default return value if no conditions are met.", +"id": "AlgorithmRulesRule", +"properties": { +"conditions": { +"description": "List of conditions in this rule. The criteria among conditions should be mutually exclusive.", +"items": { +"$ref": "AlgorithmRulesRuleCondition" +}, +"type": "array" +}, +"defaultReturnValue": { +"$ref": "AlgorithmRulesSignalValue", +"description": "The default return value applied when none of the conditions are met." +} +}, +"type": "object" +}, +"AlgorithmRulesRuleCondition": { +"description": "Set of signal comparisons. Equivalent of an `if` statement.", +"id": "AlgorithmRulesRuleCondition", +"properties": { +"returnValue": { +"$ref": "AlgorithmRulesSignalValue", +"description": "The value returned if the `signalComparisons` condition evaluates to `TRUE`." +}, +"signalComparisons": { +"description": "List of comparisons that build `if` statement condition. The comparisons are combined into a single condition with `AND` logical operators.", +"items": { +"$ref": "AlgorithmRulesSignalComparison" +}, +"type": "array" +} +}, +"type": "object" +}, +"AlgorithmRulesRuleset": { +"description": "A ruleset consisting of a list of rules and how to aggregate the resulting values.", +"id": "AlgorithmRulesRuleset", +"properties": { +"aggregationType": { +"description": "How to aggregate values of evaluated rules.", +"enum": [ +"RULE_AGGREGATION_TYPE_UNSPECIFIED", +"SUM_OF_VALUES", +"PRODUCT_OF_VALUES", +"MAXIMUM_VALUE" +], +"enumDescriptions": [ +"Unknown aggregation type.", +"The sum of rule values.", +"The product of rule values.", +"The maximum rule value." +], +"type": "string" +}, +"maxValue": { +"description": "Maximum value the ruleset can evaluate to.", +"format": "double", +"type": "number" +}, +"rules": { +"description": "List of rules to generate the impression value.", +"items": { +"$ref": "AlgorithmRulesRule" +}, +"type": "array" +} +}, +"type": "object" +}, +"AlgorithmRulesSignal": { +"description": "Signal used to evaluate rules.", +"id": "AlgorithmRulesSignal", +"properties": { +"activeViewSignal": { +"description": "Signal based on active views. This field is only supported for allowlisted partners.", +"enum": [ +"ACTIVE_VIEW_SIGNAL_UNSPECIFIED", +"ACTIVE_VIEW_VIEWED", +"AUDIBLE", +"VIDEO_COMPLETED", +"TIME_ON_SCREEN", +"VIDEO_PLAYER_SIZE", +"COMPLETED_IN_VIEW_AUDIBLE" +], +"enumDescriptions": [ +"Unknown signal.", +"Whether Active View detects that your ad has been viewed. Value is stored in the boolValue field of the comparison value.", +"Whether Active View detects that your ad was audible. Value is stored in the boolValue field of the comparison value.", +"Whether the video was completed. Value is stored in the boolValue field of the comparison value.", +"The time the ad was on screen in seconds. Value is stored in the int64Value field of the comparison value.", +"The size of the video player displaying the ad. Value is stored in the videoPlayerSizeValue field of the comparison value.", +"Whether the ad was completed in view and audible. Value is stored in the boolValue field of the comparison value." +], +"type": "string" +}, +"clickSignal": { +"description": "Signal based on clicks. This field is only supported for allowlisted partners.", +"enum": [ +"CLICK_SIGNAL_UNSPECIFIED", +"CLICK" +], +"enumDescriptions": [ +"Unknown signal.", +"Whether the ad was clicked. Value is stored in the boolValue field of the comparison value." +], +"type": "string" +}, +"impressionSignal": { +"description": "Signal based on impressions.", +"enum": [ +"IMPRESSION_SIGNAL_UNSPECIFIED", +"DAY_AND_TIME", +"DEVICE_TYPE", +"AD_POSITION", +"OPERATING_SYSTEM_ID", +"MOBILE_MODEL_ID", +"EXCHANGE", +"ENVIRONMENT", +"COUNTRY_ID", +"CITY_ID", +"BROWSER_ID", +"CREATIVE_DIMENSION", +"VIDEO_CONTENT_DURATION_BUCKET", +"VIDEO_DELIVERY_TYPE", +"VIDEO_GENRE_ID" +], +"enumDescriptions": [ +"Unknown signal.", +"The day of the week and hour of day the impression was made using browser's local time zone. Value is stored in the dayAndTimeValue field of the comparison value.", +"Device type. Value is stored in the deviceTypeValue field of the comparison value.", +"Ad position. Value is stored in the onScreenPositionValue field of the comparison value.", +"The operating system identifier. Value is stored in the int64Value field of the comparison value.", +"The mobile model identifier. Value is stored in the int64Value field of the comparison value.", +"Exchange. Value is stored in the exchangeValue field of the comparison value.", +"Serving environment. Value is stored in the environmentValue field of the comparison value.", +"The country or region identifier. Value is stored in the int64Value field of the comparison value.", +"The city identifier. Value is stored in the int64Value field of the comparison value.", +"The browser identifier. Value is stored in the int64Value field of the comparison value.", +"Creative height and width in pixels. Value is stored in the creativeDimensionValue field of the comparison value.", +"Video content duration. Value is stored in the contentDurationValue field of the comparison value. The comparisonOperator field must be set to `LIST_CONTAINS`.", +"Video delivery type. Value is stored in the contentStreamTypeValue field of the comparison value. The comparisonOperator field must be set to `LIST_CONTAINS`.", +"Video genre id. Value is stored in the contentGenreIdValue field of the comparison value. The comparisonOperator field must be set to `LIST_CONTAINS`." +], +"type": "string" +} +}, +"type": "object" +}, +"AlgorithmRulesSignalComparison": { +"description": "A single comparison. The comparison compares the `signal` to the `comparisonValue`. The comparison of `siteId==123` is represented with the following field values: * `signal` has an `impressionSignal` of `SITE_ID`. * `comparisonOperator` is set to `EQUAL`. * `comparisonValue` is set to 123.", +"id": "AlgorithmRulesSignalComparison", +"properties": { +"comparisonOperator": { +"description": "Operator used to compare the two values. In the resulting experession, the `signal` will be the first value and the `comparisonValue will be the second.", +"enum": [ +"COMPARISON_OPERATOR_UNSPECIFIED", +"EQUAL", +"GREATER_THAN", +"LESS_THAN", +"GREATER_THAN_OR_EQUAL_TO", +"LESS_THAN_OR_EQUAL_TO", +"LIST_CONTAINS" +], +"enumDescriptions": [ +"Unknown operator.", +"Values are equal.", +"Signal value is greater than the comparison value.", +"Signal value is less than the second.", +"Signal value is greater than or equal to the second.", +"Signal value is less than or equal to the comparison value.", +"Signal value is a list and contains the comparison value." +], +"type": "string" +}, +"comparisonValue": { +"$ref": "AlgorithmRulesComparisonValue", +"description": "Value to compare signal to." +}, +"signal": { +"$ref": "AlgorithmRulesSignal", +"description": "Signal to compare." +} +}, +"type": "object" +}, +"AlgorithmRulesSignalValue": { +"description": "Adjusted value of the signal used for rule evaluation.", +"id": "AlgorithmRulesSignalValue", +"properties": { +"activeViewSignal": { +"description": "Signal based on active views. Only `TIME_ON_SCREEN` is supported. This field is only supported for allowlisted partners.", +"enum": [ +"ACTIVE_VIEW_SIGNAL_UNSPECIFIED", +"ACTIVE_VIEW_VIEWED", +"AUDIBLE", +"VIDEO_COMPLETED", +"TIME_ON_SCREEN", +"VIDEO_PLAYER_SIZE", +"COMPLETED_IN_VIEW_AUDIBLE" +], +"enumDescriptions": [ +"Unknown signal.", +"Whether Active View detects that your ad has been viewed. Value is stored in the boolValue field of the comparison value.", +"Whether Active View detects that your ad was audible. Value is stored in the boolValue field of the comparison value.", +"Whether the video was completed. Value is stored in the boolValue field of the comparison value.", +"The time the ad was on screen in seconds. Value is stored in the int64Value field of the comparison value.", +"The size of the video player displaying the ad. Value is stored in the videoPlayerSizeValue field of the comparison value.", +"Whether the ad was completed in view and audible. Value is stored in the boolValue field of the comparison value." +], +"type": "string" +}, +"floodlightActivityConversionSignal": { +"$ref": "AlgorithmRulesFloodlightActivityConversionSignal", +"description": "Signal based on floodlight conversion events. This field is only supported for allowlisted partners." +}, +"number": { +"description": "Value to use as result.", +"format": "double", +"type": "number" +} +}, +"type": "object" +}, +"AppAssignedTargetingOptionDetails": { +"description": "Details for assigned app targeting option. This will be populated in the details field of an AssignedTargetingOption when targeting_type is `TARGETING_TYPE_APP`.", +"id": "AppAssignedTargetingOptionDetails", +"properties": { +"appId": { +"description": "Required. The ID of the app. Android's Play store app uses bundle ID, for example `com.google.android.gm`. Apple's App store app ID uses 9 digit string, for example `422689480`.", +"type": "string" +}, +"appPlatform": { +"description": "Indicates the platform of the targeted app. If this field is not specified, the app platform will be assumed to be mobile (i.e., Android or iOS), and we will derive the appropriate mobile platform from the app ID.", +"enum": [ +"APP_PLATFORM_UNSPECIFIED", +"APP_PLATFORM_IOS", +"APP_PLATFORM_ANDROID", +"APP_PLATFORM_ROKU", +"APP_PLATFORM_AMAZON_FIRETV", +"APP_PLATFORM_PLAYSTATION", +"APP_PLATFORM_APPLE_TV", +"APP_PLATFORM_XBOX", +"APP_PLATFORM_SAMSUNG_TV", +"APP_PLATFORM_ANDROID_TV", +"APP_PLATFORM_GENERIC_CTV", +"APP_PLATFORM_LG_TV", +"APP_PLATFORM_VIZIO_TV", +"APP_PLATFORM_VIDAA" +], +"enumDescriptions": [ +"Default value when app platform is not specified in this version. This enum is a placeholder for default value and does not represent a real platform option.", +"The app platform is iOS.", +"The app platform is Android.", +"The app platform is Roku.", +"The app platform is Amazon FireTV.", +"The app platform is Playstation.", +"The app platform is Apple TV.", +"The app platform is Xbox.", +"The app platform is Samsung TV.", +"The app platform is Android TV.", +"The app platform is a CTV platform that is not explicitly listed elsewhere.", +"The app platform is LG TV.", +"The app platform is VIZIO TV.", +"The app platform is Vidaa." +], +"type": "string" +}, +"displayName": { +"description": "Output only. The display name of the app.", +"readOnly": true, +"type": "string" +}, +"negative": { +"description": "Indicates if this option is being negatively targeted.", +"type": "boolean" +} +}, +"type": "object" +}, +"AppCategoryAssignedTargetingOptionDetails": { +"description": "Details for assigned app category targeting option. This will be populated in the app_category_details field of an AssignedTargetingOption when targeting_type is `TARGETING_TYPE_APP_CATEGORY`.", +"id": "AppCategoryAssignedTargetingOptionDetails", +"properties": { +"displayName": { +"description": "Output only. The display name of the app category.", +"readOnly": true, +"type": "string" +}, +"negative": { +"description": "Indicates if this option is being negatively targeted.", +"type": "boolean" +}, +"targetingOptionId": { +"description": "Required. The targeting_option_id field when targeting_type is `TARGETING_TYPE_APP_CATEGORY`.", +"type": "string" +} +}, +"type": "object" +}, +"AppCategoryTargetingOptionDetails": { +"description": "Represents a targetable collection of apps. A collection lets you target dynamic groups of related apps that are maintained by the platform, for example `All Apps/Google Play/Games`. This will be populated in the app_category_details field when targeting_type is `TARGETING_TYPE_APP_CATEGORY`.", +"id": "AppCategoryTargetingOptionDetails", +"properties": { +"displayName": { +"description": "Output only. The name of the app collection.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"Asset": { +"description": "A single asset.", +"id": "Asset", +"properties": { +"content": { +"description": "The asset content. For uploaded assets, the content is the serving path.", +"type": "string" +}, +"mediaId": { +"description": "Media ID of the uploaded asset. This is a unique identifier for the asset. This ID can be passed to other API calls, e.g. CreateCreative to associate the asset with a creative. The Media ID space updated on **April 5, 2023**. Update media IDs cached before **April 5, 2023** by retrieving the new media ID from associated creative resources or re-uploading the asset.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"AssetAssociation": { +"description": "Asset association for the creative.", +"id": "AssetAssociation", +"properties": { +"asset": { +"$ref": "Asset", +"description": "Optional. The associated asset." +}, +"role": { +"description": "Optional. The role of this asset for the creative.", +"enum": [ +"ASSET_ROLE_UNSPECIFIED", +"ASSET_ROLE_MAIN", +"ASSET_ROLE_BACKUP", +"ASSET_ROLE_POLITE_LOAD", +"ASSET_ROLE_HEADLINE", +"ASSET_ROLE_LONG_HEADLINE", +"ASSET_ROLE_BODY", +"ASSET_ROLE_LONG_BODY", +"ASSET_ROLE_CAPTION_URL", +"ASSET_ROLE_CALL_TO_ACTION", +"ASSET_ROLE_ADVERTISER_NAME", +"ASSET_ROLE_PRICE", +"ASSET_ROLE_ANDROID_APP_ID", +"ASSET_ROLE_IOS_APP_ID", +"ASSET_ROLE_RATING", +"ASSET_ROLE_ICON", +"ASSET_ROLE_COVER_IMAGE", +"ASSET_ROLE_BACKGROUND_COLOR", +"ASSET_ROLE_ACCENT_COLOR", +"ASSET_ROLE_REQUIRE_LOGO", +"ASSET_ROLE_REQUIRE_IMAGE", +"ASSET_ROLE_ENABLE_ASSET_ENHANCEMENTS" +], +"enumDescriptions": [ +"Asset role is not specified or is unknown in this version.", +"The asset is the main asset of the creative.", +"The asset is a backup asset of the creative.", +"The asset is a polite load asset of the creative.", +"Headline of a native creative. The content must be UTF-8 encoded with a length of no more than 25 characters. This role is only supported in the following creative_type: * `CREATIVE_TYPE_NATIVE` * `CREATIVE_TYPE_NATIVE_SITE_SQUARE` * `CREATIVE_TYPE_NATIVE_VIDEO`", +"Long headline of a native creative. The content must be UTF-8 encoded with a length of no more than 50 characters. This role is only supported in the following creative_type: * `CREATIVE_TYPE_NATIVE` * `CREATIVE_TYPE_NATIVE_SITE_SQUARE` * `CREATIVE_TYPE_NATIVE_VIDEO`", +"Body text of a native creative. The content must be UTF-8 encoded with a length of no more than 90 characters. This role is only supported in the following creative_type: * `CREATIVE_TYPE_NATIVE` * `CREATIVE_TYPE_NATIVE_SITE_SQUARE` * `CREATIVE_TYPE_NATIVE_VIDEO`", +"Long body text of a native creative. The content must be UTF-8 encoded with a length of no more than 150 characters. This role is only supported in the following creative_type: * `CREATIVE_TYPE_NATIVE` * `CREATIVE_TYPE_NATIVE_SITE_SQUARE` * `CREATIVE_TYPE_NATIVE_VIDEO`", +"A short, friendly version of the landing page URL to show in the creative. This URL gives people an idea of where they'll arrive after they click on the creative. The content must be UTF-8 encoded with a length of no more than 30 characters. For example, if the landing page URL is 'http://www.example.com/page', the caption URL can be 'example.com'. The protocol (http://) is optional, but the URL can't contain spaces or special characters. This role is only supported in the following creative_type: * `CREATIVE_TYPE_NATIVE` * `CREATIVE_TYPE_NATIVE_SITE_SQUARE` * `CREATIVE_TYPE_NATIVE_VIDEO`", +"The text to use on the call-to-action button of a native creative. The content must be UTF-8 encoded with a length of no more than 15 characters. This role is only supported in the following creative_type: * `CREATIVE_TYPE_NATIVE` * `CREATIVE_TYPE_NATIVE_SITE_SQUARE` * `CREATIVE_TYPE_NATIVE_VIDEO`", +"The text that identifies the advertiser or brand name. The content must be UTF-8 encoded with a length of no more than 25 characters. This role is only supported in the following creative_type: * `CREATIVE_TYPE_NATIVE` * `CREATIVE_TYPE_NATIVE_SITE_SQUARE` * `CREATIVE_TYPE_NATIVE_VIDEO`", +"The purchase price of your app in the Google play store or iOS app store (for example, $5.99). Note that this value is not automatically synced with the actual value listed in the store. It will always be the one provided when save the creative. The content must be UTF-8 encoded with a length of no more than 15 characters. Assets of this role are read-only.", +"The ID of an Android app in the Google play store. You can find this ID in the App\u2019s Google Play Store URL after \u2018id\u2019. For example, in `https://play.google.com/store/apps/details?id=com.company.appname` the identifier is com.company.appname. Assets of this role are read-only.", +"The ID of an iOS app in the Apple app store. This ID number can be found in the Apple App Store URL as the string of numbers directly after \"id\". For example, in `https://apps.apple.com/us/app/gmail-email-by-google/id422689480` the ID is 422689480. Assets of this role are read-only.", +"The rating of an app in the Google play store or iOS app store. Note that this value is not automatically synced with the actual rating in the store. It will always be the one provided when save the creative. Assets of this role are read-only.", +"The icon of a creative. This role is only supported and required in the following creative_type: * `CREATIVE_TYPE_NATIVE` * `CREATIVE_TYPE_NATIVE_SITE_SQUARE`", +"The cover image of a native video creative. This role is only supported and required in the following creative_type: * `CREATIVE_TYPE_VIDEO`", +"The main color to use in a creative. This role is only supported and required in the following creative_type: * `CREATIVE_TYPE_ASSET_BASED_CREATIVE`", +"The accent color to use in a creative. This role is only supported and required in the following creative_type: * `CREATIVE_TYPE_ASSET_BASED_CREATIVE`", +"Whether the creative must use a logo asset. This role is only supported and required in the following creative_type: * `CREATIVE_TYPE_ASSET_BASED_CREATIVE`", +"Whether the creative must use an image asset. This role is only supported and required in the following creative_type: * `CREATIVE_TYPE_ASSET_BASED_CREATIVE`", +"Whether asset enhancements can be applied to the creative. This role is only supported and required in the following creative_type: * `CREATIVE_TYPE_ASSET_BASED_CREATIVE`" +], +"type": "string" +} +}, +"type": "object" +}, +"AssignedInventorySource": { +"description": "An assignment between a targetable inventory source and an inventory source group.", +"id": "AssignedInventorySource", +"properties": { +"assignedInventorySourceId": { +"description": "Output only. The unique ID of the assigned inventory source. The ID is only unique within a given inventory source group. It may be reused in other contexts.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"inventorySourceId": { +"description": "Required. The ID of the inventory source entity being targeted.", +"type": "string" +}, +"name": { +"description": "Output only. The resource name of the assigned inventory source.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"AssignedLocation": { +"description": "An assignment between a location list and a relevant targeting option.", +"id": "AssignedLocation", +"properties": { +"assignedLocationId": { +"description": "Output only. The unique ID of the assigned location. The ID is only unique within a location list. It may be reused in other contexts.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"name": { +"description": "Output only. The resource name of the assigned location.", +"readOnly": true, +"type": "string" +}, +"targetingOptionId": { +"description": "Required. The ID of the targeting option assigned to the location list.", +"type": "string" +} +}, +"type": "object" +}, +"AssignedTargetingOption": { +"description": "A single assigned targeting option, which defines the state of a targeting option for an entity with targeting settings.", +"id": "AssignedTargetingOption", +"properties": { +"ageRangeDetails": { +"$ref": "AgeRangeAssignedTargetingOptionDetails", +"description": "Age range details. This field will be populated when the targeting_type is `TARGETING_TYPE_AGE_RANGE`." +}, +"appCategoryDetails": { +"$ref": "AppCategoryAssignedTargetingOptionDetails", +"description": "App category details. This field will be populated when the targeting_type is `TARGETING_TYPE_APP_CATEGORY`." +}, +"appDetails": { +"$ref": "AppAssignedTargetingOptionDetails", +"description": "App details. This field will be populated when the targeting_type is `TARGETING_TYPE_APP`." +}, +"assignedTargetingOptionId": { +"description": "Output only. The unique ID of the assigned targeting option. The ID is only unique within a given resource and targeting type. It may be reused in other contexts.", +"readOnly": true, +"type": "string" +}, +"assignedTargetingOptionIdAlias": { +"description": "Output only. An alias for the assigned_targeting_option_id. This value can be used in place of `assignedTargetingOptionId` when retrieving or deleting existing targeting. This field will only be supported for all assigned targeting options of the following targeting types: * `TARGETING_TYPE_AGE_RANGE` * `TARGETING_TYPE_DEVICE_TYPE` * `TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION` * `TARGETING_TYPE_ENVIRONMENT` * `TARGETING_TYPE_EXCHANGE` * `TARGETING_TYPE_GENDER` * `TARGETING_TYPE_HOUSEHOLD_INCOME` * `TARGETING_TYPE_NATIVE_CONTENT_POSITION` * `TARGETING_TYPE_OMID` * `TARGETING_TYPE_PARENTAL_STATUS` * `TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION` * `TARGETING_TYPE_VIDEO_PLAYER_SIZE` * `TARGETING_TYPE_VIEWABILITY` This field is also supported for line item assigned targeting options of the following targeting types: * `TARGETING_TYPE_CONTENT_INSTREAM_POSITION` * `TARGETING_TYPE_CONTENT_OUTSTREAM_POSITION`", +"readOnly": true, +"type": "string" +}, +"audienceGroupDetails": { +"$ref": "AudienceGroupAssignedTargetingOptionDetails", +"description": "Audience targeting details. This field will be populated when the targeting_type is `TARGETING_TYPE_AUDIENCE_GROUP`. You can only target one audience group option per resource." +}, +"audioContentTypeDetails": { +"$ref": "AudioContentTypeAssignedTargetingOptionDetails", +"description": "Audio content type details. This field will be populated when the targeting_type is `TARGETING_TYPE_AUDIO_CONTENT_TYPE`." +}, +"authorizedSellerStatusDetails": { +"$ref": "AuthorizedSellerStatusAssignedTargetingOptionDetails", +"description": "Authorized seller status details. This field will be populated when the targeting_type is `TARGETING_TYPE_AUTHORIZED_SELLER_STATUS`. You can only target one authorized seller status option per resource. If a resource doesn't have an authorized seller status option, all authorized sellers indicated as DIRECT or RESELLER in the ads.txt file are targeted by default." +}, +"browserDetails": { +"$ref": "BrowserAssignedTargetingOptionDetails", +"description": "Browser details. This field will be populated when the targeting_type is `TARGETING_TYPE_BROWSER`." +}, +"businessChainDetails": { +"$ref": "BusinessChainAssignedTargetingOptionDetails", +"description": "Business chain details. This field will be populated when the targeting_type is `TARGETING_TYPE_BUSINESS_CHAIN`." +}, +"carrierAndIspDetails": { +"$ref": "CarrierAndIspAssignedTargetingOptionDetails", +"description": "Carrier and ISP details. This field will be populated when the targeting_type is `TARGETING_TYPE_CARRIER_AND_ISP`." +}, +"categoryDetails": { +"$ref": "CategoryAssignedTargetingOptionDetails", +"description": "Category details. This field will be populated when the targeting_type is `TARGETING_TYPE_CATEGORY`. Targeting a category will also target its subcategories. If a category is excluded from targeting and a subcategory is included, the exclusion will take precedence." +}, +"channelDetails": { +"$ref": "ChannelAssignedTargetingOptionDetails", +"description": "Channel details. This field will be populated when the targeting_type is `TARGETING_TYPE_CHANNEL`." +}, +"contentDurationDetails": { +"$ref": "ContentDurationAssignedTargetingOptionDetails", +"description": "Content duration details. This field will be populated when the targeting_type is `TARGETING_TYPE_CONTENT_DURATION`." +}, +"contentGenreDetails": { +"$ref": "ContentGenreAssignedTargetingOptionDetails", +"description": "Content genre details. This field will be populated when the targeting_type is `TARGETING_TYPE_CONTENT_GENRE`." +}, +"contentInstreamPositionDetails": { +"$ref": "ContentInstreamPositionAssignedTargetingOptionDetails", +"description": "Content instream position details. This field will be populated when the targeting_type is `TARGETING_TYPE_CONTENT_INSTREAM_POSITION`." +}, +"contentOutstreamPositionDetails": { +"$ref": "ContentOutstreamPositionAssignedTargetingOptionDetails", +"description": "Content outstream position details. This field will be populated when the targeting_type is `TARGETING_TYPE_CONTENT_OUTSTREAM_POSITION`." +}, +"contentStreamTypeDetails": { +"$ref": "ContentStreamTypeAssignedTargetingOptionDetails", +"description": "Content duration details. This field will be populated when the TargetingType is `TARGETING_TYPE_CONTENT_STREAM_TYPE`." +}, +"contentThemeExclusionDetails": { +"$ref": "ContentThemeAssignedTargetingOptionDetails", +"description": "Content theme details. This field will be populated when the targeting_type is `TARGETING_TYPE_CONTENT_THEME_EXCLUSION`. Content theme are targeting exclusions. Advertiser level content theme exclusions, if set, are always applied in serving (even though they aren't visible in resource settings). Resource settings can exclude content theme in addition to advertiser exclusions." +}, +"dayAndTimeDetails": { +"$ref": "DayAndTimeAssignedTargetingOptionDetails", +"description": "Day and time details. This field will be populated when the targeting_type is `TARGETING_TYPE_DAY_AND_TIME`." +}, +"deviceMakeModelDetails": { +"$ref": "DeviceMakeModelAssignedTargetingOptionDetails", +"description": "Device make and model details. This field will be populated when the targeting_type is `TARGETING_TYPE_DEVICE_MAKE_MODEL`." +}, +"deviceTypeDetails": { +"$ref": "DeviceTypeAssignedTargetingOptionDetails", +"description": "Device Type details. This field will be populated when the targeting_type is `TARGETING_TYPE_DEVICE_TYPE`." +}, +"digitalContentLabelExclusionDetails": { +"$ref": "DigitalContentLabelAssignedTargetingOptionDetails", +"description": "Digital content label details. This field will be populated when the targeting_type is `TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION`. Digital content labels are targeting exclusions. Advertiser level digital content label exclusions, if set, are always applied in serving (even though they aren't visible in resource settings). Resource settings can exclude content labels in addition to advertiser exclusions, but can't override them. A line item won't serve if all the digital content labels are excluded." +}, +"environmentDetails": { +"$ref": "EnvironmentAssignedTargetingOptionDetails", +"description": "Environment details. This field will be populated when the targeting_type is `TARGETING_TYPE_ENVIRONMENT`." +}, +"exchangeDetails": { +"$ref": "ExchangeAssignedTargetingOptionDetails", +"description": "Exchange details. This field will be populated when the targeting_type is `TARGETING_TYPE_EXCHANGE`." +}, +"genderDetails": { +"$ref": "GenderAssignedTargetingOptionDetails", +"description": "Gender details. This field will be populated when the targeting_type is `TARGETING_TYPE_GENDER`." +}, +"geoRegionDetails": { +"$ref": "GeoRegionAssignedTargetingOptionDetails", +"description": "Geographic region details. This field will be populated when the targeting_type is `TARGETING_TYPE_GEO_REGION`." +}, +"householdIncomeDetails": { +"$ref": "HouseholdIncomeAssignedTargetingOptionDetails", +"description": "Household income details. This field will be populated when the targeting_type is `TARGETING_TYPE_HOUSEHOLD_INCOME`." +}, +"inheritance": { +"description": "Output only. The inheritance status of the assigned targeting option.", +"enum": [ +"INHERITANCE_UNSPECIFIED", +"NOT_INHERITED", +"INHERITED_FROM_PARTNER", +"INHERITED_FROM_ADVERTISER" +], +"enumDescriptions": [ +"The inheritance is unspecified or unknown.", +"The assigned targeting option is not inherited from higher level entity.", +"The assigned targeting option is inherited from partner targeting settings.", +"The assigned targeting option is inherited from advertiser targeting settings." +], +"readOnly": true, +"type": "string" +}, +"inventorySourceDetails": { +"$ref": "InventorySourceAssignedTargetingOptionDetails", +"description": "Inventory source details. This field will be populated when the targeting_type is `TARGETING_TYPE_INVENTORY_SOURCE`." +}, +"inventorySourceGroupDetails": { +"$ref": "InventorySourceGroupAssignedTargetingOptionDetails", +"description": "Inventory source group details. This field will be populated when the targeting_type is `TARGETING_TYPE_INVENTORY_SOURCE_GROUP`." +}, +"keywordDetails": { +"$ref": "KeywordAssignedTargetingOptionDetails", +"description": "Keyword details. This field will be populated when the targeting_type is `TARGETING_TYPE_KEYWORD`. A maximum of 5000 direct negative keywords can be assigned to a resource. No limit on number of positive keywords that can be assigned." +}, +"languageDetails": { +"$ref": "LanguageAssignedTargetingOptionDetails", +"description": "Language details. This field will be populated when the targeting_type is `TARGETING_TYPE_LANGUAGE`." +}, +"name": { +"description": "Output only. The resource name for this assigned targeting option.", +"readOnly": true, +"type": "string" +}, +"nativeContentPositionDetails": { +"$ref": "NativeContentPositionAssignedTargetingOptionDetails", +"description": "Native content position details. This field will be populated when the targeting_type is `TARGETING_TYPE_NATIVE_CONTENT_POSITION`." +}, +"negativeKeywordListDetails": { +"$ref": "NegativeKeywordListAssignedTargetingOptionDetails", +"description": "Keyword details. This field will be populated when the targeting_type is `TARGETING_TYPE_NEGATIVE_KEYWORD_LIST`. A maximum of 4 negative keyword lists can be assigned to a resource." +}, +"omidDetails": { +"$ref": "OmidAssignedTargetingOptionDetails", +"description": "Open Measurement enabled inventory details. This field will be populated when the targeting_type is `TARGETING_TYPE_OMID`." +}, +"onScreenPositionDetails": { +"$ref": "OnScreenPositionAssignedTargetingOptionDetails", +"description": "On screen position details. This field will be populated when the targeting_type is `TARGETING_TYPE_ON_SCREEN_POSITION`." +}, +"operatingSystemDetails": { +"$ref": "OperatingSystemAssignedTargetingOptionDetails", +"description": "Operating system details. This field will be populated when the targeting_type is `TARGETING_TYPE_OPERATING_SYSTEM`." +}, +"parentalStatusDetails": { +"$ref": "ParentalStatusAssignedTargetingOptionDetails", +"description": "Parental status details. This field will be populated when the targeting_type is `TARGETING_TYPE_PARENTAL_STATUS`." +}, +"poiDetails": { +"$ref": "PoiAssignedTargetingOptionDetails", +"description": "POI details. This field will be populated when the targeting_type is `TARGETING_TYPE_POI`." +}, +"proximityLocationListDetails": { +"$ref": "ProximityLocationListAssignedTargetingOptionDetails", +"description": "Proximity location list details. This field will be populated when the targeting_type is `TARGETING_TYPE_PROXIMITY_LOCATION_LIST`." +}, +"regionalLocationListDetails": { +"$ref": "RegionalLocationListAssignedTargetingOptionDetails", +"description": "Regional location list details. This field will be populated when the targeting_type is `TARGETING_TYPE_REGIONAL_LOCATION_LIST`." +}, +"sensitiveCategoryExclusionDetails": { +"$ref": "SensitiveCategoryAssignedTargetingOptionDetails", +"description": "Sensitive category details. This field will be populated when the targeting_type is `TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION`. Sensitive categories are targeting exclusions. Advertiser level sensitive category exclusions, if set, are always applied in serving (even though they aren't visible in resource settings). Resource settings can exclude sensitive categories in addition to advertiser exclusions, but can't override them." +}, +"sessionPositionDetails": { +"$ref": "SessionPositionAssignedTargetingOptionDetails", +"description": "Session position details. This field will be populated when the targeting_type is `TARGETING_TYPE_SESSION_POSITION`." +}, +"subExchangeDetails": { +"$ref": "SubExchangeAssignedTargetingOptionDetails", +"description": "Sub-exchange details. This field will be populated when the targeting_type is `TARGETING_TYPE_SUB_EXCHANGE`." +}, +"targetingType": { +"description": "Output only. Identifies the type of this assigned targeting option.", +"enum": [ +"TARGETING_TYPE_UNSPECIFIED", +"TARGETING_TYPE_CHANNEL", +"TARGETING_TYPE_APP_CATEGORY", +"TARGETING_TYPE_APP", +"TARGETING_TYPE_URL", +"TARGETING_TYPE_DAY_AND_TIME", +"TARGETING_TYPE_AGE_RANGE", +"TARGETING_TYPE_REGIONAL_LOCATION_LIST", +"TARGETING_TYPE_PROXIMITY_LOCATION_LIST", +"TARGETING_TYPE_GENDER", +"TARGETING_TYPE_VIDEO_PLAYER_SIZE", +"TARGETING_TYPE_USER_REWARDED_CONTENT", +"TARGETING_TYPE_PARENTAL_STATUS", +"TARGETING_TYPE_CONTENT_INSTREAM_POSITION", +"TARGETING_TYPE_CONTENT_OUTSTREAM_POSITION", +"TARGETING_TYPE_DEVICE_TYPE", +"TARGETING_TYPE_AUDIENCE_GROUP", +"TARGETING_TYPE_BROWSER", +"TARGETING_TYPE_HOUSEHOLD_INCOME", +"TARGETING_TYPE_ON_SCREEN_POSITION", +"TARGETING_TYPE_THIRD_PARTY_VERIFIER", +"TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION", +"TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION", +"TARGETING_TYPE_ENVIRONMENT", +"TARGETING_TYPE_CARRIER_AND_ISP", +"TARGETING_TYPE_OPERATING_SYSTEM", +"TARGETING_TYPE_DEVICE_MAKE_MODEL", +"TARGETING_TYPE_KEYWORD", +"TARGETING_TYPE_NEGATIVE_KEYWORD_LIST", +"TARGETING_TYPE_VIEWABILITY", +"TARGETING_TYPE_CATEGORY", +"TARGETING_TYPE_INVENTORY_SOURCE", +"TARGETING_TYPE_LANGUAGE", +"TARGETING_TYPE_AUTHORIZED_SELLER_STATUS", +"TARGETING_TYPE_GEO_REGION", +"TARGETING_TYPE_INVENTORY_SOURCE_GROUP", +"TARGETING_TYPE_EXCHANGE", +"TARGETING_TYPE_SUB_EXCHANGE", +"TARGETING_TYPE_POI", +"TARGETING_TYPE_BUSINESS_CHAIN", +"TARGETING_TYPE_CONTENT_DURATION", +"TARGETING_TYPE_CONTENT_STREAM_TYPE", +"TARGETING_TYPE_NATIVE_CONTENT_POSITION", +"TARGETING_TYPE_OMID", +"TARGETING_TYPE_AUDIO_CONTENT_TYPE", +"TARGETING_TYPE_CONTENT_GENRE", +"TARGETING_TYPE_YOUTUBE_VIDEO", +"TARGETING_TYPE_YOUTUBE_CHANNEL", +"TARGETING_TYPE_SESSION_POSITION", +"TARGETING_TYPE_CONTENT_THEME_EXCLUSION" +], +"enumDescriptions": [ +"Default value when type is not specified or is unknown in this version.", +"Target a channel (a custom group of related websites or apps).", +"Target an app category (for example, education or puzzle games).", +"Target a specific app (for example, Angry Birds).", +"Target a specific url (for example, quora.com).", +"Target ads during a chosen time period on a specific day.", +"Target ads to a specific age range (for example, 18-24).", +"Target ads to the specified regions on a regional location list.", +"Target ads to the specified points of interest on a proximity location list.", +"Target ads to a specific gender (for example, female or male).", +"Target a specific video player size for video ads.", +"Target user rewarded content for video ads.", +"Target ads to a specific parental status (for example, parent or not a parent).", +"Target video or audio ads in a specific content instream position (for example, pre-roll, mid-roll, or post-roll).", +"Target ads in a specific content outstream position.", +"Target ads to a specific device type (for example, tablet or connected TV).", +"Target ads to an audience or groups of audiences. Singleton field, at most one can exist on a single Lineitem at a time.", +"Target ads to specific web browsers (for example, Chrome).", +"Target ads to a specific household income range (for example, top 10%).", +"Target ads in a specific on screen position.", +"Filter web sites through third party verification (for example, IAS or DoubleVerify).", +"Filter web sites by specific digital content label ratings (for example, DL-MA: suitable only for mature audiences).", +"Filter website content by sensitive categories (for example, adult).", +"Target ads to a specific environment (for example, web or app).", +"Target ads to a specific network carrier or internet service provider (ISP) (for example, Comcast or Orange).", +"Target ads to a specific operating system (for example, macOS).", +"Target ads to a specific device make or model (for example, Roku or Samsung).", +"Target ads to a specific keyword (for example, dog or retriever).", +"Target ads to a specific negative keyword list.", +"Target ads to a specific viewability (for example, 80% viewable).", +"Target ads to a specific content category (for example, arts & entertainment).", +"Purchase impressions from specific deals and auction packages.", +"Target ads to a specific language (for example, English or Japanese).", +"Target ads to ads.txt authorized sellers. If no targeting option of this type is assigned, the resource uses the \"Authorized Direct Sellers and Resellers\" option by default.", +"Target ads to a specific regional location (for example, a city or state).", +"Purchase impressions from a group of deals and auction packages.", +"Purchase impressions from specific exchanges.", +"Purchase impressions from specific sub-exchanges.", +"Target ads around a specific point of interest, such as a notable building, a street address, or latitude/longitude coordinates.", +"Target ads around locations of a business chain within a specific geo region.", +"Target ads to a specific video content duration.", +"Target ads to a specific video content stream type.", +"Target ads to a specific native content position.", +"Target ads in an Open Measurement enabled inventory.", +"Target ads to a specific audio content type.", +"Target ads to a specific content genre.", +"Target ads to a specific YouTube video. Targeting of this type cannot be created or updated using the API. Although this targeting is inherited by child resources, **inherited targeting of this type will not be retrieveable**.", +"Target ads to a specific YouTube channel. Targeting of this type cannot be created or updated using the API. Although this targeting is inherited by child resources, **inherited targeting of this type will not be retrieveable**.", +"Target ads to a serve it in a certain position of a session. Only supported for Ad Group resources under YouTube Programmatic Reservation line items. Targeting of this type cannot be created or updated using the API.", +"Filter website content by content themes (for example, religion). Only supported for Advertiser resources. Targeting of this type cannot be created or updated using the API. This targeting is only inherited by child YouTube and Demand Gen line item resources." +], +"readOnly": true, +"type": "string" +}, +"thirdPartyVerifierDetails": { +"$ref": "ThirdPartyVerifierAssignedTargetingOptionDetails", +"description": "Third party verification details. This field will be populated when the targeting_type is `TARGETING_TYPE_THIRD_PARTY_VERIFIER`." +}, +"urlDetails": { +"$ref": "UrlAssignedTargetingOptionDetails", +"description": "URL details. This field will be populated when the targeting_type is `TARGETING_TYPE_URL`." +}, +"userRewardedContentDetails": { +"$ref": "UserRewardedContentAssignedTargetingOptionDetails", +"description": "User rewarded content details. This field will be populated when the targeting_type is `TARGETING_TYPE_USER_REWARDED_CONTENT`." +}, +"videoPlayerSizeDetails": { +"$ref": "VideoPlayerSizeAssignedTargetingOptionDetails", +"description": "Video player size details. This field will be populated when the targeting_type is `TARGETING_TYPE_VIDEO_PLAYER_SIZE`." +}, +"viewabilityDetails": { +"$ref": "ViewabilityAssignedTargetingOptionDetails", +"description": "Viewability details. This field will be populated when the targeting_type is `TARGETING_TYPE_VIEWABILITY`. You can only target one viewability option per resource." +}, +"youtubeChannelDetails": { +"$ref": "YoutubeChannelAssignedTargetingOptionDetails", +"description": "YouTube channel details. This field will be populated when the targeting_type is `TARGETING_TYPE_YOUTUBE_CHANNEL`." +}, +"youtubeVideoDetails": { +"$ref": "YoutubeVideoAssignedTargetingOptionDetails", +"description": "YouTube video details. This field will be populated when the targeting_type is `TARGETING_TYPE_YOUTUBE_VIDEO`." +} +}, +"type": "object" +}, +"AssignedUserRole": { +"description": "A single assigned user role, which defines a user's authorized interaction with a specified partner or advertiser.", +"id": "AssignedUserRole", +"properties": { +"advertiserId": { +"description": "The ID of the advertiser that the assigend user role applies to.", +"format": "int64", +"type": "string" +}, +"assignedUserRoleId": { +"description": "Output only. The ID of the assigned user role.", +"readOnly": true, +"type": "string" +}, +"partnerId": { +"description": "The ID of the partner that the assigned user role applies to.", +"format": "int64", +"type": "string" +}, +"userRole": { +"description": "Required. The user role to assign to a user for the entity.", +"enum": [ +"USER_ROLE_UNSPECIFIED", +"ADMIN", +"ADMIN_PARTNER_CLIENT", +"STANDARD", +"STANDARD_PLANNER", +"STANDARD_PLANNER_LIMITED", +"STANDARD_PARTNER_CLIENT", +"READ_ONLY", +"REPORTING_ONLY", +"LIMITED_REPORTING_ONLY", +"CREATIVE", +"CREATIVE_ADMIN" +], +"enumDescriptions": [ +"Default value when the user role is not specified or is unknown in this version.", +"The user can manage campaigns, creatives, insertion orders, line items, and reports for the entity. They can view and edit billing information, create or modify users, and enable or disable exchanges. This role can only be assigned for a partner entity.", +"The user can manage campaigns, creatives, insertion orders, line items, and reports for the entity. They can create and modify other `ADMIN_PARTNER_CLIENT` users and view billing information. They cannot view revenue models, markups, or any other reseller-sensitive fields. This role can only be assigned for a partner entity.", +"The user can manage campaigns, creatives, insertion orders, line items, and reports for the entity. They cannot create and modify users or view billing information.", +"The user can view all campaigns, creatives, insertion orders, line items, and reports for the entity, including all cost data. They can create and modify planning-related features, including plans and inventory.", +"The user can view all campaigns, creatives, insertion orders, line items, and reports for the entity. They can create or modify planning-related features, including plans and inventory. They have no access to cost data and cannot start, accept, or negotiate deals.", +"The user can manage campaigns, creatives, insertion orders, line items, and reports for the entity. They cannot create or modify other users or view billing information. They cannot view revenue models, markups, or any other reseller-sensitive fields. This role can only be assigned for an advertiser entity.", +"The user can only build reports and view data for the entity.", +"The user can only create and manage reports.", +"The user can only create and manage the following client-safe reports: General, Audience Performance, Cross-Partner, Keyword, Order ID, Category, and Third-Party Data Provider.", +"The user can view media plan information they need to collaborate, but can't view cost-related data or Marketplace.", +"The user can view media plan information they need to collaborate, but can't view cost-related data or Marketplace. In addition, they can add other creative admins or creative users to the entity." +], +"type": "string" +} +}, +"type": "object" +}, +"AudienceGroupAssignedTargetingOptionDetails": { +"description": "Assigned audience group targeting option details. This will be populated in the details field of an AssignedTargetingOption when targeting_type is `TARGETING_TYPE_AUDIENCE_GROUP`. The relation between each group is UNION, except for excluded_first_and_third_party_audience_group and excluded_google_audience_group, of which COMPLEMENT is used as an INTERSECTION with other groups.", +"id": "AudienceGroupAssignedTargetingOptionDetails", +"properties": { +"excludedFirstPartyAndPartnerAudienceGroup": { +"$ref": "FirstPartyAndPartnerAudienceGroup", +"description": "Optional. The first party and partner audience ids and recencies of the excluded first party and partner audience group. Used for negative targeting. The COMPLEMENT of the UNION of this group and other excluded audience groups is used as an INTERSECTION to any positive audience targeting. All items are logically \u2018OR\u2019 of each other." +}, +"excludedGoogleAudienceGroup": { +"$ref": "GoogleAudienceGroup", +"description": "Optional. The Google audience ids of the excluded Google audience group. Used for negative targeting. The COMPLEMENT of the UNION of this group and other excluded audience groups is used as an INTERSECTION to any positive audience targeting. Only contains Affinity, In-market and Installed-apps type Google audiences. All items are logically \u2018OR\u2019 of each other." +}, +"includedCombinedAudienceGroup": { +"$ref": "CombinedAudienceGroup", +"description": "Optional. The combined audience ids of the included combined audience group. Contains combined audience ids only." +}, +"includedCustomListGroup": { +"$ref": "CustomListGroup", +"description": "Optional. The custom list ids of the included custom list group. Contains custom list ids only." +}, +"includedFirstPartyAndPartnerAudienceGroups": { +"description": "Optional. The first party and partner audience ids and recencies of included first party and partner audience groups. Each first party and partner audience group contains first party and partner audience ids only. The relation between each first party and partner audience group is INTERSECTION, and the result is UNION'ed with other audience groups. Repeated groups with the same settings will be ignored.", +"items": { +"$ref": "FirstPartyAndPartnerAudienceGroup" +}, +"type": "array" +}, +"includedGoogleAudienceGroup": { +"$ref": "GoogleAudienceGroup", +"description": "Optional. The Google audience ids of the included Google audience group. Contains Google audience ids only." +} +}, +"type": "object" +}, +"AudioAd": { +"description": "Details for an audio ad.", +"id": "AudioAd", +"properties": { +"displayUrl": { +"description": "The webpage address that appears with the ad.", +"type": "string" +}, +"finalUrl": { +"description": "The URL address of the webpage that people reach after they click the ad.", +"type": "string" +}, +"trackingUrl": { +"description": "The URL address loaded in the background for tracking purposes.", +"type": "string" +}, +"video": { +"$ref": "YoutubeVideoDetails", +"description": "The YouTube video of the ad." +} +}, +"type": "object" +}, +"AudioContentTypeAssignedTargetingOptionDetails": { +"description": "Details for audio content type assigned targeting option. This will be populated in the audio_content_type_details field when targeting_type is `TARGETING_TYPE_AUDIO_CONTENT_TYPE`. Explicitly targeting all options is not supported. Remove all audio content type targeting options to achieve this effect.", +"id": "AudioContentTypeAssignedTargetingOptionDetails", +"properties": { +"audioContentType": { +"description": "Required. The audio content type.", +"enum": [ +"AUDIO_CONTENT_TYPE_UNSPECIFIED", +"AUDIO_CONTENT_TYPE_UNKNOWN", +"AUDIO_CONTENT_TYPE_MUSIC", +"AUDIO_CONTENT_TYPE_BROADCAST", +"AUDIO_CONTENT_TYPE_PODCAST" +], +"enumDescriptions": [ +"Audio content type is not specified in this version. This enum is a place holder for a default value and does not represent a real content stream type.", +"The audio content type is unknown.", +"The audio content type is music.", +"The audio content type is broadcast.", +"The audio content type is podcast." +], +"type": "string" +} +}, +"type": "object" +}, +"AudioContentTypeTargetingOptionDetails": { +"description": "Represents a targetable audio content type. This will be populated in the audio_content_type_details field when targeting_type is `TARGETING_TYPE_AUDIO_CONTENT_TYPE`.", +"id": "AudioContentTypeTargetingOptionDetails", +"properties": { +"audioContentType": { +"description": "Output only. The audio content type.", +"enum": [ +"AUDIO_CONTENT_TYPE_UNSPECIFIED", +"AUDIO_CONTENT_TYPE_UNKNOWN", +"AUDIO_CONTENT_TYPE_MUSIC", +"AUDIO_CONTENT_TYPE_BROADCAST", +"AUDIO_CONTENT_TYPE_PODCAST" +], +"enumDescriptions": [ +"Audio content type is not specified in this version. This enum is a place holder for a default value and does not represent a real content stream type.", +"The audio content type is unknown.", +"The audio content type is music.", +"The audio content type is broadcast.", +"The audio content type is podcast." +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"AudioVideoOffset": { +"description": "The length an audio or a video has been played.", +"id": "AudioVideoOffset", +"properties": { +"percentage": { +"description": "Optional. The offset in percentage of the audio or video duration.", +"format": "int64", +"type": "string" +}, +"seconds": { +"description": "Optional. The offset in seconds from the start of the audio or video.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"AuditAdvertiserResponse": { +"description": "Response message for AdvertiserService.AuditAdvertiser.", +"id": "AuditAdvertiserResponse", +"properties": { +"adGroupCriteriaCount": { +"description": "The number of individual targeting options from the following targeting types that are assigned to a line item under this advertiser. These individual targeting options count towards the limit of 4500000 ad group targeting options per advertiser. Qualifying Targeting types: * Channels, URLs, apps, and collections * Demographic * Google Audiences, including Affinity, Custom Affinity, and In-market audiences * Inventory source * Keyword * Mobile app category * User lists * Video targeting * Viewability", +"format": "int64", +"type": "string" +}, +"campaignCriteriaCount": { +"description": "The number of individual targeting options from the following targeting types that are assigned to a line item under this advertiser. These individual targeting options count towards the limit of 900000 campaign targeting options per advertiser. Qualifying Targeting types: * Position * Browser * Connection speed * Day and time * Device and operating system * Digital content label * Sensitive categories * Environment * Geography, including business chains and proximity * ISP * Language * Third-party verification", +"format": "int64", +"type": "string" +}, +"channelsCount": { +"description": "The number of channels created under this advertiser. These channels count towards the limit of 1000 channels per advertiser.", +"format": "int64", +"type": "string" +}, +"negativeKeywordListsCount": { +"description": "The number of negative keyword lists created under this advertiser. These negative keyword lists count towards the limit of 20 negative keyword lists per advertiser.", +"format": "int64", +"type": "string" +}, +"negativelyTargetedChannelsCount": { +"description": "The number of negatively targeted channels created under this advertiser. These negatively targeted channels count towards the limit of 5 negatively targeted channels per advertiser.", +"format": "int64", +"type": "string" +}, +"usedCampaignsCount": { +"description": "The number of ACTIVE and PAUSED campaigns under this advertiser. These campaigns count towards the limit of 9999 campaigns per advertiser.", +"format": "int64", +"type": "string" +}, +"usedInsertionOrdersCount": { +"description": "The number of ACTIVE, PAUSED and DRAFT insertion orders under this advertiser. These insertion orders count towards the limit of 9999 insertion orders per advertiser.", +"format": "int64", +"type": "string" +}, +"usedLineItemsCount": { +"description": "The number of ACTIVE, PAUSED, and DRAFT line items under this advertiser. These line items count towards the limit of 9999 line items per advertiser.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"AuthorizedSellerStatusAssignedTargetingOptionDetails": { +"description": "Represents an assigned authorized seller status. This will be populated in the details field of an AssignedTargetingOption when targeting_type is `TARGETING_TYPE_AUTHORIZED_SELLER_STATUS`. If a resource does not have an `TARGETING_TYPE_AUTHORIZED_SELLER_STATUS` assigned targeting option, it is using the \"Authorized Direct Sellers and Resellers\" option.", +"id": "AuthorizedSellerStatusAssignedTargetingOptionDetails", +"properties": { +"authorizedSellerStatus": { +"description": "Output only. The authorized seller status to target.", +"enum": [ +"AUTHORIZED_SELLER_STATUS_UNSPECIFIED", +"AUTHORIZED_SELLER_STATUS_AUTHORIZED_DIRECT_SELLERS_ONLY", +"AUTHORIZED_SELLER_STATUS_AUTHORIZED_AND_NON_PARTICIPATING_PUBLISHERS" +], +"enumDescriptions": [ +"Default value when authorized seller status is not specified in this version. This enum is a placeholder for the default value, or \"Authorized Direct Sellers and Resellers\" in the UI.", +"Only authorized sellers that directly own the inventory being monetized, as indicated by a DIRECT declaration in the ads.txt file. This value is equivalent to \"Authorized Direct Sellers\" in the UI.", +"All authorized sellers, including publishers that have not posted an ads.txt file. Display & Video 360 automatically disallows unauthorized sellers. This value is equivalent to \"Authorized and Non-Participating Publishers\" in the UI." +], +"readOnly": true, +"type": "string" +}, +"targetingOptionId": { +"description": "Required. The targeting_option_id of a TargetingOption of type `TARGETING_TYPE_AUTHORIZED_SELLER_STATUS`.", +"type": "string" +} +}, +"type": "object" +}, +"AuthorizedSellerStatusTargetingOptionDetails": { +"description": "Represents a targetable authorized seller status. This will be populated in the authorized_seller_status_details field when targeting_type is `TARGETING_TYPE_AUTHORIZED_SELLER_STATUS`.", +"id": "AuthorizedSellerStatusTargetingOptionDetails", +"properties": { +"authorizedSellerStatus": { +"description": "Output only. The authorized seller status.", +"enum": [ +"AUTHORIZED_SELLER_STATUS_UNSPECIFIED", +"AUTHORIZED_SELLER_STATUS_AUTHORIZED_DIRECT_SELLERS_ONLY", +"AUTHORIZED_SELLER_STATUS_AUTHORIZED_AND_NON_PARTICIPATING_PUBLISHERS" +], +"enumDescriptions": [ +"Default value when authorized seller status is not specified in this version. This enum is a placeholder for the default value, or \"Authorized Direct Sellers and Resellers\" in the UI.", +"Only authorized sellers that directly own the inventory being monetized, as indicated by a DIRECT declaration in the ads.txt file. This value is equivalent to \"Authorized Direct Sellers\" in the UI.", +"All authorized sellers, including publishers that have not posted an ads.txt file. Display & Video 360 automatically disallows unauthorized sellers. This value is equivalent to \"Authorized and Non-Participating Publishers\" in the UI." +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"BiddingStrategy": { +"description": "Settings that control the bid strategy. Bid strategy determines the bid price.", +"id": "BiddingStrategy", +"properties": { +"fixedBid": { +"$ref": "FixedBidStrategy", +"description": "A strategy that uses a fixed bid price." +}, +"maximizeSpendAutoBid": { +"$ref": "MaximizeSpendBidStrategy", +"description": "A strategy that automatically adjusts the bid to optimize to your performance goal while spending the full budget. At insertion order level, the markup_type of line items cannot be set to `PARTNER_REVENUE_MODEL_MARKUP_TYPE_CPM`. In addition, the performance_goal_type value assigned to an insertion order determines the possible line_item_type values available for line items under that insertion order: * `BIDDING_STRATEGY_PERFORMANCE_GOAL_TYPE_CPA`, `BIDDING_STRATEGY_PERFORMANCE_GOAL_TYPE_CPC`, and `BIDDING_STRATEGY_PERFORMANCE_GOAL_TYPE_AV_VIEWED` only allow for `LINE_ITEM_TYPE_DISPLAY_DEFAULT` or `LINE_ITEM_TYPE_VIDEO_DEFAULT` line items. * `BIDDING_STRATEGY_PERFORMANCE_GOAL_TYPE_CIVA` and `BIDDING_STRATEGY_PERFORMANCE_GOAL_TYPE_IVO_TEN` only allow for `LINE_ITEM_TYPE_VIDEO_DEFAULT` line items. * `BIDDING_STRATEGY_PERFORMANCE_GOAL_TYPE_REACH` only allows for `LINE_ITEM_TYPE_VIDEO_OVER_THE_TOP` line items." +}, +"performanceGoalAutoBid": { +"$ref": "PerformanceGoalBidStrategy", +"description": "A strategy that automatically adjusts the bid to meet or beat a specified performance goal. It is to be used only for a line item entity." +}, +"youtubeAndPartnersBid": { +"$ref": "YoutubeAndPartnersBiddingStrategy", +"description": "A bid strategy used by YouTube and Partners resources. It can only be used for a YouTube and Partners line item or ad group entity." +} +}, +"type": "object" +}, +"BrowserAssignedTargetingOptionDetails": { +"description": "Details for assigned browser targeting option. This will be populated in the details field of an AssignedTargetingOption when targeting_type is `TARGETING_TYPE_BROWSER`.", +"id": "BrowserAssignedTargetingOptionDetails", +"properties": { +"displayName": { +"description": "Output only. The display name of the browser.", +"readOnly": true, +"type": "string" +}, +"negative": { +"description": "Indicates if this option is being negatively targeted. All assigned browser targeting options on the same resource must have the same value for this field.", +"type": "boolean" +}, +"targetingOptionId": { +"description": "Required. The targeting_option_id of a TargetingOption of type `TARGETING_TYPE_BROWSER`.", +"type": "string" +} +}, +"type": "object" +}, +"BrowserTargetingOptionDetails": { +"description": "Represents a targetable browser. This will be populated in the browser_details field when targeting_type is `TARGETING_TYPE_BROWSER`.", +"id": "BrowserTargetingOptionDetails", +"properties": { +"displayName": { +"description": "Output only. The display name of the browser.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"BudgetSummary": { +"description": "Summarized information of an individual campaign budget.", +"id": "BudgetSummary", +"properties": { +"externalBudgetId": { +"description": "Corresponds to the external_budget_id of a campaign budget. If the value is not set in the campaign budget, this field will be empty.", +"type": "string" +}, +"preTaxAmountMicros": { +"description": "The sum of charges made under this budget before taxes, in micros of the invoice's currency. For example, if currency_code is `USD`, then 1000000 represents one US dollar.", +"format": "int64", +"type": "string" +}, +"prismaCpeCode": { +"$ref": "PrismaCpeCode", +"description": "Relevant client, product, and estimate codes from the Mediaocean Prisma tool. Only applicable for campaign budgets with an external_budget_source of EXTERNAL_BUDGET_SOURCE_MEDIA_OCEAN." +}, +"taxAmountMicros": { +"description": "The amount of tax applied to charges under this budget, in micros of the invoice's currency. For example, if currency_code is `USD`, then 1000000 represents one US dollar.", +"format": "int64", +"type": "string" +}, +"totalAmountMicros": { +"description": "The total sum of charges made under this budget, including tax, in micros of the invoice's currency. For example, if currency_code is `USD`, then 1000000 represents one US dollar.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"BulkCreateAdAssetsRequest": { +"description": "A request message for BulkCreateAdAssets.", +"id": "BulkCreateAdAssetsRequest", +"properties": { +"adAssets": { +"description": "Required. Ad assets to create. Only supports assets of AdAssetType `AD_ASSET_TYPE_YOUTUBE_VIDEO`.", +"items": { +"$ref": "AdAsset" +}, +"type": "array" +} +}, +"type": "object" +}, +"BulkCreateAdAssetsResponse": { +"description": "A response message for BulkCreateAdAssets.", +"id": "BulkCreateAdAssetsResponse", +"properties": { +"adAssets": { +"description": "The created ad assets.", +"items": { +"$ref": "AdAsset" +}, +"type": "array" +} +}, +"type": "object" +}, +"BulkEditAdvertiserAssignedTargetingOptionsRequest": { +"description": "Request message for BulkEditAdvertiserAssignedTargetingOptions.", +"id": "BulkEditAdvertiserAssignedTargetingOptionsRequest", +"properties": { +"createRequests": { +"description": "The assigned targeting options to create in batch, specified as a list of `CreateAssignedTargetingOptionsRequest`. Supported targeting types: * `TARGETING_TYPE_CHANNEL` * `TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION` * `TARGETING_TYPE_OMID` * `TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION` * `TARGETING_TYPE_KEYWORD` * `TARGETING_TYPE_INVENTORY_MODE`", +"items": { +"$ref": "CreateAssignedTargetingOptionsRequest" +}, +"type": "array" +}, +"deleteRequests": { +"description": "The assigned targeting options to delete in batch, specified as a list of `DeleteAssignedTargetingOptionsRequest`. Supported targeting types: * `TARGETING_TYPE_CHANNEL` * `TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION` * `TARGETING_TYPE_OMID` * `TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION` * `TARGETING_TYPE_KEYWORD` * `TARGETING_TYPE_INVENTORY_MODE`", +"items": { +"$ref": "DeleteAssignedTargetingOptionsRequest" +}, +"type": "array" +} +}, +"type": "object" +}, +"BulkEditAdvertiserAssignedTargetingOptionsResponse": { +"id": "BulkEditAdvertiserAssignedTargetingOptionsResponse", +"properties": { +"createdAssignedTargetingOptions": { +"description": "The list of assigned targeting options that have been successfully created. This list will be absent if empty.", +"items": { +"$ref": "AssignedTargetingOption" +}, +"type": "array" +} +}, +"type": "object" +}, +"BulkEditAssignedInventorySourcesRequest": { +"description": "Request message for AssignedInventorySourceService.BulkEdit.", +"id": "BulkEditAssignedInventorySourcesRequest", +"properties": { +"advertiserId": { +"description": "The ID of the advertiser that owns the parent inventory source group. The parent partner does not have access to these assigned inventory sources.", +"format": "int64", +"type": "string" +}, +"createdAssignedInventorySources": { +"description": "The assigned inventory sources to create in bulk, specified as a list of AssignedInventorySources.", +"items": { +"$ref": "AssignedInventorySource" +}, +"type": "array" +}, +"deletedAssignedInventorySources": { +"description": "The IDs of the assigned inventory sources to delete in bulk, specified as a list of assigned_inventory_source_ids.", +"items": { +"format": "int64", +"type": "string" +}, +"type": "array" +}, +"partnerId": { +"description": "The ID of the partner that owns the inventory source group. Only this partner has write access to these assigned inventory sources.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"BulkEditAssignedInventorySourcesResponse": { +"description": "Response message for AssignedInventorySourceService.BulkEdit.", +"id": "BulkEditAssignedInventorySourcesResponse", +"properties": { +"assignedInventorySources": { +"description": "The list of assigned inventory sources that have been successfully created. This list will be absent if empty.", +"items": { +"$ref": "AssignedInventorySource" +}, +"type": "array" +} +}, +"type": "object" +}, +"BulkEditAssignedLocationsRequest": { +"description": "Request message for AssignedLocationService.BulkEditAssignedLocations.", +"id": "BulkEditAssignedLocationsRequest", +"properties": { +"createdAssignedLocations": { +"description": "The assigned locations to create in bulk, specified as a list of AssignedLocation resources.", +"items": { +"$ref": "AssignedLocation" +}, +"type": "array" +}, +"deletedAssignedLocations": { +"description": "The IDs of the assigned locations to delete in bulk, specified as a list of assignedLocationId values.", +"items": { +"format": "int64", +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"BulkEditAssignedLocationsResponse": { +"id": "BulkEditAssignedLocationsResponse", +"properties": { +"assignedLocations": { +"description": "The list of assigned locations that have been successfully created. This list will be absent if empty.", +"items": { +"$ref": "AssignedLocation" +}, +"type": "array" +} +}, +"type": "object" +}, +"BulkEditAssignedTargetingOptionsRequest": { +"description": "Request message for BulkEditLineItemsAssignedTargetingOptions.", +"id": "BulkEditAssignedTargetingOptionsRequest", +"properties": { +"createRequests": { +"description": "The assigned targeting options to create in batch, specified as a list of CreateAssignedTargetingOptionsRequest. Supported targeting types include: * `TARGETING_TYPE_AGE_RANGE` * `TARGETING_TYPE_APP` * `TARGETING_TYPE_APP_CATEGORY` * `TARGETING_TYPE_AUDIENCE_GROUP` * `TARGETING_TYPE_AUDIO_CONTENT_TYPE` * `TARGETING_TYPE_AUTHORIZED_SELLER_STATUS` * `TARGETING_TYPE_BROWSER` * `TARGETING_TYPE_BUSINESS_CHAIN` * `TARGETING_TYPE_CARRIER_AND_ISP` * `TARGETING_TYPE_CATEGORY` * `TARGETING_TYPE_CHANNEL` * `TARGETING_TYPE_CONTENT_DURATION` * `TARGETING_TYPE_CONTENT_GENRE` * `TARGETING_TYPE_CONTENT_INSTREAM_POSITION` * `TARGETING_TYPE_CONTENT_OUTSTREAM_POSITION` * `TARGETING_TYPE_CONTENT_STREAM_TYPE` * `TARGETING_TYPE_DAY_AND_TIME` * `TARGETING_TYPE_DEVICE_MAKE_MODEL` * `TARGETING_TYPE_DEVICE_TYPE` * `TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION` * `TARGETING_TYPE_ENVIRONMENT` * `TARGETING_TYPE_EXCHANGE` * `TARGETING_TYPE_GENDER` * `TARGETING_TYPE_GEO_REGION` * `TARGETING_TYPE_HOUSEHOLD_INCOME` * `TARGETING_TYPE_INVENTORY_SOURCE` * `TARGETING_TYPE_INVENTORY_SOURCE_GROUP` * `TARGETING_TYPE_KEYWORD` * `TARGETING_TYPE_LANGUAGE` * `TARGETING_TYPE_NATIVE_CONTENT_POSITION` * `TARGETING_TYPE_NEGATIVE_KEYWORD_LIST` * `TARGETING_TYPE_OMID` * `TARGETING_TYPE_ON_SCREEN_POSITION` * `TARGETING_TYPE_OPERATING_SYSTEM` * `TARGETING_TYPE_PARENTAL_STATUS` * `TARGETING_TYPE_POI` * `TARGETING_TYPE_PROXIMITY_LOCATION_LIST` * `TARGETING_TYPE_REGIONAL_LOCATION_LIST` * `TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION` * `TARGETING_TYPE_SUB_EXCHANGE` * `TARGETING_TYPE_THIRD_PARTY_VERIFIER` * `TARGETING_TYPE_URL` * `TARGETING_TYPE_USER_REWARDED_CONTENT` * `TARGETING_TYPE_VIDEO_PLAYER_SIZE` * `TARGETING_TYPE_VIEWABILITY`", +"items": { +"$ref": "CreateAssignedTargetingOptionsRequest" +}, +"type": "array" +}, +"deleteRequests": { +"description": "The assigned targeting options to delete in batch, specified as a list of DeleteAssignedTargetingOptionsRequest. Supported targeting types include: * `TARGETING_TYPE_AGE_RANGE` * `TARGETING_TYPE_APP` * `TARGETING_TYPE_APP_CATEGORY` * `TARGETING_TYPE_AUDIENCE_GROUP` * `TARGETING_TYPE_AUDIO_CONTENT_TYPE` * `TARGETING_TYPE_AUTHORIZED_SELLER_STATUS` * `TARGETING_TYPE_BROWSER` * `TARGETING_TYPE_BUSINESS_CHAIN` * `TARGETING_TYPE_CARRIER_AND_ISP` * `TARGETING_TYPE_CATEGORY` * `TARGETING_TYPE_CHANNEL` * `TARGETING_TYPE_CONTENT_DURATION` * `TARGETING_TYPE_CONTENT_GENRE` * `TARGETING_TYPE_CONTENT_INSTREAM_POSITION` * `TARGETING_TYPE_CONTENT_OUTSTREAM_POSITION` * `TARGETING_TYPE_CONTENT_STREAM_TYPE` * `TARGETING_TYPE_DAY_AND_TIME` * `TARGETING_TYPE_DEVICE_MAKE_MODEL` * `TARGETING_TYPE_DEVICE_TYPE` * `TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION` * `TARGETING_TYPE_ENVIRONMENT` * `TARGETING_TYPE_EXCHANGE` * `TARGETING_TYPE_GENDER` * `TARGETING_TYPE_GEO_REGION` * `TARGETING_TYPE_HOUSEHOLD_INCOME` * `TARGETING_TYPE_INVENTORY_SOURCE` * `TARGETING_TYPE_INVENTORY_SOURCE_GROUP` * `TARGETING_TYPE_KEYWORD` * `TARGETING_TYPE_LANGUAGE` * `TARGETING_TYPE_NATIVE_CONTENT_POSITION` * `TARGETING_TYPE_NEGATIVE_KEYWORD_LIST` * `TARGETING_TYPE_OMID` * `TARGETING_TYPE_ON_SCREEN_POSITION` * `TARGETING_TYPE_OPERATING_SYSTEM` * `TARGETING_TYPE_PARENTAL_STATUS` * `TARGETING_TYPE_POI` * `TARGETING_TYPE_PROXIMITY_LOCATION_LIST` * `TARGETING_TYPE_REGIONAL_LOCATION_LIST` * `TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION` * `TARGETING_TYPE_SUB_EXCHANGE` * `TARGETING_TYPE_THIRD_PARTY_VERIFIER` * `TARGETING_TYPE_URL` * `TARGETING_TYPE_USER_REWARDED_CONTENT` * `TARGETING_TYPE_VIDEO_PLAYER_SIZE` * `TARGETING_TYPE_VIEWABILITY`", +"items": { +"$ref": "DeleteAssignedTargetingOptionsRequest" +}, +"type": "array" +}, +"lineItemIds": { +"description": "Required. The ID of the line items whose targeting is being updated.", +"items": { +"format": "int64", +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"BulkEditAssignedTargetingOptionsResponse": { +"id": "BulkEditAssignedTargetingOptionsResponse", +"properties": { +"errors": { +"description": "The error information for each line item that failed to update.", +"items": { +"$ref": "Status" +}, +"type": "array" +}, +"failedLineItemIds": { +"description": "Output only. The IDs of the line items which failed.", +"items": { +"format": "int64", +"type": "string" +}, +"readOnly": true, +"type": "array" +}, +"updatedLineItemIds": { +"description": "Output only. The IDs of the line items which successfully updated.", +"items": { +"format": "int64", +"type": "string" +}, +"readOnly": true, +"type": "array" +} +}, +"type": "object" +}, +"BulkEditAssignedUserRolesRequest": { +"description": "Request message for BulkEditAssignedUserRoles.", +"id": "BulkEditAssignedUserRolesRequest", +"properties": { +"createdAssignedUserRoles": { +"description": "The assigned user roles to create in batch, specified as a list of AssignedUserRoles.", +"items": { +"$ref": "AssignedUserRole" +}, +"type": "array" +}, +"deletedAssignedUserRoles": { +"description": "The assigned user roles to delete in batch, specified as a list of assigned_user_role_ids. The format of assigned_user_role_id is `entityType-entityid`, for example `partner-123`.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"BulkEditAssignedUserRolesResponse": { +"id": "BulkEditAssignedUserRolesResponse", +"properties": { +"createdAssignedUserRoles": { +"description": "The list of assigned user roles that have been successfully created. This list will be absent if empty.", +"items": { +"$ref": "AssignedUserRole" +}, +"type": "array" +} +}, +"type": "object" +}, +"BulkEditNegativeKeywordsRequest": { +"description": "Request message for NegativeKeywordService.BulkEditNegativeKeywords.", +"id": "BulkEditNegativeKeywordsRequest", +"properties": { +"createdNegativeKeywords": { +"description": "The negative keywords to create in batch, specified as a list of NegativeKeywords.", +"items": { +"$ref": "NegativeKeyword" +}, +"type": "array" +}, +"deletedNegativeKeywords": { +"description": "The negative keywords to delete in batch, specified as a list of keyword_values.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"BulkEditNegativeKeywordsResponse": { +"description": "Response message for NegativeKeywordService.BulkEditNegativeKeywords.", +"id": "BulkEditNegativeKeywordsResponse", +"properties": { +"negativeKeywords": { +"description": "The list of negative keywords that have been successfully created. This list will be absent if empty.", +"items": { +"$ref": "NegativeKeyword" +}, +"type": "array" +} +}, +"type": "object" +}, +"BulkEditPartnerAssignedTargetingOptionsRequest": { +"description": "Request message for BulkEditPartnerAssignedTargetingOptions.", +"id": "BulkEditPartnerAssignedTargetingOptionsRequest", +"properties": { +"createRequests": { +"description": "The assigned targeting options to create in batch, specified as a list of `CreateAssignedTargetingOptionsRequest`. Supported targeting types: * `TARGETING_TYPE_CHANNEL`", +"items": { +"$ref": "CreateAssignedTargetingOptionsRequest" +}, +"type": "array" +}, +"deleteRequests": { +"description": "The assigned targeting options to delete in batch, specified as a list of `DeleteAssignedTargetingOptionsRequest`. Supported targeting types: * `TARGETING_TYPE_CHANNEL`", +"items": { +"$ref": "DeleteAssignedTargetingOptionsRequest" +}, +"type": "array" +} +}, +"type": "object" +}, +"BulkEditPartnerAssignedTargetingOptionsResponse": { +"id": "BulkEditPartnerAssignedTargetingOptionsResponse", +"properties": { +"createdAssignedTargetingOptions": { +"description": "The list of assigned targeting options that have been successfully created. This list will be absent if empty.", +"items": { +"$ref": "AssignedTargetingOption" +}, +"type": "array" +} +}, +"type": "object" +}, +"BulkEditSitesRequest": { +"description": "Request message for SiteService.BulkEditSites.", +"id": "BulkEditSitesRequest", +"properties": { +"advertiserId": { +"description": "The ID of the advertiser that owns the parent channel.", +"format": "int64", +"type": "string" +}, +"createdSites": { +"description": "The sites to create in batch, specified as a list of Sites.", +"items": { +"$ref": "Site" +}, +"type": "array" +}, +"deletedSites": { +"description": "The sites to delete in batch, specified as a list of site url_or_app_ids.", +"items": { +"type": "string" +}, +"type": "array" +}, +"partnerId": { +"description": "The ID of the partner that owns the parent channel.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"BulkEditSitesResponse": { +"description": "Response message for SiteService.BulkEditSites.", +"id": "BulkEditSitesResponse", +"properties": { +"sites": { +"description": "The list of sites that have been successfully created. This list will be absent if empty.", +"items": { +"$ref": "Site" +}, +"type": "array" +} +}, +"type": "object" +}, +"BulkListAdGroupAssignedTargetingOptionsResponse": { +"id": "BulkListAdGroupAssignedTargetingOptionsResponse", +"properties": { +"adGroupAssignedTargetingOptions": { +"description": "The list of wrapper objects, each providing an assigned targeting option and the ad group it is assigned to. This list will be absent if empty.", +"items": { +"$ref": "AdGroupAssignedTargetingOption" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A token identifying the next page of results. This value should be specified as the pageToken in a subsequent call to `BulkListAdGroupAssignedTargetingOptions` to fetch the next page of results. This token will be absent if there are no more AdGroupAssignedTargetingOption resources to return.", +"type": "string" +} +}, +"type": "object" +}, +"BulkListAdvertiserAssignedTargetingOptionsResponse": { +"id": "BulkListAdvertiserAssignedTargetingOptionsResponse", +"properties": { +"assignedTargetingOptions": { +"description": "The list of assigned targeting options. This list will be absent if empty.", +"items": { +"$ref": "AssignedTargetingOption" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A token identifying the next page of results. This value should be specified as the pageToken in a subsequent BulkListAdvertiserAssignedTargetingOptionsRequest to fetch the next page of results. This token will be absent if there are no more assigned_targeting_options to return.", +"type": "string" +} +}, +"type": "object" +}, +"BulkListAssignedTargetingOptionsResponse": { +"id": "BulkListAssignedTargetingOptionsResponse", +"properties": { +"lineItemAssignedTargetingOptions": { +"description": "The list of wrapper objects, each providing an assigned targeting option and the line item it is assigned to. This list will be absent if empty.", +"items": { +"$ref": "LineItemAssignedTargetingOption" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A token identifying the next page of results. This value should be specified as the pageToken in a subsequent call to `BulkListAssignedTargetingOptions` to fetch the next page of results. This token will be absent if there are no more line_item_assigned_targeting_options to return.", +"type": "string" +} +}, +"type": "object" +}, +"BulkUpdateLineItemsRequest": { +"description": "Request message for LineItemService.BulkUpdateLineItems.", +"id": "BulkUpdateLineItemsRequest", +"properties": { +"lineItemIds": { +"description": "Required. IDs of line items to update.", +"items": { +"format": "int64", +"type": "string" +}, +"type": "array" +}, +"targetLineItem": { +"$ref": "LineItem", +"description": "Required. A line item object containing the fields to be updated and the new values to assign to all line items specified in line_item_ids.\"" +}, +"updateMask": { +"description": "Required. A field mask identifying which fields to update. Only the following fields are currently supported: * entityStatus * containsEuPoliticalAds", +"format": "google-fieldmask", +"type": "string" +} +}, +"type": "object" +}, +"BulkUpdateLineItemsResponse": { +"description": "Response message for LineItemService.BulkUpdateLineItems.", +"id": "BulkUpdateLineItemsResponse", +"properties": { +"errors": { +"description": "Errors returned by line items that failed to update.", +"items": { +"$ref": "Status" +}, +"type": "array" +}, +"failedLineItemIds": { +"description": "The IDs of line items that failed to update.", +"items": { +"format": "int64", +"type": "string" +}, +"type": "array" +}, +"skippedLineItemIds": { +"description": "The IDs of line items that are skipped for updates. For example, unnecessary mutates that will result in effectively no changes to line items will be skipped and corresponding line item IDs can be tracked here.", +"items": { +"format": "int64", +"type": "string" +}, +"type": "array" +}, +"updatedLineItemIds": { +"description": "The IDs of successfully updated line items.", +"items": { +"format": "int64", +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"BumperAd": { +"description": "Details for a bumper ad.", +"id": "BumperAd", +"properties": { +"commonInStreamAttribute": { +"$ref": "CommonInStreamAttribute", +"description": "Common ad attributes." +} +}, +"type": "object" +}, +"BusinessChainAssignedTargetingOptionDetails": { +"description": "Details for assigned Business chain targeting option. This will be populated in the details field of an AssignedTargetingOption when targeting_type is `TARGETING_TYPE_BUSINESS_CHAIN`.", +"id": "BusinessChainAssignedTargetingOptionDetails", +"properties": { +"displayName": { +"description": "Output only. The display name of a business chain, e.g. \"KFC\", \"Chase Bank\".", +"readOnly": true, +"type": "string" +}, +"proximityRadiusAmount": { +"description": "Required. The radius of the area around the business chain that will be targeted. The units of the radius are specified by proximity_radius_unit. Must be 1 to 800 if unit is `DISTANCE_UNIT_KILOMETERS` and 1 to 500 if unit is `DISTANCE_UNIT_MILES`. The minimum increment for both cases is 0.1. Inputs will be rounded to the nearest acceptable value if it is too granular, e.g. 15.57 will become 15.6.", +"format": "double", +"type": "number" +}, +"proximityRadiusUnit": { +"description": "Required. The unit of distance by which the targeting radius is measured.", +"enum": [ +"DISTANCE_UNIT_UNSPECIFIED", +"DISTANCE_UNIT_MILES", +"DISTANCE_UNIT_KILOMETERS" +], +"enumDescriptions": [ +"Type value is not specified or is unknown in this version.", +"Miles.", +"Kilometers." +], +"type": "string" +}, +"targetingOptionId": { +"description": "Required. The targeting_option_id of a TargetingOption of type `TARGETING_TYPE_BUSINESS_CHAIN`. Accepted business chain targeting option IDs can be retrieved using SearchTargetingOptions.", +"type": "string" +} +}, +"type": "object" +}, +"BusinessChainSearchTerms": { +"description": "Search terms for Business Chain targeting options. At least one of the field should be populated.", +"id": "BusinessChainSearchTerms", +"properties": { +"businessChainQuery": { +"description": "The search query for the desired business chain. The query must be the full name of the business, e.g. \"KFC\", \"mercedes-benz\".", +"type": "string" +}, +"regionQuery": { +"description": "The search query for the desired geo region, e.g. \"Seattle\", \"United State\".", +"type": "string" +} +}, +"type": "object" +}, +"BusinessChainTargetingOptionDetails": { +"description": "Represents a targetable business chain within a geo region. This will be populated in the business_chain_details field when targeting_type is `TARGETING_TYPE_BUSINESS_CHAIN`.", +"id": "BusinessChainTargetingOptionDetails", +"properties": { +"businessChain": { +"description": "Output only. The display name of the business chain, e.g. \"KFC\", \"Chase Bank\".", +"readOnly": true, +"type": "string" +}, +"geoRegion": { +"description": "Output only. The display name of the geographic region, e.g. \"Ontario, Canada\".", +"readOnly": true, +"type": "string" +}, +"geoRegionType": { +"description": "Output only. The type of the geographic region.", +"enum": [ +"GEO_REGION_TYPE_UNKNOWN", +"GEO_REGION_TYPE_OTHER", +"GEO_REGION_TYPE_COUNTRY", +"GEO_REGION_TYPE_REGION", +"GEO_REGION_TYPE_TERRITORY", +"GEO_REGION_TYPE_PROVINCE", +"GEO_REGION_TYPE_STATE", +"GEO_REGION_TYPE_PREFECTURE", +"GEO_REGION_TYPE_GOVERNORATE", +"GEO_REGION_TYPE_CANTON", +"GEO_REGION_TYPE_UNION_TERRITORY", +"GEO_REGION_TYPE_AUTONOMOUS_COMMUNITY", +"GEO_REGION_TYPE_DMA_REGION", +"GEO_REGION_TYPE_METRO", +"GEO_REGION_TYPE_CONGRESSIONAL_DISTRICT", +"GEO_REGION_TYPE_COUNTY", +"GEO_REGION_TYPE_MUNICIPALITY", +"GEO_REGION_TYPE_CITY", +"GEO_REGION_TYPE_POSTAL_CODE", +"GEO_REGION_TYPE_DEPARTMENT", +"GEO_REGION_TYPE_AIRPORT", +"GEO_REGION_TYPE_TV_REGION", +"GEO_REGION_TYPE_OKRUG", +"GEO_REGION_TYPE_BOROUGH", +"GEO_REGION_TYPE_CITY_REGION", +"GEO_REGION_TYPE_ARRONDISSEMENT", +"GEO_REGION_TYPE_NEIGHBORHOOD", +"GEO_REGION_TYPE_UNIVERSITY", +"GEO_REGION_TYPE_DISTRICT", +"GEO_REGION_TYPE_NATIONAL_PARK", +"GEO_REGION_TYPE_BARRIO", +"GEO_REGION_TYPE_SUB_WARD", +"GEO_REGION_TYPE_MUNICIPALITY_DISTRICT", +"GEO_REGION_TYPE_SUB_DISTRICT", +"GEO_REGION_TYPE_QUARTER", +"GEO_REGION_TYPE_DIVISION", +"GEO_REGION_TYPE_COMMUNE", +"GEO_REGION_TYPE_COLLOQUIAL_AREA" +], +"enumDescriptions": [ +"The geographic region type is unknown.", +"The geographic region type is other.", +"The geographic region is a country.", +"The geographic region type is region.", +"The geographic region is a territory.", +"The geographic region is a province.", +"The geographic region is a state.", +"The geographic region is a prefecture.", +"The geographic region is a governorate.", +"The geographic region is a canton.", +"The geographic region is a union territory.", +"The geographic region is an autonomous community.", +"The geographic region is a designated market area (DMA) region.", +"The geographic region type is metro.", +"The geographic region is a congressional district.", +"The geographic region is a county.", +"The geographic region is a municipality.", +"The geographic region is a city.", +"The geographic region targeting type is postal code.", +"The geographic region targeting type is department.", +"The geographic region is an airport.", +"The geographic region is a TV region.", +"The geographic region is an okrug.", +"The geographic region is a borough.", +"The geographic region is a city region.", +"The geographic region is an arrondissement.", +"The geographic region is a neighborhood.", +"The geographic region is a university.", +"The geographic region is a district.", +"The geographic region is a national park.", +"The geographic region is a barrio.", +"The geographic region is a sub ward.", +"The geographic region is a municipality district.", +"The geographic region is a sub district.", +"The geographic region is a quarter.", +"The geographic region is a division.", +"The geographic region is a commune.", +"The geographic region is a colloquial area." +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"Campaign": { +"description": "A single campaign.", +"id": "Campaign", +"properties": { +"advertiserId": { +"description": "Output only. The unique ID of the advertiser the campaign belongs to.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"campaignBudgets": { +"description": "The list of budgets available to this campaign. If this field is not set, the campaign uses an unlimited budget.", +"items": { +"$ref": "CampaignBudget" +}, +"type": "array" +}, +"campaignFlight": { +"$ref": "CampaignFlight", +"description": "Required. The planned spend and duration of the campaign." +}, +"campaignGoal": { +"$ref": "CampaignGoal", +"description": "Required. The goal of the campaign." +}, +"campaignId": { +"description": "Output only. The unique ID of the campaign. Assigned by the system.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"displayName": { +"description": "Required. The display name of the campaign. Must be UTF-8 encoded with a maximum size of 240 bytes.", +"type": "string" +}, +"entityStatus": { +"description": "Required. Controls whether or not the insertion orders under this campaign can spend their budgets and bid on inventory. * Accepted values are `ENTITY_STATUS_ACTIVE`, `ENTITY_STATUS_ARCHIVED`, and `ENTITY_STATUS_PAUSED`. * For CreateCampaign method, `ENTITY_STATUS_ARCHIVED` is not allowed.", +"enum": [ +"ENTITY_STATUS_UNSPECIFIED", +"ENTITY_STATUS_ACTIVE", +"ENTITY_STATUS_ARCHIVED", +"ENTITY_STATUS_DRAFT", +"ENTITY_STATUS_PAUSED", +"ENTITY_STATUS_SCHEDULED_FOR_DELETION" +], +"enumDescriptions": [ +"Default value when status is not specified or is unknown in this version.", +"The entity is enabled to bid and spend budget.", +"The entity is archived. Bidding and budget spending are disabled. An entity can be deleted after archived. Deleted entities cannot be retrieved.", +"The entity is under draft. Bidding and budget spending are disabled.", +"Bidding and budget spending are paused for the entity.", +"The entity is scheduled for deletion." +], +"type": "string" +}, +"frequencyCap": { +"$ref": "FrequencyCap", +"description": "Required. The frequency cap setting of the campaign. *Warning*: On **February 28, 2025**, frequency cap time periods greater than 30 days will no longer be accepted. [Read more about this announced change](/display-video/api/deprecations#features.lifetime_frequency_cap)" +}, +"name": { +"description": "Output only. The resource name of the campaign.", +"readOnly": true, +"type": "string" +}, +"updateTime": { +"description": "Output only. The timestamp when the campaign was last updated. Assigned by the system.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"CampaignBudget": { +"description": "Settings that control how the campaign budget is allocated.", +"id": "CampaignBudget", +"properties": { +"budgetAmountMicros": { +"description": "Required. The total amount the linked insertion order segments can budget. The amount is in micros. Must be greater than 0. For example, 500000000 represents 500 standard units of the currency.", +"format": "int64", +"type": "string" +}, +"budgetId": { +"description": "The unique ID of the campaign budget. Assigned by the system. Do not set for new budgets. Must be included when updating or adding budgets to campaign_budgets. Otherwise, a new ID will be generated and assigned.", +"format": "int64", +"type": "string" +}, +"budgetUnit": { +"description": "Required. Immutable. Specifies whether the budget is measured in currency or impressions.", +"enum": [ +"BUDGET_UNIT_UNSPECIFIED", +"BUDGET_UNIT_CURRENCY", +"BUDGET_UNIT_IMPRESSIONS" +], +"enumDescriptions": [ +"Type value is not specified or is unknown in this version.", +"Budgeting in currency amounts.", +"Budgeting in impression amounts." +], +"type": "string" +}, +"dateRange": { +"$ref": "DateRange", +"description": "Required. The date range for the campaign budget. Linked budget segments may have a different date range. They are resolved relative to the parent advertiser's time zone. Both `start_date` and `end_date` must be before the year 2037." +}, +"displayName": { +"description": "Required. The display name of the budget. Must be UTF-8 encoded with a maximum size of 240 bytes.", +"type": "string" +}, +"externalBudgetId": { +"description": "Immutable. The ID identifying this budget to the external source. If this field is set and the invoice detail level of the corresponding billing profile is set to \"Budget level PO\", all impressions served against this budget will include this ID on the invoice. Must be unique under the campaign.", +"type": "string" +}, +"externalBudgetSource": { +"description": "Required. The external source of the budget.", +"enum": [ +"EXTERNAL_BUDGET_SOURCE_UNSPECIFIED", +"EXTERNAL_BUDGET_SOURCE_NONE", +"EXTERNAL_BUDGET_SOURCE_MEDIA_OCEAN" +], +"enumDescriptions": [ +"External budget source value is not specified or unknown in this version.", +"Budget has no external source.", +"Budget source is Mediaocean." +], +"type": "string" +}, +"invoiceGroupingId": { +"description": "Immutable. The ID used to group budgets to be included the same invoice. If this field is set and the invoice level of the corresponding billing profile is set to \"Budget invoice grouping ID\", all external_budget_id sharing the same invoice_grouping_id will be grouped in the same invoice.", +"type": "string" +}, +"prismaConfig": { +"$ref": "PrismaConfig", +"description": "Additional metadata for use by the Mediaocean Prisma tool. Required for Mediaocean budgets. Only applicable to prisma_enabled advertisers." +} +}, +"type": "object" +}, +"CampaignFlight": { +"description": "Settings that track the planned spend and duration of a campaign.", +"id": "CampaignFlight", +"properties": { +"plannedDates": { +"$ref": "DateRange", +"description": "Required. The dates that the campaign is expected to run. They are resolved relative to the parent advertiser's time zone. * The dates specified here will not affect serving. They are used to generate alerts and warnings. For example, if the flight date of any child insertion order is outside the range of these dates, the user interface will show a warning. * `start_date` is required and must be the current date or later. * `end_date` is optional. If specified, it must be the `start_date` or later. * Any specified date must be before the year 2037." +}, +"plannedSpendAmountMicros": { +"description": "The amount the campaign is expected to spend for its given planned_dates. This will not limit serving, but will be used for tracking spend in the DV360 UI. The amount is in micros. Must be greater than or equal to 0. For example, 500000000 represents 500 standard units of the currency.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"CampaignGoal": { +"description": "Settings that control the goal of a campaign.", +"id": "CampaignGoal", +"properties": { +"campaignGoalType": { +"description": "Required. The type of the campaign goal.", +"enum": [ +"CAMPAIGN_GOAL_TYPE_UNSPECIFIED", +"CAMPAIGN_GOAL_TYPE_APP_INSTALL", +"CAMPAIGN_GOAL_TYPE_BRAND_AWARENESS", +"CAMPAIGN_GOAL_TYPE_OFFLINE_ACTION", +"CAMPAIGN_GOAL_TYPE_ONLINE_ACTION" +], +"enumDescriptions": [ +"Goal value is not specified or unknown in this version.", +"Drive app installs or engagements.", +"Raise awareness of a brand or product.", +"Drive offline or in-store sales.", +"Drive online action or visits." +], +"type": "string" +}, +"performanceGoal": { +"$ref": "PerformanceGoal", +"description": "Required. The performance goal of the campaign. Acceptable values for performance_goal_type are: * `PERFORMANCE_GOAL_TYPE_CPM` * `PERFORMANCE_GOAL_TYPE_CPC` * `PERFORMANCE_GOAL_TYPE_CPA` * `PERFORMANCE_GOAL_TYPE_CPIAVC` * `PERFORMANCE_GOAL_TYPE_CTR` * `PERFORMANCE_GOAL_TYPE_VIEWABILITY` * `PERFORMANCE_GOAL_TYPE_OTHER`" +} +}, +"type": "object" +}, +"CarrierAndIspAssignedTargetingOptionDetails": { +"description": "Details for assigned carrier and ISP targeting option. This will be populated in the details field of an AssignedTargetingOption when targeting_type is `TARGETING_TYPE_CARRIER_AND_ISP`.", +"id": "CarrierAndIspAssignedTargetingOptionDetails", +"properties": { +"displayName": { +"description": "Output only. The display name of the carrier or ISP.", +"readOnly": true, +"type": "string" +}, +"negative": { +"description": "Indicates if this option is being negatively targeted. All assigned carrier and ISP targeting options on the same resource must have the same value for this field.", +"type": "boolean" +}, +"targetingOptionId": { +"description": "Required. The targeting_option_id of a TargetingOption of type `TARGETING_TYPE_CARRIER_AND_ISP`.", +"type": "string" +} +}, +"type": "object" +}, +"CarrierAndIspTargetingOptionDetails": { +"description": "Represents a targetable carrier or ISP. This will be populated in the carrier_and_isp_details field of a TargetingOption when targeting_type is `TARGETING_TYPE_CARRIER_AND_ISP`.", +"id": "CarrierAndIspTargetingOptionDetails", +"properties": { +"displayName": { +"description": "Output only. The display name of the carrier or ISP.", +"readOnly": true, +"type": "string" +}, +"type": { +"description": "Output only. The type indicating if it's carrier or ISP.", +"enum": [ +"CARRIER_AND_ISP_TYPE_UNSPECIFIED", +"CARRIER_AND_ISP_TYPE_ISP", +"CARRIER_AND_ISP_TYPE_CARRIER" +], +"enumDescriptions": [ +"Default value when type is not specified or is unknown in this version.", +"Indicates this targeting resource refers to an ISP.", +"Indicates this targeting resource refers to a mobile carrier." +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"CategoryAssignedTargetingOptionDetails": { +"description": "Assigned category targeting option details. This will be populated in the category_details field when targeting_type is `TARGETING_TYPE_CATEGORY`.", +"id": "CategoryAssignedTargetingOptionDetails", +"properties": { +"displayName": { +"description": "Output only. The display name of the category.", +"readOnly": true, +"type": "string" +}, +"negative": { +"description": "Indicates if this option is being negatively targeted.", +"type": "boolean" +}, +"targetingOptionId": { +"description": "Required. The targeting_option_id field when targeting_type is `TARGETING_TYPE_CATEGORY`.", +"type": "string" +} +}, +"type": "object" +}, +"CategoryTargetingOptionDetails": { +"description": "Represents a targetable category. This will be populated in the category_details field of a TargetingOption when targeting_type is `TARGETING_TYPE_CATEGORY`.", +"id": "CategoryTargetingOptionDetails", +"properties": { +"displayName": { +"description": "Output only. The display name of the category.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"Channel": { +"description": "A single channel. Channels are custom groups of related websites and apps.", +"id": "Channel", +"properties": { +"advertiserId": { +"description": "The ID of the advertiser that owns the channel.", +"format": "int64", +"type": "string" +}, +"channelId": { +"description": "Output only. The unique ID of the channel. Assigned by the system.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"displayName": { +"description": "Required. The display name of the channel. Must be UTF-8 encoded with a maximum length of 240 bytes.", +"type": "string" +}, +"name": { +"description": "Output only. The resource name of the channel.", +"readOnly": true, +"type": "string" +}, +"negativelyTargetedLineItemCount": { +"description": "Output only. Number of line items that are directly targeting this channel negatively.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"partnerId": { +"description": "The ID of the partner that owns the channel.", +"format": "int64", +"type": "string" +}, +"positivelyTargetedLineItemCount": { +"description": "Output only. Number of line items that are directly targeting this channel positively.", +"format": "int64", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"ChannelAssignedTargetingOptionDetails": { +"description": "Details for assigned channel targeting option. This will be populated in the details field of an AssignedTargetingOption when targeting_type is `TARGETING_TYPE_CHANNEL`.", +"id": "ChannelAssignedTargetingOptionDetails", +"properties": { +"channelId": { +"description": "Required. ID of the channel. Should refer to the channel ID field on a [Partner-owned channel](partners.channels#Channel.FIELDS.channel_id) or [advertiser-owned channel](advertisers.channels#Channel.FIELDS.channel_id) resource.", +"format": "int64", +"type": "string" +}, +"negative": { +"description": "Indicates if this option is being negatively targeted. For advertiser level assigned targeting option, this field must be true.", +"type": "boolean" +} +}, +"type": "object" +}, +"CmHybridConfig": { +"description": "Settings for advertisers that use both Campaign Manager 360 (CM360) and third-party ad servers.", +"id": "CmHybridConfig", +"properties": { +"cmAccountId": { +"description": "Required. Immutable. Account ID of the CM360 Floodlight configuration linked with the DV360 advertiser.", +"format": "int64", +"type": "string" +}, +"cmAdvertiserIds": { +"description": "Output only. The set of CM360 Advertiser IDs sharing the CM360 Floodlight configuration.", +"items": { +"format": "int64", +"type": "string" +}, +"readOnly": true, +"type": "array" +}, +"cmFloodlightConfigId": { +"description": "Required. Immutable. ID of the CM360 Floodlight configuration linked with the DV360 advertiser.", +"format": "int64", +"type": "string" +}, +"cmFloodlightLinkingAuthorized": { +"description": "Required. Immutable. By setting this field to `true`, you, on behalf of your company, authorize the sharing of information from the given Floodlight configuration to this Display & Video 360 advertiser.", +"type": "boolean" +}, +"cmSyncableSiteIds": { +"description": "A list of CM360 sites whose placements will be synced to DV360 as creatives. If absent or empty in CreateAdvertiser method, the system will automatically create a CM360 site. Removing sites from this list may cause DV360 creatives synced from CM360 to be deleted. At least one site must be specified.", +"items": { +"format": "int64", +"type": "string" +}, +"type": "array" +}, +"dv360ToCmCostReportingEnabled": { +"description": "Whether or not to report DV360 cost to CM360.", +"type": "boolean" +}, +"dv360ToCmDataSharingEnabled": { +"description": "Whether or not to include DV360 data in CM360 data transfer reports.", +"type": "boolean" +} +}, +"type": "object" +}, +"CmTrackingAd": { +"description": "A Campaign Manager 360 tracking ad.", +"id": "CmTrackingAd", +"properties": { +"cmAdId": { +"description": "Optional. The ad ID of the campaign manager 360 tracking Ad.", +"format": "int64", +"type": "string" +}, +"cmCreativeId": { +"description": "Optional. The creative ID of the campaign manager 360 tracking Ad.", +"format": "int64", +"type": "string" +}, +"cmPlacementId": { +"description": "Optional. The placement ID of the campaign manager 360 tracking Ad.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"CombinedAudience": { +"description": "Describes a combined audience resource.", +"id": "CombinedAudience", +"properties": { +"combinedAudienceId": { +"description": "Output only. The unique ID of the combined audience. Assigned by the system.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"displayName": { +"description": "Output only. The display name of the combined audience. .", +"readOnly": true, +"type": "string" +}, +"name": { +"description": "Output only. The resource name of the combined audience.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"CombinedAudienceGroup": { +"description": "Details of combined audience group. All combined audience targeting settings are logically \u2018OR\u2019 of each other.", +"id": "CombinedAudienceGroup", +"properties": { +"settings": { +"description": "Required. All combined audience targeting settings in combined audience group. Repeated settings with the same id will be ignored. The number of combined audience settings should be no more than five, error will be thrown otherwise.", +"items": { +"$ref": "CombinedAudienceTargetingSetting" +}, +"type": "array" +} +}, +"type": "object" +}, +"CombinedAudienceTargetingSetting": { +"description": "Details of combined audience targeting setting.", +"id": "CombinedAudienceTargetingSetting", +"properties": { +"combinedAudienceId": { +"description": "Required. Combined audience id of combined audience targeting setting. This id is combined_audience_id.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"CommonInStreamAttribute": { +"description": "Common attributes for in-stream, non-skippable and bumper ads.", +"id": "CommonInStreamAttribute", +"properties": { +"actionButtonLabel": { +"description": "The text on the call-to-action button.", +"type": "string" +}, +"actionHeadline": { +"description": "The headline of the call-to-action banner.", +"type": "string" +}, +"companionBanner": { +"$ref": "ImageAsset", +"description": "The image which shows next to the video ad." +}, +"displayUrl": { +"description": "The webpage address that appears with the ad.", +"type": "string" +}, +"finalUrl": { +"description": "The URL address of the webpage that people reach after they click the ad.", +"type": "string" +}, +"trackingUrl": { +"description": "The URL address loaded in the background for tracking purposes.", +"type": "string" +}, +"video": { +"$ref": "YoutubeVideoDetails", +"description": "The YouTube video of the ad." +} +}, +"type": "object" +}, +"Consent": { +"description": "User consent status.", +"id": "Consent", +"properties": { +"adPersonalization": { +"description": "Represents consent for ad personalization.", +"enum": [ +"CONSENT_STATUS_UNSPECIFIED", +"CONSENT_STATUS_GRANTED", +"CONSENT_STATUS_DENIED" +], +"enumDescriptions": [ +"Type value is not specified or is unknown in this version.", +"Consent is granted.", +"Consent is denied." +], +"type": "string" +}, +"adUserData": { +"description": "Represents consent for ad user data.", +"enum": [ +"CONSENT_STATUS_UNSPECIFIED", +"CONSENT_STATUS_GRANTED", +"CONSENT_STATUS_DENIED" +], +"enumDescriptions": [ +"Type value is not specified or is unknown in this version.", +"Consent is granted.", +"Consent is denied." +], +"type": "string" +} +}, +"type": "object" +}, +"ContactInfo": { +"description": "Contact information defining a Customer Match audience member.", +"id": "ContactInfo", +"properties": { +"countryCode": { +"description": "Country code of the member. Must also be set with the following fields: * hashed_first_name * hashed_last_name * zip_codes", +"type": "string" +}, +"hashedEmails": { +"description": "A list of SHA256 hashed email of the member. Before hashing, remove all whitespace and make sure the string is all lowercase.", +"items": { +"type": "string" +}, +"type": "array" +}, +"hashedFirstName": { +"description": "SHA256 hashed first name of the member. Before hashing, remove all whitespace and make sure the string is all lowercase. Must also be set with the following fields: * country_code * hashed_last_name * zip_codes", +"type": "string" +}, +"hashedLastName": { +"description": "SHA256 hashed last name of the member. Before hashing, remove all whitespace and make sure the string is all lowercase. Must also be set with the following fields: * country_code * hashed_first_name * zip_codes", +"type": "string" +}, +"hashedPhoneNumbers": { +"description": "A list of SHA256 hashed phone numbers of the member. Before hashing, all phone numbers must be formatted using the [E.164 format](//en.wikipedia.org/wiki/E.164) and include the country calling code.", +"items": { +"type": "string" +}, +"type": "array" +}, +"zipCodes": { +"description": "A list of zip codes of the member. Must also be set with the following fields: * country_code * hashed_first_name * hashed_last_name", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ContactInfoList": { +"description": "Wrapper message for a list of contact information defining Customer Match audience members.", +"id": "ContactInfoList", +"properties": { +"consent": { +"$ref": "Consent", +"description": "Input only. The consent setting for the users in contact_infos. Leaving this field unset indicates that consent is not specified. If ad_user_data or ad_personalization fields are set to `CONSENT_STATUS_DENIED`, the request will return an error." +}, +"contactInfos": { +"description": "A list of ContactInfo objects defining Customer Match audience members. The size of members after splitting the contact_infos mustn't be greater than 500,000.", +"items": { +"$ref": "ContactInfo" +}, +"type": "array" +} +}, +"type": "object" +}, +"ContentDurationAssignedTargetingOptionDetails": { +"description": "Details for content duration assigned targeting option. This will be populated in the content_duration_details field when targeting_type is `TARGETING_TYPE_CONTENT_DURATION`. Explicitly targeting all options is not supported. Remove all content duration targeting options to achieve this effect.", +"id": "ContentDurationAssignedTargetingOptionDetails", +"properties": { +"contentDuration": { +"description": "Output only. The content duration.", +"enum": [ +"CONTENT_DURATION_UNSPECIFIED", +"CONTENT_DURATION_UNKNOWN", +"CONTENT_DURATION_0_TO_1_MIN", +"CONTENT_DURATION_1_TO_5_MIN", +"CONTENT_DURATION_5_TO_15_MIN", +"CONTENT_DURATION_15_TO_30_MIN", +"CONTENT_DURATION_30_TO_60_MIN", +"CONTENT_DURATION_OVER_60_MIN" +], +"enumDescriptions": [ +"Content duration is not specified in this version. This enum is a place holder for a default value and does not represent a real content duration.", +"The content duration is unknown.", +"Content is 0-1 minute long.", +"Content is 1-5 minutes long.", +"Content is 5-15 minutes long.", +"Content is 15-30 minutes long.", +"Content is 30-60 minutes long.", +"Content is over 60 minutes long." +], +"readOnly": true, +"type": "string" +}, +"targetingOptionId": { +"description": "Required. The targeting_option_id field when targeting_type is `TARGETING_TYPE_CONTENT_DURATION`.", +"type": "string" +} +}, +"type": "object" +}, +"ContentDurationTargetingOptionDetails": { +"description": "Represents a targetable content duration. This will be populated in the content_duration_details field when targeting_type is `TARGETING_TYPE_CONTENT_DURATION`.", +"id": "ContentDurationTargetingOptionDetails", +"properties": { +"contentDuration": { +"description": "Output only. The content duration.", +"enum": [ +"CONTENT_DURATION_UNSPECIFIED", +"CONTENT_DURATION_UNKNOWN", +"CONTENT_DURATION_0_TO_1_MIN", +"CONTENT_DURATION_1_TO_5_MIN", +"CONTENT_DURATION_5_TO_15_MIN", +"CONTENT_DURATION_15_TO_30_MIN", +"CONTENT_DURATION_30_TO_60_MIN", +"CONTENT_DURATION_OVER_60_MIN" +], +"enumDescriptions": [ +"Content duration is not specified in this version. This enum is a place holder for a default value and does not represent a real content duration.", +"The content duration is unknown.", +"Content is 0-1 minute long.", +"Content is 1-5 minutes long.", +"Content is 5-15 minutes long.", +"Content is 15-30 minutes long.", +"Content is 30-60 minutes long.", +"Content is over 60 minutes long." +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"ContentGenreAssignedTargetingOptionDetails": { +"description": "Details for content genre assigned targeting option. This will be populated in the content_genre_details field when targeting_type is `TARGETING_TYPE_CONTENT_GENRE`. Explicitly targeting all options is not supported. Remove all content genre targeting options to achieve this effect.", +"id": "ContentGenreAssignedTargetingOptionDetails", +"properties": { +"displayName": { +"description": "Output only. The display name of the content genre.", +"readOnly": true, +"type": "string" +}, +"negative": { +"description": "Indicates if this option is being negatively targeted.", +"type": "boolean" +}, +"targetingOptionId": { +"description": "Required. The targeting_option_id field when targeting_type is `TARGETING_TYPE_CONTENT_GENRE`.", +"type": "string" +} +}, +"type": "object" +}, +"ContentGenreTargetingOptionDetails": { +"description": "Represents a targetable content genre. This will be populated in the content_genre_details field when targeting_type is `TARGETING_TYPE_CONTENT_GENRE`.", +"id": "ContentGenreTargetingOptionDetails", +"properties": { +"displayName": { +"description": "Output only. The display name of the content genre", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"ContentInstreamPositionAssignedTargetingOptionDetails": { +"description": "Assigned content instream position targeting option details. This will be populated in the content_instream_position_details field when targeting_type is `TARGETING_TYPE_CONTENT_INSTREAM_POSITION`.", +"id": "ContentInstreamPositionAssignedTargetingOptionDetails", +"properties": { +"adType": { +"description": "Output only. The ad type to target. Only applicable to insertion order targeting and new line items supporting the specified ad type will inherit this targeting option by default. Possible values are: * `AD_TYPE_VIDEO`, the setting will be inherited by new line item when line_item_type is `LINE_ITEM_TYPE_VIDEO_DEFAULT`. * `AD_TYPE_AUDIO`, the setting will be inherited by new line item when line_item_type is `LINE_ITEM_TYPE_AUDIO_DEFAULT`.", +"enum": [ +"AD_TYPE_UNSPECIFIED", +"AD_TYPE_DISPLAY", +"AD_TYPE_VIDEO", +"AD_TYPE_AUDIO" +], +"enumDescriptions": [ +"Ad type is not specified or is unknown in this version.", +"Display creatives, e.g. image and HTML5.", +"Video creatives, e.g. video ads that play during streaming content in video players.", +"Audio creatives, e.g. audio ads that play during audio content." +], +"readOnly": true, +"type": "string" +}, +"contentInstreamPosition": { +"description": "Required. The content instream position for video or audio ads.", +"enum": [ +"CONTENT_INSTREAM_POSITION_UNSPECIFIED", +"CONTENT_INSTREAM_POSITION_PRE_ROLL", +"CONTENT_INSTREAM_POSITION_MID_ROLL", +"CONTENT_INSTREAM_POSITION_POST_ROLL", +"CONTENT_INSTREAM_POSITION_UNKNOWN" +], +"enumDescriptions": [ +"Content instream position is not specified in this version. This enum is a place holder for a default value and does not represent a real in stream ad position.", +"Ads that play before streaming content.", +"Ads that play between the beginning and end of streaming content.", +"Ads that play at the end of streaming content.", +"Ads instream position is unknown." +], +"type": "string" +} +}, +"type": "object" +}, +"ContentInstreamPositionTargetingOptionDetails": { +"description": "Represents a targetable content instream position, which could be used by video and audio ads. This will be populated in the content_instream_position_details field when targeting_type is `TARGETING_TYPE_CONTENT_INSTREAM_POSITION`.", +"id": "ContentInstreamPositionTargetingOptionDetails", +"properties": { +"contentInstreamPosition": { +"description": "Output only. The content instream position.", +"enum": [ +"CONTENT_INSTREAM_POSITION_UNSPECIFIED", +"CONTENT_INSTREAM_POSITION_PRE_ROLL", +"CONTENT_INSTREAM_POSITION_MID_ROLL", +"CONTENT_INSTREAM_POSITION_POST_ROLL", +"CONTENT_INSTREAM_POSITION_UNKNOWN" +], +"enumDescriptions": [ +"Content instream position is not specified in this version. This enum is a place holder for a default value and does not represent a real in stream ad position.", +"Ads that play before streaming content.", +"Ads that play between the beginning and end of streaming content.", +"Ads that play at the end of streaming content.", +"Ads instream position is unknown." +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"ContentOutstreamPositionAssignedTargetingOptionDetails": { +"description": "Assigned content outstream position targeting option details. This will be populated in the content_outstream_position_details field when targeting_type is `TARGETING_TYPE_CONTENT_OUTSTREAM_POSITION`.", +"id": "ContentOutstreamPositionAssignedTargetingOptionDetails", +"properties": { +"adType": { +"description": "Output only. The ad type to target. Only applicable to insertion order targeting and new line items supporting the specified ad type will inherit this targeting option by default. Possible values are: * `AD_TYPE_DISPLAY`, the setting will be inherited by new line item when line_item_type is `LINE_ITEM_TYPE_DISPLAY_DEFAULT`. * `AD_TYPE_VIDEO`, the setting will be inherited by new line item when line_item_type is `LINE_ITEM_TYPE_VIDEO_DEFAULT`.", +"enum": [ +"AD_TYPE_UNSPECIFIED", +"AD_TYPE_DISPLAY", +"AD_TYPE_VIDEO", +"AD_TYPE_AUDIO" +], +"enumDescriptions": [ +"Ad type is not specified or is unknown in this version.", +"Display creatives, e.g. image and HTML5.", +"Video creatives, e.g. video ads that play during streaming content in video players.", +"Audio creatives, e.g. audio ads that play during audio content." +], +"readOnly": true, +"type": "string" +}, +"contentOutstreamPosition": { +"description": "Required. The content outstream position.", +"enum": [ +"CONTENT_OUTSTREAM_POSITION_UNSPECIFIED", +"CONTENT_OUTSTREAM_POSITION_UNKNOWN", +"CONTENT_OUTSTREAM_POSITION_IN_ARTICLE", +"CONTENT_OUTSTREAM_POSITION_IN_BANNER", +"CONTENT_OUTSTREAM_POSITION_IN_FEED", +"CONTENT_OUTSTREAM_POSITION_INTERSTITIAL" +], +"enumDescriptions": [ +"Content outstream position is not specified in this version. This enum is a place holder for a default value and does not represent a real content outstream position.", +"The ad position is unknown in the content outstream.", +"Ads that appear between the paragraphs of your pages.", +"Ads that display on the top and the sides of a page.", +"Ads that appear in a scrollable stream of content. A feed is typically editorial (e.g. a list of articles or news) or listings (e.g. a list of products or services).", +"Ads shown before or between content loads." +], +"type": "string" +} +}, +"type": "object" +}, +"ContentOutstreamPositionTargetingOptionDetails": { +"description": "Represents a targetable content outstream position, which could be used by display and video ads. This will be populated in the content_outstream_position_details field when targeting_type is `TARGETING_TYPE_CONTENT_OUTSTREAM_POSITION`.", +"id": "ContentOutstreamPositionTargetingOptionDetails", +"properties": { +"contentOutstreamPosition": { +"description": "Output only. The content outstream position.", +"enum": [ +"CONTENT_OUTSTREAM_POSITION_UNSPECIFIED", +"CONTENT_OUTSTREAM_POSITION_UNKNOWN", +"CONTENT_OUTSTREAM_POSITION_IN_ARTICLE", +"CONTENT_OUTSTREAM_POSITION_IN_BANNER", +"CONTENT_OUTSTREAM_POSITION_IN_FEED", +"CONTENT_OUTSTREAM_POSITION_INTERSTITIAL" +], +"enumDescriptions": [ +"Content outstream position is not specified in this version. This enum is a place holder for a default value and does not represent a real content outstream position.", +"The ad position is unknown in the content outstream.", +"Ads that appear between the paragraphs of your pages.", +"Ads that display on the top and the sides of a page.", +"Ads that appear in a scrollable stream of content. A feed is typically editorial (e.g. a list of articles or news) or listings (e.g. a list of products or services).", +"Ads shown before or between content loads." +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"ContentStreamTypeAssignedTargetingOptionDetails": { +"description": "Details for content stream type assigned targeting option. This will be populated in the content_stream_type_details field when targeting_type is `TARGETING_TYPE_CONTENT_STREAM_TYPE`. Explicitly targeting all options is not supported. Remove all content stream type targeting options to achieve this effect.", +"id": "ContentStreamTypeAssignedTargetingOptionDetails", +"properties": { +"contentStreamType": { +"description": "Output only. The content stream type.", +"enum": [ +"CONTENT_STREAM_TYPE_UNSPECIFIED", +"CONTENT_LIVE_STREAM", +"CONTENT_ON_DEMAND" +], +"enumDescriptions": [ +"Content stream type is not specified in this version. This enum is a place holder for a default value and does not represent a real content stream type.", +"The content is being live-streamed.", +"The content is viewed on-demand." +], +"readOnly": true, +"type": "string" +}, +"targetingOptionId": { +"description": "Required. The targeting_option_id field when targeting_type is `TARGETING_TYPE_CONTENT_STREAM_TYPE`.", +"type": "string" +} +}, +"type": "object" +}, +"ContentStreamTypeTargetingOptionDetails": { +"description": "Represents a targetable content stream type. This will be populated in the content_stream_type_details field when targeting_type is `TARGETING_TYPE_CONTENT_STREAM_TYPE`.", +"id": "ContentStreamTypeTargetingOptionDetails", +"properties": { +"contentStreamType": { +"description": "Output only. The content stream type.", +"enum": [ +"CONTENT_STREAM_TYPE_UNSPECIFIED", +"CONTENT_LIVE_STREAM", +"CONTENT_ON_DEMAND" +], +"enumDescriptions": [ +"Content stream type is not specified in this version. This enum is a place holder for a default value and does not represent a real content stream type.", +"The content is being live-streamed.", +"The content is viewed on-demand." +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"ContentThemeAssignedTargetingOptionDetails": { +"description": "Targeting details for content theme. This will be populated in the details field of an AssignedTargetingOption when targeting_type is `TARGETING_TYPE_CONTENT_THEME_EXCLUSION`.", +"id": "ContentThemeAssignedTargetingOptionDetails", +"properties": { +"contentTheme": { +"description": "Output only. An enum for the DV360 content theme classifier.", +"enum": [ +"CONTENT_THEME_UNSPECIFIED", +"CONTENT_THEME_FIGHTING_VIDEO_GAMES", +"CONTENT_THEME_MATURE_GAMES", +"CONTENT_THEME_NOT_YET_DETERMINED_HEALTH_SOURCES", +"CONTENT_THEME_NOT_YET_DETERMINED_NEWS_SOURCES", +"CONTENT_THEME_POLITICS", +"CONTENT_THEME_RECENT_NEWS", +"CONTENT_THEME_RELIGION", +"CONTENT_THEME_UNPLEASANT_HEALTH_CONTENT", +"CONTENT_THEME_UNPLEASANT_NEWS" +], +"enumDescriptions": [ +"Content theme is not specified or is unknown in this version.", +"Fighting video games.", +"Mature games.", +"Not yet determined health sources.", +"Not yet determined news sources.", +"Politics.", +"Recent news.", +"Religion.", +"Unpleasant health content.", +"Unpleasant news." +], +"readOnly": true, +"type": "string" +}, +"excludedContentTheme": { +"description": "Required. An enum for the DV360 content theme classified to be EXCLUDED.", +"enum": [ +"CONTENT_THEME_UNSPECIFIED", +"CONTENT_THEME_FIGHTING_VIDEO_GAMES", +"CONTENT_THEME_MATURE_GAMES", +"CONTENT_THEME_NOT_YET_DETERMINED_HEALTH_SOURCES", +"CONTENT_THEME_NOT_YET_DETERMINED_NEWS_SOURCES", +"CONTENT_THEME_POLITICS", +"CONTENT_THEME_RECENT_NEWS", +"CONTENT_THEME_RELIGION", +"CONTENT_THEME_UNPLEASANT_HEALTH_CONTENT", +"CONTENT_THEME_UNPLEASANT_NEWS" +], +"enumDescriptions": [ +"Content theme is not specified or is unknown in this version.", +"Fighting video games.", +"Mature games.", +"Not yet determined health sources.", +"Not yet determined news sources.", +"Politics.", +"Recent news.", +"Religion.", +"Unpleasant health content.", +"Unpleasant news." +], +"type": "string" +}, +"excludedTargetingOptionId": { +"description": "Required. ID of the content theme to be EXCLUDED.", +"type": "string" +} +}, +"type": "object" +}, +"ContentThemeTargetingOptionDetails": { +"description": "Represents a targetable content theme. This will be populated in the content_theme_details field of the TargetingOption when targeting_type is `TARGETING_TYPE_CONTENT_THEME_EXCLUSION`.", +"id": "ContentThemeTargetingOptionDetails", +"properties": { +"contentTheme": { +"description": "Output only. An enum for the DV360 content theme content classifier.", +"enum": [ +"CONTENT_THEME_UNSPECIFIED", +"CONTENT_THEME_FIGHTING_VIDEO_GAMES", +"CONTENT_THEME_MATURE_GAMES", +"CONTENT_THEME_NOT_YET_DETERMINED_HEALTH_SOURCES", +"CONTENT_THEME_NOT_YET_DETERMINED_NEWS_SOURCES", +"CONTENT_THEME_POLITICS", +"CONTENT_THEME_RECENT_NEWS", +"CONTENT_THEME_RELIGION", +"CONTENT_THEME_UNPLEASANT_HEALTH_CONTENT", +"CONTENT_THEME_UNPLEASANT_NEWS" +], +"enumDescriptions": [ +"Content theme is not specified or is unknown in this version.", +"Fighting video games.", +"Mature games.", +"Not yet determined health sources.", +"Not yet determined news sources.", +"Politics.", +"Recent news.", +"Religion.", +"Unpleasant health content.", +"Unpleasant news." +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"ConversionCountingConfig": { +"description": "Settings that control how conversions are counted. All post-click conversions will be counted. A percentage value can be set for post-view conversions counting.", +"id": "ConversionCountingConfig", +"properties": { +"floodlightActivityConfigs": { +"description": "The Floodlight activity configs used to track conversions. The number of conversions counted is the sum of all of the conversions counted by all of the Floodlight activity IDs specified in this field. This field can't be updated if a custom bidding algorithm is assigned to the line item. If you set this field and assign a custom bidding algorithm in the same request, the floodlight activities must match the ones used by the custom bidding algorithm.", +"items": { +"$ref": "TrackingFloodlightActivityConfig" +}, +"type": "array" +}, +"postViewCountPercentageMillis": { +"description": "The percentage of post-view conversions to count, in millis (1/1000 of a percent). Must be between 0 and 100000 inclusive. For example, to track 50% of the post-click conversions, set a value of 50000.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"CounterEvent": { +"description": "Counter event of the creative.", +"id": "CounterEvent", +"properties": { +"name": { +"description": "Required. The name of the counter event.", +"type": "string" +}, +"reportingName": { +"description": "Required. The name used to identify this counter event in reports.", +"type": "string" +} +}, +"type": "object" +}, +"CreateAdAssetRequest": { +"description": "A request message for CreateAdAsset.", +"id": "CreateAdAssetRequest", +"properties": { +"adAsset": { +"$ref": "AdAsset", +"description": "Required. The ad asset to create. Only supports assets of AdAssetType `AD_ASSET_TYPE_YOUTUBE_VIDEO`." +} +}, +"type": "object" +}, +"CreateAssetRequest": { +"description": "A request message for CreateAsset.", +"id": "CreateAssetRequest", +"properties": { +"filename": { +"description": "Required. The filename of the asset, including the file extension. The filename must be UTF-8 encoded with a maximum size of 240 bytes.", +"type": "string" +} +}, +"type": "object" +}, +"CreateAssetResponse": { +"description": "A response message for CreateAsset.", +"id": "CreateAssetResponse", +"properties": { +"asset": { +"$ref": "Asset", +"description": "The uploaded asset, if successful." +} +}, +"type": "object" +}, +"CreateAssignedTargetingOptionsRequest": { +"description": "A request listing which assigned targeting options of a given targeting type should be created and added.", +"id": "CreateAssignedTargetingOptionsRequest", +"properties": { +"assignedTargetingOptions": { +"description": "Required. The assigned targeting options to create and add.", +"items": { +"$ref": "AssignedTargetingOption" +}, +"type": "array" +}, +"targetingType": { +"description": "Required. Identifies the type of this assigned targeting option.", +"enum": [ +"TARGETING_TYPE_UNSPECIFIED", +"TARGETING_TYPE_CHANNEL", +"TARGETING_TYPE_APP_CATEGORY", +"TARGETING_TYPE_APP", +"TARGETING_TYPE_URL", +"TARGETING_TYPE_DAY_AND_TIME", +"TARGETING_TYPE_AGE_RANGE", +"TARGETING_TYPE_REGIONAL_LOCATION_LIST", +"TARGETING_TYPE_PROXIMITY_LOCATION_LIST", +"TARGETING_TYPE_GENDER", +"TARGETING_TYPE_VIDEO_PLAYER_SIZE", +"TARGETING_TYPE_USER_REWARDED_CONTENT", +"TARGETING_TYPE_PARENTAL_STATUS", +"TARGETING_TYPE_CONTENT_INSTREAM_POSITION", +"TARGETING_TYPE_CONTENT_OUTSTREAM_POSITION", +"TARGETING_TYPE_DEVICE_TYPE", +"TARGETING_TYPE_AUDIENCE_GROUP", +"TARGETING_TYPE_BROWSER", +"TARGETING_TYPE_HOUSEHOLD_INCOME", +"TARGETING_TYPE_ON_SCREEN_POSITION", +"TARGETING_TYPE_THIRD_PARTY_VERIFIER", +"TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION", +"TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION", +"TARGETING_TYPE_ENVIRONMENT", +"TARGETING_TYPE_CARRIER_AND_ISP", +"TARGETING_TYPE_OPERATING_SYSTEM", +"TARGETING_TYPE_DEVICE_MAKE_MODEL", +"TARGETING_TYPE_KEYWORD", +"TARGETING_TYPE_NEGATIVE_KEYWORD_LIST", +"TARGETING_TYPE_VIEWABILITY", +"TARGETING_TYPE_CATEGORY", +"TARGETING_TYPE_INVENTORY_SOURCE", +"TARGETING_TYPE_LANGUAGE", +"TARGETING_TYPE_AUTHORIZED_SELLER_STATUS", +"TARGETING_TYPE_GEO_REGION", +"TARGETING_TYPE_INVENTORY_SOURCE_GROUP", +"TARGETING_TYPE_EXCHANGE", +"TARGETING_TYPE_SUB_EXCHANGE", +"TARGETING_TYPE_POI", +"TARGETING_TYPE_BUSINESS_CHAIN", +"TARGETING_TYPE_CONTENT_DURATION", +"TARGETING_TYPE_CONTENT_STREAM_TYPE", +"TARGETING_TYPE_NATIVE_CONTENT_POSITION", +"TARGETING_TYPE_OMID", +"TARGETING_TYPE_AUDIO_CONTENT_TYPE", +"TARGETING_TYPE_CONTENT_GENRE", +"TARGETING_TYPE_YOUTUBE_VIDEO", +"TARGETING_TYPE_YOUTUBE_CHANNEL", +"TARGETING_TYPE_SESSION_POSITION", +"TARGETING_TYPE_CONTENT_THEME_EXCLUSION" +], +"enumDescriptions": [ +"Default value when type is not specified or is unknown in this version.", +"Target a channel (a custom group of related websites or apps).", +"Target an app category (for example, education or puzzle games).", +"Target a specific app (for example, Angry Birds).", +"Target a specific url (for example, quora.com).", +"Target ads during a chosen time period on a specific day.", +"Target ads to a specific age range (for example, 18-24).", +"Target ads to the specified regions on a regional location list.", +"Target ads to the specified points of interest on a proximity location list.", +"Target ads to a specific gender (for example, female or male).", +"Target a specific video player size for video ads.", +"Target user rewarded content for video ads.", +"Target ads to a specific parental status (for example, parent or not a parent).", +"Target video or audio ads in a specific content instream position (for example, pre-roll, mid-roll, or post-roll).", +"Target ads in a specific content outstream position.", +"Target ads to a specific device type (for example, tablet or connected TV).", +"Target ads to an audience or groups of audiences. Singleton field, at most one can exist on a single Lineitem at a time.", +"Target ads to specific web browsers (for example, Chrome).", +"Target ads to a specific household income range (for example, top 10%).", +"Target ads in a specific on screen position.", +"Filter web sites through third party verification (for example, IAS or DoubleVerify).", +"Filter web sites by specific digital content label ratings (for example, DL-MA: suitable only for mature audiences).", +"Filter website content by sensitive categories (for example, adult).", +"Target ads to a specific environment (for example, web or app).", +"Target ads to a specific network carrier or internet service provider (ISP) (for example, Comcast or Orange).", +"Target ads to a specific operating system (for example, macOS).", +"Target ads to a specific device make or model (for example, Roku or Samsung).", +"Target ads to a specific keyword (for example, dog or retriever).", +"Target ads to a specific negative keyword list.", +"Target ads to a specific viewability (for example, 80% viewable).", +"Target ads to a specific content category (for example, arts & entertainment).", +"Purchase impressions from specific deals and auction packages.", +"Target ads to a specific language (for example, English or Japanese).", +"Target ads to ads.txt authorized sellers. If no targeting option of this type is assigned, the resource uses the \"Authorized Direct Sellers and Resellers\" option by default.", +"Target ads to a specific regional location (for example, a city or state).", +"Purchase impressions from a group of deals and auction packages.", +"Purchase impressions from specific exchanges.", +"Purchase impressions from specific sub-exchanges.", +"Target ads around a specific point of interest, such as a notable building, a street address, or latitude/longitude coordinates.", +"Target ads around locations of a business chain within a specific geo region.", +"Target ads to a specific video content duration.", +"Target ads to a specific video content stream type.", +"Target ads to a specific native content position.", +"Target ads in an Open Measurement enabled inventory.", +"Target ads to a specific audio content type.", +"Target ads to a specific content genre.", +"Target ads to a specific YouTube video. Targeting of this type cannot be created or updated using the API. Although this targeting is inherited by child resources, **inherited targeting of this type will not be retrieveable**.", +"Target ads to a specific YouTube channel. Targeting of this type cannot be created or updated using the API. Although this targeting is inherited by child resources, **inherited targeting of this type will not be retrieveable**.", +"Target ads to a serve it in a certain position of a session. Only supported for Ad Group resources under YouTube Programmatic Reservation line items. Targeting of this type cannot be created or updated using the API.", +"Filter website content by content themes (for example, religion). Only supported for Advertiser resources. Targeting of this type cannot be created or updated using the API. This targeting is only inherited by child YouTube and Demand Gen line item resources." +], +"type": "string" +} +}, +"type": "object" +}, +"CreateSdfDownloadTaskRequest": { +"description": "Request message for [SdfDownloadTaskService.CreateSdfDownloadTask].", +"id": "CreateSdfDownloadTaskRequest", +"properties": { +"advertiserId": { +"description": "The ID of the advertiser to download SDF for.", +"format": "int64", +"type": "string" +}, +"idFilter": { +"$ref": "IdFilter", +"description": "Filters on entities by their entity IDs." +}, +"inventorySourceFilter": { +"$ref": "InventorySourceFilter", +"description": "Filters on Inventory Sources by their IDs." +}, +"parentEntityFilter": { +"$ref": "ParentEntityFilter", +"description": "Filters on selected file types. The entities in each file are filtered by a chosen set of filter entities. The filter entities must be the same type as, or a parent type of, the selected file types." +}, +"partnerId": { +"description": "The ID of the partner to download SDF for.", +"format": "int64", +"type": "string" +}, +"version": { +"description": "Required. The SDF version of the downloaded file. If set to `SDF_VERSION_UNSPECIFIED`, this will default to the version specified by the advertiser or partner identified by `root_id`. An advertiser inherits its SDF version from its partner unless configured otherwise.", +"enum": [ +"SDF_VERSION_UNSPECIFIED", +"SDF_VERSION_3_1", +"SDF_VERSION_4", +"SDF_VERSION_4_1", +"SDF_VERSION_4_2", +"SDF_VERSION_5", +"SDF_VERSION_5_1", +"SDF_VERSION_5_2", +"SDF_VERSION_5_3", +"SDF_VERSION_5_4", +"SDF_VERSION_5_5", +"SDF_VERSION_6", +"SDF_VERSION_7", +"SDF_VERSION_7_1", +"SDF_VERSION_8", +"SDF_VERSION_8_1", +"SDF_VERSION_9", +"SDF_VERSION_9_1", +"SDF_VERSION_9_2" +], +"enumDeprecated": [ +false, +true, +true, +true, +true, +true, +true, +true, +true, +true, +true, +true, +true, +false, +false, +false, +false, +false, +false +], +"enumDescriptions": [ +"SDF version value is not specified or is unknown in this version.", +"SDF version 3.1", +"SDF version 4", +"SDF version 4.1", +"SDF version 4.2", +"SDF version 5.", +"SDF version 5.1", +"SDF version 5.2", +"SDF version 5.3", +"SDF version 5.4", +"SDF version 5.5", +"SDF version 6", +"SDF version 7. Read the [v7 migration guide](/display-video/api/structured-data-file/v7-migration-guide) before migrating to this version.", +"SDF version 7.1. Read the [v7 migration guide](/display-video/api/structured-data-file/v7-migration-guide) before migrating to this version.", +"SDF version 8. Read the [v8 migration guide](/display-video/api/structured-data-file/v8-migration-guide) before migrating to this version.", +"SDF version 8.1.", +"SDF version 9. Read the [v9 migration guide](/display-video/api/structured-data-file/v9-migration-guide) before migrating to this version.", +"SDF version 9.1.", +"SDF version 9.2." +], +"type": "string" +} +}, +"type": "object" +}, +"Creative": { +"description": "A single Creative.", +"id": "Creative", +"properties": { +"additionalDimensions": { +"description": "Optional. Additional dimensions. Applicable when creative_type is one of: * `CREATIVE_TYPE_STANDARD` * `CREATIVE_TYPE_EXPANDABLE` * `CREATIVE_TYPE_NATIVE` * `CREATIVE_TYPE_NATIVE_SITE_SQUARE` * `CREATIVE_TYPE_LIGHTBOX` * `CREATIVE_TYPE_PUBLISHER_HOSTED` If this field is specified, width_pixels and height_pixels are both required and must be greater than or equal to 0.", +"items": { +"$ref": "Dimensions" +}, +"type": "array" +}, +"advertiserId": { +"description": "Output only. The unique ID of the advertiser the creative belongs to.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"appendedTag": { +"description": "Optional. Third-party HTML tracking tag to be appended to the creative tag.", +"type": "string" +}, +"assets": { +"description": "Required. Assets associated to this creative.", +"items": { +"$ref": "AssetAssociation" +}, +"type": "array" +}, +"cmPlacementId": { +"description": "Output only. The unique ID of the Campaign Manager 360 placement associated with the creative. This field is only applicable for creatives that are synced from Campaign Manager.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"cmTrackingAd": { +"$ref": "CmTrackingAd", +"description": "Optional. The Campaign Manager 360 tracking ad associated with the creative. Optional for the following creative_type when created by an advertiser that uses both Campaign Manager 360 and third-party ad serving: * `CREATIVE_TYPE_NATIVE` * `CREATIVE_TYPE_NATIVE_SITE_SQUARE` Output only for other cases." +}, +"companionCreativeIds": { +"description": "Optional. The IDs of companion creatives for a video creative. You can assign existing display creatives (with image or HTML5 assets) to serve surrounding the publisher's video player. Companions display around the video player while the video is playing and remain after the video has completed. Creatives contain additional dimensions can not be companion creatives. This field is only supported for the following creative_type: * `CREATIVE_TYPE_AUDIO` * `CREATIVE_TYPE_VIDEO`", +"items": { +"format": "int64", +"type": "string" +}, +"type": "array" +}, +"counterEvents": { +"description": "Optional. Counter events for a rich media creative. Counters track the number of times that a user interacts with any part of a rich media creative in a specified way (mouse-overs, mouse-outs, clicks, taps, data loading, keyboard entries, etc.). Any event that can be captured in the creative can be recorded as a counter. Leave it empty or unset for creatives containing image assets only.", +"items": { +"$ref": "CounterEvent" +}, +"type": "array" +}, +"createTime": { +"description": "Output only. The timestamp when the creative was created. Assigned by the system.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"creativeAttributes": { +"description": "Output only. A list of attributes of the creative that is generated by the system.", +"items": { +"enum": [ +"CREATIVE_ATTRIBUTE_UNSPECIFIED", +"CREATIVE_ATTRIBUTE_VAST", +"CREATIVE_ATTRIBUTE_VPAID_LINEAR", +"CREATIVE_ATTRIBUTE_VPAID_NON_LINEAR" +], +"enumDescriptions": [ +"The creative attribute is not specified or is unknown in this version.", +"The creative is a VAST creative.", +"The creative is a linear VPAID creative.", +"The creative is a non-linear VPAID creative." +], +"type": "string" +}, +"readOnly": true, +"type": "array" +}, +"creativeId": { +"description": "Output only. The unique ID of the creative. Assigned by the system.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"creativeType": { +"description": "Required. Immutable. The type of the creative.", +"enum": [ +"CREATIVE_TYPE_UNSPECIFIED", +"CREATIVE_TYPE_STANDARD", +"CREATIVE_TYPE_EXPANDABLE", +"CREATIVE_TYPE_VIDEO", +"CREATIVE_TYPE_NATIVE", +"CREATIVE_TYPE_TEMPLATED_APP_INSTALL", +"CREATIVE_TYPE_NATIVE_SITE_SQUARE", +"CREATIVE_TYPE_TEMPLATED_APP_INSTALL_INTERSTITIAL", +"CREATIVE_TYPE_LIGHTBOX", +"CREATIVE_TYPE_NATIVE_APP_INSTALL", +"CREATIVE_TYPE_NATIVE_APP_INSTALL_SQUARE", +"CREATIVE_TYPE_AUDIO", +"CREATIVE_TYPE_PUBLISHER_HOSTED", +"CREATIVE_TYPE_NATIVE_VIDEO", +"CREATIVE_TYPE_TEMPLATED_APP_INSTALL_VIDEO", +"CREATIVE_TYPE_ASSET_BASED_CREATIVE" +], +"enumDescriptions": [ +"Type value is not specified or is unknown in this version.", +"Standard display creative. Create and update methods are supported for this creative type if the hosting_source is one of the following: * `HOSTING_SOURCE_HOSTED` * `HOSTING_SOURCE_THIRD_PARTY`", +"Expandable creative. Create and update methods are supported for this creative type if the hosting_source is `HOSTING_SOURCE_THIRD_PARTY`", +"Video creative. Create and update methods are supported for this creative type if the hosting_source is one of the following: * `HOSTING_SOURCE_HOSTED` * `HOSTING_SOURCE_THIRD_PARTY`", +"Native creative rendered by publishers with assets from advertiser. Create and update methods are supported for this creative type if the hosting_source is `HOSTING_SOURCE_HOSTED`", +"Templated app install mobile creative (banner). Create and update methods are **not** supported for this creative type.", +"Square native creative. Create and update methods are supported for this creative type if the hosting_source is `HOSTING_SOURCE_HOSTED`", +"Interstitial creative including both display and video. Create and update methods are **not** supported for this creative type.", +"Responsive and expandable Lightbox creative. Create and update methods are **not** supported for this creative type.", +"Native app install creative. Create and update methods are **not** supported for this creative type.", +"Square native app install creative. Create and update methods are **not** supported for this creative type.", +"Audio creative. Create and update methods are supported for this creative type if the hosting_source is `HOSTING_SOURCE_HOSTED`", +"Publisher hosted creative. Create and update methods are **not** supported for this creative type.", +"Native video creative. Create and update methods are supported for this creative type if the hosting_source is `HOSTING_SOURCE_HOSTED`", +"Templated app install mobile video creative. Create and update methods are **not** supported for this creative type.", +"Asset-based creative. Create and update methods are supported for this creative type if the hosting_source is `HOSTING_SOURCE_HOSTED`." +], +"type": "string" +}, +"dimensions": { +"$ref": "Dimensions", +"description": "Required. Primary dimensions of the creative. Applicable to all creative types. The value of width_pixels and height_pixels defaults to `0` when creative_type is one of: * `CREATIVE_TYPE_VIDEO` * `CREATIVE_TYPE_AUDIO` * `CREATIVE_TYPE_NATIVE_VIDEO`" +}, +"displayName": { +"description": "Required. The display name of the creative. Must be UTF-8 encoded with a maximum size of 240 bytes.", +"type": "string" +}, +"dynamic": { +"description": "Output only. Indicates whether the creative is dynamic.", +"readOnly": true, +"type": "boolean" +}, +"entityStatus": { +"description": "Required. Controls whether or not the creative can serve. Accepted values are: * `ENTITY_STATUS_ACTIVE` * `ENTITY_STATUS_ARCHIVED` * `ENTITY_STATUS_PAUSED`", +"enum": [ +"ENTITY_STATUS_UNSPECIFIED", +"ENTITY_STATUS_ACTIVE", +"ENTITY_STATUS_ARCHIVED", +"ENTITY_STATUS_DRAFT", +"ENTITY_STATUS_PAUSED", +"ENTITY_STATUS_SCHEDULED_FOR_DELETION" +], +"enumDescriptions": [ +"Default value when status is not specified or is unknown in this version.", +"The entity is enabled to bid and spend budget.", +"The entity is archived. Bidding and budget spending are disabled. An entity can be deleted after archived. Deleted entities cannot be retrieved.", +"The entity is under draft. Bidding and budget spending are disabled.", +"Bidding and budget spending are paused for the entity.", +"The entity is scheduled for deletion." +], +"type": "string" +}, +"exitEvents": { +"description": "Required. Exit events for this creative. An exit (also known as a click tag) is any area in your creative that someone can click or tap to open an advertiser's landing page. Every creative must include at least one exit. You can add an exit to your creative in any of the following ways: * Use Google Web Designer's tap area. * Define a JavaScript variable called \"clickTag\". * Use the Enabler (Enabler.exit()) to track exits in rich media formats.", +"items": { +"$ref": "ExitEvent" +}, +"type": "array" +}, +"expandOnHover": { +"description": "Optional. Indicates the creative will automatically expand on hover. Optional and only valid for third-party expandable creatives. Third-party expandable creatives are creatives with following hosting source: * `HOSTING_SOURCE_THIRD_PARTY` combined with following creative_type: * `CREATIVE_TYPE_EXPANDABLE`", +"type": "boolean" +}, +"expandingDirection": { +"description": "Optional. Specifies the expanding direction of the creative. Required and only valid for third-party expandable creatives. Third-party expandable creatives are creatives with following hosting source: * `HOSTING_SOURCE_THIRD_PARTY` combined with following creative_type: * `CREATIVE_TYPE_EXPANDABLE`", +"enum": [ +"EXPANDING_DIRECTION_UNSPECIFIED", +"EXPANDING_DIRECTION_NONE", +"EXPANDING_DIRECTION_UP", +"EXPANDING_DIRECTION_DOWN", +"EXPANDING_DIRECTION_LEFT", +"EXPANDING_DIRECTION_RIGHT", +"EXPANDING_DIRECTION_UP_AND_LEFT", +"EXPANDING_DIRECTION_UP_AND_RIGHT", +"EXPANDING_DIRECTION_DOWN_AND_LEFT", +"EXPANDING_DIRECTION_DOWN_AND_RIGHT", +"EXPANDING_DIRECTION_UP_OR_DOWN", +"EXPANDING_DIRECTION_LEFT_OR_RIGHT", +"EXPANDING_DIRECTION_ANY_DIAGONAL" +], +"enumDescriptions": [ +"The expanding direction is not specified.", +"Does not expand in any direction.", +"Expands up.", +"Expands down.", +"Expands left.", +"Expands right.", +"Expands up and to the left side.", +"Expands up and to the right side.", +"Expands down and to the left side.", +"Expands down and to the right side.", +"Expands either up or down.", +"Expands to either the left or the right side.", +"Can expand in any diagonal direction." +], +"type": "string" +}, +"hostingSource": { +"description": "Required. Indicates where the creative is hosted.", +"enum": [ +"HOSTING_SOURCE_UNSPECIFIED", +"HOSTING_SOURCE_CM", +"HOSTING_SOURCE_THIRD_PARTY", +"HOSTING_SOURCE_HOSTED", +"HOSTING_SOURCE_RICH_MEDIA" +], +"enumDescriptions": [ +"Hosting source is not specified or is unknown in this version.", +"A creative synced from Campaign Manager 360. Create and update methods are **not** supported for this hosting type.", +"A creative hosted by a third-party ad server (3PAS). Create and update methods are supported for this hosting type if the creative_type is one of the following: * `CREATIVE_TYPE_AUDIO` * `CREATIVE_TYPE_EXPANDABLE` * `CREATIVE_TYPE_STANDARD` * `CREATIVE_TYPE_VIDEO`", +"A creative created in DV360 and hosted by Campaign Manager 360. Create and update methods are supported for this hosting type if the creative_type is one of the following: * `CREATIVE_TYPE_AUDIO` * `CREATIVE_TYPE_NATIVE` * `CREATIVE_TYPE_NATIVE_SITE_SQUARE` * `CREATIVE_TYPE_NATIVE_VIDEO` * `CREATIVE_TYPE_STANDARD` * `CREATIVE_TYPE_VIDEO`", +"A rich media creative created in Studio and hosted by Campaign Manager 360. Create and update methods are **not** supported for this hosting type." +], +"type": "string" +}, +"html5Video": { +"description": "Output only. Indicates the third-party VAST tag creative requires HTML5 Video support. Output only and only valid for third-party VAST tag creatives. Third-party VAST tag creatives are creatives with following hosting_source: * `HOSTING_SOURCE_THIRD_PARTY` combined with following creative_type: * `CREATIVE_TYPE_VIDEO`", +"readOnly": true, +"type": "boolean" +}, +"iasCampaignMonitoring": { +"description": "Optional. Indicates whether Integral Ad Science (IAS) campaign monitoring is enabled. To enable this for the creative, make sure the Advertiser.creative_config.ias_client_id has been set to your IAS client ID.", +"type": "boolean" +}, +"integrationCode": { +"description": "Optional. ID information used to link this creative to an external system. Must be UTF-8 encoded with a length of no more than 10,000 characters.", +"type": "string" +}, +"jsTrackerUrl": { +"description": "Optional. JavaScript measurement URL from supported third-party verification providers (ComScore, DoubleVerify, IAS, Moat). HTML script tags are not supported. This field is only writeable in the following creative_type: * `CREATIVE_TYPE_NATIVE` * `CREATIVE_TYPE_NATIVE_SITE_SQUARE` * `CREATIVE_TYPE_NATIVE_VIDEO`", +"type": "string" +}, +"lineItemIds": { +"description": "Output only. The IDs of the line items this creative is associated with. To associate a creative to a line item, use LineItem.creative_ids instead.", +"items": { +"format": "int64", +"type": "string" +}, +"readOnly": true, +"type": "array" +}, +"mediaDuration": { +"description": "Output only. Media duration of the creative. Applicable when creative_type is one of: * `CREATIVE_TYPE_VIDEO` * `CREATIVE_TYPE_AUDIO` * `CREATIVE_TYPE_NATIVE_VIDEO` * `CREATIVE_TYPE_PUBLISHER_HOSTED`", +"format": "google-duration", +"readOnly": true, +"type": "string" +}, +"mp3Audio": { +"description": "Output only. Indicates the third-party audio creative supports MP3. Output only and only valid for third-party audio creatives. Third-party audio creatives are creatives with following hosting_source: * `HOSTING_SOURCE_THIRD_PARTY` combined with following creative_type: * `CREATIVE_TYPE_AUDIO`", +"readOnly": true, +"type": "boolean" +}, +"name": { +"description": "Output only. The resource name of the creative.", +"readOnly": true, +"type": "string" +}, +"notes": { +"description": "Optional. User notes for this creative. Must be UTF-8 encoded with a length of no more than 20,000 characters.", +"type": "string" +}, +"obaIcon": { +"$ref": "ObaIcon", +"description": "Optional. Specifies the OBA icon for a video creative. This field is only supported in the following creative_type: * `CREATIVE_TYPE_VIDEO`" +}, +"oggAudio": { +"description": "Output only. Indicates the third-party audio creative supports OGG. Output only and only valid for third-party audio creatives. Third-party audio creatives are creatives with following hosting_source: * `HOSTING_SOURCE_THIRD_PARTY` combined with following creative_type: * `CREATIVE_TYPE_AUDIO`", +"readOnly": true, +"type": "boolean" +}, +"progressOffset": { +"$ref": "AudioVideoOffset", +"description": "Optional. Amount of time to play the video before counting a view. This field is required when skippable is true. This field is only supported for the following creative_type: * `CREATIVE_TYPE_VIDEO`" +}, +"requireHtml5": { +"description": "Optional. Indicates that the creative relies on HTML5 to render properly. Optional and only valid for third-party tag creatives. Third-party tag creatives are creatives with following hosting_source: * `HOSTING_SOURCE_THIRD_PARTY` combined with following creative_type: * `CREATIVE_TYPE_STANDARD` * `CREATIVE_TYPE_EXPANDABLE`", +"type": "boolean" +}, +"requireMraid": { +"description": "Optional. Indicates that the creative requires MRAID (Mobile Rich Media Ad Interface Definitions system). Set this if the creative relies on mobile gestures for interactivity, such as swiping or tapping. Optional and only valid for third-party tag creatives. Third-party tag creatives are creatives with following hosting_source: * `HOSTING_SOURCE_THIRD_PARTY` combined with following creative_type: * `CREATIVE_TYPE_STANDARD` * `CREATIVE_TYPE_EXPANDABLE`", +"type": "boolean" +}, +"requirePingForAttribution": { +"description": "Optional. Indicates that the creative will wait for a return ping for attribution. Only valid when using a Campaign Manager 360 tracking ad with a third-party ad server parameter and the ${DC_DBM_TOKEN} macro. Optional and only valid for third-party tag creatives or third-party VAST tag creatives. Third-party tag creatives are creatives with following hosting_source: * `HOSTING_SOURCE_THIRD_PARTY` combined with following creative_type: * `CREATIVE_TYPE_STANDARD` * `CREATIVE_TYPE_EXPANDABLE` Third-party VAST tag creatives are creatives with following hosting_source: * `HOSTING_SOURCE_THIRD_PARTY` combined with following creative_type: * `CREATIVE_TYPE_AUDIO` * `CREATIVE_TYPE_VIDEO`", +"type": "boolean" +}, +"reviewStatus": { +"$ref": "ReviewStatusInfo", +"description": "Output only. The current status of the creative review process.", +"readOnly": true +}, +"skipOffset": { +"$ref": "AudioVideoOffset", +"description": "Optional. Amount of time to play the video before the skip button appears. This field is required when skippable is true. This field is only supported for the following creative_type: * `CREATIVE_TYPE_VIDEO`" +}, +"skippable": { +"description": "Optional. Whether the user can choose to skip a video creative. This field is only supported for the following creative_type: * `CREATIVE_TYPE_VIDEO`", +"type": "boolean" +}, +"thirdPartyTag": { +"description": "Optional. The original third-party tag used for the creative. Required and only valid for third-party tag creatives. Third-party tag creatives are creatives with following hosting_source: * `HOSTING_SOURCE_THIRD_PARTY` combined with following creative_type: * `CREATIVE_TYPE_STANDARD` * `CREATIVE_TYPE_EXPANDABLE`", +"type": "string" +}, +"thirdPartyUrls": { +"description": "Optional. Tracking URLs from third parties to track interactions with a video creative. This field is only supported for the following creative_type: * `CREATIVE_TYPE_AUDIO` * `CREATIVE_TYPE_VIDEO` * `CREATIVE_TYPE_NATIVE_VIDEO`", +"items": { +"$ref": "ThirdPartyUrl" +}, +"type": "array" +}, +"timerEvents": { +"description": "Optional. Timer custom events for a rich media creative. Timers track the time during which a user views and interacts with a specified part of a rich media creative. A creative can have multiple timer events, each timed independently. Leave it empty or unset for creatives containing image assets only.", +"items": { +"$ref": "TimerEvent" +}, +"type": "array" +}, +"trackerUrls": { +"description": "Optional. Tracking URLs for analytics providers or third-party ad technology vendors. The URLs must start with `https:` (except on inventory that doesn't require SSL compliance). If using macros in your URL, use only macros supported by Display & Video 360. Standard URLs only, no IMG or SCRIPT tags. This field is only writeable in the following creative_type: * `CREATIVE_TYPE_NATIVE` * `CREATIVE_TYPE_NATIVE_SITE_SQUARE` * `CREATIVE_TYPE_NATIVE_VIDEO`", +"items": { +"type": "string" +}, +"type": "array" +}, +"transcodes": { +"description": "Output only. Audio/Video transcodes. Display & Video 360 transcodes the main asset into a number of alternative versions that use different file formats or have different properties (resolution, audio bit rate, and video bit rate), each designed for specific video players or bandwidths. These transcodes give a publisher's system more options to choose from for each impression on your video and ensures that the appropriate file serves based on the viewer\u2019s connection and screen size. This field is only supported in the following creative_type: * `CREATIVE_TYPE_VIDEO` * `CREATIVE_TYPE_NATIVE_VIDEO` * `CREATIVE_TYPE_AUDIO`", +"items": { +"$ref": "Transcode" +}, +"readOnly": true, +"type": "array" +}, +"universalAdId": { +"$ref": "UniversalAdId", +"description": "Optional. An optional creative identifier provided by a registry that is unique across all platforms. Universal Ad ID is part of the VAST 4.0 standard. It can be modified after the creative is created. This field is only supported for the following creative_type: * `CREATIVE_TYPE_VIDEO`" +}, +"updateTime": { +"description": "Output only. The timestamp when the creative was last updated, either by the user or system (e.g. creative review). Assigned by the system.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"vastTagUrl": { +"description": "Optional. The URL of the VAST tag for a third-party VAST tag creative. Required and only valid for third-party VAST tag creatives. Third-party VAST tag creatives are creatives with following hosting_source: * `HOSTING_SOURCE_THIRD_PARTY` combined with following creative_type: * `CREATIVE_TYPE_AUDIO` * `CREATIVE_TYPE_VIDEO`", +"type": "string" +}, +"vpaid": { +"description": "Output only. Indicates the third-party VAST tag creative requires VPAID (Digital Video Player-Ad Interface). Output only and only valid for third-party VAST tag creatives. Third-party VAST tag creatives are creatives with following hosting_source: * `HOSTING_SOURCE_THIRD_PARTY` combined with following creative_type: * `CREATIVE_TYPE_VIDEO`", +"readOnly": true, +"type": "boolean" +} +}, +"type": "object" +}, +"CreativeConfig": { +"description": "Creative requirements configuration for the inventory source.", +"id": "CreativeConfig", +"properties": { +"creativeType": { +"description": "The type of creative that can be assigned to the inventory source. Only the following types are supported: * `CREATIVE_TYPE_STANDARD` * `CREATIVE_TYPE_VIDEO`", +"enum": [ +"CREATIVE_TYPE_UNSPECIFIED", +"CREATIVE_TYPE_STANDARD", +"CREATIVE_TYPE_EXPANDABLE", +"CREATIVE_TYPE_VIDEO", +"CREATIVE_TYPE_NATIVE", +"CREATIVE_TYPE_TEMPLATED_APP_INSTALL", +"CREATIVE_TYPE_NATIVE_SITE_SQUARE", +"CREATIVE_TYPE_TEMPLATED_APP_INSTALL_INTERSTITIAL", +"CREATIVE_TYPE_LIGHTBOX", +"CREATIVE_TYPE_NATIVE_APP_INSTALL", +"CREATIVE_TYPE_NATIVE_APP_INSTALL_SQUARE", +"CREATIVE_TYPE_AUDIO", +"CREATIVE_TYPE_PUBLISHER_HOSTED", +"CREATIVE_TYPE_NATIVE_VIDEO", +"CREATIVE_TYPE_TEMPLATED_APP_INSTALL_VIDEO", +"CREATIVE_TYPE_ASSET_BASED_CREATIVE" +], +"enumDescriptions": [ +"Type value is not specified or is unknown in this version.", +"Standard display creative. Create and update methods are supported for this creative type if the hosting_source is one of the following: * `HOSTING_SOURCE_HOSTED` * `HOSTING_SOURCE_THIRD_PARTY`", +"Expandable creative. Create and update methods are supported for this creative type if the hosting_source is `HOSTING_SOURCE_THIRD_PARTY`", +"Video creative. Create and update methods are supported for this creative type if the hosting_source is one of the following: * `HOSTING_SOURCE_HOSTED` * `HOSTING_SOURCE_THIRD_PARTY`", +"Native creative rendered by publishers with assets from advertiser. Create and update methods are supported for this creative type if the hosting_source is `HOSTING_SOURCE_HOSTED`", +"Templated app install mobile creative (banner). Create and update methods are **not** supported for this creative type.", +"Square native creative. Create and update methods are supported for this creative type if the hosting_source is `HOSTING_SOURCE_HOSTED`", +"Interstitial creative including both display and video. Create and update methods are **not** supported for this creative type.", +"Responsive and expandable Lightbox creative. Create and update methods are **not** supported for this creative type.", +"Native app install creative. Create and update methods are **not** supported for this creative type.", +"Square native app install creative. Create and update methods are **not** supported for this creative type.", +"Audio creative. Create and update methods are supported for this creative type if the hosting_source is `HOSTING_SOURCE_HOSTED`", +"Publisher hosted creative. Create and update methods are **not** supported for this creative type.", +"Native video creative. Create and update methods are supported for this creative type if the hosting_source is `HOSTING_SOURCE_HOSTED`", +"Templated app install mobile video creative. Create and update methods are **not** supported for this creative type.", +"Asset-based creative. Create and update methods are supported for this creative type if the hosting_source is `HOSTING_SOURCE_HOSTED`." +], +"type": "string" +}, +"displayCreativeConfig": { +"$ref": "InventorySourceDisplayCreativeConfig", +"description": "The configuration for display creatives. Applicable when creative_type is `CREATIVE_TYPE_STANDARD`." +}, +"videoCreativeConfig": { +"$ref": "InventorySourceVideoCreativeConfig", +"description": "The configuration for video creatives. Applicable when creative_type is `CREATIVE_TYPE_VIDEO`." +} +}, +"type": "object" +}, +"CustomBiddingAlgorithm": { +"description": "A single custom bidding algorithm.", +"id": "CustomBiddingAlgorithm", +"properties": { +"advertiserId": { +"description": "Immutable. The unique ID of the advertiser that owns the custom bidding algorithm.", +"format": "int64", +"type": "string" +}, +"customBiddingAlgorithmId": { +"description": "Output only. The unique ID of the custom bidding algorithm. Assigned by the system.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"customBiddingAlgorithmType": { +"description": "Required. Immutable. The type of custom bidding algorithm.", +"enum": [ +"CUSTOM_BIDDING_ALGORITHM_TYPE_UNSPECIFIED", +"SCRIPT_BASED", +"RULE_BASED" +], +"enumDescriptions": [ +"Algorithm type is not specified or is unknown in this version.", +"Algorithm generated through customer-uploaded custom bidding script files.", +"Algorithm based in defined rules. These rules are defined in the API using the AlgorithmRules object. This algorithm type is only available to allowlisted customers. Other customers attempting to use this type will receive an error." +], +"type": "string" +}, +"displayName": { +"description": "Required. The display name of the custom bidding algorithm. Must be UTF-8 encoded with a maximum size of 240 bytes.", +"type": "string" +}, +"entityStatus": { +"description": "Controls whether or not the custom bidding algorithm can be used as a bidding strategy. Accepted values are: * `ENTITY_STATUS_ACTIVE` * `ENTITY_STATUS_ARCHIVED`", +"enum": [ +"ENTITY_STATUS_UNSPECIFIED", +"ENTITY_STATUS_ACTIVE", +"ENTITY_STATUS_ARCHIVED", +"ENTITY_STATUS_DRAFT", +"ENTITY_STATUS_PAUSED", +"ENTITY_STATUS_SCHEDULED_FOR_DELETION" +], +"enumDescriptions": [ +"Default value when status is not specified or is unknown in this version.", +"The entity is enabled to bid and spend budget.", +"The entity is archived. Bidding and budget spending are disabled. An entity can be deleted after archived. Deleted entities cannot be retrieved.", +"The entity is under draft. Bidding and budget spending are disabled.", +"Bidding and budget spending are paused for the entity.", +"The entity is scheduled for deletion." +], +"type": "string" +}, +"modelDetails": { +"description": "Output only. The details of custom bidding models for each advertiser who has access. This field may only include the details of the queried advertiser if the algorithm [`owner`](/display-video/api/reference/rest/v1/customBiddingAlgorithms#CustomBiddingAlgorithm.FIELDS.oneof_owner) is a partner and is being retrieved using an advertiser [`accessor`](/display-video/api/reference/rest/v1/customBiddingAlgorithms/list#body.QUERY_PARAMETERS.oneof_accessor).", +"items": { +"$ref": "CustomBiddingModelDetails" +}, +"readOnly": true, +"type": "array" +}, +"name": { +"description": "Output only. The resource name of the custom bidding algorithm.", +"readOnly": true, +"type": "string" +}, +"partnerId": { +"description": "Immutable. The unique ID of the partner that owns the custom bidding algorithm.", +"format": "int64", +"type": "string" +}, +"sharedAdvertiserIds": { +"description": "The IDs of the advertisers who have access to this algorithm. If advertiser_id is set, this field will only consist of that value. This field will not be set if the algorithm [`owner`](/display-video/api/reference/rest/v1/customBiddingAlgorithms#CustomBiddingAlgorithm.FIELDS.oneof_owner) is a partner and is being retrieved using an advertiser [`accessor`](/display-video/api/reference/rest/v1/customBiddingAlgorithms/list#body.QUERY_PARAMETERS.oneof_accessor).", +"items": { +"format": "int64", +"type": "string" +}, +"type": "array" +}, +"thirdPartyOptimizationPartner": { +"description": "Optional. Immutable. Designates the third party optimization partner that manages this algorithm.", +"enum": [ +"UNKNOWN", +"SCIBIDS", +"ADELAIDE" +], +"enumDescriptions": [ +"Type value is not specified or is unknown in this version.", +"Third party data science service provider that DV3 partners/advertisers can partner with.", +"Third party attention measurement service provider that DV3 partners/advertisers can partner with." +], +"type": "string" +} +}, +"type": "object" +}, +"CustomBiddingAlgorithmRules": { +"description": "A single custom bidding algorithm rules.", +"id": "CustomBiddingAlgorithmRules", +"properties": { +"active": { +"description": "Output only. Whether the rules resource is currently being used for scoring by the parent algorithm.", +"readOnly": true, +"type": "boolean" +}, +"createTime": { +"description": "Output only. The time when the rules resource was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"customBiddingAlgorithmId": { +"description": "Output only. The unique ID of the custom bidding algorithm that the rules resource belongs to.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"customBiddingAlgorithmRulesId": { +"description": "Output only. The unique ID of the rules resource.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"error": { +"$ref": "CustomBiddingAlgorithmRulesError", +"description": "Output only. Error code of the rejected rules resource. This field will only be populated when the state is `REJECTED`.", +"readOnly": true +}, +"name": { +"description": "Output only. The resource name of the rules resource.", +"readOnly": true, +"type": "string" +}, +"rules": { +"$ref": "CustomBiddingAlgorithmRulesRef", +"description": "Required. Immutable. The reference to the uploaded AlgorithmRules file." +}, +"state": { +"description": "Output only. The state of the rules resource.", +"enum": [ +"STATE_UNSPECIFIED", +"ACCEPTED", +"REJECTED" +], +"enumDescriptions": [ +"The rules state are unspecified or unknown in this version.", +"The rules have been accepted for scoring impressions.", +"The rules have been rejected by backend pipelines. They may have errors." +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"CustomBiddingAlgorithmRulesError": { +"description": "An error message for a CustomBiddingAlgorithmRules resource.", +"id": "CustomBiddingAlgorithmRulesError", +"properties": { +"errorCode": { +"description": "The type of error.", +"enum": [ +"ERROR_CODE_UNSPECIFIED", +"SYNTAX_ERROR", +"CONSTRAINT_VIOLATION_ERROR", +"INTERNAL_ERROR" +], +"enumDescriptions": [ +"The error is not specified or is unknown in this version.", +"The rules have a syntax error.", +"The rules have a constraint violation error.", +"Internal errors were thrown while processing the rules." +], +"type": "string" +} +}, +"type": "object" +}, +"CustomBiddingAlgorithmRulesRef": { +"description": "The reference to the uploaded AlgorithmRules file. Retrieve the location to upload new AlgorithmRules file to using customBiddingAlgorithms.uploadRules.", +"id": "CustomBiddingAlgorithmRulesRef", +"properties": { +"resourceName": { +"description": "A resource name to be used in media.download to download the rules files. Or media.upload to upload the rules files. Resource names have the format `customBiddingAlgorithms/{custom_bidding_algorithm_id}/rulesRef/{ref_id}`.", +"type": "string" +} +}, +"type": "object" +}, +"CustomBiddingModelDetails": { +"description": "The details of a custom bidding algorithm model for a single shared advertiser.", +"id": "CustomBiddingModelDetails", +"properties": { +"advertiserId": { +"description": "The unique ID of the relevant advertiser.", +"format": "int64", +"type": "string" +}, +"readinessState": { +"description": "The readiness state of custom bidding model.", +"enum": [ +"READINESS_STATE_UNSPECIFIED", +"READINESS_STATE_ACTIVE", +"READINESS_STATE_INSUFFICIENT_DATA", +"READINESS_STATE_TRAINING", +"READINESS_STATE_NO_VALID_SCRIPT", +"READINESS_STATE_EVALUATION_FAILURE" +], +"enumDescriptions": [ +"State is not specified or is unknown in this version.", +"The model is trained and ready for serving.", +"There is not enough data to train the serving model.", +"The model is training and not ready for serving.", +"A valid custom bidding script has not been provided with which to train the model. This state will only be applied to algorithms whose `custom_bidding_algorithm_type` is `SCRIPT_BASED`.", +"A valid script was provided but failed evaluation. This is applicable for scripts that could not be evaluated in the alloted time." +], +"type": "string" +}, +"suspensionState": { +"description": "Output only. The suspension state of custom bidding model.", +"enum": [ +"SUSPENSION_STATE_UNSPECIFIED", +"SUSPENSION_STATE_ENABLED", +"SUSPENSION_STATE_DORMANT", +"SUSPENSION_STATE_SUSPENDED" +], +"enumDescriptions": [ +"State is not specified or is unknown in this version.", +"Model is enabled, either recently used, currently used or scheduled to be used. The algorithm is actively scoring impressions for this advertiser.", +"Model has not been used recently. Although the model still acts as `ENABLED`, it will eventually be suspended if not used.", +"Model is suspended from scoring impressions and cannot serve. If the algorithm is assigned to a line item under this advertiser or otherwise updated, it will switch back to the `ENABLED` state and require time to prepare the serving model again." +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"CustomBiddingScript": { +"description": "A single custom bidding script.", +"id": "CustomBiddingScript", +"properties": { +"active": { +"description": "Output only. Whether the script is currently being used for scoring by the parent algorithm.", +"readOnly": true, +"type": "boolean" +}, +"createTime": { +"description": "Output only. The time when the script was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"customBiddingAlgorithmId": { +"description": "Output only. The unique ID of the custom bidding algorithm the script belongs to.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"customBiddingScriptId": { +"description": "Output only. The unique ID of the custom bidding script.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"errors": { +"description": "Output only. Error details of a rejected custom bidding script. This field will only be populated when state is REJECTED.", +"items": { +"$ref": "ScriptError" +}, +"readOnly": true, +"type": "array" +}, +"name": { +"description": "Output only. The resource name of the custom bidding script.", +"readOnly": true, +"type": "string" +}, +"script": { +"$ref": "CustomBiddingScriptRef", +"description": "The reference to the uploaded script file." +}, +"state": { +"description": "Output only. The state of the custom bidding script.", +"enum": [ +"STATE_UNSPECIFIED", +"ACCEPTED", +"REJECTED", +"PENDING" +], +"enumDescriptions": [ +"The script state is not specified or is unknown in this version.", +"The script has been accepted for scoring impressions.", +"The script has been rejected by backend pipelines. It may have errors.", +"The script is being processed for backend pipelines." +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"CustomBiddingScriptRef": { +"description": "The reference to the uploaded custom bidding script file.", +"id": "CustomBiddingScriptRef", +"properties": { +"resourceName": { +"description": "A resource name to be used in media.download to Download the script files. Or media.upload to Upload the script files. Resource names have the format `customBiddingAlgorithms/{custom_bidding_algorithm_id}/scriptRef/{ref_id}`.", +"type": "string" +} +}, +"type": "object" +}, +"CustomLabel": { +"description": "The key and value of a custom label.", +"id": "CustomLabel", +"properties": { +"key": { +"description": "The key of the label.", +"enum": [ +"CUSTOM_LABEL_KEY_UNSPECIFIED", +"CUSTOM_LABEL_KEY_0", +"CUSTOM_LABEL_KEY_1", +"CUSTOM_LABEL_KEY_2", +"CUSTOM_LABEL_KEY_3", +"CUSTOM_LABEL_KEY_4" +], +"enumDescriptions": [ +"Not specified or unknown.", +"Key index 0.", +"Key index 1.", +"Key index 2.", +"Key index 3.", +"Key index 4." +], +"type": "string" +}, +"value": { +"description": "The value of the label.", +"type": "string" +} +}, +"type": "object" +}, +"CustomList": { +"description": "Describes a custom list entity, such as a custom affinity or custom intent audience list.", +"id": "CustomList", +"properties": { +"customListId": { +"description": "Output only. The unique ID of the custom list. Assigned by the system.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"displayName": { +"description": "Output only. The display name of the custom list. .", +"readOnly": true, +"type": "string" +}, +"name": { +"description": "Output only. The resource name of the custom list.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"CustomListGroup": { +"description": "Details of custom list group. All custom list targeting settings are logically \u2018OR\u2019 of each other.", +"id": "CustomListGroup", +"properties": { +"settings": { +"description": "Required. All custom list targeting settings in custom list group. Repeated settings with the same id will be ignored.", +"items": { +"$ref": "CustomListTargetingSetting" +}, +"type": "array" +} +}, +"type": "object" +}, +"CustomListTargetingSetting": { +"description": "Details of custom list targeting setting.", +"id": "CustomListTargetingSetting", +"properties": { +"customListId": { +"description": "Required. Custom id of custom list targeting setting. This id is custom_list_id.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"Date": { +"description": "Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following: * A full date, with non-zero year, month, and day values. * A month and day, with a zero year (for example, an anniversary). * A year on its own, with a zero month and a zero day. * A year and month, with a zero day (for example, a credit card expiration date). Related types: * google.type.TimeOfDay * google.type.DateTime * google.protobuf.Timestamp", +"id": "Date", +"properties": { +"day": { +"description": "Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn't significant.", +"format": "int32", +"type": "integer" +}, +"month": { +"description": "Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.", +"format": "int32", +"type": "integer" +}, +"year": { +"description": "Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"DateRange": { +"description": "A date range.", +"id": "DateRange", +"properties": { +"endDate": { +"$ref": "Date", +"description": "The upper bound of the date range, inclusive. Must specify a positive value for `year`, `month`, and `day`." +}, +"startDate": { +"$ref": "Date", +"description": "The lower bound of the date range, inclusive. Must specify a positive value for `year`, `month`, and `day`." +} +}, +"type": "object" +}, +"DayAndTime": { +"description": "Representation of time defined by day of the week and hour of the day.", +"id": "DayAndTime", +"properties": { +"dayOfWeek": { +"description": "Required. Day of the week.", +"enum": [ +"DAY_OF_WEEK_UNSPECIFIED", +"MONDAY", +"TUESDAY", +"WEDNESDAY", +"THURSDAY", +"FRIDAY", +"SATURDAY", +"SUNDAY" +], +"enumDescriptions": [ +"The day of the week is unspecified.", +"Monday", +"Tuesday", +"Wednesday", +"Thursday", +"Friday", +"Saturday", +"Sunday" +], +"type": "string" +}, +"hourOfDay": { +"description": "Required. Hour of the day.", +"format": "int32", +"type": "integer" +}, +"timeZoneResolution": { +"description": "Required. The mechanism used to determine the relevant timezone.", +"enum": [ +"TIME_ZONE_RESOLUTION_UNSPECIFIED", +"TIME_ZONE_RESOLUTION_END_USER", +"TIME_ZONE_RESOLUTION_ADVERTISER" +], +"enumDescriptions": [ +"Time zone resolution is either unspecific or unknown.", +"Times are resolved in the time zone of the user that saw the ad.", +"Times are resolved in the time zone of the advertiser that served the ad." +], +"type": "string" +} +}, +"type": "object" +}, +"DayAndTimeAssignedTargetingOptionDetails": { +"description": "Representation of a segment of time defined on a specific day of the week and with a start and end time. The time represented by `start_hour` must be before the time represented by `end_hour`.", +"id": "DayAndTimeAssignedTargetingOptionDetails", +"properties": { +"dayOfWeek": { +"description": "Required. The day of the week for this day and time targeting setting.", +"enum": [ +"DAY_OF_WEEK_UNSPECIFIED", +"MONDAY", +"TUESDAY", +"WEDNESDAY", +"THURSDAY", +"FRIDAY", +"SATURDAY", +"SUNDAY" +], +"enumDescriptions": [ +"The day of the week is unspecified.", +"Monday", +"Tuesday", +"Wednesday", +"Thursday", +"Friday", +"Saturday", +"Sunday" +], +"type": "string" +}, +"endHour": { +"description": "Required. The end hour for day and time targeting. Must be between 1 (1 hour after start of day) and 24 (end of day).", +"format": "int32", +"type": "integer" +}, +"startHour": { +"description": "Required. The start hour for day and time targeting. Must be between 0 (start of day) and 23 (1 hour before end of day).", +"format": "int32", +"type": "integer" +}, +"timeZoneResolution": { +"description": "Required. The mechanism used to determine which timezone to use for this day and time targeting setting.", +"enum": [ +"TIME_ZONE_RESOLUTION_UNSPECIFIED", +"TIME_ZONE_RESOLUTION_END_USER", +"TIME_ZONE_RESOLUTION_ADVERTISER" +], +"enumDescriptions": [ +"Time zone resolution is either unspecific or unknown.", +"Times are resolved in the time zone of the user that saw the ad.", +"Times are resolved in the time zone of the advertiser that served the ad." +], +"type": "string" +} +}, +"type": "object" +}, +"DeleteAssignedTargetingOptionsRequest": { +"description": "A request listing which assigned targeting options of a given targeting type should be deleted.", +"id": "DeleteAssignedTargetingOptionsRequest", +"properties": { +"assignedTargetingOptionIds": { +"description": "Required. The assigned targeting option IDs to delete.", +"items": { +"type": "string" +}, +"type": "array" +}, +"targetingType": { +"description": "Required. Identifies the type of this assigned targeting option.", +"enum": [ +"TARGETING_TYPE_UNSPECIFIED", +"TARGETING_TYPE_CHANNEL", +"TARGETING_TYPE_APP_CATEGORY", +"TARGETING_TYPE_APP", +"TARGETING_TYPE_URL", +"TARGETING_TYPE_DAY_AND_TIME", +"TARGETING_TYPE_AGE_RANGE", +"TARGETING_TYPE_REGIONAL_LOCATION_LIST", +"TARGETING_TYPE_PROXIMITY_LOCATION_LIST", +"TARGETING_TYPE_GENDER", +"TARGETING_TYPE_VIDEO_PLAYER_SIZE", +"TARGETING_TYPE_USER_REWARDED_CONTENT", +"TARGETING_TYPE_PARENTAL_STATUS", +"TARGETING_TYPE_CONTENT_INSTREAM_POSITION", +"TARGETING_TYPE_CONTENT_OUTSTREAM_POSITION", +"TARGETING_TYPE_DEVICE_TYPE", +"TARGETING_TYPE_AUDIENCE_GROUP", +"TARGETING_TYPE_BROWSER", +"TARGETING_TYPE_HOUSEHOLD_INCOME", +"TARGETING_TYPE_ON_SCREEN_POSITION", +"TARGETING_TYPE_THIRD_PARTY_VERIFIER", +"TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION", +"TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION", +"TARGETING_TYPE_ENVIRONMENT", +"TARGETING_TYPE_CARRIER_AND_ISP", +"TARGETING_TYPE_OPERATING_SYSTEM", +"TARGETING_TYPE_DEVICE_MAKE_MODEL", +"TARGETING_TYPE_KEYWORD", +"TARGETING_TYPE_NEGATIVE_KEYWORD_LIST", +"TARGETING_TYPE_VIEWABILITY", +"TARGETING_TYPE_CATEGORY", +"TARGETING_TYPE_INVENTORY_SOURCE", +"TARGETING_TYPE_LANGUAGE", +"TARGETING_TYPE_AUTHORIZED_SELLER_STATUS", +"TARGETING_TYPE_GEO_REGION", +"TARGETING_TYPE_INVENTORY_SOURCE_GROUP", +"TARGETING_TYPE_EXCHANGE", +"TARGETING_TYPE_SUB_EXCHANGE", +"TARGETING_TYPE_POI", +"TARGETING_TYPE_BUSINESS_CHAIN", +"TARGETING_TYPE_CONTENT_DURATION", +"TARGETING_TYPE_CONTENT_STREAM_TYPE", +"TARGETING_TYPE_NATIVE_CONTENT_POSITION", +"TARGETING_TYPE_OMID", +"TARGETING_TYPE_AUDIO_CONTENT_TYPE", +"TARGETING_TYPE_CONTENT_GENRE", +"TARGETING_TYPE_YOUTUBE_VIDEO", +"TARGETING_TYPE_YOUTUBE_CHANNEL", +"TARGETING_TYPE_SESSION_POSITION", +"TARGETING_TYPE_CONTENT_THEME_EXCLUSION" +], +"enumDescriptions": [ +"Default value when type is not specified or is unknown in this version.", +"Target a channel (a custom group of related websites or apps).", +"Target an app category (for example, education or puzzle games).", +"Target a specific app (for example, Angry Birds).", +"Target a specific url (for example, quora.com).", +"Target ads during a chosen time period on a specific day.", +"Target ads to a specific age range (for example, 18-24).", +"Target ads to the specified regions on a regional location list.", +"Target ads to the specified points of interest on a proximity location list.", +"Target ads to a specific gender (for example, female or male).", +"Target a specific video player size for video ads.", +"Target user rewarded content for video ads.", +"Target ads to a specific parental status (for example, parent or not a parent).", +"Target video or audio ads in a specific content instream position (for example, pre-roll, mid-roll, or post-roll).", +"Target ads in a specific content outstream position.", +"Target ads to a specific device type (for example, tablet or connected TV).", +"Target ads to an audience or groups of audiences. Singleton field, at most one can exist on a single Lineitem at a time.", +"Target ads to specific web browsers (for example, Chrome).", +"Target ads to a specific household income range (for example, top 10%).", +"Target ads in a specific on screen position.", +"Filter web sites through third party verification (for example, IAS or DoubleVerify).", +"Filter web sites by specific digital content label ratings (for example, DL-MA: suitable only for mature audiences).", +"Filter website content by sensitive categories (for example, adult).", +"Target ads to a specific environment (for example, web or app).", +"Target ads to a specific network carrier or internet service provider (ISP) (for example, Comcast or Orange).", +"Target ads to a specific operating system (for example, macOS).", +"Target ads to a specific device make or model (for example, Roku or Samsung).", +"Target ads to a specific keyword (for example, dog or retriever).", +"Target ads to a specific negative keyword list.", +"Target ads to a specific viewability (for example, 80% viewable).", +"Target ads to a specific content category (for example, arts & entertainment).", +"Purchase impressions from specific deals and auction packages.", +"Target ads to a specific language (for example, English or Japanese).", +"Target ads to ads.txt authorized sellers. If no targeting option of this type is assigned, the resource uses the \"Authorized Direct Sellers and Resellers\" option by default.", +"Target ads to a specific regional location (for example, a city or state).", +"Purchase impressions from a group of deals and auction packages.", +"Purchase impressions from specific exchanges.", +"Purchase impressions from specific sub-exchanges.", +"Target ads around a specific point of interest, such as a notable building, a street address, or latitude/longitude coordinates.", +"Target ads around locations of a business chain within a specific geo region.", +"Target ads to a specific video content duration.", +"Target ads to a specific video content stream type.", +"Target ads to a specific native content position.", +"Target ads in an Open Measurement enabled inventory.", +"Target ads to a specific audio content type.", +"Target ads to a specific content genre.", +"Target ads to a specific YouTube video. Targeting of this type cannot be created or updated using the API. Although this targeting is inherited by child resources, **inherited targeting of this type will not be retrieveable**.", +"Target ads to a specific YouTube channel. Targeting of this type cannot be created or updated using the API. Although this targeting is inherited by child resources, **inherited targeting of this type will not be retrieveable**.", +"Target ads to a serve it in a certain position of a session. Only supported for Ad Group resources under YouTube Programmatic Reservation line items. Targeting of this type cannot be created or updated using the API.", +"Filter website content by content themes (for example, religion). Only supported for Advertiser resources. Targeting of this type cannot be created or updated using the API. This targeting is only inherited by child YouTube and Demand Gen line item resources." +], +"type": "string" +} +}, +"type": "object" +}, +"DeviceMakeModelAssignedTargetingOptionDetails": { +"description": "Assigned device make and model targeting option details. This will be populated in the device_make_model_details field when targeting_type is `TARGETING_TYPE_DEVICE_MAKE_MODEL`.", +"id": "DeviceMakeModelAssignedTargetingOptionDetails", +"properties": { +"displayName": { +"description": "Output only. The display name of the device make and model.", +"readOnly": true, +"type": "string" +}, +"negative": { +"description": "Indicates if this option is being negatively targeted.", +"type": "boolean" +}, +"targetingOptionId": { +"description": "Required. The targeting_option_id field when targeting_type is `TARGETING_TYPE_DEVICE_MAKE_MODEL`.", +"type": "string" +} +}, +"type": "object" +}, +"DeviceMakeModelTargetingOptionDetails": { +"description": "Represents a targetable device make and model. This will be populated in the device_make_model_details field of a TargetingOption when targeting_type is `TARGETING_TYPE_DEVICE_MAKE_MODEL`.", +"id": "DeviceMakeModelTargetingOptionDetails", +"properties": { +"displayName": { +"description": "Output only. The display name of the device make and model.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"DeviceTypeAssignedTargetingOptionDetails": { +"description": "Targeting details for device type. This will be populated in the details field of an AssignedTargetingOption when targeting_type is `TARGETING_TYPE_DEVICE_TYPE`.", +"id": "DeviceTypeAssignedTargetingOptionDetails", +"properties": { +"deviceType": { +"description": "Required. The display name of the device type.", +"enum": [ +"DEVICE_TYPE_UNSPECIFIED", +"DEVICE_TYPE_COMPUTER", +"DEVICE_TYPE_CONNECTED_TV", +"DEVICE_TYPE_SMART_PHONE", +"DEVICE_TYPE_TABLET", +"DEVICE_TYPE_CONNECTED_DEVICE" +], +"enumDescriptions": [ +"Default value when device type is not specified in this version. This enum is a placeholder for default value and does not represent a real device type option.", +"Computer.", +"Connected TV.", +"Smart phone.", +"Tablet.", +"Connected device." +], +"type": "string" +}, +"youtubeAndPartnersBidMultiplier": { +"description": "Output only. Bid multiplier allows you to show your ads more or less frequently based on the device type. It will apply a multiplier on the original bid price. When this field is 0, it indicates this field is not applicable instead of multiplying 0 on the original bid price. For example, if the bid price without multiplier is $10.0 and the multiplier is 1.5 for Tablet, the resulting bid price for Tablet will be $15.0. Only applicable to YouTube and Partners line items.", +"format": "double", +"readOnly": true, +"type": "number" +} +}, +"type": "object" +}, +"DeviceTypeTargetingOptionDetails": { +"description": "Represents a targetable device type. This will be populated in the device_type_details field of a TargetingOption when targeting_type is `TARGETING_TYPE_DEVICE_TYPE`.", +"id": "DeviceTypeTargetingOptionDetails", +"properties": { +"deviceType": { +"description": "Output only. The device type that is used to be targeted.", +"enum": [ +"DEVICE_TYPE_UNSPECIFIED", +"DEVICE_TYPE_COMPUTER", +"DEVICE_TYPE_CONNECTED_TV", +"DEVICE_TYPE_SMART_PHONE", +"DEVICE_TYPE_TABLET", +"DEVICE_TYPE_CONNECTED_DEVICE" +], +"enumDescriptions": [ +"Default value when device type is not specified in this version. This enum is a placeholder for default value and does not represent a real device type option.", +"Computer.", +"Connected TV.", +"Smart phone.", +"Tablet.", +"Connected device." +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"DigitalContentLabelAssignedTargetingOptionDetails": { +"description": "Targeting details for digital content label. This will be populated in the details field of an AssignedTargetingOption when targeting_type is `TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION`.", +"id": "DigitalContentLabelAssignedTargetingOptionDetails", +"properties": { +"excludedContentRatingTier": { +"description": "Required. The display name of the digital content label rating tier to be EXCLUDED.", +"enum": [ +"CONTENT_RATING_TIER_UNSPECIFIED", +"CONTENT_RATING_TIER_UNRATED", +"CONTENT_RATING_TIER_GENERAL", +"CONTENT_RATING_TIER_PARENTAL_GUIDANCE", +"CONTENT_RATING_TIER_TEENS", +"CONTENT_RATING_TIER_MATURE", +"CONTENT_RATING_TIER_FAMILIES" +], +"enumDescriptions": [ +"Content label is not specified in this version. This enum is a place holder for a default value and does not represent a real content rating.", +"Content that has not been labeled.", +"Content suitable for general audiences.", +"Content suitable for most audiences with parental guidance.", +"Content suitable for teen and older audiences.", +"Content suitable only for mature audiences.", +"Content suitable for family audiences. It is a subset of CONTENT_RATING_TIER_GENERAL. Only applicable to YouTube and Partners line items." +], +"type": "string" +} +}, +"type": "object" +}, +"DigitalContentLabelTargetingOptionDetails": { +"description": "Represents a targetable digital content label rating tier. This will be populated in the digital_content_label_details field of the TargetingOption when targeting_type is `TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION`.", +"id": "DigitalContentLabelTargetingOptionDetails", +"properties": { +"contentRatingTier": { +"description": "Output only. An enum for the content label brand safety tiers.", +"enum": [ +"CONTENT_RATING_TIER_UNSPECIFIED", +"CONTENT_RATING_TIER_UNRATED", +"CONTENT_RATING_TIER_GENERAL", +"CONTENT_RATING_TIER_PARENTAL_GUIDANCE", +"CONTENT_RATING_TIER_TEENS", +"CONTENT_RATING_TIER_MATURE", +"CONTENT_RATING_TIER_FAMILIES" +], +"enumDescriptions": [ +"Content label is not specified in this version. This enum is a place holder for a default value and does not represent a real content rating.", +"Content that has not been labeled.", +"Content suitable for general audiences.", +"Content suitable for most audiences with parental guidance.", +"Content suitable for teen and older audiences.", +"Content suitable only for mature audiences.", +"Content suitable for family audiences. It is a subset of CONTENT_RATING_TIER_GENERAL. Only applicable to YouTube and Partners line items." +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"Dimensions": { +"description": "Dimensions.", +"id": "Dimensions", +"properties": { +"heightPixels": { +"description": "The height in pixels.", +"format": "int32", +"type": "integer" +}, +"widthPixels": { +"description": "The width in pixels.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"DisplayVideoSourceAd": { +"description": "The ad sourced from a DV360 creative.", +"id": "DisplayVideoSourceAd", +"properties": { +"creativeId": { +"description": "The ID of the source creative.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"DoubleVerify": { +"description": "Details of DoubleVerify settings.", +"id": "DoubleVerify", +"properties": { +"appStarRating": { +"$ref": "DoubleVerifyAppStarRating", +"description": "Avoid bidding on apps with the star ratings." +}, +"avoidedAgeRatings": { +"description": "Avoid bidding on apps with the age rating.", +"items": { +"enum": [ +"AGE_RATING_UNSPECIFIED", +"APP_AGE_RATE_UNKNOWN", +"APP_AGE_RATE_4_PLUS", +"APP_AGE_RATE_9_PLUS", +"APP_AGE_RATE_12_PLUS", +"APP_AGE_RATE_17_PLUS", +"APP_AGE_RATE_18_PLUS" +], +"enumDescriptions": [ +"This enum is only a placeholder and it doesn't specify any age rating options.", +"Apps with unknown age rating.", +"Apps rated for Everyone (4+).", +"Apps rated for Everyone (9+).", +"Apps rated for Teens (12+).", +"Apps rated for Mature (17+).", +"Apps rated for Adults Only (18+)." +], +"type": "string" +}, +"type": "array" +}, +"brandSafetyCategories": { +"$ref": "DoubleVerifyBrandSafetyCategories", +"description": "DV Brand Safety Controls." +}, +"customSegmentId": { +"description": "The custom segment ID provided by DoubleVerify. The ID must start with \"51\" and consist of eight digits. Custom segment ID cannot be specified along with any of the following fields: * brand_safety_categories * avoided_age_ratings * app_star_rating * fraud_invalid_traffic", +"format": "int64", +"type": "string" +}, +"displayViewability": { +"$ref": "DoubleVerifyDisplayViewability", +"description": "Display viewability settings (applicable to display line items only)." +}, +"fraudInvalidTraffic": { +"$ref": "DoubleVerifyFraudInvalidTraffic", +"description": "Avoid Sites and Apps with historical Fraud & IVT Rates." +}, +"videoViewability": { +"$ref": "DoubleVerifyVideoViewability", +"description": "Video viewability settings (applicable to video line items only)." +} +}, +"type": "object" +}, +"DoubleVerifyAppStarRating": { +"description": "Details of DoubleVerify star ratings settings.", +"id": "DoubleVerifyAppStarRating", +"properties": { +"avoidInsufficientStarRating": { +"description": "Avoid bidding on apps with insufficient star ratings.", +"type": "boolean" +}, +"avoidedStarRating": { +"description": "Avoid bidding on apps with the star ratings.", +"enum": [ +"APP_STAR_RATE_UNSPECIFIED", +"APP_STAR_RATE_1_POINT_5_LESS", +"APP_STAR_RATE_2_LESS", +"APP_STAR_RATE_2_POINT_5_LESS", +"APP_STAR_RATE_3_LESS", +"APP_STAR_RATE_3_POINT_5_LESS", +"APP_STAR_RATE_4_LESS", +"APP_STAR_RATE_4_POINT_5_LESS" +], +"enumDescriptions": [ +"This enum is only a placeholder and it doesn't specify any app star rating options.", +"Official Apps with rating < 1.5 Stars.", +"Official Apps with rating < 2 Stars.", +"Official Apps with rating < 2.5 Stars.", +"Official Apps with rating < 3 Stars.", +"Official Apps with rating < 3.5 Stars.", +"Official Apps with rating < 4 Stars.", +"Official Apps with rating < 4.5 Stars." +], +"type": "string" +} +}, +"type": "object" +}, +"DoubleVerifyBrandSafetyCategories": { +"description": "Settings for brand safety controls.", +"id": "DoubleVerifyBrandSafetyCategories", +"properties": { +"avoidUnknownBrandSafetyCategory": { +"description": "Unknown or unrateable.", +"type": "boolean" +}, +"avoidedHighSeverityCategories": { +"description": "Brand safety high severity avoidance categories.", +"items": { +"enum": [ +"HIGHER_SEVERITY_UNSPECIFIED", +"ADULT_CONTENT_PORNOGRAPHY", +"COPYRIGHT_INFRINGEMENT", +"SUBSTANCE_ABUSE", +"GRAPHIC_VIOLENCE_WEAPONS", +"HATE_PROFANITY", +"CRIMINAL_SKILLS", +"NUISANCE_INCENTIVIZED_MALWARE_CLUTTER" +], +"enumDescriptions": [ +"This enum is only a placeholder and it doesn't specify any high severity categories.", +"Adult Content: Pornography, Mature Topics & Nudity.", +"Copyright Infringement.", +"Drugs/Alcohol/Controlled Substances: Substance Abuse.", +"Extreme Graphic/Explicit Violence/Weapons.", +"Hate/Profanity.", +"Illegal Activities: Criminal Skills.", +"Incentivized/Malware/Clutter." +], +"type": "string" +}, +"type": "array" +}, +"avoidedMediumSeverityCategories": { +"description": "Brand safety medium severity avoidance categories.", +"items": { +"enum": [ +"MEDIUM_SEVERITY_UNSPECIFIED", +"AD_SERVERS", +"ADULT_CONTENT_SWIMSUIT", +"ALTERNATIVE_LIFESTYLES", +"CELEBRITY_GOSSIP", +"GAMBLING", +"OCCULT", +"SEX_EDUCATION", +"DISASTER_AVIATION", +"DISASTER_MAN_MADE", +"DISASTER_NATURAL", +"DISASTER_TERRORIST_EVENTS", +"DISASTER_VEHICLE", +"ALCOHOL", +"SMOKING", +"NEGATIVE_NEWS_FINANCIAL", +"NON_ENGLISH", +"PARKING_PAGE", +"UNMODERATED_UGC", +"INFLAMMATORY_POLITICS_AND_NEWS", +"NEGATIVE_NEWS_PHARMACEUTICAL" +], +"enumDescriptions": [ +"This enum is only a placeholder and it doesn't specify any medium severity categories.", +"Ad Servers.", +"Adult Content: Swimsuit.", +"Controversial Subjects: Alternative Lifestyles.", +"Controversial Subjects: Celebrity Gossip.", +"Controversial Subjects: Gambling.", +"Controversial Subjects: Occult.", +"Controversial Subjects: Sex Education.", +"Disaster: Aviation.", +"Disaster: Man-made.", +"Disaster: Natural.", +"Disaster: Terrorist Events.", +"Disaster: Vehicle.", +"Drugs/Alcohol/Controlled Substances: Alcohol.", +"Drugs/Alcohol/Controlled Substances: Smoking.", +"Negative News: Financial.", +"Non-Std Content: Non-English.", +"Non-Std Content: Parking Page.", +"Unmoderated UGC: Forums, Images & Video.", +"Controversial Subjects: Inflammatory Politics and News.", +"Negative News: Pharmaceutical." +], +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"DoubleVerifyDisplayViewability": { +"description": "Details of DoubleVerify display viewability settings.", +"id": "DoubleVerifyDisplayViewability", +"properties": { +"iab": { +"description": "Target web and app inventory to maximize IAB viewable rate.", +"enum": [ +"IAB_VIEWED_RATE_UNSPECIFIED", +"IAB_VIEWED_RATE_80_PERCENT_HIGHER", +"IAB_VIEWED_RATE_75_PERCENT_HIGHER", +"IAB_VIEWED_RATE_70_PERCENT_HIGHER", +"IAB_VIEWED_RATE_65_PERCENT_HIGHER", +"IAB_VIEWED_RATE_60_PERCENT_HIGHER", +"IAB_VIEWED_RATE_55_PERCENT_HIGHER", +"IAB_VIEWED_RATE_50_PERCENT_HIGHER", +"IAB_VIEWED_RATE_40_PERCENT_HIGHER", +"IAB_VIEWED_RATE_30_PERCENT_HIGHER" +], +"enumDescriptions": [ +"This enum is only a placeholder and it doesn't specify any IAB viewed rate options.", +"Target web and app inventory to maximize IAB viewable rate 80% or higher.", +"Target web and app inventory to maximize IAB viewable rate 75% or higher.", +"Target web and app inventory to maximize IAB viewable rate 70% or higher.", +"Target web and app inventory to maximize IAB viewable rate 65% or higher.", +"Target web and app inventory to maximize IAB viewable rate 60% or higher.", +"Target web and app inventory to maximize IAB viewable rate 55% or higher.", +"Target web and app inventory to maximize IAB viewable rate 50% or higher.", +"Target web and app inventory to maximize IAB viewable rate 40% or higher.", +"Target web and app inventory to maximize IAB viewable rate 30% or higher." +], +"type": "string" +}, +"viewableDuring": { +"description": "Target web and app inventory to maximize 100% viewable duration.", +"enum": [ +"AVERAGE_VIEW_DURATION_UNSPECIFIED", +"AVERAGE_VIEW_DURATION_5_SEC", +"AVERAGE_VIEW_DURATION_10_SEC", +"AVERAGE_VIEW_DURATION_15_SEC" +], +"enumDescriptions": [ +"This enum is only a placeholder and it doesn't specify any average view duration options.", +"Target web and app inventory to maximize 100% viewable duration 5 seconds or more.", +"Target web and app inventory to maximize 100% viewable duration 10 seconds or more.", +"Target web and app inventory to maximize 100% viewable duration 15 seconds or more." +], +"type": "string" +} +}, +"type": "object" +}, +"DoubleVerifyFraudInvalidTraffic": { +"description": "DoubleVerify Fraud & Invalid Traffic settings.", +"id": "DoubleVerifyFraudInvalidTraffic", +"properties": { +"avoidInsufficientOption": { +"description": "Insufficient Historical Fraud & IVT Stats.", +"type": "boolean" +}, +"avoidedFraudOption": { +"description": "Avoid Sites and Apps with historical Fraud & IVT.", +"enum": [ +"FRAUD_UNSPECIFIED", +"AD_IMPRESSION_FRAUD_100", +"AD_IMPRESSION_FRAUD_50", +"AD_IMPRESSION_FRAUD_25", +"AD_IMPRESSION_FRAUD_10", +"AD_IMPRESSION_FRAUD_8", +"AD_IMPRESSION_FRAUD_6", +"AD_IMPRESSION_FRAUD_4", +"AD_IMPRESSION_FRAUD_2" +], +"enumDescriptions": [ +"This enum is only a placeholder and it doesn't specify any fraud and invalid traffic options.", +"100% Fraud & IVT.", +"50% or Higher Fraud & IVT.", +"25% or Higher Fraud & IVT.", +"10% or Higher Fraud & IVT.", +"8% or Higher Fraud & IVT.", +"6% or Higher Fraud & IVT.", +"4% or Higher Fraud & IVT.", +"2% or Higher Fraud & IVT." +], +"type": "string" +} +}, +"type": "object" +}, +"DoubleVerifyVideoViewability": { +"description": "Details of DoubleVerify video viewability settings.", +"id": "DoubleVerifyVideoViewability", +"properties": { +"playerImpressionRate": { +"description": "Target inventory to maximize impressions with 400x300 or greater player size.", +"enum": [ +"PLAYER_SIZE_400X300_UNSPECIFIED", +"PLAYER_SIZE_400X300_95", +"PLAYER_SIZE_400X300_70", +"PLAYER_SIZE_400X300_25", +"PLAYER_SIZE_400X300_5" +], +"enumDescriptions": [ +"This enum is only a placeholder and it doesn't specify any impressions options.", +"Sites with 95%+ of impressions.", +"Sites with 70%+ of impressions.", +"Sites with 25%+ of impressions.", +"Sites with 5%+ of impressions." +], +"type": "string" +}, +"videoIab": { +"description": "Target web inventory to maximize IAB viewable rate.", +"enum": [ +"VIDEO_IAB_UNSPECIFIED", +"IAB_VIEWABILITY_80_PERCENT_HIGHER", +"IAB_VIEWABILITY_75_PERCENT_HIGHER", +"IAB_VIEWABILITY_70_PERCENT_HIGHER", +"IAB_VIEWABILITY_65_PERCENT_HIHGER", +"IAB_VIEWABILITY_60_PERCENT_HIGHER", +"IAB_VIEWABILITY_55_PERCENT_HIHGER", +"IAB_VIEWABILITY_50_PERCENT_HIGHER", +"IAB_VIEWABILITY_40_PERCENT_HIHGER", +"IAB_VIEWABILITY_30_PERCENT_HIHGER" +], +"enumDescriptions": [ +"This enum is only a placeholder and it doesn't specify any video IAB viewable rate options.", +"Target web and app inventory to maximize IAB viewable rate 80% or higher.", +"Target web and app inventory to maximize IAB viewable rate 75% or higher.", +"Target web and app inventory to maximize IAB viewable rate 70% or higher.", +"Target web and app inventory to maximize IAB viewable rate 65% or higher.", +"Target web and app inventory to maximize IAB viewable rate 60% or higher.", +"Target web and app inventory to maximize IAB viewable rate 55% or higher.", +"Target web and app inventory to maximize IAB viewable rate 50% or higher.", +"Target web and app inventory to maximize IAB viewable rate 40% or higher.", +"Target web and app inventory to maximize IAB viewable rate 30% or higher." +], +"type": "string" +}, +"videoViewableRate": { +"description": "Target web inventory to maximize fully viewable rate.", +"enum": [ +"VIDEO_VIEWABLE_RATE_UNSPECIFIED", +"VIEWED_PERFORMANCE_40_PERCENT_HIGHER", +"VIEWED_PERFORMANCE_35_PERCENT_HIGHER", +"VIEWED_PERFORMANCE_30_PERCENT_HIGHER", +"VIEWED_PERFORMANCE_25_PERCENT_HIGHER", +"VIEWED_PERFORMANCE_20_PERCENT_HIGHER", +"VIEWED_PERFORMANCE_10_PERCENT_HIGHER" +], +"enumDescriptions": [ +"This enum is only a placeholder and it doesn't specify any video viewable rate options.", +"Target web inventory to maximize fully viewable rate 40% or higher.", +"Target web inventory to maximize fully viewable rate 35% or higher.", +"Target web inventory to maximize fully viewable rate 30% or higher.", +"Target web inventory to maximize fully viewable rate 25% or higher.", +"Target web inventory to maximize fully viewable rate 20% or higher.", +"Target web inventory to maximize fully viewable rate 10% or higher." +], +"type": "string" +} +}, +"type": "object" +}, +"DuplicateLineItemRequest": { +"description": "Request message for LineItemService.DuplicateLineItem.", +"id": "DuplicateLineItemRequest", +"properties": { +"containsEuPoliticalAds": { +"description": "Whether this line item will serve European Union political ads. If contains_eu_political_ads has been set to `DOES_NOT_CONTAIN_EU_POLITICAL_ADVERTISING` in the parent advertiser, then this field will be assigned `DOES_NOT_CONTAIN_EU_POLITICAL_ADVERTISING` if not otherwise specified. This field can then be updated using the UI, API, or Structured Data Files. This field must be assigned when creating a new line item. Otherwise, **the `advertisers.lineItems.create` request will fail**.", +"enum": [ +"EU_POLITICAL_ADVERTISING_STATUS_UNKNOWN", +"CONTAINS_EU_POLITICAL_ADVERTISING", +"DOES_NOT_CONTAIN_EU_POLITICAL_ADVERTISING" +], +"enumDescriptions": [ +"Unknown.", +"Contains EU political advertising.", +"Does not contain EU political advertising." +], +"type": "string" +}, +"targetDisplayName": { +"description": "The display name of the new line item. Must be UTF-8 encoded with a maximum size of 240 bytes.", +"type": "string" +} +}, +"type": "object" +}, +"DuplicateLineItemResponse": { +"id": "DuplicateLineItemResponse", +"properties": { +"duplicateLineItemId": { +"description": "The ID of the created line item.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"EditCustomerMatchMembersRequest": { +"description": "Request message for FirstAndThirdPartyAudienceService.EditCustomerMatchMembers.", +"id": "EditCustomerMatchMembersRequest", +"properties": { +"addedContactInfoList": { +"$ref": "ContactInfoList", +"description": "Input only. A list of contact information to define the members to be added." +}, +"addedMobileDeviceIdList": { +"$ref": "MobileDeviceIdList", +"description": "Input only. A list of mobile device IDs to define the members to be added." +}, +"advertiserId": { +"description": "Required. The ID of the owner advertiser of the updated Customer Match FirstAndThirdPartyAudience.", +"format": "int64", +"type": "string" +}, +"removedContactInfoList": { +"$ref": "ContactInfoList", +"description": "Input only. A list of contact information to define the members to be removed." +}, +"removedMobileDeviceIdList": { +"$ref": "MobileDeviceIdList", +"description": "Input only. A list of mobile device IDs to define the members to be removed." +} +}, +"type": "object" +}, +"EditCustomerMatchMembersResponse": { +"description": "The response of FirstAndThirdPartyAudienceService.EditCustomerMatchMembers.", +"id": "EditCustomerMatchMembersResponse", +"properties": { +"firstPartyAndPartnerAudienceId": { +"description": "Required. The ID of the updated Customer Match FirstPartyAndPartnerAudience.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"EditGuaranteedOrderReadAccessorsRequest": { +"description": "Request message for GuaranteedOrderService.EditGuaranteedOrderReadAccessors.", +"id": "EditGuaranteedOrderReadAccessorsRequest", +"properties": { +"addedAdvertisers": { +"description": "The advertisers to add as read accessors to the guaranteed order.", +"items": { +"format": "int64", +"type": "string" +}, +"type": "array" +}, +"partnerId": { +"description": "Required. The partner context in which the change is being made.", +"format": "int64", +"type": "string" +}, +"readAccessInherited": { +"description": "Whether to give all advertisers of the read/write accessor partner read access to the guaranteed order. Only applicable if read_write_partner_id is set in the guaranteed order.", +"type": "boolean" +}, +"removedAdvertisers": { +"description": "The advertisers to remove as read accessors to the guaranteed order.", +"items": { +"format": "int64", +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"EditGuaranteedOrderReadAccessorsResponse": { +"id": "EditGuaranteedOrderReadAccessorsResponse", +"properties": { +"readAccessInherited": { +"description": "Whether all advertisers of read_write_partner_id have read access to the guaranteed order.", +"type": "boolean" +}, +"readAdvertiserIds": { +"description": "The IDs of advertisers with read access to the guaranteed order.", +"items": { +"format": "int64", +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"EditInventorySourceReadWriteAccessorsRequest": { +"description": "Request message for InventorySourceService.EditInventorySourceReadWriteAccessors.", +"id": "EditInventorySourceReadWriteAccessorsRequest", +"properties": { +"advertisersUpdate": { +"$ref": "EditInventorySourceReadWriteAccessorsRequestAdvertisersUpdate", +"description": "The advertisers to add or remove from the list of advertisers that have read/write access to the inventory source. This change will remove an existing partner read/write accessor." +}, +"assignPartner": { +"description": "Set the partner context as read/write accessor of the inventory source. This will remove all other current read/write advertiser accessors.", +"type": "boolean" +}, +"partnerId": { +"description": "Required. The partner context by which the accessors change is being made.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"EditInventorySourceReadWriteAccessorsRequestAdvertisersUpdate": { +"description": "Update to the list of advertisers with read/write access to the inventory source.", +"id": "EditInventorySourceReadWriteAccessorsRequestAdvertisersUpdate", +"properties": { +"addedAdvertisers": { +"description": "The advertisers to add.", +"items": { +"format": "int64", +"type": "string" +}, +"type": "array" +}, +"removedAdvertisers": { +"description": "The advertisers to remove.", +"items": { +"format": "int64", +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"Empty": { +"description": "A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }", +"id": "Empty", +"properties": {}, +"type": "object" +}, +"EnvironmentAssignedTargetingOptionDetails": { +"description": "Assigned environment targeting option details. This will be populated in the details field of an AssignedTargetingOption when targeting_type is `TARGETING_TYPE_ENVIRONMENT`.", +"id": "EnvironmentAssignedTargetingOptionDetails", +"properties": { +"environment": { +"description": "Required. The serving environment.", +"enum": [ +"ENVIRONMENT_UNSPECIFIED", +"ENVIRONMENT_WEB_OPTIMIZED", +"ENVIRONMENT_WEB_NOT_OPTIMIZED", +"ENVIRONMENT_APP" +], +"enumDescriptions": [ +"Default value when environment is not specified in this version. This enum is a placeholder for default value and does not represent a real environment option.", +"Target inventory displayed in browsers. This includes inventory that was designed for the device it was viewed on, such as mobile websites viewed on a mobile device. ENVIRONMENT_WEB_NOT_OPTIMIZED, if targeted, should be deleted prior to the deletion of this targeting option.", +"Target inventory displayed in browsers. This includes inventory that was not designed for the device but viewed on it, such as websites optimized for desktop but viewed on a mobile device. ENVIRONMENT_WEB_OPTIMIZED should be targeted prior to the addition of this targeting option.", +"Target inventory displayed in apps." +], +"type": "string" +} +}, +"type": "object" +}, +"EnvironmentTargetingOptionDetails": { +"description": "Represents a targetable environment. This will be populated in the environment_details field of a TargetingOption when targeting_type is `TARGETING_TYPE_ENVIRONMENT`.", +"id": "EnvironmentTargetingOptionDetails", +"properties": { +"environment": { +"description": "Output only. The serving environment.", +"enum": [ +"ENVIRONMENT_UNSPECIFIED", +"ENVIRONMENT_WEB_OPTIMIZED", +"ENVIRONMENT_WEB_NOT_OPTIMIZED", +"ENVIRONMENT_APP" +], +"enumDescriptions": [ +"Default value when environment is not specified in this version. This enum is a placeholder for default value and does not represent a real environment option.", +"Target inventory displayed in browsers. This includes inventory that was designed for the device it was viewed on, such as mobile websites viewed on a mobile device. ENVIRONMENT_WEB_NOT_OPTIMIZED, if targeted, should be deleted prior to the deletion of this targeting option.", +"Target inventory displayed in browsers. This includes inventory that was not designed for the device but viewed on it, such as websites optimized for desktop but viewed on a mobile device. ENVIRONMENT_WEB_OPTIMIZED should be targeted prior to the addition of this targeting option.", +"Target inventory displayed in apps." +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"ExchangeAssignedTargetingOptionDetails": { +"description": "Details for assigned exchange targeting option. This will be populated in the details field of an AssignedTargetingOption when targeting_type is `TARGETING_TYPE_EXCHANGE`.", +"id": "ExchangeAssignedTargetingOptionDetails", +"properties": { +"exchange": { +"description": "Required. The enum value for the exchange.", +"enum": [ +"EXCHANGE_UNSPECIFIED", +"EXCHANGE_GOOGLE_AD_MANAGER", +"EXCHANGE_APPNEXUS", +"EXCHANGE_BRIGHTROLL", +"EXCHANGE_ADFORM", +"EXCHANGE_ADMETA", +"EXCHANGE_ADMIXER", +"EXCHANGE_ADSMOGO", +"EXCHANGE_ADSWIZZ", +"EXCHANGE_BIDSWITCH", +"EXCHANGE_BRIGHTROLL_DISPLAY", +"EXCHANGE_CADREON", +"EXCHANGE_DAILYMOTION", +"EXCHANGE_FIVE", +"EXCHANGE_FLUCT", +"EXCHANGE_FREEWHEEL", +"EXCHANGE_GENIEE", +"EXCHANGE_GUMGUM", +"EXCHANGE_IMOBILE", +"EXCHANGE_IBILLBOARD", +"EXCHANGE_IMPROVE_DIGITAL", +"EXCHANGE_INDEX", +"EXCHANGE_KARGO", +"EXCHANGE_MICROAD", +"EXCHANGE_MOPUB", +"EXCHANGE_NEND", +"EXCHANGE_ONE_BY_AOL_DISPLAY", +"EXCHANGE_ONE_BY_AOL_MOBILE", +"EXCHANGE_ONE_BY_AOL_VIDEO", +"EXCHANGE_OOYALA", +"EXCHANGE_OPENX", +"EXCHANGE_PERMODO", +"EXCHANGE_PLATFORMONE", +"EXCHANGE_PLATFORMID", +"EXCHANGE_PUBMATIC", +"EXCHANGE_PULSEPOINT", +"EXCHANGE_REVENUEMAX", +"EXCHANGE_RUBICON", +"EXCHANGE_SMARTCLIP", +"EXCHANGE_SMARTRTB", +"EXCHANGE_SMARTSTREAMTV", +"EXCHANGE_SOVRN", +"EXCHANGE_SPOTXCHANGE", +"EXCHANGE_STROER", +"EXCHANGE_TEADSTV", +"EXCHANGE_TELARIA", +"EXCHANGE_TVN", +"EXCHANGE_UNITED", +"EXCHANGE_YIELDLAB", +"EXCHANGE_YIELDMO", +"EXCHANGE_UNRULYX", +"EXCHANGE_OPEN8", +"EXCHANGE_TRITON", +"EXCHANGE_TRIPLELIFT", +"EXCHANGE_TABOOLA", +"EXCHANGE_INMOBI", +"EXCHANGE_SMAATO", +"EXCHANGE_AJA", +"EXCHANGE_SUPERSHIP", +"EXCHANGE_NEXSTAR_DIGITAL", +"EXCHANGE_WAZE", +"EXCHANGE_SOUNDCAST", +"EXCHANGE_SHARETHROUGH", +"EXCHANGE_FYBER", +"EXCHANGE_RED_FOR_PUBLISHERS", +"EXCHANGE_MEDIANET", +"EXCHANGE_TAPJOY", +"EXCHANGE_VISTAR", +"EXCHANGE_DAX", +"EXCHANGE_JCD", +"EXCHANGE_PLACE_EXCHANGE", +"EXCHANGE_APPLOVIN", +"EXCHANGE_CONNATIX", +"EXCHANGE_RESET_DIGITAL", +"EXCHANGE_HIVESTACK", +"EXCHANGE_DRAX", +"EXCHANGE_APPLOVIN_GBID", +"EXCHANGE_FYBER_GBID", +"EXCHANGE_UNITY_GBID", +"EXCHANGE_CHARTBOOST_GBID", +"EXCHANGE_ADMOST_GBID", +"EXCHANGE_TOPON_GBID", +"EXCHANGE_NETFLIX", +"EXCHANGE_CORE", +"EXCHANGE_COMMERCE_GRID", +"EXCHANGE_SPOTIFY", +"EXCHANGE_TUBI", +"EXCHANGE_SNAP", +"EXCHANGE_CADENT" +], +"enumDescriptions": [ +"Exchange is not specified or is unknown in this version.", +"Google Ad Manager.", +"AppNexus.", +"BrightRoll Exchange for Video from Yahoo!.", +"Adform.", +"Admeta.", +"Admixer.", +"AdsMogo.", +"AdsWizz.", +"BidSwitch.", +"BrightRoll Exchange for Display from Yahoo!.", +"Cadreon.", +"Dailymotion.", +"Five.", +"Fluct.", +"FreeWheel SSP.", +"Geniee.", +"GumGum.", +"i-mobile.", +"iBILLBOARD.", +"Improve Digital.", +"Index Exchange.", +"Kargo.", +"MicroAd.", +"MoPub.", +"Nend.", +"ONE by AOL: Display Market Place.", +"ONE by AOL: Mobile.", +"ONE by AOL: Video.", +"Ooyala.", +"OpenX.", +"Permodo.", +"Platform One.", +"PlatformId.", +"PubMatic.", +"PulsePoint.", +"RevenueMax.", +"Rubicon.", +"SmartClip.", +"SmartRTB+.", +"SmartstreamTv.", +"Sovrn.", +"SpotXchange.", +"Str\u00f6er SSP.", +"TeadsTv.", +"Telaria.", +"TVN.", +"United.", +"Yieldlab.", +"Yieldmo.", +"UnrulyX.", +"Open8.", +"Triton.", +"TripleLift.", +"Taboola.", +"InMobi.", +"Smaato.", +"Aja.", +"Supership.", +"Nexstar Digital.", +"Waze.", +"SoundCast.", +"Sharethrough.", +"Fyber.", +"Red For Publishers.", +"Media.net.", +"Tapjoy.", +"Vistar.", +"DAX.", +"JCD.", +"Place Exchange.", +"AppLovin.", +"Connatix.", +"Reset Digital.", +"Hivestack.", +"Drax.", +"AppLovin MAX.", +"DT Fairbid.", +"Unity LevelPlay.", +"Chartboost Mediation.", +"AdMost.", +"TopOn.", +"Netflix.", +"Core.", +"Commerce Grid.", +"Spotify.", +"Tubi.", +"Snap.", +"Cadent." +], +"type": "string" +} +}, +"type": "object" +}, +"ExchangeConfig": { +"description": "Settings that control which exchanges are enabled for a partner.", +"id": "ExchangeConfig", +"properties": { +"enabledExchanges": { +"description": "All enabled exchanges in the partner. Duplicate enabled exchanges will be ignored.", +"items": { +"$ref": "ExchangeConfigEnabledExchange" +}, +"type": "array" +} +}, +"type": "object" +}, +"ExchangeConfigEnabledExchange": { +"description": "An enabled exchange in the partner.", +"id": "ExchangeConfigEnabledExchange", +"properties": { +"exchange": { +"description": "The enabled exchange.", +"enum": [ +"EXCHANGE_UNSPECIFIED", +"EXCHANGE_GOOGLE_AD_MANAGER", +"EXCHANGE_APPNEXUS", +"EXCHANGE_BRIGHTROLL", +"EXCHANGE_ADFORM", +"EXCHANGE_ADMETA", +"EXCHANGE_ADMIXER", +"EXCHANGE_ADSMOGO", +"EXCHANGE_ADSWIZZ", +"EXCHANGE_BIDSWITCH", +"EXCHANGE_BRIGHTROLL_DISPLAY", +"EXCHANGE_CADREON", +"EXCHANGE_DAILYMOTION", +"EXCHANGE_FIVE", +"EXCHANGE_FLUCT", +"EXCHANGE_FREEWHEEL", +"EXCHANGE_GENIEE", +"EXCHANGE_GUMGUM", +"EXCHANGE_IMOBILE", +"EXCHANGE_IBILLBOARD", +"EXCHANGE_IMPROVE_DIGITAL", +"EXCHANGE_INDEX", +"EXCHANGE_KARGO", +"EXCHANGE_MICROAD", +"EXCHANGE_MOPUB", +"EXCHANGE_NEND", +"EXCHANGE_ONE_BY_AOL_DISPLAY", +"EXCHANGE_ONE_BY_AOL_MOBILE", +"EXCHANGE_ONE_BY_AOL_VIDEO", +"EXCHANGE_OOYALA", +"EXCHANGE_OPENX", +"EXCHANGE_PERMODO", +"EXCHANGE_PLATFORMONE", +"EXCHANGE_PLATFORMID", +"EXCHANGE_PUBMATIC", +"EXCHANGE_PULSEPOINT", +"EXCHANGE_REVENUEMAX", +"EXCHANGE_RUBICON", +"EXCHANGE_SMARTCLIP", +"EXCHANGE_SMARTRTB", +"EXCHANGE_SMARTSTREAMTV", +"EXCHANGE_SOVRN", +"EXCHANGE_SPOTXCHANGE", +"EXCHANGE_STROER", +"EXCHANGE_TEADSTV", +"EXCHANGE_TELARIA", +"EXCHANGE_TVN", +"EXCHANGE_UNITED", +"EXCHANGE_YIELDLAB", +"EXCHANGE_YIELDMO", +"EXCHANGE_UNRULYX", +"EXCHANGE_OPEN8", +"EXCHANGE_TRITON", +"EXCHANGE_TRIPLELIFT", +"EXCHANGE_TABOOLA", +"EXCHANGE_INMOBI", +"EXCHANGE_SMAATO", +"EXCHANGE_AJA", +"EXCHANGE_SUPERSHIP", +"EXCHANGE_NEXSTAR_DIGITAL", +"EXCHANGE_WAZE", +"EXCHANGE_SOUNDCAST", +"EXCHANGE_SHARETHROUGH", +"EXCHANGE_FYBER", +"EXCHANGE_RED_FOR_PUBLISHERS", +"EXCHANGE_MEDIANET", +"EXCHANGE_TAPJOY", +"EXCHANGE_VISTAR", +"EXCHANGE_DAX", +"EXCHANGE_JCD", +"EXCHANGE_PLACE_EXCHANGE", +"EXCHANGE_APPLOVIN", +"EXCHANGE_CONNATIX", +"EXCHANGE_RESET_DIGITAL", +"EXCHANGE_HIVESTACK", +"EXCHANGE_DRAX", +"EXCHANGE_APPLOVIN_GBID", +"EXCHANGE_FYBER_GBID", +"EXCHANGE_UNITY_GBID", +"EXCHANGE_CHARTBOOST_GBID", +"EXCHANGE_ADMOST_GBID", +"EXCHANGE_TOPON_GBID", +"EXCHANGE_NETFLIX", +"EXCHANGE_CORE", +"EXCHANGE_COMMERCE_GRID", +"EXCHANGE_SPOTIFY", +"EXCHANGE_TUBI", +"EXCHANGE_SNAP", +"EXCHANGE_CADENT" +], +"enumDescriptions": [ +"Exchange is not specified or is unknown in this version.", +"Google Ad Manager.", +"AppNexus.", +"BrightRoll Exchange for Video from Yahoo!.", +"Adform.", +"Admeta.", +"Admixer.", +"AdsMogo.", +"AdsWizz.", +"BidSwitch.", +"BrightRoll Exchange for Display from Yahoo!.", +"Cadreon.", +"Dailymotion.", +"Five.", +"Fluct.", +"FreeWheel SSP.", +"Geniee.", +"GumGum.", +"i-mobile.", +"iBILLBOARD.", +"Improve Digital.", +"Index Exchange.", +"Kargo.", +"MicroAd.", +"MoPub.", +"Nend.", +"ONE by AOL: Display Market Place.", +"ONE by AOL: Mobile.", +"ONE by AOL: Video.", +"Ooyala.", +"OpenX.", +"Permodo.", +"Platform One.", +"PlatformId.", +"PubMatic.", +"PulsePoint.", +"RevenueMax.", +"Rubicon.", +"SmartClip.", +"SmartRTB+.", +"SmartstreamTv.", +"Sovrn.", +"SpotXchange.", +"Str\u00f6er SSP.", +"TeadsTv.", +"Telaria.", +"TVN.", +"United.", +"Yieldlab.", +"Yieldmo.", +"UnrulyX.", +"Open8.", +"Triton.", +"TripleLift.", +"Taboola.", +"InMobi.", +"Smaato.", +"Aja.", +"Supership.", +"Nexstar Digital.", +"Waze.", +"SoundCast.", +"Sharethrough.", +"Fyber.", +"Red For Publishers.", +"Media.net.", +"Tapjoy.", +"Vistar.", +"DAX.", +"JCD.", +"Place Exchange.", +"AppLovin.", +"Connatix.", +"Reset Digital.", +"Hivestack.", +"Drax.", +"AppLovin MAX.", +"DT Fairbid.", +"Unity LevelPlay.", +"Chartboost Mediation.", +"AdMost.", +"TopOn.", +"Netflix.", +"Core.", +"Commerce Grid.", +"Spotify.", +"Tubi.", +"Snap.", +"Cadent." +], +"type": "string" +}, +"googleAdManagerAgencyId": { +"description": "Output only. Agency ID of Google Ad Manager. The field is only relevant when Google Ad Manager is the enabled exchange.", +"readOnly": true, +"type": "string" +}, +"googleAdManagerBuyerNetworkId": { +"description": "Output only. Network ID of Google Ad Manager. The field is only relevant when Google Ad Manager is the enabled exchange.", +"readOnly": true, +"type": "string" +}, +"seatId": { +"description": "Output only. Seat ID of the enabled exchange.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"ExchangeReviewStatus": { +"description": "Exchange review status for the creative.", +"id": "ExchangeReviewStatus", +"properties": { +"exchange": { +"description": "The exchange reviewing the creative.", +"enum": [ +"EXCHANGE_UNSPECIFIED", +"EXCHANGE_GOOGLE_AD_MANAGER", +"EXCHANGE_APPNEXUS", +"EXCHANGE_BRIGHTROLL", +"EXCHANGE_ADFORM", +"EXCHANGE_ADMETA", +"EXCHANGE_ADMIXER", +"EXCHANGE_ADSMOGO", +"EXCHANGE_ADSWIZZ", +"EXCHANGE_BIDSWITCH", +"EXCHANGE_BRIGHTROLL_DISPLAY", +"EXCHANGE_CADREON", +"EXCHANGE_DAILYMOTION", +"EXCHANGE_FIVE", +"EXCHANGE_FLUCT", +"EXCHANGE_FREEWHEEL", +"EXCHANGE_GENIEE", +"EXCHANGE_GUMGUM", +"EXCHANGE_IMOBILE", +"EXCHANGE_IBILLBOARD", +"EXCHANGE_IMPROVE_DIGITAL", +"EXCHANGE_INDEX", +"EXCHANGE_KARGO", +"EXCHANGE_MICROAD", +"EXCHANGE_MOPUB", +"EXCHANGE_NEND", +"EXCHANGE_ONE_BY_AOL_DISPLAY", +"EXCHANGE_ONE_BY_AOL_MOBILE", +"EXCHANGE_ONE_BY_AOL_VIDEO", +"EXCHANGE_OOYALA", +"EXCHANGE_OPENX", +"EXCHANGE_PERMODO", +"EXCHANGE_PLATFORMONE", +"EXCHANGE_PLATFORMID", +"EXCHANGE_PUBMATIC", +"EXCHANGE_PULSEPOINT", +"EXCHANGE_REVENUEMAX", +"EXCHANGE_RUBICON", +"EXCHANGE_SMARTCLIP", +"EXCHANGE_SMARTRTB", +"EXCHANGE_SMARTSTREAMTV", +"EXCHANGE_SOVRN", +"EXCHANGE_SPOTXCHANGE", +"EXCHANGE_STROER", +"EXCHANGE_TEADSTV", +"EXCHANGE_TELARIA", +"EXCHANGE_TVN", +"EXCHANGE_UNITED", +"EXCHANGE_YIELDLAB", +"EXCHANGE_YIELDMO", +"EXCHANGE_UNRULYX", +"EXCHANGE_OPEN8", +"EXCHANGE_TRITON", +"EXCHANGE_TRIPLELIFT", +"EXCHANGE_TABOOLA", +"EXCHANGE_INMOBI", +"EXCHANGE_SMAATO", +"EXCHANGE_AJA", +"EXCHANGE_SUPERSHIP", +"EXCHANGE_NEXSTAR_DIGITAL", +"EXCHANGE_WAZE", +"EXCHANGE_SOUNDCAST", +"EXCHANGE_SHARETHROUGH", +"EXCHANGE_FYBER", +"EXCHANGE_RED_FOR_PUBLISHERS", +"EXCHANGE_MEDIANET", +"EXCHANGE_TAPJOY", +"EXCHANGE_VISTAR", +"EXCHANGE_DAX", +"EXCHANGE_JCD", +"EXCHANGE_PLACE_EXCHANGE", +"EXCHANGE_APPLOVIN", +"EXCHANGE_CONNATIX", +"EXCHANGE_RESET_DIGITAL", +"EXCHANGE_HIVESTACK", +"EXCHANGE_DRAX", +"EXCHANGE_APPLOVIN_GBID", +"EXCHANGE_FYBER_GBID", +"EXCHANGE_UNITY_GBID", +"EXCHANGE_CHARTBOOST_GBID", +"EXCHANGE_ADMOST_GBID", +"EXCHANGE_TOPON_GBID", +"EXCHANGE_NETFLIX", +"EXCHANGE_CORE", +"EXCHANGE_COMMERCE_GRID", +"EXCHANGE_SPOTIFY", +"EXCHANGE_TUBI", +"EXCHANGE_SNAP", +"EXCHANGE_CADENT" +], +"enumDescriptions": [ +"Exchange is not specified or is unknown in this version.", +"Google Ad Manager.", +"AppNexus.", +"BrightRoll Exchange for Video from Yahoo!.", +"Adform.", +"Admeta.", +"Admixer.", +"AdsMogo.", +"AdsWizz.", +"BidSwitch.", +"BrightRoll Exchange for Display from Yahoo!.", +"Cadreon.", +"Dailymotion.", +"Five.", +"Fluct.", +"FreeWheel SSP.", +"Geniee.", +"GumGum.", +"i-mobile.", +"iBILLBOARD.", +"Improve Digital.", +"Index Exchange.", +"Kargo.", +"MicroAd.", +"MoPub.", +"Nend.", +"ONE by AOL: Display Market Place.", +"ONE by AOL: Mobile.", +"ONE by AOL: Video.", +"Ooyala.", +"OpenX.", +"Permodo.", +"Platform One.", +"PlatformId.", +"PubMatic.", +"PulsePoint.", +"RevenueMax.", +"Rubicon.", +"SmartClip.", +"SmartRTB+.", +"SmartstreamTv.", +"Sovrn.", +"SpotXchange.", +"Str\u00f6er SSP.", +"TeadsTv.", +"Telaria.", +"TVN.", +"United.", +"Yieldlab.", +"Yieldmo.", +"UnrulyX.", +"Open8.", +"Triton.", +"TripleLift.", +"Taboola.", +"InMobi.", +"Smaato.", +"Aja.", +"Supership.", +"Nexstar Digital.", +"Waze.", +"SoundCast.", +"Sharethrough.", +"Fyber.", +"Red For Publishers.", +"Media.net.", +"Tapjoy.", +"Vistar.", +"DAX.", +"JCD.", +"Place Exchange.", +"AppLovin.", +"Connatix.", +"Reset Digital.", +"Hivestack.", +"Drax.", +"AppLovin MAX.", +"DT Fairbid.", +"Unity LevelPlay.", +"Chartboost Mediation.", +"AdMost.", +"TopOn.", +"Netflix.", +"Core.", +"Commerce Grid.", +"Spotify.", +"Tubi.", +"Snap.", +"Cadent." +], +"type": "string" +}, +"status": { +"description": "Status of the exchange review.", +"enum": [ +"REVIEW_STATUS_UNSPECIFIED", +"REVIEW_STATUS_APPROVED", +"REVIEW_STATUS_REJECTED", +"REVIEW_STATUS_PENDING" +], +"enumDescriptions": [ +"Type value is not specified or is unknown in this version.", +"The creative is approved.", +"The creative is rejected.", +"The creative is pending review." +], +"type": "string" +} +}, +"type": "object" +}, +"ExchangeTargetingOptionDetails": { +"description": "Represents a targetable exchange. This will be populated in the exchange_details field of a TargetingOption when targeting_type is `TARGETING_TYPE_EXCHANGE`.", +"id": "ExchangeTargetingOptionDetails", +"properties": { +"exchange": { +"description": "Output only. The type of exchange.", +"enum": [ +"EXCHANGE_UNSPECIFIED", +"EXCHANGE_GOOGLE_AD_MANAGER", +"EXCHANGE_APPNEXUS", +"EXCHANGE_BRIGHTROLL", +"EXCHANGE_ADFORM", +"EXCHANGE_ADMETA", +"EXCHANGE_ADMIXER", +"EXCHANGE_ADSMOGO", +"EXCHANGE_ADSWIZZ", +"EXCHANGE_BIDSWITCH", +"EXCHANGE_BRIGHTROLL_DISPLAY", +"EXCHANGE_CADREON", +"EXCHANGE_DAILYMOTION", +"EXCHANGE_FIVE", +"EXCHANGE_FLUCT", +"EXCHANGE_FREEWHEEL", +"EXCHANGE_GENIEE", +"EXCHANGE_GUMGUM", +"EXCHANGE_IMOBILE", +"EXCHANGE_IBILLBOARD", +"EXCHANGE_IMPROVE_DIGITAL", +"EXCHANGE_INDEX", +"EXCHANGE_KARGO", +"EXCHANGE_MICROAD", +"EXCHANGE_MOPUB", +"EXCHANGE_NEND", +"EXCHANGE_ONE_BY_AOL_DISPLAY", +"EXCHANGE_ONE_BY_AOL_MOBILE", +"EXCHANGE_ONE_BY_AOL_VIDEO", +"EXCHANGE_OOYALA", +"EXCHANGE_OPENX", +"EXCHANGE_PERMODO", +"EXCHANGE_PLATFORMONE", +"EXCHANGE_PLATFORMID", +"EXCHANGE_PUBMATIC", +"EXCHANGE_PULSEPOINT", +"EXCHANGE_REVENUEMAX", +"EXCHANGE_RUBICON", +"EXCHANGE_SMARTCLIP", +"EXCHANGE_SMARTRTB", +"EXCHANGE_SMARTSTREAMTV", +"EXCHANGE_SOVRN", +"EXCHANGE_SPOTXCHANGE", +"EXCHANGE_STROER", +"EXCHANGE_TEADSTV", +"EXCHANGE_TELARIA", +"EXCHANGE_TVN", +"EXCHANGE_UNITED", +"EXCHANGE_YIELDLAB", +"EXCHANGE_YIELDMO", +"EXCHANGE_UNRULYX", +"EXCHANGE_OPEN8", +"EXCHANGE_TRITON", +"EXCHANGE_TRIPLELIFT", +"EXCHANGE_TABOOLA", +"EXCHANGE_INMOBI", +"EXCHANGE_SMAATO", +"EXCHANGE_AJA", +"EXCHANGE_SUPERSHIP", +"EXCHANGE_NEXSTAR_DIGITAL", +"EXCHANGE_WAZE", +"EXCHANGE_SOUNDCAST", +"EXCHANGE_SHARETHROUGH", +"EXCHANGE_FYBER", +"EXCHANGE_RED_FOR_PUBLISHERS", +"EXCHANGE_MEDIANET", +"EXCHANGE_TAPJOY", +"EXCHANGE_VISTAR", +"EXCHANGE_DAX", +"EXCHANGE_JCD", +"EXCHANGE_PLACE_EXCHANGE", +"EXCHANGE_APPLOVIN", +"EXCHANGE_CONNATIX", +"EXCHANGE_RESET_DIGITAL", +"EXCHANGE_HIVESTACK", +"EXCHANGE_DRAX", +"EXCHANGE_APPLOVIN_GBID", +"EXCHANGE_FYBER_GBID", +"EXCHANGE_UNITY_GBID", +"EXCHANGE_CHARTBOOST_GBID", +"EXCHANGE_ADMOST_GBID", +"EXCHANGE_TOPON_GBID", +"EXCHANGE_NETFLIX", +"EXCHANGE_CORE", +"EXCHANGE_COMMERCE_GRID", +"EXCHANGE_SPOTIFY", +"EXCHANGE_TUBI", +"EXCHANGE_SNAP", +"EXCHANGE_CADENT" +], +"enumDescriptions": [ +"Exchange is not specified or is unknown in this version.", +"Google Ad Manager.", +"AppNexus.", +"BrightRoll Exchange for Video from Yahoo!.", +"Adform.", +"Admeta.", +"Admixer.", +"AdsMogo.", +"AdsWizz.", +"BidSwitch.", +"BrightRoll Exchange for Display from Yahoo!.", +"Cadreon.", +"Dailymotion.", +"Five.", +"Fluct.", +"FreeWheel SSP.", +"Geniee.", +"GumGum.", +"i-mobile.", +"iBILLBOARD.", +"Improve Digital.", +"Index Exchange.", +"Kargo.", +"MicroAd.", +"MoPub.", +"Nend.", +"ONE by AOL: Display Market Place.", +"ONE by AOL: Mobile.", +"ONE by AOL: Video.", +"Ooyala.", +"OpenX.", +"Permodo.", +"Platform One.", +"PlatformId.", +"PubMatic.", +"PulsePoint.", +"RevenueMax.", +"Rubicon.", +"SmartClip.", +"SmartRTB+.", +"SmartstreamTv.", +"Sovrn.", +"SpotXchange.", +"Str\u00f6er SSP.", +"TeadsTv.", +"Telaria.", +"TVN.", +"United.", +"Yieldlab.", +"Yieldmo.", +"UnrulyX.", +"Open8.", +"Triton.", +"TripleLift.", +"Taboola.", +"InMobi.", +"Smaato.", +"Aja.", +"Supership.", +"Nexstar Digital.", +"Waze.", +"SoundCast.", +"Sharethrough.", +"Fyber.", +"Red For Publishers.", +"Media.net.", +"Tapjoy.", +"Vistar.", +"DAX.", +"JCD.", +"Place Exchange.", +"AppLovin.", +"Connatix.", +"Reset Digital.", +"Hivestack.", +"Drax.", +"AppLovin MAX.", +"DT Fairbid.", +"Unity LevelPlay.", +"Chartboost Mediation.", +"AdMost.", +"TopOn.", +"Netflix.", +"Core.", +"Commerce Grid.", +"Spotify.", +"Tubi.", +"Snap.", +"Cadent." +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"ExitEvent": { +"description": "Exit event of the creative.", +"id": "ExitEvent", +"properties": { +"name": { +"description": "Optional. The name of the click tag of the exit event. The name must be unique within one creative. Leave it empty or unset for creatives containing image assets only.", +"type": "string" +}, +"reportingName": { +"description": "Optional. The name used to identify this event in reports. Leave it empty or unset for creatives containing image assets only.", +"type": "string" +}, +"type": { +"description": "Required. The type of the exit event.", +"enum": [ +"EXIT_EVENT_TYPE_UNSPECIFIED", +"EXIT_EVENT_TYPE_DEFAULT", +"EXIT_EVENT_TYPE_BACKUP" +], +"enumDescriptions": [ +"Exit event type is not specified or is unknown in this version.", +"The exit event is the default one.", +"The exit event is a backup exit event. There could be multiple backup exit events in a creative." +], +"type": "string" +}, +"url": { +"description": "Required. The click through URL of the exit event. This is required when type is: * `EXIT_EVENT_TYPE_DEFAULT` * `EXIT_EVENT_TYPE_BACKUP`", +"type": "string" +} +}, +"type": "object" +}, +"FirstPartyAndPartnerAudience": { +"description": "Describes a first or partner audience list used for targeting. First party audiences are created via usage of client data. Partner audiences are provided by Third Party data providers and can only be licensed to customers.", +"id": "FirstPartyAndPartnerAudience", +"properties": { +"activeDisplayAudienceSize": { +"description": "Output only. The estimated audience size for the Display network in the past month. If the size is less than 1000, the number will be hidden and 0 will be returned due to privacy reasons. Otherwise, the number will be rounded off to two significant digits. Only returned in GET request.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"appId": { +"description": "Optional. The app_id matches with the type of the mobile_device_ids being uploaded. Only applicable to audience_type `CUSTOMER_MATCH_DEVICE_ID`", +"type": "string" +}, +"audienceSource": { +"description": "Output only. The source of the audience.", +"enum": [ +"AUDIENCE_SOURCE_UNSPECIFIED", +"DISPLAY_VIDEO_360", +"CAMPAIGN_MANAGER", +"AD_MANAGER", +"SEARCH_ADS_360", +"YOUTUBE", +"ADS_DATA_HUB" +], +"enumDescriptions": [ +"Default value when audience source is not specified or is unknown.", +"Originated from Display & Video 360.", +"Originated from Campaign Manager 360.", +"Originated from Google Ad Manager.", +"Originated from Search Ads 360.", +"Originated from Youtube.", +"Originated from Ads Data Hub." +], +"readOnly": true, +"type": "string" +}, +"audienceType": { +"description": "Immutable. The type of the audience.", +"enum": [ +"AUDIENCE_TYPE_UNSPECIFIED", +"CUSTOMER_MATCH_CONTACT_INFO", +"CUSTOMER_MATCH_DEVICE_ID", +"CUSTOMER_MATCH_USER_ID", +"ACTIVITY_BASED", +"FREQUENCY_CAP", +"TAG_BASED", +"YOUTUBE_USERS", +"THIRD_PARTY", +"COMMERCE", +"LINEAR", +"AGENCY" +], +"enumDeprecated": [ +false, +false, +false, +false, +true, +true, +false, +false, +false, +false, +false, +false +], +"enumDescriptions": [ +"Default value when type is not specified or is unknown.", +"Audience was generated through matching customers to known contact information.", +"Audience was generated through matching customers to known Mobile device IDs.", +"Audience was generated through matching customers to known User IDs.", +"Audience was created based on campaign activity.", +"Audience was created based on excluding the number of impressions they were served.", +"Audience was created based on custom variables attached to pixel.", +"Audience was created based on past interactions with videos, YouTube ads, or YouTube channel.", +"Audience has been licensed for use from a third party.", +"Audience provided by commerce partners for a fee.", +"Audience for Linear TV content.", +"Audience provided by an agency." +], +"type": "string" +}, +"contactInfoList": { +"$ref": "ContactInfoList", +"description": "Input only. A list of contact information to define the initial audience members. Only applicable to audience_type `CUSTOMER_MATCH_CONTACT_INFO`" +}, +"description": { +"description": "Optional. The user-provided description of the audience. Only applicable to first party audiences.", +"type": "string" +}, +"displayAudienceSize": { +"description": "Output only. The estimated audience size for the Display network. If the size is less than 1000, the number will be hidden and 0 will be returned due to privacy reasons. Otherwise, the number will be rounded off to two significant digits. Only returned in GET request.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"displayDesktopAudienceSize": { +"description": "Output only. The estimated desktop audience size in Display network. If the size is less than 1000, the number will be hidden and 0 will be returned due to privacy reasons. Otherwise, the number will be rounded off to two significant digits. Only applicable to first party audiences. Only returned in GET request.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"displayMobileAppAudienceSize": { +"description": "Output only. The estimated mobile app audience size in Display network. If the size is less than 1000, the number will be hidden and 0 will be returned due to privacy reasons. Otherwise, the number will be rounded off to two significant digits. Only applicable to first party audiences. Only returned in GET request.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"displayMobileWebAudienceSize": { +"description": "Output only. The estimated mobile web audience size in Display network. If the size is less than 1000, the number will be hidden and 0 will be returned due to privacy reasons. Otherwise, the number will be rounded off to two significant digits. Only applicable to first party audiences. Only returned in GET request.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"displayName": { +"description": "Optional. The display name of the first party and partner audience.", +"type": "string" +}, +"firstPartyAndPartnerAudienceId": { +"description": "Identifier. The unique ID of the first party and partner audience. Assigned by the system.", +"format": "int64", +"type": "string" +}, +"firstPartyAndPartnerAudienceType": { +"description": "Output only. Whether the audience is a first party and partner audience.", +"enum": [ +"FIRST_PARTY_AND_PARTNER_AUDIENCE_TYPE_UNSPECIFIED", +"TYPE_FIRST_PARTY", +"TYPE_PARTNER" +], +"enumDescriptions": [ +"Default value when type is not specified or is unknown.", +"Audience that is created via usage of client data.", +"Audience that is provided by Third Party data providers." +], +"readOnly": true, +"type": "string" +}, +"gmailAudienceSize": { +"description": "Output only. The estimated audience size for Gmail network. If the size is less than 1000, the number will be hidden and 0 will be returned due to privacy reasons. Otherwise, the number will be rounded off to two significant digits. Only applicable to first party audiences. Only returned in GET request.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"membershipDurationDays": { +"description": "Optional. The duration in days that an entry remains in the audience after the qualifying event. The set value must be greater than 0 and less than or equal to 540. Only applicable to first party audiences. This field is required if one of the following audience_type is used: * `CUSTOMER_MATCH_CONTACT_INFO` * `CUSTOMER_MATCH_DEVICE_ID`", +"format": "int64", +"type": "string" +}, +"mobileDeviceIdList": { +"$ref": "MobileDeviceIdList", +"description": "Input only. A list of mobile device IDs to define the initial audience members. Only applicable to audience_type `CUSTOMER_MATCH_DEVICE_ID`" +}, +"name": { +"description": "Output only. The resource name of the first party and partner audience.", +"readOnly": true, +"type": "string" +}, +"youtubeAudienceSize": { +"description": "Output only. The estimated audience size for YouTube network. If the size is less than 1000, the number will be hidden and 0 will be returned due to privacy reasons. Otherwise, the number will be rounded off to two significant digits. Only applicable to first party audiences. Only returned in GET request.", +"format": "int64", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"FirstPartyAndPartnerAudienceGroup": { +"description": "Details of first party and partner audience group. All first party and partner audience targeting settings are logically \u2018OR\u2019 of each other.", +"id": "FirstPartyAndPartnerAudienceGroup", +"properties": { +"settings": { +"description": "Required. All first party and partner audience targeting settings in first party and partner audience group. Repeated settings with the same id are not allowed.", +"items": { +"$ref": "FirstPartyAndPartnerAudienceTargetingSetting" +}, +"type": "array" +} +}, +"type": "object" +}, +"FirstPartyAndPartnerAudienceTargetingSetting": { +"description": "Details of first party and partner audience targeting setting.", +"id": "FirstPartyAndPartnerAudienceTargetingSetting", +"properties": { +"firstPartyAndPartnerAudienceId": { +"description": "Required. First party and partner audience id of the first party and partner audience targeting setting. This id is first_party_and_partner_audience_id.", +"format": "int64", +"type": "string" +}, +"recency": { +"description": "Required. The recency of the first party and partner audience targeting setting. Only applicable to first party audiences, otherwise will be ignored. For more info, refer to https://support.google.com/displayvideo/answer/2949947#recency When unspecified, no recency limit will be used.", +"enum": [ +"RECENCY_NO_LIMIT", +"RECENCY_1_MINUTE", +"RECENCY_5_MINUTES", +"RECENCY_10_MINUTES", +"RECENCY_15_MINUTES", +"RECENCY_30_MINUTES", +"RECENCY_1_HOUR", +"RECENCY_2_HOURS", +"RECENCY_3_HOURS", +"RECENCY_6_HOURS", +"RECENCY_12_HOURS", +"RECENCY_1_DAY", +"RECENCY_2_DAYS", +"RECENCY_3_DAYS", +"RECENCY_5_DAYS", +"RECENCY_7_DAYS", +"RECENCY_10_DAYS", +"RECENCY_14_DAYS", +"RECENCY_15_DAYS", +"RECENCY_21_DAYS", +"RECENCY_28_DAYS", +"RECENCY_30_DAYS", +"RECENCY_40_DAYS", +"RECENCY_45_DAYS", +"RECENCY_60_DAYS", +"RECENCY_90_DAYS", +"RECENCY_120_DAYS", +"RECENCY_180_DAYS", +"RECENCY_270_DAYS", +"RECENCY_365_DAYS" +], +"enumDescriptions": [ +"No limit of recency.", +"Recency is 1 minute.", +"Recency is 5 minutes.", +"Recency is 10 minutes.", +"Recency is 15 minutes.", +"Recency is 30 minutes.", +"Recency is 1 hour.", +"Recency is 2 hours.", +"Recency is 3 hours.", +"Recency is 6 hours.", +"Recency is 12 hours.", +"Recency is 1 day.", +"Recency is 2 days.", +"Recency is 3 days.", +"Recency is 5 days.", +"Recency is 7 days.", +"Recency is 10 days.", +"Recency is 14 days.", +"Recency is 15 days.", +"Recency is 21 days.", +"Recency is 28 days.", +"Recency is 30 days.", +"Recency is 40 days.", +"Recency is 45 days.", +"Recency is 60 days.", +"Recency is 90 days.", +"Recency is 120 days.", +"Recency is 180 days.", +"Recency is 270 days.", +"Recency is 365 days." +], +"type": "string" +} +}, +"type": "object" +}, +"FixedBidStrategy": { +"description": "A strategy that uses a fixed bidding price.", +"id": "FixedBidStrategy", +"properties": { +"bidAmountMicros": { +"description": "The fixed bid amount, in micros of the advertiser's currency. For insertion order entity, bid_amount_micros should be set as 0. For line item entity, bid_amount_micros must be greater than or equal to billable unit of the given currency and smaller than or equal to the upper limit 1000000000. For example, 1500000 represents 1.5 standard units of the currency.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"FloodlightActivity": { +"description": "A single Floodlight activity.", +"id": "FloodlightActivity", +"properties": { +"advertiserIds": { +"description": "Output only. IDs of the advertisers that have access to the parent Floodlight group. Only advertisers under the provided partner ID will be listed in this field.", +"items": { +"format": "int64", +"type": "string" +}, +"readOnly": true, +"type": "array" +}, +"displayName": { +"description": "Required. The display name of the Floodlight activity.", +"type": "string" +}, +"floodlightActivityId": { +"description": "Output only. The unique ID of the Floodlight activity. Assigned by the system.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"floodlightGroupId": { +"description": "Required. Immutable. The ID of the parent Floodlight group.", +"format": "int64", +"type": "string" +}, +"name": { +"description": "Output only. The resource name of the Floodlight activity.", +"readOnly": true, +"type": "string" +}, +"remarketingConfigs": { +"description": "Output only. A list of configuration objects designating whether remarketing for this Floodlight Activity is enabled and available for a specifc advertiser. If enabled, this Floodlight Activity generates a remarketing user list that is able to be used in targeting under the advertiser.", +"items": { +"$ref": "RemarketingConfig" +}, +"readOnly": true, +"type": "array" +}, +"servingStatus": { +"description": "Optional. Whether the Floodlight activity is served.", +"enum": [ +"FLOODLIGHT_ACTIVITY_SERVING_STATUS_UNSPECIFIED", +"FLOODLIGHT_ACTIVITY_SERVING_STATUS_ENABLED", +"FLOODLIGHT_ACTIVITY_SERVING_STATUS_DISABLED" +], +"enumDescriptions": [ +"Type value is not specified or is unknown in this version.", +"Enabled.", +"Disabled." +], +"type": "string" +}, +"sslRequired": { +"description": "Output only. Whether tags are required to be compliant.", +"readOnly": true, +"type": "boolean" +} +}, +"type": "object" +}, +"FloodlightGroup": { +"description": "A single Floodlight group.", +"id": "FloodlightGroup", +"properties": { +"activeViewConfig": { +"$ref": "ActiveViewVideoViewabilityMetricConfig", +"description": "The Active View video viewability metric configuration for the Floodlight group." +}, +"customVariables": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"description": "User-defined custom variables owned by the Floodlight group. Use custom Floodlight variables to create reporting data that is tailored to your unique business needs. Custom Floodlight variables use the keys `U1=`, `U2=`, and so on, and can take any values that you choose to pass to them. You can use them to track virtually any type of data that you collect about your customers, such as the genre of movie that a customer purchases, the country to which the item is shipped, and so on. Custom Floodlight variables may not be used to pass any data that could be used or recognized as personally identifiable information (PII). Example: `custom_variables { fields { \"U1\": value { number_value: 123.4 }, \"U2\": value { string_value: \"MyVariable2\" }, \"U3\": value { string_value: \"MyVariable3\" } } }` Acceptable values for keys are \"U1\" through \"U100\", inclusive. String values must be less than 64 characters long, and cannot contain the following characters: `\"<>`.", +"type": "object" +}, +"displayName": { +"description": "Required. The display name of the Floodlight group.", +"type": "string" +}, +"floodlightGroupId": { +"description": "Output only. The unique ID of the Floodlight group. Assigned by the system.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"lookbackWindow": { +"$ref": "LookbackWindow", +"description": "Required. The lookback window for the Floodlight group. Both click_days and impression_days are required. Acceptable values for both are `0` to `90`, inclusive." +}, +"name": { +"description": "Output only. The resource name of the Floodlight group.", +"readOnly": true, +"type": "string" +}, +"webTagType": { +"description": "Required. The web tag type enabled for the Floodlight group.", +"enum": [ +"WEB_TAG_TYPE_UNSPECIFIED", +"WEB_TAG_TYPE_NONE", +"WEB_TAG_TYPE_IMAGE", +"WEB_TAG_TYPE_DYNAMIC" +], +"enumDescriptions": [ +"Type value is not specified or is unknown in this version.", +"No tag type.", +"Image tag.", +"Dynamic tag." +], +"type": "string" +} +}, +"type": "object" +}, +"FrequencyCap": { +"description": "Settings that control the number of times a user may be shown with the same ad during a given time period.", +"id": "FrequencyCap", +"properties": { +"maxImpressions": { +"description": "The maximum number of times a user may be shown the same ad during this period. Must be greater than 0. Required when unlimited is `false` and max_views is not set.", +"format": "int32", +"type": "integer" +}, +"maxViews": { +"description": "Optional. The maximum number of times a user may click-through or fully view an ad during this period until it is no longer served to them. Must be greater than 0. Only applicable to YouTube and Partners resources. Required when unlimited is `false` and max_impressions is not set.", +"format": "int32", +"type": "integer" +}, +"timeUnit": { +"description": "The time unit in which the frequency cap will be applied. Required when unlimited is `false`.", +"enum": [ +"TIME_UNIT_UNSPECIFIED", +"TIME_UNIT_LIFETIME", +"TIME_UNIT_MONTHS", +"TIME_UNIT_WEEKS", +"TIME_UNIT_DAYS", +"TIME_UNIT_HOURS", +"TIME_UNIT_MINUTES" +], +"enumDeprecated": [ +false, +true, +false, +false, +false, +false, +false +], +"enumDescriptions": [ +"Time unit value is not specified or is unknown in this version.", +"The frequency cap will be applied to the whole life time of the line item.", +"The frequency cap will be applied to a number of months.", +"The frequency cap will be applied to a number of weeks.", +"The frequency cap will be applied to a number of days.", +"The frequency cap will be applied to a number of hours.", +"The frequency cap will be applied to a number of minutes." +], +"type": "string" +}, +"timeUnitCount": { +"description": "The number of time_unit the frequency cap will last. Required when unlimited is `false`. The following restrictions apply based on the value of time_unit: * `TIME_UNIT_MONTHS` - must be 1 * `TIME_UNIT_WEEKS` - must be between 1 and 4 * `TIME_UNIT_DAYS` - must be between 1 and 6 * `TIME_UNIT_HOURS` - must be between 1 and 23 * `TIME_UNIT_MINUTES` - must be between 1 and 59", +"format": "int32", +"type": "integer" +}, +"unlimited": { +"description": "Whether unlimited frequency capping is applied. When this field is set to `true`, the remaining frequency cap fields are not applicable.", +"type": "boolean" +} +}, +"type": "object" +}, +"GenderAssignedTargetingOptionDetails": { +"description": "Details for assigned gender targeting option. This will be populated in the details field of an AssignedTargetingOption when targeting_type is `TARGETING_TYPE_GENDER`.", +"id": "GenderAssignedTargetingOptionDetails", +"properties": { +"gender": { +"description": "Required. The gender of the audience.", +"enum": [ +"GENDER_UNSPECIFIED", +"GENDER_MALE", +"GENDER_FEMALE", +"GENDER_UNKNOWN" +], +"enumDescriptions": [ +"Default value when gender is not specified in this version. This enum is a place holder for default value and does not represent a real gender option.", +"The audience gender is male.", +"The audience gender is female.", +"The audience gender is unknown." +], +"type": "string" +} +}, +"type": "object" +}, +"GenderTargetingOptionDetails": { +"description": "Represents a targetable gender. This will be populated in the gender_details field of a TargetingOption when targeting_type is `TARGETING_TYPE_GENDER`.", +"id": "GenderTargetingOptionDetails", +"properties": { +"gender": { +"description": "Output only. The gender of an audience.", +"enum": [ +"GENDER_UNSPECIFIED", +"GENDER_MALE", +"GENDER_FEMALE", +"GENDER_UNKNOWN" +], +"enumDescriptions": [ +"Default value when gender is not specified in this version. This enum is a place holder for default value and does not represent a real gender option.", +"The audience gender is male.", +"The audience gender is female.", +"The audience gender is unknown." +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GeoRegionAssignedTargetingOptionDetails": { +"description": "Details for assigned geographic region targeting option. This will be populated in the details field of an AssignedTargetingOption when targeting_type is `TARGETING_TYPE_GEO_REGION`.", +"id": "GeoRegionAssignedTargetingOptionDetails", +"properties": { +"displayName": { +"description": "Output only. The display name of the geographic region (e.g., \"Ontario, Canada\").", +"readOnly": true, +"type": "string" +}, +"geoRegionType": { +"description": "Output only. The type of geographic region targeting.", +"enum": [ +"GEO_REGION_TYPE_UNKNOWN", +"GEO_REGION_TYPE_OTHER", +"GEO_REGION_TYPE_COUNTRY", +"GEO_REGION_TYPE_REGION", +"GEO_REGION_TYPE_TERRITORY", +"GEO_REGION_TYPE_PROVINCE", +"GEO_REGION_TYPE_STATE", +"GEO_REGION_TYPE_PREFECTURE", +"GEO_REGION_TYPE_GOVERNORATE", +"GEO_REGION_TYPE_CANTON", +"GEO_REGION_TYPE_UNION_TERRITORY", +"GEO_REGION_TYPE_AUTONOMOUS_COMMUNITY", +"GEO_REGION_TYPE_DMA_REGION", +"GEO_REGION_TYPE_METRO", +"GEO_REGION_TYPE_CONGRESSIONAL_DISTRICT", +"GEO_REGION_TYPE_COUNTY", +"GEO_REGION_TYPE_MUNICIPALITY", +"GEO_REGION_TYPE_CITY", +"GEO_REGION_TYPE_POSTAL_CODE", +"GEO_REGION_TYPE_DEPARTMENT", +"GEO_REGION_TYPE_AIRPORT", +"GEO_REGION_TYPE_TV_REGION", +"GEO_REGION_TYPE_OKRUG", +"GEO_REGION_TYPE_BOROUGH", +"GEO_REGION_TYPE_CITY_REGION", +"GEO_REGION_TYPE_ARRONDISSEMENT", +"GEO_REGION_TYPE_NEIGHBORHOOD", +"GEO_REGION_TYPE_UNIVERSITY", +"GEO_REGION_TYPE_DISTRICT", +"GEO_REGION_TYPE_NATIONAL_PARK", +"GEO_REGION_TYPE_BARRIO", +"GEO_REGION_TYPE_SUB_WARD", +"GEO_REGION_TYPE_MUNICIPALITY_DISTRICT", +"GEO_REGION_TYPE_SUB_DISTRICT", +"GEO_REGION_TYPE_QUARTER", +"GEO_REGION_TYPE_DIVISION", +"GEO_REGION_TYPE_COMMUNE", +"GEO_REGION_TYPE_COLLOQUIAL_AREA" +], +"enumDescriptions": [ +"The geographic region type is unknown.", +"The geographic region type is other.", +"The geographic region is a country.", +"The geographic region type is region.", +"The geographic region is a territory.", +"The geographic region is a province.", +"The geographic region is a state.", +"The geographic region is a prefecture.", +"The geographic region is a governorate.", +"The geographic region is a canton.", +"The geographic region is a union territory.", +"The geographic region is an autonomous community.", +"The geographic region is a designated market area (DMA) region.", +"The geographic region type is metro.", +"The geographic region is a congressional district.", +"The geographic region is a county.", +"The geographic region is a municipality.", +"The geographic region is a city.", +"The geographic region targeting type is postal code.", +"The geographic region targeting type is department.", +"The geographic region is an airport.", +"The geographic region is a TV region.", +"The geographic region is an okrug.", +"The geographic region is a borough.", +"The geographic region is a city region.", +"The geographic region is an arrondissement.", +"The geographic region is a neighborhood.", +"The geographic region is a university.", +"The geographic region is a district.", +"The geographic region is a national park.", +"The geographic region is a barrio.", +"The geographic region is a sub ward.", +"The geographic region is a municipality district.", +"The geographic region is a sub district.", +"The geographic region is a quarter.", +"The geographic region is a division.", +"The geographic region is a commune.", +"The geographic region is a colloquial area." +], +"readOnly": true, +"type": "string" +}, +"negative": { +"description": "Indicates if this option is being negatively targeted.", +"type": "boolean" +}, +"targetingOptionId": { +"description": "Required. The targeting_option_id of a TargetingOption of type `TARGETING_TYPE_GEO_REGION`.", +"type": "string" +} +}, +"type": "object" +}, +"GeoRegionSearchTerms": { +"description": "Search terms for geo region targeting options.", +"id": "GeoRegionSearchTerms", +"properties": { +"geoRegionQuery": { +"description": "The search query for the desired geo region. The query can be a prefix, e.g. \"New Yor\", \"Seattle\", \"USA\", etc.", +"type": "string" +} +}, +"type": "object" +}, +"GeoRegionTargetingOptionDetails": { +"description": "Represents a targetable geographic region. This will be populated in the geo_region_details field when targeting_type is `TARGETING_TYPE_GEO_REGION`.", +"id": "GeoRegionTargetingOptionDetails", +"properties": { +"displayName": { +"description": "Output only. The display name of the geographic region (e.g., \"Ontario, Canada\").", +"readOnly": true, +"type": "string" +}, +"geoRegionType": { +"description": "Output only. The type of geographic region targeting.", +"enum": [ +"GEO_REGION_TYPE_UNKNOWN", +"GEO_REGION_TYPE_OTHER", +"GEO_REGION_TYPE_COUNTRY", +"GEO_REGION_TYPE_REGION", +"GEO_REGION_TYPE_TERRITORY", +"GEO_REGION_TYPE_PROVINCE", +"GEO_REGION_TYPE_STATE", +"GEO_REGION_TYPE_PREFECTURE", +"GEO_REGION_TYPE_GOVERNORATE", +"GEO_REGION_TYPE_CANTON", +"GEO_REGION_TYPE_UNION_TERRITORY", +"GEO_REGION_TYPE_AUTONOMOUS_COMMUNITY", +"GEO_REGION_TYPE_DMA_REGION", +"GEO_REGION_TYPE_METRO", +"GEO_REGION_TYPE_CONGRESSIONAL_DISTRICT", +"GEO_REGION_TYPE_COUNTY", +"GEO_REGION_TYPE_MUNICIPALITY", +"GEO_REGION_TYPE_CITY", +"GEO_REGION_TYPE_POSTAL_CODE", +"GEO_REGION_TYPE_DEPARTMENT", +"GEO_REGION_TYPE_AIRPORT", +"GEO_REGION_TYPE_TV_REGION", +"GEO_REGION_TYPE_OKRUG", +"GEO_REGION_TYPE_BOROUGH", +"GEO_REGION_TYPE_CITY_REGION", +"GEO_REGION_TYPE_ARRONDISSEMENT", +"GEO_REGION_TYPE_NEIGHBORHOOD", +"GEO_REGION_TYPE_UNIVERSITY", +"GEO_REGION_TYPE_DISTRICT", +"GEO_REGION_TYPE_NATIONAL_PARK", +"GEO_REGION_TYPE_BARRIO", +"GEO_REGION_TYPE_SUB_WARD", +"GEO_REGION_TYPE_MUNICIPALITY_DISTRICT", +"GEO_REGION_TYPE_SUB_DISTRICT", +"GEO_REGION_TYPE_QUARTER", +"GEO_REGION_TYPE_DIVISION", +"GEO_REGION_TYPE_COMMUNE", +"GEO_REGION_TYPE_COLLOQUIAL_AREA" +], +"enumDescriptions": [ +"The geographic region type is unknown.", +"The geographic region type is other.", +"The geographic region is a country.", +"The geographic region type is region.", +"The geographic region is a territory.", +"The geographic region is a province.", +"The geographic region is a state.", +"The geographic region is a prefecture.", +"The geographic region is a governorate.", +"The geographic region is a canton.", +"The geographic region is a union territory.", +"The geographic region is an autonomous community.", +"The geographic region is a designated market area (DMA) region.", +"The geographic region type is metro.", +"The geographic region is a congressional district.", +"The geographic region is a county.", +"The geographic region is a municipality.", +"The geographic region is a city.", +"The geographic region targeting type is postal code.", +"The geographic region targeting type is department.", +"The geographic region is an airport.", +"The geographic region is a TV region.", +"The geographic region is an okrug.", +"The geographic region is a borough.", +"The geographic region is a city region.", +"The geographic region is an arrondissement.", +"The geographic region is a neighborhood.", +"The geographic region is a university.", +"The geographic region is a district.", +"The geographic region is a national park.", +"The geographic region is a barrio.", +"The geographic region is a sub ward.", +"The geographic region is a municipality district.", +"The geographic region is a sub district.", +"The geographic region is a quarter.", +"The geographic region is a division.", +"The geographic region is a commune.", +"The geographic region is a colloquial area." +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleAudience": { +"description": "Describes a Google audience resource. Includes Google audience lists.", +"id": "GoogleAudience", +"properties": { +"displayName": { +"description": "Output only. The display name of the Google audience. .", +"readOnly": true, +"type": "string" +}, +"googleAudienceId": { +"description": "Output only. The unique ID of the Google audience. Assigned by the system.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"googleAudienceType": { +"description": "Output only. The type of Google audience. .", +"enum": [ +"GOOGLE_AUDIENCE_TYPE_UNSPECIFIED", +"GOOGLE_AUDIENCE_TYPE_AFFINITY", +"GOOGLE_AUDIENCE_TYPE_IN_MARKET", +"GOOGLE_AUDIENCE_TYPE_INSTALLED_APPS", +"GOOGLE_AUDIENCE_TYPE_NEW_MOBILE_DEVICES", +"GOOGLE_AUDIENCE_TYPE_LIFE_EVENT", +"GOOGLE_AUDIENCE_TYPE_EXTENDED_DEMOGRAPHIC" +], +"enumDeprecated": [ +false, +false, +false, +true, +true, +false, +false +], +"enumDescriptions": [ +"Default value when type is not specified or is unknown.", +"Affinity type Google audience.", +"In-Market type Google audience.", +"Installed-Apps type Google audience.", +"New-Mobile-Devices type Google audience.", +"Life-Event type Google audience.", +"Extended-Demographic type Google audience." +], +"readOnly": true, +"type": "string" +}, +"name": { +"description": "Output only. The resource name of the google audience.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleAudienceGroup": { +"description": "Details of Google audience group. All Google audience targeting settings are logically \u2018OR\u2019 of each other.", +"id": "GoogleAudienceGroup", +"properties": { +"settings": { +"description": "Required. All Google audience targeting settings in Google audience group. Repeated settings with the same id will be ignored.", +"items": { +"$ref": "GoogleAudienceTargetingSetting" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleAudienceTargetingSetting": { +"description": "Details of Google audience targeting setting.", +"id": "GoogleAudienceTargetingSetting", +"properties": { +"googleAudienceId": { +"description": "Required. Google audience id of the Google audience targeting setting. This id is google_audience_id.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"GoogleBytestreamMedia": { +"description": "Media resource.", +"id": "GoogleBytestreamMedia", +"properties": { +"resourceName": { +"description": "Name of the media resource.", +"type": "string" +} +}, +"type": "object" +}, +"GuaranteedOrder": { +"description": "A guaranteed order. Guaranteed orders are parent entity of guaranteed inventory sources. When creating a guaranteed inventory source, a guaranteed order ID must be assigned to the inventory source.", +"id": "GuaranteedOrder", +"properties": { +"defaultAdvertiserId": { +"description": "Output only. The ID of default advertiser of the guaranteed order. The default advertiser is either the read_write_advertiser_id or, if that is not set, the first advertiser listed in read_advertiser_ids. Otherwise, there is no default advertiser.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"defaultCampaignId": { +"description": "The ID of the default campaign that is assigned to the guaranteed order. The default campaign must belong to the default advertiser.", +"format": "int64", +"type": "string" +}, +"displayName": { +"description": "Required. The display name of the guaranteed order. Must be UTF-8 encoded with a maximum size of 240 bytes.", +"type": "string" +}, +"exchange": { +"description": "Required. Immutable. The exchange where the guaranteed order originated.", +"enum": [ +"EXCHANGE_UNSPECIFIED", +"EXCHANGE_GOOGLE_AD_MANAGER", +"EXCHANGE_APPNEXUS", +"EXCHANGE_BRIGHTROLL", +"EXCHANGE_ADFORM", +"EXCHANGE_ADMETA", +"EXCHANGE_ADMIXER", +"EXCHANGE_ADSMOGO", +"EXCHANGE_ADSWIZZ", +"EXCHANGE_BIDSWITCH", +"EXCHANGE_BRIGHTROLL_DISPLAY", +"EXCHANGE_CADREON", +"EXCHANGE_DAILYMOTION", +"EXCHANGE_FIVE", +"EXCHANGE_FLUCT", +"EXCHANGE_FREEWHEEL", +"EXCHANGE_GENIEE", +"EXCHANGE_GUMGUM", +"EXCHANGE_IMOBILE", +"EXCHANGE_IBILLBOARD", +"EXCHANGE_IMPROVE_DIGITAL", +"EXCHANGE_INDEX", +"EXCHANGE_KARGO", +"EXCHANGE_MICROAD", +"EXCHANGE_MOPUB", +"EXCHANGE_NEND", +"EXCHANGE_ONE_BY_AOL_DISPLAY", +"EXCHANGE_ONE_BY_AOL_MOBILE", +"EXCHANGE_ONE_BY_AOL_VIDEO", +"EXCHANGE_OOYALA", +"EXCHANGE_OPENX", +"EXCHANGE_PERMODO", +"EXCHANGE_PLATFORMONE", +"EXCHANGE_PLATFORMID", +"EXCHANGE_PUBMATIC", +"EXCHANGE_PULSEPOINT", +"EXCHANGE_REVENUEMAX", +"EXCHANGE_RUBICON", +"EXCHANGE_SMARTCLIP", +"EXCHANGE_SMARTRTB", +"EXCHANGE_SMARTSTREAMTV", +"EXCHANGE_SOVRN", +"EXCHANGE_SPOTXCHANGE", +"EXCHANGE_STROER", +"EXCHANGE_TEADSTV", +"EXCHANGE_TELARIA", +"EXCHANGE_TVN", +"EXCHANGE_UNITED", +"EXCHANGE_YIELDLAB", +"EXCHANGE_YIELDMO", +"EXCHANGE_UNRULYX", +"EXCHANGE_OPEN8", +"EXCHANGE_TRITON", +"EXCHANGE_TRIPLELIFT", +"EXCHANGE_TABOOLA", +"EXCHANGE_INMOBI", +"EXCHANGE_SMAATO", +"EXCHANGE_AJA", +"EXCHANGE_SUPERSHIP", +"EXCHANGE_NEXSTAR_DIGITAL", +"EXCHANGE_WAZE", +"EXCHANGE_SOUNDCAST", +"EXCHANGE_SHARETHROUGH", +"EXCHANGE_FYBER", +"EXCHANGE_RED_FOR_PUBLISHERS", +"EXCHANGE_MEDIANET", +"EXCHANGE_TAPJOY", +"EXCHANGE_VISTAR", +"EXCHANGE_DAX", +"EXCHANGE_JCD", +"EXCHANGE_PLACE_EXCHANGE", +"EXCHANGE_APPLOVIN", +"EXCHANGE_CONNATIX", +"EXCHANGE_RESET_DIGITAL", +"EXCHANGE_HIVESTACK", +"EXCHANGE_DRAX", +"EXCHANGE_APPLOVIN_GBID", +"EXCHANGE_FYBER_GBID", +"EXCHANGE_UNITY_GBID", +"EXCHANGE_CHARTBOOST_GBID", +"EXCHANGE_ADMOST_GBID", +"EXCHANGE_TOPON_GBID", +"EXCHANGE_NETFLIX", +"EXCHANGE_CORE", +"EXCHANGE_COMMERCE_GRID", +"EXCHANGE_SPOTIFY", +"EXCHANGE_TUBI", +"EXCHANGE_SNAP", +"EXCHANGE_CADENT" +], +"enumDescriptions": [ +"Exchange is not specified or is unknown in this version.", +"Google Ad Manager.", +"AppNexus.", +"BrightRoll Exchange for Video from Yahoo!.", +"Adform.", +"Admeta.", +"Admixer.", +"AdsMogo.", +"AdsWizz.", +"BidSwitch.", +"BrightRoll Exchange for Display from Yahoo!.", +"Cadreon.", +"Dailymotion.", +"Five.", +"Fluct.", +"FreeWheel SSP.", +"Geniee.", +"GumGum.", +"i-mobile.", +"iBILLBOARD.", +"Improve Digital.", +"Index Exchange.", +"Kargo.", +"MicroAd.", +"MoPub.", +"Nend.", +"ONE by AOL: Display Market Place.", +"ONE by AOL: Mobile.", +"ONE by AOL: Video.", +"Ooyala.", +"OpenX.", +"Permodo.", +"Platform One.", +"PlatformId.", +"PubMatic.", +"PulsePoint.", +"RevenueMax.", +"Rubicon.", +"SmartClip.", +"SmartRTB+.", +"SmartstreamTv.", +"Sovrn.", +"SpotXchange.", +"Str\u00f6er SSP.", +"TeadsTv.", +"Telaria.", +"TVN.", +"United.", +"Yieldlab.", +"Yieldmo.", +"UnrulyX.", +"Open8.", +"Triton.", +"TripleLift.", +"Taboola.", +"InMobi.", +"Smaato.", +"Aja.", +"Supership.", +"Nexstar Digital.", +"Waze.", +"SoundCast.", +"Sharethrough.", +"Fyber.", +"Red For Publishers.", +"Media.net.", +"Tapjoy.", +"Vistar.", +"DAX.", +"JCD.", +"Place Exchange.", +"AppLovin.", +"Connatix.", +"Reset Digital.", +"Hivestack.", +"Drax.", +"AppLovin MAX.", +"DT Fairbid.", +"Unity LevelPlay.", +"Chartboost Mediation.", +"AdMost.", +"TopOn.", +"Netflix.", +"Core.", +"Commerce Grid.", +"Spotify.", +"Tubi.", +"Snap.", +"Cadent." +], +"type": "string" +}, +"guaranteedOrderId": { +"description": "Output only. The unique identifier of the guaranteed order. The guaranteed order IDs have the format `{exchange}-{legacy_guaranteed_order_id}`.", +"readOnly": true, +"type": "string" +}, +"legacyGuaranteedOrderId": { +"description": "Output only. The legacy ID of the guaranteed order. Assigned by the original exchange. The legacy ID is unique within one exchange, but is not guaranteed to be unique across all guaranteed orders. This ID is used in SDF and UI.", +"readOnly": true, +"type": "string" +}, +"name": { +"description": "Output only. The resource name of the guaranteed order.", +"readOnly": true, +"type": "string" +}, +"publisherName": { +"description": "Required. The publisher name of the guaranteed order. Must be UTF-8 encoded with a maximum size of 240 bytes.", +"type": "string" +}, +"readAccessInherited": { +"description": "Whether all advertisers of read_write_partner_id have read access to the guaranteed order. Only applicable if read_write_partner_id is set. If True, overrides read_advertiser_ids.", +"type": "boolean" +}, +"readAdvertiserIds": { +"description": "The IDs of advertisers with read access to the guaranteed order. This field must not include the advertiser assigned to read_write_advertiser_id if it is set. All advertisers in this field must belong to read_write_partner_id or the same partner as read_write_advertiser_id.", +"items": { +"format": "int64", +"type": "string" +}, +"type": "array" +}, +"readWriteAdvertiserId": { +"description": "The advertiser with read/write access to the guaranteed order. This is also the default advertiser of the guaranteed order.", +"format": "int64", +"type": "string" +}, +"readWritePartnerId": { +"description": "The partner with read/write access to the guaranteed order.", +"format": "int64", +"type": "string" +}, +"status": { +"$ref": "GuaranteedOrderStatus", +"description": "The status settings of the guaranteed order." +}, +"updateTime": { +"description": "Output only. The timestamp when the guaranteed order was last updated. Assigned by the system.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GuaranteedOrderStatus": { +"description": "The status settings of the guaranteed order.", +"id": "GuaranteedOrderStatus", +"properties": { +"configStatus": { +"description": "Output only. The configuration status of the guaranteed order. Acceptable values are `PENDING` and `COMPLETED`. A guaranteed order must be configured (fill in the required fields, choose creatives, and select a default campaign) before it can serve. Currently the configuration action can only be performed via UI.", +"enum": [ +"GUARANTEED_ORDER_CONFIG_STATUS_UNSPECIFIED", +"PENDING", +"COMPLETED" +], +"enumDescriptions": [ +"The approval status is not specified or is unknown in this version.", +"The beginning state of a guaranteed order. The guaranteed order in this state needs to be configured before it can serve.", +"The state after the buyer configures a guaranteed order." +], +"readOnly": true, +"type": "string" +}, +"entityPauseReason": { +"description": "The user-provided reason for pausing this guaranteed order. Must be UTF-8 encoded with a maximum length of 100 bytes. Only applicable when entity_status is set to `ENTITY_STATUS_PAUSED`.", +"type": "string" +}, +"entityStatus": { +"description": "Whether or not the guaranteed order is servable. Acceptable values are `ENTITY_STATUS_ACTIVE`, `ENTITY_STATUS_ARCHIVED`, and `ENTITY_STATUS_PAUSED`. Default value is `ENTITY_STATUS_ACTIVE`.", +"enum": [ +"ENTITY_STATUS_UNSPECIFIED", +"ENTITY_STATUS_ACTIVE", +"ENTITY_STATUS_ARCHIVED", +"ENTITY_STATUS_DRAFT", +"ENTITY_STATUS_PAUSED", +"ENTITY_STATUS_SCHEDULED_FOR_DELETION" +], +"enumDescriptions": [ +"Default value when status is not specified or is unknown in this version.", +"The entity is enabled to bid and spend budget.", +"The entity is archived. Bidding and budget spending are disabled. An entity can be deleted after archived. Deleted entities cannot be retrieved.", +"The entity is under draft. Bidding and budget spending are disabled.", +"Bidding and budget spending are paused for the entity.", +"The entity is scheduled for deletion." +], +"type": "string" +} +}, +"type": "object" +}, +"HouseholdIncomeAssignedTargetingOptionDetails": { +"description": "Details for assigned household income targeting option. This will be populated in the details field of an AssignedTargetingOption when targeting_type is `TARGETING_TYPE_HOUSEHOLD_INCOME`.", +"id": "HouseholdIncomeAssignedTargetingOptionDetails", +"properties": { +"householdIncome": { +"description": "Required. The household income of the audience.", +"enum": [ +"HOUSEHOLD_INCOME_UNSPECIFIED", +"HOUSEHOLD_INCOME_UNKNOWN", +"HOUSEHOLD_INCOME_LOWER_50_PERCENT", +"HOUSEHOLD_INCOME_TOP_41_TO_50_PERCENT", +"HOUSEHOLD_INCOME_TOP_31_TO_40_PERCENT", +"HOUSEHOLD_INCOME_TOP_21_TO_30_PERCENT", +"HOUSEHOLD_INCOME_TOP_11_TO_20_PERCENT", +"HOUSEHOLD_INCOME_TOP_10_PERCENT" +], +"enumDescriptions": [ +"Default value when household income is not specified in this version. This enum is a placeholder for default value and does not represent a real household income option.", +"The household income of the audience is unknown.", +"The audience is in the lower 50% of U.S. household incomes.", +"The audience is in the top 41-50% of U.S. household incomes.", +"The audience is in the top 31-40% of U.S. household incomes.", +"The audience is in the top 21-30% of U.S. household incomes.", +"The audience is in the top 11-20% of U.S. household incomes.", +"The audience is in the top 10% of U.S. household incomes." +], +"type": "string" +} +}, +"type": "object" +}, +"HouseholdIncomeTargetingOptionDetails": { +"description": "Represents a targetable household income. This will be populated in the household_income_details field of a TargetingOption when targeting_type is `TARGETING_TYPE_HOUSEHOLD_INCOME`.", +"id": "HouseholdIncomeTargetingOptionDetails", +"properties": { +"householdIncome": { +"description": "Output only. The household income of an audience.", +"enum": [ +"HOUSEHOLD_INCOME_UNSPECIFIED", +"HOUSEHOLD_INCOME_UNKNOWN", +"HOUSEHOLD_INCOME_LOWER_50_PERCENT", +"HOUSEHOLD_INCOME_TOP_41_TO_50_PERCENT", +"HOUSEHOLD_INCOME_TOP_31_TO_40_PERCENT", +"HOUSEHOLD_INCOME_TOP_21_TO_30_PERCENT", +"HOUSEHOLD_INCOME_TOP_11_TO_20_PERCENT", +"HOUSEHOLD_INCOME_TOP_10_PERCENT" +], +"enumDescriptions": [ +"Default value when household income is not specified in this version. This enum is a placeholder for default value and does not represent a real household income option.", +"The household income of the audience is unknown.", +"The audience is in the lower 50% of U.S. household incomes.", +"The audience is in the top 41-50% of U.S. household incomes.", +"The audience is in the top 31-40% of U.S. household incomes.", +"The audience is in the top 21-30% of U.S. household incomes.", +"The audience is in the top 11-20% of U.S. household incomes.", +"The audience is in the top 10% of U.S. household incomes." +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"IdFilter": { +"description": "A filtering option that filters entities by their entity IDs.", +"id": "IdFilter", +"properties": { +"adGroupAdIds": { +"description": "YouTube Ads to download by ID. All IDs must belong to the same Advertiser or Partner specified in CreateSdfDownloadTaskRequest.", +"items": { +"format": "int64", +"type": "string" +}, +"type": "array" +}, +"adGroupIds": { +"description": "YouTube Ad Groups to download by ID. All IDs must belong to the same Advertiser or Partner specified in CreateSdfDownloadTaskRequest.", +"items": { +"format": "int64", +"type": "string" +}, +"type": "array" +}, +"adGroupQaIds": { +"description": "Optional. YouTube Ad Groups, by ID, to download in QA format. All IDs must belong to the same Advertiser or Partner specified in CreateSdfDownloadTaskRequest.", +"items": { +"format": "int64", +"type": "string" +}, +"type": "array" +}, +"campaignIds": { +"description": "Campaigns to download by ID. All IDs must belong to the same Advertiser or Partner specified in CreateSdfDownloadTaskRequest.", +"items": { +"format": "int64", +"type": "string" +}, +"type": "array" +}, +"insertionOrderIds": { +"description": "Insertion Orders to download by ID. All IDs must belong to the same Advertiser or Partner specified in CreateSdfDownloadTaskRequest.", +"items": { +"format": "int64", +"type": "string" +}, +"type": "array" +}, +"lineItemIds": { +"description": "Line Items to download by ID. All IDs must belong to the same Advertiser or Partner specified in CreateSdfDownloadTaskRequest.", +"items": { +"format": "int64", +"type": "string" +}, +"type": "array" +}, +"lineItemQaIds": { +"description": "Optional. Line Items, by ID, to download in QA format. All IDs must belong to the same Advertiser or Partner specified in CreateSdfDownloadTaskRequest.", +"items": { +"format": "int64", +"type": "string" +}, +"type": "array" +}, +"mediaProductIds": { +"description": "Media Products to download by ID. All IDs must belong to the same Advertiser or Partner specified in CreateSdfDownloadTaskRequest.", +"items": { +"format": "int64", +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ImageAsset": { +"description": "Meta data of an image asset.", +"id": "ImageAsset", +"properties": { +"fileSize": { +"description": "Output only. File size of the image asset in bytes.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"fullSize": { +"$ref": "Dimensions", +"description": "Output only. Metadata for this image at its original size.", +"readOnly": true +}, +"mimeType": { +"description": "Output only. MIME type of the image asset.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"InStreamAd": { +"description": "Details for an in-stream ad.", +"id": "InStreamAd", +"properties": { +"commonInStreamAttribute": { +"$ref": "CommonInStreamAttribute", +"description": "Common ad attributes." +}, +"customParameters": { +"additionalProperties": { +"type": "string" +}, +"description": "The custom parameters to pass custom values to tracking URL template.", +"type": "object" +} +}, +"type": "object" +}, +"InsertionOrder": { +"description": "A single insertion order.", +"id": "InsertionOrder", +"properties": { +"advertiserId": { +"description": "Output only. The unique ID of the advertiser the insertion order belongs to.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"bidStrategy": { +"$ref": "BiddingStrategy", +"description": "Optional. The bidding strategy of the insertion order. By default, fixed_bid is set. If the budget field automationType is set to `INSERTION_ORDER_AUTOMATION_TYPE_BUDGET` or `INSERTION_ORDER_AUTOMATION_TYPE_BID_BUDGET`, the insertion order will impose this bidding strategy on its line items. If an imposed bidding strategy is not compatible with a line item's enableOptimizedTargeting setting, the optimized targeting setting will be updated." +}, +"budget": { +"$ref": "InsertionOrderBudget", +"description": "Required. The budget allocation settings of the insertion order." +}, +"campaignId": { +"description": "Required. Immutable. The unique ID of the campaign that the insertion order belongs to.", +"format": "int64", +"type": "string" +}, +"displayName": { +"description": "Required. The display name of the insertion order. Must be UTF-8 encoded with a maximum size of 240 bytes.", +"type": "string" +}, +"entityStatus": { +"description": "Required. Controls whether or not the insertion order can spend its budget and bid on inventory. * For CreateInsertionOrder method, only `ENTITY_STATUS_DRAFT` is allowed. To activate an insertion order, use UpdateInsertionOrder method and update the status to `ENTITY_STATUS_ACTIVE` after creation. * An insertion order cannot be changed back to `ENTITY_STATUS_DRAFT` status from any other status. * An insertion order cannot be set to `ENTITY_STATUS_ACTIVE` if its parent campaign is not active.", +"enum": [ +"ENTITY_STATUS_UNSPECIFIED", +"ENTITY_STATUS_ACTIVE", +"ENTITY_STATUS_ARCHIVED", +"ENTITY_STATUS_DRAFT", +"ENTITY_STATUS_PAUSED", +"ENTITY_STATUS_SCHEDULED_FOR_DELETION" +], +"enumDescriptions": [ +"Default value when status is not specified or is unknown in this version.", +"The entity is enabled to bid and spend budget.", +"The entity is archived. Bidding and budget spending are disabled. An entity can be deleted after archived. Deleted entities cannot be retrieved.", +"The entity is under draft. Bidding and budget spending are disabled.", +"Bidding and budget spending are paused for the entity.", +"The entity is scheduled for deletion." +], +"type": "string" +}, +"frequencyCap": { +"$ref": "FrequencyCap", +"description": "Required. The frequency capping setting of the insertion order." +}, +"insertionOrderId": { +"description": "Output only. The unique ID of the insertion order. Assigned by the system.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"insertionOrderType": { +"description": "Optional. The type of insertion order. If this field is unspecified in creation, the value defaults to `RTB`.", +"enum": [ +"INSERTION_ORDER_TYPE_UNSPECIFIED", +"RTB", +"OVER_THE_TOP" +], +"enumDescriptions": [ +"Insertion order type is not specified or is unknown.", +"Real-time bidding.", +"Over-the-top." +], +"type": "string" +}, +"integrationDetails": { +"$ref": "IntegrationDetails", +"description": "Optional. Additional integration details of the insertion order." +}, +"kpi": { +"$ref": "Kpi", +"description": "Required. The key performance indicator (KPI) of the insertion order. This is represented as referred to as the \"Goal\" in the Display & Video 360 interface." +}, +"name": { +"description": "Output only. The resource name of the insertion order.", +"readOnly": true, +"type": "string" +}, +"optimizationObjective": { +"description": "Optional. Required. The optimization objective of the insertion order.", +"enum": [ +"OPTIMIZATION_OBJECTIVE_UNSPECIFIED", +"CONVERSION", +"CLICK", +"BRAND_AWARENESS", +"CUSTOM", +"NO_OBJECTIVE" +], +"enumDescriptions": [ +"Type value is not specified or is unknown in this version.", +"Prioritize impressions that increase sales and conversions.", +"Prioritize impressions that increase website traffic, apps, app stores.", +"Prioritize impressions of specific quality.", +"Objective is defined by the assigned custom bidding algorithm.", +"Objective is not defined. Any KPI or bidding strategy can be used." +], +"type": "string" +}, +"pacing": { +"$ref": "Pacing", +"description": "Required. The budget spending speed setting of the insertion order. pacing_type `PACING_TYPE_ASAP` is not compatible with pacing_period `PACING_PERIOD_FLIGHT`." +}, +"partnerCosts": { +"description": "Optional. The partner costs associated with the insertion order. If absent or empty in CreateInsertionOrder method, the newly created insertion order will inherit partner costs from the partner settings.", +"items": { +"$ref": "PartnerCost" +}, +"type": "array" +}, +"reservationType": { +"description": "Output only. The reservation type of the insertion order.", +"enum": [ +"RESERVATION_TYPE_UNSPECIFIED", +"RESERVATION_TYPE_NOT_GUARANTEED", +"RESERVATION_TYPE_PROGRAMMATIC_GUARANTEED", +"RESERVATION_TYPE_TAG_GUARANTEED", +"RESERVATION_TYPE_PETRA_VIRAL", +"RESERVATION_TYPE_INSTANT_RESERVE" +], +"enumDescriptions": [ +"Reservation type value is not specified or is unknown in this version.", +"Not created through a guaranteed inventory source.", +"Created through a programmatic guaranteed inventory source.", +"Created through a tag guaranteed inventory source.", +"Created through a Petra inventory source. Only applicable to YouTube and Partners line items.", +"Created with an instant quote. Only applicable to YouTube and partners line items." +], +"readOnly": true, +"type": "string" +}, +"updateTime": { +"description": "Output only. The timestamp when the insertion order was last updated. Assigned by the system.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"InsertionOrderBudget": { +"description": "Settings that control how insertion order budget is allocated.", +"id": "InsertionOrderBudget", +"properties": { +"automationType": { +"description": "Optional. The type of automation used to manage bid and budget for the insertion order. If this field is unspecified in creation, the value defaults to `INSERTION_ORDER_AUTOMATION_TYPE_NONE`.", +"enum": [ +"INSERTION_ORDER_AUTOMATION_TYPE_UNSPECIFIED", +"INSERTION_ORDER_AUTOMATION_TYPE_BUDGET", +"INSERTION_ORDER_AUTOMATION_TYPE_NONE", +"INSERTION_ORDER_AUTOMATION_TYPE_BID_BUDGET" +], +"enumDescriptions": [ +"Insertion order automation option is not specified or is unknown in this version.", +"Automatic budget allocation. Allow the system to automatically shift budget to owning line items to optimize performance defined by kpi. No automation on bid settings.", +"No automation of bid or budget on insertion order level. Bid and budget must be manually configured at the line item level.", +"Allow the system to automatically adjust bids and shift budget to owning line items to optimize performance defined by kpi." +], +"type": "string" +}, +"budgetSegments": { +"description": "Required. The list of budget segments. Use a budget segment to specify a specific budget for a given period of time an insertion order is running.", +"items": { +"$ref": "InsertionOrderBudgetSegment" +}, +"type": "array" +}, +"budgetUnit": { +"description": "Required. Immutable. The budget unit specifies whether the budget is currency based or impression based.", +"enum": [ +"BUDGET_UNIT_UNSPECIFIED", +"BUDGET_UNIT_CURRENCY", +"BUDGET_UNIT_IMPRESSIONS" +], +"enumDescriptions": [ +"Type value is not specified or is unknown in this version.", +"Budgeting in currency amounts.", +"Budgeting in impression amounts." +], +"type": "string" +} +}, +"type": "object" +}, +"InsertionOrderBudgetSegment": { +"description": "Settings that control the budget of a single budget segment.", +"id": "InsertionOrderBudgetSegment", +"properties": { +"budgetAmountMicros": { +"description": "Required. The budget amount the insertion order will spend for the given date_range. The amount is in micros. Must be greater than 0. For example, 500000000 represents 500 standard units of the currency.", +"format": "int64", +"type": "string" +}, +"campaignBudgetId": { +"description": "Optional. The budget_id of the campaign budget that this insertion order budget segment is a part of.", +"format": "int64", +"type": "string" +}, +"dateRange": { +"$ref": "DateRange", +"description": "Required. The start and end date settings of the budget segment. They are resolved relative to the parent advertiser's time zone. * When creating a new budget segment, both `start_date` and `end_date` must be in the future. * An existing budget segment with a `start_date` in the past has a mutable `end_date` but an immutable `start_date`. * `end_date` must be the `start_date` or later, both before the year 2037." +}, +"description": { +"description": "Optional. The budget segment description. It can be used to enter Purchase Order information for each budget segment and have that information printed on the invoices. Must be UTF-8 encoded.", +"type": "string" +} +}, +"type": "object" +}, +"IntegralAdScience": { +"description": "Details of Integral Ad Science settings.", +"id": "IntegralAdScience", +"properties": { +"customSegmentId": { +"description": "The custom segment ID provided by Integral Ad Science. The ID must be between `1000001` and `1999999` or `3000001` and `3999999`, inclusive.", +"items": { +"format": "int64", +"type": "string" +}, +"type": "array" +}, +"displayViewability": { +"description": "Display Viewability section (applicable to display line items only).", +"enum": [ +"PERFORMANCE_VIEWABILITY_UNSPECIFIED", +"PERFORMANCE_VIEWABILITY_40", +"PERFORMANCE_VIEWABILITY_50", +"PERFORMANCE_VIEWABILITY_60", +"PERFORMANCE_VIEWABILITY_70" +], +"enumDescriptions": [ +"This enum is only a placeholder and it doesn't specify any display viewability options.", +"Target 40% Viewability or Higher.", +"Target 50% Viewability or Higher.", +"Target 60% Viewability or Higher.", +"Target 70% Viewability or Higher." +], +"type": "string" +}, +"excludeUnrateable": { +"description": "Brand Safety - **Unrateable**.", +"type": "boolean" +}, +"excludedAdFraudRisk": { +"description": "Ad Fraud settings.", +"enum": [ +"SUSPICIOUS_ACTIVITY_UNSPECIFIED", +"SUSPICIOUS_ACTIVITY_HR", +"SUSPICIOUS_ACTIVITY_HMR", +"SUSPICIOUS_ACTIVITY_FD" +], +"enumDescriptions": [ +"This enum is only a placeholder and it doesn't specify any ad fraud prevention options.", +"Ad Fraud - Exclude High Risk.", +"Ad Fraud - Exclude High and Moderate Risk.", +"Ad Fraud - Exclude Fraudulent Device." +], +"type": "string" +}, +"excludedAdultRisk": { +"description": "Brand Safety - **Adult content**.", +"enum": [ +"ADULT_UNSPECIFIED", +"ADULT_HR", +"ADULT_HMR" +], +"enumDescriptions": [ +"This enum is only a placeholder and it doesn't specify any adult options.", +"Adult - Exclude High Risk.", +"Adult - Exclude High and Moderate Risk." +], +"type": "string" +}, +"excludedAlcoholRisk": { +"description": "Brand Safety - **Alcohol**.", +"enum": [ +"ALCOHOL_UNSPECIFIED", +"ALCOHOL_HR", +"ALCOHOL_HMR" +], +"enumDescriptions": [ +"This enum is only a placeholder and it doesn't specify any alcohol options.", +"Alcohol - Exclude High Risk.", +"Alcohol - Exclude High and Moderate Risk." +], +"type": "string" +}, +"excludedDrugsRisk": { +"description": "Brand Safety - **Drugs**.", +"enum": [ +"DRUGS_UNSPECIFIED", +"DRUGS_HR", +"DRUGS_HMR" +], +"enumDescriptions": [ +"This enum is only a placeholder and it doesn't specify any drugs options.", +"Drugs - Exclude High Risk.", +"Drugs - Exclude High and Moderate Risk." +], +"type": "string" +}, +"excludedGamblingRisk": { +"description": "Brand Safety - **Gambling**.", +"enum": [ +"GAMBLING_UNSPECIFIED", +"GAMBLING_HR", +"GAMBLING_HMR" +], +"enumDescriptions": [ +"This enum is only a placeholder and it doesn't specify any gambling options.", +"Gambling - Exclude High Risk.", +"Gambling - Exclude High and Moderate Risk." +], +"type": "string" +}, +"excludedHateSpeechRisk": { +"description": "Brand Safety - **Hate speech**.", +"enum": [ +"HATE_SPEECH_UNSPECIFIED", +"HATE_SPEECH_HR", +"HATE_SPEECH_HMR" +], +"enumDescriptions": [ +"This enum is only a placeholder and it doesn't specify any hate speech options.", +"Hate Speech - Exclude High Risk.", +"Hate Speech - Exclude High and Moderate Risk." +], +"type": "string" +}, +"excludedIllegalDownloadsRisk": { +"description": "Brand Safety - **Illegal downloads**.", +"enum": [ +"ILLEGAL_DOWNLOADS_UNSPECIFIED", +"ILLEGAL_DOWNLOADS_HR", +"ILLEGAL_DOWNLOADS_HMR" +], +"enumDescriptions": [ +"This enum is only a placeholder and it doesn't specify any illegal downloads options.", +"Illegal Downloads - Exclude High Risk.", +"Illegal Downloads - Exclude High and Moderate Risk." +], +"type": "string" +}, +"excludedOffensiveLanguageRisk": { +"description": "Brand Safety - **Offensive language**.", +"enum": [ +"OFFENSIVE_LANGUAGE_UNSPECIFIED", +"OFFENSIVE_LANGUAGE_HR", +"OFFENSIVE_LANGUAGE_HMR" +], +"enumDescriptions": [ +"This enum is only a placeholder and it doesn't specify any language options.", +"Offensive Language - Exclude High Risk.", +"Offensive Language - Exclude High and Moderate Risk." +], +"type": "string" +}, +"excludedViolenceRisk": { +"description": "Brand Safety - **Violence**.", +"enum": [ +"VIOLENCE_UNSPECIFIED", +"VIOLENCE_HR", +"VIOLENCE_HMR" +], +"enumDescriptions": [ +"This enum is only a placeholder and it doesn't specify any violence options.", +"Violence - Exclude High Risk.", +"Violence - Exclude High and Moderate Risk." +], +"type": "string" +}, +"qualitySyncCustomSegmentId": { +"description": "Optional. The quality sync custom segment ID provided by Integral Ad Science. The ID must be between `3000000` and `4999999`, inclusive.", +"items": { +"format": "int64", +"type": "string" +}, +"type": "array" +}, +"traqScoreOption": { +"description": "True advertising quality (applicable to Display line items only).", +"enum": [ +"TRAQ_UNSPECIFIED", +"TRAQ_250", +"TRAQ_500", +"TRAQ_600", +"TRAQ_700", +"TRAQ_750", +"TRAQ_875", +"TRAQ_1000" +], +"enumDescriptions": [ +"This enum is only a placeholder and it doesn't specify any true advertising quality scores.", +"TRAQ score 250-1000.", +"TRAQ score 500-1000.", +"TRAQ score 600-1000.", +"TRAQ score 700-1000.", +"TRAQ score 750-1000.", +"TRAQ score 875-1000.", +"TRAQ score 1000." +], +"type": "string" +}, +"videoViewability": { +"description": "Video Viewability Section (applicable to video line items only).", +"enum": [ +"VIDEO_VIEWABILITY_UNSPECIFIED", +"VIDEO_VIEWABILITY_40", +"VIDEO_VIEWABILITY_50", +"VIDEO_VIEWABILITY_60", +"VIDEO_VIEWABILITY_70" +], +"enumDescriptions": [ +"This enum is only a placeholder and it doesn't specify any video viewability options.", +"40%+ in view (IAB video viewability standard).", +"50%+ in view (IAB video viewability standard).", +"60%+ in view (IAB video viewability standard).", +"70%+ in view (IAB video viewability standard)." +], +"type": "string" +} +}, +"type": "object" +}, +"IntegrationDetails": { +"description": "Integration details of an entry.", +"id": "IntegrationDetails", +"properties": { +"details": { +"description": "Additional details of the entry in string format. Must be UTF-8 encoded with a length of no more than 1000 characters.", +"type": "string" +}, +"integrationCode": { +"description": "An external identifier to be associated with the entry. The integration code will show up together with the entry in many places in the system, for example, reporting. Must be UTF-8 encoded with a length of no more than 500 characters.", +"type": "string" +} +}, +"type": "object" +}, +"InventorySource": { +"description": "An inventory source. Next ID: 22", +"id": "InventorySource", +"properties": { +"commitment": { +"description": "Whether the inventory source has a guaranteed or non-guaranteed delivery.", +"enum": [ +"INVENTORY_SOURCE_COMMITMENT_UNSPECIFIED", +"INVENTORY_SOURCE_COMMITMENT_GUARANTEED", +"INVENTORY_SOURCE_COMMITMENT_NON_GUARANTEED" +], +"enumDescriptions": [ +"The commitment is not specified or is unknown in this version.", +"The commitment is guaranteed delivery.", +"The commitment is non-guaranteed delivery." +], +"type": "string" +}, +"creativeConfigs": { +"description": "The creative requirements of the inventory source. Not applicable for auction packages.", +"items": { +"$ref": "CreativeConfig" +}, +"type": "array" +}, +"dealId": { +"description": "The ID in the exchange space that uniquely identifies the inventory source. Must be unique across buyers within each exchange but not necessarily unique across exchanges.", +"type": "string" +}, +"deliveryMethod": { +"description": "The delivery method of the inventory source. * For non-guaranteed inventory sources, the only acceptable value is `INVENTORY_SOURCE_DELIVERY_METHOD_PROGRAMMATIC`. * For guaranteed inventory sources, acceptable values are `INVENTORY_SOURCE_DELIVERY_METHOD_TAG` and `INVENTORY_SOURCE_DELIVERY_METHOD_PROGRAMMATIC`.", +"enum": [ +"INVENTORY_SOURCE_DELIVERY_METHOD_UNSPECIFIED", +"INVENTORY_SOURCE_DELIVERY_METHOD_PROGRAMMATIC", +"INVENTORY_SOURCE_DELIVERY_METHOD_TAG" +], +"enumDescriptions": [ +"The delivery method is not specified or is unknown in this version.", +"The delivery method is programmatic.", +"The delivery method is tag." +], +"type": "string" +}, +"displayName": { +"description": "The display name of the inventory source. Must be UTF-8 encoded with a maximum size of 240 bytes.", +"type": "string" +}, +"exchange": { +"description": "The exchange to which the inventory source belongs.", +"enum": [ +"EXCHANGE_UNSPECIFIED", +"EXCHANGE_GOOGLE_AD_MANAGER", +"EXCHANGE_APPNEXUS", +"EXCHANGE_BRIGHTROLL", +"EXCHANGE_ADFORM", +"EXCHANGE_ADMETA", +"EXCHANGE_ADMIXER", +"EXCHANGE_ADSMOGO", +"EXCHANGE_ADSWIZZ", +"EXCHANGE_BIDSWITCH", +"EXCHANGE_BRIGHTROLL_DISPLAY", +"EXCHANGE_CADREON", +"EXCHANGE_DAILYMOTION", +"EXCHANGE_FIVE", +"EXCHANGE_FLUCT", +"EXCHANGE_FREEWHEEL", +"EXCHANGE_GENIEE", +"EXCHANGE_GUMGUM", +"EXCHANGE_IMOBILE", +"EXCHANGE_IBILLBOARD", +"EXCHANGE_IMPROVE_DIGITAL", +"EXCHANGE_INDEX", +"EXCHANGE_KARGO", +"EXCHANGE_MICROAD", +"EXCHANGE_MOPUB", +"EXCHANGE_NEND", +"EXCHANGE_ONE_BY_AOL_DISPLAY", +"EXCHANGE_ONE_BY_AOL_MOBILE", +"EXCHANGE_ONE_BY_AOL_VIDEO", +"EXCHANGE_OOYALA", +"EXCHANGE_OPENX", +"EXCHANGE_PERMODO", +"EXCHANGE_PLATFORMONE", +"EXCHANGE_PLATFORMID", +"EXCHANGE_PUBMATIC", +"EXCHANGE_PULSEPOINT", +"EXCHANGE_REVENUEMAX", +"EXCHANGE_RUBICON", +"EXCHANGE_SMARTCLIP", +"EXCHANGE_SMARTRTB", +"EXCHANGE_SMARTSTREAMTV", +"EXCHANGE_SOVRN", +"EXCHANGE_SPOTXCHANGE", +"EXCHANGE_STROER", +"EXCHANGE_TEADSTV", +"EXCHANGE_TELARIA", +"EXCHANGE_TVN", +"EXCHANGE_UNITED", +"EXCHANGE_YIELDLAB", +"EXCHANGE_YIELDMO", +"EXCHANGE_UNRULYX", +"EXCHANGE_OPEN8", +"EXCHANGE_TRITON", +"EXCHANGE_TRIPLELIFT", +"EXCHANGE_TABOOLA", +"EXCHANGE_INMOBI", +"EXCHANGE_SMAATO", +"EXCHANGE_AJA", +"EXCHANGE_SUPERSHIP", +"EXCHANGE_NEXSTAR_DIGITAL", +"EXCHANGE_WAZE", +"EXCHANGE_SOUNDCAST", +"EXCHANGE_SHARETHROUGH", +"EXCHANGE_FYBER", +"EXCHANGE_RED_FOR_PUBLISHERS", +"EXCHANGE_MEDIANET", +"EXCHANGE_TAPJOY", +"EXCHANGE_VISTAR", +"EXCHANGE_DAX", +"EXCHANGE_JCD", +"EXCHANGE_PLACE_EXCHANGE", +"EXCHANGE_APPLOVIN", +"EXCHANGE_CONNATIX", +"EXCHANGE_RESET_DIGITAL", +"EXCHANGE_HIVESTACK", +"EXCHANGE_DRAX", +"EXCHANGE_APPLOVIN_GBID", +"EXCHANGE_FYBER_GBID", +"EXCHANGE_UNITY_GBID", +"EXCHANGE_CHARTBOOST_GBID", +"EXCHANGE_ADMOST_GBID", +"EXCHANGE_TOPON_GBID", +"EXCHANGE_NETFLIX", +"EXCHANGE_CORE", +"EXCHANGE_COMMERCE_GRID", +"EXCHANGE_SPOTIFY", +"EXCHANGE_TUBI", +"EXCHANGE_SNAP", +"EXCHANGE_CADENT" +], +"enumDescriptions": [ +"Exchange is not specified or is unknown in this version.", +"Google Ad Manager.", +"AppNexus.", +"BrightRoll Exchange for Video from Yahoo!.", +"Adform.", +"Admeta.", +"Admixer.", +"AdsMogo.", +"AdsWizz.", +"BidSwitch.", +"BrightRoll Exchange for Display from Yahoo!.", +"Cadreon.", +"Dailymotion.", +"Five.", +"Fluct.", +"FreeWheel SSP.", +"Geniee.", +"GumGum.", +"i-mobile.", +"iBILLBOARD.", +"Improve Digital.", +"Index Exchange.", +"Kargo.", +"MicroAd.", +"MoPub.", +"Nend.", +"ONE by AOL: Display Market Place.", +"ONE by AOL: Mobile.", +"ONE by AOL: Video.", +"Ooyala.", +"OpenX.", +"Permodo.", +"Platform One.", +"PlatformId.", +"PubMatic.", +"PulsePoint.", +"RevenueMax.", +"Rubicon.", +"SmartClip.", +"SmartRTB+.", +"SmartstreamTv.", +"Sovrn.", +"SpotXchange.", +"Str\u00f6er SSP.", +"TeadsTv.", +"Telaria.", +"TVN.", +"United.", +"Yieldlab.", +"Yieldmo.", +"UnrulyX.", +"Open8.", +"Triton.", +"TripleLift.", +"Taboola.", +"InMobi.", +"Smaato.", +"Aja.", +"Supership.", +"Nexstar Digital.", +"Waze.", +"SoundCast.", +"Sharethrough.", +"Fyber.", +"Red For Publishers.", +"Media.net.", +"Tapjoy.", +"Vistar.", +"DAX.", +"JCD.", +"Place Exchange.", +"AppLovin.", +"Connatix.", +"Reset Digital.", +"Hivestack.", +"Drax.", +"AppLovin MAX.", +"DT Fairbid.", +"Unity LevelPlay.", +"Chartboost Mediation.", +"AdMost.", +"TopOn.", +"Netflix.", +"Core.", +"Commerce Grid.", +"Spotify.", +"Tubi.", +"Snap.", +"Cadent." +], +"type": "string" +}, +"guaranteedOrderId": { +"description": "Immutable. The ID of the guaranteed order that this inventory source belongs to. Only applicable when commitment is `INVENTORY_SOURCE_COMMITMENT_GUARANTEED`.", +"type": "string" +}, +"inventorySourceId": { +"description": "Output only. The unique ID of the inventory source. Assigned by the system.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"inventorySourceProductType": { +"description": "Output only. The product type of the inventory source, denoting the way through which it sells inventory.", +"enum": [ +"INVENTORY_SOURCE_PRODUCT_TYPE_UNSPECIFIED", +"PREFERRED_DEAL", +"PRIVATE_AUCTION", +"PROGRAMMATIC_GUARANTEED", +"TAG_GUARANTEED", +"YOUTUBE_RESERVE", +"INSTANT_RESERVE", +"GUARANTEED_PACKAGE", +"PROGRAMMATIC_TV", +"AUCTION_PACKAGE" +], +"enumDescriptions": [ +"The product type is not specified or is unknown in this version. Modifying inventory sources of this product type are not supported via API.", +"The inventory source sells inventory through Preferred Deal.", +"The inventory source sells inventory through Private Auction.", +"The inventory source sells inventory through Programmatic Guaranteed.", +"The inventory source sells inventory through Tag Guaranteed.", +"The inventory source sells inventory through YouTube Reserve.", +"The inventory source sells inventory through Instant Reserve. Modifying inventory sources of this product type are not supported via API.", +"The inventory source sells inventory through Guaranteed Package. Modifying inventory sources of this product type are not supported via API.", +"The inventory source sells inventory through Programmtic TV. Modifying inventory sources of this product type are not supported via API.", +"The inventory source sells inventory through Auction Package. Modifying inventory sources of this product type are not supported via API." +], +"readOnly": true, +"type": "string" +}, +"inventorySourceType": { +"description": "Denotes the type of the inventory source.", +"enum": [ +"INVENTORY_SOURCE_TYPE_UNSPECIFIED", +"INVENTORY_SOURCE_TYPE_PRIVATE", +"INVENTORY_SOURCE_TYPE_AUCTION_PACKAGE" +], +"enumDescriptions": [ +"The inventory source type is not specified or is unknown in this version.", +"Private inventory source.", +"Auction package." +], +"type": "string" +}, +"name": { +"description": "Output only. The resource name of the inventory source.", +"readOnly": true, +"type": "string" +}, +"publisherName": { +"description": "The publisher/seller name of the inventory source.", +"type": "string" +}, +"rateDetails": { +"$ref": "RateDetails", +"description": "Required. The rate details of the inventory source." +}, +"readAdvertiserIds": { +"description": "Output only. The IDs of advertisers with read-only access to the inventory source.", +"items": { +"format": "int64", +"type": "string" +}, +"readOnly": true, +"type": "array" +}, +"readPartnerIds": { +"description": "Output only. The IDs of partners with read-only access to the inventory source. All advertisers of partners in this field inherit read-only access to the inventory source.", +"items": { +"format": "int64", +"type": "string" +}, +"readOnly": true, +"type": "array" +}, +"readWriteAccessors": { +"$ref": "InventorySourceAccessors", +"description": "The partner or advertisers that have read/write access to the inventory source. Output only when commitment is `INVENTORY_SOURCE_COMMITMENT_GUARANTEED`, in which case the read/write accessors are inherited from the parent guaranteed order. Required when commitment is `INVENTORY_SOURCE_COMMITMENT_NON_GUARANTEED`. If commitment is `INVENTORY_SOURCE_COMMITMENT_NON_GUARANTEED` and a partner is set in this field, all advertisers under this partner will automatically have read-only access to the inventory source. These advertisers will not be included in read_advertiser_ids." +}, +"status": { +"$ref": "InventorySourceStatus", +"description": "The status settings of the inventory source." +}, +"timeRange": { +"$ref": "TimeRange", +"description": "The time range when this inventory source starts and stops serving." +}, +"updateTime": { +"description": "Output only. The timestamp when the inventory source was last updated. Assigned by the system.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"InventorySourceAccessors": { +"description": "The partner or advertisers with access to the inventory source.", +"id": "InventorySourceAccessors", +"properties": { +"advertisers": { +"$ref": "InventorySourceAccessorsAdvertiserAccessors", +"description": "The advertisers with access to the inventory source. All advertisers must belong to the same partner." +}, +"partner": { +"$ref": "InventorySourceAccessorsPartnerAccessor", +"description": "The partner with access to the inventory source." +} +}, +"type": "object" +}, +"InventorySourceAccessorsAdvertiserAccessors": { +"description": "The advertisers with access to the inventory source.", +"id": "InventorySourceAccessorsAdvertiserAccessors", +"properties": { +"advertiserIds": { +"description": "The IDs of the advertisers.", +"items": { +"format": "int64", +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"InventorySourceAccessorsPartnerAccessor": { +"description": "The partner with access to the inventory source.", +"id": "InventorySourceAccessorsPartnerAccessor", +"properties": { +"partnerId": { +"description": "The ID of the partner.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"InventorySourceAssignedTargetingOptionDetails": { +"description": "Targeting details for inventory source. This will be populated in the details field of an AssignedTargetingOption when targeting_type is `TARGETING_TYPE_INVENTORY_SOURCE`.", +"id": "InventorySourceAssignedTargetingOptionDetails", +"properties": { +"inventorySourceId": { +"description": "Required. ID of the inventory source. Should refer to the inventory_source_id field of an InventorySource resource.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"InventorySourceDisplayCreativeConfig": { +"description": "The configuration for display creatives.", +"id": "InventorySourceDisplayCreativeConfig", +"properties": { +"creativeSize": { +"$ref": "Dimensions", +"description": "The size requirements for display creatives that can be assigned to the inventory source." +} +}, +"type": "object" +}, +"InventorySourceFilter": { +"description": "A filtering option for filtering on Inventory Source entities.", +"id": "InventorySourceFilter", +"properties": { +"inventorySourceIds": { +"description": "Inventory Sources to download by ID. All IDs must belong to the same Advertiser or Partner specified in CreateSdfDownloadTaskRequest. Leave empty to download all Inventory Sources for the selected Advertiser or Partner.", +"items": { +"format": "int64", +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"InventorySourceGroup": { +"description": "A collection of targetable inventory sources.", +"id": "InventorySourceGroup", +"properties": { +"displayName": { +"description": "Required. The display name of the inventory source group. Must be UTF-8 encoded with a maximum size of 240 bytes.", +"type": "string" +}, +"inventorySourceGroupId": { +"description": "Output only. The unique ID of the inventory source group. Assigned by the system.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"name": { +"description": "Output only. The resource name of the inventory source group.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"InventorySourceGroupAssignedTargetingOptionDetails": { +"description": "Targeting details for inventory source group. This will be populated in the details field of an AssignedTargetingOption when targeting_type is `TARGETING_TYPE_INVENTORY_SOURCE_GROUP`.", +"id": "InventorySourceGroupAssignedTargetingOptionDetails", +"properties": { +"inventorySourceGroupId": { +"description": "Required. ID of the inventory source group. Should refer to the inventory_source_group_id field of an InventorySourceGroup resource.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"InventorySourceStatus": { +"description": "The status related settings of the inventory source.", +"id": "InventorySourceStatus", +"properties": { +"configStatus": { +"description": "Output only. The configuration status of the inventory source. Only applicable for guaranteed inventory sources. Acceptable values are `INVENTORY_SOURCE_CONFIG_STATUS_PENDING` and `INVENTORY_SOURCE_CONFIG_STATUS_COMPLETED`. An inventory source must be configured (fill in the required fields, choose creatives, and select a default campaign) before it can serve.", +"enum": [ +"INVENTORY_SOURCE_CONFIG_STATUS_UNSPECIFIED", +"INVENTORY_SOURCE_CONFIG_STATUS_PENDING", +"INVENTORY_SOURCE_CONFIG_STATUS_COMPLETED" +], +"enumDescriptions": [ +"The approval status is not specified or is unknown in this version.", +"The beginning state of a guaranteed inventory source. The inventory source in this state needs to be configured.", +"The state after the buyer configures a guaranteed inventory source." +], +"readOnly": true, +"type": "string" +}, +"entityPauseReason": { +"description": "The user-provided reason for pausing this inventory source. Must not exceed 100 characters. Only applicable when entity_status is set to `ENTITY_STATUS_PAUSED`.", +"type": "string" +}, +"entityStatus": { +"description": "Whether or not the inventory source is servable. Acceptable values are `ENTITY_STATUS_ACTIVE`, `ENTITY_STATUS_ARCHIVED`, and `ENTITY_STATUS_PAUSED`. Default value is `ENTITY_STATUS_ACTIVE`.", +"enum": [ +"ENTITY_STATUS_UNSPECIFIED", +"ENTITY_STATUS_ACTIVE", +"ENTITY_STATUS_ARCHIVED", +"ENTITY_STATUS_DRAFT", +"ENTITY_STATUS_PAUSED", +"ENTITY_STATUS_SCHEDULED_FOR_DELETION" +], +"enumDescriptions": [ +"Default value when status is not specified or is unknown in this version.", +"The entity is enabled to bid and spend budget.", +"The entity is archived. Bidding and budget spending are disabled. An entity can be deleted after archived. Deleted entities cannot be retrieved.", +"The entity is under draft. Bidding and budget spending are disabled.", +"Bidding and budget spending are paused for the entity.", +"The entity is scheduled for deletion." +], +"type": "string" +}, +"sellerPauseReason": { +"description": "Output only. The seller-provided reason for pausing this inventory source. Only applicable for inventory sources synced directly from the publishers and when seller_status is set to `ENTITY_STATUS_PAUSED`.", +"readOnly": true, +"type": "string" +}, +"sellerStatus": { +"description": "Output only. The status set by the seller for the inventory source. Only applicable for inventory sources synced directly from the publishers. Acceptable values are `ENTITY_STATUS_ACTIVE` and `ENTITY_STATUS_PAUSED`.", +"enum": [ +"ENTITY_STATUS_UNSPECIFIED", +"ENTITY_STATUS_ACTIVE", +"ENTITY_STATUS_ARCHIVED", +"ENTITY_STATUS_DRAFT", +"ENTITY_STATUS_PAUSED", +"ENTITY_STATUS_SCHEDULED_FOR_DELETION" +], +"enumDescriptions": [ +"Default value when status is not specified or is unknown in this version.", +"The entity is enabled to bid and spend budget.", +"The entity is archived. Bidding and budget spending are disabled. An entity can be deleted after archived. Deleted entities cannot be retrieved.", +"The entity is under draft. Bidding and budget spending are disabled.", +"Bidding and budget spending are paused for the entity.", +"The entity is scheduled for deletion." +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"InventorySourceVideoCreativeConfig": { +"description": "The configuration for video creatives.", +"id": "InventorySourceVideoCreativeConfig", +"properties": { +"duration": { +"description": "The duration requirements for the video creatives that can be assigned to the inventory source.", +"format": "google-duration", +"type": "string" +} +}, +"type": "object" +}, +"Invoice": { +"description": "A single invoice.", +"id": "Invoice", +"properties": { +"budgetInvoiceGroupingId": { +"description": "The budget grouping ID for this invoice. This field will only be set if the invoice level of the corresponding billing profile was set to \"Budget invoice grouping ID\".", +"type": "string" +}, +"budgetSummaries": { +"description": "The list of summarized information for each budget associated with this invoice. This field will only be set if the invoice detail level of the corresponding billing profile was set to \"Budget level PO\".", +"items": { +"$ref": "BudgetSummary" +}, +"type": "array" +}, +"correctedInvoiceId": { +"description": "The ID of the original invoice being adjusted by this invoice, if applicable. May appear on the invoice PDF as `Reference invoice number`. If replaced_invoice_ids is set, this field will be empty.", +"type": "string" +}, +"currencyCode": { +"description": "The currency used in the invoice in ISO 4217 format.", +"type": "string" +}, +"displayName": { +"description": "The display name of the invoice.", +"type": "string" +}, +"dueDate": { +"$ref": "Date", +"description": "The date when the invoice is due." +}, +"invoiceId": { +"description": "The unique ID of the invoice.", +"type": "string" +}, +"invoiceType": { +"description": "The type of invoice document.", +"enum": [ +"INVOICE_TYPE_UNSPECIFIED", +"INVOICE_TYPE_CREDIT", +"INVOICE_TYPE_INVOICE" +], +"enumDescriptions": [ +"Not specified or is unknown in this version.", +"The invoice has a negative amount.", +"The invoice has a positive amount." +], +"type": "string" +}, +"issueDate": { +"$ref": "Date", +"description": "The date when the invoice was issued." +}, +"name": { +"description": "The resource name of the invoice.", +"type": "string" +}, +"nonBudgetMicros": { +"description": "The total amount of costs or adjustments not tied to a particular budget, in micros of the invoice's currency. For example, if currency_code is `USD`, then 1000000 represents one US dollar.", +"format": "int64", +"type": "string" +}, +"paymentsAccountId": { +"description": "The ID of the payments account the invoice belongs to. Appears on the invoice PDF as `Billing Account Number`.", +"type": "string" +}, +"paymentsProfileId": { +"description": "The ID of the payments profile the invoice belongs to. Appears on the invoice PDF as `Billing ID`.", +"type": "string" +}, +"pdfUrl": { +"description": "The URL to download a PDF copy of the invoice. This URL is user specific and requires a valid OAuth 2.0 access token to access. The access token must be provided in an `Authorization: Bearer` HTTP header and be authorized for one of the following scopes: * `https://www.googleapis.com/auth/display-video-mediaplanning` * `https://www.googleapis.com/auth/display-video` The URL will be valid for 7 days after retrieval of this invoice object or until this invoice is retrieved again.", +"type": "string" +}, +"purchaseOrderNumber": { +"description": "Purchase order number associated with the invoice.", +"type": "string" +}, +"replacedInvoiceIds": { +"description": "The ID(s) of any originally issued invoice that is being cancelled by this invoice, if applicable. Multiple invoices may be listed if those invoices are being consolidated into a single invoice. May appear on invoice PDF as `Replaced invoice numbers`. If corrected_invoice_id is set, this field will be empty.", +"items": { +"type": "string" +}, +"type": "array" +}, +"serviceDateRange": { +"$ref": "DateRange", +"description": "The service start and end dates which are covered by this invoice." +}, +"subtotalAmountMicros": { +"description": "The pre-tax subtotal amount, in micros of the invoice's currency. For example, if currency_code is `USD`, then 1000000 represents one US dollar.", +"format": "int64", +"type": "string" +}, +"totalAmountMicros": { +"description": "The invoice total amount, in micros of the invoice's currency. For example, if currency_code is `USD`, then 1000000 represents one US dollar.", +"format": "int64", +"type": "string" +}, +"totalTaxAmountMicros": { +"description": "The sum of all taxes in invoice, in micros of the invoice's currency. For example, if currency_code is `USD`, then 1000000 represents one US dollar.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"KeywordAssignedTargetingOptionDetails": { +"description": "Details for assigned keyword targeting option. This will be populated in the details field of an AssignedTargetingOption when targeting_type is `TARGETING_TYPE_KEYWORD`.", +"id": "KeywordAssignedTargetingOptionDetails", +"properties": { +"keyword": { +"description": "Required. The keyword, for example `car insurance`. Positive keyword cannot be offensive word. Must be UTF-8 encoded with a maximum size of 255 bytes. Maximum number of characters is 80. Maximum number of words is 10.", +"type": "string" +}, +"negative": { +"description": "Indicates if this option is being negatively targeted.", +"type": "boolean" +} +}, +"type": "object" +}, +"Kpi": { +"description": "Settings that control the key performance indicator, or KPI, of an insertion order.", +"id": "Kpi", +"properties": { +"kpiAlgorithmId": { +"description": "Optional. Custom Bidding Algorithm ID associated with KPI_CUSTOM_IMPRESSION_VALUE_OVER_COST. This field is ignored if the proper KPI is not selected.", +"format": "int64", +"type": "string" +}, +"kpiAmountMicros": { +"description": "The goal amount, in micros of the advertiser's currency. Applicable when kpi_type is one of: * `KPI_TYPE_CPM` * `KPI_TYPE_CPC` * `KPI_TYPE_CPA` * `KPI_TYPE_CPIAVC` * `KPI_TYPE_VCPM` For example: 1500000 represents 1.5 standard units of the currency.", +"format": "int64", +"type": "string" +}, +"kpiPercentageMicros": { +"description": "The decimal representation of the goal percentage in micros. Applicable when kpi_type is one of: * `KPI_TYPE_CTR` * `KPI_TYPE_VIEWABILITY` * `KPI_TYPE_CLICK_CVR` * `KPI_TYPE_IMPRESSION_CVR` * `KPI_TYPE_VTR` * `KPI_TYPE_AUDIO_COMPLETION_RATE` * `KPI_TYPE_VIDEO_COMPLETION_RATE` For example: 70000 represents 7% (decimal 0.07).", +"format": "int64", +"type": "string" +}, +"kpiString": { +"description": "A KPI string, which can be empty. Must be UTF-8 encoded with a length of no more than 100 characters. Applicable when kpi_type is `KPI_TYPE_OTHER`.", +"type": "string" +}, +"kpiType": { +"description": "Required. The type of KPI.", +"enum": [ +"KPI_TYPE_UNSPECIFIED", +"KPI_TYPE_CPM", +"KPI_TYPE_CPC", +"KPI_TYPE_CPA", +"KPI_TYPE_CTR", +"KPI_TYPE_VIEWABILITY", +"KPI_TYPE_CPIAVC", +"KPI_TYPE_CPE", +"KPI_TYPE_CPV", +"KPI_TYPE_CLICK_CVR", +"KPI_TYPE_IMPRESSION_CVR", +"KPI_TYPE_VCPM", +"KPI_TYPE_VTR", +"KPI_TYPE_AUDIO_COMPLETION_RATE", +"KPI_TYPE_VIDEO_COMPLETION_RATE", +"KPI_TYPE_CPCL", +"KPI_TYPE_CPCV", +"KPI_TYPE_TOS10", +"KPI_TYPE_MAXIMIZE_PACING", +"KPI_TYPE_CUSTOM_IMPRESSION_VALUE_OVER_COST", +"KPI_TYPE_OTHER" +], +"enumDescriptions": [ +"KPI type is not specified or is unknown in this version.", +"The KPI is CPM (cost per mille).", +"The KPI is CPC (cost per click).", +"The KPI is CPA (cost per action).", +"The KPI is CTR (click-through rate) percentage.", +"The KPI is Viewability percentage.", +"The KPI is CPIAVC (cost per impression audible and visible at completion).", +"The KPI is CPE (cost per engagement).", +"The KPI is set in CPV (cost per view).", +"The KPI is click conversion rate (conversions per click) percentage.", +"The KPI is impression conversion rate (conversions per impression) percentage.", +"The KPI is VCPM (cost per thousand viewable impressions).", +"The KPI is YouTube view rate (YouTube views per impression) percentage.", +"The KPI is audio completion rate (complete audio listens per impression) percentage.", +"The KPI is video completion rate (complete video views per impression) percentage.", +"The KPI is set in CPCL (cost per complete audio listen).", +"The KPI is set in CPCV (cost per complete video view).", +"The KPI is set in rate of time on screen 10+ seconds (Percentage of measurable, non-skippable impressions that were on the screen for at least 10 seconds).", +"The KPI is set to maximize brand impact while prioritizing spending the full budget.", +"The KPI is set in custom impression value divided by cost.", +"The KPI is some other value." +], +"type": "string" +} +}, +"type": "object" +}, +"LanguageAssignedTargetingOptionDetails": { +"description": "Details for assigned language targeting option. This will be populated in the details field of an AssignedTargetingOption when targeting_type is `TARGETING_TYPE_LANGUAGE`.", +"id": "LanguageAssignedTargetingOptionDetails", +"properties": { +"displayName": { +"description": "Output only. The display name of the language (e.g., \"French\").", +"readOnly": true, +"type": "string" +}, +"negative": { +"description": "Indicates if this option is being negatively targeted. All assigned language targeting options on the same resource must have the same value for this field.", +"type": "boolean" +}, +"targetingOptionId": { +"description": "Required. The targeting_option_id of a TargetingOption of type `TARGETING_TYPE_LANGUAGE`.", +"type": "string" +} +}, +"type": "object" +}, +"LanguageTargetingOptionDetails": { +"description": "Represents a targetable language. This will be populated in the language_details field when targeting_type is `TARGETING_TYPE_LANGUAGE`.", +"id": "LanguageTargetingOptionDetails", +"properties": { +"displayName": { +"description": "Output only. The display name of the language (e.g., \"French\").", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"LineItem": { +"description": "A single line item.", +"id": "LineItem", +"properties": { +"advertiserId": { +"description": "Output only. The unique ID of the advertiser the line item belongs to.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"bidStrategy": { +"$ref": "BiddingStrategy", +"description": "Required. The bidding strategy of the line item." +}, +"budget": { +"$ref": "LineItemBudget", +"description": "Required. The budget allocation setting of the line item." +}, +"campaignId": { +"description": "Output only. The unique ID of the campaign that the line item belongs to.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"containsEuPoliticalAds": { +"description": "Whether this line item will serve European Union political ads. If contains_eu_political_ads has been set to `DOES_NOT_CONTAIN_EU_POLITICAL_ADVERTISING` in the parent advertiser, then this field will be assigned `DOES_NOT_CONTAIN_EU_POLITICAL_ADVERTISING` if not otherwise specified. This field can then be updated using the UI, API, or Structured Data Files. This field must be assigned when creating a new line item. Otherwise, **the `advertisers.lineItems.create` request will fail**.", +"enum": [ +"EU_POLITICAL_ADVERTISING_STATUS_UNKNOWN", +"CONTAINS_EU_POLITICAL_ADVERTISING", +"DOES_NOT_CONTAIN_EU_POLITICAL_ADVERTISING" +], +"enumDescriptions": [ +"Unknown.", +"Contains EU political advertising.", +"Does not contain EU political advertising." +], +"type": "string" +}, +"conversionCounting": { +"$ref": "ConversionCountingConfig", +"description": "The conversion tracking setting of the line item." +}, +"creativeIds": { +"description": "The IDs of the creatives associated with the line item.", +"items": { +"format": "int64", +"type": "string" +}, +"type": "array" +}, +"displayName": { +"description": "Required. The display name of the line item. Must be UTF-8 encoded with a maximum size of 240 bytes.", +"type": "string" +}, +"entityStatus": { +"description": "Required. Controls whether or not the line item can spend its budget and bid on inventory. * For CreateLineItem method, only `ENTITY_STATUS_DRAFT` is allowed. To activate a line item, use UpdateLineItem method and update the status to `ENTITY_STATUS_ACTIVE` after creation. * A line item cannot be changed back to `ENTITY_STATUS_DRAFT` status from any other status. * If the line item's parent insertion order is not active, the line item can't spend its budget even if its own status is `ENTITY_STATUS_ACTIVE`.", +"enum": [ +"ENTITY_STATUS_UNSPECIFIED", +"ENTITY_STATUS_ACTIVE", +"ENTITY_STATUS_ARCHIVED", +"ENTITY_STATUS_DRAFT", +"ENTITY_STATUS_PAUSED", +"ENTITY_STATUS_SCHEDULED_FOR_DELETION" +], +"enumDescriptions": [ +"Default value when status is not specified or is unknown in this version.", +"The entity is enabled to bid and spend budget.", +"The entity is archived. Bidding and budget spending are disabled. An entity can be deleted after archived. Deleted entities cannot be retrieved.", +"The entity is under draft. Bidding and budget spending are disabled.", +"Bidding and budget spending are paused for the entity.", +"The entity is scheduled for deletion." +], +"type": "string" +}, +"excludeNewExchanges": { +"description": "Whether to exclude new exchanges from automatically being targeted by the line item. This field is false by default.", +"type": "boolean" +}, +"flight": { +"$ref": "LineItemFlight", +"description": "Required. The start and end time of the line item's flight." +}, +"frequencyCap": { +"$ref": "FrequencyCap", +"description": "Required. The impression frequency cap settings of the line item. The max_impressions field in this settings object must be used if assigning a limited cap." +}, +"insertionOrderId": { +"description": "Required. Immutable. The unique ID of the insertion order that the line item belongs to.", +"format": "int64", +"type": "string" +}, +"integrationDetails": { +"$ref": "IntegrationDetails", +"description": "Integration details of the line item." +}, +"lineItemId": { +"description": "Output only. The unique ID of the line item. Assigned by the system.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"lineItemType": { +"description": "Required. Immutable. The type of the line item.", +"enum": [ +"LINE_ITEM_TYPE_UNSPECIFIED", +"LINE_ITEM_TYPE_DISPLAY_DEFAULT", +"LINE_ITEM_TYPE_DISPLAY_MOBILE_APP_INSTALL", +"LINE_ITEM_TYPE_VIDEO_DEFAULT", +"LINE_ITEM_TYPE_VIDEO_MOBILE_APP_INSTALL", +"LINE_ITEM_TYPE_DISPLAY_MOBILE_APP_INVENTORY", +"LINE_ITEM_TYPE_VIDEO_MOBILE_APP_INVENTORY", +"LINE_ITEM_TYPE_AUDIO_DEFAULT", +"LINE_ITEM_TYPE_VIDEO_OVER_THE_TOP", +"LINE_ITEM_TYPE_YOUTUBE_AND_PARTNERS_ACTION", +"LINE_ITEM_TYPE_YOUTUBE_AND_PARTNERS_NON_SKIPPABLE", +"LINE_ITEM_TYPE_YOUTUBE_AND_PARTNERS_VIDEO_SEQUENCE", +"LINE_ITEM_TYPE_YOUTUBE_AND_PARTNERS_AUDIO", +"LINE_ITEM_TYPE_YOUTUBE_AND_PARTNERS_REACH", +"LINE_ITEM_TYPE_YOUTUBE_AND_PARTNERS_SIMPLE", +"LINE_ITEM_TYPE_YOUTUBE_AND_PARTNERS_NON_SKIPPABLE_OVER_THE_TOP", +"LINE_ITEM_TYPE_YOUTUBE_AND_PARTNERS_REACH_OVER_THE_TOP", +"LINE_ITEM_TYPE_YOUTUBE_AND_PARTNERS_SIMPLE_OVER_THE_TOP", +"LINE_ITEM_TYPE_YOUTUBE_AND_PARTNERS_TARGET_FREQUENCY", +"LINE_ITEM_TYPE_YOUTUBE_AND_PARTNERS_VIEW", +"LINE_ITEM_TYPE_DISPLAY_OUT_OF_HOME", +"LINE_ITEM_TYPE_VIDEO_OUT_OF_HOME" +], +"enumDescriptions": [ +"Type value is not specified or is unknown in this version. Line items of this type and their targeting cannot be created or updated using the API.", +"Image, HTML5, native, or rich media ads.", +"Display ads that drive installs of an app.", +"Video ads sold on a CPM basis for a variety of environments.", +"Video ads that drive installs of an app.", +"Display ads served on mobile app inventory. Line items of this type and their targeting cannot be created or updated using the API.", +"Video ads served on mobile app inventory. Line items of this type and their targeting cannot be created or updated using the API.", +"RTB Audio ads sold for a variety of environments.", +"Over-the-top ads present in OTT insertion orders. This type is only applicable to line items with an insertion order of insertion_order_type `OVER_THE_TOP`.", +"YouTube video ads that promote conversions. Line items of this type and their targeting cannot be created or updated using the API.", +"YouTube video ads (up to 15 seconds) that cannot be skipped. Line items of this type and their targeting cannot be created or updated using the API.", +"YouTube video ads that show a story in a particular sequence using a mix of formats. Line items of this type and their targeting cannot be created or updated using the API.", +"YouTube audio ads. Line items of this type and their targeting cannot be created or updated using the API.", +"YouTube video ads that optimize reaching more unique users at lower cost. May include bumper ads, skippable in-stream ads, or a mix of types. Line items of this type and their targeting cannot be created or updated using the API.", +"Default YouTube video ads. Line items of this type and their targeting cannot be created or updated using the API.", +"Connected TV youTube video ads (up to 15 seconds) that cannot be skipped. Line items of this type and their targeting cannot be created or updated using the API.", +"Connected TV youTube video ads that optimize reaching more unique users at lower cost. May include bumper ads, skippable in-stream ads, or a mix of types. Line items of this type and their targeting cannot be created or updated using the API.", +"Connected TV default YouTube video ads. Only include in-stream ad-format. Line items of this type and their targeting cannot be created or updated using the API.", +"The goal of this line item type is to show the YouTube ads target number of times to the same person in a certain period of time. Line items of this type and their targeting cannot be created or updated using the API.", +"YouTube video ads that aim to get more views with a variety of ad formats. Line items of this type and their targeting cannot be created or updated using the API.", +"Display ads served on digital-out-of-home inventory. Line items of this type and their targeting cannot be created or updated using the API.", +"Video ads served on digital-out-of-home inventory. Line items of this type and their targeting cannot be created or updated using the API." +], +"type": "string" +}, +"mobileApp": { +"$ref": "MobileApp", +"description": "The mobile app promoted by the line item. This is applicable only when line_item_type is either `LINE_ITEM_TYPE_DISPLAY_MOBILE_APP_INSTALL` or `LINE_ITEM_TYPE_VIDEO_MOBILE_APP_INSTALL`." +}, +"name": { +"description": "Output only. The resource name of the line item.", +"readOnly": true, +"type": "string" +}, +"pacing": { +"$ref": "Pacing", +"description": "Required. The budget spending speed setting of the line item." +}, +"partnerCosts": { +"description": "The partner costs associated with the line item. If absent or empty in CreateLineItem method, the newly created line item will inherit partner costs from its parent insertion order.", +"items": { +"$ref": "PartnerCost" +}, +"type": "array" +}, +"partnerRevenueModel": { +"$ref": "PartnerRevenueModel", +"description": "Required. The partner revenue model setting of the line item." +}, +"reservationType": { +"description": "Output only. The reservation type of the line item.", +"enum": [ +"RESERVATION_TYPE_UNSPECIFIED", +"RESERVATION_TYPE_NOT_GUARANTEED", +"RESERVATION_TYPE_PROGRAMMATIC_GUARANTEED", +"RESERVATION_TYPE_TAG_GUARANTEED", +"RESERVATION_TYPE_PETRA_VIRAL", +"RESERVATION_TYPE_INSTANT_RESERVE" +], +"enumDescriptions": [ +"Reservation type value is not specified or is unknown in this version.", +"Not created through a guaranteed inventory source.", +"Created through a programmatic guaranteed inventory source.", +"Created through a tag guaranteed inventory source.", +"Created through a Petra inventory source. Only applicable to YouTube and Partners line items.", +"Created with an instant quote. Only applicable to YouTube and partners line items." +], +"readOnly": true, +"type": "string" +}, +"targetingExpansion": { +"$ref": "TargetingExpansionConfig", +"description": "The [optimized targeting](//support.google.com/displayvideo/answer/12060859) settings of the line item. This config is only applicable for display, video, or audio line items that use automated bidding and positively target eligible audience lists." +}, +"updateTime": { +"description": "Output only. The timestamp when the line item was last updated. Assigned by the system.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"warningMessages": { +"description": "Output only. The warning messages generated by the line item. These warnings do not block saving the line item, but some may block the line item from running.", +"items": { +"enum": [ +"LINE_ITEM_WARNING_MESSAGE_UNSPECIFIED", +"INVALID_FLIGHT_DATES", +"EXPIRED", +"PENDING_FLIGHT", +"ALL_PARTNER_ENABLED_EXCHANGES_NEGATIVELY_TARGETED", +"INVALID_INVENTORY_SOURCE", +"APP_INVENTORY_INVALID_SITE_TARGETING", +"APP_INVENTORY_INVALID_AUDIENCE_LISTS", +"NO_VALID_CREATIVE", +"PARENT_INSERTION_ORDER_PAUSED", +"PARENT_INSERTION_ORDER_EXPIRED" +], +"enumDescriptions": [ +"Not specified or is unknown.", +"This line item has invalid flight dates. The line item will not run.", +"This line item's end date is in the past.", +"This line item will begin running in the future.", +"All partner enabled exchanges are negatively targeted. The line item will not run.", +"No active inventory sources are being targeted. The line item will not run.", +"This line item's Apps & URLs targeting doesn't include any mobile apps. This line item's type requires you to include mobile apps in your channel, sitelist, or apps targeting. The line item will not run.", +"This line item isn't targeting any mobile users. This line item's type requires you to target a user list with mobile users. The line item will not run.", +"This line item does not contain any valid creative. The line item will not run.", +"The insertion order of this line item is paused. The line item will not run.", +"The insertion order of this line item has its end date set in the past. The line item will not run." +], +"type": "string" +}, +"readOnly": true, +"type": "array" +}, +"youtubeAndPartnersSettings": { +"$ref": "YoutubeAndPartnersSettings", +"description": "Output only. Settings specific to YouTube and Partners line items.", +"readOnly": true +} +}, +"type": "object" +}, +"LineItemAssignedTargetingOption": { +"description": "Wrapper object associating an assigned_targeting_option resource and the line item it is assigned to.", +"id": "LineItemAssignedTargetingOption", +"properties": { +"assignedTargetingOption": { +"$ref": "AssignedTargetingOption", +"description": "The assigned targeting option resource." +}, +"lineItemId": { +"description": "The ID of the line item the assigned targeting option is assigned to.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"LineItemBudget": { +"description": "Settings that control how budget is allocated.", +"id": "LineItemBudget", +"properties": { +"budgetAllocationType": { +"description": "Required. The type of the budget allocation. `LINE_ITEM_BUDGET_ALLOCATION_TYPE_AUTOMATIC` is only applicable when automatic budget allocation is enabled for the parent insertion order.", +"enum": [ +"LINE_ITEM_BUDGET_ALLOCATION_TYPE_UNSPECIFIED", +"LINE_ITEM_BUDGET_ALLOCATION_TYPE_AUTOMATIC", +"LINE_ITEM_BUDGET_ALLOCATION_TYPE_FIXED", +"LINE_ITEM_BUDGET_ALLOCATION_TYPE_UNLIMITED" +], +"enumDescriptions": [ +"Type value is not specified or is unknown in this version.", +"Automatic budget allocation is enabled for the line item.", +"A fixed max budget amount is allocated for the line item.", +"No budget limit is applied to the line item." +], +"type": "string" +}, +"budgetUnit": { +"description": "Output only. The budget unit specifies whether the budget is currency based or impression based. This value is inherited from the parent insertion order.", +"enum": [ +"BUDGET_UNIT_UNSPECIFIED", +"BUDGET_UNIT_CURRENCY", +"BUDGET_UNIT_IMPRESSIONS" +], +"enumDescriptions": [ +"Type value is not specified or is unknown in this version.", +"Budgeting in currency amounts.", +"Budgeting in impression amounts." +], +"readOnly": true, +"type": "string" +}, +"maxAmount": { +"description": "The maximum budget amount the line item will spend. Must be greater than 0. When budget_allocation_type is: * `LINE_ITEM_BUDGET_ALLOCATION_TYPE_AUTOMATIC`, this field is immutable and is set by the system. * `LINE_ITEM_BUDGET_ALLOCATION_TYPE_FIXED`, if budget_unit is: - `BUDGET_UNIT_CURRENCY`, this field represents maximum budget amount to spend, in micros of the advertiser's currency. For example, 1500000 represents 1.5 standard units of the currency. - `BUDGET_UNIT_IMPRESSIONS`, this field represents the maximum number of impressions to serve. * `LINE_ITEM_BUDGET_ALLOCATION_TYPE_UNLIMITED`, this field is not applicable and will be ignored by the system.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"LineItemFlight": { +"description": "Settings that control the active duration of a line item.", +"id": "LineItemFlight", +"properties": { +"dateRange": { +"$ref": "DateRange", +"description": "The flight start and end dates of the line item. They are resolved relative to the parent advertiser's time zone. * Required when flight_date_type is `LINE_ITEM_FLIGHT_DATE_TYPE_CUSTOM`. Output only otherwise. * When creating a new flight, both `start_date` and `end_date` must be in the future. * An existing flight with a `start_date` in the past has a mutable `end_date` but an immutable `start_date`. * `end_date` must be the `start_date` or later, both before the year 2037." +}, +"flightDateType": { +"description": "Required. The type of the line item's flight dates.", +"enum": [ +"LINE_ITEM_FLIGHT_DATE_TYPE_UNSPECIFIED", +"LINE_ITEM_FLIGHT_DATE_TYPE_INHERITED", +"LINE_ITEM_FLIGHT_DATE_TYPE_CUSTOM" +], +"enumDescriptions": [ +"Type value is not specified or is unknown in this version.", +"The line item's flight dates are inherited from its parent insertion order.", +"The line item uses its own custom flight dates." +], +"type": "string" +} +}, +"type": "object" +}, +"ListAdAssetsResponse": { +"description": "A response message for ListAdAssets.", +"id": "ListAdAssetsResponse", +"properties": { +"adAssets": { +"description": "The list of ad assets. The list will only contain assets of AdAssetType `AD_ASSET_TYPE_YOUTUBE_VIDEO`. This list will be absent if empty.", +"items": { +"$ref": "AdAsset" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A token to retrieve the next page of results. Pass this value in the page_token field in the subsequent call to `ListAdAssets` method to retrieve the next page of results.", +"type": "string" +} +}, +"type": "object" +}, +"ListAdGroupAdsResponse": { +"id": "ListAdGroupAdsResponse", +"properties": { +"adGroupAds": { +"description": "The list of ads. This list will be absent if empty.", +"items": { +"$ref": "AdGroupAd" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A token to retrieve the next page of results. Pass this value in the page_token field in the subsequent call to `ListAdGroupAds` method to retrieve the next page of results.", +"type": "string" +} +}, +"type": "object" +}, +"ListAdGroupAssignedTargetingOptionsResponse": { +"description": "Response message for ListAdGroupAssignedTargetingOptions.", +"id": "ListAdGroupAssignedTargetingOptionsResponse", +"properties": { +"assignedTargetingOptions": { +"description": "The list of assigned targeting options. This list will be absent if empty.", +"items": { +"$ref": "AssignedTargetingOption" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A token identifying the next page of results. This value should be specified as the pageToken in a subsequent ListAdGroupAssignedTargetingOptionsRequest to fetch the next page of results. This token will be absent if there are no more AssignedTargetingOption resources to return.", +"type": "string" +} +}, +"type": "object" +}, +"ListAdGroupsResponse": { +"id": "ListAdGroupsResponse", +"properties": { +"adGroups": { +"description": "The list of ad groups. This list will be absent if empty.", +"items": { +"$ref": "AdGroup" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A token to retrieve the next page of results. Pass this value in the page_token field in the subsequent call to `ListAdGroups` method to retrieve the next page of results.", +"type": "string" +} +}, +"type": "object" +}, +"ListAdvertiserAssignedTargetingOptionsResponse": { +"description": "Response message for ListAdvertiserAssignedTargetingOptions.", +"id": "ListAdvertiserAssignedTargetingOptionsResponse", +"properties": { +"assignedTargetingOptions": { +"description": "The list of assigned targeting options. This list will be absent if empty.", +"items": { +"$ref": "AssignedTargetingOption" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A token identifying the next page of results. This value should be specified as the pageToken in a subsequent ListAdvertiserAssignedTargetingOptionsRequest to fetch the next page of results. This token will be absent if there are no more assigned_targeting_options to return.", +"type": "string" +} +}, +"type": "object" +}, +"ListAdvertisersResponse": { +"id": "ListAdvertisersResponse", +"properties": { +"advertisers": { +"description": "The list of advertisers. This list will be absent if empty.", +"items": { +"$ref": "Advertiser" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A token to retrieve the next page of results. Pass this value in the page_token field in the subsequent call to `ListAdvertisers` method to retrieve the next page of results.", +"type": "string" +} +}, +"type": "object" +}, +"ListAssignedInventorySourcesResponse": { +"description": "Response message for AssignedInventorySourceService.ListAssignedInventorySources.", +"id": "ListAssignedInventorySourcesResponse", +"properties": { +"assignedInventorySources": { +"description": "The list of assigned inventory sources. This list will be absent if empty.", +"items": { +"$ref": "AssignedInventorySource" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A token to retrieve the next page of results. Pass this value in the page_token field in the subsequent call to `ListAssignedInventorySources` method to retrieve the next page of results.", +"type": "string" +} +}, +"type": "object" +}, +"ListAssignedLocationsResponse": { +"description": "Response message for AssignedLocationService.ListAssignedLocations.", +"id": "ListAssignedLocationsResponse", +"properties": { +"assignedLocations": { +"description": "The list of assigned locations. This list will be absent if empty.", +"items": { +"$ref": "AssignedLocation" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A token to retrieve the next page of results. Pass this value in the page_token field in the subsequent call to `ListAssignedLocations` method to retrieve the next page of results.", +"type": "string" +} +}, +"type": "object" +}, +"ListCampaignsResponse": { +"id": "ListCampaignsResponse", +"properties": { +"campaigns": { +"description": "The list of campaigns. This list will be absent if empty.", +"items": { +"$ref": "Campaign" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A token to retrieve the next page of results. Pass this value in the page_token field in the subsequent call to `ListCampaigns` method to retrieve the next page of results.", +"type": "string" +} +}, +"type": "object" +}, +"ListChannelsResponse": { +"id": "ListChannelsResponse", +"properties": { +"channels": { +"description": "The list of channels. This list will be absent if empty.", +"items": { +"$ref": "Channel" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A token to retrieve the next page of results. Pass this value in the page_token field in the subsequent call to `ListChannels` method to retrieve the next page of results.", +"type": "string" +} +}, +"type": "object" +}, +"ListCombinedAudiencesResponse": { +"id": "ListCombinedAudiencesResponse", +"properties": { +"combinedAudiences": { +"description": "The list of combined audiences. This list will be absent if empty.", +"items": { +"$ref": "CombinedAudience" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A token to retrieve the next page of results. Pass this value in the page_token field in the subsequent call to `ListCombinedAudiences` method to retrieve the next page of results.", +"type": "string" +} +}, +"type": "object" +}, +"ListCreativesResponse": { +"id": "ListCreativesResponse", +"properties": { +"creatives": { +"description": "The list of creatives. This list will be absent if empty.", +"items": { +"$ref": "Creative" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A token to retrieve the next page of results. Pass this value in the page_token field in the subsequent call to `ListCreativesRequest` method to retrieve the next page of results. If this field is null, it means this is the last page.", +"type": "string" +} +}, +"type": "object" +}, +"ListCustomBiddingAlgorithmRulesResponse": { +"id": "ListCustomBiddingAlgorithmRulesResponse", +"properties": { +"customBiddingRules": { +"description": "The list of CustomBiddingAlgorithmRules resources. This list will be absent if empty.", +"items": { +"$ref": "CustomBiddingAlgorithmRules" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A token to retrieve the next page of results. Pass this value in the page_token field in the subsequent call to `ListCustomBiddingAlgorithmRulesRequest` method to retrieve the next page of results. If this field is null, it means this is the last page.", +"type": "string" +} +}, +"type": "object" +}, +"ListCustomBiddingAlgorithmsResponse": { +"id": "ListCustomBiddingAlgorithmsResponse", +"properties": { +"customBiddingAlgorithms": { +"description": "The list of custom bidding algorithms. This list will be absent if empty.", +"items": { +"$ref": "CustomBiddingAlgorithm" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A token to retrieve the next page of results. Pass this value in the page_token field in the subsequent call to `ListCustomBiddingAlgorithmsRequest` method to retrieve the next page of results. If this field is null, it means this is the last page.", +"type": "string" +} +}, +"type": "object" +}, +"ListCustomBiddingScriptsResponse": { +"id": "ListCustomBiddingScriptsResponse", +"properties": { +"customBiddingScripts": { +"description": "The list of custom bidding scripts. This list will be absent if empty.", +"items": { +"$ref": "CustomBiddingScript" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A token to retrieve the next page of results. Pass this value in the page_token field in the subsequent call to `ListCustomBiddingScriptsRequest` method to retrieve the next page of results. If this field is null, it means this is the last page.", +"type": "string" +} +}, +"type": "object" +}, +"ListCustomListsResponse": { +"id": "ListCustomListsResponse", +"properties": { +"customLists": { +"description": "The list of custom lists. This list will be absent if empty.", +"items": { +"$ref": "CustomList" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A token to retrieve the next page of results. Pass this value in the page_token field in the subsequent call to `ListCustomLists` method to retrieve the next page of results.", +"type": "string" +} +}, +"type": "object" +}, +"ListFirstPartyAndPartnerAudiencesResponse": { +"id": "ListFirstPartyAndPartnerAudiencesResponse", +"properties": { +"firstPartyAndPartnerAudiences": { +"description": "The list of first party and partner audiences. Audience size properties will not be included. This list will be absent if empty.", +"items": { +"$ref": "FirstPartyAndPartnerAudience" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A token to retrieve the next page of results. Pass this value in the page_token field in the subsequent call to `ListFirstPartyAndPartnerAudiences` method to retrieve the next page of results.", +"type": "string" +} +}, +"type": "object" +}, +"ListFloodlightActivitiesResponse": { +"id": "ListFloodlightActivitiesResponse", +"properties": { +"floodlightActivities": { +"description": "The list of Floodlight activities. This list will be absent if empty.", +"items": { +"$ref": "FloodlightActivity" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A token to retrieve the next page of results. Pass this value in the page_token field in the subsequent call to `ListFloodlightActivities` method to retrieve the next page of results.", +"type": "string" +} +}, +"type": "object" +}, +"ListGoogleAudiencesResponse": { +"id": "ListGoogleAudiencesResponse", +"properties": { +"googleAudiences": { +"description": "The list of Google audiences. This list will be absent if empty.", +"items": { +"$ref": "GoogleAudience" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A token to retrieve the next page of results. Pass this value in the page_token field in the subsequent call to `ListGoogleAudiences` method to retrieve the next page of results.", +"type": "string" +} +}, +"type": "object" +}, +"ListGuaranteedOrdersResponse": { +"id": "ListGuaranteedOrdersResponse", +"properties": { +"guaranteedOrders": { +"description": "The list of guaranteed orders. This list will be absent if empty.", +"items": { +"$ref": "GuaranteedOrder" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A token to retrieve the next page of results. Pass this value in the page_token field in the subsequent call to `ListGuaranteedOrders` method to retrieve the next page of results.", +"type": "string" +} +}, +"type": "object" +}, +"ListInsertionOrdersResponse": { +"id": "ListInsertionOrdersResponse", +"properties": { +"insertionOrders": { +"description": "The list of insertion orders. This list will be absent if empty.", +"items": { +"$ref": "InsertionOrder" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A token to retrieve the next page of results. Pass this value in the page_token field in the subsequent call to `ListInsertionOrders` method to retrieve the next page of results.", +"type": "string" +} +}, +"type": "object" +}, +"ListInventorySourceGroupsResponse": { +"description": "Response message for InventorySourceGroupService.ListInventorySourceGroups.", +"id": "ListInventorySourceGroupsResponse", +"properties": { +"inventorySourceGroups": { +"description": "The list of inventory source groups. This list will be absent if empty.", +"items": { +"$ref": "InventorySourceGroup" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A token to retrieve the next page of results. Pass this value in the page_token field in the subsequent call to `ListInventorySourceGroups` method to retrieve the next page of results.", +"type": "string" +} +}, +"type": "object" +}, +"ListInventorySourcesResponse": { +"id": "ListInventorySourcesResponse", +"properties": { +"inventorySources": { +"description": "The list of inventory sources. This list will be absent if empty.", +"items": { +"$ref": "InventorySource" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A token to retrieve the next page of results. Pass this value in the page_token field in the subsequent call to `ListInventorySources` method to retrieve the next page of results.", +"type": "string" +} +}, +"type": "object" +}, +"ListInvoicesResponse": { +"id": "ListInvoicesResponse", +"properties": { +"invoices": { +"description": "The list of invoices. This list will be absent if empty.", +"items": { +"$ref": "Invoice" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A token to retrieve the next page of results. Pass this value in the page_token field in the subsequent call to `ListInvoices` method to retrieve the next page of results. This token will be absent if there are no more invoices to return.", +"type": "string" +} +}, +"type": "object" +}, +"ListLineItemAssignedTargetingOptionsResponse": { +"description": "Response message for ListLineItemAssignedTargetingOptions.", +"id": "ListLineItemAssignedTargetingOptionsResponse", +"properties": { +"assignedTargetingOptions": { +"description": "The list of assigned targeting options. This list will be absent if empty.", +"items": { +"$ref": "AssignedTargetingOption" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A token identifying the next page of results. This value should be specified as the pageToken in a subsequent ListLineItemAssignedTargetingOptionsRequest to fetch the next page of results. This token will be absent if there are no more assigned_targeting_options to return.", +"type": "string" +} +}, +"type": "object" +}, +"ListLineItemsResponse": { +"id": "ListLineItemsResponse", +"properties": { +"lineItems": { +"description": "The list of line items. This list will be absent if empty.", +"items": { +"$ref": "LineItem" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A token to retrieve the next page of results. Pass this value in the page_token field in the subsequent call to `ListLineItems` method to retrieve the next page of results.", +"type": "string" +} +}, +"type": "object" +}, +"ListLocationListsResponse": { +"id": "ListLocationListsResponse", +"properties": { +"locationLists": { +"description": "The list of location lists. This list will be absent if empty.", +"items": { +"$ref": "LocationList" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A token to retrieve the next page of results. Pass this value in the page_token field in the subsequent call to `ListLocationLists` method to retrieve the next page of results.", +"type": "string" +} +}, +"type": "object" +}, +"ListNegativeKeywordListsResponse": { +"description": "Response message for NegativeKeywordListService.ListNegativeKeywordLists.", +"id": "ListNegativeKeywordListsResponse", +"properties": { +"negativeKeywordLists": { +"description": "The list of negative keyword lists. This list will be absent if empty.", +"items": { +"$ref": "NegativeKeywordList" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A token to retrieve the next page of results. Pass this value in the page_token field in the subsequent call to `ListNegativeKeywordLists` method to retrieve the next page of results.", +"type": "string" +} +}, +"type": "object" +}, +"ListNegativeKeywordsResponse": { +"description": "Response message for NegativeKeywordService.ListNegativeKeywords.", +"id": "ListNegativeKeywordsResponse", +"properties": { +"negativeKeywords": { +"description": "The list of negative keywords. This list will be absent if empty.", +"items": { +"$ref": "NegativeKeyword" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A token to retrieve the next page of results. Pass this value in the page_token field in the subsequent call to `ListNegativeKeywords` method to retrieve the next page of results.", +"type": "string" +} +}, +"type": "object" +}, +"ListPartnerAssignedTargetingOptionsResponse": { +"id": "ListPartnerAssignedTargetingOptionsResponse", +"properties": { +"assignedTargetingOptions": { +"description": "The list of assigned targeting options. This list will be absent if empty.", +"items": { +"$ref": "AssignedTargetingOption" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A token identifying the next page of results. This value should be specified as the pageToken in a subsequent ListPartnerAssignedTargetingOptionsRequest to fetch the next page of results. This token will be absent if there are no more assigned_targeting_options to return.", +"type": "string" +} +}, +"type": "object" +}, +"ListPartnersResponse": { +"id": "ListPartnersResponse", +"properties": { +"nextPageToken": { +"description": "A token to retrieve the next page of results. Pass this value in the page_token field in the subsequent call to `ListPartners` method to retrieve the next page of results.", +"type": "string" +}, +"partners": { +"description": "The list of partners. This list will be absent if empty.", +"items": { +"$ref": "Partner" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListSitesResponse": { +"description": "Response message for SiteService.ListSites.", +"id": "ListSitesResponse", +"properties": { +"nextPageToken": { +"description": "A token to retrieve the next page of results. Pass this value in the page_token field in the subsequent call to `ListSites` method to retrieve the next page of results.", +"type": "string" +}, +"sites": { +"description": "The list of sites. This list will be absent if empty.", +"items": { +"$ref": "Site" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListTargetingOptionsResponse": { +"description": "Response message for ListTargetingOptions.", +"id": "ListTargetingOptionsResponse", +"properties": { +"nextPageToken": { +"description": "A token to retrieve the next page of results. Pass this value in the page_token field in the subsequent call to `ListTargetingOptions` method to retrieve the next page of results.", +"type": "string" +}, +"targetingOptions": { +"description": "The list of targeting options. This list will be absent if empty.", +"items": { +"$ref": "TargetingOption" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListUsersResponse": { +"id": "ListUsersResponse", +"properties": { +"nextPageToken": { +"description": "A token to retrieve the next page of results. Pass this value in the page_token field in the subsequent call to `ListUsers` method to retrieve the next page of results. This token will be absent if there are no more results to return.", +"type": "string" +}, +"users": { +"description": "The list of users. This list will be absent if empty.", +"items": { +"$ref": "User" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListYoutubeAssetAssociationsResponse": { +"description": "Response message for YoutubeAssetAssociationService.ListYoutubeAssetAssociations.", +"id": "ListYoutubeAssetAssociationsResponse", +"properties": { +"nextPageToken": { +"description": "A token to retrieve the next page of results. Pass this value in the page_token field in the subsequent call to `ListYoutubeAssetAssociations` method to retrieve the next page of results.", +"type": "string" +}, +"youtubeAssetAssociations": { +"description": "The list of asset associations. This list will be absent if empty.", +"items": { +"$ref": "YoutubeAssetAssociation" +}, +"type": "array" +} +}, +"type": "object" +}, +"LocationList": { +"description": "A list of locations used for targeting.", +"id": "LocationList", +"properties": { +"advertiserId": { +"description": "Required. Immutable. The unique ID of the advertiser the location list belongs to.", +"format": "int64", +"type": "string" +}, +"displayName": { +"description": "Required. The display name of the location list. Must be UTF-8 encoded with a maximum size of 240 bytes.", +"type": "string" +}, +"locationListId": { +"description": "Output only. The unique ID of the location list. Assigned by the system.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"locationType": { +"description": "Required. Immutable. The type of location. All locations in the list will share this type.", +"enum": [ +"TARGETING_LOCATION_TYPE_UNSPECIFIED", +"TARGETING_LOCATION_TYPE_PROXIMITY", +"TARGETING_LOCATION_TYPE_REGIONAL" +], +"enumDescriptions": [ +"Default value when type is not specified or is unknown.", +"The type for proximity geo location.", +"The type for regional geo location." +], +"type": "string" +}, +"name": { +"description": "Output only. The resource name of the location list.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"LookbackWindow": { +"description": "Specifies how many days into the past to look when determining whether to record a conversion.", +"id": "LookbackWindow", +"properties": { +"clickDays": { +"description": "Lookback window, in days, from the last time a given user clicked on one of your ads.", +"format": "int32", +"type": "integer" +}, +"impressionDays": { +"description": "Lookback window, in days, from the last time a given user viewed one of your ads.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"LookupInvoiceCurrencyResponse": { +"id": "LookupInvoiceCurrencyResponse", +"properties": { +"currencyCode": { +"description": "Currency used by the advertiser in ISO 4217 format.", +"type": "string" +} +}, +"type": "object" +}, +"MastheadAd": { +"description": "Details for a Masthead Ad.", +"id": "MastheadAd", +"properties": { +"autoplayVideoDuration": { +"description": "The duration of time the video will autoplay.", +"format": "google-duration", +"type": "string" +}, +"autoplayVideoStartMillisecond": { +"description": "The amount of time in milliseconds after which the video will start to play.", +"format": "int64", +"type": "string" +}, +"callToActionButtonLabel": { +"description": "The text on the call-to-action button.", +"type": "string" +}, +"callToActionFinalUrl": { +"description": "The destination URL for the call-to-action button.", +"type": "string" +}, +"callToActionTrackingUrl": { +"description": "The tracking URL for the call-to-action button.", +"type": "string" +}, +"companionYoutubeVideos": { +"description": "The videos that appear next to the Masthead Ad on desktop. Can be no more than two.", +"items": { +"$ref": "YoutubeVideoDetails" +}, +"type": "array" +}, +"description": { +"description": "The description of the ad.", +"type": "string" +}, +"headline": { +"description": "The headline of the ad.", +"type": "string" +}, +"showChannelArt": { +"description": "Whether to show a background or banner that appears at the top of a YouTube page.", +"type": "boolean" +}, +"video": { +"$ref": "YoutubeVideoDetails", +"description": "The YouTube video used by the ad." +}, +"videoAspectRatio": { +"description": "The aspect ratio of the autoplaying YouTube video on the Masthead.", +"enum": [ +"VIDEO_ASPECT_RATIO_UNSPECIFIED", +"VIDEO_ASPECT_RATIO_WIDESCREEN", +"VIDEO_ASPECT_RATIO_FIXED_16_9" +], +"enumDescriptions": [ +"Not specified or unknown.", +"The video is stretched and the top and bottom are cropped.", +"The video uses a fixed 16:9 aspect ratio." +], +"type": "string" +} +}, +"type": "object" +}, +"MaximizeSpendBidStrategy": { +"description": "A strategy that automatically adjusts the bid to optimize a specified performance goal while spending the full budget.", +"id": "MaximizeSpendBidStrategy", +"properties": { +"customBiddingAlgorithmId": { +"description": "The ID of the Custom Bidding Algorithm used by this strategy. Only applicable when performance_goal_type is set to `BIDDING_STRATEGY_PERFORMANCE_GOAL_TYPE_CUSTOM_ALGO`. Assigning a custom bidding algorithm that uses floodlight activities not identified in floodlightActivityConfigs will return an error.", +"format": "int64", +"type": "string" +}, +"maxAverageCpmBidAmountMicros": { +"description": "The maximum average CPM that may be bid, in micros of the advertiser's currency. Must be greater than or equal to a billable unit of the given currency. For example, 1500000 represents 1.5 standard units of the currency.", +"format": "int64", +"type": "string" +}, +"performanceGoalType": { +"description": "Required. The type of the performance goal that the bidding strategy tries to minimize while spending the full budget. `BIDDING_STRATEGY_PERFORMANCE_GOAL_TYPE_VIEWABLE_CPM` is not supported for this strategy.", +"enum": [ +"BIDDING_STRATEGY_PERFORMANCE_GOAL_TYPE_UNSPECIFIED", +"BIDDING_STRATEGY_PERFORMANCE_GOAL_TYPE_CPA", +"BIDDING_STRATEGY_PERFORMANCE_GOAL_TYPE_CPC", +"BIDDING_STRATEGY_PERFORMANCE_GOAL_TYPE_VIEWABLE_CPM", +"BIDDING_STRATEGY_PERFORMANCE_GOAL_TYPE_CUSTOM_ALGO", +"BIDDING_STRATEGY_PERFORMANCE_GOAL_TYPE_CIVA", +"BIDDING_STRATEGY_PERFORMANCE_GOAL_TYPE_IVO_TEN", +"BIDDING_STRATEGY_PERFORMANCE_GOAL_TYPE_AV_VIEWED", +"BIDDING_STRATEGY_PERFORMANCE_GOAL_TYPE_REACH" +], +"enumDescriptions": [ +"Type value is not specified or is unknown in this version.", +"Cost per action.", +"Cost per click.", +"Viewable CPM.", +"Custom bidding algorithm.", +"Completed inview and audible views.", +"Inview time over 10 secs views.", +"Viewable impressions.", +"Maximize reach." +], +"type": "string" +}, +"raiseBidForDeals": { +"description": "Whether the strategy takes deal floor prices into account.", +"type": "boolean" +} +}, +"type": "object" +}, +"MeasurementConfig": { +"description": "Measurement settings of a partner.", +"id": "MeasurementConfig", +"properties": { +"dv360ToCmCostReportingEnabled": { +"description": "Whether or not to report DV360 cost to CM360.", +"type": "boolean" +}, +"dv360ToCmDataSharingEnabled": { +"description": "Whether or not to include DV360 data in CM360 data transfer reports.", +"type": "boolean" +} +}, +"type": "object" +}, +"MobileApp": { +"description": "A mobile app promoted by a mobile app install line item.", +"id": "MobileApp", +"properties": { +"appId": { +"description": "Required. The ID of the app provided by the platform store. Android apps are identified by the bundle ID used by Android's Play store, such as `com.google.android.gm`. iOS apps are identified by a nine-digit app ID used by Apple's App store, such as `422689480`.", +"type": "string" +}, +"displayName": { +"description": "Output only. The app name.", +"readOnly": true, +"type": "string" +}, +"platform": { +"description": "Output only. The app platform.", +"enum": [ +"PLATFORM_UNSPECIFIED", +"IOS", +"ANDROID" +], +"enumDescriptions": [ +"Platform is not specified.", +"iOS platform.", +"Android platform." +], +"readOnly": true, +"type": "string" +}, +"publisher": { +"description": "Output only. The app publisher.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"MobileDeviceIdList": { +"description": "Wrapper message for a list of mobile device IDs defining Customer Match audience members.", +"id": "MobileDeviceIdList", +"properties": { +"consent": { +"$ref": "Consent", +"description": "Input only. The consent setting for the users in mobile_device_ids. Leaving this field unset indicates that consent is not specified. If ad_user_data or ad_personalization fields are set to `CONSENT_STATUS_DENIED`, the request will return an error." +}, +"mobileDeviceIds": { +"description": "A list of mobile device IDs defining Customer Match audience members. The size of mobile_device_ids mustn't be greater than 500,000.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"Money": { +"description": "Represents an amount of money with its currency type.", +"id": "Money", +"properties": { +"currencyCode": { +"description": "The three-letter currency code defined in ISO 4217.", +"type": "string" +}, +"nanos": { +"description": "Number of nano (10^-9) units of the amount. The value must be between -999,999,999 and +999,999,999 inclusive. If `units` is positive, `nanos` must be positive or zero. If `units` is zero, `nanos` can be positive, zero, or negative. If `units` is negative, `nanos` must be negative or zero. For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000.", +"format": "int32", +"type": "integer" +}, +"units": { +"description": "The whole units of the amount. For example if `currencyCode` is `\"USD\"`, then 1 unit is one US dollar.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"NativeContentPositionAssignedTargetingOptionDetails": { +"description": "Details for native content position assigned targeting option. This will be populated in the native_content_position_details field when targeting_type is `TARGETING_TYPE_NATIVE_CONTENT_POSITION`. Explicitly targeting all options is not supported. Remove all native content position targeting options to achieve this effect.", +"id": "NativeContentPositionAssignedTargetingOptionDetails", +"properties": { +"contentPosition": { +"description": "Required. The content position.", +"enum": [ +"NATIVE_CONTENT_POSITION_UNSPECIFIED", +"NATIVE_CONTENT_POSITION_UNKNOWN", +"NATIVE_CONTENT_POSITION_IN_ARTICLE", +"NATIVE_CONTENT_POSITION_IN_FEED", +"NATIVE_CONTENT_POSITION_PERIPHERAL", +"NATIVE_CONTENT_POSITION_RECOMMENDATION" +], +"enumDescriptions": [ +"Native content position is not specified in this version. This enum is a place holder for a default value and does not represent a real native content position.", +"The native content position is unknown.", +"Native content position is in-article, i.e., ads appear between the paragraphs of pages.", +"Native content position is in-feed, i.e., ads appear in a scrollable stream of content. A feed is typically editorial (e.g. a list of articles or news) or listings (e.g. a list of products or services).", +"Native content position is peripheral, i.e., ads appear outside of core content on pages, such as the right- or left-hand side of the page.", +"Native content position is recommendation, i.e., ads appear in sections for recommended content." +], +"type": "string" +} +}, +"type": "object" +}, +"NativeContentPositionTargetingOptionDetails": { +"description": "Represents a targetable native content position. This will be populated in the native_content_position_details field when targeting_type is `TARGETING_TYPE_NATIVE_CONTENT_POSITION`.", +"id": "NativeContentPositionTargetingOptionDetails", +"properties": { +"contentPosition": { +"description": "Output only. The content position.", +"enum": [ +"NATIVE_CONTENT_POSITION_UNSPECIFIED", +"NATIVE_CONTENT_POSITION_UNKNOWN", +"NATIVE_CONTENT_POSITION_IN_ARTICLE", +"NATIVE_CONTENT_POSITION_IN_FEED", +"NATIVE_CONTENT_POSITION_PERIPHERAL", +"NATIVE_CONTENT_POSITION_RECOMMENDATION" +], +"enumDescriptions": [ +"Native content position is not specified in this version. This enum is a place holder for a default value and does not represent a real native content position.", +"The native content position is unknown.", +"Native content position is in-article, i.e., ads appear between the paragraphs of pages.", +"Native content position is in-feed, i.e., ads appear in a scrollable stream of content. A feed is typically editorial (e.g. a list of articles or news) or listings (e.g. a list of products or services).", +"Native content position is peripheral, i.e., ads appear outside of core content on pages, such as the right- or left-hand side of the page.", +"Native content position is recommendation, i.e., ads appear in sections for recommended content." +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"NegativeKeyword": { +"description": "A negatively targeted keyword that belongs to a negative keyword list.", +"id": "NegativeKeyword", +"properties": { +"keywordValue": { +"description": "Required. Immutable. The negatively targeted keyword, for example `car insurance`. Must be UTF-8 encoded with a maximum size of 255 bytes. Maximum number of characters is 80. Maximum number of words is 10. Valid characters are restricted to ASCII characters only. The only URL-escaping permitted is for representing whitespace between words. Leading or trailing whitespace is ignored.", +"type": "string" +}, +"name": { +"description": "Output only. The resource name of the negative keyword.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"NegativeKeywordList": { +"description": "A list of negative keywords used for targeting.", +"id": "NegativeKeywordList", +"properties": { +"advertiserId": { +"description": "Output only. The unique ID of the advertiser the negative keyword list belongs to.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"displayName": { +"description": "Required. The display name of the negative keyword list. Must be UTF-8 encoded with a maximum size of 255 bytes.", +"type": "string" +}, +"name": { +"description": "Output only. The resource name of the negative keyword list.", +"readOnly": true, +"type": "string" +}, +"negativeKeywordListId": { +"description": "Output only. The unique ID of the negative keyword list. Assigned by the system.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"targetedLineItemCount": { +"description": "Output only. Number of line items that are directly targeting this negative keyword list.", +"format": "int64", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"NegativeKeywordListAssignedTargetingOptionDetails": { +"description": "Targeting details for negative keyword list. This will be populated in the details field of an AssignedTargetingOption when targeting_type is `TARGETING_TYPE_NEGATIVE_KEYWORD_LIST`.", +"id": "NegativeKeywordListAssignedTargetingOptionDetails", +"properties": { +"negativeKeywordListId": { +"description": "Required. ID of the negative keyword list. Should refer to the negative_keyword_list_id field of a NegativeKeywordList resource.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"NonSkippableAd": { +"description": "Details for a non-skippable ad.", +"id": "NonSkippableAd", +"properties": { +"commonInStreamAttribute": { +"$ref": "CommonInStreamAttribute", +"description": "Common ad attributes." +}, +"customParameters": { +"additionalProperties": { +"type": "string" +}, +"description": "The custom parameters to pass custom values to tracking URL template.", +"type": "object" +} +}, +"type": "object" +}, +"ObaIcon": { +"description": "OBA Icon for a Creative", +"id": "ObaIcon", +"properties": { +"clickTrackingUrl": { +"description": "Required. The click tracking URL of the OBA icon. Only URLs of the following domains are allowed: * `https://info.evidon.com` * `https://l.betrad.com`", +"type": "string" +}, +"dimensions": { +"$ref": "Dimensions", +"description": "Optional. The dimensions of the OBA icon." +}, +"landingPageUrl": { +"description": "Required. The landing page URL of the OBA icon. Only URLs of the following domains are allowed: * `https://info.evidon.com` * `https://l.betrad.com`", +"type": "string" +}, +"position": { +"description": "Optional. The position of the OBA icon on the creative.", +"enum": [ +"OBA_ICON_POSITION_UNSPECIFIED", +"OBA_ICON_POSITION_UPPER_RIGHT", +"OBA_ICON_POSITION_UPPER_LEFT", +"OBA_ICON_POSITION_LOWER_RIGHT", +"OBA_ICON_POSITION_LOWER_LEFT" +], +"enumDescriptions": [ +"The OBA icon position is not specified.", +"At the upper right side of the creative.", +"At the upper left side of the creative.", +"At the lower right side of the creative.", +"At the lower left side of the creative." +], +"type": "string" +}, +"program": { +"description": "Optional. The program of the OBA icon. For example: \u201cAdChoices\u201d.", +"type": "string" +}, +"resourceMimeType": { +"description": "Optional. The MIME type of the OBA icon resource.", +"type": "string" +}, +"resourceUrl": { +"description": "Optional. The URL of the OBA icon resource.", +"type": "string" +}, +"viewTrackingUrl": { +"description": "Required. The view tracking URL of the OBA icon. Only URLs of the following domains are allowed: * `https://info.evidon.com` * `https://l.betrad.com`", +"type": "string" +} +}, +"type": "object" +}, +"OmidAssignedTargetingOptionDetails": { +"description": "Represents a targetable Open Measurement enabled inventory type. This will be populated in the details field of an AssignedTargetingOption when targeting_type is `TARGETING_TYPE_OMID`.", +"id": "OmidAssignedTargetingOptionDetails", +"properties": { +"omid": { +"description": "Required. The type of Open Measurement enabled inventory.", +"enum": [ +"OMID_UNSPECIFIED", +"OMID_FOR_MOBILE_DISPLAY_ADS" +], +"enumDescriptions": [ +"Default value when omid targeting is not specified in this version.", +"Open Measurement enabled mobile display inventory." +], +"type": "string" +} +}, +"type": "object" +}, +"OmidTargetingOptionDetails": { +"description": "Represents a targetable Open Measurement enabled inventory type. This will be populated in the omid_details field when targeting_type is `TARGETING_TYPE_OMID`.", +"id": "OmidTargetingOptionDetails", +"properties": { +"omid": { +"description": "Output only. The type of Open Measurement enabled inventory.", +"enum": [ +"OMID_UNSPECIFIED", +"OMID_FOR_MOBILE_DISPLAY_ADS" +], +"enumDescriptions": [ +"Default value when omid targeting is not specified in this version.", +"Open Measurement enabled mobile display inventory." +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"OnScreenPositionAssignedTargetingOptionDetails": { +"description": "On screen position targeting option details. This will be populated in the on_screen_position_details field when targeting_type is `TARGETING_TYPE_ON_SCREEN_POSITION`.", +"id": "OnScreenPositionAssignedTargetingOptionDetails", +"properties": { +"adType": { +"description": "Output only. The ad type to target. Only applicable to insertion order targeting and new line items supporting the specified ad type will inherit this targeting option by default. Possible values are: * `AD_TYPE_DISPLAY`, the setting will be inherited by new line item when line_item_type is `LINE_ITEM_TYPE_DISPLAY_DEFAULT`. * `AD_TYPE_VIDEO`, the setting will be inherited by new line item when line_item_type is `LINE_ITEM_TYPE_VIDEO_DEFAULT`.", +"enum": [ +"AD_TYPE_UNSPECIFIED", +"AD_TYPE_DISPLAY", +"AD_TYPE_VIDEO", +"AD_TYPE_AUDIO" +], +"enumDescriptions": [ +"Ad type is not specified or is unknown in this version.", +"Display creatives, e.g. image and HTML5.", +"Video creatives, e.g. video ads that play during streaming content in video players.", +"Audio creatives, e.g. audio ads that play during audio content." +], +"readOnly": true, +"type": "string" +}, +"onScreenPosition": { +"description": "Output only. The on screen position.", +"enum": [ +"ON_SCREEN_POSITION_UNSPECIFIED", +"ON_SCREEN_POSITION_UNKNOWN", +"ON_SCREEN_POSITION_ABOVE_THE_FOLD", +"ON_SCREEN_POSITION_BELOW_THE_FOLD" +], +"enumDescriptions": [ +"On screen position is not specified in this version. This enum is a place holder for a default value and does not represent a real on screen position.", +"The ad position is unknown on the screen.", +"The ad is located above the fold.", +"The ad is located below the fold." +], +"readOnly": true, +"type": "string" +}, +"targetingOptionId": { +"description": "Required. The targeting_option_id field when targeting_type is `TARGETING_TYPE_ON_SCREEN_POSITION`.", +"type": "string" +} +}, +"type": "object" +}, +"OnScreenPositionTargetingOptionDetails": { +"description": "Represents a targetable on screen position, which could be used by display and video ads. This will be populated in the on_screen_position_details field when targeting_type is `TARGETING_TYPE_ON_SCREEN_POSITION`.", +"id": "OnScreenPositionTargetingOptionDetails", +"properties": { +"onScreenPosition": { +"description": "Output only. The on screen position.", +"enum": [ +"ON_SCREEN_POSITION_UNSPECIFIED", +"ON_SCREEN_POSITION_UNKNOWN", +"ON_SCREEN_POSITION_ABOVE_THE_FOLD", +"ON_SCREEN_POSITION_BELOW_THE_FOLD" +], +"enumDescriptions": [ +"On screen position is not specified in this version. This enum is a place holder for a default value and does not represent a real on screen position.", +"The ad position is unknown on the screen.", +"The ad is located above the fold.", +"The ad is located below the fold." +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"OperatingSystemAssignedTargetingOptionDetails": { +"description": "Assigned operating system targeting option details. This will be populated in the operating_system_details field when targeting_type is `TARGETING_TYPE_OPERATING_SYSTEM`.", +"id": "OperatingSystemAssignedTargetingOptionDetails", +"properties": { +"displayName": { +"description": "Output only. The display name of the operating system.", +"readOnly": true, +"type": "string" +}, +"negative": { +"description": "Indicates if this option is being negatively targeted.", +"type": "boolean" +}, +"targetingOptionId": { +"description": "Required. The targeting option ID populated in targeting_option_id field when targeting_type is `TARGETING_TYPE_OPERATING_SYSTEM`.", +"type": "string" +} +}, +"type": "object" +}, +"OperatingSystemTargetingOptionDetails": { +"description": "Represents a targetable operating system. This will be populated in the operating_system_details field of a TargetingOption when targeting_type is `TARGETING_TYPE_OPERATING_SYSTEM`.", +"id": "OperatingSystemTargetingOptionDetails", +"properties": { +"displayName": { +"description": "Output only. The display name of the operating system.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"Operation": { +"description": "This resource represents a long-running operation that is the result of a network API call.", +"id": "Operation", +"properties": { +"done": { +"description": "If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.", +"type": "boolean" +}, +"error": { +"$ref": "Status", +"description": "The error result of the operation in case of failure or cancellation." +}, +"metadata": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.", +"type": "object" +}, +"name": { +"description": "The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.", +"type": "string" +}, +"response": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "The normal, successful response of the operation. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.", +"type": "object" +} +}, +"type": "object" +}, +"Pacing": { +"description": "Settings that control the rate at which a budget is spent.", +"id": "Pacing", +"properties": { +"dailyMaxImpressions": { +"description": "Maximum number of impressions to serve every day. Applicable when the budget is impression based. Must be greater than 0.", +"format": "int64", +"type": "string" +}, +"dailyMaxMicros": { +"description": "Maximum currency amount to spend every day in micros of advertiser's currency. Applicable when the budget is currency based. Must be greater than 0. For example, for 1.5 standard unit of the currency, set this field to 1500000. The value assigned will be rounded to whole billable units for the relevant currency by the following rules: any positive value less than a single billable unit will be rounded up to one billable unit and any value larger than a single billable unit will be rounded down to the nearest billable value. For example, if the currency's billable unit is 0.01, and this field is set to 10257770, it will round down to 10250000, a value of 10.25. If set to 505, it will round up to 10000, a value of 0.01.", +"format": "int64", +"type": "string" +}, +"pacingPeriod": { +"description": "Required. The time period in which the pacing budget will be spent. When automatic budget allocation is enabled at the insertion order via automationType, this field is output only and defaults to `PACING_PERIOD_FLIGHT`.", +"enum": [ +"PACING_PERIOD_UNSPECIFIED", +"PACING_PERIOD_DAILY", +"PACING_PERIOD_FLIGHT" +], +"enumDescriptions": [ +"Period value is not specified or is unknown in this version.", +"The pacing setting will be applied on daily basis.", +"The pacing setting will be applied to the whole flight duration." +], +"type": "string" +}, +"pacingType": { +"description": "Required. The type of pacing that defines how the budget amount will be spent across the pacing_period. `PACING_TYPE_ASAP` is not compatible with pacing_period `PACING_PERIOD_FLIGHT` for insertion orders.", +"enum": [ +"PACING_TYPE_UNSPECIFIED", +"PACING_TYPE_AHEAD", +"PACING_TYPE_ASAP", +"PACING_TYPE_EVEN" +], +"enumDescriptions": [ +"Pacing mode value is not specified or is unknown in this version.", +"Only applicable to `PACING_PERIOD_FLIGHT` pacing period. Ahead pacing attempts to spend faster than evenly, to make sure the entire budget is spent by the end of the flight.", +"Spend all of pacing budget amount as quick as possible.", +"Spend a consistent budget amount every period of time." +], +"type": "string" +} +}, +"type": "object" +}, +"ParentEntityFilter": { +"description": "A filtering option that filters on selected file types belonging to a chosen set of filter entities.", +"id": "ParentEntityFilter", +"properties": { +"fileType": { +"description": "Required. File types that will be returned.", +"items": { +"enum": [ +"FILE_TYPE_UNSPECIFIED", +"FILE_TYPE_CAMPAIGN", +"FILE_TYPE_MEDIA_PRODUCT", +"FILE_TYPE_INSERTION_ORDER", +"FILE_TYPE_LINE_ITEM", +"FILE_TYPE_AD_GROUP", +"FILE_TYPE_AD", +"FILE_TYPE_LINE_ITEM_QA", +"FILE_TYPE_AD_GROUP_QA" +], +"enumDescriptions": [ +"Default value when type is unspecified or is unknown in this version.", +"Campaign.", +"Media Product.", +"Insertion Order.", +"Line Item.", +"YouTube Ad Group.", +"YouTube Ad.", +"Line Item - QA format.", +"YouTube Ad Group - QA format." +], +"type": "string" +}, +"type": "array" +}, +"filterIds": { +"description": "The IDs of the specified filter type. This is used to filter entities to fetch. If filter type is not `FILTER_TYPE_NONE`, at least one ID must be specified.", +"items": { +"format": "int64", +"type": "string" +}, +"type": "array" +}, +"filterType": { +"description": "Required. Filter type used to filter fetched entities.", +"enum": [ +"FILTER_TYPE_UNSPECIFIED", +"FILTER_TYPE_NONE", +"FILTER_TYPE_ADVERTISER_ID", +"FILTER_TYPE_CAMPAIGN_ID", +"FILTER_TYPE_MEDIA_PRODUCT_ID", +"FILTER_TYPE_INSERTION_ORDER_ID", +"FILTER_TYPE_LINE_ITEM_ID" +], +"enumDescriptions": [ +"Default value when type is unspecified or is unknown in this version.", +"If selected, no filter will be applied to the download. Can only be used if an Advertiser is specified in CreateSdfDownloadTaskRequest.", +"Advertiser ID. If selected, all filter IDs must be Advertiser IDs that belong to the Partner specified in CreateSdfDownloadTaskRequest.", +"Campaign ID. If selected, all filter IDs must be Campaign IDs that belong to the Advertiser or Partner specified in CreateSdfDownloadTaskRequest.", +"Media Product ID. If selected, all filter IDs must be Media Product IDs that belong to the Advertiser or Partner specified in CreateSdfDownloadTaskRequest. Can only be used for downloading `FILE_TYPE_MEDIA_PRODUCT`.", +"Insertion Order ID. If selected, all filter IDs must be Insertion Order IDs that belong to the Advertiser or Partner specified in CreateSdfDownloadTaskRequest. Can only be used for downloading `FILE_TYPE_INSERTION_ORDER`, `FILE_TYPE_LINE_ITEM`, `FILE_TYPE_LINE_ITEM_QA`, `FILE_TYPE_AD_GROUP`, `FILE_TYPE_AD_GROUP_QA`, and `FILE_TYPE_AD`.", +"Line Item ID. If selected, all filter IDs must be Line Item IDs that belong to the Advertiser or Partner specified in CreateSdfDownloadTaskRequest. Can only be used for downloading `FILE_TYPE_LINE_ITEM`, `FILE_TYPE_LINE_ITEM_QA`,`FILE_TYPE_AD_GROUP`, `FILE_TYPE_AD_GROUP_QA`, and `FILE_TYPE_AD`." +], +"type": "string" +} +}, +"type": "object" +}, +"ParentalStatusAssignedTargetingOptionDetails": { +"description": "Details for assigned parental status targeting option. This will be populated in the details field of an AssignedTargetingOption when targeting_type is `TARGETING_TYPE_PARENTAL_STATUS`.", +"id": "ParentalStatusAssignedTargetingOptionDetails", +"properties": { +"parentalStatus": { +"description": "Required. The parental status of the audience.", +"enum": [ +"PARENTAL_STATUS_UNSPECIFIED", +"PARENTAL_STATUS_PARENT", +"PARENTAL_STATUS_NOT_A_PARENT", +"PARENTAL_STATUS_UNKNOWN" +], +"enumDescriptions": [ +"Default value when parental status is not specified in this version. This enum is a place holder for default value and does not represent a real parental status option.", +"The audience is a parent.", +"The audience is not a parent.", +"The parental status of the audience is unknown." +], +"type": "string" +} +}, +"type": "object" +}, +"ParentalStatusTargetingOptionDetails": { +"description": "Represents a targetable parental status. This will be populated in the parental_status_details field of a TargetingOption when targeting_type is `TARGETING_TYPE_PARENTAL_STATUS`.", +"id": "ParentalStatusTargetingOptionDetails", +"properties": { +"parentalStatus": { +"description": "Output only. The parental status of an audience.", +"enum": [ +"PARENTAL_STATUS_UNSPECIFIED", +"PARENTAL_STATUS_PARENT", +"PARENTAL_STATUS_NOT_A_PARENT", +"PARENTAL_STATUS_UNKNOWN" +], +"enumDescriptions": [ +"Default value when parental status is not specified in this version. This enum is a place holder for default value and does not represent a real parental status option.", +"The audience is a parent.", +"The audience is not a parent.", +"The parental status of the audience is unknown." +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"Partner": { +"description": "A single partner in Display & Video 360 (DV360).", +"id": "Partner", +"properties": { +"adServerConfig": { +"$ref": "PartnerAdServerConfig", +"description": "Ad server related settings of the partner." +}, +"billingConfig": { +"$ref": "PartnerBillingConfig", +"description": "Billing related settings of the partner." +}, +"dataAccessConfig": { +"$ref": "PartnerDataAccessConfig", +"description": "Settings that control how partner data may be accessed." +}, +"displayName": { +"description": "The display name of the partner. Must be UTF-8 encoded with a maximum size of 240 bytes.", +"type": "string" +}, +"entityStatus": { +"description": "Output only. The status of the partner.", +"enum": [ +"ENTITY_STATUS_UNSPECIFIED", +"ENTITY_STATUS_ACTIVE", +"ENTITY_STATUS_ARCHIVED", +"ENTITY_STATUS_DRAFT", +"ENTITY_STATUS_PAUSED", +"ENTITY_STATUS_SCHEDULED_FOR_DELETION" +], +"enumDescriptions": [ +"Default value when status is not specified or is unknown in this version.", +"The entity is enabled to bid and spend budget.", +"The entity is archived. Bidding and budget spending are disabled. An entity can be deleted after archived. Deleted entities cannot be retrieved.", +"The entity is under draft. Bidding and budget spending are disabled.", +"Bidding and budget spending are paused for the entity.", +"The entity is scheduled for deletion." +], +"readOnly": true, +"type": "string" +}, +"exchangeConfig": { +"$ref": "ExchangeConfig", +"description": "Settings that control which exchanges are enabled for the partner." +}, +"generalConfig": { +"$ref": "PartnerGeneralConfig", +"description": "General settings of the partner." +}, +"name": { +"description": "Output only. The resource name of the partner.", +"readOnly": true, +"type": "string" +}, +"partnerId": { +"description": "Output only. The unique ID of the partner. Assigned by the system.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"updateTime": { +"description": "Output only. The timestamp when the partner was last updated. Assigned by the system.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"PartnerAdServerConfig": { +"description": "Ad server related settings of a partner.", +"id": "PartnerAdServerConfig", +"properties": { +"measurementConfig": { +"$ref": "MeasurementConfig", +"description": "Measurement settings of a partner." +} +}, +"type": "object" +}, +"PartnerBillingConfig": { +"description": "Billing related settings of a partner.", +"id": "PartnerBillingConfig", +"properties": { +"billingProfileId": { +"description": "The ID of a partner default billing profile.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"PartnerCost": { +"description": "Settings that control a partner cost. A partner cost is any type of expense involved in running a campaign, other than the costs of purchasing impressions (which is called the media cost) and using third-party audience segment data (data fee). Some examples of partner costs include the fees for using DV360, a third-party ad server, or a third-party ad serving verification service.", +"id": "PartnerCost", +"properties": { +"costType": { +"description": "Required. The type of the partner cost.", +"enum": [ +"PARTNER_COST_TYPE_UNSPECIFIED", +"PARTNER_COST_TYPE_ADLOOX", +"PARTNER_COST_TYPE_ADLOOX_PREBID", +"PARTNER_COST_TYPE_ADSAFE", +"PARTNER_COST_TYPE_ADXPOSE", +"PARTNER_COST_TYPE_AGGREGATE_KNOWLEDGE", +"PARTNER_COST_TYPE_AGENCY_TRADING_DESK", +"PARTNER_COST_TYPE_DV360_FEE", +"PARTNER_COST_TYPE_COMSCORE_VCE", +"PARTNER_COST_TYPE_DATA_MANAGEMENT_PLATFORM", +"PARTNER_COST_TYPE_DEFAULT", +"PARTNER_COST_TYPE_DOUBLE_VERIFY", +"PARTNER_COST_TYPE_DOUBLE_VERIFY_PREBID", +"PARTNER_COST_TYPE_EVIDON", +"PARTNER_COST_TYPE_INTEGRAL_AD_SCIENCE_VIDEO", +"PARTNER_COST_TYPE_INTEGRAL_AD_SCIENCE_PREBID", +"PARTNER_COST_TYPE_MEDIA_COST_DATA", +"PARTNER_COST_TYPE_MOAT_VIDEO", +"PARTNER_COST_TYPE_NIELSEN_DAR", +"PARTNER_COST_TYPE_SHOP_LOCAL", +"PARTNER_COST_TYPE_TERACENT", +"PARTNER_COST_TYPE_THIRD_PARTY_AD_SERVER", +"PARTNER_COST_TYPE_TRUST_METRICS", +"PARTNER_COST_TYPE_VIZU", +"PARTNER_COST_TYPE_CUSTOM_FEE_1", +"PARTNER_COST_TYPE_CUSTOM_FEE_2", +"PARTNER_COST_TYPE_CUSTOM_FEE_3", +"PARTNER_COST_TYPE_CUSTOM_FEE_4", +"PARTNER_COST_TYPE_CUSTOM_FEE_5", +"PARTNER_COST_TYPE_SCIBIDS_FEE" +], +"enumDescriptions": [ +"Type value is not specified or is unknown in this version.", +"The cost is charged for using Scope3 (previously known as Adloox). Billed by the partner.", +"The cost is charged for using Scope3 (previously known as Adloox) Pre-Bid. Billed through DV360.", +"The cost is charged for using AdSafe. Billed by the partner.", +"The cost is charged for using AdExpose. Billed by the partner.", +"The cost is charged for using Aggregate Knowledge. Billed by the partner.", +"The cost is charged for using an Agency Trading Desk. Billed by the partner.", +"The cost is charged for using DV360. Billed through DV360.", +"The cost is charged for using comScore vCE. Billed through DV360.", +"The cost is charged for using a Data Management Platform. Billed by the partner.", +"The default cost type. Billed by the partner.", +"The cost is charged for using DoubleVerify. Billed by the partner.", +"The cost is charged for using DoubleVerify Pre-Bid. Billed through DV360.", +"The cost is charged for using Evidon. Billed by the partner.", +"The cost is charged for using Integral Ad Science Video. Billed by the partner.", +"The cost is charged for using Integral Ad Science Pre-Bid. Billed through DV360.", +"The cost is charged for using media cost data. Billed by the partner.", +"The cost is charged for using MOAT Video. Billed by the partner.", +"The cost is charged for using Nielsen Digital Ad Ratings. Billed through DV360.", +"The cost is charged for using ShopLocal. Billed by the partner.", +"The cost is charged for using Teracent. Billed by the partner.", +"The cost is charged for using a third-party ad server. Billed by the partner.", +"The cost is charged for using TrustMetrics. Billed by the partner.", +"The cost is charged for using Vizu. Billed by the partner.", +"The cost is charged as custom fee 1. Billed by the partner.", +"The cost is charged as custom fee 2. Billed by the partner.", +"The cost is charged as custom fee 3. Billed by the partner.", +"The cost is charged as custom fee 4. Billed by the partner.", +"The cost is charged as custom fee 5. Billed by the partner.", +"The cost is charged for using Scibids. Billed through DV360. This type is currently only available to certain customers. Other customers attempting to use this type will receive an error." +], +"type": "string" +}, +"feeAmount": { +"description": "The CPM fee amount in micros of advertiser's currency. Applicable when the fee_type is `PARTNER_FEE_TYPE_CPM_FEE`. Must be greater than or equal to 0. For example, for 1.5 standard unit of the advertiser's currency, set this field to 1500000.", +"format": "int64", +"type": "string" +}, +"feePercentageMillis": { +"description": "The media fee percentage in millis (1/1000 of a percent). Applicable when the fee_type is `PARTNER_FEE_TYPE_MEDIA_FEE`. Must be greater than or equal to 0. For example: 100 represents 0.1%.", +"format": "int64", +"type": "string" +}, +"feeType": { +"description": "Required. The fee type for this partner cost.", +"enum": [ +"PARTNER_COST_FEE_TYPE_UNSPECIFIED", +"PARTNER_COST_FEE_TYPE_CPM_FEE", +"PARTNER_COST_FEE_TYPE_MEDIA_FEE" +], +"enumDescriptions": [ +"Value is not specified or is unknown in this version.", +"The partner cost is a fixed CPM fee. Not applicable when the partner cost cost_type is one of: * `PARTNER_COST_TYPE_MEDIA_COST_DATA` * `PARTNER_COST_TYPE_DV360_FEE`.", +"The partner cost is a percentage surcharge based on the media cost. Not applicable when the partner cost_type is one of: * `PARTNER_COST_TYPE_SHOP_LOCAL` * `PARTNER_COST_TYPE_TRUST_METRICS` * `PARTNER_COST_TYPE_INTEGRAL_AD_SCIENCE_VIDEO` * `PARTNER_COST_TYPE_MOAT_VIDEO`." +], +"type": "string" +}, +"invoiceType": { +"description": "The invoice type for this partner cost. * Required when cost_type is one of: - `PARTNER_COST_TYPE_ADLOOX` - `PARTNER_COST_TYPE_DOUBLE_VERIFY` - `PARTNER_COST_TYPE_INTEGRAL_AD_SCIENCE`. * Output only for other types.", +"enum": [ +"PARTNER_COST_INVOICE_TYPE_UNSPECIFIED", +"PARTNER_COST_INVOICE_TYPE_DV360", +"PARTNER_COST_INVOICE_TYPE_PARTNER" +], +"enumDescriptions": [ +"Type value is not specified or is unknown in this version.", +"Partner cost is billed through DV360.", +"Partner cost is billed by the partner." +], +"type": "string" +} +}, +"type": "object" +}, +"PartnerDataAccessConfig": { +"description": "Settings that control how partner related data may be accessed.", +"id": "PartnerDataAccessConfig", +"properties": { +"sdfConfig": { +"$ref": "SdfConfig", +"description": "Structured Data Files (SDF) settings for the partner. The SDF configuration for the partner." +} +}, +"type": "object" +}, +"PartnerGeneralConfig": { +"description": "General settings of a partner.", +"id": "PartnerGeneralConfig", +"properties": { +"currencyCode": { +"description": "Immutable. Partner's currency in ISO 4217 format.", +"type": "string" +}, +"timeZone": { +"description": "Immutable. The standard TZ database name of the partner's time zone. For example, `America/New_York`. See more at: https://en.wikipedia.org/wiki/List_of_tz_database_time_zones", +"type": "string" +} +}, +"type": "object" +}, +"PartnerRevenueModel": { +"description": "Settings that control how partner revenue is calculated.", +"id": "PartnerRevenueModel", +"properties": { +"markupAmount": { +"description": "Required. The markup amount of the partner revenue model. Must be greater than or equal to 0. * When the markup_type is set to be `PARTNER_REVENUE_MODEL_MARKUP_TYPE_CPM`, this field represents the CPM markup in micros of advertiser's currency. For example, 1500000 represents 1.5 standard units of the currency. * When the markup_type is set to be `PARTNER_REVENUE_MODEL_MARKUP_TYPE_MEDIA_COST_MARKUP`, this field represents the media cost percent markup in millis. For example, 100 represents 0.1% (decimal 0.001). * When the markup_type is set to be `PARTNER_REVENUE_MODEL_MARKUP_TYPE_TOTAL_MEDIA_COST_MARKUP`, this field represents the total media cost percent markup in millis. For example, 100 represents 0.1% (decimal 0.001).", +"format": "int64", +"type": "string" +}, +"markupType": { +"description": "Required. The markup type of the partner revenue model.", +"enum": [ +"PARTNER_REVENUE_MODEL_MARKUP_TYPE_UNSPECIFIED", +"PARTNER_REVENUE_MODEL_MARKUP_TYPE_CPM", +"PARTNER_REVENUE_MODEL_MARKUP_TYPE_MEDIA_COST_MARKUP", +"PARTNER_REVENUE_MODEL_MARKUP_TYPE_TOTAL_MEDIA_COST_MARKUP" +], +"enumDeprecated": [ +false, +false, +true, +false +], +"enumDescriptions": [ +"Type value is not specified or is unknown in this version.", +"Calculate the partner revenue based on a fixed CPM.", +"Calculate the partner revenue based on a percentage surcharge of its media cost.", +"Calculate the partner revenue based on a percentage surcharge of its total media cost, which includes all partner costs and data costs." +], +"type": "string" +} +}, +"type": "object" +}, +"PerformanceGoal": { +"description": "Settings that control the performance goal of a campaign.", +"id": "PerformanceGoal", +"properties": { +"performanceGoalAmountMicros": { +"description": "The goal amount, in micros of the advertiser's currency. Applicable when performance_goal_type is one of: * `PERFORMANCE_GOAL_TYPE_CPM` * `PERFORMANCE_GOAL_TYPE_CPC` * `PERFORMANCE_GOAL_TYPE_CPA` * `PERFORMANCE_GOAL_TYPE_CPIAVC` * `PERFORMANCE_GOAL_TYPE_VCPM` For example 1500000 represents 1.5 standard units of the currency.", +"format": "int64", +"type": "string" +}, +"performanceGoalPercentageMicros": { +"description": "The decimal representation of the goal percentage in micros. Applicable when performance_goal_type is one of: * `PERFORMANCE_GOAL_TYPE_CTR` * `PERFORMANCE_GOAL_TYPE_VIEWABILITY` * `PERFORMANCE_GOAL_TYPE_CLICK_CVR` * `PERFORMANCE_GOAL_TYPE_IMPRESSION_CVR` * `PERFORMANCE_GOAL_TYPE_VTR` * `PERFORMANCE_GOAL_TYPE_AUDIO_COMPLETION_RATE` * `PERFORMANCE_GOAL_TYPE_VIDEO_COMPLETION_RATE` For example, 70000 represents 7% (decimal 0.07).", +"format": "int64", +"type": "string" +}, +"performanceGoalString": { +"description": "A key performance indicator (KPI) string, which can be empty. Must be UTF-8 encoded with a length of no more than 100 characters. Applicable when performance_goal_type is set to `PERFORMANCE_GOAL_TYPE_OTHER`.", +"type": "string" +}, +"performanceGoalType": { +"description": "Required. The type of the performance goal.", +"enum": [ +"PERFORMANCE_GOAL_TYPE_UNSPECIFIED", +"PERFORMANCE_GOAL_TYPE_CPM", +"PERFORMANCE_GOAL_TYPE_CPC", +"PERFORMANCE_GOAL_TYPE_CPA", +"PERFORMANCE_GOAL_TYPE_CTR", +"PERFORMANCE_GOAL_TYPE_VIEWABILITY", +"PERFORMANCE_GOAL_TYPE_CPIAVC", +"PERFORMANCE_GOAL_TYPE_CPE", +"PERFORMANCE_GOAL_TYPE_CPV", +"PERFORMANCE_GOAL_TYPE_CLICK_CVR", +"PERFORMANCE_GOAL_TYPE_IMPRESSION_CVR", +"PERFORMANCE_GOAL_TYPE_VCPM", +"PERFORMANCE_GOAL_TYPE_VTR", +"PERFORMANCE_GOAL_TYPE_AUDIO_COMPLETION_RATE", +"PERFORMANCE_GOAL_TYPE_VIDEO_COMPLETION_RATE", +"PERFORMANCE_GOAL_TYPE_OTHER" +], +"enumDescriptions": [ +"Performance goal type is not specified or is unknown in this version.", +"The performance goal is set in CPM (cost per mille).", +"The performance goal is set in CPC (cost per click).", +"The performance goal is set in CPA (cost per action).", +"The performance goal is set in CTR (click-through rate) percentage.", +"The performance goal is set in Viewability percentage.", +"The performance goal is set as CPIAVC (cost per impression audible and visible at completion).", +"The performance goal is set in CPE (cost per engagement).", +"The performance goal is set in CPV (cost per view).", +"The performance goal is set in click conversion rate (conversions per click) percentage.", +"The performance goal is set in impression conversion rate (conversions per impression) percentage.", +"The performance goal is set in VCPM (cost per thousand viewable impressions).", +"The performance goal is set in YouTube view rate (YouTube views per impression) percentage.", +"The performance goal is set in audio completion rate (complete audio listens per impression) percentage.", +"The performance goal is set in video completion rate (complete video views per impression) percentage.", +"The performance goal is set to Other." +], +"type": "string" +} +}, +"type": "object" +}, +"PerformanceGoalBidStrategy": { +"description": "A strategy that automatically adjusts the bid to meet or beat a specified performance goal.", +"id": "PerformanceGoalBidStrategy", +"properties": { +"customBiddingAlgorithmId": { +"description": "The ID of the Custom Bidding Algorithm used by this strategy. Only applicable when performance_goal_type is set to `BIDDING_STRATEGY_PERFORMANCE_GOAL_TYPE_CUSTOM_ALGO`. Assigning a custom bidding algorithm that uses floodlight activities not identified in floodlightActivityConfigs will return an error.", +"format": "int64", +"type": "string" +}, +"maxAverageCpmBidAmountMicros": { +"description": "The maximum average CPM that may be bid, in micros of the advertiser's currency. Must be greater than or equal to a billable unit of the given currency. Not applicable when performance_goal_type is set to `BIDDING_STRATEGY_PERFORMANCE_GOAL_TYPE_VIEWABLE_CPM`. For example, 1500000 represents 1.5 standard units of the currency.", +"format": "int64", +"type": "string" +}, +"performanceGoalAmountMicros": { +"description": "Required. The performance goal the bidding strategy will attempt to meet or beat, in micros of the advertiser's currency or in micro of the ROAS (Return On Advertising Spend) value which is also based on advertiser's currency. Must be greater than or equal to a billable unit of the given currency and smaller or equal to upper bounds. Each performance_goal_type has its upper bound: * when performance_goal_type is `BIDDING_STRATEGY_PERFORMANCE_GOAL_TYPE_CPA`, upper bound is 10000.00 USD. * when performance_goal_type is `BIDDING_STRATEGY_PERFORMANCE_GOAL_TYPE_CPC`, upper bound is 1000.00 USD. * when performance_goal_type is `BIDDING_STRATEGY_PERFORMANCE_GOAL_TYPE_VIEWABLE_CPM`, upper bound is 1000.00 USD. * when performance_goal_type is `BIDDING_STRATEGY_PERFORMANCE_GOAL_TYPE_CUSTOM_ALGO`, upper bound is 1000.00 and lower bound is 0.01. Example: If set to `BIDDING_STRATEGY_PERFORMANCE_GOAL_TYPE_VIEWABLE_CPM`, the bid price will be based on the probability that each available impression will be viewable. For example, if viewable CPM target is $2 and an impression is 40% likely to be viewable, the bid price will be $0.80 CPM (40% of $2). For example, 1500000 represents 1.5 standard units of the currency or ROAS value.", +"format": "int64", +"type": "string" +}, +"performanceGoalType": { +"description": "Required. The type of the performance goal that the bidding strategy will try to meet or beat. For line item level usage, the value must be one of: * `BIDDING_STRATEGY_PERFORMANCE_GOAL_TYPE_CPA` * `BIDDING_STRATEGY_PERFORMANCE_GOAL_TYPE_CPC` * `BIDDING_STRATEGY_PERFORMANCE_GOAL_TYPE_VIEWABLE_CPM` * `BIDDING_STRATEGY_PERFORMANCE_GOAL_TYPE_CUSTOM_ALGO`.", +"enum": [ +"BIDDING_STRATEGY_PERFORMANCE_GOAL_TYPE_UNSPECIFIED", +"BIDDING_STRATEGY_PERFORMANCE_GOAL_TYPE_CPA", +"BIDDING_STRATEGY_PERFORMANCE_GOAL_TYPE_CPC", +"BIDDING_STRATEGY_PERFORMANCE_GOAL_TYPE_VIEWABLE_CPM", +"BIDDING_STRATEGY_PERFORMANCE_GOAL_TYPE_CUSTOM_ALGO", +"BIDDING_STRATEGY_PERFORMANCE_GOAL_TYPE_CIVA", +"BIDDING_STRATEGY_PERFORMANCE_GOAL_TYPE_IVO_TEN", +"BIDDING_STRATEGY_PERFORMANCE_GOAL_TYPE_AV_VIEWED", +"BIDDING_STRATEGY_PERFORMANCE_GOAL_TYPE_REACH" +], +"enumDescriptions": [ +"Type value is not specified or is unknown in this version.", +"Cost per action.", +"Cost per click.", +"Viewable CPM.", +"Custom bidding algorithm.", +"Completed inview and audible views.", +"Inview time over 10 secs views.", +"Viewable impressions.", +"Maximize reach." +], +"type": "string" +} +}, +"type": "object" +}, +"PoiAssignedTargetingOptionDetails": { +"description": "Details for assigned POI targeting option. This will be populated in the details field of an AssignedTargetingOption when targeting_type is `TARGETING_TYPE_POI`.", +"id": "PoiAssignedTargetingOptionDetails", +"properties": { +"displayName": { +"description": "Output only. The display name of a POI, e.g. \"Times Square\", \"Space Needle\", followed by its full address if available.", +"readOnly": true, +"type": "string" +}, +"latitude": { +"description": "Output only. Latitude of the POI rounding to 6th decimal place.", +"format": "double", +"readOnly": true, +"type": "number" +}, +"longitude": { +"description": "Output only. Longitude of the POI rounding to 6th decimal place.", +"format": "double", +"readOnly": true, +"type": "number" +}, +"proximityRadiusAmount": { +"description": "Required. The radius of the area around the POI that will be targeted. The units of the radius are specified by proximity_radius_unit. Must be 1 to 800 if unit is `DISTANCE_UNIT_KILOMETERS` and 1 to 500 if unit is `DISTANCE_UNIT_MILES`.", +"format": "double", +"type": "number" +}, +"proximityRadiusUnit": { +"description": "Required. The unit of distance by which the targeting radius is measured.", +"enum": [ +"DISTANCE_UNIT_UNSPECIFIED", +"DISTANCE_UNIT_MILES", +"DISTANCE_UNIT_KILOMETERS" +], +"enumDescriptions": [ +"Type value is not specified or is unknown in this version.", +"Miles.", +"Kilometers." +], +"type": "string" +}, +"targetingOptionId": { +"description": "Required. The targeting_option_id of a TargetingOption of type `TARGETING_TYPE_POI`. Accepted POI targeting option IDs can be retrieved using `targetingTypes.targetingOptions.search`. If targeting a specific latitude/longitude coordinate removed from an address or POI name, you can generate the necessary targeting option ID by rounding the desired coordinate values to the 6th decimal place, removing the decimals, and concatenating the string values separated by a semicolon. For example, you can target the latitude/longitude pair of 40.7414691, -74.003387 using the targeting option ID \"40741469;-74003387\". **Upon** **creation, this field value will be updated to append a semicolon and** **alphanumerical hash value if only latitude/longitude coordinates are** **provided.**", +"type": "string" +} +}, +"type": "object" +}, +"PoiSearchTerms": { +"description": "Search terms for POI targeting options.", +"id": "PoiSearchTerms", +"properties": { +"poiQuery": { +"description": "The search query for the desired POI name, street address, or coordinate of the desired POI. The query can be a prefix, e.g. \"Times squar\", \"40.7505045,-73.99562\", \"315 W 44th St\", etc.", +"type": "string" +} +}, +"type": "object" +}, +"PoiTargetingOptionDetails": { +"description": "Represents a targetable point of interest(POI). This will be populated in the poi_details field when targeting_type is `TARGETING_TYPE_POI`.", +"id": "PoiTargetingOptionDetails", +"properties": { +"displayName": { +"description": "Output only. The display name of a POI(e.g. \"Times Square\", \"Space Needle\"), followed by its full address if available.", +"readOnly": true, +"type": "string" +}, +"latitude": { +"description": "Output only. Latitude of the POI rounding to 6th decimal place.", +"format": "double", +"readOnly": true, +"type": "number" +}, +"longitude": { +"description": "Output only. Longitude of the POI rounding to 6th decimal place.", +"format": "double", +"readOnly": true, +"type": "number" +} +}, +"type": "object" +}, +"PrismaConfig": { +"description": "Settings specific to the Mediaocean Prisma tool.", +"id": "PrismaConfig", +"properties": { +"prismaCpeCode": { +"$ref": "PrismaCpeCode", +"description": "Required. Relevant client, product, and estimate codes from the Mediaocean Prisma tool." +}, +"prismaType": { +"description": "Required. The Prisma type.", +"enum": [ +"PRISMA_TYPE_UNSPECIFIED", +"PRISMA_TYPE_DISPLAY", +"PRISMA_TYPE_SEARCH", +"PRISMA_TYPE_VIDEO", +"PRISMA_TYPE_AUDIO", +"PRISMA_TYPE_SOCIAL", +"PRISMA_TYPE_FEE" +], +"enumDescriptions": [ +"Type is not specified or unknown in this version.", +"Display type.", +"Search type.", +"Video type.", +"Audio type.", +"Social type.", +"Fee type." +], +"type": "string" +}, +"supplier": { +"description": "Required. The entity allocated this budget (DSP, site, etc.).", +"type": "string" +} +}, +"type": "object" +}, +"PrismaCpeCode": { +"description": "Google Payments Center supports searching and filtering on the component fields of this code.", +"id": "PrismaCpeCode", +"properties": { +"prismaClientCode": { +"description": "The Prisma client code.", +"type": "string" +}, +"prismaEstimateCode": { +"description": "The Prisma estimate code.", +"type": "string" +}, +"prismaProductCode": { +"description": "The Prisma product code.", +"type": "string" +} +}, +"type": "object" +}, +"ProductFeedData": { +"description": "The details of product feed.", +"id": "ProductFeedData", +"properties": { +"isFeedDisabled": { +"description": "Whether the product feed has opted-out of showing products.", +"type": "boolean" +}, +"productMatchDimensions": { +"description": "A list of dimensions used to match products.", +"items": { +"$ref": "ProductMatchDimension" +}, +"type": "array" +}, +"productMatchType": { +"description": "How products are selected by the product feed.", +"enum": [ +"PRODUCT_MATCH_TYPE_UNSPECIFIED", +"PRODUCT_MATCH_TYPE_ALL_PRODUCTS", +"PRODUCT_MATCH_TYPE_SPECIFIC_PRODUCTS", +"PRODUCT_MATCH_TYPE_CUSTOM_LABEL" +], +"enumDescriptions": [ +"Not specified or unknown.", +"All the products are matched.", +"Specific products are selected.", +"Match products by their custom labels." +], +"type": "string" +} +}, +"type": "object" +}, +"ProductMatchDimension": { +"description": "A dimension used to match products.", +"id": "ProductMatchDimension", +"properties": { +"customLabel": { +"$ref": "CustomLabel", +"description": "The custom label to match all the products with the label." +}, +"productOfferId": { +"description": "The ID of the product offer to match with a product with the same offer ID.", +"type": "string" +} +}, +"type": "object" +}, +"ProximityLocationListAssignedTargetingOptionDetails": { +"description": "Targeting details for proximity location list. This will be populated in the details field of an AssignedTargetingOption when targeting_type is `TARGETING_TYPE_PROXIMITY_LOCATION_LIST`.", +"id": "ProximityLocationListAssignedTargetingOptionDetails", +"properties": { +"proximityLocationListId": { +"description": "Required. ID of the proximity location list. Should refer to the location_list_id field of a LocationList resource whose type is `TARGETING_LOCATION_TYPE_PROXIMITY`.", +"format": "int64", +"type": "string" +}, +"proximityRadius": { +"description": "Required. Radius expressed in the distance units set in proximity_radius_unit. This represents the size of the area around a chosen location that will be targeted. Radius should be between 1 and 500 miles or 800 kilometers.", +"format": "double", +"type": "number" +}, +"proximityRadiusUnit": { +"description": "Required. Radius distance units.", +"enum": [ +"PROXIMITY_RADIUS_UNIT_UNSPECIFIED", +"PROXIMITY_RADIUS_UNIT_MILES", +"PROXIMITY_RADIUS_UNIT_KILOMETERS" +], +"enumDescriptions": [ +"Default value when distance units is not specified in this version. This enum is a place holder for default value and does not represent a real distance unit.", +"Radius distance unit in miles.", +"Radius distance unit in kilometeres" +], +"type": "string" +} +}, +"type": "object" +}, +"RateDetails": { +"description": "The rate related settings of the inventory source.", +"id": "RateDetails", +"properties": { +"inventorySourceRateType": { +"description": "The rate type. Acceptable values are `INVENTORY_SOURCE_RATE_TYPE_CPM_FIXED`, `INVENTORY_SOURCE_RATE_TYPE_CPM_FLOOR`, and `INVENTORY_SOURCE_RATE_TYPE_CPD`.", +"enum": [ +"INVENTORY_SOURCE_RATE_TYPE_UNSPECIFIED", +"INVENTORY_SOURCE_RATE_TYPE_CPM_FIXED", +"INVENTORY_SOURCE_RATE_TYPE_CPM_FLOOR", +"INVENTORY_SOURCE_RATE_TYPE_CPD", +"INVENTORY_SOURCE_RATE_TYPE_CPH", +"INVENTORY_SOURCE_RATE_TYPE_FLAT" +], +"enumDescriptions": [ +"The rate type is not specified or is unknown in this version.", +"The rate type is CPM (Fixed).", +"The rate type is CPM (Floor).", +"The rate type is Cost per Day.", +"The rate type is Cost per Hour.", +"The rate type is Flat." +], +"type": "string" +}, +"minimumSpend": { +"$ref": "Money", +"description": "Output only. The amount that the buyer has committed to spending on the inventory source up front. Only applicable for guaranteed inventory sources.", +"readOnly": true +}, +"rate": { +"$ref": "Money", +"description": "The rate for the inventory source." +}, +"unitsPurchased": { +"description": "Required for guaranteed inventory sources. The number of impressions guaranteed by the seller.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"RegionalLocationListAssignedTargetingOptionDetails": { +"description": "Targeting details for regional location list. This will be populated in the details field of an AssignedTargetingOption when targeting_type is `TARGETING_TYPE_REGIONAL_LOCATION_LIST`.", +"id": "RegionalLocationListAssignedTargetingOptionDetails", +"properties": { +"negative": { +"description": "Indicates if this option is being negatively targeted.", +"type": "boolean" +}, +"regionalLocationListId": { +"description": "Required. ID of the regional location list. Should refer to the location_list_id field of a LocationList resource whose type is `TARGETING_LOCATION_TYPE_REGIONAL`.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"RemarketingConfig": { +"description": "Settings that control the whether remarketing is enabled for the given identified advertiser.", +"id": "RemarketingConfig", +"properties": { +"advertiserId": { +"description": "Output only. The ID of the advertiser.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"remarketingEnabled": { +"description": "Output only. Whether the Floodlight activity remarketing user list is available to the identified advertiser.", +"readOnly": true, +"type": "boolean" +} +}, +"type": "object" +}, +"ReplaceNegativeKeywordsRequest": { +"description": "Request message for NegativeKeywordService.ReplaceNegativeKeywords.", +"id": "ReplaceNegativeKeywordsRequest", +"properties": { +"newNegativeKeywords": { +"description": "The negative keywords that will replace the existing keywords in the negative keyword list, specified as a list of NegativeKeywords.", +"items": { +"$ref": "NegativeKeyword" +}, +"type": "array" +} +}, +"type": "object" +}, +"ReplaceNegativeKeywordsResponse": { +"description": "Response message for NegativeKeywordService.ReplaceNegativeKeywords.", +"id": "ReplaceNegativeKeywordsResponse", +"properties": { +"negativeKeywords": { +"description": "The full list of negative keywords now present in the negative keyword list.", +"items": { +"$ref": "NegativeKeyword" +}, +"type": "array" +} +}, +"type": "object" +}, +"ReplaceSitesRequest": { +"description": "Request message for SiteService.ReplaceSites.", +"id": "ReplaceSitesRequest", +"properties": { +"advertiserId": { +"description": "The ID of the advertiser that owns the parent channel.", +"format": "int64", +"type": "string" +}, +"newSites": { +"description": "The sites that will replace the existing sites assigned to the channel, specified as a list of Sites.", +"items": { +"$ref": "Site" +}, +"type": "array" +}, +"partnerId": { +"description": "The ID of the partner that owns the parent channel.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"ReplaceSitesResponse": { +"description": "Response message for SiteService.ReplaceSites.", +"id": "ReplaceSitesResponse", +"properties": { +"sites": { +"description": "The list of sites in the channel after replacing.", +"items": { +"$ref": "Site" +}, +"type": "array" +} +}, +"type": "object" +}, +"ReviewStatusInfo": { +"description": "Review statuses for the creative.", +"id": "ReviewStatusInfo", +"properties": { +"approvalStatus": { +"description": "Represents the basic approval needed for a creative to begin serving. Summary of creative_and_landing_page_review_status and content_and_policy_review_status.", +"enum": [ +"APPROVAL_STATUS_UNSPECIFIED", +"APPROVAL_STATUS_PENDING_NOT_SERVABLE", +"APPROVAL_STATUS_PENDING_SERVABLE", +"APPROVAL_STATUS_APPROVED_SERVABLE", +"APPROVAL_STATUS_REJECTED_NOT_SERVABLE" +], +"enumDescriptions": [ +"Type value is not specified or is unknown in this version.", +"The creative is still under review and not servable.", +"The creative has passed creative & landing page review and is servable, but is awaiting additional content & policy review.", +"Both creative & landing page review and content & policy review are approved. The creative is servable.", +"There is an issue with the creative that must be fixed before it can serve." +], +"type": "string" +}, +"contentAndPolicyReviewStatus": { +"description": "Content and policy review status for the creative.", +"enum": [ +"REVIEW_STATUS_UNSPECIFIED", +"REVIEW_STATUS_APPROVED", +"REVIEW_STATUS_REJECTED", +"REVIEW_STATUS_PENDING" +], +"enumDescriptions": [ +"Type value is not specified or is unknown in this version.", +"The creative is approved.", +"The creative is rejected.", +"The creative is pending review." +], +"type": "string" +}, +"creativeAndLandingPageReviewStatus": { +"description": "Creative and landing page review status for the creative.", +"enum": [ +"REVIEW_STATUS_UNSPECIFIED", +"REVIEW_STATUS_APPROVED", +"REVIEW_STATUS_REJECTED", +"REVIEW_STATUS_PENDING" +], +"enumDescriptions": [ +"Type value is not specified or is unknown in this version.", +"The creative is approved.", +"The creative is rejected.", +"The creative is pending review." +], +"type": "string" +}, +"exchangeReviewStatuses": { +"description": "Exchange review statuses for the creative.", +"items": { +"$ref": "ExchangeReviewStatus" +}, +"type": "array" +} +}, +"type": "object" +}, +"ScriptError": { +"description": "An error message for a custom bidding script.", +"id": "ScriptError", +"properties": { +"column": { +"description": "The column number in the script where the error was thrown.", +"format": "int64", +"type": "string" +}, +"errorCode": { +"description": "The type of error.", +"enum": [ +"ERROR_CODE_UNSPECIFIED", +"SYNTAX_ERROR", +"DEPRECATED_SYNTAX", +"INTERNAL_ERROR" +], +"enumDescriptions": [ +"The script error is not specified or is unknown in this version.", +"The script has a syntax error.", +"The script uses deprecated syntax.", +"Internal errors were thrown while processing the script." +], +"type": "string" +}, +"errorMessage": { +"description": "The detailed error message.", +"type": "string" +}, +"line": { +"description": "The line number in the script where the error was thrown.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"SdfConfig": { +"description": "Structured Data File (SDF) related settings.", +"id": "SdfConfig", +"properties": { +"adminEmail": { +"description": "An administrator email address to which the SDF processing status reports will be sent.", +"type": "string" +}, +"version": { +"description": "Required. The version of SDF being used.", +"enum": [ +"SDF_VERSION_UNSPECIFIED", +"SDF_VERSION_3_1", +"SDF_VERSION_4", +"SDF_VERSION_4_1", +"SDF_VERSION_4_2", +"SDF_VERSION_5", +"SDF_VERSION_5_1", +"SDF_VERSION_5_2", +"SDF_VERSION_5_3", +"SDF_VERSION_5_4", +"SDF_VERSION_5_5", +"SDF_VERSION_6", +"SDF_VERSION_7", +"SDF_VERSION_7_1", +"SDF_VERSION_8", +"SDF_VERSION_8_1", +"SDF_VERSION_9", +"SDF_VERSION_9_1", +"SDF_VERSION_9_2" +], +"enumDeprecated": [ +false, +true, +true, +true, +true, +true, +true, +true, +true, +true, +true, +true, +true, +false, +false, +false, +false, +false, +false +], +"enumDescriptions": [ +"SDF version value is not specified or is unknown in this version.", +"SDF version 3.1", +"SDF version 4", +"SDF version 4.1", +"SDF version 4.2", +"SDF version 5.", +"SDF version 5.1", +"SDF version 5.2", +"SDF version 5.3", +"SDF version 5.4", +"SDF version 5.5", +"SDF version 6", +"SDF version 7. Read the [v7 migration guide](/display-video/api/structured-data-file/v7-migration-guide) before migrating to this version.", +"SDF version 7.1. Read the [v7 migration guide](/display-video/api/structured-data-file/v7-migration-guide) before migrating to this version.", +"SDF version 8. Read the [v8 migration guide](/display-video/api/structured-data-file/v8-migration-guide) before migrating to this version.", +"SDF version 8.1.", +"SDF version 9. Read the [v9 migration guide](/display-video/api/structured-data-file/v9-migration-guide) before migrating to this version.", +"SDF version 9.1.", +"SDF version 9.2." +], +"type": "string" +} +}, +"type": "object" +}, +"SdfDownloadTask": { +"description": "Type for the response returned by SdfDownloadTaskService.CreateSdfDownloadTask.", +"id": "SdfDownloadTask", +"properties": { +"resourceName": { +"description": "A resource name to be used in media.download to Download the prepared files. Resource names have the format `download/sdfdownloadtasks/media/{media_id}`. `media_id` will be made available by the long running operation service once the task status is done.", +"type": "string" +} +}, +"type": "object" +}, +"SdfDownloadTaskMetadata": { +"description": "Type for the metadata returned by SdfDownloadTaskService.CreateSdfDownloadTask.", +"id": "SdfDownloadTaskMetadata", +"properties": { +"createTime": { +"description": "The time when the operation was created.", +"format": "google-datetime", +"type": "string" +}, +"endTime": { +"description": "The time when execution was completed.", +"format": "google-datetime", +"type": "string" +}, +"version": { +"description": "The SDF version used to execute this download task.", +"enum": [ +"SDF_VERSION_UNSPECIFIED", +"SDF_VERSION_3_1", +"SDF_VERSION_4", +"SDF_VERSION_4_1", +"SDF_VERSION_4_2", +"SDF_VERSION_5", +"SDF_VERSION_5_1", +"SDF_VERSION_5_2", +"SDF_VERSION_5_3", +"SDF_VERSION_5_4", +"SDF_VERSION_5_5", +"SDF_VERSION_6", +"SDF_VERSION_7", +"SDF_VERSION_7_1", +"SDF_VERSION_8", +"SDF_VERSION_8_1", +"SDF_VERSION_9", +"SDF_VERSION_9_1", +"SDF_VERSION_9_2" +], +"enumDeprecated": [ +false, +true, +true, +true, +true, +true, +true, +true, +true, +true, +true, +true, +true, +false, +false, +false, +false, +false, +false +], +"enumDescriptions": [ +"SDF version value is not specified or is unknown in this version.", +"SDF version 3.1", +"SDF version 4", +"SDF version 4.1", +"SDF version 4.2", +"SDF version 5.", +"SDF version 5.1", +"SDF version 5.2", +"SDF version 5.3", +"SDF version 5.4", +"SDF version 5.5", +"SDF version 6", +"SDF version 7. Read the [v7 migration guide](/display-video/api/structured-data-file/v7-migration-guide) before migrating to this version.", +"SDF version 7.1. Read the [v7 migration guide](/display-video/api/structured-data-file/v7-migration-guide) before migrating to this version.", +"SDF version 8. Read the [v8 migration guide](/display-video/api/structured-data-file/v8-migration-guide) before migrating to this version.", +"SDF version 8.1.", +"SDF version 9. Read the [v9 migration guide](/display-video/api/structured-data-file/v9-migration-guide) before migrating to this version.", +"SDF version 9.1.", +"SDF version 9.2." +], +"type": "string" +} +}, +"type": "object" +}, +"SearchTargetingOptionsRequest": { +"description": "Request message for SearchTargetingOptions.", +"id": "SearchTargetingOptionsRequest", +"properties": { +"advertiserId": { +"description": "Required. The Advertiser this request is being made in the context of.", +"format": "int64", +"type": "string" +}, +"businessChainSearchTerms": { +"$ref": "BusinessChainSearchTerms", +"description": "Search terms for Business Chain targeting options. Can only be used when targeting_type is `TARGETING_TYPE_BUSINESS_CHAIN`." +}, +"geoRegionSearchTerms": { +"$ref": "GeoRegionSearchTerms", +"description": "Search terms for geo region targeting options. Can only be used when targeting_type is `TARGETING_TYPE_GEO_REGION`." +}, +"pageSize": { +"description": "Requested page size. Must be between `1` and `200`. If unspecified will default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value is specified.", +"format": "int32", +"type": "integer" +}, +"pageToken": { +"description": "A token identifying a page of results the server should return. Typically, this is the value of next_page_token returned from the previous call to `SearchTargetingOptions` method. If not specified, the first page of results will be returned.", +"type": "string" +}, +"poiSearchTerms": { +"$ref": "PoiSearchTerms", +"description": "Search terms for POI targeting options. Can only be used when targeting_type is `TARGETING_TYPE_POI`." +} +}, +"type": "object" +}, +"SearchTargetingOptionsResponse": { +"description": "Response message for SearchTargetingOptions.", +"id": "SearchTargetingOptionsResponse", +"properties": { +"nextPageToken": { +"description": "A token to retrieve the next page of results. Pass this value in the page_token field in the subsequent call to `SearchTargetingOptions` method to retrieve the next page of results.", +"type": "string" +}, +"targetingOptions": { +"description": "The list of targeting options that match the search criteria. This list will be absent if empty.", +"items": { +"$ref": "TargetingOption" +}, +"type": "array" +} +}, +"type": "object" +}, +"SensitiveCategoryAssignedTargetingOptionDetails": { +"description": "Targeting details for sensitive category. This will be populated in the details field of an AssignedTargetingOption when targeting_type is `TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION`.", +"id": "SensitiveCategoryAssignedTargetingOptionDetails", +"properties": { +"excludedSensitiveCategory": { +"description": "Required. An enum for the DV360 Sensitive category content classified to be EXCLUDED.", +"enum": [ +"SENSITIVE_CATEGORY_UNSPECIFIED", +"SENSITIVE_CATEGORY_ADULT", +"SENSITIVE_CATEGORY_DEROGATORY", +"SENSITIVE_CATEGORY_DOWNLOADS_SHARING", +"SENSITIVE_CATEGORY_WEAPONS", +"SENSITIVE_CATEGORY_GAMBLING", +"SENSITIVE_CATEGORY_VIOLENCE", +"SENSITIVE_CATEGORY_SUGGESTIVE", +"SENSITIVE_CATEGORY_PROFANITY", +"SENSITIVE_CATEGORY_ALCOHOL", +"SENSITIVE_CATEGORY_DRUGS", +"SENSITIVE_CATEGORY_TOBACCO", +"SENSITIVE_CATEGORY_POLITICS", +"SENSITIVE_CATEGORY_RELIGION", +"SENSITIVE_CATEGORY_TRAGEDY", +"SENSITIVE_CATEGORY_TRANSPORTATION_ACCIDENTS", +"SENSITIVE_CATEGORY_SENSITIVE_SOCIAL_ISSUES", +"SENSITIVE_CATEGORY_SHOCKING", +"SENSITIVE_CATEGORY_EMBEDDED_VIDEO", +"SENSITIVE_CATEGORY_LIVE_STREAMING_VIDEO" +], +"enumDescriptions": [ +"This enum is only a placeholder and doesn't specify a DV360 sensitive category.", +"Adult or pornographic text, image, or video content.", +"Content that may be construed as biased against individuals, groups, or organizations based on criteria such as race, religion, disability, sex, age, veteran status, sexual orientation, gender identity, or political affiliation. May also indicate discussion of such content, for instance, in an academic or journalistic context.", +"Content related to audio, video, or software downloads.", +"Contains content related to personal weapons, including knives, guns, small firearms, and ammunition. Selecting either \"weapons\" or \"sensitive social issues\" will result in selecting both.", +"Contains content related to betting or wagering in a real-world or online setting.", +"Content which may be considered graphically violent, gory, gruesome, or shocking, such as street fighting videos, accident photos, descriptions of torture, etc.", +"Adult content, as well as suggestive content that's not explicitly pornographic. This category includes all pages categorized as adult.", +"Prominent use of words considered indecent, such as curse words and sexual slang. Pages with only very occasional usage, such as news sites that might include such words in a quotation, are not included.", +"Contains content related to alcoholic beverages, alcohol brands, recipes, etc.", +"Contains content related to the recreational use of legal or illegal drugs, as well as to drug paraphernalia or cultivation.", +"Contains content related to tobacco and tobacco accessories, including lighters, humidors, ashtrays, etc.", +"Political news and media, including discussions of social, governmental, and public policy.", +"Content related to religious thought or beliefs.", +"Content related to death, disasters, accidents, war, etc.", +"Content related to motor vehicle, aviation or other transportation accidents.", +"Issues that evoke strong, opposing views and spark debate. These include issues that are controversial in most countries and markets (such as abortion), as well as those that are controversial in specific countries and markets (such as immigration reform in the United States).", +"Content which may be considered shocking or disturbing, such as violent news stories, stunts, or toilet humor.", +"YouTube videos embedded on websites outside of YouTube.com.", +"Video of live events streamed over the internet." +], +"type": "string" +} +}, +"type": "object" +}, +"SensitiveCategoryTargetingOptionDetails": { +"description": "Represents a targetable sensitive category. This will be populated in the sensitive_category_details field of the TargetingOption when targeting_type is `TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION`.", +"id": "SensitiveCategoryTargetingOptionDetails", +"properties": { +"sensitiveCategory": { +"description": "Output only. An enum for the DV360 Sensitive category content classifier.", +"enum": [ +"SENSITIVE_CATEGORY_UNSPECIFIED", +"SENSITIVE_CATEGORY_ADULT", +"SENSITIVE_CATEGORY_DEROGATORY", +"SENSITIVE_CATEGORY_DOWNLOADS_SHARING", +"SENSITIVE_CATEGORY_WEAPONS", +"SENSITIVE_CATEGORY_GAMBLING", +"SENSITIVE_CATEGORY_VIOLENCE", +"SENSITIVE_CATEGORY_SUGGESTIVE", +"SENSITIVE_CATEGORY_PROFANITY", +"SENSITIVE_CATEGORY_ALCOHOL", +"SENSITIVE_CATEGORY_DRUGS", +"SENSITIVE_CATEGORY_TOBACCO", +"SENSITIVE_CATEGORY_POLITICS", +"SENSITIVE_CATEGORY_RELIGION", +"SENSITIVE_CATEGORY_TRAGEDY", +"SENSITIVE_CATEGORY_TRANSPORTATION_ACCIDENTS", +"SENSITIVE_CATEGORY_SENSITIVE_SOCIAL_ISSUES", +"SENSITIVE_CATEGORY_SHOCKING", +"SENSITIVE_CATEGORY_EMBEDDED_VIDEO", +"SENSITIVE_CATEGORY_LIVE_STREAMING_VIDEO" +], +"enumDescriptions": [ +"This enum is only a placeholder and doesn't specify a DV360 sensitive category.", +"Adult or pornographic text, image, or video content.", +"Content that may be construed as biased against individuals, groups, or organizations based on criteria such as race, religion, disability, sex, age, veteran status, sexual orientation, gender identity, or political affiliation. May also indicate discussion of such content, for instance, in an academic or journalistic context.", +"Content related to audio, video, or software downloads.", +"Contains content related to personal weapons, including knives, guns, small firearms, and ammunition. Selecting either \"weapons\" or \"sensitive social issues\" will result in selecting both.", +"Contains content related to betting or wagering in a real-world or online setting.", +"Content which may be considered graphically violent, gory, gruesome, or shocking, such as street fighting videos, accident photos, descriptions of torture, etc.", +"Adult content, as well as suggestive content that's not explicitly pornographic. This category includes all pages categorized as adult.", +"Prominent use of words considered indecent, such as curse words and sexual slang. Pages with only very occasional usage, such as news sites that might include such words in a quotation, are not included.", +"Contains content related to alcoholic beverages, alcohol brands, recipes, etc.", +"Contains content related to the recreational use of legal or illegal drugs, as well as to drug paraphernalia or cultivation.", +"Contains content related to tobacco and tobacco accessories, including lighters, humidors, ashtrays, etc.", +"Political news and media, including discussions of social, governmental, and public policy.", +"Content related to religious thought or beliefs.", +"Content related to death, disasters, accidents, war, etc.", +"Content related to motor vehicle, aviation or other transportation accidents.", +"Issues that evoke strong, opposing views and spark debate. These include issues that are controversial in most countries and markets (such as abortion), as well as those that are controversial in specific countries and markets (such as immigration reform in the United States).", +"Content which may be considered shocking or disturbing, such as violent news stories, stunts, or toilet humor.", +"YouTube videos embedded on websites outside of YouTube.com.", +"Video of live events streamed over the internet." +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"SessionPositionAssignedTargetingOptionDetails": { +"description": "Details for session position assigned targeting option. This will be populated in the session_position_details field when targeting_type is `TARGETING_TYPE_SESSION_POSITION`.", +"id": "SessionPositionAssignedTargetingOptionDetails", +"properties": { +"sessionPosition": { +"description": "The position where the ad will show in a session.", +"enum": [ +"SESSION_POSITION_UNSPECIFIED", +"SESSION_POSITION_FIRST_IMPRESSION" +], +"enumDescriptions": [ +"This is a placeholder, does not indicate any positions.", +"The first impression of the session." +], +"type": "string" +} +}, +"type": "object" +}, +"Site": { +"description": "A single site. Sites are apps or websites belonging to a channel.", +"id": "Site", +"properties": { +"name": { +"description": "Output only. The resource name of the site.", +"readOnly": true, +"type": "string" +}, +"urlOrAppId": { +"description": "Required. The app ID or URL of the site. Must be UTF-8 encoded with a maximum length of 240 bytes.", +"type": "string" +} +}, +"type": "object" +}, +"Status": { +"description": "The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors).", +"id": "Status", +"properties": { +"code": { +"description": "The status code, which should be an enum value of google.rpc.Code.", +"format": "int32", +"type": "integer" +}, +"details": { +"description": "A list of messages that carry the error details. There is a common set of message types for APIs to use.", +"items": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.", +"type": "string" +} +}, +"type": "object" +}, +"SubExchangeAssignedTargetingOptionDetails": { +"description": "Details for assigned sub-exchange targeting option. This will be populated in the details field of an AssignedTargetingOption when targeting_type is `TARGETING_TYPE_SUB_EXCHANGE`.", +"id": "SubExchangeAssignedTargetingOptionDetails", +"properties": { +"targetingOptionId": { +"description": "Required. The targeting_option_id of a TargetingOption of type `TARGETING_TYPE_SUB_EXCHANGE`.", +"type": "string" +} +}, +"type": "object" +}, +"SubExchangeTargetingOptionDetails": { +"description": "Represents a targetable sub-exchange. This will be populated in the sub_exchange_details field of a TargetingOption when targeting_type is `TARGETING_TYPE_SUB_EXCHANGE`.", +"id": "SubExchangeTargetingOptionDetails", +"properties": { +"displayName": { +"description": "Output only. The display name of the sub-exchange.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"TargetFrequency": { +"description": "Setting that controls the average number of times the ads will show to the same person over a certain period of time.", +"id": "TargetFrequency", +"properties": { +"targetCount": { +"description": "The target number of times, on average, the ads will be shown to the same person in the timespan dictated by time_unit and time_unit_count.", +"format": "int64", +"type": "string" +}, +"timeUnit": { +"description": "The unit of time in which the target frequency will be applied. The following time unit is applicable: * `TIME_UNIT_WEEKS`", +"enum": [ +"TIME_UNIT_UNSPECIFIED", +"TIME_UNIT_LIFETIME", +"TIME_UNIT_MONTHS", +"TIME_UNIT_WEEKS", +"TIME_UNIT_DAYS", +"TIME_UNIT_HOURS", +"TIME_UNIT_MINUTES" +], +"enumDeprecated": [ +false, +true, +false, +false, +false, +false, +false +], +"enumDescriptions": [ +"Time unit value is not specified or is unknown in this version.", +"The frequency cap will be applied to the whole life time of the line item.", +"The frequency cap will be applied to a number of months.", +"The frequency cap will be applied to a number of weeks.", +"The frequency cap will be applied to a number of days.", +"The frequency cap will be applied to a number of hours.", +"The frequency cap will be applied to a number of minutes." +], +"type": "string" +}, +"timeUnitCount": { +"description": "The number of time_unit the target frequency will last. The following restrictions apply based on the value of time_unit: * `TIME_UNIT_WEEKS` - must be 1", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"TargetingExpansionConfig": { +"description": "Settings that control the [optimized targeting](//support.google.com/displayvideo/answer/12060859) settings of the line item.", +"id": "TargetingExpansionConfig", +"properties": { +"audienceExpansionLevel": { +"description": "Output only. Magnitude of expansion for eligible first-party user lists under this ad group. This field only applies to YouTube and Partners line item and ad group resources.", +"enum": [ +"UNKNOWN", +"NO_REACH", +"LEAST_REACH", +"MID_REACH", +"MOST_REACH" +], +"enumDescriptions": [ +"Audience expansion level is not specified or is unknown in this version.", +"Audience expansion off.", +"Conservative audience expansion.", +"Moderate audience expansion.", +"Aggressive audience expansion." +], +"readOnly": true, +"type": "string" +}, +"audienceExpansionSeedListExcluded": { +"description": "Output only. Whether to exclude seed list for audience expansion. This field only applies to YouTube and Partners line item and ad group resources.", +"readOnly": true, +"type": "boolean" +}, +"enableOptimizedTargeting": { +"description": "Required. Whether to enable Optimized Targeting for the line item. Optimized targeting is not compatible with all bid strategies. Attempting to set this field to `true` for a line item using the BiddingStrategy field fixed_bid or one of the following combinations of BiddingStrategy fields and BiddingStrategyPerformanceGoalType will result in an error: maximize_auto_spend_bid: * `BIDDING_STRATEGY_PERFORMANCE_GOAL_TYPE_CIVA` * `BIDDING_STRATEGY_PERFORMANCE_GOAL_TYPE_IVO_TEN` * `BIDDING_STRATEGY_PERFORMANCE_GOAL_TYPE_AV_VIEWED` performance_goal_auto_bid: * `BIDDING_STRATEGY_PERFORMANCE_GOAL_TYPE_VIEWABLE_CPM` This also applies if the line item inherits one of the above bid strategies from the parent insertion order. Bid strategies set at the insertion order-level will be inherited by their line items if the `InsertionOrder` budget field automationType is set to `INSERTION_ORDER_AUTOMATION_TYPE_BUDGET` or `INSERTION_ORDER_AUTOMATION_TYPE_BID_BUDGET`.", +"type": "boolean" +} +}, +"type": "object" +}, +"TargetingOption": { +"description": "Represents a single targeting option, which is a targetable concept in DV360.", +"id": "TargetingOption", +"properties": { +"ageRangeDetails": { +"$ref": "AgeRangeTargetingOptionDetails", +"description": "Age range details." +}, +"appCategoryDetails": { +"$ref": "AppCategoryTargetingOptionDetails", +"description": "App category details." +}, +"audioContentTypeDetails": { +"$ref": "AudioContentTypeTargetingOptionDetails", +"description": "Audio content type details." +}, +"authorizedSellerStatusDetails": { +"$ref": "AuthorizedSellerStatusTargetingOptionDetails", +"description": "Authorized seller status resource details." +}, +"browserDetails": { +"$ref": "BrowserTargetingOptionDetails", +"description": "Browser details." +}, +"businessChainDetails": { +"$ref": "BusinessChainTargetingOptionDetails", +"description": "Business chain resource details." +}, +"carrierAndIspDetails": { +"$ref": "CarrierAndIspTargetingOptionDetails", +"description": "Carrier and ISP details." +}, +"categoryDetails": { +"$ref": "CategoryTargetingOptionDetails", +"description": "Category resource details." +}, +"contentDurationDetails": { +"$ref": "ContentDurationTargetingOptionDetails", +"description": "Content duration resource details." +}, +"contentGenreDetails": { +"$ref": "ContentGenreTargetingOptionDetails", +"description": "Content genre resource details." +}, +"contentInstreamPositionDetails": { +"$ref": "ContentInstreamPositionTargetingOptionDetails", +"description": "Content instream position details." +}, +"contentOutstreamPositionDetails": { +"$ref": "ContentOutstreamPositionTargetingOptionDetails", +"description": "Content outstream position details." +}, +"contentStreamTypeDetails": { +"$ref": "ContentStreamTypeTargetingOptionDetails", +"description": "Content stream type resource details." +}, +"contentThemeDetails": { +"$ref": "ContentThemeTargetingOptionDetails", +"description": "Content theme details." +}, +"deviceMakeModelDetails": { +"$ref": "DeviceMakeModelTargetingOptionDetails", +"description": "Device make and model resource details." +}, +"deviceTypeDetails": { +"$ref": "DeviceTypeTargetingOptionDetails", +"description": "Device type details." +}, +"digitalContentLabelDetails": { +"$ref": "DigitalContentLabelTargetingOptionDetails", +"description": "Digital content label details." +}, +"environmentDetails": { +"$ref": "EnvironmentTargetingOptionDetails", +"description": "Environment details." +}, +"exchangeDetails": { +"$ref": "ExchangeTargetingOptionDetails", +"description": "Exchange details." +}, +"genderDetails": { +"$ref": "GenderTargetingOptionDetails", +"description": "Gender details." +}, +"geoRegionDetails": { +"$ref": "GeoRegionTargetingOptionDetails", +"description": "Geographic region resource details." +}, +"householdIncomeDetails": { +"$ref": "HouseholdIncomeTargetingOptionDetails", +"description": "Household income details." +}, +"languageDetails": { +"$ref": "LanguageTargetingOptionDetails", +"description": "Language resource details." +}, +"name": { +"description": "Output only. The resource name for this targeting option.", +"readOnly": true, +"type": "string" +}, +"nativeContentPositionDetails": { +"$ref": "NativeContentPositionTargetingOptionDetails", +"description": "Native content position details." +}, +"omidDetails": { +"$ref": "OmidTargetingOptionDetails", +"description": "Open Measurement enabled inventory details." +}, +"onScreenPositionDetails": { +"$ref": "OnScreenPositionTargetingOptionDetails", +"description": "On screen position details." +}, +"operatingSystemDetails": { +"$ref": "OperatingSystemTargetingOptionDetails", +"description": "Operating system resources details." +}, +"parentalStatusDetails": { +"$ref": "ParentalStatusTargetingOptionDetails", +"description": "Parental status details." +}, +"poiDetails": { +"$ref": "PoiTargetingOptionDetails", +"description": "POI resource details." +}, +"sensitiveCategoryDetails": { +"$ref": "SensitiveCategoryTargetingOptionDetails", +"description": "Sensitive Category details." +}, +"subExchangeDetails": { +"$ref": "SubExchangeTargetingOptionDetails", +"description": "Sub-exchange details." +}, +"targetingOptionId": { +"description": "Output only. A unique identifier for this targeting option. The tuple {`targeting_type`, `targeting_option_id`} will be unique.", +"readOnly": true, +"type": "string" +}, +"targetingType": { +"description": "Output only. The type of this targeting option.", +"enum": [ +"TARGETING_TYPE_UNSPECIFIED", +"TARGETING_TYPE_CHANNEL", +"TARGETING_TYPE_APP_CATEGORY", +"TARGETING_TYPE_APP", +"TARGETING_TYPE_URL", +"TARGETING_TYPE_DAY_AND_TIME", +"TARGETING_TYPE_AGE_RANGE", +"TARGETING_TYPE_REGIONAL_LOCATION_LIST", +"TARGETING_TYPE_PROXIMITY_LOCATION_LIST", +"TARGETING_TYPE_GENDER", +"TARGETING_TYPE_VIDEO_PLAYER_SIZE", +"TARGETING_TYPE_USER_REWARDED_CONTENT", +"TARGETING_TYPE_PARENTAL_STATUS", +"TARGETING_TYPE_CONTENT_INSTREAM_POSITION", +"TARGETING_TYPE_CONTENT_OUTSTREAM_POSITION", +"TARGETING_TYPE_DEVICE_TYPE", +"TARGETING_TYPE_AUDIENCE_GROUP", +"TARGETING_TYPE_BROWSER", +"TARGETING_TYPE_HOUSEHOLD_INCOME", +"TARGETING_TYPE_ON_SCREEN_POSITION", +"TARGETING_TYPE_THIRD_PARTY_VERIFIER", +"TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION", +"TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION", +"TARGETING_TYPE_ENVIRONMENT", +"TARGETING_TYPE_CARRIER_AND_ISP", +"TARGETING_TYPE_OPERATING_SYSTEM", +"TARGETING_TYPE_DEVICE_MAKE_MODEL", +"TARGETING_TYPE_KEYWORD", +"TARGETING_TYPE_NEGATIVE_KEYWORD_LIST", +"TARGETING_TYPE_VIEWABILITY", +"TARGETING_TYPE_CATEGORY", +"TARGETING_TYPE_INVENTORY_SOURCE", +"TARGETING_TYPE_LANGUAGE", +"TARGETING_TYPE_AUTHORIZED_SELLER_STATUS", +"TARGETING_TYPE_GEO_REGION", +"TARGETING_TYPE_INVENTORY_SOURCE_GROUP", +"TARGETING_TYPE_EXCHANGE", +"TARGETING_TYPE_SUB_EXCHANGE", +"TARGETING_TYPE_POI", +"TARGETING_TYPE_BUSINESS_CHAIN", +"TARGETING_TYPE_CONTENT_DURATION", +"TARGETING_TYPE_CONTENT_STREAM_TYPE", +"TARGETING_TYPE_NATIVE_CONTENT_POSITION", +"TARGETING_TYPE_OMID", +"TARGETING_TYPE_AUDIO_CONTENT_TYPE", +"TARGETING_TYPE_CONTENT_GENRE", +"TARGETING_TYPE_YOUTUBE_VIDEO", +"TARGETING_TYPE_YOUTUBE_CHANNEL", +"TARGETING_TYPE_SESSION_POSITION", +"TARGETING_TYPE_CONTENT_THEME_EXCLUSION" +], +"enumDescriptions": [ +"Default value when type is not specified or is unknown in this version.", +"Target a channel (a custom group of related websites or apps).", +"Target an app category (for example, education or puzzle games).", +"Target a specific app (for example, Angry Birds).", +"Target a specific url (for example, quora.com).", +"Target ads during a chosen time period on a specific day.", +"Target ads to a specific age range (for example, 18-24).", +"Target ads to the specified regions on a regional location list.", +"Target ads to the specified points of interest on a proximity location list.", +"Target ads to a specific gender (for example, female or male).", +"Target a specific video player size for video ads.", +"Target user rewarded content for video ads.", +"Target ads to a specific parental status (for example, parent or not a parent).", +"Target video or audio ads in a specific content instream position (for example, pre-roll, mid-roll, or post-roll).", +"Target ads in a specific content outstream position.", +"Target ads to a specific device type (for example, tablet or connected TV).", +"Target ads to an audience or groups of audiences. Singleton field, at most one can exist on a single Lineitem at a time.", +"Target ads to specific web browsers (for example, Chrome).", +"Target ads to a specific household income range (for example, top 10%).", +"Target ads in a specific on screen position.", +"Filter web sites through third party verification (for example, IAS or DoubleVerify).", +"Filter web sites by specific digital content label ratings (for example, DL-MA: suitable only for mature audiences).", +"Filter website content by sensitive categories (for example, adult).", +"Target ads to a specific environment (for example, web or app).", +"Target ads to a specific network carrier or internet service provider (ISP) (for example, Comcast or Orange).", +"Target ads to a specific operating system (for example, macOS).", +"Target ads to a specific device make or model (for example, Roku or Samsung).", +"Target ads to a specific keyword (for example, dog or retriever).", +"Target ads to a specific negative keyword list.", +"Target ads to a specific viewability (for example, 80% viewable).", +"Target ads to a specific content category (for example, arts & entertainment).", +"Purchase impressions from specific deals and auction packages.", +"Target ads to a specific language (for example, English or Japanese).", +"Target ads to ads.txt authorized sellers. If no targeting option of this type is assigned, the resource uses the \"Authorized Direct Sellers and Resellers\" option by default.", +"Target ads to a specific regional location (for example, a city or state).", +"Purchase impressions from a group of deals and auction packages.", +"Purchase impressions from specific exchanges.", +"Purchase impressions from specific sub-exchanges.", +"Target ads around a specific point of interest, such as a notable building, a street address, or latitude/longitude coordinates.", +"Target ads around locations of a business chain within a specific geo region.", +"Target ads to a specific video content duration.", +"Target ads to a specific video content stream type.", +"Target ads to a specific native content position.", +"Target ads in an Open Measurement enabled inventory.", +"Target ads to a specific audio content type.", +"Target ads to a specific content genre.", +"Target ads to a specific YouTube video. Targeting of this type cannot be created or updated using the API. Although this targeting is inherited by child resources, **inherited targeting of this type will not be retrieveable**.", +"Target ads to a specific YouTube channel. Targeting of this type cannot be created or updated using the API. Although this targeting is inherited by child resources, **inherited targeting of this type will not be retrieveable**.", +"Target ads to a serve it in a certain position of a session. Only supported for Ad Group resources under YouTube Programmatic Reservation line items. Targeting of this type cannot be created or updated using the API.", +"Filter website content by content themes (for example, religion). Only supported for Advertiser resources. Targeting of this type cannot be created or updated using the API. This targeting is only inherited by child YouTube and Demand Gen line item resources." +], +"readOnly": true, +"type": "string" +}, +"userRewardedContentDetails": { +"$ref": "UserRewardedContentTargetingOptionDetails", +"description": "User rewarded content details." +}, +"videoPlayerSizeDetails": { +"$ref": "VideoPlayerSizeTargetingOptionDetails", +"description": "Video player size details." +}, +"viewabilityDetails": { +"$ref": "ViewabilityTargetingOptionDetails", +"description": "Viewability resource details." +} +}, +"type": "object" +}, +"ThirdPartyMeasurementConfigs": { +"description": "Settings that control what third-party vendors are measuring specific line item metrics.", +"id": "ThirdPartyMeasurementConfigs", +"properties": { +"brandLiftVendorConfigs": { +"description": "Optional. The third-party vendors measuring brand lift. The following third-party vendors are applicable: * `THIRD_PARTY_VENDOR_DYNATA` * `THIRD_PARTY_VENDOR_KANTAR` * `THIRD_PARTY_VENDOR_KANTAR_MILLWARD_BROWN` * `THIRD_PARTY_VENDOR_GOOGLE_INTERNAL` * `THIRD_PARTY_VENDOR_INTAGE` * `THIRD_PARTY_VENDOR_NIELSEN` * `THIRD_PARTY_VENDOR_MACROMILL`", +"items": { +"$ref": "ThirdPartyVendorConfig" +}, +"type": "array" +}, +"brandSafetyVendorConfigs": { +"description": "Optional. The third-party vendors measuring brand safety. The following third-party vendors are applicable: * `THIRD_PARTY_VENDOR_ZERF` * `THIRD_PARTY_VENDOR_DOUBLE_VERIFY` * `THIRD_PARTY_VENDOR_INTEGRAL_AD_SCIENCE` * `THIRD_PARTY_VENDOR_GOOGLE_INTERNAL` * `THIRD_PARTY_VENDOR_ZEFR`", +"items": { +"$ref": "ThirdPartyVendorConfig" +}, +"type": "array" +}, +"reachVendorConfigs": { +"description": "Optional. The third-party vendors measuring reach. The following third-party vendors are applicable: * `THIRD_PARTY_VENDOR_NIELSEN` * `THIRD_PARTY_VENDOR_COMSCORE` * `THIRD_PARTY_VENDOR_KANTAR` * `THIRD_PARTY_VENDOR_GOOGLE_INTERNAL` * `THIRD_PARTY_VENDOR_KANTAR_MILLWARD_BROWN` * `THIRD_PARTY_VENDOR_VIDEO_RESEARCH` * `THIRD_PARTY_VENDOR_MEDIA_SCOPE` * `THIRD_PARTY_VENDOR_AUDIENCE_PROJECT` * `THIRD_PARTY_VENDOR_VIDEO_AMP` * `THIRD_PARTY_VENDOR_ISPOT_TV`", +"items": { +"$ref": "ThirdPartyVendorConfig" +}, +"type": "array" +}, +"viewabilityVendorConfigs": { +"description": "Optional. The third-party vendors measuring viewability. The following third-party vendors are applicable: * `THIRD_PARTY_VENDOR_MOAT` * `THIRD_PARTY_VENDOR_DOUBLE_VERIFY` * `THIRD_PARTY_VENDOR_INTEGRAL_AD_SCIENCE` * `THIRD_PARTY_VENDOR_COMSCORE` * `THIRD_PARTY_VENDOR_TELEMETRY` * `THIRD_PARTY_VENDOR_MEETRICS` * `THIRD_PARTY_VENDOR_GOOGLE_INTERNAL`", +"items": { +"$ref": "ThirdPartyVendorConfig" +}, +"type": "array" +} +}, +"type": "object" +}, +"ThirdPartyOnlyConfig": { +"description": "Settings for advertisers that use third-party ad servers only.", +"id": "ThirdPartyOnlyConfig", +"properties": { +"pixelOrderIdReportingEnabled": { +"description": "Whether or not order ID reporting for pixels is enabled. This value cannot be changed once set to `true`.", +"type": "boolean" +} +}, +"type": "object" +}, +"ThirdPartyUrl": { +"description": "Tracking URLs from third parties to track interactions with an audio or a video creative.", +"id": "ThirdPartyUrl", +"properties": { +"type": { +"description": "Optional. The type of interaction needs to be tracked by the tracking URL", +"enum": [ +"THIRD_PARTY_URL_TYPE_UNSPECIFIED", +"THIRD_PARTY_URL_TYPE_IMPRESSION", +"THIRD_PARTY_URL_TYPE_CLICK_TRACKING", +"THIRD_PARTY_URL_TYPE_AUDIO_VIDEO_START", +"THIRD_PARTY_URL_TYPE_AUDIO_VIDEO_FIRST_QUARTILE", +"THIRD_PARTY_URL_TYPE_AUDIO_VIDEO_MIDPOINT", +"THIRD_PARTY_URL_TYPE_AUDIO_VIDEO_THIRD_QUARTILE", +"THIRD_PARTY_URL_TYPE_AUDIO_VIDEO_COMPLETE", +"THIRD_PARTY_URL_TYPE_AUDIO_VIDEO_MUTE", +"THIRD_PARTY_URL_TYPE_AUDIO_VIDEO_PAUSE", +"THIRD_PARTY_URL_TYPE_AUDIO_VIDEO_REWIND", +"THIRD_PARTY_URL_TYPE_AUDIO_VIDEO_FULLSCREEN", +"THIRD_PARTY_URL_TYPE_AUDIO_VIDEO_STOP", +"THIRD_PARTY_URL_TYPE_AUDIO_VIDEO_CUSTOM", +"THIRD_PARTY_URL_TYPE_AUDIO_VIDEO_SKIP", +"THIRD_PARTY_URL_TYPE_AUDIO_VIDEO_PROGRESS" +], +"enumDescriptions": [ +"The type of third-party URL is unspecified or is unknown in this version.", +"Used to count impressions of the creative after the audio or video buffering is complete.", +"Used to track user clicks on the audio or video.", +"Used to track the number of times a user starts the audio or video.", +"Used to track the number of times the audio or video plays to 25% of its length.", +"Used to track the number of times the audio or video plays to 50% of its length.", +"Used to track the number of times the audio or video plays to 75% of its length.", +"Used to track the number of times the audio or video plays to the end.", +"Used to track the number of times a user mutes the audio or video.", +"Used to track the number of times a user pauses the audio or video.", +"Used to track the number of times a user replays the audio or video.", +"Used to track the number of times a user expands the player to full-screen size.", +"Used to track the number of times a user stops the audio or video.", +"Used to track the number of times a user performs a custom click, such as clicking on a video hot spot.", +"Used to track the number of times the audio or video was skipped.", +"Used to track the number of times the audio or video plays to an offset determined by the progress_offset." +], +"type": "string" +}, +"url": { +"description": "Optional. Tracking URL used to track the interaction. Provide a URL with optional path or query string, beginning with `https:`. For example, `https://www.example.com/path`", +"type": "string" +} +}, +"type": "object" +}, +"ThirdPartyVendorConfig": { +"description": "Settings that control how third-party measurement vendors are configured.", +"id": "ThirdPartyVendorConfig", +"properties": { +"placementId": { +"description": "The ID used by the platform of the third-party vendor to identify the line item.", +"type": "string" +}, +"vendor": { +"description": "The third-party measurement vendor.", +"enum": [ +"THIRD_PARTY_VENDOR_UNSPECIFIED", +"THIRD_PARTY_VENDOR_MOAT", +"THIRD_PARTY_VENDOR_DOUBLE_VERIFY", +"THIRD_PARTY_VENDOR_INTEGRAL_AD_SCIENCE", +"THIRD_PARTY_VENDOR_COMSCORE", +"THIRD_PARTY_VENDOR_TELEMETRY", +"THIRD_PARTY_VENDOR_MEETRICS", +"THIRD_PARTY_VENDOR_ZEFR", +"THIRD_PARTY_VENDOR_NIELSEN", +"THIRD_PARTY_VENDOR_KANTAR", +"THIRD_PARTY_VENDOR_DYNATA", +"THIRD_PARTY_VENDOR_TRANSUNION" +], +"enumDescriptions": [ +"Unknown third-party vendor.", +"Moat.", +"DoubleVerify.", +"Integral Ad Science.", +"Comscore.", +"Telemetry.", +"Meetrics.", +"ZEFR.", +"Nielsen.", +"Kantar.", +"Dynata.", +"Transunion." +], +"type": "string" +} +}, +"type": "object" +}, +"ThirdPartyVerifierAssignedTargetingOptionDetails": { +"description": "Assigned third party verifier targeting option details. This will be populated in the details field of an AssignedTargetingOption when targeting_type is `TARGETING_TYPE_THIRD_PARTY_VERIFIER`.", +"id": "ThirdPartyVerifierAssignedTargetingOptionDetails", +"properties": { +"adloox": { +"$ref": "Adloox", +"description": "Third party brand verifier -- Scope3 (previously known as Adloox)." +}, +"doubleVerify": { +"$ref": "DoubleVerify", +"description": "Third party brand verifier -- DoubleVerify." +}, +"integralAdScience": { +"$ref": "IntegralAdScience", +"description": "Third party brand verifier -- Integral Ad Science." +} +}, +"type": "object" +}, +"TimeRange": { +"description": "A time range.", +"id": "TimeRange", +"properties": { +"endTime": { +"description": "Required. The upper bound of a time range, inclusive.", +"format": "google-datetime", +"type": "string" +}, +"startTime": { +"description": "Required. The lower bound of a time range, inclusive.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"TimerEvent": { +"description": "Timer event of the creative.", +"id": "TimerEvent", +"properties": { +"name": { +"description": "Required. The name of the timer event.", +"type": "string" +}, +"reportingName": { +"description": "Required. The name used to identify this timer event in reports.", +"type": "string" +} +}, +"type": "object" +}, +"TrackingFloodlightActivityConfig": { +"description": "Settings that control the behavior of a single Floodlight activity config.", +"id": "TrackingFloodlightActivityConfig", +"properties": { +"floodlightActivityId": { +"description": "Required. The ID of the Floodlight activity.", +"format": "int64", +"type": "string" +}, +"postClickLookbackWindowDays": { +"description": "Required. The number of days after an ad has been clicked in which a conversion may be counted. Must be between 0 and 90 inclusive.", +"format": "int32", +"type": "integer" +}, +"postViewLookbackWindowDays": { +"description": "Required. The number of days after an ad has been viewed in which a conversion may be counted. Must be between 0 and 90 inclusive.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"Transcode": { +"description": "Represents information about the transcoded audio or video file.", +"id": "Transcode", +"properties": { +"audioBitRateKbps": { +"description": "Optional. The bit rate for the audio stream of the transcoded video, or the bit rate for the transcoded audio, in kilobits per second.", +"format": "int64", +"type": "string" +}, +"audioSampleRateHz": { +"description": "Optional. The sample rate for the audio stream of the transcoded video, or the sample rate for the transcoded audio, in hertz.", +"format": "int64", +"type": "string" +}, +"bitRateKbps": { +"description": "Optional. The transcoding bit rate of the transcoded video, in kilobits per second.", +"format": "int64", +"type": "string" +}, +"dimensions": { +"$ref": "Dimensions", +"description": "Optional. The dimensions of the transcoded video." +}, +"fileSizeBytes": { +"description": "Optional. The size of the transcoded file, in bytes.", +"format": "int64", +"type": "string" +}, +"frameRate": { +"description": "Optional. The frame rate of the transcoded video, in frames per second.", +"format": "float", +"type": "number" +}, +"mimeType": { +"description": "Optional. The MIME type of the transcoded file.", +"type": "string" +}, +"name": { +"description": "Optional. The name of the transcoded file.", +"type": "string" +}, +"transcoded": { +"description": "Optional. Indicates if the transcoding was successful.", +"type": "boolean" +} +}, +"type": "object" +}, +"UniversalAdId": { +"description": "A creative identifier provided by a registry that is unique across all platforms. This is part of the VAST 4.0 standard.", +"id": "UniversalAdId", +"properties": { +"id": { +"description": "Optional. The unique creative identifier.", +"type": "string" +}, +"registry": { +"description": "Optional. The registry provides unique creative identifiers.", +"enum": [ +"UNIVERSAL_AD_REGISTRY_UNSPECIFIED", +"UNIVERSAL_AD_REGISTRY_OTHER", +"UNIVERSAL_AD_REGISTRY_AD_ID", +"UNIVERSAL_AD_REGISTRY_CLEARCAST", +"UNIVERSAL_AD_REGISTRY_DV360", +"UNIVERSAL_AD_REGISTRY_CM" +], +"enumDescriptions": [ +"The Universal Ad registry is unspecified or is unknown in this version.", +"Use a custom provider to provide the Universal Ad ID.", +"Use Ad-ID to provide the Universal Ad ID.", +"Use clearcast.co.uk to provide the Universal Ad ID.", +"Use Display & Video 360 to provide the Universal Ad ID.", +"Use Campaign Manager 360 to provide the Universal Ad ID." +], +"type": "string" +} +}, +"type": "object" +}, +"UploadAdAssetRequest": { +"description": "A request message for UploadAdAsset.", +"id": "UploadAdAssetRequest", +"properties": { +"adAssetType": { +"description": "Required. The type of the ad asset. Only `AD_ASSET_TYPE_IMAGE` is supported.", +"enum": [ +"AD_ASSET_TYPE_UNSPECIFIED", +"AD_ASSET_TYPE_IMAGE", +"AD_ASSET_TYPE_YOUTUBE_VIDEO" +], +"enumDescriptions": [ +"The ad asset type is unspecified.", +"The ad asset is a YouTube/DemandGen image.", +"The ad asset is a YouTube video." +], +"type": "string" +}, +"filename": { +"description": "Required. The filename of the ad asset, including the file extension. The filename must be UTF-8 encoded with a maximum size of 240 bytes.", +"type": "string" +} +}, +"type": "object" +}, +"UploadAdAssetResponse": { +"description": "A response message for UploadAdAsset.", +"id": "UploadAdAssetResponse", +"properties": { +"adAsset": { +"$ref": "AdAsset", +"description": "The created ad asset." +} +}, +"type": "object" +}, +"UrlAssignedTargetingOptionDetails": { +"description": "Details for assigned URL targeting option. This will be populated in the details field of an AssignedTargetingOption when targeting_type is `TARGETING_TYPE_URL`.", +"id": "UrlAssignedTargetingOptionDetails", +"properties": { +"negative": { +"description": "Indicates if this option is being negatively targeted.", +"type": "boolean" +}, +"url": { +"description": "Required. The URL, for example `example.com`. DV360 supports two levels of subdirectory targeting, for example `www.example.com/one-subdirectory-level/second-level`, and five levels of subdomain targeting, for example `five.four.three.two.one.example.com`.", +"type": "string" +} +}, +"type": "object" +}, +"User": { +"description": "A single user in Display & Video 360.", +"id": "User", +"properties": { +"assignedUserRoles": { +"description": "The assigned user roles. Required in CreateUser. Output only in UpdateUser. Can only be updated through BulkEditAssignedUserRoles.", +"items": { +"$ref": "AssignedUserRole" +}, +"type": "array" +}, +"displayName": { +"description": "Required. The display name of the user. Must be UTF-8 encoded with a maximum size of 240 bytes.", +"type": "string" +}, +"email": { +"description": "Required. Immutable. The email address used to identify the user.", +"type": "string" +}, +"lastLoginTime": { +"description": "Output only. The timestamp when the user last logged in DV360 UI.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"name": { +"description": "Output only. The resource name of the user.", +"readOnly": true, +"type": "string" +}, +"userId": { +"description": "Output only. The unique ID of the user. Assigned by the system.", +"format": "int64", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"UserRewardedContentAssignedTargetingOptionDetails": { +"description": "User rewarded content targeting option details. This will be populated in the user_rewarded_content_details field when targeting_type is `TARGETING_TYPE_USER_REWARDED_CONTENT`.", +"id": "UserRewardedContentAssignedTargetingOptionDetails", +"properties": { +"targetingOptionId": { +"description": "Required. The targeting_option_id field when targeting_type is `TARGETING_TYPE_USER_REWARDED_CONTENT`.", +"type": "string" +}, +"userRewardedContent": { +"description": "Output only. User rewarded content status for video ads.", +"enum": [ +"USER_REWARDED_CONTENT_UNSPECIFIED", +"USER_REWARDED_CONTENT_USER_REWARDED", +"USER_REWARDED_CONTENT_NOT_USER_REWARDED" +], +"enumDescriptions": [ +"User rewarded content is not specified or is unknown in this version.", +"Represents ads where the user will see a reward after viewing.", +"Represents all other ads besides user-rewarded." +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"UserRewardedContentTargetingOptionDetails": { +"description": "Represents a targetable user rewarded content status for video ads only. This will be populated in the user_rewarded_content_details field when targeting_type is `TARGETING_TYPE_USER_REWARDED_CONTENT`.", +"id": "UserRewardedContentTargetingOptionDetails", +"properties": { +"userRewardedContent": { +"description": "Output only. User rewarded content status for video ads.", +"enum": [ +"USER_REWARDED_CONTENT_UNSPECIFIED", +"USER_REWARDED_CONTENT_USER_REWARDED", +"USER_REWARDED_CONTENT_NOT_USER_REWARDED" +], +"enumDescriptions": [ +"User rewarded content is not specified or is unknown in this version.", +"Represents ads where the user will see a reward after viewing.", +"Represents all other ads besides user-rewarded." +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"VideoAdInventoryControl": { +"description": "The video ad inventory control used in certain YouTube line item types.", +"id": "VideoAdInventoryControl", +"properties": { +"allowInFeed": { +"description": "Optional. Whether ads can serve as in-feed format.", +"type": "boolean" +}, +"allowInStream": { +"description": "Optional. Whether ads can serve as in-stream format.", +"type": "boolean" +}, +"allowShorts": { +"description": "Optional. Whether ads can serve as shorts format.", +"type": "boolean" +} +}, +"type": "object" +}, +"VideoAdSequenceSettings": { +"description": "Settings related to VideoAdSequence.", +"id": "VideoAdSequenceSettings", +"properties": { +"minimumDuration": { +"description": "The minimum time interval before the same user sees this sequence again.", +"enum": [ +"VIDEO_AD_SEQUENCE_MINIMUM_DURATION_UNSPECIFIED", +"VIDEO_AD_SEQUENCE_MINIMUM_DURATION_WEEK", +"VIDEO_AD_SEQUENCE_MINIMUM_DURATION_MONTH" +], +"enumDescriptions": [ +"Unspecified or unknown.", +"7 days.", +"30 days." +], +"type": "string" +}, +"steps": { +"description": "The steps of which the sequence consists.", +"items": { +"$ref": "VideoAdSequenceStep" +}, +"type": "array" +} +}, +"type": "object" +}, +"VideoAdSequenceStep": { +"description": "The detail of a single step in a VideoAdSequence.", +"id": "VideoAdSequenceStep", +"properties": { +"adGroupId": { +"description": "The ID of the corresponding ad group of the step.", +"format": "int64", +"type": "string" +}, +"interactionType": { +"description": "The interaction on the previous step that will lead the viewer to this step. The first step does not have interaction_type.", +"enum": [ +"INTERACTION_TYPE_UNSPECIFIED", +"INTERACTION_TYPE_PAID_VIEW", +"INTERACTION_TYPE_SKIP", +"INTERACTION_TYPE_IMPRESSION", +"INTERACTION_TYPE_ENGAGED_IMPRESSION" +], +"enumDescriptions": [ +"Unspecified or unknown", +"A paid view.", +"Skipped by the viewer.", +"A (viewed) ad impression.", +"An ad impression that was not immediately skipped by the viewer, but didn't reach the billable event either." +], +"type": "string" +}, +"previousStepId": { +"description": "The ID of the previous step. The first step does not have previous step.", +"format": "int64", +"type": "string" +}, +"stepId": { +"description": "The ID of the step.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"VideoDiscoveryAd": { +"description": "Details for a video discovery ad.", +"id": "VideoDiscoveryAd", +"properties": { +"description1": { +"description": "First text line for the ad.", +"type": "string" +}, +"description2": { +"description": "Second text line for the ad.", +"type": "string" +}, +"headline": { +"description": "The headline of ad.", +"type": "string" +}, +"thumbnail": { +"description": "Thumbnail image used in the ad.", +"enum": [ +"THUMBNAIL_UNSPECIFIED", +"THUMBNAIL_DEFAULT", +"THUMBNAIL_1", +"THUMBNAIL_2", +"THUMBNAIL_3" +], +"enumDescriptions": [ +"Unknown or unspecified.", +"The default thumbnail, can be auto-generated or user-uploaded.", +"Thumbnail 1, generated from the video.", +"Thumbnail 2, generated from the video.", +"Thumbnail 3, generated from the video." +], +"type": "string" +}, +"video": { +"$ref": "YoutubeVideoDetails", +"description": "The YouTube video the ad promotes." +} +}, +"type": "object" +}, +"VideoPerformanceAd": { +"description": "Details for a video performance ad.", +"id": "VideoPerformanceAd", +"properties": { +"actionButtonLabels": { +"description": "The list of text assets shown on the call-to-action button.", +"items": { +"type": "string" +}, +"type": "array" +}, +"companionBanners": { +"description": "The list of companion banners used by this ad.", +"items": { +"$ref": "ImageAsset" +}, +"type": "array" +}, +"customParameters": { +"additionalProperties": { +"type": "string" +}, +"description": "The custom parameters to pass custom values to tracking URL template.", +"type": "object" +}, +"descriptions": { +"description": "The list of descriptions shown on the call-to-action banner.", +"items": { +"type": "string" +}, +"type": "array" +}, +"displayUrlBreadcrumb1": { +"description": "The first piece after the domain in the display URL.", +"type": "string" +}, +"displayUrlBreadcrumb2": { +"description": "The second piece after the domain in the display URL.", +"type": "string" +}, +"domain": { +"description": "The domain of the display URL.", +"type": "string" +}, +"finalUrl": { +"description": "The URL address of the webpage that people reach after they click the ad.", +"type": "string" +}, +"headlines": { +"description": "The list of headlines shown on the call-to-action banner.", +"items": { +"type": "string" +}, +"type": "array" +}, +"longHeadlines": { +"description": "The list of lone headlines shown on the call-to-action banner.", +"items": { +"type": "string" +}, +"type": "array" +}, +"trackingUrl": { +"description": "The URL address loaded in the background for tracking purposes.", +"type": "string" +}, +"videos": { +"description": "The list of YouTube video assets used by this ad.", +"items": { +"$ref": "YoutubeVideoDetails" +}, +"type": "array" +} +}, +"type": "object" +}, +"VideoPlayerSizeAssignedTargetingOptionDetails": { +"description": "Video player size targeting option details. This will be populated in the video_player_size_details field when targeting_type is `TARGETING_TYPE_VIDEO_PLAYER_SIZE`. Explicitly targeting all options is not supported. Remove all video player size targeting options to achieve this effect.", +"id": "VideoPlayerSizeAssignedTargetingOptionDetails", +"properties": { +"videoPlayerSize": { +"description": "Required. The video player size.", +"enum": [ +"VIDEO_PLAYER_SIZE_UNSPECIFIED", +"VIDEO_PLAYER_SIZE_SMALL", +"VIDEO_PLAYER_SIZE_LARGE", +"VIDEO_PLAYER_SIZE_HD", +"VIDEO_PLAYER_SIZE_UNKNOWN" +], +"enumDescriptions": [ +"Video player size is not specified in this version. This enum is a place holder for a default value and does not represent a real video player size.", +"The dimensions of the video player are less than 400\u00d7300 (desktop), or up to 20% of screen covered (mobile).", +"The dimensions of the video player are between 400x300 and 1280x720 pixels (desktop), or 20% to 90% of the screen covered (mobile).", +"The dimensions of the video player are 1280\u00d7720 or greater (desktop), or over 90% of the screen covered (mobile).", +"The dimensions of the video player are unknown." +], +"type": "string" +} +}, +"type": "object" +}, +"VideoPlayerSizeTargetingOptionDetails": { +"description": "Represents a targetable video player size. This will be populated in the video_player_size_details field when targeting_type is `TARGETING_TYPE_VIDEO_PLAYER_SIZE`.", +"id": "VideoPlayerSizeTargetingOptionDetails", +"properties": { +"videoPlayerSize": { +"description": "Output only. The video player size.", +"enum": [ +"VIDEO_PLAYER_SIZE_UNSPECIFIED", +"VIDEO_PLAYER_SIZE_SMALL", +"VIDEO_PLAYER_SIZE_LARGE", +"VIDEO_PLAYER_SIZE_HD", +"VIDEO_PLAYER_SIZE_UNKNOWN" +], +"enumDescriptions": [ +"Video player size is not specified in this version. This enum is a place holder for a default value and does not represent a real video player size.", +"The dimensions of the video player are less than 400\u00d7300 (desktop), or up to 20% of screen covered (mobile).", +"The dimensions of the video player are between 400x300 and 1280x720 pixels (desktop), or 20% to 90% of the screen covered (mobile).", +"The dimensions of the video player are 1280\u00d7720 or greater (desktop), or over 90% of the screen covered (mobile).", +"The dimensions of the video player are unknown." +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"ViewabilityAssignedTargetingOptionDetails": { +"description": "Assigned viewability targeting option details. This will be populated in the viewability_details field of an AssignedTargetingOption when targeting_type is `TARGETING_TYPE_VIEWABILITY`.", +"id": "ViewabilityAssignedTargetingOptionDetails", +"properties": { +"viewability": { +"description": "Required. The predicted viewability percentage.", +"enum": [ +"VIEWABILITY_UNSPECIFIED", +"VIEWABILITY_10_PERCENT_OR_MORE", +"VIEWABILITY_20_PERCENT_OR_MORE", +"VIEWABILITY_30_PERCENT_OR_MORE", +"VIEWABILITY_40_PERCENT_OR_MORE", +"VIEWABILITY_50_PERCENT_OR_MORE", +"VIEWABILITY_60_PERCENT_OR_MORE", +"VIEWABILITY_70_PERCENT_OR_MORE", +"VIEWABILITY_80_PERCENT_OR_MORE", +"VIEWABILITY_90_PERCENT_OR_MORE" +], +"enumDescriptions": [ +"Default value when viewability is not specified in this version. This enum is a placeholder for default value and does not represent a real viewability option.", +"Bid only on impressions that are at least 10% likely to be viewable.", +"Bid only on impressions that are at least 20% likely to be viewable.", +"Bid only on impressions that are at least 30% likely to be viewable.", +"Bid only on impressions that are at least 40% likely to be viewable.", +"Bid only on impressions that are at least 50% likely to be viewable.", +"Bid only on impressions that are at least 60% likely to be viewable.", +"Bid only on impressions that are at least 70% likely to be viewable.", +"Bid only on impressions that are at least 80% likely to be viewable.", +"Bid only on impressions that are at least 90% likely to be viewable." +], +"type": "string" +} +}, +"type": "object" +}, +"ViewabilityTargetingOptionDetails": { +"description": "Represents a targetable viewability. This will be populated in the viewability_details field of a TargetingOption when targeting_type is `TARGETING_TYPE_VIEWABILITY`.", +"id": "ViewabilityTargetingOptionDetails", +"properties": { +"viewability": { +"description": "Output only. The predicted viewability percentage.", +"enum": [ +"VIEWABILITY_UNSPECIFIED", +"VIEWABILITY_10_PERCENT_OR_MORE", +"VIEWABILITY_20_PERCENT_OR_MORE", +"VIEWABILITY_30_PERCENT_OR_MORE", +"VIEWABILITY_40_PERCENT_OR_MORE", +"VIEWABILITY_50_PERCENT_OR_MORE", +"VIEWABILITY_60_PERCENT_OR_MORE", +"VIEWABILITY_70_PERCENT_OR_MORE", +"VIEWABILITY_80_PERCENT_OR_MORE", +"VIEWABILITY_90_PERCENT_OR_MORE" +], +"enumDescriptions": [ +"Default value when viewability is not specified in this version. This enum is a placeholder for default value and does not represent a real viewability option.", +"Bid only on impressions that are at least 10% likely to be viewable.", +"Bid only on impressions that are at least 20% likely to be viewable.", +"Bid only on impressions that are at least 30% likely to be viewable.", +"Bid only on impressions that are at least 40% likely to be viewable.", +"Bid only on impressions that are at least 50% likely to be viewable.", +"Bid only on impressions that are at least 60% likely to be viewable.", +"Bid only on impressions that are at least 70% likely to be viewable.", +"Bid only on impressions that are at least 80% likely to be viewable.", +"Bid only on impressions that are at least 90% likely to be viewable." +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"YoutubeAndPartnersBiddingStrategy": { +"description": "Settings that control the bid strategy for YouTube and Partners resources.", +"id": "YoutubeAndPartnersBiddingStrategy", +"properties": { +"adGroupEffectiveTargetCpaSource": { +"description": "Output only. Source of the effective target CPA value for ad group.", +"enum": [ +"BIDDING_SOURCE_UNSPECIFIED", +"BIDDING_SOURCE_LINE_ITEM", +"BIDDING_SOURCE_AD_GROUP" +], +"enumDescriptions": [ +"Bidding source is not specified or unknown.", +"Bidding value is inherited from the line item.", +"Bidding value is defined in the ad group." +], +"readOnly": true, +"type": "string" +}, +"adGroupEffectiveTargetCpaValue": { +"description": "Output only. The effective target CPA for ad group, in micros of advertiser's currency.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"type": { +"description": "The type of the bidding strategy.", +"enum": [ +"YOUTUBE_AND_PARTNERS_BIDDING_STRATEGY_TYPE_UNSPECIFIED", +"YOUTUBE_AND_PARTNERS_BIDDING_STRATEGY_TYPE_MANUAL_CPV", +"YOUTUBE_AND_PARTNERS_BIDDING_STRATEGY_TYPE_MANUAL_CPM", +"YOUTUBE_AND_PARTNERS_BIDDING_STRATEGY_TYPE_TARGET_CPA", +"YOUTUBE_AND_PARTNERS_BIDDING_STRATEGY_TYPE_TARGET_CPM", +"YOUTUBE_AND_PARTNERS_BIDDING_STRATEGY_TYPE_RESERVE_CPM", +"YOUTUBE_AND_PARTNERS_BIDDING_STRATEGY_TYPE_MAXIMIZE_LIFT", +"YOUTUBE_AND_PARTNERS_BIDDING_STRATEGY_TYPE_MAXIMIZE_CONVERSIONS", +"YOUTUBE_AND_PARTNERS_BIDDING_STRATEGY_TYPE_TARGET_CPV", +"YOUTUBE_AND_PARTNERS_BIDDING_STRATEGY_TYPE_TARGET_ROAS", +"YOUTUBE_AND_PARTNERS_BIDDING_STRATEGY_TYPE_MAXIMIZE_CONVERSION_VALUE" +], +"enumDescriptions": [ +"Type is not specified or unknown.", +"A bidding strategy that pays a configurable amount per video view.", +"A bidding strategy that pays a configurable amount per impression.", +"A bidding strategy that automatically optimizes conversions per dollar.", +"A bidding strategy that pays a configurable amount per impression.", +"A bidding strategy for YouTube Instant Reserve line items that pays a fixed amount per impression.", +"An automated bidding strategy that sets bids to achieve maximum lift.", +"A bidding strategy that automatically maximizes number of conversions given a daily budget.", +"A bidding strategy that automatically optimizes cost per video view.", +"A bidding strategy that automatically maximizes revenue while averaging a specific target Return On Ad Spend (ROAS).", +"A bidding strategy that automatically sets bids to maximize revenue while spending your budget." +], +"type": "string" +}, +"value": { +"description": "The value used by the bidding strategy. When the bidding strategy is assigned at the line item level, this field is only applicable for the following strategy types: * `YOUTUBE_AND_PARTNERS_BIDDING_STRATEGY_TYPE_TARGET_CPA` * `YOUTUBE_AND_PARTNERS_BIDDING_STRATEGY_TYPE_TARGET_ROAS` * `YOUTUBE_AND_PARTNERS_BIDDING_STRATEGY_TYPE_RESERVE_SHARE_OF_VOICE` When the bidding strategy is assigned at the ad group level, this field is only applicable for the following strategy types: * `YOUTUBE_AND_PARTNERS_BIDDING_STRATEGY_TYPE_MANUAL_CPM` * `YOUTUBE_AND_PARTNERS_BIDDING_STRATEGY_TYPE_MANUAL_CPV` * `YOUTUBE_AND_PARTNERS_BIDDING_STRATEGY_TYPE_TARGET_CPA` * `YOUTUBE_AND_PARTNERS_BIDDING_STRATEGY_TYPE_TARGET_CPM` * `YOUTUBE_AND_PARTNERS_BIDDING_STRATEGY_TYPE_RESERVE_CPM` * `YOUTUBE_AND_PARTNERS_BIDDING_STRATEGY_TYPE_TARGET_ROAS` If not using an applicable strategy, the value of this field will be 0.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"YoutubeAndPartnersInventorySourceConfig": { +"description": "Settings that control what YouTube related inventories the YouTube and Partners line item will target.", +"id": "YoutubeAndPartnersInventorySourceConfig", +"properties": { +"includeGoogleTv": { +"description": "Optional. Whether to target inventory in video apps available with Google TV.", +"type": "boolean" +}, +"includeYoutube": { +"description": "Optional. Whether to target inventory on YouTube. This includes both search, channels and videos.", +"type": "boolean" +}, +"includeYoutubeVideoPartners": { +"description": "Whether to target inventory on a collection of partner sites and apps that follow the same brand safety standards as YouTube.", +"type": "boolean" +} +}, +"type": "object" +}, +"YoutubeAndPartnersSettings": { +"description": "Settings for YouTube and Partners line items.", +"id": "YoutubeAndPartnersSettings", +"properties": { +"contentCategory": { +"description": "Output only. The kind of content on which the YouTube and Partners ads will be shown. *Warning*: This field will be removed in the near future. Use effective_content_category instead.", +"enum": [ +"YOUTUBE_AND_PARTNERS_CONTENT_CATEGORY_UNSPECIFIED", +"YOUTUBE_AND_PARTNERS_CONTENT_CATEGORY_STANDARD", +"YOUTUBE_AND_PARTNERS_CONTENT_CATEGORY_EXPANDED", +"YOUTUBE_AND_PARTNERS_CONTENT_CATEGORY_LIMITED" +], +"enumDescriptions": [ +"Content category is not specified or is unknown in this version.", +"A category consisting of a wide range of content appropriate for most brands. The content is based off of YouTube's [advertiser-friendly content guidelines](https://support.google.com/youtube/answer/6162278).", +"A category including all content across YouTube and video partners that meets standards for monetization.", +"A category consisting of a reduced range of content that meets heightened requirements, especially regarding inappropriate language and sexual suggestiveness." +], +"readOnly": true, +"type": "string" +}, +"effectiveContentCategory": { +"description": "Output only. The content category which takes effect when serving the line item. When content category is set in both line item and advertiser, the stricter one will take effect when serving the line item. New line items will only inherit the advertiser level setting.", +"enum": [ +"YOUTUBE_AND_PARTNERS_CONTENT_CATEGORY_UNSPECIFIED", +"YOUTUBE_AND_PARTNERS_CONTENT_CATEGORY_STANDARD", +"YOUTUBE_AND_PARTNERS_CONTENT_CATEGORY_EXPANDED", +"YOUTUBE_AND_PARTNERS_CONTENT_CATEGORY_LIMITED" +], +"enumDescriptions": [ +"Content category is not specified or is unknown in this version.", +"A category consisting of a wide range of content appropriate for most brands. The content is based off of YouTube's [advertiser-friendly content guidelines](https://support.google.com/youtube/answer/6162278).", +"A category including all content across YouTube and video partners that meets standards for monetization.", +"A category consisting of a reduced range of content that meets heightened requirements, especially regarding inappropriate language and sexual suggestiveness." +], +"readOnly": true, +"type": "string" +}, +"inventorySourceSettings": { +"$ref": "YoutubeAndPartnersInventorySourceConfig", +"description": "Settings that control what YouTube and Partners inventories the line item will target." +}, +"leadFormId": { +"description": "Optional. The ID of the form to generate leads.", +"format": "int64", +"type": "string" +}, +"linkedMerchantId": { +"description": "Optional. The ID of the merchant which is linked to the line item for product feed.", +"format": "int64", +"type": "string" +}, +"relatedVideoIds": { +"description": "Optional. The IDs of the videos appear below the primary video ad when the ad is playing in the YouTube app on mobile devices.", +"items": { +"type": "string" +}, +"type": "array" +}, +"targetFrequency": { +"$ref": "TargetFrequency", +"description": "Optional. The average number of times you want ads from this line item to show to the same person over a certain period of time." +}, +"thirdPartyMeasurementConfigs": { +"$ref": "ThirdPartyMeasurementConfigs", +"description": "Optional. The third-party measurement configs of the line item." +}, +"videoAdInventoryControl": { +"$ref": "VideoAdInventoryControl", +"description": "Optional. The settings to control which inventory is allowed for this line item." +}, +"videoAdSequenceSettings": { +"$ref": "VideoAdSequenceSettings", +"description": "Optional. The settings related to VideoAdSequence." +}, +"viewFrequencyCap": { +"$ref": "FrequencyCap", +"description": "The view frequency cap settings of the line item. The max_views field in this settings object must be used if assigning a limited cap." +} +}, +"type": "object" +}, +"YoutubeAssetAssociation": { +"description": "An association between a resource and a YouTube asset.", +"id": "YoutubeAssetAssociation", +"properties": { +"linkedYoutubeAsset": { +"$ref": "YoutubeAssetAssociationLinkedYouTubeAsset", +"description": "Required. The YouTube asset associated with the resource." +}, +"name": { +"description": "Identifier. The resource name of the association. For line item-level associations: The name pattern is `advertisers/{advertiser_id}/lineItems/{line_item_id}/youtubeAssetTypes/{youtube_asset_type}/youtubeAssetAssociations/{youtube_asset_association_id}`. For ad group-level associations: The name pattern is `advertisers/{advertiser_id}/adGroups/{ad_group_id}/youtubeAssetTypes/{youtube_asset_type}/youtubeAssetAssociations/{youtube_asset_association_id}`. For `YOUTUBE_ASSET_TYPE_LOCATION` and `YOUTUBE_ASSET_TYPE_AFFILIATE_LOCATION` associations: `youtube_asset_association_id` is the ID of the asset set linked, or 0 if the location_matching_type or affiliate_location_matching_type is `DISABLED`. For `YOUTUBE_ASSET_TYPE_SITELINK` associations: `youtube_asset_association_id` is be the ID of the sitelink asset linked.", +"type": "string" +}, +"youtubeAssetType": { +"description": "Required. The type of YouTube asset associated with the resource.", +"enum": [ +"YOUTUBE_ASSET_TYPE_UNSPECIFIED", +"YOUTUBE_ASSET_TYPE_LOCATION", +"YOUTUBE_ASSET_TYPE_AFFILIATE_LOCATION", +"YOUTUBE_ASSET_TYPE_SITELINK" +], +"enumDescriptions": [ +"YouTube asset type is not specified or is unknown in this version.", +"Location asset.", +"Affiliate location asset.", +"Sitelink asset." +], +"type": "string" +} +}, +"type": "object" +}, +"YoutubeAssetAssociationAffiliateLocationAssetFilter": { +"description": "An asset filter that matches eligible affiliate location assets for serving.", +"id": "YoutubeAssetAssociationAffiliateLocationAssetFilter", +"properties": { +"affiliateLocationMatchingFunction": { +"$ref": "YoutubeAssetAssociationAffiliateLocationAssetFilterAffiliateLocationMatchingFunction", +"description": "Optional. The matching function that determines how the affiliate location asset filter matches affiliate location assets. This field is required and can only be set for if affiliate_location_matching_type is `SELECTED_CHAINS`." +}, +"affiliateLocationMatchingType": { +"description": "Required. The matching type of this affiliate location asset filter.", +"enum": [ +"AFFILIATE_LOCATION_MATCHING_TYPE_UNSPECIFIED", +"SELECT_ALL", +"SELECTED_CHAINS", +"DISABLED" +], +"enumDescriptions": [ +"Affiliate location matching type is not specified or is unknown in this version.", +"All available affiliate location assets are eligible for serving.", +"The selected affiliate location assets can serve.", +"No affiliate location assets can serve." +], +"type": "string" +}, +"assetSetId": { +"description": "Output only. The ID of the asset set that matches the affiliate location assets eligible for serving.", +"format": "int64", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"YoutubeAssetAssociationAffiliateLocationAssetFilterAffiliateLocationChain": { +"description": "A chain of affiliate locations.", +"id": "YoutubeAssetAssociationAffiliateLocationAssetFilterAffiliateLocationChain", +"properties": { +"chainId": { +"description": "Required. ID of the affiliate location chain.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"YoutubeAssetAssociationAffiliateLocationAssetFilterAffiliateLocationMatchingFunction": { +"description": "The matching function for an affiliate location asset filter.", +"id": "YoutubeAssetAssociationAffiliateLocationAssetFilterAffiliateLocationMatchingFunction", +"properties": { +"chains": { +"description": "Optional. The selected affiliate location chain IDs. This field is required if affiliate_location_matching_type is `SELECTED_CHAINS`.", +"items": { +"$ref": "YoutubeAssetAssociationAffiliateLocationAssetFilterAffiliateLocationChain" +}, +"type": "array" +} +}, +"type": "object" +}, +"YoutubeAssetAssociationLinkedYouTubeAsset": { +"description": "A YouTube asset linked to a resource in a YoutubeAssetAssociation.", +"id": "YoutubeAssetAssociationLinkedYouTubeAsset", +"properties": { +"affiliateLocationAssetFilter": { +"$ref": "YoutubeAssetAssociationAffiliateLocationAssetFilter", +"description": "An affiliate location asset filter. This can be set only when youtube_asset_type is `YOUTUBE_ASSET_TYPE_AFFILIATE_LOCATION`." +}, +"locationAssetFilter": { +"$ref": "YoutubeAssetAssociationLocationAssetFilter", +"description": "A location asset filter. This can be set only when youtube_asset_type is `YOUTUBE_ASSET_TYPE_LOCATION`." +}, +"sitelinkAsset": { +"$ref": "YoutubeAssetAssociationSitelinkAsset", +"description": "A sitelink asset. This can be set only when youtube_asset_type is `YOUTUBE_ASSET_TYPE_SITELINK`." +} +}, +"type": "object" +}, +"YoutubeAssetAssociationLocationAssetFilter": { +"description": "An asset filter that matches eligible location assets for serving.", +"id": "YoutubeAssetAssociationLocationAssetFilter", +"properties": { +"assetSetId": { +"description": "Output only. The ID of the asset set that matches the location assets eligible for serving.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"locationMatchingFunction": { +"$ref": "YoutubeAssetAssociationLocationAssetFilterLocationMatchingFunction", +"description": "Optional. The matching function that determines how the location asset filter matches location assets. This field is required and can only be set for if location_matching_type is `FILTER` or `SELECTED_ASSETS`." +}, +"locationMatchingType": { +"description": "Required. The matching type of this location asset filter.", +"enum": [ +"LOCATION_MATCHING_TYPE_UNSPECIFIED", +"SELECT_ALL", +"FILTER", +"SELECTED_ASSETS", +"DISABLED" +], +"enumDescriptions": [ +"Location matching type is not specified or is unknown in this version.", +"All available location assets are eligible for serving.", +"The location assets that match a provided business name and/or label filters can serve.", +"Only the selected location assets can serve.", +"No location assets can serve." +], +"type": "string" +} +}, +"type": "object" +}, +"YoutubeAssetAssociationLocationAssetFilterLocationMatchingFunction": { +"description": "The matching function for a location asset filter.", +"id": "YoutubeAssetAssociationLocationAssetFilterLocationMatchingFunction", +"properties": { +"business": { +"description": "Optional. The business name to match with. This field is optional and can only be set if location_matching_type is `FILTER`.", +"type": "string" +}, +"labels": { +"description": "Optional. The labels to match with. Labels are logically OR'ed together. This field is optional and can only be set if location_matching_type is `FILTER`.", +"items": { +"type": "string" +}, +"type": "array" +}, +"locationAssetIds": { +"description": "Optional. The selected location asset IDs. This field is required if location_matching_type is `SELECTED_ASSETS`.", +"items": { +"format": "int64", +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"YoutubeAssetAssociationSitelinkAsset": { +"description": "A sitelink asset.", +"id": "YoutubeAssetAssociationSitelinkAsset", +"properties": { +"assetId": { +"description": "Required. ID of the sitelink asset.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"YoutubeChannelAssignedTargetingOptionDetails": { +"description": "Details for YouTube channel assigned targeting option. This will be populated in the youtube_channel_details field when targeting_type is `TARGETING_TYPE_YOUTUBE_CHANNEL`.", +"id": "YoutubeChannelAssignedTargetingOptionDetails", +"properties": { +"channelId": { +"description": "The YouTube uploader channel id or the channel code of a YouTube channel.", +"type": "string" +}, +"negative": { +"description": "Indicates if this option is being negatively targeted.", +"type": "boolean" +} +}, +"type": "object" +}, +"YoutubeVideoAsset": { +"description": "Data for a YouTube video ad asset.", +"id": "YoutubeVideoAsset", +"properties": { +"youtubeVideoId": { +"description": "Required. The YouTube video id of the asset. This is the 11 char string value used in the YouTube video URL.", +"type": "string" +} +}, +"type": "object" +}, +"YoutubeVideoAssignedTargetingOptionDetails": { +"description": "Details for YouTube video assigned targeting option. This will be populated in the youtube_video_details field when targeting_type is `TARGETING_TYPE_YOUTUBE_VIDEO`.", +"id": "YoutubeVideoAssignedTargetingOptionDetails", +"properties": { +"negative": { +"description": "Indicates if this option is being negatively targeted.", +"type": "boolean" +}, +"videoId": { +"description": "YouTube video id as it appears on the YouTube watch page.", +"type": "string" +} +}, +"type": "object" +}, +"YoutubeVideoDetails": { +"description": "Details of a YouTube video.", +"id": "YoutubeVideoDetails", +"properties": { +"id": { +"description": "Output only. The YouTube video ID which can be searched on YouTube webpage.", +"readOnly": true, +"type": "string" +}, +"unavailableReason": { +"description": "The reason why the video data is not available.", +"enum": [ +"VIDEO_UNAVAILABLE_REASON_UNSPECIFIED", +"VIDEO_UNAVAILABLE_REASON_PRIVATE", +"VIDEO_UNAVAILABLE_REASON_DELETED" +], +"enumDescriptions": [ +"Unknown or unspecified.", +"The video is private.", +"The video is deleted." +], +"type": "string" +}, +"videoAssetId": { +"description": "Required. The YouTube video asset id. This is ad_asset.ad_asset_id.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +} +}, +"servicePath": "", +"title": "Display & Video 360 API", +"version": "v4", +"version_module": true +} \ No newline at end of file diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/dns.v1.json b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/dns.v1.json new file mode 100644 index 0000000000000000000000000000000000000000..dd0f3ed154a5d289cdfdad60d54869c31b96dc37 --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/dns.v1.json @@ -0,0 +1,3549 @@ +{ +"auth": { +"oauth2": { +"scopes": { +"https://www.googleapis.com/auth/cloud-platform": { +"description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." +}, +"https://www.googleapis.com/auth/cloud-platform.read-only": { +"description": "View your data across Google Cloud services and see the email address of your Google Account" +}, +"https://www.googleapis.com/auth/ndev.clouddns.readonly": { +"description": "View your DNS records hosted by Google Cloud DNS" +}, +"https://www.googleapis.com/auth/ndev.clouddns.readwrite": { +"description": "View and manage your DNS records hosted by Google Cloud DNS" +} +} +} +}, +"basePath": "", +"baseUrl": "https://dns.googleapis.com/", +"batchPath": "batch", +"canonicalName": "Dns", +"description": "", +"discoveryVersion": "v1", +"documentationLink": "https://cloud.google.com/dns/docs", +"fullyEncodeReservedExpansion": true, +"icons": { +"x16": "http://www.google.com/images/icons/product/search-16.gif", +"x32": "http://www.google.com/images/icons/product/search-32.gif" +}, +"id": "dns:v1", +"kind": "discovery#restDescription", +"mtlsRootUrl": "https://dns.mtls.googleapis.com/", +"name": "dns", +"ownerDomain": "google.com", +"ownerName": "Google", +"parameters": { +"$.xgafv": { +"description": "V1 error format.", +"enum": [ +"1", +"2" +], +"enumDescriptions": [ +"v1 error format", +"v2 error format" +], +"location": "query", +"type": "string" +}, +"access_token": { +"description": "OAuth access token.", +"location": "query", +"type": "string" +}, +"alt": { +"default": "json", +"description": "Data format for response.", +"enum": [ +"json", +"media", +"proto" +], +"enumDescriptions": [ +"Responses with Content-Type of application/json", +"Media download with context-dependent Content-Type", +"Responses with Content-Type of application/x-protobuf" +], +"location": "query", +"type": "string" +}, +"callback": { +"description": "JSONP", +"location": "query", +"type": "string" +}, +"fields": { +"description": "Selector specifying which fields to include in a partial response.", +"location": "query", +"type": "string" +}, +"key": { +"description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", +"location": "query", +"type": "string" +}, +"oauth_token": { +"description": "OAuth 2.0 token for the current user.", +"location": "query", +"type": "string" +}, +"prettyPrint": { +"default": "true", +"description": "Returns response with indentations and line breaks.", +"location": "query", +"type": "boolean" +}, +"quotaUser": { +"description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.", +"location": "query", +"type": "string" +}, +"uploadType": { +"description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", +"location": "query", +"type": "string" +}, +"upload_protocol": { +"description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", +"location": "query", +"type": "string" +} +}, +"protocol": "rest", +"resources": { +"changes": { +"methods": { +"create": { +"description": "Atomically updates the ResourceRecordSet collection.", +"flatPath": "dns/v1/projects/{project}/managedZones/{managedZone}/changes", +"httpMethod": "POST", +"id": "dns.changes.create", +"parameterOrder": [ +"project", +"managedZone" +], +"parameters": { +"clientOperationId": { +"description": "For mutating operation requests only. An optional identifier specified by the client. Must be unique for operation resources in the Operations collection.", +"location": "query", +"type": "string" +}, +"managedZone": { +"description": "Identifies the managed zone addressed by this request. Can be the managed zone name or ID.", +"location": "path", +"required": true, +"type": "string" +}, +"project": { +"description": "Identifies the project addressed by this request.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "dns/v1/projects/{project}/managedZones/{managedZone}/changes", +"request": { +"$ref": "Change" +}, +"response": { +"$ref": "Change" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/ndev.clouddns.readwrite" +] +}, +"get": { +"description": "Fetches the representation of an existing Change.", +"flatPath": "dns/v1/projects/{project}/managedZones/{managedZone}/changes/{changeId}", +"httpMethod": "GET", +"id": "dns.changes.get", +"parameterOrder": [ +"project", +"managedZone", +"changeId" +], +"parameters": { +"changeId": { +"description": "The identifier of the requested change, from a previous ResourceRecordSetsChangeResponse.", +"location": "path", +"required": true, +"type": "string" +}, +"clientOperationId": { +"description": "For mutating operation requests only. An optional identifier specified by the client. Must be unique for operation resources in the Operations collection.", +"location": "query", +"type": "string" +}, +"managedZone": { +"description": "Identifies the managed zone addressed by this request. Can be the managed zone name or ID.", +"location": "path", +"required": true, +"type": "string" +}, +"project": { +"description": "Identifies the project addressed by this request.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "dns/v1/projects/{project}/managedZones/{managedZone}/changes/{changeId}", +"response": { +"$ref": "Change" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only", +"https://www.googleapis.com/auth/ndev.clouddns.readonly", +"https://www.googleapis.com/auth/ndev.clouddns.readwrite" +] +}, +"list": { +"description": "Enumerates Changes to a ResourceRecordSet collection.", +"flatPath": "dns/v1/projects/{project}/managedZones/{managedZone}/changes", +"httpMethod": "GET", +"id": "dns.changes.list", +"parameterOrder": [ +"project", +"managedZone" +], +"parameters": { +"managedZone": { +"description": "Identifies the managed zone addressed by this request. Can be the managed zone name or ID.", +"location": "path", +"required": true, +"type": "string" +}, +"maxResults": { +"description": "Optional. Maximum number of results to be returned. If unspecified, the server decides how many results to return.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. A tag returned by a previous list request that was truncated. Use this parameter to continue a previous list request.", +"location": "query", +"type": "string" +}, +"project": { +"description": "Identifies the project addressed by this request.", +"location": "path", +"required": true, +"type": "string" +}, +"sortBy": { +"default": "changeSequence", +"description": "Sorting criterion. The only supported value is change sequence.", +"enum": [ +"changeSequence" +], +"enumDescriptions": [ +"" +], +"location": "query", +"type": "string" +}, +"sortOrder": { +"description": "Sorting order direction: 'ascending' or 'descending'.", +"location": "query", +"type": "string" +} +}, +"path": "dns/v1/projects/{project}/managedZones/{managedZone}/changes", +"response": { +"$ref": "ChangesListResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only", +"https://www.googleapis.com/auth/ndev.clouddns.readonly", +"https://www.googleapis.com/auth/ndev.clouddns.readwrite" +] +} +} +}, +"dnsKeys": { +"methods": { +"get": { +"description": "Fetches the representation of an existing DnsKey.", +"flatPath": "dns/v1/projects/{project}/managedZones/{managedZone}/dnsKeys/{dnsKeyId}", +"httpMethod": "GET", +"id": "dns.dnsKeys.get", +"parameterOrder": [ +"project", +"managedZone", +"dnsKeyId" +], +"parameters": { +"clientOperationId": { +"description": "For mutating operation requests only. An optional identifier specified by the client. Must be unique for operation resources in the Operations collection.", +"location": "query", +"type": "string" +}, +"digestType": { +"description": "An optional comma-separated list of digest types to compute and display for key signing keys. If omitted, the recommended digest type is computed and displayed.", +"location": "query", +"type": "string" +}, +"dnsKeyId": { +"description": "The identifier of the requested DnsKey.", +"location": "path", +"required": true, +"type": "string" +}, +"managedZone": { +"description": "Identifies the managed zone addressed by this request. Can be the managed zone name or ID.", +"location": "path", +"required": true, +"type": "string" +}, +"project": { +"description": "Identifies the project addressed by this request.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "dns/v1/projects/{project}/managedZones/{managedZone}/dnsKeys/{dnsKeyId}", +"response": { +"$ref": "DnsKey" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only", +"https://www.googleapis.com/auth/ndev.clouddns.readonly", +"https://www.googleapis.com/auth/ndev.clouddns.readwrite" +] +}, +"list": { +"description": "Enumerates DnsKeys to a ResourceRecordSet collection.", +"flatPath": "dns/v1/projects/{project}/managedZones/{managedZone}/dnsKeys", +"httpMethod": "GET", +"id": "dns.dnsKeys.list", +"parameterOrder": [ +"project", +"managedZone" +], +"parameters": { +"digestType": { +"description": "An optional comma-separated list of digest types to compute and display for key signing keys. If omitted, the recommended digest type is computed and displayed.", +"location": "query", +"type": "string" +}, +"managedZone": { +"description": "Identifies the managed zone addressed by this request. Can be the managed zone name or ID.", +"location": "path", +"required": true, +"type": "string" +}, +"maxResults": { +"description": "Optional. Maximum number of results to be returned. If unspecified, the server decides how many results to return.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. A tag returned by a previous list request that was truncated. Use this parameter to continue a previous list request.", +"location": "query", +"type": "string" +}, +"project": { +"description": "Identifies the project addressed by this request.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "dns/v1/projects/{project}/managedZones/{managedZone}/dnsKeys", +"response": { +"$ref": "DnsKeysListResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only", +"https://www.googleapis.com/auth/ndev.clouddns.readonly", +"https://www.googleapis.com/auth/ndev.clouddns.readwrite" +] +} +} +}, +"managedZoneOperations": { +"methods": { +"get": { +"description": "Fetches the representation of an existing Operation.", +"flatPath": "dns/v1/projects/{project}/managedZones/{managedZone}/operations/{operation}", +"httpMethod": "GET", +"id": "dns.managedZoneOperations.get", +"parameterOrder": [ +"project", +"managedZone", +"operation" +], +"parameters": { +"clientOperationId": { +"description": "For mutating operation requests only. An optional identifier specified by the client. Must be unique for operation resources in the Operations collection.", +"location": "query", +"type": "string" +}, +"managedZone": { +"description": "Identifies the managed zone addressed by this request.", +"location": "path", +"required": true, +"type": "string" +}, +"operation": { +"description": "Identifies the operation addressed by this request (ID of the operation).", +"location": "path", +"required": true, +"type": "string" +}, +"project": { +"description": "Identifies the project addressed by this request.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "dns/v1/projects/{project}/managedZones/{managedZone}/operations/{operation}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only", +"https://www.googleapis.com/auth/ndev.clouddns.readonly", +"https://www.googleapis.com/auth/ndev.clouddns.readwrite" +] +}, +"list": { +"description": "Enumerates Operations for the given ManagedZone.", +"flatPath": "dns/v1/projects/{project}/managedZones/{managedZone}/operations", +"httpMethod": "GET", +"id": "dns.managedZoneOperations.list", +"parameterOrder": [ +"project", +"managedZone" +], +"parameters": { +"managedZone": { +"description": "Identifies the managed zone addressed by this request.", +"location": "path", +"required": true, +"type": "string" +}, +"maxResults": { +"description": "Optional. Maximum number of results to be returned. If unspecified, the server decides how many results to return.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. A tag returned by a previous list request that was truncated. Use this parameter to continue a previous list request.", +"location": "query", +"type": "string" +}, +"project": { +"description": "Identifies the project addressed by this request.", +"location": "path", +"required": true, +"type": "string" +}, +"sortBy": { +"default": "startTime", +"description": "Sorting criterion. The only supported values are START_TIME and ID.", +"enum": [ +"startTime", +"id" +], +"enumDescriptions": [ +"", +"" +], +"location": "query", +"type": "string" +} +}, +"path": "dns/v1/projects/{project}/managedZones/{managedZone}/operations", +"response": { +"$ref": "ManagedZoneOperationsListResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only", +"https://www.googleapis.com/auth/ndev.clouddns.readonly", +"https://www.googleapis.com/auth/ndev.clouddns.readwrite" +] +} +} +}, +"managedZones": { +"methods": { +"create": { +"description": "Creates a new ManagedZone.", +"flatPath": "dns/v1/projects/{project}/managedZones", +"httpMethod": "POST", +"id": "dns.managedZones.create", +"parameterOrder": [ +"project" +], +"parameters": { +"clientOperationId": { +"description": "For mutating operation requests only. An optional identifier specified by the client. Must be unique for operation resources in the Operations collection.", +"location": "query", +"type": "string" +}, +"project": { +"description": "Identifies the project addressed by this request.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "dns/v1/projects/{project}/managedZones", +"request": { +"$ref": "ManagedZone" +}, +"response": { +"$ref": "ManagedZone" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/ndev.clouddns.readwrite" +] +}, +"delete": { +"description": "Deletes a previously created ManagedZone.", +"flatPath": "dns/v1/projects/{project}/managedZones/{managedZone}", +"httpMethod": "DELETE", +"id": "dns.managedZones.delete", +"parameterOrder": [ +"project", +"managedZone" +], +"parameters": { +"clientOperationId": { +"description": "For mutating operation requests only. An optional identifier specified by the client. Must be unique for operation resources in the Operations collection.", +"location": "query", +"type": "string" +}, +"managedZone": { +"description": "Identifies the managed zone addressed by this request. Can be the managed zone name or ID.", +"location": "path", +"required": true, +"type": "string" +}, +"project": { +"description": "Identifies the project addressed by this request.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "dns/v1/projects/{project}/managedZones/{managedZone}", +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/ndev.clouddns.readwrite" +] +}, +"get": { +"description": "Fetches the representation of an existing ManagedZone.", +"flatPath": "dns/v1/projects/{project}/managedZones/{managedZone}", +"httpMethod": "GET", +"id": "dns.managedZones.get", +"parameterOrder": [ +"project", +"managedZone" +], +"parameters": { +"clientOperationId": { +"description": "For mutating operation requests only. An optional identifier specified by the client. Must be unique for operation resources in the Operations collection.", +"location": "query", +"type": "string" +}, +"managedZone": { +"description": "Identifies the managed zone addressed by this request. Can be the managed zone name or ID.", +"location": "path", +"required": true, +"type": "string" +}, +"project": { +"description": "Identifies the project addressed by this request.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "dns/v1/projects/{project}/managedZones/{managedZone}", +"response": { +"$ref": "ManagedZone" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only", +"https://www.googleapis.com/auth/ndev.clouddns.readonly", +"https://www.googleapis.com/auth/ndev.clouddns.readwrite" +] +}, +"getIamPolicy": { +"description": "Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.", +"flatPath": "dns/v1/projects/{projectsId}/managedZones/{managedZonesId}:getIamPolicy", +"httpMethod": "POST", +"id": "dns.managedZones.getIamPolicy", +"parameterOrder": [ +"resource" +], +"parameters": { +"resource": { +"description": "REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", +"location": "path", +"pattern": "^projects/[^/]+/managedZones/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "dns/v1/{+resource}:getIamPolicy", +"request": { +"$ref": "GoogleIamV1GetIamPolicyRequest" +}, +"response": { +"$ref": "GoogleIamV1Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only", +"https://www.googleapis.com/auth/ndev.clouddns.readonly", +"https://www.googleapis.com/auth/ndev.clouddns.readwrite" +] +}, +"list": { +"description": "Enumerates ManagedZones that have been created but not yet deleted.", +"flatPath": "dns/v1/projects/{project}/managedZones", +"httpMethod": "GET", +"id": "dns.managedZones.list", +"parameterOrder": [ +"project" +], +"parameters": { +"dnsName": { +"description": "Restricts the list to return only zones with this domain name.", +"location": "query", +"type": "string" +}, +"maxResults": { +"description": "Optional. Maximum number of results to be returned. If unspecified, the server decides how many results to return.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. A tag returned by a previous list request that was truncated. Use this parameter to continue a previous list request.", +"location": "query", +"type": "string" +}, +"project": { +"description": "Identifies the project addressed by this request.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "dns/v1/projects/{project}/managedZones", +"response": { +"$ref": "ManagedZonesListResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only", +"https://www.googleapis.com/auth/ndev.clouddns.readonly", +"https://www.googleapis.com/auth/ndev.clouddns.readwrite" +] +}, +"patch": { +"description": "Applies a partial update to an existing ManagedZone.", +"flatPath": "dns/v1/projects/{project}/managedZones/{managedZone}", +"httpMethod": "PATCH", +"id": "dns.managedZones.patch", +"parameterOrder": [ +"project", +"managedZone" +], +"parameters": { +"clientOperationId": { +"description": "For mutating operation requests only. An optional identifier specified by the client. Must be unique for operation resources in the Operations collection.", +"location": "query", +"type": "string" +}, +"managedZone": { +"description": "Identifies the managed zone addressed by this request. Can be the managed zone name or ID.", +"location": "path", +"required": true, +"type": "string" +}, +"project": { +"description": "Identifies the project addressed by this request.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "dns/v1/projects/{project}/managedZones/{managedZone}", +"request": { +"$ref": "ManagedZone" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/ndev.clouddns.readwrite" +] +}, +"setIamPolicy": { +"description": "Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.", +"flatPath": "dns/v1/projects/{projectsId}/managedZones/{managedZonesId}:setIamPolicy", +"httpMethod": "POST", +"id": "dns.managedZones.setIamPolicy", +"parameterOrder": [ +"resource" +], +"parameters": { +"resource": { +"description": "REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", +"location": "path", +"pattern": "^projects/[^/]+/managedZones/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "dns/v1/{+resource}:setIamPolicy", +"request": { +"$ref": "GoogleIamV1SetIamPolicyRequest" +}, +"response": { +"$ref": "GoogleIamV1Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/ndev.clouddns.readwrite" +] +}, +"testIamPermissions": { +"description": "Returns permissions that a caller has on the specified resource. If the resource does not exist, this returns an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may \"fail open\" without warning.", +"flatPath": "dns/v1/projects/{projectsId}/managedZones/{managedZonesId}:testIamPermissions", +"httpMethod": "POST", +"id": "dns.managedZones.testIamPermissions", +"parameterOrder": [ +"resource" +], +"parameters": { +"resource": { +"description": "REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", +"location": "path", +"pattern": "^projects/[^/]+/managedZones/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "dns/v1/{+resource}:testIamPermissions", +"request": { +"$ref": "GoogleIamV1TestIamPermissionsRequest" +}, +"response": { +"$ref": "GoogleIamV1TestIamPermissionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only", +"https://www.googleapis.com/auth/ndev.clouddns.readonly", +"https://www.googleapis.com/auth/ndev.clouddns.readwrite" +] +}, +"update": { +"description": "Updates an existing ManagedZone.", +"flatPath": "dns/v1/projects/{project}/managedZones/{managedZone}", +"httpMethod": "PUT", +"id": "dns.managedZones.update", +"parameterOrder": [ +"project", +"managedZone" +], +"parameters": { +"clientOperationId": { +"description": "For mutating operation requests only. An optional identifier specified by the client. Must be unique for operation resources in the Operations collection.", +"location": "query", +"type": "string" +}, +"managedZone": { +"description": "Identifies the managed zone addressed by this request. Can be the managed zone name or ID.", +"location": "path", +"required": true, +"type": "string" +}, +"project": { +"description": "Identifies the project addressed by this request.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "dns/v1/projects/{project}/managedZones/{managedZone}", +"request": { +"$ref": "ManagedZone" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/ndev.clouddns.readwrite" +] +} +} +}, +"policies": { +"methods": { +"create": { +"description": "Creates a new policy.", +"flatPath": "dns/v1/projects/{project}/policies", +"httpMethod": "POST", +"id": "dns.policies.create", +"parameterOrder": [ +"project" +], +"parameters": { +"clientOperationId": { +"description": "For mutating operation requests only. An optional identifier specified by the client. Must be unique for operation resources in the Operations collection.", +"location": "query", +"type": "string" +}, +"project": { +"description": "Identifies the project addressed by this request.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "dns/v1/projects/{project}/policies", +"request": { +"$ref": "Policy" +}, +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/ndev.clouddns.readwrite" +] +}, +"delete": { +"description": "Deletes a previously created policy. Fails if the policy is still being referenced by a network.", +"flatPath": "dns/v1/projects/{project}/policies/{policy}", +"httpMethod": "DELETE", +"id": "dns.policies.delete", +"parameterOrder": [ +"project", +"policy" +], +"parameters": { +"clientOperationId": { +"description": "For mutating operation requests only. An optional identifier specified by the client. Must be unique for operation resources in the Operations collection.", +"location": "query", +"type": "string" +}, +"policy": { +"description": "User given friendly name of the policy addressed by this request.", +"location": "path", +"required": true, +"type": "string" +}, +"project": { +"description": "Identifies the project addressed by this request.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "dns/v1/projects/{project}/policies/{policy}", +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/ndev.clouddns.readwrite" +] +}, +"get": { +"description": "Fetches the representation of an existing policy.", +"flatPath": "dns/v1/projects/{project}/policies/{policy}", +"httpMethod": "GET", +"id": "dns.policies.get", +"parameterOrder": [ +"project", +"policy" +], +"parameters": { +"clientOperationId": { +"description": "For mutating operation requests only. An optional identifier specified by the client. Must be unique for operation resources in the Operations collection.", +"location": "query", +"type": "string" +}, +"policy": { +"description": "User given friendly name of the policy addressed by this request.", +"location": "path", +"required": true, +"type": "string" +}, +"project": { +"description": "Identifies the project addressed by this request.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "dns/v1/projects/{project}/policies/{policy}", +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only", +"https://www.googleapis.com/auth/ndev.clouddns.readonly", +"https://www.googleapis.com/auth/ndev.clouddns.readwrite" +] +}, +"list": { +"description": "Enumerates all policies associated with a project.", +"flatPath": "dns/v1/projects/{project}/policies", +"httpMethod": "GET", +"id": "dns.policies.list", +"parameterOrder": [ +"project" +], +"parameters": { +"maxResults": { +"description": "Optional. Maximum number of results to be returned. If unspecified, the server decides how many results to return.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. A tag returned by a previous list request that was truncated. Use this parameter to continue a previous list request.", +"location": "query", +"type": "string" +}, +"project": { +"description": "Identifies the project addressed by this request.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "dns/v1/projects/{project}/policies", +"response": { +"$ref": "PoliciesListResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only", +"https://www.googleapis.com/auth/ndev.clouddns.readonly", +"https://www.googleapis.com/auth/ndev.clouddns.readwrite" +] +}, +"patch": { +"description": "Applies a partial update to an existing policy.", +"flatPath": "dns/v1/projects/{project}/policies/{policy}", +"httpMethod": "PATCH", +"id": "dns.policies.patch", +"parameterOrder": [ +"project", +"policy" +], +"parameters": { +"clientOperationId": { +"description": "For mutating operation requests only. An optional identifier specified by the client. Must be unique for operation resources in the Operations collection.", +"location": "query", +"type": "string" +}, +"policy": { +"description": "User given friendly name of the policy addressed by this request.", +"location": "path", +"required": true, +"type": "string" +}, +"project": { +"description": "Identifies the project addressed by this request.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "dns/v1/projects/{project}/policies/{policy}", +"request": { +"$ref": "Policy" +}, +"response": { +"$ref": "PoliciesPatchResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/ndev.clouddns.readwrite" +] +}, +"update": { +"description": "Updates an existing policy.", +"flatPath": "dns/v1/projects/{project}/policies/{policy}", +"httpMethod": "PUT", +"id": "dns.policies.update", +"parameterOrder": [ +"project", +"policy" +], +"parameters": { +"clientOperationId": { +"description": "For mutating operation requests only. An optional identifier specified by the client. Must be unique for operation resources in the Operations collection.", +"location": "query", +"type": "string" +}, +"policy": { +"description": "User given friendly name of the policy addressed by this request.", +"location": "path", +"required": true, +"type": "string" +}, +"project": { +"description": "Identifies the project addressed by this request.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "dns/v1/projects/{project}/policies/{policy}", +"request": { +"$ref": "Policy" +}, +"response": { +"$ref": "PoliciesUpdateResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/ndev.clouddns.readwrite" +] +} +} +}, +"projects": { +"methods": { +"get": { +"description": "Fetches the representation of an existing Project.", +"flatPath": "dns/v1/projects/{project}", +"httpMethod": "GET", +"id": "dns.projects.get", +"parameterOrder": [ +"project" +], +"parameters": { +"clientOperationId": { +"description": "For mutating operation requests only. An optional identifier specified by the client. Must be unique for operation resources in the Operations collection.", +"location": "query", +"type": "string" +}, +"project": { +"description": "Identifies the project addressed by this request.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "dns/v1/projects/{project}", +"response": { +"$ref": "Project" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only", +"https://www.googleapis.com/auth/ndev.clouddns.readonly", +"https://www.googleapis.com/auth/ndev.clouddns.readwrite" +] +} +} +}, +"resourceRecordSets": { +"methods": { +"create": { +"description": "Creates a new ResourceRecordSet.", +"flatPath": "dns/v1/projects/{project}/managedZones/{managedZone}/rrsets", +"httpMethod": "POST", +"id": "dns.resourceRecordSets.create", +"parameterOrder": [ +"project", +"managedZone" +], +"parameters": { +"clientOperationId": { +"description": "For mutating operation requests only. An optional identifier specified by the client. Must be unique for operation resources in the Operations collection.", +"location": "query", +"type": "string" +}, +"managedZone": { +"description": "Identifies the managed zone addressed by this request. Can be the managed zone name or ID.", +"location": "path", +"required": true, +"type": "string" +}, +"project": { +"description": "Identifies the project addressed by this request.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "dns/v1/projects/{project}/managedZones/{managedZone}/rrsets", +"request": { +"$ref": "ResourceRecordSet" +}, +"response": { +"$ref": "ResourceRecordSet" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/ndev.clouddns.readwrite" +] +}, +"delete": { +"description": "Deletes a previously created ResourceRecordSet.", +"flatPath": "dns/v1/projects/{project}/managedZones/{managedZone}/rrsets/{name}/{type}", +"httpMethod": "DELETE", +"id": "dns.resourceRecordSets.delete", +"parameterOrder": [ +"project", +"managedZone", +"name", +"type" +], +"parameters": { +"clientOperationId": { +"description": "For mutating operation requests only. An optional identifier specified by the client. Must be unique for operation resources in the Operations collection.", +"location": "query", +"type": "string" +}, +"managedZone": { +"description": "Identifies the managed zone addressed by this request. Can be the managed zone name or ID.", +"location": "path", +"required": true, +"type": "string" +}, +"name": { +"description": "Fully qualified domain name.", +"location": "path", +"required": true, +"type": "string" +}, +"project": { +"description": "Identifies the project addressed by this request.", +"location": "path", +"required": true, +"type": "string" +}, +"type": { +"description": "RRSet type.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "dns/v1/projects/{project}/managedZones/{managedZone}/rrsets/{name}/{type}", +"response": { +"$ref": "ResourceRecordSetsDeleteResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/ndev.clouddns.readwrite" +] +}, +"get": { +"description": "Fetches the representation of an existing ResourceRecordSet.", +"flatPath": "dns/v1/projects/{project}/managedZones/{managedZone}/rrsets/{name}/{type}", +"httpMethod": "GET", +"id": "dns.resourceRecordSets.get", +"parameterOrder": [ +"project", +"managedZone", +"name", +"type" +], +"parameters": { +"clientOperationId": { +"description": "For mutating operation requests only. An optional identifier specified by the client. Must be unique for operation resources in the Operations collection.", +"location": "query", +"type": "string" +}, +"managedZone": { +"description": "Identifies the managed zone addressed by this request. Can be the managed zone name or ID.", +"location": "path", +"required": true, +"type": "string" +}, +"name": { +"description": "Fully qualified domain name.", +"location": "path", +"required": true, +"type": "string" +}, +"project": { +"description": "Identifies the project addressed by this request.", +"location": "path", +"required": true, +"type": "string" +}, +"type": { +"description": "RRSet type.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "dns/v1/projects/{project}/managedZones/{managedZone}/rrsets/{name}/{type}", +"response": { +"$ref": "ResourceRecordSet" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only", +"https://www.googleapis.com/auth/ndev.clouddns.readonly", +"https://www.googleapis.com/auth/ndev.clouddns.readwrite" +] +}, +"list": { +"description": "Enumerates ResourceRecordSets that you have created but not yet deleted.", +"flatPath": "dns/v1/projects/{project}/managedZones/{managedZone}/rrsets", +"httpMethod": "GET", +"id": "dns.resourceRecordSets.list", +"parameterOrder": [ +"project", +"managedZone" +], +"parameters": { +"filter": { +"description": "Specify a filter expression to view records that exactly match the specified domain. Both the name and type parameters are not supported when you use filter and must be omitted. Your filter expression must conform to AIP-160 and you must specify a domain in the name field. Optionally, you can include the type field to filter records by type. You can also include the has_suffix function to view records that match by domain suffix. Examples: - name=\"example.com.\" - name=\"example.com.\" AND type=\"A\" - name=has_suffix(\"example.com.\") - name=has_suffix(\"example.com.\") AND type=\"A\" ", +"location": "query", +"type": "string" +}, +"managedZone": { +"description": "Identifies the managed zone addressed by this request. Can be the managed zone name or ID.", +"location": "path", +"required": true, +"type": "string" +}, +"maxResults": { +"description": "Optional. Maximum number of results to be returned. If unspecified, the server decides how many results to return.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"name": { +"description": "Specify a fully qualified domain name to view only those records. The name parameter is not supported and must be omitted when you use filter.", +"location": "query", +"type": "string" +}, +"pageToken": { +"description": "Optional. A tag returned by a previous list request that was truncated. Use this parameter to continue a previous list request.", +"location": "query", +"type": "string" +}, +"project": { +"description": "Identifies the project addressed by this request.", +"location": "path", +"required": true, +"type": "string" +}, +"type": { +"description": "Specify a record type to view only those records. You must also specify the name parameter. The type parameter is not supported and must be omitted when you use filter.", +"location": "query", +"type": "string" +} +}, +"path": "dns/v1/projects/{project}/managedZones/{managedZone}/rrsets", +"response": { +"$ref": "ResourceRecordSetsListResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only", +"https://www.googleapis.com/auth/ndev.clouddns.readonly", +"https://www.googleapis.com/auth/ndev.clouddns.readwrite" +] +}, +"patch": { +"description": "Applies a partial update to an existing ResourceRecordSet.", +"flatPath": "dns/v1/projects/{project}/managedZones/{managedZone}/rrsets/{name}/{type}", +"httpMethod": "PATCH", +"id": "dns.resourceRecordSets.patch", +"parameterOrder": [ +"project", +"managedZone", +"name", +"type" +], +"parameters": { +"clientOperationId": { +"description": "For mutating operation requests only. An optional identifier specified by the client. Must be unique for operation resources in the Operations collection.", +"location": "query", +"type": "string" +}, +"managedZone": { +"description": "Identifies the managed zone addressed by this request. Can be the managed zone name or ID.", +"location": "path", +"required": true, +"type": "string" +}, +"name": { +"description": "Fully qualified domain name.", +"location": "path", +"required": true, +"type": "string" +}, +"project": { +"description": "Identifies the project addressed by this request.", +"location": "path", +"required": true, +"type": "string" +}, +"type": { +"description": "RRSet type.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "dns/v1/projects/{project}/managedZones/{managedZone}/rrsets/{name}/{type}", +"request": { +"$ref": "ResourceRecordSet" +}, +"response": { +"$ref": "ResourceRecordSet" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/ndev.clouddns.readwrite" +] +} +} +}, +"responsePolicies": { +"methods": { +"create": { +"description": "Creates a new Response Policy", +"flatPath": "dns/v1/projects/{project}/responsePolicies", +"httpMethod": "POST", +"id": "dns.responsePolicies.create", +"parameterOrder": [ +"project" +], +"parameters": { +"clientOperationId": { +"description": "For mutating operation requests only. An optional identifier specified by the client. Must be unique for operation resources in the Operations collection.", +"location": "query", +"type": "string" +}, +"project": { +"description": "Identifies the project addressed by this request.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "dns/v1/projects/{project}/responsePolicies", +"request": { +"$ref": "ResponsePolicy" +}, +"response": { +"$ref": "ResponsePolicy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/ndev.clouddns.readwrite" +] +}, +"delete": { +"description": "Deletes a previously created Response Policy. Fails if the response policy is non-empty or still being referenced by a network.", +"flatPath": "dns/v1/projects/{project}/responsePolicies/{responsePolicy}", +"httpMethod": "DELETE", +"id": "dns.responsePolicies.delete", +"parameterOrder": [ +"project", +"responsePolicy" +], +"parameters": { +"clientOperationId": { +"description": "For mutating operation requests only. An optional identifier specified by the client. Must be unique for operation resources in the Operations collection.", +"location": "query", +"type": "string" +}, +"project": { +"description": "Identifies the project addressed by this request.", +"location": "path", +"required": true, +"type": "string" +}, +"responsePolicy": { +"description": "User assigned name of the Response Policy addressed by this request.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "dns/v1/projects/{project}/responsePolicies/{responsePolicy}", +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/ndev.clouddns.readwrite" +] +}, +"get": { +"description": "Fetches the representation of an existing Response Policy.", +"flatPath": "dns/v1/projects/{project}/responsePolicies/{responsePolicy}", +"httpMethod": "GET", +"id": "dns.responsePolicies.get", +"parameterOrder": [ +"project", +"responsePolicy" +], +"parameters": { +"clientOperationId": { +"description": "For mutating operation requests only. An optional identifier specified by the client. Must be unique for operation resources in the Operations collection.", +"location": "query", +"type": "string" +}, +"project": { +"description": "Identifies the project addressed by this request.", +"location": "path", +"required": true, +"type": "string" +}, +"responsePolicy": { +"description": "User assigned name of the Response Policy addressed by this request.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "dns/v1/projects/{project}/responsePolicies/{responsePolicy}", +"response": { +"$ref": "ResponsePolicy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only", +"https://www.googleapis.com/auth/ndev.clouddns.readonly", +"https://www.googleapis.com/auth/ndev.clouddns.readwrite" +] +}, +"list": { +"description": "Enumerates all Response Policies associated with a project.", +"flatPath": "dns/v1/projects/{project}/responsePolicies", +"httpMethod": "GET", +"id": "dns.responsePolicies.list", +"parameterOrder": [ +"project" +], +"parameters": { +"maxResults": { +"description": "Optional. Maximum number of results to be returned. If unspecified, the server decides how many results to return.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. A tag returned by a previous list request that was truncated. Use this parameter to continue a previous list request.", +"location": "query", +"type": "string" +}, +"project": { +"description": "Identifies the project addressed by this request.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "dns/v1/projects/{project}/responsePolicies", +"response": { +"$ref": "ResponsePoliciesListResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only", +"https://www.googleapis.com/auth/ndev.clouddns.readonly", +"https://www.googleapis.com/auth/ndev.clouddns.readwrite" +] +}, +"patch": { +"description": "Applies a partial update to an existing Response Policy.", +"flatPath": "dns/v1/projects/{project}/responsePolicies/{responsePolicy}", +"httpMethod": "PATCH", +"id": "dns.responsePolicies.patch", +"parameterOrder": [ +"project", +"responsePolicy" +], +"parameters": { +"clientOperationId": { +"description": "For mutating operation requests only. An optional identifier specified by the client. Must be unique for operation resources in the Operations collection.", +"location": "query", +"type": "string" +}, +"project": { +"description": "Identifies the project addressed by this request.", +"location": "path", +"required": true, +"type": "string" +}, +"responsePolicy": { +"description": "User assigned name of the response policy addressed by this request.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "dns/v1/projects/{project}/responsePolicies/{responsePolicy}", +"request": { +"$ref": "ResponsePolicy" +}, +"response": { +"$ref": "ResponsePoliciesPatchResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/ndev.clouddns.readwrite" +] +}, +"update": { +"description": "Updates an existing Response Policy.", +"flatPath": "dns/v1/projects/{project}/responsePolicies/{responsePolicy}", +"httpMethod": "PUT", +"id": "dns.responsePolicies.update", +"parameterOrder": [ +"project", +"responsePolicy" +], +"parameters": { +"clientOperationId": { +"description": "For mutating operation requests only. An optional identifier specified by the client. Must be unique for operation resources in the Operations collection.", +"location": "query", +"type": "string" +}, +"project": { +"description": "Identifies the project addressed by this request.", +"location": "path", +"required": true, +"type": "string" +}, +"responsePolicy": { +"description": "User assigned name of the Response Policy addressed by this request.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "dns/v1/projects/{project}/responsePolicies/{responsePolicy}", +"request": { +"$ref": "ResponsePolicy" +}, +"response": { +"$ref": "ResponsePoliciesUpdateResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/ndev.clouddns.readwrite" +] +} +} +}, +"responsePolicyRules": { +"methods": { +"create": { +"description": "Creates a new Response Policy Rule.", +"flatPath": "dns/v1/projects/{project}/responsePolicies/{responsePolicy}/rules", +"httpMethod": "POST", +"id": "dns.responsePolicyRules.create", +"parameterOrder": [ +"project", +"responsePolicy" +], +"parameters": { +"clientOperationId": { +"description": "For mutating operation requests only. An optional identifier specified by the client. Must be unique for operation resources in the Operations collection.", +"location": "query", +"type": "string" +}, +"project": { +"description": "Identifies the project addressed by this request.", +"location": "path", +"required": true, +"type": "string" +}, +"responsePolicy": { +"description": "User assigned name of the Response Policy containing the Response Policy Rule.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "dns/v1/projects/{project}/responsePolicies/{responsePolicy}/rules", +"request": { +"$ref": "ResponsePolicyRule" +}, +"response": { +"$ref": "ResponsePolicyRule" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/ndev.clouddns.readwrite" +] +}, +"delete": { +"description": "Deletes a previously created Response Policy Rule.", +"flatPath": "dns/v1/projects/{project}/responsePolicies/{responsePolicy}/rules/{responsePolicyRule}", +"httpMethod": "DELETE", +"id": "dns.responsePolicyRules.delete", +"parameterOrder": [ +"project", +"responsePolicy", +"responsePolicyRule" +], +"parameters": { +"clientOperationId": { +"description": "For mutating operation requests only. An optional identifier specified by the client. Must be unique for operation resources in the Operations collection.", +"location": "query", +"type": "string" +}, +"project": { +"description": "Identifies the project addressed by this request.", +"location": "path", +"required": true, +"type": "string" +}, +"responsePolicy": { +"description": "User assigned name of the Response Policy containing the Response Policy Rule.", +"location": "path", +"required": true, +"type": "string" +}, +"responsePolicyRule": { +"description": "User assigned name of the Response Policy Rule addressed by this request.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "dns/v1/projects/{project}/responsePolicies/{responsePolicy}/rules/{responsePolicyRule}", +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/ndev.clouddns.readwrite" +] +}, +"get": { +"description": "Fetches the representation of an existing Response Policy Rule.", +"flatPath": "dns/v1/projects/{project}/responsePolicies/{responsePolicy}/rules/{responsePolicyRule}", +"httpMethod": "GET", +"id": "dns.responsePolicyRules.get", +"parameterOrder": [ +"project", +"responsePolicy", +"responsePolicyRule" +], +"parameters": { +"clientOperationId": { +"description": "For mutating operation requests only. An optional identifier specified by the client. Must be unique for operation resources in the Operations collection.", +"location": "query", +"type": "string" +}, +"project": { +"description": "Identifies the project addressed by this request.", +"location": "path", +"required": true, +"type": "string" +}, +"responsePolicy": { +"description": "User assigned name of the Response Policy containing the Response Policy Rule.", +"location": "path", +"required": true, +"type": "string" +}, +"responsePolicyRule": { +"description": "User assigned name of the Response Policy Rule addressed by this request.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "dns/v1/projects/{project}/responsePolicies/{responsePolicy}/rules/{responsePolicyRule}", +"response": { +"$ref": "ResponsePolicyRule" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only", +"https://www.googleapis.com/auth/ndev.clouddns.readonly", +"https://www.googleapis.com/auth/ndev.clouddns.readwrite" +] +}, +"list": { +"description": "Enumerates all Response Policy Rules associated with a project.", +"flatPath": "dns/v1/projects/{project}/responsePolicies/{responsePolicy}/rules", +"httpMethod": "GET", +"id": "dns.responsePolicyRules.list", +"parameterOrder": [ +"project", +"responsePolicy" +], +"parameters": { +"maxResults": { +"description": "Optional. Maximum number of results to be returned. If unspecified, the server decides how many results to return.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. A tag returned by a previous list request that was truncated. Use this parameter to continue a previous list request.", +"location": "query", +"type": "string" +}, +"project": { +"description": "Identifies the project addressed by this request.", +"location": "path", +"required": true, +"type": "string" +}, +"responsePolicy": { +"description": "User assigned name of the Response Policy to list.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "dns/v1/projects/{project}/responsePolicies/{responsePolicy}/rules", +"response": { +"$ref": "ResponsePolicyRulesListResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only", +"https://www.googleapis.com/auth/ndev.clouddns.readonly", +"https://www.googleapis.com/auth/ndev.clouddns.readwrite" +] +}, +"patch": { +"description": "Applies a partial update to an existing Response Policy Rule.", +"flatPath": "dns/v1/projects/{project}/responsePolicies/{responsePolicy}/rules/{responsePolicyRule}", +"httpMethod": "PATCH", +"id": "dns.responsePolicyRules.patch", +"parameterOrder": [ +"project", +"responsePolicy", +"responsePolicyRule" +], +"parameters": { +"clientOperationId": { +"description": "For mutating operation requests only. An optional identifier specified by the client. Must be unique for operation resources in the Operations collection.", +"location": "query", +"type": "string" +}, +"project": { +"description": "Identifies the project addressed by this request.", +"location": "path", +"required": true, +"type": "string" +}, +"responsePolicy": { +"description": "User assigned name of the Response Policy containing the Response Policy Rule.", +"location": "path", +"required": true, +"type": "string" +}, +"responsePolicyRule": { +"description": "User assigned name of the Response Policy Rule addressed by this request.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "dns/v1/projects/{project}/responsePolicies/{responsePolicy}/rules/{responsePolicyRule}", +"request": { +"$ref": "ResponsePolicyRule" +}, +"response": { +"$ref": "ResponsePolicyRulesPatchResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/ndev.clouddns.readwrite" +] +}, +"update": { +"description": "Updates an existing Response Policy Rule.", +"flatPath": "dns/v1/projects/{project}/responsePolicies/{responsePolicy}/rules/{responsePolicyRule}", +"httpMethod": "PUT", +"id": "dns.responsePolicyRules.update", +"parameterOrder": [ +"project", +"responsePolicy", +"responsePolicyRule" +], +"parameters": { +"clientOperationId": { +"description": "For mutating operation requests only. An optional identifier specified by the client. Must be unique for operation resources in the Operations collection.", +"location": "query", +"type": "string" +}, +"project": { +"description": "Identifies the project addressed by this request.", +"location": "path", +"required": true, +"type": "string" +}, +"responsePolicy": { +"description": "User assigned name of the Response Policy containing the Response Policy Rule.", +"location": "path", +"required": true, +"type": "string" +}, +"responsePolicyRule": { +"description": "User assigned name of the Response Policy Rule addressed by this request.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "dns/v1/projects/{project}/responsePolicies/{responsePolicy}/rules/{responsePolicyRule}", +"request": { +"$ref": "ResponsePolicyRule" +}, +"response": { +"$ref": "ResponsePolicyRulesUpdateResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/ndev.clouddns.readwrite" +] +} +} +} +}, +"revision": "20260219", +"rootUrl": "https://dns.googleapis.com/", +"schemas": { +"Change": { +"description": "A Change represents a set of `ResourceRecordSet` additions and deletions applied atomically to a ManagedZone. ResourceRecordSets within a ManagedZone are modified by creating a new Change element in the Changes collection. In turn the Changes collection also records the past modifications to the `ResourceRecordSets` in a `ManagedZone`. The current state of the `ManagedZone` is the sum effect of applying all `Change` elements in the `Changes` collection in sequence.", +"id": "Change", +"properties": { +"additions": { +"description": "Which ResourceRecordSets to add?", +"items": { +"$ref": "ResourceRecordSet" +}, +"type": "array" +}, +"deletions": { +"description": "Which ResourceRecordSets to remove? Must match existing data exactly.", +"items": { +"$ref": "ResourceRecordSet" +}, +"type": "array" +}, +"id": { +"description": "Unique identifier for the resource; defined by the server (output only).", +"type": "string" +}, +"isServing": { +"description": "If the DNS queries for the zone will be served.", +"type": "boolean" +}, +"kind": { +"default": "dns#change", +"type": "string" +}, +"startTime": { +"description": "The time that this operation was started by the server (output only). This is in RFC3339 text format.", +"type": "string" +}, +"status": { +"description": "Status of the operation (output only). A status of \"done\" means that the request to update the authoritative servers has been sent, but the servers might not be updated yet.", +"enum": [ +"pending", +"done" +], +"enumDescriptions": [ +"", +"" +], +"type": "string" +} +}, +"type": "object" +}, +"ChangesListResponse": { +"description": "The response to a request to enumerate Changes to a ResourceRecordSets collection.", +"id": "ChangesListResponse", +"properties": { +"changes": { +"description": "The requested changes.", +"items": { +"$ref": "Change" +}, +"type": "array" +}, +"kind": { +"default": "dns#changesListResponse", +"description": "Type of resource.", +"type": "string" +}, +"nextPageToken": { +"description": "This field indicates that more results are available beyond the last page displayed. To fetch the results, make another list request and use this value as your page token. This lets you retrieve the complete contents of a very large collection one page at a time. However, if the contents of the collection change between the first and last paginated list request, the set of all elements returned are an inconsistent view of the collection. You can't retrieve a consistent snapshot of a collection larger than the maximum page size.", +"type": "string" +} +}, +"type": "object" +}, +"DnsKey": { +"description": "A DNSSEC key pair.", +"id": "DnsKey", +"properties": { +"algorithm": { +"description": "String mnemonic specifying the DNSSEC algorithm of this key. Immutable after creation time.", +"enum": [ +"rsasha1", +"rsasha256", +"rsasha512", +"ecdsap256sha256", +"ecdsap384sha384" +], +"enumDescriptions": [ +"", +"", +"", +"", +"" +], +"type": "string" +}, +"creationTime": { +"description": "The time that this resource was created in the control plane. This is in RFC3339 text format. Output only.", +"type": "string" +}, +"description": { +"description": "A mutable string of at most 1024 characters associated with this resource for the user's convenience. Has no effect on the resource's function.", +"type": "string" +}, +"digests": { +"description": "Cryptographic hashes of the DNSKEY resource record associated with this DnsKey. These digests are needed to construct a DS record that points at this DNS key. Output only.", +"items": { +"$ref": "DnsKeyDigest" +}, +"type": "array" +}, +"id": { +"description": "Unique identifier for the resource; defined by the server (output only).", +"type": "string" +}, +"isActive": { +"description": "Active keys are used to sign subsequent changes to the ManagedZone. Inactive keys are still present as DNSKEY Resource Records for the use of resolvers validating existing signatures.", +"type": "boolean" +}, +"keyLength": { +"description": "Length of the key in bits. Specified at creation time, and then immutable.", +"format": "uint32", +"type": "integer" +}, +"keyTag": { +"description": "The key tag is a non-cryptographic hash of the a DNSKEY resource record associated with this DnsKey. The key tag can be used to identify a DNSKEY more quickly (but it is not a unique identifier). In particular, the key tag is used in a parent zone's DS record to point at the DNSKEY in this child ManagedZone. The key tag is a number in the range [0, 65535] and the algorithm to calculate it is specified in RFC4034 Appendix B. Output only.", +"format": "int32", +"type": "integer" +}, +"kind": { +"default": "dns#dnsKey", +"type": "string" +}, +"publicKey": { +"description": "Base64 encoded public half of this key. Output only.", +"type": "string" +}, +"type": { +"description": "One of \"KEY_SIGNING\" or \"ZONE_SIGNING\". Keys of type KEY_SIGNING have the Secure Entry Point flag set and, when active, are used to sign only resource record sets of type DNSKEY. Otherwise, the Secure Entry Point flag is cleared, and this key is used to sign only resource record sets of other types. Immutable after creation time.", +"enum": [ +"keySigning", +"zoneSigning" +], +"enumDescriptions": [ +"", +"" +], +"type": "string" +} +}, +"type": "object" +}, +"DnsKeyDigest": { +"id": "DnsKeyDigest", +"properties": { +"digest": { +"description": "The base-16 encoded bytes of this digest. Suitable for use in a DS resource record.", +"type": "string" +}, +"type": { +"description": "Specifies the algorithm used to calculate this digest.", +"enum": [ +"sha1", +"sha256", +"sha384" +], +"enumDescriptions": [ +"", +"", +"" +], +"type": "string" +} +}, +"type": "object" +}, +"DnsKeySpec": { +"description": "Parameters for DnsKey key generation. Used for generating initial keys for a new ManagedZone and as default when adding a new DnsKey.", +"id": "DnsKeySpec", +"properties": { +"algorithm": { +"description": "String mnemonic specifying the DNSSEC algorithm of this key.", +"enum": [ +"rsasha1", +"rsasha256", +"rsasha512", +"ecdsap256sha256", +"ecdsap384sha384" +], +"enumDescriptions": [ +"", +"", +"", +"", +"" +], +"type": "string" +}, +"keyLength": { +"description": "Length of the keys in bits.", +"format": "uint32", +"type": "integer" +}, +"keyType": { +"description": "Specifies whether this is a key signing key (KSK) or a zone signing key (ZSK). Key signing keys have the Secure Entry Point flag set and, when active, are only used to sign resource record sets of type DNSKEY. Zone signing keys do not have the Secure Entry Point flag set and are used to sign all other types of resource record sets.", +"enum": [ +"keySigning", +"zoneSigning" +], +"enumDescriptions": [ +"", +"" +], +"type": "string" +}, +"kind": { +"default": "dns#dnsKeySpec", +"type": "string" +} +}, +"type": "object" +}, +"DnsKeysListResponse": { +"description": "The response to a request to enumerate DnsKeys in a ManagedZone.", +"id": "DnsKeysListResponse", +"properties": { +"dnsKeys": { +"description": "The requested resources.", +"items": { +"$ref": "DnsKey" +}, +"type": "array" +}, +"kind": { +"default": "dns#dnsKeysListResponse", +"description": "Type of resource.", +"type": "string" +}, +"nextPageToken": { +"description": "This field indicates that more results are available beyond the last page displayed. To fetch the results, make another list request and use this value as your page token. This lets you retrieve the complete contents of a very large collection one page at a time. However, if the contents of the collection change between the first and last paginated list request, the set of all elements returned are an inconsistent view of the collection. You can't retrieve a consistent snapshot of a collection larger than the maximum page size.", +"type": "string" +} +}, +"type": "object" +}, +"Expr": { +"description": "Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: \"Summary size limit\" description: \"Determines if a summary is less than 100 chars\" expression: \"document.summary.size() < 100\" Example (Equality): title: \"Requestor is owner\" description: \"Determines if requestor is the document owner\" expression: \"document.owner == request.auth.claims.email\" Example (Logic): title: \"Public documents\" description: \"Determine whether the document should be publicly visible\" expression: \"document.type != 'private' && document.type != 'internal'\" Example (Data Manipulation): title: \"Notification string\" description: \"Create a notification string with a timestamp.\" expression: \"'New message received at ' + string(document.create_time)\" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information.", +"id": "Expr", +"properties": { +"description": { +"description": "Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI.", +"type": "string" +}, +"expression": { +"description": "Textual representation of an expression in Common Expression Language syntax.", +"type": "string" +}, +"location": { +"description": "Optional. String indicating the location of the expression for error reporting, e.g. a file name and a position in the file.", +"type": "string" +}, +"title": { +"description": "Optional. Title for the expression, i.e. a short string describing its purpose. This can be used e.g. in UIs which allow to enter the expression.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleIamV1AuditConfig": { +"description": "Specifies the audit configuration for a service. The configuration determines which permission types are logged, and what identities, if any, are exempted from logging. An AuditConfig must have one or more AuditLogConfigs. If there are AuditConfigs for both `allServices` and a specific service, the union of the two AuditConfigs is used for that service: the log_types specified in each AuditConfig are enabled, and the exempted_members in each AuditLogConfig are exempted. Example Policy with multiple AuditConfigs: { \"audit_configs\": [ { \"service\": \"allServices\", \"audit_log_configs\": [ { \"log_type\": \"DATA_READ\", \"exempted_members\": [ \"user:jose@example.com\" ] }, { \"log_type\": \"DATA_WRITE\" }, { \"log_type\": \"ADMIN_READ\" } ] }, { \"service\": \"sampleservice.googleapis.com\", \"audit_log_configs\": [ { \"log_type\": \"DATA_READ\" }, { \"log_type\": \"DATA_WRITE\", \"exempted_members\": [ \"user:aliya@example.com\" ] } ] } ] } For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also exempts `jose@example.com` from DATA_READ logging, and `aliya@example.com` from DATA_WRITE logging.", +"id": "GoogleIamV1AuditConfig", +"properties": { +"auditLogConfigs": { +"description": "The configuration for logging of each type of permission.", +"items": { +"$ref": "GoogleIamV1AuditLogConfig" +}, +"type": "array" +}, +"service": { +"description": "Specifies a service that will be enabled for audit logging. For example, `storage.googleapis.com`, `cloudsql.googleapis.com`. `allServices` is a special value that covers all services.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleIamV1AuditLogConfig": { +"description": "Provides the configuration for logging a type of permissions. Example: { \"audit_log_configs\": [ { \"log_type\": \"DATA_READ\", \"exempted_members\": [ \"user:jose@example.com\" ] }, { \"log_type\": \"DATA_WRITE\" } ] } This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting jose@example.com from DATA_READ logging.", +"id": "GoogleIamV1AuditLogConfig", +"properties": { +"exemptedMembers": { +"description": "Specifies the identities that do not cause logging for this type of permission. Follows the same format of Binding.members.", +"items": { +"type": "string" +}, +"type": "array" +}, +"logType": { +"description": "The log type that this config enables.", +"enum": [ +"LOG_TYPE_UNSPECIFIED", +"ADMIN_READ", +"DATA_WRITE", +"DATA_READ" +], +"enumDescriptions": [ +"Default case. Should never be this.", +"Admin reads. Example: CloudIAM getIamPolicy", +"Data writes. Example: CloudSQL Users create", +"Data reads. Example: CloudSQL Users list" +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleIamV1Binding": { +"description": "Associates `members`, or principals, with a `role`.", +"id": "GoogleIamV1Binding", +"properties": { +"condition": { +"$ref": "Expr", +"description": "The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies)." +}, +"members": { +"description": "Specifies the principals requesting access for a Google Cloud resource. `members` can have the following values: * `allUsers`: A special identifier that represents anyone who is on the internet; with or without a Google account. * `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service account. Does not include identities that come from external identity providers (IdPs) through identity federation. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `group:{emailid}`: An email address that represents a Google group. For example, `admins@example.com`. * `domain:{domain}`: The G Suite domain (primary) that represents all the users of that domain. For example, `google.com` or `example.com`. * `principal://iam.googleapis.com/locations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}`: A single identity in a workforce identity pool. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/group/{group_id}`: All workforce identities in a group. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/attribute.{attribute_name}/{attribute_value}`: All workforce identities with a specific attribute value. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/*`: All identities in a workforce identity pool. * `principal://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/subject/{subject_attribute_value}`: A single identity in a workload identity pool. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/group/{group_id}`: A workload identity pool group. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/attribute.{attribute_name}/{attribute_value}`: All identities in a workload identity pool with a certain attribute. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/*`: All identities in a workload identity pool. * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a user that has been recently deleted. For example, `alice@example.com?uid=123456789012345678901`. If the user is recovered, this value reverts to `user:{emailid}` and the recovered user retains the role in the binding. * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a service account that has been recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the service account is undeleted, this value reverts to `serviceAccount:{emailid}` and the undeleted service account retains the role in the binding. * `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a Google group that has been recently deleted. For example, `admins@example.com?uid=123456789012345678901`. If the group is recovered, this value reverts to `group:{emailid}` and the recovered group retains the role in the binding. * `deleted:principal://iam.googleapis.com/locations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}`: Deleted single identity in a workforce identity pool. For example, `deleted:principal://iam.googleapis.com/locations/global/workforcePools/my-pool-id/subject/my-subject-attribute-value`.", +"items": { +"type": "string" +}, +"type": "array" +}, +"role": { +"description": "Role that is assigned to the list of `members`, or principals. For example, `roles/viewer`, `roles/editor`, or `roles/owner`. For an overview of the IAM roles and permissions, see the [IAM documentation](https://cloud.google.com/iam/docs/roles-overview). For a list of the available pre-defined roles, see [here](https://cloud.google.com/iam/docs/understanding-roles).", +"type": "string" +} +}, +"type": "object" +}, +"GoogleIamV1GetIamPolicyRequest": { +"description": "Request message for `GetIamPolicy` method.", +"id": "GoogleIamV1GetIamPolicyRequest", +"properties": { +"options": { +"$ref": "GoogleIamV1GetPolicyOptions", +"description": "OPTIONAL: A `GetPolicyOptions` object for specifying options to `GetIamPolicy`." +} +}, +"type": "object" +}, +"GoogleIamV1GetPolicyOptions": { +"description": "Encapsulates settings provided to GetIamPolicy.", +"id": "GoogleIamV1GetPolicyOptions", +"properties": { +"requestedPolicyVersion": { +"description": "Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"GoogleIamV1Policy": { +"description": "An Identity and Access Management (IAM) policy, which specifies access controls for Google Cloud resources. A `Policy` is a collection of `bindings`. A `binding` binds one or more `members`, or principals, to a single `role`. Principals can be user accounts, service accounts, Google groups, and domains (such as G Suite). A `role` is a named list of permissions; each `role` can be an IAM predefined role or a user-created custom role. For some types of Google Cloud resources, a `binding` can also specify a `condition`, which is a logical expression that allows access to a resource only if the expression evaluates to `true`. A condition can add constraints based on attributes of the request, the resource, or both. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). **JSON example:** ``` { \"bindings\": [ { \"role\": \"roles/resourcemanager.organizationAdmin\", \"members\": [ \"user:mike@example.com\", \"group:admins@example.com\", \"domain:google.com\", \"serviceAccount:my-project-id@appspot.gserviceaccount.com\" ] }, { \"role\": \"roles/resourcemanager.organizationViewer\", \"members\": [ \"user:eve@example.com\" ], \"condition\": { \"title\": \"expirable access\", \"description\": \"Does not grant access after Sep 2020\", \"expression\": \"request.time < timestamp('2020-10-01T00:00:00.000Z')\", } } ], \"etag\": \"BwWWja0YfJA=\", \"version\": 3 } ``` **YAML example:** ``` bindings: - members: - user:mike@example.com - group:admins@example.com - domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.com role: roles/resourcemanager.organizationViewer condition: title: expirable access description: Does not grant access after Sep 2020 expression: request.time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 ``` For a description of IAM and its features, see the [IAM documentation](https://cloud.google.com/iam/docs/).", +"id": "GoogleIamV1Policy", +"properties": { +"auditConfigs": { +"description": "Specifies cloud audit logging configuration for this policy.", +"items": { +"$ref": "GoogleIamV1AuditConfig" +}, +"type": "array" +}, +"bindings": { +"description": "Associates a list of `members`, or principals, with a `role`. Optionally, may specify a `condition` that determines how and when the `bindings` are applied. Each of the `bindings` must contain at least one principal. The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250 of these principals can be Google groups. Each occurrence of a principal counts towards these limits. For example, if the `bindings` grant 50 different roles to `user:alice@example.com`, and not to any other principal, then you can add another 1,450 principals to the `bindings` in the `Policy`.", +"items": { +"$ref": "GoogleIamV1Binding" +}, +"type": "array" +}, +"etag": { +"description": "`etag` is used for optimistic concurrency control as a way to help prevent simultaneous updates of a policy from overwriting each other. It is strongly suggested that systems make use of the `etag` in the read-modify-write cycle to perform policy updates in order to avoid race conditions: An `etag` is returned in the response to `getIamPolicy`, and systems are expected to put that etag in the request to `setIamPolicy` to ensure that their change will be applied to the same version of the policy. **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost.", +"format": "byte", +"type": "string" +}, +"version": { +"description": "Specifies the format of the policy. Valid values are `0`, `1`, and `3`. Requests that specify an invalid value are rejected. Any operation that affects conditional role bindings must specify version `3`. This requirement applies to the following operations: * Getting a policy that includes a conditional role binding * Adding a conditional role binding to a policy * Changing a conditional role binding in a policy * Removing any role binding, with or without a condition, from a policy that includes conditions **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost. If a policy does not include any conditions, operations on that policy may specify any valid version or leave the field unset. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"GoogleIamV1SetIamPolicyRequest": { +"description": "Request message for `SetIamPolicy` method.", +"id": "GoogleIamV1SetIamPolicyRequest", +"properties": { +"policy": { +"$ref": "GoogleIamV1Policy", +"description": "REQUIRED: The complete policy to be applied to the `resource`. The size of the policy is limited to a few 10s of KB. An empty policy is a valid policy but certain Google Cloud services (such as Projects) might reject them." +}, +"updateMask": { +"description": "OPTIONAL: A FieldMask specifying which fields of the policy to modify. Only the fields in the mask will be modified. If no mask is provided, the following default mask is used: `paths: \"bindings, etag\"`", +"format": "google-fieldmask", +"type": "string" +} +}, +"type": "object" +}, +"GoogleIamV1TestIamPermissionsRequest": { +"description": "Request message for `TestIamPermissions` method.", +"id": "GoogleIamV1TestIamPermissionsRequest", +"properties": { +"permissions": { +"description": "The set of permissions to check for the `resource`. Permissions with wildcards (such as `*` or `storage.*`) are not allowed. For more information see [IAM Overview](https://cloud.google.com/iam/docs/overview#permissions).", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleIamV1TestIamPermissionsResponse": { +"description": "Response message for `TestIamPermissions` method.", +"id": "GoogleIamV1TestIamPermissionsResponse", +"properties": { +"permissions": { +"description": "A subset of `TestPermissionsRequest.permissions` that the caller is allowed.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ManagedZone": { +"description": "A zone is a subtree of the DNS namespace under one administrative responsibility. A ManagedZone is a resource that represents a DNS zone hosted by the Cloud DNS service.", +"id": "ManagedZone", +"properties": { +"cloudLoggingConfig": { +"$ref": "ManagedZoneCloudLoggingConfig" +}, +"creationTime": { +"description": "The time that this resource was created on the server. This is in RFC3339 text format. Output only.", +"type": "string" +}, +"description": { +"description": "A mutable string of at most 1024 characters associated with this resource for the user's convenience. Has no effect on the managed zone's function.", +"type": "string" +}, +"dnsName": { +"description": "The DNS name of this managed zone, for instance \"example.com.\".", +"type": "string" +}, +"dnssecConfig": { +"$ref": "ManagedZoneDnsSecConfig", +"description": "DNSSEC configuration." +}, +"forwardingConfig": { +"$ref": "ManagedZoneForwardingConfig", +"description": "The presence for this field indicates that outbound forwarding is enabled for this zone. The value of this field contains the set of destinations to forward to." +}, +"id": { +"description": "Unique identifier for the resource; defined by the server (output only)", +"format": "uint64", +"type": "string" +}, +"kind": { +"default": "dns#managedZone", +"type": "string" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "User labels.", +"type": "object" +}, +"name": { +"description": "User assigned name for this resource. Must be unique within the project. The name must be 1-63 characters long, must begin with a letter, end with a letter or digit, and only contain lowercase letters, digits or dashes.", +"type": "string" +}, +"nameServerSet": { +"description": "Optionally specifies the NameServerSet for this ManagedZone. A NameServerSet is a set of DNS name servers that all host the same ManagedZones. Most users leave this field unset. If you need to use this field, contact your account team.", +"type": "string" +}, +"nameServers": { +"description": "Delegate your managed_zone to these virtual name servers; defined by the server (output only)", +"items": { +"type": "string" +}, +"type": "array" +}, +"peeringConfig": { +"$ref": "ManagedZonePeeringConfig", +"description": "The presence of this field indicates that DNS Peering is enabled for this zone. The value of this field contains the network to peer with." +}, +"privateVisibilityConfig": { +"$ref": "ManagedZonePrivateVisibilityConfig", +"description": "For privately visible zones, the set of Virtual Private Cloud resources that the zone is visible from." +}, +"reverseLookupConfig": { +"$ref": "ManagedZoneReverseLookupConfig", +"description": "The presence of this field indicates that this is a managed reverse lookup zone and Cloud DNS resolves reverse lookup queries using automatically configured records for VPC resources. This only applies to networks listed under private_visibility_config." +}, +"serviceDirectoryConfig": { +"$ref": "ManagedZoneServiceDirectoryConfig", +"description": "This field links to the associated service directory namespace. Do not set this field for public zones or forwarding zones." +}, +"visibility": { +"description": "The zone's visibility: public zones are exposed to the Internet, while private zones are visible only to Virtual Private Cloud resources.", +"enum": [ +"public", +"private" +], +"enumDescriptions": [ +"Indicates that records in this zone can be queried from the public internet.", +"Indicates that records in this zone cannot be queried from the public internet. Access to private zones depends on the zone configuration." +], +"type": "string" +} +}, +"type": "object" +}, +"ManagedZoneCloudLoggingConfig": { +"description": "Cloud Logging configurations for publicly visible zones.", +"id": "ManagedZoneCloudLoggingConfig", +"properties": { +"enableLogging": { +"description": "If set, enable query logging for this ManagedZone. False by default, making logging opt-in.", +"type": "boolean" +}, +"kind": { +"default": "dns#managedZoneCloudLoggingConfig", +"type": "string" +} +}, +"type": "object" +}, +"ManagedZoneDnsSecConfig": { +"id": "ManagedZoneDnsSecConfig", +"properties": { +"defaultKeySpecs": { +"description": "Specifies parameters for generating initial DnsKeys for this ManagedZone. Can only be changed while the state is OFF.", +"items": { +"$ref": "DnsKeySpec" +}, +"type": "array" +}, +"kind": { +"default": "dns#managedZoneDnsSecConfig", +"type": "string" +}, +"nonExistence": { +"description": "Specifies the mechanism for authenticated denial-of-existence responses. Can only be changed while the state is OFF.", +"enum": [ +"nsec", +"nsec3" +], +"enumDescriptions": [ +"Indicates that Cloud DNS will sign records in the managed zone according to RFC 4034 and respond with NSEC records for names that do not exist.", +"Indicates that Cloud DNS will sign records in the managed zone according to RFC 5155 and respond with NSEC3 records for names that do not exist." +], +"type": "string" +}, +"state": { +"description": "Specifies whether DNSSEC is enabled, and what mode it is in.", +"enum": [ +"off", +"on", +"transfer" +], +"enumDescriptions": [ +"DNSSEC is disabled; the zone is not signed.", +"DNSSEC is enabled; the zone is signed and fully managed.", +"DNSSEC is enabled, but in a \"transfer\" mode." +], +"type": "string" +} +}, +"type": "object" +}, +"ManagedZoneForwardingConfig": { +"id": "ManagedZoneForwardingConfig", +"properties": { +"kind": { +"default": "dns#managedZoneForwardingConfig", +"type": "string" +}, +"targetNameServers": { +"description": "List of target name servers to forward to. Cloud DNS selects the best available name server if more than one target is given.", +"items": { +"$ref": "ManagedZoneForwardingConfigNameServerTarget" +}, +"type": "array" +} +}, +"type": "object" +}, +"ManagedZoneForwardingConfigNameServerTarget": { +"id": "ManagedZoneForwardingConfigNameServerTarget", +"properties": { +"domainName": { +"description": "Fully qualified domain name for the forwarding target.", +"type": "string" +}, +"forwardingPath": { +"description": "Forwarding path for this NameServerTarget. If unset or set to DEFAULT, Cloud DNS makes forwarding decisions based on IP address ranges; that is, RFC1918 addresses go to the VPC network, non-RFC1918 addresses go to the internet. When set to PRIVATE, Cloud DNS always sends queries through the VPC network for this target.", +"enum": [ +"default", +"private" +], +"enumDescriptions": [ +"Cloud DNS makes forwarding decisions based on address ranges; that is, RFC1918 addresses forward to the target through the VPC and non-RFC1918 addresses forward to the target through the internet", +"Cloud DNS always forwards to this target through the VPC." +], +"type": "string" +}, +"ipv4Address": { +"description": "IPv4 address of a target name server.", +"type": "string" +}, +"ipv6Address": { +"description": "IPv6 address of a target name server. Does not accept both fields (ipv4 & ipv6) being populated. Public preview as of November 2022.", +"type": "string" +}, +"kind": { +"default": "dns#managedZoneForwardingConfigNameServerTarget", +"type": "string" +} +}, +"type": "object" +}, +"ManagedZoneOperationsListResponse": { +"id": "ManagedZoneOperationsListResponse", +"properties": { +"kind": { +"default": "dns#managedZoneOperationsListResponse", +"description": "Type of resource.", +"type": "string" +}, +"nextPageToken": { +"description": "This field indicates that more results are available beyond the last page displayed. To fetch the results, make another list request and use this value as your page token. This lets you retrieve the complete contents of a very large collection one page at a time. However, if the contents of the collection change between the first and last paginated list request, the set of all elements returned are an inconsistent view of the collection. You can't retrieve a consistent snapshot of a collection larger than the maximum page size.", +"type": "string" +}, +"operations": { +"description": "The operation resources.", +"items": { +"$ref": "Operation" +}, +"type": "array" +} +}, +"type": "object" +}, +"ManagedZonePeeringConfig": { +"id": "ManagedZonePeeringConfig", +"properties": { +"kind": { +"default": "dns#managedZonePeeringConfig", +"type": "string" +}, +"targetNetwork": { +"$ref": "ManagedZonePeeringConfigTargetNetwork", +"description": "The network with which to peer." +} +}, +"type": "object" +}, +"ManagedZonePeeringConfigTargetNetwork": { +"id": "ManagedZonePeeringConfigTargetNetwork", +"properties": { +"deactivateTime": { +"description": "The time at which the zone was deactivated, in RFC 3339 date-time format. An empty string indicates that the peering connection is active. The producer network can deactivate a zone. The zone is automatically deactivated if the producer network that the zone targeted is deleted. Output only.", +"type": "string" +}, +"kind": { +"default": "dns#managedZonePeeringConfigTargetNetwork", +"type": "string" +}, +"networkUrl": { +"description": "The fully qualified URL of the VPC network to forward queries to. This should be formatted like `https://www.googleapis.com/compute/v1/projects/{project}/global/networks/{network}`", +"type": "string" +} +}, +"type": "object" +}, +"ManagedZonePrivateVisibilityConfig": { +"id": "ManagedZonePrivateVisibilityConfig", +"properties": { +"gkeClusters": { +"description": "The list of Google Kubernetes Engine clusters that can see this zone.", +"items": { +"$ref": "ManagedZonePrivateVisibilityConfigGKECluster" +}, +"type": "array" +}, +"kind": { +"default": "dns#managedZonePrivateVisibilityConfig", +"type": "string" +}, +"networks": { +"description": "The list of VPC networks that can see this zone.", +"items": { +"$ref": "ManagedZonePrivateVisibilityConfigNetwork" +}, +"type": "array" +} +}, +"type": "object" +}, +"ManagedZonePrivateVisibilityConfigGKECluster": { +"id": "ManagedZonePrivateVisibilityConfigGKECluster", +"properties": { +"gkeClusterName": { +"description": "The resource name of the cluster to bind this ManagedZone to. This should be specified in the format like: projects/*/locations/*/clusters/*. This is referenced from GKE projects.locations.clusters.get API: https://cloud.google.com/kubernetes-engine/docs/reference/rest/v1/projects.locations.clusters/get", +"type": "string" +}, +"kind": { +"default": "dns#managedZonePrivateVisibilityConfigGKECluster", +"type": "string" +} +}, +"type": "object" +}, +"ManagedZonePrivateVisibilityConfigNetwork": { +"id": "ManagedZonePrivateVisibilityConfigNetwork", +"properties": { +"kind": { +"default": "dns#managedZonePrivateVisibilityConfigNetwork", +"type": "string" +}, +"networkUrl": { +"description": "The fully qualified URL of the VPC network to bind to. Format this URL like `https://www.googleapis.com/compute/v1/projects/{project}/global/networks/{network}`", +"type": "string" +} +}, +"type": "object" +}, +"ManagedZoneReverseLookupConfig": { +"id": "ManagedZoneReverseLookupConfig", +"properties": { +"kind": { +"default": "dns#managedZoneReverseLookupConfig", +"type": "string" +} +}, +"type": "object" +}, +"ManagedZoneServiceDirectoryConfig": { +"description": "Contains information about Service Directory-backed zones.", +"id": "ManagedZoneServiceDirectoryConfig", +"properties": { +"kind": { +"default": "dns#managedZoneServiceDirectoryConfig", +"type": "string" +}, +"namespace": { +"$ref": "ManagedZoneServiceDirectoryConfigNamespace", +"description": "Contains information about the namespace associated with the zone." +} +}, +"type": "object" +}, +"ManagedZoneServiceDirectoryConfigNamespace": { +"id": "ManagedZoneServiceDirectoryConfigNamespace", +"properties": { +"deletionTime": { +"description": "The time that the namespace backing this zone was deleted; an empty string if it still exists. This is in RFC3339 text format. Output only.", +"type": "string" +}, +"kind": { +"default": "dns#managedZoneServiceDirectoryConfigNamespace", +"type": "string" +}, +"namespaceUrl": { +"description": "The fully qualified URL of the namespace associated with the zone. Format must be `https://servicedirectory.googleapis.com/v1/projects/{project}/locations/{location}/namespaces/{namespace}`", +"type": "string" +} +}, +"type": "object" +}, +"ManagedZonesListResponse": { +"id": "ManagedZonesListResponse", +"properties": { +"kind": { +"default": "dns#managedZonesListResponse", +"description": "Type of resource.", +"type": "string" +}, +"managedZones": { +"description": "The managed zone resources.", +"items": { +"$ref": "ManagedZone" +}, +"type": "array" +}, +"nextPageToken": { +"description": "This field indicates that more results are available beyond the last page displayed. To fetch the results, make another list request and use this value as your page token. This lets you retrieve the complete contents of a very large collection one page at a time. However, if the contents of the collection change between the first and last paginated list request, the set of all elements returned are an inconsistent view of the collection. You can't retrieve a consistent snapshot of a collection larger than the maximum page size.", +"type": "string" +} +}, +"type": "object" +}, +"Operation": { +"description": "An operation represents a successful mutation performed on a Cloud DNS resource. Operations provide: - An audit log of server resource mutations. - A way to recover/retry API calls in the case where the response is never received by the caller. Use the caller specified client_operation_id.", +"id": "Operation", +"properties": { +"dnsKeyContext": { +"$ref": "OperationDnsKeyContext", +"description": "Only populated if the operation targeted a DnsKey (output only)." +}, +"id": { +"description": "Unique identifier for the resource. This is the client_operation_id if the client specified it when the mutation was initiated, otherwise, it is generated by the server. The name must be 1-63 characters long and match the regular expression [-a-z0-9]? (output only)", +"type": "string" +}, +"kind": { +"default": "dns#operation", +"type": "string" +}, +"startTime": { +"description": "The time that this operation was started by the server. This is in RFC3339 text format (output only).", +"type": "string" +}, +"status": { +"description": "Status of the operation. Can be one of the following: \"PENDING\" or \"DONE\" (output only). A status of \"DONE\" means that the request to update the authoritative servers has been sent, but the servers might not be updated yet.", +"enum": [ +"pending", +"done" +], +"enumDescriptions": [ +"", +"" +], +"type": "string" +}, +"type": { +"description": "Type of the operation. Operations include insert, update, and delete (output only).", +"type": "string" +}, +"user": { +"description": "User who requested the operation, for example: user@example.com. cloud-dns-system for operations automatically done by the system. (output only)", +"type": "string" +}, +"zoneContext": { +"$ref": "OperationManagedZoneContext", +"description": "Only populated if the operation targeted a ManagedZone (output only)." +} +}, +"type": "object" +}, +"OperationDnsKeyContext": { +"id": "OperationDnsKeyContext", +"properties": { +"newValue": { +"$ref": "DnsKey", +"description": "The post-operation DnsKey resource." +}, +"oldValue": { +"$ref": "DnsKey", +"description": "The pre-operation DnsKey resource." +} +}, +"type": "object" +}, +"OperationManagedZoneContext": { +"id": "OperationManagedZoneContext", +"properties": { +"newValue": { +"$ref": "ManagedZone", +"description": "The post-operation ManagedZone resource." +}, +"oldValue": { +"$ref": "ManagedZone", +"description": "The pre-operation ManagedZone resource." +} +}, +"type": "object" +}, +"PoliciesListResponse": { +"id": "PoliciesListResponse", +"properties": { +"kind": { +"default": "dns#policiesListResponse", +"description": "Type of resource.", +"type": "string" +}, +"nextPageToken": { +"description": "This field indicates that more results are available beyond the last page displayed. To fetch the results, make another list request and use this value as your page token. This lets you retrieve the complete contents of a very large collection one page at a time. However, if the contents of the collection change between the first and last paginated list request, the set of all elements returned are an inconsistent view of the collection. You can't retrieve a consistent snapshot of a collection larger than the maximum page size.", +"type": "string" +}, +"policies": { +"description": "The policy resources.", +"items": { +"$ref": "Policy" +}, +"type": "array" +} +}, +"type": "object" +}, +"PoliciesPatchResponse": { +"id": "PoliciesPatchResponse", +"properties": { +"policy": { +"$ref": "Policy" +} +}, +"type": "object" +}, +"PoliciesUpdateResponse": { +"id": "PoliciesUpdateResponse", +"properties": { +"policy": { +"$ref": "Policy" +} +}, +"type": "object" +}, +"Policy": { +"description": "A policy is a collection of DNS rules applied to one or more Virtual Private Cloud resources.", +"id": "Policy", +"properties": { +"alternativeNameServerConfig": { +"$ref": "PolicyAlternativeNameServerConfig", +"description": "Sets an alternative name server for the associated networks. When specified, all DNS queries are forwarded to a name server that you choose. Names such as .internal are not available when an alternative name server is specified." +}, +"description": { +"description": "A mutable string of at most 1024 characters associated with this resource for the user's convenience. Has no effect on the policy's function.", +"type": "string" +}, +"dns64Config": { +"$ref": "PolicyDns64Config", +"description": "Configurations related to DNS64 for this policy." +}, +"enableInboundForwarding": { +"description": "Allows networks bound to this policy to receive DNS queries sent by VMs or applications over VPN connections. When enabled, a virtual IP address is allocated from each of the subnetworks that are bound to this policy.", +"type": "boolean" +}, +"enableLogging": { +"description": "Controls whether logging is enabled for the networks bound to this policy. Defaults to no logging if not set.", +"type": "boolean" +}, +"id": { +"description": "Unique identifier for the resource; defined by the server (output only).", +"format": "uint64", +"type": "string" +}, +"kind": { +"default": "dns#policy", +"type": "string" +}, +"name": { +"description": "User-assigned name for this policy.", +"type": "string" +}, +"networks": { +"description": "List of network names specifying networks to which this policy is applied.", +"items": { +"$ref": "PolicyNetwork" +}, +"type": "array" +} +}, +"type": "object" +}, +"PolicyAlternativeNameServerConfig": { +"id": "PolicyAlternativeNameServerConfig", +"properties": { +"kind": { +"default": "dns#policyAlternativeNameServerConfig", +"type": "string" +}, +"targetNameServers": { +"description": "Sets an alternative name server for the associated networks. When specified, all DNS queries are forwarded to a name server that you choose. Names such as .internal are not available when an alternative name server is specified.", +"items": { +"$ref": "PolicyAlternativeNameServerConfigTargetNameServer" +}, +"type": "array" +} +}, +"type": "object" +}, +"PolicyAlternativeNameServerConfigTargetNameServer": { +"id": "PolicyAlternativeNameServerConfigTargetNameServer", +"properties": { +"forwardingPath": { +"description": "Forwarding path for this TargetNameServer. If unset or set to DEFAULT, Cloud DNS makes forwarding decisions based on address ranges; that is, RFC1918 addresses go to the VPC network, non-RFC1918 addresses go to the internet. When set to PRIVATE, Cloud DNS always sends queries through the VPC network for this target.", +"enum": [ +"default", +"private" +], +"enumDescriptions": [ +"Cloud DNS makes forwarding decision based on IP address ranges; that is, RFC1918 addresses forward to the target through the VPC and non-RFC1918 addresses forward to the target through the internet", +"Cloud DNS always forwards to this target through the VPC." +], +"type": "string" +}, +"ipv4Address": { +"description": "IPv4 address to forward queries to.", +"type": "string" +}, +"ipv6Address": { +"description": "IPv6 address to forward to. Does not accept both fields (ipv4 & ipv6) being populated. Public preview as of November 2022.", +"type": "string" +}, +"kind": { +"default": "dns#policyAlternativeNameServerConfigTargetNameServer", +"type": "string" +} +}, +"type": "object" +}, +"PolicyDns64Config": { +"description": "DNS64 policies", +"id": "PolicyDns64Config", +"properties": { +"kind": { +"default": "dns#policyDns64Config", +"type": "string" +}, +"scope": { +"$ref": "PolicyDns64ConfigScope", +"description": "The scope to which DNS64 config will be applied to." +} +}, +"type": "object" +}, +"PolicyDns64ConfigScope": { +"id": "PolicyDns64ConfigScope", +"properties": { +"allQueries": { +"description": "Controls whether DNS64 is enabled globally for all networks bound to the policy.", +"type": "boolean" +}, +"kind": { +"default": "dns#policyDns64ConfigScope", +"type": "string" +} +}, +"type": "object" +}, +"PolicyNetwork": { +"id": "PolicyNetwork", +"properties": { +"kind": { +"default": "dns#policyNetwork", +"type": "string" +}, +"networkUrl": { +"description": "The fully qualified URL of the VPC network to bind to. This should be formatted like https://www.googleapis.com/compute/v1/projects/{project}/global/networks/{network}", +"type": "string" +} +}, +"type": "object" +}, +"Project": { +"description": "A project resource. The project is a top level container for resources including Cloud DNS ManagedZones. Projects can be created only in the APIs console.", +"id": "Project", +"properties": { +"id": { +"description": "User assigned unique identifier for the resource (output only).", +"type": "string" +}, +"kind": { +"default": "dns#project", +"type": "string" +}, +"number": { +"description": "Unique numeric identifier for the resource; defined by the server (output only).", +"format": "uint64", +"type": "string" +}, +"quota": { +"$ref": "Quota", +"description": "Quotas assigned to this project (output only)." +} +}, +"type": "object" +}, +"Quota": { +"description": "Limits associated with a Project.", +"id": "Quota", +"properties": { +"dnsKeysPerManagedZone": { +"description": "Maximum allowed number of DnsKeys per ManagedZone.", +"format": "int32", +"type": "integer" +}, +"gkeClustersPerManagedZone": { +"description": "Maximum allowed number of GKE clusters to which a privately scoped zone can be attached.", +"format": "int32", +"type": "integer" +}, +"gkeClustersPerPolicy": { +"description": "Maximum allowed number of GKE clusters per policy.", +"format": "int32", +"type": "integer" +}, +"gkeClustersPerResponsePolicy": { +"description": "Maximum allowed number of GKE clusters per response policy.", +"format": "int32", +"type": "integer" +}, +"internetHealthChecksPerManagedZone": { +"format": "int32", +"type": "integer" +}, +"itemsPerRoutingPolicy": { +"description": "Maximum allowed number of items per routing policy.", +"format": "int32", +"type": "integer" +}, +"kind": { +"default": "dns#quota", +"type": "string" +}, +"managedZones": { +"description": "Maximum allowed number of managed zones in the project.", +"format": "int32", +"type": "integer" +}, +"managedZonesPerGkeCluster": { +"description": "Maximum allowed number of managed zones which can be attached to a GKE cluster.", +"format": "int32", +"type": "integer" +}, +"managedZonesPerNetwork": { +"description": "Maximum allowed number of managed zones which can be attached to a network.", +"format": "int32", +"type": "integer" +}, +"nameserversPerDelegation": { +"description": "Maximum number of nameservers per delegation, meant to prevent abuse", +"format": "int32", +"type": "integer" +}, +"networksPerManagedZone": { +"description": "Maximum allowed number of networks to which a privately scoped zone can be attached.", +"format": "int32", +"type": "integer" +}, +"networksPerPolicy": { +"description": "Maximum allowed number of networks per policy.", +"format": "int32", +"type": "integer" +}, +"networksPerResponsePolicy": { +"description": "Maximum allowed number of networks per response policy.", +"format": "int32", +"type": "integer" +}, +"peeringZonesPerTargetNetwork": { +"description": "Maximum allowed number of consumer peering zones per target network owned by this producer project", +"format": "int32", +"type": "integer" +}, +"policies": { +"description": "Maximum allowed number of policies per project.", +"format": "int32", +"type": "integer" +}, +"resourceRecordsPerRrset": { +"description": "Maximum allowed number of ResourceRecords per ResourceRecordSet.", +"format": "int32", +"type": "integer" +}, +"responsePolicies": { +"description": "Maximum allowed number of response policies per project.", +"format": "int32", +"type": "integer" +}, +"responsePolicyRulesPerResponsePolicy": { +"description": "Maximum allowed number of rules per response policy.", +"format": "int32", +"type": "integer" +}, +"rrsetAdditionsPerChange": { +"description": "Maximum allowed number of ResourceRecordSets to add per ChangesCreateRequest.", +"format": "int32", +"type": "integer" +}, +"rrsetDeletionsPerChange": { +"description": "Maximum allowed number of ResourceRecordSets to delete per ChangesCreateRequest.", +"format": "int32", +"type": "integer" +}, +"rrsetsPerManagedZone": { +"description": "Maximum allowed number of ResourceRecordSets per zone in the project.", +"format": "int32", +"type": "integer" +}, +"targetNameServersPerManagedZone": { +"description": "Maximum allowed number of target name servers per managed forwarding zone.", +"format": "int32", +"type": "integer" +}, +"targetNameServersPerPolicy": { +"description": "Maximum allowed number of alternative target name servers per policy.", +"format": "int32", +"type": "integer" +}, +"totalRrdataSizePerChange": { +"description": "Maximum allowed size for total rrdata in one ChangesCreateRequest in bytes.", +"format": "int32", +"type": "integer" +}, +"whitelistedKeySpecs": { +"description": "DNSSEC algorithm and key length types that can be used for DnsKeys.", +"items": { +"$ref": "DnsKeySpec" +}, +"type": "array" +} +}, +"type": "object" +}, +"RRSetRoutingPolicy": { +"description": "A RRSetRoutingPolicy represents ResourceRecordSet data that is returned dynamically with the response varying based on configured properties such as geolocation or by weighted random selection.", +"id": "RRSetRoutingPolicy", +"properties": { +"geo": { +"$ref": "RRSetRoutingPolicyGeoPolicy" +}, +"healthCheck": { +"description": "The fully qualified URL of the HealthCheck to use for this RRSetRoutingPolicy. Format this URL like `https://www.googleapis.com/compute/v1/projects/{project}/global/healthChecks/{healthCheck}`. https://cloud.google.com/compute/docs/reference/rest/v1/healthChecks", +"type": "string" +}, +"kind": { +"default": "dns#rRSetRoutingPolicy", +"type": "string" +}, +"primaryBackup": { +"$ref": "RRSetRoutingPolicyPrimaryBackupPolicy" +}, +"wrr": { +"$ref": "RRSetRoutingPolicyWrrPolicy" +} +}, +"type": "object" +}, +"RRSetRoutingPolicyGeoPolicy": { +"description": "Configures a `RRSetRoutingPolicy` that routes based on the geo location of the querying user.", +"id": "RRSetRoutingPolicyGeoPolicy", +"properties": { +"enableFencing": { +"description": "Without fencing, if health check fails for all configured items in the current geo bucket, we failover to the next nearest geo bucket. With fencing, if health checking is enabled, as long as some targets in the current geo bucket are healthy, we return only the healthy targets. However, if all targets are unhealthy, we don't failover to the next nearest bucket; instead, we return all the items in the current bucket even when all targets are unhealthy.", +"type": "boolean" +}, +"items": { +"description": "The primary geo routing configuration. If there are multiple items with the same location, an error is returned instead.", +"items": { +"$ref": "RRSetRoutingPolicyGeoPolicyGeoPolicyItem" +}, +"type": "array" +}, +"kind": { +"default": "dns#rRSetRoutingPolicyGeoPolicy", +"type": "string" +} +}, +"type": "object" +}, +"RRSetRoutingPolicyGeoPolicyGeoPolicyItem": { +"description": "ResourceRecordSet data for one geo location.", +"id": "RRSetRoutingPolicyGeoPolicyGeoPolicyItem", +"properties": { +"healthCheckedTargets": { +"$ref": "RRSetRoutingPolicyHealthCheckTargets", +"description": "For A and AAAA types only. Endpoints to return in the query result only if they are healthy. These can be specified along with `rrdata` within this item." +}, +"kind": { +"default": "dns#rRSetRoutingPolicyGeoPolicyGeoPolicyItem", +"type": "string" +}, +"location": { +"description": "The geo-location granularity is a GCP region. This location string should correspond to a GCP region. e.g. \"us-east1\", \"southamerica-east1\", \"asia-east1\", etc.", +"type": "string" +}, +"rrdatas": { +"items": { +"type": "string" +}, +"type": "array" +}, +"signatureRrdatas": { +"description": "DNSSEC generated signatures for all the `rrdata` within this item. When using health-checked targets for DNSSEC-enabled zones, you can only use at most one health-checked IP address per item.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"RRSetRoutingPolicyHealthCheckTargets": { +"description": "HealthCheckTargets describes endpoints to health-check when responding to Routing Policy queries. Only the healthy endpoints will be included in the response. Set either `internal_load_balancer` or `external_endpoints`. Do not set both.", +"id": "RRSetRoutingPolicyHealthCheckTargets", +"properties": { +"externalEndpoints": { +"description": "The Internet IP addresses to be health checked. The format matches the format of ResourceRecordSet.rrdata as defined in RFC 1035 (section 5) and RFC 1034 (section 3.6.1)", +"items": { +"type": "string" +}, +"type": "array" +}, +"internalLoadBalancers": { +"description": "Configuration for internal load balancers to be health checked.", +"items": { +"$ref": "RRSetRoutingPolicyLoadBalancerTarget" +}, +"type": "array" +} +}, +"type": "object" +}, +"RRSetRoutingPolicyLoadBalancerTarget": { +"description": "The configuration for an individual load balancer to health check.", +"id": "RRSetRoutingPolicyLoadBalancerTarget", +"properties": { +"ipAddress": { +"description": "The frontend IP address of the load balancer to health check.", +"type": "string" +}, +"ipProtocol": { +"description": "The protocol of the load balancer to health check.", +"enum": [ +"undefined", +"tcp", +"udp" +], +"enumDescriptions": [ +"", +"Indicates the load balancer is accessible via TCP.", +"Indicates the load balancer is accessible via UDP." +], +"type": "string" +}, +"kind": { +"default": "dns#rRSetRoutingPolicyLoadBalancerTarget", +"type": "string" +}, +"loadBalancerType": { +"description": "The type of load balancer specified by this target. This value must match the configuration of the load balancer located at the LoadBalancerTarget's IP address, port, and region. Use the following: - *regionalL4ilb*: for a regional internal passthrough Network Load Balancer. - *regionalL7ilb*: for a regional internal Application Load Balancer. - *globalL7ilb*: for a global internal Application Load Balancer. ", +"enum": [ +"none", +"globalL7ilb", +"regionalL4ilb", +"regionalL7ilb" +], +"enumDescriptions": [ +"", +"Indicates the load balancer is a Cross-Region Application Load Balancer.", +"Indicates the load balancer is a Regional Network Passthrough Load Balancer.", +"Indicates the load balancer is a Regional Application Load Balancer." +], +"type": "string" +}, +"networkUrl": { +"description": "The fully qualified URL of the network that the load balancer is attached to. This should be formatted like `https://www.googleapis.com/compute/v1/projects/{project}/global/networks/{network}`.", +"type": "string" +}, +"port": { +"description": "The configured port of the load balancer.", +"type": "string" +}, +"project": { +"description": "The project ID in which the load balancer is located.", +"type": "string" +}, +"region": { +"description": "The region in which the load balancer is located.", +"type": "string" +} +}, +"type": "object" +}, +"RRSetRoutingPolicyPrimaryBackupPolicy": { +"description": "Configures a RRSetRoutingPolicy such that all queries are responded with the primary_targets if they are healthy. And if all of them are unhealthy, then we fallback to a geo localized policy.", +"id": "RRSetRoutingPolicyPrimaryBackupPolicy", +"properties": { +"backupGeoTargets": { +"$ref": "RRSetRoutingPolicyGeoPolicy", +"description": "Backup targets provide a regional failover policy for the otherwise global primary targets. If serving state is set to `BACKUP`, this policy essentially becomes a geo routing policy." +}, +"kind": { +"default": "dns#rRSetRoutingPolicyPrimaryBackupPolicy", +"type": "string" +}, +"primaryTargets": { +"$ref": "RRSetRoutingPolicyHealthCheckTargets", +"description": "Endpoints that are health checked before making the routing decision. Unhealthy endpoints are omitted from the results. If all endpoints are unhealthy, we serve a response based on the `backup_geo_targets`." +}, +"trickleTraffic": { +"description": "When serving state is `PRIMARY`, this field provides the option of sending a small percentage of the traffic to the backup targets.", +"format": "double", +"type": "number" +} +}, +"type": "object" +}, +"RRSetRoutingPolicyWrrPolicy": { +"description": "Configures a RRSetRoutingPolicy that routes in a weighted round robin fashion.", +"id": "RRSetRoutingPolicyWrrPolicy", +"properties": { +"items": { +"items": { +"$ref": "RRSetRoutingPolicyWrrPolicyWrrPolicyItem" +}, +"type": "array" +}, +"kind": { +"default": "dns#rRSetRoutingPolicyWrrPolicy", +"type": "string" +} +}, +"type": "object" +}, +"RRSetRoutingPolicyWrrPolicyWrrPolicyItem": { +"description": "A routing block which contains the routing information for one WRR item.", +"id": "RRSetRoutingPolicyWrrPolicyWrrPolicyItem", +"properties": { +"healthCheckedTargets": { +"$ref": "RRSetRoutingPolicyHealthCheckTargets", +"description": "Endpoints that are health checked before making the routing decision. The unhealthy endpoints are omitted from the result. If all endpoints within a bucket are unhealthy, we choose a different bucket (sampled with respect to its weight) for responding. If DNSSEC is enabled for this zone, only one of `rrdata` or `health_checked_targets` can be set." +}, +"kind": { +"default": "dns#rRSetRoutingPolicyWrrPolicyWrrPolicyItem", +"type": "string" +}, +"rrdatas": { +"items": { +"type": "string" +}, +"type": "array" +}, +"signatureRrdatas": { +"description": "DNSSEC generated signatures for all the `rrdata` within this item. When using health-checked targets for DNSSEC-enabled zones, you can only use at most one health-checked IP address per item.", +"items": { +"type": "string" +}, +"type": "array" +}, +"weight": { +"description": "The weight corresponding to this `WrrPolicyItem` object. When multiple `WrrPolicyItem` objects are configured, the probability of returning an `WrrPolicyItem` object's data is proportional to its weight relative to the sum of weights configured for all items. This weight must be non-negative.", +"format": "double", +"type": "number" +} +}, +"type": "object" +}, +"ResourceRecordSet": { +"description": "A unit of data that is returned by the DNS servers.", +"id": "ResourceRecordSet", +"properties": { +"kind": { +"default": "dns#resourceRecordSet", +"type": "string" +}, +"name": { +"description": "For example, www.example.com.", +"type": "string" +}, +"routingPolicy": { +"$ref": "RRSetRoutingPolicy", +"description": "Configures dynamic query responses based on either the geo location of the querying user or a weighted round robin based routing policy. A valid `ResourceRecordSet` contains only `rrdata` (for static resolution) or a `routing_policy` (for dynamic resolution)." +}, +"rrdatas": { +"description": "As defined in RFC 1035 (section 5) and RFC 1034 (section 3.6.1) -- see examples.", +"items": { +"type": "string" +}, +"type": "array" +}, +"signatureRrdatas": { +"description": "As defined in RFC 4034 (section 3.2).", +"items": { +"type": "string" +}, +"type": "array" +}, +"ttl": { +"description": "Number of seconds that this `ResourceRecordSet` can be cached by resolvers.", +"format": "int32", +"type": "integer" +}, +"type": { +"description": "The identifier of a supported record type. See the list of Supported DNS record types.", +"type": "string" +} +}, +"type": "object" +}, +"ResourceRecordSetsDeleteResponse": { +"id": "ResourceRecordSetsDeleteResponse", +"properties": {}, +"type": "object" +}, +"ResourceRecordSetsListResponse": { +"id": "ResourceRecordSetsListResponse", +"properties": { +"kind": { +"default": "dns#resourceRecordSetsListResponse", +"description": "Type of resource.", +"type": "string" +}, +"nextPageToken": { +"description": "This field indicates that more results are available beyond the last page displayed. To fetch the results, make another list request and use this value as your page token. This lets you retrieve the complete contents of a very large collection one page at a time. However, if the contents of the collection change between the first and last paginated list request, the set of all elements returned are an inconsistent view of the collection. You can't retrieve a consistent snapshot of a collection larger than the maximum page size.", +"type": "string" +}, +"rrsets": { +"description": "The resource record set resources.", +"items": { +"$ref": "ResourceRecordSet" +}, +"type": "array" +} +}, +"type": "object" +}, +"ResponsePoliciesListResponse": { +"id": "ResponsePoliciesListResponse", +"properties": { +"nextPageToken": { +"description": "This field indicates that more results are available beyond the last page displayed. To fetch the results, make another list request and use this value as your page token. This lets you retrieve the complete contents of a very large collection one page at a time. However, if the contents of the collection change between the first and last paginated list request, the set of all elements returned are an inconsistent view of the collection. You can't retrieve a consistent snapshot of a collection larger than the maximum page size.", +"type": "string" +}, +"responsePolicies": { +"description": "The Response Policy resources.", +"items": { +"$ref": "ResponsePolicy" +}, +"type": "array" +} +}, +"type": "object" +}, +"ResponsePoliciesPatchResponse": { +"id": "ResponsePoliciesPatchResponse", +"properties": { +"responsePolicy": { +"$ref": "ResponsePolicy" +} +}, +"type": "object" +}, +"ResponsePoliciesUpdateResponse": { +"id": "ResponsePoliciesUpdateResponse", +"properties": { +"responsePolicy": { +"$ref": "ResponsePolicy" +} +}, +"type": "object" +}, +"ResponsePolicy": { +"description": "A Response Policy is a collection of selectors that apply to queries made against one or more Virtual Private Cloud networks.", +"id": "ResponsePolicy", +"properties": { +"description": { +"description": "User-provided description for this Response Policy.", +"type": "string" +}, +"gkeClusters": { +"description": "The list of Google Kubernetes Engine clusters to which this response policy is applied.", +"items": { +"$ref": "ResponsePolicyGKECluster" +}, +"type": "array" +}, +"id": { +"description": "Unique identifier for the resource; defined by the server (output only).", +"format": "int64", +"type": "string" +}, +"kind": { +"default": "dns#responsePolicy", +"type": "string" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "User labels.", +"type": "object" +}, +"networks": { +"description": "List of network names specifying networks to which this policy is applied.", +"items": { +"$ref": "ResponsePolicyNetwork" +}, +"type": "array" +}, +"responsePolicyName": { +"description": "User assigned name for this Response Policy.", +"type": "string" +} +}, +"type": "object" +}, +"ResponsePolicyGKECluster": { +"id": "ResponsePolicyGKECluster", +"properties": { +"gkeClusterName": { +"description": "The resource name of the cluster to bind this response policy to. This should be specified in the format like: projects/*/locations/*/clusters/*. This is referenced from GKE projects.locations.clusters.get API: https://cloud.google.com/kubernetes-engine/docs/reference/rest/v1/projects.locations.clusters/get", +"type": "string" +}, +"kind": { +"default": "dns#responsePolicyGKECluster", +"type": "string" +} +}, +"type": "object" +}, +"ResponsePolicyNetwork": { +"id": "ResponsePolicyNetwork", +"properties": { +"kind": { +"default": "dns#responsePolicyNetwork", +"type": "string" +}, +"networkUrl": { +"description": "The fully qualified URL of the VPC network to bind to. This should be formatted like `https://www.googleapis.com/compute/v1/projects/{project}/global/networks/{network}`", +"type": "string" +} +}, +"type": "object" +}, +"ResponsePolicyRule": { +"description": "A Response Policy Rule is a selector that applies its behavior to queries that match the selector. Selectors are DNS names, which may be wildcards or exact matches. Each DNS query subject to a Response Policy matches at most one ResponsePolicyRule, as identified by the dns_name field with the longest matching suffix.", +"id": "ResponsePolicyRule", +"properties": { +"behavior": { +"description": "Answer this query with a behavior rather than DNS data.", +"enum": [ +"behaviorUnspecified", +"bypassResponsePolicy" +], +"enumDescriptions": [ +"", +"Skip a less-specific Response Policy Rule and let the query logic continue. This mechanism, when used with wildcard selectors, lets you exempt specific subdomains from a broader Response Policy Rule and direct the queries to the public internet instead. For example, if the following rules exist: ``` *.example.com -> LocalData 1.2.3.4 foo.example.com -> Behavior 'passthrough' ``` A query for foo.example.com skips the wildcard rule. This functionality also facilitates allowlisting. Response Policy Zones (RPZs) can be applied at multiple levels within the hierarchy: for example, an organization, a folder, a project, or a VPC network. If an RPZ rule is applied at a higher level, adding a `passthrough` rule at a lower level will override it. Queries from affected virtual machines (VMs) to that domain bypass the RPZ and proceed with normal resolution." +], +"type": "string" +}, +"dnsName": { +"description": "The DNS name (wildcard or exact) to apply this rule to. Must be unique within the Response Policy Rule.", +"type": "string" +}, +"kind": { +"default": "dns#responsePolicyRule", +"type": "string" +}, +"localData": { +"$ref": "ResponsePolicyRuleLocalData", +"description": "Answer this query directly with DNS data. These ResourceRecordSets override any other DNS behavior for the matched name; in particular they override private zones, the public internet, and GCP internal DNS. No SOA nor NS types are allowed." +}, +"ruleName": { +"description": "An identifier for this rule. Must be unique with the ResponsePolicy.", +"type": "string" +} +}, +"type": "object" +}, +"ResponsePolicyRuleLocalData": { +"id": "ResponsePolicyRuleLocalData", +"properties": { +"localDatas": { +"description": "All resource record sets for this selector, one per resource record type. The name must match the dns_name.", +"items": { +"$ref": "ResourceRecordSet" +}, +"type": "array" +} +}, +"type": "object" +}, +"ResponsePolicyRulesListResponse": { +"id": "ResponsePolicyRulesListResponse", +"properties": { +"nextPageToken": { +"description": "This field indicates that more results are available beyond the last page displayed. To fetch the results, make another list request and use this value as your page token. This lets you retrieve the complete contents of a very large collection one page at a time. However, if the contents of the collection change between the first and last paginated list request, the set of all elements returned are an inconsistent view of the collection. You can't retrieve a consistent snapshot of a collection larger than the maximum page size.", +"type": "string" +}, +"responsePolicyRules": { +"description": "The Response Policy Rule resources.", +"items": { +"$ref": "ResponsePolicyRule" +}, +"type": "array" +} +}, +"type": "object" +}, +"ResponsePolicyRulesPatchResponse": { +"id": "ResponsePolicyRulesPatchResponse", +"properties": { +"responsePolicyRule": { +"$ref": "ResponsePolicyRule" +} +}, +"type": "object" +}, +"ResponsePolicyRulesUpdateResponse": { +"id": "ResponsePolicyRulesUpdateResponse", +"properties": { +"responsePolicyRule": { +"$ref": "ResponsePolicyRule" +} +}, +"type": "object" +} +}, +"servicePath": "", +"title": "Cloud DNS API", +"version": "v1" +} \ No newline at end of file diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/dns.v1beta2.json b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/dns.v1beta2.json new file mode 100644 index 0000000000000000000000000000000000000000..bb3091b3a041e0d3765c72ec23abd92ecd119a5a --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/dns.v1beta2.json @@ -0,0 +1,3549 @@ +{ +"auth": { +"oauth2": { +"scopes": { +"https://www.googleapis.com/auth/cloud-platform": { +"description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." +}, +"https://www.googleapis.com/auth/cloud-platform.read-only": { +"description": "View your data across Google Cloud services and see the email address of your Google Account" +}, +"https://www.googleapis.com/auth/ndev.clouddns.readonly": { +"description": "View your DNS records hosted by Google Cloud DNS" +}, +"https://www.googleapis.com/auth/ndev.clouddns.readwrite": { +"description": "View and manage your DNS records hosted by Google Cloud DNS" +} +} +} +}, +"basePath": "", +"baseUrl": "https://dns.googleapis.com/", +"batchPath": "batch", +"canonicalName": "Dns", +"description": "", +"discoveryVersion": "v1", +"documentationLink": "https://cloud.google.com/dns/docs", +"fullyEncodeReservedExpansion": true, +"icons": { +"x16": "http://www.google.com/images/icons/product/search-16.gif", +"x32": "http://www.google.com/images/icons/product/search-32.gif" +}, +"id": "dns:v1beta2", +"kind": "discovery#restDescription", +"mtlsRootUrl": "https://dns.mtls.googleapis.com/", +"name": "dns", +"ownerDomain": "google.com", +"ownerName": "Google", +"parameters": { +"$.xgafv": { +"description": "V1 error format.", +"enum": [ +"1", +"2" +], +"enumDescriptions": [ +"v1 error format", +"v2 error format" +], +"location": "query", +"type": "string" +}, +"access_token": { +"description": "OAuth access token.", +"location": "query", +"type": "string" +}, +"alt": { +"default": "json", +"description": "Data format for response.", +"enum": [ +"json", +"media", +"proto" +], +"enumDescriptions": [ +"Responses with Content-Type of application/json", +"Media download with context-dependent Content-Type", +"Responses with Content-Type of application/x-protobuf" +], +"location": "query", +"type": "string" +}, +"callback": { +"description": "JSONP", +"location": "query", +"type": "string" +}, +"fields": { +"description": "Selector specifying which fields to include in a partial response.", +"location": "query", +"type": "string" +}, +"key": { +"description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", +"location": "query", +"type": "string" +}, +"oauth_token": { +"description": "OAuth 2.0 token for the current user.", +"location": "query", +"type": "string" +}, +"prettyPrint": { +"default": "true", +"description": "Returns response with indentations and line breaks.", +"location": "query", +"type": "boolean" +}, +"quotaUser": { +"description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.", +"location": "query", +"type": "string" +}, +"uploadType": { +"description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", +"location": "query", +"type": "string" +}, +"upload_protocol": { +"description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", +"location": "query", +"type": "string" +} +}, +"protocol": "rest", +"resources": { +"changes": { +"methods": { +"create": { +"description": "Atomically updates the ResourceRecordSet collection.", +"flatPath": "dns/v1beta2/projects/{project}/managedZones/{managedZone}/changes", +"httpMethod": "POST", +"id": "dns.changes.create", +"parameterOrder": [ +"project", +"managedZone" +], +"parameters": { +"clientOperationId": { +"description": "For mutating operation requests only. An optional identifier specified by the client. Must be unique for operation resources in the Operations collection.", +"location": "query", +"type": "string" +}, +"managedZone": { +"description": "Identifies the managed zone addressed by this request. Can be the managed zone name or ID.", +"location": "path", +"required": true, +"type": "string" +}, +"project": { +"description": "Identifies the project addressed by this request.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "dns/v1beta2/projects/{project}/managedZones/{managedZone}/changes", +"request": { +"$ref": "Change" +}, +"response": { +"$ref": "Change" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/ndev.clouddns.readwrite" +] +}, +"get": { +"description": "Fetches the representation of an existing Change.", +"flatPath": "dns/v1beta2/projects/{project}/managedZones/{managedZone}/changes/{changeId}", +"httpMethod": "GET", +"id": "dns.changes.get", +"parameterOrder": [ +"project", +"managedZone", +"changeId" +], +"parameters": { +"changeId": { +"description": "The identifier of the requested change, from a previous ResourceRecordSetsChangeResponse.", +"location": "path", +"required": true, +"type": "string" +}, +"clientOperationId": { +"description": "For mutating operation requests only. An optional identifier specified by the client. Must be unique for operation resources in the Operations collection.", +"location": "query", +"type": "string" +}, +"managedZone": { +"description": "Identifies the managed zone addressed by this request. Can be the managed zone name or ID.", +"location": "path", +"required": true, +"type": "string" +}, +"project": { +"description": "Identifies the project addressed by this request.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "dns/v1beta2/projects/{project}/managedZones/{managedZone}/changes/{changeId}", +"response": { +"$ref": "Change" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only", +"https://www.googleapis.com/auth/ndev.clouddns.readonly", +"https://www.googleapis.com/auth/ndev.clouddns.readwrite" +] +}, +"list": { +"description": "Enumerates Changes to a ResourceRecordSet collection.", +"flatPath": "dns/v1beta2/projects/{project}/managedZones/{managedZone}/changes", +"httpMethod": "GET", +"id": "dns.changes.list", +"parameterOrder": [ +"project", +"managedZone" +], +"parameters": { +"managedZone": { +"description": "Identifies the managed zone addressed by this request. Can be the managed zone name or ID.", +"location": "path", +"required": true, +"type": "string" +}, +"maxResults": { +"description": "Optional. Maximum number of results to be returned. If unspecified, the server decides how many results to return.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. A tag returned by a previous list request that was truncated. Use this parameter to continue a previous list request.", +"location": "query", +"type": "string" +}, +"project": { +"description": "Identifies the project addressed by this request.", +"location": "path", +"required": true, +"type": "string" +}, +"sortBy": { +"default": "changeSequence", +"description": "Sorting criterion. The only supported value is change sequence.", +"enum": [ +"changeSequence" +], +"enumDescriptions": [ +"" +], +"location": "query", +"type": "string" +}, +"sortOrder": { +"description": "Sorting order direction: 'ascending' or 'descending'.", +"location": "query", +"type": "string" +} +}, +"path": "dns/v1beta2/projects/{project}/managedZones/{managedZone}/changes", +"response": { +"$ref": "ChangesListResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only", +"https://www.googleapis.com/auth/ndev.clouddns.readonly", +"https://www.googleapis.com/auth/ndev.clouddns.readwrite" +] +} +} +}, +"dnsKeys": { +"methods": { +"get": { +"description": "Fetches the representation of an existing DnsKey.", +"flatPath": "dns/v1beta2/projects/{project}/managedZones/{managedZone}/dnsKeys/{dnsKeyId}", +"httpMethod": "GET", +"id": "dns.dnsKeys.get", +"parameterOrder": [ +"project", +"managedZone", +"dnsKeyId" +], +"parameters": { +"clientOperationId": { +"description": "For mutating operation requests only. An optional identifier specified by the client. Must be unique for operation resources in the Operations collection.", +"location": "query", +"type": "string" +}, +"digestType": { +"description": "An optional comma-separated list of digest types to compute and display for key signing keys. If omitted, the recommended digest type is computed and displayed.", +"location": "query", +"type": "string" +}, +"dnsKeyId": { +"description": "The identifier of the requested DnsKey.", +"location": "path", +"required": true, +"type": "string" +}, +"managedZone": { +"description": "Identifies the managed zone addressed by this request. Can be the managed zone name or ID.", +"location": "path", +"required": true, +"type": "string" +}, +"project": { +"description": "Identifies the project addressed by this request.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "dns/v1beta2/projects/{project}/managedZones/{managedZone}/dnsKeys/{dnsKeyId}", +"response": { +"$ref": "DnsKey" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only", +"https://www.googleapis.com/auth/ndev.clouddns.readonly", +"https://www.googleapis.com/auth/ndev.clouddns.readwrite" +] +}, +"list": { +"description": "Enumerates DnsKeys to a ResourceRecordSet collection.", +"flatPath": "dns/v1beta2/projects/{project}/managedZones/{managedZone}/dnsKeys", +"httpMethod": "GET", +"id": "dns.dnsKeys.list", +"parameterOrder": [ +"project", +"managedZone" +], +"parameters": { +"digestType": { +"description": "An optional comma-separated list of digest types to compute and display for key signing keys. If omitted, the recommended digest type is computed and displayed.", +"location": "query", +"type": "string" +}, +"managedZone": { +"description": "Identifies the managed zone addressed by this request. Can be the managed zone name or ID.", +"location": "path", +"required": true, +"type": "string" +}, +"maxResults": { +"description": "Optional. Maximum number of results to be returned. If unspecified, the server decides how many results to return.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. A tag returned by a previous list request that was truncated. Use this parameter to continue a previous list request.", +"location": "query", +"type": "string" +}, +"project": { +"description": "Identifies the project addressed by this request.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "dns/v1beta2/projects/{project}/managedZones/{managedZone}/dnsKeys", +"response": { +"$ref": "DnsKeysListResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only", +"https://www.googleapis.com/auth/ndev.clouddns.readonly", +"https://www.googleapis.com/auth/ndev.clouddns.readwrite" +] +} +} +}, +"managedZoneOperations": { +"methods": { +"get": { +"description": "Fetches the representation of an existing Operation.", +"flatPath": "dns/v1beta2/projects/{project}/managedZones/{managedZone}/operations/{operation}", +"httpMethod": "GET", +"id": "dns.managedZoneOperations.get", +"parameterOrder": [ +"project", +"managedZone", +"operation" +], +"parameters": { +"clientOperationId": { +"description": "For mutating operation requests only. An optional identifier specified by the client. Must be unique for operation resources in the Operations collection.", +"location": "query", +"type": "string" +}, +"managedZone": { +"description": "Identifies the managed zone addressed by this request.", +"location": "path", +"required": true, +"type": "string" +}, +"operation": { +"description": "Identifies the operation addressed by this request (ID of the operation).", +"location": "path", +"required": true, +"type": "string" +}, +"project": { +"description": "Identifies the project addressed by this request.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "dns/v1beta2/projects/{project}/managedZones/{managedZone}/operations/{operation}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only", +"https://www.googleapis.com/auth/ndev.clouddns.readonly", +"https://www.googleapis.com/auth/ndev.clouddns.readwrite" +] +}, +"list": { +"description": "Enumerates Operations for the given ManagedZone.", +"flatPath": "dns/v1beta2/projects/{project}/managedZones/{managedZone}/operations", +"httpMethod": "GET", +"id": "dns.managedZoneOperations.list", +"parameterOrder": [ +"project", +"managedZone" +], +"parameters": { +"managedZone": { +"description": "Identifies the managed zone addressed by this request.", +"location": "path", +"required": true, +"type": "string" +}, +"maxResults": { +"description": "Optional. Maximum number of results to be returned. If unspecified, the server decides how many results to return.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. A tag returned by a previous list request that was truncated. Use this parameter to continue a previous list request.", +"location": "query", +"type": "string" +}, +"project": { +"description": "Identifies the project addressed by this request.", +"location": "path", +"required": true, +"type": "string" +}, +"sortBy": { +"default": "startTime", +"description": "Sorting criterion. The only supported values are START_TIME and ID.", +"enum": [ +"startTime", +"id" +], +"enumDescriptions": [ +"", +"" +], +"location": "query", +"type": "string" +} +}, +"path": "dns/v1beta2/projects/{project}/managedZones/{managedZone}/operations", +"response": { +"$ref": "ManagedZoneOperationsListResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only", +"https://www.googleapis.com/auth/ndev.clouddns.readonly", +"https://www.googleapis.com/auth/ndev.clouddns.readwrite" +] +} +} +}, +"managedZones": { +"methods": { +"create": { +"description": "Creates a new ManagedZone.", +"flatPath": "dns/v1beta2/projects/{project}/managedZones", +"httpMethod": "POST", +"id": "dns.managedZones.create", +"parameterOrder": [ +"project" +], +"parameters": { +"clientOperationId": { +"description": "For mutating operation requests only. An optional identifier specified by the client. Must be unique for operation resources in the Operations collection.", +"location": "query", +"type": "string" +}, +"project": { +"description": "Identifies the project addressed by this request.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "dns/v1beta2/projects/{project}/managedZones", +"request": { +"$ref": "ManagedZone" +}, +"response": { +"$ref": "ManagedZone" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/ndev.clouddns.readwrite" +] +}, +"delete": { +"description": "Deletes a previously created ManagedZone.", +"flatPath": "dns/v1beta2/projects/{project}/managedZones/{managedZone}", +"httpMethod": "DELETE", +"id": "dns.managedZones.delete", +"parameterOrder": [ +"project", +"managedZone" +], +"parameters": { +"clientOperationId": { +"description": "For mutating operation requests only. An optional identifier specified by the client. Must be unique for operation resources in the Operations collection.", +"location": "query", +"type": "string" +}, +"managedZone": { +"description": "Identifies the managed zone addressed by this request. Can be the managed zone name or ID.", +"location": "path", +"required": true, +"type": "string" +}, +"project": { +"description": "Identifies the project addressed by this request.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "dns/v1beta2/projects/{project}/managedZones/{managedZone}", +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/ndev.clouddns.readwrite" +] +}, +"get": { +"description": "Fetches the representation of an existing ManagedZone.", +"flatPath": "dns/v1beta2/projects/{project}/managedZones/{managedZone}", +"httpMethod": "GET", +"id": "dns.managedZones.get", +"parameterOrder": [ +"project", +"managedZone" +], +"parameters": { +"clientOperationId": { +"description": "For mutating operation requests only. An optional identifier specified by the client. Must be unique for operation resources in the Operations collection.", +"location": "query", +"type": "string" +}, +"managedZone": { +"description": "Identifies the managed zone addressed by this request. Can be the managed zone name or ID.", +"location": "path", +"required": true, +"type": "string" +}, +"project": { +"description": "Identifies the project addressed by this request.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "dns/v1beta2/projects/{project}/managedZones/{managedZone}", +"response": { +"$ref": "ManagedZone" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only", +"https://www.googleapis.com/auth/ndev.clouddns.readonly", +"https://www.googleapis.com/auth/ndev.clouddns.readwrite" +] +}, +"getIamPolicy": { +"description": "Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.", +"flatPath": "dns/v1beta2/projects/{projectsId}/managedZones/{managedZonesId}:getIamPolicy", +"httpMethod": "POST", +"id": "dns.managedZones.getIamPolicy", +"parameterOrder": [ +"resource" +], +"parameters": { +"resource": { +"description": "REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", +"location": "path", +"pattern": "^projects/[^/]+/managedZones/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "dns/v1beta2/{+resource}:getIamPolicy", +"request": { +"$ref": "GoogleIamV1GetIamPolicyRequest" +}, +"response": { +"$ref": "GoogleIamV1Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only", +"https://www.googleapis.com/auth/ndev.clouddns.readonly", +"https://www.googleapis.com/auth/ndev.clouddns.readwrite" +] +}, +"list": { +"description": "Enumerates ManagedZones that have been created but not yet deleted.", +"flatPath": "dns/v1beta2/projects/{project}/managedZones", +"httpMethod": "GET", +"id": "dns.managedZones.list", +"parameterOrder": [ +"project" +], +"parameters": { +"dnsName": { +"description": "Restricts the list to return only zones with this domain name.", +"location": "query", +"type": "string" +}, +"maxResults": { +"description": "Optional. Maximum number of results to be returned. If unspecified, the server decides how many results to return.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. A tag returned by a previous list request that was truncated. Use this parameter to continue a previous list request.", +"location": "query", +"type": "string" +}, +"project": { +"description": "Identifies the project addressed by this request.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "dns/v1beta2/projects/{project}/managedZones", +"response": { +"$ref": "ManagedZonesListResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only", +"https://www.googleapis.com/auth/ndev.clouddns.readonly", +"https://www.googleapis.com/auth/ndev.clouddns.readwrite" +] +}, +"patch": { +"description": "Applies a partial update to an existing ManagedZone.", +"flatPath": "dns/v1beta2/projects/{project}/managedZones/{managedZone}", +"httpMethod": "PATCH", +"id": "dns.managedZones.patch", +"parameterOrder": [ +"project", +"managedZone" +], +"parameters": { +"clientOperationId": { +"description": "For mutating operation requests only. An optional identifier specified by the client. Must be unique for operation resources in the Operations collection.", +"location": "query", +"type": "string" +}, +"managedZone": { +"description": "Identifies the managed zone addressed by this request. Can be the managed zone name or ID.", +"location": "path", +"required": true, +"type": "string" +}, +"project": { +"description": "Identifies the project addressed by this request.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "dns/v1beta2/projects/{project}/managedZones/{managedZone}", +"request": { +"$ref": "ManagedZone" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/ndev.clouddns.readwrite" +] +}, +"setIamPolicy": { +"description": "Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.", +"flatPath": "dns/v1beta2/projects/{projectsId}/managedZones/{managedZonesId}:setIamPolicy", +"httpMethod": "POST", +"id": "dns.managedZones.setIamPolicy", +"parameterOrder": [ +"resource" +], +"parameters": { +"resource": { +"description": "REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", +"location": "path", +"pattern": "^projects/[^/]+/managedZones/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "dns/v1beta2/{+resource}:setIamPolicy", +"request": { +"$ref": "GoogleIamV1SetIamPolicyRequest" +}, +"response": { +"$ref": "GoogleIamV1Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/ndev.clouddns.readwrite" +] +}, +"testIamPermissions": { +"description": "Returns permissions that a caller has on the specified resource. If the resource does not exist, this returns an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may \"fail open\" without warning.", +"flatPath": "dns/v1beta2/projects/{projectsId}/managedZones/{managedZonesId}:testIamPermissions", +"httpMethod": "POST", +"id": "dns.managedZones.testIamPermissions", +"parameterOrder": [ +"resource" +], +"parameters": { +"resource": { +"description": "REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", +"location": "path", +"pattern": "^projects/[^/]+/managedZones/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "dns/v1beta2/{+resource}:testIamPermissions", +"request": { +"$ref": "GoogleIamV1TestIamPermissionsRequest" +}, +"response": { +"$ref": "GoogleIamV1TestIamPermissionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only", +"https://www.googleapis.com/auth/ndev.clouddns.readonly", +"https://www.googleapis.com/auth/ndev.clouddns.readwrite" +] +}, +"update": { +"description": "Updates an existing ManagedZone.", +"flatPath": "dns/v1beta2/projects/{project}/managedZones/{managedZone}", +"httpMethod": "PUT", +"id": "dns.managedZones.update", +"parameterOrder": [ +"project", +"managedZone" +], +"parameters": { +"clientOperationId": { +"description": "For mutating operation requests only. An optional identifier specified by the client. Must be unique for operation resources in the Operations collection.", +"location": "query", +"type": "string" +}, +"managedZone": { +"description": "Identifies the managed zone addressed by this request. Can be the managed zone name or ID.", +"location": "path", +"required": true, +"type": "string" +}, +"project": { +"description": "Identifies the project addressed by this request.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "dns/v1beta2/projects/{project}/managedZones/{managedZone}", +"request": { +"$ref": "ManagedZone" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/ndev.clouddns.readwrite" +] +} +} +}, +"policies": { +"methods": { +"create": { +"description": "Creates a new policy.", +"flatPath": "dns/v1beta2/projects/{project}/policies", +"httpMethod": "POST", +"id": "dns.policies.create", +"parameterOrder": [ +"project" +], +"parameters": { +"clientOperationId": { +"description": "For mutating operation requests only. An optional identifier specified by the client. Must be unique for operation resources in the Operations collection.", +"location": "query", +"type": "string" +}, +"project": { +"description": "Identifies the project addressed by this request.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "dns/v1beta2/projects/{project}/policies", +"request": { +"$ref": "Policy" +}, +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/ndev.clouddns.readwrite" +] +}, +"delete": { +"description": "Deletes a previously created policy. Fails if the policy is still being referenced by a network.", +"flatPath": "dns/v1beta2/projects/{project}/policies/{policy}", +"httpMethod": "DELETE", +"id": "dns.policies.delete", +"parameterOrder": [ +"project", +"policy" +], +"parameters": { +"clientOperationId": { +"description": "For mutating operation requests only. An optional identifier specified by the client. Must be unique for operation resources in the Operations collection.", +"location": "query", +"type": "string" +}, +"policy": { +"description": "User given friendly name of the policy addressed by this request.", +"location": "path", +"required": true, +"type": "string" +}, +"project": { +"description": "Identifies the project addressed by this request.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "dns/v1beta2/projects/{project}/policies/{policy}", +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/ndev.clouddns.readwrite" +] +}, +"get": { +"description": "Fetches the representation of an existing policy.", +"flatPath": "dns/v1beta2/projects/{project}/policies/{policy}", +"httpMethod": "GET", +"id": "dns.policies.get", +"parameterOrder": [ +"project", +"policy" +], +"parameters": { +"clientOperationId": { +"description": "For mutating operation requests only. An optional identifier specified by the client. Must be unique for operation resources in the Operations collection.", +"location": "query", +"type": "string" +}, +"policy": { +"description": "User given friendly name of the policy addressed by this request.", +"location": "path", +"required": true, +"type": "string" +}, +"project": { +"description": "Identifies the project addressed by this request.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "dns/v1beta2/projects/{project}/policies/{policy}", +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only", +"https://www.googleapis.com/auth/ndev.clouddns.readonly", +"https://www.googleapis.com/auth/ndev.clouddns.readwrite" +] +}, +"list": { +"description": "Enumerates all policies associated with a project.", +"flatPath": "dns/v1beta2/projects/{project}/policies", +"httpMethod": "GET", +"id": "dns.policies.list", +"parameterOrder": [ +"project" +], +"parameters": { +"maxResults": { +"description": "Optional. Maximum number of results to be returned. If unspecified, the server decides how many results to return.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. A tag returned by a previous list request that was truncated. Use this parameter to continue a previous list request.", +"location": "query", +"type": "string" +}, +"project": { +"description": "Identifies the project addressed by this request.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "dns/v1beta2/projects/{project}/policies", +"response": { +"$ref": "PoliciesListResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only", +"https://www.googleapis.com/auth/ndev.clouddns.readonly", +"https://www.googleapis.com/auth/ndev.clouddns.readwrite" +] +}, +"patch": { +"description": "Applies a partial update to an existing policy.", +"flatPath": "dns/v1beta2/projects/{project}/policies/{policy}", +"httpMethod": "PATCH", +"id": "dns.policies.patch", +"parameterOrder": [ +"project", +"policy" +], +"parameters": { +"clientOperationId": { +"description": "For mutating operation requests only. An optional identifier specified by the client. Must be unique for operation resources in the Operations collection.", +"location": "query", +"type": "string" +}, +"policy": { +"description": "User given friendly name of the policy addressed by this request.", +"location": "path", +"required": true, +"type": "string" +}, +"project": { +"description": "Identifies the project addressed by this request.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "dns/v1beta2/projects/{project}/policies/{policy}", +"request": { +"$ref": "Policy" +}, +"response": { +"$ref": "PoliciesPatchResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/ndev.clouddns.readwrite" +] +}, +"update": { +"description": "Updates an existing policy.", +"flatPath": "dns/v1beta2/projects/{project}/policies/{policy}", +"httpMethod": "PUT", +"id": "dns.policies.update", +"parameterOrder": [ +"project", +"policy" +], +"parameters": { +"clientOperationId": { +"description": "For mutating operation requests only. An optional identifier specified by the client. Must be unique for operation resources in the Operations collection.", +"location": "query", +"type": "string" +}, +"policy": { +"description": "User given friendly name of the policy addressed by this request.", +"location": "path", +"required": true, +"type": "string" +}, +"project": { +"description": "Identifies the project addressed by this request.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "dns/v1beta2/projects/{project}/policies/{policy}", +"request": { +"$ref": "Policy" +}, +"response": { +"$ref": "PoliciesUpdateResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/ndev.clouddns.readwrite" +] +} +} +}, +"projects": { +"methods": { +"get": { +"description": "Fetches the representation of an existing Project.", +"flatPath": "dns/v1beta2/projects/{project}", +"httpMethod": "GET", +"id": "dns.projects.get", +"parameterOrder": [ +"project" +], +"parameters": { +"clientOperationId": { +"description": "For mutating operation requests only. An optional identifier specified by the client. Must be unique for operation resources in the Operations collection.", +"location": "query", +"type": "string" +}, +"project": { +"description": "Identifies the project addressed by this request.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "dns/v1beta2/projects/{project}", +"response": { +"$ref": "Project" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only", +"https://www.googleapis.com/auth/ndev.clouddns.readonly", +"https://www.googleapis.com/auth/ndev.clouddns.readwrite" +] +} +} +}, +"resourceRecordSets": { +"methods": { +"create": { +"description": "Creates a new ResourceRecordSet.", +"flatPath": "dns/v1beta2/projects/{project}/managedZones/{managedZone}/rrsets", +"httpMethod": "POST", +"id": "dns.resourceRecordSets.create", +"parameterOrder": [ +"project", +"managedZone" +], +"parameters": { +"clientOperationId": { +"description": "For mutating operation requests only. An optional identifier specified by the client. Must be unique for operation resources in the Operations collection.", +"location": "query", +"type": "string" +}, +"managedZone": { +"description": "Identifies the managed zone addressed by this request. Can be the managed zone name or ID.", +"location": "path", +"required": true, +"type": "string" +}, +"project": { +"description": "Identifies the project addressed by this request.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "dns/v1beta2/projects/{project}/managedZones/{managedZone}/rrsets", +"request": { +"$ref": "ResourceRecordSet" +}, +"response": { +"$ref": "ResourceRecordSet" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/ndev.clouddns.readwrite" +] +}, +"delete": { +"description": "Deletes a previously created ResourceRecordSet.", +"flatPath": "dns/v1beta2/projects/{project}/managedZones/{managedZone}/rrsets/{name}/{type}", +"httpMethod": "DELETE", +"id": "dns.resourceRecordSets.delete", +"parameterOrder": [ +"project", +"managedZone", +"name", +"type" +], +"parameters": { +"clientOperationId": { +"description": "For mutating operation requests only. An optional identifier specified by the client. Must be unique for operation resources in the Operations collection.", +"location": "query", +"type": "string" +}, +"managedZone": { +"description": "Identifies the managed zone addressed by this request. Can be the managed zone name or ID.", +"location": "path", +"required": true, +"type": "string" +}, +"name": { +"description": "Fully qualified domain name.", +"location": "path", +"required": true, +"type": "string" +}, +"project": { +"description": "Identifies the project addressed by this request.", +"location": "path", +"required": true, +"type": "string" +}, +"type": { +"description": "RRSet type.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "dns/v1beta2/projects/{project}/managedZones/{managedZone}/rrsets/{name}/{type}", +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/ndev.clouddns.readwrite" +] +}, +"get": { +"description": "Fetches the representation of an existing ResourceRecordSet.", +"flatPath": "dns/v1beta2/projects/{project}/managedZones/{managedZone}/rrsets/{name}/{type}", +"httpMethod": "GET", +"id": "dns.resourceRecordSets.get", +"parameterOrder": [ +"project", +"managedZone", +"name", +"type" +], +"parameters": { +"clientOperationId": { +"description": "For mutating operation requests only. An optional identifier specified by the client. Must be unique for operation resources in the Operations collection.", +"location": "query", +"type": "string" +}, +"managedZone": { +"description": "Identifies the managed zone addressed by this request. Can be the managed zone name or ID.", +"location": "path", +"required": true, +"type": "string" +}, +"name": { +"description": "Fully qualified domain name.", +"location": "path", +"required": true, +"type": "string" +}, +"project": { +"description": "Identifies the project addressed by this request.", +"location": "path", +"required": true, +"type": "string" +}, +"type": { +"description": "RRSet type.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "dns/v1beta2/projects/{project}/managedZones/{managedZone}/rrsets/{name}/{type}", +"response": { +"$ref": "ResourceRecordSet" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only", +"https://www.googleapis.com/auth/ndev.clouddns.readonly", +"https://www.googleapis.com/auth/ndev.clouddns.readwrite" +] +}, +"list": { +"description": "Enumerates ResourceRecordSets that you have created but not yet deleted.", +"flatPath": "dns/v1beta2/projects/{project}/managedZones/{managedZone}/rrsets", +"httpMethod": "GET", +"id": "dns.resourceRecordSets.list", +"parameterOrder": [ +"project", +"managedZone" +], +"parameters": { +"filter": { +"description": "Specify a filter expression to view records that exactly match the specified domain. Both the name and type parameters are not supported when you use filter and must be omitted. Your filter expression must conform to AIP-160 and you must specify a domain in the name field. Optionally, you can include the type field to filter records by type. You can also include the has_suffix function to view records that match by domain suffix. Examples: - name=\"example.com.\" - name=\"example.com.\" AND type=\"A\" - name=has_suffix(\"example.com.\") - name=has_suffix(\"example.com.\") AND type=\"A\" ", +"location": "query", +"type": "string" +}, +"managedZone": { +"description": "Identifies the managed zone addressed by this request. Can be the managed zone name or ID.", +"location": "path", +"required": true, +"type": "string" +}, +"maxResults": { +"description": "Optional. Maximum number of results to be returned. If unspecified, the server decides how many results to return.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"name": { +"description": "Specify a fully qualified domain name to view only those records. The name parameter is not supported and must be omitted when you use filter.", +"location": "query", +"type": "string" +}, +"pageToken": { +"description": "Optional. A tag returned by a previous list request that was truncated. Use this parameter to continue a previous list request.", +"location": "query", +"type": "string" +}, +"project": { +"description": "Identifies the project addressed by this request.", +"location": "path", +"required": true, +"type": "string" +}, +"type": { +"description": "Specify a record type to view only those records. You must also specify the name parameter. The type parameter is not supported and must be omitted when you use filter.", +"location": "query", +"type": "string" +} +}, +"path": "dns/v1beta2/projects/{project}/managedZones/{managedZone}/rrsets", +"response": { +"$ref": "ResourceRecordSetsListResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only", +"https://www.googleapis.com/auth/ndev.clouddns.readonly", +"https://www.googleapis.com/auth/ndev.clouddns.readwrite" +] +}, +"patch": { +"description": "Applies a partial update to an existing ResourceRecordSet.", +"flatPath": "dns/v1beta2/projects/{project}/managedZones/{managedZone}/rrsets/{name}/{type}", +"httpMethod": "PATCH", +"id": "dns.resourceRecordSets.patch", +"parameterOrder": [ +"project", +"managedZone", +"name", +"type" +], +"parameters": { +"clientOperationId": { +"description": "For mutating operation requests only. An optional identifier specified by the client. Must be unique for operation resources in the Operations collection.", +"location": "query", +"type": "string" +}, +"managedZone": { +"description": "Identifies the managed zone addressed by this request. Can be the managed zone name or ID.", +"location": "path", +"required": true, +"type": "string" +}, +"name": { +"description": "Fully qualified domain name.", +"location": "path", +"required": true, +"type": "string" +}, +"project": { +"description": "Identifies the project addressed by this request.", +"location": "path", +"required": true, +"type": "string" +}, +"type": { +"description": "RRSet type.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "dns/v1beta2/projects/{project}/managedZones/{managedZone}/rrsets/{name}/{type}", +"request": { +"$ref": "ResourceRecordSet" +}, +"response": { +"$ref": "ResourceRecordSet" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/ndev.clouddns.readwrite" +] +} +} +}, +"responsePolicies": { +"methods": { +"create": { +"description": "Creates a new Response Policy", +"flatPath": "dns/v1beta2/projects/{project}/responsePolicies", +"httpMethod": "POST", +"id": "dns.responsePolicies.create", +"parameterOrder": [ +"project" +], +"parameters": { +"clientOperationId": { +"description": "For mutating operation requests only. An optional identifier specified by the client. Must be unique for operation resources in the Operations collection.", +"location": "query", +"type": "string" +}, +"project": { +"description": "Identifies the project addressed by this request.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "dns/v1beta2/projects/{project}/responsePolicies", +"request": { +"$ref": "ResponsePolicy" +}, +"response": { +"$ref": "ResponsePolicy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/ndev.clouddns.readwrite" +] +}, +"delete": { +"description": "Deletes a previously created Response Policy. Fails if the response policy is non-empty or still being referenced by a network.", +"flatPath": "dns/v1beta2/projects/{project}/responsePolicies/{responsePolicy}", +"httpMethod": "DELETE", +"id": "dns.responsePolicies.delete", +"parameterOrder": [ +"project", +"responsePolicy" +], +"parameters": { +"clientOperationId": { +"description": "For mutating operation requests only. An optional identifier specified by the client. Must be unique for operation resources in the Operations collection.", +"location": "query", +"type": "string" +}, +"project": { +"description": "Identifies the project addressed by this request.", +"location": "path", +"required": true, +"type": "string" +}, +"responsePolicy": { +"description": "User assigned name of the Response Policy addressed by this request.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "dns/v1beta2/projects/{project}/responsePolicies/{responsePolicy}", +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/ndev.clouddns.readwrite" +] +}, +"get": { +"description": "Fetches the representation of an existing Response Policy.", +"flatPath": "dns/v1beta2/projects/{project}/responsePolicies/{responsePolicy}", +"httpMethod": "GET", +"id": "dns.responsePolicies.get", +"parameterOrder": [ +"project", +"responsePolicy" +], +"parameters": { +"clientOperationId": { +"description": "For mutating operation requests only. An optional identifier specified by the client. Must be unique for operation resources in the Operations collection.", +"location": "query", +"type": "string" +}, +"project": { +"description": "Identifies the project addressed by this request.", +"location": "path", +"required": true, +"type": "string" +}, +"responsePolicy": { +"description": "User assigned name of the Response Policy addressed by this request.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "dns/v1beta2/projects/{project}/responsePolicies/{responsePolicy}", +"response": { +"$ref": "ResponsePolicy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only", +"https://www.googleapis.com/auth/ndev.clouddns.readonly", +"https://www.googleapis.com/auth/ndev.clouddns.readwrite" +] +}, +"list": { +"description": "Enumerates all Response Policies associated with a project.", +"flatPath": "dns/v1beta2/projects/{project}/responsePolicies", +"httpMethod": "GET", +"id": "dns.responsePolicies.list", +"parameterOrder": [ +"project" +], +"parameters": { +"maxResults": { +"description": "Optional. Maximum number of results to be returned. If unspecified, the server decides how many results to return.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. A tag returned by a previous list request that was truncated. Use this parameter to continue a previous list request.", +"location": "query", +"type": "string" +}, +"project": { +"description": "Identifies the project addressed by this request.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "dns/v1beta2/projects/{project}/responsePolicies", +"response": { +"$ref": "ResponsePoliciesListResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only", +"https://www.googleapis.com/auth/ndev.clouddns.readonly", +"https://www.googleapis.com/auth/ndev.clouddns.readwrite" +] +}, +"patch": { +"description": "Applies a partial update to an existing Response Policy.", +"flatPath": "dns/v1beta2/projects/{project}/responsePolicies/{responsePolicy}", +"httpMethod": "PATCH", +"id": "dns.responsePolicies.patch", +"parameterOrder": [ +"project", +"responsePolicy" +], +"parameters": { +"clientOperationId": { +"description": "For mutating operation requests only. An optional identifier specified by the client. Must be unique for operation resources in the Operations collection.", +"location": "query", +"type": "string" +}, +"project": { +"description": "Identifies the project addressed by this request.", +"location": "path", +"required": true, +"type": "string" +}, +"responsePolicy": { +"description": "User assigned name of the response policy addressed by this request.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "dns/v1beta2/projects/{project}/responsePolicies/{responsePolicy}", +"request": { +"$ref": "ResponsePolicy" +}, +"response": { +"$ref": "ResponsePoliciesPatchResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/ndev.clouddns.readwrite" +] +}, +"update": { +"description": "Updates an existing Response Policy.", +"flatPath": "dns/v1beta2/projects/{project}/responsePolicies/{responsePolicy}", +"httpMethod": "PUT", +"id": "dns.responsePolicies.update", +"parameterOrder": [ +"project", +"responsePolicy" +], +"parameters": { +"clientOperationId": { +"description": "For mutating operation requests only. An optional identifier specified by the client. Must be unique for operation resources in the Operations collection.", +"location": "query", +"type": "string" +}, +"project": { +"description": "Identifies the project addressed by this request.", +"location": "path", +"required": true, +"type": "string" +}, +"responsePolicy": { +"description": "User assigned name of the Response Policy addressed by this request.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "dns/v1beta2/projects/{project}/responsePolicies/{responsePolicy}", +"request": { +"$ref": "ResponsePolicy" +}, +"response": { +"$ref": "ResponsePoliciesUpdateResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/ndev.clouddns.readwrite" +] +} +} +}, +"responsePolicyRules": { +"methods": { +"create": { +"description": "Creates a new Response Policy Rule.", +"flatPath": "dns/v1beta2/projects/{project}/responsePolicies/{responsePolicy}/rules", +"httpMethod": "POST", +"id": "dns.responsePolicyRules.create", +"parameterOrder": [ +"project", +"responsePolicy" +], +"parameters": { +"clientOperationId": { +"description": "For mutating operation requests only. An optional identifier specified by the client. Must be unique for operation resources in the Operations collection.", +"location": "query", +"type": "string" +}, +"project": { +"description": "Identifies the project addressed by this request.", +"location": "path", +"required": true, +"type": "string" +}, +"responsePolicy": { +"description": "User assigned name of the Response Policy containing the Response Policy Rule.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "dns/v1beta2/projects/{project}/responsePolicies/{responsePolicy}/rules", +"request": { +"$ref": "ResponsePolicyRule" +}, +"response": { +"$ref": "ResponsePolicyRule" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/ndev.clouddns.readwrite" +] +}, +"delete": { +"description": "Deletes a previously created Response Policy Rule.", +"flatPath": "dns/v1beta2/projects/{project}/responsePolicies/{responsePolicy}/rules/{responsePolicyRule}", +"httpMethod": "DELETE", +"id": "dns.responsePolicyRules.delete", +"parameterOrder": [ +"project", +"responsePolicy", +"responsePolicyRule" +], +"parameters": { +"clientOperationId": { +"description": "For mutating operation requests only. An optional identifier specified by the client. Must be unique for operation resources in the Operations collection.", +"location": "query", +"type": "string" +}, +"project": { +"description": "Identifies the project addressed by this request.", +"location": "path", +"required": true, +"type": "string" +}, +"responsePolicy": { +"description": "User assigned name of the Response Policy containing the Response Policy Rule.", +"location": "path", +"required": true, +"type": "string" +}, +"responsePolicyRule": { +"description": "User assigned name of the Response Policy Rule addressed by this request.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "dns/v1beta2/projects/{project}/responsePolicies/{responsePolicy}/rules/{responsePolicyRule}", +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/ndev.clouddns.readwrite" +] +}, +"get": { +"description": "Fetches the representation of an existing Response Policy Rule.", +"flatPath": "dns/v1beta2/projects/{project}/responsePolicies/{responsePolicy}/rules/{responsePolicyRule}", +"httpMethod": "GET", +"id": "dns.responsePolicyRules.get", +"parameterOrder": [ +"project", +"responsePolicy", +"responsePolicyRule" +], +"parameters": { +"clientOperationId": { +"description": "For mutating operation requests only. An optional identifier specified by the client. Must be unique for operation resources in the Operations collection.", +"location": "query", +"type": "string" +}, +"project": { +"description": "Identifies the project addressed by this request.", +"location": "path", +"required": true, +"type": "string" +}, +"responsePolicy": { +"description": "User assigned name of the Response Policy containing the Response Policy Rule.", +"location": "path", +"required": true, +"type": "string" +}, +"responsePolicyRule": { +"description": "User assigned name of the Response Policy Rule addressed by this request.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "dns/v1beta2/projects/{project}/responsePolicies/{responsePolicy}/rules/{responsePolicyRule}", +"response": { +"$ref": "ResponsePolicyRule" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only", +"https://www.googleapis.com/auth/ndev.clouddns.readonly", +"https://www.googleapis.com/auth/ndev.clouddns.readwrite" +] +}, +"list": { +"description": "Enumerates all Response Policy Rules associated with a project.", +"flatPath": "dns/v1beta2/projects/{project}/responsePolicies/{responsePolicy}/rules", +"httpMethod": "GET", +"id": "dns.responsePolicyRules.list", +"parameterOrder": [ +"project", +"responsePolicy" +], +"parameters": { +"maxResults": { +"description": "Optional. Maximum number of results to be returned. If unspecified, the server decides how many results to return.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. A tag returned by a previous list request that was truncated. Use this parameter to continue a previous list request.", +"location": "query", +"type": "string" +}, +"project": { +"description": "Identifies the project addressed by this request.", +"location": "path", +"required": true, +"type": "string" +}, +"responsePolicy": { +"description": "User assigned name of the Response Policy to list.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "dns/v1beta2/projects/{project}/responsePolicies/{responsePolicy}/rules", +"response": { +"$ref": "ResponsePolicyRulesListResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only", +"https://www.googleapis.com/auth/ndev.clouddns.readonly", +"https://www.googleapis.com/auth/ndev.clouddns.readwrite" +] +}, +"patch": { +"description": "Applies a partial update to an existing Response Policy Rule.", +"flatPath": "dns/v1beta2/projects/{project}/responsePolicies/{responsePolicy}/rules/{responsePolicyRule}", +"httpMethod": "PATCH", +"id": "dns.responsePolicyRules.patch", +"parameterOrder": [ +"project", +"responsePolicy", +"responsePolicyRule" +], +"parameters": { +"clientOperationId": { +"description": "For mutating operation requests only. An optional identifier specified by the client. Must be unique for operation resources in the Operations collection.", +"location": "query", +"type": "string" +}, +"project": { +"description": "Identifies the project addressed by this request.", +"location": "path", +"required": true, +"type": "string" +}, +"responsePolicy": { +"description": "User assigned name of the Response Policy containing the Response Policy Rule.", +"location": "path", +"required": true, +"type": "string" +}, +"responsePolicyRule": { +"description": "User assigned name of the Response Policy Rule addressed by this request.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "dns/v1beta2/projects/{project}/responsePolicies/{responsePolicy}/rules/{responsePolicyRule}", +"request": { +"$ref": "ResponsePolicyRule" +}, +"response": { +"$ref": "ResponsePolicyRulesPatchResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/ndev.clouddns.readwrite" +] +}, +"update": { +"description": "Updates an existing Response Policy Rule.", +"flatPath": "dns/v1beta2/projects/{project}/responsePolicies/{responsePolicy}/rules/{responsePolicyRule}", +"httpMethod": "PUT", +"id": "dns.responsePolicyRules.update", +"parameterOrder": [ +"project", +"responsePolicy", +"responsePolicyRule" +], +"parameters": { +"clientOperationId": { +"description": "For mutating operation requests only. An optional identifier specified by the client. Must be unique for operation resources in the Operations collection.", +"location": "query", +"type": "string" +}, +"project": { +"description": "Identifies the project addressed by this request.", +"location": "path", +"required": true, +"type": "string" +}, +"responsePolicy": { +"description": "User assigned name of the Response Policy containing the Response Policy Rule.", +"location": "path", +"required": true, +"type": "string" +}, +"responsePolicyRule": { +"description": "User assigned name of the Response Policy Rule addressed by this request.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "dns/v1beta2/projects/{project}/responsePolicies/{responsePolicy}/rules/{responsePolicyRule}", +"request": { +"$ref": "ResponsePolicyRule" +}, +"response": { +"$ref": "ResponsePolicyRulesUpdateResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/ndev.clouddns.readwrite" +] +} +} +} +}, +"revision": "20260219", +"rootUrl": "https://dns.googleapis.com/", +"schemas": { +"Change": { +"description": "A Change represents a set of `ResourceRecordSet` additions and deletions applied atomically to a ManagedZone. ResourceRecordSets within a ManagedZone are modified by creating a new Change element in the Changes collection. In turn the Changes collection also records the past modifications to the `ResourceRecordSets` in a `ManagedZone`. The current state of the `ManagedZone` is the sum effect of applying all `Change` elements in the `Changes` collection in sequence.", +"id": "Change", +"properties": { +"additions": { +"description": "Which ResourceRecordSets to add?", +"items": { +"$ref": "ResourceRecordSet" +}, +"type": "array" +}, +"deletions": { +"description": "Which ResourceRecordSets to remove? Must match existing data exactly.", +"items": { +"$ref": "ResourceRecordSet" +}, +"type": "array" +}, +"id": { +"description": "Unique identifier for the resource; defined by the server (output only).", +"type": "string" +}, +"isServing": { +"description": "If the DNS queries for the zone will be served.", +"type": "boolean" +}, +"kind": { +"default": "dns#change", +"type": "string" +}, +"startTime": { +"description": "The time that this operation was started by the server (output only). This is in RFC3339 text format.", +"type": "string" +}, +"status": { +"description": "Status of the operation (output only). A status of \"done\" means that the request to update the authoritative servers has been sent, but the servers might not be updated yet.", +"enum": [ +"pending", +"done" +], +"enumDescriptions": [ +"", +"" +], +"type": "string" +} +}, +"type": "object" +}, +"ChangesListResponse": { +"description": "The response to a request to enumerate Changes to a ResourceRecordSets collection.", +"id": "ChangesListResponse", +"properties": { +"changes": { +"description": "The requested changes.", +"items": { +"$ref": "Change" +}, +"type": "array" +}, +"kind": { +"default": "dns#changesListResponse", +"description": "Type of resource.", +"type": "string" +}, +"nextPageToken": { +"description": "This field indicates that more results are available beyond the last page displayed. To fetch the results, make another list request and use this value as your page token. This lets you retrieve the complete contents of a very large collection one page at a time. However, if the contents of the collection change between the first and last paginated list request, the set of all elements returned are an inconsistent view of the collection. You can't retrieve a consistent snapshot of a collection larger than the maximum page size.", +"type": "string" +} +}, +"type": "object" +}, +"DnsKey": { +"description": "A DNSSEC key pair.", +"id": "DnsKey", +"properties": { +"algorithm": { +"description": "String mnemonic specifying the DNSSEC algorithm of this key. Immutable after creation time.", +"enum": [ +"rsasha1", +"rsasha256", +"rsasha512", +"ecdsap256sha256", +"ecdsap384sha384" +], +"enumDescriptions": [ +"", +"", +"", +"", +"" +], +"type": "string" +}, +"creationTime": { +"description": "The time that this resource was created in the control plane. This is in RFC3339 text format. Output only.", +"type": "string" +}, +"description": { +"description": "A mutable string of at most 1024 characters associated with this resource for the user's convenience. Has no effect on the resource's function.", +"type": "string" +}, +"digests": { +"description": "Cryptographic hashes of the DNSKEY resource record associated with this DnsKey. These digests are needed to construct a DS record that points at this DNS key. Output only.", +"items": { +"$ref": "DnsKeyDigest" +}, +"type": "array" +}, +"id": { +"description": "Unique identifier for the resource; defined by the server (output only).", +"type": "string" +}, +"isActive": { +"description": "Active keys are used to sign subsequent changes to the ManagedZone. Inactive keys are still present as DNSKEY Resource Records for the use of resolvers validating existing signatures.", +"type": "boolean" +}, +"keyLength": { +"description": "Length of the key in bits. Specified at creation time, and then immutable.", +"format": "uint32", +"type": "integer" +}, +"keyTag": { +"description": "The key tag is a non-cryptographic hash of the a DNSKEY resource record associated with this DnsKey. The key tag can be used to identify a DNSKEY more quickly (but it is not a unique identifier). In particular, the key tag is used in a parent zone's DS record to point at the DNSKEY in this child ManagedZone. The key tag is a number in the range [0, 65535] and the algorithm to calculate it is specified in RFC4034 Appendix B. Output only.", +"format": "int32", +"type": "integer" +}, +"kind": { +"default": "dns#dnsKey", +"type": "string" +}, +"publicKey": { +"description": "Base64 encoded public half of this key. Output only.", +"type": "string" +}, +"type": { +"description": "One of \"KEY_SIGNING\" or \"ZONE_SIGNING\". Keys of type KEY_SIGNING have the Secure Entry Point flag set and, when active, are used to sign only resource record sets of type DNSKEY. Otherwise, the Secure Entry Point flag is cleared, and this key is used to sign only resource record sets of other types. Immutable after creation time.", +"enum": [ +"keySigning", +"zoneSigning" +], +"enumDescriptions": [ +"", +"" +], +"type": "string" +} +}, +"type": "object" +}, +"DnsKeyDigest": { +"id": "DnsKeyDigest", +"properties": { +"digest": { +"description": "The base-16 encoded bytes of this digest. Suitable for use in a DS resource record.", +"type": "string" +}, +"type": { +"description": "Specifies the algorithm used to calculate this digest.", +"enum": [ +"sha1", +"sha256", +"sha384" +], +"enumDescriptions": [ +"", +"", +"" +], +"type": "string" +} +}, +"type": "object" +}, +"DnsKeySpec": { +"description": "Parameters for DnsKey key generation. Used for generating initial keys for a new ManagedZone and as default when adding a new DnsKey.", +"id": "DnsKeySpec", +"properties": { +"algorithm": { +"description": "String mnemonic specifying the DNSSEC algorithm of this key.", +"enum": [ +"rsasha1", +"rsasha256", +"rsasha512", +"ecdsap256sha256", +"ecdsap384sha384" +], +"enumDescriptions": [ +"", +"", +"", +"", +"" +], +"type": "string" +}, +"keyLength": { +"description": "Length of the keys in bits.", +"format": "uint32", +"type": "integer" +}, +"keyType": { +"description": "Specifies whether this is a key signing key (KSK) or a zone signing key (ZSK). Key signing keys have the Secure Entry Point flag set and, when active, are only used to sign resource record sets of type DNSKEY. Zone signing keys do not have the Secure Entry Point flag set and are used to sign all other types of resource record sets.", +"enum": [ +"keySigning", +"zoneSigning" +], +"enumDescriptions": [ +"", +"" +], +"type": "string" +}, +"kind": { +"default": "dns#dnsKeySpec", +"type": "string" +} +}, +"type": "object" +}, +"DnsKeysListResponse": { +"description": "The response to a request to enumerate DnsKeys in a ManagedZone.", +"id": "DnsKeysListResponse", +"properties": { +"dnsKeys": { +"description": "The requested resources.", +"items": { +"$ref": "DnsKey" +}, +"type": "array" +}, +"kind": { +"default": "dns#dnsKeysListResponse", +"description": "Type of resource.", +"type": "string" +}, +"nextPageToken": { +"description": "This field indicates that more results are available beyond the last page displayed. To fetch the results, make another list request and use this value as your page token. This lets you retrieve the complete contents of a very large collection one page at a time. However, if the contents of the collection change between the first and last paginated list request, the set of all elements returned are an inconsistent view of the collection. You can't retrieve a consistent snapshot of a collection larger than the maximum page size.", +"type": "string" +} +}, +"type": "object" +}, +"Expr": { +"description": "Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: \"Summary size limit\" description: \"Determines if a summary is less than 100 chars\" expression: \"document.summary.size() < 100\" Example (Equality): title: \"Requestor is owner\" description: \"Determines if requestor is the document owner\" expression: \"document.owner == request.auth.claims.email\" Example (Logic): title: \"Public documents\" description: \"Determine whether the document should be publicly visible\" expression: \"document.type != 'private' && document.type != 'internal'\" Example (Data Manipulation): title: \"Notification string\" description: \"Create a notification string with a timestamp.\" expression: \"'New message received at ' + string(document.create_time)\" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information.", +"id": "Expr", +"properties": { +"description": { +"description": "Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI.", +"type": "string" +}, +"expression": { +"description": "Textual representation of an expression in Common Expression Language syntax.", +"type": "string" +}, +"location": { +"description": "Optional. String indicating the location of the expression for error reporting, e.g. a file name and a position in the file.", +"type": "string" +}, +"title": { +"description": "Optional. Title for the expression, i.e. a short string describing its purpose. This can be used e.g. in UIs which allow to enter the expression.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleIamV1AuditConfig": { +"description": "Specifies the audit configuration for a service. The configuration determines which permission types are logged, and what identities, if any, are exempted from logging. An AuditConfig must have one or more AuditLogConfigs. If there are AuditConfigs for both `allServices` and a specific service, the union of the two AuditConfigs is used for that service: the log_types specified in each AuditConfig are enabled, and the exempted_members in each AuditLogConfig are exempted. Example Policy with multiple AuditConfigs: { \"audit_configs\": [ { \"service\": \"allServices\", \"audit_log_configs\": [ { \"log_type\": \"DATA_READ\", \"exempted_members\": [ \"user:jose@example.com\" ] }, { \"log_type\": \"DATA_WRITE\" }, { \"log_type\": \"ADMIN_READ\" } ] }, { \"service\": \"sampleservice.googleapis.com\", \"audit_log_configs\": [ { \"log_type\": \"DATA_READ\" }, { \"log_type\": \"DATA_WRITE\", \"exempted_members\": [ \"user:aliya@example.com\" ] } ] } ] } For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also exempts `jose@example.com` from DATA_READ logging, and `aliya@example.com` from DATA_WRITE logging.", +"id": "GoogleIamV1AuditConfig", +"properties": { +"auditLogConfigs": { +"description": "The configuration for logging of each type of permission.", +"items": { +"$ref": "GoogleIamV1AuditLogConfig" +}, +"type": "array" +}, +"service": { +"description": "Specifies a service that will be enabled for audit logging. For example, `storage.googleapis.com`, `cloudsql.googleapis.com`. `allServices` is a special value that covers all services.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleIamV1AuditLogConfig": { +"description": "Provides the configuration for logging a type of permissions. Example: { \"audit_log_configs\": [ { \"log_type\": \"DATA_READ\", \"exempted_members\": [ \"user:jose@example.com\" ] }, { \"log_type\": \"DATA_WRITE\" } ] } This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting jose@example.com from DATA_READ logging.", +"id": "GoogleIamV1AuditLogConfig", +"properties": { +"exemptedMembers": { +"description": "Specifies the identities that do not cause logging for this type of permission. Follows the same format of Binding.members.", +"items": { +"type": "string" +}, +"type": "array" +}, +"logType": { +"description": "The log type that this config enables.", +"enum": [ +"LOG_TYPE_UNSPECIFIED", +"ADMIN_READ", +"DATA_WRITE", +"DATA_READ" +], +"enumDescriptions": [ +"Default case. Should never be this.", +"Admin reads. Example: CloudIAM getIamPolicy", +"Data writes. Example: CloudSQL Users create", +"Data reads. Example: CloudSQL Users list" +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleIamV1Binding": { +"description": "Associates `members`, or principals, with a `role`.", +"id": "GoogleIamV1Binding", +"properties": { +"condition": { +"$ref": "Expr", +"description": "The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies)." +}, +"members": { +"description": "Specifies the principals requesting access for a Google Cloud resource. `members` can have the following values: * `allUsers`: A special identifier that represents anyone who is on the internet; with or without a Google account. * `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service account. Does not include identities that come from external identity providers (IdPs) through identity federation. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `group:{emailid}`: An email address that represents a Google group. For example, `admins@example.com`. * `domain:{domain}`: The G Suite domain (primary) that represents all the users of that domain. For example, `google.com` or `example.com`. * `principal://iam.googleapis.com/locations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}`: A single identity in a workforce identity pool. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/group/{group_id}`: All workforce identities in a group. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/attribute.{attribute_name}/{attribute_value}`: All workforce identities with a specific attribute value. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/*`: All identities in a workforce identity pool. * `principal://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/subject/{subject_attribute_value}`: A single identity in a workload identity pool. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/group/{group_id}`: A workload identity pool group. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/attribute.{attribute_name}/{attribute_value}`: All identities in a workload identity pool with a certain attribute. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/*`: All identities in a workload identity pool. * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a user that has been recently deleted. For example, `alice@example.com?uid=123456789012345678901`. If the user is recovered, this value reverts to `user:{emailid}` and the recovered user retains the role in the binding. * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a service account that has been recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the service account is undeleted, this value reverts to `serviceAccount:{emailid}` and the undeleted service account retains the role in the binding. * `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a Google group that has been recently deleted. For example, `admins@example.com?uid=123456789012345678901`. If the group is recovered, this value reverts to `group:{emailid}` and the recovered group retains the role in the binding. * `deleted:principal://iam.googleapis.com/locations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}`: Deleted single identity in a workforce identity pool. For example, `deleted:principal://iam.googleapis.com/locations/global/workforcePools/my-pool-id/subject/my-subject-attribute-value`.", +"items": { +"type": "string" +}, +"type": "array" +}, +"role": { +"description": "Role that is assigned to the list of `members`, or principals. For example, `roles/viewer`, `roles/editor`, or `roles/owner`. For an overview of the IAM roles and permissions, see the [IAM documentation](https://cloud.google.com/iam/docs/roles-overview). For a list of the available pre-defined roles, see [here](https://cloud.google.com/iam/docs/understanding-roles).", +"type": "string" +} +}, +"type": "object" +}, +"GoogleIamV1GetIamPolicyRequest": { +"description": "Request message for `GetIamPolicy` method.", +"id": "GoogleIamV1GetIamPolicyRequest", +"properties": { +"options": { +"$ref": "GoogleIamV1GetPolicyOptions", +"description": "OPTIONAL: A `GetPolicyOptions` object for specifying options to `GetIamPolicy`." +} +}, +"type": "object" +}, +"GoogleIamV1GetPolicyOptions": { +"description": "Encapsulates settings provided to GetIamPolicy.", +"id": "GoogleIamV1GetPolicyOptions", +"properties": { +"requestedPolicyVersion": { +"description": "Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"GoogleIamV1Policy": { +"description": "An Identity and Access Management (IAM) policy, which specifies access controls for Google Cloud resources. A `Policy` is a collection of `bindings`. A `binding` binds one or more `members`, or principals, to a single `role`. Principals can be user accounts, service accounts, Google groups, and domains (such as G Suite). A `role` is a named list of permissions; each `role` can be an IAM predefined role or a user-created custom role. For some types of Google Cloud resources, a `binding` can also specify a `condition`, which is a logical expression that allows access to a resource only if the expression evaluates to `true`. A condition can add constraints based on attributes of the request, the resource, or both. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). **JSON example:** ``` { \"bindings\": [ { \"role\": \"roles/resourcemanager.organizationAdmin\", \"members\": [ \"user:mike@example.com\", \"group:admins@example.com\", \"domain:google.com\", \"serviceAccount:my-project-id@appspot.gserviceaccount.com\" ] }, { \"role\": \"roles/resourcemanager.organizationViewer\", \"members\": [ \"user:eve@example.com\" ], \"condition\": { \"title\": \"expirable access\", \"description\": \"Does not grant access after Sep 2020\", \"expression\": \"request.time < timestamp('2020-10-01T00:00:00.000Z')\", } } ], \"etag\": \"BwWWja0YfJA=\", \"version\": 3 } ``` **YAML example:** ``` bindings: - members: - user:mike@example.com - group:admins@example.com - domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.com role: roles/resourcemanager.organizationViewer condition: title: expirable access description: Does not grant access after Sep 2020 expression: request.time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 ``` For a description of IAM and its features, see the [IAM documentation](https://cloud.google.com/iam/docs/).", +"id": "GoogleIamV1Policy", +"properties": { +"auditConfigs": { +"description": "Specifies cloud audit logging configuration for this policy.", +"items": { +"$ref": "GoogleIamV1AuditConfig" +}, +"type": "array" +}, +"bindings": { +"description": "Associates a list of `members`, or principals, with a `role`. Optionally, may specify a `condition` that determines how and when the `bindings` are applied. Each of the `bindings` must contain at least one principal. The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250 of these principals can be Google groups. Each occurrence of a principal counts towards these limits. For example, if the `bindings` grant 50 different roles to `user:alice@example.com`, and not to any other principal, then you can add another 1,450 principals to the `bindings` in the `Policy`.", +"items": { +"$ref": "GoogleIamV1Binding" +}, +"type": "array" +}, +"etag": { +"description": "`etag` is used for optimistic concurrency control as a way to help prevent simultaneous updates of a policy from overwriting each other. It is strongly suggested that systems make use of the `etag` in the read-modify-write cycle to perform policy updates in order to avoid race conditions: An `etag` is returned in the response to `getIamPolicy`, and systems are expected to put that etag in the request to `setIamPolicy` to ensure that their change will be applied to the same version of the policy. **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost.", +"format": "byte", +"type": "string" +}, +"version": { +"description": "Specifies the format of the policy. Valid values are `0`, `1`, and `3`. Requests that specify an invalid value are rejected. Any operation that affects conditional role bindings must specify version `3`. This requirement applies to the following operations: * Getting a policy that includes a conditional role binding * Adding a conditional role binding to a policy * Changing a conditional role binding in a policy * Removing any role binding, with or without a condition, from a policy that includes conditions **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost. If a policy does not include any conditions, operations on that policy may specify any valid version or leave the field unset. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"GoogleIamV1SetIamPolicyRequest": { +"description": "Request message for `SetIamPolicy` method.", +"id": "GoogleIamV1SetIamPolicyRequest", +"properties": { +"policy": { +"$ref": "GoogleIamV1Policy", +"description": "REQUIRED: The complete policy to be applied to the `resource`. The size of the policy is limited to a few 10s of KB. An empty policy is a valid policy but certain Google Cloud services (such as Projects) might reject them." +}, +"updateMask": { +"description": "OPTIONAL: A FieldMask specifying which fields of the policy to modify. Only the fields in the mask will be modified. If no mask is provided, the following default mask is used: `paths: \"bindings, etag\"`", +"format": "google-fieldmask", +"type": "string" +} +}, +"type": "object" +}, +"GoogleIamV1TestIamPermissionsRequest": { +"description": "Request message for `TestIamPermissions` method.", +"id": "GoogleIamV1TestIamPermissionsRequest", +"properties": { +"permissions": { +"description": "The set of permissions to check for the `resource`. Permissions with wildcards (such as `*` or `storage.*`) are not allowed. For more information see [IAM Overview](https://cloud.google.com/iam/docs/overview#permissions).", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleIamV1TestIamPermissionsResponse": { +"description": "Response message for `TestIamPermissions` method.", +"id": "GoogleIamV1TestIamPermissionsResponse", +"properties": { +"permissions": { +"description": "A subset of `TestPermissionsRequest.permissions` that the caller is allowed.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ManagedZone": { +"description": "A zone is a subtree of the DNS namespace under one administrative responsibility. A ManagedZone is a resource that represents a DNS zone hosted by the Cloud DNS service.", +"id": "ManagedZone", +"properties": { +"cloudLoggingConfig": { +"$ref": "ManagedZoneCloudLoggingConfig" +}, +"creationTime": { +"description": "The time that this resource was created on the server. This is in RFC3339 text format. Output only.", +"type": "string" +}, +"description": { +"description": "A mutable string of at most 1024 characters associated with this resource for the user's convenience. Has no effect on the managed zone's function.", +"type": "string" +}, +"dnsName": { +"description": "The DNS name of this managed zone, for instance \"example.com.\".", +"type": "string" +}, +"dnssecConfig": { +"$ref": "ManagedZoneDnsSecConfig", +"description": "DNSSEC configuration." +}, +"forwardingConfig": { +"$ref": "ManagedZoneForwardingConfig", +"description": "The presence for this field indicates that outbound forwarding is enabled for this zone. The value of this field contains the set of destinations to forward to." +}, +"id": { +"description": "Unique identifier for the resource; defined by the server (output only)", +"format": "uint64", +"type": "string" +}, +"kind": { +"default": "dns#managedZone", +"type": "string" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "User labels.", +"type": "object" +}, +"name": { +"description": "User assigned name for this resource. Must be unique within the project. The name must be 1-63 characters long, must begin with a letter, end with a letter or digit, and only contain lowercase letters, digits or dashes.", +"type": "string" +}, +"nameServerSet": { +"description": "Optionally specifies the NameServerSet for this ManagedZone. A NameServerSet is a set of DNS name servers that all host the same ManagedZones. Most users leave this field unset. If you need to use this field, contact your account team.", +"type": "string" +}, +"nameServers": { +"description": "Delegate your managed_zone to these virtual name servers; defined by the server (output only)", +"items": { +"type": "string" +}, +"type": "array" +}, +"peeringConfig": { +"$ref": "ManagedZonePeeringConfig", +"description": "The presence of this field indicates that DNS Peering is enabled for this zone. The value of this field contains the network to peer with." +}, +"privateVisibilityConfig": { +"$ref": "ManagedZonePrivateVisibilityConfig", +"description": "For privately visible zones, the set of Virtual Private Cloud resources that the zone is visible from." +}, +"reverseLookupConfig": { +"$ref": "ManagedZoneReverseLookupConfig", +"description": "The presence of this field indicates that this is a managed reverse lookup zone and Cloud DNS resolves reverse lookup queries using automatically configured records for VPC resources. This only applies to networks listed under private_visibility_config." +}, +"serviceDirectoryConfig": { +"$ref": "ManagedZoneServiceDirectoryConfig", +"description": "This field links to the associated service directory namespace. Do not set this field for public zones or forwarding zones." +}, +"visibility": { +"description": "The zone's visibility: public zones are exposed to the Internet, while private zones are visible only to Virtual Private Cloud resources.", +"enum": [ +"public", +"private" +], +"enumDescriptions": [ +"Indicates that records in this zone can be queried from the public internet.", +"Indicates that records in this zone cannot be queried from the public internet. Access to private zones depends on the zone configuration." +], +"type": "string" +} +}, +"type": "object" +}, +"ManagedZoneCloudLoggingConfig": { +"description": "Cloud Logging configurations for publicly visible zones.", +"id": "ManagedZoneCloudLoggingConfig", +"properties": { +"enableLogging": { +"description": "If set, enable query logging for this ManagedZone. False by default, making logging opt-in.", +"type": "boolean" +}, +"kind": { +"default": "dns#managedZoneCloudLoggingConfig", +"type": "string" +} +}, +"type": "object" +}, +"ManagedZoneDnsSecConfig": { +"id": "ManagedZoneDnsSecConfig", +"properties": { +"defaultKeySpecs": { +"description": "Specifies parameters for generating initial DnsKeys for this ManagedZone. Can only be changed while the state is OFF.", +"items": { +"$ref": "DnsKeySpec" +}, +"type": "array" +}, +"kind": { +"default": "dns#managedZoneDnsSecConfig", +"type": "string" +}, +"nonExistence": { +"description": "Specifies the mechanism for authenticated denial-of-existence responses. Can only be changed while the state is OFF.", +"enum": [ +"nsec", +"nsec3" +], +"enumDescriptions": [ +"Indicates that Cloud DNS will sign records in the managed zone according to RFC 4034 and respond with NSEC records for names that do not exist.", +"Indicates that Cloud DNS will sign records in the managed zone according to RFC 5155 and respond with NSEC3 records for names that do not exist." +], +"type": "string" +}, +"state": { +"description": "Specifies whether DNSSEC is enabled, and what mode it is in.", +"enum": [ +"off", +"on", +"transfer" +], +"enumDescriptions": [ +"DNSSEC is disabled; the zone is not signed.", +"DNSSEC is enabled; the zone is signed and fully managed.", +"DNSSEC is enabled, but in a \"transfer\" mode." +], +"type": "string" +} +}, +"type": "object" +}, +"ManagedZoneForwardingConfig": { +"id": "ManagedZoneForwardingConfig", +"properties": { +"kind": { +"default": "dns#managedZoneForwardingConfig", +"type": "string" +}, +"targetNameServers": { +"description": "List of target name servers to forward to. Cloud DNS selects the best available name server if more than one target is given.", +"items": { +"$ref": "ManagedZoneForwardingConfigNameServerTarget" +}, +"type": "array" +} +}, +"type": "object" +}, +"ManagedZoneForwardingConfigNameServerTarget": { +"id": "ManagedZoneForwardingConfigNameServerTarget", +"properties": { +"domainName": { +"description": "Fully qualified domain name for the forwarding target.", +"type": "string" +}, +"forwardingPath": { +"description": "Forwarding path for this NameServerTarget. If unset or set to DEFAULT, Cloud DNS makes forwarding decisions based on IP address ranges; that is, RFC1918 addresses go to the VPC network, non-RFC1918 addresses go to the internet. When set to PRIVATE, Cloud DNS always sends queries through the VPC network for this target.", +"enum": [ +"default", +"private" +], +"enumDescriptions": [ +"Cloud DNS makes forwarding decisions based on address ranges; that is, RFC1918 addresses forward to the target through the VPC and non-RFC1918 addresses forward to the target through the internet", +"Cloud DNS always forwards to this target through the VPC." +], +"type": "string" +}, +"ipv4Address": { +"description": "IPv4 address of a target name server.", +"type": "string" +}, +"ipv6Address": { +"description": "IPv6 address of a target name server. Does not accept both fields (ipv4 & ipv6) being populated. Public preview as of November 2022.", +"type": "string" +}, +"kind": { +"default": "dns#managedZoneForwardingConfigNameServerTarget", +"type": "string" +} +}, +"type": "object" +}, +"ManagedZoneOperationsListResponse": { +"id": "ManagedZoneOperationsListResponse", +"properties": { +"kind": { +"default": "dns#managedZoneOperationsListResponse", +"description": "Type of resource.", +"type": "string" +}, +"nextPageToken": { +"description": "This field indicates that more results are available beyond the last page displayed. To fetch the results, make another list request and use this value as your page token. This lets you retrieve the complete contents of a very large collection one page at a time. However, if the contents of the collection change between the first and last paginated list request, the set of all elements returned are an inconsistent view of the collection. You can't retrieve a consistent snapshot of a collection larger than the maximum page size.", +"type": "string" +}, +"operations": { +"description": "The operation resources.", +"items": { +"$ref": "Operation" +}, +"type": "array" +} +}, +"type": "object" +}, +"ManagedZonePeeringConfig": { +"id": "ManagedZonePeeringConfig", +"properties": { +"kind": { +"default": "dns#managedZonePeeringConfig", +"type": "string" +}, +"targetNetwork": { +"$ref": "ManagedZonePeeringConfigTargetNetwork", +"description": "The network with which to peer." +} +}, +"type": "object" +}, +"ManagedZonePeeringConfigTargetNetwork": { +"id": "ManagedZonePeeringConfigTargetNetwork", +"properties": { +"deactivateTime": { +"description": "The time at which the zone was deactivated, in RFC 3339 date-time format. An empty string indicates that the peering connection is active. The producer network can deactivate a zone. The zone is automatically deactivated if the producer network that the zone targeted is deleted. Output only.", +"type": "string" +}, +"kind": { +"default": "dns#managedZonePeeringConfigTargetNetwork", +"type": "string" +}, +"networkUrl": { +"description": "The fully qualified URL of the VPC network to forward queries to. This should be formatted like `https://www.googleapis.com/compute/v1/projects/{project}/global/networks/{network}`", +"type": "string" +} +}, +"type": "object" +}, +"ManagedZonePrivateVisibilityConfig": { +"id": "ManagedZonePrivateVisibilityConfig", +"properties": { +"gkeClusters": { +"description": "The list of Google Kubernetes Engine clusters that can see this zone.", +"items": { +"$ref": "ManagedZonePrivateVisibilityConfigGKECluster" +}, +"type": "array" +}, +"kind": { +"default": "dns#managedZonePrivateVisibilityConfig", +"type": "string" +}, +"networks": { +"description": "The list of VPC networks that can see this zone.", +"items": { +"$ref": "ManagedZonePrivateVisibilityConfigNetwork" +}, +"type": "array" +} +}, +"type": "object" +}, +"ManagedZonePrivateVisibilityConfigGKECluster": { +"id": "ManagedZonePrivateVisibilityConfigGKECluster", +"properties": { +"gkeClusterName": { +"description": "The resource name of the cluster to bind this ManagedZone to. This should be specified in the format like: projects/*/locations/*/clusters/*. This is referenced from GKE projects.locations.clusters.get API: https://cloud.google.com/kubernetes-engine/docs/reference/rest/v1/projects.locations.clusters/get", +"type": "string" +}, +"kind": { +"default": "dns#managedZonePrivateVisibilityConfigGKECluster", +"type": "string" +} +}, +"type": "object" +}, +"ManagedZonePrivateVisibilityConfigNetwork": { +"id": "ManagedZonePrivateVisibilityConfigNetwork", +"properties": { +"kind": { +"default": "dns#managedZonePrivateVisibilityConfigNetwork", +"type": "string" +}, +"networkUrl": { +"description": "The fully qualified URL of the VPC network to bind to. Format this URL like `https://www.googleapis.com/compute/v1/projects/{project}/global/networks/{network}`", +"type": "string" +} +}, +"type": "object" +}, +"ManagedZoneReverseLookupConfig": { +"id": "ManagedZoneReverseLookupConfig", +"properties": { +"kind": { +"default": "dns#managedZoneReverseLookupConfig", +"type": "string" +} +}, +"type": "object" +}, +"ManagedZoneServiceDirectoryConfig": { +"description": "Contains information about Service Directory-backed zones.", +"id": "ManagedZoneServiceDirectoryConfig", +"properties": { +"kind": { +"default": "dns#managedZoneServiceDirectoryConfig", +"type": "string" +}, +"namespace": { +"$ref": "ManagedZoneServiceDirectoryConfigNamespace", +"description": "Contains information about the namespace associated with the zone." +} +}, +"type": "object" +}, +"ManagedZoneServiceDirectoryConfigNamespace": { +"id": "ManagedZoneServiceDirectoryConfigNamespace", +"properties": { +"deletionTime": { +"description": "The time that the namespace backing this zone was deleted; an empty string if it still exists. This is in RFC3339 text format. Output only.", +"type": "string" +}, +"kind": { +"default": "dns#managedZoneServiceDirectoryConfigNamespace", +"type": "string" +}, +"namespaceUrl": { +"description": "The fully qualified URL of the namespace associated with the zone. Format must be `https://servicedirectory.googleapis.com/v1/projects/{project}/locations/{location}/namespaces/{namespace}`", +"type": "string" +} +}, +"type": "object" +}, +"ManagedZonesListResponse": { +"id": "ManagedZonesListResponse", +"properties": { +"kind": { +"default": "dns#managedZonesListResponse", +"description": "Type of resource.", +"type": "string" +}, +"managedZones": { +"description": "The managed zone resources.", +"items": { +"$ref": "ManagedZone" +}, +"type": "array" +}, +"nextPageToken": { +"description": "This field indicates that more results are available beyond the last page displayed. To fetch the results, make another list request and use this value as your page token. This lets you retrieve the complete contents of a very large collection one page at a time. However, if the contents of the collection change between the first and last paginated list request, the set of all elements returned are an inconsistent view of the collection. You can't retrieve a consistent snapshot of a collection larger than the maximum page size.", +"type": "string" +} +}, +"type": "object" +}, +"Operation": { +"description": "An operation represents a successful mutation performed on a Cloud DNS resource. Operations provide: - An audit log of server resource mutations. - A way to recover/retry API calls in the case where the response is never received by the caller. Use the caller specified client_operation_id.", +"id": "Operation", +"properties": { +"dnsKeyContext": { +"$ref": "OperationDnsKeyContext", +"description": "Only populated if the operation targeted a DnsKey (output only)." +}, +"id": { +"description": "Unique identifier for the resource. This is the client_operation_id if the client specified it when the mutation was initiated, otherwise, it is generated by the server. The name must be 1-63 characters long and match the regular expression [-a-z0-9]? (output only)", +"type": "string" +}, +"kind": { +"default": "dns#operation", +"type": "string" +}, +"startTime": { +"description": "The time that this operation was started by the server. This is in RFC3339 text format (output only).", +"type": "string" +}, +"status": { +"description": "Status of the operation. Can be one of the following: \"PENDING\" or \"DONE\" (output only). A status of \"DONE\" means that the request to update the authoritative servers has been sent, but the servers might not be updated yet.", +"enum": [ +"pending", +"done" +], +"enumDescriptions": [ +"", +"" +], +"type": "string" +}, +"type": { +"description": "Type of the operation. Operations include insert, update, and delete (output only).", +"type": "string" +}, +"user": { +"description": "User who requested the operation, for example: user@example.com. cloud-dns-system for operations automatically done by the system. (output only)", +"type": "string" +}, +"zoneContext": { +"$ref": "OperationManagedZoneContext", +"description": "Only populated if the operation targeted a ManagedZone (output only)." +} +}, +"type": "object" +}, +"OperationDnsKeyContext": { +"id": "OperationDnsKeyContext", +"properties": { +"newValue": { +"$ref": "DnsKey", +"description": "The post-operation DnsKey resource." +}, +"oldValue": { +"$ref": "DnsKey", +"description": "The pre-operation DnsKey resource." +} +}, +"type": "object" +}, +"OperationManagedZoneContext": { +"id": "OperationManagedZoneContext", +"properties": { +"newValue": { +"$ref": "ManagedZone", +"description": "The post-operation ManagedZone resource." +}, +"oldValue": { +"$ref": "ManagedZone", +"description": "The pre-operation ManagedZone resource." +} +}, +"type": "object" +}, +"PoliciesListResponse": { +"id": "PoliciesListResponse", +"properties": { +"kind": { +"default": "dns#policiesListResponse", +"description": "Type of resource.", +"type": "string" +}, +"nextPageToken": { +"description": "This field indicates that more results are available beyond the last page displayed. To fetch the results, make another list request and use this value as your page token. This lets you retrieve the complete contents of a very large collection one page at a time. However, if the contents of the collection change between the first and last paginated list request, the set of all elements returned are an inconsistent view of the collection. You can't retrieve a consistent snapshot of a collection larger than the maximum page size.", +"type": "string" +}, +"policies": { +"description": "The policy resources.", +"items": { +"$ref": "Policy" +}, +"type": "array" +} +}, +"type": "object" +}, +"PoliciesPatchResponse": { +"id": "PoliciesPatchResponse", +"properties": { +"policy": { +"$ref": "Policy" +} +}, +"type": "object" +}, +"PoliciesUpdateResponse": { +"id": "PoliciesUpdateResponse", +"properties": { +"policy": { +"$ref": "Policy" +} +}, +"type": "object" +}, +"Policy": { +"description": "A policy is a collection of DNS rules applied to one or more Virtual Private Cloud resources.", +"id": "Policy", +"properties": { +"alternativeNameServerConfig": { +"$ref": "PolicyAlternativeNameServerConfig", +"description": "Sets an alternative name server for the associated networks. When specified, all DNS queries are forwarded to a name server that you choose. Names such as .internal are not available when an alternative name server is specified." +}, +"description": { +"description": "A mutable string of at most 1024 characters associated with this resource for the user's convenience. Has no effect on the policy's function.", +"type": "string" +}, +"dns64Config": { +"$ref": "PolicyDns64Config", +"description": "Configurations related to DNS64 for this policy." +}, +"enableInboundForwarding": { +"description": "Allows networks bound to this policy to receive DNS queries sent by VMs or applications over VPN connections. When enabled, a virtual IP address is allocated from each of the subnetworks that are bound to this policy.", +"type": "boolean" +}, +"enableLogging": { +"description": "Controls whether logging is enabled for the networks bound to this policy. Defaults to no logging if not set.", +"type": "boolean" +}, +"id": { +"description": "Unique identifier for the resource; defined by the server (output only).", +"format": "uint64", +"type": "string" +}, +"kind": { +"default": "dns#policy", +"type": "string" +}, +"name": { +"description": "User-assigned name for this policy.", +"type": "string" +}, +"networks": { +"description": "List of network names specifying networks to which this policy is applied.", +"items": { +"$ref": "PolicyNetwork" +}, +"type": "array" +} +}, +"type": "object" +}, +"PolicyAlternativeNameServerConfig": { +"id": "PolicyAlternativeNameServerConfig", +"properties": { +"kind": { +"default": "dns#policyAlternativeNameServerConfig", +"type": "string" +}, +"targetNameServers": { +"description": "Sets an alternative name server for the associated networks. When specified, all DNS queries are forwarded to a name server that you choose. Names such as .internal are not available when an alternative name server is specified.", +"items": { +"$ref": "PolicyAlternativeNameServerConfigTargetNameServer" +}, +"type": "array" +} +}, +"type": "object" +}, +"PolicyAlternativeNameServerConfigTargetNameServer": { +"id": "PolicyAlternativeNameServerConfigTargetNameServer", +"properties": { +"forwardingPath": { +"description": "Forwarding path for this TargetNameServer. If unset or set to DEFAULT, Cloud DNS makes forwarding decisions based on address ranges; that is, RFC1918 addresses go to the VPC network, non-RFC1918 addresses go to the internet. When set to PRIVATE, Cloud DNS always sends queries through the VPC network for this target.", +"enum": [ +"default", +"private" +], +"enumDescriptions": [ +"Cloud DNS makes forwarding decision based on IP address ranges; that is, RFC1918 addresses forward to the target through the VPC and non-RFC1918 addresses forward to the target through the internet", +"Cloud DNS always forwards to this target through the VPC." +], +"type": "string" +}, +"ipv4Address": { +"description": "IPv4 address to forward queries to.", +"type": "string" +}, +"ipv6Address": { +"description": "IPv6 address to forward to. Does not accept both fields (ipv4 & ipv6) being populated. Public preview as of November 2022.", +"type": "string" +}, +"kind": { +"default": "dns#policyAlternativeNameServerConfigTargetNameServer", +"type": "string" +} +}, +"type": "object" +}, +"PolicyDns64Config": { +"description": "DNS64 policies", +"id": "PolicyDns64Config", +"properties": { +"kind": { +"default": "dns#policyDns64Config", +"type": "string" +}, +"scope": { +"$ref": "PolicyDns64ConfigScope", +"description": "The scope to which DNS64 config will be applied to." +} +}, +"type": "object" +}, +"PolicyDns64ConfigScope": { +"id": "PolicyDns64ConfigScope", +"properties": { +"allQueries": { +"description": "Controls whether DNS64 is enabled globally for all networks bound to the policy.", +"type": "boolean" +}, +"kind": { +"default": "dns#policyDns64ConfigScope", +"type": "string" +} +}, +"type": "object" +}, +"PolicyNetwork": { +"id": "PolicyNetwork", +"properties": { +"kind": { +"default": "dns#policyNetwork", +"type": "string" +}, +"networkUrl": { +"description": "The fully qualified URL of the VPC network to bind to. This should be formatted like https://www.googleapis.com/compute/v1/projects/{project}/global/networks/{network}", +"type": "string" +} +}, +"type": "object" +}, +"Project": { +"description": "A project resource. The project is a top level container for resources including Cloud DNS ManagedZones. Projects can be created only in the APIs console.", +"id": "Project", +"properties": { +"id": { +"description": "User assigned unique identifier for the resource (output only).", +"type": "string" +}, +"kind": { +"default": "dns#project", +"type": "string" +}, +"number": { +"description": "Unique numeric identifier for the resource; defined by the server (output only).", +"format": "uint64", +"type": "string" +}, +"quota": { +"$ref": "Quota", +"description": "Quotas assigned to this project (output only)." +} +}, +"type": "object" +}, +"Quota": { +"description": "Limits associated with a Project.", +"id": "Quota", +"properties": { +"dnsKeysPerManagedZone": { +"description": "Maximum allowed number of DnsKeys per ManagedZone.", +"format": "int32", +"type": "integer" +}, +"gkeClustersPerManagedZone": { +"description": "Maximum allowed number of GKE clusters to which a privately scoped zone can be attached.", +"format": "int32", +"type": "integer" +}, +"gkeClustersPerPolicy": { +"description": "Maximum allowed number of GKE clusters per policy.", +"format": "int32", +"type": "integer" +}, +"gkeClustersPerResponsePolicy": { +"description": "Maximum allowed number of GKE clusters per response policy.", +"format": "int32", +"type": "integer" +}, +"internetHealthChecksPerManagedZone": { +"format": "int32", +"type": "integer" +}, +"itemsPerRoutingPolicy": { +"description": "Maximum allowed number of items per routing policy.", +"format": "int32", +"type": "integer" +}, +"kind": { +"default": "dns#quota", +"type": "string" +}, +"managedZones": { +"description": "Maximum allowed number of managed zones in the project.", +"format": "int32", +"type": "integer" +}, +"managedZonesPerGkeCluster": { +"description": "Maximum allowed number of managed zones which can be attached to a GKE cluster.", +"format": "int32", +"type": "integer" +}, +"managedZonesPerNetwork": { +"description": "Maximum allowed number of managed zones which can be attached to a network.", +"format": "int32", +"type": "integer" +}, +"nameserversPerDelegation": { +"description": "Maximum number of nameservers per delegation, meant to prevent abuse", +"format": "int32", +"type": "integer" +}, +"networksPerManagedZone": { +"description": "Maximum allowed number of networks to which a privately scoped zone can be attached.", +"format": "int32", +"type": "integer" +}, +"networksPerPolicy": { +"description": "Maximum allowed number of networks per policy.", +"format": "int32", +"type": "integer" +}, +"networksPerResponsePolicy": { +"description": "Maximum allowed number of networks per response policy.", +"format": "int32", +"type": "integer" +}, +"peeringZonesPerTargetNetwork": { +"description": "Maximum allowed number of consumer peering zones per target network owned by this producer project", +"format": "int32", +"type": "integer" +}, +"policies": { +"description": "Maximum allowed number of policies per project.", +"format": "int32", +"type": "integer" +}, +"resourceRecordsPerRrset": { +"description": "Maximum allowed number of ResourceRecords per ResourceRecordSet.", +"format": "int32", +"type": "integer" +}, +"responsePolicies": { +"description": "Maximum allowed number of response policies per project.", +"format": "int32", +"type": "integer" +}, +"responsePolicyRulesPerResponsePolicy": { +"description": "Maximum allowed number of rules per response policy.", +"format": "int32", +"type": "integer" +}, +"rrsetAdditionsPerChange": { +"description": "Maximum allowed number of ResourceRecordSets to add per ChangesCreateRequest.", +"format": "int32", +"type": "integer" +}, +"rrsetDeletionsPerChange": { +"description": "Maximum allowed number of ResourceRecordSets to delete per ChangesCreateRequest.", +"format": "int32", +"type": "integer" +}, +"rrsetsPerManagedZone": { +"description": "Maximum allowed number of ResourceRecordSets per zone in the project.", +"format": "int32", +"type": "integer" +}, +"targetNameServersPerManagedZone": { +"description": "Maximum allowed number of target name servers per managed forwarding zone.", +"format": "int32", +"type": "integer" +}, +"targetNameServersPerPolicy": { +"description": "Maximum allowed number of alternative target name servers per policy.", +"format": "int32", +"type": "integer" +}, +"totalRrdataSizePerChange": { +"description": "Maximum allowed size for total rrdata in one ChangesCreateRequest in bytes.", +"format": "int32", +"type": "integer" +}, +"whitelistedKeySpecs": { +"description": "DNSSEC algorithm and key length types that can be used for DnsKeys.", +"items": { +"$ref": "DnsKeySpec" +}, +"type": "array" +} +}, +"type": "object" +}, +"RRSetRoutingPolicy": { +"description": "A RRSetRoutingPolicy represents ResourceRecordSet data that is returned dynamically with the response varying based on configured properties such as geolocation or by weighted random selection.", +"id": "RRSetRoutingPolicy", +"properties": { +"geo": { +"$ref": "RRSetRoutingPolicyGeoPolicy" +}, +"geoPolicy": { +"$ref": "RRSetRoutingPolicyGeoPolicy", +"deprecated": true +}, +"healthCheck": { +"description": "The fully qualified URL of the HealthCheck to use for this RRSetRoutingPolicy. Format this URL like `https://www.googleapis.com/compute/v1/projects/{project}/global/healthChecks/{healthCheck}`. https://cloud.google.com/compute/docs/reference/rest/v1/healthChecks", +"type": "string" +}, +"kind": { +"default": "dns#rRSetRoutingPolicy", +"type": "string" +}, +"primaryBackup": { +"$ref": "RRSetRoutingPolicyPrimaryBackupPolicy" +}, +"wrr": { +"$ref": "RRSetRoutingPolicyWrrPolicy" +}, +"wrrPolicy": { +"$ref": "RRSetRoutingPolicyWrrPolicy", +"deprecated": true +} +}, +"type": "object" +}, +"RRSetRoutingPolicyGeoPolicy": { +"description": "Configures a `RRSetRoutingPolicy` that routes based on the geo location of the querying user.", +"id": "RRSetRoutingPolicyGeoPolicy", +"properties": { +"enableFencing": { +"description": "Without fencing, if health check fails for all configured items in the current geo bucket, we failover to the next nearest geo bucket. With fencing, if health checking is enabled, as long as some targets in the current geo bucket are healthy, we return only the healthy targets. However, if all targets are unhealthy, we don't failover to the next nearest bucket; instead, we return all the items in the current bucket even when all targets are unhealthy.", +"type": "boolean" +}, +"items": { +"description": "The primary geo routing configuration. If there are multiple items with the same location, an error is returned instead.", +"items": { +"$ref": "RRSetRoutingPolicyGeoPolicyGeoPolicyItem" +}, +"type": "array" +}, +"kind": { +"default": "dns#rRSetRoutingPolicyGeoPolicy", +"type": "string" +} +}, +"type": "object" +}, +"RRSetRoutingPolicyGeoPolicyGeoPolicyItem": { +"description": "ResourceRecordSet data for one geo location.", +"id": "RRSetRoutingPolicyGeoPolicyGeoPolicyItem", +"properties": { +"healthCheckedTargets": { +"$ref": "RRSetRoutingPolicyHealthCheckTargets", +"description": "For A and AAAA types only. Endpoints to return in the query result only if they are healthy. These can be specified along with `rrdata` within this item." +}, +"kind": { +"default": "dns#rRSetRoutingPolicyGeoPolicyGeoPolicyItem", +"type": "string" +}, +"location": { +"description": "The geo-location granularity is a GCP region. This location string should correspond to a GCP region. e.g. \"us-east1\", \"southamerica-east1\", \"asia-east1\", etc.", +"type": "string" +}, +"rrdatas": { +"items": { +"type": "string" +}, +"type": "array" +}, +"signatureRrdatas": { +"description": "DNSSEC generated signatures for all the `rrdata` within this item. When using health-checked targets for DNSSEC-enabled zones, you can only use at most one health-checked IP address per item.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"RRSetRoutingPolicyHealthCheckTargets": { +"description": "HealthCheckTargets describes endpoints to health-check when responding to Routing Policy queries. Only the healthy endpoints will be included in the response. Set either `internal_load_balancer` or `external_endpoints`. Do not set both.", +"id": "RRSetRoutingPolicyHealthCheckTargets", +"properties": { +"externalEndpoints": { +"description": "The Internet IP addresses to be health checked. The format matches the format of ResourceRecordSet.rrdata as defined in RFC 1035 (section 5) and RFC 1034 (section 3.6.1)", +"items": { +"type": "string" +}, +"type": "array" +}, +"internalLoadBalancers": { +"description": "Configuration for internal load balancers to be health checked.", +"items": { +"$ref": "RRSetRoutingPolicyLoadBalancerTarget" +}, +"type": "array" +} +}, +"type": "object" +}, +"RRSetRoutingPolicyLoadBalancerTarget": { +"description": "The configuration for an individual load balancer to health check.", +"id": "RRSetRoutingPolicyLoadBalancerTarget", +"properties": { +"ipAddress": { +"description": "The frontend IP address of the load balancer to health check.", +"type": "string" +}, +"ipProtocol": { +"description": "The protocol of the load balancer to health check.", +"enum": [ +"undefined", +"tcp", +"udp" +], +"enumDescriptions": [ +"", +"Indicates the load balancer is accessible via TCP.", +"Indicates the load balancer is accessible via UDP." +], +"type": "string" +}, +"kind": { +"default": "dns#rRSetRoutingPolicyLoadBalancerTarget", +"type": "string" +}, +"loadBalancerType": { +"description": "The type of load balancer specified by this target. This value must match the configuration of the load balancer located at the LoadBalancerTarget's IP address, port, and region. Use the following: - *regionalL4ilb*: for a regional internal passthrough Network Load Balancer. - *regionalL7ilb*: for a regional internal Application Load Balancer. - *globalL7ilb*: for a global internal Application Load Balancer. ", +"enum": [ +"none", +"globalL7ilb", +"regionalL4ilb", +"regionalL7ilb" +], +"enumDescriptions": [ +"", +"Indicates the load balancer is a Cross-Region Application Load Balancer.", +"Indicates the load balancer is a Regional Network Passthrough Load Balancer.", +"Indicates the load balancer is a Regional Application Load Balancer." +], +"type": "string" +}, +"networkUrl": { +"description": "The fully qualified URL of the network that the load balancer is attached to. This should be formatted like `https://www.googleapis.com/compute/v1/projects/{project}/global/networks/{network}`.", +"type": "string" +}, +"port": { +"description": "The configured port of the load balancer.", +"type": "string" +}, +"project": { +"description": "The project ID in which the load balancer is located.", +"type": "string" +}, +"region": { +"description": "The region in which the load balancer is located.", +"type": "string" +} +}, +"type": "object" +}, +"RRSetRoutingPolicyPrimaryBackupPolicy": { +"description": "Configures a RRSetRoutingPolicy such that all queries are responded with the primary_targets if they are healthy. And if all of them are unhealthy, then we fallback to a geo localized policy.", +"id": "RRSetRoutingPolicyPrimaryBackupPolicy", +"properties": { +"backupGeoTargets": { +"$ref": "RRSetRoutingPolicyGeoPolicy", +"description": "Backup targets provide a regional failover policy for the otherwise global primary targets. If serving state is set to `BACKUP`, this policy essentially becomes a geo routing policy." +}, +"kind": { +"default": "dns#rRSetRoutingPolicyPrimaryBackupPolicy", +"type": "string" +}, +"primaryTargets": { +"$ref": "RRSetRoutingPolicyHealthCheckTargets", +"description": "Endpoints that are health checked before making the routing decision. Unhealthy endpoints are omitted from the results. If all endpoints are unhealthy, we serve a response based on the `backup_geo_targets`." +}, +"trickleTraffic": { +"description": "When serving state is `PRIMARY`, this field provides the option of sending a small percentage of the traffic to the backup targets.", +"format": "double", +"type": "number" +} +}, +"type": "object" +}, +"RRSetRoutingPolicyWrrPolicy": { +"description": "Configures a RRSetRoutingPolicy that routes in a weighted round robin fashion.", +"id": "RRSetRoutingPolicyWrrPolicy", +"properties": { +"items": { +"items": { +"$ref": "RRSetRoutingPolicyWrrPolicyWrrPolicyItem" +}, +"type": "array" +}, +"kind": { +"default": "dns#rRSetRoutingPolicyWrrPolicy", +"type": "string" +} +}, +"type": "object" +}, +"RRSetRoutingPolicyWrrPolicyWrrPolicyItem": { +"description": "A routing block which contains the routing information for one WRR item.", +"id": "RRSetRoutingPolicyWrrPolicyWrrPolicyItem", +"properties": { +"healthCheckedTargets": { +"$ref": "RRSetRoutingPolicyHealthCheckTargets", +"description": "Endpoints that are health checked before making the routing decision. The unhealthy endpoints are omitted from the result. If all endpoints within a bucket are unhealthy, we choose a different bucket (sampled with respect to its weight) for responding. If DNSSEC is enabled for this zone, only one of `rrdata` or `health_checked_targets` can be set." +}, +"kind": { +"default": "dns#rRSetRoutingPolicyWrrPolicyWrrPolicyItem", +"type": "string" +}, +"rrdatas": { +"items": { +"type": "string" +}, +"type": "array" +}, +"signatureRrdatas": { +"description": "DNSSEC generated signatures for all the `rrdata` within this item. When using health-checked targets for DNSSEC-enabled zones, you can only use at most one health-checked IP address per item.", +"items": { +"type": "string" +}, +"type": "array" +}, +"weight": { +"description": "The weight corresponding to this `WrrPolicyItem` object. When multiple `WrrPolicyItem` objects are configured, the probability of returning an `WrrPolicyItem` object's data is proportional to its weight relative to the sum of weights configured for all items. This weight must be non-negative.", +"format": "double", +"type": "number" +} +}, +"type": "object" +}, +"ResourceRecordSet": { +"description": "A unit of data that is returned by the DNS servers.", +"id": "ResourceRecordSet", +"properties": { +"kind": { +"default": "dns#resourceRecordSet", +"type": "string" +}, +"name": { +"description": "For example, www.example.com.", +"type": "string" +}, +"routingPolicy": { +"$ref": "RRSetRoutingPolicy", +"description": "Configures dynamic query responses based on either the geo location of the querying user or a weighted round robin based routing policy. A valid `ResourceRecordSet` contains only `rrdata` (for static resolution) or a `routing_policy` (for dynamic resolution)." +}, +"rrdatas": { +"description": "As defined in RFC 1035 (section 5) and RFC 1034 (section 3.6.1) -- see examples.", +"items": { +"type": "string" +}, +"type": "array" +}, +"signatureRrdatas": { +"description": "As defined in RFC 4034 (section 3.2).", +"items": { +"type": "string" +}, +"type": "array" +}, +"ttl": { +"description": "Number of seconds that this `ResourceRecordSet` can be cached by resolvers.", +"format": "int32", +"type": "integer" +}, +"type": { +"description": "The identifier of a supported record type. See the list of Supported DNS record types.", +"type": "string" +} +}, +"type": "object" +}, +"ResourceRecordSetsListResponse": { +"id": "ResourceRecordSetsListResponse", +"properties": { +"kind": { +"default": "dns#resourceRecordSetsListResponse", +"description": "Type of resource.", +"type": "string" +}, +"nextPageToken": { +"description": "This field indicates that more results are available beyond the last page displayed. To fetch the results, make another list request and use this value as your page token. This lets you retrieve the complete contents of a very large collection one page at a time. However, if the contents of the collection change between the first and last paginated list request, the set of all elements returned are an inconsistent view of the collection. You can't retrieve a consistent snapshot of a collection larger than the maximum page size.", +"type": "string" +}, +"rrsets": { +"description": "The resource record set resources.", +"items": { +"$ref": "ResourceRecordSet" +}, +"type": "array" +} +}, +"type": "object" +}, +"ResponsePoliciesListResponse": { +"id": "ResponsePoliciesListResponse", +"properties": { +"nextPageToken": { +"description": "This field indicates that more results are available beyond the last page displayed. To fetch the results, make another list request and use this value as your page token. This lets you retrieve the complete contents of a very large collection one page at a time. However, if the contents of the collection change between the first and last paginated list request, the set of all elements returned are an inconsistent view of the collection. You can't retrieve a consistent snapshot of a collection larger than the maximum page size.", +"type": "string" +}, +"responsePolicies": { +"description": "The Response Policy resources.", +"items": { +"$ref": "ResponsePolicy" +}, +"type": "array" +} +}, +"type": "object" +}, +"ResponsePoliciesPatchResponse": { +"id": "ResponsePoliciesPatchResponse", +"properties": { +"responsePolicy": { +"$ref": "ResponsePolicy" +} +}, +"type": "object" +}, +"ResponsePoliciesUpdateResponse": { +"id": "ResponsePoliciesUpdateResponse", +"properties": { +"responsePolicy": { +"$ref": "ResponsePolicy" +} +}, +"type": "object" +}, +"ResponsePolicy": { +"description": "A Response Policy is a collection of selectors that apply to queries made against one or more Virtual Private Cloud networks.", +"id": "ResponsePolicy", +"properties": { +"description": { +"description": "User-provided description for this Response Policy.", +"type": "string" +}, +"gkeClusters": { +"description": "The list of Google Kubernetes Engine clusters to which this response policy is applied.", +"items": { +"$ref": "ResponsePolicyGKECluster" +}, +"type": "array" +}, +"id": { +"description": "Unique identifier for the resource; defined by the server (output only).", +"format": "int64", +"type": "string" +}, +"kind": { +"default": "dns#responsePolicy", +"type": "string" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "User labels.", +"type": "object" +}, +"networks": { +"description": "List of network names specifying networks to which this policy is applied.", +"items": { +"$ref": "ResponsePolicyNetwork" +}, +"type": "array" +}, +"responsePolicyName": { +"description": "User assigned name for this Response Policy.", +"type": "string" +} +}, +"type": "object" +}, +"ResponsePolicyGKECluster": { +"id": "ResponsePolicyGKECluster", +"properties": { +"gkeClusterName": { +"description": "The resource name of the cluster to bind this response policy to. This should be specified in the format like: projects/*/locations/*/clusters/*. This is referenced from GKE projects.locations.clusters.get API: https://cloud.google.com/kubernetes-engine/docs/reference/rest/v1/projects.locations.clusters/get", +"type": "string" +}, +"kind": { +"default": "dns#responsePolicyGKECluster", +"type": "string" +} +}, +"type": "object" +}, +"ResponsePolicyNetwork": { +"id": "ResponsePolicyNetwork", +"properties": { +"kind": { +"default": "dns#responsePolicyNetwork", +"type": "string" +}, +"networkUrl": { +"description": "The fully qualified URL of the VPC network to bind to. This should be formatted like `https://www.googleapis.com/compute/v1/projects/{project}/global/networks/{network}`", +"type": "string" +} +}, +"type": "object" +}, +"ResponsePolicyRule": { +"description": "A Response Policy Rule is a selector that applies its behavior to queries that match the selector. Selectors are DNS names, which may be wildcards or exact matches. Each DNS query subject to a Response Policy matches at most one ResponsePolicyRule, as identified by the dns_name field with the longest matching suffix.", +"id": "ResponsePolicyRule", +"properties": { +"behavior": { +"description": "Answer this query with a behavior rather than DNS data.", +"enum": [ +"behaviorUnspecified", +"bypassResponsePolicy" +], +"enumDescriptions": [ +"", +"Skip a less-specific Response Policy Rule and let the query logic continue. This mechanism, when used with wildcard selectors, lets you exempt specific subdomains from a broader Response Policy Rule and direct the queries to the public internet instead. For example, if the following rules exist: ``` *.example.com -> LocalData 1.2.3.4 foo.example.com -> Behavior 'passthrough' ``` A query for foo.example.com skips the wildcard rule. This functionality also facilitates allowlisting. Response Policy Zones (RPZs) can be applied at multiple levels within the hierarchy: for example, an organization, a folder, a project, or a VPC network. If an RPZ rule is applied at a higher level, adding a `passthrough` rule at a lower level will override it. Queries from affected virtual machines (VMs) to that domain bypass the RPZ and proceed with normal resolution." +], +"type": "string" +}, +"dnsName": { +"description": "The DNS name (wildcard or exact) to apply this rule to. Must be unique within the Response Policy Rule.", +"type": "string" +}, +"kind": { +"default": "dns#responsePolicyRule", +"type": "string" +}, +"localData": { +"$ref": "ResponsePolicyRuleLocalData", +"description": "Answer this query directly with DNS data. These ResourceRecordSets override any other DNS behavior for the matched name; in particular they override private zones, the public internet, and GCP internal DNS. No SOA nor NS types are allowed." +}, +"ruleName": { +"description": "An identifier for this rule. Must be unique with the ResponsePolicy.", +"type": "string" +} +}, +"type": "object" +}, +"ResponsePolicyRuleLocalData": { +"id": "ResponsePolicyRuleLocalData", +"properties": { +"localDatas": { +"description": "All resource record sets for this selector, one per resource record type. The name must match the dns_name.", +"items": { +"$ref": "ResourceRecordSet" +}, +"type": "array" +} +}, +"type": "object" +}, +"ResponsePolicyRulesListResponse": { +"id": "ResponsePolicyRulesListResponse", +"properties": { +"nextPageToken": { +"description": "This field indicates that more results are available beyond the last page displayed. To fetch the results, make another list request and use this value as your page token. This lets you retrieve the complete contents of a very large collection one page at a time. However, if the contents of the collection change between the first and last paginated list request, the set of all elements returned are an inconsistent view of the collection. You can't retrieve a consistent snapshot of a collection larger than the maximum page size.", +"type": "string" +}, +"responsePolicyRules": { +"description": "The Response Policy Rule resources.", +"items": { +"$ref": "ResponsePolicyRule" +}, +"type": "array" +} +}, +"type": "object" +}, +"ResponsePolicyRulesPatchResponse": { +"id": "ResponsePolicyRulesPatchResponse", +"properties": { +"responsePolicyRule": { +"$ref": "ResponsePolicyRule" +} +}, +"type": "object" +}, +"ResponsePolicyRulesUpdateResponse": { +"id": "ResponsePolicyRulesUpdateResponse", +"properties": { +"responsePolicyRule": { +"$ref": "ResponsePolicyRule" +} +}, +"type": "object" +} +}, +"servicePath": "", +"title": "Cloud DNS API", +"version": "v1beta2" +} \ No newline at end of file diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/documentai.v1beta2.json b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/documentai.v1beta2.json new file mode 100644 index 0000000000000000000000000000000000000000..b73dd7d3f892bc80cc8dc087794fccd9ab65db66 --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/documentai.v1beta2.json @@ -0,0 +1,6139 @@ +{ +"auth": { +"oauth2": { +"scopes": { +"https://www.googleapis.com/auth/cloud-platform": { +"description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." +} +} +} +}, +"basePath": "", +"baseUrl": "https://documentai.googleapis.com/", +"batchPath": "batch", +"canonicalName": "Document", +"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.", +"discoveryVersion": "v1", +"documentationLink": "https://cloud.google.com/document-ai/docs/", +"fullyEncodeReservedExpansion": true, +"icons": { +"x16": "http://www.google.com/images/icons/product/search-16.gif", +"x32": "http://www.google.com/images/icons/product/search-32.gif" +}, +"id": "documentai:v1beta2", +"kind": "discovery#restDescription", +"mtlsRootUrl": "https://documentai.mtls.googleapis.com/", +"name": "documentai", +"ownerDomain": "google.com", +"ownerName": "Google", +"parameters": { +"$.xgafv": { +"description": "V1 error format.", +"enum": [ +"1", +"2" +], +"enumDescriptions": [ +"v1 error format", +"v2 error format" +], +"location": "query", +"type": "string" +}, +"access_token": { +"description": "OAuth access token.", +"location": "query", +"type": "string" +}, +"alt": { +"default": "json", +"description": "Data format for response.", +"enum": [ +"json", +"media", +"proto" +], +"enumDescriptions": [ +"Responses with Content-Type of application/json", +"Media download with context-dependent Content-Type", +"Responses with Content-Type of application/x-protobuf" +], +"location": "query", +"type": "string" +}, +"callback": { +"description": "JSONP", +"location": "query", +"type": "string" +}, +"fields": { +"description": "Selector specifying which fields to include in a partial response.", +"location": "query", +"type": "string" +}, +"key": { +"description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", +"location": "query", +"type": "string" +}, +"oauth_token": { +"description": "OAuth 2.0 token for the current user.", +"location": "query", +"type": "string" +}, +"prettyPrint": { +"default": "true", +"description": "Returns response with indentations and line breaks.", +"location": "query", +"type": "boolean" +}, +"quotaUser": { +"description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.", +"location": "query", +"type": "string" +}, +"uploadType": { +"description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", +"location": "query", +"type": "string" +}, +"upload_protocol": { +"description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", +"location": "query", +"type": "string" +} +}, +"protocol": "rest", +"resources": { +"projects": { +"resources": { +"documents": { +"methods": { +"batchProcess": { +"description": "LRO endpoint to batch process many documents. The output is written to Cloud Storage as JSON in the [Document] format.", +"flatPath": "v1beta2/projects/{projectsId}/documents:batchProcess", +"httpMethod": "POST", +"id": "documentai.projects.documents.batchProcess", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Target project and location to make a call. Format: `projects/{project-id}/locations/{location-id}`. If no location is specified, a region will be chosen automatically.", +"location": "path", +"pattern": "^projects/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta2/{+parent}/documents:batchProcess", +"request": { +"$ref": "GoogleCloudDocumentaiV1beta2BatchProcessDocumentsRequest" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"process": { +"description": "Processes a single document.", +"flatPath": "v1beta2/projects/{projectsId}/documents:process", +"httpMethod": "POST", +"id": "documentai.projects.documents.process", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Target project and location to make a call. Format: `projects/{project-id}/locations/{location-id}`. If no location is specified, a region will be chosen automatically. This field is only populated when used in ProcessDocument method.", +"location": "path", +"pattern": "^projects/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta2/{+parent}/documents:process", +"request": { +"$ref": "GoogleCloudDocumentaiV1beta2ProcessDocumentRequest" +}, +"response": { +"$ref": "GoogleCloudDocumentaiV1beta2Document" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"locations": { +"resources": { +"documents": { +"methods": { +"batchProcess": { +"description": "LRO endpoint to batch process many documents. The output is written to Cloud Storage as JSON in the [Document] format.", +"flatPath": "v1beta2/projects/{projectsId}/locations/{locationsId}/documents:batchProcess", +"httpMethod": "POST", +"id": "documentai.projects.locations.documents.batchProcess", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Target project and location to make a call. Format: `projects/{project-id}/locations/{location-id}`. If no location is specified, a region will be chosen automatically.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta2/{+parent}/documents:batchProcess", +"request": { +"$ref": "GoogleCloudDocumentaiV1beta2BatchProcessDocumentsRequest" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"process": { +"description": "Processes a single document.", +"flatPath": "v1beta2/projects/{projectsId}/locations/{locationsId}/documents:process", +"httpMethod": "POST", +"id": "documentai.projects.locations.documents.process", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Target project and location to make a call. Format: `projects/{project-id}/locations/{location-id}`. If no location is specified, a region will be chosen automatically. This field is only populated when used in ProcessDocument method.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta2/{+parent}/documents:process", +"request": { +"$ref": "GoogleCloudDocumentaiV1beta2ProcessDocumentRequest" +}, +"response": { +"$ref": "GoogleCloudDocumentaiV1beta2Document" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"operations": { +"methods": { +"get": { +"description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", +"flatPath": "v1beta2/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}", +"httpMethod": "GET", +"id": "documentai.projects.locations.operations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta2/{+name}", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +}, +"operations": { +"methods": { +"get": { +"description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", +"flatPath": "v1beta2/projects/{projectsId}/operations/{operationsId}", +"httpMethod": "GET", +"id": "documentai.projects.operations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource.", +"location": "path", +"pattern": "^projects/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta2/{+name}", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +} +}, +"revision": "20240703", +"rootUrl": "https://documentai.googleapis.com/", +"schemas": { +"GoogleCloudDocumentaiUiv1beta3AutoLabelDocumentsMetadata": { +"description": "Metadata of the auto-labeling documents operation.", +"id": "GoogleCloudDocumentaiUiv1beta3AutoLabelDocumentsMetadata", +"properties": { +"commonMetadata": { +"$ref": "GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata", +"description": "The basic metadata of the long-running operation." +}, +"individualAutoLabelStatuses": { +"description": "The list of individual auto-labeling statuses of the dataset documents.", +"items": { +"$ref": "GoogleCloudDocumentaiUiv1beta3AutoLabelDocumentsMetadataIndividualAutoLabelStatus" +}, +"type": "array" +}, +"totalDocumentCount": { +"description": "Total number of the auto-labeling documents.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiUiv1beta3AutoLabelDocumentsMetadataIndividualAutoLabelStatus": { +"description": "The status of individual documents in the auto-labeling process.", +"id": "GoogleCloudDocumentaiUiv1beta3AutoLabelDocumentsMetadataIndividualAutoLabelStatus", +"properties": { +"documentId": { +"$ref": "GoogleCloudDocumentaiUiv1beta3DocumentId", +"description": "The document id of the auto-labeled document. This will replace the gcs_uri." +}, +"status": { +"$ref": "GoogleRpcStatus", +"description": "The status of the document auto-labeling." +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiUiv1beta3AutoLabelDocumentsResponse": { +"description": "The response proto of AutoLabelDocuments method.", +"id": "GoogleCloudDocumentaiUiv1beta3AutoLabelDocumentsResponse", +"properties": {}, +"type": "object" +}, +"GoogleCloudDocumentaiUiv1beta3BatchDeleteDocumentsMetadata": { +"id": "GoogleCloudDocumentaiUiv1beta3BatchDeleteDocumentsMetadata", +"properties": { +"commonMetadata": { +"$ref": "GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata", +"description": "The basic metadata of the long-running operation." +}, +"errorDocumentCount": { +"description": "Total number of documents that failed to be deleted in storage.", +"format": "int32", +"type": "integer" +}, +"individualBatchDeleteStatuses": { +"description": "The list of response details of each document.", +"items": { +"$ref": "GoogleCloudDocumentaiUiv1beta3BatchDeleteDocumentsMetadataIndividualBatchDeleteStatus" +}, +"type": "array" +}, +"totalDocumentCount": { +"description": "Total number of documents deleting from dataset.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiUiv1beta3BatchDeleteDocumentsMetadataIndividualBatchDeleteStatus": { +"description": "The status of each individual document in the batch delete process.", +"id": "GoogleCloudDocumentaiUiv1beta3BatchDeleteDocumentsMetadataIndividualBatchDeleteStatus", +"properties": { +"documentId": { +"$ref": "GoogleCloudDocumentaiUiv1beta3DocumentId", +"description": "The document id of the document." +}, +"status": { +"$ref": "GoogleRpcStatus", +"description": "The status of deleting the document in storage." +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiUiv1beta3BatchDeleteDocumentsResponse": { +"description": "Response of the delete documents operation.", +"id": "GoogleCloudDocumentaiUiv1beta3BatchDeleteDocumentsResponse", +"properties": {}, +"type": "object" +}, +"GoogleCloudDocumentaiUiv1beta3BatchMoveDocumentsMetadata": { +"id": "GoogleCloudDocumentaiUiv1beta3BatchMoveDocumentsMetadata", +"properties": { +"commonMetadata": { +"$ref": "GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata", +"description": "The basic metadata of the long-running operation." +}, +"destDatasetType": { +"deprecated": true, +"description": "The destination dataset split type.", +"enum": [ +"DATASET_SPLIT_TYPE_UNSPECIFIED", +"DATASET_SPLIT_TRAIN", +"DATASET_SPLIT_TEST", +"DATASET_SPLIT_UNASSIGNED" +], +"enumDescriptions": [ +"Default value if the enum is not set.", +"Identifies the train documents.", +"Identifies the test documents.", +"Identifies the unassigned documents." +], +"type": "string" +}, +"destSplitType": { +"description": "The destination dataset split type.", +"enum": [ +"DATASET_SPLIT_TYPE_UNSPECIFIED", +"DATASET_SPLIT_TRAIN", +"DATASET_SPLIT_TEST", +"DATASET_SPLIT_UNASSIGNED" +], +"enumDescriptions": [ +"Default value if the enum is not set.", +"Identifies the train documents.", +"Identifies the test documents.", +"Identifies the unassigned documents." +], +"type": "string" +}, +"individualBatchMoveStatuses": { +"description": "The list of response details of each document.", +"items": { +"$ref": "GoogleCloudDocumentaiUiv1beta3BatchMoveDocumentsMetadataIndividualBatchMoveStatus" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiUiv1beta3BatchMoveDocumentsMetadataIndividualBatchMoveStatus": { +"description": "The status of each individual document in the batch move process.", +"id": "GoogleCloudDocumentaiUiv1beta3BatchMoveDocumentsMetadataIndividualBatchMoveStatus", +"properties": { +"documentId": { +"$ref": "GoogleCloudDocumentaiUiv1beta3DocumentId", +"description": "The document id of the document." +}, +"status": { +"$ref": "GoogleRpcStatus", +"description": "The status of moving the document." +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiUiv1beta3BatchMoveDocumentsResponse": { +"description": "Response of the batch move documents operation.", +"id": "GoogleCloudDocumentaiUiv1beta3BatchMoveDocumentsResponse", +"properties": {}, +"type": "object" +}, +"GoogleCloudDocumentaiUiv1beta3BatchUpdateDocumentsMetadata": { +"id": "GoogleCloudDocumentaiUiv1beta3BatchUpdateDocumentsMetadata", +"properties": { +"commonMetadata": { +"$ref": "GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata", +"description": "The basic metadata of the long-running operation." +}, +"individualBatchUpdateStatuses": { +"description": "The list of response details of each document.", +"items": { +"$ref": "GoogleCloudDocumentaiUiv1beta3BatchUpdateDocumentsMetadataIndividualBatchUpdateStatus" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiUiv1beta3BatchUpdateDocumentsMetadataIndividualBatchUpdateStatus": { +"description": "The status of each individual document in the batch update process.", +"id": "GoogleCloudDocumentaiUiv1beta3BatchUpdateDocumentsMetadataIndividualBatchUpdateStatus", +"properties": { +"documentId": { +"$ref": "GoogleCloudDocumentaiUiv1beta3DocumentId", +"description": "The document id of the document." +}, +"status": { +"$ref": "GoogleRpcStatus", +"description": "The status of updating the document in storage." +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiUiv1beta3BatchUpdateDocumentsResponse": { +"description": "Response of the batch update documents operation.", +"id": "GoogleCloudDocumentaiUiv1beta3BatchUpdateDocumentsResponse", +"properties": {}, +"type": "object" +}, +"GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata": { +"description": "The common metadata for long running operations.", +"id": "GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata", +"properties": { +"createTime": { +"description": "The creation time of the operation.", +"format": "google-datetime", +"type": "string" +}, +"resource": { +"description": "A related resource to this operation.", +"type": "string" +}, +"state": { +"description": "The state of the operation.", +"enum": [ +"STATE_UNSPECIFIED", +"RUNNING", +"CANCELLING", +"SUCCEEDED", +"FAILED", +"CANCELLED" +], +"enumDescriptions": [ +"Unspecified state.", +"Operation is still running.", +"Operation is being cancelled.", +"Operation succeeded.", +"Operation failed.", +"Operation is cancelled." +], +"type": "string" +}, +"stateMessage": { +"description": "A message providing more details about the current state of processing.", +"type": "string" +}, +"updateTime": { +"description": "The last update time of the operation.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiUiv1beta3CreateLabelerPoolOperationMetadata": { +"description": "The long-running operation metadata for the CreateLabelerPool method.", +"id": "GoogleCloudDocumentaiUiv1beta3CreateLabelerPoolOperationMetadata", +"properties": { +"commonMetadata": { +"$ref": "GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata", +"description": "The basic metadata of the long-running operation." +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiUiv1beta3DeleteLabelerPoolOperationMetadata": { +"description": "The long-running operation metadata for DeleteLabelerPool.", +"id": "GoogleCloudDocumentaiUiv1beta3DeleteLabelerPoolOperationMetadata", +"properties": { +"commonMetadata": { +"$ref": "GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata", +"description": "The basic metadata of the long-running operation." +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiUiv1beta3DeleteProcessorMetadata": { +"description": "The long-running operation metadata for the DeleteProcessor method.", +"id": "GoogleCloudDocumentaiUiv1beta3DeleteProcessorMetadata", +"properties": { +"commonMetadata": { +"$ref": "GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata", +"description": "The basic metadata of the long-running operation." +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiUiv1beta3DeleteProcessorVersionMetadata": { +"description": "The long-running operation metadata for the DeleteProcessorVersion method.", +"id": "GoogleCloudDocumentaiUiv1beta3DeleteProcessorVersionMetadata", +"properties": { +"commonMetadata": { +"$ref": "GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata", +"description": "The basic metadata of the long-running operation." +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiUiv1beta3DeployProcessorVersionMetadata": { +"description": "The long-running operation metadata for the DeployProcessorVersion method.", +"id": "GoogleCloudDocumentaiUiv1beta3DeployProcessorVersionMetadata", +"properties": { +"commonMetadata": { +"$ref": "GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata", +"description": "The basic metadata of the long-running operation." +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiUiv1beta3DeployProcessorVersionResponse": { +"description": "Response message for the DeployProcessorVersion method.", +"id": "GoogleCloudDocumentaiUiv1beta3DeployProcessorVersionResponse", +"properties": {}, +"type": "object" +}, +"GoogleCloudDocumentaiUiv1beta3DisableProcessorMetadata": { +"description": "The long-running operation metadata for the DisableProcessor method.", +"id": "GoogleCloudDocumentaiUiv1beta3DisableProcessorMetadata", +"properties": { +"commonMetadata": { +"$ref": "GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata", +"description": "The basic metadata of the long-running operation." +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiUiv1beta3DisableProcessorResponse": { +"description": "Response message for the DisableProcessor method. Intentionally empty proto for adding fields in future.", +"id": "GoogleCloudDocumentaiUiv1beta3DisableProcessorResponse", +"properties": {}, +"type": "object" +}, +"GoogleCloudDocumentaiUiv1beta3DocumentId": { +"description": "Document Identifier.", +"id": "GoogleCloudDocumentaiUiv1beta3DocumentId", +"properties": { +"gcsManagedDocId": { +"$ref": "GoogleCloudDocumentaiUiv1beta3DocumentIdGCSManagedDocumentId", +"description": "A document id within user-managed Cloud Storage." +}, +"revisionRef": { +"$ref": "GoogleCloudDocumentaiUiv1beta3RevisionRef", +"description": "Points to a specific revision of the document if set." +}, +"unmanagedDocId": { +"$ref": "GoogleCloudDocumentaiUiv1beta3DocumentIdUnmanagedDocumentId", +"description": "A document id within unmanaged dataset." +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiUiv1beta3DocumentIdGCSManagedDocumentId": { +"description": "Identifies a document uniquely within the scope of a dataset in the user-managed Cloud Storage option.", +"id": "GoogleCloudDocumentaiUiv1beta3DocumentIdGCSManagedDocumentId", +"properties": { +"cwDocId": { +"deprecated": true, +"description": "Id of the document (indexed) managed by Content Warehouse.", +"type": "string" +}, +"gcsUri": { +"description": "Required. The Cloud Storage URI where the actual document is stored.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiUiv1beta3DocumentIdUnmanagedDocumentId": { +"description": "Identifies a document uniquely within the scope of a dataset in unmanaged option.", +"id": "GoogleCloudDocumentaiUiv1beta3DocumentIdUnmanagedDocumentId", +"properties": { +"docId": { +"description": "Required. The id of the document.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiUiv1beta3EnableProcessorMetadata": { +"description": "The long-running operation metadata for the EnableProcessor method.", +"id": "GoogleCloudDocumentaiUiv1beta3EnableProcessorMetadata", +"properties": { +"commonMetadata": { +"$ref": "GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata", +"description": "The basic metadata of the long-running operation." +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiUiv1beta3EnableProcessorResponse": { +"description": "Response message for the EnableProcessor method. Intentionally empty proto for adding fields in future.", +"id": "GoogleCloudDocumentaiUiv1beta3EnableProcessorResponse", +"properties": {}, +"type": "object" +}, +"GoogleCloudDocumentaiUiv1beta3EvaluateProcessorVersionMetadata": { +"description": "Metadata of the EvaluateProcessorVersion method.", +"id": "GoogleCloudDocumentaiUiv1beta3EvaluateProcessorVersionMetadata", +"properties": { +"commonMetadata": { +"$ref": "GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata", +"description": "The basic metadata of the long-running operation." +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiUiv1beta3EvaluateProcessorVersionResponse": { +"description": "Response of the EvaluateProcessorVersion method.", +"id": "GoogleCloudDocumentaiUiv1beta3EvaluateProcessorVersionResponse", +"properties": { +"evaluation": { +"description": "The resource name of the created evaluation.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiUiv1beta3ExportDocumentsMetadata": { +"description": "Metadata of the batch export documents operation.", +"id": "GoogleCloudDocumentaiUiv1beta3ExportDocumentsMetadata", +"properties": { +"commonMetadata": { +"$ref": "GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata", +"description": "The basic metadata of the long-running operation." +}, +"individualExportStatuses": { +"description": "The list of response details of each document.", +"items": { +"$ref": "GoogleCloudDocumentaiUiv1beta3ExportDocumentsMetadataIndividualExportStatus" +}, +"type": "array" +}, +"splitExportStats": { +"description": "The list of statistics for each dataset split type.", +"items": { +"$ref": "GoogleCloudDocumentaiUiv1beta3ExportDocumentsMetadataSplitExportStat" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiUiv1beta3ExportDocumentsMetadataIndividualExportStatus": { +"description": "The status of each individual document in the export process.", +"id": "GoogleCloudDocumentaiUiv1beta3ExportDocumentsMetadataIndividualExportStatus", +"properties": { +"documentId": { +"$ref": "GoogleCloudDocumentaiUiv1beta3DocumentId", +"description": "The path to source docproto of the document." +}, +"outputGcsDestination": { +"description": "The output_gcs_destination of the exported document if it was successful, otherwise empty.", +"type": "string" +}, +"status": { +"$ref": "GoogleRpcStatus", +"description": "The status of the exporting of the document." +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiUiv1beta3ExportDocumentsMetadataSplitExportStat": { +"description": "The statistic representing a dataset split type for this export.", +"id": "GoogleCloudDocumentaiUiv1beta3ExportDocumentsMetadataSplitExportStat", +"properties": { +"splitType": { +"description": "The dataset split type.", +"enum": [ +"DATASET_SPLIT_TYPE_UNSPECIFIED", +"DATASET_SPLIT_TRAIN", +"DATASET_SPLIT_TEST", +"DATASET_SPLIT_UNASSIGNED" +], +"enumDescriptions": [ +"Default value if the enum is not set.", +"Identifies the train documents.", +"Identifies the test documents.", +"Identifies the unassigned documents." +], +"type": "string" +}, +"totalDocumentCount": { +"description": "Total number of documents with the given dataset split type to be exported.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiUiv1beta3ExportDocumentsResponse": { +"description": "The response proto of ExportDocuments method.", +"id": "GoogleCloudDocumentaiUiv1beta3ExportDocumentsResponse", +"properties": {}, +"type": "object" +}, +"GoogleCloudDocumentaiUiv1beta3ExportProcessorVersionMetadata": { +"description": "Metadata message associated with the ExportProcessorVersion operation.", +"id": "GoogleCloudDocumentaiUiv1beta3ExportProcessorVersionMetadata", +"properties": { +"commonMetadata": { +"$ref": "GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata", +"description": "The common metadata about the operation." +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiUiv1beta3ExportProcessorVersionResponse": { +"description": "Response message associated with the ExportProcessorVersion operation.", +"id": "GoogleCloudDocumentaiUiv1beta3ExportProcessorVersionResponse", +"properties": { +"gcsUri": { +"description": "The Cloud Storage URI containing the output artifacts.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiUiv1beta3ImportDocumentsMetadata": { +"description": "Metadata of the import document operation.", +"id": "GoogleCloudDocumentaiUiv1beta3ImportDocumentsMetadata", +"properties": { +"commonMetadata": { +"$ref": "GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata", +"description": "The basic metadata of the long-running operation." +}, +"importConfigValidationResults": { +"description": "Validation statuses of the batch documents import config.", +"items": { +"$ref": "GoogleCloudDocumentaiUiv1beta3ImportDocumentsMetadataImportConfigValidationResult" +}, +"type": "array" +}, +"individualImportStatuses": { +"description": "The list of response details of each document.", +"items": { +"$ref": "GoogleCloudDocumentaiUiv1beta3ImportDocumentsMetadataIndividualImportStatus" +}, +"type": "array" +}, +"totalDocumentCount": { +"description": "Total number of the documents that are qualified for importing.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiUiv1beta3ImportDocumentsMetadataImportConfigValidationResult": { +"description": "The validation status of each import config. Status is set to an error if there are no documents to import in the `import_config`, or `OK` if the operation will try to proceed with at least one document.", +"id": "GoogleCloudDocumentaiUiv1beta3ImportDocumentsMetadataImportConfigValidationResult", +"properties": { +"inputGcsSource": { +"description": "The source Cloud Storage URI specified in the import config.", +"type": "string" +}, +"status": { +"$ref": "GoogleRpcStatus", +"description": "The validation status of import config." +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiUiv1beta3ImportDocumentsMetadataIndividualImportStatus": { +"description": "The status of each individual document in the import process.", +"id": "GoogleCloudDocumentaiUiv1beta3ImportDocumentsMetadataIndividualImportStatus", +"properties": { +"inputGcsSource": { +"description": "The source Cloud Storage URI of the document.", +"type": "string" +}, +"outputDocumentId": { +"$ref": "GoogleCloudDocumentaiUiv1beta3DocumentId", +"description": "The document id of imported document if it was successful, otherwise empty." +}, +"outputGcsDestination": { +"description": "The output_gcs_destination of the processed document if it was successful, otherwise empty.", +"type": "string" +}, +"status": { +"$ref": "GoogleRpcStatus", +"description": "The status of the importing of the document." +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiUiv1beta3ImportDocumentsResponse": { +"description": "Response of the import document operation.", +"id": "GoogleCloudDocumentaiUiv1beta3ImportDocumentsResponse", +"properties": {}, +"type": "object" +}, +"GoogleCloudDocumentaiUiv1beta3ImportProcessorVersionMetadata": { +"description": "The long-running operation metadata for the ImportProcessorVersion method.", +"id": "GoogleCloudDocumentaiUiv1beta3ImportProcessorVersionMetadata", +"properties": { +"commonMetadata": { +"$ref": "GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata", +"description": "The basic metadata for the long-running operation." +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiUiv1beta3ImportProcessorVersionResponse": { +"description": "The response message for the ImportProcessorVersion method.", +"id": "GoogleCloudDocumentaiUiv1beta3ImportProcessorVersionResponse", +"properties": { +"processorVersion": { +"description": "The destination processor version name.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiUiv1beta3ResyncDatasetMetadata": { +"description": "The metadata proto of `ResyncDataset` method.", +"id": "GoogleCloudDocumentaiUiv1beta3ResyncDatasetMetadata", +"properties": { +"commonMetadata": { +"$ref": "GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata", +"description": "The basic metadata of the long-running operation." +}, +"datasetResyncStatuses": { +"description": "The list of dataset resync statuses. Not checked when ResyncDatasetRequest.dataset_documents is specified.", +"items": { +"$ref": "GoogleCloudDocumentaiUiv1beta3ResyncDatasetMetadataDatasetResyncStatus" +}, +"type": "array" +}, +"individualDocumentResyncStatuses": { +"description": "The list of document resync statuses. The same document could have multiple `individual_document_resync_statuses` if it has multiple inconsistencies.", +"items": { +"$ref": "GoogleCloudDocumentaiUiv1beta3ResyncDatasetMetadataIndividualDocumentResyncStatus" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiUiv1beta3ResyncDatasetMetadataDatasetResyncStatus": { +"description": "Resync status against inconsistency types on the dataset level.", +"id": "GoogleCloudDocumentaiUiv1beta3ResyncDatasetMetadataDatasetResyncStatus", +"properties": { +"datasetInconsistencyType": { +"description": "The type of the inconsistency of the dataset.", +"enum": [ +"DATASET_INCONSISTENCY_TYPE_UNSPECIFIED", +"DATASET_INCONSISTENCY_TYPE_NO_STORAGE_MARKER" +], +"enumDescriptions": [ +"Default value.", +"The marker file under the dataset folder is not found." +], +"type": "string" +}, +"status": { +"$ref": "GoogleRpcStatus", +"description": "The status of resyncing the dataset with regards to the detected inconsistency. Empty if ResyncDatasetRequest.validate_only is `true`." +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiUiv1beta3ResyncDatasetMetadataIndividualDocumentResyncStatus": { +"description": "Resync status for each document per inconsistency type.", +"id": "GoogleCloudDocumentaiUiv1beta3ResyncDatasetMetadataIndividualDocumentResyncStatus", +"properties": { +"documentId": { +"$ref": "GoogleCloudDocumentaiUiv1beta3DocumentId", +"description": "The document identifier." +}, +"documentInconsistencyType": { +"description": "The type of document inconsistency.", +"enum": [ +"DOCUMENT_INCONSISTENCY_TYPE_UNSPECIFIED", +"DOCUMENT_INCONSISTENCY_TYPE_INVALID_DOCPROTO", +"DOCUMENT_INCONSISTENCY_TYPE_MISMATCHED_METADATA", +"DOCUMENT_INCONSISTENCY_TYPE_NO_PAGE_IMAGE" +], +"enumDescriptions": [ +"Default value.", +"The document proto is invalid.", +"Indexed docproto metadata is mismatched.", +"The page image or thumbnails are missing." +], +"type": "string" +}, +"status": { +"$ref": "GoogleRpcStatus", +"description": "The status of resyncing the document with regards to the detected inconsistency. Empty if ResyncDatasetRequest.validate_only is `true`." +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiUiv1beta3ResyncDatasetResponse": { +"description": "The response proto of ResyncDataset method.", +"id": "GoogleCloudDocumentaiUiv1beta3ResyncDatasetResponse", +"properties": {}, +"type": "object" +}, +"GoogleCloudDocumentaiUiv1beta3RevisionRef": { +"description": "The revision reference specifies which revision on the document to read.", +"id": "GoogleCloudDocumentaiUiv1beta3RevisionRef", +"properties": { +"latestProcessorVersion": { +"description": "Reads the revision generated by the processor version. The format takes the full resource name of processor version. `projects/{project}/locations/{location}/processors/{processor}/processorVersions/{processorVersion}`", +"type": "string" +}, +"revisionCase": { +"description": "Reads the revision by the predefined case.", +"enum": [ +"REVISION_CASE_UNSPECIFIED", +"LATEST_HUMAN_REVIEW", +"LATEST_TIMESTAMP", +"BASE_OCR_REVISION" +], +"enumDescriptions": [ +"Unspecified case, fall back to read the `LATEST_HUMAN_REVIEW`.", +"The latest revision made by a human.", +"The latest revision based on timestamp.", +"The first (OCR) revision." +], +"type": "string" +}, +"revisionId": { +"description": "Reads the revision given by the id.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiUiv1beta3SampleDocumentsMetadata": { +"description": "Metadata of the sample documents operation.", +"id": "GoogleCloudDocumentaiUiv1beta3SampleDocumentsMetadata", +"properties": { +"commonMetadata": { +"$ref": "GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata", +"description": "The basic metadata of the long-running operation." +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiUiv1beta3SampleDocumentsResponse": { +"description": "Response of the sample documents operation.", +"id": "GoogleCloudDocumentaiUiv1beta3SampleDocumentsResponse", +"properties": { +"sampleTestStatus": { +"$ref": "GoogleRpcStatus", +"description": "The status of sampling documents in test split." +}, +"sampleTrainingStatus": { +"$ref": "GoogleRpcStatus", +"description": "The status of sampling documents in training split." +}, +"selectedDocuments": { +"description": "The result of the sampling process.", +"items": { +"$ref": "GoogleCloudDocumentaiUiv1beta3SampleDocumentsResponseSelectedDocument" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiUiv1beta3SampleDocumentsResponseSelectedDocument": { +"id": "GoogleCloudDocumentaiUiv1beta3SampleDocumentsResponseSelectedDocument", +"properties": { +"documentId": { +"description": "An internal identifier for document.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiUiv1beta3SetDefaultProcessorVersionMetadata": { +"description": "The long-running operation metadata for the SetDefaultProcessorVersion method.", +"id": "GoogleCloudDocumentaiUiv1beta3SetDefaultProcessorVersionMetadata", +"properties": { +"commonMetadata": { +"$ref": "GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata", +"description": "The basic metadata of the long-running operation." +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiUiv1beta3SetDefaultProcessorVersionResponse": { +"description": "Response message for the SetDefaultProcessorVersion method.", +"id": "GoogleCloudDocumentaiUiv1beta3SetDefaultProcessorVersionResponse", +"properties": {}, +"type": "object" +}, +"GoogleCloudDocumentaiUiv1beta3TrainProcessorVersionMetadata": { +"description": "The metadata that represents a processor version being created.", +"id": "GoogleCloudDocumentaiUiv1beta3TrainProcessorVersionMetadata", +"properties": { +"commonMetadata": { +"$ref": "GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata", +"description": "The basic metadata of the long-running operation." +}, +"testDatasetValidation": { +"$ref": "GoogleCloudDocumentaiUiv1beta3TrainProcessorVersionMetadataDatasetValidation", +"description": "The test dataset validation information." +}, +"trainingDatasetValidation": { +"$ref": "GoogleCloudDocumentaiUiv1beta3TrainProcessorVersionMetadataDatasetValidation", +"description": "The training dataset validation information." +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiUiv1beta3TrainProcessorVersionMetadataDatasetValidation": { +"description": "The dataset validation information. This includes any and all errors with documents and the dataset.", +"id": "GoogleCloudDocumentaiUiv1beta3TrainProcessorVersionMetadataDatasetValidation", +"properties": { +"datasetErrorCount": { +"description": "The total number of dataset errors.", +"format": "int32", +"type": "integer" +}, +"datasetErrors": { +"description": "Error information for the dataset as a whole. A maximum of 10 dataset errors will be returned. A single dataset error is terminal for training.", +"items": { +"$ref": "GoogleRpcStatus" +}, +"type": "array" +}, +"documentErrorCount": { +"description": "The total number of document errors.", +"format": "int32", +"type": "integer" +}, +"documentErrors": { +"description": "Error information pertaining to specific documents. A maximum of 10 document errors will be returned. Any document with errors will not be used throughout training.", +"items": { +"$ref": "GoogleRpcStatus" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiUiv1beta3TrainProcessorVersionResponse": { +"description": "The response for TrainProcessorVersion.", +"id": "GoogleCloudDocumentaiUiv1beta3TrainProcessorVersionResponse", +"properties": { +"processorVersion": { +"description": "The resource name of the processor version produced by training.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiUiv1beta3UndeployProcessorVersionMetadata": { +"description": "The long-running operation metadata for the UndeployProcessorVersion method.", +"id": "GoogleCloudDocumentaiUiv1beta3UndeployProcessorVersionMetadata", +"properties": { +"commonMetadata": { +"$ref": "GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata", +"description": "The basic metadata of the long-running operation." +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiUiv1beta3UndeployProcessorVersionResponse": { +"description": "Response message for the UndeployProcessorVersion method.", +"id": "GoogleCloudDocumentaiUiv1beta3UndeployProcessorVersionResponse", +"properties": {}, +"type": "object" +}, +"GoogleCloudDocumentaiUiv1beta3UpdateDatasetOperationMetadata": { +"id": "GoogleCloudDocumentaiUiv1beta3UpdateDatasetOperationMetadata", +"properties": { +"commonMetadata": { +"$ref": "GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata", +"description": "The basic metadata of the long-running operation." +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiUiv1beta3UpdateHumanReviewConfigMetadata": { +"description": "The long-running operation metadata for updating the human review configuration.", +"id": "GoogleCloudDocumentaiUiv1beta3UpdateHumanReviewConfigMetadata", +"properties": { +"commonMetadata": { +"$ref": "GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata", +"description": "The basic metadata of the long-running operation." +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiUiv1beta3UpdateLabelerPoolOperationMetadata": { +"description": "The long-running operation metadata for UpdateLabelerPool.", +"id": "GoogleCloudDocumentaiUiv1beta3UpdateLabelerPoolOperationMetadata", +"properties": { +"commonMetadata": { +"$ref": "GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata", +"description": "The basic metadata of the long-running operation." +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1BatchProcessMetadata": { +"description": "The long-running operation metadata for BatchProcessDocuments.", +"id": "GoogleCloudDocumentaiV1BatchProcessMetadata", +"properties": { +"createTime": { +"description": "The creation time of the operation.", +"format": "google-datetime", +"type": "string" +}, +"individualProcessStatuses": { +"description": "The list of response details of each document.", +"items": { +"$ref": "GoogleCloudDocumentaiV1BatchProcessMetadataIndividualProcessStatus" +}, +"type": "array" +}, +"state": { +"description": "The state of the current batch processing.", +"enum": [ +"STATE_UNSPECIFIED", +"WAITING", +"RUNNING", +"SUCCEEDED", +"CANCELLING", +"CANCELLED", +"FAILED" +], +"enumDescriptions": [ +"The default value. This value is used if the state is omitted.", +"Request operation is waiting for scheduling.", +"Request is being processed.", +"The batch processing completed successfully.", +"The batch processing was being cancelled.", +"The batch processing was cancelled.", +"The batch processing has failed." +], +"type": "string" +}, +"stateMessage": { +"description": "A message providing more details about the current state of processing. For example, the error message if the operation is failed.", +"type": "string" +}, +"updateTime": { +"description": "The last update time of the operation.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1BatchProcessMetadataIndividualProcessStatus": { +"description": "The status of a each individual document in the batch process.", +"id": "GoogleCloudDocumentaiV1BatchProcessMetadataIndividualProcessStatus", +"properties": { +"humanReviewStatus": { +"$ref": "GoogleCloudDocumentaiV1HumanReviewStatus", +"description": "The status of human review on the processed document." +}, +"inputGcsSource": { +"description": "The source of the document, same as the input_gcs_source field in the request when the batch process started.", +"type": "string" +}, +"outputGcsDestination": { +"description": "The Cloud Storage output destination (in the request as DocumentOutputConfig.GcsOutputConfig.gcs_uri) of the processed document if it was successful, otherwise empty.", +"type": "string" +}, +"status": { +"$ref": "GoogleRpcStatus", +"description": "The status processing the document." +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1BatchProcessResponse": { +"description": "Response message for BatchProcessDocuments.", +"id": "GoogleCloudDocumentaiV1BatchProcessResponse", +"properties": {}, +"type": "object" +}, +"GoogleCloudDocumentaiV1CommonOperationMetadata": { +"description": "The common metadata for long running operations.", +"id": "GoogleCloudDocumentaiV1CommonOperationMetadata", +"properties": { +"createTime": { +"description": "The creation time of the operation.", +"format": "google-datetime", +"type": "string" +}, +"resource": { +"description": "A related resource to this operation.", +"type": "string" +}, +"state": { +"description": "The state of the operation.", +"enum": [ +"STATE_UNSPECIFIED", +"RUNNING", +"CANCELLING", +"SUCCEEDED", +"FAILED", +"CANCELLED" +], +"enumDescriptions": [ +"Unspecified state.", +"Operation is still running.", +"Operation is being cancelled.", +"Operation succeeded.", +"Operation failed.", +"Operation is cancelled." +], +"type": "string" +}, +"stateMessage": { +"description": "A message providing more details about the current state of processing.", +"type": "string" +}, +"updateTime": { +"description": "The last update time of the operation.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1DeleteProcessorMetadata": { +"description": "The long-running operation metadata for the DeleteProcessor method.", +"id": "GoogleCloudDocumentaiV1DeleteProcessorMetadata", +"properties": { +"commonMetadata": { +"$ref": "GoogleCloudDocumentaiV1CommonOperationMetadata", +"description": "The basic metadata of the long-running operation." +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1DeleteProcessorVersionMetadata": { +"description": "The long-running operation metadata for the DeleteProcessorVersion method.", +"id": "GoogleCloudDocumentaiV1DeleteProcessorVersionMetadata", +"properties": { +"commonMetadata": { +"$ref": "GoogleCloudDocumentaiV1CommonOperationMetadata", +"description": "The basic metadata of the long-running operation." +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1DeployProcessorVersionMetadata": { +"description": "The long-running operation metadata for the DeployProcessorVersion method.", +"id": "GoogleCloudDocumentaiV1DeployProcessorVersionMetadata", +"properties": { +"commonMetadata": { +"$ref": "GoogleCloudDocumentaiV1CommonOperationMetadata", +"description": "The basic metadata of the long-running operation." +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1DeployProcessorVersionResponse": { +"description": "Response message for the DeployProcessorVersion method.", +"id": "GoogleCloudDocumentaiV1DeployProcessorVersionResponse", +"properties": {}, +"type": "object" +}, +"GoogleCloudDocumentaiV1DisableProcessorMetadata": { +"description": "The long-running operation metadata for the DisableProcessor method.", +"id": "GoogleCloudDocumentaiV1DisableProcessorMetadata", +"properties": { +"commonMetadata": { +"$ref": "GoogleCloudDocumentaiV1CommonOperationMetadata", +"description": "The basic metadata of the long-running operation." +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1DisableProcessorResponse": { +"description": "Response message for the DisableProcessor method. Intentionally empty proto for adding fields in future.", +"id": "GoogleCloudDocumentaiV1DisableProcessorResponse", +"properties": {}, +"type": "object" +}, +"GoogleCloudDocumentaiV1EnableProcessorMetadata": { +"description": "The long-running operation metadata for the EnableProcessor method.", +"id": "GoogleCloudDocumentaiV1EnableProcessorMetadata", +"properties": { +"commonMetadata": { +"$ref": "GoogleCloudDocumentaiV1CommonOperationMetadata", +"description": "The basic metadata of the long-running operation." +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1EnableProcessorResponse": { +"description": "Response message for the EnableProcessor method. Intentionally empty proto for adding fields in future.", +"id": "GoogleCloudDocumentaiV1EnableProcessorResponse", +"properties": {}, +"type": "object" +}, +"GoogleCloudDocumentaiV1EvaluateProcessorVersionMetadata": { +"description": "Metadata of the EvaluateProcessorVersion method.", +"id": "GoogleCloudDocumentaiV1EvaluateProcessorVersionMetadata", +"properties": { +"commonMetadata": { +"$ref": "GoogleCloudDocumentaiV1CommonOperationMetadata", +"description": "The basic metadata of the long-running operation." +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1EvaluateProcessorVersionResponse": { +"description": "Response of the EvaluateProcessorVersion method.", +"id": "GoogleCloudDocumentaiV1EvaluateProcessorVersionResponse", +"properties": { +"evaluation": { +"description": "The resource name of the created evaluation.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1HumanReviewStatus": { +"description": "The status of human review on a processed document.", +"id": "GoogleCloudDocumentaiV1HumanReviewStatus", +"properties": { +"humanReviewOperation": { +"description": "The name of the operation triggered by the processed document. This field is populated only when the state is `HUMAN_REVIEW_IN_PROGRESS`. It has the same response type and metadata as the long-running operation returned by ReviewDocument.", +"type": "string" +}, +"state": { +"description": "The state of human review on the processing request.", +"enum": [ +"STATE_UNSPECIFIED", +"SKIPPED", +"VALIDATION_PASSED", +"IN_PROGRESS", +"ERROR" +], +"enumDescriptions": [ +"Human review state is unspecified. Most likely due to an internal error.", +"Human review is skipped for the document. This can happen because human review isn't enabled on the processor or the processing request has been set to skip this document.", +"Human review validation is triggered and passed, so no review is needed.", +"Human review validation is triggered and the document is under review.", +"Some error happened during triggering human review, see the state_message for details." +], +"type": "string" +}, +"stateMessage": { +"description": "A message providing more details about the human review state.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1ReviewDocumentOperationMetadata": { +"description": "The long-running operation metadata for the ReviewDocument method.", +"id": "GoogleCloudDocumentaiV1ReviewDocumentOperationMetadata", +"properties": { +"commonMetadata": { +"$ref": "GoogleCloudDocumentaiV1CommonOperationMetadata", +"description": "The basic metadata of the long-running operation." +}, +"questionId": { +"description": "The Crowd Compute question ID.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1ReviewDocumentResponse": { +"description": "Response message for the ReviewDocument method.", +"id": "GoogleCloudDocumentaiV1ReviewDocumentResponse", +"properties": { +"gcsDestination": { +"description": "The Cloud Storage uri for the human reviewed document if the review is succeeded.", +"type": "string" +}, +"rejectionReason": { +"description": "The reason why the review is rejected by reviewer.", +"type": "string" +}, +"state": { +"description": "The state of the review operation.", +"enum": [ +"STATE_UNSPECIFIED", +"REJECTED", +"SUCCEEDED" +], +"enumDescriptions": [ +"The default value. This value is used if the state is omitted.", +"The review operation is rejected by the reviewer.", +"The review operation is succeeded." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1SetDefaultProcessorVersionMetadata": { +"description": "The long-running operation metadata for the SetDefaultProcessorVersion method.", +"id": "GoogleCloudDocumentaiV1SetDefaultProcessorVersionMetadata", +"properties": { +"commonMetadata": { +"$ref": "GoogleCloudDocumentaiV1CommonOperationMetadata", +"description": "The basic metadata of the long-running operation." +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1SetDefaultProcessorVersionResponse": { +"description": "Response message for the SetDefaultProcessorVersion method.", +"id": "GoogleCloudDocumentaiV1SetDefaultProcessorVersionResponse", +"properties": {}, +"type": "object" +}, +"GoogleCloudDocumentaiV1TrainProcessorVersionMetadata": { +"description": "The metadata that represents a processor version being created.", +"id": "GoogleCloudDocumentaiV1TrainProcessorVersionMetadata", +"properties": { +"commonMetadata": { +"$ref": "GoogleCloudDocumentaiV1CommonOperationMetadata", +"description": "The basic metadata of the long-running operation." +}, +"testDatasetValidation": { +"$ref": "GoogleCloudDocumentaiV1TrainProcessorVersionMetadataDatasetValidation", +"description": "The test dataset validation information." +}, +"trainingDatasetValidation": { +"$ref": "GoogleCloudDocumentaiV1TrainProcessorVersionMetadataDatasetValidation", +"description": "The training dataset validation information." +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1TrainProcessorVersionMetadataDatasetValidation": { +"description": "The dataset validation information. This includes any and all errors with documents and the dataset.", +"id": "GoogleCloudDocumentaiV1TrainProcessorVersionMetadataDatasetValidation", +"properties": { +"datasetErrorCount": { +"description": "The total number of dataset errors.", +"format": "int32", +"type": "integer" +}, +"datasetErrors": { +"description": "Error information for the dataset as a whole. A maximum of 10 dataset errors will be returned. A single dataset error is terminal for training.", +"items": { +"$ref": "GoogleRpcStatus" +}, +"type": "array" +}, +"documentErrorCount": { +"description": "The total number of document errors.", +"format": "int32", +"type": "integer" +}, +"documentErrors": { +"description": "Error information pertaining to specific documents. A maximum of 10 document errors will be returned. Any document with errors will not be used throughout training.", +"items": { +"$ref": "GoogleRpcStatus" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1TrainProcessorVersionResponse": { +"description": "The response for TrainProcessorVersion.", +"id": "GoogleCloudDocumentaiV1TrainProcessorVersionResponse", +"properties": { +"processorVersion": { +"description": "The resource name of the processor version produced by training.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1UndeployProcessorVersionMetadata": { +"description": "The long-running operation metadata for the UndeployProcessorVersion method.", +"id": "GoogleCloudDocumentaiV1UndeployProcessorVersionMetadata", +"properties": { +"commonMetadata": { +"$ref": "GoogleCloudDocumentaiV1CommonOperationMetadata", +"description": "The basic metadata of the long-running operation." +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1UndeployProcessorVersionResponse": { +"description": "Response message for the UndeployProcessorVersion method.", +"id": "GoogleCloudDocumentaiV1UndeployProcessorVersionResponse", +"properties": {}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta1Barcode": { +"description": "Encodes the detailed information of a barcode.", +"id": "GoogleCloudDocumentaiV1beta1Barcode", +"properties": { +"format": { +"description": "Format of a barcode. The supported formats are: - `CODE_128`: Code 128 type. - `CODE_39`: Code 39 type. - `CODE_93`: Code 93 type. - `CODABAR`: Codabar type. - `DATA_MATRIX`: 2D Data Matrix type. - `ITF`: ITF type. - `EAN_13`: EAN-13 type. - `EAN_8`: EAN-8 type. - `QR_CODE`: 2D QR code type. - `UPC_A`: UPC-A type. - `UPC_E`: UPC-E type. - `PDF417`: PDF417 type. - `AZTEC`: 2D Aztec code type. - `DATABAR`: GS1 DataBar code type.", +"type": "string" +}, +"rawValue": { +"description": "Raw value encoded in the barcode. For example: `'MEBKM:TITLE:Google;URL:https://www.google.com;;'`.", +"type": "string" +}, +"valueFormat": { +"description": "Value format describes the format of the value that a barcode encodes. The supported formats are: - `CONTACT_INFO`: Contact information. - `EMAIL`: Email address. - `ISBN`: ISBN identifier. - `PHONE`: Phone number. - `PRODUCT`: Product. - `SMS`: SMS message. - `TEXT`: Text string. - `URL`: URL address. - `WIFI`: Wifi information. - `GEO`: Geo-localization. - `CALENDAR_EVENT`: Calendar event. - `DRIVER_LICENSE`: Driver's license.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta1BatchProcessDocumentsResponse": { +"description": "Response to an batch document processing request. This is returned in the LRO Operation after the operation is complete.", +"id": "GoogleCloudDocumentaiV1beta1BatchProcessDocumentsResponse", +"properties": { +"responses": { +"description": "Responses for each individual document.", +"items": { +"$ref": "GoogleCloudDocumentaiV1beta1ProcessDocumentResponse" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta1BoundingPoly": { +"description": "A bounding polygon for the detected image annotation.", +"id": "GoogleCloudDocumentaiV1beta1BoundingPoly", +"properties": { +"normalizedVertices": { +"description": "The bounding polygon normalized vertices.", +"items": { +"$ref": "GoogleCloudDocumentaiV1beta1NormalizedVertex" +}, +"type": "array" +}, +"vertices": { +"description": "The bounding polygon vertices.", +"items": { +"$ref": "GoogleCloudDocumentaiV1beta1Vertex" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta1Document": { +"description": "Document represents the canonical document resource in Document AI. It is an interchange format that provides insights into documents and allows for collaboration between users and Document AI to iterate and optimize for quality.", +"id": "GoogleCloudDocumentaiV1beta1Document", +"properties": { +"chunkedDocument": { +"$ref": "GoogleCloudDocumentaiV1beta1DocumentChunkedDocument", +"description": "Document chunked based on chunking config." +}, +"content": { +"description": "Optional. Inline document content, represented as a stream of bytes. Note: As with all `bytes` fields, protobuffers use a pure binary representation, whereas JSON representations use base64.", +"format": "byte", +"type": "string" +}, +"documentLayout": { +"$ref": "GoogleCloudDocumentaiV1beta1DocumentDocumentLayout", +"description": "Parsed layout of the document." +}, +"entities": { +"description": "A list of entities detected on Document.text. For document shards, entities in this list may cross shard boundaries.", +"items": { +"$ref": "GoogleCloudDocumentaiV1beta1DocumentEntity" +}, +"type": "array" +}, +"entityRelations": { +"description": "Placeholder. Relationship among Document.entities.", +"items": { +"$ref": "GoogleCloudDocumentaiV1beta1DocumentEntityRelation" +}, +"type": "array" +}, +"error": { +"$ref": "GoogleRpcStatus", +"description": "Any error that occurred while processing this document." +}, +"mimeType": { +"description": "An IANA published [media type (MIME type)](https://www.iana.org/assignments/media-types/media-types.xhtml).", +"type": "string" +}, +"pages": { +"description": "Visual page layout for the Document.", +"items": { +"$ref": "GoogleCloudDocumentaiV1beta1DocumentPage" +}, +"type": "array" +}, +"revisions": { +"description": "Placeholder. Revision history of this document.", +"items": { +"$ref": "GoogleCloudDocumentaiV1beta1DocumentRevision" +}, +"type": "array" +}, +"shardInfo": { +"$ref": "GoogleCloudDocumentaiV1beta1DocumentShardInfo", +"description": "Information about the sharding if this document is sharded part of a larger document. If the document is not sharded, this message is not specified." +}, +"text": { +"description": "Optional. UTF-8 encoded text in reading order from the document.", +"type": "string" +}, +"textChanges": { +"description": "Placeholder. A list of text corrections made to Document.text. This is usually used for annotating corrections to OCR mistakes. Text changes for a given revision may not overlap with each other.", +"items": { +"$ref": "GoogleCloudDocumentaiV1beta1DocumentTextChange" +}, +"type": "array" +}, +"textStyles": { +"deprecated": true, +"description": "Styles for the Document.text.", +"items": { +"$ref": "GoogleCloudDocumentaiV1beta1DocumentStyle" +}, +"type": "array" +}, +"uri": { +"description": "Optional. Currently supports Google Cloud Storage URI of the form `gs://bucket_name/object_name`. Object versioning is not supported. For more information, refer to [Google Cloud Storage Request URIs](https://cloud.google.com/storage/docs/reference-uris).", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta1DocumentChunkedDocument": { +"description": "Represents the chunks that the document is divided into.", +"id": "GoogleCloudDocumentaiV1beta1DocumentChunkedDocument", +"properties": { +"chunks": { +"description": "List of chunks.", +"items": { +"$ref": "GoogleCloudDocumentaiV1beta1DocumentChunkedDocumentChunk" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta1DocumentChunkedDocumentChunk": { +"description": "Represents a chunk.", +"id": "GoogleCloudDocumentaiV1beta1DocumentChunkedDocumentChunk", +"properties": { +"chunkId": { +"description": "ID of the chunk.", +"type": "string" +}, +"content": { +"description": "Text content of the chunk.", +"type": "string" +}, +"pageFooters": { +"description": "Page footers associated with the chunk.", +"items": { +"$ref": "GoogleCloudDocumentaiV1beta1DocumentChunkedDocumentChunkChunkPageFooter" +}, +"type": "array" +}, +"pageHeaders": { +"description": "Page headers associated with the chunk.", +"items": { +"$ref": "GoogleCloudDocumentaiV1beta1DocumentChunkedDocumentChunkChunkPageHeader" +}, +"type": "array" +}, +"pageSpan": { +"$ref": "GoogleCloudDocumentaiV1beta1DocumentChunkedDocumentChunkChunkPageSpan", +"description": "Page span of the chunk." +}, +"sourceBlockIds": { +"description": "Unused.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta1DocumentChunkedDocumentChunkChunkPageFooter": { +"description": "Represents the page footer associated with the chunk.", +"id": "GoogleCloudDocumentaiV1beta1DocumentChunkedDocumentChunkChunkPageFooter", +"properties": { +"pageSpan": { +"$ref": "GoogleCloudDocumentaiV1beta1DocumentChunkedDocumentChunkChunkPageSpan", +"description": "Page span of the footer." +}, +"text": { +"description": "Footer in text format.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta1DocumentChunkedDocumentChunkChunkPageHeader": { +"description": "Represents the page header associated with the chunk.", +"id": "GoogleCloudDocumentaiV1beta1DocumentChunkedDocumentChunkChunkPageHeader", +"properties": { +"pageSpan": { +"$ref": "GoogleCloudDocumentaiV1beta1DocumentChunkedDocumentChunkChunkPageSpan", +"description": "Page span of the header." +}, +"text": { +"description": "Header in text format.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta1DocumentChunkedDocumentChunkChunkPageSpan": { +"description": "Represents where the chunk starts and ends in the document.", +"id": "GoogleCloudDocumentaiV1beta1DocumentChunkedDocumentChunkChunkPageSpan", +"properties": { +"pageEnd": { +"description": "Page where chunk ends in the document.", +"format": "int32", +"type": "integer" +}, +"pageStart": { +"description": "Page where chunk starts in the document.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta1DocumentDocumentLayout": { +"description": "Represents the parsed layout of a document as a collection of blocks that the document is divided into.", +"id": "GoogleCloudDocumentaiV1beta1DocumentDocumentLayout", +"properties": { +"blocks": { +"description": "List of blocks in the document.", +"items": { +"$ref": "GoogleCloudDocumentaiV1beta1DocumentDocumentLayoutDocumentLayoutBlock" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta1DocumentDocumentLayoutDocumentLayoutBlock": { +"description": "Represents a block. A block could be one of the various types (text, table, list) supported.", +"id": "GoogleCloudDocumentaiV1beta1DocumentDocumentLayoutDocumentLayoutBlock", +"properties": { +"blockId": { +"description": "ID of the block.", +"type": "string" +}, +"listBlock": { +"$ref": "GoogleCloudDocumentaiV1beta1DocumentDocumentLayoutDocumentLayoutBlockLayoutListBlock", +"description": "Block consisting of list content/structure." +}, +"pageSpan": { +"$ref": "GoogleCloudDocumentaiV1beta1DocumentDocumentLayoutDocumentLayoutBlockLayoutPageSpan", +"description": "Page span of the block." +}, +"tableBlock": { +"$ref": "GoogleCloudDocumentaiV1beta1DocumentDocumentLayoutDocumentLayoutBlockLayoutTableBlock", +"description": "Block consisting of table content/structure." +}, +"textBlock": { +"$ref": "GoogleCloudDocumentaiV1beta1DocumentDocumentLayoutDocumentLayoutBlockLayoutTextBlock", +"description": "Block consisting of text content." +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta1DocumentDocumentLayoutDocumentLayoutBlockLayoutListBlock": { +"description": "Represents a list type block.", +"id": "GoogleCloudDocumentaiV1beta1DocumentDocumentLayoutDocumentLayoutBlockLayoutListBlock", +"properties": { +"listEntries": { +"description": "List entries that constitute a list block.", +"items": { +"$ref": "GoogleCloudDocumentaiV1beta1DocumentDocumentLayoutDocumentLayoutBlockLayoutListEntry" +}, +"type": "array" +}, +"type": { +"description": "Type of the list_entries (if exist). Available options are `ordered` and `unordered`.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta1DocumentDocumentLayoutDocumentLayoutBlockLayoutListEntry": { +"description": "Represents an entry in the list.", +"id": "GoogleCloudDocumentaiV1beta1DocumentDocumentLayoutDocumentLayoutBlockLayoutListEntry", +"properties": { +"blocks": { +"description": "A list entry is a list of blocks. Repeated blocks support further hierarchies and nested blocks.", +"items": { +"$ref": "GoogleCloudDocumentaiV1beta1DocumentDocumentLayoutDocumentLayoutBlock" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta1DocumentDocumentLayoutDocumentLayoutBlockLayoutPageSpan": { +"description": "Represents where the block starts and ends in the document.", +"id": "GoogleCloudDocumentaiV1beta1DocumentDocumentLayoutDocumentLayoutBlockLayoutPageSpan", +"properties": { +"pageEnd": { +"description": "Page where block ends in the document.", +"format": "int32", +"type": "integer" +}, +"pageStart": { +"description": "Page where block starts in the document.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta1DocumentDocumentLayoutDocumentLayoutBlockLayoutTableBlock": { +"description": "Represents a table type block.", +"id": "GoogleCloudDocumentaiV1beta1DocumentDocumentLayoutDocumentLayoutBlockLayoutTableBlock", +"properties": { +"bodyRows": { +"description": "Body rows containing main table content.", +"items": { +"$ref": "GoogleCloudDocumentaiV1beta1DocumentDocumentLayoutDocumentLayoutBlockLayoutTableRow" +}, +"type": "array" +}, +"caption": { +"description": "Table caption/title.", +"type": "string" +}, +"headerRows": { +"description": "Header rows at the top of the table.", +"items": { +"$ref": "GoogleCloudDocumentaiV1beta1DocumentDocumentLayoutDocumentLayoutBlockLayoutTableRow" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta1DocumentDocumentLayoutDocumentLayoutBlockLayoutTableCell": { +"description": "Represents a cell in a table row.", +"id": "GoogleCloudDocumentaiV1beta1DocumentDocumentLayoutDocumentLayoutBlockLayoutTableCell", +"properties": { +"blocks": { +"description": "A table cell is a list of blocks. Repeated blocks support further hierarchies and nested blocks.", +"items": { +"$ref": "GoogleCloudDocumentaiV1beta1DocumentDocumentLayoutDocumentLayoutBlock" +}, +"type": "array" +}, +"colSpan": { +"description": "How many columns this cell spans.", +"format": "int32", +"type": "integer" +}, +"rowSpan": { +"description": "How many rows this cell spans.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta1DocumentDocumentLayoutDocumentLayoutBlockLayoutTableRow": { +"description": "Represents a row in a table.", +"id": "GoogleCloudDocumentaiV1beta1DocumentDocumentLayoutDocumentLayoutBlockLayoutTableRow", +"properties": { +"cells": { +"description": "A table row is a list of table cells.", +"items": { +"$ref": "GoogleCloudDocumentaiV1beta1DocumentDocumentLayoutDocumentLayoutBlockLayoutTableCell" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta1DocumentDocumentLayoutDocumentLayoutBlockLayoutTextBlock": { +"description": "Represents a text type block.", +"id": "GoogleCloudDocumentaiV1beta1DocumentDocumentLayoutDocumentLayoutBlockLayoutTextBlock", +"properties": { +"blocks": { +"description": "A text block could further have child blocks. Repeated blocks support further hierarchies and nested blocks.", +"items": { +"$ref": "GoogleCloudDocumentaiV1beta1DocumentDocumentLayoutDocumentLayoutBlock" +}, +"type": "array" +}, +"text": { +"description": "Text content stored in the block.", +"type": "string" +}, +"type": { +"description": "Type of the text in the block. Available options are: `paragraph`, `subtitle`, `heading-1`, `heading-2`, `heading-3`, `heading-4`, `heading-5`, `header`, `footer`.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta1DocumentEntity": { +"description": "An entity that could be a phrase in the text or a property that belongs to the document. It is a known entity type, such as a person, an organization, or location.", +"id": "GoogleCloudDocumentaiV1beta1DocumentEntity", +"properties": { +"confidence": { +"description": "Optional. Confidence of detected Schema entity. Range `[0, 1]`.", +"format": "float", +"type": "number" +}, +"id": { +"description": "Optional. Canonical id. This will be a unique value in the entity list for this document.", +"type": "string" +}, +"mentionId": { +"description": "Optional. Deprecated. Use `id` field instead.", +"type": "string" +}, +"mentionText": { +"description": "Optional. Text value of the entity e.g. `1600 Amphitheatre Pkwy`.", +"type": "string" +}, +"normalizedValue": { +"$ref": "GoogleCloudDocumentaiV1beta1DocumentEntityNormalizedValue", +"description": "Optional. Normalized entity value. Absent if the extracted value could not be converted or the type (e.g. address) is not supported for certain parsers. This field is also only populated for certain supported document types." +}, +"pageAnchor": { +"$ref": "GoogleCloudDocumentaiV1beta1DocumentPageAnchor", +"description": "Optional. Represents the provenance of this entity wrt. the location on the page where it was found." +}, +"properties": { +"description": "Optional. Entities can be nested to form a hierarchical data structure representing the content in the document.", +"items": { +"$ref": "GoogleCloudDocumentaiV1beta1DocumentEntity" +}, +"type": "array" +}, +"provenance": { +"$ref": "GoogleCloudDocumentaiV1beta1DocumentProvenance", +"description": "Optional. The history of this annotation." +}, +"redacted": { +"description": "Optional. Whether the entity will be redacted for de-identification purposes.", +"type": "boolean" +}, +"textAnchor": { +"$ref": "GoogleCloudDocumentaiV1beta1DocumentTextAnchor", +"description": "Optional. Provenance of the entity. Text anchor indexing into the Document.text." +}, +"type": { +"description": "Required. Entity type from a schema e.g. `Address`.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta1DocumentEntityNormalizedValue": { +"description": "Parsed and normalized entity value.", +"id": "GoogleCloudDocumentaiV1beta1DocumentEntityNormalizedValue", +"properties": { +"addressValue": { +"$ref": "GoogleTypePostalAddress", +"description": "Postal address. See also: https://github.com/googleapis/googleapis/blob/master/google/type/postal_address.proto" +}, +"booleanValue": { +"description": "Boolean value. Can be used for entities with binary values, or for checkboxes.", +"type": "boolean" +}, +"dateValue": { +"$ref": "GoogleTypeDate", +"description": "Date value. Includes year, month, day. See also: https://github.com/googleapis/googleapis/blob/master/google/type/date.proto" +}, +"datetimeValue": { +"$ref": "GoogleTypeDateTime", +"description": "DateTime value. Includes date, time, and timezone. See also: https://github.com/googleapis/googleapis/blob/master/google/type/datetime.proto" +}, +"floatValue": { +"description": "Float value.", +"format": "float", +"type": "number" +}, +"integerValue": { +"description": "Integer value.", +"format": "int32", +"type": "integer" +}, +"moneyValue": { +"$ref": "GoogleTypeMoney", +"description": "Money value. See also: https://github.com/googleapis/googleapis/blob/master/google/type/money.proto" +}, +"text": { +"description": "Optional. An optional field to store a normalized string. For some entity types, one of respective `structured_value` fields may also be populated. Also not all the types of `structured_value` will be normalized. For example, some processors may not generate `float` or `integer` normalized text by default. Below are sample formats mapped to structured values. - Money/Currency type (`money_value`) is in the ISO 4217 text format. - Date type (`date_value`) is in the ISO 8601 text format. - Datetime type (`datetime_value`) is in the ISO 8601 text format.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta1DocumentEntityRelation": { +"description": "Relationship between Entities.", +"id": "GoogleCloudDocumentaiV1beta1DocumentEntityRelation", +"properties": { +"objectId": { +"description": "Object entity id.", +"type": "string" +}, +"relation": { +"description": "Relationship description.", +"type": "string" +}, +"subjectId": { +"description": "Subject entity id.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta1DocumentPage": { +"description": "A page in a Document.", +"id": "GoogleCloudDocumentaiV1beta1DocumentPage", +"properties": { +"blocks": { +"description": "A list of visually detected text blocks on the page. A block has a set of lines (collected into paragraphs) that have a common line-spacing and orientation.", +"items": { +"$ref": "GoogleCloudDocumentaiV1beta1DocumentPageBlock" +}, +"type": "array" +}, +"detectedBarcodes": { +"description": "A list of detected barcodes.", +"items": { +"$ref": "GoogleCloudDocumentaiV1beta1DocumentPageDetectedBarcode" +}, +"type": "array" +}, +"detectedLanguages": { +"description": "A list of detected languages together with confidence.", +"items": { +"$ref": "GoogleCloudDocumentaiV1beta1DocumentPageDetectedLanguage" +}, +"type": "array" +}, +"dimension": { +"$ref": "GoogleCloudDocumentaiV1beta1DocumentPageDimension", +"description": "Physical dimension of the page." +}, +"formFields": { +"description": "A list of visually detected form fields on the page.", +"items": { +"$ref": "GoogleCloudDocumentaiV1beta1DocumentPageFormField" +}, +"type": "array" +}, +"image": { +"$ref": "GoogleCloudDocumentaiV1beta1DocumentPageImage", +"description": "Rendered image for this page. This image is preprocessed to remove any skew, rotation, and distortions such that the annotation bounding boxes can be upright and axis-aligned." +}, +"imageQualityScores": { +"$ref": "GoogleCloudDocumentaiV1beta1DocumentPageImageQualityScores", +"description": "Image quality scores." +}, +"layout": { +"$ref": "GoogleCloudDocumentaiV1beta1DocumentPageLayout", +"description": "Layout for the page." +}, +"lines": { +"description": "A list of visually detected text lines on the page. A collection of tokens that a human would perceive as a line.", +"items": { +"$ref": "GoogleCloudDocumentaiV1beta1DocumentPageLine" +}, +"type": "array" +}, +"pageNumber": { +"description": "1-based index for current Page in a parent Document. Useful when a page is taken out of a Document for individual processing.", +"format": "int32", +"type": "integer" +}, +"paragraphs": { +"description": "A list of visually detected text paragraphs on the page. A collection of lines that a human would perceive as a paragraph.", +"items": { +"$ref": "GoogleCloudDocumentaiV1beta1DocumentPageParagraph" +}, +"type": "array" +}, +"provenance": { +"$ref": "GoogleCloudDocumentaiV1beta1DocumentProvenance", +"deprecated": true, +"description": "The history of this page." +}, +"symbols": { +"description": "A list of visually detected symbols on the page.", +"items": { +"$ref": "GoogleCloudDocumentaiV1beta1DocumentPageSymbol" +}, +"type": "array" +}, +"tables": { +"description": "A list of visually detected tables on the page.", +"items": { +"$ref": "GoogleCloudDocumentaiV1beta1DocumentPageTable" +}, +"type": "array" +}, +"tokens": { +"description": "A list of visually detected tokens on the page.", +"items": { +"$ref": "GoogleCloudDocumentaiV1beta1DocumentPageToken" +}, +"type": "array" +}, +"transforms": { +"description": "Transformation matrices that were applied to the original document image to produce Page.image.", +"items": { +"$ref": "GoogleCloudDocumentaiV1beta1DocumentPageMatrix" +}, +"type": "array" +}, +"visualElements": { +"description": "A list of detected non-text visual elements e.g. checkbox, signature etc. on the page.", +"items": { +"$ref": "GoogleCloudDocumentaiV1beta1DocumentPageVisualElement" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta1DocumentPageAnchor": { +"description": "Referencing the visual context of the entity in the Document.pages. Page anchors can be cross-page, consist of multiple bounding polygons and optionally reference specific layout element types.", +"id": "GoogleCloudDocumentaiV1beta1DocumentPageAnchor", +"properties": { +"pageRefs": { +"description": "One or more references to visual page elements", +"items": { +"$ref": "GoogleCloudDocumentaiV1beta1DocumentPageAnchorPageRef" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta1DocumentPageAnchorPageRef": { +"description": "Represents a weak reference to a page element within a document.", +"id": "GoogleCloudDocumentaiV1beta1DocumentPageAnchorPageRef", +"properties": { +"boundingPoly": { +"$ref": "GoogleCloudDocumentaiV1beta1BoundingPoly", +"description": "Optional. Identifies the bounding polygon of a layout element on the page. If `layout_type` is set, the bounding polygon must be exactly the same to the layout element it's referring to." +}, +"confidence": { +"description": "Optional. Confidence of detected page element, if applicable. Range `[0, 1]`.", +"format": "float", +"type": "number" +}, +"layoutId": { +"deprecated": true, +"description": "Optional. Deprecated. Use PageRef.bounding_poly instead.", +"type": "string" +}, +"layoutType": { +"description": "Optional. The type of the layout element that is being referenced if any.", +"enum": [ +"LAYOUT_TYPE_UNSPECIFIED", +"BLOCK", +"PARAGRAPH", +"LINE", +"TOKEN", +"VISUAL_ELEMENT", +"TABLE", +"FORM_FIELD" +], +"enumDescriptions": [ +"Layout Unspecified.", +"References a Page.blocks element.", +"References a Page.paragraphs element.", +"References a Page.lines element.", +"References a Page.tokens element.", +"References a Page.visual_elements element.", +"Refrrences a Page.tables element.", +"References a Page.form_fields element." +], +"type": "string" +}, +"page": { +"description": "Required. Index into the Document.pages element, for example using `Document.pages` to locate the related page element. This field is skipped when its value is the default `0`. See https://developers.google.com/protocol-buffers/docs/proto3#json.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta1DocumentPageBlock": { +"description": "A block has a set of lines (collected into paragraphs) that have a common line-spacing and orientation.", +"id": "GoogleCloudDocumentaiV1beta1DocumentPageBlock", +"properties": { +"detectedLanguages": { +"description": "A list of detected languages together with confidence.", +"items": { +"$ref": "GoogleCloudDocumentaiV1beta1DocumentPageDetectedLanguage" +}, +"type": "array" +}, +"layout": { +"$ref": "GoogleCloudDocumentaiV1beta1DocumentPageLayout", +"description": "Layout for Block." +}, +"provenance": { +"$ref": "GoogleCloudDocumentaiV1beta1DocumentProvenance", +"deprecated": true, +"description": "The history of this annotation." +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta1DocumentPageDetectedBarcode": { +"description": "A detected barcode.", +"id": "GoogleCloudDocumentaiV1beta1DocumentPageDetectedBarcode", +"properties": { +"barcode": { +"$ref": "GoogleCloudDocumentaiV1beta1Barcode", +"description": "Detailed barcode information of the DetectedBarcode." +}, +"layout": { +"$ref": "GoogleCloudDocumentaiV1beta1DocumentPageLayout", +"description": "Layout for DetectedBarcode." +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta1DocumentPageDetectedLanguage": { +"description": "Detected language for a structural component.", +"id": "GoogleCloudDocumentaiV1beta1DocumentPageDetectedLanguage", +"properties": { +"confidence": { +"description": "Confidence of detected language. Range `[0, 1]`.", +"format": "float", +"type": "number" +}, +"languageCode": { +"description": "The [BCP-47 language code](https://www.unicode.org/reports/tr35/#Unicode_locale_identifier), such as `en-US` or `sr-Latn`.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta1DocumentPageDimension": { +"description": "Dimension for the page.", +"id": "GoogleCloudDocumentaiV1beta1DocumentPageDimension", +"properties": { +"height": { +"description": "Page height.", +"format": "float", +"type": "number" +}, +"unit": { +"description": "Dimension unit.", +"type": "string" +}, +"width": { +"description": "Page width.", +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta1DocumentPageFormField": { +"description": "A form field detected on the page.", +"id": "GoogleCloudDocumentaiV1beta1DocumentPageFormField", +"properties": { +"correctedKeyText": { +"description": "Created for Labeling UI to export key text. If corrections were made to the text identified by the `field_name.text_anchor`, this field will contain the correction.", +"type": "string" +}, +"correctedValueText": { +"description": "Created for Labeling UI to export value text. If corrections were made to the text identified by the `field_value.text_anchor`, this field will contain the correction.", +"type": "string" +}, +"fieldName": { +"$ref": "GoogleCloudDocumentaiV1beta1DocumentPageLayout", +"description": "Layout for the FormField name. e.g. `Address`, `Email`, `Grand total`, `Phone number`, etc." +}, +"fieldValue": { +"$ref": "GoogleCloudDocumentaiV1beta1DocumentPageLayout", +"description": "Layout for the FormField value." +}, +"nameDetectedLanguages": { +"description": "A list of detected languages for name together with confidence.", +"items": { +"$ref": "GoogleCloudDocumentaiV1beta1DocumentPageDetectedLanguage" +}, +"type": "array" +}, +"provenance": { +"$ref": "GoogleCloudDocumentaiV1beta1DocumentProvenance", +"description": "The history of this annotation." +}, +"valueDetectedLanguages": { +"description": "A list of detected languages for value together with confidence.", +"items": { +"$ref": "GoogleCloudDocumentaiV1beta1DocumentPageDetectedLanguage" +}, +"type": "array" +}, +"valueType": { +"description": "If the value is non-textual, this field represents the type. Current valid values are: - blank (this indicates the `field_value` is normal text) - `unfilled_checkbox` - `filled_checkbox`", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta1DocumentPageImage": { +"description": "Rendered image contents for this page.", +"id": "GoogleCloudDocumentaiV1beta1DocumentPageImage", +"properties": { +"content": { +"description": "Raw byte content of the image.", +"format": "byte", +"type": "string" +}, +"height": { +"description": "Height of the image in pixels.", +"format": "int32", +"type": "integer" +}, +"mimeType": { +"description": "Encoding [media type (MIME type)](https://www.iana.org/assignments/media-types/media-types.xhtml) for the image.", +"type": "string" +}, +"width": { +"description": "Width of the image in pixels.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta1DocumentPageImageQualityScores": { +"description": "Image quality scores for the page image.", +"id": "GoogleCloudDocumentaiV1beta1DocumentPageImageQualityScores", +"properties": { +"detectedDefects": { +"description": "A list of detected defects.", +"items": { +"$ref": "GoogleCloudDocumentaiV1beta1DocumentPageImageQualityScoresDetectedDefect" +}, +"type": "array" +}, +"qualityScore": { +"description": "The overall quality score. Range `[0, 1]` where `1` is perfect quality.", +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta1DocumentPageImageQualityScoresDetectedDefect": { +"description": "Image Quality Defects", +"id": "GoogleCloudDocumentaiV1beta1DocumentPageImageQualityScoresDetectedDefect", +"properties": { +"confidence": { +"description": "Confidence of detected defect. Range `[0, 1]` where `1` indicates strong confidence that the defect exists.", +"format": "float", +"type": "number" +}, +"type": { +"description": "Name of the defect type. Supported values are: - `quality/defect_blurry` - `quality/defect_noisy` - `quality/defect_dark` - `quality/defect_faint` - `quality/defect_text_too_small` - `quality/defect_document_cutoff` - `quality/defect_text_cutoff` - `quality/defect_glare`", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta1DocumentPageLayout": { +"description": "Visual element describing a layout unit on a page.", +"id": "GoogleCloudDocumentaiV1beta1DocumentPageLayout", +"properties": { +"boundingPoly": { +"$ref": "GoogleCloudDocumentaiV1beta1BoundingPoly", +"description": "The bounding polygon for the Layout." +}, +"confidence": { +"description": "Confidence of the current Layout within context of the object this layout is for. e.g. confidence can be for a single token, a table, a visual element, etc. depending on context. Range `[0, 1]`.", +"format": "float", +"type": "number" +}, +"orientation": { +"description": "Detected orientation for the Layout.", +"enum": [ +"ORIENTATION_UNSPECIFIED", +"PAGE_UP", +"PAGE_RIGHT", +"PAGE_DOWN", +"PAGE_LEFT" +], +"enumDescriptions": [ +"Unspecified orientation.", +"Orientation is aligned with page up.", +"Orientation is aligned with page right. Turn the head 90 degrees clockwise from upright to read.", +"Orientation is aligned with page down. Turn the head 180 degrees from upright to read.", +"Orientation is aligned with page left. Turn the head 90 degrees counterclockwise from upright to read." +], +"type": "string" +}, +"textAnchor": { +"$ref": "GoogleCloudDocumentaiV1beta1DocumentTextAnchor", +"description": "Text anchor indexing into the Document.text." +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta1DocumentPageLine": { +"description": "A collection of tokens that a human would perceive as a line. Does not cross column boundaries, can be horizontal, vertical, etc.", +"id": "GoogleCloudDocumentaiV1beta1DocumentPageLine", +"properties": { +"detectedLanguages": { +"description": "A list of detected languages together with confidence.", +"items": { +"$ref": "GoogleCloudDocumentaiV1beta1DocumentPageDetectedLanguage" +}, +"type": "array" +}, +"layout": { +"$ref": "GoogleCloudDocumentaiV1beta1DocumentPageLayout", +"description": "Layout for Line." +}, +"provenance": { +"$ref": "GoogleCloudDocumentaiV1beta1DocumentProvenance", +"deprecated": true, +"description": "The history of this annotation." +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta1DocumentPageMatrix": { +"description": "Representation for transformation matrix, intended to be compatible and used with OpenCV format for image manipulation.", +"id": "GoogleCloudDocumentaiV1beta1DocumentPageMatrix", +"properties": { +"cols": { +"description": "Number of columns in the matrix.", +"format": "int32", +"type": "integer" +}, +"data": { +"description": "The matrix data.", +"format": "byte", +"type": "string" +}, +"rows": { +"description": "Number of rows in the matrix.", +"format": "int32", +"type": "integer" +}, +"type": { +"description": "This encodes information about what data type the matrix uses. For example, 0 (CV_8U) is an unsigned 8-bit image. For the full list of OpenCV primitive data types, please refer to https://docs.opencv.org/4.3.0/d1/d1b/group__core__hal__interface.html", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta1DocumentPageParagraph": { +"description": "A collection of lines that a human would perceive as a paragraph.", +"id": "GoogleCloudDocumentaiV1beta1DocumentPageParagraph", +"properties": { +"detectedLanguages": { +"description": "A list of detected languages together with confidence.", +"items": { +"$ref": "GoogleCloudDocumentaiV1beta1DocumentPageDetectedLanguage" +}, +"type": "array" +}, +"layout": { +"$ref": "GoogleCloudDocumentaiV1beta1DocumentPageLayout", +"description": "Layout for Paragraph." +}, +"provenance": { +"$ref": "GoogleCloudDocumentaiV1beta1DocumentProvenance", +"deprecated": true, +"description": "The history of this annotation." +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta1DocumentPageSymbol": { +"description": "A detected symbol.", +"id": "GoogleCloudDocumentaiV1beta1DocumentPageSymbol", +"properties": { +"detectedLanguages": { +"description": "A list of detected languages together with confidence.", +"items": { +"$ref": "GoogleCloudDocumentaiV1beta1DocumentPageDetectedLanguage" +}, +"type": "array" +}, +"layout": { +"$ref": "GoogleCloudDocumentaiV1beta1DocumentPageLayout", +"description": "Layout for Symbol." +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta1DocumentPageTable": { +"description": "A table representation similar to HTML table structure.", +"id": "GoogleCloudDocumentaiV1beta1DocumentPageTable", +"properties": { +"bodyRows": { +"description": "Body rows of the table.", +"items": { +"$ref": "GoogleCloudDocumentaiV1beta1DocumentPageTableTableRow" +}, +"type": "array" +}, +"detectedLanguages": { +"description": "A list of detected languages together with confidence.", +"items": { +"$ref": "GoogleCloudDocumentaiV1beta1DocumentPageDetectedLanguage" +}, +"type": "array" +}, +"headerRows": { +"description": "Header rows of the table.", +"items": { +"$ref": "GoogleCloudDocumentaiV1beta1DocumentPageTableTableRow" +}, +"type": "array" +}, +"layout": { +"$ref": "GoogleCloudDocumentaiV1beta1DocumentPageLayout", +"description": "Layout for Table." +}, +"provenance": { +"$ref": "GoogleCloudDocumentaiV1beta1DocumentProvenance", +"deprecated": true, +"description": "The history of this table." +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta1DocumentPageTableTableCell": { +"description": "A cell representation inside the table.", +"id": "GoogleCloudDocumentaiV1beta1DocumentPageTableTableCell", +"properties": { +"colSpan": { +"description": "How many columns this cell spans.", +"format": "int32", +"type": "integer" +}, +"detectedLanguages": { +"description": "A list of detected languages together with confidence.", +"items": { +"$ref": "GoogleCloudDocumentaiV1beta1DocumentPageDetectedLanguage" +}, +"type": "array" +}, +"layout": { +"$ref": "GoogleCloudDocumentaiV1beta1DocumentPageLayout", +"description": "Layout for TableCell." +}, +"rowSpan": { +"description": "How many rows this cell spans.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta1DocumentPageTableTableRow": { +"description": "A row of table cells.", +"id": "GoogleCloudDocumentaiV1beta1DocumentPageTableTableRow", +"properties": { +"cells": { +"description": "Cells that make up this row.", +"items": { +"$ref": "GoogleCloudDocumentaiV1beta1DocumentPageTableTableCell" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta1DocumentPageToken": { +"description": "A detected token.", +"id": "GoogleCloudDocumentaiV1beta1DocumentPageToken", +"properties": { +"detectedBreak": { +"$ref": "GoogleCloudDocumentaiV1beta1DocumentPageTokenDetectedBreak", +"description": "Detected break at the end of a Token." +}, +"detectedLanguages": { +"description": "A list of detected languages together with confidence.", +"items": { +"$ref": "GoogleCloudDocumentaiV1beta1DocumentPageDetectedLanguage" +}, +"type": "array" +}, +"layout": { +"$ref": "GoogleCloudDocumentaiV1beta1DocumentPageLayout", +"description": "Layout for Token." +}, +"provenance": { +"$ref": "GoogleCloudDocumentaiV1beta1DocumentProvenance", +"deprecated": true, +"description": "The history of this annotation." +}, +"styleInfo": { +"$ref": "GoogleCloudDocumentaiV1beta1DocumentPageTokenStyleInfo", +"description": "Text style attributes." +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta1DocumentPageTokenDetectedBreak": { +"description": "Detected break at the end of a Token.", +"id": "GoogleCloudDocumentaiV1beta1DocumentPageTokenDetectedBreak", +"properties": { +"type": { +"description": "Detected break type.", +"enum": [ +"TYPE_UNSPECIFIED", +"SPACE", +"WIDE_SPACE", +"HYPHEN" +], +"enumDescriptions": [ +"Unspecified break type.", +"A single whitespace.", +"A wider whitespace.", +"A hyphen that indicates that a token has been split across lines." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta1DocumentPageTokenStyleInfo": { +"description": "Font and other text style attributes.", +"id": "GoogleCloudDocumentaiV1beta1DocumentPageTokenStyleInfo", +"properties": { +"backgroundColor": { +"$ref": "GoogleTypeColor", +"description": "Color of the background." +}, +"bold": { +"description": "Whether the text is bold (equivalent to font_weight is at least `700`).", +"type": "boolean" +}, +"fontSize": { +"description": "Font size in points (`1` point is `\u00b9\u2044\u2087\u2082` inches).", +"format": "int32", +"type": "integer" +}, +"fontType": { +"description": "Name or style of the font.", +"type": "string" +}, +"fontWeight": { +"description": "TrueType weight on a scale `100` (thin) to `1000` (ultra-heavy). Normal is `400`, bold is `700`.", +"format": "int32", +"type": "integer" +}, +"handwritten": { +"description": "Whether the text is handwritten.", +"type": "boolean" +}, +"italic": { +"description": "Whether the text is italic.", +"type": "boolean" +}, +"letterSpacing": { +"description": "Letter spacing in points.", +"format": "double", +"type": "number" +}, +"pixelFontSize": { +"description": "Font size in pixels, equal to _unrounded font_size_ * _resolution_ \u00f7 `72.0`.", +"format": "double", +"type": "number" +}, +"smallcaps": { +"description": "Whether the text is in small caps. This feature is not supported yet.", +"type": "boolean" +}, +"strikeout": { +"description": "Whether the text is strikethrough. This feature is not supported yet.", +"type": "boolean" +}, +"subscript": { +"description": "Whether the text is a subscript. This feature is not supported yet.", +"type": "boolean" +}, +"superscript": { +"description": "Whether the text is a superscript. This feature is not supported yet.", +"type": "boolean" +}, +"textColor": { +"$ref": "GoogleTypeColor", +"description": "Color of the text." +}, +"underlined": { +"description": "Whether the text is underlined.", +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta1DocumentPageVisualElement": { +"description": "Detected non-text visual elements e.g. checkbox, signature etc. on the page.", +"id": "GoogleCloudDocumentaiV1beta1DocumentPageVisualElement", +"properties": { +"detectedLanguages": { +"description": "A list of detected languages together with confidence.", +"items": { +"$ref": "GoogleCloudDocumentaiV1beta1DocumentPageDetectedLanguage" +}, +"type": "array" +}, +"layout": { +"$ref": "GoogleCloudDocumentaiV1beta1DocumentPageLayout", +"description": "Layout for VisualElement." +}, +"type": { +"description": "Type of the VisualElement.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta1DocumentProvenance": { +"description": "Structure to identify provenance relationships between annotations in different revisions.", +"id": "GoogleCloudDocumentaiV1beta1DocumentProvenance", +"properties": { +"id": { +"deprecated": true, +"description": "The Id of this operation. Needs to be unique within the scope of the revision.", +"format": "int32", +"type": "integer" +}, +"parents": { +"description": "References to the original elements that are replaced.", +"items": { +"$ref": "GoogleCloudDocumentaiV1beta1DocumentProvenanceParent" +}, +"type": "array" +}, +"revision": { +"deprecated": true, +"description": "The index of the revision that produced this element.", +"format": "int32", +"type": "integer" +}, +"type": { +"description": "The type of provenance operation.", +"enum": [ +"OPERATION_TYPE_UNSPECIFIED", +"ADD", +"REMOVE", +"UPDATE", +"REPLACE", +"EVAL_REQUESTED", +"EVAL_APPROVED", +"EVAL_SKIPPED" +], +"enumDeprecated": [ +false, +false, +false, +false, +false, +true, +true, +true +], +"enumDescriptions": [ +"Operation type unspecified. If no operation is specified a provenance entry is simply used to match against a `parent`.", +"Add an element.", +"Remove an element identified by `parent`.", +"Updates any fields within the given provenance scope of the message. It overwrites the fields rather than replacing them. Use this when you want to update a field value of an entity without also updating all the child properties.", +"Currently unused. Replace an element identified by `parent`.", +"Deprecated. Request human review for the element identified by `parent`.", +"Deprecated. Element is reviewed and approved at human review, confidence will be set to 1.0.", +"Deprecated. Element is skipped in the validation process." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta1DocumentProvenanceParent": { +"description": "The parent element the current element is based on. Used for referencing/aligning, removal and replacement operations.", +"id": "GoogleCloudDocumentaiV1beta1DocumentProvenanceParent", +"properties": { +"id": { +"deprecated": true, +"description": "The id of the parent provenance.", +"format": "int32", +"type": "integer" +}, +"index": { +"description": "The index of the parent item in the corresponding item list (eg. list of entities, properties within entities, etc.) in the parent revision.", +"format": "int32", +"type": "integer" +}, +"revision": { +"description": "The index of the index into current revision's parent_ids list.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta1DocumentRevision": { +"description": "Contains past or forward revisions of this document.", +"id": "GoogleCloudDocumentaiV1beta1DocumentRevision", +"properties": { +"agent": { +"description": "If the change was made by a person specify the name or id of that person.", +"type": "string" +}, +"createTime": { +"description": "The time that the revision was created, internally generated by doc proto storage at the time of create.", +"format": "google-datetime", +"type": "string" +}, +"humanReview": { +"$ref": "GoogleCloudDocumentaiV1beta1DocumentRevisionHumanReview", +"description": "Human Review information of this revision." +}, +"id": { +"description": "Id of the revision, internally generated by doc proto storage. Unique within the context of the document.", +"type": "string" +}, +"parent": { +"deprecated": true, +"description": "The revisions that this revision is based on. This can include one or more parent (when documents are merged.) This field represents the index into the `revisions` field.", +"items": { +"format": "int32", +"type": "integer" +}, +"type": "array" +}, +"parentIds": { +"description": "The revisions that this revision is based on. Must include all the ids that have anything to do with this revision - eg. there are `provenance.parent.revision` fields that index into this field.", +"items": { +"type": "string" +}, +"type": "array" +}, +"processor": { +"description": "If the annotation was made by processor identify the processor by its resource name.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta1DocumentRevisionHumanReview": { +"description": "Human Review information of the document.", +"id": "GoogleCloudDocumentaiV1beta1DocumentRevisionHumanReview", +"properties": { +"state": { +"description": "Human review state. e.g. `requested`, `succeeded`, `rejected`.", +"type": "string" +}, +"stateMessage": { +"description": "A message providing more details about the current state of processing. For example, the rejection reason when the state is `rejected`.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta1DocumentShardInfo": { +"description": "For a large document, sharding may be performed to produce several document shards. Each document shard contains this field to detail which shard it is.", +"id": "GoogleCloudDocumentaiV1beta1DocumentShardInfo", +"properties": { +"shardCount": { +"description": "Total number of shards.", +"format": "int64", +"type": "string" +}, +"shardIndex": { +"description": "The 0-based index of this shard.", +"format": "int64", +"type": "string" +}, +"textOffset": { +"description": "The index of the first character in Document.text in the overall document global text.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta1DocumentStyle": { +"description": "Annotation for common text style attributes. This adheres to CSS conventions as much as possible.", +"id": "GoogleCloudDocumentaiV1beta1DocumentStyle", +"properties": { +"backgroundColor": { +"$ref": "GoogleTypeColor", +"description": "Text background color." +}, +"color": { +"$ref": "GoogleTypeColor", +"description": "Text color." +}, +"fontFamily": { +"description": "Font family such as `Arial`, `Times New Roman`. https://www.w3schools.com/cssref/pr_font_font-family.asp", +"type": "string" +}, +"fontSize": { +"$ref": "GoogleCloudDocumentaiV1beta1DocumentStyleFontSize", +"description": "Font size." +}, +"fontWeight": { +"description": "[Font weight](https://www.w3schools.com/cssref/pr_font_weight.asp). Possible values are `normal`, `bold`, `bolder`, and `lighter`.", +"type": "string" +}, +"textAnchor": { +"$ref": "GoogleCloudDocumentaiV1beta1DocumentTextAnchor", +"description": "Text anchor indexing into the Document.text." +}, +"textDecoration": { +"description": "[Text decoration](https://www.w3schools.com/cssref/pr_text_text-decoration.asp). Follows CSS standard. ", +"type": "string" +}, +"textStyle": { +"description": "[Text style](https://www.w3schools.com/cssref/pr_font_font-style.asp). Possible values are `normal`, `italic`, and `oblique`.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta1DocumentStyleFontSize": { +"description": "Font size with unit.", +"id": "GoogleCloudDocumentaiV1beta1DocumentStyleFontSize", +"properties": { +"size": { +"description": "Font size for the text.", +"format": "float", +"type": "number" +}, +"unit": { +"description": "Unit for the font size. Follows CSS naming (such as `in`, `px`, and `pt`).", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta1DocumentTextAnchor": { +"description": "Text reference indexing into the Document.text.", +"id": "GoogleCloudDocumentaiV1beta1DocumentTextAnchor", +"properties": { +"content": { +"description": "Contains the content of the text span so that users do not have to look it up in the text_segments. It is always populated for formFields.", +"type": "string" +}, +"textSegments": { +"description": "The text segments from the Document.text.", +"items": { +"$ref": "GoogleCloudDocumentaiV1beta1DocumentTextAnchorTextSegment" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta1DocumentTextAnchorTextSegment": { +"description": "A text segment in the Document.text. The indices may be out of bounds which indicate that the text extends into another document shard for large sharded documents. See ShardInfo.text_offset", +"id": "GoogleCloudDocumentaiV1beta1DocumentTextAnchorTextSegment", +"properties": { +"endIndex": { +"description": "TextSegment half open end UTF-8 char index in the Document.text.", +"format": "int64", +"type": "string" +}, +"startIndex": { +"description": "TextSegment start UTF-8 char index in the Document.text.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta1DocumentTextChange": { +"description": "This message is used for text changes aka. OCR corrections.", +"id": "GoogleCloudDocumentaiV1beta1DocumentTextChange", +"properties": { +"changedText": { +"description": "The text that replaces the text identified in the `text_anchor`.", +"type": "string" +}, +"provenance": { +"deprecated": true, +"description": "The history of this annotation.", +"items": { +"$ref": "GoogleCloudDocumentaiV1beta1DocumentProvenance" +}, +"type": "array" +}, +"textAnchor": { +"$ref": "GoogleCloudDocumentaiV1beta1DocumentTextAnchor", +"description": "Provenance of the correction. Text anchor indexing into the Document.text. There can only be a single `TextAnchor.text_segments` element. If the start and end index of the text segment are the same, the text change is inserted before that index." +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta1GcsDestination": { +"description": "The Google Cloud Storage location where the output file will be written to.", +"id": "GoogleCloudDocumentaiV1beta1GcsDestination", +"properties": { +"uri": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta1GcsSource": { +"description": "The Google Cloud Storage location where the input file will be read from.", +"id": "GoogleCloudDocumentaiV1beta1GcsSource", +"properties": { +"uri": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta1InputConfig": { +"description": "The desired input location and metadata.", +"id": "GoogleCloudDocumentaiV1beta1InputConfig", +"properties": { +"gcsSource": { +"$ref": "GoogleCloudDocumentaiV1beta1GcsSource", +"description": "The Google Cloud Storage location to read the input from. This must be a single file." +}, +"mimeType": { +"description": "Required. Mimetype of the input. Current supported mimetypes are application/pdf, image/tiff, and image/gif. In addition, application/json type is supported for requests with ProcessDocumentRequest.automl_params field set. The JSON file needs to be in Document format.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta1NormalizedVertex": { +"description": "A vertex represents a 2D point in the image. NOTE: the normalized vertex coordinates are relative to the original image and range from 0 to 1.", +"id": "GoogleCloudDocumentaiV1beta1NormalizedVertex", +"properties": { +"x": { +"description": "X coordinate.", +"format": "float", +"type": "number" +}, +"y": { +"description": "Y coordinate (starts from the top of the image).", +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta1OperationMetadata": { +"description": "Contains metadata for the BatchProcessDocuments operation.", +"id": "GoogleCloudDocumentaiV1beta1OperationMetadata", +"properties": { +"createTime": { +"description": "The creation time of the operation.", +"format": "google-datetime", +"type": "string" +}, +"state": { +"description": "The state of the current batch processing.", +"enum": [ +"STATE_UNSPECIFIED", +"ACCEPTED", +"WAITING", +"RUNNING", +"SUCCEEDED", +"CANCELLED", +"FAILED" +], +"enumDescriptions": [ +"The default value. This value is used if the state is omitted.", +"Request is received.", +"Request operation is waiting for scheduling.", +"Request is being processed.", +"The batch processing completed successfully.", +"The batch processing was cancelled.", +"The batch processing has failed." +], +"type": "string" +}, +"stateMessage": { +"description": "A message providing more details about the current state of processing.", +"type": "string" +}, +"updateTime": { +"description": "The last update time of the operation.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta1OutputConfig": { +"description": "The desired output location and metadata.", +"id": "GoogleCloudDocumentaiV1beta1OutputConfig", +"properties": { +"gcsDestination": { +"$ref": "GoogleCloudDocumentaiV1beta1GcsDestination", +"description": "The Google Cloud Storage location to write the output to." +}, +"pagesPerShard": { +"description": "The max number of pages to include into each output Document shard JSON on Google Cloud Storage. The valid range is [1, 100]. If not specified, the default value is 20. For example, for one pdf file with 100 pages, 100 parsed pages will be produced. If `pages_per_shard` = 20, then 5 Document shard JSON files each containing 20 parsed pages will be written under the prefix OutputConfig.gcs_destination.uri and suffix pages-x-to-y.json where x and y are 1-indexed page numbers. Example GCS outputs with 157 pages and pages_per_shard = 50: pages-001-to-050.json pages-051-to-100.json pages-101-to-150.json pages-151-to-157.json", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta1ProcessDocumentResponse": { +"description": "Response to a single document processing request.", +"id": "GoogleCloudDocumentaiV1beta1ProcessDocumentResponse", +"properties": { +"inputConfig": { +"$ref": "GoogleCloudDocumentaiV1beta1InputConfig", +"description": "Information about the input file. This is the same as the corresponding input config in the request." +}, +"outputConfig": { +"$ref": "GoogleCloudDocumentaiV1beta1OutputConfig", +"description": "The output location of the parsed responses. The responses are written to this location as JSON-serialized `Document` objects." +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta1Vertex": { +"description": "A vertex represents a 2D point in the image. NOTE: the vertex coordinates are in the same scale as the original image.", +"id": "GoogleCloudDocumentaiV1beta1Vertex", +"properties": { +"x": { +"description": "X coordinate.", +"format": "int32", +"type": "integer" +}, +"y": { +"description": "Y coordinate (starts from the top of the image).", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta2AutoMlParams": { +"description": "Parameters to control AutoML model prediction behavior.", +"id": "GoogleCloudDocumentaiV1beta2AutoMlParams", +"properties": { +"model": { +"description": "Resource name of the AutoML model. Format: `projects/{project-id}/locations/{location-id}/models/{model-id}`.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta2Barcode": { +"description": "Encodes the detailed information of a barcode.", +"id": "GoogleCloudDocumentaiV1beta2Barcode", +"properties": { +"format": { +"description": "Format of a barcode. The supported formats are: - `CODE_128`: Code 128 type. - `CODE_39`: Code 39 type. - `CODE_93`: Code 93 type. - `CODABAR`: Codabar type. - `DATA_MATRIX`: 2D Data Matrix type. - `ITF`: ITF type. - `EAN_13`: EAN-13 type. - `EAN_8`: EAN-8 type. - `QR_CODE`: 2D QR code type. - `UPC_A`: UPC-A type. - `UPC_E`: UPC-E type. - `PDF417`: PDF417 type. - `AZTEC`: 2D Aztec code type. - `DATABAR`: GS1 DataBar code type.", +"type": "string" +}, +"rawValue": { +"description": "Raw value encoded in the barcode. For example: `'MEBKM:TITLE:Google;URL:https://www.google.com;;'`.", +"type": "string" +}, +"valueFormat": { +"description": "Value format describes the format of the value that a barcode encodes. The supported formats are: - `CONTACT_INFO`: Contact information. - `EMAIL`: Email address. - `ISBN`: ISBN identifier. - `PHONE`: Phone number. - `PRODUCT`: Product. - `SMS`: SMS message. - `TEXT`: Text string. - `URL`: URL address. - `WIFI`: Wifi information. - `GEO`: Geo-localization. - `CALENDAR_EVENT`: Calendar event. - `DRIVER_LICENSE`: Driver's license.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta2BatchProcessDocumentsRequest": { +"description": "Request to batch process documents as an asynchronous operation. The output is written to Cloud Storage as JSON in the [Document] format.", +"id": "GoogleCloudDocumentaiV1beta2BatchProcessDocumentsRequest", +"properties": { +"requests": { +"description": "Required. Individual requests for each document.", +"items": { +"$ref": "GoogleCloudDocumentaiV1beta2ProcessDocumentRequest" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta2BatchProcessDocumentsResponse": { +"description": "Response to an batch document processing request. This is returned in the LRO Operation after the operation is complete.", +"id": "GoogleCloudDocumentaiV1beta2BatchProcessDocumentsResponse", +"properties": { +"responses": { +"description": "Responses for each individual document.", +"items": { +"$ref": "GoogleCloudDocumentaiV1beta2ProcessDocumentResponse" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta2BoundingPoly": { +"description": "A bounding polygon for the detected image annotation.", +"id": "GoogleCloudDocumentaiV1beta2BoundingPoly", +"properties": { +"normalizedVertices": { +"description": "The bounding polygon normalized vertices.", +"items": { +"$ref": "GoogleCloudDocumentaiV1beta2NormalizedVertex" +}, +"type": "array" +}, +"vertices": { +"description": "The bounding polygon vertices.", +"items": { +"$ref": "GoogleCloudDocumentaiV1beta2Vertex" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta2Document": { +"description": "Document represents the canonical document resource in Document AI. It is an interchange format that provides insights into documents and allows for collaboration between users and Document AI to iterate and optimize for quality.", +"id": "GoogleCloudDocumentaiV1beta2Document", +"properties": { +"chunkedDocument": { +"$ref": "GoogleCloudDocumentaiV1beta2DocumentChunkedDocument", +"description": "Document chunked based on chunking config." +}, +"content": { +"description": "Optional. Inline document content, represented as a stream of bytes. Note: As with all `bytes` fields, protobuffers use a pure binary representation, whereas JSON representations use base64.", +"format": "byte", +"type": "string" +}, +"documentLayout": { +"$ref": "GoogleCloudDocumentaiV1beta2DocumentDocumentLayout", +"description": "Parsed layout of the document." +}, +"entities": { +"description": "A list of entities detected on Document.text. For document shards, entities in this list may cross shard boundaries.", +"items": { +"$ref": "GoogleCloudDocumentaiV1beta2DocumentEntity" +}, +"type": "array" +}, +"entityRelations": { +"description": "Placeholder. Relationship among Document.entities.", +"items": { +"$ref": "GoogleCloudDocumentaiV1beta2DocumentEntityRelation" +}, +"type": "array" +}, +"error": { +"$ref": "GoogleRpcStatus", +"description": "Any error that occurred while processing this document." +}, +"labels": { +"description": "Labels for this document.", +"items": { +"$ref": "GoogleCloudDocumentaiV1beta2DocumentLabel" +}, +"type": "array" +}, +"mimeType": { +"description": "An IANA published [media type (MIME type)](https://www.iana.org/assignments/media-types/media-types.xhtml).", +"type": "string" +}, +"pages": { +"description": "Visual page layout for the Document.", +"items": { +"$ref": "GoogleCloudDocumentaiV1beta2DocumentPage" +}, +"type": "array" +}, +"revisions": { +"description": "Placeholder. Revision history of this document.", +"items": { +"$ref": "GoogleCloudDocumentaiV1beta2DocumentRevision" +}, +"type": "array" +}, +"shardInfo": { +"$ref": "GoogleCloudDocumentaiV1beta2DocumentShardInfo", +"description": "Information about the sharding if this document is sharded part of a larger document. If the document is not sharded, this message is not specified." +}, +"text": { +"description": "Optional. UTF-8 encoded text in reading order from the document.", +"type": "string" +}, +"textChanges": { +"description": "Placeholder. A list of text corrections made to Document.text. This is usually used for annotating corrections to OCR mistakes. Text changes for a given revision may not overlap with each other.", +"items": { +"$ref": "GoogleCloudDocumentaiV1beta2DocumentTextChange" +}, +"type": "array" +}, +"textStyles": { +"deprecated": true, +"description": "Styles for the Document.text.", +"items": { +"$ref": "GoogleCloudDocumentaiV1beta2DocumentStyle" +}, +"type": "array" +}, +"uri": { +"description": "Optional. Currently supports Google Cloud Storage URI of the form `gs://bucket_name/object_name`. Object versioning is not supported. For more information, refer to [Google Cloud Storage Request URIs](https://cloud.google.com/storage/docs/reference-uris).", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta2DocumentChunkedDocument": { +"description": "Represents the chunks that the document is divided into.", +"id": "GoogleCloudDocumentaiV1beta2DocumentChunkedDocument", +"properties": { +"chunks": { +"description": "List of chunks.", +"items": { +"$ref": "GoogleCloudDocumentaiV1beta2DocumentChunkedDocumentChunk" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta2DocumentChunkedDocumentChunk": { +"description": "Represents a chunk.", +"id": "GoogleCloudDocumentaiV1beta2DocumentChunkedDocumentChunk", +"properties": { +"chunkId": { +"description": "ID of the chunk.", +"type": "string" +}, +"content": { +"description": "Text content of the chunk.", +"type": "string" +}, +"pageFooters": { +"description": "Page footers associated with the chunk.", +"items": { +"$ref": "GoogleCloudDocumentaiV1beta2DocumentChunkedDocumentChunkChunkPageFooter" +}, +"type": "array" +}, +"pageHeaders": { +"description": "Page headers associated with the chunk.", +"items": { +"$ref": "GoogleCloudDocumentaiV1beta2DocumentChunkedDocumentChunkChunkPageHeader" +}, +"type": "array" +}, +"pageSpan": { +"$ref": "GoogleCloudDocumentaiV1beta2DocumentChunkedDocumentChunkChunkPageSpan", +"description": "Page span of the chunk." +}, +"sourceBlockIds": { +"description": "Unused.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta2DocumentChunkedDocumentChunkChunkPageFooter": { +"description": "Represents the page footer associated with the chunk.", +"id": "GoogleCloudDocumentaiV1beta2DocumentChunkedDocumentChunkChunkPageFooter", +"properties": { +"pageSpan": { +"$ref": "GoogleCloudDocumentaiV1beta2DocumentChunkedDocumentChunkChunkPageSpan", +"description": "Page span of the footer." +}, +"text": { +"description": "Footer in text format.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta2DocumentChunkedDocumentChunkChunkPageHeader": { +"description": "Represents the page header associated with the chunk.", +"id": "GoogleCloudDocumentaiV1beta2DocumentChunkedDocumentChunkChunkPageHeader", +"properties": { +"pageSpan": { +"$ref": "GoogleCloudDocumentaiV1beta2DocumentChunkedDocumentChunkChunkPageSpan", +"description": "Page span of the header." +}, +"text": { +"description": "Header in text format.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta2DocumentChunkedDocumentChunkChunkPageSpan": { +"description": "Represents where the chunk starts and ends in the document.", +"id": "GoogleCloudDocumentaiV1beta2DocumentChunkedDocumentChunkChunkPageSpan", +"properties": { +"pageEnd": { +"description": "Page where chunk ends in the document.", +"format": "int32", +"type": "integer" +}, +"pageStart": { +"description": "Page where chunk starts in the document.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta2DocumentDocumentLayout": { +"description": "Represents the parsed layout of a document as a collection of blocks that the document is divided into.", +"id": "GoogleCloudDocumentaiV1beta2DocumentDocumentLayout", +"properties": { +"blocks": { +"description": "List of blocks in the document.", +"items": { +"$ref": "GoogleCloudDocumentaiV1beta2DocumentDocumentLayoutDocumentLayoutBlock" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta2DocumentDocumentLayoutDocumentLayoutBlock": { +"description": "Represents a block. A block could be one of the various types (text, table, list) supported.", +"id": "GoogleCloudDocumentaiV1beta2DocumentDocumentLayoutDocumentLayoutBlock", +"properties": { +"blockId": { +"description": "ID of the block.", +"type": "string" +}, +"listBlock": { +"$ref": "GoogleCloudDocumentaiV1beta2DocumentDocumentLayoutDocumentLayoutBlockLayoutListBlock", +"description": "Block consisting of list content/structure." +}, +"pageSpan": { +"$ref": "GoogleCloudDocumentaiV1beta2DocumentDocumentLayoutDocumentLayoutBlockLayoutPageSpan", +"description": "Page span of the block." +}, +"tableBlock": { +"$ref": "GoogleCloudDocumentaiV1beta2DocumentDocumentLayoutDocumentLayoutBlockLayoutTableBlock", +"description": "Block consisting of table content/structure." +}, +"textBlock": { +"$ref": "GoogleCloudDocumentaiV1beta2DocumentDocumentLayoutDocumentLayoutBlockLayoutTextBlock", +"description": "Block consisting of text content." +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta2DocumentDocumentLayoutDocumentLayoutBlockLayoutListBlock": { +"description": "Represents a list type block.", +"id": "GoogleCloudDocumentaiV1beta2DocumentDocumentLayoutDocumentLayoutBlockLayoutListBlock", +"properties": { +"listEntries": { +"description": "List entries that constitute a list block.", +"items": { +"$ref": "GoogleCloudDocumentaiV1beta2DocumentDocumentLayoutDocumentLayoutBlockLayoutListEntry" +}, +"type": "array" +}, +"type": { +"description": "Type of the list_entries (if exist). Available options are `ordered` and `unordered`.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta2DocumentDocumentLayoutDocumentLayoutBlockLayoutListEntry": { +"description": "Represents an entry in the list.", +"id": "GoogleCloudDocumentaiV1beta2DocumentDocumentLayoutDocumentLayoutBlockLayoutListEntry", +"properties": { +"blocks": { +"description": "A list entry is a list of blocks. Repeated blocks support further hierarchies and nested blocks.", +"items": { +"$ref": "GoogleCloudDocumentaiV1beta2DocumentDocumentLayoutDocumentLayoutBlock" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta2DocumentDocumentLayoutDocumentLayoutBlockLayoutPageSpan": { +"description": "Represents where the block starts and ends in the document.", +"id": "GoogleCloudDocumentaiV1beta2DocumentDocumentLayoutDocumentLayoutBlockLayoutPageSpan", +"properties": { +"pageEnd": { +"description": "Page where block ends in the document.", +"format": "int32", +"type": "integer" +}, +"pageStart": { +"description": "Page where block starts in the document.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta2DocumentDocumentLayoutDocumentLayoutBlockLayoutTableBlock": { +"description": "Represents a table type block.", +"id": "GoogleCloudDocumentaiV1beta2DocumentDocumentLayoutDocumentLayoutBlockLayoutTableBlock", +"properties": { +"bodyRows": { +"description": "Body rows containing main table content.", +"items": { +"$ref": "GoogleCloudDocumentaiV1beta2DocumentDocumentLayoutDocumentLayoutBlockLayoutTableRow" +}, +"type": "array" +}, +"caption": { +"description": "Table caption/title.", +"type": "string" +}, +"headerRows": { +"description": "Header rows at the top of the table.", +"items": { +"$ref": "GoogleCloudDocumentaiV1beta2DocumentDocumentLayoutDocumentLayoutBlockLayoutTableRow" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta2DocumentDocumentLayoutDocumentLayoutBlockLayoutTableCell": { +"description": "Represents a cell in a table row.", +"id": "GoogleCloudDocumentaiV1beta2DocumentDocumentLayoutDocumentLayoutBlockLayoutTableCell", +"properties": { +"blocks": { +"description": "A table cell is a list of blocks. Repeated blocks support further hierarchies and nested blocks.", +"items": { +"$ref": "GoogleCloudDocumentaiV1beta2DocumentDocumentLayoutDocumentLayoutBlock" +}, +"type": "array" +}, +"colSpan": { +"description": "How many columns this cell spans.", +"format": "int32", +"type": "integer" +}, +"rowSpan": { +"description": "How many rows this cell spans.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta2DocumentDocumentLayoutDocumentLayoutBlockLayoutTableRow": { +"description": "Represents a row in a table.", +"id": "GoogleCloudDocumentaiV1beta2DocumentDocumentLayoutDocumentLayoutBlockLayoutTableRow", +"properties": { +"cells": { +"description": "A table row is a list of table cells.", +"items": { +"$ref": "GoogleCloudDocumentaiV1beta2DocumentDocumentLayoutDocumentLayoutBlockLayoutTableCell" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta2DocumentDocumentLayoutDocumentLayoutBlockLayoutTextBlock": { +"description": "Represents a text type block.", +"id": "GoogleCloudDocumentaiV1beta2DocumentDocumentLayoutDocumentLayoutBlockLayoutTextBlock", +"properties": { +"blocks": { +"description": "A text block could further have child blocks. Repeated blocks support further hierarchies and nested blocks.", +"items": { +"$ref": "GoogleCloudDocumentaiV1beta2DocumentDocumentLayoutDocumentLayoutBlock" +}, +"type": "array" +}, +"text": { +"description": "Text content stored in the block.", +"type": "string" +}, +"type": { +"description": "Type of the text in the block. Available options are: `paragraph`, `subtitle`, `heading-1`, `heading-2`, `heading-3`, `heading-4`, `heading-5`, `header`, `footer`.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta2DocumentEntity": { +"description": "An entity that could be a phrase in the text or a property that belongs to the document. It is a known entity type, such as a person, an organization, or location.", +"id": "GoogleCloudDocumentaiV1beta2DocumentEntity", +"properties": { +"confidence": { +"description": "Optional. Confidence of detected Schema entity. Range `[0, 1]`.", +"format": "float", +"type": "number" +}, +"id": { +"description": "Optional. Canonical id. This will be a unique value in the entity list for this document.", +"type": "string" +}, +"mentionId": { +"description": "Optional. Deprecated. Use `id` field instead.", +"type": "string" +}, +"mentionText": { +"description": "Optional. Text value of the entity e.g. `1600 Amphitheatre Pkwy`.", +"type": "string" +}, +"normalizedValue": { +"$ref": "GoogleCloudDocumentaiV1beta2DocumentEntityNormalizedValue", +"description": "Optional. Normalized entity value. Absent if the extracted value could not be converted or the type (e.g. address) is not supported for certain parsers. This field is also only populated for certain supported document types." +}, +"pageAnchor": { +"$ref": "GoogleCloudDocumentaiV1beta2DocumentPageAnchor", +"description": "Optional. Represents the provenance of this entity wrt. the location on the page where it was found." +}, +"properties": { +"description": "Optional. Entities can be nested to form a hierarchical data structure representing the content in the document.", +"items": { +"$ref": "GoogleCloudDocumentaiV1beta2DocumentEntity" +}, +"type": "array" +}, +"provenance": { +"$ref": "GoogleCloudDocumentaiV1beta2DocumentProvenance", +"description": "Optional. The history of this annotation." +}, +"redacted": { +"description": "Optional. Whether the entity will be redacted for de-identification purposes.", +"type": "boolean" +}, +"textAnchor": { +"$ref": "GoogleCloudDocumentaiV1beta2DocumentTextAnchor", +"description": "Optional. Provenance of the entity. Text anchor indexing into the Document.text." +}, +"type": { +"description": "Required. Entity type from a schema e.g. `Address`.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta2DocumentEntityNormalizedValue": { +"description": "Parsed and normalized entity value.", +"id": "GoogleCloudDocumentaiV1beta2DocumentEntityNormalizedValue", +"properties": { +"addressValue": { +"$ref": "GoogleTypePostalAddress", +"description": "Postal address. See also: https://github.com/googleapis/googleapis/blob/master/google/type/postal_address.proto" +}, +"booleanValue": { +"description": "Boolean value. Can be used for entities with binary values, or for checkboxes.", +"type": "boolean" +}, +"dateValue": { +"$ref": "GoogleTypeDate", +"description": "Date value. Includes year, month, day. See also: https://github.com/googleapis/googleapis/blob/master/google/type/date.proto" +}, +"datetimeValue": { +"$ref": "GoogleTypeDateTime", +"description": "DateTime value. Includes date, time, and timezone. See also: https://github.com/googleapis/googleapis/blob/master/google/type/datetime.proto" +}, +"floatValue": { +"description": "Float value.", +"format": "float", +"type": "number" +}, +"integerValue": { +"description": "Integer value.", +"format": "int32", +"type": "integer" +}, +"moneyValue": { +"$ref": "GoogleTypeMoney", +"description": "Money value. See also: https://github.com/googleapis/googleapis/blob/master/google/type/money.proto" +}, +"text": { +"description": "Optional. An optional field to store a normalized string. For some entity types, one of respective `structured_value` fields may also be populated. Also not all the types of `structured_value` will be normalized. For example, some processors may not generate `float` or `integer` normalized text by default. Below are sample formats mapped to structured values. - Money/Currency type (`money_value`) is in the ISO 4217 text format. - Date type (`date_value`) is in the ISO 8601 text format. - Datetime type (`datetime_value`) is in the ISO 8601 text format.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta2DocumentEntityRelation": { +"description": "Relationship between Entities.", +"id": "GoogleCloudDocumentaiV1beta2DocumentEntityRelation", +"properties": { +"objectId": { +"description": "Object entity id.", +"type": "string" +}, +"relation": { +"description": "Relationship description.", +"type": "string" +}, +"subjectId": { +"description": "Subject entity id.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta2DocumentLabel": { +"description": "Label attaches schema information and/or other metadata to segments within a Document. Multiple Labels on a single field can denote either different labels, different instances of the same label created at different times, or some combination of both.", +"id": "GoogleCloudDocumentaiV1beta2DocumentLabel", +"properties": { +"automlModel": { +"description": "Label is generated AutoML model. This field stores the full resource name of the AutoML model. Format: `projects/{project-id}/locations/{location-id}/models/{model-id}`", +"type": "string" +}, +"confidence": { +"description": "Confidence score between 0 and 1 for label assignment.", +"format": "float", +"type": "number" +}, +"name": { +"description": "Name of the label. When the label is generated from AutoML Text Classification model, this field represents the name of the category.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta2DocumentPage": { +"description": "A page in a Document.", +"id": "GoogleCloudDocumentaiV1beta2DocumentPage", +"properties": { +"blocks": { +"description": "A list of visually detected text blocks on the page. A block has a set of lines (collected into paragraphs) that have a common line-spacing and orientation.", +"items": { +"$ref": "GoogleCloudDocumentaiV1beta2DocumentPageBlock" +}, +"type": "array" +}, +"detectedBarcodes": { +"description": "A list of detected barcodes.", +"items": { +"$ref": "GoogleCloudDocumentaiV1beta2DocumentPageDetectedBarcode" +}, +"type": "array" +}, +"detectedLanguages": { +"description": "A list of detected languages together with confidence.", +"items": { +"$ref": "GoogleCloudDocumentaiV1beta2DocumentPageDetectedLanguage" +}, +"type": "array" +}, +"dimension": { +"$ref": "GoogleCloudDocumentaiV1beta2DocumentPageDimension", +"description": "Physical dimension of the page." +}, +"formFields": { +"description": "A list of visually detected form fields on the page.", +"items": { +"$ref": "GoogleCloudDocumentaiV1beta2DocumentPageFormField" +}, +"type": "array" +}, +"image": { +"$ref": "GoogleCloudDocumentaiV1beta2DocumentPageImage", +"description": "Rendered image for this page. This image is preprocessed to remove any skew, rotation, and distortions such that the annotation bounding boxes can be upright and axis-aligned." +}, +"imageQualityScores": { +"$ref": "GoogleCloudDocumentaiV1beta2DocumentPageImageQualityScores", +"description": "Image quality scores." +}, +"layout": { +"$ref": "GoogleCloudDocumentaiV1beta2DocumentPageLayout", +"description": "Layout for the page." +}, +"lines": { +"description": "A list of visually detected text lines on the page. A collection of tokens that a human would perceive as a line.", +"items": { +"$ref": "GoogleCloudDocumentaiV1beta2DocumentPageLine" +}, +"type": "array" +}, +"pageNumber": { +"description": "1-based index for current Page in a parent Document. Useful when a page is taken out of a Document for individual processing.", +"format": "int32", +"type": "integer" +}, +"paragraphs": { +"description": "A list of visually detected text paragraphs on the page. A collection of lines that a human would perceive as a paragraph.", +"items": { +"$ref": "GoogleCloudDocumentaiV1beta2DocumentPageParagraph" +}, +"type": "array" +}, +"provenance": { +"$ref": "GoogleCloudDocumentaiV1beta2DocumentProvenance", +"deprecated": true, +"description": "The history of this page." +}, +"symbols": { +"description": "A list of visually detected symbols on the page.", +"items": { +"$ref": "GoogleCloudDocumentaiV1beta2DocumentPageSymbol" +}, +"type": "array" +}, +"tables": { +"description": "A list of visually detected tables on the page.", +"items": { +"$ref": "GoogleCloudDocumentaiV1beta2DocumentPageTable" +}, +"type": "array" +}, +"tokens": { +"description": "A list of visually detected tokens on the page.", +"items": { +"$ref": "GoogleCloudDocumentaiV1beta2DocumentPageToken" +}, +"type": "array" +}, +"transforms": { +"description": "Transformation matrices that were applied to the original document image to produce Page.image.", +"items": { +"$ref": "GoogleCloudDocumentaiV1beta2DocumentPageMatrix" +}, +"type": "array" +}, +"visualElements": { +"description": "A list of detected non-text visual elements e.g. checkbox, signature etc. on the page.", +"items": { +"$ref": "GoogleCloudDocumentaiV1beta2DocumentPageVisualElement" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta2DocumentPageAnchor": { +"description": "Referencing the visual context of the entity in the Document.pages. Page anchors can be cross-page, consist of multiple bounding polygons and optionally reference specific layout element types.", +"id": "GoogleCloudDocumentaiV1beta2DocumentPageAnchor", +"properties": { +"pageRefs": { +"description": "One or more references to visual page elements", +"items": { +"$ref": "GoogleCloudDocumentaiV1beta2DocumentPageAnchorPageRef" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta2DocumentPageAnchorPageRef": { +"description": "Represents a weak reference to a page element within a document.", +"id": "GoogleCloudDocumentaiV1beta2DocumentPageAnchorPageRef", +"properties": { +"boundingPoly": { +"$ref": "GoogleCloudDocumentaiV1beta2BoundingPoly", +"description": "Optional. Identifies the bounding polygon of a layout element on the page. If `layout_type` is set, the bounding polygon must be exactly the same to the layout element it's referring to." +}, +"confidence": { +"description": "Optional. Confidence of detected page element, if applicable. Range `[0, 1]`.", +"format": "float", +"type": "number" +}, +"layoutId": { +"deprecated": true, +"description": "Optional. Deprecated. Use PageRef.bounding_poly instead.", +"type": "string" +}, +"layoutType": { +"description": "Optional. The type of the layout element that is being referenced if any.", +"enum": [ +"LAYOUT_TYPE_UNSPECIFIED", +"BLOCK", +"PARAGRAPH", +"LINE", +"TOKEN", +"VISUAL_ELEMENT", +"TABLE", +"FORM_FIELD" +], +"enumDescriptions": [ +"Layout Unspecified.", +"References a Page.blocks element.", +"References a Page.paragraphs element.", +"References a Page.lines element.", +"References a Page.tokens element.", +"References a Page.visual_elements element.", +"Refrrences a Page.tables element.", +"References a Page.form_fields element." +], +"type": "string" +}, +"page": { +"description": "Required. Index into the Document.pages element, for example using `Document.pages` to locate the related page element. This field is skipped when its value is the default `0`. See https://developers.google.com/protocol-buffers/docs/proto3#json.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta2DocumentPageBlock": { +"description": "A block has a set of lines (collected into paragraphs) that have a common line-spacing and orientation.", +"id": "GoogleCloudDocumentaiV1beta2DocumentPageBlock", +"properties": { +"detectedLanguages": { +"description": "A list of detected languages together with confidence.", +"items": { +"$ref": "GoogleCloudDocumentaiV1beta2DocumentPageDetectedLanguage" +}, +"type": "array" +}, +"layout": { +"$ref": "GoogleCloudDocumentaiV1beta2DocumentPageLayout", +"description": "Layout for Block." +}, +"provenance": { +"$ref": "GoogleCloudDocumentaiV1beta2DocumentProvenance", +"deprecated": true, +"description": "The history of this annotation." +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta2DocumentPageDetectedBarcode": { +"description": "A detected barcode.", +"id": "GoogleCloudDocumentaiV1beta2DocumentPageDetectedBarcode", +"properties": { +"barcode": { +"$ref": "GoogleCloudDocumentaiV1beta2Barcode", +"description": "Detailed barcode information of the DetectedBarcode." +}, +"layout": { +"$ref": "GoogleCloudDocumentaiV1beta2DocumentPageLayout", +"description": "Layout for DetectedBarcode." +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta2DocumentPageDetectedLanguage": { +"description": "Detected language for a structural component.", +"id": "GoogleCloudDocumentaiV1beta2DocumentPageDetectedLanguage", +"properties": { +"confidence": { +"description": "Confidence of detected language. Range `[0, 1]`.", +"format": "float", +"type": "number" +}, +"languageCode": { +"description": "The [BCP-47 language code](https://www.unicode.org/reports/tr35/#Unicode_locale_identifier), such as `en-US` or `sr-Latn`.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta2DocumentPageDimension": { +"description": "Dimension for the page.", +"id": "GoogleCloudDocumentaiV1beta2DocumentPageDimension", +"properties": { +"height": { +"description": "Page height.", +"format": "float", +"type": "number" +}, +"unit": { +"description": "Dimension unit.", +"type": "string" +}, +"width": { +"description": "Page width.", +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta2DocumentPageFormField": { +"description": "A form field detected on the page.", +"id": "GoogleCloudDocumentaiV1beta2DocumentPageFormField", +"properties": { +"correctedKeyText": { +"description": "Created for Labeling UI to export key text. If corrections were made to the text identified by the `field_name.text_anchor`, this field will contain the correction.", +"type": "string" +}, +"correctedValueText": { +"description": "Created for Labeling UI to export value text. If corrections were made to the text identified by the `field_value.text_anchor`, this field will contain the correction.", +"type": "string" +}, +"fieldName": { +"$ref": "GoogleCloudDocumentaiV1beta2DocumentPageLayout", +"description": "Layout for the FormField name. e.g. `Address`, `Email`, `Grand total`, `Phone number`, etc." +}, +"fieldValue": { +"$ref": "GoogleCloudDocumentaiV1beta2DocumentPageLayout", +"description": "Layout for the FormField value." +}, +"nameDetectedLanguages": { +"description": "A list of detected languages for name together with confidence.", +"items": { +"$ref": "GoogleCloudDocumentaiV1beta2DocumentPageDetectedLanguage" +}, +"type": "array" +}, +"provenance": { +"$ref": "GoogleCloudDocumentaiV1beta2DocumentProvenance", +"description": "The history of this annotation." +}, +"valueDetectedLanguages": { +"description": "A list of detected languages for value together with confidence.", +"items": { +"$ref": "GoogleCloudDocumentaiV1beta2DocumentPageDetectedLanguage" +}, +"type": "array" +}, +"valueType": { +"description": "If the value is non-textual, this field represents the type. Current valid values are: - blank (this indicates the `field_value` is normal text) - `unfilled_checkbox` - `filled_checkbox`", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta2DocumentPageImage": { +"description": "Rendered image contents for this page.", +"id": "GoogleCloudDocumentaiV1beta2DocumentPageImage", +"properties": { +"content": { +"description": "Raw byte content of the image.", +"format": "byte", +"type": "string" +}, +"height": { +"description": "Height of the image in pixels.", +"format": "int32", +"type": "integer" +}, +"mimeType": { +"description": "Encoding [media type (MIME type)](https://www.iana.org/assignments/media-types/media-types.xhtml) for the image.", +"type": "string" +}, +"width": { +"description": "Width of the image in pixels.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta2DocumentPageImageQualityScores": { +"description": "Image quality scores for the page image.", +"id": "GoogleCloudDocumentaiV1beta2DocumentPageImageQualityScores", +"properties": { +"detectedDefects": { +"description": "A list of detected defects.", +"items": { +"$ref": "GoogleCloudDocumentaiV1beta2DocumentPageImageQualityScoresDetectedDefect" +}, +"type": "array" +}, +"qualityScore": { +"description": "The overall quality score. Range `[0, 1]` where `1` is perfect quality.", +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta2DocumentPageImageQualityScoresDetectedDefect": { +"description": "Image Quality Defects", +"id": "GoogleCloudDocumentaiV1beta2DocumentPageImageQualityScoresDetectedDefect", +"properties": { +"confidence": { +"description": "Confidence of detected defect. Range `[0, 1]` where `1` indicates strong confidence that the defect exists.", +"format": "float", +"type": "number" +}, +"type": { +"description": "Name of the defect type. Supported values are: - `quality/defect_blurry` - `quality/defect_noisy` - `quality/defect_dark` - `quality/defect_faint` - `quality/defect_text_too_small` - `quality/defect_document_cutoff` - `quality/defect_text_cutoff` - `quality/defect_glare`", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta2DocumentPageLayout": { +"description": "Visual element describing a layout unit on a page.", +"id": "GoogleCloudDocumentaiV1beta2DocumentPageLayout", +"properties": { +"boundingPoly": { +"$ref": "GoogleCloudDocumentaiV1beta2BoundingPoly", +"description": "The bounding polygon for the Layout." +}, +"confidence": { +"description": "Confidence of the current Layout within context of the object this layout is for. e.g. confidence can be for a single token, a table, a visual element, etc. depending on context. Range `[0, 1]`.", +"format": "float", +"type": "number" +}, +"orientation": { +"description": "Detected orientation for the Layout.", +"enum": [ +"ORIENTATION_UNSPECIFIED", +"PAGE_UP", +"PAGE_RIGHT", +"PAGE_DOWN", +"PAGE_LEFT" +], +"enumDescriptions": [ +"Unspecified orientation.", +"Orientation is aligned with page up.", +"Orientation is aligned with page right. Turn the head 90 degrees clockwise from upright to read.", +"Orientation is aligned with page down. Turn the head 180 degrees from upright to read.", +"Orientation is aligned with page left. Turn the head 90 degrees counterclockwise from upright to read." +], +"type": "string" +}, +"textAnchor": { +"$ref": "GoogleCloudDocumentaiV1beta2DocumentTextAnchor", +"description": "Text anchor indexing into the Document.text." +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta2DocumentPageLine": { +"description": "A collection of tokens that a human would perceive as a line. Does not cross column boundaries, can be horizontal, vertical, etc.", +"id": "GoogleCloudDocumentaiV1beta2DocumentPageLine", +"properties": { +"detectedLanguages": { +"description": "A list of detected languages together with confidence.", +"items": { +"$ref": "GoogleCloudDocumentaiV1beta2DocumentPageDetectedLanguage" +}, +"type": "array" +}, +"layout": { +"$ref": "GoogleCloudDocumentaiV1beta2DocumentPageLayout", +"description": "Layout for Line." +}, +"provenance": { +"$ref": "GoogleCloudDocumentaiV1beta2DocumentProvenance", +"deprecated": true, +"description": "The history of this annotation." +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta2DocumentPageMatrix": { +"description": "Representation for transformation matrix, intended to be compatible and used with OpenCV format for image manipulation.", +"id": "GoogleCloudDocumentaiV1beta2DocumentPageMatrix", +"properties": { +"cols": { +"description": "Number of columns in the matrix.", +"format": "int32", +"type": "integer" +}, +"data": { +"description": "The matrix data.", +"format": "byte", +"type": "string" +}, +"rows": { +"description": "Number of rows in the matrix.", +"format": "int32", +"type": "integer" +}, +"type": { +"description": "This encodes information about what data type the matrix uses. For example, 0 (CV_8U) is an unsigned 8-bit image. For the full list of OpenCV primitive data types, please refer to https://docs.opencv.org/4.3.0/d1/d1b/group__core__hal__interface.html", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta2DocumentPageParagraph": { +"description": "A collection of lines that a human would perceive as a paragraph.", +"id": "GoogleCloudDocumentaiV1beta2DocumentPageParagraph", +"properties": { +"detectedLanguages": { +"description": "A list of detected languages together with confidence.", +"items": { +"$ref": "GoogleCloudDocumentaiV1beta2DocumentPageDetectedLanguage" +}, +"type": "array" +}, +"layout": { +"$ref": "GoogleCloudDocumentaiV1beta2DocumentPageLayout", +"description": "Layout for Paragraph." +}, +"provenance": { +"$ref": "GoogleCloudDocumentaiV1beta2DocumentProvenance", +"deprecated": true, +"description": "The history of this annotation." +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta2DocumentPageSymbol": { +"description": "A detected symbol.", +"id": "GoogleCloudDocumentaiV1beta2DocumentPageSymbol", +"properties": { +"detectedLanguages": { +"description": "A list of detected languages together with confidence.", +"items": { +"$ref": "GoogleCloudDocumentaiV1beta2DocumentPageDetectedLanguage" +}, +"type": "array" +}, +"layout": { +"$ref": "GoogleCloudDocumentaiV1beta2DocumentPageLayout", +"description": "Layout for Symbol." +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta2DocumentPageTable": { +"description": "A table representation similar to HTML table structure.", +"id": "GoogleCloudDocumentaiV1beta2DocumentPageTable", +"properties": { +"bodyRows": { +"description": "Body rows of the table.", +"items": { +"$ref": "GoogleCloudDocumentaiV1beta2DocumentPageTableTableRow" +}, +"type": "array" +}, +"detectedLanguages": { +"description": "A list of detected languages together with confidence.", +"items": { +"$ref": "GoogleCloudDocumentaiV1beta2DocumentPageDetectedLanguage" +}, +"type": "array" +}, +"headerRows": { +"description": "Header rows of the table.", +"items": { +"$ref": "GoogleCloudDocumentaiV1beta2DocumentPageTableTableRow" +}, +"type": "array" +}, +"layout": { +"$ref": "GoogleCloudDocumentaiV1beta2DocumentPageLayout", +"description": "Layout for Table." +}, +"provenance": { +"$ref": "GoogleCloudDocumentaiV1beta2DocumentProvenance", +"deprecated": true, +"description": "The history of this table." +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta2DocumentPageTableTableCell": { +"description": "A cell representation inside the table.", +"id": "GoogleCloudDocumentaiV1beta2DocumentPageTableTableCell", +"properties": { +"colSpan": { +"description": "How many columns this cell spans.", +"format": "int32", +"type": "integer" +}, +"detectedLanguages": { +"description": "A list of detected languages together with confidence.", +"items": { +"$ref": "GoogleCloudDocumentaiV1beta2DocumentPageDetectedLanguage" +}, +"type": "array" +}, +"layout": { +"$ref": "GoogleCloudDocumentaiV1beta2DocumentPageLayout", +"description": "Layout for TableCell." +}, +"rowSpan": { +"description": "How many rows this cell spans.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta2DocumentPageTableTableRow": { +"description": "A row of table cells.", +"id": "GoogleCloudDocumentaiV1beta2DocumentPageTableTableRow", +"properties": { +"cells": { +"description": "Cells that make up this row.", +"items": { +"$ref": "GoogleCloudDocumentaiV1beta2DocumentPageTableTableCell" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta2DocumentPageToken": { +"description": "A detected token.", +"id": "GoogleCloudDocumentaiV1beta2DocumentPageToken", +"properties": { +"detectedBreak": { +"$ref": "GoogleCloudDocumentaiV1beta2DocumentPageTokenDetectedBreak", +"description": "Detected break at the end of a Token." +}, +"detectedLanguages": { +"description": "A list of detected languages together with confidence.", +"items": { +"$ref": "GoogleCloudDocumentaiV1beta2DocumentPageDetectedLanguage" +}, +"type": "array" +}, +"layout": { +"$ref": "GoogleCloudDocumentaiV1beta2DocumentPageLayout", +"description": "Layout for Token." +}, +"provenance": { +"$ref": "GoogleCloudDocumentaiV1beta2DocumentProvenance", +"deprecated": true, +"description": "The history of this annotation." +}, +"styleInfo": { +"$ref": "GoogleCloudDocumentaiV1beta2DocumentPageTokenStyleInfo", +"description": "Text style attributes." +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta2DocumentPageTokenDetectedBreak": { +"description": "Detected break at the end of a Token.", +"id": "GoogleCloudDocumentaiV1beta2DocumentPageTokenDetectedBreak", +"properties": { +"type": { +"description": "Detected break type.", +"enum": [ +"TYPE_UNSPECIFIED", +"SPACE", +"WIDE_SPACE", +"HYPHEN" +], +"enumDescriptions": [ +"Unspecified break type.", +"A single whitespace.", +"A wider whitespace.", +"A hyphen that indicates that a token has been split across lines." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta2DocumentPageTokenStyleInfo": { +"description": "Font and other text style attributes.", +"id": "GoogleCloudDocumentaiV1beta2DocumentPageTokenStyleInfo", +"properties": { +"backgroundColor": { +"$ref": "GoogleTypeColor", +"description": "Color of the background." +}, +"bold": { +"description": "Whether the text is bold (equivalent to font_weight is at least `700`).", +"type": "boolean" +}, +"fontSize": { +"description": "Font size in points (`1` point is `\u00b9\u2044\u2087\u2082` inches).", +"format": "int32", +"type": "integer" +}, +"fontType": { +"description": "Name or style of the font.", +"type": "string" +}, +"fontWeight": { +"description": "TrueType weight on a scale `100` (thin) to `1000` (ultra-heavy). Normal is `400`, bold is `700`.", +"format": "int32", +"type": "integer" +}, +"handwritten": { +"description": "Whether the text is handwritten.", +"type": "boolean" +}, +"italic": { +"description": "Whether the text is italic.", +"type": "boolean" +}, +"letterSpacing": { +"description": "Letter spacing in points.", +"format": "double", +"type": "number" +}, +"pixelFontSize": { +"description": "Font size in pixels, equal to _unrounded font_size_ * _resolution_ \u00f7 `72.0`.", +"format": "double", +"type": "number" +}, +"smallcaps": { +"description": "Whether the text is in small caps. This feature is not supported yet.", +"type": "boolean" +}, +"strikeout": { +"description": "Whether the text is strikethrough. This feature is not supported yet.", +"type": "boolean" +}, +"subscript": { +"description": "Whether the text is a subscript. This feature is not supported yet.", +"type": "boolean" +}, +"superscript": { +"description": "Whether the text is a superscript. This feature is not supported yet.", +"type": "boolean" +}, +"textColor": { +"$ref": "GoogleTypeColor", +"description": "Color of the text." +}, +"underlined": { +"description": "Whether the text is underlined.", +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta2DocumentPageVisualElement": { +"description": "Detected non-text visual elements e.g. checkbox, signature etc. on the page.", +"id": "GoogleCloudDocumentaiV1beta2DocumentPageVisualElement", +"properties": { +"detectedLanguages": { +"description": "A list of detected languages together with confidence.", +"items": { +"$ref": "GoogleCloudDocumentaiV1beta2DocumentPageDetectedLanguage" +}, +"type": "array" +}, +"layout": { +"$ref": "GoogleCloudDocumentaiV1beta2DocumentPageLayout", +"description": "Layout for VisualElement." +}, +"type": { +"description": "Type of the VisualElement.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta2DocumentProvenance": { +"description": "Structure to identify provenance relationships between annotations in different revisions.", +"id": "GoogleCloudDocumentaiV1beta2DocumentProvenance", +"properties": { +"id": { +"deprecated": true, +"description": "The Id of this operation. Needs to be unique within the scope of the revision.", +"format": "int32", +"type": "integer" +}, +"parents": { +"description": "References to the original elements that are replaced.", +"items": { +"$ref": "GoogleCloudDocumentaiV1beta2DocumentProvenanceParent" +}, +"type": "array" +}, +"revision": { +"deprecated": true, +"description": "The index of the revision that produced this element.", +"format": "int32", +"type": "integer" +}, +"type": { +"description": "The type of provenance operation.", +"enum": [ +"OPERATION_TYPE_UNSPECIFIED", +"ADD", +"REMOVE", +"UPDATE", +"REPLACE", +"EVAL_REQUESTED", +"EVAL_APPROVED", +"EVAL_SKIPPED" +], +"enumDeprecated": [ +false, +false, +false, +false, +false, +true, +true, +true +], +"enumDescriptions": [ +"Operation type unspecified. If no operation is specified a provenance entry is simply used to match against a `parent`.", +"Add an element.", +"Remove an element identified by `parent`.", +"Updates any fields within the given provenance scope of the message. It overwrites the fields rather than replacing them. Use this when you want to update a field value of an entity without also updating all the child properties.", +"Currently unused. Replace an element identified by `parent`.", +"Deprecated. Request human review for the element identified by `parent`.", +"Deprecated. Element is reviewed and approved at human review, confidence will be set to 1.0.", +"Deprecated. Element is skipped in the validation process." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta2DocumentProvenanceParent": { +"description": "The parent element the current element is based on. Used for referencing/aligning, removal and replacement operations.", +"id": "GoogleCloudDocumentaiV1beta2DocumentProvenanceParent", +"properties": { +"id": { +"deprecated": true, +"description": "The id of the parent provenance.", +"format": "int32", +"type": "integer" +}, +"index": { +"description": "The index of the parent item in the corresponding item list (eg. list of entities, properties within entities, etc.) in the parent revision.", +"format": "int32", +"type": "integer" +}, +"revision": { +"description": "The index of the index into current revision's parent_ids list.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta2DocumentRevision": { +"description": "Contains past or forward revisions of this document.", +"id": "GoogleCloudDocumentaiV1beta2DocumentRevision", +"properties": { +"agent": { +"description": "If the change was made by a person specify the name or id of that person.", +"type": "string" +}, +"createTime": { +"description": "The time that the revision was created, internally generated by doc proto storage at the time of create.", +"format": "google-datetime", +"type": "string" +}, +"humanReview": { +"$ref": "GoogleCloudDocumentaiV1beta2DocumentRevisionHumanReview", +"description": "Human Review information of this revision." +}, +"id": { +"description": "Id of the revision, internally generated by doc proto storage. Unique within the context of the document.", +"type": "string" +}, +"parent": { +"deprecated": true, +"description": "The revisions that this revision is based on. This can include one or more parent (when documents are merged.) This field represents the index into the `revisions` field.", +"items": { +"format": "int32", +"type": "integer" +}, +"type": "array" +}, +"parentIds": { +"description": "The revisions that this revision is based on. Must include all the ids that have anything to do with this revision - eg. there are `provenance.parent.revision` fields that index into this field.", +"items": { +"type": "string" +}, +"type": "array" +}, +"processor": { +"description": "If the annotation was made by processor identify the processor by its resource name.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta2DocumentRevisionHumanReview": { +"description": "Human Review information of the document.", +"id": "GoogleCloudDocumentaiV1beta2DocumentRevisionHumanReview", +"properties": { +"state": { +"description": "Human review state. e.g. `requested`, `succeeded`, `rejected`.", +"type": "string" +}, +"stateMessage": { +"description": "A message providing more details about the current state of processing. For example, the rejection reason when the state is `rejected`.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta2DocumentShardInfo": { +"description": "For a large document, sharding may be performed to produce several document shards. Each document shard contains this field to detail which shard it is.", +"id": "GoogleCloudDocumentaiV1beta2DocumentShardInfo", +"properties": { +"shardCount": { +"description": "Total number of shards.", +"format": "int64", +"type": "string" +}, +"shardIndex": { +"description": "The 0-based index of this shard.", +"format": "int64", +"type": "string" +}, +"textOffset": { +"description": "The index of the first character in Document.text in the overall document global text.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta2DocumentStyle": { +"description": "Annotation for common text style attributes. This adheres to CSS conventions as much as possible.", +"id": "GoogleCloudDocumentaiV1beta2DocumentStyle", +"properties": { +"backgroundColor": { +"$ref": "GoogleTypeColor", +"description": "Text background color." +}, +"color": { +"$ref": "GoogleTypeColor", +"description": "Text color." +}, +"fontFamily": { +"description": "Font family such as `Arial`, `Times New Roman`. https://www.w3schools.com/cssref/pr_font_font-family.asp", +"type": "string" +}, +"fontSize": { +"$ref": "GoogleCloudDocumentaiV1beta2DocumentStyleFontSize", +"description": "Font size." +}, +"fontWeight": { +"description": "[Font weight](https://www.w3schools.com/cssref/pr_font_weight.asp). Possible values are `normal`, `bold`, `bolder`, and `lighter`.", +"type": "string" +}, +"textAnchor": { +"$ref": "GoogleCloudDocumentaiV1beta2DocumentTextAnchor", +"description": "Text anchor indexing into the Document.text." +}, +"textDecoration": { +"description": "[Text decoration](https://www.w3schools.com/cssref/pr_text_text-decoration.asp). Follows CSS standard. ", +"type": "string" +}, +"textStyle": { +"description": "[Text style](https://www.w3schools.com/cssref/pr_font_font-style.asp). Possible values are `normal`, `italic`, and `oblique`.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta2DocumentStyleFontSize": { +"description": "Font size with unit.", +"id": "GoogleCloudDocumentaiV1beta2DocumentStyleFontSize", +"properties": { +"size": { +"description": "Font size for the text.", +"format": "float", +"type": "number" +}, +"unit": { +"description": "Unit for the font size. Follows CSS naming (such as `in`, `px`, and `pt`).", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta2DocumentTextAnchor": { +"description": "Text reference indexing into the Document.text.", +"id": "GoogleCloudDocumentaiV1beta2DocumentTextAnchor", +"properties": { +"content": { +"description": "Contains the content of the text span so that users do not have to look it up in the text_segments. It is always populated for formFields.", +"type": "string" +}, +"textSegments": { +"description": "The text segments from the Document.text.", +"items": { +"$ref": "GoogleCloudDocumentaiV1beta2DocumentTextAnchorTextSegment" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta2DocumentTextAnchorTextSegment": { +"description": "A text segment in the Document.text. The indices may be out of bounds which indicate that the text extends into another document shard for large sharded documents. See ShardInfo.text_offset", +"id": "GoogleCloudDocumentaiV1beta2DocumentTextAnchorTextSegment", +"properties": { +"endIndex": { +"description": "TextSegment half open end UTF-8 char index in the Document.text.", +"format": "int64", +"type": "string" +}, +"startIndex": { +"description": "TextSegment start UTF-8 char index in the Document.text.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta2DocumentTextChange": { +"description": "This message is used for text changes aka. OCR corrections.", +"id": "GoogleCloudDocumentaiV1beta2DocumentTextChange", +"properties": { +"changedText": { +"description": "The text that replaces the text identified in the `text_anchor`.", +"type": "string" +}, +"provenance": { +"deprecated": true, +"description": "The history of this annotation.", +"items": { +"$ref": "GoogleCloudDocumentaiV1beta2DocumentProvenance" +}, +"type": "array" +}, +"textAnchor": { +"$ref": "GoogleCloudDocumentaiV1beta2DocumentTextAnchor", +"description": "Provenance of the correction. Text anchor indexing into the Document.text. There can only be a single `TextAnchor.text_segments` element. If the start and end index of the text segment are the same, the text change is inserted before that index." +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta2EntityExtractionParams": { +"description": "Parameters to control entity extraction behavior.", +"id": "GoogleCloudDocumentaiV1beta2EntityExtractionParams", +"properties": { +"enabled": { +"description": "Whether to enable entity extraction.", +"type": "boolean" +}, +"modelVersion": { +"description": "Model version of the entity extraction. Default is \"builtin/stable\". Specify \"builtin/latest\" for the latest model.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta2FormExtractionParams": { +"description": "Parameters to control form extraction behavior.", +"id": "GoogleCloudDocumentaiV1beta2FormExtractionParams", +"properties": { +"enabled": { +"description": "Whether to enable form extraction.", +"type": "boolean" +}, +"keyValuePairHints": { +"description": "Reserved for future use.", +"items": { +"$ref": "GoogleCloudDocumentaiV1beta2KeyValuePairHint" +}, +"type": "array" +}, +"modelVersion": { +"description": "Model version of the form extraction system. Default is \"builtin/stable\". Specify \"builtin/latest\" for the latest model. For custom form models, specify: \"custom/{model_name}\". Model name format is \"bucket_name/path/to/modeldir\" corresponding to \"gs://bucket_name/path/to/modeldir\" where annotated examples are stored.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta2GcsDestination": { +"description": "The Google Cloud Storage location where the output file will be written to.", +"id": "GoogleCloudDocumentaiV1beta2GcsDestination", +"properties": { +"uri": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta2GcsSource": { +"description": "The Google Cloud Storage location where the input file will be read from.", +"id": "GoogleCloudDocumentaiV1beta2GcsSource", +"properties": { +"uri": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta2InputConfig": { +"description": "The desired input location and metadata.", +"id": "GoogleCloudDocumentaiV1beta2InputConfig", +"properties": { +"contents": { +"description": "Content in bytes, represented as a stream of bytes. Note: As with all `bytes` fields, proto buffer messages use a pure binary representation, whereas JSON representations use base64. This field only works for synchronous ProcessDocument method.", +"format": "byte", +"type": "string" +}, +"gcsSource": { +"$ref": "GoogleCloudDocumentaiV1beta2GcsSource", +"description": "The Google Cloud Storage location to read the input from. This must be a single file." +}, +"mimeType": { +"description": "Required. Mimetype of the input. Current supported mimetypes are application/pdf, image/tiff, and image/gif. In addition, application/json type is supported for requests with ProcessDocumentRequest.automl_params field set. The JSON file needs to be in Document format.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta2KeyValuePairHint": { +"description": "Reserved for future use.", +"id": "GoogleCloudDocumentaiV1beta2KeyValuePairHint", +"properties": { +"key": { +"description": "The key text for the hint.", +"type": "string" +}, +"valueTypes": { +"description": "Type of the value. This is case-insensitive, and could be one of: ADDRESS, LOCATION, ORGANIZATION, PERSON, PHONE_NUMBER, ID, NUMBER, EMAIL, PRICE, TERMS, DATE, NAME. Types not in this list will be ignored.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta2NormalizedVertex": { +"description": "A vertex represents a 2D point in the image. NOTE: the normalized vertex coordinates are relative to the original image and range from 0 to 1.", +"id": "GoogleCloudDocumentaiV1beta2NormalizedVertex", +"properties": { +"x": { +"description": "X coordinate.", +"format": "float", +"type": "number" +}, +"y": { +"description": "Y coordinate (starts from the top of the image).", +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta2OcrParams": { +"description": "Parameters to control Optical Character Recognition (OCR) behavior.", +"id": "GoogleCloudDocumentaiV1beta2OcrParams", +"properties": { +"languageHints": { +"description": "List of languages to use for OCR. In most cases, an empty value yields the best results since it enables automatic language detection. For languages based on the Latin alphabet, setting `language_hints` is not needed. In rare cases, when the language of the text in the image is known, setting a hint will help get better results (although it will be a significant hindrance if the hint is wrong). Document processing returns an error if one or more of the specified languages is not one of the supported languages.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta2OperationMetadata": { +"description": "Contains metadata for the BatchProcessDocuments operation.", +"id": "GoogleCloudDocumentaiV1beta2OperationMetadata", +"properties": { +"createTime": { +"description": "The creation time of the operation.", +"format": "google-datetime", +"type": "string" +}, +"state": { +"description": "The state of the current batch processing.", +"enum": [ +"STATE_UNSPECIFIED", +"ACCEPTED", +"WAITING", +"RUNNING", +"SUCCEEDED", +"CANCELLED", +"FAILED" +], +"enumDescriptions": [ +"The default value. This value is used if the state is omitted.", +"Request is received.", +"Request operation is waiting for scheduling.", +"Request is being processed.", +"The batch processing completed successfully.", +"The batch processing was cancelled.", +"The batch processing has failed." +], +"type": "string" +}, +"stateMessage": { +"description": "A message providing more details about the current state of processing.", +"type": "string" +}, +"updateTime": { +"description": "The last update time of the operation.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta2OutputConfig": { +"description": "The desired output location and metadata.", +"id": "GoogleCloudDocumentaiV1beta2OutputConfig", +"properties": { +"gcsDestination": { +"$ref": "GoogleCloudDocumentaiV1beta2GcsDestination", +"description": "The Google Cloud Storage location to write the output to." +}, +"pagesPerShard": { +"description": "The max number of pages to include into each output Document shard JSON on Google Cloud Storage. The valid range is [1, 100]. If not specified, the default value is 20. For example, for one pdf file with 100 pages, 100 parsed pages will be produced. If `pages_per_shard` = 20, then 5 Document shard JSON files each containing 20 parsed pages will be written under the prefix OutputConfig.gcs_destination.uri and suffix pages-x-to-y.json where x and y are 1-indexed page numbers. Example GCS outputs with 157 pages and pages_per_shard = 50: pages-001-to-050.json pages-051-to-100.json pages-101-to-150.json pages-151-to-157.json", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta2ProcessDocumentRequest": { +"description": "Request to process one document.", +"id": "GoogleCloudDocumentaiV1beta2ProcessDocumentRequest", +"properties": { +"automlParams": { +"$ref": "GoogleCloudDocumentaiV1beta2AutoMlParams", +"description": "Controls AutoML model prediction behavior. AutoMlParams cannot be used together with other Params." +}, +"documentType": { +"description": "Specifies a known document type for deeper structure detection. Valid values are currently \"general\" and \"invoice\". If not provided, \"general\"\\ is used as default. If any other value is given, the request is rejected.", +"type": "string" +}, +"entityExtractionParams": { +"$ref": "GoogleCloudDocumentaiV1beta2EntityExtractionParams", +"description": "Controls entity extraction behavior. If not specified, the system will decide reasonable defaults." +}, +"formExtractionParams": { +"$ref": "GoogleCloudDocumentaiV1beta2FormExtractionParams", +"description": "Controls form extraction behavior. If not specified, the system will decide reasonable defaults." +}, +"inputConfig": { +"$ref": "GoogleCloudDocumentaiV1beta2InputConfig", +"description": "Required. Information about the input file." +}, +"ocrParams": { +"$ref": "GoogleCloudDocumentaiV1beta2OcrParams", +"description": "Controls OCR behavior. If not specified, the system will decide reasonable defaults." +}, +"outputConfig": { +"$ref": "GoogleCloudDocumentaiV1beta2OutputConfig", +"description": "The desired output location. This field is only needed in BatchProcessDocumentsRequest." +}, +"parent": { +"description": "Target project and location to make a call. Format: `projects/{project-id}/locations/{location-id}`. If no location is specified, a region will be chosen automatically. This field is only populated when used in ProcessDocument method.", +"type": "string" +}, +"tableExtractionParams": { +"$ref": "GoogleCloudDocumentaiV1beta2TableExtractionParams", +"description": "Controls table extraction behavior. If not specified, the system will decide reasonable defaults." +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta2ProcessDocumentResponse": { +"description": "Response to a single document processing request.", +"id": "GoogleCloudDocumentaiV1beta2ProcessDocumentResponse", +"properties": { +"inputConfig": { +"$ref": "GoogleCloudDocumentaiV1beta2InputConfig", +"description": "Information about the input file. This is the same as the corresponding input config in the request." +}, +"outputConfig": { +"$ref": "GoogleCloudDocumentaiV1beta2OutputConfig", +"description": "The output location of the parsed responses. The responses are written to this location as JSON-serialized `Document` objects." +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta2TableBoundHint": { +"description": "A hint for a table bounding box on the page for table parsing.", +"id": "GoogleCloudDocumentaiV1beta2TableBoundHint", +"properties": { +"boundingBox": { +"$ref": "GoogleCloudDocumentaiV1beta2BoundingPoly", +"description": "Bounding box hint for a table on this page. The coordinates must be normalized to [0,1] and the bounding box must be an axis-aligned rectangle." +}, +"pageNumber": { +"description": "Optional. Page number for multi-paged inputs this hint applies to. If not provided, this hint will apply to all pages by default. This value is 1-based.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta2TableExtractionParams": { +"description": "Parameters to control table extraction behavior.", +"id": "GoogleCloudDocumentaiV1beta2TableExtractionParams", +"properties": { +"enabled": { +"description": "Whether to enable table extraction.", +"type": "boolean" +}, +"headerHints": { +"description": "Optional. Reserved for future use.", +"items": { +"type": "string" +}, +"type": "array" +}, +"modelVersion": { +"description": "Model version of the table extraction system. Default is \"builtin/stable\". Specify \"builtin/latest\" for the latest model.", +"type": "string" +}, +"tableBoundHints": { +"description": "Optional. Table bounding box hints that can be provided to complex cases which our algorithm cannot locate the table(s) in.", +"items": { +"$ref": "GoogleCloudDocumentaiV1beta2TableBoundHint" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta2Vertex": { +"description": "A vertex represents a 2D point in the image. NOTE: the vertex coordinates are in the same scale as the original image.", +"id": "GoogleCloudDocumentaiV1beta2Vertex", +"properties": { +"x": { +"description": "X coordinate.", +"format": "int32", +"type": "integer" +}, +"y": { +"description": "Y coordinate (starts from the top of the image).", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta3BatchDeleteDocumentsMetadata": { +"id": "GoogleCloudDocumentaiV1beta3BatchDeleteDocumentsMetadata", +"properties": { +"commonMetadata": { +"$ref": "GoogleCloudDocumentaiV1beta3CommonOperationMetadata", +"description": "The basic metadata of the long-running operation." +}, +"errorDocumentCount": { +"description": "Total number of documents that failed to be deleted in storage.", +"format": "int32", +"type": "integer" +}, +"individualBatchDeleteStatuses": { +"description": "The list of response details of each document.", +"items": { +"$ref": "GoogleCloudDocumentaiV1beta3BatchDeleteDocumentsMetadataIndividualBatchDeleteStatus" +}, +"type": "array" +}, +"totalDocumentCount": { +"description": "Total number of documents deleting from dataset.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta3BatchDeleteDocumentsMetadataIndividualBatchDeleteStatus": { +"description": "The status of each individual document in the batch delete process.", +"id": "GoogleCloudDocumentaiV1beta3BatchDeleteDocumentsMetadataIndividualBatchDeleteStatus", +"properties": { +"documentId": { +"$ref": "GoogleCloudDocumentaiV1beta3DocumentId", +"description": "The document id of the document." +}, +"status": { +"$ref": "GoogleRpcStatus", +"description": "The status of deleting the document in storage." +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta3BatchDeleteDocumentsResponse": { +"description": "Response of the delete documents operation.", +"id": "GoogleCloudDocumentaiV1beta3BatchDeleteDocumentsResponse", +"properties": {}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta3BatchProcessMetadata": { +"description": "The long-running operation metadata for BatchProcessDocuments.", +"id": "GoogleCloudDocumentaiV1beta3BatchProcessMetadata", +"properties": { +"createTime": { +"description": "The creation time of the operation.", +"format": "google-datetime", +"type": "string" +}, +"individualProcessStatuses": { +"description": "The list of response details of each document.", +"items": { +"$ref": "GoogleCloudDocumentaiV1beta3BatchProcessMetadataIndividualProcessStatus" +}, +"type": "array" +}, +"state": { +"description": "The state of the current batch processing.", +"enum": [ +"STATE_UNSPECIFIED", +"WAITING", +"RUNNING", +"SUCCEEDED", +"CANCELLING", +"CANCELLED", +"FAILED" +], +"enumDescriptions": [ +"The default value. This value is used if the state is omitted.", +"Request operation is waiting for scheduling.", +"Request is being processed.", +"The batch processing completed successfully.", +"The batch processing was being cancelled.", +"The batch processing was cancelled.", +"The batch processing has failed." +], +"type": "string" +}, +"stateMessage": { +"description": "A message providing more details about the current state of processing. For example, the error message if the operation is failed.", +"type": "string" +}, +"updateTime": { +"description": "The last update time of the operation.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta3BatchProcessMetadataIndividualProcessStatus": { +"description": "The status of a each individual document in the batch process.", +"id": "GoogleCloudDocumentaiV1beta3BatchProcessMetadataIndividualProcessStatus", +"properties": { +"humanReviewOperation": { +"deprecated": true, +"description": "The name of the operation triggered by the processed document. If the human review process isn't triggered, this field will be empty. It has the same response type and metadata as the long-running operation returned by the ReviewDocument method.", +"type": "string" +}, +"humanReviewStatus": { +"$ref": "GoogleCloudDocumentaiV1beta3HumanReviewStatus", +"description": "The status of human review on the processed document." +}, +"inputGcsSource": { +"description": "The source of the document, same as the input_gcs_source field in the request when the batch process started.", +"type": "string" +}, +"outputGcsDestination": { +"description": "The Cloud Storage output destination (in the request as DocumentOutputConfig.GcsOutputConfig.gcs_uri) of the processed document if it was successful, otherwise empty.", +"type": "string" +}, +"status": { +"$ref": "GoogleRpcStatus", +"description": "The status processing the document." +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta3BatchProcessResponse": { +"description": "Response message for BatchProcessDocuments.", +"id": "GoogleCloudDocumentaiV1beta3BatchProcessResponse", +"properties": {}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta3CommonOperationMetadata": { +"description": "The common metadata for long running operations.", +"id": "GoogleCloudDocumentaiV1beta3CommonOperationMetadata", +"properties": { +"createTime": { +"description": "The creation time of the operation.", +"format": "google-datetime", +"type": "string" +}, +"resource": { +"description": "A related resource to this operation.", +"type": "string" +}, +"state": { +"description": "The state of the operation.", +"enum": [ +"STATE_UNSPECIFIED", +"RUNNING", +"CANCELLING", +"SUCCEEDED", +"FAILED", +"CANCELLED" +], +"enumDescriptions": [ +"Unspecified state.", +"Operation is still running.", +"Operation is being cancelled.", +"Operation succeeded.", +"Operation failed.", +"Operation is cancelled." +], +"type": "string" +}, +"stateMessage": { +"description": "A message providing more details about the current state of processing.", +"type": "string" +}, +"updateTime": { +"description": "The last update time of the operation.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta3Dataset": { +"description": "A singleton resource under a Processor which configures a collection of documents.", +"id": "GoogleCloudDocumentaiV1beta3Dataset", +"properties": { +"documentWarehouseConfig": { +"$ref": "GoogleCloudDocumentaiV1beta3DatasetDocumentWarehouseConfig", +"deprecated": true, +"description": "Optional. Deprecated. Warehouse-based dataset configuration is not supported." +}, +"gcsManagedConfig": { +"$ref": "GoogleCloudDocumentaiV1beta3DatasetGCSManagedConfig", +"description": "Optional. User-managed Cloud Storage dataset configuration. Use this configuration if the dataset documents are stored under a user-managed Cloud Storage location." +}, +"name": { +"description": "Dataset resource name. Format: `projects/{project}/locations/{location}/processors/{processor}/dataset`", +"type": "string" +}, +"satisfiesPzi": { +"description": "Output only. Reserved for future use.", +"readOnly": true, +"type": "boolean" +}, +"satisfiesPzs": { +"description": "Output only. Reserved for future use.", +"readOnly": true, +"type": "boolean" +}, +"spannerIndexingConfig": { +"$ref": "GoogleCloudDocumentaiV1beta3DatasetSpannerIndexingConfig", +"description": "Optional. A lightweight indexing source with low latency and high reliability, but lacking advanced features like CMEK and content-based search." +}, +"state": { +"description": "Required. State of the dataset. Ignored when updating dataset.", +"enum": [ +"STATE_UNSPECIFIED", +"UNINITIALIZED", +"INITIALIZING", +"INITIALIZED" +], +"enumDescriptions": [ +"Default unspecified enum, should not be used.", +"Dataset has not been initialized.", +"Dataset is being initialized.", +"Dataset has been initialized." +], +"type": "string" +}, +"unmanagedDatasetConfig": { +"$ref": "GoogleCloudDocumentaiV1beta3DatasetUnmanagedDatasetConfig", +"description": "Optional. Unmanaged dataset configuration. Use this configuration if the dataset documents are managed by the document service internally (not user-managed)." +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta3DatasetDocumentWarehouseConfig": { +"description": "Configuration specific to the Document AI Warehouse-based implementation.", +"id": "GoogleCloudDocumentaiV1beta3DatasetDocumentWarehouseConfig", +"properties": { +"collection": { +"description": "Output only. The collection in Document AI Warehouse associated with the dataset.", +"readOnly": true, +"type": "string" +}, +"schema": { +"description": "Output only. The schema in Document AI Warehouse associated with the dataset.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta3DatasetGCSManagedConfig": { +"description": "Configuration specific to the Cloud Storage-based implementation.", +"id": "GoogleCloudDocumentaiV1beta3DatasetGCSManagedConfig", +"properties": { +"gcsPrefix": { +"$ref": "GoogleCloudDocumentaiV1beta3GcsPrefix", +"description": "Required. The Cloud Storage URI (a directory) where the documents belonging to the dataset must be stored." +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta3DatasetSpannerIndexingConfig": { +"description": "Configuration specific to spanner-based indexing.", +"id": "GoogleCloudDocumentaiV1beta3DatasetSpannerIndexingConfig", +"properties": {}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta3DatasetUnmanagedDatasetConfig": { +"description": "Configuration specific to an unmanaged dataset.", +"id": "GoogleCloudDocumentaiV1beta3DatasetUnmanagedDatasetConfig", +"properties": {}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta3DeleteProcessorMetadata": { +"description": "The long-running operation metadata for the DeleteProcessor method.", +"id": "GoogleCloudDocumentaiV1beta3DeleteProcessorMetadata", +"properties": { +"commonMetadata": { +"$ref": "GoogleCloudDocumentaiV1beta3CommonOperationMetadata", +"description": "The basic metadata of the long-running operation." +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta3DeleteProcessorVersionMetadata": { +"description": "The long-running operation metadata for the DeleteProcessorVersion method.", +"id": "GoogleCloudDocumentaiV1beta3DeleteProcessorVersionMetadata", +"properties": { +"commonMetadata": { +"$ref": "GoogleCloudDocumentaiV1beta3CommonOperationMetadata", +"description": "The basic metadata of the long-running operation." +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta3DeployProcessorVersionMetadata": { +"description": "The long-running operation metadata for the DeployProcessorVersion method.", +"id": "GoogleCloudDocumentaiV1beta3DeployProcessorVersionMetadata", +"properties": { +"commonMetadata": { +"$ref": "GoogleCloudDocumentaiV1beta3CommonOperationMetadata", +"description": "The basic metadata of the long-running operation." +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta3DeployProcessorVersionResponse": { +"description": "Response message for the DeployProcessorVersion method.", +"id": "GoogleCloudDocumentaiV1beta3DeployProcessorVersionResponse", +"properties": {}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta3DisableProcessorMetadata": { +"description": "The long-running operation metadata for the DisableProcessor method.", +"id": "GoogleCloudDocumentaiV1beta3DisableProcessorMetadata", +"properties": { +"commonMetadata": { +"$ref": "GoogleCloudDocumentaiV1beta3CommonOperationMetadata", +"description": "The basic metadata of the long-running operation." +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta3DisableProcessorResponse": { +"description": "Response message for the DisableProcessor method. Intentionally empty proto for adding fields in future.", +"id": "GoogleCloudDocumentaiV1beta3DisableProcessorResponse", +"properties": {}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta3DocumentId": { +"description": "Document Identifier.", +"id": "GoogleCloudDocumentaiV1beta3DocumentId", +"properties": { +"gcsManagedDocId": { +"$ref": "GoogleCloudDocumentaiV1beta3DocumentIdGCSManagedDocumentId", +"description": "A document id within user-managed Cloud Storage." +}, +"revisionRef": { +"$ref": "GoogleCloudDocumentaiV1beta3RevisionRef", +"description": "Points to a specific revision of the document if set." +}, +"unmanagedDocId": { +"$ref": "GoogleCloudDocumentaiV1beta3DocumentIdUnmanagedDocumentId", +"description": "A document id within unmanaged dataset." +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta3DocumentIdGCSManagedDocumentId": { +"description": "Identifies a document uniquely within the scope of a dataset in the user-managed Cloud Storage option.", +"id": "GoogleCloudDocumentaiV1beta3DocumentIdGCSManagedDocumentId", +"properties": { +"cwDocId": { +"deprecated": true, +"description": "Id of the document (indexed) managed by Content Warehouse.", +"type": "string" +}, +"gcsUri": { +"description": "Required. The Cloud Storage URI where the actual document is stored.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta3DocumentIdUnmanagedDocumentId": { +"description": "Identifies a document uniquely within the scope of a dataset in unmanaged option.", +"id": "GoogleCloudDocumentaiV1beta3DocumentIdUnmanagedDocumentId", +"properties": { +"docId": { +"description": "Required. The id of the document.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta3EnableProcessorMetadata": { +"description": "The long-running operation metadata for the EnableProcessor method.", +"id": "GoogleCloudDocumentaiV1beta3EnableProcessorMetadata", +"properties": { +"commonMetadata": { +"$ref": "GoogleCloudDocumentaiV1beta3CommonOperationMetadata", +"description": "The basic metadata of the long-running operation." +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta3EnableProcessorResponse": { +"description": "Response message for the EnableProcessor method. Intentionally empty proto for adding fields in future.", +"id": "GoogleCloudDocumentaiV1beta3EnableProcessorResponse", +"properties": {}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta3EvaluateProcessorVersionMetadata": { +"description": "Metadata of the EvaluateProcessorVersion method.", +"id": "GoogleCloudDocumentaiV1beta3EvaluateProcessorVersionMetadata", +"properties": { +"commonMetadata": { +"$ref": "GoogleCloudDocumentaiV1beta3CommonOperationMetadata", +"description": "The basic metadata of the long-running operation." +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta3EvaluateProcessorVersionResponse": { +"description": "Response of the EvaluateProcessorVersion method.", +"id": "GoogleCloudDocumentaiV1beta3EvaluateProcessorVersionResponse", +"properties": { +"evaluation": { +"description": "The resource name of the created evaluation.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta3GcsPrefix": { +"description": "Specifies all documents on Cloud Storage with a common prefix.", +"id": "GoogleCloudDocumentaiV1beta3GcsPrefix", +"properties": { +"gcsUriPrefix": { +"description": "The URI prefix.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta3HumanReviewStatus": { +"description": "The status of human review on a processed document.", +"id": "GoogleCloudDocumentaiV1beta3HumanReviewStatus", +"properties": { +"humanReviewOperation": { +"description": "The name of the operation triggered by the processed document. This field is populated only when the state is `HUMAN_REVIEW_IN_PROGRESS`. It has the same response type and metadata as the long-running operation returned by ReviewDocument.", +"type": "string" +}, +"state": { +"description": "The state of human review on the processing request.", +"enum": [ +"STATE_UNSPECIFIED", +"SKIPPED", +"VALIDATION_PASSED", +"IN_PROGRESS", +"ERROR" +], +"enumDescriptions": [ +"Human review state is unspecified. Most likely due to an internal error.", +"Human review is skipped for the document. This can happen because human review isn't enabled on the processor or the processing request has been set to skip this document.", +"Human review validation is triggered and passed, so no review is needed.", +"Human review validation is triggered and the document is under review.", +"Some error happened during triggering human review, see the state_message for details." +], +"type": "string" +}, +"stateMessage": { +"description": "A message providing more details about the human review state.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta3ImportDocumentsMetadata": { +"description": "Metadata of the import document operation.", +"id": "GoogleCloudDocumentaiV1beta3ImportDocumentsMetadata", +"properties": { +"commonMetadata": { +"$ref": "GoogleCloudDocumentaiV1beta3CommonOperationMetadata", +"description": "The basic metadata of the long-running operation." +}, +"importConfigValidationResults": { +"description": "Validation statuses of the batch documents import config.", +"items": { +"$ref": "GoogleCloudDocumentaiV1beta3ImportDocumentsMetadataImportConfigValidationResult" +}, +"type": "array" +}, +"individualImportStatuses": { +"description": "The list of response details of each document.", +"items": { +"$ref": "GoogleCloudDocumentaiV1beta3ImportDocumentsMetadataIndividualImportStatus" +}, +"type": "array" +}, +"totalDocumentCount": { +"description": "Total number of the documents that are qualified for importing.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta3ImportDocumentsMetadataImportConfigValidationResult": { +"description": "The validation status of each import config. Status is set to an error if there are no documents to import in the `import_config`, or `OK` if the operation will try to proceed with at least one document.", +"id": "GoogleCloudDocumentaiV1beta3ImportDocumentsMetadataImportConfigValidationResult", +"properties": { +"inputGcsSource": { +"description": "The source Cloud Storage URI specified in the import config.", +"type": "string" +}, +"status": { +"$ref": "GoogleRpcStatus", +"description": "The validation status of import config." +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta3ImportDocumentsMetadataIndividualImportStatus": { +"description": "The status of each individual document in the import process.", +"id": "GoogleCloudDocumentaiV1beta3ImportDocumentsMetadataIndividualImportStatus", +"properties": { +"inputGcsSource": { +"description": "The source Cloud Storage URI of the document.", +"type": "string" +}, +"outputDocumentId": { +"$ref": "GoogleCloudDocumentaiV1beta3DocumentId", +"description": "The document id of imported document if it was successful, otherwise empty." +}, +"status": { +"$ref": "GoogleRpcStatus", +"description": "The status of the importing of the document." +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta3ImportDocumentsResponse": { +"description": "Response of the import document operation.", +"id": "GoogleCloudDocumentaiV1beta3ImportDocumentsResponse", +"properties": {}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta3ImportProcessorVersionMetadata": { +"description": "The long-running operation metadata for the ImportProcessorVersion method.", +"id": "GoogleCloudDocumentaiV1beta3ImportProcessorVersionMetadata", +"properties": { +"commonMetadata": { +"$ref": "GoogleCloudDocumentaiV1beta3CommonOperationMetadata", +"description": "The basic metadata for the long-running operation." +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta3ImportProcessorVersionResponse": { +"description": "The response message for the ImportProcessorVersion method.", +"id": "GoogleCloudDocumentaiV1beta3ImportProcessorVersionResponse", +"properties": { +"processorVersion": { +"description": "The destination processor version name.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta3ReviewDocumentOperationMetadata": { +"description": "The long-running operation metadata for the ReviewDocument method.", +"id": "GoogleCloudDocumentaiV1beta3ReviewDocumentOperationMetadata", +"properties": { +"commonMetadata": { +"$ref": "GoogleCloudDocumentaiV1beta3CommonOperationMetadata", +"description": "The basic metadata of the long-running operation." +}, +"createTime": { +"description": "The creation time of the operation.", +"format": "google-datetime", +"type": "string" +}, +"questionId": { +"description": "The Crowd Compute question ID.", +"type": "string" +}, +"state": { +"description": "Used only when Operation.done is false.", +"enum": [ +"STATE_UNSPECIFIED", +"RUNNING", +"CANCELLING", +"SUCCEEDED", +"FAILED", +"CANCELLED" +], +"enumDescriptions": [ +"Unspecified state.", +"Operation is still running.", +"Operation is being cancelled.", +"Operation succeeded.", +"Operation failed.", +"Operation is cancelled." +], +"type": "string" +}, +"stateMessage": { +"description": "A message providing more details about the current state of processing. For example, the error message if the operation is failed.", +"type": "string" +}, +"updateTime": { +"description": "The last update time of the operation.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta3ReviewDocumentResponse": { +"description": "Response message for the ReviewDocument method.", +"id": "GoogleCloudDocumentaiV1beta3ReviewDocumentResponse", +"properties": { +"gcsDestination": { +"description": "The Cloud Storage uri for the human reviewed document if the review is succeeded.", +"type": "string" +}, +"rejectionReason": { +"description": "The reason why the review is rejected by reviewer.", +"type": "string" +}, +"state": { +"description": "The state of the review operation.", +"enum": [ +"STATE_UNSPECIFIED", +"REJECTED", +"SUCCEEDED" +], +"enumDescriptions": [ +"The default value. This value is used if the state is omitted.", +"The review operation is rejected by the reviewer.", +"The review operation is succeeded." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta3RevisionRef": { +"description": "The revision reference specifies which revision on the document to read.", +"id": "GoogleCloudDocumentaiV1beta3RevisionRef", +"properties": { +"latestProcessorVersion": { +"description": "Reads the revision generated by the processor version. The format takes the full resource name of processor version. `projects/{project}/locations/{location}/processors/{processor}/processorVersions/{processorVersion}`", +"type": "string" +}, +"revisionCase": { +"description": "Reads the revision by the predefined case.", +"enum": [ +"REVISION_CASE_UNSPECIFIED", +"LATEST_HUMAN_REVIEW", +"LATEST_TIMESTAMP", +"BASE_OCR_REVISION" +], +"enumDescriptions": [ +"Unspecified case, fall back to read the `LATEST_HUMAN_REVIEW`.", +"The latest revision made by a human.", +"The latest revision based on timestamp.", +"The first (OCR) revision." +], +"type": "string" +}, +"revisionId": { +"description": "Reads the revision given by the id.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta3SetDefaultProcessorVersionMetadata": { +"description": "The long-running operation metadata for the SetDefaultProcessorVersion method.", +"id": "GoogleCloudDocumentaiV1beta3SetDefaultProcessorVersionMetadata", +"properties": { +"commonMetadata": { +"$ref": "GoogleCloudDocumentaiV1beta3CommonOperationMetadata", +"description": "The basic metadata of the long-running operation." +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta3SetDefaultProcessorVersionResponse": { +"description": "Response message for the SetDefaultProcessorVersion method.", +"id": "GoogleCloudDocumentaiV1beta3SetDefaultProcessorVersionResponse", +"properties": {}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta3TrainProcessorVersionMetadata": { +"description": "The metadata that represents a processor version being created.", +"id": "GoogleCloudDocumentaiV1beta3TrainProcessorVersionMetadata", +"properties": { +"commonMetadata": { +"$ref": "GoogleCloudDocumentaiV1beta3CommonOperationMetadata", +"description": "The basic metadata of the long-running operation." +}, +"testDatasetValidation": { +"$ref": "GoogleCloudDocumentaiV1beta3TrainProcessorVersionMetadataDatasetValidation", +"description": "The test dataset validation information." +}, +"trainingDatasetValidation": { +"$ref": "GoogleCloudDocumentaiV1beta3TrainProcessorVersionMetadataDatasetValidation", +"description": "The training dataset validation information." +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta3TrainProcessorVersionMetadataDatasetValidation": { +"description": "The dataset validation information. This includes any and all errors with documents and the dataset.", +"id": "GoogleCloudDocumentaiV1beta3TrainProcessorVersionMetadataDatasetValidation", +"properties": { +"datasetErrorCount": { +"description": "The total number of dataset errors.", +"format": "int32", +"type": "integer" +}, +"datasetErrors": { +"description": "Error information for the dataset as a whole. A maximum of 10 dataset errors will be returned. A single dataset error is terminal for training.", +"items": { +"$ref": "GoogleRpcStatus" +}, +"type": "array" +}, +"documentErrorCount": { +"description": "The total number of document errors.", +"format": "int32", +"type": "integer" +}, +"documentErrors": { +"description": "Error information pertaining to specific documents. A maximum of 10 document errors will be returned. Any document with errors will not be used throughout training.", +"items": { +"$ref": "GoogleRpcStatus" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta3TrainProcessorVersionResponse": { +"description": "The response for TrainProcessorVersion.", +"id": "GoogleCloudDocumentaiV1beta3TrainProcessorVersionResponse", +"properties": { +"processorVersion": { +"description": "The resource name of the processor version produced by training.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta3UndeployProcessorVersionMetadata": { +"description": "The long-running operation metadata for the UndeployProcessorVersion method.", +"id": "GoogleCloudDocumentaiV1beta3UndeployProcessorVersionMetadata", +"properties": { +"commonMetadata": { +"$ref": "GoogleCloudDocumentaiV1beta3CommonOperationMetadata", +"description": "The basic metadata of the long-running operation." +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta3UndeployProcessorVersionResponse": { +"description": "Response message for the UndeployProcessorVersion method.", +"id": "GoogleCloudDocumentaiV1beta3UndeployProcessorVersionResponse", +"properties": {}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta3UpdateDatasetOperationMetadata": { +"id": "GoogleCloudDocumentaiV1beta3UpdateDatasetOperationMetadata", +"properties": { +"commonMetadata": { +"$ref": "GoogleCloudDocumentaiV1beta3CommonOperationMetadata", +"description": "The basic metadata of the long-running operation." +} +}, +"type": "object" +}, +"GoogleLongrunningOperation": { +"description": "This resource represents a long-running operation that is the result of a network API call.", +"id": "GoogleLongrunningOperation", +"properties": { +"done": { +"description": "If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.", +"type": "boolean" +}, +"error": { +"$ref": "GoogleRpcStatus", +"description": "The error result of the operation in case of failure or cancellation." +}, +"metadata": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.", +"type": "object" +}, +"name": { +"description": "The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.", +"type": "string" +}, +"response": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "The normal, successful response of the operation. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.", +"type": "object" +} +}, +"type": "object" +}, +"GoogleProtobufEmpty": { +"description": "A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }", +"id": "GoogleProtobufEmpty", +"properties": {}, +"type": "object" +}, +"GoogleRpcStatus": { +"description": "The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors).", +"id": "GoogleRpcStatus", +"properties": { +"code": { +"description": "The status code, which should be an enum value of google.rpc.Code.", +"format": "int32", +"type": "integer" +}, +"details": { +"description": "A list of messages that carry the error details. There is a common set of message types for APIs to use.", +"items": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleTypeColor": { +"description": "Represents a color in the RGBA color space. This representation is designed for simplicity of conversion to and from color representations in various languages over compactness. For example, the fields of this representation can be trivially provided to the constructor of `java.awt.Color` in Java; it can also be trivially provided to UIColor's `+colorWithRed:green:blue:alpha` method in iOS; and, with just a little work, it can be easily formatted into a CSS `rgba()` string in JavaScript. This reference page doesn't have information about the absolute color space that should be used to interpret the RGB value\u2014for example, sRGB, Adobe RGB, DCI-P3, and BT.2020. By default, applications should assume the sRGB color space. When color equality needs to be decided, implementations, unless documented otherwise, treat two colors as equal if all their red, green, blue, and alpha values each differ by at most `1e-5`. Example (Java): import com.google.type.Color; // ... public static java.awt.Color fromProto(Color protocolor) { float alpha = protocolor.hasAlpha() ? protocolor.getAlpha().getValue() : 1.0; return new java.awt.Color( protocolor.getRed(), protocolor.getGreen(), protocolor.getBlue(), alpha); } public static Color toProto(java.awt.Color color) { float red = (float) color.getRed(); float green = (float) color.getGreen(); float blue = (float) color.getBlue(); float denominator = 255.0; Color.Builder resultBuilder = Color .newBuilder() .setRed(red / denominator) .setGreen(green / denominator) .setBlue(blue / denominator); int alpha = color.getAlpha(); if (alpha != 255) { result.setAlpha( FloatValue .newBuilder() .setValue(((float) alpha) / denominator) .build()); } return resultBuilder.build(); } // ... Example (iOS / Obj-C): // ... static UIColor* fromProto(Color* protocolor) { float red = [protocolor red]; float green = [protocolor green]; float blue = [protocolor blue]; FloatValue* alpha_wrapper = [protocolor alpha]; float alpha = 1.0; if (alpha_wrapper != nil) { alpha = [alpha_wrapper value]; } return [UIColor colorWithRed:red green:green blue:blue alpha:alpha]; } static Color* toProto(UIColor* color) { CGFloat red, green, blue, alpha; if (![color getRed:&red green:&green blue:&blue alpha:&alpha]) { return nil; } Color* result = [[Color alloc] init]; [result setRed:red]; [result setGreen:green]; [result setBlue:blue]; if (alpha <= 0.9999) { [result setAlpha:floatWrapperWithValue(alpha)]; } [result autorelease]; return result; } // ... Example (JavaScript): // ... var protoToCssColor = function(rgb_color) { var redFrac = rgb_color.red || 0.0; var greenFrac = rgb_color.green || 0.0; var blueFrac = rgb_color.blue || 0.0; var red = Math.floor(redFrac * 255); var green = Math.floor(greenFrac * 255); var blue = Math.floor(blueFrac * 255); if (!('alpha' in rgb_color)) { return rgbToCssColor(red, green, blue); } var alphaFrac = rgb_color.alpha.value || 0.0; var rgbParams = [red, green, blue].join(','); return ['rgba(', rgbParams, ',', alphaFrac, ')'].join(''); }; var rgbToCssColor = function(red, green, blue) { var rgbNumber = new Number((red << 16) | (green << 8) | blue); var hexString = rgbNumber.toString(16); var missingZeros = 6 - hexString.length; var resultBuilder = ['#']; for (var i = 0; i < missingZeros; i++) { resultBuilder.push('0'); } resultBuilder.push(hexString); return resultBuilder.join(''); }; // ...", +"id": "GoogleTypeColor", +"properties": { +"alpha": { +"description": "The fraction of this color that should be applied to the pixel. That is, the final pixel color is defined by the equation: `pixel color = alpha * (this color) + (1.0 - alpha) * (background color)` This means that a value of 1.0 corresponds to a solid color, whereas a value of 0.0 corresponds to a completely transparent color. This uses a wrapper message rather than a simple float scalar so that it is possible to distinguish between a default value and the value being unset. If omitted, this color object is rendered as a solid color (as if the alpha value had been explicitly given a value of 1.0).", +"format": "float", +"type": "number" +}, +"blue": { +"description": "The amount of blue in the color as a value in the interval [0, 1].", +"format": "float", +"type": "number" +}, +"green": { +"description": "The amount of green in the color as a value in the interval [0, 1].", +"format": "float", +"type": "number" +}, +"red": { +"description": "The amount of red in the color as a value in the interval [0, 1].", +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"GoogleTypeDate": { +"description": "Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following: * A full date, with non-zero year, month, and day values. * A month and day, with a zero year (for example, an anniversary). * A year on its own, with a zero month and a zero day. * A year and month, with a zero day (for example, a credit card expiration date). Related types: * google.type.TimeOfDay * google.type.DateTime * google.protobuf.Timestamp", +"id": "GoogleTypeDate", +"properties": { +"day": { +"description": "Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn't significant.", +"format": "int32", +"type": "integer" +}, +"month": { +"description": "Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.", +"format": "int32", +"type": "integer" +}, +"year": { +"description": "Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"GoogleTypeDateTime": { +"description": "Represents civil time (or occasionally physical time). This type can represent a civil time in one of a few possible ways: * When utc_offset is set and time_zone is unset: a civil time on a calendar day with a particular offset from UTC. * When time_zone is set and utc_offset is unset: a civil time on a calendar day in a particular time zone. * When neither time_zone nor utc_offset is set: a civil time on a calendar day in local time. The date is relative to the Proleptic Gregorian Calendar. If year, month, or day are 0, the DateTime is considered not to have a specific year, month, or day respectively. This type may also be used to represent a physical time if all the date and time fields are set and either case of the `time_offset` oneof is set. Consider using `Timestamp` message for physical time instead. If your use case also would like to store the user's timezone, that can be done in another field. This type is more flexible than some applications may want. Make sure to document and validate your application's limitations.", +"id": "GoogleTypeDateTime", +"properties": { +"day": { +"description": "Optional. Day of month. Must be from 1 to 31 and valid for the year and month, or 0 if specifying a datetime without a day.", +"format": "int32", +"type": "integer" +}, +"hours": { +"description": "Optional. Hours of day in 24 hour format. Should be from 0 to 23, defaults to 0 (midnight). An API may choose to allow the value \"24:00:00\" for scenarios like business closing time.", +"format": "int32", +"type": "integer" +}, +"minutes": { +"description": "Optional. Minutes of hour of day. Must be from 0 to 59, defaults to 0.", +"format": "int32", +"type": "integer" +}, +"month": { +"description": "Optional. Month of year. Must be from 1 to 12, or 0 if specifying a datetime without a month.", +"format": "int32", +"type": "integer" +}, +"nanos": { +"description": "Optional. Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999, defaults to 0.", +"format": "int32", +"type": "integer" +}, +"seconds": { +"description": "Optional. Seconds of minutes of the time. Must normally be from 0 to 59, defaults to 0. An API may allow the value 60 if it allows leap-seconds.", +"format": "int32", +"type": "integer" +}, +"timeZone": { +"$ref": "GoogleTypeTimeZone", +"description": "Time zone." +}, +"utcOffset": { +"description": "UTC offset. Must be whole seconds, between -18 hours and +18 hours. For example, a UTC offset of -4:00 would be represented as { seconds: -14400 }.", +"format": "google-duration", +"type": "string" +}, +"year": { +"description": "Optional. Year of date. Must be from 1 to 9999, or 0 if specifying a datetime without a year.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"GoogleTypeMoney": { +"description": "Represents an amount of money with its currency type.", +"id": "GoogleTypeMoney", +"properties": { +"currencyCode": { +"description": "The three-letter currency code defined in ISO 4217.", +"type": "string" +}, +"nanos": { +"description": "Number of nano (10^-9) units of the amount. The value must be between -999,999,999 and +999,999,999 inclusive. If `units` is positive, `nanos` must be positive or zero. If `units` is zero, `nanos` can be positive, zero, or negative. If `units` is negative, `nanos` must be negative or zero. For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000.", +"format": "int32", +"type": "integer" +}, +"units": { +"description": "The whole units of the amount. For example if `currencyCode` is `\"USD\"`, then 1 unit is one US dollar.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"GoogleTypePostalAddress": { +"description": "Represents a postal address, e.g. for postal delivery or payments addresses. Given a postal address, a postal service can deliver items to a premise, P.O. Box or similar. It is not intended to model geographical locations (roads, towns, mountains). In typical usage an address would be created via user input or from importing existing data, depending on the type of process. Advice on address input / editing: - Use an internationalization-ready address widget such as https://github.com/google/libaddressinput) - Users should not be presented with UI elements for input or editing of fields outside countries where that field is used. For more guidance on how to use this schema, please see: https://support.google.com/business/answer/6397478", +"id": "GoogleTypePostalAddress", +"properties": { +"addressLines": { +"description": "Unstructured address lines describing the lower levels of an address. Because values in address_lines do not have type information and may sometimes contain multiple values in a single field (e.g. \"Austin, TX\"), it is important that the line order is clear. The order of address lines should be \"envelope order\" for the country/region of the address. In places where this can vary (e.g. Japan), address_language is used to make it explicit (e.g. \"ja\" for large-to-small ordering and \"ja-Latn\" or \"en\" for small-to-large). This way, the most specific line of an address can be selected based on the language. The minimum permitted structural representation of an address consists of a region_code with all remaining information placed in the address_lines. It would be possible to format such an address very approximately without geocoding, but no semantic reasoning could be made about any of the address components until it was at least partially resolved. Creating an address only containing a region_code and address_lines, and then geocoding is the recommended way to handle completely unstructured addresses (as opposed to guessing which parts of the address should be localities or administrative areas).", +"items": { +"type": "string" +}, +"type": "array" +}, +"administrativeArea": { +"description": "Optional. Highest administrative subdivision which is used for postal addresses of a country or region. For example, this can be a state, a province, an oblast, or a prefecture. Specifically, for Spain this is the province and not the autonomous community (e.g. \"Barcelona\" and not \"Catalonia\"). Many countries don't use an administrative area in postal addresses. E.g. in Switzerland this should be left unpopulated.", +"type": "string" +}, +"languageCode": { +"description": "Optional. BCP-47 language code of the contents of this address (if known). This is often the UI language of the input form or is expected to match one of the languages used in the address' country/region, or their transliterated equivalents. This can affect formatting in certain countries, but is not critical to the correctness of the data and will never affect any validation or other non-formatting related operations. If this value is not known, it should be omitted (rather than specifying a possibly incorrect default). Examples: \"zh-Hant\", \"ja\", \"ja-Latn\", \"en\".", +"type": "string" +}, +"locality": { +"description": "Optional. Generally refers to the city/town portion of the address. Examples: US city, IT comune, UK post town. In regions of the world where localities are not well defined or do not fit into this structure well, leave locality empty and use address_lines.", +"type": "string" +}, +"organization": { +"description": "Optional. The name of the organization at the address.", +"type": "string" +}, +"postalCode": { +"description": "Optional. Postal code of the address. Not all countries use or require postal codes to be present, but where they are used, they may trigger additional validation with other parts of the address (e.g. state/zip validation in the U.S.A.).", +"type": "string" +}, +"recipients": { +"description": "Optional. The recipient at the address. This field may, under certain circumstances, contain multiline information. For example, it might contain \"care of\" information.", +"items": { +"type": "string" +}, +"type": "array" +}, +"regionCode": { +"description": "Required. CLDR region code of the country/region of the address. This is never inferred and it is up to the user to ensure the value is correct. See https://cldr.unicode.org/ and https://www.unicode.org/cldr/charts/30/supplemental/territory_information.html for details. Example: \"CH\" for Switzerland.", +"type": "string" +}, +"revision": { +"description": "The schema revision of the `PostalAddress`. This must be set to 0, which is the latest revision. All new revisions **must** be backward compatible with old revisions.", +"format": "int32", +"type": "integer" +}, +"sortingCode": { +"description": "Optional. Additional, country-specific, sorting code. This is not used in most regions. Where it is used, the value is either a string like \"CEDEX\", optionally followed by a number (e.g. \"CEDEX 7\"), or just a number alone, representing the \"sector code\" (Jamaica), \"delivery area indicator\" (Malawi) or \"post office indicator\" (e.g. C\u00f4te d'Ivoire).", +"type": "string" +}, +"sublocality": { +"description": "Optional. Sublocality of the address. For example, this can be neighborhoods, boroughs, districts.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleTypeTimeZone": { +"description": "Represents a time zone from the [IANA Time Zone Database](https://www.iana.org/time-zones).", +"id": "GoogleTypeTimeZone", +"properties": { +"id": { +"description": "IANA Time Zone Database time zone, e.g. \"America/New_York\".", +"type": "string" +}, +"version": { +"description": "Optional. IANA Time Zone Database version number, e.g. \"2019a\".", +"type": "string" +} +}, +"type": "object" +} +}, +"servicePath": "", +"title": "Cloud Document AI API", +"version": "v1beta2", +"version_module": true +} \ No newline at end of file diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/documentai.v1beta3.json b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/documentai.v1beta3.json new file mode 100644 index 0000000000000000000000000000000000000000..e66f3b089e287d94c0893bc65ddee57bbbb68ab6 --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/documentai.v1beta3.json @@ -0,0 +1,9017 @@ +{ +"auth": { +"oauth2": { +"scopes": { +"https://www.googleapis.com/auth/cloud-platform": { +"description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." +} +} +} +}, +"basePath": "", +"baseUrl": "https://documentai.googleapis.com/", +"batchPath": "batch", +"canonicalName": "Document", +"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.", +"discoveryVersion": "v1", +"documentationLink": "https://cloud.google.com/document-ai/docs/", +"endpoints": [ +{ +"description": "Regional Endpoint", +"endpointUrl": "https://documentai.us.rep.googleapis.com/", +"location": "us" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://documentai.eu.rep.googleapis.com/", +"location": "eu" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://documentai.asia-south1.rep.googleapis.com/", +"location": "asia-south1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://documentai.asia-southeast1.rep.googleapis.com/", +"location": "asia-southeast1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://documentai.northamerica-northeast1.rep.googleapis.com/", +"location": "northamerica-northeast1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://documentai.australia-southeast1.rep.googleapis.com/", +"location": "australia-southeast1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://documentai.europe-west2.rep.googleapis.com/", +"location": "europe-west2" +} +], +"fullyEncodeReservedExpansion": true, +"icons": { +"x16": "http://www.google.com/images/icons/product/search-16.gif", +"x32": "http://www.google.com/images/icons/product/search-32.gif" +}, +"id": "documentai:v1beta3", +"kind": "discovery#restDescription", +"mtlsRootUrl": "https://documentai.mtls.googleapis.com/", +"name": "documentai", +"ownerDomain": "google.com", +"ownerName": "Google", +"parameters": { +"$.xgafv": { +"description": "V1 error format.", +"enum": [ +"1", +"2" +], +"enumDescriptions": [ +"v1 error format", +"v2 error format" +], +"location": "query", +"type": "string" +}, +"access_token": { +"description": "OAuth access token.", +"location": "query", +"type": "string" +}, +"alt": { +"default": "json", +"description": "Data format for response.", +"enum": [ +"json", +"media", +"proto" +], +"enumDescriptions": [ +"Responses with Content-Type of application/json", +"Media download with context-dependent Content-Type", +"Responses with Content-Type of application/x-protobuf" +], +"location": "query", +"type": "string" +}, +"callback": { +"description": "JSONP", +"location": "query", +"type": "string" +}, +"fields": { +"description": "Selector specifying which fields to include in a partial response.", +"location": "query", +"type": "string" +}, +"key": { +"description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", +"location": "query", +"type": "string" +}, +"oauth_token": { +"description": "OAuth 2.0 token for the current user.", +"location": "query", +"type": "string" +}, +"prettyPrint": { +"default": "true", +"description": "Returns response with indentations and line breaks.", +"location": "query", +"type": "boolean" +}, +"quotaUser": { +"description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.", +"location": "query", +"type": "string" +}, +"uploadType": { +"description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", +"location": "query", +"type": "string" +}, +"upload_protocol": { +"description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", +"location": "query", +"type": "string" +} +}, +"protocol": "rest", +"resources": { +"projects": { +"resources": { +"locations": { +"methods": { +"fetchProcessorTypes": { +"description": "Fetches processor types. Note that we don't use ListProcessorTypes here, because it isn't paginated.", +"flatPath": "v1beta3/projects/{projectsId}/locations/{locationsId}:fetchProcessorTypes", +"httpMethod": "GET", +"id": "documentai.projects.locations.fetchProcessorTypes", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The location of processor types to list. Format: `projects/{project}/locations/{location}`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta3/{+parent}:fetchProcessorTypes", +"response": { +"$ref": "GoogleCloudDocumentaiV1beta3FetchProcessorTypesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets information about a location.", +"flatPath": "v1beta3/projects/{projectsId}/locations/{locationsId}", +"httpMethod": "GET", +"id": "documentai.projects.locations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Resource name for the location.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta3/{+name}", +"response": { +"$ref": "GoogleCloudLocationLocation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists information about the supported locations for this service. This method can be called in two ways: * **List all public locations:** Use the path `GET /v1/locations`. * **List project-visible locations:** Use the path `GET /v1/projects/{project_id}/locations`. This may include public locations as well as private or other locations specifically visible to the project.", +"flatPath": "v1beta3/projects/{projectsId}/locations", +"httpMethod": "GET", +"id": "documentai.projects.locations.list", +"parameterOrder": [ +"name" +], +"parameters": { +"extraLocationTypes": { +"description": "Optional. Do not use this field. It is unsupported and is ignored unless explicitly documented otherwise. This is primarily for internal usage.", +"location": "query", +"repeated": true, +"type": "string" +}, +"filter": { +"description": "A filter to narrow down results to a preferred subset. The filtering language accepts strings like `\"displayName=tokyo\"`, and is documented in more detail in [AIP-160](https://google.aip.dev/160).", +"location": "query", +"type": "string" +}, +"name": { +"description": "The resource that owns the locations collection, if applicable.", +"location": "path", +"pattern": "^projects/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The maximum number of results to return. If not set, the service selects a default.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A page token received from the `next_page_token` field in the response. Send that page token to receive the subsequent page.", +"location": "query", +"type": "string" +} +}, +"path": "v1beta3/{+name}/locations", +"response": { +"$ref": "GoogleCloudLocationListLocationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"operations": { +"methods": { +"cancel": { +"description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.", +"flatPath": "v1beta3/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}:cancel", +"httpMethod": "POST", +"id": "documentai.projects.locations.operations.cancel", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be cancelled.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta3/{+name}:cancel", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", +"flatPath": "v1beta3/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}", +"httpMethod": "GET", +"id": "documentai.projects.locations.operations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta3/{+name}", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.", +"flatPath": "v1beta3/projects/{projectsId}/locations/{locationsId}/operations", +"httpMethod": "GET", +"id": "documentai.projects.locations.operations.list", +"parameterOrder": [ +"name" +], +"parameters": { +"filter": { +"description": "The standard list filter.", +"location": "query", +"type": "string" +}, +"name": { +"description": "The name of the operation's parent resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/operations$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The standard list page size.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The standard list page token.", +"location": "query", +"type": "string" +}, +"returnPartialSuccess": { +"description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `\"projects/example/locations/-\"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1beta3/{+name}", +"response": { +"$ref": "GoogleLongrunningListOperationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"processorTypes": { +"methods": { +"get": { +"description": "Gets a processor type detail.", +"flatPath": "v1beta3/projects/{projectsId}/locations/{locationsId}/processorTypes/{processorTypesId}", +"httpMethod": "GET", +"id": "documentai.projects.locations.processorTypes.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The processor type resource name.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/processorTypes/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta3/{+name}", +"response": { +"$ref": "GoogleCloudDocumentaiV1beta3ProcessorType" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists the processor types that exist.", +"flatPath": "v1beta3/projects/{projectsId}/locations/{locationsId}/processorTypes", +"httpMethod": "GET", +"id": "documentai.projects.locations.processorTypes.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "The maximum number of processor types to return. If unspecified, at most `100` processor types will be returned. The maximum value is `500`. Values above `500` will be coerced to `500`.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Used to retrieve the next page of results, empty if at the end of the list.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The location of processor types to list. Format: `projects/{project}/locations/{location}`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta3/{+parent}/processorTypes", +"response": { +"$ref": "GoogleCloudDocumentaiV1beta3ListProcessorTypesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"processors": { +"methods": { +"batchProcess": { +"description": "LRO endpoint to batch process many documents. The output is written to Cloud Storage as JSON in the [Document] format.", +"flatPath": "v1beta3/projects/{projectsId}/locations/{locationsId}/processors/{processorsId}:batchProcess", +"httpMethod": "POST", +"id": "documentai.projects.locations.processors.batchProcess", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of Processor or ProcessorVersion. Format: `projects/{project}/locations/{location}/processors/{processor}`, or `projects/{project}/locations/{location}/processors/{processor}/processorVersions/{processorVersion}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/processors/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta3/{+name}:batchProcess", +"request": { +"$ref": "GoogleCloudDocumentaiV1beta3BatchProcessRequest" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"create": { +"description": "Creates a processor from the ProcessorType provided. The processor will be at `ENABLED` state by default after its creation. Note that this method requires the `documentai.processors.create` permission on the project, which is highly privileged. A user or service account with this permission can create new processors that can interact with any gcs bucket in your project.", +"flatPath": "v1beta3/projects/{projectsId}/locations/{locationsId}/processors", +"httpMethod": "POST", +"id": "documentai.projects.locations.processors.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The parent (project and location) under which to create the processor. Format: `projects/{project}/locations/{location}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta3/{+parent}/processors", +"request": { +"$ref": "GoogleCloudDocumentaiV1beta3Processor" +}, +"response": { +"$ref": "GoogleCloudDocumentaiV1beta3Processor" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes the processor, unloads all deployed model artifacts if it was enabled and then deletes all artifacts associated with this processor.", +"flatPath": "v1beta3/projects/{projectsId}/locations/{locationsId}/processors/{processorsId}", +"httpMethod": "DELETE", +"id": "documentai.projects.locations.processors.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The processor resource name to be deleted.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/processors/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta3/{+name}", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"disable": { +"description": "Disables a processor", +"flatPath": "v1beta3/projects/{projectsId}/locations/{locationsId}/processors/{processorsId}:disable", +"httpMethod": "POST", +"id": "documentai.projects.locations.processors.disable", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The processor resource name to be disabled.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/processors/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta3/{+name}:disable", +"request": { +"$ref": "GoogleCloudDocumentaiV1beta3DisableProcessorRequest" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"enable": { +"description": "Enables a processor", +"flatPath": "v1beta3/projects/{projectsId}/locations/{locationsId}/processors/{processorsId}:enable", +"httpMethod": "POST", +"id": "documentai.projects.locations.processors.enable", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The processor resource name to be enabled.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/processors/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta3/{+name}:enable", +"request": { +"$ref": "GoogleCloudDocumentaiV1beta3EnableProcessorRequest" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets a processor detail.", +"flatPath": "v1beta3/projects/{projectsId}/locations/{locationsId}/processors/{processorsId}", +"httpMethod": "GET", +"id": "documentai.projects.locations.processors.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The processor resource name.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/processors/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta3/{+name}", +"response": { +"$ref": "GoogleCloudDocumentaiV1beta3Processor" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists all processors which belong to this project.", +"flatPath": "v1beta3/projects/{projectsId}/locations/{locationsId}/processors", +"httpMethod": "GET", +"id": "documentai.projects.locations.processors.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "The maximum number of processors to return. If unspecified, at most `50` processors will be returned. The maximum value is `100`. Values above `100` will be coerced to `100`.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "We will return the processors sorted by creation time. The page token will point to the next processor.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent (project and location) which owns this collection of Processors. Format: `projects/{project}/locations/{location}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta3/{+parent}/processors", +"response": { +"$ref": "GoogleCloudDocumentaiV1beta3ListProcessorsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"process": { +"description": "Processes a single document.", +"flatPath": "v1beta3/projects/{projectsId}/locations/{locationsId}/processors/{processorsId}:process", +"httpMethod": "POST", +"id": "documentai.projects.locations.processors.process", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the Processor or ProcessorVersion to use for processing. If a Processor is specified, the server will use its default version. Format: `projects/{project}/locations/{location}/processors/{processor}`, or `projects/{project}/locations/{location}/processors/{processor}/processorVersions/{processorVersion}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/processors/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta3/{+name}:process", +"request": { +"$ref": "GoogleCloudDocumentaiV1beta3ProcessRequest" +}, +"response": { +"$ref": "GoogleCloudDocumentaiV1beta3ProcessResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"setDefaultProcessorVersion": { +"description": "Set the default (active) version of a Processor that will be used in ProcessDocument and BatchProcessDocuments.", +"flatPath": "v1beta3/projects/{projectsId}/locations/{locationsId}/processors/{processorsId}:setDefaultProcessorVersion", +"httpMethod": "POST", +"id": "documentai.projects.locations.processors.setDefaultProcessorVersion", +"parameterOrder": [ +"processor" +], +"parameters": { +"processor": { +"description": "Required. The resource name of the Processor to change default version.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/processors/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta3/{+processor}:setDefaultProcessorVersion", +"request": { +"$ref": "GoogleCloudDocumentaiV1beta3SetDefaultProcessorVersionRequest" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"updateDataset": { +"description": "Updates metadata associated with a dataset. Note that this method requires the `documentai.googleapis.com/datasets.update` permission on the project, which is highly privileged. A user or service account with this permission can create new processors that can interact with any gcs bucket in your project.", +"flatPath": "v1beta3/projects/{projectsId}/locations/{locationsId}/processors/{processorsId}/dataset", +"httpMethod": "PATCH", +"id": "documentai.projects.locations.processors.updateDataset", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Dataset resource name. Format: `projects/{project}/locations/{location}/processors/{processor}/dataset`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/processors/[^/]+/dataset$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "The update mask applies to the resource.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1beta3/{+name}", +"request": { +"$ref": "GoogleCloudDocumentaiV1beta3Dataset" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"dataset": { +"methods": { +"batchDeleteDocuments": { +"description": "Deletes a set of documents.", +"flatPath": "v1beta3/projects/{projectsId}/locations/{locationsId}/processors/{processorsId}/dataset:batchDeleteDocuments", +"httpMethod": "POST", +"id": "documentai.projects.locations.processors.dataset.batchDeleteDocuments", +"parameterOrder": [ +"dataset" +], +"parameters": { +"dataset": { +"description": "Required. The dataset resource name. Format: projects/{project}/locations/{location}/processors/{processor}/dataset", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/processors/[^/]+/dataset$", +"required": true, +"type": "string" +} +}, +"path": "v1beta3/{+dataset}:batchDeleteDocuments", +"request": { +"$ref": "GoogleCloudDocumentaiV1beta3BatchDeleteDocumentsRequest" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"getDatasetSchema": { +"description": "Gets the `DatasetSchema` of a `Dataset`.", +"flatPath": "v1beta3/projects/{projectsId}/locations/{locationsId}/processors/{processorsId}/dataset/datasetSchema", +"httpMethod": "GET", +"id": "documentai.projects.locations.processors.dataset.getDatasetSchema", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The dataset schema resource name. Format: projects/{project}/locations/{location}/processors/{processor}/dataset/datasetSchema", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/processors/[^/]+/dataset/datasetSchema$", +"required": true, +"type": "string" +}, +"visibleFieldsOnly": { +"description": "If set, only returns the visible fields of the schema.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1beta3/{+name}", +"response": { +"$ref": "GoogleCloudDocumentaiV1beta3DatasetSchema" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"getDocument": { +"description": "Returns relevant fields present in the requested document.", +"flatPath": "v1beta3/projects/{projectsId}/locations/{locationsId}/processors/{processorsId}/dataset:getDocument", +"httpMethod": "GET", +"id": "documentai.projects.locations.processors.dataset.getDocument", +"parameterOrder": [ +"dataset" +], +"parameters": { +"dataset": { +"description": "Required. The resource name of the dataset that the document belongs to . Format: projects/{project}/locations/{location}/processors/{processor}/dataset", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/processors/[^/]+/dataset$", +"required": true, +"type": "string" +}, +"documentId.gcsManagedDocId.cwDocId": { +"deprecated": true, +"description": "Id of the document (indexed) managed by Content Warehouse.", +"location": "query", +"type": "string" +}, +"documentId.gcsManagedDocId.gcsUri": { +"description": "Required. The Cloud Storage URI where the actual document is stored.", +"location": "query", +"type": "string" +}, +"documentId.revisionRef.latestProcessorVersion": { +"description": "Reads the revision generated by the processor version. The format takes the full resource name of processor version. `projects/{project}/locations/{location}/processors/{processor}/processorVersions/{processorVersion}`", +"location": "query", +"type": "string" +}, +"documentId.revisionRef.revisionCase": { +"description": "Reads the revision by the predefined case.", +"enum": [ +"REVISION_CASE_UNSPECIFIED", +"LATEST_HUMAN_REVIEW", +"LATEST_TIMESTAMP", +"BASE_OCR_REVISION" +], +"enumDescriptions": [ +"Unspecified case, fall back to read the `LATEST_HUMAN_REVIEW`.", +"The latest revision made by a human.", +"The latest revision based on timestamp.", +"The first (OCR) revision." +], +"location": "query", +"type": "string" +}, +"documentId.revisionRef.revisionId": { +"description": "Reads the revision given by the id.", +"location": "query", +"type": "string" +}, +"documentId.unmanagedDocId.docId": { +"description": "Required. The id of the document.", +"location": "query", +"type": "string" +}, +"pageRange.end": { +"description": "Last page number (one-based index) to be returned.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageRange.start": { +"description": "First page number (one-based index) to be returned.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"readMask": { +"description": "If set, only fields listed here will be returned. Otherwise, all fields will be returned by default.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1beta3/{+dataset}:getDocument", +"response": { +"$ref": "GoogleCloudDocumentaiV1beta3GetDocumentResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"importDocuments": { +"description": "Import documents into a dataset.", +"flatPath": "v1beta3/projects/{projectsId}/locations/{locationsId}/processors/{processorsId}/dataset:importDocuments", +"httpMethod": "POST", +"id": "documentai.projects.locations.processors.dataset.importDocuments", +"parameterOrder": [ +"dataset" +], +"parameters": { +"dataset": { +"description": "Required. The dataset resource name. Format: projects/{project}/locations/{location}/processors/{processor}/dataset", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/processors/[^/]+/dataset$", +"required": true, +"type": "string" +} +}, +"path": "v1beta3/{+dataset}:importDocuments", +"request": { +"$ref": "GoogleCloudDocumentaiV1beta3ImportDocumentsRequest" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"listDocuments": { +"description": "Returns a list of documents present in the dataset.", +"flatPath": "v1beta3/projects/{projectsId}/locations/{locationsId}/processors/{processorsId}/dataset:listDocuments", +"httpMethod": "POST", +"id": "documentai.projects.locations.processors.dataset.listDocuments", +"parameterOrder": [ +"dataset" +], +"parameters": { +"dataset": { +"description": "Required. The resource name of the dataset to be listed. Format: projects/{project}/locations/{location}/processors/{processor}/dataset", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/processors/[^/]+/dataset$", +"required": true, +"type": "string" +} +}, +"path": "v1beta3/{+dataset}:listDocuments", +"request": { +"$ref": "GoogleCloudDocumentaiV1beta3ListDocumentsRequest" +}, +"response": { +"$ref": "GoogleCloudDocumentaiV1beta3ListDocumentsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"updateDatasetSchema": { +"description": "Updates a `DatasetSchema`.", +"flatPath": "v1beta3/projects/{projectsId}/locations/{locationsId}/processors/{processorsId}/dataset/datasetSchema", +"httpMethod": "PATCH", +"id": "documentai.projects.locations.processors.dataset.updateDatasetSchema", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Dataset schema resource name. Format: `projects/{project}/locations/{location}/processors/{processor}/dataset/datasetSchema`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/processors/[^/]+/dataset/datasetSchema$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "The update mask applies to the resource.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1beta3/{+name}", +"request": { +"$ref": "GoogleCloudDocumentaiV1beta3DatasetSchema" +}, +"response": { +"$ref": "GoogleCloudDocumentaiV1beta3DatasetSchema" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"humanReviewConfig": { +"deprecated": true, +"methods": { +"reviewDocument": { +"deprecated": true, +"description": "Send a document for Human Review. The input document should be processed by the specified processor.", +"flatPath": "v1beta3/projects/{projectsId}/locations/{locationsId}/processors/{processorsId}/humanReviewConfig:reviewDocument", +"httpMethod": "POST", +"id": "documentai.projects.locations.processors.humanReviewConfig.reviewDocument", +"parameterOrder": [ +"humanReviewConfig" +], +"parameters": { +"humanReviewConfig": { +"description": "Required. The resource name of the HumanReviewConfig that the document will be reviewed with.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/processors/[^/]+/humanReviewConfig$", +"required": true, +"type": "string" +} +}, +"path": "v1beta3/{+humanReviewConfig}:reviewDocument", +"request": { +"$ref": "GoogleCloudDocumentaiV1beta3ReviewDocumentRequest" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"processorVersions": { +"methods": { +"batchProcess": { +"description": "LRO endpoint to batch process many documents. The output is written to Cloud Storage as JSON in the [Document] format.", +"flatPath": "v1beta3/projects/{projectsId}/locations/{locationsId}/processors/{processorsId}/processorVersions/{processorVersionsId}:batchProcess", +"httpMethod": "POST", +"id": "documentai.projects.locations.processors.processorVersions.batchProcess", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of Processor or ProcessorVersion. Format: `projects/{project}/locations/{location}/processors/{processor}`, or `projects/{project}/locations/{location}/processors/{processor}/processorVersions/{processorVersion}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/processors/[^/]+/processorVersions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta3/{+name}:batchProcess", +"request": { +"$ref": "GoogleCloudDocumentaiV1beta3BatchProcessRequest" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes the processor version, all artifacts under the processor version will be deleted.", +"flatPath": "v1beta3/projects/{projectsId}/locations/{locationsId}/processors/{processorsId}/processorVersions/{processorVersionsId}", +"httpMethod": "DELETE", +"id": "documentai.projects.locations.processors.processorVersions.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The processor version resource name to be deleted.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/processors/[^/]+/processorVersions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta3/{+name}", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"deploy": { +"description": "Deploys the processor version.", +"flatPath": "v1beta3/projects/{projectsId}/locations/{locationsId}/processors/{processorsId}/processorVersions/{processorVersionsId}:deploy", +"httpMethod": "POST", +"id": "documentai.projects.locations.processors.processorVersions.deploy", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The processor version resource name to be deployed.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/processors/[^/]+/processorVersions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta3/{+name}:deploy", +"request": { +"$ref": "GoogleCloudDocumentaiV1beta3DeployProcessorVersionRequest" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"evaluateProcessorVersion": { +"description": "Evaluates a ProcessorVersion against annotated documents, producing an Evaluation.", +"flatPath": "v1beta3/projects/{projectsId}/locations/{locationsId}/processors/{processorsId}/processorVersions/{processorVersionsId}:evaluateProcessorVersion", +"httpMethod": "POST", +"id": "documentai.projects.locations.processors.processorVersions.evaluateProcessorVersion", +"parameterOrder": [ +"processorVersion" +], +"parameters": { +"processorVersion": { +"description": "Required. The resource name of the ProcessorVersion to evaluate. `projects/{project}/locations/{location}/processors/{processor}/processorVersions/{processorVersion}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/processors/[^/]+/processorVersions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta3/{+processorVersion}:evaluateProcessorVersion", +"request": { +"$ref": "GoogleCloudDocumentaiV1beta3EvaluateProcessorVersionRequest" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets a processor version detail.", +"flatPath": "v1beta3/projects/{projectsId}/locations/{locationsId}/processors/{processorsId}/processorVersions/{processorVersionsId}", +"httpMethod": "GET", +"id": "documentai.projects.locations.processors.processorVersions.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The processor resource name.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/processors/[^/]+/processorVersions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta3/{+name}", +"response": { +"$ref": "GoogleCloudDocumentaiV1beta3ProcessorVersion" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"importProcessorVersion": { +"description": "Imports a processor version from source processor version.", +"flatPath": "v1beta3/projects/{projectsId}/locations/{locationsId}/processors/{processorsId}/processorVersions:importProcessorVersion", +"httpMethod": "POST", +"id": "documentai.projects.locations.processors.processorVersions.importProcessorVersion", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The destination processor name to create the processor version in. Format: `projects/{project}/locations/{location}/processors/{processor}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/processors/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta3/{+parent}/processorVersions:importProcessorVersion", +"request": { +"$ref": "GoogleCloudDocumentaiV1beta3ImportProcessorVersionRequest" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists all versions of a processor.", +"flatPath": "v1beta3/projects/{projectsId}/locations/{locationsId}/processors/{processorsId}/processorVersions", +"httpMethod": "GET", +"id": "documentai.projects.locations.processors.processorVersions.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "The maximum number of processor versions to return. If unspecified, at most `10` processor versions will be returned. The maximum value is `20`. Values above `20` will be coerced to `20`.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "We will return the processor versions sorted by creation time. The page token will point to the next processor version.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent (project, location and processor) to list all versions. Format: `projects/{project}/locations/{location}/processors/{processor}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/processors/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta3/{+parent}/processorVersions", +"response": { +"$ref": "GoogleCloudDocumentaiV1beta3ListProcessorVersionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"process": { +"description": "Processes a single document.", +"flatPath": "v1beta3/projects/{projectsId}/locations/{locationsId}/processors/{processorsId}/processorVersions/{processorVersionsId}:process", +"httpMethod": "POST", +"id": "documentai.projects.locations.processors.processorVersions.process", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the Processor or ProcessorVersion to use for processing. If a Processor is specified, the server will use its default version. Format: `projects/{project}/locations/{location}/processors/{processor}`, or `projects/{project}/locations/{location}/processors/{processor}/processorVersions/{processorVersion}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/processors/[^/]+/processorVersions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta3/{+name}:process", +"request": { +"$ref": "GoogleCloudDocumentaiV1beta3ProcessRequest" +}, +"response": { +"$ref": "GoogleCloudDocumentaiV1beta3ProcessResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"train": { +"description": "Trains a new processor version. Operation metadata is returned as TrainProcessorVersionMetadata.", +"flatPath": "v1beta3/projects/{projectsId}/locations/{locationsId}/processors/{processorsId}/processorVersions:train", +"httpMethod": "POST", +"id": "documentai.projects.locations.processors.processorVersions.train", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The parent (project, location and processor) to create the new version for. Format: `projects/{project}/locations/{location}/processors/{processor}`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/processors/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta3/{+parent}/processorVersions:train", +"request": { +"$ref": "GoogleCloudDocumentaiV1beta3TrainProcessorVersionRequest" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"undeploy": { +"description": "Undeploys the processor version.", +"flatPath": "v1beta3/projects/{projectsId}/locations/{locationsId}/processors/{processorsId}/processorVersions/{processorVersionsId}:undeploy", +"httpMethod": "POST", +"id": "documentai.projects.locations.processors.processorVersions.undeploy", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The processor version resource name to be undeployed.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/processors/[^/]+/processorVersions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta3/{+name}:undeploy", +"request": { +"$ref": "GoogleCloudDocumentaiV1beta3UndeployProcessorVersionRequest" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"evaluations": { +"methods": { +"get": { +"description": "Retrieves a specific evaluation.", +"flatPath": "v1beta3/projects/{projectsId}/locations/{locationsId}/processors/{processorsId}/processorVersions/{processorVersionsId}/evaluations/{evaluationsId}", +"httpMethod": "GET", +"id": "documentai.projects.locations.processors.processorVersions.evaluations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the Evaluation to get. `projects/{project}/locations/{location}/processors/{processor}/processorVersions/{processorVersion}/evaluations/{evaluation}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/processors/[^/]+/processorVersions/[^/]+/evaluations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta3/{+name}", +"response": { +"$ref": "GoogleCloudDocumentaiV1beta3Evaluation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Retrieves a set of evaluations for a given processor version.", +"flatPath": "v1beta3/projects/{projectsId}/locations/{locationsId}/processors/{processorsId}/processorVersions/{processorVersionsId}/evaluations", +"httpMethod": "GET", +"id": "documentai.projects.locations.processors.processorVersions.evaluations.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "The standard list page size. If unspecified, at most `5` evaluations are returned. The maximum value is `100`. Values above `100` are coerced to `100`.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A page token, received from a previous `ListEvaluations` call. Provide this to retrieve the subsequent page.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The resource name of the ProcessorVersion to list evaluations for. `projects/{project}/locations/{location}/processors/{processor}/processorVersions/{processorVersion}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/processors/[^/]+/processorVersions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta3/{+parent}/evaluations", +"response": { +"$ref": "GoogleCloudDocumentaiV1beta3ListEvaluationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +} +} +}, +"schemas": { +"methods": { +"create": { +"description": "Creates a schema.", +"flatPath": "v1beta3/projects/{projectsId}/locations/{locationsId}/schemas", +"httpMethod": "POST", +"id": "documentai.projects.locations.schemas.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The parent (project and location) under which to create the Schema. Format: `projects/{project}/locations/{location}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta3/{+parent}/schemas", +"request": { +"$ref": "GoogleCloudDocumentaiV1beta3NextSchema" +}, +"response": { +"$ref": "GoogleCloudDocumentaiV1beta3NextSchema" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a schema.", +"flatPath": "v1beta3/projects/{projectsId}/locations/{locationsId}/schemas/{schemasId}", +"httpMethod": "DELETE", +"id": "documentai.projects.locations.schemas.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"force": { +"description": "Optional. If set to true, any child resources of this Schema will also be deleted. (Otherwise, the request will only work if the Schema has no child resources.)", +"location": "query", +"type": "boolean" +}, +"name": { +"description": "Required. The name of the Schema to be deleted. Format: `projects/{project}/locations/{location}/schemas/{schema}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/schemas/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta3/{+name}", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets a schema.", +"flatPath": "v1beta3/projects/{projectsId}/locations/{locationsId}/schemas/{schemasId}", +"httpMethod": "GET", +"id": "documentai.projects.locations.schemas.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the Schema to get. Format: `projects/{project}/locations/{location}/schemas/{schema}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/schemas/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta3/{+name}", +"response": { +"$ref": "GoogleCloudDocumentaiV1beta3NextSchema" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists Schemas.", +"flatPath": "v1beta3/projects/{projectsId}/locations/{locationsId}/schemas", +"httpMethod": "GET", +"id": "documentai.projects.locations.schemas.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "Optional. The maximum number of schema groups to return. If unspecified, at most `10` Schema will be returned. The maximum value is `20`. Values above `20` will be coerced to `20`.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. Returns the schema groups sorted by creation time. The page token will point to the next Schema.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. Format: `projects/{project}/locations/{location}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta3/{+parent}/schemas", +"response": { +"$ref": "GoogleCloudDocumentaiV1beta3ListSchemasResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates a schema. Editable fields are: - `display_name` - `labels`", +"flatPath": "v1beta3/projects/{projectsId}/locations/{locationsId}/schemas/{schemasId}", +"httpMethod": "PATCH", +"id": "documentai.projects.locations.schemas.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Identifier. The resource name of the Schema. Format: `projects/{project}/locations/{location}/schemas/{schema}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/schemas/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Optional. The update mask to apply to the resource. **Note:** Only the following fields can be updated: - `display_name` - `labels`", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1beta3/{+name}", +"request": { +"$ref": "GoogleCloudDocumentaiV1beta3NextSchema" +}, +"response": { +"$ref": "GoogleCloudDocumentaiV1beta3NextSchema" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"schemaVersions": { +"methods": { +"create": { +"description": "Creates a schema version.", +"flatPath": "v1beta3/projects/{projectsId}/locations/{locationsId}/schemas/{schemasId}/schemaVersions", +"httpMethod": "POST", +"id": "documentai.projects.locations.schemas.schemaVersions.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The parent (project and location) under which to create the SchemaVersion. Format: `projects/{project}/locations/{location}/schemas/{schema}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/schemas/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta3/{+parent}/schemaVersions", +"request": { +"$ref": "GoogleCloudDocumentaiV1beta3SchemaVersion" +}, +"response": { +"$ref": "GoogleCloudDocumentaiV1beta3SchemaVersion" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a schema version.", +"flatPath": "v1beta3/projects/{projectsId}/locations/{locationsId}/schemas/{schemasId}/schemaVersions/{schemaVersionsId}", +"httpMethod": "DELETE", +"id": "documentai.projects.locations.schemas.schemaVersions.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the SchemaVersion to delete. Format: `projects/{project}/locations/{location}/schemas/{schema}/schemaVersions/{schema_version}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/schemas/[^/]+/schemaVersions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta3/{+name}", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"generate": { +"description": "Generates a schema version.", +"flatPath": "v1beta3/projects/{projectsId}/locations/{locationsId}/schemas/{schemasId}/schemaVersions:generate", +"httpMethod": "POST", +"id": "documentai.projects.locations.schemas.schemaVersions.generate", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The parent (project, location and schema) under which to generate the SchemaVersion. Format: `projects/{project}/locations/{location}/schemas/{schema}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/schemas/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta3/{+parent}/schemaVersions:generate", +"request": { +"$ref": "GoogleCloudDocumentaiV1beta3GenerateSchemaVersionRequest" +}, +"response": { +"$ref": "GoogleCloudDocumentaiV1beta3GenerateSchemaVersionResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets a schema version.", +"flatPath": "v1beta3/projects/{projectsId}/locations/{locationsId}/schemas/{schemasId}/schemaVersions/{schemaVersionsId}", +"httpMethod": "GET", +"id": "documentai.projects.locations.schemas.schemaVersions.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the SchemaVersion to get. Format: `projects/{project}/locations/{location}/schemas/{schema}/schemaVersions/{schema_version}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/schemas/[^/]+/schemaVersions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta3/{+name}", +"response": { +"$ref": "GoogleCloudDocumentaiV1beta3SchemaVersion" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists SchemaVersions.", +"flatPath": "v1beta3/projects/{projectsId}/locations/{locationsId}/schemas/{schemasId}/schemaVersions", +"httpMethod": "GET", +"id": "documentai.projects.locations.schemas.schemaVersions.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "Optional. The maximum number of SchemaVersion to return. If unspecified, at most `10` SchemaVersion will be returned. The maximum value is `20`. Values above `20` will be coerced to `20`.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. Returns the SchemaVersion sorted by creation time. The page token will point to the next SchemaVersion.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. Format: `projects/{project}/locations/{location}/schemas/{schema}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/schemas/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta3/{+parent}/schemaVersions", +"response": { +"$ref": "GoogleCloudDocumentaiV1beta3ListSchemaVersionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates a schema version. Editable fields are: - `display_name` - `labels`", +"flatPath": "v1beta3/projects/{projectsId}/locations/{locationsId}/schemas/{schemasId}/schemaVersions/{schemaVersionsId}", +"httpMethod": "PATCH", +"id": "documentai.projects.locations.schemas.schemaVersions.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Identifier. The resource name of the SchemaVersion. Format: `projects/{project}/locations/{location}/schemas/{schema}/schemaVersions/{schema_version}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/schemas/[^/]+/schemaVersions/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Optional. The update mask to apply to the resource. **Note:** Only the following fields can be updated: - `display_name` - `labels`", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1beta3/{+name}", +"request": { +"$ref": "GoogleCloudDocumentaiV1beta3SchemaVersion" +}, +"response": { +"$ref": "GoogleCloudDocumentaiV1beta3SchemaVersion" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +} +} +} +} +} +}, +"revision": "20260224", +"rootUrl": "https://documentai.googleapis.com/", +"schemas": { +"CloudAiDocumentaiLabHifiaToolsValidationValidatorInput": { +"description": "Definition of the validation rules. Those are the input to the validator logic and they are used to validate a document. Next ID: 3", +"id": "CloudAiDocumentaiLabHifiaToolsValidationValidatorInput", +"properties": { +"validationRules": { +"items": { +"$ref": "CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRule" +}, +"type": "array" +} +}, +"type": "object" +}, +"CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRule": { +"description": "Next ID: 9", +"id": "CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRule", +"properties": { +"childAlignmentRule": { +"$ref": "CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleChildAlignmentRule" +}, +"description": { +"description": "Description of the validation rule. This has no use but for documentation.", +"type": "string" +}, +"entityAlignmentRule": { +"$ref": "CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleEntityAlignmentRule" +}, +"fieldOccurrences": { +"$ref": "CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleFieldOccurrences" +}, +"fieldRegex": { +"$ref": "CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleFieldRegex" +}, +"formValidation": { +"$ref": "CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleFormValidation" +}, +"name": { +"description": "Name of the validation rule.", +"type": "string" +}, +"ruleId": { +"description": "Unique identifier of the rule. Optional.", +"type": "string" +} +}, +"type": "object" +}, +"CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleAlignmentRule": { +"description": "A rule for checking field alignment. Horizontal alignment checks if fields are on the same row by comparing y-coordinates of bounding box centers, while vertical alignment checks if fields are on the same column by comparing x-coordinates of bounding box centers.", +"id": "CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleAlignmentRule", +"properties": { +"alignmentType": { +"enum": [ +"ALIGNMENT_TYPE_UNSPECIFIED", +"ALIGNMENT_TYPE_HORIZONTAL", +"ALIGNMENT_TYPE_VERTICAL" +], +"enumDescriptions": [ +"", +"", +"" +], +"type": "string" +}, +"tolerance": { +"description": "The tolerance to use when comparing coordinates.", +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleChildAlignmentRule": { +"description": "A rule that aligns specified child fields with a parent field.", +"id": "CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleChildAlignmentRule", +"properties": { +"alignmentRule": { +"$ref": "CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleAlignmentRule", +"description": "The alignment rule to apply to the child fields." +}, +"childFields": { +"description": "The child fields to be aligned within the parent field.", +"items": { +"$ref": "CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleField" +}, +"type": "array" +}, +"parentField": { +"$ref": "CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleField", +"description": "The full path of the parent field." +} +}, +"type": "object" +}, +"CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleConstant": { +"description": "The constant value used in the validation rules.", +"id": "CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleConstant", +"properties": { +"floatValue": { +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleEntityAlignmentRule": { +"description": "A rule that aligns specified fields with each other.", +"id": "CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleEntityAlignmentRule", +"properties": { +"alignmentRule": { +"$ref": "CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleAlignmentRule", +"description": "The alignment rule to apply to the fields." +}, +"fields": { +"description": "The fields to be aligned.", +"items": { +"$ref": "CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleField" +}, +"type": "array" +} +}, +"type": "object" +}, +"CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleField": { +"id": "CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleField", +"properties": { +"defaultValue": { +"$ref": "CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleConstant", +"description": "Default value to use if the field is not present. If the field is missing and the default value is not set, the validation run as if the field is not present in the validation logic." +}, +"fieldName": { +"description": "The field name to validate. This can be a simple field name or a nested field one using the ':' (meant as an aggregator) or '*' (meant as foreach) operators.", +"type": "string" +} +}, +"type": "object" +}, +"CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleFieldOccurrences": { +"id": "CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleFieldOccurrences", +"properties": { +"field": { +"$ref": "CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleField" +}, +"maxOccurrences": { +"format": "uint32", +"type": "integer" +}, +"minOccurrences": { +"description": "Min and max occurrences of the field. If not set, there is limit set. The defined interval is a closed-closed interval, i.e. [min, max].", +"format": "uint32", +"type": "integer" +} +}, +"type": "object" +}, +"CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleFieldRegex": { +"id": "CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleFieldRegex", +"properties": { +"field": { +"$ref": "CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleField" +}, +"pattern": { +"description": "Python regex to validate the field values.", +"type": "string" +} +}, +"type": "object" +}, +"CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleFormValidation": { +"id": "CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleFormValidation", +"properties": { +"leftOperand": { +"$ref": "CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleFormValidationOperation" +}, +"rightOperand": { +"$ref": "CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleFormValidationOperation" +}, +"validationOperator": { +"description": "The relational operator to be applied to the operands.", +"enum": [ +"OPERATION_TYPE_UNSPECIFIED", +"OPERATION_TYPE_EQ", +"OPERATION_TYPE_NE", +"OPERATION_TYPE_LT", +"OPERATION_TYPE_LE", +"OPERATION_TYPE_GT", +"OPERATION_TYPE_GE" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"", +"" +], +"type": "string" +} +}, +"type": "object" +}, +"CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleFormValidationOperation": { +"id": "CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleFormValidationOperation", +"properties": { +"constants": { +"description": "A list of constants to be used as operands.", +"items": { +"$ref": "CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleConstant" +}, +"type": "array" +}, +"fields": { +"description": "A list of fields to be used as operands.", +"items": { +"$ref": "CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleField" +}, +"type": "array" +}, +"operationType": { +"description": "The operation type to be applied to all the operands.", +"enum": [ +"OPERATION_TYPE_UNSPECIFIED", +"OPERATION_TYPE_SUM", +"OPERATION_TYPE_SUB", +"OPERATION_TYPE_MUL", +"OPERATION_TYPE_DIV", +"OPERATION_TYPE_MAX", +"OPERATION_TYPE_MIN", +"OPERATION_TYPE_ABS", +"OPERATION_TYPE_UNIQUE", +"OPERATION_TYPE_COUNT" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"", +"", +"", +"", +"" +], +"type": "string" +}, +"operations": { +"description": "A list of recursive operations to be used as operands.", +"items": { +"$ref": "CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleFormValidationOperation" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiUiv1beta3AutoLabelDocumentsMetadata": { +"description": "Metadata of the auto-labeling documents operation.", +"id": "GoogleCloudDocumentaiUiv1beta3AutoLabelDocumentsMetadata", +"properties": { +"commonMetadata": { +"$ref": "GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata", +"description": "The basic metadata of the long-running operation." +}, +"individualAutoLabelStatuses": { +"description": "The list of individual auto-labeling statuses of the dataset documents.", +"items": { +"$ref": "GoogleCloudDocumentaiUiv1beta3AutoLabelDocumentsMetadataIndividualAutoLabelStatus" +}, +"type": "array" +}, +"totalDocumentCount": { +"description": "Total number of the auto-labeling documents.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiUiv1beta3AutoLabelDocumentsMetadataIndividualAutoLabelStatus": { +"description": "The status of individual documents in the auto-labeling process.", +"id": "GoogleCloudDocumentaiUiv1beta3AutoLabelDocumentsMetadataIndividualAutoLabelStatus", +"properties": { +"documentId": { +"$ref": "GoogleCloudDocumentaiUiv1beta3DocumentId", +"description": "The document id of the auto-labeled document. This will replace the gcs_uri." +}, +"status": { +"$ref": "GoogleRpcStatus", +"description": "The status of the document auto-labeling." +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiUiv1beta3AutoLabelDocumentsResponse": { +"description": "The response proto of AutoLabelDocuments method.", +"id": "GoogleCloudDocumentaiUiv1beta3AutoLabelDocumentsResponse", +"properties": {}, +"type": "object" +}, +"GoogleCloudDocumentaiUiv1beta3BatchDeleteDocumentsMetadata": { +"id": "GoogleCloudDocumentaiUiv1beta3BatchDeleteDocumentsMetadata", +"properties": { +"commonMetadata": { +"$ref": "GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata", +"description": "The basic metadata of the long-running operation." +}, +"errorDocumentCount": { +"description": "Total number of documents that failed to be deleted in storage.", +"format": "int32", +"type": "integer" +}, +"individualBatchDeleteStatuses": { +"description": "The list of response details of each document.", +"items": { +"$ref": "GoogleCloudDocumentaiUiv1beta3BatchDeleteDocumentsMetadataIndividualBatchDeleteStatus" +}, +"type": "array" +}, +"totalDocumentCount": { +"description": "Total number of documents deleting from dataset.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiUiv1beta3BatchDeleteDocumentsMetadataIndividualBatchDeleteStatus": { +"description": "The status of each individual document in the batch delete process.", +"id": "GoogleCloudDocumentaiUiv1beta3BatchDeleteDocumentsMetadataIndividualBatchDeleteStatus", +"properties": { +"documentId": { +"$ref": "GoogleCloudDocumentaiUiv1beta3DocumentId", +"description": "The document id of the document." +}, +"status": { +"$ref": "GoogleRpcStatus", +"description": "The status of deleting the document in storage." +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiUiv1beta3BatchDeleteDocumentsResponse": { +"description": "Response of the delete documents operation.", +"id": "GoogleCloudDocumentaiUiv1beta3BatchDeleteDocumentsResponse", +"properties": {}, +"type": "object" +}, +"GoogleCloudDocumentaiUiv1beta3BatchMoveDocumentsMetadata": { +"id": "GoogleCloudDocumentaiUiv1beta3BatchMoveDocumentsMetadata", +"properties": { +"commonMetadata": { +"$ref": "GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata", +"description": "The basic metadata of the long-running operation." +}, +"destDatasetType": { +"deprecated": true, +"description": "The destination dataset split type.", +"enum": [ +"DATASET_SPLIT_TYPE_UNSPECIFIED", +"DATASET_SPLIT_TRAIN", +"DATASET_SPLIT_TEST", +"DATASET_SPLIT_UNASSIGNED" +], +"enumDescriptions": [ +"Default value if the enum is not set.", +"Identifies the train documents.", +"Identifies the test documents.", +"Identifies the unassigned documents." +], +"type": "string" +}, +"destSplitType": { +"description": "The destination dataset split type.", +"enum": [ +"DATASET_SPLIT_TYPE_UNSPECIFIED", +"DATASET_SPLIT_TRAIN", +"DATASET_SPLIT_TEST", +"DATASET_SPLIT_UNASSIGNED" +], +"enumDescriptions": [ +"Default value if the enum is not set.", +"Identifies the train documents.", +"Identifies the test documents.", +"Identifies the unassigned documents." +], +"type": "string" +}, +"individualBatchMoveStatuses": { +"description": "The list of response details of each document.", +"items": { +"$ref": "GoogleCloudDocumentaiUiv1beta3BatchMoveDocumentsMetadataIndividualBatchMoveStatus" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiUiv1beta3BatchMoveDocumentsMetadataIndividualBatchMoveStatus": { +"description": "The status of each individual document in the batch move process.", +"id": "GoogleCloudDocumentaiUiv1beta3BatchMoveDocumentsMetadataIndividualBatchMoveStatus", +"properties": { +"documentId": { +"$ref": "GoogleCloudDocumentaiUiv1beta3DocumentId", +"description": "The document id of the document." +}, +"status": { +"$ref": "GoogleRpcStatus", +"description": "The status of moving the document." +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiUiv1beta3BatchMoveDocumentsResponse": { +"description": "Response of the batch move documents operation.", +"id": "GoogleCloudDocumentaiUiv1beta3BatchMoveDocumentsResponse", +"properties": {}, +"type": "object" +}, +"GoogleCloudDocumentaiUiv1beta3BatchUpdateDocumentsMetadata": { +"id": "GoogleCloudDocumentaiUiv1beta3BatchUpdateDocumentsMetadata", +"properties": { +"commonMetadata": { +"$ref": "GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata", +"description": "The basic metadata of the long-running operation." +}, +"individualBatchUpdateStatuses": { +"description": "The list of response details of each document.", +"items": { +"$ref": "GoogleCloudDocumentaiUiv1beta3BatchUpdateDocumentsMetadataIndividualBatchUpdateStatus" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiUiv1beta3BatchUpdateDocumentsMetadataIndividualBatchUpdateStatus": { +"description": "The status of each individual document in the batch update process.", +"id": "GoogleCloudDocumentaiUiv1beta3BatchUpdateDocumentsMetadataIndividualBatchUpdateStatus", +"properties": { +"documentId": { +"$ref": "GoogleCloudDocumentaiUiv1beta3DocumentId", +"description": "The document id of the document." +}, +"status": { +"$ref": "GoogleRpcStatus", +"description": "The status of updating the document in storage." +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiUiv1beta3BatchUpdateDocumentsResponse": { +"description": "Response of the batch update documents operation.", +"id": "GoogleCloudDocumentaiUiv1beta3BatchUpdateDocumentsResponse", +"properties": {}, +"type": "object" +}, +"GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata": { +"description": "The common metadata for long running operations.", +"id": "GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata", +"properties": { +"createTime": { +"description": "The creation time of the operation.", +"format": "google-datetime", +"type": "string" +}, +"resource": { +"description": "A related resource to this operation.", +"type": "string" +}, +"state": { +"description": "The state of the operation.", +"enum": [ +"STATE_UNSPECIFIED", +"RUNNING", +"CANCELLING", +"SUCCEEDED", +"FAILED", +"CANCELLED" +], +"enumDescriptions": [ +"Unspecified state.", +"Operation is still running.", +"Operation is being cancelled.", +"Operation succeeded.", +"Operation failed.", +"Operation is cancelled." +], +"type": "string" +}, +"stateMessage": { +"description": "A message providing more details about the current state of processing.", +"type": "string" +}, +"updateTime": { +"description": "The last update time of the operation.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiUiv1beta3CreateLabelerPoolOperationMetadata": { +"description": "The long-running operation metadata for the CreateLabelerPool method.", +"id": "GoogleCloudDocumentaiUiv1beta3CreateLabelerPoolOperationMetadata", +"properties": { +"commonMetadata": { +"$ref": "GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata", +"description": "The basic metadata of the long-running operation." +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiUiv1beta3DeleteLabelerPoolOperationMetadata": { +"description": "The long-running operation metadata for DeleteLabelerPool.", +"id": "GoogleCloudDocumentaiUiv1beta3DeleteLabelerPoolOperationMetadata", +"properties": { +"commonMetadata": { +"$ref": "GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata", +"description": "The basic metadata of the long-running operation." +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiUiv1beta3DeleteProcessorMetadata": { +"description": "The long-running operation metadata for the DeleteProcessor method.", +"id": "GoogleCloudDocumentaiUiv1beta3DeleteProcessorMetadata", +"properties": { +"commonMetadata": { +"$ref": "GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata", +"description": "The basic metadata of the long-running operation." +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiUiv1beta3DeleteProcessorVersionMetadata": { +"description": "The long-running operation metadata for the DeleteProcessorVersion method.", +"id": "GoogleCloudDocumentaiUiv1beta3DeleteProcessorVersionMetadata", +"properties": { +"commonMetadata": { +"$ref": "GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata", +"description": "The basic metadata of the long-running operation." +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiUiv1beta3DeployProcessorVersionMetadata": { +"description": "The long-running operation metadata for the DeployProcessorVersion method.", +"id": "GoogleCloudDocumentaiUiv1beta3DeployProcessorVersionMetadata", +"properties": { +"commonMetadata": { +"$ref": "GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata", +"description": "The basic metadata of the long-running operation." +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiUiv1beta3DeployProcessorVersionResponse": { +"description": "Response message for the DeployProcessorVersion method.", +"id": "GoogleCloudDocumentaiUiv1beta3DeployProcessorVersionResponse", +"properties": {}, +"type": "object" +}, +"GoogleCloudDocumentaiUiv1beta3DisableProcessorMetadata": { +"description": "The long-running operation metadata for the DisableProcessor method.", +"id": "GoogleCloudDocumentaiUiv1beta3DisableProcessorMetadata", +"properties": { +"commonMetadata": { +"$ref": "GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata", +"description": "The basic metadata of the long-running operation." +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiUiv1beta3DisableProcessorResponse": { +"description": "Response message for the DisableProcessor method. Intentionally empty proto for adding fields in future.", +"id": "GoogleCloudDocumentaiUiv1beta3DisableProcessorResponse", +"properties": {}, +"type": "object" +}, +"GoogleCloudDocumentaiUiv1beta3DocumentId": { +"description": "Document Identifier.", +"id": "GoogleCloudDocumentaiUiv1beta3DocumentId", +"properties": { +"gcsManagedDocId": { +"$ref": "GoogleCloudDocumentaiUiv1beta3DocumentIdGCSManagedDocumentId", +"description": "A document id within user-managed Cloud Storage." +}, +"revisionRef": { +"$ref": "GoogleCloudDocumentaiUiv1beta3RevisionRef", +"description": "Points to a specific revision of the document if set." +}, +"unmanagedDocId": { +"$ref": "GoogleCloudDocumentaiUiv1beta3DocumentIdUnmanagedDocumentId", +"description": "A document id within unmanaged dataset." +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiUiv1beta3DocumentIdGCSManagedDocumentId": { +"description": "Identifies a document uniquely within the scope of a dataset in the user-managed Cloud Storage option.", +"id": "GoogleCloudDocumentaiUiv1beta3DocumentIdGCSManagedDocumentId", +"properties": { +"cwDocId": { +"deprecated": true, +"description": "Id of the document (indexed) managed by Content Warehouse.", +"type": "string" +}, +"gcsUri": { +"description": "Required. The Cloud Storage URI where the actual document is stored.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiUiv1beta3DocumentIdUnmanagedDocumentId": { +"description": "Identifies a document uniquely within the scope of a dataset in unmanaged option.", +"id": "GoogleCloudDocumentaiUiv1beta3DocumentIdUnmanagedDocumentId", +"properties": { +"docId": { +"description": "Required. The id of the document.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiUiv1beta3DocumentSchema": { +"description": "The schema defines the output of the processed document by a processor.", +"id": "GoogleCloudDocumentaiUiv1beta3DocumentSchema", +"properties": { +"description": { +"description": "Description of the schema.", +"type": "string" +}, +"displayName": { +"description": "Display name to show users.", +"type": "string" +}, +"documentPrompt": { +"description": "Optional. Document level prompt provided by the user. This custom text is injected into the AI model's prompt to provide extra, document-wide guidance for processing.", +"type": "string" +}, +"entityTypes": { +"description": "Entity types of the schema.", +"items": { +"$ref": "GoogleCloudDocumentaiUiv1beta3DocumentSchemaEntityType" +}, +"type": "array" +}, +"metadata": { +"$ref": "GoogleCloudDocumentaiUiv1beta3DocumentSchemaMetadata", +"description": "Metadata of the schema." +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiUiv1beta3DocumentSchemaEntityType": { +"description": "EntityType is the wrapper of a label of the corresponding model with detailed attributes and limitations for entity-based processors. Multiple types can also compose a dependency tree to represent nested types.", +"id": "GoogleCloudDocumentaiUiv1beta3DocumentSchemaEntityType", +"properties": { +"baseTypes": { +"description": "The entity type that this type is derived from. For now, one and only one should be set.", +"items": { +"type": "string" +}, +"type": "array" +}, +"description": { +"description": "The description of the entity type. Could be used to provide more information about the entity type for model calls.", +"type": "string" +}, +"displayName": { +"description": "User defined name for the type.", +"type": "string" +}, +"entityTypeMetadata": { +"$ref": "GoogleCloudDocumentaiUiv1beta3EntityTypeMetadata", +"description": "Metadata for the entity type." +}, +"enumValues": { +"$ref": "GoogleCloudDocumentaiUiv1beta3DocumentSchemaEntityTypeEnumValues", +"description": "If specified, lists all the possible values for this entity. This should not be more than a handful of values. If the number of values is >10 or could change frequently, use the `EntityType.value_ontology` field and specify a list of all possible values in a value ontology file." +}, +"name": { +"description": "Name of the type. It must be unique within the schema file and cannot be a \"Common Type\". The following naming conventions are used: - Use `snake_casing`. - Name matching is case-sensitive. - Maximum 64 characters. - Must start with a letter. - Allowed characters: ASCII letters `[a-z0-9_-]`. (For backward compatibility, internal infrastructure and tooling can handle any ASCII character.) - The `/` is sometimes used to denote a property of a type. For example `line_item/amount`. This convention is deprecated, but will still be honored for backward compatibility.", +"type": "string" +}, +"properties": { +"description": "Description the nested structure, or composition of an entity.", +"items": { +"$ref": "GoogleCloudDocumentaiUiv1beta3DocumentSchemaEntityTypeProperty" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiUiv1beta3DocumentSchemaEntityTypeEnumValues": { +"description": "Defines the a list of enum values.", +"id": "GoogleCloudDocumentaiUiv1beta3DocumentSchemaEntityTypeEnumValues", +"properties": { +"values": { +"description": "The individual values that this enum values type can include.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiUiv1beta3DocumentSchemaEntityTypeProperty": { +"description": "Defines properties that can be part of the entity type.", +"id": "GoogleCloudDocumentaiUiv1beta3DocumentSchemaEntityTypeProperty", +"properties": { +"description": { +"description": "The description of the property. Could be used to provide more information about the property for model calls.", +"type": "string" +}, +"displayName": { +"description": "User defined name for the property.", +"type": "string" +}, +"method": { +"description": "Specifies how the entity's value is obtained.", +"enum": [ +"METHOD_UNSPECIFIED", +"EXTRACT", +"DERIVE", +"RELAXED_EXTRACT" +], +"enumDescriptions": [ +"Unspecified method. It defaults to `EXTRACT`.", +"The entity's value is directly extracted as-is from the document text.", +"The entity's value is derived through inference and is not necessarily an exact text extraction from the document.", +"Attempts to extract the position and value as-is from the document text. If the value cannot be grounded in the text, it falls back to derivation through inference, for both position and value. Note: The inference fallback is currently only supported for boolean entities." +], +"type": "string" +}, +"name": { +"description": "The name of the property. Follows the same guidelines as the EntityType name.", +"type": "string" +}, +"occurrenceType": { +"description": "Occurrence type limits the number of instances an entity type appears in the document.", +"enum": [ +"OCCURRENCE_TYPE_UNSPECIFIED", +"OPTIONAL_ONCE", +"OPTIONAL_MULTIPLE", +"REQUIRED_ONCE", +"REQUIRED_MULTIPLE" +], +"enumDescriptions": [ +"Unspecified occurrence type.", +"There will be zero or one instance of this entity type. The same entity instance may be mentioned multiple times.", +"The entity type will appear zero or multiple times.", +"The entity type will only appear exactly once. The same entity instance may be mentioned multiple times.", +"The entity type will appear once or more times." +], +"type": "string" +}, +"propertyMetadata": { +"$ref": "GoogleCloudDocumentaiUiv1beta3PropertyMetadata", +"description": "Any additional metadata about the property can be added here." +}, +"valueType": { +"description": "A reference to the value type of the property. This type is subject to the same conventions as the `Entity.base_types` field.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiUiv1beta3DocumentSchemaMetadata": { +"description": "Metadata for global schema behavior.", +"id": "GoogleCloudDocumentaiUiv1beta3DocumentSchemaMetadata", +"properties": { +"documentAllowMultipleLabels": { +"description": "If true, on a given page, there can be multiple `document` annotations covering it.", +"type": "boolean" +}, +"documentSplitter": { +"description": "If true, a `document` entity type can be applied to subdocument (splitting). Otherwise, it can only be applied to the entire document (classification).", +"type": "boolean" +}, +"prefixedNamingOnProperties": { +"description": "If set, all the nested entities must be prefixed with the parents.", +"type": "boolean" +}, +"skipNamingValidation": { +"description": "If set, this will skip the naming format validation in the schema. So the string values in `DocumentSchema.EntityType.name` and `DocumentSchema.EntityType.Property.name` will not be checked.", +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiUiv1beta3EnableProcessorMetadata": { +"description": "The long-running operation metadata for the EnableProcessor method.", +"id": "GoogleCloudDocumentaiUiv1beta3EnableProcessorMetadata", +"properties": { +"commonMetadata": { +"$ref": "GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata", +"description": "The basic metadata of the long-running operation." +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiUiv1beta3EnableProcessorResponse": { +"description": "Response message for the EnableProcessor method. Intentionally empty proto for adding fields in future.", +"id": "GoogleCloudDocumentaiUiv1beta3EnableProcessorResponse", +"properties": {}, +"type": "object" +}, +"GoogleCloudDocumentaiUiv1beta3EntityTypeMetadata": { +"description": "Metadata about an entity type.", +"id": "GoogleCloudDocumentaiUiv1beta3EntityTypeMetadata", +"properties": { +"fieldTierMetadata": { +"$ref": "GoogleCloudDocumentaiUiv1beta3FieldTierMetadata", +"description": "Field tier metadata on the property" +}, +"humanReviewLabelingMetadata": { +"$ref": "GoogleCloudDocumentaiUiv1beta3HumanReviewLabelingMetadata", +"description": "Human review labeling config on the entity." +}, +"humanReviewMetadata": { +"$ref": "GoogleCloudDocumentaiUiv1beta3HumanReviewValidationMetadata", +"description": "Human review config on the entity." +}, +"inactive": { +"description": "Whether the entity type should be considered inactive.", +"type": "boolean" +}, +"schemaEditabilityMetadata": { +"$ref": "GoogleCloudDocumentaiUiv1beta3SchemaEditabilityMetadata", +"description": "Schema editability metadata on the entity." +}, +"schemaInferenceMetadata": { +"$ref": "GoogleCloudDocumentaiUiv1beta3SchemaInferenceMetadata", +"description": "Schema inference metadata on the entity." +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiUiv1beta3EvaluateProcessorVersionMetadata": { +"description": "Metadata of the EvaluateProcessorVersion method.", +"id": "GoogleCloudDocumentaiUiv1beta3EvaluateProcessorVersionMetadata", +"properties": { +"commonMetadata": { +"$ref": "GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata", +"description": "The basic metadata of the long-running operation." +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiUiv1beta3EvaluateProcessorVersionResponse": { +"description": "Response of the EvaluateProcessorVersion method.", +"id": "GoogleCloudDocumentaiUiv1beta3EvaluateProcessorVersionResponse", +"properties": { +"evaluation": { +"description": "The resource name of the created evaluation.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiUiv1beta3EvaluationMetrics": { +"description": "Evaluation metrics, either in aggregate or about a specific entity.", +"id": "GoogleCloudDocumentaiUiv1beta3EvaluationMetrics", +"properties": { +"f1Score": { +"description": "The calculated F1 score.", +"format": "float", +"type": "number" +}, +"falseNegativesCount": { +"description": "The amount of false negatives.", +"format": "int32", +"type": "integer" +}, +"falsePositivesCount": { +"description": "The amount of false positives.", +"format": "int32", +"type": "integer" +}, +"groundTruthDocumentCount": { +"description": "The amount of documents with a ground truth occurrence.", +"format": "int32", +"type": "integer" +}, +"groundTruthOccurrencesCount": { +"description": "The amount of occurrences in ground truth documents.", +"format": "int32", +"type": "integer" +}, +"precision": { +"description": "The calculated precision.", +"format": "float", +"type": "number" +}, +"predictedDocumentCount": { +"description": "The amount of documents with a predicted occurrence.", +"format": "int32", +"type": "integer" +}, +"predictedOccurrencesCount": { +"description": "The amount of occurrences in predicted documents.", +"format": "int32", +"type": "integer" +}, +"recall": { +"description": "The calculated recall.", +"format": "float", +"type": "number" +}, +"totalDocumentsCount": { +"description": "The amount of documents that had an occurrence of this label.", +"format": "int32", +"type": "integer" +}, +"truePositivesCount": { +"description": "The amount of true positives.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiUiv1beta3EvaluationReference": { +"description": "Gives a short summary of an evaluation, and links to the evaluation itself.", +"id": "GoogleCloudDocumentaiUiv1beta3EvaluationReference", +"properties": { +"aggregateMetrics": { +"$ref": "GoogleCloudDocumentaiUiv1beta3EvaluationMetrics", +"description": "An aggregate of the statistics for the evaluation with fuzzy matching on." +}, +"aggregateMetricsExact": { +"$ref": "GoogleCloudDocumentaiUiv1beta3EvaluationMetrics", +"description": "An aggregate of the statistics for the evaluation with fuzzy matching off." +}, +"evaluation": { +"description": "The resource name of the evaluation.", +"type": "string" +}, +"operation": { +"description": "The resource name of the Long Running Operation for the evaluation.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiUiv1beta3ExportDocumentsMetadata": { +"description": "Metadata of the batch export documents operation.", +"id": "GoogleCloudDocumentaiUiv1beta3ExportDocumentsMetadata", +"properties": { +"commonMetadata": { +"$ref": "GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata", +"description": "The basic metadata of the long-running operation." +}, +"individualExportStatuses": { +"description": "The list of response details of each document.", +"items": { +"$ref": "GoogleCloudDocumentaiUiv1beta3ExportDocumentsMetadataIndividualExportStatus" +}, +"type": "array" +}, +"splitExportStats": { +"description": "The list of statistics for each dataset split type.", +"items": { +"$ref": "GoogleCloudDocumentaiUiv1beta3ExportDocumentsMetadataSplitExportStat" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiUiv1beta3ExportDocumentsMetadataIndividualExportStatus": { +"description": "The status of each individual document in the export process.", +"id": "GoogleCloudDocumentaiUiv1beta3ExportDocumentsMetadataIndividualExportStatus", +"properties": { +"documentId": { +"$ref": "GoogleCloudDocumentaiUiv1beta3DocumentId", +"description": "The path to source docproto of the document." +}, +"outputGcsDestination": { +"description": "The output_gcs_destination of the exported document if it was successful, otherwise empty.", +"type": "string" +}, +"status": { +"$ref": "GoogleRpcStatus", +"description": "The status of the exporting of the document." +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiUiv1beta3ExportDocumentsMetadataSplitExportStat": { +"description": "The statistic representing a dataset split type for this export.", +"id": "GoogleCloudDocumentaiUiv1beta3ExportDocumentsMetadataSplitExportStat", +"properties": { +"splitType": { +"description": "The dataset split type.", +"enum": [ +"DATASET_SPLIT_TYPE_UNSPECIFIED", +"DATASET_SPLIT_TRAIN", +"DATASET_SPLIT_TEST", +"DATASET_SPLIT_UNASSIGNED" +], +"enumDescriptions": [ +"Default value if the enum is not set.", +"Identifies the train documents.", +"Identifies the test documents.", +"Identifies the unassigned documents." +], +"type": "string" +}, +"totalDocumentCount": { +"description": "Total number of documents with the given dataset split type to be exported.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiUiv1beta3ExportDocumentsResponse": { +"description": "The response proto of ExportDocuments method.", +"id": "GoogleCloudDocumentaiUiv1beta3ExportDocumentsResponse", +"properties": {}, +"type": "object" +}, +"GoogleCloudDocumentaiUiv1beta3ExportProcessorVersionMetadata": { +"description": "Metadata message associated with the ExportProcessorVersion operation.", +"id": "GoogleCloudDocumentaiUiv1beta3ExportProcessorVersionMetadata", +"properties": { +"commonMetadata": { +"$ref": "GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata", +"description": "The common metadata about the operation." +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiUiv1beta3ExportProcessorVersionResponse": { +"description": "Response message associated with the ExportProcessorVersion operation.", +"id": "GoogleCloudDocumentaiUiv1beta3ExportProcessorVersionResponse", +"properties": { +"gcsUri": { +"description": "The Cloud Storage URI containing the output artifacts.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiUiv1beta3FieldExtractionMetadata": { +"description": "Metadata for how this field value is extracted.", +"id": "GoogleCloudDocumentaiUiv1beta3FieldExtractionMetadata", +"properties": { +"entityQuery": { +"$ref": "GoogleCloudDocumentaiUiv1beta3FieldExtractionMetadataEntityQuery", +"description": "Entity query config." +}, +"summaryOptions": { +"$ref": "GoogleCloudDocumentaiUiv1beta3SummaryOptions", +"description": "Summary options config." +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiUiv1beta3FieldExtractionMetadataEntityQuery": { +"description": "Message for entity query.", +"id": "GoogleCloudDocumentaiUiv1beta3FieldExtractionMetadataEntityQuery", +"properties": { +"userEntityQuery": { +"description": "The original entity query inputed by the user.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiUiv1beta3FieldTierMetadata": { +"description": "Metadata for the field tier of a property.", +"id": "GoogleCloudDocumentaiUiv1beta3FieldTierMetadata", +"properties": { +"tierLevel": { +"description": "Integer that indicates the tier of a property. e.g. Invoice has entities that are classified as tier 1 which is the most important, while tier 2 and tier 3 less so. This attribute can be used to filter schema attributes before running eval. e.g. compute F1 score for only tier 1 entities. If not present this attribute should be inferred as 1.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiUiv1beta3HumanReviewLabelingMetadata": { +"description": "Metadata for human review labeling config.", +"id": "GoogleCloudDocumentaiUiv1beta3HumanReviewLabelingMetadata", +"properties": { +"enableNormalizationEditing": { +"description": "Whether to enable normalization editing.", +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiUiv1beta3HumanReviewValidationMetadata": { +"description": "Metadata for Human Review config.", +"id": "GoogleCloudDocumentaiUiv1beta3HumanReviewValidationMetadata", +"properties": { +"confidenceThreshold": { +"description": "The confidence threshold if human review validation is enabled.", +"format": "float", +"type": "number" +}, +"enableValidation": { +"description": "Whether to enable human review validation.", +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiUiv1beta3ImportDocumentsMetadata": { +"description": "Metadata of the import document operation.", +"id": "GoogleCloudDocumentaiUiv1beta3ImportDocumentsMetadata", +"properties": { +"commonMetadata": { +"$ref": "GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata", +"description": "The basic metadata of the long-running operation." +}, +"importConfigValidationResults": { +"description": "Validation statuses of the batch documents import config.", +"items": { +"$ref": "GoogleCloudDocumentaiUiv1beta3ImportDocumentsMetadataImportConfigValidationResult" +}, +"type": "array" +}, +"individualImportStatuses": { +"description": "The list of response details of each document.", +"items": { +"$ref": "GoogleCloudDocumentaiUiv1beta3ImportDocumentsMetadataIndividualImportStatus" +}, +"type": "array" +}, +"totalDocumentCount": { +"description": "Total number of the documents that are qualified for importing.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiUiv1beta3ImportDocumentsMetadataImportConfigValidationResult": { +"description": "The validation status of each import config. Status is set to an error if there are no documents to import in the `import_config`, or `OK` if the operation will try to proceed with at least one document.", +"id": "GoogleCloudDocumentaiUiv1beta3ImportDocumentsMetadataImportConfigValidationResult", +"properties": { +"inputGcsSource": { +"description": "The source Cloud Storage URI specified in the import config.", +"type": "string" +}, +"status": { +"$ref": "GoogleRpcStatus", +"description": "The validation status of import config." +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiUiv1beta3ImportDocumentsMetadataIndividualImportStatus": { +"description": "The status of each individual document in the import process.", +"id": "GoogleCloudDocumentaiUiv1beta3ImportDocumentsMetadataIndividualImportStatus", +"properties": { +"inputGcsSource": { +"description": "The source Cloud Storage URI of the document.", +"type": "string" +}, +"outputDocumentId": { +"$ref": "GoogleCloudDocumentaiUiv1beta3DocumentId", +"description": "The document id of imported document if it was successful, otherwise empty." +}, +"outputGcsDestination": { +"description": "The output_gcs_destination of the processed document if it was successful, otherwise empty.", +"type": "string" +}, +"status": { +"$ref": "GoogleRpcStatus", +"description": "The status of the importing of the document." +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiUiv1beta3ImportDocumentsResponse": { +"description": "Response of the import document operation.", +"id": "GoogleCloudDocumentaiUiv1beta3ImportDocumentsResponse", +"properties": {}, +"type": "object" +}, +"GoogleCloudDocumentaiUiv1beta3ImportProcessorVersionMetadata": { +"description": "The long-running operation metadata for the ImportProcessorVersion method.", +"id": "GoogleCloudDocumentaiUiv1beta3ImportProcessorVersionMetadata", +"properties": { +"commonMetadata": { +"$ref": "GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata", +"description": "The basic metadata for the long-running operation." +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiUiv1beta3ImportProcessorVersionResponse": { +"description": "The response message for the ImportProcessorVersion method.", +"id": "GoogleCloudDocumentaiUiv1beta3ImportProcessorVersionResponse", +"properties": { +"processorVersion": { +"description": "The destination processor version name.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiUiv1beta3Processor": { +"description": "The first-class citizen for Document AI. Each processor defines how to extract structural information from a document.", +"id": "GoogleCloudDocumentaiUiv1beta3Processor", +"properties": { +"activeSchemaVersion": { +"description": "Optional. SchemaVersion used by the Processor. It is the same as Processor's DatasetSchema.schema_version Format is `projects/{project}/locations/{location}/schemas/{schema}/schemaVersions/{schema_version}", +"type": "string" +}, +"createTime": { +"description": "Output only. The time the processor was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"defaultProcessorVersion": { +"description": "The default processor version.", +"type": "string" +}, +"displayName": { +"description": "The display name of the processor.", +"type": "string" +}, +"kmsKeyName": { +"description": "The [KMS key](https://cloud.google.com/security-key-management) used for encryption and decryption in CMEK scenarios.", +"type": "string" +}, +"name": { +"description": "Output only. Immutable. The resource name of the processor. Format: `projects/{project}/locations/{location}/processors/{processor}`", +"readOnly": true, +"type": "string" +}, +"processEndpoint": { +"description": "Output only. Immutable. The http endpoint that can be called to invoke processing.", +"readOnly": true, +"type": "string" +}, +"processorVersionAliases": { +"description": "Output only. The processor version aliases.", +"items": { +"$ref": "GoogleCloudDocumentaiUiv1beta3ProcessorVersionAlias" +}, +"readOnly": true, +"type": "array" +}, +"satisfiesPzi": { +"description": "Output only. Reserved for future use.", +"readOnly": true, +"type": "boolean" +}, +"satisfiesPzs": { +"description": "Output only. Reserved for future use.", +"readOnly": true, +"type": "boolean" +}, +"state": { +"description": "Output only. The state of the processor.", +"enum": [ +"STATE_UNSPECIFIED", +"ENABLED", +"DISABLED", +"ENABLING", +"DISABLING", +"CREATING", +"FAILED", +"DELETING" +], +"enumDescriptions": [ +"The processor is in an unspecified state.", +"The processor is enabled, i.e., has an enabled version which can currently serve processing requests and all the feature dependencies have been successfully initialized.", +"The processor is disabled.", +"The processor is being enabled, will become `ENABLED` if successful.", +"The processor is being disabled, will become `DISABLED` if successful.", +"The processor is being created, will become either `ENABLED` (for successful creation) or `FAILED` (for failed ones). Once a processor is in this state, it can then be used for document processing, but the feature dependencies of the processor might not be fully created yet.", +"The processor failed during creation or initialization of feature dependencies. The user should delete the processor and recreate one as all the functionalities of the processor are disabled.", +"The processor is being deleted, will be removed if successful." +], +"readOnly": true, +"type": "string" +}, +"type": { +"description": "The processor type, such as: `OCR_PROCESSOR`, `INVOICE_PROCESSOR`. To get a list of processor types, see FetchProcessorTypes.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiUiv1beta3ProcessorVersion": { +"description": "A processor version is an implementation of a processor. Each processor can have multiple versions, pretrained by Google internally or uptrained by the customer. A processor can only have one default version at a time. Its document-processing behavior is defined by that version.", +"id": "GoogleCloudDocumentaiUiv1beta3ProcessorVersion", +"properties": { +"createTime": { +"description": "Output only. The time the processor version was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"deploymentAllowed": { +"description": "Output only. Denotes that this `ProcessorVersion` can be deployed and undeployed.", +"readOnly": true, +"type": "boolean" +}, +"deprecationInfo": { +"$ref": "GoogleCloudDocumentaiUiv1beta3ProcessorVersionDeprecationInfo", +"description": "Output only. If set, information about the eventual deprecation of this version.", +"readOnly": true +}, +"displayName": { +"description": "The display name of the processor version.", +"type": "string" +}, +"documentSchema": { +"$ref": "GoogleCloudDocumentaiUiv1beta3DocumentSchema", +"description": "Output only. The schema of the processor version. Describes the output.", +"readOnly": true +}, +"genAiModelInfo": { +"$ref": "GoogleCloudDocumentaiUiv1beta3ProcessorVersionGenAiModelInfo", +"description": "Output only. Information about Generative AI model-based processor versions.", +"readOnly": true +}, +"googleManaged": { +"description": "Output only. Denotes that this `ProcessorVersion` is managed by Google.", +"readOnly": true, +"type": "boolean" +}, +"kmsKeyName": { +"description": "Output only. The KMS key name used for encryption.", +"readOnly": true, +"type": "string" +}, +"kmsKeyVersionName": { +"description": "Output only. The KMS key version with which data is encrypted.", +"readOnly": true, +"type": "string" +}, +"latestEvaluation": { +"$ref": "GoogleCloudDocumentaiUiv1beta3EvaluationReference", +"description": "Output only. The most recently invoked evaluation for the processor version.", +"readOnly": true +}, +"modelType": { +"description": "Output only. The model type of this processor version.", +"enum": [ +"MODEL_TYPE_UNSPECIFIED", +"MODEL_TYPE_GENERATIVE", +"MODEL_TYPE_CUSTOM" +], +"enumDescriptions": [ +"The processor version has unspecified model type.", +"The processor version has generative model type.", +"The processor version has custom model type." +], +"readOnly": true, +"type": "string" +}, +"name": { +"description": "Identifier. The resource name of the processor version. Format: `projects/{project}/locations/{location}/processors/{processor}/processorVersions/{processor_version}`", +"type": "string" +}, +"satisfiesPzi": { +"description": "Output only. Reserved for future use.", +"readOnly": true, +"type": "boolean" +}, +"satisfiesPzs": { +"description": "Output only. Reserved for future use.", +"readOnly": true, +"type": "boolean" +}, +"schema": { +"$ref": "GoogleCloudDocumentaiUiv1beta3Schema", +"description": "The schema of the processor version. Describes the output." +}, +"state": { +"description": "Output only. The state of the processor version.", +"enum": [ +"STATE_UNSPECIFIED", +"DEPLOYED", +"DEPLOYING", +"UNDEPLOYED", +"UNDEPLOYING", +"CREATING", +"DELETING", +"FAILED", +"IMPORTING" +], +"enumDescriptions": [ +"The processor version is in an unspecified state.", +"The processor version is deployed and can be used for processing.", +"The processor version is being deployed.", +"The processor version is not deployed and cannot be used for processing.", +"The processor version is being undeployed.", +"The processor version is being created.", +"The processor version is being deleted.", +"The processor version failed and is in an indeterminate state.", +"The processor version is being imported." +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiUiv1beta3ProcessorVersionAlias": { +"description": "Contains the alias and the aliased resource name of processor version.", +"id": "GoogleCloudDocumentaiUiv1beta3ProcessorVersionAlias", +"properties": { +"alias": { +"description": "The alias in the form of `processor_version` resource name.", +"type": "string" +}, +"processorVersion": { +"description": "The resource name of aliased processor version.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiUiv1beta3ProcessorVersionDeprecationInfo": { +"description": "Information about the upcoming deprecation of this processor version.", +"id": "GoogleCloudDocumentaiUiv1beta3ProcessorVersionDeprecationInfo", +"properties": { +"deprecationTime": { +"description": "The time at which this processor version will be deprecated.", +"format": "google-datetime", +"type": "string" +}, +"replacementProcessorVersion": { +"description": "If set, the processor version that will be used as a replacement.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiUiv1beta3ProcessorVersionGenAiModelInfo": { +"description": "Information about Generative AI model-based processor versions.", +"id": "GoogleCloudDocumentaiUiv1beta3ProcessorVersionGenAiModelInfo", +"properties": { +"customGenAiModelInfo": { +"$ref": "GoogleCloudDocumentaiUiv1beta3ProcessorVersionGenAiModelInfoCustomGenAiModelInfo", +"description": "Information for a custom Generative AI model created by the user." +}, +"foundationGenAiModelInfo": { +"$ref": "GoogleCloudDocumentaiUiv1beta3ProcessorVersionGenAiModelInfoFoundationGenAiModelInfo", +"description": "Information for a pretrained Google-managed foundation model." +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiUiv1beta3ProcessorVersionGenAiModelInfoCustomGenAiModelInfo": { +"description": "Information for a custom Generative AI model created by the user. These are created with `Create New Version` in either the `Call foundation model` or `Fine tuning` tabs.", +"id": "GoogleCloudDocumentaiUiv1beta3ProcessorVersionGenAiModelInfoCustomGenAiModelInfo", +"properties": { +"baseProcessorVersionId": { +"description": "The base processor version ID for the custom model.", +"type": "string" +}, +"customModelType": { +"description": "The type of custom model created by the user.", +"enum": [ +"CUSTOM_MODEL_TYPE_UNSPECIFIED", +"VERSIONED_FOUNDATION", +"FINE_TUNED" +], +"enumDescriptions": [ +"The model type is unspecified.", +"The model is a versioned foundation model.", +"The model is a finetuned foundation model." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiUiv1beta3ProcessorVersionGenAiModelInfoFoundationGenAiModelInfo": { +"description": "Information for a pretrained Google-managed foundation model.", +"id": "GoogleCloudDocumentaiUiv1beta3ProcessorVersionGenAiModelInfoFoundationGenAiModelInfo", +"properties": { +"finetuningAllowed": { +"description": "Whether fine tuning is allowed for this base processor version.", +"type": "boolean" +}, +"minTrainLabeledDocuments": { +"description": "The minimum number of labeled documents in the training dataset required for fine tuning.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiUiv1beta3PropertyMetadata": { +"description": "Metadata about a property.", +"id": "GoogleCloudDocumentaiUiv1beta3PropertyMetadata", +"properties": { +"fieldExtractionMetadata": { +"$ref": "GoogleCloudDocumentaiUiv1beta3FieldExtractionMetadata", +"description": "Field extraction metadata on the property." +}, +"fieldTierMetadata": { +"$ref": "GoogleCloudDocumentaiUiv1beta3FieldTierMetadata", +"description": "Field tier metadata on the property" +}, +"humanReviewLabelingMetadata": { +"$ref": "GoogleCloudDocumentaiUiv1beta3HumanReviewLabelingMetadata", +"description": "Human review labeling config on the property." +}, +"humanReviewMetadata": { +"$ref": "GoogleCloudDocumentaiUiv1beta3HumanReviewValidationMetadata", +"description": "Human review validation config on the property." +}, +"inactive": { +"description": "Whether the property should be considered as \"inactive\".", +"type": "boolean" +}, +"schemaEditabilityMetadata": { +"$ref": "GoogleCloudDocumentaiUiv1beta3SchemaEditabilityMetadata", +"description": "Schema editability metadata on the property." +}, +"schemaInferenceMetadata": { +"$ref": "GoogleCloudDocumentaiUiv1beta3SchemaInferenceMetadata", +"description": "Schema inference metadata on the property." +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiUiv1beta3ResyncDatasetMetadata": { +"description": "The metadata proto of `ResyncDataset` method.", +"id": "GoogleCloudDocumentaiUiv1beta3ResyncDatasetMetadata", +"properties": { +"commonMetadata": { +"$ref": "GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata", +"description": "The basic metadata of the long-running operation." +}, +"datasetResyncStatuses": { +"description": "The list of dataset resync statuses. Not checked when ResyncDatasetRequest.dataset_documents is specified.", +"items": { +"$ref": "GoogleCloudDocumentaiUiv1beta3ResyncDatasetMetadataDatasetResyncStatus" +}, +"type": "array" +}, +"individualDocumentResyncStatuses": { +"description": "The list of document resync statuses. The same document could have multiple `individual_document_resync_statuses` if it has multiple inconsistencies.", +"items": { +"$ref": "GoogleCloudDocumentaiUiv1beta3ResyncDatasetMetadataIndividualDocumentResyncStatus" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiUiv1beta3ResyncDatasetMetadataDatasetResyncStatus": { +"description": "Resync status against inconsistency types on the dataset level.", +"id": "GoogleCloudDocumentaiUiv1beta3ResyncDatasetMetadataDatasetResyncStatus", +"properties": { +"datasetInconsistencyType": { +"description": "The type of the inconsistency of the dataset.", +"enum": [ +"DATASET_INCONSISTENCY_TYPE_UNSPECIFIED", +"DATASET_INCONSISTENCY_TYPE_NO_STORAGE_MARKER" +], +"enumDescriptions": [ +"Default value.", +"The marker file under the dataset folder is not found." +], +"type": "string" +}, +"status": { +"$ref": "GoogleRpcStatus", +"description": "The status of resyncing the dataset with regards to the detected inconsistency. Empty if ResyncDatasetRequest.validate_only is `true`." +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiUiv1beta3ResyncDatasetMetadataIndividualDocumentResyncStatus": { +"description": "Resync status for each document per inconsistency type.", +"id": "GoogleCloudDocumentaiUiv1beta3ResyncDatasetMetadataIndividualDocumentResyncStatus", +"properties": { +"documentId": { +"$ref": "GoogleCloudDocumentaiUiv1beta3DocumentId", +"description": "The document identifier." +}, +"documentInconsistencyType": { +"description": "The type of document inconsistency.", +"enum": [ +"DOCUMENT_INCONSISTENCY_TYPE_UNSPECIFIED", +"DOCUMENT_INCONSISTENCY_TYPE_INVALID_DOCPROTO", +"DOCUMENT_INCONSISTENCY_TYPE_MISMATCHED_METADATA", +"DOCUMENT_INCONSISTENCY_TYPE_NO_PAGE_IMAGE" +], +"enumDescriptions": [ +"Default value.", +"The document proto is invalid.", +"Indexed docproto metadata is mismatched.", +"The page image or thumbnails are missing." +], +"type": "string" +}, +"status": { +"$ref": "GoogleRpcStatus", +"description": "The status of resyncing the document with regards to the detected inconsistency. Empty if ResyncDatasetRequest.validate_only is `true`." +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiUiv1beta3ResyncDatasetResponse": { +"description": "The response proto of ResyncDataset method.", +"id": "GoogleCloudDocumentaiUiv1beta3ResyncDatasetResponse", +"properties": {}, +"type": "object" +}, +"GoogleCloudDocumentaiUiv1beta3RevisionRef": { +"description": "The revision reference specifies which revision on the document to read.", +"id": "GoogleCloudDocumentaiUiv1beta3RevisionRef", +"properties": { +"latestProcessorVersion": { +"description": "Reads the revision generated by the processor version. The format takes the full resource name of processor version. `projects/{project}/locations/{location}/processors/{processor}/processorVersions/{processorVersion}`", +"type": "string" +}, +"revisionCase": { +"description": "Reads the revision by the predefined case.", +"enum": [ +"REVISION_CASE_UNSPECIFIED", +"LATEST_HUMAN_REVIEW", +"LATEST_TIMESTAMP", +"BASE_OCR_REVISION" +], +"enumDescriptions": [ +"Unspecified case, fall back to read the `LATEST_HUMAN_REVIEW`.", +"The latest revision made by a human.", +"The latest revision based on timestamp.", +"The first (OCR) revision." +], +"type": "string" +}, +"revisionId": { +"description": "Reads the revision given by the id.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiUiv1beta3SampleDocumentsMetadata": { +"description": "Metadata of the sample documents operation.", +"id": "GoogleCloudDocumentaiUiv1beta3SampleDocumentsMetadata", +"properties": { +"commonMetadata": { +"$ref": "GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata", +"description": "The basic metadata of the long-running operation." +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiUiv1beta3SampleDocumentsResponse": { +"description": "Response of the sample documents operation.", +"id": "GoogleCloudDocumentaiUiv1beta3SampleDocumentsResponse", +"properties": { +"sampleTestStatus": { +"$ref": "GoogleRpcStatus", +"description": "The status of sampling documents in test split." +}, +"sampleTrainingStatus": { +"$ref": "GoogleRpcStatus", +"description": "The status of sampling documents in training split." +}, +"selectedDocuments": { +"description": "The result of the sampling process.", +"items": { +"$ref": "GoogleCloudDocumentaiUiv1beta3SampleDocumentsResponseSelectedDocument" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiUiv1beta3SampleDocumentsResponseSelectedDocument": { +"id": "GoogleCloudDocumentaiUiv1beta3SampleDocumentsResponseSelectedDocument", +"properties": { +"documentId": { +"description": "An internal identifier for document.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiUiv1beta3Schema": { +"description": "The schema defines the output of the processed document by a processor.", +"id": "GoogleCloudDocumentaiUiv1beta3Schema", +"properties": { +"description": { +"description": "Description of the schema.", +"type": "string" +}, +"displayName": { +"description": "Display name to show users.", +"type": "string" +}, +"entityTypes": { +"description": "Entity types of the schema.", +"items": { +"$ref": "GoogleCloudDocumentaiUiv1beta3SchemaEntityType" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiUiv1beta3SchemaEditabilityMetadata": { +"description": "Metadata that specifies whether a label is editable and reasons why. These fields are read-only. Changing these fields has no impact on the backend.", +"id": "GoogleCloudDocumentaiUiv1beta3SchemaEditabilityMetadata", +"properties": { +"editable": { +"description": "Explicit flag that controls whether the label is editable.", +"type": "boolean" +}, +"processorVersions": { +"description": "Full resource name of processor versions that contain this label. e.g. `projects/{project}/locations/{location}/processors/{processor}/processorVersions/{processorVersion}`", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiUiv1beta3SchemaEntityType": { +"description": "EntityType is the wrapper of a label of the corresponding model with detailed attributes and limitations for entity-based processors. Multiple types can also compose a dependency tree to represent nested types.", +"id": "GoogleCloudDocumentaiUiv1beta3SchemaEntityType", +"properties": { +"baseType": { +"type": "string" +}, +"description": { +"description": "Description of the entity type.", +"type": "string" +}, +"enumValues": { +"description": "If specified, lists all the possible values for this entity.", +"items": { +"type": "string" +}, +"type": "array" +}, +"hide": { +"description": "If the entity type is hidden in the schema. This provides the functionality to temporally \"disable\" an entity without deleting it.", +"type": "boolean" +}, +"method": { +"description": "Specifies how the entity's value is obtained.", +"enum": [ +"METHOD_UNSPECIFIED", +"EXTRACT", +"DERIVE", +"RELAXED_EXTRACT" +], +"enumDescriptions": [ +"Unspecified method. It defaults to `EXTRACT`.", +"The entity's value is directly extracted as-is from the document text.", +"The entity's value is derived through inference and is not necessarily an exact text extraction from the document.", +"Attempts to extract the position and value as-is from the document text. If the value cannot be grounded in the text, it falls back to derivation through inference, for both position and value. Note: The inference fallback is currently only supported for boolean entities." +], +"type": "string" +}, +"occurrenceType": { +"description": "Occurrence type limits the number of times an entity type appears in the document.", +"enum": [ +"OCCURRENCE_TYPE_UNSPECIFIED", +"OPTIONAL_ONCE", +"OPTIONAL_MULTIPLE", +"REQUIRED_ONCE", +"REQUIRED_MULTIPLE" +], +"enumDescriptions": [ +"Unspecified occurrence type.", +"The entity type will appear zero times or once.", +"The entity type will appear zero or multiple times.", +"The entity type will only appear exactly once.", +"The entity type will appear once or more times." +], +"type": "string" +}, +"properties": { +"description": "Describing the nested structure of an entity. An EntityType may consist of several other EntityTypes. For example, in a document there can be an EntityType `ID`, which consists of EntityType `name` and `address`, with corresponding attributes, such as TEXT for both types and ONCE for occurrence types.", +"items": { +"$ref": "GoogleCloudDocumentaiUiv1beta3SchemaEntityType" +}, +"type": "array" +}, +"source": { +"description": "Source of this entity type.", +"enum": [ +"SOURCE_UNSPECIFIED", +"PREDEFINED", +"USER_INPUT" +], +"enumDescriptions": [ +"Unspecified source.", +"The entity type is in the predefined schema of a pretrained version of a processor.", +"The entity type is added by the users either: - during an uptraining of an existing processor, or - during the process of creating a customized processor." +], +"type": "string" +}, +"type": { +"description": "Name of the type. It must satisfy the following constraints: 1. Must be unique within the set of same level types (with case-insensitive match). 2. Maximum 64 characters. 3. Must start with a letter. 4. Allowed characters: ASCII letters [a-zA-Z], ASCII digits [0-9], or one of the following punctuation characters: * underscore '_' (recommended) * hyphen '-' (allowed, not recommended) * colon ':' (allowed, not recommended) NOTE: Whitespace characters are not allowed. 5. Cannot end with a punctuation character. 6. Cannot contain the following restricted strings: \"google\", \"DocumentAI\" (case-insensitive match). 7. A slash character '/' is reserved as a separator in flattened representations of nested entity types (e.g., \"line_item/amount\") in which case each part (e.g., \"line_item\", \"amount\") must comply with the rules defined above. We recommend using the snake case (\"snake_case\") in entity type names.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiUiv1beta3SchemaInferenceMetadata": { +"description": "Metadata for schema inference. Only used on dataset.schema for schema inference, can be safely ignored elsewhere.", +"id": "GoogleCloudDocumentaiUiv1beta3SchemaInferenceMetadata", +"properties": { +"inferred": { +"description": "True if is inferred by schema inference.", +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiUiv1beta3SetDefaultProcessorVersionMetadata": { +"description": "The long-running operation metadata for the SetDefaultProcessorVersion method.", +"id": "GoogleCloudDocumentaiUiv1beta3SetDefaultProcessorVersionMetadata", +"properties": { +"commonMetadata": { +"$ref": "GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata", +"description": "The basic metadata of the long-running operation." +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiUiv1beta3SetDefaultProcessorVersionResponse": { +"description": "Response message for the SetDefaultProcessorVersion method.", +"id": "GoogleCloudDocumentaiUiv1beta3SetDefaultProcessorVersionResponse", +"properties": {}, +"type": "object" +}, +"GoogleCloudDocumentaiUiv1beta3SummaryOptions": { +"description": "Metadata for document summarization.", +"id": "GoogleCloudDocumentaiUiv1beta3SummaryOptions", +"properties": { +"format": { +"description": "The format the summary should be in.", +"enum": [ +"FORMAT_UNSPECIFIED", +"PARAGRAPH", +"BULLETS" +], +"enumDescriptions": [ +"Default.", +"Format the output in paragraphs.", +"Format the output in bullets." +], +"type": "string" +}, +"length": { +"description": "How long the summary should be.", +"enum": [ +"LENGTH_UNSPECIFIED", +"BRIEF", +"MODERATE", +"COMPREHENSIVE" +], +"enumDescriptions": [ +"Default.", +"A brief summary of one or two sentences.", +"A paragraph-length summary.", +"The longest option available." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiUiv1beta3TrainProcessorVersionMetadata": { +"description": "The metadata that represents a processor version being created.", +"id": "GoogleCloudDocumentaiUiv1beta3TrainProcessorVersionMetadata", +"properties": { +"commonMetadata": { +"$ref": "GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata", +"description": "The basic metadata of the long-running operation." +}, +"testDatasetValidation": { +"$ref": "GoogleCloudDocumentaiUiv1beta3TrainProcessorVersionMetadataDatasetValidation", +"description": "The test dataset validation information." +}, +"trainingDatasetValidation": { +"$ref": "GoogleCloudDocumentaiUiv1beta3TrainProcessorVersionMetadataDatasetValidation", +"description": "The training dataset validation information." +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiUiv1beta3TrainProcessorVersionMetadataDatasetValidation": { +"description": "The dataset validation information. This includes any and all errors with documents and the dataset.", +"id": "GoogleCloudDocumentaiUiv1beta3TrainProcessorVersionMetadataDatasetValidation", +"properties": { +"datasetErrorCount": { +"description": "The total number of dataset errors.", +"format": "int32", +"type": "integer" +}, +"datasetErrors": { +"description": "Error information for the dataset as a whole. A maximum of 10 dataset errors will be returned. A single dataset error is terminal for training.", +"items": { +"$ref": "GoogleRpcStatus" +}, +"type": "array" +}, +"documentErrorCount": { +"description": "The total number of document errors.", +"format": "int32", +"type": "integer" +}, +"documentErrors": { +"description": "Error information pertaining to specific documents. A maximum of 10 document errors will be returned. Any document with errors will not be used throughout training.", +"items": { +"$ref": "GoogleRpcStatus" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiUiv1beta3TrainProcessorVersionResponse": { +"description": "The response for TrainProcessorVersion.", +"id": "GoogleCloudDocumentaiUiv1beta3TrainProcessorVersionResponse", +"properties": { +"processorVersion": { +"description": "The resource name of the processor version produced by training.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiUiv1beta3UndeployProcessorVersionMetadata": { +"description": "The long-running operation metadata for the UndeployProcessorVersion method.", +"id": "GoogleCloudDocumentaiUiv1beta3UndeployProcessorVersionMetadata", +"properties": { +"commonMetadata": { +"$ref": "GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata", +"description": "The basic metadata of the long-running operation." +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiUiv1beta3UndeployProcessorVersionResponse": { +"description": "Response message for the UndeployProcessorVersion method.", +"id": "GoogleCloudDocumentaiUiv1beta3UndeployProcessorVersionResponse", +"properties": {}, +"type": "object" +}, +"GoogleCloudDocumentaiUiv1beta3UpdateDatasetOperationMetadata": { +"id": "GoogleCloudDocumentaiUiv1beta3UpdateDatasetOperationMetadata", +"properties": { +"commonMetadata": { +"$ref": "GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata", +"description": "The basic metadata of the long-running operation." +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiUiv1beta3UpdateHumanReviewConfigMetadata": { +"description": "The long-running operation metadata for updating the human review configuration.", +"id": "GoogleCloudDocumentaiUiv1beta3UpdateHumanReviewConfigMetadata", +"properties": { +"commonMetadata": { +"$ref": "GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata", +"description": "The basic metadata of the long-running operation." +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiUiv1beta3UpdateLabelerPoolOperationMetadata": { +"description": "The long-running operation metadata for UpdateLabelerPool.", +"id": "GoogleCloudDocumentaiUiv1beta3UpdateLabelerPoolOperationMetadata", +"properties": { +"commonMetadata": { +"$ref": "GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata", +"description": "The basic metadata of the long-running operation." +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiUiv1beta3UpdateProcessorVersionMetadata": { +"description": "The long-running operation metadata for the UpdateProcessorVersion method.", +"id": "GoogleCloudDocumentaiUiv1beta3UpdateProcessorVersionMetadata", +"properties": { +"commonMetadata": { +"$ref": "GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata", +"description": "The basic metadata for the long-running operation." +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1BatchProcessMetadata": { +"description": "The long-running operation metadata for BatchProcessDocuments.", +"id": "GoogleCloudDocumentaiV1BatchProcessMetadata", +"properties": { +"createTime": { +"description": "The creation time of the operation.", +"format": "google-datetime", +"type": "string" +}, +"individualProcessStatuses": { +"description": "The list of response details of each document.", +"items": { +"$ref": "GoogleCloudDocumentaiV1BatchProcessMetadataIndividualProcessStatus" +}, +"type": "array" +}, +"state": { +"description": "The state of the current batch processing.", +"enum": [ +"STATE_UNSPECIFIED", +"WAITING", +"RUNNING", +"SUCCEEDED", +"CANCELLING", +"CANCELLED", +"FAILED" +], +"enumDescriptions": [ +"The default value. This value is used if the state is omitted.", +"Request operation is waiting for scheduling.", +"Request is being processed.", +"The batch processing completed successfully.", +"The batch processing was being cancelled.", +"The batch processing was cancelled.", +"The batch processing has failed." +], +"type": "string" +}, +"stateMessage": { +"description": "A message providing more details about the current state of processing. For example, the error message if the operation is failed.", +"type": "string" +}, +"updateTime": { +"description": "The last update time of the operation.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1BatchProcessMetadataIndividualProcessStatus": { +"description": "The status of a each individual document in the batch process.", +"id": "GoogleCloudDocumentaiV1BatchProcessMetadataIndividualProcessStatus", +"properties": { +"humanReviewStatus": { +"$ref": "GoogleCloudDocumentaiV1HumanReviewStatus", +"description": "The status of human review on the processed document." +}, +"inputGcsSource": { +"description": "The source of the document, same as the input_gcs_source field in the request when the batch process started.", +"type": "string" +}, +"outputGcsDestination": { +"description": "The Cloud Storage output destination (in the request as DocumentOutputConfig.GcsOutputConfig.gcs_uri) of the processed document if it was successful, otherwise empty.", +"type": "string" +}, +"status": { +"$ref": "GoogleRpcStatus", +"description": "The status processing the document." +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1BatchProcessResponse": { +"description": "Response message for BatchProcessDocuments.", +"id": "GoogleCloudDocumentaiV1BatchProcessResponse", +"properties": {}, +"type": "object" +}, +"GoogleCloudDocumentaiV1CommonOperationMetadata": { +"description": "The common metadata for long running operations.", +"id": "GoogleCloudDocumentaiV1CommonOperationMetadata", +"properties": { +"createTime": { +"description": "The creation time of the operation.", +"format": "google-datetime", +"type": "string" +}, +"resource": { +"description": "A related resource to this operation.", +"type": "string" +}, +"state": { +"description": "The state of the operation.", +"enum": [ +"STATE_UNSPECIFIED", +"RUNNING", +"CANCELLING", +"SUCCEEDED", +"FAILED", +"CANCELLED" +], +"enumDescriptions": [ +"Unspecified state.", +"Operation is still running.", +"Operation is being cancelled.", +"Operation succeeded.", +"Operation failed.", +"Operation is cancelled." +], +"type": "string" +}, +"stateMessage": { +"description": "A message providing more details about the current state of processing.", +"type": "string" +}, +"updateTime": { +"description": "The last update time of the operation.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1DeleteProcessorMetadata": { +"description": "The long-running operation metadata for the DeleteProcessor method.", +"id": "GoogleCloudDocumentaiV1DeleteProcessorMetadata", +"properties": { +"commonMetadata": { +"$ref": "GoogleCloudDocumentaiV1CommonOperationMetadata", +"description": "The basic metadata of the long-running operation." +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1DeleteProcessorVersionMetadata": { +"description": "The long-running operation metadata for the DeleteProcessorVersion method.", +"id": "GoogleCloudDocumentaiV1DeleteProcessorVersionMetadata", +"properties": { +"commonMetadata": { +"$ref": "GoogleCloudDocumentaiV1CommonOperationMetadata", +"description": "The basic metadata of the long-running operation." +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1DeployProcessorVersionMetadata": { +"description": "The long-running operation metadata for the DeployProcessorVersion method.", +"id": "GoogleCloudDocumentaiV1DeployProcessorVersionMetadata", +"properties": { +"commonMetadata": { +"$ref": "GoogleCloudDocumentaiV1CommonOperationMetadata", +"description": "The basic metadata of the long-running operation." +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1DeployProcessorVersionResponse": { +"description": "Response message for the DeployProcessorVersion method.", +"id": "GoogleCloudDocumentaiV1DeployProcessorVersionResponse", +"properties": {}, +"type": "object" +}, +"GoogleCloudDocumentaiV1DisableProcessorMetadata": { +"description": "The long-running operation metadata for the DisableProcessor method.", +"id": "GoogleCloudDocumentaiV1DisableProcessorMetadata", +"properties": { +"commonMetadata": { +"$ref": "GoogleCloudDocumentaiV1CommonOperationMetadata", +"description": "The basic metadata of the long-running operation." +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1DisableProcessorResponse": { +"description": "Response message for the DisableProcessor method. Intentionally empty proto for adding fields in future.", +"id": "GoogleCloudDocumentaiV1DisableProcessorResponse", +"properties": {}, +"type": "object" +}, +"GoogleCloudDocumentaiV1EnableProcessorMetadata": { +"description": "The long-running operation metadata for the EnableProcessor method.", +"id": "GoogleCloudDocumentaiV1EnableProcessorMetadata", +"properties": { +"commonMetadata": { +"$ref": "GoogleCloudDocumentaiV1CommonOperationMetadata", +"description": "The basic metadata of the long-running operation." +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1EnableProcessorResponse": { +"description": "Response message for the EnableProcessor method. Intentionally empty proto for adding fields in future.", +"id": "GoogleCloudDocumentaiV1EnableProcessorResponse", +"properties": {}, +"type": "object" +}, +"GoogleCloudDocumentaiV1EvaluateProcessorVersionMetadata": { +"description": "Metadata of the EvaluateProcessorVersion method.", +"id": "GoogleCloudDocumentaiV1EvaluateProcessorVersionMetadata", +"properties": { +"commonMetadata": { +"$ref": "GoogleCloudDocumentaiV1CommonOperationMetadata", +"description": "The basic metadata of the long-running operation." +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1EvaluateProcessorVersionResponse": { +"description": "Response of the EvaluateProcessorVersion method.", +"id": "GoogleCloudDocumentaiV1EvaluateProcessorVersionResponse", +"properties": { +"evaluation": { +"description": "The resource name of the created evaluation.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1HumanReviewStatus": { +"description": "The status of human review on a processed document.", +"id": "GoogleCloudDocumentaiV1HumanReviewStatus", +"properties": { +"humanReviewOperation": { +"description": "The name of the operation triggered by the processed document. This field is populated only when the state is `HUMAN_REVIEW_IN_PROGRESS`. It has the same response type and metadata as the long-running operation returned by ReviewDocument.", +"type": "string" +}, +"state": { +"description": "The state of human review on the processing request.", +"enum": [ +"STATE_UNSPECIFIED", +"SKIPPED", +"VALIDATION_PASSED", +"IN_PROGRESS", +"ERROR" +], +"enumDescriptions": [ +"Human review state is unspecified. Most likely due to an internal error.", +"Human review is skipped for the document. This can happen because human review isn't enabled on the processor or the processing request has been set to skip this document.", +"Human review validation is triggered and passed, so no review is needed.", +"Human review validation is triggered and the document is under review.", +"Some error happened during triggering human review, see the state_message for details." +], +"type": "string" +}, +"stateMessage": { +"description": "A message providing more details about the human review state.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1ReviewDocumentOperationMetadata": { +"description": "The long-running operation metadata for the ReviewDocument method.", +"id": "GoogleCloudDocumentaiV1ReviewDocumentOperationMetadata", +"properties": { +"commonMetadata": { +"$ref": "GoogleCloudDocumentaiV1CommonOperationMetadata", +"description": "The basic metadata of the long-running operation." +}, +"questionId": { +"description": "The Crowd Compute question ID.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1ReviewDocumentResponse": { +"description": "Response message for the ReviewDocument method.", +"id": "GoogleCloudDocumentaiV1ReviewDocumentResponse", +"properties": { +"gcsDestination": { +"description": "The Cloud Storage uri for the human reviewed document if the review is succeeded.", +"type": "string" +}, +"rejectionReason": { +"description": "The reason why the review is rejected by reviewer.", +"type": "string" +}, +"state": { +"description": "The state of the review operation.", +"enum": [ +"STATE_UNSPECIFIED", +"REJECTED", +"SUCCEEDED" +], +"enumDescriptions": [ +"The default value. This value is used if the state is omitted.", +"The review operation is rejected by the reviewer.", +"The review operation is succeeded." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1SetDefaultProcessorVersionMetadata": { +"description": "The long-running operation metadata for the SetDefaultProcessorVersion method.", +"id": "GoogleCloudDocumentaiV1SetDefaultProcessorVersionMetadata", +"properties": { +"commonMetadata": { +"$ref": "GoogleCloudDocumentaiV1CommonOperationMetadata", +"description": "The basic metadata of the long-running operation." +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1SetDefaultProcessorVersionResponse": { +"description": "Response message for the SetDefaultProcessorVersion method.", +"id": "GoogleCloudDocumentaiV1SetDefaultProcessorVersionResponse", +"properties": {}, +"type": "object" +}, +"GoogleCloudDocumentaiV1TrainProcessorVersionMetadata": { +"description": "The metadata that represents a processor version being created.", +"id": "GoogleCloudDocumentaiV1TrainProcessorVersionMetadata", +"properties": { +"commonMetadata": { +"$ref": "GoogleCloudDocumentaiV1CommonOperationMetadata", +"description": "The basic metadata of the long-running operation." +}, +"testDatasetValidation": { +"$ref": "GoogleCloudDocumentaiV1TrainProcessorVersionMetadataDatasetValidation", +"description": "The test dataset validation information." +}, +"trainingDatasetValidation": { +"$ref": "GoogleCloudDocumentaiV1TrainProcessorVersionMetadataDatasetValidation", +"description": "The training dataset validation information." +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1TrainProcessorVersionMetadataDatasetValidation": { +"description": "The dataset validation information. This includes any and all errors with documents and the dataset.", +"id": "GoogleCloudDocumentaiV1TrainProcessorVersionMetadataDatasetValidation", +"properties": { +"datasetErrorCount": { +"description": "The total number of dataset errors.", +"format": "int32", +"type": "integer" +}, +"datasetErrors": { +"description": "Error information for the dataset as a whole. A maximum of 10 dataset errors will be returned. A single dataset error is terminal for training.", +"items": { +"$ref": "GoogleRpcStatus" +}, +"type": "array" +}, +"documentErrorCount": { +"description": "The total number of document errors.", +"format": "int32", +"type": "integer" +}, +"documentErrors": { +"description": "Error information pertaining to specific documents. A maximum of 10 document errors will be returned. Any document with errors will not be used throughout training.", +"items": { +"$ref": "GoogleRpcStatus" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1TrainProcessorVersionResponse": { +"description": "The response for TrainProcessorVersion.", +"id": "GoogleCloudDocumentaiV1TrainProcessorVersionResponse", +"properties": { +"processorVersion": { +"description": "The resource name of the processor version produced by training.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1UndeployProcessorVersionMetadata": { +"description": "The long-running operation metadata for the UndeployProcessorVersion method.", +"id": "GoogleCloudDocumentaiV1UndeployProcessorVersionMetadata", +"properties": { +"commonMetadata": { +"$ref": "GoogleCloudDocumentaiV1CommonOperationMetadata", +"description": "The basic metadata of the long-running operation." +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1UndeployProcessorVersionResponse": { +"description": "Response message for the UndeployProcessorVersion method.", +"id": "GoogleCloudDocumentaiV1UndeployProcessorVersionResponse", +"properties": {}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta3Barcode": { +"description": "Encodes the detailed information of a barcode.", +"id": "GoogleCloudDocumentaiV1beta3Barcode", +"properties": { +"format": { +"description": "Format of a barcode. The supported formats are: - `CODE_128`: Code 128 type. - `CODE_39`: Code 39 type. - `CODE_93`: Code 93 type. - `CODABAR`: Codabar type. - `DATA_MATRIX`: 2D Data Matrix type. - `ITF`: ITF type. - `EAN_13`: EAN-13 type. - `EAN_8`: EAN-8 type. - `QR_CODE`: 2D QR code type. - `UPC_A`: UPC-A type. - `UPC_E`: UPC-E type. - `PDF417`: PDF417 type. - `AZTEC`: 2D Aztec code type. - `DATABAR`: GS1 DataBar code type.", +"type": "string" +}, +"rawValue": { +"description": "Raw value encoded in the barcode. For example: `'MEBKM:TITLE:Google;URL:https://www.google.com;;'`.", +"type": "string" +}, +"valueFormat": { +"description": "Value format describes the format of the value that a barcode encodes. The supported formats are: - `CONTACT_INFO`: Contact information. - `EMAIL`: Email address. - `ISBN`: ISBN identifier. - `PHONE`: Phone number. - `PRODUCT`: Product. - `SMS`: SMS message. - `TEXT`: Text string. - `URL`: URL address. - `WIFI`: Wifi information. - `GEO`: Geo-localization. - `CALENDAR_EVENT`: Calendar event. - `DRIVER_LICENSE`: Driver's license.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta3BatchDatasetDocuments": { +"description": "Dataset documents that the batch operation will be applied to.", +"id": "GoogleCloudDocumentaiV1beta3BatchDatasetDocuments", +"properties": { +"filter": { +"description": "A filter matching the documents. Follows the same format and restriction as [google.cloud.documentai.master.ListDocumentsRequest.filter].", +"type": "string" +}, +"individualDocumentIds": { +"$ref": "GoogleCloudDocumentaiV1beta3BatchDatasetDocumentsIndividualDocumentIds", +"description": "Document identifiers." +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta3BatchDatasetDocumentsIndividualDocumentIds": { +"description": "List of individual DocumentIds.", +"id": "GoogleCloudDocumentaiV1beta3BatchDatasetDocumentsIndividualDocumentIds", +"properties": { +"documentIds": { +"description": "Required. List of Document IDs indicating where the actual documents are stored.", +"items": { +"$ref": "GoogleCloudDocumentaiV1beta3DocumentId" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta3BatchDeleteDocumentsMetadata": { +"id": "GoogleCloudDocumentaiV1beta3BatchDeleteDocumentsMetadata", +"properties": { +"commonMetadata": { +"$ref": "GoogleCloudDocumentaiV1beta3CommonOperationMetadata", +"description": "The basic metadata of the long-running operation." +}, +"errorDocumentCount": { +"description": "Total number of documents that failed to be deleted in storage.", +"format": "int32", +"type": "integer" +}, +"individualBatchDeleteStatuses": { +"description": "The list of response details of each document.", +"items": { +"$ref": "GoogleCloudDocumentaiV1beta3BatchDeleteDocumentsMetadataIndividualBatchDeleteStatus" +}, +"type": "array" +}, +"totalDocumentCount": { +"description": "Total number of documents deleting from dataset.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta3BatchDeleteDocumentsMetadataIndividualBatchDeleteStatus": { +"description": "The status of each individual document in the batch delete process.", +"id": "GoogleCloudDocumentaiV1beta3BatchDeleteDocumentsMetadataIndividualBatchDeleteStatus", +"properties": { +"documentId": { +"$ref": "GoogleCloudDocumentaiV1beta3DocumentId", +"description": "The document id of the document." +}, +"status": { +"$ref": "GoogleRpcStatus", +"description": "The status of deleting the document in storage." +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta3BatchDeleteDocumentsRequest": { +"id": "GoogleCloudDocumentaiV1beta3BatchDeleteDocumentsRequest", +"properties": { +"datasetDocuments": { +"$ref": "GoogleCloudDocumentaiV1beta3BatchDatasetDocuments", +"description": "Required. Dataset documents input. If given `filter`, all documents satisfying the filter will be deleted. If given documentIds, a maximum of 50 documents can be deleted in a batch. The request will be rejected if more than 50 document_ids are provided." +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta3BatchDeleteDocumentsResponse": { +"description": "Response of the delete documents operation.", +"id": "GoogleCloudDocumentaiV1beta3BatchDeleteDocumentsResponse", +"properties": {}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta3BatchDocumentsInputConfig": { +"description": "The common config to specify a set of documents used as input.", +"id": "GoogleCloudDocumentaiV1beta3BatchDocumentsInputConfig", +"properties": { +"gcsDocuments": { +"$ref": "GoogleCloudDocumentaiV1beta3GcsDocuments", +"description": "The set of documents individually specified on Cloud Storage." +}, +"gcsPrefix": { +"$ref": "GoogleCloudDocumentaiV1beta3GcsPrefix", +"description": "The set of documents that match the specified Cloud Storage `gcs_prefix`." +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta3BatchProcessMetadata": { +"description": "The long-running operation metadata for BatchProcessDocuments.", +"id": "GoogleCloudDocumentaiV1beta3BatchProcessMetadata", +"properties": { +"createTime": { +"description": "The creation time of the operation.", +"format": "google-datetime", +"type": "string" +}, +"individualProcessStatuses": { +"description": "The list of response details of each document.", +"items": { +"$ref": "GoogleCloudDocumentaiV1beta3BatchProcessMetadataIndividualProcessStatus" +}, +"type": "array" +}, +"state": { +"description": "The state of the current batch processing.", +"enum": [ +"STATE_UNSPECIFIED", +"WAITING", +"RUNNING", +"SUCCEEDED", +"CANCELLING", +"CANCELLED", +"FAILED" +], +"enumDescriptions": [ +"The default value. This value is used if the state is omitted.", +"Request operation is waiting for scheduling.", +"Request is being processed.", +"The batch processing completed successfully.", +"The batch processing was being cancelled.", +"The batch processing was cancelled.", +"The batch processing has failed." +], +"type": "string" +}, +"stateMessage": { +"description": "A message providing more details about the current state of processing. For example, the error message if the operation is failed.", +"type": "string" +}, +"updateTime": { +"description": "The last update time of the operation.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta3BatchProcessMetadataIndividualProcessStatus": { +"description": "The status of a each individual document in the batch process.", +"id": "GoogleCloudDocumentaiV1beta3BatchProcessMetadataIndividualProcessStatus", +"properties": { +"humanReviewOperation": { +"deprecated": true, +"description": "The name of the operation triggered by the processed document. If the human review process isn't triggered, this field will be empty. It has the same response type and metadata as the long-running operation returned by the ReviewDocument method.", +"type": "string" +}, +"humanReviewStatus": { +"$ref": "GoogleCloudDocumentaiV1beta3HumanReviewStatus", +"description": "The status of human review on the processed document." +}, +"inputGcsSource": { +"description": "The source of the document, same as the input_gcs_source field in the request when the batch process started.", +"type": "string" +}, +"outputGcsDestination": { +"description": "The Cloud Storage output destination (in the request as DocumentOutputConfig.GcsOutputConfig.gcs_uri) of the processed document if it was successful, otherwise empty.", +"type": "string" +}, +"status": { +"$ref": "GoogleRpcStatus", +"description": "The status processing the document." +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta3BatchProcessRequest": { +"description": "Request message for BatchProcessDocuments.", +"id": "GoogleCloudDocumentaiV1beta3BatchProcessRequest", +"properties": { +"documentOutputConfig": { +"$ref": "GoogleCloudDocumentaiV1beta3DocumentOutputConfig", +"description": "The output configuration for the BatchProcessDocuments method." +}, +"inputConfigs": { +"deprecated": true, +"description": "The input config for each single document in the batch process.", +"items": { +"$ref": "GoogleCloudDocumentaiV1beta3BatchProcessRequestBatchInputConfig" +}, +"type": "array" +}, +"inputDocuments": { +"$ref": "GoogleCloudDocumentaiV1beta3BatchDocumentsInputConfig", +"description": "The input documents for the BatchProcessDocuments method." +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. The labels with user-defined metadata for the request. Label keys and values can be no longer than 63 characters (Unicode codepoints) and can only contain lowercase letters, numeric characters, underscores, and dashes. International characters are allowed. Label values are optional. Label keys must start with a letter.", +"type": "object" +}, +"outputConfig": { +"$ref": "GoogleCloudDocumentaiV1beta3BatchProcessRequestBatchOutputConfig", +"deprecated": true, +"description": "The overall output config for batch process." +}, +"processOptions": { +"$ref": "GoogleCloudDocumentaiV1beta3ProcessOptions", +"description": "Inference-time options for the process API" +}, +"skipHumanReview": { +"deprecated": true, +"description": "Whether human review should be skipped for this request. Default to `false`.", +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta3BatchProcessRequestBatchInputConfig": { +"deprecated": true, +"description": "The message for input config in batch process.", +"id": "GoogleCloudDocumentaiV1beta3BatchProcessRequestBatchInputConfig", +"properties": { +"gcsSource": { +"description": "The Cloud Storage location as the source of the document.", +"type": "string" +}, +"mimeType": { +"description": "An IANA published [media type (MIME type)](https://www.iana.org/assignments/media-types/media-types.xhtml) of the input. If the input is a raw document, refer to [supported file types](https://cloud.google.com/document-ai/docs/file-types) for the list of media types. If the input is a Document, the type should be `application/json`.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta3BatchProcessRequestBatchOutputConfig": { +"deprecated": true, +"description": "The output configuration in the BatchProcessDocuments method.", +"id": "GoogleCloudDocumentaiV1beta3BatchProcessRequestBatchOutputConfig", +"properties": { +"gcsDestination": { +"description": "The output Cloud Storage directory to put the processed documents.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta3BatchProcessResponse": { +"description": "Response message for BatchProcessDocuments.", +"id": "GoogleCloudDocumentaiV1beta3BatchProcessResponse", +"properties": {}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta3BoundingPoly": { +"description": "A bounding polygon for the detected image annotation.", +"id": "GoogleCloudDocumentaiV1beta3BoundingPoly", +"properties": { +"normalizedVertices": { +"description": "The bounding polygon normalized vertices.", +"items": { +"$ref": "GoogleCloudDocumentaiV1beta3NormalizedVertex" +}, +"type": "array" +}, +"vertices": { +"description": "The bounding polygon vertices.", +"items": { +"$ref": "GoogleCloudDocumentaiV1beta3Vertex" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta3CommonOperationMetadata": { +"description": "The common metadata for long running operations.", +"id": "GoogleCloudDocumentaiV1beta3CommonOperationMetadata", +"properties": { +"createTime": { +"description": "The creation time of the operation.", +"format": "google-datetime", +"type": "string" +}, +"resource": { +"description": "A related resource to this operation.", +"type": "string" +}, +"state": { +"description": "The state of the operation.", +"enum": [ +"STATE_UNSPECIFIED", +"RUNNING", +"CANCELLING", +"SUCCEEDED", +"FAILED", +"CANCELLED" +], +"enumDescriptions": [ +"Unspecified state.", +"Operation is still running.", +"Operation is being cancelled.", +"Operation succeeded.", +"Operation failed.", +"Operation is cancelled." +], +"type": "string" +}, +"stateMessage": { +"description": "A message providing more details about the current state of processing.", +"type": "string" +}, +"updateTime": { +"description": "The last update time of the operation.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta3Dataset": { +"description": "A singleton resource under a Processor which configures a collection of documents.", +"id": "GoogleCloudDocumentaiV1beta3Dataset", +"properties": { +"documentWarehouseConfig": { +"$ref": "GoogleCloudDocumentaiV1beta3DatasetDocumentWarehouseConfig", +"deprecated": true, +"description": "Optional. Deprecated. Warehouse-based dataset configuration is not supported." +}, +"gcsManagedConfig": { +"$ref": "GoogleCloudDocumentaiV1beta3DatasetGCSManagedConfig", +"description": "Optional. User-managed Cloud Storage dataset configuration. Use this configuration if the dataset documents are stored under a user-managed Cloud Storage location." +}, +"name": { +"description": "Dataset resource name. Format: `projects/{project}/locations/{location}/processors/{processor}/dataset`", +"type": "string" +}, +"satisfiesPzi": { +"description": "Output only. Reserved for future use.", +"readOnly": true, +"type": "boolean" +}, +"satisfiesPzs": { +"description": "Output only. Reserved for future use.", +"readOnly": true, +"type": "boolean" +}, +"state": { +"description": "Required. State of the dataset. Ignored when updating dataset.", +"enum": [ +"STATE_UNSPECIFIED", +"UNINITIALIZED", +"INITIALIZING", +"INITIALIZED" +], +"enumDescriptions": [ +"Default unspecified enum, should not be used.", +"Dataset has not been initialized.", +"Dataset is being initialized.", +"Dataset has been initialized." +], +"type": "string" +}, +"unmanagedDatasetConfig": { +"$ref": "GoogleCloudDocumentaiV1beta3DatasetUnmanagedDatasetConfig", +"description": "Optional. Unmanaged dataset configuration. Use this configuration if the dataset documents are managed by the document service internally (not user-managed)." +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta3DatasetDocumentWarehouseConfig": { +"description": "Configuration specific to the Document AI Warehouse-based implementation.", +"id": "GoogleCloudDocumentaiV1beta3DatasetDocumentWarehouseConfig", +"properties": { +"collection": { +"description": "Output only. The collection in Document AI Warehouse associated with the dataset.", +"readOnly": true, +"type": "string" +}, +"schema": { +"description": "Output only. The schema in Document AI Warehouse associated with the dataset.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta3DatasetGCSManagedConfig": { +"description": "Configuration specific to the Cloud Storage-based implementation.", +"id": "GoogleCloudDocumentaiV1beta3DatasetGCSManagedConfig", +"properties": { +"gcsPrefix": { +"$ref": "GoogleCloudDocumentaiV1beta3GcsPrefix", +"description": "Required. The Cloud Storage URI (a directory) where the documents belonging to the dataset must be stored." +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta3DatasetSchema": { +"description": "Dataset Schema.", +"id": "GoogleCloudDocumentaiV1beta3DatasetSchema", +"properties": { +"documentSchema": { +"$ref": "GoogleCloudDocumentaiV1beta3DocumentSchema", +"description": "Optional. Schema of the dataset." +}, +"name": { +"description": "Dataset schema resource name. Format: `projects/{project}/locations/{location}/processors/{processor}/dataset/datasetSchema`", +"type": "string" +}, +"satisfiesPzi": { +"description": "Output only. Reserved for future use.", +"readOnly": true, +"type": "boolean" +}, +"satisfiesPzs": { +"description": "Output only. Reserved for future use.", +"readOnly": true, +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta3DatasetUnmanagedDatasetConfig": { +"description": "Configuration specific to an unmanaged dataset.", +"id": "GoogleCloudDocumentaiV1beta3DatasetUnmanagedDatasetConfig", +"properties": {}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta3DeleteProcessorMetadata": { +"description": "The long-running operation metadata for the DeleteProcessor method.", +"id": "GoogleCloudDocumentaiV1beta3DeleteProcessorMetadata", +"properties": { +"commonMetadata": { +"$ref": "GoogleCloudDocumentaiV1beta3CommonOperationMetadata", +"description": "The basic metadata of the long-running operation." +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta3DeleteProcessorVersionMetadata": { +"description": "The long-running operation metadata for the DeleteProcessorVersion method.", +"id": "GoogleCloudDocumentaiV1beta3DeleteProcessorVersionMetadata", +"properties": { +"commonMetadata": { +"$ref": "GoogleCloudDocumentaiV1beta3CommonOperationMetadata", +"description": "The basic metadata of the long-running operation." +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta3DeployProcessorVersionMetadata": { +"description": "The long-running operation metadata for the DeployProcessorVersion method.", +"id": "GoogleCloudDocumentaiV1beta3DeployProcessorVersionMetadata", +"properties": { +"commonMetadata": { +"$ref": "GoogleCloudDocumentaiV1beta3CommonOperationMetadata", +"description": "The basic metadata of the long-running operation." +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta3DeployProcessorVersionRequest": { +"description": "Request message for the DeployProcessorVersion method.", +"id": "GoogleCloudDocumentaiV1beta3DeployProcessorVersionRequest", +"properties": {}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta3DeployProcessorVersionResponse": { +"description": "Response message for the DeployProcessorVersion method.", +"id": "GoogleCloudDocumentaiV1beta3DeployProcessorVersionResponse", +"properties": {}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta3DisableProcessorMetadata": { +"description": "The long-running operation metadata for the DisableProcessor method.", +"id": "GoogleCloudDocumentaiV1beta3DisableProcessorMetadata", +"properties": { +"commonMetadata": { +"$ref": "GoogleCloudDocumentaiV1beta3CommonOperationMetadata", +"description": "The basic metadata of the long-running operation." +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta3DisableProcessorRequest": { +"description": "Request message for the DisableProcessor method.", +"id": "GoogleCloudDocumentaiV1beta3DisableProcessorRequest", +"properties": {}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta3DisableProcessorResponse": { +"description": "Response message for the DisableProcessor method. Intentionally empty proto for adding fields in future.", +"id": "GoogleCloudDocumentaiV1beta3DisableProcessorResponse", +"properties": {}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta3Document": { +"description": "Document represents the canonical document resource in Document AI. It is an interchange format that provides insights into documents and allows for collaboration between users and Document AI to iterate and optimize for quality.", +"id": "GoogleCloudDocumentaiV1beta3Document", +"properties": { +"blobAssets": { +"description": "Optional. The blob assets in this document. This is used to store the content of the inline blobs in this document, for example, image bytes, such that it can be referenced by other fields in the document via asset id.", +"items": { +"$ref": "GoogleCloudDocumentaiV1beta3DocumentBlobAsset" +}, +"type": "array" +}, +"chunkedDocument": { +"$ref": "GoogleCloudDocumentaiV1beta3DocumentChunkedDocument", +"description": "Document chunked based on chunking config." +}, +"content": { +"description": "Optional. Inline document content, represented as a stream of bytes. Note: As with all `bytes` fields, protobuffers use a pure binary representation, whereas JSON representations use base64.", +"format": "byte", +"type": "string" +}, +"docid": { +"description": "Optional. An internal identifier for document. Should be loggable (no PII).", +"type": "string" +}, +"documentLayout": { +"$ref": "GoogleCloudDocumentaiV1beta3DocumentDocumentLayout", +"description": "Parsed layout of the document." +}, +"entities": { +"description": "A list of entities detected on Document.text. For document shards, entities in this list may cross shard boundaries.", +"items": { +"$ref": "GoogleCloudDocumentaiV1beta3DocumentEntity" +}, +"type": "array" +}, +"entitiesRevisionId": { +"description": "The entity revision ID that `document.entities` field is based on. If this field is set and `entities_revisions` is not empty, the entities in `document.entities` field are the entities in the entity revision with this id and `document.entity_validation_output` field is the `entity_validation_output` field in this entity revision.", +"type": "string" +}, +"entitiesRevisions": { +"description": "A list of entity revisions. The entity revisions are appended to the document in the processing order. This field can be used for comparing the entity extraction results at different stages of the processing.", +"items": { +"$ref": "GoogleCloudDocumentaiV1beta3DocumentEntitiesRevision" +}, +"type": "array" +}, +"entityRelations": { +"description": "Placeholder. Relationship among Document.entities.", +"items": { +"$ref": "GoogleCloudDocumentaiV1beta3DocumentEntityRelation" +}, +"type": "array" +}, +"entityValidationOutput": { +"$ref": "GoogleCloudDocumentaiV1beta3DocumentEntityValidationOutput", +"description": "The entity validation output for the document. This is the validation output for `document.entities` field." +}, +"error": { +"$ref": "GoogleRpcStatus", +"description": "Any error that occurred while processing this document." +}, +"mimeType": { +"description": "An IANA published [media type (MIME type)](https://www.iana.org/assignments/media-types/media-types.xhtml).", +"type": "string" +}, +"pages": { +"description": "Visual page layout for the Document.", +"items": { +"$ref": "GoogleCloudDocumentaiV1beta3DocumentPage" +}, +"type": "array" +}, +"revisions": { +"description": "Placeholder. Revision history of this document.", +"items": { +"$ref": "GoogleCloudDocumentaiV1beta3DocumentRevision" +}, +"type": "array" +}, +"shardInfo": { +"$ref": "GoogleCloudDocumentaiV1beta3DocumentShardInfo", +"description": "Information about the sharding if this document is sharded part of a larger document. If the document is not sharded, this message is not specified." +}, +"text": { +"description": "Optional. UTF-8 encoded text in reading order from the document.", +"type": "string" +}, +"textChanges": { +"description": "Placeholder. A list of text corrections made to Document.text. This is usually used for annotating corrections to OCR mistakes. Text changes for a given revision may not overlap with each other.", +"items": { +"$ref": "GoogleCloudDocumentaiV1beta3DocumentTextChange" +}, +"type": "array" +}, +"textStyles": { +"deprecated": true, +"description": "Styles for the Document.text.", +"items": { +"$ref": "GoogleCloudDocumentaiV1beta3DocumentStyle" +}, +"type": "array" +}, +"uri": { +"description": "Optional. Currently supports Google Cloud Storage URI of the form `gs://bucket_name/object_name`. Object versioning is not supported. For more information, refer to [Google Cloud Storage Request URIs](https://cloud.google.com/storage/docs/reference-uris).", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta3DocumentAnnotations": { +"description": "Represents the annotation of a block or a chunk.", +"id": "GoogleCloudDocumentaiV1beta3DocumentAnnotations", +"properties": { +"description": { +"description": "The description of the content with this annotation.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta3DocumentBlobAsset": { +"description": "Represents a blob asset. It's used to store the content of the inline blob in this document, for example, image bytes, such that it can be referenced by other fields in the document via asset ID.", +"id": "GoogleCloudDocumentaiV1beta3DocumentBlobAsset", +"properties": { +"assetId": { +"description": "Optional. The id of the blob asset.", +"type": "string" +}, +"content": { +"description": "Optional. The content of the blob asset, for example, image bytes.", +"format": "byte", +"type": "string" +}, +"mimeType": { +"description": "The mime type of the blob asset. An IANA published [media type (MIME type)](https://www.iana.org/assignments/media-types/media-types.xhtml).", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta3DocumentChunkedDocument": { +"description": "Represents the chunks that the document is divided into.", +"id": "GoogleCloudDocumentaiV1beta3DocumentChunkedDocument", +"properties": { +"chunks": { +"description": "List of chunks.", +"items": { +"$ref": "GoogleCloudDocumentaiV1beta3DocumentChunkedDocumentChunk" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta3DocumentChunkedDocumentChunk": { +"description": "Represents a chunk.", +"id": "GoogleCloudDocumentaiV1beta3DocumentChunkedDocumentChunk", +"properties": { +"chunkFields": { +"description": "Chunk fields inside this chunk.", +"items": { +"$ref": "GoogleCloudDocumentaiV1beta3DocumentChunkedDocumentChunkChunkField" +}, +"type": "array" +}, +"chunkId": { +"description": "ID of the chunk.", +"type": "string" +}, +"content": { +"description": "Text content of the chunk.", +"type": "string" +}, +"pageFooters": { +"description": "Page footers associated with the chunk.", +"items": { +"$ref": "GoogleCloudDocumentaiV1beta3DocumentChunkedDocumentChunkChunkPageFooter" +}, +"type": "array" +}, +"pageHeaders": { +"description": "Page headers associated with the chunk.", +"items": { +"$ref": "GoogleCloudDocumentaiV1beta3DocumentChunkedDocumentChunkChunkPageHeader" +}, +"type": "array" +}, +"pageSpan": { +"$ref": "GoogleCloudDocumentaiV1beta3DocumentChunkedDocumentChunkChunkPageSpan", +"description": "Page span of the chunk." +}, +"sourceBlockIds": { +"description": "Unused.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta3DocumentChunkedDocumentChunkChunkField": { +"description": "The chunk field in the chunk. A chunk field could be one of the various types (for example, image, table) supported.", +"id": "GoogleCloudDocumentaiV1beta3DocumentChunkedDocumentChunkChunkField", +"properties": { +"imageChunkField": { +"$ref": "GoogleCloudDocumentaiV1beta3DocumentChunkedDocumentChunkImageChunkField", +"description": "The image chunk field in the chunk." +}, +"tableChunkField": { +"$ref": "GoogleCloudDocumentaiV1beta3DocumentChunkedDocumentChunkTableChunkField", +"description": "The table chunk field in the chunk." +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta3DocumentChunkedDocumentChunkChunkPageFooter": { +"description": "Represents the page footer associated with the chunk.", +"id": "GoogleCloudDocumentaiV1beta3DocumentChunkedDocumentChunkChunkPageFooter", +"properties": { +"pageSpan": { +"$ref": "GoogleCloudDocumentaiV1beta3DocumentChunkedDocumentChunkChunkPageSpan", +"description": "Page span of the footer." +}, +"text": { +"description": "Footer in text format.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta3DocumentChunkedDocumentChunkChunkPageHeader": { +"description": "Represents the page header associated with the chunk.", +"id": "GoogleCloudDocumentaiV1beta3DocumentChunkedDocumentChunkChunkPageHeader", +"properties": { +"pageSpan": { +"$ref": "GoogleCloudDocumentaiV1beta3DocumentChunkedDocumentChunkChunkPageSpan", +"description": "Page span of the header." +}, +"text": { +"description": "Header in text format.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta3DocumentChunkedDocumentChunkChunkPageSpan": { +"description": "Represents where the chunk starts and ends in the document.", +"id": "GoogleCloudDocumentaiV1beta3DocumentChunkedDocumentChunkChunkPageSpan", +"properties": { +"pageEnd": { +"description": "Page where chunk ends in the document.", +"format": "int32", +"type": "integer" +}, +"pageStart": { +"description": "Page where chunk starts in the document.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta3DocumentChunkedDocumentChunkImageChunkField": { +"description": "The image chunk field in the chunk.", +"id": "GoogleCloudDocumentaiV1beta3DocumentChunkedDocumentChunkImageChunkField", +"properties": { +"annotations": { +"$ref": "GoogleCloudDocumentaiV1beta3DocumentAnnotations", +"description": "Annotation of the image chunk field." +}, +"blobAssetId": { +"description": "Optional. Asset id of the inline image. If set, find the image content in the blob_assets field.", +"type": "string" +}, +"dataUri": { +"description": "Optional. Data uri of the image. It is composed of four parts: a prefix (data:), a MIME type indicating the type of data, an optional base64 token if non-textual, and the data itself: data:,", +"type": "string" +}, +"gcsUri": { +"description": "Optional. Google Cloud Storage uri of the image.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta3DocumentChunkedDocumentChunkTableChunkField": { +"description": "The table chunk field in the chunk.", +"id": "GoogleCloudDocumentaiV1beta3DocumentChunkedDocumentChunkTableChunkField", +"properties": { +"annotations": { +"$ref": "GoogleCloudDocumentaiV1beta3DocumentAnnotations", +"description": "Annotation of the table chunk field." +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta3DocumentDocumentLayout": { +"description": "Represents the parsed layout of a document as a collection of blocks that the document is divided into.", +"id": "GoogleCloudDocumentaiV1beta3DocumentDocumentLayout", +"properties": { +"blocks": { +"description": "List of blocks in the document.", +"items": { +"$ref": "GoogleCloudDocumentaiV1beta3DocumentDocumentLayoutDocumentLayoutBlock" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta3DocumentDocumentLayoutDocumentLayoutBlock": { +"description": "Represents a block. A block could be one of the various types (text, table, list) supported.", +"id": "GoogleCloudDocumentaiV1beta3DocumentDocumentLayoutDocumentLayoutBlock", +"properties": { +"blockId": { +"description": "ID of the block.", +"type": "string" +}, +"boundingBox": { +"$ref": "GoogleCloudDocumentaiV1beta3BoundingPoly", +"description": "Identifies the bounding box for the block." +}, +"imageBlock": { +"$ref": "GoogleCloudDocumentaiV1beta3DocumentDocumentLayoutDocumentLayoutBlockLayoutImageBlock", +"description": "Block consisting of image content." +}, +"listBlock": { +"$ref": "GoogleCloudDocumentaiV1beta3DocumentDocumentLayoutDocumentLayoutBlockLayoutListBlock", +"description": "Block consisting of list content/structure." +}, +"pageSpan": { +"$ref": "GoogleCloudDocumentaiV1beta3DocumentDocumentLayoutDocumentLayoutBlockLayoutPageSpan", +"description": "Page span of the block." +}, +"tableBlock": { +"$ref": "GoogleCloudDocumentaiV1beta3DocumentDocumentLayoutDocumentLayoutBlockLayoutTableBlock", +"description": "Block consisting of table content/structure." +}, +"textBlock": { +"$ref": "GoogleCloudDocumentaiV1beta3DocumentDocumentLayoutDocumentLayoutBlockLayoutTextBlock", +"description": "Block consisting of text content." +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta3DocumentDocumentLayoutDocumentLayoutBlockLayoutImageBlock": { +"description": "Represents an image type block.", +"id": "GoogleCloudDocumentaiV1beta3DocumentDocumentLayoutDocumentLayoutBlockLayoutImageBlock", +"properties": { +"annotations": { +"$ref": "GoogleCloudDocumentaiV1beta3DocumentAnnotations", +"description": "Annotation of the image block." +}, +"blobAssetId": { +"description": "Optional. Asset id of the inline image. If set, find the image content in the blob_assets field.", +"type": "string" +}, +"dataUri": { +"description": "Optional. Data uri of the image. It is composed of four parts: a prefix (data:), a MIME type indicating the type of data, an optional base64 token if non-textual, and the data itself: data:,", +"type": "string" +}, +"gcsUri": { +"description": "Optional. Google Cloud Storage uri of the image.", +"type": "string" +}, +"imageText": { +"description": "Text extracted from the image using OCR or alt text describing the image.", +"type": "string" +}, +"mimeType": { +"description": "Mime type of the image. An IANA published [media type (MIME type)] (https://www.iana.org/assignments/media-types/media-types.xhtml).", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta3DocumentDocumentLayoutDocumentLayoutBlockLayoutListBlock": { +"description": "Represents a list type block.", +"id": "GoogleCloudDocumentaiV1beta3DocumentDocumentLayoutDocumentLayoutBlockLayoutListBlock", +"properties": { +"listEntries": { +"description": "List entries that constitute a list block.", +"items": { +"$ref": "GoogleCloudDocumentaiV1beta3DocumentDocumentLayoutDocumentLayoutBlockLayoutListEntry" +}, +"type": "array" +}, +"type": { +"description": "Type of the list_entries (if exist). Available options are `ordered` and `unordered`.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta3DocumentDocumentLayoutDocumentLayoutBlockLayoutListEntry": { +"description": "Represents an entry in the list.", +"id": "GoogleCloudDocumentaiV1beta3DocumentDocumentLayoutDocumentLayoutBlockLayoutListEntry", +"properties": { +"blocks": { +"description": "A list entry is a list of blocks. Repeated blocks support further hierarchies and nested blocks.", +"items": { +"$ref": "GoogleCloudDocumentaiV1beta3DocumentDocumentLayoutDocumentLayoutBlock" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta3DocumentDocumentLayoutDocumentLayoutBlockLayoutPageSpan": { +"description": "Represents where the block starts and ends in the document.", +"id": "GoogleCloudDocumentaiV1beta3DocumentDocumentLayoutDocumentLayoutBlockLayoutPageSpan", +"properties": { +"pageEnd": { +"description": "Page where block ends in the document.", +"format": "int32", +"type": "integer" +}, +"pageStart": { +"description": "Page where block starts in the document.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta3DocumentDocumentLayoutDocumentLayoutBlockLayoutTableBlock": { +"description": "Represents a table type block.", +"id": "GoogleCloudDocumentaiV1beta3DocumentDocumentLayoutDocumentLayoutBlockLayoutTableBlock", +"properties": { +"annotations": { +"$ref": "GoogleCloudDocumentaiV1beta3DocumentAnnotations", +"description": "Annotation of the table block." +}, +"bodyRows": { +"description": "Body rows containing main table content.", +"items": { +"$ref": "GoogleCloudDocumentaiV1beta3DocumentDocumentLayoutDocumentLayoutBlockLayoutTableRow" +}, +"type": "array" +}, +"caption": { +"description": "Table caption/title.", +"type": "string" +}, +"headerRows": { +"description": "Header rows at the top of the table.", +"items": { +"$ref": "GoogleCloudDocumentaiV1beta3DocumentDocumentLayoutDocumentLayoutBlockLayoutTableRow" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta3DocumentDocumentLayoutDocumentLayoutBlockLayoutTableCell": { +"description": "Represents a cell in a table row.", +"id": "GoogleCloudDocumentaiV1beta3DocumentDocumentLayoutDocumentLayoutBlockLayoutTableCell", +"properties": { +"blocks": { +"description": "A table cell is a list of blocks. Repeated blocks support further hierarchies and nested blocks.", +"items": { +"$ref": "GoogleCloudDocumentaiV1beta3DocumentDocumentLayoutDocumentLayoutBlock" +}, +"type": "array" +}, +"colSpan": { +"description": "How many columns this cell spans.", +"format": "int32", +"type": "integer" +}, +"rowSpan": { +"description": "How many rows this cell spans.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta3DocumentDocumentLayoutDocumentLayoutBlockLayoutTableRow": { +"description": "Represents a row in a table.", +"id": "GoogleCloudDocumentaiV1beta3DocumentDocumentLayoutDocumentLayoutBlockLayoutTableRow", +"properties": { +"cells": { +"description": "A table row is a list of table cells.", +"items": { +"$ref": "GoogleCloudDocumentaiV1beta3DocumentDocumentLayoutDocumentLayoutBlockLayoutTableCell" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta3DocumentDocumentLayoutDocumentLayoutBlockLayoutTextBlock": { +"description": "Represents a text type block.", +"id": "GoogleCloudDocumentaiV1beta3DocumentDocumentLayoutDocumentLayoutBlockLayoutTextBlock", +"properties": { +"annotations": { +"$ref": "GoogleCloudDocumentaiV1beta3DocumentAnnotations", +"description": "Annotation of the text block." +}, +"blocks": { +"description": "A text block could further have child blocks. Repeated blocks support further hierarchies and nested blocks.", +"items": { +"$ref": "GoogleCloudDocumentaiV1beta3DocumentDocumentLayoutDocumentLayoutBlock" +}, +"type": "array" +}, +"text": { +"description": "Text content stored in the block.", +"type": "string" +}, +"type": { +"description": "Type of the text in the block. Available options are: `paragraph`, `subtitle`, `heading-1`, `heading-2`, `heading-3`, `heading-4`, `heading-5`, `header`, `footer`.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta3DocumentEntitiesRevision": { +"description": "Entity revision.", +"id": "GoogleCloudDocumentaiV1beta3DocumentEntitiesRevision", +"properties": { +"entities": { +"description": "The entities in this revision.", +"items": { +"$ref": "GoogleCloudDocumentaiV1beta3DocumentEntity" +}, +"type": "array" +}, +"entityValidationOutput": { +"$ref": "GoogleCloudDocumentaiV1beta3DocumentEntityValidationOutput", +"description": "The entity validation output for this revision." +}, +"provenance": { +"$ref": "GoogleCloudDocumentaiV1beta3DocumentProvenance", +"description": "Optional. The history of this revision." +}, +"revisionId": { +"description": "The revision id.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta3DocumentEntity": { +"description": "An entity that could be a phrase in the text or a property that belongs to the document. It is a known entity type, such as a person, an organization, or location.", +"id": "GoogleCloudDocumentaiV1beta3DocumentEntity", +"properties": { +"confidence": { +"description": "Optional. Confidence of detected Schema entity. Range `[0, 1]`.", +"format": "float", +"type": "number" +}, +"id": { +"description": "Optional. Canonical id. This will be a unique value in the entity list for this document.", +"type": "string" +}, +"mentionId": { +"description": "Optional. Deprecated. Use `id` field instead.", +"type": "string" +}, +"mentionText": { +"description": "Optional. Text value of the entity, for example, `1600 Amphitheatre Pkwy`.", +"type": "string" +}, +"method": { +"description": "Optional. Specifies how the entity's value is obtained.", +"enum": [ +"METHOD_UNSPECIFIED", +"EXTRACT", +"DERIVE" +], +"enumDescriptions": [ +"When the method is not specified, it should be treated as `EXTRACT`.", +"The entity's value is directly extracted as-is from the document text.", +"The entity's value is derived through inference and is not necessarily an exact text extraction from the document." +], +"type": "string" +}, +"normalizedValue": { +"$ref": "GoogleCloudDocumentaiV1beta3DocumentEntityNormalizedValue", +"description": "Optional. Normalized entity value. Absent if the extracted value could not be converted or the type (for example, address) is not supported for certain parsers. This field is also only populated for certain supported document types." +}, +"pageAnchor": { +"$ref": "GoogleCloudDocumentaiV1beta3DocumentPageAnchor", +"description": "Optional. Represents the provenance of this entity wrt. the location on the page where it was found." +}, +"properties": { +"description": "Optional. Entities can be nested to form a hierarchical data structure representing the content in the document.", +"items": { +"$ref": "GoogleCloudDocumentaiV1beta3DocumentEntity" +}, +"type": "array" +}, +"provenance": { +"$ref": "GoogleCloudDocumentaiV1beta3DocumentProvenance", +"description": "Optional. The history of this annotation." +}, +"redacted": { +"description": "Optional. Whether the entity will be redacted for de-identification purposes.", +"type": "boolean" +}, +"textAnchor": { +"$ref": "GoogleCloudDocumentaiV1beta3DocumentTextAnchor", +"description": "Optional. Provenance of the entity. Text anchor indexing into the Document.text." +}, +"type": { +"description": "Required. Entity type from a schema, for example, `Address`.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta3DocumentEntityNormalizedValue": { +"description": "Parsed and normalized entity value.", +"id": "GoogleCloudDocumentaiV1beta3DocumentEntityNormalizedValue", +"properties": { +"addressValue": { +"$ref": "GoogleTypePostalAddress", +"description": "Postal address. See also: https://github.com/googleapis/googleapis/blob/master/google/type/postal_address.proto" +}, +"booleanValue": { +"description": "Boolean value. Can be used for entities with binary values, or for checkboxes.", +"type": "boolean" +}, +"dateValue": { +"$ref": "GoogleTypeDate", +"description": "Date value. Includes year, month, day. See also: https://github.com/googleapis/googleapis/blob/master/google/type/date.proto" +}, +"datetimeValue": { +"$ref": "GoogleTypeDateTime", +"description": "DateTime value. Includes date, time, and timezone. See also: https://github.com/googleapis/googleapis/blob/master/google/type/datetime.proto" +}, +"floatValue": { +"description": "Float value.", +"format": "float", +"type": "number" +}, +"integerValue": { +"description": "Integer value.", +"format": "int32", +"type": "integer" +}, +"moneyValue": { +"$ref": "GoogleTypeMoney", +"description": "Money value. See also: https://github.com/googleapis/googleapis/blob/master/google/type/money.proto" +}, +"signatureValue": { +"description": "A signature - a graphical representation of a person's name, often used to sign a document.", +"type": "boolean" +}, +"text": { +"description": "Optional. An optional field to store a normalized string. For some entity types, one of respective `structured_value` fields may also be populated. Also not all the types of `structured_value` will be normalized. For example, some processors may not generate `float` or `integer` normalized text by default. Below are sample formats mapped to structured values. - Money/Currency type (`money_value`) is in the ISO 4217 text format. - Date type (`date_value`) is in the ISO 8601 text format. - Datetime type (`datetime_value`) is in the ISO 8601 text format.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta3DocumentEntityRelation": { +"description": "Relationship between Entities.", +"id": "GoogleCloudDocumentaiV1beta3DocumentEntityRelation", +"properties": { +"objectId": { +"description": "Object entity id.", +"type": "string" +}, +"relation": { +"description": "Relationship description.", +"type": "string" +}, +"subjectId": { +"description": "Subject entity id.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta3DocumentEntityValidationOutput": { +"description": "The output of the validation given the document and the validation rules.", +"id": "GoogleCloudDocumentaiV1beta3DocumentEntityValidationOutput", +"properties": { +"passAllRules": { +"description": "The overall result of the validation, true if all applicable rules are valid.", +"type": "boolean" +}, +"validationResults": { +"description": "The result of each validation rule.", +"items": { +"$ref": "GoogleCloudDocumentaiV1beta3DocumentEntityValidationOutputValidationResult" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta3DocumentEntityValidationOutputValidationResult": { +"description": "Validation result for a single validation rule.", +"id": "GoogleCloudDocumentaiV1beta3DocumentEntityValidationOutputValidationResult", +"properties": { +"rule": { +"description": "Optional. The name of the rule resource that is used for validation. Format: `projects/{project}/locations/{location}/rules/{rule}`", +"type": "string" +}, +"ruleDescription": { +"description": "The description of the validation rule.", +"type": "string" +}, +"ruleName": { +"description": "The display name of the validation rule.", +"type": "string" +}, +"validationDetails": { +"description": "The detailed information of the running the validation process using the entity from the document based on the validation rule.", +"type": "string" +}, +"validationResultType": { +"description": "The result of the validation rule.", +"enum": [ +"VALIDATION_RESULT_TYPE_UNSPECIFIED", +"VALIDATION_RESULT_TYPE_VALID", +"VALIDATION_RESULT_TYPE_INVALID", +"VALIDATION_RESULT_TYPE_SKIPPED", +"VALIDATION_RESULT_TYPE_NOT_APPLICABLE" +], +"enumDescriptions": [ +"The validation result type is unspecified.", +"The validation is valid.", +"The validation is invalid.", +"The validation is skipped.", +"The validation is not applicable." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta3DocumentId": { +"description": "Document Identifier.", +"id": "GoogleCloudDocumentaiV1beta3DocumentId", +"properties": { +"gcsManagedDocId": { +"$ref": "GoogleCloudDocumentaiV1beta3DocumentIdGCSManagedDocumentId", +"description": "A document id within user-managed Cloud Storage." +}, +"revisionRef": { +"$ref": "GoogleCloudDocumentaiV1beta3RevisionRef", +"description": "Points to a specific revision of the document if set." +}, +"unmanagedDocId": { +"$ref": "GoogleCloudDocumentaiV1beta3DocumentIdUnmanagedDocumentId", +"description": "A document id within unmanaged dataset." +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta3DocumentIdGCSManagedDocumentId": { +"description": "Identifies a document uniquely within the scope of a dataset in the user-managed Cloud Storage option.", +"id": "GoogleCloudDocumentaiV1beta3DocumentIdGCSManagedDocumentId", +"properties": { +"cwDocId": { +"deprecated": true, +"description": "Id of the document (indexed) managed by Content Warehouse.", +"type": "string" +}, +"gcsUri": { +"description": "Required. The Cloud Storage URI where the actual document is stored.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta3DocumentIdUnmanagedDocumentId": { +"description": "Identifies a document uniquely within the scope of a dataset in unmanaged option.", +"id": "GoogleCloudDocumentaiV1beta3DocumentIdUnmanagedDocumentId", +"properties": { +"docId": { +"description": "Required. The id of the document.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta3DocumentMetadata": { +"description": "Metadata about a document.", +"id": "GoogleCloudDocumentaiV1beta3DocumentMetadata", +"properties": { +"datasetType": { +"description": "Type of the dataset split to which the document belongs.", +"enum": [ +"DATASET_SPLIT_TYPE_UNSPECIFIED", +"DATASET_SPLIT_TRAIN", +"DATASET_SPLIT_TEST", +"DATASET_SPLIT_UNASSIGNED" +], +"enumDescriptions": [ +"Default value if the enum is not set.", +"Identifies the train documents.", +"Identifies the test documents.", +"Identifies the unassigned documents." +], +"type": "string" +}, +"displayName": { +"description": "The display name of the document.", +"type": "string" +}, +"documentId": { +"$ref": "GoogleCloudDocumentaiV1beta3DocumentId", +"description": "Document identifier." +}, +"labelingState": { +"description": "Labeling state of the document.", +"enum": [ +"DOCUMENT_LABELING_STATE_UNSPECIFIED", +"DOCUMENT_LABELED", +"DOCUMENT_UNLABELED", +"DOCUMENT_AUTO_LABELED" +], +"enumDescriptions": [ +"Default value if the enum is not set.", +"Document has been labeled.", +"Document has not been labeled.", +"Document has been auto-labeled." +], +"type": "string" +}, +"pageCount": { +"description": "Number of pages in the document.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta3DocumentOutputConfig": { +"description": "Config that controls the output of documents. All documents will be written as a JSON file.", +"id": "GoogleCloudDocumentaiV1beta3DocumentOutputConfig", +"properties": { +"gcsOutputConfig": { +"$ref": "GoogleCloudDocumentaiV1beta3DocumentOutputConfigGcsOutputConfig", +"description": "Output config to write the results to Cloud Storage." +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta3DocumentOutputConfigGcsOutputConfig": { +"description": "The configuration used when outputting documents.", +"id": "GoogleCloudDocumentaiV1beta3DocumentOutputConfigGcsOutputConfig", +"properties": { +"fieldMask": { +"description": "Specifies which fields to include in the output documents. Only supports top level document and pages field so it must be in the form of `{document_field_name}` or `pages.{page_field_name}`.", +"format": "google-fieldmask", +"type": "string" +}, +"gcsUri": { +"description": "The Cloud Storage uri (a directory) of the output.", +"type": "string" +}, +"shardingConfig": { +"$ref": "GoogleCloudDocumentaiV1beta3DocumentOutputConfigGcsOutputConfigShardingConfig", +"description": "Specifies the sharding config for the output document." +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta3DocumentOutputConfigGcsOutputConfigShardingConfig": { +"description": "The sharding config for the output document.", +"id": "GoogleCloudDocumentaiV1beta3DocumentOutputConfigGcsOutputConfigShardingConfig", +"properties": { +"pagesOverlap": { +"description": "The number of overlapping pages between consecutive shards.", +"format": "int32", +"type": "integer" +}, +"pagesPerShard": { +"description": "The number of pages per shard.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta3DocumentPage": { +"description": "A page in a Document.", +"id": "GoogleCloudDocumentaiV1beta3DocumentPage", +"properties": { +"blocks": { +"description": "A list of visually detected text blocks on the page. A block has a set of lines (collected into paragraphs) that have a common line-spacing and orientation.", +"items": { +"$ref": "GoogleCloudDocumentaiV1beta3DocumentPageBlock" +}, +"type": "array" +}, +"detectedBarcodes": { +"description": "A list of detected barcodes.", +"items": { +"$ref": "GoogleCloudDocumentaiV1beta3DocumentPageDetectedBarcode" +}, +"type": "array" +}, +"detectedLanguages": { +"description": "A list of detected languages together with confidence.", +"items": { +"$ref": "GoogleCloudDocumentaiV1beta3DocumentPageDetectedLanguage" +}, +"type": "array" +}, +"dimension": { +"$ref": "GoogleCloudDocumentaiV1beta3DocumentPageDimension", +"description": "Physical dimension of the page." +}, +"formFields": { +"description": "A list of visually detected form fields on the page.", +"items": { +"$ref": "GoogleCloudDocumentaiV1beta3DocumentPageFormField" +}, +"type": "array" +}, +"image": { +"$ref": "GoogleCloudDocumentaiV1beta3DocumentPageImage", +"description": "Rendered image for this page. This image is preprocessed to remove any skew, rotation, and distortions such that the annotation bounding boxes can be upright and axis-aligned." +}, +"imageQualityScores": { +"$ref": "GoogleCloudDocumentaiV1beta3DocumentPageImageQualityScores", +"description": "Image quality scores." +}, +"layout": { +"$ref": "GoogleCloudDocumentaiV1beta3DocumentPageLayout", +"description": "Layout for the page." +}, +"lines": { +"description": "A list of visually detected text lines on the page. A collection of tokens that a human would perceive as a line.", +"items": { +"$ref": "GoogleCloudDocumentaiV1beta3DocumentPageLine" +}, +"type": "array" +}, +"pageNumber": { +"description": "1-based index for current Page in a parent Document. Useful when a page is taken out of a Document for individual processing.", +"format": "int32", +"type": "integer" +}, +"paragraphs": { +"description": "A list of visually detected text paragraphs on the page. A collection of lines that a human would perceive as a paragraph.", +"items": { +"$ref": "GoogleCloudDocumentaiV1beta3DocumentPageParagraph" +}, +"type": "array" +}, +"provenance": { +"$ref": "GoogleCloudDocumentaiV1beta3DocumentProvenance", +"deprecated": true, +"description": "The history of this page." +}, +"symbols": { +"description": "A list of visually detected symbols on the page.", +"items": { +"$ref": "GoogleCloudDocumentaiV1beta3DocumentPageSymbol" +}, +"type": "array" +}, +"tables": { +"description": "A list of visually detected tables on the page.", +"items": { +"$ref": "GoogleCloudDocumentaiV1beta3DocumentPageTable" +}, +"type": "array" +}, +"tokens": { +"description": "A list of visually detected tokens on the page.", +"items": { +"$ref": "GoogleCloudDocumentaiV1beta3DocumentPageToken" +}, +"type": "array" +}, +"transforms": { +"description": "Transformation matrices that were applied to the original document image to produce Page.image.", +"items": { +"$ref": "GoogleCloudDocumentaiV1beta3DocumentPageMatrix" +}, +"type": "array" +}, +"visualElements": { +"description": "A list of detected non-text visual elements, for example, checkbox, signature etc. on the page.", +"items": { +"$ref": "GoogleCloudDocumentaiV1beta3DocumentPageVisualElement" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta3DocumentPageAnchor": { +"description": "Referencing the visual context of the entity in the Document.pages. Page anchors can be cross-page, consist of multiple bounding polygons and optionally reference specific layout element types.", +"id": "GoogleCloudDocumentaiV1beta3DocumentPageAnchor", +"properties": { +"pageRefs": { +"description": "One or more references to visual page elements", +"items": { +"$ref": "GoogleCloudDocumentaiV1beta3DocumentPageAnchorPageRef" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta3DocumentPageAnchorPageRef": { +"description": "Represents a weak reference to a page element within a document.", +"id": "GoogleCloudDocumentaiV1beta3DocumentPageAnchorPageRef", +"properties": { +"boundingPoly": { +"$ref": "GoogleCloudDocumentaiV1beta3BoundingPoly", +"description": "Optional. Identifies the bounding polygon of a layout element on the page. If `layout_type` is set, the bounding polygon must be exactly the same to the layout element it's referring to." +}, +"confidence": { +"description": "Optional. Confidence of detected page element, if applicable. Range `[0, 1]`.", +"format": "float", +"type": "number" +}, +"layoutId": { +"deprecated": true, +"description": "Optional. Deprecated. Use PageRef.bounding_poly instead.", +"type": "string" +}, +"layoutType": { +"description": "Optional. The type of the layout element that is being referenced if any.", +"enum": [ +"LAYOUT_TYPE_UNSPECIFIED", +"BLOCK", +"PARAGRAPH", +"LINE", +"TOKEN", +"VISUAL_ELEMENT", +"TABLE", +"FORM_FIELD" +], +"enumDescriptions": [ +"Layout Unspecified.", +"References a Page.blocks element.", +"References a Page.paragraphs element.", +"References a Page.lines element.", +"References a Page.tokens element.", +"References a Page.visual_elements element.", +"Refrrences a Page.tables element.", +"References a Page.form_fields element." +], +"type": "string" +}, +"page": { +"description": "Required. Index into the Document.pages element, for example using `Document.pages` to locate the related page element. This field is skipped when its value is the default `0`. See https://developers.google.com/protocol-buffers/docs/proto3#json.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta3DocumentPageBlock": { +"description": "A block has a set of lines (collected into paragraphs) that have a common line-spacing and orientation.", +"id": "GoogleCloudDocumentaiV1beta3DocumentPageBlock", +"properties": { +"detectedLanguages": { +"description": "A list of detected languages together with confidence.", +"items": { +"$ref": "GoogleCloudDocumentaiV1beta3DocumentPageDetectedLanguage" +}, +"type": "array" +}, +"layout": { +"$ref": "GoogleCloudDocumentaiV1beta3DocumentPageLayout", +"description": "Layout for Block." +}, +"provenance": { +"$ref": "GoogleCloudDocumentaiV1beta3DocumentProvenance", +"deprecated": true, +"description": "The history of this annotation." +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta3DocumentPageDetectedBarcode": { +"description": "A detected barcode.", +"id": "GoogleCloudDocumentaiV1beta3DocumentPageDetectedBarcode", +"properties": { +"barcode": { +"$ref": "GoogleCloudDocumentaiV1beta3Barcode", +"description": "Detailed barcode information of the DetectedBarcode." +}, +"layout": { +"$ref": "GoogleCloudDocumentaiV1beta3DocumentPageLayout", +"description": "Layout for DetectedBarcode." +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta3DocumentPageDetectedLanguage": { +"description": "Detected language for a structural component.", +"id": "GoogleCloudDocumentaiV1beta3DocumentPageDetectedLanguage", +"properties": { +"confidence": { +"description": "Confidence of detected language. Range `[0, 1]`.", +"format": "float", +"type": "number" +}, +"languageCode": { +"description": "The [BCP-47 language code](https://www.unicode.org/reports/tr35/#Unicode_locale_identifier), such as `en-US` or `sr-Latn`.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta3DocumentPageDimension": { +"description": "Dimension for the page.", +"id": "GoogleCloudDocumentaiV1beta3DocumentPageDimension", +"properties": { +"height": { +"description": "Page height.", +"format": "float", +"type": "number" +}, +"unit": { +"description": "Dimension unit.", +"type": "string" +}, +"width": { +"description": "Page width.", +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta3DocumentPageFormField": { +"description": "A form field detected on the page.", +"id": "GoogleCloudDocumentaiV1beta3DocumentPageFormField", +"properties": { +"correctedKeyText": { +"description": "Created for Labeling UI to export key text. If corrections were made to the text identified by the `field_name.text_anchor`, this field will contain the correction.", +"type": "string" +}, +"correctedValueText": { +"description": "Created for Labeling UI to export value text. If corrections were made to the text identified by the `field_value.text_anchor`, this field will contain the correction.", +"type": "string" +}, +"fieldName": { +"$ref": "GoogleCloudDocumentaiV1beta3DocumentPageLayout", +"description": "Layout for the FormField name. For example, `Address`, `Email`, `Grand total`, `Phone number`, etc." +}, +"fieldValue": { +"$ref": "GoogleCloudDocumentaiV1beta3DocumentPageLayout", +"description": "Layout for the FormField value." +}, +"nameDetectedLanguages": { +"description": "A list of detected languages for name together with confidence.", +"items": { +"$ref": "GoogleCloudDocumentaiV1beta3DocumentPageDetectedLanguage" +}, +"type": "array" +}, +"provenance": { +"$ref": "GoogleCloudDocumentaiV1beta3DocumentProvenance", +"description": "The history of this annotation." +}, +"valueDetectedLanguages": { +"description": "A list of detected languages for value together with confidence.", +"items": { +"$ref": "GoogleCloudDocumentaiV1beta3DocumentPageDetectedLanguage" +}, +"type": "array" +}, +"valueType": { +"description": "If the value is non-textual, this field represents the type. Current valid values are: - blank (this indicates the `field_value` is normal text) - `unfilled_checkbox` - `filled_checkbox`", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta3DocumentPageImage": { +"description": "Rendered image contents for this page.", +"id": "GoogleCloudDocumentaiV1beta3DocumentPageImage", +"properties": { +"content": { +"description": "Raw byte content of the image.", +"format": "byte", +"type": "string" +}, +"height": { +"description": "Height of the image in pixels.", +"format": "int32", +"type": "integer" +}, +"mimeType": { +"description": "Encoding [media type (MIME type)](https://www.iana.org/assignments/media-types/media-types.xhtml) for the image.", +"type": "string" +}, +"width": { +"description": "Width of the image in pixels.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta3DocumentPageImageQualityScores": { +"description": "Image quality scores for the page image.", +"id": "GoogleCloudDocumentaiV1beta3DocumentPageImageQualityScores", +"properties": { +"detectedDefects": { +"description": "A list of detected defects.", +"items": { +"$ref": "GoogleCloudDocumentaiV1beta3DocumentPageImageQualityScoresDetectedDefect" +}, +"type": "array" +}, +"qualityScore": { +"description": "The overall quality score. Range `[0, 1]` where `1` is perfect quality.", +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta3DocumentPageImageQualityScoresDetectedDefect": { +"description": "Image Quality Defects", +"id": "GoogleCloudDocumentaiV1beta3DocumentPageImageQualityScoresDetectedDefect", +"properties": { +"confidence": { +"description": "Confidence of detected defect. Range `[0, 1]` where `1` indicates strong confidence that the defect exists.", +"format": "float", +"type": "number" +}, +"type": { +"description": "Name of the defect type. Supported values are: - `quality/defect_blurry` - `quality/defect_noisy` - `quality/defect_dark` - `quality/defect_faint` - `quality/defect_text_too_small` - `quality/defect_document_cutoff` - `quality/defect_text_cutoff` - `quality/defect_glare`", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta3DocumentPageLayout": { +"description": "Visual element describing a layout unit on a page.", +"id": "GoogleCloudDocumentaiV1beta3DocumentPageLayout", +"properties": { +"boundingPoly": { +"$ref": "GoogleCloudDocumentaiV1beta3BoundingPoly", +"description": "The bounding polygon for the Layout." +}, +"confidence": { +"description": "Confidence of the current Layout within context of the object this layout is for. For example, confidence can be for a single token, a table, a visual element, etc. depending on context. Range `[0, 1]`.", +"format": "float", +"type": "number" +}, +"orientation": { +"description": "Detected orientation for the Layout.", +"enum": [ +"ORIENTATION_UNSPECIFIED", +"PAGE_UP", +"PAGE_RIGHT", +"PAGE_DOWN", +"PAGE_LEFT" +], +"enumDescriptions": [ +"Unspecified orientation.", +"Orientation is aligned with page up.", +"Orientation is aligned with page right. Turn the head 90 degrees clockwise from upright to read.", +"Orientation is aligned with page down. Turn the head 180 degrees from upright to read.", +"Orientation is aligned with page left. Turn the head 90 degrees counterclockwise from upright to read." +], +"type": "string" +}, +"textAnchor": { +"$ref": "GoogleCloudDocumentaiV1beta3DocumentTextAnchor", +"description": "Text anchor indexing into the Document.text." +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta3DocumentPageLine": { +"description": "A collection of tokens that a human would perceive as a line. Does not cross column boundaries, can be horizontal, vertical, etc.", +"id": "GoogleCloudDocumentaiV1beta3DocumentPageLine", +"properties": { +"detectedLanguages": { +"description": "A list of detected languages together with confidence.", +"items": { +"$ref": "GoogleCloudDocumentaiV1beta3DocumentPageDetectedLanguage" +}, +"type": "array" +}, +"layout": { +"$ref": "GoogleCloudDocumentaiV1beta3DocumentPageLayout", +"description": "Layout for Line." +}, +"provenance": { +"$ref": "GoogleCloudDocumentaiV1beta3DocumentProvenance", +"deprecated": true, +"description": "The history of this annotation." +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta3DocumentPageMatrix": { +"description": "Representation for transformation matrix, intended to be compatible and used with OpenCV format for image manipulation.", +"id": "GoogleCloudDocumentaiV1beta3DocumentPageMatrix", +"properties": { +"cols": { +"description": "Number of columns in the matrix.", +"format": "int32", +"type": "integer" +}, +"data": { +"description": "The matrix data.", +"format": "byte", +"type": "string" +}, +"rows": { +"description": "Number of rows in the matrix.", +"format": "int32", +"type": "integer" +}, +"type": { +"description": "This encodes information about what data type the matrix uses. For example, 0 (CV_8U) is an unsigned 8-bit image. For the full list of OpenCV primitive data types, please refer to https://docs.opencv.org/4.3.0/d1/d1b/group__core__hal__interface.html", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta3DocumentPageParagraph": { +"description": "A collection of lines that a human would perceive as a paragraph.", +"id": "GoogleCloudDocumentaiV1beta3DocumentPageParagraph", +"properties": { +"detectedLanguages": { +"description": "A list of detected languages together with confidence.", +"items": { +"$ref": "GoogleCloudDocumentaiV1beta3DocumentPageDetectedLanguage" +}, +"type": "array" +}, +"layout": { +"$ref": "GoogleCloudDocumentaiV1beta3DocumentPageLayout", +"description": "Layout for Paragraph." +}, +"provenance": { +"$ref": "GoogleCloudDocumentaiV1beta3DocumentProvenance", +"deprecated": true, +"description": "The history of this annotation." +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta3DocumentPageSymbol": { +"description": "A detected symbol.", +"id": "GoogleCloudDocumentaiV1beta3DocumentPageSymbol", +"properties": { +"detectedLanguages": { +"description": "A list of detected languages together with confidence.", +"items": { +"$ref": "GoogleCloudDocumentaiV1beta3DocumentPageDetectedLanguage" +}, +"type": "array" +}, +"layout": { +"$ref": "GoogleCloudDocumentaiV1beta3DocumentPageLayout", +"description": "Layout for Symbol." +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta3DocumentPageTable": { +"description": "A table representation similar to HTML table structure.", +"id": "GoogleCloudDocumentaiV1beta3DocumentPageTable", +"properties": { +"bodyRows": { +"description": "Body rows of the table.", +"items": { +"$ref": "GoogleCloudDocumentaiV1beta3DocumentPageTableTableRow" +}, +"type": "array" +}, +"detectedLanguages": { +"description": "A list of detected languages together with confidence.", +"items": { +"$ref": "GoogleCloudDocumentaiV1beta3DocumentPageDetectedLanguage" +}, +"type": "array" +}, +"headerRows": { +"description": "Header rows of the table.", +"items": { +"$ref": "GoogleCloudDocumentaiV1beta3DocumentPageTableTableRow" +}, +"type": "array" +}, +"layout": { +"$ref": "GoogleCloudDocumentaiV1beta3DocumentPageLayout", +"description": "Layout for Table." +}, +"provenance": { +"$ref": "GoogleCloudDocumentaiV1beta3DocumentProvenance", +"deprecated": true, +"description": "The history of this table." +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta3DocumentPageTableTableCell": { +"description": "A cell representation inside the table.", +"id": "GoogleCloudDocumentaiV1beta3DocumentPageTableTableCell", +"properties": { +"colSpan": { +"description": "How many columns this cell spans.", +"format": "int32", +"type": "integer" +}, +"detectedLanguages": { +"description": "A list of detected languages together with confidence.", +"items": { +"$ref": "GoogleCloudDocumentaiV1beta3DocumentPageDetectedLanguage" +}, +"type": "array" +}, +"layout": { +"$ref": "GoogleCloudDocumentaiV1beta3DocumentPageLayout", +"description": "Layout for TableCell." +}, +"rowSpan": { +"description": "How many rows this cell spans.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta3DocumentPageTableTableRow": { +"description": "A row of table cells.", +"id": "GoogleCloudDocumentaiV1beta3DocumentPageTableTableRow", +"properties": { +"cells": { +"description": "Cells that make up this row.", +"items": { +"$ref": "GoogleCloudDocumentaiV1beta3DocumentPageTableTableCell" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta3DocumentPageToken": { +"description": "A detected token.", +"id": "GoogleCloudDocumentaiV1beta3DocumentPageToken", +"properties": { +"detectedBreak": { +"$ref": "GoogleCloudDocumentaiV1beta3DocumentPageTokenDetectedBreak", +"description": "Detected break at the end of a Token." +}, +"detectedLanguages": { +"description": "A list of detected languages together with confidence.", +"items": { +"$ref": "GoogleCloudDocumentaiV1beta3DocumentPageDetectedLanguage" +}, +"type": "array" +}, +"layout": { +"$ref": "GoogleCloudDocumentaiV1beta3DocumentPageLayout", +"description": "Layout for Token." +}, +"provenance": { +"$ref": "GoogleCloudDocumentaiV1beta3DocumentProvenance", +"deprecated": true, +"description": "The history of this annotation." +}, +"styleInfo": { +"$ref": "GoogleCloudDocumentaiV1beta3DocumentPageTokenStyleInfo", +"description": "Text style attributes." +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta3DocumentPageTokenDetectedBreak": { +"description": "Detected break at the end of a Token.", +"id": "GoogleCloudDocumentaiV1beta3DocumentPageTokenDetectedBreak", +"properties": { +"type": { +"description": "Detected break type.", +"enum": [ +"TYPE_UNSPECIFIED", +"SPACE", +"WIDE_SPACE", +"HYPHEN" +], +"enumDescriptions": [ +"Unspecified break type.", +"A single whitespace.", +"A wider whitespace.", +"A hyphen that indicates that a token has been split across lines." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta3DocumentPageTokenStyleInfo": { +"description": "Font and other text style attributes.", +"id": "GoogleCloudDocumentaiV1beta3DocumentPageTokenStyleInfo", +"properties": { +"backgroundColor": { +"$ref": "GoogleTypeColor", +"description": "Color of the background." +}, +"bold": { +"description": "Whether the text is bold (equivalent to font_weight is at least `700`).", +"type": "boolean" +}, +"fontSize": { +"description": "Font size in points (`1` point is `\u00b9\u2044\u2087\u2082` inches).", +"format": "int32", +"type": "integer" +}, +"fontType": { +"description": "Name or style of the font.", +"type": "string" +}, +"fontWeight": { +"description": "TrueType weight on a scale `100` (thin) to `1000` (ultra-heavy). Normal is `400`, bold is `700`.", +"format": "int32", +"type": "integer" +}, +"handwritten": { +"description": "Whether the text is handwritten.", +"type": "boolean" +}, +"italic": { +"description": "Whether the text is italic.", +"type": "boolean" +}, +"letterSpacing": { +"description": "Letter spacing in points.", +"format": "double", +"type": "number" +}, +"pixelFontSize": { +"description": "Font size in pixels, equal to _unrounded font_size_ * _resolution_ \u00f7 `72.0`.", +"format": "double", +"type": "number" +}, +"smallcaps": { +"description": "Whether the text is in small caps. This feature is not supported yet.", +"type": "boolean" +}, +"strikeout": { +"description": "Whether the text is strikethrough. This feature is not supported yet.", +"type": "boolean" +}, +"subscript": { +"description": "Whether the text is a subscript. This feature is not supported yet.", +"type": "boolean" +}, +"superscript": { +"description": "Whether the text is a superscript. This feature is not supported yet.", +"type": "boolean" +}, +"textColor": { +"$ref": "GoogleTypeColor", +"description": "Color of the text." +}, +"underlined": { +"description": "Whether the text is underlined.", +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta3DocumentPageVisualElement": { +"description": "Detected non-text visual elements, for example, checkbox, signature etc. on the page.", +"id": "GoogleCloudDocumentaiV1beta3DocumentPageVisualElement", +"properties": { +"detectedLanguages": { +"description": "A list of detected languages together with confidence.", +"items": { +"$ref": "GoogleCloudDocumentaiV1beta3DocumentPageDetectedLanguage" +}, +"type": "array" +}, +"layout": { +"$ref": "GoogleCloudDocumentaiV1beta3DocumentPageLayout", +"description": "Layout for VisualElement." +}, +"type": { +"description": "Type of the VisualElement.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta3DocumentProvenance": { +"description": "Structure to identify provenance relationships between annotations in different revisions.", +"id": "GoogleCloudDocumentaiV1beta3DocumentProvenance", +"properties": { +"id": { +"deprecated": true, +"description": "The Id of this operation. Needs to be unique within the scope of the revision.", +"format": "int32", +"type": "integer" +}, +"parents": { +"description": "References to the original elements that are replaced.", +"items": { +"$ref": "GoogleCloudDocumentaiV1beta3DocumentProvenanceParent" +}, +"type": "array" +}, +"revision": { +"deprecated": true, +"description": "The index of the revision that produced this element.", +"format": "int32", +"type": "integer" +}, +"type": { +"description": "The type of provenance operation.", +"enum": [ +"OPERATION_TYPE_UNSPECIFIED", +"ADD", +"REMOVE", +"UPDATE", +"REPLACE", +"EVAL_REQUESTED", +"EVAL_APPROVED", +"EVAL_SKIPPED" +], +"enumDeprecated": [ +false, +false, +false, +false, +false, +true, +true, +true +], +"enumDescriptions": [ +"Operation type unspecified. If no operation is specified a provenance entry is simply used to match against a `parent`.", +"Add an element.", +"Remove an element identified by `parent`.", +"Updates any fields within the given provenance scope of the message. It overwrites the fields rather than replacing them. Use this when you want to update a field value of an entity without also updating all the child properties.", +"Currently unused. Replace an element identified by `parent`.", +"Deprecated. Request human review for the element identified by `parent`.", +"Deprecated. Element is reviewed and approved at human review, confidence will be set to 1.0.", +"Deprecated. Element is skipped in the validation process." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta3DocumentProvenanceParent": { +"description": "The parent element the current element is based on. Used for referencing/aligning, removal and replacement operations.", +"id": "GoogleCloudDocumentaiV1beta3DocumentProvenanceParent", +"properties": { +"id": { +"deprecated": true, +"description": "The id of the parent provenance.", +"format": "int32", +"type": "integer" +}, +"index": { +"description": "The index of the parent item in the corresponding item list (eg. list of entities, properties within entities, etc.) in the parent revision.", +"format": "int32", +"type": "integer" +}, +"revision": { +"description": "The index of the index into current revision's parent_ids list.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta3DocumentRevision": { +"description": "Contains past or forward revisions of this document.", +"id": "GoogleCloudDocumentaiV1beta3DocumentRevision", +"properties": { +"agent": { +"description": "If the change was made by a person specify the name or id of that person.", +"type": "string" +}, +"createTime": { +"description": "The time that the revision was created, internally generated by doc proto storage at the time of create.", +"format": "google-datetime", +"type": "string" +}, +"humanReview": { +"$ref": "GoogleCloudDocumentaiV1beta3DocumentRevisionHumanReview", +"description": "Human Review information of this revision." +}, +"id": { +"description": "Id of the revision, internally generated by doc proto storage. Unique within the context of the document.", +"type": "string" +}, +"parent": { +"deprecated": true, +"description": "The revisions that this revision is based on. This can include one or more parent (when documents are merged.) This field represents the index into the `revisions` field.", +"items": { +"format": "int32", +"type": "integer" +}, +"type": "array" +}, +"parentIds": { +"description": "The revisions that this revision is based on. Must include all the ids that have anything to do with this revision - eg. there are `provenance.parent.revision` fields that index into this field.", +"items": { +"type": "string" +}, +"type": "array" +}, +"processor": { +"description": "If the annotation was made by processor identify the processor by its resource name.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta3DocumentRevisionHumanReview": { +"description": "Human Review information of the document.", +"id": "GoogleCloudDocumentaiV1beta3DocumentRevisionHumanReview", +"properties": { +"state": { +"description": "Human review state. For example, `requested`, `succeeded`, `rejected`.", +"type": "string" +}, +"stateMessage": { +"description": "A message providing more details about the current state of processing. For example, the rejection reason when the state is `rejected`.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta3DocumentSchema": { +"description": "The schema defines the output of the processed document by a processor.", +"id": "GoogleCloudDocumentaiV1beta3DocumentSchema", +"properties": { +"description": { +"description": "Description of the schema.", +"type": "string" +}, +"displayName": { +"description": "Display name to show users.", +"type": "string" +}, +"documentPrompt": { +"description": "Optional. Document level prompt provided by the user. This custom text is injected into the AI model's prompt to provide extra, document-wide guidance for processing.", +"type": "string" +}, +"entityTypes": { +"description": "Entity types of the schema.", +"items": { +"$ref": "GoogleCloudDocumentaiV1beta3DocumentSchemaEntityType" +}, +"type": "array" +}, +"metadata": { +"$ref": "GoogleCloudDocumentaiV1beta3DocumentSchemaMetadata", +"description": "Metadata of the schema." +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta3DocumentSchemaEntityType": { +"description": "EntityType is the wrapper of a label of the corresponding model with detailed attributes and limitations for entity-based processors. Multiple types can also compose a dependency tree to represent nested types.", +"id": "GoogleCloudDocumentaiV1beta3DocumentSchemaEntityType", +"properties": { +"baseTypes": { +"description": "The entity type that this type is derived from. For now, one and only one should be set.", +"items": { +"type": "string" +}, +"type": "array" +}, +"description": { +"description": "The description of the entity type. Could be used to provide more information about the entity type for model calls.", +"type": "string" +}, +"displayName": { +"description": "User defined name for the type.", +"type": "string" +}, +"entityTypeMetadata": { +"$ref": "GoogleCloudDocumentaiV1beta3EntityTypeMetadata", +"description": "Metadata for the entity type." +}, +"enumValues": { +"$ref": "GoogleCloudDocumentaiV1beta3DocumentSchemaEntityTypeEnumValues", +"description": "If specified, lists all the possible values for this entity. This should not be more than a handful of values. If the number of values is >10 or could change frequently, use the `EntityType.value_ontology` field and specify a list of all possible values in a value ontology file." +}, +"name": { +"description": "Name of the type. It must be unique within the schema file and cannot be a \"Common Type\". The following naming conventions are used: - Use `snake_casing`. - Name matching is case-sensitive. - Maximum 64 characters. - Must start with a letter. - Allowed characters: ASCII letters `[a-z0-9_-]`. (For backward compatibility, internal infrastructure and tooling can handle any ASCII character.) - The `/` is sometimes used to denote a property of a type. For example `line_item/amount`. This convention is deprecated, but will still be honored for backward compatibility.", +"type": "string" +}, +"properties": { +"description": "Description the nested structure, or composition of an entity.", +"items": { +"$ref": "GoogleCloudDocumentaiV1beta3DocumentSchemaEntityTypeProperty" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta3DocumentSchemaEntityTypeEnumValues": { +"description": "Defines the a list of enum values.", +"id": "GoogleCloudDocumentaiV1beta3DocumentSchemaEntityTypeEnumValues", +"properties": { +"values": { +"description": "The individual values that this enum values type can include.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta3DocumentSchemaEntityTypeProperty": { +"description": "Defines properties that can be part of the entity type.", +"id": "GoogleCloudDocumentaiV1beta3DocumentSchemaEntityTypeProperty", +"properties": { +"description": { +"description": "The description of the property. Could be used to provide more information about the property for model calls.", +"type": "string" +}, +"displayName": { +"description": "User defined name for the property.", +"type": "string" +}, +"method": { +"description": "Specifies how the entity's value is obtained.", +"enum": [ +"METHOD_UNSPECIFIED", +"EXTRACT", +"DERIVE", +"RELAXED_EXTRACT" +], +"enumDescriptions": [ +"Unspecified method. It defaults to `EXTRACT`.", +"The entity's value is directly extracted as-is from the document text.", +"The entity's value is derived through inference and is not necessarily an exact text extraction from the document.", +"Attempts to extract the position and value as-is from the document text. If the value cannot be grounded in the text, it falls back to derivation through inference, for both position and value. Note: The inference fallback is currently only supported for boolean entities." +], +"type": "string" +}, +"name": { +"description": "The name of the property. Follows the same guidelines as the EntityType name.", +"type": "string" +}, +"occurrenceType": { +"description": "Occurrence type limits the number of instances an entity type appears in the document.", +"enum": [ +"OCCURRENCE_TYPE_UNSPECIFIED", +"OPTIONAL_ONCE", +"OPTIONAL_MULTIPLE", +"REQUIRED_ONCE", +"REQUIRED_MULTIPLE" +], +"enumDescriptions": [ +"Unspecified occurrence type.", +"There will be zero or one instance of this entity type. The same entity instance may be mentioned multiple times.", +"The entity type will appear zero or multiple times.", +"The entity type will only appear exactly once. The same entity instance may be mentioned multiple times.", +"The entity type will appear once or more times." +], +"type": "string" +}, +"propertyMetadata": { +"$ref": "GoogleCloudDocumentaiV1beta3PropertyMetadata", +"description": "Any additional metadata about the property can be added here." +}, +"valueType": { +"description": "A reference to the value type of the property. This type is subject to the same conventions as the `Entity.base_types` field.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta3DocumentSchemaMetadata": { +"description": "Metadata for global schema behavior.", +"id": "GoogleCloudDocumentaiV1beta3DocumentSchemaMetadata", +"properties": { +"documentAllowMultipleLabels": { +"description": "If true, on a given page, there can be multiple `document` annotations covering it.", +"type": "boolean" +}, +"documentSplitter": { +"description": "If true, a `document` entity type can be applied to subdocument (splitting). Otherwise, it can only be applied to the entire document (classification).", +"type": "boolean" +}, +"prefixedNamingOnProperties": { +"description": "If set, all the nested entities must be prefixed with the parents.", +"type": "boolean" +}, +"skipNamingValidation": { +"description": "If set, this will skip the naming format validation in the schema. So the string values in `DocumentSchema.EntityType.name` and `DocumentSchema.EntityType.Property.name` will not be checked.", +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta3DocumentShardInfo": { +"description": "For a large document, sharding may be performed to produce several document shards. Each document shard contains this field to detail which shard it is.", +"id": "GoogleCloudDocumentaiV1beta3DocumentShardInfo", +"properties": { +"pageOffset": { +"description": "The index of the first page in Document.pages in the overall document global pages. Available for document shards created by the document splitter.", +"format": "int32", +"type": "integer" +}, +"shardCount": { +"description": "Total number of shards.", +"format": "int64", +"type": "string" +}, +"shardIndex": { +"description": "The 0-based index of this shard.", +"format": "int64", +"type": "string" +}, +"textOffset": { +"description": "The index of the first character in Document.text in the overall document global text.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta3DocumentStyle": { +"description": "Annotation for common text style attributes. This adheres to CSS conventions as much as possible.", +"id": "GoogleCloudDocumentaiV1beta3DocumentStyle", +"properties": { +"backgroundColor": { +"$ref": "GoogleTypeColor", +"description": "Text background color." +}, +"color": { +"$ref": "GoogleTypeColor", +"description": "Text color." +}, +"fontFamily": { +"description": "Font family such as `Arial`, `Times New Roman`. https://www.w3schools.com/cssref/pr_font_font-family.asp", +"type": "string" +}, +"fontSize": { +"$ref": "GoogleCloudDocumentaiV1beta3DocumentStyleFontSize", +"description": "Font size." +}, +"fontWeight": { +"description": "[Font weight](https://www.w3schools.com/cssref/pr_font_weight.asp). Possible values are `normal`, `bold`, `bolder`, and `lighter`.", +"type": "string" +}, +"textAnchor": { +"$ref": "GoogleCloudDocumentaiV1beta3DocumentTextAnchor", +"description": "Text anchor indexing into the Document.text." +}, +"textDecoration": { +"description": "[Text decoration](https://www.w3schools.com/cssref/pr_text_text-decoration.asp). Follows CSS standard. ", +"type": "string" +}, +"textStyle": { +"description": "[Text style](https://www.w3schools.com/cssref/pr_font_font-style.asp). Possible values are `normal`, `italic`, and `oblique`.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta3DocumentStyleFontSize": { +"description": "Font size with unit.", +"id": "GoogleCloudDocumentaiV1beta3DocumentStyleFontSize", +"properties": { +"size": { +"description": "Font size for the text.", +"format": "float", +"type": "number" +}, +"unit": { +"description": "Unit for the font size. Follows CSS naming (such as `in`, `px`, and `pt`).", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta3DocumentTextAnchor": { +"description": "Text reference indexing into the Document.text.", +"id": "GoogleCloudDocumentaiV1beta3DocumentTextAnchor", +"properties": { +"content": { +"description": "Contains the content of the text span so that users do not have to look it up in the text_segments. It is always populated for formFields.", +"type": "string" +}, +"textSegments": { +"description": "The text segments from the Document.text.", +"items": { +"$ref": "GoogleCloudDocumentaiV1beta3DocumentTextAnchorTextSegment" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta3DocumentTextAnchorTextSegment": { +"description": "A text segment in the Document.text. The indices may be out of bounds which indicate that the text extends into another document shard for large sharded documents. See ShardInfo.text_offset", +"id": "GoogleCloudDocumentaiV1beta3DocumentTextAnchorTextSegment", +"properties": { +"endIndex": { +"description": "TextSegment half open end UTF-8 char index in the Document.text.", +"format": "int64", +"type": "string" +}, +"startIndex": { +"description": "TextSegment start UTF-8 char index in the Document.text.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta3DocumentTextChange": { +"description": "This message is used for text changes aka. OCR corrections.", +"id": "GoogleCloudDocumentaiV1beta3DocumentTextChange", +"properties": { +"changedText": { +"description": "The text that replaces the text identified in the `text_anchor`.", +"type": "string" +}, +"provenance": { +"deprecated": true, +"description": "The history of this annotation.", +"items": { +"$ref": "GoogleCloudDocumentaiV1beta3DocumentProvenance" +}, +"type": "array" +}, +"textAnchor": { +"$ref": "GoogleCloudDocumentaiV1beta3DocumentTextAnchor", +"description": "Provenance of the correction. Text anchor indexing into the Document.text. There can only be a single `TextAnchor.text_segments` element. If the start and end index of the text segment are the same, the text change is inserted before that index." +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta3Documents": { +"description": "A set of inline documents.", +"id": "GoogleCloudDocumentaiV1beta3Documents", +"properties": { +"documents": { +"description": "The list of documents.", +"items": { +"$ref": "GoogleCloudDocumentaiV1beta3Document" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta3EnableProcessorMetadata": { +"description": "The long-running operation metadata for the EnableProcessor method.", +"id": "GoogleCloudDocumentaiV1beta3EnableProcessorMetadata", +"properties": { +"commonMetadata": { +"$ref": "GoogleCloudDocumentaiV1beta3CommonOperationMetadata", +"description": "The basic metadata of the long-running operation." +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta3EnableProcessorRequest": { +"description": "Request message for the EnableProcessor method.", +"id": "GoogleCloudDocumentaiV1beta3EnableProcessorRequest", +"properties": {}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta3EnableProcessorResponse": { +"description": "Response message for the EnableProcessor method. Intentionally empty proto for adding fields in future.", +"id": "GoogleCloudDocumentaiV1beta3EnableProcessorResponse", +"properties": {}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta3EntityTypeMetadata": { +"description": "Metadata about an entity type.", +"id": "GoogleCloudDocumentaiV1beta3EntityTypeMetadata", +"properties": { +"inactive": { +"description": "Whether the entity type should be considered inactive.", +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta3EvaluateProcessorVersionMetadata": { +"description": "Metadata of the EvaluateProcessorVersion method.", +"id": "GoogleCloudDocumentaiV1beta3EvaluateProcessorVersionMetadata", +"properties": { +"commonMetadata": { +"$ref": "GoogleCloudDocumentaiV1beta3CommonOperationMetadata", +"description": "The basic metadata of the long-running operation." +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta3EvaluateProcessorVersionRequest": { +"description": "Evaluates the given ProcessorVersion against the supplied documents.", +"id": "GoogleCloudDocumentaiV1beta3EvaluateProcessorVersionRequest", +"properties": { +"evaluationDocuments": { +"$ref": "GoogleCloudDocumentaiV1beta3BatchDocumentsInputConfig", +"description": "Optional. The documents used in the evaluation. If unspecified, use the processor's dataset as evaluation input." +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta3EvaluateProcessorVersionResponse": { +"description": "Response of the EvaluateProcessorVersion method.", +"id": "GoogleCloudDocumentaiV1beta3EvaluateProcessorVersionResponse", +"properties": { +"evaluation": { +"description": "The resource name of the created evaluation.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta3Evaluation": { +"description": "An evaluation of a ProcessorVersion's performance.", +"id": "GoogleCloudDocumentaiV1beta3Evaluation", +"properties": { +"allEntitiesMetrics": { +"$ref": "GoogleCloudDocumentaiV1beta3EvaluationMultiConfidenceMetrics", +"description": "Metrics for all the entities in aggregate." +}, +"createTime": { +"description": "The time that the evaluation was created.", +"format": "google-datetime", +"type": "string" +}, +"documentCounters": { +"$ref": "GoogleCloudDocumentaiV1beta3EvaluationCounters", +"description": "Counters for the documents used in the evaluation." +}, +"entityMetrics": { +"additionalProperties": { +"$ref": "GoogleCloudDocumentaiV1beta3EvaluationMultiConfidenceMetrics" +}, +"description": "Metrics across confidence levels, for different entities.", +"type": "object" +}, +"kmsKeyName": { +"description": "The KMS key name used for encryption.", +"type": "string" +}, +"kmsKeyVersionName": { +"description": "The KMS key version with which data is encrypted.", +"type": "string" +}, +"name": { +"description": "The resource name of the evaluation. Format: `projects/{project}/locations/{location}/processors/{processor}/processorVersions/{processor_version}/evaluations/{evaluation}`", +"type": "string" +}, +"revisions": { +"description": "Contains all revisions of the evaluation, excluding the latest one.", +"items": { +"$ref": "GoogleCloudDocumentaiV1beta3EvaluationEvaluationRevision" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta3EvaluationConfidenceLevelMetrics": { +"description": "Evaluations metrics, at a specific confidence level.", +"id": "GoogleCloudDocumentaiV1beta3EvaluationConfidenceLevelMetrics", +"properties": { +"confidenceLevel": { +"description": "The confidence level.", +"format": "float", +"type": "number" +}, +"metrics": { +"$ref": "GoogleCloudDocumentaiV1beta3EvaluationMetrics", +"description": "The metrics at the specific confidence level." +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta3EvaluationCounters": { +"description": "Evaluation counters for the documents that were used.", +"id": "GoogleCloudDocumentaiV1beta3EvaluationCounters", +"properties": { +"evaluatedDocumentsCount": { +"description": "How many documents were used in the evaluation.", +"format": "int32", +"type": "integer" +}, +"failedDocumentsCount": { +"description": "How many documents were not included in the evaluation as Document AI failed to process them.", +"format": "int32", +"type": "integer" +}, +"inputDocumentsCount": { +"description": "How many documents were sent for evaluation.", +"format": "int32", +"type": "integer" +}, +"invalidDocumentsCount": { +"description": "How many documents were not included in the evaluation as they didn't pass validation.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta3EvaluationEvaluationRevision": { +"description": "A revision of the evaluation.", +"id": "GoogleCloudDocumentaiV1beta3EvaluationEvaluationRevision", +"properties": { +"allEntitiesMetrics": { +"$ref": "GoogleCloudDocumentaiV1beta3EvaluationMultiConfidenceMetrics", +"description": "Output only. Metrics for all the entities in aggregate.", +"readOnly": true +}, +"documentCounters": { +"$ref": "GoogleCloudDocumentaiV1beta3EvaluationCounters", +"description": "Output only. Counters for the documents used in the evaluation.", +"readOnly": true +}, +"entityMetrics": { +"additionalProperties": { +"$ref": "GoogleCloudDocumentaiV1beta3EvaluationMultiConfidenceMetrics" +}, +"description": "Output only. Metrics across confidence levels, for different entities.", +"readOnly": true, +"type": "object" +}, +"revisionId": { +"description": "Output only. The revision ID of the evaluation.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta3EvaluationMetrics": { +"description": "Evaluation metrics, either in aggregate or about a specific entity.", +"id": "GoogleCloudDocumentaiV1beta3EvaluationMetrics", +"properties": { +"f1Score": { +"description": "The calculated F1 score.", +"format": "float", +"type": "number" +}, +"falseNegativesCount": { +"description": "The amount of false negatives.", +"format": "int32", +"type": "integer" +}, +"falsePositivesCount": { +"description": "The amount of false positives.", +"format": "int32", +"type": "integer" +}, +"groundTruthDocumentCount": { +"description": "The amount of documents with a ground truth occurrence.", +"format": "int32", +"type": "integer" +}, +"groundTruthOccurrencesCount": { +"description": "The amount of occurrences in ground truth documents.", +"format": "int32", +"type": "integer" +}, +"precision": { +"description": "The calculated precision.", +"format": "float", +"type": "number" +}, +"predictedDocumentCount": { +"description": "The amount of documents with a predicted occurrence.", +"format": "int32", +"type": "integer" +}, +"predictedOccurrencesCount": { +"description": "The amount of occurrences in predicted documents.", +"format": "int32", +"type": "integer" +}, +"recall": { +"description": "The calculated recall.", +"format": "float", +"type": "number" +}, +"totalDocumentsCount": { +"description": "The amount of documents that had an occurrence of this label.", +"format": "int32", +"type": "integer" +}, +"truePositivesCount": { +"description": "The amount of true positives.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta3EvaluationMultiConfidenceMetrics": { +"description": "Metrics across multiple confidence levels.", +"id": "GoogleCloudDocumentaiV1beta3EvaluationMultiConfidenceMetrics", +"properties": { +"auprc": { +"description": "The calculated area under the precision recall curve (AUPRC), computed by integrating over all confidence thresholds.", +"format": "float", +"type": "number" +}, +"auprcExact": { +"description": "The AUPRC for metrics with fuzzy matching disabled, i.e., exact matching only.", +"format": "float", +"type": "number" +}, +"confidenceLevelMetrics": { +"description": "Metrics across confidence levels with fuzzy matching enabled.", +"items": { +"$ref": "GoogleCloudDocumentaiV1beta3EvaluationConfidenceLevelMetrics" +}, +"type": "array" +}, +"confidenceLevelMetricsExact": { +"description": "Metrics across confidence levels with only exact matching.", +"items": { +"$ref": "GoogleCloudDocumentaiV1beta3EvaluationConfidenceLevelMetrics" +}, +"type": "array" +}, +"estimatedCalibrationError": { +"description": "The Estimated Calibration Error (ECE) of the confidence of the predicted entities.", +"format": "float", +"type": "number" +}, +"estimatedCalibrationErrorExact": { +"description": "The ECE for the predicted entities with fuzzy matching disabled, i.e., exact matching only.", +"format": "float", +"type": "number" +}, +"metricsType": { +"description": "The metrics type for the label.", +"enum": [ +"METRICS_TYPE_UNSPECIFIED", +"AGGREGATE" +], +"enumDescriptions": [ +"The metrics type is unspecified. By default, metrics without a particular specification are for leaf entity types (i.e., top-level entity types without child types, or child types which are not parent types themselves).", +"Indicates whether metrics for this particular label type represent an aggregate of metrics for other types instead of being based on actual TP/FP/FN values for the label type. Metrics for parent (i.e., non-leaf) entity types are an aggregate of metrics for their children." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta3EvaluationReference": { +"description": "Gives a short summary of an evaluation, and links to the evaluation itself.", +"id": "GoogleCloudDocumentaiV1beta3EvaluationReference", +"properties": { +"aggregateMetrics": { +"$ref": "GoogleCloudDocumentaiV1beta3EvaluationMetrics", +"description": "An aggregate of the statistics for the evaluation with fuzzy matching on." +}, +"aggregateMetricsExact": { +"$ref": "GoogleCloudDocumentaiV1beta3EvaluationMetrics", +"description": "An aggregate of the statistics for the evaluation with fuzzy matching off." +}, +"evaluation": { +"description": "The resource name of the evaluation.", +"type": "string" +}, +"operation": { +"description": "The resource name of the Long Running Operation for the evaluation.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta3FetchProcessorTypesResponse": { +"description": "Response message for the FetchProcessorTypes method.", +"id": "GoogleCloudDocumentaiV1beta3FetchProcessorTypesResponse", +"properties": { +"processorTypes": { +"description": "The list of processor types.", +"items": { +"$ref": "GoogleCloudDocumentaiV1beta3ProcessorType" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta3FieldExtractionMetadata": { +"description": "Metadata for how this field value is extracted.", +"id": "GoogleCloudDocumentaiV1beta3FieldExtractionMetadata", +"properties": { +"summaryOptions": { +"$ref": "GoogleCloudDocumentaiV1beta3SummaryOptions", +"description": "Summary options config." +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta3GcsDocument": { +"description": "Specifies a document stored on Cloud Storage.", +"id": "GoogleCloudDocumentaiV1beta3GcsDocument", +"properties": { +"gcsUri": { +"description": "The Cloud Storage object uri.", +"type": "string" +}, +"mimeType": { +"description": "An IANA MIME type (RFC6838) of the content.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta3GcsDocuments": { +"description": "Specifies a set of documents on Cloud Storage.", +"id": "GoogleCloudDocumentaiV1beta3GcsDocuments", +"properties": { +"documents": { +"description": "The list of documents.", +"items": { +"$ref": "GoogleCloudDocumentaiV1beta3GcsDocument" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta3GcsPrefix": { +"description": "Specifies all documents on Cloud Storage with a common prefix.", +"id": "GoogleCloudDocumentaiV1beta3GcsPrefix", +"properties": { +"gcsUriPrefix": { +"description": "The URI prefix.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta3GenerateSchemaVersionRequest": { +"description": "Request message for GenerateSchemaVersion.", +"id": "GoogleCloudDocumentaiV1beta3GenerateSchemaVersionRequest", +"properties": { +"baseSchemaVersion": { +"description": "The base schema version name to use for the schema generation. Format: `projects/{project}/locations/{location}/schemas/{schema}/schemaVersions/{schema_version}`", +"type": "string" +}, +"gcsDocuments": { +"$ref": "GoogleCloudDocumentaiV1beta3GcsDocuments", +"description": "The set of documents placed on Cloud Storage." +}, +"gcsPrefix": { +"$ref": "GoogleCloudDocumentaiV1beta3GcsPrefix", +"description": "The common prefix of documents placed on Cloud Storage." +}, +"generateSchemaVersionParams": { +"$ref": "GoogleCloudDocumentaiV1beta3GenerateSchemaVersionRequestGenerateSchemaVersionParams", +"description": "Optional. User specified parameters for the schema generation." +}, +"inlineDocuments": { +"$ref": "GoogleCloudDocumentaiV1beta3Documents", +"description": "The set of documents specified inline. For each document, its `uri` or `content` field must be set." +}, +"rawDocuments": { +"$ref": "GoogleCloudDocumentaiV1beta3RawDocuments", +"description": "The set of raw documents." +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta3GenerateSchemaVersionRequestGenerateSchemaVersionParams": { +"description": "The parameters for the schema generation.", +"id": "GoogleCloudDocumentaiV1beta3GenerateSchemaVersionRequestGenerateSchemaVersionParams", +"properties": { +"history": { +"$ref": "GoogleCloudDocumentaiV1beta3SchemaGenerationHistory", +"description": "Optional. Previous prompt-answers in a chronological order." +}, +"prompt": { +"description": "Optional. The prompt used for the schema generation.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta3GenerateSchemaVersionResponse": { +"description": "Response message for GenerateSchemaVersion.", +"id": "GoogleCloudDocumentaiV1beta3GenerateSchemaVersionResponse", +"properties": { +"schemaVersion": { +"$ref": "GoogleCloudDocumentaiV1beta3SchemaVersion", +"description": "The schema version generated by the model." +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta3GetDocumentResponse": { +"id": "GoogleCloudDocumentaiV1beta3GetDocumentResponse", +"properties": { +"document": { +"$ref": "GoogleCloudDocumentaiV1beta3Document" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta3HumanReviewStatus": { +"description": "The status of human review on a processed document.", +"id": "GoogleCloudDocumentaiV1beta3HumanReviewStatus", +"properties": { +"humanReviewOperation": { +"description": "The name of the operation triggered by the processed document. This field is populated only when the state is `HUMAN_REVIEW_IN_PROGRESS`. It has the same response type and metadata as the long-running operation returned by ReviewDocument.", +"type": "string" +}, +"state": { +"description": "The state of human review on the processing request.", +"enum": [ +"STATE_UNSPECIFIED", +"SKIPPED", +"VALIDATION_PASSED", +"IN_PROGRESS", +"ERROR" +], +"enumDescriptions": [ +"Human review state is unspecified. Most likely due to an internal error.", +"Human review is skipped for the document. This can happen because human review isn't enabled on the processor or the processing request has been set to skip this document.", +"Human review validation is triggered and passed, so no review is needed.", +"Human review validation is triggered and the document is under review.", +"Some error happened during triggering human review, see the state_message for details." +], +"type": "string" +}, +"stateMessage": { +"description": "A message providing more details about the human review state.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta3ImportDocumentsMetadata": { +"description": "Metadata of the import document operation.", +"id": "GoogleCloudDocumentaiV1beta3ImportDocumentsMetadata", +"properties": { +"commonMetadata": { +"$ref": "GoogleCloudDocumentaiV1beta3CommonOperationMetadata", +"description": "The basic metadata of the long-running operation." +}, +"importConfigValidationResults": { +"description": "Validation statuses of the batch documents import config.", +"items": { +"$ref": "GoogleCloudDocumentaiV1beta3ImportDocumentsMetadataImportConfigValidationResult" +}, +"type": "array" +}, +"individualImportStatuses": { +"description": "The list of response details of each document.", +"items": { +"$ref": "GoogleCloudDocumentaiV1beta3ImportDocumentsMetadataIndividualImportStatus" +}, +"type": "array" +}, +"totalDocumentCount": { +"description": "Total number of the documents that are qualified for importing.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta3ImportDocumentsMetadataImportConfigValidationResult": { +"description": "The validation status of each import config. Status is set to an error if there are no documents to import in the `import_config`, or `OK` if the operation will try to proceed with at least one document.", +"id": "GoogleCloudDocumentaiV1beta3ImportDocumentsMetadataImportConfigValidationResult", +"properties": { +"inputGcsSource": { +"description": "The source Cloud Storage URI specified in the import config.", +"type": "string" +}, +"status": { +"$ref": "GoogleRpcStatus", +"description": "The validation status of import config." +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta3ImportDocumentsMetadataIndividualImportStatus": { +"description": "The status of each individual document in the import process.", +"id": "GoogleCloudDocumentaiV1beta3ImportDocumentsMetadataIndividualImportStatus", +"properties": { +"inputGcsSource": { +"description": "The source Cloud Storage URI of the document.", +"type": "string" +}, +"outputDocumentId": { +"$ref": "GoogleCloudDocumentaiV1beta3DocumentId", +"description": "The document id of imported document if it was successful, otherwise empty." +}, +"status": { +"$ref": "GoogleRpcStatus", +"description": "The status of the importing of the document." +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta3ImportDocumentsRequest": { +"id": "GoogleCloudDocumentaiV1beta3ImportDocumentsRequest", +"properties": { +"batchDocumentsImportConfigs": { +"description": "Required. The Cloud Storage uri containing raw documents that must be imported.", +"items": { +"$ref": "GoogleCloudDocumentaiV1beta3ImportDocumentsRequestBatchDocumentsImportConfig" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta3ImportDocumentsRequestBatchDocumentsImportConfig": { +"description": "Config for importing documents. Each batch can have its own dataset split type.", +"id": "GoogleCloudDocumentaiV1beta3ImportDocumentsRequestBatchDocumentsImportConfig", +"properties": { +"autoSplitConfig": { +"$ref": "GoogleCloudDocumentaiV1beta3ImportDocumentsRequestBatchDocumentsImportConfigAutoSplitConfig", +"description": "If set, documents will be automatically split into training and test split category with the specified ratio." +}, +"batchInputConfig": { +"$ref": "GoogleCloudDocumentaiV1beta3BatchDocumentsInputConfig", +"description": "The common config to specify a set of documents used as input." +}, +"datasetSplit": { +"description": "Target dataset split where the documents must be stored.", +"enum": [ +"DATASET_SPLIT_TYPE_UNSPECIFIED", +"DATASET_SPLIT_TRAIN", +"DATASET_SPLIT_TEST", +"DATASET_SPLIT_UNASSIGNED" +], +"enumDescriptions": [ +"Default value if the enum is not set.", +"Identifies the train documents.", +"Identifies the test documents.", +"Identifies the unassigned documents." +], +"type": "string" +}, +"documentType": { +"description": "Optional. If set, determines the type of the documents to be imported in this batch. It can be used to auto-label the documents with a single entity of the provided type. This field can only be used with a classifier or splitter processor. Providing this field is mutually exclusive with `entities` and `auto_labeling_config`.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta3ImportDocumentsRequestBatchDocumentsImportConfigAutoSplitConfig": { +"description": "The config for auto-split.", +"id": "GoogleCloudDocumentaiV1beta3ImportDocumentsRequestBatchDocumentsImportConfigAutoSplitConfig", +"properties": { +"trainingSplitRatio": { +"description": "Ratio of training dataset split.", +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta3ImportDocumentsResponse": { +"description": "Response of the import document operation.", +"id": "GoogleCloudDocumentaiV1beta3ImportDocumentsResponse", +"properties": {}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta3ImportProcessorVersionMetadata": { +"description": "The long-running operation metadata for the ImportProcessorVersion method.", +"id": "GoogleCloudDocumentaiV1beta3ImportProcessorVersionMetadata", +"properties": { +"commonMetadata": { +"$ref": "GoogleCloudDocumentaiV1beta3CommonOperationMetadata", +"description": "The basic metadata for the long-running operation." +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta3ImportProcessorVersionRequest": { +"description": "The request message for the ImportProcessorVersion method. The Document AI [Service Agent](https://cloud.google.com/iam/docs/service-agents) of the destination project must have [Document AI Editor role](https://cloud.google.com/document-ai/docs/access-control/iam-roles) on the source project. The destination project is specified as part of the parent field. The source project is specified as part of the source or external_processor_version_source field.", +"id": "GoogleCloudDocumentaiV1beta3ImportProcessorVersionRequest", +"properties": { +"externalProcessorVersionSource": { +"$ref": "GoogleCloudDocumentaiV1beta3ImportProcessorVersionRequestExternalProcessorVersionSource", +"description": "The source processor version to import from. It can be from a different environment and region than the destination processor." +}, +"processorVersionSource": { +"description": "The source processor version to import from. The source processor version and destination processor need to be in the same environment and region.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta3ImportProcessorVersionRequestExternalProcessorVersionSource": { +"description": "The external source processor version.", +"id": "GoogleCloudDocumentaiV1beta3ImportProcessorVersionRequestExternalProcessorVersionSource", +"properties": { +"processorVersion": { +"description": "Required. The processor version name. Format: `projects/{project}/locations/{location}/processors/{processor}/processorVersions/{processorVersion}`", +"type": "string" +}, +"serviceEndpoint": { +"description": "Optional. The Document AI service endpoint. For example, 'https://us-documentai.googleapis.com'", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta3ImportProcessorVersionResponse": { +"description": "The response message for the ImportProcessorVersion method.", +"id": "GoogleCloudDocumentaiV1beta3ImportProcessorVersionResponse", +"properties": { +"processorVersion": { +"description": "The destination processor version name.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta3ListDocumentsRequest": { +"id": "GoogleCloudDocumentaiV1beta3ListDocumentsRequest", +"properties": { +"filter": { +"description": "Optional. Query to filter the documents based on https://google.aip.dev/160. ## Currently support query strings are: `SplitType=DATASET_SPLIT_TEST|DATASET_SPLIT_TRAIN|DATASET_SPLIT_UNASSIGNED` - `LabelingState=DOCUMENT_LABELED|DOCUMENT_UNLABELED|DOCUMENT_AUTO_LABELED` - `DisplayName=\\\"file_name.pdf\\\"` - `EntityType=abc/def` - `TagName=\\\"auto-labeling-running\\\"|\\\"sampled\\\"` Note: - Only `AND`, `=` and `!=` are supported. e.g. `DisplayName=file_name AND EntityType!=abc` IS supported. - Wildcard `*` is supported only in `DisplayName` filter - No duplicate filter keys are allowed, e.g. `EntityType=a AND EntityType=b` is NOT supported. - String match is case sensitive (for filter `DisplayName` & `EntityType`).", +"type": "string" +}, +"pageSize": { +"description": "The maximum number of documents to return. The service may return fewer than this value. If unspecified, at most 20 documents will be returned. The maximum value is 100; values above 100 will be coerced to 100.", +"format": "int32", +"type": "integer" +}, +"pageToken": { +"description": "A page token, received from a previous `ListDocuments` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListDocuments` must match the call that provided the page token.", +"type": "string" +}, +"returnTotalSize": { +"description": "Optional. Controls if the request requires a total size of matched documents. See ListDocumentsResponse.total_size. Enabling this flag may adversely impact performance. Defaults to false.", +"type": "boolean" +}, +"skip": { +"description": "Optional. Number of results to skip beginning from the `page_token` if provided. https://google.aip.dev/158#skipping-results. It must be a non-negative integer. Negative values will be rejected. Note that this is not the number of pages to skip. If this value causes the cursor to move past the end of results, ListDocumentsResponse.document_metadata and ListDocumentsResponse.next_page_token will be empty.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta3ListDocumentsResponse": { +"id": "GoogleCloudDocumentaiV1beta3ListDocumentsResponse", +"properties": { +"documentMetadata": { +"description": "Document metadata corresponding to the listed documents.", +"items": { +"$ref": "GoogleCloudDocumentaiV1beta3DocumentMetadata" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A token, which can be sent as ListDocumentsRequest.page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.", +"type": "string" +}, +"totalSize": { +"description": "Total count of documents queried.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta3ListEvaluationsResponse": { +"description": "The response from `ListEvaluations`.", +"id": "GoogleCloudDocumentaiV1beta3ListEvaluationsResponse", +"properties": { +"evaluations": { +"description": "The evaluations requested.", +"items": { +"$ref": "GoogleCloudDocumentaiV1beta3Evaluation" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta3ListProcessorTypesResponse": { +"description": "Response message for the ListProcessorTypes method.", +"id": "GoogleCloudDocumentaiV1beta3ListProcessorTypesResponse", +"properties": { +"nextPageToken": { +"description": "Points to the next page, otherwise empty.", +"type": "string" +}, +"processorTypes": { +"description": "The processor types.", +"items": { +"$ref": "GoogleCloudDocumentaiV1beta3ProcessorType" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta3ListProcessorVersionsResponse": { +"description": "Response message for the ListProcessorVersions method.", +"id": "GoogleCloudDocumentaiV1beta3ListProcessorVersionsResponse", +"properties": { +"nextPageToken": { +"description": "Points to the next processor, otherwise empty.", +"type": "string" +}, +"processorVersions": { +"description": "The list of processors.", +"items": { +"$ref": "GoogleCloudDocumentaiV1beta3ProcessorVersion" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta3ListProcessorsResponse": { +"description": "Response message for the ListProcessors method.", +"id": "GoogleCloudDocumentaiV1beta3ListProcessorsResponse", +"properties": { +"nextPageToken": { +"description": "Points to the next processor, otherwise empty.", +"type": "string" +}, +"processors": { +"description": "The list of processors.", +"items": { +"$ref": "GoogleCloudDocumentaiV1beta3Processor" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta3ListSchemaVersionsResponse": { +"description": "Response message for ListSchemaVersions.", +"id": "GoogleCloudDocumentaiV1beta3ListSchemaVersionsResponse", +"properties": { +"nextPageToken": { +"description": "Points to the next SchemaVersion, otherwise empty.", +"type": "string" +}, +"schemaVersions": { +"description": "The list of SchemaVersions.", +"items": { +"$ref": "GoogleCloudDocumentaiV1beta3SchemaVersion" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta3ListSchemasResponse": { +"description": "Response message for ListSchemas.", +"id": "GoogleCloudDocumentaiV1beta3ListSchemasResponse", +"properties": { +"nextPageToken": { +"description": "Points to the next Schema, otherwise empty.", +"type": "string" +}, +"schemas": { +"description": "The list of Schemas.", +"items": { +"$ref": "GoogleCloudDocumentaiV1beta3NextSchema" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta3NextSchema": { +"description": "NextSchema is a collection of SchemaVersions.", +"id": "GoogleCloudDocumentaiV1beta3NextSchema", +"properties": { +"createTime": { +"description": "Output only. The time when the Schema was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"displayName": { +"description": "Required. The user-defined name of the Schema.", +"type": "string" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. The {{gcp_name_short}} labels for the Schema.", +"type": "object" +}, +"name": { +"description": "Identifier. The resource name of the Schema. Format: `projects/{project}/locations/{location}/schemas/{schema}`", +"type": "string" +}, +"updateTime": { +"description": "Output only. The time when the Schema was last updated.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta3NormalizedVertex": { +"description": "A vertex represents a 2D point in the image. NOTE: the normalized vertex coordinates are relative to the original image and range from 0 to 1.", +"id": "GoogleCloudDocumentaiV1beta3NormalizedVertex", +"properties": { +"x": { +"description": "X coordinate.", +"format": "float", +"type": "number" +}, +"y": { +"description": "Y coordinate (starts from the top of the image).", +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta3OcrConfig": { +"description": "Config for Document OCR.", +"id": "GoogleCloudDocumentaiV1beta3OcrConfig", +"properties": { +"advancedOcrOptions": { +"description": "A list of advanced OCR options to further fine-tune OCR behavior. Current valid values are: - `legacy_layout`: a heuristics layout detection algorithm, which serves as an alternative to the current ML-based layout detection algorithm. Customers can choose the best suitable layout algorithm based on their situation.", +"items": { +"type": "string" +}, +"type": "array" +}, +"computeStyleInfo": { +"deprecated": true, +"description": "Turn on font identification model and return font style information. Deprecated, use PremiumFeatures.compute_style_info instead.", +"type": "boolean" +}, +"disableCharacterBoxesDetection": { +"description": "Turn off character box detector in OCR engine. Character box detection is enabled by default in OCR 2.0 (and later) processors.", +"type": "boolean" +}, +"enableImageQualityScores": { +"description": "Enables intelligent document quality scores after OCR. Can help with diagnosing why OCR responses are of poor quality for a given input. Adds additional latency comparable to regular OCR to the process call.", +"type": "boolean" +}, +"enableNativePdfParsing": { +"description": "Enables special handling for PDFs with existing text information. Results in better text extraction quality in such PDF inputs.", +"type": "boolean" +}, +"enableSymbol": { +"description": "Includes symbol level OCR information if set to true.", +"type": "boolean" +}, +"hints": { +"$ref": "GoogleCloudDocumentaiV1beta3OcrConfigHints", +"description": "Hints for the OCR model." +}, +"premiumFeatures": { +"$ref": "GoogleCloudDocumentaiV1beta3OcrConfigPremiumFeatures", +"description": "Configurations for premium OCR features." +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta3OcrConfigHints": { +"description": "Hints for OCR Engine", +"id": "GoogleCloudDocumentaiV1beta3OcrConfigHints", +"properties": { +"languageHints": { +"description": "List of BCP-47 language codes to use for OCR. In most cases, not specifying it yields the best results since it enables automatic language detection. For languages based on the Latin alphabet, setting hints is not needed. In rare cases, when the language of the text in the image is known, setting a hint will help get better results (although it will be a significant hindrance if the hint is wrong).", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta3OcrConfigPremiumFeatures": { +"description": "Configurations for premium OCR features.", +"id": "GoogleCloudDocumentaiV1beta3OcrConfigPremiumFeatures", +"properties": { +"computeStyleInfo": { +"description": "Turn on font identification model and return font style information.", +"type": "boolean" +}, +"enableMathOcr": { +"description": "Turn on the model that can extract LaTeX math formulas.", +"type": "boolean" +}, +"enableSelectionMarkDetection": { +"description": "Turn on selection mark detector in OCR engine. Only available in OCR 2.0 (and later) processors.", +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta3ProcessOptions": { +"description": "Options for Process API", +"id": "GoogleCloudDocumentaiV1beta3ProcessOptions", +"properties": { +"fromEnd": { +"description": "Only process certain pages from the end, same as above.", +"format": "int32", +"type": "integer" +}, +"fromStart": { +"description": "Only process certain pages from the start. Process all if the document has fewer pages.", +"format": "int32", +"type": "integer" +}, +"individualPageSelector": { +"$ref": "GoogleCloudDocumentaiV1beta3ProcessOptionsIndividualPageSelector", +"description": "Which pages to process (1-indexed)." +}, +"layoutConfig": { +"$ref": "GoogleCloudDocumentaiV1beta3ProcessOptionsLayoutConfig", +"description": "Optional. Only applicable to `LAYOUT_PARSER_PROCESSOR`. Returns error if set on other processor types." +}, +"ocrConfig": { +"$ref": "GoogleCloudDocumentaiV1beta3OcrConfig", +"description": "Only applicable to `OCR_PROCESSOR` and `FORM_PARSER_PROCESSOR`. Returns error if set on other processor types." +}, +"schemaOverride": { +"$ref": "GoogleCloudDocumentaiV1beta3DocumentSchema", +"description": "Optional. Override the schema of the ProcessorVersion. Will return an Invalid Argument error if this field is set when the underlying ProcessorVersion doesn't support schema override." +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta3ProcessOptionsIndividualPageSelector": { +"description": "A list of individual page numbers.", +"id": "GoogleCloudDocumentaiV1beta3ProcessOptionsIndividualPageSelector", +"properties": { +"pages": { +"description": "Optional. Indices of the pages (starting from 1).", +"items": { +"format": "int32", +"type": "integer" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta3ProcessOptionsLayoutConfig": { +"description": "Serving config for layout parser processor.", +"id": "GoogleCloudDocumentaiV1beta3ProcessOptionsLayoutConfig", +"properties": { +"chunkingConfig": { +"$ref": "GoogleCloudDocumentaiV1beta3ProcessOptionsLayoutConfigChunkingConfig", +"description": "Optional. Config for chunking in layout parser processor." +}, +"enableImageAnnotation": { +"description": "Optional. Whether to include image annotations in layout parser response.", +"type": "boolean" +}, +"enableImageExtraction": { +"description": "Optional. Whether to extract images in layout parser response.", +"type": "boolean" +}, +"enableLlmLayoutParsing": { +"description": "Optional. Whether to refine PDF layout using LLM.", +"type": "boolean" +}, +"enableTableAnnotation": { +"description": "Optional. Whether to include table annotations in layout parser response.", +"type": "boolean" +}, +"enableTableSplit": { +"description": "Optional. Whether to split table.", +"type": "boolean" +}, +"returnBoundingBoxes": { +"description": "Optional. Whether to include bounding boxes in layout parser processor response.", +"type": "boolean" +}, +"returnImages": { +"description": "Optional. Whether to include images in layout parser processor response.", +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta3ProcessOptionsLayoutConfigChunkingConfig": { +"description": "Serving config for chunking.", +"id": "GoogleCloudDocumentaiV1beta3ProcessOptionsLayoutConfigChunkingConfig", +"properties": { +"breakpointPercentileThreshold": { +"description": "Optional. The percentile of cosine dissimilarity that must be exceeded between a group of tokens and the next. The smaller this number is, the more chunks will be generated. **Note:** This field is not yet used.", +"format": "int32", +"type": "integer" +}, +"chunkSize": { +"description": "Optional. The chunk sizes to use when splitting documents, in order of level.", +"format": "int32", +"type": "integer" +}, +"includeAncestorHeadings": { +"description": "Optional. Whether or not to include ancestor headings when splitting.", +"type": "boolean" +}, +"semanticChunkingGroupSize": { +"description": "Optional. The number of tokens to group together when evaluating semantic similarity. **Note:** This field is not yet used.", +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta3ProcessRequest": { +"description": "Request message for the ProcessDocument method.", +"id": "GoogleCloudDocumentaiV1beta3ProcessRequest", +"properties": { +"document": { +"$ref": "GoogleCloudDocumentaiV1beta3Document", +"deprecated": true, +"description": "The document payload, the content and mime_type fields must be set." +}, +"fieldMask": { +"description": "Specifies which fields to include in the ProcessResponse.document output. Only supports top-level document and pages field, so it must be in the form of `{document_field_name}` or `pages.{page_field_name}`.", +"format": "google-fieldmask", +"type": "string" +}, +"gcsDocument": { +"$ref": "GoogleCloudDocumentaiV1beta3GcsDocument", +"description": "A raw document on Google Cloud Storage." +}, +"imagelessMode": { +"description": "Optional. Option to remove images from the document.", +"type": "boolean" +}, +"inlineDocument": { +"$ref": "GoogleCloudDocumentaiV1beta3Document", +"description": "An inline document proto." +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. The labels with user-defined metadata for the request. Label keys and values can be no longer than 63 characters (Unicode codepoints) and can only contain lowercase letters, numeric characters, underscores, and dashes. International characters are allowed. Label values are optional. Label keys must start with a letter.", +"type": "object" +}, +"processOptions": { +"$ref": "GoogleCloudDocumentaiV1beta3ProcessOptions", +"description": "Inference-time options for the process API" +}, +"rawDocument": { +"$ref": "GoogleCloudDocumentaiV1beta3RawDocument", +"description": "A raw document content (bytes)." +}, +"skipHumanReview": { +"deprecated": true, +"description": "Whether human review should be skipped for this request. Default to `false`.", +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta3ProcessResponse": { +"description": "Response message for the ProcessDocument method.", +"id": "GoogleCloudDocumentaiV1beta3ProcessResponse", +"properties": { +"document": { +"$ref": "GoogleCloudDocumentaiV1beta3Document", +"description": "The document payload, will populate fields based on the processor's behavior." +}, +"humanReviewOperation": { +"deprecated": true, +"description": "The name of the operation triggered by the processed document. If the human review process isn't triggered, this field is empty. It has the same response type and metadata as the long-running operation returned by ReviewDocument.", +"type": "string" +}, +"humanReviewStatus": { +"$ref": "GoogleCloudDocumentaiV1beta3HumanReviewStatus", +"description": "The status of human review on the processed document." +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta3Processor": { +"description": "The first-class citizen for Document AI. Each processor defines how to extract structural information from a document.", +"id": "GoogleCloudDocumentaiV1beta3Processor", +"properties": { +"activeSchemaVersion": { +"description": "Optional. SchemaVersion used by the Processor. It is the same as Processor's DatasetSchema.schema_version Format is `projects/{project}/locations/{location}/schemas/{schema}/schemaVersions/{schema_version}", +"type": "string" +}, +"createTime": { +"description": "Output only. The time the processor was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"defaultProcessorVersion": { +"description": "The default processor version.", +"type": "string" +}, +"displayName": { +"description": "The display name of the processor.", +"type": "string" +}, +"kmsKeyName": { +"description": "The [KMS key](https://cloud.google.com/security-key-management) used for encryption and decryption in CMEK scenarios.", +"type": "string" +}, +"name": { +"description": "Output only. Immutable. The resource name of the processor. Format: `projects/{project}/locations/{location}/processors/{processor}`", +"readOnly": true, +"type": "string" +}, +"processEndpoint": { +"description": "Output only. Immutable. The http endpoint that can be called to invoke processing.", +"readOnly": true, +"type": "string" +}, +"processorVersionAliases": { +"description": "Output only. The processor version aliases.", +"items": { +"$ref": "GoogleCloudDocumentaiV1beta3ProcessorVersionAlias" +}, +"readOnly": true, +"type": "array" +}, +"satisfiesPzi": { +"description": "Output only. Reserved for future use.", +"readOnly": true, +"type": "boolean" +}, +"satisfiesPzs": { +"description": "Output only. Reserved for future use.", +"readOnly": true, +"type": "boolean" +}, +"state": { +"description": "Output only. The state of the processor.", +"enum": [ +"STATE_UNSPECIFIED", +"ENABLED", +"DISABLED", +"ENABLING", +"DISABLING", +"CREATING", +"FAILED", +"DELETING" +], +"enumDescriptions": [ +"The processor is in an unspecified state.", +"The processor is enabled, i.e., has an enabled version which can currently serve processing requests and all the feature dependencies have been successfully initialized.", +"The processor is disabled.", +"The processor is being enabled, will become `ENABLED` if successful.", +"The processor is being disabled, will become `DISABLED` if successful.", +"The processor is being created, will become either `ENABLED` (for successful creation) or `FAILED` (for failed ones). Once a processor is in this state, it can then be used for document processing, but the feature dependencies of the processor might not be fully created yet.", +"The processor failed during creation or initialization of feature dependencies. The user should delete the processor and recreate one as all the functionalities of the processor are disabled.", +"The processor is being deleted, will be removed if successful." +], +"readOnly": true, +"type": "string" +}, +"type": { +"description": "The processor type, such as: `OCR_PROCESSOR`, `INVOICE_PROCESSOR`. To get a list of processor types, see FetchProcessorTypes.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta3ProcessorType": { +"description": "A processor type is responsible for performing a certain document understanding task on a certain type of document.", +"id": "GoogleCloudDocumentaiV1beta3ProcessorType", +"properties": { +"allowCreation": { +"description": "Whether the processor type allows creation. If true, users can create a processor of this processor type. Otherwise, users need to request access.", +"type": "boolean" +}, +"availableLocations": { +"description": "The locations in which this processor is available.", +"items": { +"$ref": "GoogleCloudDocumentaiV1beta3ProcessorTypeLocationInfo" +}, +"type": "array" +}, +"category": { +"description": "The processor category, used by UI to group processor types.", +"type": "string" +}, +"launchStage": { +"description": "Launch stage of the processor type", +"enum": [ +"LAUNCH_STAGE_UNSPECIFIED", +"UNIMPLEMENTED", +"PRELAUNCH", +"EARLY_ACCESS", +"ALPHA", +"BETA", +"GA", +"DEPRECATED" +], +"enumDescriptions": [ +"Do not use this default value.", +"The feature is not yet implemented. Users can not use it.", +"Prelaunch features are hidden from users and are only visible internally.", +"Early Access features are limited to a closed group of testers. To use these features, you must sign up in advance and sign a Trusted Tester agreement (which includes confidentiality provisions). These features may be unstable, changed in backward-incompatible ways, and are not guaranteed to be released.", +"Alpha is a limited availability test for releases before they are cleared for widespread use. By Alpha, all significant design issues are resolved and we are in the process of verifying functionality. Alpha customers need to apply for access, agree to applicable terms, and have their projects allowlisted. Alpha releases don't have to be feature complete, no SLAs are provided, and there are no technical support obligations, but they will be far enough along that customers can actually use them in test environments or for limited-use tests -- just like they would in normal production cases.", +"Beta is the point at which we are ready to open a release for any customer to use. There are no SLA or technical support obligations in a Beta release. Products will be complete from a feature perspective, but may have some open outstanding issues. Beta releases are suitable for limited production use cases.", +"GA features are open to all developers and are considered stable and fully qualified for production use.", +"Deprecated features are scheduled to be shut down and removed. For more information, see the \"Deprecation Policy\" section of our [Terms of Service](https://cloud.google.com/terms/) and the [Google Cloud Platform Subject to the Deprecation Policy](https://cloud.google.com/terms/deprecation) documentation." +], +"type": "string" +}, +"name": { +"description": "The resource name of the processor type. Format: `projects/{project}/processorTypes/{processor_type}`", +"type": "string" +}, +"sampleDocumentUris": { +"description": "A set of Cloud Storage URIs of sample documents for this processor.", +"items": { +"type": "string" +}, +"type": "array" +}, +"type": { +"description": "The processor type, such as: `OCR_PROCESSOR`, `INVOICE_PROCESSOR`.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta3ProcessorTypeLocationInfo": { +"description": "The location information about where the processor is available.", +"id": "GoogleCloudDocumentaiV1beta3ProcessorTypeLocationInfo", +"properties": { +"locationId": { +"description": "The location ID. For supported locations, refer to [regional and multi-regional support](/document-ai/docs/regions).", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta3ProcessorVersion": { +"description": "A processor version is an implementation of a processor. Each processor can have multiple versions, pretrained by Google internally or uptrained by the customer. A processor can only have one default version at a time. Its document-processing behavior is defined by that version.", +"id": "GoogleCloudDocumentaiV1beta3ProcessorVersion", +"properties": { +"createTime": { +"description": "Output only. The time the processor version was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"deprecationInfo": { +"$ref": "GoogleCloudDocumentaiV1beta3ProcessorVersionDeprecationInfo", +"description": "Output only. If set, information about the eventual deprecation of this version.", +"readOnly": true +}, +"displayName": { +"description": "The display name of the processor version.", +"type": "string" +}, +"documentSchema": { +"$ref": "GoogleCloudDocumentaiV1beta3DocumentSchema", +"description": "Output only. The schema of the processor version. Describes the output.", +"readOnly": true +}, +"genAiModelInfo": { +"$ref": "GoogleCloudDocumentaiV1beta3ProcessorVersionGenAiModelInfo", +"description": "Output only. Information about Generative AI model-based processor versions.", +"readOnly": true +}, +"googleManaged": { +"description": "Output only. Denotes that this `ProcessorVersion` is managed by Google.", +"readOnly": true, +"type": "boolean" +}, +"kmsKeyName": { +"description": "Output only. The KMS key name used for encryption.", +"readOnly": true, +"type": "string" +}, +"kmsKeyVersionName": { +"description": "Output only. The KMS key version with which data is encrypted.", +"readOnly": true, +"type": "string" +}, +"latestEvaluation": { +"$ref": "GoogleCloudDocumentaiV1beta3EvaluationReference", +"description": "Output only. The most recently invoked evaluation for the processor version.", +"readOnly": true +}, +"modelType": { +"description": "Output only. The model type of this processor version.", +"enum": [ +"MODEL_TYPE_UNSPECIFIED", +"MODEL_TYPE_GENERATIVE", +"MODEL_TYPE_CUSTOM" +], +"enumDescriptions": [ +"The processor version has unspecified model type.", +"The processor version has generative model type.", +"The processor version has custom model type." +], +"readOnly": true, +"type": "string" +}, +"name": { +"description": "Identifier. The resource name of the processor version. Format: `projects/{project}/locations/{location}/processors/{processor}/processorVersions/{processor_version}`", +"type": "string" +}, +"satisfiesPzi": { +"description": "Output only. Reserved for future use.", +"readOnly": true, +"type": "boolean" +}, +"satisfiesPzs": { +"description": "Output only. Reserved for future use.", +"readOnly": true, +"type": "boolean" +}, +"state": { +"description": "Output only. The state of the processor version.", +"enum": [ +"STATE_UNSPECIFIED", +"DEPLOYED", +"DEPLOYING", +"UNDEPLOYED", +"UNDEPLOYING", +"CREATING", +"DELETING", +"FAILED", +"IMPORTING" +], +"enumDescriptions": [ +"The processor version is in an unspecified state.", +"The processor version is deployed and can be used for processing.", +"The processor version is being deployed.", +"The processor version is not deployed and cannot be used for processing.", +"The processor version is being undeployed.", +"The processor version is being created.", +"The processor version is being deleted.", +"The processor version failed and is in an indeterminate state.", +"The processor version is being imported." +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta3ProcessorVersionAlias": { +"description": "Contains the alias and the aliased resource name of processor version.", +"id": "GoogleCloudDocumentaiV1beta3ProcessorVersionAlias", +"properties": { +"alias": { +"description": "The alias in the form of `processor_version` resource name.", +"type": "string" +}, +"processorVersion": { +"description": "The resource name of aliased processor version.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta3ProcessorVersionDeprecationInfo": { +"description": "Information about the upcoming deprecation of this processor version.", +"id": "GoogleCloudDocumentaiV1beta3ProcessorVersionDeprecationInfo", +"properties": { +"deprecationTime": { +"description": "The time at which this processor version will be deprecated.", +"format": "google-datetime", +"type": "string" +}, +"replacementProcessorVersion": { +"description": "If set, the processor version that will be used as a replacement.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta3ProcessorVersionGenAiModelInfo": { +"description": "Information about Generative AI model-based processor versions.", +"id": "GoogleCloudDocumentaiV1beta3ProcessorVersionGenAiModelInfo", +"properties": { +"customGenAiModelInfo": { +"$ref": "GoogleCloudDocumentaiV1beta3ProcessorVersionGenAiModelInfoCustomGenAiModelInfo", +"description": "Information for a custom Generative AI model created by the user." +}, +"foundationGenAiModelInfo": { +"$ref": "GoogleCloudDocumentaiV1beta3ProcessorVersionGenAiModelInfoFoundationGenAiModelInfo", +"description": "Information for a pretrained Google-managed foundation model." +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta3ProcessorVersionGenAiModelInfoCustomGenAiModelInfo": { +"description": "Information for a custom Generative AI model created by the user. These are created with `Create New Version` in either the `Call foundation model` or `Fine tuning` tabs.", +"id": "GoogleCloudDocumentaiV1beta3ProcessorVersionGenAiModelInfoCustomGenAiModelInfo", +"properties": { +"baseProcessorVersionId": { +"description": "The base processor version ID for the custom model.", +"type": "string" +}, +"customModelType": { +"description": "The type of custom model created by the user.", +"enum": [ +"CUSTOM_MODEL_TYPE_UNSPECIFIED", +"VERSIONED_FOUNDATION", +"FINE_TUNED" +], +"enumDescriptions": [ +"The model type is unspecified.", +"The model is a versioned foundation model.", +"The model is a finetuned foundation model." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta3ProcessorVersionGenAiModelInfoFoundationGenAiModelInfo": { +"description": "Information for a pretrained Google-managed foundation model.", +"id": "GoogleCloudDocumentaiV1beta3ProcessorVersionGenAiModelInfoFoundationGenAiModelInfo", +"properties": { +"finetuningAllowed": { +"description": "Whether fine tuning is allowed for this base processor version.", +"type": "boolean" +}, +"minTrainLabeledDocuments": { +"description": "The minimum number of labeled documents in the training dataset required for fine tuning.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta3PropertyMetadata": { +"description": "Metadata about a property.", +"id": "GoogleCloudDocumentaiV1beta3PropertyMetadata", +"properties": { +"fieldExtractionMetadata": { +"$ref": "GoogleCloudDocumentaiV1beta3FieldExtractionMetadata", +"description": "Field extraction metadata on the property." +}, +"inactive": { +"description": "Whether the property should be considered as \"inactive\".", +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta3RawDocument": { +"description": "Payload message of raw document content (bytes).", +"id": "GoogleCloudDocumentaiV1beta3RawDocument", +"properties": { +"content": { +"description": "Inline document content.", +"format": "byte", +"type": "string" +}, +"displayName": { +"description": "The display name of the document, it supports all Unicode characters except the following: `*`, `?`, `[`, `]`, `%`, `{`, `}`,`'`, `\\\"`, `,` `~`, `=` and `:` are reserved. If not specified, a default ID is generated.", +"type": "string" +}, +"mimeType": { +"description": "An IANA MIME type (RFC6838) indicating the nature and format of the content.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta3RawDocuments": { +"description": "Specifies a set of raw documents.", +"id": "GoogleCloudDocumentaiV1beta3RawDocuments", +"properties": { +"documents": { +"description": "Specifies raw document content and mime type.", +"items": { +"$ref": "GoogleCloudDocumentaiV1beta3RawDocument" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta3ReviewDocumentOperationMetadata": { +"description": "The long-running operation metadata for the ReviewDocument method.", +"id": "GoogleCloudDocumentaiV1beta3ReviewDocumentOperationMetadata", +"properties": { +"commonMetadata": { +"$ref": "GoogleCloudDocumentaiV1beta3CommonOperationMetadata", +"description": "The basic metadata of the long-running operation." +}, +"createTime": { +"description": "The creation time of the operation.", +"format": "google-datetime", +"type": "string" +}, +"questionId": { +"description": "The Crowd Compute question ID.", +"type": "string" +}, +"state": { +"description": "Used only when Operation.done is false.", +"enum": [ +"STATE_UNSPECIFIED", +"RUNNING", +"CANCELLING", +"SUCCEEDED", +"FAILED", +"CANCELLED" +], +"enumDescriptions": [ +"Unspecified state.", +"Operation is still running.", +"Operation is being cancelled.", +"Operation succeeded.", +"Operation failed.", +"Operation is cancelled." +], +"type": "string" +}, +"stateMessage": { +"description": "A message providing more details about the current state of processing. For example, the error message if the operation is failed.", +"type": "string" +}, +"updateTime": { +"description": "The last update time of the operation.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta3ReviewDocumentRequest": { +"description": "Request message for the ReviewDocument method.", +"id": "GoogleCloudDocumentaiV1beta3ReviewDocumentRequest", +"properties": { +"document": { +"$ref": "GoogleCloudDocumentaiV1beta3Document", +"deprecated": true, +"description": "The document that needs human review." +}, +"documentSchema": { +"$ref": "GoogleCloudDocumentaiV1beta3DocumentSchema", +"description": "The document schema of the human review task." +}, +"enableSchemaValidation": { +"description": "Whether the validation should be performed on the ad-hoc review request.", +"type": "boolean" +}, +"inlineDocument": { +"$ref": "GoogleCloudDocumentaiV1beta3Document", +"description": "An inline document proto." +}, +"priority": { +"description": "The priority of the human review task.", +"enum": [ +"DEFAULT", +"URGENT" +], +"enumDescriptions": [ +"The default priority level.", +"The urgent priority level. The labeling manager should allocate labeler resource to the urgent task queue to respect this priority level." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta3ReviewDocumentResponse": { +"description": "Response message for the ReviewDocument method.", +"id": "GoogleCloudDocumentaiV1beta3ReviewDocumentResponse", +"properties": { +"gcsDestination": { +"description": "The Cloud Storage uri for the human reviewed document if the review is succeeded.", +"type": "string" +}, +"rejectionReason": { +"description": "The reason why the review is rejected by reviewer.", +"type": "string" +}, +"state": { +"description": "The state of the review operation.", +"enum": [ +"STATE_UNSPECIFIED", +"REJECTED", +"SUCCEEDED" +], +"enumDescriptions": [ +"The default value. This value is used if the state is omitted.", +"The review operation is rejected by the reviewer.", +"The review operation is succeeded." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta3RevisionRef": { +"description": "The revision reference specifies which revision on the document to read.", +"id": "GoogleCloudDocumentaiV1beta3RevisionRef", +"properties": { +"latestProcessorVersion": { +"description": "Reads the revision generated by the processor version. The format takes the full resource name of processor version. `projects/{project}/locations/{location}/processors/{processor}/processorVersions/{processorVersion}`", +"type": "string" +}, +"revisionCase": { +"description": "Reads the revision by the predefined case.", +"enum": [ +"REVISION_CASE_UNSPECIFIED", +"LATEST_HUMAN_REVIEW", +"LATEST_TIMESTAMP", +"BASE_OCR_REVISION" +], +"enumDescriptions": [ +"Unspecified case, fall back to read the `LATEST_HUMAN_REVIEW`.", +"The latest revision made by a human.", +"The latest revision based on timestamp.", +"The first (OCR) revision." +], +"type": "string" +}, +"revisionId": { +"description": "Reads the revision given by the id.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta3SchemaGenerationHistory": { +"description": "The history of schema generation iterations.", +"id": "GoogleCloudDocumentaiV1beta3SchemaGenerationHistory", +"properties": { +"iterations": { +"description": "Required. Previous prompt-answers in a chronological order.", +"items": { +"$ref": "GoogleCloudDocumentaiV1beta3SchemaGenerationIteration" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta3SchemaGenerationIteration": { +"description": "A single iteration of the schema generation.", +"id": "GoogleCloudDocumentaiV1beta3SchemaGenerationIteration", +"properties": { +"adjustedSchema": { +"$ref": "GoogleCloudDocumentaiV1beta3SchemaVersion", +"description": "Optional. The previous schema version adjusted by the model." +}, +"generatedSchema": { +"$ref": "GoogleCloudDocumentaiV1beta3SchemaVersion", +"description": "Required. The schema version generated by the model." +}, +"prompt": { +"description": "Optional. The prompt used for the iteration.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta3SchemaVersion": { +"description": "SchemaVersion is a version of the Schema which is created in SchemaGroup.", +"id": "GoogleCloudDocumentaiV1beta3SchemaVersion", +"properties": { +"createTime": { +"description": "Output only. The time when the SchemaVersion was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"displayName": { +"description": "Required. The user-defined name of the SchemaVersion.", +"type": "string" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. The {{gcp_name_short}} labels for the SchemaVersion.", +"type": "object" +}, +"name": { +"description": "Identifier. The resource name of the SchemaVersion. Format: `projects/{project}/locations/{location}/schemas/{schema}/schemaVersions/{schema_version}`", +"type": "string" +}, +"schema": { +"$ref": "GoogleCloudDocumentaiV1beta3DocumentSchema", +"description": "Required. The schema of the SchemaVersion." +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta3SetDefaultProcessorVersionMetadata": { +"description": "The long-running operation metadata for the SetDefaultProcessorVersion method.", +"id": "GoogleCloudDocumentaiV1beta3SetDefaultProcessorVersionMetadata", +"properties": { +"commonMetadata": { +"$ref": "GoogleCloudDocumentaiV1beta3CommonOperationMetadata", +"description": "The basic metadata of the long-running operation." +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta3SetDefaultProcessorVersionRequest": { +"description": "Request message for the SetDefaultProcessorVersion method.", +"id": "GoogleCloudDocumentaiV1beta3SetDefaultProcessorVersionRequest", +"properties": { +"defaultProcessorVersion": { +"description": "Required. The resource name of child ProcessorVersion to use as default. Format: `projects/{project}/locations/{location}/processors/{processor}/processorVersions/{version}`", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta3SetDefaultProcessorVersionResponse": { +"description": "Response message for the SetDefaultProcessorVersion method.", +"id": "GoogleCloudDocumentaiV1beta3SetDefaultProcessorVersionResponse", +"properties": {}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta3SummaryOptions": { +"description": "Metadata for document summarization.", +"id": "GoogleCloudDocumentaiV1beta3SummaryOptions", +"properties": { +"format": { +"description": "The format the summary should be in.", +"enum": [ +"FORMAT_UNSPECIFIED", +"PARAGRAPH", +"BULLETS" +], +"enumDescriptions": [ +"Default.", +"Format the output in paragraphs.", +"Format the output in bullets." +], +"type": "string" +}, +"length": { +"description": "How long the summary should be.", +"enum": [ +"LENGTH_UNSPECIFIED", +"BRIEF", +"MODERATE", +"COMPREHENSIVE" +], +"enumDescriptions": [ +"Default.", +"A brief summary of one or two sentences.", +"A paragraph-length summary.", +"The longest option available." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta3TrainProcessorVersionMetadata": { +"description": "The metadata that represents a processor version being created.", +"id": "GoogleCloudDocumentaiV1beta3TrainProcessorVersionMetadata", +"properties": { +"commonMetadata": { +"$ref": "GoogleCloudDocumentaiV1beta3CommonOperationMetadata", +"description": "The basic metadata of the long-running operation." +}, +"testDatasetValidation": { +"$ref": "GoogleCloudDocumentaiV1beta3TrainProcessorVersionMetadataDatasetValidation", +"description": "The test dataset validation information." +}, +"trainingDatasetValidation": { +"$ref": "GoogleCloudDocumentaiV1beta3TrainProcessorVersionMetadataDatasetValidation", +"description": "The training dataset validation information." +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta3TrainProcessorVersionMetadataDatasetValidation": { +"description": "The dataset validation information. This includes any and all errors with documents and the dataset.", +"id": "GoogleCloudDocumentaiV1beta3TrainProcessorVersionMetadataDatasetValidation", +"properties": { +"datasetErrorCount": { +"description": "The total number of dataset errors.", +"format": "int32", +"type": "integer" +}, +"datasetErrors": { +"description": "Error information for the dataset as a whole. A maximum of 10 dataset errors will be returned. A single dataset error is terminal for training.", +"items": { +"$ref": "GoogleRpcStatus" +}, +"type": "array" +}, +"documentErrorCount": { +"description": "The total number of document errors.", +"format": "int32", +"type": "integer" +}, +"documentErrors": { +"description": "Error information pertaining to specific documents. A maximum of 10 document errors will be returned. Any document with errors will not be used throughout training.", +"items": { +"$ref": "GoogleRpcStatus" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta3TrainProcessorVersionRequest": { +"description": "Request message for the TrainProcessorVersion method.", +"id": "GoogleCloudDocumentaiV1beta3TrainProcessorVersionRequest", +"properties": { +"baseProcessorVersion": { +"description": "Optional. The processor version to use as a base for training. This processor version must be a child of `parent`. Format: `projects/{project}/locations/{location}/processors/{processor}/processorVersions/{processorVersion}`.", +"type": "string" +}, +"customDocumentExtractionOptions": { +"$ref": "GoogleCloudDocumentaiV1beta3TrainProcessorVersionRequestCustomDocumentExtractionOptions", +"description": "Options to control Custom Document Extraction (CDE) Processor." +}, +"documentSchema": { +"$ref": "GoogleCloudDocumentaiV1beta3DocumentSchema", +"description": "Optional. The schema the processor version will be trained with." +}, +"foundationModelTuningOptions": { +"$ref": "GoogleCloudDocumentaiV1beta3TrainProcessorVersionRequestFoundationModelTuningOptions", +"description": "Options to control foundation model tuning of a processor." +}, +"inputData": { +"$ref": "GoogleCloudDocumentaiV1beta3TrainProcessorVersionRequestInputData", +"description": "Optional. The input data used to train the ProcessorVersion." +}, +"processorVersion": { +"$ref": "GoogleCloudDocumentaiV1beta3ProcessorVersion", +"description": "Required. The processor version to be created." +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta3TrainProcessorVersionRequestCustomDocumentExtractionOptions": { +"description": "Options to control the training of the Custom Document Extraction (CDE) Processor.", +"id": "GoogleCloudDocumentaiV1beta3TrainProcessorVersionRequestCustomDocumentExtractionOptions", +"properties": { +"trainingMethod": { +"description": "Optional. Training method to use for CDE training.", +"enum": [ +"TRAINING_METHOD_UNSPECIFIED", +"MODEL_BASED", +"TEMPLATE_BASED" +], +"enumDescriptions": [ +"", +"", +"" +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta3TrainProcessorVersionRequestFoundationModelTuningOptions": { +"description": "Options to control foundation model tuning of the processor.", +"id": "GoogleCloudDocumentaiV1beta3TrainProcessorVersionRequestFoundationModelTuningOptions", +"properties": { +"learningRateMultiplier": { +"description": "Optional. The multiplier to apply to the recommended learning rate. Valid values are between 0.1 and 10. If not provided, recommended learning rate will be used.", +"format": "float", +"type": "number" +}, +"trainSteps": { +"description": "Optional. The number of steps to run for model tuning. Valid values are between 1 and 400. If not provided, recommended steps will be used.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta3TrainProcessorVersionRequestInputData": { +"description": "The input data used to train a new ProcessorVersion.", +"id": "GoogleCloudDocumentaiV1beta3TrainProcessorVersionRequestInputData", +"properties": { +"testDocuments": { +"$ref": "GoogleCloudDocumentaiV1beta3BatchDocumentsInputConfig", +"description": "The documents used for testing the trained version." +}, +"trainingDocuments": { +"$ref": "GoogleCloudDocumentaiV1beta3BatchDocumentsInputConfig", +"description": "The documents used for training the new version." +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta3TrainProcessorVersionResponse": { +"description": "The response for TrainProcessorVersion.", +"id": "GoogleCloudDocumentaiV1beta3TrainProcessorVersionResponse", +"properties": { +"processorVersion": { +"description": "The resource name of the processor version produced by training.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta3UndeployProcessorVersionMetadata": { +"description": "The long-running operation metadata for the UndeployProcessorVersion method.", +"id": "GoogleCloudDocumentaiV1beta3UndeployProcessorVersionMetadata", +"properties": { +"commonMetadata": { +"$ref": "GoogleCloudDocumentaiV1beta3CommonOperationMetadata", +"description": "The basic metadata of the long-running operation." +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta3UndeployProcessorVersionRequest": { +"description": "Request message for the UndeployProcessorVersion method.", +"id": "GoogleCloudDocumentaiV1beta3UndeployProcessorVersionRequest", +"properties": {}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta3UndeployProcessorVersionResponse": { +"description": "Response message for the UndeployProcessorVersion method.", +"id": "GoogleCloudDocumentaiV1beta3UndeployProcessorVersionResponse", +"properties": {}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta3UpdateDatasetOperationMetadata": { +"id": "GoogleCloudDocumentaiV1beta3UpdateDatasetOperationMetadata", +"properties": { +"commonMetadata": { +"$ref": "GoogleCloudDocumentaiV1beta3CommonOperationMetadata", +"description": "The basic metadata of the long-running operation." +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta3UpdateProcessorVersionMetadata": { +"description": "The long-running operation metadata for the UpdateProcessorVersion method.", +"id": "GoogleCloudDocumentaiV1beta3UpdateProcessorVersionMetadata", +"properties": { +"commonMetadata": { +"$ref": "GoogleCloudDocumentaiV1beta3CommonOperationMetadata", +"description": "The basic metadata for the long-running operation." +} +}, +"type": "object" +}, +"GoogleCloudDocumentaiV1beta3Vertex": { +"description": "A vertex represents a 2D point in the image. NOTE: the vertex coordinates are in the same scale as the original image.", +"id": "GoogleCloudDocumentaiV1beta3Vertex", +"properties": { +"x": { +"description": "X coordinate.", +"format": "int32", +"type": "integer" +}, +"y": { +"description": "Y coordinate (starts from the top of the image).", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"GoogleCloudLocationListLocationsResponse": { +"description": "The response message for Locations.ListLocations.", +"id": "GoogleCloudLocationListLocationsResponse", +"properties": { +"locations": { +"description": "A list of locations that matches the specified filter in the request.", +"items": { +"$ref": "GoogleCloudLocationLocation" +}, +"type": "array" +}, +"nextPageToken": { +"description": "The standard List next-page token.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudLocationLocation": { +"description": "A resource that represents a Google Cloud location.", +"id": "GoogleCloudLocationLocation", +"properties": { +"displayName": { +"description": "The friendly name for this location, typically a nearby city name. For example, \"Tokyo\".", +"type": "string" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Cross-service attributes for the location. For example {\"cloud.googleapis.com/region\": \"us-east1\"}", +"type": "object" +}, +"locationId": { +"description": "The canonical id for this location. For example: `\"us-east1\"`.", +"type": "string" +}, +"metadata": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "Service-specific metadata. For example the available capacity at the given location.", +"type": "object" +}, +"name": { +"description": "Resource name for the location, which may vary between implementations. For example: `\"projects/example-project/locations/us-east1\"`", +"type": "string" +} +}, +"type": "object" +}, +"GoogleLongrunningListOperationsResponse": { +"description": "The response message for Operations.ListOperations.", +"id": "GoogleLongrunningListOperationsResponse", +"properties": { +"nextPageToken": { +"description": "The standard List next-page token.", +"type": "string" +}, +"operations": { +"description": "A list of operations that matches the specified filter in the request.", +"items": { +"$ref": "GoogleLongrunningOperation" +}, +"type": "array" +}, +"unreachable": { +"description": "Unordered list. Unreachable resources. Populated when the request sets `ListOperationsRequest.return_partial_success` and reads across collections. For example, when attempting to list all resources across all supported locations.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleLongrunningOperation": { +"description": "This resource represents a long-running operation that is the result of a network API call.", +"id": "GoogleLongrunningOperation", +"properties": { +"done": { +"description": "If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.", +"type": "boolean" +}, +"error": { +"$ref": "GoogleRpcStatus", +"description": "The error result of the operation in case of failure or cancellation." +}, +"metadata": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.", +"type": "object" +}, +"name": { +"description": "The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.", +"type": "string" +}, +"response": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "The normal, successful response of the operation. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.", +"type": "object" +} +}, +"type": "object" +}, +"GoogleProtobufEmpty": { +"description": "A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }", +"id": "GoogleProtobufEmpty", +"properties": {}, +"type": "object" +}, +"GoogleRpcStatus": { +"description": "The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors).", +"id": "GoogleRpcStatus", +"properties": { +"code": { +"description": "The status code, which should be an enum value of google.rpc.Code.", +"format": "int32", +"type": "integer" +}, +"details": { +"description": "A list of messages that carry the error details. There is a common set of message types for APIs to use.", +"items": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleTypeColor": { +"description": "Represents a color in the RGBA color space. This representation is designed for simplicity of conversion to and from color representations in various languages over compactness. For example, the fields of this representation can be trivially provided to the constructor of `java.awt.Color` in Java; it can also be trivially provided to UIColor's `+colorWithRed:green:blue:alpha` method in iOS; and, with just a little work, it can be easily formatted into a CSS `rgba()` string in JavaScript. This reference page doesn't have information about the absolute color space that should be used to interpret the RGB value\u2014for example, sRGB, Adobe RGB, DCI-P3, and BT.2020. By default, applications should assume the sRGB color space. When color equality needs to be decided, implementations, unless documented otherwise, treat two colors as equal if all their red, green, blue, and alpha values each differ by at most `1e-5`. Example (Java): import com.google.type.Color; // ... public static java.awt.Color fromProto(Color protocolor) { float alpha = protocolor.hasAlpha() ? protocolor.getAlpha().getValue() : 1.0; return new java.awt.Color( protocolor.getRed(), protocolor.getGreen(), protocolor.getBlue(), alpha); } public static Color toProto(java.awt.Color color) { float red = (float) color.getRed(); float green = (float) color.getGreen(); float blue = (float) color.getBlue(); float denominator = 255.0; Color.Builder resultBuilder = Color .newBuilder() .setRed(red / denominator) .setGreen(green / denominator) .setBlue(blue / denominator); int alpha = color.getAlpha(); if (alpha != 255) { result.setAlpha( FloatValue .newBuilder() .setValue(((float) alpha) / denominator) .build()); } return resultBuilder.build(); } // ... Example (iOS / Obj-C): // ... static UIColor* fromProto(Color* protocolor) { float red = [protocolor red]; float green = [protocolor green]; float blue = [protocolor blue]; FloatValue* alpha_wrapper = [protocolor alpha]; float alpha = 1.0; if (alpha_wrapper != nil) { alpha = [alpha_wrapper value]; } return [UIColor colorWithRed:red green:green blue:blue alpha:alpha]; } static Color* toProto(UIColor* color) { CGFloat red, green, blue, alpha; if (![color getRed:&red green:&green blue:&blue alpha:&alpha]) { return nil; } Color* result = [[Color alloc] init]; [result setRed:red]; [result setGreen:green]; [result setBlue:blue]; if (alpha <= 0.9999) { [result setAlpha:floatWrapperWithValue(alpha)]; } [result autorelease]; return result; } // ... Example (JavaScript): // ... var protoToCssColor = function(rgb_color) { var redFrac = rgb_color.red || 0.0; var greenFrac = rgb_color.green || 0.0; var blueFrac = rgb_color.blue || 0.0; var red = Math.floor(redFrac * 255); var green = Math.floor(greenFrac * 255); var blue = Math.floor(blueFrac * 255); if (!('alpha' in rgb_color)) { return rgbToCssColor(red, green, blue); } var alphaFrac = rgb_color.alpha.value || 0.0; var rgbParams = [red, green, blue].join(','); return ['rgba(', rgbParams, ',', alphaFrac, ')'].join(''); }; var rgbToCssColor = function(red, green, blue) { var rgbNumber = new Number((red << 16) | (green << 8) | blue); var hexString = rgbNumber.toString(16); var missingZeros = 6 - hexString.length; var resultBuilder = ['#']; for (var i = 0; i < missingZeros; i++) { resultBuilder.push('0'); } resultBuilder.push(hexString); return resultBuilder.join(''); }; // ...", +"id": "GoogleTypeColor", +"properties": { +"alpha": { +"description": "The fraction of this color that should be applied to the pixel. That is, the final pixel color is defined by the equation: `pixel color = alpha * (this color) + (1.0 - alpha) * (background color)` This means that a value of 1.0 corresponds to a solid color, whereas a value of 0.0 corresponds to a completely transparent color. This uses a wrapper message rather than a simple float scalar so that it is possible to distinguish between a default value and the value being unset. If omitted, this color object is rendered as a solid color (as if the alpha value had been explicitly given a value of 1.0).", +"format": "float", +"type": "number" +}, +"blue": { +"description": "The amount of blue in the color as a value in the interval [0, 1].", +"format": "float", +"type": "number" +}, +"green": { +"description": "The amount of green in the color as a value in the interval [0, 1].", +"format": "float", +"type": "number" +}, +"red": { +"description": "The amount of red in the color as a value in the interval [0, 1].", +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"GoogleTypeDate": { +"description": "Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following: * A full date, with non-zero year, month, and day values. * A month and day, with a zero year (for example, an anniversary). * A year on its own, with a zero month and a zero day. * A year and month, with a zero day (for example, a credit card expiration date). Related types: * google.type.TimeOfDay * google.type.DateTime * google.protobuf.Timestamp", +"id": "GoogleTypeDate", +"properties": { +"day": { +"description": "Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn't significant.", +"format": "int32", +"type": "integer" +}, +"month": { +"description": "Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.", +"format": "int32", +"type": "integer" +}, +"year": { +"description": "Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"GoogleTypeDateTime": { +"description": "Represents civil time (or occasionally physical time). This type can represent a civil time in one of a few possible ways: * When utc_offset is set and time_zone is unset: a civil time on a calendar day with a particular offset from UTC. * When time_zone is set and utc_offset is unset: a civil time on a calendar day in a particular time zone. * When neither time_zone nor utc_offset is set: a civil time on a calendar day in local time. The date is relative to the Proleptic Gregorian Calendar. If year, month, or day are 0, the DateTime is considered not to have a specific year, month, or day respectively. This type may also be used to represent a physical time if all the date and time fields are set and either case of the `time_offset` oneof is set. Consider using `Timestamp` message for physical time instead. If your use case also would like to store the user's timezone, that can be done in another field. This type is more flexible than some applications may want. Make sure to document and validate your application's limitations.", +"id": "GoogleTypeDateTime", +"properties": { +"day": { +"description": "Optional. Day of month. Must be from 1 to 31 and valid for the year and month, or 0 if specifying a datetime without a day.", +"format": "int32", +"type": "integer" +}, +"hours": { +"description": "Optional. Hours of day in 24 hour format. Should be from 0 to 23, defaults to 0 (midnight). An API may choose to allow the value \"24:00:00\" for scenarios like business closing time.", +"format": "int32", +"type": "integer" +}, +"minutes": { +"description": "Optional. Minutes of hour of day. Must be from 0 to 59, defaults to 0.", +"format": "int32", +"type": "integer" +}, +"month": { +"description": "Optional. Month of year. Must be from 1 to 12, or 0 if specifying a datetime without a month.", +"format": "int32", +"type": "integer" +}, +"nanos": { +"description": "Optional. Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999, defaults to 0.", +"format": "int32", +"type": "integer" +}, +"seconds": { +"description": "Optional. Seconds of minutes of the time. Must normally be from 0 to 59, defaults to 0. An API may allow the value 60 if it allows leap-seconds.", +"format": "int32", +"type": "integer" +}, +"timeZone": { +"$ref": "GoogleTypeTimeZone", +"description": "Time zone." +}, +"utcOffset": { +"description": "UTC offset. Must be whole seconds, between -18 hours and +18 hours. For example, a UTC offset of -4:00 would be represented as { seconds: -14400 }.", +"format": "google-duration", +"type": "string" +}, +"year": { +"description": "Optional. Year of date. Must be from 1 to 9999, or 0 if specifying a datetime without a year.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"GoogleTypeMoney": { +"description": "Represents an amount of money with its currency type.", +"id": "GoogleTypeMoney", +"properties": { +"currencyCode": { +"description": "The three-letter currency code defined in ISO 4217.", +"type": "string" +}, +"nanos": { +"description": "Number of nano (10^-9) units of the amount. The value must be between -999,999,999 and +999,999,999 inclusive. If `units` is positive, `nanos` must be positive or zero. If `units` is zero, `nanos` can be positive, zero, or negative. If `units` is negative, `nanos` must be negative or zero. For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000.", +"format": "int32", +"type": "integer" +}, +"units": { +"description": "The whole units of the amount. For example if `currencyCode` is `\"USD\"`, then 1 unit is one US dollar.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"GoogleTypePostalAddress": { +"description": "Represents a postal address, such as for postal delivery or payments addresses. With a postal address, a postal service can deliver items to a premise, P.O. box, or similar. A postal address is not intended to model geographical locations like roads, towns, or mountains. In typical usage, an address would be created by user input or from importing existing data, depending on the type of process. Advice on address input or editing: - Use an internationalization-ready address widget such as https://github.com/google/libaddressinput. - Users should not be presented with UI elements for input or editing of fields outside countries where that field is used. For more guidance on how to use this schema, see: https://support.google.com/business/answer/6397478.", +"id": "GoogleTypePostalAddress", +"properties": { +"addressLines": { +"description": "Unstructured address lines describing the lower levels of an address. Because values in `address_lines` do not have type information and may sometimes contain multiple values in a single field (for example, \"Austin, TX\"), it is important that the line order is clear. The order of address lines should be \"envelope order\" for the country or region of the address. In places where this can vary (for example, Japan), `address_language` is used to make it explicit (for example, \"ja\" for large-to-small ordering and \"ja-Latn\" or \"en\" for small-to-large). In this way, the most specific line of an address can be selected based on the language. The minimum permitted structural representation of an address consists of a `region_code` with all remaining information placed in the `address_lines`. It would be possible to format such an address very approximately without geocoding, but no semantic reasoning could be made about any of the address components until it was at least partially resolved. Creating an address only containing a `region_code` and `address_lines` and then geocoding is the recommended way to handle completely unstructured addresses (as opposed to guessing which parts of the address should be localities or administrative areas).", +"items": { +"type": "string" +}, +"type": "array" +}, +"administrativeArea": { +"description": "Optional. Highest administrative subdivision which is used for postal addresses of a country or region. For example, this can be a state, a province, an oblast, or a prefecture. For Spain, this is the province and not the autonomous community (for example, \"Barcelona\" and not \"Catalonia\"). Many countries don't use an administrative area in postal addresses. For example, in Switzerland, this should be left unpopulated.", +"type": "string" +}, +"languageCode": { +"description": "Optional. BCP-47 language code of the contents of this address (if known). This is often the UI language of the input form or is expected to match one of the languages used in the address' country/region, or their transliterated equivalents. This can affect formatting in certain countries, but is not critical to the correctness of the data and will never affect any validation or other non-formatting related operations. If this value is not known, it should be omitted (rather than specifying a possibly incorrect default). Examples: \"zh-Hant\", \"ja\", \"ja-Latn\", \"en\".", +"type": "string" +}, +"locality": { +"description": "Optional. Generally refers to the city or town portion of the address. Examples: US city, IT comune, UK post town. In regions of the world where localities are not well defined or do not fit into this structure well, leave `locality` empty and use `address_lines`.", +"type": "string" +}, +"organization": { +"description": "Optional. The name of the organization at the address.", +"type": "string" +}, +"postalCode": { +"description": "Optional. Postal code of the address. Not all countries use or require postal codes to be present, but where they are used, they may trigger additional validation with other parts of the address (for example, state or zip code validation in the United States).", +"type": "string" +}, +"recipients": { +"description": "Optional. The recipient at the address. This field may, under certain circumstances, contain multiline information. For example, it might contain \"care of\" information.", +"items": { +"type": "string" +}, +"type": "array" +}, +"regionCode": { +"description": "Required. CLDR region code of the country/region of the address. This is never inferred and it is up to the user to ensure the value is correct. See https://cldr.unicode.org/ and https://www.unicode.org/cldr/charts/30/supplemental/territory_information.html for details. Example: \"CH\" for Switzerland.", +"type": "string" +}, +"revision": { +"description": "The schema revision of the `PostalAddress`. This must be set to 0, which is the latest revision. All new revisions **must** be backward compatible with old revisions.", +"format": "int32", +"type": "integer" +}, +"sortingCode": { +"description": "Optional. Additional, country-specific, sorting code. This is not used in most regions. Where it is used, the value is either a string like \"CEDEX\", optionally followed by a number (for example, \"CEDEX 7\"), or just a number alone, representing the \"sector code\" (Jamaica), \"delivery area indicator\" (Malawi) or \"post office indicator\" (C\u00f4te d'Ivoire).", +"type": "string" +}, +"sublocality": { +"description": "Optional. Sublocality of the address. For example, this can be a neighborhood, borough, or district.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleTypeTimeZone": { +"description": "Represents a time zone from the [IANA Time Zone Database](https://www.iana.org/time-zones).", +"id": "GoogleTypeTimeZone", +"properties": { +"id": { +"description": "IANA Time Zone Database time zone. For example \"America/New_York\".", +"type": "string" +}, +"version": { +"description": "Optional. IANA Time Zone Database version number. For example \"2019a\".", +"type": "string" +} +}, +"type": "object" +} +}, +"servicePath": "", +"title": "Cloud Document AI API", +"version": "v1beta3", +"version_module": true +} \ No newline at end of file diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/domains.v1alpha2.json b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/domains.v1alpha2.json new file mode 100644 index 0000000000000000000000000000000000000000..1f059293fbff771201f3889b5a54a72a3c675cde --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/domains.v1alpha2.json @@ -0,0 +1,2793 @@ +{ +"auth": { +"oauth2": { +"scopes": { +"https://www.googleapis.com/auth/cloud-platform": { +"description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." +} +} +} +}, +"basePath": "", +"baseUrl": "https://domains.googleapis.com/", +"batchPath": "batch", +"canonicalName": "Cloud Domains", +"description": "Enables management and configuration of domain names.", +"discoveryVersion": "v1", +"documentationLink": "https://cloud.google.com/domains/", +"fullyEncodeReservedExpansion": true, +"icons": { +"x16": "http://www.google.com/images/icons/product/search-16.gif", +"x32": "http://www.google.com/images/icons/product/search-32.gif" +}, +"id": "domains:v1alpha2", +"kind": "discovery#restDescription", +"mtlsRootUrl": "https://domains.mtls.googleapis.com/", +"name": "domains", +"ownerDomain": "google.com", +"ownerName": "Google", +"parameters": { +"$.xgafv": { +"description": "V1 error format.", +"enum": [ +"1", +"2" +], +"enumDescriptions": [ +"v1 error format", +"v2 error format" +], +"location": "query", +"type": "string" +}, +"access_token": { +"description": "OAuth access token.", +"location": "query", +"type": "string" +}, +"alt": { +"default": "json", +"description": "Data format for response.", +"enum": [ +"json", +"media", +"proto" +], +"enumDescriptions": [ +"Responses with Content-Type of application/json", +"Media download with context-dependent Content-Type", +"Responses with Content-Type of application/x-protobuf" +], +"location": "query", +"type": "string" +}, +"callback": { +"description": "JSONP", +"location": "query", +"type": "string" +}, +"fields": { +"description": "Selector specifying which fields to include in a partial response.", +"location": "query", +"type": "string" +}, +"key": { +"description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", +"location": "query", +"type": "string" +}, +"oauth_token": { +"description": "OAuth 2.0 token for the current user.", +"location": "query", +"type": "string" +}, +"prettyPrint": { +"default": "true", +"description": "Returns response with indentations and line breaks.", +"location": "query", +"type": "boolean" +}, +"quotaUser": { +"description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.", +"location": "query", +"type": "string" +}, +"uploadType": { +"description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", +"location": "query", +"type": "string" +}, +"upload_protocol": { +"description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", +"location": "query", +"type": "string" +} +}, +"protocol": "rest", +"resources": { +"projects": { +"resources": { +"locations": { +"methods": { +"get": { +"description": "Gets information about a location.", +"flatPath": "v1alpha2/projects/{projectsId}/locations/{locationsId}", +"httpMethod": "GET", +"id": "domains.projects.locations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Resource name for the location.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha2/{+name}", +"response": { +"$ref": "Location" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists information about the supported locations for this service. This method can be called in two ways: * **List all public locations:** Use the path `GET /v1/locations`. * **List project-visible locations:** Use the path `GET /v1/projects/{project_id}/locations`. This may include public locations as well as private or other locations specifically visible to the project.", +"flatPath": "v1alpha2/projects/{projectsId}/locations", +"httpMethod": "GET", +"id": "domains.projects.locations.list", +"parameterOrder": [ +"name" +], +"parameters": { +"extraLocationTypes": { +"description": "Optional. Do not use this field. It is unsupported and is ignored unless explicitly documented otherwise. This is primarily for internal usage.", +"location": "query", +"repeated": true, +"type": "string" +}, +"filter": { +"description": "A filter to narrow down results to a preferred subset. The filtering language accepts strings like `\"displayName=tokyo\"`, and is documented in more detail in [AIP-160](https://google.aip.dev/160).", +"location": "query", +"type": "string" +}, +"name": { +"description": "The resource that owns the locations collection, if applicable.", +"location": "path", +"pattern": "^projects/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The maximum number of results to return. If not set, the service selects a default.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A page token received from the `next_page_token` field in the response. Send that page token to receive the subsequent page.", +"location": "query", +"type": "string" +} +}, +"path": "v1alpha2/{+name}/locations", +"response": { +"$ref": "ListLocationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"operations": { +"methods": { +"get": { +"description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", +"flatPath": "v1alpha2/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}", +"httpMethod": "GET", +"id": "domains.projects.locations.operations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha2/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.", +"flatPath": "v1alpha2/projects/{projectsId}/locations/{locationsId}/operations", +"httpMethod": "GET", +"id": "domains.projects.locations.operations.list", +"parameterOrder": [ +"name" +], +"parameters": { +"filter": { +"description": "The standard list filter.", +"location": "query", +"type": "string" +}, +"name": { +"description": "The name of the operation's parent resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The standard list page size.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The standard list page token.", +"location": "query", +"type": "string" +}, +"returnPartialSuccess": { +"description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `\"projects/example/locations/-\"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1alpha2/{+name}/operations", +"response": { +"$ref": "ListOperationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"registrations": { +"methods": { +"configureContactSettings": { +"description": "Updates a `Registration`'s contact settings. Some changes require confirmation by the domain's registrant contact . Caution: Please consider carefully any changes to contact privacy settings when changing from `REDACTED_CONTACT_DATA` to `PUBLIC_CONTACT_DATA.` There may be a delay in reflecting updates you make to registrant contact information such that any changes you make to contact privacy (including from `REDACTED_CONTACT_DATA` to `PUBLIC_CONTACT_DATA`) will be applied without delay but changes to registrant contact information may take a limited time to be publicized. This means that changes to contact privacy from `REDACTED_CONTACT_DATA` to `PUBLIC_CONTACT_DATA` may make the previous registrant contact data public until the modified registrant contact details are published.", +"flatPath": "v1alpha2/projects/{projectsId}/locations/{locationsId}/registrations/{registrationsId}:configureContactSettings", +"httpMethod": "POST", +"id": "domains.projects.locations.registrations.configureContactSettings", +"parameterOrder": [ +"registration" +], +"parameters": { +"registration": { +"description": "Required. The name of the `Registration` whose contact settings are being updated, in the format `projects/*/locations/*/registrations/*`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/registrations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha2/{+registration}:configureContactSettings", +"request": { +"$ref": "ConfigureContactSettingsRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"configureDnsSettings": { +"description": "Updates a `Registration`'s DNS settings.", +"flatPath": "v1alpha2/projects/{projectsId}/locations/{locationsId}/registrations/{registrationsId}:configureDnsSettings", +"httpMethod": "POST", +"id": "domains.projects.locations.registrations.configureDnsSettings", +"parameterOrder": [ +"registration" +], +"parameters": { +"registration": { +"description": "Required. The name of the `Registration` whose DNS settings are being updated, in the format `projects/*/locations/*/registrations/*`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/registrations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha2/{+registration}:configureDnsSettings", +"request": { +"$ref": "ConfigureDnsSettingsRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"configureManagementSettings": { +"description": "Updates a `Registration`'s management settings.", +"flatPath": "v1alpha2/projects/{projectsId}/locations/{locationsId}/registrations/{registrationsId}:configureManagementSettings", +"httpMethod": "POST", +"id": "domains.projects.locations.registrations.configureManagementSettings", +"parameterOrder": [ +"registration" +], +"parameters": { +"registration": { +"description": "Required. The name of the `Registration` whose management settings are being updated, in the format `projects/*/locations/*/registrations/*`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/registrations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha2/{+registration}:configureManagementSettings", +"request": { +"$ref": "ConfigureManagementSettingsRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a `Registration` resource. This method works on any `Registration` resource using [Subscription or Commitment billing](/domains/pricing#billing-models), provided that the resource was created at least 1 day in the past. When an active registration is successfully deleted, you can continue to use the domain in [Google Domains](https://domains.google/) until it expires. The calling user becomes the domain's sole owner in Google Domains, and permissions for the domain are subsequently managed there. The domain does not renew automatically unless the new owner sets up billing in Google Domains. After January 2024 you will only be able to delete `Registration` resources when `state` is one of: `EXPORTED`, `EXPIRED`,`REGISTRATION_FAILED` or `TRANSFER_FAILED`. See [Cloud Domains feature deprecation](https://cloud.google.com/domains/docs/deprecations/feature-deprecations) for more details.", +"flatPath": "v1alpha2/projects/{projectsId}/locations/{locationsId}/registrations/{registrationsId}", +"httpMethod": "DELETE", +"id": "domains.projects.locations.registrations.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the `Registration` to delete, in the format `projects/*/locations/*/registrations/*`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/registrations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha2/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"export": { +"deprecated": true, +"description": "Deprecated: For more information, see [Cloud Domains feature deprecation](https://cloud.google.com/domains/docs/deprecations/feature-deprecations) Exports a `Registration` resource, such that it is no longer managed by Cloud Domains. When an active domain is successfully exported, you can continue to use the domain in [Google Domains](https://domains.google/) until it expires. The calling user becomes the domain's sole owner in Google Domains, and permissions for the domain are subsequently managed there. The domain does not renew automatically unless the new owner sets up billing in Google Domains.", +"flatPath": "v1alpha2/projects/{projectsId}/locations/{locationsId}/registrations/{registrationsId}:export", +"httpMethod": "POST", +"id": "domains.projects.locations.registrations.export", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the `Registration` to export, in the format `projects/*/locations/*/registrations/*`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/registrations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha2/{+name}:export", +"request": { +"$ref": "ExportRegistrationRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets the details of a `Registration` resource.", +"flatPath": "v1alpha2/projects/{projectsId}/locations/{locationsId}/registrations/{registrationsId}", +"httpMethod": "GET", +"id": "domains.projects.locations.registrations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the `Registration` to get, in the format `projects/*/locations/*/registrations/*`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/registrations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha2/{+name}", +"response": { +"$ref": "Registration" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"getIamPolicy": { +"description": "Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.", +"flatPath": "v1alpha2/projects/{projectsId}/locations/{locationsId}/registrations/{registrationsId}:getIamPolicy", +"httpMethod": "GET", +"id": "domains.projects.locations.registrations.getIamPolicy", +"parameterOrder": [ +"resource" +], +"parameters": { +"options.requestedPolicyVersion": { +"description": "Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).", +"format": "int32", +"location": "query", +"type": "integer" +}, +"resource": { +"description": "REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/registrations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha2/{+resource}:getIamPolicy", +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"import": { +"deprecated": true, +"description": "Deprecated: For more information, see [Cloud Domains feature deprecation](https://cloud.google.com/domains/docs/deprecations/feature-deprecations) Imports a domain name from [Google Domains](https://domains.google/) for use in Cloud Domains. To transfer a domain from another registrar, use the `TransferDomain` method instead. Since individual users can own domains in Google Domains, the calling user must have ownership permission on the domain.", +"flatPath": "v1alpha2/projects/{projectsId}/locations/{locationsId}/registrations:import", +"httpMethod": "POST", +"id": "domains.projects.locations.registrations.import", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The parent resource of the Registration. Must be in the format `projects/*/locations/*`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha2/{+parent}/registrations:import", +"request": { +"$ref": "ImportDomainRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"initiatePushTransfer": { +"description": "Initiates the `Push Transfer` process to transfer the domain to another registrar. The process might complete instantly or might require confirmation or additional work. Check the emails sent to the email address of the registrant. The process is aborted after a timeout if it's not completed. This method is only supported for domains that have the `REQUIRE_PUSH_TRANSFER` property in the list of `domain_properties`. The domain must also be unlocked before it can be transferred to a different registrar. For more information, see [Transfer a registered domain to another registrar](https://cloud.google.com/domains/docs/transfer-domain-to-another-registrar).", +"flatPath": "v1alpha2/projects/{projectsId}/locations/{locationsId}/registrations/{registrationsId}:initiatePushTransfer", +"httpMethod": "POST", +"id": "domains.projects.locations.registrations.initiatePushTransfer", +"parameterOrder": [ +"registration" +], +"parameters": { +"registration": { +"description": "Required. The name of the `Registration` for which the push transfer is initiated, in the format `projects/*/locations/*/registrations/*`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/registrations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha2/{+registration}:initiatePushTransfer", +"request": { +"$ref": "InitiatePushTransferRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists the `Registration` resources in a project.", +"flatPath": "v1alpha2/projects/{projectsId}/locations/{locationsId}/registrations", +"httpMethod": "GET", +"id": "domains.projects.locations.registrations.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Filter expression to restrict the `Registration`s returned. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, a boolean, or an enum value. The comparison operator should be one of =, !=, >, <, >=, <=, or : for prefix or wildcard matches. For example, to filter to a specific domain name, use an expression like `domainName=\"example.com\"`. You can also check for the existence of a field; for example, to find domains using custom DNS settings, use an expression like `dnsSettings.customDns:*`. You can also create compound filters by combining expressions with the `AND` and `OR` operators. For example, to find domains that are suspended or have specific issues flagged, use an expression like `(state=SUSPENDED) OR (issue:*)`.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Maximum number of results to return.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "When set to the `next_page_token` from a prior response, provides the next page of results.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The project and location from which to list `Registration`s, specified in the format `projects/*/locations/*`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha2/{+parent}/registrations", +"response": { +"$ref": "ListRegistrationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates select fields of a `Registration` resource, notably `labels`. To update other fields, use the appropriate custom update method: * To update management settings, see `ConfigureManagementSettings` * To update DNS configuration, see `ConfigureDnsSettings` * To update contact information, see `ConfigureContactSettings`", +"flatPath": "v1alpha2/projects/{projectsId}/locations/{locationsId}/registrations/{registrationsId}", +"httpMethod": "PATCH", +"id": "domains.projects.locations.registrations.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Output only. Name of the `Registration` resource, in the format `projects/*/locations/*/registrations/`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/registrations/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Required. The field mask describing which fields to update as a comma-separated list. For example, if only the labels are being updated, the `update_mask` is `\"labels\"`.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1alpha2/{+name}", +"request": { +"$ref": "Registration" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"register": { +"description": "Registers a new domain name and creates a corresponding `Registration` resource. Call `RetrieveRegisterParameters` first to check availability of the domain name and determine parameters like price that are needed to build a call to this method. A successful call creates a `Registration` resource in state `REGISTRATION_PENDING`, which resolves to `ACTIVE` within 1-2 minutes, indicating that the domain was successfully registered. If the resource ends up in state `REGISTRATION_FAILED`, it indicates that the domain was not registered successfully, and you can safely delete the resource and retry registration.", +"flatPath": "v1alpha2/projects/{projectsId}/locations/{locationsId}/registrations:register", +"httpMethod": "POST", +"id": "domains.projects.locations.registrations.register", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The parent resource of the `Registration`. Must be in the format `projects/*/locations/*`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha2/{+parent}/registrations:register", +"request": { +"$ref": "RegisterDomainRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"renewDomain": { +"description": "Renews a recently expired domain. This method can only be called on domains that expired in the previous 30 days. After the renewal, the new expiration time of the domain is one year after the old expiration time and you are charged a `yearly_price` for the renewal.", +"flatPath": "v1alpha2/projects/{projectsId}/locations/{locationsId}/registrations/{registrationsId}:renewDomain", +"httpMethod": "POST", +"id": "domains.projects.locations.registrations.renewDomain", +"parameterOrder": [ +"registration" +], +"parameters": { +"registration": { +"description": "Required. The name of the `Registration` whish is being renewed, in the format `projects/*/locations/*/registrations/*`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/registrations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha2/{+registration}:renewDomain", +"request": { +"$ref": "RenewDomainRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"resetAuthorizationCode": { +"description": "Resets the authorization code of the `Registration` to a new random string. You can call this method only after 60 days have elapsed since the initial domain registration. Domains that have the `REQUIRE_PUSH_TRANSFER` property in the list of `domain_properties` don't support authorization codes and must use the `InitiatePushTransfer` method to initiate the process to transfer the domain to a different registrar.", +"flatPath": "v1alpha2/projects/{projectsId}/locations/{locationsId}/registrations/{registrationsId}:resetAuthorizationCode", +"httpMethod": "POST", +"id": "domains.projects.locations.registrations.resetAuthorizationCode", +"parameterOrder": [ +"registration" +], +"parameters": { +"registration": { +"description": "Required. The name of the `Registration` whose authorization code is being reset, in the format `projects/*/locations/*/registrations/*`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/registrations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha2/{+registration}:resetAuthorizationCode", +"request": { +"$ref": "ResetAuthorizationCodeRequest" +}, +"response": { +"$ref": "AuthorizationCode" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"retrieveAuthorizationCode": { +"description": "Gets the authorization code of the `Registration` for the purpose of transferring the domain to another registrar. You can call this method only after 60 days have elapsed since the initial domain registration. Domains that have the `REQUIRE_PUSH_TRANSFER` property in the list of `domain_properties` don't support authorization codes and must use the `InitiatePushTransfer` method to initiate the process to transfer the domain to a different registrar.", +"flatPath": "v1alpha2/projects/{projectsId}/locations/{locationsId}/registrations/{registrationsId}:retrieveAuthorizationCode", +"httpMethod": "GET", +"id": "domains.projects.locations.registrations.retrieveAuthorizationCode", +"parameterOrder": [ +"registration" +], +"parameters": { +"registration": { +"description": "Required. The name of the `Registration` whose authorization code is being retrieved, in the format `projects/*/locations/*/registrations/*`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/registrations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha2/{+registration}:retrieveAuthorizationCode", +"response": { +"$ref": "AuthorizationCode" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"retrieveGoogleDomainsDnsRecords": { +"description": "Lists the DNS records from the Google Domains DNS zone for domains that use the deprecated `google_domains_dns` in the `Registration`'s `dns_settings`.", +"flatPath": "v1alpha2/projects/{projectsId}/locations/{locationsId}/registrations/{registrationsId}:retrieveGoogleDomainsDnsRecords", +"httpMethod": "GET", +"id": "domains.projects.locations.registrations.retrieveGoogleDomainsDnsRecords", +"parameterOrder": [ +"registration" +], +"parameters": { +"pageSize": { +"description": "Optional. Maximum number of results to return.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. When set to the `next_page_token` from a prior response, provides the next page of results.", +"location": "query", +"type": "string" +}, +"registration": { +"description": "Required. The name of the `Registration` whose Google Domains DNS records details you are retrieving, in the format `projects/*/locations/*/registrations/*`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/registrations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha2/{+registration}:retrieveGoogleDomainsDnsRecords", +"response": { +"$ref": "RetrieveGoogleDomainsDnsRecordsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"retrieveGoogleDomainsForwardingConfig": { +"description": "Lists the deprecated domain and email forwarding configurations you set up in the deprecated Google Domains UI. The configuration is present only for domains with the `google_domains_redirects_data_available` set to `true` in the `Registration`'s `dns_settings`. A forwarding configuration might not work correctly if required DNS records are not present in the domain's authoritative DNS Zone.", +"flatPath": "v1alpha2/projects/{projectsId}/locations/{locationsId}/registrations/{registrationsId}:retrieveGoogleDomainsForwardingConfig", +"httpMethod": "GET", +"id": "domains.projects.locations.registrations.retrieveGoogleDomainsForwardingConfig", +"parameterOrder": [ +"registration" +], +"parameters": { +"registration": { +"description": "Required. The name of the `Registration` whose Google Domains forwarding configuration details are being retrieved, in the format `projects/*/locations/*/registrations/*`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/registrations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha2/{+registration}:retrieveGoogleDomainsForwardingConfig", +"response": { +"$ref": "RetrieveGoogleDomainsForwardingConfigResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"retrieveImportableDomains": { +"deprecated": true, +"description": "Deprecated: For more information, see [Cloud Domains feature deprecation](https://cloud.google.com/domains/docs/deprecations/feature-deprecations) Lists domain names from [Google Domains](https://domains.google/) that can be imported to Cloud Domains using the `ImportDomain` method. Since individual users can own domains in Google Domains, the list of domains returned depends on the individual user making the call. Domains already managed by Cloud Domains are not returned.", +"flatPath": "v1alpha2/projects/{projectsId}/locations/{locationsId}/registrations:retrieveImportableDomains", +"httpMethod": "GET", +"id": "domains.projects.locations.registrations.retrieveImportableDomains", +"parameterOrder": [ +"location" +], +"parameters": { +"location": { +"description": "Required. The location. Must be in the format `projects/*/locations/*`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "Maximum number of results to return.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "When set to the `next_page_token` from a prior response, provides the next page of results.", +"location": "query", +"type": "string" +} +}, +"path": "v1alpha2/{+location}/registrations:retrieveImportableDomains", +"response": { +"$ref": "RetrieveImportableDomainsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"retrieveRegisterParameters": { +"description": "Gets parameters needed to register a new domain name, including price and up-to-date availability. Use the returned values to call `RegisterDomain`.", +"flatPath": "v1alpha2/projects/{projectsId}/locations/{locationsId}/registrations:retrieveRegisterParameters", +"httpMethod": "GET", +"id": "domains.projects.locations.registrations.retrieveRegisterParameters", +"parameterOrder": [ +"location" +], +"parameters": { +"domainName": { +"description": "Required. The domain name. Unicode domain names must be expressed in Punycode format.", +"location": "query", +"type": "string" +}, +"location": { +"description": "Required. The location. Must be in the format `projects/*/locations/*`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha2/{+location}/registrations:retrieveRegisterParameters", +"response": { +"$ref": "RetrieveRegisterParametersResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"retrieveTransferParameters": { +"deprecated": true, +"description": "Deprecated: For more information, see [Cloud Domains feature deprecation](https://cloud.google.com/domains/docs/deprecations/feature-deprecations) Gets parameters needed to transfer a domain name from another registrar to Cloud Domains. For domains already managed by [Google Domains](https://domains.google/), use `ImportDomain` instead. Use the returned values to call `TransferDomain`.", +"flatPath": "v1alpha2/projects/{projectsId}/locations/{locationsId}/registrations:retrieveTransferParameters", +"httpMethod": "GET", +"id": "domains.projects.locations.registrations.retrieveTransferParameters", +"parameterOrder": [ +"location" +], +"parameters": { +"domainName": { +"description": "Required. The domain name. Unicode domain names must be expressed in Punycode format.", +"location": "query", +"type": "string" +}, +"location": { +"description": "Required. The location. Must be in the format `projects/*/locations/*`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha2/{+location}/registrations:retrieveTransferParameters", +"response": { +"$ref": "RetrieveTransferParametersResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"searchDomains": { +"description": "Searches for available domain names similar to the provided query. Availability results from this method are approximate; call `RetrieveRegisterParameters` on a domain before registering to confirm availability.", +"flatPath": "v1alpha2/projects/{projectsId}/locations/{locationsId}/registrations:searchDomains", +"httpMethod": "GET", +"id": "domains.projects.locations.registrations.searchDomains", +"parameterOrder": [ +"location" +], +"parameters": { +"location": { +"description": "Required. The location. Must be in the format `projects/*/locations/*`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +}, +"query": { +"description": "Required. String used to search for available domain names.", +"location": "query", +"type": "string" +} +}, +"path": "v1alpha2/{+location}/registrations:searchDomains", +"response": { +"$ref": "SearchDomainsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"setIamPolicy": { +"description": "Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.", +"flatPath": "v1alpha2/projects/{projectsId}/locations/{locationsId}/registrations/{registrationsId}:setIamPolicy", +"httpMethod": "POST", +"id": "domains.projects.locations.registrations.setIamPolicy", +"parameterOrder": [ +"resource" +], +"parameters": { +"resource": { +"description": "REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/registrations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha2/{+resource}:setIamPolicy", +"request": { +"$ref": "SetIamPolicyRequest" +}, +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"testIamPermissions": { +"description": "Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may \"fail open\" without warning.", +"flatPath": "v1alpha2/projects/{projectsId}/locations/{locationsId}/registrations/{registrationsId}:testIamPermissions", +"httpMethod": "POST", +"id": "domains.projects.locations.registrations.testIamPermissions", +"parameterOrder": [ +"resource" +], +"parameters": { +"resource": { +"description": "REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/registrations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha2/{+resource}:testIamPermissions", +"request": { +"$ref": "TestIamPermissionsRequest" +}, +"response": { +"$ref": "TestIamPermissionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"transfer": { +"deprecated": true, +"description": "Deprecated: For more information, see [Cloud Domains feature deprecation](https://cloud.google.com/domains/docs/deprecations/feature-deprecations) Transfers a domain name from another registrar to Cloud Domains. For domains already managed by [Google Domains](https://domains.google/), use `ImportDomain` instead. Before calling this method, go to the domain's current registrar to unlock the domain for transfer and retrieve the domain's transfer authorization code. Then call `RetrieveTransferParameters` to confirm that the domain is unlocked and to get values needed to build a call to this method. A successful call creates a `Registration` resource in state `TRANSFER_PENDING`. It can take several days to complete the transfer process. The registrant can often speed up this process by approving the transfer through the current registrar, either by clicking a link in an email from the registrar or by visiting the registrar's website. A few minutes after transfer approval, the resource transitions to state `ACTIVE`, indicating that the transfer was successful. If the transfer is rejected or the request expires without being approved, the resource can end up in state `TRANSFER_FAILED`. If transfer fails, you can safely delete the resource and retry the transfer.", +"flatPath": "v1alpha2/projects/{projectsId}/locations/{locationsId}/registrations:transfer", +"httpMethod": "POST", +"id": "domains.projects.locations.registrations.transfer", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The parent resource of the `Registration`. Must be in the format `projects/*/locations/*`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha2/{+parent}/registrations:transfer", +"request": { +"$ref": "TransferDomainRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +} +} +} +}, +"revision": "20260126", +"rootUrl": "https://domains.googleapis.com/", +"schemas": { +"AuditConfig": { +"description": "Specifies the audit configuration for a service. The configuration determines which permission types are logged, and what identities, if any, are exempted from logging. An AuditConfig must have one or more AuditLogConfigs. If there are AuditConfigs for both `allServices` and a specific service, the union of the two AuditConfigs is used for that service: the log_types specified in each AuditConfig are enabled, and the exempted_members in each AuditLogConfig are exempted. Example Policy with multiple AuditConfigs: { \"audit_configs\": [ { \"service\": \"allServices\", \"audit_log_configs\": [ { \"log_type\": \"DATA_READ\", \"exempted_members\": [ \"user:jose@example.com\" ] }, { \"log_type\": \"DATA_WRITE\" }, { \"log_type\": \"ADMIN_READ\" } ] }, { \"service\": \"sampleservice.googleapis.com\", \"audit_log_configs\": [ { \"log_type\": \"DATA_READ\" }, { \"log_type\": \"DATA_WRITE\", \"exempted_members\": [ \"user:aliya@example.com\" ] } ] } ] } For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also exempts `jose@example.com` from DATA_READ logging, and `aliya@example.com` from DATA_WRITE logging.", +"id": "AuditConfig", +"properties": { +"auditLogConfigs": { +"description": "The configuration for logging of each type of permission.", +"items": { +"$ref": "AuditLogConfig" +}, +"type": "array" +}, +"service": { +"description": "Specifies a service that will be enabled for audit logging. For example, `storage.googleapis.com`, `cloudsql.googleapis.com`. `allServices` is a special value that covers all services.", +"type": "string" +} +}, +"type": "object" +}, +"AuditLogConfig": { +"description": "Provides the configuration for logging a type of permissions. Example: { \"audit_log_configs\": [ { \"log_type\": \"DATA_READ\", \"exempted_members\": [ \"user:jose@example.com\" ] }, { \"log_type\": \"DATA_WRITE\" } ] } This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting jose@example.com from DATA_READ logging.", +"id": "AuditLogConfig", +"properties": { +"exemptedMembers": { +"description": "Specifies the identities that do not cause logging for this type of permission. Follows the same format of Binding.members.", +"items": { +"type": "string" +}, +"type": "array" +}, +"logType": { +"description": "The log type that this config enables.", +"enum": [ +"LOG_TYPE_UNSPECIFIED", +"ADMIN_READ", +"DATA_WRITE", +"DATA_READ" +], +"enumDescriptions": [ +"Default case. Should never be this.", +"Admin reads. Example: CloudIAM getIamPolicy", +"Data writes. Example: CloudSQL Users create", +"Data reads. Example: CloudSQL Users list" +], +"type": "string" +} +}, +"type": "object" +}, +"AuthorizationCode": { +"description": "Defines an authorization code.", +"id": "AuthorizationCode", +"properties": { +"code": { +"description": "The Authorization Code in ASCII. It can be used to transfer the domain to or from another registrar.", +"type": "string" +} +}, +"type": "object" +}, +"Binding": { +"description": "Associates `members`, or principals, with a `role`.", +"id": "Binding", +"properties": { +"condition": { +"$ref": "Expr", +"description": "The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies)." +}, +"members": { +"description": "Specifies the principals requesting access for a Google Cloud resource. `members` can have the following values: * `allUsers`: A special identifier that represents anyone who is on the internet; with or without a Google account. * `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service account. Does not include identities that come from external identity providers (IdPs) through identity federation. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `group:{emailid}`: An email address that represents a Google group. For example, `admins@example.com`. * `domain:{domain}`: The G Suite domain (primary) that represents all the users of that domain. For example, `google.com` or `example.com`. * `principal://iam.googleapis.com/locations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}`: A single identity in a workforce identity pool. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/group/{group_id}`: All workforce identities in a group. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/attribute.{attribute_name}/{attribute_value}`: All workforce identities with a specific attribute value. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/*`: All identities in a workforce identity pool. * `principal://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/subject/{subject_attribute_value}`: A single identity in a workload identity pool. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/group/{group_id}`: A workload identity pool group. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/attribute.{attribute_name}/{attribute_value}`: All identities in a workload identity pool with a certain attribute. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/*`: All identities in a workload identity pool. * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a user that has been recently deleted. For example, `alice@example.com?uid=123456789012345678901`. If the user is recovered, this value reverts to `user:{emailid}` and the recovered user retains the role in the binding. * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a service account that has been recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the service account is undeleted, this value reverts to `serviceAccount:{emailid}` and the undeleted service account retains the role in the binding. * `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a Google group that has been recently deleted. For example, `admins@example.com?uid=123456789012345678901`. If the group is recovered, this value reverts to `group:{emailid}` and the recovered group retains the role in the binding. * `deleted:principal://iam.googleapis.com/locations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}`: Deleted single identity in a workforce identity pool. For example, `deleted:principal://iam.googleapis.com/locations/global/workforcePools/my-pool-id/subject/my-subject-attribute-value`.", +"items": { +"type": "string" +}, +"type": "array" +}, +"role": { +"description": "Role that is assigned to the list of `members`, or principals. For example, `roles/viewer`, `roles/editor`, or `roles/owner`. For an overview of the IAM roles and permissions, see the [IAM documentation](https://cloud.google.com/iam/docs/roles-overview). For a list of the available pre-defined roles, see [here](https://cloud.google.com/iam/docs/understanding-roles).", +"type": "string" +} +}, +"type": "object" +}, +"ConfigureContactSettingsRequest": { +"description": "Request for the `ConfigureContactSettings` method.", +"id": "ConfigureContactSettingsRequest", +"properties": { +"contactNotices": { +"description": "The list of contact notices that the caller acknowledges. The notices needed here depend on the values specified in `contact_settings`.", +"items": { +"enum": [ +"CONTACT_NOTICE_UNSPECIFIED", +"PUBLIC_CONTACT_DATA_ACKNOWLEDGEMENT" +], +"enumDescriptions": [ +"The notice is undefined.", +"Required when setting the `privacy` field of `ContactSettings` to `PUBLIC_CONTACT_DATA`, which exposes contact data publicly." +], +"type": "string" +}, +"type": "array" +}, +"contactSettings": { +"$ref": "ContactSettings", +"description": "Fields of the `ContactSettings` to update." +}, +"updateMask": { +"description": "Required. The field mask describing which fields to update as a comma-separated list. For example, if only the registrant contact is being updated, the `update_mask` is `\"registrant_contact\"`.", +"format": "google-fieldmask", +"type": "string" +}, +"validateOnly": { +"description": "Validate the request without actually updating the contact settings.", +"type": "boolean" +} +}, +"type": "object" +}, +"ConfigureDnsSettingsRequest": { +"description": "Request for the `ConfigureDnsSettings` method.", +"id": "ConfigureDnsSettingsRequest", +"properties": { +"dnsSettings": { +"$ref": "DnsSettings", +"description": "Fields of the `DnsSettings` to update." +}, +"updateMask": { +"description": "Required. The field mask describing which fields to update as a comma-separated list. For example, if only the name servers are being updated for an existing Custom DNS configuration, the `update_mask` is `\"custom_dns.name_servers\"`. When changing the DNS provider from one type to another, pass the new provider's field name as part of the field mask. For example, when changing from a Google Domains DNS configuration to a Custom DNS configuration, the `update_mask` is `\"custom_dns\"`. //", +"format": "google-fieldmask", +"type": "string" +}, +"validateOnly": { +"description": "Validate the request without actually updating the DNS settings.", +"type": "boolean" +} +}, +"type": "object" +}, +"ConfigureManagementSettingsRequest": { +"description": "Request for the `ConfigureManagementSettings` method.", +"id": "ConfigureManagementSettingsRequest", +"properties": { +"managementSettings": { +"$ref": "ManagementSettings", +"description": "Fields of the `ManagementSettings` to update." +}, +"updateMask": { +"description": "Required. The field mask describing which fields to update as a comma-separated list. For example, if only the transfer lock is being updated, the `update_mask` is `\"transfer_lock_state\"`.", +"format": "google-fieldmask", +"type": "string" +} +}, +"type": "object" +}, +"Contact": { +"description": "Details required for a contact associated with a `Registration`.", +"id": "Contact", +"properties": { +"email": { +"description": "Required. Email address of the contact.", +"type": "string" +}, +"faxNumber": { +"description": "Fax number of the contact in international format. For example, `\"+1-800-555-0123\"`.", +"type": "string" +}, +"phoneNumber": { +"description": "Required. Phone number of the contact in international format. For example, `\"+1-800-555-0123\"`.", +"type": "string" +}, +"postalAddress": { +"$ref": "PostalAddress", +"description": "Required. Postal address of the contact." +} +}, +"type": "object" +}, +"ContactSettings": { +"description": "Defines the contact information associated with a `Registration`. [ICANN](https://icann.org/) requires all domain names to have associated contact information. The `registrant_contact` is considered the domain's legal owner, and often the other contacts are identical.", +"id": "ContactSettings", +"properties": { +"adminContact": { +"$ref": "Contact", +"description": "Required. The administrative contact for the `Registration`." +}, +"privacy": { +"description": "Required. Privacy setting for the contacts associated with the `Registration`.", +"enum": [ +"CONTACT_PRIVACY_UNSPECIFIED", +"PUBLIC_CONTACT_DATA", +"PRIVATE_CONTACT_DATA", +"REDACTED_CONTACT_DATA" +], +"enumDeprecated": [ +false, +false, +true, +false +], +"enumDescriptions": [ +"The contact privacy settings are undefined.", +"All the data from `ContactSettings` is publicly available. When setting this option, you must also provide a `PUBLIC_CONTACT_DATA_ACKNOWLEDGEMENT` in the `contact_notices` field of the request.", +"Deprecated: For more information, see [Cloud Domains feature deprecation](https://cloud.google.com/domains/docs/deprecations/feature-deprecations). None of the data from `ContactSettings` is publicly available. Instead, proxy contact data is published for your domain. Email sent to the proxy email address is forwarded to the registrant's email address. Cloud Domains provides this privacy proxy service at no additional cost.", +"The organization name (if provided) and limited non-identifying data from `ContactSettings` is available to the public (e.g. country and state). The remaining data is marked as `REDACTED FOR PRIVACY` in the WHOIS database. The actual information redacted depends on the domain. For details, see [the registration privacy article](https://support.google.com/domains/answer/3251242)." +], +"type": "string" +}, +"registrantContact": { +"$ref": "Contact", +"description": "Required. The registrant contact for the `Registration`. *Caution: Anyone with access to this email address, phone number, and/or postal address can take control of the domain.* *Warning: For new `Registration`s, the registrant receives an email confirmation that they must complete within 15 days to avoid domain suspension.*" +}, +"technicalContact": { +"$ref": "Contact", +"description": "Required. The technical contact for the `Registration`." +} +}, +"type": "object" +}, +"CustomDns": { +"description": "Configuration for an arbitrary DNS provider.", +"id": "CustomDns", +"properties": { +"dsRecords": { +"description": "The list of DS records for this domain, which are used to enable DNSSEC. The domain's DNS provider can provide the values to set here. If this field is empty, DNSSEC is disabled.", +"items": { +"$ref": "DsRecord" +}, +"type": "array" +}, +"nameServers": { +"description": "Required. A list of name servers that store the DNS zone for this domain. Each name server is a domain name, with Unicode domain names expressed in Punycode format.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"DnsSettings": { +"description": "Defines the DNS configuration of a `Registration`, including name servers, DNSSEC, and glue records.", +"id": "DnsSettings", +"properties": { +"customDns": { +"$ref": "CustomDns", +"description": "An arbitrary DNS provider identified by its name servers." +}, +"glueRecords": { +"description": "The list of glue records for this `Registration`. Commonly empty.", +"items": { +"$ref": "GlueRecord" +}, +"type": "array" +}, +"googleDomainsDns": { +"$ref": "GoogleDomainsDns", +"deprecated": true, +"description": "Deprecated: For more information, see [Cloud Domains feature deprecation](https://cloud.google.com/domains/docs/deprecations/feature-deprecations). The free DNS zone provided by [Google Domains](https://domains.google/)." +}, +"googleDomainsRedirectsDataAvailable": { +"description": "Output only. Indicates if this `Registration` has configured one of the following deprecated Google Domains DNS features: * Domain forwarding (HTTP `301` and `302` response status codes), * Email forwarding. See https://cloud.google.com/domains/docs/deprecations/feature-deprecations for more details. If any of these features is enabled call the `RetrieveGoogleDomainsForwardingConfig` method to get details about the feature's configuration. A forwarding configuration might not work correctly if required DNS records are not present in the domain's authoritative DNS Zone.", +"readOnly": true, +"type": "boolean" +} +}, +"type": "object" +}, +"Domain": { +"description": "A domain that the calling user manages in Google Domains.", +"id": "Domain", +"properties": { +"domainName": { +"description": "The domain name. Unicode domain names are expressed in Punycode format.", +"type": "string" +}, +"resourceState": { +"description": "The state of this domain as a `Registration` resource.", +"enum": [ +"RESOURCE_STATE_UNSPECIFIED", +"IMPORTABLE", +"UNSUPPORTED", +"SUSPENDED", +"EXPIRED", +"DELETED" +], +"enumDescriptions": [ +"The assessment is undefined.", +"A `Registration` resource can be created for this domain by calling `ImportDomain`.", +"A `Registration` resource cannot be created for this domain because it is not supported by Cloud Domains; for example, the top-level domain is not supported or the registry charges non-standard pricing for yearly renewals.", +"A `Registration` resource cannot be created for this domain because it is suspended and needs to be resolved with Google Domains.", +"A `Registration` resource cannot be created for this domain because it is expired and needs to be renewed with Google Domains.", +"A `Registration` resource cannot be created for this domain because it is deleted, but it may be possible to restore it with Google Domains." +], +"type": "string" +}, +"yearlyPrice": { +"$ref": "Money", +"description": "Price to renew the domain for one year. Only set when `resource_state` is `IMPORTABLE`." +} +}, +"type": "object" +}, +"DomainForwarding": { +"description": "Domain forwarding configuration.", +"id": "DomainForwarding", +"properties": { +"pathForwarding": { +"description": "If true, forwards the path after the domain name to the same path at the new address.", +"type": "boolean" +}, +"pemCertificate": { +"description": "The PEM-encoded certificate chain.", +"type": "string" +}, +"redirectType": { +"description": "The redirect type.", +"enum": [ +"REDIRECT_TYPE_UNSPECIFIED", +"TEMPORARY", +"PERMANENT" +], +"enumDescriptions": [ +"Redirect Type is unspecified.", +"301 redirect. Allows to propagate changes to the forwarding address quickly.", +"302 redirect. Allows browsers to cache the forwarding address. This may help the address resolve more quickly. Changes may take longer to propagate" +], +"type": "string" +}, +"sslEnabled": { +"description": "If true, the forwarding works also over HTTPS.", +"type": "boolean" +}, +"subdomain": { +"description": "The subdomain of the registered domain that is being forwarded. E.g. `www.example.com`, `example.com` (i.e. the registered domain itself) or `*.example.com` (i.e. all subdomains).", +"type": "string" +}, +"targetUri": { +"description": "The target of the domain forwarding, i.e. the path to redirect the `subdomain` to.", +"type": "string" +} +}, +"type": "object" +}, +"DsRecord": { +"description": "Defines a Delegation Signer (DS) record, which is needed to enable DNSSEC for a domain. It contains a digest (hash) of a DNSKEY record that must be present in the domain's DNS zone.", +"id": "DsRecord", +"properties": { +"algorithm": { +"description": "The algorithm used to generate the referenced DNSKEY.", +"enum": [ +"ALGORITHM_UNSPECIFIED", +"RSAMD5", +"DH", +"DSA", +"ECC", +"RSASHA1", +"DSANSEC3SHA1", +"RSASHA1NSEC3SHA1", +"RSASHA256", +"RSASHA512", +"ECCGOST", +"ECDSAP256SHA256", +"ECDSAP384SHA384", +"ED25519", +"ED448", +"INDIRECT", +"PRIVATEDNS", +"PRIVATEOID" +], +"enumDescriptions": [ +"The algorithm is unspecified.", +"RSA/MD5. Cannot be used for new deployments.", +"Diffie-Hellman. Cannot be used for new deployments.", +"DSA/SHA1. Not recommended for new deployments.", +"ECC. Not recommended for new deployments.", +"RSA/SHA-1. Not recommended for new deployments.", +"DSA-NSEC3-SHA1. Not recommended for new deployments.", +"RSA/SHA1-NSEC3-SHA1. Not recommended for new deployments.", +"RSA/SHA-256.", +"RSA/SHA-512.", +"GOST R 34.10-2001.", +"ECDSA Curve P-256 with SHA-256.", +"ECDSA Curve P-384 with SHA-384.", +"Ed25519.", +"Ed448.", +"Reserved for Indirect Keys. Cannot be used for new deployments.", +"Private algorithm. Cannot be used for new deployments.", +"Private algorithm OID. Cannot be used for new deployments." +], +"type": "string" +}, +"digest": { +"description": "The digest generated from the referenced DNSKEY.", +"type": "string" +}, +"digestType": { +"description": "The hash function used to generate the digest of the referenced DNSKEY.", +"enum": [ +"DIGEST_TYPE_UNSPECIFIED", +"SHA1", +"SHA256", +"GOST3411", +"SHA384" +], +"enumDescriptions": [ +"The DigestType is unspecified.", +"SHA-1. Not recommended for new deployments.", +"SHA-256.", +"GOST R 34.11-94.", +"SHA-384." +], +"type": "string" +}, +"keyTag": { +"description": "The key tag of the record. Must be set in range 0 -- 65535.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"EmailForwarding": { +"description": "Email forwarding configuration.", +"id": "EmailForwarding", +"properties": { +"alias": { +"description": "An alias recipient email that forwards emails to the `target_email_address`. For example, `admin@example.com` or `*@example.com` (wildcard alias forwards all the emails under the registered domain).", +"type": "string" +}, +"targetEmailAddress": { +"description": "Target email that receives emails sent to the `alias`.", +"type": "string" +} +}, +"type": "object" +}, +"ExportRegistrationRequest": { +"deprecated": true, +"description": "Deprecated: For more information, see [Cloud Domains feature deprecation](https://cloud.google.com/domains/docs/deprecations/feature-deprecations). Request for the `ExportRegistration` method.", +"id": "ExportRegistrationRequest", +"properties": {}, +"type": "object" +}, +"Expr": { +"description": "Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: \"Summary size limit\" description: \"Determines if a summary is less than 100 chars\" expression: \"document.summary.size() < 100\" Example (Equality): title: \"Requestor is owner\" description: \"Determines if requestor is the document owner\" expression: \"document.owner == request.auth.claims.email\" Example (Logic): title: \"Public documents\" description: \"Determine whether the document should be publicly visible\" expression: \"document.type != 'private' && document.type != 'internal'\" Example (Data Manipulation): title: \"Notification string\" description: \"Create a notification string with a timestamp.\" expression: \"'New message received at ' + string(document.create_time)\" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information.", +"id": "Expr", +"properties": { +"description": { +"description": "Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI.", +"type": "string" +}, +"expression": { +"description": "Textual representation of an expression in Common Expression Language syntax.", +"type": "string" +}, +"location": { +"description": "Optional. String indicating the location of the expression for error reporting, e.g. a file name and a position in the file.", +"type": "string" +}, +"title": { +"description": "Optional. Title for the expression, i.e. a short string describing its purpose. This can be used e.g. in UIs which allow to enter the expression.", +"type": "string" +} +}, +"type": "object" +}, +"GeoPolicy": { +"description": "Configures a `RRSetRoutingPolicy` that routes based on the geo location of the querying user.", +"id": "GeoPolicy", +"properties": { +"enableFencing": { +"description": "Without fencing, if health check fails for all configured items in the current geo bucket, we failover to the next nearest geo bucket. With fencing, if health checking is enabled, as long as some targets in the current geo bucket are healthy, we return only the healthy targets. However, if all targets are unhealthy, we don't failover to the next nearest bucket; instead, we return all the items in the current bucket even when all targets are unhealthy.", +"type": "boolean" +}, +"item": { +"description": "The primary geo routing configuration. If there are multiple items with the same location, an error is returned instead.", +"items": { +"$ref": "GeoPolicyItem" +}, +"type": "array" +} +}, +"type": "object" +}, +"GeoPolicyItem": { +"description": "ResourceRecordSet data for one geo location.", +"id": "GeoPolicyItem", +"properties": { +"healthCheckedTargets": { +"$ref": "HealthCheckTargets", +"description": "For A and AAAA types only. Endpoints to return in the query result only if they are healthy. These can be specified along with `rrdata` within this item." +}, +"location": { +"description": "The geo-location granularity is a GCP region. This location string should correspond to a GCP region. e.g. \"us-east1\", \"southamerica-east1\", \"asia-east1\", etc.", +"type": "string" +}, +"rrdata": { +"items": { +"type": "string" +}, +"type": "array" +}, +"signatureRrdata": { +"description": "DNSSEC generated signatures for all the `rrdata` within this item. When using health-checked targets for DNSSEC-enabled zones, you can only use at most one health-checked IP address per item.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GlueRecord": { +"description": "Defines a host on your domain that is a DNS name server for your domain and/or other domains. Glue records are a way of making the IP address of a name server known, even when it serves DNS queries for its parent domain. For example, when `ns.example.com` is a name server for `example.com`, the host `ns.example.com` must have a glue record to break the circular DNS reference.", +"id": "GlueRecord", +"properties": { +"hostName": { +"description": "Required. Domain name of the host in Punycode format.", +"type": "string" +}, +"ipv4Addresses": { +"description": "List of IPv4 addresses corresponding to this host in the standard decimal format (e.g. `198.51.100.1`). At least one of `ipv4_address` and `ipv6_address` must be set.", +"items": { +"type": "string" +}, +"type": "array" +}, +"ipv6Addresses": { +"description": "List of IPv6 addresses corresponding to this host in the standard hexadecimal format (e.g. `2001:db8::`). At least one of `ipv4_address` and `ipv6_address` must be set.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleDomainsDns": { +"deprecated": true, +"description": "Deprecated: For more information, see [Cloud Domains feature deprecation](https://cloud.google.com/domains/docs/deprecations/feature-deprecations). Configuration for using the free DNS zone provided by Google Domains as a `Registration`'s `dns_provider`. You cannot configure the DNS zone itself using the API. To configure the DNS zone, go to [Google Domains](https://domains.google/).", +"id": "GoogleDomainsDns", +"properties": { +"dsRecords": { +"description": "Output only. The list of DS records published for this domain. The list is automatically populated when `ds_state` is `DS_RECORDS_PUBLISHED`, otherwise it remains empty.", +"items": { +"$ref": "DsRecord" +}, +"readOnly": true, +"type": "array" +}, +"dsState": { +"description": "Required. The state of DS records for this domain. Used to enable or disable automatic DNSSEC.", +"enum": [ +"DS_STATE_UNSPECIFIED", +"DS_RECORDS_UNPUBLISHED", +"DS_RECORDS_PUBLISHED" +], +"enumDescriptions": [ +"DS state is unspecified.", +"DNSSEC is disabled for this domain. No DS records for this domain are published in the parent DNS zone.", +"DNSSEC is enabled for this domain. Appropriate DS records for this domain are published in the parent DNS zone. This option is valid only if the DNS zone referenced in the `Registration`'s `dns_provider` field is already DNSSEC-signed." +], +"type": "string" +}, +"nameServers": { +"description": "Output only. A list of name servers that store the DNS zone for this domain. Each name server is a domain name, with Unicode domain names expressed in Punycode format. This field is automatically populated with the name servers assigned to the Google Domains DNS zone.", +"items": { +"type": "string" +}, +"readOnly": true, +"type": "array" +} +}, +"type": "object" +}, +"HealthCheckTargets": { +"description": "HealthCheckTargets describes endpoints to health-check when responding to Routing Policy queries. Only the healthy endpoints will be included in the response. Set either `internal_load_balancer` or `external_endpoints`. Do not set both.", +"id": "HealthCheckTargets", +"properties": { +"externalEndpoints": { +"description": "The Internet IP addresses to be health checked. The format matches the format of ResourceRecordSet.rrdata as defined in RFC 1035 (section 5) and RFC 1034 (section 3.6.1)", +"items": { +"type": "string" +}, +"type": "array" +}, +"internalLoadBalancer": { +"description": "Configuration for internal load balancers to be health checked.", +"items": { +"$ref": "LoadBalancerTarget" +}, +"type": "array" +} +}, +"type": "object" +}, +"ImportDomainRequest": { +"deprecated": true, +"description": "Deprecated: For more information, see [Cloud Domains feature deprecation](https://cloud.google.com/domains/docs/deprecations/feature-deprecations). Request for the `ImportDomain` method.", +"id": "ImportDomainRequest", +"properties": { +"domainName": { +"description": "Required. The domain name. Unicode domain names must be expressed in Punycode format.", +"type": "string" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Set of labels associated with the `Registration`.", +"type": "object" +} +}, +"type": "object" +}, +"InitiatePushTransferRequest": { +"description": "Request for the `InitiatePushTransfer` method.", +"id": "InitiatePushTransferRequest", +"properties": { +"tag": { +"description": "Required. The Tag of the new registrar. Can be found at [List of registrars](https://nominet.uk/registrar-list/).", +"type": "string" +} +}, +"type": "object" +}, +"ListLocationsResponse": { +"description": "The response message for Locations.ListLocations.", +"id": "ListLocationsResponse", +"properties": { +"locations": { +"description": "A list of locations that matches the specified filter in the request.", +"items": { +"$ref": "Location" +}, +"type": "array" +}, +"nextPageToken": { +"description": "The standard List next-page token.", +"type": "string" +} +}, +"type": "object" +}, +"ListOperationsResponse": { +"description": "The response message for Operations.ListOperations.", +"id": "ListOperationsResponse", +"properties": { +"nextPageToken": { +"description": "The standard List next-page token.", +"type": "string" +}, +"operations": { +"description": "A list of operations that matches the specified filter in the request.", +"items": { +"$ref": "Operation" +}, +"type": "array" +}, +"unreachable": { +"description": "Unordered list. Unreachable resources. Populated when the request sets `ListOperationsRequest.return_partial_success` and reads across collections. For example, when attempting to list all resources across all supported locations.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListRegistrationsResponse": { +"description": "Response for the `ListRegistrations` method.", +"id": "ListRegistrationsResponse", +"properties": { +"nextPageToken": { +"description": "When present, there are more results to retrieve. Set `page_token` to this value on a subsequent call to get the next page of results.", +"type": "string" +}, +"registrations": { +"description": "A list of `Registration`s.", +"items": { +"$ref": "Registration" +}, +"type": "array" +} +}, +"type": "object" +}, +"LoadBalancerTarget": { +"description": "The configuration for an individual load balancer to health check.", +"id": "LoadBalancerTarget", +"properties": { +"ipAddress": { +"description": "The frontend IP address of the load balancer to health check.", +"type": "string" +}, +"ipProtocol": { +"description": "The protocol of the load balancer to health check.", +"enum": [ +"UNDEFINED", +"TCP", +"UDP" +], +"enumDescriptions": [ +"", +"Indicates the load balancer is accessible via TCP.", +"Indicates the load balancer is accessible via UDP." +], +"type": "string" +}, +"loadBalancerType": { +"description": "The type of load balancer specified by this target. This value must match the configuration of the load balancer located at the LoadBalancerTarget's IP address, port, and region. Use the following: - *regionalL4ilb*: for a regional internal passthrough Network Load Balancer. - *regionalL7ilb*: for a regional internal Application Load Balancer. - *globalL7ilb*: for a global internal Application Load Balancer. ", +"enum": [ +"NONE", +"GLOBAL_L7ILB", +"REGIONAL_L4ILB", +"REGIONAL_L7ILB" +], +"enumDescriptions": [ +"", +"Indicates the load balancer is a Cross-Region Application Load Balancer.", +"Indicates the load balancer is a Regional Network Passthrough Load Balancer.", +"Indicates the load balancer is a Regional Application Load Balancer." +], +"type": "string" +}, +"networkUrl": { +"description": "The fully qualified URL of the network that the load balancer is attached to. This should be formatted like `https://www.googleapis.com/compute/v1/projects/{project}/global/networks/{network}`.", +"type": "string" +}, +"port": { +"description": "The configured port of the load balancer.", +"type": "string" +}, +"project": { +"description": "The project ID in which the load balancer is located.", +"type": "string" +}, +"region": { +"description": "The region in which the load balancer is located.", +"type": "string" +} +}, +"type": "object" +}, +"Location": { +"description": "A resource that represents a Google Cloud location.", +"id": "Location", +"properties": { +"displayName": { +"description": "The friendly name for this location, typically a nearby city name. For example, \"Tokyo\".", +"type": "string" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Cross-service attributes for the location. For example {\"cloud.googleapis.com/region\": \"us-east1\"}", +"type": "object" +}, +"locationId": { +"description": "The canonical id for this location. For example: `\"us-east1\"`.", +"type": "string" +}, +"metadata": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "Service-specific metadata. For example the available capacity at the given location.", +"type": "object" +}, +"name": { +"description": "Resource name for the location, which may vary between implementations. For example: `\"projects/example-project/locations/us-east1\"`", +"type": "string" +} +}, +"type": "object" +}, +"ManagementSettings": { +"description": "Defines renewal, billing, and transfer settings for a `Registration`.", +"id": "ManagementSettings", +"properties": { +"effectiveTransferLockState": { +"description": "Output only. The actual transfer lock state for this `Registration`.", +"enum": [ +"TRANSFER_LOCK_STATE_UNSPECIFIED", +"UNLOCKED", +"LOCKED" +], +"enumDescriptions": [ +"The state is unspecified.", +"The domain is unlocked and can be transferred to another registrar.", +"The domain is locked and cannot be transferred to another registrar." +], +"readOnly": true, +"type": "string" +}, +"preferredRenewalMethod": { +"description": "Optional. The desired renewal method for this `Registration`. The actual `renewal_method` is automatically updated to reflect this choice. If unset or equal to `RENEWAL_METHOD_UNSPECIFIED`, the actual `renewalMethod` is treated as if it were set to `AUTOMATIC_RENEWAL`. You cannot use `RENEWAL_DISABLED` during resource creation, and you can update the renewal status only when the `Registration` resource has state `ACTIVE` or `SUSPENDED`. When `preferred_renewal_method` is set to `AUTOMATIC_RENEWAL`, the actual `renewal_method` can be set to `RENEWAL_DISABLED` in case of problems with the billing account or reported domain abuse. In such cases, check the `issues` field on the `Registration`. After the problem is resolved, the `renewal_method` is automatically updated to `preferred_renewal_method` in a few hours.", +"enum": [ +"RENEWAL_METHOD_UNSPECIFIED", +"AUTOMATIC_RENEWAL", +"MANUAL_RENEWAL", +"RENEWAL_DISABLED" +], +"enumDeprecated": [ +false, +false, +true, +false +], +"enumDescriptions": [ +"The renewal method is undefined.", +"The domain is automatically renewed each year.", +"Deprecated: For more information, see [Cloud Domains feature deprecation](https://cloud.google.com/domains/docs/deprecations/feature-deprecations). This option was never used. Use `RENEWAL_DISABLED` instead.", +"The domain won't be renewed and will expire at its expiration time." +], +"type": "string" +}, +"renewalMethod": { +"description": "Output only. The actual renewal method for this `Registration`. When `preferred_renewal_method` is set to `AUTOMATIC_RENEWAL`, the actual `renewal_method` can be equal to `RENEWAL_DISABLED`\u2014for example, when there are problems with the billing account or reported domain abuse. In such cases, check the `issues` field on the `Registration`. After the problem is resolved, the `renewal_method` is automatically updated to `preferred_renewal_method` in a few hours.", +"enum": [ +"RENEWAL_METHOD_UNSPECIFIED", +"AUTOMATIC_RENEWAL", +"MANUAL_RENEWAL", +"RENEWAL_DISABLED" +], +"enumDeprecated": [ +false, +false, +true, +false +], +"enumDescriptions": [ +"The renewal method is undefined.", +"The domain is automatically renewed each year.", +"Deprecated: For more information, see [Cloud Domains feature deprecation](https://cloud.google.com/domains/docs/deprecations/feature-deprecations). This option was never used. Use `RENEWAL_DISABLED` instead.", +"The domain won't be renewed and will expire at its expiration time." +], +"readOnly": true, +"type": "string" +}, +"transferLockState": { +"description": "This is the desired transfer lock state for this `Registration`. A transfer lock controls whether the domain can be transferred to another registrar. The transfer lock state of the domain is returned in the `effective_transfer_lock_state` property. The transfer lock state values might be different for the following reasons: * `transfer_lock_state` was updated only a short time ago. * Domains with the `TRANSFER_LOCK_UNSUPPORTED_BY_REGISTRY` state are in the list of `domain_properties`. These domains are always in the `UNLOCKED` state.", +"enum": [ +"TRANSFER_LOCK_STATE_UNSPECIFIED", +"UNLOCKED", +"LOCKED" +], +"enumDescriptions": [ +"The state is unspecified.", +"The domain is unlocked and can be transferred to another registrar.", +"The domain is locked and cannot be transferred to another registrar." +], +"type": "string" +} +}, +"type": "object" +}, +"Money": { +"description": "Represents an amount of money with its currency type.", +"id": "Money", +"properties": { +"currencyCode": { +"description": "The three-letter currency code defined in ISO 4217.", +"type": "string" +}, +"nanos": { +"description": "Number of nano (10^-9) units of the amount. The value must be between -999,999,999 and +999,999,999 inclusive. If `units` is positive, `nanos` must be positive or zero. If `units` is zero, `nanos` can be positive, zero, or negative. If `units` is negative, `nanos` must be negative or zero. For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000.", +"format": "int32", +"type": "integer" +}, +"units": { +"description": "The whole units of the amount. For example if `currencyCode` is `\"USD\"`, then 1 unit is one US dollar.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"Operation": { +"description": "This resource represents a long-running operation that is the result of a network API call.", +"id": "Operation", +"properties": { +"done": { +"description": "If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.", +"type": "boolean" +}, +"error": { +"$ref": "Status", +"description": "The error result of the operation in case of failure or cancellation." +}, +"metadata": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.", +"type": "object" +}, +"name": { +"description": "The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.", +"type": "string" +}, +"response": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "The normal, successful response of the operation. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.", +"type": "object" +} +}, +"type": "object" +}, +"OperationMetadata": { +"description": "Represents the metadata of the long-running operation. Output only.", +"id": "OperationMetadata", +"properties": { +"apiVersion": { +"description": "API version used to start the operation.", +"type": "string" +}, +"createTime": { +"description": "The time the operation was created.", +"format": "google-datetime", +"type": "string" +}, +"endTime": { +"description": "The time the operation finished running.", +"format": "google-datetime", +"type": "string" +}, +"statusDetail": { +"description": "Human-readable status of the operation, if any.", +"type": "string" +}, +"target": { +"description": "Server-defined resource path for the target of the operation.", +"type": "string" +}, +"verb": { +"description": "Name of the verb executed by the operation.", +"type": "string" +} +}, +"type": "object" +}, +"Policy": { +"description": "An Identity and Access Management (IAM) policy, which specifies access controls for Google Cloud resources. A `Policy` is a collection of `bindings`. A `binding` binds one or more `members`, or principals, to a single `role`. Principals can be user accounts, service accounts, Google groups, and domains (such as G Suite). A `role` is a named list of permissions; each `role` can be an IAM predefined role or a user-created custom role. For some types of Google Cloud resources, a `binding` can also specify a `condition`, which is a logical expression that allows access to a resource only if the expression evaluates to `true`. A condition can add constraints based on attributes of the request, the resource, or both. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). **JSON example:** ``` { \"bindings\": [ { \"role\": \"roles/resourcemanager.organizationAdmin\", \"members\": [ \"user:mike@example.com\", \"group:admins@example.com\", \"domain:google.com\", \"serviceAccount:my-project-id@appspot.gserviceaccount.com\" ] }, { \"role\": \"roles/resourcemanager.organizationViewer\", \"members\": [ \"user:eve@example.com\" ], \"condition\": { \"title\": \"expirable access\", \"description\": \"Does not grant access after Sep 2020\", \"expression\": \"request.time < timestamp('2020-10-01T00:00:00.000Z')\", } } ], \"etag\": \"BwWWja0YfJA=\", \"version\": 3 } ``` **YAML example:** ``` bindings: - members: - user:mike@example.com - group:admins@example.com - domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.com role: roles/resourcemanager.organizationViewer condition: title: expirable access description: Does not grant access after Sep 2020 expression: request.time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 ``` For a description of IAM and its features, see the [IAM documentation](https://cloud.google.com/iam/docs/).", +"id": "Policy", +"properties": { +"auditConfigs": { +"description": "Specifies cloud audit logging configuration for this policy.", +"items": { +"$ref": "AuditConfig" +}, +"type": "array" +}, +"bindings": { +"description": "Associates a list of `members`, or principals, with a `role`. Optionally, may specify a `condition` that determines how and when the `bindings` are applied. Each of the `bindings` must contain at least one principal. The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250 of these principals can be Google groups. Each occurrence of a principal counts towards these limits. For example, if the `bindings` grant 50 different roles to `user:alice@example.com`, and not to any other principal, then you can add another 1,450 principals to the `bindings` in the `Policy`.", +"items": { +"$ref": "Binding" +}, +"type": "array" +}, +"etag": { +"description": "`etag` is used for optimistic concurrency control as a way to help prevent simultaneous updates of a policy from overwriting each other. It is strongly suggested that systems make use of the `etag` in the read-modify-write cycle to perform policy updates in order to avoid race conditions: An `etag` is returned in the response to `getIamPolicy`, and systems are expected to put that etag in the request to `setIamPolicy` to ensure that their change will be applied to the same version of the policy. **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost.", +"format": "byte", +"type": "string" +}, +"version": { +"description": "Specifies the format of the policy. Valid values are `0`, `1`, and `3`. Requests that specify an invalid value are rejected. Any operation that affects conditional role bindings must specify version `3`. This requirement applies to the following operations: * Getting a policy that includes a conditional role binding * Adding a conditional role binding to a policy * Changing a conditional role binding in a policy * Removing any role binding, with or without a condition, from a policy that includes conditions **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost. If a policy does not include any conditions, operations on that policy may specify any valid version or leave the field unset. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"PostalAddress": { +"description": "Represents a postal address, such as for postal delivery or payments addresses. With a postal address, a postal service can deliver items to a premise, P.O. box, or similar. A postal address is not intended to model geographical locations like roads, towns, or mountains. In typical usage, an address would be created by user input or from importing existing data, depending on the type of process. Advice on address input or editing: - Use an internationalization-ready address widget such as https://github.com/google/libaddressinput. - Users should not be presented with UI elements for input or editing of fields outside countries where that field is used. For more guidance on how to use this schema, see: https://support.google.com/business/answer/6397478.", +"id": "PostalAddress", +"properties": { +"addressLines": { +"description": "Unstructured address lines describing the lower levels of an address. Because values in `address_lines` do not have type information and may sometimes contain multiple values in a single field (for example, \"Austin, TX\"), it is important that the line order is clear. The order of address lines should be \"envelope order\" for the country or region of the address. In places where this can vary (for example, Japan), `address_language` is used to make it explicit (for example, \"ja\" for large-to-small ordering and \"ja-Latn\" or \"en\" for small-to-large). In this way, the most specific line of an address can be selected based on the language. The minimum permitted structural representation of an address consists of a `region_code` with all remaining information placed in the `address_lines`. It would be possible to format such an address very approximately without geocoding, but no semantic reasoning could be made about any of the address components until it was at least partially resolved. Creating an address only containing a `region_code` and `address_lines` and then geocoding is the recommended way to handle completely unstructured addresses (as opposed to guessing which parts of the address should be localities or administrative areas).", +"items": { +"type": "string" +}, +"type": "array" +}, +"administrativeArea": { +"description": "Optional. Highest administrative subdivision which is used for postal addresses of a country or region. For example, this can be a state, a province, an oblast, or a prefecture. For Spain, this is the province and not the autonomous community (for example, \"Barcelona\" and not \"Catalonia\"). Many countries don't use an administrative area in postal addresses. For example, in Switzerland, this should be left unpopulated.", +"type": "string" +}, +"languageCode": { +"description": "Optional. BCP-47 language code of the contents of this address (if known). This is often the UI language of the input form or is expected to match one of the languages used in the address' country/region, or their transliterated equivalents. This can affect formatting in certain countries, but is not critical to the correctness of the data and will never affect any validation or other non-formatting related operations. If this value is not known, it should be omitted (rather than specifying a possibly incorrect default). Examples: \"zh-Hant\", \"ja\", \"ja-Latn\", \"en\".", +"type": "string" +}, +"locality": { +"description": "Optional. Generally refers to the city or town portion of the address. Examples: US city, IT comune, UK post town. In regions of the world where localities are not well defined or do not fit into this structure well, leave `locality` empty and use `address_lines`.", +"type": "string" +}, +"organization": { +"description": "Optional. The name of the organization at the address.", +"type": "string" +}, +"postalCode": { +"description": "Optional. Postal code of the address. Not all countries use or require postal codes to be present, but where they are used, they may trigger additional validation with other parts of the address (for example, state or zip code validation in the United States).", +"type": "string" +}, +"recipients": { +"description": "Optional. The recipient at the address. This field may, under certain circumstances, contain multiline information. For example, it might contain \"care of\" information.", +"items": { +"type": "string" +}, +"type": "array" +}, +"regionCode": { +"description": "Required. CLDR region code of the country/region of the address. This is never inferred and it is up to the user to ensure the value is correct. See https://cldr.unicode.org/ and https://www.unicode.org/cldr/charts/30/supplemental/territory_information.html for details. Example: \"CH\" for Switzerland.", +"type": "string" +}, +"revision": { +"description": "The schema revision of the `PostalAddress`. This must be set to 0, which is the latest revision. All new revisions **must** be backward compatible with old revisions.", +"format": "int32", +"type": "integer" +}, +"sortingCode": { +"description": "Optional. Additional, country-specific, sorting code. This is not used in most regions. Where it is used, the value is either a string like \"CEDEX\", optionally followed by a number (for example, \"CEDEX 7\"), or just a number alone, representing the \"sector code\" (Jamaica), \"delivery area indicator\" (Malawi) or \"post office indicator\" (C\u00f4te d'Ivoire).", +"type": "string" +}, +"sublocality": { +"description": "Optional. Sublocality of the address. For example, this can be a neighborhood, borough, or district.", +"type": "string" +} +}, +"type": "object" +}, +"PrimaryBackupPolicy": { +"description": "Configures a RRSetRoutingPolicy such that all queries are responded with the primary_targets if they are healthy. And if all of them are unhealthy, then we fallback to a geo localized policy.", +"id": "PrimaryBackupPolicy", +"properties": { +"backupGeoTargets": { +"$ref": "GeoPolicy", +"description": "Backup targets provide a regional failover policy for the otherwise global primary targets. If serving state is set to `BACKUP`, this policy essentially becomes a geo routing policy." +}, +"primaryTargets": { +"$ref": "HealthCheckTargets", +"description": "Endpoints that are health checked before making the routing decision. Unhealthy endpoints are omitted from the results. If all endpoints are unhealthy, we serve a response based on the `backup_geo_targets`." +}, +"trickleTraffic": { +"description": "When serving state is `PRIMARY`, this field provides the option of sending a small percentage of the traffic to the backup targets.", +"format": "double", +"type": "number" +} +}, +"type": "object" +}, +"RRSetRoutingPolicy": { +"description": "A RRSetRoutingPolicy represents ResourceRecordSet data that is returned dynamically with the response varying based on configured properties such as geolocation or by weighted random selection.", +"id": "RRSetRoutingPolicy", +"properties": { +"geo": { +"$ref": "GeoPolicy" +}, +"geoPolicy": { +"$ref": "GeoPolicy", +"deprecated": true +}, +"healthCheck": { +"description": "The fully qualified URL of the HealthCheck to use for this RRSetRoutingPolicy. Format this URL like `https://www.googleapis.com/compute/v1/projects/{project}/global/healthChecks/{healthCheck}`. https://cloud.google.com/compute/docs/reference/rest/v1/healthChecks", +"type": "string" +}, +"primaryBackup": { +"$ref": "PrimaryBackupPolicy" +}, +"wrr": { +"$ref": "WrrPolicy" +}, +"wrrPolicy": { +"$ref": "WrrPolicy", +"deprecated": true +} +}, +"type": "object" +}, +"RegisterDomainRequest": { +"description": "Request for the `RegisterDomain` method.", +"id": "RegisterDomainRequest", +"properties": { +"contactNotices": { +"description": "The list of contact notices that the caller acknowledges. The notices needed here depend on the values specified in `registration.contact_settings`.", +"items": { +"enum": [ +"CONTACT_NOTICE_UNSPECIFIED", +"PUBLIC_CONTACT_DATA_ACKNOWLEDGEMENT" +], +"enumDescriptions": [ +"The notice is undefined.", +"Required when setting the `privacy` field of `ContactSettings` to `PUBLIC_CONTACT_DATA`, which exposes contact data publicly." +], +"type": "string" +}, +"type": "array" +}, +"domainNotices": { +"description": "The list of domain notices that you acknowledge. Call `RetrieveRegisterParameters` to see the notices that need acknowledgement.", +"items": { +"enum": [ +"DOMAIN_NOTICE_UNSPECIFIED", +"HSTS_PRELOADED" +], +"enumDescriptions": [ +"The notice is undefined.", +"Indicates that the domain is preloaded on the HTTP Strict Transport Security list in browsers. Serving a website on such domain requires an SSL certificate. For details, see [how to get an SSL certificate](https://support.google.com/domains/answer/7638036)." +], +"type": "string" +}, +"type": "array" +}, +"registration": { +"$ref": "Registration", +"description": "Required. The complete `Registration` resource to be created." +}, +"validateOnly": { +"description": "When true, only validation is performed, without actually registering the domain. Follows: https://cloud.google.com/apis/design/design_patterns#request_validation", +"type": "boolean" +}, +"yearlyPrice": { +"$ref": "Money", +"description": "Required. Yearly price to register or renew the domain. The value that should be put here can be obtained from RetrieveRegisterParameters or SearchDomains calls." +} +}, +"type": "object" +}, +"RegisterParameters": { +"description": "Parameters required to register a new domain.", +"id": "RegisterParameters", +"properties": { +"availability": { +"description": "Indicates whether the domain is available for registration. This value is accurate when obtained by calling `RetrieveRegisterParameters`, but is approximate when obtained by calling `SearchDomains`.", +"enum": [ +"AVAILABILITY_UNSPECIFIED", +"AVAILABLE", +"UNAVAILABLE", +"UNSUPPORTED", +"UNKNOWN" +], +"enumDescriptions": [ +"The availability is unspecified.", +"The domain is available for registration.", +"The domain is not available for registration. Generally this means it is already registered to another party.", +"The domain is not currently supported by Cloud Domains, but may be available elsewhere.", +"Cloud Domains is unable to determine domain availability, generally due to system maintenance at the domain name registry." +], +"type": "string" +}, +"domainName": { +"description": "The domain name. Unicode domain names are expressed in Punycode format.", +"type": "string" +}, +"domainNotices": { +"description": "Notices about special properties of the domain.", +"items": { +"enum": [ +"DOMAIN_NOTICE_UNSPECIFIED", +"HSTS_PRELOADED" +], +"enumDescriptions": [ +"The notice is undefined.", +"Indicates that the domain is preloaded on the HTTP Strict Transport Security list in browsers. Serving a website on such domain requires an SSL certificate. For details, see [how to get an SSL certificate](https://support.google.com/domains/answer/7638036)." +], +"type": "string" +}, +"type": "array" +}, +"supportedPrivacy": { +"description": "Contact privacy options that the domain supports.", +"items": { +"enum": [ +"CONTACT_PRIVACY_UNSPECIFIED", +"PUBLIC_CONTACT_DATA", +"PRIVATE_CONTACT_DATA", +"REDACTED_CONTACT_DATA" +], +"enumDeprecated": [ +false, +false, +true, +false +], +"enumDescriptions": [ +"The contact privacy settings are undefined.", +"All the data from `ContactSettings` is publicly available. When setting this option, you must also provide a `PUBLIC_CONTACT_DATA_ACKNOWLEDGEMENT` in the `contact_notices` field of the request.", +"Deprecated: For more information, see [Cloud Domains feature deprecation](https://cloud.google.com/domains/docs/deprecations/feature-deprecations). None of the data from `ContactSettings` is publicly available. Instead, proxy contact data is published for your domain. Email sent to the proxy email address is forwarded to the registrant's email address. Cloud Domains provides this privacy proxy service at no additional cost.", +"The organization name (if provided) and limited non-identifying data from `ContactSettings` is available to the public (e.g. country and state). The remaining data is marked as `REDACTED FOR PRIVACY` in the WHOIS database. The actual information redacted depends on the domain. For details, see [the registration privacy article](https://support.google.com/domains/answer/3251242)." +], +"type": "string" +}, +"type": "array" +}, +"yearlyPrice": { +"$ref": "Money", +"description": "Price to register or renew the domain for one year." +} +}, +"type": "object" +}, +"Registration": { +"description": "The `Registration` resource facilitates managing and configuring domain name registrations. There are several ways to create a new `Registration` resource: To create a new `Registration` resource, find a suitable domain name by calling the `SearchDomains` method with a query to see available domain name options. After choosing a name, call `RetrieveRegisterParameters` to ensure availability and obtain information like pricing, which is needed to build a call to `RegisterDomain`. Another way to create a new `Registration` is to transfer an existing domain from another registrar (Deprecated: For more information, see [Cloud Domains feature deprecation](https://cloud.google.com/domains/docs/deprecations/feature-deprecations)). First, go to the current registrar to unlock the domain for transfer and retrieve the domain's transfer authorization code. Then call `RetrieveTransferParameters` to confirm that the domain is unlocked and to get values needed to build a call to `TransferDomain`. Finally, you can create a new `Registration` by importing an existing domain managed with [Google Domains](https://domains.google/) (Deprecated: For more information, see [Cloud Domains feature deprecation](https://cloud.google.com/domains/docs/deprecations/feature-deprecations)). First, call `RetrieveImportableDomains` to list domains to which the calling user has sufficient access. Then call `ImportDomain` on any domain names you want to use with Cloud Domains.", +"id": "Registration", +"properties": { +"contactSettings": { +"$ref": "ContactSettings", +"description": "Required. Settings for contact information linked to the `Registration`. You cannot update these with the `UpdateRegistration` method. To update these settings, use the `ConfigureContactSettings` method." +}, +"createTime": { +"description": "Output only. The creation timestamp of the `Registration` resource.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"dnsSettings": { +"$ref": "DnsSettings", +"description": "Settings controlling the DNS configuration of the `Registration`. You cannot update these with the `UpdateRegistration` method. To update these settings, use the `ConfigureDnsSettings` method." +}, +"domainName": { +"description": "Required. Immutable. The domain name. Unicode domain names must be expressed in Punycode format.", +"type": "string" +}, +"domainProperties": { +"description": "Output only. Special properties of the domain.", +"items": { +"enum": [ +"DOMAIN_PROPERTY_UNSPECIFIED", +"TRANSFER_LOCK_UNSUPPORTED_BY_REGISTRY", +"REQUIRE_PUSH_TRANSFER" +], +"enumDescriptions": [ +"The property is undefined.", +"The domain does not support transfer locks due to restrictions of the registry. Such domains are effectively always unlocked and any change made to `management_settings.transfer_lock_state` is ignored.", +"The domain uses an alternative `Push Transfer` process to transfer the domain to another registrar. There are two important consequences: * Cloud Domains does not supply the authorization codes. * To initiate the process to transfer the domain to another registrar, you must provide a tag of the registrar you want to transfer to. You can do this by using the `InitiatePushTransfer` method. For more information, see [Transfer a registered domain to another registrar](https://cloud.google.com/domains/docs/transfer-domain-to-another-registrar)." +], +"type": "string" +}, +"readOnly": true, +"type": "array" +}, +"expireTime": { +"description": "Output only. The expiration timestamp of the `Registration`.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"issues": { +"description": "Output only. The set of issues with the `Registration` that require attention.", +"items": { +"enum": [ +"ISSUE_UNSPECIFIED", +"CONTACT_SUPPORT", +"UNVERIFIED_EMAIL", +"PROBLEM_WITH_BILLING", +"DNS_NOT_ACTIVATED", +"AUTO_RENEWAL_UPDATE_NOT_EFFECTIVE" +], +"enumDescriptions": [ +"The issue is undefined.", +"Contact the Cloud Support team to resolve a problem with this domain.", +"[ICANN](https://icann.org/) requires verification of the email address in the `Registration`'s `contact_settings.registrant_contact` field. To verify the email address, follow the instructions in the email the `registrant_contact` receives following registration. If you do not complete email verification within 15 days of registration, the domain is suspended. To resend the verification email, call ConfigureContactSettings and provide the current `registrant_contact.email`.", +"The billing account is not in good standing. The domain is not automatically renewed at its expiration time unless you resolve problems with your billing account.", +"The registry failed to validate your DNS configuration and activate your domain. The failure might happen for the following reasons: * You recently registered the domain (wait up to 72 hours). * You provided invalid name servers or name servers that correspond to a newly created DNS zone. Verify your DNS configuration. If the configuration is incorrect, you must fix it. If the configuration is correct, either wait or call the ConfigureDnsSettings method to retry the registry validation.", +"Due to SquareSpace's constraints, the auto-renewal update you made may not be effective during a certain period of time. Generally, the time period is 15 days before expiration for generic TLD domains, and 15 days before expiration + 3 days after expiration for country-code TLD domains." +], +"type": "string" +}, +"readOnly": true, +"type": "array" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Set of labels associated with the `Registration`.", +"type": "object" +}, +"managementSettings": { +"$ref": "ManagementSettings", +"description": "Settings for management of the `Registration`, including renewal, billing, and transfer. You cannot update these with the `UpdateRegistration` method. To update these settings, use the `ConfigureManagementSettings` method." +}, +"name": { +"description": "Output only. Name of the `Registration` resource, in the format `projects/*/locations/*/registrations/`.", +"readOnly": true, +"type": "string" +}, +"pendingContactSettings": { +"$ref": "ContactSettings", +"description": "Output only. Pending contact settings for the `Registration`. Updates to the `contact_settings` field that change its `registrant_contact` or `privacy` fields require email confirmation by the `registrant_contact` before taking effect. This field is set only if there are pending updates to the `contact_settings` that have not been confirmed. To confirm the changes, the `registrant_contact` must follow the instructions in the email they receive.", +"readOnly": true +}, +"provider": { +"description": "Output only. Current domain management provider.", +"enum": [ +"REGISTRAR_UNSPECIFIED", +"GOOGLE_DOMAINS", +"SQUARESPACE" +], +"enumDescriptions": [ +"Registrar is not selected.", +"Use Google Domains registrar.", +"Use Squarespace registrar" +], +"readOnly": true, +"type": "string" +}, +"registerFailureReason": { +"description": "Output only. The reason the domain registration failed. Only set for domains in REGISTRATION_FAILED state.", +"enum": [ +"REGISTER_FAILURE_REASON_UNSPECIFIED", +"REGISTER_FAILURE_REASON_UNKNOWN", +"DOMAIN_NOT_AVAILABLE", +"INVALID_CONTACTS" +], +"enumDescriptions": [ +"Register failure unspecified.", +"Registration failed for an unknown reason.", +"The domain is not available for registration.", +"The provided contact information was rejected." +], +"readOnly": true, +"type": "string" +}, +"state": { +"description": "Output only. The state of the `Registration`", +"enum": [ +"STATE_UNSPECIFIED", +"REGISTRATION_PENDING", +"REGISTRATION_FAILED", +"TRANSFER_PENDING", +"TRANSFER_FAILED", +"IMPORT_PENDING", +"ACTIVE", +"SUSPENDED", +"EXPORTED", +"EXPIRED" +], +"enumDeprecated": [ +false, +false, +false, +true, +true, +true, +false, +false, +false, +false +], +"enumDescriptions": [ +"The state is undefined.", +"The domain is being registered.", +"The domain registration failed. You can delete resources in this state to allow registration to be retried.", +"The domain is being transferred from another registrar to Cloud Domains.", +"The attempt to transfer the domain from another registrar to Cloud Domains failed. You can delete resources in this state and retry the transfer.", +"The domain is being imported from Google Domains to Cloud Domains.", +"The domain is registered and operational. The domain renews automatically as long as it remains in this state and the `RenewalMethod` is set to `AUTOMATIC_RENEWAL`.", +"The domain is suspended and inoperative. For more details, see the `issues` field.", +"The domain is no longer managed with Cloud Domains. It may have been transferred to another registrar or exported for management in [Google Domains](https://domains.google/). You can no longer update it with this API, and information shown about it may be stale. Domains in this state are not automatically renewed by Cloud Domains.", +"The domain is expired." +], +"readOnly": true, +"type": "string" +}, +"supportedPrivacy": { +"description": "Output only. Set of options for the `contact_settings.privacy` field that this `Registration` supports.", +"items": { +"enum": [ +"CONTACT_PRIVACY_UNSPECIFIED", +"PUBLIC_CONTACT_DATA", +"PRIVATE_CONTACT_DATA", +"REDACTED_CONTACT_DATA" +], +"enumDeprecated": [ +false, +false, +true, +false +], +"enumDescriptions": [ +"The contact privacy settings are undefined.", +"All the data from `ContactSettings` is publicly available. When setting this option, you must also provide a `PUBLIC_CONTACT_DATA_ACKNOWLEDGEMENT` in the `contact_notices` field of the request.", +"Deprecated: For more information, see [Cloud Domains feature deprecation](https://cloud.google.com/domains/docs/deprecations/feature-deprecations). None of the data from `ContactSettings` is publicly available. Instead, proxy contact data is published for your domain. Email sent to the proxy email address is forwarded to the registrant's email address. Cloud Domains provides this privacy proxy service at no additional cost.", +"The organization name (if provided) and limited non-identifying data from `ContactSettings` is available to the public (e.g. country and state). The remaining data is marked as `REDACTED FOR PRIVACY` in the WHOIS database. The actual information redacted depends on the domain. For details, see [the registration privacy article](https://support.google.com/domains/answer/3251242)." +], +"type": "string" +}, +"readOnly": true, +"type": "array" +}, +"transferFailureReason": { +"deprecated": true, +"description": "Output only. Deprecated: For more information, see [Cloud Domains feature deprecation](https://cloud.google.com/domains/docs/deprecations/feature-deprecations). The reason the domain transfer failed. Only set for domains in TRANSFER_FAILED state.", +"enum": [ +"TRANSFER_FAILURE_REASON_UNSPECIFIED", +"TRANSFER_FAILURE_REASON_UNKNOWN", +"EMAIL_CONFIRMATION_FAILURE", +"DOMAIN_NOT_REGISTERED", +"DOMAIN_HAS_TRANSFER_LOCK", +"INVALID_AUTHORIZATION_CODE", +"TRANSFER_CANCELLED", +"TRANSFER_REJECTED", +"INVALID_REGISTRANT_EMAIL_ADDRESS", +"DOMAIN_NOT_ELIGIBLE_FOR_TRANSFER", +"TRANSFER_ALREADY_PENDING" +], +"enumDescriptions": [ +"Transfer failure unspecified.", +"Transfer failed for an unknown reason.", +"An email confirmation sent to the user was rejected or expired.", +"The domain is available for registration.", +"The domain has a transfer lock with its current registrar which must be removed prior to transfer.", +"The authorization code entered is not valid.", +"The transfer was cancelled by the domain owner, current registrar, or TLD registry.", +"The transfer was rejected by the current registrar. Contact the current registrar for more information.", +"The registrant email address cannot be parsed from the domain's current public contact data.", +"The domain is not eligible for transfer due requirements imposed by the current registrar or TLD registry.", +"Another transfer is already pending for this domain. The existing transfer attempt must expire or be cancelled in order to proceed." +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"RenewDomainRequest": { +"description": "Request for the `RenewDomain` method.", +"id": "RenewDomainRequest", +"properties": { +"validateOnly": { +"description": "Optional. When true, only validation is performed, without actually renewing the domain. For more information, see [Request validation](https://cloud.google.com/apis/design/design_patterns#request_validation)", +"type": "boolean" +}, +"yearlyPrice": { +"$ref": "Money", +"description": "Required. Acknowledgement of the price to renew the domain for one year. To get the price, see [Cloud Domains pricing](https://cloud.google.com/domains/pricing). If not provided, the expected price is returned in the error message." +} +}, +"type": "object" +}, +"ResetAuthorizationCodeRequest": { +"description": "Request for the `ResetAuthorizationCode` method.", +"id": "ResetAuthorizationCodeRequest", +"properties": {}, +"type": "object" +}, +"ResourceRecordSet": { +"description": "A unit of data that is returned by the DNS servers.", +"id": "ResourceRecordSet", +"properties": { +"name": { +"description": "For example, www.example.com.", +"type": "string" +}, +"routingPolicy": { +"$ref": "RRSetRoutingPolicy", +"description": "Configures dynamic query responses based on either the geo location of the querying user or a weighted round robin based routing policy. A valid `ResourceRecordSet` contains only `rrdata` (for static resolution) or a `routing_policy` (for dynamic resolution)." +}, +"rrdata": { +"description": "As defined in RFC 1035 (section 5) and RFC 1034 (section 3.6.1) -- see examples.", +"items": { +"type": "string" +}, +"type": "array" +}, +"signatureRrdata": { +"description": "As defined in RFC 4034 (section 3.2).", +"items": { +"type": "string" +}, +"type": "array" +}, +"ttl": { +"description": "Number of seconds that this `ResourceRecordSet` can be cached by resolvers.", +"format": "int32", +"type": "integer" +}, +"type": { +"description": "The identifier of a supported record type. See the list of Supported DNS record types.", +"type": "string" +} +}, +"type": "object" +}, +"RetrieveGoogleDomainsDnsRecordsResponse": { +"description": "Response for the `RetrieveGoogleDomainsDnsRecords` method.", +"id": "RetrieveGoogleDomainsDnsRecordsResponse", +"properties": { +"nextPageToken": { +"description": "When present, there are more results to retrieve. Set `page_token` to this value on a subsequent call to get the next page of results.", +"type": "string" +}, +"rrset": { +"description": "The resource record set resources (DNS Zone records).", +"items": { +"$ref": "ResourceRecordSet" +}, +"type": "array" +} +}, +"type": "object" +}, +"RetrieveGoogleDomainsForwardingConfigResponse": { +"description": "Response for the `RetrieveGoogleDomainsForwardingConfig` method.", +"id": "RetrieveGoogleDomainsForwardingConfigResponse", +"properties": { +"domainForwardings": { +"description": "The list of domain forwarding configurations. A forwarding configuration might not work correctly if the required DNS records are not present in the domain's authoritative DNS zone.", +"items": { +"$ref": "DomainForwarding" +}, +"type": "array" +}, +"emailForwardings": { +"description": "The list of email forwarding configurations. A forwarding configuration might not work correctly if the required DNS records are not present in the domain's authoritative DNS zone.", +"items": { +"$ref": "EmailForwarding" +}, +"type": "array" +} +}, +"type": "object" +}, +"RetrieveImportableDomainsResponse": { +"deprecated": true, +"description": "Deprecated: For more information, see [Cloud Domains feature deprecation](https://cloud.google.com/domains/docs/deprecations/feature-deprecations). Response for the `RetrieveImportableDomains` method.", +"id": "RetrieveImportableDomainsResponse", +"properties": { +"domains": { +"description": "A list of domains that the calling user manages in Google Domains.", +"items": { +"$ref": "Domain" +}, +"type": "array" +}, +"nextPageToken": { +"description": "When present, there are more results to retrieve. Set `page_token` to this value on a subsequent call to get the next page of results.", +"type": "string" +} +}, +"type": "object" +}, +"RetrieveRegisterParametersResponse": { +"description": "Response for the `RetrieveRegisterParameters` method.", +"id": "RetrieveRegisterParametersResponse", +"properties": { +"registerParameters": { +"$ref": "RegisterParameters", +"description": "Parameters to use when calling the `RegisterDomain` method." +} +}, +"type": "object" +}, +"RetrieveTransferParametersResponse": { +"deprecated": true, +"description": "Deprecated: For more information, see [Cloud Domains feature deprecation](https://cloud.google.com/domains/docs/deprecations/feature-deprecations). Response for the `RetrieveTransferParameters` method.", +"id": "RetrieveTransferParametersResponse", +"properties": { +"transferParameters": { +"$ref": "TransferParameters", +"description": "Parameters to use when calling the `TransferDomain` method." +} +}, +"type": "object" +}, +"SearchDomainsResponse": { +"description": "Response for the `SearchDomains` method.", +"id": "SearchDomainsResponse", +"properties": { +"registerParameters": { +"description": "Results of the domain name search.", +"items": { +"$ref": "RegisterParameters" +}, +"type": "array" +} +}, +"type": "object" +}, +"SetIamPolicyRequest": { +"description": "Request message for `SetIamPolicy` method.", +"id": "SetIamPolicyRequest", +"properties": { +"policy": { +"$ref": "Policy", +"description": "REQUIRED: The complete policy to be applied to the `resource`. The size of the policy is limited to a few 10s of KB. An empty policy is a valid policy but certain Google Cloud services (such as Projects) might reject them." +}, +"updateMask": { +"description": "OPTIONAL: A FieldMask specifying which fields of the policy to modify. Only the fields in the mask will be modified. If no mask is provided, the following default mask is used: `paths: \"bindings, etag\"`", +"format": "google-fieldmask", +"type": "string" +} +}, +"type": "object" +}, +"Status": { +"description": "The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors).", +"id": "Status", +"properties": { +"code": { +"description": "The status code, which should be an enum value of google.rpc.Code.", +"format": "int32", +"type": "integer" +}, +"details": { +"description": "A list of messages that carry the error details. There is a common set of message types for APIs to use.", +"items": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.", +"type": "string" +} +}, +"type": "object" +}, +"TestIamPermissionsRequest": { +"description": "Request message for `TestIamPermissions` method.", +"id": "TestIamPermissionsRequest", +"properties": { +"permissions": { +"description": "The set of permissions to check for the `resource`. Permissions with wildcards (such as `*` or `storage.*`) are not allowed. For more information see [IAM Overview](https://cloud.google.com/iam/docs/overview#permissions).", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"TestIamPermissionsResponse": { +"description": "Response message for `TestIamPermissions` method.", +"id": "TestIamPermissionsResponse", +"properties": { +"permissions": { +"description": "A subset of `TestPermissionsRequest.permissions` that the caller is allowed.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"TransferDomainRequest": { +"deprecated": true, +"description": "Deprecated: For more information, see [Cloud Domains feature deprecation](https://cloud.google.com/domains/docs/deprecations/feature-deprecations). Request for the `TransferDomain` method.", +"id": "TransferDomainRequest", +"properties": { +"authorizationCode": { +"$ref": "AuthorizationCode", +"description": "The domain's transfer authorization code. You can obtain this from the domain's current registrar." +}, +"contactNotices": { +"description": "The list of contact notices that you acknowledge. The notices needed here depend on the values specified in `registration.contact_settings`.", +"items": { +"enum": [ +"CONTACT_NOTICE_UNSPECIFIED", +"PUBLIC_CONTACT_DATA_ACKNOWLEDGEMENT" +], +"enumDescriptions": [ +"The notice is undefined.", +"Required when setting the `privacy` field of `ContactSettings` to `PUBLIC_CONTACT_DATA`, which exposes contact data publicly." +], +"type": "string" +}, +"type": "array" +}, +"registration": { +"$ref": "Registration", +"description": "Required. The complete `Registration` resource to be created. You can leave `registration.dns_settings` unset to import the domain's current DNS configuration from its current registrar. Use this option only if you are sure that the domain's current DNS service does not cease upon transfer, as is often the case for DNS services provided for free by the registrar." +}, +"validateOnly": { +"description": "Validate the request without actually transferring the domain.", +"type": "boolean" +}, +"yearlyPrice": { +"$ref": "Money", +"description": "Required. Acknowledgement of the price to transfer or renew the domain for one year. Call `RetrieveTransferParameters` to obtain the price, which you must acknowledge." +} +}, +"type": "object" +}, +"TransferParameters": { +"deprecated": true, +"description": "Deprecated: For more information, see [Cloud Domains feature deprecation](https://cloud.google.com/domains/docs/deprecations/feature-deprecations). Parameters required to transfer a domain from another registrar.", +"id": "TransferParameters", +"properties": { +"currentRegistrar": { +"description": "The registrar that currently manages the domain.", +"type": "string" +}, +"currentRegistrarUri": { +"description": "The URL of the registrar that currently manages the domain.", +"type": "string" +}, +"domainName": { +"description": "The domain name. Unicode domain names are expressed in Punycode format.", +"type": "string" +}, +"nameServers": { +"description": "The name servers that currently store the configuration of the domain.", +"items": { +"type": "string" +}, +"type": "array" +}, +"supportedPrivacy": { +"description": "Contact privacy options that the domain supports.", +"items": { +"enum": [ +"CONTACT_PRIVACY_UNSPECIFIED", +"PUBLIC_CONTACT_DATA", +"PRIVATE_CONTACT_DATA", +"REDACTED_CONTACT_DATA" +], +"enumDeprecated": [ +false, +false, +true, +false +], +"enumDescriptions": [ +"The contact privacy settings are undefined.", +"All the data from `ContactSettings` is publicly available. When setting this option, you must also provide a `PUBLIC_CONTACT_DATA_ACKNOWLEDGEMENT` in the `contact_notices` field of the request.", +"Deprecated: For more information, see [Cloud Domains feature deprecation](https://cloud.google.com/domains/docs/deprecations/feature-deprecations). None of the data from `ContactSettings` is publicly available. Instead, proxy contact data is published for your domain. Email sent to the proxy email address is forwarded to the registrant's email address. Cloud Domains provides this privacy proxy service at no additional cost.", +"The organization name (if provided) and limited non-identifying data from `ContactSettings` is available to the public (e.g. country and state). The remaining data is marked as `REDACTED FOR PRIVACY` in the WHOIS database. The actual information redacted depends on the domain. For details, see [the registration privacy article](https://support.google.com/domains/answer/3251242)." +], +"type": "string" +}, +"type": "array" +}, +"transferLockState": { +"description": "Indicates whether the domain is protected by a transfer lock. For a transfer to succeed, this must show `UNLOCKED`. To unlock a domain, go to its current registrar.", +"enum": [ +"TRANSFER_LOCK_STATE_UNSPECIFIED", +"UNLOCKED", +"LOCKED" +], +"enumDescriptions": [ +"The state is unspecified.", +"The domain is unlocked and can be transferred to another registrar.", +"The domain is locked and cannot be transferred to another registrar." +], +"type": "string" +}, +"yearlyPrice": { +"$ref": "Money", +"description": "Price to transfer or renew the domain for one year." +} +}, +"type": "object" +}, +"WrrPolicy": { +"description": "Configures a RRSetRoutingPolicy that routes in a weighted round robin fashion.", +"id": "WrrPolicy", +"properties": { +"item": { +"items": { +"$ref": "WrrPolicyItem" +}, +"type": "array" +} +}, +"type": "object" +}, +"WrrPolicyItem": { +"description": "A routing block which contains the routing information for one WRR item.", +"id": "WrrPolicyItem", +"properties": { +"healthCheckedTargets": { +"$ref": "HealthCheckTargets", +"description": "Endpoints that are health checked before making the routing decision. The unhealthy endpoints are omitted from the result. If all endpoints within a bucket are unhealthy, we choose a different bucket (sampled with respect to its weight) for responding. If DNSSEC is enabled for this zone, only one of `rrdata` or `health_checked_targets` can be set." +}, +"rrdata": { +"items": { +"type": "string" +}, +"type": "array" +}, +"signatureRrdata": { +"description": "DNSSEC generated signatures for all the `rrdata` within this item. When using health-checked targets for DNSSEC-enabled zones, you can only use at most one health-checked IP address per item.", +"items": { +"type": "string" +}, +"type": "array" +}, +"weight": { +"description": "The weight corresponding to this `WrrPolicyItem` object. When multiple `WrrPolicyItem` objects are configured, the probability of returning an `WrrPolicyItem` object's data is proportional to its weight relative to the sum of weights configured for all items. This weight must be non-negative.", +"format": "double", +"type": "number" +} +}, +"type": "object" +} +}, +"servicePath": "", +"title": "Cloud Domains API", +"version": "v1alpha2", +"version_module": true +} \ No newline at end of file diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/doubleclickbidmanager.v2.json b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/doubleclickbidmanager.v2.json new file mode 100644 index 0000000000000000000000000000000000000000..8762f28316fe23a51ed0bf89bf168afb6efe0036 --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/doubleclickbidmanager.v2.json @@ -0,0 +1,777 @@ +{ +"auth": { +"oauth2": { +"scopes": { +"https://www.googleapis.com/auth/doubleclickbidmanager": { +"description": "View and manage your reports in DoubleClick Bid Manager" +} +} +} +}, +"basePath": "/v2/", +"baseUrl": "https://doubleclickbidmanager.googleapis.com/v2/", +"batchPath": "batch", +"canonicalName": "DoubleClick Bid Manager", +"description": "DoubleClick Bid Manager API allows users to manage and create campaigns and reports.", +"discoveryVersion": "v1", +"documentationLink": "https://developers.google.com/bid-manager/", +"icons": { +"x16": "http://www.google.com/images/icons/product/search-16.gif", +"x32": "http://www.google.com/images/icons/product/search-32.gif" +}, +"id": "doubleclickbidmanager:v2", +"kind": "discovery#restDescription", +"mtlsRootUrl": "https://doubleclickbidmanager.mtls.googleapis.com/", +"name": "doubleclickbidmanager", +"ownerDomain": "google.com", +"ownerName": "Google", +"parameters": { +"$.xgafv": { +"description": "V1 error format.", +"enum": [ +"1", +"2" +], +"enumDescriptions": [ +"v1 error format", +"v2 error format" +], +"location": "query", +"type": "string" +}, +"access_token": { +"description": "OAuth access token.", +"location": "query", +"type": "string" +}, +"alt": { +"default": "json", +"description": "Data format for response.", +"enum": [ +"json", +"media", +"proto" +], +"enumDescriptions": [ +"Responses with Content-Type of application/json", +"Media download with context-dependent Content-Type", +"Responses with Content-Type of application/x-protobuf" +], +"location": "query", +"type": "string" +}, +"callback": { +"description": "JSONP", +"location": "query", +"type": "string" +}, +"fields": { +"description": "Selector specifying which fields to include in a partial response.", +"location": "query", +"type": "string" +}, +"key": { +"description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", +"location": "query", +"type": "string" +}, +"oauth_token": { +"description": "OAuth 2.0 token for the current user.", +"location": "query", +"type": "string" +}, +"prettyPrint": { +"default": "true", +"description": "Returns response with indentations and line breaks.", +"location": "query", +"type": "boolean" +}, +"quotaUser": { +"description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.", +"location": "query", +"type": "string" +}, +"uploadType": { +"description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", +"location": "query", +"type": "string" +}, +"upload_protocol": { +"description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", +"location": "query", +"type": "string" +} +}, +"protocol": "rest", +"resources": { +"queries": { +"methods": { +"create": { +"description": "Creates a new query.", +"flatPath": "queries", +"httpMethod": "POST", +"id": "doubleclickbidmanager.queries.create", +"parameterOrder": [], +"parameters": {}, +"path": "queries", +"request": { +"$ref": "Query" +}, +"response": { +"$ref": "Query" +}, +"scopes": [ +"https://www.googleapis.com/auth/doubleclickbidmanager" +] +}, +"delete": { +"description": "Deletes an existing query as well as its generated reports.", +"flatPath": "queries/{queryId}", +"httpMethod": "DELETE", +"id": "doubleclickbidmanager.queries.delete", +"parameterOrder": [ +"queryId" +], +"parameters": { +"queryId": { +"description": "Required. The ID of the query to delete.", +"format": "int64", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "queries/{queryId}", +"scopes": [ +"https://www.googleapis.com/auth/doubleclickbidmanager" +] +}, +"get": { +"description": "Retrieves a query.", +"flatPath": "queries/{queryId}", +"httpMethod": "GET", +"id": "doubleclickbidmanager.queries.get", +"parameterOrder": [ +"queryId" +], +"parameters": { +"queryId": { +"description": "Required. The ID of the query to retrieve.", +"format": "int64", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "queries/{queryId}", +"response": { +"$ref": "Query" +}, +"scopes": [ +"https://www.googleapis.com/auth/doubleclickbidmanager" +] +}, +"list": { +"description": "Lists queries created by the current user.", +"flatPath": "queries", +"httpMethod": "GET", +"id": "doubleclickbidmanager.queries.list", +"parameterOrder": [], +"parameters": { +"orderBy": { +"description": "Field to sort the list by. Accepts the following values: * `queryId` (default) * `metadata.title` The default sorting order is ascending. To specify descending order for a field, add the suffix `desc` to the field name. For example, `queryId desc`.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Maximum number of results per page. Must be between `1` and `100`. Defaults to `100` if unspecified.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A token identifying which page of results the server should return. Typically, this is the value of nextPageToken, returned from the previous call to the `queries.list` method. If unspecified, the first page of results is returned.", +"location": "query", +"type": "string" +} +}, +"path": "queries", +"response": { +"$ref": "ListQueriesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/doubleclickbidmanager" +] +}, +"run": { +"description": "Runs an existing query to generate a report.", +"flatPath": "queries/{queryId}:run", +"httpMethod": "POST", +"id": "doubleclickbidmanager.queries.run", +"parameterOrder": [ +"queryId" +], +"parameters": { +"queryId": { +"description": "Required. The ID of the query to run.", +"format": "int64", +"location": "path", +"required": true, +"type": "string" +}, +"synchronous": { +"description": "Whether the query should be run synchronously. When `true`, the request won't return until the resulting report has finished running. This parameter is `false` by default. Setting this parameter to `true` is **not recommended**.", +"location": "query", +"type": "boolean" +} +}, +"path": "queries/{queryId}:run", +"request": { +"$ref": "RunQueryRequest" +}, +"response": { +"$ref": "Report" +}, +"scopes": [ +"https://www.googleapis.com/auth/doubleclickbidmanager" +] +} +}, +"resources": { +"reports": { +"methods": { +"get": { +"description": "Retrieves a report.", +"flatPath": "queries/{queryId}/reports/{reportId}", +"httpMethod": "GET", +"id": "doubleclickbidmanager.queries.reports.get", +"parameterOrder": [ +"queryId", +"reportId" +], +"parameters": { +"queryId": { +"description": "Required. The ID of the query that generated the report.", +"format": "int64", +"location": "path", +"required": true, +"type": "string" +}, +"reportId": { +"description": "Required. The ID of the query to retrieve.", +"format": "int64", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "queries/{queryId}/reports/{reportId}", +"response": { +"$ref": "Report" +}, +"scopes": [ +"https://www.googleapis.com/auth/doubleclickbidmanager" +] +}, +"list": { +"description": "Lists reports generated by the provided query.", +"flatPath": "queries/{queryId}/reports", +"httpMethod": "GET", +"id": "doubleclickbidmanager.queries.reports.list", +"parameterOrder": [ +"queryId" +], +"parameters": { +"orderBy": { +"description": "Field to sort the list by. Accepts the following values: * `key.reportId` (default) The default sorting order is ascending. To specify descending order for a field, add the suffix `desc` to the field name. For example, `key.reportId desc`.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Maximum number of results per page. Must be between `1` and `100`. Defaults to `100` if unspecified.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A token identifying which page of results the server should return. Typically, this is the value of nextPageToken returned from the previous call to the `queries.reports.list` method. If unspecified, the first page of results is returned.", +"location": "query", +"type": "string" +}, +"queryId": { +"description": "Required. The ID of the query that generated the reports.", +"format": "int64", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "queries/{queryId}/reports", +"response": { +"$ref": "ListReportsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/doubleclickbidmanager" +] +} +} +} +} +} +}, +"revision": "20251126", +"rootUrl": "https://doubleclickbidmanager.googleapis.com/", +"schemas": { +"DataRange": { +"description": "The date range to be reported on.", +"id": "DataRange", +"properties": { +"customEndDate": { +"$ref": "Date", +"description": "If `CUSTOM_DATES` is assigned to range, this field specifies the end date for the date range that is reported on. This field is required if using `CUSTOM_DATES` range and will be ignored otherwise." +}, +"customStartDate": { +"$ref": "Date", +"description": "If `CUSTOM_DATES` is assigned to range, this field specifies the starting date for the date range that is reported on. This field is required if using `CUSTOM_DATES` range and will be ignored otherwise." +}, +"range": { +"description": "The preset date range to be reported on. If `CUSTOM_DATES` is assigned to this field, fields custom_start_date and custom_end_date must be set to specify the custom date range.", +"enum": [ +"RANGE_UNSPECIFIED", +"CUSTOM_DATES", +"CURRENT_DAY", +"PREVIOUS_DAY", +"WEEK_TO_DATE", +"MONTH_TO_DATE", +"QUARTER_TO_DATE", +"YEAR_TO_DATE", +"PREVIOUS_WEEK", +"PREVIOUS_MONTH", +"PREVIOUS_QUARTER", +"PREVIOUS_YEAR", +"LAST_7_DAYS", +"LAST_30_DAYS", +"LAST_90_DAYS", +"LAST_365_DAYS", +"ALL_TIME", +"LAST_14_DAYS", +"LAST_60_DAYS" +], +"enumDescriptions": [ +"Default value when range is not specified or is unknown in this version.", +"Custom date range.", +"Current day.", +"Previous day.", +"All days, including the current day, since the most recent Sunday.", +"All days, including the current day, since the start of the current month.", +"All days, including the current day, since the start of the current quarter.", +"All days, including the current day, since the start of the current calendar year.", +"The previous completed week, beginning from Sunday.", +"The previous completed calendar month.", +"The previous completed quarter.", +"The previous completed calendar year.", +"The previous 7 days, excluding the current day.", +"The previous 30 days, excluding the current day.", +"The previous 90 days, excluding the current day.", +"The previous 365 days, excluding the current day.", +"All time for which data is available, excluding the current day.", +"The previous 14 days, excluding the current day.", +"The previous 60 days, excluding the current day." +], +"type": "string" +} +}, +"type": "object" +}, +"Date": { +"description": "Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following: * A full date, with non-zero year, month, and day values. * A month and day, with a zero year (for example, an anniversary). * A year on its own, with a zero month and a zero day. * A year and month, with a zero day (for example, a credit card expiration date). Related types: * google.type.TimeOfDay * google.type.DateTime * google.protobuf.Timestamp", +"id": "Date", +"properties": { +"day": { +"description": "Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn't significant.", +"format": "int32", +"type": "integer" +}, +"month": { +"description": "Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.", +"format": "int32", +"type": "integer" +}, +"year": { +"description": "Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"FilterPair": { +"description": "Represents a single filter rule.", +"id": "FilterPair", +"properties": { +"type": { +"description": "The type of value to filter by. Defined by a [Filter](/bid-manager/reference/rest/v2/filters-metrics#filters) value.", +"type": "string" +}, +"value": { +"description": "The identifying value to filter by, such as a relevant resource ID.", +"type": "string" +} +}, +"type": "object" +}, +"ListQueriesResponse": { +"id": "ListQueriesResponse", +"properties": { +"nextPageToken": { +"description": "A token to retrieve the next page of results. Pass this value in the page_token field in the subsequent call to `queries.list` method to retrieve the next page of results.", +"type": "string" +}, +"queries": { +"description": "The list of queries. This field will be absent if empty.", +"items": { +"$ref": "Query" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListReportsResponse": { +"id": "ListReportsResponse", +"properties": { +"nextPageToken": { +"description": "A token to retrieve the next page of results. Pass this value in the page_token field in the subsequent call to `queries.reports.list` method to retrieve the next page of results.", +"type": "string" +}, +"reports": { +"description": "The list of reports. This field will be absent if empty.", +"items": { +"$ref": "Report" +}, +"type": "array" +} +}, +"type": "object" +}, +"Options": { +"description": "Report parameter options.", +"id": "Options", +"properties": { +"includeOnlyTargetedUserLists": { +"description": "Whether to include data for audience lists specifically targeted by filtered line items or insertion orders. Requires the use of `FILTER_INSERTION_ORDER` or `FILTER_LINE_ITEM` filters.", +"type": "boolean" +} +}, +"type": "object" +}, +"Parameters": { +"description": "Parameters of a generated report.", +"id": "Parameters", +"properties": { +"filters": { +"description": "Filters to limit the scope of reported data.", +"items": { +"$ref": "FilterPair" +}, +"type": "array" +}, +"groupBys": { +"description": "Dimensions by which to segment and group the data. Defined by [Filter](/bid-manager/reference/rest/v2/filters-metrics#filters) values.", +"items": { +"type": "string" +}, +"type": "array" +}, +"metrics": { +"description": "Metrics to define the data populating the report. Defined by [Metric](/bid-manager/reference/rest/v2/filters-metrics#metrics) values.", +"items": { +"type": "string" +}, +"type": "array" +}, +"options": { +"$ref": "Options", +"description": "Additional report parameter options." +}, +"type": { +"description": "The type of the report. The type of the report determines the dimesions, filters, and metrics that can be used.", +"enum": [ +"REPORT_TYPE_UNSPECIFIED", +"STANDARD", +"INVENTORY_AVAILABILITY", +"AUDIENCE_COMPOSITION", +"FLOODLIGHT", +"YOUTUBE", +"GRP", +"YOUTUBE_PROGRAMMATIC_GUARANTEED", +"REACH", +"UNIQUE_REACH_AUDIENCE", +"FULL_PATH", +"PATH_ATTRIBUTION" +], +"enumDeprecated": [ +false, +false, +false, +true, +false, +false, +false, +false, +false, +false, +true, +true +], +"enumDescriptions": [ +"Default value when report type is not specified or is unknown in this version.", +"Standard report.", +"Inventory Availability report.", +"Audience Composition report.", +"Floodlight report.", +"YouTube report.", +"GRP report.", +"YouTube Programmatic Guaranteed report.", +"Reach report.", +"Unique Reach Audience report.", +"Full Path report.", +"Path Attribution report." +], +"type": "string" +} +}, +"type": "object" +}, +"Query": { +"description": "A single query used to generate a report.", +"id": "Query", +"properties": { +"metadata": { +"$ref": "QueryMetadata", +"description": "The metadata of the query." +}, +"params": { +"$ref": "Parameters", +"description": "The parameters of the report generated by the query." +}, +"queryId": { +"description": "Output only. The unique ID of the query.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"schedule": { +"$ref": "QuerySchedule", +"description": "When and how often the query is scheduled to run. If the frequency field is set to `ONE_TIME`, the query will only run when queries.run is called." +} +}, +"type": "object" +}, +"QueryMetadata": { +"description": "The metadata of the query.", +"id": "QueryMetadata", +"properties": { +"dataRange": { +"$ref": "DataRange", +"description": "The date range the report generated by the query will report on. This date range will be defined by the time zone as used by the advertiser." +}, +"format": { +"description": "The format of the report generated by the query.", +"enum": [ +"FORMAT_UNSPECIFIED", +"CSV", +"XLSX" +], +"enumDescriptions": [ +"Default value when format is not specified or is unknown in this version.", +"CSV.", +"Excel." +], +"type": "string" +}, +"sendNotification": { +"description": "Whether an email notification is sent to the query creator when a report generated by the query is ready. This value is `false` by default.", +"type": "boolean" +}, +"shareEmailAddress": { +"description": "List of additional email addresses with which to share the query. If send_notification is `true`, these email addresses will receive a notification when a report generated by the query is ready. If these email addresses are connected to Display & Video 360 users, the query will be available to them in the Display & Video 360 interface.", +"items": { +"type": "string" +}, +"type": "array" +}, +"title": { +"description": "The display name of the query. This value will be used in the file name of reports generated by the query.", +"type": "string" +} +}, +"type": "object" +}, +"QuerySchedule": { +"description": "Settings on when and how frequently to run a query.", +"id": "QuerySchedule", +"properties": { +"endDate": { +"$ref": "Date", +"description": "The date on which to end the scheduled runs. This field is required if frequency is not set to `ONE_TIME`. Otherwise, it will be ignored." +}, +"frequency": { +"description": "How frequently to run the query. If set to `ONE_TIME`, the query will only be run when queries.run is called.", +"enum": [ +"FREQUENCY_UNSPECIFIED", +"ONE_TIME", +"DAILY", +"WEEKLY", +"SEMI_MONTHLY", +"MONTHLY", +"QUARTERLY", +"YEARLY" +], +"enumDescriptions": [ +"Default value when frequency is not specified or is unknown in this version.", +"Only when the query is run manually.", +"Once a day.", +"Once a week.", +"Twice a month.", +"Once a month.", +"Once a quarter.", +"Once a year." +], +"type": "string" +}, +"nextRunTimezoneCode": { +"description": "The canonical code for the timezone the query schedule is based on. Scheduled runs are usually conducted in the morning of a given day. Defaults to `America/New_York`.", +"type": "string" +}, +"startDate": { +"$ref": "Date", +"description": "The date on which to begin the scheduled runs. This field is required if frequency is not set to `ONE_TIME`. Otherwise, it will be ignored." +} +}, +"type": "object" +}, +"Report": { +"description": "A single report generated by its parent report.", +"id": "Report", +"properties": { +"key": { +"$ref": "ReportKey", +"description": "The key information identifying the report." +}, +"metadata": { +"$ref": "ReportMetadata", +"description": "The metadata of the report." +}, +"params": { +"$ref": "Parameters", +"description": "The parameters of the report." +} +}, +"type": "object" +}, +"ReportKey": { +"description": "Identifying information of a report.", +"id": "ReportKey", +"properties": { +"queryId": { +"description": "Output only. The unique ID of the query that generated the report.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"reportId": { +"description": "Output only. The unique ID of the report.", +"format": "int64", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"ReportMetadata": { +"description": "The metadata of a report.", +"id": "ReportMetadata", +"properties": { +"googleCloudStoragePath": { +"description": "Output only. The location of the generated report file in Google Cloud Storage. This field will be absent if status.state is not `DONE`.", +"readOnly": true, +"type": "string" +}, +"reportDataEndDate": { +"$ref": "Date", +"description": "The end date of the report data date range." +}, +"reportDataStartDate": { +"$ref": "Date", +"description": "The start date of the report data date range." +}, +"status": { +"$ref": "ReportStatus", +"description": "The status of the report." +} +}, +"type": "object" +}, +"ReportStatus": { +"description": "The status of a report.", +"id": "ReportStatus", +"properties": { +"finishTime": { +"description": "Output only. The timestamp of when report generation finished successfully or in failure. This field will not be set unless state is `DONE` or `FAILED`.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"format": { +"description": "The format of the generated report file.", +"enum": [ +"FORMAT_UNSPECIFIED", +"CSV", +"XLSX" +], +"enumDescriptions": [ +"Default value when format is not specified or is unknown in this version.", +"CSV.", +"Excel." +], +"type": "string" +}, +"state": { +"description": "Output only. The state of the report generation.", +"enum": [ +"STATE_UNSPECIFIED", +"QUEUED", +"RUNNING", +"DONE", +"FAILED" +], +"enumDescriptions": [ +"Default value when state is not specified or is unknown in this version.", +"The report is queued to run.", +"The report is currently running.", +"The report has finished running successfully.", +"The report has finished running in failure." +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"RunQueryRequest": { +"description": "Details specifying how to run a query.", +"id": "RunQueryRequest", +"properties": { +"dataRange": { +"$ref": "DataRange", +"description": "The date range used by the query to generate the report. If unspecified, the query's original data_range is used." +} +}, +"type": "object" +} +}, +"servicePath": "v2/", +"title": "DoubleClick Bid Manager API", +"version": "v2" +} \ No newline at end of file diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/doubleclicksearch.v2.json b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/doubleclicksearch.v2.json new file mode 100644 index 0000000000000000000000000000000000000000..934ba72d63cb320a7468f2bc457ac6aa39927f8b --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/doubleclicksearch.v2.json @@ -0,0 +1,1230 @@ +{ +"auth": { +"oauth2": { +"scopes": { +"https://www.googleapis.com/auth/doubleclicksearch": { +"description": "View and manage your advertising data in DoubleClick Search" +} +} +} +}, +"basePath": "", +"baseUrl": "https://doubleclicksearch.googleapis.com/", +"batchPath": "batch", +"canonicalName": "Doubleclicksearch", +"description": "The Search Ads 360 API allows developers to automate uploading conversions and downloading reports from Search Ads 360.", +"discoveryVersion": "v1", +"documentationLink": "https://developers.google.com/search-ads", +"icons": { +"x16": "http://www.google.com/images/icons/product/search-16.gif", +"x32": "http://www.google.com/images/icons/product/search-32.gif" +}, +"id": "doubleclicksearch:v2", +"kind": "discovery#restDescription", +"mtlsRootUrl": "https://doubleclicksearch.mtls.googleapis.com/", +"name": "doubleclicksearch", +"ownerDomain": "google.com", +"ownerName": "Google", +"parameters": { +"$.xgafv": { +"description": "V1 error format.", +"enum": [ +"1", +"2" +], +"enumDescriptions": [ +"v1 error format", +"v2 error format" +], +"location": "query", +"type": "string" +}, +"access_token": { +"description": "OAuth access token.", +"location": "query", +"type": "string" +}, +"alt": { +"default": "json", +"description": "Data format for response.", +"enum": [ +"json", +"media", +"proto" +], +"enumDescriptions": [ +"Responses with Content-Type of application/json", +"Media download with context-dependent Content-Type", +"Responses with Content-Type of application/x-protobuf" +], +"location": "query", +"type": "string" +}, +"callback": { +"description": "JSONP", +"location": "query", +"type": "string" +}, +"fields": { +"description": "Selector specifying which fields to include in a partial response.", +"location": "query", +"type": "string" +}, +"key": { +"description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", +"location": "query", +"type": "string" +}, +"oauth_token": { +"description": "OAuth 2.0 token for the current user.", +"location": "query", +"type": "string" +}, +"prettyPrint": { +"default": "true", +"description": "Returns response with indentations and line breaks.", +"location": "query", +"type": "boolean" +}, +"quotaUser": { +"description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.", +"location": "query", +"type": "string" +}, +"uploadType": { +"description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", +"location": "query", +"type": "string" +}, +"upload_protocol": { +"description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", +"location": "query", +"type": "string" +} +}, +"protocol": "rest", +"resources": { +"conversion": { +"methods": { +"get": { +"description": "Retrieves a list of conversions from a DoubleClick Search engine account.", +"flatPath": "doubleclicksearch/v2/agency/{agencyId}/advertiser/{advertiserId}/engine/{engineAccountId}/conversion", +"httpMethod": "GET", +"id": "doubleclicksearch.conversion.get", +"parameterOrder": [ +"agencyId", +"advertiserId", +"engineAccountId", +"endDate", +"rowCount", +"startDate", +"startRow" +], +"parameters": { +"adGroupId": { +"description": "Numeric ID of the ad group.", +"format": "int64", +"location": "query", +"type": "string" +}, +"adId": { +"description": "Numeric ID of the ad.", +"format": "int64", +"location": "query", +"type": "string" +}, +"advertiserId": { +"description": "Numeric ID of the advertiser.", +"format": "int64", +"location": "path", +"required": true, +"type": "string" +}, +"agencyId": { +"description": "Numeric ID of the agency.", +"format": "int64", +"location": "path", +"required": true, +"type": "string" +}, +"campaignId": { +"description": "Numeric ID of the campaign.", +"format": "int64", +"location": "query", +"type": "string" +}, +"criterionId": { +"description": "Numeric ID of the criterion.", +"format": "int64", +"location": "query", +"type": "string" +}, +"customerId": { +"description": "Customer ID of a client account in the new Search Ads 360 experience.", +"location": "query", +"type": "string" +}, +"endDate": { +"description": "Last date (inclusive) on which to retrieve conversions. Format is yyyymmdd.", +"format": "int32", +"location": "query", +"maximum": "99991231", +"minimum": "20091101", +"required": true, +"type": "integer" +}, +"engineAccountId": { +"description": "Numeric ID of the engine account.", +"format": "int64", +"location": "path", +"required": true, +"type": "string" +}, +"rowCount": { +"description": "The number of conversions to return per call.", +"format": "int32", +"location": "query", +"maximum": "1000", +"minimum": "1", +"required": true, +"type": "integer" +}, +"startDate": { +"description": "First date (inclusive) on which to retrieve conversions. Format is yyyymmdd.", +"format": "int32", +"location": "query", +"maximum": "99991231", +"minimum": "20091101", +"required": true, +"type": "integer" +}, +"startRow": { +"description": "The 0-based starting index for retrieving conversions results.", +"format": "uint32", +"location": "query", +"required": true, +"type": "integer" +} +}, +"path": "doubleclicksearch/v2/agency/{agencyId}/advertiser/{advertiserId}/engine/{engineAccountId}/conversion", +"response": { +"$ref": "ConversionList" +}, +"scopes": [ +"https://www.googleapis.com/auth/doubleclicksearch" +] +}, +"getByCustomerId": { +"description": "Retrieves a list of conversions from a DoubleClick Search engine account.", +"flatPath": "doubleclicksearch/v2/customer/{customerId}/conversion", +"httpMethod": "GET", +"id": "doubleclicksearch.conversion.getByCustomerId", +"parameterOrder": [ +"customerId", +"endDate", +"rowCount", +"startDate", +"startRow" +], +"parameters": { +"adGroupId": { +"description": "Numeric ID of the ad group.", +"format": "int64", +"location": "query", +"type": "string" +}, +"adId": { +"description": "Numeric ID of the ad.", +"format": "int64", +"location": "query", +"type": "string" +}, +"advertiserId": { +"description": "Numeric ID of the advertiser.", +"format": "int64", +"location": "query", +"type": "string" +}, +"agencyId": { +"description": "Numeric ID of the agency.", +"format": "int64", +"location": "query", +"type": "string" +}, +"campaignId": { +"description": "Numeric ID of the campaign.", +"format": "int64", +"location": "query", +"type": "string" +}, +"criterionId": { +"description": "Numeric ID of the criterion.", +"format": "int64", +"location": "query", +"type": "string" +}, +"customerId": { +"description": "Customer ID of a client account in the new Search Ads 360 experience.", +"location": "path", +"required": true, +"type": "string" +}, +"endDate": { +"description": "Last date (inclusive) on which to retrieve conversions. Format is yyyymmdd.", +"format": "int32", +"location": "query", +"maximum": "99991231", +"minimum": "20091101", +"required": true, +"type": "integer" +}, +"engineAccountId": { +"description": "Numeric ID of the engine account.", +"format": "int64", +"location": "query", +"type": "string" +}, +"rowCount": { +"description": "The number of conversions to return per call.", +"format": "int32", +"location": "query", +"maximum": "1000", +"minimum": "1", +"required": true, +"type": "integer" +}, +"startDate": { +"description": "First date (inclusive) on which to retrieve conversions. Format is yyyymmdd.", +"format": "int32", +"location": "query", +"maximum": "99991231", +"minimum": "20091101", +"required": true, +"type": "integer" +}, +"startRow": { +"description": "The 0-based starting index for retrieving conversions results.", +"format": "uint32", +"location": "query", +"required": true, +"type": "integer" +} +}, +"path": "doubleclicksearch/v2/customer/{customerId}/conversion", +"response": { +"$ref": "ConversionList" +}, +"scopes": [ +"https://www.googleapis.com/auth/doubleclicksearch" +] +}, +"insert": { +"description": "Inserts a batch of new conversions into DoubleClick Search.", +"flatPath": "doubleclicksearch/v2/conversion", +"httpMethod": "POST", +"id": "doubleclicksearch.conversion.insert", +"parameterOrder": [], +"parameters": {}, +"path": "doubleclicksearch/v2/conversion", +"request": { +"$ref": "ConversionList" +}, +"response": { +"$ref": "ConversionList" +}, +"scopes": [ +"https://www.googleapis.com/auth/doubleclicksearch" +] +}, +"update": { +"description": "Updates a batch of conversions in DoubleClick Search.", +"flatPath": "doubleclicksearch/v2/conversion", +"httpMethod": "PUT", +"id": "doubleclicksearch.conversion.update", +"parameterOrder": [], +"parameters": {}, +"path": "doubleclicksearch/v2/conversion", +"request": { +"$ref": "ConversionList" +}, +"response": { +"$ref": "ConversionList" +}, +"scopes": [ +"https://www.googleapis.com/auth/doubleclicksearch" +] +}, +"updateAvailability": { +"description": "Updates the availabilities of a batch of floodlight activities in DoubleClick Search.", +"flatPath": "doubleclicksearch/v2/conversion/updateAvailability", +"httpMethod": "POST", +"id": "doubleclicksearch.conversion.updateAvailability", +"parameterOrder": [], +"parameters": {}, +"path": "doubleclicksearch/v2/conversion/updateAvailability", +"request": { +"$ref": "UpdateAvailabilityRequest" +}, +"response": { +"$ref": "UpdateAvailabilityResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/doubleclicksearch" +] +} +} +}, +"reports": { +"methods": { +"generate": { +"description": "Generates and returns a report immediately.", +"flatPath": "doubleclicksearch/v2/reports/generate", +"httpMethod": "POST", +"id": "doubleclicksearch.reports.generate", +"parameterOrder": [], +"parameters": {}, +"path": "doubleclicksearch/v2/reports/generate", +"request": { +"$ref": "ReportRequest" +}, +"response": { +"$ref": "Report" +}, +"scopes": [ +"https://www.googleapis.com/auth/doubleclicksearch" +] +}, +"get": { +"description": "Polls for the status of a report request.", +"flatPath": "doubleclicksearch/v2/reports/{reportId}", +"httpMethod": "GET", +"id": "doubleclicksearch.reports.get", +"parameterOrder": [ +"reportId" +], +"parameters": { +"reportId": { +"description": "ID of the report request being polled.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "doubleclicksearch/v2/reports/{reportId}", +"response": { +"$ref": "Report" +}, +"scopes": [ +"https://www.googleapis.com/auth/doubleclicksearch" +] +}, +"getFile": { +"description": "Downloads a report file encoded in UTF-8.", +"flatPath": "doubleclicksearch/v2/reports/{reportId}/files/{reportFragment}", +"httpMethod": "GET", +"id": "doubleclicksearch.reports.getFile", +"parameterOrder": [ +"reportId", +"reportFragment" +], +"parameters": { +"reportFragment": { +"description": "The index of the report fragment to download.", +"format": "int32", +"location": "path", +"minimum": "0", +"required": true, +"type": "integer" +}, +"reportId": { +"description": "ID of the report.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "doubleclicksearch/v2/reports/{reportId}/files/{reportFragment}", +"scopes": [ +"https://www.googleapis.com/auth/doubleclicksearch" +], +"supportsMediaDownload": true, +"useMediaDownloadService": true +}, +"getIdMappingFile": { +"description": "Downloads a csv file(encoded in UTF-8) that contains ID mappings between legacy SA360 and new SA360. The file includes all children entities of the given advertiser(e.g. engine accounts, campaigns, ad groups, etc.) that exist in both legacy SA360 and new SA360.", +"flatPath": "doubleclicksearch/v2/agency/{agencyId}/advertiser/{advertiserId}/idmapping", +"httpMethod": "GET", +"id": "doubleclicksearch.reports.getIdMappingFile", +"parameterOrder": [ +"agencyId", +"advertiserId" +], +"parameters": { +"advertiserId": { +"description": "Legacy SA360 advertiser ID.", +"format": "int64", +"location": "path", +"required": true, +"type": "string" +}, +"agencyId": { +"description": "Legacy SA360 agency ID.", +"format": "int64", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "doubleclicksearch/v2/agency/{agencyId}/advertiser/{advertiserId}/idmapping", +"response": { +"$ref": "IdMappingFile" +}, +"scopes": [ +"https://www.googleapis.com/auth/doubleclicksearch" +], +"supportsMediaDownload": true, +"useMediaDownloadService": true +}, +"request": { +"description": "Inserts a report request into the reporting system.", +"flatPath": "doubleclicksearch/v2/reports", +"httpMethod": "POST", +"id": "doubleclicksearch.reports.request", +"parameterOrder": [], +"parameters": {}, +"path": "doubleclicksearch/v2/reports", +"request": { +"$ref": "ReportRequest" +}, +"response": { +"$ref": "Report" +}, +"scopes": [ +"https://www.googleapis.com/auth/doubleclicksearch" +] +} +} +}, +"savedColumns": { +"methods": { +"list": { +"description": "Retrieve the list of saved columns for a specified advertiser.", +"flatPath": "doubleclicksearch/v2/agency/{agencyId}/advertiser/{advertiserId}/savedcolumns", +"httpMethod": "GET", +"id": "doubleclicksearch.savedColumns.list", +"parameterOrder": [ +"agencyId", +"advertiserId" +], +"parameters": { +"advertiserId": { +"description": "DS ID of the advertiser.", +"format": "int64", +"location": "path", +"required": true, +"type": "string" +}, +"agencyId": { +"description": "DS ID of the agency.", +"format": "int64", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "doubleclicksearch/v2/agency/{agencyId}/advertiser/{advertiserId}/savedcolumns", +"response": { +"$ref": "SavedColumnList" +}, +"scopes": [ +"https://www.googleapis.com/auth/doubleclicksearch" +] +} +} +} +}, +"revision": "20250430", +"rootUrl": "https://doubleclicksearch.googleapis.com/", +"schemas": { +"Availability": { +"description": "A message containing availability data relevant to DoubleClick Search.", +"id": "Availability", +"properties": { +"advertiserId": { +"annotations": { +"required": [ +"doubleclicksearch.conversion.updateAvailability" +] +}, +"description": "DS advertiser ID.", +"format": "int64", +"type": "string" +}, +"agencyId": { +"annotations": { +"required": [ +"doubleclicksearch.conversion.updateAvailability" +] +}, +"description": "DS agency ID.", +"format": "int64", +"type": "string" +}, +"availabilityTimestamp": { +"annotations": { +"required": [ +"doubleclicksearch.conversion.updateAvailability" +] +}, +"description": "The time by which all conversions have been uploaded, in epoch millis UTC.", +"format": "int64", +"type": "string" +}, +"customerId": { +"description": "Customer ID of a client account in the new Search Ads 360 experience.", +"type": "string" +}, +"segmentationId": { +"description": "The numeric segmentation identifier (for example, DoubleClick Search Floodlight activity ID).", +"format": "int64", +"type": "string" +}, +"segmentationName": { +"description": "The friendly segmentation identifier (for example, DoubleClick Search Floodlight activity name).", +"type": "string" +}, +"segmentationType": { +"annotations": { +"required": [ +"doubleclicksearch.conversion.updateAvailability" +] +}, +"description": "The segmentation type that this availability is for (its default value is `FLOODLIGHT`).", +"type": "string" +} +}, +"type": "object" +}, +"Conversion": { +"description": "A conversion containing data relevant to DoubleClick Search. Common DS3 API conversion fields: Id Range [1 - 2800]. Next Id to use: 33", +"id": "Conversion", +"properties": { +"adGroupId": { +"description": "DS ad group ID.", +"format": "int64", +"type": "string" +}, +"adId": { +"description": "DS ad ID.", +"format": "int64", +"type": "string" +}, +"adUserDataConsent": { +"description": "Represents consent for core platform services (CPS) preferences in settings. No default value. Acceptable values are: GRANTED: The desired consent status is to grant. Read the CPS preferences from GTE settings. DENIED: The desired consent status is to deny; CPS list is empty.", +"enum": [ +"UNKNOWN", +"GRANTED", +"DENIED" +], +"enumDescriptions": [ +"Not specified.", +"Granted.", +"Denied." +], +"type": "string" +}, +"advertiserId": { +"description": "DS advertiser ID.", +"format": "int64", +"type": "string" +}, +"agencyId": { +"description": "DS agency ID.", +"format": "int64", +"type": "string" +}, +"attributionModel": { +"description": "Available to advertisers only after contacting DoubleClick Search customer support.", +"type": "string" +}, +"campaignId": { +"description": "DS campaign ID.", +"format": "int64", +"type": "string" +}, +"channel": { +"description": "Sales channel for the product. Acceptable values are: - \"`local`\": a physical store - \"`online`\": an online store ", +"type": "string" +}, +"clickId": { +"description": "DS click ID for the conversion.", +"type": "string" +}, +"conversionId": { +"annotations": { +"required": [ +"doubleclicksearch.conversion.insert" +] +}, +"description": "For offline conversions, advertisers provide this ID. Advertisers can specify any ID that is meaningful to them. Each conversion in a request must specify a unique ID, and the combination of ID and timestamp must be unique amongst all conversions within the advertiser. For online conversions, DS copies the `dsConversionId` or `floodlightOrderId` into this property depending on the advertiser's Floodlight instructions.", +"type": "string" +}, +"conversionModifiedTimestamp": { +"description": "The time at which the conversion was last modified, in epoch millis UTC.", +"format": "int64", +"type": "string" +}, +"conversionTimestamp": { +"annotations": { +"required": [ +"doubleclicksearch.conversion.insert" +] +}, +"description": "The time at which the conversion took place, in epoch millis UTC.", +"type": "string" +}, +"countMillis": { +"description": "Available to advertisers only after contacting DoubleClick Search customer support.", +"format": "int64", +"type": "string" +}, +"criterionId": { +"description": "DS criterion (keyword) ID.", +"format": "int64", +"type": "string" +}, +"currencyCode": { +"description": "The currency code for the conversion's revenue. Should be in ISO 4217 alphabetic (3-char) format.", +"type": "string" +}, +"customDimension": { +"description": "Custom dimensions for the conversion, which can be used to filter data in a report.", +"items": { +"$ref": "CustomDimension" +}, +"type": "array" +}, +"customMetric": { +"description": "Custom metrics for the conversion.", +"items": { +"$ref": "CustomMetric" +}, +"type": "array" +}, +"customerId": { +"description": "Customer ID of a client account in the new Search Ads 360 experience.", +"type": "string" +}, +"deviceType": { +"description": "The type of device on which the conversion occurred.", +"type": "string" +}, +"dsConversionId": { +"description": "ID that DoubleClick Search generates for each conversion.", +"format": "int64", +"type": "string" +}, +"engineAccountId": { +"description": "DS engine account ID.", +"format": "int64", +"type": "string" +}, +"floodlightOrderId": { +"description": "The Floodlight order ID provided by the advertiser for the conversion.", +"type": "string" +}, +"inventoryAccountId": { +"description": "ID that DS generates and uses to uniquely identify the inventory account that contains the product.", +"format": "int64", +"type": "string" +}, +"productCountry": { +"description": "The country registered for the Merchant Center feed that contains the product. Use an ISO 3166 code to specify a country.", +"type": "string" +}, +"productGroupId": { +"description": "DS product group ID.", +"format": "int64", +"type": "string" +}, +"productId": { +"description": "The product ID (SKU).", +"type": "string" +}, +"productLanguage": { +"description": "The language registered for the Merchant Center feed that contains the product. Use an ISO 639 code to specify a language.", +"type": "string" +}, +"quantityMillis": { +"description": "The quantity of this conversion, in millis.", +"format": "int64", +"type": "string" +}, +"revenueMicros": { +"description": "The revenue amount of this `TRANSACTION` conversion, in micros (value multiplied by 1000000, no decimal). For example, to specify a revenue value of \"10\" enter \"10000000\" (10 million) in your request.", +"type": "string" +}, +"segmentationId": { +"description": "The numeric segmentation identifier (for example, DoubleClick Search Floodlight activity ID).", +"format": "int64", +"type": "string" +}, +"segmentationName": { +"description": "The friendly segmentation identifier (for example, DoubleClick Search Floodlight activity name).", +"type": "string" +}, +"segmentationType": { +"annotations": { +"required": [ +"doubleclicksearch.conversion.insert" +] +}, +"description": "The segmentation type of this conversion (for example, `FLOODLIGHT`).", +"type": "string" +}, +"state": { +"description": "The state of the conversion, that is, either `ACTIVE` or `REMOVED`. Note: state DELETED is deprecated.", +"type": "string" +}, +"storeId": { +"description": "The ID of the local store for which the product was advertised. Applicable only when the channel is \"`local`\".", +"type": "string" +}, +"type": { +"description": "The type of the conversion, that is, either `ACTION` or `TRANSACTION`. An `ACTION` conversion is an action by the user that has no monetarily quantifiable value, while a `TRANSACTION` conversion is an action that does have a monetarily quantifiable value. Examples are email list signups (`ACTION`) versus ecommerce purchases (`TRANSACTION`).", +"type": "string" +} +}, +"type": "object" +}, +"ConversionList": { +"description": "A list of conversions.", +"id": "ConversionList", +"properties": { +"conversion": { +"description": "The conversions being requested.", +"items": { +"$ref": "Conversion" +}, +"type": "array" +}, +"kind": { +"description": "Identifies this as a ConversionList resource. Value: the fixed string doubleclicksearch#conversionList.", +"type": "string" +} +}, +"type": "object" +}, +"CustomDimension": { +"description": "A message containing the custom dimension.", +"id": "CustomDimension", +"properties": { +"name": { +"description": "Custom dimension name.", +"type": "string" +}, +"value": { +"description": "Custom dimension value.", +"type": "string" +} +}, +"type": "object" +}, +"CustomMetric": { +"description": "A message containing the custom metric.", +"id": "CustomMetric", +"properties": { +"name": { +"description": "Custom metric name.", +"type": "string" +}, +"value": { +"description": "Custom metric numeric value.", +"format": "double", +"type": "number" +} +}, +"type": "object" +}, +"IdMappingFile": { +"description": "File returned to https://developers.google.com/search-ads/v2/reference/reports/getIdMappingFile.", +"id": "IdMappingFile", +"properties": {}, +"type": "object" +}, +"Report": { +"description": "A DoubleClick Search report. This object contains the report request, some report metadata such as currency code, and the generated report rows or report files.", +"id": "Report", +"properties": { +"files": { +"description": "Asynchronous report only. Contains a list of generated report files once the report has successfully completed.", +"items": { +"properties": { +"byteCount": { +"description": "The size of this report file in bytes.", +"format": "int64", +"type": "string" +}, +"url": { +"description": "Use this url to download the report file.", +"type": "string" +} +}, +"type": "object" +}, +"type": "array" +}, +"id": { +"description": "Asynchronous report only. Id of the report.", +"type": "string" +}, +"isReportReady": { +"description": "Asynchronous report only. True if and only if the report has completed successfully and the report files are ready to be downloaded.", +"type": "boolean" +}, +"kind": { +"description": "Identifies this as a Report resource. Value: the fixed string `doubleclicksearch#report`.", +"type": "string" +}, +"request": { +"$ref": "ReportRequest", +"description": "The request that created the report. Optional fields not specified in the original request are filled with default values." +}, +"rowCount": { +"description": "The number of report rows generated by the report, not including headers.", +"format": "int32", +"type": "integer" +}, +"rows": { +"description": "Synchronous report only. Generated report rows.", +"items": { +"$ref": "ReportRow" +}, +"type": "array" +}, +"statisticsCurrencyCode": { +"description": "The currency code of all monetary values produced in the report, including values that are set by users (e.g., keyword bid settings) and metrics (e.g., cost and revenue). The currency code of a report is determined by the `statisticsCurrency` field of the report request.", +"type": "string" +}, +"statisticsTimeZone": { +"description": "If all statistics of the report are sourced from the same time zone, this would be it. Otherwise the field is unset.", +"type": "string" +} +}, +"type": "object" +}, +"ReportApiColumnSpec": { +"description": "A request object used to create a DoubleClick Search report.", +"id": "ReportApiColumnSpec", +"properties": { +"columnName": { +"description": "Name of a DoubleClick Search column to include in the report.", +"type": "string" +}, +"customDimensionName": { +"description": "Segments a report by a custom dimension. The report must be scoped to an advertiser or lower, and the custom dimension must already be set up in DoubleClick Search. The custom dimension name, which appears in DoubleClick Search, is case sensitive.\\ If used in a conversion report, returns the value of the specified custom dimension for the given conversion, if set. This column does not segment the conversion report.", +"type": "string" +}, +"customMetricName": { +"description": "Name of a custom metric to include in the report. The report must be scoped to an advertiser or lower, and the custom metric must already be set up in DoubleClick Search. The custom metric name, which appears in DoubleClick Search, is case sensitive.", +"type": "string" +}, +"endDate": { +"description": "Inclusive day in YYYY-MM-DD format. When provided, this overrides the overall time range of the report for this column only. Must be provided together with `startDate`.", +"type": "string" +}, +"groupByColumn": { +"description": "Synchronous report only. Set to `true` to group by this column. Defaults to `false`.", +"type": "boolean" +}, +"headerText": { +"description": "Text used to identify this column in the report output; defaults to `columnName` or `savedColumnName` when not specified. This can be used to prevent collisions between DoubleClick Search columns and saved columns with the same name.", +"type": "string" +}, +"platformSource": { +"description": "The platform that is used to provide data for the custom dimension. Acceptable values are \"floodlight\".", +"type": "string" +}, +"productReportPerspective": { +"description": "Returns metrics only for a specific type of product activity. Accepted values are: - \"`sold`\": returns metrics only for products that were sold - \"`advertised`\": returns metrics only for products that were advertised in a Shopping campaign, and that might or might not have been sold ", +"type": "string" +}, +"savedColumnName": { +"description": "Name of a saved column to include in the report. The report must be scoped at advertiser or lower, and this saved column must already be created in the DoubleClick Search UI.", +"type": "string" +}, +"startDate": { +"description": "Inclusive date in YYYY-MM-DD format. When provided, this overrides the overall time range of the report for this column only. Must be provided together with `endDate`.", +"type": "string" +} +}, +"type": "object" +}, +"ReportRequest": { +"description": "A request object used to create a DoubleClick Search report.", +"id": "ReportRequest", +"properties": { +"columns": { +"description": "The columns to include in the report. This includes both DoubleClick Search columns and saved columns. For DoubleClick Search columns, only the `columnName` parameter is required. For saved columns only the `savedColumnName` parameter is required. Both `columnName` and `savedColumnName` cannot be set in the same stanza.\\ The maximum number of columns per request is 300.", +"items": { +"$ref": "ReportApiColumnSpec" +}, +"type": "array" +}, +"downloadFormat": { +"annotations": { +"required": [ +"doubleclicksearch.reports.request" +] +}, +"description": "Format that the report should be returned in. Currently `csv` or `tsv` is supported.", +"type": "string" +}, +"filters": { +"description": "A list of filters to be applied to the report.\\ The maximum number of filters per request is 300.", +"items": { +"properties": { +"column": { +"$ref": "ReportApiColumnSpec", +"description": "Column to perform the filter on. This can be a DoubleClick Search column or a saved column." +}, +"operator": { +"description": "Operator to use in the filter. See the filter reference for a list of available operators.", +"type": "string" +}, +"values": { +"description": "A list of values to filter the column value against.\\ The maximum number of filter values per request is 300.", +"items": { +"type": "any" +}, +"type": "array" +} +}, +"type": "object" +}, +"type": "array" +}, +"includeDeletedEntities": { +"description": "Determines if removed entities should be included in the report. Defaults to `false`. Deprecated, please use `includeRemovedEntities` instead.", +"type": "boolean" +}, +"includeRemovedEntities": { +"description": "Determines if removed entities should be included in the report. Defaults to `false`.", +"type": "boolean" +}, +"maxRowsPerFile": { +"annotations": { +"required": [ +"doubleclicksearch.reports.request" +] +}, +"description": "Asynchronous report only. The maximum number of rows per report file. A large report is split into many files based on this field. Acceptable values are `1000000` to `100000000`, inclusive.", +"format": "int32", +"type": "integer" +}, +"orderBy": { +"description": "Synchronous report only. A list of columns and directions defining sorting to be performed on the report rows.\\ The maximum number of orderings per request is 300.", +"items": { +"properties": { +"column": { +"$ref": "ReportApiColumnSpec", +"description": "Column to perform the sort on. This can be a DoubleClick Search-defined column or a saved column." +}, +"sortOrder": { +"description": "The sort direction, which is either `ascending` or `descending`.", +"type": "string" +} +}, +"type": "object" +}, +"type": "array" +}, +"reportScope": { +"description": "The reportScope is a set of IDs that are used to determine which subset of entities will be returned in the report. The full lineage of IDs from the lowest scoped level desired up through agency is required.", +"properties": { +"adGroupId": { +"description": "DS ad group ID.", +"format": "int64", +"type": "string" +}, +"adId": { +"description": "DS ad ID.", +"format": "int64", +"type": "string" +}, +"advertiserId": { +"description": "DS advertiser ID.", +"format": "int64", +"type": "string" +}, +"agencyId": { +"description": "DS agency ID.", +"format": "int64", +"type": "string" +}, +"campaignId": { +"description": "DS campaign ID.", +"format": "int64", +"type": "string" +}, +"engineAccountId": { +"description": "DS engine account ID.", +"format": "int64", +"type": "string" +}, +"keywordId": { +"description": "DS keyword ID.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"reportType": { +"annotations": { +"required": [ +"doubleclicksearch.reports.generate", +"doubleclicksearch.reports.request" +] +}, +"description": "Determines the type of rows that are returned in the report. For example, if you specify `reportType: keyword`, each row in the report will contain data about a keyword. See the [Types of Reports](/search-ads/v2/report-types/) reference for the columns that are available for each type.", +"type": "string" +}, +"rowCount": { +"annotations": { +"required": [ +"doubleclicksearch.reports.generate" +] +}, +"description": "Synchronous report only. The maximum number of rows to return; additional rows are dropped. Acceptable values are `0` to `10000`, inclusive. Defaults to `10000`.", +"format": "int32", +"type": "integer" +}, +"startRow": { +"annotations": { +"required": [ +"doubleclicksearch.reports.generate" +] +}, +"description": "Synchronous report only. Zero-based index of the first row to return. Acceptable values are `0` to `50000`, inclusive. Defaults to `0`.", +"format": "int32", +"type": "integer" +}, +"statisticsCurrency": { +"annotations": { +"required": [ +"doubleclicksearch.reports.generate", +"doubleclicksearch.reports.request" +] +}, +"description": "Specifies the currency in which monetary will be returned. Possible values are: `usd`, `agency` (valid if the report is scoped to agency or lower), `advertiser` (valid if the report is scoped to * advertiser or lower), or `account` (valid if the report is scoped to engine account or lower).", +"type": "string" +}, +"timeRange": { +"description": "If metrics are requested in a report, this argument will be used to restrict the metrics to a specific time range.", +"properties": { +"changedAttributesSinceTimestamp": { +"description": "Inclusive UTC timestamp in RFC format, e.g., `2013-07-16T10:16:23.555Z`. See additional references on how changed attribute reports work.", +"type": "string" +}, +"changedMetricsSinceTimestamp": { +"description": "Inclusive UTC timestamp in RFC format, e.g., `2013-07-16T10:16:23.555Z`. See additional references on how changed metrics reports work.", +"type": "string" +}, +"endDate": { +"description": "Inclusive date in YYYY-MM-DD format.", +"type": "string" +}, +"startDate": { +"description": "Inclusive date in YYYY-MM-DD format.", +"type": "string" +} +}, +"type": "object" +}, +"verifySingleTimeZone": { +"description": "If `true`, the report would only be created if all the requested stat data are sourced from a single timezone. Defaults to `false`.", +"type": "boolean" +} +}, +"type": "object" +}, +"ReportRow": { +"additionalProperties": { +"description": "Indicates the columns that are represented in this row. That is, each key corresponds to a column with a non-empty cell in this row.", +"type": "any" +}, +"description": "A row in a DoubleClick Search report.", +"id": "ReportRow", +"type": "object" +}, +"SavedColumn": { +"description": "A saved column", +"id": "SavedColumn", +"properties": { +"kind": { +"description": "Identifies this as a SavedColumn resource. Value: the fixed string doubleclicksearch#savedColumn.", +"type": "string" +}, +"savedColumnName": { +"description": "The name of the saved column.", +"type": "string" +}, +"type": { +"description": "The type of data this saved column will produce.", +"type": "string" +} +}, +"type": "object" +}, +"SavedColumnList": { +"description": "A list of saved columns. Advertisers create saved columns to report on Floodlight activities, Google Analytics goals, or custom KPIs. To request reports with saved columns, you'll need the saved column names that are available from this list.", +"id": "SavedColumnList", +"properties": { +"items": { +"description": "The saved columns being requested.", +"items": { +"$ref": "SavedColumn" +}, +"type": "array" +}, +"kind": { +"description": "Identifies this as a SavedColumnList resource. Value: the fixed string doubleclicksearch#savedColumnList.", +"type": "string" +} +}, +"type": "object" +}, +"UpdateAvailabilityRequest": { +"description": "The request to update availability.", +"id": "UpdateAvailabilityRequest", +"properties": { +"availabilities": { +"description": "The availabilities being requested.", +"items": { +"$ref": "Availability" +}, +"type": "array" +} +}, +"type": "object" +}, +"UpdateAvailabilityResponse": { +"description": "The response to a update availability request.", +"id": "UpdateAvailabilityResponse", +"properties": { +"availabilities": { +"description": "The availabilities being returned.", +"items": { +"$ref": "Availability" +}, +"type": "array" +} +}, +"type": "object" +} +}, +"servicePath": "", +"title": "Search Ads 360 API", +"version": "v2" +} \ No newline at end of file diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/drivelabels.v2.json b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/drivelabels.v2.json new file mode 100644 index 0000000000000000000000000000000000000000..db669811a5387f408f684691d3d4b200e0d19e56 --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/drivelabels.v2.json @@ -0,0 +1,3120 @@ +{ +"auth": { +"oauth2": { +"scopes": { +"https://www.googleapis.com/auth/drive.admin.labels": { +"description": "See, edit, create, and delete all Google Drive labels in your organization, and see your organization's label-related admin policies" +}, +"https://www.googleapis.com/auth/drive.admin.labels.readonly": { +"description": "See all Google Drive labels and label-related admin policies in your organization" +}, +"https://www.googleapis.com/auth/drive.labels": { +"description": "See, edit, create, and delete your Google Drive labels" +}, +"https://www.googleapis.com/auth/drive.labels.readonly": { +"description": "See your Google Drive labels" +} +} +} +}, +"basePath": "", +"baseUrl": "https://drivelabels.googleapis.com/", +"batchPath": "batch", +"canonicalName": "Drive Labels", +"description": "An API for managing Drive Labels", +"discoveryVersion": "v1", +"documentationLink": "https://developers.google.com/workspace/drive/labels", +"fullyEncodeReservedExpansion": true, +"icons": { +"x16": "http://www.google.com/images/icons/product/search-16.gif", +"x32": "http://www.google.com/images/icons/product/search-32.gif" +}, +"id": "drivelabels:v2", +"kind": "discovery#restDescription", +"mtlsRootUrl": "https://drivelabels.mtls.googleapis.com/", +"name": "drivelabels", +"ownerDomain": "google.com", +"ownerName": "Google", +"parameters": { +"$.xgafv": { +"description": "V1 error format.", +"enum": [ +"1", +"2" +], +"enumDescriptions": [ +"v1 error format", +"v2 error format" +], +"location": "query", +"type": "string" +}, +"access_token": { +"description": "OAuth access token.", +"location": "query", +"type": "string" +}, +"alt": { +"default": "json", +"description": "Data format for response.", +"enum": [ +"json", +"media", +"proto" +], +"enumDescriptions": [ +"Responses with Content-Type of application/json", +"Media download with context-dependent Content-Type", +"Responses with Content-Type of application/x-protobuf" +], +"location": "query", +"type": "string" +}, +"callback": { +"description": "JSONP", +"location": "query", +"type": "string" +}, +"fields": { +"description": "Selector specifying which fields to include in a partial response.", +"location": "query", +"type": "string" +}, +"key": { +"description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", +"location": "query", +"type": "string" +}, +"oauth_token": { +"description": "OAuth 2.0 token for the current user.", +"location": "query", +"type": "string" +}, +"prettyPrint": { +"default": "true", +"description": "Returns response with indentations and line breaks.", +"location": "query", +"type": "boolean" +}, +"quotaUser": { +"description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.", +"location": "query", +"type": "string" +}, +"uploadType": { +"description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", +"location": "query", +"type": "string" +}, +"upload_protocol": { +"description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", +"location": "query", +"type": "string" +} +}, +"protocol": "rest", +"resources": { +"labels": { +"methods": { +"create": { +"description": "Creates a label. For more information, see [Create and publish a label](https://developers.google.com/workspace/drive/labels/guides/create-label).", +"flatPath": "v2/labels", +"httpMethod": "POST", +"id": "drivelabels.labels.create", +"parameterOrder": [], +"parameters": { +"languageCode": { +"description": "The BCP-47 language code to use for evaluating localized field labels in response. When not specified, values in the default configured language will be used.", +"location": "query", +"type": "string" +}, +"useAdminAccess": { +"description": "Set to `true` in order to use the user's admin privileges. The server will verify the user is an admin before allowing access.", +"location": "query", +"type": "boolean" +} +}, +"path": "v2/labels", +"request": { +"$ref": "GoogleAppsDriveLabelsV2Label" +}, +"response": { +"$ref": "GoogleAppsDriveLabelsV2Label" +}, +"scopes": [ +"https://www.googleapis.com/auth/drive.admin.labels", +"https://www.googleapis.com/auth/drive.labels" +] +}, +"delete": { +"description": "Permanently deletes a label and related metadata on Drive items. For more information, see [Disable, enable, and delete a label](https://developers.google.com/workspace/drive/labels/guides/disable-delete-label). Once deleted, the label and related Drive item metadata will be deleted. Only draft labels and disabled labels may be deleted.", +"flatPath": "v2/labels/{labelsId}", +"httpMethod": "DELETE", +"id": "drivelabels.labels.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Label resource name.", +"location": "path", +"pattern": "^labels/[^/]+$", +"required": true, +"type": "string" +}, +"useAdminAccess": { +"description": "Set to `true` in order to use the user's admin credentials. The server will verify the user is an admin for the label before allowing access.", +"location": "query", +"type": "boolean" +}, +"writeControl.requiredRevisionId": { +"description": "The revision ID of the label that the write request will be applied to. If this isn't the latest revision of the label, the request will not be processed and will return a 400 Bad Request error.", +"location": "query", +"type": "string" +} +}, +"path": "v2/{+name}", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/drive.admin.labels", +"https://www.googleapis.com/auth/drive.labels" +] +}, +"delta": { +"description": "Updates a single label by applying a set of update requests resulting in a new draft revision. For more information, see [Update a label](https://developers.google.com/workspace/drive/labels/guides/update-label). The batch update is all-or-nothing: If any of the update requests are invalid, no changes are applied. The resulting draft revision must be published before the changes may be used with Drive items.", +"flatPath": "v2/labels/{labelsId}:delta", +"httpMethod": "POST", +"id": "drivelabels.labels.delta", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the label to update.", +"location": "path", +"pattern": "^labels/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+name}:delta", +"request": { +"$ref": "GoogleAppsDriveLabelsV2DeltaUpdateLabelRequest" +}, +"response": { +"$ref": "GoogleAppsDriveLabelsV2DeltaUpdateLabelResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/drive.admin.labels", +"https://www.googleapis.com/auth/drive.labels" +] +}, +"disable": { +"description": "Disable a published label. For more information, see [Disable, enable, and delete a label](https://developers.google.com/workspace/drive/labels/guides/disable-delete-label). Disabling a label will result in a new disabled published revision based on the current published revision. If there's a draft revision, a new disabled draft revision will be created based on the latest draft revision. Older draft revisions will be deleted. Once disabled, a label may be deleted with `DeleteLabel`.", +"flatPath": "v2/labels/{labelsId}:disable", +"httpMethod": "POST", +"id": "drivelabels.labels.disable", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Label resource name.", +"location": "path", +"pattern": "^labels/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+name}:disable", +"request": { +"$ref": "GoogleAppsDriveLabelsV2DisableLabelRequest" +}, +"response": { +"$ref": "GoogleAppsDriveLabelsV2Label" +}, +"scopes": [ +"https://www.googleapis.com/auth/drive.admin.labels", +"https://www.googleapis.com/auth/drive.labels" +] +}, +"enable": { +"description": "Enable a disabled label and restore it to its published state. For more information, see [Disable, enable, and delete a label](https://developers.google.com/workspace/drive/labels/guides/disable-delete-label). This will result in a new published revision based on the current disabled published revision. If there's an existing disabled draft revision, a new revision will be created based on that draft and will be enabled.", +"flatPath": "v2/labels/{labelsId}:enable", +"httpMethod": "POST", +"id": "drivelabels.labels.enable", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Label resource name.", +"location": "path", +"pattern": "^labels/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+name}:enable", +"request": { +"$ref": "GoogleAppsDriveLabelsV2EnableLabelRequest" +}, +"response": { +"$ref": "GoogleAppsDriveLabelsV2Label" +}, +"scopes": [ +"https://www.googleapis.com/auth/drive.admin.labels", +"https://www.googleapis.com/auth/drive.labels" +] +}, +"get": { +"description": "Get a label by its resource name. For more information, see [Search for labels](https://developers.google.com/workspace/drive/labels/guides/search-label). Resource name may be any of: * `labels/{id}` - See `labels/{id}@latest` * `labels/{id}@latest` - Gets the latest revision of the label. * `labels/{id}@published` - Gets the current published revision of the label. * `labels/{id}@{revision_id}` - Gets the label at the specified revision ID.", +"flatPath": "v2/labels/{labelsId}", +"httpMethod": "GET", +"id": "drivelabels.labels.get", +"parameterOrder": [ +"name" +], +"parameters": { +"languageCode": { +"description": "The BCP-47 language code to use for evaluating localized field labels. When not specified, values in the default configured language are used.", +"location": "query", +"type": "string" +}, +"name": { +"description": "Required. Label resource name. May be any of: * `labels/{id}` (equivalent to labels/{id}@latest) * `labels/{id}@latest` * `labels/{id}@published` * `labels/{id}@{revision_id}`", +"location": "path", +"pattern": "^labels/[^/]+$", +"required": true, +"type": "string" +}, +"useAdminAccess": { +"description": "Set to `true` in order to use the user's admin credentials. The server verifies that the user is an admin for the label before allowing access.", +"location": "query", +"type": "boolean" +}, +"view": { +"description": "When specified, only certain fields belonging to the indicated view are returned.", +"enum": [ +"LABEL_VIEW_BASIC", +"LABEL_VIEW_FULL" +], +"enumDescriptions": [ +"Implies the field mask: `name,id,revision_id,label_type,properties.*`", +"All possible fields." +], +"location": "query", +"type": "string" +} +}, +"path": "v2/{+name}", +"response": { +"$ref": "GoogleAppsDriveLabelsV2Label" +}, +"scopes": [ +"https://www.googleapis.com/auth/drive.admin.labels", +"https://www.googleapis.com/auth/drive.admin.labels.readonly", +"https://www.googleapis.com/auth/drive.labels", +"https://www.googleapis.com/auth/drive.labels.readonly" +] +}, +"list": { +"description": "List labels. For more information, see [Search for labels](https://developers.google.com/workspace/drive/labels/guides/search-label).", +"flatPath": "v2/labels", +"httpMethod": "GET", +"id": "drivelabels.labels.list", +"parameterOrder": [], +"parameters": { +"customer": { +"description": "The customer to scope this list request to. For example: `customers/abcd1234`. If unset, will return all labels within the current customer.", +"location": "query", +"type": "string" +}, +"languageCode": { +"description": "The BCP-47 language code to use for evaluating localized field labels. When not specified, values in the default configured language are used.", +"location": "query", +"type": "string" +}, +"minimumRole": { +"description": "Specifies the level of access the user must have on the returned labels. The minimum role a user must have on a label. Defaults to `READER`.", +"enum": [ +"LABEL_ROLE_UNSPECIFIED", +"READER", +"APPLIER", +"ORGANIZER", +"EDITOR" +], +"enumDescriptions": [ +"Unknown role.", +"A reader can read the label and associated metadata applied to Drive items.", +"An applier can write associated metadata on Drive items in which they also have write access to. Implies `READER`.", +"An organizer can pin this label in shared drives they manage and add new appliers to the label.", +"Editors can make any update including deleting the label which also deletes the associated Drive item metadata. Implies `APPLIER`." +], +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Maximum number of labels to return per page. Default: 50. Max: 200.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The token of the page to return.", +"location": "query", +"type": "string" +}, +"publishedOnly": { +"description": "Whether to include only published labels in the results. * When `true`, only the current published label revisions are returned. Disabled labels are included. Returned label resource names reference the published revision (`labels/{id}/{revision_id}`). * When `false`, the current label revisions are returned, which might not be published. Returned label resource names don't reference a specific revision (`labels/{id}`).", +"location": "query", +"type": "boolean" +}, +"useAdminAccess": { +"description": "Set to `true` in order to use the user's admin credentials. This will return all labels within the customer.", +"location": "query", +"type": "boolean" +}, +"view": { +"description": "When specified, only certain fields belonging to the indicated view are returned.", +"enum": [ +"LABEL_VIEW_BASIC", +"LABEL_VIEW_FULL" +], +"enumDescriptions": [ +"Implies the field mask: `name,id,revision_id,label_type,properties.*`", +"All possible fields." +], +"location": "query", +"type": "string" +} +}, +"path": "v2/labels", +"response": { +"$ref": "GoogleAppsDriveLabelsV2ListLabelsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/drive.admin.labels", +"https://www.googleapis.com/auth/drive.admin.labels.readonly", +"https://www.googleapis.com/auth/drive.labels", +"https://www.googleapis.com/auth/drive.labels.readonly" +] +}, +"publish": { +"description": "Publish all draft changes to the label. Once published, the label may not return to its draft state. For more information, see [Create and publish a label](https://developers.google.com/workspace/drive/labels/guides/create-label). Publishing a label will result in a new published revision. All previous draft revisions will be deleted. Previous published revisions will be kept but are subject to automated deletion as needed. For more information, see [Label lifecycle](https://developers.google.com/workspace/drive/labels/guides/label-lifecycle). Once published, some changes are no longer permitted. Generally, any change that would invalidate or cause new restrictions on existing metadata related to the label will be rejected. For example, the following changes to a label will be rejected after the label is published: * The label cannot be directly deleted. It must be disabled first, then deleted. * `Field.FieldType` cannot be changed. * Changes to field validation options cannot reject something that was previously accepted. * Reducing the maximum entries.", +"flatPath": "v2/labels/{labelsId}:publish", +"httpMethod": "POST", +"id": "drivelabels.labels.publish", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Label resource name.", +"location": "path", +"pattern": "^labels/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+name}:publish", +"request": { +"$ref": "GoogleAppsDriveLabelsV2PublishLabelRequest" +}, +"response": { +"$ref": "GoogleAppsDriveLabelsV2Label" +}, +"scopes": [ +"https://www.googleapis.com/auth/drive.admin.labels", +"https://www.googleapis.com/auth/drive.labels" +] +}, +"updateLabelCopyMode": { +"description": "Updates a label's `CopyMode`. Changes to this policy aren't revisioned, don't require publishing, and take effect immediately.", +"flatPath": "v2/labels/{labelsId}:updateLabelCopyMode", +"httpMethod": "POST", +"id": "drivelabels.labels.updateLabelCopyMode", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the label to update.", +"location": "path", +"pattern": "^labels/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+name}:updateLabelCopyMode", +"request": { +"$ref": "GoogleAppsDriveLabelsV2UpdateLabelCopyModeRequest" +}, +"response": { +"$ref": "GoogleAppsDriveLabelsV2Label" +}, +"scopes": [ +"https://www.googleapis.com/auth/drive.admin.labels", +"https://www.googleapis.com/auth/drive.labels" +] +}, +"updateLabelEnabledAppSettings": { +"description": "Updates a label's `EnabledAppSettings`. Enabling a label in a Google Workspace app allows it to be used in that app. This change isn't revisioned, doesn't require publishing, and takes effect immediately.", +"flatPath": "v2/labels/{labelsId}:updateLabelEnabledAppSettings", +"httpMethod": "POST", +"id": "drivelabels.labels.updateLabelEnabledAppSettings", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the label to update. The resource name of the label to update.", +"location": "path", +"pattern": "^labels/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+name}:updateLabelEnabledAppSettings", +"request": { +"$ref": "GoogleAppsDriveLabelsV2UpdateLabelEnabledAppSettingsRequest" +}, +"response": { +"$ref": "GoogleAppsDriveLabelsV2Label" +} +}, +"updatePermissions": { +"description": "Updates a label's permissions. If a permission for the indicated principal doesn't exist, a label permission is created, otherwise the existing permission is updated. Permissions affect the label resource as a whole, aren't revisioned, and don't require publishing.", +"flatPath": "v2/labels/{labelsId}/permissions", +"httpMethod": "PATCH", +"id": "drivelabels.labels.updatePermissions", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The parent label resource name.", +"location": "path", +"pattern": "^labels/[^/]+$", +"required": true, +"type": "string" +}, +"useAdminAccess": { +"description": "Set to `true` in order to use the user's admin credentials. The server will verify the user is an admin for the label before allowing access.", +"location": "query", +"type": "boolean" +} +}, +"path": "v2/{+parent}/permissions", +"request": { +"$ref": "GoogleAppsDriveLabelsV2LabelPermission" +}, +"response": { +"$ref": "GoogleAppsDriveLabelsV2LabelPermission" +}, +"scopes": [ +"https://www.googleapis.com/auth/drive.admin.labels", +"https://www.googleapis.com/auth/drive.labels" +] +} +}, +"resources": { +"locks": { +"methods": { +"list": { +"description": "Lists the label locks on a label.", +"flatPath": "v2/labels/{labelsId}/locks", +"httpMethod": "GET", +"id": "drivelabels.labels.locks.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "Maximum number of locks to return per page. Default: 100. Max: 200.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The token of the page to return.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. Label on which locks are applied. Format: `labels/{label}`.", +"location": "path", +"pattern": "^labels/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+parent}/locks", +"response": { +"$ref": "GoogleAppsDriveLabelsV2ListLabelLocksResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/drive.admin.labels", +"https://www.googleapis.com/auth/drive.admin.labels.readonly", +"https://www.googleapis.com/auth/drive.labels", +"https://www.googleapis.com/auth/drive.labels.readonly" +] +} +} +}, +"permissions": { +"methods": { +"batchDelete": { +"description": "Deletes label permissions. Permissions affect the label resource as a whole, aren't revisioned, and don't require publishing.", +"flatPath": "v2/labels/{labelsId}/permissions:batchDelete", +"httpMethod": "POST", +"id": "drivelabels.labels.permissions.batchDelete", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The parent label resource name shared by all permissions being deleted. Format: `labels/{label}`. If this is set, the parent field in the `UpdateLabelPermissionRequest` messages must either be empty or match this field.", +"location": "path", +"pattern": "^labels/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+parent}/permissions:batchDelete", +"request": { +"$ref": "GoogleAppsDriveLabelsV2BatchDeleteLabelPermissionsRequest" +}, +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/drive.admin.labels", +"https://www.googleapis.com/auth/drive.labels" +] +}, +"batchUpdate": { +"description": "Updates label permissions. If a permission for the indicated principal doesn't exist, a label permission is created, otherwise the existing permission is updated. Permissions affect the label resource as a whole, aren't revisioned, and don't require publishing.", +"flatPath": "v2/labels/{labelsId}/permissions:batchUpdate", +"httpMethod": "POST", +"id": "drivelabels.labels.permissions.batchUpdate", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The parent label resource name shared by all permissions being updated. Format: `labels/{label}`. If this is set, the parent field in the `UpdateLabelPermissionRequest` messages must either be empty or match this field.", +"location": "path", +"pattern": "^labels/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+parent}/permissions:batchUpdate", +"request": { +"$ref": "GoogleAppsDriveLabelsV2BatchUpdateLabelPermissionsRequest" +}, +"response": { +"$ref": "GoogleAppsDriveLabelsV2BatchUpdateLabelPermissionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/drive.admin.labels", +"https://www.googleapis.com/auth/drive.labels" +] +}, +"create": { +"description": "Updates a label's permissions. If a permission for the indicated principal doesn't exist, a label permission is created, otherwise the existing permission is updated. Permissions affect the label resource as a whole, aren't revisioned, and don't require publishing.", +"flatPath": "v2/labels/{labelsId}/permissions", +"httpMethod": "POST", +"id": "drivelabels.labels.permissions.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The parent label resource name on the label permission is created. Format: `labels/{label}`.", +"location": "path", +"pattern": "^labels/[^/]+$", +"required": true, +"type": "string" +}, +"useAdminAccess": { +"description": "Set to `true` in order to use the user's admin credentials. The server will verify the user is an admin for the label before allowing access.", +"location": "query", +"type": "boolean" +} +}, +"path": "v2/{+parent}/permissions", +"request": { +"$ref": "GoogleAppsDriveLabelsV2LabelPermission" +}, +"response": { +"$ref": "GoogleAppsDriveLabelsV2LabelPermission" +}, +"scopes": [ +"https://www.googleapis.com/auth/drive.admin.labels", +"https://www.googleapis.com/auth/drive.labels" +] +}, +"delete": { +"description": "Deletes a label's permission. Permissions affect the label resource as a whole, aren't revisioned, and don't require publishing.", +"flatPath": "v2/labels/{labelsId}/permissions/{permissionsId}", +"httpMethod": "DELETE", +"id": "drivelabels.labels.permissions.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Label permission resource name.", +"location": "path", +"pattern": "^labels/[^/]+/permissions/[^/]+$", +"required": true, +"type": "string" +}, +"useAdminAccess": { +"description": "Set to `true` in order to use the user's admin credentials. The server will verify the user is an admin for the label before allowing access.", +"location": "query", +"type": "boolean" +} +}, +"path": "v2/{+name}", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/drive.admin.labels", +"https://www.googleapis.com/auth/drive.labels" +] +}, +"list": { +"description": "Lists a label's permissions.", +"flatPath": "v2/labels/{labelsId}/permissions", +"httpMethod": "GET", +"id": "drivelabels.labels.permissions.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "Maximum number of permissions to return per page. Default: 50. Max: 200.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The token of the page to return.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent label resource name on which label permissions are listed. Format: `labels/{label}`.", +"location": "path", +"pattern": "^labels/[^/]+$", +"required": true, +"type": "string" +}, +"useAdminAccess": { +"description": "Set to `true` in order to use the user's admin credentials. The server will verify the user is an admin for the label before allowing access.", +"location": "query", +"type": "boolean" +} +}, +"path": "v2/{+parent}/permissions", +"response": { +"$ref": "GoogleAppsDriveLabelsV2ListLabelPermissionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/drive.admin.labels", +"https://www.googleapis.com/auth/drive.admin.labels.readonly", +"https://www.googleapis.com/auth/drive.labels", +"https://www.googleapis.com/auth/drive.labels.readonly" +] +} +} +}, +"revisions": { +"methods": { +"updatePermissions": { +"description": "Updates a label's permissions. If a permission for the indicated principal doesn't exist, a label permission is created, otherwise the existing permission is updated. Permissions affect the label resource as a whole, aren't revisioned, and don't require publishing.", +"flatPath": "v2/labels/{labelsId}/revisions/{revisionsId}/permissions", +"httpMethod": "PATCH", +"id": "drivelabels.labels.revisions.updatePermissions", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The parent label resource name.", +"location": "path", +"pattern": "^labels/[^/]+/revisions/[^/]+$", +"required": true, +"type": "string" +}, +"useAdminAccess": { +"description": "Set to `true` in order to use the user's admin credentials. The server will verify the user is an admin for the label before allowing access.", +"location": "query", +"type": "boolean" +} +}, +"path": "v2/{+parent}/permissions", +"request": { +"$ref": "GoogleAppsDriveLabelsV2LabelPermission" +}, +"response": { +"$ref": "GoogleAppsDriveLabelsV2LabelPermission" +}, +"scopes": [ +"https://www.googleapis.com/auth/drive.admin.labels", +"https://www.googleapis.com/auth/drive.labels" +] +} +}, +"resources": { +"locks": { +"methods": { +"list": { +"description": "Lists the label locks on a label.", +"flatPath": "v2/labels/{labelsId}/revisions/{revisionsId}/locks", +"httpMethod": "GET", +"id": "drivelabels.labels.revisions.locks.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "Maximum number of locks to return per page. Default: 100. Max: 200.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The token of the page to return.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. Label on which locks are applied. Format: `labels/{label}`.", +"location": "path", +"pattern": "^labels/[^/]+/revisions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+parent}/locks", +"response": { +"$ref": "GoogleAppsDriveLabelsV2ListLabelLocksResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/drive.admin.labels", +"https://www.googleapis.com/auth/drive.admin.labels.readonly", +"https://www.googleapis.com/auth/drive.labels", +"https://www.googleapis.com/auth/drive.labels.readonly" +] +} +} +}, +"permissions": { +"methods": { +"batchDelete": { +"description": "Deletes label permissions. Permissions affect the label resource as a whole, aren't revisioned, and don't require publishing.", +"flatPath": "v2/labels/{labelsId}/revisions/{revisionsId}/permissions:batchDelete", +"httpMethod": "POST", +"id": "drivelabels.labels.revisions.permissions.batchDelete", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The parent label resource name shared by all permissions being deleted. Format: `labels/{label}`. If this is set, the parent field in the `UpdateLabelPermissionRequest` messages must either be empty or match this field.", +"location": "path", +"pattern": "^labels/[^/]+/revisions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+parent}/permissions:batchDelete", +"request": { +"$ref": "GoogleAppsDriveLabelsV2BatchDeleteLabelPermissionsRequest" +}, +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/drive.admin.labels", +"https://www.googleapis.com/auth/drive.labels" +] +}, +"batchUpdate": { +"description": "Updates label permissions. If a permission for the indicated principal doesn't exist, a label permission is created, otherwise the existing permission is updated. Permissions affect the label resource as a whole, aren't revisioned, and don't require publishing.", +"flatPath": "v2/labels/{labelsId}/revisions/{revisionsId}/permissions:batchUpdate", +"httpMethod": "POST", +"id": "drivelabels.labels.revisions.permissions.batchUpdate", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The parent label resource name shared by all permissions being updated. Format: `labels/{label}`. If this is set, the parent field in the `UpdateLabelPermissionRequest` messages must either be empty or match this field.", +"location": "path", +"pattern": "^labels/[^/]+/revisions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+parent}/permissions:batchUpdate", +"request": { +"$ref": "GoogleAppsDriveLabelsV2BatchUpdateLabelPermissionsRequest" +}, +"response": { +"$ref": "GoogleAppsDriveLabelsV2BatchUpdateLabelPermissionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/drive.admin.labels", +"https://www.googleapis.com/auth/drive.labels" +] +}, +"create": { +"description": "Updates a label's permissions. If a permission for the indicated principal doesn't exist, a label permission is created, otherwise the existing permission is updated. Permissions affect the label resource as a whole, aren't revisioned, and don't require publishing.", +"flatPath": "v2/labels/{labelsId}/revisions/{revisionsId}/permissions", +"httpMethod": "POST", +"id": "drivelabels.labels.revisions.permissions.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The parent label resource name on the label permission is created. Format: `labels/{label}`.", +"location": "path", +"pattern": "^labels/[^/]+/revisions/[^/]+$", +"required": true, +"type": "string" +}, +"useAdminAccess": { +"description": "Set to `true` in order to use the user's admin credentials. The server will verify the user is an admin for the label before allowing access.", +"location": "query", +"type": "boolean" +} +}, +"path": "v2/{+parent}/permissions", +"request": { +"$ref": "GoogleAppsDriveLabelsV2LabelPermission" +}, +"response": { +"$ref": "GoogleAppsDriveLabelsV2LabelPermission" +}, +"scopes": [ +"https://www.googleapis.com/auth/drive.admin.labels", +"https://www.googleapis.com/auth/drive.labels" +] +}, +"delete": { +"description": "Deletes a label's permission. Permissions affect the label resource as a whole, aren't revisioned, and don't require publishing.", +"flatPath": "v2/labels/{labelsId}/revisions/{revisionsId}/permissions/{permissionsId}", +"httpMethod": "DELETE", +"id": "drivelabels.labels.revisions.permissions.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Label permission resource name.", +"location": "path", +"pattern": "^labels/[^/]+/revisions/[^/]+/permissions/[^/]+$", +"required": true, +"type": "string" +}, +"useAdminAccess": { +"description": "Set to `true` in order to use the user's admin credentials. The server will verify the user is an admin for the label before allowing access.", +"location": "query", +"type": "boolean" +} +}, +"path": "v2/{+name}", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/drive.admin.labels", +"https://www.googleapis.com/auth/drive.labels" +] +}, +"list": { +"description": "Lists a label's permissions.", +"flatPath": "v2/labels/{labelsId}/revisions/{revisionsId}/permissions", +"httpMethod": "GET", +"id": "drivelabels.labels.revisions.permissions.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "Maximum number of permissions to return per page. Default: 50. Max: 200.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The token of the page to return.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent label resource name on which label permissions are listed. Format: `labels/{label}`.", +"location": "path", +"pattern": "^labels/[^/]+/revisions/[^/]+$", +"required": true, +"type": "string" +}, +"useAdminAccess": { +"description": "Set to `true` in order to use the user's admin credentials. The server will verify the user is an admin for the label before allowing access.", +"location": "query", +"type": "boolean" +} +}, +"path": "v2/{+parent}/permissions", +"response": { +"$ref": "GoogleAppsDriveLabelsV2ListLabelPermissionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/drive.admin.labels", +"https://www.googleapis.com/auth/drive.admin.labels.readonly", +"https://www.googleapis.com/auth/drive.labels", +"https://www.googleapis.com/auth/drive.labels.readonly" +] +} +} +} +} +} +} +}, +"limits": { +"methods": { +"getLabel": { +"description": "Get the constraints on the structure of a label; such as, the maximum number of fields allowed and maximum length of the label title.", +"flatPath": "v2/limits/label", +"httpMethod": "GET", +"id": "drivelabels.limits.getLabel", +"parameterOrder": [], +"parameters": { +"name": { +"description": "Required. Label revision resource name must be: \"limits/label\".", +"location": "query", +"type": "string" +} +}, +"path": "v2/limits/label", +"response": { +"$ref": "GoogleAppsDriveLabelsV2LabelLimits" +}, +"scopes": [ +"https://www.googleapis.com/auth/drive.admin.labels", +"https://www.googleapis.com/auth/drive.admin.labels.readonly", +"https://www.googleapis.com/auth/drive.labels", +"https://www.googleapis.com/auth/drive.labels.readonly" +] +} +} +}, +"users": { +"methods": { +"getCapabilities": { +"description": "Gets the user capabilities.", +"flatPath": "v2/users/{usersId}/capabilities", +"httpMethod": "GET", +"id": "drivelabels.users.getCapabilities", +"parameterOrder": [ +"name" +], +"parameters": { +"customer": { +"description": "The customer to scope this request to. For example: `customers/abcd1234`. If unset, it will return settings within the current customer.", +"location": "query", +"type": "string" +}, +"name": { +"description": "Required. The resource name of the user. Only \"users/me/capabilities\" is supported.", +"location": "path", +"pattern": "^users/[^/]+/capabilities$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+name}", +"response": { +"$ref": "GoogleAppsDriveLabelsV2UserCapabilities" +}, +"scopes": [ +"https://www.googleapis.com/auth/drive.admin.labels", +"https://www.googleapis.com/auth/drive.admin.labels.readonly", +"https://www.googleapis.com/auth/drive.labels", +"https://www.googleapis.com/auth/drive.labels.readonly" +] +} +} +} +}, +"revision": "20250807", +"rootUrl": "https://drivelabels.googleapis.com/", +"schemas": { +"GoogleAppsDriveLabelsV2BadgeColors": { +"description": "The color derived from BadgeConfig and changed to the closest recommended supported color.", +"id": "GoogleAppsDriveLabelsV2BadgeColors", +"properties": { +"backgroundColor": { +"$ref": "GoogleTypeColor", +"description": "Output only. Badge background that pairs with the foreground.", +"readOnly": true +}, +"foregroundColor": { +"$ref": "GoogleTypeColor", +"description": "Output only. Badge foreground that pairs with the background.", +"readOnly": true +}, +"soloColor": { +"$ref": "GoogleTypeColor", +"description": "Output only. Color that can be used for text without a background.", +"readOnly": true +} +}, +"type": "object" +}, +"GoogleAppsDriveLabelsV2BadgeConfig": { +"description": "Badge status of the label.", +"id": "GoogleAppsDriveLabelsV2BadgeConfig", +"properties": { +"color": { +"$ref": "GoogleTypeColor", +"description": "The color of the badge. When not specified, no badge is rendered. The background, foreground, and solo (light and dark mode) colors set here are changed in the Drive UI into the closest recommended supported color." +}, +"priorityOverride": { +"description": "Override the default global priority of this badge. When set to 0, the default priority heuristic is used.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"GoogleAppsDriveLabelsV2BatchDeleteLabelPermissionsRequest": { +"description": "Deletes one or more label permissions.", +"id": "GoogleAppsDriveLabelsV2BatchDeleteLabelPermissionsRequest", +"properties": { +"requests": { +"description": "Required. The request message specifying the resources to update.", +"items": { +"$ref": "GoogleAppsDriveLabelsV2DeleteLabelPermissionRequest" +}, +"type": "array" +}, +"useAdminAccess": { +"description": "Set to `true` in order to use the user's admin credentials. The server will verify the user is an admin for the label before allowing access. If this is set, the `use_admin_access` field in the `DeleteLabelPermissionRequest` messages must either be empty or match this field.", +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleAppsDriveLabelsV2BatchUpdateLabelPermissionsRequest": { +"description": "Updates one or more label permissions.", +"id": "GoogleAppsDriveLabelsV2BatchUpdateLabelPermissionsRequest", +"properties": { +"requests": { +"description": "Required. The request message specifying the resources to update.", +"items": { +"$ref": "GoogleAppsDriveLabelsV2UpdateLabelPermissionRequest" +}, +"type": "array" +}, +"useAdminAccess": { +"description": "Set to `true` in order to use the user's admin credentials. The server will verify the user is an admin for the label before allowing access. If this is set, the `use_admin_access` field in the `UpdateLabelPermissionRequest` messages must either be empty or match this field.", +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleAppsDriveLabelsV2BatchUpdateLabelPermissionsResponse": { +"description": "Response for updating one or more label permissions.", +"id": "GoogleAppsDriveLabelsV2BatchUpdateLabelPermissionsResponse", +"properties": { +"permissions": { +"description": "Required. Permissions updated.", +"items": { +"$ref": "GoogleAppsDriveLabelsV2LabelPermission" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleAppsDriveLabelsV2DateLimits": { +"description": "Limits for date field type.", +"id": "GoogleAppsDriveLabelsV2DateLimits", +"properties": { +"maxValue": { +"$ref": "GoogleTypeDate", +"description": "Maximum value for the date field type." +}, +"minValue": { +"$ref": "GoogleTypeDate", +"description": "Minimum value for the date field type." +} +}, +"type": "object" +}, +"GoogleAppsDriveLabelsV2DeleteLabelPermissionRequest": { +"description": "Deletes a label permission. Permissions affect the label resource as a whole, aren't revisioned, and don't require publishing.", +"id": "GoogleAppsDriveLabelsV2DeleteLabelPermissionRequest", +"properties": { +"name": { +"description": "Required. Label permission resource name.", +"type": "string" +}, +"useAdminAccess": { +"description": "Set to `true` in order to use the user's admin credentials. The server will verify the user is an admin for the label before allowing access.", +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleAppsDriveLabelsV2DeltaUpdateLabelRequest": { +"description": "The set of requests for updating aspects of a label. If any request isn't valid, no requests will be applied.", +"id": "GoogleAppsDriveLabelsV2DeltaUpdateLabelRequest", +"properties": { +"languageCode": { +"description": "The BCP-47 language code to use for evaluating localized field labels when `include_label_in_response` is `true`.", +"type": "string" +}, +"requests": { +"description": "A list of updates to apply to the label. Requests will be applied in the order they are specified.", +"items": { +"$ref": "GoogleAppsDriveLabelsV2DeltaUpdateLabelRequestRequest" +}, +"type": "array" +}, +"useAdminAccess": { +"description": "Set to `true` in order to use the user's admin credentials. The server will verify the user is an admin for the label before allowing access.", +"type": "boolean" +}, +"view": { +"description": "When specified, only certain fields belonging to the indicated view will be returned.", +"enum": [ +"LABEL_VIEW_BASIC", +"LABEL_VIEW_FULL" +], +"enumDescriptions": [ +"Implies the field mask: `name,id,revision_id,label_type,properties.*`", +"All possible fields." +], +"type": "string" +}, +"writeControl": { +"$ref": "GoogleAppsDriveLabelsV2WriteControl", +"description": "Provides control over how write requests are executed." +} +}, +"type": "object" +}, +"GoogleAppsDriveLabelsV2DeltaUpdateLabelRequestCreateFieldRequest": { +"description": "Request to create a field within a label.", +"id": "GoogleAppsDriveLabelsV2DeltaUpdateLabelRequestCreateFieldRequest", +"properties": { +"field": { +"$ref": "GoogleAppsDriveLabelsV2Field", +"description": "Required. Field to create." +} +}, +"type": "object" +}, +"GoogleAppsDriveLabelsV2DeltaUpdateLabelRequestCreateSelectionChoiceRequest": { +"description": "Request to create a selection choice.", +"id": "GoogleAppsDriveLabelsV2DeltaUpdateLabelRequestCreateSelectionChoiceRequest", +"properties": { +"choice": { +"$ref": "GoogleAppsDriveLabelsV2FieldSelectionOptionsChoice", +"description": "Required. The choice to create." +}, +"fieldId": { +"description": "Required. The selection field in which a choice will be created.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleAppsDriveLabelsV2DeltaUpdateLabelRequestDeleteFieldRequest": { +"description": "Request to delete the field.", +"id": "GoogleAppsDriveLabelsV2DeltaUpdateLabelRequestDeleteFieldRequest", +"properties": { +"id": { +"description": "Required. ID of the field to delete.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleAppsDriveLabelsV2DeltaUpdateLabelRequestDeleteSelectionChoiceRequest": { +"description": "Request to delete a choice.", +"id": "GoogleAppsDriveLabelsV2DeltaUpdateLabelRequestDeleteSelectionChoiceRequest", +"properties": { +"fieldId": { +"description": "Required. The selection field from which a choice will be deleted.", +"type": "string" +}, +"id": { +"description": "Required. Choice to delete.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleAppsDriveLabelsV2DeltaUpdateLabelRequestDisableFieldRequest": { +"description": "Request to disable the field.", +"id": "GoogleAppsDriveLabelsV2DeltaUpdateLabelRequestDisableFieldRequest", +"properties": { +"disabledPolicy": { +"$ref": "GoogleAppsDriveLabelsV2LifecycleDisabledPolicy", +"description": "Required. Field disabled policy." +}, +"id": { +"description": "Required. Key of the field to disable.", +"type": "string" +}, +"updateMask": { +"description": "The fields that should be updated. At least one field must be specified. The root `disabled_policy` is implied and should not be specified. A single `*` can be used as a short-hand for updating every field.", +"format": "google-fieldmask", +"type": "string" +} +}, +"type": "object" +}, +"GoogleAppsDriveLabelsV2DeltaUpdateLabelRequestDisableSelectionChoiceRequest": { +"description": "Request to disable a choice.", +"id": "GoogleAppsDriveLabelsV2DeltaUpdateLabelRequestDisableSelectionChoiceRequest", +"properties": { +"disabledPolicy": { +"$ref": "GoogleAppsDriveLabelsV2LifecycleDisabledPolicy", +"description": "Required. The disabled policy to update." +}, +"fieldId": { +"description": "Required. The selection field in which a choice will be disabled.", +"type": "string" +}, +"id": { +"description": "Required. Choice to disable.", +"type": "string" +}, +"updateMask": { +"description": "The fields that should be updated. At least one field must be specified. The root `disabled_policy` is implied and should not be specified. A single `*` can be used as a short-hand for updating every field.", +"format": "google-fieldmask", +"type": "string" +} +}, +"type": "object" +}, +"GoogleAppsDriveLabelsV2DeltaUpdateLabelRequestEnableFieldRequest": { +"description": "Request to enable the field.", +"id": "GoogleAppsDriveLabelsV2DeltaUpdateLabelRequestEnableFieldRequest", +"properties": { +"id": { +"description": "Required. ID of the field to enable.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleAppsDriveLabelsV2DeltaUpdateLabelRequestEnableSelectionChoiceRequest": { +"description": "Request to enable a choice.", +"id": "GoogleAppsDriveLabelsV2DeltaUpdateLabelRequestEnableSelectionChoiceRequest", +"properties": { +"fieldId": { +"description": "Required. The selection field in which a choice will be enabled.", +"type": "string" +}, +"id": { +"description": "Required. Choice to enable.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleAppsDriveLabelsV2DeltaUpdateLabelRequestRequest": { +"description": "A single kind of update to apply to a label.", +"id": "GoogleAppsDriveLabelsV2DeltaUpdateLabelRequestRequest", +"properties": { +"createField": { +"$ref": "GoogleAppsDriveLabelsV2DeltaUpdateLabelRequestCreateFieldRequest", +"description": "Creates a field." +}, +"createSelectionChoice": { +"$ref": "GoogleAppsDriveLabelsV2DeltaUpdateLabelRequestCreateSelectionChoiceRequest", +"description": "Create a choice within a selection field." +}, +"deleteField": { +"$ref": "GoogleAppsDriveLabelsV2DeltaUpdateLabelRequestDeleteFieldRequest", +"description": "Deletes a field from the label." +}, +"deleteSelectionChoice": { +"$ref": "GoogleAppsDriveLabelsV2DeltaUpdateLabelRequestDeleteSelectionChoiceRequest", +"description": "Delete a choice within a selection field." +}, +"disableField": { +"$ref": "GoogleAppsDriveLabelsV2DeltaUpdateLabelRequestDisableFieldRequest", +"description": "Disables the field." +}, +"disableSelectionChoice": { +"$ref": "GoogleAppsDriveLabelsV2DeltaUpdateLabelRequestDisableSelectionChoiceRequest", +"description": "Disable a choice within a selection field." +}, +"enableField": { +"$ref": "GoogleAppsDriveLabelsV2DeltaUpdateLabelRequestEnableFieldRequest", +"description": "Enables the field." +}, +"enableSelectionChoice": { +"$ref": "GoogleAppsDriveLabelsV2DeltaUpdateLabelRequestEnableSelectionChoiceRequest", +"description": "Enable a choice within a selection field." +}, +"updateField": { +"$ref": "GoogleAppsDriveLabelsV2DeltaUpdateLabelRequestUpdateFieldPropertiesRequest", +"description": "Updates basic properties of a field." +}, +"updateFieldType": { +"$ref": "GoogleAppsDriveLabelsV2DeltaUpdateLabelRequestUpdateFieldTypeRequest", +"description": "Update field type and/or type options." +}, +"updateLabel": { +"$ref": "GoogleAppsDriveLabelsV2DeltaUpdateLabelRequestUpdateLabelPropertiesRequest", +"description": "Updates the label properties." +}, +"updateSelectionChoiceProperties": { +"$ref": "GoogleAppsDriveLabelsV2DeltaUpdateLabelRequestUpdateSelectionChoicePropertiesRequest", +"description": "Update a choice property within a selection field." +} +}, +"type": "object" +}, +"GoogleAppsDriveLabelsV2DeltaUpdateLabelRequestUpdateFieldPropertiesRequest": { +"description": "Request to update field properties.", +"id": "GoogleAppsDriveLabelsV2DeltaUpdateLabelRequestUpdateFieldPropertiesRequest", +"properties": { +"id": { +"description": "Required. The field to update.", +"type": "string" +}, +"properties": { +"$ref": "GoogleAppsDriveLabelsV2FieldProperties", +"description": "Required. Basic field properties." +}, +"updateMask": { +"description": "The fields that should be updated. At least one field must be specified. The root `properties` is implied and should not be specified. A single `*` can be used as a short-hand for updating every field.", +"format": "google-fieldmask", +"type": "string" +} +}, +"type": "object" +}, +"GoogleAppsDriveLabelsV2DeltaUpdateLabelRequestUpdateFieldTypeRequest": { +"description": "Request to change the type of a field.", +"id": "GoogleAppsDriveLabelsV2DeltaUpdateLabelRequestUpdateFieldTypeRequest", +"properties": { +"dateOptions": { +"$ref": "GoogleAppsDriveLabelsV2FieldDateOptions", +"description": "Update field to Date." +}, +"id": { +"description": "Required. The field to update.", +"type": "string" +}, +"integerOptions": { +"$ref": "GoogleAppsDriveLabelsV2FieldIntegerOptions", +"description": "Update field to Integer." +}, +"selectionOptions": { +"$ref": "GoogleAppsDriveLabelsV2FieldSelectionOptions", +"description": "Update field to Selection." +}, +"textOptions": { +"$ref": "GoogleAppsDriveLabelsV2FieldTextOptions", +"description": "Update field to Text." +}, +"updateMask": { +"description": "The fields that should be updated. At least one field must be specified. The root of `type_options` is implied and should not be specified. A single `*` can be used as a short-hand for updating every field.", +"format": "google-fieldmask", +"type": "string" +}, +"userOptions": { +"$ref": "GoogleAppsDriveLabelsV2FieldUserOptions", +"description": "Update field to User." +} +}, +"type": "object" +}, +"GoogleAppsDriveLabelsV2DeltaUpdateLabelRequestUpdateLabelPropertiesRequest": { +"description": "Updates basic properties of a label.", +"id": "GoogleAppsDriveLabelsV2DeltaUpdateLabelRequestUpdateLabelPropertiesRequest", +"properties": { +"properties": { +"$ref": "GoogleAppsDriveLabelsV2LabelProperties", +"description": "Required. Label properties to update." +}, +"updateMask": { +"description": "The fields that should be updated. At least one field must be specified. The root `label_properties` is implied and should not be specified. A single `*` can be used as a short-hand for updating every field.", +"format": "google-fieldmask", +"type": "string" +} +}, +"type": "object" +}, +"GoogleAppsDriveLabelsV2DeltaUpdateLabelRequestUpdateSelectionChoicePropertiesRequest": { +"description": "Request to update a choice property.", +"id": "GoogleAppsDriveLabelsV2DeltaUpdateLabelRequestUpdateSelectionChoicePropertiesRequest", +"properties": { +"fieldId": { +"description": "Required. The selection field to update.", +"type": "string" +}, +"id": { +"description": "Required. The choice to update.", +"type": "string" +}, +"properties": { +"$ref": "GoogleAppsDriveLabelsV2FieldSelectionOptionsChoiceProperties", +"description": "Required. The choice properties to update." +}, +"updateMask": { +"description": "The fields that should be updated. At least one field must be specified. The root `properties` is implied and should not be specified. A single `*` can be used as a short-hand for updating every field.", +"format": "google-fieldmask", +"type": "string" +} +}, +"type": "object" +}, +"GoogleAppsDriveLabelsV2DeltaUpdateLabelResponse": { +"description": "Response for label update.", +"id": "GoogleAppsDriveLabelsV2DeltaUpdateLabelResponse", +"properties": { +"responses": { +"description": "The reply of the updates. This maps 1:1 with the updates, although responses to some requests may be empty.", +"items": { +"$ref": "GoogleAppsDriveLabelsV2DeltaUpdateLabelResponseResponse" +}, +"type": "array" +}, +"updatedLabel": { +"$ref": "GoogleAppsDriveLabelsV2Label", +"description": "The label after updates were applied. This is only set if `include_label_in_response` is `true` and there were no errors." +} +}, +"type": "object" +}, +"GoogleAppsDriveLabelsV2DeltaUpdateLabelResponseCreateFieldResponse": { +"description": "Response following field create.", +"id": "GoogleAppsDriveLabelsV2DeltaUpdateLabelResponseCreateFieldResponse", +"properties": { +"id": { +"description": "The field of the created field. When left blank in a create request, a key will be autogenerated and can be identified here.", +"type": "string" +}, +"priority": { +"description": "The priority of the created field. The priority may change from what was specified to assure contiguous priorities between fields (1-n).", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"GoogleAppsDriveLabelsV2DeltaUpdateLabelResponseCreateSelectionChoiceResponse": { +"description": "Response following selection choice create.", +"id": "GoogleAppsDriveLabelsV2DeltaUpdateLabelResponseCreateSelectionChoiceResponse", +"properties": { +"fieldId": { +"description": "The server-generated ID of the field.", +"type": "string" +}, +"id": { +"description": "The server-generated ID of the created choice within the field.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleAppsDriveLabelsV2DeltaUpdateLabelResponseDeleteFieldResponse": { +"description": "Response following field delete.", +"id": "GoogleAppsDriveLabelsV2DeltaUpdateLabelResponseDeleteFieldResponse", +"properties": {}, +"type": "object" +}, +"GoogleAppsDriveLabelsV2DeltaUpdateLabelResponseDeleteSelectionChoiceResponse": { +"description": "Response following choice delete.", +"id": "GoogleAppsDriveLabelsV2DeltaUpdateLabelResponseDeleteSelectionChoiceResponse", +"properties": {}, +"type": "object" +}, +"GoogleAppsDriveLabelsV2DeltaUpdateLabelResponseDisableFieldResponse": { +"description": "Response following field disable.", +"id": "GoogleAppsDriveLabelsV2DeltaUpdateLabelResponseDisableFieldResponse", +"properties": {}, +"type": "object" +}, +"GoogleAppsDriveLabelsV2DeltaUpdateLabelResponseDisableSelectionChoiceResponse": { +"description": "Response following choice disable.", +"id": "GoogleAppsDriveLabelsV2DeltaUpdateLabelResponseDisableSelectionChoiceResponse", +"properties": {}, +"type": "object" +}, +"GoogleAppsDriveLabelsV2DeltaUpdateLabelResponseEnableFieldResponse": { +"description": "Response following field enable.", +"id": "GoogleAppsDriveLabelsV2DeltaUpdateLabelResponseEnableFieldResponse", +"properties": {}, +"type": "object" +}, +"GoogleAppsDriveLabelsV2DeltaUpdateLabelResponseEnableSelectionChoiceResponse": { +"description": "Response following choice enable.", +"id": "GoogleAppsDriveLabelsV2DeltaUpdateLabelResponseEnableSelectionChoiceResponse", +"properties": {}, +"type": "object" +}, +"GoogleAppsDriveLabelsV2DeltaUpdateLabelResponseResponse": { +"description": "A single response from an update.", +"id": "GoogleAppsDriveLabelsV2DeltaUpdateLabelResponseResponse", +"properties": { +"createField": { +"$ref": "GoogleAppsDriveLabelsV2DeltaUpdateLabelResponseCreateFieldResponse", +"description": "Creates a field." +}, +"createSelectionChoice": { +"$ref": "GoogleAppsDriveLabelsV2DeltaUpdateLabelResponseCreateSelectionChoiceResponse", +"description": "Creates a selection list option to add to a selection field." +}, +"deleteField": { +"$ref": "GoogleAppsDriveLabelsV2DeltaUpdateLabelResponseDeleteFieldResponse", +"description": "Deletes a field from the label." +}, +"deleteSelectionChoice": { +"$ref": "GoogleAppsDriveLabelsV2DeltaUpdateLabelResponseDeleteSelectionChoiceResponse", +"description": "Deletes a choice from a selection field." +}, +"disableField": { +"$ref": "GoogleAppsDriveLabelsV2DeltaUpdateLabelResponseDisableFieldResponse", +"description": "Disables field." +}, +"disableSelectionChoice": { +"$ref": "GoogleAppsDriveLabelsV2DeltaUpdateLabelResponseDisableSelectionChoiceResponse", +"description": "Disables a choice within a selection field." +}, +"enableField": { +"$ref": "GoogleAppsDriveLabelsV2DeltaUpdateLabelResponseEnableFieldResponse", +"description": "Enables field." +}, +"enableSelectionChoice": { +"$ref": "GoogleAppsDriveLabelsV2DeltaUpdateLabelResponseEnableSelectionChoiceResponse", +"description": "Enables a choice within a selection field." +}, +"updateField": { +"$ref": "GoogleAppsDriveLabelsV2DeltaUpdateLabelResponseUpdateFieldPropertiesResponse", +"description": "Updates basic properties of a field." +}, +"updateFieldType": { +"$ref": "GoogleAppsDriveLabelsV2DeltaUpdateLabelResponseUpdateFieldTypeResponse", +"description": "Updates field type and/or type options." +}, +"updateLabel": { +"$ref": "GoogleAppsDriveLabelsV2DeltaUpdateLabelResponseUpdateLabelPropertiesResponse", +"description": "Updates basic properties of a label." +}, +"updateSelectionChoiceProperties": { +"$ref": "GoogleAppsDriveLabelsV2DeltaUpdateLabelResponseUpdateSelectionChoicePropertiesResponse", +"description": "Updates a choice within a selection field." +} +}, +"type": "object" +}, +"GoogleAppsDriveLabelsV2DeltaUpdateLabelResponseUpdateFieldPropertiesResponse": { +"description": "Response following update to field properties.", +"id": "GoogleAppsDriveLabelsV2DeltaUpdateLabelResponseUpdateFieldPropertiesResponse", +"properties": { +"priority": { +"description": "The priority of the updated field. The priority may change from what was specified to assure contiguous priorities between fields (1-n).", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"GoogleAppsDriveLabelsV2DeltaUpdateLabelResponseUpdateFieldTypeResponse": { +"description": "Response following update to field type.", +"id": "GoogleAppsDriveLabelsV2DeltaUpdateLabelResponseUpdateFieldTypeResponse", +"properties": {}, +"type": "object" +}, +"GoogleAppsDriveLabelsV2DeltaUpdateLabelResponseUpdateLabelPropertiesResponse": { +"description": "Response following update to label properties.", +"id": "GoogleAppsDriveLabelsV2DeltaUpdateLabelResponseUpdateLabelPropertiesResponse", +"properties": {}, +"type": "object" +}, +"GoogleAppsDriveLabelsV2DeltaUpdateLabelResponseUpdateSelectionChoicePropertiesResponse": { +"description": "Response following update to selection choice properties.", +"id": "GoogleAppsDriveLabelsV2DeltaUpdateLabelResponseUpdateSelectionChoicePropertiesResponse", +"properties": { +"priority": { +"description": "The priority of the updated choice. The priority may change from what was specified to assure contiguous priorities between choices (1-n).", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"GoogleAppsDriveLabelsV2DisableLabelRequest": { +"description": "Request to deprecate a published label.", +"id": "GoogleAppsDriveLabelsV2DisableLabelRequest", +"properties": { +"disabledPolicy": { +"$ref": "GoogleAppsDriveLabelsV2LifecycleDisabledPolicy", +"description": "Disabled policy to use." +}, +"languageCode": { +"description": "The BCP-47 language code to use for evaluating localized field labels. When not specified, values in the default configured language will be used.", +"type": "string" +}, +"updateMask": { +"description": "The fields that should be updated. At least one field must be specified. The root `disabled_policy` is implied and should not be specified. A single `*` can be used as a short-hand for updating every field.", +"format": "google-fieldmask", +"type": "string" +}, +"useAdminAccess": { +"description": "Set to `true` in order to use the user's admin credentials. The server will verify the user is an admin for the label before allowing access.", +"type": "boolean" +}, +"writeControl": { +"$ref": "GoogleAppsDriveLabelsV2WriteControl", +"description": "Provides control over how write requests are executed. Defaults to unset, which means the last write wins." +} +}, +"type": "object" +}, +"GoogleAppsDriveLabelsV2EnableLabelRequest": { +"description": "Request to enable a label.", +"id": "GoogleAppsDriveLabelsV2EnableLabelRequest", +"properties": { +"languageCode": { +"description": "The BCP-47 language code to use for evaluating localized field labels. When not specified, values in the default configured language will be used.", +"type": "string" +}, +"useAdminAccess": { +"description": "Set to `true` in order to use the user's admin credentials. The server will verify the user is an admin for the label before allowing access.", +"type": "boolean" +}, +"writeControl": { +"$ref": "GoogleAppsDriveLabelsV2WriteControl", +"description": "Provides control over how write requests are executed. Defaults to unset, which means the last write wins." +} +}, +"type": "object" +}, +"GoogleAppsDriveLabelsV2Field": { +"description": "Defines a field that has a display name, data type, and other configuration options. This field defines the kind of metadata that may be set on a Drive item.", +"id": "GoogleAppsDriveLabelsV2Field", +"properties": { +"appliedCapabilities": { +"$ref": "GoogleAppsDriveLabelsV2FieldAppliedCapabilities", +"description": "Output only. The capabilities this user has on this field and its value when the label is applied on Drive items.", +"readOnly": true +}, +"createTime": { +"description": "Output only. The time this field was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"creator": { +"$ref": "GoogleAppsDriveLabelsV2UserInfo", +"description": "Output only. The user who created this field.", +"readOnly": true +}, +"dateOptions": { +"$ref": "GoogleAppsDriveLabelsV2FieldDateOptions", +"description": "Date field options." +}, +"disableTime": { +"description": "Output only. The time this field was disabled. This value has no meaning when the field is not disabled.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"disabler": { +"$ref": "GoogleAppsDriveLabelsV2UserInfo", +"description": "Output only. The user who disabled this field. This value has no meaning when the field is not disabled.", +"readOnly": true +}, +"displayHints": { +"$ref": "GoogleAppsDriveLabelsV2FieldDisplayHints", +"description": "Output only. UI display hints for rendering a field.", +"readOnly": true +}, +"id": { +"description": "Output only. The key of a field, unique within a label or library. This value is autogenerated. Matches the regex: `([a-zA-Z0-9])+`.", +"readOnly": true, +"type": "string" +}, +"integerOptions": { +"$ref": "GoogleAppsDriveLabelsV2FieldIntegerOptions", +"description": "Integer field options." +}, +"lifecycle": { +"$ref": "GoogleAppsDriveLabelsV2Lifecycle", +"description": "Output only. The lifecycle of this field.", +"readOnly": true +}, +"lockStatus": { +"$ref": "GoogleAppsDriveLabelsV2LockStatus", +"description": "Output only. The `LockStatus` of this field.", +"readOnly": true +}, +"properties": { +"$ref": "GoogleAppsDriveLabelsV2FieldProperties", +"description": "The basic properties of the field." +}, +"publisher": { +"$ref": "GoogleAppsDriveLabelsV2UserInfo", +"description": "Output only. The user who published this field. This value has no meaning when the field is not published.", +"readOnly": true +}, +"queryKey": { +"description": "Output only. The key to use when constructing Drive search queries to find files based on values defined for this field on files. For example, \"`{query_key}` > 2001-01-01\".", +"readOnly": true, +"type": "string" +}, +"schemaCapabilities": { +"$ref": "GoogleAppsDriveLabelsV2FieldSchemaCapabilities", +"description": "Output only. The capabilities this user has when editing this field.", +"readOnly": true +}, +"selectionOptions": { +"$ref": "GoogleAppsDriveLabelsV2FieldSelectionOptions", +"description": "Selection field options." +}, +"textOptions": { +"$ref": "GoogleAppsDriveLabelsV2FieldTextOptions", +"description": "Text field options." +}, +"updateTime": { +"description": "Output only. The time this field was updated.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"updater": { +"$ref": "GoogleAppsDriveLabelsV2UserInfo", +"description": "Output only. The user who modified this field.", +"readOnly": true +}, +"userOptions": { +"$ref": "GoogleAppsDriveLabelsV2FieldUserOptions", +"description": "User field options." +} +}, +"type": "object" +}, +"GoogleAppsDriveLabelsV2FieldAppliedCapabilities": { +"description": "The capabilities related to this field on applied metadata.", +"id": "GoogleAppsDriveLabelsV2FieldAppliedCapabilities", +"properties": { +"canRead": { +"description": "Whether the user can read related applied metadata on items.", +"type": "boolean" +}, +"canSearch": { +"description": "Whether the user can search for Drive items referencing this field.", +"type": "boolean" +}, +"canWrite": { +"description": "Whether the user can set this field on Drive items.", +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleAppsDriveLabelsV2FieldDateOptions": { +"description": "Options for the date field type.", +"id": "GoogleAppsDriveLabelsV2FieldDateOptions", +"properties": { +"dateFormat": { +"description": "Output only. ICU date format.", +"readOnly": true, +"type": "string" +}, +"dateFormatType": { +"description": "Localized date formatting option. Field values are rendered in this format according to their locale.", +"enum": [ +"DATE_FORMAT_UNSPECIFIED", +"LONG_DATE", +"SHORT_DATE" +], +"enumDescriptions": [ +"Date format unspecified.", +"Includes full month name. For example, January 12, 1999 (MMMM d, y)", +"Short, numeric, representation. For example, 12/13/99 (M/d/yy)" +], +"type": "string" +}, +"maxValue": { +"$ref": "GoogleTypeDate", +"description": "Output only. Maximum valid value (year, month, day).", +"readOnly": true +}, +"minValue": { +"$ref": "GoogleTypeDate", +"description": "Output only. Minimum valid value (year, month, day).", +"readOnly": true +} +}, +"type": "object" +}, +"GoogleAppsDriveLabelsV2FieldDisplayHints": { +"description": "UI display hints for rendering a field.", +"id": "GoogleAppsDriveLabelsV2FieldDisplayHints", +"properties": { +"disabled": { +"description": "Whether the field should be shown in the UI as disabled.", +"type": "boolean" +}, +"hiddenInSearch": { +"description": "This field should be hidden in the search menu when searching for Drive items.", +"type": "boolean" +}, +"required": { +"description": "Whether the field should be shown as required in the UI.", +"type": "boolean" +}, +"shownInApply": { +"description": "This field should be shown in the apply menu when applying values to a Drive item.", +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleAppsDriveLabelsV2FieldIntegerOptions": { +"description": "Options for the Integer field type.", +"id": "GoogleAppsDriveLabelsV2FieldIntegerOptions", +"properties": { +"maxValue": { +"description": "Output only. The maximum valid value for the integer field.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"minValue": { +"description": "Output only. The minimum valid value for the integer field.", +"format": "int64", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleAppsDriveLabelsV2FieldLimits": { +"description": "Field constants governing the structure of a field; such as, the maximum title length, minimum and maximum field values or length, etc.", +"id": "GoogleAppsDriveLabelsV2FieldLimits", +"properties": { +"dateLimits": { +"$ref": "GoogleAppsDriveLabelsV2DateLimits", +"description": "Date field limits." +}, +"integerLimits": { +"$ref": "GoogleAppsDriveLabelsV2IntegerLimits", +"description": "Integer field limits." +}, +"longTextLimits": { +"$ref": "GoogleAppsDriveLabelsV2LongTextLimits", +"description": "Long text field limits." +}, +"maxDescriptionLength": { +"description": "Limits for field description, also called help text.", +"format": "int32", +"type": "integer" +}, +"maxDisplayNameLength": { +"description": "Limits for field title.", +"format": "int32", +"type": "integer" +}, +"maxIdLength": { +"description": "Maximum length for the id.", +"format": "int32", +"type": "integer" +}, +"selectionLimits": { +"$ref": "GoogleAppsDriveLabelsV2SelectionLimits", +"description": "Selection field limits." +}, +"textLimits": { +"$ref": "GoogleAppsDriveLabelsV2TextLimits", +"description": "The relevant limits for the specified Field.Type. Text field limits." +}, +"userLimits": { +"$ref": "GoogleAppsDriveLabelsV2UserLimits", +"description": "User field limits." +} +}, +"type": "object" +}, +"GoogleAppsDriveLabelsV2FieldListOptions": { +"description": "Options for a multi-valued variant of an associated field type.", +"id": "GoogleAppsDriveLabelsV2FieldListOptions", +"properties": { +"maxEntries": { +"description": "Maximum number of entries permitted.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"GoogleAppsDriveLabelsV2FieldProperties": { +"description": "The basic properties of the field.", +"id": "GoogleAppsDriveLabelsV2FieldProperties", +"properties": { +"displayName": { +"description": "Required. The display text to show in the UI identifying this field.", +"type": "string" +}, +"insertBeforeField": { +"description": "Input only. Insert or move this field before the indicated field. If empty, the field is placed at the end of the list.", +"type": "string" +}, +"required": { +"description": "Whether the field should be marked as required.", +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleAppsDriveLabelsV2FieldSchemaCapabilities": { +"description": "The capabilities related to this field when editing the field.", +"id": "GoogleAppsDriveLabelsV2FieldSchemaCapabilities", +"properties": { +"canDelete": { +"description": "Whether the user can delete this field. The user must have permission and the field must be deprecated.", +"type": "boolean" +}, +"canDisable": { +"description": "Whether the user can disable this field. The user must have permission and this field must not already be disabled.", +"type": "boolean" +}, +"canEnable": { +"description": "Whether the user can enable this field. The user must have permission and this field must be disabled.", +"type": "boolean" +}, +"canUpdate": { +"description": "Whether the user can change this field.", +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleAppsDriveLabelsV2FieldSelectionOptions": { +"description": "Options for the selection field type.", +"id": "GoogleAppsDriveLabelsV2FieldSelectionOptions", +"properties": { +"choices": { +"description": "The options available for this selection field. The list order is consistent, and modified with `insert_before_choice`.", +"items": { +"$ref": "GoogleAppsDriveLabelsV2FieldSelectionOptionsChoice" +}, +"type": "array" +}, +"listOptions": { +"$ref": "GoogleAppsDriveLabelsV2FieldListOptions", +"description": "When specified, indicates this field supports a list of values. Once the field is published, this cannot be changed." +} +}, +"type": "object" +}, +"GoogleAppsDriveLabelsV2FieldSelectionOptionsChoice": { +"description": "Selection field choice.", +"id": "GoogleAppsDriveLabelsV2FieldSelectionOptionsChoice", +"properties": { +"appliedCapabilities": { +"$ref": "GoogleAppsDriveLabelsV2FieldSelectionOptionsChoiceAppliedCapabilities", +"description": "Output only. The capabilities related to this choice on applied metadata.", +"readOnly": true +}, +"createTime": { +"description": "Output only. The time this choice was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"creator": { +"$ref": "GoogleAppsDriveLabelsV2UserInfo", +"description": "Output only. The user who created this choice.", +"readOnly": true +}, +"disableTime": { +"description": "Output only. The time this choice was disabled. This value has no meaning when the choice is not disabled.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"disabler": { +"$ref": "GoogleAppsDriveLabelsV2UserInfo", +"description": "Output only. The user who disabled this choice. This value has no meaning when the option is not disabled.", +"readOnly": true +}, +"displayHints": { +"$ref": "GoogleAppsDriveLabelsV2FieldSelectionOptionsChoiceDisplayHints", +"description": "Output only. UI display hints for rendering a choice.", +"readOnly": true +}, +"id": { +"description": "The unique value of the choice. This ID is autogenerated. Matches the regex: `([a-zA-Z0-9_])+`.", +"type": "string" +}, +"lifecycle": { +"$ref": "GoogleAppsDriveLabelsV2Lifecycle", +"description": "Output only. Lifecycle of the choice.", +"readOnly": true +}, +"lockStatus": { +"$ref": "GoogleAppsDriveLabelsV2LockStatus", +"description": "Output only. The `LockStatus` of this choice.", +"readOnly": true +}, +"properties": { +"$ref": "GoogleAppsDriveLabelsV2FieldSelectionOptionsChoiceProperties", +"description": "Basic properties of the choice." +}, +"publishTime": { +"description": "Output only. The time this choice was published. This value has no meaning when the choice is not published.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"publisher": { +"$ref": "GoogleAppsDriveLabelsV2UserInfo", +"description": "Output only. The user who published this choice. This value has no meaning when the choice is not published.", +"readOnly": true +}, +"schemaCapabilities": { +"$ref": "GoogleAppsDriveLabelsV2FieldSelectionOptionsChoiceSchemaCapabilities", +"description": "Output only. The capabilities related to this option when editing the option.", +"readOnly": true +}, +"updateTime": { +"description": "Output only. The time this choice was updated last.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"updater": { +"$ref": "GoogleAppsDriveLabelsV2UserInfo", +"description": "Output only. The user who updated this choice last.", +"readOnly": true +} +}, +"type": "object" +}, +"GoogleAppsDriveLabelsV2FieldSelectionOptionsChoiceAppliedCapabilities": { +"description": "The capabilities related to this choice on applied metadata.", +"id": "GoogleAppsDriveLabelsV2FieldSelectionOptionsChoiceAppliedCapabilities", +"properties": { +"canRead": { +"description": "Whether the user can read related applied metadata on items.", +"type": "boolean" +}, +"canSearch": { +"description": "Whether the user can use this choice in search queries.", +"type": "boolean" +}, +"canSelect": { +"description": "Whether the user can select this choice on an item.", +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleAppsDriveLabelsV2FieldSelectionOptionsChoiceDisplayHints": { +"description": "UI display hints for rendering an option.", +"id": "GoogleAppsDriveLabelsV2FieldSelectionOptionsChoiceDisplayHints", +"properties": { +"badgeColors": { +"$ref": "GoogleAppsDriveLabelsV2BadgeColors", +"description": "The colors to use for the badge. Changed to Google Material colors based on the chosen `properties.badge_config.color`." +}, +"badgePriority": { +"description": "The priority of this badge. Used to compare and sort between multiple badges. A lower number means the badge should be shown first. When a badging configuration is not present, this will be 0. Otherwise, this will be set to `BadgeConfig.priority_override` or the default heuristic which prefers creation date of the label, and field and option priority.", +"format": "int64", +"type": "string" +}, +"darkBadgeColors": { +"$ref": "GoogleAppsDriveLabelsV2BadgeColors", +"description": "The dark-mode color to use for the badge. Changed to Google Material colors based on the chosen `properties.badge_config.color`." +}, +"disabled": { +"description": "Whether the option should be shown in the UI as disabled.", +"type": "boolean" +}, +"hiddenInSearch": { +"description": "This option should be hidden in the search menu when searching for Drive items.", +"type": "boolean" +}, +"shownInApply": { +"description": "This option should be shown in the apply menu when applying values to a Drive item.", +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleAppsDriveLabelsV2FieldSelectionOptionsChoiceProperties": { +"description": "Basic properties of the choice.", +"id": "GoogleAppsDriveLabelsV2FieldSelectionOptionsChoiceProperties", +"properties": { +"badgeConfig": { +"$ref": "GoogleAppsDriveLabelsV2BadgeConfig", +"description": "The badge configuration for this choice. When set, the label that owns this choice is considered a \"badged label\"." +}, +"description": { +"description": "The description of this label.", +"type": "string" +}, +"displayName": { +"description": "Required. The display text to show in the UI identifying this field.", +"type": "string" +}, +"insertBeforeChoice": { +"description": "Input only. Insert or move this choice before the indicated choice. If empty, the choice is placed at the end of the list.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleAppsDriveLabelsV2FieldSelectionOptionsChoiceSchemaCapabilities": { +"description": "The capabilities related to this choice when editing the choice.", +"id": "GoogleAppsDriveLabelsV2FieldSelectionOptionsChoiceSchemaCapabilities", +"properties": { +"canDelete": { +"description": "Whether the user can delete this choice.", +"type": "boolean" +}, +"canDisable": { +"description": "Whether the user can disable this choice.", +"type": "boolean" +}, +"canEnable": { +"description": "Whether the user can enable this choice.", +"type": "boolean" +}, +"canUpdate": { +"description": "Whether the user can update this choice.", +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleAppsDriveLabelsV2FieldTextOptions": { +"description": "Options for the Text field type.", +"id": "GoogleAppsDriveLabelsV2FieldTextOptions", +"properties": { +"maxLength": { +"description": "Output only. The maximum valid length of values for the text field.", +"format": "int32", +"readOnly": true, +"type": "integer" +}, +"minLength": { +"description": "Output only. The minimum valid length of values for the text field.", +"format": "int32", +"readOnly": true, +"type": "integer" +} +}, +"type": "object" +}, +"GoogleAppsDriveLabelsV2FieldUserOptions": { +"description": "Options for the user field type.", +"id": "GoogleAppsDriveLabelsV2FieldUserOptions", +"properties": { +"listOptions": { +"$ref": "GoogleAppsDriveLabelsV2FieldListOptions", +"description": "When specified, indicates that this field supports a list of values. Once the field is published, this cannot be changed." +} +}, +"type": "object" +}, +"GoogleAppsDriveLabelsV2IntegerLimits": { +"description": "Limits for integer field type.", +"id": "GoogleAppsDriveLabelsV2IntegerLimits", +"properties": { +"maxValue": { +"description": "Maximum value for an integer field type.", +"format": "int64", +"type": "string" +}, +"minValue": { +"description": "Minimum value for an integer field type.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"GoogleAppsDriveLabelsV2Label": { +"description": "A label defines a taxonomy that can be applied to Drive items in order to organize and search across items. Labels can be simple strings, or can contain fields that describe additional metadata that can be further used to organize and search Drive items.", +"id": "GoogleAppsDriveLabelsV2Label", +"properties": { +"appliedCapabilities": { +"$ref": "GoogleAppsDriveLabelsV2LabelAppliedCapabilities", +"description": "Output only. The capabilities related to this label on applied metadata.", +"readOnly": true +}, +"appliedLabelPolicy": { +"$ref": "GoogleAppsDriveLabelsV2LabelAppliedLabelPolicy", +"description": "Output only. Behavior of this label when it's applied to Drive items.", +"readOnly": true +}, +"createTime": { +"description": "Output only. The time this label was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"creator": { +"$ref": "GoogleAppsDriveLabelsV2UserInfo", +"description": "Output only. The user who created this label.", +"readOnly": true +}, +"customer": { +"description": "Output only. The customer this label belongs to. For example: `customers/123abc789`.", +"readOnly": true, +"type": "string" +}, +"disableTime": { +"description": "Output only. The time this label was disabled. This value has no meaning when the label isn't disabled.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"disabler": { +"$ref": "GoogleAppsDriveLabelsV2UserInfo", +"description": "Output only. The user who disabled this label. This value has no meaning when the label isn't disabled.", +"readOnly": true +}, +"displayHints": { +"$ref": "GoogleAppsDriveLabelsV2LabelDisplayHints", +"description": "Output only. UI display hints for rendering the label.", +"readOnly": true +}, +"enabledAppSettings": { +"$ref": "GoogleAppsDriveLabelsV2LabelEnabledAppSettings", +"description": "Optional. The `EnabledAppSettings` for this Label." +}, +"fields": { +"description": "List of fields in descending priority order.", +"items": { +"$ref": "GoogleAppsDriveLabelsV2Field" +}, +"type": "array" +}, +"id": { +"description": "Output only. Globally unique identifier of this label. ID makes up part of the label `name`, but unlike `name`, ID is consistent between revisions. Matches the regex: `([a-zA-Z0-9])+`.", +"readOnly": true, +"type": "string" +}, +"labelType": { +"description": "Required. The type of label.", +"enum": [ +"LABEL_TYPE_UNSPECIFIED", +"SHARED", +"ADMIN", +"GOOGLE_APP" +], +"enumDescriptions": [ +"Unknown label type.", +"Shared labels may be shared with users to apply to Drive items.", +"Admin-owned label. Only creatable and editable by admins. Supports some additional admin-only features.", +"A label owned by an internal Google application rather than a customer. These labels are read-only." +], +"type": "string" +}, +"learnMoreUri": { +"description": "Custom URL to present to users to allow them to learn more about this label and how it should be used.", +"type": "string" +}, +"lifecycle": { +"$ref": "GoogleAppsDriveLabelsV2Lifecycle", +"description": "Output only. The lifecycle state of the label including whether it's published, deprecated, and has draft changes.", +"readOnly": true +}, +"lockStatus": { +"$ref": "GoogleAppsDriveLabelsV2LockStatus", +"description": "Output only. The `LockStatus` of this label.", +"readOnly": true +}, +"name": { +"description": "Output only. Resource name of the label. Will be in the form of either: `labels/{id}` or `labels/{id}@{revision_id}` depending on the request. See `id` and `revision_id` below.", +"readOnly": true, +"type": "string" +}, +"properties": { +"$ref": "GoogleAppsDriveLabelsV2LabelProperties", +"description": "Required. The basic properties of the label." +}, +"publishTime": { +"description": "Output only. The time this label was published. This value has no meaning when the label isn't published.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"publisher": { +"$ref": "GoogleAppsDriveLabelsV2UserInfo", +"description": "Output only. The user who published this label. This value has no meaning when the label isn't published.>>", +"readOnly": true +}, +"revisionCreateTime": { +"description": "Output only. The time this label revision was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"revisionCreator": { +"$ref": "GoogleAppsDriveLabelsV2UserInfo", +"description": "Output only. The user who created this label revision.", +"readOnly": true +}, +"revisionId": { +"description": "Output only. Revision ID of the label. Revision ID might be part of the label `name` depending on the request issued. A new revision is created whenever revisioned properties of a label are changed. Matches the regex: `([a-zA-Z0-9])+`.", +"readOnly": true, +"type": "string" +}, +"schemaCapabilities": { +"$ref": "GoogleAppsDriveLabelsV2LabelSchemaCapabilities", +"description": "Output only. The capabilities the user has on this label.", +"readOnly": true +} +}, +"type": "object" +}, +"GoogleAppsDriveLabelsV2LabelAppliedCapabilities": { +"description": "The capabilities a user has on this label's applied metadata.", +"id": "GoogleAppsDriveLabelsV2LabelAppliedCapabilities", +"properties": { +"canApply": { +"description": "Whether the user can apply this label to items.", +"type": "boolean" +}, +"canRead": { +"description": "Whether the user can read applied metadata related to this label.", +"type": "boolean" +}, +"canRemove": { +"description": "Whether the user can remove this label from items.", +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleAppsDriveLabelsV2LabelAppliedLabelPolicy": { +"description": "Behavior of this label when it's applied to Drive items.", +"id": "GoogleAppsDriveLabelsV2LabelAppliedLabelPolicy", +"properties": { +"copyMode": { +"description": "Indicates how the applied label and field values should be copied when a Drive item is copied.", +"enum": [ +"COPY_MODE_UNSPECIFIED", +"DO_NOT_COPY", +"ALWAYS_COPY", +"COPY_APPLIABLE" +], +"enumDescriptions": [ +"Copy mode unspecified.", +"The applied label and field values aren't copied by default when the Drive item it's applied to is copied.", +"The applied label and field values are always copied when the Drive item it's applied to is copied. Only admins can use this mode.", +"The applied label and field values are copied if the label is appliable by the user making the copy." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleAppsDriveLabelsV2LabelDisplayHints": { +"description": "The UI display hints for rendering the label.", +"id": "GoogleAppsDriveLabelsV2LabelDisplayHints", +"properties": { +"disabled": { +"description": "Whether the label should be shown in the UI as disabled.", +"type": "boolean" +}, +"hiddenInSearch": { +"description": "This label should be hidden in the search menu when searching for Drive items.", +"type": "boolean" +}, +"priority": { +"description": "The order to display labels in a list.", +"format": "int64", +"type": "string" +}, +"shownInApply": { +"description": "This label should be shown in the apply menu when applying values to a Drive item.", +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleAppsDriveLabelsV2LabelEnabledAppSettings": { +"description": "Describes the Google Workspace apps in which the label can be used.", +"id": "GoogleAppsDriveLabelsV2LabelEnabledAppSettings", +"properties": { +"enabledApps": { +"description": "Optional. The list of apps where the label can be used.", +"items": { +"$ref": "GoogleAppsDriveLabelsV2LabelEnabledAppSettingsEnabledApp" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleAppsDriveLabelsV2LabelEnabledAppSettingsEnabledApp": { +"description": "An app where the label can be used.", +"id": "GoogleAppsDriveLabelsV2LabelEnabledAppSettingsEnabledApp", +"properties": { +"app": { +"description": "Optional. The name of the app.", +"enum": [ +"APP_UNSPECIFIED", +"DRIVE", +"GMAIL" +], +"enumDescriptions": [ +"Unspecified", +"Drive", +"Gmail" +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleAppsDriveLabelsV2LabelLimits": { +"description": "Label constraints governing the structure of a label; such as, the maximum number of fields allowed and maximum length of the label title.", +"id": "GoogleAppsDriveLabelsV2LabelLimits", +"properties": { +"fieldLimits": { +"$ref": "GoogleAppsDriveLabelsV2FieldLimits", +"description": "The limits for fields." +}, +"maxDeletedFields": { +"description": "The maximum number of published fields that can be deleted.", +"format": "int32", +"type": "integer" +}, +"maxDescriptionLength": { +"description": "The maximum number of characters allowed for the description.", +"format": "int32", +"type": "integer" +}, +"maxDraftRevisions": { +"description": "The maximum number of draft revisions that will be kept before deleting old drafts.", +"format": "int32", +"type": "integer" +}, +"maxFields": { +"description": "The maximum number of fields allowed within the label.", +"format": "int32", +"type": "integer" +}, +"maxTitleLength": { +"description": "The maximum number of characters allowed for the title.", +"format": "int32", +"type": "integer" +}, +"name": { +"description": "Resource name.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleAppsDriveLabelsV2LabelLock": { +"description": "A lock that can be applied to a label, field, or choice.", +"id": "GoogleAppsDriveLabelsV2LabelLock", +"properties": { +"capabilities": { +"$ref": "GoogleAppsDriveLabelsV2LabelLockCapabilities", +"description": "Output only. The user's capabilities on this label lock.", +"readOnly": true +}, +"choiceId": { +"description": "The ID of the selection field choice that should be locked. If present, `field_id` must also be present.", +"type": "string" +}, +"createTime": { +"description": "Output only. The time this label lock was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"creator": { +"$ref": "GoogleAppsDriveLabelsV2UserInfo", +"description": "Output only. The user whose credentials were used to create the label lock. Not present if no user was responsible for creating the label lock.", +"readOnly": true +}, +"deleteTime": { +"description": "Output only. A timestamp indicating when this label lock was scheduled for deletion. Present only if this label lock is in the `DELETING` state.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"fieldId": { +"description": "The ID of the field that should be locked. Empty if the whole label should be locked.", +"type": "string" +}, +"name": { +"description": "Output only. Resource name of this label lock.", +"readOnly": true, +"type": "string" +}, +"state": { +"description": "Output only. This label lock's state.", +"enum": [ +"STATE_UNSPECIFIED", +"ACTIVE", +"DELETING" +], +"enumDescriptions": [ +"Unknown state.", +"The label lock is active and is being enforced by the server.", +"The label lock is being deleted. The label lock will continue to be enforced by the server until it has been fully removed." +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleAppsDriveLabelsV2LabelLockCapabilities": { +"description": "A description of a user's capabilities on a label lock.", +"id": "GoogleAppsDriveLabelsV2LabelLockCapabilities", +"properties": { +"canViewPolicy": { +"description": "True if the user is authorized to view the policy.", +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleAppsDriveLabelsV2LabelPermission": { +"description": "The permission that applies to a principal (user, group, audience) on a label.", +"id": "GoogleAppsDriveLabelsV2LabelPermission", +"properties": { +"audience": { +"description": "Audience to grant a role to. The magic value of `audiences/default` may be used to apply the role to the default audience in the context of the organization that owns the label.", +"type": "string" +}, +"email": { +"description": "Specifies the email address for a user or group principal. Not populated for audience principals. User and group permissions may only be inserted using an email address. On update requests, if email address is specified, no principal should be specified.", +"type": "string" +}, +"group": { +"description": "Group resource name.", +"type": "string" +}, +"name": { +"description": "Resource name of this permission.", +"type": "string" +}, +"person": { +"description": "Person resource name.", +"type": "string" +}, +"role": { +"description": "The role the principal should have.", +"enum": [ +"LABEL_ROLE_UNSPECIFIED", +"READER", +"APPLIER", +"ORGANIZER", +"EDITOR" +], +"enumDescriptions": [ +"Unknown role.", +"A reader can read the label and associated metadata applied to Drive items.", +"An applier can write associated metadata on Drive items in which they also have write access to. Implies `READER`.", +"An organizer can pin this label in shared drives they manage and add new appliers to the label.", +"Editors can make any update including deleting the label which also deletes the associated Drive item metadata. Implies `APPLIER`." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleAppsDriveLabelsV2LabelProperties": { +"description": "Basic properties of the label.", +"id": "GoogleAppsDriveLabelsV2LabelProperties", +"properties": { +"description": { +"description": "The description of the label.", +"type": "string" +}, +"title": { +"description": "Required. Title of the label.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleAppsDriveLabelsV2LabelSchemaCapabilities": { +"description": "The capabilities related to this label when editing the label.", +"id": "GoogleAppsDriveLabelsV2LabelSchemaCapabilities", +"properties": { +"canDelete": { +"description": "Whether the user can delete this label. The user must have permission and the label must be disabled.", +"type": "boolean" +}, +"canDisable": { +"description": "Whether the user can disable this label. The user must have permission and this label must not already be disabled.", +"type": "boolean" +}, +"canEnable": { +"description": "Whether the user can enable this label. The user must have permission and this label must be disabled.", +"type": "boolean" +}, +"canUpdate": { +"description": "Whether the user can change this label.", +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleAppsDriveLabelsV2Lifecycle": { +"description": "The lifecycle state of an object, such as label, field, or choice. For more information, see [Label lifecycle](https://developers.google.com/workspace/drive/labels/guides/label-lifecycle). The lifecycle enforces the following transitions: * `UNPUBLISHED_DRAFT` (starting state) * `UNPUBLISHED_DRAFT` -> `PUBLISHED` * `UNPUBLISHED_DRAFT` -> (Deleted) * `PUBLISHED` -> `DISABLED` * `DISABLED` -> `PUBLISHED` * `DISABLED` -> (Deleted) The published and disabled states have some distinct characteristics: * `Published`: Some kinds of changes might be made to an object in this state, in which case `has_unpublished_changes` will be true. Also, some kinds of changes aren't permitted. Generally, any change that would invalidate or cause new restrictions on existing metadata related to the label are rejected. * `Disabled`: When disabled, the configured `DisabledPolicy` takes effect.", +"id": "GoogleAppsDriveLabelsV2Lifecycle", +"properties": { +"disabledPolicy": { +"$ref": "GoogleAppsDriveLabelsV2LifecycleDisabledPolicy", +"description": "The policy that governs how to show a disabled label, field, or selection choice." +}, +"hasUnpublishedChanges": { +"description": "Output only. Whether the object associated with this lifecycle has unpublished changes.", +"readOnly": true, +"type": "boolean" +}, +"state": { +"description": "Output only. The state of the object associated with this lifecycle.", +"enum": [ +"STATE_UNSPECIFIED", +"UNPUBLISHED_DRAFT", +"PUBLISHED", +"DISABLED", +"DELETED" +], +"enumDescriptions": [ +"Unknown State.", +"The initial state of an object. Once published, the object can never return to this state. Once an object is published, certain kinds of changes are no longer permitted.", +"The object has been published. The object might have unpublished draft changes as indicated by `has_unpublished_changes`.", +"The object has been published and has since been disabled. The object might have unpublished draft changes as indicated by `has_unpublished_changes`.", +"The object has been deleted." +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleAppsDriveLabelsV2LifecycleDisabledPolicy": { +"description": "The policy that governs how to treat a disabled label, field, or selection choice in different contexts.", +"id": "GoogleAppsDriveLabelsV2LifecycleDisabledPolicy", +"properties": { +"hideInSearch": { +"description": "Whether to hide this disabled object in the search menu for Drive items. * When `false`, the object is generally shown in the UI as disabled but it appears in the search results when searching for Drive items. * When `true`, the object is generally hidden in the UI when searching for Drive items.", +"type": "boolean" +}, +"showInApply": { +"description": "Whether to show this disabled object in the apply menu on Drive items. * When `true`, the object is generally shown in the UI as disabled and is unselectable. * When `false`, the object is generally hidden in the UI.", +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleAppsDriveLabelsV2ListLabelLocksResponse": { +"description": "The response to a `ListLabelLocksRequest`.", +"id": "GoogleAppsDriveLabelsV2ListLabelLocksResponse", +"properties": { +"labelLocks": { +"description": "Label locks.", +"items": { +"$ref": "GoogleAppsDriveLabelsV2LabelLock" +}, +"type": "array" +}, +"nextPageToken": { +"description": "The token of the next page in the response.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleAppsDriveLabelsV2ListLabelPermissionsResponse": { +"description": "Response for listing the permissions on a label.", +"id": "GoogleAppsDriveLabelsV2ListLabelPermissionsResponse", +"properties": { +"labelPermissions": { +"description": "Label permissions.", +"items": { +"$ref": "GoogleAppsDriveLabelsV2LabelPermission" +}, +"type": "array" +}, +"nextPageToken": { +"description": "The token of the next page in the response.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleAppsDriveLabelsV2ListLabelsResponse": { +"description": "Response for listing labels.", +"id": "GoogleAppsDriveLabelsV2ListLabelsResponse", +"properties": { +"labels": { +"description": "Labels.", +"items": { +"$ref": "GoogleAppsDriveLabelsV2Label" +}, +"type": "array" +}, +"nextPageToken": { +"description": "The token of the next page in the response.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleAppsDriveLabelsV2ListLimits": { +"description": "Limits for list-variant of a field type.", +"id": "GoogleAppsDriveLabelsV2ListLimits", +"properties": { +"maxEntries": { +"description": "Maximum number of values allowed for the field type.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"GoogleAppsDriveLabelsV2LockStatus": { +"description": "Contains information about whether a label component should be considered locked.", +"id": "GoogleAppsDriveLabelsV2LockStatus", +"properties": { +"locked": { +"description": "Output only. Indicates whether this label component is the (direct) target of a label lock. A label component can be implicitly locked even if it's not the direct target of a label lock, in which case this field is set to false.", +"readOnly": true, +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleAppsDriveLabelsV2LongTextLimits": { +"description": "Limits for long text field type.", +"id": "GoogleAppsDriveLabelsV2LongTextLimits", +"properties": { +"maxLength": { +"description": "Maximum length allowed for a long text field type.", +"format": "int32", +"type": "integer" +}, +"minLength": { +"description": "Minimum length allowed for a long text field type.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"GoogleAppsDriveLabelsV2PublishLabelRequest": { +"description": "Request to publish a label.", +"id": "GoogleAppsDriveLabelsV2PublishLabelRequest", +"properties": { +"languageCode": { +"description": "The BCP-47 language code to use for evaluating localized field labels. When not specified, values in the default configured language will be used.", +"type": "string" +}, +"useAdminAccess": { +"description": "Set to `true` in order to use the user's admin credentials. The server will verify the user is an admin for the label before allowing access.", +"type": "boolean" +}, +"writeControl": { +"$ref": "GoogleAppsDriveLabelsV2WriteControl", +"description": "Provides control over how write requests are executed. Defaults to unset, which means the last write wins." +} +}, +"type": "object" +}, +"GoogleAppsDriveLabelsV2SelectionLimits": { +"description": "Limits for selection field type.", +"id": "GoogleAppsDriveLabelsV2SelectionLimits", +"properties": { +"listLimits": { +"$ref": "GoogleAppsDriveLabelsV2ListLimits", +"description": "Limits for list-variant of a field type." +}, +"maxChoices": { +"description": "Maximum number of choices.", +"format": "int32", +"type": "integer" +}, +"maxDeletedChoices": { +"description": "Maximum number of deleted choices.", +"format": "int32", +"type": "integer" +}, +"maxDisplayNameLength": { +"description": "Maximum length for display name.", +"format": "int32", +"type": "integer" +}, +"maxIdLength": { +"description": "Maximum ID length for a selection option.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"GoogleAppsDriveLabelsV2TextLimits": { +"description": "Limits for text field type.", +"id": "GoogleAppsDriveLabelsV2TextLimits", +"properties": { +"maxLength": { +"description": "Maximum length allowed for a text field type.", +"format": "int32", +"type": "integer" +}, +"minLength": { +"description": "Minimum length allowed for a text field type.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"GoogleAppsDriveLabelsV2UpdateLabelCopyModeRequest": { +"description": "Request to update the `CopyMode` of the given label. Changes to this policy aren't revisioned, don't require publishing, and take effect immediately. \\", +"id": "GoogleAppsDriveLabelsV2UpdateLabelCopyModeRequest", +"properties": { +"copyMode": { +"description": "Required. Indicates how the applied label and field values should be copied when a Drive item is copied.", +"enum": [ +"COPY_MODE_UNSPECIFIED", +"DO_NOT_COPY", +"ALWAYS_COPY", +"COPY_APPLIABLE" +], +"enumDescriptions": [ +"Copy mode unspecified.", +"The applied label and field values aren't copied by default when the Drive item it's applied to is copied.", +"The applied label and field values are always copied when the Drive item it's applied to is copied. Only admins can use this mode.", +"The applied label and field values are copied if the label is appliable by the user making the copy." +], +"type": "string" +}, +"languageCode": { +"description": "The BCP-47 language code to use for evaluating localized field labels. When not specified, values in the default configured language will be used.", +"type": "string" +}, +"useAdminAccess": { +"description": "Set to `true` in order to use the user's admin credentials. The server will verify the user is an admin for the label before allowing access.", +"type": "boolean" +}, +"view": { +"description": "When specified, only certain fields belonging to the indicated view will be returned.", +"enum": [ +"LABEL_VIEW_BASIC", +"LABEL_VIEW_FULL" +], +"enumDescriptions": [ +"Implies the field mask: `name,id,revision_id,label_type,properties.*`", +"All possible fields." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleAppsDriveLabelsV2UpdateLabelEnabledAppSettingsRequest": { +"description": "Request to update the `EnabledAppSettings` of the given label. This change is not revisioned, doesn't require publishing, and takes effect immediately. \\", +"id": "GoogleAppsDriveLabelsV2UpdateLabelEnabledAppSettingsRequest", +"properties": { +"enabledAppSettings": { +"$ref": "GoogleAppsDriveLabelsV2LabelEnabledAppSettings", +"description": "Required. The new `EnabledAppSettings` value for the label." +}, +"languageCode": { +"description": "Optional. The BCP-47 language code to use for evaluating localized field labels. When not specified, values in the default configured language will be used.", +"type": "string" +}, +"useAdminAccess": { +"description": "Optional. Set to `true` in order to use the user's admin credentials. The server will verify the user is an admin for the label before allowing access.", +"type": "boolean" +}, +"view": { +"description": "Optional. When specified, only certain fields belonging to the indicated view will be returned.", +"enum": [ +"LABEL_VIEW_BASIC", +"LABEL_VIEW_FULL" +], +"enumDescriptions": [ +"Implies the field mask: `name,id,revision_id,label_type,properties.*`", +"All possible fields." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleAppsDriveLabelsV2UpdateLabelPermissionRequest": { +"description": "Updates a label permission. Permissions affect the label resource as a whole, aren't revisioned, and don't require publishing.", +"id": "GoogleAppsDriveLabelsV2UpdateLabelPermissionRequest", +"properties": { +"labelPermission": { +"$ref": "GoogleAppsDriveLabelsV2LabelPermission", +"description": "Required. The permission to create or update on the label." +}, +"parent": { +"description": "Required. The parent label resource name.", +"type": "string" +}, +"useAdminAccess": { +"description": "Set to `true` in order to use the user's admin credentials. The server will verify the user is an admin for the label before allowing access.", +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleAppsDriveLabelsV2UserCapabilities": { +"description": "The capabilities of a user.", +"id": "GoogleAppsDriveLabelsV2UserCapabilities", +"properties": { +"canAccessLabelManager": { +"description": "Output only. Whether the user is allowed access to the label manager.", +"readOnly": true, +"type": "boolean" +}, +"canAdministrateLabels": { +"description": "Output only. Whether the user is an administrator for the shared labels feature.", +"readOnly": true, +"type": "boolean" +}, +"canCreateAdminLabels": { +"description": "Output only. Whether the user is allowed to create admin labels.", +"readOnly": true, +"type": "boolean" +}, +"canCreateSharedLabels": { +"description": "Output only. Whether the user is allowed to create shared labels.", +"readOnly": true, +"type": "boolean" +}, +"name": { +"description": "Output only. Resource name for the user capabilities.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleAppsDriveLabelsV2UserInfo": { +"description": "Information about a user.", +"id": "GoogleAppsDriveLabelsV2UserInfo", +"properties": { +"person": { +"description": "The identifier for this user that can be used with the [People API](https://developers.google.com/people) to get more information. For example, `people/12345678`.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleAppsDriveLabelsV2UserLimits": { +"description": "Limits for Field.Type.USER.", +"id": "GoogleAppsDriveLabelsV2UserLimits", +"properties": { +"listLimits": { +"$ref": "GoogleAppsDriveLabelsV2ListLimits", +"description": "Limits for list-variant of a field type." +} +}, +"type": "object" +}, +"GoogleAppsDriveLabelsV2WriteControl": { +"description": "Provides control over how write requests are executed. When not specified, the last write wins.", +"id": "GoogleAppsDriveLabelsV2WriteControl", +"properties": { +"requiredRevisionId": { +"description": "The revision ID of the label that the write request will be applied to. If this isn't the latest revision of the label, the request will not be processed and will return a 400 Bad Request error.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleProtobufEmpty": { +"description": "A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }", +"id": "GoogleProtobufEmpty", +"properties": {}, +"type": "object" +}, +"GoogleTypeColor": { +"description": "Represents a color in the RGBA color space. This representation is designed for simplicity of conversion to and from color representations in various languages over compactness. For example, the fields of this representation can be trivially provided to the constructor of `java.awt.Color` in Java; it can also be trivially provided to UIColor's `+colorWithRed:green:blue:alpha` method in iOS; and, with just a little work, it can be easily formatted into a CSS `rgba()` string in JavaScript. This reference page doesn't have information about the absolute color space that should be used to interpret the RGB value\u2014for example, sRGB, Adobe RGB, DCI-P3, and BT.2020. By default, applications should assume the sRGB color space. When color equality needs to be decided, implementations, unless documented otherwise, treat two colors as equal if all their red, green, blue, and alpha values each differ by at most `1e-5`. Example (Java): import com.google.type.Color; // ... public static java.awt.Color fromProto(Color protocolor) { float alpha = protocolor.hasAlpha() ? protocolor.getAlpha().getValue() : 1.0; return new java.awt.Color( protocolor.getRed(), protocolor.getGreen(), protocolor.getBlue(), alpha); } public static Color toProto(java.awt.Color color) { float red = (float) color.getRed(); float green = (float) color.getGreen(); float blue = (float) color.getBlue(); float denominator = 255.0; Color.Builder resultBuilder = Color .newBuilder() .setRed(red / denominator) .setGreen(green / denominator) .setBlue(blue / denominator); int alpha = color.getAlpha(); if (alpha != 255) { result.setAlpha( FloatValue .newBuilder() .setValue(((float) alpha) / denominator) .build()); } return resultBuilder.build(); } // ... Example (iOS / Obj-C): // ... static UIColor* fromProto(Color* protocolor) { float red = [protocolor red]; float green = [protocolor green]; float blue = [protocolor blue]; FloatValue* alpha_wrapper = [protocolor alpha]; float alpha = 1.0; if (alpha_wrapper != nil) { alpha = [alpha_wrapper value]; } return [UIColor colorWithRed:red green:green blue:blue alpha:alpha]; } static Color* toProto(UIColor* color) { CGFloat red, green, blue, alpha; if (![color getRed:&red green:&green blue:&blue alpha:&alpha]) { return nil; } Color* result = [[Color alloc] init]; [result setRed:red]; [result setGreen:green]; [result setBlue:blue]; if (alpha <= 0.9999) { [result setAlpha:floatWrapperWithValue(alpha)]; } [result autorelease]; return result; } // ... Example (JavaScript): // ... var protoToCssColor = function(rgb_color) { var redFrac = rgb_color.red || 0.0; var greenFrac = rgb_color.green || 0.0; var blueFrac = rgb_color.blue || 0.0; var red = Math.floor(redFrac * 255); var green = Math.floor(greenFrac * 255); var blue = Math.floor(blueFrac * 255); if (!('alpha' in rgb_color)) { return rgbToCssColor(red, green, blue); } var alphaFrac = rgb_color.alpha.value || 0.0; var rgbParams = [red, green, blue].join(','); return ['rgba(', rgbParams, ',', alphaFrac, ')'].join(''); }; var rgbToCssColor = function(red, green, blue) { var rgbNumber = new Number((red << 16) | (green << 8) | blue); var hexString = rgbNumber.toString(16); var missingZeros = 6 - hexString.length; var resultBuilder = ['#']; for (var i = 0; i < missingZeros; i++) { resultBuilder.push('0'); } resultBuilder.push(hexString); return resultBuilder.join(''); }; // ...", +"id": "GoogleTypeColor", +"properties": { +"alpha": { +"description": "The fraction of this color that should be applied to the pixel. That is, the final pixel color is defined by the equation: `pixel color = alpha * (this color) + (1.0 - alpha) * (background color)` This means that a value of 1.0 corresponds to a solid color, whereas a value of 0.0 corresponds to a completely transparent color. This uses a wrapper message rather than a simple float scalar so that it is possible to distinguish between a default value and the value being unset. If omitted, this color object is rendered as a solid color (as if the alpha value had been explicitly given a value of 1.0).", +"format": "float", +"type": "number" +}, +"blue": { +"description": "The amount of blue in the color as a value in the interval [0, 1].", +"format": "float", +"type": "number" +}, +"green": { +"description": "The amount of green in the color as a value in the interval [0, 1].", +"format": "float", +"type": "number" +}, +"red": { +"description": "The amount of red in the color as a value in the interval [0, 1].", +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"GoogleTypeDate": { +"description": "Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following: * A full date, with non-zero year, month, and day values. * A month and day, with a zero year (for example, an anniversary). * A year on its own, with a zero month and a zero day. * A year and month, with a zero day (for example, a credit card expiration date). Related types: * google.type.TimeOfDay * google.type.DateTime * google.protobuf.Timestamp", +"id": "GoogleTypeDate", +"properties": { +"day": { +"description": "Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn't significant.", +"format": "int32", +"type": "integer" +}, +"month": { +"description": "Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.", +"format": "int32", +"type": "integer" +}, +"year": { +"description": "Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +} +}, +"servicePath": "", +"title": "Drive Labels API", +"version": "v2", +"version_module": true +} \ No newline at end of file diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/drivelabels.v2beta.json b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/drivelabels.v2beta.json new file mode 100644 index 0000000000000000000000000000000000000000..2521ab08892856fc3b19d43e3ff04fd361f8c696 --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/drivelabels.v2beta.json @@ -0,0 +1,3120 @@ +{ +"auth": { +"oauth2": { +"scopes": { +"https://www.googleapis.com/auth/drive.admin.labels": { +"description": "See, edit, create, and delete all Google Drive labels in your organization, and see your organization's label-related admin policies" +}, +"https://www.googleapis.com/auth/drive.admin.labels.readonly": { +"description": "See all Google Drive labels and label-related admin policies in your organization" +}, +"https://www.googleapis.com/auth/drive.labels": { +"description": "See, edit, create, and delete your Google Drive labels" +}, +"https://www.googleapis.com/auth/drive.labels.readonly": { +"description": "See your Google Drive labels" +} +} +} +}, +"basePath": "", +"baseUrl": "https://drivelabels.googleapis.com/", +"batchPath": "batch", +"canonicalName": "Drive Labels", +"description": "An API for managing Drive Labels", +"discoveryVersion": "v1", +"documentationLink": "https://developers.google.com/workspace/drive/labels", +"fullyEncodeReservedExpansion": true, +"icons": { +"x16": "http://www.google.com/images/icons/product/search-16.gif", +"x32": "http://www.google.com/images/icons/product/search-32.gif" +}, +"id": "drivelabels:v2beta", +"kind": "discovery#restDescription", +"mtlsRootUrl": "https://drivelabels.mtls.googleapis.com/", +"name": "drivelabels", +"ownerDomain": "google.com", +"ownerName": "Google", +"parameters": { +"$.xgafv": { +"description": "V1 error format.", +"enum": [ +"1", +"2" +], +"enumDescriptions": [ +"v1 error format", +"v2 error format" +], +"location": "query", +"type": "string" +}, +"access_token": { +"description": "OAuth access token.", +"location": "query", +"type": "string" +}, +"alt": { +"default": "json", +"description": "Data format for response.", +"enum": [ +"json", +"media", +"proto" +], +"enumDescriptions": [ +"Responses with Content-Type of application/json", +"Media download with context-dependent Content-Type", +"Responses with Content-Type of application/x-protobuf" +], +"location": "query", +"type": "string" +}, +"callback": { +"description": "JSONP", +"location": "query", +"type": "string" +}, +"fields": { +"description": "Selector specifying which fields to include in a partial response.", +"location": "query", +"type": "string" +}, +"key": { +"description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", +"location": "query", +"type": "string" +}, +"oauth_token": { +"description": "OAuth 2.0 token for the current user.", +"location": "query", +"type": "string" +}, +"prettyPrint": { +"default": "true", +"description": "Returns response with indentations and line breaks.", +"location": "query", +"type": "boolean" +}, +"quotaUser": { +"description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.", +"location": "query", +"type": "string" +}, +"uploadType": { +"description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", +"location": "query", +"type": "string" +}, +"upload_protocol": { +"description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", +"location": "query", +"type": "string" +} +}, +"protocol": "rest", +"resources": { +"labels": { +"methods": { +"create": { +"description": "Creates a label. For more information, see [Create and publish a label](https://developers.google.com/workspace/drive/labels/guides/create-label).", +"flatPath": "v2beta/labels", +"httpMethod": "POST", +"id": "drivelabels.labels.create", +"parameterOrder": [], +"parameters": { +"languageCode": { +"description": "The BCP-47 language code to use for evaluating localized field labels in response. When not specified, values in the default configured language will be used.", +"location": "query", +"type": "string" +}, +"useAdminAccess": { +"description": "Set to `true` in order to use the user's admin privileges. The server will verify the user is an admin before allowing access.", +"location": "query", +"type": "boolean" +} +}, +"path": "v2beta/labels", +"request": { +"$ref": "GoogleAppsDriveLabelsV2betaLabel" +}, +"response": { +"$ref": "GoogleAppsDriveLabelsV2betaLabel" +}, +"scopes": [ +"https://www.googleapis.com/auth/drive.admin.labels", +"https://www.googleapis.com/auth/drive.labels" +] +}, +"delete": { +"description": "Permanently deletes a label and related metadata on Drive items. For more information, see [Disable, enable, and delete a label](https://developers.google.com/workspace/drive/labels/guides/disable-delete-label). Once deleted, the label and related Drive item metadata will be deleted. Only draft labels and disabled labels may be deleted.", +"flatPath": "v2beta/labels/{labelsId}", +"httpMethod": "DELETE", +"id": "drivelabels.labels.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Label resource name.", +"location": "path", +"pattern": "^labels/[^/]+$", +"required": true, +"type": "string" +}, +"useAdminAccess": { +"description": "Set to `true` in order to use the user's admin credentials. The server will verify the user is an admin for the label before allowing access.", +"location": "query", +"type": "boolean" +}, +"writeControl.requiredRevisionId": { +"description": "The revision ID of the label that the write request will be applied to. If this isn't the latest revision of the label, the request will not be processed and will return a 400 Bad Request error.", +"location": "query", +"type": "string" +} +}, +"path": "v2beta/{+name}", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/drive.admin.labels", +"https://www.googleapis.com/auth/drive.labels" +] +}, +"delta": { +"description": "Updates a single label by applying a set of update requests resulting in a new draft revision. For more information, see [Update a label](https://developers.google.com/workspace/drive/labels/guides/update-label). The batch update is all-or-nothing: If any of the update requests are invalid, no changes are applied. The resulting draft revision must be published before the changes may be used with Drive items.", +"flatPath": "v2beta/labels/{labelsId}:delta", +"httpMethod": "POST", +"id": "drivelabels.labels.delta", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the label to update.", +"location": "path", +"pattern": "^labels/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2beta/{+name}:delta", +"request": { +"$ref": "GoogleAppsDriveLabelsV2betaDeltaUpdateLabelRequest" +}, +"response": { +"$ref": "GoogleAppsDriveLabelsV2betaDeltaUpdateLabelResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/drive.admin.labels", +"https://www.googleapis.com/auth/drive.labels" +] +}, +"disable": { +"description": "Disable a published label. For more information, see [Disable, enable, and delete a label](https://developers.google.com/workspace/drive/labels/guides/disable-delete-label). Disabling a label will result in a new disabled published revision based on the current published revision. If there's a draft revision, a new disabled draft revision will be created based on the latest draft revision. Older draft revisions will be deleted. Once disabled, a label may be deleted with `DeleteLabel`.", +"flatPath": "v2beta/labels/{labelsId}:disable", +"httpMethod": "POST", +"id": "drivelabels.labels.disable", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Label resource name.", +"location": "path", +"pattern": "^labels/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2beta/{+name}:disable", +"request": { +"$ref": "GoogleAppsDriveLabelsV2betaDisableLabelRequest" +}, +"response": { +"$ref": "GoogleAppsDriveLabelsV2betaLabel" +}, +"scopes": [ +"https://www.googleapis.com/auth/drive.admin.labels", +"https://www.googleapis.com/auth/drive.labels" +] +}, +"enable": { +"description": "Enable a disabled label and restore it to its published state. For more information, see [Disable, enable, and delete a label](https://developers.google.com/workspace/drive/labels/guides/disable-delete-label). This will result in a new published revision based on the current disabled published revision. If there's an existing disabled draft revision, a new revision will be created based on that draft and will be enabled.", +"flatPath": "v2beta/labels/{labelsId}:enable", +"httpMethod": "POST", +"id": "drivelabels.labels.enable", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Label resource name.", +"location": "path", +"pattern": "^labels/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2beta/{+name}:enable", +"request": { +"$ref": "GoogleAppsDriveLabelsV2betaEnableLabelRequest" +}, +"response": { +"$ref": "GoogleAppsDriveLabelsV2betaLabel" +}, +"scopes": [ +"https://www.googleapis.com/auth/drive.admin.labels", +"https://www.googleapis.com/auth/drive.labels" +] +}, +"get": { +"description": "Get a label by its resource name. For more information, see [Search for labels](https://developers.google.com/workspace/drive/labels/guides/search-label). Resource name may be any of: * `labels/{id}` - See `labels/{id}@latest` * `labels/{id}@latest` - Gets the latest revision of the label. * `labels/{id}@published` - Gets the current published revision of the label. * `labels/{id}@{revision_id}` - Gets the label at the specified revision ID.", +"flatPath": "v2beta/labels/{labelsId}", +"httpMethod": "GET", +"id": "drivelabels.labels.get", +"parameterOrder": [ +"name" +], +"parameters": { +"languageCode": { +"description": "The BCP-47 language code to use for evaluating localized field labels. When not specified, values in the default configured language are used.", +"location": "query", +"type": "string" +}, +"name": { +"description": "Required. Label resource name. May be any of: * `labels/{id}` (equivalent to labels/{id}@latest) * `labels/{id}@latest` * `labels/{id}@published` * `labels/{id}@{revision_id}`", +"location": "path", +"pattern": "^labels/[^/]+$", +"required": true, +"type": "string" +}, +"useAdminAccess": { +"description": "Set to `true` in order to use the user's admin credentials. The server verifies that the user is an admin for the label before allowing access.", +"location": "query", +"type": "boolean" +}, +"view": { +"description": "When specified, only certain fields belonging to the indicated view are returned.", +"enum": [ +"LABEL_VIEW_BASIC", +"LABEL_VIEW_FULL" +], +"enumDescriptions": [ +"Implies the field mask: `name,id,revision_id,label_type,properties.*`", +"All possible fields." +], +"location": "query", +"type": "string" +} +}, +"path": "v2beta/{+name}", +"response": { +"$ref": "GoogleAppsDriveLabelsV2betaLabel" +}, +"scopes": [ +"https://www.googleapis.com/auth/drive.admin.labels", +"https://www.googleapis.com/auth/drive.admin.labels.readonly", +"https://www.googleapis.com/auth/drive.labels", +"https://www.googleapis.com/auth/drive.labels.readonly" +] +}, +"list": { +"description": "List labels. For more information, see [Search for labels](https://developers.google.com/workspace/drive/labels/guides/search-label).", +"flatPath": "v2beta/labels", +"httpMethod": "GET", +"id": "drivelabels.labels.list", +"parameterOrder": [], +"parameters": { +"customer": { +"description": "The customer to scope this list request to. For example: `customers/abcd1234`. If unset, will return all labels within the current customer.", +"location": "query", +"type": "string" +}, +"languageCode": { +"description": "The BCP-47 language code to use for evaluating localized field labels. When not specified, values in the default configured language are used.", +"location": "query", +"type": "string" +}, +"minimumRole": { +"description": "Specifies the level of access the user must have on the returned labels. The minimum role a user must have on a label. Defaults to `READER`.", +"enum": [ +"LABEL_ROLE_UNSPECIFIED", +"READER", +"APPLIER", +"ORGANIZER", +"EDITOR" +], +"enumDescriptions": [ +"Unknown role.", +"A reader can read the label and associated metadata applied to Drive items.", +"An applier can write associated metadata on Drive items in which they also have write access to. Implies `READER`.", +"An organizer can pin this label in shared drives they manage and add new appliers to the label.", +"Editors can make any update including deleting the label which also deletes the associated Drive item metadata. Implies `APPLIER`." +], +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Maximum number of labels to return per page. Default: 50. Max: 200.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The token of the page to return.", +"location": "query", +"type": "string" +}, +"publishedOnly": { +"description": "Whether to include only published labels in the results. * When `true`, only the current published label revisions are returned. Disabled labels are included. Returned label resource names reference the published revision (`labels/{id}/{revision_id}`). * When `false`, the current label revisions are returned, which might not be published. Returned label resource names don't reference a specific revision (`labels/{id}`).", +"location": "query", +"type": "boolean" +}, +"useAdminAccess": { +"description": "Set to `true` in order to use the user's admin credentials. This will return all labels within the customer.", +"location": "query", +"type": "boolean" +}, +"view": { +"description": "When specified, only certain fields belonging to the indicated view are returned.", +"enum": [ +"LABEL_VIEW_BASIC", +"LABEL_VIEW_FULL" +], +"enumDescriptions": [ +"Implies the field mask: `name,id,revision_id,label_type,properties.*`", +"All possible fields." +], +"location": "query", +"type": "string" +} +}, +"path": "v2beta/labels", +"response": { +"$ref": "GoogleAppsDriveLabelsV2betaListLabelsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/drive.admin.labels", +"https://www.googleapis.com/auth/drive.admin.labels.readonly", +"https://www.googleapis.com/auth/drive.labels", +"https://www.googleapis.com/auth/drive.labels.readonly" +] +}, +"publish": { +"description": "Publish all draft changes to the label. Once published, the label may not return to its draft state. For more information, see [Create and publish a label](https://developers.google.com/workspace/drive/labels/guides/create-label). Publishing a label will result in a new published revision. All previous draft revisions will be deleted. Previous published revisions will be kept but are subject to automated deletion as needed. For more information, see [Label lifecycle](https://developers.google.com/workspace/drive/labels/guides/label-lifecycle). Once published, some changes are no longer permitted. Generally, any change that would invalidate or cause new restrictions on existing metadata related to the label will be rejected. For example, the following changes to a label will be rejected after the label is published: * The label cannot be directly deleted. It must be disabled first, then deleted. * `Field.FieldType` cannot be changed. * Changes to field validation options cannot reject something that was previously accepted. * Reducing the maximum entries.", +"flatPath": "v2beta/labels/{labelsId}:publish", +"httpMethod": "POST", +"id": "drivelabels.labels.publish", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Label resource name.", +"location": "path", +"pattern": "^labels/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2beta/{+name}:publish", +"request": { +"$ref": "GoogleAppsDriveLabelsV2betaPublishLabelRequest" +}, +"response": { +"$ref": "GoogleAppsDriveLabelsV2betaLabel" +}, +"scopes": [ +"https://www.googleapis.com/auth/drive.admin.labels", +"https://www.googleapis.com/auth/drive.labels" +] +}, +"updateLabelCopyMode": { +"description": "Updates a label's `CopyMode`. Changes to this policy aren't revisioned, don't require publishing, and take effect immediately.", +"flatPath": "v2beta/labels/{labelsId}:updateLabelCopyMode", +"httpMethod": "POST", +"id": "drivelabels.labels.updateLabelCopyMode", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the label to update.", +"location": "path", +"pattern": "^labels/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2beta/{+name}:updateLabelCopyMode", +"request": { +"$ref": "GoogleAppsDriveLabelsV2betaUpdateLabelCopyModeRequest" +}, +"response": { +"$ref": "GoogleAppsDriveLabelsV2betaLabel" +}, +"scopes": [ +"https://www.googleapis.com/auth/drive.admin.labels", +"https://www.googleapis.com/auth/drive.labels" +] +}, +"updateLabelEnabledAppSettings": { +"description": "Updates a label's `EnabledAppSettings`. Enabling a label in a Google Workspace app allows it to be used in that app. This change isn't revisioned, doesn't require publishing, and takes effect immediately.", +"flatPath": "v2beta/labels/{labelsId}:updateLabelEnabledAppSettings", +"httpMethod": "POST", +"id": "drivelabels.labels.updateLabelEnabledAppSettings", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the label to update. The resource name of the label to update.", +"location": "path", +"pattern": "^labels/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2beta/{+name}:updateLabelEnabledAppSettings", +"request": { +"$ref": "GoogleAppsDriveLabelsV2betaUpdateLabelEnabledAppSettingsRequest" +}, +"response": { +"$ref": "GoogleAppsDriveLabelsV2betaLabel" +} +}, +"updatePermissions": { +"description": "Updates a label's permissions. If a permission for the indicated principal doesn't exist, a label permission is created, otherwise the existing permission is updated. Permissions affect the label resource as a whole, aren't revisioned, and don't require publishing.", +"flatPath": "v2beta/labels/{labelsId}/permissions", +"httpMethod": "PATCH", +"id": "drivelabels.labels.updatePermissions", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The parent label resource name.", +"location": "path", +"pattern": "^labels/[^/]+$", +"required": true, +"type": "string" +}, +"useAdminAccess": { +"description": "Set to `true` in order to use the user's admin credentials. The server will verify the user is an admin for the label before allowing access.", +"location": "query", +"type": "boolean" +} +}, +"path": "v2beta/{+parent}/permissions", +"request": { +"$ref": "GoogleAppsDriveLabelsV2betaLabelPermission" +}, +"response": { +"$ref": "GoogleAppsDriveLabelsV2betaLabelPermission" +}, +"scopes": [ +"https://www.googleapis.com/auth/drive.admin.labels", +"https://www.googleapis.com/auth/drive.labels" +] +} +}, +"resources": { +"locks": { +"methods": { +"list": { +"description": "Lists the label locks on a label.", +"flatPath": "v2beta/labels/{labelsId}/locks", +"httpMethod": "GET", +"id": "drivelabels.labels.locks.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "Maximum number of locks to return per page. Default: 100. Max: 200.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The token of the page to return.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. Label on which locks are applied. Format: `labels/{label}`.", +"location": "path", +"pattern": "^labels/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2beta/{+parent}/locks", +"response": { +"$ref": "GoogleAppsDriveLabelsV2betaListLabelLocksResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/drive.admin.labels", +"https://www.googleapis.com/auth/drive.admin.labels.readonly", +"https://www.googleapis.com/auth/drive.labels", +"https://www.googleapis.com/auth/drive.labels.readonly" +] +} +} +}, +"permissions": { +"methods": { +"batchDelete": { +"description": "Deletes label permissions. Permissions affect the label resource as a whole, aren't revisioned, and don't require publishing.", +"flatPath": "v2beta/labels/{labelsId}/permissions:batchDelete", +"httpMethod": "POST", +"id": "drivelabels.labels.permissions.batchDelete", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The parent label resource name shared by all permissions being deleted. Format: `labels/{label}`. If this is set, the parent field in the `UpdateLabelPermissionRequest` messages must either be empty or match this field.", +"location": "path", +"pattern": "^labels/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2beta/{+parent}/permissions:batchDelete", +"request": { +"$ref": "GoogleAppsDriveLabelsV2betaBatchDeleteLabelPermissionsRequest" +}, +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/drive.admin.labels", +"https://www.googleapis.com/auth/drive.labels" +] +}, +"batchUpdate": { +"description": "Updates label permissions. If a permission for the indicated principal doesn't exist, a label permission is created, otherwise the existing permission is updated. Permissions affect the label resource as a whole, aren't revisioned, and don't require publishing.", +"flatPath": "v2beta/labels/{labelsId}/permissions:batchUpdate", +"httpMethod": "POST", +"id": "drivelabels.labels.permissions.batchUpdate", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The parent label resource name shared by all permissions being updated. Format: `labels/{label}`. If this is set, the parent field in the `UpdateLabelPermissionRequest` messages must either be empty or match this field.", +"location": "path", +"pattern": "^labels/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2beta/{+parent}/permissions:batchUpdate", +"request": { +"$ref": "GoogleAppsDriveLabelsV2betaBatchUpdateLabelPermissionsRequest" +}, +"response": { +"$ref": "GoogleAppsDriveLabelsV2betaBatchUpdateLabelPermissionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/drive.admin.labels", +"https://www.googleapis.com/auth/drive.labels" +] +}, +"create": { +"description": "Updates a label's permissions. If a permission for the indicated principal doesn't exist, a label permission is created, otherwise the existing permission is updated. Permissions affect the label resource as a whole, aren't revisioned, and don't require publishing.", +"flatPath": "v2beta/labels/{labelsId}/permissions", +"httpMethod": "POST", +"id": "drivelabels.labels.permissions.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The parent label resource name on the label permission is created. Format: `labels/{label}`.", +"location": "path", +"pattern": "^labels/[^/]+$", +"required": true, +"type": "string" +}, +"useAdminAccess": { +"description": "Set to `true` in order to use the user's admin credentials. The server will verify the user is an admin for the label before allowing access.", +"location": "query", +"type": "boolean" +} +}, +"path": "v2beta/{+parent}/permissions", +"request": { +"$ref": "GoogleAppsDriveLabelsV2betaLabelPermission" +}, +"response": { +"$ref": "GoogleAppsDriveLabelsV2betaLabelPermission" +}, +"scopes": [ +"https://www.googleapis.com/auth/drive.admin.labels", +"https://www.googleapis.com/auth/drive.labels" +] +}, +"delete": { +"description": "Deletes a label's permission. Permissions affect the label resource as a whole, aren't revisioned, and don't require publishing.", +"flatPath": "v2beta/labels/{labelsId}/permissions/{permissionsId}", +"httpMethod": "DELETE", +"id": "drivelabels.labels.permissions.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Label permission resource name.", +"location": "path", +"pattern": "^labels/[^/]+/permissions/[^/]+$", +"required": true, +"type": "string" +}, +"useAdminAccess": { +"description": "Set to `true` in order to use the user's admin credentials. The server will verify the user is an admin for the label before allowing access.", +"location": "query", +"type": "boolean" +} +}, +"path": "v2beta/{+name}", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/drive.admin.labels", +"https://www.googleapis.com/auth/drive.labels" +] +}, +"list": { +"description": "Lists a label's permissions.", +"flatPath": "v2beta/labels/{labelsId}/permissions", +"httpMethod": "GET", +"id": "drivelabels.labels.permissions.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "Maximum number of permissions to return per page. Default: 50. Max: 200.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The token of the page to return.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent label resource name on which label permissions are listed. Format: `labels/{label}`.", +"location": "path", +"pattern": "^labels/[^/]+$", +"required": true, +"type": "string" +}, +"useAdminAccess": { +"description": "Set to `true` in order to use the user's admin credentials. The server will verify the user is an admin for the label before allowing access.", +"location": "query", +"type": "boolean" +} +}, +"path": "v2beta/{+parent}/permissions", +"response": { +"$ref": "GoogleAppsDriveLabelsV2betaListLabelPermissionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/drive.admin.labels", +"https://www.googleapis.com/auth/drive.admin.labels.readonly", +"https://www.googleapis.com/auth/drive.labels", +"https://www.googleapis.com/auth/drive.labels.readonly" +] +} +} +}, +"revisions": { +"methods": { +"updatePermissions": { +"description": "Updates a label's permissions. If a permission for the indicated principal doesn't exist, a label permission is created, otherwise the existing permission is updated. Permissions affect the label resource as a whole, aren't revisioned, and don't require publishing.", +"flatPath": "v2beta/labels/{labelsId}/revisions/{revisionsId}/permissions", +"httpMethod": "PATCH", +"id": "drivelabels.labels.revisions.updatePermissions", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The parent label resource name.", +"location": "path", +"pattern": "^labels/[^/]+/revisions/[^/]+$", +"required": true, +"type": "string" +}, +"useAdminAccess": { +"description": "Set to `true` in order to use the user's admin credentials. The server will verify the user is an admin for the label before allowing access.", +"location": "query", +"type": "boolean" +} +}, +"path": "v2beta/{+parent}/permissions", +"request": { +"$ref": "GoogleAppsDriveLabelsV2betaLabelPermission" +}, +"response": { +"$ref": "GoogleAppsDriveLabelsV2betaLabelPermission" +}, +"scopes": [ +"https://www.googleapis.com/auth/drive.admin.labels", +"https://www.googleapis.com/auth/drive.labels" +] +} +}, +"resources": { +"locks": { +"methods": { +"list": { +"description": "Lists the label locks on a label.", +"flatPath": "v2beta/labels/{labelsId}/revisions/{revisionsId}/locks", +"httpMethod": "GET", +"id": "drivelabels.labels.revisions.locks.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "Maximum number of locks to return per page. Default: 100. Max: 200.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The token of the page to return.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. Label on which locks are applied. Format: `labels/{label}`.", +"location": "path", +"pattern": "^labels/[^/]+/revisions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2beta/{+parent}/locks", +"response": { +"$ref": "GoogleAppsDriveLabelsV2betaListLabelLocksResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/drive.admin.labels", +"https://www.googleapis.com/auth/drive.admin.labels.readonly", +"https://www.googleapis.com/auth/drive.labels", +"https://www.googleapis.com/auth/drive.labels.readonly" +] +} +} +}, +"permissions": { +"methods": { +"batchDelete": { +"description": "Deletes label permissions. Permissions affect the label resource as a whole, aren't revisioned, and don't require publishing.", +"flatPath": "v2beta/labels/{labelsId}/revisions/{revisionsId}/permissions:batchDelete", +"httpMethod": "POST", +"id": "drivelabels.labels.revisions.permissions.batchDelete", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The parent label resource name shared by all permissions being deleted. Format: `labels/{label}`. If this is set, the parent field in the `UpdateLabelPermissionRequest` messages must either be empty or match this field.", +"location": "path", +"pattern": "^labels/[^/]+/revisions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2beta/{+parent}/permissions:batchDelete", +"request": { +"$ref": "GoogleAppsDriveLabelsV2betaBatchDeleteLabelPermissionsRequest" +}, +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/drive.admin.labels", +"https://www.googleapis.com/auth/drive.labels" +] +}, +"batchUpdate": { +"description": "Updates label permissions. If a permission for the indicated principal doesn't exist, a label permission is created, otherwise the existing permission is updated. Permissions affect the label resource as a whole, aren't revisioned, and don't require publishing.", +"flatPath": "v2beta/labels/{labelsId}/revisions/{revisionsId}/permissions:batchUpdate", +"httpMethod": "POST", +"id": "drivelabels.labels.revisions.permissions.batchUpdate", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The parent label resource name shared by all permissions being updated. Format: `labels/{label}`. If this is set, the parent field in the `UpdateLabelPermissionRequest` messages must either be empty or match this field.", +"location": "path", +"pattern": "^labels/[^/]+/revisions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2beta/{+parent}/permissions:batchUpdate", +"request": { +"$ref": "GoogleAppsDriveLabelsV2betaBatchUpdateLabelPermissionsRequest" +}, +"response": { +"$ref": "GoogleAppsDriveLabelsV2betaBatchUpdateLabelPermissionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/drive.admin.labels", +"https://www.googleapis.com/auth/drive.labels" +] +}, +"create": { +"description": "Updates a label's permissions. If a permission for the indicated principal doesn't exist, a label permission is created, otherwise the existing permission is updated. Permissions affect the label resource as a whole, aren't revisioned, and don't require publishing.", +"flatPath": "v2beta/labels/{labelsId}/revisions/{revisionsId}/permissions", +"httpMethod": "POST", +"id": "drivelabels.labels.revisions.permissions.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The parent label resource name on the label permission is created. Format: `labels/{label}`.", +"location": "path", +"pattern": "^labels/[^/]+/revisions/[^/]+$", +"required": true, +"type": "string" +}, +"useAdminAccess": { +"description": "Set to `true` in order to use the user's admin credentials. The server will verify the user is an admin for the label before allowing access.", +"location": "query", +"type": "boolean" +} +}, +"path": "v2beta/{+parent}/permissions", +"request": { +"$ref": "GoogleAppsDriveLabelsV2betaLabelPermission" +}, +"response": { +"$ref": "GoogleAppsDriveLabelsV2betaLabelPermission" +}, +"scopes": [ +"https://www.googleapis.com/auth/drive.admin.labels", +"https://www.googleapis.com/auth/drive.labels" +] +}, +"delete": { +"description": "Deletes a label's permission. Permissions affect the label resource as a whole, aren't revisioned, and don't require publishing.", +"flatPath": "v2beta/labels/{labelsId}/revisions/{revisionsId}/permissions/{permissionsId}", +"httpMethod": "DELETE", +"id": "drivelabels.labels.revisions.permissions.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Label permission resource name.", +"location": "path", +"pattern": "^labels/[^/]+/revisions/[^/]+/permissions/[^/]+$", +"required": true, +"type": "string" +}, +"useAdminAccess": { +"description": "Set to `true` in order to use the user's admin credentials. The server will verify the user is an admin for the label before allowing access.", +"location": "query", +"type": "boolean" +} +}, +"path": "v2beta/{+name}", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/drive.admin.labels", +"https://www.googleapis.com/auth/drive.labels" +] +}, +"list": { +"description": "Lists a label's permissions.", +"flatPath": "v2beta/labels/{labelsId}/revisions/{revisionsId}/permissions", +"httpMethod": "GET", +"id": "drivelabels.labels.revisions.permissions.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "Maximum number of permissions to return per page. Default: 50. Max: 200.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The token of the page to return.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent label resource name on which label permissions are listed. Format: `labels/{label}`.", +"location": "path", +"pattern": "^labels/[^/]+/revisions/[^/]+$", +"required": true, +"type": "string" +}, +"useAdminAccess": { +"description": "Set to `true` in order to use the user's admin credentials. The server will verify the user is an admin for the label before allowing access.", +"location": "query", +"type": "boolean" +} +}, +"path": "v2beta/{+parent}/permissions", +"response": { +"$ref": "GoogleAppsDriveLabelsV2betaListLabelPermissionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/drive.admin.labels", +"https://www.googleapis.com/auth/drive.admin.labels.readonly", +"https://www.googleapis.com/auth/drive.labels", +"https://www.googleapis.com/auth/drive.labels.readonly" +] +} +} +} +} +} +} +}, +"limits": { +"methods": { +"getLabel": { +"description": "Get the constraints on the structure of a label; such as, the maximum number of fields allowed and maximum length of the label title.", +"flatPath": "v2beta/limits/label", +"httpMethod": "GET", +"id": "drivelabels.limits.getLabel", +"parameterOrder": [], +"parameters": { +"name": { +"description": "Required. Label revision resource name must be: \"limits/label\".", +"location": "query", +"type": "string" +} +}, +"path": "v2beta/limits/label", +"response": { +"$ref": "GoogleAppsDriveLabelsV2betaLabelLimits" +}, +"scopes": [ +"https://www.googleapis.com/auth/drive.admin.labels", +"https://www.googleapis.com/auth/drive.admin.labels.readonly", +"https://www.googleapis.com/auth/drive.labels", +"https://www.googleapis.com/auth/drive.labels.readonly" +] +} +} +}, +"users": { +"methods": { +"getCapabilities": { +"description": "Gets the user capabilities.", +"flatPath": "v2beta/users/{usersId}/capabilities", +"httpMethod": "GET", +"id": "drivelabels.users.getCapabilities", +"parameterOrder": [ +"name" +], +"parameters": { +"customer": { +"description": "The customer to scope this request to. For example: `customers/abcd1234`. If unset, it will return settings within the current customer.", +"location": "query", +"type": "string" +}, +"name": { +"description": "Required. The resource name of the user. Only \"users/me/capabilities\" is supported.", +"location": "path", +"pattern": "^users/[^/]+/capabilities$", +"required": true, +"type": "string" +} +}, +"path": "v2beta/{+name}", +"response": { +"$ref": "GoogleAppsDriveLabelsV2betaUserCapabilities" +}, +"scopes": [ +"https://www.googleapis.com/auth/drive.admin.labels", +"https://www.googleapis.com/auth/drive.admin.labels.readonly", +"https://www.googleapis.com/auth/drive.labels", +"https://www.googleapis.com/auth/drive.labels.readonly" +] +} +} +} +}, +"revision": "20250807", +"rootUrl": "https://drivelabels.googleapis.com/", +"schemas": { +"GoogleAppsDriveLabelsV2betaBadgeColors": { +"description": "The color derived from BadgeConfig and changed to the closest recommended supported color.", +"id": "GoogleAppsDriveLabelsV2betaBadgeColors", +"properties": { +"backgroundColor": { +"$ref": "GoogleTypeColor", +"description": "Output only. Badge background that pairs with the foreground.", +"readOnly": true +}, +"foregroundColor": { +"$ref": "GoogleTypeColor", +"description": "Output only. Badge foreground that pairs with the background.", +"readOnly": true +}, +"soloColor": { +"$ref": "GoogleTypeColor", +"description": "Output only. Color that can be used for text without a background.", +"readOnly": true +} +}, +"type": "object" +}, +"GoogleAppsDriveLabelsV2betaBadgeConfig": { +"description": "Badge status of the label.", +"id": "GoogleAppsDriveLabelsV2betaBadgeConfig", +"properties": { +"color": { +"$ref": "GoogleTypeColor", +"description": "The color of the badge. When not specified, no badge is rendered. The background, foreground, and solo (light and dark mode) colors set here are changed in the Drive UI into the closest recommended supported color." +}, +"priorityOverride": { +"description": "Override the default global priority of this badge. When set to 0, the default priority heuristic is used.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"GoogleAppsDriveLabelsV2betaBatchDeleteLabelPermissionsRequest": { +"description": "Deletes one or more label permissions.", +"id": "GoogleAppsDriveLabelsV2betaBatchDeleteLabelPermissionsRequest", +"properties": { +"requests": { +"description": "Required. The request message specifying the resources to update.", +"items": { +"$ref": "GoogleAppsDriveLabelsV2betaDeleteLabelPermissionRequest" +}, +"type": "array" +}, +"useAdminAccess": { +"description": "Set to `true` in order to use the user's admin credentials. The server will verify the user is an admin for the label before allowing access. If this is set, the `use_admin_access` field in the `DeleteLabelPermissionRequest` messages must either be empty or match this field.", +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleAppsDriveLabelsV2betaBatchUpdateLabelPermissionsRequest": { +"description": "Updates one or more label permissions.", +"id": "GoogleAppsDriveLabelsV2betaBatchUpdateLabelPermissionsRequest", +"properties": { +"requests": { +"description": "Required. The request message specifying the resources to update.", +"items": { +"$ref": "GoogleAppsDriveLabelsV2betaUpdateLabelPermissionRequest" +}, +"type": "array" +}, +"useAdminAccess": { +"description": "Set to `true` in order to use the user's admin credentials. The server will verify the user is an admin for the label before allowing access. If this is set, the `use_admin_access` field in the `UpdateLabelPermissionRequest` messages must either be empty or match this field.", +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleAppsDriveLabelsV2betaBatchUpdateLabelPermissionsResponse": { +"description": "Response for updating one or more label permissions.", +"id": "GoogleAppsDriveLabelsV2betaBatchUpdateLabelPermissionsResponse", +"properties": { +"permissions": { +"description": "Required. Permissions updated.", +"items": { +"$ref": "GoogleAppsDriveLabelsV2betaLabelPermission" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleAppsDriveLabelsV2betaDateLimits": { +"description": "Limits for date field type.", +"id": "GoogleAppsDriveLabelsV2betaDateLimits", +"properties": { +"maxValue": { +"$ref": "GoogleTypeDate", +"description": "Maximum value for the date field type." +}, +"minValue": { +"$ref": "GoogleTypeDate", +"description": "Minimum value for the date field type." +} +}, +"type": "object" +}, +"GoogleAppsDriveLabelsV2betaDeleteLabelPermissionRequest": { +"description": "Deletes a label permission. Permissions affect the label resource as a whole, aren't revisioned, and don't require publishing.", +"id": "GoogleAppsDriveLabelsV2betaDeleteLabelPermissionRequest", +"properties": { +"name": { +"description": "Required. Label permission resource name.", +"type": "string" +}, +"useAdminAccess": { +"description": "Set to `true` in order to use the user's admin credentials. The server will verify the user is an admin for the label before allowing access.", +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleAppsDriveLabelsV2betaDeltaUpdateLabelRequest": { +"description": "The set of requests for updating aspects of a label. If any request isn't valid, no requests will be applied.", +"id": "GoogleAppsDriveLabelsV2betaDeltaUpdateLabelRequest", +"properties": { +"languageCode": { +"description": "The BCP-47 language code to use for evaluating localized field labels when `include_label_in_response` is `true`.", +"type": "string" +}, +"requests": { +"description": "A list of updates to apply to the label. Requests will be applied in the order they are specified.", +"items": { +"$ref": "GoogleAppsDriveLabelsV2betaDeltaUpdateLabelRequestRequest" +}, +"type": "array" +}, +"useAdminAccess": { +"description": "Set to `true` in order to use the user's admin credentials. The server will verify the user is an admin for the label before allowing access.", +"type": "boolean" +}, +"view": { +"description": "When specified, only certain fields belonging to the indicated view will be returned.", +"enum": [ +"LABEL_VIEW_BASIC", +"LABEL_VIEW_FULL" +], +"enumDescriptions": [ +"Implies the field mask: `name,id,revision_id,label_type,properties.*`", +"All possible fields." +], +"type": "string" +}, +"writeControl": { +"$ref": "GoogleAppsDriveLabelsV2betaWriteControl", +"description": "Provides control over how write requests are executed." +} +}, +"type": "object" +}, +"GoogleAppsDriveLabelsV2betaDeltaUpdateLabelRequestCreateFieldRequest": { +"description": "Request to create a field within a label.", +"id": "GoogleAppsDriveLabelsV2betaDeltaUpdateLabelRequestCreateFieldRequest", +"properties": { +"field": { +"$ref": "GoogleAppsDriveLabelsV2betaField", +"description": "Required. Field to create." +} +}, +"type": "object" +}, +"GoogleAppsDriveLabelsV2betaDeltaUpdateLabelRequestCreateSelectionChoiceRequest": { +"description": "Request to create a selection choice.", +"id": "GoogleAppsDriveLabelsV2betaDeltaUpdateLabelRequestCreateSelectionChoiceRequest", +"properties": { +"choice": { +"$ref": "GoogleAppsDriveLabelsV2betaFieldSelectionOptionsChoice", +"description": "Required. The choice to create." +}, +"fieldId": { +"description": "Required. The selection field in which a choice will be created.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleAppsDriveLabelsV2betaDeltaUpdateLabelRequestDeleteFieldRequest": { +"description": "Request to delete the field.", +"id": "GoogleAppsDriveLabelsV2betaDeltaUpdateLabelRequestDeleteFieldRequest", +"properties": { +"id": { +"description": "Required. ID of the field to delete.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleAppsDriveLabelsV2betaDeltaUpdateLabelRequestDeleteSelectionChoiceRequest": { +"description": "Request to delete a choice.", +"id": "GoogleAppsDriveLabelsV2betaDeltaUpdateLabelRequestDeleteSelectionChoiceRequest", +"properties": { +"fieldId": { +"description": "Required. The selection field from which a choice will be deleted.", +"type": "string" +}, +"id": { +"description": "Required. Choice to delete.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleAppsDriveLabelsV2betaDeltaUpdateLabelRequestDisableFieldRequest": { +"description": "Request to disable the field.", +"id": "GoogleAppsDriveLabelsV2betaDeltaUpdateLabelRequestDisableFieldRequest", +"properties": { +"disabledPolicy": { +"$ref": "GoogleAppsDriveLabelsV2betaLifecycleDisabledPolicy", +"description": "Required. Field disabled policy." +}, +"id": { +"description": "Required. Key of the field to disable.", +"type": "string" +}, +"updateMask": { +"description": "The fields that should be updated. At least one field must be specified. The root `disabled_policy` is implied and should not be specified. A single `*` can be used as a short-hand for updating every field.", +"format": "google-fieldmask", +"type": "string" +} +}, +"type": "object" +}, +"GoogleAppsDriveLabelsV2betaDeltaUpdateLabelRequestDisableSelectionChoiceRequest": { +"description": "Request to disable a choice.", +"id": "GoogleAppsDriveLabelsV2betaDeltaUpdateLabelRequestDisableSelectionChoiceRequest", +"properties": { +"disabledPolicy": { +"$ref": "GoogleAppsDriveLabelsV2betaLifecycleDisabledPolicy", +"description": "Required. The disabled policy to update." +}, +"fieldId": { +"description": "Required. The selection field in which a choice will be disabled.", +"type": "string" +}, +"id": { +"description": "Required. Choice to disable.", +"type": "string" +}, +"updateMask": { +"description": "The fields that should be updated. At least one field must be specified. The root `disabled_policy` is implied and should not be specified. A single `*` can be used as a short-hand for updating every field.", +"format": "google-fieldmask", +"type": "string" +} +}, +"type": "object" +}, +"GoogleAppsDriveLabelsV2betaDeltaUpdateLabelRequestEnableFieldRequest": { +"description": "Request to enable the field.", +"id": "GoogleAppsDriveLabelsV2betaDeltaUpdateLabelRequestEnableFieldRequest", +"properties": { +"id": { +"description": "Required. ID of the field to enable.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleAppsDriveLabelsV2betaDeltaUpdateLabelRequestEnableSelectionChoiceRequest": { +"description": "Request to enable a choice.", +"id": "GoogleAppsDriveLabelsV2betaDeltaUpdateLabelRequestEnableSelectionChoiceRequest", +"properties": { +"fieldId": { +"description": "Required. The selection field in which a choice will be enabled.", +"type": "string" +}, +"id": { +"description": "Required. Choice to enable.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleAppsDriveLabelsV2betaDeltaUpdateLabelRequestRequest": { +"description": "A single kind of update to apply to a label.", +"id": "GoogleAppsDriveLabelsV2betaDeltaUpdateLabelRequestRequest", +"properties": { +"createField": { +"$ref": "GoogleAppsDriveLabelsV2betaDeltaUpdateLabelRequestCreateFieldRequest", +"description": "Creates a field." +}, +"createSelectionChoice": { +"$ref": "GoogleAppsDriveLabelsV2betaDeltaUpdateLabelRequestCreateSelectionChoiceRequest", +"description": "Create a choice within a selection field." +}, +"deleteField": { +"$ref": "GoogleAppsDriveLabelsV2betaDeltaUpdateLabelRequestDeleteFieldRequest", +"description": "Deletes a field from the label." +}, +"deleteSelectionChoice": { +"$ref": "GoogleAppsDriveLabelsV2betaDeltaUpdateLabelRequestDeleteSelectionChoiceRequest", +"description": "Delete a choice within a selection field." +}, +"disableField": { +"$ref": "GoogleAppsDriveLabelsV2betaDeltaUpdateLabelRequestDisableFieldRequest", +"description": "Disables the field." +}, +"disableSelectionChoice": { +"$ref": "GoogleAppsDriveLabelsV2betaDeltaUpdateLabelRequestDisableSelectionChoiceRequest", +"description": "Disable a choice within a selection field." +}, +"enableField": { +"$ref": "GoogleAppsDriveLabelsV2betaDeltaUpdateLabelRequestEnableFieldRequest", +"description": "Enables the field." +}, +"enableSelectionChoice": { +"$ref": "GoogleAppsDriveLabelsV2betaDeltaUpdateLabelRequestEnableSelectionChoiceRequest", +"description": "Enable a choice within a selection field." +}, +"updateField": { +"$ref": "GoogleAppsDriveLabelsV2betaDeltaUpdateLabelRequestUpdateFieldPropertiesRequest", +"description": "Updates basic properties of a field." +}, +"updateFieldType": { +"$ref": "GoogleAppsDriveLabelsV2betaDeltaUpdateLabelRequestUpdateFieldTypeRequest", +"description": "Update field type and/or type options." +}, +"updateLabel": { +"$ref": "GoogleAppsDriveLabelsV2betaDeltaUpdateLabelRequestUpdateLabelPropertiesRequest", +"description": "Updates the label properties." +}, +"updateSelectionChoiceProperties": { +"$ref": "GoogleAppsDriveLabelsV2betaDeltaUpdateLabelRequestUpdateSelectionChoicePropertiesRequest", +"description": "Update a choice property within a selection field." +} +}, +"type": "object" +}, +"GoogleAppsDriveLabelsV2betaDeltaUpdateLabelRequestUpdateFieldPropertiesRequest": { +"description": "Request to update field properties.", +"id": "GoogleAppsDriveLabelsV2betaDeltaUpdateLabelRequestUpdateFieldPropertiesRequest", +"properties": { +"id": { +"description": "Required. The field to update.", +"type": "string" +}, +"properties": { +"$ref": "GoogleAppsDriveLabelsV2betaFieldProperties", +"description": "Required. Basic field properties." +}, +"updateMask": { +"description": "The fields that should be updated. At least one field must be specified. The root `properties` is implied and should not be specified. A single `*` can be used as a short-hand for updating every field.", +"format": "google-fieldmask", +"type": "string" +} +}, +"type": "object" +}, +"GoogleAppsDriveLabelsV2betaDeltaUpdateLabelRequestUpdateFieldTypeRequest": { +"description": "Request to change the type of a field.", +"id": "GoogleAppsDriveLabelsV2betaDeltaUpdateLabelRequestUpdateFieldTypeRequest", +"properties": { +"dateOptions": { +"$ref": "GoogleAppsDriveLabelsV2betaFieldDateOptions", +"description": "Update field to Date." +}, +"id": { +"description": "Required. The field to update.", +"type": "string" +}, +"integerOptions": { +"$ref": "GoogleAppsDriveLabelsV2betaFieldIntegerOptions", +"description": "Update field to Integer." +}, +"selectionOptions": { +"$ref": "GoogleAppsDriveLabelsV2betaFieldSelectionOptions", +"description": "Update field to Selection." +}, +"textOptions": { +"$ref": "GoogleAppsDriveLabelsV2betaFieldTextOptions", +"description": "Update field to Text." +}, +"updateMask": { +"description": "The fields that should be updated. At least one field must be specified. The root of `type_options` is implied and should not be specified. A single `*` can be used as a short-hand for updating every field.", +"format": "google-fieldmask", +"type": "string" +}, +"userOptions": { +"$ref": "GoogleAppsDriveLabelsV2betaFieldUserOptions", +"description": "Update field to User." +} +}, +"type": "object" +}, +"GoogleAppsDriveLabelsV2betaDeltaUpdateLabelRequestUpdateLabelPropertiesRequest": { +"description": "Updates basic properties of a label.", +"id": "GoogleAppsDriveLabelsV2betaDeltaUpdateLabelRequestUpdateLabelPropertiesRequest", +"properties": { +"properties": { +"$ref": "GoogleAppsDriveLabelsV2betaLabelProperties", +"description": "Required. Label properties to update." +}, +"updateMask": { +"description": "The fields that should be updated. At least one field must be specified. The root `label_properties` is implied and should not be specified. A single `*` can be used as a short-hand for updating every field.", +"format": "google-fieldmask", +"type": "string" +} +}, +"type": "object" +}, +"GoogleAppsDriveLabelsV2betaDeltaUpdateLabelRequestUpdateSelectionChoicePropertiesRequest": { +"description": "Request to update a choice property.", +"id": "GoogleAppsDriveLabelsV2betaDeltaUpdateLabelRequestUpdateSelectionChoicePropertiesRequest", +"properties": { +"fieldId": { +"description": "Required. The selection field to update.", +"type": "string" +}, +"id": { +"description": "Required. The choice to update.", +"type": "string" +}, +"properties": { +"$ref": "GoogleAppsDriveLabelsV2betaFieldSelectionOptionsChoiceProperties", +"description": "Required. The choice properties to update." +}, +"updateMask": { +"description": "The fields that should be updated. At least one field must be specified. The root `properties` is implied and should not be specified. A single `*` can be used as a short-hand for updating every field.", +"format": "google-fieldmask", +"type": "string" +} +}, +"type": "object" +}, +"GoogleAppsDriveLabelsV2betaDeltaUpdateLabelResponse": { +"description": "Response for label update.", +"id": "GoogleAppsDriveLabelsV2betaDeltaUpdateLabelResponse", +"properties": { +"responses": { +"description": "The reply of the updates. This maps 1:1 with the updates, although responses to some requests may be empty.", +"items": { +"$ref": "GoogleAppsDriveLabelsV2betaDeltaUpdateLabelResponseResponse" +}, +"type": "array" +}, +"updatedLabel": { +"$ref": "GoogleAppsDriveLabelsV2betaLabel", +"description": "The label after updates were applied. This is only set if `include_label_in_response` is `true` and there were no errors." +} +}, +"type": "object" +}, +"GoogleAppsDriveLabelsV2betaDeltaUpdateLabelResponseCreateFieldResponse": { +"description": "Response following field create.", +"id": "GoogleAppsDriveLabelsV2betaDeltaUpdateLabelResponseCreateFieldResponse", +"properties": { +"id": { +"description": "The field of the created field. When left blank in a create request, a key will be autogenerated and can be identified here.", +"type": "string" +}, +"priority": { +"description": "The priority of the created field. The priority may change from what was specified to assure contiguous priorities between fields (1-n).", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"GoogleAppsDriveLabelsV2betaDeltaUpdateLabelResponseCreateSelectionChoiceResponse": { +"description": "Response following selection choice create.", +"id": "GoogleAppsDriveLabelsV2betaDeltaUpdateLabelResponseCreateSelectionChoiceResponse", +"properties": { +"fieldId": { +"description": "The server-generated ID of the field.", +"type": "string" +}, +"id": { +"description": "The server-generated ID of the created choice within the field.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleAppsDriveLabelsV2betaDeltaUpdateLabelResponseDeleteFieldResponse": { +"description": "Response following field delete.", +"id": "GoogleAppsDriveLabelsV2betaDeltaUpdateLabelResponseDeleteFieldResponse", +"properties": {}, +"type": "object" +}, +"GoogleAppsDriveLabelsV2betaDeltaUpdateLabelResponseDeleteSelectionChoiceResponse": { +"description": "Response following choice delete.", +"id": "GoogleAppsDriveLabelsV2betaDeltaUpdateLabelResponseDeleteSelectionChoiceResponse", +"properties": {}, +"type": "object" +}, +"GoogleAppsDriveLabelsV2betaDeltaUpdateLabelResponseDisableFieldResponse": { +"description": "Response following field disable.", +"id": "GoogleAppsDriveLabelsV2betaDeltaUpdateLabelResponseDisableFieldResponse", +"properties": {}, +"type": "object" +}, +"GoogleAppsDriveLabelsV2betaDeltaUpdateLabelResponseDisableSelectionChoiceResponse": { +"description": "Response following choice disable.", +"id": "GoogleAppsDriveLabelsV2betaDeltaUpdateLabelResponseDisableSelectionChoiceResponse", +"properties": {}, +"type": "object" +}, +"GoogleAppsDriveLabelsV2betaDeltaUpdateLabelResponseEnableFieldResponse": { +"description": "Response following field enable.", +"id": "GoogleAppsDriveLabelsV2betaDeltaUpdateLabelResponseEnableFieldResponse", +"properties": {}, +"type": "object" +}, +"GoogleAppsDriveLabelsV2betaDeltaUpdateLabelResponseEnableSelectionChoiceResponse": { +"description": "Response following choice enable.", +"id": "GoogleAppsDriveLabelsV2betaDeltaUpdateLabelResponseEnableSelectionChoiceResponse", +"properties": {}, +"type": "object" +}, +"GoogleAppsDriveLabelsV2betaDeltaUpdateLabelResponseResponse": { +"description": "A single response from an update.", +"id": "GoogleAppsDriveLabelsV2betaDeltaUpdateLabelResponseResponse", +"properties": { +"createField": { +"$ref": "GoogleAppsDriveLabelsV2betaDeltaUpdateLabelResponseCreateFieldResponse", +"description": "Creates a field." +}, +"createSelectionChoice": { +"$ref": "GoogleAppsDriveLabelsV2betaDeltaUpdateLabelResponseCreateSelectionChoiceResponse", +"description": "Creates a selection list option to add to a selection field." +}, +"deleteField": { +"$ref": "GoogleAppsDriveLabelsV2betaDeltaUpdateLabelResponseDeleteFieldResponse", +"description": "Deletes a field from the label." +}, +"deleteSelectionChoice": { +"$ref": "GoogleAppsDriveLabelsV2betaDeltaUpdateLabelResponseDeleteSelectionChoiceResponse", +"description": "Deletes a choice from a selection field." +}, +"disableField": { +"$ref": "GoogleAppsDriveLabelsV2betaDeltaUpdateLabelResponseDisableFieldResponse", +"description": "Disables field." +}, +"disableSelectionChoice": { +"$ref": "GoogleAppsDriveLabelsV2betaDeltaUpdateLabelResponseDisableSelectionChoiceResponse", +"description": "Disables a choice within a selection field." +}, +"enableField": { +"$ref": "GoogleAppsDriveLabelsV2betaDeltaUpdateLabelResponseEnableFieldResponse", +"description": "Enables field." +}, +"enableSelectionChoice": { +"$ref": "GoogleAppsDriveLabelsV2betaDeltaUpdateLabelResponseEnableSelectionChoiceResponse", +"description": "Enables a choice within a selection field." +}, +"updateField": { +"$ref": "GoogleAppsDriveLabelsV2betaDeltaUpdateLabelResponseUpdateFieldPropertiesResponse", +"description": "Updates basic properties of a field." +}, +"updateFieldType": { +"$ref": "GoogleAppsDriveLabelsV2betaDeltaUpdateLabelResponseUpdateFieldTypeResponse", +"description": "Updates field type and/or type options." +}, +"updateLabel": { +"$ref": "GoogleAppsDriveLabelsV2betaDeltaUpdateLabelResponseUpdateLabelPropertiesResponse", +"description": "Updates basic properties of a label." +}, +"updateSelectionChoiceProperties": { +"$ref": "GoogleAppsDriveLabelsV2betaDeltaUpdateLabelResponseUpdateSelectionChoicePropertiesResponse", +"description": "Updates a choice within a selection field." +} +}, +"type": "object" +}, +"GoogleAppsDriveLabelsV2betaDeltaUpdateLabelResponseUpdateFieldPropertiesResponse": { +"description": "Response following update to field properties.", +"id": "GoogleAppsDriveLabelsV2betaDeltaUpdateLabelResponseUpdateFieldPropertiesResponse", +"properties": { +"priority": { +"description": "The priority of the updated field. The priority may change from what was specified to assure contiguous priorities between fields (1-n).", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"GoogleAppsDriveLabelsV2betaDeltaUpdateLabelResponseUpdateFieldTypeResponse": { +"description": "Response following update to field type.", +"id": "GoogleAppsDriveLabelsV2betaDeltaUpdateLabelResponseUpdateFieldTypeResponse", +"properties": {}, +"type": "object" +}, +"GoogleAppsDriveLabelsV2betaDeltaUpdateLabelResponseUpdateLabelPropertiesResponse": { +"description": "Response following update to label properties.", +"id": "GoogleAppsDriveLabelsV2betaDeltaUpdateLabelResponseUpdateLabelPropertiesResponse", +"properties": {}, +"type": "object" +}, +"GoogleAppsDriveLabelsV2betaDeltaUpdateLabelResponseUpdateSelectionChoicePropertiesResponse": { +"description": "Response following update to selection choice properties.", +"id": "GoogleAppsDriveLabelsV2betaDeltaUpdateLabelResponseUpdateSelectionChoicePropertiesResponse", +"properties": { +"priority": { +"description": "The priority of the updated choice. The priority may change from what was specified to assure contiguous priorities between choices (1-n).", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"GoogleAppsDriveLabelsV2betaDisableLabelRequest": { +"description": "Request to deprecate a published label.", +"id": "GoogleAppsDriveLabelsV2betaDisableLabelRequest", +"properties": { +"disabledPolicy": { +"$ref": "GoogleAppsDriveLabelsV2betaLifecycleDisabledPolicy", +"description": "Disabled policy to use." +}, +"languageCode": { +"description": "The BCP-47 language code to use for evaluating localized field labels. When not specified, values in the default configured language will be used.", +"type": "string" +}, +"updateMask": { +"description": "The fields that should be updated. At least one field must be specified. The root `disabled_policy` is implied and should not be specified. A single `*` can be used as a short-hand for updating every field.", +"format": "google-fieldmask", +"type": "string" +}, +"useAdminAccess": { +"description": "Set to `true` in order to use the user's admin credentials. The server will verify the user is an admin for the label before allowing access.", +"type": "boolean" +}, +"writeControl": { +"$ref": "GoogleAppsDriveLabelsV2betaWriteControl", +"description": "Provides control over how write requests are executed. Defaults to unset, which means the last write wins." +} +}, +"type": "object" +}, +"GoogleAppsDriveLabelsV2betaEnableLabelRequest": { +"description": "Request to enable a label.", +"id": "GoogleAppsDriveLabelsV2betaEnableLabelRequest", +"properties": { +"languageCode": { +"description": "The BCP-47 language code to use for evaluating localized field labels. When not specified, values in the default configured language will be used.", +"type": "string" +}, +"useAdminAccess": { +"description": "Set to `true` in order to use the user's admin credentials. The server will verify the user is an admin for the label before allowing access.", +"type": "boolean" +}, +"writeControl": { +"$ref": "GoogleAppsDriveLabelsV2betaWriteControl", +"description": "Provides control over how write requests are executed. Defaults to unset, which means the last write wins." +} +}, +"type": "object" +}, +"GoogleAppsDriveLabelsV2betaField": { +"description": "Defines a field that has a display name, data type, and other configuration options. This field defines the kind of metadata that may be set on a Drive item.", +"id": "GoogleAppsDriveLabelsV2betaField", +"properties": { +"appliedCapabilities": { +"$ref": "GoogleAppsDriveLabelsV2betaFieldAppliedCapabilities", +"description": "Output only. The capabilities this user has on this field and its value when the label is applied on Drive items.", +"readOnly": true +}, +"createTime": { +"description": "Output only. The time this field was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"creator": { +"$ref": "GoogleAppsDriveLabelsV2betaUserInfo", +"description": "Output only. The user who created this field.", +"readOnly": true +}, +"dateOptions": { +"$ref": "GoogleAppsDriveLabelsV2betaFieldDateOptions", +"description": "Date field options." +}, +"disableTime": { +"description": "Output only. The time this field was disabled. This value has no meaning when the field is not disabled.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"disabler": { +"$ref": "GoogleAppsDriveLabelsV2betaUserInfo", +"description": "Output only. The user who disabled this field. This value has no meaning when the field is not disabled.", +"readOnly": true +}, +"displayHints": { +"$ref": "GoogleAppsDriveLabelsV2betaFieldDisplayHints", +"description": "Output only. UI display hints for rendering a field.", +"readOnly": true +}, +"id": { +"description": "Output only. The key of a field, unique within a label or library. This value is autogenerated. Matches the regex: `([a-zA-Z0-9])+`.", +"readOnly": true, +"type": "string" +}, +"integerOptions": { +"$ref": "GoogleAppsDriveLabelsV2betaFieldIntegerOptions", +"description": "Integer field options." +}, +"lifecycle": { +"$ref": "GoogleAppsDriveLabelsV2betaLifecycle", +"description": "Output only. The lifecycle of this field.", +"readOnly": true +}, +"lockStatus": { +"$ref": "GoogleAppsDriveLabelsV2betaLockStatus", +"description": "Output only. The `LockStatus` of this field.", +"readOnly": true +}, +"properties": { +"$ref": "GoogleAppsDriveLabelsV2betaFieldProperties", +"description": "The basic properties of the field." +}, +"publisher": { +"$ref": "GoogleAppsDriveLabelsV2betaUserInfo", +"description": "Output only. The user who published this field. This value has no meaning when the field is not published.", +"readOnly": true +}, +"queryKey": { +"description": "Output only. The key to use when constructing Drive search queries to find files based on values defined for this field on files. For example, \"`{query_key}` > 2001-01-01\".", +"readOnly": true, +"type": "string" +}, +"schemaCapabilities": { +"$ref": "GoogleAppsDriveLabelsV2betaFieldSchemaCapabilities", +"description": "Output only. The capabilities this user has when editing this field.", +"readOnly": true +}, +"selectionOptions": { +"$ref": "GoogleAppsDriveLabelsV2betaFieldSelectionOptions", +"description": "Selection field options." +}, +"textOptions": { +"$ref": "GoogleAppsDriveLabelsV2betaFieldTextOptions", +"description": "Text field options." +}, +"updateTime": { +"description": "Output only. The time this field was updated.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"updater": { +"$ref": "GoogleAppsDriveLabelsV2betaUserInfo", +"description": "Output only. The user who modified this field.", +"readOnly": true +}, +"userOptions": { +"$ref": "GoogleAppsDriveLabelsV2betaFieldUserOptions", +"description": "User field options." +} +}, +"type": "object" +}, +"GoogleAppsDriveLabelsV2betaFieldAppliedCapabilities": { +"description": "The capabilities related to this field on applied metadata.", +"id": "GoogleAppsDriveLabelsV2betaFieldAppliedCapabilities", +"properties": { +"canRead": { +"description": "Whether the user can read related applied metadata on items.", +"type": "boolean" +}, +"canSearch": { +"description": "Whether the user can search for Drive items referencing this field.", +"type": "boolean" +}, +"canWrite": { +"description": "Whether the user can set this field on Drive items.", +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleAppsDriveLabelsV2betaFieldDateOptions": { +"description": "Options for the date field type.", +"id": "GoogleAppsDriveLabelsV2betaFieldDateOptions", +"properties": { +"dateFormat": { +"description": "Output only. ICU date format.", +"readOnly": true, +"type": "string" +}, +"dateFormatType": { +"description": "Localized date formatting option. Field values are rendered in this format according to their locale.", +"enum": [ +"DATE_FORMAT_UNSPECIFIED", +"LONG_DATE", +"SHORT_DATE" +], +"enumDescriptions": [ +"Date format unspecified.", +"Includes full month name. For example, January 12, 1999 (MMMM d, y)", +"Short, numeric, representation. For example, 12/13/99 (M/d/yy)" +], +"type": "string" +}, +"maxValue": { +"$ref": "GoogleTypeDate", +"description": "Output only. Maximum valid value (year, month, day).", +"readOnly": true +}, +"minValue": { +"$ref": "GoogleTypeDate", +"description": "Output only. Minimum valid value (year, month, day).", +"readOnly": true +} +}, +"type": "object" +}, +"GoogleAppsDriveLabelsV2betaFieldDisplayHints": { +"description": "UI display hints for rendering a field.", +"id": "GoogleAppsDriveLabelsV2betaFieldDisplayHints", +"properties": { +"disabled": { +"description": "Whether the field should be shown in the UI as disabled.", +"type": "boolean" +}, +"hiddenInSearch": { +"description": "This field should be hidden in the search menu when searching for Drive items.", +"type": "boolean" +}, +"required": { +"description": "Whether the field should be shown as required in the UI.", +"type": "boolean" +}, +"shownInApply": { +"description": "This field should be shown in the apply menu when applying values to a Drive item.", +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleAppsDriveLabelsV2betaFieldIntegerOptions": { +"description": "Options for the Integer field type.", +"id": "GoogleAppsDriveLabelsV2betaFieldIntegerOptions", +"properties": { +"maxValue": { +"description": "Output only. The maximum valid value for the integer field.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"minValue": { +"description": "Output only. The minimum valid value for the integer field.", +"format": "int64", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleAppsDriveLabelsV2betaFieldLimits": { +"description": "Field constants governing the structure of a field; such as, the maximum title length, minimum and maximum field values or length, etc.", +"id": "GoogleAppsDriveLabelsV2betaFieldLimits", +"properties": { +"dateLimits": { +"$ref": "GoogleAppsDriveLabelsV2betaDateLimits", +"description": "Date field limits." +}, +"integerLimits": { +"$ref": "GoogleAppsDriveLabelsV2betaIntegerLimits", +"description": "Integer field limits." +}, +"longTextLimits": { +"$ref": "GoogleAppsDriveLabelsV2betaLongTextLimits", +"description": "Long text field limits." +}, +"maxDescriptionLength": { +"description": "Limits for field description, also called help text.", +"format": "int32", +"type": "integer" +}, +"maxDisplayNameLength": { +"description": "Limits for field title.", +"format": "int32", +"type": "integer" +}, +"maxIdLength": { +"description": "Maximum length for the id.", +"format": "int32", +"type": "integer" +}, +"selectionLimits": { +"$ref": "GoogleAppsDriveLabelsV2betaSelectionLimits", +"description": "Selection field limits." +}, +"textLimits": { +"$ref": "GoogleAppsDriveLabelsV2betaTextLimits", +"description": "The relevant limits for the specified Field.Type. Text field limits." +}, +"userLimits": { +"$ref": "GoogleAppsDriveLabelsV2betaUserLimits", +"description": "User field limits." +} +}, +"type": "object" +}, +"GoogleAppsDriveLabelsV2betaFieldListOptions": { +"description": "Options for a multi-valued variant of an associated field type.", +"id": "GoogleAppsDriveLabelsV2betaFieldListOptions", +"properties": { +"maxEntries": { +"description": "Maximum number of entries permitted.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"GoogleAppsDriveLabelsV2betaFieldProperties": { +"description": "The basic properties of the field.", +"id": "GoogleAppsDriveLabelsV2betaFieldProperties", +"properties": { +"displayName": { +"description": "Required. The display text to show in the UI identifying this field.", +"type": "string" +}, +"insertBeforeField": { +"description": "Input only. Insert or move this field before the indicated field. If empty, the field is placed at the end of the list.", +"type": "string" +}, +"required": { +"description": "Whether the field should be marked as required.", +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleAppsDriveLabelsV2betaFieldSchemaCapabilities": { +"description": "The capabilities related to this field when editing the field.", +"id": "GoogleAppsDriveLabelsV2betaFieldSchemaCapabilities", +"properties": { +"canDelete": { +"description": "Whether the user can delete this field. The user must have permission and the field must be deprecated.", +"type": "boolean" +}, +"canDisable": { +"description": "Whether the user can disable this field. The user must have permission and this field must not already be disabled.", +"type": "boolean" +}, +"canEnable": { +"description": "Whether the user can enable this field. The user must have permission and this field must be disabled.", +"type": "boolean" +}, +"canUpdate": { +"description": "Whether the user can change this field.", +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleAppsDriveLabelsV2betaFieldSelectionOptions": { +"description": "Options for the selection field type.", +"id": "GoogleAppsDriveLabelsV2betaFieldSelectionOptions", +"properties": { +"choices": { +"description": "The options available for this selection field. The list order is consistent, and modified with `insert_before_choice`.", +"items": { +"$ref": "GoogleAppsDriveLabelsV2betaFieldSelectionOptionsChoice" +}, +"type": "array" +}, +"listOptions": { +"$ref": "GoogleAppsDriveLabelsV2betaFieldListOptions", +"description": "When specified, indicates this field supports a list of values. Once the field is published, this cannot be changed." +} +}, +"type": "object" +}, +"GoogleAppsDriveLabelsV2betaFieldSelectionOptionsChoice": { +"description": "Selection field choice.", +"id": "GoogleAppsDriveLabelsV2betaFieldSelectionOptionsChoice", +"properties": { +"appliedCapabilities": { +"$ref": "GoogleAppsDriveLabelsV2betaFieldSelectionOptionsChoiceAppliedCapabilities", +"description": "Output only. The capabilities related to this choice on applied metadata.", +"readOnly": true +}, +"createTime": { +"description": "Output only. The time this choice was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"creator": { +"$ref": "GoogleAppsDriveLabelsV2betaUserInfo", +"description": "Output only. The user who created this choice.", +"readOnly": true +}, +"disableTime": { +"description": "Output only. The time this choice was disabled. This value has no meaning when the choice is not disabled.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"disabler": { +"$ref": "GoogleAppsDriveLabelsV2betaUserInfo", +"description": "Output only. The user who disabled this choice. This value has no meaning when the option is not disabled.", +"readOnly": true +}, +"displayHints": { +"$ref": "GoogleAppsDriveLabelsV2betaFieldSelectionOptionsChoiceDisplayHints", +"description": "Output only. UI display hints for rendering a choice.", +"readOnly": true +}, +"id": { +"description": "The unique value of the choice. This ID is autogenerated. Matches the regex: `([a-zA-Z0-9_])+`.", +"type": "string" +}, +"lifecycle": { +"$ref": "GoogleAppsDriveLabelsV2betaLifecycle", +"description": "Output only. Lifecycle of the choice.", +"readOnly": true +}, +"lockStatus": { +"$ref": "GoogleAppsDriveLabelsV2betaLockStatus", +"description": "Output only. The `LockStatus` of this choice.", +"readOnly": true +}, +"properties": { +"$ref": "GoogleAppsDriveLabelsV2betaFieldSelectionOptionsChoiceProperties", +"description": "Basic properties of the choice." +}, +"publishTime": { +"description": "Output only. The time this choice was published. This value has no meaning when the choice is not published.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"publisher": { +"$ref": "GoogleAppsDriveLabelsV2betaUserInfo", +"description": "Output only. The user who published this choice. This value has no meaning when the choice is not published.", +"readOnly": true +}, +"schemaCapabilities": { +"$ref": "GoogleAppsDriveLabelsV2betaFieldSelectionOptionsChoiceSchemaCapabilities", +"description": "Output only. The capabilities related to this option when editing the option.", +"readOnly": true +}, +"updateTime": { +"description": "Output only. The time this choice was updated last.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"updater": { +"$ref": "GoogleAppsDriveLabelsV2betaUserInfo", +"description": "Output only. The user who updated this choice last.", +"readOnly": true +} +}, +"type": "object" +}, +"GoogleAppsDriveLabelsV2betaFieldSelectionOptionsChoiceAppliedCapabilities": { +"description": "The capabilities related to this choice on applied metadata.", +"id": "GoogleAppsDriveLabelsV2betaFieldSelectionOptionsChoiceAppliedCapabilities", +"properties": { +"canRead": { +"description": "Whether the user can read related applied metadata on items.", +"type": "boolean" +}, +"canSearch": { +"description": "Whether the user can use this choice in search queries.", +"type": "boolean" +}, +"canSelect": { +"description": "Whether the user can select this choice on an item.", +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleAppsDriveLabelsV2betaFieldSelectionOptionsChoiceDisplayHints": { +"description": "UI display hints for rendering an option.", +"id": "GoogleAppsDriveLabelsV2betaFieldSelectionOptionsChoiceDisplayHints", +"properties": { +"badgeColors": { +"$ref": "GoogleAppsDriveLabelsV2betaBadgeColors", +"description": "The colors to use for the badge. Changed to Google Material colors based on the chosen `properties.badge_config.color`." +}, +"badgePriority": { +"description": "The priority of this badge. Used to compare and sort between multiple badges. A lower number means the badge should be shown first. When a badging configuration is not present, this will be 0. Otherwise, this will be set to `BadgeConfig.priority_override` or the default heuristic which prefers creation date of the label, and field and option priority.", +"format": "int64", +"type": "string" +}, +"darkBadgeColors": { +"$ref": "GoogleAppsDriveLabelsV2betaBadgeColors", +"description": "The dark-mode color to use for the badge. Changed to Google Material colors based on the chosen `properties.badge_config.color`." +}, +"disabled": { +"description": "Whether the option should be shown in the UI as disabled.", +"type": "boolean" +}, +"hiddenInSearch": { +"description": "This option should be hidden in the search menu when searching for Drive items.", +"type": "boolean" +}, +"shownInApply": { +"description": "This option should be shown in the apply menu when applying values to a Drive item.", +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleAppsDriveLabelsV2betaFieldSelectionOptionsChoiceProperties": { +"description": "Basic properties of the choice.", +"id": "GoogleAppsDriveLabelsV2betaFieldSelectionOptionsChoiceProperties", +"properties": { +"badgeConfig": { +"$ref": "GoogleAppsDriveLabelsV2betaBadgeConfig", +"description": "The badge configuration for this choice. When set, the label that owns this choice is considered a \"badged label\"." +}, +"description": { +"description": "The description of this label.", +"type": "string" +}, +"displayName": { +"description": "Required. The display text to show in the UI identifying this field.", +"type": "string" +}, +"insertBeforeChoice": { +"description": "Input only. Insert or move this choice before the indicated choice. If empty, the choice is placed at the end of the list.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleAppsDriveLabelsV2betaFieldSelectionOptionsChoiceSchemaCapabilities": { +"description": "The capabilities related to this choice when editing the choice.", +"id": "GoogleAppsDriveLabelsV2betaFieldSelectionOptionsChoiceSchemaCapabilities", +"properties": { +"canDelete": { +"description": "Whether the user can delete this choice.", +"type": "boolean" +}, +"canDisable": { +"description": "Whether the user can disable this choice.", +"type": "boolean" +}, +"canEnable": { +"description": "Whether the user can enable this choice.", +"type": "boolean" +}, +"canUpdate": { +"description": "Whether the user can update this choice.", +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleAppsDriveLabelsV2betaFieldTextOptions": { +"description": "Options for the Text field type.", +"id": "GoogleAppsDriveLabelsV2betaFieldTextOptions", +"properties": { +"maxLength": { +"description": "Output only. The maximum valid length of values for the text field.", +"format": "int32", +"readOnly": true, +"type": "integer" +}, +"minLength": { +"description": "Output only. The minimum valid length of values for the text field.", +"format": "int32", +"readOnly": true, +"type": "integer" +} +}, +"type": "object" +}, +"GoogleAppsDriveLabelsV2betaFieldUserOptions": { +"description": "Options for the user field type.", +"id": "GoogleAppsDriveLabelsV2betaFieldUserOptions", +"properties": { +"listOptions": { +"$ref": "GoogleAppsDriveLabelsV2betaFieldListOptions", +"description": "When specified, indicates that this field supports a list of values. Once the field is published, this cannot be changed." +} +}, +"type": "object" +}, +"GoogleAppsDriveLabelsV2betaIntegerLimits": { +"description": "Limits for integer field type.", +"id": "GoogleAppsDriveLabelsV2betaIntegerLimits", +"properties": { +"maxValue": { +"description": "Maximum value for an integer field type.", +"format": "int64", +"type": "string" +}, +"minValue": { +"description": "Minimum value for an integer field type.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"GoogleAppsDriveLabelsV2betaLabel": { +"description": "A label defines a taxonomy that can be applied to Drive items in order to organize and search across items. Labels can be simple strings, or can contain fields that describe additional metadata that can be further used to organize and search Drive items.", +"id": "GoogleAppsDriveLabelsV2betaLabel", +"properties": { +"appliedCapabilities": { +"$ref": "GoogleAppsDriveLabelsV2betaLabelAppliedCapabilities", +"description": "Output only. The capabilities related to this label on applied metadata.", +"readOnly": true +}, +"appliedLabelPolicy": { +"$ref": "GoogleAppsDriveLabelsV2betaLabelAppliedLabelPolicy", +"description": "Output only. Behavior of this label when it's applied to Drive items.", +"readOnly": true +}, +"createTime": { +"description": "Output only. The time this label was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"creator": { +"$ref": "GoogleAppsDriveLabelsV2betaUserInfo", +"description": "Output only. The user who created this label.", +"readOnly": true +}, +"customer": { +"description": "Output only. The customer this label belongs to. For example: `customers/123abc789`.", +"readOnly": true, +"type": "string" +}, +"disableTime": { +"description": "Output only. The time this label was disabled. This value has no meaning when the label isn't disabled.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"disabler": { +"$ref": "GoogleAppsDriveLabelsV2betaUserInfo", +"description": "Output only. The user who disabled this label. This value has no meaning when the label isn't disabled.", +"readOnly": true +}, +"displayHints": { +"$ref": "GoogleAppsDriveLabelsV2betaLabelDisplayHints", +"description": "Output only. UI display hints for rendering the label.", +"readOnly": true +}, +"enabledAppSettings": { +"$ref": "GoogleAppsDriveLabelsV2betaLabelEnabledAppSettings", +"description": "Optional. The `EnabledAppSettings` for this Label." +}, +"fields": { +"description": "List of fields in descending priority order.", +"items": { +"$ref": "GoogleAppsDriveLabelsV2betaField" +}, +"type": "array" +}, +"id": { +"description": "Output only. Globally unique identifier of this label. ID makes up part of the label `name`, but unlike `name`, ID is consistent between revisions. Matches the regex: `([a-zA-Z0-9])+`.", +"readOnly": true, +"type": "string" +}, +"labelType": { +"description": "Required. The type of label.", +"enum": [ +"LABEL_TYPE_UNSPECIFIED", +"SHARED", +"ADMIN", +"GOOGLE_APP" +], +"enumDescriptions": [ +"Unknown label type.", +"Shared labels may be shared with users to apply to Drive items.", +"Admin-owned label. Only creatable and editable by admins. Supports some additional admin-only features.", +"A label owned by an internal Google application rather than a customer. These labels are read-only." +], +"type": "string" +}, +"learnMoreUri": { +"description": "Custom URL to present to users to allow them to learn more about this label and how it should be used.", +"type": "string" +}, +"lifecycle": { +"$ref": "GoogleAppsDriveLabelsV2betaLifecycle", +"description": "Output only. The lifecycle state of the label including whether it's published, deprecated, and has draft changes.", +"readOnly": true +}, +"lockStatus": { +"$ref": "GoogleAppsDriveLabelsV2betaLockStatus", +"description": "Output only. The `LockStatus` of this label.", +"readOnly": true +}, +"name": { +"description": "Output only. Resource name of the label. Will be in the form of either: `labels/{id}` or `labels/{id}@{revision_id}` depending on the request. See `id` and `revision_id` below.", +"readOnly": true, +"type": "string" +}, +"properties": { +"$ref": "GoogleAppsDriveLabelsV2betaLabelProperties", +"description": "Required. The basic properties of the label." +}, +"publishTime": { +"description": "Output only. The time this label was published. This value has no meaning when the label isn't published.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"publisher": { +"$ref": "GoogleAppsDriveLabelsV2betaUserInfo", +"description": "Output only. The user who published this label. This value has no meaning when the label isn't published.>>", +"readOnly": true +}, +"revisionCreateTime": { +"description": "Output only. The time this label revision was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"revisionCreator": { +"$ref": "GoogleAppsDriveLabelsV2betaUserInfo", +"description": "Output only. The user who created this label revision.", +"readOnly": true +}, +"revisionId": { +"description": "Output only. Revision ID of the label. Revision ID might be part of the label `name` depending on the request issued. A new revision is created whenever revisioned properties of a label are changed. Matches the regex: `([a-zA-Z0-9])+`.", +"readOnly": true, +"type": "string" +}, +"schemaCapabilities": { +"$ref": "GoogleAppsDriveLabelsV2betaLabelSchemaCapabilities", +"description": "Output only. The capabilities the user has on this label.", +"readOnly": true +} +}, +"type": "object" +}, +"GoogleAppsDriveLabelsV2betaLabelAppliedCapabilities": { +"description": "The capabilities a user has on this label's applied metadata.", +"id": "GoogleAppsDriveLabelsV2betaLabelAppliedCapabilities", +"properties": { +"canApply": { +"description": "Whether the user can apply this label to items.", +"type": "boolean" +}, +"canRead": { +"description": "Whether the user can read applied metadata related to this label.", +"type": "boolean" +}, +"canRemove": { +"description": "Whether the user can remove this label from items.", +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleAppsDriveLabelsV2betaLabelAppliedLabelPolicy": { +"description": "Behavior of this label when it's applied to Drive items.", +"id": "GoogleAppsDriveLabelsV2betaLabelAppliedLabelPolicy", +"properties": { +"copyMode": { +"description": "Indicates how the applied label and field values should be copied when a Drive item is copied.", +"enum": [ +"COPY_MODE_UNSPECIFIED", +"DO_NOT_COPY", +"ALWAYS_COPY", +"COPY_APPLIABLE" +], +"enumDescriptions": [ +"Copy mode unspecified.", +"The applied label and field values aren't copied by default when the Drive item it's applied to is copied.", +"The applied label and field values are always copied when the Drive item it's applied to is copied. Only admins can use this mode.", +"The applied label and field values are copied if the label is appliable by the user making the copy." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleAppsDriveLabelsV2betaLabelDisplayHints": { +"description": "The UI display hints for rendering the label.", +"id": "GoogleAppsDriveLabelsV2betaLabelDisplayHints", +"properties": { +"disabled": { +"description": "Whether the label should be shown in the UI as disabled.", +"type": "boolean" +}, +"hiddenInSearch": { +"description": "This label should be hidden in the search menu when searching for Drive items.", +"type": "boolean" +}, +"priority": { +"description": "The order to display labels in a list.", +"format": "int64", +"type": "string" +}, +"shownInApply": { +"description": "This label should be shown in the apply menu when applying values to a Drive item.", +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleAppsDriveLabelsV2betaLabelEnabledAppSettings": { +"description": "Describes the Google Workspace apps in which the label can be used.", +"id": "GoogleAppsDriveLabelsV2betaLabelEnabledAppSettings", +"properties": { +"enabledApps": { +"description": "Optional. The list of apps where the label can be used.", +"items": { +"$ref": "GoogleAppsDriveLabelsV2betaLabelEnabledAppSettingsEnabledApp" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleAppsDriveLabelsV2betaLabelEnabledAppSettingsEnabledApp": { +"description": "An app where the label can be used.", +"id": "GoogleAppsDriveLabelsV2betaLabelEnabledAppSettingsEnabledApp", +"properties": { +"app": { +"description": "Optional. The name of the app.", +"enum": [ +"APP_UNSPECIFIED", +"DRIVE", +"GMAIL" +], +"enumDescriptions": [ +"Unspecified", +"Drive", +"Gmail" +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleAppsDriveLabelsV2betaLabelLimits": { +"description": "Label constraints governing the structure of a label; such as, the maximum number of fields allowed and maximum length of the label title.", +"id": "GoogleAppsDriveLabelsV2betaLabelLimits", +"properties": { +"fieldLimits": { +"$ref": "GoogleAppsDriveLabelsV2betaFieldLimits", +"description": "The limits for fields." +}, +"maxDeletedFields": { +"description": "The maximum number of published fields that can be deleted.", +"format": "int32", +"type": "integer" +}, +"maxDescriptionLength": { +"description": "The maximum number of characters allowed for the description.", +"format": "int32", +"type": "integer" +}, +"maxDraftRevisions": { +"description": "The maximum number of draft revisions that will be kept before deleting old drafts.", +"format": "int32", +"type": "integer" +}, +"maxFields": { +"description": "The maximum number of fields allowed within the label.", +"format": "int32", +"type": "integer" +}, +"maxTitleLength": { +"description": "The maximum number of characters allowed for the title.", +"format": "int32", +"type": "integer" +}, +"name": { +"description": "Resource name.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleAppsDriveLabelsV2betaLabelLock": { +"description": "A lock that can be applied to a label, field, or choice.", +"id": "GoogleAppsDriveLabelsV2betaLabelLock", +"properties": { +"capabilities": { +"$ref": "GoogleAppsDriveLabelsV2betaLabelLockCapabilities", +"description": "Output only. The user's capabilities on this label lock.", +"readOnly": true +}, +"choiceId": { +"description": "The ID of the selection field choice that should be locked. If present, `field_id` must also be present.", +"type": "string" +}, +"createTime": { +"description": "Output only. The time this label lock was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"creator": { +"$ref": "GoogleAppsDriveLabelsV2betaUserInfo", +"description": "Output only. The user whose credentials were used to create the label lock. Not present if no user was responsible for creating the label lock.", +"readOnly": true +}, +"deleteTime": { +"description": "Output only. A timestamp indicating when this label lock was scheduled for deletion. Present only if this label lock is in the `DELETING` state.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"fieldId": { +"description": "The ID of the field that should be locked. Empty if the whole label should be locked.", +"type": "string" +}, +"name": { +"description": "Output only. Resource name of this label lock.", +"readOnly": true, +"type": "string" +}, +"state": { +"description": "Output only. This label lock's state.", +"enum": [ +"STATE_UNSPECIFIED", +"ACTIVE", +"DELETING" +], +"enumDescriptions": [ +"Unknown state.", +"The label lock is active and is being enforced by the server.", +"The label lock is being deleted. The label lock will continue to be enforced by the server until it has been fully removed." +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleAppsDriveLabelsV2betaLabelLockCapabilities": { +"description": "A description of a user's capabilities on a label lock.", +"id": "GoogleAppsDriveLabelsV2betaLabelLockCapabilities", +"properties": { +"canViewPolicy": { +"description": "True if the user is authorized to view the policy.", +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleAppsDriveLabelsV2betaLabelPermission": { +"description": "The permission that applies to a principal (user, group, audience) on a label.", +"id": "GoogleAppsDriveLabelsV2betaLabelPermission", +"properties": { +"audience": { +"description": "Audience to grant a role to. The magic value of `audiences/default` may be used to apply the role to the default audience in the context of the organization that owns the label.", +"type": "string" +}, +"email": { +"description": "Specifies the email address for a user or group principal. Not populated for audience principals. User and group permissions may only be inserted using an email address. On update requests, if email address is specified, no principal should be specified.", +"type": "string" +}, +"group": { +"description": "Group resource name.", +"type": "string" +}, +"name": { +"description": "Resource name of this permission.", +"type": "string" +}, +"person": { +"description": "Person resource name.", +"type": "string" +}, +"role": { +"description": "The role the principal should have.", +"enum": [ +"LABEL_ROLE_UNSPECIFIED", +"READER", +"APPLIER", +"ORGANIZER", +"EDITOR" +], +"enumDescriptions": [ +"Unknown role.", +"A reader can read the label and associated metadata applied to Drive items.", +"An applier can write associated metadata on Drive items in which they also have write access to. Implies `READER`.", +"An organizer can pin this label in shared drives they manage and add new appliers to the label.", +"Editors can make any update including deleting the label which also deletes the associated Drive item metadata. Implies `APPLIER`." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleAppsDriveLabelsV2betaLabelProperties": { +"description": "Basic properties of the label.", +"id": "GoogleAppsDriveLabelsV2betaLabelProperties", +"properties": { +"description": { +"description": "The description of the label.", +"type": "string" +}, +"title": { +"description": "Required. Title of the label.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleAppsDriveLabelsV2betaLabelSchemaCapabilities": { +"description": "The capabilities related to this label when editing the label.", +"id": "GoogleAppsDriveLabelsV2betaLabelSchemaCapabilities", +"properties": { +"canDelete": { +"description": "Whether the user can delete this label. The user must have permission and the label must be disabled.", +"type": "boolean" +}, +"canDisable": { +"description": "Whether the user can disable this label. The user must have permission and this label must not already be disabled.", +"type": "boolean" +}, +"canEnable": { +"description": "Whether the user can enable this label. The user must have permission and this label must be disabled.", +"type": "boolean" +}, +"canUpdate": { +"description": "Whether the user can change this label.", +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleAppsDriveLabelsV2betaLifecycle": { +"description": "The lifecycle state of an object, such as label, field, or choice. For more information, see [Label lifecycle](https://developers.google.com/workspace/drive/labels/guides/label-lifecycle). The lifecycle enforces the following transitions: * `UNPUBLISHED_DRAFT` (starting state) * `UNPUBLISHED_DRAFT` -> `PUBLISHED` * `UNPUBLISHED_DRAFT` -> (Deleted) * `PUBLISHED` -> `DISABLED` * `DISABLED` -> `PUBLISHED` * `DISABLED` -> (Deleted) The published and disabled states have some distinct characteristics: * `Published`: Some kinds of changes might be made to an object in this state, in which case `has_unpublished_changes` will be true. Also, some kinds of changes aren't permitted. Generally, any change that would invalidate or cause new restrictions on existing metadata related to the label are rejected. * `Disabled`: When disabled, the configured `DisabledPolicy` takes effect.", +"id": "GoogleAppsDriveLabelsV2betaLifecycle", +"properties": { +"disabledPolicy": { +"$ref": "GoogleAppsDriveLabelsV2betaLifecycleDisabledPolicy", +"description": "The policy that governs how to show a disabled label, field, or selection choice." +}, +"hasUnpublishedChanges": { +"description": "Output only. Whether the object associated with this lifecycle has unpublished changes.", +"readOnly": true, +"type": "boolean" +}, +"state": { +"description": "Output only. The state of the object associated with this lifecycle.", +"enum": [ +"STATE_UNSPECIFIED", +"UNPUBLISHED_DRAFT", +"PUBLISHED", +"DISABLED", +"DELETED" +], +"enumDescriptions": [ +"Unknown State.", +"The initial state of an object. Once published, the object can never return to this state. Once an object is published, certain kinds of changes are no longer permitted.", +"The object has been published. The object might have unpublished draft changes as indicated by `has_unpublished_changes`.", +"The object has been published and has since been disabled. The object might have unpublished draft changes as indicated by `has_unpublished_changes`.", +"The object has been deleted." +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleAppsDriveLabelsV2betaLifecycleDisabledPolicy": { +"description": "The policy that governs how to treat a disabled label, field, or selection choice in different contexts.", +"id": "GoogleAppsDriveLabelsV2betaLifecycleDisabledPolicy", +"properties": { +"hideInSearch": { +"description": "Whether to hide this disabled object in the search menu for Drive items. * When `false`, the object is generally shown in the UI as disabled but it appears in the search results when searching for Drive items. * When `true`, the object is generally hidden in the UI when searching for Drive items.", +"type": "boolean" +}, +"showInApply": { +"description": "Whether to show this disabled object in the apply menu on Drive items. * When `true`, the object is generally shown in the UI as disabled and is unselectable. * When `false`, the object is generally hidden in the UI.", +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleAppsDriveLabelsV2betaListLabelLocksResponse": { +"description": "The response to a `ListLabelLocksRequest`.", +"id": "GoogleAppsDriveLabelsV2betaListLabelLocksResponse", +"properties": { +"labelLocks": { +"description": "Label locks.", +"items": { +"$ref": "GoogleAppsDriveLabelsV2betaLabelLock" +}, +"type": "array" +}, +"nextPageToken": { +"description": "The token of the next page in the response.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleAppsDriveLabelsV2betaListLabelPermissionsResponse": { +"description": "Response for listing the permissions on a label.", +"id": "GoogleAppsDriveLabelsV2betaListLabelPermissionsResponse", +"properties": { +"labelPermissions": { +"description": "Label permissions.", +"items": { +"$ref": "GoogleAppsDriveLabelsV2betaLabelPermission" +}, +"type": "array" +}, +"nextPageToken": { +"description": "The token of the next page in the response.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleAppsDriveLabelsV2betaListLabelsResponse": { +"description": "Response for listing labels.", +"id": "GoogleAppsDriveLabelsV2betaListLabelsResponse", +"properties": { +"labels": { +"description": "Labels.", +"items": { +"$ref": "GoogleAppsDriveLabelsV2betaLabel" +}, +"type": "array" +}, +"nextPageToken": { +"description": "The token of the next page in the response.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleAppsDriveLabelsV2betaListLimits": { +"description": "Limits for list-variant of a field type.", +"id": "GoogleAppsDriveLabelsV2betaListLimits", +"properties": { +"maxEntries": { +"description": "Maximum number of values allowed for the field type.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"GoogleAppsDriveLabelsV2betaLockStatus": { +"description": "Contains information about whether a label component should be considered locked.", +"id": "GoogleAppsDriveLabelsV2betaLockStatus", +"properties": { +"locked": { +"description": "Output only. Indicates whether this label component is the (direct) target of a label lock. A label component can be implicitly locked even if it's not the direct target of a label lock, in which case this field is set to false.", +"readOnly": true, +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleAppsDriveLabelsV2betaLongTextLimits": { +"description": "Limits for long text field type.", +"id": "GoogleAppsDriveLabelsV2betaLongTextLimits", +"properties": { +"maxLength": { +"description": "Maximum length allowed for a long text field type.", +"format": "int32", +"type": "integer" +}, +"minLength": { +"description": "Minimum length allowed for a long text field type.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"GoogleAppsDriveLabelsV2betaPublishLabelRequest": { +"description": "Request to publish a label.", +"id": "GoogleAppsDriveLabelsV2betaPublishLabelRequest", +"properties": { +"languageCode": { +"description": "The BCP-47 language code to use for evaluating localized field labels. When not specified, values in the default configured language will be used.", +"type": "string" +}, +"useAdminAccess": { +"description": "Set to `true` in order to use the user's admin credentials. The server will verify the user is an admin for the label before allowing access.", +"type": "boolean" +}, +"writeControl": { +"$ref": "GoogleAppsDriveLabelsV2betaWriteControl", +"description": "Provides control over how write requests are executed. Defaults to unset, which means the last write wins." +} +}, +"type": "object" +}, +"GoogleAppsDriveLabelsV2betaSelectionLimits": { +"description": "Limits for selection field type.", +"id": "GoogleAppsDriveLabelsV2betaSelectionLimits", +"properties": { +"listLimits": { +"$ref": "GoogleAppsDriveLabelsV2betaListLimits", +"description": "Limits for list-variant of a field type." +}, +"maxChoices": { +"description": "Maximum number of choices.", +"format": "int32", +"type": "integer" +}, +"maxDeletedChoices": { +"description": "Maximum number of deleted choices.", +"format": "int32", +"type": "integer" +}, +"maxDisplayNameLength": { +"description": "Maximum length for display name.", +"format": "int32", +"type": "integer" +}, +"maxIdLength": { +"description": "Maximum ID length for a selection option.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"GoogleAppsDriveLabelsV2betaTextLimits": { +"description": "Limits for text field type.", +"id": "GoogleAppsDriveLabelsV2betaTextLimits", +"properties": { +"maxLength": { +"description": "Maximum length allowed for a text field type.", +"format": "int32", +"type": "integer" +}, +"minLength": { +"description": "Minimum length allowed for a text field type.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"GoogleAppsDriveLabelsV2betaUpdateLabelCopyModeRequest": { +"description": "Request to update the `CopyMode` of the given label. Changes to this policy aren't revisioned, don't require publishing, and take effect immediately. \\", +"id": "GoogleAppsDriveLabelsV2betaUpdateLabelCopyModeRequest", +"properties": { +"copyMode": { +"description": "Required. Indicates how the applied label and field values should be copied when a Drive item is copied.", +"enum": [ +"COPY_MODE_UNSPECIFIED", +"DO_NOT_COPY", +"ALWAYS_COPY", +"COPY_APPLIABLE" +], +"enumDescriptions": [ +"Copy mode unspecified.", +"The applied label and field values aren't copied by default when the Drive item it's applied to is copied.", +"The applied label and field values are always copied when the Drive item it's applied to is copied. Only admins can use this mode.", +"The applied label and field values are copied if the label is appliable by the user making the copy." +], +"type": "string" +}, +"languageCode": { +"description": "The BCP-47 language code to use for evaluating localized field labels. When not specified, values in the default configured language will be used.", +"type": "string" +}, +"useAdminAccess": { +"description": "Set to `true` in order to use the user's admin credentials. The server will verify the user is an admin for the label before allowing access.", +"type": "boolean" +}, +"view": { +"description": "When specified, only certain fields belonging to the indicated view will be returned.", +"enum": [ +"LABEL_VIEW_BASIC", +"LABEL_VIEW_FULL" +], +"enumDescriptions": [ +"Implies the field mask: `name,id,revision_id,label_type,properties.*`", +"All possible fields." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleAppsDriveLabelsV2betaUpdateLabelEnabledAppSettingsRequest": { +"description": "Request to update the `EnabledAppSettings` of the given label. This change is not revisioned, doesn't require publishing, and takes effect immediately. \\", +"id": "GoogleAppsDriveLabelsV2betaUpdateLabelEnabledAppSettingsRequest", +"properties": { +"enabledAppSettings": { +"$ref": "GoogleAppsDriveLabelsV2betaLabelEnabledAppSettings", +"description": "Required. The new `EnabledAppSettings` value for the label." +}, +"languageCode": { +"description": "Optional. The BCP-47 language code to use for evaluating localized field labels. When not specified, values in the default configured language will be used.", +"type": "string" +}, +"useAdminAccess": { +"description": "Optional. Set to `true` in order to use the user's admin credentials. The server will verify the user is an admin for the label before allowing access.", +"type": "boolean" +}, +"view": { +"description": "Optional. When specified, only certain fields belonging to the indicated view will be returned.", +"enum": [ +"LABEL_VIEW_BASIC", +"LABEL_VIEW_FULL" +], +"enumDescriptions": [ +"Implies the field mask: `name,id,revision_id,label_type,properties.*`", +"All possible fields." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleAppsDriveLabelsV2betaUpdateLabelPermissionRequest": { +"description": "Updates a label permission. Permissions affect the label resource as a whole, aren't revisioned, and don't require publishing.", +"id": "GoogleAppsDriveLabelsV2betaUpdateLabelPermissionRequest", +"properties": { +"labelPermission": { +"$ref": "GoogleAppsDriveLabelsV2betaLabelPermission", +"description": "Required. The permission to create or update on the label." +}, +"parent": { +"description": "Required. The parent label resource name.", +"type": "string" +}, +"useAdminAccess": { +"description": "Set to `true` in order to use the user's admin credentials. The server will verify the user is an admin for the label before allowing access.", +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleAppsDriveLabelsV2betaUserCapabilities": { +"description": "The capabilities of a user.", +"id": "GoogleAppsDriveLabelsV2betaUserCapabilities", +"properties": { +"canAccessLabelManager": { +"description": "Output only. Whether the user is allowed access to the label manager.", +"readOnly": true, +"type": "boolean" +}, +"canAdministrateLabels": { +"description": "Output only. Whether the user is an administrator for the shared labels feature.", +"readOnly": true, +"type": "boolean" +}, +"canCreateAdminLabels": { +"description": "Output only. Whether the user is allowed to create admin labels.", +"readOnly": true, +"type": "boolean" +}, +"canCreateSharedLabels": { +"description": "Output only. Whether the user is allowed to create shared labels.", +"readOnly": true, +"type": "boolean" +}, +"name": { +"description": "Output only. Resource name for the user capabilities.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleAppsDriveLabelsV2betaUserInfo": { +"description": "Information about a user.", +"id": "GoogleAppsDriveLabelsV2betaUserInfo", +"properties": { +"person": { +"description": "The identifier for this user that can be used with the [People API](https://developers.google.com/people) to get more information. For example, `people/12345678`.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleAppsDriveLabelsV2betaUserLimits": { +"description": "Limits for Field.Type.USER.", +"id": "GoogleAppsDriveLabelsV2betaUserLimits", +"properties": { +"listLimits": { +"$ref": "GoogleAppsDriveLabelsV2betaListLimits", +"description": "Limits for list-variant of a field type." +} +}, +"type": "object" +}, +"GoogleAppsDriveLabelsV2betaWriteControl": { +"description": "Provides control over how write requests are executed. When not specified, the last write wins.", +"id": "GoogleAppsDriveLabelsV2betaWriteControl", +"properties": { +"requiredRevisionId": { +"description": "The revision ID of the label that the write request will be applied to. If this isn't the latest revision of the label, the request will not be processed and will return a 400 Bad Request error.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleProtobufEmpty": { +"description": "A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }", +"id": "GoogleProtobufEmpty", +"properties": {}, +"type": "object" +}, +"GoogleTypeColor": { +"description": "Represents a color in the RGBA color space. This representation is designed for simplicity of conversion to and from color representations in various languages over compactness. For example, the fields of this representation can be trivially provided to the constructor of `java.awt.Color` in Java; it can also be trivially provided to UIColor's `+colorWithRed:green:blue:alpha` method in iOS; and, with just a little work, it can be easily formatted into a CSS `rgba()` string in JavaScript. This reference page doesn't have information about the absolute color space that should be used to interpret the RGB value\u2014for example, sRGB, Adobe RGB, DCI-P3, and BT.2020. By default, applications should assume the sRGB color space. When color equality needs to be decided, implementations, unless documented otherwise, treat two colors as equal if all their red, green, blue, and alpha values each differ by at most `1e-5`. Example (Java): import com.google.type.Color; // ... public static java.awt.Color fromProto(Color protocolor) { float alpha = protocolor.hasAlpha() ? protocolor.getAlpha().getValue() : 1.0; return new java.awt.Color( protocolor.getRed(), protocolor.getGreen(), protocolor.getBlue(), alpha); } public static Color toProto(java.awt.Color color) { float red = (float) color.getRed(); float green = (float) color.getGreen(); float blue = (float) color.getBlue(); float denominator = 255.0; Color.Builder resultBuilder = Color .newBuilder() .setRed(red / denominator) .setGreen(green / denominator) .setBlue(blue / denominator); int alpha = color.getAlpha(); if (alpha != 255) { result.setAlpha( FloatValue .newBuilder() .setValue(((float) alpha) / denominator) .build()); } return resultBuilder.build(); } // ... Example (iOS / Obj-C): // ... static UIColor* fromProto(Color* protocolor) { float red = [protocolor red]; float green = [protocolor green]; float blue = [protocolor blue]; FloatValue* alpha_wrapper = [protocolor alpha]; float alpha = 1.0; if (alpha_wrapper != nil) { alpha = [alpha_wrapper value]; } return [UIColor colorWithRed:red green:green blue:blue alpha:alpha]; } static Color* toProto(UIColor* color) { CGFloat red, green, blue, alpha; if (![color getRed:&red green:&green blue:&blue alpha:&alpha]) { return nil; } Color* result = [[Color alloc] init]; [result setRed:red]; [result setGreen:green]; [result setBlue:blue]; if (alpha <= 0.9999) { [result setAlpha:floatWrapperWithValue(alpha)]; } [result autorelease]; return result; } // ... Example (JavaScript): // ... var protoToCssColor = function(rgb_color) { var redFrac = rgb_color.red || 0.0; var greenFrac = rgb_color.green || 0.0; var blueFrac = rgb_color.blue || 0.0; var red = Math.floor(redFrac * 255); var green = Math.floor(greenFrac * 255); var blue = Math.floor(blueFrac * 255); if (!('alpha' in rgb_color)) { return rgbToCssColor(red, green, blue); } var alphaFrac = rgb_color.alpha.value || 0.0; var rgbParams = [red, green, blue].join(','); return ['rgba(', rgbParams, ',', alphaFrac, ')'].join(''); }; var rgbToCssColor = function(red, green, blue) { var rgbNumber = new Number((red << 16) | (green << 8) | blue); var hexString = rgbNumber.toString(16); var missingZeros = 6 - hexString.length; var resultBuilder = ['#']; for (var i = 0; i < missingZeros; i++) { resultBuilder.push('0'); } resultBuilder.push(hexString); return resultBuilder.join(''); }; // ...", +"id": "GoogleTypeColor", +"properties": { +"alpha": { +"description": "The fraction of this color that should be applied to the pixel. That is, the final pixel color is defined by the equation: `pixel color = alpha * (this color) + (1.0 - alpha) * (background color)` This means that a value of 1.0 corresponds to a solid color, whereas a value of 0.0 corresponds to a completely transparent color. This uses a wrapper message rather than a simple float scalar so that it is possible to distinguish between a default value and the value being unset. If omitted, this color object is rendered as a solid color (as if the alpha value had been explicitly given a value of 1.0).", +"format": "float", +"type": "number" +}, +"blue": { +"description": "The amount of blue in the color as a value in the interval [0, 1].", +"format": "float", +"type": "number" +}, +"green": { +"description": "The amount of green in the color as a value in the interval [0, 1].", +"format": "float", +"type": "number" +}, +"red": { +"description": "The amount of red in the color as a value in the interval [0, 1].", +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"GoogleTypeDate": { +"description": "Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following: * A full date, with non-zero year, month, and day values. * A month and day, with a zero year (for example, an anniversary). * A year on its own, with a zero month and a zero day. * A year and month, with a zero day (for example, a credit card expiration date). Related types: * google.type.TimeOfDay * google.type.DateTime * google.protobuf.Timestamp", +"id": "GoogleTypeDate", +"properties": { +"day": { +"description": "Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn't significant.", +"format": "int32", +"type": "integer" +}, +"month": { +"description": "Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.", +"format": "int32", +"type": "integer" +}, +"year": { +"description": "Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +} +}, +"servicePath": "", +"title": "Drive Labels API", +"version": "v2beta", +"version_module": true +} \ No newline at end of file diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/eventarc.v1beta1.json b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/eventarc.v1beta1.json new file mode 100644 index 0000000000000000000000000000000000000000..aeb4662698c1b400829611d6b2d5813133a385b2 --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/eventarc.v1beta1.json @@ -0,0 +1,1103 @@ +{ +"auth": { +"oauth2": { +"scopes": { +"https://www.googleapis.com/auth/cloud-platform": { +"description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." +} +} +} +}, +"basePath": "", +"baseUrl": "https://eventarc.googleapis.com/", +"batchPath": "batch", +"canonicalName": "Eventarc", +"description": "Build event-driven applications on Google Cloud Platform.", +"discoveryVersion": "v1", +"documentationLink": "https://cloud.google.com/eventarc", +"fullyEncodeReservedExpansion": true, +"icons": { +"x16": "http://www.google.com/images/icons/product/search-16.gif", +"x32": "http://www.google.com/images/icons/product/search-32.gif" +}, +"id": "eventarc:v1beta1", +"kind": "discovery#restDescription", +"mtlsRootUrl": "https://eventarc.mtls.googleapis.com/", +"name": "eventarc", +"ownerDomain": "google.com", +"ownerName": "Google", +"parameters": { +"$.xgafv": { +"description": "V1 error format.", +"enum": [ +"1", +"2" +], +"enumDescriptions": [ +"v1 error format", +"v2 error format" +], +"location": "query", +"type": "string" +}, +"access_token": { +"description": "OAuth access token.", +"location": "query", +"type": "string" +}, +"alt": { +"default": "json", +"description": "Data format for response.", +"enum": [ +"json", +"media", +"proto" +], +"enumDescriptions": [ +"Responses with Content-Type of application/json", +"Media download with context-dependent Content-Type", +"Responses with Content-Type of application/x-protobuf" +], +"location": "query", +"type": "string" +}, +"callback": { +"description": "JSONP", +"location": "query", +"type": "string" +}, +"fields": { +"description": "Selector specifying which fields to include in a partial response.", +"location": "query", +"type": "string" +}, +"key": { +"description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", +"location": "query", +"type": "string" +}, +"oauth_token": { +"description": "OAuth 2.0 token for the current user.", +"location": "query", +"type": "string" +}, +"prettyPrint": { +"default": "true", +"description": "Returns response with indentations and line breaks.", +"location": "query", +"type": "boolean" +}, +"quotaUser": { +"description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.", +"location": "query", +"type": "string" +}, +"uploadType": { +"description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", +"location": "query", +"type": "string" +}, +"upload_protocol": { +"description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", +"location": "query", +"type": "string" +} +}, +"protocol": "rest", +"resources": { +"projects": { +"resources": { +"locations": { +"methods": { +"get": { +"description": "Gets information about a location.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}", +"httpMethod": "GET", +"id": "eventarc.projects.locations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Resource name for the location.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+name}", +"response": { +"$ref": "Location" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists information about the supported locations for this service.", +"flatPath": "v1beta1/projects/{projectsId}/locations", +"httpMethod": "GET", +"id": "eventarc.projects.locations.list", +"parameterOrder": [ +"name" +], +"parameters": { +"filter": { +"description": "A filter to narrow down results to a preferred subset. The filtering language accepts strings like `\"displayName=tokyo\"`, and is documented in more detail in [AIP-160](https://google.aip.dev/160).", +"location": "query", +"type": "string" +}, +"name": { +"description": "The resource that owns the locations collection, if applicable.", +"location": "path", +"pattern": "^projects/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The maximum number of results to return. If not set, the service selects a default.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A page token received from the `next_page_token` field in the response. Send that page token to receive the subsequent page.", +"location": "query", +"type": "string" +} +}, +"path": "v1beta1/{+name}/locations", +"response": { +"$ref": "ListLocationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"operations": { +"methods": { +"cancel": { +"description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}:cancel", +"httpMethod": "POST", +"id": "eventarc.projects.locations.operations.cancel", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be cancelled.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+name}:cancel", +"request": { +"$ref": "CancelOperationRequest" +}, +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}", +"httpMethod": "DELETE", +"id": "eventarc.projects.locations.operations.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be deleted.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+name}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}", +"httpMethod": "GET", +"id": "eventarc.projects.locations.operations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/operations", +"httpMethod": "GET", +"id": "eventarc.projects.locations.operations.list", +"parameterOrder": [ +"name" +], +"parameters": { +"filter": { +"description": "The standard list filter.", +"location": "query", +"type": "string" +}, +"name": { +"description": "The name of the operation's parent resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The standard list page size.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The standard list page token.", +"location": "query", +"type": "string" +} +}, +"path": "v1beta1/{+name}/operations", +"response": { +"$ref": "ListOperationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"triggers": { +"methods": { +"create": { +"description": "Create a new trigger in a particular project and location.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/triggers", +"httpMethod": "POST", +"id": "eventarc.projects.locations.triggers.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The parent collection in which to add this trigger.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +}, +"triggerId": { +"description": "Required. The user-provided ID to be assigned to the trigger.", +"location": "query", +"type": "string" +}, +"validateOnly": { +"description": "Required. If set, validate the request and preview the review, but do not actually post it.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1beta1/{+parent}/triggers", +"request": { +"$ref": "Trigger" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Delete a single trigger.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/triggers/{triggersId}", +"httpMethod": "DELETE", +"id": "eventarc.projects.locations.triggers.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"allowMissing": { +"description": "If set to true, and the trigger is not found, the request will succeed but no action will be taken on the server.", +"location": "query", +"type": "boolean" +}, +"etag": { +"description": "If provided, the trigger will only be deleted if the etag matches the current etag on the resource.", +"location": "query", +"type": "string" +}, +"name": { +"description": "Required. The name of the trigger to be deleted.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/triggers/[^/]+$", +"required": true, +"type": "string" +}, +"validateOnly": { +"description": "Required. If set, validate the request and preview the review, but do not actually post it.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1beta1/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Get a single trigger.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/triggers/{triggersId}", +"httpMethod": "GET", +"id": "eventarc.projects.locations.triggers.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the trigger to get.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/triggers/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+name}", +"response": { +"$ref": "Trigger" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"getIamPolicy": { +"description": "Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/triggers/{triggersId}:getIamPolicy", +"httpMethod": "GET", +"id": "eventarc.projects.locations.triggers.getIamPolicy", +"parameterOrder": [ +"resource" +], +"parameters": { +"options.requestedPolicyVersion": { +"description": "Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).", +"format": "int32", +"location": "query", +"type": "integer" +}, +"resource": { +"description": "REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/triggers/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+resource}:getIamPolicy", +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "List triggers.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/triggers", +"httpMethod": "GET", +"id": "eventarc.projects.locations.triggers.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"orderBy": { +"description": "The sorting order of the resources returned. Value should be a comma separated list of fields. The default sorting oder is ascending. To specify descending order for a field, append a ` desc` suffix; for example: `name desc, trigger_id`.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "The maximum number of triggers to return on each page. Note: The service may send fewer.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The page token; provide the value from the `next_page_token` field in a previous `ListTriggers` call to retrieve the subsequent page. When paginating, all other parameters provided to `ListTriggers` must match the call that provided the page token.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent collection to list triggers on.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+parent}/triggers", +"response": { +"$ref": "ListTriggersResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Update a single trigger.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/triggers/{triggersId}", +"httpMethod": "PATCH", +"id": "eventarc.projects.locations.triggers.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"allowMissing": { +"description": "If set to true, and the trigger is not found, a new trigger will be created. In this situation, `update_mask` is ignored.", +"location": "query", +"type": "boolean" +}, +"name": { +"description": "Required. The resource name of the trigger. Must be unique within the location on the project and must in `projects/{project}/locations/{location}/triggers/{trigger}` format.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/triggers/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "The fields to be updated; only fields explicitly provided will be updated. If no field mask is provided, all provided fields in the request will be updated. To update all fields, provide a field mask of \"*\".", +"format": "google-fieldmask", +"location": "query", +"type": "string" +}, +"validateOnly": { +"description": "Required. If set, validate the request and preview the review, but do not actually post it.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1beta1/{+name}", +"request": { +"$ref": "Trigger" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"setIamPolicy": { +"description": "Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/triggers/{triggersId}:setIamPolicy", +"httpMethod": "POST", +"id": "eventarc.projects.locations.triggers.setIamPolicy", +"parameterOrder": [ +"resource" +], +"parameters": { +"resource": { +"description": "REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/triggers/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+resource}:setIamPolicy", +"request": { +"$ref": "SetIamPolicyRequest" +}, +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"testIamPermissions": { +"description": "Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may \"fail open\" without warning.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/triggers/{triggersId}:testIamPermissions", +"httpMethod": "POST", +"id": "eventarc.projects.locations.triggers.testIamPermissions", +"parameterOrder": [ +"resource" +], +"parameters": { +"resource": { +"description": "REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/triggers/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+resource}:testIamPermissions", +"request": { +"$ref": "TestIamPermissionsRequest" +}, +"response": { +"$ref": "TestIamPermissionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +} +} +} +}, +"revision": "20240417", +"rootUrl": "https://eventarc.googleapis.com/", +"schemas": { +"AuditConfig": { +"description": "Specifies the audit configuration for a service. The configuration determines which permission types are logged, and what identities, if any, are exempted from logging. An AuditConfig must have one or more AuditLogConfigs. If there are AuditConfigs for both `allServices` and a specific service, the union of the two AuditConfigs is used for that service: the log_types specified in each AuditConfig are enabled, and the exempted_members in each AuditLogConfig are exempted. Example Policy with multiple AuditConfigs: { \"audit_configs\": [ { \"service\": \"allServices\", \"audit_log_configs\": [ { \"log_type\": \"DATA_READ\", \"exempted_members\": [ \"user:jose@example.com\" ] }, { \"log_type\": \"DATA_WRITE\" }, { \"log_type\": \"ADMIN_READ\" } ] }, { \"service\": \"sampleservice.googleapis.com\", \"audit_log_configs\": [ { \"log_type\": \"DATA_READ\" }, { \"log_type\": \"DATA_WRITE\", \"exempted_members\": [ \"user:aliya@example.com\" ] } ] } ] } For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also exempts `jose@example.com` from DATA_READ logging, and `aliya@example.com` from DATA_WRITE logging.", +"id": "AuditConfig", +"properties": { +"auditLogConfigs": { +"description": "The configuration for logging of each type of permission.", +"items": { +"$ref": "AuditLogConfig" +}, +"type": "array" +}, +"service": { +"description": "Specifies a service that will be enabled for audit logging. For example, `storage.googleapis.com`, `cloudsql.googleapis.com`. `allServices` is a special value that covers all services.", +"type": "string" +} +}, +"type": "object" +}, +"AuditLogConfig": { +"description": "Provides the configuration for logging a type of permissions. Example: { \"audit_log_configs\": [ { \"log_type\": \"DATA_READ\", \"exempted_members\": [ \"user:jose@example.com\" ] }, { \"log_type\": \"DATA_WRITE\" } ] } This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting jose@example.com from DATA_READ logging.", +"id": "AuditLogConfig", +"properties": { +"exemptedMembers": { +"description": "Specifies the identities that do not cause logging for this type of permission. Follows the same format of Binding.members.", +"items": { +"type": "string" +}, +"type": "array" +}, +"logType": { +"description": "The log type that this config enables.", +"enum": [ +"LOG_TYPE_UNSPECIFIED", +"ADMIN_READ", +"DATA_WRITE", +"DATA_READ" +], +"enumDescriptions": [ +"Default case. Should never be this.", +"Admin reads. Example: CloudIAM getIamPolicy", +"Data writes. Example: CloudSQL Users create", +"Data reads. Example: CloudSQL Users list" +], +"type": "string" +} +}, +"type": "object" +}, +"Binding": { +"description": "Associates `members`, or principals, with a `role`.", +"id": "Binding", +"properties": { +"condition": { +"$ref": "Expr", +"description": "The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies)." +}, +"members": { +"description": "Specifies the principals requesting access for a Google Cloud resource. `members` can have the following values: * `allUsers`: A special identifier that represents anyone who is on the internet; with or without a Google account. * `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service account. Does not include identities that come from external identity providers (IdPs) through identity federation. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `group:{emailid}`: An email address that represents a Google group. For example, `admins@example.com`. * `domain:{domain}`: The G Suite domain (primary) that represents all the users of that domain. For example, `google.com` or `example.com`. * `principal://iam.googleapis.com/locations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}`: A single identity in a workforce identity pool. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/group/{group_id}`: All workforce identities in a group. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/attribute.{attribute_name}/{attribute_value}`: All workforce identities with a specific attribute value. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/*`: All identities in a workforce identity pool. * `principal://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/subject/{subject_attribute_value}`: A single identity in a workload identity pool. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/group/{group_id}`: A workload identity pool group. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/attribute.{attribute_name}/{attribute_value}`: All identities in a workload identity pool with a certain attribute. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/*`: All identities in a workload identity pool. * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a user that has been recently deleted. For example, `alice@example.com?uid=123456789012345678901`. If the user is recovered, this value reverts to `user:{emailid}` and the recovered user retains the role in the binding. * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a service account that has been recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the service account is undeleted, this value reverts to `serviceAccount:{emailid}` and the undeleted service account retains the role in the binding. * `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a Google group that has been recently deleted. For example, `admins@example.com?uid=123456789012345678901`. If the group is recovered, this value reverts to `group:{emailid}` and the recovered group retains the role in the binding. * `deleted:principal://iam.googleapis.com/locations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}`: Deleted single identity in a workforce identity pool. For example, `deleted:principal://iam.googleapis.com/locations/global/workforcePools/my-pool-id/subject/my-subject-attribute-value`.", +"items": { +"type": "string" +}, +"type": "array" +}, +"role": { +"description": "Role that is assigned to the list of `members`, or principals. For example, `roles/viewer`, `roles/editor`, or `roles/owner`. For an overview of the IAM roles and permissions, see the [IAM documentation](https://cloud.google.com/iam/docs/roles-overview). For a list of the available pre-defined roles, see [here](https://cloud.google.com/iam/docs/understanding-roles).", +"type": "string" +} +}, +"type": "object" +}, +"CancelOperationRequest": { +"description": "The request message for Operations.CancelOperation.", +"id": "CancelOperationRequest", +"properties": {}, +"type": "object" +}, +"CloudRunService": { +"description": "Represents a Cloud Run service destination.", +"id": "CloudRunService", +"properties": { +"path": { +"description": "Optional. The relative path on the Cloud Run service the events should be sent to. The value must conform to the definition of URI path segment (section 3.3 of RFC2396). Examples: \"/route\", \"route\", \"route/subroute\".", +"type": "string" +}, +"region": { +"description": "Required. The region the Cloud Run service is deployed in.", +"type": "string" +}, +"service": { +"description": "Required. The name of the Cloud run service being addressed. See https://cloud.google.com/run/docs/reference/rest/v1/namespaces.services. Only services located in the same project of the trigger object can be addressed.", +"type": "string" +} +}, +"type": "object" +}, +"Destination": { +"description": "Represents a target of an invocation over HTTP.", +"id": "Destination", +"properties": { +"cloudRunService": { +"$ref": "CloudRunService", +"description": "Cloud Run fully-managed service that receives the events. The service should be running in the same project as the trigger." +} +}, +"type": "object" +}, +"Empty": { +"description": "A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }", +"id": "Empty", +"properties": {}, +"type": "object" +}, +"Expr": { +"description": "Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: \"Summary size limit\" description: \"Determines if a summary is less than 100 chars\" expression: \"document.summary.size() < 100\" Example (Equality): title: \"Requestor is owner\" description: \"Determines if requestor is the document owner\" expression: \"document.owner == request.auth.claims.email\" Example (Logic): title: \"Public documents\" description: \"Determine whether the document should be publicly visible\" expression: \"document.type != 'private' && document.type != 'internal'\" Example (Data Manipulation): title: \"Notification string\" description: \"Create a notification string with a timestamp.\" expression: \"'New message received at ' + string(document.create_time)\" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information.", +"id": "Expr", +"properties": { +"description": { +"description": "Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI.", +"type": "string" +}, +"expression": { +"description": "Textual representation of an expression in Common Expression Language syntax.", +"type": "string" +}, +"location": { +"description": "Optional. String indicating the location of the expression for error reporting, e.g. a file name and a position in the file.", +"type": "string" +}, +"title": { +"description": "Optional. Title for the expression, i.e. a short string describing its purpose. This can be used e.g. in UIs which allow to enter the expression.", +"type": "string" +} +}, +"type": "object" +}, +"ListLocationsResponse": { +"description": "The response message for Locations.ListLocations.", +"id": "ListLocationsResponse", +"properties": { +"locations": { +"description": "A list of locations that matches the specified filter in the request.", +"items": { +"$ref": "Location" +}, +"type": "array" +}, +"nextPageToken": { +"description": "The standard List next-page token.", +"type": "string" +} +}, +"type": "object" +}, +"ListOperationsResponse": { +"description": "The response message for Operations.ListOperations.", +"id": "ListOperationsResponse", +"properties": { +"nextPageToken": { +"description": "The standard List next-page token.", +"type": "string" +}, +"operations": { +"description": "A list of operations that matches the specified filter in the request.", +"items": { +"$ref": "Operation" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListTriggersResponse": { +"description": "The response message for the ListTriggers method.", +"id": "ListTriggersResponse", +"properties": { +"nextPageToken": { +"description": "A page token that can be sent to ListTriggers to request the next page. If this is empty, then there are no more pages.", +"type": "string" +}, +"triggers": { +"description": "The requested triggers, up to the number specified in `page_size`.", +"items": { +"$ref": "Trigger" +}, +"type": "array" +}, +"unreachable": { +"description": "Unreachable resources, if any.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"Location": { +"description": "A resource that represents a Google Cloud location.", +"id": "Location", +"properties": { +"displayName": { +"description": "The friendly name for this location, typically a nearby city name. For example, \"Tokyo\".", +"type": "string" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Cross-service attributes for the location. For example {\"cloud.googleapis.com/region\": \"us-east1\"}", +"type": "object" +}, +"locationId": { +"description": "The canonical id for this location. For example: `\"us-east1\"`.", +"type": "string" +}, +"metadata": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "Service-specific metadata. For example the available capacity at the given location.", +"type": "object" +}, +"name": { +"description": "Resource name for the location, which may vary between implementations. For example: `\"projects/example-project/locations/us-east1\"`", +"type": "string" +} +}, +"type": "object" +}, +"MatchingCriteria": { +"description": "Matches events based on exact matches on the CloudEvents attributes.", +"id": "MatchingCriteria", +"properties": { +"attribute": { +"description": "Required. The name of a CloudEvents attribute. Currently, only a subset of attributes can be specified. All triggers MUST provide a matching criteria for the 'type' attribute.", +"type": "string" +}, +"value": { +"description": "Required. The value for the attribute.", +"type": "string" +} +}, +"type": "object" +}, +"Operation": { +"description": "This resource represents a long-running operation that is the result of a network API call.", +"id": "Operation", +"properties": { +"done": { +"description": "If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.", +"type": "boolean" +}, +"error": { +"$ref": "Status", +"description": "The error result of the operation in case of failure or cancellation." +}, +"metadata": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.", +"type": "object" +}, +"name": { +"description": "The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.", +"type": "string" +}, +"response": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "The normal, successful response of the operation. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.", +"type": "object" +} +}, +"type": "object" +}, +"OperationMetadata": { +"description": "Represents the metadata of the long-running operation.", +"id": "OperationMetadata", +"properties": { +"apiVersion": { +"description": "Output only. API version used to start the operation.", +"readOnly": true, +"type": "string" +}, +"createTime": { +"description": "Output only. The time the operation was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"endTime": { +"description": "Output only. The time the operation finished running.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"requestedCancellation": { +"description": "Output only. Identifies whether the user has requested cancellation of the operation. Operations that have successfully been cancelled have Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.", +"readOnly": true, +"type": "boolean" +}, +"statusMessage": { +"description": "Output only. Human-readable status of the operation, if any.", +"readOnly": true, +"type": "string" +}, +"target": { +"description": "Output only. Server-defined resource path for the target of the operation.", +"readOnly": true, +"type": "string" +}, +"verb": { +"description": "Output only. Name of the verb executed by the operation.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"Policy": { +"description": "An Identity and Access Management (IAM) policy, which specifies access controls for Google Cloud resources. A `Policy` is a collection of `bindings`. A `binding` binds one or more `members`, or principals, to a single `role`. Principals can be user accounts, service accounts, Google groups, and domains (such as G Suite). A `role` is a named list of permissions; each `role` can be an IAM predefined role or a user-created custom role. For some types of Google Cloud resources, a `binding` can also specify a `condition`, which is a logical expression that allows access to a resource only if the expression evaluates to `true`. A condition can add constraints based on attributes of the request, the resource, or both. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). **JSON example:** ``` { \"bindings\": [ { \"role\": \"roles/resourcemanager.organizationAdmin\", \"members\": [ \"user:mike@example.com\", \"group:admins@example.com\", \"domain:google.com\", \"serviceAccount:my-project-id@appspot.gserviceaccount.com\" ] }, { \"role\": \"roles/resourcemanager.organizationViewer\", \"members\": [ \"user:eve@example.com\" ], \"condition\": { \"title\": \"expirable access\", \"description\": \"Does not grant access after Sep 2020\", \"expression\": \"request.time < timestamp('2020-10-01T00:00:00.000Z')\", } } ], \"etag\": \"BwWWja0YfJA=\", \"version\": 3 } ``` **YAML example:** ``` bindings: - members: - user:mike@example.com - group:admins@example.com - domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.com role: roles/resourcemanager.organizationViewer condition: title: expirable access description: Does not grant access after Sep 2020 expression: request.time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 ``` For a description of IAM and its features, see the [IAM documentation](https://cloud.google.com/iam/docs/).", +"id": "Policy", +"properties": { +"auditConfigs": { +"description": "Specifies cloud audit logging configuration for this policy.", +"items": { +"$ref": "AuditConfig" +}, +"type": "array" +}, +"bindings": { +"description": "Associates a list of `members`, or principals, with a `role`. Optionally, may specify a `condition` that determines how and when the `bindings` are applied. Each of the `bindings` must contain at least one principal. The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250 of these principals can be Google groups. Each occurrence of a principal counts towards these limits. For example, if the `bindings` grant 50 different roles to `user:alice@example.com`, and not to any other principal, then you can add another 1,450 principals to the `bindings` in the `Policy`.", +"items": { +"$ref": "Binding" +}, +"type": "array" +}, +"etag": { +"description": "`etag` is used for optimistic concurrency control as a way to help prevent simultaneous updates of a policy from overwriting each other. It is strongly suggested that systems make use of the `etag` in the read-modify-write cycle to perform policy updates in order to avoid race conditions: An `etag` is returned in the response to `getIamPolicy`, and systems are expected to put that etag in the request to `setIamPolicy` to ensure that their change will be applied to the same version of the policy. **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost.", +"format": "byte", +"type": "string" +}, +"version": { +"description": "Specifies the format of the policy. Valid values are `0`, `1`, and `3`. Requests that specify an invalid value are rejected. Any operation that affects conditional role bindings must specify version `3`. This requirement applies to the following operations: * Getting a policy that includes a conditional role binding * Adding a conditional role binding to a policy * Changing a conditional role binding in a policy * Removing any role binding, with or without a condition, from a policy that includes conditions **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost. If a policy does not include any conditions, operations on that policy may specify any valid version or leave the field unset. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"Pubsub": { +"description": "Represents a Pub/Sub transport.", +"id": "Pubsub", +"properties": { +"subscription": { +"description": "Output only. The name of the Pub/Sub subscription created and managed by Eventarc system as a transport for the event delivery. Format: `projects/{PROJECT_ID}/subscriptions/{SUBSCRIPTION_NAME}`.", +"readOnly": true, +"type": "string" +}, +"topic": { +"description": "Optional. The name of the Pub/Sub topic created and managed by Eventarc system as a transport for the event delivery. Format: `projects/{PROJECT_ID}/topics/{TOPIC_NAME}`. You may set an existing topic for triggers of the type `google.cloud.pubsub.topic.v1.messagePublished` only. The topic you provide here will not be deleted by Eventarc at trigger deletion.", +"type": "string" +} +}, +"type": "object" +}, +"SetIamPolicyRequest": { +"description": "Request message for `SetIamPolicy` method.", +"id": "SetIamPolicyRequest", +"properties": { +"policy": { +"$ref": "Policy", +"description": "REQUIRED: The complete policy to be applied to the `resource`. The size of the policy is limited to a few 10s of KB. An empty policy is a valid policy but certain Google Cloud services (such as Projects) might reject them." +}, +"updateMask": { +"description": "OPTIONAL: A FieldMask specifying which fields of the policy to modify. Only the fields in the mask will be modified. If no mask is provided, the following default mask is used: `paths: \"bindings, etag\"`", +"format": "google-fieldmask", +"type": "string" +} +}, +"type": "object" +}, +"Status": { +"description": "The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors).", +"id": "Status", +"properties": { +"code": { +"description": "The status code, which should be an enum value of google.rpc.Code.", +"format": "int32", +"type": "integer" +}, +"details": { +"description": "A list of messages that carry the error details. There is a common set of message types for APIs to use.", +"items": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.", +"type": "string" +} +}, +"type": "object" +}, +"TestIamPermissionsRequest": { +"description": "Request message for `TestIamPermissions` method.", +"id": "TestIamPermissionsRequest", +"properties": { +"permissions": { +"description": "The set of permissions to check for the `resource`. Permissions with wildcards (such as `*` or `storage.*`) are not allowed. For more information see [IAM Overview](https://cloud.google.com/iam/docs/overview#permissions).", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"TestIamPermissionsResponse": { +"description": "Response message for `TestIamPermissions` method.", +"id": "TestIamPermissionsResponse", +"properties": { +"permissions": { +"description": "A subset of `TestPermissionsRequest.permissions` that the caller is allowed.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"Transport": { +"description": "Represents the transport intermediaries created for the trigger in order to deliver events.", +"id": "Transport", +"properties": { +"pubsub": { +"$ref": "Pubsub", +"description": "The Pub/Sub topic and subscription used by Eventarc as delivery intermediary." +} +}, +"type": "object" +}, +"Trigger": { +"description": "A representation of the trigger resource.", +"id": "Trigger", +"properties": { +"createTime": { +"description": "Output only. The creation time.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"destination": { +"$ref": "Destination", +"description": "Required. Destination specifies where the events should be sent to." +}, +"etag": { +"description": "Output only. This checksum is computed by the server based on the value of other fields, and may be sent only on create requests to ensure the client has an up-to-date value before proceeding.", +"readOnly": true, +"type": "string" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. User labels attached to the triggers that can be used to group resources.", +"type": "object" +}, +"matchingCriteria": { +"description": "Required. Unordered list. The criteria by which events are filtered. Only events that match with this criteria will be sent to the destination.", +"items": { +"$ref": "MatchingCriteria" +}, +"type": "array" +}, +"name": { +"description": "Required. The resource name of the trigger. Must be unique within the location on the project and must in `projects/{project}/locations/{location}/triggers/{trigger}` format.", +"type": "string" +}, +"serviceAccount": { +"description": "Optional. The IAM service account email associated with the trigger. The service account represents the identity of the trigger. The principal who calls this API must have `iam.serviceAccounts.actAs` permission in the service account. See https://cloud.google.com/iam/docs/understanding-service-accounts?hl=en#sa_common for more information. For Cloud Run destinations, this service account is used to generate identity tokens when invoking the service. See https://cloud.google.com/run/docs/triggering/pubsub-push#create-service-account for information on how to invoke authenticated Cloud Run services. In order to create Audit Log triggers, the service account should also have 'eventarc.events.receiveAuditLogV1Written' permission.", +"type": "string" +}, +"transport": { +"$ref": "Transport", +"description": "Output only. In order to deliver messages, Eventarc may use other Google Cloud products as transport intermediary. This field contains a reference to that transport intermediary. This information can be used for debugging purposes.", +"readOnly": true +}, +"updateTime": { +"description": "Output only. The last-modified time.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +} +}, +"servicePath": "", +"title": "Eventarc API", +"version": "v1beta1", +"version_module": true +} \ No newline at end of file diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/fcm.v1.json b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/fcm.v1.json new file mode 100644 index 0000000000000000000000000000000000000000..59d77646bcd57c46cd4bfb0a3129098229004a77 --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/fcm.v1.json @@ -0,0 +1,631 @@ +{ +"auth": { +"oauth2": { +"scopes": { +"https://www.googleapis.com/auth/cloud-platform": { +"description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." +}, +"https://www.googleapis.com/auth/firebase.messaging": { +"description": "Send messages and manage messaging subscriptions for your Firebase applications" +} +} +} +}, +"basePath": "", +"baseUrl": "https://fcm.googleapis.com/", +"batchPath": "batch", +"canonicalName": "Firebase Cloud Messaging", +"description": "FCM send API that provides a cross-platform messaging solution to reliably deliver messages.", +"discoveryVersion": "v1", +"documentationLink": "https://firebase.google.com/docs/cloud-messaging", +"fullyEncodeReservedExpansion": true, +"icons": { +"x16": "http://www.google.com/images/icons/product/search-16.gif", +"x32": "http://www.google.com/images/icons/product/search-32.gif" +}, +"id": "fcm:v1", +"kind": "discovery#restDescription", +"mtlsRootUrl": "https://fcm.mtls.googleapis.com/", +"name": "fcm", +"ownerDomain": "google.com", +"ownerName": "Google", +"parameters": { +"$.xgafv": { +"description": "V1 error format.", +"enum": [ +"1", +"2" +], +"enumDescriptions": [ +"v1 error format", +"v2 error format" +], +"location": "query", +"type": "string" +}, +"access_token": { +"description": "OAuth access token.", +"location": "query", +"type": "string" +}, +"alt": { +"default": "json", +"description": "Data format for response.", +"enum": [ +"json", +"media", +"proto" +], +"enumDescriptions": [ +"Responses with Content-Type of application/json", +"Media download with context-dependent Content-Type", +"Responses with Content-Type of application/x-protobuf" +], +"location": "query", +"type": "string" +}, +"callback": { +"description": "JSONP", +"location": "query", +"type": "string" +}, +"fields": { +"description": "Selector specifying which fields to include in a partial response.", +"location": "query", +"type": "string" +}, +"key": { +"description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", +"location": "query", +"type": "string" +}, +"oauth_token": { +"description": "OAuth 2.0 token for the current user.", +"location": "query", +"type": "string" +}, +"prettyPrint": { +"default": "true", +"description": "Returns response with indentations and line breaks.", +"location": "query", +"type": "boolean" +}, +"quotaUser": { +"description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.", +"location": "query", +"type": "string" +}, +"uploadType": { +"description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", +"location": "query", +"type": "string" +}, +"upload_protocol": { +"description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", +"location": "query", +"type": "string" +} +}, +"protocol": "rest", +"resources": { +"projects": { +"resources": { +"messages": { +"methods": { +"send": { +"description": "Send a message to specified target (a registration token, topic or condition).", +"flatPath": "v1/projects/{projectsId}/messages:send", +"httpMethod": "POST", +"id": "fcm.projects.messages.send", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. It contains the Firebase project id (i.e. the unique identifier for your Firebase project), in the format of `projects/{project_id}`. The numeric project number with no padding is also supported in the format of `projects/{project_number}`.", +"location": "path", +"pattern": "^projects/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/messages:send", +"request": { +"$ref": "SendMessageRequest" +}, +"response": { +"$ref": "Message" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/firebase.messaging" +] +} +} +} +} +} +}, +"revision": "20260130", +"rootUrl": "https://fcm.googleapis.com/", +"schemas": { +"AndroidConfig": { +"description": "Android specific options for messages sent through [FCM connection server](https://goo.gl/4GLdUl).", +"id": "AndroidConfig", +"properties": { +"bandwidthConstrainedOk": { +"description": "Optional. If set to true, messages will be allowed to be delivered to the app while the device is in bandwidth constrained mode. This should only be enabled when the app has been tested to properly handle messages in bandwidth constrained mode.", +"type": "boolean" +}, +"collapseKey": { +"description": "An identifier of a group of messages that can be collapsed, so that only the last message gets sent when delivery can be resumed. A maximum of 4 different collapse keys is allowed at any given time.", +"type": "string" +}, +"data": { +"additionalProperties": { +"type": "string" +}, +"description": "Arbitrary key/value payload. If present, it will override google.firebase.fcm.v1.Message.data.", +"type": "object" +}, +"directBootOk": { +"description": "Optional. If set to true, messages will be allowed to be delivered to the app while the device is in direct boot mode. See [Support Direct Boot mode](https://developer.android.com/training/articles/direct-boot).", +"type": "boolean" +}, +"fcmOptions": { +"$ref": "AndroidFcmOptions", +"description": "Options for features provided by the FCM SDK for Android." +}, +"notification": { +"$ref": "AndroidNotification", +"description": "Notification to send to android devices." +}, +"priority": { +"description": "Message priority. Can take \"normal\" and \"high\" values. For more information, see [Setting the priority of a message](https://goo.gl/GjONJv).", +"enum": [ +"NORMAL", +"HIGH" +], +"enumDescriptions": [ +"Default priority for data messages. Normal priority messages won't open network connections on a sleeping device, and their delivery may be delayed to conserve the battery. For less time-sensitive messages, such as notifications of new email or other data to sync, choose normal delivery priority.", +"Default priority for notification messages. FCM attempts to deliver high priority messages immediately, allowing the FCM service to wake a sleeping device when possible and open a network connection to your app server. Apps with instant messaging, chat, or voice call alerts, for example, generally need to open a network connection and make sure FCM delivers the message to the device without delay. Set high priority if the message is time-critical and requires the user's immediate interaction, but beware that setting your messages to high priority contributes more to battery drain compared with normal priority messages." +], +"type": "string" +}, +"restrictedPackageName": { +"description": "Package name of the application where the registration token must match in order to receive the message.", +"type": "string" +}, +"restrictedSatelliteOk": { +"description": "Optional. If set to true, messages will be allowed to be delivered to the app while the device is connected over a restricted satellite network. This should only be enabled for messages that can be handled over a restricted satellite network and only for apps that are enabled to work over a restricted satellite network. Note that the ability of the app to connect to a restricted satellite network is dependent on the carrier's settings and the device model.", +"type": "boolean" +}, +"ttl": { +"description": "How long (in seconds) the message should be kept in FCM storage if the device is offline. The maximum time to live supported is 4 weeks, and the default value is 4 weeks if not set. Set it to 0 if want to send the message immediately. In JSON format, the Duration type is encoded as a string rather than an object, where the string ends in the suffix \"s\" (indicating seconds) and is preceded by the number of seconds, with nanoseconds expressed as fractional seconds. For example, 3 seconds with 0 nanoseconds should be encoded in JSON format as \"3s\", while 3 seconds and 1 nanosecond should be expressed in JSON format as \"3.000000001s\". The ttl will be rounded down to the nearest second.", +"format": "google-duration", +"type": "string" +} +}, +"type": "object" +}, +"AndroidFcmOptions": { +"description": "Options for features provided by the FCM SDK for Android.", +"id": "AndroidFcmOptions", +"properties": { +"analyticsLabel": { +"description": "Label associated with the message's analytics data.", +"type": "string" +} +}, +"type": "object" +}, +"AndroidNotification": { +"description": "Notification to send to android devices.", +"id": "AndroidNotification", +"properties": { +"body": { +"description": "The notification's body text. If present, it will override google.firebase.fcm.v1.Notification.body.", +"type": "string" +}, +"bodyLocArgs": { +"description": "Variable string values to be used in place of the format specifiers in body_loc_key to use to localize the body text to the user's current localization. See [Formatting and Styling](https://goo.gl/MalYE3) for more information.", +"items": { +"type": "string" +}, +"type": "array" +}, +"bodyLocKey": { +"description": "The key to the body string in the app's string resources to use to localize the body text to the user's current localization. See [String Resources](https://goo.gl/NdFZGI) for more information.", +"type": "string" +}, +"bypassProxyNotification": { +"deprecated": true, +"description": "If set, display notifications delivered to the device will be handled by the app instead of the proxy.", +"type": "boolean" +}, +"channelId": { +"description": "The [notification's channel id](https://developer.android.com/guide/topics/ui/notifiers/notifications#ManageChannels) (new in Android O). The app must create a channel with this channel ID before any notification with this channel ID is received. If you don't send this channel ID in the request, or if the channel ID provided has not yet been created by the app, FCM uses the channel ID specified in the app manifest.", +"type": "string" +}, +"clickAction": { +"description": "The action associated with a user click on the notification. If specified, an activity with a matching intent filter is launched when a user clicks on the notification.", +"type": "string" +}, +"color": { +"description": "The notification's icon color, expressed in #rrggbb format.", +"type": "string" +}, +"defaultLightSettings": { +"description": "If set to true, use the Android framework's default LED light settings for the notification. Default values are specified in [config.xml](https://android.googlesource.com/platform/frameworks/base/+/master/core/res/res/values/config.xml). If `default_light_settings` is set to true and `light_settings` is also set, the user-specified `light_settings` is used instead of the default value.", +"type": "boolean" +}, +"defaultSound": { +"description": "If set to true, use the Android framework's default sound for the notification. Default values are specified in [config.xml](https://android.googlesource.com/platform/frameworks/base/+/master/core/res/res/values/config.xml).", +"type": "boolean" +}, +"defaultVibrateTimings": { +"description": "If set to true, use the Android framework's default vibrate pattern for the notification. Default values are specified in [config.xml](https://android.googlesource.com/platform/frameworks/base/+/master/core/res/res/values/config.xml). If `default_vibrate_timings` is set to true and `vibrate_timings` is also set, the default value is used instead of the user-specified `vibrate_timings`.", +"type": "boolean" +}, +"eventTime": { +"description": "Set the time that the event in the notification occurred. Notifications in the panel are sorted by this time. A point in time is represented using [protobuf.Timestamp](https://developers.google.com/protocol-buffers/docs/reference/java/com/google/protobuf/Timestamp).", +"format": "google-datetime", +"type": "string" +}, +"icon": { +"description": "The notification's icon. Sets the notification icon to myicon for drawable resource myicon. If you don't send this key in the request, FCM displays the launcher icon specified in your app manifest.", +"type": "string" +}, +"image": { +"description": "Contains the URL of an image that is going to be displayed in a notification. If present, it will override google.firebase.fcm.v1.Notification.image.", +"type": "string" +}, +"lightSettings": { +"$ref": "LightSettings", +"description": "Settings to control the notification's LED blinking rate and color if LED is available on the device. The total blinking time is controlled by the OS." +}, +"localOnly": { +"description": "Set whether or not this notification is relevant only to the current device. Some notifications can be bridged to other devices for remote display, such as a Wear OS watch. This hint can be set to recommend this notification not be bridged. See [Wear OS guides](https://developer.android.com/training/wearables/notifications/bridger#existing-method-of-preventing-bridging)", +"type": "boolean" +}, +"notificationCount": { +"description": "Sets the number of items this notification represents. May be displayed as a badge count for launchers that support badging.See [Notification Badge](https://developer.android.com/training/notify-user/badges). For example, this might be useful if you're using just one notification to represent multiple new messages but you want the count here to represent the number of total new messages. If zero or unspecified, systems that support badging use the default, which is to increment a number displayed on the long-press menu each time a new notification arrives.", +"format": "int32", +"type": "integer" +}, +"notificationPriority": { +"description": "Set the relative priority for this notification. Priority is an indication of how much of the user's attention should be consumed by this notification. Low-priority notifications may be hidden from the user in certain situations, while the user might be interrupted for a higher-priority notification. The effect of setting the same priorities may differ slightly on different platforms. Note this priority differs from `AndroidMessagePriority`. This priority is processed by the client after the message has been delivered, whereas [AndroidMessagePriority](https://firebase.google.com/docs/reference/fcm/rest/v1/projects.messages#androidmessagepriority) is an FCM concept that controls when the message is delivered.", +"enum": [ +"PRIORITY_UNSPECIFIED", +"PRIORITY_MIN", +"PRIORITY_LOW", +"PRIORITY_DEFAULT", +"PRIORITY_HIGH", +"PRIORITY_MAX" +], +"enumDescriptions": [ +"If priority is unspecified, notification priority is set to `PRIORITY_DEFAULT`.", +"Lowest notification priority. Notifications with this `PRIORITY_MIN` might not be shown to the user except under special circumstances, such as detailed notification logs.", +"Lower notification priority. The UI may choose to show the notifications smaller, or at a different position in the list, compared with notifications with `PRIORITY_DEFAULT`.", +"Default notification priority. If the application does not prioritize its own notifications, use this value for all notifications.", +"Higher notification priority. Use this for more important notifications or alerts. The UI may choose to show these notifications larger, or at a different position in the notification lists, compared with notifications with `PRIORITY_DEFAULT`.", +"Highest notification priority. Use this for the application's most important items that require the user's prompt attention or input." +], +"type": "string" +}, +"proxy": { +"description": "Setting to control when a notification may be proxied.", +"enum": [ +"PROXY_UNSPECIFIED", +"ALLOW", +"DENY", +"IF_PRIORITY_LOWERED" +], +"enumDescriptions": [ +"If unspecified, default to `Proxy.IF_PRIORITY_LOWERED`.", +"Try to proxy this notification.", +"Do not proxy this notification.", +"Only try to proxy this notification if its `AndroidMessagePriority` was lowered from `HIGH` to `NORMAL` on the device." +], +"type": "string" +}, +"sound": { +"description": "The sound to play when the device receives the notification. Supports \"default\" or the filename of a sound resource bundled in the app. Sound files must reside in /res/raw/.", +"type": "string" +}, +"sticky": { +"description": "When set to false or unset, the notification is automatically dismissed when the user clicks it in the panel. When set to true, the notification persists even when the user clicks it.", +"type": "boolean" +}, +"tag": { +"description": "Identifier used to replace existing notifications in the notification drawer. If not specified, each request creates a new notification. If specified and a notification with the same tag is already being shown, the new notification replaces the existing one in the notification drawer.", +"type": "string" +}, +"ticker": { +"description": "Sets the \"ticker\" text, which is sent to accessibility services. Prior to API level 21 (`Lollipop`), sets the text that is displayed in the status bar when the notification first arrives.", +"type": "string" +}, +"title": { +"description": "The notification's title. If present, it will override google.firebase.fcm.v1.Notification.title.", +"type": "string" +}, +"titleLocArgs": { +"description": "Variable string values to be used in place of the format specifiers in title_loc_key to use to localize the title text to the user's current localization. See [Formatting and Styling](https://goo.gl/MalYE3) for more information.", +"items": { +"type": "string" +}, +"type": "array" +}, +"titleLocKey": { +"description": "The key to the title string in the app's string resources to use to localize the title text to the user's current localization. See [String Resources](https://goo.gl/NdFZGI) for more information.", +"type": "string" +}, +"vibrateTimings": { +"description": "Set the vibration pattern to use. Pass in an array of [protobuf.Duration](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.Duration) to turn on or off the vibrator. The first value indicates the `Duration` to wait before turning the vibrator on. The next value indicates the `Duration` to keep the vibrator on. Subsequent values alternate between `Duration` to turn the vibrator off and to turn the vibrator on. If `vibrate_timings` is set and `default_vibrate_timings` is set to `true`, the default value is used instead of the user-specified `vibrate_timings`.", +"items": { +"format": "google-duration", +"type": "string" +}, +"type": "array" +}, +"visibility": { +"description": "Set the [Notification.visibility](https://developer.android.com/reference/android/app/Notification.html#visibility) of the notification.", +"enum": [ +"VISIBILITY_UNSPECIFIED", +"PRIVATE", +"PUBLIC", +"SECRET" +], +"enumDescriptions": [ +"If unspecified, default to `Visibility.PRIVATE`.", +"Show this notification on all lockscreens, but conceal sensitive or private information on secure lockscreens.", +"Show this notification in its entirety on all lockscreens.", +"Do not reveal any part of this notification on a secure lockscreen." +], +"type": "string" +} +}, +"type": "object" +}, +"ApnsConfig": { +"description": "[Apple Push Notification Service](https://goo.gl/MXRTPa) specific options.", +"id": "ApnsConfig", +"properties": { +"fcmOptions": { +"$ref": "ApnsFcmOptions", +"description": "Options for features provided by the FCM SDK for iOS." +}, +"headers": { +"additionalProperties": { +"type": "string" +}, +"description": "HTTP request headers defined in Apple Push Notification Service. Refer to [APNs request headers](https://developer.apple.com/documentation/usernotifications/setting_up_a_remote_notification_server/sending_notification_requests_to_apns) for supported headers such as `apns-expiration` and `apns-priority`. The backend sets a default value for `apns-expiration` of 30 days and a default value for `apns-priority` of 10 if not explicitly set.", +"type": "object" +}, +"liveActivityToken": { +"description": "Optional. [Apple Live Activity](https://developer.apple.com/design/human-interface-guidelines/live-activities) token to send updates to. This token can either be a push token or [push-to-start](https://developer.apple.com/documentation/activitykit/activity/pushtostarttoken) token from Apple. To start, update, or end a live activity remotely using FCM, construct an [`aps payload`](https://developer.apple.com/documentation/activitykit/starting-and-updating-live-activities-with-activitykit-push-notifications#Construct-the-payload-that-starts-a-Live-Activity) and put it in the [`apns.payload`](https://firebase.google.com/docs/reference/fcm/rest/v1/projects.messages#ApnsConfig) field.", +"type": "string" +}, +"payload": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"description": "APNs payload as a JSON object, including both `aps` dictionary and custom payload. See [Payload Key Reference](https://developer.apple.com/documentation/usernotifications/setting_up_a_remote_notification_server/generating_a_remote_notification). If present, it overrides google.firebase.fcm.v1.Notification.title and google.firebase.fcm.v1.Notification.body.", +"type": "object" +} +}, +"type": "object" +}, +"ApnsFcmOptions": { +"description": "Options for features provided by the FCM SDK for iOS.", +"id": "ApnsFcmOptions", +"properties": { +"analyticsLabel": { +"description": "Label associated with the message's analytics data.", +"type": "string" +}, +"image": { +"description": "Contains the URL of an image that is going to be displayed in a notification. If present, it will override google.firebase.fcm.v1.Notification.image.", +"type": "string" +} +}, +"type": "object" +}, +"Color": { +"description": "Represents a color in the RGBA color space. This representation is designed for simplicity of conversion to and from color representations in various languages over compactness. For example, the fields of this representation can be trivially provided to the constructor of `java.awt.Color` in Java; it can also be trivially provided to UIColor's `+colorWithRed:green:blue:alpha` method in iOS; and, with just a little work, it can be easily formatted into a CSS `rgba()` string in JavaScript. This reference page doesn't have information about the absolute color space that should be used to interpret the RGB value\u2014for example, sRGB, Adobe RGB, DCI-P3, and BT.2020. By default, applications should assume the sRGB color space. When color equality needs to be decided, implementations, unless documented otherwise, treat two colors as equal if all their red, green, blue, and alpha values each differ by at most `1e-5`. Example (Java): import com.google.type.Color; // ... public static java.awt.Color fromProto(Color protocolor) { float alpha = protocolor.hasAlpha() ? protocolor.getAlpha().getValue() : 1.0; return new java.awt.Color( protocolor.getRed(), protocolor.getGreen(), protocolor.getBlue(), alpha); } public static Color toProto(java.awt.Color color) { float red = (float) color.getRed(); float green = (float) color.getGreen(); float blue = (float) color.getBlue(); float denominator = 255.0; Color.Builder resultBuilder = Color .newBuilder() .setRed(red / denominator) .setGreen(green / denominator) .setBlue(blue / denominator); int alpha = color.getAlpha(); if (alpha != 255) { result.setAlpha( FloatValue .newBuilder() .setValue(((float) alpha) / denominator) .build()); } return resultBuilder.build(); } // ... Example (iOS / Obj-C): // ... static UIColor* fromProto(Color* protocolor) { float red = [protocolor red]; float green = [protocolor green]; float blue = [protocolor blue]; FloatValue* alpha_wrapper = [protocolor alpha]; float alpha = 1.0; if (alpha_wrapper != nil) { alpha = [alpha_wrapper value]; } return [UIColor colorWithRed:red green:green blue:blue alpha:alpha]; } static Color* toProto(UIColor* color) { CGFloat red, green, blue, alpha; if (![color getRed:&red green:&green blue:&blue alpha:&alpha]) { return nil; } Color* result = [[Color alloc] init]; [result setRed:red]; [result setGreen:green]; [result setBlue:blue]; if (alpha <= 0.9999) { [result setAlpha:floatWrapperWithValue(alpha)]; } [result autorelease]; return result; } // ... Example (JavaScript): // ... var protoToCssColor = function(rgb_color) { var redFrac = rgb_color.red || 0.0; var greenFrac = rgb_color.green || 0.0; var blueFrac = rgb_color.blue || 0.0; var red = Math.floor(redFrac * 255); var green = Math.floor(greenFrac * 255); var blue = Math.floor(blueFrac * 255); if (!('alpha' in rgb_color)) { return rgbToCssColor(red, green, blue); } var alphaFrac = rgb_color.alpha.value || 0.0; var rgbParams = [red, green, blue].join(','); return ['rgba(', rgbParams, ',', alphaFrac, ')'].join(''); }; var rgbToCssColor = function(red, green, blue) { var rgbNumber = new Number((red << 16) | (green << 8) | blue); var hexString = rgbNumber.toString(16); var missingZeros = 6 - hexString.length; var resultBuilder = ['#']; for (var i = 0; i < missingZeros; i++) { resultBuilder.push('0'); } resultBuilder.push(hexString); return resultBuilder.join(''); }; // ...", +"id": "Color", +"properties": { +"alpha": { +"description": "The fraction of this color that should be applied to the pixel. That is, the final pixel color is defined by the equation: `pixel color = alpha * (this color) + (1.0 - alpha) * (background color)` This means that a value of 1.0 corresponds to a solid color, whereas a value of 0.0 corresponds to a completely transparent color. This uses a wrapper message rather than a simple float scalar so that it is possible to distinguish between a default value and the value being unset. If omitted, this color object is rendered as a solid color (as if the alpha value had been explicitly given a value of 1.0).", +"format": "float", +"type": "number" +}, +"blue": { +"description": "The amount of blue in the color as a value in the interval [0, 1].", +"format": "float", +"type": "number" +}, +"green": { +"description": "The amount of green in the color as a value in the interval [0, 1].", +"format": "float", +"type": "number" +}, +"red": { +"description": "The amount of red in the color as a value in the interval [0, 1].", +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"FcmOptions": { +"description": "Platform independent options for features provided by the FCM SDKs.", +"id": "FcmOptions", +"properties": { +"analyticsLabel": { +"description": "Label associated with the message's analytics data.", +"type": "string" +} +}, +"type": "object" +}, +"LightSettings": { +"description": "Settings to control notification LED.", +"id": "LightSettings", +"properties": { +"color": { +"$ref": "Color", +"description": "Required. Set `color` of the LED with [google.type.Color](https://github.com/googleapis/googleapis/blob/master/google/type/color.proto)." +}, +"lightOffDuration": { +"description": "Required. Along with `light_on_duration `, define the blink rate of LED flashes. Resolution defined by [proto.Duration](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.Duration)", +"format": "google-duration", +"type": "string" +}, +"lightOnDuration": { +"description": "Required. Along with `light_off_duration`, define the blink rate of LED flashes. Resolution defined by [proto.Duration](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.Duration)", +"format": "google-duration", +"type": "string" +} +}, +"type": "object" +}, +"Message": { +"description": "Message to send by Firebase Cloud Messaging Service.", +"id": "Message", +"properties": { +"android": { +"$ref": "AndroidConfig", +"description": "Input only. Android specific options for messages sent through [FCM connection server](https://goo.gl/4GLdUl)." +}, +"apns": { +"$ref": "ApnsConfig", +"description": "Input only. [Apple Push Notification Service](https://goo.gl/MXRTPa) specific options." +}, +"condition": { +"description": "Condition to send a message to, e.g. \"'foo' in topics && 'bar' in topics\".", +"type": "string" +}, +"data": { +"additionalProperties": { +"type": "string" +}, +"description": "Input only. Arbitrary key/value payload, which must be UTF-8 encoded. The key should not be a reserved word (\"from\", \"message_type\", or any word starting with \"google.\" or \"gcm.notification.\"). When sending payloads containing only data fields to iOS devices, only normal priority (`\"apns-priority\": \"5\"`) is allowed in [`ApnsConfig`](/docs/reference/fcm/rest/v1/projects.messages#apnsconfig).", +"type": "object" +}, +"fcmOptions": { +"$ref": "FcmOptions", +"description": "Input only. Template for FCM SDK feature options to use across all platforms." +}, +"name": { +"description": "Output Only. The identifier of the message sent, in the format of `projects/*/messages/{message_id}`.", +"type": "string" +}, +"notification": { +"$ref": "Notification", +"description": "Input only. Basic notification template to use across all platforms." +}, +"token": { +"description": "Registration token to send a message to.", +"type": "string" +}, +"topic": { +"description": "Topic name to send a message to, e.g. \"weather\". Note: \"/topics/\" prefix should not be provided.", +"type": "string" +}, +"webpush": { +"$ref": "WebpushConfig", +"description": "Input only. [Webpush protocol](https://tools.ietf.org/html/rfc8030) options." +} +}, +"type": "object" +}, +"Notification": { +"description": "Basic notification template to use across all platforms.", +"id": "Notification", +"properties": { +"body": { +"description": "The notification's body text.", +"type": "string" +}, +"image": { +"description": "Contains the URL of an image that is going to be downloaded on the device and displayed in a notification. JPEG, PNG, BMP have full support across platforms. Animated GIF and video only work on iOS. WebP and HEIF have varying levels of support across platforms and platform versions. Android has 1MB image size limit. Quota usage and implications/costs for hosting image on Firebase Storage: https://firebase.google.com/pricing", +"type": "string" +}, +"title": { +"description": "The notification's title.", +"type": "string" +} +}, +"type": "object" +}, +"SendMessageRequest": { +"description": "Request to send a message to specified target.", +"id": "SendMessageRequest", +"properties": { +"message": { +"$ref": "Message", +"description": "Required. Message to send." +}, +"validateOnly": { +"description": "Flag for testing the request without actually delivering the message.", +"type": "boolean" +} +}, +"type": "object" +}, +"WebpushConfig": { +"description": "[Webpush protocol](https://tools.ietf.org/html/rfc8030) options.", +"id": "WebpushConfig", +"properties": { +"data": { +"additionalProperties": { +"type": "string" +}, +"description": "Arbitrary key/value payload. If present, it will override google.firebase.fcm.v1.Message.data.", +"type": "object" +}, +"fcmOptions": { +"$ref": "WebpushFcmOptions", +"description": "Options for features provided by the FCM SDK for Web." +}, +"headers": { +"additionalProperties": { +"type": "string" +}, +"description": "HTTP headers defined in webpush protocol. Refer to [Webpush protocol](https://tools.ietf.org/html/rfc8030#section-5) for supported headers, e.g. \"TTL\": \"15\".", +"type": "object" +}, +"notification": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"description": "Web Notification options as a JSON object. Supports Notification instance properties as defined in [Web Notification API](https://developer.mozilla.org/en-US/docs/Web/API/Notification). If present, \"title\" and \"body\" fields override [google.firebase.fcm.v1.Notification.title] and [google.firebase.fcm.v1.Notification.body].", +"type": "object" +} +}, +"type": "object" +}, +"WebpushFcmOptions": { +"description": "Options for features provided by the FCM SDK for Web.", +"id": "WebpushFcmOptions", +"properties": { +"analyticsLabel": { +"description": "Label associated with the message's analytics data.", +"type": "string" +}, +"link": { +"description": "The link to open when the user clicks on the notification. For all URL values, HTTPS is required.", +"type": "string" +} +}, +"type": "object" +} +}, +"servicePath": "", +"title": "Firebase Cloud Messaging API", +"version": "v1", +"version_module": true +} \ No newline at end of file diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/firebaseappdistribution.v1.json b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/firebaseappdistribution.v1.json new file mode 100644 index 0000000000000000000000000000000000000000..baafeb3cd9013e9ec581110df957e70ff59cead2 --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/firebaseappdistribution.v1.json @@ -0,0 +1,1976 @@ +{ +"auth": { +"oauth2": { +"scopes": { +"https://www.googleapis.com/auth/cloud-platform": { +"description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." +} +} +} +}, +"basePath": "", +"baseUrl": "https://firebaseappdistribution.googleapis.com/", +"batchPath": "batch", +"canonicalName": "Firebase App Distribution", +"description": "", +"discoveryVersion": "v1", +"documentationLink": "https://firebase.google.com/products/app-distribution", +"fullyEncodeReservedExpansion": true, +"icons": { +"x16": "http://www.google.com/images/icons/product/search-16.gif", +"x32": "http://www.google.com/images/icons/product/search-32.gif" +}, +"id": "firebaseappdistribution:v1", +"kind": "discovery#restDescription", +"mtlsRootUrl": "https://firebaseappdistribution.mtls.googleapis.com/", +"name": "firebaseappdistribution", +"ownerDomain": "google.com", +"ownerName": "Google", +"parameters": { +"$.xgafv": { +"description": "V1 error format.", +"enum": [ +"1", +"2" +], +"enumDescriptions": [ +"v1 error format", +"v2 error format" +], +"location": "query", +"type": "string" +}, +"access_token": { +"description": "OAuth access token.", +"location": "query", +"type": "string" +}, +"alt": { +"default": "json", +"description": "Data format for response.", +"enum": [ +"json", +"media", +"proto" +], +"enumDescriptions": [ +"Responses with Content-Type of application/json", +"Media download with context-dependent Content-Type", +"Responses with Content-Type of application/x-protobuf" +], +"location": "query", +"type": "string" +}, +"callback": { +"description": "JSONP", +"location": "query", +"type": "string" +}, +"fields": { +"description": "Selector specifying which fields to include in a partial response.", +"location": "query", +"type": "string" +}, +"key": { +"description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", +"location": "query", +"type": "string" +}, +"oauth_token": { +"description": "OAuth 2.0 token for the current user.", +"location": "query", +"type": "string" +}, +"prettyPrint": { +"default": "true", +"description": "Returns response with indentations and line breaks.", +"location": "query", +"type": "boolean" +}, +"quotaUser": { +"description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.", +"location": "query", +"type": "string" +}, +"uploadType": { +"description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", +"location": "query", +"type": "string" +}, +"upload_protocol": { +"description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", +"location": "query", +"type": "string" +} +}, +"protocol": "rest", +"resources": { +"media": { +"methods": { +"upload": { +"description": "Uploads a binary. Uploading a binary can result in a new release being created, an update to an existing release, or a no-op if a release with the same binary already exists.", +"flatPath": "v1/projects/{projectsId}/apps/{appsId}/releases:upload", +"httpMethod": "POST", +"id": "firebaseappdistribution.media.upload", +"mediaUpload": { +"accept": [ +"*/*" +], +"protocols": { +"simple": { +"multipart": true, +"path": "/upload/v1/{+app}/releases:upload" +} +} +}, +"parameterOrder": [ +"app" +], +"parameters": { +"app": { +"description": "Required. The name of the app resource. Format: `projects/{project_number}/apps/{app}`", +"location": "path", +"pattern": "^projects/[^/]+/apps/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+app}/releases:upload", +"request": { +"$ref": "GoogleFirebaseAppdistroV1UploadReleaseRequest" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +], +"supportsMediaUpload": true +} +} +}, +"projects": { +"resources": { +"apps": { +"methods": { +"getAabInfo": { +"description": "Gets Android App Bundle (AAB) information for a Firebase app.", +"flatPath": "v1/projects/{projectsId}/apps/{appsId}/aabInfo", +"httpMethod": "GET", +"id": "firebaseappdistribution.projects.apps.getAabInfo", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the `AabInfo` resource to retrieve. Format: `projects/{project_number}/apps/{app}/aabInfo`", +"location": "path", +"pattern": "^projects/[^/]+/apps/[^/]+/aabInfo$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleFirebaseAppdistroV1AabInfo" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"releases": { +"methods": { +"batchDelete": { +"description": "Deletes releases. A maximum of 100 releases can be deleted per request.", +"flatPath": "v1/projects/{projectsId}/apps/{appsId}/releases:batchDelete", +"httpMethod": "POST", +"id": "firebaseappdistribution.projects.apps.releases.batchDelete", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The name of the app resource, which is the parent of the release resources. Format: `projects/{project_number}/apps/{app}`", +"location": "path", +"pattern": "^projects/[^/]+/apps/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/releases:batchDelete", +"request": { +"$ref": "GoogleFirebaseAppdistroV1BatchDeleteReleasesRequest" +}, +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"distribute": { +"description": "Distributes a release to testers. This call does the following: 1. Creates testers for the specified emails, if none exist. 2. Adds the testers and groups to the release. 3. Sends new testers an invitation email. 4. Sends existing testers a new release email. The request will fail with a `INVALID_ARGUMENT` if it contains a group that doesn't exist.", +"flatPath": "v1/projects/{projectsId}/apps/{appsId}/releases/{releasesId}:distribute", +"httpMethod": "POST", +"id": "firebaseappdistribution.projects.apps.releases.distribute", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the release resource to distribute. Format: `projects/{project_number}/apps/{app}/releases/{release}`", +"location": "path", +"pattern": "^projects/[^/]+/apps/[^/]+/releases/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:distribute", +"request": { +"$ref": "GoogleFirebaseAppdistroV1DistributeReleaseRequest" +}, +"response": { +"$ref": "GoogleFirebaseAppdistroV1DistributeReleaseResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets a release.", +"flatPath": "v1/projects/{projectsId}/apps/{appsId}/releases/{releasesId}", +"httpMethod": "GET", +"id": "firebaseappdistribution.projects.apps.releases.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the release resource to retrieve. Format: projects/{project_number}/apps/{app}/releases/{release}", +"location": "path", +"pattern": "^projects/[^/]+/apps/[^/]+/releases/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleFirebaseAppdistroV1Release" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists releases. By default, sorts by `createTime` in descending order.", +"flatPath": "v1/projects/{projectsId}/apps/{appsId}/releases", +"httpMethod": "GET", +"id": "firebaseappdistribution.projects.apps.releases.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Optional. The expression to filter releases listed in the response. To learn more about filtering, refer to [Google's AIP-160 standard](http://aip.dev/160). Supported fields: - `releaseNotes.text` supports `=` (can contain a wildcard character (`*`) at the beginning or end of the string) - `createTime` supports `<`, `<=`, `>` and `>=`, and expects an RFC-3339 formatted string Examples: - `createTime <= \"2021-09-08T00:00:00+04:00\"` - `releaseNotes.text=\"fixes\" AND createTime >= \"2021-09-08T00:00:00.0Z\"` - `releaseNotes.text=\"*v1.0.0-rc*\"`", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "Optional. The fields used to order releases. Supported fields: - `createTime` To specify descending order for a field, append a \"desc\" suffix, for example, `createTime desc`. If this parameter is not set, releases are ordered by `createTime` in descending order.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Optional. The maximum number of releases to return. The service may return fewer than this value. The valid range is [1-100]; If unspecified (0), at most 25 releases are returned. Values above 100 are coerced to 100.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. A page token, received from a previous `ListReleases` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListReleases` must match the call that provided the page token.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The name of the app resource, which is the parent of the release resources. Format: `projects/{project_number}/apps/{app}`", +"location": "path", +"pattern": "^projects/[^/]+/apps/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/releases", +"response": { +"$ref": "GoogleFirebaseAppdistroV1ListReleasesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates a release.", +"flatPath": "v1/projects/{projectsId}/apps/{appsId}/releases/{releasesId}", +"httpMethod": "PATCH", +"id": "firebaseappdistribution.projects.apps.releases.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the release resource. Format: `projects/{project_number}/apps/{app}/releases/{release}`", +"location": "path", +"pattern": "^projects/[^/]+/apps/[^/]+/releases/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Optional. The list of fields to update.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "GoogleFirebaseAppdistroV1Release" +}, +"response": { +"$ref": "GoogleFirebaseAppdistroV1Release" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"feedbackReports": { +"methods": { +"delete": { +"description": "Deletes a feedback report.", +"flatPath": "v1/projects/{projectsId}/apps/{appsId}/releases/{releasesId}/feedbackReports/{feedbackReportsId}", +"httpMethod": "DELETE", +"id": "firebaseappdistribution.projects.apps.releases.feedbackReports.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the feedback report to delete. Format: projects/{project_number}/apps/{app}/releases/{release}/feedbackReports/{feedback_report}", +"location": "path", +"pattern": "^projects/[^/]+/apps/[^/]+/releases/[^/]+/feedbackReports/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets a feedback report.", +"flatPath": "v1/projects/{projectsId}/apps/{appsId}/releases/{releasesId}/feedbackReports/{feedbackReportsId}", +"httpMethod": "GET", +"id": "firebaseappdistribution.projects.apps.releases.feedbackReports.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the feedback report to retrieve. Format: projects/{project_number}/apps/{app}/releases/{release}/feedbackReports/{feedback_report}", +"location": "path", +"pattern": "^projects/[^/]+/apps/[^/]+/releases/[^/]+/feedbackReports/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleFirebaseAppdistroV1FeedbackReport" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists feedback reports. By default, sorts by `createTime` in descending order.", +"flatPath": "v1/projects/{projectsId}/apps/{appsId}/releases/{releasesId}/feedbackReports", +"httpMethod": "GET", +"id": "firebaseappdistribution.projects.apps.releases.feedbackReports.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "Output only. The maximum number of feedback reports to return. The service may return fewer than this value. The valid range is [1-100]; If unspecified (0), at most 25 feedback reports are returned. Values above 100 are coerced to 100.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Output only. A page token, received from a previous `ListFeedbackReports` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListFeedbackReports` must match the call that provided the page token.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The name of the release resource, which is the parent of the feedback report resources. Format: `projects/{project_number}/apps/{app}/releases/{release}`", +"location": "path", +"pattern": "^projects/[^/]+/apps/[^/]+/releases/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/feedbackReports", +"response": { +"$ref": "GoogleFirebaseAppdistroV1ListFeedbackReportsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"operations": { +"methods": { +"cancel": { +"description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.", +"flatPath": "v1/projects/{projectsId}/apps/{appsId}/releases/{releasesId}/operations/{operationsId}:cancel", +"httpMethod": "POST", +"id": "firebaseappdistribution.projects.apps.releases.operations.cancel", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be cancelled.", +"location": "path", +"pattern": "^projects/[^/]+/apps/[^/]+/releases/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:cancel", +"request": { +"$ref": "GoogleLongrunningCancelOperationRequest" +}, +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.", +"flatPath": "v1/projects/{projectsId}/apps/{appsId}/releases/{releasesId}/operations/{operationsId}", +"httpMethod": "DELETE", +"id": "firebaseappdistribution.projects.apps.releases.operations.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be deleted.", +"location": "path", +"pattern": "^projects/[^/]+/apps/[^/]+/releases/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", +"flatPath": "v1/projects/{projectsId}/apps/{appsId}/releases/{releasesId}/operations/{operationsId}", +"httpMethod": "GET", +"id": "firebaseappdistribution.projects.apps.releases.operations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource.", +"location": "path", +"pattern": "^projects/[^/]+/apps/[^/]+/releases/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.", +"flatPath": "v1/projects/{projectsId}/apps/{appsId}/releases/{releasesId}/operations", +"httpMethod": "GET", +"id": "firebaseappdistribution.projects.apps.releases.operations.list", +"parameterOrder": [ +"name" +], +"parameters": { +"filter": { +"description": "The standard list filter.", +"location": "query", +"type": "string" +}, +"name": { +"description": "The name of the operation's parent resource.", +"location": "path", +"pattern": "^projects/[^/]+/apps/[^/]+/releases/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The standard list page size.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The standard list page token.", +"location": "query", +"type": "string" +}, +"returnPartialSuccess": { +"description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `\"projects/example/locations/-\"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1/{+name}/operations", +"response": { +"$ref": "GoogleLongrunningListOperationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"wait": { +"description": "Waits until the specified long-running operation is done or reaches at most a specified timeout, returning the latest state. If the operation is already done, the latest state is immediately returned. If the timeout specified is greater than the default HTTP/RPC timeout, the HTTP/RPC timeout is used. If the server does not support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Note that this method is on a best-effort basis. It may return the latest state before the specified timeout (including immediately), meaning even an immediate response is no guarantee that the operation is done.", +"flatPath": "v1/projects/{projectsId}/apps/{appsId}/releases/{releasesId}/operations/{operationsId}:wait", +"httpMethod": "POST", +"id": "firebaseappdistribution.projects.apps.releases.operations.wait", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to wait on.", +"location": "path", +"pattern": "^projects/[^/]+/apps/[^/]+/releases/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:wait", +"request": { +"$ref": "GoogleLongrunningWaitOperationRequest" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +} +} +}, +"groups": { +"methods": { +"batchJoin": { +"description": "Batch adds members to a group. The testers will gain access to all releases that the groups have access to.", +"flatPath": "v1/projects/{projectsId}/groups/{groupsId}:batchJoin", +"httpMethod": "POST", +"id": "firebaseappdistribution.projects.groups.batchJoin", +"parameterOrder": [ +"group" +], +"parameters": { +"group": { +"description": "Required. The name of the group resource to which testers are added. Format: `projects/{project_number}/groups/{group_alias}`", +"location": "path", +"pattern": "^projects/[^/]+/groups/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+group}:batchJoin", +"request": { +"$ref": "GoogleFirebaseAppdistroV1BatchJoinGroupRequest" +}, +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"batchLeave": { +"description": "Batch removed members from a group. The testers will lose access to all releases that the groups have access to.", +"flatPath": "v1/projects/{projectsId}/groups/{groupsId}:batchLeave", +"httpMethod": "POST", +"id": "firebaseappdistribution.projects.groups.batchLeave", +"parameterOrder": [ +"group" +], +"parameters": { +"group": { +"description": "Required. The name of the group resource from which testers are removed. Format: `projects/{project_number}/groups/{group_alias}`", +"location": "path", +"pattern": "^projects/[^/]+/groups/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+group}:batchLeave", +"request": { +"$ref": "GoogleFirebaseAppdistroV1BatchLeaveGroupRequest" +}, +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"create": { +"description": "Create a group.", +"flatPath": "v1/projects/{projectsId}/groups", +"httpMethod": "POST", +"id": "firebaseappdistribution.projects.groups.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"groupId": { +"description": "Optional. The \"alias\" to use for the group, which will become the final component of the group's resource name. This value must be unique per project. The field is named `groupId` to comply with AIP guidance for user-specified IDs. This value should be 4-63 characters, and valid characters are `/a-z-/`. If not set, it will be generated based on the display name.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The name of the project resource, which is the parent of the group resource. Format: `projects/{project_number}`", +"location": "path", +"pattern": "^projects/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/groups", +"request": { +"$ref": "GoogleFirebaseAppdistroV1Group" +}, +"response": { +"$ref": "GoogleFirebaseAppdistroV1Group" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Delete a group.", +"flatPath": "v1/projects/{projectsId}/groups/{groupsId}", +"httpMethod": "DELETE", +"id": "firebaseappdistribution.projects.groups.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the group resource. Format: `projects/{project_number}/groups/{group_alias}`", +"location": "path", +"pattern": "^projects/[^/]+/groups/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Get a group.", +"flatPath": "v1/projects/{projectsId}/groups/{groupsId}", +"httpMethod": "GET", +"id": "firebaseappdistribution.projects.groups.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the group resource to retrieve. Format: `projects/{project_number}/groups/{group_alias}`", +"location": "path", +"pattern": "^projects/[^/]+/groups/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleFirebaseAppdistroV1Group" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "List groups.", +"flatPath": "v1/projects/{projectsId}/groups", +"httpMethod": "GET", +"id": "firebaseappdistribution.projects.groups.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "Optional. The maximum number of groups to return. The service may return fewer than this value. The valid range is [1-1000]; If unspecified (0), at most 25 groups are returned. Values above 1000 are coerced to 1000.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. A page token, received from a previous `ListGroups` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListGroups` must match the call that provided the page token.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The name of the project resource, which is the parent of the group resources. Format: `projects/{project_number}`", +"location": "path", +"pattern": "^projects/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/groups", +"response": { +"$ref": "GoogleFirebaseAppdistroV1ListGroupsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Update a group.", +"flatPath": "v1/projects/{projectsId}/groups/{groupsId}", +"httpMethod": "PATCH", +"id": "firebaseappdistribution.projects.groups.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the group resource. Format: `projects/{project_number}/groups/{group_alias}`", +"location": "path", +"pattern": "^projects/[^/]+/groups/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Optional. The list of fields to update.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "GoogleFirebaseAppdistroV1Group" +}, +"response": { +"$ref": "GoogleFirebaseAppdistroV1Group" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"testers": { +"methods": { +"batchAdd": { +"description": "Batch adds testers. This call adds testers for the specified emails if they don't already exist. Returns all testers specified in the request, including newly created and previously existing testers. This action is idempotent.", +"flatPath": "v1/projects/{projectsId}/testers:batchAdd", +"httpMethod": "POST", +"id": "firebaseappdistribution.projects.testers.batchAdd", +"parameterOrder": [ +"project" +], +"parameters": { +"project": { +"description": "Required. The name of the project resource. Format: `projects/{project_number}`", +"location": "path", +"pattern": "^projects/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+project}/testers:batchAdd", +"request": { +"$ref": "GoogleFirebaseAppdistroV1BatchAddTestersRequest" +}, +"response": { +"$ref": "GoogleFirebaseAppdistroV1BatchAddTestersResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"batchRemove": { +"description": "Batch removes testers. If found, this call deletes testers for the specified emails. Returns all deleted testers.", +"flatPath": "v1/projects/{projectsId}/testers:batchRemove", +"httpMethod": "POST", +"id": "firebaseappdistribution.projects.testers.batchRemove", +"parameterOrder": [ +"project" +], +"parameters": { +"project": { +"description": "Required. The name of the project resource. Format: `projects/{project_number}`", +"location": "path", +"pattern": "^projects/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+project}/testers:batchRemove", +"request": { +"$ref": "GoogleFirebaseAppdistroV1BatchRemoveTestersRequest" +}, +"response": { +"$ref": "GoogleFirebaseAppdistroV1BatchRemoveTestersResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists testers and their resource ids.", +"flatPath": "v1/projects/{projectsId}/testers", +"httpMethod": "GET", +"id": "firebaseappdistribution.projects.testers.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Optional. The expression to filter testers listed in the response. To learn more about filtering, refer to [Google's AIP-160 standard](http://aip.dev/160). Supported fields: - `name` - `displayName` - `groups` Example: - `name = \"projects/-/testers/*@example.com\"` - `displayName = \"Joe Sixpack\"` - `groups = \"projects/*/groups/qa-team\"`", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Optional. The maximum number of testers to return. The service may return fewer than this value. The valid range is [1-1000]; If unspecified (0), at most 10 testers are returned. Values above 1000 are coerced to 1000.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. A page token, received from a previous `ListTesters` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListTesters` must match the call that provided the page token.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The name of the project resource, which is the parent of the tester resources. Format: `projects/{project_number}`", +"location": "path", +"pattern": "^projects/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/testers", +"response": { +"$ref": "GoogleFirebaseAppdistroV1ListTestersResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Update a tester. If the testers joins a group they gain access to all releases that the group has access to.", +"flatPath": "v1/projects/{projectsId}/testers/{testersId}", +"httpMethod": "PATCH", +"id": "firebaseappdistribution.projects.testers.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the tester resource. Format: `projects/{project_number}/testers/{email_address}`", +"location": "path", +"pattern": "^projects/[^/]+/testers/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Optional. The list of fields to update.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "GoogleFirebaseAppdistroV1Tester" +}, +"response": { +"$ref": "GoogleFirebaseAppdistroV1Tester" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +} +}, +"revision": "20260113", +"rootUrl": "https://firebaseappdistribution.googleapis.com/", +"schemas": { +"GdataBlobstore2Info": { +"description": "Information to read/write to blobstore2.", +"id": "GdataBlobstore2Info", +"properties": { +"blobGeneration": { +"description": "The blob generation id.", +"format": "int64", +"type": "string" +}, +"blobId": { +"description": "The blob id, e.g., /blobstore/prod/playground/scotty", +"type": "string" +}, +"downloadExternalReadToken": { +"description": "A serialized External Read Token passed from Bigstore -> Scotty for a GCS download. This field must never be consumed outside of Bigstore, and is not applicable to non-GCS media uploads.", +"format": "byte", +"type": "string" +}, +"downloadReadHandle": { +"description": "Read handle passed from Bigstore -> Scotty for a GCS download. This is a signed, serialized blobstore2.ReadHandle proto which must never be set outside of Bigstore, and is not applicable to non-GCS media downloads.", +"format": "byte", +"type": "string" +}, +"readToken": { +"description": "The blob read token. Needed to read blobs that have not been replicated. Might not be available until the final call.", +"type": "string" +}, +"uploadFragmentListCreationInfo": { +"description": "A serialized Object Fragment List Creation Info passed from Bigstore -> Scotty for a GCS upload. This field must never be consumed outside of Bigstore, and is not applicable to non-GCS media uploads.", +"format": "byte", +"type": "string" +}, +"uploadMetadataContainer": { +"description": "Metadata passed from Blobstore -> Scotty for a new GCS upload. This is a signed, serialized blobstore2.BlobMetadataContainer proto which must never be consumed outside of Bigstore, and is not applicable to non-GCS media uploads.", +"format": "byte", +"type": "string" +} +}, +"type": "object" +}, +"GdataCompositeMedia": { +"description": "A sequence of media data references representing composite data. Introduced to support Bigstore composite objects. For details, visit http://go/bigstore-composites.", +"id": "GdataCompositeMedia", +"properties": { +"blobRef": { +"deprecated": true, +"description": "Blobstore v1 reference, set if reference_type is BLOBSTORE_REF This should be the byte representation of a blobstore.BlobRef. Since Blobstore is deprecating v1, use blobstore2_info instead. For now, any v2 blob will also be represented in this field as v1 BlobRef.", +"format": "byte", +"type": "string" +}, +"blobstore2Info": { +"$ref": "GdataBlobstore2Info", +"description": "Blobstore v2 info, set if reference_type is BLOBSTORE_REF and it refers to a v2 blob." +}, +"cosmoBinaryReference": { +"description": "A binary data reference for a media download. Serves as a technology-agnostic binary reference in some Google infrastructure. This value is a serialized storage_cosmo.BinaryReference proto. Storing it as bytes is a hack to get around the fact that the cosmo proto (as well as others it includes) doesn't support JavaScript. This prevents us from including the actual type of this field.", +"format": "byte", +"type": "string" +}, +"crc32cHash": { +"description": "crc32.c hash for the payload.", +"format": "uint32", +"type": "integer" +}, +"inline": { +"description": "Media data, set if reference_type is INLINE", +"format": "byte", +"type": "string" +}, +"length": { +"description": "Size of the data, in bytes", +"format": "int64", +"type": "string" +}, +"md5Hash": { +"description": "MD5 hash for the payload.", +"format": "byte", +"type": "string" +}, +"objectId": { +"$ref": "GdataObjectId", +"description": "Reference to a TI Blob, set if reference_type is BIGSTORE_REF." +}, +"path": { +"description": "Path to the data, set if reference_type is PATH", +"type": "string" +}, +"referenceType": { +"description": "Describes what the field reference contains.", +"enum": [ +"PATH", +"BLOB_REF", +"INLINE", +"BIGSTORE_REF", +"COSMO_BINARY_REFERENCE" +], +"enumDescriptions": [ +"Reference contains a GFS path or a local path.", +"Reference points to a blobstore object. This could be either a v1 blob_ref or a v2 blobstore2_info. Clients should check blobstore2_info first, since v1 is being deprecated.", +"Data is included into this proto buffer", +"Reference points to a bigstore object", +"Indicates the data is stored in cosmo_binary_reference." +], +"type": "string" +}, +"sha1Hash": { +"description": "SHA-1 hash for the payload.", +"format": "byte", +"type": "string" +} +}, +"type": "object" +}, +"GdataContentTypeInfo": { +"description": "Detailed Content-Type information from Scotty. The Content-Type of the media will typically be filled in by the header or Scotty's best_guess, but this extended information provides the backend with more information so that it can make a better decision if needed. This is only used on media upload requests from Scotty.", +"id": "GdataContentTypeInfo", +"properties": { +"bestGuess": { +"description": "Scotty's best guess of what the content type of the file is.", +"type": "string" +}, +"fromBytes": { +"description": "The content type of the file derived by looking at specific bytes (i.e. \"magic bytes\") of the actual file.", +"type": "string" +}, +"fromFileName": { +"description": "The content type of the file derived from the file extension of the original file name used by the client.", +"type": "string" +}, +"fromHeader": { +"description": "The content type of the file as specified in the request headers, multipart headers, or RUPIO start request.", +"type": "string" +}, +"fromUrlPath": { +"description": "The content type of the file derived from the file extension of the URL path. The URL path is assumed to represent a file name (which is typically only true for agents that are providing a REST API).", +"type": "string" +} +}, +"type": "object" +}, +"GdataDiffChecksumsResponse": { +"description": "Backend response for a Diff get checksums response. For details on the Scotty Diff protocol, visit http://go/scotty-diff-protocol.", +"id": "GdataDiffChecksumsResponse", +"properties": { +"checksumsLocation": { +"$ref": "GdataCompositeMedia", +"description": "Exactly one of these fields must be populated. If checksums_location is filled, the server will return the corresponding contents to the user. If object_location is filled, the server will calculate the checksums based on the content there and return that to the user. For details on the format of the checksums, see http://go/scotty-diff-protocol." +}, +"chunkSizeBytes": { +"description": "The chunk size of checksums. Must be a multiple of 256KB.", +"format": "int64", +"type": "string" +}, +"objectLocation": { +"$ref": "GdataCompositeMedia", +"description": "If set, calculate the checksums based on the contents and return them to the caller." +}, +"objectSizeBytes": { +"description": "The total size of the server object.", +"format": "int64", +"type": "string" +}, +"objectVersion": { +"description": "The object version of the object the checksums are being returned for.", +"type": "string" +} +}, +"type": "object" +}, +"GdataDiffDownloadResponse": { +"description": "Backend response for a Diff download response. For details on the Scotty Diff protocol, visit http://go/scotty-diff-protocol.", +"id": "GdataDiffDownloadResponse", +"properties": { +"objectLocation": { +"$ref": "GdataCompositeMedia", +"description": "The original object location." +} +}, +"type": "object" +}, +"GdataDiffUploadRequest": { +"description": "A Diff upload request. For details on the Scotty Diff protocol, visit http://go/scotty-diff-protocol.", +"id": "GdataDiffUploadRequest", +"properties": { +"checksumsInfo": { +"$ref": "GdataCompositeMedia", +"description": "The location of the checksums for the new object. Agents must clone the object located here, as the upload server will delete the contents once a response is received. For details on the format of the checksums, see http://go/scotty-diff-protocol." +}, +"objectInfo": { +"$ref": "GdataCompositeMedia", +"description": "The location of the new object. Agents must clone the object located here, as the upload server will delete the contents once a response is received." +}, +"objectVersion": { +"description": "The object version of the object that is the base version the incoming diff script will be applied to. This field will always be filled in.", +"type": "string" +} +}, +"type": "object" +}, +"GdataDiffUploadResponse": { +"description": "Backend response for a Diff upload request. For details on the Scotty Diff protocol, visit http://go/scotty-diff-protocol.", +"id": "GdataDiffUploadResponse", +"properties": { +"objectVersion": { +"description": "The object version of the object at the server. Must be included in the end notification response. The version in the end notification response must correspond to the new version of the object that is now stored at the server, after the upload.", +"type": "string" +}, +"originalObject": { +"$ref": "GdataCompositeMedia", +"description": "The location of the original file for a diff upload request. Must be filled in if responding to an upload start notification." +} +}, +"type": "object" +}, +"GdataDiffVersionResponse": { +"description": "Backend response for a Diff get version response. For details on the Scotty Diff protocol, visit http://go/scotty-diff-protocol.", +"id": "GdataDiffVersionResponse", +"properties": { +"objectSizeBytes": { +"description": "The total size of the server object.", +"format": "int64", +"type": "string" +}, +"objectVersion": { +"description": "The version of the object stored at the server.", +"type": "string" +} +}, +"type": "object" +}, +"GdataDownloadParameters": { +"description": "Parameters specific to media downloads.", +"id": "GdataDownloadParameters", +"properties": { +"allowGzipCompression": { +"description": "A boolean to be returned in the response to Scotty. Allows/disallows gzip encoding of the payload content when the server thinks it's advantageous (hence, does not guarantee compression) which allows Scotty to GZip the response to the client.", +"type": "boolean" +}, +"ignoreRange": { +"description": "Determining whether or not Apiary should skip the inclusion of any Content-Range header on its response to Scotty.", +"type": "boolean" +} +}, +"type": "object" +}, +"GdataMedia": { +"description": "A reference to data stored on the filesystem, on GFS or in blobstore.", +"id": "GdataMedia", +"properties": { +"algorithm": { +"deprecated": true, +"description": "Deprecated, use one of explicit hash type fields instead. Algorithm used for calculating the hash. As of 2011/01/21, \"MD5\" is the only possible value for this field. New values may be added at any time.", +"type": "string" +}, +"bigstoreObjectRef": { +"deprecated": true, +"description": "Use object_id instead.", +"format": "byte", +"type": "string" +}, +"blobRef": { +"deprecated": true, +"description": "Blobstore v1 reference, set if reference_type is BLOBSTORE_REF This should be the byte representation of a blobstore.BlobRef. Since Blobstore is deprecating v1, use blobstore2_info instead. For now, any v2 blob will also be represented in this field as v1 BlobRef.", +"format": "byte", +"type": "string" +}, +"blobstore2Info": { +"$ref": "GdataBlobstore2Info", +"description": "Blobstore v2 info, set if reference_type is BLOBSTORE_REF and it refers to a v2 blob." +}, +"compositeMedia": { +"description": "A composite media composed of one or more media objects, set if reference_type is COMPOSITE_MEDIA. The media length field must be set to the sum of the lengths of all composite media objects. Note: All composite media must have length specified.", +"items": { +"$ref": "GdataCompositeMedia" +}, +"type": "array" +}, +"contentType": { +"description": "MIME type of the data", +"type": "string" +}, +"contentTypeInfo": { +"$ref": "GdataContentTypeInfo", +"description": "Extended content type information provided for Scotty uploads." +}, +"cosmoBinaryReference": { +"description": "A binary data reference for a media download. Serves as a technology-agnostic binary reference in some Google infrastructure. This value is a serialized storage_cosmo.BinaryReference proto. Storing it as bytes is a hack to get around the fact that the cosmo proto (as well as others it includes) doesn't support JavaScript. This prevents us from including the actual type of this field.", +"format": "byte", +"type": "string" +}, +"crc32cHash": { +"description": "For Scotty Uploads: Scotty-provided hashes for uploads For Scotty Downloads: (WARNING: DO NOT USE WITHOUT PERMISSION FROM THE SCOTTY TEAM.) A Hash provided by the agent to be used to verify the data being downloaded. Currently only supported for inline payloads. Further, only crc32c_hash is currently supported.", +"format": "uint32", +"type": "integer" +}, +"diffChecksumsResponse": { +"$ref": "GdataDiffChecksumsResponse", +"description": "Set if reference_type is DIFF_CHECKSUMS_RESPONSE." +}, +"diffDownloadResponse": { +"$ref": "GdataDiffDownloadResponse", +"description": "Set if reference_type is DIFF_DOWNLOAD_RESPONSE." +}, +"diffUploadRequest": { +"$ref": "GdataDiffUploadRequest", +"description": "Set if reference_type is DIFF_UPLOAD_REQUEST." +}, +"diffUploadResponse": { +"$ref": "GdataDiffUploadResponse", +"description": "Set if reference_type is DIFF_UPLOAD_RESPONSE." +}, +"diffVersionResponse": { +"$ref": "GdataDiffVersionResponse", +"description": "Set if reference_type is DIFF_VERSION_RESPONSE." +}, +"downloadParameters": { +"$ref": "GdataDownloadParameters", +"description": "Parameters for a media download." +}, +"filename": { +"description": "Original file name", +"type": "string" +}, +"hash": { +"deprecated": true, +"description": "Deprecated, use one of explicit hash type fields instead. These two hash related fields will only be populated on Scotty based media uploads and will contain the content of the hash group in the NotificationRequest: http://cs/#google3/blobstore2/api/scotty/service/proto/upload_listener.proto&q=class:Hash Hex encoded hash value of the uploaded media.", +"type": "string" +}, +"hashVerified": { +"description": "For Scotty uploads only. If a user sends a hash code and the backend has requested that Scotty verify the upload against the client hash, Scotty will perform the check on behalf of the backend and will reject it if the hashes don't match. This is set to true if Scotty performed this verification.", +"type": "boolean" +}, +"inline": { +"description": "Media data, set if reference_type is INLINE", +"format": "byte", +"type": "string" +}, +"isPotentialRetry": { +"description": "|is_potential_retry| is set false only when Scotty is certain that it has not sent the request before. When a client resumes an upload, this field must be set true in agent calls, because Scotty cannot be certain that it has never sent the request before due to potential failure in the session state persistence.", +"type": "boolean" +}, +"length": { +"description": "Size of the data, in bytes", +"format": "int64", +"type": "string" +}, +"md5Hash": { +"description": "Scotty-provided MD5 hash for an upload.", +"format": "byte", +"type": "string" +}, +"mediaId": { +"description": "Media id to forward to the operation GetMedia. Can be set if reference_type is GET_MEDIA.", +"format": "byte", +"type": "string" +}, +"objectId": { +"$ref": "GdataObjectId", +"description": "Reference to a TI Blob, set if reference_type is BIGSTORE_REF." +}, +"path": { +"description": "Path to the data, set if reference_type is PATH", +"type": "string" +}, +"referenceType": { +"description": "Describes what the field reference contains.", +"enum": [ +"PATH", +"BLOB_REF", +"INLINE", +"GET_MEDIA", +"COMPOSITE_MEDIA", +"BIGSTORE_REF", +"DIFF_VERSION_RESPONSE", +"DIFF_CHECKSUMS_RESPONSE", +"DIFF_DOWNLOAD_RESPONSE", +"DIFF_UPLOAD_REQUEST", +"DIFF_UPLOAD_RESPONSE", +"COSMO_BINARY_REFERENCE", +"ARBITRARY_BYTES" +], +"enumDescriptions": [ +"Reference contains a GFS path or a local path.", +"Reference points to a blobstore object. This could be either a v1 blob_ref or a v2 blobstore2_info. Clients should check blobstore2_info first, since v1 is being deprecated.", +"Data is included into this proto buffer", +"Data should be accessed from the current service using the operation GetMedia.", +"The content for this media object is stored across multiple partial media objects under the composite_media field.", +"Reference points to a bigstore object", +"Indicates the data is stored in diff_version_response.", +"Indicates the data is stored in diff_checksums_response.", +"Indicates the data is stored in diff_download_response.", +"Indicates the data is stored in diff_upload_request.", +"Indicates the data is stored in diff_upload_response.", +"Indicates the data is stored in cosmo_binary_reference.", +"Informs Scotty to generate a response payload with the size specified in the length field. The contents of the payload are generated by Scotty and are undefined. This is useful for testing download speeds between the user and Scotty without involving a real payload source. Note: range is not supported when using arbitrary_bytes." +], +"type": "string" +}, +"sha1Hash": { +"description": "Scotty-provided SHA1 hash for an upload.", +"format": "byte", +"type": "string" +}, +"sha256Hash": { +"description": "Scotty-provided SHA256 hash for an upload.", +"format": "byte", +"type": "string" +}, +"timestamp": { +"description": "Time at which the media data was last updated, in milliseconds since UNIX epoch", +"format": "uint64", +"type": "string" +}, +"token": { +"description": "A unique fingerprint/version id for the media data", +"type": "string" +} +}, +"type": "object" +}, +"GdataObjectId": { +"description": "This is a copy of the tech.blob.ObjectId proto, which could not be used directly here due to transitive closure issues with JavaScript support; see http://b/8801763.", +"id": "GdataObjectId", +"properties": { +"bucketName": { +"description": "The name of the bucket to which this object belongs.", +"type": "string" +}, +"generation": { +"description": "Generation of the object. Generations are monotonically increasing across writes, allowing them to be be compared to determine which generation is newer. If this is omitted in a request, then you are requesting the live object. See http://go/bigstore-versions", +"format": "int64", +"type": "string" +}, +"objectName": { +"description": "The name of the object.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleFirebaseAppdistroV1AabInfo": { +"description": "Android App Bundle (AAB) information for a Firebase app.", +"id": "GoogleFirebaseAppdistroV1AabInfo", +"properties": { +"integrationState": { +"description": "App bundle integration state. Only valid for android apps.", +"enum": [ +"AAB_INTEGRATION_STATE_UNSPECIFIED", +"INTEGRATED", +"PLAY_ACCOUNT_NOT_LINKED", +"NO_APP_WITH_GIVEN_BUNDLE_ID_IN_PLAY_ACCOUNT", +"APP_NOT_PUBLISHED", +"AAB_STATE_UNAVAILABLE", +"PLAY_IAS_TERMS_NOT_ACCEPTED" +], +"enumDescriptions": [ +"Aab integration state unspecified", +"App can receive app bundle uploads", +"Firebase project is not linked to a Play developer account", +"There is no app in linked Play developer account with the same bundle id", +"The app in Play developer account is not in a published state", +"Play App status is unavailable", +"Play IAS terms not accepted" +], +"type": "string" +}, +"name": { +"description": "The name of the `AabInfo` resource. Format: `projects/{project_number}/apps/{app}/aabInfo`", +"type": "string" +}, +"testCertificate": { +"$ref": "GoogleFirebaseAppdistroV1TestCertificate", +"description": "App bundle test certificate generated for the app. Set after the first app bundle is uploaded for this app." +} +}, +"type": "object" +}, +"GoogleFirebaseAppdistroV1BatchAddTestersRequest": { +"description": "The Request message for batch adding testers", +"id": "GoogleFirebaseAppdistroV1BatchAddTestersRequest", +"properties": { +"emails": { +"description": "Required. The email addresses of the tester resources to create. A maximum of 999 and a minimum of 1 tester can be created in a batch.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleFirebaseAppdistroV1BatchAddTestersResponse": { +"description": "The Response message for `BatchAddTesters`.", +"id": "GoogleFirebaseAppdistroV1BatchAddTestersResponse", +"properties": { +"testers": { +"description": "The testers which are created and/or already exist", +"items": { +"$ref": "GoogleFirebaseAppdistroV1Tester" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleFirebaseAppdistroV1BatchDeleteReleasesRequest": { +"description": "The request message for `BatchDeleteReleases`.", +"id": "GoogleFirebaseAppdistroV1BatchDeleteReleasesRequest", +"properties": { +"names": { +"description": "Required. The names of the release resources to delete. Format: `projects/{project_number}/apps/{app}/releases/{release}` A maximum of 100 releases can be deleted per request.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleFirebaseAppdistroV1BatchJoinGroupRequest": { +"description": "The request message for `BatchJoinGroup`", +"id": "GoogleFirebaseAppdistroV1BatchJoinGroupRequest", +"properties": { +"createMissingTesters": { +"description": "Indicates whether to create tester resources based on `emails` if they don't exist yet.", +"type": "boolean" +}, +"emails": { +"description": "Required. The emails of the testers to be added to the group. A maximum of 999 and a minimum of 1 tester can be created in a batch.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleFirebaseAppdistroV1BatchLeaveGroupRequest": { +"description": "Request message for `BatchLeaveGroup`", +"id": "GoogleFirebaseAppdistroV1BatchLeaveGroupRequest", +"properties": { +"emails": { +"description": "Required. The email addresses of the testers to be removed from the group. A maximum of 999 and a minimum of 1 testers can be removed in a batch.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleFirebaseAppdistroV1BatchRemoveTestersRequest": { +"description": "The request message for `BatchRemoveTesters`.", +"id": "GoogleFirebaseAppdistroV1BatchRemoveTestersRequest", +"properties": { +"emails": { +"description": "Required. The email addresses of the tester resources to removed. A maximum of 999 and a minimum of 1 testers can be deleted in a batch.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleFirebaseAppdistroV1BatchRemoveTestersResponse": { +"description": "The response message for `BatchRemoveTesters`", +"id": "GoogleFirebaseAppdistroV1BatchRemoveTestersResponse", +"properties": { +"emails": { +"description": "List of deleted tester emails", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleFirebaseAppdistroV1DistributeReleaseRequest": { +"description": "The request message for `DistributeRelease`.", +"id": "GoogleFirebaseAppdistroV1DistributeReleaseRequest", +"properties": { +"groupAliases": { +"description": "Optional. A list of group aliases (IDs) to be given access to this release. A combined maximum of 999 `testerEmails` and `groupAliases` can be specified in a single request.", +"items": { +"type": "string" +}, +"type": "array" +}, +"testerEmails": { +"description": "Optional. A list of tester email addresses to be given access to this release. A combined maximum of 999 `testerEmails` and `groupAliases` can be specified in a single request.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleFirebaseAppdistroV1DistributeReleaseResponse": { +"description": "The response message for `DistributeRelease`.", +"id": "GoogleFirebaseAppdistroV1DistributeReleaseResponse", +"properties": {}, +"type": "object" +}, +"GoogleFirebaseAppdistroV1FeedbackReport": { +"description": "A feedback report submitted by a tester for a release.", +"id": "GoogleFirebaseAppdistroV1FeedbackReport", +"properties": { +"createTime": { +"description": "Output only. The time when the feedback report was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"firebaseConsoleUri": { +"description": "Output only. A link to the Firebase console displaying the feedback report.", +"readOnly": true, +"type": "string" +}, +"name": { +"description": "The name of the feedback report resource. Format: `projects/{project_number}/apps/{app}/releases/{release}/feedbackReports/{feedback_report}`", +"type": "string" +}, +"screenshotUri": { +"description": "Output only. A signed link (which expires in one hour) that lets you directly download the screenshot.", +"readOnly": true, +"type": "string" +}, +"tester": { +"description": "Output only. The resource name of the tester who submitted the feedback report.", +"readOnly": true, +"type": "string" +}, +"text": { +"description": "Output only. The text of the feedback report.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleFirebaseAppdistroV1Group": { +"description": "A group which can contain testers. A group can be invited to test apps in a Firebase project.", +"id": "GoogleFirebaseAppdistroV1Group", +"properties": { +"displayName": { +"description": "Required. The display name of the group.", +"type": "string" +}, +"inviteLinkCount": { +"description": "Output only. The number of invite links for this group.", +"format": "int32", +"readOnly": true, +"type": "integer" +}, +"name": { +"description": "The name of the group resource. Format: `projects/{project_number}/groups/{group_alias}`", +"type": "string" +}, +"releaseCount": { +"description": "Output only. The number of releases this group is permitted to access.", +"format": "int32", +"readOnly": true, +"type": "integer" +}, +"testerCount": { +"description": "Output only. The number of testers who are members of this group.", +"format": "int32", +"readOnly": true, +"type": "integer" +} +}, +"type": "object" +}, +"GoogleFirebaseAppdistroV1ListFeedbackReportsResponse": { +"description": "The response message for `ListFeedbackReports`.", +"id": "GoogleFirebaseAppdistroV1ListFeedbackReportsResponse", +"properties": { +"feedbackReports": { +"description": "The feedback reports", +"items": { +"$ref": "GoogleFirebaseAppdistroV1FeedbackReport" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A short-lived token, which can be sent as `pageToken` to retrieve the next page. If this field is omitted, there are no subsequent pages.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleFirebaseAppdistroV1ListGroupsResponse": { +"description": "The response message for `ListGroups`.", +"id": "GoogleFirebaseAppdistroV1ListGroupsResponse", +"properties": { +"groups": { +"description": "The groups listed.", +"items": { +"$ref": "GoogleFirebaseAppdistroV1Group" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A short-lived token, which can be sent as `pageToken` to retrieve the next page. If this field is omitted, there are no subsequent pages.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleFirebaseAppdistroV1ListReleasesResponse": { +"description": "The response message for `ListReleases`.", +"id": "GoogleFirebaseAppdistroV1ListReleasesResponse", +"properties": { +"nextPageToken": { +"description": "A short-lived token, which can be sent as `pageToken` to retrieve the next page. If this field is omitted, there are no subsequent pages.", +"type": "string" +}, +"releases": { +"description": "The releases", +"items": { +"$ref": "GoogleFirebaseAppdistroV1Release" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleFirebaseAppdistroV1ListTestersResponse": { +"description": "The response message for `ListTesters`.", +"id": "GoogleFirebaseAppdistroV1ListTestersResponse", +"properties": { +"nextPageToken": { +"description": "A short-lived token, which can be sent as `pageToken` to retrieve the next page. If this field is omitted, there are no subsequent pages.", +"type": "string" +}, +"testers": { +"description": "The testers listed.", +"items": { +"$ref": "GoogleFirebaseAppdistroV1Tester" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleFirebaseAppdistroV1Release": { +"description": "A release of a Firebase app.", +"id": "GoogleFirebaseAppdistroV1Release", +"properties": { +"binaryDownloadUri": { +"description": "Output only. A signed link (which expires in one hour) to directly download the app binary (IPA/APK/AAB) file.", +"readOnly": true, +"type": "string" +}, +"buildVersion": { +"description": "Output only. Build version of the release. For an Android release, the build version is the `versionCode`. For an iOS release, the build version is the `CFBundleVersion`.", +"readOnly": true, +"type": "string" +}, +"createTime": { +"description": "Output only. The time the release was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"displayVersion": { +"description": "Output only. Display version of the release. For an Android release, the display version is the `versionName`. For an iOS release, the display version is the `CFBundleShortVersionString`.", +"readOnly": true, +"type": "string" +}, +"expireTime": { +"description": "Output only. The time the release will expire.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"firebaseConsoleUri": { +"description": "Output only. A link to the Firebase console displaying a single release.", +"readOnly": true, +"type": "string" +}, +"name": { +"description": "The name of the release resource. Format: `projects/{project_number}/apps/{app}/releases/{release}`", +"type": "string" +}, +"releaseNotes": { +"$ref": "GoogleFirebaseAppdistroV1ReleaseNotes", +"description": "Notes of the release." +}, +"testingUri": { +"description": "Output only. A link to the release in the tester web clip or Android app that lets testers (which were granted access to the app) view release notes and install the app onto their devices.", +"readOnly": true, +"type": "string" +}, +"updateTime": { +"description": "Output only. The time the release was last updated.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleFirebaseAppdistroV1ReleaseNotes": { +"description": "Notes that belong to a release.", +"id": "GoogleFirebaseAppdistroV1ReleaseNotes", +"properties": { +"text": { +"description": "The text of the release notes.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleFirebaseAppdistroV1TestCertificate": { +"description": "App bundle test certificate", +"id": "GoogleFirebaseAppdistroV1TestCertificate", +"properties": { +"hashMd5": { +"description": "Hex string of MD5 hash of the test certificate used to resign the AAB", +"type": "string" +}, +"hashSha1": { +"description": "Hex string of SHA1 hash of the test certificate used to resign the AAB", +"type": "string" +}, +"hashSha256": { +"description": "Hex string of SHA256 hash of the test certificate used to resign the AAB", +"type": "string" +} +}, +"type": "object" +}, +"GoogleFirebaseAppdistroV1Tester": { +"description": "A person that can be invited to test apps in a Firebase project.", +"id": "GoogleFirebaseAppdistroV1Tester", +"properties": { +"displayName": { +"description": "The name of the tester associated with the Google account used to accept the tester invitation.", +"type": "string" +}, +"groups": { +"description": "The resource names of the groups this tester belongs to.", +"items": { +"type": "string" +}, +"type": "array" +}, +"lastActivityTime": { +"description": "Output only. The time the tester was last active. This is the most recent time the tester installed one of the apps. If they've never installed one or if the release no longer exists, this is the time the tester was added to the project.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"name": { +"description": "The name of the tester resource. Format: `projects/{project_number}/testers/{email_address}`", +"type": "string" +} +}, +"type": "object" +}, +"GoogleFirebaseAppdistroV1UploadReleaseMetadata": { +"description": "Operation metadata for `UploadRelease`.", +"id": "GoogleFirebaseAppdistroV1UploadReleaseMetadata", +"properties": {}, +"type": "object" +}, +"GoogleFirebaseAppdistroV1UploadReleaseRequest": { +"description": "Request message for `UploadRelease`.", +"id": "GoogleFirebaseAppdistroV1UploadReleaseRequest", +"properties": { +"blob": { +"$ref": "GdataMedia", +"description": "Binary to upload" +} +}, +"type": "object" +}, +"GoogleFirebaseAppdistroV1UploadReleaseResponse": { +"description": "Response message for `UploadRelease`.", +"id": "GoogleFirebaseAppdistroV1UploadReleaseResponse", +"properties": { +"release": { +"$ref": "GoogleFirebaseAppdistroV1Release", +"description": "Release associated with the uploaded binary." +}, +"result": { +"description": "Result of upload release.", +"enum": [ +"UPLOAD_RELEASE_RESULT_UNSPECIFIED", +"RELEASE_CREATED", +"RELEASE_UPDATED", +"RELEASE_UNMODIFIED" +], +"enumDescriptions": [ +"Upload binary result unspecified", +"Upload binary resulted in a new release", +"Upload binary updated an existing release", +"Upload binary resulted in a no-op. A release with the exact same binary already exists." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleLongrunningCancelOperationRequest": { +"description": "The request message for Operations.CancelOperation.", +"id": "GoogleLongrunningCancelOperationRequest", +"properties": {}, +"type": "object" +}, +"GoogleLongrunningListOperationsResponse": { +"description": "The response message for Operations.ListOperations.", +"id": "GoogleLongrunningListOperationsResponse", +"properties": { +"nextPageToken": { +"description": "The standard List next-page token.", +"type": "string" +}, +"operations": { +"description": "A list of operations that matches the specified filter in the request.", +"items": { +"$ref": "GoogleLongrunningOperation" +}, +"type": "array" +}, +"unreachable": { +"description": "Unordered list. Unreachable resources. Populated when the request sets `ListOperationsRequest.return_partial_success` and reads across collections. For example, when attempting to list all resources across all supported locations.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleLongrunningOperation": { +"description": "This resource represents a long-running operation that is the result of a network API call.", +"id": "GoogleLongrunningOperation", +"properties": { +"done": { +"description": "If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.", +"type": "boolean" +}, +"error": { +"$ref": "GoogleRpcStatus", +"description": "The error result of the operation in case of failure or cancellation." +}, +"metadata": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.", +"type": "object" +}, +"name": { +"description": "The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.", +"type": "string" +}, +"response": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "The normal, successful response of the operation. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.", +"type": "object" +} +}, +"type": "object" +}, +"GoogleLongrunningWaitOperationRequest": { +"description": "The request message for Operations.WaitOperation.", +"id": "GoogleLongrunningWaitOperationRequest", +"properties": { +"timeout": { +"description": "The maximum duration to wait before timing out. If left blank, the wait will be at most the time permitted by the underlying HTTP/RPC protocol. If RPC context deadline is also specified, the shorter one will be used.", +"format": "google-duration", +"type": "string" +} +}, +"type": "object" +}, +"GoogleProtobufEmpty": { +"description": "A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }", +"id": "GoogleProtobufEmpty", +"properties": {}, +"type": "object" +}, +"GoogleRpcStatus": { +"description": "The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors).", +"id": "GoogleRpcStatus", +"properties": { +"code": { +"description": "The status code, which should be an enum value of google.rpc.Code.", +"format": "int32", +"type": "integer" +}, +"details": { +"description": "A list of messages that carry the error details. There is a common set of message types for APIs to use.", +"items": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.", +"type": "string" +} +}, +"type": "object" +} +}, +"servicePath": "", +"title": "Firebase App Distribution API", +"version": "v1", +"version_module": true +} \ No newline at end of file diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/firebaseappdistribution.v1alpha.json b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/firebaseappdistribution.v1alpha.json new file mode 100644 index 0000000000000000000000000000000000000000..3ad94affd3564822ebbd47bb680b75fcaf37437b --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/firebaseappdistribution.v1alpha.json @@ -0,0 +1,2296 @@ +{ +"auth": { +"oauth2": { +"scopes": { +"https://www.googleapis.com/auth/cloud-platform": { +"description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." +} +} +} +}, +"basePath": "", +"baseUrl": "https://firebaseappdistribution.googleapis.com/", +"batchPath": "batch", +"canonicalName": "Firebase App Distribution", +"description": "", +"discoveryVersion": "v1", +"documentationLink": "https://firebase.google.com/products/app-distribution", +"fullyEncodeReservedExpansion": true, +"icons": { +"x16": "http://www.google.com/images/icons/product/search-16.gif", +"x32": "http://www.google.com/images/icons/product/search-32.gif" +}, +"id": "firebaseappdistribution:v1alpha", +"kind": "discovery#restDescription", +"mtlsRootUrl": "https://firebaseappdistribution.mtls.googleapis.com/", +"name": "firebaseappdistribution", +"ownerDomain": "google.com", +"ownerName": "Google", +"parameters": { +"$.xgafv": { +"description": "V1 error format.", +"enum": [ +"1", +"2" +], +"enumDescriptions": [ +"v1 error format", +"v2 error format" +], +"location": "query", +"type": "string" +}, +"access_token": { +"description": "OAuth access token.", +"location": "query", +"type": "string" +}, +"alt": { +"default": "json", +"description": "Data format for response.", +"enum": [ +"json", +"media", +"proto" +], +"enumDescriptions": [ +"Responses with Content-Type of application/json", +"Media download with context-dependent Content-Type", +"Responses with Content-Type of application/x-protobuf" +], +"location": "query", +"type": "string" +}, +"callback": { +"description": "JSONP", +"location": "query", +"type": "string" +}, +"fields": { +"description": "Selector specifying which fields to include in a partial response.", +"location": "query", +"type": "string" +}, +"key": { +"description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", +"location": "query", +"type": "string" +}, +"oauth_token": { +"description": "OAuth 2.0 token for the current user.", +"location": "query", +"type": "string" +}, +"prettyPrint": { +"default": "true", +"description": "Returns response with indentations and line breaks.", +"location": "query", +"type": "boolean" +}, +"quotaUser": { +"description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.", +"location": "query", +"type": "string" +}, +"uploadType": { +"description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", +"location": "query", +"type": "string" +}, +"upload_protocol": { +"description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", +"location": "query", +"type": "string" +} +}, +"protocol": "rest", +"resources": { +"apps": { +"methods": { +"get": { +"description": "Get the app, if it exists", +"flatPath": "v1alpha/apps/{mobilesdkAppId}", +"httpMethod": "GET", +"id": "firebaseappdistribution.apps.get", +"parameterOrder": [ +"mobilesdkAppId" +], +"parameters": { +"appView": { +"description": "App view. When unset or set to BASIC, returns an App with everything set except for aab_state. When set to FULL, returns an App with aab_state set.", +"enum": [ +"APP_VIEW_UNSPECIFIED", +"BASIC", +"FULL" +], +"enumDescriptions": [ +"The default / unset value. The API will default to the BASIC view.", +"Include everything except aab_state.", +"Include everything." +], +"location": "query", +"type": "string" +}, +"mobilesdkAppId": { +"description": "Unique id for a Firebase app of the format: {version}:{project_number}:{platform}:{hash(bundle_id)} Example: 1:581234567376:android:aa0a3c7b135e90289", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v1alpha/apps/{mobilesdkAppId}", +"response": { +"$ref": "GoogleFirebaseAppdistroV1alphaApp" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"getJwt": { +"description": "Get a JWT token", +"flatPath": "v1alpha/apps/{mobilesdkAppId}/jwt", +"httpMethod": "GET", +"id": "firebaseappdistribution.apps.getJwt", +"parameterOrder": [ +"mobilesdkAppId" +], +"parameters": { +"mobilesdkAppId": { +"description": "Required. Unique id for a Firebase app of the format: {version}:{project_number}:{platform}:{hash(bundle_id)} Example: 1:581234567376:android:aa0a3c7b135e90289", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v1alpha/apps/{mobilesdkAppId}/jwt", +"response": { +"$ref": "GoogleFirebaseAppdistroV1alphaJwt" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"release_by_hash": { +"methods": { +"get": { +"description": "GET Release by binary upload hash", +"flatPath": "v1alpha/apps/{mobilesdkAppId}/release_by_hash/{uploadHash}", +"httpMethod": "GET", +"id": "firebaseappdistribution.apps.release_by_hash.get", +"parameterOrder": [ +"mobilesdkAppId", +"uploadHash" +], +"parameters": { +"mobilesdkAppId": { +"description": "Required. Unique id for a Firebase app of the format: {version}:{project_number}:{platform}:{hash(bundle_id)} Example: 1:581234567376:android:aa0a3c7b135e90289", +"location": "path", +"required": true, +"type": "string" +}, +"uploadHash": { +"description": "Required. The hash for the upload", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v1alpha/apps/{mobilesdkAppId}/release_by_hash/{uploadHash}", +"response": { +"$ref": "GoogleFirebaseAppdistroV1alphaGetReleaseByUploadHashResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"releases": { +"methods": { +"enable_access": { +"description": "Enable access on a release for testers.", +"flatPath": "v1alpha/apps/{mobilesdkAppId}/releases/{releaseId}/enable_access", +"httpMethod": "POST", +"id": "firebaseappdistribution.apps.releases.enable_access", +"parameterOrder": [ +"mobilesdkAppId", +"releaseId" +], +"parameters": { +"mobilesdkAppId": { +"description": "Required. Unique id for a Firebase app of the format: {version}:{project_number}:{platform}:{hash(bundle_id)} Example: 1:581234567376:android:aa0a3c7b135e90289", +"location": "path", +"required": true, +"type": "string" +}, +"releaseId": { +"description": "Required. Release identifier", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v1alpha/apps/{mobilesdkAppId}/releases/{releaseId}/enable_access", +"request": { +"$ref": "GoogleFirebaseAppdistroV1alphaEnableAccessOnReleaseRequest" +}, +"response": { +"$ref": "GoogleFirebaseAppdistroV1alphaEnableAccessOnReleaseResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"notes": { +"methods": { +"create": { +"description": "Create release notes on a release.", +"flatPath": "v1alpha/apps/{mobilesdkAppId}/releases/{releaseId}/notes", +"httpMethod": "POST", +"id": "firebaseappdistribution.apps.releases.notes.create", +"parameterOrder": [ +"mobilesdkAppId", +"releaseId" +], +"parameters": { +"mobilesdkAppId": { +"description": "Required. Unique id for a Firebase app of the format: {version}:{project_number}:{platform}:{hash(bundle_id)} Example: 1:581234567376:android:aa0a3c7b135e90289", +"location": "path", +"required": true, +"type": "string" +}, +"releaseId": { +"description": "Required. Release identifier", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v1alpha/apps/{mobilesdkAppId}/releases/{releaseId}/notes", +"request": { +"$ref": "GoogleFirebaseAppdistroV1alphaCreateReleaseNotesRequest" +}, +"response": { +"$ref": "GoogleFirebaseAppdistroV1alphaCreateReleaseNotesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +}, +"testers": { +"methods": { +"getTesterUdids": { +"description": "Get UDIDs of tester iOS devices in a project", +"flatPath": "v1alpha/apps/{mobilesdkAppId}/testers:getTesterUdids", +"httpMethod": "GET", +"id": "firebaseappdistribution.apps.testers.getTesterUdids", +"parameterOrder": [ +"mobilesdkAppId" +], +"parameters": { +"mobilesdkAppId": { +"description": "Unique id for a Firebase app of the format: {version}:{project_number}:{platform}:{hash(bundle_id)} Example: 1:581234567376:android:aa0a3c7b135e90289", +"location": "path", +"required": true, +"type": "string" +}, +"project": { +"description": "The name of the project, which is the parent of testers Format: `projects/{project_number}`", +"location": "query", +"type": "string" +} +}, +"path": "v1alpha/apps/{mobilesdkAppId}/testers:getTesterUdids", +"response": { +"$ref": "GoogleFirebaseAppdistroV1alphaGetTesterUdidsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"upload_status": { +"methods": { +"get": { +"description": "GET Binary upload status by token", +"flatPath": "v1alpha/apps/{mobilesdkAppId}/upload_status/{uploadToken}", +"httpMethod": "GET", +"id": "firebaseappdistribution.apps.upload_status.get", +"parameterOrder": [ +"mobilesdkAppId", +"uploadToken" +], +"parameters": { +"mobilesdkAppId": { +"description": "Required. Unique id for a Firebase app of the format: {version}:{project_number}:{platform}:{hash(bundle_id)} Example: 1:581234567376:android:aa0a3c7b135e90289", +"location": "path", +"required": true, +"type": "string" +}, +"uploadToken": { +"description": "Required. The token for the upload", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v1alpha/apps/{mobilesdkAppId}/upload_status/{uploadToken}", +"response": { +"$ref": "GoogleFirebaseAppdistroV1alphaGetUploadStatusResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +}, +"projects": { +"methods": { +"getTestQuota": { +"description": "Get information about the quota for `ReleaseTests`.", +"flatPath": "v1alpha/projects/{projectsId}/testQuota", +"httpMethod": "GET", +"id": "firebaseappdistribution.projects.getTestQuota", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the `TestQuota` resource to retrieve. Format: `projects/{project_number}/testQuota`", +"location": "path", +"pattern": "^projects/[^/]+/testQuota$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha/{+name}", +"response": { +"$ref": "GoogleFirebaseAppdistroV1alphaTestQuota" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"apps": { +"methods": { +"getTestConfig": { +"description": "Gets configuration for automated tests.", +"flatPath": "v1alpha/projects/{projectsId}/apps/{appsId}/testConfig", +"httpMethod": "GET", +"id": "firebaseappdistribution.projects.apps.getTestConfig", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the `TestConfig` resource to retrieve. Format: `projects/{project_number}/apps/{app}/testConfig`", +"location": "path", +"pattern": "^projects/[^/]+/apps/[^/]+/testConfig$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha/{+name}", +"response": { +"$ref": "GoogleFirebaseAppdistroV1alphaTestConfig" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"updateTestConfig": { +"description": "Updates automated test configuration.", +"flatPath": "v1alpha/projects/{projectsId}/apps/{appsId}/testConfig", +"httpMethod": "PATCH", +"id": "firebaseappdistribution.projects.apps.updateTestConfig", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Identifier. The name of the test configuration resource. Format: `projects/{project_number}/apps/{app}/testConfig`", +"location": "path", +"pattern": "^projects/[^/]+/apps/[^/]+/testConfig$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Optional. The list of fields to update.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1alpha/{+name}", +"request": { +"$ref": "GoogleFirebaseAppdistroV1alphaTestConfig" +}, +"response": { +"$ref": "GoogleFirebaseAppdistroV1alphaTestConfig" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"releases": { +"resources": { +"tests": { +"methods": { +"cancel": { +"description": "Abort automated test run on release.", +"flatPath": "v1alpha/projects/{projectsId}/apps/{appsId}/releases/{releasesId}/tests/{testsId}:cancel", +"httpMethod": "GET", +"id": "firebaseappdistribution.projects.apps.releases.tests.cancel", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the release test resource. Format: `projects/{project_number}/apps/{app}/releases/{release}/tests/{test}`", +"location": "path", +"pattern": "^projects/[^/]+/apps/[^/]+/releases/[^/]+/tests/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha/{+name}:cancel", +"response": { +"$ref": "GoogleFirebaseAppdistroV1alphaCancelReleaseTestResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"create": { +"description": "Run automated test(s) on release.", +"flatPath": "v1alpha/projects/{projectsId}/apps/{appsId}/releases/{releasesId}/tests", +"httpMethod": "POST", +"id": "firebaseappdistribution.projects.apps.releases.tests.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The name of the release resource, which is the parent of the test Format: `projects/{project_number}/apps/{app}/releases/{release}`", +"location": "path", +"pattern": "^projects/[^/]+/apps/[^/]+/releases/[^/]+$", +"required": true, +"type": "string" +}, +"releaseTestId": { +"description": "Optional. The ID to use for the test, which will become the final component of the test's resource name. This value should be 4-63 characters, and valid characters are /a-z-/. If it is not provided one will be automatically generated.", +"location": "query", +"type": "string" +} +}, +"path": "v1alpha/{+parent}/tests", +"request": { +"$ref": "GoogleFirebaseAppdistroV1alphaReleaseTest" +}, +"response": { +"$ref": "GoogleFirebaseAppdistroV1alphaReleaseTest" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Get results for automated test run on release.", +"flatPath": "v1alpha/projects/{projectsId}/apps/{appsId}/releases/{releasesId}/tests/{testsId}", +"httpMethod": "GET", +"id": "firebaseappdistribution.projects.apps.releases.tests.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the release test resource. Format: `projects/{project_number}/apps/{app}/releases/{release}/tests/{test}`", +"location": "path", +"pattern": "^projects/[^/]+/apps/[^/]+/releases/[^/]+/tests/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha/{+name}", +"response": { +"$ref": "GoogleFirebaseAppdistroV1alphaReleaseTest" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "List results for automated tests run on release.", +"flatPath": "v1alpha/projects/{projectsId}/apps/{appsId}/releases/{releasesId}/tests", +"httpMethod": "GET", +"id": "firebaseappdistribution.projects.apps.releases.tests.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "Optional. The maximum number of tests to return. The service may return fewer than this value.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. A page token, received from a previous `ListReleaseTests` call. Provide this to retrieve the subsequent page.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The name of the release resource, which is the parent of the tests Format: `projects/{project_number}/apps/{app}/releases/{release}`", +"location": "path", +"pattern": "^projects/[^/]+/apps/[^/]+/releases/[^/]+$", +"required": true, +"type": "string" +}, +"view": { +"description": "Optional. The requested view on the returned ReleaseTests. Defaults to the basic view.", +"enum": [ +"RELEASE_TEST_VIEW_UNSPECIFIED", +"RELEASE_TEST_VIEW_BASIC", +"RELEASE_TEST_VIEW_FULL" +], +"enumDescriptions": [ +"The default / unset value. The default view depends on the RPC.", +"Include basic metadata about the release test and its status, but not the full result details. This is the default value for ListReleaseTests.", +"Include everything." +], +"location": "query", +"type": "string" +} +}, +"path": "v1alpha/{+parent}/tests", +"response": { +"$ref": "GoogleFirebaseAppdistroV1alphaListReleaseTestsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +}, +"testCases": { +"methods": { +"batchDelete": { +"description": "Deletes multiple test cases.", +"flatPath": "v1alpha/projects/{projectsId}/apps/{appsId}/testCases:batchDelete", +"httpMethod": "POST", +"id": "firebaseappdistribution.projects.apps.testCases.batchDelete", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The parent resource of the test cases being deleted. Format: `projects/{project_number}/apps/{app}`", +"location": "path", +"pattern": "^projects/[^/]+/apps/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha/{+parent}/testCases:batchDelete", +"request": { +"$ref": "GoogleFirebaseAppdistroV1alphaBatchDeleteTestCasesRequest" +}, +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"batchUpdate": { +"description": "Updates multiple test cases.", +"flatPath": "v1alpha/projects/{projectsId}/apps/{appsId}/testCases:batchUpdate", +"httpMethod": "POST", +"id": "firebaseappdistribution.projects.apps.testCases.batchUpdate", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The parent resource of the test cases being updated. Format: `projects/{project_number}/apps/{app}`", +"location": "path", +"pattern": "^projects/[^/]+/apps/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha/{+parent}/testCases:batchUpdate", +"request": { +"$ref": "GoogleFirebaseAppdistroV1alphaBatchUpdateTestCasesRequest" +}, +"response": { +"$ref": "GoogleFirebaseAppdistroV1alphaBatchUpdateTestCasesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"clearTestCaseCache": { +"description": "Clears cached test runs for a specific test case and device(s).", +"flatPath": "v1alpha/projects/{projectsId}/apps/{appsId}/testCases/{testCasesId}:clearTestCaseCache", +"httpMethod": "POST", +"id": "firebaseappdistribution.projects.apps.testCases.clearTestCaseCache", +"parameterOrder": [ +"testCase" +], +"parameters": { +"testCase": { +"description": "Required. The name of the test case resource for which to clear the cache. Format: `projects/{project_number}/apps/{app}/testCases/{test_case}`", +"location": "path", +"pattern": "^projects/[^/]+/apps/[^/]+/testCases/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha/{+testCase}:clearTestCaseCache", +"request": { +"$ref": "GoogleFirebaseAppdistroV1alphaClearTestCaseCacheRequest" +}, +"response": { +"$ref": "GoogleFirebaseAppdistroV1alphaClearTestCaseCacheResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"create": { +"description": "Create a new test case.", +"flatPath": "v1alpha/projects/{projectsId}/apps/{appsId}/testCases", +"httpMethod": "POST", +"id": "firebaseappdistribution.projects.apps.testCases.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The parent resource where this test case will be created. Format: `projects/{project_number}/apps/{app}`", +"location": "path", +"pattern": "^projects/[^/]+/apps/[^/]+$", +"required": true, +"type": "string" +}, +"testCaseId": { +"description": "Optional. The ID to use for the test case, which will become the final component of the test case's resource name. This value should be 4-63 characters, and valid characters are /a-z-/.", +"location": "query", +"type": "string" +} +}, +"path": "v1alpha/{+parent}/testCases", +"request": { +"$ref": "GoogleFirebaseAppdistroV1alphaTestCase" +}, +"response": { +"$ref": "GoogleFirebaseAppdistroV1alphaTestCase" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Delete a test case.", +"flatPath": "v1alpha/projects/{projectsId}/apps/{appsId}/testCases/{testCasesId}", +"httpMethod": "DELETE", +"id": "firebaseappdistribution.projects.apps.testCases.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the test case resource to delete. Format: `projects/{project_number}/apps/{app}/testCases/{test_case}`", +"location": "path", +"pattern": "^projects/[^/]+/apps/[^/]+/testCases/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha/{+name}", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Get a test case.", +"flatPath": "v1alpha/projects/{projectsId}/apps/{appsId}/testCases/{testCasesId}", +"httpMethod": "GET", +"id": "firebaseappdistribution.projects.apps.testCases.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the test case resource to retrieve. Format: `projects/{project_number}/apps/{app}/testCases/{test_case}`", +"location": "path", +"pattern": "^projects/[^/]+/apps/[^/]+/testCases/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha/{+name}", +"response": { +"$ref": "GoogleFirebaseAppdistroV1alphaTestCase" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "List test cases.", +"flatPath": "v1alpha/projects/{projectsId}/apps/{appsId}/testCases", +"httpMethod": "GET", +"id": "firebaseappdistribution.projects.apps.testCases.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "Optional. The maximum number of test cases to return. The service may return fewer than this value. If unspecified, at most 50 test cases will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. A page token, received from a previous `ListTestCases` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListTestCases` must match the call that provided the page token.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent resource from which to list test cases. Format: `projects/{project_number}/apps/{app}`", +"location": "path", +"pattern": "^projects/[^/]+/apps/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha/{+parent}/testCases", +"response": { +"$ref": "GoogleFirebaseAppdistroV1alphaListTestCasesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Update a test case.", +"flatPath": "v1alpha/projects/{projectsId}/apps/{appsId}/testCases/{testCasesId}", +"httpMethod": "PATCH", +"id": "firebaseappdistribution.projects.apps.testCases.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"allowMissing": { +"description": "Optional. If set to true, and the test case is not found, a new test case will be created.", +"location": "query", +"type": "boolean" +}, +"name": { +"description": "Identifier. The name of the test case resource. Format: `projects/{project_number}/apps/{app}/testCases/{test_case}`", +"location": "path", +"pattern": "^projects/[^/]+/apps/[^/]+/testCases/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha/{+name}", +"request": { +"$ref": "GoogleFirebaseAppdistroV1alphaTestCase" +}, +"response": { +"$ref": "GoogleFirebaseAppdistroV1alphaTestCase" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +}, +"testers": { +"methods": { +"getUdids": { +"description": "Get UDIDs of tester iOS devices in a project", +"flatPath": "v1alpha/projects/{projectsId}/testers:udids", +"httpMethod": "GET", +"id": "firebaseappdistribution.projects.testers.getUdids", +"parameterOrder": [ +"project" +], +"parameters": { +"mobilesdkAppId": { +"description": "Unique id for a Firebase app of the format: {version}:{project_number}:{platform}:{hash(bundle_id)} Example: 1:581234567376:android:aa0a3c7b135e90289", +"location": "query", +"type": "string" +}, +"project": { +"description": "The name of the project, which is the parent of testers Format: `projects/{project_number}`", +"location": "path", +"pattern": "^projects/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha/{+project}/testers:udids", +"response": { +"$ref": "GoogleFirebaseAppdistroV1alphaGetTesterUdidsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +} +}, +"revision": "20251203", +"rootUrl": "https://firebaseappdistribution.googleapis.com/", +"schemas": { +"AndroidxCrawlerOutputPoint": { +"description": "Point for describing bounding boxes tap locations Top left is 0,0", +"id": "AndroidxCrawlerOutputPoint", +"properties": { +"xCoordinate": { +"format": "int32", +"type": "integer" +}, +"yCoordinate": { +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"AndroidxCrawlerOutputRectangle": { +"description": "Rectangle for describing bounding boxes", +"id": "AndroidxCrawlerOutputRectangle", +"properties": { +"bottom": { +"format": "int32", +"type": "integer" +}, +"left": { +"format": "int32", +"type": "integer" +}, +"right": { +"format": "int32", +"type": "integer" +}, +"top": { +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"GoogleFirebaseAppdistroV1Release": { +"description": "A release of a Firebase app.", +"id": "GoogleFirebaseAppdistroV1Release", +"properties": { +"binaryDownloadUri": { +"description": "Output only. A signed link (which expires in one hour) to directly download the app binary (IPA/APK/AAB) file.", +"readOnly": true, +"type": "string" +}, +"buildVersion": { +"description": "Output only. Build version of the release. For an Android release, the build version is the `versionCode`. For an iOS release, the build version is the `CFBundleVersion`.", +"readOnly": true, +"type": "string" +}, +"createTime": { +"description": "Output only. The time the release was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"displayVersion": { +"description": "Output only. Display version of the release. For an Android release, the display version is the `versionName`. For an iOS release, the display version is the `CFBundleShortVersionString`.", +"readOnly": true, +"type": "string" +}, +"expireTime": { +"description": "Output only. The time the release will expire.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"firebaseConsoleUri": { +"description": "Output only. A link to the Firebase console displaying a single release.", +"readOnly": true, +"type": "string" +}, +"name": { +"description": "The name of the release resource. Format: `projects/{project_number}/apps/{app}/releases/{release}`", +"type": "string" +}, +"releaseNotes": { +"$ref": "GoogleFirebaseAppdistroV1ReleaseNotes", +"description": "Notes of the release." +}, +"testingUri": { +"description": "Output only. A link to the release in the tester web clip or Android app that lets testers (which were granted access to the app) view release notes and install the app onto their devices.", +"readOnly": true, +"type": "string" +}, +"updateTime": { +"description": "Output only. The time the release was last updated.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleFirebaseAppdistroV1ReleaseNotes": { +"description": "Notes that belong to a release.", +"id": "GoogleFirebaseAppdistroV1ReleaseNotes", +"properties": { +"text": { +"description": "The text of the release notes.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleFirebaseAppdistroV1UploadReleaseMetadata": { +"description": "Operation metadata for `UploadRelease`.", +"id": "GoogleFirebaseAppdistroV1UploadReleaseMetadata", +"properties": {}, +"type": "object" +}, +"GoogleFirebaseAppdistroV1UploadReleaseResponse": { +"description": "Response message for `UploadRelease`.", +"id": "GoogleFirebaseAppdistroV1UploadReleaseResponse", +"properties": { +"release": { +"$ref": "GoogleFirebaseAppdistroV1Release", +"description": "Release associated with the uploaded binary." +}, +"result": { +"description": "Result of upload release.", +"enum": [ +"UPLOAD_RELEASE_RESULT_UNSPECIFIED", +"RELEASE_CREATED", +"RELEASE_UPDATED", +"RELEASE_UNMODIFIED" +], +"enumDescriptions": [ +"Upload binary result unspecified", +"Upload binary resulted in a new release", +"Upload binary updated an existing release", +"Upload binary resulted in a no-op. A release with the exact same binary already exists." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleFirebaseAppdistroV1alphaAabCertificate": { +"description": "App bundle test certificate", +"id": "GoogleFirebaseAppdistroV1alphaAabCertificate", +"properties": { +"certificateHashMd5": { +"description": "MD5 hash of the certificate used to resign the AAB", +"type": "string" +}, +"certificateHashSha1": { +"description": "SHA1 hash of the certificate used to resign the AAB", +"type": "string" +}, +"certificateHashSha256": { +"description": "SHA256 hash of the certificate used to resign the AAB", +"type": "string" +} +}, +"type": "object" +}, +"GoogleFirebaseAppdistroV1alphaAiInstructions": { +"id": "GoogleFirebaseAppdistroV1alphaAiInstructions", +"properties": { +"steps": { +"description": "Required. Steps to be accomplished by the AI", +"items": { +"$ref": "GoogleFirebaseAppdistroV1alphaAiStep" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleFirebaseAppdistroV1alphaAiStep": { +"description": "A step to be accomplished by the AI", +"id": "GoogleFirebaseAppdistroV1alphaAiStep", +"properties": { +"assertion": { +"description": "An assertion to be checked by the AI", +"type": "string" +}, +"goal": { +"description": "A goal to be accomplished by the AI", +"type": "string" +}, +"hint": { +"description": "Optional. Hint text containing suggestions to help the agent accomplish the goal", +"type": "string" +}, +"successCriteria": { +"description": "Optional. A description of criteria the agent should use to determine if the goal has been successfully completed", +"type": "string" +}, +"testCase": { +"description": "Output only. The test case that contained this step. Note: The test case may have changed or been deleted since this step was created. Format: `projects/{project_number}/apps/{app}/testCases/{test_case}`", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleFirebaseAppdistroV1alphaAiStepResult": { +"description": "Captures the results of an AiStep", +"id": "GoogleFirebaseAppdistroV1alphaAiStepResult", +"properties": { +"assertionDetails": { +"$ref": "GoogleFirebaseAppdistroV1alphaAssertionDetails", +"description": "Output only. Details for an assertion step.", +"readOnly": true +}, +"goalDetails": { +"$ref": "GoogleFirebaseAppdistroV1alphaGoalDetails", +"description": "Output only. Details for a goal step.", +"readOnly": true +}, +"state": { +"description": "Output only. The current state of the step", +"enum": [ +"STEP_STATE_UNSPECIFIED", +"IN_PROGRESS", +"PASSED", +"FAILED", +"TIMED_OUT", +"GOAL_ACTION_LIMIT_REACHED" +], +"enumDescriptions": [ +"Step state unspecified", +"The step is in progress", +"The step has completed successfully", +"The step has failed", +"The test timed out during this step", +"The number of actions needed to reach the goal exceeded its limit" +], +"readOnly": true, +"type": "string" +}, +"step": { +"$ref": "GoogleFirebaseAppdistroV1alphaAiStep", +"description": "Required. The step performed by the AI" +} +}, +"type": "object" +}, +"GoogleFirebaseAppdistroV1alphaApp": { +"description": "An app.", +"id": "GoogleFirebaseAppdistroV1alphaApp", +"properties": { +"aabCertificate": { +"$ref": "GoogleFirebaseAppdistroV1alphaAabCertificate", +"description": "App bundle test certificate generated for the app." +}, +"aabState": { +"description": "App bundle state. Only valid for android apps. The app_view field in the request must be set to FULL in order for this to be populated.", +"enum": [ +"AAB_STATE_UNSPECIFIED", +"ACTIVE", +"PLAY_ACCOUNT_NOT_LINKED", +"NO_APP_WITH_GIVEN_BUNDLE_ID_IN_PLAY_ACCOUNT", +"APP_NOT_PUBLISHED", +"AAB_STATE_UNAVAILABLE", +"PLAY_IAS_TERMS_NOT_ACCEPTED" +], +"enumDescriptions": [ +"Aab state unspecified", +"App can receive app bundle uploads", +"Firebase project is not linked to a Play developer account", +"There is no app in linked Play developer account with the same bundle id", +"The app in Play developer account is not in a published state", +"Play App status is unavailable", +"Play IAS terms not accepted" +], +"type": "string" +}, +"appId": { +"description": "Firebase gmp app id", +"type": "string" +}, +"bundleId": { +"description": "Bundle identifier", +"type": "string" +}, +"contactEmail": { +"description": "Developer contact email for testers to reach out to about privacy or support issues.", +"type": "string" +}, +"platform": { +"description": "iOS or Android", +"type": "string" +}, +"projectNumber": { +"description": "Project number of the Firebase project, for example 300830567303.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleFirebaseAppdistroV1alphaAppCrash": { +"description": "An app crash that occurred during an automated test.", +"id": "GoogleFirebaseAppdistroV1alphaAppCrash", +"properties": { +"message": { +"description": "Output only. The message associated with the crash.", +"readOnly": true, +"type": "string" +}, +"stackTrace": { +"description": "Output only. The raw stack trace.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleFirebaseAppdistroV1alphaAssertionDetails": { +"description": "Details for an assertion step.", +"id": "GoogleFirebaseAppdistroV1alphaAssertionDetails", +"properties": { +"explanation": { +"description": "Output only. An explanation justifying the assertion result.", +"readOnly": true, +"type": "string" +}, +"result": { +"description": "Output only. The result of the assertion.", +"readOnly": true, +"type": "boolean" +}, +"screenshot": { +"$ref": "GoogleFirebaseAppdistroV1alphaScreenshot", +"description": "Output only. The screenshot used in the context of this assertion.", +"readOnly": true +} +}, +"type": "object" +}, +"GoogleFirebaseAppdistroV1alphaBatchDeleteTestCasesRequest": { +"description": "The request message for `BatchDeleteTestCase`.", +"id": "GoogleFirebaseAppdistroV1alphaBatchDeleteTestCasesRequest", +"properties": { +"names": { +"description": "Required. The name of the test cases to delete. A maximum number of 1000 test cases can be deleted in one batch Format: `projects/{project_number}/apps/{app}/testCases/{test_case}`", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleFirebaseAppdistroV1alphaBatchUpdateTestCasesRequest": { +"description": "The request message for `BatchUpdateTestCase`.", +"id": "GoogleFirebaseAppdistroV1alphaBatchUpdateTestCasesRequest", +"properties": { +"requests": { +"description": "Required. The update requests. A maximum number of 1000 test cases can be updated in one batch", +"items": { +"$ref": "GoogleFirebaseAppdistroV1alphaUpdateTestCaseRequest" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleFirebaseAppdistroV1alphaBatchUpdateTestCasesResponse": { +"description": "The response message for `BatchUpdateTestCase`.", +"id": "GoogleFirebaseAppdistroV1alphaBatchUpdateTestCasesResponse", +"properties": { +"testCases": { +"description": "The updated test cases.", +"items": { +"$ref": "GoogleFirebaseAppdistroV1alphaTestCase" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleFirebaseAppdistroV1alphaCancelReleaseTestResponse": { +"description": "The (empty) response message for `CancelReleaseTest`.", +"id": "GoogleFirebaseAppdistroV1alphaCancelReleaseTestResponse", +"properties": {}, +"type": "object" +}, +"GoogleFirebaseAppdistroV1alphaClearTestCaseCacheRequest": { +"description": "Request message for `ClearTestCaseCache`.", +"id": "GoogleFirebaseAppdistroV1alphaClearTestCaseCacheRequest", +"properties": { +"testDevices": { +"description": "Optional. The list of devices for which to clear the cache. If not present, clear all of them.", +"items": { +"$ref": "GoogleFirebaseAppdistroV1alphaTestDevice" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleFirebaseAppdistroV1alphaClearTestCaseCacheResponse": { +"description": "Response empty (google.protobuf.Empty) message for `ClearTestCaseCache`", +"id": "GoogleFirebaseAppdistroV1alphaClearTestCaseCacheResponse", +"properties": {}, +"type": "object" +}, +"GoogleFirebaseAppdistroV1alphaCreateReleaseNotesRequest": { +"description": "The request message for `CreateReleaseNotes`.", +"id": "GoogleFirebaseAppdistroV1alphaCreateReleaseNotesRequest", +"properties": { +"releaseNotes": { +"$ref": "GoogleFirebaseAppdistroV1alphaReleaseNotes", +"description": "The actual release notes body from the user" +} +}, +"type": "object" +}, +"GoogleFirebaseAppdistroV1alphaCreateReleaseNotesResponse": { +"description": "The response message for `CreateReleaseNotes`.", +"id": "GoogleFirebaseAppdistroV1alphaCreateReleaseNotesResponse", +"properties": {}, +"type": "object" +}, +"GoogleFirebaseAppdistroV1alphaDeviceAction": { +"description": "A high level action taken by the AI on the device, potentially involving multiple taps, text entries, waits, etc.", +"id": "GoogleFirebaseAppdistroV1alphaDeviceAction", +"properties": { +"description": { +"description": "Output only. A short description of the high level action taken by the AI agent.", +"readOnly": true, +"type": "string" +}, +"deviceInteractions": { +"description": "Output only. The interactions made with the device as part of this higher level action taken by the agent, such as taps, text entries, waits, etc.", +"items": { +"$ref": "GoogleFirebaseAppdistroV1alphaDeviceInteraction" +}, +"readOnly": true, +"type": "array" +} +}, +"type": "object" +}, +"GoogleFirebaseAppdistroV1alphaDeviceExecution": { +"description": "The results of running an automated test on a particular device.", +"id": "GoogleFirebaseAppdistroV1alphaDeviceExecution", +"properties": { +"aiStepResults": { +"description": "Output only. Results of the AI steps if passed in", +"items": { +"$ref": "GoogleFirebaseAppdistroV1alphaAiStepResult" +}, +"readOnly": true, +"type": "array" +}, +"appCrash": { +"$ref": "GoogleFirebaseAppdistroV1alphaAppCrash", +"description": "Output only. An app crash, if any occurred during the test.", +"readOnly": true +}, +"crawlGraphUri": { +"description": "Output only. A URI to an image of the Robo crawl graph.", +"readOnly": true, +"type": "string" +}, +"device": { +"$ref": "GoogleFirebaseAppdistroV1alphaTestDevice", +"description": "Required. The device that the test was run on." +}, +"executionType": { +"description": "Output only. The type of execution for the test.", +"enum": [ +"EXECUTION_TYPE_UNSPECIFIED", +"AI", +"ACTION_BASED_REPLAY", +"AI_REPLAY", +"RANDOM_CRAWL" +], +"enumDescriptions": [ +"Execution type unspecified.", +"An AI-driven test.", +"A replay of a previous test run.", +"A failed replay that was rerun using the AI agent.", +"A random Robo test." +], +"readOnly": true, +"type": "string" +}, +"failedReason": { +"description": "Output only. The reason why the test failed.", +"enum": [ +"FAILED_REASON_UNSPECIFIED", +"CRASHED", +"NOT_INSTALLED", +"UNABLE_TO_CRAWL", +"DEVICE_OUT_OF_MEMORY", +"FAILED_AI_STEP", +"TIMED_OUT" +], +"enumDescriptions": [ +"Reason unspecified.", +"The app crashed during the test.", +"If an app is not installed and thus no test can be run with the app. This might be caused by trying to run a test on an unsupported platform.", +"If the app could not be crawled (possibly because the app did not start).", +"If the device ran out of memory during the test.", +"At least one AI step failed.", +"The crawl reached the time limit before the test could be completed." +], +"readOnly": true, +"type": "string" +}, +"finalAiAssertionMissing": { +"description": "Output only. Indicates that the test replayed saved actions and concluded without a final AI assertion.", +"readOnly": true, +"type": "boolean" +}, +"inconclusiveReason": { +"description": "Output only. The reason why the test was inconclusive.", +"enum": [ +"INCONCLUSIVE_REASON_UNSPECIFIED", +"QUOTA_EXCEEDED", +"INFRASTRUCTURE_FAILURE", +"SERVICE_NOT_ACTIVATED", +"NO_SIGNATURE", +"NO_LAUNCHER_ACTIVITY", +"FORBIDDEN_PERMISSIONS", +"DEVICE_ADMIN_RECEIVER", +"NO_CODE_APK", +"INVALID_APK_PREVIEW_SDK" +], +"enumDescriptions": [ +"Reason unspecified.", +"Not enough quota remained to run the test.", +"The outcome of the test could not be determined because of a failure in the test running infrastructure.", +"A required cloud service api is not activated (Google Cloud Testing API or Cloud Tool Results API).", +"The app was not signed.", +"A main launcher activity could not be found.", +"The app declares one or more permissions that are not allowed.", +"Device administrator applications are not allowed.", +"APK contains no code. See also https://developer.android.com/guide/topics/manifest/application-element.html#code", +"APK is built for a preview SDK which is unsupported." +], +"readOnly": true, +"type": "string" +}, +"name": { +"description": "Identifier. The name of the device execution resource. Format: `projects/{project_number}/apps/{app}/releases/{release}/tests/{test}/deviceExecutions/{device_execution}`", +"type": "string" +}, +"originDeviceExecution": { +"description": "Output only. The device execution from which cached steps were used during this execution. Note: This field is only populated for ACTION_BASED_REPLAY executions. If the original device execution no longer exists, this field will be empty. Format: `projects/{project_number}/apps/{app}/releases/{release}/tests/{test}/deviceExecutions/{device_execution}`", +"readOnly": true, +"type": "string" +}, +"resultsStoragePath": { +"description": "Output only. The path to a directory in Cloud Storage that will eventually contain the results for this execution. For example, gs://bucket/Nexus5-18-en-portrait.", +"readOnly": true, +"type": "string" +}, +"roboStats": { +"$ref": "GoogleFirebaseAppdistroV1alphaRoboStats", +"description": "Output only. The statistics collected during the Robo test.", +"readOnly": true +}, +"screenshotUris": { +"description": "Output only. A list of screenshot image URIs taken from the Robo crawl. The file names are numbered by the order in which they were taken.", +"items": { +"type": "string" +}, +"readOnly": true, +"type": "array" +}, +"state": { +"description": "Output only. The state of the test.", +"enum": [ +"TEST_STATE_UNSPECIFIED", +"IN_PROGRESS", +"PASSED", +"FAILED", +"INCONCLUSIVE" +], +"enumDescriptions": [ +"Test state unspecified.", +"The test is in progress.", +"The test has passed.", +"The test has failed.", +"The test was inconclusive." +], +"readOnly": true, +"type": "string" +}, +"videoStartTime": { +"description": "Output only. The time at which the video started recording.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"videoUri": { +"description": "Output only. A URI to a video of the test run.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleFirebaseAppdistroV1alphaDeviceInteraction": { +"description": "An interaction with the device, such as a tap, text entry, wait, etc.", +"id": "GoogleFirebaseAppdistroV1alphaDeviceInteraction", +"properties": { +"backAction": { +"$ref": "GoogleFirebaseAppdistroV1alphaDeviceInteractionBack", +"description": "Output only. A back action.", +"readOnly": true +}, +"dragAndDrop": { +"$ref": "GoogleFirebaseAppdistroV1alphaDeviceInteractionDragAndDrop", +"description": "Output only. A drag and drop action.", +"readOnly": true +}, +"enterText": { +"$ref": "GoogleFirebaseAppdistroV1alphaDeviceInteractionEnterText", +"description": "Output only. A text entry action, that enters text into a particular text field, clearing any existing text in the field. Unlike `text_input` this action does not require any other actions such as a tap to be performed before it can enter the text.", +"readOnly": true +}, +"keyCode": { +"description": "Output only. Key code for a key event action.", +"readOnly": true, +"type": "string" +}, +"longPress": { +"$ref": "AndroidxCrawlerOutputPoint", +"description": "Output only. A long press (tap and hold) action.", +"readOnly": true +}, +"screenshot": { +"$ref": "GoogleFirebaseAppdistroV1alphaScreenshot", +"description": "Output only. The screenshot used in the context of this action. The screen may have changed before the action was actually taken.", +"readOnly": true +}, +"swipe": { +"$ref": "GoogleFirebaseAppdistroV1alphaDeviceInteractionSwipe", +"description": "Output only. A swipe action.", +"readOnly": true +}, +"tap": { +"$ref": "AndroidxCrawlerOutputPoint", +"description": "Output only. A tap action.", +"readOnly": true +}, +"textInput": { +"description": "Output only. A text input action, that types some text into whatever field is currently focused, if any. Unlike `enter_text` this action requires that the field be brought into focus first, for example by emitting a tap action before this one.", +"readOnly": true, +"type": "string" +}, +"wait": { +"$ref": "GoogleFirebaseAppdistroV1alphaDeviceInteractionWait", +"description": "Output only. A wait action.", +"readOnly": true +} +}, +"type": "object" +}, +"GoogleFirebaseAppdistroV1alphaDeviceInteractionBack": { +"description": "A back action.", +"id": "GoogleFirebaseAppdistroV1alphaDeviceInteractionBack", +"properties": {}, +"type": "object" +}, +"GoogleFirebaseAppdistroV1alphaDeviceInteractionDragAndDrop": { +"description": "A drag and drop action.", +"id": "GoogleFirebaseAppdistroV1alphaDeviceInteractionDragAndDrop", +"properties": { +"end": { +"$ref": "AndroidxCrawlerOutputPoint", +"description": "Output only. The end point of the drag and drop.", +"readOnly": true +}, +"start": { +"$ref": "AndroidxCrawlerOutputPoint", +"description": "Output only. The start point of the drag and drop.", +"readOnly": true +} +}, +"type": "object" +}, +"GoogleFirebaseAppdistroV1alphaDeviceInteractionEnterText": { +"description": "A text entry action, that enters text into a particular text field, clearing any existing text in the field.", +"id": "GoogleFirebaseAppdistroV1alphaDeviceInteractionEnterText", +"properties": { +"elementBounds": { +"$ref": "AndroidxCrawlerOutputRectangle", +"description": "Output only. The visible bounds of the element to enter text into.", +"readOnly": true +}, +"text": { +"description": "Output only. The text to enter.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleFirebaseAppdistroV1alphaDeviceInteractionSwipe": { +"description": "A swipe action.", +"id": "GoogleFirebaseAppdistroV1alphaDeviceInteractionSwipe", +"properties": { +"end": { +"$ref": "AndroidxCrawlerOutputPoint", +"description": "Output only. The end point of the swipe.", +"readOnly": true +}, +"start": { +"$ref": "AndroidxCrawlerOutputPoint", +"description": "Output only. The start point of the swipe.", +"readOnly": true +} +}, +"type": "object" +}, +"GoogleFirebaseAppdistroV1alphaDeviceInteractionWait": { +"description": "A wait action.", +"id": "GoogleFirebaseAppdistroV1alphaDeviceInteractionWait", +"properties": { +"duration": { +"description": "Output only. The duration of the wait.", +"format": "google-duration", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleFirebaseAppdistroV1alphaEnableAccessOnReleaseRequest": { +"description": "The request message for `EnableAccessOnRelease`.", +"id": "GoogleFirebaseAppdistroV1alphaEnableAccessOnReleaseRequest", +"properties": { +"buildVersion": { +"deprecated": true, +"description": "Optional. Ignored. Used to be build version of the app release if an instance identifier was provided for the release_id.", +"type": "string" +}, +"displayVersion": { +"deprecated": true, +"description": "Optional. Ignored. Used to be display version of the app release if an instance identifier was provided for the release_id.", +"type": "string" +}, +"emails": { +"description": "Optional. An email address which should get access to this release, for example rebeccahe@google.com", +"items": { +"type": "string" +}, +"type": "array" +}, +"groupIds": { +"description": "Optional. A repeated list of group aliases to enable access to a release for Note: This field is misnamed, but can't be changed because we need to maintain compatibility with old build tools", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleFirebaseAppdistroV1alphaEnableAccessOnReleaseResponse": { +"description": "The response message for `EnableAccessOnRelease`.", +"id": "GoogleFirebaseAppdistroV1alphaEnableAccessOnReleaseResponse", +"properties": {}, +"type": "object" +}, +"GoogleFirebaseAppdistroV1alphaGetReleaseByUploadHashResponse": { +"description": "Response object to get the release given a upload hash", +"id": "GoogleFirebaseAppdistroV1alphaGetReleaseByUploadHashResponse", +"properties": { +"release": { +"$ref": "GoogleFirebaseAppdistroV1alphaRelease", +"description": "Release object" +} +}, +"type": "object" +}, +"GoogleFirebaseAppdistroV1alphaGetTesterUdidsResponse": { +"description": "Response containing the UDIDs of tester iOS devices in a project", +"id": "GoogleFirebaseAppdistroV1alphaGetTesterUdidsResponse", +"properties": { +"testerUdids": { +"description": "The UDIDs of tester iOS devices in a project", +"items": { +"$ref": "GoogleFirebaseAppdistroV1alphaTesterUdid" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleFirebaseAppdistroV1alphaGetUploadStatusResponse": { +"description": "The response message for `GetUploadStatus`.", +"id": "GoogleFirebaseAppdistroV1alphaGetUploadStatusResponse", +"properties": { +"errorCode": { +"description": "The error code associated with (only set on \"FAILURE\")", +"enum": [ +"ERROR_UNSPECIFIED", +"INVALID_ZIP", +"MISSING_PLIST", +"MISSING_PROFILE", +"VERSION_TOO_LONG", +"MISSING_UUIDS", +"MISSING_RESOURCES", +"MISSING_MANIFEST", +"IOS_METADATA_ERROR", +"ANDROID_METADATA_ERROR", +"UNSUPPORTED_PLATFORM_TYPE", +"BUNDLE_ID_MISMATCH", +"APK_NOT_ZIP_ALIGNED", +"INVALID_CERTIFICATE", +"APK_TOO_LARGE", +"AAB_NOT_PUBLISHED", +"INVALID_PLIST_DEVICE_FAMILIES", +"AAB_TOS_NOT_ACCEPTED", +"APP_NAME_TOO_LONG", +"AAB_DEVELOPER_ACCOUNT_NOT_LINKED", +"AAB_NO_APP_WITH_GIVEN_PACKAGE_NAME_IN_ACCOUNT", +"AAB_UPLOAD_ERROR", +"APP_NOT_FOUND" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"Happens if the Firebase app no longer exists by the time of extraction" +], +"type": "string" +}, +"message": { +"description": "Any additional context for the given upload status (e.g. error message) Meant to be displayed to the client", +"type": "string" +}, +"release": { +"$ref": "GoogleFirebaseAppdistroV1alphaRelease", +"description": "The release that was created from the upload (only set on \"SUCCESS\")" +}, +"status": { +"description": "The status of the upload", +"enum": [ +"STATUS_UNSPECIFIED", +"IN_PROGRESS", +"ALREADY_UPLOADED", +"SUCCESS", +"ERROR" +], +"enumDescriptions": [ +"Status unspecified.", +"The upload is in progress.", +"The binary has already been uploaded.", +"The upload was successful.", +"The upload failed." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleFirebaseAppdistroV1alphaGoalAction": { +"description": "An action taken by the AI agent while attempting to accomplish a goal.", +"id": "GoogleFirebaseAppdistroV1alphaGoalAction", +"properties": { +"cachingType": { +"description": "Output only. The type of caching used to determine the action.", +"enum": [ +"CACHING_TYPE_UNSPECIFIED", +"NO_CACHING", +"CACHE_AND_MODEL", +"CACHE_ONLY" +], +"enumDescriptions": [ +"Caching type unspecified.", +"The model alone was used to determine the action with no caching.", +"The model used information from a previous successful run to determine the action.", +"The action was replayed from a previous successful run without model input." +], +"readOnly": true, +"type": "string" +}, +"debugInfo": { +"$ref": "GoogleFirebaseAppdistroV1alphaGoalActionDebugInfo", +"description": "Output only. Debug information explaining why the agent to the specific action.", +"readOnly": true +}, +"deviceAction": { +"$ref": "GoogleFirebaseAppdistroV1alphaDeviceAction", +"description": "Output only. A high level action taken by the AI on the device.", +"readOnly": true +}, +"explanation": { +"description": "Output only. An explanation justifying why the action was taken.", +"readOnly": true, +"type": "string" +}, +"startTime": { +"description": "Output only. The time at which the action started.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"terminalAction": { +"$ref": "GoogleFirebaseAppdistroV1alphaTerminalAction", +"description": "Output only. An action taken by the AI to end the goal.", +"readOnly": true +} +}, +"type": "object" +}, +"GoogleFirebaseAppdistroV1alphaGoalActionDebugInfo": { +"description": "Information to help the customer understand why the agent took this action.", +"id": "GoogleFirebaseAppdistroV1alphaGoalActionDebugInfo", +"properties": { +"annotatedScreenshotUri": { +"description": "Output only. URI of the screenshot with elements labeled which was used by the agent.", +"readOnly": true, +"type": "string" +}, +"jsonUri": { +"description": "Output only. Structured data explaining the agent's choice.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleFirebaseAppdistroV1alphaGoalDetails": { +"description": "Details for a goal step.", +"id": "GoogleFirebaseAppdistroV1alphaGoalDetails", +"properties": { +"goalActions": { +"description": "Output only. The actions taken by the AI while attempting to accomplish the goal.", +"items": { +"$ref": "GoogleFirebaseAppdistroV1alphaGoalAction" +}, +"readOnly": true, +"type": "array" +} +}, +"type": "object" +}, +"GoogleFirebaseAppdistroV1alphaJwt": { +"description": "A JWT token.", +"id": "GoogleFirebaseAppdistroV1alphaJwt", +"properties": { +"token": { +"description": "The JWT token (three Base64URL-encoded strings joined by dots).", +"type": "string" +} +}, +"type": "object" +}, +"GoogleFirebaseAppdistroV1alphaListReleaseTestsResponse": { +"description": "The response message for `ListReleaseTests`.", +"id": "GoogleFirebaseAppdistroV1alphaListReleaseTestsResponse", +"properties": { +"nextPageToken": { +"description": "A short-lived token, which can be sent as `pageToken` to retrieve the next page. If this field is omitted, there are no subsequent pages.", +"type": "string" +}, +"releaseTests": { +"description": "The tests listed.", +"items": { +"$ref": "GoogleFirebaseAppdistroV1alphaReleaseTest" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleFirebaseAppdistroV1alphaListTestCasesResponse": { +"description": "The response message for `ListTestCases`.", +"id": "GoogleFirebaseAppdistroV1alphaListTestCasesResponse", +"properties": { +"nextPageToken": { +"description": "A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.", +"type": "string" +}, +"testCases": { +"description": "The test cases from the specified app.", +"items": { +"$ref": "GoogleFirebaseAppdistroV1alphaTestCase" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleFirebaseAppdistroV1alphaLoginCredential": { +"description": "Login credential for automated tests", +"id": "GoogleFirebaseAppdistroV1alphaLoginCredential", +"properties": { +"fieldHints": { +"$ref": "GoogleFirebaseAppdistroV1alphaLoginCredentialFieldHints", +"description": "Optional. Hints to the crawler for identifying input fields" +}, +"google": { +"description": "Optional. Are these credentials for Google?", +"type": "boolean" +}, +"password": { +"description": "Optional. Password for automated tests", +"type": "string" +}, +"username": { +"description": "Optional. Username for automated tests", +"type": "string" +} +}, +"type": "object" +}, +"GoogleFirebaseAppdistroV1alphaLoginCredentialFieldHints": { +"description": "Hints to the crawler for identifying input fields", +"id": "GoogleFirebaseAppdistroV1alphaLoginCredentialFieldHints", +"properties": { +"passwordResourceName": { +"description": "Required. The Android resource name of the password UI element. For example, in Java: R.string.foo in xml: @string/foo Only the \"foo\" part is needed. Reference doc: https://developer.android.com/guide/topics/resources/accessing-resources.html", +"type": "string" +}, +"usernameResourceName": { +"description": "Required. The Android resource name of the username UI element. For example, in Java: R.string.foo in xml: @string/foo Only the \"foo\" part is needed. Reference doc: https://developer.android.com/guide/topics/resources/accessing-resources.html", +"type": "string" +} +}, +"type": "object" +}, +"GoogleFirebaseAppdistroV1alphaRelease": { +"description": "Proto defining a release object", +"id": "GoogleFirebaseAppdistroV1alphaRelease", +"properties": { +"buildVersion": { +"description": "Release build version", +"type": "string" +}, +"displayVersion": { +"description": "Release version", +"type": "string" +}, +"distributedAt": { +"description": "Timestamp when the release was created", +"format": "google-datetime", +"type": "string" +}, +"id": { +"description": "Release Id", +"type": "string" +}, +"instanceId": { +"description": "Instance id of the release", +"type": "string" +}, +"lastActivityAt": { +"description": "Last activity timestamp", +"format": "google-datetime", +"type": "string" +}, +"openInvitationCount": { +"description": "Number of testers who have open invitations for the release", +"format": "int32", +"type": "integer" +}, +"receivedAt": { +"deprecated": true, +"description": "unused. ", +"format": "google-datetime", +"type": "string" +}, +"releaseNotesSummary": { +"description": "Release notes summary", +"type": "string" +}, +"testerCount": { +"description": "Count of testers added to the release", +"format": "int32", +"type": "integer" +}, +"testerWithInstallCount": { +"description": "Number of testers who have installed the release", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"GoogleFirebaseAppdistroV1alphaReleaseNotes": { +"description": "Release notes for a release.", +"id": "GoogleFirebaseAppdistroV1alphaReleaseNotes", +"properties": { +"releaseNotes": { +"description": "The actual release notes text from the user.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleFirebaseAppdistroV1alphaReleaseTest": { +"description": "Instance of an automated test for a release.", +"id": "GoogleFirebaseAppdistroV1alphaReleaseTest", +"properties": { +"aiInstructions": { +"$ref": "GoogleFirebaseAppdistroV1alphaAiInstructions", +"description": "Optional. Instructions for AI driven test." +}, +"createTime": { +"description": "Output only. Timestamp when the test was run.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"deviceExecutions": { +"description": "Required. The results of the test on each device.", +"items": { +"$ref": "GoogleFirebaseAppdistroV1alphaDeviceExecution" +}, +"type": "array" +}, +"displayName": { +"description": "Optional. Display name of the release test. Required if the release test is created with multiple goals.", +"type": "string" +}, +"loginCredential": { +"$ref": "GoogleFirebaseAppdistroV1alphaLoginCredential", +"description": "Optional. Input only. Login credentials for the test. Input only." +}, +"name": { +"description": "The name of the release test resource. Format: `projects/{project_number}/apps/{app}/releases/{release}/tests/{test}`", +"type": "string" +}, +"testCase": { +"description": "Optional. The test case that was used to generate this release test. Note: The test case may have changed or been deleted since the release test was created. Format: `projects/{project_number}/apps/{app}/testCases/{test_case}`", +"type": "string" +}, +"testState": { +"description": "Output only. The state of the release test.", +"enum": [ +"TEST_STATE_UNSPECIFIED", +"IN_PROGRESS", +"PASSED", +"FAILED", +"INCONCLUSIVE" +], +"enumDescriptions": [ +"Test state unspecified.", +"The test is in progress.", +"The test has passed.", +"The test has failed.", +"The test was inconclusive." +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleFirebaseAppdistroV1alphaRoboCrawler": { +"description": "Configuration for Robo crawler", +"id": "GoogleFirebaseAppdistroV1alphaRoboCrawler", +"properties": { +"aiInstructions": { +"$ref": "GoogleFirebaseAppdistroV1alphaAiInstructions", +"description": "Optional. Instructions for AI driven test" +}, +"loginCredential": { +"$ref": "GoogleFirebaseAppdistroV1alphaLoginCredential", +"description": "Optional. Login credential for automated tests" +} +}, +"type": "object" +}, +"GoogleFirebaseAppdistroV1alphaRoboStats": { +"description": "Statistics collected during a Robo test.", +"id": "GoogleFirebaseAppdistroV1alphaRoboStats", +"properties": { +"actionsPerformed": { +"description": "Output only. Number of actions that crawler performed.", +"format": "int32", +"readOnly": true, +"type": "integer" +}, +"crawlDuration": { +"description": "Output only. Duration of crawl.", +"format": "google-duration", +"readOnly": true, +"type": "string" +}, +"distinctVisitedScreens": { +"description": "Output only. Number of distinct screens visited.", +"format": "int32", +"readOnly": true, +"type": "integer" +}, +"mainActivityCrawlTimedOut": { +"description": "Output only. Whether the main activity crawl timed out.", +"readOnly": true, +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleFirebaseAppdistroV1alphaScreenshot": { +"description": "A device screenshot taken during a test.", +"id": "GoogleFirebaseAppdistroV1alphaScreenshot", +"properties": { +"height": { +"description": "Output only. The height of the screenshot, in pixels.", +"format": "int32", +"readOnly": true, +"type": "integer" +}, +"uri": { +"description": "Output only. The URI of the screenshot.", +"readOnly": true, +"type": "string" +}, +"width": { +"description": "Output only. The width of the screenshot, in pixels.", +"format": "int32", +"readOnly": true, +"type": "integer" +} +}, +"type": "object" +}, +"GoogleFirebaseAppdistroV1alphaTerminalAction": { +"description": "An action taken by the AI to end the goal.", +"id": "GoogleFirebaseAppdistroV1alphaTerminalAction", +"properties": { +"reason": { +"description": "Output only. The reason why this goal was ended.", +"enum": [ +"REASON_UNSPECIFIED", +"GOAL_IMPOSSIBLE", +"GOAL_COMPLETE" +], +"enumDescriptions": [ +"Reason unspecified.", +"The goal failed to be completed. Note that \"impossible\" is a legacy term and the goal is reported to the customer as having \"failed\".", +"The goal was completed successfully." +], +"readOnly": true, +"type": "string" +}, +"screenshot": { +"$ref": "GoogleFirebaseAppdistroV1alphaScreenshot", +"description": "Output only. The screenshot used in the context of this terminal action.", +"readOnly": true +} +}, +"type": "object" +}, +"GoogleFirebaseAppdistroV1alphaTestCase": { +"description": "AI test cases", +"id": "GoogleFirebaseAppdistroV1alphaTestCase", +"properties": { +"aiInstructions": { +"$ref": "GoogleFirebaseAppdistroV1alphaAiInstructions", +"description": "Optional. Instructions for AI driven test." +}, +"createTime": { +"description": "Output only. Timestamp when the test case was created", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"dependentTestCases": { +"description": "Output only. Other test cases that depend on this test case as a prerequisite.", +"items": { +"type": "string" +}, +"readOnly": true, +"type": "array" +}, +"displayName": { +"description": "Required. Display name of the test case.", +"type": "string" +}, +"name": { +"description": "Identifier. The name of the test case resource. Format: `projects/{project_number}/apps/{app}/testCases/{test_case}`", +"type": "string" +}, +"prerequisiteTestCase": { +"description": "Optional. Test case that must be run before this test case.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleFirebaseAppdistroV1alphaTestConfig": { +"description": "Configuration for automated tests", +"id": "GoogleFirebaseAppdistroV1alphaTestConfig", +"properties": { +"displayName": { +"description": "Optional. Display name of the AI driven test. Required if the release test is created with multiple goals.", +"type": "string" +}, +"name": { +"description": "Identifier. The name of the test configuration resource. Format: `projects/{project_number}/apps/{app}/testConfig`", +"type": "string" +}, +"roboCrawler": { +"$ref": "GoogleFirebaseAppdistroV1alphaRoboCrawler", +"description": "Optional. Configuration for Robo crawler" +}, +"testDevices": { +"description": "Optional. Tests will be run on this list of devices", +"items": { +"$ref": "GoogleFirebaseAppdistroV1alphaTestDevice" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleFirebaseAppdistroV1alphaTestDevice": { +"description": "A device on which automated tests can be run.", +"id": "GoogleFirebaseAppdistroV1alphaTestDevice", +"properties": { +"locale": { +"description": "Optional. The locale of the device (e.g. \"en_US\" for US English) during the test.", +"type": "string" +}, +"model": { +"description": "Required. The device model.", +"type": "string" +}, +"orientation": { +"description": "Optional. The orientation of the device during the test.", +"type": "string" +}, +"version": { +"description": "Required. The version of the device (API level on Android).", +"type": "string" +} +}, +"type": "object" +}, +"GoogleFirebaseAppdistroV1alphaTestQuota": { +"description": "Customer quota information for `ReleaseTests`. Note: This quota only applies to tests with `AiInstructions` and is separate from the quota which might apply to the device time used by any tests.", +"id": "GoogleFirebaseAppdistroV1alphaTestQuota", +"properties": { +"limit": { +"description": "Output only. Maximum number of `ReleaseTests` allotted for the current month.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"name": { +"description": "Identifier. The name of the `TestQuota` resource. Format: `projects/{project_number}/testQuota`", +"type": "string" +}, +"usage": { +"description": "Output only. Number of `ReleaseTests` run in the current month", +"format": "int64", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleFirebaseAppdistroV1alphaTesterUdid": { +"description": "The UDIDs of a tester's iOS device", +"id": "GoogleFirebaseAppdistroV1alphaTesterUdid", +"properties": { +"name": { +"description": "The name of the tester's device", +"type": "string" +}, +"platform": { +"description": "The platform of the tester's device", +"type": "string" +}, +"udid": { +"description": "The UDID of the tester's device", +"type": "string" +} +}, +"type": "object" +}, +"GoogleFirebaseAppdistroV1alphaUpdateTestCaseRequest": { +"description": "The request message for `UpdateTestCase`.", +"id": "GoogleFirebaseAppdistroV1alphaUpdateTestCaseRequest", +"properties": { +"allowMissing": { +"description": "Optional. If set to true, and the test case is not found, a new test case will be created.", +"type": "boolean" +}, +"testCase": { +"$ref": "GoogleFirebaseAppdistroV1alphaTestCase", +"description": "Required. The test case to update. The test case's `name` field is used to identify the test case to update. Format: `projects/{project_number}/apps/{app}/testCases/{test_case}`" +} +}, +"type": "object" +}, +"GoogleProtobufEmpty": { +"description": "A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }", +"id": "GoogleProtobufEmpty", +"properties": {}, +"type": "object" +} +}, +"servicePath": "", +"title": "Firebase App Distribution API", +"version": "v1alpha", +"version_module": true +} \ No newline at end of file diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/firebaseapphosting.v1beta.json b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/firebaseapphosting.v1beta.json new file mode 100644 index 0000000000000000000000000000000000000000..3332fedbe643738b5bd30db7c0dfda3aa641b6f7 --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/firebaseapphosting.v1beta.json @@ -0,0 +1,2824 @@ +{ +"auth": { +"oauth2": { +"scopes": { +"https://www.googleapis.com/auth/cloud-platform": { +"description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." +} +} +} +}, +"basePath": "", +"baseUrl": "https://firebaseapphosting.googleapis.com/", +"batchPath": "batch", +"canonicalName": "Firebase App Hosting", +"description": "Firebase App Hosting streamlines the development and deployment of dynamic Next.js and Angular applications, offering built-in framework support, GitHub integration, and integration with other Firebase products. You can use this API to intervene in the Firebase App Hosting build process and add custom functionality not supported in our default Console & CLI flows, including triggering builds from external CI/CD workflows or deploying from pre-built container images. ", +"discoveryVersion": "v1", +"documentationLink": "https://firebase.google.com/docs/app-hosting", +"fullyEncodeReservedExpansion": true, +"icons": { +"x16": "http://www.google.com/images/icons/product/search-16.gif", +"x32": "http://www.google.com/images/icons/product/search-32.gif" +}, +"id": "firebaseapphosting:v1beta", +"kind": "discovery#restDescription", +"mtlsRootUrl": "https://firebaseapphosting.mtls.googleapis.com/", +"name": "firebaseapphosting", +"ownerDomain": "google.com", +"ownerName": "Google", +"parameters": { +"$.xgafv": { +"description": "V1 error format.", +"enum": [ +"1", +"2" +], +"enumDescriptions": [ +"v1 error format", +"v2 error format" +], +"location": "query", +"type": "string" +}, +"access_token": { +"description": "OAuth access token.", +"location": "query", +"type": "string" +}, +"alt": { +"default": "json", +"description": "Data format for response.", +"enum": [ +"json", +"media", +"proto" +], +"enumDescriptions": [ +"Responses with Content-Type of application/json", +"Media download with context-dependent Content-Type", +"Responses with Content-Type of application/x-protobuf" +], +"location": "query", +"type": "string" +}, +"callback": { +"description": "JSONP", +"location": "query", +"type": "string" +}, +"fields": { +"description": "Selector specifying which fields to include in a partial response.", +"location": "query", +"type": "string" +}, +"key": { +"description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", +"location": "query", +"type": "string" +}, +"oauth_token": { +"description": "OAuth 2.0 token for the current user.", +"location": "query", +"type": "string" +}, +"prettyPrint": { +"default": "true", +"description": "Returns response with indentations and line breaks.", +"location": "query", +"type": "boolean" +}, +"quotaUser": { +"description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.", +"location": "query", +"type": "string" +}, +"uploadType": { +"description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", +"location": "query", +"type": "string" +}, +"upload_protocol": { +"description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", +"location": "query", +"type": "string" +} +}, +"protocol": "rest", +"resources": { +"projects": { +"resources": { +"locations": { +"methods": { +"get": { +"description": "Gets information about a location.", +"flatPath": "v1beta/projects/{projectsId}/locations/{locationsId}", +"httpMethod": "GET", +"id": "firebaseapphosting.projects.locations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Resource name for the location.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta/{+name}", +"response": { +"$ref": "Location" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists information about the supported locations for this service. This method can be called in two ways: * **List all public locations:** Use the path `GET /v1/locations`. * **List project-visible locations:** Use the path `GET /v1/projects/{project_id}/locations`. This may include public locations as well as private or other locations specifically visible to the project.", +"flatPath": "v1beta/projects/{projectsId}/locations", +"httpMethod": "GET", +"id": "firebaseapphosting.projects.locations.list", +"parameterOrder": [ +"name" +], +"parameters": { +"extraLocationTypes": { +"description": "Optional. Do not use this field. It is unsupported and is ignored unless explicitly documented otherwise. This is primarily for internal usage.", +"location": "query", +"repeated": true, +"type": "string" +}, +"filter": { +"description": "A filter to narrow down results to a preferred subset. The filtering language accepts strings like `\"displayName=tokyo\"`, and is documented in more detail in [AIP-160](https://google.aip.dev/160).", +"location": "query", +"type": "string" +}, +"name": { +"description": "The resource that owns the locations collection, if applicable.", +"location": "path", +"pattern": "^projects/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The maximum number of results to return. If not set, the service selects a default.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A page token received from the `next_page_token` field in the response. Send that page token to receive the subsequent page.", +"location": "query", +"type": "string" +} +}, +"path": "v1beta/{+name}/locations", +"response": { +"$ref": "ListLocationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"backends": { +"methods": { +"create": { +"description": "Creates a new backend in a given project and location.", +"flatPath": "v1beta/projects/{projectsId}/locations/{locationsId}/backends", +"httpMethod": "POST", +"id": "firebaseapphosting.projects.locations.backends.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"backendId": { +"description": "Required. Id of the backend. Also used as the service ID for Cloud Run, and as part of the default domain name.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. A parent name of the form `projects/{project}/locations/{locationId}`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and t he request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"validateOnly": { +"description": "Optional. Indicates that the request should be validated and default values populated, without persisting the request or creating any resources.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1beta/{+parent}/backends", +"request": { +"$ref": "Backend" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a single backend.", +"flatPath": "v1beta/projects/{projectsId}/locations/{locationsId}/backends/{backendsId}", +"httpMethod": "DELETE", +"id": "firebaseapphosting.projects.locations.backends.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"etag": { +"description": "Optional. If the client provided etag is out of date, delete will be returned FAILED_PRECONDITION error.", +"location": "query", +"type": "string" +}, +"force": { +"description": "Optional. If set to true, any resources for this backend will also be deleted. Otherwise, any children resources will block deletion.", +"location": "query", +"type": "boolean" +}, +"name": { +"description": "Required. Name of the resource in the format: `projects/{project}/locations/{locationId}/backends/{backendId}`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/backends/[^/]+$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes after the first request. For example, consider a situation where you make an initial request and t he request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"validateOnly": { +"description": "Optional. Indicates that the request should be validated, without persisting the request or updating any resources.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1beta/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets information about a backend.", +"flatPath": "v1beta/projects/{projectsId}/locations/{locationsId}/backends/{backendsId}", +"httpMethod": "GET", +"id": "firebaseapphosting.projects.locations.backends.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of the resource in the format: `projects/{project}/locations/{locationId}/backends/{backendId}`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/backends/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta/{+name}", +"response": { +"$ref": "Backend" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists backends in a given project and location.", +"flatPath": "v1beta/projects/{projectsId}/locations/{locationsId}/backends", +"httpMethod": "GET", +"id": "firebaseapphosting.projects.locations.backends.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Optional. A filter to narrow down results to a preferred subset. Learn more about filtering in Google's [AIP 160 standard](https://google.aip.dev/160).", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "Optional. Hint for how to order the results. Supported fields are `name` and `createTime`. To specify descending order, append a `desc` suffix.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Optional. The maximum number of results to return. If not set, the service selects a default.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. A page token received from the nextPageToken field in the response. Send that page token to receive the subsequent page.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. A parent name of the form `projects/{project}/locations/{locationId}`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +}, +"showDeleted": { +"description": "Optional. If true, the request returns soft-deleted resources that haven't been fully-deleted yet.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1beta/{+parent}/backends", +"response": { +"$ref": "ListBackendsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates the information for a single backend.", +"flatPath": "v1beta/projects/{projectsId}/locations/{locationsId}/backends/{backendsId}", +"httpMethod": "PATCH", +"id": "firebaseapphosting.projects.locations.backends.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"allowMissing": { +"description": "Optional. If set to true, and the backend is not found, a new backend will be created.", +"location": "query", +"type": "boolean" +}, +"name": { +"description": "Identifier. The resource name of the backend. Format: `projects/{project}/locations/{locationId}/backends/{backendId}`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/backends/[^/]+$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and t he request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"updateMask": { +"description": "Optional. Field mask is used to specify the fields to be overwritten in the backend resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +}, +"validateOnly": { +"description": "Optional. Indicates that the request should be validated, without persisting the request or updating any resources.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1beta/{+name}", +"request": { +"$ref": "Backend" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"builds": { +"methods": { +"create": { +"description": "Creates a new build for a backend.", +"flatPath": "v1beta/projects/{projectsId}/locations/{locationsId}/backends/{backendsId}/builds", +"httpMethod": "POST", +"id": "firebaseapphosting.projects.locations.backends.builds.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"buildId": { +"description": "Required. Desired ID of the build being created.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent backend in the format: `projects/{project}/locations/{locationId}/backends/{backendId}`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/backends/[^/]+$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"validateOnly": { +"description": "Optional. Indicates that the request should be validated and default values populated, without persisting the request or creating any resources.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1beta/{+parent}/builds", +"request": { +"$ref": "Build" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a single build.", +"flatPath": "v1beta/projects/{projectsId}/locations/{locationsId}/backends/{backendsId}/builds/{buildsId}", +"httpMethod": "DELETE", +"id": "firebaseapphosting.projects.locations.backends.builds.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"etag": { +"description": "Optional. If the client provided etag is out of date, delete will be returned FAILED_PRECONDITION error.", +"location": "query", +"type": "string" +}, +"name": { +"description": "Required. Name of the resource in the format: `projects/{project}/locations/{locationId}/backends/{backendId}/builds/{buildId}`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/backends/[^/]+/builds/[^/]+$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes after the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"validateOnly": { +"description": "Optional. Indicates that the request should be validated and default values populated, without persisting the request or deleting any resources.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1beta/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets information about a build.", +"flatPath": "v1beta/projects/{projectsId}/locations/{locationsId}/backends/{backendsId}/builds/{buildsId}", +"httpMethod": "GET", +"id": "firebaseapphosting.projects.locations.backends.builds.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of the resource in the format: `projects/{project}/locations/{locationId}/backends/{backendId}/builds/{buildId}`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/backends/[^/]+/builds/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta/{+name}", +"response": { +"$ref": "Build" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists builds in a given project, location, and backend.", +"flatPath": "v1beta/projects/{projectsId}/locations/{locationsId}/backends/{backendsId}/builds", +"httpMethod": "GET", +"id": "firebaseapphosting.projects.locations.backends.builds.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Optional. A filter to narrow down results to a preferred subset. Learn more about filtering in Google's [AIP 160 standard](https://google.aip.dev/160).", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "Optional. Hint for how to order the results. Supported fields are `name` and `createTime`. To specify descending order, append a `desc` suffix.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Optional. The maximum number of results to return. If not set, the service selects a default.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. A page token received from the nextPageToken field in the response. Send that page token to receive the subsequent page.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent backend in the form `projects/{project}/locations/{locationId}/backends/{backendId}`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/backends/[^/]+$", +"required": true, +"type": "string" +}, +"showDeleted": { +"description": "Optional. If true, the request returns soft-deleted resources that haven't been fully-deleted yet.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1beta/{+parent}/builds", +"response": { +"$ref": "ListBuildsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"domains": { +"methods": { +"create": { +"description": "Links a new domain to a backend.", +"flatPath": "v1beta/projects/{projectsId}/locations/{locationsId}/backends/{backendsId}/domains", +"httpMethod": "POST", +"id": "firebaseapphosting.projects.locations.backends.domains.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"domainId": { +"description": "Required. Id of the domain to create. Must be a valid domain name.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent backend in the format: `projects/{project}/locations/{locationId}/backends/{backendId}`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/backends/[^/]+$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"validateOnly": { +"description": "Optional. Indicates that the request should be validated and default values populated, without persisting the request or creating any resources.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1beta/{+parent}/domains", +"request": { +"$ref": "Domain" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a single domain.", +"flatPath": "v1beta/projects/{projectsId}/locations/{locationsId}/backends/{backendsId}/domains/{domainsId}", +"httpMethod": "DELETE", +"id": "firebaseapphosting.projects.locations.backends.domains.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"etag": { +"description": "Optional. If the client provided etag is out of date, delete will be returned FAILED_PRECONDITION error.", +"location": "query", +"type": "string" +}, +"name": { +"description": "Required. Name of the resource in the format: `projects/{project}/locations/{locationId}/backends/{backendId}/domains/{domainId}`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/backends/[^/]+/domains/[^/]+$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes after the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"validateOnly": { +"description": "Optional. Indicates that the request should be validated and default values populated, without persisting the request or deleting any resources.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1beta/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets information about a domain.", +"flatPath": "v1beta/projects/{projectsId}/locations/{locationsId}/backends/{backendsId}/domains/{domainsId}", +"httpMethod": "GET", +"id": "firebaseapphosting.projects.locations.backends.domains.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of the resource in the format: `projects/{project}/locations/{locationId}/backends/{backendId}/domains/{domainId}`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/backends/[^/]+/domains/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta/{+name}", +"response": { +"$ref": "Domain" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists domains of a backend.", +"flatPath": "v1beta/projects/{projectsId}/locations/{locationsId}/backends/{backendsId}/domains", +"httpMethod": "GET", +"id": "firebaseapphosting.projects.locations.backends.domains.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Optional. A filter to narrow down results to a preferred subset. Learn more about filtering in Google's [AIP 160 standard](https://google.aip.dev/160).", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "Optional. Hint for how to order the results. Supported fields are `name` and `createTime`. To specify descending order, append a `desc` suffix.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Optional. The maximum number of results to return. If not set, the service selects a default.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. A page token received from the nextPageToken field in the response. Send that page token to receive the subsequent page.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent backend in the format: `projects/{project}/locations/{locationId}/backends/{backendId}`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/backends/[^/]+$", +"required": true, +"type": "string" +}, +"showDeleted": { +"description": "Optional. If true, the request returns soft-deleted resources that haven't been fully-deleted yet.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1beta/{+parent}/domains", +"response": { +"$ref": "ListDomainsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates the information for a single domain.", +"flatPath": "v1beta/projects/{projectsId}/locations/{locationsId}/backends/{backendsId}/domains/{domainsId}", +"httpMethod": "PATCH", +"id": "firebaseapphosting.projects.locations.backends.domains.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"allowMissing": { +"description": "Optional. If set to true, and the domain is not found, a new domain will be created.", +"location": "query", +"type": "boolean" +}, +"name": { +"description": "Identifier. The resource name of the domain, e.g. `/projects/p/locations/l/backends/b/domains/foo.com`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/backends/[^/]+/domains/[^/]+$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"updateMask": { +"description": "Optional. Field mask is used to specify the fields to be overwritten in the Domain resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +}, +"validateOnly": { +"description": "Optional. Indicates that the request should be validated and default values populated, without persisting the request or modifying any resources.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1beta/{+name}", +"request": { +"$ref": "Domain" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"rollouts": { +"methods": { +"create": { +"description": "Creates a new rollout for a backend.", +"flatPath": "v1beta/projects/{projectsId}/locations/{locationsId}/backends/{backendsId}/rollouts", +"httpMethod": "POST", +"id": "firebaseapphosting.projects.locations.backends.rollouts.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The parent backend in the format: `projects/{project}/locations/{locationId}/backends/{backendId}`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/backends/[^/]+$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"rolloutId": { +"description": "Optional. Desired ID of the rollout being created.", +"location": "query", +"type": "string" +}, +"validateOnly": { +"description": "Optional. Indicates that the request should be validated and default values populated, without persisting the request or creating any resources.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1beta/{+parent}/rollouts", +"request": { +"$ref": "Rollout" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets information about a rollout.", +"flatPath": "v1beta/projects/{projectsId}/locations/{locationsId}/backends/{backendsId}/rollouts/{rolloutsId}", +"httpMethod": "GET", +"id": "firebaseapphosting.projects.locations.backends.rollouts.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of the resource in the format: `projects/{project}/locations/{locationId}/backends/{backendId}/rollouts/{rolloutId}`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/backends/[^/]+/rollouts/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta/{+name}", +"response": { +"$ref": "Rollout" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists rollouts for a backend.", +"flatPath": "v1beta/projects/{projectsId}/locations/{locationsId}/backends/{backendsId}/rollouts", +"httpMethod": "GET", +"id": "firebaseapphosting.projects.locations.backends.rollouts.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Optional. A filter to narrow down results to a preferred subset. Learn more about filtering in Google's [AIP 160 standard](https://google.aip.dev/160).", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "Optional. Hint for how to order the results. Supported fields are `name` and `createTime`. To specify descending order, append a `desc` suffix.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Optional. The maximum number of results to return. If not set, the service selects a default.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. A page token received from the nextPageToken field in the response. Send that page token to receive the subsequent page.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent backend in the format: `projects/{project}/locations/{locationId}/backends/{backendId}`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/backends/[^/]+$", +"required": true, +"type": "string" +}, +"showDeleted": { +"description": "Optional. If true, the request returns soft-deleted resources that haven't been fully-deleted yet.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1beta/{+parent}/rollouts", +"response": { +"$ref": "ListRolloutsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"traffic": { +"methods": { +"get": { +"description": "Gets information about a backend's traffic.", +"flatPath": "v1beta/projects/{projectsId}/locations/{locationsId}/backends/{backendsId}/traffic", +"httpMethod": "GET", +"id": "firebaseapphosting.projects.locations.backends.traffic.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of the resource in the format: `projects/{project}/locations/{locationId}/backends/{backendId}/traffic`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/backends/[^/]+/traffic$", +"required": true, +"type": "string" +} +}, +"path": "v1beta/{+name}", +"response": { +"$ref": "Traffic" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates a backend's traffic.", +"flatPath": "v1beta/projects/{projectsId}/locations/{locationsId}/backends/{backendsId}/traffic", +"httpMethod": "PATCH", +"id": "firebaseapphosting.projects.locations.backends.traffic.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Identifier. The resource name of the backend's traffic. Format: `projects/{project}/locations/{locationId}/backends/{backendId}/traffic`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/backends/[^/]+/traffic$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and t he request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"updateMask": { +"description": "Optional. Field mask is used to specify the fields to be overwritten in the traffic resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +}, +"validateOnly": { +"description": "Optional. Indicates that the request should be validated, without persisting the request or updating any resources.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1beta/{+name}", +"request": { +"$ref": "Traffic" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +}, +"operations": { +"methods": { +"cancel": { +"description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.", +"flatPath": "v1beta/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}:cancel", +"httpMethod": "POST", +"id": "firebaseapphosting.projects.locations.operations.cancel", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be cancelled.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta/{+name}:cancel", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.", +"flatPath": "v1beta/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}", +"httpMethod": "DELETE", +"id": "firebaseapphosting.projects.locations.operations.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be deleted.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta/{+name}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", +"flatPath": "v1beta/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}", +"httpMethod": "GET", +"id": "firebaseapphosting.projects.locations.operations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.", +"flatPath": "v1beta/projects/{projectsId}/locations/{locationsId}/operations", +"httpMethod": "GET", +"id": "firebaseapphosting.projects.locations.operations.list", +"parameterOrder": [ +"name" +], +"parameters": { +"filter": { +"description": "The standard list filter.", +"location": "query", +"type": "string" +}, +"name": { +"description": "The name of the operation's parent resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The standard list page size.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The standard list page token.", +"location": "query", +"type": "string" +}, +"returnPartialSuccess": { +"description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `\"projects/example/locations/-\"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1beta/{+name}/operations", +"response": { +"$ref": "ListOperationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +} +} +} +}, +"revision": "20260219", +"rootUrl": "https://firebaseapphosting.googleapis.com/", +"schemas": { +"ArchiveSource": { +"description": "The URI of an storage archive or a signed URL to use as the build source.", +"id": "ArchiveSource", +"properties": { +"author": { +"$ref": "SourceUserMetadata", +"deprecated": true, +"description": "Optional. Deprecated: Not used. The author contained in the metadata of a version control change." +}, +"description": { +"description": "Optional. An optional message that describes the uploaded version of the source code.", +"type": "string" +}, +"externalSignedUri": { +"description": "Signed URL to an archive in a storage bucket.", +"type": "string" +}, +"rootDirectory": { +"description": "Optional. The directory relative to the root of the archive to use as the root for the deployed web app. Defaults to use the root of the repository if not provided. If deploying a [monorepo](https://firebase.google.com/docs/app-hosting/monorepos), this should be the directory that contains the `package.json` or `apphosting.yaml` file.", +"type": "string" +}, +"userStorageUri": { +"description": "URI to an archive in Cloud Storage. The object must be a zipped (.zip) or gzipped archive file (.tar.gz) containing source to deploy.", +"type": "string" +} +}, +"type": "object" +}, +"Backend": { +"description": "A backend is the primary resource of App Hosting.", +"id": "Backend", +"properties": { +"annotations": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. Unstructured key value map that may be set by external tools to store and arbitrary metadata. They are not queryable and should be preserved when modifying objects.", +"type": "object" +}, +"appId": { +"description": "Optional. The [ID of a Web App](https://firebase.google.com/docs/reference/firebase-management/rest/v1beta1/projects.webApps#WebApp.FIELDS.app_id) associated with the backend.", +"type": "string" +}, +"codebase": { +"$ref": "Codebase", +"description": "Optional. If specified, the connection to an external source repository to watch for event-driven updates to the backend." +}, +"createTime": { +"description": "Output only. Time at which the backend was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"deleteTime": { +"description": "Output only. Time at which the backend was deleted.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"displayName": { +"description": "Optional. Human-readable name. 63 character limit.", +"type": "string" +}, +"environment": { +"description": "Optional. The environment name of the backend, used to load environment variables from environment specific configuration.", +"type": "string" +}, +"etag": { +"description": "Output only. Server-computed checksum based on other values; may be sent on update or delete to ensure operation is done on expected resource.", +"readOnly": true, +"type": "string" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. Unstructured key value map that can be used to organize and categorize objects.", +"type": "object" +}, +"managedResources": { +"description": "Output only. A list of the resources managed by this backend.", +"items": { +"$ref": "ManagedResource" +}, +"readOnly": true, +"type": "array" +}, +"mode": { +"deprecated": true, +"description": "Optional. Deprecated: Use `environment` instead.", +"type": "string" +}, +"name": { +"description": "Identifier. The resource name of the backend. Format: `projects/{project}/locations/{locationId}/backends/{backendId}`.", +"type": "string" +}, +"overrideEnv": { +"description": "Optional. Override environment variables for this Backend.", +"items": { +"$ref": "EnvironmentVariable" +}, +"type": "array" +}, +"reconciling": { +"description": "Output only. A field that, if true, indicates that the system is working to make adjustments to the backend during a LRO.", +"readOnly": true, +"type": "boolean" +}, +"requestLogsDisabled": { +"description": "Optional. A field that, if true, indicates that incoming request logs are disabled for this backend. Incoming request logs are enabled by default.", +"type": "boolean" +}, +"serviceAccount": { +"description": "Required. The name of the service account used for Cloud Build and Cloud Run. Should have the role roles/firebaseapphosting.computeRunner or equivalent permissions.", +"type": "string" +}, +"servingLocality": { +"description": "Required. Immutable. Specifies how App Hosting will serve the content for this backend. It will either be contained to a single region (REGIONAL_STRICT) or allowed to use App Hosting's global-replicated serving infrastructure (GLOBAL_ACCESS).", +"enum": [ +"SERVING_LOCALITY_UNSPECIFIED", +"REGIONAL_STRICT", +"GLOBAL_ACCESS" +], +"enumDescriptions": [ +"Unspecified. Will return an error if used.", +"In this mode, App Hosting serves your backend's content from your chosen parent region. App Hosting only maintains data and serving infrastructure in that chosen region and does not replicate your data to other regions.", +"In this mode, App Hosting serves your backend's content from multiple points-of-presence (POP) across the globe. App Hosting replicates your backend's configuration and cached data to these POPs and uses a global CDN to further decrease response latency. App Hosting-maintained Cloud Resources on your project, such as Cloud Run services, Cloud Build build, and Artifact Registry Images are still confined to your backend's parent region. Responses cached by the CDN may be stored in the POPs for the duration of the cache's TTL." +], +"type": "string" +}, +"uid": { +"description": "Output only. System-assigned, unique identifier.", +"readOnly": true, +"type": "string" +}, +"updateTime": { +"description": "Output only. Time at which the backend was last updated.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"uri": { +"description": "Output only. The primary URI to communicate with the backend.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"Build": { +"description": "A single build for a backend, at a specific point codebase reference tag and point in time. Encapsulates several resources, including an Artifact Registry container image, a Cloud Build invocation that built the image, and the Cloud Run revision that uses that image.", +"id": "Build", +"properties": { +"annotations": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. Unstructured key value map that may be set by external tools to store and arbitrary metadata. They are not queryable and should be preserved when modifying objects.", +"type": "object" +}, +"buildLogsUri": { +"description": "Output only. The location of the [Cloud Build logs](https://cloud.google.com/build/docs/view-build-results) for the build process.", +"readOnly": true, +"type": "string" +}, +"config": { +"$ref": "Config", +"description": "Optional. Additional configuration of the service." +}, +"createTime": { +"description": "Output only. Time at which the build was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"deleteTime": { +"description": "Output only. Time at which the build was deleted.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"displayName": { +"description": "Optional. Human-readable name. 63 character limit.", +"type": "string" +}, +"environment": { +"description": "Output only. The environment name of the backend when this build was created.", +"readOnly": true, +"type": "string" +}, +"error": { +"$ref": "Status", +"deprecated": true, +"description": "Output only. Deprecated: Use `errors` instead. A status and (human readable) error message for the build, if in a `FAILED` state.", +"readOnly": true +}, +"errorSource": { +"deprecated": true, +"description": "Output only. Deprecated: Use `errors` instead. The source of the error for the build, if in a `FAILED` state.", +"enum": [ +"ERROR_SOURCE_UNSPECIFIED", +"CLOUD_BUILD", +"CLOUD_RUN" +], +"enumDescriptions": [ +"Indicates that generic error occurred outside of the Cloud Build or Cloud Run processes, such as a pre-empted or user-canceled App Hosting Build.", +"Indicates that the build failed during the Cloud Build process, such as a build timeout.", +"Indicates that the build failed during the Cloud Run process, such as a service creation failure." +], +"readOnly": true, +"type": "string" +}, +"errors": { +"description": "Output only. A list of all errors that occurred during an App Hosting build.", +"items": { +"$ref": "Error" +}, +"readOnly": true, +"type": "array" +}, +"etag": { +"description": "Output only. Server-computed checksum based on other values; may be sent on update or delete to ensure operation is done on expected resource.", +"readOnly": true, +"type": "string" +}, +"image": { +"description": "Output only. The Artifact Registry [container image](https://cloud.google.com/artifact-registry/docs/reference/rest/v1/projects.locations.repositories.dockerImages) URI, used by the Cloud Run [`revision`](https://cloud.google.com/run/docs/reference/rest/v2/projects.locations.services.revisions) for this build.", +"readOnly": true, +"type": "string" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. Unstructured key value map that can be used to organize and categorize objects.", +"type": "object" +}, +"name": { +"description": "Identifier. The resource name of the build. Format: `projects/{project}/locations/{locationId}/backends/{backendId}/builds/{buildId}`.", +"type": "string" +}, +"reconciling": { +"description": "Output only. A field that, if true, indicates that the build has an ongoing LRO.", +"readOnly": true, +"type": "boolean" +}, +"source": { +"$ref": "BuildSource", +"description": "Required. Immutable. The source for the build." +}, +"state": { +"description": "Output only. The state of the build.", +"enum": [ +"STATE_UNSPECIFIED", +"BUILDING", +"BUILT", +"DEPLOYING", +"READY", +"FAILED", +"SKIPPED" +], +"enumDescriptions": [ +"The build is in an unknown state.", +"The build is building.", +"The build has completed and is awaiting the next step. This may move to DEPLOYING once App Hosting starts to set up infrastructure.", +"The infrastructure for this build is being set up.", +"The infrastructure for this build is ready. The build may or may not be serving traffic - see `Backend.traffic` for the current state, or `Backend.traffic_statuses` for the desired state.", +"The build has failed.", +"The build was skipped." +], +"readOnly": true, +"type": "string" +}, +"uid": { +"description": "Output only. System-assigned, unique identifier.", +"readOnly": true, +"type": "string" +}, +"updateTime": { +"description": "Output only. Time at which the build was last updated.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"BuildSource": { +"description": "The source for the build.", +"id": "BuildSource", +"properties": { +"archive": { +"$ref": "ArchiveSource", +"description": "An archive source." +}, +"codebase": { +"$ref": "CodebaseSource", +"description": "A codebase source." +}, +"container": { +"$ref": "ContainerSource", +"description": "An Artifact Registry container image source." +} +}, +"type": "object" +}, +"Codebase": { +"description": "The connection to an external source repository to watch for event-driven updates to the backend.", +"id": "Codebase", +"properties": { +"repository": { +"description": "Required. The resource name for the Developer Connect [`gitRepositoryLink`](https://cloud.google.com/developer-connect/docs/api/reference/rest/v1/projects.locations.connections.gitRepositoryLinks) connected to this backend, in the format: `projects/{project}/locations/{location}/connections/{connection}/gitRepositoryLinks/{repositoryLink}` The connection for the `gitRepositoryLink` must made be using the Firebase App Hosting GitHub App via the Firebase Console.", +"type": "string" +}, +"rootDirectory": { +"description": "Optional. If `repository` is provided, the directory relative to the root of the repository to use as the root for the deployed web app. Defaults to use the root of the repository if not provided. If deploying a [monorepo](https://firebase.google.com/docs/app-hosting/monorepos), this should be the directory that contains the `package.json` or `apphosting.yaml` file.", +"type": "string" +} +}, +"type": "object" +}, +"CodebaseSource": { +"description": "A codebase source, representing the state of the codebase that the build will be created at.", +"id": "CodebaseSource", +"properties": { +"author": { +"$ref": "UserMetadata", +"description": "Output only. The author contained in the metadata of a version control change.", +"readOnly": true +}, +"branch": { +"description": "The branch in the codebase to build from, using the latest commit.", +"type": "string" +}, +"commit": { +"description": "The commit in the codebase to build from.", +"type": "string" +}, +"commitMessage": { +"description": "Output only. The message of a codebase change.", +"readOnly": true, +"type": "string" +}, +"commitTime": { +"description": "Output only. The time the change was made.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"displayName": { +"description": "Output only. The human-friendly name to use for this Codebase when displaying a build. We use the first eight characters of the SHA-1 hash for GitHub.com.", +"readOnly": true, +"type": "string" +}, +"hash": { +"description": "Output only. The full SHA-1 hash of a Git commit, if available.", +"readOnly": true, +"type": "string" +}, +"repository": { +"description": "Output only. The resource name for the Developer Connect [`gitRepositoryLink`](https://cloud.google.com/developer-connect/docs/api/reference/rest/v1/projects.locations.connections.gitRepositoryLinks) used for this build, in the format: `projects/{project}/locations/{location}/connections/{connection}/gitRepositoryLinks/{repositoryLink}`", +"readOnly": true, +"type": "string" +}, +"uri": { +"description": "Output only. A URI linking to the codebase on an hosting provider's website. May not be valid if the commit has been rebased or force-pushed out of existence in the linked repository.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"Config": { +"description": "Additional configuration of the backend for this build.", +"id": "Config", +"properties": { +"effectiveEnv": { +"description": "Output only. [OUTPUT_ONLY] This field represents all environment variables employed during both the build and runtime. This list reflects the result of merging variables from all sources (Backend.override_env, Build.Config.env, YAML, defaults, system). Each variable includes its `origin`", +"items": { +"$ref": "EnvironmentVariable" +}, +"readOnly": true, +"type": "array" +}, +"env": { +"description": "Optional. Supplied environment variables for a specific build. Provided at Build creation time and immutable afterwards. This field is only applicable for Builds using a build image - (e.g., ContainerSource or ArchiveSource with locally_built_source) Attempts to set this for other build types will result in an error", +"items": { +"$ref": "EnvironmentVariable" +}, +"type": "array" +}, +"runConfig": { +"$ref": "RunConfig", +"description": "Optional. Additional configuration of the Cloud Run [`service`](https://cloud.google.com/run/docs/reference/rest/v2/projects.locations.services#resource:-service)." +} +}, +"type": "object" +}, +"ContainerSource": { +"description": "The URI of an Artifact Registry [container image](https://cloud.google.com/artifact-registry/docs/reference/rest/v1/projects.locations.repositories.dockerImages) to use as the build source.", +"id": "ContainerSource", +"properties": { +"image": { +"description": "Required. A URI representing a container for the backend to use.", +"type": "string" +} +}, +"type": "object" +}, +"CustomDomainOperationMetadata": { +"description": "Additional metadata for operations on custom domains.", +"id": "CustomDomainOperationMetadata", +"properties": { +"certState": { +"description": "Output only. The custom domain's `CertState`, which must be `CERT_ACTIVE` for the create operations to complete.", +"enum": [ +"CERT_STATE_UNSPECIFIED", +"CERT_PREPARING", +"CERT_VALIDATING", +"CERT_PROPAGATING", +"CERT_ACTIVE", +"CERT_EXPIRING_SOON", +"CERT_EXPIRED" +], +"enumDescriptions": [ +"The certificate's state is unspecified. The message is invalid if this is unspecified.", +"The initial state of every certificate, represents App Hosting's intent to create a certificate before requests to a Certificate Authority are made.", +"App Hosting is validating whether a domain name's DNS records are in a state that allow certificate creation on its behalf.", +"The certificate was recently created, and needs time to propagate in App Hosting's load balancers.", +"The certificate is active, providing secure connections for the domain names it represents.", +"The certificate is expiring, all domain names on it will be given new certificates.", +"The certificate has expired. App Hosting can no longer serve secure content on your domain name." +], +"readOnly": true, +"type": "string" +}, +"hostState": { +"description": "Output only. The custom domain's `HostState`, which must be `HOST_ACTIVE` for Create operations of the domain name this `CustomDomain` refers toto complete.", +"enum": [ +"HOST_STATE_UNSPECIFIED", +"HOST_UNHOSTED", +"HOST_UNREACHABLE", +"HOST_NON_FAH", +"HOST_CONFLICT", +"HOST_WRONG_SHARD", +"HOST_ACTIVE" +], +"enumDescriptions": [ +"Your custom domain's host state is unspecified. The message is invalid if this is unspecified.", +"Your custom domain isn't associated with any IP addresses.", +"Your custom domain can't be reached. App Hosting services' DNS queries to find your domain's IP addresses resulted in errors. See your `CustomDomainStatus`'s `issues` field for more details.", +"Your domain has only IP addresses that don't ultimately resolve to App Hosting.", +"Your domain has IP addresses that resolve to both App Hosting and to other services. To ensure consistent results, remove `A` and `AAAA` records related to non-App-Hosting services.", +"Your domain has IP addresses that resolve to an incorrect instance of the App Hosting Data Plane. App Hosting has multiple data plane instances to ensure high availability. The SSL certificate that App Hosting creates for your domain is only available on its assigned instance. If your domain's IP addresses resolve to an incorrect instance, App Hosting won't be able to serve secure content on it.", +"All requests against your domain are served by App Hosting, via your domain's assigned shard. If the custom domain's `OwnershipState` is also `OWNERSHIP_ACTIVE`, App Hosting serves its backend's content on requests for the domain." +], +"readOnly": true, +"type": "string" +}, +"issues": { +"description": "Output only. A list of issues that are currently preventing the operation from completing. These are generally DNS-related issues encountered when querying a domain's records or attempting to mint an SSL certificate.", +"items": { +"$ref": "Status" +}, +"readOnly": true, +"type": "array" +}, +"liveMigrationSteps": { +"description": "Output only. A list of steps that the user must complete to migrate their domain to App Hosting without downtime.", +"items": { +"$ref": "LiveMigrationStep" +}, +"readOnly": true, +"type": "array" +}, +"ownershipState": { +"description": "Output only. The custom domain's `OwnershipState`, which must be `OWNERSHIP_ACTIVE` for the create operations to complete.", +"enum": [ +"OWNERSHIP_STATE_UNSPECIFIED", +"OWNERSHIP_MISSING", +"OWNERSHIP_UNREACHABLE", +"OWNERSHIP_MISMATCH", +"OWNERSHIP_CONFLICT", +"OWNERSHIP_PENDING", +"OWNERSHIP_ACTIVE" +], +"enumDescriptions": [ +"Your custom domain's ownership state is unspecified. This should never happen.", +"Your custom domain's domain has no App-Hosting-related ownership records; no backend is authorized to serve on the domain in this Origin shard.", +"Your custom domain can't be reached. App Hosting services' DNS queries to find your domain's ownership records resulted in errors. See your `CustomDomainStatus`'s `issues` field for more details.", +"Your custom domain is owned by another App Hosting custom domain. Remove the conflicting records and replace them with records for your current custom domain.", +"Your custom domain has conflicting `TXT` records that indicate ownership by both your current custom domain one or more others. Remove the extraneous ownership records to grant the current custom domain ownership.", +"Your custom domain's DNS records are configured correctly. App Hosting will transfer ownership of your domain to this custom domain within 24 hours.", +"Your custom domain owns its domain." +], +"readOnly": true, +"type": "string" +}, +"quickSetupUpdates": { +"description": "Output only. A set of DNS record updates to perform, to allow App Hosting to serve secure content on the domain.", +"items": { +"$ref": "DnsUpdates" +}, +"readOnly": true, +"type": "array" +} +}, +"type": "object" +}, +"CustomDomainStatus": { +"description": "The status of a custom domain's linkage to a backend.", +"id": "CustomDomainStatus", +"properties": { +"certState": { +"description": "Output only. Tracks SSL certificate status for the domain.", +"enum": [ +"CERT_STATE_UNSPECIFIED", +"CERT_PREPARING", +"CERT_VALIDATING", +"CERT_PROPAGATING", +"CERT_ACTIVE", +"CERT_EXPIRING_SOON", +"CERT_EXPIRED" +], +"enumDescriptions": [ +"The certificate's state is unspecified. The message is invalid if this is unspecified.", +"The initial state of every certificate, represents App Hosting's intent to create a certificate before requests to a Certificate Authority are made.", +"App Hosting is validating whether a domain name's DNS records are in a state that allow certificate creation on its behalf.", +"The certificate was recently created, and needs time to propagate in App Hosting's load balancers.", +"The certificate is active, providing secure connections for the domain names it represents.", +"The certificate is expiring, all domain names on it will be given new certificates.", +"The certificate has expired. App Hosting can no longer serve secure content on your domain name." +], +"readOnly": true, +"type": "string" +}, +"hostState": { +"description": "Output only. Tracks whether a custom domain is detected as appropriately directing traffic to App Hosting.", +"enum": [ +"HOST_STATE_UNSPECIFIED", +"HOST_UNHOSTED", +"HOST_UNREACHABLE", +"HOST_NON_FAH", +"HOST_CONFLICT", +"HOST_WRONG_SHARD", +"HOST_ACTIVE" +], +"enumDescriptions": [ +"Your custom domain's host state is unspecified. The message is invalid if this is unspecified.", +"Your custom domain isn't associated with any IP addresses.", +"Your custom domain can't be reached. App Hosting services' DNS queries to find your domain's IP addresses resulted in errors. See your `CustomDomainStatus`'s `issues` field for more details.", +"Your domain has only IP addresses that don't ultimately resolve to App Hosting.", +"Your domain has IP addresses that resolve to both App Hosting and to other services. To ensure consistent results, remove `A` and `AAAA` records related to non-App-Hosting services.", +"Your domain has IP addresses that resolve to an incorrect instance of the App Hosting Data Plane. App Hosting has multiple data plane instances to ensure high availability. The SSL certificate that App Hosting creates for your domain is only available on its assigned instance. If your domain's IP addresses resolve to an incorrect instance, App Hosting won't be able to serve secure content on it.", +"All requests against your domain are served by App Hosting, via your domain's assigned shard. If the custom domain's `OwnershipState` is also `OWNERSHIP_ACTIVE`, App Hosting serves its backend's content on requests for the domain." +], +"readOnly": true, +"type": "string" +}, +"issues": { +"description": "Output only. A list of issues with domain configuration. Allows users to self-correct problems with DNS records.", +"items": { +"$ref": "Status" +}, +"readOnly": true, +"type": "array" +}, +"ownershipState": { +"description": "Output only. Tracks whether the backend is permitted to serve content on the domain, based off the domain's DNS records.", +"enum": [ +"OWNERSHIP_STATE_UNSPECIFIED", +"OWNERSHIP_MISSING", +"OWNERSHIP_UNREACHABLE", +"OWNERSHIP_MISMATCH", +"OWNERSHIP_CONFLICT", +"OWNERSHIP_PENDING", +"OWNERSHIP_ACTIVE" +], +"enumDescriptions": [ +"Your custom domain's ownership state is unspecified. This should never happen.", +"Your custom domain's domain has no App-Hosting-related ownership records; no backend is authorized to serve on the domain in this Origin shard.", +"Your custom domain can't be reached. App Hosting services' DNS queries to find your domain's ownership records resulted in errors. See your `CustomDomainStatus`'s `issues` field for more details.", +"Your custom domain is owned by another App Hosting custom domain. Remove the conflicting records and replace them with records for your current custom domain.", +"Your custom domain has conflicting `TXT` records that indicate ownership by both your current custom domain one or more others. Remove the extraneous ownership records to grant the current custom domain ownership.", +"Your custom domain's DNS records are configured correctly. App Hosting will transfer ownership of your domain to this custom domain within 24 hours.", +"Your custom domain owns its domain." +], +"readOnly": true, +"type": "string" +}, +"requiredDnsUpdates": { +"description": "Output only. Lists the records that must added or removed to a custom domain's DNS in order to finish setup and start serving content. Field is present during onboarding. Also present after onboarding if one or more of the above states is not *_ACTIVE, indicating the domain's DNS records are in a bad state.", +"items": { +"$ref": "DnsUpdates" +}, +"readOnly": true, +"type": "array" +} +}, +"type": "object" +}, +"DnsRecord": { +"description": "A representation of a DNS records for a domain. DNS records are resource records that define how systems and services should behave when handling requests for a domain. For example, when you add `A` records to your domain's DNS records, you're informing other systems (such as your users' web browsers) to contact those IPv4 addresses to retrieve resources relevant to your domain (such as your App Hosting files).", +"id": "DnsRecord", +"properties": { +"domainName": { +"description": "Output only. The domain the record pertains to, e.g. `foo.bar.com.`.", +"readOnly": true, +"type": "string" +}, +"rdata": { +"description": "Output only. The data of the record. The meaning of the value depends on record type: - A and AAAA: IP addresses for the domain. - CNAME: Another domain to check for records. - TXT: Arbitrary text strings associated with the domain. App Hosting uses TXT records to determine which Firebase projects have permission to act on the domain's behalf. - CAA: The record's flags, tag, and value, e.g. `0 issue \"pki.goog\"`.", +"readOnly": true, +"type": "string" +}, +"relevantState": { +"description": "Output only. An enum that indicates which state(s) this DNS record applies to. Populated for all records with an `ADD` or `REMOVE` required action.", +"items": { +"enum": [ +"CUSTOM_DOMAIN_STATE_UNSPECIFIED", +"HOST_STATE", +"OWNERSHIP_STATE", +"CERT_STATE" +], +"enumDescriptions": [ +"This message is invalid if this is unspecified.", +"The custom domain's host state.", +"The custom domain's ownership state.", +"The custom domain's certificate state." +], +"type": "string" +}, +"readOnly": true, +"type": "array" +}, +"requiredAction": { +"description": "Output only. An enum that indicates the a required action for this record. Populated when the record is part of a required change in a `DnsUpdates` `discovered` or `desired` record set.", +"enum": [ +"NONE", +"ADD", +"REMOVE" +], +"enumDescriptions": [ +"No action necessary.", +"Add this record to your DNS records.", +"Remove this record from your DNS records." +], +"readOnly": true, +"type": "string" +}, +"type": { +"description": "Output only. The record's type, which determines what data the record contains.", +"enum": [ +"TYPE_UNSPECIFIED", +"A", +"CNAME", +"TXT", +"AAAA", +"CAA" +], +"enumDescriptions": [ +"The record's type is unspecified. The message is invalid if this is unspecified.", +"An `A` record, as defined in [RFC 1035](https://tools.ietf.org/html/rfc1035). A records determine which IPv4 addresses a domain directs traffic towards.", +"A `CNAME` record, as defined in [RFC 1035](https://tools.ietf.org/html/rfc1035). `CNAME` or Canonical Name records map a domain to a different, canonical domain. If a `CNAME` record is present, it should be the only record on the domain.", +"A `TXT` record, as defined in [RFC 1035](https://tools.ietf.org/html/rfc1035). `TXT` records hold arbitrary text data on a domain. Hosting uses `TXT` records to establish which Firebase Project has permission to act on a domain.", +"An AAAA record, as defined in [RFC 3596](https://tools.ietf.org/html/rfc3596) AAAA records determine which IPv6 addresses a domain directs traffic towards.", +"A CAA record, as defined in [RFC 6844](https://tools.ietf.org/html/rfc6844). CAA, or Certificate Authority Authorization, records determine which Certificate Authorities (SSL certificate minting organizations) are authorized to mint a certificate for the domain. App Hosting uses `pki.goog` as its primary CA. CAA records cascade. A CAA record on `foo.com` also applies to `bar.foo.com` unless `bar.foo.com` has its own set of CAA records. CAA records are optional. If a domain and its parents have no CAA records, all CAs are authorized to mint certificates on its behalf. In general, App Hosting only asks you to modify CAA records when doing so is required to unblock SSL cert creation." +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"DnsRecordSet": { +"description": "A set of DNS records relevant to the setup and maintenance of a custom domain in App Hosting.", +"id": "DnsRecordSet", +"properties": { +"checkError": { +"$ref": "Status", +"description": "Output only. An error App Hosting services encountered when querying your domain's DNS records. Note: App Hosting ignores `NXDOMAIN` errors, as those generally just mean that a domain name hasn't been set up yet.", +"readOnly": true +}, +"domainName": { +"description": "Output only. The domain name the record set pertains to.", +"readOnly": true, +"type": "string" +}, +"records": { +"description": "Output only. Records on the domain.", +"items": { +"$ref": "DnsRecord" +}, +"readOnly": true, +"type": "array" +} +}, +"type": "object" +}, +"DnsUpdates": { +"description": "A set of DNS record updates that you should make to allow App Hosting to serve secure content in response to requests against your domain. These updates present the current state of your domain's and related subdomains' DNS records when App Hosting last queried them, and the desired set of records that App Hosting needs to see before your custom domain can be fully active.", +"id": "DnsUpdates", +"properties": { +"checkTime": { +"description": "Output only. The last time App Hosting checked your custom domain's DNS records.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"desired": { +"description": "Output only. The set of DNS records App Hosting needs in order to be able to serve secure content on the domain.", +"items": { +"$ref": "DnsRecordSet" +}, +"readOnly": true, +"type": "array" +}, +"discovered": { +"description": "Output only. The set of DNS records App Hosting discovered when inspecting a domain.", +"items": { +"$ref": "DnsRecordSet" +}, +"readOnly": true, +"type": "array" +}, +"domainName": { +"description": "Output only. The domain name the DNS updates pertain to.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"Domain": { +"description": "A domain name that is associated with a backend.", +"id": "Domain", +"properties": { +"annotations": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. Annotations as key value pairs.", +"type": "object" +}, +"createTime": { +"description": "Output only. Time at which the domain was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"customDomainStatus": { +"$ref": "CustomDomainStatus", +"description": "Output only. Represents the state and configuration of a `CUSTOM` type domain. It is only present on Domains of that type.", +"readOnly": true +}, +"deleteTime": { +"description": "Output only. Time at which the domain was deleted.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"disabled": { +"description": "Optional. Whether the domain is disabled. Defaults to false.", +"type": "boolean" +}, +"displayName": { +"description": "Optional. Mutable human-readable name for the domain. 63 character limit. e.g. `prod domain`.", +"type": "string" +}, +"etag": { +"description": "Output only. Server-computed checksum based on other values; may be sent on update or delete to ensure operation is done on expected resource.", +"readOnly": true, +"type": "string" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. Labels as key value pairs.", +"type": "object" +}, +"name": { +"description": "Identifier. The resource name of the domain, e.g. `/projects/p/locations/l/backends/b/domains/foo.com`", +"type": "string" +}, +"purgeTime": { +"description": "Output only. Time at which a soft-deleted domain will be purged, rendering in permanently deleted.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"reconciling": { +"description": "Output only. A field that, if true, indicates that the build has an ongoing LRO.", +"readOnly": true, +"type": "boolean" +}, +"serve": { +"$ref": "ServingBehavior", +"description": "Optional. The serving behavior of the domain. If specified, the domain will serve content other than its backend's live content." +}, +"type": { +"description": "Output only. The type of the domain.", +"enum": [ +"TYPE_UNSPECIFIED", +"DEFAULT", +"CUSTOM" +], +"enumDescriptions": [ +"The type is unspecified (this should not happen).", +"Default, App Hosting-provided and managed domains. These domains are created automatically with their parent backend and cannot be deleted except by deleting that parent, and cannot be moved to another backend. Default domains can be disabled via the `disabled` field.", +"Custom, developer-owned domains. Custom Domains allow you to associate a domain you own with your App Hosting backend, and configure that domain to serve your backend's content." +], +"readOnly": true, +"type": "string" +}, +"uid": { +"description": "Output only. System-assigned, unique identifier.", +"readOnly": true, +"type": "string" +}, +"updateTime": { +"description": "Output only. Time at which the domain was last updated.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"DomainOperationMetadata": { +"description": "Represents the metadata of a long-running operation on domains.", +"id": "DomainOperationMetadata", +"properties": { +"apiVersion": { +"description": "Output only. API version used to start the operation.", +"readOnly": true, +"type": "string" +}, +"createTime": { +"description": "Output only. The time the operation was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"customDomainOperationMetadata": { +"$ref": "CustomDomainOperationMetadata", +"description": "Output only. Additional metadata for operations on custom domains.", +"readOnly": true +}, +"endTime": { +"description": "Output only. The time the operation finished running.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"requestedCancellation": { +"description": "Output only. Identifies whether the user has requested cancellation of the operation. Operations that have been cancelled successfully have Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.", +"readOnly": true, +"type": "boolean" +}, +"statusMessage": { +"description": "Output only. Human-readable status of the operation, if any.", +"readOnly": true, +"type": "string" +}, +"target": { +"description": "Output only. Server-defined resource path for the target of the operation.", +"readOnly": true, +"type": "string" +}, +"verb": { +"description": "Output only. Name of the verb executed by the operation.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"Empty": { +"description": "A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }", +"id": "Empty", +"properties": {}, +"type": "object" +}, +"EnvironmentVariable": { +"description": "Environment variables for this build.", +"id": "EnvironmentVariable", +"properties": { +"availability": { +"description": "Optional. Where this variable should be made available. If left unspecified, will be available in both BUILD and BACKEND.", +"items": { +"enum": [ +"AVAILABILITY_UNSPECIFIED", +"BUILD", +"RUNTIME" +], +"enumDescriptions": [ +"The default value, unspecified, which is unused.", +"This value is available when creating a Build from source code.", +"This value is available at runtime within Cloud Run." +], +"type": "string" +}, +"type": "array" +}, +"origin": { +"description": "Output only. The high-level origin category of the environment variable.", +"enum": [ +"ORIGIN_UNSPECIFIED", +"BACKEND_OVERRIDES", +"BUILD_CONFIG", +"APPHOSTING_YAML", +"FIREBASE_SYSTEM" +], +"enumDescriptions": [ +"Source is unspecified.", +"Variable was set on the backend resource (e.g. via API or Console). Represents variables from `Backend.override_env`", +"Variable was provided specifically for the build upon creation via the `Build.Config.env` field. Only used for pre-built images.", +"Variable is defined in apphosting.yaml file.", +"Variable is defined provided by the firebase platform." +], +"readOnly": true, +"type": "string" +}, +"originFileName": { +"description": "Output only. Specific detail about the source. For APPHOSTING_YAML origins, this will contain the exact filename, such as \"apphosting.yaml\" or \"apphosting.staging.yaml\".", +"readOnly": true, +"type": "string" +}, +"secret": { +"description": "A fully qualified secret version. The value of the secret will be accessed once while building the application and once per cold start of the container at runtime. The service account used by Cloud Build and by Cloud Run must each have the `secretmanager.versions.access` permission on the secret.", +"type": "string" +}, +"value": { +"description": "A plaintext value. This value is encrypted at rest, but all project readers can view the value when reading your backend configuration.", +"type": "string" +}, +"variable": { +"description": "Required. The name of the environment variable. - Must be a valid environment variable name (e.g. A-Z or underscores). - May not start with \"FIREBASE\" or \"GOOGLE\". - May not be a reserved environment variable for KNative/Cloud Run", +"type": "string" +} +}, +"type": "object" +}, +"Error": { +"description": "The container for the rpc status and source for any errors found during the build process.", +"id": "Error", +"properties": { +"cloudResource": { +"description": "Output only. Resource link", +"readOnly": true, +"type": "string" +}, +"error": { +"$ref": "Status", +"description": "Output only. A status and (human readable) error message for the build, if in a `FAILED` state.", +"readOnly": true +}, +"errorSource": { +"description": "Output only. The source of the error for the build, if in a `FAILED` state.", +"enum": [ +"ERROR_SOURCE_UNSPECIFIED", +"CLOUD_BUILD", +"CLOUD_RUN" +], +"enumDescriptions": [ +"Indicates that generic error occurred outside of the Cloud Build or Cloud Run processes, such as a pre-empted or user-canceled App Hosting Build.", +"Indicates that the build failed during the Cloud Build process, such as a build timeout.", +"Indicates that the build failed during the Cloud Run process, such as a service creation failure." +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"ListBackendsResponse": { +"description": "Message for response to list backends", +"id": "ListBackendsResponse", +"properties": { +"backends": { +"description": "The list of backends", +"items": { +"$ref": "Backend" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A token identifying the next page of results the server should return.", +"type": "string" +}, +"unreachable": { +"description": "Locations that could not be reached.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListBuildsResponse": { +"description": "Message for response to list builds.", +"id": "ListBuildsResponse", +"properties": { +"builds": { +"description": "The list of builds.", +"items": { +"$ref": "Build" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A token identifying the next page of results the server should return.", +"type": "string" +}, +"unreachable": { +"description": "Locations that could not be reached.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListDomainsResponse": { +"description": "Message for response to list domains.", +"id": "ListDomainsResponse", +"properties": { +"domains": { +"description": "Output only. The list of domains.", +"items": { +"$ref": "Domain" +}, +"readOnly": true, +"type": "array" +}, +"nextPageToken": { +"description": "Output only. A token identifying the next page of results the server should return.", +"readOnly": true, +"type": "string" +}, +"unreachable": { +"description": "Output only. Locations that could not be reached.", +"items": { +"type": "string" +}, +"readOnly": true, +"type": "array" +} +}, +"type": "object" +}, +"ListLocationsResponse": { +"description": "The response message for Locations.ListLocations.", +"id": "ListLocationsResponse", +"properties": { +"locations": { +"description": "A list of locations that matches the specified filter in the request.", +"items": { +"$ref": "Location" +}, +"type": "array" +}, +"nextPageToken": { +"description": "The standard List next-page token.", +"type": "string" +} +}, +"type": "object" +}, +"ListOperationsResponse": { +"description": "The response message for Operations.ListOperations.", +"id": "ListOperationsResponse", +"properties": { +"nextPageToken": { +"description": "The standard List next-page token.", +"type": "string" +}, +"operations": { +"description": "A list of operations that matches the specified filter in the request.", +"items": { +"$ref": "Operation" +}, +"type": "array" +}, +"unreachable": { +"description": "Unordered list. Unreachable resources. Populated when the request sets `ListOperationsRequest.return_partial_success` and reads across collections. For example, when attempting to list all resources across all supported locations.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListRolloutsResponse": { +"description": "Message for response to list rollouts.", +"id": "ListRolloutsResponse", +"properties": { +"nextPageToken": { +"description": "A token identifying the next page of results the server should return.", +"type": "string" +}, +"rollouts": { +"description": "The list of rollouts.", +"items": { +"$ref": "Rollout" +}, +"type": "array" +}, +"unreachable": { +"description": "Locations that could not be reached.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"LiveMigrationStep": { +"description": "A set of updates including ACME challenges and DNS records that allow App Hosting to create an SSL certificate and establish project ownership for your domain name before you direct traffic to App Hosting servers. Use these updates to facilitate zero downtime migrations to App Hosting from other services. After you've made the recommended updates, check your custom domain's `ownershipState` and `certState`. To avoid downtime, they should be `OWNERSHIP_ACTIVE` and `CERT_ACTIVE`, respectively, before you update your `A` and `AAAA` records.", +"id": "LiveMigrationStep", +"properties": { +"dnsUpdates": { +"description": "Output only. DNS updates to facilitate your domain's zero-downtime migration to App Hosting.", +"items": { +"$ref": "DnsUpdates" +}, +"readOnly": true, +"type": "array" +}, +"issues": { +"description": "Output only. Issues that prevent the current step from completing.", +"items": { +"$ref": "Status" +}, +"readOnly": true, +"type": "array" +}, +"relevantDomainStates": { +"description": "Output only. One or more states from the `CustomDomainStatus` of the migrating domain that this step is attempting to make ACTIVE. For example, if the step is attempting to mint an SSL certificate, this field will include `CERT_STATE`.", +"items": { +"enum": [ +"CUSTOM_DOMAIN_STATE_UNSPECIFIED", +"HOST_STATE", +"OWNERSHIP_STATE", +"CERT_STATE" +], +"enumDescriptions": [ +"This message is invalid if this is unspecified.", +"The custom domain's host state.", +"The custom domain's ownership state.", +"The custom domain's certificate state." +], +"type": "string" +}, +"readOnly": true, +"type": "array" +}, +"stepState": { +"description": "Output only. The state of the live migration step, indicates whether you should work to complete the step now, in the future, or have already completed it.", +"enum": [ +"STEP_STATE_UNSPECIFIED", +"PREPARING", +"PENDING", +"INCOMPLETE", +"PROCESSING", +"COMPLETE" +], +"enumDescriptions": [ +"The step's state is unspecified. The message is invalid if this is unspecified.", +"App Hosting doesn't have enough information to construct the step yet. Complete any prior steps and/or resolve this step's issue to proceed.", +"The step's state is pending. Complete prior steps before working on a `PENDING` step.", +"The step is incomplete. You should complete any `dnsUpdates` changes to complete it.", +"You've done your part to update records and present challenges as necessary. App Hosting is now completing background processes to complete the step, e.g. minting an SSL cert for your domain.", +"The step is complete. You've already made the necessary changes to your domain and/or prior hosting service to advance to the next step. Once all steps are complete, App Hosting is ready to serve secure content on your domain." +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"Location": { +"description": "A resource that represents a Google Cloud location.", +"id": "Location", +"properties": { +"displayName": { +"description": "The friendly name for this location, typically a nearby city name. For example, \"Tokyo\".", +"type": "string" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Cross-service attributes for the location. For example {\"cloud.googleapis.com/region\": \"us-east1\"}", +"type": "object" +}, +"locationId": { +"description": "The canonical id for this location. For example: `\"us-east1\"`.", +"type": "string" +}, +"metadata": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "Service-specific metadata. For example the available capacity at the given location.", +"type": "object" +}, +"name": { +"description": "Resource name for the location, which may vary between implementations. For example: `\"projects/example-project/locations/us-east1\"`", +"type": "string" +} +}, +"type": "object" +}, +"ManagedResource": { +"description": "An external resource managed by App Hosting on the project.", +"id": "ManagedResource", +"properties": { +"runService": { +"$ref": "RunService", +"description": "A Cloud Run [`service`](https://cloud.google.com/run/docs/reference/rest/v2/projects.locations.services#resource:-service), managed by App Hosting." +} +}, +"type": "object" +}, +"Operation": { +"description": "This resource represents a long-running operation that is the result of a network API call.", +"id": "Operation", +"properties": { +"done": { +"description": "If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.", +"type": "boolean" +}, +"error": { +"$ref": "Status", +"description": "The error result of the operation in case of failure or cancellation." +}, +"metadata": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.", +"type": "object" +}, +"name": { +"description": "The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.", +"type": "string" +}, +"response": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "The normal, successful response of the operation. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.", +"type": "object" +} +}, +"type": "object" +}, +"OperationMetadata": { +"description": "Represents the metadata of a long-running operation.", +"id": "OperationMetadata", +"properties": { +"apiVersion": { +"description": "Output only. API version used to start the operation.", +"readOnly": true, +"type": "string" +}, +"createTime": { +"description": "Output only. The time the operation was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"endTime": { +"description": "Output only. The time the operation finished running.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"requestedCancellation": { +"description": "Output only. Identifies whether the user has requested cancellation of the operation. Operations that have been cancelled successfully have Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.", +"readOnly": true, +"type": "boolean" +}, +"statusMessage": { +"description": "Output only. Human-readable status of the operation, if any.", +"readOnly": true, +"type": "string" +}, +"target": { +"description": "Output only. Server-defined resource path for the target of the operation.", +"readOnly": true, +"type": "string" +}, +"verb": { +"description": "Output only. Name of the verb executed by the operation.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"Path": { +"description": "A file path pattern to match against.", +"id": "Path", +"properties": { +"pattern": { +"description": "Optional. The pattern to match against.", +"type": "string" +}, +"type": { +"description": "Optional. The type of pattern to match against.", +"enum": [ +"PATTERN_TYPE_UNSPECIFIED", +"RE2", +"GLOB", +"PREFIX" +], +"enumDescriptions": [ +"The pattern type is unspecified - this is an invalid value.", +"RE2 - regular expression (https://github.com/google/re2/wiki/Syntax).", +"The pattern is a glob.", +"The pattern is a prefix." +], +"type": "string" +} +}, +"type": "object" +}, +"Redirect": { +"description": "Specifies redirect behavior for a domain.", +"id": "Redirect", +"properties": { +"status": { +"description": "Optional. The status code to use in a redirect response. Must be a valid HTTP 3XX status code. Defaults to 302 if not present.", +"format": "int64", +"type": "string" +}, +"uri": { +"description": "Required. The URI of the redirect's intended destination. This URI will be prepended to the original request path. URI without a scheme are assumed to be HTTPS.", +"type": "string" +} +}, +"type": "object" +}, +"Rollout": { +"description": "A single rollout of a build for a backend.", +"id": "Rollout", +"properties": { +"annotations": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. Unstructured key value map that may be set by external tools to store and arbitrary metadata. They are not queryable and should be preserved when modifying objects.", +"type": "object" +}, +"build": { +"description": "Required. Immutable. The name of a build that already exists. It doesn't have to be built; a rollout will wait for a build to be ready before updating traffic.", +"type": "string" +}, +"createTime": { +"description": "Output only. Time at which the rollout was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"deleteTime": { +"description": "Output only. Time at which the rollout was deleted.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"displayName": { +"description": "Optional. Human-readable name. 63 character limit.", +"type": "string" +}, +"error": { +"$ref": "Status", +"description": "Output only. A status and (human readable) error message for the rollout, if in a `FAILED` state.", +"readOnly": true +}, +"etag": { +"description": "Output only. Server-computed checksum based on other values; may be sent on update or delete to ensure operation is done on expected resource.", +"readOnly": true, +"type": "string" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. Unstructured key value map that can be used to organize and categorize objects.", +"type": "object" +}, +"name": { +"description": "Identifier. The resource name of the rollout. Format: `projects/{project}/locations/{locationId}/backends/{backendId}/rollouts/{rolloutId}`.", +"type": "string" +}, +"reconciling": { +"description": "Output only. A field that, if true, indicates that the Rollout currently has an LRO.", +"readOnly": true, +"type": "boolean" +}, +"state": { +"description": "Output only. The state of the rollout.", +"enum": [ +"STATE_UNSPECIFIED", +"QUEUED", +"PENDING_BUILD", +"PROGRESSING", +"PAUSED", +"SUCCEEDED", +"FAILED", +"CANCELLED", +"SKIPPED" +], +"enumDescriptions": [ +"The rollout is in an unknown state.", +"The rollout is waiting for actuation to begin. This may be because it is waiting on another rollout to complete.", +"The rollout is waiting for the build process to complete, which builds the code and sets up the underlying infrastructure.", +"The rollout has started and is actively modifying traffic.", +"The rollout has been paused due to either being manually paused or a PAUSED stage. This should be set while `paused = true`.", +"The rollout has completed.", +"The rollout has failed. See error for more information.", +"The rollout has been cancelled.", +"The rollout has been skipped." +], +"readOnly": true, +"type": "string" +}, +"uid": { +"description": "Output only. System-assigned, unique identifier.", +"readOnly": true, +"type": "string" +}, +"updateTime": { +"description": "Output only. Time at which the rollout was last updated.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"RolloutPolicy": { +"description": "The policy for how automatic builds and rollouts are triggered and rolled out.", +"id": "RolloutPolicy", +"properties": { +"codebaseBranch": { +"description": "If set, specifies a branch that triggers a new build to be started with this policy. Otherwise, no automatic rollouts will happen.", +"type": "string" +}, +"disabled": { +"description": "Optional. A flag that, if true, prevents automatic rollouts from being created via this RolloutPolicy.", +"type": "boolean" +}, +"disabledTime": { +"description": "Output only. If `disabled` is set, the time at which the automatic rollouts were disabled.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"ignoredPaths": { +"description": "Optional. A list of file paths patterns to exclude from triggering a rollout. Patterns in this list take precedence over required_paths. **Note**: All paths must be in the ignored_paths in order for the rollout to be skipped. Limited to 100 paths. Example: ignored_paths: { pattern: \"foo/bar/excluded/*\u201d type: GLOB }", +"items": { +"$ref": "Path" +}, +"type": "array" +}, +"requiredPaths": { +"description": "Optional. A list of file paths patterns that trigger a build and rollout if at least one of the changed files in the commit are present in this list. This field is optional; the rollout policy will default to triggering on all paths if not populated. Limited to 100 paths. Example: \u201crequired_paths: { pattern: \"foo/bar/*\u201d type: GLOB }", +"items": { +"$ref": "Path" +}, +"type": "array" +} +}, +"type": "object" +}, +"RunConfig": { +"description": "Configuration applied to the Cloud Run [`service`](https://cloud.google.com/run/docs/reference/rest/v2/projects.locations.services#resource:-service).", +"id": "RunConfig", +"properties": { +"concurrency": { +"description": "Optional. Maximum number of requests that each Cloud Run instance can receive. By default, each instance can receive Cloud Run's default of up to 80 requests at the same time. Concurrency can be set to any integer value up to 1000.", +"format": "int32", +"type": "integer" +}, +"cpu": { +"description": "Optional. Number of CPUs used for each serving instance. By default, cpu defaults to the Cloud Run's default of 1.0. CPU can be set to value 1, 2, 4, 6, or 8 CPUs, and for less than 1 CPU, a value from 0.08 to less than 1.00, in increments of 0.01. If you set a value of less than 1 CPU, you must set concurrency to 1, and CPU will only be allocated during request processing. Increasing CPUs limit may require increase in memory limits: - 4 CPUs: at least 2 GiB - 6 CPUs: at least 4 GiB - 8 CPUs: at least 4 GiB", +"format": "float", +"type": "number" +}, +"maxInstances": { +"description": "Optional. Number of Cloud Run instances to maintain at maximum for each revision. By default, each Cloud Run [`service`](https://cloud.google.com/run/docs/reference/rest/v2/projects.locations.services#resource:-service) scales out to Cloud Run's default of a maximum of 100 instances. The maximum max_instances limit is based on your quota. See https://cloud.google.com/run/docs/configuring/max-instances#limits.", +"format": "int32", +"type": "integer" +}, +"memoryMib": { +"description": "Optional. Amount of memory allocated for each serving instance in MiB. By default, memory defaults to the Cloud Run's default where each instance is allocated 512 MiB of memory. Memory can be set to any integer value between 128 to 32768. Increasing memory limit may require increase in CPUs limits: - Over 4 GiB: at least 2 CPUs - Over 8 GiB: at least 4 CPUs - Over 16 GiB: at least 6 CPUs - Over 24 GiB: at least 8 CPUs", +"format": "int32", +"type": "integer" +}, +"minInstances": { +"description": "Optional. Number of Cloud Run instances to maintain at minimum for each Cloud Run Service. By default, there are no minimum. Even if the service splits traffic across multiple revisions, the total number of instances for a service will be capped at this value.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"RunService": { +"description": "A managed Cloud Run [`service`](https://cloud.google.com/run/docs/reference/rest/v2/projects.locations.services#resource:-service).", +"id": "RunService", +"properties": { +"service": { +"description": "Optional. The name of the Cloud Run [`service`](https://cloud.google.com/run/docs/reference/rest/v2/projects.locations.services#resource:-service), in the format: `projects/{project}/locations/{location}/services/{serviceId}`", +"type": "string" +} +}, +"type": "object" +}, +"ServingBehavior": { +"description": "Indicates whether App Hosting will serve content on the domain.", +"id": "ServingBehavior", +"properties": { +"redirect": { +"$ref": "Redirect", +"description": "Optional. Redirect behavior for a domain, if provided." +} +}, +"type": "object" +}, +"SourceUserMetadata": { +"deprecated": true, +"description": "Deprecated: Not used. Metadata for the user who started the build.", +"id": "SourceUserMetadata", +"properties": { +"displayName": { +"deprecated": true, +"description": "Output only. Deprecated: Not used. The user-chosen displayname. May be empty.", +"readOnly": true, +"type": "string" +}, +"email": { +"deprecated": true, +"description": "Output only. Deprecated: Not used. The account email linked to the EUC that created the build. May be a service account or other robot account.", +"readOnly": true, +"type": "string" +}, +"imageUri": { +"deprecated": true, +"description": "Output only. Deprecated: Not used. The URI of a profile photo associated with the user who created the build.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"Status": { +"description": "The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors).", +"id": "Status", +"properties": { +"code": { +"description": "The status code, which should be an enum value of google.rpc.Code.", +"format": "int32", +"type": "integer" +}, +"details": { +"description": "A list of messages that carry the error details. There is a common set of message types for APIs to use.", +"items": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.", +"type": "string" +} +}, +"type": "object" +}, +"Traffic": { +"description": "Controls traffic configuration for the backend.", +"id": "Traffic", +"properties": { +"annotations": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. Unstructured key value map that may be set by external tools to store and arbitrary metadata. They are not queryable and should be preserved when modifying objects.", +"type": "object" +}, +"createTime": { +"description": "Output only. Time at which the backend was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"current": { +"$ref": "TrafficSet", +"description": "Output only. Current state of traffic allocation for the backend. When setting `target`, this field may differ for some time until the desired state is reached.", +"readOnly": true +}, +"etag": { +"description": "Output only. Server-computed checksum based on other values; may be sent on update or delete to ensure operation is done on expected resource.", +"readOnly": true, +"type": "string" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. Unstructured key value map that can be used to organize and categorize objects.", +"type": "object" +}, +"name": { +"description": "Identifier. The resource name of the backend's traffic. Format: `projects/{project}/locations/{locationId}/backends/{backendId}/traffic`.", +"type": "string" +}, +"reconciling": { +"description": "Output only. A field that, if true, indicates that the system is working to make the backend's `current` match the requested `target` list.", +"readOnly": true, +"type": "boolean" +}, +"rolloutPolicy": { +"$ref": "RolloutPolicy", +"description": "A rollout policy specifies how new builds and automatic deployments are created." +}, +"target": { +"$ref": "TrafficSet", +"description": "Set to manually control the desired traffic for the backend. This will cause `current` to eventually match this value. The percentages must add up to 100%." +}, +"uid": { +"description": "Output only. System-assigned, unique identifier.", +"readOnly": true, +"type": "string" +}, +"updateTime": { +"description": "Output only. Time at which the backend was last updated.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"TrafficSet": { +"description": "A list of traffic splits that together represent where traffic is being routed.", +"id": "TrafficSet", +"properties": { +"splits": { +"description": "Required. The list of traffic splits.", +"items": { +"$ref": "TrafficSplit" +}, +"type": "array" +} +}, +"type": "object" +}, +"TrafficSplit": { +"description": "The traffic allocation for the backend.", +"id": "TrafficSplit", +"properties": { +"build": { +"description": "Required. The build that traffic is being routed to.", +"type": "string" +}, +"percent": { +"description": "Required. The percentage of traffic to send to the build. Currently must be 100% or 0%.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"UserMetadata": { +"description": "Version control metadata for a user associated with a resolved codebase. Currently assumes a Git user.", +"id": "UserMetadata", +"properties": { +"displayName": { +"description": "Output only. The 'name' field in a Git user's git.config. Required by Git.", +"readOnly": true, +"type": "string" +}, +"email": { +"description": "Output only. The 'email' field in a Git user's git.config, if available.", +"readOnly": true, +"type": "string" +}, +"imageUri": { +"description": "Output only. The URI of an image file associated with the user's account in an external source control provider, if available.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +} +}, +"servicePath": "", +"title": "Firebase App Hosting API", +"version": "v1beta", +"version_module": true +} \ No newline at end of file diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/firebasedataconnect.v1beta.json b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/firebasedataconnect.v1beta.json new file mode 100644 index 0000000000000000000000000000000000000000..6460222e134c6c4d664f97c9589252a9724d5381 --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/firebasedataconnect.v1beta.json @@ -0,0 +1,2163 @@ +{ +"auth": { +"oauth2": { +"scopes": { +"https://www.googleapis.com/auth/cloud-platform": { +"description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." +} +} +} +}, +"basePath": "", +"baseUrl": "https://firebasedataconnect.googleapis.com/", +"batchPath": "batch", +"canonicalName": "Firebase Data Connect", +"description": "Firebase Data Connect is a relational database service for mobile and web apps that lets you build and scale using a fully-managed PostgreSQL database powered by Cloud SQL. The REST API lets developers manage the connections to their database, change the schema of their database, and query the database.", +"discoveryVersion": "v1", +"documentationLink": "https://firebase.google.com/docs/data-connect", +"fullyEncodeReservedExpansion": true, +"icons": { +"x16": "http://www.google.com/images/icons/product/search-16.gif", +"x32": "http://www.google.com/images/icons/product/search-32.gif" +}, +"id": "firebasedataconnect:v1beta", +"kind": "discovery#restDescription", +"mtlsRootUrl": "https://firebasedataconnect.mtls.googleapis.com/", +"name": "firebasedataconnect", +"ownerDomain": "google.com", +"ownerName": "Google", +"parameters": { +"$.xgafv": { +"description": "V1 error format.", +"enum": [ +"1", +"2" +], +"enumDescriptions": [ +"v1 error format", +"v2 error format" +], +"location": "query", +"type": "string" +}, +"access_token": { +"description": "OAuth access token.", +"location": "query", +"type": "string" +}, +"alt": { +"default": "json", +"description": "Data format for response.", +"enum": [ +"json", +"media", +"proto" +], +"enumDescriptions": [ +"Responses with Content-Type of application/json", +"Media download with context-dependent Content-Type", +"Responses with Content-Type of application/x-protobuf" +], +"location": "query", +"type": "string" +}, +"callback": { +"description": "JSONP", +"location": "query", +"type": "string" +}, +"fields": { +"description": "Selector specifying which fields to include in a partial response.", +"location": "query", +"type": "string" +}, +"key": { +"description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", +"location": "query", +"type": "string" +}, +"oauth_token": { +"description": "OAuth 2.0 token for the current user.", +"location": "query", +"type": "string" +}, +"prettyPrint": { +"default": "true", +"description": "Returns response with indentations and line breaks.", +"location": "query", +"type": "boolean" +}, +"quotaUser": { +"description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.", +"location": "query", +"type": "string" +}, +"uploadType": { +"description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", +"location": "query", +"type": "string" +}, +"upload_protocol": { +"description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", +"location": "query", +"type": "string" +} +}, +"protocol": "rest", +"resources": { +"projects": { +"resources": { +"locations": { +"methods": { +"get": { +"description": "Gets information about a location.", +"flatPath": "v1beta/projects/{projectsId}/locations/{locationsId}", +"httpMethod": "GET", +"id": "firebasedataconnect.projects.locations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Resource name for the location.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta/{+name}", +"response": { +"$ref": "Location" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists information about the supported locations for this service. This method can be called in two ways: * **List all public locations:** Use the path `GET /v1/locations`. * **List project-visible locations:** Use the path `GET /v1/projects/{project_id}/locations`. This may include public locations as well as private or other locations specifically visible to the project.", +"flatPath": "v1beta/projects/{projectsId}/locations", +"httpMethod": "GET", +"id": "firebasedataconnect.projects.locations.list", +"parameterOrder": [ +"name" +], +"parameters": { +"extraLocationTypes": { +"description": "Optional. Do not use this field. It is unsupported and is ignored unless explicitly documented otherwise. This is primarily for internal usage.", +"location": "query", +"repeated": true, +"type": "string" +}, +"filter": { +"description": "A filter to narrow down results to a preferred subset. The filtering language accepts strings like `\"displayName=tokyo\"`, and is documented in more detail in [AIP-160](https://google.aip.dev/160).", +"location": "query", +"type": "string" +}, +"name": { +"description": "The resource that owns the locations collection, if applicable.", +"location": "path", +"pattern": "^projects/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The maximum number of results to return. If not set, the service selects a default.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A page token received from the `next_page_token` field in the response. Send that page token to receive the subsequent page.", +"location": "query", +"type": "string" +} +}, +"path": "v1beta/{+name}/locations", +"response": { +"$ref": "ListLocationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"operations": { +"methods": { +"cancel": { +"description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.", +"flatPath": "v1beta/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}:cancel", +"httpMethod": "POST", +"id": "firebasedataconnect.projects.locations.operations.cancel", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be cancelled.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta/{+name}:cancel", +"request": { +"$ref": "CancelOperationRequest" +}, +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.", +"flatPath": "v1beta/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}", +"httpMethod": "DELETE", +"id": "firebasedataconnect.projects.locations.operations.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be deleted.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta/{+name}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", +"flatPath": "v1beta/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}", +"httpMethod": "GET", +"id": "firebasedataconnect.projects.locations.operations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.", +"flatPath": "v1beta/projects/{projectsId}/locations/{locationsId}/operations", +"httpMethod": "GET", +"id": "firebasedataconnect.projects.locations.operations.list", +"parameterOrder": [ +"name" +], +"parameters": { +"filter": { +"description": "The standard list filter.", +"location": "query", +"type": "string" +}, +"name": { +"description": "The name of the operation's parent resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The standard list page size.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The standard list page token.", +"location": "query", +"type": "string" +}, +"returnPartialSuccess": { +"description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `\"projects/example/locations/-\"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1beta/{+name}/operations", +"response": { +"$ref": "ListOperationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"services": { +"methods": { +"create": { +"description": "Creates a new Service in a given project and location.", +"flatPath": "v1beta/projects/{projectsId}/locations/{locationsId}/services", +"httpMethod": "POST", +"id": "firebasedataconnect.projects.locations.services.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. Value of parent.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"serviceId": { +"description": "Required. The ID to use for the service, which will become the final component of the service's resource name.", +"location": "query", +"type": "string" +}, +"validateOnly": { +"description": "Optional. If set, validate the request and preview the Service, but do not actually create it.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1beta/{+parent}/services", +"request": { +"$ref": "Service" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a single Service.", +"flatPath": "v1beta/projects/{projectsId}/locations/{locationsId}/services/{servicesId}", +"httpMethod": "DELETE", +"id": "firebasedataconnect.projects.locations.services.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"allowMissing": { +"description": "Optional. If true and the Service is not found, the request will succeed but no action will be taken on the server.", +"location": "query", +"type": "boolean" +}, +"etag": { +"description": "Optional. The etag of the Service. If this is provided, it must match the server's etag.", +"location": "query", +"type": "string" +}, +"force": { +"description": "Optional. If set to true, any child resources (i.e. Schema, SchemaRevisions, Connectors, and ConnectorRevisions) will also be deleted. Otherwise, the request will only work if the Service has no child resources.", +"location": "query", +"type": "boolean" +}, +"name": { +"description": "Required. The name of the service to delete, in the format: ``` projects/{project}/locations/{location}/services/{service} ```", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/services/[^/]+$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes after the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"validateOnly": { +"description": "Optional. If set, validate the request and preview the Service, but do not actually delete it.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1beta/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"executeGraphql": { +"description": "Execute any GraphQL query and mutation against the Firebase Data Connect's generated GraphQL schema. Grants full read and write access to the connected data sources. Note: Use introspection query to explore the generated GraphQL schema.", +"flatPath": "v1beta/projects/{projectsId}/locations/{locationsId}/services/{servicesId}:executeGraphql", +"httpMethod": "POST", +"id": "firebasedataconnect.projects.locations.services.executeGraphql", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The relative resource name of Firebase Data Connect service, in the format: ``` projects/{project}/locations/{location}/services/{service} ```", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/services/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta/{+name}:executeGraphql", +"request": { +"$ref": "GraphqlRequest" +}, +"response": { +"$ref": "GraphqlResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"executeGraphqlRead": { +"description": "Execute any GraphQL query against the Firebase Data Connect's generated GraphQL schema. Grants full read to the connected data sources. `ExecuteGraphqlRead` is identical to `ExecuteGraphql` except it only accepts read-only query.", +"flatPath": "v1beta/projects/{projectsId}/locations/{locationsId}/services/{servicesId}:executeGraphqlRead", +"httpMethod": "POST", +"id": "firebasedataconnect.projects.locations.services.executeGraphqlRead", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The relative resource name of Firebase Data Connect service, in the format: ``` projects/{project}/locations/{location}/services/{service} ```", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/services/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta/{+name}:executeGraphqlRead", +"request": { +"$ref": "GraphqlRequest" +}, +"response": { +"$ref": "GraphqlResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets details of a single Service.", +"flatPath": "v1beta/projects/{projectsId}/locations/{locationsId}/services/{servicesId}", +"httpMethod": "GET", +"id": "firebasedataconnect.projects.locations.services.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the service to retrieve, in the format: ``` projects/{project}/locations/{location}/services/{service} ```", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/services/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta/{+name}", +"response": { +"$ref": "Service" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"introspectGraphql": { +"description": "Execute introspection query against the Firebase Data Connect's generated GraphQL schema. GraphQL introspection query provides metadata such as what tables the schema have, what queries and mutations can be performed on the schema, and so on. Read more at https://graphql.org/learn/introspection. IntrospectGraphql can read schema metadata but cannot read rows from Cloud SQL instance, which can be done via ExecuteGraphqlRead.", +"flatPath": "v1beta/projects/{projectsId}/locations/{locationsId}/services/{servicesId}:introspectGraphql", +"httpMethod": "POST", +"id": "firebasedataconnect.projects.locations.services.introspectGraphql", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The relative resource name of Firebase Data Connect service, in the format: ``` projects/{project}/locations/{location}/services/{service} ```", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/services/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta/{+name}:introspectGraphql", +"request": { +"$ref": "GraphqlRequest" +}, +"response": { +"$ref": "GraphqlResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists Services in a given project and location.", +"flatPath": "v1beta/projects/{projectsId}/locations/{locationsId}/services", +"httpMethod": "GET", +"id": "firebasedataconnect.projects.locations.services.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Optional. Filtering results.", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "Optional. Hint for how to order the results.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Optional. Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. A page token, received from a previous `ListServices` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListServices` must match the call that provided the page token.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. Value of parent.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta/{+parent}/services", +"response": { +"$ref": "ListServicesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates the parameters of a single Service.", +"flatPath": "v1beta/projects/{projectsId}/locations/{locationsId}/services/{servicesId}", +"httpMethod": "PATCH", +"id": "firebasedataconnect.projects.locations.services.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"allowMissing": { +"description": "Optional. If true and the Service is not found, a new Service will be created. In this case, `update_mask` is ignored.", +"location": "query", +"type": "boolean" +}, +"name": { +"description": "Identifier. The relative resource name of the Firebase Data Connect service, in the format: ``` projects/{project}/locations/{location}/services/{service} ``` Note that the service ID is specific to Firebase Data Connect and does not correspond to any of the instance IDs of the underlying data source connections.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/services/[^/]+$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"updateMask": { +"description": "Optional. Field mask is used to specify the fields to be overwritten in the Service resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +}, +"validateOnly": { +"description": "Optional. If set, validate the request and preview the Service, but do not actually update it.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1beta/{+name}", +"request": { +"$ref": "Service" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"connectors": { +"methods": { +"create": { +"description": "Creates a new Connector in a given project and location. The operations are validated against and must be compatible with the active schema. If the operations and schema are not compatible or if the schema is not present, this will result in an error.", +"flatPath": "v1beta/projects/{projectsId}/locations/{locationsId}/services/{servicesId}/connectors", +"httpMethod": "POST", +"id": "firebasedataconnect.projects.locations.services.connectors.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"connectorId": { +"description": "Required. The ID to use for the connector, which will become the final component of the connector's resource name.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. Value for parent.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/services/[^/]+$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"validateOnly": { +"description": "Optional. If set, validate the request and preview the Connector, but do not actually create it.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1beta/{+parent}/connectors", +"request": { +"$ref": "Connector" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a single Connector.", +"flatPath": "v1beta/projects/{projectsId}/locations/{locationsId}/services/{servicesId}/connectors/{connectorsId}", +"httpMethod": "DELETE", +"id": "firebasedataconnect.projects.locations.services.connectors.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"allowMissing": { +"description": "Optional. If true and the Connector is not found, the request will succeed but no action will be taken on the server.", +"location": "query", +"type": "boolean" +}, +"etag": { +"description": "Optional. The etag of the Connector. If this is provided, it must match the server's etag.", +"location": "query", +"type": "string" +}, +"force": { +"description": "Optional. If set to true, any child resources (i.e. ConnectorRevisions) will also be deleted. Otherwise, the request will only work if the Connector has no child resources.", +"location": "query", +"type": "boolean" +}, +"name": { +"description": "Required. The name of the connector to delete, in the format: ``` projects/{project}/locations/{location}/services/{service}/connectors/{connector} ```", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/services/[^/]+/connectors/[^/]+$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes after the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"validateOnly": { +"description": "Optional. If set, validate the request and preview the Connector, but do not actually delete it.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1beta/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"executeMutation": { +"description": "Execute a predefined mutation in a Connector.", +"flatPath": "v1beta/projects/{projectsId}/locations/{locationsId}/services/{servicesId}/connectors/{connectorsId}:executeMutation", +"httpMethod": "POST", +"id": "firebasedataconnect.projects.locations.services.connectors.executeMutation", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the connector to find the predefined mutation, in the format: ``` projects/{project}/locations/{location}/services/{service}/connectors/{connector} ```", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/services/[^/]+/connectors/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta/{+name}:executeMutation", +"request": { +"$ref": "ExecuteMutationRequest" +}, +"response": { +"$ref": "ExecuteMutationResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"executeQuery": { +"description": "Execute a predefined query in a Connector.", +"flatPath": "v1beta/projects/{projectsId}/locations/{locationsId}/services/{servicesId}/connectors/{connectorsId}:executeQuery", +"httpMethod": "POST", +"id": "firebasedataconnect.projects.locations.services.connectors.executeQuery", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the connector to find the predefined query, in the format: ``` projects/{project}/locations/{location}/services/{service}/connectors/{connector} ```", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/services/[^/]+/connectors/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta/{+name}:executeQuery", +"request": { +"$ref": "ExecuteQueryRequest" +}, +"response": { +"$ref": "ExecuteQueryResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets details of a single Connector.", +"flatPath": "v1beta/projects/{projectsId}/locations/{locationsId}/services/{servicesId}/connectors/{connectorsId}", +"httpMethod": "GET", +"id": "firebasedataconnect.projects.locations.services.connectors.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the connector to retrieve, in the format: ``` projects/{project}/locations/{location}/services/{service}/connectors/{connector} ```", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/services/[^/]+/connectors/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta/{+name}", +"response": { +"$ref": "Connector" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"impersonateMutation": { +"description": "Impersonate a mutation defined on a Firebase Data Connect connector. It grants the admin SDK access to mutations defined in the given connector. The caller can choose to impersonate a particular Firebase Auth user, or skip @auth completely.", +"flatPath": "v1beta/projects/{projectsId}/locations/{locationsId}/services/{servicesId}/connectors/{connectorsId}:impersonateMutation", +"httpMethod": "POST", +"id": "firebasedataconnect.projects.locations.services.connectors.impersonateMutation", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the connector to find the predefined query/mutation, in the format: ``` projects/{project}/locations/{location}/services/{service}/connectors/{connector} ```", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/services/[^/]+/connectors/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta/{+name}:impersonateMutation", +"request": { +"$ref": "ImpersonateRequest" +}, +"response": { +"$ref": "GraphqlResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"impersonateQuery": { +"description": "Impersonate a query defined on a Firebase Data Connect connector. It grants the admin SDK access to queries defined in the given connector. The caller can choose to impersonate a particular Firebase Auth user, or skip @auth completely.", +"flatPath": "v1beta/projects/{projectsId}/locations/{locationsId}/services/{servicesId}/connectors/{connectorsId}:impersonateQuery", +"httpMethod": "POST", +"id": "firebasedataconnect.projects.locations.services.connectors.impersonateQuery", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the connector to find the predefined query/mutation, in the format: ``` projects/{project}/locations/{location}/services/{service}/connectors/{connector} ```", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/services/[^/]+/connectors/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta/{+name}:impersonateQuery", +"request": { +"$ref": "ImpersonateRequest" +}, +"response": { +"$ref": "GraphqlResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists Connectors in a given project and location.", +"flatPath": "v1beta/projects/{projectsId}/locations/{locationsId}/services/{servicesId}/connectors", +"httpMethod": "GET", +"id": "firebasedataconnect.projects.locations.services.connectors.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Optional. Filtering results.", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "Optional. Hint for how to order the results.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Optional. Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. A page token, received from a previous `ListConnectors` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListConnectors` must match the call that provided the page token.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. Value of parent.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/services/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta/{+parent}/connectors", +"response": { +"$ref": "ListConnectorsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates the parameters of a single Connector, and creates a new ConnectorRevision with the updated Connector. The operations are validated against and must be compatible with the live schema. If the operations and schema are not compatible or if the schema is not present, this will result in an error.", +"flatPath": "v1beta/projects/{projectsId}/locations/{locationsId}/services/{servicesId}/connectors/{connectorsId}", +"httpMethod": "PATCH", +"id": "firebasedataconnect.projects.locations.services.connectors.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"allowMissing": { +"description": "Optional. If true and the Connector is not found, a new Connector will be created. In this case, `update_mask` is ignored.", +"location": "query", +"type": "boolean" +}, +"name": { +"description": "Identifier. The relative resource name of the connector, in the format: ``` projects/{project}/locations/{location}/services/{service}/connectors/{connector} ```", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/services/[^/]+/connectors/[^/]+$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"updateMask": { +"description": "Optional. Field mask is used to specify the fields to be overwritten in the Connector resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +}, +"validateOnly": { +"description": "Optional. If set, validate the request and preview the Connector, but do not actually update it.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1beta/{+name}", +"request": { +"$ref": "Connector" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"schemas": { +"methods": { +"create": { +"description": "Creates a new Schema in a given project and location. Only creation of `schemas/main` is supported and calling create with any other schema ID will result in an error.", +"flatPath": "v1beta/projects/{projectsId}/locations/{locationsId}/services/{servicesId}/schemas", +"httpMethod": "POST", +"id": "firebasedataconnect.projects.locations.services.schemas.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. Value for parent.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/services/[^/]+$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"schemaId": { +"description": "Required. The ID to use for the schema, which will become the final component of the schema's resource name. Currently, only `main` is supported and any other schema ID will result in an error.", +"location": "query", +"type": "string" +}, +"validateOnly": { +"description": "Optional. If set, validate the request and preview the Schema, but do not actually update it.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1beta/{+parent}/schemas", +"request": { +"$ref": "Schema" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a single Schema. Because the schema and connectors must be compatible at all times, if this is called while any connectors are active, this will result in an error.", +"flatPath": "v1beta/projects/{projectsId}/locations/{locationsId}/services/{servicesId}/schemas/{schemasId}", +"httpMethod": "DELETE", +"id": "firebasedataconnect.projects.locations.services.schemas.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"allowMissing": { +"description": "Optional. If true and the Schema is not found, the request will succeed but no action will be taken on the server.", +"location": "query", +"type": "boolean" +}, +"etag": { +"description": "Optional. The etag of the Schema. If this is provided, it must match the server's etag.", +"location": "query", +"type": "string" +}, +"force": { +"description": "Optional. If set to true, any child resources (i.e. SchemaRevisions) will also be deleted.", +"location": "query", +"type": "boolean" +}, +"name": { +"description": "Required. The name of the schema to delete, in the format: ``` projects/{project}/locations/{location}/services/{service}/schemas/{schema} ```", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/services/[^/]+/schemas/[^/]+$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes after the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"validateOnly": { +"description": "Optional. If set, validate the request and preview the Schema, but do not actually delete it.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1beta/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets details of a single Schema.", +"flatPath": "v1beta/projects/{projectsId}/locations/{locationsId}/services/{servicesId}/schemas/{schemasId}", +"httpMethod": "GET", +"id": "firebasedataconnect.projects.locations.services.schemas.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the schema to retrieve, in the format: ``` projects/{project}/locations/{location}/services/{service}/schemas/{schema} ```", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/services/[^/]+/schemas/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta/{+name}", +"response": { +"$ref": "Schema" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists Schemas in a given project and location.", +"flatPath": "v1beta/projects/{projectsId}/locations/{locationsId}/services/{servicesId}/schemas", +"httpMethod": "GET", +"id": "firebasedataconnect.projects.locations.services.schemas.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Optional. Filtering results.", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "Optional. Hint for how to order the results.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Optional. Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. A page token, received from a previous `ListSchemas` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListSchemas` must match the call that provided the page token.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. Value of parent.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/services/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta/{+parent}/schemas", +"response": { +"$ref": "ListSchemasResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates the parameters of a single Schema, and creates a new SchemaRevision with the updated Schema.", +"flatPath": "v1beta/projects/{projectsId}/locations/{locationsId}/services/{servicesId}/schemas/{schemasId}", +"httpMethod": "PATCH", +"id": "firebasedataconnect.projects.locations.services.schemas.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"allowMissing": { +"description": "Optional. If true and the Schema is not found, a new Schema will be created. In this case, `update_mask` is ignored.", +"location": "query", +"type": "boolean" +}, +"name": { +"description": "Identifier. The relative resource name of the schema, in the format: ``` projects/{project}/locations/{location}/services/{service}/schemas/{schema} ``` Right now, the only supported schema is \"main\".", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/services/[^/]+/schemas/[^/]+$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"updateMask": { +"description": "Optional. Field mask is used to specify the fields to be overwritten in the Schema resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +}, +"validateOnly": { +"description": "Optional. If set, validate the request and preview the Schema, but do not actually update it.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1beta/{+name}", +"request": { +"$ref": "Schema" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +} +} +} +} +} +}, +"revision": "20260201", +"rootUrl": "https://firebasedataconnect.googleapis.com/", +"schemas": { +"CancelOperationRequest": { +"description": "The request message for Operations.CancelOperation.", +"id": "CancelOperationRequest", +"properties": {}, +"type": "object" +}, +"ClientCache": { +"description": "Client caching settings of a connector.", +"id": "ClientCache", +"properties": { +"entityIdIncluded": { +"description": "Optional. A field that, if true, means that responses served by this connector will include entityIds in GraphQL response extensions. This helps the client SDK cache responses in an improved way, known as \"normalized caching\", if caching is enabled on the client. Each entityId is a stable key based on primary key values. Therefore, this field should only be set to true if the primary keys of accessed tables do not contain sensitive information.", +"type": "boolean" +}, +"strictValidationEnabled": { +"description": "Optional. A field that, if true, enables stricter validation on the connector source code to make sure the operation response shapes are suitable for client-side caching. This can include additional errors and warnings. For example, using the same alias for different fields is disallowed, as it may cause conflicts or confusion with normalized caching. (This field is off by default for compatibility, but enabling it is highly recommended to catch common caching pitfalls.)", +"type": "boolean" +} +}, +"type": "object" +}, +"CloudSqlInstance": { +"description": "Settings for CloudSQL instance configuration.", +"id": "CloudSqlInstance", +"properties": { +"instance": { +"description": "Required. Name of the CloudSQL instance, in the format: ``` projects/{project}/locations/{location}/instances/{instance} ```", +"type": "string" +} +}, +"type": "object" +}, +"Connector": { +"description": "Connector consists of a set of operations, i.e. queries and mutations.", +"id": "Connector", +"properties": { +"annotations": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. Stores small amounts of arbitrary data.", +"type": "object" +}, +"clientCache": { +"$ref": "ClientCache", +"description": "Optional. The client cache settings of the connector." +}, +"createTime": { +"description": "Output only. [Output only] Create time stamp.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"displayName": { +"description": "Optional. Mutable human-readable name. 63 character limit.", +"type": "string" +}, +"etag": { +"description": "Output only. This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding. [AIP-154](https://google.aip.dev/154)", +"readOnly": true, +"type": "string" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. Labels as key value pairs.", +"type": "object" +}, +"name": { +"description": "Identifier. The relative resource name of the connector, in the format: ``` projects/{project}/locations/{location}/services/{service}/connectors/{connector} ```", +"type": "string" +}, +"reconciling": { +"description": "Output only. A field that if true, indicates that the system is working to compile and deploy the connector.", +"readOnly": true, +"type": "boolean" +}, +"source": { +"$ref": "Source", +"description": "Required. The source files that comprise the connector." +}, +"uid": { +"description": "Output only. System-assigned, unique identifier.", +"readOnly": true, +"type": "string" +}, +"updateTime": { +"description": "Output only. [Output only] Update time stamp.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"DataConnectProperties": { +"description": "Data Connect specific properties for a path under response.data.", +"id": "DataConnectProperties", +"properties": { +"entityId": { +"description": "A single Entity ID. Set if the path points to a single entity.", +"type": "string" +}, +"entityIds": { +"description": "A list of Entity IDs. Set if the path points to an array of entities. An ID is present for each element of the array at the corresponding index.", +"items": { +"type": "string" +}, +"type": "array" +}, +"maxAge": { +"description": "The server-suggested duration before data under path is considered stale.", +"format": "google-duration", +"type": "string" +}, +"path": { +"description": "The path under response.data where the rest of the fields apply. Each element may be a string (field name) or number (array index). The root of response.data is denoted by the empty list `[]`.", +"items": { +"type": "any" +}, +"type": "array" +} +}, +"type": "object" +}, +"Datasource": { +"description": "A data source that backs Firebase Data Connect services.", +"id": "Datasource", +"properties": { +"httpGraphql": { +"$ref": "HttpGraphql", +"description": "HTTP GraphQL server webhook configurations." +}, +"postgresql": { +"$ref": "PostgreSql", +"description": "PostgreSQL configurations." +} +}, +"type": "object" +}, +"Empty": { +"description": "A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }", +"id": "Empty", +"properties": {}, +"type": "object" +}, +"ExecuteMutationRequest": { +"description": "The ExecuteMutation request to Firebase Data Connect.", +"id": "ExecuteMutationRequest", +"properties": { +"operationName": { +"description": "Required. The name of the GraphQL operation name. Required because all Connector operations must be named. See https://graphql.org/learn/queries/#operation-name.", +"type": "string" +}, +"variables": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"description": "Optional. Values for GraphQL variables provided in this request.", +"type": "object" +} +}, +"type": "object" +}, +"ExecuteMutationResponse": { +"description": "The ExecuteMutation response from Firebase Data Connect.", +"id": "ExecuteMutationResponse", +"properties": { +"data": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"description": "The result of executing the requested operation.", +"type": "object" +}, +"errors": { +"description": "Errors of this response.", +"items": { +"$ref": "GraphqlError" +}, +"type": "array" +}, +"extensions": { +"$ref": "GraphqlResponseExtensions", +"description": "Additional response information." +} +}, +"type": "object" +}, +"ExecuteQueryRequest": { +"description": "The ExecuteQuery request to Firebase Data Connect.", +"id": "ExecuteQueryRequest", +"properties": { +"operationName": { +"description": "Required. The name of the GraphQL operation name. Required because all Connector operations must be named. See https://graphql.org/learn/queries/#operation-name.", +"type": "string" +}, +"variables": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"description": "Optional. Values for GraphQL variables provided in this request.", +"type": "object" +} +}, +"type": "object" +}, +"ExecuteQueryResponse": { +"description": "The ExecuteQuery response from Firebase Data Connect.", +"id": "ExecuteQueryResponse", +"properties": { +"data": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"description": "The result of executing the requested operation.", +"type": "object" +}, +"errors": { +"description": "Errors of this response.", +"items": { +"$ref": "GraphqlError" +}, +"type": "array" +}, +"extensions": { +"$ref": "GraphqlResponseExtensions", +"description": "Additional response information." +} +}, +"type": "object" +}, +"File": { +"description": "Individual files.", +"id": "File", +"properties": { +"content": { +"description": "Required. The file's textual content.", +"type": "string" +}, +"path": { +"description": "Required. The file name including folder path, if applicable. The path should be relative to a local workspace (e.g. dataconnect/(schema|connector)/*.gql) and not an absolute path (e.g. /absolute/path/(schema|connector)/*.gql).", +"type": "string" +} +}, +"type": "object" +}, +"GraphqlError": { +"description": "GraphqlError conforms to the GraphQL error spec. https://spec.graphql.org/draft/#sec-Errors Firebase Data Connect API surfaces `GraphqlError` in various APIs: - Upon compile error, `UpdateSchema` and `UpdateConnector` return Code.Invalid_Argument with a list of `GraphqlError` in error details. - Upon query compile error, `ExecuteGraphql`, `ExecuteGraphqlRead` and `IntrospectGraphql` return Code.OK with a list of `GraphqlError` in response body. - Upon query execution error, `ExecuteGraphql`, `ExecuteGraphqlRead`, `ExecuteMutation`, `ExecuteQuery`, `IntrospectGraphql`, `ImpersonateQuery` and `ImpersonateMutation` all return Code.OK with a list of `GraphqlError` in response body.", +"id": "GraphqlError", +"properties": { +"extensions": { +"$ref": "GraphqlErrorExtensions", +"description": "Additional error information." +}, +"locations": { +"description": "The source locations where the error occurred. Locations should help developers and toolings identify the source of error quickly. Included in admin endpoints (`ExecuteGraphql`, `ExecuteGraphqlRead`, `IntrospectGraphql`, `ImpersonateQuery`, `ImpersonateMutation`, `UpdateSchema` and `UpdateConnector`) to reference the provided GraphQL GQL document. Omitted in `ExecuteMutation` and `ExecuteQuery` since the caller shouldn't have access access the underlying GQL source.", +"items": { +"$ref": "SourceLocation" +}, +"type": "array" +}, +"message": { +"description": "The detailed error message. The message should help developer understand the underlying problem without leaking internal data.", +"type": "string" +}, +"path": { +"description": "The result field which could not be populated due to error. Clients can use path to identify whether a null result is intentional or caused by a runtime error. It should be a list of string or index from the root of GraphQL query document.", +"items": { +"type": "any" +}, +"type": "array" +} +}, +"type": "object" +}, +"GraphqlErrorExtensions": { +"description": "GraphqlErrorExtensions contains additional information of `GraphqlError`.", +"id": "GraphqlErrorExtensions", +"properties": { +"code": { +"description": "Maps to canonical gRPC codes. If not specified, it represents `Code.INTERNAL`.", +"enum": [ +"OK", +"CANCELLED", +"UNKNOWN", +"INVALID_ARGUMENT", +"DEADLINE_EXCEEDED", +"NOT_FOUND", +"ALREADY_EXISTS", +"PERMISSION_DENIED", +"UNAUTHENTICATED", +"RESOURCE_EXHAUSTED", +"FAILED_PRECONDITION", +"ABORTED", +"OUT_OF_RANGE", +"UNIMPLEMENTED", +"INTERNAL", +"UNAVAILABLE", +"DATA_LOSS" +], +"enumDescriptions": [ +"Not an error; returned on success. HTTP Mapping: 200 OK", +"The operation was cancelled, typically by the caller. HTTP Mapping: 499 Client Closed Request", +"Unknown error. For example, this error may be returned when a `Status` value received from another address space belongs to an error space that is not known in this address space. Also errors raised by APIs that do not return enough error information may be converted to this error. HTTP Mapping: 500 Internal Server Error", +"The client specified an invalid argument. Note that this differs from `FAILED_PRECONDITION`. `INVALID_ARGUMENT` indicates arguments that are problematic regardless of the state of the system (e.g., a malformed file name). HTTP Mapping: 400 Bad Request", +"The deadline expired before the operation could complete. For operations that change the state of the system, this error may be returned even if the operation has completed successfully. For example, a successful response from a server could have been delayed long enough for the deadline to expire. HTTP Mapping: 504 Gateway Timeout", +"Some requested entity (e.g., file or directory) was not found. Note to server developers: if a request is denied for an entire class of users, such as gradual feature rollout or undocumented allowlist, `NOT_FOUND` may be used. If a request is denied for some users within a class of users, such as user-based access control, `PERMISSION_DENIED` must be used. HTTP Mapping: 404 Not Found", +"The entity that a client attempted to create (e.g., file or directory) already exists. HTTP Mapping: 409 Conflict", +"The caller does not have permission to execute the specified operation. `PERMISSION_DENIED` must not be used for rejections caused by exhausting some resource (use `RESOURCE_EXHAUSTED` instead for those errors). `PERMISSION_DENIED` must not be used if the caller can not be identified (use `UNAUTHENTICATED` instead for those errors). This error code does not imply the request is valid or the requested entity exists or satisfies other pre-conditions. HTTP Mapping: 403 Forbidden", +"The request does not have valid authentication credentials for the operation. HTTP Mapping: 401 Unauthorized", +"Some resource has been exhausted, perhaps a per-user quota, or perhaps the entire file system is out of space. HTTP Mapping: 429 Too Many Requests", +"The operation was rejected because the system is not in a state required for the operation's execution. For example, the directory to be deleted is non-empty, an rmdir operation is applied to a non-directory, etc. Service implementors can use the following guidelines to decide between `FAILED_PRECONDITION`, `ABORTED`, and `UNAVAILABLE`: (a) Use `UNAVAILABLE` if the client can retry just the failing call. (b) Use `ABORTED` if the client should retry at a higher level. For example, when a client-specified test-and-set fails, indicating the client should restart a read-modify-write sequence. (c) Use `FAILED_PRECONDITION` if the client should not retry until the system state has been explicitly fixed. For example, if an \"rmdir\" fails because the directory is non-empty, `FAILED_PRECONDITION` should be returned since the client should not retry unless the files are deleted from the directory. HTTP Mapping: 400 Bad Request", +"The operation was aborted, typically due to a concurrency issue such as a sequencer check failure or transaction abort. See the guidelines above for deciding between `FAILED_PRECONDITION`, `ABORTED`, and `UNAVAILABLE`. HTTP Mapping: 409 Conflict", +"The operation was attempted past the valid range. E.g., seeking or reading past end-of-file. Unlike `INVALID_ARGUMENT`, this error indicates a problem that may be fixed if the system state changes. For example, a 32-bit file system will generate `INVALID_ARGUMENT` if asked to read at an offset that is not in the range [0,2^32-1], but it will generate `OUT_OF_RANGE` if asked to read from an offset past the current file size. There is a fair bit of overlap between `FAILED_PRECONDITION` and `OUT_OF_RANGE`. We recommend using `OUT_OF_RANGE` (the more specific error) when it applies so that callers who are iterating through a space can easily look for an `OUT_OF_RANGE` error to detect when they are done. HTTP Mapping: 400 Bad Request", +"The operation is not implemented or is not supported/enabled in this service. HTTP Mapping: 501 Not Implemented", +"Internal errors. This means that some invariants expected by the underlying system have been broken. This error code is reserved for serious errors. HTTP Mapping: 500 Internal Server Error", +"The service is currently unavailable. This is most likely a transient condition, which can be corrected by retrying with a backoff. Note that it is not always safe to retry non-idempotent operations. See the guidelines above for deciding between `FAILED_PRECONDITION`, `ABORTED`, and `UNAVAILABLE`. HTTP Mapping: 503 Service Unavailable", +"Unrecoverable data loss or corruption. HTTP Mapping: 500 Internal Server Error" +], +"type": "string" +}, +"debugDetails": { +"description": "More detailed error message to assist debugging. It contains application business logic that are inappropriate to leak publicly. In the emulator, Data Connect API always includes it to assist local development and debugging. In the backend, ConnectorService always hides it. GraphqlService without impersonation always include it. GraphqlService with impersonation includes it only if explicitly opted-in with `include_debug_details` in `GraphqlRequestExtensions`.", +"type": "string" +}, +"file": { +"description": "The source file name where the error occurred. Included only for `UpdateSchema` and `UpdateConnector`, it corresponds to `File.path` of the provided `Source`.", +"type": "string" +}, +"warningLevel": { +"description": "Warning level describes the severity and required action to suppress this warning when Firebase CLI run into it.", +"enum": [ +"WARNING_LEVEL_UNKNOWN", +"LOG_ONLY", +"INTERACTIVE_ACK", +"REQUIRE_ACK", +"REQUIRE_FORCE" +], +"enumDescriptions": [ +"Warning level is not specified.", +"Display a warning without action needed.", +"Request a confirmation in interactive deployment flow.", +"Require an explicit confirmation in all deployment flows.", +"Require --force in all deployment flows." +], +"type": "string" +}, +"workarounds": { +"description": "Workarounds provide suggestions to address the compile errors or warnings.", +"items": { +"$ref": "Workaround" +}, +"type": "array" +} +}, +"type": "object" +}, +"GraphqlRequest": { +"description": "The GraphQL request to Firebase Data Connect. It strives to match the GraphQL over HTTP spec. https://github.com/graphql/graphql-over-http/blob/main/spec/GraphQLOverHTTP.md#post", +"id": "GraphqlRequest", +"properties": { +"extensions": { +"$ref": "GraphqlRequestExtensions", +"description": "Optional. Additional GraphQL request information." +}, +"operationName": { +"description": "Optional. The name of the GraphQL operation name. Required only if `query` contains multiple operations. See https://graphql.org/learn/queries/#operation-name.", +"type": "string" +}, +"query": { +"description": "Required. The GraphQL query document source.", +"type": "string" +}, +"variables": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"description": "Optional. Values for GraphQL variables provided in this request.", +"type": "object" +} +}, +"type": "object" +}, +"GraphqlRequestExtensions": { +"description": "GraphqlRequestExtensions contains additional information of `GraphqlRequest`.", +"id": "GraphqlRequestExtensions", +"properties": { +"impersonate": { +"$ref": "Impersonation", +"description": "Optional. If set, impersonate a request with given Firebase Auth context and evaluate the auth policies on the operation. If omitted, bypass any defined auth policies." +} +}, +"type": "object" +}, +"GraphqlResponse": { +"description": "The GraphQL response from Firebase Data Connect. It strives to match the GraphQL over HTTP spec. Note: Firebase Data Connect always responds with `Content-Type: application/json`. https://github.com/graphql/graphql-over-http/blob/main/spec/GraphQLOverHTTP.md#body", +"id": "GraphqlResponse", +"properties": { +"data": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"description": "The result of the execution of the requested operation. If an error was raised before execution begins, the data entry should not be present in the result. (a request error: https://spec.graphql.org/draft/#sec-Errors.Request-Errors) If an error was raised during the execution that prevented a valid response, the data entry in the response should be null. (a field error: https://spec.graphql.org/draft/#sec-Errors.Error-Result-Format)", +"type": "object" +}, +"errors": { +"description": "Errors of this response. If the data entry in the response is not present, the errors entry must be present. It conforms to https://spec.graphql.org/draft/#sec-Errors .", +"items": { +"$ref": "GraphqlError" +}, +"type": "array" +}, +"extensions": { +"$ref": "GraphqlResponseExtensions", +"description": "Additional response information. It conforms to https://spec.graphql.org/draft/#sec-Extensions ." +} +}, +"type": "object" +}, +"GraphqlResponseExtensions": { +"description": "GraphqlResponseExtensions contains additional information of `GraphqlResponse` or `ExecuteQueryResponse`.", +"id": "GraphqlResponseExtensions", +"properties": { +"dataConnect": { +"description": "Data Connect specific GraphQL extension, a list of paths and properties.", +"items": { +"$ref": "DataConnectProperties" +}, +"type": "array" +} +}, +"type": "object" +}, +"HttpGraphql": { +"description": "Settings for HTTP GraphQL server webhook.", +"id": "HttpGraphql", +"properties": { +"timeout": { +"description": "Optional. Timeout duration for the HTTP request.", +"format": "google-duration", +"type": "string" +}, +"uri": { +"description": "Required. The endpoint of the HTTP GraphQL server.", +"type": "string" +} +}, +"type": "object" +}, +"ImpersonateRequest": { +"description": "The Impersonate request to Firebase Data Connect.", +"id": "ImpersonateRequest", +"properties": { +"extensions": { +"$ref": "GraphqlRequestExtensions", +"description": "Optional. Additional GraphQL request information." +}, +"operationName": { +"description": "Required. The name of the GraphQL operation name. Required because all Connector operations must be named. See https://graphql.org/learn/queries/#operation-name.", +"type": "string" +}, +"variables": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"description": "Optional. Values for GraphQL variables provided in this request.", +"type": "object" +} +}, +"type": "object" +}, +"Impersonation": { +"description": "Impersonation configures the Firebase Auth context to impersonate.", +"id": "Impersonation", +"properties": { +"authClaims": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"description": "Evaluate the auth policy with a customized JWT auth token. Should follow the Firebase Auth token format. https://firebase.google.com/docs/rules/rules-and-auth For example: a verified user may have auth_claims of {\"sub\": , \"email_verified\": true}", +"type": "object" +}, +"includeDebugDetails": { +"description": "Optional. If set, include debug details in GraphQL error extensions.", +"type": "boolean" +}, +"unauthenticated": { +"description": "Evaluate the auth policy as an unauthenticated request. Can only be set to true.", +"type": "boolean" +} +}, +"type": "object" +}, +"ListConnectorsResponse": { +"description": "Message for response to listing Connectors. By default, `connectors.source` will not be included in the response. To specify the fields included in the response, the response field mask can be provided by using the query parameter `$fields` or the header `X-Goog-FieldMask`.", +"id": "ListConnectorsResponse", +"properties": { +"connectors": { +"description": "The list of Connectors.", +"items": { +"$ref": "Connector" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.", +"type": "string" +}, +"unreachable": { +"description": "Locations that could not be reached.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListLocationsResponse": { +"description": "The response message for Locations.ListLocations.", +"id": "ListLocationsResponse", +"properties": { +"locations": { +"description": "A list of locations that matches the specified filter in the request.", +"items": { +"$ref": "Location" +}, +"type": "array" +}, +"nextPageToken": { +"description": "The standard List next-page token.", +"type": "string" +} +}, +"type": "object" +}, +"ListOperationsResponse": { +"description": "The response message for Operations.ListOperations.", +"id": "ListOperationsResponse", +"properties": { +"nextPageToken": { +"description": "The standard List next-page token.", +"type": "string" +}, +"operations": { +"description": "A list of operations that matches the specified filter in the request.", +"items": { +"$ref": "Operation" +}, +"type": "array" +}, +"unreachable": { +"description": "Unordered list. Unreachable resources. Populated when the request sets `ListOperationsRequest.return_partial_success` and reads across collections. For example, when attempting to list all resources across all supported locations.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListSchemasResponse": { +"description": "Message for response to listing Schemas. By default, `schemas.source` will not be included in the response. To specify the fields included in the response, the response field mask can be provided by using the query parameter `$fields` or the header `X-Goog-FieldMask`.", +"id": "ListSchemasResponse", +"properties": { +"nextPageToken": { +"description": "A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.", +"type": "string" +}, +"schemas": { +"description": "The list of Schemas.", +"items": { +"$ref": "Schema" +}, +"type": "array" +}, +"unreachable": { +"description": "Locations that could not be reached.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListServicesResponse": { +"description": "Message for response to listing Services.", +"id": "ListServicesResponse", +"properties": { +"nextPageToken": { +"description": "A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.", +"type": "string" +}, +"services": { +"description": "The list of Services.", +"items": { +"$ref": "Service" +}, +"type": "array" +}, +"unreachable": { +"description": "Locations that could not be reached.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"Location": { +"description": "A resource that represents a Google Cloud location.", +"id": "Location", +"properties": { +"displayName": { +"description": "The friendly name for this location, typically a nearby city name. For example, \"Tokyo\".", +"type": "string" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Cross-service attributes for the location. For example {\"cloud.googleapis.com/region\": \"us-east1\"}", +"type": "object" +}, +"locationId": { +"description": "The canonical id for this location. For example: `\"us-east1\"`.", +"type": "string" +}, +"metadata": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "Service-specific metadata. For example the available capacity at the given location.", +"type": "object" +}, +"name": { +"description": "Resource name for the location, which may vary between implementations. For example: `\"projects/example-project/locations/us-east1\"`", +"type": "string" +} +}, +"type": "object" +}, +"Operation": { +"description": "This resource represents a long-running operation that is the result of a network API call.", +"id": "Operation", +"properties": { +"done": { +"description": "If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.", +"type": "boolean" +}, +"error": { +"$ref": "Status", +"description": "The error result of the operation in case of failure or cancellation." +}, +"metadata": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.", +"type": "object" +}, +"name": { +"description": "The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.", +"type": "string" +}, +"response": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "The normal, successful response of the operation. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.", +"type": "object" +} +}, +"type": "object" +}, +"OperationMetadata": { +"description": "Represents the metadata of the long-running operation. Note: This message is auto-generated by CCFE. CCFE's storage, called Resource Metadata Store (RMS), holds metadata about long-running operations (i.e. OperationMetadata) and resources (i.e. ResourceMetadata). OperationMetadata documents the status of the operation. See [CCFE documentation for sidechannel data](https://g3doc.corp.google.com/cloud/control2/g3doc/dev/codelab_extras/sidechannel.md?cl=head#sidechannel-data) and yaqs/4289526912465764352.", +"id": "OperationMetadata", +"properties": { +"apiVersion": { +"description": "Output only. API version used to start the operation.", +"readOnly": true, +"type": "string" +}, +"createTime": { +"description": "Output only. The time the operation was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"endTime": { +"description": "Output only. The time the operation finished running.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"requestedCancellation": { +"description": "Output only. Identifies whether the user has requested cancellation of the operation. Operations that have been cancelled successfully have Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.", +"readOnly": true, +"type": "boolean" +}, +"statusMessage": { +"description": "Output only. Human-readable status of the operation, if any.", +"readOnly": true, +"type": "string" +}, +"target": { +"description": "Output only. Server-defined resource path for the target of the operation.", +"readOnly": true, +"type": "string" +}, +"verb": { +"description": "Output only. Name of the verb executed by the operation.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"PostgreSql": { +"description": "Settings for PostgreSQL data source.", +"id": "PostgreSql", +"properties": { +"cloudSql": { +"$ref": "CloudSqlInstance", +"description": "Cloud SQL configurations." +}, +"database": { +"description": "Required. Name of the PostgreSQL database.", +"type": "string" +}, +"ephemeral": { +"description": "Output only. Ephemeral is true if this data connect service is served from temporary in-memory emulation of Postgres. While Cloud SQL is being provisioned, the data connect service provides the ephemeral service to help developers get started. Once the Cloud SQL is provisioned, Data Connect service will transfer its data on a best-effort basis to the Cloud SQL instance. WARNING: Ephemeral data sources will expire after 24 hour. The data will be lost if they aren't transferred to the Cloud SQL instance. WARNING: When `ephemeral=true`, mutations to the database are not guaranteed to be durably persisted, even if an OK status code is returned. All or parts of the data may be lost or reverted to earlier versions.", +"readOnly": true, +"type": "boolean" +}, +"schemaMigration": { +"description": "Optional. Configure how to perform Postgresql schema migration.", +"enum": [ +"SQL_SCHEMA_MIGRATION_UNSPECIFIED", +"MIGRATE_COMPATIBLE" +], +"enumDescriptions": [ +"Unspecified SQL schema migration.", +"Connect to the SQL database and identify any missing SQL resources used in the given Firebase Data Connect Schema. Automatically create necessary SQL resources (SQL table, column, etc) before deploying the schema. During migration steps, the SQL Schema must comply with the previous before_deploy setting in case the migration is interrupted. Therefore, the previous before_deploy setting must not be `schema_validation=STRICT`." +], +"type": "string" +}, +"schemaValidation": { +"description": "Optional. Configure how much Postgresql schema validation to perform.", +"enum": [ +"SQL_SCHEMA_VALIDATION_UNSPECIFIED", +"NONE", +"STRICT", +"COMPATIBLE" +], +"enumDescriptions": [ +"Unspecified SQL schema validation. Default to STRICT.", +"Skip no SQL schema validation. Use it with extreme caution. CreateSchema or UpdateSchema will succeed even if SQL database is unavailable or SQL schema is incompatible. Generated SQL may fail at execution time.", +"Connect to the SQL database and validate that the SQL DDL matches the schema exactly. Surface any discrepancies as `FAILED_PRECONDITION` with an `IncompatibleSqlSchemaError` error detail.", +"Connect to the SQL database and validate that the SQL DDL has all the SQL resources used in the given Firebase Data Connect Schema. Surface any missing resources as `FAILED_PRECONDITION` with an `IncompatibleSqlSchemaError` error detail. Succeed even if there are unknown tables and columns." +], +"type": "string" +}, +"unlinked": { +"deprecated": true, +"description": "No Postgres data source is linked. If set, don't allow `database` and `schema_validation` to be configured.", +"type": "boolean" +} +}, +"type": "object" +}, +"Schema": { +"description": "The application schema of a Firebase Data Connect service.", +"id": "Schema", +"properties": { +"annotations": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. Stores small amounts of arbitrary data.", +"type": "object" +}, +"createTime": { +"description": "Output only. [Output only] Create time stamp.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"datasources": { +"description": "Required. The data sources linked in the schema.", +"items": { +"$ref": "Datasource" +}, +"type": "array" +}, +"displayName": { +"description": "Optional. Mutable human-readable name. 63 character limit.", +"type": "string" +}, +"etag": { +"description": "Output only. This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding. [AIP-154](https://google.aip.dev/154)", +"readOnly": true, +"type": "string" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. Labels as key value pairs.", +"type": "object" +}, +"name": { +"description": "Identifier. The relative resource name of the schema, in the format: ``` projects/{project}/locations/{location}/services/{service}/schemas/{schema} ``` Right now, the only supported schema is \"main\".", +"type": "string" +}, +"reconciling": { +"description": "Output only. A field that if true, indicates that the system is working to compile and deploy the schema.", +"readOnly": true, +"type": "boolean" +}, +"source": { +"$ref": "Source", +"description": "Required. The source files that comprise the application schema." +}, +"uid": { +"description": "Output only. System-assigned, unique identifier.", +"readOnly": true, +"type": "string" +}, +"updateTime": { +"description": "Output only. [Output only] Update time stamp.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"Service": { +"description": "A Firebase Data Connect service.", +"id": "Service", +"properties": { +"annotations": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. Stores small amounts of arbitrary data.", +"type": "object" +}, +"createTime": { +"description": "Output only. [Output only] Create time stamp.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"displayName": { +"description": "Optional. Mutable human-readable name. 63 character limit.", +"type": "string" +}, +"etag": { +"description": "Output only. This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding. [AIP-154](https://google.aip.dev/154)", +"readOnly": true, +"type": "string" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. Labels as key value pairs.", +"type": "object" +}, +"name": { +"description": "Identifier. The relative resource name of the Firebase Data Connect service, in the format: ``` projects/{project}/locations/{location}/services/{service} ``` Note that the service ID is specific to Firebase Data Connect and does not correspond to any of the instance IDs of the underlying data source connections.", +"type": "string" +}, +"reconciling": { +"description": "Output only. A field that if true, indicates that the system is working update the service.", +"readOnly": true, +"type": "boolean" +}, +"uid": { +"description": "Output only. System-assigned, unique identifier.", +"readOnly": true, +"type": "string" +}, +"updateTime": { +"description": "Output only. [Output only] Update time stamp.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"Source": { +"description": "Used to represent a set of source files.", +"id": "Source", +"properties": { +"files": { +"description": "Required. The files that comprise the source set.", +"items": { +"$ref": "File" +}, +"type": "array" +} +}, +"type": "object" +}, +"SourceLocation": { +"description": "SourceLocation references a location in a GraphQL source.", +"id": "SourceLocation", +"properties": { +"column": { +"description": "Column number starting at 1.", +"format": "int32", +"type": "integer" +}, +"line": { +"description": "Line number starting at 1.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"Status": { +"description": "The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors).", +"id": "Status", +"properties": { +"code": { +"description": "The status code, which should be an enum value of google.rpc.Code.", +"format": "int32", +"type": "integer" +}, +"details": { +"description": "A list of messages that carry the error details. There is a common set of message types for APIs to use.", +"items": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.", +"type": "string" +} +}, +"type": "object" +}, +"Workaround": { +"description": "Workaround provides suggestions to address errors and warnings.", +"id": "Workaround", +"properties": { +"description": { +"description": "Description of this workaround.", +"type": "string" +}, +"reason": { +"description": "Why would this workaround address the error and warning.", +"type": "string" +}, +"replace": { +"description": "A suggested code snippet to fix the error and warning.", +"type": "string" +} +}, +"type": "object" +} +}, +"servicePath": "", +"title": "Firebase Data Connect API", +"version": "v1beta", +"version_module": true +} \ No newline at end of file diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/firebasehosting.v1beta1.json b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/firebasehosting.v1beta1.json new file mode 100644 index 0000000000000000000000000000000000000000..39a3396f79b3b5d566ff51046977af66a1e6bd84 --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/firebasehosting.v1beta1.json @@ -0,0 +1,3885 @@ +{ +"auth": { +"oauth2": { +"scopes": { +"https://www.googleapis.com/auth/cloud-platform": { +"description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." +}, +"https://www.googleapis.com/auth/cloud-platform.read-only": { +"description": "View your data across Google Cloud services and see the email address of your Google Account" +}, +"https://www.googleapis.com/auth/firebase": { +"description": "View and administer all your Firebase data and settings" +}, +"https://www.googleapis.com/auth/firebase.readonly": { +"description": "View all your Firebase data and settings" +} +} +} +}, +"basePath": "", +"baseUrl": "https://firebasehosting.googleapis.com/", +"batchPath": "batch", +"canonicalName": "Firebase Hosting", +"description": "The Firebase Hosting REST API enables programmatic and customizable management and deployments to your Firebase-hosted sites. Use this REST API to create and manage channels and sites as well as to deploy new or updated hosting configurations and content files.", +"discoveryVersion": "v1", +"documentationLink": "https://firebase.google.com/docs/hosting/", +"fullyEncodeReservedExpansion": true, +"icons": { +"x16": "http://www.google.com/images/icons/product/search-16.gif", +"x32": "http://www.google.com/images/icons/product/search-32.gif" +}, +"id": "firebasehosting:v1beta1", +"kind": "discovery#restDescription", +"mtlsRootUrl": "https://firebasehosting.mtls.googleapis.com/", +"name": "firebasehosting", +"ownerDomain": "google.com", +"ownerName": "Google", +"parameters": { +"$.xgafv": { +"description": "V1 error format.", +"enum": [ +"1", +"2" +], +"enumDescriptions": [ +"v1 error format", +"v2 error format" +], +"location": "query", +"type": "string" +}, +"access_token": { +"description": "OAuth access token.", +"location": "query", +"type": "string" +}, +"alt": { +"default": "json", +"description": "Data format for response.", +"enum": [ +"json", +"media", +"proto" +], +"enumDescriptions": [ +"Responses with Content-Type of application/json", +"Media download with context-dependent Content-Type", +"Responses with Content-Type of application/x-protobuf" +], +"location": "query", +"type": "string" +}, +"callback": { +"description": "JSONP", +"location": "query", +"type": "string" +}, +"fields": { +"description": "Selector specifying which fields to include in a partial response.", +"location": "query", +"type": "string" +}, +"key": { +"description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", +"location": "query", +"type": "string" +}, +"oauth_token": { +"description": "OAuth 2.0 token for the current user.", +"location": "query", +"type": "string" +}, +"prettyPrint": { +"default": "true", +"description": "Returns response with indentations and line breaks.", +"location": "query", +"type": "boolean" +}, +"quotaUser": { +"description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.", +"location": "query", +"type": "string" +}, +"uploadType": { +"description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", +"location": "query", +"type": "string" +}, +"upload_protocol": { +"description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", +"location": "query", +"type": "string" +} +}, +"protocol": "rest", +"resources": { +"projects": { +"resources": { +"operations": { +"methods": { +"get": { +"description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", +"flatPath": "v1beta1/projects/{projectsId}/operations/{operationsId}", +"httpMethod": "GET", +"id": "firebasehosting.projects.operations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource.", +"location": "path", +"pattern": "^projects/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only", +"https://www.googleapis.com/auth/firebase", +"https://www.googleapis.com/auth/firebase.readonly" +] +} +} +}, +"sites": { +"methods": { +"create": { +"description": "Creates a new Hosting Site in the specified parent Firebase project. Note that Hosting sites can take several minutes to propagate through Firebase systems.", +"flatPath": "v1beta1/projects/{projectsId}/sites", +"httpMethod": "POST", +"id": "firebasehosting.projects.sites.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The Firebase project in which to create a Hosting site, in the format: projects/PROJECT_IDENTIFIER Refer to the `Site` [`name`](../projects#Site.FIELDS.name) field for details about PROJECT_IDENTIFIER values.", +"location": "path", +"pattern": "^projects/[^/]+$", +"required": true, +"type": "string" +}, +"siteId": { +"description": "Required. Immutable. A globally unique identifier for the Hosting site. This identifier is used to construct the Firebase-provisioned subdomains for the site, so it must also be a valid domain name label.", +"location": "query", +"type": "string" +}, +"validateOnly": { +"description": "Optional. If set, validates that the site_id is available and that the request would succeed, returning the expected resulting site or error.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1beta1/{+parent}/sites", +"request": { +"$ref": "Site" +}, +"response": { +"$ref": "Site" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/firebase" +] +}, +"delete": { +"description": "Deletes the specified Hosting Site from the specified parent Firebase project.", +"flatPath": "v1beta1/projects/{projectsId}/sites/{sitesId}", +"httpMethod": "DELETE", +"id": "firebasehosting.projects.sites.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The fully-qualified resource name for the Hosting site, in the format: projects/PROJECT_IDENTIFIER/sites/SITE_ID Refer to the `Site` [`name`](../projects#Site.FIELDS.name) field for details about PROJECT_IDENTIFIER values.", +"location": "path", +"pattern": "^projects/[^/]+/sites/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+name}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/firebase" +] +}, +"get": { +"description": "Gets the specified Hosting Site.", +"flatPath": "v1beta1/projects/{projectsId}/sites/{sitesId}", +"httpMethod": "GET", +"id": "firebasehosting.projects.sites.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The fully-qualified resource name for the Hosting site, in the format: projects/PROJECT_IDENTIFIER/sites/SITE_ID Refer to the `Site` [`name`](../projects#Site.FIELDS.name) field for details about PROJECT_IDENTIFIER values. Since a SITE_ID is a globally unique identifier, you can also use the unique sub-collection resource access pattern, in the format: projects/-/sites/SITE_ID", +"location": "path", +"pattern": "^projects/[^/]+/sites/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+name}", +"response": { +"$ref": "Site" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only", +"https://www.googleapis.com/auth/firebase", +"https://www.googleapis.com/auth/firebase.readonly" +] +}, +"getConfig": { +"description": "Gets the Hosting metadata for a specific site.", +"flatPath": "v1beta1/projects/{projectsId}/sites/{sitesId}/config", +"httpMethod": "GET", +"id": "firebasehosting.projects.sites.getConfig", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The site for which to get the SiteConfig, in the format: sites/ site-name/config", +"location": "path", +"pattern": "^projects/[^/]+/sites/[^/]+/config$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+name}", +"response": { +"$ref": "SiteConfig" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only", +"https://www.googleapis.com/auth/firebase", +"https://www.googleapis.com/auth/firebase.readonly" +] +}, +"list": { +"description": "Lists each Hosting Site associated with the specified parent Firebase project.", +"flatPath": "v1beta1/projects/{projectsId}/sites", +"httpMethod": "GET", +"id": "firebasehosting.projects.sites.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "Optional. The maximum number of sites to return. The service may return a lower number if fewer sites exist than this maximum number. If unspecified, defaults to 40.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. A token from a previous call to `ListSites` that tells the server where to resume listing.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The Firebase project for which to list sites, in the format: projects/PROJECT_IDENTIFIER Refer to the `Site` [`name`](../projects#Site.FIELDS.name) field for details about PROJECT_IDENTIFIER values.", +"location": "path", +"pattern": "^projects/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+parent}/sites", +"response": { +"$ref": "ListSitesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only", +"https://www.googleapis.com/auth/firebase", +"https://www.googleapis.com/auth/firebase.readonly" +] +}, +"patch": { +"description": "Updates attributes of the specified Hosting Site.", +"flatPath": "v1beta1/projects/{projectsId}/sites/{sitesId}", +"httpMethod": "PATCH", +"id": "firebasehosting.projects.sites.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Output only. The fully-qualified resource name of the Hosting site, in the format: projects/PROJECT_IDENTIFIER/sites/SITE_ID PROJECT_IDENTIFIER: the Firebase project's [`ProjectNumber`](https://firebase.google.com/docs/reference/firebase-management/rest/v1beta1/projects#FirebaseProject.FIELDS.project_number) ***(recommended)*** or its [`ProjectId`](https://firebase.google.com/docs/reference/firebase-management/rest/v1beta1/projects#FirebaseProject.FIELDS.project_id). Learn more about using project identifiers in Google's [AIP 2510 standard](https://google.aip.dev/cloud/2510).", +"location": "path", +"pattern": "^projects/[^/]+/sites/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "A set of field names from your Site that you want to update.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1beta1/{+name}", +"request": { +"$ref": "Site" +}, +"response": { +"$ref": "Site" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/firebase" +] +}, +"updateConfig": { +"description": "Sets the Hosting metadata for a specific site.", +"flatPath": "v1beta1/projects/{projectsId}/sites/{sitesId}/config", +"httpMethod": "PATCH", +"id": "firebasehosting.projects.sites.updateConfig", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The site for which to update the SiteConfig, in the format: sites/ site-name/config", +"location": "path", +"pattern": "^projects/[^/]+/sites/[^/]+/config$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "A set of field names from your [site configuration](../sites.SiteConfig) that you want to update. A field will be overwritten if, and only if, it's in the mask. If a mask is not provided then a default mask of only [`max_versions`](../sites.SiteConfig.max_versions) will be used.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1beta1/{+name}", +"request": { +"$ref": "SiteConfig" +}, +"response": { +"$ref": "SiteConfig" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/firebase" +] +} +}, +"resources": { +"channels": { +"methods": { +"create": { +"description": "Creates a new channel in the specified site.", +"flatPath": "v1beta1/projects/{projectsId}/sites/{sitesId}/channels", +"httpMethod": "POST", +"id": "firebasehosting.projects.sites.channels.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"channelId": { +"description": "Required. Immutable. A unique ID within the site that identifies the channel.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The site in which to create this channel, in the format: sites/ SITE_ID", +"location": "path", +"pattern": "^projects/[^/]+/sites/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+parent}/channels", +"request": { +"$ref": "Channel" +}, +"response": { +"$ref": "Channel" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/firebase" +] +}, +"delete": { +"description": "Deletes the specified channel of the specified site. The `live` channel cannot be deleted.", +"flatPath": "v1beta1/projects/{projectsId}/sites/{sitesId}/channels/{channelsId}", +"httpMethod": "DELETE", +"id": "firebasehosting.projects.sites.channels.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The fully-qualified resource name for the channel, in the format: sites/SITE_ID/channels/CHANNEL_ID", +"location": "path", +"pattern": "^projects/[^/]+/sites/[^/]+/channels/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+name}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/firebase" +] +}, +"get": { +"description": "Retrieves information for the specified channel of the specified site.", +"flatPath": "v1beta1/projects/{projectsId}/sites/{sitesId}/channels/{channelsId}", +"httpMethod": "GET", +"id": "firebasehosting.projects.sites.channels.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The fully-qualified resource name for the channel, in the format: sites/SITE_ID/channels/CHANNEL_ID", +"location": "path", +"pattern": "^projects/[^/]+/sites/[^/]+/channels/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+name}", +"response": { +"$ref": "Channel" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only", +"https://www.googleapis.com/auth/firebase", +"https://www.googleapis.com/auth/firebase.readonly" +] +}, +"list": { +"description": "Lists the channels for the specified site. All sites have a default `live` channel.", +"flatPath": "v1beta1/projects/{projectsId}/sites/{sitesId}/channels", +"httpMethod": "GET", +"id": "firebasehosting.projects.sites.channels.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "The maximum number of channels to return. The service may return a lower number if fewer channels exist than this maximum number. If unspecified, defaults to 10. The maximum value is 100; values above 100 will be coerced to 100.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A token from a previous call to `ListChannels` that tells the server where to resume listing.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The site for which to list channels, in the format: sites/SITE_ID", +"location": "path", +"pattern": "^projects/[^/]+/sites/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+parent}/channels", +"response": { +"$ref": "ListChannelsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only", +"https://www.googleapis.com/auth/firebase", +"https://www.googleapis.com/auth/firebase.readonly" +] +}, +"patch": { +"description": "Updates information for the specified channel of the specified site. Implicitly creates the channel if it doesn't already exist.", +"flatPath": "v1beta1/projects/{projectsId}/sites/{sitesId}/channels/{channelsId}", +"httpMethod": "PATCH", +"id": "firebasehosting.projects.sites.channels.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The fully-qualified resource name for the channel, in the format: sites/ SITE_ID/channels/CHANNEL_ID", +"location": "path", +"pattern": "^projects/[^/]+/sites/[^/]+/channels/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "A comma-separated list of fields to be updated in this request.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1beta1/{+name}", +"request": { +"$ref": "Channel" +}, +"response": { +"$ref": "Channel" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/firebase" +] +} +}, +"resources": { +"releases": { +"methods": { +"create": { +"description": "Creates a new release, which makes the content of the specified version actively display on the appropriate URL(s).", +"flatPath": "v1beta1/projects/{projectsId}/sites/{sitesId}/channels/{channelsId}/releases", +"httpMethod": "POST", +"id": "firebasehosting.projects.sites.channels.releases.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The site or channel to which the release belongs, in either of the following formats: - sites/SITE_ID - sites/SITE_ID/channels/CHANNEL_ID", +"location": "path", +"pattern": "^projects/[^/]+/sites/[^/]+/channels/[^/]+$", +"required": true, +"type": "string" +}, +"versionName": { +"description": " The unique identifier for a version, in the format: sites/SITE_ID/versions/ VERSION_ID The SITE_ID in this version identifier must match the SITE_ID in the `parent` parameter. This query parameter must be empty if the `type` field in the request body is `SITE_DISABLE`.", +"location": "query", +"type": "string" +} +}, +"path": "v1beta1/{+parent}/releases", +"request": { +"$ref": "Release" +}, +"response": { +"$ref": "Release" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/firebase" +] +}, +"get": { +"description": "Gets the specified release for a site or channel. When used to get a release for a site, this can get releases for both the default `live` channel and any active preview channels for the specified site.", +"flatPath": "v1beta1/projects/{projectsId}/sites/{sitesId}/channels/{channelsId}/releases/{releasesId}", +"httpMethod": "GET", +"id": "firebasehosting.projects.sites.channels.releases.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The fully-qualified resource name for the Hosting release, in either of the following formats: - sites/SITE_ID/channels/CHANNEL_ID/releases/RELEASE_ID - sites/SITE_ID/releases/RELEASE_ID ", +"location": "path", +"pattern": "^projects/[^/]+/sites/[^/]+/channels/[^/]+/releases/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+name}", +"response": { +"$ref": "Release" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only", +"https://www.googleapis.com/auth/firebase", +"https://www.googleapis.com/auth/firebase.readonly" +] +}, +"list": { +"description": "Lists the releases that have been created for the specified site or channel. When used to list releases for a site, this list includes releases for both the default `live` channel and any active preview channels for the specified site.", +"flatPath": "v1beta1/projects/{projectsId}/sites/{sitesId}/channels/{channelsId}/releases", +"httpMethod": "GET", +"id": "firebasehosting.projects.sites.channels.releases.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "The maximum number of releases to return. The service may return a lower number if fewer releases exist than this maximum number. If unspecified, defaults to 100.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A token from a previous call to `releases.list` or `channels.releases.list` that tells the server where to resume listing.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The site or channel for which to list releases, in either of the following formats: - sites/SITE_ID - sites/SITE_ID/channels/CHANNEL_ID ", +"location": "path", +"pattern": "^projects/[^/]+/sites/[^/]+/channels/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+parent}/releases", +"response": { +"$ref": "ListReleasesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only", +"https://www.googleapis.com/auth/firebase", +"https://www.googleapis.com/auth/firebase.readonly" +] +} +} +} +} +}, +"customDomains": { +"methods": { +"create": { +"description": "Creates a `CustomDomain`.", +"flatPath": "v1beta1/projects/{projectsId}/sites/{sitesId}/customDomains", +"httpMethod": "POST", +"id": "firebasehosting.projects.sites.customDomains.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"customDomainId": { +"description": "Required. The ID of the `CustomDomain`, which is the domain name you'd like to use with Firebase Hosting.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The custom domain's parent, specifically a Firebase Hosting `Site`.", +"location": "path", +"pattern": "^projects/[^/]+/sites/[^/]+$", +"required": true, +"type": "string" +}, +"validateOnly": { +"description": "If true, Hosting validates that it's possible to complete your request but doesn't actually create a new `CustomDomain`.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1beta1/{+parent}/customDomains", +"request": { +"$ref": "CustomDomain" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/firebase" +] +}, +"delete": { +"description": "Deletes the specified `CustomDomain`.", +"flatPath": "v1beta1/projects/{projectsId}/sites/{sitesId}/customDomains/{customDomainsId}", +"httpMethod": "DELETE", +"id": "firebasehosting.projects.sites.customDomains.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"allowMissing": { +"description": "If true, the request succeeds even if the `CustomDomain` doesn't exist.", +"location": "query", +"type": "boolean" +}, +"etag": { +"description": "A tag that represents the state of the `CustomDomain` as you know it. If present, the supplied tag must match the current value on your `CustomDomain`, or the request fails.", +"location": "query", +"type": "string" +}, +"name": { +"description": "Required. The name of the `CustomDomain` to delete.", +"location": "path", +"pattern": "^projects/[^/]+/sites/[^/]+/customDomains/[^/]+$", +"required": true, +"type": "string" +}, +"validateOnly": { +"description": "If true, Hosting validates that it's possible to complete your request but doesn't actually delete the `CustomDomain`.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1beta1/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/firebase" +] +}, +"get": { +"description": "Gets the specified `CustomDomain`.", +"flatPath": "v1beta1/projects/{projectsId}/sites/{sitesId}/customDomains/{customDomainsId}", +"httpMethod": "GET", +"id": "firebasehosting.projects.sites.customDomains.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the `CustomDomain` to get.", +"location": "path", +"pattern": "^projects/[^/]+/sites/[^/]+/customDomains/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+name}", +"response": { +"$ref": "CustomDomain" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only", +"https://www.googleapis.com/auth/firebase", +"https://www.googleapis.com/auth/firebase.readonly" +] +}, +"list": { +"description": "Lists each `CustomDomain` associated with the specified parent Hosting site. Returns `CustomDomain`s in a consistent, but undefined, order to facilitate pagination.", +"flatPath": "v1beta1/projects/{projectsId}/sites/{sitesId}/customDomains", +"httpMethod": "GET", +"id": "firebasehosting.projects.sites.customDomains.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "The max number of `CustomDomain` entities to return in a request. Defaults to 10.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A token from a previous call to `ListCustomDomains` that tells the server where to resume listing.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The Firebase Hosting `Site` with `CustomDomain` entities you'd like to list.", +"location": "path", +"pattern": "^projects/[^/]+/sites/[^/]+$", +"required": true, +"type": "string" +}, +"showDeleted": { +"description": "If true, the request returns soft-deleted `CustomDomain`s that haven't been fully-deleted yet. To restore deleted `CustomDomain`s, make an `UndeleteCustomDomain` request.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1beta1/{+parent}/customDomains", +"response": { +"$ref": "ListCustomDomainsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only", +"https://www.googleapis.com/auth/firebase", +"https://www.googleapis.com/auth/firebase.readonly" +] +}, +"patch": { +"description": "Updates the specified `CustomDomain`.", +"flatPath": "v1beta1/projects/{projectsId}/sites/{sitesId}/customDomains/{customDomainsId}", +"httpMethod": "PATCH", +"id": "firebasehosting.projects.sites.customDomains.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"allowMissing": { +"description": "If true, Hosting creates the `CustomDomain` if it doesn't already exist.", +"location": "query", +"type": "boolean" +}, +"name": { +"description": "Output only. The fully-qualified name of the `CustomDomain`.", +"location": "path", +"pattern": "^projects/[^/]+/sites/[^/]+/customDomains/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "The set of field names from your `CustomDomain` that you want to update. A field will be overwritten if, and only if, it's in the mask. If you don't provide a mask, Hosting updates the entire `CustomDomain`.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +}, +"validateOnly": { +"description": "If true, Hosting validates that it's possible to complete your request but doesn't actually create or update the `CustomDomain`.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1beta1/{+name}", +"request": { +"$ref": "CustomDomain" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/firebase" +] +}, +"undelete": { +"description": "Undeletes the specified `CustomDomain` if it has been soft-deleted. Hosting retains soft-deleted custom domains for around 30 days before permanently deleting them.", +"flatPath": "v1beta1/projects/{projectsId}/sites/{sitesId}/customDomains/{customDomainsId}:undelete", +"httpMethod": "POST", +"id": "firebasehosting.projects.sites.customDomains.undelete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the `CustomDomain` to delete.", +"location": "path", +"pattern": "^projects/[^/]+/sites/[^/]+/customDomains/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+name}:undelete", +"request": { +"$ref": "UndeleteCustomDomainRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/firebase" +] +} +}, +"resources": { +"operations": { +"methods": { +"get": { +"description": "Gets the latest state of a long-running operation. Use this method to poll the operation result at intervals as recommended by the API service.", +"flatPath": "v1beta1/projects/{projectsId}/sites/{sitesId}/customDomains/{customDomainsId}/operations/{operationsId}", +"httpMethod": "GET", +"id": "firebasehosting.projects.sites.customDomains.operations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource.", +"location": "path", +"pattern": "^projects/[^/]+/sites/[^/]+/customDomains/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only", +"https://www.googleapis.com/auth/firebase", +"https://www.googleapis.com/auth/firebase.readonly" +] +}, +"list": { +"description": "Lists operations that match the specified filter in the request.", +"flatPath": "v1beta1/projects/{projectsId}/sites/{sitesId}/customDomains/{customDomainsId}/operations", +"httpMethod": "GET", +"id": "firebasehosting.projects.sites.customDomains.operations.list", +"parameterOrder": [ +"name" +], +"parameters": { +"filter": { +"description": "The standard list filter.", +"location": "query", +"type": "string" +}, +"name": { +"description": "The name of the operation's parent resource.", +"location": "path", +"pattern": "^projects/[^/]+/sites/[^/]+/customDomains/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The standard list page size.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The standard list page token.", +"location": "query", +"type": "string" +}, +"returnPartialSuccess": { +"description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `\"projects/example/locations/-\"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1beta1/{+name}/operations", +"response": { +"$ref": "ListOperationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only", +"https://www.googleapis.com/auth/firebase", +"https://www.googleapis.com/auth/firebase.readonly" +] +} +} +} +} +}, +"domains": { +"methods": { +"create": { +"description": "Creates a domain mapping on the specified site.", +"flatPath": "v1beta1/projects/{projectsId}/sites/{sitesId}/domains", +"httpMethod": "POST", +"id": "firebasehosting.projects.sites.domains.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The parent to create the domain association for, in the format: sites/site-name", +"location": "path", +"pattern": "^projects/[^/]+/sites/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+parent}/domains", +"request": { +"$ref": "Domain" +}, +"response": { +"$ref": "Domain" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/firebase" +] +}, +"delete": { +"description": "Deletes the existing domain mapping on the specified site.", +"flatPath": "v1beta1/projects/{projectsId}/sites/{sitesId}/domains/{domainsId}", +"httpMethod": "DELETE", +"id": "firebasehosting.projects.sites.domains.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the domain association to delete.", +"location": "path", +"pattern": "^projects/[^/]+/sites/[^/]+/domains/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+name}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/firebase" +] +}, +"get": { +"description": "Gets a domain mapping on the specified site.", +"flatPath": "v1beta1/projects/{projectsId}/sites/{sitesId}/domains/{domainsId}", +"httpMethod": "GET", +"id": "firebasehosting.projects.sites.domains.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the domain configuration to get.", +"location": "path", +"pattern": "^projects/[^/]+/sites/[^/]+/domains/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+name}", +"response": { +"$ref": "Domain" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only", +"https://www.googleapis.com/auth/firebase", +"https://www.googleapis.com/auth/firebase.readonly" +] +}, +"list": { +"description": "Lists the domains for the specified site.", +"flatPath": "v1beta1/projects/{projectsId}/sites/{sitesId}/domains", +"httpMethod": "GET", +"id": "firebasehosting.projects.sites.domains.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "The page size to return. Defaults to 50.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The next_page_token from a previous request, if provided.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent for which to list domains, in the format: sites/ site-name", +"location": "path", +"pattern": "^projects/[^/]+/sites/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+parent}/domains", +"response": { +"$ref": "ListDomainsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only", +"https://www.googleapis.com/auth/firebase", +"https://www.googleapis.com/auth/firebase.readonly" +] +}, +"update": { +"description": "Updates the specified domain mapping, creating the mapping as if it does not exist.", +"flatPath": "v1beta1/projects/{projectsId}/sites/{sitesId}/domains/{domainsId}", +"httpMethod": "PUT", +"id": "firebasehosting.projects.sites.domains.update", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the domain association to update or create, if an association doesn't already exist.", +"location": "path", +"pattern": "^projects/[^/]+/sites/[^/]+/domains/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+name}", +"request": { +"$ref": "Domain" +}, +"response": { +"$ref": "Domain" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/firebase" +] +} +} +}, +"releases": { +"methods": { +"create": { +"description": "Creates a new release, which makes the content of the specified version actively display on the appropriate URL(s).", +"flatPath": "v1beta1/projects/{projectsId}/sites/{sitesId}/releases", +"httpMethod": "POST", +"id": "firebasehosting.projects.sites.releases.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The site or channel to which the release belongs, in either of the following formats: - sites/SITE_ID - sites/SITE_ID/channels/CHANNEL_ID", +"location": "path", +"pattern": "^projects/[^/]+/sites/[^/]+$", +"required": true, +"type": "string" +}, +"versionName": { +"description": " The unique identifier for a version, in the format: sites/SITE_ID/versions/ VERSION_ID The SITE_ID in this version identifier must match the SITE_ID in the `parent` parameter. This query parameter must be empty if the `type` field in the request body is `SITE_DISABLE`.", +"location": "query", +"type": "string" +} +}, +"path": "v1beta1/{+parent}/releases", +"request": { +"$ref": "Release" +}, +"response": { +"$ref": "Release" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/firebase" +] +}, +"get": { +"description": "Gets the specified release for a site or channel. When used to get a release for a site, this can get releases for both the default `live` channel and any active preview channels for the specified site.", +"flatPath": "v1beta1/projects/{projectsId}/sites/{sitesId}/releases/{releasesId}", +"httpMethod": "GET", +"id": "firebasehosting.projects.sites.releases.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The fully-qualified resource name for the Hosting release, in either of the following formats: - sites/SITE_ID/channels/CHANNEL_ID/releases/RELEASE_ID - sites/SITE_ID/releases/RELEASE_ID ", +"location": "path", +"pattern": "^projects/[^/]+/sites/[^/]+/releases/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+name}", +"response": { +"$ref": "Release" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only", +"https://www.googleapis.com/auth/firebase", +"https://www.googleapis.com/auth/firebase.readonly" +] +}, +"list": { +"description": "Lists the releases that have been created for the specified site or channel. When used to list releases for a site, this list includes releases for both the default `live` channel and any active preview channels for the specified site.", +"flatPath": "v1beta1/projects/{projectsId}/sites/{sitesId}/releases", +"httpMethod": "GET", +"id": "firebasehosting.projects.sites.releases.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "The maximum number of releases to return. The service may return a lower number if fewer releases exist than this maximum number. If unspecified, defaults to 100.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A token from a previous call to `releases.list` or `channels.releases.list` that tells the server where to resume listing.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The site or channel for which to list releases, in either of the following formats: - sites/SITE_ID - sites/SITE_ID/channels/CHANNEL_ID ", +"location": "path", +"pattern": "^projects/[^/]+/sites/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+parent}/releases", +"response": { +"$ref": "ListReleasesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only", +"https://www.googleapis.com/auth/firebase", +"https://www.googleapis.com/auth/firebase.readonly" +] +} +} +}, +"versions": { +"methods": { +"clone": { +"description": "Creates a new version on the specified target site using the content of the specified version.", +"flatPath": "v1beta1/projects/{projectsId}/sites/{sitesId}/versions:clone", +"httpMethod": "POST", +"id": "firebasehosting.projects.sites.versions.clone", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The target site for the cloned version, in the format: sites/ SITE_ID", +"location": "path", +"pattern": "^projects/[^/]+/sites/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+parent}/versions:clone", +"request": { +"$ref": "CloneVersionRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/firebase" +] +}, +"create": { +"description": "Creates a new version for the specified site.", +"flatPath": "v1beta1/projects/{projectsId}/sites/{sitesId}/versions", +"httpMethod": "POST", +"id": "firebasehosting.projects.sites.versions.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The site in which to create the version, in the format: sites/ SITE_ID", +"location": "path", +"pattern": "^projects/[^/]+/sites/[^/]+$", +"required": true, +"type": "string" +}, +"sizeBytes": { +"description": "The self-reported size of the version. This value is used for a pre-emptive quota check for legacy version uploads.", +"format": "int64", +"location": "query", +"type": "string" +}, +"versionId": { +"deprecated": true, +"description": "A unique id for the new version. This is was only specified for legacy version creations, and should be blank.", +"location": "query", +"type": "string" +} +}, +"path": "v1beta1/{+parent}/versions", +"request": { +"$ref": "Version" +}, +"response": { +"$ref": "Version" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/firebase" +] +}, +"delete": { +"description": "Deletes the specified version.", +"flatPath": "v1beta1/projects/{projectsId}/sites/{sitesId}/versions/{versionsId}", +"httpMethod": "DELETE", +"id": "firebasehosting.projects.sites.versions.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The fully-qualified resource name for the version, in the format: sites/SITE_ID/versions/VERSION_ID", +"location": "path", +"pattern": "^projects/[^/]+/sites/[^/]+/versions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+name}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/firebase" +] +}, +"get": { +"description": "Get the specified version that has been created for the specified site. This can include versions that were created for the default `live` channel or for any active preview channels for the specified site.", +"flatPath": "v1beta1/projects/{projectsId}/sites/{sitesId}/versions/{versionsId}", +"httpMethod": "GET", +"id": "firebasehosting.projects.sites.versions.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The fully-qualified resource name for the version, in the format: sites/SITE_ID/versions/VERSION_ID", +"location": "path", +"pattern": "^projects/[^/]+/sites/[^/]+/versions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+name}", +"response": { +"$ref": "Version" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only", +"https://www.googleapis.com/auth/firebase", +"https://www.googleapis.com/auth/firebase.readonly" +] +}, +"list": { +"description": "Lists the versions that have been created for the specified site. This list includes versions for both the default `live` channel and any active preview channels for the specified site.", +"flatPath": "v1beta1/projects/{projectsId}/sites/{sitesId}/versions", +"httpMethod": "GET", +"id": "firebasehosting.projects.sites.versions.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "A filter string used to return a subset of versions in the response. The currently supported fields for filtering are: `name`, `status`, and `create_time`. Learn more about filtering in Google's [AIP 160 standard](https://google.aip.dev/160).", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "The maximum number of versions to return. The service may return a lower number if fewer versions exist than this maximum number. If unspecified, defaults to 25. The maximum value is 100; values above 100 will be coerced to 100.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A token from a previous call to `ListVersions` that tells the server where to resume listing.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The site or channel for which to list versions, in either of the following formats: - sites/SITE_ID - sites/SITE_ID/channels/CHANNEL_ID ", +"location": "path", +"pattern": "^projects/[^/]+/sites/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+parent}/versions", +"response": { +"$ref": "ListVersionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only", +"https://www.googleapis.com/auth/firebase", +"https://www.googleapis.com/auth/firebase.readonly" +] +}, +"patch": { +"description": " Updates the specified metadata for the specified version. This method will fail with `FAILED_PRECONDITION` in the event of an invalid state transition. The supported [state](../sites.versions#versionstatus) transitions for a version are from `CREATED` to `FINALIZED`. Use [`DeleteVersion`](delete) to set the status of a version to `DELETED`.", +"flatPath": "v1beta1/projects/{projectsId}/sites/{sitesId}/versions/{versionsId}", +"httpMethod": "PATCH", +"id": "firebasehosting.projects.sites.versions.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The fully-qualified resource name for the version, in the format: sites/ SITE_ID/versions/VERSION_ID This name is provided in the response body when you call [`CreateVersion`](sites.versions/create).", +"location": "path", +"pattern": "^projects/[^/]+/sites/[^/]+/versions/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "A set of field names from your [version](../sites.versions) that you want to update. A field will be overwritten if, and only if, it's in the mask. If a mask is not provided then a default mask of only [`status`](../sites.versions#Version.FIELDS.status) will be used.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1beta1/{+name}", +"request": { +"$ref": "Version" +}, +"response": { +"$ref": "Version" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/firebase" +] +}, +"populateFiles": { +"description": " Adds content files to the specified version. Each file must be under 2 GB.", +"flatPath": "v1beta1/projects/{projectsId}/sites/{sitesId}/versions/{versionsId}:populateFiles", +"httpMethod": "POST", +"id": "firebasehosting.projects.sites.versions.populateFiles", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The version to which to add files, in the format: sites/SITE_ID /versions/VERSION_ID", +"location": "path", +"pattern": "^projects/[^/]+/sites/[^/]+/versions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+parent}:populateFiles", +"request": { +"$ref": "PopulateVersionFilesRequest" +}, +"response": { +"$ref": "PopulateVersionFilesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/firebase" +] +} +}, +"resources": { +"files": { +"methods": { +"list": { +"description": "Lists the remaining files to be uploaded for the specified version.", +"flatPath": "v1beta1/projects/{projectsId}/sites/{sitesId}/versions/{versionsId}/files", +"httpMethod": "GET", +"id": "firebasehosting.projects.sites.versions.files.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "The maximum number of version files to return. The service may return a lower number if fewer version files exist than this maximum number. If unspecified, defaults to 1000.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A token from a previous call to `ListVersionFiles` that tells the server where to resume listing.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The version for which to list files, in the format: sites/SITE_ID /versions/VERSION_ID", +"location": "path", +"pattern": "^projects/[^/]+/sites/[^/]+/versions/[^/]+$", +"required": true, +"type": "string" +}, +"status": { +"description": " The type of files that should be listed for the specified version.", +"enum": [ +"STATUS_UNSPECIFIED", +"EXPECTED", +"ACTIVE" +], +"enumDescriptions": [ +"The default status; should not be intentionally used.", +"The file has been included in the version and is expected to be uploaded in the near future.", +"The file has already been uploaded to Firebase Hosting." +], +"location": "query", +"type": "string" +} +}, +"path": "v1beta1/{+parent}/files", +"response": { +"$ref": "ListVersionFilesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only", +"https://www.googleapis.com/auth/firebase", +"https://www.googleapis.com/auth/firebase.readonly" +] +} +} +} +} +} +} +} +} +}, +"sites": { +"methods": { +"getConfig": { +"description": "Gets the Hosting metadata for a specific site.", +"flatPath": "v1beta1/sites/{sitesId}/config", +"httpMethod": "GET", +"id": "firebasehosting.sites.getConfig", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The site for which to get the SiteConfig, in the format: sites/ site-name/config", +"location": "path", +"pattern": "^sites/[^/]+/config$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+name}", +"response": { +"$ref": "SiteConfig" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only", +"https://www.googleapis.com/auth/firebase", +"https://www.googleapis.com/auth/firebase.readonly" +] +}, +"updateConfig": { +"description": "Sets the Hosting metadata for a specific site.", +"flatPath": "v1beta1/sites/{sitesId}/config", +"httpMethod": "PATCH", +"id": "firebasehosting.sites.updateConfig", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The site for which to update the SiteConfig, in the format: sites/ site-name/config", +"location": "path", +"pattern": "^sites/[^/]+/config$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "A set of field names from your [site configuration](../sites.SiteConfig) that you want to update. A field will be overwritten if, and only if, it's in the mask. If a mask is not provided then a default mask of only [`max_versions`](../sites.SiteConfig.max_versions) will be used.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1beta1/{+name}", +"request": { +"$ref": "SiteConfig" +}, +"response": { +"$ref": "SiteConfig" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/firebase" +] +} +}, +"resources": { +"channels": { +"methods": { +"create": { +"description": "Creates a new channel in the specified site.", +"flatPath": "v1beta1/sites/{sitesId}/channels", +"httpMethod": "POST", +"id": "firebasehosting.sites.channels.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"channelId": { +"description": "Required. Immutable. A unique ID within the site that identifies the channel.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The site in which to create this channel, in the format: sites/ SITE_ID", +"location": "path", +"pattern": "^sites/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+parent}/channels", +"request": { +"$ref": "Channel" +}, +"response": { +"$ref": "Channel" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/firebase" +] +}, +"delete": { +"description": "Deletes the specified channel of the specified site. The `live` channel cannot be deleted.", +"flatPath": "v1beta1/sites/{sitesId}/channels/{channelsId}", +"httpMethod": "DELETE", +"id": "firebasehosting.sites.channels.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The fully-qualified resource name for the channel, in the format: sites/SITE_ID/channels/CHANNEL_ID", +"location": "path", +"pattern": "^sites/[^/]+/channels/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+name}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/firebase" +] +}, +"get": { +"description": "Retrieves information for the specified channel of the specified site.", +"flatPath": "v1beta1/sites/{sitesId}/channels/{channelsId}", +"httpMethod": "GET", +"id": "firebasehosting.sites.channels.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The fully-qualified resource name for the channel, in the format: sites/SITE_ID/channels/CHANNEL_ID", +"location": "path", +"pattern": "^sites/[^/]+/channels/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+name}", +"response": { +"$ref": "Channel" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only", +"https://www.googleapis.com/auth/firebase", +"https://www.googleapis.com/auth/firebase.readonly" +] +}, +"list": { +"description": "Lists the channels for the specified site. All sites have a default `live` channel.", +"flatPath": "v1beta1/sites/{sitesId}/channels", +"httpMethod": "GET", +"id": "firebasehosting.sites.channels.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "The maximum number of channels to return. The service may return a lower number if fewer channels exist than this maximum number. If unspecified, defaults to 10. The maximum value is 100; values above 100 will be coerced to 100.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A token from a previous call to `ListChannels` that tells the server where to resume listing.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The site for which to list channels, in the format: sites/SITE_ID", +"location": "path", +"pattern": "^sites/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+parent}/channels", +"response": { +"$ref": "ListChannelsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only", +"https://www.googleapis.com/auth/firebase", +"https://www.googleapis.com/auth/firebase.readonly" +] +}, +"patch": { +"description": "Updates information for the specified channel of the specified site. Implicitly creates the channel if it doesn't already exist.", +"flatPath": "v1beta1/sites/{sitesId}/channels/{channelsId}", +"httpMethod": "PATCH", +"id": "firebasehosting.sites.channels.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The fully-qualified resource name for the channel, in the format: sites/ SITE_ID/channels/CHANNEL_ID", +"location": "path", +"pattern": "^sites/[^/]+/channels/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "A comma-separated list of fields to be updated in this request.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1beta1/{+name}", +"request": { +"$ref": "Channel" +}, +"response": { +"$ref": "Channel" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/firebase" +] +} +}, +"resources": { +"releases": { +"methods": { +"create": { +"description": "Creates a new release, which makes the content of the specified version actively display on the appropriate URL(s).", +"flatPath": "v1beta1/sites/{sitesId}/channels/{channelsId}/releases", +"httpMethod": "POST", +"id": "firebasehosting.sites.channels.releases.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The site or channel to which the release belongs, in either of the following formats: - sites/SITE_ID - sites/SITE_ID/channels/CHANNEL_ID", +"location": "path", +"pattern": "^sites/[^/]+/channels/[^/]+$", +"required": true, +"type": "string" +}, +"versionName": { +"description": " The unique identifier for a version, in the format: sites/SITE_ID/versions/ VERSION_ID The SITE_ID in this version identifier must match the SITE_ID in the `parent` parameter. This query parameter must be empty if the `type` field in the request body is `SITE_DISABLE`.", +"location": "query", +"type": "string" +} +}, +"path": "v1beta1/{+parent}/releases", +"request": { +"$ref": "Release" +}, +"response": { +"$ref": "Release" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/firebase" +] +}, +"get": { +"description": "Gets the specified release for a site or channel. When used to get a release for a site, this can get releases for both the default `live` channel and any active preview channels for the specified site.", +"flatPath": "v1beta1/sites/{sitesId}/channels/{channelsId}/releases/{releasesId}", +"httpMethod": "GET", +"id": "firebasehosting.sites.channels.releases.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The fully-qualified resource name for the Hosting release, in either of the following formats: - sites/SITE_ID/channels/CHANNEL_ID/releases/RELEASE_ID - sites/SITE_ID/releases/RELEASE_ID ", +"location": "path", +"pattern": "^sites/[^/]+/channels/[^/]+/releases/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+name}", +"response": { +"$ref": "Release" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only", +"https://www.googleapis.com/auth/firebase", +"https://www.googleapis.com/auth/firebase.readonly" +] +}, +"list": { +"description": "Lists the releases that have been created for the specified site or channel. When used to list releases for a site, this list includes releases for both the default `live` channel and any active preview channels for the specified site.", +"flatPath": "v1beta1/sites/{sitesId}/channels/{channelsId}/releases", +"httpMethod": "GET", +"id": "firebasehosting.sites.channels.releases.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "The maximum number of releases to return. The service may return a lower number if fewer releases exist than this maximum number. If unspecified, defaults to 100.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A token from a previous call to `releases.list` or `channels.releases.list` that tells the server where to resume listing.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The site or channel for which to list releases, in either of the following formats: - sites/SITE_ID - sites/SITE_ID/channels/CHANNEL_ID ", +"location": "path", +"pattern": "^sites/[^/]+/channels/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+parent}/releases", +"response": { +"$ref": "ListReleasesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only", +"https://www.googleapis.com/auth/firebase", +"https://www.googleapis.com/auth/firebase.readonly" +] +} +} +} +} +}, +"domains": { +"methods": { +"create": { +"description": "Creates a domain mapping on the specified site.", +"flatPath": "v1beta1/sites/{sitesId}/domains", +"httpMethod": "POST", +"id": "firebasehosting.sites.domains.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The parent to create the domain association for, in the format: sites/site-name", +"location": "path", +"pattern": "^sites/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+parent}/domains", +"request": { +"$ref": "Domain" +}, +"response": { +"$ref": "Domain" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/firebase" +] +}, +"delete": { +"description": "Deletes the existing domain mapping on the specified site.", +"flatPath": "v1beta1/sites/{sitesId}/domains/{domainsId}", +"httpMethod": "DELETE", +"id": "firebasehosting.sites.domains.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the domain association to delete.", +"location": "path", +"pattern": "^sites/[^/]+/domains/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+name}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/firebase" +] +}, +"get": { +"description": "Gets a domain mapping on the specified site.", +"flatPath": "v1beta1/sites/{sitesId}/domains/{domainsId}", +"httpMethod": "GET", +"id": "firebasehosting.sites.domains.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the domain configuration to get.", +"location": "path", +"pattern": "^sites/[^/]+/domains/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+name}", +"response": { +"$ref": "Domain" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only", +"https://www.googleapis.com/auth/firebase", +"https://www.googleapis.com/auth/firebase.readonly" +] +}, +"list": { +"description": "Lists the domains for the specified site.", +"flatPath": "v1beta1/sites/{sitesId}/domains", +"httpMethod": "GET", +"id": "firebasehosting.sites.domains.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "The page size to return. Defaults to 50.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The next_page_token from a previous request, if provided.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent for which to list domains, in the format: sites/ site-name", +"location": "path", +"pattern": "^sites/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+parent}/domains", +"response": { +"$ref": "ListDomainsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only", +"https://www.googleapis.com/auth/firebase", +"https://www.googleapis.com/auth/firebase.readonly" +] +}, +"update": { +"description": "Updates the specified domain mapping, creating the mapping as if it does not exist.", +"flatPath": "v1beta1/sites/{sitesId}/domains/{domainsId}", +"httpMethod": "PUT", +"id": "firebasehosting.sites.domains.update", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the domain association to update or create, if an association doesn't already exist.", +"location": "path", +"pattern": "^sites/[^/]+/domains/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+name}", +"request": { +"$ref": "Domain" +}, +"response": { +"$ref": "Domain" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/firebase" +] +} +} +}, +"releases": { +"methods": { +"create": { +"description": "Creates a new release, which makes the content of the specified version actively display on the appropriate URL(s).", +"flatPath": "v1beta1/sites/{sitesId}/releases", +"httpMethod": "POST", +"id": "firebasehosting.sites.releases.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The site or channel to which the release belongs, in either of the following formats: - sites/SITE_ID - sites/SITE_ID/channels/CHANNEL_ID", +"location": "path", +"pattern": "^sites/[^/]+$", +"required": true, +"type": "string" +}, +"versionName": { +"description": " The unique identifier for a version, in the format: sites/SITE_ID/versions/ VERSION_ID The SITE_ID in this version identifier must match the SITE_ID in the `parent` parameter. This query parameter must be empty if the `type` field in the request body is `SITE_DISABLE`.", +"location": "query", +"type": "string" +} +}, +"path": "v1beta1/{+parent}/releases", +"request": { +"$ref": "Release" +}, +"response": { +"$ref": "Release" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/firebase" +] +}, +"get": { +"description": "Gets the specified release for a site or channel. When used to get a release for a site, this can get releases for both the default `live` channel and any active preview channels for the specified site.", +"flatPath": "v1beta1/sites/{sitesId}/releases/{releasesId}", +"httpMethod": "GET", +"id": "firebasehosting.sites.releases.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The fully-qualified resource name for the Hosting release, in either of the following formats: - sites/SITE_ID/channels/CHANNEL_ID/releases/RELEASE_ID - sites/SITE_ID/releases/RELEASE_ID ", +"location": "path", +"pattern": "^sites/[^/]+/releases/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+name}", +"response": { +"$ref": "Release" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only", +"https://www.googleapis.com/auth/firebase", +"https://www.googleapis.com/auth/firebase.readonly" +] +}, +"list": { +"description": "Lists the releases that have been created for the specified site or channel. When used to list releases for a site, this list includes releases for both the default `live` channel and any active preview channels for the specified site.", +"flatPath": "v1beta1/sites/{sitesId}/releases", +"httpMethod": "GET", +"id": "firebasehosting.sites.releases.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "The maximum number of releases to return. The service may return a lower number if fewer releases exist than this maximum number. If unspecified, defaults to 100.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A token from a previous call to `releases.list` or `channels.releases.list` that tells the server where to resume listing.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The site or channel for which to list releases, in either of the following formats: - sites/SITE_ID - sites/SITE_ID/channels/CHANNEL_ID ", +"location": "path", +"pattern": "^sites/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+parent}/releases", +"response": { +"$ref": "ListReleasesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only", +"https://www.googleapis.com/auth/firebase", +"https://www.googleapis.com/auth/firebase.readonly" +] +} +} +}, +"versions": { +"methods": { +"clone": { +"description": "Creates a new version on the specified target site using the content of the specified version.", +"flatPath": "v1beta1/sites/{sitesId}/versions:clone", +"httpMethod": "POST", +"id": "firebasehosting.sites.versions.clone", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The target site for the cloned version, in the format: sites/ SITE_ID", +"location": "path", +"pattern": "^sites/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+parent}/versions:clone", +"request": { +"$ref": "CloneVersionRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/firebase" +] +}, +"create": { +"description": "Creates a new version for the specified site.", +"flatPath": "v1beta1/sites/{sitesId}/versions", +"httpMethod": "POST", +"id": "firebasehosting.sites.versions.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The site in which to create the version, in the format: sites/ SITE_ID", +"location": "path", +"pattern": "^sites/[^/]+$", +"required": true, +"type": "string" +}, +"sizeBytes": { +"description": "The self-reported size of the version. This value is used for a pre-emptive quota check for legacy version uploads.", +"format": "int64", +"location": "query", +"type": "string" +}, +"versionId": { +"deprecated": true, +"description": "A unique id for the new version. This is was only specified for legacy version creations, and should be blank.", +"location": "query", +"type": "string" +} +}, +"path": "v1beta1/{+parent}/versions", +"request": { +"$ref": "Version" +}, +"response": { +"$ref": "Version" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/firebase" +] +}, +"delete": { +"description": "Deletes the specified version.", +"flatPath": "v1beta1/sites/{sitesId}/versions/{versionsId}", +"httpMethod": "DELETE", +"id": "firebasehosting.sites.versions.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The fully-qualified resource name for the version, in the format: sites/SITE_ID/versions/VERSION_ID", +"location": "path", +"pattern": "^sites/[^/]+/versions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+name}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/firebase" +] +}, +"get": { +"description": "Get the specified version that has been created for the specified site. This can include versions that were created for the default `live` channel or for any active preview channels for the specified site.", +"flatPath": "v1beta1/sites/{sitesId}/versions/{versionsId}", +"httpMethod": "GET", +"id": "firebasehosting.sites.versions.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The fully-qualified resource name for the version, in the format: sites/SITE_ID/versions/VERSION_ID", +"location": "path", +"pattern": "^sites/[^/]+/versions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+name}", +"response": { +"$ref": "Version" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only", +"https://www.googleapis.com/auth/firebase", +"https://www.googleapis.com/auth/firebase.readonly" +] +}, +"list": { +"description": "Lists the versions that have been created for the specified site. This list includes versions for both the default `live` channel and any active preview channels for the specified site.", +"flatPath": "v1beta1/sites/{sitesId}/versions", +"httpMethod": "GET", +"id": "firebasehosting.sites.versions.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "A filter string used to return a subset of versions in the response. The currently supported fields for filtering are: `name`, `status`, and `create_time`. Learn more about filtering in Google's [AIP 160 standard](https://google.aip.dev/160).", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "The maximum number of versions to return. The service may return a lower number if fewer versions exist than this maximum number. If unspecified, defaults to 25. The maximum value is 100; values above 100 will be coerced to 100.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A token from a previous call to `ListVersions` that tells the server where to resume listing.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The site or channel for which to list versions, in either of the following formats: - sites/SITE_ID - sites/SITE_ID/channels/CHANNEL_ID ", +"location": "path", +"pattern": "^sites/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+parent}/versions", +"response": { +"$ref": "ListVersionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only", +"https://www.googleapis.com/auth/firebase", +"https://www.googleapis.com/auth/firebase.readonly" +] +}, +"patch": { +"description": " Updates the specified metadata for the specified version. This method will fail with `FAILED_PRECONDITION` in the event of an invalid state transition. The supported [state](../sites.versions#versionstatus) transitions for a version are from `CREATED` to `FINALIZED`. Use [`DeleteVersion`](delete) to set the status of a version to `DELETED`.", +"flatPath": "v1beta1/sites/{sitesId}/versions/{versionsId}", +"httpMethod": "PATCH", +"id": "firebasehosting.sites.versions.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The fully-qualified resource name for the version, in the format: sites/ SITE_ID/versions/VERSION_ID This name is provided in the response body when you call [`CreateVersion`](sites.versions/create).", +"location": "path", +"pattern": "^sites/[^/]+/versions/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "A set of field names from your [version](../sites.versions) that you want to update. A field will be overwritten if, and only if, it's in the mask. If a mask is not provided then a default mask of only [`status`](../sites.versions#Version.FIELDS.status) will be used.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1beta1/{+name}", +"request": { +"$ref": "Version" +}, +"response": { +"$ref": "Version" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/firebase" +] +}, +"populateFiles": { +"description": " Adds content files to the specified version. Each file must be under 2 GB.", +"flatPath": "v1beta1/sites/{sitesId}/versions/{versionsId}:populateFiles", +"httpMethod": "POST", +"id": "firebasehosting.sites.versions.populateFiles", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The version to which to add files, in the format: sites/SITE_ID /versions/VERSION_ID", +"location": "path", +"pattern": "^sites/[^/]+/versions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+parent}:populateFiles", +"request": { +"$ref": "PopulateVersionFilesRequest" +}, +"response": { +"$ref": "PopulateVersionFilesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/firebase" +] +} +}, +"resources": { +"files": { +"methods": { +"list": { +"description": "Lists the remaining files to be uploaded for the specified version.", +"flatPath": "v1beta1/sites/{sitesId}/versions/{versionsId}/files", +"httpMethod": "GET", +"id": "firebasehosting.sites.versions.files.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "The maximum number of version files to return. The service may return a lower number if fewer version files exist than this maximum number. If unspecified, defaults to 1000.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A token from a previous call to `ListVersionFiles` that tells the server where to resume listing.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The version for which to list files, in the format: sites/SITE_ID /versions/VERSION_ID", +"location": "path", +"pattern": "^sites/[^/]+/versions/[^/]+$", +"required": true, +"type": "string" +}, +"status": { +"description": " The type of files that should be listed for the specified version.", +"enum": [ +"STATUS_UNSPECIFIED", +"EXPECTED", +"ACTIVE" +], +"enumDescriptions": [ +"The default status; should not be intentionally used.", +"The file has been included in the version and is expected to be uploaded in the near future.", +"The file has already been uploaded to Firebase Hosting." +], +"location": "query", +"type": "string" +} +}, +"path": "v1beta1/{+parent}/files", +"response": { +"$ref": "ListVersionFilesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only", +"https://www.googleapis.com/auth/firebase", +"https://www.googleapis.com/auth/firebase.readonly" +] +} +} +} +} +} +} +} +}, +"revision": "20251207", +"rootUrl": "https://firebasehosting.googleapis.com/", +"schemas": { +"ActingUser": { +"description": "Contains metadata about the user who performed an action, such as creating a release or finalizing a version.", +"id": "ActingUser", +"properties": { +"email": { +"description": "The email address of the user when the user performed the action.", +"type": "string" +}, +"imageUrl": { +"description": "A profile image URL for the user. May not be present if the user has changed their email address or deleted their account.", +"type": "string" +} +}, +"type": "object" +}, +"CertDnsChallenge": { +"description": "Represents a DNS certificate challenge.", +"id": "CertDnsChallenge", +"properties": { +"domainName": { +"description": "The domain name upon which the DNS challenge must be satisfied.", +"type": "string" +}, +"token": { +"description": "The value that must be present as a TXT record on the domain name to satisfy the challenge.", +"type": "string" +} +}, +"type": "object" +}, +"CertHttpChallenge": { +"description": "Represents an HTTP certificate challenge.", +"id": "CertHttpChallenge", +"properties": { +"path": { +"description": "The URL path on which to serve the specified token to satisfy the certificate challenge.", +"type": "string" +}, +"token": { +"description": "The token to serve at the specified URL path to satisfy the certificate challenge.", +"type": "string" +} +}, +"type": "object" +}, +"CertVerification": { +"description": "A set of ACME challenges you can use to allow Hosting to create an SSL certificate for your domain name before directing traffic to Hosting servers. Use either the DNS or HTTP challenge; it's not necessary to provide both.", +"id": "CertVerification", +"properties": { +"dns": { +"$ref": "DnsUpdates", +"description": "Output only. A `TXT` record to add to your DNS records that confirms your intent to let Hosting create an SSL cert for your domain name.", +"readOnly": true +}, +"http": { +"$ref": "HttpUpdate", +"description": "Output only. A file to add to your existing, non-Hosting hosting service that confirms your intent to let Hosting create an SSL cert for your domain name.", +"readOnly": true +} +}, +"type": "object" +}, +"Certificate": { +"description": "An SSL certificate used to provide end-to-end encryption for requests against your domain name. A `Certificate` can be an actual SSL certificate or, for newly-created custom domains, Hosting's intent to create one.", +"id": "Certificate", +"properties": { +"createTime": { +"description": "Output only. The certificate's creation time. For `TEMPORARY` certs this is the time Hosting first generated challenges for your domain name. For all other cert types, it's the time the actual cert was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"expireTime": { +"description": "Output only. The certificate's expiration time. After this time, the cert can no longer be used to provide secure communication between Hosting and your site's visitors.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"issues": { +"description": "Output only. A set of errors Hosting encountered when attempting to create a cert for your domain name. Resolve these issues to ensure Hosting is able to provide secure communication with your site's visitors.", +"items": { +"$ref": "Status" +}, +"readOnly": true, +"type": "array" +}, +"state": { +"description": "Output only. The state of the certificate. Only the `CERT_ACTIVE` and `CERT_EXPIRING_SOON` states provide SSL coverage for a domain name. If the state is `PROPAGATING` and Hosting had an active cert for the domain name before, that formerly-active cert provides SSL coverage for the domain name until the current cert propagates.", +"enum": [ +"CERT_STATE_UNSPECIFIED", +"CERT_PREPARING", +"CERT_VALIDATING", +"CERT_PROPAGATING", +"CERT_ACTIVE", +"CERT_EXPIRING_SOON", +"CERT_EXPIRED" +], +"enumDescriptions": [ +"The certificate's state is unspecified. The message is invalid if this is unspecified.", +"The initial state of every certificate, represents Hosting's intent to create a certificate, before requests to a Certificate Authority are made.", +"Hosting is validating whether a domain name's DNS records are in a state that allow certificate creation on its behalf.", +"The certificate was recently created, and needs time to propagate in Hosting's CDN.", +"The certificate is active, providing secure connections for the domain names it represents.", +"The certificate is expiring, all domain names on it will be given new certificates.", +"The certificate has expired. Hosting can no longer serve secure content on your domain name." +], +"readOnly": true, +"type": "string" +}, +"type": { +"description": "Output only. The certificate's type.", +"enum": [ +"TYPE_UNSPECIFIED", +"TEMPORARY", +"GROUPED", +"PROJECT_GROUPED", +"DEDICATED" +], +"enumDescriptions": [ +"The certificate's type is unspecified. The message is invalid if this is unspecified.", +"A short-lived certificate type that covers a domain name temporarily, while Hosting creates a more permanent certificate.", +"The standard certificate for Spark plan custom domains.", +"Blaze plan only. A certificate that covers from 1 to 100 domain names with custom domains on the same Firebase project.", +"Blaze plan only. A certificate that covers a single domain name." +], +"readOnly": true, +"type": "string" +}, +"verification": { +"$ref": "CertVerification", +"description": "Output only. A set of ACME challenges you can add to your DNS records or existing, non-Hosting hosting provider to allow Hosting to create an SSL certificate for your domain name before you point traffic toward hosting. You can use thse challenges as part of a zero downtime transition from your old provider to Hosting.", +"readOnly": true +} +}, +"type": "object" +}, +"Channel": { +"description": "A `Channel` represents a stream of releases for a site. All sites have a default `live` channel that serves content to the Firebase-provided subdomains and any connected custom domains.", +"id": "Channel", +"properties": { +"createTime": { +"description": "Output only. The time at which the channel was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"expireTime": { +"description": "The time at which the channel will be automatically deleted. If null, the channel will not be automatically deleted. This field is present in the output whether it's set directly or via the `ttl` field.", +"format": "google-datetime", +"type": "string" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Text labels used for extra metadata and/or filtering.", +"type": "object" +}, +"name": { +"description": "The fully-qualified resource name for the channel, in the format: sites/ SITE_ID/channels/CHANNEL_ID", +"type": "string" +}, +"release": { +"$ref": "Release", +"description": "Output only. The current release for the channel, if any.", +"readOnly": true +}, +"retainedReleaseCount": { +"description": "The number of previous releases to retain on the channel for rollback or other purposes. Must be a number between 1-100. Defaults to 10 for new channels.", +"format": "int32", +"type": "integer" +}, +"ttl": { +"description": "Input only. A time-to-live for this channel. Sets `expire_time` to the provided duration past the time of the request.", +"format": "google-duration", +"type": "string" +}, +"updateTime": { +"description": "Output only. The time at which the channel was last updated.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"url": { +"description": "Output only. The URL at which the content of this channel's current release can be viewed. This URL is a Firebase-provided subdomain of `web.app`. The content of this channel's current release can also be viewed at the Firebase-provided subdomain of `firebaseapp.com`. If this channel is the `live` channel for the Hosting site, then the content of this channel's current release can also be viewed at any connected custom domains.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"CloneVersionRequest": { +"id": "CloneVersionRequest", +"properties": { +"exclude": { +"$ref": "PathFilter", +"description": "If provided, only paths that do not match any of the RegEx values in this list will be included in the new version." +}, +"finalize": { +"description": "If true, the call to `CloneVersion` immediately finalizes the version after cloning is complete. If false, the cloned version will have a status of `CREATED`. Use [`UpdateVersion`](patch) to set the status of the version to `FINALIZED`.", +"type": "boolean" +}, +"include": { +"$ref": "PathFilter", +"description": "If provided, only paths that match one or more RegEx values in this list will be included in the new version." +}, +"sourceVersion": { +"description": "Required. The unique identifier for the version to be cloned, in the format: sites/SITE_ID/versions/VERSION_ID", +"type": "string" +} +}, +"type": "object" +}, +"CloudRunRewrite": { +"description": "A configured rewrite that directs requests to a Cloud Run service. If the Cloud Run service does not exist when setting or updating your Firebase Hosting configuration, then the request fails. Any errors from the Cloud Run service are passed to the end user (for example, if you delete a service, any requests directed to that service receive a `404` error).", +"id": "CloudRunRewrite", +"properties": { +"region": { +"description": "Optional. User-provided region where the Cloud Run service is hosted. Defaults to `us-central1` if not supplied.", +"type": "string" +}, +"serviceId": { +"description": "Required. User-defined ID of the Cloud Run service.", +"type": "string" +}, +"tag": { +"description": "Optional. User-provided TrafficConfig tag to send traffic to. When omitted, traffic is sent to the service-wide URI", +"type": "string" +} +}, +"type": "object" +}, +"CustomDomain": { +"description": "A `CustomDomain` is an entity that links a domain name to a Firebase Hosting site. Add a `CustomDomain` to your site to allow Hosting to serve the site's content in response to requests against your domain name.", +"id": "CustomDomain", +"properties": { +"annotations": { +"additionalProperties": { +"type": "string" +}, +"description": "Annotations you can add to leave both human- and machine-readable metadata about your `CustomDomain`.", +"type": "object" +}, +"cert": { +"$ref": "Certificate", +"description": "Output only. The SSL certificate Hosting has for this custom domain's domain name. For new custom domains, this often represents Hosting's intent to create a certificate, rather than an actual cert. Check the `state` field for more.", +"readOnly": true +}, +"certPreference": { +"description": "A field that lets you specify which SSL certificate type Hosting creates for your domain name. Spark plan custom domains only have access to the `GROUPED` cert type, while Blaze plan domains can select any option.", +"enum": [ +"TYPE_UNSPECIFIED", +"TEMPORARY", +"GROUPED", +"PROJECT_GROUPED", +"DEDICATED" +], +"enumDescriptions": [ +"The certificate's type is unspecified. The message is invalid if this is unspecified.", +"A short-lived certificate type that covers a domain name temporarily, while Hosting creates a more permanent certificate.", +"The standard certificate for Spark plan custom domains.", +"Blaze plan only. A certificate that covers from 1 to 100 domain names with custom domains on the same Firebase project.", +"Blaze plan only. A certificate that covers a single domain name." +], +"type": "string" +}, +"createTime": { +"description": "Output only. The custom domain's create time.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"deleteTime": { +"description": "Output only. The time the `CustomDomain` was deleted; null for custom domains that haven't been deleted. Deleted custom domains persist for approximately 30 days, after which time Hosting removes them completely. To restore a deleted custom domain, make an `UndeleteCustomDomain` request.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"etag": { +"description": "Output only. A string that represents the current state of the `CustomDomain` and allows you to confirm its initial state in requests that would modify it. Use the tag to ensure consistency when making `UpdateCustomDomain`, `DeleteCustomDomain`, and `UndeleteCustomDomain` requests.", +"readOnly": true, +"type": "string" +}, +"expireTime": { +"description": "Output only. The minimum time before a soft-deleted `CustomDomain` is completely removed from Hosting; null for custom domains that haven't been deleted.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"hostState": { +"description": "Output only. The `HostState` of the domain name this `CustomDomain` refers to.", +"enum": [ +"HOST_STATE_UNSPECIFIED", +"HOST_UNHOSTED", +"HOST_UNREACHABLE", +"HOST_MISMATCH", +"HOST_CONFLICT", +"HOST_ACTIVE" +], +"enumDescriptions": [ +"Your custom domain's host state is unspecified. The message is invalid if this is unspecified.", +"Your custom domain's domain name isn't associated with any IP addresses.", +"Your custom domain's domain name can't be reached. Hosting services' DNS queries to find your domain name's IP addresses resulted in errors. See your `CustomDomain` object's `issues` field for more details.", +"Your custom domain's domain name has IP addresses that don't ultimately resolve to Hosting.", +"Your custom domain's domain name has IP addresses that resolve to both Hosting and other services. To ensure consistent results, remove `A` and `AAAA` records related to non-Hosting services.", +"All requests against your custom domain's domain name are served by Hosting. If the custom domain's `OwnershipState` is also `ACTIVE`, Hosting serves your Hosting site's content on the domain name." +], +"readOnly": true, +"type": "string" +}, +"issues": { +"description": "Output only. A set of errors Hosting systems encountered when trying to establish Hosting's ability to serve secure content for your domain name. Resolve these issues to ensure your `CustomDomain` behaves properly.", +"items": { +"$ref": "Status" +}, +"readOnly": true, +"type": "array" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Labels used for extra metadata and/or filtering.", +"type": "object" +}, +"name": { +"description": "Output only. The fully-qualified name of the `CustomDomain`.", +"readOnly": true, +"type": "string" +}, +"ownershipState": { +"description": "Output only. The `OwnershipState` of the domain name this `CustomDomain` refers to.", +"enum": [ +"OWNERSHIP_STATE_UNSPECIFIED", +"OWNERSHIP_MISSING", +"OWNERSHIP_UNREACHABLE", +"OWNERSHIP_MISMATCH", +"OWNERSHIP_CONFLICT", +"OWNERSHIP_PENDING", +"OWNERSHIP_ACTIVE" +], +"enumDescriptions": [ +"Your custom domain's ownership state is unspecified. This should never happen.", +"Your custom domain's domain name has no Hosting-related ownership records; no Firebase project has permission to act on the domain name's behalf.", +"Your custom domain's domain name can't be reached. Hosting services' DNS queries to find your domain name's ownership records resulted in errors. See your `CustomDomain` object's `issues` field for more details.", +"Your custom domain's domain name is owned by another Firebase project. Remove the conflicting `TXT` records and replace them with project-specific records for your current Firebase project.", +"Your custom domain's domain name has conflicting `TXT` records that indicate ownership by both your current Firebase project and another project. Remove the other project's ownership records to grant the current project ownership.", +"Your custom domain's DNS records are configured correctly. Hosting will transfer ownership of your domain to this `CustomDomain` within 24 hours.", +"Your custom domain's domain name has `TXT` records that grant its project permission to act on its behalf." +], +"readOnly": true, +"type": "string" +}, +"reconciling": { +"description": "Output only. A field that, if true, indicates that Hosting's systems are attmepting to make the custom domain's state match your preferred state. This is most frequently `true` when initially provisioning a `CustomDomain` after a `CreateCustomDomain` request or when creating a new SSL certificate to match an updated `cert_preference` after an `UpdateCustomDomain` request.", +"readOnly": true, +"type": "boolean" +}, +"redirectTarget": { +"description": "A domain name that this `CustomDomain` should direct traffic towards. If specified, Hosting will respond to requests against this custom domain with an HTTP 301 code, and route traffic to the specified `redirect_target` instead.", +"type": "string" +}, +"requiredDnsUpdates": { +"$ref": "DnsUpdates", +"description": "Output only. A set of updates you should make to the domain name's DNS records to let Hosting serve secure content on its behalf.", +"readOnly": true +}, +"updateTime": { +"description": "Output only. The last time the `CustomDomain` was updated.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"CustomDomainMetadata": { +"description": "Metadata associated with a`CustomDomain` operation.", +"id": "CustomDomainMetadata", +"properties": { +"certState": { +"description": "The `CertState` of the domain name's SSL certificate.", +"enum": [ +"CERT_STATE_UNSPECIFIED", +"CERT_PREPARING", +"CERT_VALIDATING", +"CERT_PROPAGATING", +"CERT_ACTIVE", +"CERT_EXPIRING_SOON", +"CERT_EXPIRED" +], +"enumDescriptions": [ +"The certificate's state is unspecified. The message is invalid if this is unspecified.", +"The initial state of every certificate, represents Hosting's intent to create a certificate, before requests to a Certificate Authority are made.", +"Hosting is validating whether a domain name's DNS records are in a state that allow certificate creation on its behalf.", +"The certificate was recently created, and needs time to propagate in Hosting's CDN.", +"The certificate is active, providing secure connections for the domain names it represents.", +"The certificate is expiring, all domain names on it will be given new certificates.", +"The certificate has expired. Hosting can no longer serve secure content on your domain name." +], +"type": "string" +}, +"hostState": { +"description": "The `HostState` of the domain name this `CustomDomain` refers to.", +"enum": [ +"HOST_STATE_UNSPECIFIED", +"HOST_UNHOSTED", +"HOST_UNREACHABLE", +"HOST_MISMATCH", +"HOST_CONFLICT", +"HOST_ACTIVE" +], +"enumDescriptions": [ +"Your custom domain's host state is unspecified. The message is invalid if this is unspecified.", +"Your custom domain's domain name isn't associated with any IP addresses.", +"Your custom domain's domain name can't be reached. Hosting services' DNS queries to find your domain name's IP addresses resulted in errors. See your `CustomDomain` object's `issues` field for more details.", +"Your custom domain's domain name has IP addresses that don't ultimately resolve to Hosting.", +"Your custom domain's domain name has IP addresses that resolve to both Hosting and other services. To ensure consistent results, remove `A` and `AAAA` records related to non-Hosting services.", +"All requests against your custom domain's domain name are served by Hosting. If the custom domain's `OwnershipState` is also `ACTIVE`, Hosting serves your Hosting site's content on the domain name." +], +"type": "string" +}, +"issues": { +"description": "A list of issues that are currently preventing Hosting from completing the operation. These are generally DNS-related issues that Hosting encounters when querying a domain name's records or attempting to mint an SSL certificate.", +"items": { +"$ref": "Status" +}, +"type": "array" +}, +"liveMigrationSteps": { +"description": "A set of DNS record updates and ACME challenges that allow you to transition domain names to Firebase Hosting with zero downtime. These updates allow Hosting to create an SSL certificate and establish ownership for your custom domain before Hosting begins serving traffic on it. If your domain name is already in active use with another provider, add one of the challenges and make the recommended DNS updates. After adding challenges and adjusting DNS records as necessary, wait for the `ownershipState` to be `OWNERSHIP_ACTIVE` and the `certState` to be `CERT_ACTIVE` before sending traffic to Hosting.", +"items": { +"$ref": "LiveMigrationStep" +}, +"type": "array" +}, +"ownershipState": { +"description": "The `OwnershipState` of the domain name this `CustomDomain` refers to.", +"enum": [ +"OWNERSHIP_STATE_UNSPECIFIED", +"OWNERSHIP_MISSING", +"OWNERSHIP_UNREACHABLE", +"OWNERSHIP_MISMATCH", +"OWNERSHIP_CONFLICT", +"OWNERSHIP_PENDING", +"OWNERSHIP_ACTIVE" +], +"enumDescriptions": [ +"Your custom domain's ownership state is unspecified. This should never happen.", +"Your custom domain's domain name has no Hosting-related ownership records; no Firebase project has permission to act on the domain name's behalf.", +"Your custom domain's domain name can't be reached. Hosting services' DNS queries to find your domain name's ownership records resulted in errors. See your `CustomDomain` object's `issues` field for more details.", +"Your custom domain's domain name is owned by another Firebase project. Remove the conflicting `TXT` records and replace them with project-specific records for your current Firebase project.", +"Your custom domain's domain name has conflicting `TXT` records that indicate ownership by both your current Firebase project and another project. Remove the other project's ownership records to grant the current project ownership.", +"Your custom domain's DNS records are configured correctly. Hosting will transfer ownership of your domain to this `CustomDomain` within 24 hours.", +"Your custom domain's domain name has `TXT` records that grant its project permission to act on its behalf." +], +"type": "string" +}, +"quickSetupUpdates": { +"$ref": "DnsUpdates", +"description": "A set of DNS record updates that allow Hosting to serve secure content on your domain name. The record type determines the update's purpose: - `A` and `AAAA`: Updates your domain name's IP addresses so that they direct traffic to Hosting servers. - `TXT`: Updates ownership permissions on your domain name, letting Hosting know that your custom domain's project has permission to perform actions for that domain name. - `CAA`: Updates your domain name's list of authorized Certificate Authorities (CAs). Only present if you have existing `CAA` records that prohibit Hosting's CA from minting certs for your domain name. These updates include all DNS changes you'll need to get started with Hosting, but, if made all at once, can result in a brief period of downtime for your domain name--while Hosting creates and uploads an SSL cert, for example. If you'd like to add your domain name to Hosting without downtime, complete the `liveMigrationSteps` first, before making the remaining updates in this field." +} +}, +"type": "object" +}, +"DnsRecord": { +"description": "DNS records are resource records that define how systems and services should behave when handling requests for a domain name. For example, when you add `A` records to your domain name's DNS records, you're informing other systems (such as your users' web browsers) to contact those IPv4 addresses to retrieve resources relevant to your domain name (such as your Hosting site files).", +"id": "DnsRecord", +"properties": { +"domainName": { +"description": "Output only. The domain name the record pertains to, e.g. `foo.bar.com.`.", +"readOnly": true, +"type": "string" +}, +"rdata": { +"description": "Output only. The data of the record. The meaning of the value depends on record type: - A and AAAA: IP addresses for the domain name. - CNAME: Another domain to check for records. - TXT: Arbitrary text strings associated with the domain name. Hosting uses TXT records to determine which Firebase projects have permission to act on the domain name's behalf. - CAA: The record's flags, tag, and value, e.g. `0 issue \"pki.goog\"`.", +"readOnly": true, +"type": "string" +}, +"requiredAction": { +"description": "Output only. An enum that indicates the a required action for this record.", +"enum": [ +"NONE", +"ADD", +"REMOVE" +], +"enumDescriptions": [ +"No action necessary.", +"Add this record to your DNS records.", +"Remove this record from your DNS records." +], +"readOnly": true, +"type": "string" +}, +"type": { +"description": "Output only. The record's type, which determines what data the record contains.", +"enum": [ +"TYPE_UNSPECIFIED", +"A", +"CNAME", +"TXT", +"AAAA", +"CAA" +], +"enumDescriptions": [ +"The record's type is unspecified. The message is invalid if this is unspecified.", +"An `A` record, as defined in [RFC 1035](https://tools.ietf.org/html/rfc1035). A records determine which IPv4 addresses a domain name directs traffic towards.", +"A `CNAME` record, as defined in [RFC 1035](https://tools.ietf.org/html/rfc1035). `CNAME` or Canonical Name records map a domain name to a different, canonical domain name. If a `CNAME` record is present, it should be the only record on the domain name.", +"A `TXT` record, as defined in [RFC 1035](https://tools.ietf.org/html/rfc1035). `TXT` records hold arbitrary text data on a domain name. Hosting uses `TXT` records to establish which Firebase Project has permission to act on a domain name.", +"An AAAA record, as defined in [RFC 3596](https://tools.ietf.org/html/rfc3596) AAAA records determine which IPv6 addresses a domain name directs traffic towards.", +"A CAA record, as defined in [RFC 6844](https://tools.ietf.org/html/rfc6844). CAA, or Certificate Authority Authorization, records determine which Certificate Authorities (SSL certificate minting organizations) are authorized to mint a certificate for the domain name. Firebase Hosting uses `pki.goog` as its primary CA. CAA records cascade. A CAA record on `foo.com` also applies to `bar.foo.com` unless `bar.foo.com` has its own set of CAA records. CAA records are optional. If a domain name and its parents have no CAA records, all CAs are authorized to mint certificates on its behalf. In general, Hosting only asks you to modify CAA records when doing so is required to unblock SSL cert creation." +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"DnsRecordSet": { +"description": "A set of DNS records relevant to the setup and maintenance of a custom domain in Firebase Hosting.", +"id": "DnsRecordSet", +"properties": { +"checkError": { +"$ref": "Status", +"description": "Output only. An error Hosting services encountered when querying your domain name's DNS records. Note: Hosting ignores `NXDOMAIN` errors, as those generally just mean that a domain name hasn't been set up yet.", +"readOnly": true +}, +"domainName": { +"description": "Output only. The domain name the record set pertains to.", +"readOnly": true, +"type": "string" +}, +"records": { +"description": "Output only. Records on the domain.", +"items": { +"$ref": "DnsRecord" +}, +"readOnly": true, +"type": "array" +} +}, +"type": "object" +}, +"DnsUpdates": { +"description": "A set of DNS record updates that you should make to allow Hosting to serve secure content in response to requests against your domain name. These updates present the current state of your domain name's DNS records when Hosting last queried them, and the desired set of records that Hosting needs to see before your custom domain can be fully active.", +"id": "DnsUpdates", +"properties": { +"checkTime": { +"description": "The last time Hosting checked your custom domain's DNS records.", +"format": "google-datetime", +"type": "string" +}, +"desired": { +"description": "The set of DNS records Hosting needs to serve secure content on the domain.", +"items": { +"$ref": "DnsRecordSet" +}, +"type": "array" +}, +"discovered": { +"description": "The set of DNS records Hosting discovered when inspecting a domain.", +"items": { +"$ref": "DnsRecordSet" +}, +"type": "array" +} +}, +"type": "object" +}, +"Domain": { +"description": "The intended behavior and status information of a domain.", +"id": "Domain", +"properties": { +"domainName": { +"description": "Required. The domain name of the association.", +"type": "string" +}, +"domainRedirect": { +"$ref": "DomainRedirect", +"description": "If set, the domain should redirect with the provided parameters." +}, +"provisioning": { +"$ref": "DomainProvisioning", +"description": "Output only. Information about the provisioning of certificates and the health of the DNS resolution for the domain." +}, +"site": { +"description": "Required. The site name of the association.", +"type": "string" +}, +"status": { +"description": "Output only. Additional status of the domain association.", +"enum": [ +"DOMAIN_STATUS_UNSPECIFIED", +"DOMAIN_CHANGE_PENDING", +"DOMAIN_ACTIVE", +"DOMAIN_VERIFICATION_REQUIRED", +"DOMAIN_VERIFICATION_LOST" +], +"enumDeprecated": [ +false, +true, +false, +false, +false +], +"enumDescriptions": [ +"Unspecified domain association status.", +"An external operation is in progress on the domain association and no further operations can be performed until it is complete. Formerly used for metabase updates. Not currently used", +"The domain association is active and no additional action is required.", +"The domain was previously verified in the legacy system. User must reverify the domain through the ownership service.", +"The domain verification has been lost and the domain is in the grace period before being removed from the Firebase Hosting site." +], +"type": "string" +}, +"updateTime": { +"description": "Output only. The time at which the domain was last updated.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"DomainProvisioning": { +"description": "The current certificate provisioning status information for a domain.", +"id": "DomainProvisioning", +"properties": { +"certChallengeDiscoveredTxt": { +"description": "The TXT records (for the certificate challenge) that were found at the last DNS fetch.", +"items": { +"type": "string" +}, +"type": "array" +}, +"certChallengeDns": { +"$ref": "CertDnsChallenge", +"description": "The DNS challenge for generating a certificate." +}, +"certChallengeHttp": { +"$ref": "CertHttpChallenge", +"description": "The HTTP challenge for generating a certificate." +}, +"certStatus": { +"description": "The certificate provisioning status; updated when Firebase Hosting provisions an SSL certificate for the domain.", +"enum": [ +"CERT_STATUS_UNSPECIFIED", +"CERT_PENDING", +"CERT_MISSING", +"CERT_PROCESSING", +"CERT_PROPAGATING", +"CERT_ACTIVE", +"CERT_ERROR" +], +"enumDescriptions": [ +"Unspecified certificate provisioning status.", +"Waiting for certificate challenge to be created.", +"Waiting for certificate challenge to be met.", +"Certificate challenge met; attempting to acquire/propagate certificate.", +"Certificate obtained; propagating to the CDN.", +"Certificate provisioned and deployed across the CDN.", +"Certificate provisioning failed in a non-recoverable manner." +], +"type": "string" +}, +"discoveredIps": { +"description": "The IPs found at the last DNS fetch.", +"items": { +"type": "string" +}, +"type": "array" +}, +"dnsFetchTime": { +"description": "The time at which the last DNS fetch occurred.", +"format": "google-datetime", +"type": "string" +}, +"dnsStatus": { +"description": "The DNS record match status as of the last DNS fetch.", +"enum": [ +"DNS_STATUS_UNSPECIFIED", +"DNS_PENDING", +"DNS_MISSING", +"DNS_PARTIAL_MATCH", +"DNS_MATCH", +"DNS_EXTRANEOUS_MATCH" +], +"enumDescriptions": [ +"Unspecified DNS status.", +"No DNS records have been specified for this domain yet.", +"None of the required DNS records have been detected on the domain.", +"Some of the required DNS records were detected, but not all of them. No extra (non-required) DNS records were detected.", +"All required DNS records were detected. No extra (non-required) DNS records were detected.", +"The domain has at least one of the required DNS records, and it has at least one extra (non-required) DNS record." +], +"type": "string" +}, +"expectedIps": { +"description": "The list of IPs to which the domain is expected to resolve.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"DomainRedirect": { +"description": "Defines the behavior of a domain-level redirect. Domain redirects preserve the path of the redirect but replace the requested domain with the one specified in the redirect configuration.", +"id": "DomainRedirect", +"properties": { +"domainName": { +"description": "Required. The domain name to redirect to.", +"type": "string" +}, +"type": { +"description": "Required. The redirect status code.", +"enum": [ +"REDIRECT_TYPE_UNSPECIFIED", +"MOVED_PERMANENTLY" +], +"enumDescriptions": [ +"The default redirect type; should not be intentionlly used.", +"The redirect will respond with an HTTP status code of `301 Moved Permanently`." +], +"type": "string" +} +}, +"type": "object" +}, +"Empty": { +"description": "A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }", +"id": "Empty", +"properties": {}, +"type": "object" +}, +"Header": { +"description": "A [`Header`](https://firebase.google.com/docs/hosting/full-config#headers) specifies a URL pattern that, if matched to the request URL path, triggers Hosting to apply the specified custom response headers.", +"id": "Header", +"properties": { +"glob": { +"description": "The user-supplied [glob](https://firebase.google.com/docs/hosting/full-config#glob_pattern_matching) to match against the request URL path.", +"type": "string" +}, +"headers": { +"additionalProperties": { +"type": "string" +}, +"description": "Required. The additional headers to add to the response.", +"type": "object" +}, +"regex": { +"description": "The user-supplied RE2 regular expression to match against the request URL path.", +"type": "string" +} +}, +"type": "object" +}, +"HttpUpdate": { +"description": "A file you can add to your existing, non-Hosting hosting service that confirms your intent to allow Hosting's Certificate Authorities to create an SSL certificate for your domain.", +"id": "HttpUpdate", +"properties": { +"checkError": { +"$ref": "Status", +"description": "Output only. An error encountered during the last contents check. If null, the check completed successfully.", +"readOnly": true +}, +"desired": { +"description": "Output only. A text string to serve at the path.", +"readOnly": true, +"type": "string" +}, +"discovered": { +"description": "Output only. Whether Hosting was able to find the required file contents on the specified path during its last check.", +"readOnly": true, +"type": "string" +}, +"lastCheckTime": { +"description": "Output only. The last time Hosting systems checked for the file contents.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"path": { +"description": "Output only. The path to the file.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"I18nConfig": { +"description": "If provided, i18n rewrites are enabled.", +"id": "I18nConfig", +"properties": { +"root": { +"description": "Required. The user-supplied path where country and language specific content will be looked for within the public directory.", +"type": "string" +} +}, +"type": "object" +}, +"ListChannelsResponse": { +"id": "ListChannelsResponse", +"properties": { +"channels": { +"description": "The list of channels.", +"items": { +"$ref": "Channel" +}, +"type": "array" +}, +"nextPageToken": { +"description": "The pagination token, if more results exist beyond the ones in this response. Include this token in your next call to `ListChannels`. Page tokens are short-lived and should not be stored.", +"type": "string" +} +}, +"type": "object" +}, +"ListCustomDomainsResponse": { +"description": "The response from `ListCustomDomains`.", +"id": "ListCustomDomainsResponse", +"properties": { +"customDomains": { +"description": "A list of `CustomDomain` entities associated with the specified Firebase `Site`.", +"items": { +"$ref": "CustomDomain" +}, +"type": "array" +}, +"nextPageToken": { +"description": "The pagination token, if more results exist beyond the ones in this response. Include this token in your next call to `ListCustomDomains`. Page tokens are short-lived and should not be stored.", +"type": "string" +} +}, +"type": "object" +}, +"ListDomainsResponse": { +"description": "The response to listing Domains.", +"id": "ListDomainsResponse", +"properties": { +"domains": { +"description": "The list of domains, if any exist.", +"items": { +"$ref": "Domain" +}, +"type": "array" +}, +"nextPageToken": { +"description": "The pagination token, if more results exist.", +"type": "string" +} +}, +"type": "object" +}, +"ListOperationsResponse": { +"description": "The response message for Operations.ListOperations.", +"id": "ListOperationsResponse", +"properties": { +"nextPageToken": { +"description": "The standard List next-page token.", +"type": "string" +}, +"operations": { +"description": "A list of operations that matches the specified filter in the request.", +"items": { +"$ref": "Operation" +}, +"type": "array" +}, +"unreachable": { +"description": "Unordered list. Unreachable resources. Populated when the request sets `ListOperationsRequest.return_partial_success` and reads across collections. For example, when attempting to list all resources across all supported locations.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListReleasesResponse": { +"id": "ListReleasesResponse", +"properties": { +"nextPageToken": { +"description": "The pagination token, if more results exist beyond the ones in this response. Include this token in your next call to `ListReleases`. Page tokens are short-lived and should not be stored.", +"type": "string" +}, +"releases": { +"description": "The list of hashes of files that still need to be uploaded, if any exist.", +"items": { +"$ref": "Release" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListSitesResponse": { +"id": "ListSitesResponse", +"properties": { +"nextPageToken": { +"description": "The pagination token, if more results exist beyond the ones in this response. Include this token in your next call to `ListSites`. Page tokens are short-lived and should not be stored.", +"type": "string" +}, +"sites": { +"description": "A list of Site objects associated with the specified Firebase project.", +"items": { +"$ref": "Site" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListVersionFilesResponse": { +"id": "ListVersionFilesResponse", +"properties": { +"files": { +"description": " The list of paths to the hashes of the files in the specified version.", +"items": { +"$ref": "VersionFile" +}, +"type": "array" +}, +"nextPageToken": { +"description": "The pagination token, if more results exist beyond the ones in this response. Include this token in your next call to `ListVersionFiles`. Page tokens are short-lived and should not be stored.", +"type": "string" +} +}, +"type": "object" +}, +"ListVersionsResponse": { +"id": "ListVersionsResponse", +"properties": { +"nextPageToken": { +"description": "The pagination token, if more results exist beyond the ones in this response. Include this token in your next call to `ListVersions`. Page tokens are short-lived and should not be stored.", +"type": "string" +}, +"versions": { +"description": "The list of versions, if any exist.", +"items": { +"$ref": "Version" +}, +"type": "array" +} +}, +"type": "object" +}, +"LiveMigrationStep": { +"description": "A set of updates including ACME challenges and DNS records that allow Hosting to create an SSL certificate and establish project ownership for your domain name before you direct traffic to Hosting servers. Use these updates to facilitate zero downtime migrations to Hosting from other services. After you've made the recommended updates, check your custom domain's `ownershipState` and `certState`. To avoid downtime, they should be `OWNERSHIP_ACTIVE` and `CERT_ACTIVE`, respectively, before you update your `A` and `AAAA` records.", +"id": "LiveMigrationStep", +"properties": { +"certVerification": { +"$ref": "CertVerification", +"description": "Output only. A pair of ACME challenges that Hosting's Certificate Authority (CA) can use to create an SSL cert for your domain name. Use either the DNS or HTTP challenge; it's not necessary to provide both.", +"readOnly": true +}, +"dnsUpdates": { +"$ref": "DnsUpdates", +"description": "Output only. DNS updates to facilitate your domain's zero-downtime migration to Hosting.", +"readOnly": true +}, +"issues": { +"description": "Output only. Issues that prevent the current step from completing.", +"items": { +"$ref": "Status" +}, +"readOnly": true, +"type": "array" +}, +"state": { +"description": "Output only. The state of the live migration step, indicates whether you should work to complete the step now, in the future, or have already completed it.", +"enum": [ +"STATE_UNSPECIFIED", +"PREPARING", +"PENDING", +"INCOMPLETE", +"PROCESSING", +"COMPLETE" +], +"enumDescriptions": [ +"The step's state is unspecified. The message is invalid if this is unspecified.", +"Hosting doesn't have enough information to construct the step yet. Complete any prior steps and/or resolve this step's issue to proceed.", +"The step's state is pending. Complete prior steps before working on a `PENDING` step.", +"The step is incomplete. You should complete any `certVerification` or `dnsUpdates` changes to complete it.", +"You've done your part to update records and present challenges as necessary. Hosting is now completing background processes to complete the step, e.g. minting an SSL cert for your domain name.", +"The step is complete. You've already made the necessary changes to your domain and/or prior hosting service to advance to the next step. Once all steps are complete, Hosting is ready to serve secure content on your domain." +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"Operation": { +"description": "This resource represents a long-running operation that is the result of a network API call.", +"id": "Operation", +"properties": { +"done": { +"description": "If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.", +"type": "boolean" +}, +"error": { +"$ref": "Status", +"description": "The error result of the operation in case of failure or cancellation." +}, +"metadata": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.", +"type": "object" +}, +"name": { +"description": "The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.", +"type": "string" +}, +"response": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "The normal, successful response of the operation. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.", +"type": "object" +} +}, +"type": "object" +}, +"PathFilter": { +"description": "A representation of filter path.", +"id": "PathFilter", +"properties": { +"regexes": { +"description": "An array of RegEx values by which to filter.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"PopulateVersionFilesRequest": { +"id": "PopulateVersionFilesRequest", +"properties": { +"files": { +"additionalProperties": { +"type": "string" +}, +"description": "A set of file paths to the hashes corresponding to assets that should be added to the version. A file path to an empty hash will remove the path from the version. Calculate a hash by Gzipping the file then taking the SHA256 hash of the newly compressed file.", +"type": "object" +} +}, +"type": "object" +}, +"PopulateVersionFilesResponse": { +"id": "PopulateVersionFilesResponse", +"properties": { +"uploadRequiredHashes": { +"description": "The content hashes of the specified files that need to be uploaded to the specified URL.", +"items": { +"type": "string" +}, +"type": "array" +}, +"uploadUrl": { +"description": "The URL to which the files should be uploaded, in the format: \"https://upload-firebasehosting.googleapis.com/upload/sites/SITE_ID /versions/VERSION_ID/files\" Perform a multipart `POST` of the Gzipped file contents to the URL using a forward slash and the hash of the file appended to the end.", +"type": "string" +} +}, +"type": "object" +}, +"Redirect": { +"description": "A [`Redirect`](https://firebase.google.com/docs/hosting/full-config#redirects) specifies a URL pattern that, if matched to the request URL path, triggers Hosting to respond with a redirect to the specified destination path.", +"id": "Redirect", +"properties": { +"glob": { +"description": "The user-supplied [glob](https://firebase.google.com/docs/hosting/full-config#glob_pattern_matching) to match against the request URL path.", +"type": "string" +}, +"location": { +"description": "Required. The value to put in the HTTP location header of the response. The location can contain capture group values from the pattern using a `:` prefix to identify the segment and an optional `*` to capture the rest of the URL. For example: \"glob\": \"/:capture*\", \"statusCode\": 301, \"location\": \"https://example.com/foo/:capture\"", +"type": "string" +}, +"regex": { +"description": "The user-supplied RE2 regular expression to match against the request URL path.", +"type": "string" +}, +"statusCode": { +"description": "Required. The status HTTP code to return in the response. It must be a valid 3xx status code.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"Release": { +"description": " A `Release` is a particular [collection of configurations and files](sites.versions) that is set to be public at a particular time.", +"id": "Release", +"properties": { +"message": { +"description": "The deploy description when the release was created. The value can be up to 512 characters.", +"type": "string" +}, +"name": { +"description": "Output only. The unique identifier for the release, in either of the following formats: - sites/SITE_ID/releases/RELEASE_ID - sites/SITE_ID/channels/CHANNEL_ID/releases/RELEASE_ID This name is provided in the response body when you call [`releases.create`](sites.releases/create) or [`channels.releases.create`](sites.channels.releases/create).", +"type": "string" +}, +"releaseTime": { +"description": "Output only. The time at which the version is set to be public.", +"format": "google-datetime", +"type": "string" +}, +"releaseUser": { +"$ref": "ActingUser", +"description": "Output only. Identifies the user who created the release." +}, +"type": { +"description": "Explains the reason for the release. Specify a value for this field only when creating a `SITE_DISABLE` type release.", +"enum": [ +"TYPE_UNSPECIFIED", +"DEPLOY", +"ROLLBACK", +"SITE_DISABLE" +], +"enumDescriptions": [ +"An unspecified type. Indicates that a version was released. This is the default value when no other `type` is explicitly specified.", +"A version was uploaded to Firebase Hosting and released.", +"The release points back to a previously deployed version.", +"The release prevents the site from serving content. Firebase Hosting acts as if the site never existed." +], +"type": "string" +}, +"version": { +"$ref": "Version", +"description": "Output only. The configuration and content that was released." +} +}, +"type": "object" +}, +"Rewrite": { +"description": "A [`Rewrite`](https://firebase.google.com/docs/hosting/full-config#rewrites) specifies a URL pattern that, if matched to the request URL path, triggers Hosting to respond as if the service were given the specified destination URL.", +"id": "Rewrite", +"properties": { +"dynamicLinks": { +"description": "The request will be forwarded to Firebase Dynamic Links.", +"type": "boolean" +}, +"function": { +"description": "The function to proxy requests to. Must match the exported function name exactly.", +"type": "string" +}, +"functionRegion": { +"description": "Optional. Specify a Cloud region for rewritten Functions invocations. If not provided, defaults to us-central1.", +"type": "string" +}, +"glob": { +"description": "The user-supplied [glob](https://firebase.google.com/docs/hosting/full-config#glob_pattern_matching) to match against the request URL path.", +"type": "string" +}, +"path": { +"description": "The URL path to rewrite the request to.", +"type": "string" +}, +"regex": { +"description": "The user-supplied RE2 regular expression to match against the request URL path.", +"type": "string" +}, +"run": { +"$ref": "CloudRunRewrite", +"description": "The request will be forwarded to Cloud Run." +} +}, +"type": "object" +}, +"ServingConfig": { +"description": "The configuration for how incoming requests to a site should be routed and processed before serving content. The URL request paths are matched against the specified URL patterns in the configuration, then Hosting applies the applicable configuration according to a specific [priority order](https://firebase.google.com/docs/hosting/full-config#hosting_priority_order).", +"id": "ServingConfig", +"properties": { +"appAssociation": { +"description": "How to handle well known App Association files.", +"enum": [ +"AUTO", +"NONE" +], +"enumDescriptions": [ +"The app association files will be automatically created from the apps that exist in the Firebase project.", +"No special handling of the app association files will occur, these paths will result in a 404 unless caught with a Rewrite." +], +"type": "string" +}, +"cleanUrls": { +"description": "Defines whether to drop the file extension from uploaded files.", +"type": "boolean" +}, +"headers": { +"description": "An array of objects, where each object specifies a URL pattern that, if matched to the request URL path, triggers Hosting to apply the specified custom response headers.", +"items": { +"$ref": "Header" +}, +"type": "array" +}, +"i18n": { +"$ref": "I18nConfig", +"description": "Optional. Defines i18n rewrite behavior." +}, +"redirects": { +"description": "An array of objects (called redirect rules), where each rule specifies a URL pattern that, if matched to the request URL path, triggers Hosting to respond with a redirect to the specified destination path.", +"items": { +"$ref": "Redirect" +}, +"type": "array" +}, +"rewrites": { +"description": "An array of objects (called rewrite rules), where each rule specifies a URL pattern that, if matched to the request URL path, triggers Hosting to respond as if the service were given the specified destination URL.", +"items": { +"$ref": "Rewrite" +}, +"type": "array" +}, +"trailingSlashBehavior": { +"description": "Defines how to handle a trailing slash in the URL path.", +"enum": [ +"TRAILING_SLASH_BEHAVIOR_UNSPECIFIED", +"ADD", +"REMOVE" +], +"enumDescriptions": [ +"No behavior is specified. Files are served at their exact location only, and trailing slashes are only added to directory indexes.", +"Trailing slashes are _added_ to directory indexes as well as to any URL path not ending in a file extension.", +"Trailing slashes are _removed_ from directory indexes as well as from any URL path not ending in a file extension." +], +"type": "string" +} +}, +"type": "object" +}, +"Site": { +"description": "A `Site` represents a Firebase Hosting site.", +"id": "Site", +"properties": { +"appId": { +"description": "Optional. The [ID of a Web App](https://firebase.google.com/docs/reference/firebase-management/rest/v1beta1/projects.webApps#WebApp.FIELDS.app_id) associated with the Hosting site.", +"type": "string" +}, +"defaultUrl": { +"description": "Output only. The default URL for the Hosting site.", +"readOnly": true, +"type": "string" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. User-specified labels for the Hosting site.", +"type": "object" +}, +"name": { +"description": "Output only. The fully-qualified resource name of the Hosting site, in the format: projects/PROJECT_IDENTIFIER/sites/SITE_ID PROJECT_IDENTIFIER: the Firebase project's [`ProjectNumber`](https://firebase.google.com/docs/reference/firebase-management/rest/v1beta1/projects#FirebaseProject.FIELDS.project_number) ***(recommended)*** or its [`ProjectId`](https://firebase.google.com/docs/reference/firebase-management/rest/v1beta1/projects#FirebaseProject.FIELDS.project_id). Learn more about using project identifiers in Google's [AIP 2510 standard](https://google.aip.dev/cloud/2510).", +"readOnly": true, +"type": "string" +}, +"type": { +"description": "Output only. The type of Hosting site. Every Firebase project has a `DEFAULT_SITE`, which is created when Hosting is provisioned for the project. All additional sites are `USER_SITE`.", +"enum": [ +"TYPE_UNSPECIFIED", +"DEFAULT_SITE", +"USER_SITE" +], +"enumDescriptions": [ +"Unknown state, likely the result of an error on the backend.", +"The default Hosting site that is provisioned when a Firebase project is created.", +"A Hosting site that the user created." +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"SiteConfig": { +"description": "A `SiteConfig` contains metadata associated with a specific site that controls Firebase Hosting serving behavior", +"id": "SiteConfig", +"properties": { +"cloudLoggingEnabled": { +"description": "Whether or not web requests made by site visitors are logged via Cloud Logging.", +"type": "boolean" +}, +"maxVersions": { +"description": "The number of FINALIZED versions that will be held for a site before automatic deletion. When a new version is deployed, content for versions in storage in excess of this number will be deleted, and will no longer be billed for storage usage. Oldest versions will be deleted first; sites are created with an unlimited number of max_versions by default.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"Status": { +"description": "The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors).", +"id": "Status", +"properties": { +"code": { +"description": "The status code, which should be an enum value of google.rpc.Code.", +"format": "int32", +"type": "integer" +}, +"details": { +"description": "A list of messages that carry the error details. There is a common set of message types for APIs to use.", +"items": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.", +"type": "string" +} +}, +"type": "object" +}, +"UndeleteCustomDomainRequest": { +"description": "The request sent to `UndeleteCustomDomain`.", +"id": "UndeleteCustomDomainRequest", +"properties": { +"etag": { +"description": "A tag that represents the state of the `CustomDomain` as you know it. If present, the supplied tag must match the current value on your `CustomDomain`, or the request fails.", +"type": "string" +}, +"validateOnly": { +"description": "If true, Hosting validates that it's possible to complete your request but doesn't actually delete the `CustomDomain`.", +"type": "boolean" +} +}, +"type": "object" +}, +"Version": { +"description": "A `Version` is a configuration and a collection of static files which determine how a site is displayed.", +"id": "Version", +"properties": { +"config": { +"$ref": "ServingConfig", +"description": "The configuration for the behavior of the site. This configuration exists in the [`firebase.json`](https://firebase.google.com/docs/cli/#the_firebasejson_file) file." +}, +"createTime": { +"description": "Output only. The time at which the version was created.", +"format": "google-datetime", +"type": "string" +}, +"createUser": { +"$ref": "ActingUser", +"description": "Output only. Identifies the user who created the version." +}, +"deleteTime": { +"description": "Output only. The time at which the version was `DELETED`.", +"format": "google-datetime", +"type": "string" +}, +"deleteUser": { +"$ref": "ActingUser", +"description": "Output only. Identifies the user who `DELETED` the version." +}, +"fileCount": { +"description": "Output only. The total number of files associated with the version. This value is calculated after a version is `FINALIZED`.", +"format": "int64", +"type": "string" +}, +"finalizeTime": { +"description": "Output only. The time at which the version was `FINALIZED`.", +"format": "google-datetime", +"type": "string" +}, +"finalizeUser": { +"$ref": "ActingUser", +"description": "Output only. Identifies the user who `FINALIZED` the version." +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "The labels used for extra metadata and/or filtering.", +"type": "object" +}, +"name": { +"description": "The fully-qualified resource name for the version, in the format: sites/ SITE_ID/versions/VERSION_ID This name is provided in the response body when you call [`CreateVersion`](sites.versions/create).", +"type": "string" +}, +"status": { +"description": "The deploy status of the version. For a successful deploy, call [`CreateVersion`](sites.versions/create) to make a new version (`CREATED` status), [upload all desired files](sites.versions/populateFiles) to the version, then [update](sites.versions/patch) the version to the `FINALIZED` status. Note that if you leave the version in the `CREATED` state for more than 12 hours, the system will automatically mark the version as `ABANDONED`. You can also change the status of a version to `DELETED` by calling [`DeleteVersion`](sites.versions/delete).", +"enum": [ +"VERSION_STATUS_UNSPECIFIED", +"CREATED", +"FINALIZED", +"DELETED", +"ABANDONED", +"EXPIRED", +"CLONING" +], +"enumDescriptions": [ +"The default status; should not be intentionally used.", +"The version has been created, and content is currently being added to the version.", +"All content has been added to the version, and the version can no longer be changed.", +"The version has been deleted.", +"The version was not updated to `FINALIZED` within 12 hours and was automatically deleted.", +"The version is outside the site-configured limit for the number of retained versions, so the version's content is scheduled for deletion.", +"The version is being cloned from another version. All content is still being copied over." +], +"type": "string" +}, +"versionBytes": { +"description": "Output only. The total stored bytesize of the version. This value is calculated after a version is `FINALIZED`.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"VersionFile": { +"description": "A static content file that is part of a version.", +"id": "VersionFile", +"properties": { +"hash": { +"description": "The SHA256 content hash of the file.", +"type": "string" +}, +"path": { +"description": "The URI at which the file's content should display.", +"type": "string" +}, +"status": { +"description": "Output only. The current status of a particular file in the specified version. The value will be either `pending upload` or `uploaded`.", +"enum": [ +"STATUS_UNSPECIFIED", +"EXPECTED", +"ACTIVE" +], +"enumDescriptions": [ +"The default status; should not be intentionally used.", +"The file has been included in the version and is expected to be uploaded in the near future.", +"The file has already been uploaded to Firebase Hosting." +], +"type": "string" +} +}, +"type": "object" +} +}, +"servicePath": "", +"title": "Firebase Hosting API", +"version": "v1beta1", +"version_module": true +} \ No newline at end of file diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/firebasestorage.v1beta.json b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/firebasestorage.v1beta.json new file mode 100644 index 0000000000000000000000000000000000000000..17cf27c549af554ff52c8c9a3e793ac3c614f8e4 --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/firebasestorage.v1beta.json @@ -0,0 +1,408 @@ +{ +"auth": { +"oauth2": { +"scopes": { +"https://www.googleapis.com/auth/cloud-platform": { +"description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." +}, +"https://www.googleapis.com/auth/firebase": { +"description": "View and administer all your Firebase data and settings" +} +} +} +}, +"basePath": "", +"baseUrl": "https://firebasestorage.googleapis.com/", +"batchPath": "batch", +"canonicalName": "Firebasestorage", +"description": "The Cloud Storage for Firebase API enables programmatic management of Cloud Storage buckets for use in Firebase projects", +"discoveryVersion": "v1", +"documentationLink": "https://firebase.google.com/docs/storage", +"fullyEncodeReservedExpansion": true, +"icons": { +"x16": "http://www.google.com/images/icons/product/search-16.gif", +"x32": "http://www.google.com/images/icons/product/search-32.gif" +}, +"id": "firebasestorage:v1beta", +"kind": "discovery#restDescription", +"mtlsRootUrl": "https://firebasestorage.mtls.googleapis.com/", +"name": "firebasestorage", +"ownerDomain": "google.com", +"ownerName": "Google", +"parameters": { +"$.xgafv": { +"description": "V1 error format.", +"enum": [ +"1", +"2" +], +"enumDescriptions": [ +"v1 error format", +"v2 error format" +], +"location": "query", +"type": "string" +}, +"access_token": { +"description": "OAuth access token.", +"location": "query", +"type": "string" +}, +"alt": { +"default": "json", +"description": "Data format for response.", +"enum": [ +"json", +"media", +"proto" +], +"enumDescriptions": [ +"Responses with Content-Type of application/json", +"Media download with context-dependent Content-Type", +"Responses with Content-Type of application/x-protobuf" +], +"location": "query", +"type": "string" +}, +"callback": { +"description": "JSONP", +"location": "query", +"type": "string" +}, +"fields": { +"description": "Selector specifying which fields to include in a partial response.", +"location": "query", +"type": "string" +}, +"key": { +"description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", +"location": "query", +"type": "string" +}, +"oauth_token": { +"description": "OAuth 2.0 token for the current user.", +"location": "query", +"type": "string" +}, +"prettyPrint": { +"default": "true", +"description": "Returns response with indentations and line breaks.", +"location": "query", +"type": "boolean" +}, +"quotaUser": { +"description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.", +"location": "query", +"type": "string" +}, +"uploadType": { +"description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", +"location": "query", +"type": "string" +}, +"upload_protocol": { +"description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", +"location": "query", +"type": "string" +} +}, +"protocol": "rest", +"resources": { +"projects": { +"methods": { +"deleteDefaultBucket": { +"description": "Unlinks and deletes the default bucket.", +"flatPath": "v1beta/projects/{projectsId}/defaultBucket", +"httpMethod": "DELETE", +"id": "firebasestorage.projects.deleteDefaultBucket", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the default bucket to delete, `projects/{project_id_or_number}/defaultBucket`.", +"location": "path", +"pattern": "^projects/[^/]+/defaultBucket$", +"required": true, +"type": "string" +} +}, +"path": "v1beta/{+name}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/firebase" +] +}, +"getDefaultBucket": { +"description": "Gets the default bucket.", +"flatPath": "v1beta/projects/{projectsId}/defaultBucket", +"httpMethod": "GET", +"id": "firebasestorage.projects.getDefaultBucket", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the default bucket to retrieve, `projects/{project_id_or_number}/defaultBucket`.", +"location": "path", +"pattern": "^projects/[^/]+/defaultBucket$", +"required": true, +"type": "string" +} +}, +"path": "v1beta/{+name}", +"response": { +"$ref": "DefaultBucket" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/firebase" +] +} +}, +"resources": { +"buckets": { +"methods": { +"addFirebase": { +"description": "Links a Google Cloud Storage bucket to a Firebase project.", +"flatPath": "v1beta/projects/{projectsId}/buckets/{bucketsId}:addFirebase", +"httpMethod": "POST", +"id": "firebasestorage.projects.buckets.addFirebase", +"parameterOrder": [ +"bucket" +], +"parameters": { +"bucket": { +"description": "Required. Resource name of the bucket, mirrors the ID of the underlying Google Cloud Storage bucket, `projects/{project_id_or_number}/buckets/{bucket_id}`.", +"location": "path", +"pattern": "^projects/[^/]+/buckets/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta/{+bucket}:addFirebase", +"request": { +"$ref": "AddFirebaseRequest" +}, +"response": { +"$ref": "Bucket" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/firebase" +] +}, +"get": { +"description": "Gets a single linked storage bucket.", +"flatPath": "v1beta/projects/{projectsId}/buckets/{bucketsId}", +"httpMethod": "GET", +"id": "firebasestorage.projects.buckets.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Resource name of the bucket, mirrors the ID of the underlying Google Cloud Storage bucket, `projects/{project_id_or_number}/buckets/{bucket_id}`.", +"location": "path", +"pattern": "^projects/[^/]+/buckets/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta/{+name}", +"response": { +"$ref": "Bucket" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/firebase" +] +}, +"list": { +"description": "Lists the linked storage buckets for a project.", +"flatPath": "v1beta/projects/{projectsId}/buckets", +"httpMethod": "GET", +"id": "firebasestorage.projects.buckets.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "The maximum number of buckets to return. If not set, the server will use a reasonable default.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A page token, received from a previous `ListBuckets` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListBuckets` must match the call that provided the page token.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. Resource name of the parent Firebase project, `projects/{project_id_or_number}`.", +"location": "path", +"pattern": "^projects/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta/{+parent}/buckets", +"response": { +"$ref": "ListBucketsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/firebase" +] +}, +"removeFirebase": { +"description": "Unlinks a linked Google Cloud Storage bucket from a Firebase project.", +"flatPath": "v1beta/projects/{projectsId}/buckets/{bucketsId}:removeFirebase", +"httpMethod": "POST", +"id": "firebasestorage.projects.buckets.removeFirebase", +"parameterOrder": [ +"bucket" +], +"parameters": { +"bucket": { +"description": "Required. Resource name of the bucket, mirrors the ID of the underlying Google Cloud Storage bucket, `projects/{project_id_or_number}/buckets/{bucket_id}`.", +"location": "path", +"pattern": "^projects/[^/]+/buckets/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta/{+bucket}:removeFirebase", +"request": { +"$ref": "RemoveFirebaseRequest" +}, +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/firebase" +] +} +} +}, +"defaultBucket": { +"methods": { +"create": { +"description": "Creates a Spark tier-eligible Cloud Storage bucket and links it to your Firebase project. If the default bucket already exists, this method will re-link it to your Firebase project. See https://firebase.google.com/pricing for pricing details.", +"flatPath": "v1beta/projects/{projectsId}/defaultBucket", +"httpMethod": "POST", +"id": "firebasestorage.projects.defaultBucket.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The parent resource where the default bucket will be created, `projects/{project_id_or_number}`.", +"location": "path", +"pattern": "^projects/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta/{+parent}/defaultBucket", +"request": { +"$ref": "DefaultBucket" +}, +"response": { +"$ref": "DefaultBucket" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/firebase" +] +} +} +} +} +} +}, +"revision": "20251031", +"rootUrl": "https://firebasestorage.googleapis.com/", +"schemas": { +"AddFirebaseRequest": { +"description": "The request used to link a Google Cloud Storage bucket to a Firebase project.", +"id": "AddFirebaseRequest", +"properties": {}, +"type": "object" +}, +"Bucket": { +"description": "A storage bucket and its relation to a parent Firebase project.", +"id": "Bucket", +"properties": { +"name": { +"description": "Output only. Resource name of the bucket.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"DefaultBucket": { +"description": "Spark tier-eligible Cloud Storage bucket. One per project. This resource exists if the underlying Cloud Storage bucket exists and it is linked to your Firebase project. See https://firebase.google.com/pricing for pricing details.", +"id": "DefaultBucket", +"properties": { +"bucket": { +"$ref": "Bucket", +"description": "Output only. Underlying bucket resource.", +"readOnly": true +}, +"location": { +"description": "Immutable. Location of the default bucket.", +"type": "string" +}, +"name": { +"description": "Identifier. Resource name of the default bucket.", +"type": "string" +}, +"storageClass": { +"description": "Immutable. Storage class of the default bucket. Supported values are available at https://cloud.google.com/storage/docs/storage-classes#classes.", +"type": "string" +} +}, +"type": "object" +}, +"Empty": { +"description": "A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }", +"id": "Empty", +"properties": {}, +"type": "object" +}, +"ListBucketsResponse": { +"description": "The response returned by `ListBuckets`.", +"id": "ListBucketsResponse", +"properties": { +"buckets": { +"description": "The list of linked buckets.", +"items": { +"$ref": "Bucket" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A token that can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.", +"type": "string" +} +}, +"type": "object" +}, +"RemoveFirebaseRequest": { +"description": "The request used to unlink a Google Cloud Storage bucket from a Firebase project.", +"id": "RemoveFirebaseRequest", +"properties": {}, +"type": "object" +} +}, +"servicePath": "", +"title": "Cloud Storage for Firebase API", +"version": "v1beta", +"version_module": true +} \ No newline at end of file diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/firestore.v1.json b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/firestore.v1.json new file mode 100644 index 0000000000000000000000000000000000000000..ad1c6c805e4be1386a307eb048d5f3004cc5b147 --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/firestore.v1.json @@ -0,0 +1,5836 @@ +{ +"auth": { +"oauth2": { +"scopes": { +"https://www.googleapis.com/auth/cloud-platform": { +"description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." +}, +"https://www.googleapis.com/auth/datastore": { +"description": "View and manage your Google Cloud Datastore data" +} +} +} +}, +"basePath": "", +"baseUrl": "https://firestore.googleapis.com/", +"batchPath": "batch", +"canonicalName": "Firestore", +"description": "Accesses the NoSQL document database built for automatic scaling, high performance, and ease of application development. ", +"discoveryVersion": "v1", +"documentationLink": "https://cloud.google.com/firestore", +"endpoints": [ +{ +"description": "Regional Endpoint", +"endpointUrl": "https://firestore.africa-south1.rep.googleapis.com/", +"location": "africa-south1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://firestore.asia-east1.rep.googleapis.com/", +"location": "asia-east1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://firestore.asia-east2.rep.googleapis.com/", +"location": "asia-east2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://firestore.asia-northeast1.rep.googleapis.com/", +"location": "asia-northeast1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://firestore.asia-northeast2.rep.googleapis.com/", +"location": "asia-northeast2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://firestore.asia-northeast3.rep.googleapis.com/", +"location": "asia-northeast3" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://firestore.asia-south1.rep.googleapis.com/", +"location": "asia-south1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://firestore.asia-south2.rep.googleapis.com/", +"location": "asia-south2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://firestore.asia-southeast1.rep.googleapis.com/", +"location": "asia-southeast1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://firestore.asia-southeast2.rep.googleapis.com/", +"location": "asia-southeast2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://firestore.asia-southeast3.rep.googleapis.com/", +"location": "asia-southeast3" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://firestore.australia-southeast1.rep.googleapis.com/", +"location": "australia-southeast1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://firestore.australia-southeast2.rep.googleapis.com/", +"location": "australia-southeast2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://firestore.europe-central2.rep.googleapis.com/", +"location": "europe-central2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://firestore.europe-north1.rep.googleapis.com/", +"location": "europe-north1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://firestore.europe-north2.rep.googleapis.com/", +"location": "europe-north2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://firestore.europe-southwest1.rep.googleapis.com/", +"location": "europe-southwest1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://firestore.europe-west1.rep.googleapis.com/", +"location": "europe-west1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://firestore.europe-west10.rep.googleapis.com/", +"location": "europe-west10" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://firestore.europe-west12.rep.googleapis.com/", +"location": "europe-west12" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://firestore.europe-west15.rep.googleapis.com/", +"location": "europe-west15" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://firestore.europe-west2.rep.googleapis.com/", +"location": "europe-west2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://firestore.europe-west3.rep.googleapis.com/", +"location": "europe-west3" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://firestore.europe-west4.rep.googleapis.com/", +"location": "europe-west4" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://firestore.europe-west6.rep.googleapis.com/", +"location": "europe-west6" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://firestore.europe-west8.rep.googleapis.com/", +"location": "europe-west8" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://firestore.europe-west9.rep.googleapis.com/", +"location": "europe-west9" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://firestore.me-central1.rep.googleapis.com/", +"location": "me-central1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://firestore.me-central2.rep.googleapis.com/", +"location": "me-central2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://firestore.me-west1.rep.googleapis.com/", +"location": "me-west1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://firestore.northamerica-northeast1.rep.googleapis.com/", +"location": "northamerica-northeast1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://firestore.northamerica-northeast2.rep.googleapis.com/", +"location": "northamerica-northeast2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://firestore.northamerica-south1.rep.googleapis.com/", +"location": "northamerica-south1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://firestore.southamerica-east1.rep.googleapis.com/", +"location": "southamerica-east1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://firestore.southamerica-west1.rep.googleapis.com/", +"location": "southamerica-west1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://firestore.us-central1.rep.googleapis.com/", +"location": "us-central1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://firestore.us-east1.rep.googleapis.com/", +"location": "us-east1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://firestore.us-east4.rep.googleapis.com/", +"location": "us-east4" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://firestore.us-east5.rep.googleapis.com/", +"location": "us-east5" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://firestore.us-south1.rep.googleapis.com/", +"location": "us-south1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://firestore.us-west1.rep.googleapis.com/", +"location": "us-west1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://firestore.us-west2.rep.googleapis.com/", +"location": "us-west2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://firestore.us-west3.rep.googleapis.com/", +"location": "us-west3" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://firestore.us-west4.rep.googleapis.com/", +"location": "us-west4" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://batch-firestore.africa-south1.rep.googleapis.com/", +"location": "africa-south1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://batch-firestore.asia-east1.rep.googleapis.com/", +"location": "asia-east1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://batch-firestore.asia-east2.rep.googleapis.com/", +"location": "asia-east2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://batch-firestore.asia-northeast1.rep.googleapis.com/", +"location": "asia-northeast1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://batch-firestore.asia-northeast2.rep.googleapis.com/", +"location": "asia-northeast2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://batch-firestore.asia-northeast3.rep.googleapis.com/", +"location": "asia-northeast3" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://batch-firestore.asia-south1.rep.googleapis.com/", +"location": "asia-south1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://batch-firestore.asia-south2.rep.googleapis.com/", +"location": "asia-south2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://batch-firestore.asia-southeast1.rep.googleapis.com/", +"location": "asia-southeast1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://batch-firestore.asia-southeast2.rep.googleapis.com/", +"location": "asia-southeast2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://batch-firestore.asia-southeast3.rep.googleapis.com/", +"location": "asia-southeast3" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://batch-firestore.australia-southeast1.rep.googleapis.com/", +"location": "australia-southeast1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://batch-firestore.australia-southeast2.rep.googleapis.com/", +"location": "australia-southeast2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://batch-firestore.europe-central2.rep.googleapis.com/", +"location": "europe-central2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://batch-firestore.europe-north1.rep.googleapis.com/", +"location": "europe-north1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://batch-firestore.europe-north2.rep.googleapis.com/", +"location": "europe-north2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://batch-firestore.europe-southwest1.rep.googleapis.com/", +"location": "europe-southwest1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://batch-firestore.europe-west1.rep.googleapis.com/", +"location": "europe-west1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://batch-firestore.europe-west10.rep.googleapis.com/", +"location": "europe-west10" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://batch-firestore.europe-west12.rep.googleapis.com/", +"location": "europe-west12" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://batch-firestore.europe-west15.rep.googleapis.com/", +"location": "europe-west15" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://batch-firestore.europe-west2.rep.googleapis.com/", +"location": "europe-west2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://batch-firestore.europe-west3.rep.googleapis.com/", +"location": "europe-west3" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://batch-firestore.europe-west4.rep.googleapis.com/", +"location": "europe-west4" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://batch-firestore.europe-west6.rep.googleapis.com/", +"location": "europe-west6" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://batch-firestore.europe-west8.rep.googleapis.com/", +"location": "europe-west8" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://batch-firestore.europe-west9.rep.googleapis.com/", +"location": "europe-west9" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://batch-firestore.me-central1.rep.googleapis.com/", +"location": "me-central1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://batch-firestore.me-central2.rep.googleapis.com/", +"location": "me-central2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://batch-firestore.me-west1.rep.googleapis.com/", +"location": "me-west1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://batch-firestore.northamerica-northeast1.rep.googleapis.com/", +"location": "northamerica-northeast1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://batch-firestore.northamerica-northeast2.rep.googleapis.com/", +"location": "northamerica-northeast2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://batch-firestore.northamerica-south1.rep.googleapis.com/", +"location": "northamerica-south1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://batch-firestore.southamerica-east1.rep.googleapis.com/", +"location": "southamerica-east1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://batch-firestore.southamerica-west1.rep.googleapis.com/", +"location": "southamerica-west1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://batch-firestore.us-central1.rep.googleapis.com/", +"location": "us-central1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://batch-firestore.us-east1.rep.googleapis.com/", +"location": "us-east1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://batch-firestore.us-east4.rep.googleapis.com/", +"location": "us-east4" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://batch-firestore.us-east5.rep.googleapis.com/", +"location": "us-east5" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://batch-firestore.us-south1.rep.googleapis.com/", +"location": "us-south1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://batch-firestore.us-west1.rep.googleapis.com/", +"location": "us-west1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://batch-firestore.us-west2.rep.googleapis.com/", +"location": "us-west2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://batch-firestore.us-west3.rep.googleapis.com/", +"location": "us-west3" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://batch-firestore.us-west4.rep.googleapis.com/", +"location": "us-west4" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://firestore.eu.rep.googleapis.com/", +"location": "eu" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://firestore.us.rep.googleapis.com/", +"location": "us" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://batch-firestore.eu.rep.googleapis.com/", +"location": "eu" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://batch-firestore.us.rep.googleapis.com/", +"location": "us" +} +], +"fullyEncodeReservedExpansion": true, +"icons": { +"x16": "http://www.google.com/images/icons/product/search-16.gif", +"x32": "http://www.google.com/images/icons/product/search-32.gif" +}, +"id": "firestore:v1", +"kind": "discovery#restDescription", +"mtlsRootUrl": "https://firestore.mtls.googleapis.com/", +"name": "firestore", +"ownerDomain": "google.com", +"ownerName": "Google", +"parameters": { +"$.xgafv": { +"description": "V1 error format.", +"enum": [ +"1", +"2" +], +"enumDescriptions": [ +"v1 error format", +"v2 error format" +], +"location": "query", +"type": "string" +}, +"access_token": { +"description": "OAuth access token.", +"location": "query", +"type": "string" +}, +"alt": { +"default": "json", +"description": "Data format for response.", +"enum": [ +"json", +"media", +"proto" +], +"enumDescriptions": [ +"Responses with Content-Type of application/json", +"Media download with context-dependent Content-Type", +"Responses with Content-Type of application/x-protobuf" +], +"location": "query", +"type": "string" +}, +"callback": { +"description": "JSONP", +"location": "query", +"type": "string" +}, +"fields": { +"description": "Selector specifying which fields to include in a partial response.", +"location": "query", +"type": "string" +}, +"key": { +"description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", +"location": "query", +"type": "string" +}, +"oauth_token": { +"description": "OAuth 2.0 token for the current user.", +"location": "query", +"type": "string" +}, +"prettyPrint": { +"default": "true", +"description": "Returns response with indentations and line breaks.", +"location": "query", +"type": "boolean" +}, +"quotaUser": { +"description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.", +"location": "query", +"type": "string" +}, +"uploadType": { +"description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", +"location": "query", +"type": "string" +}, +"upload_protocol": { +"description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", +"location": "query", +"type": "string" +} +}, +"protocol": "rest", +"resources": { +"projects": { +"resources": { +"databases": { +"methods": { +"bulkDeleteDocuments": { +"description": "Bulk deletes a subset of documents from Google Cloud Firestore. Documents created or updated after the underlying system starts to process the request will not be deleted. The bulk delete occurs in the background and its progress can be monitored and managed via the Operation resource that is created. For more details on bulk delete behavior, refer to: https://cloud.google.com/firestore/docs/manage-data/bulk-delete", +"flatPath": "v1/projects/{projectsId}/databases/{databasesId}:bulkDeleteDocuments", +"httpMethod": "POST", +"id": "firestore.projects.databases.bulkDeleteDocuments", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Database to operate. Should be of the form: `projects/{project_id}/databases/{database_id}`.", +"location": "path", +"pattern": "^projects/[^/]+/databases/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:bulkDeleteDocuments", +"request": { +"$ref": "GoogleFirestoreAdminV1BulkDeleteDocumentsRequest" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/datastore" +] +}, +"clone": { +"description": "Creates a new database by cloning an existing one. The new database must be in the same cloud region or multi-region location as the existing database. This behaves similar to FirestoreAdmin.CreateDatabase except instead of creating a new empty database, a new database is created with the database type, index configuration, and documents from an existing database. The long-running operation can be used to track the progress of the clone, with the Operation's metadata field type being the CloneDatabaseMetadata. The response type is the Database if the clone was successful. The new database is not readable or writeable until the LRO has completed.", +"flatPath": "v1/projects/{projectsId}/databases:clone", +"httpMethod": "POST", +"id": "firestore.projects.databases.clone", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The project to clone the database in. Format is `projects/{project_id}`.", +"location": "path", +"pattern": "^projects/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/databases:clone", +"request": { +"$ref": "GoogleFirestoreAdminV1CloneDatabaseRequest" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/datastore" +] +}, +"create": { +"description": "Create a database.", +"flatPath": "v1/projects/{projectsId}/databases", +"httpMethod": "POST", +"id": "firestore.projects.databases.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"databaseId": { +"description": "Required. The ID to use for the database, which will become the final component of the database's resource name. This value should be 4-63 characters. Valid characters are /a-z-/ with first character a letter and the last a letter or a number. Must not be UUID-like /[0-9a-f]{8}(-[0-9a-f]{4}){3}-[0-9a-f]{12}/. \"(default)\" database ID is also valid if the database is Standard edition.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. A parent name of the form `projects/{project_id}`", +"location": "path", +"pattern": "^projects/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/databases", +"request": { +"$ref": "GoogleFirestoreAdminV1Database" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/datastore" +] +}, +"delete": { +"description": "Deletes a database.", +"flatPath": "v1/projects/{projectsId}/databases/{databasesId}", +"httpMethod": "DELETE", +"id": "firestore.projects.databases.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"etag": { +"description": "The current etag of the Database. If an etag is provided and does not match the current etag of the database, deletion will be blocked and a FAILED_PRECONDITION error will be returned.", +"location": "query", +"type": "string" +}, +"name": { +"description": "Required. A name of the form `projects/{project_id}/databases/{database_id}`", +"location": "path", +"pattern": "^projects/[^/]+/databases/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/datastore" +] +}, +"exportDocuments": { +"description": "Exports a copy of all or a subset of documents from Google Cloud Firestore to another storage system, such as Google Cloud Storage. Recent updates to documents may not be reflected in the export. The export occurs in the background and its progress can be monitored and managed via the Operation resource that is created. The output of an export may only be used once the associated operation is done. If an export operation is cancelled before completion it may leave partial data behind in Google Cloud Storage. For more details on export behavior and output format, refer to: https://cloud.google.com/firestore/docs/manage-data/export-import", +"flatPath": "v1/projects/{projectsId}/databases/{databasesId}:exportDocuments", +"httpMethod": "POST", +"id": "firestore.projects.databases.exportDocuments", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Database to export. Should be of the form: `projects/{project_id}/databases/{database_id}`.", +"location": "path", +"pattern": "^projects/[^/]+/databases/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:exportDocuments", +"request": { +"$ref": "GoogleFirestoreAdminV1ExportDocumentsRequest" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/datastore" +] +}, +"get": { +"description": "Gets information about a database.", +"flatPath": "v1/projects/{projectsId}/databases/{databasesId}", +"httpMethod": "GET", +"id": "firestore.projects.databases.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. A name of the form `projects/{project_id}/databases/{database_id}`", +"location": "path", +"pattern": "^projects/[^/]+/databases/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleFirestoreAdminV1Database" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/datastore" +] +}, +"importDocuments": { +"description": "Imports documents into Google Cloud Firestore. Existing documents with the same name are overwritten. The import occurs in the background and its progress can be monitored and managed via the Operation resource that is created. If an ImportDocuments operation is cancelled, it is possible that a subset of the data has already been imported to Cloud Firestore.", +"flatPath": "v1/projects/{projectsId}/databases/{databasesId}:importDocuments", +"httpMethod": "POST", +"id": "firestore.projects.databases.importDocuments", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Database to import into. Should be of the form: `projects/{project_id}/databases/{database_id}`.", +"location": "path", +"pattern": "^projects/[^/]+/databases/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:importDocuments", +"request": { +"$ref": "GoogleFirestoreAdminV1ImportDocumentsRequest" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/datastore" +] +}, +"list": { +"description": "List all the databases in the project.", +"flatPath": "v1/projects/{projectsId}/databases", +"httpMethod": "GET", +"id": "firestore.projects.databases.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. A parent name of the form `projects/{project_id}`", +"location": "path", +"pattern": "^projects/[^/]+$", +"required": true, +"type": "string" +}, +"showDeleted": { +"description": "If true, also returns deleted resources.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1/{+parent}/databases", +"response": { +"$ref": "GoogleFirestoreAdminV1ListDatabasesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/datastore" +] +}, +"patch": { +"description": "Updates a database.", +"flatPath": "v1/projects/{projectsId}/databases/{databasesId}", +"httpMethod": "PATCH", +"id": "firestore.projects.databases.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The resource name of the Database. Format: `projects/{project}/databases/{database}`", +"location": "path", +"pattern": "^projects/[^/]+/databases/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "The list of fields to be updated.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "GoogleFirestoreAdminV1Database" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/datastore" +] +}, +"restore": { +"description": "Creates a new database by restoring from an existing backup. The new database must be in the same cloud region or multi-region location as the existing backup. This behaves similar to FirestoreAdmin.CreateDatabase except instead of creating a new empty database, a new database is created with the database type, index configuration, and documents from an existing backup. The long-running operation can be used to track the progress of the restore, with the Operation's metadata field type being the RestoreDatabaseMetadata. The response type is the Database if the restore was successful. The new database is not readable or writeable until the LRO has completed.", +"flatPath": "v1/projects/{projectsId}/databases:restore", +"httpMethod": "POST", +"id": "firestore.projects.databases.restore", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The project to restore the database in. Format is `projects/{project_id}`.", +"location": "path", +"pattern": "^projects/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/databases:restore", +"request": { +"$ref": "GoogleFirestoreAdminV1RestoreDatabaseRequest" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/datastore" +] +} +}, +"resources": { +"backupSchedules": { +"methods": { +"create": { +"description": "Creates a backup schedule on a database. At most two backup schedules can be configured on a database, one daily backup schedule and one weekly backup schedule.", +"flatPath": "v1/projects/{projectsId}/databases/{databasesId}/backupSchedules", +"httpMethod": "POST", +"id": "firestore.projects.databases.backupSchedules.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The parent database. Format `projects/{project}/databases/{database}`", +"location": "path", +"pattern": "^projects/[^/]+/databases/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/backupSchedules", +"request": { +"$ref": "GoogleFirestoreAdminV1BackupSchedule" +}, +"response": { +"$ref": "GoogleFirestoreAdminV1BackupSchedule" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/datastore" +] +}, +"delete": { +"description": "Deletes a backup schedule.", +"flatPath": "v1/projects/{projectsId}/databases/{databasesId}/backupSchedules/{backupSchedulesId}", +"httpMethod": "DELETE", +"id": "firestore.projects.databases.backupSchedules.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the backup schedule. Format `projects/{project}/databases/{database}/backupSchedules/{backup_schedule}`", +"location": "path", +"pattern": "^projects/[^/]+/databases/[^/]+/backupSchedules/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/datastore" +] +}, +"get": { +"description": "Gets information about a backup schedule.", +"flatPath": "v1/projects/{projectsId}/databases/{databasesId}/backupSchedules/{backupSchedulesId}", +"httpMethod": "GET", +"id": "firestore.projects.databases.backupSchedules.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the backup schedule. Format `projects/{project}/databases/{database}/backupSchedules/{backup_schedule}`", +"location": "path", +"pattern": "^projects/[^/]+/databases/[^/]+/backupSchedules/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleFirestoreAdminV1BackupSchedule" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/datastore" +] +}, +"list": { +"description": "List backup schedules.", +"flatPath": "v1/projects/{projectsId}/databases/{databasesId}/backupSchedules", +"httpMethod": "GET", +"id": "firestore.projects.databases.backupSchedules.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The parent database. Format is `projects/{project}/databases/{database}`.", +"location": "path", +"pattern": "^projects/[^/]+/databases/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/backupSchedules", +"response": { +"$ref": "GoogleFirestoreAdminV1ListBackupSchedulesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/datastore" +] +}, +"patch": { +"description": "Updates a backup schedule.", +"flatPath": "v1/projects/{projectsId}/databases/{databasesId}/backupSchedules/{backupSchedulesId}", +"httpMethod": "PATCH", +"id": "firestore.projects.databases.backupSchedules.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Output only. The unique backup schedule identifier across all locations and databases for the given project. This will be auto-assigned. Format is `projects/{project}/databases/{database}/backupSchedules/{backup_schedule}`", +"location": "path", +"pattern": "^projects/[^/]+/databases/[^/]+/backupSchedules/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "The list of fields to be updated.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "GoogleFirestoreAdminV1BackupSchedule" +}, +"response": { +"$ref": "GoogleFirestoreAdminV1BackupSchedule" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/datastore" +] +} +} +}, +"collectionGroups": { +"resources": { +"fields": { +"methods": { +"get": { +"description": "Gets the metadata and configuration for a Field.", +"flatPath": "v1/projects/{projectsId}/databases/{databasesId}/collectionGroups/{collectionGroupsId}/fields/{fieldsId}", +"httpMethod": "GET", +"id": "firestore.projects.databases.collectionGroups.fields.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. A name of the form `projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}/fields/{field_id}`", +"location": "path", +"pattern": "^projects/[^/]+/databases/[^/]+/collectionGroups/[^/]+/fields/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleFirestoreAdminV1Field" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/datastore" +] +}, +"list": { +"description": "Lists the field configuration and metadata for this database. Currently, FirestoreAdmin.ListFields only supports listing fields that have been explicitly overridden. To issue this query, call FirestoreAdmin.ListFields with the filter set to `indexConfig.usesAncestorConfig:false` or `ttlConfig:*`.", +"flatPath": "v1/projects/{projectsId}/databases/{databasesId}/collectionGroups/{collectionGroupsId}/fields", +"httpMethod": "GET", +"id": "firestore.projects.databases.collectionGroups.fields.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "The filter to apply to list results. Currently, FirestoreAdmin.ListFields only supports listing fields that have been explicitly overridden. To issue this query, call FirestoreAdmin.ListFields with a filter that includes `indexConfig.usesAncestorConfig:false` or `ttlConfig:*`.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "The number of results to return.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A page token, returned from a previous call to FirestoreAdmin.ListFields, that may be used to get the next page of results.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. A parent name of the form `projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}`", +"location": "path", +"pattern": "^projects/[^/]+/databases/[^/]+/collectionGroups/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/fields", +"response": { +"$ref": "GoogleFirestoreAdminV1ListFieldsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/datastore" +] +}, +"patch": { +"description": "Updates a field configuration. Currently, field updates apply only to single field index configuration. However, calls to FirestoreAdmin.UpdateField should provide a field mask to avoid changing any configuration that the caller isn't aware of. The field mask should be specified as: `{ paths: \"index_config\" }`. This call returns a google.longrunning.Operation which may be used to track the status of the field update. The metadata for the operation will be the type FieldOperationMetadata. To configure the default field settings for the database, use the special `Field` with resource name: `projects/{project_id}/databases/{database_id}/collectionGroups/__default__/fields/*`.", +"flatPath": "v1/projects/{projectsId}/databases/{databasesId}/collectionGroups/{collectionGroupsId}/fields/{fieldsId}", +"httpMethod": "PATCH", +"id": "firestore.projects.databases.collectionGroups.fields.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. A field name of the form: `projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}/fields/{field_path}` A field path can be a simple field name, e.g. `address` or a path to fields within `map_value` , e.g. `address.city`, or a special field path. The only valid special field is `*`, which represents any field. Field paths can be quoted using `` ` `` (backtick). The only character that must be escaped within a quoted field path is the backtick character itself, escaped using a backslash. Special characters in field paths that must be quoted include: `*`, `.`, `` ` `` (backtick), `[`, `]`, as well as any ascii symbolic characters. Examples: `` `address.city` `` represents a field named `address.city`, not the map key `city` in the field `address`. `` `*` `` represents a field named `*`, not any field. A special `Field` contains the default indexing settings for all fields. This field's resource name is: `projects/{project_id}/databases/{database_id}/collectionGroups/__default__/fields/*` Indexes defined on this `Field` will be applied to all fields which do not have their own `Field` index configuration.", +"location": "path", +"pattern": "^projects/[^/]+/databases/[^/]+/collectionGroups/[^/]+/fields/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "A mask, relative to the field. If specified, only configuration specified by this field_mask will be updated in the field.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "GoogleFirestoreAdminV1Field" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/datastore" +] +} +} +}, +"indexes": { +"methods": { +"create": { +"description": "Creates a composite index. This returns a google.longrunning.Operation which may be used to track the status of the creation. The metadata for the operation will be the type IndexOperationMetadata.", +"flatPath": "v1/projects/{projectsId}/databases/{databasesId}/collectionGroups/{collectionGroupsId}/indexes", +"httpMethod": "POST", +"id": "firestore.projects.databases.collectionGroups.indexes.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. A parent name of the form `projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}`", +"location": "path", +"pattern": "^projects/[^/]+/databases/[^/]+/collectionGroups/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/indexes", +"request": { +"$ref": "GoogleFirestoreAdminV1Index" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/datastore" +] +}, +"delete": { +"description": "Deletes a composite index.", +"flatPath": "v1/projects/{projectsId}/databases/{databasesId}/collectionGroups/{collectionGroupsId}/indexes/{indexesId}", +"httpMethod": "DELETE", +"id": "firestore.projects.databases.collectionGroups.indexes.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. A name of the form `projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}/indexes/{index_id}`", +"location": "path", +"pattern": "^projects/[^/]+/databases/[^/]+/collectionGroups/[^/]+/indexes/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/datastore" +] +}, +"get": { +"description": "Gets a composite index.", +"flatPath": "v1/projects/{projectsId}/databases/{databasesId}/collectionGroups/{collectionGroupsId}/indexes/{indexesId}", +"httpMethod": "GET", +"id": "firestore.projects.databases.collectionGroups.indexes.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. A name of the form `projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}/indexes/{index_id}`", +"location": "path", +"pattern": "^projects/[^/]+/databases/[^/]+/collectionGroups/[^/]+/indexes/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleFirestoreAdminV1Index" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/datastore" +] +}, +"list": { +"description": "Lists composite indexes.", +"flatPath": "v1/projects/{projectsId}/databases/{databasesId}/collectionGroups/{collectionGroupsId}/indexes", +"httpMethod": "GET", +"id": "firestore.projects.databases.collectionGroups.indexes.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "The filter to apply to list results.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "The number of results to return.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A page token, returned from a previous call to FirestoreAdmin.ListIndexes, that may be used to get the next page of results.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. A parent name of the form `projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}`", +"location": "path", +"pattern": "^projects/[^/]+/databases/[^/]+/collectionGroups/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/indexes", +"response": { +"$ref": "GoogleFirestoreAdminV1ListIndexesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/datastore" +] +} +} +} +} +}, +"documents": { +"methods": { +"batchGet": { +"description": "Gets multiple documents. Documents returned by this method are not guaranteed to be returned in the same order that they were requested.", +"flatPath": "v1/projects/{projectsId}/databases/{databasesId}/documents:batchGet", +"httpMethod": "POST", +"id": "firestore.projects.databases.documents.batchGet", +"parameterOrder": [ +"database" +], +"parameters": { +"database": { +"description": "Required. The database name. In the format: `projects/{project_id}/databases/{database_id}`.", +"location": "path", +"pattern": "^projects/[^/]+/databases/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+database}/documents:batchGet", +"request": { +"$ref": "BatchGetDocumentsRequest" +}, +"response": { +"$ref": "BatchGetDocumentsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/datastore" +] +}, +"batchWrite": { +"description": "Applies a batch of write operations. The BatchWrite method does not apply the write operations atomically and can apply them out of order. Method does not allow more than one write per document. Each write succeeds or fails independently. See the BatchWriteResponse for the success status of each write. If you require an atomically applied set of writes, use Commit instead.", +"flatPath": "v1/projects/{projectsId}/databases/{databasesId}/documents:batchWrite", +"httpMethod": "POST", +"id": "firestore.projects.databases.documents.batchWrite", +"parameterOrder": [ +"database" +], +"parameters": { +"database": { +"description": "Required. The database name. In the format: `projects/{project_id}/databases/{database_id}`.", +"location": "path", +"pattern": "^projects/[^/]+/databases/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+database}/documents:batchWrite", +"request": { +"$ref": "BatchWriteRequest" +}, +"response": { +"$ref": "BatchWriteResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/datastore" +] +}, +"beginTransaction": { +"description": "Starts a new transaction.", +"flatPath": "v1/projects/{projectsId}/databases/{databasesId}/documents:beginTransaction", +"httpMethod": "POST", +"id": "firestore.projects.databases.documents.beginTransaction", +"parameterOrder": [ +"database" +], +"parameters": { +"database": { +"description": "Required. The database name. In the format: `projects/{project_id}/databases/{database_id}`.", +"location": "path", +"pattern": "^projects/[^/]+/databases/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+database}/documents:beginTransaction", +"request": { +"$ref": "BeginTransactionRequest" +}, +"response": { +"$ref": "BeginTransactionResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/datastore" +] +}, +"commit": { +"description": "Commits a transaction, while optionally updating documents.", +"flatPath": "v1/projects/{projectsId}/databases/{databasesId}/documents:commit", +"httpMethod": "POST", +"id": "firestore.projects.databases.documents.commit", +"parameterOrder": [ +"database" +], +"parameters": { +"database": { +"description": "Required. The database name. In the format: `projects/{project_id}/databases/{database_id}`.", +"location": "path", +"pattern": "^projects/[^/]+/databases/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+database}/documents:commit", +"request": { +"$ref": "CommitRequest" +}, +"response": { +"$ref": "CommitResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/datastore" +] +}, +"createDocument": { +"description": "Creates a new document.", +"flatPath": "v1/projects/{projectsId}/databases/{databasesId}/documents/{documentsId}/{collectionId}", +"httpMethod": "POST", +"id": "firestore.projects.databases.documents.createDocument", +"parameterOrder": [ +"parent", +"collectionId" +], +"parameters": { +"collectionId": { +"description": "Required. The collection ID, relative to `parent`, to list. For example: `chatrooms`.", +"location": "path", +"required": true, +"type": "string" +}, +"documentId": { +"description": "The client-assigned document ID to use for this document. Optional. If not specified, an ID will be assigned by the service.", +"location": "query", +"type": "string" +}, +"mask.fieldPaths": { +"description": "The list of field paths in the mask. See Document.fields for a field path syntax reference.", +"location": "query", +"repeated": true, +"type": "string" +}, +"parent": { +"description": "Required. The parent resource. For example: `projects/{project_id}/databases/{database_id}/documents` or `projects/{project_id}/databases/{database_id}/documents/chatrooms/{chatroom_id}`", +"location": "path", +"pattern": "^projects/[^/]+/databases/[^/]+/documents/.*$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/{collectionId}", +"request": { +"$ref": "Document" +}, +"response": { +"$ref": "Document" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/datastore" +] +}, +"delete": { +"description": "Deletes a document.", +"flatPath": "v1/projects/{projectsId}/databases/{databasesId}/documents/{documentsId}/{documentsId1}", +"httpMethod": "DELETE", +"id": "firestore.projects.databases.documents.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"currentDocument.exists": { +"description": "When set to `true`, the target document must exist. When set to `false`, the target document must not exist.", +"location": "query", +"type": "boolean" +}, +"currentDocument.updateTime": { +"description": "When set, the target document must exist and have been last updated at that time. Timestamp must be microsecond aligned.", +"format": "google-datetime", +"location": "query", +"type": "string" +}, +"name": { +"description": "Required. The resource name of the Document to delete. In the format: `projects/{project_id}/databases/{database_id}/documents/{document_path}`.", +"location": "path", +"pattern": "^projects/[^/]+/databases/[^/]+/documents/[^/]+/.*$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/datastore" +] +}, +"executePipeline": { +"description": "Executes a pipeline query.", +"flatPath": "v1/projects/{projectsId}/databases/{databasesId}/documents:executePipeline", +"httpMethod": "POST", +"id": "firestore.projects.databases.documents.executePipeline", +"parameterOrder": [ +"database" +], +"parameters": { +"database": { +"description": "Required. Database identifier, in the form `projects/{project}/databases/{database}`.", +"location": "path", +"pattern": "^projects/[^/]+/databases/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+database}/documents:executePipeline", +"request": { +"$ref": "ExecutePipelineRequest" +}, +"response": { +"$ref": "ExecutePipelineResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/datastore" +] +}, +"get": { +"description": "Gets a single document.", +"flatPath": "v1/projects/{projectsId}/databases/{databasesId}/documents/{documentsId}/{documentsId1}", +"httpMethod": "GET", +"id": "firestore.projects.databases.documents.get", +"parameterOrder": [ +"name" +], +"parameters": { +"mask.fieldPaths": { +"description": "The list of field paths in the mask. See Document.fields for a field path syntax reference.", +"location": "query", +"repeated": true, +"type": "string" +}, +"name": { +"description": "Required. The resource name of the Document to get. In the format: `projects/{project_id}/databases/{database_id}/documents/{document_path}`.", +"location": "path", +"pattern": "^projects/[^/]+/databases/[^/]+/documents/[^/]+/.*$", +"required": true, +"type": "string" +}, +"readTime": { +"description": "Reads the version of the document at the given time. This must be a microsecond precision timestamp within the past one hour, or if Point-in-Time Recovery is enabled, can additionally be a whole minute timestamp within the past 7 days.", +"format": "google-datetime", +"location": "query", +"type": "string" +}, +"transaction": { +"description": "Reads the document in a transaction.", +"format": "byte", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Document" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/datastore" +] +}, +"list": { +"description": "Lists documents.", +"flatPath": "v1/projects/{projectsId}/databases/{databasesId}/documents/{documentsId}/{documentsId1}/{collectionId}", +"httpMethod": "GET", +"id": "firestore.projects.databases.documents.list", +"parameterOrder": [ +"parent", +"collectionId" +], +"parameters": { +"collectionId": { +"description": "Optional. The collection ID, relative to `parent`, to list. For example: `chatrooms` or `messages`. This is optional, and when not provided, Firestore will list documents from all collections under the provided `parent`.", +"location": "path", +"required": true, +"type": "string" +}, +"mask.fieldPaths": { +"description": "The list of field paths in the mask. See Document.fields for a field path syntax reference.", +"location": "query", +"repeated": true, +"type": "string" +}, +"orderBy": { +"description": "Optional. The optional ordering of the documents to return. For example: `priority desc, __name__ desc`. This mirrors the `ORDER BY` used in Firestore queries but in a string representation. When absent, documents are ordered based on `__name__ ASC`.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Optional. The maximum number of documents to return in a single response. Firestore may return fewer than this value.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. A page token, received from a previous `ListDocuments` response. Provide this to retrieve the subsequent page. When paginating, all other parameters (with the exception of `page_size`) must match the values set in the request that generated the page token.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent resource name. In the format: `projects/{project_id}/databases/{database_id}/documents` or `projects/{project_id}/databases/{database_id}/documents/{document_path}`. For example: `projects/my-project/databases/my-database/documents` or `projects/my-project/databases/my-database/documents/chatrooms/my-chatroom`", +"location": "path", +"pattern": "^projects/[^/]+/databases/[^/]+/documents/[^/]+/.*$", +"required": true, +"type": "string" +}, +"readTime": { +"description": "Perform the read at the provided time. This must be a microsecond precision timestamp within the past one hour, or if Point-in-Time Recovery is enabled, can additionally be a whole minute timestamp within the past 7 days.", +"format": "google-datetime", +"location": "query", +"type": "string" +}, +"showMissing": { +"description": "If the list should show missing documents. A document is missing if it does not exist, but there are sub-documents nested underneath it. When true, such missing documents will be returned with a key but will not have fields, `create_time`, or `update_time` set. Requests with `show_missing` may not specify `where` or `order_by`.", +"location": "query", +"type": "boolean" +}, +"transaction": { +"description": "Perform the read as part of an already active transaction.", +"format": "byte", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+parent}/{collectionId}", +"response": { +"$ref": "ListDocumentsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/datastore" +] +}, +"listCollectionIds": { +"description": "Lists all the collection IDs underneath a document.", +"flatPath": "v1/projects/{projectsId}/databases/{databasesId}/documents/{documentsId}/{documentsId1}:listCollectionIds", +"httpMethod": "POST", +"id": "firestore.projects.databases.documents.listCollectionIds", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The parent document. In the format: `projects/{project_id}/databases/{database_id}/documents/{document_path}`. For example: `projects/my-project/databases/my-database/documents/chatrooms/my-chatroom`", +"location": "path", +"pattern": "^projects/[^/]+/databases/[^/]+/documents/[^/]+/.*$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}:listCollectionIds", +"request": { +"$ref": "ListCollectionIdsRequest" +}, +"response": { +"$ref": "ListCollectionIdsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/datastore" +] +}, +"listDocuments": { +"description": "Lists documents.", +"flatPath": "v1/projects/{projectsId}/databases/{databasesId}/documents/{collectionId}", +"httpMethod": "GET", +"id": "firestore.projects.databases.documents.listDocuments", +"parameterOrder": [ +"parent", +"collectionId" +], +"parameters": { +"collectionId": { +"description": "Optional. The collection ID, relative to `parent`, to list. For example: `chatrooms` or `messages`. This is optional, and when not provided, Firestore will list documents from all collections under the provided `parent`.", +"location": "path", +"required": true, +"type": "string" +}, +"mask.fieldPaths": { +"description": "The list of field paths in the mask. See Document.fields for a field path syntax reference.", +"location": "query", +"repeated": true, +"type": "string" +}, +"orderBy": { +"description": "Optional. The optional ordering of the documents to return. For example: `priority desc, __name__ desc`. This mirrors the `ORDER BY` used in Firestore queries but in a string representation. When absent, documents are ordered based on `__name__ ASC`.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Optional. The maximum number of documents to return in a single response. Firestore may return fewer than this value.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. A page token, received from a previous `ListDocuments` response. Provide this to retrieve the subsequent page. When paginating, all other parameters (with the exception of `page_size`) must match the values set in the request that generated the page token.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent resource name. In the format: `projects/{project_id}/databases/{database_id}/documents` or `projects/{project_id}/databases/{database_id}/documents/{document_path}`. For example: `projects/my-project/databases/my-database/documents` or `projects/my-project/databases/my-database/documents/chatrooms/my-chatroom`", +"location": "path", +"pattern": "^projects/[^/]+/databases/[^/]+/documents$", +"required": true, +"type": "string" +}, +"readTime": { +"description": "Perform the read at the provided time. This must be a microsecond precision timestamp within the past one hour, or if Point-in-Time Recovery is enabled, can additionally be a whole minute timestamp within the past 7 days.", +"format": "google-datetime", +"location": "query", +"type": "string" +}, +"showMissing": { +"description": "If the list should show missing documents. A document is missing if it does not exist, but there are sub-documents nested underneath it. When true, such missing documents will be returned with a key but will not have fields, `create_time`, or `update_time` set. Requests with `show_missing` may not specify `where` or `order_by`.", +"location": "query", +"type": "boolean" +}, +"transaction": { +"description": "Perform the read as part of an already active transaction.", +"format": "byte", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+parent}/{collectionId}", +"response": { +"$ref": "ListDocumentsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/datastore" +] +}, +"listen": { +"description": "Listens to changes. This method is only available via gRPC or WebChannel (not REST).", +"flatPath": "v1/projects/{projectsId}/databases/{databasesId}/documents:listen", +"httpMethod": "POST", +"id": "firestore.projects.databases.documents.listen", +"parameterOrder": [ +"database" +], +"parameters": { +"database": { +"description": "Required. The database name. In the format: `projects/{project_id}/databases/{database_id}`.", +"location": "path", +"pattern": "^projects/[^/]+/databases/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+database}/documents:listen", +"request": { +"$ref": "ListenRequest" +}, +"response": { +"$ref": "ListenResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/datastore" +] +}, +"partitionQuery": { +"description": "Partitions a query by returning partition cursors that can be used to run the query in parallel. The returned partition cursors are split points that can be used by RunQuery as starting/end points for the query results.", +"flatPath": "v1/projects/{projectsId}/databases/{databasesId}/documents/{documentsId}/{documentsId1}:partitionQuery", +"httpMethod": "POST", +"id": "firestore.projects.databases.documents.partitionQuery", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The parent resource name. In the format: `projects/{project_id}/databases/{database_id}/documents`. Document resource names are not supported; only database resource names can be specified.", +"location": "path", +"pattern": "^projects/[^/]+/databases/[^/]+/documents/[^/]+/.*$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}:partitionQuery", +"request": { +"$ref": "PartitionQueryRequest" +}, +"response": { +"$ref": "PartitionQueryResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/datastore" +] +}, +"patch": { +"description": "Updates or inserts a document.", +"flatPath": "v1/projects/{projectsId}/databases/{databasesId}/documents/{documentsId}/{documentsId1}", +"httpMethod": "PATCH", +"id": "firestore.projects.databases.documents.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"currentDocument.exists": { +"description": "When set to `true`, the target document must exist. When set to `false`, the target document must not exist.", +"location": "query", +"type": "boolean" +}, +"currentDocument.updateTime": { +"description": "When set, the target document must exist and have been last updated at that time. Timestamp must be microsecond aligned.", +"format": "google-datetime", +"location": "query", +"type": "string" +}, +"mask.fieldPaths": { +"description": "The list of field paths in the mask. See Document.fields for a field path syntax reference.", +"location": "query", +"repeated": true, +"type": "string" +}, +"name": { +"description": "The resource name of the document, for example `projects/{project_id}/databases/{database_id}/documents/{document_path}`.", +"location": "path", +"pattern": "^projects/[^/]+/databases/[^/]+/documents/[^/]+/.*$", +"required": true, +"type": "string" +}, +"updateMask.fieldPaths": { +"description": "The list of field paths in the mask. See Document.fields for a field path syntax reference.", +"location": "query", +"repeated": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "Document" +}, +"response": { +"$ref": "Document" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/datastore" +] +}, +"rollback": { +"description": "Rolls back a transaction.", +"flatPath": "v1/projects/{projectsId}/databases/{databasesId}/documents:rollback", +"httpMethod": "POST", +"id": "firestore.projects.databases.documents.rollback", +"parameterOrder": [ +"database" +], +"parameters": { +"database": { +"description": "Required. The database name. In the format: `projects/{project_id}/databases/{database_id}`.", +"location": "path", +"pattern": "^projects/[^/]+/databases/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+database}/documents:rollback", +"request": { +"$ref": "RollbackRequest" +}, +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/datastore" +] +}, +"runAggregationQuery": { +"description": "Runs an aggregation query. Rather than producing Document results like Firestore.RunQuery, this API allows running an aggregation to produce a series of AggregationResult server-side. High-Level Example: ``` -- Return the number of documents in table given a filter. SELECT COUNT(*) FROM ( SELECT * FROM k where a = true ); ```", +"flatPath": "v1/projects/{projectsId}/databases/{databasesId}/documents/{documentsId}/{documentsId1}:runAggregationQuery", +"httpMethod": "POST", +"id": "firestore.projects.databases.documents.runAggregationQuery", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The parent resource name. In the format: `projects/{project_id}/databases/{database_id}/documents` or `projects/{project_id}/databases/{database_id}/documents/{document_path}`. For example: `projects/my-project/databases/my-database/documents` or `projects/my-project/databases/my-database/documents/chatrooms/my-chatroom`", +"location": "path", +"pattern": "^projects/[^/]+/databases/[^/]+/documents/[^/]+/.*$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}:runAggregationQuery", +"request": { +"$ref": "RunAggregationQueryRequest" +}, +"response": { +"$ref": "RunAggregationQueryResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/datastore" +] +}, +"runQuery": { +"description": "Runs a query.", +"flatPath": "v1/projects/{projectsId}/databases/{databasesId}/documents/{documentsId}/{documentsId1}:runQuery", +"httpMethod": "POST", +"id": "firestore.projects.databases.documents.runQuery", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The parent resource name. In the format: `projects/{project_id}/databases/{database_id}/documents` or `projects/{project_id}/databases/{database_id}/documents/{document_path}`. For example: `projects/my-project/databases/my-database/documents` or `projects/my-project/databases/my-database/documents/chatrooms/my-chatroom`", +"location": "path", +"pattern": "^projects/[^/]+/databases/[^/]+/documents/[^/]+/.*$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}:runQuery", +"request": { +"$ref": "RunQueryRequest" +}, +"response": { +"$ref": "RunQueryResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/datastore" +] +}, +"write": { +"description": "Streams batches of document updates and deletes, in order. This method is only available via gRPC or WebChannel (not REST).", +"flatPath": "v1/projects/{projectsId}/databases/{databasesId}/documents:write", +"httpMethod": "POST", +"id": "firestore.projects.databases.documents.write", +"parameterOrder": [ +"database" +], +"parameters": { +"database": { +"description": "Required. The database name. In the format: `projects/{project_id}/databases/{database_id}`. This is only required in the first message.", +"location": "path", +"pattern": "^projects/[^/]+/databases/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+database}/documents:write", +"request": { +"$ref": "WriteRequest" +}, +"response": { +"$ref": "WriteResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/datastore" +] +} +} +}, +"operations": { +"methods": { +"cancel": { +"description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.", +"flatPath": "v1/projects/{projectsId}/databases/{databasesId}/operations/{operationsId}:cancel", +"httpMethod": "POST", +"id": "firestore.projects.databases.operations.cancel", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be cancelled.", +"location": "path", +"pattern": "^projects/[^/]+/databases/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:cancel", +"request": { +"$ref": "GoogleLongrunningCancelOperationRequest" +}, +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/datastore" +] +}, +"delete": { +"description": "Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.", +"flatPath": "v1/projects/{projectsId}/databases/{databasesId}/operations/{operationsId}", +"httpMethod": "DELETE", +"id": "firestore.projects.databases.operations.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be deleted.", +"location": "path", +"pattern": "^projects/[^/]+/databases/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/datastore" +] +}, +"get": { +"description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", +"flatPath": "v1/projects/{projectsId}/databases/{databasesId}/operations/{operationsId}", +"httpMethod": "GET", +"id": "firestore.projects.databases.operations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource.", +"location": "path", +"pattern": "^projects/[^/]+/databases/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/datastore" +] +}, +"list": { +"description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.", +"flatPath": "v1/projects/{projectsId}/databases/{databasesId}/operations", +"httpMethod": "GET", +"id": "firestore.projects.databases.operations.list", +"parameterOrder": [ +"name" +], +"parameters": { +"filter": { +"description": "The standard list filter.", +"location": "query", +"type": "string" +}, +"name": { +"description": "The name of the operation's parent resource.", +"location": "path", +"pattern": "^projects/[^/]+/databases/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The standard list page size.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The standard list page token.", +"location": "query", +"type": "string" +}, +"returnPartialSuccess": { +"description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `\"projects/example/locations/-\"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1/{+name}/operations", +"response": { +"$ref": "GoogleLongrunningListOperationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/datastore" +] +} +} +}, +"userCreds": { +"methods": { +"create": { +"description": "Create a user creds.", +"flatPath": "v1/projects/{projectsId}/databases/{databasesId}/userCreds", +"httpMethod": "POST", +"id": "firestore.projects.databases.userCreds.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. A parent name of the form `projects/{project_id}/databases/{database_id}`", +"location": "path", +"pattern": "^projects/[^/]+/databases/[^/]+$", +"required": true, +"type": "string" +}, +"userCredsId": { +"description": "Required. The ID to use for the user creds, which will become the final component of the user creds's resource name. This value should be 4-63 characters. Valid characters are /a-z-/ with first character a letter and the last a letter or a number. Must not be UUID-like /[0-9a-f]{8}(-[0-9a-f]{4}){3}-[0-9a-f]{12}/.", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+parent}/userCreds", +"request": { +"$ref": "GoogleFirestoreAdminV1UserCreds" +}, +"response": { +"$ref": "GoogleFirestoreAdminV1UserCreds" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/datastore" +] +}, +"delete": { +"description": "Deletes a user creds.", +"flatPath": "v1/projects/{projectsId}/databases/{databasesId}/userCreds/{userCredsId}", +"httpMethod": "DELETE", +"id": "firestore.projects.databases.userCreds.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. A name of the form `projects/{project_id}/databases/{database_id}/userCreds/{user_creds_id}`", +"location": "path", +"pattern": "^projects/[^/]+/databases/[^/]+/userCreds/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/datastore" +] +}, +"disable": { +"description": "Disables a user creds. No-op if the user creds are already disabled.", +"flatPath": "v1/projects/{projectsId}/databases/{databasesId}/userCreds/{userCredsId}:disable", +"httpMethod": "POST", +"id": "firestore.projects.databases.userCreds.disable", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. A name of the form `projects/{project_id}/databases/{database_id}/userCreds/{user_creds_id}`", +"location": "path", +"pattern": "^projects/[^/]+/databases/[^/]+/userCreds/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:disable", +"request": { +"$ref": "GoogleFirestoreAdminV1DisableUserCredsRequest" +}, +"response": { +"$ref": "GoogleFirestoreAdminV1UserCreds" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/datastore" +] +}, +"enable": { +"description": "Enables a user creds. No-op if the user creds are already enabled.", +"flatPath": "v1/projects/{projectsId}/databases/{databasesId}/userCreds/{userCredsId}:enable", +"httpMethod": "POST", +"id": "firestore.projects.databases.userCreds.enable", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. A name of the form `projects/{project_id}/databases/{database_id}/userCreds/{user_creds_id}`", +"location": "path", +"pattern": "^projects/[^/]+/databases/[^/]+/userCreds/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:enable", +"request": { +"$ref": "GoogleFirestoreAdminV1EnableUserCredsRequest" +}, +"response": { +"$ref": "GoogleFirestoreAdminV1UserCreds" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/datastore" +] +}, +"get": { +"description": "Gets a user creds resource. Note that the returned resource does not contain the secret value itself.", +"flatPath": "v1/projects/{projectsId}/databases/{databasesId}/userCreds/{userCredsId}", +"httpMethod": "GET", +"id": "firestore.projects.databases.userCreds.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. A name of the form `projects/{project_id}/databases/{database_id}/userCreds/{user_creds_id}`", +"location": "path", +"pattern": "^projects/[^/]+/databases/[^/]+/userCreds/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleFirestoreAdminV1UserCreds" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/datastore" +] +}, +"list": { +"description": "List all user creds in the database. Note that the returned resource does not contain the secret value itself.", +"flatPath": "v1/projects/{projectsId}/databases/{databasesId}/userCreds", +"httpMethod": "GET", +"id": "firestore.projects.databases.userCreds.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. A parent database name of the form `projects/{project_id}/databases/{database_id}`", +"location": "path", +"pattern": "^projects/[^/]+/databases/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/userCreds", +"response": { +"$ref": "GoogleFirestoreAdminV1ListUserCredsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/datastore" +] +}, +"resetPassword": { +"description": "Resets the password of a user creds.", +"flatPath": "v1/projects/{projectsId}/databases/{databasesId}/userCreds/{userCredsId}:resetPassword", +"httpMethod": "POST", +"id": "firestore.projects.databases.userCreds.resetPassword", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. A name of the form `projects/{project_id}/databases/{database_id}/userCreds/{user_creds_id}`", +"location": "path", +"pattern": "^projects/[^/]+/databases/[^/]+/userCreds/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:resetPassword", +"request": { +"$ref": "GoogleFirestoreAdminV1ResetUserPasswordRequest" +}, +"response": { +"$ref": "GoogleFirestoreAdminV1UserCreds" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/datastore" +] +} +} +} +} +}, +"locations": { +"methods": { +"get": { +"description": "Gets information about a location.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}", +"httpMethod": "GET", +"id": "firestore.projects.locations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Resource name for the location.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Location" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/datastore" +] +}, +"list": { +"description": "Lists information about the supported locations for this service. This method can be called in two ways: * **List all public locations:** Use the path `GET /v1/locations`. * **List project-visible locations:** Use the path `GET /v1/projects/{project_id}/locations`. This may include public locations as well as private or other locations specifically visible to the project.", +"flatPath": "v1/projects/{projectsId}/locations", +"httpMethod": "GET", +"id": "firestore.projects.locations.list", +"parameterOrder": [ +"name" +], +"parameters": { +"extraLocationTypes": { +"description": "Optional. Do not use this field. It is unsupported and is ignored unless explicitly documented otherwise. This is primarily for internal usage.", +"location": "query", +"repeated": true, +"type": "string" +}, +"filter": { +"description": "A filter to narrow down results to a preferred subset. The filtering language accepts strings like `\"displayName=tokyo\"`, and is documented in more detail in [AIP-160](https://google.aip.dev/160).", +"location": "query", +"type": "string" +}, +"name": { +"description": "The resource that owns the locations collection, if applicable.", +"location": "path", +"pattern": "^projects/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The maximum number of results to return. If not set, the service selects a default.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A page token received from the `next_page_token` field in the response. Send that page token to receive the subsequent page.", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}/locations", +"response": { +"$ref": "ListLocationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/datastore" +] +} +}, +"resources": { +"backups": { +"methods": { +"delete": { +"description": "Deletes a backup.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/backups/{backupsId}", +"httpMethod": "DELETE", +"id": "firestore.projects.locations.backups.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of the backup to delete. format is `projects/{project}/locations/{location}/backups/{backup}`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/backups/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/datastore" +] +}, +"get": { +"description": "Gets information about a backup.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/backups/{backupsId}", +"httpMethod": "GET", +"id": "firestore.projects.locations.backups.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of the backup to fetch. Format is `projects/{project}/locations/{location}/backups/{backup}`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/backups/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleFirestoreAdminV1Backup" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/datastore" +] +}, +"list": { +"description": "Lists all the backups.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/backups", +"httpMethod": "GET", +"id": "firestore.projects.locations.backups.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "An expression that filters the list of returned backups. A filter expression consists of a field name, a comparison operator, and a value for filtering. The value must be a string, a number, or a boolean. The comparison operator must be one of: `<`, `>`, `<=`, `>=`, `!=`, `=`, or `:`. Colon `:` is the contains operator. Filter rules are not case sensitive. The following fields in the Backup are eligible for filtering: * `database_uid` (supports `=` only)", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The location to list backups from. Format is `projects/{project}/locations/{location}`. Use `{location} = '-'` to list backups from all locations for the given project. This allows listing backups from a single location or from all locations.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/backups", +"response": { +"$ref": "GoogleFirestoreAdminV1ListBackupsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/datastore" +] +} +} +} +} +} +} +} +}, +"revision": "20260212", +"rootUrl": "https://firestore.googleapis.com/", +"schemas": { +"Aggregation": { +"description": "Defines an aggregation that produces a single result.", +"id": "Aggregation", +"properties": { +"alias": { +"description": "Optional. Optional name of the field to store the result of the aggregation into. If not provided, Firestore will pick a default name following the format `field_`. For example: ``` AGGREGATE COUNT_UP_TO(1) AS count_up_to_1, COUNT_UP_TO(2), COUNT_UP_TO(3) AS count_up_to_3, COUNT(*) OVER ( ... ); ``` becomes: ``` AGGREGATE COUNT_UP_TO(1) AS count_up_to_1, COUNT_UP_TO(2) AS field_1, COUNT_UP_TO(3) AS count_up_to_3, COUNT(*) AS field_2 OVER ( ... ); ``` Requires: * Must be unique across all aggregation aliases. * Conform to document field name limitations.", +"type": "string" +}, +"avg": { +"$ref": "Avg", +"description": "Average aggregator." +}, +"count": { +"$ref": "Count", +"description": "Count aggregator." +}, +"sum": { +"$ref": "Sum", +"description": "Sum aggregator." +} +}, +"type": "object" +}, +"AggregationResult": { +"description": "The result of a single bucket from a Firestore aggregation query. The keys of `aggregate_fields` are the same for all results in an aggregation query, unlike document queries which can have different fields present for each result.", +"id": "AggregationResult", +"properties": { +"aggregateFields": { +"additionalProperties": { +"$ref": "Value" +}, +"description": "The result of the aggregation functions, ex: `COUNT(*) AS total_docs`. The key is the alias assigned to the aggregation function on input and the size of this map equals the number of aggregation functions in the query.", +"type": "object" +} +}, +"type": "object" +}, +"ArrayValue": { +"description": "An array value.", +"id": "ArrayValue", +"properties": { +"values": { +"description": "Values in the array.", +"items": { +"$ref": "Value" +}, +"type": "array" +} +}, +"type": "object" +}, +"Avg": { +"description": "Average of the values of the requested field. * Only numeric values will be aggregated. All non-numeric values including `NULL` are skipped. * If the aggregated values contain `NaN`, returns `NaN`. Infinity math follows IEEE-754 standards. * If the aggregated value set is empty, returns `NULL`. * Always returns the result as a double.", +"id": "Avg", +"properties": { +"field": { +"$ref": "FieldReference", +"description": "The field to aggregate on." +} +}, +"type": "object" +}, +"BatchGetDocumentsRequest": { +"description": "The request for Firestore.BatchGetDocuments.", +"id": "BatchGetDocumentsRequest", +"properties": { +"documents": { +"description": "The names of the documents to retrieve. In the format: `projects/{project_id}/databases/{database_id}/documents/{document_path}`. The request will fail if any of the document is not a child resource of the given `database`. Duplicate names will be elided.", +"items": { +"type": "string" +}, +"type": "array" +}, +"mask": { +"$ref": "DocumentMask", +"description": "The fields to return. If not set, returns all fields. If a document has a field that is not present in this mask, that field will not be returned in the response." +}, +"newTransaction": { +"$ref": "TransactionOptions", +"description": "Starts a new transaction and reads the documents. Defaults to a read-only transaction. The new transaction ID will be returned as the first response in the stream." +}, +"readTime": { +"description": "Reads documents as they were at the given time. This must be a microsecond precision timestamp within the past one hour, or if Point-in-Time Recovery is enabled, can additionally be a whole minute timestamp within the past 7 days.", +"format": "google-datetime", +"type": "string" +}, +"transaction": { +"description": "Reads documents in a transaction.", +"format": "byte", +"type": "string" +} +}, +"type": "object" +}, +"BatchGetDocumentsResponse": { +"description": "The streamed response for Firestore.BatchGetDocuments.", +"id": "BatchGetDocumentsResponse", +"properties": { +"found": { +"$ref": "Document", +"description": "A document that was requested." +}, +"missing": { +"description": "A document name that was requested but does not exist. In the format: `projects/{project_id}/databases/{database_id}/documents/{document_path}`.", +"type": "string" +}, +"readTime": { +"description": "The time at which the document was read. This may be monotically increasing, in this case the previous documents in the result stream are guaranteed not to have changed between their read_time and this one.", +"format": "google-datetime", +"type": "string" +}, +"transaction": { +"description": "The transaction that was started as part of this request. Will only be set in the first response, and only if BatchGetDocumentsRequest.new_transaction was set in the request.", +"format": "byte", +"type": "string" +} +}, +"type": "object" +}, +"BatchWriteRequest": { +"description": "The request for Firestore.BatchWrite.", +"id": "BatchWriteRequest", +"properties": { +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Labels associated with this batch write.", +"type": "object" +}, +"writes": { +"description": "The writes to apply. Method does not apply writes atomically and does not guarantee ordering. Each write succeeds or fails independently. You cannot write to the same document more than once per request.", +"items": { +"$ref": "Write" +}, +"type": "array" +} +}, +"type": "object" +}, +"BatchWriteResponse": { +"description": "The response from Firestore.BatchWrite.", +"id": "BatchWriteResponse", +"properties": { +"status": { +"description": "The status of applying the writes. This i-th write status corresponds to the i-th write in the request.", +"items": { +"$ref": "Status" +}, +"type": "array" +}, +"writeResults": { +"description": "The result of applying the writes. This i-th write result corresponds to the i-th write in the request.", +"items": { +"$ref": "WriteResult" +}, +"type": "array" +} +}, +"type": "object" +}, +"BeginTransactionRequest": { +"description": "The request for Firestore.BeginTransaction.", +"id": "BeginTransactionRequest", +"properties": { +"options": { +"$ref": "TransactionOptions", +"description": "The options for the transaction. Defaults to a read-write transaction." +} +}, +"type": "object" +}, +"BeginTransactionResponse": { +"description": "The response for Firestore.BeginTransaction.", +"id": "BeginTransactionResponse", +"properties": { +"transaction": { +"description": "The transaction that was started.", +"format": "byte", +"type": "string" +} +}, +"type": "object" +}, +"BitSequence": { +"description": "A sequence of bits, encoded in a byte array. Each byte in the `bitmap` byte array stores 8 bits of the sequence. The only exception is the last byte, which may store 8 _or fewer_ bits. The `padding` defines the number of bits of the last byte to be ignored as \"padding\". The values of these \"padding\" bits are unspecified and must be ignored. To retrieve the first bit, bit 0, calculate: `(bitmap[0] & 0x01) != 0`. To retrieve the second bit, bit 1, calculate: `(bitmap[0] & 0x02) != 0`. To retrieve the third bit, bit 2, calculate: `(bitmap[0] & 0x04) != 0`. To retrieve the fourth bit, bit 3, calculate: `(bitmap[0] & 0x08) != 0`. To retrieve bit n, calculate: `(bitmap[n / 8] & (0x01 << (n % 8))) != 0`. The \"size\" of a `BitSequence` (the number of bits it contains) is calculated by this formula: `(bitmap.length * 8) - padding`.", +"id": "BitSequence", +"properties": { +"bitmap": { +"description": "The bytes that encode the bit sequence. May have a length of zero.", +"format": "byte", +"type": "string" +}, +"padding": { +"description": "The number of bits of the last byte in `bitmap` to ignore as \"padding\". If the length of `bitmap` is zero, then this value must be `0`. Otherwise, this value must be between 0 and 7, inclusive.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"BloomFilter": { +"description": "A bloom filter (https://en.wikipedia.org/wiki/Bloom_filter). The bloom filter hashes the entries with MD5 and treats the resulting 128-bit hash as 2 distinct 64-bit hash values, interpreted as unsigned integers using 2's complement encoding. These two hash values, named `h1` and `h2`, are then used to compute the `hash_count` hash values using the formula, starting at `i=0`: h(i) = h1 + (i * h2) These resulting values are then taken modulo the number of bits in the bloom filter to get the bits of the bloom filter to test for the given entry.", +"id": "BloomFilter", +"properties": { +"bits": { +"$ref": "BitSequence", +"description": "The bloom filter data." +}, +"hashCount": { +"description": "The number of hashes used by the algorithm.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"CollectionSelector": { +"description": "A selection of a collection, such as `messages as m1`.", +"id": "CollectionSelector", +"properties": { +"allDescendants": { +"description": "When false, selects only collections that are immediate children of the `parent` specified in the containing `RunQueryRequest`. When true, selects all descendant collections.", +"type": "boolean" +}, +"collectionId": { +"description": "The collection ID. When set, selects only collections with this ID.", +"type": "string" +} +}, +"type": "object" +}, +"CommitRequest": { +"description": "The request for Firestore.Commit.", +"id": "CommitRequest", +"properties": { +"transaction": { +"description": "If set, applies all writes in this transaction, and commits it.", +"format": "byte", +"type": "string" +}, +"writes": { +"description": "The writes to apply. Always executed atomically and in order.", +"items": { +"$ref": "Write" +}, +"type": "array" +} +}, +"type": "object" +}, +"CommitResponse": { +"description": "The response for Firestore.Commit.", +"id": "CommitResponse", +"properties": { +"commitTime": { +"description": "The time at which the commit occurred. Any read with an equal or greater `read_time` is guaranteed to see the effects of the commit.", +"format": "google-datetime", +"type": "string" +}, +"writeResults": { +"description": "The result of applying the writes. This i-th write result corresponds to the i-th write in the request.", +"items": { +"$ref": "WriteResult" +}, +"type": "array" +} +}, +"type": "object" +}, +"CompositeFilter": { +"description": "A filter that merges multiple other filters using the given operator.", +"id": "CompositeFilter", +"properties": { +"filters": { +"description": "The list of filters to combine. Requires: * At least one filter is present.", +"items": { +"$ref": "Filter" +}, +"type": "array" +}, +"op": { +"description": "The operator for combining multiple filters.", +"enum": [ +"OPERATOR_UNSPECIFIED", +"AND", +"OR" +], +"enumDescriptions": [ +"Unspecified. This value must not be used.", +"Documents are required to satisfy all of the combined filters.", +"Documents are required to satisfy at least one of the combined filters." +], +"type": "string" +} +}, +"type": "object" +}, +"Count": { +"description": "Count of documents that match the query. The `COUNT(*)` aggregation function operates on the entire document so it does not require a field reference.", +"id": "Count", +"properties": { +"upTo": { +"description": "Optional. Optional constraint on the maximum number of documents to count. This provides a way to set an upper bound on the number of documents to scan, limiting latency, and cost. Unspecified is interpreted as no bound. High-Level Example: ``` AGGREGATE COUNT_UP_TO(1000) OVER ( SELECT * FROM k ); ``` Requires: * Must be greater than zero when present.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"Cursor": { +"description": "A position in a query result set.", +"id": "Cursor", +"properties": { +"before": { +"description": "If the position is just before or just after the given values, relative to the sort order defined by the query.", +"type": "boolean" +}, +"values": { +"description": "The values that represent a position, in the order they appear in the order by clause of a query. Can contain fewer values than specified in the order by clause.", +"items": { +"$ref": "Value" +}, +"type": "array" +} +}, +"type": "object" +}, +"Document": { +"description": "A Firestore document. Must not exceed 1 MiB - 4 bytes.", +"id": "Document", +"properties": { +"createTime": { +"description": "Output only. The time at which the document was created. This value increases monotonically when a document is deleted then recreated. It can also be compared to values from other documents and the `read_time` of a query.", +"format": "google-datetime", +"type": "string" +}, +"fields": { +"additionalProperties": { +"$ref": "Value" +}, +"description": "The document's fields. The map keys represent field names. Field names matching the regular expression `__.*__` are reserved. Reserved field names are forbidden except in certain documented contexts. The field names, represented as UTF-8, must not exceed 1,500 bytes and cannot be empty. Field paths may be used in other contexts to refer to structured fields defined here. For `map_value`, the field path is represented by a dot-delimited (`.`) string of segments. Each segment is either a simple field name (defined below) or a quoted field name. For example, the structured field `\"foo\" : { map_value: { \"x&y\" : { string_value: \"hello\" }}}` would be represented by the field path `` foo.`x&y` ``. A simple field name contains only characters `a` to `z`, `A` to `Z`, `0` to `9`, or `_`, and must not start with `0` to `9`. For example, `foo_bar_17`. A quoted field name starts and ends with `` ` `` and may contain any character. Some characters, including `` ` ``, must be escaped using a `\\`. For example, `` `x&y` `` represents `x&y` and `` `bak\\`tik` `` represents `` bak`tik ``.", +"type": "object" +}, +"name": { +"description": "The resource name of the document, for example `projects/{project_id}/databases/{database_id}/documents/{document_path}`.", +"type": "string" +}, +"updateTime": { +"description": "Output only. The time at which the document was last changed. This value is initially set to the `create_time` then increases monotonically with each change to the document. It can also be compared to values from other documents and the `read_time` of a query.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"DocumentChange": { +"description": "A Document has changed. May be the result of multiple writes, including deletes, that ultimately resulted in a new value for the Document. Multiple DocumentChange messages may be returned for the same logical change, if multiple targets are affected.", +"id": "DocumentChange", +"properties": { +"document": { +"$ref": "Document", +"description": "The new state of the Document. If `mask` is set, contains only fields that were updated or added." +}, +"removedTargetIds": { +"description": "A set of target IDs for targets that no longer match this document.", +"items": { +"format": "int32", +"type": "integer" +}, +"type": "array" +}, +"targetIds": { +"description": "A set of target IDs of targets that match this document.", +"items": { +"format": "int32", +"type": "integer" +}, +"type": "array" +} +}, +"type": "object" +}, +"DocumentDelete": { +"description": "A Document has been deleted. May be the result of multiple writes, including updates, the last of which deleted the Document. Multiple DocumentDelete messages may be returned for the same logical delete, if multiple targets are affected.", +"id": "DocumentDelete", +"properties": { +"document": { +"description": "The resource name of the Document that was deleted.", +"type": "string" +}, +"readTime": { +"description": "The read timestamp at which the delete was observed. Greater or equal to the `commit_time` of the delete.", +"format": "google-datetime", +"type": "string" +}, +"removedTargetIds": { +"description": "A set of target IDs for targets that previously matched this entity.", +"items": { +"format": "int32", +"type": "integer" +}, +"type": "array" +} +}, +"type": "object" +}, +"DocumentMask": { +"description": "A set of field paths on a document. Used to restrict a get or update operation on a document to a subset of its fields. This is different from standard field masks, as this is always scoped to a Document, and takes in account the dynamic nature of Value.", +"id": "DocumentMask", +"properties": { +"fieldPaths": { +"description": "The list of field paths in the mask. See Document.fields for a field path syntax reference.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"DocumentRemove": { +"description": "A Document has been removed from the view of the targets. Sent if the document is no longer relevant to a target and is out of view. Can be sent instead of a DocumentDelete or a DocumentChange if the server can not send the new value of the document. Multiple DocumentRemove messages may be returned for the same logical write or delete, if multiple targets are affected.", +"id": "DocumentRemove", +"properties": { +"document": { +"description": "The resource name of the Document that has gone out of view.", +"type": "string" +}, +"readTime": { +"description": "The read timestamp at which the remove was observed. Greater or equal to the `commit_time` of the change/delete/remove.", +"format": "google-datetime", +"type": "string" +}, +"removedTargetIds": { +"description": "A set of target IDs for targets that previously matched this document.", +"items": { +"format": "int32", +"type": "integer" +}, +"type": "array" +} +}, +"type": "object" +}, +"DocumentTransform": { +"description": "A transformation of a document.", +"id": "DocumentTransform", +"properties": { +"document": { +"description": "The name of the document to transform.", +"type": "string" +}, +"fieldTransforms": { +"description": "The list of transformations to apply to the fields of the document, in order. This must not be empty.", +"items": { +"$ref": "FieldTransform" +}, +"type": "array" +} +}, +"type": "object" +}, +"DocumentsTarget": { +"description": "A target specified by a set of documents names.", +"id": "DocumentsTarget", +"properties": { +"documents": { +"description": "The names of the documents to retrieve. In the format: `projects/{project_id}/databases/{database_id}/documents/{document_path}`. The request will fail if any of the document is not a child resource of the given `database`. Duplicate names will be elided.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"Empty": { +"description": "A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }", +"id": "Empty", +"properties": {}, +"type": "object" +}, +"ExecutePipelineRequest": { +"description": "The request for Firestore.ExecutePipeline.", +"id": "ExecutePipelineRequest", +"properties": { +"newTransaction": { +"$ref": "TransactionOptions", +"description": "Execute the pipeline in a new transaction. The identifier of the newly created transaction will be returned in the first response on the stream. This defaults to a read-only transaction." +}, +"readTime": { +"description": "Execute the pipeline in a snapshot transaction at the given time. This must be a microsecond precision timestamp within the past one hour, or if Point-in-Time Recovery is enabled, can additionally be a whole minute timestamp within the past 7 days.", +"format": "google-datetime", +"type": "string" +}, +"structuredPipeline": { +"$ref": "StructuredPipeline", +"description": "A pipelined operation." +}, +"transaction": { +"description": "Run the query within an already active transaction. The value here is the opaque transaction ID to execute the query in.", +"format": "byte", +"type": "string" +} +}, +"type": "object" +}, +"ExecutePipelineResponse": { +"description": "The response for Firestore.Execute.", +"id": "ExecutePipelineResponse", +"properties": { +"executionTime": { +"description": "The time at which the results are valid. This is a (not strictly) monotonically increasing value across multiple responses in the same stream. The API guarantees that all previously returned results are still valid at the latest `execution_time`. This allows the API consumer to treat the query if it ran at the latest `execution_time` returned. If the query returns no results, a response with `execution_time` and no `results` will be sent, and this represents the time at which the operation was run.", +"format": "google-datetime", +"type": "string" +}, +"explainStats": { +"$ref": "ExplainStats", +"description": "Query explain stats. This is present on the **last** response if the request configured explain to run in 'analyze' or 'explain' mode in the pipeline options. If the query does not return any results, a response with `explain_stats` and no `results` will still be sent." +}, +"results": { +"description": "An ordered batch of results returned executing a pipeline. The batch size is variable, and can even be zero for when only a partial progress message is returned. The fields present in the returned documents are only those that were explicitly requested in the pipeline, this includes those like `__name__` and `__update_time__`. This is explicitly a divergence from `Firestore.RunQuery` / `Firestore.GetDocument` RPCs which always return such fields even when they are not specified in the `mask`.", +"items": { +"$ref": "Document" +}, +"type": "array" +}, +"transaction": { +"description": "Newly created transaction identifier. This field is only specified as part of the first response from the server, alongside the `results` field when the original request specified ExecuteRequest.new_transaction.", +"format": "byte", +"type": "string" +} +}, +"type": "object" +}, +"ExecutionStats": { +"description": "Execution statistics for the query.", +"id": "ExecutionStats", +"properties": { +"debugStats": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"description": "Debugging statistics from the execution of the query. Note that the debugging stats are subject to change as Firestore evolves. It could include: { \"indexes_entries_scanned\": \"1000\", \"documents_scanned\": \"20\", \"billing_details\" : { \"documents_billable\": \"20\", \"index_entries_billable\": \"1000\", \"min_query_cost\": \"0\" } }", +"type": "object" +}, +"executionDuration": { +"description": "Total time to execute the query in the backend.", +"format": "google-duration", +"type": "string" +}, +"readOperations": { +"description": "Total billable read operations.", +"format": "int64", +"type": "string" +}, +"resultsReturned": { +"description": "Total number of results returned, including documents, projections, aggregation results, keys.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"ExistenceFilter": { +"description": "A digest of all the documents that match a given target.", +"id": "ExistenceFilter", +"properties": { +"count": { +"description": "The total count of documents that match target_id. If different from the count of documents in the client that match, the client must manually determine which documents no longer match the target. The client can use the `unchanged_names` bloom filter to assist with this determination by testing ALL the document names against the filter; if the document name is NOT in the filter, it means the document no longer matches the target.", +"format": "int32", +"type": "integer" +}, +"targetId": { +"description": "The target ID to which this filter applies.", +"format": "int32", +"type": "integer" +}, +"unchangedNames": { +"$ref": "BloomFilter", +"description": "A bloom filter that, despite its name, contains the UTF-8 byte encodings of the resource names of ALL the documents that match target_id, in the form `projects/{project_id}/databases/{database_id}/documents/{document_path}`. This bloom filter may be omitted at the server's discretion, such as if it is deemed that the client will not make use of it or if it is too computationally expensive to calculate or transmit. Clients must gracefully handle this field being absent by falling back to the logic used before this field existed; that is, re-add the target without a resume token to figure out which documents in the client's cache are out of sync." +} +}, +"type": "object" +}, +"ExplainMetrics": { +"description": "Explain metrics for the query.", +"id": "ExplainMetrics", +"properties": { +"executionStats": { +"$ref": "ExecutionStats", +"description": "Aggregated stats from the execution of the query. Only present when ExplainOptions.analyze is set to true." +}, +"planSummary": { +"$ref": "PlanSummary", +"description": "Planning phase information for the query." +} +}, +"type": "object" +}, +"ExplainOptions": { +"description": "Explain options for the query.", +"id": "ExplainOptions", +"properties": { +"analyze": { +"description": "Optional. Whether to execute this query. When false (the default), the query will be planned, returning only metrics from the planning stages. When true, the query will be planned and executed, returning the full query results along with both planning and execution stage metrics.", +"type": "boolean" +} +}, +"type": "object" +}, +"ExplainStats": { +"description": "Pipeline explain stats. Depending on the explain options in the original request, this can contain the optimized plan and / or execution stats.", +"id": "ExplainStats", +"properties": { +"data": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "The format depends on the `output_format` options in the request. Currently there are two supported options: `TEXT` and `JSON`. Both supply a `google.protobuf.StringValue`.", +"type": "object" +} +}, +"type": "object" +}, +"FieldFilter": { +"description": "A filter on a specific field.", +"id": "FieldFilter", +"properties": { +"field": { +"$ref": "FieldReference", +"description": "The field to filter by." +}, +"op": { +"description": "The operator to filter by.", +"enum": [ +"OPERATOR_UNSPECIFIED", +"LESS_THAN", +"LESS_THAN_OR_EQUAL", +"GREATER_THAN", +"GREATER_THAN_OR_EQUAL", +"EQUAL", +"NOT_EQUAL", +"ARRAY_CONTAINS", +"IN", +"ARRAY_CONTAINS_ANY", +"NOT_IN" +], +"enumDescriptions": [ +"Unspecified. This value must not be used.", +"The given `field` is less than the given `value`. Requires: * That `field` come first in `order_by`.", +"The given `field` is less than or equal to the given `value`. Requires: * That `field` come first in `order_by`.", +"The given `field` is greater than the given `value`. Requires: * That `field` come first in `order_by`.", +"The given `field` is greater than or equal to the given `value`. Requires: * That `field` come first in `order_by`.", +"The given `field` is equal to the given `value`.", +"The given `field` is not equal to the given `value`. Requires: * No other `NOT_EQUAL`, `NOT_IN`, `IS_NOT_NULL`, or `IS_NOT_NAN`. * That `field` comes first in the `order_by`.", +"The given `field` is an array that contains the given `value`.", +"The given `field` is equal to at least one value in the given array. Requires: * That `value` is a non-empty `ArrayValue`, subject to disjunction limits. * No `NOT_IN` filters in the same query.", +"The given `field` is an array that contains any of the values in the given array. Requires: * That `value` is a non-empty `ArrayValue`, subject to disjunction limits. * No other `ARRAY_CONTAINS_ANY` filters within the same disjunction. * No `NOT_IN` filters in the same query.", +"The value of the `field` is not in the given array. Requires: * That `value` is a non-empty `ArrayValue` with at most 10 values. * No other `OR`, `IN`, `ARRAY_CONTAINS_ANY`, `NOT_IN`, `NOT_EQUAL`, `IS_NOT_NULL`, or `IS_NOT_NAN`. * That `field` comes first in the `order_by`." +], +"type": "string" +}, +"value": { +"$ref": "Value", +"description": "The value to compare to." +} +}, +"type": "object" +}, +"FieldReference": { +"description": "A reference to a field in a document, ex: `stats.operations`.", +"id": "FieldReference", +"properties": { +"fieldPath": { +"description": "A reference to a field in a document. Requires: * MUST be a dot-delimited (`.`) string of segments, where each segment conforms to document field name limitations.", +"type": "string" +} +}, +"type": "object" +}, +"FieldTransform": { +"description": "A transformation of a field of the document.", +"id": "FieldTransform", +"properties": { +"appendMissingElements": { +"$ref": "ArrayValue", +"description": "Append the given elements in order if they are not already present in the current field value. If the field is not an array, or if the field does not yet exist, it is first set to the empty array. Equivalent numbers of different types (e.g. 3L and 3.0) are considered equal when checking if a value is missing. NaN is equal to NaN, and Null is equal to Null. If the input contains multiple equivalent values, only the first will be considered. The corresponding transform_result will be the null value." +}, +"fieldPath": { +"description": "The path of the field. See Document.fields for the field path syntax reference.", +"type": "string" +}, +"increment": { +"$ref": "Value", +"description": "Adds the given value to the field's current value. This must be an integer or a double value. If the field is not an integer or double, or if the field does not yet exist, the transformation will set the field to the given value. If either of the given value or the current field value are doubles, both values will be interpreted as doubles. Double arithmetic and representation of double values follow IEEE 754 semantics. If there is positive/negative integer overflow, the field is resolved to the largest magnitude positive/negative integer." +}, +"maximum": { +"$ref": "Value", +"description": "Sets the field to the maximum of its current value and the given value. This must be an integer or a double value. If the field is not an integer or double, or if the field does not yet exist, the transformation will set the field to the given value. If a maximum operation is applied where the field and the input value are of mixed types (that is - one is an integer and one is a double) the field takes on the type of the larger operand. If the operands are equivalent (e.g. 3 and 3.0), the field does not change. 0, 0.0, and -0.0 are all zero. The maximum of a zero stored value and zero input value is always the stored value. The maximum of any numeric value x and NaN is NaN." +}, +"minimum": { +"$ref": "Value", +"description": "Sets the field to the minimum of its current value and the given value. This must be an integer or a double value. If the field is not an integer or double, or if the field does not yet exist, the transformation will set the field to the input value. If a minimum operation is applied where the field and the input value are of mixed types (that is - one is an integer and one is a double) the field takes on the type of the smaller operand. If the operands are equivalent (e.g. 3 and 3.0), the field does not change. 0, 0.0, and -0.0 are all zero. The minimum of a zero stored value and zero input value is always the stored value. The minimum of any numeric value x and NaN is NaN." +}, +"removeAllFromArray": { +"$ref": "ArrayValue", +"description": "Remove all of the given elements from the array in the field. If the field is not an array, or if the field does not yet exist, it is set to the empty array. Equivalent numbers of the different types (e.g. 3L and 3.0) are considered equal when deciding whether an element should be removed. NaN is equal to NaN, and Null is equal to Null. This will remove all equivalent values if there are duplicates. The corresponding transform_result will be the null value." +}, +"setToServerValue": { +"description": "Sets the field to the given server value.", +"enum": [ +"SERVER_VALUE_UNSPECIFIED", +"REQUEST_TIME" +], +"enumDescriptions": [ +"Unspecified. This value must not be used.", +"The time at which the server processed the request, with millisecond precision. If used on multiple fields (same or different documents) in a transaction, all the fields will get the same server timestamp." +], +"type": "string" +} +}, +"type": "object" +}, +"Filter": { +"description": "A filter.", +"id": "Filter", +"properties": { +"compositeFilter": { +"$ref": "CompositeFilter", +"description": "A composite filter." +}, +"fieldFilter": { +"$ref": "FieldFilter", +"description": "A filter on a document field." +}, +"unaryFilter": { +"$ref": "UnaryFilter", +"description": "A filter that takes exactly one argument." +} +}, +"type": "object" +}, +"FindNearest": { +"description": "Nearest Neighbors search config. The ordering provided by FindNearest supersedes the order_by stage. If multiple documents have the same vector distance, the returned document order is not guaranteed to be stable between queries.", +"id": "FindNearest", +"properties": { +"distanceMeasure": { +"description": "Required. The distance measure to use, required.", +"enum": [ +"DISTANCE_MEASURE_UNSPECIFIED", +"EUCLIDEAN", +"COSINE", +"DOT_PRODUCT" +], +"enumDescriptions": [ +"Should not be set.", +"Measures the EUCLIDEAN distance between the vectors. See [Euclidean](https://en.wikipedia.org/wiki/Euclidean_distance) to learn more. The resulting distance decreases the more similar two vectors are.", +"COSINE distance compares vectors based on the angle between them, which allows you to measure similarity that isn't based on the vectors magnitude. We recommend using DOT_PRODUCT with unit normalized vectors instead of COSINE distance, which is mathematically equivalent with better performance. See [Cosine Similarity](https://en.wikipedia.org/wiki/Cosine_similarity) to learn more about COSINE similarity and COSINE distance. The resulting COSINE distance decreases the more similar two vectors are.", +"Similar to cosine but is affected by the magnitude of the vectors. See [Dot Product](https://en.wikipedia.org/wiki/Dot_product) to learn more. The resulting distance increases the more similar two vectors are." +], +"type": "string" +}, +"distanceResultField": { +"description": "Optional. Optional name of the field to output the result of the vector distance calculation. Must conform to document field name limitations.", +"type": "string" +}, +"distanceThreshold": { +"description": "Optional. Option to specify a threshold for which no less similar documents will be returned. The behavior of the specified `distance_measure` will affect the meaning of the distance threshold. Since DOT_PRODUCT distances increase when the vectors are more similar, the comparison is inverted. * For EUCLIDEAN, COSINE: `WHERE distance <= distance_threshold` * For DOT_PRODUCT: `WHERE distance >= distance_threshold`", +"format": "double", +"type": "number" +}, +"limit": { +"description": "Required. The number of nearest neighbors to return. Must be a positive integer of no more than 1000.", +"format": "int32", +"type": "integer" +}, +"queryVector": { +"$ref": "Value", +"description": "Required. The query vector that we are searching on. Must be a vector of no more than 2048 dimensions." +}, +"vectorField": { +"$ref": "FieldReference", +"description": "Required. An indexed vector field to search upon. Only documents which contain vectors whose dimensionality match the query_vector can be returned." +} +}, +"type": "object" +}, +"Function": { +"description": "Represents an unevaluated scalar expression. For example, the expression `like(user_name, \"%alice%\")` is represented as: ``` name: \"like\" args { field_reference: \"user_name\" } args { string_value: \"%alice%\" } ```", +"id": "Function", +"properties": { +"args": { +"description": "Optional. Ordered list of arguments the given function expects.", +"items": { +"$ref": "Value" +}, +"type": "array" +}, +"name": { +"description": "Required. The name of the function to evaluate. **Requires:** * must be in snake case (lower case with underscore separator).", +"type": "string" +}, +"options": { +"additionalProperties": { +"$ref": "Value" +}, +"description": "Optional. Optional named arguments that certain functions may support.", +"type": "object" +} +}, +"type": "object" +}, +"GoogleFirestoreAdminV1Backup": { +"description": "A Backup of a Cloud Firestore Database. The backup contains all documents and index configurations for the given database at a specific point in time.", +"id": "GoogleFirestoreAdminV1Backup", +"properties": { +"database": { +"description": "Output only. Name of the Firestore database that the backup is from. Format is `projects/{project}/databases/{database}`.", +"readOnly": true, +"type": "string" +}, +"databaseUid": { +"description": "Output only. The system-generated UUID4 for the Firestore database that the backup is from.", +"readOnly": true, +"type": "string" +}, +"expireTime": { +"description": "Output only. The timestamp at which this backup expires.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"name": { +"description": "Output only. The unique resource name of the Backup. Format is `projects/{project}/locations/{location}/backups/{backup}`. The location in the name will be the Standard Managed Multi-Region (SMMR) location (e.g. `us`) if the backup was created with an SMMR location, or the Google Managed Multi-Region (GMMR) location (e.g. `nam5`) if the backup was created with a GMMR location.", +"readOnly": true, +"type": "string" +}, +"snapshotTime": { +"description": "Output only. The backup contains an externally consistent copy of the database at this time.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"state": { +"description": "Output only. The current state of the backup.", +"enum": [ +"STATE_UNSPECIFIED", +"CREATING", +"READY", +"NOT_AVAILABLE" +], +"enumDescriptions": [ +"The state is unspecified.", +"The pending backup is still being created. Operations on the backup will be rejected in this state.", +"The backup is complete and ready to use.", +"The backup is not available at this moment." +], +"readOnly": true, +"type": "string" +}, +"stats": { +"$ref": "GoogleFirestoreAdminV1Stats", +"description": "Output only. Statistics about the backup. This data only becomes available after the backup is fully materialized to secondary storage. This field will be empty till then.", +"readOnly": true +} +}, +"type": "object" +}, +"GoogleFirestoreAdminV1BackupSchedule": { +"description": "A backup schedule for a Cloud Firestore Database. This resource is owned by the database it is backing up, and is deleted along with the database. The actual backups are not though.", +"id": "GoogleFirestoreAdminV1BackupSchedule", +"properties": { +"createTime": { +"description": "Output only. The timestamp at which this backup schedule was created and effective since. No backups will be created for this schedule before this time.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"dailyRecurrence": { +"$ref": "GoogleFirestoreAdminV1DailyRecurrence", +"description": "For a schedule that runs daily." +}, +"name": { +"description": "Output only. The unique backup schedule identifier across all locations and databases for the given project. This will be auto-assigned. Format is `projects/{project}/databases/{database}/backupSchedules/{backup_schedule}`", +"readOnly": true, +"type": "string" +}, +"retention": { +"description": "At what relative time in the future, compared to its creation time, the backup should be deleted, e.g. keep backups for 7 days. The maximum supported retention period is 14 weeks.", +"format": "google-duration", +"type": "string" +}, +"updateTime": { +"description": "Output only. The timestamp at which this backup schedule was most recently updated. When a backup schedule is first created, this is the same as create_time.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"weeklyRecurrence": { +"$ref": "GoogleFirestoreAdminV1WeeklyRecurrence", +"description": "For a schedule that runs weekly on a specific day." +} +}, +"type": "object" +}, +"GoogleFirestoreAdminV1BackupSource": { +"description": "Information about a backup that was used to restore a database.", +"id": "GoogleFirestoreAdminV1BackupSource", +"properties": { +"backup": { +"description": "The resource name of the backup that was used to restore this database. Format: `projects/{project}/locations/{location}/backups/{backup}`.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleFirestoreAdminV1BulkDeleteDocumentsMetadata": { +"description": "Metadata for google.longrunning.Operation results from FirestoreAdmin.BulkDeleteDocuments.", +"id": "GoogleFirestoreAdminV1BulkDeleteDocumentsMetadata", +"properties": { +"collectionIds": { +"description": "The IDs of the collection groups that are being deleted.", +"items": { +"type": "string" +}, +"type": "array" +}, +"endTime": { +"description": "The time this operation completed. Will be unset if operation still in progress.", +"format": "google-datetime", +"type": "string" +}, +"namespaceIds": { +"description": "Which namespace IDs are being deleted.", +"items": { +"type": "string" +}, +"type": "array" +}, +"operationState": { +"description": "The state of the operation.", +"enum": [ +"OPERATION_STATE_UNSPECIFIED", +"INITIALIZING", +"PROCESSING", +"CANCELLING", +"FINALIZING", +"SUCCESSFUL", +"FAILED", +"CANCELLED" +], +"enumDescriptions": [ +"Unspecified.", +"Request is being prepared for processing.", +"Request is actively being processed.", +"Request is in the process of being cancelled after user called google.longrunning.Operations.CancelOperation on the operation.", +"Request has been processed and is in its finalization stage.", +"Request has completed successfully.", +"Request has finished being processed, but encountered an error.", +"Request has finished being cancelled after user called google.longrunning.Operations.CancelOperation." +], +"type": "string" +}, +"progressBytes": { +"$ref": "GoogleFirestoreAdminV1Progress", +"description": "The progress, in bytes, of this operation." +}, +"progressDocuments": { +"$ref": "GoogleFirestoreAdminV1Progress", +"description": "The progress, in documents, of this operation." +}, +"snapshotTime": { +"description": "The timestamp that corresponds to the version of the database that is being read to get the list of documents to delete. This time can also be used as the timestamp of PITR in case of disaster recovery (subject to PITR window limit).", +"format": "google-datetime", +"type": "string" +}, +"startTime": { +"description": "The time this operation started.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"GoogleFirestoreAdminV1BulkDeleteDocumentsRequest": { +"description": "The request for FirestoreAdmin.BulkDeleteDocuments. When both collection_ids and namespace_ids are set, only documents satisfying both conditions will be deleted. Requests with namespace_ids and collection_ids both empty will be rejected. Please use FirestoreAdmin.DeleteDatabase instead.", +"id": "GoogleFirestoreAdminV1BulkDeleteDocumentsRequest", +"properties": { +"collectionIds": { +"description": "Optional. IDs of the collection groups to delete. Unspecified means all collection groups. Each collection group in this list must be unique.", +"items": { +"type": "string" +}, +"type": "array" +}, +"namespaceIds": { +"description": "Optional. Namespaces to delete. An empty list means all namespaces. This is the recommended usage for databases that don't use namespaces. An empty string element represents the default namespace. This should be used if the database has data in non-default namespaces, but doesn't want to delete from them. Each namespace in this list must be unique.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleFirestoreAdminV1CloneDatabaseMetadata": { +"description": "Metadata for the long-running operation from the CloneDatabase request.", +"id": "GoogleFirestoreAdminV1CloneDatabaseMetadata", +"properties": { +"database": { +"description": "The name of the database being cloned to.", +"type": "string" +}, +"endTime": { +"description": "The time the clone finished, unset for ongoing clones.", +"format": "google-datetime", +"type": "string" +}, +"operationState": { +"description": "The operation state of the clone.", +"enum": [ +"OPERATION_STATE_UNSPECIFIED", +"INITIALIZING", +"PROCESSING", +"CANCELLING", +"FINALIZING", +"SUCCESSFUL", +"FAILED", +"CANCELLED" +], +"enumDescriptions": [ +"Unspecified.", +"Request is being prepared for processing.", +"Request is actively being processed.", +"Request is in the process of being cancelled after user called google.longrunning.Operations.CancelOperation on the operation.", +"Request has been processed and is in its finalization stage.", +"Request has completed successfully.", +"Request has finished being processed, but encountered an error.", +"Request has finished being cancelled after user called google.longrunning.Operations.CancelOperation." +], +"type": "string" +}, +"pitrSnapshot": { +"$ref": "GoogleFirestoreAdminV1PitrSnapshot", +"description": "The snapshot from which this database was cloned." +}, +"progressPercentage": { +"$ref": "GoogleFirestoreAdminV1Progress", +"description": "How far along the clone is as an estimated percentage of remaining time." +}, +"startTime": { +"description": "The time the clone was started.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"GoogleFirestoreAdminV1CloneDatabaseRequest": { +"description": "The request message for FirestoreAdmin.CloneDatabase.", +"id": "GoogleFirestoreAdminV1CloneDatabaseRequest", +"properties": { +"databaseId": { +"description": "Required. The ID to use for the database, which will become the final component of the database's resource name. This database ID must not be associated with an existing database. This value should be 4-63 characters. Valid characters are /a-z-/ with first character a letter and the last a letter or a number. Must not be UUID-like /[0-9a-f]{8}(-[0-9a-f]{4}){3}-[0-9a-f]{12}/. \"(default)\" database ID is also valid if the database is Standard edition.", +"type": "string" +}, +"encryptionConfig": { +"$ref": "GoogleFirestoreAdminV1EncryptionConfig", +"description": "Optional. Encryption configuration for the cloned database. If this field is not specified, the cloned database will use the same encryption configuration as the source database, namely use_source_encryption." +}, +"pitrSnapshot": { +"$ref": "GoogleFirestoreAdminV1PitrSnapshot", +"description": "Required. Specification of the PITR data to clone from. The source database must exist. The cloned database will be created in the same location as the source database." +}, +"tags": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. Immutable. Tags to be bound to the cloned database. The tags should be provided in the format of `tagKeys/{tag_key_id} -> tagValues/{tag_value_id}`.", +"type": "object" +} +}, +"type": "object" +}, +"GoogleFirestoreAdminV1CmekConfig": { +"description": "The CMEK (Customer Managed Encryption Key) configuration for a Firestore database. If not present, the database is secured by the default Google encryption key.", +"id": "GoogleFirestoreAdminV1CmekConfig", +"properties": { +"activeKeyVersion": { +"description": "Output only. Currently in-use [KMS key versions](https://cloud.google.com/kms/docs/resource-hierarchy#key_versions). During [key rotation](https://cloud.google.com/kms/docs/key-rotation), there can be multiple in-use key versions. The expected format is `projects/{project_id}/locations/{kms_location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}/cryptoKeyVersions/{key_version}`.", +"items": { +"type": "string" +}, +"readOnly": true, +"type": "array" +}, +"kmsKeyName": { +"description": "Required. Only keys in the same location as this database are allowed to be used for encryption. For Firestore's nam5 multi-region, this corresponds to Cloud KMS multi-region us. For Firestore's eur3 multi-region, this corresponds to Cloud KMS multi-region europe. See https://cloud.google.com/kms/docs/locations. The expected format is `projects/{project_id}/locations/{kms_location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}`.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleFirestoreAdminV1CreateDatabaseMetadata": { +"description": "Metadata related to the create database operation.", +"id": "GoogleFirestoreAdminV1CreateDatabaseMetadata", +"properties": {}, +"type": "object" +}, +"GoogleFirestoreAdminV1CustomerManagedEncryptionOptions": { +"description": "The configuration options for using CMEK (Customer Managed Encryption Key) encryption.", +"id": "GoogleFirestoreAdminV1CustomerManagedEncryptionOptions", +"properties": { +"kmsKeyName": { +"description": "Required. Only keys in the same location as the database are allowed to be used for encryption. For Firestore's nam5 multi-region, this corresponds to Cloud KMS multi-region us. For Firestore's eur3 multi-region, this corresponds to Cloud KMS multi-region europe. See https://cloud.google.com/kms/docs/locations. The expected format is `projects/{project_id}/locations/{kms_location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}`.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleFirestoreAdminV1DailyRecurrence": { +"description": "Represents a recurring schedule that runs every day. The time zone is UTC.", +"id": "GoogleFirestoreAdminV1DailyRecurrence", +"properties": {}, +"type": "object" +}, +"GoogleFirestoreAdminV1Database": { +"description": "A Cloud Firestore Database.", +"id": "GoogleFirestoreAdminV1Database", +"properties": { +"appEngineIntegrationMode": { +"description": "The App Engine integration mode to use for this database.", +"enum": [ +"APP_ENGINE_INTEGRATION_MODE_UNSPECIFIED", +"ENABLED", +"DISABLED" +], +"enumDescriptions": [ +"Not used.", +"If an App Engine application exists in the same region as this database, App Engine configuration will impact this database. This includes disabling of the application & database, as well as disabling writes to the database.", +"App Engine has no effect on the ability of this database to serve requests. This is the default setting for databases created with the Firestore API." +], +"type": "string" +}, +"cmekConfig": { +"$ref": "GoogleFirestoreAdminV1CmekConfig", +"description": "Optional. Presence indicates CMEK is enabled for this database." +}, +"concurrencyMode": { +"description": "The concurrency control mode to use for this database. If unspecified in a CreateDatabase request, this will default based on the database edition: Optimistic for Enterprise and Pessimistic for all other databases.", +"enum": [ +"CONCURRENCY_MODE_UNSPECIFIED", +"OPTIMISTIC", +"PESSIMISTIC", +"OPTIMISTIC_WITH_ENTITY_GROUPS" +], +"enumDescriptions": [ +"Not used.", +"Use optimistic concurrency control by default. This mode is available for Cloud Firestore databases. This is the default setting for Cloud Firestore Enterprise Edition databases.", +"Use pessimistic concurrency control by default. This mode is available for Cloud Firestore databases. This is the default setting for Cloud Firestore Standard Edition databases.", +"Use optimistic concurrency control with entity groups by default. This mode is enabled for some databases that were automatically upgraded from Cloud Datastore to Cloud Firestore with Datastore Mode. It is not recommended for any new databases, and not supported for Firestore Native databases." +], +"type": "string" +}, +"createTime": { +"description": "Output only. The timestamp at which this database was created. Databases created before 2016 do not populate create_time.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"databaseEdition": { +"description": "Immutable. The edition of the database.", +"enum": [ +"DATABASE_EDITION_UNSPECIFIED", +"STANDARD", +"ENTERPRISE" +], +"enumDescriptions": [ +"Not used.", +"Standard edition. This is the default setting if not specified.", +"Enterprise edition." +], +"type": "string" +}, +"deleteProtectionState": { +"description": "State of delete protection for the database.", +"enum": [ +"DELETE_PROTECTION_STATE_UNSPECIFIED", +"DELETE_PROTECTION_DISABLED", +"DELETE_PROTECTION_ENABLED" +], +"enumDescriptions": [ +"The default value. Delete protection type is not specified", +"Delete protection is disabled", +"Delete protection is enabled" +], +"type": "string" +}, +"deleteTime": { +"description": "Output only. The timestamp at which this database was deleted. Only set if the database has been deleted.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"earliestVersionTime": { +"description": "Output only. The earliest timestamp at which older versions of the data can be read from the database. See [version_retention_period] above; this field is populated with `now - version_retention_period`. This value is continuously updated, and becomes stale the moment it is queried. If you are using this value to recover data, make sure to account for the time from the moment when the value is queried to the moment when you initiate the recovery.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"etag": { +"description": "This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.", +"type": "string" +}, +"firestoreDataAccessMode": { +"description": "Optional. The Firestore API data access mode to use for this database. If not set on write: - the default value is DATA_ACCESS_MODE_DISABLED for Enterprise Edition. - the default value is DATA_ACCESS_MODE_ENABLED for Standard Edition.", +"enum": [ +"DATA_ACCESS_MODE_UNSPECIFIED", +"DATA_ACCESS_MODE_ENABLED", +"DATA_ACCESS_MODE_DISABLED" +], +"enumDescriptions": [ +"Not Used.", +"Accessing the database through the API is allowed.", +"Accessing the database through the API is disallowed." +], +"type": "string" +}, +"freeTier": { +"description": "Output only. Background: Free tier is the ability of a Firestore database to use a small amount of resources every day without being charged. Once usage exceeds the free tier limit further usage is charged. Whether this database can make use of the free tier. Only one database per project can be eligible for the free tier. The first (or next) database that is created in a project without a free tier database will be marked as eligible for the free tier. Databases that are created while there is a free tier database will not be eligible for the free tier.", +"readOnly": true, +"type": "boolean" +}, +"keyPrefix": { +"description": "Output only. The key_prefix for this database. This key_prefix is used, in combination with the project ID (\"~\") to construct the application ID that is returned from the Cloud Datastore APIs in Google App Engine first generation runtimes. This value may be empty in which case the appid to use for URL-encoded keys is the project_id (eg: foo instead of v~foo).", +"readOnly": true, +"type": "string" +}, +"locationId": { +"description": "The location of the database. Available locations are listed at https://cloud.google.com/firestore/docs/locations.", +"type": "string" +}, +"mongodbCompatibleDataAccessMode": { +"description": "Optional. The MongoDB compatible API data access mode to use for this database. If not set on write, the default value is DATA_ACCESS_MODE_ENABLED for Enterprise Edition. The value is always DATA_ACCESS_MODE_DISABLED for Standard Edition.", +"enum": [ +"DATA_ACCESS_MODE_UNSPECIFIED", +"DATA_ACCESS_MODE_ENABLED", +"DATA_ACCESS_MODE_DISABLED" +], +"enumDescriptions": [ +"Not Used.", +"Accessing the database through the API is allowed.", +"Accessing the database through the API is disallowed." +], +"type": "string" +}, +"name": { +"description": "The resource name of the Database. Format: `projects/{project}/databases/{database}`", +"type": "string" +}, +"pointInTimeRecoveryEnablement": { +"description": "Whether to enable the PITR feature on this database.", +"enum": [ +"POINT_IN_TIME_RECOVERY_ENABLEMENT_UNSPECIFIED", +"POINT_IN_TIME_RECOVERY_ENABLED", +"POINT_IN_TIME_RECOVERY_DISABLED" +], +"enumDescriptions": [ +"Not used.", +"Reads are supported on selected versions of the data from within the past 7 days: * Reads against any timestamp within the past hour * Reads against 1-minute snapshots beyond 1 hour and within 7 days `version_retention_period` and `earliest_version_time` can be used to determine the supported versions.", +"Reads are supported on any version of the data from within the past 1 hour." +], +"type": "string" +}, +"previousId": { +"description": "Output only. The database resource's prior database ID. This field is only populated for deleted databases.", +"readOnly": true, +"type": "string" +}, +"realtimeUpdatesMode": { +"description": "Immutable. The default Realtime Updates mode to use for this database.", +"enum": [ +"REALTIME_UPDATES_MODE_UNSPECIFIED", +"REALTIME_UPDATES_MODE_ENABLED", +"REALTIME_UPDATES_MODE_DISABLED" +], +"enumDescriptions": [ +"The Realtime Updates feature is not specified.", +"The Realtime Updates feature is enabled by default. This could potentially degrade write performance for the database.", +"The Realtime Updates feature is disabled by default." +], +"type": "string" +}, +"sourceInfo": { +"$ref": "GoogleFirestoreAdminV1SourceInfo", +"description": "Output only. Information about the provenance of this database.", +"readOnly": true +}, +"tags": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. Input only. Immutable. Tag keys/values directly bound to this resource. For example: \"123/environment\": \"production\", \"123/costCenter\": \"marketing\"", +"type": "object" +}, +"type": { +"description": "The type of the database. See https://cloud.google.com/datastore/docs/firestore-or-datastore for information about how to choose.", +"enum": [ +"DATABASE_TYPE_UNSPECIFIED", +"FIRESTORE_NATIVE", +"DATASTORE_MODE" +], +"enumDescriptions": [ +"Not used.", +"Firestore Native Mode", +"Firestore in Datastore Mode." +], +"type": "string" +}, +"uid": { +"description": "Output only. The system-generated UUID4 for this Database.", +"readOnly": true, +"type": "string" +}, +"updateTime": { +"description": "Output only. The timestamp at which this database was most recently updated. Note this only includes updates to the database resource and not data contained by the database.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"versionRetentionPeriod": { +"description": "Output only. The period during which past versions of data are retained in the database. Any read or query can specify a `read_time` within this window, and will read the state of the database at that time. If the PITR feature is enabled, the retention period is 7 days. Otherwise, the retention period is 1 hour.", +"format": "google-duration", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleFirestoreAdminV1DeleteDatabaseMetadata": { +"description": "Metadata related to the delete database operation.", +"id": "GoogleFirestoreAdminV1DeleteDatabaseMetadata", +"properties": {}, +"type": "object" +}, +"GoogleFirestoreAdminV1DisableUserCredsRequest": { +"description": "The request for FirestoreAdmin.DisableUserCreds.", +"id": "GoogleFirestoreAdminV1DisableUserCredsRequest", +"properties": {}, +"type": "object" +}, +"GoogleFirestoreAdminV1EnableUserCredsRequest": { +"description": "The request for FirestoreAdmin.EnableUserCreds.", +"id": "GoogleFirestoreAdminV1EnableUserCredsRequest", +"properties": {}, +"type": "object" +}, +"GoogleFirestoreAdminV1EncryptionConfig": { +"description": "Encryption configuration for a new database being created from another source. The source could be a Backup or a PitrSnapshot.", +"id": "GoogleFirestoreAdminV1EncryptionConfig", +"properties": { +"customerManagedEncryption": { +"$ref": "GoogleFirestoreAdminV1CustomerManagedEncryptionOptions", +"description": "Use Customer Managed Encryption Keys (CMEK) for encryption." +}, +"googleDefaultEncryption": { +"$ref": "GoogleFirestoreAdminV1GoogleDefaultEncryptionOptions", +"description": "Use Google default encryption." +}, +"useSourceEncryption": { +"$ref": "GoogleFirestoreAdminV1SourceEncryptionOptions", +"description": "The database will use the same encryption configuration as the source." +} +}, +"type": "object" +}, +"GoogleFirestoreAdminV1ExportDocumentsMetadata": { +"description": "Metadata for google.longrunning.Operation results from FirestoreAdmin.ExportDocuments.", +"id": "GoogleFirestoreAdminV1ExportDocumentsMetadata", +"properties": { +"collectionIds": { +"description": "Which collection IDs are being exported.", +"items": { +"type": "string" +}, +"type": "array" +}, +"endTime": { +"description": "The time this operation completed. Will be unset if operation still in progress.", +"format": "google-datetime", +"type": "string" +}, +"namespaceIds": { +"description": "Which namespace IDs are being exported.", +"items": { +"type": "string" +}, +"type": "array" +}, +"operationState": { +"description": "The state of the export operation.", +"enum": [ +"OPERATION_STATE_UNSPECIFIED", +"INITIALIZING", +"PROCESSING", +"CANCELLING", +"FINALIZING", +"SUCCESSFUL", +"FAILED", +"CANCELLED" +], +"enumDescriptions": [ +"Unspecified.", +"Request is being prepared for processing.", +"Request is actively being processed.", +"Request is in the process of being cancelled after user called google.longrunning.Operations.CancelOperation on the operation.", +"Request has been processed and is in its finalization stage.", +"Request has completed successfully.", +"Request has finished being processed, but encountered an error.", +"Request has finished being cancelled after user called google.longrunning.Operations.CancelOperation." +], +"type": "string" +}, +"outputUriPrefix": { +"description": "Where the documents are being exported to.", +"type": "string" +}, +"progressBytes": { +"$ref": "GoogleFirestoreAdminV1Progress", +"description": "The progress, in bytes, of this operation." +}, +"progressDocuments": { +"$ref": "GoogleFirestoreAdminV1Progress", +"description": "The progress, in documents, of this operation." +}, +"snapshotTime": { +"description": "The timestamp that corresponds to the version of the database that is being exported. If unspecified, there are no guarantees about the consistency of the documents being exported.", +"format": "google-datetime", +"type": "string" +}, +"startTime": { +"description": "The time this operation started.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"GoogleFirestoreAdminV1ExportDocumentsRequest": { +"description": "The request for FirestoreAdmin.ExportDocuments.", +"id": "GoogleFirestoreAdminV1ExportDocumentsRequest", +"properties": { +"collectionIds": { +"description": "IDs of the collection groups to export. Unspecified means all collection groups. Each collection group in this list must be unique.", +"items": { +"type": "string" +}, +"type": "array" +}, +"namespaceIds": { +"description": "An empty list represents all namespaces. This is the preferred usage for databases that don't use namespaces. An empty string element represents the default namespace. This should be used if the database has data in non-default namespaces, but doesn't want to include them. Each namespace in this list must be unique.", +"items": { +"type": "string" +}, +"type": "array" +}, +"outputUriPrefix": { +"description": "The output URI. Currently only supports Google Cloud Storage URIs of the form: `gs://BUCKET_NAME[/NAMESPACE_PATH]`, where `BUCKET_NAME` is the name of the Google Cloud Storage bucket and `NAMESPACE_PATH` is an optional Google Cloud Storage namespace path. When choosing a name, be sure to consider Google Cloud Storage naming guidelines: https://cloud.google.com/storage/docs/naming. If the URI is a bucket (without a namespace path), a prefix will be generated based on the start time.", +"type": "string" +}, +"snapshotTime": { +"description": "The timestamp that corresponds to the version of the database to be exported. The timestamp must be in the past, rounded to the minute and not older than earliestVersionTime. If specified, then the exported documents will represent a consistent view of the database at the provided time. Otherwise, there are no guarantees about the consistency of the exported documents.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"GoogleFirestoreAdminV1ExportDocumentsResponse": { +"description": "Returned in the google.longrunning.Operation response field.", +"id": "GoogleFirestoreAdminV1ExportDocumentsResponse", +"properties": { +"outputUriPrefix": { +"description": "Location of the output files. This can be used to begin an import into Cloud Firestore (this project or another project) after the operation completes successfully.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleFirestoreAdminV1Field": { +"description": "Represents a single field in the database. Fields are grouped by their \"Collection Group\", which represent all collections in the database with the same ID.", +"id": "GoogleFirestoreAdminV1Field", +"properties": { +"indexConfig": { +"$ref": "GoogleFirestoreAdminV1IndexConfig", +"description": "The index configuration for this field. If unset, field indexing will revert to the configuration defined by the `ancestor_field`. To explicitly remove all indexes for this field, specify an index config with an empty list of indexes." +}, +"name": { +"description": "Required. A field name of the form: `projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}/fields/{field_path}` A field path can be a simple field name, e.g. `address` or a path to fields within `map_value` , e.g. `address.city`, or a special field path. The only valid special field is `*`, which represents any field. Field paths can be quoted using `` ` `` (backtick). The only character that must be escaped within a quoted field path is the backtick character itself, escaped using a backslash. Special characters in field paths that must be quoted include: `*`, `.`, `` ` `` (backtick), `[`, `]`, as well as any ascii symbolic characters. Examples: `` `address.city` `` represents a field named `address.city`, not the map key `city` in the field `address`. `` `*` `` represents a field named `*`, not any field. A special `Field` contains the default indexing settings for all fields. This field's resource name is: `projects/{project_id}/databases/{database_id}/collectionGroups/__default__/fields/*` Indexes defined on this `Field` will be applied to all fields which do not have their own `Field` index configuration.", +"type": "string" +}, +"ttlConfig": { +"$ref": "GoogleFirestoreAdminV1TtlConfig", +"description": "The TTL configuration for this `Field`. Setting or unsetting this will enable or disable the TTL for documents that have this `Field`." +} +}, +"type": "object" +}, +"GoogleFirestoreAdminV1FieldOperationMetadata": { +"description": "Metadata for google.longrunning.Operation results from FirestoreAdmin.UpdateField.", +"id": "GoogleFirestoreAdminV1FieldOperationMetadata", +"properties": { +"endTime": { +"description": "The time this operation completed. Will be unset if operation still in progress.", +"format": "google-datetime", +"type": "string" +}, +"field": { +"description": "The field resource that this operation is acting on. For example: `projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}/fields/{field_path}`", +"type": "string" +}, +"indexConfigDeltas": { +"description": "A list of IndexConfigDelta, which describe the intent of this operation.", +"items": { +"$ref": "GoogleFirestoreAdminV1IndexConfigDelta" +}, +"type": "array" +}, +"progressBytes": { +"$ref": "GoogleFirestoreAdminV1Progress", +"description": "The progress, in bytes, of this operation." +}, +"progressDocuments": { +"$ref": "GoogleFirestoreAdminV1Progress", +"description": "The progress, in documents, of this operation." +}, +"startTime": { +"description": "The time this operation started.", +"format": "google-datetime", +"type": "string" +}, +"state": { +"description": "The state of the operation.", +"enum": [ +"OPERATION_STATE_UNSPECIFIED", +"INITIALIZING", +"PROCESSING", +"CANCELLING", +"FINALIZING", +"SUCCESSFUL", +"FAILED", +"CANCELLED" +], +"enumDescriptions": [ +"Unspecified.", +"Request is being prepared for processing.", +"Request is actively being processed.", +"Request is in the process of being cancelled after user called google.longrunning.Operations.CancelOperation on the operation.", +"Request has been processed and is in its finalization stage.", +"Request has completed successfully.", +"Request has finished being processed, but encountered an error.", +"Request has finished being cancelled after user called google.longrunning.Operations.CancelOperation." +], +"type": "string" +}, +"ttlConfigDelta": { +"$ref": "GoogleFirestoreAdminV1TtlConfigDelta", +"description": "Describes the deltas of TTL configuration." +} +}, +"type": "object" +}, +"GoogleFirestoreAdminV1FlatIndex": { +"description": "An index that stores vectors in a flat data structure, and supports exhaustive search.", +"id": "GoogleFirestoreAdminV1FlatIndex", +"properties": {}, +"type": "object" +}, +"GoogleFirestoreAdminV1GoogleDefaultEncryptionOptions": { +"description": "The configuration options for using Google default encryption.", +"id": "GoogleFirestoreAdminV1GoogleDefaultEncryptionOptions", +"properties": {}, +"type": "object" +}, +"GoogleFirestoreAdminV1ImportDocumentsMetadata": { +"description": "Metadata for google.longrunning.Operation results from FirestoreAdmin.ImportDocuments.", +"id": "GoogleFirestoreAdminV1ImportDocumentsMetadata", +"properties": { +"collectionIds": { +"description": "Which collection IDs are being imported.", +"items": { +"type": "string" +}, +"type": "array" +}, +"endTime": { +"description": "The time this operation completed. Will be unset if operation still in progress.", +"format": "google-datetime", +"type": "string" +}, +"inputUriPrefix": { +"description": "The location of the documents being imported.", +"type": "string" +}, +"namespaceIds": { +"description": "Which namespace IDs are being imported.", +"items": { +"type": "string" +}, +"type": "array" +}, +"operationState": { +"description": "The state of the import operation.", +"enum": [ +"OPERATION_STATE_UNSPECIFIED", +"INITIALIZING", +"PROCESSING", +"CANCELLING", +"FINALIZING", +"SUCCESSFUL", +"FAILED", +"CANCELLED" +], +"enumDescriptions": [ +"Unspecified.", +"Request is being prepared for processing.", +"Request is actively being processed.", +"Request is in the process of being cancelled after user called google.longrunning.Operations.CancelOperation on the operation.", +"Request has been processed and is in its finalization stage.", +"Request has completed successfully.", +"Request has finished being processed, but encountered an error.", +"Request has finished being cancelled after user called google.longrunning.Operations.CancelOperation." +], +"type": "string" +}, +"progressBytes": { +"$ref": "GoogleFirestoreAdminV1Progress", +"description": "The progress, in bytes, of this operation." +}, +"progressDocuments": { +"$ref": "GoogleFirestoreAdminV1Progress", +"description": "The progress, in documents, of this operation." +}, +"startTime": { +"description": "The time this operation started.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"GoogleFirestoreAdminV1ImportDocumentsRequest": { +"description": "The request for FirestoreAdmin.ImportDocuments.", +"id": "GoogleFirestoreAdminV1ImportDocumentsRequest", +"properties": { +"collectionIds": { +"description": "IDs of the collection groups to import. Unspecified means all collection groups that were included in the export. Each collection group in this list must be unique.", +"items": { +"type": "string" +}, +"type": "array" +}, +"inputUriPrefix": { +"description": "Location of the exported files. This must match the output_uri_prefix of an ExportDocumentsResponse from an export that has completed successfully. See: google.firestore.admin.v1.ExportDocumentsResponse.output_uri_prefix.", +"type": "string" +}, +"namespaceIds": { +"description": "An empty list represents all namespaces. This is the preferred usage for databases that don't use namespaces. An empty string element represents the default namespace. This should be used if the database has data in non-default namespaces, but doesn't want to include them. Each namespace in this list must be unique.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleFirestoreAdminV1Index": { +"description": "Cloud Firestore indexes enable simple and complex queries against documents in a database.", +"id": "GoogleFirestoreAdminV1Index", +"properties": { +"apiScope": { +"description": "The API scope supported by this index.", +"enum": [ +"ANY_API", +"DATASTORE_MODE_API", +"MONGODB_COMPATIBLE_API" +], +"enumDescriptions": [ +"The index can only be used by the Firestore Native query API. This is the default.", +"The index can only be used by the Firestore in Datastore Mode query API.", +"The index can only be used by the MONGODB_COMPATIBLE_API." +], +"type": "string" +}, +"density": { +"description": "Immutable. The density configuration of the index.", +"enum": [ +"DENSITY_UNSPECIFIED", +"SPARSE_ALL", +"SPARSE_ANY", +"DENSE" +], +"enumDescriptions": [ +"Unspecified. It will use database default setting. This value is input only.", +"An index entry will only exist if ALL fields are present in the document. This is both the default and only allowed value for Standard Edition databases (for both Cloud Firestore `ANY_API` and Cloud Datastore `DATASTORE_MODE_API`). Take for example the following document: ``` { \"__name__\": \"...\", \"a\": 1, \"b\": 2, \"c\": 3 } ``` an index on `(a ASC, b ASC, c ASC, __name__ ASC)` will generate an index entry for this document since `a`, 'b', `c`, and `__name__` are all present but an index of `(a ASC, d ASC, __name__ ASC)` will not generate an index entry for this document since `d` is missing. This means that such indexes can only be used to serve a query when the query has either implicit or explicit requirements that all fields from the index are present.", +"An index entry will exist if ANY field are present in the document. This is used as the definition of a sparse index for Enterprise Edition databases. Take for example the following document: ``` { \"__name__\": \"...\", \"a\": 1, \"b\": 2, \"c\": 3 } ``` an index on `(a ASC, d ASC)` will generate an index entry for this document since `a` is present, and will fill in an `unset` value for `d`. An index on `(d ASC, e ASC)` will not generate any index entry as neither `d` nor `e` are present. An index that contains `__name__` will generate an index entry for all documents since Firestore guarantees that all documents have a `__name__` field.", +"An index entry will exist regardless of if the fields are present or not. This is the default density for an Enterprise Edition database. The index will store `unset` values for fields that are not present in the document." +], +"type": "string" +}, +"fields": { +"description": "The fields supported by this index. For composite indexes, this requires a minimum of 2 and a maximum of 100 fields. The last field entry is always for the field path `__name__`. If, on creation, `__name__` was not specified as the last field, it will be added automatically with the same direction as that of the last field defined. If the final field in a composite index is not directional, the `__name__` will be ordered ASCENDING (unless explicitly specified). For single field indexes, this will always be exactly one entry with a field path equal to the field path of the associated field.", +"items": { +"$ref": "GoogleFirestoreAdminV1IndexField" +}, +"type": "array" +}, +"multikey": { +"description": "Optional. Whether the index is multikey. By default, the index is not multikey. For non-multikey indexes, none of the paths in the index definition reach or traverse an array, except via an explicit array index. For multikey indexes, at most one of the paths in the index definition reach or traverse an array, except via an explicit array index. Violations will result in errors. Note this field only applies to index with MONGODB_COMPATIBLE_API ApiScope.", +"type": "boolean" +}, +"name": { +"description": "Output only. A server defined name for this index. The form of this name for composite indexes will be: `projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}/indexes/{composite_index_id}` For single field indexes, this field will be empty.", +"type": "string" +}, +"queryScope": { +"description": "Indexes with a collection query scope specified allow queries against a collection that is the child of a specific document, specified at query time, and that has the same collection ID. Indexes with a collection group query scope specified allow queries against all collections descended from a specific document, specified at query time, and that have the same collection ID as this index.", +"enum": [ +"QUERY_SCOPE_UNSPECIFIED", +"COLLECTION", +"COLLECTION_GROUP", +"COLLECTION_RECURSIVE" +], +"enumDescriptions": [ +"The query scope is unspecified. Not a valid option.", +"Indexes with a collection query scope specified allow queries against a collection that is the child of a specific document, specified at query time, and that has the collection ID specified by the index.", +"Indexes with a collection group query scope specified allow queries against all collections that has the collection ID specified by the index.", +"Include all the collections's ancestor in the index. Only available for Datastore Mode databases." +], +"type": "string" +}, +"shardCount": { +"description": "Optional. The number of shards for the index.", +"format": "int32", +"type": "integer" +}, +"state": { +"description": "Output only. The serving state of the index.", +"enum": [ +"STATE_UNSPECIFIED", +"CREATING", +"READY", +"NEEDS_REPAIR" +], +"enumDescriptions": [ +"The state is unspecified.", +"The index is being created. There is an active long-running operation for the index. The index is updated when writing a document. Some index data may exist.", +"The index is ready to be used. The index is updated when writing a document. The index is fully populated from all stored documents it applies to.", +"The index was being created, but something went wrong. There is no active long-running operation for the index, and the most recently finished long-running operation failed. The index is not updated when writing a document. Some index data may exist. Use the google.longrunning.Operations API to determine why the operation that last attempted to create this index failed, then re-create the index." +], +"type": "string" +}, +"unique": { +"description": "Optional. Whether it is an unique index. Unique index ensures all values for the indexed field(s) are unique across documents.", +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleFirestoreAdminV1IndexConfig": { +"description": "The index configuration for this field.", +"id": "GoogleFirestoreAdminV1IndexConfig", +"properties": { +"ancestorField": { +"description": "Output only. Specifies the resource name of the `Field` from which this field's index configuration is set (when `uses_ancestor_config` is true), or from which it *would* be set if this field had no index configuration (when `uses_ancestor_config` is false).", +"type": "string" +}, +"indexes": { +"description": "The indexes supported for this field.", +"items": { +"$ref": "GoogleFirestoreAdminV1Index" +}, +"type": "array" +}, +"reverting": { +"description": "Output only When true, the `Field`'s index configuration is in the process of being reverted. Once complete, the index config will transition to the same state as the field specified by `ancestor_field`, at which point `uses_ancestor_config` will be `true` and `reverting` will be `false`.", +"type": "boolean" +}, +"usesAncestorConfig": { +"description": "Output only. When true, the `Field`'s index configuration is set from the configuration specified by the `ancestor_field`. When false, the `Field`'s index configuration is defined explicitly.", +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleFirestoreAdminV1IndexConfigDelta": { +"description": "Information about an index configuration change.", +"id": "GoogleFirestoreAdminV1IndexConfigDelta", +"properties": { +"changeType": { +"description": "Specifies how the index is changing.", +"enum": [ +"CHANGE_TYPE_UNSPECIFIED", +"ADD", +"REMOVE" +], +"enumDescriptions": [ +"The type of change is not specified or known.", +"The single field index is being added.", +"The single field index is being removed." +], +"type": "string" +}, +"index": { +"$ref": "GoogleFirestoreAdminV1Index", +"description": "The index being changed." +} +}, +"type": "object" +}, +"GoogleFirestoreAdminV1IndexField": { +"description": "A field in an index. The field_path describes which field is indexed, the value_mode describes how the field value is indexed.", +"id": "GoogleFirestoreAdminV1IndexField", +"properties": { +"arrayConfig": { +"description": "Indicates that this field supports operations on `array_value`s.", +"enum": [ +"ARRAY_CONFIG_UNSPECIFIED", +"CONTAINS" +], +"enumDescriptions": [ +"The index does not support additional array queries.", +"The index supports array containment queries." +], +"type": "string" +}, +"fieldPath": { +"description": "Can be __name__. For single field indexes, this must match the name of the field or may be omitted.", +"type": "string" +}, +"order": { +"description": "Indicates that this field supports ordering by the specified order or comparing using =, !=, <, <=, >, >=.", +"enum": [ +"ORDER_UNSPECIFIED", +"ASCENDING", +"DESCENDING" +], +"enumDescriptions": [ +"The ordering is unspecified. Not a valid option.", +"The field is ordered by ascending field value.", +"The field is ordered by descending field value." +], +"type": "string" +}, +"vectorConfig": { +"$ref": "GoogleFirestoreAdminV1VectorConfig", +"description": "Indicates that this field supports nearest neighbor and distance operations on vector." +} +}, +"type": "object" +}, +"GoogleFirestoreAdminV1IndexOperationMetadata": { +"description": "Metadata for google.longrunning.Operation results from FirestoreAdmin.CreateIndex.", +"id": "GoogleFirestoreAdminV1IndexOperationMetadata", +"properties": { +"endTime": { +"description": "The time this operation completed. Will be unset if operation still in progress.", +"format": "google-datetime", +"type": "string" +}, +"index": { +"description": "The index resource that this operation is acting on. For example: `projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}/indexes/{index_id}`", +"type": "string" +}, +"progressBytes": { +"$ref": "GoogleFirestoreAdminV1Progress", +"description": "The progress, in bytes, of this operation." +}, +"progressDocuments": { +"$ref": "GoogleFirestoreAdminV1Progress", +"description": "The progress, in documents, of this operation." +}, +"startTime": { +"description": "The time this operation started.", +"format": "google-datetime", +"type": "string" +}, +"state": { +"description": "The state of the operation.", +"enum": [ +"OPERATION_STATE_UNSPECIFIED", +"INITIALIZING", +"PROCESSING", +"CANCELLING", +"FINALIZING", +"SUCCESSFUL", +"FAILED", +"CANCELLED" +], +"enumDescriptions": [ +"Unspecified.", +"Request is being prepared for processing.", +"Request is actively being processed.", +"Request is in the process of being cancelled after user called google.longrunning.Operations.CancelOperation on the operation.", +"Request has been processed and is in its finalization stage.", +"Request has completed successfully.", +"Request has finished being processed, but encountered an error.", +"Request has finished being cancelled after user called google.longrunning.Operations.CancelOperation." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleFirestoreAdminV1ListBackupSchedulesResponse": { +"description": "The response for FirestoreAdmin.ListBackupSchedules.", +"id": "GoogleFirestoreAdminV1ListBackupSchedulesResponse", +"properties": { +"backupSchedules": { +"description": "List of all backup schedules.", +"items": { +"$ref": "GoogleFirestoreAdminV1BackupSchedule" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleFirestoreAdminV1ListBackupsResponse": { +"description": "The response for FirestoreAdmin.ListBackups.", +"id": "GoogleFirestoreAdminV1ListBackupsResponse", +"properties": { +"backups": { +"description": "List of all backups for the project.", +"items": { +"$ref": "GoogleFirestoreAdminV1Backup" +}, +"type": "array" +}, +"unreachable": { +"description": "List of locations that existing backups were not able to be fetched from. Instead of failing the entire requests when a single location is unreachable, this response returns a partial result set and list of locations unable to be reached here. The request can be retried against a single location to get a concrete error.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleFirestoreAdminV1ListDatabasesResponse": { +"description": "The list of databases for a project.", +"id": "GoogleFirestoreAdminV1ListDatabasesResponse", +"properties": { +"databases": { +"description": "The databases in the project.", +"items": { +"$ref": "GoogleFirestoreAdminV1Database" +}, +"type": "array" +}, +"unreachable": { +"description": "In the event that data about individual databases cannot be listed they will be recorded here. An example entry might be: projects/some_project/locations/some_location This can happen if the Cloud Region that the Database resides in is currently unavailable. In this case we can't fetch all the details about the database. You may be able to get a more detailed error message (or possibly fetch the resource) by sending a 'Get' request for the resource or a 'List' request for the specific location.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleFirestoreAdminV1ListFieldsResponse": { +"description": "The response for FirestoreAdmin.ListFields.", +"id": "GoogleFirestoreAdminV1ListFieldsResponse", +"properties": { +"fields": { +"description": "The requested fields.", +"items": { +"$ref": "GoogleFirestoreAdminV1Field" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A page token that may be used to request another page of results. If blank, this is the last page.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleFirestoreAdminV1ListIndexesResponse": { +"description": "The response for FirestoreAdmin.ListIndexes.", +"id": "GoogleFirestoreAdminV1ListIndexesResponse", +"properties": { +"indexes": { +"description": "The requested indexes.", +"items": { +"$ref": "GoogleFirestoreAdminV1Index" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A page token that may be used to request another page of results. If blank, this is the last page.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleFirestoreAdminV1ListUserCredsResponse": { +"description": "The response for FirestoreAdmin.ListUserCreds.", +"id": "GoogleFirestoreAdminV1ListUserCredsResponse", +"properties": { +"userCreds": { +"description": "The user creds for the database.", +"items": { +"$ref": "GoogleFirestoreAdminV1UserCreds" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleFirestoreAdminV1LocationMetadata": { +"description": "The metadata message for google.cloud.location.Location.metadata.", +"id": "GoogleFirestoreAdminV1LocationMetadata", +"properties": {}, +"type": "object" +}, +"GoogleFirestoreAdminV1PitrSnapshot": { +"description": "A consistent snapshot of a database at a specific point in time. A PITR (Point-in-time recovery) snapshot with previous versions of a database's data is available for every minute up to the associated database's data retention period. If the PITR feature is enabled, the retention period is 7 days; otherwise, it is one hour.", +"id": "GoogleFirestoreAdminV1PitrSnapshot", +"properties": { +"database": { +"description": "Required. The name of the database that this was a snapshot of. Format: `projects/{project}/databases/{database}`.", +"type": "string" +}, +"databaseUid": { +"description": "Output only. Public UUID of the database the snapshot was associated with.", +"format": "byte", +"readOnly": true, +"type": "string" +}, +"snapshotTime": { +"description": "Required. Snapshot time of the database.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"GoogleFirestoreAdminV1Progress": { +"description": "Describes the progress of the operation. Unit of work is generic and must be interpreted based on where Progress is used.", +"id": "GoogleFirestoreAdminV1Progress", +"properties": { +"completedWork": { +"description": "The amount of work completed.", +"format": "int64", +"type": "string" +}, +"estimatedWork": { +"description": "The amount of work estimated.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"GoogleFirestoreAdminV1ResetUserPasswordRequest": { +"description": "The request for FirestoreAdmin.ResetUserPassword.", +"id": "GoogleFirestoreAdminV1ResetUserPasswordRequest", +"properties": {}, +"type": "object" +}, +"GoogleFirestoreAdminV1ResourceIdentity": { +"description": "Describes a Resource Identity principal.", +"id": "GoogleFirestoreAdminV1ResourceIdentity", +"properties": { +"principal": { +"description": "Output only. Principal identifier string. See: https://cloud.google.com/iam/docs/principal-identifiers", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleFirestoreAdminV1RestoreDatabaseMetadata": { +"description": "Metadata for the long-running operation from the RestoreDatabase request.", +"id": "GoogleFirestoreAdminV1RestoreDatabaseMetadata", +"properties": { +"backup": { +"description": "The name of the backup restoring from.", +"type": "string" +}, +"database": { +"description": "The name of the database being restored to.", +"type": "string" +}, +"endTime": { +"description": "The time the restore finished, unset for ongoing restores.", +"format": "google-datetime", +"type": "string" +}, +"operationState": { +"description": "The operation state of the restore.", +"enum": [ +"OPERATION_STATE_UNSPECIFIED", +"INITIALIZING", +"PROCESSING", +"CANCELLING", +"FINALIZING", +"SUCCESSFUL", +"FAILED", +"CANCELLED" +], +"enumDescriptions": [ +"Unspecified.", +"Request is being prepared for processing.", +"Request is actively being processed.", +"Request is in the process of being cancelled after user called google.longrunning.Operations.CancelOperation on the operation.", +"Request has been processed and is in its finalization stage.", +"Request has completed successfully.", +"Request has finished being processed, but encountered an error.", +"Request has finished being cancelled after user called google.longrunning.Operations.CancelOperation." +], +"type": "string" +}, +"progressPercentage": { +"$ref": "GoogleFirestoreAdminV1Progress", +"description": "How far along the restore is as an estimated percentage of remaining time." +}, +"startTime": { +"description": "The time the restore was started.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"GoogleFirestoreAdminV1RestoreDatabaseRequest": { +"description": "The request message for FirestoreAdmin.RestoreDatabase.", +"id": "GoogleFirestoreAdminV1RestoreDatabaseRequest", +"properties": { +"backup": { +"description": "Required. Backup to restore from. Must be from the same project as the parent. The restored database will be created in the same location as the source backup. Format is: `projects/{project_id}/locations/{location}/backups/{backup}`", +"type": "string" +}, +"databaseId": { +"description": "Required. The ID to use for the database, which will become the final component of the database's resource name. This database ID must not be associated with an existing database. This value should be 4-63 characters. Valid characters are /a-z-/ with first character a letter and the last a letter or a number. Must not be UUID-like /[0-9a-f]{8}(-[0-9a-f]{4}){3}-[0-9a-f]{12}/. \"(default)\" database ID is also valid if the database is Standard edition.", +"type": "string" +}, +"encryptionConfig": { +"$ref": "GoogleFirestoreAdminV1EncryptionConfig", +"description": "Optional. Encryption configuration for the restored database. If this field is not specified, the restored database will use the same encryption configuration as the backup, namely use_source_encryption." +}, +"tags": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. Immutable. Tags to be bound to the restored database. The tags should be provided in the format of `tagKeys/{tag_key_id} -> tagValues/{tag_value_id}`.", +"type": "object" +} +}, +"type": "object" +}, +"GoogleFirestoreAdminV1SourceEncryptionOptions": { +"description": "The configuration options for using the same encryption method as the source.", +"id": "GoogleFirestoreAdminV1SourceEncryptionOptions", +"properties": {}, +"type": "object" +}, +"GoogleFirestoreAdminV1SourceInfo": { +"description": "Information about the provenance of this database.", +"id": "GoogleFirestoreAdminV1SourceInfo", +"properties": { +"backup": { +"$ref": "GoogleFirestoreAdminV1BackupSource", +"description": "If set, this database was restored from the specified backup (or a snapshot thereof)." +}, +"operation": { +"description": "The associated long-running operation. This field may not be set after the operation has completed. Format: `projects/{project}/databases/{database}/operations/{operation}`.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleFirestoreAdminV1Stats": { +"description": "Backup specific statistics.", +"id": "GoogleFirestoreAdminV1Stats", +"properties": { +"documentCount": { +"description": "Output only. The total number of documents contained in the backup.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"indexCount": { +"description": "Output only. The total number of index entries contained in the backup.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"sizeBytes": { +"description": "Output only. Summation of the size of all documents and index entries in the backup, measured in bytes.", +"format": "int64", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleFirestoreAdminV1TtlConfig": { +"description": "The TTL (time-to-live) configuration for documents that have this `Field` set. Storing a timestamp value into a TTL-enabled field will be treated as the document's absolute expiration time. For Enterprise edition databases, the timestamp value may also be stored in an array value in the TTL-enabled field. Timestamp values in the past indicate that the document is eligible for immediate expiration. Using any other data type or leaving the field absent will disable expiration for the individual document.", +"id": "GoogleFirestoreAdminV1TtlConfig", +"properties": { +"state": { +"description": "Output only. The state of the TTL configuration.", +"enum": [ +"STATE_UNSPECIFIED", +"CREATING", +"ACTIVE", +"NEEDS_REPAIR" +], +"enumDescriptions": [ +"The state is unspecified or unknown.", +"The TTL is being applied. There is an active long-running operation to track the change. Newly written documents will have TTLs applied as requested. Requested TTLs on existing documents are still being processed. When TTLs on all existing documents have been processed, the state will move to 'ACTIVE'.", +"The TTL is active for all documents.", +"The TTL configuration could not be enabled for all existing documents. Newly written documents will continue to have their TTL applied. The LRO returned when last attempting to enable TTL for this `Field` has failed, and may have more details." +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleFirestoreAdminV1TtlConfigDelta": { +"description": "Information about a TTL configuration change.", +"id": "GoogleFirestoreAdminV1TtlConfigDelta", +"properties": { +"changeType": { +"description": "Specifies how the TTL configuration is changing.", +"enum": [ +"CHANGE_TYPE_UNSPECIFIED", +"ADD", +"REMOVE" +], +"enumDescriptions": [ +"The type of change is not specified or known.", +"The TTL config is being added.", +"The TTL config is being removed." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleFirestoreAdminV1UpdateDatabaseMetadata": { +"description": "Metadata related to the update database operation.", +"id": "GoogleFirestoreAdminV1UpdateDatabaseMetadata", +"properties": {}, +"type": "object" +}, +"GoogleFirestoreAdminV1UserCreds": { +"description": "A Cloud Firestore User Creds.", +"id": "GoogleFirestoreAdminV1UserCreds", +"properties": { +"createTime": { +"description": "Output only. The time the user creds were created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"name": { +"description": "Identifier. The resource name of the UserCreds. Format: `projects/{project}/databases/{database}/userCreds/{user_creds}`", +"type": "string" +}, +"resourceIdentity": { +"$ref": "GoogleFirestoreAdminV1ResourceIdentity", +"description": "Resource Identity descriptor." +}, +"securePassword": { +"description": "Output only. The plaintext server-generated password for the user creds. Only populated in responses for CreateUserCreds and ResetUserPassword.", +"readOnly": true, +"type": "string" +}, +"state": { +"description": "Output only. Whether the user creds are enabled or disabled. Defaults to ENABLED on creation.", +"enum": [ +"STATE_UNSPECIFIED", +"ENABLED", +"DISABLED" +], +"enumDescriptions": [ +"The default value. Should not be used.", +"The user creds are enabled.", +"The user creds are disabled." +], +"readOnly": true, +"type": "string" +}, +"updateTime": { +"description": "Output only. The time the user creds were last updated.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleFirestoreAdminV1VectorConfig": { +"description": "The index configuration to support vector search operations", +"id": "GoogleFirestoreAdminV1VectorConfig", +"properties": { +"dimension": { +"description": "Required. The vector dimension this configuration applies to. The resulting index will only include vectors of this dimension, and can be used for vector search with the same dimension.", +"format": "int32", +"type": "integer" +}, +"flat": { +"$ref": "GoogleFirestoreAdminV1FlatIndex", +"description": "Indicates the vector index is a flat index." +} +}, +"type": "object" +}, +"GoogleFirestoreAdminV1WeeklyRecurrence": { +"description": "Represents a recurring schedule that runs on a specified day of the week. The time zone is UTC.", +"id": "GoogleFirestoreAdminV1WeeklyRecurrence", +"properties": { +"day": { +"description": "The day of week to run. DAY_OF_WEEK_UNSPECIFIED is not allowed.", +"enum": [ +"DAY_OF_WEEK_UNSPECIFIED", +"MONDAY", +"TUESDAY", +"WEDNESDAY", +"THURSDAY", +"FRIDAY", +"SATURDAY", +"SUNDAY" +], +"enumDescriptions": [ +"The day of the week is unspecified.", +"Monday", +"Tuesday", +"Wednesday", +"Thursday", +"Friday", +"Saturday", +"Sunday" +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleLongrunningCancelOperationRequest": { +"description": "The request message for Operations.CancelOperation.", +"id": "GoogleLongrunningCancelOperationRequest", +"properties": {}, +"type": "object" +}, +"GoogleLongrunningListOperationsResponse": { +"description": "The response message for Operations.ListOperations.", +"id": "GoogleLongrunningListOperationsResponse", +"properties": { +"nextPageToken": { +"description": "The standard List next-page token.", +"type": "string" +}, +"operations": { +"description": "A list of operations that matches the specified filter in the request.", +"items": { +"$ref": "GoogleLongrunningOperation" +}, +"type": "array" +}, +"unreachable": { +"description": "Unordered list. Unreachable resources. Populated when the request sets `ListOperationsRequest.return_partial_success` and reads across collections. For example, when attempting to list all resources across all supported locations.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleLongrunningOperation": { +"description": "This resource represents a long-running operation that is the result of a network API call.", +"id": "GoogleLongrunningOperation", +"properties": { +"done": { +"description": "If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.", +"type": "boolean" +}, +"error": { +"$ref": "Status", +"description": "The error result of the operation in case of failure or cancellation." +}, +"metadata": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.", +"type": "object" +}, +"name": { +"description": "The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.", +"type": "string" +}, +"response": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "The normal, successful response of the operation. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.", +"type": "object" +} +}, +"type": "object" +}, +"LatLng": { +"description": "An object that represents a latitude/longitude pair. This is expressed as a pair of doubles to represent degrees latitude and degrees longitude. Unless specified otherwise, this object must conform to the WGS84 standard. Values must be within normalized ranges.", +"id": "LatLng", +"properties": { +"latitude": { +"description": "The latitude in degrees. It must be in the range [-90.0, +90.0].", +"format": "double", +"type": "number" +}, +"longitude": { +"description": "The longitude in degrees. It must be in the range [-180.0, +180.0].", +"format": "double", +"type": "number" +} +}, +"type": "object" +}, +"ListCollectionIdsRequest": { +"description": "The request for Firestore.ListCollectionIds.", +"id": "ListCollectionIdsRequest", +"properties": { +"pageSize": { +"description": "The maximum number of results to return.", +"format": "int32", +"type": "integer" +}, +"pageToken": { +"description": "A page token. Must be a value from ListCollectionIdsResponse.", +"type": "string" +}, +"readTime": { +"description": "Reads documents as they were at the given time. This must be a microsecond precision timestamp within the past one hour, or if Point-in-Time Recovery is enabled, can additionally be a whole minute timestamp within the past 7 days.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"ListCollectionIdsResponse": { +"description": "The response from Firestore.ListCollectionIds.", +"id": "ListCollectionIdsResponse", +"properties": { +"collectionIds": { +"description": "The collection ids.", +"items": { +"type": "string" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A page token that may be used to continue the list.", +"type": "string" +} +}, +"type": "object" +}, +"ListDocumentsResponse": { +"description": "The response for Firestore.ListDocuments.", +"id": "ListDocumentsResponse", +"properties": { +"documents": { +"description": "The Documents found.", +"items": { +"$ref": "Document" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A token to retrieve the next page of documents. If this field is omitted, there are no subsequent pages.", +"type": "string" +} +}, +"type": "object" +}, +"ListLocationsResponse": { +"description": "The response message for Locations.ListLocations.", +"id": "ListLocationsResponse", +"properties": { +"locations": { +"description": "A list of locations that matches the specified filter in the request.", +"items": { +"$ref": "Location" +}, +"type": "array" +}, +"nextPageToken": { +"description": "The standard List next-page token.", +"type": "string" +} +}, +"type": "object" +}, +"ListenRequest": { +"description": "A request for Firestore.Listen", +"id": "ListenRequest", +"properties": { +"addTarget": { +"$ref": "Target", +"description": "A target to add to this stream." +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Labels associated with this target change.", +"type": "object" +}, +"removeTarget": { +"description": "The ID of a target to remove from this stream.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"ListenResponse": { +"description": "The response for Firestore.Listen.", +"id": "ListenResponse", +"properties": { +"documentChange": { +"$ref": "DocumentChange", +"description": "A Document has changed." +}, +"documentDelete": { +"$ref": "DocumentDelete", +"description": "A Document has been deleted." +}, +"documentRemove": { +"$ref": "DocumentRemove", +"description": "A Document has been removed from a target (because it is no longer relevant to that target)." +}, +"filter": { +"$ref": "ExistenceFilter", +"description": "A filter to apply to the set of documents previously returned for the given target. Returned when documents may have been removed from the given target, but the exact documents are unknown." +}, +"targetChange": { +"$ref": "TargetChange", +"description": "Targets have changed." +} +}, +"type": "object" +}, +"Location": { +"description": "A resource that represents a Google Cloud location.", +"id": "Location", +"properties": { +"displayName": { +"description": "The friendly name for this location, typically a nearby city name. For example, \"Tokyo\".", +"type": "string" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Cross-service attributes for the location. For example {\"cloud.googleapis.com/region\": \"us-east1\"}", +"type": "object" +}, +"locationId": { +"description": "The canonical id for this location. For example: `\"us-east1\"`.", +"type": "string" +}, +"metadata": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "Service-specific metadata. For example the available capacity at the given location.", +"type": "object" +}, +"name": { +"description": "Resource name for the location, which may vary between implementations. For example: `\"projects/example-project/locations/us-east1\"`", +"type": "string" +} +}, +"type": "object" +}, +"MapValue": { +"description": "A map value.", +"id": "MapValue", +"properties": { +"fields": { +"additionalProperties": { +"$ref": "Value" +}, +"description": "The map's fields. The map keys represent field names. Field names matching the regular expression `__.*__` are reserved. Reserved field names are forbidden except in certain documented contexts. The map keys, represented as UTF-8, must not exceed 1,500 bytes and cannot be empty.", +"type": "object" +} +}, +"type": "object" +}, +"Order": { +"description": "An order on a field.", +"id": "Order", +"properties": { +"direction": { +"description": "The direction to order by. Defaults to `ASCENDING`.", +"enum": [ +"DIRECTION_UNSPECIFIED", +"ASCENDING", +"DESCENDING" +], +"enumDescriptions": [ +"Unspecified.", +"Ascending.", +"Descending." +], +"type": "string" +}, +"field": { +"$ref": "FieldReference", +"description": "The field to order by." +} +}, +"type": "object" +}, +"PartitionQueryRequest": { +"description": "The request for Firestore.PartitionQuery.", +"id": "PartitionQueryRequest", +"properties": { +"pageSize": { +"description": "The maximum number of partitions to return in this call, subject to `partition_count`. For example, if `partition_count` = 10 and `page_size` = 8, the first call to PartitionQuery will return up to 8 partitions and a `next_page_token` if more results exist. A second call to PartitionQuery will return up to 2 partitions, to complete the total of 10 specified in `partition_count`.", +"format": "int32", +"type": "integer" +}, +"pageToken": { +"description": "The `next_page_token` value returned from a previous call to PartitionQuery that may be used to get an additional set of results. There are no ordering guarantees between sets of results. Thus, using multiple sets of results will require merging the different result sets. For example, two subsequent calls using a page_token may return: * cursor B, cursor M, cursor Q * cursor A, cursor U, cursor W To obtain a complete result set ordered with respect to the results of the query supplied to PartitionQuery, the results sets should be merged: cursor A, cursor B, cursor M, cursor Q, cursor U, cursor W", +"type": "string" +}, +"partitionCount": { +"description": "The desired maximum number of partition points. The partitions may be returned across multiple pages of results. The number must be positive. The actual number of partitions returned may be fewer. For example, this may be set to one fewer than the number of parallel queries to be run, or in running a data pipeline job, one fewer than the number of workers or compute instances available.", +"format": "int64", +"type": "string" +}, +"readTime": { +"description": "Reads documents as they were at the given time. This must be a microsecond precision timestamp within the past one hour, or if Point-in-Time Recovery is enabled, can additionally be a whole minute timestamp within the past 7 days.", +"format": "google-datetime", +"type": "string" +}, +"structuredQuery": { +"$ref": "StructuredQuery", +"description": "A structured query. Query must specify collection with all descendants and be ordered by name ascending. Other filters, order bys, limits, offsets, and start/end cursors are not supported." +} +}, +"type": "object" +}, +"PartitionQueryResponse": { +"description": "The response for Firestore.PartitionQuery.", +"id": "PartitionQueryResponse", +"properties": { +"nextPageToken": { +"description": "A page token that may be used to request an additional set of results, up to the number specified by `partition_count` in the PartitionQuery request. If blank, there are no more results.", +"type": "string" +}, +"partitions": { +"description": "Partition results. Each partition is a split point that can be used by RunQuery as a starting or end point for the query results. The RunQuery requests must be made with the same query supplied to this PartitionQuery request. The partition cursors will be ordered according to same ordering as the results of the query supplied to PartitionQuery. For example, if a PartitionQuery request returns partition cursors A and B, running the following three queries will return the entire result set of the original query: * query, end_at A * query, start_at A, end_at B * query, start_at B An empty result may indicate that the query has too few results to be partitioned, or that the query is not yet supported for partitioning.", +"items": { +"$ref": "Cursor" +}, +"type": "array" +} +}, +"type": "object" +}, +"Pipeline": { +"description": "A Firestore query represented as an ordered list of operations / stages.", +"id": "Pipeline", +"properties": { +"stages": { +"description": "Required. Ordered list of stages to evaluate.", +"items": { +"$ref": "Stage" +}, +"type": "array" +} +}, +"type": "object" +}, +"PlanSummary": { +"description": "Planning phase information for the query.", +"id": "PlanSummary", +"properties": { +"indexesUsed": { +"description": "The indexes selected for the query. For example: [ {\"query_scope\": \"Collection\", \"properties\": \"(foo ASC, __name__ ASC)\"}, {\"query_scope\": \"Collection\", \"properties\": \"(bar ASC, __name__ ASC)\"} ]", +"items": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"type": "object" +}, +"type": "array" +} +}, +"type": "object" +}, +"Precondition": { +"description": "A precondition on a document, used for conditional operations.", +"id": "Precondition", +"properties": { +"exists": { +"description": "When set to `true`, the target document must exist. When set to `false`, the target document must not exist.", +"type": "boolean" +}, +"updateTime": { +"description": "When set, the target document must exist and have been last updated at that time. Timestamp must be microsecond aligned.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"Projection": { +"description": "The projection of document's fields to return.", +"id": "Projection", +"properties": { +"fields": { +"description": "The fields to return. If empty, all fields are returned. To only return the name of the document, use `['__name__']`.", +"items": { +"$ref": "FieldReference" +}, +"type": "array" +} +}, +"type": "object" +}, +"QueryTarget": { +"description": "A target specified by a query.", +"id": "QueryTarget", +"properties": { +"parent": { +"description": "The parent resource name. In the format: `projects/{project_id}/databases/{database_id}/documents` or `projects/{project_id}/databases/{database_id}/documents/{document_path}`. For example: `projects/my-project/databases/my-database/documents` or `projects/my-project/databases/my-database/documents/chatrooms/my-chatroom`", +"type": "string" +}, +"structuredQuery": { +"$ref": "StructuredQuery", +"description": "A structured query." +} +}, +"type": "object" +}, +"ReadOnly": { +"description": "Options for a transaction that can only be used to read documents.", +"id": "ReadOnly", +"properties": { +"readTime": { +"description": "Reads documents at the given time. This must be a microsecond precision timestamp within the past one hour, or if Point-in-Time Recovery is enabled, can additionally be a whole minute timestamp within the past 7 days.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"ReadWrite": { +"description": "Options for a transaction that can be used to read and write documents. Firestore does not allow 3rd party auth requests to create read-write. transactions.", +"id": "ReadWrite", +"properties": { +"retryTransaction": { +"description": "An optional transaction to retry.", +"format": "byte", +"type": "string" +} +}, +"type": "object" +}, +"RollbackRequest": { +"description": "The request for Firestore.Rollback.", +"id": "RollbackRequest", +"properties": { +"transaction": { +"description": "Required. The transaction to roll back.", +"format": "byte", +"type": "string" +} +}, +"type": "object" +}, +"RunAggregationQueryRequest": { +"description": "The request for Firestore.RunAggregationQuery.", +"id": "RunAggregationQueryRequest", +"properties": { +"explainOptions": { +"$ref": "ExplainOptions", +"description": "Optional. Explain options for the query. If set, additional query statistics will be returned. If not, only query results will be returned." +}, +"newTransaction": { +"$ref": "TransactionOptions", +"description": "Starts a new transaction as part of the query, defaulting to read-only. The new transaction ID will be returned as the first response in the stream." +}, +"readTime": { +"description": "Executes the query at the given timestamp. This must be a microsecond precision timestamp within the past one hour, or if Point-in-Time Recovery is enabled, can additionally be a whole minute timestamp within the past 7 days.", +"format": "google-datetime", +"type": "string" +}, +"structuredAggregationQuery": { +"$ref": "StructuredAggregationQuery", +"description": "An aggregation query." +}, +"transaction": { +"description": "Run the aggregation within an already active transaction. The value here is the opaque transaction ID to execute the query in.", +"format": "byte", +"type": "string" +} +}, +"type": "object" +}, +"RunAggregationQueryResponse": { +"description": "The response for Firestore.RunAggregationQuery.", +"id": "RunAggregationQueryResponse", +"properties": { +"explainMetrics": { +"$ref": "ExplainMetrics", +"description": "Query explain metrics. This is only present when the RunAggregationQueryRequest.explain_options is provided, and it is sent only once with the last response in the stream." +}, +"readTime": { +"description": "The time at which the aggregate result was computed. This is always monotonically increasing; in this case, the previous AggregationResult in the result stream are guaranteed not to have changed between their `read_time` and this one. If the query returns no results, a response with `read_time` and no `result` will be sent, and this represents the time at which the query was run.", +"format": "google-datetime", +"type": "string" +}, +"result": { +"$ref": "AggregationResult", +"description": "A single aggregation result. Not present when reporting partial progress." +}, +"transaction": { +"description": "The transaction that was started as part of this request. Only present on the first response when the request requested to start a new transaction.", +"format": "byte", +"type": "string" +} +}, +"type": "object" +}, +"RunQueryRequest": { +"description": "The request for Firestore.RunQuery.", +"id": "RunQueryRequest", +"properties": { +"explainOptions": { +"$ref": "ExplainOptions", +"description": "Optional. Explain options for the query. If set, additional query statistics will be returned. If not, only query results will be returned." +}, +"newTransaction": { +"$ref": "TransactionOptions", +"description": "Starts a new transaction and reads the documents. Defaults to a read-only transaction. The new transaction ID will be returned as the first response in the stream." +}, +"readTime": { +"description": "Reads documents as they were at the given time. This must be a microsecond precision timestamp within the past one hour, or if Point-in-Time Recovery is enabled, can additionally be a whole minute timestamp within the past 7 days.", +"format": "google-datetime", +"type": "string" +}, +"structuredQuery": { +"$ref": "StructuredQuery", +"description": "A structured query." +}, +"transaction": { +"description": "Run the query within an already active transaction. The value here is the opaque transaction ID to execute the query in.", +"format": "byte", +"type": "string" +} +}, +"type": "object" +}, +"RunQueryResponse": { +"description": "The response for Firestore.RunQuery.", +"id": "RunQueryResponse", +"properties": { +"document": { +"$ref": "Document", +"description": "A query result, not set when reporting partial progress." +}, +"done": { +"description": "If present, Firestore has completely finished the request and no more documents will be returned.", +"type": "boolean" +}, +"explainMetrics": { +"$ref": "ExplainMetrics", +"description": "Query explain metrics. This is only present when the RunQueryRequest.explain_options is provided, and it is sent only once with the last response in the stream." +}, +"readTime": { +"description": "The time at which the document was read. This may be monotonically increasing; in this case, the previous documents in the result stream are guaranteed not to have changed between their `read_time` and this one. If the query returns no results, a response with `read_time` and no `document` will be sent, and this represents the time at which the query was run.", +"format": "google-datetime", +"type": "string" +}, +"skippedResults": { +"description": "The number of results that have been skipped due to an offset between the last response and the current response.", +"format": "int32", +"type": "integer" +}, +"transaction": { +"description": "The transaction that was started as part of this request. Can only be set in the first response, and only if RunQueryRequest.new_transaction was set in the request. If set, no other fields will be set in this response.", +"format": "byte", +"type": "string" +} +}, +"type": "object" +}, +"Stage": { +"description": "A single operation within a pipeline. A stage is made up of a unique name, and a list of arguments. The exact number of arguments & types is dependent on the stage type. To give an example, the stage `filter(state = \"MD\")` would be encoded as: ``` name: \"filter\" args { function_value { name: \"eq\" args { field_reference_value: \"state\" } args { string_value: \"MD\" } } } ``` See public documentation for the full list.", +"id": "Stage", +"properties": { +"args": { +"description": "Optional. Ordered list of arguments the given stage expects.", +"items": { +"$ref": "Value" +}, +"type": "array" +}, +"name": { +"description": "Required. The name of the stage to evaluate. **Requires:** * must be in snake case (lower case with underscore separator).", +"type": "string" +}, +"options": { +"additionalProperties": { +"$ref": "Value" +}, +"description": "Optional. Optional named arguments that certain functions may support.", +"type": "object" +} +}, +"type": "object" +}, +"Status": { +"description": "The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors).", +"id": "Status", +"properties": { +"code": { +"description": "The status code, which should be an enum value of google.rpc.Code.", +"format": "int32", +"type": "integer" +}, +"details": { +"description": "A list of messages that carry the error details. There is a common set of message types for APIs to use.", +"items": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.", +"type": "string" +} +}, +"type": "object" +}, +"StructuredAggregationQuery": { +"description": "Firestore query for running an aggregation over a StructuredQuery.", +"id": "StructuredAggregationQuery", +"properties": { +"aggregations": { +"description": "Optional. Series of aggregations to apply over the results of the `structured_query`. Requires: * A minimum of one and maximum of five aggregations per query.", +"items": { +"$ref": "Aggregation" +}, +"type": "array" +}, +"structuredQuery": { +"$ref": "StructuredQuery", +"description": "Nested structured query." +} +}, +"type": "object" +}, +"StructuredPipeline": { +"description": "A Firestore query represented as an ordered list of operations / stages. This is considered the top-level function which plans and executes a query. It is logically equivalent to `query(stages, options)`, but prevents the client from having to build a function wrapper.", +"id": "StructuredPipeline", +"properties": { +"options": { +"additionalProperties": { +"$ref": "Value" +}, +"description": "Optional. Optional query-level arguments. ", +"type": "object" +}, +"pipeline": { +"$ref": "Pipeline", +"description": "Required. The pipeline query to execute." +} +}, +"type": "object" +}, +"StructuredQuery": { +"description": "A Firestore query. The query stages are executed in the following order: 1. from 2. where 3. select 4. order_by + start_at + end_at 5. offset 6. limit 7. find_nearest", +"id": "StructuredQuery", +"properties": { +"endAt": { +"$ref": "Cursor", +"description": "A potential prefix of a position in the result set to end the query at. This is similar to `START_AT` but with it controlling the end position rather than the start position. Requires: * The number of values cannot be greater than the number of fields specified in the `ORDER BY` clause." +}, +"findNearest": { +"$ref": "FindNearest", +"description": "Optional. A potential nearest neighbors search. Applies after all other filters and ordering. Finds the closest vector embeddings to the given query vector." +}, +"from": { +"description": "The collections to query.", +"items": { +"$ref": "CollectionSelector" +}, +"type": "array" +}, +"limit": { +"description": "The maximum number of results to return. Applies after all other constraints. Requires: * The value must be greater than or equal to zero if specified.", +"format": "int32", +"type": "integer" +}, +"offset": { +"description": "The number of documents to skip before returning the first result. This applies after the constraints specified by the `WHERE`, `START AT`, & `END AT` but before the `LIMIT` clause. Requires: * The value must be greater than or equal to zero if specified.", +"format": "int32", +"type": "integer" +}, +"orderBy": { +"description": "The order to apply to the query results. Firestore allows callers to provide a full ordering, a partial ordering, or no ordering at all. In all cases, Firestore guarantees a stable ordering through the following rules: * The `order_by` is required to reference all fields used with an inequality filter. * All fields that are required to be in the `order_by` but are not already present are appended in lexicographical ordering of the field name. * If an order on `__name__` is not specified, it is appended by default. Fields are appended with the same sort direction as the last order specified, or 'ASCENDING' if no order was specified. For example: * `ORDER BY a` becomes `ORDER BY a ASC, __name__ ASC` * `ORDER BY a DESC` becomes `ORDER BY a DESC, __name__ DESC` * `WHERE a > 1` becomes `WHERE a > 1 ORDER BY a ASC, __name__ ASC` * `WHERE __name__ > ... AND a > 1` becomes `WHERE __name__ > ... AND a > 1 ORDER BY a ASC, __name__ ASC`", +"items": { +"$ref": "Order" +}, +"type": "array" +}, +"select": { +"$ref": "Projection", +"description": "Optional sub-set of the fields to return. This acts as a DocumentMask over the documents returned from a query. When not set, assumes that the caller wants all fields returned." +}, +"startAt": { +"$ref": "Cursor", +"description": "A potential prefix of a position in the result set to start the query at. The ordering of the result set is based on the `ORDER BY` clause of the original query. ``` SELECT * FROM k WHERE a = 1 AND b > 2 ORDER BY b ASC, __name__ ASC; ``` This query's results are ordered by `(b ASC, __name__ ASC)`. Cursors can reference either the full ordering or a prefix of the location, though it cannot reference more fields than what are in the provided `ORDER BY`. Continuing off the example above, attaching the following start cursors will have varying impact: - `START BEFORE (2, /k/123)`: start the query right before `a = 1 AND b > 2 AND __name__ > /k/123`. - `START AFTER (10)`: start the query right after `a = 1 AND b > 10`. Unlike `OFFSET` which requires scanning over the first N results to skip, a start cursor allows the query to begin at a logical position. This position is not required to match an actual result, it will scan forward from this position to find the next document. Requires: * The number of values cannot be greater than the number of fields specified in the `ORDER BY` clause." +}, +"where": { +"$ref": "Filter", +"description": "The filter to apply." +} +}, +"type": "object" +}, +"Sum": { +"description": "Sum of the values of the requested field. * Only numeric values will be aggregated. All non-numeric values including `NULL` are skipped. * If the aggregated values contain `NaN`, returns `NaN`. Infinity math follows IEEE-754 standards. * If the aggregated value set is empty, returns 0. * Returns a 64-bit integer if all aggregated numbers are integers and the sum result does not overflow. Otherwise, the result is returned as a double. Note that even if all the aggregated values are integers, the result is returned as a double if it cannot fit within a 64-bit signed integer. When this occurs, the returned value will lose precision. * When underflow occurs, floating-point aggregation is non-deterministic. This means that running the same query repeatedly without any changes to the underlying values could produce slightly different results each time. In those cases, values should be stored as integers over floating-point numbers.", +"id": "Sum", +"properties": { +"field": { +"$ref": "FieldReference", +"description": "The field to aggregate on." +} +}, +"type": "object" +}, +"Target": { +"description": "A specification of a set of documents to listen to.", +"id": "Target", +"properties": { +"documents": { +"$ref": "DocumentsTarget", +"description": "A target specified by a set of document names." +}, +"expectedCount": { +"description": "The number of documents that last matched the query at the resume token or read time. This value is only relevant when a `resume_type` is provided. This value being present and greater than zero signals that the client wants `ExistenceFilter.unchanged_names` to be included in the response.", +"format": "int32", +"type": "integer" +}, +"once": { +"description": "If the target should be removed once it is current and consistent.", +"type": "boolean" +}, +"query": { +"$ref": "QueryTarget", +"description": "A target specified by a query." +}, +"readTime": { +"description": "Start listening after a specific `read_time`. The client must know the state of matching documents at this time.", +"format": "google-datetime", +"type": "string" +}, +"resumeToken": { +"description": "A resume token from a prior TargetChange for an identical target. Using a resume token with a different target is unsupported and may fail.", +"format": "byte", +"type": "string" +}, +"targetId": { +"description": "The target ID that identifies the target on the stream. Must be a positive number and non-zero. If `target_id` is 0 (or unspecified), the server will assign an ID for this target and return that in a `TargetChange::ADD` event. Once a target with `target_id=0` is added, all subsequent targets must also have `target_id=0`. If an `AddTarget` request with `target_id != 0` is sent to the server after a target with `target_id=0` is added, the server will immediately send a response with a `TargetChange::Remove` event. Note that if the client sends multiple `AddTarget` requests without an ID, the order of IDs returned in `TargetChange.target_ids` are undefined. Therefore, clients should provide a target ID instead of relying on the server to assign one. If `target_id` is non-zero, there must not be an existing active target on this stream with the same ID.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"TargetChange": { +"description": "Targets being watched have changed.", +"id": "TargetChange", +"properties": { +"cause": { +"$ref": "Status", +"description": "The error that resulted in this change, if applicable." +}, +"readTime": { +"description": "The consistent `read_time` for the given `target_ids` (omitted when the target_ids are not at a consistent snapshot). The stream is guaranteed to send a `read_time` with `target_ids` empty whenever the entire stream reaches a new consistent snapshot. ADD, CURRENT, and RESET messages are guaranteed to (eventually) result in a new consistent snapshot (while NO_CHANGE and REMOVE messages are not). For a given stream, `read_time` is guaranteed to be monotonically increasing.", +"format": "google-datetime", +"type": "string" +}, +"resumeToken": { +"description": "A token that can be used to resume the stream for the given `target_ids`, or all targets if `target_ids` is empty. Not set on every target change.", +"format": "byte", +"type": "string" +}, +"targetChangeType": { +"description": "The type of change that occurred.", +"enum": [ +"NO_CHANGE", +"ADD", +"REMOVE", +"CURRENT", +"RESET" +], +"enumDescriptions": [ +"No change has occurred. Used only to send an updated `resume_token`.", +"The targets have been added.", +"The targets have been removed.", +"The targets reflect all changes committed before the targets were added to the stream. This will be sent after or with a `read_time` that is greater than or equal to the time at which the targets were added. Listeners can wait for this change if read-after-write semantics are desired.", +"The targets have been reset, and a new initial state for the targets will be returned in subsequent changes. After the initial state is complete, `CURRENT` will be returned even if the target was previously indicated to be `CURRENT`." +], +"type": "string" +}, +"targetIds": { +"description": "The target IDs of targets that have changed. If empty, the change applies to all targets. The order of the target IDs is not defined.", +"items": { +"format": "int32", +"type": "integer" +}, +"type": "array" +} +}, +"type": "object" +}, +"TransactionOptions": { +"description": "Options for creating a new transaction.", +"id": "TransactionOptions", +"properties": { +"readOnly": { +"$ref": "ReadOnly", +"description": "The transaction can only be used for read operations." +}, +"readWrite": { +"$ref": "ReadWrite", +"description": "The transaction can be used for both read and write operations." +} +}, +"type": "object" +}, +"UnaryFilter": { +"description": "A filter with a single operand.", +"id": "UnaryFilter", +"properties": { +"field": { +"$ref": "FieldReference", +"description": "The field to which to apply the operator." +}, +"op": { +"description": "The unary operator to apply.", +"enum": [ +"OPERATOR_UNSPECIFIED", +"IS_NAN", +"IS_NULL", +"IS_NOT_NAN", +"IS_NOT_NULL" +], +"enumDescriptions": [ +"Unspecified. This value must not be used.", +"The given `field` is equal to `NaN`.", +"The given `field` is equal to `NULL`.", +"The given `field` is not equal to `NaN`. Requires: * No other `NOT_EQUAL`, `NOT_IN`, `IS_NOT_NULL`, or `IS_NOT_NAN`. * That `field` comes first in the `order_by`.", +"The given `field` is not equal to `NULL`. Requires: * A single `NOT_EQUAL`, `NOT_IN`, `IS_NOT_NULL`, or `IS_NOT_NAN`. * That `field` comes first in the `order_by`." +], +"type": "string" +} +}, +"type": "object" +}, +"Value": { +"description": "A message that can hold any of the supported value types.", +"id": "Value", +"properties": { +"arrayValue": { +"$ref": "ArrayValue", +"description": "An array value. Cannot directly contain another array value, though can contain a map which contains another array." +}, +"booleanValue": { +"description": "A boolean value.", +"type": "boolean" +}, +"bytesValue": { +"description": "A bytes value. Must not exceed 1 MiB - 89 bytes. Only the first 1,500 bytes are considered by queries.", +"format": "byte", +"type": "string" +}, +"doubleValue": { +"description": "A double value.", +"format": "double", +"type": "number" +}, +"fieldReferenceValue": { +"description": "Value which references a field. This is considered relative (vs absolute) since it only refers to a field and not a field within a particular document. **Requires:** * Must follow field reference limitations. * Not allowed to be used when writing documents.", +"type": "string" +}, +"functionValue": { +"$ref": "Function", +"description": "A value that represents an unevaluated expression. **Requires:** * Not allowed to be used when writing documents." +}, +"geoPointValue": { +"$ref": "LatLng", +"description": "A geo point value representing a point on the surface of Earth." +}, +"integerValue": { +"description": "An integer value.", +"format": "int64", +"type": "string" +}, +"mapValue": { +"$ref": "MapValue", +"description": "A map value." +}, +"nullValue": { +"description": "A null value.", +"enum": [ +"NULL_VALUE" +], +"enumDescriptions": [ +"Null value." +], +"type": "string" +}, +"pipelineValue": { +"$ref": "Pipeline", +"description": "A value that represents an unevaluated pipeline. **Requires:** * Not allowed to be used when writing documents." +}, +"referenceValue": { +"description": "A reference to a document. For example: `projects/{project_id}/databases/{database_id}/documents/{document_path}`.", +"type": "string" +}, +"stringValue": { +"description": "A string value. The string, represented as UTF-8, must not exceed 1 MiB - 89 bytes. Only the first 1,500 bytes of the UTF-8 representation are considered by queries.", +"type": "string" +}, +"timestampValue": { +"description": "A timestamp value. Precise only to microseconds. When stored, any additional precision is rounded down.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"Write": { +"description": "A write on a document.", +"id": "Write", +"properties": { +"currentDocument": { +"$ref": "Precondition", +"description": "An optional precondition on the document. The write will fail if this is set and not met by the target document." +}, +"delete": { +"description": "A document name to delete. In the format: `projects/{project_id}/databases/{database_id}/documents/{document_path}`.", +"type": "string" +}, +"transform": { +"$ref": "DocumentTransform", +"description": "Applies a transformation to a document." +}, +"update": { +"$ref": "Document", +"description": "A document to write." +}, +"updateMask": { +"$ref": "DocumentMask", +"description": "The fields to update in this write. This field can be set only when the operation is `update`. If the mask is not set for an `update` and the document exists, any existing data will be overwritten. If the mask is set and the document on the server has fields not covered by the mask, they are left unchanged. Fields referenced in the mask, but not present in the input document, are deleted from the document on the server. The field paths in this mask must not contain a reserved field name." +}, +"updateTransforms": { +"description": "The transforms to perform after update. This field can be set only when the operation is `update`. If present, this write is equivalent to performing `update` and `transform` to the same document atomically and in order.", +"items": { +"$ref": "FieldTransform" +}, +"type": "array" +} +}, +"type": "object" +}, +"WriteRequest": { +"description": "The request for Firestore.Write. The first request creates a stream, or resumes an existing one from a token. When creating a new stream, the server replies with a response containing only an ID and a token, to use in the next request. When resuming a stream, the server first streams any responses later than the given token, then a response containing only an up-to-date token, to use in the next request.", +"id": "WriteRequest", +"properties": { +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Labels associated with this write request.", +"type": "object" +}, +"streamId": { +"description": "The ID of the write stream to resume. This may only be set in the first message. When left empty, a new write stream will be created.", +"type": "string" +}, +"streamToken": { +"description": "A stream token that was previously sent by the server. The client should set this field to the token from the most recent WriteResponse it has received. This acknowledges that the client has received responses up to this token. After sending this token, earlier tokens may not be used anymore. The server may close the stream if there are too many unacknowledged responses. Leave this field unset when creating a new stream. To resume a stream at a specific point, set this field and the `stream_id` field. Leave this field unset when creating a new stream.", +"format": "byte", +"type": "string" +}, +"writes": { +"description": "The writes to apply. Always executed atomically and in order. This must be empty on the first request. This may be empty on the last request. This must not be empty on all other requests.", +"items": { +"$ref": "Write" +}, +"type": "array" +} +}, +"type": "object" +}, +"WriteResponse": { +"description": "The response for Firestore.Write.", +"id": "WriteResponse", +"properties": { +"commitTime": { +"description": "The time at which the commit occurred. Any read with an equal or greater `read_time` is guaranteed to see the effects of the write.", +"format": "google-datetime", +"type": "string" +}, +"streamId": { +"description": "The ID of the stream. Only set on the first message, when a new stream was created.", +"type": "string" +}, +"streamToken": { +"description": "A token that represents the position of this response in the stream. This can be used by a client to resume the stream at this point. This field is always set.", +"format": "byte", +"type": "string" +}, +"writeResults": { +"description": "The result of applying the writes. This i-th write result corresponds to the i-th write in the request.", +"items": { +"$ref": "WriteResult" +}, +"type": "array" +} +}, +"type": "object" +}, +"WriteResult": { +"description": "The result of applying a write.", +"id": "WriteResult", +"properties": { +"transformResults": { +"description": "The results of applying each DocumentTransform.FieldTransform, in the same order.", +"items": { +"$ref": "Value" +}, +"type": "array" +}, +"updateTime": { +"description": "The last update time of the document after applying the write. Not set after a `delete`. If the write did not actually change the document, this will be the previous update_time.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +} +}, +"servicePath": "", +"title": "Cloud Firestore API", +"version": "v1", +"version_module": true +} \ No newline at end of file diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/firestore.v1beta2.json b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/firestore.v1beta2.json new file mode 100644 index 0000000000000000000000000000000000000000..8cda03e2c35e971e79052e5c14c6c3b7271b4ad2 --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/firestore.v1beta2.json @@ -0,0 +1,1671 @@ +{ +"auth": { +"oauth2": { +"scopes": { +"https://www.googleapis.com/auth/cloud-platform": { +"description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." +}, +"https://www.googleapis.com/auth/datastore": { +"description": "View and manage your Google Cloud Datastore data" +} +} +} +}, +"basePath": "", +"baseUrl": "https://firestore.googleapis.com/", +"batchPath": "batch", +"canonicalName": "Firestore", +"description": "Accesses the NoSQL document database built for automatic scaling, high performance, and ease of application development. ", +"discoveryVersion": "v1", +"documentationLink": "https://cloud.google.com/firestore", +"endpoints": [ +{ +"description": "Regional Endpoint", +"endpointUrl": "https://firestore.africa-south1.rep.googleapis.com/", +"location": "africa-south1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://firestore.asia-east1.rep.googleapis.com/", +"location": "asia-east1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://firestore.asia-east2.rep.googleapis.com/", +"location": "asia-east2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://firestore.asia-northeast1.rep.googleapis.com/", +"location": "asia-northeast1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://firestore.asia-northeast2.rep.googleapis.com/", +"location": "asia-northeast2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://firestore.asia-northeast3.rep.googleapis.com/", +"location": "asia-northeast3" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://firestore.asia-south1.rep.googleapis.com/", +"location": "asia-south1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://firestore.asia-south2.rep.googleapis.com/", +"location": "asia-south2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://firestore.asia-southeast1.rep.googleapis.com/", +"location": "asia-southeast1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://firestore.asia-southeast2.rep.googleapis.com/", +"location": "asia-southeast2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://firestore.asia-southeast3.rep.googleapis.com/", +"location": "asia-southeast3" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://firestore.australia-southeast1.rep.googleapis.com/", +"location": "australia-southeast1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://firestore.australia-southeast2.rep.googleapis.com/", +"location": "australia-southeast2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://firestore.europe-central2.rep.googleapis.com/", +"location": "europe-central2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://firestore.europe-north1.rep.googleapis.com/", +"location": "europe-north1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://firestore.europe-north2.rep.googleapis.com/", +"location": "europe-north2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://firestore.europe-southwest1.rep.googleapis.com/", +"location": "europe-southwest1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://firestore.europe-west1.rep.googleapis.com/", +"location": "europe-west1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://firestore.europe-west10.rep.googleapis.com/", +"location": "europe-west10" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://firestore.europe-west12.rep.googleapis.com/", +"location": "europe-west12" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://firestore.europe-west15.rep.googleapis.com/", +"location": "europe-west15" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://firestore.europe-west2.rep.googleapis.com/", +"location": "europe-west2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://firestore.europe-west3.rep.googleapis.com/", +"location": "europe-west3" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://firestore.europe-west4.rep.googleapis.com/", +"location": "europe-west4" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://firestore.europe-west6.rep.googleapis.com/", +"location": "europe-west6" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://firestore.europe-west8.rep.googleapis.com/", +"location": "europe-west8" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://firestore.europe-west9.rep.googleapis.com/", +"location": "europe-west9" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://firestore.me-central1.rep.googleapis.com/", +"location": "me-central1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://firestore.me-central2.rep.googleapis.com/", +"location": "me-central2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://firestore.me-west1.rep.googleapis.com/", +"location": "me-west1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://firestore.northamerica-northeast1.rep.googleapis.com/", +"location": "northamerica-northeast1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://firestore.northamerica-northeast2.rep.googleapis.com/", +"location": "northamerica-northeast2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://firestore.northamerica-south1.rep.googleapis.com/", +"location": "northamerica-south1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://firestore.southamerica-east1.rep.googleapis.com/", +"location": "southamerica-east1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://firestore.southamerica-west1.rep.googleapis.com/", +"location": "southamerica-west1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://firestore.us-central1.rep.googleapis.com/", +"location": "us-central1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://firestore.us-east1.rep.googleapis.com/", +"location": "us-east1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://firestore.us-east4.rep.googleapis.com/", +"location": "us-east4" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://firestore.us-east5.rep.googleapis.com/", +"location": "us-east5" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://firestore.us-south1.rep.googleapis.com/", +"location": "us-south1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://firestore.us-west1.rep.googleapis.com/", +"location": "us-west1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://firestore.us-west2.rep.googleapis.com/", +"location": "us-west2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://firestore.us-west3.rep.googleapis.com/", +"location": "us-west3" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://firestore.us-west4.rep.googleapis.com/", +"location": "us-west4" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://batch-firestore.africa-south1.rep.googleapis.com/", +"location": "africa-south1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://batch-firestore.asia-east1.rep.googleapis.com/", +"location": "asia-east1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://batch-firestore.asia-east2.rep.googleapis.com/", +"location": "asia-east2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://batch-firestore.asia-northeast1.rep.googleapis.com/", +"location": "asia-northeast1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://batch-firestore.asia-northeast2.rep.googleapis.com/", +"location": "asia-northeast2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://batch-firestore.asia-northeast3.rep.googleapis.com/", +"location": "asia-northeast3" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://batch-firestore.asia-south1.rep.googleapis.com/", +"location": "asia-south1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://batch-firestore.asia-south2.rep.googleapis.com/", +"location": "asia-south2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://batch-firestore.asia-southeast1.rep.googleapis.com/", +"location": "asia-southeast1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://batch-firestore.asia-southeast2.rep.googleapis.com/", +"location": "asia-southeast2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://batch-firestore.asia-southeast3.rep.googleapis.com/", +"location": "asia-southeast3" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://batch-firestore.australia-southeast1.rep.googleapis.com/", +"location": "australia-southeast1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://batch-firestore.australia-southeast2.rep.googleapis.com/", +"location": "australia-southeast2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://batch-firestore.europe-central2.rep.googleapis.com/", +"location": "europe-central2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://batch-firestore.europe-north1.rep.googleapis.com/", +"location": "europe-north1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://batch-firestore.europe-north2.rep.googleapis.com/", +"location": "europe-north2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://batch-firestore.europe-southwest1.rep.googleapis.com/", +"location": "europe-southwest1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://batch-firestore.europe-west1.rep.googleapis.com/", +"location": "europe-west1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://batch-firestore.europe-west10.rep.googleapis.com/", +"location": "europe-west10" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://batch-firestore.europe-west12.rep.googleapis.com/", +"location": "europe-west12" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://batch-firestore.europe-west15.rep.googleapis.com/", +"location": "europe-west15" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://batch-firestore.europe-west2.rep.googleapis.com/", +"location": "europe-west2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://batch-firestore.europe-west3.rep.googleapis.com/", +"location": "europe-west3" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://batch-firestore.europe-west4.rep.googleapis.com/", +"location": "europe-west4" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://batch-firestore.europe-west6.rep.googleapis.com/", +"location": "europe-west6" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://batch-firestore.europe-west8.rep.googleapis.com/", +"location": "europe-west8" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://batch-firestore.europe-west9.rep.googleapis.com/", +"location": "europe-west9" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://batch-firestore.me-central1.rep.googleapis.com/", +"location": "me-central1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://batch-firestore.me-central2.rep.googleapis.com/", +"location": "me-central2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://batch-firestore.me-west1.rep.googleapis.com/", +"location": "me-west1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://batch-firestore.northamerica-northeast1.rep.googleapis.com/", +"location": "northamerica-northeast1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://batch-firestore.northamerica-northeast2.rep.googleapis.com/", +"location": "northamerica-northeast2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://batch-firestore.northamerica-south1.rep.googleapis.com/", +"location": "northamerica-south1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://batch-firestore.southamerica-east1.rep.googleapis.com/", +"location": "southamerica-east1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://batch-firestore.southamerica-west1.rep.googleapis.com/", +"location": "southamerica-west1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://batch-firestore.us-central1.rep.googleapis.com/", +"location": "us-central1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://batch-firestore.us-east1.rep.googleapis.com/", +"location": "us-east1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://batch-firestore.us-east4.rep.googleapis.com/", +"location": "us-east4" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://batch-firestore.us-east5.rep.googleapis.com/", +"location": "us-east5" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://batch-firestore.us-south1.rep.googleapis.com/", +"location": "us-south1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://batch-firestore.us-west1.rep.googleapis.com/", +"location": "us-west1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://batch-firestore.us-west2.rep.googleapis.com/", +"location": "us-west2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://batch-firestore.us-west3.rep.googleapis.com/", +"location": "us-west3" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://batch-firestore.us-west4.rep.googleapis.com/", +"location": "us-west4" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://firestore.eu.rep.googleapis.com/", +"location": "eu" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://firestore.us.rep.googleapis.com/", +"location": "us" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://batch-firestore.eu.rep.googleapis.com/", +"location": "eu" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://batch-firestore.us.rep.googleapis.com/", +"location": "us" +} +], +"fullyEncodeReservedExpansion": true, +"icons": { +"x16": "http://www.google.com/images/icons/product/search-16.gif", +"x32": "http://www.google.com/images/icons/product/search-32.gif" +}, +"id": "firestore:v1beta2", +"kind": "discovery#restDescription", +"mtlsRootUrl": "https://firestore.mtls.googleapis.com/", +"name": "firestore", +"ownerDomain": "google.com", +"ownerName": "Google", +"parameters": { +"$.xgafv": { +"description": "V1 error format.", +"enum": [ +"1", +"2" +], +"enumDescriptions": [ +"v1 error format", +"v2 error format" +], +"location": "query", +"type": "string" +}, +"access_token": { +"description": "OAuth access token.", +"location": "query", +"type": "string" +}, +"alt": { +"default": "json", +"description": "Data format for response.", +"enum": [ +"json", +"media", +"proto" +], +"enumDescriptions": [ +"Responses with Content-Type of application/json", +"Media download with context-dependent Content-Type", +"Responses with Content-Type of application/x-protobuf" +], +"location": "query", +"type": "string" +}, +"callback": { +"description": "JSONP", +"location": "query", +"type": "string" +}, +"fields": { +"description": "Selector specifying which fields to include in a partial response.", +"location": "query", +"type": "string" +}, +"key": { +"description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", +"location": "query", +"type": "string" +}, +"oauth_token": { +"description": "OAuth 2.0 token for the current user.", +"location": "query", +"type": "string" +}, +"prettyPrint": { +"default": "true", +"description": "Returns response with indentations and line breaks.", +"location": "query", +"type": "boolean" +}, +"quotaUser": { +"description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.", +"location": "query", +"type": "string" +}, +"uploadType": { +"description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", +"location": "query", +"type": "string" +}, +"upload_protocol": { +"description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", +"location": "query", +"type": "string" +} +}, +"protocol": "rest", +"resources": { +"projects": { +"resources": { +"databases": { +"methods": { +"exportDocuments": { +"description": "Exports a copy of all or a subset of documents from Google Cloud Firestore to another storage system, such as Google Cloud Storage. Recent updates to documents may not be reflected in the export. The export occurs in the background and its progress can be monitored and managed via the Operation resource that is created. The output of an export may only be used once the associated operation is done. If an export operation is cancelled before completion it may leave partial data behind in Google Cloud Storage.", +"flatPath": "v1beta2/projects/{projectsId}/databases/{databasesId}:exportDocuments", +"httpMethod": "POST", +"id": "firestore.projects.databases.exportDocuments", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Database to export. Should be of the form: `projects/{project_id}/databases/{database_id}`.", +"location": "path", +"pattern": "^projects/[^/]+/databases/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta2/{+name}:exportDocuments", +"request": { +"$ref": "GoogleFirestoreAdminV1beta2ExportDocumentsRequest" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/datastore" +] +}, +"importDocuments": { +"description": "Imports documents into Google Cloud Firestore. Existing documents with the same name are overwritten. The import occurs in the background and its progress can be monitored and managed via the Operation resource that is created. If an ImportDocuments operation is cancelled, it is possible that a subset of the data has already been imported to Cloud Firestore.", +"flatPath": "v1beta2/projects/{projectsId}/databases/{databasesId}:importDocuments", +"httpMethod": "POST", +"id": "firestore.projects.databases.importDocuments", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Database to import into. Should be of the form: `projects/{project_id}/databases/{database_id}`.", +"location": "path", +"pattern": "^projects/[^/]+/databases/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta2/{+name}:importDocuments", +"request": { +"$ref": "GoogleFirestoreAdminV1beta2ImportDocumentsRequest" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/datastore" +] +} +}, +"resources": { +"collectionGroups": { +"resources": { +"fields": { +"methods": { +"get": { +"description": "Gets the metadata and configuration for a Field.", +"flatPath": "v1beta2/projects/{projectsId}/databases/{databasesId}/collectionGroups/{collectionGroupsId}/fields/{fieldsId}", +"httpMethod": "GET", +"id": "firestore.projects.databases.collectionGroups.fields.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "A name of the form `projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}/fields/{field_id}`", +"location": "path", +"pattern": "^projects/[^/]+/databases/[^/]+/collectionGroups/[^/]+/fields/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta2/{+name}", +"response": { +"$ref": "GoogleFirestoreAdminV1beta2Field" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/datastore" +] +}, +"list": { +"description": "Lists the field configuration and metadata for this database. Currently, FirestoreAdmin.ListFields only supports listing fields that have been explicitly overridden. To issue this query, call FirestoreAdmin.ListFields with the filter set to `indexConfig.usesAncestorConfig:false`.", +"flatPath": "v1beta2/projects/{projectsId}/databases/{databasesId}/collectionGroups/{collectionGroupsId}/fields", +"httpMethod": "GET", +"id": "firestore.projects.databases.collectionGroups.fields.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "The filter to apply to list results. Currently, FirestoreAdmin.ListFields only supports listing fields that have been explicitly overridden. To issue this query, call FirestoreAdmin.ListFields with the filter set to `indexConfig.usesAncestorConfig:false`.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "The number of results to return.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A page token, returned from a previous call to FirestoreAdmin.ListFields, that may be used to get the next page of results.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "A parent name of the form `projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}`", +"location": "path", +"pattern": "^projects/[^/]+/databases/[^/]+/collectionGroups/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta2/{+parent}/fields", +"response": { +"$ref": "GoogleFirestoreAdminV1beta2ListFieldsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/datastore" +] +}, +"patch": { +"description": "Updates a field configuration. Currently, field updates apply only to single field index configuration. However, calls to FirestoreAdmin.UpdateField should provide a field mask to avoid changing any configuration that the caller isn't aware of. The field mask should be specified as: `{ paths: \"index_config\" }`. This call returns a google.longrunning.Operation which may be used to track the status of the field update. The metadata for the operation will be the type FieldOperationMetadata. To configure the default field settings for the database, use the special `Field` with resource name: `projects/{project_id}/databases/{database_id}/collectionGroups/__default__/fields/*`.", +"flatPath": "v1beta2/projects/{projectsId}/databases/{databasesId}/collectionGroups/{collectionGroupsId}/fields/{fieldsId}", +"httpMethod": "PATCH", +"id": "firestore.projects.databases.collectionGroups.fields.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "A field name of the form `projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}/fields/{field_path}` A field path may be a simple field name, e.g. `address` or a path to fields within map_value , e.g. `address.city`, or a special field path. The only valid special field is `*`, which represents any field. Field paths may be quoted using ` (backtick). The only character that needs to be escaped within a quoted field path is the backtick character itself, escaped using a backslash. Special characters in field paths that must be quoted include: `*`, `.`, ``` (backtick), `[`, `]`, as well as any ascii symbolic characters. Examples: (Note: Comments here are written in markdown syntax, so there is an additional layer of backticks to represent a code block) `\\`address.city\\`` represents a field named `address.city`, not the map key `city` in the field `address`. `\\`*\\`` represents a field named `*`, not any field. A special `Field` contains the default indexing settings for all fields. This field's resource name is: `projects/{project_id}/databases/{database_id}/collectionGroups/__default__/fields/*` Indexes defined on this `Field` will be applied to all fields which do not have their own `Field` index configuration.", +"location": "path", +"pattern": "^projects/[^/]+/databases/[^/]+/collectionGroups/[^/]+/fields/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "A mask, relative to the field. If specified, only configuration specified by this field_mask will be updated in the field.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1beta2/{+name}", +"request": { +"$ref": "GoogleFirestoreAdminV1beta2Field" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/datastore" +] +} +} +}, +"indexes": { +"methods": { +"create": { +"description": "Creates a composite index. This returns a google.longrunning.Operation which may be used to track the status of the creation. The metadata for the operation will be the type IndexOperationMetadata.", +"flatPath": "v1beta2/projects/{projectsId}/databases/{databasesId}/collectionGroups/{collectionGroupsId}/indexes", +"httpMethod": "POST", +"id": "firestore.projects.databases.collectionGroups.indexes.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "A parent name of the form `projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}`", +"location": "path", +"pattern": "^projects/[^/]+/databases/[^/]+/collectionGroups/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta2/{+parent}/indexes", +"request": { +"$ref": "GoogleFirestoreAdminV1beta2Index" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/datastore" +] +}, +"delete": { +"description": "Deletes a composite index.", +"flatPath": "v1beta2/projects/{projectsId}/databases/{databasesId}/collectionGroups/{collectionGroupsId}/indexes/{indexesId}", +"httpMethod": "DELETE", +"id": "firestore.projects.databases.collectionGroups.indexes.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "A name of the form `projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}/indexes/{index_id}`", +"location": "path", +"pattern": "^projects/[^/]+/databases/[^/]+/collectionGroups/[^/]+/indexes/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta2/{+name}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/datastore" +] +}, +"get": { +"description": "Gets a composite index.", +"flatPath": "v1beta2/projects/{projectsId}/databases/{databasesId}/collectionGroups/{collectionGroupsId}/indexes/{indexesId}", +"httpMethod": "GET", +"id": "firestore.projects.databases.collectionGroups.indexes.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "A name of the form `projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}/indexes/{index_id}`", +"location": "path", +"pattern": "^projects/[^/]+/databases/[^/]+/collectionGroups/[^/]+/indexes/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta2/{+name}", +"response": { +"$ref": "GoogleFirestoreAdminV1beta2Index" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/datastore" +] +}, +"list": { +"description": "Lists composite indexes.", +"flatPath": "v1beta2/projects/{projectsId}/databases/{databasesId}/collectionGroups/{collectionGroupsId}/indexes", +"httpMethod": "GET", +"id": "firestore.projects.databases.collectionGroups.indexes.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "The filter to apply to list results.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "The number of results to return.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A page token, returned from a previous call to FirestoreAdmin.ListIndexes, that may be used to get the next page of results.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "A parent name of the form `projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}`", +"location": "path", +"pattern": "^projects/[^/]+/databases/[^/]+/collectionGroups/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta2/{+parent}/indexes", +"response": { +"$ref": "GoogleFirestoreAdminV1beta2ListIndexesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/datastore" +] +} +} +} +} +} +} +} +} +} +}, +"revision": "20260130", +"rootUrl": "https://firestore.googleapis.com/", +"schemas": { +"Empty": { +"description": "A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }", +"id": "Empty", +"properties": {}, +"type": "object" +}, +"GoogleFirestoreAdminV1BulkDeleteDocumentsMetadata": { +"description": "Metadata for google.longrunning.Operation results from FirestoreAdmin.BulkDeleteDocuments.", +"id": "GoogleFirestoreAdminV1BulkDeleteDocumentsMetadata", +"properties": { +"collectionIds": { +"description": "The IDs of the collection groups that are being deleted.", +"items": { +"type": "string" +}, +"type": "array" +}, +"endTime": { +"description": "The time this operation completed. Will be unset if operation still in progress.", +"format": "google-datetime", +"type": "string" +}, +"namespaceIds": { +"description": "Which namespace IDs are being deleted.", +"items": { +"type": "string" +}, +"type": "array" +}, +"operationState": { +"description": "The state of the operation.", +"enum": [ +"OPERATION_STATE_UNSPECIFIED", +"INITIALIZING", +"PROCESSING", +"CANCELLING", +"FINALIZING", +"SUCCESSFUL", +"FAILED", +"CANCELLED" +], +"enumDescriptions": [ +"Unspecified.", +"Request is being prepared for processing.", +"Request is actively being processed.", +"Request is in the process of being cancelled after user called google.longrunning.Operations.CancelOperation on the operation.", +"Request has been processed and is in its finalization stage.", +"Request has completed successfully.", +"Request has finished being processed, but encountered an error.", +"Request has finished being cancelled after user called google.longrunning.Operations.CancelOperation." +], +"type": "string" +}, +"progressBytes": { +"$ref": "GoogleFirestoreAdminV1Progress", +"description": "The progress, in bytes, of this operation." +}, +"progressDocuments": { +"$ref": "GoogleFirestoreAdminV1Progress", +"description": "The progress, in documents, of this operation." +}, +"snapshotTime": { +"description": "The timestamp that corresponds to the version of the database that is being read to get the list of documents to delete. This time can also be used as the timestamp of PITR in case of disaster recovery (subject to PITR window limit).", +"format": "google-datetime", +"type": "string" +}, +"startTime": { +"description": "The time this operation started.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"GoogleFirestoreAdminV1CloneDatabaseMetadata": { +"description": "Metadata for the long-running operation from the CloneDatabase request.", +"id": "GoogleFirestoreAdminV1CloneDatabaseMetadata", +"properties": { +"database": { +"description": "The name of the database being cloned to.", +"type": "string" +}, +"endTime": { +"description": "The time the clone finished, unset for ongoing clones.", +"format": "google-datetime", +"type": "string" +}, +"operationState": { +"description": "The operation state of the clone.", +"enum": [ +"OPERATION_STATE_UNSPECIFIED", +"INITIALIZING", +"PROCESSING", +"CANCELLING", +"FINALIZING", +"SUCCESSFUL", +"FAILED", +"CANCELLED" +], +"enumDescriptions": [ +"Unspecified.", +"Request is being prepared for processing.", +"Request is actively being processed.", +"Request is in the process of being cancelled after user called google.longrunning.Operations.CancelOperation on the operation.", +"Request has been processed and is in its finalization stage.", +"Request has completed successfully.", +"Request has finished being processed, but encountered an error.", +"Request has finished being cancelled after user called google.longrunning.Operations.CancelOperation." +], +"type": "string" +}, +"pitrSnapshot": { +"$ref": "GoogleFirestoreAdminV1PitrSnapshot", +"description": "The snapshot from which this database was cloned." +}, +"progressPercentage": { +"$ref": "GoogleFirestoreAdminV1Progress", +"description": "How far along the clone is as an estimated percentage of remaining time." +}, +"startTime": { +"description": "The time the clone was started.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"GoogleFirestoreAdminV1CreateDatabaseMetadata": { +"description": "Metadata related to the create database operation.", +"id": "GoogleFirestoreAdminV1CreateDatabaseMetadata", +"properties": {}, +"type": "object" +}, +"GoogleFirestoreAdminV1DeleteDatabaseMetadata": { +"description": "Metadata related to the delete database operation.", +"id": "GoogleFirestoreAdminV1DeleteDatabaseMetadata", +"properties": {}, +"type": "object" +}, +"GoogleFirestoreAdminV1PitrSnapshot": { +"description": "A consistent snapshot of a database at a specific point in time. A PITR (Point-in-time recovery) snapshot with previous versions of a database's data is available for every minute up to the associated database's data retention period. If the PITR feature is enabled, the retention period is 7 days; otherwise, it is one hour.", +"id": "GoogleFirestoreAdminV1PitrSnapshot", +"properties": { +"database": { +"description": "Required. The name of the database that this was a snapshot of. Format: `projects/{project}/databases/{database}`.", +"type": "string" +}, +"databaseUid": { +"description": "Output only. Public UUID of the database the snapshot was associated with.", +"format": "byte", +"readOnly": true, +"type": "string" +}, +"snapshotTime": { +"description": "Required. Snapshot time of the database.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"GoogleFirestoreAdminV1Progress": { +"description": "Describes the progress of the operation. Unit of work is generic and must be interpreted based on where Progress is used.", +"id": "GoogleFirestoreAdminV1Progress", +"properties": { +"completedWork": { +"description": "The amount of work completed.", +"format": "int64", +"type": "string" +}, +"estimatedWork": { +"description": "The amount of work estimated.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"GoogleFirestoreAdminV1RestoreDatabaseMetadata": { +"description": "Metadata for the long-running operation from the RestoreDatabase request.", +"id": "GoogleFirestoreAdminV1RestoreDatabaseMetadata", +"properties": { +"backup": { +"description": "The name of the backup restoring from.", +"type": "string" +}, +"database": { +"description": "The name of the database being restored to.", +"type": "string" +}, +"endTime": { +"description": "The time the restore finished, unset for ongoing restores.", +"format": "google-datetime", +"type": "string" +}, +"operationState": { +"description": "The operation state of the restore.", +"enum": [ +"OPERATION_STATE_UNSPECIFIED", +"INITIALIZING", +"PROCESSING", +"CANCELLING", +"FINALIZING", +"SUCCESSFUL", +"FAILED", +"CANCELLED" +], +"enumDescriptions": [ +"Unspecified.", +"Request is being prepared for processing.", +"Request is actively being processed.", +"Request is in the process of being cancelled after user called google.longrunning.Operations.CancelOperation on the operation.", +"Request has been processed and is in its finalization stage.", +"Request has completed successfully.", +"Request has finished being processed, but encountered an error.", +"Request has finished being cancelled after user called google.longrunning.Operations.CancelOperation." +], +"type": "string" +}, +"progressPercentage": { +"$ref": "GoogleFirestoreAdminV1Progress", +"description": "How far along the restore is as an estimated percentage of remaining time." +}, +"startTime": { +"description": "The time the restore was started.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"GoogleFirestoreAdminV1UpdateDatabaseMetadata": { +"description": "Metadata related to the update database operation.", +"id": "GoogleFirestoreAdminV1UpdateDatabaseMetadata", +"properties": {}, +"type": "object" +}, +"GoogleFirestoreAdminV1beta2ExportDocumentsMetadata": { +"description": "Metadata for google.longrunning.Operation results from FirestoreAdmin.ExportDocuments.", +"id": "GoogleFirestoreAdminV1beta2ExportDocumentsMetadata", +"properties": { +"collectionIds": { +"description": "Which collection ids are being exported.", +"items": { +"type": "string" +}, +"type": "array" +}, +"endTime": { +"description": "The time this operation completed. Will be unset if operation still in progress.", +"format": "google-datetime", +"type": "string" +}, +"operationState": { +"description": "The state of the export operation.", +"enum": [ +"OPERATION_STATE_UNSPECIFIED", +"INITIALIZING", +"PROCESSING", +"CANCELLING", +"FINALIZING", +"SUCCESSFUL", +"FAILED", +"CANCELLED" +], +"enumDescriptions": [ +"Unspecified.", +"Request is being prepared for processing.", +"Request is actively being processed.", +"Request is in the process of being cancelled after user called google.longrunning.Operations.CancelOperation on the operation.", +"Request has been processed and is in its finalization stage.", +"Request has completed successfully.", +"Request has finished being processed, but encountered an error.", +"Request has finished being cancelled after user called google.longrunning.Operations.CancelOperation." +], +"type": "string" +}, +"outputUriPrefix": { +"description": "Where the entities are being exported to.", +"type": "string" +}, +"progressBytes": { +"$ref": "GoogleFirestoreAdminV1beta2Progress", +"description": "The progress, in bytes, of this operation." +}, +"progressDocuments": { +"$ref": "GoogleFirestoreAdminV1beta2Progress", +"description": "The progress, in documents, of this operation." +}, +"startTime": { +"description": "The time this operation started.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"GoogleFirestoreAdminV1beta2ExportDocumentsRequest": { +"description": "The request for FirestoreAdmin.ExportDocuments.", +"id": "GoogleFirestoreAdminV1beta2ExportDocumentsRequest", +"properties": { +"collectionIds": { +"description": "Which collection ids to export. Unspecified means all collections.", +"items": { +"type": "string" +}, +"type": "array" +}, +"outputUriPrefix": { +"description": "The output URI. Currently only supports Google Cloud Storage URIs of the form: `gs://BUCKET_NAME[/NAMESPACE_PATH]`, where `BUCKET_NAME` is the name of the Google Cloud Storage bucket and `NAMESPACE_PATH` is an optional Google Cloud Storage namespace path. When choosing a name, be sure to consider Google Cloud Storage naming guidelines: https://cloud.google.com/storage/docs/naming. If the URI is a bucket (without a namespace path), a prefix will be generated based on the start time.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleFirestoreAdminV1beta2ExportDocumentsResponse": { +"description": "Returned in the google.longrunning.Operation response field.", +"id": "GoogleFirestoreAdminV1beta2ExportDocumentsResponse", +"properties": { +"outputUriPrefix": { +"description": "Location of the output files. This can be used to begin an import into Cloud Firestore (this project or another project) after the operation completes successfully.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleFirestoreAdminV1beta2Field": { +"description": "Represents a single field in the database. Fields are grouped by their \"Collection Group\", which represent all collections in the database with the same id.", +"id": "GoogleFirestoreAdminV1beta2Field", +"properties": { +"indexConfig": { +"$ref": "GoogleFirestoreAdminV1beta2IndexConfig", +"description": "The index configuration for this field. If unset, field indexing will revert to the configuration defined by the `ancestor_field`. To explicitly remove all indexes for this field, specify an index config with an empty list of indexes." +}, +"name": { +"description": "A field name of the form `projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}/fields/{field_path}` A field path may be a simple field name, e.g. `address` or a path to fields within map_value , e.g. `address.city`, or a special field path. The only valid special field is `*`, which represents any field. Field paths may be quoted using ` (backtick). The only character that needs to be escaped within a quoted field path is the backtick character itself, escaped using a backslash. Special characters in field paths that must be quoted include: `*`, `.`, ``` (backtick), `[`, `]`, as well as any ascii symbolic characters. Examples: (Note: Comments here are written in markdown syntax, so there is an additional layer of backticks to represent a code block) `\\`address.city\\`` represents a field named `address.city`, not the map key `city` in the field `address`. `\\`*\\`` represents a field named `*`, not any field. A special `Field` contains the default indexing settings for all fields. This field's resource name is: `projects/{project_id}/databases/{database_id}/collectionGroups/__default__/fields/*` Indexes defined on this `Field` will be applied to all fields which do not have their own `Field` index configuration.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleFirestoreAdminV1beta2FieldOperationMetadata": { +"description": "Metadata for google.longrunning.Operation results from FirestoreAdmin.UpdateField.", +"id": "GoogleFirestoreAdminV1beta2FieldOperationMetadata", +"properties": { +"bytesProgress": { +"$ref": "GoogleFirestoreAdminV1beta2Progress", +"description": "The progress, in bytes, of this operation." +}, +"documentProgress": { +"$ref": "GoogleFirestoreAdminV1beta2Progress", +"description": "The progress, in documents, of this operation." +}, +"endTime": { +"description": "The time this operation completed. Will be unset if operation still in progress.", +"format": "google-datetime", +"type": "string" +}, +"field": { +"description": "The field resource that this operation is acting on. For example: `projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}/fields/{field_path}`", +"type": "string" +}, +"indexConfigDeltas": { +"description": "A list of IndexConfigDelta, which describe the intent of this operation.", +"items": { +"$ref": "GoogleFirestoreAdminV1beta2IndexConfigDelta" +}, +"type": "array" +}, +"startTime": { +"description": "The time this operation started.", +"format": "google-datetime", +"type": "string" +}, +"state": { +"description": "The state of the operation.", +"enum": [ +"OPERATION_STATE_UNSPECIFIED", +"INITIALIZING", +"PROCESSING", +"CANCELLING", +"FINALIZING", +"SUCCESSFUL", +"FAILED", +"CANCELLED" +], +"enumDescriptions": [ +"Unspecified.", +"Request is being prepared for processing.", +"Request is actively being processed.", +"Request is in the process of being cancelled after user called google.longrunning.Operations.CancelOperation on the operation.", +"Request has been processed and is in its finalization stage.", +"Request has completed successfully.", +"Request has finished being processed, but encountered an error.", +"Request has finished being cancelled after user called google.longrunning.Operations.CancelOperation." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleFirestoreAdminV1beta2ImportDocumentsMetadata": { +"description": "Metadata for google.longrunning.Operation results from FirestoreAdmin.ImportDocuments.", +"id": "GoogleFirestoreAdminV1beta2ImportDocumentsMetadata", +"properties": { +"collectionIds": { +"description": "Which collection ids are being imported.", +"items": { +"type": "string" +}, +"type": "array" +}, +"endTime": { +"description": "The time this operation completed. Will be unset if operation still in progress.", +"format": "google-datetime", +"type": "string" +}, +"inputUriPrefix": { +"description": "The location of the documents being imported.", +"type": "string" +}, +"operationState": { +"description": "The state of the import operation.", +"enum": [ +"OPERATION_STATE_UNSPECIFIED", +"INITIALIZING", +"PROCESSING", +"CANCELLING", +"FINALIZING", +"SUCCESSFUL", +"FAILED", +"CANCELLED" +], +"enumDescriptions": [ +"Unspecified.", +"Request is being prepared for processing.", +"Request is actively being processed.", +"Request is in the process of being cancelled after user called google.longrunning.Operations.CancelOperation on the operation.", +"Request has been processed and is in its finalization stage.", +"Request has completed successfully.", +"Request has finished being processed, but encountered an error.", +"Request has finished being cancelled after user called google.longrunning.Operations.CancelOperation." +], +"type": "string" +}, +"progressBytes": { +"$ref": "GoogleFirestoreAdminV1beta2Progress", +"description": "The progress, in bytes, of this operation." +}, +"progressDocuments": { +"$ref": "GoogleFirestoreAdminV1beta2Progress", +"description": "The progress, in documents, of this operation." +}, +"startTime": { +"description": "The time this operation started.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"GoogleFirestoreAdminV1beta2ImportDocumentsRequest": { +"description": "The request for FirestoreAdmin.ImportDocuments.", +"id": "GoogleFirestoreAdminV1beta2ImportDocumentsRequest", +"properties": { +"collectionIds": { +"description": "Which collection ids to import. Unspecified means all collections included in the import.", +"items": { +"type": "string" +}, +"type": "array" +}, +"inputUriPrefix": { +"description": "Location of the exported files. This must match the output_uri_prefix of an ExportDocumentsResponse from an export that has completed successfully. See: google.firestore.admin.v1beta2.ExportDocumentsResponse.output_uri_prefix.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleFirestoreAdminV1beta2Index": { +"description": "Cloud Firestore indexes enable simple and complex queries against documents in a database.", +"id": "GoogleFirestoreAdminV1beta2Index", +"properties": { +"fields": { +"description": "The fields supported by this index. For composite indexes, this is always 2 or more fields. The last field entry is always for the field path `__name__`. If, on creation, `__name__` was not specified as the last field, it will be added automatically with the same direction as that of the last field defined. If the final field in a composite index is not directional, the `__name__` will be ordered ASCENDING (unless explicitly specified). For single field indexes, this will always be exactly one entry with a field path equal to the field path of the associated field.", +"items": { +"$ref": "GoogleFirestoreAdminV1beta2IndexField" +}, +"type": "array" +}, +"name": { +"description": "Output only. A server defined name for this index. The form of this name for composite indexes will be: `projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}/indexes/{composite_index_id}` For single field indexes, this field will be empty.", +"type": "string" +}, +"queryScope": { +"description": "Indexes with a collection query scope specified allow queries against a collection that is the child of a specific document, specified at query time, and that has the same collection id. Indexes with a collection group query scope specified allow queries against all collections descended from a specific document, specified at query time, and that have the same collection id as this index.", +"enum": [ +"QUERY_SCOPE_UNSPECIFIED", +"COLLECTION", +"COLLECTION_GROUP" +], +"enumDescriptions": [ +"The query scope is unspecified. Not a valid option.", +"Indexes with a collection query scope specified allow queries against a collection that is the child of a specific document, specified at query time, and that has the collection id specified by the index.", +"Indexes with a collection group query scope specified allow queries against all collections that has the collection id specified by the index." +], +"type": "string" +}, +"state": { +"description": "Output only. The serving state of the index.", +"enum": [ +"STATE_UNSPECIFIED", +"CREATING", +"READY", +"NEEDS_REPAIR" +], +"enumDescriptions": [ +"The state is unspecified.", +"The index is being created. There is an active long-running operation for the index. The index is updated when writing a document. Some index data may exist.", +"The index is ready to be used. The index is updated when writing a document. The index is fully populated from all stored documents it applies to.", +"The index was being created, but something went wrong. There is no active long-running operation for the index, and the most recently finished long-running operation failed. The index is not updated when writing a document. Some index data may exist. Use the google.longrunning.Operations API to determine why the operation that last attempted to create this index failed, then re-create the index." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleFirestoreAdminV1beta2IndexConfig": { +"description": "The index configuration for this field.", +"id": "GoogleFirestoreAdminV1beta2IndexConfig", +"properties": { +"ancestorField": { +"description": "Output only. Specifies the resource name of the `Field` from which this field's index configuration is set (when `uses_ancestor_config` is true), or from which it *would* be set if this field had no index configuration (when `uses_ancestor_config` is false).", +"type": "string" +}, +"indexes": { +"description": "The indexes supported for this field.", +"items": { +"$ref": "GoogleFirestoreAdminV1beta2Index" +}, +"type": "array" +}, +"reverting": { +"description": "Output only When true, the `Field`'s index configuration is in the process of being reverted. Once complete, the index config will transition to the same state as the field specified by `ancestor_field`, at which point `uses_ancestor_config` will be `true` and `reverting` will be `false`.", +"type": "boolean" +}, +"usesAncestorConfig": { +"description": "Output only. When true, the `Field`'s index configuration is set from the configuration specified by the `ancestor_field`. When false, the `Field`'s index configuration is defined explicitly.", +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleFirestoreAdminV1beta2IndexConfigDelta": { +"description": "Information about an index configuration change.", +"id": "GoogleFirestoreAdminV1beta2IndexConfigDelta", +"properties": { +"changeType": { +"description": "Specifies how the index is changing.", +"enum": [ +"CHANGE_TYPE_UNSPECIFIED", +"ADD", +"REMOVE" +], +"enumDescriptions": [ +"The type of change is not specified or known.", +"The single field index is being added.", +"The single field index is being removed." +], +"type": "string" +}, +"index": { +"$ref": "GoogleFirestoreAdminV1beta2Index", +"description": "The index being changed." +} +}, +"type": "object" +}, +"GoogleFirestoreAdminV1beta2IndexField": { +"description": "A field in an index. The field_path describes which field is indexed, the value_mode describes how the field value is indexed.", +"id": "GoogleFirestoreAdminV1beta2IndexField", +"properties": { +"arrayConfig": { +"description": "Indicates that this field supports operations on `array_value`s.", +"enum": [ +"ARRAY_CONFIG_UNSPECIFIED", +"CONTAINS" +], +"enumDescriptions": [ +"The index does not support additional array queries.", +"The index supports array containment queries." +], +"type": "string" +}, +"fieldPath": { +"description": "Can be __name__. For single field indexes, this must match the name of the field or may be omitted.", +"type": "string" +}, +"order": { +"description": "Indicates that this field supports ordering by the specified order or comparing using =, <, <=, >, >=.", +"enum": [ +"ORDER_UNSPECIFIED", +"ASCENDING", +"DESCENDING" +], +"enumDescriptions": [ +"The ordering is unspecified. Not a valid option.", +"The field is ordered by ascending field value.", +"The field is ordered by descending field value." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleFirestoreAdminV1beta2IndexOperationMetadata": { +"description": "Metadata for google.longrunning.Operation results from FirestoreAdmin.CreateIndex.", +"id": "GoogleFirestoreAdminV1beta2IndexOperationMetadata", +"properties": { +"endTime": { +"description": "The time this operation completed. Will be unset if operation still in progress.", +"format": "google-datetime", +"type": "string" +}, +"index": { +"description": "The index resource that this operation is acting on. For example: `projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}/indexes/{index_id}`", +"type": "string" +}, +"progressBytes": { +"$ref": "GoogleFirestoreAdminV1beta2Progress", +"description": "The progress, in bytes, of this operation." +}, +"progressDocuments": { +"$ref": "GoogleFirestoreAdminV1beta2Progress", +"description": "The progress, in documents, of this operation." +}, +"startTime": { +"description": "The time this operation started.", +"format": "google-datetime", +"type": "string" +}, +"state": { +"description": "The state of the operation.", +"enum": [ +"OPERATION_STATE_UNSPECIFIED", +"INITIALIZING", +"PROCESSING", +"CANCELLING", +"FINALIZING", +"SUCCESSFUL", +"FAILED", +"CANCELLED" +], +"enumDescriptions": [ +"Unspecified.", +"Request is being prepared for processing.", +"Request is actively being processed.", +"Request is in the process of being cancelled after user called google.longrunning.Operations.CancelOperation on the operation.", +"Request has been processed and is in its finalization stage.", +"Request has completed successfully.", +"Request has finished being processed, but encountered an error.", +"Request has finished being cancelled after user called google.longrunning.Operations.CancelOperation." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleFirestoreAdminV1beta2ListFieldsResponse": { +"description": "The response for FirestoreAdmin.ListFields.", +"id": "GoogleFirestoreAdminV1beta2ListFieldsResponse", +"properties": { +"fields": { +"description": "The requested fields.", +"items": { +"$ref": "GoogleFirestoreAdminV1beta2Field" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A page token that may be used to request another page of results. If blank, this is the last page.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleFirestoreAdminV1beta2ListIndexesResponse": { +"description": "The response for FirestoreAdmin.ListIndexes.", +"id": "GoogleFirestoreAdminV1beta2ListIndexesResponse", +"properties": { +"indexes": { +"description": "The requested indexes.", +"items": { +"$ref": "GoogleFirestoreAdminV1beta2Index" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A page token that may be used to request another page of results. If blank, this is the last page.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleFirestoreAdminV1beta2Progress": { +"description": "Describes the progress of the operation. Unit of work is generic and must be interpreted based on where Progress is used.", +"id": "GoogleFirestoreAdminV1beta2Progress", +"properties": { +"completedWork": { +"description": "The amount of work completed.", +"format": "int64", +"type": "string" +}, +"estimatedWork": { +"description": "The amount of work estimated.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"GoogleLongrunningOperation": { +"description": "This resource represents a long-running operation that is the result of a network API call.", +"id": "GoogleLongrunningOperation", +"properties": { +"done": { +"description": "If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.", +"type": "boolean" +}, +"error": { +"$ref": "Status", +"description": "The error result of the operation in case of failure or cancellation." +}, +"metadata": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.", +"type": "object" +}, +"name": { +"description": "The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.", +"type": "string" +}, +"response": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "The normal, successful response of the operation. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.", +"type": "object" +} +}, +"type": "object" +}, +"Status": { +"description": "The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors).", +"id": "Status", +"properties": { +"code": { +"description": "The status code, which should be an enum value of google.rpc.Code.", +"format": "int32", +"type": "integer" +}, +"details": { +"description": "A list of messages that carry the error details. There is a common set of message types for APIs to use.", +"items": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.", +"type": "string" +} +}, +"type": "object" +} +}, +"servicePath": "", +"title": "Cloud Firestore API", +"version": "v1beta2", +"version_module": true +} \ No newline at end of file diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/fitness.v1.json b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/fitness.v1.json new file mode 100644 index 0000000000000000000000000000000000000000..4340413d03521061b3828ede6b271b31f02a5d42 --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/fitness.v1.json @@ -0,0 +1,1682 @@ +{ +"auth": { +"oauth2": { +"scopes": { +"https://www.googleapis.com/auth/fitness.activity.read": { +"description": "Use Google Fit to see and store your physical activity data" +}, +"https://www.googleapis.com/auth/fitness.activity.write": { +"description": "Add to your Google Fit physical activity data" +}, +"https://www.googleapis.com/auth/fitness.blood_glucose.read": { +"description": "See info about your blood glucose in Google Fit. I consent to Google sharing my blood glucose information with this app." +}, +"https://www.googleapis.com/auth/fitness.blood_glucose.write": { +"description": "Add info about your blood glucose to Google Fit. I consent to Google using my blood glucose information with this app." +}, +"https://www.googleapis.com/auth/fitness.blood_pressure.read": { +"description": "See info about your blood pressure in Google Fit. I consent to Google sharing my blood pressure information with this app." +}, +"https://www.googleapis.com/auth/fitness.blood_pressure.write": { +"description": "Add info about your blood pressure in Google Fit. I consent to Google using my blood pressure information with this app." +}, +"https://www.googleapis.com/auth/fitness.body.read": { +"description": "See info about your body measurements in Google Fit" +}, +"https://www.googleapis.com/auth/fitness.body.write": { +"description": "Add info about your body measurements to Google Fit" +}, +"https://www.googleapis.com/auth/fitness.body_temperature.read": { +"description": "See info about your body temperature in Google Fit. I consent to Google sharing my body temperature information with this app." +}, +"https://www.googleapis.com/auth/fitness.body_temperature.write": { +"description": "Add to info about your body temperature in Google Fit. I consent to Google using my body temperature information with this app." +}, +"https://www.googleapis.com/auth/fitness.heart_rate.read": { +"description": "See your heart rate data in Google Fit. I consent to Google sharing my heart rate information with this app." +}, +"https://www.googleapis.com/auth/fitness.heart_rate.write": { +"description": "Add to your heart rate data in Google Fit. I consent to Google using my heart rate information with this app." +}, +"https://www.googleapis.com/auth/fitness.location.read": { +"description": "See your Google Fit speed and distance data" +}, +"https://www.googleapis.com/auth/fitness.location.write": { +"description": "Add to your Google Fit location data" +}, +"https://www.googleapis.com/auth/fitness.nutrition.read": { +"description": "See info about your nutrition in Google Fit" +}, +"https://www.googleapis.com/auth/fitness.nutrition.write": { +"description": "Add to info about your nutrition in Google Fit" +}, +"https://www.googleapis.com/auth/fitness.oxygen_saturation.read": { +"description": "See info about your oxygen saturation in Google Fit. I consent to Google sharing my oxygen saturation information with this app." +}, +"https://www.googleapis.com/auth/fitness.oxygen_saturation.write": { +"description": "Add info about your oxygen saturation in Google Fit. I consent to Google using my oxygen saturation information with this app." +}, +"https://www.googleapis.com/auth/fitness.reproductive_health.read": { +"description": "See info about your reproductive health in Google Fit. I consent to Google sharing my reproductive health information with this app." +}, +"https://www.googleapis.com/auth/fitness.reproductive_health.write": { +"description": "Add info about your reproductive health in Google Fit. I consent to Google using my reproductive health information with this app." +}, +"https://www.googleapis.com/auth/fitness.sleep.read": { +"description": "See your sleep data in Google Fit. I consent to Google sharing my sleep information with this app." +}, +"https://www.googleapis.com/auth/fitness.sleep.write": { +"description": "Add to your sleep data in Google Fit. I consent to Google using my sleep information with this app." +} +} +} +}, +"basePath": "/fitness/v1/users/", +"baseUrl": "https://fitness.googleapis.com/fitness/v1/users/", +"batchPath": "batch", +"description": "The Fitness API for managing users' fitness tracking data.", +"discoveryVersion": "v1", +"documentationLink": "https://developers.google.com/fit/rest/v1/get-started", +"fullyEncodeReservedExpansion": true, +"icons": { +"x16": "http://www.google.com/images/icons/product/search-16.gif", +"x32": "http://www.google.com/images/icons/product/search-32.gif" +}, +"id": "fitness:v1", +"kind": "discovery#restDescription", +"mtlsRootUrl": "https://fitness.mtls.googleapis.com/", +"name": "fitness", +"ownerDomain": "google.com", +"ownerName": "Google", +"parameters": { +"$.xgafv": { +"description": "V1 error format.", +"enum": [ +"1", +"2" +], +"enumDescriptions": [ +"v1 error format", +"v2 error format" +], +"location": "query", +"type": "string" +}, +"access_token": { +"description": "OAuth access token.", +"location": "query", +"type": "string" +}, +"alt": { +"default": "json", +"description": "Data format for response.", +"enum": [ +"json", +"media", +"proto" +], +"enumDescriptions": [ +"Responses with Content-Type of application/json", +"Media download with context-dependent Content-Type", +"Responses with Content-Type of application/x-protobuf" +], +"location": "query", +"type": "string" +}, +"callback": { +"description": "JSONP", +"location": "query", +"type": "string" +}, +"fields": { +"description": "Selector specifying which fields to include in a partial response.", +"location": "query", +"type": "string" +}, +"key": { +"description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", +"location": "query", +"type": "string" +}, +"oauth_token": { +"description": "OAuth 2.0 token for the current user.", +"location": "query", +"type": "string" +}, +"prettyPrint": { +"default": "true", +"description": "Returns response with indentations and line breaks.", +"location": "query", +"type": "boolean" +}, +"quotaUser": { +"description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.", +"location": "query", +"type": "string" +}, +"uploadType": { +"description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", +"location": "query", +"type": "string" +}, +"upload_protocol": { +"description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", +"location": "query", +"type": "string" +} +}, +"protocol": "rest", +"resources": { +"users": { +"resources": { +"dataSources": { +"methods": { +"create": { +"description": "Creates a new data source that is unique across all data sources belonging to this user. A data source is a unique source of sensor data. Data sources can expose raw data coming from hardware sensors on local or companion devices. They can also expose derived data, created by transforming or merging other data sources. Multiple data sources can exist for the same data type. Every data point in every dataset inserted into or read from the Fitness API has an associated data source. Each data source produces a unique stream of dataset updates, with a unique data source identifier. Not all changes to data source affect the data stream ID, so that data collected by updated versions of the same application/device can still be considered to belong to the same data source. Data sources are identified using a string generated by the server, based on the contents of the source being created. The dataStreamId field should not be set when invoking this method. It will be automatically generated by the server with the correct format. If a dataStreamId is set, it must match the format that the server would generate. This format is a combination of some fields from the data source, and has a specific order. If it doesn't match, the request will fail with an error. Specifying a DataType which is not a known type (beginning with \"com.google.\") will create a DataSource with a *custom data type*. Custom data types are only readable by the application that created them. Custom data types are *deprecated*; use standard data types instead. In addition to the data source fields included in the data source ID, the developer project number that is authenticated when creating the data source is included. This developer project number is obfuscated when read by any other developer reading public data types.", +"flatPath": "{userId}/dataSources", +"httpMethod": "POST", +"id": "fitness.users.dataSources.create", +"parameterOrder": [ +"userId" +], +"parameters": { +"userId": { +"description": "Create the data source for the person identified. Use me to indicate the authenticated user. Only me is supported at this time.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "{userId}/dataSources", +"request": { +"$ref": "DataSource" +}, +"response": { +"$ref": "DataSource" +}, +"scopes": [ +"https://www.googleapis.com/auth/fitness.activity.write", +"https://www.googleapis.com/auth/fitness.blood_glucose.write", +"https://www.googleapis.com/auth/fitness.blood_pressure.write", +"https://www.googleapis.com/auth/fitness.body.write", +"https://www.googleapis.com/auth/fitness.body_temperature.write", +"https://www.googleapis.com/auth/fitness.heart_rate.write", +"https://www.googleapis.com/auth/fitness.location.write", +"https://www.googleapis.com/auth/fitness.nutrition.write", +"https://www.googleapis.com/auth/fitness.oxygen_saturation.write", +"https://www.googleapis.com/auth/fitness.reproductive_health.write", +"https://www.googleapis.com/auth/fitness.sleep.write" +] +}, +"delete": { +"description": "Deletes the specified data source. The request will fail if the data source contains any data points.", +"flatPath": "{userId}/dataSources/{dataSourceId}", +"httpMethod": "DELETE", +"id": "fitness.users.dataSources.delete", +"parameterOrder": [ +"userId", +"dataSourceId" +], +"parameters": { +"dataSourceId": { +"description": "The data stream ID of the data source to delete.", +"location": "path", +"required": true, +"type": "string" +}, +"userId": { +"description": "Retrieve a data source for the person identified. Use me to indicate the authenticated user. Only me is supported at this time.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "{userId}/dataSources/{dataSourceId}", +"response": { +"$ref": "DataSource" +}, +"scopes": [ +"https://www.googleapis.com/auth/fitness.activity.write", +"https://www.googleapis.com/auth/fitness.blood_glucose.write", +"https://www.googleapis.com/auth/fitness.blood_pressure.write", +"https://www.googleapis.com/auth/fitness.body.write", +"https://www.googleapis.com/auth/fitness.body_temperature.write", +"https://www.googleapis.com/auth/fitness.heart_rate.write", +"https://www.googleapis.com/auth/fitness.location.write", +"https://www.googleapis.com/auth/fitness.nutrition.write", +"https://www.googleapis.com/auth/fitness.oxygen_saturation.write", +"https://www.googleapis.com/auth/fitness.reproductive_health.write", +"https://www.googleapis.com/auth/fitness.sleep.write" +] +}, +"get": { +"description": "Returns the specified data source.", +"flatPath": "{userId}/dataSources/{dataSourceId}", +"httpMethod": "GET", +"id": "fitness.users.dataSources.get", +"parameterOrder": [ +"userId", +"dataSourceId" +], +"parameters": { +"dataSourceId": { +"description": "The data stream ID of the data source to retrieve.", +"location": "path", +"required": true, +"type": "string" +}, +"userId": { +"description": "Retrieve a data source for the person identified. Use me to indicate the authenticated user. Only me is supported at this time.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "{userId}/dataSources/{dataSourceId}", +"response": { +"$ref": "DataSource" +}, +"scopes": [ +"https://www.googleapis.com/auth/fitness.activity.read", +"https://www.googleapis.com/auth/fitness.activity.write", +"https://www.googleapis.com/auth/fitness.blood_glucose.read", +"https://www.googleapis.com/auth/fitness.blood_glucose.write", +"https://www.googleapis.com/auth/fitness.blood_pressure.read", +"https://www.googleapis.com/auth/fitness.blood_pressure.write", +"https://www.googleapis.com/auth/fitness.body.read", +"https://www.googleapis.com/auth/fitness.body.write", +"https://www.googleapis.com/auth/fitness.body_temperature.read", +"https://www.googleapis.com/auth/fitness.body_temperature.write", +"https://www.googleapis.com/auth/fitness.heart_rate.read", +"https://www.googleapis.com/auth/fitness.heart_rate.write", +"https://www.googleapis.com/auth/fitness.location.read", +"https://www.googleapis.com/auth/fitness.location.write", +"https://www.googleapis.com/auth/fitness.nutrition.read", +"https://www.googleapis.com/auth/fitness.nutrition.write", +"https://www.googleapis.com/auth/fitness.oxygen_saturation.read", +"https://www.googleapis.com/auth/fitness.oxygen_saturation.write", +"https://www.googleapis.com/auth/fitness.reproductive_health.read", +"https://www.googleapis.com/auth/fitness.reproductive_health.write", +"https://www.googleapis.com/auth/fitness.sleep.read", +"https://www.googleapis.com/auth/fitness.sleep.write" +] +}, +"list": { +"description": "Lists all data sources that are visible to the developer, using the OAuth scopes provided. The list is not exhaustive; the user may have private data sources that are only visible to other developers, or calls using other scopes.", +"flatPath": "{userId}/dataSources", +"httpMethod": "GET", +"id": "fitness.users.dataSources.list", +"parameterOrder": [ +"userId" +], +"parameters": { +"dataTypeName": { +"description": "The names of data types to include in the list. If not specified, all data sources will be returned.", +"location": "query", +"repeated": true, +"type": "string" +}, +"userId": { +"description": "List data sources for the person identified. Use me to indicate the authenticated user. Only me is supported at this time.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "{userId}/dataSources", +"response": { +"$ref": "ListDataSourcesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/fitness.activity.read", +"https://www.googleapis.com/auth/fitness.activity.write", +"https://www.googleapis.com/auth/fitness.blood_glucose.read", +"https://www.googleapis.com/auth/fitness.blood_glucose.write", +"https://www.googleapis.com/auth/fitness.blood_pressure.read", +"https://www.googleapis.com/auth/fitness.blood_pressure.write", +"https://www.googleapis.com/auth/fitness.body.read", +"https://www.googleapis.com/auth/fitness.body.write", +"https://www.googleapis.com/auth/fitness.body_temperature.read", +"https://www.googleapis.com/auth/fitness.body_temperature.write", +"https://www.googleapis.com/auth/fitness.heart_rate.read", +"https://www.googleapis.com/auth/fitness.heart_rate.write", +"https://www.googleapis.com/auth/fitness.location.read", +"https://www.googleapis.com/auth/fitness.location.write", +"https://www.googleapis.com/auth/fitness.nutrition.read", +"https://www.googleapis.com/auth/fitness.nutrition.write", +"https://www.googleapis.com/auth/fitness.oxygen_saturation.read", +"https://www.googleapis.com/auth/fitness.oxygen_saturation.write", +"https://www.googleapis.com/auth/fitness.reproductive_health.read", +"https://www.googleapis.com/auth/fitness.reproductive_health.write", +"https://www.googleapis.com/auth/fitness.sleep.read", +"https://www.googleapis.com/auth/fitness.sleep.write" +] +}, +"update": { +"description": "Updates the specified data source. The dataStreamId, dataType, type, dataStreamName, and device properties with the exception of version, cannot be modified. Data sources are identified by their dataStreamId.", +"flatPath": "{userId}/dataSources/{dataSourceId}", +"httpMethod": "PUT", +"id": "fitness.users.dataSources.update", +"parameterOrder": [ +"userId", +"dataSourceId" +], +"parameters": { +"dataSourceId": { +"description": "The data stream ID of the data source to update.", +"location": "path", +"required": true, +"type": "string" +}, +"userId": { +"description": "Update the data source for the person identified. Use me to indicate the authenticated user. Only me is supported at this time.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "{userId}/dataSources/{dataSourceId}", +"request": { +"$ref": "DataSource" +}, +"response": { +"$ref": "DataSource" +}, +"scopes": [ +"https://www.googleapis.com/auth/fitness.activity.write", +"https://www.googleapis.com/auth/fitness.blood_glucose.write", +"https://www.googleapis.com/auth/fitness.blood_pressure.write", +"https://www.googleapis.com/auth/fitness.body.write", +"https://www.googleapis.com/auth/fitness.body_temperature.write", +"https://www.googleapis.com/auth/fitness.heart_rate.write", +"https://www.googleapis.com/auth/fitness.location.write", +"https://www.googleapis.com/auth/fitness.nutrition.write", +"https://www.googleapis.com/auth/fitness.oxygen_saturation.write", +"https://www.googleapis.com/auth/fitness.reproductive_health.write", +"https://www.googleapis.com/auth/fitness.sleep.write" +] +} +}, +"resources": { +"dataPointChanges": { +"methods": { +"list": { +"description": "Queries for user's data point changes for a particular data source.", +"flatPath": "{userId}/dataSources/{dataSourceId}/dataPointChanges", +"httpMethod": "GET", +"id": "fitness.users.dataSources.dataPointChanges.list", +"parameterOrder": [ +"userId", +"dataSourceId" +], +"parameters": { +"dataSourceId": { +"description": "The data stream ID of the data source that created the dataset.", +"location": "path", +"required": true, +"type": "string" +}, +"limit": { +"description": "If specified, no more than this many data point changes will be included in the response.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The continuation token, which is used to page through large result sets. To get the next page of results, set this parameter to the value of nextPageToken from the previous response.", +"location": "query", +"type": "string" +}, +"userId": { +"description": "List data points for the person identified. Use me to indicate the authenticated user. Only me is supported at this time.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "{userId}/dataSources/{dataSourceId}/dataPointChanges", +"response": { +"$ref": "ListDataPointChangesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/fitness.activity.read", +"https://www.googleapis.com/auth/fitness.activity.write", +"https://www.googleapis.com/auth/fitness.blood_glucose.read", +"https://www.googleapis.com/auth/fitness.blood_glucose.write", +"https://www.googleapis.com/auth/fitness.blood_pressure.read", +"https://www.googleapis.com/auth/fitness.blood_pressure.write", +"https://www.googleapis.com/auth/fitness.body.read", +"https://www.googleapis.com/auth/fitness.body.write", +"https://www.googleapis.com/auth/fitness.body_temperature.read", +"https://www.googleapis.com/auth/fitness.body_temperature.write", +"https://www.googleapis.com/auth/fitness.heart_rate.read", +"https://www.googleapis.com/auth/fitness.heart_rate.write", +"https://www.googleapis.com/auth/fitness.location.read", +"https://www.googleapis.com/auth/fitness.location.write", +"https://www.googleapis.com/auth/fitness.nutrition.read", +"https://www.googleapis.com/auth/fitness.nutrition.write", +"https://www.googleapis.com/auth/fitness.oxygen_saturation.read", +"https://www.googleapis.com/auth/fitness.oxygen_saturation.write", +"https://www.googleapis.com/auth/fitness.reproductive_health.read", +"https://www.googleapis.com/auth/fitness.reproductive_health.write", +"https://www.googleapis.com/auth/fitness.sleep.read", +"https://www.googleapis.com/auth/fitness.sleep.write" +] +} +} +}, +"datasets": { +"methods": { +"delete": { +"description": "Performs an inclusive delete of all data points whose start and end times have any overlap with the time range specified by the dataset ID. For most data types, the entire data point will be deleted. For data types where the time span represents a consistent value (such as com.google.activity.segment), and a data point straddles either end point of the dataset, only the overlapping portion of the data point will be deleted.", +"flatPath": "{userId}/dataSources/{dataSourceId}/datasets/{datasetId}", +"httpMethod": "DELETE", +"id": "fitness.users.dataSources.datasets.delete", +"parameterOrder": [ +"userId", +"dataSourceId", +"datasetId" +], +"parameters": { +"dataSourceId": { +"description": "The data stream ID of the data source that created the dataset.", +"location": "path", +"required": true, +"type": "string" +}, +"datasetId": { +"description": "Dataset identifier that is a composite of the minimum data point start time and maximum data point end time represented as nanoseconds from the epoch. The ID is formatted like: \"startTime-endTime\" where startTime and endTime are 64 bit integers.", +"location": "path", +"required": true, +"type": "string" +}, +"userId": { +"description": "Delete a dataset for the person identified. Use me to indicate the authenticated user. Only me is supported at this time.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "{userId}/dataSources/{dataSourceId}/datasets/{datasetId}", +"scopes": [ +"https://www.googleapis.com/auth/fitness.activity.write", +"https://www.googleapis.com/auth/fitness.blood_glucose.write", +"https://www.googleapis.com/auth/fitness.blood_pressure.write", +"https://www.googleapis.com/auth/fitness.body.write", +"https://www.googleapis.com/auth/fitness.body_temperature.write", +"https://www.googleapis.com/auth/fitness.heart_rate.write", +"https://www.googleapis.com/auth/fitness.location.write", +"https://www.googleapis.com/auth/fitness.nutrition.write", +"https://www.googleapis.com/auth/fitness.oxygen_saturation.write", +"https://www.googleapis.com/auth/fitness.reproductive_health.write", +"https://www.googleapis.com/auth/fitness.sleep.write" +] +}, +"get": { +"description": "Returns a dataset containing all data points whose start and end times overlap with the specified range of the dataset minimum start time and maximum end time. Specifically, any data point whose start time is less than or equal to the dataset end time and whose end time is greater than or equal to the dataset start time.", +"flatPath": "{userId}/dataSources/{dataSourceId}/datasets/{datasetId}", +"httpMethod": "GET", +"id": "fitness.users.dataSources.datasets.get", +"parameterOrder": [ +"userId", +"dataSourceId", +"datasetId" +], +"parameters": { +"dataSourceId": { +"description": "The data stream ID of the data source that created the dataset.", +"location": "path", +"required": true, +"type": "string" +}, +"datasetId": { +"description": "Dataset identifier that is a composite of the minimum data point start time and maximum data point end time represented as nanoseconds from the epoch. The ID is formatted like: \"startTime-endTime\" where startTime and endTime are 64 bit integers.", +"location": "path", +"required": true, +"type": "string" +}, +"limit": { +"description": "If specified, no more than this many data points will be included in the dataset. If there are more data points in the dataset, nextPageToken will be set in the dataset response. The limit is applied from the end of the time range. That is, if pageToken is absent, the limit most recent data points will be returned.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The continuation token, which is used to page through large datasets. To get the next page of a dataset, set this parameter to the value of nextPageToken from the previous response. Each subsequent call will yield a partial dataset with data point end timestamps that are strictly smaller than those in the previous partial response.", +"location": "query", +"type": "string" +}, +"userId": { +"description": "Retrieve a dataset for the person identified. Use me to indicate the authenticated user. Only me is supported at this time.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "{userId}/dataSources/{dataSourceId}/datasets/{datasetId}", +"response": { +"$ref": "Dataset" +}, +"scopes": [ +"https://www.googleapis.com/auth/fitness.activity.read", +"https://www.googleapis.com/auth/fitness.activity.write", +"https://www.googleapis.com/auth/fitness.blood_glucose.read", +"https://www.googleapis.com/auth/fitness.blood_glucose.write", +"https://www.googleapis.com/auth/fitness.blood_pressure.read", +"https://www.googleapis.com/auth/fitness.blood_pressure.write", +"https://www.googleapis.com/auth/fitness.body.read", +"https://www.googleapis.com/auth/fitness.body.write", +"https://www.googleapis.com/auth/fitness.body_temperature.read", +"https://www.googleapis.com/auth/fitness.body_temperature.write", +"https://www.googleapis.com/auth/fitness.heart_rate.read", +"https://www.googleapis.com/auth/fitness.heart_rate.write", +"https://www.googleapis.com/auth/fitness.location.read", +"https://www.googleapis.com/auth/fitness.location.write", +"https://www.googleapis.com/auth/fitness.nutrition.read", +"https://www.googleapis.com/auth/fitness.nutrition.write", +"https://www.googleapis.com/auth/fitness.oxygen_saturation.read", +"https://www.googleapis.com/auth/fitness.oxygen_saturation.write", +"https://www.googleapis.com/auth/fitness.reproductive_health.read", +"https://www.googleapis.com/auth/fitness.reproductive_health.write", +"https://www.googleapis.com/auth/fitness.sleep.read", +"https://www.googleapis.com/auth/fitness.sleep.write" +] +}, +"patch": { +"description": "Adds data points to a dataset. The dataset need not be previously created. All points within the given dataset will be returned with subsquent calls to retrieve this dataset. Data points can belong to more than one dataset. This method does not use patch semantics: the data points provided are merely inserted, with no existing data replaced.", +"flatPath": "{userId}/dataSources/{dataSourceId}/datasets/{datasetId}", +"httpMethod": "PATCH", +"id": "fitness.users.dataSources.datasets.patch", +"parameterOrder": [ +"userId", +"dataSourceId", +"datasetId" +], +"parameters": { +"dataSourceId": { +"description": "The data stream ID of the data source that created the dataset.", +"location": "path", +"required": true, +"type": "string" +}, +"datasetId": { +"description": "This field is not used, and can be safely omitted.", +"location": "path", +"required": true, +"type": "string" +}, +"userId": { +"description": "Patch a dataset for the person identified. Use me to indicate the authenticated user. Only me is supported at this time.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "{userId}/dataSources/{dataSourceId}/datasets/{datasetId}", +"request": { +"$ref": "Dataset" +}, +"response": { +"$ref": "Dataset" +}, +"scopes": [ +"https://www.googleapis.com/auth/fitness.activity.write", +"https://www.googleapis.com/auth/fitness.blood_glucose.write", +"https://www.googleapis.com/auth/fitness.blood_pressure.write", +"https://www.googleapis.com/auth/fitness.body.write", +"https://www.googleapis.com/auth/fitness.body_temperature.write", +"https://www.googleapis.com/auth/fitness.heart_rate.write", +"https://www.googleapis.com/auth/fitness.location.write", +"https://www.googleapis.com/auth/fitness.nutrition.write", +"https://www.googleapis.com/auth/fitness.oxygen_saturation.write", +"https://www.googleapis.com/auth/fitness.reproductive_health.write", +"https://www.googleapis.com/auth/fitness.sleep.write" +] +} +} +} +} +}, +"dataset": { +"methods": { +"aggregate": { +"description": "Aggregates data of a certain type or stream into buckets divided by a given type of boundary. Multiple data sets of multiple types and from multiple sources can be aggregated into exactly one bucket type per request.", +"flatPath": "{userId}/dataset:aggregate", +"httpMethod": "POST", +"id": "fitness.users.dataset.aggregate", +"parameterOrder": [ +"userId" +], +"parameters": { +"userId": { +"description": "Aggregate data for the person identified. Use me to indicate the authenticated user. Only me is supported at this time.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "{userId}/dataset:aggregate", +"request": { +"$ref": "AggregateRequest" +}, +"response": { +"$ref": "AggregateResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/fitness.activity.read", +"https://www.googleapis.com/auth/fitness.activity.write", +"https://www.googleapis.com/auth/fitness.blood_glucose.read", +"https://www.googleapis.com/auth/fitness.blood_glucose.write", +"https://www.googleapis.com/auth/fitness.blood_pressure.read", +"https://www.googleapis.com/auth/fitness.blood_pressure.write", +"https://www.googleapis.com/auth/fitness.body.read", +"https://www.googleapis.com/auth/fitness.body.write", +"https://www.googleapis.com/auth/fitness.body_temperature.read", +"https://www.googleapis.com/auth/fitness.body_temperature.write", +"https://www.googleapis.com/auth/fitness.heart_rate.read", +"https://www.googleapis.com/auth/fitness.heart_rate.write", +"https://www.googleapis.com/auth/fitness.location.read", +"https://www.googleapis.com/auth/fitness.location.write", +"https://www.googleapis.com/auth/fitness.nutrition.read", +"https://www.googleapis.com/auth/fitness.nutrition.write", +"https://www.googleapis.com/auth/fitness.oxygen_saturation.read", +"https://www.googleapis.com/auth/fitness.oxygen_saturation.write", +"https://www.googleapis.com/auth/fitness.reproductive_health.read", +"https://www.googleapis.com/auth/fitness.reproductive_health.write", +"https://www.googleapis.com/auth/fitness.sleep.read", +"https://www.googleapis.com/auth/fitness.sleep.write" +] +} +} +}, +"sessions": { +"methods": { +"delete": { +"description": "Deletes a session specified by the given session ID.", +"flatPath": "{userId}/sessions/{sessionId}", +"httpMethod": "DELETE", +"id": "fitness.users.sessions.delete", +"parameterOrder": [ +"userId", +"sessionId" +], +"parameters": { +"sessionId": { +"description": "The ID of the session to be deleted.", +"location": "path", +"required": true, +"type": "string" +}, +"userId": { +"description": "Delete a session for the person identified. Use me to indicate the authenticated user. Only me is supported at this time.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "{userId}/sessions/{sessionId}", +"scopes": [ +"https://www.googleapis.com/auth/fitness.activity.write", +"https://www.googleapis.com/auth/fitness.sleep.write" +] +}, +"list": { +"description": "Lists sessions previously created.", +"flatPath": "{userId}/sessions", +"httpMethod": "GET", +"id": "fitness.users.sessions.list", +"parameterOrder": [ +"userId" +], +"parameters": { +"activityType": { +"description": "If non-empty, only sessions with these activity types should be returned.", +"format": "int32", +"location": "query", +"repeated": true, +"type": "integer" +}, +"endTime": { +"description": "An RFC3339 timestamp. Only sessions starting before endTime and ending after startTime up to (endTime + 1 day) will be included in the response. If this time is omitted but startTime is specified, all sessions ending after startTime to the end of time will be returned.", +"location": "query", +"type": "string" +}, +"includeDeleted": { +"description": "If true, and if both startTime and endTime are omitted, session deletions will be returned.", +"location": "query", +"type": "boolean" +}, +"pageToken": { +"description": "The continuation token, which is used for incremental syncing. To get the next batch of changes, set this parameter to the value of nextPageToken from the previous response. The page token is ignored if either start or end time is specified. If none of start time, end time, and the page token is specified, sessions modified in the last 30 days are returned.", +"location": "query", +"type": "string" +}, +"startTime": { +"description": "An RFC3339 timestamp. Only sessions starting before endTime and ending after startTime up to (endTime + 1 day) will be included in the response. If this time is omitted but endTime is specified, all sessions starting before endTime and ending after the start of time up to (endTime + 1 day) will be returned.", +"location": "query", +"type": "string" +}, +"userId": { +"description": "List sessions for the person identified. Use me to indicate the authenticated user. Only me is supported at this time.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "{userId}/sessions", +"response": { +"$ref": "ListSessionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/fitness.activity.read", +"https://www.googleapis.com/auth/fitness.activity.write", +"https://www.googleapis.com/auth/fitness.blood_glucose.read", +"https://www.googleapis.com/auth/fitness.blood_glucose.write", +"https://www.googleapis.com/auth/fitness.blood_pressure.read", +"https://www.googleapis.com/auth/fitness.blood_pressure.write", +"https://www.googleapis.com/auth/fitness.body.read", +"https://www.googleapis.com/auth/fitness.body.write", +"https://www.googleapis.com/auth/fitness.body_temperature.read", +"https://www.googleapis.com/auth/fitness.body_temperature.write", +"https://www.googleapis.com/auth/fitness.heart_rate.read", +"https://www.googleapis.com/auth/fitness.heart_rate.write", +"https://www.googleapis.com/auth/fitness.location.read", +"https://www.googleapis.com/auth/fitness.location.write", +"https://www.googleapis.com/auth/fitness.nutrition.read", +"https://www.googleapis.com/auth/fitness.nutrition.write", +"https://www.googleapis.com/auth/fitness.oxygen_saturation.read", +"https://www.googleapis.com/auth/fitness.oxygen_saturation.write", +"https://www.googleapis.com/auth/fitness.reproductive_health.read", +"https://www.googleapis.com/auth/fitness.reproductive_health.write", +"https://www.googleapis.com/auth/fitness.sleep.read", +"https://www.googleapis.com/auth/fitness.sleep.write" +] +}, +"update": { +"description": "Updates or insert a given session.", +"flatPath": "{userId}/sessions/{sessionId}", +"httpMethod": "PUT", +"id": "fitness.users.sessions.update", +"parameterOrder": [ +"userId", +"sessionId" +], +"parameters": { +"sessionId": { +"description": "The ID of the session to be created.", +"location": "path", +"required": true, +"type": "string" +}, +"userId": { +"description": "Create sessions for the person identified. Use me to indicate the authenticated user. Only me is supported at this time.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "{userId}/sessions/{sessionId}", +"request": { +"$ref": "Session" +}, +"response": { +"$ref": "Session" +}, +"scopes": [ +"https://www.googleapis.com/auth/fitness.activity.write", +"https://www.googleapis.com/auth/fitness.sleep.write" +] +} +} +} +} +} +}, +"revision": "20250819", +"rootUrl": "https://fitness.googleapis.com/", +"schemas": { +"AggregateBucket": { +"id": "AggregateBucket", +"properties": { +"activity": { +"description": "Available for Bucket.Type.ACTIVITY_TYPE, Bucket.Type.ACTIVITY_SEGMENT", +"format": "int32", +"type": "integer" +}, +"dataset": { +"description": "There will be one dataset per AggregateBy in the request.", +"items": { +"$ref": "Dataset" +}, +"type": "array" +}, +"endTimeMillis": { +"description": "The end time for the aggregated data, in milliseconds since epoch, inclusive.", +"format": "int64", +"type": "string" +}, +"session": { +"$ref": "Session", +"description": "Available for Bucket.Type.SESSION" +}, +"startTimeMillis": { +"description": "The start time for the aggregated data, in milliseconds since epoch, inclusive.", +"format": "int64", +"type": "string" +}, +"type": { +"description": "The type of a bucket signifies how the data aggregation is performed in the bucket.", +"enum": [ +"unknown", +"time", +"session", +"activityType", +"activitySegment" +], +"enumDescriptions": [ +"", +"Denotes that bucketing by time is requested. When this is specified, the timeBucketDurationMillis field is used to determine how many buckets will be returned.", +"Denotes that bucketing by session is requested. When this is specified, only data that occurs within sessions that begin and end within the dataset time frame, is included in the results.", +"Denotes that bucketing by activity type is requested. When this is specified, there will be one bucket for each unique activity type that a user participated in, during the dataset time frame of interest.", +"Denotes that bucketing by individual activity segment is requested. This will aggregate data by the time boundaries specified by each activity segment occurring within the dataset time frame of interest." +], +"type": "string" +} +}, +"type": "object" +}, +"AggregateBy": { +"description": "The specification of which data to aggregate.", +"id": "AggregateBy", +"properties": { +"dataSourceId": { +"description": "A data source ID to aggregate. Only data from the specified data source ID will be included in the aggregation. If specified, this data source must exist; the OAuth scopes in the supplied credentials must grant read access to this data type. The dataset in the response will have the same data source ID. Note: Data can be aggregated by either the dataTypeName or the dataSourceId, not both.", +"type": "string" +}, +"dataTypeName": { +"description": "The data type to aggregate. All data sources providing this data type will contribute data to the aggregation. The response will contain a single dataset for this data type name. The dataset will have a data source ID of derived::com.google.android.gms:aggregated. If the user has no data for this data type, an empty data set will be returned. Note: Data can be aggregated by either the dataTypeName or the dataSourceId, not both.", +"type": "string" +} +}, +"type": "object" +}, +"AggregateRequest": { +"description": "Next id: 10", +"id": "AggregateRequest", +"properties": { +"aggregateBy": { +"annotations": { +"required": [ +"fitness.users.dataset.aggregate" +] +}, +"description": "The specification of data to be aggregated. At least one aggregateBy spec must be provided. All data that is specified will be aggregated using the same bucketing criteria. There will be one dataset in the response for every aggregateBy spec.", +"items": { +"$ref": "AggregateBy" +}, +"type": "array" +}, +"bucketByActivitySegment": { +"$ref": "BucketByActivity", +"description": "Specifies that data be aggregated each activity segment recorded for a user. Similar to bucketByActivitySegment, but bucketing is done for each activity segment rather than all segments of the same type. Mutually exclusive of other bucketing specifications." +}, +"bucketByActivityType": { +"$ref": "BucketByActivity", +"description": "Specifies that data be aggregated by the type of activity being performed when the data was recorded. All data that was recorded during a certain activity type (.for the given time range) will be aggregated into the same bucket. Data that was recorded while the user was not active will not be included in the response. Mutually exclusive of other bucketing specifications." +}, +"bucketBySession": { +"$ref": "BucketBySession", +"description": "Specifies that data be aggregated by user sessions. Data that does not fall within the time range of a session will not be included in the response. Mutually exclusive of other bucketing specifications." +}, +"bucketByTime": { +"$ref": "BucketByTime", +"description": "Specifies that data be aggregated by a single time interval. Mutually exclusive of other bucketing specifications." +}, +"endTimeMillis": { +"annotations": { +"required": [ +"fitness.users.dataset.aggregate" +] +}, +"description": "The end of a window of time. Data that intersects with this time window will be aggregated. The time is in milliseconds since epoch, inclusive. The maximum allowed difference between start_time_millis // and end_time_millis is 7776000000 (roughly 90 days).", +"format": "int64", +"type": "string" +}, +"filteredDataQualityStandard": { +"deprecated": true, +"description": "DO NOT POPULATE THIS FIELD. It is ignored.", +"items": { +"enum": [ +"dataQualityUnknown", +"dataQualityBloodPressureEsh2002", +"dataQualityBloodPressureEsh2010", +"dataQualityBloodPressureAami", +"dataQualityBloodPressureBhsAA", +"dataQualityBloodPressureBhsAB", +"dataQualityBloodPressureBhsBA", +"dataQualityBloodPressureBhsBB", +"dataQualityBloodGlucoseIso151972003", +"dataQualityBloodGlucoseIso151972013" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"", +"", +"", +"", +"" +], +"type": "string" +}, +"type": "array" +}, +"startTimeMillis": { +"annotations": { +"required": [ +"fitness.users.dataset.aggregate" +] +}, +"description": "The start of a window of time. Data that intersects with this time window will be aggregated. The time is in milliseconds since epoch, inclusive.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"AggregateResponse": { +"id": "AggregateResponse", +"properties": { +"bucket": { +"description": "A list of buckets containing the aggregated data.", +"items": { +"$ref": "AggregateBucket" +}, +"type": "array" +} +}, +"type": "object" +}, +"Application": { +"id": "Application", +"properties": { +"detailsUrl": { +"description": "An optional URI that can be used to link back to the application.", +"type": "string" +}, +"name": { +"annotations": { +"required": [ +"fitness.users.dataSources.create", +"fitness.users.dataSources.update", +"fitness.users.sessions.update" +] +}, +"description": "The name of this application. This is required for REST clients, but we do not enforce uniqueness of this name. It is provided as a matter of convenience for other developers who would like to identify which REST created an Application or Data Source.", +"type": "string" +}, +"packageName": { +"description": "Package name for this application. This is used as a unique identifier when created by Android applications, but cannot be specified by REST clients. REST clients will have their developer project number reflected into the Data Source data stream IDs, instead of the packageName.", +"type": "string" +}, +"version": { +"description": "Version of the application. You should update this field whenever the application changes in a way that affects the computation of the data.", +"type": "string" +} +}, +"type": "object" +}, +"BucketByActivity": { +"id": "BucketByActivity", +"properties": { +"activityDataSourceId": { +"description": "The default activity stream will be used if a specific activityDataSourceId is not specified.", +"type": "string" +}, +"minDurationMillis": { +"description": "Specifies that only activity segments of duration longer than minDurationMillis are considered and used as a container for aggregated data.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"BucketBySession": { +"id": "BucketBySession", +"properties": { +"minDurationMillis": { +"description": "Specifies that only sessions of duration longer than minDurationMillis are considered and used as a container for aggregated data.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"BucketByTime": { +"id": "BucketByTime", +"properties": { +"durationMillis": { +"description": "Specifies that result buckets aggregate data by exactly durationMillis time frames. Time frames that contain no data will be included in the response with an empty dataset.", +"format": "int64", +"type": "string" +}, +"period": { +"$ref": "BucketByTimePeriod" +} +}, +"type": "object" +}, +"BucketByTimePeriod": { +"id": "BucketByTimePeriod", +"properties": { +"timeZoneId": { +"description": "org.joda.timezone.DateTimeZone", +"type": "string" +}, +"type": { +"enum": [ +"day", +"week", +"month" +], +"enumDescriptions": [ +"", +"", +"" +], +"type": "string" +}, +"value": { +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"DataPoint": { +"description": "Represents a single data point, generated by a particular data source. A data point holds a value for each field, an end timestamp and an optional start time. The exact semantics of each of these attributes are specified in the documentation for the particular data type. A data point can represent an instantaneous measurement, reading or input observation, as well as averages or aggregates over a time interval. Check the data type documentation to determine which is the case for a particular data type. Data points always contain one value for each field of the data type.", +"id": "DataPoint", +"properties": { +"computationTimeMillis": { +"deprecated": true, +"description": "DO NOT USE THIS FIELD. It is ignored, and not stored.", +"format": "int64", +"type": "string" +}, +"dataTypeName": { +"annotations": { +"required": [ +"fitness.users.dataSources.datasets.patch" +] +}, +"description": "The data type defining the format of the values in this data point.", +"type": "string" +}, +"endTimeNanos": { +"annotations": { +"required": [ +"fitness.users.dataSources.datasets.patch" +] +}, +"description": "The end time of the interval represented by this data point, in nanoseconds since epoch.", +"format": "int64", +"type": "string" +}, +"modifiedTimeMillis": { +"description": "Indicates the last time this data point was modified. Useful only in contexts where we are listing the data changes, rather than representing the current state of the data.", +"format": "int64", +"type": "string" +}, +"originDataSourceId": { +"description": "If the data point is contained in a dataset for a derived data source, this field will be populated with the data source stream ID that created the data point originally. WARNING: do not rely on this field for anything other than debugging. The value of this field, if it is set at all, is an implementation detail and is not guaranteed to remain consistent.", +"type": "string" +}, +"rawTimestampNanos": { +"description": "The raw timestamp from the original SensorEvent.", +"format": "int64", +"type": "string" +}, +"startTimeNanos": { +"annotations": { +"required": [ +"fitness.users.dataSources.datasets.patch" +] +}, +"description": "The start time of the interval represented by this data point, in nanoseconds since epoch.", +"format": "int64", +"type": "string" +}, +"value": { +"annotations": { +"required": [ +"fitness.users.dataSources.datasets.patch" +] +}, +"description": "Values of each data type field for the data point. It is expected that each value corresponding to a data type field will occur in the same order that the field is listed with in the data type specified in a data source. Only one of integer and floating point fields will be populated, depending on the format enum value within data source's type field.", +"items": { +"$ref": "Value" +}, +"type": "array" +} +}, +"type": "object" +}, +"DataSource": { +"description": "Definition of a unique source of sensor data. Data sources can expose raw data coming from hardware sensors on local or companion devices. They can also expose derived data, created by transforming or merging other data sources. Multiple data sources can exist for the same data type. Every data point inserted into or read from this service has an associated data source. The data source contains enough information to uniquely identify its data, including the hardware device and the application that collected and/or transformed the data. It also holds useful metadata, such as the hardware and application versions, and the device type. Each data source produces a unique stream of data, with a unique identifier. Not all changes to data source affect the stream identifier, so that data collected by updated versions of the same application/device can still be considered to belong to the same data stream.", +"id": "DataSource", +"properties": { +"application": { +"$ref": "Application", +"annotations": { +"required": [ +"fitness.users.dataSources.create", +"fitness.users.dataSources.update" +] +}, +"description": "Information about an application which feeds sensor data into the platform." +}, +"dataQualityStandard": { +"deprecated": true, +"description": "DO NOT POPULATE THIS FIELD. It is never populated in responses from the platform, and is ignored in queries. It will be removed in a future version entirely.", +"items": { +"enum": [ +"dataQualityUnknown", +"dataQualityBloodPressureEsh2002", +"dataQualityBloodPressureEsh2010", +"dataQualityBloodPressureAami", +"dataQualityBloodPressureBhsAA", +"dataQualityBloodPressureBhsAB", +"dataQualityBloodPressureBhsBA", +"dataQualityBloodPressureBhsBB", +"dataQualityBloodGlucoseIso151972003", +"dataQualityBloodGlucoseIso151972013" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"", +"", +"", +"", +"" +], +"type": "string" +}, +"type": "array" +}, +"dataStreamId": { +"annotations": { +"required": [ +"fitness.users.dataSources.update" +] +}, +"description": "A unique identifier for the data stream produced by this data source. The identifier includes: - The physical device's manufacturer, model, and serial number (UID). - The application's package name or name. Package name is used when the data source was created by an Android application. The developer project number is used when the data source was created by a REST client. - The data source's type. - The data source's stream name. Note that not all attributes of the data source are used as part of the stream identifier. In particular, the version of the hardware/the application isn't used. This allows us to preserve the same stream through version updates. This also means that two DataSource objects may represent the same data stream even if they're not equal. The exact format of the data stream ID created by an Android application is: type:dataType.name:application.packageName:device.manufacturer:device.model:device.uid:dataStreamName The exact format of the data stream ID created by a REST client is: type:dataType.name:developer project number:device.manufacturer:device.model:device.uid:dataStreamName When any of the optional fields that make up the data stream ID are absent, they will be omitted from the data stream ID. The minimum viable data stream ID would be: type:dataType.name:developer project number Finally, the developer project number and device UID are obfuscated when read by any REST or Android client that did not create the data source. Only the data source creator will see the developer project number in clear and normal form. This means a client will see a different set of data_stream_ids than another client with different credentials.", +"type": "string" +}, +"dataStreamName": { +"description": "The stream name uniquely identifies this particular data source among other data sources of the same type from the same underlying producer. Setting the stream name is optional, but should be done whenever an application exposes two streams for the same data type, or when a device has two equivalent sensors.", +"type": "string" +}, +"dataType": { +"$ref": "DataType", +"annotations": { +"required": [ +"fitness.users.dataSources.create", +"fitness.users.dataSources.update" +] +}, +"description": "The data type defines the schema for a stream of data being collected by, inserted into, or queried from the Fitness API." +}, +"device": { +"$ref": "Device", +"annotations": { +"required": [ +"fitness.users.dataSources.create", +"fitness.users.dataSources.update" +] +}, +"description": "Representation of an integrated device (such as a phone or a wearable) that can hold sensors." +}, +"name": { +"deprecated": true, +"description": "An end-user visible name for this data source.", +"type": "string" +}, +"type": { +"annotations": { +"required": [ +"fitness.users.dataSources.create", +"fitness.users.dataSources.update" +] +}, +"description": "A constant describing the type of this data source. Indicates whether this data source produces raw or derived data.", +"enum": [ +"raw", +"derived" +], +"enumDescriptions": [ +"", +"" +], +"type": "string" +} +}, +"type": "object" +}, +"DataType": { +"id": "DataType", +"properties": { +"field": { +"annotations": { +"required": [ +"fitness.users.dataSources.create", +"fitness.users.dataSources.update" +] +}, +"description": "A field represents one dimension of a data type.", +"items": { +"$ref": "DataTypeField" +}, +"type": "array" +}, +"name": { +"annotations": { +"required": [ +"fitness.users.dataSources.create", +"fitness.users.dataSources.update" +] +}, +"description": "Each data type has a unique, namespaced, name. All data types in the com.google namespace are shared as part of the platform.", +"type": "string" +} +}, +"type": "object" +}, +"DataTypeField": { +"description": "In case of multi-dimensional data (such as an accelerometer with x, y, and z axes) each field represents one dimension. Each data type field has a unique name which identifies it. The field also defines the format of the data (int, float, etc.). This message is only instantiated in code and not used for wire comms or stored in any way.", +"id": "DataTypeField", +"properties": { +"format": { +"annotations": { +"required": [ +"fitness.users.dataSources.create", +"fitness.users.dataSources.update" +] +}, +"description": "The different supported formats for each field in a data type.", +"enum": [ +"integer", +"floatPoint", +"string", +"map", +"integerList", +"floatList", +"blob" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"", +"" +], +"type": "string" +}, +"name": { +"annotations": { +"required": [ +"fitness.users.dataSources.create", +"fitness.users.dataSources.update" +] +}, +"description": "Defines the name and format of data. Unlike data type names, field names are not namespaced, and only need to be unique within the data type.", +"type": "string" +}, +"optional": { +"type": "boolean" +} +}, +"type": "object" +}, +"Dataset": { +"description": "A dataset represents a projection container for data points. They do not carry any info of their own. Datasets represent a set of data points from a particular data source. A data point can be found in more than one dataset.", +"id": "Dataset", +"properties": { +"dataSourceId": { +"annotations": { +"required": [ +"fitness.users.dataSources.datasets.patch" +] +}, +"description": "The data stream ID of the data source that created the points in this dataset.", +"type": "string" +}, +"maxEndTimeNs": { +"annotations": { +"required": [ +"fitness.users.dataSources.datasets.patch" +] +}, +"description": "The largest end time of all data points in this possibly partial representation of the dataset. Time is in nanoseconds from epoch. This should also match the second part of the dataset identifier.", +"format": "int64", +"type": "string" +}, +"minStartTimeNs": { +"annotations": { +"required": [ +"fitness.users.dataSources.datasets.patch" +] +}, +"description": "The smallest start time of all data points in this possibly partial representation of the dataset. Time is in nanoseconds from epoch. This should also match the first part of the dataset identifier.", +"format": "int64", +"type": "string" +}, +"nextPageToken": { +"description": "This token will be set when a dataset is received in response to a GET request and the dataset is too large to be included in a single response. Provide this value in a subsequent GET request to return the next page of data points within this dataset.", +"type": "string" +}, +"point": { +"annotations": { +"required": [ +"fitness.users.dataSources.datasets.patch" +] +}, +"description": "A partial list of data points contained in the dataset, ordered by endTimeNanos. This list is considered complete when retrieving a small dataset and partial when patching a dataset or retrieving a dataset that is too large to include in a single response.", +"items": { +"$ref": "DataPoint" +}, +"type": "array" +} +}, +"type": "object" +}, +"Device": { +"description": "Representation of an integrated device (such as a phone or a wearable) that can hold sensors. Each sensor is exposed as a data source. The main purpose of the device information contained in this class is to identify the hardware of a particular data source. This can be useful in different ways, including: - Distinguishing two similar sensors on different devices (the step counter on two nexus 5 phones, for instance) - Display the source of data to the user (by using the device make / model) - Treat data differently depending on sensor type (accelerometers on a watch may give different patterns than those on a phone) - Build different analysis models for each device/version. ", +"id": "Device", +"properties": { +"manufacturer": { +"annotations": { +"required": [ +"fitness.users.dataSources.create", +"fitness.users.dataSources.update" +] +}, +"description": "Manufacturer of the product/hardware.", +"type": "string" +}, +"model": { +"annotations": { +"required": [ +"fitness.users.dataSources.create", +"fitness.users.dataSources.update" +] +}, +"description": "End-user visible model name for the device.", +"type": "string" +}, +"type": { +"annotations": { +"required": [ +"fitness.users.dataSources.create", +"fitness.users.dataSources.update" +] +}, +"description": "A constant representing the type of the device.", +"enum": [ +"unknown", +"phone", +"tablet", +"watch", +"chestStrap", +"scale", +"headMounted", +"smartDisplay" +], +"enumDescriptions": [ +"Device type is not known.", +"An Android phone.", +"An Android tablet.", +"A watch or other wrist-mounted band.", +"A chest strap.", +"A scale.", +"Glass or other head-mounted device.", +"A smart display e.g. Nest device." +], +"type": "string" +}, +"uid": { +"annotations": { +"required": [ +"fitness.users.dataSources.create", +"fitness.users.dataSources.update" +] +}, +"description": "The serial number or other unique ID for the hardware. This field is obfuscated when read by any REST or Android client that did not create the data source. Only the data source creator will see the uid field in clear and normal form. The obfuscation preserves equality; that is, given two IDs, if id1 == id2, obfuscated(id1) == obfuscated(id2).", +"type": "string" +}, +"version": { +"annotations": { +"required": [ +"fitness.users.dataSources.create", +"fitness.users.dataSources.update" +] +}, +"description": "Version string for the device hardware/software.", +"type": "string" +} +}, +"type": "object" +}, +"ListDataPointChangesResponse": { +"id": "ListDataPointChangesResponse", +"properties": { +"dataSourceId": { +"description": "The data stream ID of the data source with data point changes.", +"type": "string" +}, +"deletedDataPoint": { +"description": "Deleted data points for the user. Note, for modifications this should be parsed before handling insertions.", +"items": { +"$ref": "DataPoint" +}, +"type": "array" +}, +"insertedDataPoint": { +"description": "Inserted data points for the user.", +"items": { +"$ref": "DataPoint" +}, +"type": "array" +}, +"nextPageToken": { +"description": "The continuation token, which is used to page through large result sets. Provide this value in a subsequent request to return the next page of results.", +"type": "string" +} +}, +"type": "object" +}, +"ListDataSourcesResponse": { +"id": "ListDataSourcesResponse", +"properties": { +"dataSource": { +"description": "A previously created data source.", +"items": { +"$ref": "DataSource" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListSessionsResponse": { +"id": "ListSessionsResponse", +"properties": { +"deletedSession": { +"description": "If includeDeleted is set to true in the request, and startTime and endTime are omitted, this will include sessions which were deleted since the last sync.", +"items": { +"$ref": "Session" +}, +"type": "array" +}, +"hasMoreData": { +"deprecated": true, +"description": "Flag to indicate server has more data to transfer. DO NOT USE THIS FIELD. It is never populated in responses from the server.", +"type": "boolean" +}, +"nextPageToken": { +"description": "The sync token which is used to sync further changes. This will only be provided if both startTime and endTime are omitted from the request.", +"type": "string" +}, +"session": { +"description": "Sessions starting before endTime of the request and ending after startTime of the request up to (endTime of the request + 1 day).", +"items": { +"$ref": "Session" +}, +"type": "array" +} +}, +"type": "object" +}, +"MapValue": { +"description": "Holder object for the value of an entry in a map field of a data point. A map value supports a subset of the formats that the regular Value supports.", +"id": "MapValue", +"properties": { +"fpVal": { +"description": "Floating point value.", +"format": "double", +"type": "number" +} +}, +"type": "object" +}, +"Session": { +"description": "Sessions contain metadata, such as a user-friendly name and time interval information.", +"id": "Session", +"properties": { +"activeTimeMillis": { +"description": "Session active time. While start_time_millis and end_time_millis define the full session time, the active time can be shorter and specified by active_time_millis. If the inactive time during the session is known, it should also be inserted via a com.google.activity.segment data point with a STILL activity value", +"format": "int64", +"type": "string" +}, +"activityType": { +"annotations": { +"required": [ +"fitness.users.sessions.update" +] +}, +"description": "The type of activity this session represents.", +"format": "int32", +"type": "integer" +}, +"application": { +"$ref": "Application", +"annotations": { +"required": [ +"fitness.users.sessions.update" +] +}, +"description": "The application that created the session." +}, +"description": { +"description": "A description for this session.", +"type": "string" +}, +"endTimeMillis": { +"annotations": { +"required": [ +"fitness.users.sessions.update" +] +}, +"description": "An end time, in milliseconds since epoch, inclusive.", +"format": "int64", +"type": "string" +}, +"id": { +"annotations": { +"required": [ +"fitness.users.sessions.update" +] +}, +"description": "A client-generated identifier that is unique across all sessions owned by this particular user.", +"type": "string" +}, +"modifiedTimeMillis": { +"description": "A timestamp that indicates when the session was last modified.", +"format": "int64", +"type": "string" +}, +"name": { +"annotations": { +"required": [ +"fitness.users.sessions.update" +] +}, +"description": "A human readable name of the session.", +"type": "string" +}, +"startTimeMillis": { +"annotations": { +"required": [ +"fitness.users.sessions.update" +] +}, +"description": "A start time, in milliseconds since epoch, inclusive.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"Value": { +"description": "Holder object for the value of a single field in a data point. A field value has a particular format and is only ever set to one of an integer or a floating point value.", +"id": "Value", +"properties": { +"fpVal": { +"description": "Floating point value. When this is set, other values must not be set.", +"format": "double", +"type": "number" +}, +"intVal": { +"description": "Integer value. When this is set, other values must not be set.", +"format": "int32", +"type": "integer" +}, +"mapVal": { +"description": "Map value. The valid key space and units for the corresponding value of each entry should be documented as part of the data type definition. Keys should be kept small whenever possible. Data streams with large keys and high data frequency may be down sampled.", +"items": { +"$ref": "ValueMapValEntry" +}, +"type": "array" +}, +"stringVal": { +"description": "String value. When this is set, other values must not be set. Strings should be kept small whenever possible. Data streams with large string values and high data frequency may be down sampled.", +"type": "string" +} +}, +"type": "object" +}, +"ValueMapValEntry": { +"id": "ValueMapValEntry", +"properties": { +"key": { +"type": "string" +}, +"value": { +"$ref": "MapValue" +} +}, +"type": "object" +} +}, +"servicePath": "fitness/v1/users/", +"title": "Fitness API", +"version": "v1" +} \ No newline at end of file diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/gamesManagement.v1management.json b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/gamesManagement.v1management.json new file mode 100644 index 0000000000000000000000000000000000000000..3e9a4093ebe26abf5f9ce2f1c986ad0310357348 --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/gamesManagement.v1management.json @@ -0,0 +1,782 @@ +{ +"auth": { +"oauth2": { +"scopes": { +"https://www.googleapis.com/auth/games": { +"description": "Create, edit, and delete your Google Play Games activity" +} +} +} +}, +"basePath": "", +"baseUrl": "https://gamesmanagement.googleapis.com/", +"batchPath": "batch", +"canonicalName": "Games Management", +"description": "The Google Play Games Management API allows developers to manage resources from the Google Play Game service.", +"discoveryVersion": "v1", +"documentationLink": "https://developers.google.com/games/", +"fullyEncodeReservedExpansion": true, +"icons": { +"x16": "http://www.google.com/images/icons/product/search-16.gif", +"x32": "http://www.google.com/images/icons/product/search-32.gif" +}, +"id": "gamesManagement:v1management", +"kind": "discovery#restDescription", +"mtlsRootUrl": "https://gamesmanagement.mtls.googleapis.com/", +"name": "gamesManagement", +"ownerDomain": "google.com", +"ownerName": "Google", +"parameters": { +"$.xgafv": { +"description": "V1 error format.", +"enum": [ +"1", +"2" +], +"enumDescriptions": [ +"v1 error format", +"v2 error format" +], +"location": "query", +"type": "string" +}, +"access_token": { +"description": "OAuth access token.", +"location": "query", +"type": "string" +}, +"alt": { +"default": "json", +"description": "Data format for response.", +"enum": [ +"json", +"media", +"proto" +], +"enumDescriptions": [ +"Responses with Content-Type of application/json", +"Media download with context-dependent Content-Type", +"Responses with Content-Type of application/x-protobuf" +], +"location": "query", +"type": "string" +}, +"callback": { +"description": "JSONP", +"location": "query", +"type": "string" +}, +"fields": { +"description": "Selector specifying which fields to include in a partial response.", +"location": "query", +"type": "string" +}, +"key": { +"description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", +"location": "query", +"type": "string" +}, +"oauth_token": { +"description": "OAuth 2.0 token for the current user.", +"location": "query", +"type": "string" +}, +"prettyPrint": { +"default": "true", +"description": "Returns response with indentations and line breaks.", +"location": "query", +"type": "boolean" +}, +"quotaUser": { +"description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.", +"location": "query", +"type": "string" +}, +"uploadType": { +"description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", +"location": "query", +"type": "string" +}, +"upload_protocol": { +"description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", +"location": "query", +"type": "string" +} +}, +"protocol": "rest", +"resources": { +"achievements": { +"methods": { +"reset": { +"description": "Resets the achievement with the given ID for the currently authenticated player. This method is only accessible to whitelisted tester accounts for your application.", +"flatPath": "games/v1management/achievements/{achievementId}/reset", +"httpMethod": "POST", +"id": "gamesManagement.achievements.reset", +"parameterOrder": [ +"achievementId" +], +"parameters": { +"achievementId": { +"description": "The ID of the achievement used by this method.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "games/v1management/achievements/{achievementId}/reset", +"response": { +"$ref": "AchievementResetResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/games" +] +}, +"resetAll": { +"description": "Resets all achievements for the currently authenticated player for your application. This method is only accessible to whitelisted tester accounts for your application.", +"flatPath": "games/v1management/achievements/reset", +"httpMethod": "POST", +"id": "gamesManagement.achievements.resetAll", +"parameterOrder": [], +"parameters": {}, +"path": "games/v1management/achievements/reset", +"response": { +"$ref": "AchievementResetAllResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/games" +] +}, +"resetAllForAllPlayers": { +"description": "Resets all draft achievements for all players. This method is only available to user accounts for your developer console.", +"flatPath": "games/v1management/achievements/resetAllForAllPlayers", +"httpMethod": "POST", +"id": "gamesManagement.achievements.resetAllForAllPlayers", +"parameterOrder": [], +"parameters": {}, +"path": "games/v1management/achievements/resetAllForAllPlayers", +"scopes": [ +"https://www.googleapis.com/auth/games" +] +}, +"resetForAllPlayers": { +"description": "Resets the achievement with the given ID for all players. This method is only available to user accounts for your developer console. Only draft achievements can be reset.", +"flatPath": "games/v1management/achievements/{achievementId}/resetForAllPlayers", +"httpMethod": "POST", +"id": "gamesManagement.achievements.resetForAllPlayers", +"parameterOrder": [ +"achievementId" +], +"parameters": { +"achievementId": { +"description": "The ID of the achievement used by this method.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "games/v1management/achievements/{achievementId}/resetForAllPlayers", +"scopes": [ +"https://www.googleapis.com/auth/games" +] +}, +"resetMultipleForAllPlayers": { +"description": "Resets achievements with the given IDs for all players. This method is only available to user accounts for your developer console. Only draft achievements may be reset.", +"flatPath": "games/v1management/achievements/resetMultipleForAllPlayers", +"httpMethod": "POST", +"id": "gamesManagement.achievements.resetMultipleForAllPlayers", +"parameterOrder": [], +"parameters": {}, +"path": "games/v1management/achievements/resetMultipleForAllPlayers", +"request": { +"$ref": "AchievementResetMultipleForAllRequest" +}, +"scopes": [ +"https://www.googleapis.com/auth/games" +] +} +} +}, +"applications": { +"methods": { +"listHidden": { +"description": "Get the list of players hidden from the given application. This method is only available to user accounts for your developer console.", +"flatPath": "games/v1management/applications/{applicationId}/players/hidden", +"httpMethod": "GET", +"id": "gamesManagement.applications.listHidden", +"parameterOrder": [ +"applicationId" +], +"parameters": { +"applicationId": { +"description": "The application ID from the Google Play developer console.", +"location": "path", +"required": true, +"type": "string" +}, +"maxResults": { +"description": "The maximum number of player resources to return in the response, used for paging. For any response, the actual number of player resources returned may be less than the specified `maxResults`.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The token returned by the previous request.", +"location": "query", +"type": "string" +} +}, +"path": "games/v1management/applications/{applicationId}/players/hidden", +"response": { +"$ref": "HiddenPlayerList" +}, +"scopes": [ +"https://www.googleapis.com/auth/games" +] +} +} +}, +"events": { +"methods": { +"reset": { +"description": "Resets all player progress on the event with the given ID for the currently authenticated player. This method is only accessible to whitelisted tester accounts for your application.", +"flatPath": "games/v1management/events/{eventId}/reset", +"httpMethod": "POST", +"id": "gamesManagement.events.reset", +"parameterOrder": [ +"eventId" +], +"parameters": { +"eventId": { +"description": "The ID of the event.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "games/v1management/events/{eventId}/reset", +"scopes": [ +"https://www.googleapis.com/auth/games" +] +}, +"resetAll": { +"description": "Resets all player progress on all events for the currently authenticated player. This method is only accessible to whitelisted tester accounts for your application.", +"flatPath": "games/v1management/events/reset", +"httpMethod": "POST", +"id": "gamesManagement.events.resetAll", +"parameterOrder": [], +"parameters": {}, +"path": "games/v1management/events/reset", +"scopes": [ +"https://www.googleapis.com/auth/games" +] +}, +"resetAllForAllPlayers": { +"description": "Resets all draft events for all players. This method is only available to user accounts for your developer console.", +"flatPath": "games/v1management/events/resetAllForAllPlayers", +"httpMethod": "POST", +"id": "gamesManagement.events.resetAllForAllPlayers", +"parameterOrder": [], +"parameters": {}, +"path": "games/v1management/events/resetAllForAllPlayers", +"scopes": [ +"https://www.googleapis.com/auth/games" +] +}, +"resetForAllPlayers": { +"description": "Resets the event with the given ID for all players. This method is only available to user accounts for your developer console. Only draft events can be reset.", +"flatPath": "games/v1management/events/{eventId}/resetForAllPlayers", +"httpMethod": "POST", +"id": "gamesManagement.events.resetForAllPlayers", +"parameterOrder": [ +"eventId" +], +"parameters": { +"eventId": { +"description": "The ID of the event.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "games/v1management/events/{eventId}/resetForAllPlayers", +"scopes": [ +"https://www.googleapis.com/auth/games" +] +}, +"resetMultipleForAllPlayers": { +"description": "Resets events with the given IDs for all players. This method is only available to user accounts for your developer console. Only draft events may be reset.", +"flatPath": "games/v1management/events/resetMultipleForAllPlayers", +"httpMethod": "POST", +"id": "gamesManagement.events.resetMultipleForAllPlayers", +"parameterOrder": [], +"parameters": {}, +"path": "games/v1management/events/resetMultipleForAllPlayers", +"request": { +"$ref": "EventsResetMultipleForAllRequest" +}, +"scopes": [ +"https://www.googleapis.com/auth/games" +] +} +} +}, +"players": { +"methods": { +"hide": { +"description": "Hide the given player's leaderboard scores from the given application. This method is only available to user accounts for your developer console.", +"flatPath": "games/v1management/applications/{applicationId}/players/hidden/{playerId}", +"httpMethod": "POST", +"id": "gamesManagement.players.hide", +"parameterOrder": [ +"applicationId", +"playerId" +], +"parameters": { +"applicationId": { +"description": "The application ID from the Google Play developer console.", +"location": "path", +"required": true, +"type": "string" +}, +"playerId": { +"description": "A player ID. A value of `me` may be used in place of the authenticated player's ID.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "games/v1management/applications/{applicationId}/players/hidden/{playerId}", +"scopes": [ +"https://www.googleapis.com/auth/games" +] +}, +"unhide": { +"description": "Unhide the given player's leaderboard scores from the given application. This method is only available to user accounts for your developer console.", +"flatPath": "games/v1management/applications/{applicationId}/players/hidden/{playerId}", +"httpMethod": "DELETE", +"id": "gamesManagement.players.unhide", +"parameterOrder": [ +"applicationId", +"playerId" +], +"parameters": { +"applicationId": { +"description": "The application ID from the Google Play developer console.", +"location": "path", +"required": true, +"type": "string" +}, +"playerId": { +"description": "A player ID. A value of `me` may be used in place of the authenticated player's ID.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "games/v1management/applications/{applicationId}/players/hidden/{playerId}", +"scopes": [ +"https://www.googleapis.com/auth/games" +] +} +} +}, +"scores": { +"methods": { +"reset": { +"description": "Resets scores for the leaderboard with the given ID for the currently authenticated player. This method is only accessible to whitelisted tester accounts for your application.", +"flatPath": "games/v1management/leaderboards/{leaderboardId}/scores/reset", +"httpMethod": "POST", +"id": "gamesManagement.scores.reset", +"parameterOrder": [ +"leaderboardId" +], +"parameters": { +"leaderboardId": { +"description": "The ID of the leaderboard.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "games/v1management/leaderboards/{leaderboardId}/scores/reset", +"response": { +"$ref": "PlayerScoreResetResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/games" +] +}, +"resetAll": { +"description": "Resets all scores for all leaderboards for the currently authenticated players. This method is only accessible to whitelisted tester accounts for your application.", +"flatPath": "games/v1management/scores/reset", +"httpMethod": "POST", +"id": "gamesManagement.scores.resetAll", +"parameterOrder": [], +"parameters": {}, +"path": "games/v1management/scores/reset", +"response": { +"$ref": "PlayerScoreResetAllResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/games" +] +}, +"resetAllForAllPlayers": { +"description": "Resets scores for all draft leaderboards for all players. This method is only available to user accounts for your developer console.", +"flatPath": "games/v1management/scores/resetAllForAllPlayers", +"httpMethod": "POST", +"id": "gamesManagement.scores.resetAllForAllPlayers", +"parameterOrder": [], +"parameters": {}, +"path": "games/v1management/scores/resetAllForAllPlayers", +"scopes": [ +"https://www.googleapis.com/auth/games" +] +}, +"resetForAllPlayers": { +"description": "Resets scores for the leaderboard with the given ID for all players. This method is only available to user accounts for your developer console. Only draft leaderboards can be reset.", +"flatPath": "games/v1management/leaderboards/{leaderboardId}/scores/resetForAllPlayers", +"httpMethod": "POST", +"id": "gamesManagement.scores.resetForAllPlayers", +"parameterOrder": [ +"leaderboardId" +], +"parameters": { +"leaderboardId": { +"description": "The ID of the leaderboard.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "games/v1management/leaderboards/{leaderboardId}/scores/resetForAllPlayers", +"scopes": [ +"https://www.googleapis.com/auth/games" +] +}, +"resetMultipleForAllPlayers": { +"description": "Resets scores for the leaderboards with the given IDs for all players. This method is only available to user accounts for your developer console. Only draft leaderboards may be reset.", +"flatPath": "games/v1management/scores/resetMultipleForAllPlayers", +"httpMethod": "POST", +"id": "gamesManagement.scores.resetMultipleForAllPlayers", +"parameterOrder": [], +"parameters": {}, +"path": "games/v1management/scores/resetMultipleForAllPlayers", +"request": { +"$ref": "ScoresResetMultipleForAllRequest" +}, +"scopes": [ +"https://www.googleapis.com/auth/games" +] +} +} +} +}, +"revision": "20251003", +"rootUrl": "https://gamesmanagement.googleapis.com/", +"schemas": { +"AchievementResetAllResponse": { +"description": "Achievement reset all response.", +"id": "AchievementResetAllResponse", +"properties": { +"kind": { +"description": "Uniquely identifies the type of this resource. Value is always the fixed string `gamesManagement#achievementResetAllResponse`.", +"type": "string" +}, +"results": { +"description": "The achievement reset results.", +"items": { +"$ref": "AchievementResetResponse" +}, +"type": "array" +} +}, +"type": "object" +}, +"AchievementResetMultipleForAllRequest": { +"id": "AchievementResetMultipleForAllRequest", +"properties": { +"achievement_ids": { +"description": "The IDs of achievements to reset.", +"items": { +"type": "string" +}, +"type": "array" +}, +"kind": { +"description": "Uniquely identifies the type of this resource. Value is always the fixed string `gamesManagement#achievementResetMultipleForAllRequest`.", +"type": "string" +} +}, +"type": "object" +}, +"AchievementResetResponse": { +"description": "An achievement reset response.", +"id": "AchievementResetResponse", +"properties": { +"currentState": { +"description": "The current state of the achievement. This is the same as the initial state of the achievement. Possible values are: - \"`HIDDEN`\"- Achievement is hidden. - \"`REVEALED`\" - Achievement is revealed. - \"`UNLOCKED`\" - Achievement is unlocked. ", +"type": "string" +}, +"definitionId": { +"description": "The ID of an achievement for which player state has been updated.", +"type": "string" +}, +"kind": { +"description": "Uniquely identifies the type of this resource. Value is always the fixed string `gamesManagement#achievementResetResponse`.", +"type": "string" +}, +"updateOccurred": { +"description": "Flag to indicate if the requested update actually occurred.", +"type": "boolean" +} +}, +"type": "object" +}, +"EventsResetMultipleForAllRequest": { +"description": "Multiple events reset all request.", +"id": "EventsResetMultipleForAllRequest", +"properties": { +"event_ids": { +"description": "The IDs of events to reset.", +"items": { +"type": "string" +}, +"type": "array" +}, +"kind": { +"description": "Uniquely identifies the type of this resource. Value is always the fixed string `gamesManagement#eventsResetMultipleForAllRequest`.", +"type": "string" +} +}, +"type": "object" +}, +"GamesPlayerExperienceInfoResource": { +"description": "1P/3P metadata about the player's experience.", +"id": "GamesPlayerExperienceInfoResource", +"properties": { +"currentExperiencePoints": { +"description": "The current number of experience points for the player.", +"format": "int64", +"type": "string" +}, +"currentLevel": { +"$ref": "GamesPlayerLevelResource", +"description": "The current level of the player." +}, +"lastLevelUpTimestampMillis": { +"description": "The timestamp when the player was leveled up, in millis since Unix epoch UTC.", +"format": "int64", +"type": "string" +}, +"nextLevel": { +"$ref": "GamesPlayerLevelResource", +"description": "The next level of the player. If the current level is the maximum level, this should be same as the current level." +} +}, +"type": "object" +}, +"GamesPlayerLevelResource": { +"description": "1P/3P metadata about a user's level.", +"id": "GamesPlayerLevelResource", +"properties": { +"level": { +"description": "The level for the user.", +"format": "int32", +"type": "integer" +}, +"maxExperiencePoints": { +"description": "The maximum experience points for this level.", +"format": "int64", +"type": "string" +}, +"minExperiencePoints": { +"description": "The minimum experience points for this level.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"HiddenPlayer": { +"description": "The HiddenPlayer resource.", +"id": "HiddenPlayer", +"properties": { +"hiddenTimeMillis": { +"description": "Output only. The time this player was hidden.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"kind": { +"description": "Output only. Uniquely identifies the type of this resource. Value is always the fixed string `gamesManagement#hiddenPlayer`.", +"readOnly": true, +"type": "string" +}, +"player": { +"$ref": "Player", +"description": "Output only. The player information.", +"readOnly": true +} +}, +"type": "object" +}, +"HiddenPlayerList": { +"description": "A list of hidden players.", +"id": "HiddenPlayerList", +"properties": { +"items": { +"description": "The players.", +"items": { +"$ref": "HiddenPlayer" +}, +"type": "array" +}, +"kind": { +"description": "Uniquely identifies the type of this resource. Value is always the fixed string `gamesManagement#hiddenPlayerList`.", +"type": "string" +}, +"nextPageToken": { +"description": "The pagination token for the next page of results.", +"type": "string" +} +}, +"type": "object" +}, +"Player": { +"description": "A Player resource.", +"id": "Player", +"properties": { +"avatarImageUrl": { +"description": "The base URL for the image that represents the player.", +"type": "string" +}, +"bannerUrlLandscape": { +"description": "The url to the landscape mode player banner image.", +"type": "string" +}, +"bannerUrlPortrait": { +"description": "The url to the portrait mode player banner image.", +"type": "string" +}, +"displayName": { +"description": "The name to display for the player.", +"type": "string" +}, +"experienceInfo": { +"$ref": "GamesPlayerExperienceInfoResource", +"description": "An object to represent Play Game experience information for the player." +}, +"kind": { +"description": "Uniquely identifies the type of this resource. Value is always the fixed string `gamesManagement#player`.", +"type": "string" +}, +"name": { +"description": "An object representation of the individual components of the player's name. For some players, these fields may not be present.", +"properties": { +"familyName": { +"description": "The family name of this player. In some places, this is known as the last name.", +"type": "string" +}, +"givenName": { +"description": "The given name of this player. In some places, this is known as the first name.", +"type": "string" +} +}, +"type": "object" +}, +"originalPlayerId": { +"description": "The player ID that was used for this player the first time they signed into the game in question. This is only populated for calls to player.get for the requesting player, only if the player ID has subsequently changed, and only to clients that support remapping player IDs.", +"type": "string" +}, +"playerId": { +"description": "The ID of the player.", +"type": "string" +}, +"profileSettings": { +"$ref": "ProfileSettings", +"description": "The player's profile settings. Controls whether or not the player's profile is visible to other players." +}, +"title": { +"description": "The player's title rewarded for their game activities.", +"type": "string" +} +}, +"type": "object" +}, +"PlayerScoreResetAllResponse": { +"description": "A list of leaderboard reset resources.", +"id": "PlayerScoreResetAllResponse", +"properties": { +"kind": { +"description": "Uniquely identifies the type of this resource. Value is always the fixed string `gamesManagement#playerScoreResetAllResponse`.", +"type": "string" +}, +"results": { +"description": "The leaderboard reset results.", +"items": { +"$ref": "PlayerScoreResetResponse" +}, +"type": "array" +} +}, +"type": "object" +}, +"PlayerScoreResetResponse": { +"description": "A list of reset leaderboard entry resources.", +"id": "PlayerScoreResetResponse", +"properties": { +"definitionId": { +"description": "The ID of an leaderboard for which player state has been updated.", +"type": "string" +}, +"kind": { +"description": "Uniquely identifies the type of this resource. Value is always the fixed string `gamesManagement#playerScoreResetResponse`.", +"type": "string" +}, +"resetScoreTimeSpans": { +"description": "The time spans of the updated score. Possible values are: - \"`ALL_TIME`\" - The score is an all-time score. - \"`WEEKLY`\" - The score is a weekly score. - \"`DAILY`\" - The score is a daily score. ", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ProfileSettings": { +"description": "Profile settings", +"id": "ProfileSettings", +"properties": { +"kind": { +"description": "Uniquely identifies the type of this resource. Value is always the fixed string `gamesManagement#profileSettings`.", +"type": "string" +}, +"profileVisible": { +"type": "boolean" +} +}, +"type": "object" +}, +"ScoresResetMultipleForAllRequest": { +"id": "ScoresResetMultipleForAllRequest", +"properties": { +"kind": { +"description": "Uniquely identifies the type of this resource. Value is always the fixed string `gamesManagement#scoresResetMultipleForAllRequest`.", +"type": "string" +}, +"leaderboard_ids": { +"description": "The IDs of leaderboards to reset.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +} +}, +"servicePath": "", +"title": "Google Play Games Services Management API", +"version": "v1management" +} \ No newline at end of file diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/genomics.v1alpha2.json b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/genomics.v1alpha2.json new file mode 100644 index 0000000000000000000000000000000000000000..ebadf4939a5e34317e40be5eb2ee13c4de9c6411 --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/genomics.v1alpha2.json @@ -0,0 +1,1293 @@ +{ + "auth": { + "oauth2": { + "scopes": { + "https://www.googleapis.com/auth/cloud-platform": { + "description": "See, edit, configure, and delete your Google Cloud Platform data" + }, + "https://www.googleapis.com/auth/compute": { + "description": "View and manage your Google Compute Engine resources" + }, + "https://www.googleapis.com/auth/genomics": { + "description": "View and manage Genomics data" + } + } + } + }, + "basePath": "", + "baseUrl": "https://genomics.googleapis.com/", + "batchPath": "batch", + "description": "Uploads, processes, queries, and searches Genomics data in the cloud.", + "discoveryVersion": "v1", + "documentationLink": "https://cloud.google.com/genomics", + "fullyEncodeReservedExpansion": true, + "icons": { + "x16": "http://www.google.com/images/icons/product/search-16.gif", + "x32": "http://www.google.com/images/icons/product/search-32.gif" + }, + "id": "genomics:v1alpha2", + "kind": "discovery#restDescription", + "mtlsRootUrl": "https://genomics.mtls.googleapis.com/", + "name": "genomics", + "ownerDomain": "google.com", + "ownerName": "Google", + "parameters": { + "$.xgafv": { + "description": "V1 error format.", + "enum": [ + "1", + "2" + ], + "enumDescriptions": [ + "v1 error format", + "v2 error format" + ], + "location": "query", + "type": "string" + }, + "access_token": { + "description": "OAuth access token.", + "location": "query", + "type": "string" + }, + "alt": { + "default": "json", + "description": "Data format for response.", + "enum": [ + "json", + "media", + "proto" + ], + "enumDescriptions": [ + "Responses with Content-Type of application/json", + "Media download with context-dependent Content-Type", + "Responses with Content-Type of application/x-protobuf" + ], + "location": "query", + "type": "string" + }, + "callback": { + "description": "JSONP", + "location": "query", + "type": "string" + }, + "fields": { + "description": "Selector specifying which fields to include in a partial response.", + "location": "query", + "type": "string" + }, + "key": { + "description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", + "location": "query", + "type": "string" + }, + "oauth_token": { + "description": "OAuth 2.0 token for the current user.", + "location": "query", + "type": "string" + }, + "prettyPrint": { + "default": "true", + "description": "Returns response with indentations and line breaks.", + "location": "query", + "type": "boolean" + }, + "quotaUser": { + "description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.", + "location": "query", + "type": "string" + }, + "uploadType": { + "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", + "location": "query", + "type": "string" + }, + "upload_protocol": { + "description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", + "location": "query", + "type": "string" + } + }, + "protocol": "rest", + "resources": { + "operations": { + "methods": { + "cancel": { + "description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. Clients may use Operations.GetOperation or Operations.ListOperations to check whether the cancellation succeeded or the operation completed despite cancellation. Authorization requires the following [Google IAM](https://cloud.google.com/iam) permission: * `genomics.operations.cancel`", + "flatPath": "v1alpha2/operations/{operationsId}:cancel", + "httpMethod": "POST", + "id": "genomics.operations.cancel", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "The name of the operation resource to be cancelled.", + "location": "path", + "pattern": "^operations/.*$", + "required": true, + "type": "string" + } + }, + "path": "v1alpha2/{+name}:cancel", + "request": { + "$ref": "CancelOperationRequest" + }, + "response": { + "$ref": "Empty" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/genomics" + ] + }, + "get": { + "description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service. Authorization requires the following [Google IAM](https://cloud.google.com/iam) permission: * `genomics.operations.get`", + "flatPath": "v1alpha2/operations/{operationsId}", + "httpMethod": "GET", + "id": "genomics.operations.get", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "The name of the operation resource.", + "location": "path", + "pattern": "^operations/.*$", + "required": true, + "type": "string" + } + }, + "path": "v1alpha2/{+name}", + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/genomics" + ] + }, + "list": { + "description": "Lists operations that match the specified filter in the request. Authorization requires the following [Google IAM](https://cloud.google.com/iam) permission: * `genomics.operations.list`", + "flatPath": "v1alpha2/operations", + "httpMethod": "GET", + "id": "genomics.operations.list", + "parameterOrder": [ + "name" + ], + "parameters": { + "filter": { + "description": "A string for filtering Operations. In v2alpha1, the following filter fields are supported: * createTime: The time this job was created * events: The set of event (names) that have occurred while running the pipeline. The : operator can be used to determine if a particular event has occurred. * error: If the pipeline is running, this value is NULL. Once the pipeline finishes, the value is the standard Google error code. * labels.key or labels.\"key with space\" where key is a label key. * done: If the pipeline is running, this value is false. Once the pipeline finishes, the value is true. In v1 and v1alpha2, the following filter fields are supported: * projectId: Required. Corresponds to OperationMetadata.projectId. * createTime: The time this job was created, in seconds from the [epoch](http://en.wikipedia.org/wiki/Unix_time). Can use `>=` and/or `<=` operators. * status: Can be `RUNNING`, `SUCCESS`, `FAILURE`, or `CANCELED`. Only one status may be specified. * labels.key where key is a label key. Examples: * `projectId = my-project AND createTime >= 1432140000` * `projectId = my-project AND createTime >= 1432140000 AND createTime <= 1432150000 AND status = RUNNING` * `projectId = my-project AND labels.color = *` * `projectId = my-project AND labels.color = red`", + "location": "query", + "type": "string" + }, + "name": { + "description": "The name of the operation's parent resource.", + "location": "path", + "pattern": "^operations$", + "required": true, + "type": "string" + }, + "pageSize": { + "description": "The maximum number of results to return. The maximum value is 256.", + "format": "int32", + "location": "query", + "type": "integer" + }, + "pageToken": { + "description": "The standard list page token.", + "location": "query", + "type": "string" + } + }, + "path": "v1alpha2/{+name}", + "response": { + "$ref": "ListOperationsResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/genomics" + ] + } + } + }, + "pipelines": { + "methods": { + "create": { + "description": "Creates a pipeline that can be run later. Create takes a Pipeline that has all fields other than `pipelineId` populated, and then returns the same pipeline with `pipelineId` populated. This id can be used to run the pipeline. Caller must have WRITE permission to the project.", + "flatPath": "v1alpha2/pipelines", + "httpMethod": "POST", + "id": "genomics.pipelines.create", + "parameterOrder": [], + "parameters": {}, + "path": "v1alpha2/pipelines", + "request": { + "$ref": "Pipeline" + }, + "response": { + "$ref": "Pipeline" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/genomics" + ] + }, + "delete": { + "description": "Deletes a pipeline based on ID. Caller must have WRITE permission to the project.", + "flatPath": "v1alpha2/pipelines/{pipelineId}", + "httpMethod": "DELETE", + "id": "genomics.pipelines.delete", + "parameterOrder": [ + "pipelineId" + ], + "parameters": { + "pipelineId": { + "description": "Caller must have WRITE access to the project in which this pipeline is defined.", + "location": "path", + "required": true, + "type": "string" + } + }, + "path": "v1alpha2/pipelines/{pipelineId}", + "response": { + "$ref": "Empty" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/genomics" + ] + }, + "get": { + "description": "Retrieves a pipeline based on ID. Caller must have READ permission to the project.", + "flatPath": "v1alpha2/pipelines/{pipelineId}", + "httpMethod": "GET", + "id": "genomics.pipelines.get", + "parameterOrder": [ + "pipelineId" + ], + "parameters": { + "pipelineId": { + "description": "Caller must have READ access to the project in which this pipeline is defined.", + "location": "path", + "required": true, + "type": "string" + } + }, + "path": "v1alpha2/pipelines/{pipelineId}", + "response": { + "$ref": "Pipeline" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/genomics" + ] + }, + "getControllerConfig": { + "description": "Gets controller configuration information. Should only be called by VMs created by the Pipelines Service and not by end users.", + "flatPath": "v1alpha2/pipelines:getControllerConfig", + "httpMethod": "GET", + "id": "genomics.pipelines.getControllerConfig", + "parameterOrder": [], + "parameters": { + "operationId": { + "description": "The operation to retrieve controller configuration for.", + "location": "query", + "type": "string" + }, + "validationToken": { + "format": "uint64", + "location": "query", + "type": "string" + } + }, + "path": "v1alpha2/pipelines:getControllerConfig", + "response": { + "$ref": "ControllerConfig" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/genomics" + ] + }, + "list": { + "description": "Lists pipelines. Caller must have READ permission to the project.", + "flatPath": "v1alpha2/pipelines", + "httpMethod": "GET", + "id": "genomics.pipelines.list", + "parameterOrder": [], + "parameters": { + "namePrefix": { + "description": "Pipelines with names that match this prefix should be returned. If unspecified, all pipelines in the project, up to `pageSize`, will be returned.", + "location": "query", + "type": "string" + }, + "pageSize": { + "description": "Number of pipelines to return at once. Defaults to 256, and max is 2048.", + "format": "int32", + "location": "query", + "type": "integer" + }, + "pageToken": { + "description": "Token to use to indicate where to start getting results. If unspecified, returns the first page of results.", + "location": "query", + "type": "string" + }, + "projectId": { + "description": "Required. The name of the project to search for pipelines. Caller must have READ access to this project.", + "location": "query", + "type": "string" + } + }, + "path": "v1alpha2/pipelines", + "response": { + "$ref": "ListPipelinesResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/genomics" + ] + }, + "run": { + "description": "Runs a pipeline. If `pipelineId` is specified in the request, then run a saved pipeline. If `ephemeralPipeline` is specified, then run that pipeline once without saving a copy. The caller must have READ permission to the project where the pipeline is stored and WRITE permission to the project where the pipeline will be run, as VMs will be created and storage will be used. If a pipeline operation is still running after 6 days, it will be canceled.", + "flatPath": "v1alpha2/pipelines:run", + "httpMethod": "POST", + "id": "genomics.pipelines.run", + "parameterOrder": [], + "parameters": {}, + "path": "v1alpha2/pipelines:run", + "request": { + "$ref": "RunPipelineRequest" + }, + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute", + "https://www.googleapis.com/auth/genomics" + ] + }, + "setOperationStatus": { + "description": "Sets status of a given operation. Any new timestamps (as determined by description) are appended to TimestampEvents. Should only be called by VMs created by the Pipelines Service and not by end users.", + "flatPath": "v1alpha2/pipelines:setOperationStatus", + "httpMethod": "PUT", + "id": "genomics.pipelines.setOperationStatus", + "parameterOrder": [], + "parameters": {}, + "path": "v1alpha2/pipelines:setOperationStatus", + "request": { + "$ref": "SetOperationStatusRequest" + }, + "response": { + "$ref": "Empty" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/genomics" + ] + } + } + } + }, + "revision": "20210503", + "rootUrl": "https://genomics.googleapis.com/", + "schemas": { + "CancelOperationRequest": { + "description": "The request message for Operations.CancelOperation.", + "id": "CancelOperationRequest", + "properties": {}, + "type": "object" + }, + "ComputeEngine": { + "description": "Describes a Compute Engine resource that is being managed by a running pipeline.", + "id": "ComputeEngine", + "properties": { + "diskNames": { + "description": "The names of the disks that were created for this pipeline.", + "items": { + "type": "string" + }, + "type": "array" + }, + "instanceName": { + "description": "The instance on which the operation is running.", + "type": "string" + }, + "machineType": { + "description": "The machine type of the instance.", + "type": "string" + }, + "zone": { + "description": "The availability zone in which the instance resides.", + "type": "string" + } + }, + "type": "object" + }, + "ContainerKilledEvent": { + "description": "An event generated when a container is forcibly terminated by the worker. Currently, this only occurs when the container outlives the timeout specified by the user.", + "id": "ContainerKilledEvent", + "properties": { + "actionId": { + "description": "The numeric ID of the action that started the container.", + "format": "int32", + "type": "integer" + } + }, + "type": "object" + }, + "ContainerStartedEvent": { + "description": "An event generated when a container starts.", + "id": "ContainerStartedEvent", + "properties": { + "actionId": { + "description": "The numeric ID of the action that started this container.", + "format": "int32", + "type": "integer" + }, + "ipAddress": { + "description": "The public IP address that can be used to connect to the container. This field is only populated when at least one port mapping is present. If the instance was created with a private address, this field will be empty even if port mappings exist.", + "type": "string" + }, + "portMappings": { + "additionalProperties": { + "format": "int32", + "type": "integer" + }, + "description": "The container-to-host port mappings installed for this container. This set will contain any ports exposed using the `PUBLISH_EXPOSED_PORTS` flag as well as any specified in the `Action` definition.", + "type": "object" + } + }, + "type": "object" + }, + "ContainerStoppedEvent": { + "description": "An event generated when a container exits.", + "id": "ContainerStoppedEvent", + "properties": { + "actionId": { + "description": "The numeric ID of the action that started this container.", + "format": "int32", + "type": "integer" + }, + "exitStatus": { + "description": "The exit status of the container.", + "format": "int32", + "type": "integer" + }, + "stderr": { + "description": "The tail end of any content written to standard error by the container. If the content emits large amounts of debugging noise or contains sensitive information, you can prevent the content from being printed by setting the `DISABLE_STANDARD_ERROR_CAPTURE` flag. Note that only a small amount of the end of the stream is captured here. The entire stream is stored in the `/google/logs` directory mounted into each action, and can be copied off the machine as described elsewhere.", + "type": "string" + } + }, + "type": "object" + }, + "ControllerConfig": { + "description": "Stores the information that the controller will fetch from the server in order to run. Should only be used by VMs created by the Pipelines Service and not by end users.", + "id": "ControllerConfig", + "properties": { + "cmd": { + "type": "string" + }, + "disks": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "gcsLogPath": { + "type": "string" + }, + "gcsSinks": { + "additionalProperties": { + "$ref": "RepeatedString" + }, + "type": "object" + }, + "gcsSources": { + "additionalProperties": { + "$ref": "RepeatedString" + }, + "type": "object" + }, + "image": { + "type": "string" + }, + "machineType": { + "type": "string" + }, + "vars": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + }, + "type": "object" + }, + "DelayedEvent": { + "description": "An event generated whenever a resource limitation or transient error delays execution of a pipeline that was otherwise ready to run.", + "id": "DelayedEvent", + "properties": { + "cause": { + "description": "A textual description of the cause of the delay. The string can change without notice because it is often generated by another service (such as Compute Engine).", + "type": "string" + }, + "metrics": { + "description": "If the delay was caused by a resource shortage, this field lists the Compute Engine metrics that are preventing this operation from running (for example, `CPUS` or `INSTANCES`). If the particular metric is not known, a single `UNKNOWN` metric will be present.", + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "Disk": { + "description": "A Google Compute Engine disk resource specification.", + "id": "Disk", + "properties": { + "autoDelete": { + "description": "Deprecated. Disks created by the Pipelines API will be deleted at the end of the pipeline run, regardless of what this field is set to.", + "type": "boolean" + }, + "mountPoint": { + "description": "Required at create time and cannot be overridden at run time. Specifies the path in the docker container where files on this disk should be located. For example, if `mountPoint` is `/mnt/disk`, and the parameter has `localPath` `inputs/file.txt`, the docker container can access the data at `/mnt/disk/inputs/file.txt`.", + "type": "string" + }, + "name": { + "description": "Required. The name of the disk that can be used in the pipeline parameters. Must be 1 - 63 characters. The name \"boot\" is reserved for system use.", + "type": "string" + }, + "readOnly": { + "description": "Specifies how a sourced-base persistent disk will be mounted. See https://cloud.google.com/compute/docs/disks/persistent-disks#use_multi_instances for more details. Can only be set at create time.", + "type": "boolean" + }, + "sizeGb": { + "description": "The size of the disk. Defaults to 500 (GB). This field is not applicable for local SSD.", + "format": "int32", + "type": "integer" + }, + "source": { + "description": "The full or partial URL of the persistent disk to attach. See https://cloud.google.com/compute/docs/reference/latest/instances#resource and https://cloud.google.com/compute/docs/disks/persistent-disks#snapshots for more details.", + "type": "string" + }, + "type": { + "description": "Required. The type of the disk to create.", + "enum": [ + "TYPE_UNSPECIFIED", + "PERSISTENT_HDD", + "PERSISTENT_SSD", + "LOCAL_SSD" + ], + "enumDescriptions": [ + "Default disk type. Use one of the other options below.", + "Specifies a Google Compute Engine persistent hard disk. See https://cloud.google.com/compute/docs/disks/#pdspecs for details.", + "Specifies a Google Compute Engine persistent solid-state disk. See https://cloud.google.com/compute/docs/disks/#pdspecs for details.", + "Specifies a Google Compute Engine local SSD. See https://cloud.google.com/compute/docs/disks/local-ssd for details." + ], + "type": "string" + } + }, + "type": "object" + }, + "DockerExecutor": { + "description": "The Docker execuctor specification.", + "id": "DockerExecutor", + "properties": { + "cmd": { + "description": "Required. The command or newline delimited script to run. The command string will be executed within a bash shell. If the command exits with a non-zero exit code, output parameter de-localization will be skipped and the pipeline operation's `error` field will be populated. Maximum command string length is 16384.", + "type": "string" + }, + "imageName": { + "description": "Required. Image name from either Docker Hub or Google Container Registry. Users that run pipelines must have READ access to the image.", + "type": "string" + } + }, + "type": "object" + }, + "Empty": { + "description": "A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); } The JSON representation for `Empty` is empty JSON object `{}`.", + "id": "Empty", + "properties": {}, + "type": "object" + }, + "Event": { + "description": "Carries information about events that occur during pipeline execution.", + "id": "Event", + "properties": { + "description": { + "description": "A human-readable description of the event. Note that these strings can change at any time without notice. Any application logic must use the information in the `details` field.", + "type": "string" + }, + "details": { + "additionalProperties": { + "description": "Properties of the object. Contains field @type with type URL.", + "type": "any" + }, + "description": "Machine-readable details about the event.", + "type": "object" + }, + "timestamp": { + "description": "The time at which the event occurred.", + "format": "google-datetime", + "type": "string" + } + }, + "type": "object" + }, + "FailedEvent": { + "description": "An event generated when the execution of a pipeline has failed. Note that other events can continue to occur after this event.", + "id": "FailedEvent", + "properties": { + "cause": { + "description": "The human-readable description of the cause of the failure.", + "type": "string" + }, + "code": { + "description": "The Google standard error code that best describes this failure.", + "enum": [ + "OK", + "CANCELLED", + "UNKNOWN", + "INVALID_ARGUMENT", + "DEADLINE_EXCEEDED", + "NOT_FOUND", + "ALREADY_EXISTS", + "PERMISSION_DENIED", + "UNAUTHENTICATED", + "RESOURCE_EXHAUSTED", + "FAILED_PRECONDITION", + "ABORTED", + "OUT_OF_RANGE", + "UNIMPLEMENTED", + "INTERNAL", + "UNAVAILABLE", + "DATA_LOSS" + ], + "enumDescriptions": [ + "Not an error; returned on success HTTP Mapping: 200 OK", + "The operation was cancelled, typically by the caller. HTTP Mapping: 499 Client Closed Request", + "Unknown error. For example, this error may be returned when a `Status` value received from another address space belongs to an error space that is not known in this address space. Also errors raised by APIs that do not return enough error information may be converted to this error. HTTP Mapping: 500 Internal Server Error", + "The client specified an invalid argument. Note that this differs from `FAILED_PRECONDITION`. `INVALID_ARGUMENT` indicates arguments that are problematic regardless of the state of the system (e.g., a malformed file name). HTTP Mapping: 400 Bad Request", + "The deadline expired before the operation could complete. For operations that change the state of the system, this error may be returned even if the operation has completed successfully. For example, a successful response from a server could have been delayed long enough for the deadline to expire. HTTP Mapping: 504 Gateway Timeout", + "Some requested entity (e.g., file or directory) was not found. Note to server developers: if a request is denied for an entire class of users, such as gradual feature rollout or undocumented allowlist, `NOT_FOUND` may be used. If a request is denied for some users within a class of users, such as user-based access control, `PERMISSION_DENIED` must be used. HTTP Mapping: 404 Not Found", + "The entity that a client attempted to create (e.g., file or directory) already exists. HTTP Mapping: 409 Conflict", + "The caller does not have permission to execute the specified operation. `PERMISSION_DENIED` must not be used for rejections caused by exhausting some resource (use `RESOURCE_EXHAUSTED` instead for those errors). `PERMISSION_DENIED` must not be used if the caller can not be identified (use `UNAUTHENTICATED` instead for those errors). This error code does not imply the request is valid or the requested entity exists or satisfies other pre-conditions. HTTP Mapping: 403 Forbidden", + "The request does not have valid authentication credentials for the operation. HTTP Mapping: 401 Unauthorized", + "Some resource has been exhausted, perhaps a per-user quota, or perhaps the entire file system is out of space. HTTP Mapping: 429 Too Many Requests", + "The operation was rejected because the system is not in a state required for the operation's execution. For example, the directory to be deleted is non-empty, an rmdir operation is applied to a non-directory, etc. Service implementors can use the following guidelines to decide between `FAILED_PRECONDITION`, `ABORTED`, and `UNAVAILABLE`: (a) Use `UNAVAILABLE` if the client can retry just the failing call. (b) Use `ABORTED` if the client should retry at a higher level. For example, when a client-specified test-and-set fails, indicating the client should restart a read-modify-write sequence. (c) Use `FAILED_PRECONDITION` if the client should not retry until the system state has been explicitly fixed. For example, if an \"rmdir\" fails because the directory is non-empty, `FAILED_PRECONDITION` should be returned since the client should not retry unless the files are deleted from the directory. HTTP Mapping: 400 Bad Request", + "The operation was aborted, typically due to a concurrency issue such as a sequencer check failure or transaction abort. See the guidelines above for deciding between `FAILED_PRECONDITION`, `ABORTED`, and `UNAVAILABLE`. HTTP Mapping: 409 Conflict", + "The operation was attempted past the valid range. E.g., seeking or reading past end-of-file. Unlike `INVALID_ARGUMENT`, this error indicates a problem that may be fixed if the system state changes. For example, a 32-bit file system will generate `INVALID_ARGUMENT` if asked to read at an offset that is not in the range [0,2^32-1], but it will generate `OUT_OF_RANGE` if asked to read from an offset past the current file size. There is a fair bit of overlap between `FAILED_PRECONDITION` and `OUT_OF_RANGE`. We recommend using `OUT_OF_RANGE` (the more specific error) when it applies so that callers who are iterating through a space can easily look for an `OUT_OF_RANGE` error to detect when they are done. HTTP Mapping: 400 Bad Request", + "The operation is not implemented or is not supported/enabled in this service. HTTP Mapping: 501 Not Implemented", + "Internal errors. This means that some invariants expected by the underlying system have been broken. This error code is reserved for serious errors. HTTP Mapping: 500 Internal Server Error", + "The service is currently unavailable. This is most likely a transient condition, which can be corrected by retrying with a backoff. Note that it is not always safe to retry non-idempotent operations. See the guidelines above for deciding between `FAILED_PRECONDITION`, `ABORTED`, and `UNAVAILABLE`. HTTP Mapping: 503 Service Unavailable", + "Unrecoverable data loss or corruption. HTTP Mapping: 500 Internal Server Error" + ], + "type": "string" + } + }, + "type": "object" + }, + "ListOperationsResponse": { + "description": "The response message for Operations.ListOperations.", + "id": "ListOperationsResponse", + "properties": { + "nextPageToken": { + "description": "The standard List next-page token.", + "type": "string" + }, + "operations": { + "description": "A list of operations that matches the specified filter in the request.", + "items": { + "$ref": "Operation" + }, + "type": "array" + } + }, + "type": "object" + }, + "ListPipelinesResponse": { + "description": "The response of ListPipelines. Contains at most `pageSize` pipelines. If it contains `pageSize` pipelines, and more pipelines exist, then `nextPageToken` will be populated and should be used as the `pageToken` argument to a subsequent ListPipelines request.", + "id": "ListPipelinesResponse", + "properties": { + "nextPageToken": { + "description": "The token to use to get the next page of results.", + "type": "string" + }, + "pipelines": { + "description": "The matched pipelines.", + "items": { + "$ref": "Pipeline" + }, + "type": "array" + } + }, + "type": "object" + }, + "LocalCopy": { + "description": "LocalCopy defines how a remote file should be copied to and from the VM.", + "id": "LocalCopy", + "properties": { + "disk": { + "description": "Required. The name of the disk where this parameter is located. Can be the name of one of the disks specified in the Resources field, or \"boot\", which represents the Docker instance's boot disk and has a mount point of `/`.", + "type": "string" + }, + "path": { + "description": "Required. The path within the user's docker container where this input should be localized to and from, relative to the specified disk's mount point. For example: file.txt,", + "type": "string" + } + }, + "type": "object" + }, + "LoggingOptions": { + "description": "The logging options for the pipeline run.", + "id": "LoggingOptions", + "properties": { + "gcsPath": { + "description": "The location in Google Cloud Storage to which the pipeline logs will be copied. Can be specified as a fully qualified directory path, in which case logs will be output with a unique identifier as the filename in that directory, or as a fully specified path, which must end in `.log`, in which case that path will be used, and the user must ensure that logs are not overwritten. Stdout and stderr logs from the run are also generated and output as `-stdout.log` and `-stderr.log`.", + "type": "string" + } + }, + "type": "object" + }, + "Operation": { + "description": "This resource represents a long-running operation that is the result of a network API call.", + "id": "Operation", + "properties": { + "done": { + "description": "If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.", + "type": "boolean" + }, + "error": { + "$ref": "Status", + "description": "The error result of the operation in case of failure or cancellation." + }, + "metadata": { + "additionalProperties": { + "description": "Properties of the object. Contains field @type with type URL.", + "type": "any" + }, + "description": "An OperationMetadata or Metadata object. This will always be returned with the Operation.", + "type": "object" + }, + "name": { + "description": "The server-assigned name, which is only unique within the same service that originally returns it. For example: `operations/CJHU7Oi_ChDrveSpBRjfuL-qzoWAgEw`", + "type": "string" + }, + "response": { + "additionalProperties": { + "description": "Properties of the object. Contains field @type with type URL.", + "type": "any" + }, + "description": "An Empty object.", + "type": "object" + } + }, + "type": "object" + }, + "OperationEvent": { + "description": "An event that occurred during an Operation.", + "id": "OperationEvent", + "properties": { + "description": { + "description": "Required description of event.", + "type": "string" + }, + "endTime": { + "description": "Optional time of when event finished. An event can have a start time and no finish time. If an event has a finish time, there must be a start time.", + "format": "google-datetime", + "type": "string" + }, + "startTime": { + "description": "Optional time of when event started.", + "format": "google-datetime", + "type": "string" + } + }, + "type": "object" + }, + "OperationMetadata": { + "description": "Metadata describing an Operation.", + "id": "OperationMetadata", + "properties": { + "clientId": { + "description": "This field is deprecated. Use `labels` instead. Optionally provided by the caller when submitting the request that creates the operation.", + "type": "string" + }, + "createTime": { + "description": "The time at which the job was submitted to the Genomics service.", + "format": "google-datetime", + "type": "string" + }, + "endTime": { + "description": "The time at which the job stopped running.", + "format": "google-datetime", + "type": "string" + }, + "events": { + "description": "Optional event messages that were generated during the job's execution. This also contains any warnings that were generated during import or export.", + "items": { + "$ref": "OperationEvent" + }, + "type": "array" + }, + "labels": { + "additionalProperties": { + "type": "string" + }, + "description": "Optionally provided by the caller when submitting the request that creates the operation.", + "type": "object" + }, + "projectId": { + "description": "The Google Cloud Project in which the job is scoped.", + "type": "string" + }, + "request": { + "additionalProperties": { + "description": "Properties of the object. Contains field @type with type URL.", + "type": "any" + }, + "description": "The original request that started the operation. Note that this will be in current version of the API. If the operation was started with v1beta2 API and a GetOperation is performed on v1 API, a v1 request will be returned.", + "type": "object" + }, + "runtimeMetadata": { + "additionalProperties": { + "description": "Properties of the object. Contains field @type with type URL.", + "type": "any" + }, + "description": "Runtime metadata on this Operation.", + "type": "object" + }, + "startTime": { + "description": "The time at which the job began to run.", + "format": "google-datetime", + "type": "string" + } + }, + "type": "object" + }, + "Pipeline": { + "description": "The pipeline object. Represents a transformation from a set of input parameters to a set of output parameters. The transformation is defined as a docker image and command to run within that image. Each pipeline is run on a Google Compute Engine VM. A pipeline can be created with the `create` method and then later run with the `run` method, or a pipeline can be defined and run all at once with the `run` method.", + "id": "Pipeline", + "properties": { + "description": { + "description": "User-specified description.", + "type": "string" + }, + "docker": { + "$ref": "DockerExecutor", + "description": "Specifies the docker run information." + }, + "inputParameters": { + "description": "Input parameters of the pipeline.", + "items": { + "$ref": "PipelineParameter" + }, + "type": "array" + }, + "name": { + "description": "Required. A user specified pipeline name that does not have to be unique. This name can be used for filtering Pipelines in ListPipelines.", + "type": "string" + }, + "outputParameters": { + "description": "Output parameters of the pipeline.", + "items": { + "$ref": "PipelineParameter" + }, + "type": "array" + }, + "pipelineId": { + "description": "Unique pipeline id that is generated by the service when CreatePipeline is called. Cannot be specified in the Pipeline used in the CreatePipelineRequest, and will be populated in the response to CreatePipeline and all subsequent Get and List calls. Indicates that the service has registered this pipeline.", + "type": "string" + }, + "projectId": { + "description": "Required. The project in which to create the pipeline. The caller must have WRITE access.", + "type": "string" + }, + "resources": { + "$ref": "PipelineResources", + "description": "Required. Specifies resource requirements for the pipeline run. Required fields: * minimumCpuCores * minimumRamGb" + } + }, + "type": "object" + }, + "PipelineParameter": { + "description": "Parameters facilitate setting and delivering data into the pipeline's execution environment. They are defined at create time, with optional defaults, and can be overridden at run time. If `localCopy` is unset, then the parameter specifies a string that is passed as-is into the pipeline, as the value of the environment variable with the given name. A default value can be optionally specified at create time. The default can be overridden at run time using the inputs map. If no default is given, a value must be supplied at runtime. If `localCopy` is defined, then the parameter specifies a data source or sink, both in Google Cloud Storage and on the Docker container where the pipeline computation is run. The service account associated with the Pipeline (by default the project's Compute Engine service account) must have access to the Google Cloud Storage paths. At run time, the Google Cloud Storage paths can be overridden if a default was provided at create time, or must be set otherwise. The pipeline runner should add a key/value pair to either the inputs or outputs map. The indicated data copies will be carried out before/after pipeline execution, just as if the corresponding arguments were provided to `gsutil cp`. For example: Given the following `PipelineParameter`, specified in the `inputParameters` list: ``` {name: \"input_file\", localCopy: {path: \"file.txt\", disk: \"pd1\"}} ``` where `disk` is defined in the `PipelineResources` object as: ``` {name: \"pd1\", mountPoint: \"/mnt/disk/\"} ``` We create a disk named `pd1`, mount it on the host VM, and map `/mnt/pd1` to `/mnt/disk` in the docker container. At runtime, an entry for `input_file` would be required in the inputs map, such as: ``` inputs[\"input_file\"] = \"gs://my-bucket/bar.txt\" ``` This would generate the following gsutil call: ``` gsutil cp gs://my-bucket/bar.txt /mnt/pd1/file.txt ``` The file `/mnt/pd1/file.txt` maps to `/mnt/disk/file.txt` in the Docker container. Acceptable paths are: Google Cloud storage pathLocal path file file glob directory For outputs, the direction of the copy is reversed: ``` gsutil cp /mnt/disk/file.txt gs://my-bucket/bar.txt ``` Acceptable paths are: Local pathGoogle Cloud Storage path file file file directory - directory must already exist glob directory - directory will be created if it doesn't exist One restriction due to docker limitations, is that for outputs that are found on the boot disk, the local path cannot be a glob and must be a file.", + "id": "PipelineParameter", + "properties": { + "defaultValue": { + "description": "The default value for this parameter. Can be overridden at runtime. If `localCopy` is present, then this must be a Google Cloud Storage path beginning with `gs://`.", + "type": "string" + }, + "description": { + "description": "Human-readable description.", + "type": "string" + }, + "localCopy": { + "$ref": "LocalCopy", + "description": "If present, this parameter is marked for copying to and from the VM. `LocalCopy` indicates where on the VM the file should be. The value given to this parameter (either at runtime or using `defaultValue`) must be the remote path where the file should be." + }, + "name": { + "description": "Required. Name of the parameter - the pipeline runner uses this string as the key to the input and output maps in RunPipeline.", + "type": "string" + } + }, + "type": "object" + }, + "PipelineResources": { + "description": "The system resources for the pipeline run.", + "id": "PipelineResources", + "properties": { + "acceleratorCount": { + "description": "Optional. The number of accelerators of the specified type to attach. By specifying this parameter, you will download and install the following third-party software onto your managed Compute Engine instances: NVIDIA\u00ae Tesla\u00ae drivers and NVIDIA\u00ae CUDA toolkit.", + "format": "int64", + "type": "string" + }, + "acceleratorType": { + "description": "Optional. The Compute Engine defined accelerator type. By specifying this parameter, you will download and install the following third-party software onto your managed Compute Engine instances: NVIDIA\u00ae Tesla\u00ae drivers and NVIDIA\u00ae CUDA toolkit. Please see https://cloud.google.com/compute/docs/gpus/ for a list of available accelerator types.", + "type": "string" + }, + "bootDiskSizeGb": { + "description": "The size of the boot disk. Defaults to 10 (GB).", + "format": "int32", + "type": "integer" + }, + "disks": { + "description": "Disks to attach.", + "items": { + "$ref": "Disk" + }, + "type": "array" + }, + "minimumCpuCores": { + "description": "The minimum number of cores to use. Defaults to 1.", + "format": "int32", + "type": "integer" + }, + "minimumRamGb": { + "description": "The minimum amount of RAM to use. Defaults to 3.75 (GB)", + "format": "double", + "type": "number" + }, + "noAddress": { + "description": "Whether to assign an external IP to the instance. This is an experimental feature that may go away. Defaults to false. Corresponds to `--no_address` flag for [gcloud compute instances create] (https://cloud.google.com/sdk/gcloud/reference/compute/instances/create). In order to use this, must be true for both create time and run time. Cannot be true at run time if false at create time. If you need to ssh into a private IP VM for debugging, you can ssh to a public VM and then ssh into the private VM's Internal IP. If noAddress is set, this pipeline run may only load docker images from Google Container Registry and not Docker Hub. Before using this, you must [configure access to Google services from internal IPs](https://cloud.google.com/compute/docs/configure-private-google-access#configuring_access_to_google_services_from_internal_ips).", + "type": "boolean" + }, + "preemptible": { + "description": "Whether to use preemptible VMs. Defaults to `false`. In order to use this, must be true for both create time and run time. Cannot be true at run time if false at create time.", + "type": "boolean" + }, + "zones": { + "description": "List of Google Compute Engine availability zones to which resource creation will restricted. If empty, any zone may be chosen.", + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "PullStartedEvent": { + "description": "An event generated when the worker starts pulling an image.", + "id": "PullStartedEvent", + "properties": { + "imageUri": { + "description": "The URI of the image that was pulled.", + "type": "string" + } + }, + "type": "object" + }, + "PullStoppedEvent": { + "description": "An event generated when the worker stops pulling an image.", + "id": "PullStoppedEvent", + "properties": { + "imageUri": { + "description": "The URI of the image that was pulled.", + "type": "string" + } + }, + "type": "object" + }, + "RepeatedString": { + "id": "RepeatedString", + "properties": { + "values": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "RunPipelineArgs": { + "description": "The pipeline run arguments.", + "id": "RunPipelineArgs", + "properties": { + "clientId": { + "description": "This field is deprecated. Use `labels` instead. Client-specified pipeline operation identifier.", + "type": "string" + }, + "inputs": { + "additionalProperties": { + "type": "string" + }, + "description": "Pipeline input arguments; keys are defined in the pipeline documentation. All input parameters that do not have default values must be specified. If parameters with defaults are specified here, the defaults will be overridden.", + "type": "object" + }, + "keepVmAliveOnFailureDuration": { + "description": "How long to keep the VM up after a failure (for example docker command failed, copying input or output files failed, etc). While the VM is up, one can ssh into the VM to debug. Default is 0; maximum allowed value is 1 day.", + "format": "google-duration", + "type": "string" + }, + "labels": { + "additionalProperties": { + "type": "string" + }, + "description": "Labels to apply to this pipeline run. Labels will also be applied to compute resources (VM, disks) created by this pipeline run. When listing operations, operations can filtered by labels. Label keys may not be empty; label values may be empty. Non-empty labels must be 1-63 characters long, and comply with [RFC1035] (https://www.ietf.org/rfc/rfc1035.txt). Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.", + "type": "object" + }, + "logging": { + "$ref": "LoggingOptions", + "description": "Required. Logging options. Used by the service to communicate results to the user." + }, + "outputs": { + "additionalProperties": { + "type": "string" + }, + "description": "Pipeline output arguments; keys are defined in the pipeline documentation. All output parameters of without default values must be specified. If parameters with defaults are specified here, the defaults will be overridden.", + "type": "object" + }, + "projectId": { + "description": "Required. The project in which to run the pipeline. The caller must have WRITER access to all Google Cloud services and resources (e.g. Google Compute Engine) will be used.", + "type": "string" + }, + "resources": { + "$ref": "PipelineResources", + "description": "Specifies resource requirements/overrides for the pipeline run." + }, + "serviceAccount": { + "$ref": "ServiceAccount", + "description": "The Google Cloud Service Account that will be used to access data and services. By default, the compute service account associated with `projectId` is used." + } + }, + "type": "object" + }, + "RunPipelineRequest": { + "description": "The request to run a pipeline. If `pipelineId` is specified, it refers to a saved pipeline created with CreatePipeline and set as the `pipelineId` of the returned Pipeline object. If `ephemeralPipeline` is specified, that pipeline is run once with the given args and not saved. It is an error to specify both `pipelineId` and `ephemeralPipeline`. `pipelineArgs` must be specified.", + "id": "RunPipelineRequest", + "properties": { + "ephemeralPipeline": { + "$ref": "Pipeline", + "description": "A new pipeline object to run once and then delete." + }, + "pipelineArgs": { + "$ref": "RunPipelineArgs", + "description": "The arguments to use when running this pipeline." + }, + "pipelineId": { + "description": "The already created pipeline to run.", + "type": "string" + } + }, + "type": "object" + }, + "RunPipelineResponse": { + "description": "The response to the RunPipeline method, returned in the operation's result field on success.", + "id": "RunPipelineResponse", + "properties": {}, + "type": "object" + }, + "RuntimeMetadata": { + "description": "Runtime metadata that will be populated in the runtimeMetadata field of the Operation associated with a RunPipeline execution.", + "id": "RuntimeMetadata", + "properties": { + "computeEngine": { + "$ref": "ComputeEngine", + "description": "Execution information specific to Google Compute Engine." + } + }, + "type": "object" + }, + "ServiceAccount": { + "description": "A Google Cloud Service Account.", + "id": "ServiceAccount", + "properties": { + "email": { + "description": "Email address of the service account. Defaults to `default`, which uses the compute service account associated with the project.", + "type": "string" + }, + "scopes": { + "description": "List of scopes to be enabled for this service account on the VM. The following scopes are automatically included: * https://www.googleapis.com/auth/compute * https://www.googleapis.com/auth/devstorage.full_control * https://www.googleapis.com/auth/genomics * https://www.googleapis.com/auth/logging.write * https://www.googleapis.com/auth/monitoring.write", + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "SetOperationStatusRequest": { + "description": "Request to set operation status. Should only be used by VMs created by the Pipelines Service and not by end users.", + "id": "SetOperationStatusRequest", + "properties": { + "errorCode": { + "enum": [ + "OK", + "CANCELLED", + "UNKNOWN", + "INVALID_ARGUMENT", + "DEADLINE_EXCEEDED", + "NOT_FOUND", + "ALREADY_EXISTS", + "PERMISSION_DENIED", + "UNAUTHENTICATED", + "RESOURCE_EXHAUSTED", + "FAILED_PRECONDITION", + "ABORTED", + "OUT_OF_RANGE", + "UNIMPLEMENTED", + "INTERNAL", + "UNAVAILABLE", + "DATA_LOSS" + ], + "enumDescriptions": [ + "Not an error; returned on success HTTP Mapping: 200 OK", + "The operation was cancelled, typically by the caller. HTTP Mapping: 499 Client Closed Request", + "Unknown error. For example, this error may be returned when a `Status` value received from another address space belongs to an error space that is not known in this address space. Also errors raised by APIs that do not return enough error information may be converted to this error. HTTP Mapping: 500 Internal Server Error", + "The client specified an invalid argument. Note that this differs from `FAILED_PRECONDITION`. `INVALID_ARGUMENT` indicates arguments that are problematic regardless of the state of the system (e.g., a malformed file name). HTTP Mapping: 400 Bad Request", + "The deadline expired before the operation could complete. For operations that change the state of the system, this error may be returned even if the operation has completed successfully. For example, a successful response from a server could have been delayed long enough for the deadline to expire. HTTP Mapping: 504 Gateway Timeout", + "Some requested entity (e.g., file or directory) was not found. Note to server developers: if a request is denied for an entire class of users, such as gradual feature rollout or undocumented allowlist, `NOT_FOUND` may be used. If a request is denied for some users within a class of users, such as user-based access control, `PERMISSION_DENIED` must be used. HTTP Mapping: 404 Not Found", + "The entity that a client attempted to create (e.g., file or directory) already exists. HTTP Mapping: 409 Conflict", + "The caller does not have permission to execute the specified operation. `PERMISSION_DENIED` must not be used for rejections caused by exhausting some resource (use `RESOURCE_EXHAUSTED` instead for those errors). `PERMISSION_DENIED` must not be used if the caller can not be identified (use `UNAUTHENTICATED` instead for those errors). This error code does not imply the request is valid or the requested entity exists or satisfies other pre-conditions. HTTP Mapping: 403 Forbidden", + "The request does not have valid authentication credentials for the operation. HTTP Mapping: 401 Unauthorized", + "Some resource has been exhausted, perhaps a per-user quota, or perhaps the entire file system is out of space. HTTP Mapping: 429 Too Many Requests", + "The operation was rejected because the system is not in a state required for the operation's execution. For example, the directory to be deleted is non-empty, an rmdir operation is applied to a non-directory, etc. Service implementors can use the following guidelines to decide between `FAILED_PRECONDITION`, `ABORTED`, and `UNAVAILABLE`: (a) Use `UNAVAILABLE` if the client can retry just the failing call. (b) Use `ABORTED` if the client should retry at a higher level. For example, when a client-specified test-and-set fails, indicating the client should restart a read-modify-write sequence. (c) Use `FAILED_PRECONDITION` if the client should not retry until the system state has been explicitly fixed. For example, if an \"rmdir\" fails because the directory is non-empty, `FAILED_PRECONDITION` should be returned since the client should not retry unless the files are deleted from the directory. HTTP Mapping: 400 Bad Request", + "The operation was aborted, typically due to a concurrency issue such as a sequencer check failure or transaction abort. See the guidelines above for deciding between `FAILED_PRECONDITION`, `ABORTED`, and `UNAVAILABLE`. HTTP Mapping: 409 Conflict", + "The operation was attempted past the valid range. E.g., seeking or reading past end-of-file. Unlike `INVALID_ARGUMENT`, this error indicates a problem that may be fixed if the system state changes. For example, a 32-bit file system will generate `INVALID_ARGUMENT` if asked to read at an offset that is not in the range [0,2^32-1], but it will generate `OUT_OF_RANGE` if asked to read from an offset past the current file size. There is a fair bit of overlap between `FAILED_PRECONDITION` and `OUT_OF_RANGE`. We recommend using `OUT_OF_RANGE` (the more specific error) when it applies so that callers who are iterating through a space can easily look for an `OUT_OF_RANGE` error to detect when they are done. HTTP Mapping: 400 Bad Request", + "The operation is not implemented or is not supported/enabled in this service. HTTP Mapping: 501 Not Implemented", + "Internal errors. This means that some invariants expected by the underlying system have been broken. This error code is reserved for serious errors. HTTP Mapping: 500 Internal Server Error", + "The service is currently unavailable. This is most likely a transient condition, which can be corrected by retrying with a backoff. Note that it is not always safe to retry non-idempotent operations. See the guidelines above for deciding between `FAILED_PRECONDITION`, `ABORTED`, and `UNAVAILABLE`. HTTP Mapping: 503 Service Unavailable", + "Unrecoverable data loss or corruption. HTTP Mapping: 500 Internal Server Error" + ], + "type": "string" + }, + "errorMessage": { + "type": "string" + }, + "operationId": { + "type": "string" + }, + "timestampEvents": { + "items": { + "$ref": "TimestampEvent" + }, + "type": "array" + }, + "validationToken": { + "format": "uint64", + "type": "string" + } + }, + "type": "object" + }, + "Status": { + "description": "The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors).", + "id": "Status", + "properties": { + "code": { + "description": "The status code, which should be an enum value of google.rpc.Code.", + "format": "int32", + "type": "integer" + }, + "details": { + "description": "A list of messages that carry the error details. There is a common set of message types for APIs to use.", + "items": { + "additionalProperties": { + "description": "Properties of the object. Contains field @type with type URL.", + "type": "any" + }, + "type": "object" + }, + "type": "array" + }, + "message": { + "description": "A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.", + "type": "string" + } + }, + "type": "object" + }, + "TimestampEvent": { + "description": "Stores the list of events and times they occured for major events in job execution.", + "id": "TimestampEvent", + "properties": { + "description": { + "description": "String indicating the type of event", + "type": "string" + }, + "timestamp": { + "description": "The time this event occured.", + "format": "google-datetime", + "type": "string" + } + }, + "type": "object" + }, + "UnexpectedExitStatusEvent": { + "description": "An event generated when the execution of a container results in a non-zero exit status that was not otherwise ignored. Execution will continue, but only actions that are flagged as `ALWAYS_RUN` will be executed. Other actions will be skipped.", + "id": "UnexpectedExitStatusEvent", + "properties": { + "actionId": { + "description": "The numeric ID of the action that started the container.", + "format": "int32", + "type": "integer" + }, + "exitStatus": { + "description": "The exit status of the container.", + "format": "int32", + "type": "integer" + } + }, + "type": "object" + }, + "WorkerAssignedEvent": { + "description": "An event generated after a worker VM has been assigned to run the pipeline.", + "id": "WorkerAssignedEvent", + "properties": { + "instance": { + "description": "The worker's instance name.", + "type": "string" + }, + "machineType": { + "description": "The machine type that was assigned for the worker.", + "type": "string" + }, + "zone": { + "description": "The zone the worker is running in.", + "type": "string" + } + }, + "type": "object" + }, + "WorkerReleasedEvent": { + "description": "An event generated when the worker VM that was assigned to the pipeline has been released (deleted).", + "id": "WorkerReleasedEvent", + "properties": { + "instance": { + "description": "The worker's instance name.", + "type": "string" + }, + "zone": { + "description": "The zone the worker was running in.", + "type": "string" + } + }, + "type": "object" + } + }, + "servicePath": "", + "title": "Genomics API", + "version": "v1alpha2" +} \ No newline at end of file diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/genomics.v2alpha1.json b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/genomics.v2alpha1.json new file mode 100644 index 0000000000000000000000000000000000000000..b34ec2944555581ee48e4e9262a00910718d9737 --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/genomics.v2alpha1.json @@ -0,0 +1,1257 @@ +{ + "auth": { + "oauth2": { + "scopes": { + "https://www.googleapis.com/auth/cloud-platform": { + "description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." + }, + "https://www.googleapis.com/auth/genomics": { + "description": "View and manage Genomics data" + } + } + } + }, + "basePath": "", + "baseUrl": "https://genomics.googleapis.com/", + "batchPath": "batch", + "description": "Uploads, processes, queries, and searches Genomics data in the cloud.", + "discoveryVersion": "v1", + "documentationLink": "https://cloud.google.com/genomics", + "fullyEncodeReservedExpansion": true, + "icons": { + "x16": "http://www.google.com/images/icons/product/search-16.gif", + "x32": "http://www.google.com/images/icons/product/search-32.gif" + }, + "id": "genomics:v2alpha1", + "kind": "discovery#restDescription", + "mtlsRootUrl": "https://genomics.mtls.googleapis.com/", + "name": "genomics", + "ownerDomain": "google.com", + "ownerName": "Google", + "parameters": { + "$.xgafv": { + "description": "V1 error format.", + "enum": [ + "1", + "2" + ], + "enumDescriptions": [ + "v1 error format", + "v2 error format" + ], + "location": "query", + "type": "string" + }, + "access_token": { + "description": "OAuth access token.", + "location": "query", + "type": "string" + }, + "alt": { + "default": "json", + "description": "Data format for response.", + "enum": [ + "json", + "media", + "proto" + ], + "enumDescriptions": [ + "Responses with Content-Type of application/json", + "Media download with context-dependent Content-Type", + "Responses with Content-Type of application/x-protobuf" + ], + "location": "query", + "type": "string" + }, + "callback": { + "description": "JSONP", + "location": "query", + "type": "string" + }, + "fields": { + "description": "Selector specifying which fields to include in a partial response.", + "location": "query", + "type": "string" + }, + "key": { + "description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", + "location": "query", + "type": "string" + }, + "oauth_token": { + "description": "OAuth 2.0 token for the current user.", + "location": "query", + "type": "string" + }, + "prettyPrint": { + "default": "true", + "description": "Returns response with indentations and line breaks.", + "location": "query", + "type": "boolean" + }, + "quotaUser": { + "description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.", + "location": "query", + "type": "string" + }, + "uploadType": { + "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", + "location": "query", + "type": "string" + }, + "upload_protocol": { + "description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", + "location": "query", + "type": "string" + } + }, + "protocol": "rest", + "resources": { + "pipelines": { + "methods": { + "run": { + "description": "Runs a pipeline. The returned Operation's metadata field will contain a google.genomics.v2alpha1.Metadata object describing the status of the pipeline execution. The [response] field will contain a google.genomics.v2alpha1.RunPipelineResponse object if the pipeline completes successfully. **Note:** Before you can use this method, the Genomics Service Agent must have access to your project. This is done automatically when the Cloud Genomics API is first enabled, but if you delete this permission, or if you enabled the Cloud Genomics API before the v2alpha1 API launch, you must disable and re-enable the API to grant the Genomics Service Agent the required permissions. Authorization requires the following [Google IAM](https://cloud.google.com/iam/) permission: * `genomics.operations.create` [1]: /genomics/gsa", + "flatPath": "v2alpha1/pipelines:run", + "httpMethod": "POST", + "id": "genomics.pipelines.run", + "parameterOrder": [], + "parameters": {}, + "path": "v2alpha1/pipelines:run", + "request": { + "$ref": "RunPipelineRequest" + }, + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/genomics" + ] + } + } + }, + "projects": { + "resources": { + "operations": { + "methods": { + "cancel": { + "description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. Clients may use Operations.GetOperation or Operations.ListOperations to check whether the cancellation succeeded or the operation completed despite cancellation. Authorization requires the following [Google IAM](https://cloud.google.com/iam) permission: * `genomics.operations.cancel`", + "flatPath": "v2alpha1/projects/{projectsId}/operations/{operationsId}:cancel", + "httpMethod": "POST", + "id": "genomics.projects.operations.cancel", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "The name of the operation resource to be cancelled.", + "location": "path", + "pattern": "^projects/[^/]+/operations/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v2alpha1/{+name}:cancel", + "request": { + "$ref": "CancelOperationRequest" + }, + "response": { + "$ref": "Empty" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/genomics" + ] + }, + "get": { + "description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service. Authorization requires the following [Google IAM](https://cloud.google.com/iam) permission: * `genomics.operations.get`", + "flatPath": "v2alpha1/projects/{projectsId}/operations/{operationsId}", + "httpMethod": "GET", + "id": "genomics.projects.operations.get", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "The name of the operation resource.", + "location": "path", + "pattern": "^projects/[^/]+/operations/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v2alpha1/{+name}", + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/genomics" + ] + }, + "list": { + "description": "Lists operations that match the specified filter in the request. Authorization requires the following [Google IAM](https://cloud.google.com/iam) permission: * `genomics.operations.list`", + "flatPath": "v2alpha1/projects/{projectsId}/operations", + "httpMethod": "GET", + "id": "genomics.projects.operations.list", + "parameterOrder": [ + "name" + ], + "parameters": { + "filter": { + "description": "A string for filtering Operations. In v2alpha1, the following filter fields are supported: * createTime: The time this job was created * events: The set of event (names) that have occurred while running the pipeline. The : operator can be used to determine if a particular event has occurred. * error: If the pipeline is running, this value is NULL. Once the pipeline finishes, the value is the standard Google error code. * labels.key or labels.\"key with space\" where key is a label key. * done: If the pipeline is running, this value is false. Once the pipeline finishes, the value is true. Examples: * `projectId = my-project AND createTime >= 1432140000` * `projectId = my-project AND createTime >= 1432140000 AND createTime <= 1432150000 AND status = RUNNING` * `projectId = my-project AND labels.color = *` * `projectId = my-project AND labels.color = red`", + "location": "query", + "type": "string" + }, + "name": { + "description": "The name of the operation's parent resource.", + "location": "path", + "pattern": "^projects/[^/]+/operations$", + "required": true, + "type": "string" + }, + "pageSize": { + "description": "The maximum number of results to return. The maximum value is 256.", + "format": "int32", + "location": "query", + "type": "integer" + }, + "pageToken": { + "description": "The standard list page token.", + "location": "query", + "type": "string" + } + }, + "path": "v2alpha1/{+name}", + "response": { + "$ref": "ListOperationsResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/genomics" + ] + } + } + }, + "workers": { + "methods": { + "checkIn": { + "description": "The worker uses this method to retrieve the assigned operation and provide periodic status updates.", + "flatPath": "v2alpha1/projects/{projectsId}/workers/{workersId}:checkIn", + "httpMethod": "POST", + "id": "genomics.projects.workers.checkIn", + "parameterOrder": [ + "id" + ], + "parameters": { + "id": { + "description": "The VM identity token for authenticating the VM instance. https://cloud.google.com/compute/docs/instances/verifying-instance-identity", + "location": "path", + "pattern": "^projects/[^/]+/workers/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v2alpha1/{+id}:checkIn", + "request": { + "$ref": "CheckInRequest" + }, + "response": { + "$ref": "CheckInResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/genomics" + ] + } + } + } + } + }, + "workers": { + "methods": { + "checkIn": { + "description": "The worker uses this method to retrieve the assigned operation and provide periodic status updates.", + "flatPath": "v2alpha1/workers/{id}:checkIn", + "httpMethod": "POST", + "id": "genomics.workers.checkIn", + "parameterOrder": [ + "id" + ], + "parameters": { + "id": { + "description": "The VM identity token for authenticating the VM instance. https://cloud.google.com/compute/docs/instances/verifying-instance-identity", + "location": "path", + "required": true, + "type": "string" + } + }, + "path": "v2alpha1/workers/{id}:checkIn", + "request": { + "$ref": "CheckInRequest" + }, + "response": { + "$ref": "CheckInResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/genomics" + ] + } + } + } + }, + "revision": "20230619", + "rootUrl": "https://genomics.googleapis.com/", + "schemas": { + "Accelerator": { + "description": "Carries information about an accelerator that can be attached to a VM.", + "id": "Accelerator", + "properties": { + "count": { + "description": "How many accelerators of this type to attach.", + "format": "int64", + "type": "string" + }, + "type": { + "description": "The accelerator type string (for example, \"nvidia-tesla-k80\"). Only NVIDIA GPU accelerators are currently supported. If an NVIDIA GPU is attached, the required runtime libraries will be made available to all containers under `/usr/local/nvidia`. The driver version to install must be specified using the NVIDIA driver version parameter on the virtual machine specification. Note that attaching a GPU increases the worker VM startup time by a few minutes.", + "type": "string" + } + }, + "type": "object" + }, + "Action": { + "description": "Specifies a single action that runs a Docker container.", + "id": "Action", + "properties": { + "commands": { + "description": "If specified, overrides the `CMD` specified in the container. If the container also has an `ENTRYPOINT` the values are used as entrypoint arguments. Otherwise, they are used as a command and arguments to run inside the container.", + "items": { + "type": "string" + }, + "type": "array" + }, + "credentials": { + "$ref": "Secret", + "description": "If the specified image is hosted on a private registry other than Google Container Registry, the credentials required to pull the image must be specified here as an encrypted secret. The secret must decrypt to a JSON-encoded dictionary containing both `username` and `password` keys." + }, + "encryptedEnvironment": { + "$ref": "Secret", + "description": "The encrypted environment to pass into the container. This environment is merged with values specified in the google.genomics.v2alpha1.Pipeline message, overwriting any duplicate values. The secret must decrypt to a JSON-encoded dictionary where key-value pairs serve as environment variable names and their values. The decoded environment variables can overwrite the values specified by the `environment` field." + }, + "entrypoint": { + "description": "If specified, overrides the `ENTRYPOINT` specified in the container.", + "type": "string" + }, + "environment": { + "additionalProperties": { + "type": "string" + }, + "description": "The environment to pass into the container. This environment is merged with values specified in the google.genomics.v2alpha1.Pipeline message, overwriting any duplicate values. In addition to the values passed here, a few other values are automatically injected into the environment. These cannot be hidden or overwritten. `GOOGLE_PIPELINE_FAILED` will be set to \"1\" if the pipeline failed because an action has exited with a non-zero status (and did not have the `IGNORE_EXIT_STATUS` flag set). This can be used to determine if additional debug or logging actions should execute. `GOOGLE_LAST_EXIT_STATUS` will be set to the exit status of the last non-background action that executed. This can be used by workflow engine authors to determine whether an individual action has succeeded or failed.", + "type": "object" + }, + "flags": { + "description": "The set of flags to apply to this action.", + "items": { + "enum": [ + "FLAG_UNSPECIFIED", + "IGNORE_EXIT_STATUS", + "RUN_IN_BACKGROUND", + "ALWAYS_RUN", + "ENABLE_FUSE", + "PUBLISH_EXPOSED_PORTS", + "DISABLE_IMAGE_PREFETCH", + "DISABLE_STANDARD_ERROR_CAPTURE", + "BLOCK_EXTERNAL_NETWORK" + ], + "enumDescriptions": [ + "Unspecified flag.", + "Normally, a non-zero exit status causes the pipeline to fail. This flag allows execution of other actions to continue instead.", + "This flag allows an action to continue running in the background while executing subsequent actions. This is useful to provide services to other actions (or to provide debugging support tools like SSH servers).", + "By default, after an action fails, no further actions are run. This flag indicates that this action must be run even if the pipeline has already failed. This is useful for actions that copy output files off of the VM or for debugging. Note that no actions will be run if image prefetching fails.", + "Enable access to the FUSE device for this action. Filesystems can then be mounted into disks shared with other actions. The other actions do not need the `ENABLE_FUSE` flag to access the mounted filesystem. This has the effect of causing the container to be executed with `CAP_SYS_ADMIN` and exposes `/dev/fuse` to the container, so use it only for containers you trust.", + "Exposes all ports specified by `EXPOSE` statements in the container. To discover the host side port numbers, consult the `ACTION_STARTED` event in the operation metadata.", + "All container images are typically downloaded before any actions are executed. This helps prevent typos in URIs or issues like lack of disk space from wasting large amounts of compute resources. If set, this flag prevents the worker from downloading the image until just before the action is executed.", + "A small portion of the container's standard error stream is typically captured and returned inside the `ContainerStoppedEvent`. Setting this flag disables this functionality.", + "Prevents the container from accessing the external network." + ], + "type": "string" + }, + "type": "array" + }, + "imageUri": { + "description": "Required. The URI to pull the container image from. Note that all images referenced by actions in the pipeline are pulled before the first action runs. If multiple actions reference the same image, it is only pulled once, ensuring that the same image is used for all actions in a single pipeline. The image URI can be either a complete host and image specification (e.g., quay.io/biocontainers/samtools), a library and image name (e.g., google/cloud-sdk) or a bare image name ('bash') to pull from the default library. No schema is required in any of these cases. If the specified image is not public, the service account specified for the Virtual Machine must have access to pull the images from GCR, or appropriate credentials must be specified in the google.genomics.v2alpha1.Action.credentials field.", + "type": "string" + }, + "labels": { + "additionalProperties": { + "type": "string" + }, + "description": "Labels to associate with the action. This field is provided to assist workflow engine authors in identifying actions (for example, to indicate what sort of action they perform, such as localization or debugging). They are returned in the operation metadata, but are otherwise ignored.", + "type": "object" + }, + "mounts": { + "description": "A list of mounts to make available to the action. In addition to the values specified here, every action has a special virtual disk mounted under `/google` that contains log files and other operational components. - /google/logs All logs written during the pipeline execution. - /google/logs/output The combined standard output and standard error of all actions run as part of the pipeline execution. - /google/logs/action/*/stdout The complete contents of each individual action's standard output. - /google/logs/action/*/stderr The complete contents of each individual action's standard error output. ", + "items": { + "$ref": "Mount" + }, + "type": "array" + }, + "name": { + "description": "An optional name for the container. The container hostname will be set to this name, making it useful for inter-container communication. The name must contain only upper and lowercase alphanumeric characters and hyphens and cannot start with a hyphen.", + "type": "string" + }, + "pidNamespace": { + "description": "An optional identifier for a PID namespace to run the action inside. Multiple actions should use the same string to share a namespace. If unspecified, a separate isolated namespace is used.", + "type": "string" + }, + "portMappings": { + "additionalProperties": { + "format": "int32", + "type": "integer" + }, + "description": "A map of containers to host port mappings for this container. If the container already specifies exposed ports, use the `PUBLISH_EXPOSED_PORTS` flag instead. The host port number must be less than 65536. If it is zero, an unused random port is assigned. To determine the resulting port number, consult the `ContainerStartedEvent` in the operation metadata.", + "type": "object" + }, + "timeout": { + "description": "The maximum amount of time to give the action to complete. If the action fails to complete before the timeout, it will be terminated and the exit status will be non-zero. The pipeline will continue or terminate based on the rules defined by the `ALWAYS_RUN` and `IGNORE_EXIT_STATUS` flags.", + "format": "google-duration", + "type": "string" + } + }, + "type": "object" + }, + "CancelOperationRequest": { + "description": "The request message for Operations.CancelOperation.", + "id": "CancelOperationRequest", + "properties": {}, + "type": "object" + }, + "CheckInRequest": { + "description": "The parameters to the CheckIn method.", + "id": "CheckInRequest", + "properties": { + "deadlineExpired": { + "$ref": "Empty", + "description": "The deadline has expired and the worker needs more time." + }, + "event": { + "additionalProperties": { + "description": "Properties of the object. Contains field @type with type URL.", + "type": "any" + }, + "description": "A workflow specific event occurred.", + "type": "object" + }, + "events": { + "description": "A list of timestamped events.", + "items": { + "$ref": "TimestampedEvent" + }, + "type": "array" + }, + "result": { + "$ref": "Status", + "description": "The operation has finished with the given result." + }, + "sosReport": { + "description": "An SOS report for an unexpected VM failure.", + "format": "byte", + "type": "string" + }, + "workerStatus": { + "$ref": "WorkerStatus", + "description": "Data about the status of the worker VM." + } + }, + "type": "object" + }, + "CheckInResponse": { + "description": "The response to the CheckIn method.", + "id": "CheckInResponse", + "properties": { + "deadline": { + "description": "The deadline by which the worker must request an extension. The backend will allow for network transmission time and other delays, but the worker must attempt to transmit the extension request no later than the deadline.", + "format": "google-datetime", + "type": "string" + }, + "features": { + "additionalProperties": { + "description": "Properties of the object. Contains field @type with type URL.", + "type": "any" + }, + "description": "Feature configuration for the operation.", + "type": "object" + }, + "metadata": { + "additionalProperties": { + "description": "Properties of the object. Contains field @type with type URL.", + "type": "any" + }, + "description": "The metadata that describes the operation assigned to the worker.", + "type": "object" + } + }, + "type": "object" + }, + "ContainerKilledEvent": { + "description": "An event generated when a container is forcibly terminated by the worker. Currently, this only occurs when the container outlives the timeout specified by the user.", + "id": "ContainerKilledEvent", + "properties": { + "actionId": { + "description": "The numeric ID of the action that started the container.", + "format": "int32", + "type": "integer" + } + }, + "type": "object" + }, + "ContainerStartedEvent": { + "description": "An event generated when a container starts.", + "id": "ContainerStartedEvent", + "properties": { + "actionId": { + "description": "The numeric ID of the action that started this container.", + "format": "int32", + "type": "integer" + }, + "ipAddress": { + "description": "The public IP address that can be used to connect to the container. This field is only populated when at least one port mapping is present. If the instance was created with a private address, this field will be empty even if port mappings exist.", + "type": "string" + }, + "portMappings": { + "additionalProperties": { + "format": "int32", + "type": "integer" + }, + "description": "The container-to-host port mappings installed for this container. This set will contain any ports exposed using the `PUBLISH_EXPOSED_PORTS` flag as well as any specified in the `Action` definition.", + "type": "object" + } + }, + "type": "object" + }, + "ContainerStoppedEvent": { + "description": "An event generated when a container exits.", + "id": "ContainerStoppedEvent", + "properties": { + "actionId": { + "description": "The numeric ID of the action that started this container.", + "format": "int32", + "type": "integer" + }, + "exitStatus": { + "description": "The exit status of the container.", + "format": "int32", + "type": "integer" + }, + "stderr": { + "description": "The tail end of any content written to standard error by the container. If the content emits large amounts of debugging noise or contains sensitive information, you can prevent the content from being printed by setting the `DISABLE_STANDARD_ERROR_CAPTURE` flag. Note that only a small amount of the end of the stream is captured here. The entire stream is stored in the `/google/logs` directory mounted into each action, and can be copied off the machine as described elsewhere.", + "type": "string" + } + }, + "type": "object" + }, + "DelayedEvent": { + "description": "An event generated whenever a resource limitation or transient error delays execution of a pipeline that was otherwise ready to run.", + "id": "DelayedEvent", + "properties": { + "cause": { + "description": "A textual description of the cause of the delay. The string can change without notice because it is often generated by another service (such as Compute Engine).", + "type": "string" + }, + "metrics": { + "description": "If the delay was caused by a resource shortage, this field lists the Compute Engine metrics that are preventing this operation from running (for example, `CPUS` or `INSTANCES`). If the particular metric is not known, a single `UNKNOWN` metric will be present.", + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "Disk": { + "description": "Carries information about a disk that can be attached to a VM. See https://cloud.google.com/compute/docs/disks/performance for more information about disk type, size, and performance considerations. Specify either `Volume` or `Disk`, but not both.", + "id": "Disk", + "properties": { + "name": { + "description": "A user-supplied name for the disk. Used when mounting the disk into actions. The name must contain only upper and lowercase alphanumeric characters and hyphens and cannot start with a hyphen.", + "type": "string" + }, + "sizeGb": { + "description": "The size, in GB, of the disk to attach. If the size is not specified, a default is chosen to ensure reasonable I/O performance. If the disk type is specified as `local-ssd`, multiple local drives are automatically combined to provide the requested size. Note, however, that each physical SSD is 375GB in size, and no more than 8 drives can be attached to a single instance.", + "format": "int32", + "type": "integer" + }, + "sourceImage": { + "description": "An optional image to put on the disk before attaching it to the VM.", + "type": "string" + }, + "type": { + "description": "The Compute Engine disk type. If unspecified, `pd-standard` is used.", + "type": "string" + } + }, + "type": "object" + }, + "DiskStatus": { + "description": "The status of a disk on a VM.", + "id": "DiskStatus", + "properties": { + "freeSpaceBytes": { + "description": "Free disk space.", + "format": "uint64", + "type": "string" + }, + "totalSpaceBytes": { + "description": "Total disk space.", + "format": "uint64", + "type": "string" + } + }, + "type": "object" + }, + "Empty": { + "description": "A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }", + "id": "Empty", + "properties": {}, + "type": "object" + }, + "Event": { + "description": "Carries information about events that occur during pipeline execution.", + "id": "Event", + "properties": { + "description": { + "description": "A human-readable description of the event. Note that these strings can change at any time without notice. Any application logic must use the information in the `details` field.", + "type": "string" + }, + "details": { + "additionalProperties": { + "description": "Properties of the object. Contains field @type with type URL.", + "type": "any" + }, + "description": "Machine-readable details about the event.", + "type": "object" + }, + "timestamp": { + "description": "The time at which the event occurred.", + "format": "google-datetime", + "type": "string" + } + }, + "type": "object" + }, + "ExistingDisk": { + "description": "Configuration for an existing disk to be attached to the VM.", + "id": "ExistingDisk", + "properties": { + "disk": { + "description": "If `disk` contains slashes, the Cloud Life Sciences API assumes that it is a complete URL for the disk. If `disk` does not contain slashes, the Cloud Life Sciences API assumes that the disk is a zonal disk and a URL will be generated of the form `zones//disks/`, where `` is the zone in which the instance is allocated. The disk must be ext4 formatted. If all `Mount` references to this disk have the `read_only` flag set to true, the disk will be attached in `read-only` mode and can be shared with other instances. Otherwise, the disk will be available for writing but cannot be shared.", + "type": "string" + } + }, + "type": "object" + }, + "FailedEvent": { + "description": "An event generated when the execution of a pipeline has failed. Note that other events can continue to occur after this event.", + "id": "FailedEvent", + "properties": { + "cause": { + "description": "The human-readable description of the cause of the failure.", + "type": "string" + }, + "code": { + "description": "The Google standard error code that best describes this failure.", + "enum": [ + "OK", + "CANCELLED", + "UNKNOWN", + "INVALID_ARGUMENT", + "DEADLINE_EXCEEDED", + "NOT_FOUND", + "ALREADY_EXISTS", + "PERMISSION_DENIED", + "UNAUTHENTICATED", + "RESOURCE_EXHAUSTED", + "FAILED_PRECONDITION", + "ABORTED", + "OUT_OF_RANGE", + "UNIMPLEMENTED", + "INTERNAL", + "UNAVAILABLE", + "DATA_LOSS" + ], + "enumDescriptions": [ + "Not an error; returned on success. HTTP Mapping: 200 OK", + "The operation was cancelled, typically by the caller. HTTP Mapping: 499 Client Closed Request", + "Unknown error. For example, this error may be returned when a `Status` value received from another address space belongs to an error space that is not known in this address space. Also errors raised by APIs that do not return enough error information may be converted to this error. HTTP Mapping: 500 Internal Server Error", + "The client specified an invalid argument. Note that this differs from `FAILED_PRECONDITION`. `INVALID_ARGUMENT` indicates arguments that are problematic regardless of the state of the system (e.g., a malformed file name). HTTP Mapping: 400 Bad Request", + "The deadline expired before the operation could complete. For operations that change the state of the system, this error may be returned even if the operation has completed successfully. For example, a successful response from a server could have been delayed long enough for the deadline to expire. HTTP Mapping: 504 Gateway Timeout", + "Some requested entity (e.g., file or directory) was not found. Note to server developers: if a request is denied for an entire class of users, such as gradual feature rollout or undocumented allowlist, `NOT_FOUND` may be used. If a request is denied for some users within a class of users, such as user-based access control, `PERMISSION_DENIED` must be used. HTTP Mapping: 404 Not Found", + "The entity that a client attempted to create (e.g., file or directory) already exists. HTTP Mapping: 409 Conflict", + "The caller does not have permission to execute the specified operation. `PERMISSION_DENIED` must not be used for rejections caused by exhausting some resource (use `RESOURCE_EXHAUSTED` instead for those errors). `PERMISSION_DENIED` must not be used if the caller can not be identified (use `UNAUTHENTICATED` instead for those errors). This error code does not imply the request is valid or the requested entity exists or satisfies other pre-conditions. HTTP Mapping: 403 Forbidden", + "The request does not have valid authentication credentials for the operation. HTTP Mapping: 401 Unauthorized", + "Some resource has been exhausted, perhaps a per-user quota, or perhaps the entire file system is out of space. HTTP Mapping: 429 Too Many Requests", + "The operation was rejected because the system is not in a state required for the operation's execution. For example, the directory to be deleted is non-empty, an rmdir operation is applied to a non-directory, etc. Service implementors can use the following guidelines to decide between `FAILED_PRECONDITION`, `ABORTED`, and `UNAVAILABLE`: (a) Use `UNAVAILABLE` if the client can retry just the failing call. (b) Use `ABORTED` if the client should retry at a higher level. For example, when a client-specified test-and-set fails, indicating the client should restart a read-modify-write sequence. (c) Use `FAILED_PRECONDITION` if the client should not retry until the system state has been explicitly fixed. For example, if an \"rmdir\" fails because the directory is non-empty, `FAILED_PRECONDITION` should be returned since the client should not retry unless the files are deleted from the directory. HTTP Mapping: 400 Bad Request", + "The operation was aborted, typically due to a concurrency issue such as a sequencer check failure or transaction abort. See the guidelines above for deciding between `FAILED_PRECONDITION`, `ABORTED`, and `UNAVAILABLE`. HTTP Mapping: 409 Conflict", + "The operation was attempted past the valid range. E.g., seeking or reading past end-of-file. Unlike `INVALID_ARGUMENT`, this error indicates a problem that may be fixed if the system state changes. For example, a 32-bit file system will generate `INVALID_ARGUMENT` if asked to read at an offset that is not in the range [0,2^32-1], but it will generate `OUT_OF_RANGE` if asked to read from an offset past the current file size. There is a fair bit of overlap between `FAILED_PRECONDITION` and `OUT_OF_RANGE`. We recommend using `OUT_OF_RANGE` (the more specific error) when it applies so that callers who are iterating through a space can easily look for an `OUT_OF_RANGE` error to detect when they are done. HTTP Mapping: 400 Bad Request", + "The operation is not implemented or is not supported/enabled in this service. HTTP Mapping: 501 Not Implemented", + "Internal errors. This means that some invariants expected by the underlying system have been broken. This error code is reserved for serious errors. HTTP Mapping: 500 Internal Server Error", + "The service is currently unavailable. This is most likely a transient condition, which can be corrected by retrying with a backoff. Note that it is not always safe to retry non-idempotent operations. See the guidelines above for deciding between `FAILED_PRECONDITION`, `ABORTED`, and `UNAVAILABLE`. HTTP Mapping: 503 Service Unavailable", + "Unrecoverable data loss or corruption. HTTP Mapping: 500 Internal Server Error" + ], + "type": "string" + } + }, + "type": "object" + }, + "ListOperationsResponse": { + "description": "The response message for Operations.ListOperations.", + "id": "ListOperationsResponse", + "properties": { + "nextPageToken": { + "description": "The standard List next-page token.", + "type": "string" + }, + "operations": { + "description": "A list of operations that matches the specified filter in the request.", + "items": { + "$ref": "Operation" + }, + "type": "array" + } + }, + "type": "object" + }, + "Metadata": { + "description": "Carries information about the pipeline execution that is returned in the long running operation's metadata field.", + "id": "Metadata", + "properties": { + "createTime": { + "description": "The time at which the operation was created by the API.", + "format": "google-datetime", + "type": "string" + }, + "endTime": { + "description": "The time at which execution was completed and resources were cleaned up.", + "format": "google-datetime", + "type": "string" + }, + "events": { + "description": "The list of events that have happened so far during the execution of this operation.", + "items": { + "$ref": "Event" + }, + "type": "array" + }, + "labels": { + "additionalProperties": { + "type": "string" + }, + "description": "The user-defined labels associated with this operation.", + "type": "object" + }, + "pipeline": { + "$ref": "Pipeline", + "description": "The pipeline this operation represents." + }, + "startTime": { + "description": "The first time at which resources were allocated to execute the pipeline.", + "format": "google-datetime", + "type": "string" + } + }, + "type": "object" + }, + "Mount": { + "description": "Carries information about a particular disk mount inside a container.", + "id": "Mount", + "properties": { + "disk": { + "description": "The name of the disk to mount, as specified in the resources section.", + "type": "string" + }, + "path": { + "description": "The path to mount the disk inside the container.", + "type": "string" + }, + "readOnly": { + "description": "If true, the disk is mounted read-only inside the container.", + "type": "boolean" + } + }, + "type": "object" + }, + "NFSMount": { + "description": "Configuration for an `NFSMount` to be attached to the VM.", + "id": "NFSMount", + "properties": { + "target": { + "description": "A target NFS mount. The target must be specified as `address:/mount\".", + "type": "string" + } + }, + "type": "object" + }, + "Network": { + "description": "VM networking options.", + "id": "Network", + "properties": { + "name": { + "description": "The network name to attach the VM's network interface to. The value will be prefixed with `global/networks/` unless it contains a `/`, in which case it is assumed to be a fully specified network resource URL. If unspecified, the global default network is used.", + "type": "string" + }, + "subnetwork": { + "description": "If the specified network is configured for custom subnet creation, the name of the subnetwork to attach the instance to must be specified here. The value is prefixed with `regions/*/subnetworks/` unless it contains a `/`, in which case it is assumed to be a fully specified subnetwork resource URL. If the `*` character appears in the value, it is replaced with the region that the virtual machine has been allocated in.", + "type": "string" + }, + "usePrivateAddress": { + "description": "If set to true, do not attach a public IP address to the VM. Note that without a public IP address, additional configuration is required to allow the VM to access Google services. See https://cloud.google.com/vpc/docs/configure-private-google-access for more information.", + "type": "boolean" + } + }, + "type": "object" + }, + "Operation": { + "description": "This resource represents a long-running operation that is the result of a network API call.", + "id": "Operation", + "properties": { + "done": { + "description": "If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.", + "type": "boolean" + }, + "error": { + "$ref": "Status", + "description": "The error result of the operation in case of failure or cancellation." + }, + "metadata": { + "additionalProperties": { + "description": "Properties of the object. Contains field @type with type URL.", + "type": "any" + }, + "description": "An OperationMetadata or Metadata object. This will always be returned with the Operation.", + "type": "object" + }, + "name": { + "description": "The server-assigned name, which is only unique within the same service that originally returns it. For example: `operations/CJHU7Oi_ChDrveSpBRjfuL-qzoWAgEw`", + "type": "string" + }, + "response": { + "additionalProperties": { + "description": "Properties of the object. Contains field @type with type URL.", + "type": "any" + }, + "description": "An Empty object.", + "type": "object" + } + }, + "type": "object" + }, + "PersistentDisk": { + "description": "Configuration for a persistent disk to be attached to the VM. See https://cloud.google.com/compute/docs/disks/performance for more information about disk type, size, and performance considerations.", + "id": "PersistentDisk", + "properties": { + "sizeGb": { + "description": "The size, in GB, of the disk to attach. If the size is not specified, a default is chosen to ensure reasonable I/O performance. If the disk type is specified as `local-ssd`, multiple local drives are automatically combined to provide the requested size. Note, however, that each physical SSD is 375GB in size, and no more than 8 drives can be attached to a single instance.", + "format": "int32", + "type": "integer" + }, + "sourceImage": { + "description": "An image to put on the disk before attaching it to the VM.", + "type": "string" + }, + "type": { + "description": "The Compute Engine disk type. If unspecified, `pd-standard` is used.", + "type": "string" + } + }, + "type": "object" + }, + "Pipeline": { + "description": "Specifies a series of actions to execute, expressed as Docker containers.", + "id": "Pipeline", + "properties": { + "actions": { + "description": "The list of actions to execute, in the order they are specified.", + "items": { + "$ref": "Action" + }, + "type": "array" + }, + "encryptedEnvironment": { + "$ref": "Secret", + "description": "The encrypted environment to pass into every action. Each action can also specify its own encrypted environment. The secret must decrypt to a JSON-encoded dictionary where key-value pairs serve as environment variable names and their values. The decoded environment variables can overwrite the values specified by the `environment` field." + }, + "environment": { + "additionalProperties": { + "type": "string" + }, + "description": "The environment to pass into every action. Each action can also specify additional environment variables but cannot delete an entry from this map (though they can overwrite it with a different value).", + "type": "object" + }, + "resources": { + "$ref": "Resources", + "description": "The resources required for execution." + }, + "timeout": { + "description": "The maximum amount of time to give the pipeline to complete. This includes the time spent waiting for a worker to be allocated. If the pipeline fails to complete before the timeout, it will be cancelled and the error code will be set to DEADLINE_EXCEEDED. If unspecified, it will default to 7 days.", + "format": "google-duration", + "type": "string" + } + }, + "type": "object" + }, + "PullStartedEvent": { + "description": "An event generated when the worker starts pulling an image.", + "id": "PullStartedEvent", + "properties": { + "imageUri": { + "description": "The URI of the image that was pulled.", + "type": "string" + } + }, + "type": "object" + }, + "PullStoppedEvent": { + "description": "An event generated when the worker stops pulling an image.", + "id": "PullStoppedEvent", + "properties": { + "imageUri": { + "description": "The URI of the image that was pulled.", + "type": "string" + } + }, + "type": "object" + }, + "Resources": { + "description": "The system resources for the pipeline run. At least one zone or region must be specified or the pipeline run will fail.", + "id": "Resources", + "properties": { + "projectId": { + "description": "The project ID to allocate resources in.", + "type": "string" + }, + "regions": { + "description": "The list of regions allowed for VM allocation. If set, the `zones` field must not be set.", + "items": { + "type": "string" + }, + "type": "array" + }, + "virtualMachine": { + "$ref": "VirtualMachine", + "description": "The virtual machine specification." + }, + "zones": { + "description": "The list of zones allowed for VM allocation. If set, the `regions` field must not be set.", + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "RunPipelineRequest": { + "description": "The arguments to the `RunPipeline` method. The requesting user must have the `iam.serviceAccounts.actAs` permission for the Cloud Genomics service account or the request will fail.", + "id": "RunPipelineRequest", + "properties": { + "labels": { + "additionalProperties": { + "type": "string" + }, + "description": "User-defined labels to associate with the returned operation. These labels are not propagated to any Google Cloud Platform resources used by the operation, and can be modified at any time. To associate labels with resources created while executing the operation, see the appropriate resource message (for example, `VirtualMachine`).", + "type": "object" + }, + "pipeline": { + "$ref": "Pipeline", + "description": "Required. The description of the pipeline to run." + }, + "pubSubTopic": { + "description": "The name of an existing Pub/Sub topic. The server will publish messages to this topic whenever the status of the operation changes. The Genomics Service Agent account must have publisher permissions to the specified topic or notifications will not be sent.", + "type": "string" + } + }, + "type": "object" + }, + "RunPipelineResponse": { + "description": "The response to the RunPipeline method, returned in the operation's result field on success.", + "id": "RunPipelineResponse", + "properties": {}, + "type": "object" + }, + "Secret": { + "description": "Holds encrypted information that is only decrypted and stored in RAM by the worker VM when running the pipeline.", + "id": "Secret", + "properties": { + "cipherText": { + "description": "The value of the cipherText response from the `encrypt` method. This field is intentionally unaudited.", + "type": "string" + }, + "keyName": { + "description": "The name of the Cloud KMS key that will be used to decrypt the secret value. The VM service account must have the required permissions and authentication scopes to invoke the `decrypt` method on the specified key.", + "type": "string" + } + }, + "type": "object" + }, + "ServiceAccount": { + "description": "Carries information about a Google Cloud service account.", + "id": "ServiceAccount", + "properties": { + "email": { + "description": "Email address of the service account. If not specified, the default Compute Engine service account for the project will be used.", + "type": "string" + }, + "scopes": { + "description": "List of scopes to be enabled for this service account on the VM, in addition to the cloud-platform API scope that will be added by default.", + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "Status": { + "description": "The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors).", + "id": "Status", + "properties": { + "code": { + "description": "The status code, which should be an enum value of google.rpc.Code.", + "format": "int32", + "type": "integer" + }, + "details": { + "description": "A list of messages that carry the error details. There is a common set of message types for APIs to use.", + "items": { + "additionalProperties": { + "description": "Properties of the object. Contains field @type with type URL.", + "type": "any" + }, + "type": "object" + }, + "type": "array" + }, + "message": { + "description": "A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.", + "type": "string" + } + }, + "type": "object" + }, + "TimestampedEvent": { + "description": "An event that occured in the operation assigned to the worker and the time of occurance.", + "id": "TimestampedEvent", + "properties": { + "data": { + "additionalProperties": { + "description": "Properties of the object. Contains field @type with type URL.", + "type": "any" + }, + "description": "The event data.", + "type": "object" + }, + "timestamp": { + "description": "The time when the event happened.", + "format": "google-datetime", + "type": "string" + } + }, + "type": "object" + }, + "UnexpectedExitStatusEvent": { + "description": "An event generated when the execution of a container results in a non-zero exit status that was not otherwise ignored. Execution will continue, but only actions that are flagged as `ALWAYS_RUN` will be executed. Other actions will be skipped.", + "id": "UnexpectedExitStatusEvent", + "properties": { + "actionId": { + "description": "The numeric ID of the action that started the container.", + "format": "int32", + "type": "integer" + }, + "exitStatus": { + "description": "The exit status of the container.", + "format": "int32", + "type": "integer" + } + }, + "type": "object" + }, + "VirtualMachine": { + "description": "Carries information about a Compute Engine VM resource.", + "id": "VirtualMachine", + "properties": { + "accelerators": { + "description": "The list of accelerators to attach to the VM.", + "items": { + "$ref": "Accelerator" + }, + "type": "array" + }, + "bootDiskSizeGb": { + "description": "The size of the boot disk, in GB. The boot disk must be large enough to accommodate all of the Docker images from each action in the pipeline at the same time. If not specified, a small but reasonable default value is used.", + "format": "int32", + "type": "integer" + }, + "bootImage": { + "description": "The host operating system image to use. Currently, only Container-Optimized OS images can be used. The default value is `projects/cos-cloud/global/images/family/cos-stable`, which selects the latest stable release of Container-Optimized OS. This option is provided to allow testing against the beta release of the operating system to ensure that the new version does not interact negatively with production pipelines. To test a pipeline against the beta release of Container-Optimized OS, use the value `projects/cos-cloud/global/images/family/cos-beta`.", + "type": "string" + }, + "cpuPlatform": { + "description": "The CPU platform to request. An instance based on a newer platform can be allocated, but never one with fewer capabilities. The value of this parameter must be a valid Compute Engine CPU platform name (such as \"Intel Skylake\"). This parameter is only useful for carefully optimized work loads where the CPU platform has a significant impact. For more information about the effect of this parameter, see https://cloud.google.com/compute/docs/instances/specify-min-cpu-platform.", + "type": "string" + }, + "disks": { + "description": "The list of disks to create and attach to the VM. Specify either the `volumes[]` field or the `disks[]` field, but not both.", + "items": { + "$ref": "Disk" + }, + "type": "array" + }, + "dockerCacheImages": { + "description": "The Compute Engine Disk Images to use as a Docker cache. The disks will be mounted into the Docker folder in a way that the images present in the cache will not need to be pulled. The digests of the cached images must match those of the tags used or the latest version will still be pulled. The root directory of the ext4 image must contain `image` and `overlay2` directories copied from the Docker directory of a VM where the desired Docker images have already been pulled. Any images pulled that are not cached will be stored on the first cache disk instead of the boot disk. Only a single image is supported.", + "items": { + "type": "string" + }, + "type": "array" + }, + "enableStackdriverMonitoring": { + "description": "Whether Stackdriver monitoring should be enabled on the VM.", + "type": "boolean" + }, + "labels": { + "additionalProperties": { + "type": "string" + }, + "description": "Optional set of labels to apply to the VM and any attached disk resources. These labels must adhere to the [name and value restrictions](https://cloud.google.com/compute/docs/labeling-resources) on VM labels imposed by Compute Engine. Labels keys with the prefix 'google-' are reserved for use by Google. Labels applied at creation time to the VM. Applied on a best-effort basis to attached disk resources shortly after VM creation.", + "type": "object" + }, + "machineType": { + "description": "Required. The machine type of the virtual machine to create. Must be the short name of a standard machine type (such as \"n1-standard-1\") or a custom machine type (such as \"custom-1-4096\", where \"1\" indicates the number of vCPUs and \"4096\" indicates the memory in MB). See [Creating an instance with a custom machine type](https://cloud.google.com/compute/docs/instances/creating-instance-with-custom-machine-type#create) for more specifications on creating a custom machine type.", + "type": "string" + }, + "network": { + "$ref": "Network", + "description": "The VM network configuration." + }, + "nvidiaDriverVersion": { + "description": "The NVIDIA driver version to use when attaching an NVIDIA GPU accelerator. The version specified here must be compatible with the GPU libraries contained in the container being executed, and must be one of the drivers hosted in the `nvidia-drivers-us-public` bucket on Google Cloud Storage.", + "type": "string" + }, + "preemptible": { + "description": "If true, allocate a preemptible VM.", + "type": "boolean" + }, + "reservation": { + "description": "If specified, the VM will only be allocated inside the matching reservation. It will fail if the VM parameters don't match the reservation.", + "type": "string" + }, + "serviceAccount": { + "$ref": "ServiceAccount", + "description": "The service account to install on the VM. This account does not need any permissions other than those required by the pipeline." + }, + "volumes": { + "description": "The list of disks and other storage to create or attach to the VM. Specify either the `volumes[]` field or the `disks[]` field, but not both.", + "items": { + "$ref": "Volume" + }, + "type": "array" + } + }, + "type": "object" + }, + "Volume": { + "description": "Carries information about storage that can be attached to a VM. Specify either `Volume` or `Disk`, but not both.", + "id": "Volume", + "properties": { + "existingDisk": { + "$ref": "ExistingDisk", + "description": "Configuration for a existing disk." + }, + "nfsMount": { + "$ref": "NFSMount", + "description": "Configuration for an NFS mount." + }, + "persistentDisk": { + "$ref": "PersistentDisk", + "description": "Configuration for a persistent disk." + }, + "volume": { + "description": "A user-supplied name for the volume. Used when mounting the volume into `Actions`. The name must contain only upper and lowercase alphanumeric characters and hyphens and cannot start with a hyphen.", + "type": "string" + } + }, + "type": "object" + }, + "WorkerAssignedEvent": { + "description": "An event generated after a worker VM has been assigned to run the pipeline.", + "id": "WorkerAssignedEvent", + "properties": { + "instance": { + "description": "The worker's instance name.", + "type": "string" + }, + "machineType": { + "description": "The machine type that was assigned for the worker.", + "type": "string" + }, + "zone": { + "description": "The zone the worker is running in.", + "type": "string" + } + }, + "type": "object" + }, + "WorkerReleasedEvent": { + "description": "An event generated when the worker VM that was assigned to the pipeline has been released (deleted).", + "id": "WorkerReleasedEvent", + "properties": { + "instance": { + "description": "The worker's instance name.", + "type": "string" + }, + "zone": { + "description": "The zone the worker was running in.", + "type": "string" + } + }, + "type": "object" + }, + "WorkerStatus": { + "description": "The status of the worker VM.", + "id": "WorkerStatus", + "properties": { + "attachedDisks": { + "additionalProperties": { + "$ref": "DiskStatus" + }, + "description": "Status of attached disks.", + "type": "object" + }, + "bootDisk": { + "$ref": "DiskStatus", + "description": "Status of the boot disk." + }, + "freeRamBytes": { + "description": "Free RAM.", + "format": "uint64", + "type": "string" + }, + "totalRamBytes": { + "description": "Total RAM.", + "format": "uint64", + "type": "string" + }, + "uptimeSeconds": { + "description": "System uptime.", + "format": "int64", + "type": "string" + } + }, + "type": "object" + } + }, + "servicePath": "", + "title": "Genomics API", + "version": "v2alpha1", + "version_module": true +} \ No newline at end of file diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/gkehub.v1.json b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/gkehub.v1.json new file mode 100644 index 0000000000000000000000000000000000000000..6bb54f2cae414bacad4cf359b2793a47108e72e8 --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/gkehub.v1.json @@ -0,0 +1,6883 @@ +{ +"auth": { +"oauth2": { +"scopes": { +"https://www.googleapis.com/auth/cloud-platform": { +"description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." +} +} +} +}, +"basePath": "", +"baseUrl": "https://gkehub.googleapis.com/", +"batchPath": "batch", +"canonicalName": "GKE Hub", +"description": "", +"discoveryVersion": "v1", +"documentationLink": "https://cloud.google.com/anthos/multicluster-management/connect/registering-a-cluster", +"fullyEncodeReservedExpansion": true, +"icons": { +"x16": "http://www.google.com/images/icons/product/search-16.gif", +"x32": "http://www.google.com/images/icons/product/search-32.gif" +}, +"id": "gkehub:v1", +"kind": "discovery#restDescription", +"mtlsRootUrl": "https://gkehub.mtls.googleapis.com/", +"name": "gkehub", +"ownerDomain": "google.com", +"ownerName": "Google", +"parameters": { +"$.xgafv": { +"description": "V1 error format.", +"enum": [ +"1", +"2" +], +"enumDescriptions": [ +"v1 error format", +"v2 error format" +], +"location": "query", +"type": "string" +}, +"access_token": { +"description": "OAuth access token.", +"location": "query", +"type": "string" +}, +"alt": { +"default": "json", +"description": "Data format for response.", +"enum": [ +"json", +"media", +"proto" +], +"enumDescriptions": [ +"Responses with Content-Type of application/json", +"Media download with context-dependent Content-Type", +"Responses with Content-Type of application/x-protobuf" +], +"location": "query", +"type": "string" +}, +"callback": { +"description": "JSONP", +"location": "query", +"type": "string" +}, +"fields": { +"description": "Selector specifying which fields to include in a partial response.", +"location": "query", +"type": "string" +}, +"key": { +"description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", +"location": "query", +"type": "string" +}, +"oauth_token": { +"description": "OAuth 2.0 token for the current user.", +"location": "query", +"type": "string" +}, +"prettyPrint": { +"default": "true", +"description": "Returns response with indentations and line breaks.", +"location": "query", +"type": "boolean" +}, +"quotaUser": { +"description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.", +"location": "query", +"type": "string" +}, +"uploadType": { +"description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", +"location": "query", +"type": "string" +}, +"upload_protocol": { +"description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", +"location": "query", +"type": "string" +} +}, +"protocol": "rest", +"resources": { +"organizations": { +"resources": { +"locations": { +"resources": { +"fleets": { +"methods": { +"list": { +"description": "Returns all fleets within an organization or a project that the caller has access to.", +"flatPath": "v1/organizations/{organizationsId}/locations/{locationsId}/fleets", +"httpMethod": "GET", +"id": "gkehub.organizations.locations.fleets.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "Optional. The maximum number of fleets to return. The service may return fewer than this value. If unspecified, at most 200 fleets will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. A page token, received from a previous `ListFleets` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListFleets` must match the call that provided the page token.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The organization or project to list for Fleets under, in the format `organizations/*/locations/*` or `projects/*/locations/*`.", +"location": "path", +"pattern": "^organizations/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/fleets", +"response": { +"$ref": "ListFleetsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +} +} +}, +"projects": { +"resources": { +"locations": { +"methods": { +"get": { +"description": "Gets information about a location.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}", +"httpMethod": "GET", +"id": "gkehub.projects.locations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Resource name for the location.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Location" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists information about the supported locations for this service. This method can be called in two ways: * **List all public locations:** Use the path `GET /v1/locations`. * **List project-visible locations:** Use the path `GET /v1/projects/{project_id}/locations`. This may include public locations as well as private or other locations specifically visible to the project.", +"flatPath": "v1/projects/{projectsId}/locations", +"httpMethod": "GET", +"id": "gkehub.projects.locations.list", +"parameterOrder": [ +"name" +], +"parameters": { +"extraLocationTypes": { +"description": "Optional. Do not use this field. It is unsupported and is ignored unless explicitly documented otherwise. This is primarily for internal usage.", +"location": "query", +"repeated": true, +"type": "string" +}, +"filter": { +"description": "A filter to narrow down results to a preferred subset. The filtering language accepts strings like `\"displayName=tokyo\"`, and is documented in more detail in [AIP-160](https://google.aip.dev/160).", +"location": "query", +"type": "string" +}, +"name": { +"description": "The resource that owns the locations collection, if applicable.", +"location": "path", +"pattern": "^projects/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The maximum number of results to return. If not set, the service selects a default.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A page token received from the `next_page_token` field in the response. Send that page token to receive the subsequent page.", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}/locations", +"response": { +"$ref": "ListLocationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"features": { +"methods": { +"create": { +"description": "Adds a new Feature.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/features", +"httpMethod": "POST", +"id": "gkehub.projects.locations.features.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"featureId": { +"description": "The ID of the feature to create.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent (project and location) where the Feature will be created. Specified in the format `projects/*/locations/*`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes after the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+parent}/features", +"request": { +"$ref": "Feature" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Removes a Feature.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/features/{featuresId}", +"httpMethod": "DELETE", +"id": "gkehub.projects.locations.features.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"force": { +"description": "If set to true, the delete will ignore any outstanding resources for this Feature (that is, `FeatureState.has_resources` is set to true). These resources will NOT be cleaned up or modified in any way.", +"location": "query", +"type": "boolean" +}, +"name": { +"description": "Required. The Feature resource name in the format `projects/*/locations/*/features/*`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/features/[^/]+$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "Optional. A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes after the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets details of a single Feature.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/features/{featuresId}", +"httpMethod": "GET", +"id": "gkehub.projects.locations.features.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The Feature resource name in the format `projects/*/locations/*/features/*`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/features/[^/]+$", +"required": true, +"type": "string" +}, +"returnPartialSuccess": { +"description": "Optional. If set to true, the response will return partial results when some regions are unreachable and the unreachable field in Feature proto will be populated. If set to false, the request will fail when some regions are unreachable.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Feature" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"getIamPolicy": { +"description": "Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/features/{featuresId}:getIamPolicy", +"httpMethod": "GET", +"id": "gkehub.projects.locations.features.getIamPolicy", +"parameterOrder": [ +"resource" +], +"parameters": { +"options.requestedPolicyVersion": { +"description": "Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).", +"format": "int32", +"location": "query", +"type": "integer" +}, +"resource": { +"description": "REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/features/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+resource}:getIamPolicy", +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists Features in a given project and location.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/features", +"httpMethod": "GET", +"id": "gkehub.projects.locations.features.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Lists Features that match the filter expression, following the syntax outlined in https://google.aip.dev/160. Examples: - Feature with the name \"servicemesh\" in project \"foo-proj\": name = \"projects/foo-proj/locations/global/features/servicemesh\" - Features that have a label called `foo`: labels.foo:* - Features that have a label called `foo` whose value is `bar`: labels.foo = bar", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "One or more fields to compare and use to sort the output. See https://google.aip.dev/132#ordering.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "When requesting a 'page' of resources, `page_size` specifies number of resources to return. If unspecified or set to 0, all resources will be returned.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Token returned by previous call to `ListFeatures` which specifies the position in the list from where to continue listing the resources.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent (project and location) where the Features will be listed. Specified in the format `projects/*/locations/*`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +}, +"returnPartialSuccess": { +"description": "Optional. If set to true, the response will return partial results when some regions are unreachable and the unreachable field in Feature proto will be populated. If set to false, the request will fail when some regions are unreachable.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1/{+parent}/features", +"response": { +"$ref": "ListFeaturesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates an existing Feature.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/features/{featuresId}", +"httpMethod": "PATCH", +"id": "gkehub.projects.locations.features.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The Feature resource name in the format `projects/*/locations/*/features/*`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/features/[^/]+$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes after the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"updateMask": { +"description": "Mask of fields to update.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "Feature" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"setIamPolicy": { +"description": "Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/features/{featuresId}:setIamPolicy", +"httpMethod": "POST", +"id": "gkehub.projects.locations.features.setIamPolicy", +"parameterOrder": [ +"resource" +], +"parameters": { +"resource": { +"description": "REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/features/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+resource}:setIamPolicy", +"request": { +"$ref": "SetIamPolicyRequest" +}, +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"testIamPermissions": { +"description": "Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may \"fail open\" without warning.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/features/{featuresId}:testIamPermissions", +"httpMethod": "POST", +"id": "gkehub.projects.locations.features.testIamPermissions", +"parameterOrder": [ +"resource" +], +"parameters": { +"resource": { +"description": "REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/features/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+resource}:testIamPermissions", +"request": { +"$ref": "TestIamPermissionsRequest" +}, +"response": { +"$ref": "TestIamPermissionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"fleets": { +"methods": { +"create": { +"description": "Creates a fleet.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/fleets", +"httpMethod": "POST", +"id": "gkehub.projects.locations.fleets.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The parent (project and location) where the Fleet will be created. Specified in the format `projects/*/locations/*`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/fleets", +"request": { +"$ref": "Fleet" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Removes a Fleet. There must be no memberships remaining in the Fleet.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/fleets/{fleetsId}", +"httpMethod": "DELETE", +"id": "gkehub.projects.locations.fleets.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The Fleet resource name in the format `projects/*/locations/*/fleets/*`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/fleets/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Returns the details of a fleet.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/fleets/{fleetsId}", +"httpMethod": "GET", +"id": "gkehub.projects.locations.fleets.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The Fleet resource name in the format `projects/*/locations/*/fleets/*`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/fleets/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Fleet" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Returns all fleets within an organization or a project that the caller has access to.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/fleets", +"httpMethod": "GET", +"id": "gkehub.projects.locations.fleets.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "Optional. The maximum number of fleets to return. The service may return fewer than this value. If unspecified, at most 200 fleets will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. A page token, received from a previous `ListFleets` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListFleets` must match the call that provided the page token.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The organization or project to list for Fleets under, in the format `organizations/*/locations/*` or `projects/*/locations/*`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/fleets", +"response": { +"$ref": "ListFleetsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates a fleet.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/fleets/{fleetsId}", +"httpMethod": "PATCH", +"id": "gkehub.projects.locations.fleets.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Output only. The full, unique resource name of this fleet in the format of `projects/{project}/locations/{location}/fleets/{fleet}`. Each Google Cloud project can have at most one fleet resource, named \"default\".", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/fleets/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Required. The fields to be updated;", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "Fleet" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"memberships": { +"methods": { +"create": { +"description": "Creates a new Membership. **This is currently only supported for GKE clusters on Google Cloud**. To register other clusters, follow the instructions at https://cloud.google.com/anthos/multicluster-management/connect/registering-a-cluster.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/memberships", +"httpMethod": "POST", +"id": "gkehub.projects.locations.memberships.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"membershipId": { +"description": "Required. Client chosen ID for the membership. `membership_id` must be a valid RFC 1123 compliant DNS label: 1. At most 63 characters in length 2. It must consist of lower case alphanumeric characters or `-` 3. It must start and end with an alphanumeric character Which can be expressed as the regex: `[a-z0-9]([-a-z0-9]*[a-z0-9])?`, with a maximum length of 63 characters.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent (project and location) where the Memberships will be created. Specified in the format `projects/*/locations/*`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "Optional. A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes after the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+parent}/memberships", +"request": { +"$ref": "Membership" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Removes a Membership. **This is currently only supported for GKE clusters on Google Cloud**. To unregister other clusters, follow the instructions at https://cloud.google.com/anthos/multicluster-management/connect/unregistering-a-cluster.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/memberships/{membershipsId}", +"httpMethod": "DELETE", +"id": "gkehub.projects.locations.memberships.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"force": { +"description": "Optional. If set to true, any subresource from this Membership will also be deleted. Otherwise, the request will only work if the Membership has no subresource.", +"location": "query", +"type": "boolean" +}, +"name": { +"description": "Required. The Membership resource name in the format `projects/*/locations/*/memberships/*`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/memberships/[^/]+$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "Optional. A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes after the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"generateConnectManifest": { +"description": "Generates the manifest for deployment of the GKE connect agent. **This method is used internally by Google-provided libraries.** Most clients should not need to call this method directly.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/memberships/{membershipsId}:generateConnectManifest", +"httpMethod": "GET", +"id": "gkehub.projects.locations.memberships.generateConnectManifest", +"parameterOrder": [ +"name" +], +"parameters": { +"imagePullSecretContent": { +"description": "Optional. The image pull secret content for the registry, if not public.", +"format": "byte", +"location": "query", +"type": "string" +}, +"isUpgrade": { +"description": "Optional. If true, generate the resources for upgrade only. Some resources generated only for installation (e.g. secrets) will be excluded.", +"location": "query", +"type": "boolean" +}, +"name": { +"description": "Required. The Membership resource name the Agent will associate with, in the format `projects/*/locations/*/memberships/*`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/memberships/[^/]+$", +"required": true, +"type": "string" +}, +"namespace": { +"description": "Optional. Namespace for GKE Connect agent resources. Defaults to `gke-connect`. The Connect Agent is authorized automatically when run in the default namespace. Otherwise, explicit authorization must be granted with an additional IAM binding.", +"location": "query", +"type": "string" +}, +"proxy": { +"description": "Optional. URI of a proxy if connectivity from the agent to gkeconnect.googleapis.com requires the use of a proxy. Format must be in the form `http(s)://{proxy_address}`, depending on the HTTP/HTTPS protocol supported by the proxy. This will direct the connect agent's outbound traffic through a HTTP(S) proxy.", +"format": "byte", +"location": "query", +"type": "string" +}, +"registry": { +"description": "Optional. The registry to fetch the connect agent image from. Defaults to gcr.io/gkeconnect.", +"location": "query", +"type": "string" +}, +"version": { +"description": "Optional. The Connect agent version to use. Defaults to the most current version.", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}:generateConnectManifest", +"response": { +"$ref": "GenerateConnectManifestResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets the details of a Membership.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/memberships/{membershipsId}", +"httpMethod": "GET", +"id": "gkehub.projects.locations.memberships.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The Membership resource name in the format `projects/*/locations/*/memberships/*`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/memberships/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Membership" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"getIamPolicy": { +"description": "Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/memberships/{membershipsId}:getIamPolicy", +"httpMethod": "GET", +"id": "gkehub.projects.locations.memberships.getIamPolicy", +"parameterOrder": [ +"resource" +], +"parameters": { +"options.requestedPolicyVersion": { +"description": "Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).", +"format": "int32", +"location": "query", +"type": "integer" +}, +"resource": { +"description": "REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/memberships/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+resource}:getIamPolicy", +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists Memberships in a given project and location.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/memberships", +"httpMethod": "GET", +"id": "gkehub.projects.locations.memberships.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Optional. Lists Memberships that match the filter expression, following the syntax outlined in https://google.aip.dev/160. Examples: - Name is `bar` in project `foo-proj` and location `global`: name = \"projects/foo-proj/locations/global/membership/bar\" - Memberships that have a label called `foo`: labels.foo:* - Memberships that have a label called `foo` whose value is `bar`: labels.foo = bar - Memberships in the CREATING state: state = CREATING", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "Optional. One or more fields to compare and use to sort the output. See https://google.aip.dev/132#ordering.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Optional. When requesting a 'page' of resources, `page_size` specifies number of resources to return. If unspecified or set to 0, all resources will be returned.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. Token returned by previous call to `ListMemberships` which specifies the position in the list from where to continue listing the resources.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent (project and location) where the Memberships will be listed. Specified in the format `projects/*/locations/*`. `projects/*/locations/-` list memberships in all the regions.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/memberships", +"response": { +"$ref": "ListMembershipsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates an existing Membership.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/memberships/{membershipsId}", +"httpMethod": "PATCH", +"id": "gkehub.projects.locations.memberships.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The Membership resource name in the format `projects/*/locations/*/memberships/*`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/memberships/[^/]+$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "Optional. A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes after the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"updateMask": { +"description": "Required. Mask of fields to update.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "Membership" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"setIamPolicy": { +"description": "Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/memberships/{membershipsId}:setIamPolicy", +"httpMethod": "POST", +"id": "gkehub.projects.locations.memberships.setIamPolicy", +"parameterOrder": [ +"resource" +], +"parameters": { +"resource": { +"description": "REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/memberships/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+resource}:setIamPolicy", +"request": { +"$ref": "SetIamPolicyRequest" +}, +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"testIamPermissions": { +"description": "Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may \"fail open\" without warning.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/memberships/{membershipsId}:testIamPermissions", +"httpMethod": "POST", +"id": "gkehub.projects.locations.memberships.testIamPermissions", +"parameterOrder": [ +"resource" +], +"parameters": { +"resource": { +"description": "REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/memberships/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+resource}:testIamPermissions", +"request": { +"$ref": "TestIamPermissionsRequest" +}, +"response": { +"$ref": "TestIamPermissionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"bindings": { +"methods": { +"create": { +"description": "Creates a MembershipBinding.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/memberships/{membershipsId}/bindings", +"httpMethod": "POST", +"id": "gkehub.projects.locations.memberships.bindings.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"membershipBindingId": { +"description": "Required. The ID to use for the MembershipBinding.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent (project and location) where the MembershipBinding will be created. Specified in the format `projects/*/locations/*/memberships/*`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/memberships/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/bindings", +"request": { +"$ref": "MembershipBinding" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a MembershipBinding.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/memberships/{membershipsId}/bindings/{bindingsId}", +"httpMethod": "DELETE", +"id": "gkehub.projects.locations.memberships.bindings.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The MembershipBinding resource name in the format `projects/*/locations/*/memberships/*/bindings/*`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/memberships/[^/]+/bindings/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Returns the details of a MembershipBinding.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/memberships/{membershipsId}/bindings/{bindingsId}", +"httpMethod": "GET", +"id": "gkehub.projects.locations.memberships.bindings.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The MembershipBinding resource name in the format `projects/*/locations/*/memberships/*/bindings/*`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/memberships/[^/]+/bindings/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "MembershipBinding" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists MembershipBindings.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/memberships/{membershipsId}/bindings", +"httpMethod": "GET", +"id": "gkehub.projects.locations.memberships.bindings.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Optional. Lists MembershipBindings that match the filter expression, following the syntax outlined in https://google.aip.dev/160.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Optional. When requesting a 'page' of resources, `page_size` specifies number of resources to return. If unspecified or set to 0, all resources will be returned.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. Token returned by previous call to `ListMembershipBindings` which specifies the position in the list from where to continue listing the resources.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent Membership for which the MembershipBindings will be listed. Specified in the format `projects/*/locations/*/memberships/*`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/memberships/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/bindings", +"response": { +"$ref": "ListMembershipBindingsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates a MembershipBinding.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/memberships/{membershipsId}/bindings/{bindingsId}", +"httpMethod": "PATCH", +"id": "gkehub.projects.locations.memberships.bindings.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The resource name for the membershipbinding itself `projects/{project}/locations/{location}/memberships/{membership}/bindings/{membershipbinding}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/memberships/[^/]+/bindings/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Required. The fields to be updated.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "MembershipBinding" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"rbacrolebindings": { +"methods": { +"create": { +"description": "Creates a Membership RBACRoleBinding.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/memberships/{membershipsId}/rbacrolebindings", +"httpMethod": "POST", +"id": "gkehub.projects.locations.memberships.rbacrolebindings.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The parent (project and location) where the RBACRoleBinding will be created. Specified in the format `projects/*/locations/*/memberships/*`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/memberships/[^/]+$", +"required": true, +"type": "string" +}, +"rbacrolebindingId": { +"description": "Required. Client chosen ID for the RBACRoleBinding. `rbacrolebinding_id` must be a valid RFC 1123 compliant DNS label: 1. At most 63 characters in length 2. It must consist of lower case alphanumeric characters or `-` 3. It must start and end with an alphanumeric character Which can be expressed as the regex: `[a-z0-9]([-a-z0-9]*[a-z0-9])?`, with a maximum length of 63 characters.", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+parent}/rbacrolebindings", +"request": { +"$ref": "RBACRoleBinding" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a Membership RBACRoleBinding.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/memberships/{membershipsId}/rbacrolebindings/{rbacrolebindingsId}", +"httpMethod": "DELETE", +"id": "gkehub.projects.locations.memberships.rbacrolebindings.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The RBACRoleBinding resource name in the format `projects/*/locations/*/memberships/*/rbacrolebindings/*`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/memberships/[^/]+/rbacrolebindings/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"generateMembershipRBACRoleBindingYAML": { +"description": "Generates a YAML of the RBAC policies for the specified RoleBinding and its associated impersonation resources.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/memberships/{membershipsId}/rbacrolebindings:generateMembershipRBACRoleBindingYAML", +"httpMethod": "POST", +"id": "gkehub.projects.locations.memberships.rbacrolebindings.generateMembershipRBACRoleBindingYAML", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The parent (project and location) where the RBACRoleBinding will be created. Specified in the format `projects/*/locations/*/memberships/*`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/memberships/[^/]+$", +"required": true, +"type": "string" +}, +"rbacrolebindingId": { +"description": "Required. Client chosen ID for the RBACRoleBinding. `rbacrolebinding_id` must be a valid RFC 1123 compliant DNS label: 1. At most 63 characters in length 2. It must consist of lower case alphanumeric characters or `-` 3. It must start and end with an alphanumeric character Which can be expressed as the regex: `[a-z0-9]([-a-z0-9]*[a-z0-9])?`, with a maximum length of 63 characters.", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+parent}/rbacrolebindings:generateMembershipRBACRoleBindingYAML", +"request": { +"$ref": "RBACRoleBinding" +}, +"response": { +"$ref": "GenerateMembershipRBACRoleBindingYAMLResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Returns the details of a Membership RBACRoleBinding.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/memberships/{membershipsId}/rbacrolebindings/{rbacrolebindingsId}", +"httpMethod": "GET", +"id": "gkehub.projects.locations.memberships.rbacrolebindings.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The RBACRoleBinding resource name in the format `projects/*/locations/*/memberships/*/rbacrolebindings/*`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/memberships/[^/]+/rbacrolebindings/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "RBACRoleBinding" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists all Membership RBACRoleBindings.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/memberships/{membershipsId}/rbacrolebindings", +"httpMethod": "GET", +"id": "gkehub.projects.locations.memberships.rbacrolebindings.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "Optional. When requesting a 'page' of resources, `page_size` specifies number of resources to return. If unspecified or set to 0, all resources will be returned.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. Token returned by previous call to `ListMembershipRBACRoleBindings` which specifies the position in the list from where to continue listing the resources.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent (project and location) where the Features will be listed. Specified in the format `projects/*/locations/*/memberships/*`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/memberships/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/rbacrolebindings", +"response": { +"$ref": "ListMembershipRBACRoleBindingsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates a Membership RBACRoleBinding.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/memberships/{membershipsId}/rbacrolebindings/{rbacrolebindingsId}", +"httpMethod": "PATCH", +"id": "gkehub.projects.locations.memberships.rbacrolebindings.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The resource name for the rbacrolebinding `projects/{project}/locations/{location}/scopes/{scope}/rbacrolebindings/{rbacrolebinding}` or `projects/{project}/locations/{location}/memberships/{membership}/rbacrolebindings/{rbacrolebinding}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/memberships/[^/]+/rbacrolebindings/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Required. The fields to be updated.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "RBACRoleBinding" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +}, +"operations": { +"methods": { +"cancel": { +"description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}:cancel", +"httpMethod": "POST", +"id": "gkehub.projects.locations.operations.cancel", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be cancelled.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:cancel", +"request": { +"$ref": "CancelOperationRequest" +}, +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}", +"httpMethod": "DELETE", +"id": "gkehub.projects.locations.operations.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be deleted.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}", +"httpMethod": "GET", +"id": "gkehub.projects.locations.operations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/operations", +"httpMethod": "GET", +"id": "gkehub.projects.locations.operations.list", +"parameterOrder": [ +"name" +], +"parameters": { +"filter": { +"description": "The standard list filter.", +"location": "query", +"type": "string" +}, +"name": { +"description": "The name of the operation's parent resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The standard list page size.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The standard list page token.", +"location": "query", +"type": "string" +}, +"returnPartialSuccess": { +"description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `\"projects/example/locations/-\"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1/{+name}/operations", +"response": { +"$ref": "ListOperationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"scopes": { +"methods": { +"create": { +"description": "Creates a Scope.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/scopes", +"httpMethod": "POST", +"id": "gkehub.projects.locations.scopes.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The parent (project and location) where the Scope will be created. Specified in the format `projects/*/locations/*`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +}, +"scopeId": { +"description": "Required. Client chosen ID for the Scope. `scope_id` must be a ????", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+parent}/scopes", +"request": { +"$ref": "Scope" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a Scope.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/scopes/{scopesId}", +"httpMethod": "DELETE", +"id": "gkehub.projects.locations.scopes.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The Scope resource name in the format `projects/*/locations/*/scopes/*`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/scopes/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Returns the details of a Scope.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/scopes/{scopesId}", +"httpMethod": "GET", +"id": "gkehub.projects.locations.scopes.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The Scope resource name in the format `projects/*/locations/*/scopes/*`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/scopes/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Scope" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"getIamPolicy": { +"description": "Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/scopes/{scopesId}:getIamPolicy", +"httpMethod": "GET", +"id": "gkehub.projects.locations.scopes.getIamPolicy", +"parameterOrder": [ +"resource" +], +"parameters": { +"options.requestedPolicyVersion": { +"description": "Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).", +"format": "int32", +"location": "query", +"type": "integer" +}, +"resource": { +"description": "REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/scopes/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+resource}:getIamPolicy", +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists Scopes.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/scopes", +"httpMethod": "GET", +"id": "gkehub.projects.locations.scopes.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "Optional. When requesting a 'page' of resources, `page_size` specifies number of resources to return. If unspecified or set to 0, all resources will be returned.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. Token returned by previous call to `ListScopes` which specifies the position in the list from where to continue listing the resources.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent (project and location) where the Scope will be listed. Specified in the format `projects/*/locations/*`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/scopes", +"response": { +"$ref": "ListScopesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"listMemberships": { +"description": "Lists Memberships bound to a Scope. The response includes relevant Memberships from all regions.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/scopes/{scopesId}:listMemberships", +"httpMethod": "GET", +"id": "gkehub.projects.locations.scopes.listMemberships", +"parameterOrder": [ +"scopeName" +], +"parameters": { +"filter": { +"description": "Optional. Lists Memberships that match the filter expression, following the syntax outlined in https://google.aip.dev/160. Currently, filtering can be done only based on Memberships's `name`, `labels`, `create_time`, `update_time`, and `unique_id`.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Optional. When requesting a 'page' of resources, `page_size` specifies number of resources to return. If unspecified or set to 0, all resources will be returned. Pagination is currently not supported; therefore, setting this field does not have any impact for now.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. Token returned by previous call to `ListBoundMemberships` which specifies the position in the list from where to continue listing the resources.", +"location": "query", +"type": "string" +}, +"scopeName": { +"description": "Required. Name of the Scope, in the format `projects/*/locations/global/scopes/*`, to which the Memberships are bound.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/scopes/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+scopeName}:listMemberships", +"response": { +"$ref": "ListBoundMembershipsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"listPermitted": { +"description": "Lists permitted Scopes.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/scopes:listPermitted", +"httpMethod": "GET", +"id": "gkehub.projects.locations.scopes.listPermitted", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "Optional. When requesting a 'page' of resources, `page_size` specifies number of resources to return. If unspecified or set to 0, all resources will be returned.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. Token returned by previous call to `ListPermittedScopes` which specifies the position in the list from where to continue listing the resources.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent (project and location) where the Scope will be listed. Specified in the format `projects/*/locations/*`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/scopes:listPermitted", +"response": { +"$ref": "ListPermittedScopesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates a scopes.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/scopes/{scopesId}", +"httpMethod": "PATCH", +"id": "gkehub.projects.locations.scopes.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The resource name for the scope `projects/{project}/locations/{location}/scopes/{scope}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/scopes/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Required. The fields to be updated.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "Scope" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"setIamPolicy": { +"description": "Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/scopes/{scopesId}:setIamPolicy", +"httpMethod": "POST", +"id": "gkehub.projects.locations.scopes.setIamPolicy", +"parameterOrder": [ +"resource" +], +"parameters": { +"resource": { +"description": "REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/scopes/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+resource}:setIamPolicy", +"request": { +"$ref": "SetIamPolicyRequest" +}, +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"testIamPermissions": { +"description": "Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may \"fail open\" without warning.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/scopes/{scopesId}:testIamPermissions", +"httpMethod": "POST", +"id": "gkehub.projects.locations.scopes.testIamPermissions", +"parameterOrder": [ +"resource" +], +"parameters": { +"resource": { +"description": "REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/scopes/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+resource}:testIamPermissions", +"request": { +"$ref": "TestIamPermissionsRequest" +}, +"response": { +"$ref": "TestIamPermissionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"namespaces": { +"methods": { +"create": { +"description": "Creates a fleet namespace.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/scopes/{scopesId}/namespaces", +"httpMethod": "POST", +"id": "gkehub.projects.locations.scopes.namespaces.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The parent (project and location) where the Namespace will be created. Specified in the format `projects/*/locations/*/scopes/*`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/scopes/[^/]+$", +"required": true, +"type": "string" +}, +"scopeNamespaceId": { +"description": "Required. Client chosen ID for the Namespace. `namespace_id` must be a valid RFC 1123 compliant DNS label: 1. At most 63 characters in length 2. It must consist of lower case alphanumeric characters or `-` 3. It must start and end with an alphanumeric character Which can be expressed as the regex: `[a-z0-9]([-a-z0-9]*[a-z0-9])?`, with a maximum length of 63 characters.", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+parent}/namespaces", +"request": { +"$ref": "Namespace" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a fleet namespace.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/scopes/{scopesId}/namespaces/{namespacesId}", +"httpMethod": "DELETE", +"id": "gkehub.projects.locations.scopes.namespaces.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The Namespace resource name in the format `projects/*/locations/*/scopes/*/namespaces/*`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/scopes/[^/]+/namespaces/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Returns the details of a fleet namespace.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/scopes/{scopesId}/namespaces/{namespacesId}", +"httpMethod": "GET", +"id": "gkehub.projects.locations.scopes.namespaces.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The Namespace resource name in the format `projects/*/locations/*/scopes/*/namespaces/*`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/scopes/[^/]+/namespaces/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Namespace" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists fleet namespaces.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/scopes/{scopesId}/namespaces", +"httpMethod": "GET", +"id": "gkehub.projects.locations.scopes.namespaces.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "Optional. When requesting a 'page' of resources, `page_size` specifies number of resources to return. If unspecified or set to 0, all resources will be returned.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. Token returned by previous call to `ListFeatures` which specifies the position in the list from where to continue listing the resources.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent (project and location) where the Features will be listed. Specified in the format `projects/*/locations/*/scopes/*`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/scopes/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/namespaces", +"response": { +"$ref": "ListScopeNamespacesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates a fleet namespace.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/scopes/{scopesId}/namespaces/{namespacesId}", +"httpMethod": "PATCH", +"id": "gkehub.projects.locations.scopes.namespaces.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The resource name for the namespace `projects/{project}/locations/{location}/namespaces/{namespace}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/scopes/[^/]+/namespaces/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Required. The fields to be updated.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "Namespace" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"rbacrolebindings": { +"methods": { +"create": { +"description": "Creates a Scope RBACRoleBinding.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/scopes/{scopesId}/rbacrolebindings", +"httpMethod": "POST", +"id": "gkehub.projects.locations.scopes.rbacrolebindings.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The parent (project and location) where the RBACRoleBinding will be created. Specified in the format `projects/*/locations/*/scopes/*`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/scopes/[^/]+$", +"required": true, +"type": "string" +}, +"rbacrolebindingId": { +"description": "Required. Client chosen ID for the RBACRoleBinding. `rbacrolebinding_id` must be a valid RFC 1123 compliant DNS label: 1. At most 63 characters in length 2. It must consist of lower case alphanumeric characters or `-` 3. It must start and end with an alphanumeric character Which can be expressed as the regex: `[a-z0-9]([-a-z0-9]*[a-z0-9])?`, with a maximum length of 63 characters.", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+parent}/rbacrolebindings", +"request": { +"$ref": "RBACRoleBinding" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a Scope RBACRoleBinding.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/scopes/{scopesId}/rbacrolebindings/{rbacrolebindingsId}", +"httpMethod": "DELETE", +"id": "gkehub.projects.locations.scopes.rbacrolebindings.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The RBACRoleBinding resource name in the format `projects/*/locations/*/scopes/*/rbacrolebindings/*`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/scopes/[^/]+/rbacrolebindings/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Returns the details of a Scope RBACRoleBinding.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/scopes/{scopesId}/rbacrolebindings/{rbacrolebindingsId}", +"httpMethod": "GET", +"id": "gkehub.projects.locations.scopes.rbacrolebindings.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The RBACRoleBinding resource name in the format `projects/*/locations/*/scopes/*/rbacrolebindings/*`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/scopes/[^/]+/rbacrolebindings/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "RBACRoleBinding" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists all Scope RBACRoleBindings.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/scopes/{scopesId}/rbacrolebindings", +"httpMethod": "GET", +"id": "gkehub.projects.locations.scopes.rbacrolebindings.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "Optional. When requesting a 'page' of resources, `page_size` specifies number of resources to return. If unspecified or set to 0, all resources will be returned.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. Token returned by previous call to `ListScopeRBACRoleBindings` which specifies the position in the list from where to continue listing the resources.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent (project and location) where the Features will be listed. Specified in the format `projects/*/locations/*/scopes/*`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/scopes/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/rbacrolebindings", +"response": { +"$ref": "ListScopeRBACRoleBindingsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates a Scope RBACRoleBinding.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/scopes/{scopesId}/rbacrolebindings/{rbacrolebindingsId}", +"httpMethod": "PATCH", +"id": "gkehub.projects.locations.scopes.rbacrolebindings.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The resource name for the rbacrolebinding `projects/{project}/locations/{location}/scopes/{scope}/rbacrolebindings/{rbacrolebinding}` or `projects/{project}/locations/{location}/memberships/{membership}/rbacrolebindings/{rbacrolebinding}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/scopes/[^/]+/rbacrolebindings/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Required. The fields to be updated.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "RBACRoleBinding" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +} +} +} +} +} +}, +"revision": "20260215", +"rootUrl": "https://gkehub.googleapis.com/", +"schemas": { +"AppDevExperienceFeatureSpec": { +"description": "Spec for App Dev Experience Feature.", +"id": "AppDevExperienceFeatureSpec", +"properties": {}, +"type": "object" +}, +"AppDevExperienceFeatureState": { +"description": "State for App Dev Exp Feature.", +"id": "AppDevExperienceFeatureState", +"properties": { +"networkingInstallSucceeded": { +"$ref": "Status", +"description": "Status of subcomponent that detects configured Service Mesh resources." +} +}, +"type": "object" +}, +"ApplianceCluster": { +"description": "ApplianceCluster contains information specific to GDC Edge Appliance Clusters.", +"id": "ApplianceCluster", +"properties": { +"resourceLink": { +"description": "Immutable. Self-link of the Google Cloud resource for the Appliance Cluster. For example: //transferappliance.googleapis.com/projects/my-project/locations/us-west1-a/appliances/my-appliance", +"type": "string" +} +}, +"type": "object" +}, +"AuditConfig": { +"description": "Specifies the audit configuration for a service. The configuration determines which permission types are logged, and what identities, if any, are exempted from logging. An AuditConfig must have one or more AuditLogConfigs. If there are AuditConfigs for both `allServices` and a specific service, the union of the two AuditConfigs is used for that service: the log_types specified in each AuditConfig are enabled, and the exempted_members in each AuditLogConfig are exempted. Example Policy with multiple AuditConfigs: { \"audit_configs\": [ { \"service\": \"allServices\", \"audit_log_configs\": [ { \"log_type\": \"DATA_READ\", \"exempted_members\": [ \"user:jose@example.com\" ] }, { \"log_type\": \"DATA_WRITE\" }, { \"log_type\": \"ADMIN_READ\" } ] }, { \"service\": \"sampleservice.googleapis.com\", \"audit_log_configs\": [ { \"log_type\": \"DATA_READ\" }, { \"log_type\": \"DATA_WRITE\", \"exempted_members\": [ \"user:aliya@example.com\" ] } ] } ] } For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also exempts `jose@example.com` from DATA_READ logging, and `aliya@example.com` from DATA_WRITE logging.", +"id": "AuditConfig", +"properties": { +"auditLogConfigs": { +"description": "The configuration for logging of each type of permission.", +"items": { +"$ref": "AuditLogConfig" +}, +"type": "array" +}, +"service": { +"description": "Specifies a service that will be enabled for audit logging. For example, `storage.googleapis.com`, `cloudsql.googleapis.com`. `allServices` is a special value that covers all services.", +"type": "string" +} +}, +"type": "object" +}, +"AuditLogConfig": { +"description": "Provides the configuration for logging a type of permissions. Example: { \"audit_log_configs\": [ { \"log_type\": \"DATA_READ\", \"exempted_members\": [ \"user:jose@example.com\" ] }, { \"log_type\": \"DATA_WRITE\" } ] } This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting jose@example.com from DATA_READ logging.", +"id": "AuditLogConfig", +"properties": { +"exemptedMembers": { +"description": "Specifies the identities that do not cause logging for this type of permission. Follows the same format of Binding.members.", +"items": { +"type": "string" +}, +"type": "array" +}, +"logType": { +"description": "The log type that this config enables.", +"enum": [ +"LOG_TYPE_UNSPECIFIED", +"ADMIN_READ", +"DATA_WRITE", +"DATA_READ" +], +"enumDescriptions": [ +"Default case. Should never be this.", +"Admin reads. Example: CloudIAM getIamPolicy", +"Data writes. Example: CloudSQL Users create", +"Data reads. Example: CloudSQL Users list" +], +"type": "string" +} +}, +"type": "object" +}, +"Authority": { +"description": "Authority encodes how Google will recognize identities from this Membership. See the workload identity documentation for more details: https://cloud.google.com/kubernetes-engine/docs/how-to/workload-identity", +"id": "Authority", +"properties": { +"identityProvider": { +"description": "Output only. An identity provider that reflects the `issuer` in the workload identity pool.", +"readOnly": true, +"type": "string" +}, +"issuer": { +"description": "Optional. A JSON Web Token (JWT) issuer URI. `issuer` must start with `https://` and be a valid URL with length <2000 characters, it must use `location` rather than `zone` for GKE clusters. If set, then Google will allow valid OIDC tokens from this issuer to authenticate within the workload_identity_pool. OIDC discovery will be performed on this URI to validate tokens from the issuer. Clearing `issuer` disables Workload Identity. `issuer` cannot be directly modified; it must be cleared (and Workload Identity disabled) before using a new issuer (and re-enabling Workload Identity).", +"type": "string" +}, +"oidcJwks": { +"description": "Optional. OIDC verification keys for this Membership in JWKS format (RFC 7517). When this field is set, OIDC discovery will NOT be performed on `issuer`, and instead OIDC tokens will be validated using this field.", +"format": "byte", +"type": "string" +}, +"scopeTenancyIdentityProvider": { +"description": "Optional. Output only. The identity provider for the scope-tenancy workload identity pool.", +"readOnly": true, +"type": "string" +}, +"scopeTenancyWorkloadIdentityPool": { +"description": "Optional. Output only. The name of the scope-tenancy workload identity pool. This pool is set in the fleet-level feature.", +"readOnly": true, +"type": "string" +}, +"workloadIdentityPool": { +"description": "Output only. The name of the workload identity pool in which `issuer` will be recognized. There is a single Workload Identity Pool per Hub that is shared between all Memberships that belong to that Hub. For a Hub hosted in {PROJECT_ID}, the workload pool format is `{PROJECT_ID}.hub.id.goog`, although this is subject to change in newer versions of this API.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"BinaryAuthorizationConfig": { +"description": "BinaryAuthorizationConfig defines the fleet level configuration of binary authorization feature.", +"id": "BinaryAuthorizationConfig", +"properties": { +"evaluationMode": { +"description": "Optional. Mode of operation for binauthz policy evaluation.", +"enum": [ +"EVALUATION_MODE_UNSPECIFIED", +"DISABLED", +"POLICY_BINDINGS" +], +"enumDescriptions": [ +"Default value", +"Disable BinaryAuthorization", +"Use Binary Authorization with the policies specified in policy_bindings." +], +"type": "string" +}, +"policyBindings": { +"description": "Optional. Binauthz policies that apply to this cluster.", +"items": { +"$ref": "PolicyBinding" +}, +"type": "array" +} +}, +"type": "object" +}, +"Binding": { +"description": "Associates `members`, or principals, with a `role`.", +"id": "Binding", +"properties": { +"condition": { +"$ref": "Expr", +"description": "The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies)." +}, +"members": { +"description": "Specifies the principals requesting access for a Google Cloud resource. `members` can have the following values: * `allUsers`: A special identifier that represents anyone who is on the internet; with or without a Google account. * `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service account. Does not include identities that come from external identity providers (IdPs) through identity federation. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `group:{emailid}`: An email address that represents a Google group. For example, `admins@example.com`. * `domain:{domain}`: The G Suite domain (primary) that represents all the users of that domain. For example, `google.com` or `example.com`. * `principal://iam.googleapis.com/locations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}`: A single identity in a workforce identity pool. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/group/{group_id}`: All workforce identities in a group. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/attribute.{attribute_name}/{attribute_value}`: All workforce identities with a specific attribute value. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/*`: All identities in a workforce identity pool. * `principal://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/subject/{subject_attribute_value}`: A single identity in a workload identity pool. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/group/{group_id}`: A workload identity pool group. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/attribute.{attribute_name}/{attribute_value}`: All identities in a workload identity pool with a certain attribute. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/*`: All identities in a workload identity pool. * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a user that has been recently deleted. For example, `alice@example.com?uid=123456789012345678901`. If the user is recovered, this value reverts to `user:{emailid}` and the recovered user retains the role in the binding. * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a service account that has been recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the service account is undeleted, this value reverts to `serviceAccount:{emailid}` and the undeleted service account retains the role in the binding. * `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a Google group that has been recently deleted. For example, `admins@example.com?uid=123456789012345678901`. If the group is recovered, this value reverts to `group:{emailid}` and the recovered group retains the role in the binding. * `deleted:principal://iam.googleapis.com/locations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}`: Deleted single identity in a workforce identity pool. For example, `deleted:principal://iam.googleapis.com/locations/global/workforcePools/my-pool-id/subject/my-subject-attribute-value`.", +"items": { +"type": "string" +}, +"type": "array" +}, +"role": { +"description": "Role that is assigned to the list of `members`, or principals. For example, `roles/viewer`, `roles/editor`, or `roles/owner`. For an overview of the IAM roles and permissions, see the [IAM documentation](https://cloud.google.com/iam/docs/roles-overview). For a list of the available pre-defined roles, see [here](https://cloud.google.com/iam/docs/understanding-roles).", +"type": "string" +} +}, +"type": "object" +}, +"CancelOperationRequest": { +"description": "The request message for Operations.CancelOperation.", +"id": "CancelOperationRequest", +"properties": {}, +"type": "object" +}, +"ClusterUpgradeFleetSpec": { +"description": "**ClusterUpgrade**: The configuration for the fleet-level ClusterUpgrade feature.", +"id": "ClusterUpgradeFleetSpec", +"properties": { +"gkeUpgradeOverrides": { +"description": "Allow users to override some properties of each GKE upgrade.", +"items": { +"$ref": "ClusterUpgradeGKEUpgradeOverride" +}, +"type": "array" +}, +"postConditions": { +"$ref": "ClusterUpgradePostConditions", +"description": "Required. Post conditions to evaluate to mark an upgrade COMPLETE. Required." +}, +"upstreamFleets": { +"description": "This fleet consumes upgrades that have COMPLETE status code in the upstream fleets. See UpgradeStatus.Code for code definitions. The fleet name should be either fleet project number or id. This is defined as repeated for future proof reasons. Initial implementation will enforce at most one upstream fleet.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ClusterUpgradeFleetState": { +"description": "**ClusterUpgrade**: The state for the fleet-level ClusterUpgrade feature.", +"id": "ClusterUpgradeFleetState", +"properties": { +"downstreamFleets": { +"description": "This fleets whose upstream_fleets contain the current fleet. The fleet name should be either fleet project number or id.", +"items": { +"type": "string" +}, +"type": "array" +}, +"gkeState": { +"$ref": "ClusterUpgradeGKEUpgradeFeatureState", +"description": "Feature state for GKE clusters." +}, +"ignored": { +"additionalProperties": { +"$ref": "ClusterUpgradeIgnoredMembership" +}, +"description": "A list of memberships ignored by the feature. For example, manually upgraded clusters can be ignored if they are newer than the default versions of its release channel. The membership resource is in the format: `projects/{p}/locations/{l}/membership/{m}`.", +"type": "object" +} +}, +"type": "object" +}, +"ClusterUpgradeGKEUpgrade": { +"description": "GKEUpgrade represents a GKE provided upgrade, e.g., control plane upgrade.", +"id": "ClusterUpgradeGKEUpgrade", +"properties": { +"name": { +"description": "Name of the upgrade, e.g., \"k8s_control_plane\". It should be a valid upgrade name. It must not exceet 99 characters.", +"type": "string" +}, +"version": { +"description": "Version of the upgrade, e.g., \"1.22.1-gke.100\". It should be a valid version. It must not exceet 99 characters.", +"type": "string" +} +}, +"type": "object" +}, +"ClusterUpgradeGKEUpgradeFeatureCondition": { +"description": "GKEUpgradeFeatureCondition describes the condition of the feature for GKE clusters at a certain point of time.", +"id": "ClusterUpgradeGKEUpgradeFeatureCondition", +"properties": { +"reason": { +"description": "Reason why the feature is in this status.", +"type": "string" +}, +"status": { +"description": "Status of the condition, one of True, False, Unknown.", +"type": "string" +}, +"type": { +"description": "Type of the condition, for example, \"ready\".", +"type": "string" +}, +"updateTime": { +"description": "Last timestamp the condition was updated.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"ClusterUpgradeGKEUpgradeFeatureState": { +"description": "GKEUpgradeFeatureState contains feature states for GKE clusters in the scope.", +"id": "ClusterUpgradeGKEUpgradeFeatureState", +"properties": { +"conditions": { +"description": "Current conditions of the feature.", +"items": { +"$ref": "ClusterUpgradeGKEUpgradeFeatureCondition" +}, +"type": "array" +}, +"upgradeState": { +"description": "Upgrade state. It will eventually replace `state`.", +"items": { +"$ref": "ClusterUpgradeGKEUpgradeState" +}, +"type": "array" +} +}, +"type": "object" +}, +"ClusterUpgradeGKEUpgradeOverride": { +"description": "Properties of a GKE upgrade that can be overridden by the user. For example, a user can skip soaking by overriding the soaking to 0.", +"id": "ClusterUpgradeGKEUpgradeOverride", +"properties": { +"postConditions": { +"$ref": "ClusterUpgradePostConditions", +"description": "Required. Post conditions to override for the specified upgrade (name + version). Required." +}, +"upgrade": { +"$ref": "ClusterUpgradeGKEUpgrade", +"description": "Required. Which upgrade to override. Required." +} +}, +"type": "object" +}, +"ClusterUpgradeGKEUpgradeState": { +"description": "GKEUpgradeState is a GKEUpgrade and its state at the scope and fleet level.", +"id": "ClusterUpgradeGKEUpgradeState", +"properties": { +"stats": { +"additionalProperties": { +"format": "int64", +"type": "string" +}, +"description": "Number of GKE clusters in each status code.", +"type": "object" +}, +"status": { +"$ref": "ClusterUpgradeUpgradeStatus", +"description": "Status of the upgrade." +}, +"upgrade": { +"$ref": "ClusterUpgradeGKEUpgrade", +"description": "Which upgrade to track the state." +} +}, +"type": "object" +}, +"ClusterUpgradeIgnoredMembership": { +"description": "IgnoredMembership represents a membership ignored by the feature. A membership can be ignored because it was manually upgraded to a newer version than RC default.", +"id": "ClusterUpgradeIgnoredMembership", +"properties": { +"ignoredTime": { +"description": "Time when the membership was first set to ignored.", +"format": "google-datetime", +"type": "string" +}, +"reason": { +"description": "Reason why the membership is ignored.", +"type": "string" +} +}, +"type": "object" +}, +"ClusterUpgradeMembershipGKEUpgradeState": { +"description": "ScopeGKEUpgradeState is a GKEUpgrade and its state per-membership.", +"id": "ClusterUpgradeMembershipGKEUpgradeState", +"properties": { +"status": { +"$ref": "ClusterUpgradeUpgradeStatus", +"description": "Status of the upgrade." +}, +"upgrade": { +"$ref": "ClusterUpgradeGKEUpgrade", +"description": "Which upgrade to track the state." +} +}, +"type": "object" +}, +"ClusterUpgradeMembershipState": { +"description": "Per-membership state for this feature.", +"id": "ClusterUpgradeMembershipState", +"properties": { +"ignored": { +"$ref": "ClusterUpgradeIgnoredMembership", +"description": "Whether this membership is ignored by the feature. For example, manually upgraded clusters can be ignored if they are newer than the default versions of its release channel." +}, +"upgrades": { +"description": "Actual upgrade state against desired.", +"items": { +"$ref": "ClusterUpgradeMembershipGKEUpgradeState" +}, +"type": "array" +} +}, +"type": "object" +}, +"ClusterUpgradePostConditions": { +"description": "Post conditional checks after an upgrade has been applied on all eligible clusters.", +"id": "ClusterUpgradePostConditions", +"properties": { +"soaking": { +"description": "Required. Amount of time to \"soak\" after a rollout has been finished before marking it COMPLETE. Cannot exceed 30 days. Required.", +"format": "google-duration", +"type": "string" +} +}, +"type": "object" +}, +"ClusterUpgradeUpgradeStatus": { +"description": "UpgradeStatus provides status information for each upgrade.", +"id": "ClusterUpgradeUpgradeStatus", +"properties": { +"code": { +"description": "Status code of the upgrade.", +"enum": [ +"CODE_UNSPECIFIED", +"INELIGIBLE", +"PENDING", +"IN_PROGRESS", +"SOAKING", +"FORCED_SOAKING", +"COMPLETE" +], +"enumDescriptions": [ +"Required by https://linter.aip.dev/126/unspecified.", +"The upgrade is ineligible. At the scope level, this means the upgrade is ineligible for all the clusters in the scope.", +"The upgrade is pending. At the scope level, this means the upgrade is pending for all the clusters in the scope.", +"The upgrade is in progress. At the scope level, this means the upgrade is in progress for at least one cluster in the scope.", +"The upgrade has finished and is soaking until the soaking time is up. At the scope level, this means at least one cluster is in soaking while the rest are either soaking or complete.", +"A cluster will be forced to enter soaking if an upgrade doesn't finish within a certain limit, despite it's actual status.", +"The upgrade has passed all post conditions (soaking). At the scope level, this means all eligible clusters are in COMPLETE status." +], +"type": "string" +}, +"reason": { +"description": "Reason for this status.", +"type": "string" +}, +"updateTime": { +"description": "Last timestamp the status was updated.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"CommonFeatureSpec": { +"description": "CommonFeatureSpec contains Fleet-wide configuration information", +"id": "CommonFeatureSpec", +"properties": { +"appdevexperience": { +"$ref": "AppDevExperienceFeatureSpec", +"description": "Appdevexperience specific spec." +}, +"clusterupgrade": { +"$ref": "ClusterUpgradeFleetSpec", +"description": "ClusterUpgrade (fleet-based) feature spec." +}, +"dataplanev2": { +"$ref": "DataplaneV2FeatureSpec", +"description": "DataplaneV2 feature spec." +}, +"fleetobservability": { +"$ref": "FleetObservabilityFeatureSpec", +"description": "FleetObservability feature spec." +}, +"multiclusteringress": { +"$ref": "MultiClusterIngressFeatureSpec", +"description": "Multicluster Ingress-specific spec." +}, +"rbacrolebindingactuation": { +"$ref": "RBACRoleBindingActuationFeatureSpec", +"description": "RBAC Role Binding Actuation feature spec" +}, +"workloadidentity": { +"$ref": "WorkloadIdentityFeatureSpec", +"description": "Workload Identity feature spec." +} +}, +"type": "object" +}, +"CommonFeatureState": { +"description": "CommonFeatureState contains Fleet-wide Feature status information.", +"id": "CommonFeatureState", +"properties": { +"appdevexperience": { +"$ref": "AppDevExperienceFeatureState", +"description": "Appdevexperience specific state." +}, +"clusterupgrade": { +"$ref": "ClusterUpgradeFleetState", +"description": "ClusterUpgrade fleet-level state." +}, +"fleetobservability": { +"$ref": "FleetObservabilityFeatureState", +"description": "FleetObservability feature state." +}, +"rbacrolebindingactuation": { +"$ref": "RBACRoleBindingActuationFeatureState", +"description": "RBAC Role Binding Actuation feature state" +}, +"state": { +"$ref": "FeatureState", +"description": "Output only. The \"running state\" of the Feature in this Fleet.", +"readOnly": true +}, +"workloadidentity": { +"$ref": "WorkloadIdentityFeatureState", +"description": "WorkloadIdentity fleet-level state." +} +}, +"type": "object" +}, +"CommonFleetDefaultMemberConfigSpec": { +"description": "CommonFleetDefaultMemberConfigSpec contains default configuration information for memberships of a fleet", +"id": "CommonFleetDefaultMemberConfigSpec", +"properties": { +"configmanagement": { +"$ref": "ConfigManagementMembershipSpec", +"description": "Config Management-specific spec." +}, +"identityservice": { +"$ref": "IdentityServiceMembershipSpec", +"description": "Identity Service-specific spec." +}, +"mesh": { +"$ref": "ServiceMeshMembershipSpec", +"description": "Anthos Service Mesh-specific spec" +}, +"policycontroller": { +"$ref": "PolicyControllerMembershipSpec", +"description": "Policy Controller spec." +} +}, +"type": "object" +}, +"CompliancePostureConfig": { +"deprecated": true, +"description": "Deprecated: Compliance Posture is no longer supported. For more details, see https://cloud.google.com/kubernetes-engine/docs/deprecations/posture-management-deprecation. CompliancePostureConfig defines the settings needed to enable/disable features for the Compliance Posture.", +"id": "CompliancePostureConfig", +"properties": { +"complianceStandards": { +"description": "List of enabled compliance standards.", +"items": { +"$ref": "ComplianceStandard" +}, +"type": "array" +}, +"mode": { +"description": "Defines the enablement mode for Compliance Posture.", +"enum": [ +"MODE_UNSPECIFIED", +"DISABLED", +"ENABLED" +], +"enumDescriptions": [ +"Default value not specified.", +"Disables Compliance Posture features on the cluster.", +"Enables Compliance Posture features on the cluster." +], +"type": "string" +} +}, +"type": "object" +}, +"ComplianceStandard": { +"id": "ComplianceStandard", +"properties": { +"standard": { +"description": "Name of the compliance standard.", +"type": "string" +} +}, +"type": "object" +}, +"ConfigManagementConfigSync": { +"description": "Configuration for Config Sync", +"id": "ConfigManagementConfigSync", +"properties": { +"deploymentOverrides": { +"description": "Optional. Configuration for deployment overrides. Applies only to Config Sync deployments with containers that are not a root or namespace reconciler: `reconciler-manager`, `otel-collector`, `resource-group-controller-manager`, `admission-webhook`. To override a root or namespace reconciler, use the rootsync or reposync fields at https://docs.cloud.google.com/kubernetes-engine/config-sync/docs/reference/rootsync-reposync-fields#override-resources instead.", +"items": { +"$ref": "ConfigManagementDeploymentOverride" +}, +"type": "array" +}, +"enabled": { +"description": "Optional. Enables the installation of Config Sync. If set to true, the Feature will manage Config Sync resources, and apply the other ConfigSync fields if they exist. If set to false, the Feature will ignore all other ConfigSync fields and delete the Config Sync resources. If omitted, ConfigSync is considered enabled if the git or oci field is present.", +"type": "boolean" +}, +"git": { +"$ref": "ConfigManagementGitConfig", +"description": "Optional. Git repo configuration for the cluster." +}, +"metricsGcpServiceAccountEmail": { +"deprecated": true, +"description": "Optional. The Email of the Google Cloud Service Account (GSA) used for exporting Config Sync metrics to Cloud Monitoring and Cloud Monarch when Workload Identity is enabled. The GSA should have the Monitoring Metric Writer (roles/monitoring.metricWriter) IAM role. The Kubernetes ServiceAccount `default` in the namespace `config-management-monitoring` should be bound to the GSA. Deprecated: If Workload Identity Federation for GKE is enabled, Google Cloud Service Account is no longer needed for exporting Config Sync metrics: https://cloud.google.com/kubernetes-engine/enterprise/config-sync/docs/how-to/monitor-config-sync-cloud-monitoring#custom-monitoring.", +"type": "string" +}, +"oci": { +"$ref": "ConfigManagementOciConfig", +"description": "Optional. OCI repo configuration for the cluster" +}, +"preventDrift": { +"description": "Optional. Set to true to enable the Config Sync admission webhook to prevent drifts. If set to false, disables the Config Sync admission webhook and does not prevent drifts. Defaults to false. See https://docs.cloud.google.com/kubernetes-engine/config-sync/docs/how-to/prevent-config-drift for details.", +"type": "boolean" +}, +"sourceFormat": { +"description": "Optional. Specifies whether the Config Sync repo is in `hierarchical` or `unstructured` mode. Defaults to `hierarchical`. See https://docs.cloud.google.com/kubernetes-engine/config-sync/docs/concepts/configs#organize-configs for an explanation.", +"type": "string" +}, +"stopSyncing": { +"description": "Optional. Set to true to stop syncing configs for a single cluster. Default to false.", +"type": "boolean" +} +}, +"type": "object" +}, +"ConfigManagementConfigSyncDeploymentState": { +"description": "The state of ConfigSync's deployment on a cluster", +"id": "ConfigManagementConfigSyncDeploymentState", +"properties": { +"admissionWebhook": { +"description": "Deployment state of admission-webhook", +"enum": [ +"DEPLOYMENT_STATE_UNSPECIFIED", +"NOT_INSTALLED", +"INSTALLED", +"ERROR", +"PENDING" +], +"enumDescriptions": [ +"Deployment's state cannot be determined", +"Deployment is not installed", +"Deployment is installed", +"Deployment was attempted to be installed, but has errors", +"Deployment is installing or terminating" +], +"type": "string" +}, +"gitSync": { +"description": "Deployment state of the git-sync pod", +"enum": [ +"DEPLOYMENT_STATE_UNSPECIFIED", +"NOT_INSTALLED", +"INSTALLED", +"ERROR", +"PENDING" +], +"enumDescriptions": [ +"Deployment's state cannot be determined", +"Deployment is not installed", +"Deployment is installed", +"Deployment was attempted to be installed, but has errors", +"Deployment is installing or terminating" +], +"type": "string" +}, +"importer": { +"description": "Deployment state of the importer pod", +"enum": [ +"DEPLOYMENT_STATE_UNSPECIFIED", +"NOT_INSTALLED", +"INSTALLED", +"ERROR", +"PENDING" +], +"enumDescriptions": [ +"Deployment's state cannot be determined", +"Deployment is not installed", +"Deployment is installed", +"Deployment was attempted to be installed, but has errors", +"Deployment is installing or terminating" +], +"type": "string" +}, +"monitor": { +"description": "Deployment state of the monitor pod", +"enum": [ +"DEPLOYMENT_STATE_UNSPECIFIED", +"NOT_INSTALLED", +"INSTALLED", +"ERROR", +"PENDING" +], +"enumDescriptions": [ +"Deployment's state cannot be determined", +"Deployment is not installed", +"Deployment is installed", +"Deployment was attempted to be installed, but has errors", +"Deployment is installing or terminating" +], +"type": "string" +}, +"otelCollector": { +"description": "Deployment state of otel-collector", +"enum": [ +"DEPLOYMENT_STATE_UNSPECIFIED", +"NOT_INSTALLED", +"INSTALLED", +"ERROR", +"PENDING" +], +"enumDescriptions": [ +"Deployment's state cannot be determined", +"Deployment is not installed", +"Deployment is installed", +"Deployment was attempted to be installed, but has errors", +"Deployment is installing or terminating" +], +"type": "string" +}, +"reconcilerManager": { +"description": "Deployment state of reconciler-manager pod", +"enum": [ +"DEPLOYMENT_STATE_UNSPECIFIED", +"NOT_INSTALLED", +"INSTALLED", +"ERROR", +"PENDING" +], +"enumDescriptions": [ +"Deployment's state cannot be determined", +"Deployment is not installed", +"Deployment is installed", +"Deployment was attempted to be installed, but has errors", +"Deployment is installing or terminating" +], +"type": "string" +}, +"resourceGroupControllerManager": { +"description": "Deployment state of resource-group-controller-manager", +"enum": [ +"DEPLOYMENT_STATE_UNSPECIFIED", +"NOT_INSTALLED", +"INSTALLED", +"ERROR", +"PENDING" +], +"enumDescriptions": [ +"Deployment's state cannot be determined", +"Deployment is not installed", +"Deployment is installed", +"Deployment was attempted to be installed, but has errors", +"Deployment is installing or terminating" +], +"type": "string" +}, +"rootReconciler": { +"description": "Deployment state of root-reconciler", +"enum": [ +"DEPLOYMENT_STATE_UNSPECIFIED", +"NOT_INSTALLED", +"INSTALLED", +"ERROR", +"PENDING" +], +"enumDescriptions": [ +"Deployment's state cannot be determined", +"Deployment is not installed", +"Deployment is installed", +"Deployment was attempted to be installed, but has errors", +"Deployment is installing or terminating" +], +"type": "string" +}, +"syncer": { +"description": "Deployment state of the syncer pod", +"enum": [ +"DEPLOYMENT_STATE_UNSPECIFIED", +"NOT_INSTALLED", +"INSTALLED", +"ERROR", +"PENDING" +], +"enumDescriptions": [ +"Deployment's state cannot be determined", +"Deployment is not installed", +"Deployment is installed", +"Deployment was attempted to be installed, but has errors", +"Deployment is installing or terminating" +], +"type": "string" +} +}, +"type": "object" +}, +"ConfigManagementConfigSyncError": { +"description": "Errors pertaining to the installation of Config Sync", +"id": "ConfigManagementConfigSyncError", +"properties": { +"errorMessage": { +"description": "A string representing the user facing error message", +"type": "string" +} +}, +"type": "object" +}, +"ConfigManagementConfigSyncState": { +"description": "State information for ConfigSync", +"id": "ConfigManagementConfigSyncState", +"properties": { +"clusterLevelStopSyncingState": { +"description": "Output only. Whether syncing resources to the cluster is stopped at the cluster level.", +"enum": [ +"STOP_SYNCING_STATE_UNSPECIFIED", +"NOT_STOPPED", +"PENDING", +"STOPPED" +], +"enumDescriptions": [ +"State cannot be determined", +"Syncing resources to the cluster is not stopped at the cluster level.", +"Some reconcilers stop syncing resources to the cluster, while others are still syncing.", +"Syncing resources to the cluster is stopped at the cluster level." +], +"readOnly": true, +"type": "string" +}, +"crCount": { +"description": "Output only. The number of RootSync and RepoSync CRs in the cluster.", +"format": "int32", +"readOnly": true, +"type": "integer" +}, +"deploymentState": { +"$ref": "ConfigManagementConfigSyncDeploymentState", +"description": "Output only. Information about the deployment of ConfigSync, including the version of the various Pods deployed", +"readOnly": true +}, +"errors": { +"description": "Output only. Errors pertaining to the installation of Config Sync.", +"items": { +"$ref": "ConfigManagementConfigSyncError" +}, +"readOnly": true, +"type": "array" +}, +"reposyncCrd": { +"description": "Output only. The state of the Reposync CRD", +"enum": [ +"CRD_STATE_UNSPECIFIED", +"NOT_INSTALLED", +"INSTALLED", +"TERMINATING", +"INSTALLING" +], +"enumDescriptions": [ +"CRD's state cannot be determined", +"CRD is not installed", +"CRD is installed", +"CRD is terminating (i.e., it has been deleted and is cleaning up)", +"CRD is installing" +], +"readOnly": true, +"type": "string" +}, +"rootsyncCrd": { +"description": "Output only. The state of the RootSync CRD", +"enum": [ +"CRD_STATE_UNSPECIFIED", +"NOT_INSTALLED", +"INSTALLED", +"TERMINATING", +"INSTALLING" +], +"enumDescriptions": [ +"CRD's state cannot be determined", +"CRD is not installed", +"CRD is installed", +"CRD is terminating (i.e., it has been deleted and is cleaning up)", +"CRD is installing" +], +"readOnly": true, +"type": "string" +}, +"state": { +"description": "Output only. The state of CS This field summarizes the other fields in this message.", +"enum": [ +"STATE_UNSPECIFIED", +"CONFIG_SYNC_NOT_INSTALLED", +"CONFIG_SYNC_INSTALLED", +"CONFIG_SYNC_ERROR", +"CONFIG_SYNC_PENDING" +], +"enumDescriptions": [ +"CS's state cannot be determined.", +"CS is not installed.", +"The expected CS version is installed successfully.", +"CS encounters errors.", +"CS is installing or terminating." +], +"readOnly": true, +"type": "string" +}, +"syncState": { +"$ref": "ConfigManagementSyncState", +"description": "Output only. The state of ConfigSync's process to sync configs to a cluster", +"readOnly": true +}, +"version": { +"$ref": "ConfigManagementConfigSyncVersion", +"description": "Output only. The version of ConfigSync deployed", +"readOnly": true +} +}, +"type": "object" +}, +"ConfigManagementConfigSyncVersion": { +"description": "Specific versioning information pertaining to ConfigSync's Pods", +"id": "ConfigManagementConfigSyncVersion", +"properties": { +"admissionWebhook": { +"description": "Version of the deployed admission-webhook pod", +"type": "string" +}, +"gitSync": { +"description": "Version of the deployed git-sync pod", +"type": "string" +}, +"importer": { +"description": "Version of the deployed importer pod", +"type": "string" +}, +"monitor": { +"description": "Version of the deployed monitor pod", +"type": "string" +}, +"otelCollector": { +"description": "Version of the deployed otel-collector pod", +"type": "string" +}, +"reconcilerManager": { +"description": "Version of the deployed reconciler-manager pod", +"type": "string" +}, +"resourceGroupControllerManager": { +"description": "Version of the deployed resource-group-controller-manager pod", +"type": "string" +}, +"rootReconciler": { +"description": "Version of the deployed reconciler container in root-reconciler pod", +"type": "string" +}, +"syncer": { +"description": "Version of the deployed syncer pod", +"type": "string" +} +}, +"type": "object" +}, +"ConfigManagementContainerOverride": { +"description": "Configuration for a container override.", +"id": "ConfigManagementContainerOverride", +"properties": { +"containerName": { +"description": "Required. The name of the container.", +"type": "string" +}, +"cpuLimit": { +"description": "Optional. The cpu limit of the container. Use the following CPU resource units: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/#meaning-of-cpu.", +"type": "string" +}, +"cpuRequest": { +"description": "Optional. The cpu request of the container. Use the following CPU resource units: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/#meaning-of-cpu.", +"type": "string" +}, +"memoryLimit": { +"description": "Optional. The memory limit of the container. Use the following memory resource units: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/#meaning-of-memory.", +"type": "string" +}, +"memoryRequest": { +"description": "Optional. The memory request of the container. Use the following memory resource units: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/#meaning-of-memory.", +"type": "string" +} +}, +"type": "object" +}, +"ConfigManagementDeploymentOverride": { +"description": "Configuration for a deployment override.", +"id": "ConfigManagementDeploymentOverride", +"properties": { +"containers": { +"description": "Optional. The containers of the deployment resource to be overridden.", +"items": { +"$ref": "ConfigManagementContainerOverride" +}, +"type": "array" +}, +"deploymentName": { +"description": "Required. The name of the deployment resource to be overridden.", +"type": "string" +}, +"deploymentNamespace": { +"description": "Required. The namespace of the deployment resource to be overridden.", +"type": "string" +} +}, +"type": "object" +}, +"ConfigManagementErrorResource": { +"description": "Model for a config file in the git repo with an associated Sync error", +"id": "ConfigManagementErrorResource", +"properties": { +"resourceGvk": { +"$ref": "ConfigManagementGroupVersionKind", +"description": "Group/version/kind of the resource that is causing an error" +}, +"resourceName": { +"description": "Metadata name of the resource that is causing an error", +"type": "string" +}, +"resourceNamespace": { +"description": "Namespace of the resource that is causing an error", +"type": "string" +}, +"sourcePath": { +"description": "Path in the git repo of the erroneous config", +"type": "string" +} +}, +"type": "object" +}, +"ConfigManagementGatekeeperDeploymentState": { +"description": "State of Policy Controller installation.", +"id": "ConfigManagementGatekeeperDeploymentState", +"properties": { +"gatekeeperAudit": { +"description": "Status of gatekeeper-audit deployment.", +"enum": [ +"DEPLOYMENT_STATE_UNSPECIFIED", +"NOT_INSTALLED", +"INSTALLED", +"ERROR", +"PENDING" +], +"enumDescriptions": [ +"Deployment's state cannot be determined", +"Deployment is not installed", +"Deployment is installed", +"Deployment was attempted to be installed, but has errors", +"Deployment is installing or terminating" +], +"type": "string" +}, +"gatekeeperControllerManagerState": { +"description": "Status of gatekeeper-controller-manager pod.", +"enum": [ +"DEPLOYMENT_STATE_UNSPECIFIED", +"NOT_INSTALLED", +"INSTALLED", +"ERROR", +"PENDING" +], +"enumDescriptions": [ +"Deployment's state cannot be determined", +"Deployment is not installed", +"Deployment is installed", +"Deployment was attempted to be installed, but has errors", +"Deployment is installing or terminating" +], +"type": "string" +}, +"gatekeeperMutation": { +"description": "Status of the pod serving the mutation webhook.", +"enum": [ +"DEPLOYMENT_STATE_UNSPECIFIED", +"NOT_INSTALLED", +"INSTALLED", +"ERROR", +"PENDING" +], +"enumDescriptions": [ +"Deployment's state cannot be determined", +"Deployment is not installed", +"Deployment is installed", +"Deployment was attempted to be installed, but has errors", +"Deployment is installing or terminating" +], +"type": "string" +} +}, +"type": "object" +}, +"ConfigManagementGitConfig": { +"description": "Git repo configuration for a single cluster.", +"id": "ConfigManagementGitConfig", +"properties": { +"gcpServiceAccountEmail": { +"description": "Optional. The Google Cloud Service Account Email used for auth when secret_type is `gcpserviceaccount`.", +"type": "string" +}, +"httpsProxy": { +"description": "Optional. URL for the HTTPS proxy to be used when communicating with the Git repo. Only specify when secret_type is `cookiefile`, `token`, or `none`.", +"type": "string" +}, +"policyDir": { +"description": "Optional. The path within the Git repository that represents the top level of the repo to sync. Default: the root directory of the repository.", +"type": "string" +}, +"secretType": { +"description": "Required. Type of secret configured for access to the Git repo. Must be one of `ssh`, `cookiefile`, `gcenode`, `token`, `gcpserviceaccount`, `githubapp` or `none`. The validation of this is case-sensitive.", +"type": "string" +}, +"syncBranch": { +"description": "Optional. The branch of the repository to sync from. Default: master.", +"type": "string" +}, +"syncRepo": { +"description": "Required. The URL of the Git repository to use as the source of truth.", +"type": "string" +}, +"syncRev": { +"description": "Optional. Git revision (tag or hash) to check out. Default HEAD.", +"type": "string" +}, +"syncWaitSecs": { +"description": "Optional. Period in seconds between consecutive syncs. Default: 15.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"ConfigManagementGroupVersionKind": { +"description": "A Kubernetes object's GVK", +"id": "ConfigManagementGroupVersionKind", +"properties": { +"group": { +"description": "Kubernetes Group", +"type": "string" +}, +"kind": { +"description": "Kubernetes Kind", +"type": "string" +}, +"version": { +"description": "Kubernetes Version", +"type": "string" +} +}, +"type": "object" +}, +"ConfigManagementHierarchyControllerConfig": { +"description": "Configuration for Hierarchy Controller", +"id": "ConfigManagementHierarchyControllerConfig", +"properties": { +"enableHierarchicalResourceQuota": { +"description": "Whether hierarchical resource quota is enabled in this cluster.", +"type": "boolean" +}, +"enablePodTreeLabels": { +"description": "Whether pod tree labels are enabled in this cluster.", +"type": "boolean" +}, +"enabled": { +"description": "Whether Hierarchy Controller is enabled in this cluster.", +"type": "boolean" +} +}, +"type": "object" +}, +"ConfigManagementHierarchyControllerDeploymentState": { +"description": "Deployment state for Hierarchy Controller", +"id": "ConfigManagementHierarchyControllerDeploymentState", +"properties": { +"extension": { +"description": "The deployment state for Hierarchy Controller extension (e.g. v0.7.0-hc.1)", +"enum": [ +"DEPLOYMENT_STATE_UNSPECIFIED", +"NOT_INSTALLED", +"INSTALLED", +"ERROR", +"PENDING" +], +"enumDescriptions": [ +"Deployment's state cannot be determined", +"Deployment is not installed", +"Deployment is installed", +"Deployment was attempted to be installed, but has errors", +"Deployment is installing or terminating" +], +"type": "string" +}, +"hnc": { +"description": "The deployment state for open source HNC (e.g. v0.7.0-hc.0)", +"enum": [ +"DEPLOYMENT_STATE_UNSPECIFIED", +"NOT_INSTALLED", +"INSTALLED", +"ERROR", +"PENDING" +], +"enumDescriptions": [ +"Deployment's state cannot be determined", +"Deployment is not installed", +"Deployment is installed", +"Deployment was attempted to be installed, but has errors", +"Deployment is installing or terminating" +], +"type": "string" +} +}, +"type": "object" +}, +"ConfigManagementHierarchyControllerState": { +"description": "State for Hierarchy Controller", +"id": "ConfigManagementHierarchyControllerState", +"properties": { +"state": { +"$ref": "ConfigManagementHierarchyControllerDeploymentState", +"description": "The deployment state for Hierarchy Controller" +}, +"version": { +"$ref": "ConfigManagementHierarchyControllerVersion", +"description": "The version for Hierarchy Controller" +} +}, +"type": "object" +}, +"ConfigManagementHierarchyControllerVersion": { +"description": "Version for Hierarchy Controller", +"id": "ConfigManagementHierarchyControllerVersion", +"properties": { +"extension": { +"description": "Version for Hierarchy Controller extension", +"type": "string" +}, +"hnc": { +"description": "Version for open source HNC", +"type": "string" +} +}, +"type": "object" +}, +"ConfigManagementInstallError": { +"description": "Errors pertaining to the installation of ACM", +"id": "ConfigManagementInstallError", +"properties": { +"errorMessage": { +"description": "A string representing the user facing error message", +"type": "string" +} +}, +"type": "object" +}, +"ConfigManagementMembershipSpec": { +"description": "**Anthos Config Management**: Configuration for a single cluster. Intended to parallel the ConfigManagement CR.", +"id": "ConfigManagementMembershipSpec", +"properties": { +"cluster": { +"description": "Optional. User-specified cluster name used by the Config Sync cluster-name-selector annotation or ClusterSelector object, for applying configs to only a subset of clusters. Read more about the cluster-name-selector annotation and ClusterSelector object at https://docs.cloud.google.com/kubernetes-engine/config-sync/docs/how-to/cluster-scoped-objects#limiting-configs. Only set this field if a name different from the cluster's fleet membership name is used by the Config Sync cluster-name-selector annotation or ClusterSelector.", +"type": "string" +}, +"configSync": { +"$ref": "ConfigManagementConfigSync", +"description": "Optional. Config Sync configuration for the cluster." +}, +"hierarchyController": { +"$ref": "ConfigManagementHierarchyControllerConfig", +"deprecated": true, +"description": "Optional. Hierarchy Controller configuration for the cluster. Deprecated: Configuring Hierarchy Controller through the configmanagement feature is no longer recommended. Use https://github.com/kubernetes-sigs/hierarchical-namespaces instead." +}, +"management": { +"deprecated": true, +"description": "Optional. Deprecated: From version 1.21.0, automatic Feature management is unavailable, and Config Sync only supports manual upgrades.", +"enum": [ +"MANAGEMENT_UNSPECIFIED", +"MANAGEMENT_AUTOMATIC", +"MANAGEMENT_MANUAL" +], +"enumDescriptions": [ +"Unspecified", +"Google will manage the Feature for the cluster.", +"User will manually manage the Feature for the cluster." +], +"type": "string" +}, +"policyController": { +"$ref": "ConfigManagementPolicyController", +"deprecated": true, +"description": "Optional. Policy Controller configuration for the cluster. Deprecated: Configuring Policy Controller through the configmanagement feature is no longer recommended. Use the policycontroller feature instead." +}, +"version": { +"description": "Optional. Version of Config Sync to install. Defaults to the latest supported Config Sync version if the config_sync field is enabled. See supported versions at https://cloud.google.com/kubernetes-engine/config-sync/docs/get-support-config-sync#version_support_policy.", +"type": "string" +} +}, +"type": "object" +}, +"ConfigManagementMembershipState": { +"description": "**Anthos Config Management**: State for a single cluster.", +"id": "ConfigManagementMembershipState", +"properties": { +"clusterName": { +"description": "Output only. This field is set to the `cluster_name` field of the Membership Spec if it is not empty. Otherwise, it is set to the cluster's fleet membership name.", +"readOnly": true, +"type": "string" +}, +"configSyncState": { +"$ref": "ConfigManagementConfigSyncState", +"description": "Output only. Current sync status", +"readOnly": true +}, +"hierarchyControllerState": { +"$ref": "ConfigManagementHierarchyControllerState", +"description": "Output only. Hierarchy Controller status", +"readOnly": true +}, +"kubernetesApiServerVersion": { +"description": "Output only. The Kubernetes API server version of the cluster.", +"readOnly": true, +"type": "string" +}, +"membershipSpec": { +"$ref": "ConfigManagementMembershipSpec", +"description": "Output only. Membership configuration in the cluster. This represents the actual state in the cluster, while the MembershipSpec in the FeatureSpec represents the intended state", +"readOnly": true +}, +"operatorState": { +"$ref": "ConfigManagementOperatorState", +"description": "Output only. Current install status of ACM's Operator", +"readOnly": true +}, +"policyControllerState": { +"$ref": "ConfigManagementPolicyControllerState", +"description": "Output only. PolicyController status", +"readOnly": true +} +}, +"type": "object" +}, +"ConfigManagementOciConfig": { +"description": "OCI repo configuration for a single cluster", +"id": "ConfigManagementOciConfig", +"properties": { +"gcpServiceAccountEmail": { +"description": "Optional. The Google Cloud Service Account Email used for auth when secret_type is `gcpserviceaccount`.", +"type": "string" +}, +"policyDir": { +"description": "Optional. The absolute path of the directory that contains the local resources. Default: the root directory of the image.", +"type": "string" +}, +"secretType": { +"description": "Required. Type of secret configured for access to the OCI repo. Must be one of `gcenode`, `gcpserviceaccount`, `k8sserviceaccount` or `none`. The validation of this is case-sensitive.", +"type": "string" +}, +"syncRepo": { +"description": "Required. The OCI image repository URL for the package to sync from. e.g. `LOCATION-docker.pkg.dev/PROJECT_ID/REPOSITORY_NAME/PACKAGE_NAME`.", +"type": "string" +}, +"syncWaitSecs": { +"description": "Optional. Period in seconds between consecutive syncs. Default: 15.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"ConfigManagementOperatorState": { +"description": "State information for an ACM's Operator", +"id": "ConfigManagementOperatorState", +"properties": { +"deploymentState": { +"description": "The state of the Operator's deployment", +"enum": [ +"DEPLOYMENT_STATE_UNSPECIFIED", +"NOT_INSTALLED", +"INSTALLED", +"ERROR", +"PENDING" +], +"enumDescriptions": [ +"Deployment's state cannot be determined", +"Deployment is not installed", +"Deployment is installed", +"Deployment was attempted to be installed, but has errors", +"Deployment is installing or terminating" +], +"type": "string" +}, +"errors": { +"description": "Install errors.", +"items": { +"$ref": "ConfigManagementInstallError" +}, +"type": "array" +}, +"version": { +"description": "The semenatic version number of the operator", +"type": "string" +} +}, +"type": "object" +}, +"ConfigManagementPolicyController": { +"description": "Configuration for Policy Controller", +"id": "ConfigManagementPolicyController", +"properties": { +"auditIntervalSeconds": { +"description": "Sets the interval for Policy Controller Audit Scans (in seconds). When set to 0, this disables audit functionality altogether.", +"format": "int64", +"type": "string" +}, +"enabled": { +"description": "Enables the installation of Policy Controller. If false, the rest of PolicyController fields take no effect.", +"type": "boolean" +}, +"exemptableNamespaces": { +"description": "The set of namespaces that are excluded from Policy Controller checks. Namespaces do not need to currently exist on the cluster.", +"items": { +"type": "string" +}, +"type": "array" +}, +"logDeniesEnabled": { +"description": "Logs all denies and dry run failures.", +"type": "boolean" +}, +"monitoring": { +"$ref": "ConfigManagementPolicyControllerMonitoring", +"description": "Monitoring specifies the configuration of monitoring." +}, +"mutationEnabled": { +"description": "Enable or disable mutation in policy controller. If true, mutation CRDs, webhook and controller deployment will be deployed to the cluster.", +"type": "boolean" +}, +"referentialRulesEnabled": { +"description": "Enables the ability to use Constraint Templates that reference to objects other than the object currently being evaluated.", +"type": "boolean" +}, +"templateLibraryInstalled": { +"description": "Installs the default template library along with Policy Controller.", +"type": "boolean" +}, +"updateTime": { +"description": "Output only. Last time this membership spec was updated.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"ConfigManagementPolicyControllerMigration": { +"description": "State for the migration of PolicyController from ACM -> PoCo Hub.", +"id": "ConfigManagementPolicyControllerMigration", +"properties": { +"copyTime": { +"description": "Last time this membership spec was copied to PoCo feature.", +"format": "google-datetime", +"type": "string" +}, +"stage": { +"description": "Stage of the migration.", +"enum": [ +"STAGE_UNSPECIFIED", +"ACM_MANAGED", +"POCO_MANAGED" +], +"enumDescriptions": [ +"Unknown state of migration.", +"ACM Hub/Operator manages policycontroller. No migration yet completed.", +"All migrations steps complete; Poco Hub now manages policycontroller." +], +"type": "string" +} +}, +"type": "object" +}, +"ConfigManagementPolicyControllerMonitoring": { +"description": "PolicyControllerMonitoring specifies the backends Policy Controller should export metrics to. For example, to specify metrics should be exported to Cloud Monitoring and Prometheus, specify backends: [\"cloudmonitoring\", \"prometheus\"]", +"id": "ConfigManagementPolicyControllerMonitoring", +"properties": { +"backends": { +"description": "Specifies the list of backends Policy Controller will export to. An empty list would effectively disable metrics export.", +"items": { +"enum": [ +"MONITORING_BACKEND_UNSPECIFIED", +"PROMETHEUS", +"CLOUD_MONITORING" +], +"enumDescriptions": [ +"Backend cannot be determined", +"Prometheus backend for monitoring", +"Stackdriver/Cloud Monitoring backend for monitoring" +], +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ConfigManagementPolicyControllerState": { +"description": "State for PolicyControllerState.", +"id": "ConfigManagementPolicyControllerState", +"properties": { +"deploymentState": { +"$ref": "ConfigManagementGatekeeperDeploymentState", +"description": "The state about the policy controller installation." +}, +"migration": { +"$ref": "ConfigManagementPolicyControllerMigration", +"description": "Record state of ACM -> PoCo Hub migration for this feature." +}, +"version": { +"$ref": "ConfigManagementPolicyControllerVersion", +"description": "The version of Gatekeeper Policy Controller deployed." +} +}, +"type": "object" +}, +"ConfigManagementPolicyControllerVersion": { +"description": "The build version of Gatekeeper Policy Controller is using.", +"id": "ConfigManagementPolicyControllerVersion", +"properties": { +"version": { +"description": "The gatekeeper image tag that is composed of ACM version, git tag, build number.", +"type": "string" +} +}, +"type": "object" +}, +"ConfigManagementSyncError": { +"description": "An ACM created error representing a problem syncing configurations", +"id": "ConfigManagementSyncError", +"properties": { +"code": { +"description": "An ACM defined error code", +"type": "string" +}, +"errorMessage": { +"description": "A description of the error", +"type": "string" +}, +"errorResources": { +"description": "A list of config(s) associated with the error, if any", +"items": { +"$ref": "ConfigManagementErrorResource" +}, +"type": "array" +} +}, +"type": "object" +}, +"ConfigManagementSyncState": { +"description": "State indicating an ACM's progress syncing configurations to a cluster", +"id": "ConfigManagementSyncState", +"properties": { +"code": { +"description": "Sync status code", +"enum": [ +"SYNC_CODE_UNSPECIFIED", +"SYNCED", +"PENDING", +"ERROR", +"NOT_CONFIGURED", +"NOT_INSTALLED", +"UNAUTHORIZED", +"UNREACHABLE" +], +"enumDescriptions": [ +"Config Sync cannot determine a sync code", +"Config Sync successfully synced the git Repo with the cluster", +"Config Sync is in the progress of syncing a new change", +"Indicates an error configuring Config Sync, and user action is required", +"Config Sync has been installed but not configured", +"Config Sync has not been installed", +"Error authorizing with the cluster", +"Cluster could not be reached" +], +"type": "string" +}, +"errors": { +"description": "A list of errors resulting from problematic configs. This list will be truncated after 100 errors, although it is unlikely for that many errors to simultaneously exist.", +"items": { +"$ref": "ConfigManagementSyncError" +}, +"type": "array" +}, +"importToken": { +"description": "Token indicating the state of the importer.", +"type": "string" +}, +"lastSync": { +"deprecated": true, +"description": "Deprecated: use last_sync_time instead. Timestamp of when ACM last successfully synced the repo The time format is specified in https://golang.org/pkg/time/#Time.String", +"type": "string" +}, +"lastSyncTime": { +"description": "Timestamp type of when ACM last successfully synced the repo", +"format": "google-datetime", +"type": "string" +}, +"sourceToken": { +"description": "Token indicating the state of the repo.", +"type": "string" +}, +"syncToken": { +"description": "Token indicating the state of the syncer.", +"type": "string" +} +}, +"type": "object" +}, +"ConnectAgentResource": { +"description": "ConnectAgentResource represents a Kubernetes resource manifest for Connect Agent deployment.", +"id": "ConnectAgentResource", +"properties": { +"manifest": { +"description": "YAML manifest of the resource.", +"type": "string" +}, +"type": { +"$ref": "TypeMeta", +"description": "Kubernetes type of the resource." +} +}, +"type": "object" +}, +"DataplaneV2FeatureSpec": { +"description": "**Dataplane V2**: Spec", +"id": "DataplaneV2FeatureSpec", +"properties": { +"enableEncryption": { +"description": "Enable dataplane-v2 based encryption for multiple clusters.", +"type": "boolean" +} +}, +"type": "object" +}, +"DefaultClusterConfig": { +"description": "DefaultClusterConfig describes the default cluster configurations to be applied to all clusters born-in-fleet.", +"id": "DefaultClusterConfig", +"properties": { +"binaryAuthorizationConfig": { +"$ref": "BinaryAuthorizationConfig", +"description": "Optional. Enable/Disable binary authorization features for the cluster." +}, +"compliancePostureConfig": { +"$ref": "CompliancePostureConfig", +"deprecated": true, +"description": "Optional. Deprecated: Compliance Posture is no longer supported. For more details, see https://cloud.google.com/kubernetes-engine/docs/deprecations/posture-management-deprecation. Enable/Disable Compliance Posture features for the cluster. Note that on UpdateFleet, only full replacement of this field is allowed. Users are not allowed for partial updates through field mask." +}, +"securityPostureConfig": { +"$ref": "SecurityPostureConfig", +"description": "Optional. Enable/Disable Security Posture features for the cluster." +} +}, +"type": "object" +}, +"EdgeCluster": { +"description": "EdgeCluster contains information specific to Google Edge Clusters.", +"id": "EdgeCluster", +"properties": { +"resourceLink": { +"description": "Immutable. Self-link of the Google Cloud resource for the Edge Cluster. For example: //edgecontainer.googleapis.com/projects/my-project/locations/us-west1-a/clusters/my-cluster", +"type": "string" +} +}, +"type": "object" +}, +"Empty": { +"description": "A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }", +"id": "Empty", +"properties": {}, +"type": "object" +}, +"Expr": { +"description": "Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: \"Summary size limit\" description: \"Determines if a summary is less than 100 chars\" expression: \"document.summary.size() < 100\" Example (Equality): title: \"Requestor is owner\" description: \"Determines if requestor is the document owner\" expression: \"document.owner == request.auth.claims.email\" Example (Logic): title: \"Public documents\" description: \"Determine whether the document should be publicly visible\" expression: \"document.type != 'private' && document.type != 'internal'\" Example (Data Manipulation): title: \"Notification string\" description: \"Create a notification string with a timestamp.\" expression: \"'New message received at ' + string(document.create_time)\" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information.", +"id": "Expr", +"properties": { +"description": { +"description": "Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI.", +"type": "string" +}, +"expression": { +"description": "Textual representation of an expression in Common Expression Language syntax.", +"type": "string" +}, +"location": { +"description": "Optional. String indicating the location of the expression for error reporting, e.g. a file name and a position in the file.", +"type": "string" +}, +"title": { +"description": "Optional. Title for the expression, i.e. a short string describing its purpose. This can be used e.g. in UIs which allow to enter the expression.", +"type": "string" +} +}, +"type": "object" +}, +"Feature": { +"description": "Feature represents the settings and status of any Fleet Feature.", +"id": "Feature", +"properties": { +"createTime": { +"description": "Output only. When the Feature resource was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"deleteTime": { +"description": "Output only. When the Feature resource was deleted.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"fleetDefaultMemberConfig": { +"$ref": "CommonFleetDefaultMemberConfigSpec", +"description": "Optional. Feature configuration applicable to all memberships of the fleet." +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Labels for this Feature.", +"type": "object" +}, +"membershipSpecs": { +"additionalProperties": { +"$ref": "MembershipFeatureSpec" +}, +"description": "Optional. Membership-specific configuration for this Feature. If this Feature does not support any per-Membership configuration, this field may be unused. The keys indicate which Membership the configuration is for, in the form: `projects/{p}/locations/{l}/memberships/{m}` Where {p} is the project, {l} is a valid location and {m} is a valid Membership in this project at that location. {p} WILL match the Feature's project. {p} will always be returned as the project number, but the project ID is also accepted during input. If the same Membership is specified in the map twice (using the project ID form, and the project number form), exactly ONE of the entries will be saved, with no guarantees as to which. For this reason, it is recommended the same format be used for all entries when mutating a Feature.", +"type": "object" +}, +"membershipStates": { +"additionalProperties": { +"$ref": "MembershipFeatureState" +}, +"description": "Output only. Membership-specific Feature status. If this Feature does report any per-Membership status, this field may be unused. The keys indicate which Membership the state is for, in the form: `projects/{p}/locations/{l}/memberships/{m}` Where {p} is the project number, {l} is a valid location and {m} is a valid Membership in this project at that location. {p} MUST match the Feature's project number.", +"readOnly": true, +"type": "object" +}, +"name": { +"description": "Output only. The full, unique name of this Feature resource in the format `projects/*/locations/*/features/*`.", +"readOnly": true, +"type": "string" +}, +"resourceState": { +"$ref": "FeatureResourceState", +"description": "Output only. State of the Feature resource itself.", +"readOnly": true +}, +"scopeSpecs": { +"additionalProperties": { +"$ref": "ScopeFeatureSpec" +}, +"description": "Optional. Scope-specific configuration for this Feature. If this Feature does not support any per-Scope configuration, this field may be unused. The keys indicate which Scope the configuration is for, in the form: `projects/{p}/locations/global/scopes/{s}` Where {p} is the project, {s} is a valid Scope in this project. {p} WILL match the Feature's project. {p} will always be returned as the project number, but the project ID is also accepted during input. If the same Scope is specified in the map twice (using the project ID form, and the project number form), exactly ONE of the entries will be saved, with no guarantees as to which. For this reason, it is recommended the same format be used for all entries when mutating a Feature.", +"type": "object" +}, +"scopeStates": { +"additionalProperties": { +"$ref": "ScopeFeatureState" +}, +"description": "Output only. Scope-specific Feature status. If this Feature does report any per-Scope status, this field may be unused. The keys indicate which Scope the state is for, in the form: `projects/{p}/locations/global/scopes/{s}` Where {p} is the project, {s} is a valid Scope in this project. {p} WILL match the Feature's project.", +"readOnly": true, +"type": "object" +}, +"spec": { +"$ref": "CommonFeatureSpec", +"description": "Optional. Fleet-wide Feature configuration. If this Feature does not support any Fleet-wide configuration, this field may be unused." +}, +"state": { +"$ref": "CommonFeatureState", +"description": "Output only. The Fleet-wide Feature state.", +"readOnly": true +}, +"unreachable": { +"description": "Output only. List of locations that could not be reached while fetching this feature.", +"items": { +"type": "string" +}, +"readOnly": true, +"type": "array" +}, +"updateTime": { +"description": "Output only. When the Feature resource was last updated.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"FeatureResourceState": { +"description": "FeatureResourceState describes the state of a Feature *resource* in the GkeHub API. See `FeatureState` for the \"running state\" of the Feature in the Fleet and across Memberships.", +"id": "FeatureResourceState", +"properties": { +"state": { +"description": "The current state of the Feature resource in the Hub API.", +"enum": [ +"STATE_UNSPECIFIED", +"ENABLING", +"ACTIVE", +"DISABLING", +"UPDATING", +"SERVICE_UPDATING" +], +"enumDescriptions": [ +"State is unknown or not set.", +"The Feature is being enabled, and the Feature resource is being created. Once complete, the corresponding Feature will be enabled in this Fleet.", +"The Feature is enabled in this Fleet, and the Feature resource is fully available.", +"The Feature is being disabled in this Fleet, and the Feature resource is being deleted.", +"The Feature resource is being updated.", +"The Feature resource is being updated by the Hub Service." +], +"type": "string" +} +}, +"type": "object" +}, +"FeatureState": { +"description": "FeatureState describes the high-level state of a Feature. It may be used to describe a Feature's state at the environ-level, or per-membershop, depending on the context.", +"id": "FeatureState", +"properties": { +"code": { +"description": "The high-level, machine-readable status of this Feature.", +"enum": [ +"CODE_UNSPECIFIED", +"OK", +"WARNING", +"ERROR" +], +"enumDescriptions": [ +"Unknown or not set.", +"The Feature is operating normally.", +"The Feature has encountered an issue, and is operating in a degraded state. The Feature may need intervention to return to normal operation. See the description and any associated Feature-specific details for more information.", +"The Feature is not operating or is in a severely degraded state. The Feature may need intervention to return to normal operation. See the description and any associated Feature-specific details for more information." +], +"type": "string" +}, +"description": { +"description": "A human-readable description of the current status.", +"type": "string" +}, +"updateTime": { +"description": "The time this status and any related Feature-specific details were updated.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"Fleet": { +"description": "Fleet contains the Fleet-wide metadata and configuration.", +"id": "Fleet", +"properties": { +"createTime": { +"description": "Output only. When the Fleet was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"defaultClusterConfig": { +"$ref": "DefaultClusterConfig", +"description": "Optional. The default cluster configurations to apply across the fleet." +}, +"deleteTime": { +"description": "Output only. When the Fleet was deleted.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"displayName": { +"description": "Optional. A user-assigned display name of the Fleet. When present, it must be between 4 to 30 characters. Allowed characters are: lowercase and uppercase letters, numbers, hyphen, single-quote, double-quote, space, and exclamation point. Example: `Production Fleet`", +"type": "string" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. Labels for this Fleet.", +"type": "object" +}, +"name": { +"description": "Output only. The full, unique resource name of this fleet in the format of `projects/{project}/locations/{location}/fleets/{fleet}`. Each Google Cloud project can have at most one fleet resource, named \"default\".", +"readOnly": true, +"type": "string" +}, +"state": { +"$ref": "FleetLifecycleState", +"description": "Output only. State of the namespace resource.", +"readOnly": true +}, +"uid": { +"description": "Output only. Google-generated UUID for this resource. This is unique across all Fleet resources. If a Fleet resource is deleted and another resource with the same name is created, it gets a different uid.", +"readOnly": true, +"type": "string" +}, +"updateTime": { +"description": "Output only. When the Fleet was last updated.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"FleetLifecycleState": { +"description": "FleetLifecycleState describes the state of a Fleet resource.", +"id": "FleetLifecycleState", +"properties": { +"code": { +"description": "Output only. The current state of the Fleet resource.", +"enum": [ +"CODE_UNSPECIFIED", +"CREATING", +"READY", +"DELETING", +"UPDATING" +], +"enumDescriptions": [ +"The code is not set.", +"The fleet is being created.", +"The fleet active.", +"The fleet is being deleted.", +"The fleet is being updated." +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"FleetObservabilityFeatureError": { +"description": "All error details of the fleet observability feature.", +"id": "FleetObservabilityFeatureError", +"properties": { +"code": { +"description": "The code of the error.", +"type": "string" +}, +"description": { +"description": "A human-readable description of the current status.", +"type": "string" +} +}, +"type": "object" +}, +"FleetObservabilityFeatureSpec": { +"description": "**Fleet Observability**: The Hub-wide input for the FleetObservability feature.", +"id": "FleetObservabilityFeatureSpec", +"properties": { +"loggingConfig": { +"$ref": "FleetObservabilityLoggingConfig", +"description": "Specified if fleet logging feature is enabled for the entire fleet. If UNSPECIFIED, fleet logging feature is disabled for the entire fleet." +} +}, +"type": "object" +}, +"FleetObservabilityFeatureState": { +"description": "**FleetObservability**: Hub-wide Feature for FleetObservability feature. state.", +"id": "FleetObservabilityFeatureState", +"properties": { +"logging": { +"$ref": "FleetObservabilityFleetObservabilityLoggingState", +"description": "The feature state of default logging." +}, +"monitoring": { +"$ref": "FleetObservabilityFleetObservabilityMonitoringState", +"description": "The feature state of fleet monitoring." +} +}, +"type": "object" +}, +"FleetObservabilityFleetObservabilityBaseFeatureState": { +"description": "Base state for fleet observability feature.", +"id": "FleetObservabilityFleetObservabilityBaseFeatureState", +"properties": { +"code": { +"description": "The high-level, machine-readable status of this Feature.", +"enum": [ +"CODE_UNSPECIFIED", +"OK", +"ERROR" +], +"enumDescriptions": [ +"Unknown or not set.", +"The Feature is operating normally.", +"The Feature is encountering errors in the reconciliation. The Feature may need intervention to return to normal operation. See the description and any associated Feature-specific details for more information." +], +"type": "string" +}, +"errors": { +"description": "Errors after reconciling the monitoring and logging feature if the code is not OK.", +"items": { +"$ref": "FleetObservabilityFeatureError" +}, +"type": "array" +} +}, +"type": "object" +}, +"FleetObservabilityFleetObservabilityLoggingState": { +"description": "Feature state for logging feature.", +"id": "FleetObservabilityFleetObservabilityLoggingState", +"properties": { +"defaultLog": { +"$ref": "FleetObservabilityFleetObservabilityBaseFeatureState", +"description": "The base feature state of fleet default log." +}, +"scopeLog": { +"$ref": "FleetObservabilityFleetObservabilityBaseFeatureState", +"description": "The base feature state of fleet scope log." +} +}, +"type": "object" +}, +"FleetObservabilityFleetObservabilityMonitoringState": { +"description": "Feature state for monitoring feature.", +"id": "FleetObservabilityFleetObservabilityMonitoringState", +"properties": { +"state": { +"$ref": "FleetObservabilityFleetObservabilityBaseFeatureState", +"description": "The base feature state of fleet monitoring feature." +} +}, +"type": "object" +}, +"FleetObservabilityLoggingConfig": { +"description": "LoggingConfig defines the configuration for different types of logs.", +"id": "FleetObservabilityLoggingConfig", +"properties": { +"defaultConfig": { +"$ref": "FleetObservabilityRoutingConfig", +"description": "Specified if applying the default routing config to logs not specified in other configs." +}, +"fleetScopeLogsConfig": { +"$ref": "FleetObservabilityRoutingConfig", +"description": "Specified if applying the routing config to all logs for all fleet scopes." +} +}, +"type": "object" +}, +"FleetObservabilityMembershipSpec": { +"description": "**FleetObservability**: The membership-specific input for FleetObservability feature.", +"id": "FleetObservabilityMembershipSpec", +"properties": {}, +"type": "object" +}, +"FleetObservabilityMembershipState": { +"description": "**FleetObservability**: Membership-specific Feature state for fleetobservability.", +"id": "FleetObservabilityMembershipState", +"properties": {}, +"type": "object" +}, +"FleetObservabilityRoutingConfig": { +"description": "RoutingConfig configures the behaviour of fleet logging feature.", +"id": "FleetObservabilityRoutingConfig", +"properties": { +"mode": { +"description": "mode configures the logs routing mode.", +"enum": [ +"MODE_UNSPECIFIED", +"COPY", +"MOVE" +], +"enumDescriptions": [ +"If UNSPECIFIED, fleet logging feature is disabled.", +"logs will be copied to the destination project.", +"logs will be moved to the destination project." +], +"type": "string" +} +}, +"type": "object" +}, +"GenerateConnectManifestResponse": { +"description": "GenerateConnectManifestResponse contains manifest information for installing/upgrading a Connect agent.", +"id": "GenerateConnectManifestResponse", +"properties": { +"manifest": { +"description": "The ordered list of Kubernetes resources that need to be applied to the cluster for GKE Connect agent installation/upgrade.", +"items": { +"$ref": "ConnectAgentResource" +}, +"type": "array" +} +}, +"type": "object" +}, +"GenerateMembershipRBACRoleBindingYAMLResponse": { +"description": "Response for GenerateRBACRoleBindingYAML.", +"id": "GenerateMembershipRBACRoleBindingYAMLResponse", +"properties": { +"roleBindingsYaml": { +"description": "a yaml text blob including the RBAC policies.", +"type": "string" +} +}, +"type": "object" +}, +"GkeCluster": { +"description": "GkeCluster contains information specific to GKE clusters.", +"id": "GkeCluster", +"properties": { +"clusterMissing": { +"description": "Output only. If cluster_missing is set then it denotes that the GKE cluster no longer exists in the GKE Control Plane.", +"readOnly": true, +"type": "boolean" +}, +"resourceLink": { +"description": "Immutable. Self-link of the Google Cloud resource for the GKE cluster. For example: //container.googleapis.com/projects/my-project/locations/us-west1-a/clusters/my-cluster Zonal clusters are also supported.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleRpcStatus": { +"description": "The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors).", +"id": "GoogleRpcStatus", +"properties": { +"code": { +"description": "The status code, which should be an enum value of google.rpc.Code.", +"format": "int32", +"type": "integer" +}, +"details": { +"description": "A list of messages that carry the error details. There is a common set of message types for APIs to use.", +"items": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.", +"type": "string" +} +}, +"type": "object" +}, +"IdentityServiceAuthMethod": { +"description": "Configuration of an auth method for a member/cluster. Only one authentication method (e.g., OIDC and LDAP) can be set per AuthMethod.", +"id": "IdentityServiceAuthMethod", +"properties": { +"azureadConfig": { +"$ref": "IdentityServiceAzureADConfig", +"description": "AzureAD specific Configuration." +}, +"googleConfig": { +"$ref": "IdentityServiceGoogleConfig", +"description": "GoogleConfig specific configuration." +}, +"ldapConfig": { +"$ref": "IdentityServiceLdapConfig", +"description": "LDAP specific configuration." +}, +"name": { +"description": "Identifier for auth config.", +"type": "string" +}, +"oidcConfig": { +"$ref": "IdentityServiceOidcConfig", +"description": "OIDC specific configuration." +}, +"proxy": { +"description": "Proxy server address to use for auth method.", +"type": "string" +}, +"samlConfig": { +"$ref": "IdentityServiceSamlConfig", +"description": "SAML specific configuration." +} +}, +"type": "object" +}, +"IdentityServiceAzureADConfig": { +"description": "Configuration for the AzureAD Auth flow.", +"id": "IdentityServiceAzureADConfig", +"properties": { +"clientId": { +"description": "ID for the registered client application that makes authentication requests to the Azure AD identity provider.", +"type": "string" +}, +"clientSecret": { +"description": "Input only. Unencrypted AzureAD client secret will be passed to the GKE Hub CLH.", +"type": "string" +}, +"encryptedClientSecret": { +"description": "Output only. Encrypted AzureAD client secret.", +"format": "byte", +"readOnly": true, +"type": "string" +}, +"groupFormat": { +"description": "Optional. Format of the AzureAD groups that the client wants for auth.", +"type": "string" +}, +"kubectlRedirectUri": { +"description": "The redirect URL that kubectl uses for authorization.", +"type": "string" +}, +"tenant": { +"description": "Kind of Azure AD account to be authenticated. Supported values are or for accounts belonging to a specific tenant.", +"type": "string" +}, +"userClaim": { +"description": "Optional. Claim in the AzureAD ID Token that holds the user details.", +"type": "string" +} +}, +"type": "object" +}, +"IdentityServiceDiagnosticInterface": { +"description": "Configuration options for the AIS diagnostic interface.", +"id": "IdentityServiceDiagnosticInterface", +"properties": { +"enabled": { +"description": "Determines whether to enable the diagnostic interface.", +"type": "boolean" +}, +"expirationTime": { +"description": "Determines the expiration time of the diagnostic interface enablement. When reached, requests to the interface would be automatically rejected.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"IdentityServiceGoogleConfig": { +"description": "Configuration for the Google Plugin Auth flow.", +"id": "IdentityServiceGoogleConfig", +"properties": { +"disable": { +"description": "Disable automatic configuration of Google Plugin on supported platforms.", +"type": "boolean" +} +}, +"type": "object" +}, +"IdentityServiceGroupConfig": { +"description": "Contains the properties for locating and authenticating groups in the directory.", +"id": "IdentityServiceGroupConfig", +"properties": { +"baseDn": { +"description": "Required. The location of the subtree in the LDAP directory to search for group entries.", +"type": "string" +}, +"filter": { +"description": "Optional. Optional filter to be used when searching for groups a user belongs to. This can be used to explicitly match only certain groups in order to reduce the amount of groups returned for each user. This defaults to \"(objectClass=Group)\".", +"type": "string" +}, +"idAttribute": { +"description": "Optional. The identifying name of each group a user belongs to. For example, if this is set to \"distinguishedName\" then RBACs and other group expectations should be written as full DNs. This defaults to \"distinguishedName\".", +"type": "string" +} +}, +"type": "object" +}, +"IdentityServiceIdentityServiceOptions": { +"description": "Holds non-protocol-related configuration options.", +"id": "IdentityServiceIdentityServiceOptions", +"properties": { +"diagnosticInterface": { +"$ref": "IdentityServiceDiagnosticInterface", +"description": "Configuration options for the AIS diagnostic interface." +}, +"sessionDuration": { +"description": "Determines the lifespan of STS tokens issued by Anthos Identity Service.", +"format": "google-duration", +"type": "string" +} +}, +"type": "object" +}, +"IdentityServiceLdapConfig": { +"description": "Configuration for the LDAP Auth flow.", +"id": "IdentityServiceLdapConfig", +"properties": { +"group": { +"$ref": "IdentityServiceGroupConfig", +"description": "Optional. Contains the properties for locating and authenticating groups in the directory." +}, +"server": { +"$ref": "IdentityServiceServerConfig", +"description": "Required. Server settings for the external LDAP server." +}, +"serviceAccount": { +"$ref": "IdentityServiceServiceAccountConfig", +"description": "Required. Contains the credentials of the service account which is authorized to perform the LDAP search in the directory. The credentials can be supplied by the combination of the DN and password or the client certificate." +}, +"user": { +"$ref": "IdentityServiceUserConfig", +"description": "Required. Defines where users exist in the LDAP directory." +} +}, +"type": "object" +}, +"IdentityServiceMembershipSpec": { +"description": "**Anthos Identity Service**: Configuration for a single Membership.", +"id": "IdentityServiceMembershipSpec", +"properties": { +"authMethods": { +"description": "A member may support multiple auth methods.", +"items": { +"$ref": "IdentityServiceAuthMethod" +}, +"type": "array" +}, +"identityServiceOptions": { +"$ref": "IdentityServiceIdentityServiceOptions", +"description": "Optional. non-protocol-related configuration options." +} +}, +"type": "object" +}, +"IdentityServiceMembershipState": { +"description": "**Anthos Identity Service**: State for a single Membership.", +"id": "IdentityServiceMembershipState", +"properties": { +"failureReason": { +"description": "The reason of the failure.", +"type": "string" +}, +"installedVersion": { +"description": "Installed AIS version. This is the AIS version installed on this member. The values makes sense iff state is OK.", +"type": "string" +}, +"memberConfig": { +"$ref": "IdentityServiceMembershipSpec", +"description": "Last reconciled membership configuration" +}, +"state": { +"description": "Deployment state on this member", +"enum": [ +"DEPLOYMENT_STATE_UNSPECIFIED", +"OK", +"ERROR" +], +"enumDescriptions": [ +"Unspecified state", +"deployment succeeds", +"Failure with error." +], +"type": "string" +} +}, +"type": "object" +}, +"IdentityServiceOidcConfig": { +"description": "Configuration for OIDC Auth flow.", +"id": "IdentityServiceOidcConfig", +"properties": { +"certificateAuthorityData": { +"description": "PEM-encoded CA for OIDC provider.", +"type": "string" +}, +"clientId": { +"description": "ID for OIDC client application.", +"type": "string" +}, +"clientSecret": { +"description": "Input only. Unencrypted OIDC client secret will be passed to the GKE Hub CLH.", +"type": "string" +}, +"deployCloudConsoleProxy": { +"description": "Flag to denote if reverse proxy is used to connect to auth provider. This flag should be set to true when provider is not reachable by Google Cloud Console.", +"type": "boolean" +}, +"enableAccessToken": { +"description": "Enable access token.", +"type": "boolean" +}, +"encryptedClientSecret": { +"description": "Output only. Encrypted OIDC Client secret", +"format": "byte", +"readOnly": true, +"type": "string" +}, +"extraParams": { +"description": "Comma-separated list of key-value pairs.", +"type": "string" +}, +"groupPrefix": { +"description": "Prefix to prepend to group name.", +"type": "string" +}, +"groupsClaim": { +"description": "Claim in OIDC ID token that holds group information.", +"type": "string" +}, +"issuerUri": { +"description": "URI for the OIDC provider. This should point to the level below .well-known/openid-configuration.", +"type": "string" +}, +"kubectlRedirectUri": { +"description": "Registered redirect uri to redirect users going through OAuth flow using kubectl plugin.", +"type": "string" +}, +"scopes": { +"description": "Comma-separated list of identifiers.", +"type": "string" +}, +"userClaim": { +"description": "Claim in OIDC ID token that holds username.", +"type": "string" +}, +"userPrefix": { +"description": "Prefix to prepend to user name.", +"type": "string" +} +}, +"type": "object" +}, +"IdentityServiceSamlConfig": { +"description": "Configuration for the SAML Auth flow.", +"id": "IdentityServiceSamlConfig", +"properties": { +"attributeMapping": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. The mapping of additional user attributes like nickname, birthday and address etc.. `key` is the name of this additional attribute. `value` is a string presenting as CEL(common expression language, go/cel) used for getting the value from the resources. Take nickname as an example, in this case, `key` is \"attribute.nickname\" and `value` is \"assertion.nickname\".", +"type": "object" +}, +"groupPrefix": { +"description": "Optional. Prefix to prepend to group name.", +"type": "string" +}, +"groupsAttribute": { +"description": "Optional. The SAML attribute to read groups from. This value is expected to be a string and will be passed along as-is (with the option of being prefixed by the `group_prefix`).", +"type": "string" +}, +"identityProviderCertificates": { +"description": "Required. The list of IdP certificates to validate the SAML response against.", +"items": { +"type": "string" +}, +"type": "array" +}, +"identityProviderId": { +"description": "Required. The entity ID of the SAML IdP.", +"type": "string" +}, +"identityProviderSsoUri": { +"description": "Required. The URI where the SAML IdP exposes the SSO service.", +"type": "string" +}, +"userAttribute": { +"description": "Optional. The SAML attribute to read username from. If unspecified, the username will be read from the NameID element of the assertion in SAML response. This value is expected to be a string and will be passed along as-is (with the option of being prefixed by the `user_prefix`).", +"type": "string" +}, +"userPrefix": { +"description": "Optional. Prefix to prepend to user name.", +"type": "string" +} +}, +"type": "object" +}, +"IdentityServiceServerConfig": { +"description": "Server settings for the external LDAP server.", +"id": "IdentityServiceServerConfig", +"properties": { +"certificateAuthorityData": { +"description": "Optional. Contains a Base64 encoded, PEM formatted certificate authority certificate for the LDAP server. This must be provided for the \"ldaps\" and \"startTLS\" connections.", +"format": "byte", +"type": "string" +}, +"connectionType": { +"description": "Optional. Defines the connection type to communicate with the LDAP server. If `starttls` or `ldaps` is specified, the certificate_authority_data should not be empty.", +"type": "string" +}, +"host": { +"description": "Required. Defines the hostname or IP of the LDAP server. Port is optional and will default to 389, if unspecified. For example, \"ldap.server.example\" or \"10.10.10.10:389\".", +"type": "string" +} +}, +"type": "object" +}, +"IdentityServiceServiceAccountConfig": { +"description": "Contains the credentials of the service account which is authorized to perform the LDAP search in the directory. The credentials can be supplied by the combination of the DN and password or the client certificate.", +"id": "IdentityServiceServiceAccountConfig", +"properties": { +"simpleBindCredentials": { +"$ref": "IdentityServiceSimpleBindCredentials", +"description": "Credentials for basic auth." +} +}, +"type": "object" +}, +"IdentityServiceSimpleBindCredentials": { +"description": "The structure holds the LDAP simple binding credential.", +"id": "IdentityServiceSimpleBindCredentials", +"properties": { +"dn": { +"description": "Required. The distinguished name(DN) of the service account object/user.", +"type": "string" +}, +"encryptedPassword": { +"description": "Output only. The encrypted password of the service account object/user.", +"format": "byte", +"readOnly": true, +"type": "string" +}, +"password": { +"description": "Required. Input only. The password of the service account object/user.", +"type": "string" +} +}, +"type": "object" +}, +"IdentityServiceUserConfig": { +"description": "Defines where users exist in the LDAP directory.", +"id": "IdentityServiceUserConfig", +"properties": { +"baseDn": { +"description": "Required. The location of the subtree in the LDAP directory to search for user entries.", +"type": "string" +}, +"filter": { +"description": "Optional. Filter to apply when searching for the user. This can be used to further restrict the user accounts which are allowed to login. This defaults to \"(objectClass=User)\".", +"type": "string" +}, +"idAttribute": { +"description": "Optional. Determines which attribute to use as the user's identity after they are authenticated. This is distinct from the loginAttribute field to allow users to login with a username, but then have their actual identifier be an email address or full Distinguished Name (DN). For example, setting loginAttribute to \"sAMAccountName\" and identifierAttribute to \"userPrincipalName\" would allow a user to login as \"bsmith\", but actual RBAC policies for the user would be written as \"bsmith@example.com\". Using \"userPrincipalName\" is recommended since this will be unique for each user. This defaults to \"userPrincipalName\".", +"type": "string" +}, +"loginAttribute": { +"description": "Optional. The name of the attribute which matches against the input username. This is used to find the user in the LDAP database e.g. \"(=)\" and is combined with the optional filter field. This defaults to \"userPrincipalName\".", +"type": "string" +} +}, +"type": "object" +}, +"KubernetesMetadata": { +"description": "KubernetesMetadata provides informational metadata for Memberships representing Kubernetes clusters.", +"id": "KubernetesMetadata", +"properties": { +"kubernetesApiServerVersion": { +"description": "Output only. Kubernetes API server version string as reported by `/version`.", +"readOnly": true, +"type": "string" +}, +"memoryMb": { +"description": "Output only. The total memory capacity as reported by the sum of all Kubernetes nodes resources, defined in MB.", +"format": "int32", +"readOnly": true, +"type": "integer" +}, +"nodeCount": { +"description": "Output only. Node count as reported by Kubernetes nodes resources.", +"format": "int32", +"readOnly": true, +"type": "integer" +}, +"nodeProviderId": { +"description": "Output only. Node providerID as reported by the first node in the list of nodes on the Kubernetes endpoint. On Kubernetes platforms that support zero-node clusters (like GKE-on-GCP), the node_count will be zero and the node_provider_id will be empty.", +"readOnly": true, +"type": "string" +}, +"updateTime": { +"description": "Output only. The time at which these details were last updated. This update_time is different from the Membership-level update_time since EndpointDetails are updated internally for API consumers.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"vcpuCount": { +"description": "Output only. vCPU count as reported by Kubernetes nodes resources.", +"format": "int32", +"readOnly": true, +"type": "integer" +} +}, +"type": "object" +}, +"KubernetesResource": { +"description": "KubernetesResource contains the YAML manifests and configuration for Membership Kubernetes resources in the cluster. After CreateMembership or UpdateMembership, these resources should be re-applied in the cluster.", +"id": "KubernetesResource", +"properties": { +"connectResources": { +"description": "Output only. The Kubernetes resources for installing the GKE Connect agent This field is only populated in the Membership returned from a successful long-running operation from CreateMembership or UpdateMembership. It is not populated during normal GetMembership or ListMemberships requests. To get the resource manifest after the initial registration, the caller should make a UpdateMembership call with an empty field mask.", +"items": { +"$ref": "ResourceManifest" +}, +"readOnly": true, +"type": "array" +}, +"membershipCrManifest": { +"description": "Input only. The YAML representation of the Membership CR. This field is ignored for GKE clusters where Hub can read the CR directly. Callers should provide the CR that is currently present in the cluster during CreateMembership or UpdateMembership, or leave this field empty if none exists. The CR manifest is used to validate the cluster has not been registered with another Membership.", +"type": "string" +}, +"membershipResources": { +"description": "Output only. Additional Kubernetes resources that need to be applied to the cluster after Membership creation, and after every update. This field is only populated in the Membership returned from a successful long-running operation from CreateMembership or UpdateMembership. It is not populated during normal GetMembership or ListMemberships requests. To get the resource manifest after the initial registration, the caller should make a UpdateMembership call with an empty field mask.", +"items": { +"$ref": "ResourceManifest" +}, +"readOnly": true, +"type": "array" +}, +"resourceOptions": { +"$ref": "ResourceOptions", +"description": "Optional. Options for Kubernetes resource generation." +} +}, +"type": "object" +}, +"ListBoundMembershipsResponse": { +"description": "List of Memberships bound to a Scope.", +"id": "ListBoundMembershipsResponse", +"properties": { +"memberships": { +"description": "The list of Memberships bound to the given Scope.", +"items": { +"$ref": "Membership" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A token to request the next page of resources from the `ListBoundMemberships` method. The value of an empty string means that there are no more resources to return.", +"type": "string" +}, +"unreachable": { +"description": "List of locations that could not be reached while fetching this list.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListFeaturesResponse": { +"description": "Response message for the `GkeHub.ListFeatures` method.", +"id": "ListFeaturesResponse", +"properties": { +"nextPageToken": { +"description": "A token to request the next page of resources from the `ListFeatures` method. The value of an empty string means that there are no more resources to return.", +"type": "string" +}, +"resources": { +"description": "The list of matching Features", +"items": { +"$ref": "Feature" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListFleetsResponse": { +"description": "Response message for the `GkeHub.ListFleetsResponse` method.", +"id": "ListFleetsResponse", +"properties": { +"fleets": { +"description": "The list of matching fleets.", +"items": { +"$ref": "Fleet" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages. The token is only valid for 1h.", +"type": "string" +} +}, +"type": "object" +}, +"ListLocationsResponse": { +"description": "The response message for Locations.ListLocations.", +"id": "ListLocationsResponse", +"properties": { +"locations": { +"description": "A list of locations that matches the specified filter in the request.", +"items": { +"$ref": "Location" +}, +"type": "array" +}, +"nextPageToken": { +"description": "The standard List next-page token.", +"type": "string" +} +}, +"type": "object" +}, +"ListMembershipBindingsResponse": { +"description": "List of MembershipBindings.", +"id": "ListMembershipBindingsResponse", +"properties": { +"membershipBindings": { +"description": "The list of membership_bindings", +"items": { +"$ref": "MembershipBinding" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A token to request the next page of resources from the `ListMembershipBindings` method. The value of an empty string means that there are no more resources to return.", +"type": "string" +}, +"unreachable": { +"description": "List of locations that could not be reached while fetching this list.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListMembershipRBACRoleBindingsResponse": { +"description": "List of Membership RBACRoleBindings.", +"id": "ListMembershipRBACRoleBindingsResponse", +"properties": { +"nextPageToken": { +"description": "A token to request the next page of resources from the `ListMembershipRBACRoleBindings` method. The value of an empty string means that there are no more resources to return.", +"type": "string" +}, +"rbacrolebindings": { +"description": "The list of Membership RBACRoleBindings.", +"items": { +"$ref": "RBACRoleBinding" +}, +"type": "array" +}, +"unreachable": { +"description": "List of locations that could not be reached while fetching this list.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListMembershipsResponse": { +"description": "Response message for the `GkeHub.ListMemberships` method.", +"id": "ListMembershipsResponse", +"properties": { +"nextPageToken": { +"description": "A token to request the next page of resources from the `ListMemberships` method. The value of an empty string means that there are no more resources to return.", +"type": "string" +}, +"resources": { +"description": "The list of matching Memberships.", +"items": { +"$ref": "Membership" +}, +"type": "array" +}, +"unreachable": { +"description": "List of locations that could not be reached while fetching this list.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListOperationsResponse": { +"description": "The response message for Operations.ListOperations.", +"id": "ListOperationsResponse", +"properties": { +"nextPageToken": { +"description": "The standard List next-page token.", +"type": "string" +}, +"operations": { +"description": "A list of operations that matches the specified filter in the request.", +"items": { +"$ref": "Operation" +}, +"type": "array" +}, +"unreachable": { +"description": "Unordered list. Unreachable resources. Populated when the request sets `ListOperationsRequest.return_partial_success` and reads across collections. For example, when attempting to list all resources across all supported locations.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListPermittedScopesResponse": { +"description": "List of permitted Scopes.", +"id": "ListPermittedScopesResponse", +"properties": { +"nextPageToken": { +"description": "A token to request the next page of resources from the `ListPermittedScopes` method. The value of an empty string means that there are no more resources to return.", +"type": "string" +}, +"scopes": { +"description": "The list of permitted Scopes", +"items": { +"$ref": "Scope" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListScopeNamespacesResponse": { +"description": "List of fleet namespaces.", +"id": "ListScopeNamespacesResponse", +"properties": { +"nextPageToken": { +"description": "A token to request the next page of resources from the `ListNamespaces` method. The value of an empty string means that there are no more resources to return.", +"type": "string" +}, +"scopeNamespaces": { +"description": "The list of fleet namespaces", +"items": { +"$ref": "Namespace" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListScopeRBACRoleBindingsResponse": { +"description": "List of Scope RBACRoleBindings.", +"id": "ListScopeRBACRoleBindingsResponse", +"properties": { +"nextPageToken": { +"description": "A token to request the next page of resources from the `ListScopeRBACRoleBindings` method. The value of an empty string means that there are no more resources to return.", +"type": "string" +}, +"rbacrolebindings": { +"description": "The list of Scope RBACRoleBindings.", +"items": { +"$ref": "RBACRoleBinding" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListScopesResponse": { +"description": "List of Scopes.", +"id": "ListScopesResponse", +"properties": { +"nextPageToken": { +"description": "A token to request the next page of resources from the `ListScopes` method. The value of an empty string means that there are no more resources to return.", +"type": "string" +}, +"scopes": { +"description": "The list of Scopes", +"items": { +"$ref": "Scope" +}, +"type": "array" +} +}, +"type": "object" +}, +"Location": { +"description": "A resource that represents a Google Cloud location.", +"id": "Location", +"properties": { +"displayName": { +"description": "The friendly name for this location, typically a nearby city name. For example, \"Tokyo\".", +"type": "string" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Cross-service attributes for the location. For example {\"cloud.googleapis.com/region\": \"us-east1\"}", +"type": "object" +}, +"locationId": { +"description": "The canonical id for this location. For example: `\"us-east1\"`.", +"type": "string" +}, +"metadata": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "Service-specific metadata. For example the available capacity at the given location.", +"type": "object" +}, +"name": { +"description": "Resource name for the location, which may vary between implementations. For example: `\"projects/example-project/locations/us-east1\"`", +"type": "string" +} +}, +"type": "object" +}, +"Membership": { +"description": "Membership contains information about a member cluster.", +"id": "Membership", +"properties": { +"authority": { +"$ref": "Authority", +"description": "Optional. How to identify workloads from this Membership. See the documentation on Workload Identity for more details: https://cloud.google.com/kubernetes-engine/docs/how-to/workload-identity" +}, +"clusterTier": { +"description": "Output only. The tier of the cluster.", +"enum": [ +"CLUSTER_TIER_UNSPECIFIED", +"STANDARD", +"ENTERPRISE" +], +"enumDescriptions": [ +"The ClusterTier is not set.", +"The ClusterTier is standard.", +"The ClusterTier is enterprise." +], +"readOnly": true, +"type": "string" +}, +"createTime": { +"description": "Output only. When the Membership was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"deleteTime": { +"description": "Output only. When the Membership was deleted.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"description": { +"description": "Output only. Description of this membership, limited to 63 characters. Must match the regex: `a-zA-Z0-9*` This field is present for legacy purposes.", +"readOnly": true, +"type": "string" +}, +"endpoint": { +"$ref": "MembershipEndpoint", +"description": "Optional. Endpoint information to reach this member." +}, +"externalId": { +"description": "Optional. An externally-generated and managed ID for this Membership. This ID may be modified after creation, but this is not recommended. The ID must match the regex: `a-zA-Z0-9*` If this Membership represents a Kubernetes cluster, this value should be set to the UID of the `kube-system` namespace object.", +"type": "string" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. Labels for this membership. These labels are not leveraged by multi-cluster features, instead, we prefer cluster labels, which can be set on GKE cluster or other cluster types.", +"type": "object" +}, +"lastConnectionTime": { +"description": "Output only. For clusters using Connect, the timestamp of the most recent connection established with Google Cloud. This time is updated every several minutes, not continuously. For clusters that do not use GKE Connect, or that have never connected successfully, this field will be unset.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"membershipType": { +"description": "Output only. The type of the membership.", +"enum": [ +"MEMBERSHIP_TYPE_UNSPECIFIED", +"LIGHTWEIGHT" +], +"enumDescriptions": [ +"The MembershipType is not set.", +"The membership supports only lightweight compatible features." +], +"readOnly": true, +"type": "string" +}, +"monitoringConfig": { +"$ref": "MonitoringConfig", +"description": "Optional. The monitoring config information for this membership." +}, +"name": { +"description": "Output only. The full, unique name of this Membership resource in the format `projects/*/locations/*/memberships/{membership_id}`, set during creation. `membership_id` must be a valid RFC 1123 compliant DNS label: 1. At most 63 characters in length 2. It must consist of lower case alphanumeric characters or `-` 3. It must start and end with an alphanumeric character Which can be expressed as the regex: `[a-z0-9]([-a-z0-9]*[a-z0-9])?`, with a maximum length of 63 characters.", +"readOnly": true, +"type": "string" +}, +"state": { +"$ref": "MembershipState", +"description": "Output only. State of the Membership resource.", +"readOnly": true +}, +"uniqueId": { +"description": "Output only. Google-generated UUID for this resource. This is unique across all Membership resources. If a Membership resource is deleted and another resource with the same name is created, it gets a different unique_id.", +"readOnly": true, +"type": "string" +}, +"updateTime": { +"description": "Output only. When the Membership was last updated.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"MembershipBinding": { +"description": "MembershipBinding is a subresource of a Membership, representing what Fleet Scopes (or other, future Fleet resources) a Membership is bound to.", +"id": "MembershipBinding", +"properties": { +"createTime": { +"description": "Output only. When the membership binding was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"deleteTime": { +"description": "Output only. When the membership binding was deleted.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. Labels for this MembershipBinding.", +"type": "object" +}, +"name": { +"description": "The resource name for the membershipbinding itself `projects/{project}/locations/{location}/memberships/{membership}/bindings/{membershipbinding}`", +"type": "string" +}, +"scope": { +"description": "A Scope resource name in the format `projects/*/locations/*/scopes/*`.", +"type": "string" +}, +"state": { +"$ref": "MembershipBindingLifecycleState", +"description": "Output only. State of the membership binding resource.", +"readOnly": true +}, +"uid": { +"description": "Output only. Google-generated UUID for this resource. This is unique across all membershipbinding resources. If a membershipbinding resource is deleted and another resource with the same name is created, it gets a different uid.", +"readOnly": true, +"type": "string" +}, +"updateTime": { +"description": "Output only. When the membership binding was last updated.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"MembershipBindingLifecycleState": { +"description": "MembershipBindingLifecycleState describes the state of a Binding resource.", +"id": "MembershipBindingLifecycleState", +"properties": { +"code": { +"description": "Output only. The current state of the MembershipBinding resource.", +"enum": [ +"CODE_UNSPECIFIED", +"CREATING", +"READY", +"DELETING", +"UPDATING" +], +"enumDescriptions": [ +"The code is not set.", +"The membershipbinding is being created.", +"The membershipbinding active.", +"The membershipbinding is being deleted.", +"The membershipbinding is being updated." +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"MembershipEndpoint": { +"description": "MembershipEndpoint contains information needed to contact a Kubernetes API, endpoint and any additional Kubernetes metadata.", +"id": "MembershipEndpoint", +"properties": { +"applianceCluster": { +"$ref": "ApplianceCluster", +"description": "Optional. Specific information for a GDC Edge Appliance cluster." +}, +"edgeCluster": { +"$ref": "EdgeCluster", +"description": "Optional. Specific information for a Google Edge cluster." +}, +"gkeCluster": { +"$ref": "GkeCluster", +"description": "Optional. Specific information for a GKE-on-GCP cluster." +}, +"googleManaged": { +"description": "Output only. Whether the lifecycle of this membership is managed by a google cluster platform service.", +"readOnly": true, +"type": "boolean" +}, +"kubernetesMetadata": { +"$ref": "KubernetesMetadata", +"description": "Output only. Useful Kubernetes-specific metadata.", +"readOnly": true +}, +"kubernetesResource": { +"$ref": "KubernetesResource", +"description": "Optional. The in-cluster Kubernetes Resources that should be applied for a correctly registered cluster, in the steady state. These resources: * Ensure that the cluster is exclusively registered to one and only one Hub Membership. * Propagate Workload Pool Information available in the Membership Authority field. * Ensure proper initial configuration of default Hub Features." +}, +"multiCloudCluster": { +"$ref": "MultiCloudCluster", +"description": "Optional. Specific information for a GKE Multi-Cloud cluster." +}, +"onPremCluster": { +"$ref": "OnPremCluster", +"description": "Optional. Specific information for a GKE On-Prem cluster. An onprem user-cluster who has no resourceLink is not allowed to use this field, it should have a nil \"type\" instead." +} +}, +"type": "object" +}, +"MembershipFeatureSpec": { +"description": "MembershipFeatureSpec contains configuration information for a single Membership.", +"id": "MembershipFeatureSpec", +"properties": { +"configmanagement": { +"$ref": "ConfigManagementMembershipSpec", +"description": "Config Management-specific spec." +}, +"fleetobservability": { +"$ref": "FleetObservabilityMembershipSpec", +"description": "Fleet observability membership spec" +}, +"identityservice": { +"$ref": "IdentityServiceMembershipSpec", +"description": "Identity Service-specific spec." +}, +"mesh": { +"$ref": "ServiceMeshMembershipSpec", +"description": "Anthos Service Mesh-specific spec" +}, +"origin": { +"$ref": "Origin", +"description": "Whether this per-Membership spec was inherited from a fleet-level default. This field can be updated by users by either overriding a Membership config (updated to USER implicitly) or setting to FLEET explicitly." +}, +"policycontroller": { +"$ref": "PolicyControllerMembershipSpec", +"description": "Policy Controller spec." +} +}, +"type": "object" +}, +"MembershipFeatureState": { +"description": "MembershipFeatureState contains Feature status information for a single Membership.", +"id": "MembershipFeatureState", +"properties": { +"appdevexperience": { +"$ref": "AppDevExperienceFeatureState", +"description": "Appdevexperience specific state." +}, +"clusterupgrade": { +"$ref": "ClusterUpgradeMembershipState", +"description": "ClusterUpgrade state." +}, +"configmanagement": { +"$ref": "ConfigManagementMembershipState", +"description": "Config Management-specific state." +}, +"fleetobservability": { +"$ref": "FleetObservabilityMembershipState", +"description": "Fleet observability membership state." +}, +"identityservice": { +"$ref": "IdentityServiceMembershipState", +"description": "Identity Service-specific state." +}, +"policycontroller": { +"$ref": "PolicyControllerMembershipState", +"description": "Policycontroller-specific state." +}, +"servicemesh": { +"$ref": "ServiceMeshMembershipState", +"description": "Service Mesh-specific state." +}, +"state": { +"$ref": "FeatureState", +"description": "The high-level state of this Feature for a single membership." +}, +"workloadidentity": { +"$ref": "WorkloadIdentityMembershipState", +"description": "Workload Identity membership specific state." +} +}, +"type": "object" +}, +"MembershipState": { +"description": "MembershipState describes the state of a Membership resource.", +"id": "MembershipState", +"properties": { +"code": { +"description": "Output only. The current state of the Membership resource.", +"enum": [ +"CODE_UNSPECIFIED", +"CREATING", +"READY", +"DELETING", +"UPDATING", +"SERVICE_UPDATING" +], +"enumDescriptions": [ +"The code is not set.", +"The cluster is being registered.", +"The cluster is registered.", +"The cluster is being unregistered.", +"The Membership is being updated.", +"The Membership is being updated by the Hub Service." +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"MonitoringConfig": { +"description": "MonitoringConfig informs Fleet-based applications/services/UIs how the metrics for the underlying cluster is reported to cloud monitoring services. It can be set from empty to non-empty, but can't be mutated directly to prevent accidentally breaking the constinousty of metrics.", +"id": "MonitoringConfig", +"properties": { +"cluster": { +"description": "Optional. Cluster name used to report metrics. For Anthos on VMWare/Baremetal/MultiCloud clusters, it would be in format {cluster_type}/{cluster_name}, e.g., \"awsClusters/cluster_1\".", +"type": "string" +}, +"clusterHash": { +"description": "Optional. For GKE and Multicloud clusters, this is the UUID of the cluster resource. For VMWare and Baremetal clusters, this is the kube-system UID.", +"type": "string" +}, +"kubernetesMetricsPrefix": { +"description": "Optional. Kubernetes system metrics, if available, are written to this prefix. This defaults to kubernetes.io for GKE, and kubernetes.io/anthos for Anthos eventually. Noted: Anthos MultiCloud will have kubernetes.io prefix today but will migration to be under kubernetes.io/anthos.", +"type": "string" +}, +"location": { +"description": "Optional. Location used to report Metrics", +"type": "string" +}, +"projectId": { +"description": "Optional. Project used to report Metrics", +"type": "string" +} +}, +"type": "object" +}, +"MultiCloudCluster": { +"description": "MultiCloudCluster contains information specific to GKE Multi-Cloud clusters.", +"id": "MultiCloudCluster", +"properties": { +"clusterMissing": { +"description": "Output only. If cluster_missing is set then it denotes that API(gkemulticloud.googleapis.com) resource for this GKE Multi-Cloud cluster no longer exists.", +"readOnly": true, +"type": "boolean" +}, +"resourceLink": { +"description": "Immutable. Self-link of the Google Cloud resource for the GKE Multi-Cloud cluster. For example: //gkemulticloud.googleapis.com/projects/my-project/locations/us-west1-a/awsClusters/my-cluster //gkemulticloud.googleapis.com/projects/my-project/locations/us-west1-a/azureClusters/my-cluster //gkemulticloud.googleapis.com/projects/my-project/locations/us-west1-a/attachedClusters/my-cluster", +"type": "string" +} +}, +"type": "object" +}, +"MultiClusterIngressFeatureSpec": { +"description": "**Multi-cluster Ingress**: The configuration for the MultiClusterIngress feature.", +"id": "MultiClusterIngressFeatureSpec", +"properties": { +"configMembership": { +"description": "Fully-qualified Membership name which hosts the MultiClusterIngress CRD. Example: `projects/foo-proj/locations/global/memberships/bar`", +"type": "string" +} +}, +"type": "object" +}, +"Namespace": { +"description": "Namespace represents a namespace across the Fleet", +"id": "Namespace", +"properties": { +"createTime": { +"description": "Output only. When the namespace was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"deleteTime": { +"description": "Output only. When the namespace was deleted.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. Labels for this Namespace.", +"type": "object" +}, +"name": { +"description": "The resource name for the namespace `projects/{project}/locations/{location}/namespaces/{namespace}`", +"type": "string" +}, +"namespaceLabels": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. Namespace-level cluster namespace labels. These labels are applied to the related namespace of the member clusters bound to the parent Scope. Scope-level labels (`namespace_labels` in the Fleet Scope resource) take precedence over Namespace-level labels if they share a key. Keys and values must be Kubernetes-conformant.", +"type": "object" +}, +"scope": { +"description": "Required. Scope associated with the namespace", +"type": "string" +}, +"state": { +"$ref": "NamespaceLifecycleState", +"description": "Output only. State of the namespace resource.", +"readOnly": true +}, +"uid": { +"description": "Output only. Google-generated UUID for this resource. This is unique across all namespace resources. If a namespace resource is deleted and another resource with the same name is created, it gets a different uid.", +"readOnly": true, +"type": "string" +}, +"updateTime": { +"description": "Output only. When the namespace was last updated.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"NamespaceLifecycleState": { +"description": "NamespaceLifecycleState describes the state of a Namespace resource.", +"id": "NamespaceLifecycleState", +"properties": { +"code": { +"description": "Output only. The current state of the Namespace resource.", +"enum": [ +"CODE_UNSPECIFIED", +"CREATING", +"READY", +"DELETING", +"UPDATING" +], +"enumDescriptions": [ +"The code is not set.", +"The namespace is being created.", +"The namespace active.", +"The namespace is being deleted.", +"The namespace is being updated." +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"OnPremCluster": { +"description": "OnPremCluster contains information specific to GKE On-Prem clusters.", +"id": "OnPremCluster", +"properties": { +"adminCluster": { +"description": "Immutable. Whether the cluster is an admin cluster.", +"type": "boolean" +}, +"clusterMissing": { +"description": "Output only. If cluster_missing is set then it denotes that API(gkeonprem.googleapis.com) resource for this GKE On-Prem cluster no longer exists.", +"readOnly": true, +"type": "boolean" +}, +"clusterType": { +"description": "Immutable. The on prem cluster's type.", +"enum": [ +"CLUSTERTYPE_UNSPECIFIED", +"BOOTSTRAP", +"HYBRID", +"STANDALONE", +"USER" +], +"enumDescriptions": [ +"The ClusterType is not set.", +"The ClusterType is bootstrap cluster.", +"The ClusterType is baremetal hybrid cluster.", +"The ClusterType is baremetal standalone cluster.", +"The ClusterType is user cluster." +], +"type": "string" +}, +"resourceLink": { +"description": "Immutable. Self-link of the Google Cloud resource for the GKE On-Prem cluster. For example: //gkeonprem.googleapis.com/projects/my-project/locations/us-west1-a/vmwareClusters/my-cluster //gkeonprem.googleapis.com/projects/my-project/locations/us-west1-a/bareMetalClusters/my-cluster", +"type": "string" +} +}, +"type": "object" +}, +"Operation": { +"description": "This resource represents a long-running operation that is the result of a network API call.", +"id": "Operation", +"properties": { +"done": { +"description": "If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.", +"type": "boolean" +}, +"error": { +"$ref": "GoogleRpcStatus", +"description": "The error result of the operation in case of failure or cancellation." +}, +"metadata": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.", +"type": "object" +}, +"name": { +"description": "The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.", +"type": "string" +}, +"response": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "The normal, successful response of the operation. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.", +"type": "object" +} +}, +"type": "object" +}, +"OperationMetadata": { +"description": "Represents the metadata of the long-running operation.", +"id": "OperationMetadata", +"properties": { +"apiVersion": { +"description": "Output only. API version used to start the operation.", +"readOnly": true, +"type": "string" +}, +"cancelRequested": { +"description": "Output only. Identifies whether the user has requested cancellation of the operation. Operations that have successfully been cancelled have google.longrunning.Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.", +"readOnly": true, +"type": "boolean" +}, +"createTime": { +"description": "Output only. The time the operation was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"endTime": { +"description": "Output only. The time the operation finished running.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"statusDetail": { +"description": "Output only. Human-readable status of the operation, if any.", +"readOnly": true, +"type": "string" +}, +"target": { +"description": "Output only. Server-defined resource path for the target of the operation.", +"readOnly": true, +"type": "string" +}, +"verb": { +"description": "Output only. Name of the verb executed by the operation.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"Origin": { +"description": "Origin defines where this MembershipFeatureSpec originated from.", +"id": "Origin", +"properties": { +"type": { +"description": "Type specifies which type of origin is set.", +"enum": [ +"TYPE_UNSPECIFIED", +"FLEET", +"FLEET_OUT_OF_SYNC", +"USER" +], +"enumDescriptions": [ +"Type is unknown or not set.", +"Per-Membership spec was inherited from the fleet-level default.", +"Per-Membership spec was inherited from the fleet-level default but is now out of sync with the current default.", +"Per-Membership spec was inherited from a user specification." +], +"type": "string" +} +}, +"type": "object" +}, +"Policy": { +"description": "An Identity and Access Management (IAM) policy, which specifies access controls for Google Cloud resources. A `Policy` is a collection of `bindings`. A `binding` binds one or more `members`, or principals, to a single `role`. Principals can be user accounts, service accounts, Google groups, and domains (such as G Suite). A `role` is a named list of permissions; each `role` can be an IAM predefined role or a user-created custom role. For some types of Google Cloud resources, a `binding` can also specify a `condition`, which is a logical expression that allows access to a resource only if the expression evaluates to `true`. A condition can add constraints based on attributes of the request, the resource, or both. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). **JSON example:** ``` { \"bindings\": [ { \"role\": \"roles/resourcemanager.organizationAdmin\", \"members\": [ \"user:mike@example.com\", \"group:admins@example.com\", \"domain:google.com\", \"serviceAccount:my-project-id@appspot.gserviceaccount.com\" ] }, { \"role\": \"roles/resourcemanager.organizationViewer\", \"members\": [ \"user:eve@example.com\" ], \"condition\": { \"title\": \"expirable access\", \"description\": \"Does not grant access after Sep 2020\", \"expression\": \"request.time < timestamp('2020-10-01T00:00:00.000Z')\", } } ], \"etag\": \"BwWWja0YfJA=\", \"version\": 3 } ``` **YAML example:** ``` bindings: - members: - user:mike@example.com - group:admins@example.com - domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.com role: roles/resourcemanager.organizationViewer condition: title: expirable access description: Does not grant access after Sep 2020 expression: request.time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 ``` For a description of IAM and its features, see the [IAM documentation](https://cloud.google.com/iam/docs/).", +"id": "Policy", +"properties": { +"auditConfigs": { +"description": "Specifies cloud audit logging configuration for this policy.", +"items": { +"$ref": "AuditConfig" +}, +"type": "array" +}, +"bindings": { +"description": "Associates a list of `members`, or principals, with a `role`. Optionally, may specify a `condition` that determines how and when the `bindings` are applied. Each of the `bindings` must contain at least one principal. The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250 of these principals can be Google groups. Each occurrence of a principal counts towards these limits. For example, if the `bindings` grant 50 different roles to `user:alice@example.com`, and not to any other principal, then you can add another 1,450 principals to the `bindings` in the `Policy`.", +"items": { +"$ref": "Binding" +}, +"type": "array" +}, +"etag": { +"description": "`etag` is used for optimistic concurrency control as a way to help prevent simultaneous updates of a policy from overwriting each other. It is strongly suggested that systems make use of the `etag` in the read-modify-write cycle to perform policy updates in order to avoid race conditions: An `etag` is returned in the response to `getIamPolicy`, and systems are expected to put that etag in the request to `setIamPolicy` to ensure that their change will be applied to the same version of the policy. **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost.", +"format": "byte", +"type": "string" +}, +"version": { +"description": "Specifies the format of the policy. Valid values are `0`, `1`, and `3`. Requests that specify an invalid value are rejected. Any operation that affects conditional role bindings must specify version `3`. This requirement applies to the following operations: * Getting a policy that includes a conditional role binding * Adding a conditional role binding to a policy * Changing a conditional role binding in a policy * Removing any role binding, with or without a condition, from a policy that includes conditions **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost. If a policy does not include any conditions, operations on that policy may specify any valid version or leave the field unset. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"PolicyBinding": { +"description": "Binauthz policy that applies to this cluster.", +"id": "PolicyBinding", +"properties": { +"name": { +"description": "The relative resource name of the binauthz platform policy to audit. GKE platform policies have the following format: `projects/{project_number}/platforms/gke/policies/{policy_id}`.", +"type": "string" +} +}, +"type": "object" +}, +"PolicyControllerBundleInstallSpec": { +"description": "BundleInstallSpec is the specification configuration for a single managed bundle.", +"id": "PolicyControllerBundleInstallSpec", +"properties": { +"exemptedNamespaces": { +"description": "The set of namespaces to be exempted from the bundle.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"PolicyControllerHubConfig": { +"description": "Configuration for Policy Controller", +"id": "PolicyControllerHubConfig", +"properties": { +"auditIntervalSeconds": { +"description": "Sets the interval for Policy Controller Audit Scans (in seconds). When set to 0, this disables audit functionality altogether.", +"format": "int64", +"type": "string" +}, +"constraintViolationLimit": { +"description": "The maximum number of audit violations to be stored in a constraint. If not set, the internal default (currently 20) will be used.", +"format": "int64", +"type": "string" +}, +"deploymentConfigs": { +"additionalProperties": { +"$ref": "PolicyControllerPolicyControllerDeploymentConfig" +}, +"description": "Map of deployment configs to deployments (\"admission\", \"audit\", \"mutation').", +"type": "object" +}, +"exemptableNamespaces": { +"description": "The set of namespaces that are excluded from Policy Controller checks. Namespaces do not need to currently exist on the cluster.", +"items": { +"type": "string" +}, +"type": "array" +}, +"installSpec": { +"description": "The install_spec represents the intended state specified by the latest request that mutated install_spec in the feature spec, not the lifecycle state of the feature observed by the Hub feature controller that is reported in the feature state.", +"enum": [ +"INSTALL_SPEC_UNSPECIFIED", +"INSTALL_SPEC_NOT_INSTALLED", +"INSTALL_SPEC_ENABLED", +"INSTALL_SPEC_SUSPENDED", +"INSTALL_SPEC_DETACHED" +], +"enumDescriptions": [ +"Spec is unknown.", +"Request to uninstall Policy Controller.", +"Request to install and enable Policy Controller.", +"Request to suspend Policy Controller i.e. its webhooks. If Policy Controller is not installed, it will be installed but suspended.", +"Request to stop all reconciliation actions by PoCo Hub controller. This is a breakglass mechanism to stop PoCo Hub from affecting cluster resources." +], +"type": "string" +}, +"logDeniesEnabled": { +"description": "Logs all denies and dry run failures.", +"type": "boolean" +}, +"monitoring": { +"$ref": "PolicyControllerMonitoringConfig", +"description": "Monitoring specifies the configuration of monitoring." +}, +"mutationEnabled": { +"description": "Enables the ability to mutate resources using Policy Controller.", +"type": "boolean" +}, +"policyContent": { +"$ref": "PolicyControllerPolicyContentSpec", +"description": "Specifies the desired policy content on the cluster" +}, +"referentialRulesEnabled": { +"description": "Enables the ability to use Constraint Templates that reference to objects other than the object currently being evaluated.", +"type": "boolean" +} +}, +"type": "object" +}, +"PolicyControllerMembershipSpec": { +"description": "**Policy Controller**: Configuration for a single cluster. Intended to parallel the PolicyController CR.", +"id": "PolicyControllerMembershipSpec", +"properties": { +"policyControllerHubConfig": { +"$ref": "PolicyControllerHubConfig", +"description": "Policy Controller configuration for the cluster." +}, +"version": { +"description": "Version of Policy Controller installed.", +"type": "string" +} +}, +"type": "object" +}, +"PolicyControllerMembershipState": { +"description": "**Policy Controller**: State for a single cluster.", +"id": "PolicyControllerMembershipState", +"properties": { +"componentStates": { +"additionalProperties": { +"$ref": "PolicyControllerOnClusterState" +}, +"description": "Currently these include (also serving as map keys): 1. \"admission\" 2. \"audit\" 3. \"mutation\"", +"type": "object" +}, +"policyContentState": { +"$ref": "PolicyControllerPolicyContentState", +"description": "The overall content state observed by the Hub Feature controller." +}, +"state": { +"description": "The overall Policy Controller lifecycle state observed by the Hub Feature controller.", +"enum": [ +"LIFECYCLE_STATE_UNSPECIFIED", +"NOT_INSTALLED", +"INSTALLING", +"ACTIVE", +"UPDATING", +"DECOMMISSIONING", +"CLUSTER_ERROR", +"HUB_ERROR", +"SUSPENDED", +"DETACHED" +], +"enumDescriptions": [ +"The lifecycle state is unspecified.", +"The PC does not exist on the given cluster, and no k8s resources of any type that are associated with the PC should exist there. The cluster does not possess a membership with the PCH.", +"The PCH possesses a Membership, however the PC is not fully installed on the cluster. In this state the hub can be expected to be taking actions to install the PC on the cluster.", +"The PC is fully installed on the cluster and in an operational mode. In this state PCH will be reconciling state with the PC, and the PC will be performing it's operational tasks per that software. Entering a READY state requires that the hub has confirmed the PC is installed and its pods are operational with the version of the PC the PCH expects.", +"The PC is fully installed, but in the process of changing the configuration (including changing the version of PC either up and down, or modifying the manifests of PC) of the resources running on the cluster. The PCH has a Membership, is aware of the version the cluster should be running in, but has not confirmed for itself that the PC is running with that version.", +"The PC may have resources on the cluster, but the PCH wishes to remove the Membership. The Membership still exists.", +"The PC is not operational, and the PCH is unable to act to make it operational. Entering a CLUSTER_ERROR state happens automatically when the PCH determines that a PC installed on the cluster is non-operative or that the cluster does not meet requirements set for the PCH to administer the cluster but has nevertheless been given an instruction to do so (such as 'install').", +"In this state, the PC may still be operational, and only the PCH is unable to act. The hub should not issue instructions to change the PC state, or otherwise interfere with the on-cluster resources. Entering a HUB_ERROR state happens automatically when the PCH determines the hub is in an unhealthy state and it wishes to 'take hands off' to avoid corrupting the PC or other data.", +"Policy Controller (PC) is installed but suspended. This means that the policies are not enforced, but violations are still recorded (through audit).", +"PoCo Hub is not taking any action to reconcile cluster objects. Changes to those objects will not be overwritten by PoCo Hub." +], +"type": "string" +} +}, +"type": "object" +}, +"PolicyControllerMonitoringConfig": { +"description": "MonitoringConfig specifies the backends Policy Controller should export metrics to. For example, to specify metrics should be exported to Cloud Monitoring and Prometheus, specify backends: [\"cloudmonitoring\", \"prometheus\"]", +"id": "PolicyControllerMonitoringConfig", +"properties": { +"backends": { +"description": "Specifies the list of backends Policy Controller will export to. An empty list would effectively disable metrics export.", +"items": { +"enum": [ +"MONITORING_BACKEND_UNSPECIFIED", +"PROMETHEUS", +"CLOUD_MONITORING" +], +"enumDescriptions": [ +"Backend cannot be determined", +"Prometheus backend for monitoring", +"Stackdriver/Cloud Monitoring backend for monitoring" +], +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"PolicyControllerOnClusterState": { +"description": "OnClusterState represents the state of a sub-component of Policy Controller.", +"id": "PolicyControllerOnClusterState", +"properties": { +"details": { +"description": "Surface potential errors or information logs.", +"type": "string" +}, +"state": { +"description": "The lifecycle state of this component.", +"enum": [ +"LIFECYCLE_STATE_UNSPECIFIED", +"NOT_INSTALLED", +"INSTALLING", +"ACTIVE", +"UPDATING", +"DECOMMISSIONING", +"CLUSTER_ERROR", +"HUB_ERROR", +"SUSPENDED", +"DETACHED" +], +"enumDescriptions": [ +"The lifecycle state is unspecified.", +"The PC does not exist on the given cluster, and no k8s resources of any type that are associated with the PC should exist there. The cluster does not possess a membership with the PCH.", +"The PCH possesses a Membership, however the PC is not fully installed on the cluster. In this state the hub can be expected to be taking actions to install the PC on the cluster.", +"The PC is fully installed on the cluster and in an operational mode. In this state PCH will be reconciling state with the PC, and the PC will be performing it's operational tasks per that software. Entering a READY state requires that the hub has confirmed the PC is installed and its pods are operational with the version of the PC the PCH expects.", +"The PC is fully installed, but in the process of changing the configuration (including changing the version of PC either up and down, or modifying the manifests of PC) of the resources running on the cluster. The PCH has a Membership, is aware of the version the cluster should be running in, but has not confirmed for itself that the PC is running with that version.", +"The PC may have resources on the cluster, but the PCH wishes to remove the Membership. The Membership still exists.", +"The PC is not operational, and the PCH is unable to act to make it operational. Entering a CLUSTER_ERROR state happens automatically when the PCH determines that a PC installed on the cluster is non-operative or that the cluster does not meet requirements set for the PCH to administer the cluster but has nevertheless been given an instruction to do so (such as 'install').", +"In this state, the PC may still be operational, and only the PCH is unable to act. The hub should not issue instructions to change the PC state, or otherwise interfere with the on-cluster resources. Entering a HUB_ERROR state happens automatically when the PCH determines the hub is in an unhealthy state and it wishes to 'take hands off' to avoid corrupting the PC or other data.", +"Policy Controller (PC) is installed but suspended. This means that the policies are not enforced, but violations are still recorded (through audit).", +"PoCo Hub is not taking any action to reconcile cluster objects. Changes to those objects will not be overwritten by PoCo Hub." +], +"type": "string" +} +}, +"type": "object" +}, +"PolicyControllerPolicyContentSpec": { +"description": "PolicyContentSpec defines the user's desired content configuration on the cluster.", +"id": "PolicyControllerPolicyContentSpec", +"properties": { +"bundles": { +"additionalProperties": { +"$ref": "PolicyControllerBundleInstallSpec" +}, +"description": "map of bundle name to BundleInstallSpec. The bundle name maps to the `bundleName` key in the `policycontroller.gke.io/constraintData` annotation on a constraint.", +"type": "object" +}, +"templateLibrary": { +"$ref": "PolicyControllerTemplateLibraryConfig", +"description": "Configures the installation of the Template Library." +} +}, +"type": "object" +}, +"PolicyControllerPolicyContentState": { +"description": "The state of the policy controller policy content", +"id": "PolicyControllerPolicyContentState", +"properties": { +"bundleStates": { +"additionalProperties": { +"$ref": "PolicyControllerOnClusterState" +}, +"description": "The state of the any bundles included in the chosen version of the manifest", +"type": "object" +}, +"referentialSyncConfigState": { +"$ref": "PolicyControllerOnClusterState", +"description": "The state of the referential data sync configuration. This could represent the state of either the syncSet object(s) or the config object, depending on the version of PoCo configured by the user." +}, +"templateLibraryState": { +"$ref": "PolicyControllerOnClusterState", +"description": "The state of the template library" +} +}, +"type": "object" +}, +"PolicyControllerPolicyControllerDeploymentConfig": { +"description": "Deployment-specific configuration.", +"id": "PolicyControllerPolicyControllerDeploymentConfig", +"properties": { +"containerResources": { +"$ref": "PolicyControllerResourceRequirements", +"description": "Container resource requirements." +}, +"podAffinity": { +"description": "Pod affinity configuration.", +"enum": [ +"AFFINITY_UNSPECIFIED", +"NO_AFFINITY", +"ANTI_AFFINITY" +], +"enumDescriptions": [ +"No affinity configuration has been specified.", +"Affinity configurations will be removed from the deployment.", +"Anti-affinity configuration will be applied to this deployment. Default for admissions deployment." +], +"type": "string" +}, +"podAntiAffinity": { +"deprecated": true, +"description": "Pod anti-affinity enablement. Deprecated: use `pod_affinity` instead.", +"type": "boolean" +}, +"podTolerations": { +"description": "Pod tolerations of node taints.", +"items": { +"$ref": "PolicyControllerToleration" +}, +"type": "array" +}, +"replicaCount": { +"description": "Pod replica count.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"PolicyControllerResourceList": { +"description": "ResourceList contains container resource requirements.", +"id": "PolicyControllerResourceList", +"properties": { +"cpu": { +"description": "CPU requirement expressed in Kubernetes resource units.", +"type": "string" +}, +"memory": { +"description": "Memory requirement expressed in Kubernetes resource units.", +"type": "string" +} +}, +"type": "object" +}, +"PolicyControllerResourceRequirements": { +"description": "ResourceRequirements describes the compute resource requirements.", +"id": "PolicyControllerResourceRequirements", +"properties": { +"limits": { +"$ref": "PolicyControllerResourceList", +"description": "Limits describes the maximum amount of compute resources allowed for use by the running container." +}, +"requests": { +"$ref": "PolicyControllerResourceList", +"description": "Requests describes the amount of compute resources reserved for the container by the kube-scheduler." +} +}, +"type": "object" +}, +"PolicyControllerTemplateLibraryConfig": { +"description": "The config specifying which default library templates to install.", +"id": "PolicyControllerTemplateLibraryConfig", +"properties": { +"installation": { +"description": "Configures the manner in which the template library is installed on the cluster.", +"enum": [ +"INSTALLATION_UNSPECIFIED", +"NOT_INSTALLED", +"ALL" +], +"enumDescriptions": [ +"No installation strategy has been specified.", +"Do not install the template library.", +"Install the entire template library." +], +"type": "string" +} +}, +"type": "object" +}, +"PolicyControllerToleration": { +"description": "Toleration of a node taint.", +"id": "PolicyControllerToleration", +"properties": { +"effect": { +"description": "Matches a taint effect.", +"type": "string" +}, +"key": { +"description": "Matches a taint key (not necessarily unique).", +"type": "string" +}, +"operator": { +"description": "Matches a taint operator.", +"type": "string" +}, +"value": { +"description": "Matches a taint value.", +"type": "string" +} +}, +"type": "object" +}, +"RBACRoleBinding": { +"description": "RBACRoleBinding represents a rbacrolebinding across the Fleet", +"id": "RBACRoleBinding", +"properties": { +"createTime": { +"description": "Output only. When the rbacrolebinding was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"deleteTime": { +"description": "Output only. When the rbacrolebinding was deleted.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"group": { +"description": "group is the group, as seen by the kubernetes cluster.", +"type": "string" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. Labels for this RBACRolebinding.", +"type": "object" +}, +"name": { +"description": "The resource name for the rbacrolebinding `projects/{project}/locations/{location}/scopes/{scope}/rbacrolebindings/{rbacrolebinding}` or `projects/{project}/locations/{location}/memberships/{membership}/rbacrolebindings/{rbacrolebinding}`", +"type": "string" +}, +"role": { +"$ref": "Role", +"description": "Required. Role to bind to the principal" +}, +"state": { +"$ref": "RBACRoleBindingLifecycleState", +"description": "Output only. State of the rbacrolebinding resource.", +"readOnly": true +}, +"uid": { +"description": "Output only. Google-generated UUID for this resource. This is unique across all rbacrolebinding resources. If a rbacrolebinding resource is deleted and another resource with the same name is created, it gets a different uid.", +"readOnly": true, +"type": "string" +}, +"updateTime": { +"description": "Output only. When the rbacrolebinding was last updated.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"user": { +"description": "user is the name of the user as seen by the kubernetes cluster, example \"alice\" or \"alice@domain.tld\"", +"type": "string" +} +}, +"type": "object" +}, +"RBACRoleBindingActuationFeatureSpec": { +"description": "**RBAC RoleBinding Actuation**: The Hub-wide input for the RBACRoleBindingActuation feature.", +"id": "RBACRoleBindingActuationFeatureSpec", +"properties": { +"allowedCustomRoles": { +"description": "The list of allowed custom roles (ClusterRoles). If a ClusterRole is not part of this list, it cannot be used in a Scope RBACRoleBinding. If a ClusterRole in this list is in use, it cannot be removed from the list.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"RBACRoleBindingActuationFeatureState": { +"description": "**RBAC RoleBinding Actuation**: An empty state left as an example Hub-wide Feature state.", +"id": "RBACRoleBindingActuationFeatureState", +"properties": {}, +"type": "object" +}, +"RBACRoleBindingLifecycleState": { +"description": "RBACRoleBindingLifecycleState describes the state of a RbacRoleBinding resource.", +"id": "RBACRoleBindingLifecycleState", +"properties": { +"code": { +"description": "Output only. The current state of the rbacrolebinding resource.", +"enum": [ +"CODE_UNSPECIFIED", +"CREATING", +"READY", +"DELETING", +"UPDATING" +], +"enumDescriptions": [ +"The code is not set.", +"The rbacrolebinding is being created.", +"The rbacrolebinding active.", +"The rbacrolebinding is being deleted.", +"The rbacrolebinding is being updated." +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"ResourceManifest": { +"description": "ResourceManifest represents a single Kubernetes resource to be applied to the cluster.", +"id": "ResourceManifest", +"properties": { +"clusterScoped": { +"description": "Output only. Whether the resource provided in the manifest is `cluster_scoped`. If unset, the manifest is assumed to be namespace scoped. This field is used for REST mapping when applying the resource in a cluster.", +"readOnly": true, +"type": "boolean" +}, +"manifest": { +"description": "Output only. YAML manifest of the resource.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"ResourceOptions": { +"description": "ResourceOptions represent options for Kubernetes resource generation.", +"id": "ResourceOptions", +"properties": { +"connectVersion": { +"description": "Optional. The Connect agent version to use for connect_resources. Defaults to the latest GKE Connect version. The version must be a currently supported version, obsolete versions will be rejected.", +"type": "string" +}, +"k8sGitVersion": { +"description": "Optional. Git version of the Kubernetes cluster. This is only used to gate the Connect Agent migration to svc.id.goog on GDC-SO 1.33.100 patch and above.", +"type": "string" +}, +"k8sVersion": { +"description": "Optional. Major and minor version of the Kubernetes cluster. This is only used to determine which version to use for the CustomResourceDefinition resources, `apiextensions/v1beta1` or`apiextensions/v1`.", +"type": "string" +}, +"v1beta1Crd": { +"description": "Optional. Use `apiextensions/v1beta1` instead of `apiextensions/v1` for CustomResourceDefinition resources. This option should be set for clusters with Kubernetes apiserver versions <1.16.", +"type": "boolean" +} +}, +"type": "object" +}, +"Role": { +"description": "Role is the type for Kubernetes roles", +"id": "Role", +"properties": { +"customRole": { +"description": "Optional. custom_role is the name of a custom KubernetesClusterRole to use.", +"type": "string" +}, +"predefinedRole": { +"description": "predefined_role is the Kubernetes default role to use", +"enum": [ +"UNKNOWN", +"ADMIN", +"EDIT", +"VIEW", +"ANTHOS_SUPPORT" +], +"enumDescriptions": [ +"UNKNOWN", +"ADMIN has EDIT and RBAC permissions", +"EDIT can edit all resources except RBAC", +"VIEW can only read resources", +"ANTHOS_SUPPORT gives Google Support read-only access to a number of cluster resources." +], +"type": "string" +} +}, +"type": "object" +}, +"Scope": { +"description": "Scope represents a Scope in a Fleet.", +"id": "Scope", +"properties": { +"createTime": { +"description": "Output only. When the scope was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"deleteTime": { +"description": "Output only. When the scope was deleted.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. Labels for this Scope.", +"type": "object" +}, +"name": { +"description": "The resource name for the scope `projects/{project}/locations/{location}/scopes/{scope}`", +"type": "string" +}, +"namespaceLabels": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. Scope-level cluster namespace labels. For the member clusters bound to the Scope, these labels are applied to each namespace under the Scope. Scope-level labels take precedence over Namespace-level labels (`namespace_labels` in the Fleet Namespace resource) if they share a key. Keys and values must be Kubernetes-conformant.", +"type": "object" +}, +"state": { +"$ref": "ScopeLifecycleState", +"description": "Output only. State of the scope resource.", +"readOnly": true +}, +"uid": { +"description": "Output only. Google-generated UUID for this resource. This is unique across all scope resources. If a scope resource is deleted and another resource with the same name is created, it gets a different uid.", +"readOnly": true, +"type": "string" +}, +"updateTime": { +"description": "Output only. When the scope was last updated.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"ScopeFeatureSpec": { +"description": "ScopeFeatureSpec contains feature specs for a fleet scope.", +"id": "ScopeFeatureSpec", +"properties": {}, +"type": "object" +}, +"ScopeFeatureState": { +"description": "ScopeFeatureState contains Scope-wide Feature status information.", +"id": "ScopeFeatureState", +"properties": { +"state": { +"$ref": "FeatureState", +"description": "Output only. The \"running state\" of the Feature in this Scope.", +"readOnly": true +} +}, +"type": "object" +}, +"ScopeLifecycleState": { +"description": "ScopeLifecycleState describes the state of a Scope resource.", +"id": "ScopeLifecycleState", +"properties": { +"code": { +"description": "Output only. The current state of the scope resource.", +"enum": [ +"CODE_UNSPECIFIED", +"CREATING", +"READY", +"DELETING", +"UPDATING" +], +"enumDescriptions": [ +"The code is not set.", +"The scope is being created.", +"The scope active.", +"The scope is being deleted.", +"The scope is being updated." +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"SecurityPostureConfig": { +"description": "SecurityPostureConfig defines the flags needed to enable/disable features for the Security Posture API.", +"id": "SecurityPostureConfig", +"properties": { +"mode": { +"description": "Sets which mode to use for Security Posture features.", +"enum": [ +"MODE_UNSPECIFIED", +"DISABLED", +"BASIC", +"ENTERPRISE" +], +"enumDeprecated": [ +false, +false, +false, +true +], +"enumDescriptions": [ +"Default value not specified.", +"Disables Security Posture features on the cluster.", +"Applies Security Posture features on the cluster.", +"Deprecated: Security Posture Enterprise features are no longer supported. For more details, see https://cloud.google.com/kubernetes-engine/docs/deprecations/posture-management-deprecation. Applies the Security Posture off cluster Enterprise level features." +], +"type": "string" +}, +"vulnerabilityMode": { +"description": "Sets which mode to use for vulnerability scanning.", +"enum": [ +"VULNERABILITY_MODE_UNSPECIFIED", +"VULNERABILITY_DISABLED", +"VULNERABILITY_BASIC", +"VULNERABILITY_ENTERPRISE" +], +"enumDeprecated": [ +false, +false, +true, +false +], +"enumDescriptions": [ +"Default value not specified.", +"Disables vulnerability scanning on the cluster.", +"Deprecated: Basic vulnerability scanning is no longer supported. For more details, see https://cloud.google.com/kubernetes-engine/docs/deprecations/posture-management-deprecation. Applies basic vulnerability scanning on the cluster.", +"Applies the Security Posture's vulnerability on cluster Enterprise level features." +], +"type": "string" +} +}, +"type": "object" +}, +"ServiceMeshCondition": { +"description": "Condition being reported.", +"id": "ServiceMeshCondition", +"properties": { +"code": { +"description": "Unique identifier of the condition which describes the condition recognizable to the user.", +"enum": [ +"CODE_UNSPECIFIED", +"MESH_IAM_PERMISSION_DENIED", +"MESH_IAM_CROSS_PROJECT_PERMISSION_DENIED", +"CNI_CONFIG_UNSUPPORTED", +"GKE_SANDBOX_UNSUPPORTED", +"NODEPOOL_WORKLOAD_IDENTITY_FEDERATION_REQUIRED", +"CNI_INSTALLATION_FAILED", +"CNI_POD_UNSCHEDULABLE", +"CLUSTER_HAS_ZERO_NODES", +"CANONICAL_SERVICE_ERROR", +"UNSUPPORTED_MULTIPLE_CONTROL_PLANES", +"VPCSC_GA_SUPPORTED", +"DEPRECATED_SPEC_CONTROL_PLANE_MANAGEMENT", +"DEPRECATED_SPEC_CONTROL_PLANE_MANAGEMENT_SAFE", +"CONFIG_APPLY_INTERNAL_ERROR", +"CONFIG_VALIDATION_ERROR", +"CONFIG_VALIDATION_WARNING", +"QUOTA_EXCEEDED_BACKEND_SERVICES", +"QUOTA_EXCEEDED_HEALTH_CHECKS", +"QUOTA_EXCEEDED_HTTP_ROUTES", +"QUOTA_EXCEEDED_TCP_ROUTES", +"QUOTA_EXCEEDED_TLS_ROUTES", +"QUOTA_EXCEEDED_TRAFFIC_POLICIES", +"QUOTA_EXCEEDED_ENDPOINT_POLICIES", +"QUOTA_EXCEEDED_GATEWAYS", +"QUOTA_EXCEEDED_MESHES", +"QUOTA_EXCEEDED_SERVER_TLS_POLICIES", +"QUOTA_EXCEEDED_CLIENT_TLS_POLICIES", +"QUOTA_EXCEEDED_SERVICE_LB_POLICIES", +"QUOTA_EXCEEDED_HTTP_FILTERS", +"QUOTA_EXCEEDED_TCP_FILTERS", +"QUOTA_EXCEEDED_NETWORK_ENDPOINT_GROUPS", +"LEGACY_MC_SECRETS", +"WORKLOAD_IDENTITY_REQUIRED", +"NON_STANDARD_BINARY_USAGE", +"UNSUPPORTED_GATEWAY_CLASS", +"MANAGED_CNI_NOT_ENABLED", +"MODERNIZATION_SCHEDULED", +"MODERNIZATION_IN_PROGRESS", +"MODERNIZATION_COMPLETED", +"MODERNIZATION_ABORTED", +"MODERNIZATION_PREPARING", +"MODERNIZATION_STALLED", +"MODERNIZATION_PREPARED", +"MODERNIZATION_MIGRATING_WORKLOADS", +"MODERNIZATION_ROLLING_BACK_CLUSTER", +"MODERNIZATION_WILL_BE_SCHEDULED", +"MODERNIZATION_MANUAL", +"MODERNIZATION_ELIGIBLE", +"MODERNIZATION_MODERNIZING", +"MODERNIZATION_MODERNIZED_SOAKING", +"MODERNIZATION_FINALIZED", +"MODERNIZATION_ROLLING_BACK_FLEET" +], +"enumDescriptions": [ +"Default Unspecified code", +"Mesh IAM permission denied error code", +"Permission denied error code for cross-project", +"CNI config unsupported error code", +"GKE sandbox unsupported error code", +"Nodepool workload identity federation required error code", +"CNI installation failed error code", +"CNI pod unschedulable error code", +"Cluster has zero node code", +"Failure to reconcile CanonicalServices", +"Multiple control planes unsupported error code", +"VPC-SC GA is supported for this control plane.", +"User is using deprecated ControlPlaneManagement and they have not yet set Management.", +"User is using deprecated ControlPlaneManagement and they have already set Management.", +"Configuration (Istio/k8s resources) failed to apply due to internal error.", +"Configuration failed to be applied due to being invalid.", +"Encountered configuration(s) with possible unintended behavior or invalid configuration. These configs may not have been applied.", +"BackendService quota exceeded error code.", +"HealthCheck quota exceeded error code.", +"HTTPRoute quota exceeded error code.", +"TCPRoute quota exceeded error code.", +"TLS routes quota exceeded error code.", +"TrafficPolicy quota exceeded error code.", +"EndpointPolicy quota exceeded error code.", +"Gateway quota exceeded error code.", +"Mesh quota exceeded error code.", +"ServerTLSPolicy quota exceeded error code.", +"ClientTLSPolicy quota exceeded error code.", +"ServiceLBPolicy quota exceeded error code.", +"HTTPFilter quota exceeded error code.", +"TCPFilter quota exceeded error code.", +"NetworkEndpointGroup quota exceeded error code.", +"Legacy istio secrets found for multicluster error code", +"Workload identity required error code", +"Non-standard binary usage error code", +"Unsupported gateway class error code", +"Managed CNI not enabled error code", +"Modernization is scheduled for a cluster.", +"Modernization is in progress for a cluster.", +"Modernization is completed for a cluster.", +"Modernization is aborted for a cluster.", +"Preparing cluster so that its workloads can be migrated.", +"Modernization is stalled for a cluster.", +"Cluster has been prepared for its workloads to be migrated.", +"Migrating the cluster's workloads to the new implementation.", +"Rollback is in progress for modernization of a cluster.", +"Modernization will be scheduled for a fleet.", +"Fleet is opted out from automated modernization.", +"Fleet is eligible for modernization.", +"Modernization of one or more clusters in a fleet is in progress.", +"Modernization of all the fleet's clusters is complete. Soaking before finalizing the modernization.", +"Modernization is finalized for all clusters in a fleet. Rollback is no longer allowed.", +"Rollback is in progress for modernization of all clusters in a fleet." +], +"type": "string" +}, +"details": { +"description": "A short summary about the issue.", +"type": "string" +}, +"documentationLink": { +"description": "Links contains actionable information.", +"type": "string" +}, +"severity": { +"description": "Severity level of the condition.", +"enum": [ +"SEVERITY_UNSPECIFIED", +"ERROR", +"WARNING", +"INFO" +], +"enumDescriptions": [ +"Unspecified severity", +"Indicates an issue that prevents the mesh from operating correctly", +"Indicates a setting is likely wrong, but the mesh is still able to operate", +"An informational message, not requiring any action" +], +"type": "string" +} +}, +"type": "object" +}, +"ServiceMeshControlPlaneManagement": { +"description": "Status of control plane management.", +"id": "ServiceMeshControlPlaneManagement", +"properties": { +"details": { +"description": "Explanation of state.", +"items": { +"$ref": "ServiceMeshStatusDetails" +}, +"type": "array" +}, +"implementation": { +"description": "Output only. Implementation of managed control plane.", +"enum": [ +"IMPLEMENTATION_UNSPECIFIED", +"ISTIOD", +"TRAFFIC_DIRECTOR", +"UPDATING" +], +"enumDescriptions": [ +"Unspecified", +"A Google build of istiod is used for the managed control plane.", +"Traffic director is used for the managed control plane.", +"The control plane implementation is being updated." +], +"readOnly": true, +"type": "string" +}, +"state": { +"description": "LifecycleState of control plane management.", +"enum": [ +"LIFECYCLE_STATE_UNSPECIFIED", +"DISABLED", +"FAILED_PRECONDITION", +"PROVISIONING", +"ACTIVE", +"STALLED", +"NEEDS_ATTENTION", +"DEGRADED", +"DEPROVISIONING" +], +"enumDescriptions": [ +"Unspecified", +"DISABLED means that the component is not enabled.", +"FAILED_PRECONDITION means that provisioning cannot proceed because of some characteristic of the member cluster.", +"PROVISIONING means that provisioning is in progress.", +"ACTIVE means that the component is ready for use.", +"STALLED means that provisioning could not be done.", +"NEEDS_ATTENTION means that the component is ready, but some user intervention is required. (For example that the user should migrate workloads to a new control plane revision.)", +"DEGRADED means that the component is ready, but operating in a degraded state.", +"DEPROVISIONING means that deprovisioning is in progress." +], +"type": "string" +} +}, +"type": "object" +}, +"ServiceMeshDataPlaneManagement": { +"description": "Status of data plane management. Only reported per-member.", +"id": "ServiceMeshDataPlaneManagement", +"properties": { +"details": { +"description": "Explanation of the status.", +"items": { +"$ref": "ServiceMeshStatusDetails" +}, +"type": "array" +}, +"state": { +"description": "Lifecycle status of data plane management.", +"enum": [ +"LIFECYCLE_STATE_UNSPECIFIED", +"DISABLED", +"FAILED_PRECONDITION", +"PROVISIONING", +"ACTIVE", +"STALLED", +"NEEDS_ATTENTION", +"DEGRADED", +"DEPROVISIONING" +], +"enumDescriptions": [ +"Unspecified", +"DISABLED means that the component is not enabled.", +"FAILED_PRECONDITION means that provisioning cannot proceed because of some characteristic of the member cluster.", +"PROVISIONING means that provisioning is in progress.", +"ACTIVE means that the component is ready for use.", +"STALLED means that provisioning could not be done.", +"NEEDS_ATTENTION means that the component is ready, but some user intervention is required. (For example that the user should migrate workloads to a new control plane revision.)", +"DEGRADED means that the component is ready, but operating in a degraded state.", +"DEPROVISIONING means that deprovisioning is in progress." +], +"type": "string" +} +}, +"type": "object" +}, +"ServiceMeshMembershipSpec": { +"description": "**Service Mesh**: Spec for a single Membership for the servicemesh feature", +"id": "ServiceMeshMembershipSpec", +"properties": { +"configApi": { +"description": "Optional. Specifies the API that will be used for configuring the mesh workloads.", +"enum": [ +"CONFIG_API_UNSPECIFIED", +"CONFIG_API_ISTIO", +"CONFIG_API_GATEWAY" +], +"enumDescriptions": [ +"Unspecified", +"Use the Istio API for configuration.", +"Use the K8s Gateway API for configuration." +], +"type": "string" +}, +"controlPlane": { +"deprecated": true, +"description": "Deprecated: use `management` instead Enables automatic control plane management.", +"enum": [ +"CONTROL_PLANE_MANAGEMENT_UNSPECIFIED", +"AUTOMATIC", +"MANUAL" +], +"enumDescriptions": [ +"Unspecified", +"Google should provision a control plane revision and make it available in the cluster. Google will enroll this revision in a release channel and keep it up to date. The control plane revision may be a managed service, or a managed install.", +"User will manually configure the control plane (e.g. via CLI, or via the ControlPlaneRevision KRM API)" +], +"type": "string" +}, +"management": { +"description": "Optional. Enables automatic Service Mesh management.", +"enum": [ +"MANAGEMENT_UNSPECIFIED", +"MANAGEMENT_AUTOMATIC", +"MANAGEMENT_MANUAL", +"MANAGEMENT_NOT_INSTALLED" +], +"enumDescriptions": [ +"Unspecified", +"Google should manage my Service Mesh for the cluster.", +"User will manually configure their service mesh components.", +"Google should remove any managed Service Mesh components from this cluster and deprovision any resources." +], +"type": "string" +} +}, +"type": "object" +}, +"ServiceMeshMembershipState": { +"description": "**Service Mesh**: State for a single Membership, as analyzed by the Service Mesh Hub Controller.", +"id": "ServiceMeshMembershipState", +"properties": { +"conditions": { +"description": "Output only. List of conditions reported for this membership.", +"items": { +"$ref": "ServiceMeshCondition" +}, +"readOnly": true, +"type": "array" +}, +"controlPlaneManagement": { +"$ref": "ServiceMeshControlPlaneManagement", +"description": "Output only. Status of control plane management", +"readOnly": true +}, +"dataPlaneManagement": { +"$ref": "ServiceMeshDataPlaneManagement", +"description": "Output only. Status of data plane management.", +"readOnly": true +} +}, +"type": "object" +}, +"ServiceMeshStatusDetails": { +"description": "Structured and human-readable details for a status.", +"id": "ServiceMeshStatusDetails", +"properties": { +"code": { +"description": "A machine-readable code that further describes a broad status.", +"type": "string" +}, +"details": { +"description": "Human-readable explanation of code.", +"type": "string" +} +}, +"type": "object" +}, +"SetIamPolicyRequest": { +"description": "Request message for `SetIamPolicy` method.", +"id": "SetIamPolicyRequest", +"properties": { +"policy": { +"$ref": "Policy", +"description": "REQUIRED: The complete policy to be applied to the `resource`. The size of the policy is limited to a few 10s of KB. An empty policy is a valid policy but certain Google Cloud services (such as Projects) might reject them." +}, +"updateMask": { +"description": "OPTIONAL: A FieldMask specifying which fields of the policy to modify. Only the fields in the mask will be modified. If no mask is provided, the following default mask is used: `paths: \"bindings, etag\"`", +"format": "google-fieldmask", +"type": "string" +} +}, +"type": "object" +}, +"Status": { +"description": "Status specifies state for the subcomponent.", +"id": "Status", +"properties": { +"code": { +"description": "Code specifies AppDevExperienceFeature's subcomponent ready state.", +"enum": [ +"CODE_UNSPECIFIED", +"OK", +"FAILED", +"UNKNOWN" +], +"enumDescriptions": [ +"Not set.", +"AppDevExperienceFeature's specified subcomponent is ready.", +"AppDevExperienceFeature's specified subcomponent ready state is false. This means AppDevExperienceFeature has encountered an issue that blocks all, or a portion, of its normal operation. See the `description` for more details.", +"AppDevExperienceFeature's specified subcomponent has a pending or unknown state." +], +"type": "string" +}, +"description": { +"description": "Description is populated if Code is Failed, explaining why it has failed.", +"type": "string" +} +}, +"type": "object" +}, +"TestIamPermissionsRequest": { +"description": "Request message for `TestIamPermissions` method.", +"id": "TestIamPermissionsRequest", +"properties": { +"permissions": { +"description": "The set of permissions to check for the `resource`. Permissions with wildcards (such as `*` or `storage.*`) are not allowed. For more information see [IAM Overview](https://cloud.google.com/iam/docs/overview#permissions).", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"TestIamPermissionsResponse": { +"description": "Response message for `TestIamPermissions` method.", +"id": "TestIamPermissionsResponse", +"properties": { +"permissions": { +"description": "A subset of `TestPermissionsRequest.permissions` that the caller is allowed.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"TypeMeta": { +"description": "TypeMeta is the type information needed for content unmarshalling of Kubernetes resources in the manifest.", +"id": "TypeMeta", +"properties": { +"apiVersion": { +"description": "APIVersion of the resource (e.g. v1).", +"type": "string" +}, +"kind": { +"description": "Kind of the resource (e.g. Deployment).", +"type": "string" +} +}, +"type": "object" +}, +"WorkloadIdentityFeatureSpec": { +"description": "**WorkloadIdentity**: Global feature specification.", +"id": "WorkloadIdentityFeatureSpec", +"properties": { +"scopeTenancyPool": { +"description": "Pool to be used for Workload Identity. This pool in trust-domain mode is used with Fleet Tenancy, so that sameness can be enforced. ex: projects/example/locations/global/workloadidentitypools/custompool", +"type": "string" +} +}, +"type": "object" +}, +"WorkloadIdentityFeatureState": { +"description": "**WorkloadIdentity**: Global feature state.", +"id": "WorkloadIdentityFeatureState", +"properties": { +"namespaceStateDetails": { +"additionalProperties": { +"$ref": "WorkloadIdentityNamespaceStateDetail" +}, +"description": "The state of the IAM namespaces for the fleet.", +"type": "object" +}, +"namespaceStates": { +"additionalProperties": { +"enum": [ +"NAMESPACE_STATE_UNSPECIFIED", +"NAMESPACE_STATE_OK", +"NAMESPACE_STATE_ERROR" +], +"enumDescriptions": [ +"Unknown state.", +"The Namespace was created/updated successfully.", +"The Namespace was not created/updated successfully. The error message is in the description field." +], +"type": "string" +}, +"description": "Deprecated, this field will be erased after code is changed to use the new field.", +"type": "object" +}, +"scopeTenancyWorkloadIdentityPool": { +"description": "The full name of the scope-tenancy pool for the fleet.", +"type": "string" +}, +"workloadIdentityPool": { +"description": "The full name of the svc.id.goog pool for the fleet.", +"type": "string" +}, +"workloadIdentityPoolStateDetails": { +"additionalProperties": { +"$ref": "WorkloadIdentityWorkloadIdentityPoolStateDetail" +}, +"description": "The state of the Workload Identity Pools for the fleet.", +"type": "object" +} +}, +"type": "object" +}, +"WorkloadIdentityIdentityProviderStateDetail": { +"description": "IdentityProviderStateDetail represents the state of an Identity Provider.", +"id": "WorkloadIdentityIdentityProviderStateDetail", +"properties": { +"code": { +"description": "The state of the Identity Provider.", +"enum": [ +"IDENTITY_PROVIDER_STATE_UNSPECIFIED", +"IDENTITY_PROVIDER_STATE_OK", +"IDENTITY_PROVIDER_STATE_ERROR" +], +"enumDescriptions": [ +"Unknown state.", +"The Identity Provider was created/updated successfully.", +"The Identity Provider was not created/updated successfully. The error message is in the description field." +], +"type": "string" +}, +"description": { +"description": "A human-readable description of the current state or returned error.", +"type": "string" +} +}, +"type": "object" +}, +"WorkloadIdentityMembershipState": { +"description": "**WorkloadIdentity**: The membership-specific state for WorkloadIdentity feature.", +"id": "WorkloadIdentityMembershipState", +"properties": { +"description": { +"description": "Deprecated, this field will be erased after code is changed to use the new field.", +"type": "string" +}, +"identityProviderStateDetails": { +"additionalProperties": { +"$ref": "WorkloadIdentityIdentityProviderStateDetail" +}, +"description": "The state of the Identity Providers corresponding to the membership.", +"type": "object" +} +}, +"type": "object" +}, +"WorkloadIdentityNamespaceStateDetail": { +"description": "NamespaceStateDetail represents the state of a IAM namespace.", +"id": "WorkloadIdentityNamespaceStateDetail", +"properties": { +"code": { +"description": "The state of the IAM namespace.", +"enum": [ +"NAMESPACE_STATE_UNSPECIFIED", +"NAMESPACE_STATE_OK", +"NAMESPACE_STATE_ERROR" +], +"enumDescriptions": [ +"Unknown state.", +"The Namespace was created/updated successfully.", +"The Namespace was not created/updated successfully. The error message is in the description field." +], +"type": "string" +}, +"description": { +"description": "A human-readable description of the current state or returned error.", +"type": "string" +} +}, +"type": "object" +}, +"WorkloadIdentityWorkloadIdentityPoolStateDetail": { +"description": "WorkloadIdentityPoolStateDetail represents the state of the Workload Identity Pools for the fleet.", +"id": "WorkloadIdentityWorkloadIdentityPoolStateDetail", +"properties": { +"code": { +"description": "The state of the Workload Identity Pool.", +"enum": [ +"WORKLOAD_IDENTITY_POOL_STATE_UNSPECIFIED", +"WORKLOAD_IDENTITY_POOL_STATE_OK", +"WORKLOAD_IDENTITY_POOL_STATE_ERROR" +], +"enumDescriptions": [ +"Unknown state.", +"The Workload Identity Pool was created/updated successfully.", +"The Workload Identity Pool was not created/updated successfully. The error message is in the description field." +], +"type": "string" +}, +"description": { +"description": "A human-readable description of the current state or returned error.", +"type": "string" +} +}, +"type": "object" +} +}, +"servicePath": "", +"title": "GKE Hub API", +"version": "v1", +"version_module": true +} \ No newline at end of file diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/gkehub.v1beta.json b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/gkehub.v1beta.json new file mode 100644 index 0000000000000000000000000000000000000000..b952e17fd2b4eedac22c26f6cb0759a72044e5ac --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/gkehub.v1beta.json @@ -0,0 +1,7680 @@ +{ +"auth": { +"oauth2": { +"scopes": { +"https://www.googleapis.com/auth/cloud-platform": { +"description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." +} +} +} +}, +"basePath": "", +"baseUrl": "https://gkehub.googleapis.com/", +"batchPath": "batch", +"canonicalName": "GKE Hub", +"description": "", +"discoveryVersion": "v1", +"documentationLink": "https://cloud.google.com/anthos/multicluster-management/connect/registering-a-cluster", +"fullyEncodeReservedExpansion": true, +"icons": { +"x16": "http://www.google.com/images/icons/product/search-16.gif", +"x32": "http://www.google.com/images/icons/product/search-32.gif" +}, +"id": "gkehub:v1beta", +"kind": "discovery#restDescription", +"mtlsRootUrl": "https://gkehub.mtls.googleapis.com/", +"name": "gkehub", +"ownerDomain": "google.com", +"ownerName": "Google", +"parameters": { +"$.xgafv": { +"description": "V1 error format.", +"enum": [ +"1", +"2" +], +"enumDescriptions": [ +"v1 error format", +"v2 error format" +], +"location": "query", +"type": "string" +}, +"access_token": { +"description": "OAuth access token.", +"location": "query", +"type": "string" +}, +"alt": { +"default": "json", +"description": "Data format for response.", +"enum": [ +"json", +"media", +"proto" +], +"enumDescriptions": [ +"Responses with Content-Type of application/json", +"Media download with context-dependent Content-Type", +"Responses with Content-Type of application/x-protobuf" +], +"location": "query", +"type": "string" +}, +"callback": { +"description": "JSONP", +"location": "query", +"type": "string" +}, +"fields": { +"description": "Selector specifying which fields to include in a partial response.", +"location": "query", +"type": "string" +}, +"key": { +"description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", +"location": "query", +"type": "string" +}, +"oauth_token": { +"description": "OAuth 2.0 token for the current user.", +"location": "query", +"type": "string" +}, +"prettyPrint": { +"default": "true", +"description": "Returns response with indentations and line breaks.", +"location": "query", +"type": "boolean" +}, +"quotaUser": { +"description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.", +"location": "query", +"type": "string" +}, +"uploadType": { +"description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", +"location": "query", +"type": "string" +}, +"upload_protocol": { +"description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", +"location": "query", +"type": "string" +} +}, +"protocol": "rest", +"resources": { +"organizations": { +"resources": { +"locations": { +"resources": { +"fleets": { +"methods": { +"list": { +"description": "Returns all fleets within an organization or a project that the caller has access to.", +"flatPath": "v1beta/organizations/{organizationsId}/locations/{locationsId}/fleets", +"httpMethod": "GET", +"id": "gkehub.organizations.locations.fleets.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "Optional. The maximum number of fleets to return. The service may return fewer than this value. If unspecified, at most 200 fleets will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. A page token, received from a previous `ListFleets` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListFleets` must match the call that provided the page token.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The organization or project to list for Fleets under, in the format `organizations/*/locations/*` or `projects/*/locations/*`.", +"location": "path", +"pattern": "^organizations/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta/{+parent}/fleets", +"response": { +"$ref": "ListFleetsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +} +} +}, +"projects": { +"resources": { +"locations": { +"methods": { +"get": { +"description": "Gets information about a location.", +"flatPath": "v1beta/projects/{projectsId}/locations/{locationsId}", +"httpMethod": "GET", +"id": "gkehub.projects.locations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Resource name for the location.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta/{+name}", +"response": { +"$ref": "Location" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists information about the supported locations for this service. This method can be called in two ways: * **List all public locations:** Use the path `GET /v1/locations`. * **List project-visible locations:** Use the path `GET /v1/projects/{project_id}/locations`. This may include public locations as well as private or other locations specifically visible to the project.", +"flatPath": "v1beta/projects/{projectsId}/locations", +"httpMethod": "GET", +"id": "gkehub.projects.locations.list", +"parameterOrder": [ +"name" +], +"parameters": { +"extraLocationTypes": { +"description": "Optional. Do not use this field. It is unsupported and is ignored unless explicitly documented otherwise. This is primarily for internal usage.", +"location": "query", +"repeated": true, +"type": "string" +}, +"filter": { +"description": "A filter to narrow down results to a preferred subset. The filtering language accepts strings like `\"displayName=tokyo\"`, and is documented in more detail in [AIP-160](https://google.aip.dev/160).", +"location": "query", +"type": "string" +}, +"name": { +"description": "The resource that owns the locations collection, if applicable.", +"location": "path", +"pattern": "^projects/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The maximum number of results to return. If not set, the service selects a default.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A page token received from the `next_page_token` field in the response. Send that page token to receive the subsequent page.", +"location": "query", +"type": "string" +} +}, +"path": "v1beta/{+name}/locations", +"response": { +"$ref": "ListLocationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"features": { +"methods": { +"create": { +"description": "Adds a new Feature.", +"flatPath": "v1beta/projects/{projectsId}/locations/{locationsId}/features", +"httpMethod": "POST", +"id": "gkehub.projects.locations.features.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"featureId": { +"description": "The ID of the feature to create.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent (project and location) where the Feature will be created. Specified in the format `projects/*/locations/*`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes after the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "v1beta/{+parent}/features", +"request": { +"$ref": "Feature" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Removes a Feature.", +"flatPath": "v1beta/projects/{projectsId}/locations/{locationsId}/features/{featuresId}", +"httpMethod": "DELETE", +"id": "gkehub.projects.locations.features.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"force": { +"description": "If set to true, the delete will ignore any outstanding resources for this Feature (that is, `FeatureState.has_resources` is set to true). These resources will NOT be cleaned up or modified in any way.", +"location": "query", +"type": "boolean" +}, +"name": { +"description": "Required. The Feature resource name in the format `projects/*/locations/*/features/*`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/features/[^/]+$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "Optional. A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes after the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "v1beta/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets details of a single Feature.", +"flatPath": "v1beta/projects/{projectsId}/locations/{locationsId}/features/{featuresId}", +"httpMethod": "GET", +"id": "gkehub.projects.locations.features.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The Feature resource name in the format `projects/*/locations/*/features/*`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/features/[^/]+$", +"required": true, +"type": "string" +}, +"returnPartialSuccess": { +"description": "Optional. If set to true, the response will return partial results when some regions are unreachable and the unreachable field in Feature proto will be populated. If set to false, the request will fail when some regions are unreachable.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1beta/{+name}", +"response": { +"$ref": "Feature" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"getIamPolicy": { +"description": "Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.", +"flatPath": "v1beta/projects/{projectsId}/locations/{locationsId}/features/{featuresId}:getIamPolicy", +"httpMethod": "GET", +"id": "gkehub.projects.locations.features.getIamPolicy", +"parameterOrder": [ +"resource" +], +"parameters": { +"options.requestedPolicyVersion": { +"description": "Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).", +"format": "int32", +"location": "query", +"type": "integer" +}, +"resource": { +"description": "REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/features/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta/{+resource}:getIamPolicy", +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists Features in a given project and location.", +"flatPath": "v1beta/projects/{projectsId}/locations/{locationsId}/features", +"httpMethod": "GET", +"id": "gkehub.projects.locations.features.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Lists Features that match the filter expression, following the syntax outlined in https://google.aip.dev/160. Examples: - Feature with the name \"servicemesh\" in project \"foo-proj\": name = \"projects/foo-proj/locations/global/features/servicemesh\" - Features that have a label called `foo`: labels.foo:* - Features that have a label called `foo` whose value is `bar`: labels.foo = bar", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "One or more fields to compare and use to sort the output. See https://google.aip.dev/132#ordering.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "When requesting a 'page' of resources, `page_size` specifies number of resources to return. If unspecified or set to 0, all resources will be returned.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Token returned by previous call to `ListFeatures` which specifies the position in the list from where to continue listing the resources.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent (project and location) where the Features will be listed. Specified in the format `projects/*/locations/*`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +}, +"returnPartialSuccess": { +"description": "Optional. If set to true, the response will return partial results when some regions are unreachable and the unreachable field in Feature proto will be populated. If set to false, the request will fail when some regions are unreachable.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1beta/{+parent}/features", +"response": { +"$ref": "ListFeaturesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates an existing Feature.", +"flatPath": "v1beta/projects/{projectsId}/locations/{locationsId}/features/{featuresId}", +"httpMethod": "PATCH", +"id": "gkehub.projects.locations.features.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The Feature resource name in the format `projects/*/locations/*/features/*`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/features/[^/]+$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes after the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"updateMask": { +"description": "Mask of fields to update.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1beta/{+name}", +"request": { +"$ref": "Feature" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"setIamPolicy": { +"description": "Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.", +"flatPath": "v1beta/projects/{projectsId}/locations/{locationsId}/features/{featuresId}:setIamPolicy", +"httpMethod": "POST", +"id": "gkehub.projects.locations.features.setIamPolicy", +"parameterOrder": [ +"resource" +], +"parameters": { +"resource": { +"description": "REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/features/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta/{+resource}:setIamPolicy", +"request": { +"$ref": "SetIamPolicyRequest" +}, +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"testIamPermissions": { +"description": "Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may \"fail open\" without warning.", +"flatPath": "v1beta/projects/{projectsId}/locations/{locationsId}/features/{featuresId}:testIamPermissions", +"httpMethod": "POST", +"id": "gkehub.projects.locations.features.testIamPermissions", +"parameterOrder": [ +"resource" +], +"parameters": { +"resource": { +"description": "REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/features/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta/{+resource}:testIamPermissions", +"request": { +"$ref": "TestIamPermissionsRequest" +}, +"response": { +"$ref": "TestIamPermissionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"fleets": { +"methods": { +"create": { +"description": "Creates a fleet.", +"flatPath": "v1beta/projects/{projectsId}/locations/{locationsId}/fleets", +"httpMethod": "POST", +"id": "gkehub.projects.locations.fleets.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The parent (project and location) where the Fleet will be created. Specified in the format `projects/*/locations/*`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta/{+parent}/fleets", +"request": { +"$ref": "Fleet" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Removes a Fleet. There must be no memberships remaining in the Fleet.", +"flatPath": "v1beta/projects/{projectsId}/locations/{locationsId}/fleets/{fleetsId}", +"httpMethod": "DELETE", +"id": "gkehub.projects.locations.fleets.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The Fleet resource name in the format `projects/*/locations/*/fleets/*`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/fleets/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Returns the details of a fleet.", +"flatPath": "v1beta/projects/{projectsId}/locations/{locationsId}/fleets/{fleetsId}", +"httpMethod": "GET", +"id": "gkehub.projects.locations.fleets.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The Fleet resource name in the format `projects/*/locations/*/fleets/*`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/fleets/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta/{+name}", +"response": { +"$ref": "Fleet" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Returns all fleets within an organization or a project that the caller has access to.", +"flatPath": "v1beta/projects/{projectsId}/locations/{locationsId}/fleets", +"httpMethod": "GET", +"id": "gkehub.projects.locations.fleets.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "Optional. The maximum number of fleets to return. The service may return fewer than this value. If unspecified, at most 200 fleets will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. A page token, received from a previous `ListFleets` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListFleets` must match the call that provided the page token.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The organization or project to list for Fleets under, in the format `organizations/*/locations/*` or `projects/*/locations/*`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta/{+parent}/fleets", +"response": { +"$ref": "ListFleetsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates a fleet.", +"flatPath": "v1beta/projects/{projectsId}/locations/{locationsId}/fleets/{fleetsId}", +"httpMethod": "PATCH", +"id": "gkehub.projects.locations.fleets.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Output only. The full, unique resource name of this fleet in the format of `projects/{project}/locations/{location}/fleets/{fleet}`. Each Google Cloud project can have at most one fleet resource, named \"default\".", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/fleets/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Required. The fields to be updated;", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1beta/{+name}", +"request": { +"$ref": "Fleet" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"memberships": { +"methods": { +"create": { +"description": "Creates a new Membership. **This is currently only supported for GKE clusters on Google Cloud**. To register other clusters, follow the instructions at https://cloud.google.com/anthos/multicluster-management/connect/registering-a-cluster.", +"flatPath": "v1beta/projects/{projectsId}/locations/{locationsId}/memberships", +"httpMethod": "POST", +"id": "gkehub.projects.locations.memberships.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"membershipId": { +"description": "Required. Client chosen ID for the membership. `membership_id` must be a valid RFC 1123 compliant DNS label: 1. At most 63 characters in length 2. It must consist of lower case alphanumeric characters or `-` 3. It must start and end with an alphanumeric character Which can be expressed as the regex: `[a-z0-9]([-a-z0-9]*[a-z0-9])?`, with a maximum length of 63 characters.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent (project and location) where the Memberships will be created. Specified in the format `projects/*/locations/*`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "Optional. A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes after the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "v1beta/{+parent}/memberships", +"request": { +"$ref": "Membership" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Removes a Membership. **This is currently only supported for GKE clusters on Google Cloud**. To unregister other clusters, follow the instructions at https://cloud.google.com/anthos/multicluster-management/connect/unregistering-a-cluster.", +"flatPath": "v1beta/projects/{projectsId}/locations/{locationsId}/memberships/{membershipsId}", +"httpMethod": "DELETE", +"id": "gkehub.projects.locations.memberships.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"force": { +"description": "Optional. If set to true, any subresource from this Membership will also be deleted. Otherwise, the request will only work if the Membership has no subresource.", +"location": "query", +"type": "boolean" +}, +"name": { +"description": "Required. The Membership resource name in the format `projects/*/locations/*/memberships/*`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/memberships/[^/]+$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "Optional. A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes after the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "v1beta/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"generateConnectManifest": { +"description": "Generates the manifest for deployment of the GKE connect agent. **This method is used internally by Google-provided libraries.** Most clients should not need to call this method directly.", +"flatPath": "v1beta/projects/{projectsId}/locations/{locationsId}/memberships/{membershipsId}:generateConnectManifest", +"httpMethod": "GET", +"id": "gkehub.projects.locations.memberships.generateConnectManifest", +"parameterOrder": [ +"name" +], +"parameters": { +"imagePullSecretContent": { +"description": "Optional. The image pull secret content for the registry, if not public.", +"format": "byte", +"location": "query", +"type": "string" +}, +"isUpgrade": { +"description": "Optional. If true, generate the resources for upgrade only. Some resources generated only for installation (e.g. secrets) will be excluded.", +"location": "query", +"type": "boolean" +}, +"name": { +"description": "Required. The Membership resource name the Agent will associate with, in the format `projects/*/locations/*/memberships/*`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/memberships/[^/]+$", +"required": true, +"type": "string" +}, +"namespace": { +"description": "Optional. Namespace for GKE Connect agent resources. Defaults to `gke-connect`. The Connect Agent is authorized automatically when run in the default namespace. Otherwise, explicit authorization must be granted with an additional IAM binding.", +"location": "query", +"type": "string" +}, +"proxy": { +"description": "Optional. URI of a proxy if connectivity from the agent to gkeconnect.googleapis.com requires the use of a proxy. Format must be in the form `http(s)://{proxy_address}`, depending on the HTTP/HTTPS protocol supported by the proxy. This will direct the connect agent's outbound traffic through a HTTP(S) proxy.", +"format": "byte", +"location": "query", +"type": "string" +}, +"registry": { +"description": "Optional. The registry to fetch the connect agent image from. Defaults to gcr.io/gkeconnect.", +"location": "query", +"type": "string" +}, +"version": { +"description": "Optional. The Connect agent version to use. Defaults to the most current version.", +"location": "query", +"type": "string" +} +}, +"path": "v1beta/{+name}:generateConnectManifest", +"response": { +"$ref": "GenerateConnectManifestResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets the details of a Membership.", +"flatPath": "v1beta/projects/{projectsId}/locations/{locationsId}/memberships/{membershipsId}", +"httpMethod": "GET", +"id": "gkehub.projects.locations.memberships.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The Membership resource name in the format `projects/*/locations/*/memberships/*`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/memberships/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta/{+name}", +"response": { +"$ref": "Membership" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"getIamPolicy": { +"description": "Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.", +"flatPath": "v1beta/projects/{projectsId}/locations/{locationsId}/memberships/{membershipsId}:getIamPolicy", +"httpMethod": "GET", +"id": "gkehub.projects.locations.memberships.getIamPolicy", +"parameterOrder": [ +"resource" +], +"parameters": { +"options.requestedPolicyVersion": { +"description": "Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).", +"format": "int32", +"location": "query", +"type": "integer" +}, +"resource": { +"description": "REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/memberships/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta/{+resource}:getIamPolicy", +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists Memberships in a given project and location.", +"flatPath": "v1beta/projects/{projectsId}/locations/{locationsId}/memberships", +"httpMethod": "GET", +"id": "gkehub.projects.locations.memberships.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Optional. Lists Memberships that match the filter expression, following the syntax outlined in https://google.aip.dev/160. Examples: - Name is `bar` in project `foo-proj` and location `global`: name = \"projects/foo-proj/locations/global/membership/bar\" - Memberships that have a label called `foo`: labels.foo:* - Memberships that have a label called `foo` whose value is `bar`: labels.foo = bar - Memberships in the CREATING state: state = CREATING", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "Optional. One or more fields to compare and use to sort the output. See https://google.aip.dev/132#ordering.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Optional. When requesting a 'page' of resources, `page_size` specifies number of resources to return. If unspecified or set to 0, all resources will be returned.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. Token returned by previous call to `ListMemberships` which specifies the position in the list from where to continue listing the resources.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent (project and location) where the Memberships will be listed. Specified in the format `projects/*/locations/*`. `projects/*/locations/-` list memberships in all the regions.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta/{+parent}/memberships", +"response": { +"$ref": "ListMembershipsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates an existing Membership.", +"flatPath": "v1beta/projects/{projectsId}/locations/{locationsId}/memberships/{membershipsId}", +"httpMethod": "PATCH", +"id": "gkehub.projects.locations.memberships.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The Membership resource name in the format `projects/*/locations/*/memberships/*`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/memberships/[^/]+$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "Optional. A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes after the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"updateMask": { +"description": "Required. Mask of fields to update.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1beta/{+name}", +"request": { +"$ref": "Membership" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"setIamPolicy": { +"description": "Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.", +"flatPath": "v1beta/projects/{projectsId}/locations/{locationsId}/memberships/{membershipsId}:setIamPolicy", +"httpMethod": "POST", +"id": "gkehub.projects.locations.memberships.setIamPolicy", +"parameterOrder": [ +"resource" +], +"parameters": { +"resource": { +"description": "REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/memberships/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta/{+resource}:setIamPolicy", +"request": { +"$ref": "SetIamPolicyRequest" +}, +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"testIamPermissions": { +"description": "Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may \"fail open\" without warning.", +"flatPath": "v1beta/projects/{projectsId}/locations/{locationsId}/memberships/{membershipsId}:testIamPermissions", +"httpMethod": "POST", +"id": "gkehub.projects.locations.memberships.testIamPermissions", +"parameterOrder": [ +"resource" +], +"parameters": { +"resource": { +"description": "REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/memberships/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta/{+resource}:testIamPermissions", +"request": { +"$ref": "TestIamPermissionsRequest" +}, +"response": { +"$ref": "TestIamPermissionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"bindings": { +"methods": { +"create": { +"description": "Creates a MembershipBinding.", +"flatPath": "v1beta/projects/{projectsId}/locations/{locationsId}/memberships/{membershipsId}/bindings", +"httpMethod": "POST", +"id": "gkehub.projects.locations.memberships.bindings.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"membershipBindingId": { +"description": "Required. The ID to use for the MembershipBinding.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent (project and location) where the MembershipBinding will be created. Specified in the format `projects/*/locations/*/memberships/*`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/memberships/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta/{+parent}/bindings", +"request": { +"$ref": "MembershipBinding" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a MembershipBinding.", +"flatPath": "v1beta/projects/{projectsId}/locations/{locationsId}/memberships/{membershipsId}/bindings/{bindingsId}", +"httpMethod": "DELETE", +"id": "gkehub.projects.locations.memberships.bindings.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The MembershipBinding resource name in the format `projects/*/locations/*/memberships/*/bindings/*`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/memberships/[^/]+/bindings/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Returns the details of a MembershipBinding.", +"flatPath": "v1beta/projects/{projectsId}/locations/{locationsId}/memberships/{membershipsId}/bindings/{bindingsId}", +"httpMethod": "GET", +"id": "gkehub.projects.locations.memberships.bindings.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The MembershipBinding resource name in the format `projects/*/locations/*/memberships/*/bindings/*`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/memberships/[^/]+/bindings/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta/{+name}", +"response": { +"$ref": "MembershipBinding" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists MembershipBindings.", +"flatPath": "v1beta/projects/{projectsId}/locations/{locationsId}/memberships/{membershipsId}/bindings", +"httpMethod": "GET", +"id": "gkehub.projects.locations.memberships.bindings.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Optional. Lists MembershipBindings that match the filter expression, following the syntax outlined in https://google.aip.dev/160.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Optional. When requesting a 'page' of resources, `page_size` specifies number of resources to return. If unspecified or set to 0, all resources will be returned.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. Token returned by previous call to `ListMembershipBindings` which specifies the position in the list from where to continue listing the resources.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent Membership for which the MembershipBindings will be listed. Specified in the format `projects/*/locations/*/memberships/*`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/memberships/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta/{+parent}/bindings", +"response": { +"$ref": "ListMembershipBindingsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates a MembershipBinding.", +"flatPath": "v1beta/projects/{projectsId}/locations/{locationsId}/memberships/{membershipsId}/bindings/{bindingsId}", +"httpMethod": "PATCH", +"id": "gkehub.projects.locations.memberships.bindings.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The resource name for the membershipbinding itself `projects/{project}/locations/{location}/memberships/{membership}/bindings/{membershipbinding}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/memberships/[^/]+/bindings/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Required. The fields to be updated.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1beta/{+name}", +"request": { +"$ref": "MembershipBinding" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"rbacrolebindings": { +"methods": { +"create": { +"description": "Creates a Membership RBACRoleBinding.", +"flatPath": "v1beta/projects/{projectsId}/locations/{locationsId}/memberships/{membershipsId}/rbacrolebindings", +"httpMethod": "POST", +"id": "gkehub.projects.locations.memberships.rbacrolebindings.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The parent (project and location) where the RBACRoleBinding will be created. Specified in the format `projects/*/locations/*/memberships/*`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/memberships/[^/]+$", +"required": true, +"type": "string" +}, +"rbacrolebindingId": { +"description": "Required. Client chosen ID for the RBACRoleBinding. `rbacrolebinding_id` must be a valid RFC 1123 compliant DNS label: 1. At most 63 characters in length 2. It must consist of lower case alphanumeric characters or `-` 3. It must start and end with an alphanumeric character Which can be expressed as the regex: `[a-z0-9]([-a-z0-9]*[a-z0-9])?`, with a maximum length of 63 characters.", +"location": "query", +"type": "string" +} +}, +"path": "v1beta/{+parent}/rbacrolebindings", +"request": { +"$ref": "RBACRoleBinding" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a Membership RBACRoleBinding.", +"flatPath": "v1beta/projects/{projectsId}/locations/{locationsId}/memberships/{membershipsId}/rbacrolebindings/{rbacrolebindingsId}", +"httpMethod": "DELETE", +"id": "gkehub.projects.locations.memberships.rbacrolebindings.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The RBACRoleBinding resource name in the format `projects/*/locations/*/memberships/*/rbacrolebindings/*`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/memberships/[^/]+/rbacrolebindings/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"generateMembershipRBACRoleBindingYAML": { +"description": "Generates a YAML of the RBAC policies for the specified RoleBinding and its associated impersonation resources.", +"flatPath": "v1beta/projects/{projectsId}/locations/{locationsId}/memberships/{membershipsId}/rbacrolebindings:generateMembershipRBACRoleBindingYAML", +"httpMethod": "POST", +"id": "gkehub.projects.locations.memberships.rbacrolebindings.generateMembershipRBACRoleBindingYAML", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The parent (project and location) where the RBACRoleBinding will be created. Specified in the format `projects/*/locations/*/memberships/*`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/memberships/[^/]+$", +"required": true, +"type": "string" +}, +"rbacrolebindingId": { +"description": "Required. Client chosen ID for the RBACRoleBinding. `rbacrolebinding_id` must be a valid RFC 1123 compliant DNS label: 1. At most 63 characters in length 2. It must consist of lower case alphanumeric characters or `-` 3. It must start and end with an alphanumeric character Which can be expressed as the regex: `[a-z0-9]([-a-z0-9]*[a-z0-9])?`, with a maximum length of 63 characters.", +"location": "query", +"type": "string" +} +}, +"path": "v1beta/{+parent}/rbacrolebindings:generateMembershipRBACRoleBindingYAML", +"request": { +"$ref": "RBACRoleBinding" +}, +"response": { +"$ref": "GenerateMembershipRBACRoleBindingYAMLResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Returns the details of a Membership RBACRoleBinding.", +"flatPath": "v1beta/projects/{projectsId}/locations/{locationsId}/memberships/{membershipsId}/rbacrolebindings/{rbacrolebindingsId}", +"httpMethod": "GET", +"id": "gkehub.projects.locations.memberships.rbacrolebindings.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The RBACRoleBinding resource name in the format `projects/*/locations/*/memberships/*/rbacrolebindings/*`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/memberships/[^/]+/rbacrolebindings/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta/{+name}", +"response": { +"$ref": "RBACRoleBinding" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists all Membership RBACRoleBindings.", +"flatPath": "v1beta/projects/{projectsId}/locations/{locationsId}/memberships/{membershipsId}/rbacrolebindings", +"httpMethod": "GET", +"id": "gkehub.projects.locations.memberships.rbacrolebindings.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "Optional. When requesting a 'page' of resources, `page_size` specifies number of resources to return. If unspecified or set to 0, all resources will be returned.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. Token returned by previous call to `ListMembershipRBACRoleBindings` which specifies the position in the list from where to continue listing the resources.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent (project and location) where the Features will be listed. Specified in the format `projects/*/locations/*/memberships/*`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/memberships/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta/{+parent}/rbacrolebindings", +"response": { +"$ref": "ListMembershipRBACRoleBindingsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates a Membership RBACRoleBinding.", +"flatPath": "v1beta/projects/{projectsId}/locations/{locationsId}/memberships/{membershipsId}/rbacrolebindings/{rbacrolebindingsId}", +"httpMethod": "PATCH", +"id": "gkehub.projects.locations.memberships.rbacrolebindings.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The resource name for the rbacrolebinding `projects/{project}/locations/{location}/scopes/{scope}/rbacrolebindings/{rbacrolebinding}` or `projects/{project}/locations/{location}/memberships/{membership}/rbacrolebindings/{rbacrolebinding}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/memberships/[^/]+/rbacrolebindings/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Required. The fields to be updated.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1beta/{+name}", +"request": { +"$ref": "RBACRoleBinding" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +}, +"operations": { +"methods": { +"cancel": { +"description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.", +"flatPath": "v1beta/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}:cancel", +"httpMethod": "POST", +"id": "gkehub.projects.locations.operations.cancel", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be cancelled.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta/{+name}:cancel", +"request": { +"$ref": "CancelOperationRequest" +}, +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.", +"flatPath": "v1beta/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}", +"httpMethod": "DELETE", +"id": "gkehub.projects.locations.operations.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be deleted.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta/{+name}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", +"flatPath": "v1beta/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}", +"httpMethod": "GET", +"id": "gkehub.projects.locations.operations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.", +"flatPath": "v1beta/projects/{projectsId}/locations/{locationsId}/operations", +"httpMethod": "GET", +"id": "gkehub.projects.locations.operations.list", +"parameterOrder": [ +"name" +], +"parameters": { +"filter": { +"description": "The standard list filter.", +"location": "query", +"type": "string" +}, +"name": { +"description": "The name of the operation's parent resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The standard list page size.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The standard list page token.", +"location": "query", +"type": "string" +}, +"returnPartialSuccess": { +"description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `\"projects/example/locations/-\"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1beta/{+name}/operations", +"response": { +"$ref": "ListOperationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"rolloutSequences": { +"methods": { +"create": { +"description": "Create a new rollout sequence resource.", +"flatPath": "v1beta/projects/{projectsId}/locations/{locationsId}/rolloutSequences", +"httpMethod": "POST", +"id": "gkehub.projects.locations.rolloutSequences.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The parent resource where this rollout sequence will be created. projects/{project}/locations/{location}", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +}, +"rolloutSequenceId": { +"description": "Required. User provided identifier that is used as part of the resource name; must conform to RFC-1034 and additionally restrict to lower-cased letters. This comes out roughly to: /^a-z+[a-z0-9]$/", +"location": "query", +"type": "string" +} +}, +"path": "v1beta/{+parent}/rolloutSequences", +"request": { +"$ref": "RolloutSequence" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Remove a RolloutSequence.", +"flatPath": "v1beta/projects/{projectsId}/locations/{locationsId}/rolloutSequences/{rolloutSequencesId}", +"httpMethod": "DELETE", +"id": "gkehub.projects.locations.rolloutSequences.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the rollout sequence to delete. projects/{project}/locations/{location}/rolloutSequences/{rollout_sequence}", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/rolloutSequences/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Retrieve a single rollout sequence.", +"flatPath": "v1beta/projects/{projectsId}/locations/{locationsId}/rolloutSequences/{rolloutSequencesId}", +"httpMethod": "GET", +"id": "gkehub.projects.locations.rolloutSequences.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the rollout sequence to retrieve. projects/{project}/locations/{location}/rolloutSequences/{rollout_sequence}", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/rolloutSequences/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta/{+name}", +"response": { +"$ref": "RolloutSequence" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Retrieve the list of all rollout sequences.", +"flatPath": "v1beta/projects/{projectsId}/locations/{locationsId}/rolloutSequences", +"httpMethod": "GET", +"id": "gkehub.projects.locations.rolloutSequences.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Optional. Lists Rollout Sequences that match the filter expression, following the syntax outlined in https://google.aip.dev/160.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Optional. The maximum number of rollout sequences to return. The service may return fewer than this value. If unspecified, at most 50 rollout sequences will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. A page token, received from a previous `ListRolloutSequences` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListRolloutSequences` must match the call that provided the page token.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent, which owns this collection of rollout sequences. Format: projects/{project}/locations/{location}", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta/{+parent}/rolloutSequences", +"response": { +"$ref": "ListRolloutSequencesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Update a rollout sequence.", +"flatPath": "v1beta/projects/{projectsId}/locations/{locationsId}/rolloutSequences/{rolloutSequencesId}", +"httpMethod": "PATCH", +"id": "gkehub.projects.locations.rolloutSequences.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Identifier. Name of the rollout sequence in the format of: projects/{PROJECT_ID}/locations/global/rolloutSequences/{NAME}", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/rolloutSequences/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Optional. The list of fields to update.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1beta/{+name}", +"request": { +"$ref": "RolloutSequence" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"rollouts": { +"methods": { +"get": { +"description": "Retrieve a single rollout.", +"flatPath": "v1beta/projects/{projectsId}/locations/{locationsId}/rollouts/{rolloutsId}", +"httpMethod": "GET", +"id": "gkehub.projects.locations.rollouts.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the rollout to retrieve. projects/{project}/locations/{location}/rollouts/{rollout}", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/rollouts/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta/{+name}", +"response": { +"$ref": "Rollout" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Retrieve the list of all rollouts.", +"flatPath": "v1beta/projects/{projectsId}/locations/{locationsId}/rollouts", +"httpMethod": "GET", +"id": "gkehub.projects.locations.rollouts.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Optional. Lists Rollouts that match the filter expression, following the syntax outlined in https://google.aip.dev/160.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "The maximum number of rollout to return. The service may return fewer than this value. If unspecified, at most 50 rollouts will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A page token, received from a previous `ListRollouts` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListRollouts` must match the call that provided the page token.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent, which owns this collection of rollout. Format: projects/{project}/locations/{location}", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta/{+parent}/rollouts", +"response": { +"$ref": "ListRolloutsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"scopes": { +"methods": { +"create": { +"description": "Creates a Scope.", +"flatPath": "v1beta/projects/{projectsId}/locations/{locationsId}/scopes", +"httpMethod": "POST", +"id": "gkehub.projects.locations.scopes.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The parent (project and location) where the Scope will be created. Specified in the format `projects/*/locations/*`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +}, +"scopeId": { +"description": "Required. Client chosen ID for the Scope. `scope_id` must be a ????", +"location": "query", +"type": "string" +} +}, +"path": "v1beta/{+parent}/scopes", +"request": { +"$ref": "Scope" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a Scope.", +"flatPath": "v1beta/projects/{projectsId}/locations/{locationsId}/scopes/{scopesId}", +"httpMethod": "DELETE", +"id": "gkehub.projects.locations.scopes.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The Scope resource name in the format `projects/*/locations/*/scopes/*`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/scopes/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Returns the details of a Scope.", +"flatPath": "v1beta/projects/{projectsId}/locations/{locationsId}/scopes/{scopesId}", +"httpMethod": "GET", +"id": "gkehub.projects.locations.scopes.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The Scope resource name in the format `projects/*/locations/*/scopes/*`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/scopes/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta/{+name}", +"response": { +"$ref": "Scope" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"getIamPolicy": { +"description": "Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.", +"flatPath": "v1beta/projects/{projectsId}/locations/{locationsId}/scopes/{scopesId}:getIamPolicy", +"httpMethod": "GET", +"id": "gkehub.projects.locations.scopes.getIamPolicy", +"parameterOrder": [ +"resource" +], +"parameters": { +"options.requestedPolicyVersion": { +"description": "Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).", +"format": "int32", +"location": "query", +"type": "integer" +}, +"resource": { +"description": "REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/scopes/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta/{+resource}:getIamPolicy", +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists Scopes.", +"flatPath": "v1beta/projects/{projectsId}/locations/{locationsId}/scopes", +"httpMethod": "GET", +"id": "gkehub.projects.locations.scopes.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "Optional. When requesting a 'page' of resources, `page_size` specifies number of resources to return. If unspecified or set to 0, all resources will be returned.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. Token returned by previous call to `ListScopes` which specifies the position in the list from where to continue listing the resources.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent (project and location) where the Scope will be listed. Specified in the format `projects/*/locations/*`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta/{+parent}/scopes", +"response": { +"$ref": "ListScopesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"listMemberships": { +"description": "Lists Memberships bound to a Scope. The response includes relevant Memberships from all regions.", +"flatPath": "v1beta/projects/{projectsId}/locations/{locationsId}/scopes/{scopesId}:listMemberships", +"httpMethod": "GET", +"id": "gkehub.projects.locations.scopes.listMemberships", +"parameterOrder": [ +"scopeName" +], +"parameters": { +"filter": { +"description": "Optional. Lists Memberships that match the filter expression, following the syntax outlined in https://google.aip.dev/160. Currently, filtering can be done only based on Memberships's `name`, `labels`, `create_time`, `update_time`, and `unique_id`.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Optional. When requesting a 'page' of resources, `page_size` specifies number of resources to return. If unspecified or set to 0, all resources will be returned. Pagination is currently not supported; therefore, setting this field does not have any impact for now.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. Token returned by previous call to `ListBoundMemberships` which specifies the position in the list from where to continue listing the resources.", +"location": "query", +"type": "string" +}, +"scopeName": { +"description": "Required. Name of the Scope, in the format `projects/*/locations/global/scopes/*`, to which the Memberships are bound.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/scopes/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta/{+scopeName}:listMemberships", +"response": { +"$ref": "ListBoundMembershipsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"listPermitted": { +"description": "Lists permitted Scopes.", +"flatPath": "v1beta/projects/{projectsId}/locations/{locationsId}/scopes:listPermitted", +"httpMethod": "GET", +"id": "gkehub.projects.locations.scopes.listPermitted", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "Optional. When requesting a 'page' of resources, `page_size` specifies number of resources to return. If unspecified or set to 0, all resources will be returned.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. Token returned by previous call to `ListPermittedScopes` which specifies the position in the list from where to continue listing the resources.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent (project and location) where the Scope will be listed. Specified in the format `projects/*/locations/*`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta/{+parent}/scopes:listPermitted", +"response": { +"$ref": "ListPermittedScopesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates a scopes.", +"flatPath": "v1beta/projects/{projectsId}/locations/{locationsId}/scopes/{scopesId}", +"httpMethod": "PATCH", +"id": "gkehub.projects.locations.scopes.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The resource name for the scope `projects/{project}/locations/{location}/scopes/{scope}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/scopes/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Required. The fields to be updated.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1beta/{+name}", +"request": { +"$ref": "Scope" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"setIamPolicy": { +"description": "Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.", +"flatPath": "v1beta/projects/{projectsId}/locations/{locationsId}/scopes/{scopesId}:setIamPolicy", +"httpMethod": "POST", +"id": "gkehub.projects.locations.scopes.setIamPolicy", +"parameterOrder": [ +"resource" +], +"parameters": { +"resource": { +"description": "REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/scopes/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta/{+resource}:setIamPolicy", +"request": { +"$ref": "SetIamPolicyRequest" +}, +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"testIamPermissions": { +"description": "Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may \"fail open\" without warning.", +"flatPath": "v1beta/projects/{projectsId}/locations/{locationsId}/scopes/{scopesId}:testIamPermissions", +"httpMethod": "POST", +"id": "gkehub.projects.locations.scopes.testIamPermissions", +"parameterOrder": [ +"resource" +], +"parameters": { +"resource": { +"description": "REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/scopes/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta/{+resource}:testIamPermissions", +"request": { +"$ref": "TestIamPermissionsRequest" +}, +"response": { +"$ref": "TestIamPermissionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"namespaces": { +"methods": { +"create": { +"description": "Creates a fleet namespace.", +"flatPath": "v1beta/projects/{projectsId}/locations/{locationsId}/scopes/{scopesId}/namespaces", +"httpMethod": "POST", +"id": "gkehub.projects.locations.scopes.namespaces.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The parent (project and location) where the Namespace will be created. Specified in the format `projects/*/locations/*/scopes/*`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/scopes/[^/]+$", +"required": true, +"type": "string" +}, +"scopeNamespaceId": { +"description": "Required. Client chosen ID for the Namespace. `namespace_id` must be a valid RFC 1123 compliant DNS label: 1. At most 63 characters in length 2. It must consist of lower case alphanumeric characters or `-` 3. It must start and end with an alphanumeric character Which can be expressed as the regex: `[a-z0-9]([-a-z0-9]*[a-z0-9])?`, with a maximum length of 63 characters.", +"location": "query", +"type": "string" +} +}, +"path": "v1beta/{+parent}/namespaces", +"request": { +"$ref": "Namespace" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a fleet namespace.", +"flatPath": "v1beta/projects/{projectsId}/locations/{locationsId}/scopes/{scopesId}/namespaces/{namespacesId}", +"httpMethod": "DELETE", +"id": "gkehub.projects.locations.scopes.namespaces.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The Namespace resource name in the format `projects/*/locations/*/scopes/*/namespaces/*`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/scopes/[^/]+/namespaces/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Returns the details of a fleet namespace.", +"flatPath": "v1beta/projects/{projectsId}/locations/{locationsId}/scopes/{scopesId}/namespaces/{namespacesId}", +"httpMethod": "GET", +"id": "gkehub.projects.locations.scopes.namespaces.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The Namespace resource name in the format `projects/*/locations/*/scopes/*/namespaces/*`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/scopes/[^/]+/namespaces/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta/{+name}", +"response": { +"$ref": "Namespace" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists fleet namespaces.", +"flatPath": "v1beta/projects/{projectsId}/locations/{locationsId}/scopes/{scopesId}/namespaces", +"httpMethod": "GET", +"id": "gkehub.projects.locations.scopes.namespaces.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "Optional. When requesting a 'page' of resources, `page_size` specifies number of resources to return. If unspecified or set to 0, all resources will be returned.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. Token returned by previous call to `ListFeatures` which specifies the position in the list from where to continue listing the resources.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent (project and location) where the Features will be listed. Specified in the format `projects/*/locations/*/scopes/*`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/scopes/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta/{+parent}/namespaces", +"response": { +"$ref": "ListScopeNamespacesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates a fleet namespace.", +"flatPath": "v1beta/projects/{projectsId}/locations/{locationsId}/scopes/{scopesId}/namespaces/{namespacesId}", +"httpMethod": "PATCH", +"id": "gkehub.projects.locations.scopes.namespaces.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The resource name for the namespace `projects/{project}/locations/{location}/namespaces/{namespace}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/scopes/[^/]+/namespaces/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Required. The fields to be updated.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1beta/{+name}", +"request": { +"$ref": "Namespace" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"rbacrolebindings": { +"methods": { +"create": { +"description": "Creates a Scope RBACRoleBinding.", +"flatPath": "v1beta/projects/{projectsId}/locations/{locationsId}/scopes/{scopesId}/rbacrolebindings", +"httpMethod": "POST", +"id": "gkehub.projects.locations.scopes.rbacrolebindings.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The parent (project and location) where the RBACRoleBinding will be created. Specified in the format `projects/*/locations/*/scopes/*`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/scopes/[^/]+$", +"required": true, +"type": "string" +}, +"rbacrolebindingId": { +"description": "Required. Client chosen ID for the RBACRoleBinding. `rbacrolebinding_id` must be a valid RFC 1123 compliant DNS label: 1. At most 63 characters in length 2. It must consist of lower case alphanumeric characters or `-` 3. It must start and end with an alphanumeric character Which can be expressed as the regex: `[a-z0-9]([-a-z0-9]*[a-z0-9])?`, with a maximum length of 63 characters.", +"location": "query", +"type": "string" +} +}, +"path": "v1beta/{+parent}/rbacrolebindings", +"request": { +"$ref": "RBACRoleBinding" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a Scope RBACRoleBinding.", +"flatPath": "v1beta/projects/{projectsId}/locations/{locationsId}/scopes/{scopesId}/rbacrolebindings/{rbacrolebindingsId}", +"httpMethod": "DELETE", +"id": "gkehub.projects.locations.scopes.rbacrolebindings.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The RBACRoleBinding resource name in the format `projects/*/locations/*/scopes/*/rbacrolebindings/*`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/scopes/[^/]+/rbacrolebindings/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Returns the details of a Scope RBACRoleBinding.", +"flatPath": "v1beta/projects/{projectsId}/locations/{locationsId}/scopes/{scopesId}/rbacrolebindings/{rbacrolebindingsId}", +"httpMethod": "GET", +"id": "gkehub.projects.locations.scopes.rbacrolebindings.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The RBACRoleBinding resource name in the format `projects/*/locations/*/scopes/*/rbacrolebindings/*`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/scopes/[^/]+/rbacrolebindings/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta/{+name}", +"response": { +"$ref": "RBACRoleBinding" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists all Scope RBACRoleBindings.", +"flatPath": "v1beta/projects/{projectsId}/locations/{locationsId}/scopes/{scopesId}/rbacrolebindings", +"httpMethod": "GET", +"id": "gkehub.projects.locations.scopes.rbacrolebindings.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "Optional. When requesting a 'page' of resources, `page_size` specifies number of resources to return. If unspecified or set to 0, all resources will be returned.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. Token returned by previous call to `ListScopeRBACRoleBindings` which specifies the position in the list from where to continue listing the resources.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent (project and location) where the Features will be listed. Specified in the format `projects/*/locations/*/scopes/*`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/scopes/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta/{+parent}/rbacrolebindings", +"response": { +"$ref": "ListScopeRBACRoleBindingsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates a Scope RBACRoleBinding.", +"flatPath": "v1beta/projects/{projectsId}/locations/{locationsId}/scopes/{scopesId}/rbacrolebindings/{rbacrolebindingsId}", +"httpMethod": "PATCH", +"id": "gkehub.projects.locations.scopes.rbacrolebindings.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The resource name for the rbacrolebinding `projects/{project}/locations/{location}/scopes/{scope}/rbacrolebindings/{rbacrolebinding}` or `projects/{project}/locations/{location}/memberships/{membership}/rbacrolebindings/{rbacrolebinding}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/scopes/[^/]+/rbacrolebindings/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Required. The fields to be updated.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1beta/{+name}", +"request": { +"$ref": "RBACRoleBinding" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +} +} +} +} +} +}, +"revision": "20260215", +"rootUrl": "https://gkehub.googleapis.com/", +"schemas": { +"AppDevExperienceFeatureSpec": { +"description": "Spec for App Dev Experience Feature.", +"id": "AppDevExperienceFeatureSpec", +"properties": {}, +"type": "object" +}, +"AppDevExperienceFeatureState": { +"description": "State for App Dev Exp Feature.", +"id": "AppDevExperienceFeatureState", +"properties": { +"networkingInstallSucceeded": { +"$ref": "Status", +"description": "Status of subcomponent that detects configured Service Mesh resources." +} +}, +"type": "object" +}, +"ApplianceCluster": { +"description": "ApplianceCluster contains information specific to GDC Edge Appliance Clusters.", +"id": "ApplianceCluster", +"properties": { +"resourceLink": { +"description": "Immutable. Self-link of the Google Cloud resource for the Appliance Cluster. For example: //transferappliance.googleapis.com/projects/my-project/locations/us-west1-a/appliances/my-appliance", +"type": "string" +} +}, +"type": "object" +}, +"AuditConfig": { +"description": "Specifies the audit configuration for a service. The configuration determines which permission types are logged, and what identities, if any, are exempted from logging. An AuditConfig must have one or more AuditLogConfigs. If there are AuditConfigs for both `allServices` and a specific service, the union of the two AuditConfigs is used for that service: the log_types specified in each AuditConfig are enabled, and the exempted_members in each AuditLogConfig are exempted. Example Policy with multiple AuditConfigs: { \"audit_configs\": [ { \"service\": \"allServices\", \"audit_log_configs\": [ { \"log_type\": \"DATA_READ\", \"exempted_members\": [ \"user:jose@example.com\" ] }, { \"log_type\": \"DATA_WRITE\" }, { \"log_type\": \"ADMIN_READ\" } ] }, { \"service\": \"sampleservice.googleapis.com\", \"audit_log_configs\": [ { \"log_type\": \"DATA_READ\" }, { \"log_type\": \"DATA_WRITE\", \"exempted_members\": [ \"user:aliya@example.com\" ] } ] } ] } For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also exempts `jose@example.com` from DATA_READ logging, and `aliya@example.com` from DATA_WRITE logging.", +"id": "AuditConfig", +"properties": { +"auditLogConfigs": { +"description": "The configuration for logging of each type of permission.", +"items": { +"$ref": "AuditLogConfig" +}, +"type": "array" +}, +"service": { +"description": "Specifies a service that will be enabled for audit logging. For example, `storage.googleapis.com`, `cloudsql.googleapis.com`. `allServices` is a special value that covers all services.", +"type": "string" +} +}, +"type": "object" +}, +"AuditLogConfig": { +"description": "Provides the configuration for logging a type of permissions. Example: { \"audit_log_configs\": [ { \"log_type\": \"DATA_READ\", \"exempted_members\": [ \"user:jose@example.com\" ] }, { \"log_type\": \"DATA_WRITE\" } ] } This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting jose@example.com from DATA_READ logging.", +"id": "AuditLogConfig", +"properties": { +"exemptedMembers": { +"description": "Specifies the identities that do not cause logging for this type of permission. Follows the same format of Binding.members.", +"items": { +"type": "string" +}, +"type": "array" +}, +"logType": { +"description": "The log type that this config enables.", +"enum": [ +"LOG_TYPE_UNSPECIFIED", +"ADMIN_READ", +"DATA_WRITE", +"DATA_READ" +], +"enumDescriptions": [ +"Default case. Should never be this.", +"Admin reads. Example: CloudIAM getIamPolicy", +"Data writes. Example: CloudSQL Users create", +"Data reads. Example: CloudSQL Users list" +], +"type": "string" +} +}, +"type": "object" +}, +"Authority": { +"description": "Authority encodes how Google will recognize identities from this Membership. See the workload identity documentation for more details: https://cloud.google.com/kubernetes-engine/docs/how-to/workload-identity", +"id": "Authority", +"properties": { +"identityProvider": { +"description": "Output only. An identity provider that reflects the `issuer` in the workload identity pool.", +"readOnly": true, +"type": "string" +}, +"issuer": { +"description": "Optional. A JSON Web Token (JWT) issuer URI. `issuer` must start with `https://` and be a valid URL with length <2000 characters, it must use `location` rather than `zone` for GKE clusters. If set, then Google will allow valid OIDC tokens from this issuer to authenticate within the workload_identity_pool. OIDC discovery will be performed on this URI to validate tokens from the issuer. Clearing `issuer` disables Workload Identity. `issuer` cannot be directly modified; it must be cleared (and Workload Identity disabled) before using a new issuer (and re-enabling Workload Identity).", +"type": "string" +}, +"oidcJwks": { +"description": "Optional. OIDC verification keys for this Membership in JWKS format (RFC 7517). When this field is set, OIDC discovery will NOT be performed on `issuer`, and instead OIDC tokens will be validated using this field.", +"format": "byte", +"type": "string" +}, +"scopeTenancyIdentityProvider": { +"description": "Optional. Output only. The identity provider for the scope-tenancy workload identity pool.", +"readOnly": true, +"type": "string" +}, +"scopeTenancyWorkloadIdentityPool": { +"description": "Optional. Output only. The name of the scope-tenancy workload identity pool. This pool is set in the fleet-level feature.", +"readOnly": true, +"type": "string" +}, +"workloadIdentityPool": { +"description": "Output only. The name of the workload identity pool in which `issuer` will be recognized. There is a single Workload Identity Pool per Hub that is shared between all Memberships that belong to that Hub. For a Hub hosted in {PROJECT_ID}, the workload pool format is `{PROJECT_ID}.hub.id.goog`, although this is subject to change in newer versions of this API.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"BinaryAuthorizationConfig": { +"description": "BinaryAuthorizationConfig defines the fleet level configuration of binary authorization feature.", +"id": "BinaryAuthorizationConfig", +"properties": { +"evaluationMode": { +"description": "Optional. Mode of operation for binauthz policy evaluation.", +"enum": [ +"EVALUATION_MODE_UNSPECIFIED", +"DISABLED", +"POLICY_BINDINGS" +], +"enumDescriptions": [ +"Default value", +"Disable BinaryAuthorization", +"Use Binary Authorization with the policies specified in policy_bindings." +], +"type": "string" +}, +"policyBindings": { +"description": "Optional. Binauthz policies that apply to this cluster.", +"items": { +"$ref": "PolicyBinding" +}, +"type": "array" +} +}, +"type": "object" +}, +"Binding": { +"description": "Associates `members`, or principals, with a `role`.", +"id": "Binding", +"properties": { +"condition": { +"$ref": "Expr", +"description": "The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies)." +}, +"members": { +"description": "Specifies the principals requesting access for a Google Cloud resource. `members` can have the following values: * `allUsers`: A special identifier that represents anyone who is on the internet; with or without a Google account. * `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service account. Does not include identities that come from external identity providers (IdPs) through identity federation. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `group:{emailid}`: An email address that represents a Google group. For example, `admins@example.com`. * `domain:{domain}`: The G Suite domain (primary) that represents all the users of that domain. For example, `google.com` or `example.com`. * `principal://iam.googleapis.com/locations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}`: A single identity in a workforce identity pool. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/group/{group_id}`: All workforce identities in a group. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/attribute.{attribute_name}/{attribute_value}`: All workforce identities with a specific attribute value. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/*`: All identities in a workforce identity pool. * `principal://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/subject/{subject_attribute_value}`: A single identity in a workload identity pool. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/group/{group_id}`: A workload identity pool group. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/attribute.{attribute_name}/{attribute_value}`: All identities in a workload identity pool with a certain attribute. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/*`: All identities in a workload identity pool. * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a user that has been recently deleted. For example, `alice@example.com?uid=123456789012345678901`. If the user is recovered, this value reverts to `user:{emailid}` and the recovered user retains the role in the binding. * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a service account that has been recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the service account is undeleted, this value reverts to `serviceAccount:{emailid}` and the undeleted service account retains the role in the binding. * `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a Google group that has been recently deleted. For example, `admins@example.com?uid=123456789012345678901`. If the group is recovered, this value reverts to `group:{emailid}` and the recovered group retains the role in the binding. * `deleted:principal://iam.googleapis.com/locations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}`: Deleted single identity in a workforce identity pool. For example, `deleted:principal://iam.googleapis.com/locations/global/workforcePools/my-pool-id/subject/my-subject-attribute-value`.", +"items": { +"type": "string" +}, +"type": "array" +}, +"role": { +"description": "Role that is assigned to the list of `members`, or principals. For example, `roles/viewer`, `roles/editor`, or `roles/owner`. For an overview of the IAM roles and permissions, see the [IAM documentation](https://cloud.google.com/iam/docs/roles-overview). For a list of the available pre-defined roles, see [here](https://cloud.google.com/iam/docs/understanding-roles).", +"type": "string" +} +}, +"type": "object" +}, +"CancelOperationRequest": { +"description": "The request message for Operations.CancelOperation.", +"id": "CancelOperationRequest", +"properties": {}, +"type": "object" +}, +"ClusterSelector": { +"description": "Selector for clusters.", +"id": "ClusterSelector", +"properties": { +"labelSelector": { +"description": "Required. A valid CEL (Common Expression Language) expression which evaluates `resource.labels`.", +"type": "string" +} +}, +"type": "object" +}, +"ClusterUpgradeFleetSpec": { +"description": "**ClusterUpgrade**: The configuration for the fleet-level ClusterUpgrade feature.", +"id": "ClusterUpgradeFleetSpec", +"properties": { +"gkeUpgradeOverrides": { +"description": "Allow users to override some properties of each GKE upgrade.", +"items": { +"$ref": "ClusterUpgradeGKEUpgradeOverride" +}, +"type": "array" +}, +"postConditions": { +"$ref": "ClusterUpgradePostConditions", +"description": "Required. Post conditions to evaluate to mark an upgrade COMPLETE. Required." +}, +"upstreamFleets": { +"description": "This fleet consumes upgrades that have COMPLETE status code in the upstream fleets. See UpgradeStatus.Code for code definitions. The fleet name should be either fleet project number or id. This is defined as repeated for future proof reasons. Initial implementation will enforce at most one upstream fleet.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ClusterUpgradeFleetState": { +"description": "**ClusterUpgrade**: The state for the fleet-level ClusterUpgrade feature.", +"id": "ClusterUpgradeFleetState", +"properties": { +"downstreamFleets": { +"description": "This fleets whose upstream_fleets contain the current fleet. The fleet name should be either fleet project number or id.", +"items": { +"type": "string" +}, +"type": "array" +}, +"gkeState": { +"$ref": "ClusterUpgradeGKEUpgradeFeatureState", +"description": "Feature state for GKE clusters." +}, +"ignored": { +"additionalProperties": { +"$ref": "ClusterUpgradeIgnoredMembership" +}, +"description": "A list of memberships ignored by the feature. For example, manually upgraded clusters can be ignored if they are newer than the default versions of its release channel. The membership resource is in the format: `projects/{p}/locations/{l}/membership/{m}`.", +"type": "object" +} +}, +"type": "object" +}, +"ClusterUpgradeGKEUpgrade": { +"description": "GKEUpgrade represents a GKE provided upgrade, e.g., control plane upgrade.", +"id": "ClusterUpgradeGKEUpgrade", +"properties": { +"name": { +"description": "Name of the upgrade, e.g., \"k8s_control_plane\". It should be a valid upgrade name. It must not exceet 99 characters.", +"type": "string" +}, +"version": { +"description": "Version of the upgrade, e.g., \"1.22.1-gke.100\". It should be a valid version. It must not exceet 99 characters.", +"type": "string" +} +}, +"type": "object" +}, +"ClusterUpgradeGKEUpgradeFeatureCondition": { +"description": "GKEUpgradeFeatureCondition describes the condition of the feature for GKE clusters at a certain point of time.", +"id": "ClusterUpgradeGKEUpgradeFeatureCondition", +"properties": { +"reason": { +"description": "Reason why the feature is in this status.", +"type": "string" +}, +"status": { +"description": "Status of the condition, one of True, False, Unknown.", +"type": "string" +}, +"type": { +"description": "Type of the condition, for example, \"ready\".", +"type": "string" +}, +"updateTime": { +"description": "Last timestamp the condition was updated.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"ClusterUpgradeGKEUpgradeFeatureState": { +"description": "GKEUpgradeFeatureState contains feature states for GKE clusters in the scope.", +"id": "ClusterUpgradeGKEUpgradeFeatureState", +"properties": { +"conditions": { +"description": "Current conditions of the feature.", +"items": { +"$ref": "ClusterUpgradeGKEUpgradeFeatureCondition" +}, +"type": "array" +}, +"upgradeState": { +"description": "Upgrade state. It will eventually replace `state`.", +"items": { +"$ref": "ClusterUpgradeGKEUpgradeState" +}, +"type": "array" +} +}, +"type": "object" +}, +"ClusterUpgradeGKEUpgradeOverride": { +"description": "Properties of a GKE upgrade that can be overridden by the user. For example, a user can skip soaking by overriding the soaking to 0.", +"id": "ClusterUpgradeGKEUpgradeOverride", +"properties": { +"postConditions": { +"$ref": "ClusterUpgradePostConditions", +"description": "Required. Post conditions to override for the specified upgrade (name + version). Required." +}, +"upgrade": { +"$ref": "ClusterUpgradeGKEUpgrade", +"description": "Required. Which upgrade to override. Required." +} +}, +"type": "object" +}, +"ClusterUpgradeGKEUpgradeState": { +"description": "GKEUpgradeState is a GKEUpgrade and its state at the scope and fleet level.", +"id": "ClusterUpgradeGKEUpgradeState", +"properties": { +"stats": { +"additionalProperties": { +"format": "int64", +"type": "string" +}, +"description": "Number of GKE clusters in each status code.", +"type": "object" +}, +"status": { +"$ref": "ClusterUpgradeUpgradeStatus", +"description": "Status of the upgrade." +}, +"upgrade": { +"$ref": "ClusterUpgradeGKEUpgrade", +"description": "Which upgrade to track the state." +} +}, +"type": "object" +}, +"ClusterUpgradeIgnoredMembership": { +"description": "IgnoredMembership represents a membership ignored by the feature. A membership can be ignored because it was manually upgraded to a newer version than RC default.", +"id": "ClusterUpgradeIgnoredMembership", +"properties": { +"ignoredTime": { +"description": "Time when the membership was first set to ignored.", +"format": "google-datetime", +"type": "string" +}, +"reason": { +"description": "Reason why the membership is ignored.", +"type": "string" +} +}, +"type": "object" +}, +"ClusterUpgradeMembershipGKEUpgradeState": { +"description": "ScopeGKEUpgradeState is a GKEUpgrade and its state per-membership.", +"id": "ClusterUpgradeMembershipGKEUpgradeState", +"properties": { +"status": { +"$ref": "ClusterUpgradeUpgradeStatus", +"description": "Status of the upgrade." +}, +"upgrade": { +"$ref": "ClusterUpgradeGKEUpgrade", +"description": "Which upgrade to track the state." +} +}, +"type": "object" +}, +"ClusterUpgradeMembershipState": { +"description": "Per-membership state for this feature.", +"id": "ClusterUpgradeMembershipState", +"properties": { +"ignored": { +"$ref": "ClusterUpgradeIgnoredMembership", +"description": "Whether this membership is ignored by the feature. For example, manually upgraded clusters can be ignored if they are newer than the default versions of its release channel." +}, +"upgrades": { +"description": "Actual upgrade state against desired.", +"items": { +"$ref": "ClusterUpgradeMembershipGKEUpgradeState" +}, +"type": "array" +} +}, +"type": "object" +}, +"ClusterUpgradePostConditions": { +"description": "Post conditional checks after an upgrade has been applied on all eligible clusters.", +"id": "ClusterUpgradePostConditions", +"properties": { +"soaking": { +"description": "Required. Amount of time to \"soak\" after a rollout has been finished before marking it COMPLETE. Cannot exceed 30 days. Required.", +"format": "google-duration", +"type": "string" +} +}, +"type": "object" +}, +"ClusterUpgradeUpgradeStatus": { +"description": "UpgradeStatus provides status information for each upgrade.", +"id": "ClusterUpgradeUpgradeStatus", +"properties": { +"code": { +"description": "Status code of the upgrade.", +"enum": [ +"CODE_UNSPECIFIED", +"INELIGIBLE", +"PENDING", +"IN_PROGRESS", +"SOAKING", +"FORCED_SOAKING", +"COMPLETE" +], +"enumDescriptions": [ +"Required by https://linter.aip.dev/126/unspecified.", +"The upgrade is ineligible. At the scope level, this means the upgrade is ineligible for all the clusters in the scope.", +"The upgrade is pending. At the scope level, this means the upgrade is pending for all the clusters in the scope.", +"The upgrade is in progress. At the scope level, this means the upgrade is in progress for at least one cluster in the scope.", +"The upgrade has finished and is soaking until the soaking time is up. At the scope level, this means at least one cluster is in soaking while the rest are either soaking or complete.", +"A cluster will be forced to enter soaking if an upgrade doesn't finish within a certain limit, despite it's actual status.", +"The upgrade has passed all post conditions (soaking). At the scope level, this means all eligible clusters are in COMPLETE status." +], +"type": "string" +}, +"reason": { +"description": "Reason for this status.", +"type": "string" +}, +"updateTime": { +"description": "Last timestamp the status was updated.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"CommonFeatureSpec": { +"description": "CommonFeatureSpec contains Fleet-wide configuration information", +"id": "CommonFeatureSpec", +"properties": { +"appdevexperience": { +"$ref": "AppDevExperienceFeatureSpec", +"description": "Appdevexperience specific spec." +}, +"clusterupgrade": { +"$ref": "ClusterUpgradeFleetSpec", +"description": "ClusterUpgrade (fleet-based) feature spec." +}, +"dataplanev2": { +"$ref": "DataplaneV2FeatureSpec", +"description": "DataplaneV2 feature spec." +}, +"fleetobservability": { +"$ref": "FleetObservabilityFeatureSpec", +"description": "FleetObservability feature spec." +}, +"multiclusteringress": { +"$ref": "MultiClusterIngressFeatureSpec", +"description": "Multicluster Ingress-specific spec." +}, +"rbacrolebindingactuation": { +"$ref": "RBACRoleBindingActuationFeatureSpec", +"description": "RBAC Role Binding Actuation feature spec" +}, +"workloadidentity": { +"$ref": "WorkloadIdentityFeatureSpec", +"description": "Workload Identity feature spec." +} +}, +"type": "object" +}, +"CommonFeatureState": { +"description": "CommonFeatureState contains Fleet-wide Feature status information.", +"id": "CommonFeatureState", +"properties": { +"appdevexperience": { +"$ref": "AppDevExperienceFeatureState", +"description": "Appdevexperience specific state." +}, +"clusterupgrade": { +"$ref": "ClusterUpgradeFleetState", +"description": "ClusterUpgrade fleet-level state." +}, +"fleetobservability": { +"$ref": "FleetObservabilityFeatureState", +"description": "FleetObservability feature state." +}, +"rbacrolebindingactuation": { +"$ref": "RBACRoleBindingActuationFeatureState", +"description": "RBAC Role Binding Actuation feature state" +}, +"state": { +"$ref": "FeatureState", +"description": "Output only. The \"running state\" of the Feature in this Fleet.", +"readOnly": true +}, +"workloadidentity": { +"$ref": "WorkloadIdentityFeatureState", +"description": "WorkloadIdentity fleet-level state." +} +}, +"type": "object" +}, +"CommonFleetDefaultMemberConfigSpec": { +"description": "CommonFleetDefaultMemberConfigSpec contains default configuration information for memberships of a fleet", +"id": "CommonFleetDefaultMemberConfigSpec", +"properties": { +"configmanagement": { +"$ref": "ConfigManagementMembershipSpec", +"description": "Config Management-specific spec." +}, +"identityservice": { +"$ref": "IdentityServiceMembershipSpec", +"description": "Identity Service-specific spec." +}, +"mesh": { +"$ref": "ServiceMeshMembershipSpec", +"description": "Anthos Service Mesh-specific spec" +}, +"policycontroller": { +"$ref": "PolicyControllerMembershipSpec", +"description": "Policy Controller spec." +} +}, +"type": "object" +}, +"CompliancePostureConfig": { +"deprecated": true, +"description": "Deprecated: Compliance Posture is no longer supported. For more details, see https://cloud.google.com/kubernetes-engine/docs/deprecations/posture-management-deprecation. CompliancePostureConfig defines the settings needed to enable/disable features for the Compliance Posture.", +"id": "CompliancePostureConfig", +"properties": { +"complianceStandards": { +"description": "List of enabled compliance standards.", +"items": { +"$ref": "ComplianceStandard" +}, +"type": "array" +}, +"mode": { +"description": "Defines the enablement mode for Compliance Posture.", +"enum": [ +"MODE_UNSPECIFIED", +"DISABLED", +"ENABLED" +], +"enumDescriptions": [ +"Default value not specified.", +"Disables Compliance Posture features on the cluster.", +"Enables Compliance Posture features on the cluster." +], +"type": "string" +} +}, +"type": "object" +}, +"ComplianceStandard": { +"id": "ComplianceStandard", +"properties": { +"standard": { +"description": "Name of the compliance standard.", +"type": "string" +} +}, +"type": "object" +}, +"ConfigManagementBinauthzConfig": { +"description": "Configuration for Binauthz", +"id": "ConfigManagementBinauthzConfig", +"properties": { +"enabled": { +"description": "Whether binauthz is enabled in this cluster.", +"type": "boolean" +} +}, +"type": "object" +}, +"ConfigManagementBinauthzState": { +"description": "State for Binauthz", +"id": "ConfigManagementBinauthzState", +"properties": { +"version": { +"$ref": "ConfigManagementBinauthzVersion", +"description": "The version of binauthz that is installed." +}, +"webhook": { +"description": "The state of the binauthz webhook.", +"enum": [ +"DEPLOYMENT_STATE_UNSPECIFIED", +"NOT_INSTALLED", +"INSTALLED", +"ERROR", +"PENDING" +], +"enumDescriptions": [ +"Deployment's state cannot be determined", +"Deployment is not installed", +"Deployment is installed", +"Deployment was attempted to be installed, but has errors", +"Deployment is installing or terminating" +], +"type": "string" +} +}, +"type": "object" +}, +"ConfigManagementBinauthzVersion": { +"description": "The version of binauthz.", +"id": "ConfigManagementBinauthzVersion", +"properties": { +"webhookVersion": { +"description": "The version of the binauthz webhook.", +"type": "string" +} +}, +"type": "object" +}, +"ConfigManagementConfigSync": { +"description": "Configuration for Config Sync", +"id": "ConfigManagementConfigSync", +"properties": { +"deploymentOverrides": { +"description": "Optional. Configuration for deployment overrides. Applies only to Config Sync deployments with containers that are not a root or namespace reconciler: `reconciler-manager`, `otel-collector`, `resource-group-controller-manager`, `admission-webhook`. To override a root or namespace reconciler, use the rootsync or reposync fields at https://docs.cloud.google.com/kubernetes-engine/config-sync/docs/reference/rootsync-reposync-fields#override-resources instead.", +"items": { +"$ref": "ConfigManagementDeploymentOverride" +}, +"type": "array" +}, +"enabled": { +"description": "Optional. Enables the installation of Config Sync. If set to true, the Feature will manage Config Sync resources, and apply the other ConfigSync fields if they exist. If set to false, the Feature will ignore all other ConfigSync fields and delete the Config Sync resources. If omitted, ConfigSync is considered enabled if the git or oci field is present.", +"type": "boolean" +}, +"git": { +"$ref": "ConfigManagementGitConfig", +"description": "Optional. Git repo configuration for the cluster." +}, +"metricsGcpServiceAccountEmail": { +"deprecated": true, +"description": "Optional. The Email of the Google Cloud Service Account (GSA) used for exporting Config Sync metrics to Cloud Monitoring and Cloud Monarch when Workload Identity is enabled. The GSA should have the Monitoring Metric Writer (roles/monitoring.metricWriter) IAM role. The Kubernetes ServiceAccount `default` in the namespace `config-management-monitoring` should be bound to the GSA. Deprecated: If Workload Identity Federation for GKE is enabled, Google Cloud Service Account is no longer needed for exporting Config Sync metrics: https://cloud.google.com/kubernetes-engine/enterprise/config-sync/docs/how-to/monitor-config-sync-cloud-monitoring#custom-monitoring.", +"type": "string" +}, +"oci": { +"$ref": "ConfigManagementOciConfig", +"description": "Optional. OCI repo configuration for the cluster" +}, +"preventDrift": { +"description": "Optional. Set to true to enable the Config Sync admission webhook to prevent drifts. If set to false, disables the Config Sync admission webhook and does not prevent drifts. Defaults to false. See https://docs.cloud.google.com/kubernetes-engine/config-sync/docs/how-to/prevent-config-drift for details.", +"type": "boolean" +}, +"sourceFormat": { +"description": "Optional. Specifies whether the Config Sync repo is in `hierarchical` or `unstructured` mode. Defaults to `hierarchical`. See https://docs.cloud.google.com/kubernetes-engine/config-sync/docs/concepts/configs#organize-configs for an explanation.", +"type": "string" +}, +"stopSyncing": { +"description": "Optional. Set to true to stop syncing configs for a single cluster. Default to false.", +"type": "boolean" +} +}, +"type": "object" +}, +"ConfigManagementConfigSyncDeploymentState": { +"description": "The state of ConfigSync's deployment on a cluster", +"id": "ConfigManagementConfigSyncDeploymentState", +"properties": { +"admissionWebhook": { +"description": "Deployment state of admission-webhook", +"enum": [ +"DEPLOYMENT_STATE_UNSPECIFIED", +"NOT_INSTALLED", +"INSTALLED", +"ERROR", +"PENDING" +], +"enumDescriptions": [ +"Deployment's state cannot be determined", +"Deployment is not installed", +"Deployment is installed", +"Deployment was attempted to be installed, but has errors", +"Deployment is installing or terminating" +], +"type": "string" +}, +"gitSync": { +"description": "Deployment state of the git-sync pod", +"enum": [ +"DEPLOYMENT_STATE_UNSPECIFIED", +"NOT_INSTALLED", +"INSTALLED", +"ERROR", +"PENDING" +], +"enumDescriptions": [ +"Deployment's state cannot be determined", +"Deployment is not installed", +"Deployment is installed", +"Deployment was attempted to be installed, but has errors", +"Deployment is installing or terminating" +], +"type": "string" +}, +"importer": { +"description": "Deployment state of the importer pod", +"enum": [ +"DEPLOYMENT_STATE_UNSPECIFIED", +"NOT_INSTALLED", +"INSTALLED", +"ERROR", +"PENDING" +], +"enumDescriptions": [ +"Deployment's state cannot be determined", +"Deployment is not installed", +"Deployment is installed", +"Deployment was attempted to be installed, but has errors", +"Deployment is installing or terminating" +], +"type": "string" +}, +"monitor": { +"description": "Deployment state of the monitor pod", +"enum": [ +"DEPLOYMENT_STATE_UNSPECIFIED", +"NOT_INSTALLED", +"INSTALLED", +"ERROR", +"PENDING" +], +"enumDescriptions": [ +"Deployment's state cannot be determined", +"Deployment is not installed", +"Deployment is installed", +"Deployment was attempted to be installed, but has errors", +"Deployment is installing or terminating" +], +"type": "string" +}, +"otelCollector": { +"description": "Deployment state of otel-collector", +"enum": [ +"DEPLOYMENT_STATE_UNSPECIFIED", +"NOT_INSTALLED", +"INSTALLED", +"ERROR", +"PENDING" +], +"enumDescriptions": [ +"Deployment's state cannot be determined", +"Deployment is not installed", +"Deployment is installed", +"Deployment was attempted to be installed, but has errors", +"Deployment is installing or terminating" +], +"type": "string" +}, +"reconcilerManager": { +"description": "Deployment state of reconciler-manager pod", +"enum": [ +"DEPLOYMENT_STATE_UNSPECIFIED", +"NOT_INSTALLED", +"INSTALLED", +"ERROR", +"PENDING" +], +"enumDescriptions": [ +"Deployment's state cannot be determined", +"Deployment is not installed", +"Deployment is installed", +"Deployment was attempted to be installed, but has errors", +"Deployment is installing or terminating" +], +"type": "string" +}, +"resourceGroupControllerManager": { +"description": "Deployment state of resource-group-controller-manager", +"enum": [ +"DEPLOYMENT_STATE_UNSPECIFIED", +"NOT_INSTALLED", +"INSTALLED", +"ERROR", +"PENDING" +], +"enumDescriptions": [ +"Deployment's state cannot be determined", +"Deployment is not installed", +"Deployment is installed", +"Deployment was attempted to be installed, but has errors", +"Deployment is installing or terminating" +], +"type": "string" +}, +"rootReconciler": { +"description": "Deployment state of root-reconciler", +"enum": [ +"DEPLOYMENT_STATE_UNSPECIFIED", +"NOT_INSTALLED", +"INSTALLED", +"ERROR", +"PENDING" +], +"enumDescriptions": [ +"Deployment's state cannot be determined", +"Deployment is not installed", +"Deployment is installed", +"Deployment was attempted to be installed, but has errors", +"Deployment is installing or terminating" +], +"type": "string" +}, +"syncer": { +"description": "Deployment state of the syncer pod", +"enum": [ +"DEPLOYMENT_STATE_UNSPECIFIED", +"NOT_INSTALLED", +"INSTALLED", +"ERROR", +"PENDING" +], +"enumDescriptions": [ +"Deployment's state cannot be determined", +"Deployment is not installed", +"Deployment is installed", +"Deployment was attempted to be installed, but has errors", +"Deployment is installing or terminating" +], +"type": "string" +} +}, +"type": "object" +}, +"ConfigManagementConfigSyncError": { +"description": "Errors pertaining to the installation of Config Sync", +"id": "ConfigManagementConfigSyncError", +"properties": { +"errorMessage": { +"description": "A string representing the user facing error message", +"type": "string" +} +}, +"type": "object" +}, +"ConfigManagementConfigSyncState": { +"description": "State information for ConfigSync", +"id": "ConfigManagementConfigSyncState", +"properties": { +"clusterLevelStopSyncingState": { +"description": "Output only. Whether syncing resources to the cluster is stopped at the cluster level.", +"enum": [ +"STOP_SYNCING_STATE_UNSPECIFIED", +"NOT_STOPPED", +"PENDING", +"STOPPED" +], +"enumDescriptions": [ +"State cannot be determined", +"Syncing resources to the cluster is not stopped at the cluster level.", +"Some reconcilers stop syncing resources to the cluster, while others are still syncing.", +"Syncing resources to the cluster is stopped at the cluster level." +], +"readOnly": true, +"type": "string" +}, +"crCount": { +"description": "Output only. The number of RootSync and RepoSync CRs in the cluster.", +"format": "int32", +"readOnly": true, +"type": "integer" +}, +"deploymentState": { +"$ref": "ConfigManagementConfigSyncDeploymentState", +"description": "Output only. Information about the deployment of ConfigSync, including the version of the various Pods deployed", +"readOnly": true +}, +"errors": { +"description": "Output only. Errors pertaining to the installation of Config Sync.", +"items": { +"$ref": "ConfigManagementConfigSyncError" +}, +"readOnly": true, +"type": "array" +}, +"reposyncCrd": { +"description": "Output only. The state of the Reposync CRD", +"enum": [ +"CRD_STATE_UNSPECIFIED", +"NOT_INSTALLED", +"INSTALLED", +"TERMINATING", +"INSTALLING" +], +"enumDescriptions": [ +"CRD's state cannot be determined", +"CRD is not installed", +"CRD is installed", +"CRD is terminating (i.e., it has been deleted and is cleaning up)", +"CRD is installing" +], +"readOnly": true, +"type": "string" +}, +"rootsyncCrd": { +"description": "Output only. The state of the RootSync CRD", +"enum": [ +"CRD_STATE_UNSPECIFIED", +"NOT_INSTALLED", +"INSTALLED", +"TERMINATING", +"INSTALLING" +], +"enumDescriptions": [ +"CRD's state cannot be determined", +"CRD is not installed", +"CRD is installed", +"CRD is terminating (i.e., it has been deleted and is cleaning up)", +"CRD is installing" +], +"readOnly": true, +"type": "string" +}, +"state": { +"description": "Output only. The state of CS This field summarizes the other fields in this message.", +"enum": [ +"STATE_UNSPECIFIED", +"CONFIG_SYNC_NOT_INSTALLED", +"CONFIG_SYNC_INSTALLED", +"CONFIG_SYNC_ERROR", +"CONFIG_SYNC_PENDING" +], +"enumDescriptions": [ +"CS's state cannot be determined.", +"CS is not installed.", +"The expected CS version is installed successfully.", +"CS encounters errors.", +"CS is installing or terminating." +], +"readOnly": true, +"type": "string" +}, +"syncState": { +"$ref": "ConfigManagementSyncState", +"description": "Output only. The state of ConfigSync's process to sync configs to a cluster", +"readOnly": true +}, +"version": { +"$ref": "ConfigManagementConfigSyncVersion", +"description": "Output only. The version of ConfigSync deployed", +"readOnly": true +} +}, +"type": "object" +}, +"ConfigManagementConfigSyncVersion": { +"description": "Specific versioning information pertaining to ConfigSync's Pods", +"id": "ConfigManagementConfigSyncVersion", +"properties": { +"admissionWebhook": { +"description": "Version of the deployed admission-webhook pod", +"type": "string" +}, +"gitSync": { +"description": "Version of the deployed git-sync pod", +"type": "string" +}, +"importer": { +"description": "Version of the deployed importer pod", +"type": "string" +}, +"monitor": { +"description": "Version of the deployed monitor pod", +"type": "string" +}, +"otelCollector": { +"description": "Version of the deployed otel-collector pod", +"type": "string" +}, +"reconcilerManager": { +"description": "Version of the deployed reconciler-manager pod", +"type": "string" +}, +"resourceGroupControllerManager": { +"description": "Version of the deployed resource-group-controller-manager pod", +"type": "string" +}, +"rootReconciler": { +"description": "Version of the deployed reconciler container in root-reconciler pod", +"type": "string" +}, +"syncer": { +"description": "Version of the deployed syncer pod", +"type": "string" +} +}, +"type": "object" +}, +"ConfigManagementContainerOverride": { +"description": "Configuration for a container override.", +"id": "ConfigManagementContainerOverride", +"properties": { +"containerName": { +"description": "Required. The name of the container.", +"type": "string" +}, +"cpuLimit": { +"description": "Optional. The cpu limit of the container. Use the following CPU resource units: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/#meaning-of-cpu.", +"type": "string" +}, +"cpuRequest": { +"description": "Optional. The cpu request of the container. Use the following CPU resource units: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/#meaning-of-cpu.", +"type": "string" +}, +"memoryLimit": { +"description": "Optional. The memory limit of the container. Use the following memory resource units: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/#meaning-of-memory.", +"type": "string" +}, +"memoryRequest": { +"description": "Optional. The memory request of the container. Use the following memory resource units: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/#meaning-of-memory.", +"type": "string" +} +}, +"type": "object" +}, +"ConfigManagementDeploymentOverride": { +"description": "Configuration for a deployment override.", +"id": "ConfigManagementDeploymentOverride", +"properties": { +"containers": { +"description": "Optional. The containers of the deployment resource to be overridden.", +"items": { +"$ref": "ConfigManagementContainerOverride" +}, +"type": "array" +}, +"deploymentName": { +"description": "Required. The name of the deployment resource to be overridden.", +"type": "string" +}, +"deploymentNamespace": { +"description": "Required. The namespace of the deployment resource to be overridden.", +"type": "string" +} +}, +"type": "object" +}, +"ConfigManagementErrorResource": { +"description": "Model for a config file in the git repo with an associated Sync error", +"id": "ConfigManagementErrorResource", +"properties": { +"resourceGvk": { +"$ref": "ConfigManagementGroupVersionKind", +"description": "Group/version/kind of the resource that is causing an error" +}, +"resourceName": { +"description": "Metadata name of the resource that is causing an error", +"type": "string" +}, +"resourceNamespace": { +"description": "Namespace of the resource that is causing an error", +"type": "string" +}, +"sourcePath": { +"description": "Path in the git repo of the erroneous config", +"type": "string" +} +}, +"type": "object" +}, +"ConfigManagementGatekeeperDeploymentState": { +"description": "State of Policy Controller installation.", +"id": "ConfigManagementGatekeeperDeploymentState", +"properties": { +"gatekeeperAudit": { +"description": "Status of gatekeeper-audit deployment.", +"enum": [ +"DEPLOYMENT_STATE_UNSPECIFIED", +"NOT_INSTALLED", +"INSTALLED", +"ERROR", +"PENDING" +], +"enumDescriptions": [ +"Deployment's state cannot be determined", +"Deployment is not installed", +"Deployment is installed", +"Deployment was attempted to be installed, but has errors", +"Deployment is installing or terminating" +], +"type": "string" +}, +"gatekeeperControllerManagerState": { +"description": "Status of gatekeeper-controller-manager pod.", +"enum": [ +"DEPLOYMENT_STATE_UNSPECIFIED", +"NOT_INSTALLED", +"INSTALLED", +"ERROR", +"PENDING" +], +"enumDescriptions": [ +"Deployment's state cannot be determined", +"Deployment is not installed", +"Deployment is installed", +"Deployment was attempted to be installed, but has errors", +"Deployment is installing or terminating" +], +"type": "string" +}, +"gatekeeperMutation": { +"description": "Status of the pod serving the mutation webhook.", +"enum": [ +"DEPLOYMENT_STATE_UNSPECIFIED", +"NOT_INSTALLED", +"INSTALLED", +"ERROR", +"PENDING" +], +"enumDescriptions": [ +"Deployment's state cannot be determined", +"Deployment is not installed", +"Deployment is installed", +"Deployment was attempted to be installed, but has errors", +"Deployment is installing or terminating" +], +"type": "string" +} +}, +"type": "object" +}, +"ConfigManagementGitConfig": { +"description": "Git repo configuration for a single cluster.", +"id": "ConfigManagementGitConfig", +"properties": { +"gcpServiceAccountEmail": { +"description": "Optional. The Google Cloud Service Account Email used for auth when secret_type is `gcpserviceaccount`.", +"type": "string" +}, +"httpsProxy": { +"description": "Optional. URL for the HTTPS proxy to be used when communicating with the Git repo. Only specify when secret_type is `cookiefile`, `token`, or `none`.", +"type": "string" +}, +"policyDir": { +"description": "Optional. The path within the Git repository that represents the top level of the repo to sync. Default: the root directory of the repository.", +"type": "string" +}, +"secretType": { +"description": "Required. Type of secret configured for access to the Git repo. Must be one of `ssh`, `cookiefile`, `gcenode`, `token`, `gcpserviceaccount`, `githubapp` or `none`. The validation of this is case-sensitive.", +"type": "string" +}, +"syncBranch": { +"description": "Optional. The branch of the repository to sync from. Default: master.", +"type": "string" +}, +"syncRepo": { +"description": "Required. The URL of the Git repository to use as the source of truth.", +"type": "string" +}, +"syncRev": { +"description": "Optional. Git revision (tag or hash) to check out. Default HEAD.", +"type": "string" +}, +"syncWaitSecs": { +"description": "Optional. Period in seconds between consecutive syncs. Default: 15.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"ConfigManagementGroupVersionKind": { +"description": "A Kubernetes object's GVK", +"id": "ConfigManagementGroupVersionKind", +"properties": { +"group": { +"description": "Kubernetes Group", +"type": "string" +}, +"kind": { +"description": "Kubernetes Kind", +"type": "string" +}, +"version": { +"description": "Kubernetes Version", +"type": "string" +} +}, +"type": "object" +}, +"ConfigManagementHierarchyControllerConfig": { +"description": "Configuration for Hierarchy Controller", +"id": "ConfigManagementHierarchyControllerConfig", +"properties": { +"enableHierarchicalResourceQuota": { +"description": "Whether hierarchical resource quota is enabled in this cluster.", +"type": "boolean" +}, +"enablePodTreeLabels": { +"description": "Whether pod tree labels are enabled in this cluster.", +"type": "boolean" +}, +"enabled": { +"description": "Whether Hierarchy Controller is enabled in this cluster.", +"type": "boolean" +} +}, +"type": "object" +}, +"ConfigManagementHierarchyControllerDeploymentState": { +"description": "Deployment state for Hierarchy Controller", +"id": "ConfigManagementHierarchyControllerDeploymentState", +"properties": { +"extension": { +"description": "The deployment state for Hierarchy Controller extension (e.g. v0.7.0-hc.1)", +"enum": [ +"DEPLOYMENT_STATE_UNSPECIFIED", +"NOT_INSTALLED", +"INSTALLED", +"ERROR", +"PENDING" +], +"enumDescriptions": [ +"Deployment's state cannot be determined", +"Deployment is not installed", +"Deployment is installed", +"Deployment was attempted to be installed, but has errors", +"Deployment is installing or terminating" +], +"type": "string" +}, +"hnc": { +"description": "The deployment state for open source HNC (e.g. v0.7.0-hc.0)", +"enum": [ +"DEPLOYMENT_STATE_UNSPECIFIED", +"NOT_INSTALLED", +"INSTALLED", +"ERROR", +"PENDING" +], +"enumDescriptions": [ +"Deployment's state cannot be determined", +"Deployment is not installed", +"Deployment is installed", +"Deployment was attempted to be installed, but has errors", +"Deployment is installing or terminating" +], +"type": "string" +} +}, +"type": "object" +}, +"ConfigManagementHierarchyControllerState": { +"description": "State for Hierarchy Controller", +"id": "ConfigManagementHierarchyControllerState", +"properties": { +"state": { +"$ref": "ConfigManagementHierarchyControllerDeploymentState", +"description": "The deployment state for Hierarchy Controller" +}, +"version": { +"$ref": "ConfigManagementHierarchyControllerVersion", +"description": "The version for Hierarchy Controller" +} +}, +"type": "object" +}, +"ConfigManagementHierarchyControllerVersion": { +"description": "Version for Hierarchy Controller", +"id": "ConfigManagementHierarchyControllerVersion", +"properties": { +"extension": { +"description": "Version for Hierarchy Controller extension", +"type": "string" +}, +"hnc": { +"description": "Version for open source HNC", +"type": "string" +} +}, +"type": "object" +}, +"ConfigManagementInstallError": { +"description": "Errors pertaining to the installation of ACM", +"id": "ConfigManagementInstallError", +"properties": { +"errorMessage": { +"description": "A string representing the user facing error message", +"type": "string" +} +}, +"type": "object" +}, +"ConfigManagementMembershipSpec": { +"description": "**Anthos Config Management**: Configuration for a single cluster. Intended to parallel the ConfigManagement CR.", +"id": "ConfigManagementMembershipSpec", +"properties": { +"binauthz": { +"$ref": "ConfigManagementBinauthzConfig", +"deprecated": true, +"description": "Optional. Deprecated: Binauthz configuration will be ignored and should not be set." +}, +"cluster": { +"description": "Optional. User-specified cluster name used by the Config Sync cluster-name-selector annotation or ClusterSelector object, for applying configs to only a subset of clusters. Read more about the cluster-name-selector annotation and ClusterSelector object at https://docs.cloud.google.com/kubernetes-engine/config-sync/docs/how-to/cluster-scoped-objects#limiting-configs. Only set this field if a name different from the cluster's fleet membership name is used by the Config Sync cluster-name-selector annotation or ClusterSelector.", +"type": "string" +}, +"configSync": { +"$ref": "ConfigManagementConfigSync", +"description": "Optional. Config Sync configuration for the cluster." +}, +"hierarchyController": { +"$ref": "ConfigManagementHierarchyControllerConfig", +"deprecated": true, +"description": "Optional. Hierarchy Controller configuration for the cluster. Deprecated: Configuring Hierarchy Controller through the configmanagement feature is no longer recommended. Use https://github.com/kubernetes-sigs/hierarchical-namespaces instead." +}, +"management": { +"deprecated": true, +"description": "Optional. Deprecated: From version 1.21.0, automatic Feature management is unavailable, and Config Sync only supports manual upgrades.", +"enum": [ +"MANAGEMENT_UNSPECIFIED", +"MANAGEMENT_AUTOMATIC", +"MANAGEMENT_MANUAL" +], +"enumDescriptions": [ +"Unspecified", +"Google will manage the Feature for the cluster.", +"User will manually manage the Feature for the cluster." +], +"type": "string" +}, +"policyController": { +"$ref": "ConfigManagementPolicyController", +"deprecated": true, +"description": "Optional. Policy Controller configuration for the cluster. Deprecated: Configuring Policy Controller through the configmanagement feature is no longer recommended. Use the policycontroller feature instead." +}, +"version": { +"description": "Optional. Version of Config Sync to install. Defaults to the latest supported Config Sync version if the config_sync field is enabled. See supported versions at https://cloud.google.com/kubernetes-engine/config-sync/docs/get-support-config-sync#version_support_policy.", +"type": "string" +} +}, +"type": "object" +}, +"ConfigManagementMembershipState": { +"description": "**Anthos Config Management**: State for a single cluster.", +"id": "ConfigManagementMembershipState", +"properties": { +"binauthzState": { +"$ref": "ConfigManagementBinauthzState", +"description": "Output only. Binauthz status", +"readOnly": true +}, +"clusterName": { +"description": "Output only. This field is set to the `cluster_name` field of the Membership Spec if it is not empty. Otherwise, it is set to the cluster's fleet membership name.", +"readOnly": true, +"type": "string" +}, +"configSyncState": { +"$ref": "ConfigManagementConfigSyncState", +"description": "Output only. Current sync status", +"readOnly": true +}, +"hierarchyControllerState": { +"$ref": "ConfigManagementHierarchyControllerState", +"description": "Output only. Hierarchy Controller status", +"readOnly": true +}, +"kubernetesApiServerVersion": { +"description": "Output only. The Kubernetes API server version of the cluster.", +"readOnly": true, +"type": "string" +}, +"membershipSpec": { +"$ref": "ConfigManagementMembershipSpec", +"description": "Output only. Membership configuration in the cluster. This represents the actual state in the cluster, while the MembershipSpec in the FeatureSpec represents the intended state", +"readOnly": true +}, +"operatorState": { +"$ref": "ConfigManagementOperatorState", +"description": "Output only. Current install status of ACM's Operator", +"readOnly": true +}, +"policyControllerState": { +"$ref": "ConfigManagementPolicyControllerState", +"description": "Output only. PolicyController status", +"readOnly": true +} +}, +"type": "object" +}, +"ConfigManagementOciConfig": { +"description": "OCI repo configuration for a single cluster", +"id": "ConfigManagementOciConfig", +"properties": { +"gcpServiceAccountEmail": { +"description": "Optional. The Google Cloud Service Account Email used for auth when secret_type is `gcpserviceaccount`.", +"type": "string" +}, +"policyDir": { +"description": "Optional. The absolute path of the directory that contains the local resources. Default: the root directory of the image.", +"type": "string" +}, +"secretType": { +"description": "Required. Type of secret configured for access to the OCI repo. Must be one of `gcenode`, `gcpserviceaccount`, `k8sserviceaccount` or `none`. The validation of this is case-sensitive.", +"type": "string" +}, +"syncRepo": { +"description": "Required. The OCI image repository URL for the package to sync from. e.g. `LOCATION-docker.pkg.dev/PROJECT_ID/REPOSITORY_NAME/PACKAGE_NAME`.", +"type": "string" +}, +"syncWaitSecs": { +"description": "Optional. Period in seconds between consecutive syncs. Default: 15.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"ConfigManagementOperatorState": { +"description": "State information for an ACM's Operator", +"id": "ConfigManagementOperatorState", +"properties": { +"deploymentState": { +"description": "The state of the Operator's deployment", +"enum": [ +"DEPLOYMENT_STATE_UNSPECIFIED", +"NOT_INSTALLED", +"INSTALLED", +"ERROR", +"PENDING" +], +"enumDescriptions": [ +"Deployment's state cannot be determined", +"Deployment is not installed", +"Deployment is installed", +"Deployment was attempted to be installed, but has errors", +"Deployment is installing or terminating" +], +"type": "string" +}, +"errors": { +"description": "Install errors.", +"items": { +"$ref": "ConfigManagementInstallError" +}, +"type": "array" +}, +"version": { +"description": "The semenatic version number of the operator", +"type": "string" +} +}, +"type": "object" +}, +"ConfigManagementPolicyController": { +"description": "Configuration for Policy Controller", +"id": "ConfigManagementPolicyController", +"properties": { +"auditIntervalSeconds": { +"description": "Sets the interval for Policy Controller Audit Scans (in seconds). When set to 0, this disables audit functionality altogether.", +"format": "int64", +"type": "string" +}, +"enabled": { +"description": "Enables the installation of Policy Controller. If false, the rest of PolicyController fields take no effect.", +"type": "boolean" +}, +"exemptableNamespaces": { +"description": "The set of namespaces that are excluded from Policy Controller checks. Namespaces do not need to currently exist on the cluster.", +"items": { +"type": "string" +}, +"type": "array" +}, +"logDeniesEnabled": { +"description": "Logs all denies and dry run failures.", +"type": "boolean" +}, +"monitoring": { +"$ref": "ConfigManagementPolicyControllerMonitoring", +"description": "Monitoring specifies the configuration of monitoring." +}, +"mutationEnabled": { +"description": "Enable or disable mutation in policy controller. If true, mutation CRDs, webhook and controller deployment will be deployed to the cluster.", +"type": "boolean" +}, +"referentialRulesEnabled": { +"description": "Enables the ability to use Constraint Templates that reference to objects other than the object currently being evaluated.", +"type": "boolean" +}, +"templateLibraryInstalled": { +"description": "Installs the default template library along with Policy Controller.", +"type": "boolean" +}, +"updateTime": { +"description": "Output only. Last time this membership spec was updated.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"ConfigManagementPolicyControllerMigration": { +"description": "State for the migration of PolicyController from ACM -> PoCo Hub.", +"id": "ConfigManagementPolicyControllerMigration", +"properties": { +"copyTime": { +"description": "Last time this membership spec was copied to PoCo feature.", +"format": "google-datetime", +"type": "string" +}, +"stage": { +"description": "Stage of the migration.", +"enum": [ +"STAGE_UNSPECIFIED", +"ACM_MANAGED", +"POCO_MANAGED" +], +"enumDescriptions": [ +"Unknown state of migration.", +"ACM Hub/Operator manages policycontroller. No migration yet completed.", +"All migrations steps complete; Poco Hub now manages policycontroller." +], +"type": "string" +} +}, +"type": "object" +}, +"ConfigManagementPolicyControllerMonitoring": { +"description": "PolicyControllerMonitoring specifies the backends Policy Controller should export metrics to. For example, to specify metrics should be exported to Cloud Monitoring and Prometheus, specify backends: [\"cloudmonitoring\", \"prometheus\"]", +"id": "ConfigManagementPolicyControllerMonitoring", +"properties": { +"backends": { +"description": "Specifies the list of backends Policy Controller will export to. An empty list would effectively disable metrics export.", +"items": { +"enum": [ +"MONITORING_BACKEND_UNSPECIFIED", +"PROMETHEUS", +"CLOUD_MONITORING" +], +"enumDescriptions": [ +"Backend cannot be determined", +"Prometheus backend for monitoring", +"Stackdriver/Cloud Monitoring backend for monitoring" +], +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ConfigManagementPolicyControllerState": { +"description": "State for PolicyControllerState.", +"id": "ConfigManagementPolicyControllerState", +"properties": { +"deploymentState": { +"$ref": "ConfigManagementGatekeeperDeploymentState", +"description": "The state about the policy controller installation." +}, +"migration": { +"$ref": "ConfigManagementPolicyControllerMigration", +"description": "Record state of ACM -> PoCo Hub migration for this feature." +}, +"version": { +"$ref": "ConfigManagementPolicyControllerVersion", +"description": "The version of Gatekeeper Policy Controller deployed." +} +}, +"type": "object" +}, +"ConfigManagementPolicyControllerVersion": { +"description": "The build version of Gatekeeper Policy Controller is using.", +"id": "ConfigManagementPolicyControllerVersion", +"properties": { +"version": { +"description": "The gatekeeper image tag that is composed of ACM version, git tag, build number.", +"type": "string" +} +}, +"type": "object" +}, +"ConfigManagementSyncError": { +"description": "An ACM created error representing a problem syncing configurations", +"id": "ConfigManagementSyncError", +"properties": { +"code": { +"description": "An ACM defined error code", +"type": "string" +}, +"errorMessage": { +"description": "A description of the error", +"type": "string" +}, +"errorResources": { +"description": "A list of config(s) associated with the error, if any", +"items": { +"$ref": "ConfigManagementErrorResource" +}, +"type": "array" +} +}, +"type": "object" +}, +"ConfigManagementSyncState": { +"description": "State indicating an ACM's progress syncing configurations to a cluster", +"id": "ConfigManagementSyncState", +"properties": { +"code": { +"description": "Sync status code", +"enum": [ +"SYNC_CODE_UNSPECIFIED", +"SYNCED", +"PENDING", +"ERROR", +"NOT_CONFIGURED", +"NOT_INSTALLED", +"UNAUTHORIZED", +"UNREACHABLE" +], +"enumDescriptions": [ +"Config Sync cannot determine a sync code", +"Config Sync successfully synced the git Repo with the cluster", +"Config Sync is in the progress of syncing a new change", +"Indicates an error configuring Config Sync, and user action is required", +"Config Sync has been installed but not configured", +"Config Sync has not been installed", +"Error authorizing with the cluster", +"Cluster could not be reached" +], +"type": "string" +}, +"errors": { +"description": "A list of errors resulting from problematic configs. This list will be truncated after 100 errors, although it is unlikely for that many errors to simultaneously exist.", +"items": { +"$ref": "ConfigManagementSyncError" +}, +"type": "array" +}, +"importToken": { +"description": "Token indicating the state of the importer.", +"type": "string" +}, +"lastSync": { +"deprecated": true, +"description": "Deprecated: use last_sync_time instead. Timestamp of when ACM last successfully synced the repo The time format is specified in https://golang.org/pkg/time/#Time.String", +"type": "string" +}, +"lastSyncTime": { +"description": "Timestamp type of when ACM last successfully synced the repo", +"format": "google-datetime", +"type": "string" +}, +"sourceToken": { +"description": "Token indicating the state of the repo.", +"type": "string" +}, +"syncToken": { +"description": "Token indicating the state of the syncer.", +"type": "string" +} +}, +"type": "object" +}, +"ConnectAgentResource": { +"description": "ConnectAgentResource represents a Kubernetes resource manifest for Connect Agent deployment.", +"id": "ConnectAgentResource", +"properties": { +"manifest": { +"description": "YAML manifest of the resource.", +"type": "string" +}, +"type": { +"$ref": "TypeMeta", +"description": "Kubernetes type of the resource." +} +}, +"type": "object" +}, +"DataplaneV2FeatureSpec": { +"description": "**Dataplane V2**: Spec", +"id": "DataplaneV2FeatureSpec", +"properties": { +"enableEncryption": { +"description": "Enable dataplane-v2 based encryption for multiple clusters.", +"type": "boolean" +} +}, +"type": "object" +}, +"DefaultClusterConfig": { +"description": "DefaultClusterConfig describes the default cluster configurations to be applied to all clusters born-in-fleet.", +"id": "DefaultClusterConfig", +"properties": { +"binaryAuthorizationConfig": { +"$ref": "BinaryAuthorizationConfig", +"description": "Optional. Enable/Disable binary authorization features for the cluster." +}, +"compliancePostureConfig": { +"$ref": "CompliancePostureConfig", +"deprecated": true, +"description": "Optional. Deprecated: Compliance Posture is no longer supported. For more details, see https://cloud.google.com/kubernetes-engine/docs/deprecations/posture-management-deprecation. Enable/Disable Compliance Posture features for the cluster. Note that on UpdateFleet, only full replacement of this field is allowed. Users are not allowed for partial updates through field mask." +}, +"securityPostureConfig": { +"$ref": "SecurityPostureConfig", +"description": "Optional. Enable/Disable Security Posture features for the cluster." +} +}, +"type": "object" +}, +"EdgeCluster": { +"description": "EdgeCluster contains information specific to Google Edge Clusters.", +"id": "EdgeCluster", +"properties": { +"resourceLink": { +"description": "Immutable. Self-link of the Google Cloud resource for the Edge Cluster. For example: //edgecontainer.googleapis.com/projects/my-project/locations/us-west1-a/clusters/my-cluster", +"type": "string" +} +}, +"type": "object" +}, +"Empty": { +"description": "A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }", +"id": "Empty", +"properties": {}, +"type": "object" +}, +"Expr": { +"description": "Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: \"Summary size limit\" description: \"Determines if a summary is less than 100 chars\" expression: \"document.summary.size() < 100\" Example (Equality): title: \"Requestor is owner\" description: \"Determines if requestor is the document owner\" expression: \"document.owner == request.auth.claims.email\" Example (Logic): title: \"Public documents\" description: \"Determine whether the document should be publicly visible\" expression: \"document.type != 'private' && document.type != 'internal'\" Example (Data Manipulation): title: \"Notification string\" description: \"Create a notification string with a timestamp.\" expression: \"'New message received at ' + string(document.create_time)\" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information.", +"id": "Expr", +"properties": { +"description": { +"description": "Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI.", +"type": "string" +}, +"expression": { +"description": "Textual representation of an expression in Common Expression Language syntax.", +"type": "string" +}, +"location": { +"description": "Optional. String indicating the location of the expression for error reporting, e.g. a file name and a position in the file.", +"type": "string" +}, +"title": { +"description": "Optional. Title for the expression, i.e. a short string describing its purpose. This can be used e.g. in UIs which allow to enter the expression.", +"type": "string" +} +}, +"type": "object" +}, +"Feature": { +"description": "Feature represents the settings and status of any Fleet Feature.", +"id": "Feature", +"properties": { +"createTime": { +"description": "Output only. When the Feature resource was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"deleteTime": { +"description": "Output only. When the Feature resource was deleted.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"fleetDefaultMemberConfig": { +"$ref": "CommonFleetDefaultMemberConfigSpec", +"description": "Optional. Feature configuration applicable to all memberships of the fleet." +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Labels for this Feature.", +"type": "object" +}, +"membershipSpecs": { +"additionalProperties": { +"$ref": "MembershipFeatureSpec" +}, +"description": "Optional. Membership-specific configuration for this Feature. If this Feature does not support any per-Membership configuration, this field may be unused. The keys indicate which Membership the configuration is for, in the form: `projects/{p}/locations/{l}/memberships/{m}` Where {p} is the project, {l} is a valid location and {m} is a valid Membership in this project at that location. {p} WILL match the Feature's project. {p} will always be returned as the project number, but the project ID is also accepted during input. If the same Membership is specified in the map twice (using the project ID form, and the project number form), exactly ONE of the entries will be saved, with no guarantees as to which. For this reason, it is recommended the same format be used for all entries when mutating a Feature.", +"type": "object" +}, +"membershipStates": { +"additionalProperties": { +"$ref": "MembershipFeatureState" +}, +"description": "Output only. Membership-specific Feature status. If this Feature does report any per-Membership status, this field may be unused. The keys indicate which Membership the state is for, in the form: `projects/{p}/locations/{l}/memberships/{m}` Where {p} is the project number, {l} is a valid location and {m} is a valid Membership in this project at that location. {p} MUST match the Feature's project number.", +"readOnly": true, +"type": "object" +}, +"name": { +"description": "Output only. The full, unique name of this Feature resource in the format `projects/*/locations/*/features/*`.", +"readOnly": true, +"type": "string" +}, +"resourceState": { +"$ref": "FeatureResourceState", +"description": "Output only. State of the Feature resource itself.", +"readOnly": true +}, +"scopeSpecs": { +"additionalProperties": { +"$ref": "ScopeFeatureSpec" +}, +"description": "Optional. Scope-specific configuration for this Feature. If this Feature does not support any per-Scope configuration, this field may be unused. The keys indicate which Scope the configuration is for, in the form: `projects/{p}/locations/global/scopes/{s}` Where {p} is the project, {s} is a valid Scope in this project. {p} WILL match the Feature's project. {p} will always be returned as the project number, but the project ID is also accepted during input. If the same Scope is specified in the map twice (using the project ID form, and the project number form), exactly ONE of the entries will be saved, with no guarantees as to which. For this reason, it is recommended the same format be used for all entries when mutating a Feature.", +"type": "object" +}, +"scopeStates": { +"additionalProperties": { +"$ref": "ScopeFeatureState" +}, +"description": "Output only. Scope-specific Feature status. If this Feature does report any per-Scope status, this field may be unused. The keys indicate which Scope the state is for, in the form: `projects/{p}/locations/global/scopes/{s}` Where {p} is the project, {s} is a valid Scope in this project. {p} WILL match the Feature's project.", +"readOnly": true, +"type": "object" +}, +"spec": { +"$ref": "CommonFeatureSpec", +"description": "Optional. Fleet-wide Feature configuration. If this Feature does not support any Fleet-wide configuration, this field may be unused." +}, +"state": { +"$ref": "CommonFeatureState", +"description": "Output only. The Fleet-wide Feature state.", +"readOnly": true +}, +"unreachable": { +"description": "Output only. List of locations that could not be reached while fetching this feature.", +"items": { +"type": "string" +}, +"readOnly": true, +"type": "array" +}, +"updateTime": { +"description": "Output only. When the Feature resource was last updated.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"FeatureResourceState": { +"description": "FeatureResourceState describes the state of a Feature *resource* in the GkeHub API. See `FeatureState` for the \"running state\" of the Feature in the Fleet and across Memberships.", +"id": "FeatureResourceState", +"properties": { +"state": { +"description": "The current state of the Feature resource in the Hub API.", +"enum": [ +"STATE_UNSPECIFIED", +"ENABLING", +"ACTIVE", +"DISABLING", +"UPDATING", +"SERVICE_UPDATING" +], +"enumDescriptions": [ +"State is unknown or not set.", +"The Feature is being enabled, and the Feature resource is being created. Once complete, the corresponding Feature will be enabled in this Fleet.", +"The Feature is enabled in this Fleet, and the Feature resource is fully available.", +"The Feature is being disabled in this Fleet, and the Feature resource is being deleted.", +"The Feature resource is being updated.", +"The Feature resource is being updated by the Hub Service." +], +"type": "string" +} +}, +"type": "object" +}, +"FeatureState": { +"description": "FeatureState describes the high-level state of a Feature. It may be used to describe a Feature's state at the environ-level, or per-membershop, depending on the context.", +"id": "FeatureState", +"properties": { +"code": { +"description": "The high-level, machine-readable status of this Feature.", +"enum": [ +"CODE_UNSPECIFIED", +"OK", +"WARNING", +"ERROR" +], +"enumDescriptions": [ +"Unknown or not set.", +"The Feature is operating normally.", +"The Feature has encountered an issue, and is operating in a degraded state. The Feature may need intervention to return to normal operation. See the description and any associated Feature-specific details for more information.", +"The Feature is not operating or is in a severely degraded state. The Feature may need intervention to return to normal operation. See the description and any associated Feature-specific details for more information." +], +"type": "string" +}, +"description": { +"description": "A human-readable description of the current status.", +"type": "string" +}, +"updateTime": { +"description": "The time this status and any related Feature-specific details were updated.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"Fleet": { +"description": "Fleet contains the Fleet-wide metadata and configuration.", +"id": "Fleet", +"properties": { +"createTime": { +"description": "Output only. When the Fleet was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"defaultClusterConfig": { +"$ref": "DefaultClusterConfig", +"description": "Optional. The default cluster configurations to apply across the fleet." +}, +"deleteTime": { +"description": "Output only. When the Fleet was deleted.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"displayName": { +"description": "Optional. A user-assigned display name of the Fleet. When present, it must be between 4 to 30 characters. Allowed characters are: lowercase and uppercase letters, numbers, hyphen, single-quote, double-quote, space, and exclamation point. Example: `Production Fleet`", +"type": "string" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. Labels for this Fleet.", +"type": "object" +}, +"name": { +"description": "Output only. The full, unique resource name of this fleet in the format of `projects/{project}/locations/{location}/fleets/{fleet}`. Each Google Cloud project can have at most one fleet resource, named \"default\".", +"readOnly": true, +"type": "string" +}, +"state": { +"$ref": "FleetLifecycleState", +"description": "Output only. State of the namespace resource.", +"readOnly": true +}, +"uid": { +"description": "Output only. Google-generated UUID for this resource. This is unique across all Fleet resources. If a Fleet resource is deleted and another resource with the same name is created, it gets a different uid.", +"readOnly": true, +"type": "string" +}, +"updateTime": { +"description": "Output only. When the Fleet was last updated.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"FleetLifecycleState": { +"description": "FleetLifecycleState describes the state of a Fleet resource.", +"id": "FleetLifecycleState", +"properties": { +"code": { +"description": "Output only. The current state of the Fleet resource.", +"enum": [ +"CODE_UNSPECIFIED", +"CREATING", +"READY", +"DELETING", +"UPDATING" +], +"enumDescriptions": [ +"The code is not set.", +"The fleet is being created.", +"The fleet active.", +"The fleet is being deleted.", +"The fleet is being updated." +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"FleetObservabilityFeatureError": { +"description": "All error details of the fleet observability feature.", +"id": "FleetObservabilityFeatureError", +"properties": { +"code": { +"description": "The code of the error.", +"type": "string" +}, +"description": { +"description": "A human-readable description of the current status.", +"type": "string" +} +}, +"type": "object" +}, +"FleetObservabilityFeatureSpec": { +"description": "**Fleet Observability**: The Hub-wide input for the FleetObservability feature.", +"id": "FleetObservabilityFeatureSpec", +"properties": { +"loggingConfig": { +"$ref": "FleetObservabilityLoggingConfig", +"description": "Specified if fleet logging feature is enabled for the entire fleet. If UNSPECIFIED, fleet logging feature is disabled for the entire fleet." +} +}, +"type": "object" +}, +"FleetObservabilityFeatureState": { +"description": "**FleetObservability**: Hub-wide Feature for FleetObservability feature. state.", +"id": "FleetObservabilityFeatureState", +"properties": { +"logging": { +"$ref": "FleetObservabilityFleetObservabilityLoggingState", +"description": "The feature state of default logging." +}, +"monitoring": { +"$ref": "FleetObservabilityFleetObservabilityMonitoringState", +"description": "The feature state of fleet monitoring." +} +}, +"type": "object" +}, +"FleetObservabilityFleetObservabilityBaseFeatureState": { +"description": "Base state for fleet observability feature.", +"id": "FleetObservabilityFleetObservabilityBaseFeatureState", +"properties": { +"code": { +"description": "The high-level, machine-readable status of this Feature.", +"enum": [ +"CODE_UNSPECIFIED", +"OK", +"ERROR" +], +"enumDescriptions": [ +"Unknown or not set.", +"The Feature is operating normally.", +"The Feature is encountering errors in the reconciliation. The Feature may need intervention to return to normal operation. See the description and any associated Feature-specific details for more information." +], +"type": "string" +}, +"errors": { +"description": "Errors after reconciling the monitoring and logging feature if the code is not OK.", +"items": { +"$ref": "FleetObservabilityFeatureError" +}, +"type": "array" +} +}, +"type": "object" +}, +"FleetObservabilityFleetObservabilityLoggingState": { +"description": "Feature state for logging feature.", +"id": "FleetObservabilityFleetObservabilityLoggingState", +"properties": { +"defaultLog": { +"$ref": "FleetObservabilityFleetObservabilityBaseFeatureState", +"description": "The base feature state of fleet default log." +}, +"scopeLog": { +"$ref": "FleetObservabilityFleetObservabilityBaseFeatureState", +"description": "The base feature state of fleet scope log." +} +}, +"type": "object" +}, +"FleetObservabilityFleetObservabilityMonitoringState": { +"description": "Feature state for monitoring feature.", +"id": "FleetObservabilityFleetObservabilityMonitoringState", +"properties": { +"state": { +"$ref": "FleetObservabilityFleetObservabilityBaseFeatureState", +"description": "The base feature state of fleet monitoring feature." +} +}, +"type": "object" +}, +"FleetObservabilityLoggingConfig": { +"description": "LoggingConfig defines the configuration for different types of logs.", +"id": "FleetObservabilityLoggingConfig", +"properties": { +"defaultConfig": { +"$ref": "FleetObservabilityRoutingConfig", +"description": "Specified if applying the default routing config to logs not specified in other configs." +}, +"fleetScopeLogsConfig": { +"$ref": "FleetObservabilityRoutingConfig", +"description": "Specified if applying the routing config to all logs for all fleet scopes." +} +}, +"type": "object" +}, +"FleetObservabilityMembershipSpec": { +"description": "**FleetObservability**: The membership-specific input for FleetObservability feature.", +"id": "FleetObservabilityMembershipSpec", +"properties": {}, +"type": "object" +}, +"FleetObservabilityMembershipState": { +"description": "**FleetObservability**: Membership-specific Feature state for fleetobservability.", +"id": "FleetObservabilityMembershipState", +"properties": {}, +"type": "object" +}, +"FleetObservabilityRoutingConfig": { +"description": "RoutingConfig configures the behaviour of fleet logging feature.", +"id": "FleetObservabilityRoutingConfig", +"properties": { +"mode": { +"description": "mode configures the logs routing mode.", +"enum": [ +"MODE_UNSPECIFIED", +"COPY", +"MOVE" +], +"enumDescriptions": [ +"If UNSPECIFIED, fleet logging feature is disabled.", +"logs will be copied to the destination project.", +"logs will be moved to the destination project." +], +"type": "string" +} +}, +"type": "object" +}, +"GenerateConnectManifestResponse": { +"description": "GenerateConnectManifestResponse contains manifest information for installing/upgrading a Connect agent.", +"id": "GenerateConnectManifestResponse", +"properties": { +"manifest": { +"description": "The ordered list of Kubernetes resources that need to be applied to the cluster for GKE Connect agent installation/upgrade.", +"items": { +"$ref": "ConnectAgentResource" +}, +"type": "array" +} +}, +"type": "object" +}, +"GenerateMembershipRBACRoleBindingYAMLResponse": { +"description": "Response for GenerateRBACRoleBindingYAML.", +"id": "GenerateMembershipRBACRoleBindingYAMLResponse", +"properties": { +"roleBindingsYaml": { +"description": "a yaml text blob including the RBAC policies.", +"type": "string" +} +}, +"type": "object" +}, +"GkeCluster": { +"description": "GkeCluster contains information specific to GKE clusters.", +"id": "GkeCluster", +"properties": { +"clusterMissing": { +"description": "Output only. If cluster_missing is set then it denotes that the GKE cluster no longer exists in the GKE Control Plane.", +"readOnly": true, +"type": "boolean" +}, +"resourceLink": { +"description": "Immutable. Self-link of the Google Cloud resource for the GKE cluster. For example: //container.googleapis.com/projects/my-project/locations/us-west1-a/clusters/my-cluster Zonal clusters are also supported.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleRpcStatus": { +"description": "The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors).", +"id": "GoogleRpcStatus", +"properties": { +"code": { +"description": "The status code, which should be an enum value of google.rpc.Code.", +"format": "int32", +"type": "integer" +}, +"details": { +"description": "A list of messages that carry the error details. There is a common set of message types for APIs to use.", +"items": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.", +"type": "string" +} +}, +"type": "object" +}, +"IdentityServiceAuthMethod": { +"description": "Configuration of an auth method for a member/cluster. Only one authentication method (e.g., OIDC and LDAP) can be set per AuthMethod.", +"id": "IdentityServiceAuthMethod", +"properties": { +"azureadConfig": { +"$ref": "IdentityServiceAzureADConfig", +"description": "AzureAD specific Configuration." +}, +"googleConfig": { +"$ref": "IdentityServiceGoogleConfig", +"description": "GoogleConfig specific configuration." +}, +"ldapConfig": { +"$ref": "IdentityServiceLdapConfig", +"description": "LDAP specific configuration." +}, +"name": { +"description": "Identifier for auth config.", +"type": "string" +}, +"oidcConfig": { +"$ref": "IdentityServiceOidcConfig", +"description": "OIDC specific configuration." +}, +"proxy": { +"description": "Proxy server address to use for auth method.", +"type": "string" +}, +"samlConfig": { +"$ref": "IdentityServiceSamlConfig", +"description": "SAML specific configuration." +} +}, +"type": "object" +}, +"IdentityServiceAzureADConfig": { +"description": "Configuration for the AzureAD Auth flow.", +"id": "IdentityServiceAzureADConfig", +"properties": { +"clientId": { +"description": "ID for the registered client application that makes authentication requests to the Azure AD identity provider.", +"type": "string" +}, +"clientSecret": { +"description": "Input only. Unencrypted AzureAD client secret will be passed to the GKE Hub CLH.", +"type": "string" +}, +"encryptedClientSecret": { +"description": "Output only. Encrypted AzureAD client secret.", +"format": "byte", +"readOnly": true, +"type": "string" +}, +"groupFormat": { +"description": "Optional. Format of the AzureAD groups that the client wants for auth.", +"type": "string" +}, +"kubectlRedirectUri": { +"description": "The redirect URL that kubectl uses for authorization.", +"type": "string" +}, +"tenant": { +"description": "Kind of Azure AD account to be authenticated. Supported values are or for accounts belonging to a specific tenant.", +"type": "string" +}, +"userClaim": { +"description": "Optional. Claim in the AzureAD ID Token that holds the user details.", +"type": "string" +} +}, +"type": "object" +}, +"IdentityServiceDiagnosticInterface": { +"description": "Configuration options for the AIS diagnostic interface.", +"id": "IdentityServiceDiagnosticInterface", +"properties": { +"enabled": { +"description": "Determines whether to enable the diagnostic interface.", +"type": "boolean" +}, +"expirationTime": { +"description": "Determines the expiration time of the diagnostic interface enablement. When reached, requests to the interface would be automatically rejected.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"IdentityServiceGoogleConfig": { +"description": "Configuration for the Google Plugin Auth flow.", +"id": "IdentityServiceGoogleConfig", +"properties": { +"disable": { +"description": "Disable automatic configuration of Google Plugin on supported platforms.", +"type": "boolean" +} +}, +"type": "object" +}, +"IdentityServiceGroupConfig": { +"description": "Contains the properties for locating and authenticating groups in the directory.", +"id": "IdentityServiceGroupConfig", +"properties": { +"baseDn": { +"description": "Required. The location of the subtree in the LDAP directory to search for group entries.", +"type": "string" +}, +"filter": { +"description": "Optional. Optional filter to be used when searching for groups a user belongs to. This can be used to explicitly match only certain groups in order to reduce the amount of groups returned for each user. This defaults to \"(objectClass=Group)\".", +"type": "string" +}, +"idAttribute": { +"description": "Optional. The identifying name of each group a user belongs to. For example, if this is set to \"distinguishedName\" then RBACs and other group expectations should be written as full DNs. This defaults to \"distinguishedName\".", +"type": "string" +} +}, +"type": "object" +}, +"IdentityServiceIdentityServiceOptions": { +"description": "Holds non-protocol-related configuration options.", +"id": "IdentityServiceIdentityServiceOptions", +"properties": { +"diagnosticInterface": { +"$ref": "IdentityServiceDiagnosticInterface", +"description": "Configuration options for the AIS diagnostic interface." +}, +"sessionDuration": { +"description": "Determines the lifespan of STS tokens issued by Anthos Identity Service.", +"format": "google-duration", +"type": "string" +} +}, +"type": "object" +}, +"IdentityServiceLdapConfig": { +"description": "Configuration for the LDAP Auth flow.", +"id": "IdentityServiceLdapConfig", +"properties": { +"group": { +"$ref": "IdentityServiceGroupConfig", +"description": "Optional. Contains the properties for locating and authenticating groups in the directory." +}, +"server": { +"$ref": "IdentityServiceServerConfig", +"description": "Required. Server settings for the external LDAP server." +}, +"serviceAccount": { +"$ref": "IdentityServiceServiceAccountConfig", +"description": "Required. Contains the credentials of the service account which is authorized to perform the LDAP search in the directory. The credentials can be supplied by the combination of the DN and password or the client certificate." +}, +"user": { +"$ref": "IdentityServiceUserConfig", +"description": "Required. Defines where users exist in the LDAP directory." +} +}, +"type": "object" +}, +"IdentityServiceMembershipSpec": { +"description": "**Anthos Identity Service**: Configuration for a single Membership.", +"id": "IdentityServiceMembershipSpec", +"properties": { +"authMethods": { +"description": "A member may support multiple auth methods.", +"items": { +"$ref": "IdentityServiceAuthMethod" +}, +"type": "array" +}, +"identityServiceOptions": { +"$ref": "IdentityServiceIdentityServiceOptions", +"description": "Optional. non-protocol-related configuration options." +} +}, +"type": "object" +}, +"IdentityServiceMembershipState": { +"description": "**Anthos Identity Service**: State for a single Membership.", +"id": "IdentityServiceMembershipState", +"properties": { +"failureReason": { +"description": "The reason of the failure.", +"type": "string" +}, +"installedVersion": { +"description": "Installed AIS version. This is the AIS version installed on this member. The values makes sense iff state is OK.", +"type": "string" +}, +"memberConfig": { +"$ref": "IdentityServiceMembershipSpec", +"description": "Last reconciled membership configuration" +}, +"state": { +"description": "Deployment state on this member", +"enum": [ +"DEPLOYMENT_STATE_UNSPECIFIED", +"OK", +"ERROR" +], +"enumDescriptions": [ +"Unspecified state", +"deployment succeeds", +"Failure with error." +], +"type": "string" +} +}, +"type": "object" +}, +"IdentityServiceOidcConfig": { +"description": "Configuration for OIDC Auth flow.", +"id": "IdentityServiceOidcConfig", +"properties": { +"certificateAuthorityData": { +"description": "PEM-encoded CA for OIDC provider.", +"type": "string" +}, +"clientId": { +"description": "ID for OIDC client application.", +"type": "string" +}, +"clientSecret": { +"description": "Input only. Unencrypted OIDC client secret will be passed to the GKE Hub CLH.", +"type": "string" +}, +"deployCloudConsoleProxy": { +"description": "Flag to denote if reverse proxy is used to connect to auth provider. This flag should be set to true when provider is not reachable by Google Cloud Console.", +"type": "boolean" +}, +"enableAccessToken": { +"description": "Enable access token.", +"type": "boolean" +}, +"encryptedClientSecret": { +"description": "Output only. Encrypted OIDC Client secret", +"format": "byte", +"readOnly": true, +"type": "string" +}, +"extraParams": { +"description": "Comma-separated list of key-value pairs.", +"type": "string" +}, +"groupPrefix": { +"description": "Prefix to prepend to group name.", +"type": "string" +}, +"groupsClaim": { +"description": "Claim in OIDC ID token that holds group information.", +"type": "string" +}, +"issuerUri": { +"description": "URI for the OIDC provider. This should point to the level below .well-known/openid-configuration.", +"type": "string" +}, +"kubectlRedirectUri": { +"description": "Registered redirect uri to redirect users going through OAuth flow using kubectl plugin.", +"type": "string" +}, +"scopes": { +"description": "Comma-separated list of identifiers.", +"type": "string" +}, +"userClaim": { +"description": "Claim in OIDC ID token that holds username.", +"type": "string" +}, +"userPrefix": { +"description": "Prefix to prepend to user name.", +"type": "string" +} +}, +"type": "object" +}, +"IdentityServiceSamlConfig": { +"description": "Configuration for the SAML Auth flow.", +"id": "IdentityServiceSamlConfig", +"properties": { +"attributeMapping": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. The mapping of additional user attributes like nickname, birthday and address etc.. `key` is the name of this additional attribute. `value` is a string presenting as CEL(common expression language, go/cel) used for getting the value from the resources. Take nickname as an example, in this case, `key` is \"attribute.nickname\" and `value` is \"assertion.nickname\".", +"type": "object" +}, +"groupPrefix": { +"description": "Optional. Prefix to prepend to group name.", +"type": "string" +}, +"groupsAttribute": { +"description": "Optional. The SAML attribute to read groups from. This value is expected to be a string and will be passed along as-is (with the option of being prefixed by the `group_prefix`).", +"type": "string" +}, +"identityProviderCertificates": { +"description": "Required. The list of IdP certificates to validate the SAML response against.", +"items": { +"type": "string" +}, +"type": "array" +}, +"identityProviderId": { +"description": "Required. The entity ID of the SAML IdP.", +"type": "string" +}, +"identityProviderSsoUri": { +"description": "Required. The URI where the SAML IdP exposes the SSO service.", +"type": "string" +}, +"userAttribute": { +"description": "Optional. The SAML attribute to read username from. If unspecified, the username will be read from the NameID element of the assertion in SAML response. This value is expected to be a string and will be passed along as-is (with the option of being prefixed by the `user_prefix`).", +"type": "string" +}, +"userPrefix": { +"description": "Optional. Prefix to prepend to user name.", +"type": "string" +} +}, +"type": "object" +}, +"IdentityServiceServerConfig": { +"description": "Server settings for the external LDAP server.", +"id": "IdentityServiceServerConfig", +"properties": { +"certificateAuthorityData": { +"description": "Optional. Contains a Base64 encoded, PEM formatted certificate authority certificate for the LDAP server. This must be provided for the \"ldaps\" and \"startTLS\" connections.", +"format": "byte", +"type": "string" +}, +"connectionType": { +"description": "Optional. Defines the connection type to communicate with the LDAP server. If `starttls` or `ldaps` is specified, the certificate_authority_data should not be empty.", +"type": "string" +}, +"host": { +"description": "Required. Defines the hostname or IP of the LDAP server. Port is optional and will default to 389, if unspecified. For example, \"ldap.server.example\" or \"10.10.10.10:389\".", +"type": "string" +} +}, +"type": "object" +}, +"IdentityServiceServiceAccountConfig": { +"description": "Contains the credentials of the service account which is authorized to perform the LDAP search in the directory. The credentials can be supplied by the combination of the DN and password or the client certificate.", +"id": "IdentityServiceServiceAccountConfig", +"properties": { +"simpleBindCredentials": { +"$ref": "IdentityServiceSimpleBindCredentials", +"description": "Credentials for basic auth." +} +}, +"type": "object" +}, +"IdentityServiceSimpleBindCredentials": { +"description": "The structure holds the LDAP simple binding credential.", +"id": "IdentityServiceSimpleBindCredentials", +"properties": { +"dn": { +"description": "Required. The distinguished name(DN) of the service account object/user.", +"type": "string" +}, +"encryptedPassword": { +"description": "Output only. The encrypted password of the service account object/user.", +"format": "byte", +"readOnly": true, +"type": "string" +}, +"password": { +"description": "Required. Input only. The password of the service account object/user.", +"type": "string" +} +}, +"type": "object" +}, +"IdentityServiceUserConfig": { +"description": "Defines where users exist in the LDAP directory.", +"id": "IdentityServiceUserConfig", +"properties": { +"baseDn": { +"description": "Required. The location of the subtree in the LDAP directory to search for user entries.", +"type": "string" +}, +"filter": { +"description": "Optional. Filter to apply when searching for the user. This can be used to further restrict the user accounts which are allowed to login. This defaults to \"(objectClass=User)\".", +"type": "string" +}, +"idAttribute": { +"description": "Optional. Determines which attribute to use as the user's identity after they are authenticated. This is distinct from the loginAttribute field to allow users to login with a username, but then have their actual identifier be an email address or full Distinguished Name (DN). For example, setting loginAttribute to \"sAMAccountName\" and identifierAttribute to \"userPrincipalName\" would allow a user to login as \"bsmith\", but actual RBAC policies for the user would be written as \"bsmith@example.com\". Using \"userPrincipalName\" is recommended since this will be unique for each user. This defaults to \"userPrincipalName\".", +"type": "string" +}, +"loginAttribute": { +"description": "Optional. The name of the attribute which matches against the input username. This is used to find the user in the LDAP database e.g. \"(=)\" and is combined with the optional filter field. This defaults to \"userPrincipalName\".", +"type": "string" +} +}, +"type": "object" +}, +"KubernetesMetadata": { +"description": "KubernetesMetadata provides informational metadata for Memberships representing Kubernetes clusters.", +"id": "KubernetesMetadata", +"properties": { +"kubernetesApiServerVersion": { +"description": "Output only. Kubernetes API server version string as reported by `/version`.", +"readOnly": true, +"type": "string" +}, +"memoryMb": { +"description": "Output only. The total memory capacity as reported by the sum of all Kubernetes nodes resources, defined in MB.", +"format": "int32", +"readOnly": true, +"type": "integer" +}, +"nodeCount": { +"description": "Output only. Node count as reported by Kubernetes nodes resources.", +"format": "int32", +"readOnly": true, +"type": "integer" +}, +"nodeProviderId": { +"description": "Output only. Node providerID as reported by the first node in the list of nodes on the Kubernetes endpoint. On Kubernetes platforms that support zero-node clusters (like GKE-on-GCP), the node_count will be zero and the node_provider_id will be empty.", +"readOnly": true, +"type": "string" +}, +"updateTime": { +"description": "Output only. The time at which these details were last updated. This update_time is different from the Membership-level update_time since EndpointDetails are updated internally for API consumers.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"vcpuCount": { +"description": "Output only. vCPU count as reported by Kubernetes nodes resources.", +"format": "int32", +"readOnly": true, +"type": "integer" +} +}, +"type": "object" +}, +"KubernetesResource": { +"description": "KubernetesResource contains the YAML manifests and configuration for Membership Kubernetes resources in the cluster. After CreateMembership or UpdateMembership, these resources should be re-applied in the cluster.", +"id": "KubernetesResource", +"properties": { +"connectResources": { +"description": "Output only. The Kubernetes resources for installing the GKE Connect agent This field is only populated in the Membership returned from a successful long-running operation from CreateMembership or UpdateMembership. It is not populated during normal GetMembership or ListMemberships requests. To get the resource manifest after the initial registration, the caller should make a UpdateMembership call with an empty field mask.", +"items": { +"$ref": "ResourceManifest" +}, +"readOnly": true, +"type": "array" +}, +"membershipCrManifest": { +"description": "Input only. The YAML representation of the Membership CR. This field is ignored for GKE clusters where Hub can read the CR directly. Callers should provide the CR that is currently present in the cluster during CreateMembership or UpdateMembership, or leave this field empty if none exists. The CR manifest is used to validate the cluster has not been registered with another Membership.", +"type": "string" +}, +"membershipResources": { +"description": "Output only. Additional Kubernetes resources that need to be applied to the cluster after Membership creation, and after every update. This field is only populated in the Membership returned from a successful long-running operation from CreateMembership or UpdateMembership. It is not populated during normal GetMembership or ListMemberships requests. To get the resource manifest after the initial registration, the caller should make a UpdateMembership call with an empty field mask.", +"items": { +"$ref": "ResourceManifest" +}, +"readOnly": true, +"type": "array" +}, +"resourceOptions": { +"$ref": "ResourceOptions", +"description": "Optional. Options for Kubernetes resource generation." +} +}, +"type": "object" +}, +"ListBoundMembershipsResponse": { +"description": "List of Memberships bound to a Scope.", +"id": "ListBoundMembershipsResponse", +"properties": { +"memberships": { +"description": "The list of Memberships bound to the given Scope.", +"items": { +"$ref": "Membership" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A token to request the next page of resources from the `ListBoundMemberships` method. The value of an empty string means that there are no more resources to return.", +"type": "string" +}, +"unreachable": { +"description": "List of locations that could not be reached while fetching this list.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListFeaturesResponse": { +"description": "Response message for the `GkeHub.ListFeatures` method.", +"id": "ListFeaturesResponse", +"properties": { +"nextPageToken": { +"description": "A token to request the next page of resources from the `ListFeatures` method. The value of an empty string means that there are no more resources to return.", +"type": "string" +}, +"resources": { +"description": "The list of matching Features", +"items": { +"$ref": "Feature" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListFleetsResponse": { +"description": "Response message for the `GkeHub.ListFleetsResponse` method.", +"id": "ListFleetsResponse", +"properties": { +"fleets": { +"description": "The list of matching fleets.", +"items": { +"$ref": "Fleet" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages. The token is only valid for 1h.", +"type": "string" +} +}, +"type": "object" +}, +"ListLocationsResponse": { +"description": "The response message for Locations.ListLocations.", +"id": "ListLocationsResponse", +"properties": { +"locations": { +"description": "A list of locations that matches the specified filter in the request.", +"items": { +"$ref": "Location" +}, +"type": "array" +}, +"nextPageToken": { +"description": "The standard List next-page token.", +"type": "string" +} +}, +"type": "object" +}, +"ListMembershipBindingsResponse": { +"description": "List of MembershipBindings.", +"id": "ListMembershipBindingsResponse", +"properties": { +"membershipBindings": { +"description": "The list of membership_bindings", +"items": { +"$ref": "MembershipBinding" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A token to request the next page of resources from the `ListMembershipBindings` method. The value of an empty string means that there are no more resources to return.", +"type": "string" +}, +"unreachable": { +"description": "List of locations that could not be reached while fetching this list.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListMembershipRBACRoleBindingsResponse": { +"description": "List of Membership RBACRoleBindings.", +"id": "ListMembershipRBACRoleBindingsResponse", +"properties": { +"nextPageToken": { +"description": "A token to request the next page of resources from the `ListMembershipRBACRoleBindings` method. The value of an empty string means that there are no more resources to return.", +"type": "string" +}, +"rbacrolebindings": { +"description": "The list of Membership RBACRoleBindings.", +"items": { +"$ref": "RBACRoleBinding" +}, +"type": "array" +}, +"unreachable": { +"description": "List of locations that could not be reached while fetching this list.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListMembershipsResponse": { +"description": "Response message for the `GkeHub.ListMemberships` method.", +"id": "ListMembershipsResponse", +"properties": { +"nextPageToken": { +"description": "A token to request the next page of resources from the `ListMemberships` method. The value of an empty string means that there are no more resources to return.", +"type": "string" +}, +"resources": { +"description": "The list of matching Memberships.", +"items": { +"$ref": "Membership" +}, +"type": "array" +}, +"unreachable": { +"description": "List of locations that could not be reached while fetching this list.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListOperationsResponse": { +"description": "The response message for Operations.ListOperations.", +"id": "ListOperationsResponse", +"properties": { +"nextPageToken": { +"description": "The standard List next-page token.", +"type": "string" +}, +"operations": { +"description": "A list of operations that matches the specified filter in the request.", +"items": { +"$ref": "Operation" +}, +"type": "array" +}, +"unreachable": { +"description": "Unordered list. Unreachable resources. Populated when the request sets `ListOperationsRequest.return_partial_success` and reads across collections. For example, when attempting to list all resources across all supported locations.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListPermittedScopesResponse": { +"description": "List of permitted Scopes.", +"id": "ListPermittedScopesResponse", +"properties": { +"nextPageToken": { +"description": "A token to request the next page of resources from the `ListPermittedScopes` method. The value of an empty string means that there are no more resources to return.", +"type": "string" +}, +"scopes": { +"description": "The list of permitted Scopes", +"items": { +"$ref": "Scope" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListRolloutSequencesResponse": { +"description": "Response message for listing rollout sequences.", +"id": "ListRolloutSequencesResponse", +"properties": { +"nextPageToken": { +"description": "A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.", +"type": "string" +}, +"rolloutSequences": { +"description": "The rollout sequences from the specified parent resource.", +"items": { +"$ref": "RolloutSequence" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListRolloutsResponse": { +"description": "Response message for listing rollouts.", +"id": "ListRolloutsResponse", +"properties": { +"nextPageToken": { +"description": "A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.", +"type": "string" +}, +"rollouts": { +"description": "The rollouts from the specified parent resource.", +"items": { +"$ref": "Rollout" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListScopeNamespacesResponse": { +"description": "List of fleet namespaces.", +"id": "ListScopeNamespacesResponse", +"properties": { +"nextPageToken": { +"description": "A token to request the next page of resources from the `ListNamespaces` method. The value of an empty string means that there are no more resources to return.", +"type": "string" +}, +"scopeNamespaces": { +"description": "The list of fleet namespaces", +"items": { +"$ref": "Namespace" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListScopeRBACRoleBindingsResponse": { +"description": "List of Scope RBACRoleBindings.", +"id": "ListScopeRBACRoleBindingsResponse", +"properties": { +"nextPageToken": { +"description": "A token to request the next page of resources from the `ListScopeRBACRoleBindings` method. The value of an empty string means that there are no more resources to return.", +"type": "string" +}, +"rbacrolebindings": { +"description": "The list of Scope RBACRoleBindings.", +"items": { +"$ref": "RBACRoleBinding" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListScopesResponse": { +"description": "List of Scopes.", +"id": "ListScopesResponse", +"properties": { +"nextPageToken": { +"description": "A token to request the next page of resources from the `ListScopes` method. The value of an empty string means that there are no more resources to return.", +"type": "string" +}, +"scopes": { +"description": "The list of Scopes", +"items": { +"$ref": "Scope" +}, +"type": "array" +} +}, +"type": "object" +}, +"Location": { +"description": "A resource that represents a Google Cloud location.", +"id": "Location", +"properties": { +"displayName": { +"description": "The friendly name for this location, typically a nearby city name. For example, \"Tokyo\".", +"type": "string" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Cross-service attributes for the location. For example {\"cloud.googleapis.com/region\": \"us-east1\"}", +"type": "object" +}, +"locationId": { +"description": "The canonical id for this location. For example: `\"us-east1\"`.", +"type": "string" +}, +"metadata": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "Service-specific metadata. For example the available capacity at the given location.", +"type": "object" +}, +"name": { +"description": "Resource name for the location, which may vary between implementations. For example: `\"projects/example-project/locations/us-east1\"`", +"type": "string" +} +}, +"type": "object" +}, +"Membership": { +"description": "Membership contains information about a member cluster.", +"id": "Membership", +"properties": { +"authority": { +"$ref": "Authority", +"description": "Optional. How to identify workloads from this Membership. See the documentation on Workload Identity for more details: https://cloud.google.com/kubernetes-engine/docs/how-to/workload-identity" +}, +"clusterTier": { +"description": "Output only. The tier of the cluster.", +"enum": [ +"CLUSTER_TIER_UNSPECIFIED", +"STANDARD", +"ENTERPRISE" +], +"enumDescriptions": [ +"The ClusterTier is not set.", +"The ClusterTier is standard.", +"The ClusterTier is enterprise." +], +"readOnly": true, +"type": "string" +}, +"createTime": { +"description": "Output only. When the Membership was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"deleteTime": { +"description": "Output only. When the Membership was deleted.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"description": { +"description": "Output only. Description of this membership, limited to 63 characters. Must match the regex: `a-zA-Z0-9*` This field is present for legacy purposes.", +"readOnly": true, +"type": "string" +}, +"endpoint": { +"$ref": "MembershipEndpoint", +"description": "Optional. Endpoint information to reach this member." +}, +"externalId": { +"description": "Optional. An externally-generated and managed ID for this Membership. This ID may be modified after creation, but this is not recommended. The ID must match the regex: `a-zA-Z0-9*` If this Membership represents a Kubernetes cluster, this value should be set to the UID of the `kube-system` namespace object.", +"type": "string" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. Labels for this membership. These labels are not leveraged by multi-cluster features, instead, we prefer cluster labels, which can be set on GKE cluster or other cluster types.", +"type": "object" +}, +"lastConnectionTime": { +"description": "Output only. For clusters using Connect, the timestamp of the most recent connection established with Google Cloud. This time is updated every several minutes, not continuously. For clusters that do not use GKE Connect, or that have never connected successfully, this field will be unset.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"membershipType": { +"description": "Output only. The type of the membership.", +"enum": [ +"MEMBERSHIP_TYPE_UNSPECIFIED", +"LIGHTWEIGHT" +], +"enumDescriptions": [ +"The MembershipType is not set.", +"The membership supports only lightweight compatible features." +], +"readOnly": true, +"type": "string" +}, +"monitoringConfig": { +"$ref": "MonitoringConfig", +"description": "Optional. The monitoring config information for this membership." +}, +"name": { +"description": "Output only. The full, unique name of this Membership resource in the format `projects/*/locations/*/memberships/{membership_id}`, set during creation. `membership_id` must be a valid RFC 1123 compliant DNS label: 1. At most 63 characters in length 2. It must consist of lower case alphanumeric characters or `-` 3. It must start and end with an alphanumeric character Which can be expressed as the regex: `[a-z0-9]([-a-z0-9]*[a-z0-9])?`, with a maximum length of 63 characters.", +"readOnly": true, +"type": "string" +}, +"state": { +"$ref": "MembershipState", +"description": "Output only. State of the Membership resource.", +"readOnly": true +}, +"uniqueId": { +"description": "Output only. Google-generated UUID for this resource. This is unique across all Membership resources. If a Membership resource is deleted and another resource with the same name is created, it gets a different unique_id.", +"readOnly": true, +"type": "string" +}, +"updateTime": { +"description": "Output only. When the Membership was last updated.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"MembershipBinding": { +"description": "MembershipBinding is a subresource of a Membership, representing what Fleet Scopes (or other, future Fleet resources) a Membership is bound to.", +"id": "MembershipBinding", +"properties": { +"createTime": { +"description": "Output only. When the membership binding was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"deleteTime": { +"description": "Output only. When the membership binding was deleted.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. Labels for this MembershipBinding.", +"type": "object" +}, +"name": { +"description": "The resource name for the membershipbinding itself `projects/{project}/locations/{location}/memberships/{membership}/bindings/{membershipbinding}`", +"type": "string" +}, +"scope": { +"description": "A Scope resource name in the format `projects/*/locations/*/scopes/*`.", +"type": "string" +}, +"state": { +"$ref": "MembershipBindingLifecycleState", +"description": "Output only. State of the membership binding resource.", +"readOnly": true +}, +"uid": { +"description": "Output only. Google-generated UUID for this resource. This is unique across all membershipbinding resources. If a membershipbinding resource is deleted and another resource with the same name is created, it gets a different uid.", +"readOnly": true, +"type": "string" +}, +"updateTime": { +"description": "Output only. When the membership binding was last updated.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"MembershipBindingLifecycleState": { +"description": "MembershipBindingLifecycleState describes the state of a Binding resource.", +"id": "MembershipBindingLifecycleState", +"properties": { +"code": { +"description": "Output only. The current state of the MembershipBinding resource.", +"enum": [ +"CODE_UNSPECIFIED", +"CREATING", +"READY", +"DELETING", +"UPDATING" +], +"enumDescriptions": [ +"The code is not set.", +"The membershipbinding is being created.", +"The membershipbinding active.", +"The membershipbinding is being deleted.", +"The membershipbinding is being updated." +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"MembershipEndpoint": { +"description": "MembershipEndpoint contains information needed to contact a Kubernetes API, endpoint and any additional Kubernetes metadata.", +"id": "MembershipEndpoint", +"properties": { +"applianceCluster": { +"$ref": "ApplianceCluster", +"description": "Optional. Specific information for a GDC Edge Appliance cluster." +}, +"edgeCluster": { +"$ref": "EdgeCluster", +"description": "Optional. Specific information for a Google Edge cluster." +}, +"gkeCluster": { +"$ref": "GkeCluster", +"description": "Optional. Specific information for a GKE-on-GCP cluster." +}, +"googleManaged": { +"description": "Output only. Whether the lifecycle of this membership is managed by a google cluster platform service.", +"readOnly": true, +"type": "boolean" +}, +"kubernetesMetadata": { +"$ref": "KubernetesMetadata", +"description": "Output only. Useful Kubernetes-specific metadata.", +"readOnly": true +}, +"kubernetesResource": { +"$ref": "KubernetesResource", +"description": "Optional. The in-cluster Kubernetes Resources that should be applied for a correctly registered cluster, in the steady state. These resources: * Ensure that the cluster is exclusively registered to one and only one Hub Membership. * Propagate Workload Pool Information available in the Membership Authority field. * Ensure proper initial configuration of default Hub Features." +}, +"multiCloudCluster": { +"$ref": "MultiCloudCluster", +"description": "Optional. Specific information for a GKE Multi-Cloud cluster." +}, +"onPremCluster": { +"$ref": "OnPremCluster", +"description": "Optional. Specific information for a GKE On-Prem cluster. An onprem user-cluster who has no resourceLink is not allowed to use this field, it should have a nil \"type\" instead." +} +}, +"type": "object" +}, +"MembershipFeatureSpec": { +"description": "MembershipFeatureSpec contains configuration information for a single Membership.", +"id": "MembershipFeatureSpec", +"properties": { +"cloudbuild": { +"$ref": "MembershipSpec", +"description": "Cloud Build-specific spec" +}, +"configmanagement": { +"$ref": "ConfigManagementMembershipSpec", +"description": "Config Management-specific spec." +}, +"fleetobservability": { +"$ref": "FleetObservabilityMembershipSpec", +"description": "Fleet observability membership spec" +}, +"identityservice": { +"$ref": "IdentityServiceMembershipSpec", +"description": "Identity Service-specific spec." +}, +"mesh": { +"$ref": "ServiceMeshMembershipSpec", +"description": "Anthos Service Mesh-specific spec" +}, +"origin": { +"$ref": "Origin", +"description": "Whether this per-Membership spec was inherited from a fleet-level default. This field can be updated by users by either overriding a Membership config (updated to USER implicitly) or setting to FLEET explicitly." +}, +"policycontroller": { +"$ref": "PolicyControllerMembershipSpec", +"description": "Policy Controller spec." +} +}, +"type": "object" +}, +"MembershipFeatureState": { +"description": "MembershipFeatureState contains Feature status information for a single Membership.", +"id": "MembershipFeatureState", +"properties": { +"appdevexperience": { +"$ref": "AppDevExperienceFeatureState", +"description": "Appdevexperience specific state." +}, +"clusterupgrade": { +"$ref": "ClusterUpgradeMembershipState", +"description": "ClusterUpgrade state." +}, +"configmanagement": { +"$ref": "ConfigManagementMembershipState", +"description": "Config Management-specific state." +}, +"fleetobservability": { +"$ref": "FleetObservabilityMembershipState", +"description": "Fleet observability membership state." +}, +"identityservice": { +"$ref": "IdentityServiceMembershipState", +"description": "Identity Service-specific state." +}, +"metering": { +"$ref": "MeteringMembershipState", +"description": "Metering-specific state." +}, +"policycontroller": { +"$ref": "PolicyControllerMembershipState", +"description": "Policycontroller-specific state." +}, +"servicemesh": { +"$ref": "ServiceMeshMembershipState", +"description": "Service Mesh-specific state." +}, +"state": { +"$ref": "FeatureState", +"description": "The high-level state of this Feature for a single membership." +}, +"workloadidentity": { +"$ref": "WorkloadIdentityMembershipState", +"description": "Workload Identity membership specific state." +} +}, +"type": "object" +}, +"MembershipSpec": { +"description": "**Cloud Build**: Configurations for each Cloud Build enabled cluster.", +"id": "MembershipSpec", +"properties": { +"securityPolicy": { +"description": "Whether it is allowed to run the privileged builds on the cluster or not.", +"enum": [ +"SECURITY_POLICY_UNSPECIFIED", +"NON_PRIVILEGED", +"PRIVILEGED" +], +"enumDescriptions": [ +"Unspecified policy", +"Privileged build pods are disallowed", +"Privileged build pods are allowed" +], +"type": "string" +}, +"version": { +"description": "Version of the cloud build software on the cluster.", +"type": "string" +} +}, +"type": "object" +}, +"MembershipState": { +"description": "MembershipState describes the state of a Membership resource.", +"id": "MembershipState", +"properties": { +"code": { +"description": "Output only. The current state of the Membership resource.", +"enum": [ +"CODE_UNSPECIFIED", +"CREATING", +"READY", +"DELETING", +"UPDATING", +"SERVICE_UPDATING" +], +"enumDescriptions": [ +"The code is not set.", +"The cluster is being registered.", +"The cluster is registered.", +"The cluster is being unregistered.", +"The Membership is being updated.", +"The Membership is being updated by the Hub Service." +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"MeteringMembershipState": { +"description": "**Metering**: Per-Membership Feature State.", +"id": "MeteringMembershipState", +"properties": { +"lastMeasurementTime": { +"description": "The time stamp of the most recent measurement of the number of vCPUs in the cluster.", +"format": "google-datetime", +"type": "string" +}, +"preciseLastMeasuredClusterVcpuCapacity": { +"description": "The vCPUs capacity in the cluster according to the most recent measurement (1/1000 precision).", +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"MonitoringConfig": { +"description": "MonitoringConfig informs Fleet-based applications/services/UIs how the metrics for the underlying cluster is reported to cloud monitoring services. It can be set from empty to non-empty, but can't be mutated directly to prevent accidentally breaking the constinousty of metrics.", +"id": "MonitoringConfig", +"properties": { +"cluster": { +"description": "Optional. Cluster name used to report metrics. For Anthos on VMWare/Baremetal/MultiCloud clusters, it would be in format {cluster_type}/{cluster_name}, e.g., \"awsClusters/cluster_1\".", +"type": "string" +}, +"clusterHash": { +"description": "Optional. For GKE and Multicloud clusters, this is the UUID of the cluster resource. For VMWare and Baremetal clusters, this is the kube-system UID.", +"type": "string" +}, +"kubernetesMetricsPrefix": { +"description": "Optional. Kubernetes system metrics, if available, are written to this prefix. This defaults to kubernetes.io for GKE, and kubernetes.io/anthos for Anthos eventually. Noted: Anthos MultiCloud will have kubernetes.io prefix today but will migration to be under kubernetes.io/anthos.", +"type": "string" +}, +"location": { +"description": "Optional. Location used to report Metrics", +"type": "string" +}, +"projectId": { +"description": "Optional. Project used to report Metrics", +"type": "string" +} +}, +"type": "object" +}, +"MultiCloudCluster": { +"description": "MultiCloudCluster contains information specific to GKE Multi-Cloud clusters.", +"id": "MultiCloudCluster", +"properties": { +"clusterMissing": { +"description": "Output only. If cluster_missing is set then it denotes that API(gkemulticloud.googleapis.com) resource for this GKE Multi-Cloud cluster no longer exists.", +"readOnly": true, +"type": "boolean" +}, +"resourceLink": { +"description": "Immutable. Self-link of the Google Cloud resource for the GKE Multi-Cloud cluster. For example: //gkemulticloud.googleapis.com/projects/my-project/locations/us-west1-a/awsClusters/my-cluster //gkemulticloud.googleapis.com/projects/my-project/locations/us-west1-a/azureClusters/my-cluster //gkemulticloud.googleapis.com/projects/my-project/locations/us-west1-a/attachedClusters/my-cluster", +"type": "string" +} +}, +"type": "object" +}, +"MultiClusterIngressFeatureSpec": { +"description": "**Multi-cluster Ingress**: The configuration for the MultiClusterIngress feature.", +"id": "MultiClusterIngressFeatureSpec", +"properties": { +"billing": { +"deprecated": true, +"description": "Deprecated: This field will be ignored and should not be set. Customer's billing structure.", +"enum": [ +"BILLING_UNSPECIFIED", +"PAY_AS_YOU_GO", +"ANTHOS_LICENSE" +], +"enumDescriptions": [ +"Unknown", +"User pays a fee per-endpoint.", +"User is paying for Anthos as a whole." +], +"type": "string" +}, +"configMembership": { +"description": "Fully-qualified Membership name which hosts the MultiClusterIngress CRD. Example: `projects/foo-proj/locations/global/memberships/bar`", +"type": "string" +} +}, +"type": "object" +}, +"Namespace": { +"description": "Namespace represents a namespace across the Fleet", +"id": "Namespace", +"properties": { +"createTime": { +"description": "Output only. When the namespace was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"deleteTime": { +"description": "Output only. When the namespace was deleted.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. Labels for this Namespace.", +"type": "object" +}, +"name": { +"description": "The resource name for the namespace `projects/{project}/locations/{location}/namespaces/{namespace}`", +"type": "string" +}, +"namespaceLabels": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. Namespace-level cluster namespace labels. These labels are applied to the related namespace of the member clusters bound to the parent Scope. Scope-level labels (`namespace_labels` in the Fleet Scope resource) take precedence over Namespace-level labels if they share a key. Keys and values must be Kubernetes-conformant.", +"type": "object" +}, +"scope": { +"description": "Required. Scope associated with the namespace", +"type": "string" +}, +"state": { +"$ref": "NamespaceLifecycleState", +"description": "Output only. State of the namespace resource.", +"readOnly": true +}, +"uid": { +"description": "Output only. Google-generated UUID for this resource. This is unique across all namespace resources. If a namespace resource is deleted and another resource with the same name is created, it gets a different uid.", +"readOnly": true, +"type": "string" +}, +"updateTime": { +"description": "Output only. When the namespace was last updated.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"NamespaceLifecycleState": { +"description": "NamespaceLifecycleState describes the state of a Namespace resource.", +"id": "NamespaceLifecycleState", +"properties": { +"code": { +"description": "Output only. The current state of the Namespace resource.", +"enum": [ +"CODE_UNSPECIFIED", +"CREATING", +"READY", +"DELETING", +"UPDATING" +], +"enumDescriptions": [ +"The code is not set.", +"The namespace is being created.", +"The namespace active.", +"The namespace is being deleted.", +"The namespace is being updated." +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"OnPremCluster": { +"description": "OnPremCluster contains information specific to GKE On-Prem clusters.", +"id": "OnPremCluster", +"properties": { +"adminCluster": { +"description": "Immutable. Whether the cluster is an admin cluster.", +"type": "boolean" +}, +"clusterMissing": { +"description": "Output only. If cluster_missing is set then it denotes that API(gkeonprem.googleapis.com) resource for this GKE On-Prem cluster no longer exists.", +"readOnly": true, +"type": "boolean" +}, +"clusterType": { +"description": "Immutable. The on prem cluster's type.", +"enum": [ +"CLUSTERTYPE_UNSPECIFIED", +"BOOTSTRAP", +"HYBRID", +"STANDALONE", +"USER" +], +"enumDescriptions": [ +"The ClusterType is not set.", +"The ClusterType is bootstrap cluster.", +"The ClusterType is baremetal hybrid cluster.", +"The ClusterType is baremetal standalone cluster.", +"The ClusterType is user cluster." +], +"type": "string" +}, +"resourceLink": { +"description": "Immutable. Self-link of the Google Cloud resource for the GKE On-Prem cluster. For example: //gkeonprem.googleapis.com/projects/my-project/locations/us-west1-a/vmwareClusters/my-cluster //gkeonprem.googleapis.com/projects/my-project/locations/us-west1-a/bareMetalClusters/my-cluster", +"type": "string" +} +}, +"type": "object" +}, +"Operation": { +"description": "This resource represents a long-running operation that is the result of a network API call.", +"id": "Operation", +"properties": { +"done": { +"description": "If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.", +"type": "boolean" +}, +"error": { +"$ref": "GoogleRpcStatus", +"description": "The error result of the operation in case of failure or cancellation." +}, +"metadata": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.", +"type": "object" +}, +"name": { +"description": "The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.", +"type": "string" +}, +"response": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "The normal, successful response of the operation. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.", +"type": "object" +} +}, +"type": "object" +}, +"OperationMetadata": { +"description": "Represents the metadata of the long-running operation.", +"id": "OperationMetadata", +"properties": { +"apiVersion": { +"description": "Output only. API version used to start the operation.", +"readOnly": true, +"type": "string" +}, +"cancelRequested": { +"description": "Output only. Identifies whether the user has requested cancellation of the operation. Operations that have successfully been cancelled have google.longrunning.Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.", +"readOnly": true, +"type": "boolean" +}, +"createTime": { +"description": "Output only. The time the operation was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"endTime": { +"description": "Output only. The time the operation finished running.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"statusDetail": { +"description": "Output only. Human-readable status of the operation, if any.", +"readOnly": true, +"type": "string" +}, +"target": { +"description": "Output only. Server-defined resource path for the target of the operation.", +"readOnly": true, +"type": "string" +}, +"verb": { +"description": "Output only. Name of the verb executed by the operation.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"Origin": { +"description": "Origin defines where this MembershipFeatureSpec originated from.", +"id": "Origin", +"properties": { +"type": { +"description": "Type specifies which type of origin is set.", +"enum": [ +"TYPE_UNSPECIFIED", +"FLEET", +"FLEET_OUT_OF_SYNC", +"USER" +], +"enumDescriptions": [ +"Type is unknown or not set.", +"Per-Membership spec was inherited from the fleet-level default.", +"Per-Membership spec was inherited from the fleet-level default but is now out of sync with the current default.", +"Per-Membership spec was inherited from a user specification." +], +"type": "string" +} +}, +"type": "object" +}, +"Policy": { +"description": "An Identity and Access Management (IAM) policy, which specifies access controls for Google Cloud resources. A `Policy` is a collection of `bindings`. A `binding` binds one or more `members`, or principals, to a single `role`. Principals can be user accounts, service accounts, Google groups, and domains (such as G Suite). A `role` is a named list of permissions; each `role` can be an IAM predefined role or a user-created custom role. For some types of Google Cloud resources, a `binding` can also specify a `condition`, which is a logical expression that allows access to a resource only if the expression evaluates to `true`. A condition can add constraints based on attributes of the request, the resource, or both. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). **JSON example:** ``` { \"bindings\": [ { \"role\": \"roles/resourcemanager.organizationAdmin\", \"members\": [ \"user:mike@example.com\", \"group:admins@example.com\", \"domain:google.com\", \"serviceAccount:my-project-id@appspot.gserviceaccount.com\" ] }, { \"role\": \"roles/resourcemanager.organizationViewer\", \"members\": [ \"user:eve@example.com\" ], \"condition\": { \"title\": \"expirable access\", \"description\": \"Does not grant access after Sep 2020\", \"expression\": \"request.time < timestamp('2020-10-01T00:00:00.000Z')\", } } ], \"etag\": \"BwWWja0YfJA=\", \"version\": 3 } ``` **YAML example:** ``` bindings: - members: - user:mike@example.com - group:admins@example.com - domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.com role: roles/resourcemanager.organizationViewer condition: title: expirable access description: Does not grant access after Sep 2020 expression: request.time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 ``` For a description of IAM and its features, see the [IAM documentation](https://cloud.google.com/iam/docs/).", +"id": "Policy", +"properties": { +"auditConfigs": { +"description": "Specifies cloud audit logging configuration for this policy.", +"items": { +"$ref": "AuditConfig" +}, +"type": "array" +}, +"bindings": { +"description": "Associates a list of `members`, or principals, with a `role`. Optionally, may specify a `condition` that determines how and when the `bindings` are applied. Each of the `bindings` must contain at least one principal. The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250 of these principals can be Google groups. Each occurrence of a principal counts towards these limits. For example, if the `bindings` grant 50 different roles to `user:alice@example.com`, and not to any other principal, then you can add another 1,450 principals to the `bindings` in the `Policy`.", +"items": { +"$ref": "Binding" +}, +"type": "array" +}, +"etag": { +"description": "`etag` is used for optimistic concurrency control as a way to help prevent simultaneous updates of a policy from overwriting each other. It is strongly suggested that systems make use of the `etag` in the read-modify-write cycle to perform policy updates in order to avoid race conditions: An `etag` is returned in the response to `getIamPolicy`, and systems are expected to put that etag in the request to `setIamPolicy` to ensure that their change will be applied to the same version of the policy. **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost.", +"format": "byte", +"type": "string" +}, +"version": { +"description": "Specifies the format of the policy. Valid values are `0`, `1`, and `3`. Requests that specify an invalid value are rejected. Any operation that affects conditional role bindings must specify version `3`. This requirement applies to the following operations: * Getting a policy that includes a conditional role binding * Adding a conditional role binding to a policy * Changing a conditional role binding in a policy * Removing any role binding, with or without a condition, from a policy that includes conditions **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost. If a policy does not include any conditions, operations on that policy may specify any valid version or leave the field unset. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"PolicyBinding": { +"description": "Binauthz policy that applies to this cluster.", +"id": "PolicyBinding", +"properties": { +"name": { +"description": "The relative resource name of the binauthz platform policy to audit. GKE platform policies have the following format: `projects/{project_number}/platforms/gke/policies/{policy_id}`.", +"type": "string" +} +}, +"type": "object" +}, +"PolicyControllerBundleInstallSpec": { +"description": "BundleInstallSpec is the specification configuration for a single managed bundle.", +"id": "PolicyControllerBundleInstallSpec", +"properties": { +"exemptedNamespaces": { +"description": "The set of namespaces to be exempted from the bundle.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"PolicyControllerHubConfig": { +"description": "Configuration for Policy Controller", +"id": "PolicyControllerHubConfig", +"properties": { +"auditIntervalSeconds": { +"description": "Sets the interval for Policy Controller Audit Scans (in seconds). When set to 0, this disables audit functionality altogether.", +"format": "int64", +"type": "string" +}, +"constraintViolationLimit": { +"description": "The maximum number of audit violations to be stored in a constraint. If not set, the internal default (currently 20) will be used.", +"format": "int64", +"type": "string" +}, +"deploymentConfigs": { +"additionalProperties": { +"$ref": "PolicyControllerPolicyControllerDeploymentConfig" +}, +"description": "Map of deployment configs to deployments (\"admission\", \"audit\", \"mutation').", +"type": "object" +}, +"exemptableNamespaces": { +"description": "The set of namespaces that are excluded from Policy Controller checks. Namespaces do not need to currently exist on the cluster.", +"items": { +"type": "string" +}, +"type": "array" +}, +"installSpec": { +"description": "The install_spec represents the intended state specified by the latest request that mutated install_spec in the feature spec, not the lifecycle state of the feature observed by the Hub feature controller that is reported in the feature state.", +"enum": [ +"INSTALL_SPEC_UNSPECIFIED", +"INSTALL_SPEC_NOT_INSTALLED", +"INSTALL_SPEC_ENABLED", +"INSTALL_SPEC_SUSPENDED", +"INSTALL_SPEC_DETACHED" +], +"enumDescriptions": [ +"Spec is unknown.", +"Request to uninstall Policy Controller.", +"Request to install and enable Policy Controller.", +"Request to suspend Policy Controller i.e. its webhooks. If Policy Controller is not installed, it will be installed but suspended.", +"Request to stop all reconciliation actions by PoCo Hub controller. This is a breakglass mechanism to stop PoCo Hub from affecting cluster resources." +], +"type": "string" +}, +"logDeniesEnabled": { +"description": "Logs all denies and dry run failures.", +"type": "boolean" +}, +"monitoring": { +"$ref": "PolicyControllerMonitoringConfig", +"description": "Monitoring specifies the configuration of monitoring." +}, +"mutationEnabled": { +"description": "Enables the ability to mutate resources using Policy Controller.", +"type": "boolean" +}, +"policyContent": { +"$ref": "PolicyControllerPolicyContentSpec", +"description": "Specifies the desired policy content on the cluster" +}, +"referentialRulesEnabled": { +"description": "Enables the ability to use Constraint Templates that reference to objects other than the object currently being evaluated.", +"type": "boolean" +} +}, +"type": "object" +}, +"PolicyControllerMembershipSpec": { +"description": "**Policy Controller**: Configuration for a single cluster. Intended to parallel the PolicyController CR.", +"id": "PolicyControllerMembershipSpec", +"properties": { +"policyControllerHubConfig": { +"$ref": "PolicyControllerHubConfig", +"description": "Policy Controller configuration for the cluster." +}, +"version": { +"description": "Version of Policy Controller installed.", +"type": "string" +} +}, +"type": "object" +}, +"PolicyControllerMembershipState": { +"description": "**Policy Controller**: State for a single cluster.", +"id": "PolicyControllerMembershipState", +"properties": { +"componentStates": { +"additionalProperties": { +"$ref": "PolicyControllerOnClusterState" +}, +"description": "Currently these include (also serving as map keys): 1. \"admission\" 2. \"audit\" 3. \"mutation\"", +"type": "object" +}, +"policyContentState": { +"$ref": "PolicyControllerPolicyContentState", +"description": "The overall content state observed by the Hub Feature controller." +}, +"state": { +"description": "The overall Policy Controller lifecycle state observed by the Hub Feature controller.", +"enum": [ +"LIFECYCLE_STATE_UNSPECIFIED", +"NOT_INSTALLED", +"INSTALLING", +"ACTIVE", +"UPDATING", +"DECOMMISSIONING", +"CLUSTER_ERROR", +"HUB_ERROR", +"SUSPENDED", +"DETACHED" +], +"enumDescriptions": [ +"The lifecycle state is unspecified.", +"The PC does not exist on the given cluster, and no k8s resources of any type that are associated with the PC should exist there. The cluster does not possess a membership with the PCH.", +"The PCH possesses a Membership, however the PC is not fully installed on the cluster. In this state the hub can be expected to be taking actions to install the PC on the cluster.", +"The PC is fully installed on the cluster and in an operational mode. In this state PCH will be reconciling state with the PC, and the PC will be performing it's operational tasks per that software. Entering a READY state requires that the hub has confirmed the PC is installed and its pods are operational with the version of the PC the PCH expects.", +"The PC is fully installed, but in the process of changing the configuration (including changing the version of PC either up and down, or modifying the manifests of PC) of the resources running on the cluster. The PCH has a Membership, is aware of the version the cluster should be running in, but has not confirmed for itself that the PC is running with that version.", +"The PC may have resources on the cluster, but the PCH wishes to remove the Membership. The Membership still exists.", +"The PC is not operational, and the PCH is unable to act to make it operational. Entering a CLUSTER_ERROR state happens automatically when the PCH determines that a PC installed on the cluster is non-operative or that the cluster does not meet requirements set for the PCH to administer the cluster but has nevertheless been given an instruction to do so (such as 'install').", +"In this state, the PC may still be operational, and only the PCH is unable to act. The hub should not issue instructions to change the PC state, or otherwise interfere with the on-cluster resources. Entering a HUB_ERROR state happens automatically when the PCH determines the hub is in an unhealthy state and it wishes to 'take hands off' to avoid corrupting the PC or other data.", +"Policy Controller (PC) is installed but suspended. This means that the policies are not enforced, but violations are still recorded (through audit).", +"PoCo Hub is not taking any action to reconcile cluster objects. Changes to those objects will not be overwritten by PoCo Hub." +], +"type": "string" +} +}, +"type": "object" +}, +"PolicyControllerMonitoringConfig": { +"description": "MonitoringConfig specifies the backends Policy Controller should export metrics to. For example, to specify metrics should be exported to Cloud Monitoring and Prometheus, specify backends: [\"cloudmonitoring\", \"prometheus\"]", +"id": "PolicyControllerMonitoringConfig", +"properties": { +"backends": { +"description": "Specifies the list of backends Policy Controller will export to. An empty list would effectively disable metrics export.", +"items": { +"enum": [ +"MONITORING_BACKEND_UNSPECIFIED", +"PROMETHEUS", +"CLOUD_MONITORING" +], +"enumDescriptions": [ +"Backend cannot be determined", +"Prometheus backend for monitoring", +"Stackdriver/Cloud Monitoring backend for monitoring" +], +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"PolicyControllerOnClusterState": { +"description": "OnClusterState represents the state of a sub-component of Policy Controller.", +"id": "PolicyControllerOnClusterState", +"properties": { +"details": { +"description": "Surface potential errors or information logs.", +"type": "string" +}, +"state": { +"description": "The lifecycle state of this component.", +"enum": [ +"LIFECYCLE_STATE_UNSPECIFIED", +"NOT_INSTALLED", +"INSTALLING", +"ACTIVE", +"UPDATING", +"DECOMMISSIONING", +"CLUSTER_ERROR", +"HUB_ERROR", +"SUSPENDED", +"DETACHED" +], +"enumDescriptions": [ +"The lifecycle state is unspecified.", +"The PC does not exist on the given cluster, and no k8s resources of any type that are associated with the PC should exist there. The cluster does not possess a membership with the PCH.", +"The PCH possesses a Membership, however the PC is not fully installed on the cluster. In this state the hub can be expected to be taking actions to install the PC on the cluster.", +"The PC is fully installed on the cluster and in an operational mode. In this state PCH will be reconciling state with the PC, and the PC will be performing it's operational tasks per that software. Entering a READY state requires that the hub has confirmed the PC is installed and its pods are operational with the version of the PC the PCH expects.", +"The PC is fully installed, but in the process of changing the configuration (including changing the version of PC either up and down, or modifying the manifests of PC) of the resources running on the cluster. The PCH has a Membership, is aware of the version the cluster should be running in, but has not confirmed for itself that the PC is running with that version.", +"The PC may have resources on the cluster, but the PCH wishes to remove the Membership. The Membership still exists.", +"The PC is not operational, and the PCH is unable to act to make it operational. Entering a CLUSTER_ERROR state happens automatically when the PCH determines that a PC installed on the cluster is non-operative or that the cluster does not meet requirements set for the PCH to administer the cluster but has nevertheless been given an instruction to do so (such as 'install').", +"In this state, the PC may still be operational, and only the PCH is unable to act. The hub should not issue instructions to change the PC state, or otherwise interfere with the on-cluster resources. Entering a HUB_ERROR state happens automatically when the PCH determines the hub is in an unhealthy state and it wishes to 'take hands off' to avoid corrupting the PC or other data.", +"Policy Controller (PC) is installed but suspended. This means that the policies are not enforced, but violations are still recorded (through audit).", +"PoCo Hub is not taking any action to reconcile cluster objects. Changes to those objects will not be overwritten by PoCo Hub." +], +"type": "string" +} +}, +"type": "object" +}, +"PolicyControllerPolicyContentSpec": { +"description": "PolicyContentSpec defines the user's desired content configuration on the cluster.", +"id": "PolicyControllerPolicyContentSpec", +"properties": { +"bundles": { +"additionalProperties": { +"$ref": "PolicyControllerBundleInstallSpec" +}, +"description": "map of bundle name to BundleInstallSpec. The bundle name maps to the `bundleName` key in the `policycontroller.gke.io/constraintData` annotation on a constraint.", +"type": "object" +}, +"templateLibrary": { +"$ref": "PolicyControllerTemplateLibraryConfig", +"description": "Configures the installation of the Template Library." +} +}, +"type": "object" +}, +"PolicyControllerPolicyContentState": { +"description": "The state of the policy controller policy content", +"id": "PolicyControllerPolicyContentState", +"properties": { +"bundleStates": { +"additionalProperties": { +"$ref": "PolicyControllerOnClusterState" +}, +"description": "The state of the any bundles included in the chosen version of the manifest", +"type": "object" +}, +"referentialSyncConfigState": { +"$ref": "PolicyControllerOnClusterState", +"description": "The state of the referential data sync configuration. This could represent the state of either the syncSet object(s) or the config object, depending on the version of PoCo configured by the user." +}, +"templateLibraryState": { +"$ref": "PolicyControllerOnClusterState", +"description": "The state of the template library" +} +}, +"type": "object" +}, +"PolicyControllerPolicyControllerDeploymentConfig": { +"description": "Deployment-specific configuration.", +"id": "PolicyControllerPolicyControllerDeploymentConfig", +"properties": { +"containerResources": { +"$ref": "PolicyControllerResourceRequirements", +"description": "Container resource requirements." +}, +"podAffinity": { +"description": "Pod affinity configuration.", +"enum": [ +"AFFINITY_UNSPECIFIED", +"NO_AFFINITY", +"ANTI_AFFINITY" +], +"enumDescriptions": [ +"No affinity configuration has been specified.", +"Affinity configurations will be removed from the deployment.", +"Anti-affinity configuration will be applied to this deployment. Default for admissions deployment." +], +"type": "string" +}, +"podAntiAffinity": { +"deprecated": true, +"description": "Pod anti-affinity enablement. Deprecated: use `pod_affinity` instead.", +"type": "boolean" +}, +"podTolerations": { +"description": "Pod tolerations of node taints.", +"items": { +"$ref": "PolicyControllerToleration" +}, +"type": "array" +}, +"replicaCount": { +"description": "Pod replica count.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"PolicyControllerResourceList": { +"description": "ResourceList contains container resource requirements.", +"id": "PolicyControllerResourceList", +"properties": { +"cpu": { +"description": "CPU requirement expressed in Kubernetes resource units.", +"type": "string" +}, +"memory": { +"description": "Memory requirement expressed in Kubernetes resource units.", +"type": "string" +} +}, +"type": "object" +}, +"PolicyControllerResourceRequirements": { +"description": "ResourceRequirements describes the compute resource requirements.", +"id": "PolicyControllerResourceRequirements", +"properties": { +"limits": { +"$ref": "PolicyControllerResourceList", +"description": "Limits describes the maximum amount of compute resources allowed for use by the running container." +}, +"requests": { +"$ref": "PolicyControllerResourceList", +"description": "Requests describes the amount of compute resources reserved for the container by the kube-scheduler." +} +}, +"type": "object" +}, +"PolicyControllerTemplateLibraryConfig": { +"description": "The config specifying which default library templates to install.", +"id": "PolicyControllerTemplateLibraryConfig", +"properties": { +"installation": { +"description": "Configures the manner in which the template library is installed on the cluster.", +"enum": [ +"INSTALLATION_UNSPECIFIED", +"NOT_INSTALLED", +"ALL" +], +"enumDescriptions": [ +"No installation strategy has been specified.", +"Do not install the template library.", +"Install the entire template library." +], +"type": "string" +} +}, +"type": "object" +}, +"PolicyControllerToleration": { +"description": "Toleration of a node taint.", +"id": "PolicyControllerToleration", +"properties": { +"effect": { +"description": "Matches a taint effect.", +"type": "string" +}, +"key": { +"description": "Matches a taint key (not necessarily unique).", +"type": "string" +}, +"operator": { +"description": "Matches a taint operator.", +"type": "string" +}, +"value": { +"description": "Matches a taint value.", +"type": "string" +} +}, +"type": "object" +}, +"RBACRoleBinding": { +"description": "RBACRoleBinding represents a rbacrolebinding across the Fleet", +"id": "RBACRoleBinding", +"properties": { +"createTime": { +"description": "Output only. When the rbacrolebinding was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"deleteTime": { +"description": "Output only. When the rbacrolebinding was deleted.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"group": { +"description": "group is the group, as seen by the kubernetes cluster.", +"type": "string" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. Labels for this RBACRolebinding.", +"type": "object" +}, +"name": { +"description": "The resource name for the rbacrolebinding `projects/{project}/locations/{location}/scopes/{scope}/rbacrolebindings/{rbacrolebinding}` or `projects/{project}/locations/{location}/memberships/{membership}/rbacrolebindings/{rbacrolebinding}`", +"type": "string" +}, +"role": { +"$ref": "Role", +"description": "Required. Role to bind to the principal" +}, +"state": { +"$ref": "RBACRoleBindingLifecycleState", +"description": "Output only. State of the rbacrolebinding resource.", +"readOnly": true +}, +"uid": { +"description": "Output only. Google-generated UUID for this resource. This is unique across all rbacrolebinding resources. If a rbacrolebinding resource is deleted and another resource with the same name is created, it gets a different uid.", +"readOnly": true, +"type": "string" +}, +"updateTime": { +"description": "Output only. When the rbacrolebinding was last updated.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"user": { +"description": "user is the name of the user as seen by the kubernetes cluster, example \"alice\" or \"alice@domain.tld\"", +"type": "string" +} +}, +"type": "object" +}, +"RBACRoleBindingActuationFeatureSpec": { +"description": "**RBAC RoleBinding Actuation**: The Hub-wide input for the RBACRoleBindingActuation feature.", +"id": "RBACRoleBindingActuationFeatureSpec", +"properties": { +"allowedCustomRoles": { +"description": "The list of allowed custom roles (ClusterRoles). If a ClusterRole is not part of this list, it cannot be used in a Scope RBACRoleBinding. If a ClusterRole in this list is in use, it cannot be removed from the list.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"RBACRoleBindingActuationFeatureState": { +"description": "**RBAC RoleBinding Actuation**: An empty state left as an example Hub-wide Feature state.", +"id": "RBACRoleBindingActuationFeatureState", +"properties": {}, +"type": "object" +}, +"RBACRoleBindingLifecycleState": { +"description": "RBACRoleBindingLifecycleState describes the state of a RbacRoleBinding resource.", +"id": "RBACRoleBindingLifecycleState", +"properties": { +"code": { +"description": "Output only. The current state of the rbacrolebinding resource.", +"enum": [ +"CODE_UNSPECIFIED", +"CREATING", +"READY", +"DELETING", +"UPDATING" +], +"enumDescriptions": [ +"The code is not set.", +"The rbacrolebinding is being created.", +"The rbacrolebinding active.", +"The rbacrolebinding is being deleted.", +"The rbacrolebinding is being updated." +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"ResourceManifest": { +"description": "ResourceManifest represents a single Kubernetes resource to be applied to the cluster.", +"id": "ResourceManifest", +"properties": { +"clusterScoped": { +"description": "Output only. Whether the resource provided in the manifest is `cluster_scoped`. If unset, the manifest is assumed to be namespace scoped. This field is used for REST mapping when applying the resource in a cluster.", +"readOnly": true, +"type": "boolean" +}, +"manifest": { +"description": "Output only. YAML manifest of the resource.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"ResourceOptions": { +"description": "ResourceOptions represent options for Kubernetes resource generation.", +"id": "ResourceOptions", +"properties": { +"connectVersion": { +"description": "Optional. The Connect agent version to use for connect_resources. Defaults to the latest GKE Connect version. The version must be a currently supported version, obsolete versions will be rejected.", +"type": "string" +}, +"k8sGitVersion": { +"description": "Optional. Git version of the Kubernetes cluster. This is only used to gate the Connect Agent migration to svc.id.goog on GDC-SO 1.33.100 patch and above.", +"type": "string" +}, +"k8sVersion": { +"description": "Optional. Major and minor version of the Kubernetes cluster. This is only used to determine which version to use for the CustomResourceDefinition resources, `apiextensions/v1beta1` or`apiextensions/v1`.", +"type": "string" +}, +"v1beta1Crd": { +"description": "Optional. Use `apiextensions/v1beta1` instead of `apiextensions/v1` for CustomResourceDefinition resources. This option should be set for clusters with Kubernetes apiserver versions <1.16.", +"type": "boolean" +} +}, +"type": "object" +}, +"Role": { +"description": "Role is the type for Kubernetes roles", +"id": "Role", +"properties": { +"customRole": { +"description": "Optional. custom_role is the name of a custom KubernetesClusterRole to use.", +"type": "string" +}, +"predefinedRole": { +"description": "predefined_role is the Kubernetes default role to use", +"enum": [ +"UNKNOWN", +"ADMIN", +"EDIT", +"VIEW", +"ANTHOS_SUPPORT" +], +"enumDescriptions": [ +"UNKNOWN", +"ADMIN has EDIT and RBAC permissions", +"EDIT can edit all resources except RBAC", +"VIEW can only read resources", +"ANTHOS_SUPPORT gives Google Support read-only access to a number of cluster resources." +], +"type": "string" +} +}, +"type": "object" +}, +"Rollout": { +"description": "Rollout contains the Rollout metadata and configuration.", +"id": "Rollout", +"properties": { +"completeTime": { +"description": "Output only. The timestamp at which the Rollout was completed.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"createTime": { +"description": "Output only. The timestamp at which the Rollout was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"deleteTime": { +"description": "Output only. The timestamp at the Rollout was deleted.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"displayName": { +"description": "Optional. Human readable display name of the Rollout.", +"type": "string" +}, +"etag": { +"description": "Output only. etag of the Rollout Ex. abc1234", +"readOnly": true, +"type": "string" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. Labels for this Rollout.", +"type": "object" +}, +"membershipStates": { +"additionalProperties": { +"$ref": "RolloutMembershipState" +}, +"description": "Output only. States of upgrading control plane or node pool targets of a single cluster (GKE Hub membership) that's part of this Rollout. The key is the membership name of the cluster. The value is the state of the cluster.", +"readOnly": true, +"type": "object" +}, +"name": { +"description": "Identifier. The full, unique resource name of this Rollout in the format of `projects/{project}/locations/global/rollouts/{rollout}`.", +"type": "string" +}, +"rolloutSequence": { +"description": "Optional. Immutable. The full, unique resource name of the rollout sequence that initiatied this Rollout. In the format of `projects/{project}/locations/global/rolloutSequences/{rollout_sequence}`.", +"type": "string" +}, +"stages": { +"description": "Output only. The stages of the Rollout.", +"items": { +"$ref": "RolloutStage" +}, +"readOnly": true, +"type": "array" +}, +"state": { +"description": "Output only. State specifies various states of the Rollout.", +"enum": [ +"STATE_UNSPECIFIED", +"RUNNING", +"PAUSED", +"CANCELLED", +"COMPLETED" +], +"enumDescriptions": [ +"Unspecified state.", +"The Rollout is running.", +"The Rollout is paused.", +"The Rollout is in a failure terminal state.", +"The Rollout is in a terminal state." +], +"readOnly": true, +"type": "string" +}, +"stateReason": { +"description": "Output only. A human-readable description explaining the reason for the current state.", +"readOnly": true, +"type": "string" +}, +"uid": { +"description": "Output only. Google-generated UUID for this resource. This is unique across all Rollout resources. If a Rollout resource is deleted and another resource with the same name is created, it gets a different uid.", +"readOnly": true, +"type": "string" +}, +"updateTime": { +"description": "Output only. The timestamp at which the Rollout was last updated.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"versionUpgrade": { +"$ref": "VersionUpgrade", +"description": "Optional. Config for version upgrade of clusters." +} +}, +"type": "object" +}, +"RolloutMembershipState": { +"description": "Metadata about single cluster (GKE Hub membership) that's part of this Rollout.", +"id": "RolloutMembershipState", +"properties": { +"lastUpdateTime": { +"description": "Optional. Output only. The time this status and any related Rollout-specific details for the membership were updated.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"stageAssignment": { +"description": "Output only. The stage assignment of this cluster in this rollout.", +"format": "int32", +"readOnly": true, +"type": "integer" +}, +"targets": { +"description": "Output only. The targets of the rollout - clusters or node pools that are being upgraded. All targets belongs to the same cluster, identified by the membership name (key of membership_states map).", +"items": { +"$ref": "RolloutTarget" +}, +"readOnly": true, +"type": "array" +} +}, +"type": "object" +}, +"RolloutSequence": { +"description": "RolloutSequence defines the desired order of upgrades.", +"id": "RolloutSequence", +"properties": { +"createTime": { +"description": "Output only. The timestamp at which the Rollout Sequence was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"deleteTime": { +"description": "Output only. The timestamp at the Rollout Sequence was deleted.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"displayName": { +"description": "Optional. Human readable display name of the Rollout Sequence.", +"type": "string" +}, +"etag": { +"description": "Output only. etag of the Rollout Sequence Ex. abc1234", +"readOnly": true, +"type": "string" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. Labels for this Rollout Sequence.", +"type": "object" +}, +"name": { +"description": "Identifier. Name of the rollout sequence in the format of: projects/{PROJECT_ID}/locations/global/rolloutSequences/{NAME}", +"type": "string" +}, +"stages": { +"description": "Required. Ordered list of stages that constitutes this Rollout.", +"items": { +"$ref": "Stage" +}, +"type": "array" +}, +"state": { +"$ref": "RolloutSequenceState", +"description": "Output only. State of the Rollout Sequence as a whole.", +"readOnly": true +}, +"uid": { +"description": "Output only. Google-generated UUID for this resource. This is unique across all Rollout Sequence resources. If a Rollout Sequence resource is deleted and another resource with the same name is created, it gets a different uid.", +"readOnly": true, +"type": "string" +}, +"updateTime": { +"description": "Output only. The timestamp at which the Rollout Sequence was last updated.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"RolloutSequenceState": { +"description": "State and reasons of the Rollout Sequence.", +"id": "RolloutSequenceState", +"properties": { +"lifecycleState": { +"description": "Output only. Lifecycle state of the Rollout Sequence.", +"enum": [ +"LIFECYCLE_STATE_UNSPECIFIED", +"LIFECYCLE_STATE_ACTIVE", +"LIFECYCLE_STATE_WARNING", +"LIFECYCLE_STATE_ERROR" +], +"enumDescriptions": [ +"The default value. This value is used if the state is omitted.", +"The Rollout Sequence is active.", +"The Rollout Sequence has warnings.", +"The Rollout Sequence has errors." +], +"readOnly": true, +"type": "string" +}, +"stateReasons": { +"description": "Output only. StateReason represents the reason for the Rollout Sequence state.", +"items": { +"enum": [ +"STATE_REASON_UNSPECIFIED", +"FLEET_FEATURE_DELETED_ERROR", +"FLEET_DELETED_ERROR", +"EMPTY_STAGE_WARNING", +"MIXED_RELEASE_CHANNELS_WARNING", +"INTERNAL_ERROR" +], +"enumDescriptions": [ +"Default unspecified value.", +"A fleet feature is deleted.", +"A fleet is deleted.", +"A stage is empty.", +"Mixed release channels in the sequence.", +"Internal error, for example when host project is soft-deleted." +], +"type": "string" +}, +"readOnly": true, +"type": "array" +} +}, +"type": "object" +}, +"RolloutStage": { +"description": "Stage represents a single stage in the Rollout.", +"id": "RolloutStage", +"properties": { +"endTime": { +"description": "Optional. Output only. The time at which the wave ended.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"soakDuration": { +"description": "Optional. Duration to soak after this wave before starting the next wave.", +"format": "google-duration", +"type": "string" +}, +"stageNumber": { +"description": "Output only. The wave number to which this status applies.", +"format": "int32", +"readOnly": true, +"type": "integer" +}, +"startTime": { +"description": "Optional. Output only. The time at which the wave started.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"state": { +"description": "Output only. The state of the wave.", +"enum": [ +"STATE_UNSPECIFIED", +"PENDING", +"RUNNING", +"SOAKING", +"COMPLETED", +"FORCED_SOAKING" +], +"enumDescriptions": [ +"Default value.", +"The wave is pending.", +"The wave is running.", +"The wave is soaking.", +"The wave is completed.", +"The wave is force soaking." +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"RolloutTarget": { +"description": "Metadata about the status of targets (clusters or node pools) involved in the Rollout.", +"id": "RolloutTarget", +"properties": { +"cluster": { +"description": "Optional. Output only. The resource link of the Cluster resource upgraded in this Rollout. It is formatted as: `//{api_service}/projects/{project_number}/locations/{location}/clusters/{cluster_name}`. .", +"readOnly": true, +"type": "string" +}, +"nodePool": { +"description": "Optional. Output only. The resource link of the NodePool resource upgraded in this Rollout. It is formatted as: `//{api_service}/projects/{project_number}/locations/{location}/clusters/{cluster_name}/nodePools/{node_pool_name}`.", +"readOnly": true, +"type": "string" +}, +"operation": { +"description": "Optional. Output only. The operation resource name performing the mutation.", +"readOnly": true, +"type": "string" +}, +"reason": { +"description": "Optional. Output only. A human-readable description of the current status.", +"readOnly": true, +"type": "string" +}, +"state": { +"description": "Output only. The high-level, machine-readable status of this Rollout for the target.", +"enum": [ +"STATE_UNSPECIFIED", +"PENDING", +"RUNNING", +"FAILED", +"SUCCEEDED", +"PAUSED", +"REMOVED", +"INELIGIBLE" +], +"enumDescriptions": [ +"Unspecified state.", +"The Rollout is pending for the target.", +"The Rollout is running for the target.", +"The Rollout failed for the target.", +"The Rollout succeeded for the target.", +"The Rollout is paused for the target.", +"The target was removed from the Rollout.", +"The target is ineligible for the Rollout." +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"Scope": { +"description": "Scope represents a Scope in a Fleet.", +"id": "Scope", +"properties": { +"createTime": { +"description": "Output only. When the scope was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"deleteTime": { +"description": "Output only. When the scope was deleted.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. Labels for this Scope.", +"type": "object" +}, +"name": { +"description": "The resource name for the scope `projects/{project}/locations/{location}/scopes/{scope}`", +"type": "string" +}, +"namespaceLabels": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. Scope-level cluster namespace labels. For the member clusters bound to the Scope, these labels are applied to each namespace under the Scope. Scope-level labels take precedence over Namespace-level labels (`namespace_labels` in the Fleet Namespace resource) if they share a key. Keys and values must be Kubernetes-conformant.", +"type": "object" +}, +"state": { +"$ref": "ScopeLifecycleState", +"description": "Output only. State of the scope resource.", +"readOnly": true +}, +"uid": { +"description": "Output only. Google-generated UUID for this resource. This is unique across all scope resources. If a scope resource is deleted and another resource with the same name is created, it gets a different uid.", +"readOnly": true, +"type": "string" +}, +"updateTime": { +"description": "Output only. When the scope was last updated.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"ScopeFeatureSpec": { +"description": "ScopeFeatureSpec contains feature specs for a fleet scope.", +"id": "ScopeFeatureSpec", +"properties": {}, +"type": "object" +}, +"ScopeFeatureState": { +"description": "ScopeFeatureState contains Scope-wide Feature status information.", +"id": "ScopeFeatureState", +"properties": { +"state": { +"$ref": "FeatureState", +"description": "Output only. The \"running state\" of the Feature in this Scope.", +"readOnly": true +} +}, +"type": "object" +}, +"ScopeLifecycleState": { +"description": "ScopeLifecycleState describes the state of a Scope resource.", +"id": "ScopeLifecycleState", +"properties": { +"code": { +"description": "Output only. The current state of the scope resource.", +"enum": [ +"CODE_UNSPECIFIED", +"CREATING", +"READY", +"DELETING", +"UPDATING" +], +"enumDescriptions": [ +"The code is not set.", +"The scope is being created.", +"The scope active.", +"The scope is being deleted.", +"The scope is being updated." +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"SecurityPostureConfig": { +"description": "SecurityPostureConfig defines the flags needed to enable/disable features for the Security Posture API.", +"id": "SecurityPostureConfig", +"properties": { +"mode": { +"description": "Sets which mode to use for Security Posture features.", +"enum": [ +"MODE_UNSPECIFIED", +"DISABLED", +"BASIC", +"ENTERPRISE" +], +"enumDeprecated": [ +false, +false, +false, +true +], +"enumDescriptions": [ +"Default value not specified.", +"Disables Security Posture features on the cluster.", +"Applies Security Posture features on the cluster.", +"Deprecated: Security Posture Enterprise features are no longer supported. For more details, see https://cloud.google.com/kubernetes-engine/docs/deprecations/posture-management-deprecation. Applies the Security Posture off cluster Enterprise level features." +], +"type": "string" +}, +"vulnerabilityMode": { +"description": "Sets which mode to use for vulnerability scanning.", +"enum": [ +"VULNERABILITY_MODE_UNSPECIFIED", +"VULNERABILITY_DISABLED", +"VULNERABILITY_BASIC", +"VULNERABILITY_ENTERPRISE" +], +"enumDeprecated": [ +false, +false, +true, +false +], +"enumDescriptions": [ +"Default value not specified.", +"Disables vulnerability scanning on the cluster.", +"Deprecated: Basic vulnerability scanning is no longer supported. For more details, see https://cloud.google.com/kubernetes-engine/docs/deprecations/posture-management-deprecation. Applies basic vulnerability scanning on the cluster.", +"Applies the Security Posture's vulnerability on cluster Enterprise level features." +], +"type": "string" +} +}, +"type": "object" +}, +"ServiceMeshCondition": { +"description": "Condition being reported.", +"id": "ServiceMeshCondition", +"properties": { +"code": { +"description": "Unique identifier of the condition which describes the condition recognizable to the user.", +"enum": [ +"CODE_UNSPECIFIED", +"MESH_IAM_PERMISSION_DENIED", +"MESH_IAM_CROSS_PROJECT_PERMISSION_DENIED", +"CNI_CONFIG_UNSUPPORTED", +"GKE_SANDBOX_UNSUPPORTED", +"NODEPOOL_WORKLOAD_IDENTITY_FEDERATION_REQUIRED", +"CNI_INSTALLATION_FAILED", +"CNI_POD_UNSCHEDULABLE", +"CLUSTER_HAS_ZERO_NODES", +"CANONICAL_SERVICE_ERROR", +"UNSUPPORTED_MULTIPLE_CONTROL_PLANES", +"VPCSC_GA_SUPPORTED", +"DEPRECATED_SPEC_CONTROL_PLANE_MANAGEMENT", +"DEPRECATED_SPEC_CONTROL_PLANE_MANAGEMENT_SAFE", +"CONFIG_APPLY_INTERNAL_ERROR", +"CONFIG_VALIDATION_ERROR", +"CONFIG_VALIDATION_WARNING", +"QUOTA_EXCEEDED_BACKEND_SERVICES", +"QUOTA_EXCEEDED_HEALTH_CHECKS", +"QUOTA_EXCEEDED_HTTP_ROUTES", +"QUOTA_EXCEEDED_TCP_ROUTES", +"QUOTA_EXCEEDED_TLS_ROUTES", +"QUOTA_EXCEEDED_TRAFFIC_POLICIES", +"QUOTA_EXCEEDED_ENDPOINT_POLICIES", +"QUOTA_EXCEEDED_GATEWAYS", +"QUOTA_EXCEEDED_MESHES", +"QUOTA_EXCEEDED_SERVER_TLS_POLICIES", +"QUOTA_EXCEEDED_CLIENT_TLS_POLICIES", +"QUOTA_EXCEEDED_SERVICE_LB_POLICIES", +"QUOTA_EXCEEDED_HTTP_FILTERS", +"QUOTA_EXCEEDED_TCP_FILTERS", +"QUOTA_EXCEEDED_NETWORK_ENDPOINT_GROUPS", +"LEGACY_MC_SECRETS", +"WORKLOAD_IDENTITY_REQUIRED", +"NON_STANDARD_BINARY_USAGE", +"UNSUPPORTED_GATEWAY_CLASS", +"MANAGED_CNI_NOT_ENABLED", +"MODERNIZATION_SCHEDULED", +"MODERNIZATION_IN_PROGRESS", +"MODERNIZATION_COMPLETED", +"MODERNIZATION_ABORTED", +"MODERNIZATION_PREPARING", +"MODERNIZATION_STALLED", +"MODERNIZATION_PREPARED", +"MODERNIZATION_MIGRATING_WORKLOADS", +"MODERNIZATION_ROLLING_BACK_CLUSTER", +"MODERNIZATION_WILL_BE_SCHEDULED", +"MODERNIZATION_MANUAL", +"MODERNIZATION_ELIGIBLE", +"MODERNIZATION_MODERNIZING", +"MODERNIZATION_MODERNIZED_SOAKING", +"MODERNIZATION_FINALIZED", +"MODERNIZATION_ROLLING_BACK_FLEET" +], +"enumDescriptions": [ +"Default Unspecified code", +"Mesh IAM permission denied error code", +"Permission denied error code for cross-project", +"CNI config unsupported error code", +"GKE sandbox unsupported error code", +"Nodepool workload identity federation required error code", +"CNI installation failed error code", +"CNI pod unschedulable error code", +"Cluster has zero node code", +"Failure to reconcile CanonicalServices", +"Multiple control planes unsupported error code", +"VPC-SC GA is supported for this control plane.", +"User is using deprecated ControlPlaneManagement and they have not yet set Management.", +"User is using deprecated ControlPlaneManagement and they have already set Management.", +"Configuration (Istio/k8s resources) failed to apply due to internal error.", +"Configuration failed to be applied due to being invalid.", +"Encountered configuration(s) with possible unintended behavior or invalid configuration. These configs may not have been applied.", +"BackendService quota exceeded error code.", +"HealthCheck quota exceeded error code.", +"HTTPRoute quota exceeded error code.", +"TCPRoute quota exceeded error code.", +"TLS routes quota exceeded error code.", +"TrafficPolicy quota exceeded error code.", +"EndpointPolicy quota exceeded error code.", +"Gateway quota exceeded error code.", +"Mesh quota exceeded error code.", +"ServerTLSPolicy quota exceeded error code.", +"ClientTLSPolicy quota exceeded error code.", +"ServiceLBPolicy quota exceeded error code.", +"HTTPFilter quota exceeded error code.", +"TCPFilter quota exceeded error code.", +"NetworkEndpointGroup quota exceeded error code.", +"Legacy istio secrets found for multicluster error code", +"Workload identity required error code", +"Non-standard binary usage error code", +"Unsupported gateway class error code", +"Managed CNI not enabled error code", +"Modernization is scheduled for a cluster.", +"Modernization is in progress for a cluster.", +"Modernization is completed for a cluster.", +"Modernization is aborted for a cluster.", +"Preparing cluster so that its workloads can be migrated.", +"Modernization is stalled for a cluster.", +"Cluster has been prepared for its workloads to be migrated.", +"Migrating the cluster's workloads to the new implementation.", +"Rollback is in progress for modernization of a cluster.", +"Modernization will be scheduled for a fleet.", +"Fleet is opted out from automated modernization.", +"Fleet is eligible for modernization.", +"Modernization of one or more clusters in a fleet is in progress.", +"Modernization of all the fleet's clusters is complete. Soaking before finalizing the modernization.", +"Modernization is finalized for all clusters in a fleet. Rollback is no longer allowed.", +"Rollback is in progress for modernization of all clusters in a fleet." +], +"type": "string" +}, +"details": { +"description": "A short summary about the issue.", +"type": "string" +}, +"documentationLink": { +"description": "Links contains actionable information.", +"type": "string" +}, +"severity": { +"description": "Severity level of the condition.", +"enum": [ +"SEVERITY_UNSPECIFIED", +"ERROR", +"WARNING", +"INFO" +], +"enumDescriptions": [ +"Unspecified severity", +"Indicates an issue that prevents the mesh from operating correctly", +"Indicates a setting is likely wrong, but the mesh is still able to operate", +"An informational message, not requiring any action" +], +"type": "string" +} +}, +"type": "object" +}, +"ServiceMeshControlPlaneManagement": { +"description": "Status of control plane management.", +"id": "ServiceMeshControlPlaneManagement", +"properties": { +"details": { +"description": "Explanation of state.", +"items": { +"$ref": "ServiceMeshStatusDetails" +}, +"type": "array" +}, +"implementation": { +"description": "Output only. Implementation of managed control plane.", +"enum": [ +"IMPLEMENTATION_UNSPECIFIED", +"ISTIOD", +"TRAFFIC_DIRECTOR", +"UPDATING" +], +"enumDescriptions": [ +"Unspecified", +"A Google build of istiod is used for the managed control plane.", +"Traffic director is used for the managed control plane.", +"The control plane implementation is being updated." +], +"readOnly": true, +"type": "string" +}, +"state": { +"description": "LifecycleState of control plane management.", +"enum": [ +"LIFECYCLE_STATE_UNSPECIFIED", +"DISABLED", +"FAILED_PRECONDITION", +"PROVISIONING", +"ACTIVE", +"STALLED", +"NEEDS_ATTENTION", +"DEGRADED", +"DEPROVISIONING" +], +"enumDescriptions": [ +"Unspecified", +"DISABLED means that the component is not enabled.", +"FAILED_PRECONDITION means that provisioning cannot proceed because of some characteristic of the member cluster.", +"PROVISIONING means that provisioning is in progress.", +"ACTIVE means that the component is ready for use.", +"STALLED means that provisioning could not be done.", +"NEEDS_ATTENTION means that the component is ready, but some user intervention is required. (For example that the user should migrate workloads to a new control plane revision.)", +"DEGRADED means that the component is ready, but operating in a degraded state.", +"DEPROVISIONING means that deprovisioning is in progress." +], +"type": "string" +} +}, +"type": "object" +}, +"ServiceMeshDataPlaneManagement": { +"description": "Status of data plane management. Only reported per-member.", +"id": "ServiceMeshDataPlaneManagement", +"properties": { +"details": { +"description": "Explanation of the status.", +"items": { +"$ref": "ServiceMeshStatusDetails" +}, +"type": "array" +}, +"state": { +"description": "Lifecycle status of data plane management.", +"enum": [ +"LIFECYCLE_STATE_UNSPECIFIED", +"DISABLED", +"FAILED_PRECONDITION", +"PROVISIONING", +"ACTIVE", +"STALLED", +"NEEDS_ATTENTION", +"DEGRADED", +"DEPROVISIONING" +], +"enumDescriptions": [ +"Unspecified", +"DISABLED means that the component is not enabled.", +"FAILED_PRECONDITION means that provisioning cannot proceed because of some characteristic of the member cluster.", +"PROVISIONING means that provisioning is in progress.", +"ACTIVE means that the component is ready for use.", +"STALLED means that provisioning could not be done.", +"NEEDS_ATTENTION means that the component is ready, but some user intervention is required. (For example that the user should migrate workloads to a new control plane revision.)", +"DEGRADED means that the component is ready, but operating in a degraded state.", +"DEPROVISIONING means that deprovisioning is in progress." +], +"type": "string" +} +}, +"type": "object" +}, +"ServiceMeshMembershipSpec": { +"description": "**Service Mesh**: Spec for a single Membership for the servicemesh feature", +"id": "ServiceMeshMembershipSpec", +"properties": { +"configApi": { +"description": "Optional. Specifies the API that will be used for configuring the mesh workloads.", +"enum": [ +"CONFIG_API_UNSPECIFIED", +"CONFIG_API_ISTIO", +"CONFIG_API_GATEWAY" +], +"enumDescriptions": [ +"Unspecified", +"Use the Istio API for configuration.", +"Use the K8s Gateway API for configuration." +], +"type": "string" +}, +"controlPlane": { +"deprecated": true, +"description": "Deprecated: use `management` instead Enables automatic control plane management.", +"enum": [ +"CONTROL_PLANE_MANAGEMENT_UNSPECIFIED", +"AUTOMATIC", +"MANUAL" +], +"enumDescriptions": [ +"Unspecified", +"Google should provision a control plane revision and make it available in the cluster. Google will enroll this revision in a release channel and keep it up to date. The control plane revision may be a managed service, or a managed install.", +"User will manually configure the control plane (e.g. via CLI, or via the ControlPlaneRevision KRM API)" +], +"type": "string" +}, +"management": { +"description": "Optional. Enables automatic Service Mesh management.", +"enum": [ +"MANAGEMENT_UNSPECIFIED", +"MANAGEMENT_AUTOMATIC", +"MANAGEMENT_MANUAL", +"MANAGEMENT_NOT_INSTALLED" +], +"enumDescriptions": [ +"Unspecified", +"Google should manage my Service Mesh for the cluster.", +"User will manually configure their service mesh components.", +"Google should remove any managed Service Mesh components from this cluster and deprovision any resources." +], +"type": "string" +} +}, +"type": "object" +}, +"ServiceMeshMembershipState": { +"description": "**Service Mesh**: State for a single Membership, as analyzed by the Service Mesh Hub Controller.", +"id": "ServiceMeshMembershipState", +"properties": { +"conditions": { +"description": "Output only. List of conditions reported for this membership.", +"items": { +"$ref": "ServiceMeshCondition" +}, +"readOnly": true, +"type": "array" +}, +"controlPlaneManagement": { +"$ref": "ServiceMeshControlPlaneManagement", +"description": "Output only. Status of control plane management", +"readOnly": true +}, +"dataPlaneManagement": { +"$ref": "ServiceMeshDataPlaneManagement", +"description": "Output only. Status of data plane management.", +"readOnly": true +} +}, +"type": "object" +}, +"ServiceMeshStatusDetails": { +"description": "Structured and human-readable details for a status.", +"id": "ServiceMeshStatusDetails", +"properties": { +"code": { +"description": "A machine-readable code that further describes a broad status.", +"type": "string" +}, +"details": { +"description": "Human-readable explanation of code.", +"type": "string" +} +}, +"type": "object" +}, +"SetIamPolicyRequest": { +"description": "Request message for `SetIamPolicy` method.", +"id": "SetIamPolicyRequest", +"properties": { +"policy": { +"$ref": "Policy", +"description": "REQUIRED: The complete policy to be applied to the `resource`. The size of the policy is limited to a few 10s of KB. An empty policy is a valid policy but certain Google Cloud services (such as Projects) might reject them." +}, +"updateMask": { +"description": "OPTIONAL: A FieldMask specifying which fields of the policy to modify. Only the fields in the mask will be modified. If no mask is provided, the following default mask is used: `paths: \"bindings, etag\"`", +"format": "google-fieldmask", +"type": "string" +} +}, +"type": "object" +}, +"Stage": { +"description": "Rollout stage.", +"id": "Stage", +"properties": { +"clusterSelector": { +"$ref": "ClusterSelector", +"description": "Optional. Filter members of fleets (above) to a subset of clusters. If not specified, all clusters in the fleets are selected." +}, +"fleetProjects": { +"description": "Required. List of Fleet projects to select the clusters from. Expected format: projects/{project}", +"items": { +"type": "string" +}, +"type": "array" +}, +"soakDuration": { +"description": "Optional. Soak time after upgrading all the clusters in the stage.", +"format": "google-duration", +"type": "string" +} +}, +"type": "object" +}, +"Status": { +"description": "Status specifies state for the subcomponent.", +"id": "Status", +"properties": { +"code": { +"description": "Code specifies AppDevExperienceFeature's subcomponent ready state.", +"enum": [ +"CODE_UNSPECIFIED", +"OK", +"FAILED", +"UNKNOWN" +], +"enumDescriptions": [ +"Not set.", +"AppDevExperienceFeature's specified subcomponent is ready.", +"AppDevExperienceFeature's specified subcomponent ready state is false. This means AppDevExperienceFeature has encountered an issue that blocks all, or a portion, of its normal operation. See the `description` for more details.", +"AppDevExperienceFeature's specified subcomponent has a pending or unknown state." +], +"type": "string" +}, +"description": { +"description": "Description is populated if Code is Failed, explaining why it has failed.", +"type": "string" +} +}, +"type": "object" +}, +"TestIamPermissionsRequest": { +"description": "Request message for `TestIamPermissions` method.", +"id": "TestIamPermissionsRequest", +"properties": { +"permissions": { +"description": "The set of permissions to check for the `resource`. Permissions with wildcards (such as `*` or `storage.*`) are not allowed. For more information see [IAM Overview](https://cloud.google.com/iam/docs/overview#permissions).", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"TestIamPermissionsResponse": { +"description": "Response message for `TestIamPermissions` method.", +"id": "TestIamPermissionsResponse", +"properties": { +"permissions": { +"description": "A subset of `TestPermissionsRequest.permissions` that the caller is allowed.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"TypeMeta": { +"description": "TypeMeta is the type information needed for content unmarshalling of Kubernetes resources in the manifest.", +"id": "TypeMeta", +"properties": { +"apiVersion": { +"description": "APIVersion of the resource (e.g. v1).", +"type": "string" +}, +"kind": { +"description": "Kind of the resource (e.g. Deployment).", +"type": "string" +} +}, +"type": "object" +}, +"VersionUpgrade": { +"description": "Config for version upgrade of clusters.", +"id": "VersionUpgrade", +"properties": { +"desiredVersion": { +"description": "Optional. Desired version of the component.", +"type": "string" +}, +"type": { +"description": "Optional. Type of version upgrade specifies which component should be upgraded.", +"enum": [ +"TYPE_UNSPECIFIED", +"TYPE_CONTROL_PLANE", +"TYPE_NODE_POOL" +], +"enumDescriptions": [ +"Default value.", +"Control plane upgrade.", +"Node pool upgrade." +], +"type": "string" +} +}, +"type": "object" +}, +"WorkloadIdentityFeatureSpec": { +"description": "**WorkloadIdentity**: Global feature specification.", +"id": "WorkloadIdentityFeatureSpec", +"properties": { +"scopeTenancyPool": { +"description": "Pool to be used for Workload Identity. This pool in trust-domain mode is used with Fleet Tenancy, so that sameness can be enforced. ex: projects/example/locations/global/workloadidentitypools/custompool", +"type": "string" +} +}, +"type": "object" +}, +"WorkloadIdentityFeatureState": { +"description": "**WorkloadIdentity**: Global feature state.", +"id": "WorkloadIdentityFeatureState", +"properties": { +"namespaceStateDetails": { +"additionalProperties": { +"$ref": "WorkloadIdentityNamespaceStateDetail" +}, +"description": "The state of the IAM namespaces for the fleet.", +"type": "object" +}, +"namespaceStates": { +"additionalProperties": { +"enum": [ +"NAMESPACE_STATE_UNSPECIFIED", +"NAMESPACE_STATE_OK", +"NAMESPACE_STATE_ERROR" +], +"enumDescriptions": [ +"Unknown state.", +"The Namespace was created/updated successfully.", +"The Namespace was not created/updated successfully. The error message is in the description field." +], +"type": "string" +}, +"description": "Deprecated, this field will be erased after code is changed to use the new field.", +"type": "object" +}, +"scopeTenancyWorkloadIdentityPool": { +"description": "The full name of the scope-tenancy pool for the fleet.", +"type": "string" +}, +"workloadIdentityPool": { +"description": "The full name of the svc.id.goog pool for the fleet.", +"type": "string" +}, +"workloadIdentityPoolStateDetails": { +"additionalProperties": { +"$ref": "WorkloadIdentityWorkloadIdentityPoolStateDetail" +}, +"description": "The state of the Workload Identity Pools for the fleet.", +"type": "object" +} +}, +"type": "object" +}, +"WorkloadIdentityIdentityProviderStateDetail": { +"description": "IdentityProviderStateDetail represents the state of an Identity Provider.", +"id": "WorkloadIdentityIdentityProviderStateDetail", +"properties": { +"code": { +"description": "The state of the Identity Provider.", +"enum": [ +"IDENTITY_PROVIDER_STATE_UNSPECIFIED", +"IDENTITY_PROVIDER_STATE_OK", +"IDENTITY_PROVIDER_STATE_ERROR" +], +"enumDescriptions": [ +"Unknown state.", +"The Identity Provider was created/updated successfully.", +"The Identity Provider was not created/updated successfully. The error message is in the description field." +], +"type": "string" +}, +"description": { +"description": "A human-readable description of the current state or returned error.", +"type": "string" +} +}, +"type": "object" +}, +"WorkloadIdentityMembershipState": { +"description": "**WorkloadIdentity**: The membership-specific state for WorkloadIdentity feature.", +"id": "WorkloadIdentityMembershipState", +"properties": { +"description": { +"description": "Deprecated, this field will be erased after code is changed to use the new field.", +"type": "string" +}, +"identityProviderStateDetails": { +"additionalProperties": { +"$ref": "WorkloadIdentityIdentityProviderStateDetail" +}, +"description": "The state of the Identity Providers corresponding to the membership.", +"type": "object" +} +}, +"type": "object" +}, +"WorkloadIdentityNamespaceStateDetail": { +"description": "NamespaceStateDetail represents the state of a IAM namespace.", +"id": "WorkloadIdentityNamespaceStateDetail", +"properties": { +"code": { +"description": "The state of the IAM namespace.", +"enum": [ +"NAMESPACE_STATE_UNSPECIFIED", +"NAMESPACE_STATE_OK", +"NAMESPACE_STATE_ERROR" +], +"enumDescriptions": [ +"Unknown state.", +"The Namespace was created/updated successfully.", +"The Namespace was not created/updated successfully. The error message is in the description field." +], +"type": "string" +}, +"description": { +"description": "A human-readable description of the current state or returned error.", +"type": "string" +} +}, +"type": "object" +}, +"WorkloadIdentityWorkloadIdentityPoolStateDetail": { +"description": "WorkloadIdentityPoolStateDetail represents the state of the Workload Identity Pools for the fleet.", +"id": "WorkloadIdentityWorkloadIdentityPoolStateDetail", +"properties": { +"code": { +"description": "The state of the Workload Identity Pool.", +"enum": [ +"WORKLOAD_IDENTITY_POOL_STATE_UNSPECIFIED", +"WORKLOAD_IDENTITY_POOL_STATE_OK", +"WORKLOAD_IDENTITY_POOL_STATE_ERROR" +], +"enumDescriptions": [ +"Unknown state.", +"The Workload Identity Pool was created/updated successfully.", +"The Workload Identity Pool was not created/updated successfully. The error message is in the description field." +], +"type": "string" +}, +"description": { +"description": "A human-readable description of the current state or returned error.", +"type": "string" +} +}, +"type": "object" +} +}, +"servicePath": "", +"title": "GKE Hub API", +"version": "v1beta", +"version_module": true +} \ No newline at end of file diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/gkehub.v1beta1.json b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/gkehub.v1beta1.json new file mode 100644 index 0000000000000000000000000000000000000000..7548444f29caf5a0651845dd9c7fb21022f39db0 --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/gkehub.v1beta1.json @@ -0,0 +1,1632 @@ +{ +"auth": { +"oauth2": { +"scopes": { +"https://www.googleapis.com/auth/cloud-platform": { +"description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." +} +} +} +}, +"basePath": "", +"baseUrl": "https://gkehub.googleapis.com/", +"batchPath": "batch", +"canonicalName": "GKE Hub", +"description": "", +"discoveryVersion": "v1", +"documentationLink": "https://cloud.google.com/anthos/multicluster-management/connect/registering-a-cluster", +"fullyEncodeReservedExpansion": true, +"icons": { +"x16": "http://www.google.com/images/icons/product/search-16.gif", +"x32": "http://www.google.com/images/icons/product/search-32.gif" +}, +"id": "gkehub:v1beta1", +"kind": "discovery#restDescription", +"mtlsRootUrl": "https://gkehub.mtls.googleapis.com/", +"name": "gkehub", +"ownerDomain": "google.com", +"ownerName": "Google", +"parameters": { +"$.xgafv": { +"description": "V1 error format.", +"enum": [ +"1", +"2" +], +"enumDescriptions": [ +"v1 error format", +"v2 error format" +], +"location": "query", +"type": "string" +}, +"access_token": { +"description": "OAuth access token.", +"location": "query", +"type": "string" +}, +"alt": { +"default": "json", +"description": "Data format for response.", +"enum": [ +"json", +"media", +"proto" +], +"enumDescriptions": [ +"Responses with Content-Type of application/json", +"Media download with context-dependent Content-Type", +"Responses with Content-Type of application/x-protobuf" +], +"location": "query", +"type": "string" +}, +"callback": { +"description": "JSONP", +"location": "query", +"type": "string" +}, +"fields": { +"description": "Selector specifying which fields to include in a partial response.", +"location": "query", +"type": "string" +}, +"key": { +"description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", +"location": "query", +"type": "string" +}, +"oauth_token": { +"description": "OAuth 2.0 token for the current user.", +"location": "query", +"type": "string" +}, +"prettyPrint": { +"default": "true", +"description": "Returns response with indentations and line breaks.", +"location": "query", +"type": "boolean" +}, +"quotaUser": { +"description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.", +"location": "query", +"type": "string" +}, +"uploadType": { +"description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", +"location": "query", +"type": "string" +}, +"upload_protocol": { +"description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", +"location": "query", +"type": "string" +} +}, +"protocol": "rest", +"resources": { +"projects": { +"resources": { +"locations": { +"methods": { +"get": { +"description": "Gets information about a location.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}", +"httpMethod": "GET", +"id": "gkehub.projects.locations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Resource name for the location.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+name}", +"response": { +"$ref": "Location" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists information about the supported locations for this service. This method can be called in two ways: * **List all public locations:** Use the path `GET /v1/locations`. * **List project-visible locations:** Use the path `GET /v1/projects/{project_id}/locations`. This may include public locations as well as private or other locations specifically visible to the project.", +"flatPath": "v1beta1/projects/{projectsId}/locations", +"httpMethod": "GET", +"id": "gkehub.projects.locations.list", +"parameterOrder": [ +"name" +], +"parameters": { +"extraLocationTypes": { +"description": "Optional. Do not use this field. It is unsupported and is ignored unless explicitly documented otherwise. This is primarily for internal usage.", +"location": "query", +"repeated": true, +"type": "string" +}, +"filter": { +"description": "A filter to narrow down results to a preferred subset. The filtering language accepts strings like `\"displayName=tokyo\"`, and is documented in more detail in [AIP-160](https://google.aip.dev/160).", +"location": "query", +"type": "string" +}, +"name": { +"description": "The resource that owns the locations collection, if applicable.", +"location": "path", +"pattern": "^projects/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The maximum number of results to return. If not set, the service selects a default.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A page token received from the `next_page_token` field in the response. Send that page token to receive the subsequent page.", +"location": "query", +"type": "string" +} +}, +"path": "v1beta1/{+name}/locations", +"response": { +"$ref": "ListLocationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"memberships": { +"methods": { +"create": { +"description": "Creates a new Membership. **This is currently only supported for GKE clusters on Google Cloud**. To register other clusters, follow the instructions at https://cloud.google.com/anthos/multicluster-management/connect/registering-a-cluster.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/memberships", +"httpMethod": "POST", +"id": "gkehub.projects.locations.memberships.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"membershipId": { +"description": "Required. Client chosen ID for the membership. `membership_id` must be a valid RFC 1123 compliant DNS label: 1. At most 63 characters in length 2. It must consist of lower case alphanumeric characters or `-` 3. It must start and end with an alphanumeric character Which can be expressed as the regex: `[a-z0-9]([-a-z0-9]*[a-z0-9])?`, with a maximum length of 63 characters.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent (project and location) where the Memberships will be created. Specified in the format `projects/*/locations/*`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "Optional. A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes after the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "v1beta1/{+parent}/memberships", +"request": { +"$ref": "Membership" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Removes a Membership. **This is currently only supported for GKE clusters on Google Cloud**. To unregister other clusters, follow the instructions at https://cloud.google.com/anthos/multicluster-management/connect/unregistering-a-cluster.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/memberships/{membershipsId}", +"httpMethod": "DELETE", +"id": "gkehub.projects.locations.memberships.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"force": { +"description": "Optional. If set to true, any subresource from this Membership will also be deleted. Otherwise, the request will only work if the Membership has no subresource.", +"location": "query", +"type": "boolean" +}, +"name": { +"description": "Required. The Membership resource name in the format `projects/*/locations/*/memberships/*`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/memberships/[^/]+$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "Optional. A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes after the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "v1beta1/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"generateConnectManifest": { +"description": "Generates the manifest for deployment of the GKE connect agent. **This method is used internally by Google-provided libraries.** Most clients should not need to call this method directly.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/memberships/{membershipsId}:generateConnectManifest", +"httpMethod": "GET", +"id": "gkehub.projects.locations.memberships.generateConnectManifest", +"parameterOrder": [ +"name" +], +"parameters": { +"connectAgent.name": { +"deprecated": true, +"description": "Do not set.", +"location": "query", +"type": "string" +}, +"connectAgent.namespace": { +"description": "Optional. Namespace for GKE Connect agent resources. Defaults to `gke-connect`. The Connect Agent is authorized automatically when run in the default namespace. Otherwise, explicit authorization must be granted with an additional IAM binding.", +"location": "query", +"type": "string" +}, +"connectAgent.proxy": { +"description": "Optional. URI of a proxy if connectivity from the agent to gkeconnect.googleapis.com requires the use of a proxy. Format must be in the form `http(s)://{proxy_address}`, depending on the HTTP/HTTPS protocol supported by the proxy. This will direct the connect agent's outbound traffic through a HTTP(S) proxy.", +"format": "byte", +"location": "query", +"type": "string" +}, +"imagePullSecretContent": { +"description": "Optional. The image pull secret content for the registry, if not public.", +"format": "byte", +"location": "query", +"type": "string" +}, +"isUpgrade": { +"description": "Optional. If true, generate the resources for upgrade only. Some resources generated only for installation (e.g. secrets) will be excluded.", +"location": "query", +"type": "boolean" +}, +"name": { +"description": "Required. The Membership resource name the Agent will associate with, in the format `projects/*/locations/*/memberships/*`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/memberships/[^/]+$", +"required": true, +"type": "string" +}, +"registry": { +"description": "Optional. The registry to fetch the connect agent image from. Defaults to gcr.io/gkeconnect.", +"location": "query", +"type": "string" +}, +"version": { +"description": "Optional. The Connect agent version to use. Defaults to the most current version.", +"location": "query", +"type": "string" +} +}, +"path": "v1beta1/{+name}:generateConnectManifest", +"response": { +"$ref": "GenerateConnectManifestResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"generateExclusivityManifest": { +"description": "GenerateExclusivityManifest generates the manifests to update the exclusivity artifacts in the cluster if needed. Exclusivity artifacts include the Membership custom resource definition (CRD) and the singleton Membership custom resource (CR). Combined with ValidateExclusivity, exclusivity artifacts guarantee that a Kubernetes cluster is only registered to a single GKE Hub. The Membership CRD is versioned, and may require conversion when the GKE Hub API server begins serving a newer version of the CRD and corresponding CR. The response will be the converted CRD and CR if there are any differences between the versions.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/memberships/{membershipsId}:generateExclusivityManifest", +"httpMethod": "GET", +"id": "gkehub.projects.locations.memberships.generateExclusivityManifest", +"parameterOrder": [ +"name" +], +"parameters": { +"crManifest": { +"description": "Optional. The YAML manifest of the membership CR retrieved by `kubectl get memberships membership`. Leave empty if the resource does not exist.", +"location": "query", +"type": "string" +}, +"crdManifest": { +"description": "Optional. The YAML manifest of the membership CRD retrieved by `kubectl get customresourcedefinitions membership`. Leave empty if the resource does not exist.", +"location": "query", +"type": "string" +}, +"name": { +"description": "Required. The Membership resource name in the format `projects/*/locations/*/memberships/*`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/memberships/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+name}:generateExclusivityManifest", +"response": { +"$ref": "GenerateExclusivityManifestResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets the details of a Membership.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/memberships/{membershipsId}", +"httpMethod": "GET", +"id": "gkehub.projects.locations.memberships.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The Membership resource name in the format `projects/*/locations/*/memberships/*`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/memberships/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+name}", +"response": { +"$ref": "Membership" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"getIamPolicy": { +"description": "Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/memberships/{membershipsId}:getIamPolicy", +"httpMethod": "GET", +"id": "gkehub.projects.locations.memberships.getIamPolicy", +"parameterOrder": [ +"resource" +], +"parameters": { +"options.requestedPolicyVersion": { +"description": "Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).", +"format": "int32", +"location": "query", +"type": "integer" +}, +"resource": { +"description": "REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/memberships/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+resource}:getIamPolicy", +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists Memberships in a given project and location.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/memberships", +"httpMethod": "GET", +"id": "gkehub.projects.locations.memberships.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Optional. Lists Memberships that match the filter expression, following the syntax outlined in https://google.aip.dev/160. Examples: - Name is `bar` in project `foo-proj` and location `global`: name = \"projects/foo-proj/locations/global/membership/bar\" - Memberships that have a label called `foo`: labels.foo:* - Memberships that have a label called `foo` whose value is `bar`: labels.foo = bar - Memberships in the CREATING state: state = CREATING", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "Optional. One or more fields to compare and use to sort the output. See https://google.aip.dev/132#ordering.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Optional. When requesting a 'page' of resources, `page_size` specifies number of resources to return. If unspecified or set to 0, all resources will be returned.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. Token returned by previous call to `ListMemberships` which specifies the position in the list from where to continue listing the resources.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent (project and location) where the Memberships will be listed. Specified in the format `projects/*/locations/*`. `projects/*/locations/-` list memberships in all the regions.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+parent}/memberships", +"response": { +"$ref": "ListMembershipsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates an existing Membership.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/memberships/{membershipsId}", +"httpMethod": "PATCH", +"id": "gkehub.projects.locations.memberships.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The membership resource name in the format: `projects/[project_id]/locations/global/memberships/[membership_id]`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/memberships/[^/]+$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "Optional. A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes after the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"updateMask": { +"description": "Required. Mask of fields to update. At least one field path must be specified in this mask.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1beta1/{+name}", +"request": { +"$ref": "Membership" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"setIamPolicy": { +"description": "Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/memberships/{membershipsId}:setIamPolicy", +"httpMethod": "POST", +"id": "gkehub.projects.locations.memberships.setIamPolicy", +"parameterOrder": [ +"resource" +], +"parameters": { +"resource": { +"description": "REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/memberships/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+resource}:setIamPolicy", +"request": { +"$ref": "SetIamPolicyRequest" +}, +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"testIamPermissions": { +"description": "Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may \"fail open\" without warning.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/memberships/{membershipsId}:testIamPermissions", +"httpMethod": "POST", +"id": "gkehub.projects.locations.memberships.testIamPermissions", +"parameterOrder": [ +"resource" +], +"parameters": { +"resource": { +"description": "REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/memberships/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+resource}:testIamPermissions", +"request": { +"$ref": "TestIamPermissionsRequest" +}, +"response": { +"$ref": "TestIamPermissionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"validateExclusivity": { +"description": "ValidateExclusivity validates the state of exclusivity in the cluster. The validation does not depend on an existing Hub membership resource.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/memberships:validateExclusivity", +"httpMethod": "GET", +"id": "gkehub.projects.locations.memberships.validateExclusivity", +"parameterOrder": [ +"parent" +], +"parameters": { +"crManifest": { +"description": "Optional. The YAML of the membership CR in the cluster. Empty if the membership CR does not exist.", +"location": "query", +"type": "string" +}, +"intendedMembership": { +"description": "Required. The intended membership name under the `parent`. This method only does validation in anticipation of a CreateMembership call with the same name.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent (project and location) where the Memberships will be created. Specified in the format `projects/*/locations/*`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+parent}/memberships:validateExclusivity", +"response": { +"$ref": "ValidateExclusivityResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"operations": { +"methods": { +"cancel": { +"description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}:cancel", +"httpMethod": "POST", +"id": "gkehub.projects.locations.operations.cancel", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be cancelled.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+name}:cancel", +"request": { +"$ref": "CancelOperationRequest" +}, +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}", +"httpMethod": "DELETE", +"id": "gkehub.projects.locations.operations.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be deleted.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+name}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}", +"httpMethod": "GET", +"id": "gkehub.projects.locations.operations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/operations", +"httpMethod": "GET", +"id": "gkehub.projects.locations.operations.list", +"parameterOrder": [ +"name" +], +"parameters": { +"filter": { +"description": "The standard list filter.", +"location": "query", +"type": "string" +}, +"name": { +"description": "The name of the operation's parent resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The standard list page size.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The standard list page token.", +"location": "query", +"type": "string" +}, +"returnPartialSuccess": { +"description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `\"projects/example/locations/-\"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1beta1/{+name}/operations", +"response": { +"$ref": "ListOperationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +} +} +} +}, +"revision": "20260126", +"rootUrl": "https://gkehub.googleapis.com/", +"schemas": { +"ApplianceCluster": { +"description": "ApplianceCluster contains information specific to GDC Edge Appliance Clusters.", +"id": "ApplianceCluster", +"properties": { +"resourceLink": { +"description": "Immutable. Self-link of the GCP resource for the Appliance Cluster. For example: //transferappliance.googleapis.com/projects/my-project/locations/us-west1-a/appliances/my-appliance", +"type": "string" +} +}, +"type": "object" +}, +"AuditConfig": { +"description": "Specifies the audit configuration for a service. The configuration determines which permission types are logged, and what identities, if any, are exempted from logging. An AuditConfig must have one or more AuditLogConfigs. If there are AuditConfigs for both `allServices` and a specific service, the union of the two AuditConfigs is used for that service: the log_types specified in each AuditConfig are enabled, and the exempted_members in each AuditLogConfig are exempted. Example Policy with multiple AuditConfigs: { \"audit_configs\": [ { \"service\": \"allServices\", \"audit_log_configs\": [ { \"log_type\": \"DATA_READ\", \"exempted_members\": [ \"user:jose@example.com\" ] }, { \"log_type\": \"DATA_WRITE\" }, { \"log_type\": \"ADMIN_READ\" } ] }, { \"service\": \"sampleservice.googleapis.com\", \"audit_log_configs\": [ { \"log_type\": \"DATA_READ\" }, { \"log_type\": \"DATA_WRITE\", \"exempted_members\": [ \"user:aliya@example.com\" ] } ] } ] } For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also exempts `jose@example.com` from DATA_READ logging, and `aliya@example.com` from DATA_WRITE logging.", +"id": "AuditConfig", +"properties": { +"auditLogConfigs": { +"description": "The configuration for logging of each type of permission.", +"items": { +"$ref": "AuditLogConfig" +}, +"type": "array" +}, +"service": { +"description": "Specifies a service that will be enabled for audit logging. For example, `storage.googleapis.com`, `cloudsql.googleapis.com`. `allServices` is a special value that covers all services.", +"type": "string" +} +}, +"type": "object" +}, +"AuditLogConfig": { +"description": "Provides the configuration for logging a type of permissions. Example: { \"audit_log_configs\": [ { \"log_type\": \"DATA_READ\", \"exempted_members\": [ \"user:jose@example.com\" ] }, { \"log_type\": \"DATA_WRITE\" } ] } This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting jose@example.com from DATA_READ logging.", +"id": "AuditLogConfig", +"properties": { +"exemptedMembers": { +"description": "Specifies the identities that do not cause logging for this type of permission. Follows the same format of Binding.members.", +"items": { +"type": "string" +}, +"type": "array" +}, +"logType": { +"description": "The log type that this config enables.", +"enum": [ +"LOG_TYPE_UNSPECIFIED", +"ADMIN_READ", +"DATA_WRITE", +"DATA_READ" +], +"enumDescriptions": [ +"Default case. Should never be this.", +"Admin reads. Example: CloudIAM getIamPolicy", +"Data writes. Example: CloudSQL Users create", +"Data reads. Example: CloudSQL Users list" +], +"type": "string" +} +}, +"type": "object" +}, +"Authority": { +"description": "Authority encodes how Google will recognize identities from this Membership. See the workload identity documentation for more details: https://cloud.google.com/kubernetes-engine/docs/how-to/workload-identity", +"id": "Authority", +"properties": { +"identityProvider": { +"description": "Output only. An identity provider that reflects the `issuer` in the workload identity pool.", +"readOnly": true, +"type": "string" +}, +"issuer": { +"description": "Optional. A JSON Web Token (JWT) issuer URI. `issuer` must start with `https://` and be a valid URL with length <2000 characters. If set, then Google will allow valid OIDC tokens from this issuer to authenticate within the workload_identity_pool. OIDC discovery will be performed on this URI to validate tokens from the issuer. Clearing `issuer` disables Workload Identity. `issuer` cannot be directly modified; it must be cleared (and Workload Identity disabled) before using a new issuer (and re-enabling Workload Identity).", +"type": "string" +}, +"oidcJwks": { +"description": "Optional. OIDC verification keys for this Membership in JWKS format (RFC 7517). When this field is set, OIDC discovery will NOT be performed on `issuer`, and instead OIDC tokens will be validated using this field.", +"format": "byte", +"type": "string" +}, +"scopeTenancyIdentityProvider": { +"description": "Optional. Output only. The identity provider for the scope-tenancy workload identity pool.", +"readOnly": true, +"type": "string" +}, +"scopeTenancyWorkloadIdentityPool": { +"description": "Optional. Output only. The name of the scope-tenancy workload identity pool. This pool is set in the fleet-level feature.", +"readOnly": true, +"type": "string" +}, +"workloadIdentityPool": { +"description": "Output only. The name of the workload identity pool in which `issuer` will be recognized. There is a single Workload Identity Pool per Hub that is shared between all Memberships that belong to that Hub. For a Hub hosted in {PROJECT_ID}, the workload pool format is `{PROJECT_ID}.hub.id.goog`, although this is subject to change in newer versions of this API.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"Binding": { +"description": "Associates `members`, or principals, with a `role`.", +"id": "Binding", +"properties": { +"condition": { +"$ref": "Expr", +"description": "The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies)." +}, +"members": { +"description": "Specifies the principals requesting access for a Google Cloud resource. `members` can have the following values: * `allUsers`: A special identifier that represents anyone who is on the internet; with or without a Google account. * `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service account. Does not include identities that come from external identity providers (IdPs) through identity federation. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `group:{emailid}`: An email address that represents a Google group. For example, `admins@example.com`. * `domain:{domain}`: The G Suite domain (primary) that represents all the users of that domain. For example, `google.com` or `example.com`. * `principal://iam.googleapis.com/locations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}`: A single identity in a workforce identity pool. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/group/{group_id}`: All workforce identities in a group. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/attribute.{attribute_name}/{attribute_value}`: All workforce identities with a specific attribute value. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/*`: All identities in a workforce identity pool. * `principal://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/subject/{subject_attribute_value}`: A single identity in a workload identity pool. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/group/{group_id}`: A workload identity pool group. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/attribute.{attribute_name}/{attribute_value}`: All identities in a workload identity pool with a certain attribute. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/*`: All identities in a workload identity pool. * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a user that has been recently deleted. For example, `alice@example.com?uid=123456789012345678901`. If the user is recovered, this value reverts to `user:{emailid}` and the recovered user retains the role in the binding. * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a service account that has been recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the service account is undeleted, this value reverts to `serviceAccount:{emailid}` and the undeleted service account retains the role in the binding. * `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a Google group that has been recently deleted. For example, `admins@example.com?uid=123456789012345678901`. If the group is recovered, this value reverts to `group:{emailid}` and the recovered group retains the role in the binding. * `deleted:principal://iam.googleapis.com/locations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}`: Deleted single identity in a workforce identity pool. For example, `deleted:principal://iam.googleapis.com/locations/global/workforcePools/my-pool-id/subject/my-subject-attribute-value`.", +"items": { +"type": "string" +}, +"type": "array" +}, +"role": { +"description": "Role that is assigned to the list of `members`, or principals. For example, `roles/viewer`, `roles/editor`, or `roles/owner`. For an overview of the IAM roles and permissions, see the [IAM documentation](https://cloud.google.com/iam/docs/roles-overview). For a list of the available pre-defined roles, see [here](https://cloud.google.com/iam/docs/understanding-roles).", +"type": "string" +} +}, +"type": "object" +}, +"CancelOperationRequest": { +"description": "The request message for Operations.CancelOperation.", +"id": "CancelOperationRequest", +"properties": {}, +"type": "object" +}, +"ConnectAgentResource": { +"description": "ConnectAgentResource represents a Kubernetes resource manifest for Connect Agent deployment.", +"id": "ConnectAgentResource", +"properties": { +"manifest": { +"description": "YAML manifest of the resource.", +"type": "string" +}, +"type": { +"$ref": "TypeMeta", +"description": "Kubernetes type of the resource." +} +}, +"type": "object" +}, +"EdgeCluster": { +"description": "EdgeCluster contains information specific to Google Edge Clusters.", +"id": "EdgeCluster", +"properties": { +"resourceLink": { +"description": "Immutable. Self-link of the GCP resource for the Edge Cluster. For example: //edgecontainer.googleapis.com/projects/my-project/locations/us-west1-a/clusters/my-cluster", +"type": "string" +} +}, +"type": "object" +}, +"Empty": { +"description": "A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }", +"id": "Empty", +"properties": {}, +"type": "object" +}, +"Expr": { +"description": "Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: \"Summary size limit\" description: \"Determines if a summary is less than 100 chars\" expression: \"document.summary.size() < 100\" Example (Equality): title: \"Requestor is owner\" description: \"Determines if requestor is the document owner\" expression: \"document.owner == request.auth.claims.email\" Example (Logic): title: \"Public documents\" description: \"Determine whether the document should be publicly visible\" expression: \"document.type != 'private' && document.type != 'internal'\" Example (Data Manipulation): title: \"Notification string\" description: \"Create a notification string with a timestamp.\" expression: \"'New message received at ' + string(document.create_time)\" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information.", +"id": "Expr", +"properties": { +"description": { +"description": "Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI.", +"type": "string" +}, +"expression": { +"description": "Textual representation of an expression in Common Expression Language syntax.", +"type": "string" +}, +"location": { +"description": "Optional. String indicating the location of the expression for error reporting, e.g. a file name and a position in the file.", +"type": "string" +}, +"title": { +"description": "Optional. Title for the expression, i.e. a short string describing its purpose. This can be used e.g. in UIs which allow to enter the expression.", +"type": "string" +} +}, +"type": "object" +}, +"GenerateConnectManifestResponse": { +"description": "GenerateConnectManifestResponse contains manifest information for installing/upgrading a Connect agent.", +"id": "GenerateConnectManifestResponse", +"properties": { +"manifest": { +"description": "The ordered list of Kubernetes resources that need to be applied to the cluster for GKE Connect agent installation/upgrade.", +"items": { +"$ref": "ConnectAgentResource" +}, +"type": "array" +} +}, +"type": "object" +}, +"GenerateExclusivityManifestResponse": { +"description": "The response of the exclusivity artifacts manifests for the client to apply.", +"id": "GenerateExclusivityManifestResponse", +"properties": { +"crManifest": { +"description": "The YAML manifest of the membership CR to apply if a new version of the CR is available. Empty if no update needs to be applied.", +"type": "string" +}, +"crdManifest": { +"description": "The YAML manifest of the membership CRD to apply if a newer version of the CRD is available. Empty if no update needs to be applied.", +"type": "string" +} +}, +"type": "object" +}, +"GkeCluster": { +"description": "GkeCluster contains information specific to GKE clusters.", +"id": "GkeCluster", +"properties": { +"clusterMissing": { +"description": "Output only. If cluster_missing is set then it denotes that the GKE cluster no longer exists in the GKE Control Plane.", +"readOnly": true, +"type": "boolean" +}, +"resourceLink": { +"description": "Immutable. Self-link of the GCP resource for the GKE cluster. For example: //container.googleapis.com/projects/my-project/locations/us-west1-a/clusters/my-cluster Zonal clusters are also supported.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleRpcStatus": { +"description": "The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors).", +"id": "GoogleRpcStatus", +"properties": { +"code": { +"description": "The status code, which should be an enum value of google.rpc.Code.", +"format": "int32", +"type": "integer" +}, +"details": { +"description": "A list of messages that carry the error details. There is a common set of message types for APIs to use.", +"items": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.", +"type": "string" +} +}, +"type": "object" +}, +"KubernetesMetadata": { +"description": "KubernetesMetadata provides informational metadata for Memberships representing Kubernetes clusters.", +"id": "KubernetesMetadata", +"properties": { +"kubernetesApiServerVersion": { +"description": "Output only. Kubernetes API server version string as reported by '/version'.", +"readOnly": true, +"type": "string" +}, +"memoryMb": { +"description": "Output only. The total memory capacity as reported by the sum of all Kubernetes nodes resources, defined in MB.", +"format": "int32", +"readOnly": true, +"type": "integer" +}, +"nodeCount": { +"description": "Output only. Node count as reported by Kubernetes nodes resources.", +"format": "int32", +"readOnly": true, +"type": "integer" +}, +"nodeProviderId": { +"description": "Output only. Node providerID as reported by the first node in the list of nodes on the Kubernetes endpoint. On Kubernetes platforms that support zero-node clusters (like GKE-on-GCP), the node_count will be zero and the node_provider_id will be empty.", +"readOnly": true, +"type": "string" +}, +"updateTime": { +"description": "Output only. The time at which these details were last updated. This update_time is different from the Membership-level update_time since EndpointDetails are updated internally for API consumers.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"vcpuCount": { +"description": "Output only. vCPU count as reported by Kubernetes nodes resources.", +"format": "int32", +"readOnly": true, +"type": "integer" +} +}, +"type": "object" +}, +"KubernetesResource": { +"description": "KubernetesResource contains the YAML manifests and configuration for Membership Kubernetes resources in the cluster. After CreateMembership or UpdateMembership, these resources should be re-applied in the cluster.", +"id": "KubernetesResource", +"properties": { +"connectResources": { +"description": "Output only. The Kubernetes resources for installing the GKE Connect agent This field is only populated in the Membership returned from a successful long-running operation from CreateMembership or UpdateMembership. It is not populated during normal GetMembership or ListMemberships requests. To get the resource manifest after the initial registration, the caller should make a UpdateMembership call with an empty field mask.", +"items": { +"$ref": "ResourceManifest" +}, +"readOnly": true, +"type": "array" +}, +"membershipCrManifest": { +"description": "Input only. The YAML representation of the Membership CR. This field is ignored for GKE clusters where Hub can read the CR directly. Callers should provide the CR that is currently present in the cluster during CreateMembership or UpdateMembership, or leave this field empty if none exists. The CR manifest is used to validate the cluster has not been registered with another Membership.", +"type": "string" +}, +"membershipResources": { +"description": "Output only. Additional Kubernetes resources that need to be applied to the cluster after Membership creation, and after every update. This field is only populated in the Membership returned from a successful long-running operation from CreateMembership or UpdateMembership. It is not populated during normal GetMembership or ListMemberships requests. To get the resource manifest after the initial registration, the caller should make a UpdateMembership call with an empty field mask.", +"items": { +"$ref": "ResourceManifest" +}, +"readOnly": true, +"type": "array" +}, +"resourceOptions": { +"$ref": "ResourceOptions", +"description": "Optional. Options for Kubernetes resource generation." +} +}, +"type": "object" +}, +"ListLocationsResponse": { +"description": "The response message for Locations.ListLocations.", +"id": "ListLocationsResponse", +"properties": { +"locations": { +"description": "A list of locations that matches the specified filter in the request.", +"items": { +"$ref": "Location" +}, +"type": "array" +}, +"nextPageToken": { +"description": "The standard List next-page token.", +"type": "string" +} +}, +"type": "object" +}, +"ListMembershipsResponse": { +"description": "Response message for the `GkeHubMembershipService.ListMemberships` method.", +"id": "ListMembershipsResponse", +"properties": { +"nextPageToken": { +"description": "A token to request the next page of resources from the `ListMemberships` method. The value of an empty string means that there are no more resources to return.", +"type": "string" +}, +"resources": { +"description": "The list of matching Memberships.", +"items": { +"$ref": "Membership" +}, +"type": "array" +}, +"unreachable": { +"description": "List of locations that could not be reached while fetching this list.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListOperationsResponse": { +"description": "The response message for Operations.ListOperations.", +"id": "ListOperationsResponse", +"properties": { +"nextPageToken": { +"description": "The standard List next-page token.", +"type": "string" +}, +"operations": { +"description": "A list of operations that matches the specified filter in the request.", +"items": { +"$ref": "Operation" +}, +"type": "array" +}, +"unreachable": { +"description": "Unordered list. Unreachable resources. Populated when the request sets `ListOperationsRequest.return_partial_success` and reads across collections. For example, when attempting to list all resources across all supported locations.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"Location": { +"description": "A resource that represents a Google Cloud location.", +"id": "Location", +"properties": { +"displayName": { +"description": "The friendly name for this location, typically a nearby city name. For example, \"Tokyo\".", +"type": "string" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Cross-service attributes for the location. For example {\"cloud.googleapis.com/region\": \"us-east1\"}", +"type": "object" +}, +"locationId": { +"description": "The canonical id for this location. For example: `\"us-east1\"`.", +"type": "string" +}, +"metadata": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "Service-specific metadata. For example the available capacity at the given location.", +"type": "object" +}, +"name": { +"description": "Resource name for the location, which may vary between implementations. For example: `\"projects/example-project/locations/us-east1\"`", +"type": "string" +} +}, +"type": "object" +}, +"Membership": { +"description": "Membership contains information about a member cluster.", +"id": "Membership", +"properties": { +"authority": { +"$ref": "Authority", +"description": "Optional. How to identify workloads from this Membership. See the documentation on Workload Identity for more details: https://cloud.google.com/kubernetes-engine/docs/how-to/workload-identity" +}, +"createTime": { +"description": "Output only. When the Membership was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"deleteTime": { +"description": "Output only. When the Membership was deleted.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"description": { +"description": "Optional. Description of this membership, limited to 63 characters. Must match the regex: `a-zA-Z0-9*`", +"type": "string" +}, +"endpoint": { +"$ref": "MembershipEndpoint", +"description": "Optional. Endpoint information to reach this member." +}, +"externalId": { +"description": "Optional. An externally-generated and managed ID for this Membership. This ID may be modified after creation, but this is not recommended. For GKE clusters, external_id is managed by the Hub API and updates will be ignored. The ID must match the regex: `a-zA-Z0-9*` If this Membership represents a Kubernetes cluster, this value should be set to the UID of the `kube-system` namespace object.", +"type": "string" +}, +"infrastructureType": { +"description": "Optional. The infrastructure type this Membership is running on.", +"enum": [ +"INFRASTRUCTURE_TYPE_UNSPECIFIED", +"ON_PREM", +"MULTI_CLOUD" +], +"enumDescriptions": [ +"No type was specified. Some Hub functionality may require a type be specified, and will not support Memberships with this value.", +"Private infrastructure that is owned or operated by customer. This includes GKE distributions such as GKE-OnPrem and GKE-OnBareMetal.", +"Public cloud infrastructure." +], +"type": "string" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. GCP labels for this membership. These labels are not leveraged by multi-cluster features, instead, we prefer cluster labels, which can be set on GKE cluster or other cluster types.", +"type": "object" +}, +"lastConnectionTime": { +"description": "Output only. For clusters using Connect, the timestamp of the most recent connection established with Google Cloud. This time is updated every several minutes, not continuously. For clusters that do not use GKE Connect, or that have never connected successfully, this field will be unset.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"membershipType": { +"description": "Output only. The type of the membership.", +"enum": [ +"MEMBERSHIP_TYPE_UNSPECIFIED", +"LIGHTWEIGHT" +], +"enumDescriptions": [ +"The MembershipType is not set.", +"The membership supports only lightweight compatible features." +], +"readOnly": true, +"type": "string" +}, +"monitoringConfig": { +"$ref": "MonitoringConfig", +"description": "Optional. The monitoring config information for this membership." +}, +"name": { +"description": "Output only. The full, unique name of this Membership resource in the format `projects/*/locations/*/memberships/{membership_id}`, set during creation. `membership_id` must be a valid RFC 1123 compliant DNS label: 1. At most 63 characters in length 2. It must consist of lower case alphanumeric characters or `-` 3. It must start and end with an alphanumeric character Which can be expressed as the regex: `[a-z0-9]([-a-z0-9]*[a-z0-9])?`, with a maximum length of 63 characters.", +"readOnly": true, +"type": "string" +}, +"state": { +"$ref": "MembershipState", +"description": "Output only. State of the Membership resource.", +"readOnly": true +}, +"uniqueId": { +"description": "Output only. Google-generated UUID for this resource. This is unique across all Membership resources. If a Membership resource is deleted and another resource with the same name is created, it gets a different unique_id.", +"readOnly": true, +"type": "string" +}, +"updateTime": { +"description": "Output only. When the Membership was last updated.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"MembershipEndpoint": { +"description": "MembershipEndpoint contains information needed to contact a Kubernetes API, endpoint and any additional Kubernetes metadata.", +"id": "MembershipEndpoint", +"properties": { +"applianceCluster": { +"$ref": "ApplianceCluster", +"description": "Optional. Specific information for a GDC Edge Appliance cluster." +}, +"edgeCluster": { +"$ref": "EdgeCluster", +"description": "Optional. Specific information for a Google Edge cluster." +}, +"gkeCluster": { +"$ref": "GkeCluster", +"description": "Optional. Specific information for a GKE-on-GCP cluster." +}, +"kubernetesMetadata": { +"$ref": "KubernetesMetadata", +"description": "Output only. Useful Kubernetes-specific metadata.", +"readOnly": true +}, +"kubernetesResource": { +"$ref": "KubernetesResource", +"description": "Optional. The in-cluster Kubernetes Resources that should be applied for a correctly registered cluster, in the steady state. These resources: * Ensure that the cluster is exclusively registered to one and only one Hub Membership. * Propagate Workload Pool Information available in the Membership Authority field. * Ensure proper initial configuration of default Hub Features." +}, +"multiCloudCluster": { +"$ref": "MultiCloudCluster", +"description": "Optional. Specific information for a GKE Multi-Cloud cluster." +}, +"onPremCluster": { +"$ref": "OnPremCluster", +"description": "Optional. Specific information for a GKE On-Prem cluster. An onprem user-cluster who has no resourceLink is not allowed to use this field, it should have a nil \"type\" instead." +} +}, +"type": "object" +}, +"MembershipState": { +"description": "State of the Membership resource.", +"id": "MembershipState", +"properties": { +"code": { +"description": "Output only. The current state of the Membership resource.", +"enum": [ +"CODE_UNSPECIFIED", +"CREATING", +"READY", +"DELETING", +"UPDATING", +"SERVICE_UPDATING" +], +"enumDescriptions": [ +"The code is not set.", +"The cluster is being registered.", +"The cluster is registered.", +"The cluster is being unregistered.", +"The Membership is being updated.", +"The Membership is being updated by the Hub Service." +], +"readOnly": true, +"type": "string" +}, +"description": { +"deprecated": true, +"description": "This field is never set by the Hub Service.", +"type": "string" +}, +"updateTime": { +"deprecated": true, +"description": "This field is never set by the Hub Service.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"MonitoringConfig": { +"description": "MonitoringConfig informs Fleet-based applications/services/UIs how the metrics for the underlying cluster is reported to cloud monitoring services. It can be set from empty to non-empty, but can't be mutated directly to prevent accidentally breaking the constinousty of metrics.", +"id": "MonitoringConfig", +"properties": { +"cluster": { +"description": "Optional. Cluster name used to report metrics. For Anthos on VMWare/Baremetal/MultiCloud clusters, it would be in format {cluster_type}/{cluster_name}, e.g., \"awsClusters/cluster_1\".", +"type": "string" +}, +"clusterHash": { +"description": "Optional. For GKE and Multicloud clusters, this is the UUID of the cluster resource. For VMWare and Baremetal clusters, this is the kube-system UID.", +"type": "string" +}, +"kubernetesMetricsPrefix": { +"description": "Optional. Kubernetes system metrics, if available, are written to this prefix. This defaults to kubernetes.io for GKE, and kubernetes.io/anthos for Anthos eventually. Noted: Anthos MultiCloud will have kubernetes.io prefix today but will migration to be under kubernetes.io/anthos.", +"type": "string" +}, +"location": { +"description": "Optional. Location used to report Metrics", +"type": "string" +}, +"projectId": { +"description": "Optional. Project used to report Metrics", +"type": "string" +} +}, +"type": "object" +}, +"MultiCloudCluster": { +"description": "MultiCloudCluster contains information specific to GKE Multi-Cloud clusters.", +"id": "MultiCloudCluster", +"properties": { +"clusterMissing": { +"description": "Output only. If cluster_missing is set then it denotes that API(gkemulticloud.googleapis.com) resource for this GKE Multi-Cloud cluster no longer exists.", +"readOnly": true, +"type": "boolean" +}, +"resourceLink": { +"description": "Immutable. Self-link of the GCP resource for the GKE Multi-Cloud cluster. For example: //gkemulticloud.googleapis.com/projects/my-project/locations/us-west1-a/awsClusters/my-cluster //gkemulticloud.googleapis.com/projects/my-project/locations/us-west1-a/azureClusters/my-cluster //gkemulticloud.googleapis.com/projects/my-project/locations/us-west1-a/attachedClusters/my-cluster", +"type": "string" +} +}, +"type": "object" +}, +"OnPremCluster": { +"description": "OnPremCluster contains information specific to GKE On-Prem clusters.", +"id": "OnPremCluster", +"properties": { +"adminCluster": { +"description": "Immutable. Whether the cluster is an admin cluster.", +"type": "boolean" +}, +"clusterMissing": { +"description": "Output only. If cluster_missing is set then it denotes that API(gkeonprem.googleapis.com) resource for this GKE On-Prem cluster no longer exists.", +"readOnly": true, +"type": "boolean" +}, +"clusterType": { +"description": "Immutable. The on prem cluster's type.", +"enum": [ +"CLUSTERTYPE_UNSPECIFIED", +"BOOTSTRAP", +"HYBRID", +"STANDALONE", +"USER" +], +"enumDescriptions": [ +"The ClusterType is not set.", +"The ClusterType is bootstrap cluster.", +"The ClusterType is baremetal hybrid cluster.", +"The ClusterType is baremetal standalone cluster.", +"The ClusterType is user cluster." +], +"type": "string" +}, +"resourceLink": { +"description": "Immutable. Self-link of the GCP resource for the GKE On-Prem cluster. For example: //gkeonprem.googleapis.com/projects/my-project/locations/us-west1-a/vmwareClusters/my-cluster //gkeonprem.googleapis.com/projects/my-project/locations/us-west1-a/bareMetalClusters/my-cluster", +"type": "string" +} +}, +"type": "object" +}, +"Operation": { +"description": "This resource represents a long-running operation that is the result of a network API call.", +"id": "Operation", +"properties": { +"done": { +"description": "If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.", +"type": "boolean" +}, +"error": { +"$ref": "GoogleRpcStatus", +"description": "The error result of the operation in case of failure or cancellation." +}, +"metadata": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.", +"type": "object" +}, +"name": { +"description": "The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.", +"type": "string" +}, +"response": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "The normal, successful response of the operation. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.", +"type": "object" +} +}, +"type": "object" +}, +"OperationMetadata": { +"description": "Represents the metadata of the long-running operation.", +"id": "OperationMetadata", +"properties": { +"apiVersion": { +"description": "Output only. API version used to start the operation.", +"readOnly": true, +"type": "string" +}, +"cancelRequested": { +"description": "Output only. Identifies whether the user has requested cancellation of the operation. Operations that have successfully been cancelled have Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.", +"readOnly": true, +"type": "boolean" +}, +"createTime": { +"description": "Output only. The time the operation was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"endTime": { +"description": "Output only. The time the operation finished running.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"statusDetail": { +"description": "Output only. Human-readable status of the operation, if any.", +"readOnly": true, +"type": "string" +}, +"target": { +"description": "Output only. Server-defined resource path for the target of the operation.", +"readOnly": true, +"type": "string" +}, +"verb": { +"description": "Output only. Name of the verb executed by the operation.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"Policy": { +"description": "An Identity and Access Management (IAM) policy, which specifies access controls for Google Cloud resources. A `Policy` is a collection of `bindings`. A `binding` binds one or more `members`, or principals, to a single `role`. Principals can be user accounts, service accounts, Google groups, and domains (such as G Suite). A `role` is a named list of permissions; each `role` can be an IAM predefined role or a user-created custom role. For some types of Google Cloud resources, a `binding` can also specify a `condition`, which is a logical expression that allows access to a resource only if the expression evaluates to `true`. A condition can add constraints based on attributes of the request, the resource, or both. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). **JSON example:** ``` { \"bindings\": [ { \"role\": \"roles/resourcemanager.organizationAdmin\", \"members\": [ \"user:mike@example.com\", \"group:admins@example.com\", \"domain:google.com\", \"serviceAccount:my-project-id@appspot.gserviceaccount.com\" ] }, { \"role\": \"roles/resourcemanager.organizationViewer\", \"members\": [ \"user:eve@example.com\" ], \"condition\": { \"title\": \"expirable access\", \"description\": \"Does not grant access after Sep 2020\", \"expression\": \"request.time < timestamp('2020-10-01T00:00:00.000Z')\", } } ], \"etag\": \"BwWWja0YfJA=\", \"version\": 3 } ``` **YAML example:** ``` bindings: - members: - user:mike@example.com - group:admins@example.com - domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.com role: roles/resourcemanager.organizationViewer condition: title: expirable access description: Does not grant access after Sep 2020 expression: request.time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 ``` For a description of IAM and its features, see the [IAM documentation](https://cloud.google.com/iam/docs/).", +"id": "Policy", +"properties": { +"auditConfigs": { +"description": "Specifies cloud audit logging configuration for this policy.", +"items": { +"$ref": "AuditConfig" +}, +"type": "array" +}, +"bindings": { +"description": "Associates a list of `members`, or principals, with a `role`. Optionally, may specify a `condition` that determines how and when the `bindings` are applied. Each of the `bindings` must contain at least one principal. The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250 of these principals can be Google groups. Each occurrence of a principal counts towards these limits. For example, if the `bindings` grant 50 different roles to `user:alice@example.com`, and not to any other principal, then you can add another 1,450 principals to the `bindings` in the `Policy`.", +"items": { +"$ref": "Binding" +}, +"type": "array" +}, +"etag": { +"description": "`etag` is used for optimistic concurrency control as a way to help prevent simultaneous updates of a policy from overwriting each other. It is strongly suggested that systems make use of the `etag` in the read-modify-write cycle to perform policy updates in order to avoid race conditions: An `etag` is returned in the response to `getIamPolicy`, and systems are expected to put that etag in the request to `setIamPolicy` to ensure that their change will be applied to the same version of the policy. **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost.", +"format": "byte", +"type": "string" +}, +"version": { +"description": "Specifies the format of the policy. Valid values are `0`, `1`, and `3`. Requests that specify an invalid value are rejected. Any operation that affects conditional role bindings must specify version `3`. This requirement applies to the following operations: * Getting a policy that includes a conditional role binding * Adding a conditional role binding to a policy * Changing a conditional role binding in a policy * Removing any role binding, with or without a condition, from a policy that includes conditions **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost. If a policy does not include any conditions, operations on that policy may specify any valid version or leave the field unset. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"ResourceManifest": { +"description": "ResourceManifest represents a single Kubernetes resource to be applied to the cluster.", +"id": "ResourceManifest", +"properties": { +"clusterScoped": { +"description": "Whether the resource provided in the manifest is `cluster_scoped`. If unset, the manifest is assumed to be namespace scoped. This field is used for REST mapping when applying the resource in a cluster.", +"type": "boolean" +}, +"manifest": { +"description": "YAML manifest of the resource.", +"type": "string" +} +}, +"type": "object" +}, +"ResourceOptions": { +"description": "ResourceOptions represent options for Kubernetes resource generation.", +"id": "ResourceOptions", +"properties": { +"connectVersion": { +"description": "Optional. The Connect agent version to use for connect_resources. Defaults to the latest GKE Connect version. The version must be a currently supported version, obsolete versions will be rejected.", +"type": "string" +}, +"k8sGitVersion": { +"description": "Optional. Git version of the Kubernetes cluster. This is only used to gate the Connect Agent migration to svc.id.goog on GDC-SO 1.33.100 patch and above.", +"type": "string" +}, +"k8sVersion": { +"description": "Optional. Major and minor version of the Kubernetes cluster. This is only used to determine which version to use for the CustomResourceDefinition resources, `apiextensions/v1beta1` or`apiextensions/v1`.", +"type": "string" +}, +"v1beta1Crd": { +"description": "Optional. Use `apiextensions/v1beta1` instead of `apiextensions/v1` for CustomResourceDefinition resources. This option should be set for clusters with Kubernetes apiserver versions <1.16.", +"type": "boolean" +} +}, +"type": "object" +}, +"SetIamPolicyRequest": { +"description": "Request message for `SetIamPolicy` method.", +"id": "SetIamPolicyRequest", +"properties": { +"policy": { +"$ref": "Policy", +"description": "REQUIRED: The complete policy to be applied to the `resource`. The size of the policy is limited to a few 10s of KB. An empty policy is a valid policy but certain Google Cloud services (such as Projects) might reject them." +}, +"updateMask": { +"description": "OPTIONAL: A FieldMask specifying which fields of the policy to modify. Only the fields in the mask will be modified. If no mask is provided, the following default mask is used: `paths: \"bindings, etag\"`", +"format": "google-fieldmask", +"type": "string" +} +}, +"type": "object" +}, +"TestIamPermissionsRequest": { +"description": "Request message for `TestIamPermissions` method.", +"id": "TestIamPermissionsRequest", +"properties": { +"permissions": { +"description": "The set of permissions to check for the `resource`. Permissions with wildcards (such as `*` or `storage.*`) are not allowed. For more information see [IAM Overview](https://cloud.google.com/iam/docs/overview#permissions).", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"TestIamPermissionsResponse": { +"description": "Response message for `TestIamPermissions` method.", +"id": "TestIamPermissionsResponse", +"properties": { +"permissions": { +"description": "A subset of `TestPermissionsRequest.permissions` that the caller is allowed.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"TypeMeta": { +"description": "TypeMeta is the type information needed for content unmarshalling of Kubernetes resources in the manifest.", +"id": "TypeMeta", +"properties": { +"apiVersion": { +"description": "APIVersion of the resource (e.g. v1).", +"type": "string" +}, +"kind": { +"description": "Kind of the resource (e.g. Deployment).", +"type": "string" +} +}, +"type": "object" +}, +"ValidateExclusivityResponse": { +"description": "The response of exclusivity artifacts validation result status.", +"id": "ValidateExclusivityResponse", +"properties": { +"status": { +"$ref": "GoogleRpcStatus", +"description": "The validation result. * `OK` means that exclusivity is validated, assuming the manifest produced by GenerateExclusivityManifest is successfully applied. * `ALREADY_EXISTS` means that the Membership CRD is already owned by another Hub. See `status.message` for more information." +} +}, +"type": "object" +} +}, +"servicePath": "", +"title": "GKE Hub API", +"version": "v1beta1", +"version_module": true +} \ No newline at end of file diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/gkeonprem.v1.json b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/gkeonprem.v1.json new file mode 100644 index 0000000000000000000000000000000000000000..4b506d7af25ad4f71c79244fd227a7967ffdabd9 --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/gkeonprem.v1.json @@ -0,0 +1,7128 @@ +{ +"auth": { +"oauth2": { +"scopes": { +"https://www.googleapis.com/auth/cloud-platform": { +"description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." +} +} +} +}, +"basePath": "", +"baseUrl": "https://gkeonprem.googleapis.com/", +"batchPath": "batch", +"canonicalName": "GKE On-Prem", +"description": "", +"discoveryVersion": "v1", +"documentationLink": "https://cloud.google.com/anthos/clusters/docs/on-prem/", +"fullyEncodeReservedExpansion": true, +"icons": { +"x16": "http://www.google.com/images/icons/product/search-16.gif", +"x32": "http://www.google.com/images/icons/product/search-32.gif" +}, +"id": "gkeonprem:v1", +"kind": "discovery#restDescription", +"mtlsRootUrl": "https://gkeonprem.mtls.googleapis.com/", +"name": "gkeonprem", +"ownerDomain": "google.com", +"ownerName": "Google", +"parameters": { +"$.xgafv": { +"description": "V1 error format.", +"enum": [ +"1", +"2" +], +"enumDescriptions": [ +"v1 error format", +"v2 error format" +], +"location": "query", +"type": "string" +}, +"access_token": { +"description": "OAuth access token.", +"location": "query", +"type": "string" +}, +"alt": { +"default": "json", +"description": "Data format for response.", +"enum": [ +"json", +"media", +"proto" +], +"enumDescriptions": [ +"Responses with Content-Type of application/json", +"Media download with context-dependent Content-Type", +"Responses with Content-Type of application/x-protobuf" +], +"location": "query", +"type": "string" +}, +"callback": { +"description": "JSONP", +"location": "query", +"type": "string" +}, +"fields": { +"description": "Selector specifying which fields to include in a partial response.", +"location": "query", +"type": "string" +}, +"key": { +"description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", +"location": "query", +"type": "string" +}, +"oauth_token": { +"description": "OAuth 2.0 token for the current user.", +"location": "query", +"type": "string" +}, +"prettyPrint": { +"default": "true", +"description": "Returns response with indentations and line breaks.", +"location": "query", +"type": "boolean" +}, +"quotaUser": { +"description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.", +"location": "query", +"type": "string" +}, +"uploadType": { +"description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", +"location": "query", +"type": "string" +}, +"upload_protocol": { +"description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", +"location": "query", +"type": "string" +} +}, +"protocol": "rest", +"resources": { +"projects": { +"resources": { +"locations": { +"methods": { +"get": { +"description": "Gets information about a location.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}", +"httpMethod": "GET", +"id": "gkeonprem.projects.locations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Resource name for the location.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Location" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists information about the supported locations for this service.", +"flatPath": "v1/projects/{projectsId}/locations", +"httpMethod": "GET", +"id": "gkeonprem.projects.locations.list", +"parameterOrder": [ +"name" +], +"parameters": { +"extraLocationTypes": { +"description": "Optional. Do not use this field. It is unsupported and is ignored unless explicitly documented otherwise. This is primarily for internal usage.", +"location": "query", +"repeated": true, +"type": "string" +}, +"filter": { +"description": "A filter to narrow down results to a preferred subset. The filtering language accepts strings like `\"displayName=tokyo\"`, and is documented in more detail in [AIP-160](https://google.aip.dev/160).", +"location": "query", +"type": "string" +}, +"name": { +"description": "The resource that owns the locations collection, if applicable.", +"location": "path", +"pattern": "^projects/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The maximum number of results to return. If not set, the service selects a default.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A page token received from the `next_page_token` field in the response. Send that page token to receive the subsequent page.", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}/locations", +"response": { +"$ref": "ListLocationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"bareMetalAdminClusters": { +"methods": { +"create": { +"description": "Creates a new bare metal admin cluster in a given project and location. The API needs to be combined with creating a bootstrap cluster to work. See: https://cloud.google.com/anthos/clusters/docs/bare-metal/latest/installing/creating-clusters/create-admin-cluster-api#prepare_bootstrap_environment", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/bareMetalAdminClusters", +"httpMethod": "POST", +"id": "gkeonprem.projects.locations.bareMetalAdminClusters.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"allowPreflightFailure": { +"description": "Optional. If set to true, CLM will force CCFE to persist the cluster resource in RMS when the creation fails during standalone preflight checks. In that case the subsequent create call will fail with \"cluster already exists\" error and hence a update cluster is required to fix the cluster.", +"location": "query", +"type": "boolean" +}, +"bareMetalAdminClusterId": { +"description": "Required. User provided identifier that is used as part of the resource name; must conform to RFC-1034 and additionally restrict to lower-cased letters. This comes out roughly to: /^a-z+[a-z0-9]$/", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent of the project and location where the cluster is created in. Format: \"projects/{project}/locations/{location}\"", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +}, +"validateOnly": { +"description": "Validate the request without actually doing any updates.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1/{+parent}/bareMetalAdminClusters", +"request": { +"$ref": "BareMetalAdminCluster" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"enroll": { +"description": "Enrolls an existing bare metal admin cluster to the Anthos On-Prem API within a given project and location. Through enrollment, an existing admin cluster will become Anthos On-Prem API managed. The corresponding GCP resources will be created and all future modifications to the cluster will be expected to be performed through the API.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/bareMetalAdminClusters:enroll", +"httpMethod": "POST", +"id": "gkeonprem.projects.locations.bareMetalAdminClusters.enroll", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The parent of the project and location where the cluster is enrolled in. Format: \"projects/{project}/locations/{location}\"", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/bareMetalAdminClusters:enroll", +"request": { +"$ref": "EnrollBareMetalAdminClusterRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets details of a single bare metal admin cluster.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/bareMetalAdminClusters/{bareMetalAdminClustersId}", +"httpMethod": "GET", +"id": "gkeonprem.projects.locations.bareMetalAdminClusters.get", +"parameterOrder": [ +"name" +], +"parameters": { +"allowMissing": { +"description": "Optional. If true, return BareMetal Admin Cluster including the one that only exists in RMS.", +"location": "query", +"type": "boolean" +}, +"name": { +"description": "Required. Name of the bare metal admin cluster to get. Format: \"projects/{project}/locations/{location}/bareMetalAdminClusters/{bare_metal_admin_cluster}\"", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/bareMetalAdminClusters/[^/]+$", +"required": true, +"type": "string" +}, +"view": { +"description": "View for bare metal admin cluster. When `BASIC` is specified, only the cluster resource name and membership are returned. The default/unset value `CLUSTER_VIEW_UNSPECIFIED` is the same as `FULL', which returns the complete cluster configuration details.", +"enum": [ +"CLUSTER_VIEW_UNSPECIFIED", +"BASIC", +"FULL" +], +"enumDescriptions": [ +"If the value is not set, the default `FULL` view is used.", +"Includes basic information of a cluster resource including cluster resource name and membership.", +"Includes the complete configuration for bare metal admin cluster resource. This is the default value for GetBareMetalAdminClusterRequest method." +], +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "BareMetalAdminCluster" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"getIamPolicy": { +"description": "Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/bareMetalAdminClusters/{bareMetalAdminClustersId}:getIamPolicy", +"httpMethod": "GET", +"id": "gkeonprem.projects.locations.bareMetalAdminClusters.getIamPolicy", +"parameterOrder": [ +"resource" +], +"parameters": { +"options.requestedPolicyVersion": { +"description": "Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).", +"format": "int32", +"location": "query", +"type": "integer" +}, +"resource": { +"description": "REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/bareMetalAdminClusters/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+resource}:getIamPolicy", +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists bare metal admin clusters in a given project and location.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/bareMetalAdminClusters", +"httpMethod": "GET", +"id": "gkeonprem.projects.locations.bareMetalAdminClusters.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"allowMissing": { +"description": "Optional. If true, return list of BareMetal Admin Clusters including the ones that only exists in RMS.", +"location": "query", +"type": "boolean" +}, +"pageSize": { +"description": "Requested page size. Server may return fewer items than requested. If unspecified, at most 50 clusters will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A token identifying a page of results the server should return.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent of the project and location where the clusters are listed in. Format: \"projects/{project}/locations/{location}\"", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +}, +"view": { +"description": "View for bare metal admin clusters. When `BASIC` is specified, only the admin cluster resource name and membership are returned. The default/unset value `CLUSTER_VIEW_UNSPECIFIED` is the same as `FULL', which returns the complete admin cluster configuration details.", +"enum": [ +"CLUSTER_VIEW_UNSPECIFIED", +"BASIC", +"FULL" +], +"enumDescriptions": [ +"If the value is not set, the default `FULL` view is used.", +"Includes basic information of a admin cluster resource including admin cluster resource name and membership.", +"Includes the complete configuration for bare metal admin cluster resource. This is the default value for ListBareMetalAdminClustersRequest method." +], +"location": "query", +"type": "string" +} +}, +"path": "v1/{+parent}/bareMetalAdminClusters", +"response": { +"$ref": "ListBareMetalAdminClustersResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates the parameters of a single bare metal admin cluster.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/bareMetalAdminClusters/{bareMetalAdminClustersId}", +"httpMethod": "PATCH", +"id": "gkeonprem.projects.locations.bareMetalAdminClusters.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Immutable. The bare metal admin cluster resource name.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/bareMetalAdminClusters/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Required. Field mask is used to specify the fields to be overwritten in the BareMetalAdminCluster resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all populated fields in the BareMetalAdminCluster message will be updated. Empty fields will be ignored unless a field mask is used.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +}, +"validateOnly": { +"description": "Validate the request without actually doing any updates.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "BareMetalAdminCluster" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"queryVersionConfig": { +"description": "Queries the bare metal admin cluster version config.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/bareMetalAdminClusters:queryVersionConfig", +"httpMethod": "POST", +"id": "gkeonprem.projects.locations.bareMetalAdminClusters.queryVersionConfig", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The parent of the project and location to query for version config. Format: \"projects/{project}/locations/{location}\"", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +}, +"upgradeConfig.clusterName": { +"description": "The admin cluster resource name. This is the full resource name of the admin cluster resource. Format: \"projects/{project}/locations/{location}/bareMetalAdminClusters/{bare_metal_admin_cluster}\"", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+parent}/bareMetalAdminClusters:queryVersionConfig", +"response": { +"$ref": "QueryBareMetalAdminVersionConfigResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"setIamPolicy": { +"description": "Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/bareMetalAdminClusters/{bareMetalAdminClustersId}:setIamPolicy", +"httpMethod": "POST", +"id": "gkeonprem.projects.locations.bareMetalAdminClusters.setIamPolicy", +"parameterOrder": [ +"resource" +], +"parameters": { +"resource": { +"description": "REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/bareMetalAdminClusters/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+resource}:setIamPolicy", +"request": { +"$ref": "SetIamPolicyRequest" +}, +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"testIamPermissions": { +"description": "Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may \"fail open\" without warning.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/bareMetalAdminClusters/{bareMetalAdminClustersId}:testIamPermissions", +"httpMethod": "POST", +"id": "gkeonprem.projects.locations.bareMetalAdminClusters.testIamPermissions", +"parameterOrder": [ +"resource" +], +"parameters": { +"resource": { +"description": "REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/bareMetalAdminClusters/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+resource}:testIamPermissions", +"request": { +"$ref": "TestIamPermissionsRequest" +}, +"response": { +"$ref": "TestIamPermissionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"unenroll": { +"description": "Unenrolls an existing bare metal admin cluster from the Anthos On-Prem API within a given project and location. Unenrollment removes the Cloud reference to the cluster without modifying the underlying OnPrem Resources. Clusters will continue to run; however, they will no longer be accessible through the Anthos On-Prem API or its clients.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/bareMetalAdminClusters/{bareMetalAdminClustersId}:unenroll", +"httpMethod": "DELETE", +"id": "gkeonprem.projects.locations.bareMetalAdminClusters.unenroll", +"parameterOrder": [ +"name" +], +"parameters": { +"allowMissing": { +"description": "If set to true, and the bare metal admin cluster is not found, the request will succeed but no action will be taken on the server and return a completed LRO.", +"location": "query", +"type": "boolean" +}, +"etag": { +"description": "The current etag of the bare metal admin cluster. If an etag is provided and does not match the current etag of the cluster, deletion will be blocked and an ABORTED error will be returned.", +"location": "query", +"type": "string" +}, +"ignoreErrors": { +"description": "If set to true, the unenrollment of a bare metal admin cluster resource will succeed even if errors occur during unenrollment. This parameter can be used when you want to unenroll admin cluster resource and the on-prem admin cluster is disconnected / unreachable. WARNING: Using this parameter when your admin cluster still exists may result in a deleted GCP admin cluster but existing resourcelink in on-prem admin cluster and membership.", +"location": "query", +"type": "boolean" +}, +"name": { +"description": "Required. Name of the bare metal admin cluster to be unenrolled. Format: \"projects/{project}/locations/{location}/bareMetalAdminClusters/{cluster}\"", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/bareMetalAdminClusters/[^/]+$", +"required": true, +"type": "string" +}, +"validateOnly": { +"description": "Validate the request without actually doing any updates.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1/{+name}:unenroll", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"operations": { +"methods": { +"get": { +"description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/bareMetalAdminClusters/{bareMetalAdminClustersId}/operations/{operationsId}", +"httpMethod": "GET", +"id": "gkeonprem.projects.locations.bareMetalAdminClusters.operations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/bareMetalAdminClusters/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/bareMetalAdminClusters/{bareMetalAdminClustersId}/operations", +"httpMethod": "GET", +"id": "gkeonprem.projects.locations.bareMetalAdminClusters.operations.list", +"parameterOrder": [ +"name" +], +"parameters": { +"filter": { +"description": "The standard list filter.", +"location": "query", +"type": "string" +}, +"name": { +"description": "The name of the operation's parent resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/bareMetalAdminClusters/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The standard list page size.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The standard list page token.", +"location": "query", +"type": "string" +}, +"returnPartialSuccess": { +"description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `\"projects/example/locations/-\"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1/{+name}/operations", +"response": { +"$ref": "ListOperationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +}, +"bareMetalClusters": { +"methods": { +"create": { +"description": "Creates a new bare metal cluster in a given project and location.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/bareMetalClusters", +"httpMethod": "POST", +"id": "gkeonprem.projects.locations.bareMetalClusters.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"allowPreflightFailure": { +"description": "Optional. If set to true, CLM will force CCFE to persist the cluster resource in RMS when the creation fails during standalone preflight checks. In that case the subsequent create call will fail with \"cluster already exists\" error and hence a update cluster is required to fix the cluster.", +"location": "query", +"type": "boolean" +}, +"bareMetalClusterId": { +"description": "Required. User provided identifier that is used as part of the resource name; must conform to RFC-1034 and additionally restrict to lower-cased letters. This comes out roughly to: /^a-z+[a-z0-9]$/", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent of the project and location where the cluster is created in. Format: \"projects/{project}/locations/{location}\"", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +}, +"validateOnly": { +"description": "Validate the request without actually doing any updates.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1/{+parent}/bareMetalClusters", +"request": { +"$ref": "BareMetalCluster" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a single bare metal Cluster.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/bareMetalClusters/{bareMetalClustersId}", +"httpMethod": "DELETE", +"id": "gkeonprem.projects.locations.bareMetalClusters.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"allowMissing": { +"description": "If set to true, and the bare metal cluster is not found, the request will succeed but no action will be taken on the server and return a completed LRO.", +"location": "query", +"type": "boolean" +}, +"etag": { +"description": "The current etag of the bare metal Cluster. If an etag is provided and does not match the current etag of the cluster, deletion will be blocked and an ABORTED error will be returned.", +"location": "query", +"type": "string" +}, +"force": { +"description": "If set to true, any node pools from the cluster will also be deleted.", +"location": "query", +"type": "boolean" +}, +"ignoreErrors": { +"description": "If set to true, the deletion of a bare metal user cluster resource will succeed even if errors occur during deletion. This parameter can be used when you want to delete GCP's cluster resource and the on-prem admin cluster that hosts your user cluster is disconnected / unreachable or deleted. WARNING: Using this parameter when your user cluster still exists may result in a deleted GCP user cluster but an existing on-prem user cluster.", +"location": "query", +"type": "boolean" +}, +"name": { +"description": "Required. Name of the bare metal user cluster to be deleted. Format: \"projects/{project}/locations/{location}/bareMetalClusters/{bare_metal_cluster}\"", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/bareMetalClusters/[^/]+$", +"required": true, +"type": "string" +}, +"validateOnly": { +"description": "Validate the request without actually doing any updates.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"enroll": { +"description": "Enrolls an existing bare metal user cluster and its node pools to the Anthos On-Prem API within a given project and location. Through enrollment, an existing cluster will become Anthos On-Prem API managed. The corresponding GCP resources will be created and all future modifications to the cluster and/or its node pools will be expected to be performed through the API.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/bareMetalClusters:enroll", +"httpMethod": "POST", +"id": "gkeonprem.projects.locations.bareMetalClusters.enroll", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The parent of the project and location where the cluster is enrolled in. Format: \"projects/{project}/locations/{location}\"", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/bareMetalClusters:enroll", +"request": { +"$ref": "EnrollBareMetalClusterRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets details of a single bare metal Cluster.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/bareMetalClusters/{bareMetalClustersId}", +"httpMethod": "GET", +"id": "gkeonprem.projects.locations.bareMetalClusters.get", +"parameterOrder": [ +"name" +], +"parameters": { +"allowMissing": { +"description": "Optional. If true, return BareMetal Cluster including the one that only exists in RMS.", +"location": "query", +"type": "boolean" +}, +"name": { +"description": "Required. Name of the bare metal user cluster to get. Format: \"projects/{project}/locations/{location}/bareMetalClusters/{bare_metal_cluster}\"", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/bareMetalClusters/[^/]+$", +"required": true, +"type": "string" +}, +"view": { +"description": "View for bare metal user cluster. When `BASIC` is specified, only the cluster resource name and admin cluster membership are returned. The default/unset value `CLUSTER_VIEW_UNSPECIFIED` is the same as `FULL', which returns the complete cluster configuration details.", +"enum": [ +"CLUSTER_VIEW_UNSPECIFIED", +"BASIC", +"FULL" +], +"enumDescriptions": [ +"If the value is not set, the default `FULL` view is used.", +"Includes basic information of a cluster resource including cluster resource name and admin cluster membership.", +"Includes the complete configuration for bare metal cluster resource. This is the default value for GetBareMetalClusterRequest method." +], +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "BareMetalCluster" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"getIamPolicy": { +"description": "Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/bareMetalClusters/{bareMetalClustersId}:getIamPolicy", +"httpMethod": "GET", +"id": "gkeonprem.projects.locations.bareMetalClusters.getIamPolicy", +"parameterOrder": [ +"resource" +], +"parameters": { +"options.requestedPolicyVersion": { +"description": "Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).", +"format": "int32", +"location": "query", +"type": "integer" +}, +"resource": { +"description": "REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/bareMetalClusters/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+resource}:getIamPolicy", +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists bare metal clusters in a given project and location.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/bareMetalClusters", +"httpMethod": "GET", +"id": "gkeonprem.projects.locations.bareMetalClusters.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"allowMissing": { +"description": "Optional. If true, return list of BareMetal Clusters including the ones that only exists in RMS.", +"location": "query", +"type": "boolean" +}, +"filter": { +"description": "A resource filtering expression following https://google.aip.dev/160. When non-empty, only resource's whose attributes field matches the filter are returned.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Requested page size. Server may return fewer items than requested. If unspecified, at most 50 clusters will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A token identifying a page of results the server should return.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent of the project and location where the clusters are listed in. Format: \"projects/{project}/locations/{location}\"", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +}, +"view": { +"description": "View for bare metal Clusters. When `BASIC` is specified, only the cluster resource name and admin cluster membership are returned. The default/unset value `CLUSTER_VIEW_UNSPECIFIED` is the same as `FULL', which returns the complete cluster configuration details.", +"enum": [ +"CLUSTER_VIEW_UNSPECIFIED", +"BASIC", +"FULL" +], +"enumDescriptions": [ +"If the value is not set, the default `FULL` view is used.", +"Includes basic information of a cluster resource including cluster resource name and admin cluster membership.", +"Includes the complete configuration for bare metal cluster resource. This is the default value for ListBareMetalClustersRequest method." +], +"location": "query", +"type": "string" +} +}, +"path": "v1/{+parent}/bareMetalClusters", +"response": { +"$ref": "ListBareMetalClustersResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates the parameters of a single bare metal Cluster.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/bareMetalClusters/{bareMetalClustersId}", +"httpMethod": "PATCH", +"id": "gkeonprem.projects.locations.bareMetalClusters.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"allowMissing": { +"description": "If set to true, and the bare metal cluster is not found, the request will create a new bare metal cluster with the provided configuration. The user must have both create and update permission to call Update with allow_missing set to true.", +"location": "query", +"type": "boolean" +}, +"name": { +"description": "Immutable. The bare metal user cluster resource name.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/bareMetalClusters/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Required. Field mask is used to specify the fields to be overwritten in the BareMetalCluster resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all populated fields in the BareMetalCluster message will be updated. Empty fields will be ignored unless a field mask is used.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +}, +"validateOnly": { +"description": "Validate the request without actually doing any updates.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "BareMetalCluster" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"queryVersionConfig": { +"description": "Queries the bare metal user cluster version config.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/bareMetalClusters:queryVersionConfig", +"httpMethod": "POST", +"id": "gkeonprem.projects.locations.bareMetalClusters.queryVersionConfig", +"parameterOrder": [ +"parent" +], +"parameters": { +"createConfig.adminClusterMembership": { +"description": "The admin cluster membership. This is the full resource name of the admin cluster's fleet membership. Format: \"projects/{project}/locations/{location}/memberships/{membership}\"", +"location": "query", +"type": "string" +}, +"createConfig.adminClusterName": { +"description": "The admin cluster resource name. This is the full resource name of the admin cluster resource. Format: \"projects/{project}/locations/{location}/bareMetalAdminClusters/{bare_metal_admin_cluster}\"", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent of the project and location to query for version config. Format: \"projects/{project}/locations/{location}\"", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +}, +"upgradeConfig.clusterName": { +"description": "The user cluster resource name. This is the full resource name of the user cluster resource. Format: \"projects/{project}/locations/{location}/bareMetalClusters/{bare_metal_cluster}\"", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+parent}/bareMetalClusters:queryVersionConfig", +"response": { +"$ref": "QueryBareMetalVersionConfigResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"setIamPolicy": { +"description": "Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/bareMetalClusters/{bareMetalClustersId}:setIamPolicy", +"httpMethod": "POST", +"id": "gkeonprem.projects.locations.bareMetalClusters.setIamPolicy", +"parameterOrder": [ +"resource" +], +"parameters": { +"resource": { +"description": "REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/bareMetalClusters/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+resource}:setIamPolicy", +"request": { +"$ref": "SetIamPolicyRequest" +}, +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"testIamPermissions": { +"description": "Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may \"fail open\" without warning.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/bareMetalClusters/{bareMetalClustersId}:testIamPermissions", +"httpMethod": "POST", +"id": "gkeonprem.projects.locations.bareMetalClusters.testIamPermissions", +"parameterOrder": [ +"resource" +], +"parameters": { +"resource": { +"description": "REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/bareMetalClusters/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+resource}:testIamPermissions", +"request": { +"$ref": "TestIamPermissionsRequest" +}, +"response": { +"$ref": "TestIamPermissionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"unenroll": { +"description": "Unenrolls an existing bare metal user cluster and its node pools from the Anthos On-Prem API within a given project and location. Unenrollment removes the Cloud reference to the cluster without modifying the underlying OnPrem Resources. Clusters and node pools will continue to run; however, they will no longer be accessible through the Anthos On-Prem API or its clients.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/bareMetalClusters/{bareMetalClustersId}:unenroll", +"httpMethod": "DELETE", +"id": "gkeonprem.projects.locations.bareMetalClusters.unenroll", +"parameterOrder": [ +"name" +], +"parameters": { +"allowMissing": { +"description": "If set to true, and the bare metal cluster is not found, the request will succeed but no action will be taken on the server and return a completed LRO.", +"location": "query", +"type": "boolean" +}, +"etag": { +"description": "The current etag of the bare metal Cluster. If an etag is provided and does not match the current etag of the cluster, deletion will be blocked and an ABORTED error will be returned.", +"location": "query", +"type": "string" +}, +"force": { +"description": "This is required if the cluster has any associated node pools. When set, any child node pools will also be unenrolled.", +"location": "query", +"type": "boolean" +}, +"name": { +"description": "Required. Name of the bare metal user cluster to be unenrolled. Format: \"projects/{project}/locations/{location}/bareMetalClusters/{cluster}\"", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/bareMetalClusters/[^/]+$", +"required": true, +"type": "string" +}, +"validateOnly": { +"description": "Validate the request without actually doing any updates.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1/{+name}:unenroll", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"bareMetalNodePools": { +"methods": { +"create": { +"description": "Creates a new bare metal node pool in a given project, location and Bare Metal cluster.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/bareMetalClusters/{bareMetalClustersId}/bareMetalNodePools", +"httpMethod": "POST", +"id": "gkeonprem.projects.locations.bareMetalClusters.bareMetalNodePools.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"bareMetalNodePoolId": { +"description": "The ID to use for the node pool, which will become the final component of the node pool's resource name. This value must be up to 63 characters, and valid characters are /a-z-/. The value must not be permitted to be a UUID (or UUID-like: anything matching /^[0-9a-f]{8}(-[0-9a-f]{4}){3}-[0-9a-f]{12}$/i).", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent resource where this node pool will be created. projects/{project}/locations/{location}/bareMetalClusters/{cluster}", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/bareMetalClusters/[^/]+$", +"required": true, +"type": "string" +}, +"validateOnly": { +"description": "If set, only validate the request, but do not actually create the node pool.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1/{+parent}/bareMetalNodePools", +"request": { +"$ref": "BareMetalNodePool" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a single bare metal node pool.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/bareMetalClusters/{bareMetalClustersId}/bareMetalNodePools/{bareMetalNodePoolsId}", +"httpMethod": "DELETE", +"id": "gkeonprem.projects.locations.bareMetalClusters.bareMetalNodePools.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"allowMissing": { +"description": "If set to true, and the bare metal node pool is not found, the request will succeed but no action will be taken on the server and return a completed LRO.", +"location": "query", +"type": "boolean" +}, +"etag": { +"description": "The current etag of the BareMetalNodePool. If an etag is provided and does not match the current etag of the node pool, deletion will be blocked and an ABORTED error will be returned.", +"location": "query", +"type": "string" +}, +"ignoreErrors": { +"description": "If set to true, the deletion of a bare metal node pool resource will succeed even if errors occur during deletion. This parameter can be used when you want to delete GCP's node pool resource and you've already deleted the on-prem admin cluster that hosted your node pool. WARNING: Using this parameter when your user cluster still exists may result in a deleted GCP node pool but an existing on-prem node pool.", +"location": "query", +"type": "boolean" +}, +"name": { +"description": "Required. The name of the node pool to delete. Format: projects/{project}/locations/{location}/bareMetalClusters/{cluster}/bareMetalNodePools/{nodepool}", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/bareMetalClusters/[^/]+/bareMetalNodePools/[^/]+$", +"required": true, +"type": "string" +}, +"validateOnly": { +"description": "If set, only validate the request, but do not actually delete the node pool.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"enroll": { +"description": "Enrolls an existing bare metal node pool to the Anthos On-Prem API within a given project and location. Through enrollment, an existing node pool will become Anthos On-Prem API managed. The corresponding GCP resources will be created.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/bareMetalClusters/{bareMetalClustersId}/bareMetalNodePools:enroll", +"httpMethod": "POST", +"id": "gkeonprem.projects.locations.bareMetalClusters.bareMetalNodePools.enroll", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The parent resource where this node pool will be created. projects/{project}/locations/{location}/bareMetalClusters/{cluster}", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/bareMetalClusters/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/bareMetalNodePools:enroll", +"request": { +"$ref": "EnrollBareMetalNodePoolRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets details of a single bare metal node pool.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/bareMetalClusters/{bareMetalClustersId}/bareMetalNodePools/{bareMetalNodePoolsId}", +"httpMethod": "GET", +"id": "gkeonprem.projects.locations.bareMetalClusters.bareMetalNodePools.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the node pool to retrieve. projects/{project}/locations/{location}/bareMetalClusters/{cluster}/bareMetalNodePools/{nodepool}", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/bareMetalClusters/[^/]+/bareMetalNodePools/[^/]+$", +"required": true, +"type": "string" +}, +"view": { +"description": "View for bare metal node pool. When `BASIC` is specified, only the node pool resource name is returned. The default/unset value `NODE_POOL_VIEW_UNSPECIFIED` is the same as `FULL', which returns the complete node pool configuration details.", +"enum": [ +"NODE_POOL_VIEW_UNSPECIFIED", +"BASIC", +"FULL" +], +"enumDescriptions": [ +"If the value is not set, the default `FULL` view is used.", +"Includes basic information of a node pool resource including node pool resource name.", +"Includes the complete configuration for bare metal node pool resource. This is the default value for GetBareMetalNodePoolRequest method." +], +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "BareMetalNodePool" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"getIamPolicy": { +"description": "Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/bareMetalClusters/{bareMetalClustersId}/bareMetalNodePools/{bareMetalNodePoolsId}:getIamPolicy", +"httpMethod": "GET", +"id": "gkeonprem.projects.locations.bareMetalClusters.bareMetalNodePools.getIamPolicy", +"parameterOrder": [ +"resource" +], +"parameters": { +"options.requestedPolicyVersion": { +"description": "Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).", +"format": "int32", +"location": "query", +"type": "integer" +}, +"resource": { +"description": "REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/bareMetalClusters/[^/]+/bareMetalNodePools/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+resource}:getIamPolicy", +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists bare metal node pools in a given project, location and bare metal cluster.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/bareMetalClusters/{bareMetalClustersId}/bareMetalNodePools", +"httpMethod": "GET", +"id": "gkeonprem.projects.locations.bareMetalClusters.bareMetalNodePools.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "The maximum number of node pools to return. The service may return fewer than this value. If unspecified, at most 50 node pools will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A page token, received from a previous `ListBareMetalNodePools` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListBareMetalNodePools` must match the call that provided the page token.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent, which owns this collection of node pools. Format: projects/{project}/locations/{location}/bareMetalClusters/{bareMetalCluster}", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/bareMetalClusters/[^/]+$", +"required": true, +"type": "string" +}, +"view": { +"description": "View for bare metal node pools. When `BASIC` is specified, only the node pool resource name is returned. The default/unset value `NODE_POOL_VIEW_UNSPECIFIED` is the same as `FULL', which returns the complete node pool configuration details.", +"enum": [ +"NODE_POOL_VIEW_UNSPECIFIED", +"BASIC", +"FULL" +], +"enumDescriptions": [ +"If the value is not set, the default `FULL` view is used.", +"Includes basic information of a node pool resource including node pool resource name.", +"Includes the complete configuration for bare metal node pool resource. This is the default value for ListBareMetalNodePoolsRequest method." +], +"location": "query", +"type": "string" +} +}, +"path": "v1/{+parent}/bareMetalNodePools", +"response": { +"$ref": "ListBareMetalNodePoolsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates the parameters of a single bare metal node pool.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/bareMetalClusters/{bareMetalClustersId}/bareMetalNodePools/{bareMetalNodePoolsId}", +"httpMethod": "PATCH", +"id": "gkeonprem.projects.locations.bareMetalClusters.bareMetalNodePools.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"allowMissing": { +"description": "If set to true, and the bare metal node pool is not found, the request will create a new bare metal node pool with the provided configuration. The user must have both create and update permission to call Update with allow_missing set to true.", +"location": "query", +"type": "boolean" +}, +"name": { +"description": "Immutable. The bare metal node pool resource name.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/bareMetalClusters/[^/]+/bareMetalNodePools/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Required. Field mask is used to specify the fields to be overwritten in the BareMetalNodePool resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all populated fields in the BareMetalNodePool message will be updated. Empty fields will be ignored unless a field mask is used.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +}, +"validateOnly": { +"description": "Validate the request without actually doing any updates.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "BareMetalNodePool" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"setIamPolicy": { +"description": "Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/bareMetalClusters/{bareMetalClustersId}/bareMetalNodePools/{bareMetalNodePoolsId}:setIamPolicy", +"httpMethod": "POST", +"id": "gkeonprem.projects.locations.bareMetalClusters.bareMetalNodePools.setIamPolicy", +"parameterOrder": [ +"resource" +], +"parameters": { +"resource": { +"description": "REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/bareMetalClusters/[^/]+/bareMetalNodePools/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+resource}:setIamPolicy", +"request": { +"$ref": "SetIamPolicyRequest" +}, +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"testIamPermissions": { +"description": "Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may \"fail open\" without warning.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/bareMetalClusters/{bareMetalClustersId}/bareMetalNodePools/{bareMetalNodePoolsId}:testIamPermissions", +"httpMethod": "POST", +"id": "gkeonprem.projects.locations.bareMetalClusters.bareMetalNodePools.testIamPermissions", +"parameterOrder": [ +"resource" +], +"parameters": { +"resource": { +"description": "REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/bareMetalClusters/[^/]+/bareMetalNodePools/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+resource}:testIamPermissions", +"request": { +"$ref": "TestIamPermissionsRequest" +}, +"response": { +"$ref": "TestIamPermissionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"unenroll": { +"description": "Unenrolls a bare metal node pool from Anthos On-Prem API.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/bareMetalClusters/{bareMetalClustersId}/bareMetalNodePools/{bareMetalNodePoolsId}:unenroll", +"httpMethod": "DELETE", +"id": "gkeonprem.projects.locations.bareMetalClusters.bareMetalNodePools.unenroll", +"parameterOrder": [ +"name" +], +"parameters": { +"allowMissing": { +"description": "If set to true, and the bare metal node pool is not found, the request will succeed but no action will be taken on the server and return a completed LRO.", +"location": "query", +"type": "boolean" +}, +"etag": { +"description": "The current etag of the bare metal node pool. If an etag is provided and does not match the current etag of node pool, deletion will be blocked and an ABORTED error will be returned.", +"location": "query", +"type": "string" +}, +"name": { +"description": "Required. The name of the node pool to unenroll. Format: projects/{project}/locations/{location}/bareMetalClusters/{cluster}/bareMetalNodePools/{nodepool}", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/bareMetalClusters/[^/]+/bareMetalNodePools/[^/]+$", +"required": true, +"type": "string" +}, +"validateOnly": { +"description": "If set, only validate the request, but do not actually unenroll the node pool.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1/{+name}:unenroll", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"operations": { +"methods": { +"get": { +"description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/bareMetalClusters/{bareMetalClustersId}/bareMetalNodePools/{bareMetalNodePoolsId}/operations/{operationsId}", +"httpMethod": "GET", +"id": "gkeonprem.projects.locations.bareMetalClusters.bareMetalNodePools.operations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/bareMetalClusters/[^/]+/bareMetalNodePools/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/bareMetalClusters/{bareMetalClustersId}/bareMetalNodePools/{bareMetalNodePoolsId}/operations", +"httpMethod": "GET", +"id": "gkeonprem.projects.locations.bareMetalClusters.bareMetalNodePools.operations.list", +"parameterOrder": [ +"name" +], +"parameters": { +"filter": { +"description": "The standard list filter.", +"location": "query", +"type": "string" +}, +"name": { +"description": "The name of the operation's parent resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/bareMetalClusters/[^/]+/bareMetalNodePools/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The standard list page size.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The standard list page token.", +"location": "query", +"type": "string" +}, +"returnPartialSuccess": { +"description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `\"projects/example/locations/-\"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1/{+name}/operations", +"response": { +"$ref": "ListOperationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +}, +"operations": { +"methods": { +"get": { +"description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/bareMetalClusters/{bareMetalClustersId}/operations/{operationsId}", +"httpMethod": "GET", +"id": "gkeonprem.projects.locations.bareMetalClusters.operations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/bareMetalClusters/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/bareMetalClusters/{bareMetalClustersId}/operations", +"httpMethod": "GET", +"id": "gkeonprem.projects.locations.bareMetalClusters.operations.list", +"parameterOrder": [ +"name" +], +"parameters": { +"filter": { +"description": "The standard list filter.", +"location": "query", +"type": "string" +}, +"name": { +"description": "The name of the operation's parent resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/bareMetalClusters/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The standard list page size.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The standard list page token.", +"location": "query", +"type": "string" +}, +"returnPartialSuccess": { +"description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `\"projects/example/locations/-\"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1/{+name}/operations", +"response": { +"$ref": "ListOperationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +}, +"operations": { +"methods": { +"cancel": { +"description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}:cancel", +"httpMethod": "POST", +"id": "gkeonprem.projects.locations.operations.cancel", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be cancelled.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:cancel", +"request": { +"$ref": "CancelOperationRequest" +}, +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}", +"httpMethod": "DELETE", +"id": "gkeonprem.projects.locations.operations.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be deleted.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}", +"httpMethod": "GET", +"id": "gkeonprem.projects.locations.operations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/operations", +"httpMethod": "GET", +"id": "gkeonprem.projects.locations.operations.list", +"parameterOrder": [ +"name" +], +"parameters": { +"filter": { +"description": "The standard list filter.", +"location": "query", +"type": "string" +}, +"name": { +"description": "The name of the operation's parent resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The standard list page size.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The standard list page token.", +"location": "query", +"type": "string" +}, +"returnPartialSuccess": { +"description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `\"projects/example/locations/-\"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1/{+name}/operations", +"response": { +"$ref": "ListOperationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"vmwareAdminClusters": { +"methods": { +"create": { +"description": "Creates a new VMware admin cluster in a given project and location. The API needs to be combined with creating a bootstrap cluster to work.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/vmwareAdminClusters", +"httpMethod": "POST", +"id": "gkeonprem.projects.locations.vmwareAdminClusters.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"allowPreflightFailure": { +"description": "Optional. If set to true, CLM will force CCFE to persist the cluster resource in RMS when the creation fails during standalone preflight checks. In that case the subsequent create call will fail with \"cluster already exists\" error and hence a update cluster is required to fix the cluster.", +"location": "query", +"type": "boolean" +}, +"parent": { +"description": "Required. The parent of the project and location where the cluster is created in. Format: \"projects/{project}/locations/{location}\"", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +}, +"skipValidations": { +"description": "Optional. If set, skip the specified validations.", +"location": "query", +"repeated": true, +"type": "string" +}, +"validateOnly": { +"description": "Validate the request without actually doing any updates.", +"location": "query", +"type": "boolean" +}, +"vmwareAdminClusterId": { +"description": "Required. User provided identifier that is used as part of the resource name; must conform to RFC-1034 and additionally restrict to lower-cased letters. This comes out roughly to: /^a-z+[a-z0-9]$/", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+parent}/vmwareAdminClusters", +"request": { +"$ref": "VmwareAdminCluster" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"enroll": { +"description": "Enrolls an existing VMware admin cluster to the Anthos On-Prem API within a given project and location. Through enrollment, an existing admin cluster will become Anthos On-Prem API managed. The corresponding GCP resources will be created and all future modifications to the cluster will be expected to be performed through the API.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/vmwareAdminClusters:enroll", +"httpMethod": "POST", +"id": "gkeonprem.projects.locations.vmwareAdminClusters.enroll", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The parent of the project and location where the cluster is enrolled in. Format: \"projects/{project}/locations/{location}\"", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/vmwareAdminClusters:enroll", +"request": { +"$ref": "EnrollVmwareAdminClusterRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets details of a single VMware admin cluster.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/vmwareAdminClusters/{vmwareAdminClustersId}", +"httpMethod": "GET", +"id": "gkeonprem.projects.locations.vmwareAdminClusters.get", +"parameterOrder": [ +"name" +], +"parameters": { +"allowMissing": { +"description": "Optional. If true, return Vmware Admin Cluster including the one that only exists in RMS.", +"location": "query", +"type": "boolean" +}, +"name": { +"description": "Required. Name of the VMware admin cluster to be returned. Format: \"projects/{project}/locations/{location}/vmwareAdminClusters/{vmware_admin_cluster}\"", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/vmwareAdminClusters/[^/]+$", +"required": true, +"type": "string" +}, +"view": { +"description": "View for VMware admin cluster. When `BASIC` is specified, only the cluster resource name and membership are returned. The default/unset value `CLUSTER_VIEW_UNSPECIFIED` is the same as `FULL', which returns the complete cluster configuration details.", +"enum": [ +"CLUSTER_VIEW_UNSPECIFIED", +"BASIC", +"FULL" +], +"enumDescriptions": [ +"If the value is not set, the default `FULL` view is used.", +"Includes basic information of a cluster resource including cluster resource name and membership.", +"Includes the complete configuration for VMware admin cluster resource. This is the default value for GetVmwareAdminClusterRequest method." +], +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "VmwareAdminCluster" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"getIamPolicy": { +"description": "Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/vmwareAdminClusters/{vmwareAdminClustersId}:getIamPolicy", +"httpMethod": "GET", +"id": "gkeonprem.projects.locations.vmwareAdminClusters.getIamPolicy", +"parameterOrder": [ +"resource" +], +"parameters": { +"options.requestedPolicyVersion": { +"description": "Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).", +"format": "int32", +"location": "query", +"type": "integer" +}, +"resource": { +"description": "REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/vmwareAdminClusters/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+resource}:getIamPolicy", +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists VMware admin clusters in a given project and location.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/vmwareAdminClusters", +"httpMethod": "GET", +"id": "gkeonprem.projects.locations.vmwareAdminClusters.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"allowMissing": { +"description": "Optional. If true, return list of Vmware Admin Clusters including the ones that only exists in RMS.", +"location": "query", +"type": "boolean" +}, +"pageSize": { +"description": "Requested page size. Server may return fewer items than requested. If unspecified, at most 50 clusters will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A token identifying a page of results the server should return.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent of the project and location where the clusters are listed in. Format: \"projects/{project}/locations/{location}\"", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +}, +"view": { +"description": "View for VMware admin clusters. When `BASIC` is specified, only the admin cluster resource name and membership are returned. The default/unset value `CLUSTER_VIEW_UNSPECIFIED` is the same as `FULL', which returns the complete admin cluster configuration details.", +"enum": [ +"CLUSTER_VIEW_UNSPECIFIED", +"BASIC", +"FULL" +], +"enumDescriptions": [ +"If the value is not set, the default `FULL` view is used.", +"Includes basic information of a admin cluster resource including admin cluster resource name and membership.", +"Includes the complete configuration for bare metal admin cluster resource. This is the default value for ListVmwareAdminClustersRequest method." +], +"location": "query", +"type": "string" +} +}, +"path": "v1/{+parent}/vmwareAdminClusters", +"response": { +"$ref": "ListVmwareAdminClustersResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates the parameters of a single VMware admin cluster.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/vmwareAdminClusters/{vmwareAdminClustersId}", +"httpMethod": "PATCH", +"id": "gkeonprem.projects.locations.vmwareAdminClusters.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Immutable. The VMware admin cluster resource name.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/vmwareAdminClusters/[^/]+$", +"required": true, +"type": "string" +}, +"skipValidations": { +"description": "Optional. If set, the server-side preflight checks will be skipped.", +"location": "query", +"repeated": true, +"type": "string" +}, +"updateMask": { +"description": "Required. Field mask is used to specify the fields to be overwritten in the VMwareAdminCluster resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all populated fields in the VmwareAdminCluster message will be updated. Empty fields will be ignored unless a field mask is used.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +}, +"validateOnly": { +"description": "Validate the request without actually doing any updates.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "VmwareAdminCluster" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"setIamPolicy": { +"description": "Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/vmwareAdminClusters/{vmwareAdminClustersId}:setIamPolicy", +"httpMethod": "POST", +"id": "gkeonprem.projects.locations.vmwareAdminClusters.setIamPolicy", +"parameterOrder": [ +"resource" +], +"parameters": { +"resource": { +"description": "REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/vmwareAdminClusters/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+resource}:setIamPolicy", +"request": { +"$ref": "SetIamPolicyRequest" +}, +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"testIamPermissions": { +"description": "Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may \"fail open\" without warning.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/vmwareAdminClusters/{vmwareAdminClustersId}:testIamPermissions", +"httpMethod": "POST", +"id": "gkeonprem.projects.locations.vmwareAdminClusters.testIamPermissions", +"parameterOrder": [ +"resource" +], +"parameters": { +"resource": { +"description": "REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/vmwareAdminClusters/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+resource}:testIamPermissions", +"request": { +"$ref": "TestIamPermissionsRequest" +}, +"response": { +"$ref": "TestIamPermissionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"unenroll": { +"description": "Unenrolls an existing VMware admin cluster from the Anthos On-Prem API within a given project and location. Unenrollment removes the Cloud reference to the cluster without modifying the underlying OnPrem Resources. Clusters will continue to run; however, they will no longer be accessible through the Anthos On-Prem API or its clients.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/vmwareAdminClusters/{vmwareAdminClustersId}:unenroll", +"httpMethod": "DELETE", +"id": "gkeonprem.projects.locations.vmwareAdminClusters.unenroll", +"parameterOrder": [ +"name" +], +"parameters": { +"allowMissing": { +"description": "If set to true, and the VMware admin cluster is not found, the request will succeed but no action will be taken on the server and return a completed LRO.", +"location": "query", +"type": "boolean" +}, +"etag": { +"description": "The current etag of the VMware admin cluster. If an etag is provided and does not match the current etag of the cluster, deletion will be blocked and an ABORTED error will be returned.", +"location": "query", +"type": "string" +}, +"ignoreErrors": { +"description": "Optional. If set to true, the unenrollment of a vmware admin cluster resource will succeed even if errors occur during unenrollment. This parameter can be used when you want to unenroll admin cluster resource and the on-prem admin cluster is disconnected / unreachable. WARNING: Using this parameter when your admin cluster still exists may result in a deleted GCP admin cluster but existing resourcelink in on-prem admin cluster and membership.", +"location": "query", +"type": "boolean" +}, +"name": { +"description": "Required. Name of the VMware admin cluster to be unenrolled. Format: \"projects/{project}/locations/{location}/vmwareAdminClusters/{cluster}\"", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/vmwareAdminClusters/[^/]+$", +"required": true, +"type": "string" +}, +"validateOnly": { +"description": "Validate the request without actually doing any updates.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1/{+name}:unenroll", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"operations": { +"methods": { +"get": { +"description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/vmwareAdminClusters/{vmwareAdminClustersId}/operations/{operationsId}", +"httpMethod": "GET", +"id": "gkeonprem.projects.locations.vmwareAdminClusters.operations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/vmwareAdminClusters/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/vmwareAdminClusters/{vmwareAdminClustersId}/operations", +"httpMethod": "GET", +"id": "gkeonprem.projects.locations.vmwareAdminClusters.operations.list", +"parameterOrder": [ +"name" +], +"parameters": { +"filter": { +"description": "The standard list filter.", +"location": "query", +"type": "string" +}, +"name": { +"description": "The name of the operation's parent resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/vmwareAdminClusters/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The standard list page size.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The standard list page token.", +"location": "query", +"type": "string" +}, +"returnPartialSuccess": { +"description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `\"projects/example/locations/-\"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1/{+name}/operations", +"response": { +"$ref": "ListOperationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +}, +"vmwareClusters": { +"methods": { +"create": { +"description": "Creates a new VMware user cluster in a given project and location.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/vmwareClusters", +"httpMethod": "POST", +"id": "gkeonprem.projects.locations.vmwareClusters.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"allowPreflightFailure": { +"description": "Optional. If set to true, CLM will force CCFE to persist the cluster resource in RMS when the creation fails during standalone preflight checks. In that case the subsequent create call will fail with \"cluster already exists\" error and hence a update cluster is required to fix the cluster.", +"location": "query", +"type": "boolean" +}, +"parent": { +"description": "Required. The parent of the project and location where this cluster is created in. Format: \"projects/{project}/locations/{location}\"", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +}, +"skipValidations": { +"description": "Optional. List of validations to skip during cluster creation.", +"location": "query", +"repeated": true, +"type": "string" +}, +"validateOnly": { +"description": "Validate the request without actually doing any updates.", +"location": "query", +"type": "boolean" +}, +"vmwareClusterId": { +"description": "User provided identifier that is used as part of the resource name; This value must be up to 40 characters and follow RFC-1123 (https://tools.ietf.org/html/rfc1123) format.", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+parent}/vmwareClusters", +"request": { +"$ref": "VmwareCluster" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a single VMware Cluster.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/vmwareClusters/{vmwareClustersId}", +"httpMethod": "DELETE", +"id": "gkeonprem.projects.locations.vmwareClusters.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"allowMissing": { +"description": "If set to true, and the VMware cluster is not found, the request will succeed but no action will be taken on the server and return a completed LRO.", +"location": "query", +"type": "boolean" +}, +"etag": { +"description": "The current etag of the VMware cluster. If an etag is provided and does not match the current etag of the cluster, deletion will be blocked and an ABORTED error will be returned.", +"location": "query", +"type": "string" +}, +"force": { +"description": "If set to true, any node pools from the cluster will also be deleted.", +"location": "query", +"type": "boolean" +}, +"ignoreErrors": { +"description": "If set to true, the deletion of a VMware user cluster resource will succeed even if errors occur during deletion. This parameter can be used when you want to delete GCP's cluster resource and the on-prem admin cluster that hosts your user cluster is disconnected / unreachable or deleted. WARNING: Using this parameter when your user cluster still exists may result in a deleted GCP user cluster but an existing on-prem user cluster.", +"location": "query", +"type": "boolean" +}, +"name": { +"description": "Required. Name of the VMware user cluster to be deleted. Format: \"projects/{project}/locations/{location}/vmwareClusters/{vmware_cluster}\"", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/vmwareClusters/[^/]+$", +"required": true, +"type": "string" +}, +"validateOnly": { +"description": "Validate the request without actually doing any updates.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"enroll": { +"description": "Enrolls an existing VMware user cluster and its node pools to the Anthos On-Prem API within a given project and location. Through enrollment, an existing cluster will become Anthos On-Prem API managed. The corresponding GCP resources will be created and all future modifications to the cluster and/or its node pools will be expected to be performed through the API.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/vmwareClusters:enroll", +"httpMethod": "POST", +"id": "gkeonprem.projects.locations.vmwareClusters.enroll", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The parent of the project and location where the cluster is Enrolled in. Format: \"projects/{project}/locations/{location}\"", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/vmwareClusters:enroll", +"request": { +"$ref": "EnrollVmwareClusterRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets details of a single VMware Cluster.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/vmwareClusters/{vmwareClustersId}", +"httpMethod": "GET", +"id": "gkeonprem.projects.locations.vmwareClusters.get", +"parameterOrder": [ +"name" +], +"parameters": { +"allowMissing": { +"description": "Optional. If true, return Vmware Cluster including the one that only exists in RMS.", +"location": "query", +"type": "boolean" +}, +"name": { +"description": "Required. Name of the VMware user cluster to be returned. Format: \"projects/{project}/locations/{location}/vmwareClusters/{vmware_cluster}\"", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/vmwareClusters/[^/]+$", +"required": true, +"type": "string" +}, +"view": { +"description": "View for VMware user cluster. When `BASIC` is specified, only the cluster resource name and admin cluster membership are returned. The default/unset value `CLUSTER_VIEW_UNSPECIFIED` is the same as `FULL', which returns the complete cluster configuration details.", +"enum": [ +"CLUSTER_VIEW_UNSPECIFIED", +"BASIC", +"FULL" +], +"enumDescriptions": [ +"If the value is not set, the default `FULL` view is used.", +"Includes basic information of a cluster resource including cluster resource name and admin cluster membership.", +"Includes the complete configuration for VMware cluster resource. This is the default value for GetVmwareClusterRequest method." +], +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "VmwareCluster" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"getIamPolicy": { +"description": "Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/vmwareClusters/{vmwareClustersId}:getIamPolicy", +"httpMethod": "GET", +"id": "gkeonprem.projects.locations.vmwareClusters.getIamPolicy", +"parameterOrder": [ +"resource" +], +"parameters": { +"options.requestedPolicyVersion": { +"description": "Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).", +"format": "int32", +"location": "query", +"type": "integer" +}, +"resource": { +"description": "REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/vmwareClusters/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+resource}:getIamPolicy", +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists VMware Clusters in a given project and location.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/vmwareClusters", +"httpMethod": "GET", +"id": "gkeonprem.projects.locations.vmwareClusters.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"allowMissing": { +"description": "Optional. If true, return list of Vmware Clusters including the ones that only exists in RMS.", +"location": "query", +"type": "boolean" +}, +"filter": { +"description": "A resource filtering expression following https://google.aip.dev/160. When non-empty, only resource's whose attributes field matches the filter are returned.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Requested page size. Server may return fewer items than requested. If unspecified, at most 50 clusters will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A token identifying a page of results the server should return.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent of the project and location where the clusters are listed in. Format: \"projects/{project}/locations/{location}\"", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +}, +"view": { +"description": "View for VMware clusters. When `BASIC` is specified, only the cluster resource name and admin cluster membership are returned. The default/unset value `CLUSTER_VIEW_UNSPECIFIED` is the same as `FULL', which returns the complete cluster configuration details.", +"enum": [ +"CLUSTER_VIEW_UNSPECIFIED", +"BASIC", +"FULL" +], +"enumDescriptions": [ +"If the value is not set, the default `FULL` view is used.", +"Includes basic information of a cluster resource including cluster resource name and admin cluster membership.", +"Includes the complete configuration for VMware cluster resource. This is the default value for ListVmwareClustersRequest method." +], +"location": "query", +"type": "string" +} +}, +"path": "v1/{+parent}/vmwareClusters", +"response": { +"$ref": "ListVmwareClustersResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates the parameters of a single VMware cluster.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/vmwareClusters/{vmwareClustersId}", +"httpMethod": "PATCH", +"id": "gkeonprem.projects.locations.vmwareClusters.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Immutable. The VMware user cluster resource name.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/vmwareClusters/[^/]+$", +"required": true, +"type": "string" +}, +"skipValidations": { +"location": "query", +"repeated": true, +"type": "string" +}, +"updateMask": { +"description": "Required. Field mask is used to specify the fields to be overwritten in the VMwareCluster resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all populated fields in the VmwareCluster message will be updated. Empty fields will be ignored unless a field mask is used.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +}, +"validateOnly": { +"description": "Validate the request without actually doing any updates.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "VmwareCluster" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"queryVersionConfig": { +"description": "Queries the VMware user cluster version config.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/vmwareClusters:queryVersionConfig", +"httpMethod": "POST", +"id": "gkeonprem.projects.locations.vmwareClusters.queryVersionConfig", +"parameterOrder": [ +"parent" +], +"parameters": { +"createConfig.adminClusterMembership": { +"description": "The admin cluster membership. This is the full resource name of the admin cluster's fleet membership. Format: \"projects/{project}/locations/{location}/memberships/{membership}\"", +"location": "query", +"type": "string" +}, +"createConfig.adminClusterName": { +"description": "The admin cluster resource name. This is the full resource name of the admin cluster resource. Format: \"projects/{project}/locations/{location}/vmwareAdminClusters/{vmware_admin_cluster}\"", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent of the project and location to query for version config. Format: \"projects/{project}/locations/{location}\"", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +}, +"upgradeConfig.clusterName": { +"description": "The user cluster resource name. This is the full resource name of the user cluster resource. Format: \"projects/{project}/locations/{location}/vmwareClusters/{vmware_cluster}\"", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+parent}/vmwareClusters:queryVersionConfig", +"response": { +"$ref": "QueryVmwareVersionConfigResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"setIamPolicy": { +"description": "Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/vmwareClusters/{vmwareClustersId}:setIamPolicy", +"httpMethod": "POST", +"id": "gkeonprem.projects.locations.vmwareClusters.setIamPolicy", +"parameterOrder": [ +"resource" +], +"parameters": { +"resource": { +"description": "REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/vmwareClusters/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+resource}:setIamPolicy", +"request": { +"$ref": "SetIamPolicyRequest" +}, +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"testIamPermissions": { +"description": "Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may \"fail open\" without warning.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/vmwareClusters/{vmwareClustersId}:testIamPermissions", +"httpMethod": "POST", +"id": "gkeonprem.projects.locations.vmwareClusters.testIamPermissions", +"parameterOrder": [ +"resource" +], +"parameters": { +"resource": { +"description": "REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/vmwareClusters/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+resource}:testIamPermissions", +"request": { +"$ref": "TestIamPermissionsRequest" +}, +"response": { +"$ref": "TestIamPermissionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"unenroll": { +"description": "Unenrolls an existing VMware user cluster and its node pools from the Anthos On-Prem API within a given project and location. Unenrollment removes the Cloud reference to the cluster without modifying the underlying OnPrem Resources. Clusters and node pools will continue to run; however, they will no longer be accessible through the Anthos On-Prem API or UI.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/vmwareClusters/{vmwareClustersId}:unenroll", +"httpMethod": "DELETE", +"id": "gkeonprem.projects.locations.vmwareClusters.unenroll", +"parameterOrder": [ +"name" +], +"parameters": { +"allowMissing": { +"description": "If set to true, and the VMware cluster is not found, the request will succeed but no action will be taken on the server and return a completed LRO.", +"location": "query", +"type": "boolean" +}, +"etag": { +"description": "The current etag of the VMware Cluster. If an etag is provided and does not match the current etag of the cluster, deletion will be blocked and an ABORTED error will be returned.", +"location": "query", +"type": "string" +}, +"force": { +"description": "This is required if the cluster has any associated node pools. When set, any child node pools will also be unenrolled.", +"location": "query", +"type": "boolean" +}, +"name": { +"description": "Required. Name of the VMware user cluster to be unenrolled. Format: \"projects/{project}/locations/{location}/vmwareClusters/{vmware_cluster}\"", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/vmwareClusters/[^/]+$", +"required": true, +"type": "string" +}, +"validateOnly": { +"description": "Validate the request without actually doing any updates.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1/{+name}:unenroll", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"operations": { +"methods": { +"get": { +"description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/vmwareClusters/{vmwareClustersId}/operations/{operationsId}", +"httpMethod": "GET", +"id": "gkeonprem.projects.locations.vmwareClusters.operations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/vmwareClusters/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/vmwareClusters/{vmwareClustersId}/operations", +"httpMethod": "GET", +"id": "gkeonprem.projects.locations.vmwareClusters.operations.list", +"parameterOrder": [ +"name" +], +"parameters": { +"filter": { +"description": "The standard list filter.", +"location": "query", +"type": "string" +}, +"name": { +"description": "The name of the operation's parent resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/vmwareClusters/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The standard list page size.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The standard list page token.", +"location": "query", +"type": "string" +}, +"returnPartialSuccess": { +"description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `\"projects/example/locations/-\"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1/{+name}/operations", +"response": { +"$ref": "ListOperationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"vmwareNodePools": { +"methods": { +"create": { +"description": "Creates a new VMware node pool in a given project, location and VMWare cluster.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/vmwareClusters/{vmwareClustersId}/vmwareNodePools", +"httpMethod": "POST", +"id": "gkeonprem.projects.locations.vmwareClusters.vmwareNodePools.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The parent resource where this node pool will be created. projects/{project}/locations/{location}/vmwareClusters/{cluster}", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/vmwareClusters/[^/]+$", +"required": true, +"type": "string" +}, +"validateOnly": { +"description": "If set, only validate the request, but do not actually create the node pool.", +"location": "query", +"type": "boolean" +}, +"vmwareNodePoolId": { +"description": "The ID to use for the node pool, which will become the final component of the node pool's resource name. This value must be up to 40 characters and follow RFC-1123 (https://tools.ietf.org/html/rfc1123) format. The value must not be permitted to be a UUID (or UUID-like: anything matching /^[0-9a-f]{8}(-[0-9a-f]{4}){3}-[0-9a-f]{12}$/i).", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+parent}/vmwareNodePools", +"request": { +"$ref": "VmwareNodePool" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a single VMware node pool.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/vmwareClusters/{vmwareClustersId}/vmwareNodePools/{vmwareNodePoolsId}", +"httpMethod": "DELETE", +"id": "gkeonprem.projects.locations.vmwareClusters.vmwareNodePools.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"allowMissing": { +"description": "If set to true, and the VMware node pool is not found, the request will succeed but no action will be taken on the server and return a completed LRO.", +"location": "query", +"type": "boolean" +}, +"etag": { +"description": "The current etag of the VmwareNodePool. If an etag is provided and does not match the current etag of the node pool, deletion will be blocked and an ABORTED error will be returned.", +"location": "query", +"type": "string" +}, +"ignoreErrors": { +"description": "If set to true, the deletion of a VMware node pool resource will succeed even if errors occur during deletion. This parameter can be used when you want to delete GCP's node pool resource and you've already deleted the on-prem admin cluster that hosted your node pool. WARNING: Using this parameter when your user cluster still exists may result in a deleted GCP node pool but an existing on-prem node pool.", +"location": "query", +"type": "boolean" +}, +"name": { +"description": "Required. The name of the node pool to delete. Format: projects/{project}/locations/{location}/vmwareClusters/{cluster}/vmwareNodePools/{nodepool}", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/vmwareClusters/[^/]+/vmwareNodePools/[^/]+$", +"required": true, +"type": "string" +}, +"validateOnly": { +"description": "If set, only validate the request, but do not actually delete the node pool.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"enroll": { +"description": "Enrolls a VMware node pool to Anthos On-Prem API", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/vmwareClusters/{vmwareClustersId}/vmwareNodePools:enroll", +"httpMethod": "POST", +"id": "gkeonprem.projects.locations.vmwareClusters.vmwareNodePools.enroll", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The parent resource where the node pool is enrolled in.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/vmwareClusters/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/vmwareNodePools:enroll", +"request": { +"$ref": "EnrollVmwareNodePoolRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets details of a single VMware node pool.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/vmwareClusters/{vmwareClustersId}/vmwareNodePools/{vmwareNodePoolsId}", +"httpMethod": "GET", +"id": "gkeonprem.projects.locations.vmwareClusters.vmwareNodePools.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the node pool to retrieve. projects/{project}/locations/{location}/vmwareClusters/{cluster}/vmwareNodePools/{nodepool}", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/vmwareClusters/[^/]+/vmwareNodePools/[^/]+$", +"required": true, +"type": "string" +}, +"view": { +"description": "View for VMware node pool. When `BASIC` is specified, only the node pool resource name is returned. The default/unset value `NODE_POOL_VIEW_UNSPECIFIED` is the same as `FULL', which returns the complete node pool configuration details.", +"enum": [ +"NODE_POOL_VIEW_UNSPECIFIED", +"BASIC", +"FULL" +], +"enumDescriptions": [ +"If the value is not set, the default `FULL` view is used.", +"Includes basic information of a node pool resource including node pool resource name.", +"Includes the complete configuration for VMware node pool resource. This is the default value for GetVmwareNodePoolRequest method." +], +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "VmwareNodePool" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"getIamPolicy": { +"description": "Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/vmwareClusters/{vmwareClustersId}/vmwareNodePools/{vmwareNodePoolsId}:getIamPolicy", +"httpMethod": "GET", +"id": "gkeonprem.projects.locations.vmwareClusters.vmwareNodePools.getIamPolicy", +"parameterOrder": [ +"resource" +], +"parameters": { +"options.requestedPolicyVersion": { +"description": "Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).", +"format": "int32", +"location": "query", +"type": "integer" +}, +"resource": { +"description": "REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/vmwareClusters/[^/]+/vmwareNodePools/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+resource}:getIamPolicy", +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists VMware node pools in a given project, location and VMWare cluster.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/vmwareClusters/{vmwareClustersId}/vmwareNodePools", +"httpMethod": "GET", +"id": "gkeonprem.projects.locations.vmwareClusters.vmwareNodePools.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "The maximum number of node pools to return. The service may return fewer than this value. If unspecified, at most 50 node pools will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A page token, received from a previous `ListVmwareNodePools` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListVmwareNodePools` must match the call that provided the page token.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent, which owns this collection of node pools. Format: projects/{project}/locations/{location}/vmwareClusters/{vmwareCluster}", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/vmwareClusters/[^/]+$", +"required": true, +"type": "string" +}, +"view": { +"description": "View for VMware node pools. When `BASIC` is specified, only the node pool resource name is returned. The default/unset value `NODE_POOL_VIEW_UNSPECIFIED` is the same as `FULL', which returns the complete node pool configuration details.", +"enum": [ +"NODE_POOL_VIEW_UNSPECIFIED", +"BASIC", +"FULL" +], +"enumDescriptions": [ +"If the value is not set, the default `FULL` view is used.", +"Includes basic information of a node pool resource including node pool resource name.", +"Includes the complete configuration for VMware node pool resource. This is the default value for ListVmwareNodePoolsRequest method." +], +"location": "query", +"type": "string" +} +}, +"path": "v1/{+parent}/vmwareNodePools", +"response": { +"$ref": "ListVmwareNodePoolsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates the parameters of a single VMware node pool.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/vmwareClusters/{vmwareClustersId}/vmwareNodePools/{vmwareNodePoolsId}", +"httpMethod": "PATCH", +"id": "gkeonprem.projects.locations.vmwareClusters.vmwareNodePools.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Immutable. The resource name of this node pool.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/vmwareClusters/[^/]+/vmwareNodePools/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Required. Field mask is used to specify the fields to be overwritten in the VMwareNodePool resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all populated fields in the VMwareNodePool message will be updated. Empty fields will be ignored unless a field mask is used.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +}, +"validateOnly": { +"description": "Validate the request without actually doing any updates.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "VmwareNodePool" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"setIamPolicy": { +"description": "Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/vmwareClusters/{vmwareClustersId}/vmwareNodePools/{vmwareNodePoolsId}:setIamPolicy", +"httpMethod": "POST", +"id": "gkeonprem.projects.locations.vmwareClusters.vmwareNodePools.setIamPolicy", +"parameterOrder": [ +"resource" +], +"parameters": { +"resource": { +"description": "REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/vmwareClusters/[^/]+/vmwareNodePools/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+resource}:setIamPolicy", +"request": { +"$ref": "SetIamPolicyRequest" +}, +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"testIamPermissions": { +"description": "Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may \"fail open\" without warning.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/vmwareClusters/{vmwareClustersId}/vmwareNodePools/{vmwareNodePoolsId}:testIamPermissions", +"httpMethod": "POST", +"id": "gkeonprem.projects.locations.vmwareClusters.vmwareNodePools.testIamPermissions", +"parameterOrder": [ +"resource" +], +"parameters": { +"resource": { +"description": "REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/vmwareClusters/[^/]+/vmwareNodePools/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+resource}:testIamPermissions", +"request": { +"$ref": "TestIamPermissionsRequest" +}, +"response": { +"$ref": "TestIamPermissionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"unenroll": { +"description": "Unenrolls a VMware node pool to Anthos On-Prem API", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/vmwareClusters/{vmwareClustersId}/vmwareNodePools/{vmwareNodePoolsId}:unenroll", +"httpMethod": "DELETE", +"id": "gkeonprem.projects.locations.vmwareClusters.vmwareNodePools.unenroll", +"parameterOrder": [ +"name" +], +"parameters": { +"allowMissing": { +"description": "If set to true, and the VMware node pool is not found, the request will succeed but no action will be taken on the server and return a completed LRO.", +"location": "query", +"type": "boolean" +}, +"etag": { +"description": "The current etag of the VMware node pool. If an etag is provided and does not match the current etag of node pool, deletion will be blocked and an ABORTED error will be returned.", +"location": "query", +"type": "string" +}, +"name": { +"description": "Required. The name of the node pool to unenroll. Format: projects/{project}/locations/{location}/vmwareClusters/{cluster}/vmwareNodePools/{nodepool}", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/vmwareClusters/[^/]+/vmwareNodePools/[^/]+$", +"required": true, +"type": "string" +}, +"validateOnly": { +"description": "If set, only validate the request, but do not actually unenroll the node pool.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1/{+name}:unenroll", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"operations": { +"methods": { +"get": { +"description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/vmwareClusters/{vmwareClustersId}/vmwareNodePools/{vmwareNodePoolsId}/operations/{operationsId}", +"httpMethod": "GET", +"id": "gkeonprem.projects.locations.vmwareClusters.vmwareNodePools.operations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/vmwareClusters/[^/]+/vmwareNodePools/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/vmwareClusters/{vmwareClustersId}/vmwareNodePools/{vmwareNodePoolsId}/operations", +"httpMethod": "GET", +"id": "gkeonprem.projects.locations.vmwareClusters.vmwareNodePools.operations.list", +"parameterOrder": [ +"name" +], +"parameters": { +"filter": { +"description": "The standard list filter.", +"location": "query", +"type": "string" +}, +"name": { +"description": "The name of the operation's parent resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/vmwareClusters/[^/]+/vmwareNodePools/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The standard list page size.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The standard list page token.", +"location": "query", +"type": "string" +}, +"returnPartialSuccess": { +"description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `\"projects/example/locations/-\"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1/{+name}/operations", +"response": { +"$ref": "ListOperationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +} +} +} +} +} +} +} +}, +"revision": "20251203", +"rootUrl": "https://gkeonprem.googleapis.com/", +"schemas": { +"Authorization": { +"description": "Authorization defines the On-Prem cluster authorization configuration to bootstrap onto the admin cluster.", +"id": "Authorization", +"properties": { +"adminUsers": { +"description": "For VMware and bare metal user clusters, users will be granted the cluster-admin role on the cluster, which provides full administrative access to the cluster. For bare metal admin clusters, users will be granted the cluster-view role, which limits users to read-only access.", +"items": { +"$ref": "ClusterUser" +}, +"type": "array" +} +}, +"type": "object" +}, +"BareMetalAdminApiServerArgument": { +"description": "BareMetalAdminApiServerArgument represents an arg name->value pair. Only a subset of customized flags are supported. Please refer to the API server documentation below to know the exact format: https://kubernetes.io/docs/reference/command-line-tools-reference/kube-apiserver/", +"id": "BareMetalAdminApiServerArgument", +"properties": { +"argument": { +"description": "Required. The argument name as it appears on the API Server command line please make sure to remove the leading dashes.", +"type": "string" +}, +"value": { +"description": "Required. The value of the arg as it will be passed to the API Server command line.", +"type": "string" +} +}, +"type": "object" +}, +"BareMetalAdminBgpLbConfig": { +"description": "BareMetalAdminBgpLbConfig represents configuration parameters for a Border Gateway Protocol (BGP) load balancer.", +"id": "BareMetalAdminBgpLbConfig", +"properties": { +"addressPools": { +"description": "Required. AddressPools is a list of non-overlapping IP pools used by load balancer typed services. All addresses must be routable to load balancer nodes. IngressVIP must be included in the pools.", +"items": { +"$ref": "BareMetalAdminLoadBalancerAddressPool" +}, +"type": "array" +}, +"asn": { +"description": "Required. BGP autonomous system number (ASN) of the cluster. This field can be updated after cluster creation.", +"format": "int64", +"type": "string" +}, +"bgpPeerConfigs": { +"description": "Required. The list of BGP peers that the cluster will connect to. At least one peer must be configured for each control plane node. Control plane nodes will connect to these peers to advertise the control plane VIP. The Services load balancer also uses these peers by default. This field can be updated after cluster creation.", +"items": { +"$ref": "BareMetalAdminBgpPeerConfig" +}, +"type": "array" +}, +"loadBalancerNodePoolConfig": { +"$ref": "BareMetalAdminLoadBalancerNodePoolConfig", +"description": "Specifies the node pool running data plane load balancing. L2 connectivity is required among nodes in this pool. If missing, the control plane node pool is used for data plane load balancing." +} +}, +"type": "object" +}, +"BareMetalAdminBgpPeerConfig": { +"description": "BareMetalAdminBgpPeerConfig represents configuration parameters for a Border Gateway Protocol (BGP) peer.", +"id": "BareMetalAdminBgpPeerConfig", +"properties": { +"asn": { +"description": "Required. BGP autonomous system number (ASN) for the network that contains the external peer device.", +"format": "int64", +"type": "string" +}, +"controlPlaneNodes": { +"description": "The IP address of the control plane node that connects to the external peer. If you don't specify any control plane nodes, all control plane nodes can connect to the external peer. If you specify one or more IP addresses, only the nodes specified participate in peering sessions.", +"items": { +"type": "string" +}, +"type": "array" +}, +"ipAddress": { +"description": "Required. The IP address of the external peer device.", +"type": "string" +} +}, +"type": "object" +}, +"BareMetalAdminCluster": { +"description": "Resource that represents a bare metal admin cluster.", +"id": "BareMetalAdminCluster", +"properties": { +"annotations": { +"additionalProperties": { +"type": "string" +}, +"description": "Annotations on the bare metal admin cluster. This field has the same restrictions as Kubernetes annotations. The total size of all keys and values combined is limited to 256k. Key can have 2 segments: prefix (optional) and name (required), separated by a slash (/). Prefix must be a DNS subdomain. Name must be 63 characters or less, begin and end with alphanumerics, with dashes (-), underscores (_), dots (.), and alphanumerics between.", +"type": "object" +}, +"bareMetalVersion": { +"description": "The Anthos clusters on bare metal version for the bare metal admin cluster.", +"type": "string" +}, +"binaryAuthorization": { +"$ref": "BinaryAuthorization", +"description": "Binary Authorization related configurations." +}, +"clusterOperations": { +"$ref": "BareMetalAdminClusterOperationsConfig", +"description": "Cluster operations configuration." +}, +"controlPlane": { +"$ref": "BareMetalAdminControlPlaneConfig", +"description": "Control plane configuration." +}, +"createTime": { +"description": "Output only. The time at which this bare metal admin cluster was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"deleteTime": { +"description": "Output only. The time at which this bare metal admin cluster was deleted. If the resource is not deleted, this must be empty", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"description": { +"description": "A human readable description of this bare metal admin cluster.", +"type": "string" +}, +"endpoint": { +"description": "Output only. The IP address name of bare metal admin cluster's API server.", +"readOnly": true, +"type": "string" +}, +"etag": { +"description": "This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding. Allows clients to perform consistent read-modify-writes through optimistic concurrency control.", +"type": "string" +}, +"fleet": { +"$ref": "Fleet", +"description": "Output only. Fleet configuration for the cluster.", +"readOnly": true +}, +"loadBalancer": { +"$ref": "BareMetalAdminLoadBalancerConfig", +"description": "Load balancer configuration." +}, +"localName": { +"description": "Output only. The object name of the bare metal cluster custom resource. This field is used to support conflicting names when enrolling existing clusters to the API. When used as a part of cluster enrollment, this field will differ from the ID in the resource name. For new clusters, this field will match the user provided cluster name and be visible in the last component of the resource name. It is not modifiable. All users should use this name to access their cluster using gkectl or kubectl and should expect to see the local name when viewing admin cluster controller logs.", +"readOnly": true, +"type": "string" +}, +"maintenanceConfig": { +"$ref": "BareMetalAdminMaintenanceConfig", +"description": "Maintenance configuration." +}, +"maintenanceStatus": { +"$ref": "BareMetalAdminMaintenanceStatus", +"description": "Output only. MaintenanceStatus representing state of maintenance.", +"readOnly": true +}, +"name": { +"description": "Immutable. The bare metal admin cluster resource name.", +"type": "string" +}, +"networkConfig": { +"$ref": "BareMetalAdminNetworkConfig", +"description": "Network configuration." +}, +"nodeAccessConfig": { +"$ref": "BareMetalAdminNodeAccessConfig", +"description": "Node access related configurations." +}, +"nodeConfig": { +"$ref": "BareMetalAdminWorkloadNodeConfig", +"description": "Workload node configuration." +}, +"osEnvironmentConfig": { +"$ref": "BareMetalAdminOsEnvironmentConfig", +"description": "OS environment related configurations." +}, +"proxy": { +"$ref": "BareMetalAdminProxyConfig", +"description": "Proxy configuration." +}, +"reconciling": { +"description": "Output only. If set, there are currently changes in flight to the bare metal Admin Cluster.", +"readOnly": true, +"type": "boolean" +}, +"securityConfig": { +"$ref": "BareMetalAdminSecurityConfig", +"description": "Security related configuration." +}, +"state": { +"description": "Output only. The current state of the bare metal admin cluster.", +"enum": [ +"STATE_UNSPECIFIED", +"PROVISIONING", +"RUNNING", +"RECONCILING", +"STOPPING", +"ERROR", +"DEGRADED" +], +"enumDescriptions": [ +"Not set.", +"The PROVISIONING state indicates the cluster is being created.", +"The RUNNING state indicates the cluster has been created and is fully usable.", +"The RECONCILING state indicates that the cluster is being updated. It remains available, but potentially with degraded performance.", +"The STOPPING state indicates the cluster is being deleted.", +"The ERROR state indicates the cluster is in a broken unrecoverable state.", +"The DEGRADED state indicates the cluster requires user action to restore full functionality." +], +"readOnly": true, +"type": "string" +}, +"status": { +"$ref": "ResourceStatus", +"description": "Output only. ResourceStatus representing detailed cluster status.", +"readOnly": true +}, +"storage": { +"$ref": "BareMetalAdminStorageConfig", +"description": "Storage configuration." +}, +"uid": { +"description": "Output only. The unique identifier of the bare metal admin cluster.", +"readOnly": true, +"type": "string" +}, +"updateTime": { +"description": "Output only. The time at which this bare metal admin cluster was last updated.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"validationCheck": { +"$ref": "ValidationCheck", +"description": "Output only. ValidationCheck representing the result of the preflight check.", +"readOnly": true +} +}, +"type": "object" +}, +"BareMetalAdminClusterOperationsConfig": { +"description": "BareMetalAdminClusterOperationsConfig specifies the admin cluster's observability infrastructure.", +"id": "BareMetalAdminClusterOperationsConfig", +"properties": { +"enableApplicationLogs": { +"description": "Whether collection of application logs/metrics should be enabled (in addition to system logs/metrics).", +"type": "boolean" +} +}, +"type": "object" +}, +"BareMetalAdminControlPlaneConfig": { +"description": "BareMetalAdminControlPlaneConfig specifies the control plane configuration.", +"id": "BareMetalAdminControlPlaneConfig", +"properties": { +"apiServerArgs": { +"description": "Customizes the default API server args. Only a subset of customized flags are supported. Please refer to the API server documentation below to know the exact format: https://kubernetes.io/docs/reference/command-line-tools-reference/kube-apiserver/", +"items": { +"$ref": "BareMetalAdminApiServerArgument" +}, +"type": "array" +}, +"controlPlaneNodePoolConfig": { +"$ref": "BareMetalAdminControlPlaneNodePoolConfig", +"description": "Required. Configures the node pool running the control plane. If specified the corresponding NodePool will be created for the cluster's control plane. The NodePool will have the same name and namespace as the cluster." +} +}, +"type": "object" +}, +"BareMetalAdminControlPlaneNodePoolConfig": { +"description": "BareMetalAdminControlPlaneNodePoolConfig specifies the control plane node pool configuration. We have a control plane specific node pool config so that we can flexible about supporting control plane specific fields in the future.", +"id": "BareMetalAdminControlPlaneNodePoolConfig", +"properties": { +"nodePoolConfig": { +"$ref": "BareMetalNodePoolConfig", +"description": "Required. The generic configuration for a node pool running the control plane." +} +}, +"type": "object" +}, +"BareMetalAdminDrainedMachine": { +"description": "BareMetalAdminDrainedMachine represents the machines that are drained.", +"id": "BareMetalAdminDrainedMachine", +"properties": { +"nodeIp": { +"description": "Drained machine IP address.", +"type": "string" +} +}, +"type": "object" +}, +"BareMetalAdminDrainingMachine": { +"description": "BareMetalAdminDrainingMachine represents the machines that are currently draining.", +"id": "BareMetalAdminDrainingMachine", +"properties": { +"nodeIp": { +"description": "Draining machine IP address.", +"type": "string" +}, +"podCount": { +"description": "The count of pods yet to drain.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"BareMetalAdminIslandModeCidrConfig": { +"description": "BareMetalAdminIslandModeCidrConfig specifies the cluster CIDR configuration while running in island mode.", +"id": "BareMetalAdminIslandModeCidrConfig", +"properties": { +"podAddressCidrBlocks": { +"description": "Required. All pods in the cluster are assigned an RFC1918 IPv4 address from these ranges. This field cannot be changed after creation.", +"items": { +"type": "string" +}, +"type": "array" +}, +"serviceAddressCidrBlocks": { +"description": "Required. All services in the cluster are assigned an RFC1918 IPv4 address from these ranges. This field cannot be changed after creation.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"BareMetalAdminLoadBalancerAddressPool": { +"description": "Represents an IP pool used by the load balancer.", +"id": "BareMetalAdminLoadBalancerAddressPool", +"properties": { +"addresses": { +"description": "Required. The addresses that are part of this pool. Each address must be either in the CIDR form (1.2.3.0/24) or range form (1.2.3.1-1.2.3.5).", +"items": { +"type": "string" +}, +"type": "array" +}, +"avoidBuggyIps": { +"description": "If true, avoid using IPs ending in .0 or .255. This avoids buggy consumer devices mistakenly dropping IPv4 traffic for those special IP addresses.", +"type": "boolean" +}, +"manualAssign": { +"description": "If true, prevent IP addresses from being automatically assigned.", +"type": "boolean" +}, +"pool": { +"description": "Required. The name of the address pool.", +"type": "string" +} +}, +"type": "object" +}, +"BareMetalAdminLoadBalancerConfig": { +"description": "BareMetalAdminLoadBalancerConfig specifies the load balancer configuration.", +"id": "BareMetalAdminLoadBalancerConfig", +"properties": { +"bgpLbConfig": { +"$ref": "BareMetalAdminBgpLbConfig", +"description": "Configuration for BGP typed load balancers." +}, +"manualLbConfig": { +"$ref": "BareMetalAdminManualLbConfig", +"description": "Manually configured load balancers." +}, +"portConfig": { +"$ref": "BareMetalAdminPortConfig", +"description": "Configures the ports that the load balancer will listen on." +}, +"vipConfig": { +"$ref": "BareMetalAdminVipConfig", +"description": "The VIPs used by the load balancer." +} +}, +"type": "object" +}, +"BareMetalAdminLoadBalancerNodePoolConfig": { +"description": "Specifies the load balancer's node pool configuration.", +"id": "BareMetalAdminLoadBalancerNodePoolConfig", +"properties": { +"nodePoolConfig": { +"$ref": "BareMetalNodePoolConfig", +"description": "The generic configuration for a node pool running a load balancer." +} +}, +"type": "object" +}, +"BareMetalAdminMachineDrainStatus": { +"description": "BareMetalAdminMachineDrainStatus represents the status of bare metal node machines that are undergoing drain operations.", +"id": "BareMetalAdminMachineDrainStatus", +"properties": { +"drainedMachines": { +"description": "The list of drained machines.", +"items": { +"$ref": "BareMetalAdminDrainedMachine" +}, +"type": "array" +}, +"drainingMachines": { +"description": "The list of draning machines.", +"items": { +"$ref": "BareMetalAdminDrainingMachine" +}, +"type": "array" +} +}, +"type": "object" +}, +"BareMetalAdminMaintenanceConfig": { +"description": "BareMetalAdminMaintenanceConfig specifies configurations to put bare metal Admin cluster CRs nodes in and out of maintenance.", +"id": "BareMetalAdminMaintenanceConfig", +"properties": { +"maintenanceAddressCidrBlocks": { +"description": "Required. All IPv4 address from these ranges will be placed into maintenance mode. Nodes in maintenance mode will be cordoned and drained. When both of these are true, the \"baremetal.cluster.gke.io/maintenance\" annotation will be set on the node resource.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"BareMetalAdminMaintenanceStatus": { +"description": "BareMetalAdminMaintenanceStatus represents the maintenance status for bare metal Admin cluster CR's nodes.", +"id": "BareMetalAdminMaintenanceStatus", +"properties": { +"machineDrainStatus": { +"$ref": "BareMetalAdminMachineDrainStatus", +"description": "Represents the status of draining and drained machine nodes. This is used to show the progress of cluster upgrade." +} +}, +"type": "object" +}, +"BareMetalAdminManualLbConfig": { +"description": "BareMetalAdminManualLbConfig represents configuration parameters for a manual load balancer.", +"id": "BareMetalAdminManualLbConfig", +"properties": { +"enabled": { +"description": "Whether manual load balancing is enabled.", +"type": "boolean" +} +}, +"type": "object" +}, +"BareMetalAdminMultipleNetworkInterfacesConfig": { +"description": "Specifies the multiple networking interfaces cluster configuration.", +"id": "BareMetalAdminMultipleNetworkInterfacesConfig", +"properties": { +"enabled": { +"description": "Whether to enable multiple network interfaces for your pods. When set network_config.advanced_networking is automatically set to true.", +"type": "boolean" +} +}, +"type": "object" +}, +"BareMetalAdminNetworkConfig": { +"description": "BareMetalAdminNetworkConfig specifies the cluster network configuration.", +"id": "BareMetalAdminNetworkConfig", +"properties": { +"advancedNetworking": { +"description": "Enables the use of advanced Anthos networking features, such as Bundled Load Balancing with BGP or the egress NAT gateway. Setting configuration for advanced networking features will automatically set this flag.", +"type": "boolean" +}, +"islandModeCidr": { +"$ref": "BareMetalAdminIslandModeCidrConfig", +"description": "Configuration for Island mode CIDR." +}, +"multipleNetworkInterfacesConfig": { +"$ref": "BareMetalAdminMultipleNetworkInterfacesConfig", +"description": "Configuration for multiple network interfaces." +} +}, +"type": "object" +}, +"BareMetalAdminNodeAccessConfig": { +"description": "Specifies the node access related settings for the bare metal admin cluster.", +"id": "BareMetalAdminNodeAccessConfig", +"properties": { +"loginUser": { +"description": "Required. LoginUser is the user name used to access node machines. It defaults to \"root\" if not set.", +"type": "string" +} +}, +"type": "object" +}, +"BareMetalAdminOsEnvironmentConfig": { +"description": "Specifies operating system operation settings for cluster provisioning.", +"id": "BareMetalAdminOsEnvironmentConfig", +"properties": { +"packageRepoExcluded": { +"description": "Whether the package repo should be added when initializing bare metal machines.", +"type": "boolean" +} +}, +"type": "object" +}, +"BareMetalAdminPortConfig": { +"description": "BareMetalAdminPortConfig is the specification of load balancer ports.", +"id": "BareMetalAdminPortConfig", +"properties": { +"controlPlaneLoadBalancerPort": { +"description": "The port that control plane hosted load balancers will listen on.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"BareMetalAdminProxyConfig": { +"description": "BareMetalAdminProxyConfig specifies the cluster proxy configuration.", +"id": "BareMetalAdminProxyConfig", +"properties": { +"noProxy": { +"description": "A list of IPs, hostnames, and domains that should skip the proxy. Examples: [\"127.0.0.1\", \"example.com\", \".corp\", \"localhost\"].", +"items": { +"type": "string" +}, +"type": "array" +}, +"uri": { +"description": "Required. Specifies the address of your proxy server. Examples: `http://domain` WARNING: Do not provide credentials in the format `http://(username:password@)domain` these will be rejected by the server.", +"type": "string" +} +}, +"type": "object" +}, +"BareMetalAdminSecurityConfig": { +"description": "Specifies the security related settings for the bare metal admin cluster.", +"id": "BareMetalAdminSecurityConfig", +"properties": { +"authorization": { +"$ref": "Authorization", +"description": "Configures user access to the admin cluster." +} +}, +"type": "object" +}, +"BareMetalAdminStorageConfig": { +"description": "BareMetalAdminStorageConfig specifies the cluster storage configuration.", +"id": "BareMetalAdminStorageConfig", +"properties": { +"lvpNodeMountsConfig": { +"$ref": "BareMetalLvpConfig", +"description": "Required. Specifies the config for local PersistentVolumes backed by mounted node disks. These disks need to be formatted and mounted by the user, which can be done before or after cluster creation." +}, +"lvpShareConfig": { +"$ref": "BareMetalLvpShareConfig", +"description": "Required. Specifies the config for local PersistentVolumes backed by subdirectories in a shared filesystem. These subdirectores are automatically created during cluster creation." +} +}, +"type": "object" +}, +"BareMetalAdminVipConfig": { +"description": "BareMetalAdminVipConfig for bare metal load balancer configurations.", +"id": "BareMetalAdminVipConfig", +"properties": { +"controlPlaneVip": { +"description": "The VIP which you previously set aside for the Kubernetes API of this bare metal admin cluster.", +"type": "string" +} +}, +"type": "object" +}, +"BareMetalAdminWorkloadNodeConfig": { +"description": "BareMetalAdminWorkloadNodeConfig specifies the workload node configurations.", +"id": "BareMetalAdminWorkloadNodeConfig", +"properties": { +"maxPodsPerNode": { +"description": "The maximum number of pods a node can run. The size of the CIDR range assigned to the node will be derived from this parameter. By default 110 Pods are created per Node. Upper bound is 250 for both HA and non-HA admin cluster. Lower bound is 64 for non-HA admin cluster and 32 for HA admin cluster.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"BareMetalApiServerArgument": { +"description": "Represents an arg name->value pair. Only a subset of customized flags are supported. For the exact format, refer to the [API server documentation](https://kubernetes.io/docs/reference/command-line-tools-reference/kube-apiserver/).", +"id": "BareMetalApiServerArgument", +"properties": { +"argument": { +"description": "Required. The argument name as it appears on the API Server command line, make sure to remove the leading dashes.", +"type": "string" +}, +"value": { +"description": "Required. The value of the arg as it will be passed to the API Server command line.", +"type": "string" +} +}, +"type": "object" +}, +"BareMetalBgpLbConfig": { +"description": "BareMetalBgpLbConfig represents configuration parameters for a Border Gateway Protocol (BGP) load balancer.", +"id": "BareMetalBgpLbConfig", +"properties": { +"addressPools": { +"description": "Required. AddressPools is a list of non-overlapping IP pools used by load balancer typed services. All addresses must be routable to load balancer nodes. IngressVIP must be included in the pools.", +"items": { +"$ref": "BareMetalLoadBalancerAddressPool" +}, +"type": "array" +}, +"asn": { +"description": "Required. BGP autonomous system number (ASN) of the cluster. This field can be updated after cluster creation.", +"format": "int64", +"type": "string" +}, +"bgpPeerConfigs": { +"description": "Required. The list of BGP peers that the cluster will connect to. At least one peer must be configured for each control plane node. Control plane nodes will connect to these peers to advertise the control plane VIP. The Services load balancer also uses these peers by default. This field can be updated after cluster creation.", +"items": { +"$ref": "BareMetalBgpPeerConfig" +}, +"type": "array" +}, +"loadBalancerNodePoolConfig": { +"$ref": "BareMetalLoadBalancerNodePoolConfig", +"description": "Specifies the node pool running data plane load balancing. L2 connectivity is required among nodes in this pool. If missing, the control plane node pool is used for data plane load balancing." +} +}, +"type": "object" +}, +"BareMetalBgpPeerConfig": { +"description": "BareMetalBgpPeerConfig represents configuration parameters for a Border Gateway Protocol (BGP) peer.", +"id": "BareMetalBgpPeerConfig", +"properties": { +"asn": { +"description": "Required. BGP autonomous system number (ASN) for the network that contains the external peer device.", +"format": "int64", +"type": "string" +}, +"controlPlaneNodes": { +"description": "The IP address of the control plane node that connects to the external peer. If you don't specify any control plane nodes, all control plane nodes can connect to the external peer. If you specify one or more IP addresses, only the nodes specified participate in peering sessions.", +"items": { +"type": "string" +}, +"type": "array" +}, +"ipAddress": { +"description": "Required. The IP address of the external peer device.", +"type": "string" +} +}, +"type": "object" +}, +"BareMetalCluster": { +"description": "Resource that represents a bare metal user cluster.", +"id": "BareMetalCluster", +"properties": { +"adminClusterMembership": { +"description": "Required. The admin cluster this bare metal user cluster belongs to. This is the full resource name of the admin cluster's fleet membership.", +"type": "string" +}, +"adminClusterName": { +"description": "Output only. The resource name of the bare metal admin cluster managing this user cluster.", +"readOnly": true, +"type": "string" +}, +"annotations": { +"additionalProperties": { +"type": "string" +}, +"description": "Annotations on the bare metal user cluster. This field has the same restrictions as Kubernetes annotations. The total size of all keys and values combined is limited to 256k. Key can have 2 segments: prefix (optional) and name (required), separated by a slash (/). Prefix must be a DNS subdomain. Name must be 63 characters or less, begin and end with alphanumerics, with dashes (-), underscores (_), dots (.), and alphanumerics between.", +"type": "object" +}, +"bareMetalVersion": { +"description": "Required. The Anthos clusters on bare metal version for your user cluster.", +"type": "string" +}, +"binaryAuthorization": { +"$ref": "BinaryAuthorization", +"description": "Binary Authorization related configurations." +}, +"clusterOperations": { +"$ref": "BareMetalClusterOperationsConfig", +"description": "Cluster operations configuration." +}, +"controlPlane": { +"$ref": "BareMetalControlPlaneConfig", +"description": "Required. Control plane configuration." +}, +"createTime": { +"description": "Output only. The time when the bare metal user cluster was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"deleteTime": { +"description": "Output only. The time when the bare metal user cluster was deleted. If the resource is not deleted, this must be empty", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"description": { +"description": "A human readable description of this bare metal user cluster.", +"type": "string" +}, +"endpoint": { +"description": "Output only. The IP address of the bare metal user cluster's API server.", +"readOnly": true, +"type": "string" +}, +"etag": { +"description": "Output only. This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding. Allows clients to perform consistent read-modify-writes through optimistic concurrency control.", +"readOnly": true, +"type": "string" +}, +"fleet": { +"$ref": "Fleet", +"description": "Output only. Fleet configuration for the cluster.", +"readOnly": true +}, +"loadBalancer": { +"$ref": "BareMetalLoadBalancerConfig", +"description": "Required. Load balancer configuration." +}, +"localName": { +"description": "Output only. The object name of the bare metal user cluster custom resource on the associated admin cluster. This field is used to support conflicting names when enrolling existing clusters to the API. When used as a part of cluster enrollment, this field will differ from the name in the resource name. For new clusters, this field will match the user provided cluster name and be visible in the last component of the resource name. It is not modifiable. When the local name and cluster name differ, the local name is used in the admin cluster controller logs. You use the cluster name when accessing the cluster using bmctl and kubectl.", +"readOnly": true, +"type": "string" +}, +"localNamespace": { +"description": "Output only. The namespace of the cluster.", +"readOnly": true, +"type": "string" +}, +"maintenanceConfig": { +"$ref": "BareMetalMaintenanceConfig", +"description": "Maintenance configuration." +}, +"maintenanceStatus": { +"$ref": "BareMetalMaintenanceStatus", +"description": "Output only. Status of on-going maintenance tasks.", +"readOnly": true +}, +"name": { +"description": "Immutable. The bare metal user cluster resource name.", +"type": "string" +}, +"networkConfig": { +"$ref": "BareMetalNetworkConfig", +"description": "Required. Network configuration." +}, +"nodeAccessConfig": { +"$ref": "BareMetalNodeAccessConfig", +"description": "Node access related configurations." +}, +"nodeConfig": { +"$ref": "BareMetalWorkloadNodeConfig", +"description": "Workload node configuration." +}, +"osEnvironmentConfig": { +"$ref": "BareMetalOsEnvironmentConfig", +"description": "OS environment related configurations." +}, +"proxy": { +"$ref": "BareMetalProxyConfig", +"description": "Proxy configuration." +}, +"reconciling": { +"description": "Output only. If set, there are currently changes in flight to the bare metal user cluster.", +"readOnly": true, +"type": "boolean" +}, +"securityConfig": { +"$ref": "BareMetalSecurityConfig", +"description": "Security related setting configuration." +}, +"state": { +"description": "Output only. The current state of the bare metal user cluster.", +"enum": [ +"STATE_UNSPECIFIED", +"PROVISIONING", +"RUNNING", +"RECONCILING", +"STOPPING", +"ERROR", +"DEGRADED" +], +"enumDescriptions": [ +"Not set.", +"The PROVISIONING state indicates the cluster is being created.", +"The RUNNING state indicates the cluster has been created and is fully usable.", +"The RECONCILING state indicates that the cluster is being updated. It remains available, but potentially with degraded performance.", +"The STOPPING state indicates the cluster is being deleted.", +"The ERROR state indicates the cluster is in a broken unrecoverable state.", +"The DEGRADED state indicates the cluster requires user action to restore full functionality." +], +"readOnly": true, +"type": "string" +}, +"status": { +"$ref": "ResourceStatus", +"description": "Output only. Detailed cluster status.", +"readOnly": true +}, +"storage": { +"$ref": "BareMetalStorageConfig", +"description": "Required. Storage configuration." +}, +"uid": { +"description": "Output only. The unique identifier of the bare metal user cluster.", +"readOnly": true, +"type": "string" +}, +"updateTime": { +"description": "Output only. The time when the bare metal user cluster was last updated.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"upgradePolicy": { +"$ref": "BareMetalClusterUpgradePolicy", +"description": "The cluster upgrade policy." +}, +"validationCheck": { +"$ref": "ValidationCheck", +"description": "Output only. The result of the preflight check.", +"readOnly": true +} +}, +"type": "object" +}, +"BareMetalClusterOperationsConfig": { +"description": "Specifies the bare metal user cluster's observability infrastructure.", +"id": "BareMetalClusterOperationsConfig", +"properties": { +"enableApplicationLogs": { +"description": "Whether collection of application logs/metrics should be enabled (in addition to system logs/metrics).", +"type": "boolean" +} +}, +"type": "object" +}, +"BareMetalClusterUpgradePolicy": { +"description": "BareMetalClusterUpgradePolicy defines the cluster upgrade policy.", +"id": "BareMetalClusterUpgradePolicy", +"properties": { +"pause": { +"description": "Output only. Pause is used to show the upgrade pause status. It's view only for now.", +"readOnly": true, +"type": "boolean" +}, +"policy": { +"description": "Specifies which upgrade policy to use.", +"enum": [ +"NODE_POOL_POLICY_UNSPECIFIED", +"SERIAL", +"CONCURRENT" +], +"enumDescriptions": [ +"No upgrade policy selected.", +"Upgrade worker node pools sequentially.", +"Upgrade all worker node pools in parallel." +], +"type": "string" +} +}, +"type": "object" +}, +"BareMetalControlPlaneConfig": { +"description": "Specifies the control plane configuration.", +"id": "BareMetalControlPlaneConfig", +"properties": { +"apiServerArgs": { +"description": "Customizes the default API server args. Only a subset of customized flags are supported. For the exact format, refer to the [API server documentation](https://kubernetes.io/docs/reference/command-line-tools-reference/kube-apiserver/).", +"items": { +"$ref": "BareMetalApiServerArgument" +}, +"type": "array" +}, +"controlPlaneNodePoolConfig": { +"$ref": "BareMetalControlPlaneNodePoolConfig", +"description": "Required. Configures the node pool running the control plane." +} +}, +"type": "object" +}, +"BareMetalControlPlaneNodePoolConfig": { +"description": "Specifies the control plane node pool configuration.", +"id": "BareMetalControlPlaneNodePoolConfig", +"properties": { +"nodePoolConfig": { +"$ref": "BareMetalNodePoolConfig", +"description": "Required. The generic configuration for a node pool running the control plane." +} +}, +"type": "object" +}, +"BareMetalDrainedMachine": { +"description": "Represents a machine that is currently drained.", +"id": "BareMetalDrainedMachine", +"properties": { +"nodeIp": { +"description": "Drained machine IP address.", +"type": "string" +} +}, +"type": "object" +}, +"BareMetalDrainingMachine": { +"description": "Represents a machine that is currently draining.", +"id": "BareMetalDrainingMachine", +"properties": { +"nodeIp": { +"description": "Draining machine IP address.", +"type": "string" +}, +"podCount": { +"description": "The count of pods yet to drain.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"BareMetalIslandModeCidrConfig": { +"description": "Specifies the cluster CIDR configuration while running in island mode.", +"id": "BareMetalIslandModeCidrConfig", +"properties": { +"podAddressCidrBlocks": { +"description": "Required. All pods in the cluster are assigned an RFC1918 IPv4 address from these ranges. This field cannot be changed after creation.", +"items": { +"type": "string" +}, +"type": "array" +}, +"serviceAddressCidrBlocks": { +"description": "Required. All services in the cluster are assigned an RFC1918 IPv4 address from these ranges. This field is mutable after creation starting with version 1.15.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"BareMetalKubeletConfig": { +"description": "KubeletConfig defines the modifiable kubelet configurations for bare metal machines. Note: this list includes fields supported in GKE (see https://cloud.google.com/kubernetes-engine/docs/how-to/node-system-config#kubelet-options).", +"id": "BareMetalKubeletConfig", +"properties": { +"registryBurst": { +"description": "The maximum size of bursty pulls, temporarily allows pulls to burst to this number, while still not exceeding registry_pull_qps. The value must not be a negative number. Updating this field may impact scalability by changing the amount of traffic produced by image pulls. Defaults to 10.", +"format": "int32", +"type": "integer" +}, +"registryPullQps": { +"description": "The limit of registry pulls per second. Setting this value to 0 means no limit. Updating this field may impact scalability by changing the amount of traffic produced by image pulls. Defaults to 5.", +"format": "int32", +"type": "integer" +}, +"serializeImagePullsDisabled": { +"description": "Prevents the Kubelet from pulling multiple images at a time. We recommend *not* changing the default value on nodes that run docker daemon with version < 1.9 or an Another Union File System (Aufs) storage backend. Issue https://github.com/kubernetes/kubernetes/issues/10959 has more details.", +"type": "boolean" +} +}, +"type": "object" +}, +"BareMetalLoadBalancerAddressPool": { +"description": "Represents an IP pool used by the load balancer.", +"id": "BareMetalLoadBalancerAddressPool", +"properties": { +"addresses": { +"description": "Required. The addresses that are part of this pool. Each address must be either in the CIDR form (1.2.3.0/24) or range form (1.2.3.1-1.2.3.5).", +"items": { +"type": "string" +}, +"type": "array" +}, +"avoidBuggyIps": { +"description": "If true, avoid using IPs ending in .0 or .255. This avoids buggy consumer devices mistakenly dropping IPv4 traffic for those special IP addresses.", +"type": "boolean" +}, +"manualAssign": { +"description": "If true, prevent IP addresses from being automatically assigned.", +"type": "boolean" +}, +"pool": { +"description": "Required. The name of the address pool.", +"type": "string" +} +}, +"type": "object" +}, +"BareMetalLoadBalancerConfig": { +"description": "Specifies the load balancer configuration.", +"id": "BareMetalLoadBalancerConfig", +"properties": { +"bgpLbConfig": { +"$ref": "BareMetalBgpLbConfig", +"description": "Configuration for BGP typed load balancers. When set network_config.advanced_networking is automatically set to true." +}, +"manualLbConfig": { +"$ref": "BareMetalManualLbConfig", +"description": "Manually configured load balancers." +}, +"metalLbConfig": { +"$ref": "BareMetalMetalLbConfig", +"description": "Configuration for MetalLB load balancers." +}, +"portConfig": { +"$ref": "BareMetalPortConfig", +"description": "Configures the ports that the load balancer will listen on." +}, +"vipConfig": { +"$ref": "BareMetalVipConfig", +"description": "The VIPs used by the load balancer." +} +}, +"type": "object" +}, +"BareMetalLoadBalancerNodePoolConfig": { +"description": "Specifies the load balancer's node pool configuration.", +"id": "BareMetalLoadBalancerNodePoolConfig", +"properties": { +"nodePoolConfig": { +"$ref": "BareMetalNodePoolConfig", +"description": "The generic configuration for a node pool running a load balancer." +} +}, +"type": "object" +}, +"BareMetalLvpConfig": { +"description": "Specifies the configs for local persistent volumes (PVs).", +"id": "BareMetalLvpConfig", +"properties": { +"path": { +"description": "Required. The host machine path.", +"type": "string" +}, +"storageClass": { +"description": "Required. The StorageClass name that PVs will be created with.", +"type": "string" +} +}, +"type": "object" +}, +"BareMetalLvpShareConfig": { +"description": "Specifies the configs for local persistent volumes under a shared file system.", +"id": "BareMetalLvpShareConfig", +"properties": { +"lvpConfig": { +"$ref": "BareMetalLvpConfig", +"description": "Required. Defines the machine path and storage class for the LVP Share." +}, +"sharedPathPvCount": { +"description": "The number of subdirectories to create under path.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"BareMetalMachineDrainStatus": { +"description": "Represents the status of node machines that are undergoing drain operations.", +"id": "BareMetalMachineDrainStatus", +"properties": { +"drainedMachines": { +"description": "The list of drained machines.", +"items": { +"$ref": "BareMetalDrainedMachine" +}, +"type": "array" +}, +"drainingMachines": { +"description": "The list of draning machines.", +"items": { +"$ref": "BareMetalDrainingMachine" +}, +"type": "array" +} +}, +"type": "object" +}, +"BareMetalMaintenanceConfig": { +"description": "Specifies configurations to put bare metal nodes in and out of maintenance.", +"id": "BareMetalMaintenanceConfig", +"properties": { +"maintenanceAddressCidrBlocks": { +"description": "Required. All IPv4 address from these ranges will be placed into maintenance mode. Nodes in maintenance mode will be cordoned and drained. When both of these are true, the \"baremetal.cluster.gke.io/maintenance\" annotation will be set on the node resource.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"BareMetalMaintenanceStatus": { +"description": "Represents the maintenance status of the bare metal user cluster.", +"id": "BareMetalMaintenanceStatus", +"properties": { +"machineDrainStatus": { +"$ref": "BareMetalMachineDrainStatus", +"description": "The maintenance status of node machines." +} +}, +"type": "object" +}, +"BareMetalManualLbConfig": { +"description": "Represents configuration parameters for a manual load balancer.", +"id": "BareMetalManualLbConfig", +"properties": { +"enabled": { +"description": "Whether manual load balancing is enabled.", +"type": "boolean" +} +}, +"type": "object" +}, +"BareMetalMetalLbConfig": { +"description": "Represents configuration parameters for a MetalLB load balancer.", +"id": "BareMetalMetalLbConfig", +"properties": { +"addressPools": { +"description": "Required. AddressPools is a list of non-overlapping IP pools used by load balancer typed services. All addresses must be routable to load balancer nodes. IngressVIP must be included in the pools.", +"items": { +"$ref": "BareMetalLoadBalancerAddressPool" +}, +"type": "array" +}, +"loadBalancerNodePoolConfig": { +"$ref": "BareMetalLoadBalancerNodePoolConfig", +"description": "Specifies the node pool running the load balancer. L2 connectivity is required among nodes in this pool. If missing, the control plane node pool is used as the load balancer pool." +} +}, +"type": "object" +}, +"BareMetalMultipleNetworkInterfacesConfig": { +"description": "Specifies the multiple networking interfaces cluster configuration.", +"id": "BareMetalMultipleNetworkInterfacesConfig", +"properties": { +"enabled": { +"description": "Whether to enable multiple network interfaces for your pods. When set network_config.advanced_networking is automatically set to true.", +"type": "boolean" +} +}, +"type": "object" +}, +"BareMetalNetworkConfig": { +"description": "Specifies the cluster network configuration.", +"id": "BareMetalNetworkConfig", +"properties": { +"advancedNetworking": { +"description": "Enables the use of advanced Anthos networking features, such as Bundled Load Balancing with BGP or the egress NAT gateway. Setting configuration for advanced networking features will automatically set this flag.", +"type": "boolean" +}, +"islandModeCidr": { +"$ref": "BareMetalIslandModeCidrConfig", +"description": "Configuration for island mode CIDR. In an island-mode network, nodes have unique IP addresses, but pods don't have unique addresses across clusters. This doesn't cause problems because pods in one cluster never directly communicate with pods in another cluster. Instead, there are gateways that mediate between a pod in one cluster and a pod in another cluster." +}, +"multipleNetworkInterfacesConfig": { +"$ref": "BareMetalMultipleNetworkInterfacesConfig", +"description": "Configuration for multiple network interfaces." +}, +"srIovConfig": { +"$ref": "BareMetalSrIovConfig", +"description": "Configuration for SR-IOV." +} +}, +"type": "object" +}, +"BareMetalNodeAccessConfig": { +"description": "Specifies the node access related settings for the bare metal user cluster.", +"id": "BareMetalNodeAccessConfig", +"properties": { +"loginUser": { +"description": "LoginUser is the user name used to access node machines. It defaults to \"root\" if not set.", +"type": "string" +} +}, +"type": "object" +}, +"BareMetalNodeConfig": { +"description": "BareMetalNodeConfig lists machine addresses to access Nodes.", +"id": "BareMetalNodeConfig", +"properties": { +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "The labels assigned to this node. An object containing a list of key/value pairs. The labels here, unioned with the labels set on BareMetalNodePoolConfig are the set of labels that will be applied to the node. If there are any conflicts, the BareMetalNodeConfig labels take precedence. Example: { \"name\": \"wrench\", \"mass\": \"1.3kg\", \"count\": \"3\" }.", +"type": "object" +}, +"nodeIp": { +"description": "The default IPv4 address for SSH access and Kubernetes node. Example: 192.168.0.1", +"type": "string" +} +}, +"type": "object" +}, +"BareMetalNodePool": { +"description": "Resource that represents a bare metal node pool.", +"id": "BareMetalNodePool", +"properties": { +"annotations": { +"additionalProperties": { +"type": "string" +}, +"description": "Annotations on the bare metal node pool. This field has the same restrictions as Kubernetes annotations. The total size of all keys and values combined is limited to 256k. Key can have 2 segments: prefix (optional) and name (required), separated by a slash (/). Prefix must be a DNS subdomain. Name must be 63 characters or less, begin and end with alphanumerics, with dashes (-), underscores (_), dots (.), and alphanumerics between.", +"type": "object" +}, +"createTime": { +"description": "Output only. The time at which this bare metal node pool was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"deleteTime": { +"description": "Output only. The time at which this bare metal node pool was deleted. If the resource is not deleted, this must be empty", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"displayName": { +"description": "The display name for the bare metal node pool.", +"type": "string" +}, +"etag": { +"description": "This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding. Allows clients to perform consistent read-modify-writes through optimistic concurrency control.", +"type": "string" +}, +"name": { +"description": "Immutable. The bare metal node pool resource name.", +"type": "string" +}, +"nodePoolConfig": { +"$ref": "BareMetalNodePoolConfig", +"description": "Required. Node pool configuration." +}, +"reconciling": { +"description": "Output only. If set, there are currently changes in flight to the bare metal node pool.", +"readOnly": true, +"type": "boolean" +}, +"state": { +"description": "Output only. The current state of the bare metal node pool.", +"enum": [ +"STATE_UNSPECIFIED", +"PROVISIONING", +"RUNNING", +"RECONCILING", +"STOPPING", +"ERROR", +"DEGRADED" +], +"enumDescriptions": [ +"Not set.", +"The PROVISIONING state indicates the bare metal node pool is being created.", +"The RUNNING state indicates the bare metal node pool has been created and is fully usable.", +"The RECONCILING state indicates that the bare metal node pool is being updated. It remains available, but potentially with degraded performance.", +"The STOPPING state indicates the bare metal node pool is being deleted.", +"The ERROR state indicates the bare metal node pool is in a broken unrecoverable state.", +"The DEGRADED state indicates the bare metal node pool requires user action to restore full functionality." +], +"readOnly": true, +"type": "string" +}, +"status": { +"$ref": "ResourceStatus", +"description": "Output only. ResourceStatus representing the detailed node pool status.", +"readOnly": true +}, +"uid": { +"description": "Output only. The unique identifier of the bare metal node pool.", +"readOnly": true, +"type": "string" +}, +"updateTime": { +"description": "Output only. The time at which this bare metal node pool was last updated.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"upgradePolicy": { +"$ref": "BareMetalNodePoolUpgradePolicy", +"description": "The worker node pool upgrade policy." +} +}, +"type": "object" +}, +"BareMetalNodePoolConfig": { +"description": "BareMetalNodePoolConfig describes the configuration of all nodes within a given bare metal node pool.", +"id": "BareMetalNodePoolConfig", +"properties": { +"kubeletConfig": { +"$ref": "BareMetalKubeletConfig", +"description": "The modifiable kubelet configurations for the bare metal machines." +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "The labels assigned to nodes of this node pool. An object containing a list of key/value pairs. Example: { \"name\": \"wrench\", \"mass\": \"1.3kg\", \"count\": \"3\" }.", +"type": "object" +}, +"nodeConfigs": { +"description": "Required. The list of machine addresses in the bare metal node pool.", +"items": { +"$ref": "BareMetalNodeConfig" +}, +"type": "array" +}, +"operatingSystem": { +"description": "Specifies the nodes operating system (default: LINUX).", +"enum": [ +"OPERATING_SYSTEM_UNSPECIFIED", +"LINUX" +], +"enumDescriptions": [ +"No operating system runtime selected.", +"Linux operating system." +], +"type": "string" +}, +"taints": { +"description": "The initial taints assigned to nodes of this node pool.", +"items": { +"$ref": "NodeTaint" +}, +"type": "array" +} +}, +"type": "object" +}, +"BareMetalNodePoolUpgradePolicy": { +"description": "BareMetalNodePoolUpgradePolicy defines the node pool upgrade policy.", +"id": "BareMetalNodePoolUpgradePolicy", +"properties": { +"parallelUpgradeConfig": { +"$ref": "BareMetalParallelUpgradeConfig", +"description": "The parallel upgrade settings for worker node pools." +} +}, +"type": "object" +}, +"BareMetalOsEnvironmentConfig": { +"description": "Specifies operating system settings for cluster provisioning.", +"id": "BareMetalOsEnvironmentConfig", +"properties": { +"packageRepoExcluded": { +"description": "Whether the package repo should not be included when initializing bare metal machines.", +"type": "boolean" +} +}, +"type": "object" +}, +"BareMetalParallelUpgradeConfig": { +"description": "BareMetalParallelUpgradeConfig defines the parallel upgrade settings for worker node pools.", +"id": "BareMetalParallelUpgradeConfig", +"properties": { +"concurrentNodes": { +"description": "The maximum number of nodes that can be upgraded at once.", +"format": "int32", +"type": "integer" +}, +"minimumAvailableNodes": { +"description": "The minimum number of nodes that should be healthy and available during an upgrade. If set to the default value of 0, it is possible that none of the nodes will be available during an upgrade.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"BareMetalPortConfig": { +"description": "Specifies load balancer ports for the bare metal user cluster.", +"id": "BareMetalPortConfig", +"properties": { +"controlPlaneLoadBalancerPort": { +"description": "The port that control plane hosted load balancers will listen on.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"BareMetalProxyConfig": { +"description": "Specifies the cluster proxy configuration.", +"id": "BareMetalProxyConfig", +"properties": { +"noProxy": { +"description": "A list of IPs, hostnames, and domains that should skip the proxy. Examples: [\"127.0.0.1\", \"example.com\", \".corp\", \"localhost\"].", +"items": { +"type": "string" +}, +"type": "array" +}, +"uri": { +"description": "Required. Specifies the address of your proxy server. Examples: `http://domain` Do not provide credentials in the format `http://(username:password@)domain` these will be rejected by the server.", +"type": "string" +} +}, +"type": "object" +}, +"BareMetalSecurityConfig": { +"description": "Specifies the security related settings for the bare metal user cluster.", +"id": "BareMetalSecurityConfig", +"properties": { +"authorization": { +"$ref": "Authorization", +"description": "Configures user access to the user cluster." +} +}, +"type": "object" +}, +"BareMetalSrIovConfig": { +"description": "Specifies the SR-IOV networking operator config.", +"id": "BareMetalSrIovConfig", +"properties": { +"enabled": { +"description": "Whether to install the SR-IOV operator.", +"type": "boolean" +} +}, +"type": "object" +}, +"BareMetalStorageConfig": { +"description": "BareMetalStorageConfig specifies the cluster storage configuration.", +"id": "BareMetalStorageConfig", +"properties": { +"lvpNodeMountsConfig": { +"$ref": "BareMetalLvpConfig", +"description": "Required. Specifies the config for local PersistentVolumes backed by mounted node disks. These disks need to be formatted and mounted by the user, which can be done before or after cluster creation." +}, +"lvpShareConfig": { +"$ref": "BareMetalLvpShareConfig", +"description": "Required. Specifies the config for local PersistentVolumes backed by subdirectories in a shared filesystem. These subdirectores are automatically created during cluster creation." +} +}, +"type": "object" +}, +"BareMetalVersionInfo": { +"description": "Contains information about a specific Anthos on bare metal version.", +"id": "BareMetalVersionInfo", +"properties": { +"dependencies": { +"description": "The list of upgrade dependencies for this version.", +"items": { +"$ref": "UpgradeDependency" +}, +"type": "array" +}, +"hasDependencies": { +"description": "If set, the cluster dependencies (e.g. the admin cluster, other user clusters managed by the same admin cluster, version skew policy, etc) must be upgraded before this version can be installed or upgraded to.", +"type": "boolean" +}, +"version": { +"description": "Version number e.g. 1.13.1.", +"type": "string" +} +}, +"type": "object" +}, +"BareMetalVipConfig": { +"description": "Specifies the VIP config for the bare metal load balancer.", +"id": "BareMetalVipConfig", +"properties": { +"controlPlaneVip": { +"description": "The VIP which you previously set aside for the Kubernetes API of this bare metal user cluster.", +"type": "string" +}, +"ingressVip": { +"description": "The VIP which you previously set aside for ingress traffic into this bare metal user cluster.", +"type": "string" +} +}, +"type": "object" +}, +"BareMetalWorkloadNodeConfig": { +"description": "Specifies the workload node configurations.", +"id": "BareMetalWorkloadNodeConfig", +"properties": { +"containerRuntime": { +"description": "Specifies which container runtime will be used.", +"enum": [ +"CONTAINER_RUNTIME_UNSPECIFIED", +"CONTAINERD" +], +"enumDescriptions": [ +"No container runtime selected.", +"Containerd runtime." +], +"type": "string" +}, +"maxPodsPerNode": { +"description": "The maximum number of pods a node can run. The size of the CIDR range assigned to the node will be derived from this parameter.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"BinaryAuthorization": { +"description": "Configuration for Binary Authorization.", +"id": "BinaryAuthorization", +"properties": { +"evaluationMode": { +"description": "Mode of operation for binauthz policy evaluation. If unspecified, defaults to DISABLED.", +"enum": [ +"EVALUATION_MODE_UNSPECIFIED", +"DISABLED", +"PROJECT_SINGLETON_POLICY_ENFORCE" +], +"enumDescriptions": [ +"Default value", +"Disable BinaryAuthorization", +"Enforce Kubernetes admission requests with BinaryAuthorization using the project's singleton policy." +], +"type": "string" +} +}, +"type": "object" +}, +"Binding": { +"description": "Associates `members`, or principals, with a `role`.", +"id": "Binding", +"properties": { +"condition": { +"$ref": "Expr", +"description": "The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies)." +}, +"members": { +"description": "Specifies the principals requesting access for a Google Cloud resource. `members` can have the following values: * `allUsers`: A special identifier that represents anyone who is on the internet; with or without a Google account. * `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service account. Does not include identities that come from external identity providers (IdPs) through identity federation. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `group:{emailid}`: An email address that represents a Google group. For example, `admins@example.com`. * `domain:{domain}`: The G Suite domain (primary) that represents all the users of that domain. For example, `google.com` or `example.com`. * `principal://iam.googleapis.com/locations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}`: A single identity in a workforce identity pool. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/group/{group_id}`: All workforce identities in a group. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/attribute.{attribute_name}/{attribute_value}`: All workforce identities with a specific attribute value. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/*`: All identities in a workforce identity pool. * `principal://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/subject/{subject_attribute_value}`: A single identity in a workload identity pool. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/group/{group_id}`: A workload identity pool group. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/attribute.{attribute_name}/{attribute_value}`: All identities in a workload identity pool with a certain attribute. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/*`: All identities in a workload identity pool. * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a user that has been recently deleted. For example, `alice@example.com?uid=123456789012345678901`. If the user is recovered, this value reverts to `user:{emailid}` and the recovered user retains the role in the binding. * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a service account that has been recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the service account is undeleted, this value reverts to `serviceAccount:{emailid}` and the undeleted service account retains the role in the binding. * `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a Google group that has been recently deleted. For example, `admins@example.com?uid=123456789012345678901`. If the group is recovered, this value reverts to `group:{emailid}` and the recovered group retains the role in the binding. * `deleted:principal://iam.googleapis.com/locations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}`: Deleted single identity in a workforce identity pool. For example, `deleted:principal://iam.googleapis.com/locations/global/workforcePools/my-pool-id/subject/my-subject-attribute-value`.", +"items": { +"type": "string" +}, +"type": "array" +}, +"role": { +"description": "Role that is assigned to the list of `members`, or principals. For example, `roles/viewer`, `roles/editor`, or `roles/owner`. For an overview of the IAM roles and permissions, see the [IAM documentation](https://cloud.google.com/iam/docs/roles-overview). For a list of the available pre-defined roles, see [here](https://cloud.google.com/iam/docs/understanding-roles).", +"type": "string" +} +}, +"type": "object" +}, +"CancelOperationRequest": { +"description": "The request message for Operations.CancelOperation.", +"id": "CancelOperationRequest", +"properties": {}, +"type": "object" +}, +"ClusterUser": { +"description": "ClusterUser configures user principals for an RBAC policy.", +"id": "ClusterUser", +"properties": { +"username": { +"description": "Required. The name of the user, e.g. `my-gcp-id@gmail.com`.", +"type": "string" +} +}, +"type": "object" +}, +"Empty": { +"description": "A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }", +"id": "Empty", +"properties": {}, +"type": "object" +}, +"EnrollBareMetalAdminClusterRequest": { +"description": "Message for enrolling an existing bare metal admin cluster to the GKE on-prem API.", +"id": "EnrollBareMetalAdminClusterRequest", +"properties": { +"bareMetalAdminClusterId": { +"description": "User provided OnePlatform identifier that is used as part of the resource name. This must be unique among all GKE on-prem clusters within a project and location and will return a 409 if the cluster already exists. (https://tools.ietf.org/html/rfc1123) format.", +"type": "string" +}, +"membership": { +"description": "Required. This is the full resource name of this admin cluster's fleet membership.", +"type": "string" +} +}, +"type": "object" +}, +"EnrollBareMetalClusterRequest": { +"description": "Message for enrolling an existing bare metal cluster to the Anthos On-Prem API.", +"id": "EnrollBareMetalClusterRequest", +"properties": { +"adminClusterMembership": { +"description": "Required. The admin cluster this bare metal user cluster belongs to. This is the full resource name of the admin cluster's fleet membership. In the future, references to other resource types might be allowed if admin clusters are modeled as their own resources.", +"type": "string" +}, +"bareMetalClusterId": { +"description": "User provided OnePlatform identifier that is used as part of the resource name. This must be unique among all bare metal clusters within a project and location and will return a 409 if the cluster already exists. (https://tools.ietf.org/html/rfc1123) format.", +"type": "string" +}, +"localName": { +"description": "Optional. The object name of the bare metal cluster custom resource on the associated admin cluster. This field is used to support conflicting resource names when enrolling existing clusters to the API. When not provided, this field will resolve to the bare_metal_cluster_id. Otherwise, it must match the object name of the bare metal cluster custom resource. It is not modifiable outside / beyond the enrollment operation.", +"type": "string" +}, +"localNamespace": { +"description": "Optional. The namespace of the cluster.", +"type": "string" +} +}, +"type": "object" +}, +"EnrollBareMetalNodePoolRequest": { +"description": "Message for enrolling an existing bare metal node pool to the GKE on-prem API.", +"id": "EnrollBareMetalNodePoolRequest", +"properties": { +"bareMetalNodePoolId": { +"description": "User provided OnePlatform identifier that is used as part of the resource name. (https://tools.ietf.org/html/rfc1123) format.", +"type": "string" +}, +"validateOnly": { +"description": "If set, only validate the request, but do not actually enroll the node pool.", +"type": "boolean" +} +}, +"type": "object" +}, +"EnrollVmwareAdminClusterRequest": { +"description": "Message for enrolling an existing VMware admin cluster to the GKE on-prem API.", +"id": "EnrollVmwareAdminClusterRequest", +"properties": { +"membership": { +"description": "Required. This is the full resource name of this admin cluster's fleet membership.", +"type": "string" +}, +"vmwareAdminClusterId": { +"description": "User provided OnePlatform identifier that is used as part of the resource name. This must be unique among all GKE on-prem clusters within a project and location and will return a 409 if the cluster already exists. (https://tools.ietf.org/html/rfc1123) format.", +"type": "string" +} +}, +"type": "object" +}, +"EnrollVmwareClusterRequest": { +"description": "Message for enrolling an existing VMware cluster to the Anthos On-Prem API.", +"id": "EnrollVmwareClusterRequest", +"properties": { +"adminClusterMembership": { +"description": "Required. The admin cluster this VMware user cluster belongs to. This is the full resource name of the admin cluster's fleet membership. In the future, references to other resource types might be allowed if admin clusters are modeled as their own resources.", +"type": "string" +}, +"localName": { +"description": "Optional. The object name of the VMware OnPremUserCluster custom resource on the associated admin cluster. This field is used to support conflicting resource names when enrolling existing clusters to the API. When not provided, this field will resolve to the vmware_cluster_id. Otherwise, it must match the object name of the VMware OnPremUserCluster custom resource. It is not modifiable outside / beyond the enrollment operation.", +"type": "string" +}, +"validateOnly": { +"description": "Validate the request without actually doing any updates.", +"type": "boolean" +}, +"vmwareClusterId": { +"description": "User provided OnePlatform identifier that is used as part of the resource name. This must be unique among all GKE on-prem clusters within a project and location and will return a 409 if the cluster already exists. (https://tools.ietf.org/html/rfc1123) format.", +"type": "string" +} +}, +"type": "object" +}, +"EnrollVmwareNodePoolRequest": { +"description": "Message for enrolling a VMware node pool.", +"id": "EnrollVmwareNodePoolRequest", +"properties": { +"vmwareNodePoolId": { +"description": "The target node pool id to be enrolled.", +"type": "string" +} +}, +"type": "object" +}, +"Expr": { +"description": "Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: \"Summary size limit\" description: \"Determines if a summary is less than 100 chars\" expression: \"document.summary.size() < 100\" Example (Equality): title: \"Requestor is owner\" description: \"Determines if requestor is the document owner\" expression: \"document.owner == request.auth.claims.email\" Example (Logic): title: \"Public documents\" description: \"Determine whether the document should be publicly visible\" expression: \"document.type != 'private' && document.type != 'internal'\" Example (Data Manipulation): title: \"Notification string\" description: \"Create a notification string with a timestamp.\" expression: \"'New message received at ' + string(document.create_time)\" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information.", +"id": "Expr", +"properties": { +"description": { +"description": "Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI.", +"type": "string" +}, +"expression": { +"description": "Textual representation of an expression in Common Expression Language syntax.", +"type": "string" +}, +"location": { +"description": "Optional. String indicating the location of the expression for error reporting, e.g. a file name and a position in the file.", +"type": "string" +}, +"title": { +"description": "Optional. Title for the expression, i.e. a short string describing its purpose. This can be used e.g. in UIs which allow to enter the expression.", +"type": "string" +} +}, +"type": "object" +}, +"Fleet": { +"description": "Fleet related configuration. Fleets are a Google Cloud concept for logically organizing clusters, letting you use and manage multi-cluster capabilities and apply consistent policies across your systems. See [Anthos Fleets](`https://cloud.google.com/anthos/multicluster-management/fleets`) for more details on Anthos multi-cluster capabilities using Fleets. ##", +"id": "Fleet", +"properties": { +"membership": { +"description": "Output only. The name of the managed fleet Membership resource associated to this cluster. Membership names are formatted as `projects//locations//memberships/`.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"ListBareMetalAdminClustersResponse": { +"description": "Response message for listing bare metal admin clusters.", +"id": "ListBareMetalAdminClustersResponse", +"properties": { +"bareMetalAdminClusters": { +"description": "The list of bare metal admin cluster.", +"items": { +"$ref": "BareMetalAdminCluster" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A token identifying a page of results the server should return. If the token is not empty this means that more results are available and should be retrieved by repeating the request with the provided page token.", +"type": "string" +}, +"unreachable": { +"description": "Locations that could not be reached.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListBareMetalClustersResponse": { +"description": "Response message for listing bare metal Clusters.", +"id": "ListBareMetalClustersResponse", +"properties": { +"bareMetalClusters": { +"description": "The list of bare metal Clusters.", +"items": { +"$ref": "BareMetalCluster" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A token identifying a page of results the server should return. If the token is not empty this means that more results are available and should be retrieved by repeating the request with the provided page token.", +"type": "string" +}, +"unreachable": { +"description": "Locations that could not be reached.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListBareMetalNodePoolsResponse": { +"description": "Response message for listing bare metal node pools.", +"id": "ListBareMetalNodePoolsResponse", +"properties": { +"bareMetalNodePools": { +"description": "The node pools from the specified parent resource.", +"items": { +"$ref": "BareMetalNodePool" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.", +"type": "string" +}, +"unreachable": { +"description": "Locations that could not be reached.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListLocationsResponse": { +"description": "The response message for Locations.ListLocations.", +"id": "ListLocationsResponse", +"properties": { +"locations": { +"description": "A list of locations that matches the specified filter in the request.", +"items": { +"$ref": "Location" +}, +"type": "array" +}, +"nextPageToken": { +"description": "The standard List next-page token.", +"type": "string" +} +}, +"type": "object" +}, +"ListOperationsResponse": { +"description": "The response message for Operations.ListOperations.", +"id": "ListOperationsResponse", +"properties": { +"nextPageToken": { +"description": "The standard List next-page token.", +"type": "string" +}, +"operations": { +"description": "A list of operations that matches the specified filter in the request.", +"items": { +"$ref": "Operation" +}, +"type": "array" +}, +"unreachable": { +"description": "Unordered list. Unreachable resources. Populated when the request sets `ListOperationsRequest.return_partial_success` and reads across collections. For example, when attempting to list all resources across all supported locations.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListVmwareAdminClustersResponse": { +"description": "Response message for listing VMware admin clusters.", +"id": "ListVmwareAdminClustersResponse", +"properties": { +"nextPageToken": { +"description": "A token identifying a page of results the server should return. If the token is not empty this means that more results are available and should be retrieved by repeating the request with the provided page token.", +"type": "string" +}, +"unreachable": { +"description": "Locations that could not be reached.", +"items": { +"type": "string" +}, +"type": "array" +}, +"vmwareAdminClusters": { +"description": "The list of VMware admin cluster.", +"items": { +"$ref": "VmwareAdminCluster" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListVmwareClustersResponse": { +"description": "Response message for listing VMware Clusters.", +"id": "ListVmwareClustersResponse", +"properties": { +"nextPageToken": { +"description": "A token identifying a page of results the server should return. If the token is not empty this means that more results are available and should be retrieved by repeating the request with the provided page token.", +"type": "string" +}, +"unreachable": { +"description": "Locations that could not be reached.", +"items": { +"type": "string" +}, +"type": "array" +}, +"vmwareClusters": { +"description": "The list of VMware Cluster.", +"items": { +"$ref": "VmwareCluster" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListVmwareNodePoolsResponse": { +"description": "Response message for listing VMware node pools.", +"id": "ListVmwareNodePoolsResponse", +"properties": { +"nextPageToken": { +"description": "A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.", +"type": "string" +}, +"unreachable": { +"description": "Locations that could not be reached.", +"items": { +"type": "string" +}, +"type": "array" +}, +"vmwareNodePools": { +"description": "The node pools from the specified parent resource.", +"items": { +"$ref": "VmwareNodePool" +}, +"type": "array" +} +}, +"type": "object" +}, +"Location": { +"description": "A resource that represents a Google Cloud location.", +"id": "Location", +"properties": { +"displayName": { +"description": "The friendly name for this location, typically a nearby city name. For example, \"Tokyo\".", +"type": "string" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Cross-service attributes for the location. For example {\"cloud.googleapis.com/region\": \"us-east1\"}", +"type": "object" +}, +"locationId": { +"description": "The canonical id for this location. For example: `\"us-east1\"`.", +"type": "string" +}, +"metadata": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "Service-specific metadata. For example the available capacity at the given location.", +"type": "object" +}, +"name": { +"description": "Resource name for the location, which may vary between implementations. For example: `\"projects/example-project/locations/us-east1\"`", +"type": "string" +} +}, +"type": "object" +}, +"Metric": { +"description": "Progress metric is (string, int|float|string) pair.", +"id": "Metric", +"properties": { +"doubleValue": { +"description": "For metrics with floating point value.", +"format": "double", +"type": "number" +}, +"intValue": { +"description": "For metrics with integer value.", +"format": "int64", +"type": "string" +}, +"metric": { +"description": "Required. The metric name.", +"enum": [ +"METRIC_ID_UNSPECIFIED", +"NODES_TOTAL", +"NODES_DRAINING", +"NODES_UPGRADING", +"NODES_PENDING_UPGRADE", +"NODES_UPGRADED", +"NODES_FAILED", +"NODES_HEALTHY", +"NODES_RECONCILING", +"NODES_IN_MAINTENANCE", +"PREFLIGHTS_COMPLETED", +"PREFLIGHTS_RUNNING", +"PREFLIGHTS_FAILED", +"PREFLIGHTS_TOTAL" +], +"enumDescriptions": [ +"Not set.", +"The total number of nodes being actuated.", +"The number of nodes draining.", +"The number of nodes actively upgrading.", +"The number of nodes to be upgraded.", +"The number of nodes upgraded.", +"The number of nodes to fail actuation.", +"The number of nodes healthy.", +"The number of nodes reconciling.", +"The number of nodes in maintenance mode.", +"The number of completed preflight checks.", +"The number of preflight checks running.", +"The number of preflight checks failed.", +"The total number of preflight checks." +], +"type": "string" +}, +"stringValue": { +"description": "For metrics with custom values (ratios, visual progress, etc.).", +"type": "string" +} +}, +"type": "object" +}, +"NodeTaint": { +"description": "NodeTaint applied to every Kubernetes node in a node pool. Kubernetes taints can be used together with tolerations to control how workloads are scheduled to your nodes. Node taints are permanent.", +"id": "NodeTaint", +"properties": { +"effect": { +"description": "The taint effect.", +"enum": [ +"EFFECT_UNSPECIFIED", +"NO_SCHEDULE", +"PREFER_NO_SCHEDULE", +"NO_EXECUTE" +], +"enumDescriptions": [ +"Not set.", +"Do not allow new pods to schedule onto the node unless they tolerate the taint, but allow all pods submitted to Kubelet without going through the scheduler to start, and allow all already-running pods to continue running. Enforced by the scheduler.", +"Like TaintEffectNoSchedule, but the scheduler tries not to schedule new pods onto the node, rather than prohibiting new pods from scheduling onto the node entirely. Enforced by the scheduler.", +"Evict any already-running pods that do not tolerate the taint. Currently enforced by NodeController." +], +"type": "string" +}, +"key": { +"description": "Key associated with the effect.", +"type": "string" +}, +"value": { +"description": "Value associated with the effect.", +"type": "string" +} +}, +"type": "object" +}, +"Operation": { +"description": "This resource represents a long-running operation that is the result of a network API call.", +"id": "Operation", +"properties": { +"done": { +"description": "If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.", +"type": "boolean" +}, +"error": { +"$ref": "Status", +"description": "The error result of the operation in case of failure or cancellation." +}, +"metadata": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.", +"type": "object" +}, +"name": { +"description": "The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.", +"type": "string" +}, +"response": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "The normal, successful response of the operation. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.", +"type": "object" +} +}, +"type": "object" +}, +"OperationMetadata": { +"description": "Represents the metadata of the long-running operation.", +"id": "OperationMetadata", +"properties": { +"apiVersion": { +"description": "Output only. API version used to start the operation.", +"readOnly": true, +"type": "string" +}, +"controlPlaneDisconnected": { +"description": "Output only. Denotes if the local managing cluster's control plane is currently disconnected. This is expected to occur temporarily during self-managed cluster upgrades.", +"readOnly": true, +"type": "boolean" +}, +"createTime": { +"description": "Output only. The time the operation was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"endTime": { +"description": "Output only. The time the operation finished running.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"progress": { +"$ref": "OperationProgress", +"description": "Output only. Detailed progress information for the operation.", +"readOnly": true +}, +"requestedCancellation": { +"description": "Output only. Identifies whether the user has requested cancellation of the operation. Operations that have successfully been cancelled have [Operation.error] value with a [google.rpc.Status.code] of 1, corresponding to `Code.CANCELLED`.", +"readOnly": true, +"type": "boolean" +}, +"statusMessage": { +"description": "Output only. Human-readable status of the operation, if any.", +"readOnly": true, +"type": "string" +}, +"target": { +"description": "Output only. Server-defined resource path for the target of the operation.", +"readOnly": true, +"type": "string" +}, +"type": { +"description": "Output only. Type of operation being executed.", +"enum": [ +"OPERATION_TYPE_UNSPECIFIED", +"CREATE", +"DELETE", +"UPDATE", +"UPGRADE", +"PLATFORM_UPGRADE" +], +"enumDescriptions": [ +"Not set.", +"The resource is being created.", +"The resource is being deleted.", +"The resource is being updated.", +"The resource is being upgraded.", +"The platform is being upgraded." +], +"readOnly": true, +"type": "string" +}, +"verb": { +"description": "Output only. Name of the verb executed by the operation.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"OperationProgress": { +"description": "Information about operation progress.", +"id": "OperationProgress", +"properties": { +"stages": { +"description": "The stages of the operation.", +"items": { +"$ref": "OperationStage" +}, +"type": "array" +} +}, +"type": "object" +}, +"OperationStage": { +"description": "Information about a particular stage of an operation.", +"id": "OperationStage", +"properties": { +"endTime": { +"description": "Time the stage ended.", +"format": "google-datetime", +"type": "string" +}, +"metrics": { +"description": "Progress metric bundle.", +"items": { +"$ref": "Metric" +}, +"type": "array" +}, +"stage": { +"description": "The high-level stage of the operation.", +"enum": [ +"STAGE_UNSPECIFIED", +"PREFLIGHT_CHECK", +"CONFIGURE", +"DEPLOY", +"HEALTH_CHECK", +"UPDATE" +], +"enumDescriptions": [ +"Not set.", +"Preflight checks are running.", +"Resource is being configured.", +"Resource is being deployed.", +"Waiting for the resource to become healthy.", +"Resource is being updated." +], +"type": "string" +}, +"startTime": { +"description": "Time the stage started.", +"format": "google-datetime", +"type": "string" +}, +"state": { +"description": "Output only. State of the stage.", +"enum": [ +"STATE_UNSPECIFIED", +"PENDING", +"RUNNING", +"SUCCEEDED", +"FAILED" +], +"enumDescriptions": [ +"Not set.", +"The stage is pending.", +"The stage is running", +"The stage has completed successfully.", +"The stage has failed." +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"Policy": { +"description": "An Identity and Access Management (IAM) policy, which specifies access controls for Google Cloud resources. A `Policy` is a collection of `bindings`. A `binding` binds one or more `members`, or principals, to a single `role`. Principals can be user accounts, service accounts, Google groups, and domains (such as G Suite). A `role` is a named list of permissions; each `role` can be an IAM predefined role or a user-created custom role. For some types of Google Cloud resources, a `binding` can also specify a `condition`, which is a logical expression that allows access to a resource only if the expression evaluates to `true`. A condition can add constraints based on attributes of the request, the resource, or both. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). **JSON example:** ``` { \"bindings\": [ { \"role\": \"roles/resourcemanager.organizationAdmin\", \"members\": [ \"user:mike@example.com\", \"group:admins@example.com\", \"domain:google.com\", \"serviceAccount:my-project-id@appspot.gserviceaccount.com\" ] }, { \"role\": \"roles/resourcemanager.organizationViewer\", \"members\": [ \"user:eve@example.com\" ], \"condition\": { \"title\": \"expirable access\", \"description\": \"Does not grant access after Sep 2020\", \"expression\": \"request.time < timestamp('2020-10-01T00:00:00.000Z')\", } } ], \"etag\": \"BwWWja0YfJA=\", \"version\": 3 } ``` **YAML example:** ``` bindings: - members: - user:mike@example.com - group:admins@example.com - domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.com role: roles/resourcemanager.organizationViewer condition: title: expirable access description: Does not grant access after Sep 2020 expression: request.time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 ``` For a description of IAM and its features, see the [IAM documentation](https://cloud.google.com/iam/docs/).", +"id": "Policy", +"properties": { +"bindings": { +"description": "Associates a list of `members`, or principals, with a `role`. Optionally, may specify a `condition` that determines how and when the `bindings` are applied. Each of the `bindings` must contain at least one principal. The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250 of these principals can be Google groups. Each occurrence of a principal counts towards these limits. For example, if the `bindings` grant 50 different roles to `user:alice@example.com`, and not to any other principal, then you can add another 1,450 principals to the `bindings` in the `Policy`.", +"items": { +"$ref": "Binding" +}, +"type": "array" +}, +"etag": { +"description": "`etag` is used for optimistic concurrency control as a way to help prevent simultaneous updates of a policy from overwriting each other. It is strongly suggested that systems make use of the `etag` in the read-modify-write cycle to perform policy updates in order to avoid race conditions: An `etag` is returned in the response to `getIamPolicy`, and systems are expected to put that etag in the request to `setIamPolicy` to ensure that their change will be applied to the same version of the policy. **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost.", +"format": "byte", +"type": "string" +}, +"version": { +"description": "Specifies the format of the policy. Valid values are `0`, `1`, and `3`. Requests that specify an invalid value are rejected. Any operation that affects conditional role bindings must specify version `3`. This requirement applies to the following operations: * Getting a policy that includes a conditional role binding * Adding a conditional role binding to a policy * Changing a conditional role binding in a policy * Removing any role binding, with or without a condition, from a policy that includes conditions **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost. If a policy does not include any conditions, operations on that policy may specify any valid version or leave the field unset. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"QueryBareMetalAdminVersionConfigResponse": { +"description": "Response message for querying bare metal admin cluster version config.", +"id": "QueryBareMetalAdminVersionConfigResponse", +"properties": { +"versions": { +"description": "List of available versions to install or to upgrade to.", +"items": { +"$ref": "BareMetalVersionInfo" +}, +"type": "array" +} +}, +"type": "object" +}, +"QueryBareMetalVersionConfigResponse": { +"description": "Response message for querying bare metal admin cluster version config.", +"id": "QueryBareMetalVersionConfigResponse", +"properties": { +"versions": { +"description": "List of available versions to install or to upgrade to.", +"items": { +"$ref": "BareMetalVersionInfo" +}, +"type": "array" +} +}, +"type": "object" +}, +"QueryVmwareVersionConfigResponse": { +"description": "Response message for querying VMware user cluster version config.", +"id": "QueryVmwareVersionConfigResponse", +"properties": { +"versions": { +"description": "List of available versions to install or to upgrade to.", +"items": { +"$ref": "VmwareVersionInfo" +}, +"type": "array" +} +}, +"type": "object" +}, +"ResourceCondition": { +"description": "ResourceCondition provides a standard mechanism for higher-level status reporting from controller.", +"id": "ResourceCondition", +"properties": { +"lastTransitionTime": { +"description": "Last time the condition transit from one status to another.", +"format": "google-datetime", +"type": "string" +}, +"message": { +"description": "Human-readable message indicating details about last transition.", +"type": "string" +}, +"reason": { +"description": "Machine-readable message indicating details about last transition.", +"type": "string" +}, +"state": { +"description": "state of the condition.", +"enum": [ +"STATE_UNSPECIFIED", +"STATE_TRUE", +"STATE_FALSE", +"STATE_UNKNOWN" +], +"enumDescriptions": [ +"Not set.", +"Resource is in the condition.", +"Resource is not in the condition.", +"Kubernetes controller can't decide if the resource is in the condition or not." +], +"type": "string" +}, +"type": { +"description": "Type of the condition. (e.g., ClusterRunning, NodePoolRunning or ServerSidePreflightReady)", +"type": "string" +} +}, +"type": "object" +}, +"ResourceStatus": { +"description": "ResourceStatus describes why a cluster or node pool has a certain status. (e.g., ERROR or DEGRADED).", +"id": "ResourceStatus", +"properties": { +"conditions": { +"description": "ResourceCondition provide a standard mechanism for higher-level status reporting from controller.", +"items": { +"$ref": "ResourceCondition" +}, +"type": "array" +}, +"errorMessage": { +"description": "Human-friendly representation of the error message from controller. The error message can be temporary as the controller controller creates a cluster or node pool. If the error message persists for a longer period of time, it can be used to surface error message to indicate real problems requiring user intervention.", +"type": "string" +}, +"version": { +"description": "Reflect current version of the resource.", +"type": "string" +}, +"versions": { +"$ref": "Versions", +"description": "Shows the mapping of a given version to the number of machines under this version." +} +}, +"type": "object" +}, +"SetIamPolicyRequest": { +"description": "Request message for `SetIamPolicy` method.", +"id": "SetIamPolicyRequest", +"properties": { +"policy": { +"$ref": "Policy", +"description": "REQUIRED: The complete policy to be applied to the `resource`. The size of the policy is limited to a few 10s of KB. An empty policy is a valid policy but certain Google Cloud services (such as Projects) might reject them." +} +}, +"type": "object" +}, +"Status": { +"description": "The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors).", +"id": "Status", +"properties": { +"code": { +"description": "The status code, which should be an enum value of google.rpc.Code.", +"format": "int32", +"type": "integer" +}, +"details": { +"description": "A list of messages that carry the error details. There is a common set of message types for APIs to use.", +"items": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.", +"type": "string" +} +}, +"type": "object" +}, +"TestIamPermissionsRequest": { +"description": "Request message for `TestIamPermissions` method.", +"id": "TestIamPermissionsRequest", +"properties": { +"permissions": { +"description": "The set of permissions to check for the `resource`. Permissions with wildcards (such as `*` or `storage.*`) are not allowed. For more information see [IAM Overview](https://cloud.google.com/iam/docs/overview#permissions).", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"TestIamPermissionsResponse": { +"description": "Response message for `TestIamPermissions` method.", +"id": "TestIamPermissionsResponse", +"properties": { +"permissions": { +"description": "A subset of `TestPermissionsRequest.permissions` that the caller is allowed.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"UpgradeDependency": { +"description": "UpgradeDependency represents a dependency when upgrading a resource.", +"id": "UpgradeDependency", +"properties": { +"currentVersion": { +"description": "Current version of the dependency e.g. 1.15.0.", +"type": "string" +}, +"membership": { +"description": "Membership names are formatted as `projects//locations//memberships/`.", +"type": "string" +}, +"resourceName": { +"description": "Resource name of the dependency.", +"type": "string" +}, +"targetVersion": { +"description": "Target version of the dependency e.g. 1.16.1. This is the version the dependency needs to be upgraded to before a resource can be upgraded.", +"type": "string" +} +}, +"type": "object" +}, +"ValidationCheck": { +"description": "ValidationCheck represents the result of preflight check.", +"id": "ValidationCheck", +"properties": { +"option": { +"description": "Options used for the validation check", +"enum": [ +"OPTIONS_UNSPECIFIED", +"SKIP_VALIDATION_CHECK_BLOCKING", +"SKIP_VALIDATION_ALL" +], +"enumDescriptions": [ +"Default value. Standard preflight validation check will be used.", +"Prevent failed preflight checks from failing.", +"Skip all preflight check validations." +], +"type": "string" +}, +"scenario": { +"description": "Output only. The scenario when the preflight checks were run.", +"enum": [ +"SCENARIO_UNSPECIFIED", +"CREATE", +"UPDATE" +], +"enumDescriptions": [ +"Default value. This value is unused.", +"The validation check occurred during a create flow.", +"The validation check occurred during an update flow." +], +"readOnly": true, +"type": "string" +}, +"status": { +"$ref": "ValidationCheckStatus", +"description": "Output only. The detailed validation check status.", +"readOnly": true +} +}, +"type": "object" +}, +"ValidationCheckResult": { +"description": "ValidationCheckResult defines the details about the validation check.", +"id": "ValidationCheckResult", +"properties": { +"category": { +"description": "The category of the validation.", +"type": "string" +}, +"description": { +"description": "The description of the validation check.", +"type": "string" +}, +"details": { +"description": "Detailed failure information, which might be unformatted.", +"type": "string" +}, +"reason": { +"description": "A human-readable message of the check failure.", +"type": "string" +}, +"state": { +"description": "The validation check state.", +"enum": [ +"STATE_UNKNOWN", +"STATE_FAILURE", +"STATE_SKIPPED", +"STATE_FATAL", +"STATE_WARNING" +], +"enumDescriptions": [ +"The default value. The check result is unknown.", +"The check failed.", +"The check was skipped.", +"The check itself failed to complete.", +"The check encountered a warning." +], +"type": "string" +} +}, +"type": "object" +}, +"ValidationCheckStatus": { +"description": "ValidationCheckStatus defines the detailed validation check status.", +"id": "ValidationCheckStatus", +"properties": { +"result": { +"description": "Individual checks which failed as part of the Preflight check execution.", +"items": { +"$ref": "ValidationCheckResult" +}, +"type": "array" +} +}, +"type": "object" +}, +"Version": { +"description": "Version describes the number of nodes at a given version under a resource.", +"id": "Version", +"properties": { +"count": { +"description": "Number of machines under the above version.", +"format": "int64", +"type": "string" +}, +"version": { +"description": "Resource version.", +"type": "string" +} +}, +"type": "object" +}, +"Versions": { +"description": "Versions describes the mapping of a given version to the number of machines under this version.", +"id": "Versions", +"properties": { +"versions": { +"description": "Shows the mapping of a given version to the number of machines under this version.", +"items": { +"$ref": "Version" +}, +"type": "array" +} +}, +"type": "object" +}, +"VmwareAAGConfig": { +"description": "Specifies anti affinity group config for the VMware user cluster.", +"id": "VmwareAAGConfig", +"properties": { +"aagConfigDisabled": { +"description": "Spread nodes across at least three physical hosts (requires at least three hosts). Enabled by default.", +"type": "boolean" +} +}, +"type": "object" +}, +"VmwareAddressPool": { +"description": "Represents an IP pool used by the load balancer.", +"id": "VmwareAddressPool", +"properties": { +"addresses": { +"description": "Required. The addresses that are part of this pool. Each address must be either in the CIDR form (1.2.3.0/24) or range form (1.2.3.1-1.2.3.5).", +"items": { +"type": "string" +}, +"type": "array" +}, +"avoidBuggyIps": { +"description": "If true, avoid using IPs ending in .0 or .255. This avoids buggy consumer devices mistakenly dropping IPv4 traffic for those special IP addresses.", +"type": "boolean" +}, +"manualAssign": { +"description": "If true, prevent IP addresses from being automatically assigned.", +"type": "boolean" +}, +"pool": { +"description": "Required. The name of the address pool.", +"type": "string" +} +}, +"type": "object" +}, +"VmwareAdminAddonNodeConfig": { +"description": "VmwareAdminAddonNodeConfig contains add-on node configurations for VMware admin cluster.", +"id": "VmwareAdminAddonNodeConfig", +"properties": { +"autoResizeConfig": { +"$ref": "VmwareAutoResizeConfig", +"description": "VmwareAutoResizeConfig config specifies auto resize config." +} +}, +"type": "object" +}, +"VmwareAdminAuthorizationConfig": { +"description": "VmwareAdminAuthorizationConfig represents configuration for admin cluster authorization.", +"id": "VmwareAdminAuthorizationConfig", +"properties": { +"viewerUsers": { +"description": "For VMware admin clusters, users will be granted the cluster-viewer role on the cluster.", +"items": { +"$ref": "ClusterUser" +}, +"type": "array" +} +}, +"type": "object" +}, +"VmwareAdminCluster": { +"description": "Resource that represents a VMware admin cluster.", +"id": "VmwareAdminCluster", +"properties": { +"addonNode": { +"$ref": "VmwareAdminAddonNodeConfig", +"description": "The VMware admin cluster addon node configuration." +}, +"annotations": { +"additionalProperties": { +"type": "string" +}, +"description": "Annotations on the VMware admin cluster. This field has the same restrictions as Kubernetes annotations. The total size of all keys and values combined is limited to 256k. Key can have 2 segments: prefix (optional) and name (required), separated by a slash (/). Prefix must be a DNS subdomain. Name must be 63 characters or less, begin and end with alphanumerics, with dashes (-), underscores (_), dots (.), and alphanumerics between.", +"type": "object" +}, +"antiAffinityGroups": { +"$ref": "VmwareAAGConfig", +"description": "The VMware admin cluster anti affinity group configuration." +}, +"authorization": { +"$ref": "VmwareAdminAuthorizationConfig", +"description": "The VMware admin cluster authorization configuration." +}, +"autoRepairConfig": { +"$ref": "VmwareAutoRepairConfig", +"description": "The VMware admin cluster auto repair configuration." +}, +"bootstrapClusterMembership": { +"description": "The bootstrap cluster this VMware admin cluster belongs to.", +"type": "string" +}, +"controlPlaneNode": { +"$ref": "VmwareAdminControlPlaneNodeConfig", +"description": "The VMware admin cluster control plane node configuration." +}, +"createTime": { +"description": "Output only. The time at which VMware admin cluster was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"description": { +"description": "A human readable description of this VMware admin cluster.", +"type": "string" +}, +"enableAdvancedCluster": { +"description": "Enable advanced cluster.", +"type": "boolean" +}, +"endpoint": { +"description": "Output only. The DNS name of VMware admin cluster's API server.", +"readOnly": true, +"type": "string" +}, +"etag": { +"description": "This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding. Allows clients to perform consistent read-modify-writes through optimistic concurrency control.", +"type": "string" +}, +"fleet": { +"$ref": "Fleet", +"description": "Output only. Fleet configuration for the cluster.", +"readOnly": true +}, +"imageType": { +"description": "The OS image type for the VMware admin cluster.", +"type": "string" +}, +"loadBalancer": { +"$ref": "VmwareAdminLoadBalancerConfig", +"description": "The VMware admin cluster load balancer configuration." +}, +"localName": { +"description": "Output only. The object name of the VMware OnPremAdminCluster custom resource. This field is used to support conflicting names when enrolling existing clusters to the API. When used as a part of cluster enrollment, this field will differ from the ID in the resource name. For new clusters, this field will match the user provided cluster name and be visible in the last component of the resource name. It is not modifiable. All users should use this name to access their cluster using gkectl or kubectl and should expect to see the local name when viewing admin cluster controller logs.", +"readOnly": true, +"type": "string" +}, +"name": { +"description": "Immutable. The VMware admin cluster resource name.", +"type": "string" +}, +"networkConfig": { +"$ref": "VmwareAdminNetworkConfig", +"description": "The VMware admin cluster network configuration." +}, +"onPremVersion": { +"description": "The Anthos clusters on the VMware version for the admin cluster.", +"type": "string" +}, +"platformConfig": { +"$ref": "VmwarePlatformConfig", +"description": "The VMware platform configuration." +}, +"preparedSecrets": { +"$ref": "VmwareAdminPreparedSecretsConfig", +"description": "Output only. The VMware admin cluster prepared secrets configuration. It should always be enabled by the Central API, instead of letting users set it.", +"readOnly": true +}, +"privateRegistryConfig": { +"$ref": "VmwareAdminPrivateRegistryConfig", +"description": "Configuration for registry." +}, +"proxy": { +"$ref": "VmwareAdminProxy", +"description": "Configuration for proxy." +}, +"reconciling": { +"description": "Output only. If set, there are currently changes in flight to the VMware admin cluster.", +"readOnly": true, +"type": "boolean" +}, +"state": { +"description": "Output only. The current state of VMware admin cluster.", +"enum": [ +"STATE_UNSPECIFIED", +"PROVISIONING", +"RUNNING", +"RECONCILING", +"STOPPING", +"ERROR", +"DEGRADED" +], +"enumDescriptions": [ +"Not set.", +"The PROVISIONING state indicates the cluster is being created.", +"The RUNNING state indicates the cluster has been created and is fully usable.", +"The RECONCILING state indicates that the cluster is being updated. It remains available, but potentially with degraded performance.", +"The STOPPING state indicates the cluster is being deleted.", +"The ERROR state indicates the cluster is in a broken unrecoverable state.", +"The DEGRADED state indicates the cluster requires user action to restore full functionality." +], +"readOnly": true, +"type": "string" +}, +"status": { +"$ref": "ResourceStatus", +"description": "Output only. ResourceStatus representing detailed cluster state.", +"readOnly": true +}, +"uid": { +"description": "Output only. The unique identifier of the VMware admin cluster.", +"readOnly": true, +"type": "string" +}, +"updateTime": { +"description": "Output only. The time at which VMware admin cluster was last updated.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"validationCheck": { +"$ref": "ValidationCheck", +"description": "Output only. ValidationCheck represents the result of the preflight check job.", +"readOnly": true +}, +"vcenter": { +"$ref": "VmwareAdminVCenterConfig", +"description": "The VMware admin cluster VCenter configuration." +} +}, +"type": "object" +}, +"VmwareAdminControlPlaneNodeConfig": { +"description": "VmwareAdminControlPlaneNodeConfig contains control plane node configuration for VMware admin cluster.", +"id": "VmwareAdminControlPlaneNodeConfig", +"properties": { +"cpus": { +"description": "The number of vCPUs for the control-plane node of the admin cluster.", +"format": "int64", +"type": "string" +}, +"memory": { +"description": "The number of mebibytes of memory for the control-plane node of the admin cluster.", +"format": "int64", +"type": "string" +}, +"replicas": { +"description": "The number of control plane nodes for this VMware admin cluster. (default: 1 replica).", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"VmwareAdminF5BigIpConfig": { +"description": "VmwareAdminF5BigIpConfig represents configuration parameters for an F5 BIG-IP load balancer.", +"id": "VmwareAdminF5BigIpConfig", +"properties": { +"address": { +"description": "The load balancer's IP address.", +"type": "string" +}, +"partition": { +"description": "The preexisting partition to be used by the load balancer. This partition is usually created for the admin cluster for example: 'my-f5-admin-partition'.", +"type": "string" +}, +"snatPool": { +"description": "The pool name. Only necessary, if using SNAT.", +"type": "string" +} +}, +"type": "object" +}, +"VmwareAdminHAControlPlaneConfig": { +"description": "Specifies HA admin control plane config.", +"id": "VmwareAdminHAControlPlaneConfig", +"properties": { +"controlPlaneIpBlock": { +"$ref": "VmwareIpBlock", +"description": "Static IP addresses for the admin control plane nodes." +} +}, +"type": "object" +}, +"VmwareAdminLoadBalancerConfig": { +"description": "VmwareAdminLoadBalancerConfig contains load balancer configuration for VMware admin cluster.", +"id": "VmwareAdminLoadBalancerConfig", +"properties": { +"f5Config": { +"$ref": "VmwareAdminF5BigIpConfig", +"description": "Configuration for F5 Big IP typed load balancers." +}, +"manualLbConfig": { +"$ref": "VmwareAdminManualLbConfig", +"description": "Manually configured load balancers." +}, +"metalLbConfig": { +"$ref": "VmwareAdminMetalLbConfig", +"description": "MetalLB load balancers." +}, +"seesawConfig": { +"$ref": "VmwareAdminSeesawConfig", +"description": "Output only. Configuration for Seesaw typed load balancers.", +"readOnly": true +}, +"vipConfig": { +"$ref": "VmwareAdminVipConfig", +"description": "The VIPs used by the load balancer." +} +}, +"type": "object" +}, +"VmwareAdminManualLbConfig": { +"id": "VmwareAdminManualLbConfig", +"properties": { +"addonsNodePort": { +"description": "NodePort for add-ons server in the admin cluster.", +"format": "int32", +"type": "integer" +}, +"controlPlaneNodePort": { +"description": "NodePort for control plane service. The Kubernetes API server in the admin cluster is implemented as a Service of type NodePort (ex. 30968).", +"format": "int32", +"type": "integer" +}, +"ingressHttpNodePort": { +"description": "NodePort for ingress service's http. The ingress service in the admin cluster is implemented as a Service of type NodePort (ex. 32527).", +"format": "int32", +"type": "integer" +}, +"ingressHttpsNodePort": { +"description": "NodePort for ingress service's https. The ingress service in the admin cluster is implemented as a Service of type NodePort (ex. 30139).", +"format": "int32", +"type": "integer" +}, +"konnectivityServerNodePort": { +"description": "NodePort for konnectivity server service running as a sidecar in each kube-apiserver pod (ex. 30564).", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"VmwareAdminMetalLbConfig": { +"description": "VmwareAdminMetalLbConfig represents configuration parameters for a MetalLB load balancer. For admin clusters, currently no configurations is needed.", +"id": "VmwareAdminMetalLbConfig", +"properties": { +"enabled": { +"description": "Whether MetalLB is enabled.", +"type": "boolean" +} +}, +"type": "object" +}, +"VmwareAdminNetworkConfig": { +"description": "VmwareAdminNetworkConfig contains network configuration for VMware admin cluster.", +"id": "VmwareAdminNetworkConfig", +"properties": { +"dhcpIpConfig": { +"$ref": "VmwareDhcpIpConfig", +"description": "Configuration settings for a DHCP IP configuration." +}, +"haControlPlaneConfig": { +"$ref": "VmwareAdminHAControlPlaneConfig", +"description": "Configuration for HA admin cluster control plane." +}, +"hostConfig": { +"$ref": "VmwareHostConfig", +"description": "Represents common network settings irrespective of the host's IP address." +}, +"podAddressCidrBlocks": { +"description": "Required. All pods in the cluster are assigned an RFC1918 IPv4 address from these ranges. Only a single range is supported. This field cannot be changed after creation.", +"items": { +"type": "string" +}, +"type": "array" +}, +"serviceAddressCidrBlocks": { +"description": "Required. All services in the cluster are assigned an RFC1918 IPv4 address from these ranges. Only a single range is supported. This field cannot be changed after creation.", +"items": { +"type": "string" +}, +"type": "array" +}, +"staticIpConfig": { +"$ref": "VmwareStaticIpConfig", +"description": "Configuration settings for a static IP configuration." +}, +"vcenterNetwork": { +"description": "vcenter_network specifies vCenter network name.", +"type": "string" +} +}, +"type": "object" +}, +"VmwareAdminPreparedSecretsConfig": { +"description": "VmwareAdminPreparedSecretsConfig represents configuration for admin cluster prepared secrets.", +"id": "VmwareAdminPreparedSecretsConfig", +"properties": { +"enabled": { +"description": "Whether prepared secrets is enabled.", +"type": "boolean" +} +}, +"type": "object" +}, +"VmwareAdminPrivateRegistryConfig": { +"description": "VmwareAdminPrivateRegistryConfig represents configuration for admin cluster registry.", +"id": "VmwareAdminPrivateRegistryConfig", +"properties": { +"address": { +"description": "The registry address.", +"type": "string" +}, +"caCert": { +"description": "When the container runtime pulls an image from private registry, the registry must prove its identity by presenting a certificate. The registry's certificate is signed by a certificate authority (CA). The container runtime uses the CA's certificate to validate the registry's certificate.", +"type": "string" +} +}, +"type": "object" +}, +"VmwareAdminProxy": { +"description": "VmwareAdminProxy represents configuration for admin cluster proxy.", +"id": "VmwareAdminProxy", +"properties": { +"noProxy": { +"description": "A comma-separated list of IP addresses, IP address ranges, host names, and domain names that should not go through the proxy server. When Google Distributed Cloud sends a request to one of these addresses, hosts, or domains, the request is sent directly.", +"type": "string" +}, +"url": { +"description": "The HTTP address of proxy server.", +"type": "string" +} +}, +"type": "object" +}, +"VmwareAdminSeesawConfig": { +"description": "VmwareSeesawConfig represents configuration parameters for an already existing Seesaw load balancer. IMPORTANT: Please note that the Anthos On-Prem API will not generate or update Seesaw configurations it can only bind a pre-existing configuration to a new user cluster. IMPORTANT: When attempting to create a user cluster with a pre-existing Seesaw load balancer you will need to follow some preparation steps before calling the 'CreateVmwareCluster' API method. First you will need to create the user cluster's namespace via kubectl. The namespace will need to use the following naming convention : -gke-onprem-mgmt or -gke-onprem-mgmt depending on whether you used the 'VmwareCluster.local_name' to disambiguate collisions; for more context see the documentation of 'VmwareCluster.local_name'. Once the namespace is created you will need to create a secret resource via kubectl. This secret will contain copies of your Seesaw credentials. The Secret must be called 'user-cluster-creds' and contain Seesaw's SSH and Cert credentials. The credentials must be keyed with the following names: 'seesaw-ssh-private-key', 'seesaw-ssh-public-key', 'seesaw-ssh-ca-key', 'seesaw-ssh-ca-cert'.", +"id": "VmwareAdminSeesawConfig", +"properties": { +"enableHa": { +"description": "Enable two load balancer VMs to achieve a highly-available Seesaw load balancer.", +"type": "boolean" +}, +"group": { +"description": "In general the following format should be used for the Seesaw group name: seesaw-for-[cluster_name].", +"type": "string" +}, +"ipBlocks": { +"description": "The IP Blocks to be used by the Seesaw load balancer", +"items": { +"$ref": "VmwareIpBlock" +}, +"type": "array" +}, +"masterIp": { +"description": "MasterIP is the IP announced by the master of Seesaw group.", +"type": "string" +}, +"stackdriverName": { +"description": "Name to be used by Stackdriver.", +"type": "string" +}, +"vms": { +"description": "Names of the VMs created for this Seesaw group.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"VmwareAdminVCenterConfig": { +"description": "VmwareAdminVCenterConfig contains VCenter configuration for VMware admin cluster.", +"id": "VmwareAdminVCenterConfig", +"properties": { +"address": { +"description": "The vCenter IP address.", +"type": "string" +}, +"caCertData": { +"description": "Contains the vCenter CA certificate public key for SSL verification.", +"type": "string" +}, +"cluster": { +"description": "The name of the vCenter cluster for the admin cluster.", +"type": "string" +}, +"dataDisk": { +"description": "The name of the virtual machine disk (VMDK) for the admin cluster.", +"type": "string" +}, +"datacenter": { +"description": "The name of the vCenter datacenter for the admin cluster.", +"type": "string" +}, +"datastore": { +"description": "The name of the vCenter datastore for the admin cluster.", +"type": "string" +}, +"folder": { +"description": "The name of the vCenter folder for the admin cluster.", +"type": "string" +}, +"resourcePool": { +"description": "The name of the vCenter resource pool for the admin cluster.", +"type": "string" +}, +"storagePolicyName": { +"description": "The name of the vCenter storage policy for the user cluster.", +"type": "string" +} +}, +"type": "object" +}, +"VmwareAdminVipConfig": { +"description": "VmwareAdminVipConfig for VMware load balancer configurations.", +"id": "VmwareAdminVipConfig", +"properties": { +"addonsVip": { +"description": "The VIP to configure the load balancer for add-ons.", +"type": "string" +}, +"controlPlaneVip": { +"description": "The VIP which you previously set aside for the Kubernetes API of the admin cluster.", +"type": "string" +} +}, +"type": "object" +}, +"VmwareAutoRepairConfig": { +"description": "Specifies config to enable/disable auto repair. The cluster-health-controller is deployed only if Enabled is true.", +"id": "VmwareAutoRepairConfig", +"properties": { +"enabled": { +"description": "Whether auto repair is enabled.", +"type": "boolean" +} +}, +"type": "object" +}, +"VmwareAutoResizeConfig": { +"description": "Represents auto resizing configurations for the VMware user cluster.", +"id": "VmwareAutoResizeConfig", +"properties": { +"enabled": { +"description": "Whether to enable controle plane node auto resizing.", +"type": "boolean" +} +}, +"type": "object" +}, +"VmwareBundleConfig": { +"description": "VmwareBundleConfig represents configuration for the bundle.", +"id": "VmwareBundleConfig", +"properties": { +"status": { +"$ref": "ResourceStatus", +"description": "Output only. Resource status for the bundle.", +"readOnly": true +}, +"version": { +"description": "The version of the bundle.", +"type": "string" +} +}, +"type": "object" +}, +"VmwareCluster": { +"description": "Resource that represents a VMware user cluster. ##", +"id": "VmwareCluster", +"properties": { +"adminClusterMembership": { +"description": "Required. The admin cluster this VMware user cluster belongs to. This is the full resource name of the admin cluster's fleet membership. In the future, references to other resource types might be allowed if admin clusters are modeled as their own resources.", +"type": "string" +}, +"adminClusterName": { +"description": "Output only. The resource name of the VMware admin cluster hosting this user cluster.", +"readOnly": true, +"type": "string" +}, +"annotations": { +"additionalProperties": { +"type": "string" +}, +"description": "Annotations on the VMware user cluster. This field has the same restrictions as Kubernetes annotations. The total size of all keys and values combined is limited to 256k. Key can have 2 segments: prefix (optional) and name (required), separated by a slash (/). Prefix must be a DNS subdomain. Name must be 63 characters or less, begin and end with alphanumerics, with dashes (-), underscores (_), dots (.), and alphanumerics between.", +"type": "object" +}, +"antiAffinityGroups": { +"$ref": "VmwareAAGConfig", +"description": "AAGConfig specifies whether to spread VMware user cluster nodes across at least three physical hosts in the datacenter." +}, +"authorization": { +"$ref": "Authorization", +"description": "RBAC policy that will be applied and managed by the Anthos On-Prem API." +}, +"autoRepairConfig": { +"$ref": "VmwareAutoRepairConfig", +"description": "Configuration for auto repairing." +}, +"binaryAuthorization": { +"$ref": "BinaryAuthorization", +"description": "Binary Authorization related configurations." +}, +"controlPlaneNode": { +"$ref": "VmwareControlPlaneNodeConfig", +"description": "VMware user cluster control plane nodes must have either 1 or 3 replicas." +}, +"createTime": { +"description": "Output only. The time at which VMware user cluster was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"dataplaneV2": { +"$ref": "VmwareDataplaneV2Config", +"description": "VmwareDataplaneV2Config specifies configuration for Dataplane V2." +}, +"deleteTime": { +"description": "Output only. The time at which VMware user cluster was deleted.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"description": { +"description": "A human readable description of this VMware user cluster.", +"type": "string" +}, +"disableBundledIngress": { +"description": "Disable bundled ingress.", +"type": "boolean" +}, +"enableAdvancedCluster": { +"description": "Enable advanced cluster.", +"type": "boolean" +}, +"enableControlPlaneV2": { +"description": "Enable control plane V2. Default to false.", +"type": "boolean" +}, +"endpoint": { +"description": "Output only. The DNS name of VMware user cluster's API server.", +"readOnly": true, +"type": "string" +}, +"etag": { +"description": "This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding. Allows clients to perform consistent read-modify-writes through optimistic concurrency control.", +"type": "string" +}, +"fleet": { +"$ref": "Fleet", +"description": "Output only. Fleet configuration for the cluster.", +"readOnly": true +}, +"loadBalancer": { +"$ref": "VmwareLoadBalancerConfig", +"description": "Load balancer configuration." +}, +"localName": { +"description": "Output only. The object name of the VMware OnPremUserCluster custom resource on the associated admin cluster. This field is used to support conflicting names when enrolling existing clusters to the API. When used as a part of cluster enrollment, this field will differ from the ID in the resource name. For new clusters, this field will match the user provided cluster name and be visible in the last component of the resource name. It is not modifiable. All users should use this name to access their cluster using gkectl or kubectl and should expect to see the local name when viewing admin cluster controller logs.", +"readOnly": true, +"type": "string" +}, +"name": { +"description": "Immutable. The VMware user cluster resource name.", +"type": "string" +}, +"networkConfig": { +"$ref": "VmwareNetworkConfig", +"description": "The VMware user cluster network configuration." +}, +"onPremVersion": { +"description": "Required. The Anthos clusters on the VMware version for your user cluster.", +"type": "string" +}, +"reconciling": { +"description": "Output only. If set, there are currently changes in flight to the VMware user cluster.", +"readOnly": true, +"type": "boolean" +}, +"state": { +"description": "Output only. The current state of VMware user cluster.", +"enum": [ +"STATE_UNSPECIFIED", +"PROVISIONING", +"RUNNING", +"RECONCILING", +"STOPPING", +"ERROR", +"DEGRADED" +], +"enumDescriptions": [ +"Not set.", +"The PROVISIONING state indicates the cluster is being created.", +"The RUNNING state indicates the cluster has been created and is fully usable.", +"The RECONCILING state indicates that the cluster is being updated. It remains available, but potentially with degraded performance.", +"The STOPPING state indicates the cluster is being deleted.", +"The ERROR state indicates the cluster is in a broken unrecoverable state.", +"The DEGRADED state indicates the cluster requires user action to restore full functionality." +], +"readOnly": true, +"type": "string" +}, +"status": { +"$ref": "ResourceStatus", +"description": "Output only. ResourceStatus representing detailed cluster state.", +"readOnly": true +}, +"storage": { +"$ref": "VmwareStorageConfig", +"description": "Storage configuration." +}, +"uid": { +"description": "Output only. The unique identifier of the VMware user cluster.", +"readOnly": true, +"type": "string" +}, +"updateTime": { +"description": "Output only. The time at which VMware user cluster was last updated.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"upgradePolicy": { +"$ref": "VmwareClusterUpgradePolicy", +"description": "Specifies upgrade policy for the cluster." +}, +"validationCheck": { +"$ref": "ValidationCheck", +"description": "Output only. ValidationCheck represents the result of the preflight check job.", +"readOnly": true +}, +"vcenter": { +"$ref": "VmwareVCenterConfig", +"description": "VmwareVCenterConfig specifies vCenter config for the user cluster. If unspecified, it is inherited from the admin cluster." +}, +"vmTrackingEnabled": { +"description": "Enable VM tracking.", +"type": "boolean" +} +}, +"type": "object" +}, +"VmwareClusterUpgradePolicy": { +"description": "VmwareClusterUpgradePolicy defines the cluster upgrade policy.", +"id": "VmwareClusterUpgradePolicy", +"properties": { +"controlPlaneOnly": { +"description": "Controls whether the upgrade applies to the control plane only.", +"type": "boolean" +} +}, +"type": "object" +}, +"VmwareControlPlaneNodeConfig": { +"description": "Specifies control plane node config for the VMware user cluster.", +"id": "VmwareControlPlaneNodeConfig", +"properties": { +"autoResizeConfig": { +"$ref": "VmwareAutoResizeConfig", +"description": "AutoResizeConfig provides auto resizing configurations." +}, +"cpus": { +"description": "The number of CPUs for each admin cluster node that serve as control planes for this VMware user cluster. (default: 4 CPUs)", +"format": "int64", +"type": "string" +}, +"memory": { +"description": "The megabytes of memory for each admin cluster node that serves as a control plane for this VMware user cluster (default: 8192 MB memory).", +"format": "int64", +"type": "string" +}, +"replicas": { +"description": "The number of control plane nodes for this VMware user cluster. (default: 1 replica).", +"format": "int64", +"type": "string" +}, +"vsphereConfig": { +"$ref": "VmwareControlPlaneVsphereConfig", +"description": "Vsphere-specific config." +} +}, +"type": "object" +}, +"VmwareControlPlaneV2Config": { +"description": "Specifies control plane V2 config.", +"id": "VmwareControlPlaneV2Config", +"properties": { +"controlPlaneIpBlock": { +"$ref": "VmwareIpBlock", +"description": "Static IP addresses for the control plane nodes." +} +}, +"type": "object" +}, +"VmwareControlPlaneVsphereConfig": { +"description": "Specifies control plane node config.", +"id": "VmwareControlPlaneVsphereConfig", +"properties": { +"datastore": { +"description": "The Vsphere datastore used by the control plane Node.", +"type": "string" +}, +"storagePolicyName": { +"description": "The Vsphere storage policy used by the control plane Node.", +"type": "string" +} +}, +"type": "object" +}, +"VmwareDataplaneV2Config": { +"description": "Contains configurations for Dataplane V2, which is optimized dataplane for Kubernetes networking. For more information, see: https://cloud.google.com/kubernetes-engine/docs/concepts/dataplane-v2", +"id": "VmwareDataplaneV2Config", +"properties": { +"advancedNetworking": { +"description": "Enable advanced networking which requires dataplane_v2_enabled to be set true.", +"type": "boolean" +}, +"dataplaneV2Enabled": { +"description": "Enables Dataplane V2.", +"type": "boolean" +}, +"forwardMode": { +"description": "Configure ForwardMode for Dataplane v2.", +"type": "string" +}, +"windowsDataplaneV2Enabled": { +"description": "Enable Dataplane V2 for clusters with Windows nodes.", +"type": "boolean" +} +}, +"type": "object" +}, +"VmwareDhcpIpConfig": { +"description": "Represents the network configuration required for the VMware user clusters with DHCP IP configurations.", +"id": "VmwareDhcpIpConfig", +"properties": { +"enabled": { +"description": "enabled is a flag to mark if DHCP IP allocation is used for VMware user clusters.", +"type": "boolean" +} +}, +"type": "object" +}, +"VmwareF5BigIpConfig": { +"description": "Represents configuration parameters for an F5 BIG-IP load balancer.", +"id": "VmwareF5BigIpConfig", +"properties": { +"address": { +"description": "The load balancer's IP address.", +"type": "string" +}, +"partition": { +"description": "The preexisting partition to be used by the load balancer. This partition is usually created for the admin cluster for example: 'my-f5-admin-partition'.", +"type": "string" +}, +"snatPool": { +"description": "The pool name. Only necessary, if using SNAT.", +"type": "string" +} +}, +"type": "object" +}, +"VmwareHostConfig": { +"description": "Represents the common parameters for all the hosts irrespective of their IP address.", +"id": "VmwareHostConfig", +"properties": { +"dnsSearchDomains": { +"description": "DNS search domains.", +"items": { +"type": "string" +}, +"type": "array" +}, +"dnsServers": { +"description": "DNS servers.", +"items": { +"type": "string" +}, +"type": "array" +}, +"ntpServers": { +"description": "NTP servers.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"VmwareHostIp": { +"description": "Represents VMware user cluster node's network configuration.", +"id": "VmwareHostIp", +"properties": { +"hostname": { +"description": "Hostname of the machine. VM's name will be used if this field is empty.", +"type": "string" +}, +"ip": { +"description": "IP could be an IP address (like 1.2.3.4) or a CIDR (like 1.2.3.0/24).", +"type": "string" +} +}, +"type": "object" +}, +"VmwareIpBlock": { +"description": "Represents a collection of IP addresses to assign to nodes.", +"id": "VmwareIpBlock", +"properties": { +"gateway": { +"description": "The network gateway used by the VMware user cluster.", +"type": "string" +}, +"ips": { +"description": "The node's network configurations used by the VMware user cluster.", +"items": { +"$ref": "VmwareHostIp" +}, +"type": "array" +}, +"netmask": { +"description": "The netmask used by the VMware user cluster.", +"type": "string" +} +}, +"type": "object" +}, +"VmwareLoadBalancerConfig": { +"description": "Specifies the locad balancer config for the VMware user cluster.", +"id": "VmwareLoadBalancerConfig", +"properties": { +"f5Config": { +"$ref": "VmwareF5BigIpConfig", +"description": "Configuration for F5 Big IP typed load balancers." +}, +"manualLbConfig": { +"$ref": "VmwareManualLbConfig", +"description": "Manually configured load balancers." +}, +"metalLbConfig": { +"$ref": "VmwareMetalLbConfig", +"description": "Configuration for MetalLB typed load balancers." +}, +"seesawConfig": { +"$ref": "VmwareSeesawConfig", +"description": "Output only. Configuration for Seesaw typed load balancers.", +"readOnly": true +}, +"vipConfig": { +"$ref": "VmwareVipConfig", +"description": "The VIPs used by the load balancer." +} +}, +"type": "object" +}, +"VmwareManualLbConfig": { +"description": "Represents configuration parameters for an already existing manual load balancer. Given the nature of manual load balancers it is expected that said load balancer will be fully managed by users. IMPORTANT: Please note that the Anthos On-Prem API will not generate or update ManualLB configurations it can only bind a pre-existing configuration to a new VMware user cluster.", +"id": "VmwareManualLbConfig", +"properties": { +"controlPlaneNodePort": { +"description": "NodePort for control plane service. The Kubernetes API server in the admin cluster is implemented as a Service of type NodePort (ex. 30968).", +"format": "int32", +"type": "integer" +}, +"ingressHttpNodePort": { +"description": "NodePort for ingress service's http. The ingress service in the admin cluster is implemented as a Service of type NodePort (ex. 32527).", +"format": "int32", +"type": "integer" +}, +"ingressHttpsNodePort": { +"description": "NodePort for ingress service's https. The ingress service in the admin cluster is implemented as a Service of type NodePort (ex. 30139).", +"format": "int32", +"type": "integer" +}, +"konnectivityServerNodePort": { +"description": "NodePort for konnectivity server service running as a sidecar in each kube-apiserver pod (ex. 30564).", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"VmwareMetalLbConfig": { +"description": "Represents configuration parameters for the MetalLB load balancer.", +"id": "VmwareMetalLbConfig", +"properties": { +"addressPools": { +"description": "Required. AddressPools is a list of non-overlapping IP pools used by load balancer typed services. All addresses must be routable to load balancer nodes. IngressVIP must be included in the pools.", +"items": { +"$ref": "VmwareAddressPool" +}, +"type": "array" +} +}, +"type": "object" +}, +"VmwareNetworkConfig": { +"description": "Specifies network config for the VMware user cluster.", +"id": "VmwareNetworkConfig", +"properties": { +"controlPlaneV2Config": { +"$ref": "VmwareControlPlaneV2Config", +"description": "Configuration for control plane V2 mode." +}, +"dhcpIpConfig": { +"$ref": "VmwareDhcpIpConfig", +"description": "Configuration settings for a DHCP IP configuration." +}, +"hostConfig": { +"$ref": "VmwareHostConfig", +"description": "Represents common network settings irrespective of the host's IP address." +}, +"podAddressCidrBlocks": { +"description": "Required. All pods in the cluster are assigned an RFC1918 IPv4 address from these ranges. Only a single range is supported. This field cannot be changed after creation.", +"items": { +"type": "string" +}, +"type": "array" +}, +"serviceAddressCidrBlocks": { +"description": "Required. All services in the cluster are assigned an RFC1918 IPv4 address from these ranges. Only a single range is supported. This field cannot be changed after creation.", +"items": { +"type": "string" +}, +"type": "array" +}, +"staticIpConfig": { +"$ref": "VmwareStaticIpConfig", +"description": "Configuration settings for a static IP configuration." +}, +"vcenterNetwork": { +"description": "vcenter_network specifies vCenter network name. Inherited from the admin cluster.", +"type": "string" +} +}, +"type": "object" +}, +"VmwareNodeConfig": { +"description": "Parameters that describe the configuration of all nodes within a given node pool.", +"id": "VmwareNodeConfig", +"properties": { +"bootDiskSizeGb": { +"description": "VMware disk size to be used during creation.", +"format": "int64", +"type": "string" +}, +"cpus": { +"description": "The number of CPUs for each node in the node pool.", +"format": "int64", +"type": "string" +}, +"enableLoadBalancer": { +"description": "Allow node pool traffic to be load balanced. Only works for clusters with MetalLB load balancers.", +"type": "boolean" +}, +"image": { +"description": "The OS image name in vCenter, only valid when using Windows.", +"type": "string" +}, +"imageType": { +"description": "Required. The OS image to be used for each node in a node pool. Currently `cos`, `cos_cgv2`, `ubuntu`, `ubuntu_cgv2`, `ubuntu_containerd` and `windows` are supported.", +"type": "string" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "The map of Kubernetes labels (key/value pairs) to be applied to each node. These will added in addition to any default label(s) that Kubernetes may apply to the node. In case of conflict in label keys, the applied set may differ depending on the Kubernetes version -- it's best to assume the behavior is undefined and conflicts should be avoided. For more information, including usage and the valid values, see: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/", +"type": "object" +}, +"memoryMb": { +"description": "The megabytes of memory for each node in the node pool.", +"format": "int64", +"type": "string" +}, +"replicas": { +"description": "The number of nodes in the node pool.", +"format": "int64", +"type": "string" +}, +"taints": { +"description": "The initial taints assigned to nodes of this node pool.", +"items": { +"$ref": "NodeTaint" +}, +"type": "array" +}, +"vsphereConfig": { +"$ref": "VmwareVsphereConfig", +"description": "Specifies the vSphere config for node pool." +} +}, +"type": "object" +}, +"VmwareNodePool": { +"description": "Resource VmwareNodePool represents a VMware node pool. ##", +"id": "VmwareNodePool", +"properties": { +"annotations": { +"additionalProperties": { +"type": "string" +}, +"description": "Annotations on the node pool. This field has the same restrictions as Kubernetes annotations. The total size of all keys and values combined is limited to 256k. Key can have 2 segments: prefix (optional) and name (required), separated by a slash (/). Prefix must be a DNS subdomain. Name must be 63 characters or less, begin and end with alphanumerics, with dashes (-), underscores (_), dots (.), and alphanumerics between.", +"type": "object" +}, +"config": { +"$ref": "VmwareNodeConfig", +"description": "Required. The node configuration of the node pool." +}, +"createTime": { +"description": "Output only. The time at which this node pool was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"deleteTime": { +"description": "Output only. The time at which this node pool was deleted. If the resource is not deleted, this must be empty", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"displayName": { +"description": "The display name for the node pool.", +"type": "string" +}, +"etag": { +"description": "This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding. Allows clients to perform consistent read-modify-writes through optimistic concurrency control.", +"type": "string" +}, +"name": { +"description": "Immutable. The resource name of this node pool.", +"type": "string" +}, +"nodePoolAutoscaling": { +"$ref": "VmwareNodePoolAutoscalingConfig", +"description": "Node pool autoscaling config for the node pool." +}, +"onPremVersion": { +"description": "Anthos version for the node pool. Defaults to the user cluster version.", +"type": "string" +}, +"reconciling": { +"description": "Output only. If set, there are currently changes in flight to the node pool.", +"readOnly": true, +"type": "boolean" +}, +"state": { +"description": "Output only. The current state of the node pool.", +"enum": [ +"STATE_UNSPECIFIED", +"PROVISIONING", +"RUNNING", +"RECONCILING", +"STOPPING", +"ERROR", +"DEGRADED" +], +"enumDescriptions": [ +"Not set.", +"The PROVISIONING state indicates the node pool is being created.", +"The RUNNING state indicates the node pool has been created and is fully usable.", +"The RECONCILING state indicates that the node pool is being updated. It remains available, but potentially with degraded performance.", +"The STOPPING state indicates the cluster is being deleted", +"The ERROR state indicates the node pool is in a broken unrecoverable state.", +"The DEGRADED state indicates the node pool requires user action to restore full functionality." +], +"readOnly": true, +"type": "string" +}, +"status": { +"$ref": "ResourceStatus", +"description": "Output only. ResourceStatus representing the detailed VMware node pool state.", +"readOnly": true +}, +"uid": { +"description": "Output only. The unique identifier of the node pool.", +"readOnly": true, +"type": "string" +}, +"updateTime": { +"description": "Output only. The time at which this node pool was last updated.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"VmwareNodePoolAutoscalingConfig": { +"description": "NodePoolAutoscaling config for the NodePool to allow for the kubernetes to scale NodePool.", +"id": "VmwareNodePoolAutoscalingConfig", +"properties": { +"maxReplicas": { +"description": "Maximum number of replicas in the NodePool.", +"format": "int32", +"type": "integer" +}, +"minReplicas": { +"description": "Minimum number of replicas in the NodePool.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"VmwarePlatformConfig": { +"description": "VmwarePlatformConfig represents configuration for the VMware platform.", +"id": "VmwarePlatformConfig", +"properties": { +"bundles": { +"description": "Output only. The list of bundles installed in the admin cluster.", +"items": { +"$ref": "VmwareBundleConfig" +}, +"readOnly": true, +"type": "array" +}, +"platformVersion": { +"description": "Output only. The platform version e.g. 1.13.2.", +"readOnly": true, +"type": "string" +}, +"requiredPlatformVersion": { +"description": "Input only. The required platform version e.g. 1.13.1. If the current platform version is lower than the target version, the platform version will be updated to the target version. If the target version is not installed in the platform (bundle versions), download the target version bundle.", +"type": "string" +}, +"status": { +"$ref": "ResourceStatus", +"description": "Output only. Resource status for the platform.", +"readOnly": true +} +}, +"type": "object" +}, +"VmwareSeesawConfig": { +"description": "VmwareSeesawConfig represents configuration parameters for an already existing Seesaw load balancer. IMPORTANT: Please note that the Anthos On-Prem API will not generate or update Seesaw configurations it can only bind a pre-existing configuration to a new user cluster. IMPORTANT: When attempting to create a user cluster with a pre-existing Seesaw load balancer you will need to follow some preparation steps before calling the 'CreateVmwareCluster' API method. First you will need to create the user cluster's namespace via kubectl. The namespace will need to use the following naming convention : -gke-onprem-mgmt or -gke-onprem-mgmt depending on whether you used the 'VmwareCluster.local_name' to disambiguate collisions; for more context see the documentation of 'VmwareCluster.local_name'. Once the namespace is created you will need to create a secret resource via kubectl. This secret will contain copies of your Seesaw credentials. The Secret must be called 'user-cluster-creds' and contain Seesaw's SSH and Cert credentials. The credentials must be keyed with the following names: 'seesaw-ssh-private-key', 'seesaw-ssh-public-key', 'seesaw-ssh-ca-key', 'seesaw-ssh-ca-cert'.", +"id": "VmwareSeesawConfig", +"properties": { +"enableHa": { +"description": "Enable two load balancer VMs to achieve a highly-available Seesaw load balancer.", +"type": "boolean" +}, +"group": { +"description": "Required. In general the following format should be used for the Seesaw group name: seesaw-for-[cluster_name].", +"type": "string" +}, +"ipBlocks": { +"description": "Required. The IP Blocks to be used by the Seesaw load balancer", +"items": { +"$ref": "VmwareIpBlock" +}, +"type": "array" +}, +"masterIp": { +"description": "Required. MasterIP is the IP announced by the master of Seesaw group.", +"type": "string" +}, +"stackdriverName": { +"description": "Name to be used by Stackdriver.", +"type": "string" +}, +"vms": { +"description": "Names of the VMs created for this Seesaw group.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"VmwareStaticIpConfig": { +"description": "Represents the network configuration required for the VMware user clusters with Static IP configurations.", +"id": "VmwareStaticIpConfig", +"properties": { +"ipBlocks": { +"description": "Represents the configuration values for static IP allocation to nodes.", +"items": { +"$ref": "VmwareIpBlock" +}, +"type": "array" +} +}, +"type": "object" +}, +"VmwareStorageConfig": { +"description": "Specifies vSphere CSI components deployment config in the VMware user cluster.", +"id": "VmwareStorageConfig", +"properties": { +"vsphereCsiDisabled": { +"description": "Whether or not to deploy vSphere CSI components in the VMware user cluster. Enabled by default.", +"type": "boolean" +} +}, +"type": "object" +}, +"VmwareVCenterConfig": { +"description": "Represents configuration for the VMware VCenter for the user cluster.", +"id": "VmwareVCenterConfig", +"properties": { +"address": { +"description": "Output only. The vCenter IP address.", +"readOnly": true, +"type": "string" +}, +"caCertData": { +"description": "Contains the vCenter CA certificate public key for SSL verification.", +"type": "string" +}, +"cluster": { +"description": "The name of the vCenter cluster for the user cluster.", +"type": "string" +}, +"datacenter": { +"description": "The name of the vCenter datacenter for the user cluster.", +"type": "string" +}, +"datastore": { +"description": "The name of the vCenter datastore for the user cluster.", +"type": "string" +}, +"folder": { +"description": "The name of the vCenter folder for the user cluster.", +"type": "string" +}, +"resourcePool": { +"description": "The name of the vCenter resource pool for the user cluster.", +"type": "string" +}, +"storagePolicyName": { +"description": "The name of the vCenter storage policy for the user cluster.", +"type": "string" +} +}, +"type": "object" +}, +"VmwareVersionInfo": { +"description": "Contains information about a specific Anthos on VMware version.", +"id": "VmwareVersionInfo", +"properties": { +"dependencies": { +"description": "The list of upgrade dependencies for this version.", +"items": { +"$ref": "UpgradeDependency" +}, +"type": "array" +}, +"hasDependencies": { +"description": "If set, the cluster dependencies (e.g. the admin cluster, other user clusters managed by the same admin cluster) must be upgraded before this version can be installed or upgraded to.", +"type": "boolean" +}, +"isInstalled": { +"description": "If set, the version is installed in the admin cluster. Otherwise, the version bundle must be downloaded and installed before a user cluster can be created at or upgraded to this version.", +"type": "boolean" +}, +"version": { +"description": "Version number e.g. 1.13.1-gke.1000.", +"type": "string" +} +}, +"type": "object" +}, +"VmwareVipConfig": { +"description": "Specifies the VIP config for the VMware user cluster load balancer.", +"id": "VmwareVipConfig", +"properties": { +"controlPlaneVip": { +"description": "The VIP which you previously set aside for the Kubernetes API of this cluster.", +"type": "string" +}, +"ingressVip": { +"description": "The VIP which you previously set aside for ingress traffic into this cluster.", +"type": "string" +} +}, +"type": "object" +}, +"VmwareVsphereConfig": { +"description": "VmwareVsphereConfig represents configuration for the VMware VCenter for node pool.", +"id": "VmwareVsphereConfig", +"properties": { +"datastore": { +"description": "The name of the vCenter datastore. Inherited from the user cluster.", +"type": "string" +}, +"hostGroups": { +"description": "Vsphere host groups to apply to all VMs in the node pool", +"items": { +"type": "string" +}, +"type": "array" +}, +"tags": { +"description": "Tags to apply to VMs.", +"items": { +"$ref": "VmwareVsphereTag" +}, +"type": "array" +} +}, +"type": "object" +}, +"VmwareVsphereTag": { +"description": "VmwareVsphereTag describes a vSphere tag to be placed on VMs in the node pool. For more information, see https://docs.vmware.com/en/VMware-vSphere/7.0/com.vmware.vsphere.vcenterhost.doc/GUID-E8E854DD-AA97-4E0C-8419-CE84F93C4058.html", +"id": "VmwareVsphereTag", +"properties": { +"category": { +"description": "The Vsphere tag category.", +"type": "string" +}, +"tag": { +"description": "The Vsphere tag name.", +"type": "string" +} +}, +"type": "object" +} +}, +"servicePath": "", +"title": "GKE On-Prem API", +"version": "v1", +"version_module": true +} \ No newline at end of file diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/iam.v2.json b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/iam.v2.json new file mode 100644 index 0000000000000000000000000000000000000000..0b473427dbca69a0e0150c0c6968733b24f0960c --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/iam.v2.json @@ -0,0 +1,880 @@ +{ +"auth": { +"oauth2": { +"scopes": { +"https://www.googleapis.com/auth/cloud-platform": { +"description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." +} +} +} +}, +"basePath": "", +"baseUrl": "https://iam.googleapis.com/", +"batchPath": "batch", +"canonicalName": "Iam", +"description": "Manages identity and access control for Google Cloud resources, including the creation of service accounts, which you can use to authenticate to Google and make API calls. Enabling this API also enables the IAM Service Account Credentials API (iamcredentials.googleapis.com). However, disabling this API doesn't disable the IAM Service Account Credentials API. ", +"discoveryVersion": "v1", +"documentationLink": "https://cloud.google.com/iam/", +"fullyEncodeReservedExpansion": true, +"icons": { +"x16": "http://www.google.com/images/icons/product/search-16.gif", +"x32": "http://www.google.com/images/icons/product/search-32.gif" +}, +"id": "iam:v2", +"kind": "discovery#restDescription", +"mtlsRootUrl": "https://iam.mtls.googleapis.com/", +"name": "iam", +"ownerDomain": "google.com", +"ownerName": "Google", +"parameters": { +"$.xgafv": { +"description": "V1 error format.", +"enum": [ +"1", +"2" +], +"enumDescriptions": [ +"v1 error format", +"v2 error format" +], +"location": "query", +"type": "string" +}, +"access_token": { +"description": "OAuth access token.", +"location": "query", +"type": "string" +}, +"alt": { +"default": "json", +"description": "Data format for response.", +"enum": [ +"json", +"media", +"proto" +], +"enumDescriptions": [ +"Responses with Content-Type of application/json", +"Media download with context-dependent Content-Type", +"Responses with Content-Type of application/x-protobuf" +], +"location": "query", +"type": "string" +}, +"callback": { +"description": "JSONP", +"location": "query", +"type": "string" +}, +"fields": { +"description": "Selector specifying which fields to include in a partial response.", +"location": "query", +"type": "string" +}, +"key": { +"description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", +"location": "query", +"type": "string" +}, +"oauth_token": { +"description": "OAuth 2.0 token for the current user.", +"location": "query", +"type": "string" +}, +"prettyPrint": { +"default": "true", +"description": "Returns response with indentations and line breaks.", +"location": "query", +"type": "boolean" +}, +"quotaUser": { +"description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.", +"location": "query", +"type": "string" +}, +"uploadType": { +"description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", +"location": "query", +"type": "string" +}, +"upload_protocol": { +"description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", +"location": "query", +"type": "string" +} +}, +"protocol": "rest", +"resources": { +"policies": { +"methods": { +"createPolicy": { +"description": "Creates a policy.", +"flatPath": "v2/policies/{policiesId}/{policiesId1}", +"httpMethod": "POST", +"id": "iam.policies.createPolicy", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The resource that the policy is attached to, along with the kind of policy to create. Format: `policies/{attachment_point}/denypolicies` The attachment point is identified by its URL-encoded full resource name, which means that the forward-slash character, `/`, must be written as `%2F`. For example, `policies/cloudresourcemanager.googleapis.com%2Fprojects%2Fmy-project/denypolicies`. For organizations and folders, use the numeric ID in the full resource name. For projects, you can use the alphanumeric or the numeric ID.", +"location": "path", +"pattern": "^policies/[^/]+/[^/]+$", +"required": true, +"type": "string" +}, +"policyId": { +"description": "The ID to use for this policy, which will become the final component of the policy's resource name. The ID must contain 3 to 63 characters. It can contain lowercase letters and numbers, as well as dashes (`-`) and periods (`.`). The first character must be a lowercase letter.", +"location": "query", +"type": "string" +} +}, +"path": "v2/{+parent}", +"request": { +"$ref": "GoogleIamV2Policy" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a policy. This action is permanent.", +"flatPath": "v2/policies/{policiesId}/{policiesId1}/{policiesId2}", +"httpMethod": "DELETE", +"id": "iam.policies.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"etag": { +"description": "Optional. The expected `etag` of the policy to delete. If the value does not match the value that is stored in IAM, the request fails with a `409` error code and `ABORTED` status. If you omit this field, the policy is deleted regardless of its current `etag`.", +"location": "query", +"type": "string" +}, +"name": { +"description": "Required. The resource name of the policy to delete. Format: `policies/{attachment_point}/denypolicies/{policy_id}` Use the URL-encoded full resource name, which means that the forward-slash character, `/`, must be written as `%2F`. For example, `policies/cloudresourcemanager.googleapis.com%2Fprojects%2Fmy-project/denypolicies/my-policy`. For organizations and folders, use the numeric ID in the full resource name. For projects, you can use the alphanumeric or the numeric ID.", +"location": "path", +"pattern": "^policies/[^/]+/[^/]+/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+name}", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets a policy.", +"flatPath": "v2/policies/{policiesId}/{policiesId1}/{policiesId2}", +"httpMethod": "GET", +"id": "iam.policies.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the policy to retrieve. Format: `policies/{attachment_point}/denypolicies/{policy_id}` Use the URL-encoded full resource name, which means that the forward-slash character, `/`, must be written as `%2F`. For example, `policies/cloudresourcemanager.googleapis.com%2Fprojects%2Fmy-project/denypolicies/my-policy`. For organizations and folders, use the numeric ID in the full resource name. For projects, you can use the alphanumeric or the numeric ID.", +"location": "path", +"pattern": "^policies/[^/]+/[^/]+/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+name}", +"response": { +"$ref": "GoogleIamV2Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"listPolicies": { +"description": "Retrieves the policies of the specified kind that are attached to a resource. The response lists only policy metadata. In particular, policy rules are omitted.", +"flatPath": "v2/policies/{policiesId}/{policiesId1}", +"httpMethod": "GET", +"id": "iam.policies.listPolicies", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "The maximum number of policies to return. IAM ignores this value and uses the value 1000.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A page token received in a ListPoliciesResponse. Provide this token to retrieve the next page.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The resource that the policy is attached to, along with the kind of policy to list. Format: `policies/{attachment_point}/denypolicies` The attachment point is identified by its URL-encoded full resource name, which means that the forward-slash character, `/`, must be written as `%2F`. For example, `policies/cloudresourcemanager.googleapis.com%2Fprojects%2Fmy-project/denypolicies`. For organizations and folders, use the numeric ID in the full resource name. For projects, you can use the alphanumeric or the numeric ID.", +"location": "path", +"pattern": "^policies/[^/]+/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+parent}", +"response": { +"$ref": "GoogleIamV2ListPoliciesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"update": { +"description": "Updates the specified policy. You can update only the rules and the display name for the policy. To update a policy, you should use a read-modify-write loop: 1. Use GetPolicy to read the current version of the policy. 2. Modify the policy as needed. 3. Use `UpdatePolicy` to write the updated policy. This pattern helps prevent conflicts between concurrent updates.", +"flatPath": "v2/policies/{policiesId}/{policiesId1}/{policiesId2}", +"httpMethod": "PUT", +"id": "iam.policies.update", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Immutable. The resource name of the `Policy`, which must be unique. Format: `policies/{attachment_point}/denypolicies/{policy_id}` The attachment point is identified by its URL-encoded full resource name, which means that the forward-slash character, `/`, must be written as `%2F`. For example, `policies/cloudresourcemanager.googleapis.com%2Fprojects%2Fmy-project/denypolicies/my-deny-policy`. For organizations and folders, use the numeric ID in the full resource name. For projects, requests can use the alphanumeric or the numeric ID. Responses always contain the numeric ID.", +"location": "path", +"pattern": "^policies/[^/]+/[^/]+/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+name}", +"request": { +"$ref": "GoogleIamV2Policy" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"operations": { +"methods": { +"get": { +"description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", +"flatPath": "v2/policies/{policiesId}/{policiesId1}/{policiesId2}/operations/{operationsId}", +"httpMethod": "GET", +"id": "iam.policies.operations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource.", +"location": "path", +"pattern": "^policies/[^/]+/[^/]+/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+name}", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +} +}, +"revision": "20250502", +"rootUrl": "https://iam.googleapis.com/", +"schemas": { +"CloudControl2SharedOperationsReconciliationOperationMetadata": { +"description": "Operation metadata returned by the CLH during resource state reconciliation.", +"id": "CloudControl2SharedOperationsReconciliationOperationMetadata", +"properties": { +"deleteResource": { +"deprecated": true, +"description": "DEPRECATED. Use exclusive_action instead.", +"type": "boolean" +}, +"exclusiveAction": { +"description": "Excluisive action returned by the CLH.", +"enum": [ +"UNKNOWN_REPAIR_ACTION", +"DELETE", +"RETRY" +], +"enumDeprecated": [ +false, +true, +false +], +"enumDescriptions": [ +"Unknown repair action.", +"The resource has to be deleted. When using this bit, the CLH should fail the operation. DEPRECATED. Instead use DELETE_RESOURCE OperationSignal in SideChannel.", +"This resource could not be repaired but the repair should be tried again at a later time. This can happen if there is a dependency that needs to be resolved first- e.g. if a parent resource must be repaired before a child resource." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudCommonOperationMetadata": { +"description": "Represents the metadata of the long-running operation.", +"id": "GoogleCloudCommonOperationMetadata", +"properties": { +"apiVersion": { +"description": "Output only. API version used to start the operation.", +"readOnly": true, +"type": "string" +}, +"cancelRequested": { +"description": "Output only. Identifies whether the user has requested cancellation of the operation. Operations that have been cancelled successfully have google.longrunning.Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.", +"readOnly": true, +"type": "boolean" +}, +"createTime": { +"description": "Output only. The time the operation was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"endTime": { +"description": "Output only. The time the operation finished running.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"statusDetail": { +"description": "Output only. Human-readable status of the operation, if any.", +"readOnly": true, +"type": "string" +}, +"target": { +"description": "Output only. Server-defined resource path for the target of the operation.", +"readOnly": true, +"type": "string" +}, +"verb": { +"description": "Output only. Name of the verb executed by the operation.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleIamAdminV1AuditData": { +"description": "Audit log information specific to Cloud IAM admin APIs. This message is serialized as an `Any` type in the `ServiceData` message of an `AuditLog` message.", +"id": "GoogleIamAdminV1AuditData", +"properties": { +"permissionDelta": { +"$ref": "GoogleIamAdminV1AuditDataPermissionDelta", +"description": "The permission_delta when when creating or updating a Role." +} +}, +"type": "object" +}, +"GoogleIamAdminV1AuditDataPermissionDelta": { +"description": "A PermissionDelta message to record the added_permissions and removed_permissions inside a role.", +"id": "GoogleIamAdminV1AuditDataPermissionDelta", +"properties": { +"addedPermissions": { +"description": "Added permissions.", +"items": { +"type": "string" +}, +"type": "array" +}, +"removedPermissions": { +"description": "Removed permissions.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleIamV1BindingDelta": { +"description": "One delta entry for Binding. Each individual change (only one member in each entry) to a binding will be a separate entry.", +"id": "GoogleIamV1BindingDelta", +"properties": { +"action": { +"description": "The action that was performed on a Binding. Required", +"enum": [ +"ACTION_UNSPECIFIED", +"ADD", +"REMOVE" +], +"enumDescriptions": [ +"Unspecified.", +"Addition of a Binding.", +"Removal of a Binding." +], +"type": "string" +}, +"condition": { +"$ref": "GoogleTypeExpr", +"description": "The condition that is associated with this binding." +}, +"member": { +"description": "A single identity requesting access for a Google Cloud resource. Follows the same format of Binding.members. Required", +"type": "string" +}, +"role": { +"description": "Role that is assigned to `members`. For example, `roles/viewer`, `roles/editor`, or `roles/owner`. Required", +"type": "string" +} +}, +"type": "object" +}, +"GoogleIamV1LoggingAuditData": { +"description": "Audit log information specific to Cloud IAM. This message is serialized as an `Any` type in the `ServiceData` message of an `AuditLog` message.", +"id": "GoogleIamV1LoggingAuditData", +"properties": { +"policyDelta": { +"$ref": "GoogleIamV1PolicyDelta", +"description": "Policy delta between the original policy and the newly set policy." +} +}, +"type": "object" +}, +"GoogleIamV1PolicyDelta": { +"description": "The difference delta between two policies.", +"id": "GoogleIamV1PolicyDelta", +"properties": { +"bindingDeltas": { +"description": "The delta for Bindings between two policies.", +"items": { +"$ref": "GoogleIamV1BindingDelta" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleIamV1betaWorkloadIdentityPoolOperationMetadata": { +"description": "Metadata for long-running WorkloadIdentityPool operations.", +"id": "GoogleIamV1betaWorkloadIdentityPoolOperationMetadata", +"properties": {}, +"type": "object" +}, +"GoogleIamV2DenyRule": { +"description": "A deny rule in an IAM deny policy.", +"id": "GoogleIamV2DenyRule", +"properties": { +"denialCondition": { +"$ref": "GoogleTypeExpr", +"description": "The condition that determines whether this deny rule applies to a request. If the condition expression evaluates to `true`, then the deny rule is applied; otherwise, the deny rule is not applied. Each deny rule is evaluated independently. If this deny rule does not apply to a request, other deny rules might still apply. The condition can use CEL functions that evaluate [resource tags](https://cloud.google.com/iam/help/conditions/resource-tags). Other functions and operators are not supported." +}, +"deniedPermissions": { +"description": "The permissions that are explicitly denied by this rule. Each permission uses the format `{service_fqdn}/{resource}.{verb}`, where `{service_fqdn}` is the fully qualified domain name for the service. For example, `iam.googleapis.com/roles.list`.", +"items": { +"type": "string" +}, +"type": "array" +}, +"deniedPrincipals": { +"description": " The identities that are prevented from using one or more permissions on Google Cloud resources. This field can contain the following values: * `principal://goog/subject/{email_id}`: A specific Google Account. Includes Gmail, Cloud Identity, and Google Workspace user accounts. For example, `principal://goog/subject/alice@example.com`. * `principal://iam.googleapis.com/projects/-/serviceAccounts/{service_account_id}`: A Google Cloud service account. For example, `principal://iam.googleapis.com/projects/-/serviceAccounts/my-service-account@iam.gserviceaccount.com`. * `principalSet://goog/group/{group_id}`: A Google group. For example, `principalSet://goog/group/admins@example.com`. * `principalSet://goog/public:all`: A special identifier that represents any principal that is on the internet, even if they do not have a Google Account or are not logged in. * `principalSet://goog/cloudIdentityCustomerId/{customer_id}`: All of the principals associated with the specified Google Workspace or Cloud Identity customer ID. For example, `principalSet://goog/cloudIdentityCustomerId/C01Abc35`. * `principal://iam.googleapis.com/locations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}`: A single identity in a workforce identity pool. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/group/{group_id}`: All workforce identities in a group. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/attribute.{attribute_name}/{attribute_value}`: All workforce identities with a specific attribute value. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/*`: All identities in a workforce identity pool. * `principal://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/subject/{subject_attribute_value}`: A single identity in a workload identity pool. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/group/{group_id}`: A workload identity pool group. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/attribute.{attribute_name}/{attribute_value}`: All identities in a workload identity pool with a certain attribute. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/*`: All identities in a workload identity pool. * `principalSet://cloudresourcemanager.googleapis.com/[projects|folders|organizations]/{project_number|folder_number|org_number}/type/ServiceAccount`: All service accounts grouped under a resource (project, folder, or organization). * `principalSet://cloudresourcemanager.googleapis.com/[projects|folders|organizations]/{project_number|folder_number|org_number}/type/ServiceAgent`: All service agents grouped under a resource (project, folder, or organization). * `deleted:principal://goog/subject/{email_id}?uid={uid}`: A specific Google Account that was deleted recently. For example, `deleted:principal://goog/subject/alice@example.com?uid=1234567890`. If the Google Account is recovered, this identifier reverts to the standard identifier for a Google Account. * `deleted:principalSet://goog/group/{group_id}?uid={uid}`: A Google group that was deleted recently. For example, `deleted:principalSet://goog/group/admins@example.com?uid=1234567890`. If the Google group is restored, this identifier reverts to the standard identifier for a Google group. * `deleted:principal://iam.googleapis.com/projects/-/serviceAccounts/{service_account_id}?uid={uid}`: A Google Cloud service account that was deleted recently. For example, `deleted:principal://iam.googleapis.com/projects/-/serviceAccounts/my-service-account@iam.gserviceaccount.com?uid=1234567890`. If the service account is undeleted, this identifier reverts to the standard identifier for a service account. * `deleted:principal://iam.googleapis.com/locations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}`: Deleted single identity in a workforce identity pool. For example, `deleted:principal://iam.googleapis.com/locations/global/workforcePools/my-pool-id/subject/my-subject-attribute-value`.", +"items": { +"type": "string" +}, +"type": "array" +}, +"exceptionPermissions": { +"description": "Specifies the permissions that this rule excludes from the set of denied permissions given by `denied_permissions`. If a permission appears in `denied_permissions` _and_ in `exception_permissions` then it will _not_ be denied. The excluded permissions can be specified using the same syntax as `denied_permissions`.", +"items": { +"type": "string" +}, +"type": "array" +}, +"exceptionPrincipals": { +"description": "The identities that are excluded from the deny rule, even if they are listed in the `denied_principals`. For example, you could add a Google group to the `denied_principals`, then exclude specific users who belong to that group. This field can contain the same values as the `denied_principals` field, excluding `principalSet://goog/public:all`, which represents all users on the internet.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleIamV2ListPoliciesResponse": { +"description": "Response message for `ListPolicies`.", +"id": "GoogleIamV2ListPoliciesResponse", +"properties": { +"nextPageToken": { +"description": "A page token that you can use in a ListPoliciesRequest to retrieve the next page. If this field is omitted, there are no additional pages.", +"type": "string" +}, +"policies": { +"description": "Metadata for the policies that are attached to the resource.", +"items": { +"$ref": "GoogleIamV2Policy" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleIamV2Policy": { +"description": "Data for an IAM policy.", +"id": "GoogleIamV2Policy", +"properties": { +"annotations": { +"additionalProperties": { +"type": "string" +}, +"description": "A key-value map to store arbitrary metadata for the `Policy`. Keys can be up to 63 characters. Values can be up to 255 characters.", +"type": "object" +}, +"createTime": { +"description": "Output only. The time when the `Policy` was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"deleteTime": { +"description": "Output only. The time when the `Policy` was deleted. Empty if the policy is not deleted.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"displayName": { +"description": "A user-specified description of the `Policy`. This value can be up to 63 characters.", +"type": "string" +}, +"etag": { +"description": "An opaque tag that identifies the current version of the `Policy`. IAM uses this value to help manage concurrent updates, so they do not cause one update to be overwritten by another. If this field is present in a CreatePolicyRequest, the value is ignored.", +"type": "string" +}, +"kind": { +"description": "Output only. The kind of the `Policy`. Always contains the value `DenyPolicy`.", +"readOnly": true, +"type": "string" +}, +"name": { +"description": "Immutable. The resource name of the `Policy`, which must be unique. Format: `policies/{attachment_point}/denypolicies/{policy_id}` The attachment point is identified by its URL-encoded full resource name, which means that the forward-slash character, `/`, must be written as `%2F`. For example, `policies/cloudresourcemanager.googleapis.com%2Fprojects%2Fmy-project/denypolicies/my-deny-policy`. For organizations and folders, use the numeric ID in the full resource name. For projects, requests can use the alphanumeric or the numeric ID. Responses always contain the numeric ID.", +"type": "string" +}, +"rules": { +"description": "A list of rules that specify the behavior of the `Policy`. All of the rules should be of the `kind` specified in the `Policy`.", +"items": { +"$ref": "GoogleIamV2PolicyRule" +}, +"type": "array" +}, +"uid": { +"description": "Immutable. The globally unique ID of the `Policy`. Assigned automatically when the `Policy` is created.", +"type": "string" +}, +"updateTime": { +"description": "Output only. The time when the `Policy` was last updated.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleIamV2PolicyOperationMetadata": { +"description": "Metadata for long-running `Policy` operations.", +"id": "GoogleIamV2PolicyOperationMetadata", +"properties": { +"createTime": { +"description": "Timestamp when the `google.longrunning.Operation` was created.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"GoogleIamV2PolicyRule": { +"description": "A single rule in a `Policy`.", +"id": "GoogleIamV2PolicyRule", +"properties": { +"denyRule": { +"$ref": "GoogleIamV2DenyRule", +"description": "A rule for a deny policy." +}, +"description": { +"description": "A user-specified description of the rule. This value can be up to 256 characters.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleIamV3OperationMetadata": { +"description": "Represents the metadata of the long-running operation.", +"id": "GoogleIamV3OperationMetadata", +"properties": { +"apiVersion": { +"description": "Output only. API version used to start the operation.", +"readOnly": true, +"type": "string" +}, +"createTime": { +"description": "Output only. The time the operation was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"endTime": { +"description": "Output only. The time the operation finished running.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"requestedCancellation": { +"description": "Output only. Identifies whether the user has requested cancellation of the operation. Operations that have successfully been cancelled have Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.", +"readOnly": true, +"type": "boolean" +}, +"statusMessage": { +"description": "Output only. Human-readable status of the operation, if any.", +"readOnly": true, +"type": "string" +}, +"target": { +"description": "Output only. Server-defined resource path for the target of the", +"readOnly": true, +"type": "string" +}, +"verb": { +"description": "Output only. Name of the verb executed by the operation.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleIamV3alphaOperationMetadata": { +"description": "Represents the metadata of the long-running operation.", +"id": "GoogleIamV3alphaOperationMetadata", +"properties": { +"apiVersion": { +"description": "Output only. API version used to start the operation.", +"readOnly": true, +"type": "string" +}, +"createTime": { +"description": "Output only. The time the operation was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"endTime": { +"description": "Output only. The time the operation finished running.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"requestedCancellation": { +"description": "Output only. Identifies whether the user has requested cancellation of the operation. Operations that have successfully been cancelled have Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.", +"readOnly": true, +"type": "boolean" +}, +"statusMessage": { +"description": "Output only. Human-readable status of the operation, if any.", +"readOnly": true, +"type": "string" +}, +"target": { +"description": "Output only. Server-defined resource path for the target of the", +"readOnly": true, +"type": "string" +}, +"verb": { +"description": "Output only. Name of the verb executed by the operation.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleIamV3betaOperationMetadata": { +"description": "Represents the metadata of the long-running operation.", +"id": "GoogleIamV3betaOperationMetadata", +"properties": { +"apiVersion": { +"description": "Output only. API version used to start the operation.", +"readOnly": true, +"type": "string" +}, +"createTime": { +"description": "Output only. The time the operation was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"endTime": { +"description": "Output only. The time the operation finished running.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"requestedCancellation": { +"description": "Output only. Identifies whether the user has requested cancellation of the operation. Operations that have successfully been cancelled have Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.", +"readOnly": true, +"type": "boolean" +}, +"statusMessage": { +"description": "Output only. Human-readable status of the operation, if any.", +"readOnly": true, +"type": "string" +}, +"target": { +"description": "Output only. Server-defined resource path for the target of the", +"readOnly": true, +"type": "string" +}, +"verb": { +"description": "Output only. Name of the verb executed by the operation.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleIamV3mainOperationMetadata": { +"description": "Represents the metadata of the long-running operation.", +"id": "GoogleIamV3mainOperationMetadata", +"properties": { +"apiVersion": { +"description": "Output only. API version used to start the operation.", +"readOnly": true, +"type": "string" +}, +"createTime": { +"description": "Output only. The time the operation was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"endTime": { +"description": "Output only. The time the operation finished running.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"requestedCancellation": { +"description": "Output only. Identifies whether the user has requested cancellation of the operation. Operations that have successfully been cancelled have Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.", +"readOnly": true, +"type": "boolean" +}, +"statusMessage": { +"description": "Output only. Human-readable status of the operation, if any.", +"readOnly": true, +"type": "string" +}, +"target": { +"description": "Output only. Server-defined resource path for the target of the", +"readOnly": true, +"type": "string" +}, +"verb": { +"description": "Output only. Name of the verb executed by the operation.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleLongrunningOperation": { +"description": "This resource represents a long-running operation that is the result of a network API call.", +"id": "GoogleLongrunningOperation", +"properties": { +"done": { +"description": "If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.", +"type": "boolean" +}, +"error": { +"$ref": "GoogleRpcStatus", +"description": "The error result of the operation in case of failure or cancellation." +}, +"metadata": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.", +"type": "object" +}, +"name": { +"description": "The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.", +"type": "string" +}, +"response": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "The normal, successful response of the operation. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.", +"type": "object" +} +}, +"type": "object" +}, +"GoogleRpcStatus": { +"description": "The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors).", +"id": "GoogleRpcStatus", +"properties": { +"code": { +"description": "The status code, which should be an enum value of google.rpc.Code.", +"format": "int32", +"type": "integer" +}, +"details": { +"description": "A list of messages that carry the error details. There is a common set of message types for APIs to use.", +"items": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleTypeExpr": { +"description": "Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: \"Summary size limit\" description: \"Determines if a summary is less than 100 chars\" expression: \"document.summary.size() < 100\" Example (Equality): title: \"Requestor is owner\" description: \"Determines if requestor is the document owner\" expression: \"document.owner == request.auth.claims.email\" Example (Logic): title: \"Public documents\" description: \"Determine whether the document should be publicly visible\" expression: \"document.type != 'private' && document.type != 'internal'\" Example (Data Manipulation): title: \"Notification string\" description: \"Create a notification string with a timestamp.\" expression: \"'New message received at ' + string(document.create_time)\" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information.", +"id": "GoogleTypeExpr", +"properties": { +"description": { +"description": "Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI.", +"type": "string" +}, +"expression": { +"description": "Textual representation of an expression in Common Expression Language syntax.", +"type": "string" +}, +"location": { +"description": "Optional. String indicating the location of the expression for error reporting, e.g. a file name and a position in the file.", +"type": "string" +}, +"title": { +"description": "Optional. Title for the expression, i.e. a short string describing its purpose. This can be used e.g. in UIs which allow to enter the expression.", +"type": "string" +} +}, +"type": "object" +} +}, +"servicePath": "", +"title": "Identity and Access Management (IAM) API", +"version": "v2", +"version_module": true +} \ No newline at end of file diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/iap.v1beta1.json b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/iap.v1beta1.json new file mode 100644 index 0000000000000000000000000000000000000000..44cd435ad6caed8b38ebd70f95741ca2571dc106 --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/iap.v1beta1.json @@ -0,0 +1,336 @@ +{ +"auth": { +"oauth2": { +"scopes": { +"https://www.googleapis.com/auth/cloud-platform": { +"description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." +} +} +} +}, +"basePath": "", +"baseUrl": "https://iap.googleapis.com/", +"batchPath": "batch", +"canonicalName": "Cloud IAP", +"description": "Controls access to cloud applications running on Google Cloud Platform.", +"discoveryVersion": "v1", +"documentationLink": "https://cloud.google.com/iap", +"fullyEncodeReservedExpansion": true, +"icons": { +"x16": "http://www.google.com/images/icons/product/search-16.gif", +"x32": "http://www.google.com/images/icons/product/search-32.gif" +}, +"id": "iap:v1beta1", +"kind": "discovery#restDescription", +"mtlsRootUrl": "https://iap.mtls.googleapis.com/", +"name": "iap", +"ownerDomain": "google.com", +"ownerName": "Google", +"parameters": { +"$.xgafv": { +"description": "V1 error format.", +"enum": [ +"1", +"2" +], +"enumDescriptions": [ +"v1 error format", +"v2 error format" +], +"location": "query", +"type": "string" +}, +"access_token": { +"description": "OAuth access token.", +"location": "query", +"type": "string" +}, +"alt": { +"default": "json", +"description": "Data format for response.", +"enum": [ +"json", +"media", +"proto" +], +"enumDescriptions": [ +"Responses with Content-Type of application/json", +"Media download with context-dependent Content-Type", +"Responses with Content-Type of application/x-protobuf" +], +"location": "query", +"type": "string" +}, +"callback": { +"description": "JSONP", +"location": "query", +"type": "string" +}, +"fields": { +"description": "Selector specifying which fields to include in a partial response.", +"location": "query", +"type": "string" +}, +"key": { +"description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", +"location": "query", +"type": "string" +}, +"oauth_token": { +"description": "OAuth 2.0 token for the current user.", +"location": "query", +"type": "string" +}, +"prettyPrint": { +"default": "true", +"description": "Returns response with indentations and line breaks.", +"location": "query", +"type": "boolean" +}, +"quotaUser": { +"description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.", +"location": "query", +"type": "string" +}, +"uploadType": { +"description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", +"location": "query", +"type": "string" +}, +"upload_protocol": { +"description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", +"location": "query", +"type": "string" +} +}, +"protocol": "rest", +"resources": { +"v1beta1": { +"methods": { +"getIamPolicy": { +"description": "Gets the access control policy for an Identity-Aware Proxy protected resource. More information about managing access via IAP can be found at: https://cloud.google.com/iap/docs/managing-access#managing_access_via_the_api", +"flatPath": "v1beta1/{v1beta1Id}:getIamPolicy", +"httpMethod": "POST", +"id": "iap.getIamPolicy", +"parameterOrder": [ +"resource" +], +"parameters": { +"resource": { +"description": "REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", +"location": "path", +"pattern": "^.*$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+resource}:getIamPolicy", +"request": { +"$ref": "GetIamPolicyRequest" +}, +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"setIamPolicy": { +"description": "Sets the access control policy for an Identity-Aware Proxy protected resource. Replaces any existing policy. More information about managing access via IAP can be found at: https://cloud.google.com/iap/docs/managing-access#managing_access_via_the_api", +"flatPath": "v1beta1/{v1beta1Id}:setIamPolicy", +"httpMethod": "POST", +"id": "iap.setIamPolicy", +"parameterOrder": [ +"resource" +], +"parameters": { +"resource": { +"description": "REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", +"location": "path", +"pattern": "^.*$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+resource}:setIamPolicy", +"request": { +"$ref": "SetIamPolicyRequest" +}, +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"testIamPermissions": { +"description": "Returns permissions that a caller has on the Identity-Aware Proxy protected resource. If the resource does not exist or the caller does not have Identity-Aware Proxy permissions a [google.rpc.Code.PERMISSION_DENIED] will be returned. More information about managing access via IAP can be found at: https://cloud.google.com/iap/docs/managing-access#managing_access_via_the_api", +"flatPath": "v1beta1/{v1beta1Id}:testIamPermissions", +"httpMethod": "POST", +"id": "iap.testIamPermissions", +"parameterOrder": [ +"resource" +], +"parameters": { +"resource": { +"description": "REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", +"location": "path", +"pattern": "^.*$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+resource}:testIamPermissions", +"request": { +"$ref": "TestIamPermissionsRequest" +}, +"response": { +"$ref": "TestIamPermissionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +}, +"revision": "20240701", +"rootUrl": "https://iap.googleapis.com/", +"schemas": { +"Binding": { +"description": "Associates `members`, or principals, with a `role`.", +"id": "Binding", +"properties": { +"condition": { +"$ref": "Expr", +"description": "The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies)." +}, +"members": { +"description": "Specifies the principals requesting access for a Google Cloud resource. `members` can have the following values: * `allUsers`: A special identifier that represents anyone who is on the internet; with or without a Google account. * `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service account. Does not include identities that come from external identity providers (IdPs) through identity federation. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `group:{emailid}`: An email address that represents a Google group. For example, `admins@example.com`. * `domain:{domain}`: The G Suite domain (primary) that represents all the users of that domain. For example, `google.com` or `example.com`. * `principal://iam.googleapis.com/locations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}`: A single identity in a workforce identity pool. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/group/{group_id}`: All workforce identities in a group. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/attribute.{attribute_name}/{attribute_value}`: All workforce identities with a specific attribute value. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/*`: All identities in a workforce identity pool. * `principal://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/subject/{subject_attribute_value}`: A single identity in a workload identity pool. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/group/{group_id}`: A workload identity pool group. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/attribute.{attribute_name}/{attribute_value}`: All identities in a workload identity pool with a certain attribute. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/*`: All identities in a workload identity pool. * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a user that has been recently deleted. For example, `alice@example.com?uid=123456789012345678901`. If the user is recovered, this value reverts to `user:{emailid}` and the recovered user retains the role in the binding. * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a service account that has been recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the service account is undeleted, this value reverts to `serviceAccount:{emailid}` and the undeleted service account retains the role in the binding. * `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a Google group that has been recently deleted. For example, `admins@example.com?uid=123456789012345678901`. If the group is recovered, this value reverts to `group:{emailid}` and the recovered group retains the role in the binding. * `deleted:principal://iam.googleapis.com/locations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}`: Deleted single identity in a workforce identity pool. For example, `deleted:principal://iam.googleapis.com/locations/global/workforcePools/my-pool-id/subject/my-subject-attribute-value`.", +"items": { +"type": "string" +}, +"type": "array" +}, +"role": { +"description": "Role that is assigned to the list of `members`, or principals. For example, `roles/viewer`, `roles/editor`, or `roles/owner`. For an overview of the IAM roles and permissions, see the [IAM documentation](https://cloud.google.com/iam/docs/roles-overview). For a list of the available pre-defined roles, see [here](https://cloud.google.com/iam/docs/understanding-roles).", +"type": "string" +} +}, +"type": "object" +}, +"Expr": { +"description": "Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: \"Summary size limit\" description: \"Determines if a summary is less than 100 chars\" expression: \"document.summary.size() < 100\" Example (Equality): title: \"Requestor is owner\" description: \"Determines if requestor is the document owner\" expression: \"document.owner == request.auth.claims.email\" Example (Logic): title: \"Public documents\" description: \"Determine whether the document should be publicly visible\" expression: \"document.type != 'private' && document.type != 'internal'\" Example (Data Manipulation): title: \"Notification string\" description: \"Create a notification string with a timestamp.\" expression: \"'New message received at ' + string(document.create_time)\" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information.", +"id": "Expr", +"properties": { +"description": { +"description": "Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI.", +"type": "string" +}, +"expression": { +"description": "Textual representation of an expression in Common Expression Language syntax.", +"type": "string" +}, +"location": { +"description": "Optional. String indicating the location of the expression for error reporting, e.g. a file name and a position in the file.", +"type": "string" +}, +"title": { +"description": "Optional. Title for the expression, i.e. a short string describing its purpose. This can be used e.g. in UIs which allow to enter the expression.", +"type": "string" +} +}, +"type": "object" +}, +"GetIamPolicyRequest": { +"description": "Request message for `GetIamPolicy` method.", +"id": "GetIamPolicyRequest", +"properties": { +"options": { +"$ref": "GetPolicyOptions", +"description": "OPTIONAL: A `GetPolicyOptions` object for specifying options to `GetIamPolicy`." +} +}, +"type": "object" +}, +"GetPolicyOptions": { +"description": "Encapsulates settings provided to GetIamPolicy.", +"id": "GetPolicyOptions", +"properties": { +"requestedPolicyVersion": { +"description": "Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"Policy": { +"description": "An Identity and Access Management (IAM) policy, which specifies access controls for Google Cloud resources. A `Policy` is a collection of `bindings`. A `binding` binds one or more `members`, or principals, to a single `role`. Principals can be user accounts, service accounts, Google groups, and domains (such as G Suite). A `role` is a named list of permissions; each `role` can be an IAM predefined role or a user-created custom role. For some types of Google Cloud resources, a `binding` can also specify a `condition`, which is a logical expression that allows access to a resource only if the expression evaluates to `true`. A condition can add constraints based on attributes of the request, the resource, or both. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). **JSON example:** ``` { \"bindings\": [ { \"role\": \"roles/resourcemanager.organizationAdmin\", \"members\": [ \"user:mike@example.com\", \"group:admins@example.com\", \"domain:google.com\", \"serviceAccount:my-project-id@appspot.gserviceaccount.com\" ] }, { \"role\": \"roles/resourcemanager.organizationViewer\", \"members\": [ \"user:eve@example.com\" ], \"condition\": { \"title\": \"expirable access\", \"description\": \"Does not grant access after Sep 2020\", \"expression\": \"request.time < timestamp('2020-10-01T00:00:00.000Z')\", } } ], \"etag\": \"BwWWja0YfJA=\", \"version\": 3 } ``` **YAML example:** ``` bindings: - members: - user:mike@example.com - group:admins@example.com - domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.com role: roles/resourcemanager.organizationViewer condition: title: expirable access description: Does not grant access after Sep 2020 expression: request.time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 ``` For a description of IAM and its features, see the [IAM documentation](https://cloud.google.com/iam/docs/).", +"id": "Policy", +"properties": { +"bindings": { +"description": "Associates a list of `members`, or principals, with a `role`. Optionally, may specify a `condition` that determines how and when the `bindings` are applied. Each of the `bindings` must contain at least one principal. The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250 of these principals can be Google groups. Each occurrence of a principal counts towards these limits. For example, if the `bindings` grant 50 different roles to `user:alice@example.com`, and not to any other principal, then you can add another 1,450 principals to the `bindings` in the `Policy`.", +"items": { +"$ref": "Binding" +}, +"type": "array" +}, +"etag": { +"description": "`etag` is used for optimistic concurrency control as a way to help prevent simultaneous updates of a policy from overwriting each other. It is strongly suggested that systems make use of the `etag` in the read-modify-write cycle to perform policy updates in order to avoid race conditions: An `etag` is returned in the response to `getIamPolicy`, and systems are expected to put that etag in the request to `setIamPolicy` to ensure that their change will be applied to the same version of the policy. **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost.", +"format": "byte", +"type": "string" +}, +"version": { +"description": "Specifies the format of the policy. Valid values are `0`, `1`, and `3`. Requests that specify an invalid value are rejected. Any operation that affects conditional role bindings must specify version `3`. This requirement applies to the following operations: * Getting a policy that includes a conditional role binding * Adding a conditional role binding to a policy * Changing a conditional role binding in a policy * Removing any role binding, with or without a condition, from a policy that includes conditions **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost. If a policy does not include any conditions, operations on that policy may specify any valid version or leave the field unset. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"SetIamPolicyRequest": { +"description": "Request message for `SetIamPolicy` method.", +"id": "SetIamPolicyRequest", +"properties": { +"policy": { +"$ref": "Policy", +"description": "REQUIRED: The complete policy to be applied to the `resource`. The size of the policy is limited to a few 10s of KB. An empty policy is a valid policy but certain Google Cloud services (such as Projects) might reject them." +} +}, +"type": "object" +}, +"TestIamPermissionsRequest": { +"description": "Request message for `TestIamPermissions` method.", +"id": "TestIamPermissionsRequest", +"properties": { +"permissions": { +"description": "The set of permissions to check for the `resource`. Permissions with wildcards (such as `*` or `storage.*`) are not allowed. For more information see [IAM Overview](https://cloud.google.com/iam/docs/overview#permissions).", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"TestIamPermissionsResponse": { +"description": "Response message for `TestIamPermissions` method.", +"id": "TestIamPermissionsResponse", +"properties": { +"permissions": { +"description": "A subset of `TestPermissionsRequest.permissions` that the caller is allowed.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +} +}, +"servicePath": "", +"title": "Cloud Identity-Aware Proxy API", +"version": "v1beta1", +"version_module": true +} \ No newline at end of file diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/ideahub.v1alpha.json b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/ideahub.v1alpha.json new file mode 100644 index 0000000000000000000000000000000000000000..2669c3f8e11a04d68aea358af0c1741d83be334a --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/ideahub.v1alpha.json @@ -0,0 +1,518 @@ +{ + "basePath": "", + "baseUrl": "https://ideahub.googleapis.com/", + "batchPath": "batch", + "canonicalName": "Ideahub", + "description": "This is an invitation-only API.", + "discoveryVersion": "v1", + "documentationLink": "https://console.cloud.google.com/apis/library/ideahub.googleapis.com", + "fullyEncodeReservedExpansion": true, + "icons": { + "x16": "http://www.google.com/images/icons/product/search-16.gif", + "x32": "http://www.google.com/images/icons/product/search-32.gif" + }, + "id": "ideahub:v1alpha", + "kind": "discovery#restDescription", + "mtlsRootUrl": "https://ideahub.mtls.googleapis.com/", + "name": "ideahub", + "ownerDomain": "google.com", + "ownerName": "Google", + "parameters": { + "$.xgafv": { + "description": "V1 error format.", + "enum": [ + "1", + "2" + ], + "enumDescriptions": [ + "v1 error format", + "v2 error format" + ], + "location": "query", + "type": "string" + }, + "access_token": { + "description": "OAuth access token.", + "location": "query", + "type": "string" + }, + "alt": { + "default": "json", + "description": "Data format for response.", + "enum": [ + "json", + "media", + "proto" + ], + "enumDescriptions": [ + "Responses with Content-Type of application/json", + "Media download with context-dependent Content-Type", + "Responses with Content-Type of application/x-protobuf" + ], + "location": "query", + "type": "string" + }, + "callback": { + "description": "JSONP", + "location": "query", + "type": "string" + }, + "fields": { + "description": "Selector specifying which fields to include in a partial response.", + "location": "query", + "type": "string" + }, + "key": { + "description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", + "location": "query", + "type": "string" + }, + "oauth_token": { + "description": "OAuth 2.0 token for the current user.", + "location": "query", + "type": "string" + }, + "prettyPrint": { + "default": "true", + "description": "Returns response with indentations and line breaks.", + "location": "query", + "type": "boolean" + }, + "quotaUser": { + "description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.", + "location": "query", + "type": "string" + }, + "uploadType": { + "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", + "location": "query", + "type": "string" + }, + "upload_protocol": { + "description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", + "location": "query", + "type": "string" + } + }, + "protocol": "rest", + "resources": { + "ideas": { + "methods": { + "list": { + "description": "List ideas for a given Creator and filter and sort options.", + "flatPath": "v1alpha/ideas", + "httpMethod": "GET", + "id": "ideahub.ideas.list", + "parameterOrder": [], + "parameters": { + "filter": { + "description": "Allows filtering. Supported syntax: * Filter expressions are made up of one or more restrictions. * Restrictions are implicitly combined, as if the `AND` operator was always used. The `OR` operator is currently unsupported. * Supported functions: - `saved(bool)`: If set to true, fetches only saved ideas. If set to false, fetches all except saved ideas. Can't be simultaneously used with `dismissed(bool)`. - `dismissed(bool)`: If set to true, fetches only dismissed ideas. Can't be simultaneously used with `saved(bool)`. The `false` value is currently unsupported. Examples: * `saved(true)` * `saved(false)` * `dismissed(true)` The length of this field should be no more than 500 characters.", + "location": "query", + "type": "string" + }, + "orderBy": { + "description": "Order semantics described below.", + "location": "query", + "type": "string" + }, + "pageSize": { + "description": "The maximum number of ideas per page. If unspecified, at most 10 ideas will be returned. The maximum value is 2000; values above 2000 will be coerced to 2000.", + "format": "int32", + "location": "query", + "type": "integer" + }, + "pageToken": { + "description": "Used to fetch next page.", + "location": "query", + "type": "string" + }, + "parent": { + "description": "If defined, specifies the creator for which to filter by. Format: publishers/{publisher}/properties/{property}", + "location": "query", + "type": "string" + } + }, + "path": "v1alpha/ideas", + "response": { + "$ref": "GoogleSearchIdeahubV1alphaListIdeasResponse" + } + } + } + }, + "platforms": { + "resources": { + "properties": { + "resources": { + "ideaActivities": { + "methods": { + "create": { + "description": "Creates an idea activity entry.", + "flatPath": "v1alpha/platforms/{platformsId}/properties/{propertiesId}/ideaActivities", + "httpMethod": "POST", + "id": "ideahub.platforms.properties.ideaActivities.create", + "parameterOrder": [ + "parent" + ], + "parameters": { + "parent": { + "description": "Required. The parent resource where this idea activity will be created. Format: platforms/{platform}/property/{property}", + "location": "path", + "pattern": "^platforms/[^/]+/properties/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1alpha/{+parent}/ideaActivities", + "request": { + "$ref": "GoogleSearchIdeahubV1alphaIdeaActivity" + }, + "response": { + "$ref": "GoogleSearchIdeahubV1alphaIdeaActivity" + } + } + } + }, + "ideaStates": { + "methods": { + "patch": { + "description": "Update an idea state resource.", + "flatPath": "v1alpha/platforms/{platformsId}/properties/{propertiesId}/ideaStates/{ideaStatesId}", + "httpMethod": "PATCH", + "id": "ideahub.platforms.properties.ideaStates.patch", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Unique identifier for the idea state. Format: platforms/{platform}/properties/{property}/ideaStates/{idea_state}", + "location": "path", + "pattern": "^platforms/[^/]+/properties/[^/]+/ideaStates/[^/]+$", + "required": true, + "type": "string" + }, + "updateMask": { + "description": "The list of fields to be updated.", + "format": "google-fieldmask", + "location": "query", + "type": "string" + } + }, + "path": "v1alpha/{+name}", + "request": { + "$ref": "GoogleSearchIdeahubV1alphaIdeaState" + }, + "response": { + "$ref": "GoogleSearchIdeahubV1alphaIdeaState" + } + } + } + }, + "ideas": { + "methods": { + "list": { + "description": "List ideas for a given Creator and filter and sort options.", + "flatPath": "v1alpha/platforms/{platformsId}/properties/{propertiesId}/ideas", + "httpMethod": "GET", + "id": "ideahub.platforms.properties.ideas.list", + "parameterOrder": [ + "parent" + ], + "parameters": { + "filter": { + "description": "Allows filtering. Supported syntax: * Filter expressions are made up of one or more restrictions. * Restrictions are implicitly combined, as if the `AND` operator was always used. The `OR` operator is currently unsupported. * Supported functions: - `saved(bool)`: If set to true, fetches only saved ideas. If set to false, fetches all except saved ideas. Can't be simultaneously used with `dismissed(bool)`. - `dismissed(bool)`: If set to true, fetches only dismissed ideas. Can't be simultaneously used with `saved(bool)`. The `false` value is currently unsupported. Examples: * `saved(true)` * `saved(false)` * `dismissed(true)` The length of this field should be no more than 500 characters.", + "location": "query", + "type": "string" + }, + "orderBy": { + "description": "Order semantics described below.", + "location": "query", + "type": "string" + }, + "pageSize": { + "description": "The maximum number of ideas per page. If unspecified, at most 10 ideas will be returned. The maximum value is 2000; values above 2000 will be coerced to 2000.", + "format": "int32", + "location": "query", + "type": "integer" + }, + "pageToken": { + "description": "Used to fetch next page.", + "location": "query", + "type": "string" + }, + "parent": { + "description": "If defined, specifies the creator for which to filter by. Format: publishers/{publisher}/properties/{property}", + "location": "path", + "pattern": "^platforms/[^/]+/properties/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1alpha/{+parent}/ideas", + "response": { + "$ref": "GoogleSearchIdeahubV1alphaListIdeasResponse" + } + } + } + }, + "locales": { + "methods": { + "list": { + "description": "Returns which locales ideas are available in for a given Creator.", + "flatPath": "v1alpha/platforms/{platformsId}/properties/{propertiesId}/locales", + "httpMethod": "GET", + "id": "ideahub.platforms.properties.locales.list", + "parameterOrder": [ + "parent" + ], + "parameters": { + "pageSize": { + "description": "The maximum number of locales to return. The service may return fewer than this value. If unspecified, at most 100 locales will be returned. The maximum value is 100; values above 100 will be coerced to 100.", + "format": "int32", + "location": "query", + "type": "integer" + }, + "pageToken": { + "description": "A page token, received from a previous `ListAvailableLocales` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListAvailableLocales` must match the call that provided the page token.", + "location": "query", + "type": "string" + }, + "parent": { + "description": "Required. The web property to check idea availability for Format: platforms/{platform}/property/{property}", + "location": "path", + "pattern": "^platforms/[^/]+/properties/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1alpha/{+parent}/locales", + "response": { + "$ref": "GoogleSearchIdeahubV1alphaListAvailableLocalesResponse" + } + } + } + }, + "topicStates": { + "methods": { + "patch": { + "description": "Update a topic state resource.", + "flatPath": "v1alpha/platforms/{platformsId}/properties/{propertiesId}/topicStates/{topicStatesId}", + "httpMethod": "PATCH", + "id": "ideahub.platforms.properties.topicStates.patch", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Unique identifier for the topic state. Format: platforms/{platform}/properties/{property}/topicStates/{topic_state}", + "location": "path", + "pattern": "^platforms/[^/]+/properties/[^/]+/topicStates/[^/]+$", + "required": true, + "type": "string" + }, + "updateMask": { + "description": "The list of fields to be updated.", + "format": "google-fieldmask", + "location": "query", + "type": "string" + } + }, + "path": "v1alpha/{+name}", + "request": { + "$ref": "GoogleSearchIdeahubV1alphaTopicState" + }, + "response": { + "$ref": "GoogleSearchIdeahubV1alphaTopicState" + } + } + } + } + } + } + } + } + }, + "revision": "20221203", + "rootUrl": "https://ideahub.googleapis.com/", + "schemas": { + "GoogleSearchIdeahubV1alphaAvailableLocale": { + "description": "Represents locales that are available for a web property.", + "id": "GoogleSearchIdeahubV1alphaAvailableLocale", + "properties": { + "locale": { + "description": "A string in BCP 47 format, without a resource prefix.", + "type": "string" + }, + "name": { + "description": "A string in BCP 47 format, prefixed with the platform and property name, and \"locales/\". Format: platforms/{platform}/properties/{property}/locales/{locale}", + "type": "string" + } + }, + "type": "object" + }, + "GoogleSearchIdeahubV1alphaIdea": { + "description": "A single Idea that we want to show the end user.", + "id": "GoogleSearchIdeahubV1alphaIdea", + "properties": { + "name": { + "description": "Unique identifier for the idea. Format: ideas/{ideaId}", + "type": "string" + }, + "text": { + "description": "The idea\u2019s text.", + "type": "string" + }, + "topics": { + "description": "The Topics that match the idea.", + "items": { + "$ref": "GoogleSearchIdeahubV1alphaTopic" + }, + "type": "array" + } + }, + "type": "object" + }, + "GoogleSearchIdeahubV1alphaIdeaActivity": { + "description": "An idea activity entry.", + "id": "GoogleSearchIdeahubV1alphaIdeaActivity", + "properties": { + "ideas": { + "description": "The Idea IDs for this entry. If empty, topics should be set.", + "items": { + "type": "string" + }, + "type": "array" + }, + "name": { + "description": "Unique identifier for the idea activity. The name is ignored when creating an idea activity. Format: platforms/{platform}/properties/{property}/ideaActivities/{idea_activity}", + "type": "string" + }, + "topics": { + "description": "The Topic IDs for this entry. If empty, ideas should be set.", + "items": { + "type": "string" + }, + "type": "array" + }, + "type": { + "description": "The type of activity performed.", + "enum": [ + "TYPE_UNSPECIFIED", + "POST_DRAFTED", + "POST_PUBLISHED", + "POST_DELETED", + "POST_UNPUBLISHED" + ], + "enumDescriptions": [ + "An unspecified, unknown type of idea activity.", + "An idea activity type indicating a post has been drafted.", + "An idea activity type indicating a post has been published.", + "An idea activity type indicating a post has been deleted.", + "An idea activity type indicating a post has been unpublished." + ], + "type": "string" + }, + "uri": { + "description": "The uri the activity relates to.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleSearchIdeahubV1alphaIdeaState": { + "description": "Represents idea state specific to a web property.", + "id": "GoogleSearchIdeahubV1alphaIdeaState", + "properties": { + "dismissed": { + "description": "Whether the idea is dismissed.", + "type": "boolean" + }, + "name": { + "description": "Unique identifier for the idea state. Format: platforms/{platform}/properties/{property}/ideaStates/{idea_state}", + "type": "string" + }, + "saved": { + "description": "Whether the idea is saved.", + "type": "boolean" + } + }, + "type": "object" + }, + "GoogleSearchIdeahubV1alphaListAvailableLocalesResponse": { + "description": "Response for whether ideas are available for a given web property on a platform, for the currently logged-in user.", + "id": "GoogleSearchIdeahubV1alphaListAvailableLocalesResponse", + "properties": { + "availableLocales": { + "description": "Locales for which ideas are available for the given Creator.", + "items": { + "$ref": "GoogleSearchIdeahubV1alphaAvailableLocale" + }, + "type": "array" + }, + "nextPageToken": { + "description": "A token that can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleSearchIdeahubV1alphaListIdeasResponse": { + "id": "GoogleSearchIdeahubV1alphaListIdeasResponse", + "properties": { + "ideas": { + "description": "Results for the ListIdeasRequest.", + "items": { + "$ref": "GoogleSearchIdeahubV1alphaIdea" + }, + "type": "array" + }, + "nextPageToken": { + "description": "Used to fetch the next page in a subsequent request.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleSearchIdeahubV1alphaTopic": { + "description": "Represents a Topic umbrella for a list of questions that a Creator may want to respond to.", + "id": "GoogleSearchIdeahubV1alphaTopic", + "properties": { + "displayName": { + "description": "String displayed to the creator indicating the name of the Topic.", + "type": "string" + }, + "mid": { + "description": "The mID of the topic.", + "type": "string" + }, + "name": { + "description": "Unique identifier for the topic. Format: topics/{topic}", + "type": "string" + } + }, + "type": "object" + }, + "GoogleSearchIdeahubV1alphaTopicState": { + "description": "Represents topic state specific to a web property.", + "id": "GoogleSearchIdeahubV1alphaTopicState", + "properties": { + "dismissed": { + "description": "Whether the topic is dismissed.", + "type": "boolean" + }, + "name": { + "description": "Unique identifier for the topic state. Format: platforms/{platform}/properties/{property}/topicStates/{topic_state}", + "type": "string" + }, + "saved": { + "description": "Whether the topic is saved.", + "type": "boolean" + } + }, + "type": "object" + } + }, + "servicePath": "", + "title": "Idea Hub API", + "version": "v1alpha", + "version_module": true +} \ No newline at end of file diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/index.json b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/index.json new file mode 100644 index 0000000000000000000000000000000000000000..12c5bff7756cce8c6cba182a3f30b1742a03192b --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/index.json @@ -0,0 +1,4574 @@ +{ + "kind": "discovery#directoryList", + "discoveryVersion": "v1", + "items": [ + { + "kind": "discovery#directoryItem", + "id": "abusiveexperiencereport:v1", + "name": "abusiveexperiencereport", + "version": "v1", + "title": "Abusive Experience Report API", + "description": "Views Abusive Experience Report data, and gets a list of sites that have a significant number of abusive experiences.", + "discoveryRestUrl": "https://abusiveexperiencereport.googleapis.com/$discovery/rest?version=v1", + "icons": { + "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", + "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" + }, + "documentationLink": "https://developers.google.com/abusive-experience-report/", + "preferred": true + }, + { + "kind": "discovery#directoryItem", + "id": "acceleratedmobilepageurl:v1", + "name": "acceleratedmobilepageurl", + "version": "v1", + "title": "Accelerated Mobile Pages (AMP) URL API", + "description": "Retrieves the list of AMP URLs (and equivalent AMP Cache URLs) for a given list of public URL(s).", + "discoveryRestUrl": "https://acceleratedmobilepageurl.googleapis.com/$discovery/rest?version=v1", + "icons": { + "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", + "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" + }, + "documentationLink": "https://developers.google.com/amp/cache/", + "preferred": true + }, + { + "kind": "discovery#directoryItem", + "id": "accessapproval:v1", + "name": "accessapproval", + "version": "v1", + "title": "Access Approval API", + "description": "An API for controlling access to data by Google personnel.", + "discoveryRestUrl": "https://accessapproval.googleapis.com/$discovery/rest?version=v1", + "icons": { + "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", + "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" + }, + "documentationLink": "https://cloud.google.com/access-approval/docs", + "preferred": true + }, + { + "kind": "discovery#directoryItem", + "id": "accesscontextmanager:v1beta", + "name": "accesscontextmanager", + "version": "v1beta", + "title": "Access Context Manager API", + "description": "An API for setting attribute based access control to requests to GCP services.", + "discoveryRestUrl": "https://accesscontextmanager.googleapis.com/$discovery/rest?version=v1beta", + "icons": { + "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", + "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" + }, + "documentationLink": "https://cloud.google.com/access-context-manager/docs/reference/rest/", + "preferred": false + }, + { + "kind": "discovery#directoryItem", + "id": "accesscontextmanager:v1", + "name": "accesscontextmanager", + "version": "v1", + "title": "Access Context Manager API", + "description": "An API for setting attribute based access control to requests to GCP services.", + "discoveryRestUrl": "https://accesscontextmanager.googleapis.com/$discovery/rest?version=v1", + "icons": { + "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", + "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" + }, + "documentationLink": "https://cloud.google.com/access-context-manager/docs/reference/rest/", + "preferred": true + }, + { + "kind": "discovery#directoryItem", + "id": "adexchangebuyer:v1.2", + "name": "adexchangebuyer", + "version": "v1.2", + "title": "Ad Exchange Buyer API", + "description": "Accesses your bidding-account information, submits creatives for validation, finds available direct deals, and retrieves performance reports.", + "discoveryRestUrl": "https://www.googleapis.com/discovery/v1/apis/adexchangebuyer/v1.2/rest", + "discoveryLink": "./apis/adexchangebuyer/v1.2/rest", + "icons": { + "x16": "https://www.google.com/images/icons/product/doubleclick-16.gif", + "x32": "https://www.google.com/images/icons/product/doubleclick-32.gif" + }, + "documentationLink": "https://developers.google.com/ad-exchange/buyer-rest", + "preferred": false + }, + { + "kind": "discovery#directoryItem", + "id": "adexchangebuyer:v1.3", + "name": "adexchangebuyer", + "version": "v1.3", + "title": "Ad Exchange Buyer API", + "description": "Accesses your bidding-account information, submits creatives for validation, finds available direct deals, and retrieves performance reports.", + "discoveryRestUrl": "https://www.googleapis.com/discovery/v1/apis/adexchangebuyer/v1.3/rest", + "discoveryLink": "./apis/adexchangebuyer/v1.3/rest", + "icons": { + "x16": "https://www.google.com/images/icons/product/doubleclick-16.gif", + "x32": "https://www.google.com/images/icons/product/doubleclick-32.gif" + }, + "documentationLink": "https://developers.google.com/ad-exchange/buyer-rest", + "preferred": false + }, + { + "kind": "discovery#directoryItem", + "id": "adexchangebuyer:v1.4", + "name": "adexchangebuyer", + "version": "v1.4", + "title": "Ad Exchange Buyer API", + "description": "Accesses your bidding-account information, submits creatives for validation, finds available direct deals, and retrieves performance reports.", + "discoveryRestUrl": "https://www.googleapis.com/discovery/v1/apis/adexchangebuyer/v1.4/rest", + "discoveryLink": "./apis/adexchangebuyer/v1.4/rest", + "icons": { + "x16": "https://www.google.com/images/icons/product/doubleclick-16.gif", + "x32": "https://www.google.com/images/icons/product/doubleclick-32.gif" + }, + "documentationLink": "https://developers.google.com/ad-exchange/buyer-rest", + "preferred": true + }, + { + "kind": "discovery#directoryItem", + "id": "adexchangebuyer2:v2beta1", + "name": "adexchangebuyer2", + "version": "v2beta1", + "title": "Ad Exchange Buyer API II", + "description": "Accesses the latest features for managing Authorized Buyers accounts, Real-Time Bidding configurations and auction metrics, and Marketplace programmatic deals.", + "discoveryRestUrl": "https://adexchangebuyer.googleapis.com/$discovery/rest?version=v2beta1", + "icons": { + "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", + "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" + }, + "documentationLink": "https://developers.google.com/authorized-buyers/apis/reference/rest/", + "preferred": true + }, + { + "kind": "discovery#directoryItem", + "id": "adexperiencereport:v1", + "name": "adexperiencereport", + "version": "v1", + "title": "Ad Experience Report API", + "description": "Views Ad Experience Report data, and gets a list of sites that have a significant number of annoying ads.", + "discoveryRestUrl": "https://adexperiencereport.googleapis.com/$discovery/rest?version=v1", + "icons": { + "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", + "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" + }, + "documentationLink": "https://developers.google.com/ad-experience-report/", + "preferred": true + }, + { + "kind": "discovery#directoryItem", + "id": "admin:datatransfer_v1", + "name": "admin", + "version": "datatransfer_v1", + "title": "Admin SDK API", + "description": "Admin SDK lets administrators of enterprise domains to view and manage resources like user, groups etc. It also provides audit and usage reports of domain.", + "discoveryRestUrl": "https://admin.googleapis.com/$discovery/rest?version=datatransfer_v1", + "icons": { + "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", + "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" + }, + "documentationLink": "http://developers.google.com/admin-sdk/", + "preferred": false + }, + { + "kind": "discovery#directoryItem", + "id": "admin:directory_v1", + "name": "admin", + "version": "directory_v1", + "title": "Admin SDK API", + "description": "Admin SDK lets administrators of enterprise domains to view and manage resources like user, groups etc. It also provides audit and usage reports of domain.", + "discoveryRestUrl": "https://admin.googleapis.com/$discovery/rest?version=directory_v1", + "icons": { + "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", + "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" + }, + "documentationLink": "http://developers.google.com/admin-sdk/", + "preferred": false + }, + { + "kind": "discovery#directoryItem", + "id": "admin:reports_v1", + "name": "admin", + "version": "reports_v1", + "title": "Admin SDK API", + "description": "Admin SDK lets administrators of enterprise domains to view and manage resources like user, groups etc. It also provides audit and usage reports of domain.", + "discoveryRestUrl": "https://admin.googleapis.com/$discovery/rest?version=reports_v1", + "icons": { + "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", + "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" + }, + "documentationLink": "http://developers.google.com/admin-sdk/", + "preferred": true + }, + { + "kind": "discovery#directoryItem", + "id": "admob:v1beta", + "name": "admob", + "version": "v1beta", + "title": "AdMob API", + "description": "The AdMob API allows publishers to programmatically get information about their AdMob account.", + "discoveryRestUrl": "https://admob.googleapis.com/$discovery/rest?version=v1beta", + "icons": { + "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", + "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" + }, + "documentationLink": "https://developers.google.com/admob/api/", + "preferred": false + }, + { + "kind": "discovery#directoryItem", + "id": "admob:v1", + "name": "admob", + "version": "v1", + "title": "AdMob API", + "description": "The AdMob API allows publishers to programmatically get information about their AdMob account.", + "discoveryRestUrl": "https://admob.googleapis.com/$discovery/rest?version=v1", + "icons": { + "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", + "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" + }, + "documentationLink": "https://developers.google.com/admob/api/", + "preferred": true + }, + { + "kind": "discovery#directoryItem", + "id": "adsense:v1.4", + "name": "adsense", + "version": "v1.4", + "title": "AdSense Management API", + "description": "The AdSense Management API allows publishers to access their inventory and run earnings and performance reports.", + "discoveryRestUrl": "https://adsense.googleapis.com/$discovery/rest?version=v1.4", + "icons": { + "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", + "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" + }, + "documentationLink": "http://code.google.com/apis/adsense/management/", + "preferred": true + }, + { + "kind": "discovery#directoryItem", + "id": "adsensehost:v4.1", + "name": "adsensehost", + "version": "v4.1", + "title": "AdSense Host API", + "description": "The AdSense Host API gives AdSense Hosts access to report generation, ad code generation, and publisher management capabilities.", + "discoveryRestUrl": "https://adsensehost.googleapis.com/$discovery/rest?version=v4.1", + "icons": { + "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", + "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" + }, + "documentationLink": "https://developers.google.com/adsense/host/index", + "preferred": true + }, + { + "kind": "discovery#directoryItem", + "id": "alertcenter:v1beta1", + "name": "alertcenter", + "version": "v1beta1", + "title": "G Suite Alert Center API", + "description": "Manages alerts on issues affecting your domain.", + "discoveryRestUrl": "https://alertcenter.googleapis.com/$discovery/rest?version=v1beta1", + "icons": { + "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", + "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" + }, + "documentationLink": "https://developers.google.com/admin-sdk/alertcenter/", + "preferred": true + }, + { + "kind": "discovery#directoryItem", + "id": "analytics:v3", + "name": "analytics", + "version": "v3", + "title": "Google Analytics API", + "description": "The Analytics API provides access to Analytics configuration and report data.", + "discoveryRestUrl": "https://analytics.googleapis.com/$discovery/rest?version=v3", + "icons": { + "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", + "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" + }, + "documentationLink": "http://code.google.com/apis/analytics/docs/mgmt/home.html", + "preferred": true + }, + { + "kind": "discovery#directoryItem", + "id": "analyticsadmin:v1alpha", + "name": "analyticsadmin", + "version": "v1alpha", + "title": "Google Analytics Admin API", + "description": "", + "discoveryRestUrl": "https://analyticsadmin.googleapis.com/$discovery/rest?version=v1alpha", + "icons": { + "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", + "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" + }, + "documentationLink": "http://code.google.com/apis/analytics/docs/mgmt/home.html", + "preferred": true + }, + { + "kind": "discovery#directoryItem", + "id": "analyticsdata:v1alpha", + "name": "analyticsdata", + "version": "v1alpha", + "title": "Google Analytics Data API", + "description": "Accesses report data in Google Analytics.", + "discoveryRestUrl": "https://analyticsdata.googleapis.com/$discovery/rest?version=v1alpha", + "icons": { + "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", + "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" + }, + "documentationLink": "https://developers.google.com/analytics/trusted-testing/analytics-data/", + "preferred": true + }, + { + "kind": "discovery#directoryItem", + "id": "analyticsreporting:v4", + "name": "analyticsreporting", + "version": "v4", + "title": "Analytics Reporting API", + "description": "Accesses Analytics report data.", + "discoveryRestUrl": "https://analyticsreporting.googleapis.com/$discovery/rest?version=v4", + "icons": { + "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", + "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" + }, + "documentationLink": "https://developers.google.com/analytics/devguides/reporting/core/v4/", + "preferred": true + }, + { + "kind": "discovery#directoryItem", + "id": "androiddeviceprovisioning:v1", + "name": "androiddeviceprovisioning", + "version": "v1", + "title": "Android Device Provisioning Partner API", + "description": "Automates Android zero-touch enrollment for device resellers, customers, and EMMs.", + "discoveryRestUrl": "https://androiddeviceprovisioning.googleapis.com/$discovery/rest?version=v1", + "icons": { + "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", + "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" + }, + "documentationLink": "https://developers.google.com/zero-touch/", + "preferred": true + }, + { + "kind": "discovery#directoryItem", + "id": "androidenterprise:v1", + "name": "androidenterprise", + "version": "v1", + "title": "Google Play EMM API", + "description": "Manages the deployment of apps to Android Enterprise devices.", + "discoveryRestUrl": "https://androidenterprise.googleapis.com/$discovery/rest?version=v1", + "icons": { + "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", + "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" + }, + "preferred": true + }, + { + "kind": "discovery#directoryItem", + "id": "androidmanagement:v1", + "name": "androidmanagement", + "version": "v1", + "title": "Android Management API", + "description": "The Android Management API provides remote enterprise management of Android devices and apps.", + "discoveryRestUrl": "https://androidmanagement.googleapis.com/$discovery/rest?version=v1", + "icons": { + "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", + "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" + }, + "documentationLink": "https://developers.google.com/android/management", + "preferred": true + }, + { + "kind": "discovery#directoryItem", + "id": "androidpublisher:v3", + "name": "androidpublisher", + "version": "v3", + "title": "Google Play Android Developer API", + "description": "Lets Android application developers access their Google Play accounts.", + "discoveryRestUrl": "https://androidpublisher.googleapis.com/$discovery/rest?version=v3", + "icons": { + "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", + "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" + }, + "documentationLink": "https://developers.google.com/android-publisher", + "preferred": true + }, + { + "kind": "discovery#directoryItem", + "id": "apigateway:v1beta", + "name": "apigateway", + "version": "v1beta", + "title": "API Gateway API", + "description": "", + "discoveryRestUrl": "https://apigateway.googleapis.com/$discovery/rest?version=v1beta", + "icons": { + "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", + "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" + }, + "documentationLink": " https://cloud.google.com/api-gateway/docs", + "preferred": true + }, + { + "kind": "discovery#directoryItem", + "id": "apigee:v1", + "name": "apigee", + "version": "v1", + "title": "Apigee API", + "description": "Use the Apigee API to programmatically develop and manage APIs with a set of RESTful operations. Develop and secure API proxies, deploy and undeploy API proxy revisions, monitor APIs, configure environments, manage users, and more. Get started using the APIs \u003chttps://cloud.google.com/apigee/docs/api-platform/get-started/api-get-started\u003e. *Note:* This product is available as a free trial for a time period of 60 days.", + "discoveryRestUrl": "https://apigee.googleapis.com/$discovery/rest?version=v1", + "icons": { + "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", + "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" + }, + "documentationLink": "https://cloud.google.com/apigee-api-management/", + "preferred": true + }, + { + "kind": "discovery#directoryItem", + "id": "appengine:v1alpha", + "name": "appengine", + "version": "v1alpha", + "title": "App Engine Admin API", + "description": "Provisions and manages developers' App Engine applications.", + "discoveryRestUrl": "https://appengine.googleapis.com/$discovery/rest?version=v1alpha", + "icons": { + "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", + "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" + }, + "documentationLink": "https://cloud.google.com/appengine/docs/admin-api/", + "preferred": false + }, + { + "kind": "discovery#directoryItem", + "id": "appengine:v1beta", + "name": "appengine", + "version": "v1beta", + "title": "App Engine Admin API", + "description": "Provisions and manages developers' App Engine applications.", + "discoveryRestUrl": "https://appengine.googleapis.com/$discovery/rest?version=v1beta", + "icons": { + "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", + "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" + }, + "documentationLink": "https://cloud.google.com/appengine/docs/admin-api/", + "preferred": false + }, + { + "kind": "discovery#directoryItem", + "id": "appengine:v1beta4", + "name": "appengine", + "version": "v1beta4", + "title": "App Engine Admin API", + "description": "Provisions and manages developers' App Engine applications.", + "discoveryRestUrl": "https://appengine.googleapis.com/$discovery/rest?version=v1beta4", + "icons": { + "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", + "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" + }, + "documentationLink": "https://cloud.google.com/appengine/docs/admin-api/", + "preferred": false + }, + { + "kind": "discovery#directoryItem", + "id": "appengine:v1beta5", + "name": "appengine", + "version": "v1beta5", + "title": "App Engine Admin API", + "description": "Provisions and manages developers' App Engine applications.", + "discoveryRestUrl": "https://appengine.googleapis.com/$discovery/rest?version=v1beta5", + "icons": { + "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", + "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" + }, + "documentationLink": "https://cloud.google.com/appengine/docs/admin-api/", + "preferred": false + }, + { + "kind": "discovery#directoryItem", + "id": "appengine:v1", + "name": "appengine", + "version": "v1", + "title": "App Engine Admin API", + "description": "Provisions and manages developers' App Engine applications.", + "discoveryRestUrl": "https://appengine.googleapis.com/$discovery/rest?version=v1", + "icons": { + "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", + "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" + }, + "documentationLink": "https://cloud.google.com/appengine/docs/admin-api/", + "preferred": true + }, + { + "kind": "discovery#directoryItem", + "id": "area120tables:v1alpha1", + "name": "area120tables", + "version": "v1alpha1", + "title": "Area120 Tables API", + "description": "", + "discoveryRestUrl": "https://area120tables.googleapis.com/$discovery/rest?version=v1alpha1", + "icons": { + "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", + "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" + }, + "documentationLink": "https://tables.area120.google.com", + "preferred": true + }, + { + "kind": "discovery#directoryItem", + "id": "artifactregistry:v1beta1", + "name": "artifactregistry", + "version": "v1beta1", + "title": "Artifact Registry API", + "description": "Store and manage build artifacts in a scalable and integrated service built on Google infrastructure.", + "discoveryRestUrl": "https://artifactregistry.googleapis.com/$discovery/rest?version=v1beta1", + "icons": { + "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", + "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" + }, + "documentationLink": "https://cloud.google.com/artifacts/docs/", + "preferred": false + }, + { + "kind": "discovery#directoryItem", + "id": "artifactregistry:v1beta2", + "name": "artifactregistry", + "version": "v1beta2", + "title": "Artifact Registry API", + "description": "Store and manage build artifacts in a scalable and integrated service built on Google infrastructure.", + "discoveryRestUrl": "https://artifactregistry.googleapis.com/$discovery/rest?version=v1beta2", + "icons": { + "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", + "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" + }, + "documentationLink": "https://cloud.google.com/artifacts/docs/", + "preferred": true + }, + { + "kind": "discovery#directoryItem", + "id": "assuredworkloads:v1", + "name": "assuredworkloads", + "version": "v1", + "title": "Assured Workloads API", + "description": "", + "discoveryRestUrl": "https://assuredworkloads.googleapis.com/$discovery/rest?version=v1", + "icons": { + "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", + "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" + }, + "documentationLink": "https://cloud.google.com", + "preferred": true + }, + { + "kind": "discovery#directoryItem", + "id": "bigquery:v2", + "name": "bigquery", + "version": "v2", + "title": "BigQuery API", + "description": "A data platform for customers to create, manage, share and query data.", + "discoveryRestUrl": "https://bigquery.googleapis.com/$discovery/rest?version=v2", + "icons": { + "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", + "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" + }, + "documentationLink": "https://developers.google.com/bigquery/", + "preferred": true + }, + { + "kind": "discovery#directoryItem", + "id": "bigqueryconnection:v1beta1", + "name": "bigqueryconnection", + "version": "v1beta1", + "title": "BigQuery Connection API", + "description": "Allows users to manage BigQuery connections to external data sources.", + "discoveryRestUrl": "https://bigqueryconnection.googleapis.com/$discovery/rest?version=v1beta1", + "icons": { + "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", + "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" + }, + "documentationLink": "https://cloud.google.com/bigquery/", + "preferred": true + }, + { + "kind": "discovery#directoryItem", + "id": "bigquerydatatransfer:v1", + "name": "bigquerydatatransfer", + "version": "v1", + "title": "BigQuery Data Transfer API", + "description": "Schedule queries or transfer external data from SaaS applications to Google BigQuery on a regular basis.", + "discoveryRestUrl": "https://bigquerydatatransfer.googleapis.com/$discovery/rest?version=v1", + "icons": { + "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", + "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" + }, + "documentationLink": "https://cloud.google.com/bigquery/", + "preferred": true + }, + { + "kind": "discovery#directoryItem", + "id": "bigqueryreservation:v1alpha2", + "name": "bigqueryreservation", + "version": "v1alpha2", + "title": "BigQuery Reservation API", + "description": "A service to modify your BigQuery flat-rate reservations.", + "discoveryRestUrl": "https://bigqueryreservation.googleapis.com/$discovery/rest?version=v1alpha2", + "icons": { + "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", + "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" + }, + "documentationLink": "https://cloud.google.com/bigquery/", + "preferred": false + }, + { + "kind": "discovery#directoryItem", + "id": "bigqueryreservation:v1beta1", + "name": "bigqueryreservation", + "version": "v1beta1", + "title": "BigQuery Reservation API", + "description": "A service to modify your BigQuery flat-rate reservations.", + "discoveryRestUrl": "https://bigqueryreservation.googleapis.com/$discovery/rest?version=v1beta1", + "icons": { + "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", + "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" + }, + "documentationLink": "https://cloud.google.com/bigquery/", + "preferred": false + }, + { + "kind": "discovery#directoryItem", + "id": "bigqueryreservation:v1", + "name": "bigqueryreservation", + "version": "v1", + "title": "BigQuery Reservation API", + "description": "A service to modify your BigQuery flat-rate reservations.", + "discoveryRestUrl": "https://bigqueryreservation.googleapis.com/$discovery/rest?version=v1", + "icons": { + "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", + "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" + }, + "documentationLink": "https://cloud.google.com/bigquery/", + "preferred": true + }, + { + "kind": "discovery#directoryItem", + "id": "bigtableadmin:v1", + "name": "bigtableadmin", + "version": "v1", + "title": "Cloud Bigtable Admin API", + "description": "Administer your Cloud Bigtable tables and instances.", + "discoveryRestUrl": "https://bigtableadmin.googleapis.com/$discovery/rest?version=v1", + "icons": { + "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", + "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" + }, + "documentationLink": "https://cloud.google.com/bigtable/", + "preferred": false + }, + { + "kind": "discovery#directoryItem", + "id": "bigtableadmin:v2", + "name": "bigtableadmin", + "version": "v2", + "title": "Cloud Bigtable Admin API", + "description": "Administer your Cloud Bigtable tables and instances.", + "discoveryRestUrl": "https://bigtableadmin.googleapis.com/$discovery/rest?version=v2", + "icons": { + "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", + "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" + }, + "documentationLink": "https://cloud.google.com/bigtable/", + "preferred": true + }, + { + "kind": "discovery#directoryItem", + "id": "billingbudgets:v1beta1", + "name": "billingbudgets", + "version": "v1beta1", + "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.", + "discoveryRestUrl": "https://billingbudgets.googleapis.com/$discovery/rest?version=v1beta1", + "icons": { + "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", + "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" + }, + "documentationLink": "https://cloud.google.com/billing/docs/how-to/budget-api-overview", + "preferred": false + }, + { + "kind": "discovery#directoryItem", + "id": "billingbudgets:v1", + "name": "billingbudgets", + "version": "v1", + "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.", + "discoveryRestUrl": "https://billingbudgets.googleapis.com/$discovery/rest?version=v1", + "icons": { + "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", + "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" + }, + "documentationLink": "https://cloud.google.com/billing/docs/how-to/budget-api-overview", + "preferred": true + }, + { + "kind": "discovery#directoryItem", + "id": "binaryauthorization:v1beta1", + "name": "binaryauthorization", + "version": "v1beta1", + "title": "Binary Authorization API", + "description": "The management interface for Binary Authorization, a system providing policy control for images deployed to Kubernetes Engine clusters.", + "discoveryRestUrl": "https://binaryauthorization.googleapis.com/$discovery/rest?version=v1beta1", + "icons": { + "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", + "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" + }, + "documentationLink": "https://cloud.google.com/binary-authorization/", + "preferred": false + }, + { + "kind": "discovery#directoryItem", + "id": "binaryauthorization:v1", + "name": "binaryauthorization", + "version": "v1", + "title": "Binary Authorization API", + "description": "The management interface for Binary Authorization, a system providing policy control for images deployed to Kubernetes Engine clusters.", + "discoveryRestUrl": "https://binaryauthorization.googleapis.com/$discovery/rest?version=v1", + "icons": { + "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", + "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" + }, + "documentationLink": "https://cloud.google.com/binary-authorization/", + "preferred": true + }, + { + "kind": "discovery#directoryItem", + "id": "blogger:v2", + "name": "blogger", + "version": "v2", + "title": "Blogger API v3", + "description": "The Blogger API provides access to posts, comments and pages of a Blogger blog.", + "discoveryRestUrl": "https://blogger.googleapis.com/$discovery/rest?version=v2", + "icons": { + "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", + "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" + }, + "documentationLink": "https://developers.google.com/blogger/docs/3.0/getting_started", + "preferred": false + }, + { + "kind": "discovery#directoryItem", + "id": "blogger:v3", + "name": "blogger", + "version": "v3", + "title": "Blogger API v3", + "description": "The Blogger API provides access to posts, comments and pages of a Blogger blog.", + "discoveryRestUrl": "https://blogger.googleapis.com/$discovery/rest?version=v3", + "icons": { + "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", + "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" + }, + "documentationLink": "https://developers.google.com/blogger/docs/3.0/getting_started", + "preferred": true + }, + { + "kind": "discovery#directoryItem", + "id": "books:v1", + "name": "books", + "version": "v1", + "title": "Books API", + "description": "The Google Books API allows clients to access the Google Books repository.", + "discoveryRestUrl": "https://books.googleapis.com/$discovery/rest?version=v1", + "icons": { + "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", + "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" + }, + "documentationLink": "https://code.google.com/apis/books/docs/v1/getting_started.html", + "preferred": true + }, + { + "kind": "discovery#directoryItem", + "id": "calendar:v3", + "name": "calendar", + "version": "v3", + "title": "Google Calendar API", + "description": "The Google Calendar API lets you manage your calendars and events.", + "discoveryRestUrl": "https://calendar-json.googleapis.com/$discovery/rest?version=v3", + "icons": { + "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", + "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" + }, + "documentationLink": "http://code.google.com/apis/calendar/v3/", + "preferred": true + }, + { + "kind": "discovery#directoryItem", + "id": "chat:v1", + "name": "chat", + "version": "v1", + "title": "Hangouts Chat API", + "description": "Enables bots to fetch information and perform actions in Hangouts Chat.", + "discoveryRestUrl": "https://chat.googleapis.com/$discovery/rest?version=v1", + "icons": { + "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", + "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" + }, + "documentationLink": "https://developers.google.com/hangouts/chat", + "preferred": true + }, + { + "kind": "discovery#directoryItem", + "id": "chromeuxreport:v1", + "name": "chromeuxreport", + "version": "v1", + "title": "Chrome UX Report API", + "description": "The Chrome UX Report API lets you view real user experience data for millions of websites.", + "discoveryRestUrl": "https://chromeuxreport.googleapis.com/$discovery/rest?version=v1", + "icons": { + "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", + "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" + }, + "documentationLink": "https://developers.google.com/web/tools/chrome-user-experience-report/api/reference", + "preferred": true + }, + { + "kind": "discovery#directoryItem", + "id": "civicinfo:v2", + "name": "civicinfo", + "version": "v2", + "title": "Google Civic Information API", + "description": "Provides polling places, early vote locations, contest data, election officials, and government representatives for U.S. residential addresses.", + "discoveryRestUrl": "https://civicinfo.googleapis.com/$discovery/rest?version=v2", + "icons": { + "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", + "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" + }, + "documentationLink": "https://developers.google.com/civic-information/", + "preferred": true + }, + { + "kind": "discovery#directoryItem", + "id": "classroom:v1", + "name": "classroom", + "version": "v1", + "title": "Google Classroom API", + "description": "Manages classes, rosters, and invitations in Google Classroom.", + "discoveryRestUrl": "https://classroom.googleapis.com/$discovery/rest?version=v1", + "icons": { + "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", + "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" + }, + "documentationLink": "https://developers.google.com/classroom", + "preferred": true + }, + { + "kind": "discovery#directoryItem", + "id": "cloudasset:v1p1beta1", + "name": "cloudasset", + "version": "v1p1beta1", + "title": "Cloud Asset API", + "description": "The cloud asset API manages the history and inventory of cloud resources.", + "discoveryRestUrl": "https://cloudasset.googleapis.com/$discovery/rest?version=v1p1beta1", + "icons": { + "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", + "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" + }, + "documentationLink": "https://cloud.google.com/asset-inventory/docs/quickstart", + "preferred": false + }, + { + "kind": "discovery#directoryItem", + "id": "cloudasset:v1p4beta1", + "name": "cloudasset", + "version": "v1p4beta1", + "title": "Cloud Asset API", + "description": "The cloud asset API manages the history and inventory of cloud resources.", + "discoveryRestUrl": "https://cloudasset.googleapis.com/$discovery/rest?version=v1p4beta1", + "icons": { + "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", + "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" + }, + "documentationLink": "https://cloud.google.com/asset-inventory/docs/quickstart", + "preferred": false + }, + { + "kind": "discovery#directoryItem", + "id": "cloudasset:v1p5beta1", + "name": "cloudasset", + "version": "v1p5beta1", + "title": "Cloud Asset API", + "description": "The cloud asset API manages the history and inventory of cloud resources.", + "discoveryRestUrl": "https://cloudasset.googleapis.com/$discovery/rest?version=v1p5beta1", + "icons": { + "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", + "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" + }, + "documentationLink": "https://cloud.google.com/asset-inventory/docs/quickstart", + "preferred": false + }, + { + "kind": "discovery#directoryItem", + "id": "cloudasset:v1beta1", + "name": "cloudasset", + "version": "v1beta1", + "title": "Cloud Asset API", + "description": "The cloud asset API manages the history and inventory of cloud resources.", + "discoveryRestUrl": "https://cloudasset.googleapis.com/$discovery/rest?version=v1beta1", + "icons": { + "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", + "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" + }, + "documentationLink": "https://cloud.google.com/asset-inventory/docs/quickstart", + "preferred": false + }, + { + "kind": "discovery#directoryItem", + "id": "cloudasset:v1", + "name": "cloudasset", + "version": "v1", + "title": "Cloud Asset API", + "description": "The cloud asset API manages the history and inventory of cloud resources.", + "discoveryRestUrl": "https://cloudasset.googleapis.com/$discovery/rest?version=v1", + "icons": { + "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", + "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" + }, + "documentationLink": "https://cloud.google.com/asset-inventory/docs/quickstart", + "preferred": true + }, + { + "kind": "discovery#directoryItem", + "id": "cloudbilling:v1", + "name": "cloudbilling", + "version": "v1", + "title": "Cloud Billing API", + "description": "Allows developers to manage billing for their Google Cloud Platform projects programmatically.", + "discoveryRestUrl": "https://cloudbilling.googleapis.com/$discovery/rest?version=v1", + "icons": { + "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", + "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" + }, + "documentationLink": "https://cloud.google.com/billing/", + "preferred": true + }, + { + "kind": "discovery#directoryItem", + "id": "cloudbuild:v1alpha1", + "name": "cloudbuild", + "version": "v1alpha1", + "title": "Cloud Build API", + "description": "Creates and manages builds on Google Cloud Platform.", + "discoveryRestUrl": "https://cloudbuild.googleapis.com/$discovery/rest?version=v1alpha1", + "icons": { + "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", + "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" + }, + "documentationLink": "https://cloud.google.com/cloud-build/docs/", + "preferred": false + }, + { + "kind": "discovery#directoryItem", + "id": "cloudbuild:v1alpha2", + "name": "cloudbuild", + "version": "v1alpha2", + "title": "Cloud Build API", + "description": "Creates and manages builds on Google Cloud Platform.", + "discoveryRestUrl": "https://cloudbuild.googleapis.com/$discovery/rest?version=v1alpha2", + "icons": { + "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", + "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" + }, + "documentationLink": "https://cloud.google.com/cloud-build/docs/", + "preferred": false + }, + { + "kind": "discovery#directoryItem", + "id": "cloudbuild:v1", + "name": "cloudbuild", + "version": "v1", + "title": "Cloud Build API", + "description": "Creates and manages builds on Google Cloud Platform.", + "discoveryRestUrl": "https://cloudbuild.googleapis.com/$discovery/rest?version=v1", + "icons": { + "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", + "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" + }, + "documentationLink": "https://cloud.google.com/cloud-build/docs/", + "preferred": true + }, + { + "kind": "discovery#directoryItem", + "id": "clouddebugger:v2", + "name": "clouddebugger", + "version": "v2", + "title": "Cloud Debugger API", + "description": "Examines the call stack and variables of a running application without stopping or slowing it down.", + "discoveryRestUrl": "https://clouddebugger.googleapis.com/$discovery/rest?version=v2", + "icons": { + "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", + "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" + }, + "documentationLink": "https://cloud.google.com/debugger", + "preferred": true + }, + { + "kind": "discovery#directoryItem", + "id": "clouderrorreporting:v1beta1", + "name": "clouderrorreporting", + "version": "v1beta1", + "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.", + "discoveryRestUrl": "https://clouderrorreporting.googleapis.com/$discovery/rest?version=v1beta1", + "icons": { + "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", + "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" + }, + "documentationLink": "https://cloud.google.com/error-reporting/", + "preferred": true + }, + { + "kind": "discovery#directoryItem", + "id": "cloudfunctions:v1", + "name": "cloudfunctions", + "version": "v1", + "title": "Cloud Functions API", + "description": "Manages lightweight user-provided functions executed in response to events.", + "discoveryRestUrl": "https://cloudfunctions.googleapis.com/$discovery/rest?version=v1", + "icons": { + "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", + "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" + }, + "documentationLink": "https://cloud.google.com/functions", + "preferred": true + }, + { + "kind": "discovery#directoryItem", + "id": "cloudidentity:v1beta1", + "name": "cloudidentity", + "version": "v1beta1", + "title": "Cloud Identity API", + "description": "API for provisioning and managing identity resources.", + "discoveryRestUrl": "https://cloudidentity.googleapis.com/$discovery/rest?version=v1beta1", + "icons": { + "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", + "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" + }, + "documentationLink": "https://cloud.google.com/identity/", + "preferred": false + }, + { + "kind": "discovery#directoryItem", + "id": "cloudidentity:v1", + "name": "cloudidentity", + "version": "v1", + "title": "Cloud Identity API", + "description": "API for provisioning and managing identity resources.", + "discoveryRestUrl": "https://cloudidentity.googleapis.com/$discovery/rest?version=v1", + "icons": { + "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", + "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" + }, + "documentationLink": "https://cloud.google.com/identity/", + "preferred": true + }, + { + "kind": "discovery#directoryItem", + "id": "cloudiot:v1", + "name": "cloudiot", + "version": "v1", + "title": "Cloud IoT API", + "description": "Registers and manages IoT (Internet of Things) devices that connect to the Google Cloud Platform.", + "discoveryRestUrl": "https://cloudiot.googleapis.com/$discovery/rest?version=v1", + "icons": { + "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", + "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" + }, + "documentationLink": "https://cloud.google.com/iot", + "preferred": true + }, + { + "kind": "discovery#directoryItem", + "id": "cloudkms:v1", + "name": "cloudkms", + "version": "v1", + "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.", + "discoveryRestUrl": "https://cloudkms.googleapis.com/$discovery/rest?version=v1", + "icons": { + "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", + "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" + }, + "documentationLink": "https://cloud.google.com/kms/", + "preferred": true + }, + { + "kind": "discovery#directoryItem", + "id": "cloudprofiler:v2", + "name": "cloudprofiler", + "version": "v2", + "title": "Stackdriver Profiler API", + "description": "Manages continuous profiling information.", + "discoveryRestUrl": "https://cloudprofiler.googleapis.com/$discovery/rest?version=v2", + "icons": { + "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", + "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" + }, + "documentationLink": "https://cloud.google.com/profiler/", + "preferred": true + }, + { + "kind": "discovery#directoryItem", + "id": "cloudresourcemanager:v1beta1", + "name": "cloudresourcemanager", + "version": "v1beta1", + "title": "Cloud Resource Manager API", + "description": "Creates, reads, and updates metadata for Google Cloud Platform resource containers.", + "discoveryRestUrl": "https://cloudresourcemanager.googleapis.com/$discovery/rest?version=v1beta1", + "icons": { + "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", + "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" + }, + "documentationLink": "https://cloud.google.com/resource-manager", + "preferred": false + }, + { + "kind": "discovery#directoryItem", + "id": "cloudresourcemanager:v2beta1", + "name": "cloudresourcemanager", + "version": "v2beta1", + "title": "Cloud Resource Manager API", + "description": "Creates, reads, and updates metadata for Google Cloud Platform resource containers.", + "discoveryRestUrl": "https://cloudresourcemanager.googleapis.com/$discovery/rest?version=v2beta1", + "icons": { + "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", + "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" + }, + "documentationLink": "https://cloud.google.com/resource-manager", + "preferred": false + }, + { + "kind": "discovery#directoryItem", + "id": "cloudresourcemanager:v1", + "name": "cloudresourcemanager", + "version": "v1", + "title": "Cloud Resource Manager API", + "description": "Creates, reads, and updates metadata for Google Cloud Platform resource containers.", + "discoveryRestUrl": "https://cloudresourcemanager.googleapis.com/$discovery/rest?version=v1", + "icons": { + "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", + "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" + }, + "documentationLink": "https://cloud.google.com/resource-manager", + "preferred": false + }, + { + "kind": "discovery#directoryItem", + "id": "cloudresourcemanager:v2", + "name": "cloudresourcemanager", + "version": "v2", + "title": "Cloud Resource Manager API", + "description": "Creates, reads, and updates metadata for Google Cloud Platform resource containers.", + "discoveryRestUrl": "https://cloudresourcemanager.googleapis.com/$discovery/rest?version=v2", + "icons": { + "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", + "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" + }, + "documentationLink": "https://cloud.google.com/resource-manager", + "preferred": true + }, + { + "kind": "discovery#directoryItem", + "id": "cloudscheduler:v1beta1", + "name": "cloudscheduler", + "version": "v1beta1", + "title": "Cloud Scheduler API", + "description": "Creates and manages jobs run on a regular recurring schedule.", + "discoveryRestUrl": "https://cloudscheduler.googleapis.com/$discovery/rest?version=v1beta1", + "icons": { + "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", + "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" + }, + "documentationLink": "https://cloud.google.com/scheduler/", + "preferred": false + }, + { + "kind": "discovery#directoryItem", + "id": "cloudscheduler:v1", + "name": "cloudscheduler", + "version": "v1", + "title": "Cloud Scheduler API", + "description": "Creates and manages jobs run on a regular recurring schedule.", + "discoveryRestUrl": "https://cloudscheduler.googleapis.com/$discovery/rest?version=v1", + "icons": { + "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", + "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" + }, + "documentationLink": "https://cloud.google.com/scheduler/", + "preferred": true + }, + { + "kind": "discovery#directoryItem", + "id": "cloudsearch:v1", + "name": "cloudsearch", + "version": "v1", + "title": "Cloud Search API", + "description": "Cloud Search provides cloud-based search capabilities over G Suite data. The Cloud Search API allows indexing of non-G Suite data into Cloud Search.", + "discoveryRestUrl": "https://cloudsearch.googleapis.com/$discovery/rest?version=v1", + "icons": { + "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", + "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" + }, + "documentationLink": "https://developers.google.com/cloud-search/docs/guides/", + "preferred": true + }, + { + "kind": "discovery#directoryItem", + "id": "cloudshell:v1alpha1", + "name": "cloudshell", + "version": "v1alpha1", + "title": "Cloud Shell API", + "description": "Allows users to start, configure, and connect to interactive shell sessions running in the cloud.", + "discoveryRestUrl": "https://cloudshell.googleapis.com/$discovery/rest?version=v1alpha1", + "icons": { + "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", + "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" + }, + "documentationLink": "https://cloud.google.com/shell/docs/", + "preferred": false + }, + { + "kind": "discovery#directoryItem", + "id": "cloudshell:v1", + "name": "cloudshell", + "version": "v1", + "title": "Cloud Shell API", + "description": "Allows users to start, configure, and connect to interactive shell sessions running in the cloud.", + "discoveryRestUrl": "https://cloudshell.googleapis.com/$discovery/rest?version=v1", + "icons": { + "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", + "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" + }, + "documentationLink": "https://cloud.google.com/shell/docs/", + "preferred": true + }, + { + "kind": "discovery#directoryItem", + "id": "cloudtasks:v2beta2", + "name": "cloudtasks", + "version": "v2beta2", + "title": "Cloud Tasks API", + "description": "Manages the execution of large numbers of distributed requests.", + "discoveryRestUrl": "https://cloudtasks.googleapis.com/$discovery/rest?version=v2beta2", + "icons": { + "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", + "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" + }, + "documentationLink": "https://cloud.google.com/tasks/", + "preferred": false + }, + { + "kind": "discovery#directoryItem", + "id": "cloudtasks:v2beta3", + "name": "cloudtasks", + "version": "v2beta3", + "title": "Cloud Tasks API", + "description": "Manages the execution of large numbers of distributed requests.", + "discoveryRestUrl": "https://cloudtasks.googleapis.com/$discovery/rest?version=v2beta3", + "icons": { + "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", + "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" + }, + "documentationLink": "https://cloud.google.com/tasks/", + "preferred": false + }, + { + "kind": "discovery#directoryItem", + "id": "cloudtasks:v2", + "name": "cloudtasks", + "version": "v2", + "title": "Cloud Tasks API", + "description": "Manages the execution of large numbers of distributed requests.", + "discoveryRestUrl": "https://cloudtasks.googleapis.com/$discovery/rest?version=v2", + "icons": { + "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", + "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" + }, + "documentationLink": "https://cloud.google.com/tasks/", + "preferred": true + }, + { + "kind": "discovery#directoryItem", + "id": "cloudtrace:v2beta1", + "name": "cloudtrace", + "version": "v2beta1", + "title": "Cloud Trace API", + "description": "Sends application trace data to Cloud 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 Cloud Trace API directly. If you are looking to instrument your application for Cloud Trace, we recommend using OpenCensus.", + "discoveryRestUrl": "https://cloudtrace.googleapis.com/$discovery/rest?version=v2beta1", + "icons": { + "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", + "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" + }, + "documentationLink": "https://cloud.google.com/trace", + "preferred": false + }, + { + "kind": "discovery#directoryItem", + "id": "cloudtrace:v1", + "name": "cloudtrace", + "version": "v1", + "title": "Cloud Trace API", + "description": "Sends application trace data to Cloud 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 Cloud Trace API directly. If you are looking to instrument your application for Cloud Trace, we recommend using OpenCensus.", + "discoveryRestUrl": "https://cloudtrace.googleapis.com/$discovery/rest?version=v1", + "icons": { + "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", + "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" + }, + "documentationLink": "https://cloud.google.com/trace", + "preferred": false + }, + { + "kind": "discovery#directoryItem", + "id": "cloudtrace:v2", + "name": "cloudtrace", + "version": "v2", + "title": "Cloud Trace API", + "description": "Sends application trace data to Cloud 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 Cloud Trace API directly. If you are looking to instrument your application for Cloud Trace, we recommend using OpenCensus.", + "discoveryRestUrl": "https://cloudtrace.googleapis.com/$discovery/rest?version=v2", + "icons": { + "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", + "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" + }, + "documentationLink": "https://cloud.google.com/trace", + "preferred": true + }, + { + "kind": "discovery#directoryItem", + "id": "composer:v1beta1", + "name": "composer", + "version": "v1beta1", + "title": "Cloud Composer API", + "description": "Manages Apache Airflow environments on Google Cloud Platform.", + "discoveryRestUrl": "https://composer.googleapis.com/$discovery/rest?version=v1beta1", + "icons": { + "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", + "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" + }, + "documentationLink": "https://cloud.google.com/composer/", + "preferred": false + }, + { + "kind": "discovery#directoryItem", + "id": "composer:v1", + "name": "composer", + "version": "v1", + "title": "Cloud Composer API", + "description": "Manages Apache Airflow environments on Google Cloud Platform.", + "discoveryRestUrl": "https://composer.googleapis.com/$discovery/rest?version=v1", + "icons": { + "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", + "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" + }, + "documentationLink": "https://cloud.google.com/composer/", + "preferred": true + }, + { + "kind": "discovery#directoryItem", + "id": "compute:alpha", + "name": "compute", + "version": "alpha", + "title": "Compute Engine API", + "description": "Creates and runs virtual machines on Google Cloud Platform.", + "discoveryRestUrl": "https://www.googleapis.com/discovery/v1/apis/compute/alpha/rest", + "discoveryLink": "./apis/compute/alpha/rest", + "icons": { + "x16": "https://www.google.com/images/icons/product/compute_engine-16.png", + "x32": "https://www.google.com/images/icons/product/compute_engine-32.png" + }, + "documentationLink": "https://developers.google.com/compute/docs/reference/latest/", + "preferred": false + }, + { + "kind": "discovery#directoryItem", + "id": "compute:beta", + "name": "compute", + "version": "beta", + "title": "Compute Engine API", + "description": "Creates and runs virtual machines on Google Cloud Platform.", + "discoveryRestUrl": "https://www.googleapis.com/discovery/v1/apis/compute/beta/rest", + "discoveryLink": "./apis/compute/beta/rest", + "icons": { + "x16": "https://www.google.com/images/icons/product/compute_engine-16.png", + "x32": "https://www.google.com/images/icons/product/compute_engine-32.png" + }, + "documentationLink": "https://developers.google.com/compute/docs/reference/latest/", + "preferred": false + }, + { + "kind": "discovery#directoryItem", + "id": "compute:v1", + "name": "compute", + "version": "v1", + "title": "Compute Engine API", + "description": "Creates and runs virtual machines on Google Cloud Platform.", + "discoveryRestUrl": "https://www.googleapis.com/discovery/v1/apis/compute/v1/rest", + "discoveryLink": "./apis/compute/v1/rest", + "icons": { + "x16": "https://www.google.com/images/icons/product/compute_engine-16.png", + "x32": "https://www.google.com/images/icons/product/compute_engine-32.png" + }, + "documentationLink": "https://developers.google.com/compute/docs/reference/latest/", + "preferred": true + }, + { + "kind": "discovery#directoryItem", + "id": "container:v1beta1", + "name": "container", + "version": "v1beta1", + "title": "Kubernetes Engine API", + "description": "Builds and manages container-based applications, powered by the open source Kubernetes technology.", + "discoveryRestUrl": "https://container.googleapis.com/$discovery/rest?version=v1beta1", + "icons": { + "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", + "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" + }, + "documentationLink": "https://cloud.google.com/container-engine/", + "preferred": false + }, + { + "kind": "discovery#directoryItem", + "id": "container:v1", + "name": "container", + "version": "v1", + "title": "Kubernetes Engine API", + "description": "Builds and manages container-based applications, powered by the open source Kubernetes technology.", + "discoveryRestUrl": "https://container.googleapis.com/$discovery/rest?version=v1", + "icons": { + "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", + "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" + }, + "documentationLink": "https://cloud.google.com/container-engine/", + "preferred": true + }, + { + "kind": "discovery#directoryItem", + "id": "containeranalysis:v1alpha1", + "name": "containeranalysis", + "version": "v1alpha1", + "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.", + "discoveryRestUrl": "https://containeranalysis.googleapis.com/$discovery/rest?version=v1alpha1", + "icons": { + "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", + "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" + }, + "documentationLink": "https://cloud.google.com/container-analysis/api/reference/rest/", + "preferred": false + }, + { + "kind": "discovery#directoryItem", + "id": "containeranalysis:v1beta1", + "name": "containeranalysis", + "version": "v1beta1", + "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.", + "discoveryRestUrl": "https://containeranalysis.googleapis.com/$discovery/rest?version=v1beta1", + "icons": { + "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", + "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" + }, + "documentationLink": "https://cloud.google.com/container-analysis/api/reference/rest/", + "preferred": true + }, + { + "kind": "discovery#directoryItem", + "id": "content:v2", + "name": "content", + "version": "v2", + "title": "Content API for Shopping", + "description": "Manage your product listings and accounts for Google Shopping", + "discoveryRestUrl": "https://shoppingcontent.googleapis.com/$discovery/rest?version=v2", + "icons": { + "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", + "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" + }, + "documentationLink": "https://developers.google.com/shopping-content/v2/", + "preferred": false + }, + { + "kind": "discovery#directoryItem", + "id": "content:v2.1", + "name": "content", + "version": "v2.1", + "title": "Content API for Shopping", + "description": "Manage your product listings and accounts for Google Shopping", + "discoveryRestUrl": "https://shoppingcontent.googleapis.com/$discovery/rest?version=v2.1", + "icons": { + "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", + "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" + }, + "documentationLink": "https://developers.google.com/shopping-content/v2/", + "preferred": true + }, + { + "kind": "discovery#directoryItem", + "id": "customsearch:v1", + "name": "customsearch", + "version": "v1", + "title": "Custom Search API", + "description": "Searches over a website or collection of websites", + "discoveryRestUrl": "https://customsearch.googleapis.com/$discovery/rest?version=v1", + "icons": { + "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", + "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" + }, + "documentationLink": "https://developers.google.com/custom-search/v1/introduction", + "preferred": true + }, + { + "kind": "discovery#directoryItem", + "id": "datacatalog:v1beta1", + "name": "datacatalog", + "version": "v1beta1", + "title": "Google Cloud Data Catalog API", + "description": "A fully managed and highly scalable data discovery and metadata management service.", + "discoveryRestUrl": "https://datacatalog.googleapis.com/$discovery/rest?version=v1beta1", + "icons": { + "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", + "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" + }, + "documentationLink": "https://cloud.google.com/data-catalog/docs/", + "preferred": true + }, + { + "kind": "discovery#directoryItem", + "id": "dataflow:v1b3", + "name": "dataflow", + "version": "v1b3", + "title": "Dataflow API", + "description": "Manages Google Cloud Dataflow projects on Google Cloud Platform.", + "discoveryRestUrl": "https://dataflow.googleapis.com/$discovery/rest?version=v1b3", + "icons": { + "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", + "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" + }, + "documentationLink": "https://cloud.google.com/dataflow", + "preferred": true + }, + { + "kind": "discovery#directoryItem", + "id": "datafusion:v1beta1", + "name": "datafusion", + "version": "v1beta1", + "title": "Cloud Data Fusion API", + "description": "Cloud Data Fusion is a fully-managed, cloud native, enterprise data integration service for quickly building and managing data pipelines. It provides a graphical interface to increase time efficiency and reduce complexity, and allows business users, developers, and data scientists to easily and reliably build scalable data integration solutions to cleanse, prepare, blend, transfer and transform data without having to wrestle with infrastructure.", + "discoveryRestUrl": "https://datafusion.googleapis.com/$discovery/rest?version=v1beta1", + "icons": { + "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", + "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" + }, + "documentationLink": "https://cloud.google.com/data-fusion/docs", + "preferred": false + }, + { + "kind": "discovery#directoryItem", + "id": "datafusion:v1", + "name": "datafusion", + "version": "v1", + "title": "Cloud Data Fusion API", + "description": "Cloud Data Fusion is a fully-managed, cloud native, enterprise data integration service for quickly building and managing data pipelines. It provides a graphical interface to increase time efficiency and reduce complexity, and allows business users, developers, and data scientists to easily and reliably build scalable data integration solutions to cleanse, prepare, blend, transfer and transform data without having to wrestle with infrastructure.", + "discoveryRestUrl": "https://datafusion.googleapis.com/$discovery/rest?version=v1", + "icons": { + "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", + "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" + }, + "documentationLink": "https://cloud.google.com/data-fusion/docs", + "preferred": true + }, + { + "kind": "discovery#directoryItem", + "id": "datalabeling:v1beta1", + "name": "datalabeling", + "version": "v1beta1", + "title": "Data Labeling API", + "description": "Public API for Google Cloud AI Data Labeling Service.", + "discoveryRestUrl": "https://datalabeling.googleapis.com/$discovery/rest?version=v1beta1", + "icons": { + "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", + "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" + }, + "documentationLink": "https://cloud.google.com/data-labeling/docs/", + "preferred": true + }, + { + "kind": "discovery#directoryItem", + "id": "datamigration:v1beta1", + "name": "datamigration", + "version": "v1beta1", + "title": "Database Migration API", + "description": "Manage Cloud Database Migration Service resources on Google Cloud Platform.", + "discoveryRestUrl": "https://datamigration.googleapis.com/$discovery/rest?version=v1beta1", + "icons": { + "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", + "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" + }, + "documentationLink": "https://cloud.google.com/datamigration/", + "preferred": true + }, + { + "kind": "discovery#directoryItem", + "id": "dataproc:v1beta2", + "name": "dataproc", + "version": "v1beta2", + "title": "Cloud Dataproc API", + "description": "Manages Hadoop-based clusters and jobs on Google Cloud Platform.", + "discoveryRestUrl": "https://dataproc.googleapis.com/$discovery/rest?version=v1beta2", + "icons": { + "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", + "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" + }, + "documentationLink": "https://cloud.google.com/dataproc/", + "preferred": false + }, + { + "kind": "discovery#directoryItem", + "id": "dataproc:v1", + "name": "dataproc", + "version": "v1", + "title": "Cloud Dataproc API", + "description": "Manages Hadoop-based clusters and jobs on Google Cloud Platform.", + "discoveryRestUrl": "https://dataproc.googleapis.com/$discovery/rest?version=v1", + "icons": { + "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", + "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" + }, + "documentationLink": "https://cloud.google.com/dataproc/", + "preferred": true + }, + { + "kind": "discovery#directoryItem", + "id": "datastore:v1beta1", + "name": "datastore", + "version": "v1beta1", + "title": "Cloud Datastore API", + "description": "Accesses the schemaless NoSQL database to provide fully managed, robust, scalable storage for your application.", + "discoveryRestUrl": "https://datastore.googleapis.com/$discovery/rest?version=v1beta1", + "icons": { + "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", + "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" + }, + "documentationLink": "https://cloud.google.com/datastore/", + "preferred": false + }, + { + "kind": "discovery#directoryItem", + "id": "datastore:v1beta3", + "name": "datastore", + "version": "v1beta3", + "title": "Cloud Datastore API", + "description": "Accesses the schemaless NoSQL database to provide fully managed, robust, scalable storage for your application.", + "discoveryRestUrl": "https://datastore.googleapis.com/$discovery/rest?version=v1beta3", + "icons": { + "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", + "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" + }, + "documentationLink": "https://cloud.google.com/datastore/", + "preferred": false + }, + { + "kind": "discovery#directoryItem", + "id": "datastore:v1", + "name": "datastore", + "version": "v1", + "title": "Cloud Datastore API", + "description": "Accesses the schemaless NoSQL database to provide fully managed, robust, scalable storage for your application.", + "discoveryRestUrl": "https://datastore.googleapis.com/$discovery/rest?version=v1", + "icons": { + "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", + "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" + }, + "documentationLink": "https://cloud.google.com/datastore/", + "preferred": true + }, + { + "kind": "discovery#directoryItem", + "id": "deploymentmanager:alpha", + "name": "deploymentmanager", + "version": "alpha", + "title": "Cloud Deployment Manager V2 API", + "description": "The Google Cloud Deployment Manager v2 API provides services for configuring, deploying, and viewing Google Cloud services and APIs via templates which specify deployments of Cloud resources.", + "discoveryRestUrl": "https://deploymentmanager.googleapis.com/$discovery/rest?version=alpha", + "icons": { + "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", + "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" + }, + "documentationLink": "https://cloud.google.com/deployment-manager", + "preferred": false + }, + { + "kind": "discovery#directoryItem", + "id": "deploymentmanager:v2beta", + "name": "deploymentmanager", + "version": "v2beta", + "title": "Cloud Deployment Manager V2 API", + "description": "The Google Cloud Deployment Manager v2 API provides services for configuring, deploying, and viewing Google Cloud services and APIs via templates which specify deployments of Cloud resources.", + "discoveryRestUrl": "https://deploymentmanager.googleapis.com/$discovery/rest?version=v2beta", + "icons": { + "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", + "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" + }, + "documentationLink": "https://cloud.google.com/deployment-manager", + "preferred": false + }, + { + "kind": "discovery#directoryItem", + "id": "deploymentmanager:v2", + "name": "deploymentmanager", + "version": "v2", + "title": "Cloud Deployment Manager V2 API", + "description": "The Google Cloud Deployment Manager v2 API provides services for configuring, deploying, and viewing Google Cloud services and APIs via templates which specify deployments of Cloud resources.", + "discoveryRestUrl": "https://deploymentmanager.googleapis.com/$discovery/rest?version=v2", + "icons": { + "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", + "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" + }, + "documentationLink": "https://cloud.google.com/deployment-manager", + "preferred": true + }, + { + "kind": "discovery#directoryItem", + "id": "dfareporting:v3.3", + "name": "dfareporting", + "version": "v3.3", + "title": "Campaign Manager 360 API", + "description": "Manage your DoubleClick Campaign Manager ad campaigns and reports.", + "discoveryRestUrl": "https://dfareporting.googleapis.com/$discovery/rest?version=v3.3", + "icons": { + "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", + "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" + }, + "documentationLink": "https://developers.google.com/doubleclick-advertisers/", + "preferred": false + }, + { + "kind": "discovery#directoryItem", + "id": "dfareporting:v3.4", + "name": "dfareporting", + "version": "v3.4", + "title": "Campaign Manager 360 API", + "description": "Manage your DoubleClick Campaign Manager ad campaigns and reports.", + "discoveryRestUrl": "https://dfareporting.googleapis.com/$discovery/rest?version=v3.4", + "icons": { + "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", + "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" + }, + "documentationLink": "https://developers.google.com/doubleclick-advertisers/", + "preferred": true + }, + { + "kind": "discovery#directoryItem", + "id": "dialogflow:v2beta1", + "name": "dialogflow", + "version": "v2beta1", + "title": "Dialogflow API", + "description": "Builds conversational interfaces (for example, chatbots, and voice-powered apps and devices).", + "discoveryRestUrl": "https://dialogflow.googleapis.com/$discovery/rest?version=v2beta1", + "icons": { + "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", + "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" + }, + "documentationLink": "https://cloud.google.com/dialogflow/", + "preferred": false + }, + { + "kind": "discovery#directoryItem", + "id": "dialogflow:v3beta1", + "name": "dialogflow", + "version": "v3beta1", + "title": "Dialogflow API", + "description": "Builds conversational interfaces (for example, chatbots, and voice-powered apps and devices).", + "discoveryRestUrl": "https://dialogflow.googleapis.com/$discovery/rest?version=v3beta1", + "icons": { + "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", + "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" + }, + "documentationLink": "https://cloud.google.com/dialogflow/", + "preferred": false + }, + { + "kind": "discovery#directoryItem", + "id": "dialogflow:v2", + "name": "dialogflow", + "version": "v2", + "title": "Dialogflow API", + "description": "Builds conversational interfaces (for example, chatbots, and voice-powered apps and devices).", + "discoveryRestUrl": "https://dialogflow.googleapis.com/$discovery/rest?version=v2", + "icons": { + "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", + "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" + }, + "documentationLink": "https://cloud.google.com/dialogflow/", + "preferred": true + }, + { + "kind": "discovery#directoryItem", + "id": "digitalassetlinks:v1", + "name": "digitalassetlinks", + "version": "v1", + "title": "Digital Asset Links API", + "description": "Discovers relationships between online assets such as websites or mobile apps.", + "discoveryRestUrl": "https://digitalassetlinks.googleapis.com/$discovery/rest?version=v1", + "icons": { + "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", + "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" + }, + "documentationLink": "https://developers.google.com/digital-asset-links/", + "preferred": true + }, + { + "kind": "discovery#directoryItem", + "id": "discovery:v1", + "name": "discovery", + "version": "v1", + "title": "API Discovery Service", + "description": "Google API Discovery Service allows service consumers to list the discovery metadata of all public APIs managed by the API Platform.", + "discoveryRestUrl": "https://discovery.googleapis.com/$discovery/rest?version=v1", + "icons": { + "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", + "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" + }, + "documentationLink": "https://developers.google.com/discovery", + "preferred": true + }, + { + "kind": "discovery#directoryItem", + "id": "displayvideo:v1", + "name": "displayvideo", + "version": "v1", + "title": "Display & Video 360 API", + "description": "Display & Video 360 API allows users to manage and create campaigns and reports.", + "discoveryRestUrl": "https://displayvideo.googleapis.com/$discovery/rest?version=v1", + "icons": { + "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", + "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" + }, + "documentationLink": "https://developers.google.com/display-video/", + "preferred": true + }, + { + "kind": "discovery#directoryItem", + "id": "dlp:v2", + "name": "dlp", + "version": "v2", + "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.", + "discoveryRestUrl": "https://dlp.googleapis.com/$discovery/rest?version=v2", + "icons": { + "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", + "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" + }, + "documentationLink": "https://cloud.google.com/dlp/docs/", + "preferred": true + }, + { + "kind": "discovery#directoryItem", + "id": "dns:v1beta2", + "name": "dns", + "version": "v1beta2", + "title": "Cloud DNS API", + "description": "", + "discoveryRestUrl": "https://dns.googleapis.com/$discovery/rest?version=v1beta2", + "icons": { + "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", + "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" + }, + "documentationLink": "https://cloud.google.com/dns/docs", + "preferred": false + }, + { + "kind": "discovery#directoryItem", + "id": "dns:v1", + "name": "dns", + "version": "v1", + "title": "Cloud DNS API", + "description": "", + "discoveryRestUrl": "https://dns.googleapis.com/$discovery/rest?version=v1", + "icons": { + "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", + "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" + }, + "documentationLink": "https://cloud.google.com/dns/docs", + "preferred": true + }, + { + "kind": "discovery#directoryItem", + "id": "docs:v1", + "name": "docs", + "version": "v1", + "title": "Google Docs API", + "description": "Reads and writes Google Docs documents.", + "discoveryRestUrl": "https://docs.googleapis.com/$discovery/rest?version=v1", + "icons": { + "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", + "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" + }, + "documentationLink": "https://developers.google.com/docs/", + "preferred": true + }, + { + "kind": "discovery#directoryItem", + "id": "documentai:v1beta2", + "name": "documentai", + "version": "v1beta2", + "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.", + "discoveryRestUrl": "https://documentai.googleapis.com/$discovery/rest?version=v1beta2", + "icons": { + "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", + "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" + }, + "documentationLink": "https://cloud.google.com/document-ai/docs/", + "preferred": false + }, + { + "kind": "discovery#directoryItem", + "id": "documentai:v1beta3", + "name": "documentai", + "version": "v1beta3", + "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.", + "discoveryRestUrl": "https://documentai.googleapis.com/$discovery/rest?version=v1beta3", + "icons": { + "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", + "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" + }, + "documentationLink": "https://cloud.google.com/document-ai/docs/", + "preferred": true + }, + { + "kind": "discovery#directoryItem", + "id": "domains:v1alpha2", + "name": "domains", + "version": "v1alpha2", + "title": "Cloud Domains API", + "description": "Enables management and configuration of domain names.", + "discoveryRestUrl": "https://domains.googleapis.com/$discovery/rest?version=v1alpha2", + "icons": { + "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", + "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" + }, + "documentationLink": "https://cloud.google.com/domains/", + "preferred": false + }, + { + "kind": "discovery#directoryItem", + "id": "domains:v1beta1", + "name": "domains", + "version": "v1beta1", + "title": "Cloud Domains API", + "description": "Enables management and configuration of domain names.", + "discoveryRestUrl": "https://domains.googleapis.com/$discovery/rest?version=v1beta1", + "icons": { + "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", + "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" + }, + "documentationLink": "https://cloud.google.com/domains/", + "preferred": true + }, + { + "kind": "discovery#directoryItem", + "id": "domainsrdap:v1", + "name": "domainsrdap", + "version": "v1", + "title": "Domains RDAP API", + "description": "Read-only public API that lets users search for information about domain names.", + "discoveryRestUrl": "https://domainsrdap.googleapis.com/$discovery/rest?version=v1", + "icons": { + "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", + "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" + }, + "documentationLink": "https://developers.google.com/domains/rdap/", + "preferred": true + }, + { + "kind": "discovery#directoryItem", + "id": "doubleclickbidmanager:v1", + "name": "doubleclickbidmanager", + "version": "v1", + "title": "DoubleClick Bid Manager API", + "description": "DoubleClick Bid Manager API allows users to manage and create campaigns and reports.", + "discoveryRestUrl": "https://doubleclickbidmanager.googleapis.com/$discovery/rest?version=v1", + "icons": { + "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", + "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" + }, + "documentationLink": "https://developers.google.com/bid-manager/", + "preferred": false + }, + { + "kind": "discovery#directoryItem", + "id": "doubleclickbidmanager:v1.1", + "name": "doubleclickbidmanager", + "version": "v1.1", + "title": "DoubleClick Bid Manager API", + "description": "DoubleClick Bid Manager API allows users to manage and create campaigns and reports.", + "discoveryRestUrl": "https://doubleclickbidmanager.googleapis.com/$discovery/rest?version=v1.1", + "icons": { + "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", + "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" + }, + "documentationLink": "https://developers.google.com/bid-manager/", + "preferred": true + }, + { + "kind": "discovery#directoryItem", + "id": "doubleclicksearch:v2", + "name": "doubleclicksearch", + "version": "v2", + "title": "Search Ads 360 API", + "description": "The Search Ads 360 API allows developers to automate uploading conversions and downloading reports from Search Ads 360.", + "discoveryRestUrl": "https://doubleclicksearch.googleapis.com/$discovery/rest?version=v2", + "icons": { + "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", + "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" + }, + "documentationLink": "https://developers.google.com/search-ads", + "preferred": true + }, + { + "kind": "discovery#directoryItem", + "id": "drive:v2", + "name": "drive", + "version": "v2", + "title": "Drive API", + "description": "Manages files in Drive including uploading, downloading, searching, detecting changes, and updating sharing permissions.", + "discoveryRestUrl": "https://www.googleapis.com/discovery/v1/apis/drive/v2/rest", + "discoveryLink": "./apis/drive/v2/rest", + "icons": { + "x16": "https://ssl.gstatic.com/docs/doclist/images/drive_icon_16.png", + "x32": "https://ssl.gstatic.com/docs/doclist/images/drive_icon_32.png" + }, + "documentationLink": "https://developers.google.com/drive/", + "preferred": false + }, + { + "kind": "discovery#directoryItem", + "id": "drive:v3", + "name": "drive", + "version": "v3", + "title": "Drive API", + "description": "Manages files in Drive including uploading, downloading, searching, detecting changes, and updating sharing permissions.", + "discoveryRestUrl": "https://www.googleapis.com/discovery/v1/apis/drive/v3/rest", + "discoveryLink": "./apis/drive/v3/rest", + "icons": { + "x16": "https://ssl.gstatic.com/docs/doclist/images/drive_icon_16.png", + "x32": "https://ssl.gstatic.com/docs/doclist/images/drive_icon_32.png" + }, + "documentationLink": "https://developers.google.com/drive/", + "preferred": true + }, + { + "kind": "discovery#directoryItem", + "id": "driveactivity:v2", + "name": "driveactivity", + "version": "v2", + "title": "Drive Activity API", + "description": "Provides a historical view of activity in Google Drive.", + "discoveryRestUrl": "https://driveactivity.googleapis.com/$discovery/rest?version=v2", + "icons": { + "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", + "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" + }, + "documentationLink": "https://developers.google.com/drive/activity/", + "preferred": true + }, + { + "kind": "discovery#directoryItem", + "id": "eventarc:v1beta1", + "name": "eventarc", + "version": "v1beta1", + "title": "Eventarc API", + "description": "", + "discoveryRestUrl": "https://eventarc.googleapis.com/$discovery/rest?version=v1beta1", + "icons": { + "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", + "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" + }, + "documentationLink": "https://cloud.google.com/eventarc", + "preferred": true + }, + { + "kind": "discovery#directoryItem", + "id": "factchecktools:v1alpha1", + "name": "factchecktools", + "version": "v1alpha1", + "title": "Fact Check Tools API", + "description": "", + "discoveryRestUrl": "https://factchecktools.googleapis.com/$discovery/rest?version=v1alpha1", + "icons": { + "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", + "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" + }, + "documentationLink": "https://developers.google.com/fact-check/tools/api/", + "preferred": true + }, + { + "kind": "discovery#directoryItem", + "id": "fcm:v1", + "name": "fcm", + "version": "v1", + "title": "Firebase Cloud Messaging API", + "description": "FCM send API that provides a cross-platform messaging solution to reliably deliver messages at no cost.", + "discoveryRestUrl": "https://fcm.googleapis.com/$discovery/rest?version=v1", + "icons": { + "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", + "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" + }, + "documentationLink": "https://firebase.google.com/docs/cloud-messaging", + "preferred": true + }, + { + "kind": "discovery#directoryItem", + "id": "file:v1beta1", + "name": "file", + "version": "v1beta1", + "title": "Cloud Filestore API", + "description": "The Cloud Filestore API is used for creating and managing cloud file servers.", + "discoveryRestUrl": "https://file.googleapis.com/$discovery/rest?version=v1beta1", + "icons": { + "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", + "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" + }, + "documentationLink": "https://cloud.google.com/filestore/", + "preferred": false + }, + { + "kind": "discovery#directoryItem", + "id": "file:v1", + "name": "file", + "version": "v1", + "title": "Cloud Filestore API", + "description": "The Cloud Filestore API is used for creating and managing cloud file servers.", + "discoveryRestUrl": "https://file.googleapis.com/$discovery/rest?version=v1", + "icons": { + "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", + "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" + }, + "documentationLink": "https://cloud.google.com/filestore/", + "preferred": true + }, + { + "kind": "discovery#directoryItem", + "id": "firebase:v1beta1", + "name": "firebase", + "version": "v1beta1", + "title": "Firebase Management API", + "description": "The Firebase Management API enables programmatic setup and management of Firebase projects, including a project's Firebase resources and Firebase apps.", + "discoveryRestUrl": "https://firebase.googleapis.com/$discovery/rest?version=v1beta1", + "icons": { + "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", + "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" + }, + "documentationLink": "https://firebase.google.com", + "preferred": true + }, + { + "kind": "discovery#directoryItem", + "id": "firebasedatabase:v1beta", + "name": "firebasedatabase", + "version": "v1beta", + "title": "Firebase Realtime Database Management API", + "description": "The Firebase Realtime Database Management API enables programmatic provisioning and management of Realtime Database instances.", + "discoveryRestUrl": "https://firebasedatabase.googleapis.com/$discovery/rest?version=v1beta", + "icons": { + "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", + "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" + }, + "documentationLink": "https://firebase.google.com/docs/reference/rest/database/database-management/rest/", + "preferred": true + }, + { + "kind": "discovery#directoryItem", + "id": "firebasedynamiclinks:v1", + "name": "firebasedynamiclinks", + "version": "v1", + "title": "Firebase Dynamic Links API", + "description": "Programmatically creates and manages Firebase Dynamic Links.", + "discoveryRestUrl": "https://firebasedynamiclinks.googleapis.com/$discovery/rest?version=v1", + "icons": { + "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", + "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" + }, + "documentationLink": "https://firebase.google.com/docs/dynamic-links/", + "preferred": true + }, + { + "kind": "discovery#directoryItem", + "id": "firebasehosting:v1beta1", + "name": "firebasehosting", + "version": "v1beta1", + "title": "Firebase Hosting API", + "description": "The Firebase Hosting REST API enables programmatic and customizable deployments to your Firebase-hosted sites. Use this REST API to deploy new or updated hosting configurations and content files.", + "discoveryRestUrl": "https://firebasehosting.googleapis.com/$discovery/rest?version=v1beta1", + "icons": { + "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", + "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" + }, + "documentationLink": "https://firebase.google.com/docs/hosting/", + "preferred": false + }, + { + "kind": "discovery#directoryItem", + "id": "firebasehosting:v1", + "name": "firebasehosting", + "version": "v1", + "title": "Firebase Hosting API", + "description": "The Firebase Hosting REST API enables programmatic and customizable deployments to your Firebase-hosted sites. Use this REST API to deploy new or updated hosting configurations and content files.", + "discoveryRestUrl": "https://firebasehosting.googleapis.com/$discovery/rest?version=v1", + "icons": { + "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", + "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" + }, + "documentationLink": "https://firebase.google.com/docs/hosting/", + "preferred": true + }, + { + "kind": "discovery#directoryItem", + "id": "firebaseml:v1beta2", + "name": "firebaseml", + "version": "v1beta2", + "title": "Firebase ML API", + "description": "Access custom machine learning models hosted via Firebase ML.", + "discoveryRestUrl": "https://firebaseml.googleapis.com/$discovery/rest?version=v1beta2", + "icons": { + "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", + "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" + }, + "documentationLink": "https://firebase.google.com", + "preferred": false + }, + { + "kind": "discovery#directoryItem", + "id": "firebaseml:v1", + "name": "firebaseml", + "version": "v1", + "title": "Firebase ML API", + "description": "Access custom machine learning models hosted via Firebase ML.", + "discoveryRestUrl": "https://firebaseml.googleapis.com/$discovery/rest?version=v1", + "icons": { + "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", + "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" + }, + "documentationLink": "https://firebase.google.com", + "preferred": true + }, + { + "kind": "discovery#directoryItem", + "id": "firebaserules:v1", + "name": "firebaserules", + "version": "v1", + "title": "Firebase Rules API", + "description": "Creates and manages rules that determine when a Firebase Rules-enabled service should permit a request.", + "discoveryRestUrl": "https://firebaserules.googleapis.com/$discovery/rest?version=v1", + "icons": { + "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", + "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" + }, + "documentationLink": "https://firebase.google.com/docs/storage/security", + "preferred": true + }, + { + "kind": "discovery#directoryItem", + "id": "firestore:v1beta1", + "name": "firestore", + "version": "v1beta1", + "title": "Cloud Firestore API", + "description": "Accesses the NoSQL document database built for automatic scaling, high performance, and ease of application development.", + "discoveryRestUrl": "https://firestore.googleapis.com/$discovery/rest?version=v1beta1", + "icons": { + "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", + "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" + }, + "documentationLink": "https://cloud.google.com/firestore", + "preferred": false + }, + { + "kind": "discovery#directoryItem", + "id": "firestore:v1beta2", + "name": "firestore", + "version": "v1beta2", + "title": "Cloud Firestore API", + "description": "Accesses the NoSQL document database built for automatic scaling, high performance, and ease of application development.", + "discoveryRestUrl": "https://firestore.googleapis.com/$discovery/rest?version=v1beta2", + "icons": { + "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", + "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" + }, + "documentationLink": "https://cloud.google.com/firestore", + "preferred": false + }, + { + "kind": "discovery#directoryItem", + "id": "firestore:v1", + "name": "firestore", + "version": "v1", + "title": "Cloud Firestore API", + "description": "Accesses the NoSQL document database built for automatic scaling, high performance, and ease of application development.", + "discoveryRestUrl": "https://firestore.googleapis.com/$discovery/rest?version=v1", + "icons": { + "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", + "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" + }, + "documentationLink": "https://cloud.google.com/firestore", + "preferred": true + }, + { + "kind": "discovery#directoryItem", + "id": "fitness:v1", + "name": "fitness", + "version": "v1", + "title": "Fitness API", + "description": "The Fitness API for managing users' fitness tracking data.", + "discoveryRestUrl": "https://fitness.googleapis.com/$discovery/rest?version=v1", + "icons": { + "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", + "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" + }, + "documentationLink": "https://developers.google.com/fit/rest/v1/get-started", + "preferred": true + }, + { + "kind": "discovery#directoryItem", + "id": "games:v1", + "name": "games", + "version": "v1", + "title": "Google Play Game Services", + "description": "The Google Play games service allows developers to enhance games with social leaderboards, achievements, game state, sign-in with Google, and more.", + "discoveryRestUrl": "https://games.googleapis.com/$discovery/rest?version=v1", + "icons": { + "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", + "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" + }, + "documentationLink": "https://developers.google.com/games/", + "preferred": true + }, + { + "kind": "discovery#directoryItem", + "id": "gamesConfiguration:v1configuration", + "name": "gamesConfiguration", + "version": "v1configuration", + "title": "Google Play Game Services Publishing API", + "description": "The Google Play Game Services Publishing API allows developers to configure their games in Game Services.", + "discoveryRestUrl": "https://gamesconfiguration.googleapis.com/$discovery/rest?version=v1configuration", + "icons": { + "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", + "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" + }, + "documentationLink": "https://developers.google.com/games/", + "preferred": true + }, + { + "kind": "discovery#directoryItem", + "id": "gamesManagement:v1management", + "name": "gamesManagement", + "version": "v1management", + "title": "Google Play Game Management", + "description": "The Google Play Game Management API allows developers to manage resources from the Google Play Game service.", + "discoveryRestUrl": "https://gamesmanagement.googleapis.com/$discovery/rest?version=v1management", + "icons": { + "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", + "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" + }, + "documentationLink": "https://developers.google.com/games/", + "preferred": true + }, + { + "kind": "discovery#directoryItem", + "id": "gameservices:v1beta", + "name": "gameservices", + "version": "v1beta", + "title": "Game Services API", + "description": "Deploy and manage infrastructure for global multiplayer gaming experiences.", + "discoveryRestUrl": "https://gameservices.googleapis.com/$discovery/rest?version=v1beta", + "icons": { + "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", + "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" + }, + "documentationLink": "https://cloud.google.com/solutions/gaming/", + "preferred": false + }, + { + "kind": "discovery#directoryItem", + "id": "gameservices:v1", + "name": "gameservices", + "version": "v1", + "title": "Game Services API", + "description": "Deploy and manage infrastructure for global multiplayer gaming experiences.", + "discoveryRestUrl": "https://gameservices.googleapis.com/$discovery/rest?version=v1", + "icons": { + "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", + "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" + }, + "documentationLink": "https://cloud.google.com/solutions/gaming/", + "preferred": true + }, + { + "kind": "discovery#directoryItem", + "id": "genomics:v1alpha2", + "name": "genomics", + "version": "v1alpha2", + "title": "Genomics API", + "description": "Uploads, processes, queries, and searches Genomics data in the cloud.", + "discoveryRestUrl": "https://genomics.googleapis.com/$discovery/rest?version=v1alpha2", + "icons": { + "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", + "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" + }, + "documentationLink": "https://cloud.google.com/genomics", + "preferred": false + }, + { + "kind": "discovery#directoryItem", + "id": "genomics:v2alpha1", + "name": "genomics", + "version": "v2alpha1", + "title": "Genomics API", + "description": "Uploads, processes, queries, and searches Genomics data in the cloud.", + "discoveryRestUrl": "https://genomics.googleapis.com/$discovery/rest?version=v2alpha1", + "icons": { + "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", + "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" + }, + "documentationLink": "https://cloud.google.com/genomics", + "preferred": false + }, + { + "kind": "discovery#directoryItem", + "id": "genomics:v1", + "name": "genomics", + "version": "v1", + "title": "Genomics API", + "description": "Uploads, processes, queries, and searches Genomics data in the cloud.", + "discoveryRestUrl": "https://genomics.googleapis.com/$discovery/rest?version=v1", + "icons": { + "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", + "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" + }, + "documentationLink": "https://cloud.google.com/genomics", + "preferred": true + }, + { + "kind": "discovery#directoryItem", + "id": "gmail:v1", + "name": "gmail", + "version": "v1", + "title": "Gmail API", + "description": "The Gmail API lets you view and manage Gmail mailbox data like threads, messages, and labels.", + "discoveryRestUrl": "https://gmail.googleapis.com/$discovery/rest?version=v1", + "icons": { + "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", + "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" + }, + "documentationLink": "https://developers.google.com/gmail/api/", + "preferred": true + }, + { + "kind": "discovery#directoryItem", + "id": "gmailpostmastertools:v1beta1", + "name": "gmailpostmastertools", + "version": "v1beta1", + "title": "Gmail Postmaster Tools API", + "description": "The Postmaster Tools API is a RESTful API that provides programmatic access to email traffic metrics (like spam reports, delivery errors etc) otherwise available through the Gmail Postmaster Tools UI currently.", + "discoveryRestUrl": "https://gmailpostmastertools.googleapis.com/$discovery/rest?version=v1beta1", + "icons": { + "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", + "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" + }, + "documentationLink": "https://developers.google.com/gmail/postmaster", + "preferred": true + }, + { + "kind": "discovery#directoryItem", + "id": "groupsmigration:v1", + "name": "groupsmigration", + "version": "v1", + "title": "Groups Migration API", + "description": "The Groups Migration API allows domain administrators to archive emails into Google groups.", + "discoveryRestUrl": "https://groupsmigration.googleapis.com/$discovery/rest?version=v1", + "icons": { + "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", + "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" + }, + "documentationLink": "https://developers.google.com/google-apps/groups-migration/", + "preferred": true + }, + { + "kind": "discovery#directoryItem", + "id": "groupssettings:v1", + "name": "groupssettings", + "version": "v1", + "title": "Groups Settings API", + "description": "The Groups Settings API allows domain administrators to view and manage access levels and advanced settings for a group.", + "discoveryRestUrl": "https://groupssettings.googleapis.com/$discovery/rest?version=v1", + "icons": { + "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", + "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" + }, + "documentationLink": "https://developers.google.com/admin-sdk/groups-settings", + "preferred": true + }, + { + "kind": "discovery#directoryItem", + "id": "healthcare:v1beta1", + "name": "healthcare", + "version": "v1beta1", + "title": "Cloud Healthcare API", + "description": "Manage, store, and access healthcare data in Google Cloud Platform.", + "discoveryRestUrl": "https://healthcare.googleapis.com/$discovery/rest?version=v1beta1", + "icons": { + "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", + "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" + }, + "documentationLink": "https://cloud.google.com/healthcare", + "preferred": false + }, + { + "kind": "discovery#directoryItem", + "id": "healthcare:v1", + "name": "healthcare", + "version": "v1", + "title": "Cloud Healthcare API", + "description": "Manage, store, and access healthcare data in Google Cloud Platform.", + "discoveryRestUrl": "https://healthcare.googleapis.com/$discovery/rest?version=v1", + "icons": { + "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", + "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" + }, + "documentationLink": "https://cloud.google.com/healthcare", + "preferred": true + }, + { + "kind": "discovery#directoryItem", + "id": "homegraph:v1", + "name": "homegraph", + "version": "v1", + "title": "HomeGraph API", + "description": "", + "discoveryRestUrl": "https://homegraph.googleapis.com/$discovery/rest?version=v1", + "icons": { + "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", + "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" + }, + "documentationLink": "https://developers.google.com/actions/smarthome/create-app#request-sync", + "preferred": true + }, + { + "kind": "discovery#directoryItem", + "id": "iam:v1", + "name": "iam", + "version": "v1", + "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.", + "discoveryRestUrl": "https://iam.googleapis.com/$discovery/rest?version=v1", + "icons": { + "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", + "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" + }, + "documentationLink": "https://cloud.google.com/iam/", + "preferred": true + }, + { + "kind": "discovery#directoryItem", + "id": "iamcredentials:v1", + "name": "iamcredentials", + "version": "v1", + "title": "IAM Service Account Credentials API", + "description": "Creates short-lived credentials for impersonating IAM service accounts. To enable this API, you must enable the IAM API (iam.googleapis.com).", + "discoveryRestUrl": "https://iamcredentials.googleapis.com/$discovery/rest?version=v1", + "icons": { + "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", + "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" + }, + "documentationLink": "https://cloud.google.com/iam/docs/creating-short-lived-service-account-credentials", + "preferred": true + }, + { + "kind": "discovery#directoryItem", + "id": "iap:v1beta1", + "name": "iap", + "version": "v1beta1", + "title": "Cloud Identity-Aware Proxy API", + "description": "Controls access to cloud applications running on Google Cloud Platform.", + "discoveryRestUrl": "https://iap.googleapis.com/$discovery/rest?version=v1beta1", + "icons": { + "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", + "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" + }, + "documentationLink": "https://cloud.google.com/iap", + "preferred": false + }, + { + "kind": "discovery#directoryItem", + "id": "iap:v1", + "name": "iap", + "version": "v1", + "title": "Cloud Identity-Aware Proxy API", + "description": "Controls access to cloud applications running on Google Cloud Platform.", + "discoveryRestUrl": "https://iap.googleapis.com/$discovery/rest?version=v1", + "icons": { + "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", + "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" + }, + "documentationLink": "https://cloud.google.com/iap", + "preferred": true + }, + { + "kind": "discovery#directoryItem", + "id": "identitytoolkit:v3", + "name": "identitytoolkit", + "version": "v3", + "title": "Identity Toolkit API", + "description": "The Google Identity Toolkit API lets you use open standards to verify a user's identity.", + "discoveryRestUrl": "https://identitytoolkit.googleapis.com/$discovery/rest?version=v3", + "icons": { + "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", + "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" + }, + "documentationLink": "https://firebase.google.com/docs/auth/", + "preferred": true + }, + { + "kind": "discovery#directoryItem", + "id": "indexing:v3", + "name": "indexing", + "version": "v3", + "title": "Indexing API", + "description": "Notifies Google when your web pages change.", + "discoveryRestUrl": "https://indexing.googleapis.com/$discovery/rest?version=v3", + "icons": { + "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", + "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" + }, + "documentationLink": "https://developers.google.com/search/apis/indexing-api/", + "preferred": true + }, + { + "kind": "discovery#directoryItem", + "id": "jobs:v3p1beta1", + "name": "jobs", + "version": "v3p1beta1", + "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.", + "discoveryRestUrl": "https://jobs.googleapis.com/$discovery/rest?version=v3p1beta1", + "icons": { + "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", + "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" + }, + "documentationLink": "https://cloud.google.com/talent-solution/job-search/docs/", + "preferred": false + }, + { + "kind": "discovery#directoryItem", + "id": "jobs:v2", + "name": "jobs", + "version": "v2", + "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.", + "discoveryRestUrl": "https://jobs.googleapis.com/$discovery/rest?version=v2", + "icons": { + "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", + "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" + }, + "documentationLink": "https://cloud.google.com/talent-solution/job-search/docs/", + "preferred": false + }, + { + "kind": "discovery#directoryItem", + "id": "jobs:v3", + "name": "jobs", + "version": "v3", + "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.", + "discoveryRestUrl": "https://jobs.googleapis.com/$discovery/rest?version=v3", + "icons": { + "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", + "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" + }, + "documentationLink": "https://cloud.google.com/talent-solution/job-search/docs/", + "preferred": true + }, + { + "kind": "discovery#directoryItem", + "id": "kgsearch:v1", + "name": "kgsearch", + "version": "v1", + "title": "Knowledge Graph Search API", + "description": "Searches the Google Knowledge Graph for entities.", + "discoveryRestUrl": "https://kgsearch.googleapis.com/$discovery/rest?version=v1", + "icons": { + "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", + "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" + }, + "documentationLink": "https://developers.google.com/knowledge-graph/", + "preferred": true + }, + { + "kind": "discovery#directoryItem", + "id": "language:v1beta1", + "name": "language", + "version": "v1beta1", + "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.", + "discoveryRestUrl": "https://language.googleapis.com/$discovery/rest?version=v1beta1", + "icons": { + "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", + "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" + }, + "documentationLink": "https://cloud.google.com/natural-language/", + "preferred": false + }, + { + "kind": "discovery#directoryItem", + "id": "language:v1beta2", + "name": "language", + "version": "v1beta2", + "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.", + "discoveryRestUrl": "https://language.googleapis.com/$discovery/rest?version=v1beta2", + "icons": { + "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", + "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" + }, + "documentationLink": "https://cloud.google.com/natural-language/", + "preferred": false + }, + { + "kind": "discovery#directoryItem", + "id": "language:v1", + "name": "language", + "version": "v1", + "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.", + "discoveryRestUrl": "https://language.googleapis.com/$discovery/rest?version=v1", + "icons": { + "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", + "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" + }, + "documentationLink": "https://cloud.google.com/natural-language/", + "preferred": true + }, + { + "kind": "discovery#directoryItem", + "id": "libraryagent:v1", + "name": "libraryagent", + "version": "v1", + "title": "Library Agent API", + "description": "A simple Google Example Library API.", + "discoveryRestUrl": "https://libraryagent.googleapis.com/$discovery/rest?version=v1", + "icons": { + "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", + "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" + }, + "documentationLink": "https://cloud.google.com/docs/quota", + "preferred": true + }, + { + "kind": "discovery#directoryItem", + "id": "licensing:v1", + "name": "licensing", + "version": "v1", + "title": "Enterprise License Manager API", + "description": "The Google Enterprise License Manager API's allows you to license apps for all the users of a domain managed by you.", + "discoveryRestUrl": "https://licensing.googleapis.com/$discovery/rest?version=v1", + "icons": { + "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", + "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" + }, + "documentationLink": "https://developers.google.com/admin-sdk/licensing/", + "preferred": true + }, + { + "kind": "discovery#directoryItem", + "id": "lifesciences:v2beta", + "name": "lifesciences", + "version": "v2beta", + "title": "Cloud Life Sciences API", + "description": "Cloud Life Sciences is a suite of services and tools for managing, processing, and transforming life sciences data.", + "discoveryRestUrl": "https://lifesciences.googleapis.com/$discovery/rest?version=v2beta", + "icons": { + "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", + "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" + }, + "documentationLink": "https://cloud.google.com/life-sciences", + "preferred": true + }, + { + "kind": "discovery#directoryItem", + "id": "localservices:v1", + "name": "localservices", + "version": "v1", + "title": "Local Services API", + "description": "", + "discoveryRestUrl": "https://localservices.googleapis.com/$discovery/rest?version=v1", + "icons": { + "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", + "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" + }, + "documentationLink": "https://ads.google.com/local-services-ads/", + "preferred": true + }, + { + "kind": "discovery#directoryItem", + "id": "logging:v2", + "name": "logging", + "version": "v2", + "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.", + "discoveryRestUrl": "https://logging.googleapis.com/$discovery/rest?version=v2", + "icons": { + "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", + "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" + }, + "documentationLink": "https://cloud.google.com/logging/docs/", + "preferred": true + }, + { + "kind": "discovery#directoryItem", + "id": "managedidentities:v1alpha1", + "name": "managedidentities", + "version": "v1alpha1", + "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).", + "discoveryRestUrl": "https://managedidentities.googleapis.com/$discovery/rest?version=v1alpha1", + "icons": { + "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", + "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" + }, + "documentationLink": "https://cloud.google.com/managed-microsoft-ad/", + "preferred": false + }, + { + "kind": "discovery#directoryItem", + "id": "managedidentities:v1beta1", + "name": "managedidentities", + "version": "v1beta1", + "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).", + "discoveryRestUrl": "https://managedidentities.googleapis.com/$discovery/rest?version=v1beta1", + "icons": { + "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", + "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" + }, + "documentationLink": "https://cloud.google.com/managed-microsoft-ad/", + "preferred": false + }, + { + "kind": "discovery#directoryItem", + "id": "managedidentities:v1", + "name": "managedidentities", + "version": "v1", + "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).", + "discoveryRestUrl": "https://managedidentities.googleapis.com/$discovery/rest?version=v1", + "icons": { + "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", + "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" + }, + "documentationLink": "https://cloud.google.com/managed-microsoft-ad/", + "preferred": true + }, + { + "kind": "discovery#directoryItem", + "id": "manufacturers:v1", + "name": "manufacturers", + "version": "v1", + "title": "Manufacturer Center API", + "description": "Public API for managing Manufacturer Center related data.", + "discoveryRestUrl": "https://manufacturers.googleapis.com/$discovery/rest?version=v1", + "icons": { + "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", + "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" + }, + "documentationLink": "https://developers.google.com/manufacturers/", + "preferred": true + }, + { + "kind": "discovery#directoryItem", + "id": "memcache:v1beta2", + "name": "memcache", + "version": "v1beta2", + "title": "Cloud Memorystore for Memcached API", + "description": "Google Cloud Memorystore for Memcached API is used for creating and managing Memcached instances in GCP.", + "discoveryRestUrl": "https://memcache.googleapis.com/$discovery/rest?version=v1beta2", + "icons": { + "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", + "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" + }, + "documentationLink": "https://cloud.google.com/memorystore/", + "preferred": true + }, + { + "kind": "discovery#directoryItem", + "id": "ml:v1", + "name": "ml", + "version": "v1", + "title": "AI Platform Training & Prediction API", + "description": "An API to enable creating and using machine learning models.", + "discoveryRestUrl": "https://ml.googleapis.com/$discovery/rest?version=v1", + "icons": { + "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", + "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" + }, + "documentationLink": "https://cloud.google.com/ml/", + "preferred": true + }, + { + "kind": "discovery#directoryItem", + "id": "monitoring:v1", + "name": "monitoring", + "version": "v1", + "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).", + "discoveryRestUrl": "https://monitoring.googleapis.com/$discovery/rest?version=v1", + "icons": { + "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", + "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" + }, + "documentationLink": "https://cloud.google.com/monitoring/api/", + "preferred": false + }, + { + "kind": "discovery#directoryItem", + "id": "monitoring:v3", + "name": "monitoring", + "version": "v3", + "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).", + "discoveryRestUrl": "https://monitoring.googleapis.com/$discovery/rest?version=v3", + "icons": { + "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", + "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" + }, + "documentationLink": "https://cloud.google.com/monitoring/api/", + "preferred": true + }, + { + "kind": "discovery#directoryItem", + "id": "networkmanagement:v1beta1", + "name": "networkmanagement", + "version": "v1beta1", + "title": "Network Management API", + "description": "The Network Management API provides a collection of network performance monitoring and diagnostic capabilities.", + "discoveryRestUrl": "https://networkmanagement.googleapis.com/$discovery/rest?version=v1beta1", + "icons": { + "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", + "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" + }, + "documentationLink": "https://cloud.google.com/", + "preferred": false + }, + { + "kind": "discovery#directoryItem", + "id": "networkmanagement:v1", + "name": "networkmanagement", + "version": "v1", + "title": "Network Management API", + "description": "The Network Management API provides a collection of network performance monitoring and diagnostic capabilities.", + "discoveryRestUrl": "https://networkmanagement.googleapis.com/$discovery/rest?version=v1", + "icons": { + "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", + "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" + }, + "documentationLink": "https://cloud.google.com/", + "preferred": true + }, + { + "kind": "discovery#directoryItem", + "id": "notebooks:v1", + "name": "notebooks", + "version": "v1", + "title": "Notebooks API", + "description": "AI Platform Notebooks API is used to manage notebook resources in Google Cloud.", + "discoveryRestUrl": "https://notebooks.googleapis.com/$discovery/rest?version=v1", + "icons": { + "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", + "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" + }, + "documentationLink": "https://cloud.google.com/ai-platform/notebooks/docs/", + "preferred": true + }, + { + "kind": "discovery#directoryItem", + "id": "oauth2:v2", + "name": "oauth2", + "version": "v2", + "title": "Google OAuth2 API", + "description": "[Deprecated] Obtains end-user authorization grants for use with other Google APIs.", + "discoveryRestUrl": "https://www.googleapis.com/discovery/v1/apis/oauth2/v2/rest", + "discoveryLink": "./apis/oauth2/v2/rest", + "icons": { + "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", + "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" + }, + "documentationLink": "https://developers.google.com/accounts/docs/OAuth2", + "preferred": true + }, + { + "kind": "discovery#directoryItem", + "id": "osconfig:v1alpha2", + "name": "osconfig", + "version": "v1alpha2", + "title": "OS Config API", + "description": "OS management tools that can be used for patch management, patch compliance, and configuration management on VM instances.", + "discoveryRestUrl": "https://osconfig.googleapis.com/$discovery/rest?version=v1alpha2", + "icons": { + "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", + "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" + }, + "documentationLink": "https://cloud.google.com/compute/docs/manage-os", + "preferred": false + }, + { + "kind": "discovery#directoryItem", + "id": "osconfig:v1beta", + "name": "osconfig", + "version": "v1beta", + "title": "OS Config API", + "description": "OS management tools that can be used for patch management, patch compliance, and configuration management on VM instances.", + "discoveryRestUrl": "https://osconfig.googleapis.com/$discovery/rest?version=v1beta", + "icons": { + "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", + "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" + }, + "documentationLink": "https://cloud.google.com/compute/docs/manage-os", + "preferred": false + }, + { + "kind": "discovery#directoryItem", + "id": "osconfig:v1", + "name": "osconfig", + "version": "v1", + "title": "OS Config API", + "description": "OS management tools that can be used for patch management, patch compliance, and configuration management on VM instances.", + "discoveryRestUrl": "https://osconfig.googleapis.com/$discovery/rest?version=v1", + "icons": { + "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", + "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" + }, + "documentationLink": "https://cloud.google.com/compute/docs/manage-os", + "preferred": true + }, + { + "kind": "discovery#directoryItem", + "id": "oslogin:v1alpha", + "name": "oslogin", + "version": "v1alpha", + "title": "Cloud OS Login API", + "description": "You can use OS Login to manage access to your VM instances using IAM roles.", + "discoveryRestUrl": "https://oslogin.googleapis.com/$discovery/rest?version=v1alpha", + "icons": { + "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", + "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" + }, + "documentationLink": "https://cloud.google.com/compute/docs/oslogin/", + "preferred": false + }, + { + "kind": "discovery#directoryItem", + "id": "oslogin:v1beta", + "name": "oslogin", + "version": "v1beta", + "title": "Cloud OS Login API", + "description": "You can use OS Login to manage access to your VM instances using IAM roles.", + "discoveryRestUrl": "https://oslogin.googleapis.com/$discovery/rest?version=v1beta", + "icons": { + "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", + "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" + }, + "documentationLink": "https://cloud.google.com/compute/docs/oslogin/", + "preferred": false + }, + { + "kind": "discovery#directoryItem", + "id": "oslogin:v1", + "name": "oslogin", + "version": "v1", + "title": "Cloud OS Login API", + "description": "You can use OS Login to manage access to your VM instances using IAM roles.", + "discoveryRestUrl": "https://oslogin.googleapis.com/$discovery/rest?version=v1", + "icons": { + "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", + "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" + }, + "documentationLink": "https://cloud.google.com/compute/docs/oslogin/", + "preferred": true + }, + { + "kind": "discovery#directoryItem", + "id": "pagespeedonline:v5", + "name": "pagespeedonline", + "version": "v5", + "title": "PageSpeed Insights API", + "description": "The PageSpeed Insights API lets you analyze the performance of your website with a simple API. It offers tailored suggestions for how you can optimize your site, and lets you easily integrate PageSpeed Insights analysis into your development tools and workflow.", + "discoveryRestUrl": "https://pagespeedonline.googleapis.com/$discovery/rest?version=v5", + "icons": { + "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", + "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" + }, + "documentationLink": "https://developers.google.com/speed/docs/insights/v5/about", + "preferred": true + }, + { + "kind": "discovery#directoryItem", + "id": "people:v1", + "name": "people", + "version": "v1", + "title": "People API", + "description": "Provides access to information about profiles and contacts.", + "discoveryRestUrl": "https://people.googleapis.com/$discovery/rest?version=v1", + "icons": { + "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", + "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" + }, + "documentationLink": "https://developers.google.com/people/", + "preferred": true + }, + { + "kind": "discovery#directoryItem", + "id": "playablelocations:v3", + "name": "playablelocations", + "version": "v3", + "title": "Playable Locations API", + "description": "", + "discoveryRestUrl": "https://playablelocations.googleapis.com/$discovery/rest?version=v3", + "icons": { + "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", + "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" + }, + "documentationLink": "https://developers.google.com/maps/contact-sales/", + "preferred": true + }, + { + "kind": "discovery#directoryItem", + "id": "playcustomapp:v1", + "name": "playcustomapp", + "version": "v1", + "title": "Google Play Custom App Publishing API", + "description": "API to create and publish custom Android apps", + "discoveryRestUrl": "https://playcustomapp.googleapis.com/$discovery/rest?version=v1", + "icons": { + "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", + "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" + }, + "documentationLink": "https://developers.google.com/android/work/play/custom-app-api/", + "preferred": true + }, + { + "kind": "discovery#directoryItem", + "id": "policytroubleshooter:v1beta", + "name": "policytroubleshooter", + "version": "v1beta", + "title": "Policy Troubleshooter API", + "description": "", + "discoveryRestUrl": "https://policytroubleshooter.googleapis.com/$discovery/rest?version=v1beta", + "icons": { + "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", + "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" + }, + "documentationLink": "https://cloud.google.com/iam/", + "preferred": false + }, + { + "kind": "discovery#directoryItem", + "id": "policytroubleshooter:v1", + "name": "policytroubleshooter", + "version": "v1", + "title": "Policy Troubleshooter API", + "description": "", + "discoveryRestUrl": "https://policytroubleshooter.googleapis.com/$discovery/rest?version=v1", + "icons": { + "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", + "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" + }, + "documentationLink": "https://cloud.google.com/iam/", + "preferred": true + }, + { + "kind": "discovery#directoryItem", + "id": "poly:v1", + "name": "poly", + "version": "v1", + "title": "Poly API", + "description": "The Poly API provides read access to assets hosted on poly.google.com to all, and upload access to poly.google.com for whitelisted accounts.", + "discoveryRestUrl": "https://poly.googleapis.com/$discovery/rest?version=v1", + "icons": { + "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", + "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" + }, + "documentationLink": "https://developers.google.com/poly/", + "preferred": true + }, + { + "kind": "discovery#directoryItem", + "id": "privateca:v1beta1", + "name": "privateca", + "version": "v1beta1", + "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.\"", + "discoveryRestUrl": "https://privateca.googleapis.com/$discovery/rest?version=v1beta1", + "icons": { + "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", + "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" + }, + "documentationLink": "https://cloud.google.com/", + "preferred": true + }, + { + "kind": "discovery#directoryItem", + "id": "prod_tt_sasportal:v1alpha1", + "name": "prod_tt_sasportal", + "version": "v1alpha1", + "title": "SAS Portal API (Testing)", + "description": "", + "discoveryRestUrl": "https://prod-tt-sasportal.googleapis.com/$discovery/rest?version=v1alpha1", + "icons": { + "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", + "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" + }, + "documentationLink": "https://developers.google.com/spectrum-access-system/", + "preferred": true + }, + { + "kind": "discovery#directoryItem", + "id": "pubsub:v1beta1a", + "name": "pubsub", + "version": "v1beta1a", + "title": "Cloud Pub/Sub API", + "description": "Provides reliable, many-to-many, asynchronous messaging between applications.", + "discoveryRestUrl": "https://pubsub.googleapis.com/$discovery/rest?version=v1beta1a", + "icons": { + "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", + "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" + }, + "documentationLink": "https://cloud.google.com/pubsub/docs", + "preferred": false + }, + { + "kind": "discovery#directoryItem", + "id": "pubsub:v1beta2", + "name": "pubsub", + "version": "v1beta2", + "title": "Cloud Pub/Sub API", + "description": "Provides reliable, many-to-many, asynchronous messaging between applications.", + "discoveryRestUrl": "https://pubsub.googleapis.com/$discovery/rest?version=v1beta2", + "icons": { + "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", + "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" + }, + "documentationLink": "https://cloud.google.com/pubsub/docs", + "preferred": false + }, + { + "kind": "discovery#directoryItem", + "id": "pubsub:v1", + "name": "pubsub", + "version": "v1", + "title": "Cloud Pub/Sub API", + "description": "Provides reliable, many-to-many, asynchronous messaging between applications.", + "discoveryRestUrl": "https://pubsub.googleapis.com/$discovery/rest?version=v1", + "icons": { + "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", + "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" + }, + "documentationLink": "https://cloud.google.com/pubsub/docs", + "preferred": true + }, + { + "kind": "discovery#directoryItem", + "id": "pubsublite:v1", + "name": "pubsublite", + "version": "v1", + "title": "Pub/Sub Lite API", + "description": "", + "discoveryRestUrl": "https://pubsublite.googleapis.com/$discovery/rest?version=v1", + "icons": { + "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", + "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" + }, + "documentationLink": "https://cloud.google.com/pubsub/lite/docs", + "preferred": true + }, + { + "kind": "discovery#directoryItem", + "id": "realtimebidding:v1", + "name": "realtimebidding", + "version": "v1", + "title": "Real-time Bidding API", + "description": "Allows external bidders to manage their RTB integration with Google. This includes managing bidder endpoints, QPS quotas, configuring what ad inventory to receive via pretargeting, submitting creatives for verification, and accessing creative metadata such as approval status.", + "discoveryRestUrl": "https://realtimebidding.googleapis.com/$discovery/rest?version=v1", + "icons": { + "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", + "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" + }, + "documentationLink": "https://developers.google.com/authorized-buyers/apis/realtimebidding/reference/rest/", + "preferred": true + }, + { + "kind": "discovery#directoryItem", + "id": "recommendationengine:v1beta1", + "name": "recommendationengine", + "version": "v1beta1", + "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.", + "discoveryRestUrl": "https://recommendationengine.googleapis.com/$discovery/rest?version=v1beta1", + "icons": { + "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", + "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" + }, + "documentationLink": "https://cloud.google.com/recommendations-ai/docs", + "preferred": true + }, + { + "kind": "discovery#directoryItem", + "id": "recommender:v1beta1", + "name": "recommender", + "version": "v1beta1", + "title": "Recommender API", + "description": "", + "discoveryRestUrl": "https://recommender.googleapis.com/$discovery/rest?version=v1beta1", + "icons": { + "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", + "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" + }, + "documentationLink": "https://cloud.google.com/recommender/docs/", + "preferred": false + }, + { + "kind": "discovery#directoryItem", + "id": "recommender:v1", + "name": "recommender", + "version": "v1", + "title": "Recommender API", + "description": "", + "discoveryRestUrl": "https://recommender.googleapis.com/$discovery/rest?version=v1", + "icons": { + "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", + "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" + }, + "documentationLink": "https://cloud.google.com/recommender/docs/", + "preferred": true + }, + { + "kind": "discovery#directoryItem", + "id": "redis:v1beta1", + "name": "redis", + "version": "v1beta1", + "title": "Google Cloud Memorystore for Redis API", + "description": "Creates and manages Redis instances on the Google Cloud Platform.", + "discoveryRestUrl": "https://redis.googleapis.com/$discovery/rest?version=v1beta1", + "icons": { + "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", + "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" + }, + "documentationLink": "https://cloud.google.com/memorystore/docs/redis/", + "preferred": false + }, + { + "kind": "discovery#directoryItem", + "id": "redis:v1", + "name": "redis", + "version": "v1", + "title": "Google Cloud Memorystore for Redis API", + "description": "Creates and manages Redis instances on the Google Cloud Platform.", + "discoveryRestUrl": "https://redis.googleapis.com/$discovery/rest?version=v1", + "icons": { + "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", + "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" + }, + "documentationLink": "https://cloud.google.com/memorystore/docs/redis/", + "preferred": true + }, + { + "kind": "discovery#directoryItem", + "id": "remotebuildexecution:v1alpha", + "name": "remotebuildexecution", + "version": "v1alpha", + "title": "Remote Build Execution API", + "description": "Supplies a Remote Execution API service for tools such as bazel.", + "discoveryRestUrl": "https://remotebuildexecution.googleapis.com/$discovery/rest?version=v1alpha", + "icons": { + "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", + "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" + }, + "documentationLink": "https://cloud.google.com/remote-build-execution/docs/", + "preferred": false + }, + { + "kind": "discovery#directoryItem", + "id": "remotebuildexecution:v1", + "name": "remotebuildexecution", + "version": "v1", + "title": "Remote Build Execution API", + "description": "Supplies a Remote Execution API service for tools such as bazel.", + "discoveryRestUrl": "https://remotebuildexecution.googleapis.com/$discovery/rest?version=v1", + "icons": { + "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", + "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" + }, + "documentationLink": "https://cloud.google.com/remote-build-execution/docs/", + "preferred": false + }, + { + "kind": "discovery#directoryItem", + "id": "remotebuildexecution:v2", + "name": "remotebuildexecution", + "version": "v2", + "title": "Remote Build Execution API", + "description": "Supplies a Remote Execution API service for tools such as bazel.", + "discoveryRestUrl": "https://remotebuildexecution.googleapis.com/$discovery/rest?version=v2", + "icons": { + "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", + "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" + }, + "documentationLink": "https://cloud.google.com/remote-build-execution/docs/", + "preferred": true + }, + { + "kind": "discovery#directoryItem", + "id": "reseller:v1", + "name": "reseller", + "version": "v1", + "title": "Google Workspace Reseller API", + "description": "Perform common functions that are available on the Google Apps Reseller Console at scale like placing orders and viewing customer information", + "discoveryRestUrl": "https://reseller.googleapis.com/$discovery/rest?version=v1", + "icons": { + "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", + "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" + }, + "documentationLink": "https://developers.google.com/google-apps/reseller/", + "preferred": true + }, + { + "kind": "discovery#directoryItem", + "id": "run:v1alpha1", + "name": "run", + "version": "v1alpha1", + "title": "Cloud Run Admin API", + "description": "Deploy and manage user provided container images that scale automatically based on HTTP traffic.", + "discoveryRestUrl": "https://run.googleapis.com/$discovery/rest?version=v1alpha1", + "icons": { + "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", + "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" + }, + "documentationLink": "https://cloud.google.com/run/", + "preferred": false + }, + { + "kind": "discovery#directoryItem", + "id": "run:v1beta1", + "name": "run", + "version": "v1beta1", + "title": "Cloud Run Admin API", + "description": "Deploy and manage user provided container images that scale automatically based on HTTP traffic.", + "discoveryRestUrl": "https://run.googleapis.com/$discovery/rest?version=v1beta1", + "icons": { + "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", + "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" + }, + "documentationLink": "https://cloud.google.com/run/", + "preferred": false + }, + { + "kind": "discovery#directoryItem", + "id": "run:v1", + "name": "run", + "version": "v1", + "title": "Cloud Run Admin API", + "description": "Deploy and manage user provided container images that scale automatically based on HTTP traffic.", + "discoveryRestUrl": "https://run.googleapis.com/$discovery/rest?version=v1", + "icons": { + "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", + "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" + }, + "documentationLink": "https://cloud.google.com/run/", + "preferred": true + }, + { + "kind": "discovery#directoryItem", + "id": "runtimeconfig:v1beta1", + "name": "runtimeconfig", + "version": "v1beta1", + "title": "Cloud Runtime Configuration API", + "description": "The Runtime Configurator allows you to dynamically configure and expose variables through Google Cloud Platform. In addition, you can also set Watchers and Waiters that will watch for changes to your data and return based on certain conditions.", + "discoveryRestUrl": "https://runtimeconfig.googleapis.com/$discovery/rest?version=v1beta1", + "icons": { + "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", + "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" + }, + "documentationLink": "https://cloud.google.com/deployment-manager/runtime-configurator/", + "preferred": false + }, + { + "kind": "discovery#directoryItem", + "id": "runtimeconfig:v1", + "name": "runtimeconfig", + "version": "v1", + "title": "Cloud Runtime Configuration API", + "description": "The Runtime Configurator allows you to dynamically configure and expose variables through Google Cloud Platform. In addition, you can also set Watchers and Waiters that will watch for changes to your data and return based on certain conditions.", + "discoveryRestUrl": "https://runtimeconfig.googleapis.com/$discovery/rest?version=v1", + "icons": { + "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", + "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" + }, + "documentationLink": "https://cloud.google.com/deployment-manager/runtime-configurator/", + "preferred": true + }, + { + "kind": "discovery#directoryItem", + "id": "safebrowsing:v4", + "name": "safebrowsing", + "version": "v4", + "title": "Safe Browsing API", + "description": "Enables client applications to check web resources (most commonly URLs) against Google-generated lists of unsafe web resources. The Safe Browsing APIs are for non-commercial use only. If you need to use APIs to detect malicious URLs for commercial purposes – meaning “for sale or revenue-generating purposes” – please refer to the Web Risk API.", + "discoveryRestUrl": "https://safebrowsing.googleapis.com/$discovery/rest?version=v4", + "icons": { + "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", + "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" + }, + "documentationLink": "https://developers.google.com/safe-browsing/", + "preferred": true + }, + { + "kind": "discovery#directoryItem", + "id": "sasportal:v1alpha1", + "name": "sasportal", + "version": "v1alpha1", + "title": "SAS Portal API", + "description": "", + "discoveryRestUrl": "https://sasportal.googleapis.com/$discovery/rest?version=v1alpha1", + "icons": { + "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", + "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" + }, + "documentationLink": "https://developers.google.com/spectrum-access-system/", + "preferred": true + }, + { + "kind": "discovery#directoryItem", + "id": "script:v1", + "name": "script", + "version": "v1", + "title": "Apps Script API", + "description": "Manages and executes Google Apps Script projects.", + "discoveryRestUrl": "https://script.googleapis.com/$discovery/rest?version=v1", + "icons": { + "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", + "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" + }, + "documentationLink": "https://developers.google.com/apps-script/api/", + "preferred": true + }, + { + "kind": "discovery#directoryItem", + "id": "searchconsole:v1", + "name": "searchconsole", + "version": "v1", + "title": "Google Search Console API", + "description": "The Search Console API provides access to both Search Console data (verified users only) and to public information on an URL basis (anyone)", + "discoveryRestUrl": "https://searchconsole.googleapis.com/$discovery/rest?version=v1", + "icons": { + "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", + "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" + }, + "documentationLink": "https://developers.google.com/webmaster-tools/search-console-api/", + "preferred": true + }, + { + "kind": "discovery#directoryItem", + "id": "secretmanager:v1beta1", + "name": "secretmanager", + "version": "v1beta1", + "title": "Secret Manager API", + "description": "Stores sensitive data such as API keys, passwords, and certificates. Provides convenience while improving security.", + "discoveryRestUrl": "https://secretmanager.googleapis.com/$discovery/rest?version=v1beta1", + "icons": { + "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", + "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" + }, + "documentationLink": "https://cloud.google.com/secret-manager/", + "preferred": false + }, + { + "kind": "discovery#directoryItem", + "id": "secretmanager:v1", + "name": "secretmanager", + "version": "v1", + "title": "Secret Manager API", + "description": "Stores sensitive data such as API keys, passwords, and certificates. Provides convenience while improving security.", + "discoveryRestUrl": "https://secretmanager.googleapis.com/$discovery/rest?version=v1", + "icons": { + "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", + "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" + }, + "documentationLink": "https://cloud.google.com/secret-manager/", + "preferred": true + }, + { + "kind": "discovery#directoryItem", + "id": "securitycenter:v1beta1", + "name": "securitycenter", + "version": "v1beta1", + "title": "Security Command Center API", + "description": "Security Command Center API provides access to temporal views of assets and findings within an organization.", + "discoveryRestUrl": "https://securitycenter.googleapis.com/$discovery/rest?version=v1beta1", + "icons": { + "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", + "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" + }, + "documentationLink": "https://console.cloud.google.com/apis/api/securitycenter.googleapis.com/overview", + "preferred": false + }, + { + "kind": "discovery#directoryItem", + "id": "securitycenter:v1beta2", + "name": "securitycenter", + "version": "v1beta2", + "title": "Security Command Center API", + "description": "Security Command Center API provides access to temporal views of assets and findings within an organization.", + "discoveryRestUrl": "https://securitycenter.googleapis.com/$discovery/rest?version=v1beta2", + "icons": { + "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", + "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" + }, + "documentationLink": "https://console.cloud.google.com/apis/api/securitycenter.googleapis.com/overview", + "preferred": false + }, + { + "kind": "discovery#directoryItem", + "id": "securitycenter:v1", + "name": "securitycenter", + "version": "v1", + "title": "Security Command Center API", + "description": "Security Command Center API provides access to temporal views of assets and findings within an organization.", + "discoveryRestUrl": "https://securitycenter.googleapis.com/$discovery/rest?version=v1", + "icons": { + "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", + "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" + }, + "documentationLink": "https://console.cloud.google.com/apis/api/securitycenter.googleapis.com/overview", + "preferred": true + }, + { + "kind": "discovery#directoryItem", + "id": "serviceconsumermanagement:v1beta1", + "name": "serviceconsumermanagement", + "version": "v1beta1", + "title": "Service Consumer Management API", + "description": "Manages the service consumers of a Service Infrastructure service.", + "discoveryRestUrl": "https://serviceconsumermanagement.googleapis.com/$discovery/rest?version=v1beta1", + "icons": { + "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", + "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" + }, + "documentationLink": "https://cloud.google.com/service-consumer-management/docs/overview", + "preferred": false + }, + { + "kind": "discovery#directoryItem", + "id": "serviceconsumermanagement:v1", + "name": "serviceconsumermanagement", + "version": "v1", + "title": "Service Consumer Management API", + "description": "Manages the service consumers of a Service Infrastructure service.", + "discoveryRestUrl": "https://serviceconsumermanagement.googleapis.com/$discovery/rest?version=v1", + "icons": { + "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", + "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" + }, + "documentationLink": "https://cloud.google.com/service-consumer-management/docs/overview", + "preferred": true + }, + { + "kind": "discovery#directoryItem", + "id": "servicecontrol:v1", + "name": "servicecontrol", + "version": "v1", + "title": "Service Control API", + "description": "Provides control plane functionality to managed services, such as logging, monitoring, and status checks.", + "discoveryRestUrl": "https://servicecontrol.googleapis.com/$discovery/rest?version=v1", + "icons": { + "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", + "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" + }, + "documentationLink": "https://cloud.google.com/service-control/", + "preferred": false + }, + { + "kind": "discovery#directoryItem", + "id": "servicecontrol:v2", + "name": "servicecontrol", + "version": "v2", + "title": "Service Control API", + "description": "Provides control plane functionality to managed services, such as logging, monitoring, and status checks.", + "discoveryRestUrl": "https://servicecontrol.googleapis.com/$discovery/rest?version=v2", + "icons": { + "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", + "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" + }, + "documentationLink": "https://cloud.google.com/service-control/", + "preferred": true + }, + { + "kind": "discovery#directoryItem", + "id": "servicedirectory:v1beta1", + "name": "servicedirectory", + "version": "v1beta1", + "title": "Service Directory API", + "description": "Service Directory is a platform for discovering, publishing, and connecting services.", + "discoveryRestUrl": "https://servicedirectory.googleapis.com/$discovery/rest?version=v1beta1", + "icons": { + "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", + "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" + }, + "documentationLink": "https://cloud.google.com/service-directory", + "preferred": true + }, + { + "kind": "discovery#directoryItem", + "id": "servicemanagement:v1", + "name": "servicemanagement", + "version": "v1", + "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.", + "discoveryRestUrl": "https://servicemanagement.googleapis.com/$discovery/rest?version=v1", + "icons": { + "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", + "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" + }, + "documentationLink": "https://cloud.google.com/service-management/", + "preferred": true + }, + { + "kind": "discovery#directoryItem", + "id": "servicenetworking:v1beta", + "name": "servicenetworking", + "version": "v1beta", + "title": "Service Networking API", + "description": "Provides automatic management of network configurations necessary for certain services.", + "discoveryRestUrl": "https://servicenetworking.googleapis.com/$discovery/rest?version=v1beta", + "icons": { + "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", + "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" + }, + "documentationLink": "https://cloud.google.com/service-infrastructure/docs/service-networking/getting-started", + "preferred": false + }, + { + "kind": "discovery#directoryItem", + "id": "servicenetworking:v1", + "name": "servicenetworking", + "version": "v1", + "title": "Service Networking API", + "description": "Provides automatic management of network configurations necessary for certain services.", + "discoveryRestUrl": "https://servicenetworking.googleapis.com/$discovery/rest?version=v1", + "icons": { + "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", + "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" + }, + "documentationLink": "https://cloud.google.com/service-infrastructure/docs/service-networking/getting-started", + "preferred": true + }, + { + "kind": "discovery#directoryItem", + "id": "serviceusage:v1beta1", + "name": "serviceusage", + "version": "v1beta1", + "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.", + "discoveryRestUrl": "https://serviceusage.googleapis.com/$discovery/rest?version=v1beta1", + "icons": { + "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", + "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" + }, + "documentationLink": "https://cloud.google.com/service-usage/", + "preferred": false + }, + { + "kind": "discovery#directoryItem", + "id": "serviceusage:v1", + "name": "serviceusage", + "version": "v1", + "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.", + "discoveryRestUrl": "https://serviceusage.googleapis.com/$discovery/rest?version=v1", + "icons": { + "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", + "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" + }, + "documentationLink": "https://cloud.google.com/service-usage/", + "preferred": true + }, + { + "kind": "discovery#directoryItem", + "id": "sheets:v4", + "name": "sheets", + "version": "v4", + "title": "Google Sheets API", + "description": "Reads and writes Google Sheets.", + "discoveryRestUrl": "https://sheets.googleapis.com/$discovery/rest?version=v4", + "icons": { + "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", + "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" + }, + "documentationLink": "https://developers.google.com/sheets/", + "preferred": true + }, + { + "kind": "discovery#directoryItem", + "id": "siteVerification:v1", + "name": "siteVerification", + "version": "v1", + "title": "Site Verification API", + "description": "The Google Site Verification API lets applications automate the process of managing ownership records for websites and domains.", + "discoveryRestUrl": "https://siteverification.googleapis.com/$discovery/rest?version=v1", + "icons": { + "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", + "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" + }, + "documentationLink": "https://code.google.com/apis/siteverification/", + "preferred": true + }, + { + "kind": "discovery#directoryItem", + "id": "slides:v1", + "name": "slides", + "version": "v1", + "title": "Google Slides API", + "description": "Reads and writes Google Slides presentations.", + "discoveryRestUrl": "https://slides.googleapis.com/$discovery/rest?version=v1", + "icons": { + "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", + "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" + }, + "documentationLink": "https://developers.google.com/slides/", + "preferred": true + }, + { + "kind": "discovery#directoryItem", + "id": "smartdevicemanagement:v1", + "name": "smartdevicemanagement", + "version": "v1", + "title": "Smart Device Management API", + "description": "Allow select enterprise partners to access, control, and manage Google and Nest devices programmatically.", + "discoveryRestUrl": "https://smartdevicemanagement.googleapis.com/$discovery/rest?version=v1", + "icons": { + "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", + "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" + }, + "documentationLink": "https://developers.google.com/nest/device-access", + "preferred": true + }, + { + "kind": "discovery#directoryItem", + "id": "sourcerepo:v1", + "name": "sourcerepo", + "version": "v1", + "title": "Cloud Source Repositories API", + "description": "Accesses source code repositories hosted by Google.", + "discoveryRestUrl": "https://sourcerepo.googleapis.com/$discovery/rest?version=v1", + "icons": { + "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", + "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" + }, + "documentationLink": "https://cloud.google.com/source-repositories/docs/apis", + "preferred": true + }, + { + "kind": "discovery#directoryItem", + "id": "spanner:v1", + "name": "spanner", + "version": "v1", + "title": "Cloud Spanner API", + "description": "Cloud Spanner is a managed, mission-critical, globally consistent and scalable relational database service.", + "discoveryRestUrl": "https://spanner.googleapis.com/$discovery/rest?version=v1", + "icons": { + "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", + "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" + }, + "documentationLink": "https://cloud.google.com/spanner/", + "preferred": true + }, + { + "kind": "discovery#directoryItem", + "id": "speech:v1p1beta1", + "name": "speech", + "version": "v1p1beta1", + "title": "Cloud Speech-to-Text API", + "description": "Converts audio to text by applying powerful neural network models.", + "discoveryRestUrl": "https://speech.googleapis.com/$discovery/rest?version=v1p1beta1", + "icons": { + "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", + "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" + }, + "documentationLink": "https://cloud.google.com/speech-to-text/docs/quickstart-protocol", + "preferred": false + }, + { + "kind": "discovery#directoryItem", + "id": "speech:v2beta1", + "name": "speech", + "version": "v2beta1", + "title": "Cloud Speech-to-Text API", + "description": "Converts audio to text by applying powerful neural network models.", + "discoveryRestUrl": "https://speech.googleapis.com/$discovery/rest?version=v2beta1", + "icons": { + "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", + "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" + }, + "documentationLink": "https://cloud.google.com/speech-to-text/docs/quickstart-protocol", + "preferred": false + }, + { + "kind": "discovery#directoryItem", + "id": "speech:v1", + "name": "speech", + "version": "v1", + "title": "Cloud Speech-to-Text API", + "description": "Converts audio to text by applying powerful neural network models.", + "discoveryRestUrl": "https://speech.googleapis.com/$discovery/rest?version=v1", + "icons": { + "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", + "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" + }, + "documentationLink": "https://cloud.google.com/speech-to-text/docs/quickstart-protocol", + "preferred": true + }, + { + "kind": "discovery#directoryItem", + "id": "sqladmin:v1beta4", + "name": "sqladmin", + "version": "v1beta4", + "title": "Cloud SQL Admin API", + "description": "API for Cloud SQL database instance management", + "discoveryRestUrl": "https://sqladmin.googleapis.com/$discovery/rest?version=v1beta4", + "icons": { + "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", + "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" + }, + "documentationLink": "https://developers.google.com/cloud-sql/", + "preferred": true + }, + { + "kind": "discovery#directoryItem", + "id": "storage:v1", + "name": "storage", + "version": "v1", + "title": "Cloud Storage API", + "description": "Lets you store and retrieve potentially-large, immutable data objects.", + "discoveryRestUrl": "https://storage.googleapis.com/$discovery/rest?version=v1", + "icons": { + "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", + "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" + }, + "documentationLink": "https://developers.google.com/storage/docs/json_api/v1/", + "preferred": true + }, + { + "kind": "discovery#directoryItem", + "id": "storagetransfer:v1", + "name": "storagetransfer", + "version": "v1", + "title": "Storage Transfer API", + "description": "Transfers data from external data sources to a Google Cloud Storage bucket or between Google Cloud Storage buckets.", + "discoveryRestUrl": "https://storagetransfer.googleapis.com/$discovery/rest?version=v1", + "icons": { + "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", + "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" + }, + "documentationLink": "https://cloud.google.com/storage-transfer/docs", + "preferred": true + }, + { + "kind": "discovery#directoryItem", + "id": "streetviewpublish:v1", + "name": "streetviewpublish", + "version": "v1", + "title": "Street View Publish API", + "description": "Publishes 360 photos to Google Maps, along with position, orientation, and connectivity metadata. Apps can offer an interface for positioning, connecting, and uploading user-generated Street View images.", + "discoveryRestUrl": "https://streetviewpublish.googleapis.com/$discovery/rest?version=v1", + "icons": { + "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", + "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" + }, + "documentationLink": "https://developers.google.com/streetview/publish/", + "preferred": true + }, + { + "kind": "discovery#directoryItem", + "id": "sts:v1beta", + "name": "sts", + "version": "v1beta", + "title": "Security Token Service API", + "description": "The Security Token Service exchanges Google or third-party credentials for a short-lived access token to Google Cloud resources.", + "discoveryRestUrl": "https://sts.googleapis.com/$discovery/rest?version=v1beta", + "icons": { + "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", + "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" + }, + "documentationLink": "http://cloud.google.com/iam/docs/workload-identity-federation", + "preferred": false + }, + { + "kind": "discovery#directoryItem", + "id": "sts:v1", + "name": "sts", + "version": "v1", + "title": "Security Token Service API", + "description": "The Security Token Service exchanges Google or third-party credentials for a short-lived access token to Google Cloud resources.", + "discoveryRestUrl": "https://sts.googleapis.com/$discovery/rest?version=v1", + "icons": { + "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", + "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" + }, + "documentationLink": "http://cloud.google.com/iam/docs/workload-identity-federation", + "preferred": true + }, + { + "kind": "discovery#directoryItem", + "id": "tagmanager:v1", + "name": "tagmanager", + "version": "v1", + "title": "Tag Manager API", + "description": "This API allows clients to access and modify container and tag configuration.", + "discoveryRestUrl": "https://tagmanager.googleapis.com/$discovery/rest?version=v1", + "icons": { + "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", + "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" + }, + "documentationLink": "https://developers.google.com/tag-manager", + "preferred": false + }, + { + "kind": "discovery#directoryItem", + "id": "tagmanager:v2", + "name": "tagmanager", + "version": "v2", + "title": "Tag Manager API", + "description": "This API allows clients to access and modify container and tag configuration.", + "discoveryRestUrl": "https://tagmanager.googleapis.com/$discovery/rest?version=v2", + "icons": { + "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", + "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" + }, + "documentationLink": "https://developers.google.com/tag-manager", + "preferred": true + }, + { + "kind": "discovery#directoryItem", + "id": "tasks:v1", + "name": "tasks", + "version": "v1", + "title": "Tasks API", + "description": "The Google Tasks API lets you manage your tasks and task lists.", + "discoveryRestUrl": "https://tasks.googleapis.com/$discovery/rest?version=v1", + "icons": { + "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", + "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" + }, + "preferred": true + }, + { + "kind": "discovery#directoryItem", + "id": "testing:v1", + "name": "testing", + "version": "v1", + "title": "Cloud Testing API", + "description": "Allows developers to run automated tests for their mobile applications on Google infrastructure.", + "discoveryRestUrl": "https://testing.googleapis.com/$discovery/rest?version=v1", + "icons": { + "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", + "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" + }, + "documentationLink": "https://developers.google.com/cloud-test-lab/", + "preferred": true + }, + { + "kind": "discovery#directoryItem", + "id": "texttospeech:v1beta1", + "name": "texttospeech", + "version": "v1beta1", + "title": "Cloud Text-to-Speech API", + "description": "Synthesizes natural-sounding speech by applying powerful neural network models.", + "discoveryRestUrl": "https://texttospeech.googleapis.com/$discovery/rest?version=v1beta1", + "icons": { + "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", + "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" + }, + "documentationLink": "https://cloud.google.com/text-to-speech/", + "preferred": false + }, + { + "kind": "discovery#directoryItem", + "id": "texttospeech:v1", + "name": "texttospeech", + "version": "v1", + "title": "Cloud Text-to-Speech API", + "description": "Synthesizes natural-sounding speech by applying powerful neural network models.", + "discoveryRestUrl": "https://texttospeech.googleapis.com/$discovery/rest?version=v1", + "icons": { + "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", + "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" + }, + "documentationLink": "https://cloud.google.com/text-to-speech/", + "preferred": true + }, + { + "kind": "discovery#directoryItem", + "id": "toolresults:v1beta3", + "name": "toolresults", + "version": "v1beta3", + "title": "Cloud Tool Results API", + "description": "API to publish and access results from developer tools.", + "discoveryRestUrl": "https://toolresults.googleapis.com/$discovery/rest?version=v1beta3", + "icons": { + "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", + "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" + }, + "documentationLink": "https://firebase.google.com/docs/test-lab/", + "preferred": true + }, + { + "kind": "discovery#directoryItem", + "id": "tpu:v1alpha1", + "name": "tpu", + "version": "v1alpha1", + "title": "Cloud TPU API", + "description": "TPU API provides customers with access to Google TPU technology.", + "discoveryRestUrl": "https://tpu.googleapis.com/$discovery/rest?version=v1alpha1", + "icons": { + "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", + "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" + }, + "documentationLink": "https://cloud.google.com/tpu/", + "preferred": false + }, + { + "kind": "discovery#directoryItem", + "id": "tpu:v1", + "name": "tpu", + "version": "v1", + "title": "Cloud TPU API", + "description": "TPU API provides customers with access to Google TPU technology.", + "discoveryRestUrl": "https://tpu.googleapis.com/$discovery/rest?version=v1", + "icons": { + "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", + "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" + }, + "documentationLink": "https://cloud.google.com/tpu/", + "preferred": true + }, + { + "kind": "discovery#directoryItem", + "id": "trafficdirector:v2", + "name": "trafficdirector", + "version": "v2", + "title": "Traffic Director API", + "description": "", + "discoveryRestUrl": "https://trafficdirector.googleapis.com/$discovery/rest?version=v2", + "icons": { + "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", + "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" + }, + "documentationLink": "https://cloud.google.com/traffic-director", + "preferred": true + }, + { + "kind": "discovery#directoryItem", + "id": "transcoder:v1beta1", + "name": "transcoder", + "version": "v1beta1", + "title": "Transcoder API", + "description": "This API converts video files into formats suitable for consumer distribution.", + "discoveryRestUrl": "https://transcoder.googleapis.com/$discovery/rest?version=v1beta1", + "icons": { + "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", + "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" + }, + "documentationLink": "https://cloud.google.com/transcoder/docs/", + "preferred": true + }, + { + "kind": "discovery#directoryItem", + "id": "translate:v3beta1", + "name": "translate", + "version": "v3beta1", + "title": "Cloud Translation API", + "description": "Integrates text translation into your website or application.", + "discoveryRestUrl": "https://translation.googleapis.com/$discovery/rest?version=v3beta1", + "icons": { + "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", + "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" + }, + "documentationLink": "https://cloud.google.com/translate/docs/quickstarts", + "preferred": false + }, + { + "kind": "discovery#directoryItem", + "id": "translate:v2", + "name": "translate", + "version": "v2", + "title": "Cloud Translation API", + "description": "Integrates text translation into your website or application.", + "discoveryRestUrl": "https://translation.googleapis.com/$discovery/rest?version=v2", + "icons": { + "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", + "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" + }, + "documentationLink": "https://cloud.google.com/translate/docs/quickstarts", + "preferred": false + }, + { + "kind": "discovery#directoryItem", + "id": "translate:v3", + "name": "translate", + "version": "v3", + "title": "Cloud Translation API", + "description": "Integrates text translation into your website or application.", + "discoveryRestUrl": "https://translation.googleapis.com/$discovery/rest?version=v3", + "icons": { + "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", + "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" + }, + "documentationLink": "https://cloud.google.com/translate/docs/quickstarts", + "preferred": true + }, + { + "kind": "discovery#directoryItem", + "id": "vault:v1", + "name": "vault", + "version": "v1", + "title": "G Suite Vault API", + "description": "Archiving and eDiscovery for G Suite.", + "discoveryRestUrl": "https://vault.googleapis.com/$discovery/rest?version=v1", + "icons": { + "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", + "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" + }, + "documentationLink": "https://developers.google.com/vault", + "preferred": true + }, + { + "kind": "discovery#directoryItem", + "id": "vectortile:v1", + "name": "vectortile", + "version": "v1", + "title": "Semantic Tile API", + "description": "Serves vector tiles containing geospatial data.", + "discoveryRestUrl": "https://vectortile.googleapis.com/$discovery/rest?version=v1", + "icons": { + "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", + "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" + }, + "documentationLink": "https://developers.google.com/maps/contact-sales/", + "preferred": true + }, + { + "kind": "discovery#directoryItem", + "id": "verifiedaccess:v1", + "name": "verifiedaccess", + "version": "v1", + "title": "Chrome Verified Access API", + "description": "API for Verified Access chrome extension to provide credential verification for chrome devices connecting to an enterprise network", + "discoveryRestUrl": "https://verifiedaccess.googleapis.com/$discovery/rest?version=v1", + "icons": { + "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", + "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" + }, + "documentationLink": "https://developers.google.com/chrome/verified-access", + "preferred": true + }, + { + "kind": "discovery#directoryItem", + "id": "videointelligence:v1p1beta1", + "name": "videointelligence", + "version": "v1p1beta1", + "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.", + "discoveryRestUrl": "https://videointelligence.googleapis.com/$discovery/rest?version=v1p1beta1", + "icons": { + "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", + "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" + }, + "documentationLink": "https://cloud.google.com/video-intelligence/docs/", + "preferred": false + }, + { + "kind": "discovery#directoryItem", + "id": "videointelligence:v1p2beta1", + "name": "videointelligence", + "version": "v1p2beta1", + "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.", + "discoveryRestUrl": "https://videointelligence.googleapis.com/$discovery/rest?version=v1p2beta1", + "icons": { + "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", + "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" + }, + "documentationLink": "https://cloud.google.com/video-intelligence/docs/", + "preferred": false + }, + { + "kind": "discovery#directoryItem", + "id": "videointelligence:v1p3beta1", + "name": "videointelligence", + "version": "v1p3beta1", + "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.", + "discoveryRestUrl": "https://videointelligence.googleapis.com/$discovery/rest?version=v1p3beta1", + "icons": { + "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", + "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" + }, + "documentationLink": "https://cloud.google.com/video-intelligence/docs/", + "preferred": false + }, + { + "kind": "discovery#directoryItem", + "id": "videointelligence:v1beta2", + "name": "videointelligence", + "version": "v1beta2", + "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.", + "discoveryRestUrl": "https://videointelligence.googleapis.com/$discovery/rest?version=v1beta2", + "icons": { + "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", + "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" + }, + "documentationLink": "https://cloud.google.com/video-intelligence/docs/", + "preferred": false + }, + { + "kind": "discovery#directoryItem", + "id": "videointelligence:v1", + "name": "videointelligence", + "version": "v1", + "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.", + "discoveryRestUrl": "https://videointelligence.googleapis.com/$discovery/rest?version=v1", + "icons": { + "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", + "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" + }, + "documentationLink": "https://cloud.google.com/video-intelligence/docs/", + "preferred": true + }, + { + "kind": "discovery#directoryItem", + "id": "vision:v1p1beta1", + "name": "vision", + "version": "v1p1beta1", + "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.", + "discoveryRestUrl": "https://vision.googleapis.com/$discovery/rest?version=v1p1beta1", + "icons": { + "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", + "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" + }, + "documentationLink": "https://cloud.google.com/vision/", + "preferred": false + }, + { + "kind": "discovery#directoryItem", + "id": "vision:v1p2beta1", + "name": "vision", + "version": "v1p2beta1", + "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.", + "discoveryRestUrl": "https://vision.googleapis.com/$discovery/rest?version=v1p2beta1", + "icons": { + "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", + "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" + }, + "documentationLink": "https://cloud.google.com/vision/", + "preferred": false + }, + { + "kind": "discovery#directoryItem", + "id": "vision:v1", + "name": "vision", + "version": "v1", + "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.", + "discoveryRestUrl": "https://vision.googleapis.com/$discovery/rest?version=v1", + "icons": { + "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", + "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" + }, + "documentationLink": "https://cloud.google.com/vision/", + "preferred": true + }, + { + "kind": "discovery#directoryItem", + "id": "webfonts:v1", + "name": "webfonts", + "version": "v1", + "title": "Web Fonts Developer API", + "description": "The Google Web Fonts Developer API lets you retrieve information about web fonts served by Google.", + "discoveryRestUrl": "https://webfonts.googleapis.com/$discovery/rest?version=v1", + "icons": { + "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", + "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" + }, + "documentationLink": "https://developers.google.com/fonts/docs/developer_api", + "preferred": true + }, + { + "kind": "discovery#directoryItem", + "id": "webmasters:v3", + "name": "webmasters", + "version": "v3", + "title": "Search Console API", + "description": "[Deprecated] View Google Search Console data for your verified sites.", + "discoveryRestUrl": "https://www.googleapis.com/discovery/v1/apis/webmasters/v3/rest", + "discoveryLink": "./apis/webmasters/v3/rest", + "icons": { + "x16": "https://www.google.com/images/icons/product/webmaster_tools-16.png", + "x32": "https://www.google.com/images/icons/product/webmaster_tools-32.png" + }, + "documentationLink": "https://developers.google.com/webmaster-tools/", + "preferred": true + }, + { + "kind": "discovery#directoryItem", + "id": "websecurityscanner:v1alpha", + "name": "websecurityscanner", + "version": "v1alpha", + "title": "Web Security Scanner API", + "description": "Scans your Compute and App Engine apps for common web vulnerabilities.", + "discoveryRestUrl": "https://websecurityscanner.googleapis.com/$discovery/rest?version=v1alpha", + "icons": { + "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", + "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" + }, + "documentationLink": "https://cloud.google.com/security-command-center/docs/concepts-web-security-scanner-overview/", + "preferred": false + }, + { + "kind": "discovery#directoryItem", + "id": "websecurityscanner:v1beta", + "name": "websecurityscanner", + "version": "v1beta", + "title": "Web Security Scanner API", + "description": "Scans your Compute and App Engine apps for common web vulnerabilities.", + "discoveryRestUrl": "https://websecurityscanner.googleapis.com/$discovery/rest?version=v1beta", + "icons": { + "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", + "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" + }, + "documentationLink": "https://cloud.google.com/security-command-center/docs/concepts-web-security-scanner-overview/", + "preferred": false + }, + { + "kind": "discovery#directoryItem", + "id": "websecurityscanner:v1", + "name": "websecurityscanner", + "version": "v1", + "title": "Web Security Scanner API", + "description": "Scans your Compute and App Engine apps for common web vulnerabilities.", + "discoveryRestUrl": "https://websecurityscanner.googleapis.com/$discovery/rest?version=v1", + "icons": { + "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", + "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" + }, + "documentationLink": "https://cloud.google.com/security-command-center/docs/concepts-web-security-scanner-overview/", + "preferred": true + }, + { + "kind": "discovery#directoryItem", + "id": "workflowexecutions:v1beta", + "name": "workflowexecutions", + "version": "v1beta", + "title": "Workflow Executions API", + "description": "Execute workflows created with Workflows API.", + "discoveryRestUrl": "https://workflowexecutions.googleapis.com/$discovery/rest?version=v1beta", + "icons": { + "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", + "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" + }, + "documentationLink": "https://cloud.google.com/workflows", + "preferred": true + }, + { + "kind": "discovery#directoryItem", + "id": "workflows:v1beta", + "name": "workflows", + "version": "v1beta", + "title": "Workflows API", + "description": "Orchestrate Workflows consisting of Google Cloud APIs, SaaS APIs or private API endpoints.", + "discoveryRestUrl": "https://workflows.googleapis.com/$discovery/rest?version=v1beta", + "icons": { + "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", + "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" + }, + "documentationLink": "https://cloud.google.com/workflows", + "preferred": true + }, + { + "kind": "discovery#directoryItem", + "id": "youtube:v3", + "name": "youtube", + "version": "v3", + "title": "YouTube Data API v3", + "description": "The YouTube Data API v3 is an API that provides access to YouTube data, such as videos, playlists, and channels.", + "discoveryRestUrl": "https://youtube.googleapis.com/$discovery/rest?version=v3", + "icons": { + "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", + "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" + }, + "documentationLink": "https://developers.google.com/youtube/", + "preferred": true + }, + { + "kind": "discovery#directoryItem", + "id": "youtubeAnalytics:v1", + "name": "youtubeAnalytics", + "version": "v1", + "title": "YouTube Analytics API", + "description": "Retrieves your YouTube Analytics data.", + "discoveryRestUrl": "https://youtubeanalytics.googleapis.com/$discovery/rest?version=v1", + "icons": { + "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", + "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" + }, + "documentationLink": "https://developers.google.com/youtube/analytics", + "preferred": false + }, + { + "kind": "discovery#directoryItem", + "id": "youtubeAnalytics:v2", + "name": "youtubeAnalytics", + "version": "v2", + "title": "YouTube Analytics API", + "description": "Retrieves your YouTube Analytics data.", + "discoveryRestUrl": "https://youtubeanalytics.googleapis.com/$discovery/rest?version=v2", + "icons": { + "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", + "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" + }, + "documentationLink": "https://developers.google.com/youtube/analytics", + "preferred": true + }, + { + "kind": "discovery#directoryItem", + "id": "youtubereporting:v1", + "name": "youtubereporting", + "version": "v1", + "title": "YouTube Reporting API", + "description": "Schedules reporting jobs containing your YouTube Analytics data and downloads the resulting bulk data reports in the form of CSV files.", + "discoveryRestUrl": "https://youtubereporting.googleapis.com/$discovery/rest?version=v1", + "icons": { + "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", + "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" + }, + "documentationLink": "https://developers.google.com/youtube/reporting/v1/reports/", + "preferred": true + } + ] +} diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/integrations.v1.json b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/integrations.v1.json new file mode 100644 index 0000000000000000000000000000000000000000..688b304755592e99e77a921c87fe9bfe649a826d --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/integrations.v1.json @@ -0,0 +1,15071 @@ +{ +"auth": { +"oauth2": { +"scopes": { +"https://www.googleapis.com/auth/cloud-platform": { +"description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." +} +} +} +}, +"basePath": "", +"baseUrl": "https://integrations.googleapis.com/", +"batchPath": "batch", +"canonicalName": "Integrations", +"description": "", +"discoveryVersion": "v1", +"documentationLink": "https://cloud.google.com/application-integration", +"fullyEncodeReservedExpansion": true, +"icons": { +"x16": "http://www.google.com/images/icons/product/search-16.gif", +"x32": "http://www.google.com/images/icons/product/search-32.gif" +}, +"id": "integrations:v1", +"kind": "discovery#restDescription", +"mtlsRootUrl": "https://integrations.mtls.googleapis.com/", +"name": "integrations", +"ownerDomain": "google.com", +"ownerName": "Google", +"parameters": { +"$.xgafv": { +"description": "V1 error format.", +"enum": [ +"1", +"2" +], +"enumDescriptions": [ +"v1 error format", +"v2 error format" +], +"location": "query", +"type": "string" +}, +"access_token": { +"description": "OAuth access token.", +"location": "query", +"type": "string" +}, +"alt": { +"default": "json", +"description": "Data format for response.", +"enum": [ +"json", +"media", +"proto" +], +"enumDescriptions": [ +"Responses with Content-Type of application/json", +"Media download with context-dependent Content-Type", +"Responses with Content-Type of application/x-protobuf" +], +"location": "query", +"type": "string" +}, +"callback": { +"description": "JSONP", +"location": "query", +"type": "string" +}, +"fields": { +"description": "Selector specifying which fields to include in a partial response.", +"location": "query", +"type": "string" +}, +"key": { +"description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", +"location": "query", +"type": "string" +}, +"oauth_token": { +"description": "OAuth 2.0 token for the current user.", +"location": "query", +"type": "string" +}, +"prettyPrint": { +"default": "true", +"description": "Returns response with indentations and line breaks.", +"location": "query", +"type": "boolean" +}, +"quotaUser": { +"description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.", +"location": "query", +"type": "string" +}, +"uploadType": { +"description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", +"location": "query", +"type": "string" +}, +"upload_protocol": { +"description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", +"location": "query", +"type": "string" +} +}, +"protocol": "rest", +"resources": { +"callback": { +"methods": { +"generateToken": { +"description": "Receives the auth code and auth config id to combine that with the client id and secret to retrieve access tokens from the token endpoint. Returns either a success or error message when it's done.", +"flatPath": "v1/callback:generateToken", +"httpMethod": "GET", +"id": "integrations.callback.generateToken", +"parameterOrder": [], +"parameters": { +"code": { +"description": "The auth code for the given request", +"location": "query", +"type": "string" +}, +"gcpProjectId": { +"description": "The gcp project id of the request", +"location": "query", +"type": "string" +}, +"product": { +"description": "Which product sends the request", +"enum": [ +"UNSPECIFIED_PRODUCT", +"IP", +"APIGEE", +"SECURITY" +], +"enumDescriptions": [ +"", +"", +"", +"" +], +"location": "query", +"type": "string" +}, +"redirectUri": { +"description": "Redirect uri of the auth code request", +"location": "query", +"type": "string" +}, +"state": { +"description": "The auth config id for the given request", +"location": "query", +"type": "string" +} +}, +"path": "v1/callback:generateToken", +"response": { +"$ref": "GoogleCloudIntegrationsV1alphaGenerateTokenResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"connectorPlatformRegions": { +"methods": { +"enumerate": { +"description": "Enumerates the regions for which Connector Platform is provisioned.", +"flatPath": "v1/connectorPlatformRegions:enumerate", +"httpMethod": "GET", +"id": "integrations.connectorPlatformRegions.enumerate", +"parameterOrder": [], +"parameters": {}, +"path": "v1/connectorPlatformRegions:enumerate", +"response": { +"$ref": "GoogleCloudIntegrationsV1alphaEnumerateConnectorPlatformRegionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"projects": { +"methods": { +"getClientmetadata": { +"description": "Gets the metadata info for the requested client", +"flatPath": "v1/projects/{projectsId}/clientmetadata", +"httpMethod": "GET", +"id": "integrations.projects.getClientmetadata", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. Required: The ID of the GCP Project to be provisioned.", +"location": "path", +"pattern": "^projects/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/clientmetadata", +"response": { +"$ref": "GoogleCloudIntegrationsV1alphaGetClientMetadataResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"locations": { +"methods": { +"generateOpenApiSpec": { +"description": "Generate OpenAPI spec for the requested integrations and api triggers", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}:generateOpenApiSpec", +"httpMethod": "POST", +"id": "integrations.projects.locations.generateOpenApiSpec", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Project and location from which the integrations should be fetched. Format: projects/{project}/location/{location}", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:generateOpenApiSpec", +"request": { +"$ref": "GoogleCloudIntegrationsV1alphaGenerateOpenApiSpecRequest" +}, +"response": { +"$ref": "GoogleCloudIntegrationsV1alphaGenerateOpenApiSpecResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"getClients": { +"description": "Gets the client configuration for the given project and location resource name", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/clients", +"httpMethod": "GET", +"id": "integrations.projects.locations.getClients", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. Required: The ID of the GCP Project to be provisioned.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/clients", +"response": { +"$ref": "GoogleCloudIntegrationsV1alphaGetClientResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"appsScriptProjects": { +"methods": { +"create": { +"description": "Creates an Apps Script project.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/appsScriptProjects", +"httpMethod": "POST", +"id": "integrations.projects.locations.appsScriptProjects.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The project that the executed integration belongs to.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/appsScriptProjects", +"request": { +"$ref": "GoogleCloudIntegrationsV1alphaCreateAppsScriptProjectRequest" +}, +"response": { +"$ref": "GoogleCloudIntegrationsV1alphaCreateAppsScriptProjectResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"link": { +"description": "Links a existing Apps Script project.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/appsScriptProjects:link", +"httpMethod": "POST", +"id": "integrations.projects.locations.appsScriptProjects.link", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The project that the executed integration belongs to.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/appsScriptProjects:link", +"request": { +"$ref": "GoogleCloudIntegrationsV1alphaLinkAppsScriptProjectRequest" +}, +"response": { +"$ref": "GoogleCloudIntegrationsV1alphaLinkAppsScriptProjectResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"authConfigs": { +"methods": { +"create": { +"description": "Creates an auth config record. Fetch corresponding credentials for specific auth types, e.g. access token for OAuth 2.0, JWT token for JWT. Encrypt the auth config with Cloud KMS and store the encrypted credentials in Spanner. Returns the encrypted auth config.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/authConfigs", +"httpMethod": "POST", +"id": "integrations.projects.locations.authConfigs.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"clientCertificate.encryptedPrivateKey": { +"description": "The ssl certificate encoded in PEM format. This string must include the begin header and end footer lines. For example, -----BEGIN CERTIFICATE----- MIICTTCCAbagAwIBAgIJAPT0tSKNxan/MA0GCSqGSIb3DQEBCwUAMCoxFzAVBgNV BAoTDkdvb2dsZSBURVNUSU5HMQ8wDQYDVQQDEwZ0ZXN0Q0EwHhcNMTUwMTAxMDAw MDAwWhcNMjUwMTAxMDAwMDAwWjAuMRcwFQYDVQQKEw5Hb29nbGUgVEVTVElORzET MBEGA1UEAwwKam9lQGJhbmFuYTCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEA vDYFgMgxi5W488d9J7UpCInl0NXmZQpJDEHE4hvkaRlH7pnC71H0DLt0/3zATRP1 JzY2+eqBmbGl4/sgZKYv8UrLnNyQNUTsNx1iZAfPUflf5FwgVsai8BM0pUciq1NB xD429VFcrGZNucvFLh72RuRFIKH8WUpiK/iZNFkWhZ0CAwEAAaN3MHUwDgYDVR0P AQH/BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAMBgNVHRMB Af8EAjAAMBkGA1UdDgQSBBCVgnFBCWgL/iwCqnGrhTPQMBsGA1UdIwQUMBKAEKey Um2o4k2WiEVA0ldQvNYwDQYJKoZIhvcNAQELBQADgYEAYK986R4E3L1v+Q6esBtW JrUwA9UmJRSQr0N5w3o9XzarU37/bkjOP0Fw0k/A6Vv1n3vlciYfBFaBIam1qRHr 5dMsYf4CZS6w50r7hyzqyrwDoyNxkLnd2PdcHT/sym1QmflsjEs7pejtnohO6N2H wQW6M0H7Zt8claGRla4fKkg= -----END CERTIFICATE-----", +"location": "query", +"type": "string" +}, +"clientCertificate.passphrase": { +"description": "'passphrase' should be left unset if private key is not encrypted. Note that 'passphrase' is not the password for web server, but an extra layer of security to protected private key.", +"location": "query", +"type": "string" +}, +"clientCertificate.sslCertificate": { +"description": "The ssl certificate encoded in PEM format. This string must include the begin header and end footer lines. For example, -----BEGIN CERTIFICATE----- MIICTTCCAbagAwIBAgIJAPT0tSKNxan/MA0GCSqGSIb3DQEBCwUAMCoxFzAVBgNV BAoTDkdvb2dsZSBURVNUSU5HMQ8wDQYDVQQDEwZ0ZXN0Q0EwHhcNMTUwMTAxMDAw MDAwWhcNMjUwMTAxMDAwMDAwWjAuMRcwFQYDVQQKEw5Hb29nbGUgVEVTVElORzET MBEGA1UEAwwKam9lQGJhbmFuYTCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEA vDYFgMgxi5W488d9J7UpCInl0NXmZQpJDEHE4hvkaRlH7pnC71H0DLt0/3zATRP1 JzY2+eqBmbGl4/sgZKYv8UrLnNyQNUTsNx1iZAfPUflf5FwgVsai8BM0pUciq1NB xD429VFcrGZNucvFLh72RuRFIKH8WUpiK/iZNFkWhZ0CAwEAAaN3MHUwDgYDVR0P AQH/BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAMBgNVHRMB Af8EAjAAMBkGA1UdDgQSBBCVgnFBCWgL/iwCqnGrhTPQMBsGA1UdIwQUMBKAEKey Um2o4k2WiEVA0ldQvNYwDQYJKoZIhvcNAQELBQADgYEAYK986R4E3L1v+Q6esBtW JrUwA9UmJRSQr0N5w3o9XzarU37/bkjOP0Fw0k/A6Vv1n3vlciYfBFaBIam1qRHr 5dMsYf4CZS6w50r7hyzqyrwDoyNxkLnd2PdcHT/sym1QmflsjEs7pejtnohO6N2H wQW6M0H7Zt8claGRla4fKkg= -----END CERTIFICATE-----", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. \"projects/{project}/locations/{location}\" format.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/authConfigs", +"request": { +"$ref": "GoogleCloudIntegrationsV1alphaAuthConfig" +}, +"response": { +"$ref": "GoogleCloudIntegrationsV1alphaAuthConfig" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes an auth config.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/authConfigs/{authConfigsId}", +"httpMethod": "DELETE", +"id": "integrations.projects.locations.authConfigs.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name that is associated with the AuthConfig.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/authConfigs/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets a complete auth config. If the auth config doesn't exist, Code.NOT_FOUND exception will be thrown. Returns the decrypted auth config.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/authConfigs/{authConfigsId}", +"httpMethod": "GET", +"id": "integrations.projects.locations.authConfigs.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name that is associated with the AuthConfig.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/authConfigs/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleCloudIntegrationsV1alphaAuthConfig" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists all auth configs that match the filter. Restrict to auth configs belong to the current client only.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/authConfigs", +"httpMethod": "GET", +"id": "integrations.projects.locations.authConfigs.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Filtering as supported in https://developers.google.com/authorized-buyers/apis/guides/list-filters.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "The size of entries in the response. If unspecified, defaults to 100.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The token returned in the previous response.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The client, which owns this collection of AuthConfigs.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +}, +"readMask": { +"description": "The mask which specifies fields that need to be returned in the AuthConfig's response.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+parent}/authConfigs", +"response": { +"$ref": "GoogleCloudIntegrationsV1alphaListAuthConfigsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates an auth config. If credential is updated, fetch the encrypted auth config from Spanner, decrypt with Cloud KMS key, update the credential fields, re-encrypt with Cloud KMS key and update the Spanner record. For other fields, directly update the Spanner record. Returns the encrypted auth config.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/authConfigs/{authConfigsId}", +"httpMethod": "PATCH", +"id": "integrations.projects.locations.authConfigs.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"clientCertificate.encryptedPrivateKey": { +"description": "The ssl certificate encoded in PEM format. This string must include the begin header and end footer lines. For example, -----BEGIN CERTIFICATE----- MIICTTCCAbagAwIBAgIJAPT0tSKNxan/MA0GCSqGSIb3DQEBCwUAMCoxFzAVBgNV BAoTDkdvb2dsZSBURVNUSU5HMQ8wDQYDVQQDEwZ0ZXN0Q0EwHhcNMTUwMTAxMDAw MDAwWhcNMjUwMTAxMDAwMDAwWjAuMRcwFQYDVQQKEw5Hb29nbGUgVEVTVElORzET MBEGA1UEAwwKam9lQGJhbmFuYTCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEA vDYFgMgxi5W488d9J7UpCInl0NXmZQpJDEHE4hvkaRlH7pnC71H0DLt0/3zATRP1 JzY2+eqBmbGl4/sgZKYv8UrLnNyQNUTsNx1iZAfPUflf5FwgVsai8BM0pUciq1NB xD429VFcrGZNucvFLh72RuRFIKH8WUpiK/iZNFkWhZ0CAwEAAaN3MHUwDgYDVR0P AQH/BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAMBgNVHRMB Af8EAjAAMBkGA1UdDgQSBBCVgnFBCWgL/iwCqnGrhTPQMBsGA1UdIwQUMBKAEKey Um2o4k2WiEVA0ldQvNYwDQYJKoZIhvcNAQELBQADgYEAYK986R4E3L1v+Q6esBtW JrUwA9UmJRSQr0N5w3o9XzarU37/bkjOP0Fw0k/A6Vv1n3vlciYfBFaBIam1qRHr 5dMsYf4CZS6w50r7hyzqyrwDoyNxkLnd2PdcHT/sym1QmflsjEs7pejtnohO6N2H wQW6M0H7Zt8claGRla4fKkg= -----END CERTIFICATE-----", +"location": "query", +"type": "string" +}, +"clientCertificate.passphrase": { +"description": "'passphrase' should be left unset if private key is not encrypted. Note that 'passphrase' is not the password for web server, but an extra layer of security to protected private key.", +"location": "query", +"type": "string" +}, +"clientCertificate.sslCertificate": { +"description": "The ssl certificate encoded in PEM format. This string must include the begin header and end footer lines. For example, -----BEGIN CERTIFICATE----- MIICTTCCAbagAwIBAgIJAPT0tSKNxan/MA0GCSqGSIb3DQEBCwUAMCoxFzAVBgNV BAoTDkdvb2dsZSBURVNUSU5HMQ8wDQYDVQQDEwZ0ZXN0Q0EwHhcNMTUwMTAxMDAw MDAwWhcNMjUwMTAxMDAwMDAwWjAuMRcwFQYDVQQKEw5Hb29nbGUgVEVTVElORzET MBEGA1UEAwwKam9lQGJhbmFuYTCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEA vDYFgMgxi5W488d9J7UpCInl0NXmZQpJDEHE4hvkaRlH7pnC71H0DLt0/3zATRP1 JzY2+eqBmbGl4/sgZKYv8UrLnNyQNUTsNx1iZAfPUflf5FwgVsai8BM0pUciq1NB xD429VFcrGZNucvFLh72RuRFIKH8WUpiK/iZNFkWhZ0CAwEAAaN3MHUwDgYDVR0P AQH/BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAMBgNVHRMB Af8EAjAAMBkGA1UdDgQSBBCVgnFBCWgL/iwCqnGrhTPQMBsGA1UdIwQUMBKAEKey Um2o4k2WiEVA0ldQvNYwDQYJKoZIhvcNAQELBQADgYEAYK986R4E3L1v+Q6esBtW JrUwA9UmJRSQr0N5w3o9XzarU37/bkjOP0Fw0k/A6Vv1n3vlciYfBFaBIam1qRHr 5dMsYf4CZS6w50r7hyzqyrwDoyNxkLnd2PdcHT/sym1QmflsjEs7pejtnohO6N2H wQW6M0H7Zt8claGRla4fKkg= -----END CERTIFICATE-----", +"location": "query", +"type": "string" +}, +"name": { +"description": "Resource name of the auth config. For more information, see Manage authentication profiles. projects/{project}/locations/{location}/authConfigs/{authConfig}.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/authConfigs/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Field mask specifying the fields in the above AuthConfig that have been modified and need to be updated.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "GoogleCloudIntegrationsV1alphaAuthConfig" +}, +"response": { +"$ref": "GoogleCloudIntegrationsV1alphaAuthConfig" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"certificates": { +"methods": { +"create": { +"description": "Creates a new certificate. The certificate will be registered to the trawler service and will be encrypted using cloud KMS and stored in Spanner Returns the certificate.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/certificates", +"httpMethod": "POST", +"id": "integrations.projects.locations.certificates.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. \"projects/{project}/locations/{location}\" format.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/certificates", +"request": { +"$ref": "GoogleCloudIntegrationsV1alphaCertificate" +}, +"response": { +"$ref": "GoogleCloudIntegrationsV1alphaCertificate" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Delete a certificate", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/certificates/{certificatesId}", +"httpMethod": "DELETE", +"id": "integrations.projects.locations.certificates.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name that is associated with the Certificate.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/certificates/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Get a certificates in the specified project.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/certificates/{certificatesId}", +"httpMethod": "GET", +"id": "integrations.projects.locations.certificates.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The certificate to retrieve. Format: projects/{project}/locations/{location}/certificates/{certificate}", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/certificates/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleCloudIntegrationsV1alphaCertificate" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "List all the certificates that match the filter. Restrict to certificate of current client only.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/certificates", +"httpMethod": "GET", +"id": "integrations.projects.locations.certificates.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Filtering as supported in https://developers.google.com/authorized-buyers/apis/guides/list-filters.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "The size of entries in the response. If unspecified, defaults to 100.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The token returned in the previous response.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The client, which owns this collection of Certificates.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +}, +"readMask": { +"description": "The mask which specifies fields that need to be returned in the Certificate's response.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+parent}/certificates", +"response": { +"$ref": "GoogleCloudIntegrationsV1alphaListCertificatesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates the certificate by id. If new certificate file is updated, it will register with the trawler service, re-encrypt with cloud KMS and update the Spanner record. Other fields will directly update the Spanner record. Returns the Certificate.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/certificates/{certificatesId}", +"httpMethod": "PATCH", +"id": "integrations.projects.locations.certificates.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Output only. Auto generated primary key", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/certificates/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Field mask specifying the fields in the above Certificate that have been modified and need to be updated.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "GoogleCloudIntegrationsV1alphaCertificate" +}, +"response": { +"$ref": "GoogleCloudIntegrationsV1alphaCertificate" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"clients": { +"methods": { +"changeConfig": { +"description": "Updates the client customer configuration for the given project and location resource name", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/clients:changeConfig", +"httpMethod": "POST", +"id": "integrations.projects.locations.clients.changeConfig", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. Required: Format - projects/{project}/locations/{location}", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/clients:changeConfig", +"request": { +"$ref": "GoogleCloudIntegrationsV1alphaChangeCustomerConfigRequest" +}, +"response": { +"$ref": "GoogleCloudIntegrationsV1alphaChangeCustomerConfigResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"deprovision": { +"description": "Perform the deprovisioning steps to disable a user GCP project to use IP and purge all related data in a wipeout-compliant way.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/clients:deprovision", +"httpMethod": "POST", +"id": "integrations.projects.locations.clients.deprovision", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. Required: The ID of the GCP Project to be deprovisioned.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/clients:deprovision", +"request": { +"$ref": "GoogleCloudIntegrationsV1alphaDeprovisionClientRequest" +}, +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"provision": { +"description": "Perform the provisioning steps to enable a user GCP project to use IP. If GCP project already registered on IP end via Apigee Integration, provisioning will fail.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/clients:provision", +"httpMethod": "POST", +"id": "integrations.projects.locations.clients.provision", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. Required: The ID of the GCP Project to be provisioned.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/clients:provision", +"request": { +"$ref": "GoogleCloudIntegrationsV1alphaProvisionClientRequest" +}, +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"provisionClientPostProcessor": { +"description": "Perform post provisioning steps after client is provisioned.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/clients:provisionClientPostProcessor", +"httpMethod": "POST", +"id": "integrations.projects.locations.clients.provisionClientPostProcessor", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. Required: The ID of the GCP Project to be provisioned.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/clients:provisionClientPostProcessor", +"request": { +"$ref": "GoogleCloudIntegrationsV1alphaProvisionClientPostProcessorRequest" +}, +"response": { +"$ref": "GoogleCloudIntegrationsV1alphaProvisionClientPostProcessorResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"replace": { +"description": "Update run-as service account for provisioned client", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/clients:replace", +"httpMethod": "POST", +"id": "integrations.projects.locations.clients.replace", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. Required: The ID of the GCP Project to be provisioned.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/clients:replace", +"request": { +"$ref": "GoogleCloudIntegrationsV1alphaReplaceServiceAccountRequest" +}, +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"switch": { +"description": "Update client from GMEK to CMEK", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/clients:switch", +"httpMethod": "POST", +"id": "integrations.projects.locations.clients.switch", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. Required: The ID of the GCP Project to be provisioned.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/clients:switch", +"request": { +"$ref": "GoogleCloudIntegrationsV1alphaSwitchEncryptionRequest" +}, +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"switchVariableMasking": { +"description": "Update variable masking for provisioned client", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/clients:switchVariableMasking", +"httpMethod": "POST", +"id": "integrations.projects.locations.clients.switchVariableMasking", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. Required: The ID of the GCP Project to be provisioned.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/clients:switchVariableMasking", +"request": { +"$ref": "GoogleCloudIntegrationsV1alphaSwitchVariableMaskingRequest" +}, +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"toggleHttp": { +"description": "Enable/Disable http call for provisioned client", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/clients:toggleHttp", +"httpMethod": "POST", +"id": "integrations.projects.locations.clients.toggleHttp", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. Required: The ID of the GCP Project to be provisioned.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/clients:toggleHttp", +"request": { +"$ref": "GoogleCloudIntegrationsV1alphaToggleHttpRequest" +}, +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"cloudFunctions": { +"methods": { +"create": { +"description": "Creates a cloud function project.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/cloudFunctions", +"httpMethod": "POST", +"id": "integrations.projects.locations.cloudFunctions.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The project that the executed integration belongs to.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/cloudFunctions", +"request": { +"$ref": "GoogleCloudIntegrationsV1alphaCreateCloudFunctionRequest" +}, +"response": { +"$ref": "GoogleCloudIntegrationsV1alphaCreateCloudFunctionResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"connections": { +"methods": { +"getConnectionSchemaMetadata": { +"description": "Lists the available entities and actions associated with a Connection.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/connections/{connectionsId}/connectionSchemaMetadata", +"httpMethod": "GET", +"id": "integrations.projects.locations.connections.getConnectionSchemaMetadata", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. ConnectionSchemaMetadata name. Format: projects/{project}/locations/{location}/connections/{connection}/connectionSchemaMetadata", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/connections/[^/]+/connectionSchemaMetadata$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleCloudIntegrationsV1alphaConnectionSchemaMetadata" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists Connections in a given project and location.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/connections", +"httpMethod": "GET", +"id": "integrations.projects.locations.connections.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Filter.", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "Order by parameters.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Page size.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Page token.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. Parent resource of the Connection, of the form: `projects/*/locations/*`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/connections", +"response": { +"$ref": "GoogleCloudIntegrationsV1alphaListConnectionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"runtimeActionSchemas": { +"methods": { +"list": { +"description": "Lists the JSON schemas for the inputs and outputs of actions, filtered by action name.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/connections/{connectionsId}/runtimeActionSchemas", +"httpMethod": "GET", +"id": "integrations.projects.locations.connections.runtimeActionSchemas.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Filter. Only the action field with literal equality operator is supported.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Page size.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Page token.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. Parent resource of RuntimeActionSchema. Format: projects/{project}/locations/{location}/connections/{connection}", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/connections/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/runtimeActionSchemas", +"response": { +"$ref": "GoogleCloudIntegrationsV1alphaListRuntimeActionSchemasResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"runtimeEntitySchemas": { +"methods": { +"list": { +"description": "Lists the JSON schemas for the properties of runtime entities, filtered by entity name.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/connections/{connectionsId}/runtimeEntitySchemas", +"httpMethod": "GET", +"id": "integrations.projects.locations.connections.runtimeEntitySchemas.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Filter. Only the entity field with literal equality operator is supported.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Page size.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Page token.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. Parent resource of RuntimeEntitySchema. Format: projects/{project}/locations/{location}/connections/{connection}", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/connections/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/runtimeEntitySchemas", +"response": { +"$ref": "GoogleCloudIntegrationsV1alphaListRuntimeEntitySchemasResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +}, +"integrations": { +"methods": { +"delete": { +"description": "Delete the selected integration and all versions inside", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/integrations/{integrationsId}", +"httpMethod": "DELETE", +"id": "integrations.projects.locations.integrations.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The location resource of the request.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/integrations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"execute": { +"description": "Executes integrations synchronously by passing the trigger id in the request body. The request is not returned until the requested executions are either fulfilled or experienced an error. If the integration name is not specified (passing `-`), all of the associated integration under the given trigger_id will be executed. Otherwise only the specified integration for the given `trigger_id` is executed. This is helpful for execution the integration from UI.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/integrations/{integrationsId}:execute", +"httpMethod": "POST", +"id": "integrations.projects.locations.integrations.execute", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The integration resource name.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/integrations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:execute", +"request": { +"$ref": "GoogleCloudIntegrationsV1alphaExecuteIntegrationsRequest" +}, +"response": { +"$ref": "GoogleCloudIntegrationsV1alphaExecuteIntegrationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"executeEvent": { +"description": "Executes an integration on receiving events from Integration Connector triggers, Eventarc or CPS Trigger. Input data to integration is received in body in json format", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/integrations/{integrationsId}:executeEvent", +"httpMethod": "POST", +"id": "integrations.projects.locations.integrations.executeEvent", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The integration resource name. Format: projects/{gcp_project_id}/locations/{location}/integrations/{integration_id}", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/integrations/[^/]+$", +"required": true, +"type": "string" +}, +"triggerId": { +"description": "Required. Id of the integration trigger config. The trigger_id is in the format: `integration_connector_trigger/projects/{gcp_project_id}/location/{location}/connections/{connection_name}/subscriptions/{subscription_name}`.", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}:executeEvent", +"request": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"type": "object" +}, +"response": { +"$ref": "GoogleCloudIntegrationsV1alphaExecuteEventResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Returns the list of all integrations in the specified project.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/integrations", +"httpMethod": "GET", +"id": "integrations.projects.locations.integrations.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Filter on fields of IntegrationVersion. Fields can be compared with literal values by use of \":\" (containment), \"=\" (equality), \">\" (greater), \"<\" (less than), >=\" (greater than or equal to), \"<=\" (less than or equal to), and \"!=\" (inequality) operators. Negation, conjunction, and disjunction are written using NOT, AND, and OR keywords. For example, organization_id=\\\"1\\\" AND state=ACTIVE AND description:\"test\". Filtering cannot be performed on repeated fields like `task_config`.", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "The results would be returned in order you specified here. Supported sort keys are: Descending sort order by \"last_modified_time\", \"created_time\", \"snapshot_number\". Ascending sort order by the integration name.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "The page size for the resquest.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The page token for the resquest.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. Project and location from which the integrations should be listed. Format: projects/{project}", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/integrations", +"response": { +"$ref": "GoogleCloudIntegrationsV1alphaListIntegrationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"schedule": { +"description": "Schedules an integration for execution by passing the trigger id and the scheduled time in the request body.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/integrations/{integrationsId}:schedule", +"httpMethod": "POST", +"id": "integrations.projects.locations.integrations.schedule", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The integration resource name.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/integrations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:schedule", +"request": { +"$ref": "GoogleCloudIntegrationsV1alphaScheduleIntegrationsRequest" +}, +"response": { +"$ref": "GoogleCloudIntegrationsV1alphaScheduleIntegrationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"search": { +"description": "Searches and returns the list of integrations in the specified project.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/integrations:search", +"httpMethod": "GET", +"id": "integrations.projects.locations.integrations.search", +"parameterOrder": [ +"parent" +], +"parameters": { +"enableNaturalLanguageQueryUnderstanding": { +"description": "Optional. Whether to enable natural language query understanding.", +"location": "query", +"type": "boolean" +}, +"filter": { +"description": "Optional. The pre-filter to be applied to the search. This should follow the expressions defined in https://cloud.google.com/generative-ai-app-builder/docs/filter-search-metadata. For example, \"status:ANY(\"ACTIVE\")\" will return all the resources whose status contains the \"ACTIVE\".", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Optional. The maximum number of results to return. The service may return fewer than this value. If unspecified, at most 10 results will be returned. The maximum value is 100; values above 100 will be coerced to 100.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. A page token, received from a previous `SearchIntegrations` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `SearchIntegrations` must match the call that provided the page token.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. Project and location from which the integrations should be listed. Format: projects/*/locations/*/resources/integrations", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +}, +"query": { +"description": "Required. The user query", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+parent}/integrations:search", +"response": { +"$ref": "GoogleCloudIntegrationsV1alphaSearchIntegrationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"test": { +"description": "Execute the integration in draft state", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/integrations/{integrationsId}:test", +"httpMethod": "POST", +"id": "integrations.projects.locations.integrations.test", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Output only. Auto-generated primary key.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/integrations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:test", +"request": { +"$ref": "GoogleCloudIntegrationsV1alphaTestIntegrationsRequest" +}, +"response": { +"$ref": "GoogleCloudIntegrationsV1alphaTestIntegrationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"executions": { +"methods": { +"cancel": { +"description": "Cancellation of an execution and associated sub-executions. This will not cancel an IN_PROCESS or completed(SUCCESSFUL, FAILED or CANCELLED) executions.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/integrations/{integrationsId}/executions/{executionsId}:cancel", +"httpMethod": "POST", +"id": "integrations.projects.locations.integrations.executions.cancel", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The execution resource name. Format: projects/{gcp_project_id}/locations/{location}/products/{product}/integrations/{integration_id}/executions/{execution_id}", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/integrations/[^/]+/executions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:cancel", +"request": { +"$ref": "GoogleCloudIntegrationsV1alphaCancelExecutionRequest" +}, +"response": { +"$ref": "GoogleCloudIntegrationsV1alphaCancelExecutionResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"download": { +"description": "Download the execution.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/integrations/{integrationsId}/executions/{executionsId}:download", +"httpMethod": "GET", +"id": "integrations.projects.locations.integrations.executions.download", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The execution resource name. Format: projects/{gcp_project_id}/locations/{location}/products/{product}/integrations/{integration_id}/executions/{execution_id}", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/integrations/[^/]+/executions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:download", +"response": { +"$ref": "GoogleCloudIntegrationsV1alphaDownloadExecutionResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Get an execution in the specified project.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/integrations/{integrationsId}/executions/{executionsId}", +"httpMethod": "GET", +"id": "integrations.projects.locations.integrations.executions.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The execution resource name. Format: projects/{gcp_project_id}/locations/{location}/products/{product}/integrations/{integration_id}/executions/{execution_id}", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/integrations/[^/]+/executions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleCloudIntegrationsV1alphaExecution" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists the results of all the integration executions. The response includes the same information as the [execution log](https://cloud.google.com/application-integration/docs/viewing-logs) in the Integration UI.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/integrations/{integrationsId}/executions", +"httpMethod": "GET", +"id": "integrations.projects.locations.integrations.executions.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Optional. Standard filter field, we support filtering on following fields: workflow_name: the name of the integration. CreateTimestamp: the execution created time. event_execution_state: the state of the executions. execution_id: the id of the execution. trigger_id: the id of the trigger. parameter_type: the type of the parameters involved in the execution. All fields support for EQUALS, in additional: CreateTimestamp support for LESS_THAN, GREATER_THAN ParameterType support for HAS For example: \"parameter_type\" HAS \\\"string\\\" Also supports operators like AND, OR, NOT For example, trigger_id=\\\"id1\\\" AND workflow_name=\\\"testWorkflow\\\"", +"location": "query", +"type": "string" +}, +"filterParams.customFilter": { +"description": "Optional user-provided custom filter.", +"location": "query", +"type": "string" +}, +"filterParams.endTime": { +"description": "End timestamp.", +"format": "int64", +"location": "query", +"type": "string" +}, +"filterParams.eventStatuses": { +"description": "List of possible event statuses.", +"location": "query", +"repeated": true, +"type": "string" +}, +"filterParams.executionId": { +"description": "Execution id.", +"location": "query", +"type": "string" +}, +"filterParams.parameterKey": { +"deprecated": true, +"description": "Param key. DEPRECATED. User parameter_pair_key instead.", +"location": "query", +"type": "string" +}, +"filterParams.parameterPairKey": { +"description": "Param key in the key value pair filter.", +"location": "query", +"type": "string" +}, +"filterParams.parameterPairValue": { +"description": "Param value in the key value pair filter.", +"location": "query", +"type": "string" +}, +"filterParams.parameterType": { +"description": "Param type.", +"location": "query", +"type": "string" +}, +"filterParams.parameterValue": { +"deprecated": true, +"description": "Param value. DEPRECATED. User parameter_pair_value instead.", +"location": "query", +"type": "string" +}, +"filterParams.startTime": { +"description": "Start timestamp.", +"format": "int64", +"location": "query", +"type": "string" +}, +"filterParams.taskStatuses": { +"deprecated": true, +"description": "List of possible task statuses.", +"location": "query", +"repeated": true, +"type": "string" +}, +"filterParams.workflowName": { +"description": "Workflow name.", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "Optional. The results would be returned in order you specified here. Currently supporting \"create_time\".", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Optional. The size of entries in the response.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. The token returned in the previous response.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent resource name of the integration execution.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/integrations/[^/]+$", +"required": true, +"type": "string" +}, +"readMask": { +"description": "Optional. View mask for the response data. If set, only the field specified will be returned as part of the result. If not set, all fields in Execution will be filled and returned. Supported fields: trigger_id execution_method create_time update_time execution_details execution_details.state execution_details.execution_snapshots execution_details.attempt_stats execution_details.event_execution_snapshots_size request_parameters cloud_logging_details snapshot_number replay_info", +"format": "google-fieldmask", +"location": "query", +"type": "string" +}, +"refreshAcl": { +"description": "Optional. If true, the service will use the most recent acl information to list event execution infos and renew the acl cache. Note that fetching the most recent acl is synchronous, so it will increase RPC call latency.", +"location": "query", +"type": "boolean" +}, +"snapshotMetadataWithoutParams": { +"description": "Optional. If true, the service will provide execution info with snapshot metadata only i.e. without event parameters.", +"location": "query", +"type": "boolean" +}, +"truncateParams": { +"deprecated": true, +"description": "Optional. If true, the service will truncate the params to only keep the first 1000 characters of string params and empty the executions in order to make response smaller. Only works for UI and when the params fields are not filtered out.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1/{+parent}/executions", +"response": { +"$ref": "GoogleCloudIntegrationsV1alphaListExecutionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"replay": { +"description": "Re-execute an existing execution, with same request parameters and execution strategy.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/integrations/{integrationsId}/executions/{executionsId}:replay", +"httpMethod": "POST", +"id": "integrations.projects.locations.integrations.executions.replay", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Next ID: 6 The execution resource name. Format: projects/{gcp_project_id}/locations/{location}/integrations/{integration}/executions/{execution_id}", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/integrations/[^/]+/executions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:replay", +"request": { +"$ref": "GoogleCloudIntegrationsV1alphaReplayExecutionRequest" +}, +"response": { +"$ref": "GoogleCloudIntegrationsV1alphaReplayExecutionResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"suspensions": { +"methods": { +"lift": { +"description": "* Lifts suspension for the Suspension task. Fetch corresponding suspension with provided suspension Id, resolve suspension, and set up suspension result for the Suspension Task.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/integrations/{integrationsId}/executions/{executionsId}/suspensions/{suspensionsId}:lift", +"httpMethod": "POST", +"id": "integrations.projects.locations.integrations.executions.suspensions.lift", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource that the suspension belongs to. \"projects/{project}/locations/{location}/products/{product}/integrations/{integration}/executions/{execution}/suspensions/{suspenion}\" format.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/integrations/[^/]+/executions/[^/]+/suspensions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:lift", +"request": { +"$ref": "GoogleCloudIntegrationsV1alphaLiftSuspensionRequest" +}, +"response": { +"$ref": "GoogleCloudIntegrationsV1alphaLiftSuspensionResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "* Lists suspensions associated with a specific execution. Only those with permissions to resolve the relevant suspensions will be able to view them.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/integrations/{integrationsId}/executions/{executionsId}/suspensions", +"httpMethod": "GET", +"id": "integrations.projects.locations.integrations.executions.suspensions.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Standard filter field.", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "Field name to order by.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Maximum number of entries in the response.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Token to retrieve a specific page.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. projects/{gcp_project_id}/locations/{location}/products/{product}/integrations/{integration_name}/executions/{execution_name}", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/integrations/[^/]+/executions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/suspensions", +"response": { +"$ref": "GoogleCloudIntegrationsV1alphaListSuspensionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"resolve": { +"description": "* Resolves (lifts/rejects) any number of suspensions. If the integration is already running, only the status of the suspension is updated. Otherwise, the suspended integration will begin execution again.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/integrations/{integrationsId}/executions/{executionsId}/suspensions/{suspensionsId}:resolve", +"httpMethod": "POST", +"id": "integrations.projects.locations.integrations.executions.suspensions.resolve", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. projects/{gcp_project_id}/locations/{location}/products/{product}/integrations/{integration_name}/executions/{execution_name}/suspensions/{suspension_id}", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/integrations/[^/]+/executions/[^/]+/suspensions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:resolve", +"request": { +"$ref": "GoogleCloudIntegrationsV1alphaResolveSuspensionRequest" +}, +"response": { +"$ref": "GoogleCloudIntegrationsV1alphaResolveSuspensionResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +}, +"versions": { +"methods": { +"create": { +"description": "Create a integration with a draft version in the specified project.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/integrations/{integrationsId}/versions", +"httpMethod": "POST", +"id": "integrations.projects.locations.integrations.versions.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"createSampleIntegrations": { +"description": "Optional. Optional. Indicates if sample workflow should be created.", +"location": "query", +"type": "boolean" +}, +"newIntegration": { +"description": "Set this flag to true, if draft version is to be created for a brand new integration. False, if the request is for an existing integration. For backward compatibility reasons, even if this flag is set to `false` and no existing integration is found, a new draft integration will still be created.", +"location": "query", +"type": "boolean" +}, +"parent": { +"description": "Required. The parent resource where this version will be created. Format: projects/{project}/locations/{location}/integrations/{integration}", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/integrations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/versions", +"request": { +"$ref": "GoogleCloudIntegrationsV1alphaIntegrationVersion" +}, +"response": { +"$ref": "GoogleCloudIntegrationsV1alphaIntegrationVersion" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Soft-deletes the integration. Changes the status of the integration to ARCHIVED. If the integration being ARCHIVED is tagged as \"HEAD\", the tag is removed from this snapshot and set to the previous non-ARCHIVED snapshot. The PUBLISH_REQUESTED, DUE_FOR_DELETION tags are removed too. This RPC throws an exception if the version being deleted is DRAFT, and if the `locked_by` user is not the same as the user performing the Delete. Audit fields updated include last_modified_timestamp, last_modified_by. Any existing lock is released when Deleting a integration. Currently, there is no undelete mechanism.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/integrations/{integrationsId}/versions/{versionsId}", +"httpMethod": "DELETE", +"id": "integrations.projects.locations.integrations.versions.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The version to delete. Format: projects/{project}/locations/{location}/integrations/{integration}/versions/{version}", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/integrations/[^/]+/versions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"download": { +"description": "Downloads an integration. Retrieves the `IntegrationVersion` for a given `integration_id` and returns the response as a string.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/integrations/{integrationsId}/versions/{versionsId}:download", +"httpMethod": "GET", +"id": "integrations.projects.locations.integrations.versions.download", +"parameterOrder": [ +"name" +], +"parameters": { +"fileFormat": { +"description": "File format for download request.", +"enum": [ +"FILE_FORMAT_UNSPECIFIED", +"JSON", +"YAML" +], +"enumDescriptions": [ +"Unspecified file format", +"JSON File Format", +"YAML File Format" +], +"location": "query", +"type": "string" +}, +"files": { +"description": "Optional. Integration related file to download like Integration Json, Config variable, testcase etc.", +"enum": [ +"INTEGRATION_FILE_UNSPECIFIED", +"INTEGRATION", +"INTEGRATION_CONFIG_VARIABLES" +], +"enumDescriptions": [ +"Default value.", +"Integration file.", +"Integration Config variables." +], +"location": "query", +"repeated": true, +"type": "string" +}, +"name": { +"description": "Required. The version to download. Format: projects/{project}/locations/{location}/integrations/{integration}/versions/{version}", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/integrations/[^/]+/versions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:download", +"response": { +"$ref": "GoogleCloudIntegrationsV1alphaDownloadIntegrationVersionResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"downloadJsonPackage": { +"description": "Downloads an Integration version package like IntegrationVersion,Integration Config etc. Retrieves the IntegrationVersion package for a given `integration_id` and returns the response as a JSON.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/integrations/{integrationsId}/versions/{versionsId}:downloadJsonPackage", +"httpMethod": "GET", +"id": "integrations.projects.locations.integrations.versions.downloadJsonPackage", +"parameterOrder": [ +"name" +], +"parameters": { +"files": { +"description": "Optional. Integration related file to download like Integration Version, Config variable, testcase etc.", +"enum": [ +"INTEGRATION_FILE_UNSPECIFIED", +"INTEGRATION", +"INTEGRATION_CONFIG_VARIABLES" +], +"enumDescriptions": [ +"Default value.", +"Integration file.", +"Integration Config variables." +], +"location": "query", +"repeated": true, +"type": "string" +}, +"name": { +"description": "Required. Integration version name Format: projects/{project}/locations/{location}/integrations/{integration}/versions/{version}", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/integrations/[^/]+/versions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:downloadJsonPackage", +"response": { +"$ref": "GoogleCloudIntegrationsV1alphaDownloadJsonPackageResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Get a integration in the specified project.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/integrations/{integrationsId}/versions/{versionsId}", +"httpMethod": "GET", +"id": "integrations.projects.locations.integrations.versions.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The version to retrieve. Format: projects/{project}/locations/{location}/integrations/{integration}/versions/{version}", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/integrations/[^/]+/versions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleCloudIntegrationsV1alphaIntegrationVersion" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Returns the list of all integration versions in the specified project.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/integrations/{integrationsId}/versions", +"httpMethod": "GET", +"id": "integrations.projects.locations.integrations.versions.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"fieldMask": { +"description": "The field mask which specifies the particular data to be returned.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +}, +"filter": { +"description": "Filter on fields of IntegrationVersion. Fields can be compared with literal values by use of \":\" (containment), \"=\" (equality), \">\" (greater), \"<\" (less than), >=\" (greater than or equal to), \"<=\" (less than or equal to), and \"!=\" (inequality) operators. Negation, conjunction, and disjunction are written using NOT, AND, and OR keywords. For example, organization_id=\\\"1\\\" AND state=ACTIVE AND description:\"test\". Filtering cannot be performed on repeated fields like `task_config`.", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "The results would be returned in order you specified here. Currently supported sort keys are: Descending sort order for \"last\\_modified\\_time\", \"created\\_time\", and \"snapshot\\_number\". Ascending sort order for `name`.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "The maximum number of versions to return. The service may return fewer than this value. If unspecified, at most 50 versions will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A page token, received from a previous `ListIntegrationVersions` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListIntegrationVersions` must match the call that provided the page token.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent resource where this version will be created. Format: projects/{project}/locations/{location}/integrations/{integration} Specifically, when parent equals: 1. projects//locations//integrations/, Meaning: \"List versions (with filter) for a particular integration\". 2. projects//locations//integrations/- Meaning: \"List versions (with filter) for a client within a particular region\".", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/integrations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/versions", +"response": { +"$ref": "GoogleCloudIntegrationsV1alphaListIntegrationVersionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Update a integration with a draft version in the specified project.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/integrations/{integrationsId}/versions/{versionsId}", +"httpMethod": "PATCH", +"id": "integrations.projects.locations.integrations.versions.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Output only. Auto-generated primary key.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/integrations/[^/]+/versions/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Field mask specifying the fields in the above integration that have been modified and need to be updated.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "GoogleCloudIntegrationsV1alphaIntegrationVersion" +}, +"response": { +"$ref": "GoogleCloudIntegrationsV1alphaIntegrationVersion" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"publish": { +"description": "This RPC throws an exception if the integration is in ARCHIVED or ACTIVE state. This RPC throws an exception if the version being published is DRAFT, and if the `locked_by` user is not the same as the user performing the Publish. Audit fields updated include last_published_timestamp, last_published_by, last_modified_timestamp, last_modified_by. Any existing lock is on this integration is released.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/integrations/{integrationsId}/versions/{versionsId}:publish", +"httpMethod": "POST", +"id": "integrations.projects.locations.integrations.versions.publish", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The version to publish. Format: projects/{project}/locations/{location}/integrations/{integration}/versions/{version}", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/integrations/[^/]+/versions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:publish", +"request": { +"$ref": "GoogleCloudIntegrationsV1alphaPublishIntegrationVersionRequest" +}, +"response": { +"$ref": "GoogleCloudIntegrationsV1alphaPublishIntegrationVersionResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"test": { +"description": "Execute the integration in draft state", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/integrations/{integrationsId}/versions/{versionsId}:test", +"httpMethod": "POST", +"id": "integrations.projects.locations.integrations.versions.test", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Output only. Auto-generated primary key.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/integrations/[^/]+/versions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:test", +"request": { +"$ref": "GoogleCloudIntegrationsV1alphaTestIntegrationsRequest" +}, +"response": { +"$ref": "GoogleCloudIntegrationsV1alphaTestIntegrationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"unpublish": { +"description": "Sets the status of the ACTIVE integration to SNAPSHOT with a new tag \"PREVIOUSLY_PUBLISHED\" after validating it. The \"HEAD\" and \"PUBLISH_REQUESTED\" tags do not change. This RPC throws an exception if the version being snapshot is not ACTIVE. Audit fields added include action, action_by, action_timestamp.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/integrations/{integrationsId}/versions/{versionsId}:unpublish", +"httpMethod": "POST", +"id": "integrations.projects.locations.integrations.versions.unpublish", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The version to deactivate. Format: projects/{project}/locations/{location}/integrations/{integration}/versions/{version}", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/integrations/[^/]+/versions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:unpublish", +"request": { +"$ref": "GoogleCloudIntegrationsV1alphaUnpublishIntegrationVersionRequest" +}, +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"upload": { +"description": "Uploads an integration. The content can be a previously downloaded integration. Performs the same function as CreateDraftIntegrationVersion, but accepts input in a string format, which holds the complete representation of the IntegrationVersion content.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/integrations/{integrationsId}/versions:upload", +"httpMethod": "POST", +"id": "integrations.projects.locations.integrations.versions.upload", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The version to upload. Format: projects/{project}/locations/{location}/integrations/{integration}", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/integrations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/versions:upload", +"request": { +"$ref": "GoogleCloudIntegrationsV1alphaUploadIntegrationVersionRequest" +}, +"response": { +"$ref": "GoogleCloudIntegrationsV1alphaUploadIntegrationVersionResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"testCases": { +"methods": { +"create": { +"description": "Creates a new test case", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/integrations/{integrationsId}/versions/{versionsId}/testCases", +"httpMethod": "POST", +"id": "integrations.projects.locations.integrations.versions.testCases.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The parent resource where this test case will be created. Format: projects/{project}/locations/{location}/integrations/{integration}/versions/{integration_version}", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/integrations/[^/]+/versions/[^/]+$", +"required": true, +"type": "string" +}, +"testCaseId": { +"description": "Required. Required", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+parent}/testCases", +"request": { +"$ref": "GoogleCloudIntegrationsV1alphaTestCase" +}, +"response": { +"$ref": "GoogleCloudIntegrationsV1alphaTestCase" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a test case", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/integrations/{integrationsId}/versions/{versionsId}/testCases/{testCasesId}", +"httpMethod": "DELETE", +"id": "integrations.projects.locations.integrations.versions.testCases.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. ID for the test case to be deleted", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/integrations/[^/]+/versions/[^/]+/testCases/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"download": { +"description": "Downloads a test case. Retrieves the `TestCase` for a given `test_case_id` and returns the response as a string.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/integrations/{integrationsId}/versions/{versionsId}/testCases/{testCasesId}:download", +"httpMethod": "GET", +"id": "integrations.projects.locations.integrations.versions.testCases.download", +"parameterOrder": [ +"name" +], +"parameters": { +"fileFormat": { +"description": "File format for download request.", +"enum": [ +"FILE_FORMAT_UNSPECIFIED", +"JSON", +"YAML" +], +"enumDescriptions": [ +"Unspecified file format", +"JSON File Format", +"YAML File Format" +], +"location": "query", +"type": "string" +}, +"name": { +"description": "Required. The test case to download. Format: projects/{project}/locations/{location}/integrations/{integration}/versions/{integration_version}/testCases/{test_case_id}", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/integrations/[^/]+/versions/[^/]+/testCases/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:download", +"response": { +"$ref": "GoogleCloudIntegrationsV1alphaDownloadTestCaseResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"execute": { +"description": "Executes all test cases in an integration version.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/integrations/{integrationsId}/versions/{versionsId}/testCases:execute", +"httpMethod": "POST", +"id": "integrations.projects.locations.integrations.versions.testCases.execute", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The parent resource whose test cases are executed. Format: projects/{project}/locations/{location}/integrations/{integration}/versions/{integration_version}", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/integrations/[^/]+/versions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/testCases:execute", +"request": { +"$ref": "GoogleCloudIntegrationsV1alphaExecuteTestCasesRequest" +}, +"response": { +"$ref": "GoogleCloudIntegrationsV1alphaExecuteTestCasesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"executeTest": { +"description": "Executes functional test", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/integrations/{integrationsId}/versions/{versionsId}/testCases/{testCasesId}:executeTest", +"httpMethod": "POST", +"id": "integrations.projects.locations.integrations.versions.testCases.executeTest", +"parameterOrder": [ +"testCaseName" +], +"parameters": { +"testCaseName": { +"description": "Required. Test case resource name", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/integrations/[^/]+/versions/[^/]+/testCases/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+testCaseName}:executeTest", +"request": { +"$ref": "GoogleCloudIntegrationsV1alphaExecuteTestCaseRequest" +}, +"response": { +"$ref": "GoogleCloudIntegrationsV1alphaExecuteTestCaseResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Get a test case", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/integrations/{integrationsId}/versions/{versionsId}/testCases/{testCasesId}", +"httpMethod": "GET", +"id": "integrations.projects.locations.integrations.versions.testCases.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The ID of the test case to retrieve", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/integrations/[^/]+/versions/[^/]+/testCases/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleCloudIntegrationsV1alphaTestCase" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists all the test cases that satisfy the filters.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/integrations/{integrationsId}/versions/{versionsId}/testCases", +"httpMethod": "GET", +"id": "integrations.projects.locations.integrations.versions.testCases.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Optional. Standard filter field. Filtering as supported in https://developers.google.com/authorized-buyers/apis/guides/list-filters.", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "Optional. The results would be returned in order specified here. Currently supported sort keys are: Descending sort order for \"last_modified_time\", \"created_time\". Ascending sort order for \"name\".", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Optional. The maximum number of test cases to return. The service may return fewer than this value. If unspecified, at most 100 test cases will be returned.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. A page token, received from a previous `ListTestCases` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListTestCases` must match the call that provided the page token.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent resource where this TestCase was created.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/integrations/[^/]+/versions/[^/]+$", +"required": true, +"type": "string" +}, +"readMask": { +"description": "Optional. The mask which specifies fields that need to be returned in the TestCases's response.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+parent}/testCases", +"response": { +"$ref": "GoogleCloudIntegrationsV1alphaListTestCasesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates a test case", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/integrations/{integrationsId}/versions/{versionsId}/testCases/{testCasesId}", +"httpMethod": "PATCH", +"id": "integrations.projects.locations.integrations.versions.testCases.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Output only. Auto-generated primary key.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/integrations/[^/]+/versions/[^/]+/testCases/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Optional. Field mask specifying the fields in the above integration that have been modified and need to be updated.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "GoogleCloudIntegrationsV1alphaTestCase" +}, +"response": { +"$ref": "GoogleCloudIntegrationsV1alphaTestCase" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"takeoverEditLock": { +"description": "Clear the lock fields and assign them to current user", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/integrations/{integrationsId}/versions/{versionsId}/testCases/{testCasesId}:takeoverEditLock", +"httpMethod": "POST", +"id": "integrations.projects.locations.integrations.versions.testCases.takeoverEditLock", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The ID of test case to takeover edit lock. Format: projects/{project}/locations/{location}/integrations/{integration}/versions/{integration_version}/testCases/{test_case_id}", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/integrations/[^/]+/versions/[^/]+/testCases/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:takeoverEditLock", +"request": { +"$ref": "GoogleCloudIntegrationsV1alphaTakeoverTestCaseEditLockRequest" +}, +"response": { +"$ref": "GoogleCloudIntegrationsV1alphaTestCase" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"upload": { +"description": "Uploads a test case. The content can be a previously downloaded test case. Performs the same function as CreateTestCase, but accepts input in a string format, which holds the complete representation of the TestCase content.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/integrations/{integrationsId}/versions/{versionsId}/testCases:upload", +"httpMethod": "POST", +"id": "integrations.projects.locations.integrations.versions.testCases.upload", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The test case to upload. Format: projects/{project}/locations/{location}/integrations/{integration}/versions/{integration_version}", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/integrations/[^/]+/versions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/testCases:upload", +"request": { +"$ref": "GoogleCloudIntegrationsV1alphaUploadTestCaseRequest" +}, +"response": { +"$ref": "GoogleCloudIntegrationsV1alphaUploadTestCaseResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +} +} +}, +"products": { +"resources": { +"authConfigs": { +"methods": { +"create": { +"description": "Creates an auth config record. Fetch corresponding credentials for specific auth types, e.g. access token for OAuth 2.0, JWT token for JWT. Encrypt the auth config with Cloud KMS and store the encrypted credentials in Spanner. Returns the encrypted auth config.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/products/{productsId}/authConfigs", +"httpMethod": "POST", +"id": "integrations.projects.locations.products.authConfigs.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"clientCertificate.encryptedPrivateKey": { +"description": "The ssl certificate encoded in PEM format. This string must include the begin header and end footer lines. For example, -----BEGIN CERTIFICATE----- MIICTTCCAbagAwIBAgIJAPT0tSKNxan/MA0GCSqGSIb3DQEBCwUAMCoxFzAVBgNV BAoTDkdvb2dsZSBURVNUSU5HMQ8wDQYDVQQDEwZ0ZXN0Q0EwHhcNMTUwMTAxMDAw MDAwWhcNMjUwMTAxMDAwMDAwWjAuMRcwFQYDVQQKEw5Hb29nbGUgVEVTVElORzET MBEGA1UEAwwKam9lQGJhbmFuYTCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEA vDYFgMgxi5W488d9J7UpCInl0NXmZQpJDEHE4hvkaRlH7pnC71H0DLt0/3zATRP1 JzY2+eqBmbGl4/sgZKYv8UrLnNyQNUTsNx1iZAfPUflf5FwgVsai8BM0pUciq1NB xD429VFcrGZNucvFLh72RuRFIKH8WUpiK/iZNFkWhZ0CAwEAAaN3MHUwDgYDVR0P AQH/BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAMBgNVHRMB Af8EAjAAMBkGA1UdDgQSBBCVgnFBCWgL/iwCqnGrhTPQMBsGA1UdIwQUMBKAEKey Um2o4k2WiEVA0ldQvNYwDQYJKoZIhvcNAQELBQADgYEAYK986R4E3L1v+Q6esBtW JrUwA9UmJRSQr0N5w3o9XzarU37/bkjOP0Fw0k/A6Vv1n3vlciYfBFaBIam1qRHr 5dMsYf4CZS6w50r7hyzqyrwDoyNxkLnd2PdcHT/sym1QmflsjEs7pejtnohO6N2H wQW6M0H7Zt8claGRla4fKkg= -----END CERTIFICATE-----", +"location": "query", +"type": "string" +}, +"clientCertificate.passphrase": { +"description": "'passphrase' should be left unset if private key is not encrypted. Note that 'passphrase' is not the password for web server, but an extra layer of security to protected private key.", +"location": "query", +"type": "string" +}, +"clientCertificate.sslCertificate": { +"description": "The ssl certificate encoded in PEM format. This string must include the begin header and end footer lines. For example, -----BEGIN CERTIFICATE----- MIICTTCCAbagAwIBAgIJAPT0tSKNxan/MA0GCSqGSIb3DQEBCwUAMCoxFzAVBgNV BAoTDkdvb2dsZSBURVNUSU5HMQ8wDQYDVQQDEwZ0ZXN0Q0EwHhcNMTUwMTAxMDAw MDAwWhcNMjUwMTAxMDAwMDAwWjAuMRcwFQYDVQQKEw5Hb29nbGUgVEVTVElORzET MBEGA1UEAwwKam9lQGJhbmFuYTCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEA vDYFgMgxi5W488d9J7UpCInl0NXmZQpJDEHE4hvkaRlH7pnC71H0DLt0/3zATRP1 JzY2+eqBmbGl4/sgZKYv8UrLnNyQNUTsNx1iZAfPUflf5FwgVsai8BM0pUciq1NB xD429VFcrGZNucvFLh72RuRFIKH8WUpiK/iZNFkWhZ0CAwEAAaN3MHUwDgYDVR0P AQH/BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAMBgNVHRMB Af8EAjAAMBkGA1UdDgQSBBCVgnFBCWgL/iwCqnGrhTPQMBsGA1UdIwQUMBKAEKey Um2o4k2WiEVA0ldQvNYwDQYJKoZIhvcNAQELBQADgYEAYK986R4E3L1v+Q6esBtW JrUwA9UmJRSQr0N5w3o9XzarU37/bkjOP0Fw0k/A6Vv1n3vlciYfBFaBIam1qRHr 5dMsYf4CZS6w50r7hyzqyrwDoyNxkLnd2PdcHT/sym1QmflsjEs7pejtnohO6N2H wQW6M0H7Zt8claGRla4fKkg= -----END CERTIFICATE-----", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. \"projects/{project}/locations/{location}\" format.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/products/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/authConfigs", +"request": { +"$ref": "GoogleCloudIntegrationsV1alphaAuthConfig" +}, +"response": { +"$ref": "GoogleCloudIntegrationsV1alphaAuthConfig" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes an auth config.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/products/{productsId}/authConfigs/{authConfigsId}", +"httpMethod": "DELETE", +"id": "integrations.projects.locations.products.authConfigs.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name that is associated with the AuthConfig.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/products/[^/]+/authConfigs/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets a complete auth config. If the auth config doesn't exist, Code.NOT_FOUND exception will be thrown. Returns the decrypted auth config.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/products/{productsId}/authConfigs/{authConfigsId}", +"httpMethod": "GET", +"id": "integrations.projects.locations.products.authConfigs.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name that is associated with the AuthConfig.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/products/[^/]+/authConfigs/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleCloudIntegrationsV1alphaAuthConfig" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists all auth configs that match the filter. Restrict to auth configs belong to the current client only.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/products/{productsId}/authConfigs", +"httpMethod": "GET", +"id": "integrations.projects.locations.products.authConfigs.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Filtering as supported in https://developers.google.com/authorized-buyers/apis/guides/list-filters.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "The size of entries in the response. If unspecified, defaults to 100.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The token returned in the previous response.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The client, which owns this collection of AuthConfigs.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/products/[^/]+$", +"required": true, +"type": "string" +}, +"readMask": { +"description": "The mask which specifies fields that need to be returned in the AuthConfig's response.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+parent}/authConfigs", +"response": { +"$ref": "GoogleCloudIntegrationsV1alphaListAuthConfigsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates an auth config. If credential is updated, fetch the encrypted auth config from Spanner, decrypt with Cloud KMS key, update the credential fields, re-encrypt with Cloud KMS key and update the Spanner record. For other fields, directly update the Spanner record. Returns the encrypted auth config.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/products/{productsId}/authConfigs/{authConfigsId}", +"httpMethod": "PATCH", +"id": "integrations.projects.locations.products.authConfigs.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"clientCertificate.encryptedPrivateKey": { +"description": "The ssl certificate encoded in PEM format. This string must include the begin header and end footer lines. For example, -----BEGIN CERTIFICATE----- MIICTTCCAbagAwIBAgIJAPT0tSKNxan/MA0GCSqGSIb3DQEBCwUAMCoxFzAVBgNV BAoTDkdvb2dsZSBURVNUSU5HMQ8wDQYDVQQDEwZ0ZXN0Q0EwHhcNMTUwMTAxMDAw MDAwWhcNMjUwMTAxMDAwMDAwWjAuMRcwFQYDVQQKEw5Hb29nbGUgVEVTVElORzET MBEGA1UEAwwKam9lQGJhbmFuYTCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEA vDYFgMgxi5W488d9J7UpCInl0NXmZQpJDEHE4hvkaRlH7pnC71H0DLt0/3zATRP1 JzY2+eqBmbGl4/sgZKYv8UrLnNyQNUTsNx1iZAfPUflf5FwgVsai8BM0pUciq1NB xD429VFcrGZNucvFLh72RuRFIKH8WUpiK/iZNFkWhZ0CAwEAAaN3MHUwDgYDVR0P AQH/BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAMBgNVHRMB Af8EAjAAMBkGA1UdDgQSBBCVgnFBCWgL/iwCqnGrhTPQMBsGA1UdIwQUMBKAEKey Um2o4k2WiEVA0ldQvNYwDQYJKoZIhvcNAQELBQADgYEAYK986R4E3L1v+Q6esBtW JrUwA9UmJRSQr0N5w3o9XzarU37/bkjOP0Fw0k/A6Vv1n3vlciYfBFaBIam1qRHr 5dMsYf4CZS6w50r7hyzqyrwDoyNxkLnd2PdcHT/sym1QmflsjEs7pejtnohO6N2H wQW6M0H7Zt8claGRla4fKkg= -----END CERTIFICATE-----", +"location": "query", +"type": "string" +}, +"clientCertificate.passphrase": { +"description": "'passphrase' should be left unset if private key is not encrypted. Note that 'passphrase' is not the password for web server, but an extra layer of security to protected private key.", +"location": "query", +"type": "string" +}, +"clientCertificate.sslCertificate": { +"description": "The ssl certificate encoded in PEM format. This string must include the begin header and end footer lines. For example, -----BEGIN CERTIFICATE----- MIICTTCCAbagAwIBAgIJAPT0tSKNxan/MA0GCSqGSIb3DQEBCwUAMCoxFzAVBgNV BAoTDkdvb2dsZSBURVNUSU5HMQ8wDQYDVQQDEwZ0ZXN0Q0EwHhcNMTUwMTAxMDAw MDAwWhcNMjUwMTAxMDAwMDAwWjAuMRcwFQYDVQQKEw5Hb29nbGUgVEVTVElORzET MBEGA1UEAwwKam9lQGJhbmFuYTCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEA vDYFgMgxi5W488d9J7UpCInl0NXmZQpJDEHE4hvkaRlH7pnC71H0DLt0/3zATRP1 JzY2+eqBmbGl4/sgZKYv8UrLnNyQNUTsNx1iZAfPUflf5FwgVsai8BM0pUciq1NB xD429VFcrGZNucvFLh72RuRFIKH8WUpiK/iZNFkWhZ0CAwEAAaN3MHUwDgYDVR0P AQH/BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAMBgNVHRMB Af8EAjAAMBkGA1UdDgQSBBCVgnFBCWgL/iwCqnGrhTPQMBsGA1UdIwQUMBKAEKey Um2o4k2WiEVA0ldQvNYwDQYJKoZIhvcNAQELBQADgYEAYK986R4E3L1v+Q6esBtW JrUwA9UmJRSQr0N5w3o9XzarU37/bkjOP0Fw0k/A6Vv1n3vlciYfBFaBIam1qRHr 5dMsYf4CZS6w50r7hyzqyrwDoyNxkLnd2PdcHT/sym1QmflsjEs7pejtnohO6N2H wQW6M0H7Zt8claGRla4fKkg= -----END CERTIFICATE-----", +"location": "query", +"type": "string" +}, +"name": { +"description": "Resource name of the auth config. For more information, see Manage authentication profiles. projects/{project}/locations/{location}/authConfigs/{authConfig}.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/products/[^/]+/authConfigs/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Field mask specifying the fields in the above AuthConfig that have been modified and need to be updated.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "GoogleCloudIntegrationsV1alphaAuthConfig" +}, +"response": { +"$ref": "GoogleCloudIntegrationsV1alphaAuthConfig" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"certificates": { +"methods": { +"create": { +"description": "Creates a new certificate. The certificate will be registered to the trawler service and will be encrypted using cloud KMS and stored in Spanner Returns the certificate.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/products/{productsId}/certificates", +"httpMethod": "POST", +"id": "integrations.projects.locations.products.certificates.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. \"projects/{project}/locations/{location}\" format.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/products/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/certificates", +"request": { +"$ref": "GoogleCloudIntegrationsV1alphaCertificate" +}, +"response": { +"$ref": "GoogleCloudIntegrationsV1alphaCertificate" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Delete a certificate", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/products/{productsId}/certificates/{certificatesId}", +"httpMethod": "DELETE", +"id": "integrations.projects.locations.products.certificates.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name that is associated with the Certificate.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/products/[^/]+/certificates/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Get a certificates in the specified project.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/products/{productsId}/certificates/{certificatesId}", +"httpMethod": "GET", +"id": "integrations.projects.locations.products.certificates.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The certificate to retrieve. Format: projects/{project}/locations/{location}/certificates/{certificate}", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/products/[^/]+/certificates/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleCloudIntegrationsV1alphaCertificate" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "List all the certificates that match the filter. Restrict to certificate of current client only.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/products/{productsId}/certificates", +"httpMethod": "GET", +"id": "integrations.projects.locations.products.certificates.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Filtering as supported in https://developers.google.com/authorized-buyers/apis/guides/list-filters.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "The size of entries in the response. If unspecified, defaults to 100.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The token returned in the previous response.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The client, which owns this collection of Certificates.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/products/[^/]+$", +"required": true, +"type": "string" +}, +"readMask": { +"description": "The mask which specifies fields that need to be returned in the Certificate's response.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+parent}/certificates", +"response": { +"$ref": "GoogleCloudIntegrationsV1alphaListCertificatesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates the certificate by id. If new certificate file is updated, it will register with the trawler service, re-encrypt with cloud KMS and update the Spanner record. Other fields will directly update the Spanner record. Returns the Certificate.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/products/{productsId}/certificates/{certificatesId}", +"httpMethod": "PATCH", +"id": "integrations.projects.locations.products.certificates.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Output only. Auto generated primary key", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/products/[^/]+/certificates/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Field mask specifying the fields in the above Certificate that have been modified and need to be updated.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "GoogleCloudIntegrationsV1alphaCertificate" +}, +"response": { +"$ref": "GoogleCloudIntegrationsV1alphaCertificate" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"cloudFunctions": { +"methods": { +"create": { +"description": "Creates a cloud function project.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/products/{productsId}/cloudFunctions", +"httpMethod": "POST", +"id": "integrations.projects.locations.products.cloudFunctions.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The project that the executed integration belongs to.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/products/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/cloudFunctions", +"request": { +"$ref": "GoogleCloudIntegrationsV1alphaCreateCloudFunctionRequest" +}, +"response": { +"$ref": "GoogleCloudIntegrationsV1alphaCreateCloudFunctionResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"integrations": { +"methods": { +"execute": { +"description": "Executes integrations synchronously by passing the trigger id in the request body. The request is not returned until the requested executions are either fulfilled or experienced an error. If the integration name is not specified (passing `-`), all of the associated integration under the given trigger_id will be executed. Otherwise only the specified integration for the given `trigger_id` is executed. This is helpful for execution the integration from UI.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/products/{productsId}/integrations/{integrationsId}:execute", +"httpMethod": "POST", +"id": "integrations.projects.locations.products.integrations.execute", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The integration resource name.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/products/[^/]+/integrations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:execute", +"request": { +"$ref": "GoogleCloudIntegrationsV1alphaExecuteIntegrationsRequest" +}, +"response": { +"$ref": "GoogleCloudIntegrationsV1alphaExecuteIntegrationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Returns the list of all integrations in the specified project.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/products/{productsId}/integrations", +"httpMethod": "GET", +"id": "integrations.projects.locations.products.integrations.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Filter on fields of IntegrationVersion. Fields can be compared with literal values by use of \":\" (containment), \"=\" (equality), \">\" (greater), \"<\" (less than), >=\" (greater than or equal to), \"<=\" (less than or equal to), and \"!=\" (inequality) operators. Negation, conjunction, and disjunction are written using NOT, AND, and OR keywords. For example, organization_id=\\\"1\\\" AND state=ACTIVE AND description:\"test\". Filtering cannot be performed on repeated fields like `task_config`.", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "The results would be returned in order you specified here. Supported sort keys are: Descending sort order by \"last_modified_time\", \"created_time\", \"snapshot_number\". Ascending sort order by the integration name.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "The page size for the resquest.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The page token for the resquest.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. Project and location from which the integrations should be listed. Format: projects/{project}", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/products/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/integrations", +"response": { +"$ref": "GoogleCloudIntegrationsV1alphaListIntegrationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"schedule": { +"description": "Schedules an integration for execution by passing the trigger id and the scheduled time in the request body.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/products/{productsId}/integrations/{integrationsId}:schedule", +"httpMethod": "POST", +"id": "integrations.projects.locations.products.integrations.schedule", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The integration resource name.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/products/[^/]+/integrations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:schedule", +"request": { +"$ref": "GoogleCloudIntegrationsV1alphaScheduleIntegrationsRequest" +}, +"response": { +"$ref": "GoogleCloudIntegrationsV1alphaScheduleIntegrationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"test": { +"description": "Execute the integration in draft state", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/products/{productsId}/integrations/{integrationsId}:test", +"httpMethod": "POST", +"id": "integrations.projects.locations.products.integrations.test", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Output only. Auto-generated primary key.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/products/[^/]+/integrations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:test", +"request": { +"$ref": "GoogleCloudIntegrationsV1alphaTestIntegrationsRequest" +}, +"response": { +"$ref": "GoogleCloudIntegrationsV1alphaTestIntegrationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"executions": { +"methods": { +"download": { +"description": "Download the execution.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/products/{productsId}/integrations/{integrationsId}/executions/{executionsId}:download", +"httpMethod": "GET", +"id": "integrations.projects.locations.products.integrations.executions.download", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The execution resource name. Format: projects/{gcp_project_id}/locations/{location}/products/{product}/integrations/{integration_id}/executions/{execution_id}", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/products/[^/]+/integrations/[^/]+/executions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:download", +"response": { +"$ref": "GoogleCloudIntegrationsV1alphaDownloadExecutionResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Get an execution in the specified project.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/products/{productsId}/integrations/{integrationsId}/executions/{executionsId}", +"httpMethod": "GET", +"id": "integrations.projects.locations.products.integrations.executions.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The execution resource name. Format: projects/{gcp_project_id}/locations/{location}/products/{product}/integrations/{integration_id}/executions/{execution_id}", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/products/[^/]+/integrations/[^/]+/executions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleCloudIntegrationsV1alphaExecution" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists the results of all the integration executions. The response includes the same information as the [execution log](https://cloud.google.com/application-integration/docs/viewing-logs) in the Integration UI.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/products/{productsId}/integrations/{integrationsId}/executions", +"httpMethod": "GET", +"id": "integrations.projects.locations.products.integrations.executions.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Optional. Standard filter field, we support filtering on following fields: workflow_name: the name of the integration. CreateTimestamp: the execution created time. event_execution_state: the state of the executions. execution_id: the id of the execution. trigger_id: the id of the trigger. parameter_type: the type of the parameters involved in the execution. All fields support for EQUALS, in additional: CreateTimestamp support for LESS_THAN, GREATER_THAN ParameterType support for HAS For example: \"parameter_type\" HAS \\\"string\\\" Also supports operators like AND, OR, NOT For example, trigger_id=\\\"id1\\\" AND workflow_name=\\\"testWorkflow\\\"", +"location": "query", +"type": "string" +}, +"filterParams.customFilter": { +"description": "Optional user-provided custom filter.", +"location": "query", +"type": "string" +}, +"filterParams.endTime": { +"description": "End timestamp.", +"format": "int64", +"location": "query", +"type": "string" +}, +"filterParams.eventStatuses": { +"description": "List of possible event statuses.", +"location": "query", +"repeated": true, +"type": "string" +}, +"filterParams.executionId": { +"description": "Execution id.", +"location": "query", +"type": "string" +}, +"filterParams.parameterKey": { +"deprecated": true, +"description": "Param key. DEPRECATED. User parameter_pair_key instead.", +"location": "query", +"type": "string" +}, +"filterParams.parameterPairKey": { +"description": "Param key in the key value pair filter.", +"location": "query", +"type": "string" +}, +"filterParams.parameterPairValue": { +"description": "Param value in the key value pair filter.", +"location": "query", +"type": "string" +}, +"filterParams.parameterType": { +"description": "Param type.", +"location": "query", +"type": "string" +}, +"filterParams.parameterValue": { +"deprecated": true, +"description": "Param value. DEPRECATED. User parameter_pair_value instead.", +"location": "query", +"type": "string" +}, +"filterParams.startTime": { +"description": "Start timestamp.", +"format": "int64", +"location": "query", +"type": "string" +}, +"filterParams.taskStatuses": { +"deprecated": true, +"description": "List of possible task statuses.", +"location": "query", +"repeated": true, +"type": "string" +}, +"filterParams.workflowName": { +"description": "Workflow name.", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "Optional. The results would be returned in order you specified here. Currently supporting \"create_time\".", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Optional. The size of entries in the response.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. The token returned in the previous response.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent resource name of the integration execution.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/products/[^/]+/integrations/[^/]+$", +"required": true, +"type": "string" +}, +"readMask": { +"description": "Optional. View mask for the response data. If set, only the field specified will be returned as part of the result. If not set, all fields in Execution will be filled and returned. Supported fields: trigger_id execution_method create_time update_time execution_details execution_details.state execution_details.execution_snapshots execution_details.attempt_stats execution_details.event_execution_snapshots_size request_parameters cloud_logging_details snapshot_number replay_info", +"format": "google-fieldmask", +"location": "query", +"type": "string" +}, +"refreshAcl": { +"description": "Optional. If true, the service will use the most recent acl information to list event execution infos and renew the acl cache. Note that fetching the most recent acl is synchronous, so it will increase RPC call latency.", +"location": "query", +"type": "boolean" +}, +"snapshotMetadataWithoutParams": { +"description": "Optional. If true, the service will provide execution info with snapshot metadata only i.e. without event parameters.", +"location": "query", +"type": "boolean" +}, +"truncateParams": { +"deprecated": true, +"description": "Optional. If true, the service will truncate the params to only keep the first 1000 characters of string params and empty the executions in order to make response smaller. Only works for UI and when the params fields are not filtered out.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1/{+parent}/executions", +"response": { +"$ref": "GoogleCloudIntegrationsV1alphaListExecutionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"suspensions": { +"methods": { +"lift": { +"description": "* Lifts suspension for the Suspension task. Fetch corresponding suspension with provided suspension Id, resolve suspension, and set up suspension result for the Suspension Task.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/products/{productsId}/integrations/{integrationsId}/executions/{executionsId}/suspensions/{suspensionsId}:lift", +"httpMethod": "POST", +"id": "integrations.projects.locations.products.integrations.executions.suspensions.lift", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource that the suspension belongs to. \"projects/{project}/locations/{location}/products/{product}/integrations/{integration}/executions/{execution}/suspensions/{suspenion}\" format.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/products/[^/]+/integrations/[^/]+/executions/[^/]+/suspensions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:lift", +"request": { +"$ref": "GoogleCloudIntegrationsV1alphaLiftSuspensionRequest" +}, +"response": { +"$ref": "GoogleCloudIntegrationsV1alphaLiftSuspensionResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "* Lists suspensions associated with a specific execution. Only those with permissions to resolve the relevant suspensions will be able to view them.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/products/{productsId}/integrations/{integrationsId}/executions/{executionsId}/suspensions", +"httpMethod": "GET", +"id": "integrations.projects.locations.products.integrations.executions.suspensions.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Standard filter field.", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "Field name to order by.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Maximum number of entries in the response.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Token to retrieve a specific page.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. projects/{gcp_project_id}/locations/{location}/products/{product}/integrations/{integration_name}/executions/{execution_name}", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/products/[^/]+/integrations/[^/]+/executions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/suspensions", +"response": { +"$ref": "GoogleCloudIntegrationsV1alphaListSuspensionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"resolve": { +"description": "* Resolves (lifts/rejects) any number of suspensions. If the integration is already running, only the status of the suspension is updated. Otherwise, the suspended integration will begin execution again.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/products/{productsId}/integrations/{integrationsId}/executions/{executionsId}/suspensions/{suspensionsId}:resolve", +"httpMethod": "POST", +"id": "integrations.projects.locations.products.integrations.executions.suspensions.resolve", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. projects/{gcp_project_id}/locations/{location}/products/{product}/integrations/{integration_name}/executions/{execution_name}/suspensions/{suspension_id}", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/products/[^/]+/integrations/[^/]+/executions/[^/]+/suspensions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:resolve", +"request": { +"$ref": "GoogleCloudIntegrationsV1alphaResolveSuspensionRequest" +}, +"response": { +"$ref": "GoogleCloudIntegrationsV1alphaResolveSuspensionResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +}, +"versions": { +"methods": { +"create": { +"description": "Create a integration with a draft version in the specified project.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/products/{productsId}/integrations/{integrationsId}/versions", +"httpMethod": "POST", +"id": "integrations.projects.locations.products.integrations.versions.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"createSampleIntegrations": { +"description": "Optional. Optional. Indicates if sample workflow should be created.", +"location": "query", +"type": "boolean" +}, +"newIntegration": { +"description": "Set this flag to true, if draft version is to be created for a brand new integration. False, if the request is for an existing integration. For backward compatibility reasons, even if this flag is set to `false` and no existing integration is found, a new draft integration will still be created.", +"location": "query", +"type": "boolean" +}, +"parent": { +"description": "Required. The parent resource where this version will be created. Format: projects/{project}/locations/{location}/integrations/{integration}", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/products/[^/]+/integrations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/versions", +"request": { +"$ref": "GoogleCloudIntegrationsV1alphaIntegrationVersion" +}, +"response": { +"$ref": "GoogleCloudIntegrationsV1alphaIntegrationVersion" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Soft-deletes the integration. Changes the status of the integration to ARCHIVED. If the integration being ARCHIVED is tagged as \"HEAD\", the tag is removed from this snapshot and set to the previous non-ARCHIVED snapshot. The PUBLISH_REQUESTED, DUE_FOR_DELETION tags are removed too. This RPC throws an exception if the version being deleted is DRAFT, and if the `locked_by` user is not the same as the user performing the Delete. Audit fields updated include last_modified_timestamp, last_modified_by. Any existing lock is released when Deleting a integration. Currently, there is no undelete mechanism.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/products/{productsId}/integrations/{integrationsId}/versions/{versionsId}", +"httpMethod": "DELETE", +"id": "integrations.projects.locations.products.integrations.versions.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The version to delete. Format: projects/{project}/locations/{location}/integrations/{integration}/versions/{version}", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/products/[^/]+/integrations/[^/]+/versions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"download": { +"description": "Downloads an integration. Retrieves the `IntegrationVersion` for a given `integration_id` and returns the response as a string.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/products/{productsId}/integrations/{integrationsId}/versions/{versionsId}:download", +"httpMethod": "GET", +"id": "integrations.projects.locations.products.integrations.versions.download", +"parameterOrder": [ +"name" +], +"parameters": { +"fileFormat": { +"description": "File format for download request.", +"enum": [ +"FILE_FORMAT_UNSPECIFIED", +"JSON", +"YAML" +], +"enumDescriptions": [ +"Unspecified file format", +"JSON File Format", +"YAML File Format" +], +"location": "query", +"type": "string" +}, +"files": { +"description": "Optional. Integration related file to download like Integration Json, Config variable, testcase etc.", +"enum": [ +"INTEGRATION_FILE_UNSPECIFIED", +"INTEGRATION", +"INTEGRATION_CONFIG_VARIABLES" +], +"enumDescriptions": [ +"Default value.", +"Integration file.", +"Integration Config variables." +], +"location": "query", +"repeated": true, +"type": "string" +}, +"name": { +"description": "Required. The version to download. Format: projects/{project}/locations/{location}/integrations/{integration}/versions/{version}", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/products/[^/]+/integrations/[^/]+/versions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:download", +"response": { +"$ref": "GoogleCloudIntegrationsV1alphaDownloadIntegrationVersionResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Get a integration in the specified project.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/products/{productsId}/integrations/{integrationsId}/versions/{versionsId}", +"httpMethod": "GET", +"id": "integrations.projects.locations.products.integrations.versions.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The version to retrieve. Format: projects/{project}/locations/{location}/integrations/{integration}/versions/{version}", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/products/[^/]+/integrations/[^/]+/versions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleCloudIntegrationsV1alphaIntegrationVersion" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Returns the list of all integration versions in the specified project.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/products/{productsId}/integrations/{integrationsId}/versions", +"httpMethod": "GET", +"id": "integrations.projects.locations.products.integrations.versions.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"fieldMask": { +"description": "The field mask which specifies the particular data to be returned.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +}, +"filter": { +"description": "Filter on fields of IntegrationVersion. Fields can be compared with literal values by use of \":\" (containment), \"=\" (equality), \">\" (greater), \"<\" (less than), >=\" (greater than or equal to), \"<=\" (less than or equal to), and \"!=\" (inequality) operators. Negation, conjunction, and disjunction are written using NOT, AND, and OR keywords. For example, organization_id=\\\"1\\\" AND state=ACTIVE AND description:\"test\". Filtering cannot be performed on repeated fields like `task_config`.", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "The results would be returned in order you specified here. Currently supported sort keys are: Descending sort order for \"last\\_modified\\_time\", \"created\\_time\", and \"snapshot\\_number\". Ascending sort order for `name`.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "The maximum number of versions to return. The service may return fewer than this value. If unspecified, at most 50 versions will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A page token, received from a previous `ListIntegrationVersions` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListIntegrationVersions` must match the call that provided the page token.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent resource where this version will be created. Format: projects/{project}/locations/{location}/integrations/{integration} Specifically, when parent equals: 1. projects//locations//integrations/, Meaning: \"List versions (with filter) for a particular integration\". 2. projects//locations//integrations/- Meaning: \"List versions (with filter) for a client within a particular region\".", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/products/[^/]+/integrations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/versions", +"response": { +"$ref": "GoogleCloudIntegrationsV1alphaListIntegrationVersionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Update a integration with a draft version in the specified project.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/products/{productsId}/integrations/{integrationsId}/versions/{versionsId}", +"httpMethod": "PATCH", +"id": "integrations.projects.locations.products.integrations.versions.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Output only. Auto-generated primary key.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/products/[^/]+/integrations/[^/]+/versions/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Field mask specifying the fields in the above integration that have been modified and need to be updated.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "GoogleCloudIntegrationsV1alphaIntegrationVersion" +}, +"response": { +"$ref": "GoogleCloudIntegrationsV1alphaIntegrationVersion" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"publish": { +"description": "This RPC throws an exception if the integration is in ARCHIVED or ACTIVE state. This RPC throws an exception if the version being published is DRAFT, and if the `locked_by` user is not the same as the user performing the Publish. Audit fields updated include last_published_timestamp, last_published_by, last_modified_timestamp, last_modified_by. Any existing lock is on this integration is released.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/products/{productsId}/integrations/{integrationsId}/versions/{versionsId}:publish", +"httpMethod": "POST", +"id": "integrations.projects.locations.products.integrations.versions.publish", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The version to publish. Format: projects/{project}/locations/{location}/integrations/{integration}/versions/{version}", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/products/[^/]+/integrations/[^/]+/versions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:publish", +"request": { +"$ref": "GoogleCloudIntegrationsV1alphaPublishIntegrationVersionRequest" +}, +"response": { +"$ref": "GoogleCloudIntegrationsV1alphaPublishIntegrationVersionResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"takeoverEditLock": { +"description": "Clears the `locked_by` and `locked_at_timestamp`in the DRAFT version of this integration. It then performs the same action as the CreateDraftIntegrationVersion (i.e., copies the DRAFT version of the integration as a SNAPSHOT and then creates a new DRAFT version with the `locked_by` set to the `user_taking_over` and the `locked_at_timestamp` set to the current timestamp). Both the `locked_by` and `user_taking_over` are notified via email about the takeover. This RPC throws an exception if the integration is not in DRAFT status or if the `locked_by` and `locked_at_timestamp` fields are not set.The TakeoverEdit lock is treated the same as an edit of the integration, and hence shares ACLs with edit. Audit fields updated include last_modified_timestamp, last_modified_by.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/products/{productsId}/integrations/{integrationsId}/versions/{versionsId}:takeoverEditLock", +"httpMethod": "POST", +"id": "integrations.projects.locations.products.integrations.versions.takeoverEditLock", +"parameterOrder": [ +"integrationVersion" +], +"parameters": { +"integrationVersion": { +"description": "Required. The version to take over edit lock. Format: projects/{project}/locations/{location}/integrations/{integration}/versions/{version}", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/products/[^/]+/integrations/[^/]+/versions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+integrationVersion}:takeoverEditLock", +"request": { +"$ref": "GoogleCloudIntegrationsV1alphaTakeoverEditLockRequest" +}, +"response": { +"$ref": "GoogleCloudIntegrationsV1alphaTakeoverEditLockResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"unpublish": { +"description": "Sets the status of the ACTIVE integration to SNAPSHOT with a new tag \"PREVIOUSLY_PUBLISHED\" after validating it. The \"HEAD\" and \"PUBLISH_REQUESTED\" tags do not change. This RPC throws an exception if the version being snapshot is not ACTIVE. Audit fields added include action, action_by, action_timestamp.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/products/{productsId}/integrations/{integrationsId}/versions/{versionsId}:unpublish", +"httpMethod": "POST", +"id": "integrations.projects.locations.products.integrations.versions.unpublish", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The version to deactivate. Format: projects/{project}/locations/{location}/integrations/{integration}/versions/{version}", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/products/[^/]+/integrations/[^/]+/versions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:unpublish", +"request": { +"$ref": "GoogleCloudIntegrationsV1alphaUnpublishIntegrationVersionRequest" +}, +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"upload": { +"description": "Uploads an integration. The content can be a previously downloaded integration. Performs the same function as CreateDraftIntegrationVersion, but accepts input in a string format, which holds the complete representation of the IntegrationVersion content.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/products/{productsId}/integrations/{integrationsId}/versions:upload", +"httpMethod": "POST", +"id": "integrations.projects.locations.products.integrations.versions.upload", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The version to upload. Format: projects/{project}/locations/{location}/integrations/{integration}", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/products/[^/]+/integrations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/versions:upload", +"request": { +"$ref": "GoogleCloudIntegrationsV1alphaUploadIntegrationVersionRequest" +}, +"response": { +"$ref": "GoogleCloudIntegrationsV1alphaUploadIntegrationVersionResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +}, +"sfdcInstances": { +"methods": { +"create": { +"description": "Creates an sfdc instance record. Store the sfdc instance in Spanner. Returns the sfdc instance.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/products/{productsId}/sfdcInstances", +"httpMethod": "POST", +"id": "integrations.projects.locations.products.sfdcInstances.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. \"projects/{project}/locations/{location}\" format.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/products/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/sfdcInstances", +"request": { +"$ref": "GoogleCloudIntegrationsV1alphaSfdcInstance" +}, +"response": { +"$ref": "GoogleCloudIntegrationsV1alphaSfdcInstance" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes an sfdc instance.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/products/{productsId}/sfdcInstances/{sfdcInstancesId}", +"httpMethod": "DELETE", +"id": "integrations.projects.locations.products.sfdcInstances.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name that is associated with the SfdcInstance.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/products/[^/]+/sfdcInstances/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets an sfdc instance. If the instance doesn't exist, Code.NOT_FOUND exception will be thrown.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/products/{productsId}/sfdcInstances/{sfdcInstancesId}", +"httpMethod": "GET", +"id": "integrations.projects.locations.products.sfdcInstances.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name that is associated with the SfdcInstance.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/products/[^/]+/sfdcInstances/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleCloudIntegrationsV1alphaSfdcInstance" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists all sfdc instances that match the filter. Restrict to sfdc instances belonging to the current client only.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/products/{productsId}/sfdcInstances", +"httpMethod": "GET", +"id": "integrations.projects.locations.products.sfdcInstances.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Filtering as supported in https://developers.google.com/authorized-buyers/apis/guides/list-filters.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "The size of entries in the response. If unspecified, defaults to 100.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The token returned in the previous response.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The client, which owns this collection of SfdcInstances.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/products/[^/]+$", +"required": true, +"type": "string" +}, +"readMask": { +"description": "The mask which specifies fields that need to be returned in the SfdcInstance's response.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+parent}/sfdcInstances", +"response": { +"$ref": "GoogleCloudIntegrationsV1alphaListSfdcInstancesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates an sfdc instance. Updates the sfdc instance in spanner. Returns the sfdc instance.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/products/{productsId}/sfdcInstances/{sfdcInstancesId}", +"httpMethod": "PATCH", +"id": "integrations.projects.locations.products.sfdcInstances.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Resource name of the SFDC instance projects/{project}/locations/{location}/sfdcInstances/{sfdcInstance}.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/products/[^/]+/sfdcInstances/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Field mask specifying the fields in the above SfdcInstance that have been modified and need to be updated.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "GoogleCloudIntegrationsV1alphaSfdcInstance" +}, +"response": { +"$ref": "GoogleCloudIntegrationsV1alphaSfdcInstance" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"sfdcChannels": { +"methods": { +"create": { +"description": "Creates an sfdc channel record. Store the sfdc channel in Spanner. Returns the sfdc channel.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/products/{productsId}/sfdcInstances/{sfdcInstancesId}/sfdcChannels", +"httpMethod": "POST", +"id": "integrations.projects.locations.products.sfdcInstances.sfdcChannels.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. \"projects/{project}/locations/{location}\" format.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/products/[^/]+/sfdcInstances/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/sfdcChannels", +"request": { +"$ref": "GoogleCloudIntegrationsV1alphaSfdcChannel" +}, +"response": { +"$ref": "GoogleCloudIntegrationsV1alphaSfdcChannel" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes an sfdc channel.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/products/{productsId}/sfdcInstances/{sfdcInstancesId}/sfdcChannels/{sfdcChannelsId}", +"httpMethod": "DELETE", +"id": "integrations.projects.locations.products.sfdcInstances.sfdcChannels.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name that is associated with the SfdcChannel.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/products/[^/]+/sfdcInstances/[^/]+/sfdcChannels/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets an sfdc channel. If the channel doesn't exist, Code.NOT_FOUND exception will be thrown.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/products/{productsId}/sfdcInstances/{sfdcInstancesId}/sfdcChannels/{sfdcChannelsId}", +"httpMethod": "GET", +"id": "integrations.projects.locations.products.sfdcInstances.sfdcChannels.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name that is associated with the SfdcChannel.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/products/[^/]+/sfdcInstances/[^/]+/sfdcChannels/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleCloudIntegrationsV1alphaSfdcChannel" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists all sfdc channels that match the filter. Restrict to sfdc channels belonging to the current client only.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/products/{productsId}/sfdcInstances/{sfdcInstancesId}/sfdcChannels", +"httpMethod": "GET", +"id": "integrations.projects.locations.products.sfdcInstances.sfdcChannels.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Filtering as supported in https://developers.google.com/authorized-buyers/apis/guides/list-filters.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "The size of entries in the response. If unspecified, defaults to 100.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The token returned in the previous response.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The client, which owns this collection of SfdcChannels.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/products/[^/]+/sfdcInstances/[^/]+$", +"required": true, +"type": "string" +}, +"readMask": { +"description": "The mask which specifies fields that need to be returned in the SfdcChannel's response.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+parent}/sfdcChannels", +"response": { +"$ref": "GoogleCloudIntegrationsV1alphaListSfdcChannelsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates an sfdc channel. Updates the sfdc channel in spanner. Returns the sfdc channel.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/products/{productsId}/sfdcInstances/{sfdcInstancesId}/sfdcChannels/{sfdcChannelsId}", +"httpMethod": "PATCH", +"id": "integrations.projects.locations.products.sfdcInstances.sfdcChannels.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Resource name of the SFDC channel projects/{project}/locations/{location}/sfdcInstances/{sfdc_instance}/sfdcChannels/{sfdc_channel}.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/products/[^/]+/sfdcInstances/[^/]+/sfdcChannels/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Field mask specifying the fields in the above SfdcChannel that have been modified and need to be updated.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "GoogleCloudIntegrationsV1alphaSfdcChannel" +}, +"response": { +"$ref": "GoogleCloudIntegrationsV1alphaSfdcChannel" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +} +} +}, +"sfdcInstances": { +"methods": { +"create": { +"description": "Creates an sfdc instance record. Store the sfdc instance in Spanner. Returns the sfdc instance.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/sfdcInstances", +"httpMethod": "POST", +"id": "integrations.projects.locations.sfdcInstances.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. \"projects/{project}/locations/{location}\" format.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/sfdcInstances", +"request": { +"$ref": "GoogleCloudIntegrationsV1alphaSfdcInstance" +}, +"response": { +"$ref": "GoogleCloudIntegrationsV1alphaSfdcInstance" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes an sfdc instance.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/sfdcInstances/{sfdcInstancesId}", +"httpMethod": "DELETE", +"id": "integrations.projects.locations.sfdcInstances.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name that is associated with the SfdcInstance.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/sfdcInstances/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets an sfdc instance. If the instance doesn't exist, Code.NOT_FOUND exception will be thrown.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/sfdcInstances/{sfdcInstancesId}", +"httpMethod": "GET", +"id": "integrations.projects.locations.sfdcInstances.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name that is associated with the SfdcInstance.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/sfdcInstances/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleCloudIntegrationsV1alphaSfdcInstance" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists all sfdc instances that match the filter. Restrict to sfdc instances belonging to the current client only.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/sfdcInstances", +"httpMethod": "GET", +"id": "integrations.projects.locations.sfdcInstances.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Filtering as supported in https://developers.google.com/authorized-buyers/apis/guides/list-filters.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "The size of entries in the response. If unspecified, defaults to 100.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The token returned in the previous response.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The client, which owns this collection of SfdcInstances.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +}, +"readMask": { +"description": "The mask which specifies fields that need to be returned in the SfdcInstance's response.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+parent}/sfdcInstances", +"response": { +"$ref": "GoogleCloudIntegrationsV1alphaListSfdcInstancesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates an sfdc instance. Updates the sfdc instance in spanner. Returns the sfdc instance.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/sfdcInstances/{sfdcInstancesId}", +"httpMethod": "PATCH", +"id": "integrations.projects.locations.sfdcInstances.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Resource name of the SFDC instance projects/{project}/locations/{location}/sfdcInstances/{sfdcInstance}.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/sfdcInstances/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Field mask specifying the fields in the above SfdcInstance that have been modified and need to be updated.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "GoogleCloudIntegrationsV1alphaSfdcInstance" +}, +"response": { +"$ref": "GoogleCloudIntegrationsV1alphaSfdcInstance" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"sfdcChannels": { +"methods": { +"create": { +"description": "Creates an sfdc channel record. Store the sfdc channel in Spanner. Returns the sfdc channel.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/sfdcInstances/{sfdcInstancesId}/sfdcChannels", +"httpMethod": "POST", +"id": "integrations.projects.locations.sfdcInstances.sfdcChannels.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. \"projects/{project}/locations/{location}\" format.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/sfdcInstances/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/sfdcChannels", +"request": { +"$ref": "GoogleCloudIntegrationsV1alphaSfdcChannel" +}, +"response": { +"$ref": "GoogleCloudIntegrationsV1alphaSfdcChannel" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes an sfdc channel.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/sfdcInstances/{sfdcInstancesId}/sfdcChannels/{sfdcChannelsId}", +"httpMethod": "DELETE", +"id": "integrations.projects.locations.sfdcInstances.sfdcChannels.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name that is associated with the SfdcChannel.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/sfdcInstances/[^/]+/sfdcChannels/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets an sfdc channel. If the channel doesn't exist, Code.NOT_FOUND exception will be thrown.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/sfdcInstances/{sfdcInstancesId}/sfdcChannels/{sfdcChannelsId}", +"httpMethod": "GET", +"id": "integrations.projects.locations.sfdcInstances.sfdcChannels.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name that is associated with the SfdcChannel.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/sfdcInstances/[^/]+/sfdcChannels/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleCloudIntegrationsV1alphaSfdcChannel" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists all sfdc channels that match the filter. Restrict to sfdc channels belonging to the current client only.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/sfdcInstances/{sfdcInstancesId}/sfdcChannels", +"httpMethod": "GET", +"id": "integrations.projects.locations.sfdcInstances.sfdcChannels.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Filtering as supported in https://developers.google.com/authorized-buyers/apis/guides/list-filters.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "The size of entries in the response. If unspecified, defaults to 100.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The token returned in the previous response.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The client, which owns this collection of SfdcChannels.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/sfdcInstances/[^/]+$", +"required": true, +"type": "string" +}, +"readMask": { +"description": "The mask which specifies fields that need to be returned in the SfdcChannel's response.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+parent}/sfdcChannels", +"response": { +"$ref": "GoogleCloudIntegrationsV1alphaListSfdcChannelsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates an sfdc channel. Updates the sfdc channel in spanner. Returns the sfdc channel.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/sfdcInstances/{sfdcInstancesId}/sfdcChannels/{sfdcChannelsId}", +"httpMethod": "PATCH", +"id": "integrations.projects.locations.sfdcInstances.sfdcChannels.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Resource name of the SFDC channel projects/{project}/locations/{location}/sfdcInstances/{sfdc_instance}/sfdcChannels/{sfdc_channel}.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/sfdcInstances/[^/]+/sfdcChannels/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Field mask specifying the fields in the above SfdcChannel that have been modified and need to be updated.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "GoogleCloudIntegrationsV1alphaSfdcChannel" +}, +"response": { +"$ref": "GoogleCloudIntegrationsV1alphaSfdcChannel" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +}, +"templates": { +"methods": { +"create": { +"description": "Creates a new template", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/templates", +"httpMethod": "POST", +"id": "integrations.projects.locations.templates.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. \"projects/{project}/locations/{location}\" format.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/templates", +"request": { +"$ref": "GoogleCloudIntegrationsV1alphaTemplate" +}, +"response": { +"$ref": "GoogleCloudIntegrationsV1alphaTemplate" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a template", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/templates/{templatesId}", +"httpMethod": "DELETE", +"id": "integrations.projects.locations.templates.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name that is associated with the Template.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/templates/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"download": { +"description": "Downloads a template. Retrieves the `Template` and returns the response as a string.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/templates/{templatesId}:download", +"httpMethod": "GET", +"id": "integrations.projects.locations.templates.download", +"parameterOrder": [ +"name" +], +"parameters": { +"fileFormat": { +"description": "Required. File format for download request.", +"enum": [ +"FILE_FORMAT_UNSPECIFIED", +"JSON", +"YAML" +], +"enumDescriptions": [ +"Unspecified file format", +"JSON File Format", +"YAML File Format" +], +"location": "query", +"type": "string" +}, +"name": { +"description": "Required. The template to download. Format: projects/{project}/locations/{location}/template/{template_id}", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/templates/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:download", +"response": { +"$ref": "GoogleCloudIntegrationsV1alphaDownloadTemplateResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Get a template in the specified project.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/templates/{templatesId}", +"httpMethod": "GET", +"id": "integrations.projects.locations.templates.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The template to retrieve. Format: projects/{project}/locations/{location}/templates/{template}", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/templates/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleCloudIntegrationsV1alphaTemplate" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"import": { +"description": "Import the template to an existing integration. This api would keep track of usage_count and last_used_time. PERMISSION_DENIED would be thrown if template is not accessible by client.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/templates/{templatesId}:import", +"httpMethod": "POST", +"id": "integrations.projects.locations.templates.import", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name that is associated with the Template.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/templates/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:import", +"request": { +"$ref": "GoogleCloudIntegrationsV1alphaImportTemplateRequest" +}, +"response": { +"$ref": "GoogleCloudIntegrationsV1alphaImportTemplateResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists all templates matching the filter.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/templates", +"httpMethod": "GET", +"id": "integrations.projects.locations.templates.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Optional. Standard filter field to filter templates. client_id filter won't be supported and will restrict to templates belonging to the current client only. Return all templates of the current client if the filter is empty. Also supports operators like AND, OR, NOT For example, \"status=\\\"ACTIVE\\\"", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "Optional. The results would be returned in the order you specified here.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Optional. The size of the response entries. If unspecified, defaults to 100. The maximum value is 1000; values above 1000 will be coerced to 1000.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. The token returned in the previous response.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The client, which owns this collection of Templates.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +}, +"readMask": { +"description": "Optional. The mask which specifies fields that need to be returned in the template's response.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+parent}/templates", +"response": { +"$ref": "GoogleCloudIntegrationsV1alphaListTemplatesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates the template by given id.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/templates/{templatesId}", +"httpMethod": "PATCH", +"id": "integrations.projects.locations.templates.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Identifier. Resource name of the template.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/templates/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Required. Field mask specifying the fields in the above template that have been modified and must be updated.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "GoogleCloudIntegrationsV1alphaTemplate" +}, +"response": { +"$ref": "GoogleCloudIntegrationsV1alphaTemplate" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"search": { +"description": "Search templates based on user query and filters. This api would query the templates and return a list of templates based on the user filter.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/templates:search", +"httpMethod": "GET", +"id": "integrations.projects.locations.templates.search", +"parameterOrder": [ +"parent" +], +"parameters": { +"enableNaturalLanguageQueryUnderstanding": { +"description": "Optional. Whether to enable natural language query understanding.", +"location": "query", +"type": "boolean" +}, +"filter": { +"description": "Optional. Standard filter field to filter templates. client_id filter won't be supported and will restrict to templates belonging to the current client only. Return all templates of the current client if the filter is empty. Also supports operators like AND, OR, NOT For example, \"status=\\\"ACTIVE\\\"", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "Optional. The results would be returned in the order you specified here.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Optional. The size of the response entries. If unspecified, defaults to 100. The maximum value is 1000; values above 1000 will be coerced to 1000.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. The token returned in the previous response.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The client, which owns this collection of Templates.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +}, +"query": { +"description": "Optional. The search query that will be passed to Vertex search service.", +"location": "query", +"type": "string" +}, +"readMask": { +"description": "Optional. The mask which specifies fields that need to be returned in the template's response.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+parent}/templates:search", +"response": { +"$ref": "GoogleCloudIntegrationsV1alphaSearchTemplatesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"share": { +"description": "Share a template with other clients. Only the template owner can share the templates with other projects. PERMISSION_DENIED would be thrown if the request is not from the owner.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/templates/{templatesId}:share", +"httpMethod": "POST", +"id": "integrations.projects.locations.templates.share", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name that is associated with the Template.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/templates/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:share", +"request": { +"$ref": "GoogleCloudIntegrationsV1alphaShareTemplateRequest" +}, +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"unshare": { +"description": "Unshare a template from given clients. Owner of the template can unshare template with clients. Shared client can only unshare the template from itself. PERMISSION_DENIED would be thrown if request is not from owner or for unsharing itself.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/templates/{templatesId}:unshare", +"httpMethod": "POST", +"id": "integrations.projects.locations.templates.unshare", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name that is associated with the Template.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/templates/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:unshare", +"request": { +"$ref": "GoogleCloudIntegrationsV1alphaUnshareTemplateRequest" +}, +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"upload": { +"description": "Uploads a template. The content can be a previously downloaded template. Performs the same function as CreateTemplate, but accepts input in a string format, which holds the complete representation of the Template content.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/templates:upload", +"httpMethod": "POST", +"id": "integrations.projects.locations.templates.upload", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The template to upload. Format: projects/{project}/locations/{location}", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/templates:upload", +"request": { +"$ref": "GoogleCloudIntegrationsV1alphaUploadTemplateRequest" +}, +"response": { +"$ref": "GoogleCloudIntegrationsV1alphaUploadTemplateResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"use": { +"description": "Use the template to create integration. This api would keep track of usage_count and last_used_time. PERMISSION_DENIED would be thrown if template is not accessible by client.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/templates/{templatesId}:use", +"httpMethod": "POST", +"id": "integrations.projects.locations.templates.use", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name that is associated with the Template.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/templates/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:use", +"request": { +"$ref": "GoogleCloudIntegrationsV1alphaUseTemplateRequest" +}, +"response": { +"$ref": "GoogleCloudIntegrationsV1alphaUseTemplateResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +} +} +} +}, +"revision": "20260225", +"rootUrl": "https://integrations.googleapis.com/", +"schemas": { +"CrmlogErrorCode": { +"description": "Registered ids for errors, as \"oneof\" enums. Each task or logical grouping of tasks may share the same enum.", +"id": "CrmlogErrorCode", +"properties": { +"commonErrorCode": { +"enum": [ +"COMMON_ERROR_CODE_UNSPECIFIED", +"INVALID_CREDENTIALS", +"REQUIRED_FIELDS_MISSING", +"INVALID_FIELDS", +"BACKEND", +"GENERAL", +"INTERNAL", +"IO_ERROR", +"NOT_FOUND", +"EVENT_BUS", +"ALREADY_EXISTS", +"CONCORD", +"CONVERSION", +"FLUME", +"PERMISSION", +"SALES_FORCE", +"SPANNER", +"UNIMPLEMENTED", +"RELTIO", +"WORKFLOW_NOT_FOUND", +"QUOTA_THROTTLED", +"QUOTA_ENQUEUED", +"INVALID_QUOTA_CONFIGURATION", +"TASK_NOT_FOUND", +"EXECUTION_TIMEOUT", +"INVALID_EVENT_EXECUTION_STATE", +"INVALID_ATTRIBUTE", +"MISSING_ATTRIBUTE", +"CLIENT_UNAUTHORIZED_FOR_WORKFLOW", +"INVALID_PARAMETER", +"MISSING_PARAMETER", +"UNAUTHROIZED_WORKFLOW_EDITOR_ACTION", +"FAILED_PRECONDITION", +"INVALID_CLIENT", +"MISSING_CLIENT", +"INVALID_WORKFLOW", +"MISSING_QUOTA_CONFIGURATION", +"UNHANDLED_TASK_ERROR", +"SCRIPT_TASK_RUNTIME_ERROR", +"RPC", +"INVALID_PROTO", +"UNHANDLED_EVENTBUS_ERROR", +"INVALID_TASK_STATE", +"TYPED_TASK_INVALID_INPUT_OPERATION", +"TYPED_TASK_INVALID_OUTPUT_OPERATION", +"VALIDATION_ERROR", +"RESUME_ERROR", +"APPS_SCRIPT_EXECUTION_ERROR", +"INVALID_VECTOR_USER", +"INFORMATICA", +"RETRYABLE_TASK_ERROR", +"INVALID_TENANT", +"WRONG_TENANT", +"INFORMATICA_BACKEND_UNAVAILABLE", +"RPC_PERMISSION_DENIED", +"SYNC_EVENTBUS_EXECUTION_TIMEOUT", +"ASYNC_EVENTBUS_EXECUTION_TIMEOUT", +"NOT_SUPPORTED_DATA_TYPE", +"UNSANITIZED_USER_INPUT", +"TRANSFORM_EXPRESSION_EVALUATION_ERROR", +"HTTP_EXCEPTION", +"EXECUTION_CANCELLED" +], +"enumDeprecated": [ +false, +true, +false, +false, +true, +true, +true, +false, +false, +true, +false, +false, +false, +false, +true, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"SYNC_EVENTBUS_EXECUTION_TIMEOUT is for eventbus internal use only.", +"ASYNC_EVENTBUS_EXECUTION_TIMEOUT is for eventbus internal use only. This error will be counted as server availability error.", +"", +"", +"", +"", +"" +], +"type": "string" +} +}, +"type": "object" +}, +"EnterpriseCrmEventbusAuthconfigAuthConfigTaskParam": { +"id": "EnterpriseCrmEventbusAuthconfigAuthConfigTaskParam", +"properties": { +"allowedCredentialTypes": { +"description": "Defines the credential types to be supported as Task may restrict specific types to use, e.g. Cloud SQL Task will use username/password type only.", +"items": { +"enum": [ +"CREDENTIAL_TYPE_UNSPECIFIED", +"USERNAME_AND_PASSWORD", +"API_KEY", +"OAUTH2_AUTHORIZATION_CODE", +"OAUTH2_IMPLICIT", +"OAUTH2_CLIENT_CREDENTIALS", +"OAUTH2_RESOURCE_OWNER_CREDENTIALS", +"JWT", +"AUTH_TOKEN", +"SERVICE_ACCOUNT", +"CLIENT_CERTIFICATE_ONLY", +"OIDC_TOKEN" +], +"enumDescriptions": [ +"", +"Regular username/password pair.", +"API key.", +"OAuth 2.0 Authorization Code Grant Type.", +"OAuth 2.0 Implicit Grant Type.", +"OAuth 2.0 Client Credentials Grant Type.", +"OAuth 2.0 Resource Owner Credentials Grant Type.", +"JWT Token.", +"Auth Token, e.g. bearer token.", +"Service Account which can be used to generate token for authentication.", +"Client Certificate only.", +"Google OIDC ID Token" +], +"type": "string" +}, +"type": "array" +}, +"allowedServiceAccountInContext": { +"type": "boolean" +}, +"authConfigId": { +"description": "UUID of the AuthConfig.", +"type": "string" +}, +"scope": { +"description": "A space-delimited list of requested scope permissions.", +"type": "string" +}, +"useServiceAccountInContext": { +"type": "boolean" +} +}, +"type": "object" +}, +"EnterpriseCrmEventbusProtoAddress": { +"description": "Email address along with optional name and tokens. These tokens will be substituted for the variables in the form of [{var_name}], where var_name could be any string of no more than 32 bytes.", +"id": "EnterpriseCrmEventbusProtoAddress", +"properties": { +"email": { +"description": "Required.", +"type": "string" +}, +"name": { +"type": "string" +}, +"tokens": { +"items": { +"$ref": "EnterpriseCrmEventbusProtoToken" +}, +"type": "array" +} +}, +"type": "object" +}, +"EnterpriseCrmEventbusProtoAttributes": { +"description": "Attributes are additional options that can be associated with each event property. For more information, see", +"id": "EnterpriseCrmEventbusProtoAttributes", +"properties": { +"dataType": { +"description": "Things like URL, Email, Currency, Timestamp (rather than string, int64...)", +"enum": [ +"DATA_TYPE_UNSPECIFIED", +"EMAIL", +"URL", +"CURRENCY", +"TIMESTAMP", +"DOMAIN_NAME" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"Domain is a web url string with one top-level private domain and a suffix (for example: google.com, walmart.com)" +], +"type": "string" +}, +"defaultValue": { +"$ref": "EnterpriseCrmEventbusProtoValueType", +"description": "Used to define defaults." +}, +"isRequired": { +"description": "Required for event execution. The validation will be done by the event bus when the event is triggered.", +"type": "boolean" +}, +"isSearchable": { +"deprecated": true, +"description": "Used to indicate if a ParameterEntry should be converted to ParamIndexes for ST-Spanner full-text search. DEPRECATED: use searchable.", +"type": "boolean" +}, +"logSettings": { +"$ref": "EnterpriseCrmEventbusProtoLogSettings", +"description": "See" +}, +"masked": { +"description": "True if this workflow parameter should be masked in the logs", +"type": "boolean" +}, +"readOnly": { +"description": "Used to indicate if the ParameterEntry is a read only field or not.", +"type": "boolean" +}, +"searchable": { +"enum": [ +"UNSPECIFIED", +"YES", +"NO" +], +"enumDescriptions": [ +"", +"If yes, the parameter key and value will be full-text indexed. In a proto, this value will propagate to all children whose searchable is unspecified.", +"If no, the parameter key and value will not be full-text indexed. In a proto, this value will propagate to all children whose searchable is unspecified." +], +"type": "string" +}, +"taskVisibility": { +"description": "List of tasks that can view this property, if empty then all.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"EnterpriseCrmEventbusProtoBaseAlertConfigErrorEnumList": { +"description": "List of error enums for alerts.", +"id": "EnterpriseCrmEventbusProtoBaseAlertConfigErrorEnumList", +"properties": { +"enumStrings": { +"items": { +"type": "string" +}, +"type": "array" +}, +"filterType": { +"enum": [ +"DEFAULT_INCLUSIVE", +"EXCLUSIVE" +], +"enumDescriptions": [ +"", +"" +], +"type": "string" +} +}, +"type": "object" +}, +"EnterpriseCrmEventbusProtoBaseAlertConfigThresholdValue": { +"description": "The threshold value of the metric, above or below which the alert should be triggered. See EventAlertConfig or TaskAlertConfig for the different alert metric types in each case. For the *RATE metrics, one or both of these fields may be set. Zero is the default value and can be left at that. For *PERCENTILE_DURATION metrics, one or both of these fields may be set, and also, the duration threshold value should be specified in the threshold_duration_ms member below. For *AVERAGE_DURATION metrics, these fields should not be set at all. A different member, threshold_duration_ms, must be set in the EventAlertConfig or the TaskAlertConfig.", +"id": "EnterpriseCrmEventbusProtoBaseAlertConfigThresholdValue", +"properties": { +"absolute": { +"format": "int64", +"type": "string" +}, +"percentage": { +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"EnterpriseCrmEventbusProtoBaseFunction": { +"id": "EnterpriseCrmEventbusProtoBaseFunction", +"properties": { +"functionName": { +"enum": [ +"UNSPECIFIED", +"NOW_IN_MILLIS", +"INT_LIST", +"ENVIRONMENT", +"GET_EXECUTION_ID", +"GET_INTEGRATION_NAME", +"GET_REGION", +"GET_UUID", +"GET_PROJECT_ID" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"", +"", +"", +"" +], +"type": "string" +} +}, +"type": "object" +}, +"EnterpriseCrmEventbusProtoBaseValue": { +"id": "EnterpriseCrmEventbusProtoBaseValue", +"properties": { +"baseFunction": { +"$ref": "EnterpriseCrmEventbusProtoFunction", +"description": "Start with a function that does not build on existing values. Eg. CurrentTime, Min, Max, Exists, etc." +}, +"literalValue": { +"$ref": "EnterpriseCrmEventbusProtoParameterValueType", +"description": "Start with a literal value." +}, +"referenceValue": { +"description": "Start with a reference value to dereference.", +"type": "string" +} +}, +"type": "object" +}, +"EnterpriseCrmEventbusProtoBooleanArrayFunction": { +"id": "EnterpriseCrmEventbusProtoBooleanArrayFunction", +"properties": { +"functionName": { +"enum": [ +"UNSPECIFIED", +"GET", +"APPEND", +"SIZE", +"TO_SET", +"APPEND_ALL", +"TO_JSON", +"SET", +"REMOVE", +"REMOVE_AT", +"CONTAINS", +"FOR_EACH", +"FILTER" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"" +], +"type": "string" +} +}, +"type": "object" +}, +"EnterpriseCrmEventbusProtoBooleanFunction": { +"id": "EnterpriseCrmEventbusProtoBooleanFunction", +"properties": { +"functionName": { +"enum": [ +"UNSPECIFIED", +"TO_JSON", +"NOT", +"AND", +"NAND", +"OR", +"XOR", +"NOR", +"XNOR", +"TO_STRING", +"EQUALS" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"" +], +"type": "string" +} +}, +"type": "object" +}, +"EnterpriseCrmEventbusProtoBooleanParameterArray": { +"id": "EnterpriseCrmEventbusProtoBooleanParameterArray", +"properties": { +"booleanValues": { +"items": { +"type": "boolean" +}, +"type": "array" +} +}, +"type": "object" +}, +"EnterpriseCrmEventbusProtoBuganizerNotification": { +"id": "EnterpriseCrmEventbusProtoBuganizerNotification", +"properties": { +"assigneeEmailAddress": { +"description": "Whom to assign the new bug. Optional.", +"type": "string" +}, +"componentId": { +"description": "ID of the buganizer component within which to create a new issue. Required.", +"format": "int64", +"type": "string" +}, +"templateId": { +"description": "ID of the buganizer template to use. Optional.", +"format": "int64", +"type": "string" +}, +"title": { +"description": "Title of the issue to be created. Required.", +"type": "string" +} +}, +"type": "object" +}, +"EnterpriseCrmEventbusProtoCloudKmsConfig": { +"id": "EnterpriseCrmEventbusProtoCloudKmsConfig", +"properties": { +"gcpProjectId": { +"description": "Optional. The id of GCP project where the KMS key is stored. If not provided, assume the key is stored in the same GCP project defined in Client (tag 14).", +"type": "string" +}, +"keyName": { +"description": "A Cloud KMS key is a named object containing one or more key versions, along with metadata for the key. A key exists on exactly one key ring tied to a specific location.", +"type": "string" +}, +"keyRingName": { +"description": "A key ring organizes keys in a specific Google Cloud location and allows you to manage access control on groups of keys. A key ring's name does not need to be unique across a Google Cloud project, but must be unique within a given location.", +"type": "string" +}, +"keyVersionName": { +"description": "Optional. Each version of a key contains key material used for encryption or signing. A key's version is represented by an integer, starting at 1. To decrypt data or verify a signature, you must use the same key version that was used to encrypt or sign the data.", +"type": "string" +}, +"locationName": { +"description": "Location name of the key ring, e.g. \"us-west1\".", +"type": "string" +}, +"serviceAccount": { +"description": "Optional. The service account used for authentication of this KMS key. If this is not provided, the service account in Client.clientSource will be used.", +"type": "string" +} +}, +"type": "object" +}, +"EnterpriseCrmEventbusProtoCloudLoggingDetails": { +"description": "Cloud Logging details, selected by the user for the integration version (workflow). This message field will be also used in ExecutionInfo, to indicate the CloudLoggingDetails config at the time of workflow (integration version) execution, since this field value can be changed for an unpublished workflow.", +"id": "EnterpriseCrmEventbusProtoCloudLoggingDetails", +"properties": { +"cloudLoggingSeverity": { +"description": "Severity selected by the customer for the logs to be sent to Cloud Logging, for the integration version getting executed.", +"enum": [ +"CLOUD_LOGGING_SEVERITY_UNSPECIFIED", +"INFO", +"ERROR", +"WARNING" +], +"enumDescriptions": [ +"Unspecified", +"If Severity selected is `INFO`, then all the Integration Execution States (`IN_PROCESS`, `ON_HOLD`, `SUCCEEDED`, `SUSPENDED`, `ERROR`, `CANCELLED`) will be sent to Cloud Logging.", +"If Severity selected is `ERROR`, then only the following Integration Execution States (`ERROR`, `CANCELLED`) will be sent to Cloud Logging.", +"If Severity selected is `WARNING`, then only the following Integration Execution States (`ERROR`, `CANCELLED`) will be sent to Cloud Logging." +], +"type": "string" +}, +"enableCloudLogging": { +"description": "Status of whether Cloud Logging is enabled or not for the integration version getting executed.", +"type": "boolean" +} +}, +"type": "object" +}, +"EnterpriseCrmEventbusProtoCloudSchedulerConfig": { +"description": "Cloud Scheduler Trigger configuration", +"id": "EnterpriseCrmEventbusProtoCloudSchedulerConfig", +"properties": { +"cronTab": { +"description": "Required. The cron tab of cloud scheduler trigger.", +"type": "string" +}, +"errorMessage": { +"description": "Optional. When the job was deleted from Pantheon UI, error_message will be populated when Get/List integrations", +"type": "string" +}, +"location": { +"description": "Required. The location where associated cloud scheduler job will be created", +"type": "string" +}, +"serviceAccountEmail": { +"description": "Required. Service account used by Cloud Scheduler to trigger the integration at scheduled time", +"type": "string" +} +}, +"type": "object" +}, +"EnterpriseCrmEventbusProtoCombinedCondition": { +"deprecated": true, +"description": "This message recursively combines constituent conditions using logical AND.", +"id": "EnterpriseCrmEventbusProtoCombinedCondition", +"properties": { +"conditions": { +"description": "A set of individual constituent conditions.", +"items": { +"$ref": "EnterpriseCrmEventbusProtoCondition" +}, +"type": "array" +} +}, +"type": "object" +}, +"EnterpriseCrmEventbusProtoCondition": { +"deprecated": true, +"description": "Condition that uses `operator` to evaluate the key against the value.", +"id": "EnterpriseCrmEventbusProtoCondition", +"properties": { +"eventPropertyKey": { +"description": "Key that's evaluated against the `value`. Please note the data type of the runtime value associated with the key should match the data type of `value`, else an IllegalArgumentException is thrown.", +"type": "string" +}, +"operator": { +"description": "Operator used to evaluate the condition. Please note that an operator with an inappropriate key/value operand will result in IllegalArgumentException, e.g. CONTAINS with boolean key/value pair.", +"enum": [ +"UNSET", +"EQUALS", +"CONTAINS", +"LESS_THAN", +"GREATER_THAN", +"EXISTS", +"DOES_NOT_EXIST", +"IS_EMPTY", +"IS_NOT_EMPTY" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"", +"", +"", +"" +], +"type": "string" +}, +"value": { +"$ref": "EnterpriseCrmEventbusProtoValueType", +"description": "Value that's checked for the key." +} +}, +"type": "object" +}, +"EnterpriseCrmEventbusProtoConditionResult": { +"description": "Contains the combined condition calculation results.", +"id": "EnterpriseCrmEventbusProtoConditionResult", +"properties": { +"currentTaskNumber": { +"description": "the current task number.", +"type": "string" +}, +"nextTaskNumber": { +"description": "the next task number.", +"type": "string" +}, +"result": { +"description": "the result comes out after evaluate the combined condition. True if there's no combined condition specified.", +"type": "boolean" +} +}, +"type": "object" +}, +"EnterpriseCrmEventbusProtoConditionalFailurePolicies": { +"id": "EnterpriseCrmEventbusProtoConditionalFailurePolicies", +"properties": { +"defaultFailurePolicy": { +"$ref": "EnterpriseCrmEventbusProtoFailurePolicy", +"description": "The default failure policy to be applied if no conditional failure policy matches" +}, +"failurePolicies": { +"description": "The list of failure policies that will be applied to the task in order.", +"items": { +"$ref": "EnterpriseCrmEventbusProtoFailurePolicy" +}, +"type": "array" +} +}, +"type": "object" +}, +"EnterpriseCrmEventbusProtoConnectorsConnection": { +"id": "EnterpriseCrmEventbusProtoConnectorsConnection", +"properties": { +"connectionName": { +"description": "Connection name Format: projects/{project}/locations/{location}/connections/{connection}", +"type": "string" +}, +"connectorVersion": { +"description": "Connector version Format: projects/{project}/locations/{location}/providers/{provider}/connectors/{connector}/versions/{version}", +"type": "string" +}, +"host": { +"description": "The name of the Hostname of the Service Directory service with TLS if used.", +"type": "string" +}, +"serviceName": { +"description": "Service name Format: projects/{project}/locations/{location}/namespaces/{namespace}/services/{service}", +"type": "string" +} +}, +"type": "object" +}, +"EnterpriseCrmEventbusProtoConnectorsGenericConnectorTaskConfig": { +"id": "EnterpriseCrmEventbusProtoConnectorsGenericConnectorTaskConfig", +"properties": { +"connection": { +"$ref": "EnterpriseCrmEventbusProtoConnectorsConnection", +"description": "User-selected connection." +}, +"operation": { +"description": "Operation to perform using the configured connection.", +"enum": [ +"OPERATION_UNSPECIFIED", +"EXECUTE_ACTION", +"LIST_ENTITIES", +"GET_ENTITY", +"CREATE_ENTITY", +"UPDATE_ENTITY", +"DELETE_ENTITY", +"EXECUTE_QUERY" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"", +"", +"" +], +"type": "string" +} +}, +"type": "object" +}, +"EnterpriseCrmEventbusProtoCoordinate": { +"description": "Represents two-dimensional positions.", +"id": "EnterpriseCrmEventbusProtoCoordinate", +"properties": { +"x": { +"format": "int32", +"type": "integer" +}, +"y": { +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"EnterpriseCrmEventbusProtoCustomSuspensionRequest": { +"id": "EnterpriseCrmEventbusProtoCustomSuspensionRequest", +"properties": { +"postToQueueWithTriggerIdRequest": { +"$ref": "GoogleInternalCloudCrmEventbusV3PostToQueueWithTriggerIdRequest", +"description": "Request to fire an event containing the SuspensionInfo message." +}, +"suspensionInfoEventParameterKey": { +"description": "In the fired event, set the SuspensionInfo message as the value for this key.", +"type": "string" +} +}, +"type": "object" +}, +"EnterpriseCrmEventbusProtoDoubleArray": { +"id": "EnterpriseCrmEventbusProtoDoubleArray", +"properties": { +"values": { +"items": { +"format": "double", +"type": "number" +}, +"type": "array" +} +}, +"type": "object" +}, +"EnterpriseCrmEventbusProtoDoubleArrayFunction": { +"id": "EnterpriseCrmEventbusProtoDoubleArrayFunction", +"properties": { +"functionName": { +"enum": [ +"UNSPECIFIED", +"GET", +"APPEND", +"SIZE", +"SUM", +"AVG", +"MAX", +"MIN", +"TO_SET", +"APPEND_ALL", +"TO_JSON", +"SET", +"REMOVE", +"REMOVE_AT", +"CONTAINS", +"FOR_EACH", +"FILTER" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"" +], +"type": "string" +} +}, +"type": "object" +}, +"EnterpriseCrmEventbusProtoDoubleFunction": { +"id": "EnterpriseCrmEventbusProtoDoubleFunction", +"properties": { +"functionName": { +"enum": [ +"UNSPECIFIED", +"TO_JSON", +"TO_STRING", +"ADD", +"SUBTRACT", +"MULTIPLY", +"DIVIDE", +"EXPONENT", +"ROUND", +"FLOOR", +"CEIL", +"GREATER_THAN", +"LESS_THAN", +"EQUALS", +"GREATER_THAN_EQUALS", +"LESS_THAN_EQUALS", +"MOD" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"" +], +"type": "string" +} +}, +"type": "object" +}, +"EnterpriseCrmEventbusProtoDoubleParameterArray": { +"id": "EnterpriseCrmEventbusProtoDoubleParameterArray", +"properties": { +"doubleValues": { +"items": { +"format": "double", +"type": "number" +}, +"type": "array" +} +}, +"type": "object" +}, +"EnterpriseCrmEventbusProtoErrorDetail": { +"description": "An error, warning, or information message associated with a workflow.", +"id": "EnterpriseCrmEventbusProtoErrorDetail", +"properties": { +"errorCode": { +"$ref": "CrmlogErrorCode", +"description": "The associated error-code, which can be a common or internal code." +}, +"errorMessage": { +"description": "The full text of the error message, including any parameters that were thrown along with the exception.", +"type": "string" +}, +"severity": { +"description": "The severity of the error: ERROR|WARN|INFO.", +"enum": [ +"SEVERITY_UNSPECIFIED", +"ERROR", +"WARN", +"INFO" +], +"enumDescriptions": [ +"", +"", +"", +"" +], +"type": "string" +}, +"taskNumber": { +"description": "The task try-number, in which, the error occurred. If zero, the error happened at the event level.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"EnterpriseCrmEventbusProtoEventBusProperties": { +"description": "LINT.IfChange This message is used for storing key value pair properties for each Event / Task in the EventBus.", +"id": "EnterpriseCrmEventbusProtoEventBusProperties", +"properties": { +"properties": { +"description": "An unordered list of property entries.", +"items": { +"$ref": "EnterpriseCrmEventbusProtoPropertyEntry" +}, +"type": "array" +} +}, +"type": "object" +}, +"EnterpriseCrmEventbusProtoEventExecutionDetails": { +"description": "Contains the details of the execution info of this event: this includes the tasks execution details plus the event execution statistics. Next available id: 12", +"id": "EnterpriseCrmEventbusProtoEventExecutionDetails", +"properties": { +"cancelReason": { +"description": "If the execution is manually canceled, this field will contain the reason for cancellation.", +"type": "string" +}, +"eventAttemptStats": { +"items": { +"$ref": "EnterpriseCrmEventbusProtoEventExecutionDetailsEventAttemptStats" +}, +"type": "array" +}, +"eventExecutionSnapshot": { +"items": { +"$ref": "EnterpriseCrmEventbusProtoEventExecutionSnapshot" +}, +"type": "array" +}, +"eventExecutionSnapshotsSize": { +"description": "Total size of all event_execution_snapshots for an execution", +"format": "int64", +"type": "string" +}, +"eventExecutionState": { +"enum": [ +"UNSPECIFIED", +"ON_HOLD", +"IN_PROCESS", +"SUCCEEDED", +"FAILED", +"CANCELED", +"RETRY_ON_HOLD", +"SUSPENDED" +], +"enumDescriptions": [ +"", +"Event is received and waiting for the execution. This happens when firing the event via \"postToQueue\" or \"schedule\".", +"Event is under processing.", +"Event execution successfully finished. There's no more change after this state.", +"Event execution failed. There's no more change after this state.", +"Event execution canceled by user. There's no more change after this state.", +"Event execution failed and waiting for retry.", +"Event execution suspended and waiting for manual intervention." +], +"type": "string" +}, +"eventRetriesFromBeginningCount": { +"description": "Indicates the number of times the execution has restarted from the beginning.", +"format": "int32", +"type": "integer" +}, +"logFilePath": { +"description": "The log file path (aka. cns address) for this event.", +"type": "string" +}, +"networkAddress": { +"description": "The network address (aka. bns address) that indicates where the event executor is running.", +"type": "string" +}, +"nextExecutionTime": { +"description": "Next scheduled execution time in case the execution status was RETRY_ON_HOLD.", +"format": "int64", +"type": "string" +}, +"ryeLockUnheldCount": { +"description": "Used internally and shouldn't be exposed to users. A counter for the cron job to record how many times this event is in in_process state but don't have a lock consecutively/", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"EnterpriseCrmEventbusProtoEventExecutionDetailsEventAttemptStats": { +"id": "EnterpriseCrmEventbusProtoEventExecutionDetailsEventAttemptStats", +"properties": { +"endTime": { +"description": "The end time of the event execution for current attempt.", +"format": "int64", +"type": "string" +}, +"startTime": { +"description": "The start time of the event execution for current attempt. This could be in the future if it's been scheduled.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"EnterpriseCrmEventbusProtoEventExecutionSnapshot": { +"description": "Contains the snapshot of the event execution for a given checkpoint. Next available id: 15", +"id": "EnterpriseCrmEventbusProtoEventExecutionSnapshot", +"properties": { +"checkpointTaskNumber": { +"description": "Indicates \"right after which checkpoint task's execution\" this snapshot is taken.", +"type": "string" +}, +"clientId": { +"description": "Client that the execution snapshot is associated to.", +"type": "string" +}, +"conditionResults": { +"description": "All of the computed conditions that been calculated.", +"items": { +"$ref": "EnterpriseCrmEventbusProtoConditionResult" +}, +"type": "array" +}, +"diffParams": { +"$ref": "EnterpriseCrmEventbusProtoEventParameters", +"description": "The parameters in Event object that differs from last snapshot." +}, +"eventExecutionInfoId": { +"description": "Points to the event execution info this snapshot belongs to.", +"type": "string" +}, +"eventExecutionSnapshotId": { +"description": "Auto-generated. Used as primary key for EventExecutionSnapshots table.", +"type": "string" +}, +"eventExecutionSnapshotMetadata": { +"$ref": "EnterpriseCrmEventbusProtoEventExecutionSnapshotEventExecutionSnapshotMetadata" +}, +"eventParams": { +"$ref": "EnterpriseCrmEventbusProtoEventParameters", +"description": "The parameters in Event object." +}, +"exceedMaxSize": { +"description": "indicate whether snapshot exceeded maximum size before clean up", +"type": "boolean" +}, +"snapshotTime": { +"description": "Indicates when this snapshot is taken.", +"format": "int64", +"type": "string" +}, +"taskExecutionDetails": { +"description": "All of the task execution details at the given point of time.", +"items": { +"$ref": "EnterpriseCrmEventbusProtoTaskExecutionDetails" +}, +"type": "array" +}, +"taskName": { +"deprecated": true, +"description": "The task name associated with this snapshot. Could be empty.", +"type": "string" +}, +"workflowName": { +"description": "Name of the workflow this event execution snapshot belongs to.", +"type": "string" +} +}, +"type": "object" +}, +"EnterpriseCrmEventbusProtoEventExecutionSnapshotEventExecutionSnapshotMetadata": { +"id": "EnterpriseCrmEventbusProtoEventExecutionSnapshotEventExecutionSnapshotMetadata", +"properties": { +"ancestorIterationNumbers": { +"description": "Ancestor iteration number for the task(it will only be non-empty if the task is under 'private workflow')", +"items": { +"type": "string" +}, +"type": "array" +}, +"ancestorTaskNumbers": { +"description": "Ancestor task number for the task(it will only be non-empty if the task is under 'private workflow')", +"items": { +"type": "string" +}, +"type": "array" +}, +"eventAttemptNum": { +"description": "the event attempt number this snapshot belongs to.", +"format": "int32", +"type": "integer" +}, +"integrationName": { +"description": "The direct integration which the event execution snapshots belongs to", +"type": "string" +}, +"taskAttemptNum": { +"description": "the task attempt number this snapshot belongs to. Could be empty.", +"format": "int32", +"type": "integer" +}, +"taskLabel": { +"description": "the task label associated with this snapshot. Could be empty.", +"type": "string" +}, +"taskName": { +"description": "the task name associated with this snapshot. Could be empty.", +"type": "string" +}, +"taskNumber": { +"description": "The task number associated with this snapshot. Could be empty.", +"type": "string" +} +}, +"type": "object" +}, +"EnterpriseCrmEventbusProtoEventParameters": { +"description": "LINT.IfChange This message is used for processing and persisting (when applicable) key value pair parameters for each event in the event bus. Please see", +"id": "EnterpriseCrmEventbusProtoEventParameters", +"properties": { +"parameters": { +"description": "Parameters are a part of Event and can be used to communicate between different tasks that are part of the same integration execution.", +"items": { +"$ref": "EnterpriseCrmEventbusProtoParameterEntry" +}, +"type": "array" +} +}, +"type": "object" +}, +"EnterpriseCrmEventbusProtoExecutionTraceInfo": { +"description": "Message that helps aggregate all sub-executions triggered by one execution and keeps track of child-parent relationships.", +"id": "EnterpriseCrmEventbusProtoExecutionTraceInfo", +"properties": { +"parentEventExecutionInfoId": { +"description": "Parent event execution info id that triggers the current execution through SubWorkflowExecutorTask.", +"type": "string" +}, +"traceId": { +"description": "Used to aggregate ExecutionTraceInfo.", +"type": "string" +} +}, +"type": "object" +}, +"EnterpriseCrmEventbusProtoExternalTraffic": { +"description": "Represents external traffic type and id.", +"id": "EnterpriseCrmEventbusProtoExternalTraffic", +"properties": { +"enableInternalIp": { +"description": "Indicates the client enables internal IP feature, this is applicable for internal clients only.", +"type": "boolean" +}, +"gcpProjectId": { +"description": "User\u2019s GCP project id the traffic is referring to.", +"type": "string" +}, +"gcpProjectNumber": { +"description": "User\u2019s GCP project number the traffic is referring to.", +"type": "string" +}, +"location": { +"description": "Location for the user's request.", +"type": "string" +}, +"retryRequestForQuota": { +"description": "Enqueue the execution request due to quota issue", +"type": "boolean" +}, +"source": { +"enum": [ +"SOURCE_UNSPECIFIED", +"APIGEE", +"SECURITY" +], +"enumDescriptions": [ +"", +"", +"" +], +"type": "string" +} +}, +"type": "object" +}, +"EnterpriseCrmEventbusProtoFailurePolicy": { +"description": "Policy that defines the task retry logic and failure type. If no FailurePolicy is defined for a task, all its dependent tasks will not be executed (i.e, a `retry_strategy` of NONE will be applied).", +"id": "EnterpriseCrmEventbusProtoFailurePolicy", +"properties": { +"intervalInSeconds": { +"description": "Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_WORKFLOW_WITH_BACKOFF. Defines the initial interval for backoff.", +"format": "int64", +"type": "string" +}, +"maxNumRetries": { +"description": "Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_WORKFLOW_WITH_BACKOFF. Defines the number of times the task will be retried if failed.", +"format": "int32", +"type": "integer" +}, +"retryCondition": { +"description": "Optional. The retry condition that will be evaluated for this failure policy with the corresponding retry strategy.", +"type": "string" +}, +"retryStrategy": { +"description": "Defines what happens to the task upon failure.", +"enum": [ +"UNSPECIFIED", +"IGNORE", +"NONE", +"FATAL", +"FIXED_INTERVAL", +"LINEAR_BACKOFF", +"EXPONENTIAL_BACKOFF", +"RESTART_WORKFLOW_WITH_BACKOFF" +], +"enumDescriptions": [ +"", +"Ignores the failure of this task. The rest of the workflow will be executed Assuming this task succeeded.", +"Causes a permanent failure of the task. However, if the last task(s) of event was successfully completed despite the failure of this task, it has no impact on the workflow.", +"Causes a permanent failure of the event. It is different from NONE because this will mark the event as FAILED by shutting down the event execution.", +"The task will be retried from the failed task onwards after a fixed delay. A max-retry count is required to be specified with this strategy. A jitter is added to each exponential interval so that concurrently failing tasks of the same type do not end up retrying after the exact same exponential interval. Max_num_retries and interval_in_seconds must be specified.", +"The task will be retried from the failed task onwards after a fixed delay that linearly increases with each retry attempt. A jitter is added to each exponential interval so that concurrently failing tasks of the same type do not end up retrying after the exact same exponential interval. A max-retry count is required to be specified with this strategy. Max_num_retries and interval_in_seconds must be specified.", +"The task will be retried after an exponentially increasing period of time with each failure. A jitter is added to each exponential interval so that concurrently failing tasks of the same type do not end up retrying after the exact same exponential interval. A max-retry count is required to be specified with this strategy. `max_num_retries` and `interval_in_seconds` must be specified.", +"The entire workflow will be restarted with the initial parameters that were set when the event was fired. A max-retry count is required to be specified with this strategy. `max_num_retries` and `interval_in_seconds` must be specified." +], +"type": "string" +} +}, +"type": "object" +}, +"EnterpriseCrmEventbusProtoField": { +"description": "Information about the value and type of the field.", +"id": "EnterpriseCrmEventbusProtoField", +"properties": { +"cardinality": { +"description": "By default, if the cardinality is unspecified the field is considered required while mapping.", +"enum": [ +"UNSPECIFIED", +"OPTIONAL" +], +"enumDescriptions": [ +"For fields with unspecified cardinality.", +"If field cardinality is set to optional, ignore errors if input field value is null or the reference_key is not found." +], +"type": "string" +}, +"defaultValue": { +"$ref": "EnterpriseCrmEventbusProtoParameterValueType", +"description": "This holds the default values for the fields. This value is supplied by user so may or may not contain PII or SPII data." +}, +"fieldType": { +"description": "Specifies the data type of the field.", +"enum": [ +"DATA_TYPE_UNSPECIFIED", +"STRING_VALUE", +"INT_VALUE", +"DOUBLE_VALUE", +"BOOLEAN_VALUE", +"PROTO_VALUE", +"SERIALIZED_OBJECT_VALUE", +"STRING_ARRAY", +"INT_ARRAY", +"DOUBLE_ARRAY", +"PROTO_ARRAY", +"PROTO_ENUM", +"BOOLEAN_ARRAY", +"PROTO_ENUM_ARRAY", +"BYTES", +"BYTES_ARRAY", +"NON_SERIALIZABLE_OBJECT", +"JSON_VALUE" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"BYTES and BYTES_ARRAY data types are not allowed for top-level params. They're only meant to support protobufs with BYTES (sub)fields.", +"", +"", +"" +], +"type": "string" +}, +"protoDefPath": { +"description": "Optional. The fully qualified proto name (e.g. enterprise.crm.storage.Account). Required for output field of type PROTO_VALUE or PROTO_ARRAY. For e.g., if input field_type is BYTES and output field_type is PROTO_VALUE, then fully qualified proto type url should be provided to parse the input bytes. If field_type is *_ARRAY, then all the converted protos are of the same type.", +"type": "string" +}, +"referenceKey": { +"description": "This holds the reference key of the workflow or task parameter. 1. Any workflow parameter, for e.g. $workflowParam1$. 2. Any task input or output parameter, for e.g. $task1_param1$. 3. Any workflow or task parameters with subfield references, for e.g., $task1_param1.employee.id$", +"type": "string" +}, +"transformExpression": { +"$ref": "EnterpriseCrmEventbusProtoTransformExpression", +"description": "This is the transform expression to fetch the input field value. for e.g. $param1$.CONCAT('test'). Keep points - 1. Only input field can have a transform expression. 2. If a transform expression is provided, reference_key will be ignored. 3. If no value is returned after evaluation of transform expression, default_value can be mapped if provided. 4. The field_type should be the type of the final object returned after the transform expression is evaluated. Scrubs the transform expression before logging as value provided by user so may or may not contain PII or SPII data." +} +}, +"type": "object" +}, +"EnterpriseCrmEventbusProtoFieldMappingConfig": { +"description": "Field Mapping Config to map multiple output fields values from input fields values.", +"id": "EnterpriseCrmEventbusProtoFieldMappingConfig", +"properties": { +"mappedFields": { +"items": { +"$ref": "EnterpriseCrmEventbusProtoMappedField" +}, +"type": "array" +} +}, +"type": "object" +}, +"EnterpriseCrmEventbusProtoFunction": { +"id": "EnterpriseCrmEventbusProtoFunction", +"properties": { +"functionType": { +"$ref": "EnterpriseCrmEventbusProtoFunctionType", +"description": "The name of the function to perform." +}, +"parameters": { +"description": "List of parameters required for the transformation.", +"items": { +"$ref": "EnterpriseCrmEventbusProtoTransformExpression" +}, +"type": "array" +} +}, +"type": "object" +}, +"EnterpriseCrmEventbusProtoFunctionType": { +"id": "EnterpriseCrmEventbusProtoFunctionType", +"properties": { +"baseFunction": { +"$ref": "EnterpriseCrmEventbusProtoBaseFunction", +"description": "LINT.IfChange" +}, +"booleanArrayFunction": { +"$ref": "EnterpriseCrmEventbusProtoBooleanArrayFunction" +}, +"booleanFunction": { +"$ref": "EnterpriseCrmEventbusProtoBooleanFunction" +}, +"doubleArrayFunction": { +"$ref": "EnterpriseCrmEventbusProtoDoubleArrayFunction" +}, +"doubleFunction": { +"$ref": "EnterpriseCrmEventbusProtoDoubleFunction" +}, +"intArrayFunction": { +"$ref": "EnterpriseCrmEventbusProtoIntArrayFunction" +}, +"intFunction": { +"$ref": "EnterpriseCrmEventbusProtoIntFunction" +}, +"jsonFunction": { +"$ref": "EnterpriseCrmEventbusProtoJsonFunction" +}, +"protoArrayFunction": { +"$ref": "EnterpriseCrmEventbusProtoProtoArrayFunction" +}, +"protoFunction": { +"$ref": "EnterpriseCrmEventbusProtoProtoFunction" +}, +"stringArrayFunction": { +"$ref": "EnterpriseCrmEventbusProtoStringArrayFunction" +}, +"stringFunction": { +"$ref": "EnterpriseCrmEventbusProtoStringFunction" +} +}, +"type": "object" +}, +"EnterpriseCrmEventbusProtoIntArray": { +"id": "EnterpriseCrmEventbusProtoIntArray", +"properties": { +"values": { +"items": { +"format": "int64", +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"EnterpriseCrmEventbusProtoIntArrayFunction": { +"id": "EnterpriseCrmEventbusProtoIntArrayFunction", +"properties": { +"functionName": { +"enum": [ +"UNSPECIFIED", +"GET", +"APPEND", +"SIZE", +"SUM", +"AVG", +"MAX", +"MIN", +"TO_SET", +"APPEND_ALL", +"TO_JSON", +"SET", +"REMOVE", +"REMOVE_AT", +"CONTAINS", +"FOR_EACH", +"FILTER" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"" +], +"type": "string" +} +}, +"type": "object" +}, +"EnterpriseCrmEventbusProtoIntFunction": { +"id": "EnterpriseCrmEventbusProtoIntFunction", +"properties": { +"functionName": { +"enum": [ +"UNSPECIFIED", +"ADD", +"SUBTRACT", +"MULTIPLY", +"DIVIDE", +"EXPONENT", +"GREATER_THAN_EQUAL_TO", +"GREATER_THAN", +"LESS_THAN_EQUAL_TO", +"LESS_THAN", +"TO_DOUBLE", +"TO_STRING", +"EQUALS", +"TO_JSON", +"MOD", +"EPOCH_TO_HUMAN_READABLE_TIME" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"" +], +"type": "string" +} +}, +"type": "object" +}, +"EnterpriseCrmEventbusProtoIntParameterArray": { +"id": "EnterpriseCrmEventbusProtoIntParameterArray", +"properties": { +"intValues": { +"items": { +"format": "int64", +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"EnterpriseCrmEventbusProtoJsonFunction": { +"id": "EnterpriseCrmEventbusProtoJsonFunction", +"properties": { +"functionName": { +"enum": [ +"UNSPECIFIED", +"GET_PROPERTY", +"GET_ELEMENT", +"APPEND_ELEMENT", +"SIZE", +"SET_PROPERTY", +"FLATTEN", +"FLATTEN_ONCE", +"MERGE", +"TO_STRING", +"TO_INT", +"TO_DOUBLE", +"TO_BOOLEAN", +"TO_PROTO", +"TO_STRING_ARRAY", +"TO_INT_ARRAY", +"TO_DOUBLE_ARRAY", +"TO_PROTO_ARRAY", +"TO_BOOLEAN_ARRAY", +"REMOVE_PROPERTY", +"RESOLVE_TEMPLATE", +"EQUALS", +"FOR_EACH", +"FILTER_ELEMENTS" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"" +], +"type": "string" +} +}, +"type": "object" +}, +"EnterpriseCrmEventbusProtoLogSettings": { +"description": "The LogSettings define the logging attributes for an event property. These attributes are used to map the property to the parameter in the log proto. Also used to define scrubbing/truncation behavior and PII information.", +"id": "EnterpriseCrmEventbusProtoLogSettings", +"properties": { +"logFieldName": { +"description": "The name of corresponding logging field of the event property. If omitted, assumes the same name as the event property key.", +"type": "string" +}, +"seedPeriod": { +"enum": [ +"SEED_PERIOD_UNSPECIFIED", +"DAY", +"WEEK", +"MONTH" +], +"enumDescriptions": [ +"", +"Sanitized values remain constant for the day of the event.", +"Sanitized values remain constant for the week of the event; may cross month boundaries.", +"Sanitized values remain constant for the month of the event." +], +"type": "string" +}, +"seedScope": { +"enum": [ +"SEED_SCOPE_UNSPECIFIED", +"EVENT_NAME", +"TIME_PERIOD", +"PARAM_NAME" +], +"enumDescriptions": [ +"", +"Hash computations include the event name.", +"Hash computations include a time period.", +"Hash computations include the param name." +], +"type": "string" +} +}, +"type": "object" +}, +"EnterpriseCrmEventbusProtoLoopMetadata": { +"id": "EnterpriseCrmEventbusProtoLoopMetadata", +"properties": { +"currentIterationCount": { +"description": "Starting from 1, not 0.", +"format": "int64", +"type": "string" +}, +"currentIterationDetail": { +"description": "Needs to be set by the loop impl class before each iteration. The abstract loop class will append the request and response to it. Eg. The foreach Loop will clean up and set it as the current iteration element at the start of each loop. The post request and response will be appended to the value once they are available.", +"type": "string" +}, +"errorMsg": { +"description": "Add the error message when loops fail.", +"type": "string" +}, +"failureLocation": { +"description": "Indicates where in the loop logic did it error out.", +"enum": [ +"UNKNOWN", +"SUBWORKFLOW", +"PARAM_OVERRIDING", +"PARAM_AGGREGATING", +"SETTING_ITERATION_ELEMENT", +"GETTING_LIST_TO_ITERATE", +"CONDITION_EVALUATION", +"BUILDING_REQUEST" +], +"enumDescriptions": [ +"No error or Unknown.", +"Subworkflow failed while firing/running.", +"Param overrides failed.", +"Param aggregation failed.", +"Setting for loop current element failed.", +"Getting the list to iterate.", +"Evaluating the while loop condition.", +"Building the iteration request" +], +"type": "string" +} +}, +"type": "object" +}, +"EnterpriseCrmEventbusProtoMappedField": { +"description": "Mapped field is a pair of input field and output field.", +"id": "EnterpriseCrmEventbusProtoMappedField", +"properties": { +"inputField": { +"$ref": "EnterpriseCrmEventbusProtoField", +"description": "The input field being mapped from." +}, +"outputField": { +"$ref": "EnterpriseCrmEventbusProtoField", +"description": "The output field being mapped to." +} +}, +"type": "object" +}, +"EnterpriseCrmEventbusProtoNextTask": { +"description": "The task that is next in line to be executed, if the condition specified evaluated to true.", +"id": "EnterpriseCrmEventbusProtoNextTask", +"properties": { +"combinedConditions": { +"deprecated": true, +"description": "Combined condition for this task to become an eligible next task. Each of these combined_conditions are joined with logical OR. DEPRECATED: use `condition`", +"items": { +"$ref": "EnterpriseCrmEventbusProtoCombinedCondition" +}, +"type": "array" +}, +"condition": { +"description": "Standard filter expression for this task to become an eligible next task.", +"type": "string" +}, +"description": { +"description": "User-provided description intended to give more business context about the next task edge or condition.", +"type": "string" +}, +"label": { +"description": "User-provided label that is attached to this edge in the UI.", +"type": "string" +}, +"taskConfigId": { +"description": "ID of the next task.", +"type": "string" +}, +"taskNumber": { +"description": "Task number of the next task.", +"type": "string" +} +}, +"type": "object" +}, +"EnterpriseCrmEventbusProtoNextTeardownTask": { +"description": "The teardown task that is next in line to be executed. We support only sequential execution of teardown tasks (i.e. no branching).", +"id": "EnterpriseCrmEventbusProtoNextTeardownTask", +"properties": { +"name": { +"description": "Required. Name of the next teardown task.", +"type": "string" +} +}, +"type": "object" +}, +"EnterpriseCrmEventbusProtoNodeIdentifier": { +"description": "Represents a node identifier (type + id). Next highest id: 3", +"id": "EnterpriseCrmEventbusProtoNodeIdentifier", +"properties": { +"elementIdentifier": { +"description": "Configuration of the edge.", +"type": "string" +}, +"elementType": { +"description": "Destination node where the edge ends. It can only be a task config.", +"enum": [ +"UNKNOWN_TYPE", +"TASK_CONFIG", +"TRIGGER_CONFIG" +], +"enumDescriptions": [ +"", +"", +"" +], +"type": "string" +} +}, +"type": "object" +}, +"EnterpriseCrmEventbusProtoNotification": { +"id": "EnterpriseCrmEventbusProtoNotification", +"properties": { +"buganizerNotification": { +"$ref": "EnterpriseCrmEventbusProtoBuganizerNotification" +}, +"emailAddress": { +"$ref": "EnterpriseCrmEventbusProtoAddress" +}, +"escalatorQueue": { +"type": "string" +}, +"pubsubTopic": { +"type": "string" +}, +"request": { +"$ref": "EnterpriseCrmEventbusProtoCustomSuspensionRequest", +"description": "If the out-of-the-box email/pubsub notifications are not suitable and custom logic is required, fire a workflow containing all info needed to notify users to resume execution." +} +}, +"type": "object" +}, +"EnterpriseCrmEventbusProtoParamSpecEntryConfig": { +"id": "EnterpriseCrmEventbusProtoParamSpecEntryConfig", +"properties": { +"descriptivePhrase": { +"description": "A short phrase to describe what this parameter contains.", +"type": "string" +}, +"helpText": { +"description": "Detailed help text for this parameter containing information not provided elsewhere. For example, instructions on how to migrate from a deprecated parameter.", +"type": "string" +}, +"hideDefaultValue": { +"description": "Whether the default value is hidden in the UI.", +"type": "boolean" +}, +"inputDisplayOption": { +"enum": [ +"DEFAULT", +"STRING_MULTI_LINE", +"NUMBER_SLIDER", +"BOOLEAN_TOGGLE" +], +"enumDescriptions": [ +"A single-line input for strings, a numeric input box for numbers, or a checkbox for booleans.", +"A multi-line input box for longer strings/string templates.", +"A slider to select a numerical value. The default range is [0, 100].", +"A toggle button for boolean parameters." +], +"type": "string" +}, +"isHidden": { +"description": "Whether this field is hidden in the UI.", +"type": "boolean" +}, +"label": { +"description": "A user-friendly label for the parameter.", +"type": "string" +}, +"parameterNameOption": { +"enum": [ +"DEFAULT_NOT_PARAMETER_NAME", +"IS_PARAMETER_NAME", +"KEY_IS_PARAMETER_NAME", +"VALUE_IS_PARAMETER_NAME" +], +"enumDescriptions": [ +"This field is not a parameter name.", +"If this field is a string and this option is selected, the field will be interpreted as a parameter name. Users will be able to choose a variable using the autocomplete, but the name will be stored as a literal string.", +"If this field is a ParameterMap and this option is selected, the map's keys will be interpreted as parameter names. Ignored if this field is not a ParameterMap.", +"If this field is a ParameterMap and this option is selected, the map's values will be interpreted as parameter names. Ignored if this field is not a ParameterMap." +], +"type": "string" +}, +"subSectionLabel": { +"description": "A user-friendly label for subSection under which the parameter will be displayed.", +"type": "string" +}, +"uiPlaceholderText": { +"description": "Placeholder text which will appear in the UI input form for this parameter.", +"type": "string" +} +}, +"type": "object" +}, +"EnterpriseCrmEventbusProtoParamSpecEntryProtoDefinition": { +"id": "EnterpriseCrmEventbusProtoParamSpecEntryProtoDefinition", +"properties": { +"fullName": { +"description": "The fully-qualified proto name. This message, for example, would be \"enterprise.crm.eventbus.proto.ParamSpecEntry.ProtoDefinition\".", +"type": "string" +}, +"path": { +"description": "Path to the proto file that contains the message type's definition.", +"type": "string" +} +}, +"type": "object" +}, +"EnterpriseCrmEventbusProtoParamSpecEntryValidationRule": { +"id": "EnterpriseCrmEventbusProtoParamSpecEntryValidationRule", +"properties": { +"doubleRange": { +"$ref": "EnterpriseCrmEventbusProtoParamSpecEntryValidationRuleDoubleRange" +}, +"intRange": { +"$ref": "EnterpriseCrmEventbusProtoParamSpecEntryValidationRuleIntRange" +}, +"stringRegex": { +"$ref": "EnterpriseCrmEventbusProtoParamSpecEntryValidationRuleStringRegex" +} +}, +"type": "object" +}, +"EnterpriseCrmEventbusProtoParamSpecEntryValidationRuleDoubleRange": { +"description": "Range used to validate doubles and floats.", +"id": "EnterpriseCrmEventbusProtoParamSpecEntryValidationRuleDoubleRange", +"properties": { +"max": { +"description": "The inclusive maximum of the acceptable range.", +"format": "double", +"type": "number" +}, +"min": { +"description": "The inclusive minimum of the acceptable range.", +"format": "double", +"type": "number" +} +}, +"type": "object" +}, +"EnterpriseCrmEventbusProtoParamSpecEntryValidationRuleIntRange": { +"description": "Range used to validate longs and ints.", +"id": "EnterpriseCrmEventbusProtoParamSpecEntryValidationRuleIntRange", +"properties": { +"max": { +"description": "The inclusive maximum of the acceptable range.", +"format": "int64", +"type": "string" +}, +"min": { +"description": "The inclusive minimum of the acceptable range.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"EnterpriseCrmEventbusProtoParamSpecEntryValidationRuleStringRegex": { +"description": "Rule used to validate strings.", +"id": "EnterpriseCrmEventbusProtoParamSpecEntryValidationRuleStringRegex", +"properties": { +"exclusive": { +"description": "Whether the regex matcher is applied exclusively (if true, matching values will be rejected).", +"type": "boolean" +}, +"regex": { +"description": "The regex applied to the input value(s).", +"type": "string" +} +}, +"type": "object" +}, +"EnterpriseCrmEventbusProtoParameterEntry": { +"description": "Key-value pair of EventBus parameters.", +"id": "EnterpriseCrmEventbusProtoParameterEntry", +"properties": { +"key": { +"description": "Key is used to retrieve the corresponding parameter value. This should be unique for a given fired event. These parameters must be predefined in the integration definition.", +"type": "string" +}, +"masked": { +"description": "True if this parameter should be masked in the logs", +"type": "boolean" +}, +"value": { +"$ref": "EnterpriseCrmEventbusProtoParameterValueType", +"description": "Values for the defined keys. Each value can either be string, int, double or any proto message." +} +}, +"type": "object" +}, +"EnterpriseCrmEventbusProtoParameterMap": { +"description": "A generic multi-map that holds key value pairs. They keys and values can be of any type, unless specified.", +"id": "EnterpriseCrmEventbusProtoParameterMap", +"properties": { +"entries": { +"items": { +"$ref": "EnterpriseCrmEventbusProtoParameterMapEntry" +}, +"type": "array" +}, +"keyType": { +"description": "Option to specify key value type for all entries of the map. If provided then field types for all entries must conform to this.", +"enum": [ +"DATA_TYPE_UNSPECIFIED", +"STRING_VALUE", +"INT_VALUE", +"DOUBLE_VALUE", +"BOOLEAN_VALUE", +"PROTO_VALUE", +"SERIALIZED_OBJECT_VALUE", +"STRING_ARRAY", +"INT_ARRAY", +"DOUBLE_ARRAY", +"PROTO_ARRAY", +"PROTO_ENUM", +"BOOLEAN_ARRAY", +"PROTO_ENUM_ARRAY", +"BYTES", +"BYTES_ARRAY", +"NON_SERIALIZABLE_OBJECT", +"JSON_VALUE" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"BYTES and BYTES_ARRAY data types are not allowed for top-level params. They're only meant to support protobufs with BYTES (sub)fields.", +"", +"", +"" +], +"type": "string" +}, +"valueType": { +"enum": [ +"DATA_TYPE_UNSPECIFIED", +"STRING_VALUE", +"INT_VALUE", +"DOUBLE_VALUE", +"BOOLEAN_VALUE", +"PROTO_VALUE", +"SERIALIZED_OBJECT_VALUE", +"STRING_ARRAY", +"INT_ARRAY", +"DOUBLE_ARRAY", +"PROTO_ARRAY", +"PROTO_ENUM", +"BOOLEAN_ARRAY", +"PROTO_ENUM_ARRAY", +"BYTES", +"BYTES_ARRAY", +"NON_SERIALIZABLE_OBJECT", +"JSON_VALUE" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"BYTES and BYTES_ARRAY data types are not allowed for top-level params. They're only meant to support protobufs with BYTES (sub)fields.", +"", +"", +"" +], +"type": "string" +} +}, +"type": "object" +}, +"EnterpriseCrmEventbusProtoParameterMapEntry": { +"description": "Entry is a pair of key and value.", +"id": "EnterpriseCrmEventbusProtoParameterMapEntry", +"properties": { +"key": { +"$ref": "EnterpriseCrmEventbusProtoParameterMapField" +}, +"value": { +"$ref": "EnterpriseCrmEventbusProtoParameterMapField" +} +}, +"type": "object" +}, +"EnterpriseCrmEventbusProtoParameterMapField": { +"description": "Field represents either the key or value in an entry.", +"id": "EnterpriseCrmEventbusProtoParameterMapField", +"properties": { +"literalValue": { +"$ref": "EnterpriseCrmEventbusProtoParameterValueType", +"description": "Passing a literal value." +}, +"referenceKey": { +"description": "Referencing one of the WF variables.", +"type": "string" +} +}, +"type": "object" +}, +"EnterpriseCrmEventbusProtoParameterValueType": { +"description": "LINT.IfChange To support various types of parameter values. Next available id: 14", +"id": "EnterpriseCrmEventbusProtoParameterValueType", +"properties": { +"booleanArray": { +"$ref": "EnterpriseCrmEventbusProtoBooleanParameterArray" +}, +"booleanValue": { +"type": "boolean" +}, +"doubleArray": { +"$ref": "EnterpriseCrmEventbusProtoDoubleParameterArray" +}, +"doubleValue": { +"format": "double", +"type": "number" +}, +"intArray": { +"$ref": "EnterpriseCrmEventbusProtoIntParameterArray" +}, +"intValue": { +"format": "int64", +"type": "string" +}, +"protoArray": { +"$ref": "EnterpriseCrmEventbusProtoProtoParameterArray" +}, +"protoValue": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"type": "object" +}, +"serializedObjectValue": { +"$ref": "EnterpriseCrmEventbusProtoSerializedObjectParameter" +}, +"stringArray": { +"$ref": "EnterpriseCrmEventbusProtoStringParameterArray" +}, +"stringValue": { +"type": "string" +} +}, +"type": "object" +}, +"EnterpriseCrmEventbusProtoPropertyEntry": { +"description": "Key-value pair of EventBus property.", +"id": "EnterpriseCrmEventbusProtoPropertyEntry", +"properties": { +"key": { +"description": "Key is used to retrieve the corresponding property value. This should be unique for a given fired event. The Tasks should be aware of the keys used while firing the events for them to be able to retrieve the values.", +"type": "string" +}, +"value": { +"$ref": "EnterpriseCrmEventbusProtoValueType", +"description": "Values for the defined keys. Each value can either be string, int, double or any proto message." +} +}, +"type": "object" +}, +"EnterpriseCrmEventbusProtoProtoArrayFunction": { +"id": "EnterpriseCrmEventbusProtoProtoArrayFunction", +"properties": { +"functionName": { +"enum": [ +"UNSPECIFIED", +"GET", +"APPEND", +"SIZE", +"TO_SET", +"APPEND_ALL", +"TO_JSON", +"SET", +"REMOVE", +"REMOVE_AT", +"CONTAINS", +"FOR_EACH", +"FILTER" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"" +], +"type": "string" +} +}, +"type": "object" +}, +"EnterpriseCrmEventbusProtoProtoFunction": { +"id": "EnterpriseCrmEventbusProtoProtoFunction", +"properties": { +"functionName": { +"enum": [ +"UNSPECIFIED", +"GET_STRING_SUBFIELD", +"GET_INT_SUBFIELD", +"GET_DOUBLE_SUBFIELD", +"GET_BOOLEAN_SUBFIELD", +"GET_STRING_ARRAY_SUBFIELD", +"GET_INT_ARRAY_SUBFIELD", +"GET_DOUBLE_ARRAY_SUBFIELD", +"GET_BOOLEAN_ARRAY_SUBFIELD", +"GET_PROTO_ARRAY_SUBFIELD", +"GET_PROTO_SUBFIELD", +"TO_JSON", +"GET_BYTES_SUBFIELD_AS_UTF_8_STRING", +"GET_BYTES_SUBFIELD_AS_PROTO", +"EQUALS" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"" +], +"type": "string" +} +}, +"type": "object" +}, +"EnterpriseCrmEventbusProtoProtoParameterArray": { +"id": "EnterpriseCrmEventbusProtoProtoParameterArray", +"properties": { +"protoValues": { +"items": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"type": "object" +}, +"type": "array" +} +}, +"type": "object" +}, +"EnterpriseCrmEventbusProtoScatterResponse": { +"id": "EnterpriseCrmEventbusProtoScatterResponse", +"properties": { +"errorMsg": { +"description": "The error message of the failure if applicable.", +"type": "string" +}, +"executionIds": { +"description": "The execution ids of each Subworkflow fired by this scatter.", +"items": { +"type": "string" +}, +"type": "array" +}, +"isSuccessful": { +"description": "If execution is sync, this is true if the execution passed and false if it failed. If the execution is async, this is true if the WF was fired off successfully, and false if it failed to execute. The success or failure of the subworkflows executed are not captured.", +"type": "boolean" +}, +"responseParams": { +"description": "A list of all the response parameters in the aggregtorMap stored with the remapped key.", +"items": { +"$ref": "EnterpriseCrmEventbusProtoParameterEntry" +}, +"type": "array" +}, +"scatterElement": { +"$ref": "EnterpriseCrmEventbusProtoParameterValueType", +"description": "The element that was scattered for this execution." +} +}, +"type": "object" +}, +"EnterpriseCrmEventbusProtoSerializedObjectParameter": { +"id": "EnterpriseCrmEventbusProtoSerializedObjectParameter", +"properties": { +"objectValue": { +"format": "byte", +"type": "string" +} +}, +"type": "object" +}, +"EnterpriseCrmEventbusProtoStringArray": { +"id": "EnterpriseCrmEventbusProtoStringArray", +"properties": { +"values": { +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"EnterpriseCrmEventbusProtoStringArrayFunction": { +"id": "EnterpriseCrmEventbusProtoStringArrayFunction", +"properties": { +"functionName": { +"enum": [ +"UNSPECIFIED", +"GET", +"APPEND", +"SIZE", +"TO_SET", +"APPEND_ALL", +"TO_JSON", +"SET", +"REMOVE", +"REMOVE_AT", +"CONTAINS", +"FOR_EACH", +"FILTER" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"" +], +"type": "string" +} +}, +"type": "object" +}, +"EnterpriseCrmEventbusProtoStringFunction": { +"id": "EnterpriseCrmEventbusProtoStringFunction", +"properties": { +"functionName": { +"enum": [ +"UNSPECIFIED", +"CONCAT", +"TO_UPPERCASE", +"TO_LOWERCASE", +"CONTAINS", +"SPLIT", +"LENGTH", +"EQUALS", +"TO_INT", +"TO_DOUBLE", +"TO_BOOLEAN", +"TO_BASE_64", +"TO_JSON", +"EQUALS_IGNORE_CASE", +"REPLACE_ALL", +"SUBSTRING", +"RESOLVE_TEMPLATE", +"DECODE_BASE64_STRING" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"" +], +"type": "string" +} +}, +"type": "object" +}, +"EnterpriseCrmEventbusProtoStringParameterArray": { +"id": "EnterpriseCrmEventbusProtoStringParameterArray", +"properties": { +"stringValues": { +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"EnterpriseCrmEventbusProtoSuccessPolicy": { +"description": "Policy that dictates the behavior for the task after it completes successfully.", +"id": "EnterpriseCrmEventbusProtoSuccessPolicy", +"properties": { +"finalState": { +"description": "State to which the execution snapshot status will be set if the task succeeds.", +"enum": [ +"UNSPECIFIED", +"SUCCEEDED", +"SUSPENDED" +], +"enumDescriptions": [ +"", +"The default behavior, where successful tasks will be marked as SUCCEEDED.", +"Sets the state to SUSPENDED after executing. This is required for SuspensionTask; event execution will continue once the user calls ResolveSuspensions with the event_execution_info_id and the task number." +], +"type": "string" +} +}, +"type": "object" +}, +"EnterpriseCrmEventbusProtoSuspensionAuthPermissions": { +"description": "LINT.IfChange", +"id": "EnterpriseCrmEventbusProtoSuspensionAuthPermissions", +"properties": { +"gaiaIdentity": { +"$ref": "EnterpriseCrmEventbusProtoSuspensionAuthPermissionsGaiaIdentity", +"description": "Represents a Gaia identity for a person or service account." +}, +"googleGroup": { +"$ref": "EnterpriseCrmEventbusProtoSuspensionAuthPermissionsGaiaIdentity" +}, +"loasRole": { +"type": "string" +}, +"mdbGroup": { +"type": "string" +} +}, +"type": "object" +}, +"EnterpriseCrmEventbusProtoSuspensionAuthPermissionsGaiaIdentity": { +"id": "EnterpriseCrmEventbusProtoSuspensionAuthPermissionsGaiaIdentity", +"properties": { +"emailAddress": { +"type": "string" +}, +"gaiaId": { +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"EnterpriseCrmEventbusProtoSuspensionConfig": { +"id": "EnterpriseCrmEventbusProtoSuspensionConfig", +"properties": { +"customMessage": { +"description": "Optional information to provide recipients of the suspension in addition to the resolution URL, typically containing relevant parameter values from the originating workflow.", +"type": "string" +}, +"notifications": { +"items": { +"$ref": "EnterpriseCrmEventbusProtoNotification" +}, +"type": "array" +}, +"suspensionExpiration": { +"$ref": "EnterpriseCrmEventbusProtoSuspensionExpiration", +"description": "Indicates the next steps when no external actions happen on the suspension." +}, +"whoMayResolve": { +"description": "Identities able to resolve this suspension.", +"items": { +"$ref": "EnterpriseCrmEventbusProtoSuspensionAuthPermissions" +}, +"type": "array" +} +}, +"type": "object" +}, +"EnterpriseCrmEventbusProtoSuspensionExpiration": { +"id": "EnterpriseCrmEventbusProtoSuspensionExpiration", +"properties": { +"expireAfterMs": { +"description": "Milliseconds after which the suspension expires, if no action taken.", +"format": "int32", +"type": "integer" +}, +"liftWhenExpired": { +"description": "Whether the suspension will be REJECTED or LIFTED upon expiration. REJECTED is the default behavior.", +"type": "boolean" +}, +"remindAfterMs": { +"description": "Milliseconds after which the previous suspension action reminder, if any, is sent using the selected notification option, for a suspension which is still PENDING_UNSPECIFIED.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"EnterpriseCrmEventbusProtoSuspensionResolutionInfo": { +"id": "EnterpriseCrmEventbusProtoSuspensionResolutionInfo", +"properties": { +"audit": { +"$ref": "EnterpriseCrmEventbusProtoSuspensionResolutionInfoAudit" +}, +"clientId": { +"description": "The event data user sends as request.", +"type": "string" +}, +"cloudKmsConfig": { +"$ref": "EnterpriseCrmEventbusProtoCloudKmsConfig", +"description": "KMS info, used by cmek/gmek integration" +}, +"createdTimestamp": { +"description": "Auto-generated.", +"format": "google-datetime", +"type": "string" +}, +"encryptedSuspensionResolutionInfo": { +"description": "Encrypted SuspensionResolutionInfo", +"format": "byte", +"type": "string" +}, +"eventExecutionInfoId": { +"description": "Required. ID of the associated execution.", +"type": "string" +}, +"externalTraffic": { +"$ref": "EnterpriseCrmEventbusProtoExternalTraffic", +"description": "The origin of the suspension for periodic notifications." +}, +"lastModifiedTimestamp": { +"description": "Auto-generated.", +"format": "google-datetime", +"type": "string" +}, +"product": { +"description": "Which Google product the suspension belongs to. If not set, the suspension belongs to Integration Platform by default.", +"enum": [ +"UNSPECIFIED_PRODUCT", +"IP", +"APIGEE", +"SECURITY" +], +"enumDescriptions": [ +"", +"", +"", +"" +], +"type": "string" +}, +"status": { +"enum": [ +"PENDING_UNSPECIFIED", +"REJECTED", +"LIFTED", +"CANCELED" +], +"enumDescriptions": [ +"", +"", +"", +"" +], +"type": "string" +}, +"suspensionConfig": { +"$ref": "EnterpriseCrmEventbusProtoSuspensionConfig" +}, +"suspensionId": { +"description": "Primary key for the SuspensionResolutionInfoTable.", +"type": "string" +}, +"taskNumber": { +"description": "Required. Task number of the associated SuspensionTask.", +"type": "string" +}, +"workflowName": { +"description": "Required. The name of the originating workflow.", +"type": "string" +}, +"wrappedDek": { +"description": "Wrapped dek", +"format": "byte", +"type": "string" +} +}, +"type": "object" +}, +"EnterpriseCrmEventbusProtoSuspensionResolutionInfoAudit": { +"id": "EnterpriseCrmEventbusProtoSuspensionResolutionInfoAudit", +"properties": { +"resolvedBy": { +"type": "string" +}, +"resolvedByCpi": { +"type": "string" +}, +"timestamp": { +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"EnterpriseCrmEventbusProtoTaskAlertConfig": { +"description": "Message to be used to configure alerting in the {@code TaskConfig} protos for tasks in an event.", +"id": "EnterpriseCrmEventbusProtoTaskAlertConfig", +"properties": { +"aggregationPeriod": { +"description": "The period over which the metric value should be aggregated and evaluated. Format is , where integer should be a positive integer and unit should be one of (s,m,h,d,w) meaning (second, minute, hour, day, week).", +"type": "string" +}, +"alertDisabled": { +"description": "Set to false by default. When set to true, the metrics are not aggregated or pushed to Monarch for this workflow alert.", +"type": "boolean" +}, +"alertName": { +"description": "A name to identify this alert. This will be displayed in the alert subject. If set, this name should be unique in within the scope of the containing workflow.", +"type": "string" +}, +"clientId": { +"description": "Client associated with this alert configuration. Must be a client enabled in one of the containing workflow's triggers.", +"type": "string" +}, +"durationThresholdMs": { +"description": "Should be specified only for TASK_AVERAGE_DURATION and TASK_PERCENTILE_DURATION metrics. This member should be used to specify what duration value the metrics should exceed for the alert to trigger.", +"format": "int64", +"type": "string" +}, +"errorEnumList": { +"$ref": "EnterpriseCrmEventbusProtoBaseAlertConfigErrorEnumList" +}, +"metricType": { +"enum": [ +"METRIC_TYPE_UNSPECIFIED", +"TASK_ERROR_RATE", +"TASK_WARNING_RATE", +"TASK_RATE", +"TASK_AVERAGE_DURATION", +"TASK_PERCENTILE_DURATION" +], +"enumDescriptions": [ +"The default value. Metric type should always be set to one of the other non-default values, otherwise it will result in an INVALID_ARGUMENT error.", +"Specifies alerting on the rate of errors (potentially for a specific set of enum values) for the enclosing TaskConfig.", +"Specifies alerting on the rate of warnings (potentially for a specific set of enum values) for the enclosing TaskConfig. Warnings use the same enum values as errors.", +"Specifies alerting on the number of instances for the enclosing TaskConfig executed in the given aggregation_period.", +"Specifies alerting on the average duration of execution for the enclosing task.", +"Specifies alerting on the duration of a particular percentile of task executions. E.g. If 10% or more of the task executions have durations above 5 seconds, alert." +], +"type": "string" +}, +"numAggregationPeriods": { +"description": "For how many contiguous aggregation periods should the expected min or max be violated for the alert to be fired.", +"format": "int32", +"type": "integer" +}, +"onlyFinalAttempt": { +"description": "Only count final task attempts, not retries.", +"type": "boolean" +}, +"playbookUrl": { +"description": "Link to a playbook for resolving the issue that triggered this alert.", +"type": "string" +}, +"thresholdType": { +"description": "The threshold type for which this alert is being configured. If value falls below expected_min or exceeds expected_max, an alert will be fired.", +"enum": [ +"UNSPECIFIED_THRESHOLD_TYPE", +"EXPECTED_MIN", +"EXPECTED_MAX" +], +"enumDescriptions": [ +"", +"Note that this field will only trigger alerts if the workflow specifying it runs at least once in 24 hours (which is our in-memory retention period for monarch streams). Also note that `aggregation_period` for this alert configuration must be less than 24 hours.", +"" +], +"type": "string" +}, +"thresholdValue": { +"$ref": "EnterpriseCrmEventbusProtoBaseAlertConfigThresholdValue", +"description": "The metric value, above or below which the alert should be triggered." +}, +"warningEnumList": { +"$ref": "EnterpriseCrmEventbusProtoBaseAlertConfigErrorEnumList" +} +}, +"type": "object" +}, +"EnterpriseCrmEventbusProtoTaskExecutionDetails": { +"description": "Contains the details of the execution of this task. Next available id: 11", +"id": "EnterpriseCrmEventbusProtoTaskExecutionDetails", +"properties": { +"skippedOnFailure": { +"description": "Indicates whether the task was skipped on failure. Only relevant if the task is in SKIPPED state.", +"type": "boolean" +}, +"taskAttemptStats": { +"items": { +"$ref": "EnterpriseCrmEventbusProtoTaskExecutionDetailsTaskAttemptStats" +}, +"type": "array" +}, +"taskExecutionState": { +"enum": [ +"UNSPECIFIED", +"PENDING_EXECUTION", +"IN_PROCESS", +"SUCCEED", +"FAILED", +"FATAL", +"RETRY_ON_HOLD", +"SKIPPED", +"CANCELED", +"PENDING_ROLLBACK", +"ROLLBACK_IN_PROCESS", +"ROLLEDBACK", +"SUSPENDED" +], +"enumDescriptions": [ +"", +"Task is waiting for its precondition tasks to finish to start the execution.", +"Task is under processing.", +"Task execution successfully finished. There's no more change after this state.", +"Task execution failed. There's no more change after this state.", +"Task execution failed and cause the whole event execution to fail immediately. There's no more change after this state.", +"Task execution failed and waiting for retry.", +"Task execution skipped. This happens when its precondition wasn't met, or the event execution been canceled before reach to the task. There's no more changes after this state.", +"Task execution canceled when in progress. This happens when event execution been canceled or any other task fall in fatal state.", +"Task is waiting for its dependency tasks' rollback to finish to start its rollback.", +"Task is rolling back.", +"Task is rolled back. This is the state we will set regardless of rollback succeeding or failing.", +"Task is a SuspensionTask which has executed once, creating a pending suspension." +], +"type": "string" +}, +"taskNumber": { +"description": "Pointer to the task config it used for execution.", +"type": "string" +} +}, +"type": "object" +}, +"EnterpriseCrmEventbusProtoTaskExecutionDetailsTaskAttemptStats": { +"id": "EnterpriseCrmEventbusProtoTaskExecutionDetailsTaskAttemptStats", +"properties": { +"endTime": { +"description": "The end time of the task execution for current attempt.", +"format": "int64", +"type": "string" +}, +"startTime": { +"description": "The start time of the task execution for current attempt. This could be in the future if it's been scheduled.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"EnterpriseCrmEventbusProtoTaskMetadata": { +"description": "TaskMetadata are attributes that are associated to every common Task we have.", +"id": "EnterpriseCrmEventbusProtoTaskMetadata", +"properties": { +"activeTaskName": { +"description": "The new task name to replace the current task if it is deprecated. Otherwise, it is the same as the current task name.", +"type": "string" +}, +"admins": { +"items": { +"$ref": "EnterpriseCrmEventbusProtoTaskMetadataAdmin" +}, +"type": "array" +}, +"category": { +"enum": [ +"UNSPECIFIED_CATEGORY", +"CUSTOM", +"FLOW_CONTROL", +"DATA_MANIPULATION", +"SCRIPTING", +"CONNECTOR", +"HIDDEN", +"CLOUD_SYSTEMS", +"CUSTOM_TASK_TEMPLATE", +"TASK_RECOMMENDATIONS" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"", +"Internal IP tasks that should not be available in the UI.", +"Tasks that are relevant to cloud systems teams and typically", +"Task entities that derive from a custom task template.", +"Category to show task recommendations" +], +"type": "string" +}, +"codeSearchLink": { +"description": "The Code Search link to the Task Java file.", +"type": "string" +}, +"defaultJsonValidationOption": { +"description": "Controls whether JSON workflow parameters are validated against provided schemas before and/or after this task's execution.", +"enum": [ +"UNSPECIFIED_JSON_VALIDATION_OPTION", +"SKIP", +"PRE_EXECUTION", +"POST_EXECUTION", +"PRE_POST_EXECUTION" +], +"enumDescriptions": [ +"As per the default behavior, no validation will be run. Will not override any option set in a Task.", +"Do not run any validation against JSON schemas.", +"Validate all potential input JSON parameters against schemas specified in WorkflowParameters.", +"Validate all potential output JSON parameters against schemas specified in WorkflowParameters.", +"Perform both PRE_EXECUTION and POST_EXECUTION validations." +], +"type": "string" +}, +"defaultSpec": { +"description": "Contains the initial configuration of the task with default values set. For now, The string should be compatible to an ASCII-proto format.", +"type": "string" +}, +"description": { +"description": "In a few sentences, describe the purpose and usage of the task.", +"type": "string" +}, +"descriptiveName": { +"description": "The string name to show on the task list on the Workflow editor screen. This should be a very short, one to two words name for the task. (e.g. \"Send Mail\")", +"type": "string" +}, +"docMarkdown": { +"description": "Snippet of markdown documentation to embed in the RHP for this task.", +"type": "string" +}, +"externalCategory": { +"enum": [ +"UNSPECIFIED_EXTERNAL_CATEGORY", +"CORE", +"CONNECTORS", +"EXTERNAL_HTTP", +"EXTERNAL_INTEGRATION_SERVICES", +"EXTERNAL_CUSTOMER_ACTIONS", +"EXTERNAL_FLOW_CONTROL", +"EXTERNAL_WORKSPACE", +"EXTERNAL_SECURITY", +"EXTERNAL_DATABASES", +"EXTERNAL_ANALYTICS", +"EXTERNAL_BYOC", +"EXTERNAL_BYOT", +"EXTERNAL_ARTIFICIAL_INTELIGENCE", +"EXTERNAL_DATA_MANIPULATION" +], +"enumDescriptions": [ +"", +"", +"", +"HTTP tasks, e.g. rest api call task", +"Integration services, e.g. connector task", +"Customer ations, e.g. email task", +"Flow control, e.g. while loop task", +"Workspace tasks, e.g. list drive task", +"Security, e.g. kms related tasks", +"Database operation tasks, e.g. read firestore info tasks", +"Analytics tasks, e.g. dataflow creattion tasks", +"BYOC tasks", +"BYOT tasks", +"AI related tasks.", +"Data manipulation related tasks, e.g. data mapping task" +], +"type": "string" +}, +"externalCategorySequence": { +"description": "Sequence with which the task in specific category to be displayed in task discovery panel for external users.", +"format": "int32", +"type": "integer" +}, +"externalDocHtml": { +"description": "External-facing documention embedded in the RHP for this task.", +"type": "string" +}, +"externalDocLink": { +"description": "Doc link for external-facing documentation (separate from g3doc).", +"type": "string" +}, +"externalDocMarkdown": { +"description": "DEPRECATED: Use external_doc_html.", +"type": "string" +}, +"g3DocLink": { +"description": "URL to the associated G3 Doc for the task if available", +"type": "string" +}, +"iconLink": { +"description": "URL to gstatic image icon for this task. This icon shows up on the task list panel along with the task name in the Workflow Editor screen. Use the 24p, 2x, gray color icon image format.", +"type": "string" +}, +"isDeprecated": { +"description": "The deprecation status of the current task. Default value is false;", +"type": "boolean" +}, +"name": { +"description": "The actual class name or the annotated name of the task. Task Author should initialize this field with value from the getName() method of the Task class.", +"type": "string" +}, +"standaloneExternalDocHtml": { +"description": "External-facing documention for standalone IP in pantheon embedded in the RHP for this task. Non null only if different from external_doc_html", +"type": "string" +}, +"status": { +"description": "Allows author to indicate if the task is ready to use or not. If not set, then it will default to INACTIVE.", +"enum": [ +"UNSPECIFIED_STATUS", +"DEFAULT_INACTIVE", +"ACTIVE" +], +"enumDescriptions": [ +"Default value. Actual Task Status should always be set to either INACTIVE or ACTIVE. If none is specified at runtime, it will be set to INACTIVE.", +"Still in-progress or incomplete, and not intended for use.", +"Available for use." +], +"type": "string" +}, +"system": { +"enum": [ +"UNSPECIFIED_SYSTEM", +"GENERIC", +"BUGANIZER", +"SALESFORCE", +"CLOUD_SQL", +"PLX", +"SHEETS", +"GOOGLE_GROUPS", +"EMAIL", +"SPANNER", +"DATA_BRIDGE" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"" +], +"type": "string" +}, +"tags": { +"description": "A set of tags that pertain to a particular task. This can be used to improve the searchability of tasks with several names (\"REST Caller\" vs. \"Call REST Endpoint\") or to help users find tasks based on related words.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"EnterpriseCrmEventbusProtoTaskMetadataAdmin": { +"description": "Admins are owners of a Task, and have all permissions on a particular task identified by the task name. By default, Eventbus periodically scans all task metadata and syncs (adds) any new admins defined here to Zanzibar.", +"id": "EnterpriseCrmEventbusProtoTaskMetadataAdmin", +"properties": { +"googleGroupEmail": { +"type": "string" +}, +"userEmail": { +"type": "string" +} +}, +"type": "object" +}, +"EnterpriseCrmEventbusProtoTaskUiConfig": { +"description": "Task authors would use this type to configure the UI for a particular task by specifying what UI config modules should be included to compose the UI. Learn more about config module framework:", +"id": "EnterpriseCrmEventbusProtoTaskUiConfig", +"properties": { +"taskUiModuleConfigs": { +"description": "Configurations of included config modules.", +"items": { +"$ref": "EnterpriseCrmEventbusProtoTaskUiModuleConfig" +}, +"type": "array" +} +}, +"type": "object" +}, +"EnterpriseCrmEventbusProtoTaskUiModuleConfig": { +"description": "Task author would use this type to configure a config module.", +"id": "EnterpriseCrmEventbusProtoTaskUiModuleConfig", +"properties": { +"moduleId": { +"description": "ID of the config module.", +"enum": [ +"UNSPECIFIED_TASK_MODULE", +"LABEL", +"ERROR_HANDLING", +"TASK_PARAM_TABLE", +"TASK_PARAM_FORM", +"PRECONDITION", +"SCRIPT_EDITOR", +"RPC", +"TASK_SUMMARY", +"SUSPENSION", +"RPC_TYPED", +"SUB_WORKFLOW", +"APPS_SCRIPT_NAVIGATOR", +"SUB_WORKFLOW_FOR_EACH_LOOP", +"FIELD_MAPPING", +"README", +"REST_CALLER", +"SUB_WORKFLOW_SCATTER_GATHER", +"CLOUD_SQL", +"GENERIC_CONNECTOR_TASK" +], +"enumDescriptions": [ +"Default", +"Supports editing label of a task config.", +"Supports editing error handling settings such as retry strategy.", +"Supports adding, removing and editing task parameter values in a table with little assistance or restriction.", +"Supports editing values of declared input parameters of a task. Think of it as a \"strongly typed\" upgrade to the TASK_PARAM_TABLE.", +"Supports editing preconditions of a task config.", +"Supports adding, editing, and deleting the scripts associated with a script task, as well as modifying the input/output parameters.", +"Supports editing task parameters associated with an RPC/stubby task.", +"Contains readonly task information, including input/output type info.", +"Configures a SuspensionTask.", +"Configures a GenericStubbyTypedTask.", +"Configures a SubWorkflowExecutorTask.", +"Supports navigating to Apps Script editor", +"Configures a SubWorkflowForEachLoopTask.", +"Configures a FieldMappingTask.", +"Contains embedded in-product documentation for a task.", +"UI widget for the rest caller task.", +"Configures a SubWorkflowScatterGatherTask.", +"Configures a CloudSql Task.", +"Configure a GenericConnectorTask." +], +"type": "string" +} +}, +"type": "object" +}, +"EnterpriseCrmEventbusProtoTeardown": { +"id": "EnterpriseCrmEventbusProtoTeardown", +"properties": { +"teardownTaskConfigs": { +"description": "Required.", +"items": { +"$ref": "EnterpriseCrmEventbusProtoTeardownTaskConfig" +}, +"type": "array" +} +}, +"type": "object" +}, +"EnterpriseCrmEventbusProtoTeardownTaskConfig": { +"id": "EnterpriseCrmEventbusProtoTeardownTaskConfig", +"properties": { +"creatorEmail": { +"description": "The creator's email address.", +"type": "string" +}, +"name": { +"description": "Required. Unique identifier of the teardown task within this Config. We use this field as the identifier to find next teardown tasks.", +"type": "string" +}, +"nextTeardownTask": { +"$ref": "EnterpriseCrmEventbusProtoNextTeardownTask" +}, +"parameters": { +"$ref": "EnterpriseCrmEventbusProtoEventParameters", +"description": "The parameters the user can pass to this task." +}, +"properties": { +"$ref": "EnterpriseCrmEventbusProtoEventBusProperties" +}, +"teardownTaskImplementationClassName": { +"description": "Required. Implementation class name.", +"type": "string" +} +}, +"type": "object" +}, +"EnterpriseCrmEventbusProtoToken": { +"id": "EnterpriseCrmEventbusProtoToken", +"properties": { +"name": { +"type": "string" +}, +"value": { +"type": "string" +} +}, +"type": "object" +}, +"EnterpriseCrmEventbusProtoTransformExpression": { +"id": "EnterpriseCrmEventbusProtoTransformExpression", +"properties": { +"initialValue": { +"$ref": "EnterpriseCrmEventbusProtoBaseValue", +"description": "Initial value upon which to perform transformations." +}, +"transformationFunctions": { +"description": "Transformations to be applied sequentially.", +"items": { +"$ref": "EnterpriseCrmEventbusProtoFunction" +}, +"type": "array" +} +}, +"type": "object" +}, +"EnterpriseCrmEventbusProtoTriggerCriteria": { +"id": "EnterpriseCrmEventbusProtoTriggerCriteria", +"properties": { +"condition": { +"description": "Required. Standard filter expression, when true the workflow will be executed. If there's no trigger_criteria_task_implementation_class_name specified, the condition will be validated directly.", +"type": "string" +}, +"parameters": { +"$ref": "EnterpriseCrmEventbusProtoEventParameters", +"description": "Optional. To be used in TaskConfig for the implementation class." +}, +"triggerCriteriaTaskImplementationClassName": { +"description": "Optional. Implementation class name. The class should implement the \u201cTypedTask\u201d interface.", +"type": "string" +} +}, +"type": "object" +}, +"EnterpriseCrmEventbusProtoValueType": { +"description": "Used for define type for values. Currently supported value types include int, string, double, array, and any proto message.", +"id": "EnterpriseCrmEventbusProtoValueType", +"properties": { +"booleanValue": { +"type": "boolean" +}, +"doubleArray": { +"$ref": "EnterpriseCrmEventbusProtoDoubleArray" +}, +"doubleValue": { +"format": "double", +"type": "number" +}, +"intArray": { +"$ref": "EnterpriseCrmEventbusProtoIntArray" +}, +"intValue": { +"format": "int64", +"type": "string" +}, +"protoValue": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"type": "object" +}, +"stringArray": { +"$ref": "EnterpriseCrmEventbusProtoStringArray" +}, +"stringValue": { +"type": "string" +} +}, +"type": "object" +}, +"EnterpriseCrmEventbusProtoWorkflowAlertConfig": { +"description": "Message to be used to configure custom alerting in the {@code EventConfig} protos for an event.", +"id": "EnterpriseCrmEventbusProtoWorkflowAlertConfig", +"properties": { +"aggregationPeriod": { +"description": "For an EXPECTED_MIN threshold, this aggregation_period must be lesser than 24 hours.", +"type": "string" +}, +"alertDisabled": { +"description": "Set to false by default. When set to true, the metrics are not aggregated or pushed to Monarch for this workflow alert.", +"type": "boolean" +}, +"alertName": { +"description": "A name to identify this alert. This will be displayed in the alert subject. If set, this name should be unique within the scope of the workflow.", +"type": "string" +}, +"clientId": { +"description": "Client associated with this alert configuration.", +"type": "string" +}, +"durationThresholdMs": { +"description": "Should be specified only for *AVERAGE_DURATION and *PERCENTILE_DURATION metrics. This member should be used to specify what duration value the metrics should exceed for the alert to trigger.", +"format": "int64", +"type": "string" +}, +"errorEnumList": { +"$ref": "EnterpriseCrmEventbusProtoBaseAlertConfigErrorEnumList" +}, +"metricType": { +"enum": [ +"METRIC_TYPE_UNSPECIFIED", +"EVENT_ERROR_RATE", +"EVENT_WARNING_RATE", +"TASK_ERROR_RATE", +"TASK_WARNING_RATE", +"TASK_RATE", +"EVENT_RATE", +"EVENT_AVERAGE_DURATION", +"EVENT_PERCENTILE_DURATION", +"TASK_AVERAGE_DURATION", +"TASK_PERCENTILE_DURATION" +], +"enumDescriptions": [ +"The default value. Metric type should always be set to one of the other non-default values, otherwise it will result in an INVALID_ARGUMENT error.", +"Specifies alerting on the rate of errors for the enclosing workflow.", +"Specifies alerting on the rate of warnings for the enclosing workflow. Warnings use the same enum values as errors.", +"Specifies alerting on the rate of errors for any task in the enclosing workflow.", +"Specifies alerting on the rate of warnings for any task in the enclosing workflow.", +"Specifies alerting on the rate of executions over all tasks in the enclosing workflow.", +"Specifies alerting on the number of events executed in the given aggregation_period.", +"Specifies alerting on the average duration of executions for this workflow.", +"Specifies alerting on the duration value of a particular percentile of workflow executions. E.g. If 10% or more of the workflow executions have durations above 5 seconds, alert.", +"Specifies alerting on the average duration of any task in the enclosing workflow,", +"Specifies alerting on the duration value of a particular percentile of any task executions within the enclosing workflow. E.g. If 10% or more of the task executions in the workflow have durations above 5 seconds, alert." +], +"type": "string" +}, +"numAggregationPeriods": { +"description": "For how many contiguous aggregation periods should the expected min or max be violated for the alert to be fired.", +"format": "int32", +"type": "integer" +}, +"onlyFinalAttempt": { +"description": "For either events or tasks, depending on the type of alert, count only final attempts, not retries.", +"type": "boolean" +}, +"playbookUrl": { +"description": "Link to a playbook for resolving the issue that triggered this alert.", +"type": "string" +}, +"thresholdType": { +"description": "The threshold type, whether lower(expected_min) or upper(expected_max), for which this alert is being configured. If value falls below expected_min or exceeds expected_max, an alert will be fired.", +"enum": [ +"UNSPECIFIED_THRESHOLD_TYPE", +"EXPECTED_MIN", +"EXPECTED_MAX" +], +"enumDescriptions": [ +"", +"Note that this field will only trigger alerts if the workflow specifying it runs at least once in 24 hours (which is our in-memory retention period for monarch streams). Also note that `aggregation_period` for this alert configuration must be less than 24 hours.", +"" +], +"type": "string" +}, +"thresholdValue": { +"$ref": "EnterpriseCrmEventbusProtoBaseAlertConfigThresholdValue", +"description": "The metric value, above or below which the alert should be triggered." +}, +"warningEnumList": { +"$ref": "EnterpriseCrmEventbusProtoBaseAlertConfigErrorEnumList" +} +}, +"type": "object" +}, +"EnterpriseCrmEventbusStats": { +"description": "Stats for the requested dimensions: QPS, duration, and error/warning rate", +"id": "EnterpriseCrmEventbusStats", +"properties": { +"dimensions": { +"$ref": "EnterpriseCrmEventbusStatsDimensions", +"description": "Dimensions that these stats have been aggregated on." +}, +"durationInSeconds": { +"description": "Average duration in seconds.", +"format": "double", +"type": "number" +}, +"errorRate": { +"description": "Average error rate.", +"format": "double", +"type": "number" +}, +"qps": { +"description": "Queries per second.", +"format": "double", +"type": "number" +}, +"warningRate": { +"description": "Average warning rate.", +"format": "double", +"type": "number" +} +}, +"type": "object" +}, +"EnterpriseCrmEventbusStatsDimensions": { +"id": "EnterpriseCrmEventbusStatsDimensions", +"properties": { +"clientId": { +"type": "string" +}, +"enumFilterType": { +"description": "Whether to include or exclude the enums matching the regex.", +"enum": [ +"DEFAULT_INCLUSIVE", +"EXCLUSIVE" +], +"enumDescriptions": [ +"", +"" +], +"type": "string" +}, +"errorEnumString": { +"type": "string" +}, +"retryAttempt": { +"enum": [ +"UNSPECIFIED", +"FINAL", +"RETRYABLE", +"CANCELED" +], +"enumDescriptions": [ +"", +"Task has completed successfully or has depleted all retry attempts.", +"Task has failed but may be retried.", +"Task has been deliberately canceled." +], +"type": "string" +}, +"taskName": { +"type": "string" +}, +"taskNumber": { +"type": "string" +}, +"triggerId": { +"description": "Stats have been or will be aggregated on set fields for any semantically-meaningful combination.", +"type": "string" +}, +"warningEnumString": { +"type": "string" +}, +"workflowId": { +"type": "string" +}, +"workflowName": { +"type": "string" +} +}, +"type": "object" +}, +"EnterpriseCrmFrontendsEventbusProtoBooleanParameterArray": { +"id": "EnterpriseCrmFrontendsEventbusProtoBooleanParameterArray", +"properties": { +"booleanValues": { +"items": { +"type": "boolean" +}, +"type": "array" +} +}, +"type": "object" +}, +"EnterpriseCrmFrontendsEventbusProtoDoubleParameterArray": { +"id": "EnterpriseCrmFrontendsEventbusProtoDoubleParameterArray", +"properties": { +"doubleValues": { +"items": { +"format": "double", +"type": "number" +}, +"type": "array" +} +}, +"type": "object" +}, +"EnterpriseCrmFrontendsEventbusProtoEventExecutionDetails": { +"description": "Contains the details of the execution info of this event: this includes the tasks execution details plus the event execution statistics. Next available id: 12", +"id": "EnterpriseCrmFrontendsEventbusProtoEventExecutionDetails", +"properties": { +"cancelReason": { +"description": "If the execution is manually canceled, this field will contain the reason for cancellation.", +"type": "string" +}, +"eventAttemptStats": { +"items": { +"$ref": "EnterpriseCrmEventbusProtoEventExecutionDetailsEventAttemptStats" +}, +"type": "array" +}, +"eventExecutionSnapshot": { +"description": "After snapshot migration, this field will no longer be populated, but old execution snapshots will still be accessible.", +"items": { +"$ref": "EnterpriseCrmFrontendsEventbusProtoEventExecutionSnapshot" +}, +"type": "array" +}, +"eventExecutionSnapshotsSize": { +"description": "Total size of all event_execution_snapshots for an execution", +"format": "int64", +"type": "string" +}, +"eventExecutionState": { +"description": "The execution state of this event.", +"enum": [ +"UNSPECIFIED", +"ON_HOLD", +"IN_PROCESS", +"SUCCEEDED", +"FAILED", +"CANCELED", +"RETRY_ON_HOLD", +"SUSPENDED" +], +"enumDescriptions": [ +"", +"Event is received and waiting for the execution. This happens when firing the event via \"postToQueue\" or \"schedule\".", +"Event is under processing.", +"Event execution successfully finished. There's no more change after this state.", +"Event execution failed. There's no more change after this state.", +"Event execution canceled by user. There's no more change after this state.", +"Event execution failed and waiting for retry.", +"Event execution suspended and waiting for manual intervention." +], +"type": "string" +}, +"eventRetriesFromBeginningCount": { +"description": "Indicates the number of times the execution has restarted from the beginning.", +"format": "int32", +"type": "integer" +}, +"logFilePath": { +"description": "The log file path (aka. cns address) for this event.", +"type": "string" +}, +"networkAddress": { +"description": "The network address (aka. bns address) that indicates where the event executor is running.", +"type": "string" +}, +"nextExecutionTime": { +"description": "Next scheduled execution time in case the execution status was RETRY_ON_HOLD.", +"format": "int64", +"type": "string" +}, +"ryeLockUnheldCount": { +"description": "Used internally and shouldn't be exposed to users. A counter for the cron job to record how many times this event is in in_process state but don't have a lock consecutively/", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"EnterpriseCrmFrontendsEventbusProtoEventExecutionInfo": { +"description": "Contains all the execution details for a workflow instance. Next available id: 27", +"id": "EnterpriseCrmFrontendsEventbusProtoEventExecutionInfo", +"properties": { +"clientId": { +"description": "The event data user sends as request.", +"type": "string" +}, +"cloudLoggingDetails": { +"$ref": "EnterpriseCrmEventbusProtoCloudLoggingDetails", +"description": "Cloud Logging details for execution info" +}, +"createTime": { +"description": "Auto-generated.", +"format": "int64", +"type": "string" +}, +"errorCode": { +"$ref": "CrmlogErrorCode", +"description": "Final error-code if event failed." +}, +"errors": { +"description": "Errors, warnings, and informationals associated with the workflow/task. The order in which the errors were added by the workflow/task is maintained.", +"items": { +"$ref": "EnterpriseCrmEventbusProtoErrorDetail" +}, +"type": "array" +}, +"eventExecutionDetails": { +"$ref": "EnterpriseCrmFrontendsEventbusProtoEventExecutionDetails", +"description": "The execution info about this event." +}, +"eventExecutionInfoId": { +"description": "Auto-generated primary key.", +"type": "string" +}, +"executionTraceInfo": { +"$ref": "EnterpriseCrmEventbusProtoExecutionTraceInfo", +"description": "Execution trace info to aggregate parent-child executions." +}, +"integrationVersionUserLabel": { +"description": "User-defined label that annotates the executed integration version.", +"type": "string" +}, +"lastModifiedTime": { +"description": "Auto-generated.", +"format": "int64", +"type": "string" +}, +"postMethod": { +"description": "The ways user posts this event.", +"enum": [ +"UNSPECIFIED", +"POST", +"POST_TO_QUEUE", +"SCHEDULE", +"POST_BY_EVENT_CONFIG_ID", +"POST_WITH_EVENT_DETAILS" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"" +], +"type": "string" +}, +"product": { +"description": "Which Google product the execution_info belongs to. If not set, the execution_info belongs to Integration Platform by default.", +"enum": [ +"UNSPECIFIED_PRODUCT", +"IP", +"APIGEE", +"SECURITY" +], +"enumDescriptions": [ +"", +"", +"", +"" +], +"type": "string" +}, +"replayInfo": { +"$ref": "EnterpriseCrmFrontendsEventbusProtoEventExecutionInfoReplayInfo", +"description": "Replay info for the execution" +}, +"requestId": { +"description": "Optional. This is used to de-dup incoming request.", +"type": "string" +}, +"requestParams": { +"$ref": "EnterpriseCrmFrontendsEventbusProtoEventParameters", +"description": "Event parameters come in as part of the request." +}, +"responseParams": { +"$ref": "EnterpriseCrmFrontendsEventbusProtoEventParameters", +"description": "Event parameters come out as part of the response." +}, +"snapshotNumber": { +"description": "Workflow snapshot number.", +"format": "int64", +"type": "string" +}, +"tenant": { +"description": "Tenant this event is created. Used to reschedule the event to correct tenant.", +"type": "string" +}, +"triggerId": { +"description": "The trigger id of the workflow trigger config. If both trigger_id and client_id is present, the workflow is executed from the start tasks provided by the matching trigger config otherwise it is executed from the default start tasks.", +"type": "string" +}, +"workflowId": { +"description": "Required. Pointer to the workflow it is executing.", +"type": "string" +}, +"workflowName": { +"description": "Name of the workflow.", +"type": "string" +}, +"workflowRetryBackoffIntervalSeconds": { +"description": "Time interval in seconds to schedule retry of workflow in manifold when workflow is already running", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"EnterpriseCrmFrontendsEventbusProtoEventExecutionInfoReplayInfo": { +"description": "Contains the details of the execution info: this includes the replay reason and replay tree connecting executions in a parent-child relationship", +"id": "EnterpriseCrmFrontendsEventbusProtoEventExecutionInfoReplayInfo", +"properties": { +"originalExecutionInfoId": { +"description": "If this execution is a replay of another execution, then this field contains the original execution id.", +"type": "string" +}, +"replayMode": { +"description": "Replay mode for the execution", +"enum": [ +"REPLAY_MODE_UNSPECIFIED", +"REPLAY_MODE_FROM_BEGINNING", +"REPLAY_MODE_POINT_OF_FAILURE" +], +"enumDescriptions": [ +"", +"Replay the original execution from the beginning.", +"Replay the execution from the first failed task." +], +"type": "string" +}, +"replayReason": { +"description": "reason for replay", +"type": "string" +}, +"replayedExecutionInfoIds": { +"description": "If this execution has been replayed, then this field contains the execution ids of the replayed executions.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"EnterpriseCrmFrontendsEventbusProtoEventExecutionSnapshot": { +"id": "EnterpriseCrmFrontendsEventbusProtoEventExecutionSnapshot", +"properties": { +"checkpointTaskNumber": { +"description": "Indicates \"right after which checkpoint task's execution\" this snapshot is taken.", +"type": "string" +}, +"conditionResults": { +"description": "All of the computed conditions that been calculated.", +"items": { +"$ref": "EnterpriseCrmEventbusProtoConditionResult" +}, +"type": "array" +}, +"diffParams": { +"$ref": "EnterpriseCrmFrontendsEventbusProtoEventParameters", +"description": "The parameters in Event object that differs from last snapshot." +}, +"eventExecutionInfoId": { +"description": "Points to the event execution info this snapshot belongs to.", +"type": "string" +}, +"eventExecutionSnapshotId": { +"description": "Auto-generated. Used as primary key for EventExecutionSnapshots table.", +"type": "string" +}, +"eventExecutionSnapshotMetadata": { +"$ref": "EnterpriseCrmEventbusProtoEventExecutionSnapshotEventExecutionSnapshotMetadata" +}, +"eventParams": { +"$ref": "EnterpriseCrmFrontendsEventbusProtoEventParameters", +"description": "The parameters in Event object." +}, +"snapshotTime": { +"description": "Indicates when this snapshot is taken.", +"format": "int64", +"type": "string" +}, +"taskExecutionDetails": { +"description": "All of the task execution details at the given point of time.", +"items": { +"$ref": "EnterpriseCrmEventbusProtoTaskExecutionDetails" +}, +"type": "array" +}, +"taskName": { +"deprecated": true, +"description": "The task name associated with this snapshot. Could be empty.", +"type": "string" +} +}, +"type": "object" +}, +"EnterpriseCrmFrontendsEventbusProtoEventParameters": { +"description": "LINT.IfChange This message is used for processing and persisting (when applicable) key value pair parameters for each event in the event bus. Please see", +"id": "EnterpriseCrmFrontendsEventbusProtoEventParameters", +"properties": { +"parameters": { +"description": "Parameters are a part of Event and can be used to communicate between different tasks that are part of the same workflow execution.", +"items": { +"$ref": "EnterpriseCrmFrontendsEventbusProtoParameterEntry" +}, +"type": "array" +} +}, +"type": "object" +}, +"EnterpriseCrmFrontendsEventbusProtoIntParameterArray": { +"id": "EnterpriseCrmFrontendsEventbusProtoIntParameterArray", +"properties": { +"intValues": { +"items": { +"format": "int64", +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"EnterpriseCrmFrontendsEventbusProtoParamSpecEntry": { +"description": "Key-value pair of EventBus task parameters. Next id: 13", +"id": "EnterpriseCrmFrontendsEventbusProtoParamSpecEntry", +"properties": { +"className": { +"description": "The FQCN of the Java object this represents. A string, for example, would be \"java.lang.String\". If this is \"java.lang.Object\", the parameter can be of any type.", +"type": "string" +}, +"collectionElementClassName": { +"description": "If it is a collection of objects, this would be the FCQN of every individual element in the collection. If this is \"java.lang.Object\", the parameter is a collection of any type.", +"type": "string" +}, +"config": { +"$ref": "EnterpriseCrmEventbusProtoParamSpecEntryConfig", +"description": "Optional fields, such as help text and other useful info." +}, +"dataType": { +"description": "The data type of the parameter.", +"enum": [ +"DATA_TYPE_UNSPECIFIED", +"STRING_VALUE", +"INT_VALUE", +"DOUBLE_VALUE", +"BOOLEAN_VALUE", +"PROTO_VALUE", +"SERIALIZED_OBJECT_VALUE", +"STRING_ARRAY", +"INT_ARRAY", +"DOUBLE_ARRAY", +"PROTO_ARRAY", +"PROTO_ENUM", +"BOOLEAN_ARRAY", +"PROTO_ENUM_ARRAY", +"BYTES", +"BYTES_ARRAY", +"NON_SERIALIZABLE_OBJECT", +"JSON_VALUE" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"BYTES and BYTES_ARRAY data types are not allowed for top-level params. They're only meant to support protobufs with BYTES (sub)fields.", +"", +"", +"" +], +"type": "string" +}, +"defaultValue": { +"$ref": "EnterpriseCrmFrontendsEventbusProtoParameterValueType", +"description": "Default values for the defined keys. Each value can either be string, int, double or any proto message or a serialized object." +}, +"isDeprecated": { +"description": "If set, this entry is deprecated, so further use of this parameter should be prohibited.", +"type": "boolean" +}, +"isOutput": { +"type": "boolean" +}, +"jsonSchema": { +"description": "If the data_type is JSON_VALUE, then this will define its schema.", +"type": "string" +}, +"key": { +"description": "Key is used to retrieve the corresponding parameter value. This should be unique for a given task. These parameters must be predefined in the workflow definition.", +"type": "string" +}, +"protoDef": { +"$ref": "EnterpriseCrmEventbusProtoParamSpecEntryProtoDefinition", +"description": "Populated if this represents a proto or proto array." +}, +"required": { +"description": "If set, the user must provide an input value for this parameter.", +"type": "boolean" +}, +"validationRule": { +"$ref": "EnterpriseCrmEventbusProtoParamSpecEntryValidationRule", +"description": "Rule used to validate inputs (individual values and collection elements) for this parameter." +} +}, +"type": "object" +}, +"EnterpriseCrmFrontendsEventbusProtoParamSpecsMessage": { +"id": "EnterpriseCrmFrontendsEventbusProtoParamSpecsMessage", +"properties": { +"parameters": { +"items": { +"$ref": "EnterpriseCrmFrontendsEventbusProtoParamSpecEntry" +}, +"type": "array" +} +}, +"type": "object" +}, +"EnterpriseCrmFrontendsEventbusProtoParameterEntry": { +"description": "Key-value pair of EventBus parameters.", +"id": "EnterpriseCrmFrontendsEventbusProtoParameterEntry", +"properties": { +"dataType": { +"description": "Explicitly getting the type of the parameter.", +"enum": [ +"DATA_TYPE_UNSPECIFIED", +"STRING_VALUE", +"INT_VALUE", +"DOUBLE_VALUE", +"BOOLEAN_VALUE", +"PROTO_VALUE", +"SERIALIZED_OBJECT_VALUE", +"STRING_ARRAY", +"INT_ARRAY", +"DOUBLE_ARRAY", +"PROTO_ARRAY", +"PROTO_ENUM", +"BOOLEAN_ARRAY", +"PROTO_ENUM_ARRAY", +"BYTES", +"BYTES_ARRAY", +"NON_SERIALIZABLE_OBJECT", +"JSON_VALUE" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"BYTES and BYTES_ARRAY data types are not allowed for top-level params. They're only meant to support protobufs with BYTES (sub)fields.", +"", +"", +"" +], +"type": "string" +}, +"key": { +"description": "Key is used to retrieve the corresponding parameter value. This should be unique for a given fired event. These parameters must be predefined in the workflow definition.", +"type": "string" +}, +"masked": { +"description": "True if this parameter should be masked in the logs", +"type": "boolean" +}, +"value": { +"$ref": "EnterpriseCrmFrontendsEventbusProtoParameterValueType", +"description": "Values for the defined keys. Each value can either be string, int, double or any proto message." +} +}, +"type": "object" +}, +"EnterpriseCrmFrontendsEventbusProtoParameterMap": { +"description": "A generic multi-map that holds key value pairs. They keys and values can be of any type, unless specified.", +"id": "EnterpriseCrmFrontendsEventbusProtoParameterMap", +"properties": { +"entries": { +"items": { +"$ref": "EnterpriseCrmFrontendsEventbusProtoParameterMapEntry" +}, +"type": "array" +}, +"keyType": { +"description": "Option to specify key value type for all entries of the map. If provided then field types for all entries must conform to this.", +"enum": [ +"DATA_TYPE_UNSPECIFIED", +"STRING_VALUE", +"INT_VALUE", +"DOUBLE_VALUE", +"BOOLEAN_VALUE", +"PROTO_VALUE", +"SERIALIZED_OBJECT_VALUE", +"STRING_ARRAY", +"INT_ARRAY", +"DOUBLE_ARRAY", +"PROTO_ARRAY", +"PROTO_ENUM", +"BOOLEAN_ARRAY", +"PROTO_ENUM_ARRAY", +"BYTES", +"BYTES_ARRAY", +"NON_SERIALIZABLE_OBJECT", +"JSON_VALUE" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"BYTES and BYTES_ARRAY data types are not allowed for top-level params. They're only meant to support protobufs with BYTES (sub)fields.", +"", +"", +"" +], +"type": "string" +}, +"valueType": { +"enum": [ +"DATA_TYPE_UNSPECIFIED", +"STRING_VALUE", +"INT_VALUE", +"DOUBLE_VALUE", +"BOOLEAN_VALUE", +"PROTO_VALUE", +"SERIALIZED_OBJECT_VALUE", +"STRING_ARRAY", +"INT_ARRAY", +"DOUBLE_ARRAY", +"PROTO_ARRAY", +"PROTO_ENUM", +"BOOLEAN_ARRAY", +"PROTO_ENUM_ARRAY", +"BYTES", +"BYTES_ARRAY", +"NON_SERIALIZABLE_OBJECT", +"JSON_VALUE" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"BYTES and BYTES_ARRAY data types are not allowed for top-level params. They're only meant to support protobufs with BYTES (sub)fields.", +"", +"", +"" +], +"type": "string" +} +}, +"type": "object" +}, +"EnterpriseCrmFrontendsEventbusProtoParameterMapEntry": { +"description": "Entry is a pair of key and value.", +"id": "EnterpriseCrmFrontendsEventbusProtoParameterMapEntry", +"properties": { +"key": { +"$ref": "EnterpriseCrmFrontendsEventbusProtoParameterMapField" +}, +"value": { +"$ref": "EnterpriseCrmFrontendsEventbusProtoParameterMapField" +} +}, +"type": "object" +}, +"EnterpriseCrmFrontendsEventbusProtoParameterMapField": { +"description": "Field represents either the key or value in an entry.", +"id": "EnterpriseCrmFrontendsEventbusProtoParameterMapField", +"properties": { +"literalValue": { +"$ref": "EnterpriseCrmFrontendsEventbusProtoParameterValueType", +"description": "Passing a literal value." +}, +"referenceKey": { +"description": "Referencing one of the WF variables.", +"type": "string" +} +}, +"type": "object" +}, +"EnterpriseCrmFrontendsEventbusProtoParameterValueType": { +"description": "To support various types of parameter values. Next available id: 14", +"id": "EnterpriseCrmFrontendsEventbusProtoParameterValueType", +"properties": { +"booleanArray": { +"$ref": "EnterpriseCrmFrontendsEventbusProtoBooleanParameterArray" +}, +"booleanValue": { +"type": "boolean" +}, +"doubleArray": { +"$ref": "EnterpriseCrmFrontendsEventbusProtoDoubleParameterArray" +}, +"doubleValue": { +"format": "double", +"type": "number" +}, +"intArray": { +"$ref": "EnterpriseCrmFrontendsEventbusProtoIntParameterArray" +}, +"intValue": { +"format": "int64", +"type": "string" +}, +"jsonValue": { +"type": "string" +}, +"protoArray": { +"$ref": "EnterpriseCrmFrontendsEventbusProtoProtoParameterArray" +}, +"protoValue": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"type": "object" +}, +"serializedObjectValue": { +"$ref": "EnterpriseCrmFrontendsEventbusProtoSerializedObjectParameter" +}, +"stringArray": { +"$ref": "EnterpriseCrmFrontendsEventbusProtoStringParameterArray" +}, +"stringValue": { +"type": "string" +} +}, +"type": "object" +}, +"EnterpriseCrmFrontendsEventbusProtoProtoParameterArray": { +"id": "EnterpriseCrmFrontendsEventbusProtoProtoParameterArray", +"properties": { +"protoValues": { +"items": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"type": "object" +}, +"type": "array" +} +}, +"type": "object" +}, +"EnterpriseCrmFrontendsEventbusProtoRollbackStrategy": { +"description": "Next available id: 4", +"id": "EnterpriseCrmFrontendsEventbusProtoRollbackStrategy", +"properties": { +"parameters": { +"$ref": "EnterpriseCrmFrontendsEventbusProtoEventParameters", +"description": "Optional. The customized parameters the user can pass to this task." +}, +"rollbackTaskImplementationClassName": { +"description": "Required. This is the name of the task that needs to be executed upon rollback of this task.", +"type": "string" +}, +"taskNumbersToRollback": { +"description": "Required. These are the tasks numbers of the tasks whose `rollback_strategy.rollback_task_implementation_class_name` needs to be executed upon failure of this task.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"EnterpriseCrmFrontendsEventbusProtoSerializedObjectParameter": { +"id": "EnterpriseCrmFrontendsEventbusProtoSerializedObjectParameter", +"properties": { +"objectValue": { +"format": "byte", +"type": "string" +} +}, +"type": "object" +}, +"EnterpriseCrmFrontendsEventbusProtoStringParameterArray": { +"id": "EnterpriseCrmFrontendsEventbusProtoStringParameterArray", +"properties": { +"stringValues": { +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"EnterpriseCrmFrontendsEventbusProtoTaskConfig": { +"description": "The task configuration details. This is not the implementation of Task. There might be multiple TaskConfigs for the same Task.", +"id": "EnterpriseCrmFrontendsEventbusProtoTaskConfig", +"properties": { +"alertConfigs": { +"description": "Alert configurations on error rate, warning rate, number of runs, durations, etc.", +"items": { +"$ref": "EnterpriseCrmEventbusProtoTaskAlertConfig" +}, +"type": "array" +}, +"conditionalFailurePolicies": { +"$ref": "EnterpriseCrmEventbusProtoConditionalFailurePolicies", +"description": "Optional. Determines the number of times the task will be retried on failure and with what retry strategy. This is applicable for synchronous calls to Eventbus alone (Post)." +}, +"createTime": { +"description": "Auto-generated.", +"format": "google-datetime", +"type": "string" +}, +"creatorEmail": { +"description": "The creator's email address. Auto-generated from the user's email.", +"type": "string" +}, +"description": { +"description": "User-provided description intended to give more business context about the task.", +"type": "string" +}, +"disableStrictTypeValidation": { +"description": "If this config contains a TypedTask, allow validation to succeed if an input is read from the output of another TypedTask whose output type is declared as a superclass of the requested input type. For instance, if the previous task declares an output of type Message, any task with this flag enabled will pass validation when attempting to read any proto Message type from the resultant Event parameter.", +"type": "boolean" +}, +"errorCatcherId": { +"description": "Optional Error catcher id of the error catch flow which will be executed when execution error happens in the task", +"type": "string" +}, +"externalTaskType": { +"enum": [ +"EXTERNAL_TASK_TYPE_UNSPECIFIED", +"NORMAL_TASK", +"ERROR_TASK" +], +"enumDescriptions": [ +"Default value. External task type is not specified", +"Tasks belongs to the normal task flows", +"Task belongs to the error catch task flows" +], +"type": "string" +}, +"failurePolicy": { +"$ref": "EnterpriseCrmEventbusProtoFailurePolicy", +"description": "Optional. Determines the number of times the task will be retried on failure and with what retry strategy. This is applicable for asynchronous calls to Eventbus alone (Post To Queue, Schedule etc.)." +}, +"incomingEdgeCount": { +"description": "The number of edges leading into this TaskConfig.", +"format": "int32", +"type": "integer" +}, +"jsonValidationOption": { +"description": "If set, overrides the option configured in the Task implementation class.", +"enum": [ +"UNSPECIFIED_JSON_VALIDATION_OPTION", +"SKIP", +"PRE_EXECUTION", +"POST_EXECUTION", +"PRE_POST_EXECUTION" +], +"enumDescriptions": [ +"As per the default behavior, no validation will be run. Will not override any option set in a Task.", +"Do not run any validation against JSON schemas.", +"Validate all potential input JSON parameters against schemas specified in WorkflowParameters.", +"Validate all potential output JSON parameters against schemas specified in WorkflowParameters.", +"Perform both PRE_EXECUTION and POST_EXECUTION validations." +], +"type": "string" +}, +"label": { +"description": "User-provided label that is attached to this TaskConfig in the UI.", +"type": "string" +}, +"lastModifiedTime": { +"description": "Auto-generated.", +"format": "google-datetime", +"type": "string" +}, +"nextTasks": { +"description": "The set of tasks that are next in line to be executed as per the execution graph defined for the parent event, specified by `event_config_id`. Each of these next tasks are executed only if the condition associated with them evaluates to true.", +"items": { +"$ref": "EnterpriseCrmEventbusProtoNextTask" +}, +"type": "array" +}, +"nextTasksExecutionPolicy": { +"description": "The policy dictating the execution of the next set of tasks for the current task.", +"enum": [ +"UNSPECIFIED", +"RUN_ALL_MATCH", +"RUN_FIRST_MATCH" +], +"enumDescriptions": [ +"Default", +"Execute all the tasks that satisfy their associated condition.", +"Execute the first task that satisfies the associated condition." +], +"type": "string" +}, +"parameters": { +"additionalProperties": { +"$ref": "EnterpriseCrmFrontendsEventbusProtoParameterEntry" +}, +"description": "The customized parameters the user can pass to this task.", +"type": "object" +}, +"position": { +"$ref": "EnterpriseCrmEventbusProtoCoordinate", +"description": "Optional. Informs the front-end application where to draw this task config on the UI." +}, +"precondition": { +"description": "Optional. Standard filter expression evaluated before execution. Independent of other conditions and tasks. Can be used to enable rollout. e.g. \"rollout(5)\" will only allow 5% of incoming traffic to task.", +"type": "string" +}, +"preconditionLabel": { +"description": "Optional. User-provided label that is attached to precondition in the UI.", +"type": "string" +}, +"rollbackStrategy": { +"$ref": "EnterpriseCrmFrontendsEventbusProtoRollbackStrategy", +"description": "Optional. Contains information about what needs to be done upon failure (either a permanent error or after it has been retried too many times)." +}, +"successPolicy": { +"$ref": "EnterpriseCrmEventbusProtoSuccessPolicy", +"description": "Determines what action to take upon successful task completion." +}, +"synchronousCallFailurePolicy": { +"$ref": "EnterpriseCrmEventbusProtoFailurePolicy", +"description": "Optional. Determines the number of times the task will be retried on failure and with what retry strategy. This is applicable for synchronous calls to Eventbus alone (Post)." +}, +"taskEntity": { +"$ref": "EnterpriseCrmFrontendsEventbusProtoTaskEntity", +"description": "Copy of the task entity that this task config is an instance of." +}, +"taskExecutionStrategy": { +"description": "The policy dictating the execution strategy of this task.", +"enum": [ +"WHEN_ALL_SUCCEED", +"WHEN_ANY_SUCCEED", +"WHEN_ALL_TASKS_AND_CONDITIONS_SUCCEED" +], +"enumDescriptions": [ +"Wait until all of its previous tasks finished execution, then verify at least one of the edge conditions is met, and execute if possible. This should be considered as WHEN_ALL_TASKS_SUCCEED.", +"Start execution as long as any of its previous tasks finished execution and the corresponding edge condition is met (since we will execute if only that succeeding edge condition is met).", +"Wait until all of its previous tasks finished execution, then verify the all edge conditions are met and execute if possible." +], +"type": "string" +}, +"taskName": { +"description": "The name for the task.", +"type": "string" +}, +"taskNumber": { +"description": "REQUIRED: the identifier of this task within its parent event config, specified by the client. This should be unique among all the tasks belong to the same event config. We use this field as the identifier to find next tasks (via field `next_tasks.task_number`).", +"type": "string" +}, +"taskSpec": { +"description": "A string template that allows user to configure task parameters (with either literal default values or tokens which will be resolved at execution time) for the task. It will eventually replace the old \"parameters\" field.", +"type": "string" +}, +"taskTemplateName": { +"description": "Used to define task-template name if task is of type task-template", +"type": "string" +}, +"taskType": { +"description": "Defines the type of the task", +"enum": [ +"TASK", +"ASIS_TEMPLATE", +"IO_TEMPLATE" +], +"enumDescriptions": [ +"Normal IP task", +"Task is of As-Is Template type", +"Task is of I/O template type with a different underlying task" +], +"type": "string" +} +}, +"type": "object" +}, +"EnterpriseCrmFrontendsEventbusProtoTaskEntity": { +"description": "Contains a task's metadata and associated information. Next available id: 7", +"id": "EnterpriseCrmFrontendsEventbusProtoTaskEntity", +"properties": { +"disabledForVpcSc": { +"description": "True if the task has conflict with vpcsc", +"type": "boolean" +}, +"metadata": { +"$ref": "EnterpriseCrmEventbusProtoTaskMetadata", +"description": "Metadata inclueds the task name, author and so on." +}, +"paramSpecs": { +"$ref": "EnterpriseCrmFrontendsEventbusProtoParamSpecsMessage", +"description": "Declarations for inputs/outputs for a TypedTask. This is also associated with the METADATA mask." +}, +"stats": { +"$ref": "EnterpriseCrmEventbusStats", +"deprecated": true, +"description": "Deprecated - statistics from the Monarch query." +}, +"taskType": { +"description": "Defines the type of the task", +"enum": [ +"TASK", +"ASIS_TEMPLATE", +"IO_TEMPLATE" +], +"enumDescriptions": [ +"Normal IP task", +"Task is of As-Is Template type", +"Task is of I/O template type with a different underlying task" +], +"type": "string" +}, +"uiConfig": { +"$ref": "EnterpriseCrmEventbusProtoTaskUiConfig", +"description": "UI configuration for this task Also associated with the METADATA mask." +} +}, +"type": "object" +}, +"EnterpriseCrmFrontendsEventbusProtoTriggerConfig": { +"description": "Configuration detail of a trigger. Next available id: 22", +"id": "EnterpriseCrmFrontendsEventbusProtoTriggerConfig", +"properties": { +"alertConfig": { +"description": "An alert threshold configuration for the [trigger + client + workflow] tuple. If these values are not specified in the trigger config, default values will be populated by the system. Note that there must be exactly one alert threshold configured per [client + trigger + workflow] when published.", +"items": { +"$ref": "EnterpriseCrmEventbusProtoWorkflowAlertConfig" +}, +"type": "array" +}, +"cloudSchedulerConfig": { +"$ref": "EnterpriseCrmEventbusProtoCloudSchedulerConfig" +}, +"description": { +"description": "User-provided description intended to give more business context about the task.", +"type": "string" +}, +"enabledClients": { +"description": "Required. The list of client ids which are enabled to execute the workflow using this trigger. In other words, these clients have the workflow execution privledges for this trigger. For API trigger, the client id in the incoming request is validated against the list of enabled clients. For non-API triggers, one workflow execution is triggered on behalf of each enabled client.", +"items": { +"type": "string" +}, +"type": "array" +}, +"errorCatcherId": { +"description": "Optional Error catcher id of the error catch flow which will be executed when execution error happens in the task", +"type": "string" +}, +"inputVariables": { +"$ref": "EnterpriseCrmFrontendsEventbusProtoTriggerConfigVariables", +"description": "Optional. List of input variables for the api trigger." +}, +"label": { +"description": "The user created label for a particular trigger.", +"type": "string" +}, +"nextTasksExecutionPolicy": { +"description": "Dictates how next tasks will be executed.", +"enum": [ +"UNSPECIFIED", +"RUN_ALL_MATCH", +"RUN_FIRST_MATCH" +], +"enumDescriptions": [ +"Default", +"Execute all the tasks that satisfy their associated condition.", +"Execute the first task that satisfies the associated condition." +], +"type": "string" +}, +"outputVariables": { +"$ref": "EnterpriseCrmFrontendsEventbusProtoTriggerConfigVariables", +"description": "Optional. List of output variables for the api trigger." +}, +"pauseWorkflowExecutions": { +"description": "Optional. If set to true, any upcoming requests for this trigger config will be paused and the executions will be resumed later when the flag is reset. The workflow to which this trigger config belongs has to be in ACTIVE status for the executions to be paused or resumed.", +"type": "boolean" +}, +"position": { +"$ref": "EnterpriseCrmEventbusProtoCoordinate", +"description": "Optional. Informs the front-end application where to draw this trigger config on the UI." +}, +"properties": { +"additionalProperties": { +"type": "string" +}, +"description": "Configurable properties of the trigger, not to be confused with workflow parameters. E.g. \"name\" is a property for API triggers and \"subscription\" is a property for Cloud Pubsub triggers.", +"type": "object" +}, +"startTasks": { +"description": "Set of tasks numbers from where the workflow execution is started by this trigger. If this is empty, then workflow is executed with default start tasks. In the list of start tasks, none of two tasks can have direct ancestor-descendant relationships (i.e. in a same workflow execution graph).", +"items": { +"$ref": "EnterpriseCrmEventbusProtoNextTask" +}, +"type": "array" +}, +"triggerCriteria": { +"$ref": "EnterpriseCrmEventbusProtoTriggerCriteria", +"description": "Optional. When set, Eventbus will run the task specified in the trigger_criteria and validate the result using the trigger_criteria.condition, and only execute the workflow when result is true." +}, +"triggerId": { +"description": "The backend trigger ID.", +"type": "string" +}, +"triggerName": { +"description": "Optional. Name of the trigger This is added to identify the type of trigger. This is avoid the logic on triggerId to identify the trigger_type and push the same to monitoring.", +"type": "string" +}, +"triggerNumber": { +"description": "Required. A number to uniquely identify each trigger config within the workflow on UI.", +"type": "string" +}, +"triggerType": { +"enum": [ +"UNKNOWN", +"CLOUD_PUBSUB", +"GOOPS", +"SFDC_SYNC", +"CRON", +"API", +"MANIFOLD_TRIGGER", +"DATALAYER_DATA_CHANGE", +"SFDC_CHANNEL", +"CLOUD_PUBSUB_EXTERNAL", +"SFDC_CDC_CHANNEL", +"SFDC_PLATFORM_EVENTS_CHANNEL", +"CLOUD_SCHEDULER", +"INTEGRATION_CONNECTOR_TRIGGER", +"PRIVATE_TRIGGER", +"EVENTARC_TRIGGER" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"" +], +"type": "string" +} +}, +"type": "object" +}, +"EnterpriseCrmFrontendsEventbusProtoTriggerConfigVariables": { +"description": "Variables names mapped to api trigger.", +"id": "EnterpriseCrmFrontendsEventbusProtoTriggerConfigVariables", +"properties": { +"names": { +"description": "Optional. List of variable names.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"EnterpriseCrmFrontendsEventbusProtoWorkflowParameterEntry": { +"id": "EnterpriseCrmFrontendsEventbusProtoWorkflowParameterEntry", +"properties": { +"attributes": { +"$ref": "EnterpriseCrmEventbusProtoAttributes", +"description": "Metadata information about the parameters." +}, +"children": { +"description": "Child parameters nested within this parameter. This field only applies to protobuf parameters", +"items": { +"$ref": "EnterpriseCrmFrontendsEventbusProtoWorkflowParameterEntry" +}, +"type": "array" +}, +"containsLargeData": { +"description": "Indicates whether this variable contains large data and need to be uploaded to Cloud Storage.", +"type": "boolean" +}, +"dataType": { +"description": "The data type of the parameter.", +"enum": [ +"DATA_TYPE_UNSPECIFIED", +"STRING_VALUE", +"INT_VALUE", +"DOUBLE_VALUE", +"BOOLEAN_VALUE", +"PROTO_VALUE", +"SERIALIZED_OBJECT_VALUE", +"STRING_ARRAY", +"INT_ARRAY", +"DOUBLE_ARRAY", +"PROTO_ARRAY", +"PROTO_ENUM", +"BOOLEAN_ARRAY", +"PROTO_ENUM_ARRAY", +"BYTES", +"BYTES_ARRAY", +"NON_SERIALIZABLE_OBJECT", +"JSON_VALUE" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"BYTES and BYTES_ARRAY data types are not allowed for top-level params. They're only meant to support protobufs with BYTES (sub)fields.", +"", +"", +"" +], +"type": "string" +}, +"defaultValue": { +"$ref": "EnterpriseCrmFrontendsEventbusProtoParameterValueType", +"description": "Default values for the defined keys. Each value can either be string, int, double or any proto message or a serialized object." +}, +"description": { +"description": "Optional. The description about the parameter", +"type": "string" +}, +"inOutType": { +"description": "Specifies the input/output type for the parameter.", +"enum": [ +"IN_OUT_TYPE_UNSPECIFIED", +"IN", +"OUT", +"IN_OUT" +], +"enumDescriptions": [ +"", +"Input parameters for the workflow. EventBus validates that these parameters exist in the workflows before execution.", +"Output Parameters for the workflow. EventBus will only return the workflow parameters tagged with OUT in the response back.", +"Input or Output Parameters. These can be used as both input and output. EventBus will validate for the existence of these parameters before execution and will also return this parameter back in the response." +], +"type": "string" +}, +"isTransient": { +"description": "Whether this parameter is a transient parameter.", +"type": "boolean" +}, +"jsonSchema": { +"description": "This schema will be used to validate runtime JSON-typed values of this parameter.", +"type": "string" +}, +"key": { +"description": "Key is used to retrieve the corresponding parameter value. This should be unique for a given fired event. These parameters must be predefined in the workflow definition.", +"type": "string" +}, +"name": { +"description": "The name (without prefix) to be displayed in the UI for this parameter. E.g. if the key is \"foo.bar.myName\", then the name would be \"myName\".", +"type": "string" +}, +"producedBy": { +"$ref": "EnterpriseCrmEventbusProtoNodeIdentifier", +"description": "The identifier of the node (TaskConfig/TriggerConfig) this parameter was produced by, if it is a transient param or a copy of an input param." +}, +"producer": { +"type": "string" +}, +"protoDefName": { +"description": "The name of the protobuf type if the parameter has a protobuf data type.", +"type": "string" +}, +"protoDefPath": { +"description": "If the data type is of type proto or proto array, this field needs to be populated with the fully qualified proto name. This message, for example, would be \"enterprise.crm.frontends.eventbus.proto.WorkflowParameterEntry\".", +"type": "string" +}, +"required": { +"type": "boolean" +} +}, +"type": "object" +}, +"EnterpriseCrmFrontendsEventbusProtoWorkflowParameters": { +"description": "LINT.IfChange This is the frontend version of WorkflowParameters. It's exactly like the backend version except that instead of flattening protobuf parameters and treating every field and subfield of a protobuf parameter as a separate parameter, the fields/subfields of a protobuf parameter will be nested as \"children\" (see 'children' field below) parameters of the parent parameter. Please refer to enterprise/crm/eventbus/proto/workflow_parameters.proto for more information about WorkflowParameters.", +"id": "EnterpriseCrmFrontendsEventbusProtoWorkflowParameters", +"properties": { +"parameters": { +"description": "Parameters are a part of Event and can be used to communiticate between different tasks that are part of the same workflow execution.", +"items": { +"$ref": "EnterpriseCrmFrontendsEventbusProtoWorkflowParameterEntry" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudConnectorsV1AuthConfig": { +"description": "AuthConfig defines details of a authentication type.", +"id": "GoogleCloudConnectorsV1AuthConfig", +"properties": { +"additionalVariables": { +"description": "Optional. List containing additional auth configs.", +"items": { +"$ref": "GoogleCloudConnectorsV1ConfigVariable" +}, +"type": "array" +}, +"authKey": { +"description": "Optional. Identifier key for auth config", +"type": "string" +}, +"authType": { +"description": "Optional. The type of authentication configured.", +"enum": [ +"AUTH_TYPE_UNSPECIFIED", +"USER_PASSWORD", +"OAUTH2_JWT_BEARER", +"OAUTH2_CLIENT_CREDENTIALS", +"SSH_PUBLIC_KEY", +"OAUTH2_AUTH_CODE_FLOW", +"GOOGLE_AUTHENTICATION", +"OAUTH2_AUTH_CODE_FLOW_GOOGLE_MANAGED" +], +"enumDescriptions": [ +"Authentication type not specified.", +"Username and Password Authentication.", +"JSON Web Token (JWT) Profile for Oauth 2.0 Authorization Grant based authentication", +"Oauth 2.0 Client Credentials Grant Authentication", +"SSH Public Key Authentication", +"Oauth 2.0 Authorization Code Flow", +"Google authentication", +"Oauth 2.0 Authorization Code Flow with Google Provided OAuth Client" +], +"type": "string" +}, +"oauth2AuthCodeFlow": { +"$ref": "GoogleCloudConnectorsV1AuthConfigOauth2AuthCodeFlow", +"description": "Oauth2AuthCodeFlow." +}, +"oauth2AuthCodeFlowGoogleManaged": { +"$ref": "GoogleCloudConnectorsV1AuthConfigOauth2AuthCodeFlowGoogleManaged", +"description": "Oauth2AuthCodeFlowGoogleManaged." +}, +"oauth2ClientCredentials": { +"$ref": "GoogleCloudConnectorsV1AuthConfigOauth2ClientCredentials", +"description": "Oauth2ClientCredentials." +}, +"oauth2JwtBearer": { +"$ref": "GoogleCloudConnectorsV1AuthConfigOauth2JwtBearer", +"description": "Oauth2JwtBearer." +}, +"sshPublicKey": { +"$ref": "GoogleCloudConnectorsV1AuthConfigSshPublicKey", +"description": "SSH Public Key." +}, +"userPassword": { +"$ref": "GoogleCloudConnectorsV1AuthConfigUserPassword", +"description": "UserPassword." +} +}, +"type": "object" +}, +"GoogleCloudConnectorsV1AuthConfigOauth2AuthCodeFlow": { +"description": "Parameters to support Oauth 2.0 Auth Code Grant Authentication. See https://www.rfc-editor.org/rfc/rfc6749#section-1.3.1 for more details.", +"id": "GoogleCloudConnectorsV1AuthConfigOauth2AuthCodeFlow", +"properties": { +"authCode": { +"description": "Optional. Authorization code to be exchanged for access and refresh tokens.", +"type": "string" +}, +"authUri": { +"description": "Optional. Auth URL for Authorization Code Flow", +"type": "string" +}, +"clientId": { +"description": "Optional. Client ID for user-provided OAuth app.", +"type": "string" +}, +"clientSecret": { +"$ref": "GoogleCloudConnectorsV1Secret", +"description": "Optional. Client secret for user-provided OAuth app." +}, +"enablePkce": { +"description": "Optional. Whether to enable PKCE when the user performs the auth code flow.", +"type": "boolean" +}, +"pkceVerifier": { +"description": "Optional. PKCE verifier to be used during the auth code exchange.", +"type": "string" +}, +"redirectUri": { +"description": "Optional. Redirect URI to be provided during the auth code exchange.", +"type": "string" +}, +"scopes": { +"description": "Optional. Scopes the connection will request when the user performs the auth code flow.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudConnectorsV1AuthConfigOauth2AuthCodeFlowGoogleManaged": { +"description": "Parameters to support Oauth 2.0 Auth Code Grant Authentication using Google Provided OAuth Client. See https://tools.ietf.org/html/rfc6749#section-1.3.1 for more details.", +"id": "GoogleCloudConnectorsV1AuthConfigOauth2AuthCodeFlowGoogleManaged", +"properties": { +"authCode": { +"description": "Optional. Authorization code to be exchanged for access and refresh tokens.", +"type": "string" +}, +"redirectUri": { +"description": "Optional. Redirect URI to be provided during the auth code exchange.", +"type": "string" +}, +"scopes": { +"description": "Required. Scopes the connection will request when the user performs the auth code flow.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudConnectorsV1AuthConfigOauth2ClientCredentials": { +"description": "Parameters to support Oauth 2.0 Client Credentials Grant Authentication. See https://tools.ietf.org/html/rfc6749#section-1.3.4 for more details.", +"id": "GoogleCloudConnectorsV1AuthConfigOauth2ClientCredentials", +"properties": { +"clientId": { +"description": "Optional. The client identifier.", +"type": "string" +}, +"clientSecret": { +"$ref": "GoogleCloudConnectorsV1Secret", +"description": "Optional. Secret version reference containing the client secret." +} +}, +"type": "object" +}, +"GoogleCloudConnectorsV1AuthConfigOauth2JwtBearer": { +"description": "Parameters to support JSON Web Token (JWT) Profile for Oauth 2.0 Authorization Grant based authentication. See https://tools.ietf.org/html/rfc7523 for more details.", +"id": "GoogleCloudConnectorsV1AuthConfigOauth2JwtBearer", +"properties": { +"clientKey": { +"$ref": "GoogleCloudConnectorsV1Secret", +"description": "Optional. Secret version reference containing a PKCS#8 PEM-encoded private key associated with the Client Certificate. This private key will be used to sign JWTs used for the jwt-bearer authorization grant. Specified in the form as: `projects/*/secrets/*/versions/*`." +}, +"jwtClaims": { +"$ref": "GoogleCloudConnectorsV1AuthConfigOauth2JwtBearerJwtClaims", +"description": "Optional. JwtClaims providers fields to generate the token." +} +}, +"type": "object" +}, +"GoogleCloudConnectorsV1AuthConfigOauth2JwtBearerJwtClaims": { +"description": "JWT claims used for the jwt-bearer authorization grant.", +"id": "GoogleCloudConnectorsV1AuthConfigOauth2JwtBearerJwtClaims", +"properties": { +"audience": { +"description": "Optional. Value for the \"aud\" claim.", +"type": "string" +}, +"issuer": { +"description": "Optional. Value for the \"iss\" claim.", +"type": "string" +}, +"subject": { +"description": "Optional. Value for the \"sub\" claim.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudConnectorsV1AuthConfigSshPublicKey": { +"description": "Parameters to support Ssh public key Authentication.", +"id": "GoogleCloudConnectorsV1AuthConfigSshPublicKey", +"properties": { +"certType": { +"description": "Optional. Format of SSH Client cert.", +"type": "string" +}, +"sshClientCert": { +"$ref": "GoogleCloudConnectorsV1Secret", +"description": "Optional. SSH Client Cert. It should contain both public and private key." +}, +"sshClientCertPass": { +"$ref": "GoogleCloudConnectorsV1Secret", +"description": "Optional. Password (passphrase) for ssh client certificate if it has one." +}, +"username": { +"description": "Optional. The user account used to authenticate.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudConnectorsV1AuthConfigUserPassword": { +"description": "Parameters to support Username and Password Authentication.", +"id": "GoogleCloudConnectorsV1AuthConfigUserPassword", +"properties": { +"password": { +"$ref": "GoogleCloudConnectorsV1Secret", +"description": "Optional. Secret version reference containing the password." +}, +"username": { +"description": "Optional. Username.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudConnectorsV1BillingConfig": { +"description": "Billing config for the connection.", +"id": "GoogleCloudConnectorsV1BillingConfig", +"properties": { +"billingCategory": { +"description": "Output only. Billing category for the connector.", +"enum": [ +"BILLING_CATEGORY_UNSPECIFIED", +"GCP_AND_TECHNICAL_CONNECTOR", +"NON_GCP_CONNECTOR" +], +"enumDescriptions": [ +"Billing category is not specified.", +"GCP/Technical connector.", +"Non-GCP connector." +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudConnectorsV1ConfigVariable": { +"description": "ConfigVariable represents a configuration variable present in a Connection. or AuthConfig.", +"id": "GoogleCloudConnectorsV1ConfigVariable", +"properties": { +"boolValue": { +"description": "Optional. Value is a bool.", +"type": "boolean" +}, +"encryptionKeyValue": { +"$ref": "GoogleCloudConnectorsV1EncryptionKey", +"description": "Optional. Value is a Encryption Key." +}, +"intValue": { +"description": "Optional. Value is an integer", +"format": "int64", +"type": "string" +}, +"key": { +"description": "Optional. Key of the config variable.", +"type": "string" +}, +"secretValue": { +"$ref": "GoogleCloudConnectorsV1Secret", +"description": "Optional. Value is a secret." +}, +"stringValue": { +"description": "Optional. Value is a string.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudConnectorsV1Connection": { +"description": "Connection represents an instance of connector.", +"id": "GoogleCloudConnectorsV1Connection", +"properties": { +"asyncOperationsEnabled": { +"description": "Optional. Async operations enabled for the connection. If Async Operations is enabled, Connection allows the customers to initiate async long running operations using the actions API.", +"type": "boolean" +}, +"authConfig": { +"$ref": "GoogleCloudConnectorsV1AuthConfig", +"description": "Optional. Configuration for establishing the connection's authentication with an external system." +}, +"authOverrideEnabled": { +"description": "Optional. Auth override enabled for the connection. If Auth Override is enabled, Connection allows the backend service auth to be overridden in the entities/actions API.", +"type": "boolean" +}, +"billingConfig": { +"$ref": "GoogleCloudConnectorsV1BillingConfig", +"description": "Output only. Billing config for the connection.", +"readOnly": true +}, +"configVariables": { +"description": "Optional. Configuration for configuring the connection with an external system.", +"items": { +"$ref": "GoogleCloudConnectorsV1ConfigVariable" +}, +"type": "array" +}, +"connectionRevision": { +"description": "Output only. Connection revision. This field is only updated when the connection is created or updated by User.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"connectorVersion": { +"description": "Required. Connector version on which the connection is created. The format is: projects/*/locations/*/providers/*/connectors/*/versions/* Only global location is supported for ConnectorVersion resource.", +"type": "string" +}, +"connectorVersionInfraConfig": { +"$ref": "GoogleCloudConnectorsV1ConnectorVersionInfraConfig", +"description": "Output only. Infra configs supported by Connector Version.", +"readOnly": true +}, +"connectorVersionLaunchStage": { +"description": "Output only. Flag to mark the version indicating the launch stage.", +"enum": [ +"LAUNCH_STAGE_UNSPECIFIED", +"PREVIEW", +"GA", +"DEPRECATED", +"TEST", +"PRIVATE_PREVIEW" +], +"enumDescriptions": [ +"LAUNCH_STAGE_UNSPECIFIED.", +"PREVIEW.", +"GA.", +"DEPRECATED.", +"TEST.", +"PRIVATE_PREVIEW." +], +"readOnly": true, +"type": "string" +}, +"createTime": { +"description": "Output only. Created time.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"description": { +"description": "Optional. Description of the resource.", +"type": "string" +}, +"destinationConfigs": { +"description": "Optional. Configuration of the Connector's destination. Only accepted for Connectors that accepts user defined destination(s).", +"items": { +"$ref": "GoogleCloudConnectorsV1DestinationConfig" +}, +"type": "array" +}, +"envoyImageLocation": { +"description": "Output only. GCR location where the envoy image is stored. formatted like: gcr.io/{bucketName}/{imageName}", +"readOnly": true, +"type": "string" +}, +"euaOauthAuthConfig": { +"$ref": "GoogleCloudConnectorsV1AuthConfig", +"description": "Optional. Additional Oauth2.0 Auth config for EUA. If the connection is configured using non-OAuth authentication but OAuth needs to be used for EUA, this field can be populated with the OAuth config. This should be a OAuth2AuthCodeFlow Auth type only." +}, +"eventingConfig": { +"$ref": "GoogleCloudConnectorsV1EventingConfig", +"description": "Optional. Eventing config of a connection" +}, +"eventingEnablementType": { +"description": "Optional. Eventing enablement type. Will be nil if eventing is not enabled.", +"enum": [ +"EVENTING_ENABLEMENT_TYPE_UNSPECIFIED", +"EVENTING_AND_CONNECTION", +"ONLY_EVENTING" +], +"enumDescriptions": [ +"Eventing Enablement Type Unspecifeied.", +"Both connection and eventing.", +"Only Eventing." +], +"type": "string" +}, +"eventingRuntimeData": { +"$ref": "GoogleCloudConnectorsV1EventingRuntimeData", +"description": "Output only. Eventing Runtime Data.", +"readOnly": true +}, +"fallbackOnAdminCredentials": { +"description": "Optional. Fallback on admin credentials for the connection. If this both auth_override_enabled and fallback_on_admin_credentials are set to true, the connection will use the admin credentials if the dynamic auth header is not present during auth override.", +"type": "boolean" +}, +"host": { +"description": "Output only. The name of the Hostname of the Service Directory service with TLS.", +"readOnly": true, +"type": "string" +}, +"imageLocation": { +"description": "Output only. GCR location where the runtime image is stored. formatted like: gcr.io/{bucketName}/{imageName}", +"readOnly": true, +"type": "string" +}, +"isTrustedTester": { +"description": "Output only. Is trusted tester program enabled for the project.", +"readOnly": true, +"type": "boolean" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. Resource labels to represent user-provided metadata. Refer to cloud documentation on labels for more details. https://cloud.google.com/compute/docs/labeling-resources", +"type": "object" +}, +"lockConfig": { +"$ref": "GoogleCloudConnectorsV1LockConfig", +"description": "Optional. Configuration that indicates whether or not the Connection can be edited." +}, +"logConfig": { +"$ref": "GoogleCloudConnectorsV1LogConfig", +"description": "Optional. Log configuration for the connection." +}, +"name": { +"description": "Output only. Resource name of the Connection. Format: projects/{project}/locations/{location}/connections/{connection}", +"readOnly": true, +"type": "string" +}, +"nodeConfig": { +"$ref": "GoogleCloudConnectorsV1NodeConfig", +"description": "Optional. Node configuration for the connection." +}, +"serviceAccount": { +"description": "Optional. Service account needed for runtime plane to access Google Cloud resources.", +"type": "string" +}, +"serviceDirectory": { +"description": "Output only. The name of the Service Directory service name. Used for Private Harpoon to resolve the ILB address. e.g. \"projects/cloud-connectors-e2e-testing/locations/us-central1/namespaces/istio-system/services/istio-ingressgateway-connectors\"", +"readOnly": true, +"type": "string" +}, +"sslConfig": { +"$ref": "GoogleCloudConnectorsV1SslConfig", +"description": "Optional. Ssl config of a connection" +}, +"status": { +"$ref": "GoogleCloudConnectorsV1ConnectionStatus", +"description": "Output only. Current status of the connection.", +"readOnly": true +}, +"subscriptionType": { +"description": "Output only. This subscription type enum states the subscription type of the project.", +"enum": [ +"SUBSCRIPTION_TYPE_UNSPECIFIED", +"PAY_G", +"PAID" +], +"enumDescriptions": [ +"Unspecified subscription type.", +"PayG subscription.", +"Paid Subscription." +], +"readOnly": true, +"type": "string" +}, +"suspended": { +"description": "Optional. Suspended indicates if a user has suspended a connection or not.", +"type": "boolean" +}, +"tlsServiceDirectory": { +"description": "Output only. The name of the Service Directory service with TLS.", +"readOnly": true, +"type": "string" +}, +"trafficShapingConfigs": { +"description": "Optional. Traffic shaping configuration for the connection.", +"items": { +"$ref": "GoogleCloudConnectorsV1TrafficShapingConfig" +}, +"type": "array" +}, +"updateTime": { +"description": "Output only. Updated time.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudConnectorsV1ConnectionStatus": { +"description": "ConnectionStatus indicates the state of the connection.", +"id": "GoogleCloudConnectorsV1ConnectionStatus", +"properties": { +"description": { +"description": "Description.", +"type": "string" +}, +"state": { +"description": "State.", +"enum": [ +"STATE_UNSPECIFIED", +"CREATING", +"ACTIVE", +"INACTIVE", +"DELETING", +"UPDATING", +"ERROR", +"AUTHORIZATION_REQUIRED" +], +"enumDescriptions": [ +"Connection does not have a state yet.", +"Connection is being created.", +"Connection is running and ready for requests.", +"Connection is stopped.", +"Connection is being deleted.", +"Connection is being updated.", +"Connection is not running due to an error.", +"Connection is not running because the authorization configuration is not complete." +], +"type": "string" +}, +"status": { +"description": "Status provides detailed information for the state.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudConnectorsV1ConnectorVersionInfraConfig": { +"description": "This configuration provides infra configs like rate limit threshold which need to be configurable for every connector version", +"id": "GoogleCloudConnectorsV1ConnectorVersionInfraConfig", +"properties": { +"connectionRatelimitWindowSeconds": { +"description": "Output only. The window used for ratelimiting runtime requests to connections.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"deploymentModel": { +"description": "Output only. Indicates whether connector is deployed on GKE/CloudRun", +"enum": [ +"DEPLOYMENT_MODEL_UNSPECIFIED", +"GKE_MST", +"CLOUD_RUN_MST" +], +"enumDescriptions": [ +"Deployment model is not specified.", +"Default model gke mst.", +"Cloud run mst." +], +"readOnly": true, +"type": "string" +}, +"deploymentModelMigrationState": { +"description": "Output only. Status of the deployment model migration.", +"enum": [ +"DEPLOYMENT_MODEL_MIGRATION_STATE_UNSPECIFIED", +"IN_PROGRESS", +"COMPLETED", +"ROLLEDBACK", +"ROLLBACK_IN_PROGRESS" +], +"enumDescriptions": [ +"Deployment model migration state is not specified.", +"Deployment model migration is in progress.", +"Deployment model migration is completed.", +"Deployment model migration rolledback.", +"Deployment model migration rollback in progress." +], +"readOnly": true, +"type": "string" +}, +"hpaConfig": { +"$ref": "GoogleCloudConnectorsV1HPAConfig", +"description": "Output only. HPA autoscaling config.", +"readOnly": true +}, +"internalclientRatelimitThreshold": { +"description": "Output only. Max QPS supported for internal requests originating from Connd.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"maxInstanceRequestConcurrency": { +"description": "Output only. Max instance request concurrency.", +"format": "int32", +"readOnly": true, +"type": "integer" +}, +"ratelimitThreshold": { +"description": "Output only. Max QPS supported by the connector version before throttling of requests.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"resourceLimits": { +"$ref": "GoogleCloudConnectorsV1ResourceLimits", +"description": "Output only. System resource limits.", +"readOnly": true +}, +"resourceRequests": { +"$ref": "GoogleCloudConnectorsV1ResourceRequests", +"description": "Output only. System resource requests.", +"readOnly": true +}, +"sharedDeployment": { +"description": "Output only. The name of shared connector deployment.", +"readOnly": true, +"type": "string" +}, +"tlsMigrationState": { +"description": "Output only. Status of the TLS migration.", +"enum": [ +"TLS_MIGRATION_STATE_UNSPECIFIED", +"TLS_MIGRATION_NOT_STARTED", +"TLS_MIGRATION_COMPLETED" +], +"enumDescriptions": [ +"TLS migration state is not specified.", +"TLS migration is in progress.", +"TLS migration is completed." +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudConnectorsV1Destination": { +"id": "GoogleCloudConnectorsV1Destination", +"properties": { +"host": { +"description": "For publicly routable host.", +"type": "string" +}, +"port": { +"description": "Optional. The port is the target port number that is accepted by the destination.", +"format": "int32", +"type": "integer" +}, +"serviceAttachment": { +"deprecated": true, +"description": "PSC service attachments. Format: projects/*/regions/*/serviceAttachments/*", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudConnectorsV1DestinationConfig": { +"description": "Define the Connectors target endpoint.", +"id": "GoogleCloudConnectorsV1DestinationConfig", +"properties": { +"destinations": { +"description": "Optional. The destinations for the key.", +"items": { +"$ref": "GoogleCloudConnectorsV1Destination" +}, +"type": "array" +}, +"key": { +"description": "Optional. The key is the destination identifier that is supported by the Connector.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudConnectorsV1EncryptionKey": { +"description": "Encryption Key value.", +"id": "GoogleCloudConnectorsV1EncryptionKey", +"properties": { +"kmsKeyName": { +"description": "Optional. The [KMS key name] with which the content of the Operation is encrypted. The expected format: `projects/*/locations/*/keyRings/*/cryptoKeys/*`. Will be empty string if google managed.", +"type": "string" +}, +"type": { +"description": "Optional. Specifies the type of the encryption key.", +"enum": [ +"TYPE_UNSPECIFIED", +"GOOGLE_MANAGED", +"CUSTOMER_MANAGED" +], +"enumDescriptions": [ +"Value type is not specified.", +"Google Managed.", +"Customer Managed." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudConnectorsV1EnrichmentConfig": { +"description": "Data enrichment configuration.", +"id": "GoogleCloudConnectorsV1EnrichmentConfig", +"properties": { +"appendAcl": { +"description": "Optional. Append ACL to the event.", +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleCloudConnectorsV1EventingConfig": { +"description": "Eventing Configuration of a connection next: 20", +"id": "GoogleCloudConnectorsV1EventingConfig", +"properties": { +"additionalVariables": { +"description": "Optional. Additional eventing related field values", +"items": { +"$ref": "GoogleCloudConnectorsV1ConfigVariable" +}, +"type": "array" +}, +"allowedEventTypes": { +"description": "Optional. List of allowed event types for the connection.", +"items": { +"type": "string" +}, +"type": "array" +}, +"authConfig": { +"$ref": "GoogleCloudConnectorsV1AuthConfig", +"description": "Optional. Auth details for the webhook adapter." +}, +"deadLetterConfig": { +"$ref": "GoogleCloudConnectorsV1EventingConfigDeadLetterConfig", +"description": "Optional. Dead letter configuration for eventing of a connection." +}, +"enrichmentConfig": { +"$ref": "GoogleCloudConnectorsV1EnrichmentConfig", +"description": "Optional. Data enrichment configuration." +}, +"enrichmentEnabled": { +"description": "Optional. Enrichment Enabled.", +"type": "boolean" +}, +"eventsListenerIngressEndpoint": { +"description": "Output only. Ingress endpoint of the event listener. This is used only when private connectivity is enabled.", +"readOnly": true, +"type": "string" +}, +"listenerAuthConfig": { +"$ref": "GoogleCloudConnectorsV1AuthConfig", +"description": "Optional. Auth details for the event listener." +}, +"privateConnectivityAllowlistedProjects": { +"description": "Optional. List of projects to be allowlisted for the service attachment created in the tenant project for eventing ingress.", +"items": { +"type": "string" +}, +"type": "array" +}, +"privateConnectivityEnabled": { +"description": "Optional. Private Connectivity Enabled.", +"type": "boolean" +}, +"proxyDestinationConfig": { +"$ref": "GoogleCloudConnectorsV1DestinationConfig", +"description": "Optional. Proxy for Eventing auto-registration." +}, +"registrationDestinationConfig": { +"$ref": "GoogleCloudConnectorsV1DestinationConfig", +"description": "Optional. Registration endpoint for auto registration." +}, +"sslConfig": { +"$ref": "GoogleCloudConnectorsV1SslConfig", +"description": "Optional. Ssl config of a connection" +} +}, +"type": "object" +}, +"GoogleCloudConnectorsV1EventingConfigDeadLetterConfig": { +"description": "Dead Letter configuration details provided by the user.", +"id": "GoogleCloudConnectorsV1EventingConfigDeadLetterConfig", +"properties": { +"projectId": { +"description": "Optional. Project which has the topic given.", +"type": "string" +}, +"topic": { +"description": "Optional. Topic to push events which couldn't be processed.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudConnectorsV1EventingRuntimeData": { +"description": "Eventing runtime data has the details related to eventing managed by the system.", +"id": "GoogleCloudConnectorsV1EventingRuntimeData", +"properties": { +"eventsListenerEndpoint": { +"description": "Output only. Events listener endpoint. The value will populated after provisioning the events listener.", +"readOnly": true, +"type": "string" +}, +"eventsListenerPscSa": { +"description": "Output only. Events listener PSC Service attachment. The value will be populated after provisioning the events listener with private connectivity enabled.", +"readOnly": true, +"type": "string" +}, +"status": { +"$ref": "GoogleCloudConnectorsV1EventingStatus", +"description": "Output only. Current status of eventing.", +"readOnly": true +}, +"webhookData": { +"$ref": "GoogleCloudConnectorsV1EventingRuntimeDataWebhookData", +"description": "Output only. Webhook data.", +"readOnly": true +}, +"webhookSubscriptions": { +"$ref": "GoogleCloudConnectorsV1EventingRuntimeDataWebhookSubscriptions", +"description": "Output only. Webhook subscriptions.", +"readOnly": true +} +}, +"type": "object" +}, +"GoogleCloudConnectorsV1EventingRuntimeDataWebhookData": { +"description": "WebhookData has details of webhook configuration.", +"id": "GoogleCloudConnectorsV1EventingRuntimeDataWebhookData", +"properties": { +"additionalVariables": { +"description": "Output only. Additional webhook related field values.", +"items": { +"$ref": "GoogleCloudConnectorsV1ConfigVariable" +}, +"readOnly": true, +"type": "array" +}, +"createTime": { +"description": "Output only. Timestamp when the webhook was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"id": { +"description": "Output only. ID to uniquely identify webhook.", +"readOnly": true, +"type": "string" +}, +"name": { +"description": "Output only. Name of the Webhook", +"readOnly": true, +"type": "string" +}, +"nextRefreshTime": { +"description": "Output only. Next webhook refresh time. Will be null if refresh is not supported.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"updateTime": { +"description": "Output only. Timestamp when the webhook was last updated.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudConnectorsV1EventingRuntimeDataWebhookSubscriptions": { +"description": "WebhookSubscriptions has details of webhook subscriptions.", +"id": "GoogleCloudConnectorsV1EventingRuntimeDataWebhookSubscriptions", +"properties": { +"webhookData": { +"description": "Output only. Webhook data.", +"items": { +"$ref": "GoogleCloudConnectorsV1EventingRuntimeDataWebhookData" +}, +"readOnly": true, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudConnectorsV1EventingStatus": { +"description": "EventingStatus indicates the state of eventing.", +"id": "GoogleCloudConnectorsV1EventingStatus", +"properties": { +"description": { +"description": "Output only. Description of error if State is set to \"ERROR\".", +"readOnly": true, +"type": "string" +}, +"state": { +"description": "Output only. State.", +"enum": [ +"STATE_UNSPECIFIED", +"ACTIVE", +"ERROR", +"INGRESS_ENDPOINT_REQUIRED" +], +"enumDescriptions": [ +"Default state.", +"Eventing is enabled and ready to receive events.", +"Eventing is not active due to an error.", +"Ingress endpoint required." +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudConnectorsV1HPAConfig": { +"description": "Autoscaling config for connector deployment system metrics.", +"id": "GoogleCloudConnectorsV1HPAConfig", +"properties": { +"cpuUtilizationThreshold": { +"description": "Output only. Percent CPU utilization where HPA triggers autoscaling.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"memoryUtilizationThreshold": { +"description": "Output only. Percent Memory utilization where HPA triggers autoscaling.", +"format": "int64", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudConnectorsV1LockConfig": { +"description": "Determines whether or no a connection is locked. If locked, a reason must be specified.", +"id": "GoogleCloudConnectorsV1LockConfig", +"properties": { +"locked": { +"description": "Optional. Indicates whether or not the connection is locked.", +"type": "boolean" +}, +"reason": { +"description": "Optional. Describes why a connection is locked.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudConnectorsV1LogConfig": { +"description": "Log configuration for the connection.", +"id": "GoogleCloudConnectorsV1LogConfig", +"properties": { +"enabled": { +"description": "Optional. Enabled represents whether logging is enabled or not for a connection.", +"type": "boolean" +}, +"level": { +"description": "Optional. Log configuration level.", +"enum": [ +"LOG_LEVEL_UNSPECIFIED", +"ERROR", +"INFO", +"DEBUG" +], +"enumDescriptions": [ +"Log level unspecified.", +"Only error logs are enabled.", +"Info and error logs are enabled.", +"Debug and high verbosity logs are enabled." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudConnectorsV1NodeConfig": { +"description": "Node configuration for the connection.", +"id": "GoogleCloudConnectorsV1NodeConfig", +"properties": { +"maxNodeCount": { +"description": "Optional. Maximum number of nodes in the runtime nodes.", +"format": "int32", +"type": "integer" +}, +"minNodeCount": { +"description": "Optional. Minimum number of nodes in the runtime nodes.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"GoogleCloudConnectorsV1ResourceLimits": { +"description": "Resource limits defined for connection pods of a given connector type.", +"id": "GoogleCloudConnectorsV1ResourceLimits", +"properties": { +"cpu": { +"description": "Output only. CPU limit.", +"readOnly": true, +"type": "string" +}, +"memory": { +"description": "Output only. Memory limit.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudConnectorsV1ResourceRequests": { +"description": "Resource requests defined for connection pods of a given connector type.", +"id": "GoogleCloudConnectorsV1ResourceRequests", +"properties": { +"cpu": { +"description": "Output only. CPU request.", +"readOnly": true, +"type": "string" +}, +"memory": { +"description": "Output only. Memory request.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudConnectorsV1Secret": { +"description": "Secret provides a reference to entries in Secret Manager.", +"id": "GoogleCloudConnectorsV1Secret", +"properties": { +"secretVersion": { +"description": "Optional. The resource name of the secret version in the format, format as: `projects/*/secrets/*/versions/*`.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudConnectorsV1SslConfig": { +"description": "SSL Configuration of a connection", +"id": "GoogleCloudConnectorsV1SslConfig", +"properties": { +"additionalVariables": { +"description": "Optional. Additional SSL related field values", +"items": { +"$ref": "GoogleCloudConnectorsV1ConfigVariable" +}, +"type": "array" +}, +"clientCertType": { +"description": "Optional. Type of Client Cert (PEM/JKS/.. etc.)", +"enum": [ +"CERT_TYPE_UNSPECIFIED", +"PEM" +], +"enumDescriptions": [ +"Cert type unspecified.", +"Privacy Enhanced Mail (PEM) Type" +], +"type": "string" +}, +"clientCertificate": { +"$ref": "GoogleCloudConnectorsV1Secret", +"description": "Optional. Client Certificate" +}, +"clientPrivateKey": { +"$ref": "GoogleCloudConnectorsV1Secret", +"description": "Optional. Client Private Key" +}, +"clientPrivateKeyPass": { +"$ref": "GoogleCloudConnectorsV1Secret", +"description": "Optional. Secret containing the passphrase protecting the Client Private Key" +}, +"privateServerCertificate": { +"$ref": "GoogleCloudConnectorsV1Secret", +"description": "Optional. Private Server Certificate. Needs to be specified if trust model is `PRIVATE`." +}, +"serverCertType": { +"description": "Optional. Type of Server Cert (PEM/JKS/.. etc.)", +"enum": [ +"CERT_TYPE_UNSPECIFIED", +"PEM" +], +"enumDescriptions": [ +"Cert type unspecified.", +"Privacy Enhanced Mail (PEM) Type" +], +"type": "string" +}, +"trustModel": { +"description": "Optional. Trust Model of the SSL connection", +"enum": [ +"PUBLIC", +"PRIVATE", +"INSECURE" +], +"enumDescriptions": [ +"Public Trust Model. Takes the Default Java trust store.", +"Private Trust Model. Takes custom/private trust store.", +"Insecure Trust Model. Accept all certificates." +], +"type": "string" +}, +"type": { +"description": "Optional. Controls the ssl type for the given connector version.", +"enum": [ +"SSL_TYPE_UNSPECIFIED", +"TLS", +"MTLS" +], +"enumDescriptions": [ +"No SSL configuration required.", +"TLS Handshake", +"mutual TLS (MTLS) Handshake" +], +"type": "string" +}, +"useSsl": { +"description": "Optional. Bool for enabling SSL", +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleCloudConnectorsV1TrafficShapingConfig": { +"description": "* TrafficShapingConfig defines the configuration for shaping API traffic by specifying a quota limit and the duration over which this limit is enforced. This configuration helps to control and manage the rate at which API calls are made on the client side, preventing service overload on the backend. For example: - if the quota limit is 100 calls per 10 seconds, then the message would be: { quota_limit: 100 duration: { seconds: 10 } } - if the quota limit is 100 calls per 5 minutes, then the message would be: { quota_limit: 100 duration: { seconds: 300 } } - if the quota limit is 10000 calls per day, then the message would be: { quota_limit: 10000 duration: { seconds: 86400 } and so on.", +"id": "GoogleCloudConnectorsV1TrafficShapingConfig", +"properties": { +"duration": { +"description": "Required. Specifies the duration over which the API call quota limits are calculated. This duration is used to define the time window for evaluating if the number of API calls made by a user is within the allowed quota limits. For example: - To define a quota sampled over 16 seconds, set `seconds` to 16 - To define a quota sampled over 5 minutes, set `seconds` to 300 (5 * 60) - To define a quota sampled over 1 day, set `seconds` to 86400 (24 * 60 * 60) and so on. It is important to note that this duration is not the time the quota is valid for, but rather the time window over which the quota is evaluated. For example, if the quota is 100 calls per 10 seconds, then this duration field would be set to 10 seconds.", +"format": "google-duration", +"type": "string" +}, +"quotaLimit": { +"description": "Required. Maximum number of api calls allowed.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudIntegrationsV1alphaAccessToken": { +"description": "The access token represents the authorization of a specific application to access specific parts of a user\u2019s data.", +"id": "GoogleCloudIntegrationsV1alphaAccessToken", +"properties": { +"accessToken": { +"description": "The access token encapsulating the security identity of a process or thread.", +"type": "string" +}, +"accessTokenExpireTime": { +"description": "Required. The approximate time until the access token retrieved is valid.", +"format": "google-datetime", +"type": "string" +}, +"refreshToken": { +"description": "If the access token will expire, use the refresh token to obtain another access token.", +"type": "string" +}, +"refreshTokenExpireTime": { +"description": "The approximate time until the refresh token retrieved is valid.", +"format": "google-datetime", +"type": "string" +}, +"tokenType": { +"description": "Only support \"bearer\" token in v1 as bearer token is the predominant type used with OAuth 2.0.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudIntegrationsV1alphaApiTriggerResource": { +"description": "List of API triggerID and their workflow resource name.", +"id": "GoogleCloudIntegrationsV1alphaApiTriggerResource", +"properties": { +"integrationResource": { +"description": "Required. Integration where the API is published", +"type": "string" +}, +"triggerId": { +"description": "Required. Trigger Id of the API trigger(s) in the integration", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudIntegrationsV1alphaAssertion": { +"description": "An assertion which will check for a condition over task execution status or an expression for task output variables", +"id": "GoogleCloudIntegrationsV1alphaAssertion", +"properties": { +"assertionStrategy": { +"description": "Optional. The type of assertion to perform.", +"enum": [ +"ASSERTION_STRATEGY_UNSPECIFIED", +"ASSERT_SUCCESSFUL_EXECUTION", +"ASSERT_FAILED_EXECUTION", +"ASSERT_NO_EXECUTION", +"ASSERT_EQUALS", +"ASSERT_NOT_EQUALS", +"ASSERT_CONTAINS", +"ASSERT_CONDITION" +], +"enumDescriptions": [ +"Unspecified Assertion strategy", +"Test a successful execution", +"Test a failed execution", +"Test that the task was never executed", +"Test the parameter selected is equal to the expected value", +"Test the parameter selected is not equal to the expected value", +"Test the parameter selected contains the configured value", +"Test a specific condition" +], +"type": "string" +}, +"condition": { +"description": "Optional. Standard filter expression for ASSERT_CONDITION to succeed", +"type": "string" +}, +"parameter": { +"$ref": "GoogleCloudIntegrationsV1alphaEventParameter", +"description": "Optional. Key-value pair for ASSERT_EQUALS, ASSERT_NOT_EQUALS, ASSERT_CONTAINS to succeed" +}, +"retryCount": { +"description": "Number of times given task should be retried in case of ASSERT_FAILED_EXECUTION", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"GoogleCloudIntegrationsV1alphaAssertionResult": { +"description": "The result of an assertion.", +"id": "GoogleCloudIntegrationsV1alphaAssertionResult", +"properties": { +"assertion": { +"$ref": "GoogleCloudIntegrationsV1alphaAssertion", +"description": "Assertion that was run." +}, +"failureMessage": { +"description": "Details of the assertion failure", +"type": "string" +}, +"status": { +"description": "Status of assertion to signify if the assertion succeeded or failed", +"enum": [ +"ASSERTION_STATUS_UNSPECIFIED", +"SUCCEEDED", +"FAILED" +], +"enumDescriptions": [ +"Unspecified assertion status", +"Assertion succeeded", +"Assertion failed" +], +"type": "string" +}, +"taskName": { +"description": "Task name of task where the assertion was run.", +"type": "string" +}, +"taskNumber": { +"description": "Task number of task where the assertion was run.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudIntegrationsV1alphaAttemptStats": { +"description": "Status for the execution attempt.", +"id": "GoogleCloudIntegrationsV1alphaAttemptStats", +"properties": { +"endTime": { +"description": "The end time of the integration execution for current attempt.", +"format": "google-datetime", +"type": "string" +}, +"startTime": { +"description": "The start time of the integration execution for current attempt. This could be in the future if it's been scheduled.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudIntegrationsV1alphaAuthConfig": { +"description": "The AuthConfig resource use to hold channels and connection config data.", +"id": "GoogleCloudIntegrationsV1alphaAuthConfig", +"properties": { +"certificateId": { +"description": "Certificate id for client certificate", +"type": "string" +}, +"createTime": { +"description": "Output only. The timestamp when the auth config is created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"creatorEmail": { +"description": "The creator's email address. Generated based on the End User Credentials/LOAS role of the user making the call.", +"type": "string" +}, +"credentialType": { +"description": "Required. Credential type of the encrypted credential.", +"enum": [ +"CREDENTIAL_TYPE_UNSPECIFIED", +"USERNAME_AND_PASSWORD", +"API_KEY", +"OAUTH2_AUTHORIZATION_CODE", +"OAUTH2_IMPLICIT", +"OAUTH2_CLIENT_CREDENTIALS", +"OAUTH2_RESOURCE_OWNER_CREDENTIALS", +"JWT", +"AUTH_TOKEN", +"SERVICE_ACCOUNT", +"CLIENT_CERTIFICATE_ONLY", +"OIDC_TOKEN" +], +"enumDescriptions": [ +"Unspecified credential type", +"Regular username/password pair.", +"API key.", +"OAuth 2.0 Authorization Code Grant Type.", +"OAuth 2.0 Implicit Grant Type.", +"OAuth 2.0 Client Credentials Grant Type.", +"OAuth 2.0 Resource Owner Credentials Grant Type.", +"JWT Token.", +"Auth Token, e.g. bearer token.", +"Service Account which can be used to generate token for authentication.", +"Client Certificate only.", +"Google OIDC ID Token" +], +"type": "string" +}, +"decryptedCredential": { +"$ref": "GoogleCloudIntegrationsV1alphaCredential", +"description": "Raw auth credentials." +}, +"description": { +"description": "Optional. A description of the auth config.", +"type": "string" +}, +"displayName": { +"description": "Required. The name of the auth config.", +"type": "string" +}, +"encryptedCredential": { +"description": "Auth credential encrypted by Cloud KMS. Can be decrypted as Credential with proper KMS key.", +"format": "byte", +"type": "string" +}, +"expiryNotificationDuration": { +"description": "Optional. User can define the time to receive notification after which the auth config becomes invalid. Support up to 30 days. Support granularity in hours.", +"items": { +"format": "google-duration", +"type": "string" +}, +"type": "array" +}, +"lastModifierEmail": { +"description": "The last modifier's email address. Generated based on the End User Credentials/LOAS role of the user making the call.", +"type": "string" +}, +"name": { +"description": "Resource name of the auth config. For more information, see Manage authentication profiles. projects/{project}/locations/{location}/authConfigs/{authConfig}.", +"type": "string" +}, +"overrideValidTime": { +"description": "Optional. User provided expiry time to override. For the example of Salesforce, username/password credentials can be valid for 6 months depending on the instance settings.", +"format": "google-datetime", +"type": "string" +}, +"reason": { +"description": "Output only. The reason / details of the current status.", +"readOnly": true, +"type": "string" +}, +"state": { +"description": "Output only. The status of the auth config.", +"enum": [ +"STATE_UNSPECIFIED", +"VALID", +"INVALID", +"SOFT_DELETED", +"EXPIRED", +"UNAUTHORIZED", +"UNSUPPORTED" +], +"enumDescriptions": [ +"Status not specified.", +"Valid Auth config.", +"General invalidity, if it doesn't fits in the detailed issue below.", +"Auth config soft deleted.", +"Auth config expired.", +"Auth config unauthorized.", +"Auth config not supported." +], +"readOnly": true, +"type": "string" +}, +"updateTime": { +"description": "Output only. The timestamp when the auth config is modified.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"validTime": { +"description": "Optional. The time until the auth config is valid. Empty or max value is considered the auth config won't expire.", +"format": "google-datetime", +"type": "string" +}, +"visibility": { +"description": "Optional. The visibility of the auth config.", +"enum": [ +"AUTH_CONFIG_VISIBILITY_UNSPECIFIED", +"PRIVATE", +"CLIENT_VISIBLE" +], +"enumDescriptions": [ +"Visibility not specified.", +"Profile visible to the creator only.", +"Profile visible within the client." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudIntegrationsV1alphaAuthToken": { +"description": "The credentials to authenticate a user agent with a server that is put in HTTP Authorization request header.", +"id": "GoogleCloudIntegrationsV1alphaAuthToken", +"properties": { +"token": { +"description": "The token for the auth type.", +"type": "string" +}, +"type": { +"description": "Authentication type, e.g. \"Basic\", \"Bearer\", etc.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudIntegrationsV1alphaBooleanParameterArray": { +"description": "This message only contains a field of boolean array.", +"id": "GoogleCloudIntegrationsV1alphaBooleanParameterArray", +"properties": { +"booleanValues": { +"description": "Boolean array.", +"items": { +"type": "boolean" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudIntegrationsV1alphaCancelExecutionRequest": { +"description": "Request for cancelling an execution.", +"id": "GoogleCloudIntegrationsV1alphaCancelExecutionRequest", +"properties": { +"cancelReason": { +"description": "Required. Reason for cancelling the execution. This is provided by the client requesting the cancellation, and is not used by the Platform.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudIntegrationsV1alphaCancelExecutionResponse": { +"description": "Response for cancelling an execution.", +"id": "GoogleCloudIntegrationsV1alphaCancelExecutionResponse", +"properties": { +"isCanceled": { +"description": "True if cancellation performed successfully.", +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleCloudIntegrationsV1alphaCertificate": { +"description": "The certificate definition", +"id": "GoogleCloudIntegrationsV1alphaCertificate", +"properties": { +"certificateStatus": { +"description": "Status of the certificate", +"enum": [ +"STATE_UNSPECIFIED", +"ACTIVE", +"EXPIRED" +], +"enumDescriptions": [ +"Unspecified certificate status", +"Certificate in active state will be able to use", +"Certificate in expired state needs to be updated" +], +"type": "string" +}, +"credentialId": { +"description": "Immutable. Credential id that will be used to register with trawler", +"type": "string" +}, +"description": { +"description": "Description of the certificate", +"type": "string" +}, +"displayName": { +"description": "Required. Name of the certificate", +"type": "string" +}, +"name": { +"description": "Output only. Auto generated primary key", +"readOnly": true, +"type": "string" +}, +"rawCertificate": { +"$ref": "GoogleCloudIntegrationsV1alphaClientCertificate", +"description": "Input only. Raw client certificate which would be registered with trawler" +}, +"requestorId": { +"description": "Immutable. Requestor ID to be used to register certificate with trawler", +"type": "string" +}, +"validEndTime": { +"description": "Output only. The timestamp after which certificate will expire", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"validStartTime": { +"description": "Output only. The timestamp after which certificate will be valid", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudIntegrationsV1alphaChangeCustomerConfigRequest": { +"description": "Request for the ChangeCustomerConfig rpc", +"id": "GoogleCloudIntegrationsV1alphaChangeCustomerConfigRequest", +"properties": { +"customerConfig": { +"$ref": "GoogleCloudIntegrationsV1alphaCustomerConfig", +"description": "Optional. The customer configuration to be updated." +}, +"updateMask": { +"description": "Required. Field mask specifying the fields in the customer config that have been modified and must be updated. If absent or empty, no fields are updated.", +"format": "google-fieldmask", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudIntegrationsV1alphaChangeCustomerConfigResponse": { +"description": "Response for the ChangeCustomerConfig rpc", +"id": "GoogleCloudIntegrationsV1alphaChangeCustomerConfigResponse", +"properties": { +"customerConfig": { +"$ref": "GoogleCloudIntegrationsV1alphaCustomerConfig", +"description": "Required. The updated customer configuration." +} +}, +"type": "object" +}, +"GoogleCloudIntegrationsV1alphaClientCertificate": { +"description": "Contains client certificate information", +"id": "GoogleCloudIntegrationsV1alphaClientCertificate", +"properties": { +"encryptedPrivateKey": { +"description": "The ssl certificate encoded in PEM format. This string must include the begin header and end footer lines. For example, -----BEGIN CERTIFICATE----- MIICTTCCAbagAwIBAgIJAPT0tSKNxan/MA0GCSqGSIb3DQEBCwUAMCoxFzAVBgNV BAoTDkdvb2dsZSBURVNUSU5HMQ8wDQYDVQQDEwZ0ZXN0Q0EwHhcNMTUwMTAxMDAw MDAwWhcNMjUwMTAxMDAwMDAwWjAuMRcwFQYDVQQKEw5Hb29nbGUgVEVTVElORzET MBEGA1UEAwwKam9lQGJhbmFuYTCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEA vDYFgMgxi5W488d9J7UpCInl0NXmZQpJDEHE4hvkaRlH7pnC71H0DLt0/3zATRP1 JzY2+eqBmbGl4/sgZKYv8UrLnNyQNUTsNx1iZAfPUflf5FwgVsai8BM0pUciq1NB xD429VFcrGZNucvFLh72RuRFIKH8WUpiK/iZNFkWhZ0CAwEAAaN3MHUwDgYDVR0P AQH/BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAMBgNVHRMB Af8EAjAAMBkGA1UdDgQSBBCVgnFBCWgL/iwCqnGrhTPQMBsGA1UdIwQUMBKAEKey Um2o4k2WiEVA0ldQvNYwDQYJKoZIhvcNAQELBQADgYEAYK986R4E3L1v+Q6esBtW JrUwA9UmJRSQr0N5w3o9XzarU37/bkjOP0Fw0k/A6Vv1n3vlciYfBFaBIam1qRHr 5dMsYf4CZS6w50r7hyzqyrwDoyNxkLnd2PdcHT/sym1QmflsjEs7pejtnohO6N2H wQW6M0H7Zt8claGRla4fKkg= -----END CERTIFICATE-----", +"type": "string" +}, +"passphrase": { +"description": "'passphrase' should be left unset if private key is not encrypted. Note that 'passphrase' is not the password for web server, but an extra layer of security to protected private key.", +"type": "string" +}, +"sslCertificate": { +"description": "The ssl certificate encoded in PEM format. This string must include the begin header and end footer lines. For example, -----BEGIN CERTIFICATE----- MIICTTCCAbagAwIBAgIJAPT0tSKNxan/MA0GCSqGSIb3DQEBCwUAMCoxFzAVBgNV BAoTDkdvb2dsZSBURVNUSU5HMQ8wDQYDVQQDEwZ0ZXN0Q0EwHhcNMTUwMTAxMDAw MDAwWhcNMjUwMTAxMDAwMDAwWjAuMRcwFQYDVQQKEw5Hb29nbGUgVEVTVElORzET MBEGA1UEAwwKam9lQGJhbmFuYTCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEA vDYFgMgxi5W488d9J7UpCInl0NXmZQpJDEHE4hvkaRlH7pnC71H0DLt0/3zATRP1 JzY2+eqBmbGl4/sgZKYv8UrLnNyQNUTsNx1iZAfPUflf5FwgVsai8BM0pUciq1NB xD429VFcrGZNucvFLh72RuRFIKH8WUpiK/iZNFkWhZ0CAwEAAaN3MHUwDgYDVR0P AQH/BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAMBgNVHRMB Af8EAjAAMBkGA1UdDgQSBBCVgnFBCWgL/iwCqnGrhTPQMBsGA1UdIwQUMBKAEKey Um2o4k2WiEVA0ldQvNYwDQYJKoZIhvcNAQELBQADgYEAYK986R4E3L1v+Q6esBtW JrUwA9UmJRSQr0N5w3o9XzarU37/bkjOP0Fw0k/A6Vv1n3vlciYfBFaBIam1qRHr 5dMsYf4CZS6w50r7hyzqyrwDoyNxkLnd2PdcHT/sym1QmflsjEs7pejtnohO6N2H wQW6M0H7Zt8claGRla4fKkg= -----END CERTIFICATE-----", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudIntegrationsV1alphaClientConfig": { +"description": "The configuration information for the Client", +"id": "GoogleCloudIntegrationsV1alphaClientConfig", +"properties": { +"billingType": { +"description": "Indicates the billing type of the client", +"enum": [ +"BILLING_TYPE_UNSPECIFIED", +"BILLING_TYPE_APIGEE_TRIALS", +"BILLING_TYPE_APIGEE_SUBSCRIPTION", +"BILLING_TYPE_PAYG" +], +"enumDescriptions": [ +"Unspecified billing type", +"A trial org provisioned through Apigee Provisioning Wizard", +"Subscription based users of Apigee", +"Consumption based users of IP" +], +"type": "string" +}, +"clientState": { +"description": "Indicates the activity state the client", +"enum": [ +"CLIENT_STATE_UNSPECIFIED", +"CLIENT_STATE_ACTIVE", +"CLIENT_STATE_DISABLED" +], +"enumDescriptions": [ +"The client state is unspecified", +"The client is active and able to make calls to the IP APIs", +"The client is disabled and will soon be deleted" +], +"type": "string" +}, +"cloudKmsConfig": { +"$ref": "GoogleCloudIntegrationsV1alphaCloudKmsConfig" +}, +"createTime": { +"description": "The timestamp when the client was first created.", +"format": "google-datetime", +"type": "string" +}, +"customerConfig": { +"$ref": "GoogleCloudIntegrationsV1alphaCustomerConfig", +"description": "Optional. Customer configuration information for the given client." +}, +"description": { +"description": "Description of what the client is used for", +"type": "string" +}, +"enableHttpCall": { +"description": "Optional. ", +"type": "boolean" +}, +"enableInternalIp": { +"description": "Optional. Indicates the client enables internal IP feature, this is applicable for internal clients only.", +"type": "boolean" +}, +"enableManagedAiFeatures": { +"description": "Optional. ", +"type": "boolean" +}, +"enableVariableMasking": { +"description": "Optional. ", +"type": "boolean" +}, +"id": { +"description": "Globally unique ID (project_id + region)", +"type": "string" +}, +"isGmek": { +"description": "Optional. Indicates the client is provisioned with CMEK or GMEK.", +"type": "boolean" +}, +"p4ServiceAccount": { +"description": "The service agent associated with this client", +"type": "string" +}, +"projectId": { +"description": "The GCP project id of the client associated with", +"type": "string" +}, +"region": { +"description": "The region the client is linked to.", +"type": "string" +}, +"runAsServiceAccount": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudIntegrationsV1alphaCloudKmsConfig": { +"description": "Configuration information for Client's Cloud KMS information", +"id": "GoogleCloudIntegrationsV1alphaCloudKmsConfig", +"properties": { +"key": { +"description": "Required. A Cloud KMS key is a named object containing one or more key versions, along with metadata for the key. A key exists on exactly one key ring tied to a specific location.", +"type": "string" +}, +"keyVersion": { +"description": "Optional. Each version of a key contains key material used for encryption or signing. A key's version is represented by an integer, starting at 1. To decrypt data or verify a signature, you must use the same key version that was used to encrypt or sign the data.", +"type": "string" +}, +"kmsLocation": { +"description": "Required. Location name of the key ring, e.g. \"us-west1\".", +"type": "string" +}, +"kmsProjectId": { +"description": "Optional. The gcp project id of the project where the kms key stored. If empty, the kms key is stored at the same project as customer's project and ecrypted with CMEK, otherwise, the kms key is stored in the tenant project and encrypted with GMEK", +"type": "string" +}, +"kmsRing": { +"description": "Required. A key ring organizes keys in a specific Google Cloud location and allows you to manage access control on groups of keys. A key ring's name does not need to be unique across a Google Cloud project, but must be unique within a given location.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudIntegrationsV1alphaCloudLoggingDetails": { +"description": "Cloud Logging details for execution info", +"id": "GoogleCloudIntegrationsV1alphaCloudLoggingDetails", +"properties": { +"cloudLoggingSeverity": { +"description": "Optional. Severity selected by the customer for the logs to be sent to Cloud Logging, for the integration version getting executed.", +"enum": [ +"CLOUD_LOGGING_SEVERITY_UNSPECIFIED", +"INFO", +"ERROR", +"WARNING" +], +"enumDescriptions": [ +"Unspecified", +"If Severity selected is `INFO`, then all the Integration Execution States (`IN_PROCESS`, `ON_HOLD`, `SUCCEEDED`, `SUSPENDED`, `ERROR`, `CANCELLED`) will be sent to Cloud Logging.", +"If Severity selected is `ERROR`, then only the following Integration Execution States (`ERROR`, `CANCELLED`) will be sent to Cloud Logging.", +"If Severity selected is `WARNING`, then only the following Integration Execution States (`ERROR`, `CANCELLED`) will be sent to Cloud Logging." +], +"type": "string" +}, +"enableCloudLogging": { +"description": "Optional. Status of whether Cloud Logging is enabled or not for the integration version getting executed.", +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleCloudIntegrationsV1alphaCloudSchedulerConfig": { +"description": "Cloud Scheduler Trigger configuration", +"id": "GoogleCloudIntegrationsV1alphaCloudSchedulerConfig", +"properties": { +"cronTab": { +"description": "Required. The cron tab of cloud scheduler trigger.", +"type": "string" +}, +"errorMessage": { +"description": "Optional. When the job was deleted from Pantheon UI, error_message will be populated when Get/List integrations", +"type": "string" +}, +"location": { +"description": "Required. The location where associated cloud scheduler job will be created", +"type": "string" +}, +"serviceAccountEmail": { +"description": "Required. Service account used by Cloud Scheduler to trigger the integration at scheduled time", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudIntegrationsV1alphaConditionalFailurePolicies": { +"description": "Conditional task failur retry strategies", +"id": "GoogleCloudIntegrationsV1alphaConditionalFailurePolicies", +"properties": { +"defaultFailurePolicy": { +"$ref": "GoogleCloudIntegrationsV1alphaFailurePolicy", +"description": "The default failure policy to be applied if no conditional failure policy matches." +}, +"failurePolicies": { +"description": "The list of failure policies that will be applied to the task in order.", +"items": { +"$ref": "GoogleCloudIntegrationsV1alphaFailurePolicy" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudIntegrationsV1alphaConnectionSchemaMetadata": { +"description": "Metadata of runtime connection schema.", +"id": "GoogleCloudIntegrationsV1alphaConnectionSchemaMetadata", +"properties": { +"actions": { +"description": "List of actions.", +"items": { +"type": "string" +}, +"type": "array" +}, +"entities": { +"description": "List of entity names.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudIntegrationsV1alphaCoordinate": { +"description": "Configuration detail of coordinate, it used for UI", +"id": "GoogleCloudIntegrationsV1alphaCoordinate", +"properties": { +"x": { +"description": "Required. X axis of the coordinate", +"format": "int32", +"type": "integer" +}, +"y": { +"description": "Required. Y axis of the coordinate", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"GoogleCloudIntegrationsV1alphaCreateAppsScriptProjectRequest": { +"description": "Request for CreateAppsScriptProject rpc call.", +"id": "GoogleCloudIntegrationsV1alphaCreateAppsScriptProjectRequest", +"properties": { +"appsScriptProject": { +"description": "The name of the Apps Script project to be created.", +"type": "string" +}, +"authConfigId": { +"description": "The auth config id necessary to fetch the necessary credentials to create the project for external clients", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudIntegrationsV1alphaCreateAppsScriptProjectResponse": { +"description": "Response for CreateAppsScriptProject rpc call.", +"id": "GoogleCloudIntegrationsV1alphaCreateAppsScriptProjectResponse", +"properties": { +"projectId": { +"description": "The created AppsScriptProject ID.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudIntegrationsV1alphaCreateCloudFunctionRequest": { +"description": "Request for Creating Cloud Function rpc call.", +"id": "GoogleCloudIntegrationsV1alphaCreateCloudFunctionRequest", +"properties": { +"functionName": { +"description": "The function name of CF to be created", +"type": "string" +}, +"functionRegion": { +"description": "The function region of CF to be created", +"type": "string" +}, +"gcfApiVersion": { +"description": "Optional. The api version of CF to be created", +"enum": [ +"GCF_API_VERSION_UNSPECIFIED", +"API_VERSION_V1", +"API_VERSION_V2" +], +"enumDescriptions": [ +"Unspecified.", +"V1 API version.", +"V2 API version." +], +"type": "string" +}, +"projectId": { +"description": "Indicates the id of the GCP project that the function will be created in.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudIntegrationsV1alphaCreateCloudFunctionResponse": { +"description": "Response for Creating Cloud Function rpc call.", +"id": "GoogleCloudIntegrationsV1alphaCreateCloudFunctionResponse", +"properties": { +"triggerUrl": { +"description": "The trigger url that will be returned", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudIntegrationsV1alphaCredential": { +"description": "Defines parameters for a single, canonical credential.", +"id": "GoogleCloudIntegrationsV1alphaCredential", +"properties": { +"authToken": { +"$ref": "GoogleCloudIntegrationsV1alphaAuthToken", +"description": "Auth token credential" +}, +"credentialType": { +"description": "Credential type associated with auth config.", +"enum": [ +"CREDENTIAL_TYPE_UNSPECIFIED", +"USERNAME_AND_PASSWORD", +"API_KEY", +"OAUTH2_AUTHORIZATION_CODE", +"OAUTH2_IMPLICIT", +"OAUTH2_CLIENT_CREDENTIALS", +"OAUTH2_RESOURCE_OWNER_CREDENTIALS", +"JWT", +"AUTH_TOKEN", +"SERVICE_ACCOUNT", +"CLIENT_CERTIFICATE_ONLY", +"OIDC_TOKEN" +], +"enumDescriptions": [ +"Unspecified credential type", +"Regular username/password pair.", +"API key.", +"OAuth 2.0 Authorization Code Grant Type.", +"OAuth 2.0 Implicit Grant Type.", +"OAuth 2.0 Client Credentials Grant Type.", +"OAuth 2.0 Resource Owner Credentials Grant Type.", +"JWT Token.", +"Auth Token, e.g. bearer token.", +"Service Account which can be used to generate token for authentication.", +"Client Certificate only.", +"Google OIDC ID Token" +], +"type": "string" +}, +"jwt": { +"$ref": "GoogleCloudIntegrationsV1alphaJwt", +"description": "JWT credential" +}, +"oauth2AuthorizationCode": { +"$ref": "GoogleCloudIntegrationsV1alphaOAuth2AuthorizationCode", +"description": "The api_key and oauth2_implicit are not covered in v1 and will be picked up once v1 is implemented. ApiKey api_key = 3; OAuth2 authorization code credential" +}, +"oauth2ClientCredentials": { +"$ref": "GoogleCloudIntegrationsV1alphaOAuth2ClientCredentials", +"description": "OAuth2Implicit oauth2_implicit = 5; OAuth2 client credentials" +}, +"oauth2ResourceOwnerCredentials": { +"$ref": "GoogleCloudIntegrationsV1alphaOAuth2ResourceOwnerCredentials", +"description": "OAuth2 resource owner credentials" +}, +"oidcToken": { +"$ref": "GoogleCloudIntegrationsV1alphaOidcToken", +"description": "Google OIDC ID Token" +}, +"serviceAccountCredentials": { +"$ref": "GoogleCloudIntegrationsV1alphaServiceAccountCredentials", +"description": "Service account credential" +}, +"usernameAndPassword": { +"$ref": "GoogleCloudIntegrationsV1alphaUsernameAndPassword", +"description": "Username and password credential" +} +}, +"type": "object" +}, +"GoogleCloudIntegrationsV1alphaCustomerConfig": { +"description": "Customer configuration information for the given client", +"id": "GoogleCloudIntegrationsV1alphaCustomerConfig", +"properties": { +"cloudKmsConfig": { +"$ref": "GoogleCloudIntegrationsV1alphaCloudKmsConfig", +"description": "Optional. Cloud KMS config for Auth Module to encrypt/decrypt credentials." +}, +"enableHttpCall": { +"description": "Optional. Indicates if the client should be allowed to make HTTP calls. True if http call feature should be turned on for this region.", +"type": "boolean" +}, +"enableManagedAiFeatures": { +"description": "Optional. Indicates if the client should be allowed to use managed AI features, i.e. using Cloud Companion APIs of the tenant project. This will allow the customers to use features like Troubleshooting, OpenAPI spec enrichment, etc. for free.", +"type": "boolean" +}, +"enableVariableMasking": { +"description": "Optional. True if variable masking feature should be turned on for this region.", +"type": "boolean" +}, +"runAsServiceAccount": { +"description": "Optional. Run-as service account to be updated for the provisioned client.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudIntegrationsV1alphaDeprovisionClientRequest": { +"description": "Request for the Deprovision rpc", +"id": "GoogleCloudIntegrationsV1alphaDeprovisionClientRequest", +"properties": {}, +"type": "object" +}, +"GoogleCloudIntegrationsV1alphaDoubleParameterArray": { +"description": "This message only contains a field of double number array.", +"id": "GoogleCloudIntegrationsV1alphaDoubleParameterArray", +"properties": { +"doubleValues": { +"description": "Double number array.", +"items": { +"format": "double", +"type": "number" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudIntegrationsV1alphaDownloadExecutionResponse": { +"description": "Response for downloading an execution.", +"id": "GoogleCloudIntegrationsV1alphaDownloadExecutionResponse", +"properties": { +"content": { +"description": "The content of downloaded execution.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudIntegrationsV1alphaDownloadIntegrationVersionResponse": { +"description": "Response for DownloadIntegrationVersion.", +"id": "GoogleCloudIntegrationsV1alphaDownloadIntegrationVersionResponse", +"properties": { +"content": { +"description": "String representation of the requested file.", +"type": "string" +}, +"files": { +"description": "List containing String represendation for multiple file with type.", +"items": { +"$ref": "GoogleCloudIntegrationsV1alphaSerializedFile" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudIntegrationsV1alphaDownloadJsonPackageResponse": { +"description": "Response for DownloadJsonPackage.", +"id": "GoogleCloudIntegrationsV1alphaDownloadJsonPackageResponse", +"properties": { +"files": { +"description": "List containing JSON for multiple file with type information.", +"items": { +"$ref": "GoogleCloudIntegrationsV1alphaFile" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudIntegrationsV1alphaDownloadTemplateResponse": { +"description": "Response for DownloadTemplate.", +"id": "GoogleCloudIntegrationsV1alphaDownloadTemplateResponse", +"properties": { +"content": { +"description": "String representation of the template.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudIntegrationsV1alphaDownloadTestCaseResponse": { +"description": "Response for DownloadTestCase.", +"id": "GoogleCloudIntegrationsV1alphaDownloadTestCaseResponse", +"properties": { +"content": { +"description": "String representation of the test case.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudIntegrationsV1alphaEnumerateConnectorPlatformRegionsResponse": { +"description": "Response containing all provisioned regions for Connector Platform.", +"id": "GoogleCloudIntegrationsV1alphaEnumerateConnectorPlatformRegionsResponse", +"properties": { +"regions": { +"description": "All regions where Connector Platform is provisioned.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudIntegrationsV1alphaErrorCatcherConfig": { +"description": "Configuration detail of a error catch task", +"id": "GoogleCloudIntegrationsV1alphaErrorCatcherConfig", +"properties": { +"description": { +"description": "Optional. User-provided description intended to give more business context about the error catcher config.", +"type": "string" +}, +"errorCatcherId": { +"description": "Required. An error catcher id is string representation for the error catcher config. Within a workflow, error_catcher_id uniquely identifies an error catcher config among all error catcher configs for the workflow", +"type": "string" +}, +"errorCatcherNumber": { +"description": "Required. A number to uniquely identify each error catcher config within the workflow on UI.", +"type": "string" +}, +"label": { +"description": "Optional. The user created label for a particular error catcher. Optional.", +"type": "string" +}, +"position": { +"$ref": "GoogleCloudIntegrationsV1alphaCoordinate", +"description": "Optional. Informs the front-end application where to draw this error catcher config on the UI." +}, +"startErrorTasks": { +"description": "Required. The set of start tasks that are to be executed for the error catch flow", +"items": { +"$ref": "GoogleCloudIntegrationsV1alphaNextTask" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudIntegrationsV1alphaEventParameter": { +"description": "This message is used for processing and persisting (when applicable) key value pair parameters for each event in the event bus. Next available id: 4", +"id": "GoogleCloudIntegrationsV1alphaEventParameter", +"properties": { +"key": { +"description": "Key is used to retrieve the corresponding parameter value. This should be unique for a given fired event. These parameters must be predefined in the integration definition.", +"type": "string" +}, +"masked": { +"description": "True if this parameter should be masked in the logs", +"type": "boolean" +}, +"value": { +"$ref": "GoogleCloudIntegrationsV1alphaValueType", +"description": "Values for the defined keys. Each value can either be string, int, double or any proto message." +} +}, +"type": "object" +}, +"GoogleCloudIntegrationsV1alphaExecuteEventResponse": { +"description": "The response for executing an integration.", +"id": "GoogleCloudIntegrationsV1alphaExecuteEventResponse", +"properties": { +"executionId": { +"description": "The id of the execution corresponding to this run of integration.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudIntegrationsV1alphaExecuteIntegrationsRequest": { +"description": "The request for executing an integration.", +"id": "GoogleCloudIntegrationsV1alphaExecuteIntegrationsRequest", +"properties": { +"doNotPropagateError": { +"description": "Optional. Flag to determine how to should propagate errors. If this flag is set to be true, it will not throw an exception. Instead, it will return a {@link ExecuteIntegrationsResponse} with an execution id and error messages as PostWithTriggerIdExecutionException in {@link EventParameters}. The flag is set to be false by default.", +"type": "boolean" +}, +"executionId": { +"description": "Optional. The id of the ON_HOLD execution to be resumed.", +"type": "string" +}, +"inputParameters": { +"additionalProperties": { +"$ref": "GoogleCloudIntegrationsV1alphaValueType" +}, +"description": "Optional. Input parameters used by integration execution.", +"type": "object" +}, +"parameterEntries": { +"deprecated": true, +"description": "Optional. Parameters are a part of Event and can be used to communicate between different tasks that are part of the same integration execution.", +"items": { +"$ref": "EnterpriseCrmFrontendsEventbusProtoParameterEntry" +}, +"type": "array" +}, +"parameters": { +"$ref": "EnterpriseCrmFrontendsEventbusProtoEventParameters", +"deprecated": true, +"description": "Optional. Passed in as parameters to each integration execution. Redacted" +}, +"requestId": { +"description": "Optional. This is used to de-dup incoming request: if the duplicate request was detected, the response from the previous execution is returned.", +"type": "string" +}, +"triggerId": { +"description": "Required. Matched against all {@link TriggerConfig}s across all integrations. i.e. TriggerConfig.trigger_id.equals(trigger_id). The trigger_id is in the format of `api_trigger/TRIGGER_NAME`.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudIntegrationsV1alphaExecuteIntegrationsResponse": { +"description": "The response for executing an integration.", +"id": "GoogleCloudIntegrationsV1alphaExecuteIntegrationsResponse", +"properties": { +"eventParameters": { +"$ref": "EnterpriseCrmFrontendsEventbusProtoEventParameters", +"deprecated": true, +"description": "Details for the integration that were executed." +}, +"executionFailed": { +"deprecated": true, +"description": "Is true if any execution in the integration failed. False otherwise.", +"type": "boolean" +}, +"executionId": { +"description": "The id of the execution corresponding to this run of integration.", +"type": "string" +}, +"outputParameters": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"description": "OUTPUT parameters in format of Map. Where Key is the name of the parameter. Note: Name of the system generated parameters are wrapped by backtick(`) to distinguish them from the user defined parameters.", +"type": "object" +}, +"parameterEntries": { +"deprecated": true, +"description": "Parameters are a part of Event and can be used to communicate between different tasks that are part of the same integration execution.", +"items": { +"$ref": "EnterpriseCrmFrontendsEventbusProtoParameterEntry" +}, +"type": "array" +}, +"parameters": { +"additionalProperties": { +"$ref": "GoogleCloudIntegrationsV1alphaValueType" +}, +"description": "Optional. OUTPUT parameters from integration execution.", +"type": "object" +} +}, +"type": "object" +}, +"GoogleCloudIntegrationsV1alphaExecuteTestCaseRequest": { +"description": "The request for executing a functional test.", +"id": "GoogleCloudIntegrationsV1alphaExecuteTestCaseRequest", +"properties": { +"inputParameters": { +"additionalProperties": { +"$ref": "GoogleCloudIntegrationsV1alphaValueType" +}, +"description": "Optional. Input parameters used by test case execution.", +"type": "object" +} +}, +"type": "object" +}, +"GoogleCloudIntegrationsV1alphaExecuteTestCaseResponse": { +"description": "The response for executing a functional test.", +"id": "GoogleCloudIntegrationsV1alphaExecuteTestCaseResponse", +"properties": { +"assertionResults": { +"description": "Results of each assertions ran during execution of test case.", +"items": { +"$ref": "GoogleCloudIntegrationsV1alphaAssertionResult" +}, +"type": "array" +}, +"executionId": { +"description": "The id of the execution corresponding to this run of integration.", +"type": "string" +}, +"outputParameters": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"description": "OUTPUT parameters in format of Map. Where Key is the name of the parameter. Note: Name of the system generated parameters are wrapped by backtick(`) to distinguish them from the user defined parameters.", +"type": "object" +}, +"testExecutionState": { +"description": "State of the test case execution", +"enum": [ +"STATE_UNSPECIFIED", +"PASSED", +"FAILED" +], +"enumDescriptions": [ +"Unspecified state", +"Test case execution passed", +"Test case execution failed" +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudIntegrationsV1alphaExecuteTestCasesRequest": { +"description": "Request for ExecuteTestCases.", +"id": "GoogleCloudIntegrationsV1alphaExecuteTestCasesRequest", +"properties": {}, +"type": "object" +}, +"GoogleCloudIntegrationsV1alphaExecuteTestCasesResponse": { +"description": "Response for ExecuteTestCases.", +"id": "GoogleCloudIntegrationsV1alphaExecuteTestCasesResponse", +"properties": { +"executeTestCaseResponses": { +"description": "Results of each execution of test cases in an integration version.", +"items": { +"$ref": "GoogleCloudIntegrationsV1alphaExecuteTestCaseResponse" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudIntegrationsV1alphaExecution": { +"description": "The Execution resource contains detailed information of an individual integration execution.", +"id": "GoogleCloudIntegrationsV1alphaExecution", +"properties": { +"cloudKmsKey": { +"description": "Optional. Cloud KMS resource name for the CMEK encryption key.", +"type": "string" +}, +"cloudLoggingDetails": { +"$ref": "GoogleCloudIntegrationsV1alphaCloudLoggingDetails", +"description": "Cloud Logging details for the integration version" +}, +"createTime": { +"description": "Output only. Created time of the execution.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"directSubExecutions": { +"description": "Direct sub executions of the following Execution.", +"items": { +"$ref": "GoogleCloudIntegrationsV1alphaExecution" +}, +"type": "array" +}, +"eventExecutionDetails": { +"$ref": "EnterpriseCrmEventbusProtoEventExecutionDetails", +"deprecated": true, +"description": "The execution info about this event." +}, +"executionDetails": { +"$ref": "GoogleCloudIntegrationsV1alphaExecutionDetails", +"description": "Detailed info of this execution." +}, +"executionMethod": { +"description": "The ways user posts this event.", +"enum": [ +"EXECUTION_METHOD_UNSPECIFIED", +"POST", +"POST_TO_QUEUE", +"SCHEDULE" +], +"enumDescriptions": [ +"Default value.", +"Sync post.", +"Async post.", +"Async post with schedule time." +], +"type": "string" +}, +"integrationVersionState": { +"description": "Output only. State of the integration version", +"enum": [ +"INTEGRATION_STATE_UNSPECIFIED", +"DRAFT", +"ACTIVE", +"ARCHIVED", +"SNAPSHOT" +], +"enumDescriptions": [ +"Default.", +"Draft.", +"Active.", +"Archived.", +"Snapshot." +], +"readOnly": true, +"type": "string" +}, +"name": { +"description": "Auto-generated primary key.", +"type": "string" +}, +"replayInfo": { +"$ref": "GoogleCloudIntegrationsV1alphaExecutionReplayInfo", +"description": "Output only. Replay info for the execution", +"readOnly": true +}, +"requestParameters": { +"additionalProperties": { +"$ref": "GoogleCloudIntegrationsV1alphaValueType" +}, +"description": "Event parameters come in as part of the request.", +"type": "object" +}, +"requestParams": { +"deprecated": true, +"description": "Event parameters come in as part of the request.", +"items": { +"$ref": "EnterpriseCrmFrontendsEventbusProtoParameterEntry" +}, +"type": "array" +}, +"responseParameters": { +"additionalProperties": { +"$ref": "GoogleCloudIntegrationsV1alphaValueType" +}, +"description": "Event parameters returned as part of the response. In the case of error, the `ErrorInfo` field is returned in the following format: { \"ErrorInfo\": { \"message\": String, \"code\": Number } } ", +"type": "object" +}, +"responseParams": { +"deprecated": true, +"items": { +"$ref": "EnterpriseCrmFrontendsEventbusProtoParameterEntry" +}, +"type": "array" +}, +"snapshotNumber": { +"description": "Output only. An increasing sequence that is set when a new snapshot is created", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"triggerId": { +"description": "The trigger id of the integration trigger config. If both trigger_id and client_id is present, the integration is executed from the start tasks provided by the matching trigger config otherwise it is executed from the default start tasks.", +"type": "string" +}, +"updateTime": { +"description": "Output only. Last modified time of the execution.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudIntegrationsV1alphaExecutionDetails": { +"description": "Contains the details of the execution info: this includes the tasks execution details plus the event execution statistics.", +"id": "GoogleCloudIntegrationsV1alphaExecutionDetails", +"properties": { +"attemptStats": { +"description": "List of Start and end time of the execution attempts.", +"items": { +"$ref": "GoogleCloudIntegrationsV1alphaAttemptStats" +}, +"type": "array" +}, +"eventExecutionSnapshotsSize": { +"description": "Total size of all event_execution_snapshots for an execution", +"format": "int64", +"type": "string" +}, +"executionSnapshots": { +"description": "List of snapshots taken during the execution.", +"items": { +"$ref": "GoogleCloudIntegrationsV1alphaExecutionSnapshot" +}, +"type": "array" +}, +"state": { +"description": "Status of the execution.", +"enum": [ +"STATE_UNSPECIFIED", +"PENDING", +"PROCESSING", +"SUCCEEDED", +"FAILED", +"CANCELLED", +"RETRY_ON_HOLD", +"SUSPENDED" +], +"enumDescriptions": [ +"Default.", +"Execution is scheduled and awaiting to be triggered.", +"Execution is processing.", +"Execution successfully finished. There's no more change after this state.", +"Execution failed. There's no more change after this state.", +"Execution canceled by user. There's no more change after this state.", +"Execution failed and waiting for retry.", +"Execution suspended and waiting for manual intervention." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudIntegrationsV1alphaExecutionReplayInfo": { +"description": "Contains the details of the execution info: this includes the replay reason and replay tree connecting executions in a parent-child relationship", +"id": "GoogleCloudIntegrationsV1alphaExecutionReplayInfo", +"properties": { +"originalExecutionInfoId": { +"description": "If this execution is a replay of another execution, then this field contains the original execution id.", +"type": "string" +}, +"replayMode": { +"description": "Replay mode for the execution", +"enum": [ +"REPLAY_MODE_UNSPECIFIED", +"REPLAY_MODE_FROM_BEGINNING", +"REPLAY_MODE_POINT_OF_FAILURE" +], +"enumDescriptions": [ +"Default value.", +"Replay the original execution from the beginning.", +"Replay the execution from the first failed task." +], +"type": "string" +}, +"replayReason": { +"description": "reason for replay", +"type": "string" +}, +"replayedExecutionInfoIds": { +"description": "If this execution has been replayed, then this field contains the execution ids of the replayed executions.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudIntegrationsV1alphaExecutionSnapshot": { +"description": "Contains the snapshot of the execution for a given checkpoint.", +"id": "GoogleCloudIntegrationsV1alphaExecutionSnapshot", +"properties": { +"checkpointTaskNumber": { +"description": "Indicates \"after which checkpoint task's execution\" this snapshot is taken.", +"type": "string" +}, +"executionSnapshotMetadata": { +"$ref": "GoogleCloudIntegrationsV1alphaExecutionSnapshotExecutionSnapshotMetadata", +"description": "Metadata of the execution snapshot." +}, +"params": { +"additionalProperties": { +"$ref": "GoogleCloudIntegrationsV1alphaValueType" +}, +"description": "Parameters used during the execution.", +"type": "object" +}, +"taskExecutionDetails": { +"description": "All of the task execution details at the given point of time.", +"items": { +"$ref": "GoogleCloudIntegrationsV1alphaTaskExecutionDetails" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudIntegrationsV1alphaExecutionSnapshotExecutionSnapshotMetadata": { +"description": "Metadata of the execution snapshot.", +"id": "GoogleCloudIntegrationsV1alphaExecutionSnapshotExecutionSnapshotMetadata", +"properties": { +"ancestorIterationNumbers": { +"description": "Ancestor iteration number for the task(it will only be non-empty if the task is under 'private workflow')", +"items": { +"type": "string" +}, +"type": "array" +}, +"ancestorTaskNumbers": { +"description": "Ancestor task number for the task(it will only be non-empty if the task is under 'private workflow')", +"items": { +"type": "string" +}, +"type": "array" +}, +"executionAttempt": { +"description": "the execution attempt number this snapshot belongs to.", +"format": "int32", +"type": "integer" +}, +"integrationName": { +"description": "The direct integration which the event execution snapshots belongs to", +"type": "string" +}, +"task": { +"description": "the task name associated with this snapshot.", +"type": "string" +}, +"taskAttempt": { +"description": "the task attempt number this snapshot belongs to.", +"format": "int32", +"type": "integer" +}, +"taskLabel": { +"description": "the task label associated with this snapshot. Could be empty.", +"type": "string" +}, +"taskNumber": { +"description": "The task number associated with this snapshot.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudIntegrationsV1alphaFailurePolicy": { +"description": "Policy that defines the task retry logic and failure type. If no FailurePolicy is defined for a task, all its dependent tasks will not be executed (i.e, a `retry_strategy` of NONE will be applied).", +"id": "GoogleCloudIntegrationsV1alphaFailurePolicy", +"properties": { +"condition": { +"description": "Optional. The string condition that will be evaluated to determine if the task should be retried with this failure policy.", +"type": "string" +}, +"intervalTime": { +"description": "Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_INTEGRATION_WITH_BACKOFF. Defines the initial interval in seconds for backoff.", +"format": "google-datetime", +"type": "string" +}, +"maxRetries": { +"description": "Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_INTEGRATION_WITH_BACKOFF. Defines the number of times the task will be retried if failed.", +"format": "int32", +"type": "integer" +}, +"retryStrategy": { +"description": "Defines what happens to the task upon failure.", +"enum": [ +"RETRY_STRATEGY_UNSPECIFIED", +"IGNORE", +"NONE", +"FATAL", +"FIXED_INTERVAL", +"LINEAR_BACKOFF", +"EXPONENTIAL_BACKOFF", +"RESTART_INTEGRATION_WITH_BACKOFF" +], +"enumDescriptions": [ +"UNSPECIFIED.", +"Ignores the failure of this task. The rest of the integration will be executed Assuming this task succeeded.", +"Causes a permanent failure of the task. However, if the last task(s) of event was successfully completed despite the failure of this task, it has no impact on the integration.", +"Causes a permanent failure of the event. It is different from NONE because this will mark the event as FAILED by shutting down the event execution.", +"The task will be retried from the failed task onwards after a fixed delay. A max-retry count is required to be specified with this strategy. A jitter is added to each exponential interval so that concurrently failing tasks of the same type do not end up retrying after the exact same exponential interval. max_retries and interval_in_seconds must be specified.", +"The task will be retried from the failed task onwards after a fixed delay that linearly increases with each retry attempt. A jitter is added to each exponential interval so that concurrently failing tasks of the same type do not end up retrying after the exact same exponential interval. A max-retry count is required to be specified with this strategy. max_retries and interval_in_seconds must be specified.", +"The task will be retried after an exponentially increasing period of time with each failure. A jitter is added to each exponential interval so that concurrently failing tasks of the same type do not end up retrying after the exact same exponential interval. A max-retry count is required to be specified with this strategy. `max_retries` and `interval_in_seconds` must be specified.", +"The entire integration will be restarted with the initial parameters that were set when the event was fired. A max-retry count is required to be specified with this strategy. `max_retries` and `interval_in_seconds` must be specified." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudIntegrationsV1alphaFile": { +"description": "To store Integration version related file i.e. Integration Version, Config variable etc.", +"id": "GoogleCloudIntegrationsV1alphaFile", +"properties": { +"integrationConfig": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"description": "Integration version config file", +"type": "object" +}, +"integrationVersion": { +"$ref": "GoogleCloudIntegrationsV1alphaIntegrationVersion", +"description": "Integration version" +}, +"type": { +"description": "File information like Integration version, Integration Config variables etc.", +"enum": [ +"INTEGRATION_FILE_UNSPECIFIED", +"INTEGRATION", +"INTEGRATION_CONFIG_VARIABLES" +], +"enumDescriptions": [ +"Default value.", +"Integration file.", +"Integration Config variables." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudIntegrationsV1alphaGenerateOpenApiSpecRequest": { +"description": "Request for GenerateOpenApiSpec.", +"id": "GoogleCloudIntegrationsV1alphaGenerateOpenApiSpecRequest", +"properties": { +"apiTriggerResources": { +"description": "Required. List of api triggers", +"items": { +"$ref": "GoogleCloudIntegrationsV1alphaApiTriggerResource" +}, +"type": "array" +}, +"fileFormat": { +"description": "Required. File format for generated spec.", +"enum": [ +"FILE_FORMAT_UNSPECIFIED", +"JSON", +"YAML" +], +"enumDescriptions": [ +"Unspecified file format", +"JSON File Format", +"YAML File Format" +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudIntegrationsV1alphaGenerateOpenApiSpecResponse": { +"description": "Response of the GenerateOpenApiSpec API.", +"id": "GoogleCloudIntegrationsV1alphaGenerateOpenApiSpecResponse", +"properties": { +"openApiSpec": { +"description": "Open API spec as per the required format", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudIntegrationsV1alphaGenerateTokenResponse": { +"description": "Returns success or error message", +"id": "GoogleCloudIntegrationsV1alphaGenerateTokenResponse", +"properties": { +"message": { +"description": "The message that notifies the user if the request succeeded or not.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudIntegrationsV1alphaGetClientMetadataResponse": { +"description": "Response for the GetClientMetadata rpc", +"id": "GoogleCloudIntegrationsV1alphaGetClientMetadataResponse", +"properties": { +"properties": { +"$ref": "GoogleCloudIntegrationsV1alphaProjectProperties", +"description": "Required. Required: The client configuration that was requested" +} +}, +"type": "object" +}, +"GoogleCloudIntegrationsV1alphaGetClientResponse": { +"description": "Response for the GetClient rpc", +"id": "GoogleCloudIntegrationsV1alphaGetClientResponse", +"properties": { +"client": { +"$ref": "GoogleCloudIntegrationsV1alphaClientConfig", +"description": "Required. Required: The client configuration that was requested" +} +}, +"type": "object" +}, +"GoogleCloudIntegrationsV1alphaImportTemplateRequest": { +"description": "Request to Import template", +"id": "GoogleCloudIntegrationsV1alphaImportTemplateRequest", +"properties": { +"integration": { +"description": "Required. Resource Name of the integration where template needs to be imported/inserted.", +"type": "string" +}, +"subIntegrations": { +"additionalProperties": { +"$ref": "GoogleCloudIntegrationsV1alphaUseTemplateRequestIntegrationDetails" +}, +"description": "Optional. Sub Integration which would be created via templates.", +"type": "object" +} +}, +"type": "object" +}, +"GoogleCloudIntegrationsV1alphaImportTemplateResponse": { +"description": "Response for import template", +"id": "GoogleCloudIntegrationsV1alphaImportTemplateResponse", +"properties": { +"integrationVersion": { +"$ref": "GoogleCloudIntegrationsV1alphaIntegrationVersion", +"description": "IntegrationVersion after the import." +}, +"subIntegrationVersions": { +"description": "Sub integration versions which are imported.", +"items": { +"$ref": "GoogleCloudIntegrationsV1alphaIntegrationVersion" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudIntegrationsV1alphaIntParameterArray": { +"description": "This message only contains a field of integer array.", +"id": "GoogleCloudIntegrationsV1alphaIntParameterArray", +"properties": { +"intValues": { +"description": "Integer array.", +"items": { +"format": "int64", +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudIntegrationsV1alphaIntegration": { +"description": "The integration definition.", +"id": "GoogleCloudIntegrationsV1alphaIntegration", +"properties": { +"active": { +"description": "Required. If any integration version is published.", +"type": "boolean" +}, +"createTime": { +"description": "Required. Output only. Auto-generated.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"creatorEmail": { +"description": "Output only. The creator's email address. Generated based on the End User Credentials/LOAS role of the user making the call.", +"readOnly": true, +"type": "string" +}, +"description": { +"description": "Optional.", +"type": "string" +}, +"lastModifierEmail": { +"description": "Required. The last modifier of this integration", +"type": "string" +}, +"name": { +"description": "Required. The resource name of the integration.", +"type": "string" +}, +"updateTime": { +"description": "Output only. Auto-generated.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudIntegrationsV1alphaIntegrationAlertConfig": { +"description": "Message to be used to configure custom alerting in the {@code EventConfig} protos for an event.", +"id": "GoogleCloudIntegrationsV1alphaIntegrationAlertConfig", +"properties": { +"aggregationPeriod": { +"description": "The period over which the metric value should be aggregated and evaluated. Format is , where integer should be a positive integer and unit should be one of (s,m,h,d,w) meaning (second, minute, hour, day, week). For an EXPECTED_MIN threshold, this aggregation_period must be lesser than 24 hours.", +"type": "string" +}, +"alertThreshold": { +"description": "For how many contiguous aggregation periods should the expected min or max be violated for the alert to be fired.", +"format": "int32", +"type": "integer" +}, +"disableAlert": { +"description": "Set to false by default. When set to true, the metrics are not aggregated or pushed to Monarch for this integration alert.", +"type": "boolean" +}, +"displayName": { +"description": "Name of the alert. This will be displayed in the alert subject. If set, this name should be unique within the scope of the integration.", +"type": "string" +}, +"durationThreshold": { +"description": "Should be specified only for *AVERAGE_DURATION and *PERCENTILE_DURATION metrics. This member should be used to specify what duration value the metrics should exceed for the alert to trigger.", +"format": "google-duration", +"type": "string" +}, +"metricType": { +"description": "The type of metric.", +"enum": [ +"METRIC_TYPE_UNSPECIFIED", +"EVENT_ERROR_RATE", +"EVENT_WARNING_RATE", +"TASK_ERROR_RATE", +"TASK_WARNING_RATE", +"TASK_RATE", +"EVENT_RATE", +"EVENT_AVERAGE_DURATION", +"EVENT_PERCENTILE_DURATION", +"TASK_AVERAGE_DURATION", +"TASK_PERCENTILE_DURATION" +], +"enumDescriptions": [ +"The default value. Metric type should always be set to one of the other non-default values, otherwise it will result in an INVALID_ARGUMENT error.", +"Specifies alerting on the rate of errors for the enclosing integration.", +"Specifies alerting on the rate of warnings for the enclosing integration. Warnings use the same enum values as errors.", +"Specifies alerting on the rate of errors for any task in the enclosing integration.", +"Specifies alerting on the rate of warnings for any task in the enclosing integration.", +"Specifies alerting on the rate of executions over all tasks in the enclosing integration.", +"Specifies alerting on the number of events executed in the given aggregation_period.", +"Specifies alerting on the average duration of executions for this integration.", +"Specifies alerting on the duration value of a particular percentile of integration executions. E.g. If 10% or more of the integration executions have durations above 5 seconds, alert.", +"Specifies alerting on the average duration of any task in the enclosing integration,", +"Specifies alerting on the duration value of a particular percentile of any task executions within the enclosing integration. E.g. If 10% or more of the task executions in the integration have durations above 5 seconds, alert." +], +"type": "string" +}, +"onlyFinalAttempt": { +"description": "For either events or tasks, depending on the type of alert, count only final attempts, not retries.", +"type": "boolean" +}, +"thresholdType": { +"description": "The threshold type, whether lower(expected_min) or upper(expected_max), for which this alert is being configured. If value falls below expected_min or exceeds expected_max, an alert will be fired.", +"enum": [ +"THRESHOLD_TYPE_UNSPECIFIED", +"EXPECTED_MIN", +"EXPECTED_MAX" +], +"enumDescriptions": [ +"Default.", +"Note that this field will only trigger alerts if the integration specifying it runs at least once in 24 hours (which is our in-memory retention period for monarch streams). Also note that `aggregation_period` for this alert configuration must be less than 24 hours. Min value threshold.", +"Max value threshold." +], +"type": "string" +}, +"thresholdValue": { +"$ref": "GoogleCloudIntegrationsV1alphaIntegrationAlertConfigThresholdValue", +"description": "The metric value, above or below which the alert should be triggered." +} +}, +"type": "object" +}, +"GoogleCloudIntegrationsV1alphaIntegrationAlertConfigThresholdValue": { +"description": "The threshold value of the metric, above or below which the alert should be triggered. See EventAlertConfig or TaskAlertConfig for the different alert metric types in each case. For the *RATE metrics, one or both of these fields may be set. Zero is the default value and can be left at that. For *PERCENTILE_DURATION metrics, one or both of these fields may be set, and also, the duration threshold value should be specified in the threshold_duration_ms member below. For *AVERAGE_DURATION metrics, these fields should not be set at all. A different member, threshold_duration_ms, must be set in the EventAlertConfig or the TaskAlertConfig.", +"id": "GoogleCloudIntegrationsV1alphaIntegrationAlertConfigThresholdValue", +"properties": { +"absolute": { +"description": "Absolute value threshold.", +"format": "int64", +"type": "string" +}, +"percentage": { +"description": "Percentage threshold.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"GoogleCloudIntegrationsV1alphaIntegrationConfigParameter": { +"description": "Integration Config Parameter is defined in the integration config and are used to provide external configuration for integration. It provide information about data types of the expected parameters and provide any default values or value. They can also be used to add custom attributes.", +"id": "GoogleCloudIntegrationsV1alphaIntegrationConfigParameter", +"properties": { +"parameter": { +"$ref": "GoogleCloudIntegrationsV1alphaIntegrationParameter", +"description": "Optional. Integration Parameter to provide the default value, data type and attributes required for the Integration config variables." +}, +"value": { +"$ref": "GoogleCloudIntegrationsV1alphaValueType", +"description": "Values for the defined keys. Each value can either be string, int, double or any proto message or a serialized object." +} +}, +"type": "object" +}, +"GoogleCloudIntegrationsV1alphaIntegrationParameter": { +"description": "Integration Parameter is defined in the integration config and are used to provide information about data types of the expected parameters and provide any default values if needed. They can also be used to add custom attributes. These are static in nature and should not be used for dynamic event definition.", +"id": "GoogleCloudIntegrationsV1alphaIntegrationParameter", +"properties": { +"containsLargeData": { +"description": "Indicates whether this variable contains large data and need to be uploaded to Cloud Storage.", +"type": "boolean" +}, +"dataType": { +"description": "Type of the parameter.", +"enum": [ +"INTEGRATION_PARAMETER_DATA_TYPE_UNSPECIFIED", +"STRING_VALUE", +"INT_VALUE", +"DOUBLE_VALUE", +"BOOLEAN_VALUE", +"STRING_ARRAY", +"INT_ARRAY", +"DOUBLE_ARRAY", +"BOOLEAN_ARRAY", +"JSON_VALUE", +"PROTO_VALUE", +"PROTO_ARRAY", +"NON_SERIALIZABLE_OBJECT", +"PROTO_ENUM", +"SERIALIZED_OBJECT_VALUE", +"PROTO_ENUM_ARRAY", +"BYTES", +"BYTES_ARRAY" +], +"enumDescriptions": [ +"Unspecified.", +"String.", +"Integer.", +"Double Number.", +"Boolean.", +"String Array.", +"Integer Array.", +"Double Number Array.", +"Boolean Array.", +"Json.", +"Proto Value (Internal use only).", +"Proto Array (Internal use only).", +"// Non-serializable object (Internal use only).", +"Proto Enum (Internal use only).", +"Serialized object (Internal use only).", +"Proto Enum Array (Internal use only).", +"BYTES data types are not allowed for top-level params. They're only meant to support protobufs with BYTES (sub)fields.", +"BYTES_ARRAY data types are not allowed for top-level params. They're only meant to support protobufs with BYTES (sub)fields." +], +"type": "string" +}, +"defaultValue": { +"$ref": "GoogleCloudIntegrationsV1alphaValueType", +"description": "Default values for the defined keys. Each value can either be string, int, double or any proto message or a serialized object." +}, +"description": { +"description": "Optional. Description of the parameter.", +"type": "string" +}, +"displayName": { +"description": "The name (without prefix) to be displayed in the UI for this parameter. E.g. if the key is \"foo.bar.myName\", then the name would be \"myName\".", +"type": "string" +}, +"inputOutputType": { +"description": "Specifies the input/output type for the parameter.", +"enum": [ +"IN_OUT_TYPE_UNSPECIFIED", +"IN", +"OUT", +"IN_OUT" +], +"enumDescriptions": [ +"Default.", +"Input parameters for the integration. EventBus validates that these parameters exist in the integrations before execution.", +"Output Parameters for the integration. EventBus will only return the integration parameters tagged with OUT in the response back.", +"Input and Output Parameters. These can be used as both input and output. EventBus will validate for the existence of these parameters before execution and will also return this parameter back in the response." +], +"type": "string" +}, +"isTransient": { +"description": "Whether this parameter is a transient parameter.", +"type": "boolean" +}, +"jsonSchema": { +"description": "This schema will be used to validate runtime JSON-typed values of this parameter.", +"type": "string" +}, +"key": { +"description": "Key is used to retrieve the corresponding parameter value. This should be unique for a given fired event. These parameters must be predefined in the integration definition.", +"type": "string" +}, +"masked": { +"description": "True if this parameter should be masked in the logs", +"type": "boolean" +}, +"producer": { +"description": "The identifier of the node (TaskConfig/TriggerConfig) this parameter was produced by, if it is a transient param or a copy of an input param.", +"type": "string" +}, +"searchable": { +"description": "Searchable in the execution log or not.", +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleCloudIntegrationsV1alphaIntegrationVersion": { +"description": "The integration version definition.", +"id": "GoogleCloudIntegrationsV1alphaIntegrationVersion", +"properties": { +"cloudKmsKey": { +"description": "Optional. Cloud KMS resource name for the CMEK encryption key.", +"type": "string" +}, +"cloudLoggingDetails": { +"$ref": "GoogleCloudIntegrationsV1alphaCloudLoggingDetails", +"description": "Optional. Cloud Logging details for the integration version" +}, +"createTime": { +"description": "Output only. Auto-generated.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"createdFromTemplate": { +"description": "Optional. Optional. The resource name of the template from which the integration is created.", +"type": "string" +}, +"databasePersistencePolicy": { +"description": "Optional. Flag to disable database persistence for execution data, including event execution info, execution export info, execution metadata index and execution param index.", +"enum": [ +"DATABASE_PERSISTENCE_POLICY_UNSPECIFIED", +"DATABASE_PERSISTENCE_DISABLED", +"DATABASE_PERSISTENCE_ASYNC" +], +"enumDescriptions": [ +"Enables persistence for all execution data.", +"Disables persistence for all execution data.", +"Asynchronously persist all execution data." +], +"type": "string" +}, +"description": { +"description": "Optional. The integration description.", +"type": "string" +}, +"enableVariableMasking": { +"description": "Optional. True if variable masking feature should be turned on for this version", +"type": "boolean" +}, +"errorCatcherConfigs": { +"description": "Optional. Error Catch Task configuration for the integration. It's optional.", +"items": { +"$ref": "GoogleCloudIntegrationsV1alphaErrorCatcherConfig" +}, +"type": "array" +}, +"integrationConfigParameters": { +"description": "Optional. Config Parameters that are expected to be passed to the integration when an integration is published. This consists of all the parameters that are expected to provide configuration in the integration execution. This gives the user the ability to provide default values, value, add information like connection url, project based configuration value and also provide data types of each parameter.", +"items": { +"$ref": "GoogleCloudIntegrationsV1alphaIntegrationConfigParameter" +}, +"type": "array" +}, +"integrationParameters": { +"description": "Optional. Parameters that are expected to be passed to the integration when an event is triggered. This consists of all the parameters that are expected in the integration execution. This gives the user the ability to provide default values, add information like PII and also provide data types of each parameter.", +"items": { +"$ref": "GoogleCloudIntegrationsV1alphaIntegrationParameter" +}, +"type": "array" +}, +"integrationParametersInternal": { +"$ref": "EnterpriseCrmFrontendsEventbusProtoWorkflowParameters", +"deprecated": true, +"description": "Optional. Parameters that are expected to be passed to the integration when an event is triggered. This consists of all the parameters that are expected in the integration execution. This gives the user the ability to provide default values, add information like PII and also provide data types of each parameter." +}, +"lastModifierEmail": { +"description": "Optional. The last modifier's email address. Generated based on the End User Credentials/LOAS role of the user making the call.", +"type": "string" +}, +"lockHolder": { +"description": "Optional. The edit lock holder's email address. Generated based on the End User Credentials/LOAS role of the user making the call.", +"type": "string" +}, +"name": { +"description": "Output only. Auto-generated primary key.", +"readOnly": true, +"type": "string" +}, +"origin": { +"deprecated": true, +"description": "Optional. The origin that indicates where this integration is coming from.", +"enum": [ +"UNSPECIFIED", +"UI", +"PIPER_V2", +"PIPER_V3", +"APPLICATION_IP_PROVISIONING", +"TEST_CASE" +], +"enumDeprecated": [ +false, +false, +true, +false, +false, +false +], +"enumDescriptions": [ +"", +"Workflow is being created via event bus UI.", +"User checked in this workflow in Piper as v2 textproto format and we synced it into spanner.", +"User checked in this workflow in piper as v3 textproto format and we synced it into spanner.", +"Workflow is being created via Standalone IP Provisioning", +"Workflow is being created via Test Case." +], +"type": "string" +}, +"parentTemplateId": { +"description": "Optional. The id of the template which was used to create this integration_version.", +"type": "string" +}, +"runAsServiceAccount": { +"description": "Optional. The run-as service account email, if set and auth config is not configured, that will be used to generate auth token to be used in Connector task, Rest caller task and Cloud function task.", +"type": "string" +}, +"snapshotNumber": { +"description": "Output only. An increasing sequence that is set when a new snapshot is created. The last created snapshot can be identified by [workflow_name, org_id latest(snapshot_number)]. However, last created snapshot need not be same as the HEAD. So users should always use \"HEAD\" tag to identify the head.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"state": { +"description": "Output only. User should not set it as an input.", +"enum": [ +"INTEGRATION_STATE_UNSPECIFIED", +"DRAFT", +"ACTIVE", +"ARCHIVED", +"SNAPSHOT" +], +"enumDescriptions": [ +"Default.", +"Draft.", +"Active.", +"Archived.", +"Snapshot." +], +"readOnly": true, +"type": "string" +}, +"status": { +"deprecated": true, +"description": "Output only. Generated by eventbus. User should not set it as an input.", +"enum": [ +"UNKNOWN", +"DRAFT", +"ACTIVE", +"ARCHIVED", +"SNAPSHOT" +], +"enumDescriptions": [ +"", +"", +"", +"", +"" +], +"readOnly": true, +"type": "string" +}, +"taskConfigs": { +"description": "Optional. Task configuration for the integration. It's optional, but the integration doesn't do anything without task_configs.", +"items": { +"$ref": "GoogleCloudIntegrationsV1alphaTaskConfig" +}, +"type": "array" +}, +"taskConfigsInternal": { +"deprecated": true, +"description": "Optional. Task configuration for the integration. It's optional, but the integration doesn't do anything without task_configs.", +"items": { +"$ref": "EnterpriseCrmFrontendsEventbusProtoTaskConfig" +}, +"type": "array" +}, +"teardown": { +"$ref": "EnterpriseCrmEventbusProtoTeardown", +"deprecated": true, +"description": "Optional. Contains a graph of tasks that will be executed before putting the event in a terminal state (SUCCEEDED/FAILED/FATAL), regardless of success or failure, similar to \"finally\" in code." +}, +"triggerConfigs": { +"description": "Optional. Trigger configurations.", +"items": { +"$ref": "GoogleCloudIntegrationsV1alphaTriggerConfig" +}, +"type": "array" +}, +"triggerConfigsInternal": { +"deprecated": true, +"description": "Optional. Trigger configurations.", +"items": { +"$ref": "EnterpriseCrmFrontendsEventbusProtoTriggerConfig" +}, +"type": "array" +}, +"updateTime": { +"description": "Output only. Auto-generated.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"userLabel": { +"description": "Optional. A user-defined label that annotates an integration version. Typically, this is only set when the integration version is created.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudIntegrationsV1alphaIntegrationVersionTemplate": { +"description": "Define the template of IntegrationVersion.", +"id": "GoogleCloudIntegrationsV1alphaIntegrationVersionTemplate", +"properties": { +"integrationVersion": { +"$ref": "GoogleCloudIntegrationsV1alphaIntegrationVersion", +"description": "Required. Templatized version of integration." +}, +"key": { +"description": "Required. Unique Key of the IntegrationVersion.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudIntegrationsV1alphaJwt": { +"description": "Represents JSON web token(JWT), which is a compact, URL-safe means of representing claims to be transferred between two parties, enabling the claims to be digitally signed or integrity protected.", +"id": "GoogleCloudIntegrationsV1alphaJwt", +"properties": { +"jwt": { +"description": "The token calculated by the header, payload and signature.", +"type": "string" +}, +"jwtHeader": { +"description": "Identifies which algorithm is used to generate the signature.", +"type": "string" +}, +"jwtPayload": { +"description": "Contains a set of claims. The JWT specification defines seven Registered Claim Names which are the standard fields commonly included in tokens. Custom claims are usually also included, depending on the purpose of the token.", +"type": "string" +}, +"secret": { +"description": "User's pre-shared secret to sign the token.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudIntegrationsV1alphaLiftSuspensionRequest": { +"description": "Request for lift Suspension", +"id": "GoogleCloudIntegrationsV1alphaLiftSuspensionRequest", +"properties": { +"suspensionResult": { +"description": "User passed in suspension result and will be used to control workflow execution branching behavior by setting up corresponnding edge condition with suspension result. For example, if you want to lift the suspension, you can pass \"Approved\", or if you want to reject the suspension and terminate workfloe execution, you can pass \"Rejected\" and terminate the workflow execution with configuring the edge condition.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudIntegrationsV1alphaLiftSuspensionResponse": { +"description": "Response of lift Suspense", +"id": "GoogleCloudIntegrationsV1alphaLiftSuspensionResponse", +"properties": { +"eventExecutionInfoId": { +"description": "Execution Id that will be returned", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudIntegrationsV1alphaLinkAppsScriptProjectRequest": { +"description": "Request for LinkAppsScriptProject rpc call.", +"id": "GoogleCloudIntegrationsV1alphaLinkAppsScriptProjectRequest", +"properties": { +"scriptId": { +"description": "The id of the Apps Script project to be linked.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudIntegrationsV1alphaLinkAppsScriptProjectResponse": { +"description": "Response for LinkAppsScriptProject rpc call.", +"id": "GoogleCloudIntegrationsV1alphaLinkAppsScriptProjectResponse", +"properties": { +"scriptId": { +"description": "The id of the linked Apps Script project.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudIntegrationsV1alphaListAuthConfigsResponse": { +"description": "Response to list AuthConfigs.", +"id": "GoogleCloudIntegrationsV1alphaListAuthConfigsResponse", +"properties": { +"authConfigs": { +"description": "The list of AuthConfigs retrieved.", +"items": { +"$ref": "GoogleCloudIntegrationsV1alphaAuthConfig" +}, +"type": "array" +}, +"nextPageToken": { +"description": "The token used to retrieve the next page of results.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudIntegrationsV1alphaListCertificatesResponse": { +"description": "Response to list Certificates.", +"id": "GoogleCloudIntegrationsV1alphaListCertificatesResponse", +"properties": { +"certificates": { +"description": "The list of Certificates retrieved.", +"items": { +"$ref": "GoogleCloudIntegrationsV1alphaCertificate" +}, +"type": "array" +}, +"nextPageToken": { +"description": "The token used to retrieve the next page of results.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudIntegrationsV1alphaListConnectionsResponse": { +"description": "Response containing Connections listed by region.", +"id": "GoogleCloudIntegrationsV1alphaListConnectionsResponse", +"properties": { +"connections": { +"description": "Connections.", +"items": { +"$ref": "GoogleCloudConnectorsV1Connection" +}, +"type": "array" +}, +"nextPageToken": { +"description": "Next page token.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudIntegrationsV1alphaListExecutionsResponse": { +"description": "Response for listing the integration execution data.", +"id": "GoogleCloudIntegrationsV1alphaListExecutionsResponse", +"properties": { +"executionInfos": { +"deprecated": true, +"description": "Required. The detailed information of requested executions.", +"items": { +"$ref": "EnterpriseCrmFrontendsEventbusProtoEventExecutionInfo" +}, +"type": "array" +}, +"executions": { +"description": "The detailed information of requested executions", +"items": { +"$ref": "GoogleCloudIntegrationsV1alphaExecution" +}, +"type": "array" +}, +"nextPageToken": { +"description": "The token used to retrieve the next page results.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudIntegrationsV1alphaListIntegrationVersionsResponse": { +"description": "Response for ListIntegrationVersions.", +"id": "GoogleCloudIntegrationsV1alphaListIntegrationVersionsResponse", +"properties": { +"integrationVersions": { +"description": "The integrations which match the request.", +"items": { +"$ref": "GoogleCloudIntegrationsV1alphaIntegrationVersion" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.", +"type": "string" +}, +"noPermission": { +"description": "Whether the user has no permission on the version or not.", +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleCloudIntegrationsV1alphaListIntegrationsResponse": { +"description": "Response for ListIntegrations.", +"id": "GoogleCloudIntegrationsV1alphaListIntegrationsResponse", +"properties": { +"integrations": { +"description": "The integrations which match the request.", +"items": { +"$ref": "GoogleCloudIntegrationsV1alphaIntegration" +}, +"type": "array" +}, +"nextPageToken": { +"description": "The next page token for the response.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudIntegrationsV1alphaListRuntimeActionSchemasResponse": { +"description": "Response for listing RuntimeActionSchemas for a specific Connection.", +"id": "GoogleCloudIntegrationsV1alphaListRuntimeActionSchemasResponse", +"properties": { +"nextPageToken": { +"description": "Next page token.", +"type": "string" +}, +"runtimeActionSchemas": { +"description": "Runtime action schemas.", +"items": { +"$ref": "GoogleCloudIntegrationsV1alphaRuntimeActionSchema" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudIntegrationsV1alphaListRuntimeEntitySchemasResponse": { +"description": "Response for listing RuntimeEntitySchemas for a specific Connection.", +"id": "GoogleCloudIntegrationsV1alphaListRuntimeEntitySchemasResponse", +"properties": { +"nextPageToken": { +"description": "Next page token.", +"type": "string" +}, +"runtimeEntitySchemas": { +"description": "Runtime entity schemas.", +"items": { +"$ref": "GoogleCloudIntegrationsV1alphaRuntimeEntitySchema" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudIntegrationsV1alphaListSfdcChannelsResponse": { +"description": "Response to list SfdcChannels.", +"id": "GoogleCloudIntegrationsV1alphaListSfdcChannelsResponse", +"properties": { +"nextPageToken": { +"description": "The token used to retrieve the next page of results.", +"type": "string" +}, +"sfdcChannels": { +"description": "The list of SfdcChannels retrieved.", +"items": { +"$ref": "GoogleCloudIntegrationsV1alphaSfdcChannel" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudIntegrationsV1alphaListSfdcInstancesResponse": { +"description": "Response to list SfdcInstances.", +"id": "GoogleCloudIntegrationsV1alphaListSfdcInstancesResponse", +"properties": { +"nextPageToken": { +"description": "The token used to retrieve the next page of results.", +"type": "string" +}, +"sfdcInstances": { +"description": "The list of SfdcInstances retrieved.", +"items": { +"$ref": "GoogleCloudIntegrationsV1alphaSfdcInstance" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudIntegrationsV1alphaListSuspensionsResponse": { +"description": "Response for Suspensions.ListSuspensions.", +"id": "GoogleCloudIntegrationsV1alphaListSuspensionsResponse", +"properties": { +"nextPageToken": { +"description": "Token to retrieve the next page of results.", +"type": "string" +}, +"suspensions": { +"description": "The suspensions for the relevant execution which the caller has permissions to view and resolve.", +"items": { +"$ref": "GoogleCloudIntegrationsV1alphaSuspension" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudIntegrationsV1alphaListTemplatesResponse": { +"description": "Response for a request to list templates", +"id": "GoogleCloudIntegrationsV1alphaListTemplatesResponse", +"properties": { +"nextPageToken": { +"description": "The token used to retrieve the next page results.", +"type": "string" +}, +"templates": { +"description": "List of templates retrieved.", +"items": { +"$ref": "GoogleCloudIntegrationsV1alphaTemplate" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudIntegrationsV1alphaListTestCasesResponse": { +"description": "Response for ListTestCases", +"id": "GoogleCloudIntegrationsV1alphaListTestCasesResponse", +"properties": { +"nextPageToken": { +"description": "A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.", +"type": "string" +}, +"testCases": { +"description": "The test cases corresponding to the specified filter", +"items": { +"$ref": "GoogleCloudIntegrationsV1alphaTestCase" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudIntegrationsV1alphaMockConfig": { +"description": "The configuration for mocking of a task during test execution Next available id: 4", +"id": "GoogleCloudIntegrationsV1alphaMockConfig", +"properties": { +"failedExecutions": { +"description": "Optional. Number of times the given task should fail for failure mock strategy", +"format": "int64", +"type": "string" +}, +"mockStrategy": { +"description": "Mockstrategy defines how the particular task should be mocked during test execution", +"enum": [ +"MOCK_STRATEGY_UNSPECIFIED", +"NO_MOCK_STRATEGY", +"SPECIFIC_MOCK_STRATEGY", +"FAILURE_MOCK_STRATEGY", +"SKIP_MOCK_STRATEGY" +], +"enumDescriptions": [ +"This should never be used to annotate a field", +"Execute actual task", +"Don't execute actual task, instead use the values specified by user for output of the task", +"Don't execute actual task, instead return task failure", +"Don't execute actual task, instead mark it as successful" +], +"type": "string" +}, +"parameters": { +"description": "Optional. List of key-value pairs for specific mock strategy", +"items": { +"$ref": "GoogleCloudIntegrationsV1alphaEventParameter" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudIntegrationsV1alphaNextTask": { +"description": "The task that is next in line to be executed, if the condition specified evaluated to true.", +"id": "GoogleCloudIntegrationsV1alphaNextTask", +"properties": { +"condition": { +"description": "Standard filter expression for this task to become an eligible next task.", +"type": "string" +}, +"description": { +"description": "User-provided description intended to give additional business context about the task.", +"type": "string" +}, +"displayName": { +"description": "User-provided label that is attached to this edge in the UI.", +"type": "string" +}, +"taskConfigId": { +"description": "ID of the next task.", +"type": "string" +}, +"taskId": { +"description": "Task number of the next task.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudIntegrationsV1alphaOAuth2AuthorizationCode": { +"description": "The OAuth Type where the client sends request with the client id and requested scopes to auth endpoint. User sees a consent screen and auth code is received at specified redirect url afterwards. The auth code is then combined with the client id and secret and sent to the token endpoint in exchange for the access and refresh token. The refresh token can be used to fetch new access tokens.", +"id": "GoogleCloudIntegrationsV1alphaOAuth2AuthorizationCode", +"properties": { +"accessToken": { +"$ref": "GoogleCloudIntegrationsV1alphaAccessToken", +"description": "The access token received from the token endpoint." +}, +"applyReauthPolicy": { +"description": "Indicates if the user has opted in Google Reauth Policy. If opted in, the refresh token will be valid for 20 hours, after which time users must re-authenticate in order to obtain a new one.", +"type": "boolean" +}, +"authCode": { +"description": "The Auth Code that is used to initially retrieve the access token.", +"type": "string" +}, +"authEndpoint": { +"description": "The auth url endpoint to send the auth code request to.", +"type": "string" +}, +"authParams": { +"$ref": "GoogleCloudIntegrationsV1alphaParameterMap", +"description": "The auth parameters sent along with the auth code request." +}, +"clientId": { +"description": "The client's id.", +"type": "string" +}, +"clientSecret": { +"description": "The client's secret.", +"type": "string" +}, +"requestType": { +"description": "Represent how to pass parameters to fetch access token", +"enum": [ +"REQUEST_TYPE_UNSPECIFIED", +"REQUEST_BODY", +"QUERY_PARAMETERS", +"ENCODED_HEADER" +], +"enumDescriptions": [ +"Unspecified request type", +"To pass all the parameters in post body.", +"To pass all the parameters as a part of query parameter.", +"To pass client id and client secret as base 64 encoding of client_id:client_password and rest parameters in post body." +], +"type": "string" +}, +"scope": { +"description": "A space-delimited list of requested scope permissions.", +"type": "string" +}, +"tokenEndpoint": { +"description": "The token url endpoint to send the token request to.", +"type": "string" +}, +"tokenParams": { +"$ref": "GoogleCloudIntegrationsV1alphaParameterMap", +"description": "The token parameters sent along with the token request." +} +}, +"type": "object" +}, +"GoogleCloudIntegrationsV1alphaOAuth2ClientCredentials": { +"description": "For client credentials grant, the client sends a POST request with grant_type as 'client_credentials' to the authorization server. The authorization server will respond with a JSON object containing the access token.", +"id": "GoogleCloudIntegrationsV1alphaOAuth2ClientCredentials", +"properties": { +"accessToken": { +"$ref": "GoogleCloudIntegrationsV1alphaAccessToken", +"description": "Access token fetched from the authorization server." +}, +"clientId": { +"description": "The client's ID.", +"type": "string" +}, +"clientSecret": { +"description": "The client's secret.", +"type": "string" +}, +"requestType": { +"description": "Represent how to pass parameters to fetch access token", +"enum": [ +"REQUEST_TYPE_UNSPECIFIED", +"REQUEST_BODY", +"QUERY_PARAMETERS", +"ENCODED_HEADER" +], +"enumDescriptions": [ +"Unspecified request type", +"To pass all the parameters in post body.", +"To pass all the parameters as a part of query parameter.", +"To pass client id and client secret as base 64 encoding of client_id:client_password and rest parameters in post body." +], +"type": "string" +}, +"scope": { +"description": "A space-delimited list of requested scope permissions.", +"type": "string" +}, +"tokenEndpoint": { +"description": "The token endpoint is used by the client to obtain an access token by presenting its authorization grant or refresh token.", +"type": "string" +}, +"tokenParams": { +"$ref": "GoogleCloudIntegrationsV1alphaParameterMap", +"description": "Token parameters for the auth request." +} +}, +"type": "object" +}, +"GoogleCloudIntegrationsV1alphaOAuth2ResourceOwnerCredentials": { +"description": "For resource owner credentials grant, the client will ask the user for their authorization credentials (ususally a username and password) and send a POST request to the authorization server. The authorization server will respond with a JSON object containing the access token.", +"id": "GoogleCloudIntegrationsV1alphaOAuth2ResourceOwnerCredentials", +"properties": { +"accessToken": { +"$ref": "GoogleCloudIntegrationsV1alphaAccessToken", +"description": "Access token fetched from the authorization server." +}, +"clientId": { +"description": "The client's ID.", +"type": "string" +}, +"clientSecret": { +"description": "The client's secret.", +"type": "string" +}, +"password": { +"description": "The user's password.", +"type": "string" +}, +"requestType": { +"description": "Represent how to pass parameters to fetch access token", +"enum": [ +"REQUEST_TYPE_UNSPECIFIED", +"REQUEST_BODY", +"QUERY_PARAMETERS", +"ENCODED_HEADER" +], +"enumDescriptions": [ +"Unspecified request type", +"To pass all the parameters in post body.", +"To pass all the parameters as a part of query parameter.", +"To pass client id and client secret as base 64 encoding of client_id:client_password and rest parameters in post body." +], +"type": "string" +}, +"scope": { +"description": "A space-delimited list of requested scope permissions.", +"type": "string" +}, +"tokenEndpoint": { +"description": "The token endpoint is used by the client to obtain an access token by presenting its authorization grant or refresh token.", +"type": "string" +}, +"tokenParams": { +"$ref": "GoogleCloudIntegrationsV1alphaParameterMap", +"description": "Token parameters for the auth request." +}, +"username": { +"description": "The user's username.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudIntegrationsV1alphaOidcToken": { +"description": "OIDC Token", +"id": "GoogleCloudIntegrationsV1alphaOidcToken", +"properties": { +"audience": { +"description": "Audience to be used when generating OIDC token. The audience claim identifies the recipients that the JWT is intended for.", +"type": "string" +}, +"serviceAccountEmail": { +"description": "The service account email to be used as the identity for the token.", +"type": "string" +}, +"token": { +"description": "ID token obtained for the service account", +"type": "string" +}, +"tokenExpireTime": { +"description": "The approximate time until the token retrieved is valid.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudIntegrationsV1alphaParameterMap": { +"description": "A generic multi-map that holds key value pairs. They keys and values can be of any type, unless specified.", +"id": "GoogleCloudIntegrationsV1alphaParameterMap", +"properties": { +"entries": { +"description": "A list of parameter map entries.", +"items": { +"$ref": "GoogleCloudIntegrationsV1alphaParameterMapEntry" +}, +"type": "array" +}, +"keyType": { +"description": "Option to specify key type for all entries of the map. If provided then field types for all entries must conform to this.", +"enum": [ +"INTEGRATION_PARAMETER_DATA_TYPE_UNSPECIFIED", +"STRING_VALUE", +"INT_VALUE", +"DOUBLE_VALUE", +"BOOLEAN_VALUE", +"STRING_ARRAY", +"INT_ARRAY", +"DOUBLE_ARRAY", +"BOOLEAN_ARRAY", +"JSON_VALUE", +"PROTO_VALUE", +"PROTO_ARRAY", +"NON_SERIALIZABLE_OBJECT", +"PROTO_ENUM", +"SERIALIZED_OBJECT_VALUE", +"PROTO_ENUM_ARRAY", +"BYTES", +"BYTES_ARRAY" +], +"enumDescriptions": [ +"Unspecified.", +"String.", +"Integer.", +"Double Number.", +"Boolean.", +"String Array.", +"Integer Array.", +"Double Number Array.", +"Boolean Array.", +"Json.", +"Proto Value (Internal use only).", +"Proto Array (Internal use only).", +"// Non-serializable object (Internal use only).", +"Proto Enum (Internal use only).", +"Serialized object (Internal use only).", +"Proto Enum Array (Internal use only).", +"BYTES data types are not allowed for top-level params. They're only meant to support protobufs with BYTES (sub)fields.", +"BYTES_ARRAY data types are not allowed for top-level params. They're only meant to support protobufs with BYTES (sub)fields." +], +"type": "string" +}, +"valueType": { +"description": "Option to specify value type for all entries of the map. If provided then field types for all entries must conform to this.", +"enum": [ +"INTEGRATION_PARAMETER_DATA_TYPE_UNSPECIFIED", +"STRING_VALUE", +"INT_VALUE", +"DOUBLE_VALUE", +"BOOLEAN_VALUE", +"STRING_ARRAY", +"INT_ARRAY", +"DOUBLE_ARRAY", +"BOOLEAN_ARRAY", +"JSON_VALUE", +"PROTO_VALUE", +"PROTO_ARRAY", +"NON_SERIALIZABLE_OBJECT", +"PROTO_ENUM", +"SERIALIZED_OBJECT_VALUE", +"PROTO_ENUM_ARRAY", +"BYTES", +"BYTES_ARRAY" +], +"enumDescriptions": [ +"Unspecified.", +"String.", +"Integer.", +"Double Number.", +"Boolean.", +"String Array.", +"Integer Array.", +"Double Number Array.", +"Boolean Array.", +"Json.", +"Proto Value (Internal use only).", +"Proto Array (Internal use only).", +"// Non-serializable object (Internal use only).", +"Proto Enum (Internal use only).", +"Serialized object (Internal use only).", +"Proto Enum Array (Internal use only).", +"BYTES data types are not allowed for top-level params. They're only meant to support protobufs with BYTES (sub)fields.", +"BYTES_ARRAY data types are not allowed for top-level params. They're only meant to support protobufs with BYTES (sub)fields." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudIntegrationsV1alphaParameterMapEntry": { +"description": "Entry is a pair of key and value.", +"id": "GoogleCloudIntegrationsV1alphaParameterMapEntry", +"properties": { +"key": { +"$ref": "GoogleCloudIntegrationsV1alphaParameterMapField", +"description": "Key of the map entry." +}, +"value": { +"$ref": "GoogleCloudIntegrationsV1alphaParameterMapField", +"description": "Value of the map entry." +} +}, +"type": "object" +}, +"GoogleCloudIntegrationsV1alphaParameterMapField": { +"description": "Field represents either the key or value in an entry.", +"id": "GoogleCloudIntegrationsV1alphaParameterMapField", +"properties": { +"literalValue": { +"$ref": "GoogleCloudIntegrationsV1alphaValueType", +"description": "Passing a literal value." +}, +"referenceKey": { +"description": "Referencing one of the Integration variables.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudIntegrationsV1alphaProjectProperties": { +"description": "Metadata information for the given project", +"id": "GoogleCloudIntegrationsV1alphaProjectProperties", +"properties": { +"billingType": { +"description": "Required. Required: The client billing type that was requested", +"enum": [ +"BILLING_TYPE_UNSPECIFIED", +"APIGEE_TRIALS", +"APIGEE_SUBSCRIPTION", +"PAYG", +"SUBSCRIPTION", +"NO_BILLING" +], +"enumDescriptions": [ +"", +"A trial org provisioned through Apigee Provisioning Wizard", +"Subscription based on concurrency model for Apigee and Application Integration users.", +"Consumption based users of IP", +"Argentum subscription for Application Integration users. To be used in the future.", +"Special billing type to avoid any billing to clients (eg: trusted tester program). This should not be used without consulting with the leads." +], +"type": "string" +}, +"ipEnablementState": { +"description": "An enum value of what the enablement state is for the given project", +"enum": [ +"IP_ENABLEMENT_STATE_UNSPECIFIED", +"IP_ENABLEMENT_STATE_STANDALONE", +"IP_ENABLEMENT_STATE_APIGEE", +"IP_ENABLEMENT_STATE_APIGEE_ENTITLED" +], +"enumDescriptions": [ +"The client enablement status is unspecified", +"The client is enabled on Standalone IP", +"The client is enabled on Apigee", +"The client is entitled for Apigee but not enabled" +], +"type": "string" +}, +"provisionedRegions": { +"description": "A list of provisioned regions on the current project", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudIntegrationsV1alphaProvisionClientPostProcessorRequest": { +"description": "Request for PostProvisioning rpc call.", +"id": "GoogleCloudIntegrationsV1alphaProvisionClientPostProcessorRequest", +"properties": { +"workflows": { +"description": "Optional. Indicate which workflows to create", +"items": { +"enum": [ +"SAMPLE_INTEGRATIONS_UNSPECIFIED", +"SAMPLE_WORKFLOW_ECOM_PROCESSING", +"EXECUTE_CONNECTOR_TOOL_WORKFLOW" +], +"enumDescriptions": [ +"Default value, should not be used.", +"Ecom processing workflow", +"Connector tool workflow" +], +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudIntegrationsV1alphaProvisionClientPostProcessorResponse": { +"description": "Response for PostProvisioning rpc call.", +"id": "GoogleCloudIntegrationsV1alphaProvisionClientPostProcessorResponse", +"properties": {}, +"type": "object" +}, +"GoogleCloudIntegrationsV1alphaProvisionClientRequest": { +"description": "Request for the Provision rpc", +"id": "GoogleCloudIntegrationsV1alphaProvisionClientRequest", +"properties": { +"cloudKmsConfig": { +"$ref": "GoogleCloudIntegrationsV1alphaCloudKmsConfig", +"description": "Optional. OPTIONAL: Cloud KMS config for AuthModule to encrypt/decrypt credentials." +}, +"createSampleWorkflows": { +"description": "Optional. Indicates if sample workflow should be created along with provisioning", +"type": "boolean" +}, +"enableHttpCall": { +"description": "Optional. Indicates if the client should be allowed to make HTTP calls.", +"type": "boolean" +}, +"enableManagedAiFeatures": { +"description": "Optional. Indicates if the client should be allowed to use managed AI features, i.e. using Cloud Companion APIs of the tenant project. This will allow the customers to use features like Troubleshooting, OpenAPI spec enrichment, etc. for free.", +"type": "boolean" +}, +"provisionGmek": { +"deprecated": true, +"description": "Optional. Deprecated. Indicates provision with GMEK or CMEK. This field is deprecated and the provision would always be GMEK if cloud_kms_config is not present in the request.", +"type": "boolean" +}, +"runAsServiceAccount": { +"description": "Optional. User input run-as service account, if empty, will bring up a new default service account", +"type": "string" +}, +"skipCpProvision": { +"description": "Optional. Indicates if skip CP provision or not", +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleCloudIntegrationsV1alphaPublishIntegrationVersionRequest": { +"description": "Request for PublishIntegrationVersion.", +"id": "GoogleCloudIntegrationsV1alphaPublishIntegrationVersionRequest", +"properties": { +"configParameters": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"description": "Optional. Config parameters used during integration execution.", +"type": "object" +} +}, +"type": "object" +}, +"GoogleCloudIntegrationsV1alphaPublishIntegrationVersionResponse": { +"description": "Response for PublishIntegrationVersion.", +"id": "GoogleCloudIntegrationsV1alphaPublishIntegrationVersionResponse", +"properties": {}, +"type": "object" +}, +"GoogleCloudIntegrationsV1alphaReplaceServiceAccountRequest": { +"description": "Request for the ReplaceServiceAccount rpc", +"id": "GoogleCloudIntegrationsV1alphaReplaceServiceAccountRequest", +"properties": { +"runAsServiceAccount": { +"description": "Required. REQUIRED: Run-as service account to be updated", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudIntegrationsV1alphaReplayExecutionRequest": { +"description": "Request for replaying an execution.", +"id": "GoogleCloudIntegrationsV1alphaReplayExecutionRequest", +"properties": { +"modifiedParameters": { +"additionalProperties": { +"$ref": "GoogleCloudIntegrationsV1alphaValueType" +}, +"description": "Optional. The modified input parameters for replay. - Provide values for all the fields in the 'update_mask'. Any field not present in the 'update_mask' will be ignored and its value will be taken from the original execution. - If the 'update_mask' is not specified, all the parameters from original execution will be ignored and only the `modified_parameters` will be used.", +"type": "object" +}, +"replayMode": { +"description": "Optional. The mode of the replay.", +"enum": [ +"REPLAY_MODE_UNSPECIFIED", +"REPLAY_MODE_FROM_BEGINNING", +"REPLAY_MODE_POINT_OF_FAILURE" +], +"enumDescriptions": [ +"Default value.", +"Replay the original execution.", +"Replay the execution with the modified parameters." +], +"type": "string" +}, +"replayReason": { +"description": "Required. The user provided reason for replaying the execution.", +"type": "string" +}, +"updateMask": { +"description": "Optional. The list of parameters to be updated. - If the `update_mask` is not specified, all the parameters from original execution will be ignored and only the `modified_parameters` will be used. - It is an error to include a parameter in `update_mask` but not in `modified_parameters`. - Updating nested fields in a JSON parameter is not supported, please provide the complete JSON in the `modified_parameters`.", +"format": "google-fieldmask", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudIntegrationsV1alphaReplayExecutionResponse": { +"description": "Response for replaying an execution.", +"id": "GoogleCloudIntegrationsV1alphaReplayExecutionResponse", +"properties": { +"executionId": { +"description": "Next ID: 4 The id of the execution corresponding to this run of the integration.", +"type": "string" +}, +"outputParameters": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"description": "OUTPUT parameters in format of Map. Where Key is the name of the parameter. The parameters would only be present in case of synchrounous execution. Note: Name of the system generated parameters are wrapped by backtick(`) to distinguish them from the user defined parameters.", +"type": "object" +}, +"replayedExecutionId": { +"description": "The execution id which is replayed.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudIntegrationsV1alphaResolveSuspensionRequest": { +"description": "Request for [Suspensions.ResolveSuspensions].", +"id": "GoogleCloudIntegrationsV1alphaResolveSuspensionRequest", +"properties": { +"suspension": { +"$ref": "GoogleCloudIntegrationsV1alphaSuspension", +"description": "Suspension, containing the event_execution_info_id, task_id, and state to set on the corresponding suspension record." +} +}, +"type": "object" +}, +"GoogleCloudIntegrationsV1alphaResolveSuspensionResponse": { +"description": "Response for Suspensions.ResolveSuspensions.", +"id": "GoogleCloudIntegrationsV1alphaResolveSuspensionResponse", +"properties": {}, +"type": "object" +}, +"GoogleCloudIntegrationsV1alphaRuntimeActionSchema": { +"description": "Metadata of an action, including schemas for its inputs and outputs.", +"id": "GoogleCloudIntegrationsV1alphaRuntimeActionSchema", +"properties": { +"action": { +"description": "Name of the action.", +"type": "string" +}, +"inputSchema": { +"description": "Input parameter schema for the action.", +"type": "string" +}, +"outputSchema": { +"description": "Output parameter schema for the action.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudIntegrationsV1alphaRuntimeEntitySchema": { +"description": "Metadata of an entity, including a schema for its properties.", +"id": "GoogleCloudIntegrationsV1alphaRuntimeEntitySchema", +"properties": { +"arrayFieldSchema": { +"description": "The above schema, but for an array of the associated entity.", +"type": "string" +}, +"entity": { +"description": "Name of the entity.", +"type": "string" +}, +"fieldSchema": { +"description": "List of fields in the entity.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudIntegrationsV1alphaScheduleIntegrationsRequest": { +"description": "The request for scheduling an integration.", +"id": "GoogleCloudIntegrationsV1alphaScheduleIntegrationsRequest", +"properties": { +"inputParameters": { +"additionalProperties": { +"$ref": "GoogleCloudIntegrationsV1alphaValueType" +}, +"description": "Optional. Input parameters used by integration execution.", +"type": "object" +}, +"parameterEntries": { +"deprecated": true, +"description": "Parameters are a part of Event and can be used to communicate between different tasks that are part of the same integration execution.", +"items": { +"$ref": "EnterpriseCrmFrontendsEventbusProtoParameterEntry" +}, +"type": "array" +}, +"parameters": { +"$ref": "EnterpriseCrmEventbusProtoEventParameters", +"deprecated": true, +"description": "Passed in as parameters to each integration execution." +}, +"requestId": { +"description": "This is used to de-dup incoming request: if the duplicate request was detected, the response from the previous execution is returned.", +"type": "string" +}, +"scheduleTime": { +"description": "The time that the integration should be executed. If the time is less or equal to the current time, the integration is executed immediately.", +"format": "google-datetime", +"type": "string" +}, +"triggerId": { +"description": "Required. Matched against all {@link TriggerConfig}s across all integrations. i.e. TriggerConfig.trigger_id.equals(trigger_id)", +"type": "string" +}, +"userGeneratedExecutionId": { +"description": "Optional. This is a unique id provided by the method caller. If provided this will be used as the execution_id when a new execution info is created. This is a string representation of a UUID. Must have no more than 36 characters and contain only alphanumeric characters and hyphens.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudIntegrationsV1alphaScheduleIntegrationsResponse": { +"description": "The response for executing an integration.", +"id": "GoogleCloudIntegrationsV1alphaScheduleIntegrationsResponse", +"properties": { +"executionInfoIds": { +"description": "The execution info id for the executed integrations.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudIntegrationsV1alphaSearchIntegrationsResponse": { +"description": "Response for SearchIntegrations.", +"id": "GoogleCloudIntegrationsV1alphaSearchIntegrationsResponse", +"properties": { +"integrations": { +"description": "The list of integrations that match the search criteria.", +"items": { +"$ref": "GoogleCloudIntegrationsV1alphaSearchIntegrationsResponseIntegrationSearchResult" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudIntegrationsV1alphaSearchIntegrationsResponseIntegrationSearchResult": { +"description": "The integration search result with integration level information.", +"id": "GoogleCloudIntegrationsV1alphaSearchIntegrationsResponseIntegrationSearchResult", +"properties": { +"createTime": { +"description": "Output only. The create time of the integration version.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"creator": { +"description": "The creator of the integration version.", +"type": "string" +}, +"description": { +"description": "The description of the integration version.", +"type": "string" +}, +"id": { +"description": "The integration id.", +"type": "string" +}, +"name": { +"description": "The integration document metadata.", +"type": "string" +}, +"region": { +"description": "The region of the integration version.", +"type": "string" +}, +"status": { +"description": "Output only. The status of the integration version.", +"enum": [ +"INTEGRATION_STATE_UNSPECIFIED", +"DRAFT", +"ACTIVE", +"ARCHIVED", +"SNAPSHOT" +], +"enumDescriptions": [ +"Default.", +"Draft.", +"Active.", +"Archived.", +"Snapshot." +], +"readOnly": true, +"type": "string" +}, +"version": { +"description": "The version of the integration version.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudIntegrationsV1alphaSearchTemplatesResponse": { +"description": "Response for a request to search templates", +"id": "GoogleCloudIntegrationsV1alphaSearchTemplatesResponse", +"properties": { +"nextPageToken": { +"description": "The token used to retrieve the next page results.", +"type": "string" +}, +"templates": { +"description": "List of templates retrieved.", +"items": { +"$ref": "GoogleCloudIntegrationsV1alphaTemplate" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudIntegrationsV1alphaSerializedFile": { +"description": "To store string representation of Integration file.", +"id": "GoogleCloudIntegrationsV1alphaSerializedFile", +"properties": { +"content": { +"description": "String representation of the file content.", +"type": "string" +}, +"file": { +"description": "File information like Integration version, Integration Config variables etc.", +"enum": [ +"INTEGRATION_FILE_UNSPECIFIED", +"INTEGRATION", +"INTEGRATION_CONFIG_VARIABLES" +], +"enumDescriptions": [ +"Default value.", +"Integration file.", +"Integration Config variables." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudIntegrationsV1alphaServiceAccountCredentials": { +"description": "Represents the service account which can be used to generate access token for authenticating the service call.", +"id": "GoogleCloudIntegrationsV1alphaServiceAccountCredentials", +"properties": { +"scope": { +"description": "A space-delimited list of requested scope permissions.", +"type": "string" +}, +"serviceAccount": { +"description": "Name of the service account that has the permission to make the request.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudIntegrationsV1alphaSfdcChannel": { +"description": "The SfdcChannel that points to a CDC or Platform Event Channel.", +"id": "GoogleCloudIntegrationsV1alphaSfdcChannel", +"properties": { +"channelTopic": { +"description": "Required. The Channel topic defined by salesforce once an channel is opened", +"type": "string" +}, +"createTime": { +"description": "Output only. Time when the channel is created", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"deleteTime": { +"description": "Output only. Time when the channel was deleted. Empty if not deleted.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"description": { +"description": "Optional. The description for this channel", +"type": "string" +}, +"displayName": { +"description": "Optional. Client level unique name/alias to easily reference a channel.", +"type": "string" +}, +"isActive": { +"description": "Output only. Indicated if a channel has any active integrations referencing it. Set to false when the channel is created, and set to true if there is any integration published with the channel configured in it.", +"readOnly": true, +"type": "boolean" +}, +"lastReplayId": { +"description": "Output only. Last sfdc messsage replay id for channel", +"readOnly": true, +"type": "string" +}, +"name": { +"description": "Resource name of the SFDC channel projects/{project}/locations/{location}/sfdcInstances/{sfdc_instance}/sfdcChannels/{sfdc_channel}.", +"type": "string" +}, +"updateTime": { +"description": "Output only. Time when the channel was last updated", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudIntegrationsV1alphaSfdcInstance": { +"description": "The SfdcInstance resource use to hold channels and connection config data.", +"id": "GoogleCloudIntegrationsV1alphaSfdcInstance", +"properties": { +"authConfigId": { +"description": "A list of AuthConfigs that can be tried to open the channel to SFDC", +"items": { +"type": "string" +}, +"type": "array" +}, +"createTime": { +"description": "Output only. Time when the instance is created", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"deleteTime": { +"description": "Output only. Time when the instance was deleted. Empty if not deleted.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"description": { +"description": "Optional. A description of the sfdc instance.", +"type": "string" +}, +"displayName": { +"description": "Optional. User selected unique name/alias to easily reference an instance.", +"type": "string" +}, +"name": { +"description": "Resource name of the SFDC instance projects/{project}/locations/{location}/sfdcInstances/{sfdcInstance}.", +"type": "string" +}, +"serviceAuthority": { +"description": "Optional. URL used for API calls after authentication (the login authority is configured within the referenced AuthConfig).", +"type": "string" +}, +"sfdcOrgId": { +"description": "The SFDC Org Id. This is defined in salesforce.", +"type": "string" +}, +"updateTime": { +"description": "Output only. Time when the instance was last updated", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudIntegrationsV1alphaShareTemplateRequest": { +"description": "Request to Share template", +"id": "GoogleCloudIntegrationsV1alphaShareTemplateRequest", +"properties": { +"resourceNames": { +"description": "Optional. Project name resources to share the template. The project names is expected in resource format Ex: projects/{project-number} or organization/{org-id}", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudIntegrationsV1alphaStringParameterArray": { +"description": "This message only contains a field of string array.", +"id": "GoogleCloudIntegrationsV1alphaStringParameterArray", +"properties": { +"stringValues": { +"description": "String array.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudIntegrationsV1alphaSuccessPolicy": { +"description": "Policy that dictates the behavior for the task after it completes successfully.", +"id": "GoogleCloudIntegrationsV1alphaSuccessPolicy", +"properties": { +"finalState": { +"description": "State to which the execution snapshot status will be set if the task succeeds.", +"enum": [ +"FINAL_STATE_UNSPECIFIED", +"SUCCEEDED", +"SUSPENDED" +], +"enumDescriptions": [ +"UNSPECIFIED.", +"The default behavior, where successful tasks will be marked as SUCCEEDED.", +"Sets the state to SUSPENDED after executing. This is required for SuspensionTask; event execution will continue once the user calls ResolveSuspensions with the event_execution_info_id and the task number." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudIntegrationsV1alphaSuspension": { +"description": "A record representing a suspension.", +"id": "GoogleCloudIntegrationsV1alphaSuspension", +"properties": { +"approvalConfig": { +"$ref": "GoogleCloudIntegrationsV1alphaSuspensionApprovalConfig", +"description": "Controls the notifications and approval permissions for this suspension." +}, +"audit": { +"$ref": "GoogleCloudIntegrationsV1alphaSuspensionAudit", +"description": "Metadata pertaining to the resolution of this suspension." +}, +"createTime": { +"description": "Output only. Auto-generated.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"eventExecutionInfoId": { +"description": "Required. ID of the associated execution.", +"type": "string" +}, +"integration": { +"description": "Required. The name of the originating integration.", +"type": "string" +}, +"lastModifyTime": { +"description": "Output only. Auto-generated.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"name": { +"description": "Resource name for suspensions suspension/{suspension_id}", +"type": "string" +}, +"state": { +"description": "Required. State of this suspension, indicating what action a resolver has taken.", +"enum": [ +"RESOLUTION_STATE_UNSPECIFIED", +"PENDING", +"REJECTED", +"LIFTED" +], +"enumDescriptions": [ +"Unset state.", +"The suspension has not yet been resolved.", +"The resolver has rejected the suspension.", +"The resolver has lifted the suspension." +], +"type": "string" +}, +"suspensionConfig": { +"$ref": "EnterpriseCrmEventbusProtoSuspensionConfig", +"deprecated": true, +"description": "Controls the notifications and resolver permissions for this suspension." +}, +"taskId": { +"description": "Required. Task id of the associated SuspensionTask.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudIntegrationsV1alphaSuspensionApprovalConfig": { +"description": "Configurations for approving the Suspension.", +"id": "GoogleCloudIntegrationsV1alphaSuspensionApprovalConfig", +"properties": { +"customMessage": { +"description": "Information to provide for recipients.", +"type": "string" +}, +"emailAddresses": { +"description": "Email addresses to send approval request to.", +"items": { +"type": "string" +}, +"type": "array" +}, +"expiration": { +"$ref": "GoogleCloudIntegrationsV1alphaSuspensionApprovalExpiration", +"description": "Indicates the next steps when no external actions happen on the suspension." +} +}, +"type": "object" +}, +"GoogleCloudIntegrationsV1alphaSuspensionApprovalExpiration": { +"description": "Expiration configs for the approval request.", +"id": "GoogleCloudIntegrationsV1alphaSuspensionApprovalExpiration", +"properties": { +"expireTime": { +"description": "Output only. Time after which the suspension expires, if no action taken.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"liftWhenExpired": { +"description": "Whether the suspension will be REJECTED or LIFTED upon expiration. REJECTED is the default behavior.", +"type": "boolean" +}, +"remindTime": { +"description": "Time after the previous suspension action reminder, if any, is sent using the selected notification option, for a suspension which is still PENDING_UNSPECIFIED.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudIntegrationsV1alphaSuspensionAudit": { +"description": "Contains when and by whom the suspension was resolved.", +"id": "GoogleCloudIntegrationsV1alphaSuspensionAudit", +"properties": { +"resolveTime": { +"description": "Time at which this suspension was resolved.", +"format": "google-datetime", +"type": "string" +}, +"resolver": { +"description": "Email address of the person who resolved this suspension.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudIntegrationsV1alphaSwitchEncryptionRequest": { +"description": "Request for the SwitchEncryption rpc", +"id": "GoogleCloudIntegrationsV1alphaSwitchEncryptionRequest", +"properties": { +"cloudKmsConfig": { +"$ref": "GoogleCloudIntegrationsV1alphaCloudKmsConfig", +"description": "Required. REQUIRED: Cloud KMS config for AuthModule to encrypt/decrypt credentials." +} +}, +"type": "object" +}, +"GoogleCloudIntegrationsV1alphaSwitchVariableMaskingRequest": { +"description": "Request to enable/disable variable masking for a provisioned client", +"id": "GoogleCloudIntegrationsV1alphaSwitchVariableMaskingRequest", +"properties": { +"enableVariableMasking": { +"description": "Required. REQUIRED: True if variable masking feature should be turned on for this region", +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleCloudIntegrationsV1alphaTakeoverEditLockRequest": { +"description": "Request for TakeoverEditLock.", +"id": "GoogleCloudIntegrationsV1alphaTakeoverEditLockRequest", +"properties": {}, +"type": "object" +}, +"GoogleCloudIntegrationsV1alphaTakeoverEditLockResponse": { +"description": "Response for TakeoverEditLock.", +"id": "GoogleCloudIntegrationsV1alphaTakeoverEditLockResponse", +"properties": { +"integrationVersion": { +"$ref": "GoogleCloudIntegrationsV1alphaIntegrationVersion", +"description": "Version after the lock is acquired by the new user." +} +}, +"type": "object" +}, +"GoogleCloudIntegrationsV1alphaTakeoverTestCaseEditLockRequest": { +"description": "Request for TakeoverTestCaseEditLock.", +"id": "GoogleCloudIntegrationsV1alphaTakeoverTestCaseEditLockRequest", +"properties": {}, +"type": "object" +}, +"GoogleCloudIntegrationsV1alphaTaskConfig": { +"description": "The task configuration details. This is not the implementation of Task. There might be multiple TaskConfigs for the same Task.", +"id": "GoogleCloudIntegrationsV1alphaTaskConfig", +"properties": { +"conditionalFailurePolicies": { +"$ref": "GoogleCloudIntegrationsV1alphaConditionalFailurePolicies", +"description": "Optional. The list of conditional failure policies that will be applied to the task in order." +}, +"description": { +"description": "Optional. User-provided description intended to give additional business context about the task.", +"type": "string" +}, +"displayName": { +"description": "Optional. User-provided label that is attached to this TaskConfig in the UI.", +"type": "string" +}, +"errorCatcherId": { +"description": "Optional. Optional Error catcher id of the error catch flow which will be executed when execution error happens in the task", +"type": "string" +}, +"externalTaskType": { +"description": "Optional. External task type of the task", +"enum": [ +"EXTERNAL_TASK_TYPE_UNSPECIFIED", +"NORMAL_TASK", +"ERROR_TASK" +], +"enumDescriptions": [ +"Default value. External task type is not specified", +"Tasks belongs to the normal task flows", +"Task belongs to the error catch task flows" +], +"type": "string" +}, +"failurePolicy": { +"$ref": "GoogleCloudIntegrationsV1alphaFailurePolicy", +"description": "Optional. Determines the number of times the task will be retried on failure and with what retry strategy. This is applicable for asynchronous calls to Eventbus alone (Post To Queue, Schedule etc.)." +}, +"jsonValidationOption": { +"description": "Optional. If set, overrides the option configured in the Task implementation class.", +"enum": [ +"JSON_VALIDATION_OPTION_UNSPECIFIED", +"SKIP", +"PRE_EXECUTION", +"POST_EXECUTION", +"PRE_POST_EXECUTION" +], +"enumDescriptions": [ +"As per the default behavior, no validation will be run. Will not override any option set in a Task.", +"Do not run any validation against JSON schemas.", +"Validate all potential input JSON parameters against schemas specified in IntegrationParameter.", +"Validate all potential output JSON parameters against schemas specified in IntegrationParameter.", +"Perform both PRE_EXECUTION and POST_EXECUTION validations." +], +"type": "string" +}, +"nextTasks": { +"description": "Optional. The set of tasks that are next in line to be executed as per the execution graph defined for the parent event, specified by `event_config_id`. Each of these next tasks are executed only if the condition associated with them evaluates to true.", +"items": { +"$ref": "GoogleCloudIntegrationsV1alphaNextTask" +}, +"type": "array" +}, +"nextTasksExecutionPolicy": { +"description": "Optional. The policy dictating the execution of the next set of tasks for the current task.", +"enum": [ +"NEXT_TASKS_EXECUTION_POLICY_UNSPECIFIED", +"RUN_ALL_MATCH", +"RUN_FIRST_MATCH" +], +"enumDescriptions": [ +"Default.", +"Execute all the tasks that satisfy their associated condition.", +"Execute the first task that satisfies the associated condition." +], +"type": "string" +}, +"parameters": { +"additionalProperties": { +"$ref": "GoogleCloudIntegrationsV1alphaEventParameter" +}, +"description": "Optional. The customized parameters the user can pass to this task.", +"type": "object" +}, +"position": { +"$ref": "GoogleCloudIntegrationsV1alphaCoordinate", +"description": "Optional. Informs the front-end application where to draw this error catcher config on the UI." +}, +"successPolicy": { +"$ref": "GoogleCloudIntegrationsV1alphaSuccessPolicy", +"description": "Optional. Determines what action to take upon successful task completion." +}, +"synchronousCallFailurePolicy": { +"$ref": "GoogleCloudIntegrationsV1alphaFailurePolicy", +"description": "Optional. Determines the number of times the task will be retried on failure and with what retry strategy. This is applicable for synchronous calls to Eventbus alone (Post)." +}, +"task": { +"description": "Optional. The name for the task.", +"type": "string" +}, +"taskExecutionStrategy": { +"description": "Optional. The policy dictating the execution strategy of this task.", +"enum": [ +"TASK_EXECUTION_STRATEGY_UNSPECIFIED", +"WHEN_ALL_SUCCEED", +"WHEN_ANY_SUCCEED", +"WHEN_ALL_TASKS_AND_CONDITIONS_SUCCEED" +], +"enumDescriptions": [ +"Default. If the strategy is not set explicitly, it will default to `WHEN_ALL_SUCCEED`.", +"Wait until all of its previous tasks finished execution, then verify at least one of the edge conditions is met, and execute if possible. This should be considered as WHEN_ALL_TASKS_SUCCEED.", +"Start execution as long as any of its previous tasks finished execution and the corresponding edge condition is met (since we will execute if only that succeeding edge condition is met).", +"Wait until all of its previous tasks finished execution, then verify the all edge conditions are met and execute if possible." +], +"type": "string" +}, +"taskId": { +"description": "Required. The identifier of this task within its parent event config, specified by the client. This should be unique among all the tasks belong to the same event config. We use this field as the identifier to find next tasks (via field `next_tasks.task_id`).", +"type": "string" +}, +"taskTemplate": { +"description": "Optional. Used to define task-template name if task is of type task-template", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudIntegrationsV1alphaTaskExecutionDetails": { +"description": "Contains the details of the execution of this task.", +"id": "GoogleCloudIntegrationsV1alphaTaskExecutionDetails", +"properties": { +"taskAttemptStats": { +"description": "Status for the current task execution attempt.", +"items": { +"$ref": "GoogleCloudIntegrationsV1alphaAttemptStats" +}, +"type": "array" +}, +"taskExecutionState": { +"description": "The execution state of this task.", +"enum": [ +"TASK_EXECUTION_STATE_UNSPECIFIED", +"PENDING_EXECUTION", +"IN_PROCESS", +"SUCCEED", +"FAILED", +"FATAL", +"RETRY_ON_HOLD", +"SKIPPED", +"CANCELLED", +"PENDING_ROLLBACK", +"ROLLBACK_IN_PROCESS", +"ROLLEDBACK", +"SUSPENDED" +], +"enumDescriptions": [ +"Default value.", +"Task is waiting for its precondition tasks to finish to start the execution.", +"Task is under processing.", +"Task execution successfully finished. There's no more change after this state.", +"Task execution failed. There's no more change after this state.", +"Task execution failed and cause the whole integration execution to fail immediately. There's no more change after this state.", +"Task execution failed and waiting for retry.", +"Task execution skipped. This happens when its precondition wasn't met, or the integration execution been canceled before reach to the task. There's no more changes after this state.", +"Task execution canceled when in progress. This happens when integration execution been canceled or any other task fall in fatal state.", +"Task is waiting for its dependency tasks' rollback to finish to start its rollback.", +"Task is rolling back.", +"Task is rolled back. This is the state we will set regardless of rollback succeeding or failing.", +"Task is a SuspensionTask which has executed once, creating a pending suspension." +], +"type": "string" +}, +"taskNumber": { +"description": "Pointer to the task config it used for execution.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudIntegrationsV1alphaTemplate": { +"description": "Defines the template for Application Integration", +"id": "GoogleCloudIntegrationsV1alphaTemplate", +"properties": { +"author": { +"description": "Optional. Creator of the template.", +"type": "string" +}, +"categories": { +"description": "Required. Categories associated with the Template. The categories listed below will be utilized for the Template listing.", +"items": { +"enum": [ +"CATEGORY_UNSPECIFIED", +"AI_MACHINE_LEARNING", +"BUSINESS_INTELLIGENCE", +"COLLABORATION", +"CUSTOMER_SERVICE", +"DATABASES", +"DEVOPS_IT", +"CONTENT_AND_FILES", +"FINANCE_AND_ACCOUNTING", +"HUMAN_RESOURCES", +"OPERATIONS", +"PRODUCT_PROJECT_MANAGEMENT", +"PRODUCTIVITY", +"SALES_AND_MARKETING", +"UNIVERSAL_CONNECTORS", +"UTILITY", +"OTHERS" +], +"enumDescriptions": [ +"Category is unspecified", +"AI_MACHINE_LEARNING", +"BUSINESS_INTELLIGENCE", +"COLLABORATION", +"CUSTOMER_SERVICE", +"DATAABASES", +"DEVOPS_IT", +"CONTENT_AND_FILES", +"FINANCE_AND_ACCOUNTING", +"HUMAN_RESOURCES", +"OPERATIONS", +"PRODUCT_PROJECT_MANAGEMENT", +"PRODUCTIVITY", +"SALES_AND_MARKETING", +"UNIVERSAL_CONNECTORS", +"UTILITY", +"OTHERS" +], +"type": "string" +}, +"type": "array" +}, +"components": { +"description": "Optional. Components being used in the template. This could be used to categorize and filter.", +"items": { +"$ref": "GoogleCloudIntegrationsV1alphaTemplateComponent" +}, +"type": "array" +}, +"createTime": { +"description": "Output only. Auto-generated.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"description": { +"description": "Optional. Description of the template. The length should not be more than 255 characters", +"type": "string" +}, +"displayName": { +"description": "Required. The name of the template", +"type": "string" +}, +"docLink": { +"description": "Optional. Link to template documentation.", +"type": "string" +}, +"lastUsedTime": { +"description": "Optional. Time the template was last used.", +"format": "google-datetime", +"type": "string" +}, +"name": { +"description": "Identifier. Resource name of the template.", +"type": "string" +}, +"sharedWith": { +"description": "Required. Resource names with which the template is shared for example ProjectNumber/Ord id", +"items": { +"type": "string" +}, +"type": "array" +}, +"tags": { +"description": "Required. Tags which are used to identify templates. These tags could be for business use case, connectors etc.", +"items": { +"type": "string" +}, +"type": "array" +}, +"templateBundle": { +"$ref": "GoogleCloudIntegrationsV1alphaTemplateBundle", +"description": "Required. Bundle which is part of the templates. The template entities in the bundle would be converted to an actual entity." +}, +"updateTime": { +"description": "Output only. Auto-generated", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"usageCount": { +"description": "Optional. Number of template usages.", +"format": "int64", +"type": "string" +}, +"usageInfo": { +"description": "Optional. Information on how to use the template. This should contain detailed information about usage of the template.", +"type": "string" +}, +"visibility": { +"description": "Required. Visibility of the template.", +"enum": [ +"VISIBILITY_UNSPECIFIED", +"PRIVATE", +"SHARED", +"PUBLIC" +], +"enumDescriptions": [ +"Visibility is unspecified", +"Visibility is private", +"Visibility is shared", +"Visibility is public" +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudIntegrationsV1alphaTemplateBundle": { +"description": "Define the bundle of the template.", +"id": "GoogleCloudIntegrationsV1alphaTemplateBundle", +"properties": { +"integrationVersionTemplate": { +"$ref": "GoogleCloudIntegrationsV1alphaIntegrationVersionTemplate", +"description": "Required. Main integration templates of the template bundle." +}, +"subIntegrationVersionTemplates": { +"description": "Optional. Sub integration templates which would be added along with main integration.", +"items": { +"$ref": "GoogleCloudIntegrationsV1alphaIntegrationVersionTemplate" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudIntegrationsV1alphaTemplateComponent": { +"description": "Define the components that are present in a template.", +"id": "GoogleCloudIntegrationsV1alphaTemplateComponent", +"properties": { +"name": { +"description": "Optional. Name of the component.", +"type": "string" +}, +"type": { +"description": "Optional. Type of the component.", +"enum": [ +"TYPE_UNSPECIFIED", +"TRIGGER", +"TASK", +"CONNECTOR" +], +"enumDescriptions": [ +"Component type is unspecified", +"Trigger component", +"Task component", +"Connector component" +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudIntegrationsV1alphaTestCase": { +"description": "Defines the functional test case for Application Integration. Next available id: 15", +"id": "GoogleCloudIntegrationsV1alphaTestCase", +"properties": { +"createTime": { +"description": "Auto-generated.", +"format": "google-datetime", +"type": "string" +}, +"creatorEmail": { +"description": "Optional. The creator's email address. Generated based on the End User Credentials/LOAS role of the user making the call.", +"type": "string" +}, +"databasePersistencePolicy": { +"description": "Optional. Various policies for how to persist the test execution info including execution info, execution export info, execution metadata index and execution param index..", +"enum": [ +"DATABASE_PERSISTENCE_POLICY_UNSPECIFIED", +"DATABASE_PERSISTENCE_DISABLED", +"DATABASE_PERSISTENCE_ASYNC" +], +"enumDescriptions": [ +"Enables persistence for all execution data.", +"Disables persistence for all execution data.", +"Asynchronously persist all execution data." +], +"type": "string" +}, +"description": { +"description": "Optional. Description of the test case.", +"type": "string" +}, +"displayName": { +"description": "Required. The display name of test case.", +"type": "string" +}, +"lastModifierEmail": { +"description": "The last modifier's email address. Generated based on the End User Credentials/LOAS role of the user making the call.", +"type": "string" +}, +"lockHolderEmail": { +"description": "Optional. The edit lock holder's email address. Generated based on the End User Credentials/LOAS role of the user making the call.", +"type": "string" +}, +"name": { +"description": "Output only. Auto-generated primary key.", +"readOnly": true, +"type": "string" +}, +"testInputParameters": { +"description": "Optional. Parameters that are expected to be passed to the test case when the test case is triggered. This gives the user the ability to provide default values. This should include all the output variables of the trigger as input variables.", +"items": { +"$ref": "GoogleCloudIntegrationsV1alphaIntegrationParameter" +}, +"type": "array" +}, +"testTaskConfigs": { +"description": "Optional. However, the test case doesn't mock or assert anything without test_task_configs.", +"items": { +"$ref": "GoogleCloudIntegrationsV1alphaTestTaskConfig" +}, +"type": "array" +}, +"triggerConfig": { +"$ref": "GoogleCloudIntegrationsV1alphaTriggerConfig", +"description": "Optional. Auto-generated." +}, +"triggerId": { +"description": "Required. This defines the trigger ID in workflow which is considered to be executed as starting point of the test case", +"type": "string" +}, +"updateTime": { +"description": "Auto-generated.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudIntegrationsV1alphaTestIntegrationsRequest": { +"description": "The request for testing an integration.", +"id": "GoogleCloudIntegrationsV1alphaTestIntegrationsRequest", +"properties": { +"clientId": { +"description": "Required. This is used to identify the client on whose behalf the event will be executed.", +"type": "string" +}, +"configParameters": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"description": "Optional. Config parameters used during integration execution.", +"type": "object" +}, +"deadlineSecondsTime": { +"description": "Optional. custom deadline of the rpc", +"format": "google-datetime", +"type": "string" +}, +"inputParameters": { +"additionalProperties": { +"$ref": "GoogleCloudIntegrationsV1alphaValueType" +}, +"description": "Optional. Input parameters used during integration execution.", +"type": "object" +}, +"integrationVersion": { +"$ref": "GoogleCloudIntegrationsV1alphaIntegrationVersion", +"description": "Required. integration config to execute the workflow" +}, +"parameters": { +"$ref": "EnterpriseCrmFrontendsEventbusProtoEventParameters", +"deprecated": true, +"description": "Optional. Passed in as parameters to each integration execution." +}, +"testMode": { +"description": "Optional. Can be specified in the event request, otherwise false (default). If true, enables tasks with condition \"test_mode = true\". If false, disables tasks with condition \"test_mode = true\" if global test mode (set by platform) is also false {@link EventBusConfig}.", +"type": "boolean" +}, +"triggerId": { +"description": "Required. The trigger id of the integration trigger config. If both trigger_id and client_id is present, the integration is executed from the start tasks provided by the matching trigger config otherwise it is executed from the default start tasks.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudIntegrationsV1alphaTestIntegrationsResponse": { +"description": "The response for testing an integration.", +"id": "GoogleCloudIntegrationsV1alphaTestIntegrationsResponse", +"properties": { +"eventParameters": { +"$ref": "EnterpriseCrmFrontendsEventbusProtoEventParameters", +"deprecated": true, +"description": "Details for the integration that were executed." +}, +"executionFailed": { +"description": "Is true if any execution in the integration failed. False otherwise.", +"type": "boolean" +}, +"executionId": { +"description": "The id of the execution corresponding to this run of integration.", +"type": "string" +}, +"parameterEntries": { +"deprecated": true, +"description": "Parameters are a part of Event and can be used to communicate between different tasks that are part of the same integration execution.", +"items": { +"$ref": "EnterpriseCrmFrontendsEventbusProtoParameterEntry" +}, +"type": "array" +}, +"parameters": { +"additionalProperties": { +"$ref": "GoogleCloudIntegrationsV1alphaValueType" +}, +"description": "Optional. Parameters are a part of Event and can be used to communicate between different tasks that are part of the same integration execution.", +"type": "object" +} +}, +"type": "object" +}, +"GoogleCloudIntegrationsV1alphaTestTaskConfig": { +"description": "The task mock configuration details and assertions for functional tests. Next available id: 6", +"id": "GoogleCloudIntegrationsV1alphaTestTaskConfig", +"properties": { +"assertions": { +"description": "Optional. List of conditions or expressions which should be evaluated to true unless there is a bug/problem in the integration. These are evaluated one the task execution is completed as per the mock strategy in test case", +"items": { +"$ref": "GoogleCloudIntegrationsV1alphaAssertion" +}, +"type": "array" +}, +"mockConfig": { +"$ref": "GoogleCloudIntegrationsV1alphaMockConfig", +"description": "Optional. Defines how to mock the given task during test execution" +}, +"task": { +"description": "Required. This defines in the test case, the task name in integration which will be mocked by this test task config", +"type": "string" +}, +"taskConfig": { +"$ref": "GoogleCloudIntegrationsV1alphaTaskConfig", +"description": "Optional. Auto-generated." +}, +"taskNumber": { +"description": "Required. This defines in the test case, the task in integration which will be mocked by this test task config", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudIntegrationsV1alphaToggleHttpRequest": { +"description": "Request to enable/disable http call for a provisioned client", +"id": "GoogleCloudIntegrationsV1alphaToggleHttpRequest", +"properties": { +"enableHttpCall": { +"description": "Required. REQUIRED: True if http call feature should be turned on for this region", +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleCloudIntegrationsV1alphaTriggerConfig": { +"description": "Configuration detail of a trigger.", +"id": "GoogleCloudIntegrationsV1alphaTriggerConfig", +"properties": { +"alertConfig": { +"description": "Optional. An alert threshold configuration for the [trigger + client + integration] tuple. If these values are not specified in the trigger config, default values will be populated by the system. Note that there must be exactly one alert threshold configured per [client + trigger + integration] when published.", +"items": { +"$ref": "GoogleCloudIntegrationsV1alphaIntegrationAlertConfig" +}, +"type": "array" +}, +"cloudSchedulerConfig": { +"$ref": "GoogleCloudIntegrationsV1alphaCloudSchedulerConfig", +"description": "Optional. Cloud Scheduler Trigger related metadata" +}, +"description": { +"description": "Optional. User-provided description intended to give additional business context about the task.", +"type": "string" +}, +"errorCatcherId": { +"description": "Optional. Optional Error catcher id of the error catch flow which will be executed when execution error happens in the task", +"type": "string" +}, +"inputVariables": { +"$ref": "GoogleCloudIntegrationsV1alphaTriggerConfigVariables", +"description": "Optional. List of input variables for the api trigger." +}, +"label": { +"description": "Optional. The user created label for a particular trigger.", +"type": "string" +}, +"nextTasksExecutionPolicy": { +"description": "Optional. Dictates how next tasks will be executed.", +"enum": [ +"NEXT_TASKS_EXECUTION_POLICY_UNSPECIFIED", +"RUN_ALL_MATCH", +"RUN_FIRST_MATCH" +], +"enumDescriptions": [ +"Default.", +"Execute all the tasks that satisfy their associated condition.", +"Execute the first task that satisfies the associated condition." +], +"type": "string" +}, +"outputVariables": { +"$ref": "GoogleCloudIntegrationsV1alphaTriggerConfigVariables", +"description": "Optional. List of output variables for the api trigger." +}, +"position": { +"$ref": "GoogleCloudIntegrationsV1alphaCoordinate", +"description": "Optional. Informs the front-end application where to draw this error catcher config on the UI." +}, +"properties": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. Configurable properties of the trigger, not to be confused with integration parameters. E.g. \"name\" is a property for API triggers and \"subscription\" is a property for Pub/sub triggers.", +"type": "object" +}, +"startTasks": { +"description": "Optional. Set of tasks numbers from where the integration execution is started by this trigger. If this is empty, then integration is executed with default start tasks. In the list of start tasks, none of two tasks can have direct ancestor-descendant relationships (i.e. in a same integration execution graph).", +"items": { +"$ref": "GoogleCloudIntegrationsV1alphaNextTask" +}, +"type": "array" +}, +"trigger": { +"description": "Optional. Name of the trigger. Example: \"API Trigger\", \"Cloud Pub Sub Trigger\" When set will be sent out to monitoring dashabord for tracking purpose.", +"type": "string" +}, +"triggerId": { +"description": "Optional. Auto-generated trigger ID. The ID is based on the properties that you define in the trigger config. For example, for an API trigger, the trigger ID follows the format: api_trigger/TRIGGER_NAME Where trigger config has properties with value {\"Trigger name\": TRIGGER_NAME}", +"type": "string" +}, +"triggerNumber": { +"description": "Required. A number to uniquely identify each trigger config within the integration on UI.", +"type": "string" +}, +"triggerType": { +"description": "Optional. Type of trigger", +"enum": [ +"TRIGGER_TYPE_UNSPECIFIED", +"CRON", +"API", +"SFDC_CHANNEL", +"CLOUD_PUBSUB_EXTERNAL", +"SFDC_CDC_CHANNEL", +"CLOUD_SCHEDULER", +"INTEGRATION_CONNECTOR_TRIGGER", +"PRIVATE_TRIGGER", +"CLOUD_PUBSUB", +"EVENTARC_TRIGGER" +], +"enumDescriptions": [ +"Unknown.", +"Trigger by scheduled time.", +"Trigger by API call.", +"Trigger by Salesforce Channel.", +"Trigger by Pub/Sub external.", +"SFDC Channel Trigger for CDC.", +"Trigger by Cloud Scheduler job.", +"Trigger by Connector Event", +"Trigger for private workflow", +"Trigger by cloud pub/sub for internal ip", +"Trigger by Eventarc" +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudIntegrationsV1alphaTriggerConfigVariables": { +"description": "Variables names mapped to api trigger.", +"id": "GoogleCloudIntegrationsV1alphaTriggerConfigVariables", +"properties": { +"names": { +"description": "Optional. List of variable names.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudIntegrationsV1alphaUnpublishIntegrationVersionRequest": { +"description": "Request for UnpublishIntegrationVersion.", +"id": "GoogleCloudIntegrationsV1alphaUnpublishIntegrationVersionRequest", +"properties": {}, +"type": "object" +}, +"GoogleCloudIntegrationsV1alphaUnshareTemplateRequest": { +"description": "Request to Unshare template", +"id": "GoogleCloudIntegrationsV1alphaUnshareTemplateRequest", +"properties": { +"resourceNames": { +"description": "Optional. Project name resources to unshare the template. The project names is expected in resource format Ex: projects/{project-number}", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudIntegrationsV1alphaUploadIntegrationVersionRequest": { +"description": "Request for UploadIntegrationVersion.", +"id": "GoogleCloudIntegrationsV1alphaUploadIntegrationVersionRequest", +"properties": { +"content": { +"description": "The textproto of the IntegrationVersion.", +"type": "string" +}, +"fileFormat": { +"description": "File format for upload request.", +"enum": [ +"FILE_FORMAT_UNSPECIFIED", +"JSON", +"YAML" +], +"enumDescriptions": [ +"Unspecified file format", +"JSON File Format", +"YAML File Format" +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudIntegrationsV1alphaUploadIntegrationVersionResponse": { +"description": "Response for UploadIntegrationVersion.", +"id": "GoogleCloudIntegrationsV1alphaUploadIntegrationVersionResponse", +"properties": { +"integrationVersion": { +"$ref": "GoogleCloudIntegrationsV1alphaIntegrationVersion", +"description": "The uploaded integration." +} +}, +"type": "object" +}, +"GoogleCloudIntegrationsV1alphaUploadTemplateRequest": { +"description": "Request for UploadTemplate.", +"id": "GoogleCloudIntegrationsV1alphaUploadTemplateRequest", +"properties": { +"content": { +"description": "Required. The textproto of the template.", +"type": "string" +}, +"fileFormat": { +"description": "Required. File format for upload request.", +"enum": [ +"FILE_FORMAT_UNSPECIFIED", +"JSON", +"YAML" +], +"enumDescriptions": [ +"Unspecified file format", +"JSON File Format", +"YAML File Format" +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudIntegrationsV1alphaUploadTemplateResponse": { +"description": "Response for UploadTemplate.", +"id": "GoogleCloudIntegrationsV1alphaUploadTemplateResponse", +"properties": { +"template": { +"$ref": "GoogleCloudIntegrationsV1alphaTemplate", +"description": "The uploaded Template" +} +}, +"type": "object" +}, +"GoogleCloudIntegrationsV1alphaUploadTestCaseRequest": { +"description": "Request for UploadTestCase.", +"id": "GoogleCloudIntegrationsV1alphaUploadTestCaseRequest", +"properties": { +"content": { +"description": "The textproto of the test case.", +"type": "string" +}, +"fileFormat": { +"description": "File format for upload request.", +"enum": [ +"FILE_FORMAT_UNSPECIFIED", +"JSON", +"YAML" +], +"enumDescriptions": [ +"Unspecified file format", +"JSON File Format", +"YAML File Format" +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudIntegrationsV1alphaUploadTestCaseResponse": { +"description": "Response for UploadTestCase.", +"id": "GoogleCloudIntegrationsV1alphaUploadTestCaseResponse", +"properties": { +"testCase": { +"$ref": "GoogleCloudIntegrationsV1alphaTestCase", +"description": "The uploaded TestCase" +} +}, +"type": "object" +}, +"GoogleCloudIntegrationsV1alphaUseTemplateRequest": { +"description": "Request to Use template", +"id": "GoogleCloudIntegrationsV1alphaUseTemplateRequest", +"properties": { +"integrationDetails": { +"$ref": "GoogleCloudIntegrationsV1alphaUseTemplateRequestIntegrationDetails", +"description": "Required. Integration details which would be created via templates." +}, +"integrationRegion": { +"description": "Required. The region of the Integration to be created.", +"type": "string" +}, +"subIntegrations": { +"additionalProperties": { +"$ref": "GoogleCloudIntegrationsV1alphaUseTemplateRequestIntegrationDetails" +}, +"description": "Optional. Sub Integration which would be created via templates.", +"type": "object" +} +}, +"type": "object" +}, +"GoogleCloudIntegrationsV1alphaUseTemplateRequestIntegrationDetails": { +"description": "Sub Integration which would be created via templates.", +"id": "GoogleCloudIntegrationsV1alphaUseTemplateRequestIntegrationDetails", +"properties": { +"integration": { +"description": "Required. Name of the sub integration which would be created via templates.", +"type": "string" +}, +"integrationDescription": { +"description": "Optional. Description of the sub integration which would be created via templates.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudIntegrationsV1alphaUseTemplateResponse": { +"description": "Response for use template", +"id": "GoogleCloudIntegrationsV1alphaUseTemplateResponse", +"properties": { +"integrationVersion": { +"$ref": "GoogleCloudIntegrationsV1alphaIntegrationVersion", +"description": "IntegrationVersion which is created." +}, +"subIntegrationVersions": { +"description": "Sub integration versions which are created.", +"items": { +"$ref": "GoogleCloudIntegrationsV1alphaIntegrationVersion" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudIntegrationsV1alphaUsernameAndPassword": { +"description": "Username and password pair.", +"id": "GoogleCloudIntegrationsV1alphaUsernameAndPassword", +"properties": { +"password": { +"description": "Password to be used", +"type": "string" +}, +"username": { +"description": "Username to be used", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudIntegrationsV1alphaValueType": { +"description": "The type of the parameter.", +"id": "GoogleCloudIntegrationsV1alphaValueType", +"properties": { +"booleanArray": { +"$ref": "GoogleCloudIntegrationsV1alphaBooleanParameterArray", +"description": "Boolean Array." +}, +"booleanValue": { +"description": "Boolean.", +"type": "boolean" +}, +"doubleArray": { +"$ref": "GoogleCloudIntegrationsV1alphaDoubleParameterArray", +"description": "Double Number Array." +}, +"doubleValue": { +"description": "Double Number.", +"format": "double", +"type": "number" +}, +"intArray": { +"$ref": "GoogleCloudIntegrationsV1alphaIntParameterArray", +"description": "Integer Array." +}, +"intValue": { +"description": "Integer.", +"format": "int64", +"type": "string" +}, +"jsonValue": { +"description": "Json.", +"type": "string" +}, +"stringArray": { +"$ref": "GoogleCloudIntegrationsV1alphaStringParameterArray", +"description": "String Array." +}, +"stringValue": { +"description": "String.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleInternalCloudCrmEventbusV3PostToQueueWithTriggerIdRequest": { +"description": "LINT.IfChange Use this request to post all workflows associated with a given trigger id. Next available id: 13", +"id": "GoogleInternalCloudCrmEventbusV3PostToQueueWithTriggerIdRequest", +"properties": { +"clientId": { +"description": "Optional. If the client id is provided, then the combination of trigger id and client id is matched across all the workflows. If the client id is not provided, then workflows with matching trigger id are executed for each client id in the {@link TriggerConfig}. For Api Trigger, the client id is required and will be validated against the allowed clients.", +"type": "string" +}, +"ignoreErrorIfNoActiveWorkflow": { +"description": "Optional. Flag to determine whether clients would suppress a warning when no ACTIVE workflows are not found. If this flag is set to be true, an error will not be thrown if the requested trigger_id or client_id is not found in any ACTIVE workflow. Otherwise, the error is always thrown. The flag is set to be false by default.", +"type": "boolean" +}, +"parameters": { +"$ref": "EnterpriseCrmEventbusProtoEventParameters", +"description": "Passed in as parameters to each workflow execution. Optional." +}, +"priority": { +"description": "The request priority this request should be processed at. For internal users:", +"enum": [ +"UNSPCIFIED", +"SHEDDABLE", +"SHEDDABLE_PLUS", +"CRITICAL", +"CRITICAL_PLUS" +], +"enumDescriptions": [ +"Unspecified", +"Frequent partial and occasional full unavailability is expected and not pageable. * Requests to this band will be shed before all other requests. * This is the default for async calls sent from batch jobs.", +"Partial unavailability is expected and is not necessarily pageable. * Requests to this band will be shed before any critical traffic. * This is the default for async calls sent from production jobs.", +"Any outage is a pageable event. * During a production outage requests in this band will only be shed before CRITICAL_PLUS. * This is the default for sync calls sent from production jobs.", +"Any outage is a pageable event. * The guideline is for < 10% of requests to a service to be in this band. * During a production outage requests in this band will be prioritized above all others. * Opt-in to CRITICAL_PLUS when your workflow triggers by human." +], +"type": "string" +}, +"quotaRetryCount": { +"description": "Optional. This is a field to see the quota retry count for integration execution", +"format": "int32", +"type": "integer" +}, +"requestId": { +"description": "Optional. This is used to de-dup incoming request: if the duplicate request was detected, the response from the previous execution is returned. Must have no more than 36 characters and contain only alphanumeric characters and hyphens.", +"type": "string" +}, +"resourceName": { +"description": "This field is only required when using Admin Access. The resource name of target, or the parent resource name. For example: \"projects/*/locations/*/integrations/*\"", +"type": "string" +}, +"scheduledTime": { +"description": "Optional. Time in milliseconds since epoch when the given event would be scheduled.", +"format": "int64", +"type": "string" +}, +"testMode": { +"description": "Optional. Sets test mode in {@link enterprise/crm/eventbus/event_message.proto}.", +"type": "boolean" +}, +"triggerId": { +"description": "Matched against all {@link TriggerConfig}s across all workflows. i.e. TriggerConfig.trigger_id.equals(trigger_id) Required.", +"type": "string" +}, +"userGeneratedExecutionId": { +"description": "This is a unique id provided by the method caller. If provided this will be used as the execution_id when a new execution info is created. This is a string representation of a UUID. Must have no more than 36 characters and contain only alphanumeric characters and hyphens.", +"type": "string" +}, +"workflowName": { +"description": "Optional. If provided, the workflow_name is used to filter all the matched workflows having same trigger_id+client_id. A combination of trigger_id, client_id and workflow_name identifies a unique workflow.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleProtobufEmpty": { +"description": "A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }", +"id": "GoogleProtobufEmpty", +"properties": {}, +"type": "object" +} +}, +"servicePath": "", +"title": "Application Integration API", +"version": "v1", +"version_module": true +} \ No newline at end of file diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/integrations.v1alpha.json b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/integrations.v1alpha.json new file mode 100644 index 0000000000000000000000000000000000000000..492768f82a060dc05da165f2c94195a9d644e4c2 --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/integrations.v1alpha.json @@ -0,0 +1,11961 @@ +{ +"auth": { +"oauth2": { +"scopes": { +"https://www.googleapis.com/auth/cloud-platform": { +"description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." +} +} +} +}, +"basePath": "", +"baseUrl": "https://integrations.googleapis.com/", +"batchPath": "batch", +"canonicalName": "Integrations", +"description": "", +"discoveryVersion": "v1", +"documentationLink": "https://cloud.google.com/application-integration", +"fullyEncodeReservedExpansion": true, +"icons": { +"x16": "http://www.google.com/images/icons/product/search-16.gif", +"x32": "http://www.google.com/images/icons/product/search-32.gif" +}, +"id": "integrations:v1alpha", +"kind": "discovery#restDescription", +"mtlsRootUrl": "https://integrations.mtls.googleapis.com/", +"name": "integrations", +"ownerDomain": "google.com", +"ownerName": "Google", +"parameters": { +"$.xgafv": { +"description": "V1 error format.", +"enum": [ +"1", +"2" +], +"enumDescriptions": [ +"v1 error format", +"v2 error format" +], +"location": "query", +"type": "string" +}, +"access_token": { +"description": "OAuth access token.", +"location": "query", +"type": "string" +}, +"alt": { +"default": "json", +"description": "Data format for response.", +"enum": [ +"json", +"media", +"proto" +], +"enumDescriptions": [ +"Responses with Content-Type of application/json", +"Media download with context-dependent Content-Type", +"Responses with Content-Type of application/x-protobuf" +], +"location": "query", +"type": "string" +}, +"callback": { +"description": "JSONP", +"location": "query", +"type": "string" +}, +"fields": { +"description": "Selector specifying which fields to include in a partial response.", +"location": "query", +"type": "string" +}, +"key": { +"description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", +"location": "query", +"type": "string" +}, +"oauth_token": { +"description": "OAuth 2.0 token for the current user.", +"location": "query", +"type": "string" +}, +"prettyPrint": { +"default": "true", +"description": "Returns response with indentations and line breaks.", +"location": "query", +"type": "boolean" +}, +"quotaUser": { +"description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.", +"location": "query", +"type": "string" +}, +"uploadType": { +"description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", +"location": "query", +"type": "string" +}, +"upload_protocol": { +"description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", +"location": "query", +"type": "string" +} +}, +"protocol": "rest", +"resources": { +"callback": { +"methods": { +"generateToken": { +"description": "Receives the auth code and auth config id to combine that with the client id and secret to retrieve access tokens from the token endpoint. Returns either a success or error message when it's done.", +"flatPath": "v1alpha/callback:generateToken", +"httpMethod": "GET", +"id": "integrations.callback.generateToken", +"parameterOrder": [], +"parameters": { +"code": { +"description": "The auth code for the given request", +"location": "query", +"type": "string" +}, +"gcpProjectId": { +"description": "The gcp project id of the request", +"location": "query", +"type": "string" +}, +"product": { +"description": "Which product sends the request", +"enum": [ +"UNSPECIFIED_PRODUCT", +"IP", +"APIGEE", +"SECURITY" +], +"enumDescriptions": [ +"", +"", +"", +"" +], +"location": "query", +"type": "string" +}, +"redirectUri": { +"description": "Redirect uri of the auth code request", +"location": "query", +"type": "string" +}, +"state": { +"description": "The auth config id for the given request", +"location": "query", +"type": "string" +} +}, +"path": "v1alpha/callback:generateToken", +"response": { +"$ref": "GoogleCloudIntegrationsV1alphaGenerateTokenResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"connectorPlatformRegions": { +"methods": { +"enumerate": { +"description": "Enumerates the regions for which Connector Platform is provisioned.", +"flatPath": "v1alpha/connectorPlatformRegions:enumerate", +"httpMethod": "GET", +"id": "integrations.connectorPlatformRegions.enumerate", +"parameterOrder": [], +"parameters": {}, +"path": "v1alpha/connectorPlatformRegions:enumerate", +"response": { +"$ref": "GoogleCloudIntegrationsV1alphaEnumerateConnectorPlatformRegionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"projects": { +"resources": { +"locations": { +"resources": { +"appsScriptProjects": { +"methods": { +"create": { +"description": "Creates an Apps Script project.", +"flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/appsScriptProjects", +"httpMethod": "POST", +"id": "integrations.projects.locations.appsScriptProjects.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The project that the executed integration belongs to.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha/{+parent}/appsScriptProjects", +"request": { +"$ref": "GoogleCloudIntegrationsV1alphaCreateAppsScriptProjectRequest" +}, +"response": { +"$ref": "GoogleCloudIntegrationsV1alphaCreateAppsScriptProjectResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"link": { +"description": "Links a existing Apps Script project.", +"flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/appsScriptProjects:link", +"httpMethod": "POST", +"id": "integrations.projects.locations.appsScriptProjects.link", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The project that the executed integration belongs to.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha/{+parent}/appsScriptProjects:link", +"request": { +"$ref": "GoogleCloudIntegrationsV1alphaLinkAppsScriptProjectRequest" +}, +"response": { +"$ref": "GoogleCloudIntegrationsV1alphaLinkAppsScriptProjectResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"authConfigs": { +"methods": { +"create": { +"description": "Creates an auth config record. Fetch corresponding credentials for specific auth types, e.g. access token for OAuth 2.0, JWT token for JWT. Encrypt the auth config with Cloud KMS and store the encrypted credentials in Spanner. Returns the encrypted auth config.", +"flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/authConfigs", +"httpMethod": "POST", +"id": "integrations.projects.locations.authConfigs.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"clientCertificate.encryptedPrivateKey": { +"description": "The ssl certificate encoded in PEM format. This string must include the begin header and end footer lines. For example, -----BEGIN CERTIFICATE----- MIICTTCCAbagAwIBAgIJAPT0tSKNxan/MA0GCSqGSIb3DQEBCwUAMCoxFzAVBgNV BAoTDkdvb2dsZSBURVNUSU5HMQ8wDQYDVQQDEwZ0ZXN0Q0EwHhcNMTUwMTAxMDAw MDAwWhcNMjUwMTAxMDAwMDAwWjAuMRcwFQYDVQQKEw5Hb29nbGUgVEVTVElORzET MBEGA1UEAwwKam9lQGJhbmFuYTCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEA vDYFgMgxi5W488d9J7UpCInl0NXmZQpJDEHE4hvkaRlH7pnC71H0DLt0/3zATRP1 JzY2+eqBmbGl4/sgZKYv8UrLnNyQNUTsNx1iZAfPUflf5FwgVsai8BM0pUciq1NB xD429VFcrGZNucvFLh72RuRFIKH8WUpiK/iZNFkWhZ0CAwEAAaN3MHUwDgYDVR0P AQH/BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAMBgNVHRMB Af8EAjAAMBkGA1UdDgQSBBCVgnFBCWgL/iwCqnGrhTPQMBsGA1UdIwQUMBKAEKey Um2o4k2WiEVA0ldQvNYwDQYJKoZIhvcNAQELBQADgYEAYK986R4E3L1v+Q6esBtW JrUwA9UmJRSQr0N5w3o9XzarU37/bkjOP0Fw0k/A6Vv1n3vlciYfBFaBIam1qRHr 5dMsYf4CZS6w50r7hyzqyrwDoyNxkLnd2PdcHT/sym1QmflsjEs7pejtnohO6N2H wQW6M0H7Zt8claGRla4fKkg= -----END CERTIFICATE-----", +"location": "query", +"type": "string" +}, +"clientCertificate.passphrase": { +"description": "'passphrase' should be left unset if private key is not encrypted. Note that 'passphrase' is not the password for web server, but an extra layer of security to protected private key.", +"location": "query", +"type": "string" +}, +"clientCertificate.sslCertificate": { +"description": "The ssl certificate encoded in PEM format. This string must include the begin header and end footer lines. For example, -----BEGIN CERTIFICATE----- MIICTTCCAbagAwIBAgIJAPT0tSKNxan/MA0GCSqGSIb3DQEBCwUAMCoxFzAVBgNV BAoTDkdvb2dsZSBURVNUSU5HMQ8wDQYDVQQDEwZ0ZXN0Q0EwHhcNMTUwMTAxMDAw MDAwWhcNMjUwMTAxMDAwMDAwWjAuMRcwFQYDVQQKEw5Hb29nbGUgVEVTVElORzET MBEGA1UEAwwKam9lQGJhbmFuYTCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEA vDYFgMgxi5W488d9J7UpCInl0NXmZQpJDEHE4hvkaRlH7pnC71H0DLt0/3zATRP1 JzY2+eqBmbGl4/sgZKYv8UrLnNyQNUTsNx1iZAfPUflf5FwgVsai8BM0pUciq1NB xD429VFcrGZNucvFLh72RuRFIKH8WUpiK/iZNFkWhZ0CAwEAAaN3MHUwDgYDVR0P AQH/BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAMBgNVHRMB Af8EAjAAMBkGA1UdDgQSBBCVgnFBCWgL/iwCqnGrhTPQMBsGA1UdIwQUMBKAEKey Um2o4k2WiEVA0ldQvNYwDQYJKoZIhvcNAQELBQADgYEAYK986R4E3L1v+Q6esBtW JrUwA9UmJRSQr0N5w3o9XzarU37/bkjOP0Fw0k/A6Vv1n3vlciYfBFaBIam1qRHr 5dMsYf4CZS6w50r7hyzqyrwDoyNxkLnd2PdcHT/sym1QmflsjEs7pejtnohO6N2H wQW6M0H7Zt8claGRla4fKkg= -----END CERTIFICATE-----", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. \"projects/{project}/locations/{location}\" format.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha/{+parent}/authConfigs", +"request": { +"$ref": "GoogleCloudIntegrationsV1alphaAuthConfig" +}, +"response": { +"$ref": "GoogleCloudIntegrationsV1alphaAuthConfig" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes an auth config.", +"flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/authConfigs/{authConfigsId}", +"httpMethod": "DELETE", +"id": "integrations.projects.locations.authConfigs.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name that is associated with the AuthConfig.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/authConfigs/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha/{+name}", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets a complete auth config. If the auth config doesn't exist, Code.NOT_FOUND exception will be thrown. Returns the decrypted auth config.", +"flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/authConfigs/{authConfigsId}", +"httpMethod": "GET", +"id": "integrations.projects.locations.authConfigs.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name that is associated with the AuthConfig.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/authConfigs/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha/{+name}", +"response": { +"$ref": "GoogleCloudIntegrationsV1alphaAuthConfig" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists all auth configs that match the filter. Restrict to auth configs belong to the current client only.", +"flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/authConfigs", +"httpMethod": "GET", +"id": "integrations.projects.locations.authConfigs.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Filtering as supported in https://developers.google.com/authorized-buyers/apis/guides/list-filters.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "The size of entries in the response. If unspecified, defaults to 100.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The token returned in the previous response.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The client, which owns this collection of AuthConfigs.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +}, +"readMask": { +"description": "The mask which specifies fields that need to be returned in the AuthConfig's response.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1alpha/{+parent}/authConfigs", +"response": { +"$ref": "GoogleCloudIntegrationsV1alphaListAuthConfigsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates an auth config. If credential is updated, fetch the encrypted auth config from Spanner, decrypt with Cloud KMS key, update the credential fields, re-encrypt with Cloud KMS key and update the Spanner record. For other fields, directly update the Spanner record. Returns the encrypted auth config.", +"flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/authConfigs/{authConfigsId}", +"httpMethod": "PATCH", +"id": "integrations.projects.locations.authConfigs.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"clientCertificate.encryptedPrivateKey": { +"description": "The ssl certificate encoded in PEM format. This string must include the begin header and end footer lines. For example, -----BEGIN CERTIFICATE----- MIICTTCCAbagAwIBAgIJAPT0tSKNxan/MA0GCSqGSIb3DQEBCwUAMCoxFzAVBgNV BAoTDkdvb2dsZSBURVNUSU5HMQ8wDQYDVQQDEwZ0ZXN0Q0EwHhcNMTUwMTAxMDAw MDAwWhcNMjUwMTAxMDAwMDAwWjAuMRcwFQYDVQQKEw5Hb29nbGUgVEVTVElORzET MBEGA1UEAwwKam9lQGJhbmFuYTCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEA vDYFgMgxi5W488d9J7UpCInl0NXmZQpJDEHE4hvkaRlH7pnC71H0DLt0/3zATRP1 JzY2+eqBmbGl4/sgZKYv8UrLnNyQNUTsNx1iZAfPUflf5FwgVsai8BM0pUciq1NB xD429VFcrGZNucvFLh72RuRFIKH8WUpiK/iZNFkWhZ0CAwEAAaN3MHUwDgYDVR0P AQH/BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAMBgNVHRMB Af8EAjAAMBkGA1UdDgQSBBCVgnFBCWgL/iwCqnGrhTPQMBsGA1UdIwQUMBKAEKey Um2o4k2WiEVA0ldQvNYwDQYJKoZIhvcNAQELBQADgYEAYK986R4E3L1v+Q6esBtW JrUwA9UmJRSQr0N5w3o9XzarU37/bkjOP0Fw0k/A6Vv1n3vlciYfBFaBIam1qRHr 5dMsYf4CZS6w50r7hyzqyrwDoyNxkLnd2PdcHT/sym1QmflsjEs7pejtnohO6N2H wQW6M0H7Zt8claGRla4fKkg= -----END CERTIFICATE-----", +"location": "query", +"type": "string" +}, +"clientCertificate.passphrase": { +"description": "'passphrase' should be left unset if private key is not encrypted. Note that 'passphrase' is not the password for web server, but an extra layer of security to protected private key.", +"location": "query", +"type": "string" +}, +"clientCertificate.sslCertificate": { +"description": "The ssl certificate encoded in PEM format. This string must include the begin header and end footer lines. For example, -----BEGIN CERTIFICATE----- MIICTTCCAbagAwIBAgIJAPT0tSKNxan/MA0GCSqGSIb3DQEBCwUAMCoxFzAVBgNV BAoTDkdvb2dsZSBURVNUSU5HMQ8wDQYDVQQDEwZ0ZXN0Q0EwHhcNMTUwMTAxMDAw MDAwWhcNMjUwMTAxMDAwMDAwWjAuMRcwFQYDVQQKEw5Hb29nbGUgVEVTVElORzET MBEGA1UEAwwKam9lQGJhbmFuYTCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEA vDYFgMgxi5W488d9J7UpCInl0NXmZQpJDEHE4hvkaRlH7pnC71H0DLt0/3zATRP1 JzY2+eqBmbGl4/sgZKYv8UrLnNyQNUTsNx1iZAfPUflf5FwgVsai8BM0pUciq1NB xD429VFcrGZNucvFLh72RuRFIKH8WUpiK/iZNFkWhZ0CAwEAAaN3MHUwDgYDVR0P AQH/BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAMBgNVHRMB Af8EAjAAMBkGA1UdDgQSBBCVgnFBCWgL/iwCqnGrhTPQMBsGA1UdIwQUMBKAEKey Um2o4k2WiEVA0ldQvNYwDQYJKoZIhvcNAQELBQADgYEAYK986R4E3L1v+Q6esBtW JrUwA9UmJRSQr0N5w3o9XzarU37/bkjOP0Fw0k/A6Vv1n3vlciYfBFaBIam1qRHr 5dMsYf4CZS6w50r7hyzqyrwDoyNxkLnd2PdcHT/sym1QmflsjEs7pejtnohO6N2H wQW6M0H7Zt8claGRla4fKkg= -----END CERTIFICATE-----", +"location": "query", +"type": "string" +}, +"name": { +"description": "Resource name of the auth config. For more information, see Manage authentication profiles. projects/{project}/locations/{location}/authConfigs/{authConfig}.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/authConfigs/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Field mask specifying the fields in the above AuthConfig that have been modified and need to be updated.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1alpha/{+name}", +"request": { +"$ref": "GoogleCloudIntegrationsV1alphaAuthConfig" +}, +"response": { +"$ref": "GoogleCloudIntegrationsV1alphaAuthConfig" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"certificates": { +"methods": { +"get": { +"description": "Get a certificates in the specified project.", +"flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/certificates/{certificatesId}", +"httpMethod": "GET", +"id": "integrations.projects.locations.certificates.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The certificate to retrieve. Format: projects/{project}/locations/{location}/certificates/{certificate}", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/certificates/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha/{+name}", +"response": { +"$ref": "GoogleCloudIntegrationsV1alphaCertificate" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"connections": { +"methods": { +"getConnectionSchemaMetadata": { +"description": "Lists the available entities and actions associated with a Connection.", +"flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/connections/{connectionsId}/connectionSchemaMetadata", +"httpMethod": "GET", +"id": "integrations.projects.locations.connections.getConnectionSchemaMetadata", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. ConnectionSchemaMetadata name. Format: projects/{project}/locations/{location}/connections/{connection}/connectionSchemaMetadata", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/connections/[^/]+/connectionSchemaMetadata$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha/{+name}", +"response": { +"$ref": "GoogleCloudIntegrationsV1alphaConnectionSchemaMetadata" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists Connections in a given project and location.", +"flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/connections", +"httpMethod": "GET", +"id": "integrations.projects.locations.connections.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Filter.", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "Order by parameters.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Page size.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Page token.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. Parent resource of the Connection, of the form: `projects/*/locations/*`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha/{+parent}/connections", +"response": { +"$ref": "GoogleCloudIntegrationsV1alphaListConnectionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"runtimeActionSchemas": { +"methods": { +"list": { +"description": "Lists the JSON schemas for the inputs and outputs of actions, filtered by action name.", +"flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/connections/{connectionsId}/runtimeActionSchemas", +"httpMethod": "GET", +"id": "integrations.projects.locations.connections.runtimeActionSchemas.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Filter. Only the action field with literal equality operator is supported.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Page size.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Page token.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. Parent resource of RuntimeActionSchema. Format: projects/{project}/locations/{location}/connections/{connection}", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/connections/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha/{+parent}/runtimeActionSchemas", +"response": { +"$ref": "GoogleCloudIntegrationsV1alphaListRuntimeActionSchemasResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"runtimeEntitySchemas": { +"methods": { +"list": { +"description": "Lists the JSON schemas for the properties of runtime entities, filtered by entity name.", +"flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/connections/{connectionsId}/runtimeEntitySchemas", +"httpMethod": "GET", +"id": "integrations.projects.locations.connections.runtimeEntitySchemas.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Filter. Only the entity field with literal equality operator is supported.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Page size.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Page token.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. Parent resource of RuntimeEntitySchema. Format: projects/{project}/locations/{location}/connections/{connection}", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/connections/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha/{+parent}/runtimeEntitySchemas", +"response": { +"$ref": "GoogleCloudIntegrationsV1alphaListRuntimeEntitySchemasResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +}, +"integrations": { +"methods": { +"delete": { +"description": "Delete the selected integration and all versions inside", +"flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/integrations/{integrationsId}", +"httpMethod": "DELETE", +"id": "integrations.projects.locations.integrations.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The location resource of the request.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/integrations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha/{+name}", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"execute": { +"description": "Executes integrations synchronously by passing the trigger id in the request body. The request is not returned until the requested executions are either fulfilled or experienced an error. If the integration name is not specified (passing `-`), all of the associated integration under the given trigger_id will be executed. Otherwise only the specified integration for the given `trigger_id` is executed. This is helpful for execution the integration from UI.", +"flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/integrations/{integrationsId}:execute", +"httpMethod": "POST", +"id": "integrations.projects.locations.integrations.execute", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The integration resource name.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/integrations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha/{+name}:execute", +"request": { +"$ref": "GoogleCloudIntegrationsV1alphaExecuteIntegrationsRequest" +}, +"response": { +"$ref": "GoogleCloudIntegrationsV1alphaExecuteIntegrationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"executeEvent": { +"description": "Executes an integration on receiving events from Integration Connector triggers, Eventarc or CPS Trigger. Input data to integration is received in body in json format", +"flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/integrations/{integrationsId}:executeEvent", +"httpMethod": "POST", +"id": "integrations.projects.locations.integrations.executeEvent", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The integration resource name. Format: projects/{gcp_project_id}/locations/{location}/integrations/{integration_id}", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/integrations/[^/]+$", +"required": true, +"type": "string" +}, +"triggerId": { +"description": "Required. Id of the integration trigger config. The trigger_id is in the format: `integration_connector_trigger/projects/{gcp_project_id}/location/{location}/connections/{connection_name}/subscriptions/{subscription_name}`.", +"location": "query", +"type": "string" +} +}, +"path": "v1alpha/{+name}:executeEvent", +"request": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"type": "object" +}, +"response": { +"$ref": "GoogleCloudIntegrationsV1alphaExecuteEventResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Returns the list of all integrations in the specified project.", +"flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/integrations", +"httpMethod": "GET", +"id": "integrations.projects.locations.integrations.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Filter on fields of IntegrationVersion. Fields can be compared with literal values by use of \":\" (containment), \"=\" (equality), \">\" (greater), \"<\" (less than), >=\" (greater than or equal to), \"<=\" (less than or equal to), and \"!=\" (inequality) operators. Negation, conjunction, and disjunction are written using NOT, AND, and OR keywords. For example, organization_id=\\\"1\\\" AND state=ACTIVE AND description:\"test\". Filtering cannot be performed on repeated fields like `task_config`.", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "The results would be returned in order you specified here. Supported sort keys are: Descending sort order by \"last_modified_time\", \"created_time\", \"snapshot_number\". Ascending sort order by the integration name.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "The page size for the resquest.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The page token for the resquest.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. Project and location from which the integrations should be listed. Format: projects/{project}", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha/{+parent}/integrations", +"response": { +"$ref": "GoogleCloudIntegrationsV1alphaListIntegrationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"schedule": { +"description": "Schedules an integration for execution by passing the trigger id and the scheduled time in the request body.", +"flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/integrations/{integrationsId}:schedule", +"httpMethod": "POST", +"id": "integrations.projects.locations.integrations.schedule", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The integration resource name.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/integrations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha/{+name}:schedule", +"request": { +"$ref": "GoogleCloudIntegrationsV1alphaScheduleIntegrationsRequest" +}, +"response": { +"$ref": "GoogleCloudIntegrationsV1alphaScheduleIntegrationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"executions": { +"methods": { +"list": { +"description": "Lists the results of all the integration executions. The response includes the same information as the [execution log](https://cloud.google.com/application-integration/docs/viewing-logs) in the Integration UI.", +"flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/integrations/{integrationsId}/executions", +"httpMethod": "GET", +"id": "integrations.projects.locations.integrations.executions.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Optional. Standard filter field, we support filtering on following fields: workflow_name: the name of the integration. CreateTimestamp: the execution created time. event_execution_state: the state of the executions. execution_id: the id of the execution. trigger_id: the id of the trigger. parameter_type: the type of the parameters involved in the execution. All fields support for EQUALS, in additional: CreateTimestamp support for LESS_THAN, GREATER_THAN ParameterType support for HAS For example: \"parameter_type\" HAS \\\"string\\\" Also supports operators like AND, OR, NOT For example, trigger_id=\\\"id1\\\" AND workflow_name=\\\"testWorkflow\\\"", +"location": "query", +"type": "string" +}, +"filterParams.customFilter": { +"description": "Optional user-provided custom filter.", +"location": "query", +"type": "string" +}, +"filterParams.endTime": { +"description": "End timestamp.", +"format": "int64", +"location": "query", +"type": "string" +}, +"filterParams.eventStatuses": { +"description": "List of possible event statuses.", +"location": "query", +"repeated": true, +"type": "string" +}, +"filterParams.executionId": { +"description": "Execution id.", +"location": "query", +"type": "string" +}, +"filterParams.parameterKey": { +"deprecated": true, +"description": "Param key. DEPRECATED. User parameter_pair_key instead.", +"location": "query", +"type": "string" +}, +"filterParams.parameterPairKey": { +"description": "Param key in the key value pair filter.", +"location": "query", +"type": "string" +}, +"filterParams.parameterPairValue": { +"description": "Param value in the key value pair filter.", +"location": "query", +"type": "string" +}, +"filterParams.parameterType": { +"description": "Param type.", +"location": "query", +"type": "string" +}, +"filterParams.parameterValue": { +"deprecated": true, +"description": "Param value. DEPRECATED. User parameter_pair_value instead.", +"location": "query", +"type": "string" +}, +"filterParams.startTime": { +"description": "Start timestamp.", +"format": "int64", +"location": "query", +"type": "string" +}, +"filterParams.taskStatuses": { +"deprecated": true, +"description": "List of possible task statuses.", +"location": "query", +"repeated": true, +"type": "string" +}, +"filterParams.workflowName": { +"description": "Workflow name.", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "Optional. The results would be returned in order you specified here. Currently supporting \"last_modified_time\" and \"create_time\".", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Optional. The size of entries in the response.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. The token returned in the previous response.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent resource name of the integration execution.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/integrations/[^/]+$", +"required": true, +"type": "string" +}, +"readMask": { +"description": "Optional. View mask for the response data. If set, only the field specified will be returned as part of the result. If not set, all fields in event execution info will be filled and returned.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +}, +"refreshAcl": { +"description": "Optional. If true, the service will use the most recent acl information to list event execution infos and renew the acl cache. Note that fetching the most recent acl is synchronous, so it will increase RPC call latency.", +"location": "query", +"type": "boolean" +}, +"snapshotMetadataWithoutParams": { +"description": "Optional. If true, the service will provide execution info with snapshot metadata only i.e. without event parameters.", +"location": "query", +"type": "boolean" +}, +"truncateParams": { +"deprecated": true, +"description": "Optional. If true, the service will truncate the params to only keep the first 1000 characters of string params and empty the executions in order to make response smaller. Only works for UI and when the params fields are not filtered out.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1alpha/{+parent}/executions", +"response": { +"$ref": "GoogleCloudIntegrationsV1alphaListExecutionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"suspensions": { +"methods": { +"lift": { +"description": "* Lifts suspension for the Suspension task. Fetch corresponding suspension with provided suspension Id, resolve suspension, and set up suspension result for the Suspension Task.", +"flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/integrations/{integrationsId}/executions/{executionsId}/suspensions/{suspensionsId}:lift", +"httpMethod": "POST", +"id": "integrations.projects.locations.integrations.executions.suspensions.lift", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource that the suspension belongs to. \"projects/{project}/locations/{location}/products/{product}/integrations/{integration}/executions/{execution}/suspensions/{suspenion}\" format.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/integrations/[^/]+/executions/[^/]+/suspensions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha/{+name}:lift", +"request": { +"$ref": "GoogleCloudIntegrationsV1alphaLiftSuspensionRequest" +}, +"response": { +"$ref": "GoogleCloudIntegrationsV1alphaLiftSuspensionResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "* Lists suspensions associated with a specific execution. Only those with permissions to resolve the relevant suspensions will be able to view them.", +"flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/integrations/{integrationsId}/executions/{executionsId}/suspensions", +"httpMethod": "GET", +"id": "integrations.projects.locations.integrations.executions.suspensions.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Standard filter field.", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "Field name to order by.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Maximum number of entries in the response.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Token to retrieve a specific page.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. projects/{gcp_project_id}/locations/{location}/products/{product}/integrations/{integration_name}/executions/{execution_name}", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/integrations/[^/]+/executions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha/{+parent}/suspensions", +"response": { +"$ref": "GoogleCloudIntegrationsV1alphaListSuspensionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"resolve": { +"description": "* Resolves (lifts/rejects) any number of suspensions. If the integration is already running, only the status of the suspension is updated. Otherwise, the suspended integration will begin execution again.", +"flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/integrations/{integrationsId}/executions/{executionsId}/suspensions/{suspensionsId}:resolve", +"httpMethod": "POST", +"id": "integrations.projects.locations.integrations.executions.suspensions.resolve", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. projects/{gcp_project_id}/locations/{location}/products/{product}/integrations/{integration_name}/executions/{execution_name}/suspensions/{suspension_id}", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/integrations/[^/]+/executions/[^/]+/suspensions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha/{+name}:resolve", +"request": { +"$ref": "GoogleCloudIntegrationsV1alphaResolveSuspensionRequest" +}, +"response": { +"$ref": "GoogleCloudIntegrationsV1alphaResolveSuspensionResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +}, +"versions": { +"methods": { +"create": { +"description": "Create a integration with a draft version in the specified project.", +"flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/integrations/{integrationsId}/versions", +"httpMethod": "POST", +"id": "integrations.projects.locations.integrations.versions.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"createSampleIntegrations": { +"description": "Optional. Optional. Indicates if sample workflow should be created.", +"location": "query", +"type": "boolean" +}, +"newIntegration": { +"description": "Set this flag to true, if draft version is to be created for a brand new integration. False, if the request is for an existing integration. For backward compatibility reasons, even if this flag is set to `false` and no existing integration is found, a new draft integration will still be created.", +"location": "query", +"type": "boolean" +}, +"parent": { +"description": "Required. The parent resource where this version will be created. Format: projects/{project}/locations/{location}/integrations/{integration}", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/integrations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha/{+parent}/versions", +"request": { +"$ref": "GoogleCloudIntegrationsV1alphaIntegrationVersion" +}, +"response": { +"$ref": "GoogleCloudIntegrationsV1alphaIntegrationVersion" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Soft-deletes the integration. Changes the status of the integration to ARCHIVED. If the integration being ARCHIVED is tagged as \"HEAD\", the tag is removed from this snapshot and set to the previous non-ARCHIVED snapshot. The PUBLISH_REQUESTED, DUE_FOR_DELETION tags are removed too. This RPC throws an exception if the version being deleted is DRAFT, and if the `locked_by` user is not the same as the user performing the Delete. Audit fields updated include last_modified_timestamp, last_modified_by. Any existing lock is released when Deleting a integration. Currently, there is no undelete mechanism.", +"flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/integrations/{integrationsId}/versions/{versionsId}", +"httpMethod": "DELETE", +"id": "integrations.projects.locations.integrations.versions.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The version to delete. Format: projects/{project}/locations/{location}/integrations/{integration}/versions/{version}", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/integrations/[^/]+/versions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha/{+name}", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"download": { +"description": "Downloads an integration. Retrieves the `IntegrationVersion` for a given `integration_id` and returns the response as a string.", +"flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/integrations/{integrationsId}/versions/{versionsId}:download", +"httpMethod": "GET", +"id": "integrations.projects.locations.integrations.versions.download", +"parameterOrder": [ +"name" +], +"parameters": { +"fileFormat": { +"description": "File format for download request.", +"enum": [ +"FILE_FORMAT_UNSPECIFIED", +"JSON", +"YAML" +], +"enumDescriptions": [ +"Unspecified file format", +"JSON File Format", +"YAML File Format" +], +"location": "query", +"type": "string" +}, +"files": { +"description": "Optional. Integration related file to download like Integration Json, Config variable, testcase etc.", +"enum": [ +"INTEGRATION_FILE_UNSPECIFIED", +"INTEGRATION", +"INTEGRATION_CONFIG_VARIABLES" +], +"enumDescriptions": [ +"Default value.", +"Integration file.", +"Integration Config variables." +], +"location": "query", +"repeated": true, +"type": "string" +}, +"name": { +"description": "Required. The version to download. Format: projects/{project}/locations/{location}/integrations/{integration}/versions/{version}", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/integrations/[^/]+/versions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha/{+name}:download", +"response": { +"$ref": "GoogleCloudIntegrationsV1alphaDownloadIntegrationVersionResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Get a integration in the specified project.", +"flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/integrations/{integrationsId}/versions/{versionsId}", +"httpMethod": "GET", +"id": "integrations.projects.locations.integrations.versions.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The version to retrieve. Format: projects/{project}/locations/{location}/integrations/{integration}/versions/{version}", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/integrations/[^/]+/versions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha/{+name}", +"response": { +"$ref": "GoogleCloudIntegrationsV1alphaIntegrationVersion" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Returns the list of all integration versions in the specified project.", +"flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/integrations/{integrationsId}/versions", +"httpMethod": "GET", +"id": "integrations.projects.locations.integrations.versions.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"fieldMask": { +"description": "The field mask which specifies the particular data to be returned.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +}, +"filter": { +"description": "Filter on fields of IntegrationVersion. Fields can be compared with literal values by use of \":\" (containment), \"=\" (equality), \">\" (greater), \"<\" (less than), >=\" (greater than or equal to), \"<=\" (less than or equal to), and \"!=\" (inequality) operators. Negation, conjunction, and disjunction are written using NOT, AND, and OR keywords. For example, organization_id=\\\"1\\\" AND state=ACTIVE AND description:\"test\". Filtering cannot be performed on repeated fields like `task_config`.", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "The results would be returned in order you specified here. Currently supported sort keys are: Descending sort order for \"last_modified_time\", \"created_time\", \"snapshot_number\" Ascending sort order for \"name\".", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "The maximum number of versions to return. The service may return fewer than this value. If unspecified, at most 50 versions will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A page token, received from a previous `ListIntegrationVersions` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListIntegrationVersions` must match the call that provided the page token.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent resource where this version will be created. Format: projects/{project}/locations/{location}/integrations/{integration} Specifically, when parent equals: 1. projects//locations//integrations/, Meaning: \"List versions (with filter) for a particular integration\". 2. projects//locations//integrations/- Meaning: \"List versions (with filter) for a client within a particular region\". 3. projects//locations/-/integrations/- Meaning: \"List versions (with filter) for a client\".", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/integrations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha/{+parent}/versions", +"response": { +"$ref": "GoogleCloudIntegrationsV1alphaListIntegrationVersionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Update a integration with a draft version in the specified project.", +"flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/integrations/{integrationsId}/versions/{versionsId}", +"httpMethod": "PATCH", +"id": "integrations.projects.locations.integrations.versions.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Output only. Auto-generated primary key.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/integrations/[^/]+/versions/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Field mask specifying the fields in the above integration that have been modified and need to be updated.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1alpha/{+name}", +"request": { +"$ref": "GoogleCloudIntegrationsV1alphaIntegrationVersion" +}, +"response": { +"$ref": "GoogleCloudIntegrationsV1alphaIntegrationVersion" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"publish": { +"description": "This RPC throws an exception if the integration is in ARCHIVED or ACTIVE state. This RPC throws an exception if the version being published is DRAFT, and if the `locked_by` user is not the same as the user performing the Publish. Audit fields updated include last_published_timestamp, last_published_by, last_modified_timestamp, last_modified_by. Any existing lock is on this integration is released.", +"flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/integrations/{integrationsId}/versions/{versionsId}:publish", +"httpMethod": "POST", +"id": "integrations.projects.locations.integrations.versions.publish", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The version to publish. Format: projects/{project}/locations/{location}/integrations/{integration}/versions/{version}", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/integrations/[^/]+/versions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha/{+name}:publish", +"request": { +"$ref": "GoogleCloudIntegrationsV1alphaPublishIntegrationVersionRequest" +}, +"response": { +"$ref": "GoogleCloudIntegrationsV1alphaPublishIntegrationVersionResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"takeoverEditLock": { +"description": "Clears the `locked_by` and `locked_at_timestamp`in the DRAFT version of this integration. It then performs the same action as the CreateDraftIntegrationVersion (i.e., copies the DRAFT version of the integration as a SNAPSHOT and then creates a new DRAFT version with the `locked_by` set to the `user_taking_over` and the `locked_at_timestamp` set to the current timestamp). Both the `locked_by` and `user_taking_over` are notified via email about the takeover. This RPC throws an exception if the integration is not in DRAFT status or if the `locked_by` and `locked_at_timestamp` fields are not set.The TakeoverEdit lock is treated the same as an edit of the integration, and hence shares ACLs with edit. Audit fields updated include last_modified_timestamp, last_modified_by.", +"flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/integrations/{integrationsId}/versions/{versionsId}:takeoverEditLock", +"httpMethod": "POST", +"id": "integrations.projects.locations.integrations.versions.takeoverEditLock", +"parameterOrder": [ +"integrationVersion" +], +"parameters": { +"integrationVersion": { +"description": "Required. The version to take over edit lock. Format: projects/{project}/locations/{location}/integrations/{integration}/versions/{version}", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/integrations/[^/]+/versions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha/{+integrationVersion}:takeoverEditLock", +"request": { +"$ref": "GoogleCloudIntegrationsV1alphaTakeoverEditLockRequest" +}, +"response": { +"$ref": "GoogleCloudIntegrationsV1alphaTakeoverEditLockResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"unpublish": { +"description": "Sets the status of the ACTIVE integration to SNAPSHOT with a new tag \"PREVIOUSLY_PUBLISHED\" after validating it. The \"HEAD\" and \"PUBLISH_REQUESTED\" tags do not change. This RPC throws an exception if the version being snapshot is not ACTIVE. Audit fields added include action, action_by, action_timestamp.", +"flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/integrations/{integrationsId}/versions/{versionsId}:unpublish", +"httpMethod": "POST", +"id": "integrations.projects.locations.integrations.versions.unpublish", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The version to deactivate. Format: projects/{project}/locations/{location}/integrations/{integration}/versions/{version}", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/integrations/[^/]+/versions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha/{+name}:unpublish", +"request": { +"$ref": "GoogleCloudIntegrationsV1alphaUnpublishIntegrationVersionRequest" +}, +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"upload": { +"description": "Uploads an integration. The content can be a previously downloaded integration. Performs the same function as CreateDraftIntegrationVersion, but accepts input in a string format, which holds the complete representation of the IntegrationVersion content.", +"flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/integrations/{integrationsId}/versions:upload", +"httpMethod": "POST", +"id": "integrations.projects.locations.integrations.versions.upload", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The version to upload. Format: projects/{project}/locations/{location}/integrations/{integration}", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/integrations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha/{+parent}/versions:upload", +"request": { +"$ref": "GoogleCloudIntegrationsV1alphaUploadIntegrationVersionRequest" +}, +"response": { +"$ref": "GoogleCloudIntegrationsV1alphaUploadIntegrationVersionResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +}, +"products": { +"resources": { +"authConfigs": { +"methods": { +"create": { +"description": "Creates an auth config record. Fetch corresponding credentials for specific auth types, e.g. access token for OAuth 2.0, JWT token for JWT. Encrypt the auth config with Cloud KMS and store the encrypted credentials in Spanner. Returns the encrypted auth config.", +"flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/products/{productsId}/authConfigs", +"httpMethod": "POST", +"id": "integrations.projects.locations.products.authConfigs.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"clientCertificate.encryptedPrivateKey": { +"description": "The ssl certificate encoded in PEM format. This string must include the begin header and end footer lines. For example, -----BEGIN CERTIFICATE----- MIICTTCCAbagAwIBAgIJAPT0tSKNxan/MA0GCSqGSIb3DQEBCwUAMCoxFzAVBgNV BAoTDkdvb2dsZSBURVNUSU5HMQ8wDQYDVQQDEwZ0ZXN0Q0EwHhcNMTUwMTAxMDAw MDAwWhcNMjUwMTAxMDAwMDAwWjAuMRcwFQYDVQQKEw5Hb29nbGUgVEVTVElORzET MBEGA1UEAwwKam9lQGJhbmFuYTCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEA vDYFgMgxi5W488d9J7UpCInl0NXmZQpJDEHE4hvkaRlH7pnC71H0DLt0/3zATRP1 JzY2+eqBmbGl4/sgZKYv8UrLnNyQNUTsNx1iZAfPUflf5FwgVsai8BM0pUciq1NB xD429VFcrGZNucvFLh72RuRFIKH8WUpiK/iZNFkWhZ0CAwEAAaN3MHUwDgYDVR0P AQH/BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAMBgNVHRMB Af8EAjAAMBkGA1UdDgQSBBCVgnFBCWgL/iwCqnGrhTPQMBsGA1UdIwQUMBKAEKey Um2o4k2WiEVA0ldQvNYwDQYJKoZIhvcNAQELBQADgYEAYK986R4E3L1v+Q6esBtW JrUwA9UmJRSQr0N5w3o9XzarU37/bkjOP0Fw0k/A6Vv1n3vlciYfBFaBIam1qRHr 5dMsYf4CZS6w50r7hyzqyrwDoyNxkLnd2PdcHT/sym1QmflsjEs7pejtnohO6N2H wQW6M0H7Zt8claGRla4fKkg= -----END CERTIFICATE-----", +"location": "query", +"type": "string" +}, +"clientCertificate.passphrase": { +"description": "'passphrase' should be left unset if private key is not encrypted. Note that 'passphrase' is not the password for web server, but an extra layer of security to protected private key.", +"location": "query", +"type": "string" +}, +"clientCertificate.sslCertificate": { +"description": "The ssl certificate encoded in PEM format. This string must include the begin header and end footer lines. For example, -----BEGIN CERTIFICATE----- MIICTTCCAbagAwIBAgIJAPT0tSKNxan/MA0GCSqGSIb3DQEBCwUAMCoxFzAVBgNV BAoTDkdvb2dsZSBURVNUSU5HMQ8wDQYDVQQDEwZ0ZXN0Q0EwHhcNMTUwMTAxMDAw MDAwWhcNMjUwMTAxMDAwMDAwWjAuMRcwFQYDVQQKEw5Hb29nbGUgVEVTVElORzET MBEGA1UEAwwKam9lQGJhbmFuYTCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEA vDYFgMgxi5W488d9J7UpCInl0NXmZQpJDEHE4hvkaRlH7pnC71H0DLt0/3zATRP1 JzY2+eqBmbGl4/sgZKYv8UrLnNyQNUTsNx1iZAfPUflf5FwgVsai8BM0pUciq1NB xD429VFcrGZNucvFLh72RuRFIKH8WUpiK/iZNFkWhZ0CAwEAAaN3MHUwDgYDVR0P AQH/BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAMBgNVHRMB Af8EAjAAMBkGA1UdDgQSBBCVgnFBCWgL/iwCqnGrhTPQMBsGA1UdIwQUMBKAEKey Um2o4k2WiEVA0ldQvNYwDQYJKoZIhvcNAQELBQADgYEAYK986R4E3L1v+Q6esBtW JrUwA9UmJRSQr0N5w3o9XzarU37/bkjOP0Fw0k/A6Vv1n3vlciYfBFaBIam1qRHr 5dMsYf4CZS6w50r7hyzqyrwDoyNxkLnd2PdcHT/sym1QmflsjEs7pejtnohO6N2H wQW6M0H7Zt8claGRla4fKkg= -----END CERTIFICATE-----", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. \"projects/{project}/locations/{location}\" format.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/products/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha/{+parent}/authConfigs", +"request": { +"$ref": "GoogleCloudIntegrationsV1alphaAuthConfig" +}, +"response": { +"$ref": "GoogleCloudIntegrationsV1alphaAuthConfig" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes an auth config.", +"flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/products/{productsId}/authConfigs/{authConfigsId}", +"httpMethod": "DELETE", +"id": "integrations.projects.locations.products.authConfigs.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name that is associated with the AuthConfig.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/products/[^/]+/authConfigs/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha/{+name}", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets a complete auth config. If the auth config doesn't exist, Code.NOT_FOUND exception will be thrown. Returns the decrypted auth config.", +"flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/products/{productsId}/authConfigs/{authConfigsId}", +"httpMethod": "GET", +"id": "integrations.projects.locations.products.authConfigs.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name that is associated with the AuthConfig.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/products/[^/]+/authConfigs/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha/{+name}", +"response": { +"$ref": "GoogleCloudIntegrationsV1alphaAuthConfig" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists all auth configs that match the filter. Restrict to auth configs belong to the current client only.", +"flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/products/{productsId}/authConfigs", +"httpMethod": "GET", +"id": "integrations.projects.locations.products.authConfigs.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Filtering as supported in https://developers.google.com/authorized-buyers/apis/guides/list-filters.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "The size of entries in the response. If unspecified, defaults to 100.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The token returned in the previous response.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The client, which owns this collection of AuthConfigs.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/products/[^/]+$", +"required": true, +"type": "string" +}, +"readMask": { +"description": "The mask which specifies fields that need to be returned in the AuthConfig's response.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1alpha/{+parent}/authConfigs", +"response": { +"$ref": "GoogleCloudIntegrationsV1alphaListAuthConfigsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates an auth config. If credential is updated, fetch the encrypted auth config from Spanner, decrypt with Cloud KMS key, update the credential fields, re-encrypt with Cloud KMS key and update the Spanner record. For other fields, directly update the Spanner record. Returns the encrypted auth config.", +"flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/products/{productsId}/authConfigs/{authConfigsId}", +"httpMethod": "PATCH", +"id": "integrations.projects.locations.products.authConfigs.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"clientCertificate.encryptedPrivateKey": { +"description": "The ssl certificate encoded in PEM format. This string must include the begin header and end footer lines. For example, -----BEGIN CERTIFICATE----- MIICTTCCAbagAwIBAgIJAPT0tSKNxan/MA0GCSqGSIb3DQEBCwUAMCoxFzAVBgNV BAoTDkdvb2dsZSBURVNUSU5HMQ8wDQYDVQQDEwZ0ZXN0Q0EwHhcNMTUwMTAxMDAw MDAwWhcNMjUwMTAxMDAwMDAwWjAuMRcwFQYDVQQKEw5Hb29nbGUgVEVTVElORzET MBEGA1UEAwwKam9lQGJhbmFuYTCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEA vDYFgMgxi5W488d9J7UpCInl0NXmZQpJDEHE4hvkaRlH7pnC71H0DLt0/3zATRP1 JzY2+eqBmbGl4/sgZKYv8UrLnNyQNUTsNx1iZAfPUflf5FwgVsai8BM0pUciq1NB xD429VFcrGZNucvFLh72RuRFIKH8WUpiK/iZNFkWhZ0CAwEAAaN3MHUwDgYDVR0P AQH/BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAMBgNVHRMB Af8EAjAAMBkGA1UdDgQSBBCVgnFBCWgL/iwCqnGrhTPQMBsGA1UdIwQUMBKAEKey Um2o4k2WiEVA0ldQvNYwDQYJKoZIhvcNAQELBQADgYEAYK986R4E3L1v+Q6esBtW JrUwA9UmJRSQr0N5w3o9XzarU37/bkjOP0Fw0k/A6Vv1n3vlciYfBFaBIam1qRHr 5dMsYf4CZS6w50r7hyzqyrwDoyNxkLnd2PdcHT/sym1QmflsjEs7pejtnohO6N2H wQW6M0H7Zt8claGRla4fKkg= -----END CERTIFICATE-----", +"location": "query", +"type": "string" +}, +"clientCertificate.passphrase": { +"description": "'passphrase' should be left unset if private key is not encrypted. Note that 'passphrase' is not the password for web server, but an extra layer of security to protected private key.", +"location": "query", +"type": "string" +}, +"clientCertificate.sslCertificate": { +"description": "The ssl certificate encoded in PEM format. This string must include the begin header and end footer lines. For example, -----BEGIN CERTIFICATE----- MIICTTCCAbagAwIBAgIJAPT0tSKNxan/MA0GCSqGSIb3DQEBCwUAMCoxFzAVBgNV BAoTDkdvb2dsZSBURVNUSU5HMQ8wDQYDVQQDEwZ0ZXN0Q0EwHhcNMTUwMTAxMDAw MDAwWhcNMjUwMTAxMDAwMDAwWjAuMRcwFQYDVQQKEw5Hb29nbGUgVEVTVElORzET MBEGA1UEAwwKam9lQGJhbmFuYTCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEA vDYFgMgxi5W488d9J7UpCInl0NXmZQpJDEHE4hvkaRlH7pnC71H0DLt0/3zATRP1 JzY2+eqBmbGl4/sgZKYv8UrLnNyQNUTsNx1iZAfPUflf5FwgVsai8BM0pUciq1NB xD429VFcrGZNucvFLh72RuRFIKH8WUpiK/iZNFkWhZ0CAwEAAaN3MHUwDgYDVR0P AQH/BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAMBgNVHRMB Af8EAjAAMBkGA1UdDgQSBBCVgnFBCWgL/iwCqnGrhTPQMBsGA1UdIwQUMBKAEKey Um2o4k2WiEVA0ldQvNYwDQYJKoZIhvcNAQELBQADgYEAYK986R4E3L1v+Q6esBtW JrUwA9UmJRSQr0N5w3o9XzarU37/bkjOP0Fw0k/A6Vv1n3vlciYfBFaBIam1qRHr 5dMsYf4CZS6w50r7hyzqyrwDoyNxkLnd2PdcHT/sym1QmflsjEs7pejtnohO6N2H wQW6M0H7Zt8claGRla4fKkg= -----END CERTIFICATE-----", +"location": "query", +"type": "string" +}, +"name": { +"description": "Resource name of the auth config. For more information, see Manage authentication profiles. projects/{project}/locations/{location}/authConfigs/{authConfig}.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/products/[^/]+/authConfigs/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Field mask specifying the fields in the above AuthConfig that have been modified and need to be updated.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1alpha/{+name}", +"request": { +"$ref": "GoogleCloudIntegrationsV1alphaAuthConfig" +}, +"response": { +"$ref": "GoogleCloudIntegrationsV1alphaAuthConfig" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"certificates": { +"methods": { +"create": { +"description": "Creates a new certificate. The certificate will be registered to the trawler service and will be encrypted using cloud KMS and stored in Spanner Returns the certificate.", +"flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/products/{productsId}/certificates", +"httpMethod": "POST", +"id": "integrations.projects.locations.products.certificates.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. \"projects/{project}/locations/{location}\" format.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/products/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha/{+parent}/certificates", +"request": { +"$ref": "GoogleCloudIntegrationsV1alphaCertificate" +}, +"response": { +"$ref": "GoogleCloudIntegrationsV1alphaCertificate" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Delete a certificate", +"flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/products/{productsId}/certificates/{certificatesId}", +"httpMethod": "DELETE", +"id": "integrations.projects.locations.products.certificates.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name that is associated with the Certificate.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/products/[^/]+/certificates/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha/{+name}", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Get a certificates in the specified project.", +"flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/products/{productsId}/certificates/{certificatesId}", +"httpMethod": "GET", +"id": "integrations.projects.locations.products.certificates.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The certificate to retrieve. Format: projects/{project}/locations/{location}/certificates/{certificate}", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/products/[^/]+/certificates/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha/{+name}", +"response": { +"$ref": "GoogleCloudIntegrationsV1alphaCertificate" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "List all the certificates that match the filter. Restrict to certificate of current client only.", +"flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/products/{productsId}/certificates", +"httpMethod": "GET", +"id": "integrations.projects.locations.products.certificates.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Filtering as supported in https://developers.google.com/authorized-buyers/apis/guides/list-filters.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "The size of entries in the response. If unspecified, defaults to 100.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The token returned in the previous response.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The client, which owns this collection of Certificates.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/products/[^/]+$", +"required": true, +"type": "string" +}, +"readMask": { +"description": "The mask which specifies fields that need to be returned in the Certificate's response.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1alpha/{+parent}/certificates", +"response": { +"$ref": "GoogleCloudIntegrationsV1alphaListCertificatesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates the certificate by id. If new certificate file is updated, it will register with the trawler service, re-encrypt with cloud KMS and update the Spanner record. Other fields will directly update the Spanner record. Returns the Certificate.", +"flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/products/{productsId}/certificates/{certificatesId}", +"httpMethod": "PATCH", +"id": "integrations.projects.locations.products.certificates.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Output only. Auto generated primary key", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/products/[^/]+/certificates/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Field mask specifying the fields in the above Certificate that have been modified and need to be updated.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1alpha/{+name}", +"request": { +"$ref": "GoogleCloudIntegrationsV1alphaCertificate" +}, +"response": { +"$ref": "GoogleCloudIntegrationsV1alphaCertificate" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"integrations": { +"methods": { +"delete": { +"description": "Delete the selected integration and all versions inside", +"flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/products/{productsId}/integrations/{integrationsId}", +"httpMethod": "DELETE", +"id": "integrations.projects.locations.products.integrations.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The location resource of the request.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/products/[^/]+/integrations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha/{+name}", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"execute": { +"description": "Executes integrations synchronously by passing the trigger id in the request body. The request is not returned until the requested executions are either fulfilled or experienced an error. If the integration name is not specified (passing `-`), all of the associated integration under the given trigger_id will be executed. Otherwise only the specified integration for the given `trigger_id` is executed. This is helpful for execution the integration from UI.", +"flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/products/{productsId}/integrations/{integrationsId}:execute", +"httpMethod": "POST", +"id": "integrations.projects.locations.products.integrations.execute", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The integration resource name.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/products/[^/]+/integrations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha/{+name}:execute", +"request": { +"$ref": "GoogleCloudIntegrationsV1alphaExecuteIntegrationsRequest" +}, +"response": { +"$ref": "GoogleCloudIntegrationsV1alphaExecuteIntegrationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Returns the list of all integrations in the specified project.", +"flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/products/{productsId}/integrations", +"httpMethod": "GET", +"id": "integrations.projects.locations.products.integrations.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Filter on fields of IntegrationVersion. Fields can be compared with literal values by use of \":\" (containment), \"=\" (equality), \">\" (greater), \"<\" (less than), >=\" (greater than or equal to), \"<=\" (less than or equal to), and \"!=\" (inequality) operators. Negation, conjunction, and disjunction are written using NOT, AND, and OR keywords. For example, organization_id=\\\"1\\\" AND state=ACTIVE AND description:\"test\". Filtering cannot be performed on repeated fields like `task_config`.", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "The results would be returned in order you specified here. Supported sort keys are: Descending sort order by \"last_modified_time\", \"created_time\", \"snapshot_number\". Ascending sort order by the integration name.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "The page size for the resquest.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The page token for the resquest.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. Project and location from which the integrations should be listed. Format: projects/{project}", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/products/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha/{+parent}/integrations", +"response": { +"$ref": "GoogleCloudIntegrationsV1alphaListIntegrationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"schedule": { +"description": "Schedules an integration for execution by passing the trigger id and the scheduled time in the request body.", +"flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/products/{productsId}/integrations/{integrationsId}:schedule", +"httpMethod": "POST", +"id": "integrations.projects.locations.products.integrations.schedule", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The integration resource name.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/products/[^/]+/integrations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha/{+name}:schedule", +"request": { +"$ref": "GoogleCloudIntegrationsV1alphaScheduleIntegrationsRequest" +}, +"response": { +"$ref": "GoogleCloudIntegrationsV1alphaScheduleIntegrationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"executions": { +"methods": { +"cancel": { +"description": "Cancellation of an execution", +"flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/products/{productsId}/integrations/{integrationsId}/executions/{executionsId}:cancel", +"httpMethod": "POST", +"id": "integrations.projects.locations.products.integrations.executions.cancel", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The execution resource name. Format: projects/{gcp_project_id}/locations/{location}/products/{product}/integrations/{integration_id}/executions/{execution_id}", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/products/[^/]+/integrations/[^/]+/executions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha/{+name}:cancel", +"request": { +"$ref": "GoogleCloudIntegrationsV1alphaCancelExecutionRequest" +}, +"response": { +"$ref": "GoogleCloudIntegrationsV1alphaCancelExecutionResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Get an execution in the specified project.", +"flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/products/{productsId}/integrations/{integrationsId}/executions/{executionsId}", +"httpMethod": "GET", +"id": "integrations.projects.locations.products.integrations.executions.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The execution resource name. Format: projects/{gcp_project_id}/locations/{location}/products/{product}/integrations/{integration_id}/executions/{execution_id}", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/products/[^/]+/integrations/[^/]+/executions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha/{+name}", +"response": { +"$ref": "GoogleCloudIntegrationsV1alphaExecution" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists the results of all the integration executions. The response includes the same information as the [execution log](https://cloud.google.com/application-integration/docs/viewing-logs) in the Integration UI.", +"flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/products/{productsId}/integrations/{integrationsId}/executions", +"httpMethod": "GET", +"id": "integrations.projects.locations.products.integrations.executions.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Optional. Standard filter field, we support filtering on following fields: workflow_name: the name of the integration. CreateTimestamp: the execution created time. event_execution_state: the state of the executions. execution_id: the id of the execution. trigger_id: the id of the trigger. parameter_type: the type of the parameters involved in the execution. All fields support for EQUALS, in additional: CreateTimestamp support for LESS_THAN, GREATER_THAN ParameterType support for HAS For example: \"parameter_type\" HAS \\\"string\\\" Also supports operators like AND, OR, NOT For example, trigger_id=\\\"id1\\\" AND workflow_name=\\\"testWorkflow\\\"", +"location": "query", +"type": "string" +}, +"filterParams.customFilter": { +"description": "Optional user-provided custom filter.", +"location": "query", +"type": "string" +}, +"filterParams.endTime": { +"description": "End timestamp.", +"format": "int64", +"location": "query", +"type": "string" +}, +"filterParams.eventStatuses": { +"description": "List of possible event statuses.", +"location": "query", +"repeated": true, +"type": "string" +}, +"filterParams.executionId": { +"description": "Execution id.", +"location": "query", +"type": "string" +}, +"filterParams.parameterKey": { +"deprecated": true, +"description": "Param key. DEPRECATED. User parameter_pair_key instead.", +"location": "query", +"type": "string" +}, +"filterParams.parameterPairKey": { +"description": "Param key in the key value pair filter.", +"location": "query", +"type": "string" +}, +"filterParams.parameterPairValue": { +"description": "Param value in the key value pair filter.", +"location": "query", +"type": "string" +}, +"filterParams.parameterType": { +"description": "Param type.", +"location": "query", +"type": "string" +}, +"filterParams.parameterValue": { +"deprecated": true, +"description": "Param value. DEPRECATED. User parameter_pair_value instead.", +"location": "query", +"type": "string" +}, +"filterParams.startTime": { +"description": "Start timestamp.", +"format": "int64", +"location": "query", +"type": "string" +}, +"filterParams.taskStatuses": { +"deprecated": true, +"description": "List of possible task statuses.", +"location": "query", +"repeated": true, +"type": "string" +}, +"filterParams.workflowName": { +"description": "Workflow name.", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "Optional. The results would be returned in order you specified here. Currently supporting \"last_modified_time\" and \"create_time\".", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Optional. The size of entries in the response.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. The token returned in the previous response.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent resource name of the integration execution.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/products/[^/]+/integrations/[^/]+$", +"required": true, +"type": "string" +}, +"readMask": { +"description": "Optional. View mask for the response data. If set, only the field specified will be returned as part of the result. If not set, all fields in event execution info will be filled and returned.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +}, +"refreshAcl": { +"description": "Optional. If true, the service will use the most recent acl information to list event execution infos and renew the acl cache. Note that fetching the most recent acl is synchronous, so it will increase RPC call latency.", +"location": "query", +"type": "boolean" +}, +"snapshotMetadataWithoutParams": { +"description": "Optional. If true, the service will provide execution info with snapshot metadata only i.e. without event parameters.", +"location": "query", +"type": "boolean" +}, +"truncateParams": { +"deprecated": true, +"description": "Optional. If true, the service will truncate the params to only keep the first 1000 characters of string params and empty the executions in order to make response smaller. Only works for UI and when the params fields are not filtered out.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1alpha/{+parent}/executions", +"response": { +"$ref": "GoogleCloudIntegrationsV1alphaListExecutionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"suspensions": { +"methods": { +"lift": { +"description": "* Lifts suspension for the Suspension task. Fetch corresponding suspension with provided suspension Id, resolve suspension, and set up suspension result for the Suspension Task.", +"flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/products/{productsId}/integrations/{integrationsId}/executions/{executionsId}/suspensions/{suspensionsId}:lift", +"httpMethod": "POST", +"id": "integrations.projects.locations.products.integrations.executions.suspensions.lift", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource that the suspension belongs to. \"projects/{project}/locations/{location}/products/{product}/integrations/{integration}/executions/{execution}/suspensions/{suspenion}\" format.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/products/[^/]+/integrations/[^/]+/executions/[^/]+/suspensions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha/{+name}:lift", +"request": { +"$ref": "GoogleCloudIntegrationsV1alphaLiftSuspensionRequest" +}, +"response": { +"$ref": "GoogleCloudIntegrationsV1alphaLiftSuspensionResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "* Lists suspensions associated with a specific execution. Only those with permissions to resolve the relevant suspensions will be able to view them.", +"flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/products/{productsId}/integrations/{integrationsId}/executions/{executionsId}/suspensions", +"httpMethod": "GET", +"id": "integrations.projects.locations.products.integrations.executions.suspensions.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Standard filter field.", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "Field name to order by.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Maximum number of entries in the response.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Token to retrieve a specific page.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. projects/{gcp_project_id}/locations/{location}/products/{product}/integrations/{integration_name}/executions/{execution_name}", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/products/[^/]+/integrations/[^/]+/executions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha/{+parent}/suspensions", +"response": { +"$ref": "GoogleCloudIntegrationsV1alphaListSuspensionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"resolve": { +"description": "* Resolves (lifts/rejects) any number of suspensions. If the integration is already running, only the status of the suspension is updated. Otherwise, the suspended integration will begin execution again.", +"flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/products/{productsId}/integrations/{integrationsId}/executions/{executionsId}/suspensions/{suspensionsId}:resolve", +"httpMethod": "POST", +"id": "integrations.projects.locations.products.integrations.executions.suspensions.resolve", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. projects/{gcp_project_id}/locations/{location}/products/{product}/integrations/{integration_name}/executions/{execution_name}/suspensions/{suspension_id}", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/products/[^/]+/integrations/[^/]+/executions/[^/]+/suspensions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha/{+name}:resolve", +"request": { +"$ref": "GoogleCloudIntegrationsV1alphaResolveSuspensionRequest" +}, +"response": { +"$ref": "GoogleCloudIntegrationsV1alphaResolveSuspensionResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +}, +"versions": { +"methods": { +"create": { +"description": "Create a integration with a draft version in the specified project.", +"flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/products/{productsId}/integrations/{integrationsId}/versions", +"httpMethod": "POST", +"id": "integrations.projects.locations.products.integrations.versions.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"createSampleIntegrations": { +"description": "Optional. Optional. Indicates if sample workflow should be created.", +"location": "query", +"type": "boolean" +}, +"newIntegration": { +"description": "Set this flag to true, if draft version is to be created for a brand new integration. False, if the request is for an existing integration. For backward compatibility reasons, even if this flag is set to `false` and no existing integration is found, a new draft integration will still be created.", +"location": "query", +"type": "boolean" +}, +"parent": { +"description": "Required. The parent resource where this version will be created. Format: projects/{project}/locations/{location}/integrations/{integration}", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/products/[^/]+/integrations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha/{+parent}/versions", +"request": { +"$ref": "GoogleCloudIntegrationsV1alphaIntegrationVersion" +}, +"response": { +"$ref": "GoogleCloudIntegrationsV1alphaIntegrationVersion" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Soft-deletes the integration. Changes the status of the integration to ARCHIVED. If the integration being ARCHIVED is tagged as \"HEAD\", the tag is removed from this snapshot and set to the previous non-ARCHIVED snapshot. The PUBLISH_REQUESTED, DUE_FOR_DELETION tags are removed too. This RPC throws an exception if the version being deleted is DRAFT, and if the `locked_by` user is not the same as the user performing the Delete. Audit fields updated include last_modified_timestamp, last_modified_by. Any existing lock is released when Deleting a integration. Currently, there is no undelete mechanism.", +"flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/products/{productsId}/integrations/{integrationsId}/versions/{versionsId}", +"httpMethod": "DELETE", +"id": "integrations.projects.locations.products.integrations.versions.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The version to delete. Format: projects/{project}/locations/{location}/integrations/{integration}/versions/{version}", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/products/[^/]+/integrations/[^/]+/versions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha/{+name}", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"download": { +"description": "Downloads an integration. Retrieves the `IntegrationVersion` for a given `integration_id` and returns the response as a string.", +"flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/products/{productsId}/integrations/{integrationsId}/versions/{versionsId}:download", +"httpMethod": "GET", +"id": "integrations.projects.locations.products.integrations.versions.download", +"parameterOrder": [ +"name" +], +"parameters": { +"fileFormat": { +"description": "File format for download request.", +"enum": [ +"FILE_FORMAT_UNSPECIFIED", +"JSON", +"YAML" +], +"enumDescriptions": [ +"Unspecified file format", +"JSON File Format", +"YAML File Format" +], +"location": "query", +"type": "string" +}, +"files": { +"description": "Optional. Integration related file to download like Integration Json, Config variable, testcase etc.", +"enum": [ +"INTEGRATION_FILE_UNSPECIFIED", +"INTEGRATION", +"INTEGRATION_CONFIG_VARIABLES" +], +"enumDescriptions": [ +"Default value.", +"Integration file.", +"Integration Config variables." +], +"location": "query", +"repeated": true, +"type": "string" +}, +"name": { +"description": "Required. The version to download. Format: projects/{project}/locations/{location}/integrations/{integration}/versions/{version}", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/products/[^/]+/integrations/[^/]+/versions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha/{+name}:download", +"response": { +"$ref": "GoogleCloudIntegrationsV1alphaDownloadIntegrationVersionResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Get a integration in the specified project.", +"flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/products/{productsId}/integrations/{integrationsId}/versions/{versionsId}", +"httpMethod": "GET", +"id": "integrations.projects.locations.products.integrations.versions.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The version to retrieve. Format: projects/{project}/locations/{location}/integrations/{integration}/versions/{version}", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/products/[^/]+/integrations/[^/]+/versions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha/{+name}", +"response": { +"$ref": "GoogleCloudIntegrationsV1alphaIntegrationVersion" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Returns the list of all integration versions in the specified project.", +"flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/products/{productsId}/integrations/{integrationsId}/versions", +"httpMethod": "GET", +"id": "integrations.projects.locations.products.integrations.versions.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"fieldMask": { +"description": "The field mask which specifies the particular data to be returned.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +}, +"filter": { +"description": "Filter on fields of IntegrationVersion. Fields can be compared with literal values by use of \":\" (containment), \"=\" (equality), \">\" (greater), \"<\" (less than), >=\" (greater than or equal to), \"<=\" (less than or equal to), and \"!=\" (inequality) operators. Negation, conjunction, and disjunction are written using NOT, AND, and OR keywords. For example, organization_id=\\\"1\\\" AND state=ACTIVE AND description:\"test\". Filtering cannot be performed on repeated fields like `task_config`.", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "The results would be returned in order you specified here. Currently supported sort keys are: Descending sort order for \"last_modified_time\", \"created_time\", \"snapshot_number\" Ascending sort order for \"name\".", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "The maximum number of versions to return. The service may return fewer than this value. If unspecified, at most 50 versions will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A page token, received from a previous `ListIntegrationVersions` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListIntegrationVersions` must match the call that provided the page token.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent resource where this version will be created. Format: projects/{project}/locations/{location}/integrations/{integration} Specifically, when parent equals: 1. projects//locations//integrations/, Meaning: \"List versions (with filter) for a particular integration\". 2. projects//locations//integrations/- Meaning: \"List versions (with filter) for a client within a particular region\". 3. projects//locations/-/integrations/- Meaning: \"List versions (with filter) for a client\".", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/products/[^/]+/integrations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha/{+parent}/versions", +"response": { +"$ref": "GoogleCloudIntegrationsV1alphaListIntegrationVersionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Update a integration with a draft version in the specified project.", +"flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/products/{productsId}/integrations/{integrationsId}/versions/{versionsId}", +"httpMethod": "PATCH", +"id": "integrations.projects.locations.products.integrations.versions.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Output only. Auto-generated primary key.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/products/[^/]+/integrations/[^/]+/versions/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Field mask specifying the fields in the above integration that have been modified and need to be updated.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1alpha/{+name}", +"request": { +"$ref": "GoogleCloudIntegrationsV1alphaIntegrationVersion" +}, +"response": { +"$ref": "GoogleCloudIntegrationsV1alphaIntegrationVersion" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"publish": { +"description": "This RPC throws an exception if the integration is in ARCHIVED or ACTIVE state. This RPC throws an exception if the version being published is DRAFT, and if the `locked_by` user is not the same as the user performing the Publish. Audit fields updated include last_published_timestamp, last_published_by, last_modified_timestamp, last_modified_by. Any existing lock is on this integration is released.", +"flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/products/{productsId}/integrations/{integrationsId}/versions/{versionsId}:publish", +"httpMethod": "POST", +"id": "integrations.projects.locations.products.integrations.versions.publish", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The version to publish. Format: projects/{project}/locations/{location}/integrations/{integration}/versions/{version}", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/products/[^/]+/integrations/[^/]+/versions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha/{+name}:publish", +"request": { +"$ref": "GoogleCloudIntegrationsV1alphaPublishIntegrationVersionRequest" +}, +"response": { +"$ref": "GoogleCloudIntegrationsV1alphaPublishIntegrationVersionResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"takeoverEditLock": { +"description": "Clears the `locked_by` and `locked_at_timestamp`in the DRAFT version of this integration. It then performs the same action as the CreateDraftIntegrationVersion (i.e., copies the DRAFT version of the integration as a SNAPSHOT and then creates a new DRAFT version with the `locked_by` set to the `user_taking_over` and the `locked_at_timestamp` set to the current timestamp). Both the `locked_by` and `user_taking_over` are notified via email about the takeover. This RPC throws an exception if the integration is not in DRAFT status or if the `locked_by` and `locked_at_timestamp` fields are not set.The TakeoverEdit lock is treated the same as an edit of the integration, and hence shares ACLs with edit. Audit fields updated include last_modified_timestamp, last_modified_by.", +"flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/products/{productsId}/integrations/{integrationsId}/versions/{versionsId}:takeoverEditLock", +"httpMethod": "POST", +"id": "integrations.projects.locations.products.integrations.versions.takeoverEditLock", +"parameterOrder": [ +"integrationVersion" +], +"parameters": { +"integrationVersion": { +"description": "Required. The version to take over edit lock. Format: projects/{project}/locations/{location}/integrations/{integration}/versions/{version}", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/products/[^/]+/integrations/[^/]+/versions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha/{+integrationVersion}:takeoverEditLock", +"request": { +"$ref": "GoogleCloudIntegrationsV1alphaTakeoverEditLockRequest" +}, +"response": { +"$ref": "GoogleCloudIntegrationsV1alphaTakeoverEditLockResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"unpublish": { +"description": "Sets the status of the ACTIVE integration to SNAPSHOT with a new tag \"PREVIOUSLY_PUBLISHED\" after validating it. The \"HEAD\" and \"PUBLISH_REQUESTED\" tags do not change. This RPC throws an exception if the version being snapshot is not ACTIVE. Audit fields added include action, action_by, action_timestamp.", +"flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/products/{productsId}/integrations/{integrationsId}/versions/{versionsId}:unpublish", +"httpMethod": "POST", +"id": "integrations.projects.locations.products.integrations.versions.unpublish", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The version to deactivate. Format: projects/{project}/locations/{location}/integrations/{integration}/versions/{version}", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/products/[^/]+/integrations/[^/]+/versions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha/{+name}:unpublish", +"request": { +"$ref": "GoogleCloudIntegrationsV1alphaUnpublishIntegrationVersionRequest" +}, +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"upload": { +"description": "Uploads an integration. The content can be a previously downloaded integration. Performs the same function as CreateDraftIntegrationVersion, but accepts input in a string format, which holds the complete representation of the IntegrationVersion content.", +"flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/products/{productsId}/integrations/{integrationsId}/versions:upload", +"httpMethod": "POST", +"id": "integrations.projects.locations.products.integrations.versions.upload", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The version to upload. Format: projects/{project}/locations/{location}/integrations/{integration}", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/products/[^/]+/integrations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha/{+parent}/versions:upload", +"request": { +"$ref": "GoogleCloudIntegrationsV1alphaUploadIntegrationVersionRequest" +}, +"response": { +"$ref": "GoogleCloudIntegrationsV1alphaUploadIntegrationVersionResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +}, +"integrationtemplates": { +"resources": { +"versions": { +"methods": { +"create": { +"description": "Creates an IntegrationTemplateVersion.", +"flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/products/{productsId}/integrationtemplates/{integrationtemplatesId}/versions", +"httpMethod": "POST", +"id": "integrations.projects.locations.products.integrationtemplates.versions.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The parent resource where this TemplateVersion will be created. Format: projects/{project}/location/{location}/product/{product}/integrationtemplates/{integrationtemplate}", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/products/[^/]+/integrationtemplates/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha/{+parent}/versions", +"request": { +"$ref": "GoogleCloudIntegrationsV1alphaIntegrationTemplateVersion" +}, +"response": { +"$ref": "GoogleCloudIntegrationsV1alphaIntegrationTemplateVersion" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Returns an IntegrationTemplateVersion in the specified project.", +"flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/products/{productsId}/integrationtemplates/{integrationtemplatesId}/versions/{versionsId}", +"httpMethod": "GET", +"id": "integrations.projects.locations.products.integrationtemplates.versions.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The TemplateVersion to retrieve. Format: projects/{project}/locations/{location}/products/{product}/integrationtemplates/{integrationtemplate}/versions/{version}", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/products/[^/]+/integrationtemplates/[^/]+/versions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha/{+name}", +"response": { +"$ref": "GoogleCloudIntegrationsV1alphaIntegrationTemplateVersion" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Returns the list of all IntegrationTemplateVersions in the specified project.", +"flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/products/{productsId}/integrationtemplates/{integrationtemplatesId}/versions", +"httpMethod": "GET", +"id": "integrations.projects.locations.products.integrationtemplates.versions.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Filter syntax: defined in the EBNF grammar.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "The maximum number of IntegrationTemplateVersions to return. The service may return fewer than this value. If unspecified, at most 50 versions will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A page token, received from a previous `ListIntegrationTemplateVersions` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListIntegrationTemplateVersions` must match the call that provided the page token.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. Format: projects/{project}/location/{location}/product/{product}/integrationtemplates/{integrationtemplate}", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/products/[^/]+/integrationtemplates/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha/{+parent}/versions", +"response": { +"$ref": "GoogleCloudIntegrationsV1alphaListIntegrationTemplateVersionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +}, +"sfdcInstances": { +"methods": { +"create": { +"description": "Creates an sfdc instance record. Store the sfdc instance in Spanner. Returns the sfdc instance.", +"flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/products/{productsId}/sfdcInstances", +"httpMethod": "POST", +"id": "integrations.projects.locations.products.sfdcInstances.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. \"projects/{project}/locations/{location}\" format.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/products/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha/{+parent}/sfdcInstances", +"request": { +"$ref": "GoogleCloudIntegrationsV1alphaSfdcInstance" +}, +"response": { +"$ref": "GoogleCloudIntegrationsV1alphaSfdcInstance" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes an sfdc instance.", +"flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/products/{productsId}/sfdcInstances/{sfdcInstancesId}", +"httpMethod": "DELETE", +"id": "integrations.projects.locations.products.sfdcInstances.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name that is associated with the SfdcInstance.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/products/[^/]+/sfdcInstances/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha/{+name}", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets an sfdc instance. If the instance doesn't exist, Code.NOT_FOUND exception will be thrown.", +"flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/products/{productsId}/sfdcInstances/{sfdcInstancesId}", +"httpMethod": "GET", +"id": "integrations.projects.locations.products.sfdcInstances.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name that is associated with the SfdcInstance.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/products/[^/]+/sfdcInstances/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha/{+name}", +"response": { +"$ref": "GoogleCloudIntegrationsV1alphaSfdcInstance" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists all sfdc instances that match the filter. Restrict to sfdc instances belonging to the current client only.", +"flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/products/{productsId}/sfdcInstances", +"httpMethod": "GET", +"id": "integrations.projects.locations.products.sfdcInstances.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Filtering as supported in https://developers.google.com/authorized-buyers/apis/guides/list-filters.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "The size of entries in the response. If unspecified, defaults to 100.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The token returned in the previous response.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The client, which owns this collection of SfdcInstances.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/products/[^/]+$", +"required": true, +"type": "string" +}, +"readMask": { +"description": "The mask which specifies fields that need to be returned in the SfdcInstance's response.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1alpha/{+parent}/sfdcInstances", +"response": { +"$ref": "GoogleCloudIntegrationsV1alphaListSfdcInstancesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates an sfdc instance. Updates the sfdc instance in spanner. Returns the sfdc instance.", +"flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/products/{productsId}/sfdcInstances/{sfdcInstancesId}", +"httpMethod": "PATCH", +"id": "integrations.projects.locations.products.sfdcInstances.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Resource name of the SFDC instance projects/{project}/locations/{location}/sfdcInstances/{sfdcInstance}.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/products/[^/]+/sfdcInstances/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Field mask specifying the fields in the above SfdcInstance that have been modified and need to be updated.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1alpha/{+name}", +"request": { +"$ref": "GoogleCloudIntegrationsV1alphaSfdcInstance" +}, +"response": { +"$ref": "GoogleCloudIntegrationsV1alphaSfdcInstance" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"sfdcChannels": { +"methods": { +"create": { +"description": "Creates an sfdc channel record. Store the sfdc channel in Spanner. Returns the sfdc channel.", +"flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/products/{productsId}/sfdcInstances/{sfdcInstancesId}/sfdcChannels", +"httpMethod": "POST", +"id": "integrations.projects.locations.products.sfdcInstances.sfdcChannels.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. \"projects/{project}/locations/{location}\" format.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/products/[^/]+/sfdcInstances/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha/{+parent}/sfdcChannels", +"request": { +"$ref": "GoogleCloudIntegrationsV1alphaSfdcChannel" +}, +"response": { +"$ref": "GoogleCloudIntegrationsV1alphaSfdcChannel" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes an sfdc channel.", +"flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/products/{productsId}/sfdcInstances/{sfdcInstancesId}/sfdcChannels/{sfdcChannelsId}", +"httpMethod": "DELETE", +"id": "integrations.projects.locations.products.sfdcInstances.sfdcChannels.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name that is associated with the SfdcChannel.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/products/[^/]+/sfdcInstances/[^/]+/sfdcChannels/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha/{+name}", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets an sfdc channel. If the channel doesn't exist, Code.NOT_FOUND exception will be thrown.", +"flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/products/{productsId}/sfdcInstances/{sfdcInstancesId}/sfdcChannels/{sfdcChannelsId}", +"httpMethod": "GET", +"id": "integrations.projects.locations.products.sfdcInstances.sfdcChannels.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name that is associated with the SfdcChannel.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/products/[^/]+/sfdcInstances/[^/]+/sfdcChannels/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha/{+name}", +"response": { +"$ref": "GoogleCloudIntegrationsV1alphaSfdcChannel" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists all sfdc channels that match the filter. Restrict to sfdc channels belonging to the current client only.", +"flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/products/{productsId}/sfdcInstances/{sfdcInstancesId}/sfdcChannels", +"httpMethod": "GET", +"id": "integrations.projects.locations.products.sfdcInstances.sfdcChannels.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Filtering as supported in https://developers.google.com/authorized-buyers/apis/guides/list-filters.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "The size of entries in the response. If unspecified, defaults to 100.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The token returned in the previous response.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The client, which owns this collection of SfdcChannels.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/products/[^/]+/sfdcInstances/[^/]+$", +"required": true, +"type": "string" +}, +"readMask": { +"description": "The mask which specifies fields that need to be returned in the SfdcChannel's response.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1alpha/{+parent}/sfdcChannels", +"response": { +"$ref": "GoogleCloudIntegrationsV1alphaListSfdcChannelsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates an sfdc channel. Updates the sfdc channel in spanner. Returns the sfdc channel.", +"flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/products/{productsId}/sfdcInstances/{sfdcInstancesId}/sfdcChannels/{sfdcChannelsId}", +"httpMethod": "PATCH", +"id": "integrations.projects.locations.products.sfdcInstances.sfdcChannels.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Resource name of the SFDC channel projects/{project}/locations/{location}/sfdcInstances/{sfdc_instance}/sfdcChannels/{sfdc_channel}.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/products/[^/]+/sfdcInstances/[^/]+/sfdcChannels/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Field mask specifying the fields in the above SfdcChannel that have been modified and need to be updated.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1alpha/{+name}", +"request": { +"$ref": "GoogleCloudIntegrationsV1alphaSfdcChannel" +}, +"response": { +"$ref": "GoogleCloudIntegrationsV1alphaSfdcChannel" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +} +} +}, +"sfdcInstances": { +"methods": { +"create": { +"description": "Creates an sfdc instance record. Store the sfdc instance in Spanner. Returns the sfdc instance.", +"flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/sfdcInstances", +"httpMethod": "POST", +"id": "integrations.projects.locations.sfdcInstances.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. \"projects/{project}/locations/{location}\" format.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha/{+parent}/sfdcInstances", +"request": { +"$ref": "GoogleCloudIntegrationsV1alphaSfdcInstance" +}, +"response": { +"$ref": "GoogleCloudIntegrationsV1alphaSfdcInstance" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes an sfdc instance.", +"flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/sfdcInstances/{sfdcInstancesId}", +"httpMethod": "DELETE", +"id": "integrations.projects.locations.sfdcInstances.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name that is associated with the SfdcInstance.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/sfdcInstances/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha/{+name}", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets an sfdc instance. If the instance doesn't exist, Code.NOT_FOUND exception will be thrown.", +"flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/sfdcInstances/{sfdcInstancesId}", +"httpMethod": "GET", +"id": "integrations.projects.locations.sfdcInstances.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name that is associated with the SfdcInstance.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/sfdcInstances/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha/{+name}", +"response": { +"$ref": "GoogleCloudIntegrationsV1alphaSfdcInstance" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists all sfdc instances that match the filter. Restrict to sfdc instances belonging to the current client only.", +"flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/sfdcInstances", +"httpMethod": "GET", +"id": "integrations.projects.locations.sfdcInstances.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Filtering as supported in https://developers.google.com/authorized-buyers/apis/guides/list-filters.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "The size of entries in the response. If unspecified, defaults to 100.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The token returned in the previous response.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The client, which owns this collection of SfdcInstances.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +}, +"readMask": { +"description": "The mask which specifies fields that need to be returned in the SfdcInstance's response.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1alpha/{+parent}/sfdcInstances", +"response": { +"$ref": "GoogleCloudIntegrationsV1alphaListSfdcInstancesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates an sfdc instance. Updates the sfdc instance in spanner. Returns the sfdc instance.", +"flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/sfdcInstances/{sfdcInstancesId}", +"httpMethod": "PATCH", +"id": "integrations.projects.locations.sfdcInstances.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Resource name of the SFDC instance projects/{project}/locations/{location}/sfdcInstances/{sfdcInstance}.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/sfdcInstances/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Field mask specifying the fields in the above SfdcInstance that have been modified and need to be updated.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1alpha/{+name}", +"request": { +"$ref": "GoogleCloudIntegrationsV1alphaSfdcInstance" +}, +"response": { +"$ref": "GoogleCloudIntegrationsV1alphaSfdcInstance" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"sfdcChannels": { +"methods": { +"create": { +"description": "Creates an sfdc channel record. Store the sfdc channel in Spanner. Returns the sfdc channel.", +"flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/sfdcInstances/{sfdcInstancesId}/sfdcChannels", +"httpMethod": "POST", +"id": "integrations.projects.locations.sfdcInstances.sfdcChannels.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. \"projects/{project}/locations/{location}\" format.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/sfdcInstances/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha/{+parent}/sfdcChannels", +"request": { +"$ref": "GoogleCloudIntegrationsV1alphaSfdcChannel" +}, +"response": { +"$ref": "GoogleCloudIntegrationsV1alphaSfdcChannel" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes an sfdc channel.", +"flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/sfdcInstances/{sfdcInstancesId}/sfdcChannels/{sfdcChannelsId}", +"httpMethod": "DELETE", +"id": "integrations.projects.locations.sfdcInstances.sfdcChannels.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name that is associated with the SfdcChannel.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/sfdcInstances/[^/]+/sfdcChannels/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha/{+name}", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets an sfdc channel. If the channel doesn't exist, Code.NOT_FOUND exception will be thrown.", +"flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/sfdcInstances/{sfdcInstancesId}/sfdcChannels/{sfdcChannelsId}", +"httpMethod": "GET", +"id": "integrations.projects.locations.sfdcInstances.sfdcChannels.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name that is associated with the SfdcChannel.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/sfdcInstances/[^/]+/sfdcChannels/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha/{+name}", +"response": { +"$ref": "GoogleCloudIntegrationsV1alphaSfdcChannel" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists all sfdc channels that match the filter. Restrict to sfdc channels belonging to the current client only.", +"flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/sfdcInstances/{sfdcInstancesId}/sfdcChannels", +"httpMethod": "GET", +"id": "integrations.projects.locations.sfdcInstances.sfdcChannels.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Filtering as supported in https://developers.google.com/authorized-buyers/apis/guides/list-filters.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "The size of entries in the response. If unspecified, defaults to 100.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The token returned in the previous response.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The client, which owns this collection of SfdcChannels.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/sfdcInstances/[^/]+$", +"required": true, +"type": "string" +}, +"readMask": { +"description": "The mask which specifies fields that need to be returned in the SfdcChannel's response.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1alpha/{+parent}/sfdcChannels", +"response": { +"$ref": "GoogleCloudIntegrationsV1alphaListSfdcChannelsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates an sfdc channel. Updates the sfdc channel in spanner. Returns the sfdc channel.", +"flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/sfdcInstances/{sfdcInstancesId}/sfdcChannels/{sfdcChannelsId}", +"httpMethod": "PATCH", +"id": "integrations.projects.locations.sfdcInstances.sfdcChannels.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Resource name of the SFDC channel projects/{project}/locations/{location}/sfdcInstances/{sfdc_instance}/sfdcChannels/{sfdc_channel}.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/sfdcInstances/[^/]+/sfdcChannels/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Field mask specifying the fields in the above SfdcChannel that have been modified and need to be updated.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1alpha/{+name}", +"request": { +"$ref": "GoogleCloudIntegrationsV1alphaSfdcChannel" +}, +"response": { +"$ref": "GoogleCloudIntegrationsV1alphaSfdcChannel" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +} +} +} +} +} +}, +"revision": "20240416", +"rootUrl": "https://integrations.googleapis.com/", +"schemas": { +"CrmlogErrorCode": { +"description": "Registered ids for errors, as \"oneof\" enums. Each task or logical grouping of tasks may share the same enum.", +"id": "CrmlogErrorCode", +"properties": { +"commonErrorCode": { +"enum": [ +"COMMON_ERROR_CODE_UNSPECIFIED", +"INVALID_CREDENTIALS", +"REQUIRED_FIELDS_MISSING", +"INVALID_FIELDS", +"BACKEND", +"GENERAL", +"INTERNAL", +"IO_ERROR", +"NOT_FOUND", +"EVENT_BUS", +"ALREADY_EXISTS", +"CONCORD", +"CONVERSION", +"FLUME", +"PERMISSION", +"SALES_FORCE", +"SPANNER", +"UNIMPLEMENTED", +"RELTIO", +"WORKFLOW_NOT_FOUND", +"QUOTA_THROTTLED", +"QUOTA_ENQUEUED", +"INVALID_QUOTA_CONFIGURATION", +"TASK_NOT_FOUND", +"EXECUTION_TIMEOUT", +"INVALID_EVENT_EXECUTION_STATE", +"INVALID_ATTRIBUTE", +"MISSING_ATTRIBUTE", +"CLIENT_UNAUTHORIZED_FOR_WORKFLOW", +"INVALID_PARAMETER", +"MISSING_PARAMETER", +"UNAUTHROIZED_WORKFLOW_EDITOR_ACTION", +"FAILED_PRECONDITION", +"INVALID_CLIENT", +"MISSING_CLIENT", +"INVALID_WORKFLOW", +"MISSING_QUOTA_CONFIGURATION", +"UNHANDLED_TASK_ERROR", +"SCRIPT_TASK_RUNTIME_ERROR", +"RPC", +"INVALID_PROTO", +"UNHANDLED_EVENTBUS_ERROR", +"INVALID_TASK_STATE", +"TYPED_TASK_INVALID_INPUT_OPERATION", +"TYPED_TASK_INVALID_OUTPUT_OPERATION", +"VALIDATION_ERROR", +"RESUME_ERROR", +"APPS_SCRIPT_EXECUTION_ERROR", +"INVALID_VECTOR_USER", +"INFORMATICA", +"RETRYABLE_TASK_ERROR", +"INVALID_TENANT", +"WRONG_TENANT", +"INFORMATICA_BACKEND_UNAVAILABLE", +"RPC_PERMISSION_DENIED", +"SYNC_EVENTBUS_EXECUTION_TIMEOUT", +"ASYNC_EVENTBUS_EXECUTION_TIMEOUT", +"NOT_SUPPORTED_DATA_TYPE", +"UNSANITIZED_USER_INPUT", +"TRANSFORM_EXPRESSION_EVALUATION_ERROR", +"HTTP_EXCEPTION", +"EXECUTION_CANCELLED" +], +"enumDeprecated": [ +false, +true, +false, +false, +true, +true, +true, +false, +false, +true, +false, +false, +false, +false, +true, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"SYNC_EVENTBUS_EXECUTION_TIMEOUT is for eventbus internal use only.", +"ASYNC_EVENTBUS_EXECUTION_TIMEOUT is for eventbus internal use only. This error will be counted as server availability error.", +"", +"", +"", +"", +"" +], +"type": "string" +} +}, +"type": "object" +}, +"EnterpriseCrmEventbusAuthconfigAuthConfigTaskParam": { +"id": "EnterpriseCrmEventbusAuthconfigAuthConfigTaskParam", +"properties": { +"allowedCredentialTypes": { +"description": "Defines the credential types to be supported as Task may restrict specific types to use, e.g. Cloud SQL Task will use username/password type only.", +"items": { +"enum": [ +"CREDENTIAL_TYPE_UNSPECIFIED", +"USERNAME_AND_PASSWORD", +"API_KEY", +"OAUTH2_AUTHORIZATION_CODE", +"OAUTH2_IMPLICIT", +"OAUTH2_CLIENT_CREDENTIALS", +"OAUTH2_RESOURCE_OWNER_CREDENTIALS", +"JWT", +"AUTH_TOKEN", +"SERVICE_ACCOUNT", +"CLIENT_CERTIFICATE_ONLY", +"OIDC_TOKEN" +], +"enumDescriptions": [ +"", +"Regular username/password pair.", +"API key.", +"OAuth 2.0 Authorization Code Grant Type.", +"OAuth 2.0 Implicit Grant Type.", +"OAuth 2.0 Client Credentials Grant Type.", +"OAuth 2.0 Resource Owner Credentials Grant Type.", +"JWT Token.", +"Auth Token, e.g. bearer token.", +"Service Account which can be used to generate token for authentication.", +"Client Certificate only.", +"Google OIDC ID Token" +], +"type": "string" +}, +"type": "array" +}, +"allowedServiceAccountInContext": { +"type": "boolean" +}, +"authConfigId": { +"description": "UUID of the AuthConfig.", +"type": "string" +}, +"scope": { +"description": "A space-delimited list of requested scope permissions.", +"type": "string" +}, +"useServiceAccountInContext": { +"type": "boolean" +} +}, +"type": "object" +}, +"EnterpriseCrmEventbusProtoAddress": { +"description": "Email address along with optional name and tokens. These tokens will be substituted for the variables in the form of [{var_name}], where var_name could be any string of no more than 32 bytes.", +"id": "EnterpriseCrmEventbusProtoAddress", +"properties": { +"email": { +"description": "Required.", +"type": "string" +}, +"name": { +"type": "string" +}, +"tokens": { +"items": { +"$ref": "EnterpriseCrmEventbusProtoToken" +}, +"type": "array" +} +}, +"type": "object" +}, +"EnterpriseCrmEventbusProtoAttributes": { +"description": "Attributes are additional options that can be associated with each event property. For more information, see", +"id": "EnterpriseCrmEventbusProtoAttributes", +"properties": { +"dataType": { +"description": "Things like URL, Email, Currency, Timestamp (rather than string, int64...)", +"enum": [ +"DATA_TYPE_UNSPECIFIED", +"EMAIL", +"URL", +"CURRENCY", +"TIMESTAMP", +"DOMAIN_NAME" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"Domain is a web url string with one top-level private domain and a suffix (for example: google.com, walmart.com)" +], +"type": "string" +}, +"defaultValue": { +"$ref": "EnterpriseCrmEventbusProtoValueType", +"description": "Used to define defaults." +}, +"isRequired": { +"description": "Required for event execution. The validation will be done by the event bus when the event is triggered.", +"type": "boolean" +}, +"isSearchable": { +"deprecated": true, +"description": "Used to indicate if a ParameterEntry should be converted to ParamIndexes for ST-Spanner full-text search. DEPRECATED: use searchable.", +"type": "boolean" +}, +"logSettings": { +"$ref": "EnterpriseCrmEventbusProtoLogSettings", +"description": "See" +}, +"masked": { +"description": "True if this workflow parameter should be masked in the logs", +"type": "boolean" +}, +"readOnly": { +"description": "Used to indicate if the ParameterEntry is a read only field or not.", +"type": "boolean" +}, +"searchable": { +"enum": [ +"UNSPECIFIED", +"YES", +"NO" +], +"enumDescriptions": [ +"", +"If yes, the parameter key and value will be full-text indexed. In a proto, this value will propagate to all children whose searchable is unspecified.", +"If no, the parameter key and value will not be full-text indexed. In a proto, this value will propagate to all children whose searchable is unspecified." +], +"type": "string" +}, +"taskVisibility": { +"description": "List of tasks that can view this property, if empty then all.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"EnterpriseCrmEventbusProtoBaseAlertConfigErrorEnumList": { +"description": "List of error enums for alerts.", +"id": "EnterpriseCrmEventbusProtoBaseAlertConfigErrorEnumList", +"properties": { +"enumStrings": { +"items": { +"type": "string" +}, +"type": "array" +}, +"filterType": { +"enum": [ +"DEFAULT_INCLUSIVE", +"EXCLUSIVE" +], +"enumDescriptions": [ +"", +"" +], +"type": "string" +} +}, +"type": "object" +}, +"EnterpriseCrmEventbusProtoBaseAlertConfigThresholdValue": { +"description": "The threshold value of the metric, above or below which the alert should be triggered. See EventAlertConfig or TaskAlertConfig for the different alert metric types in each case. For the *RATE metrics, one or both of these fields may be set. Zero is the default value and can be left at that. For *PERCENTILE_DURATION metrics, one or both of these fields may be set, and also, the duration threshold value should be specified in the threshold_duration_ms member below. For *AVERAGE_DURATION metrics, these fields should not be set at all. A different member, threshold_duration_ms, must be set in the EventAlertConfig or the TaskAlertConfig.", +"id": "EnterpriseCrmEventbusProtoBaseAlertConfigThresholdValue", +"properties": { +"absolute": { +"format": "int64", +"type": "string" +}, +"percentage": { +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"EnterpriseCrmEventbusProtoBaseFunction": { +"id": "EnterpriseCrmEventbusProtoBaseFunction", +"properties": { +"functionName": { +"enum": [ +"UNSPECIFIED", +"NOW_IN_MILLIS", +"INT_LIST", +"ENVIRONMENT", +"GET_EXECUTION_ID", +"GET_INTEGRATION_NAME", +"GET_REGION", +"GET_UUID", +"GET_PROJECT_ID" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"", +"", +"", +"" +], +"type": "string" +} +}, +"type": "object" +}, +"EnterpriseCrmEventbusProtoBaseValue": { +"id": "EnterpriseCrmEventbusProtoBaseValue", +"properties": { +"baseFunction": { +"$ref": "EnterpriseCrmEventbusProtoFunction", +"description": "Start with a function that does not build on existing values. Eg. CurrentTime, Min, Max, Exists, etc." +}, +"literalValue": { +"$ref": "EnterpriseCrmEventbusProtoParameterValueType", +"description": "Start with a literal value." +}, +"referenceValue": { +"description": "Start with a reference value to dereference.", +"type": "string" +} +}, +"type": "object" +}, +"EnterpriseCrmEventbusProtoBooleanArrayFunction": { +"id": "EnterpriseCrmEventbusProtoBooleanArrayFunction", +"properties": { +"functionName": { +"enum": [ +"UNSPECIFIED", +"GET", +"APPEND", +"SIZE", +"TO_SET", +"APPEND_ALL", +"TO_JSON", +"SET", +"REMOVE", +"REMOVE_AT", +"CONTAINS", +"FOR_EACH", +"FILTER" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"" +], +"type": "string" +} +}, +"type": "object" +}, +"EnterpriseCrmEventbusProtoBooleanFunction": { +"id": "EnterpriseCrmEventbusProtoBooleanFunction", +"properties": { +"functionName": { +"enum": [ +"UNSPECIFIED", +"TO_JSON", +"NOT", +"AND", +"NAND", +"OR", +"XOR", +"NOR", +"XNOR", +"TO_STRING", +"EQUALS" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"" +], +"type": "string" +} +}, +"type": "object" +}, +"EnterpriseCrmEventbusProtoBooleanParameterArray": { +"id": "EnterpriseCrmEventbusProtoBooleanParameterArray", +"properties": { +"booleanValues": { +"items": { +"type": "boolean" +}, +"type": "array" +} +}, +"type": "object" +}, +"EnterpriseCrmEventbusProtoBuganizerNotification": { +"id": "EnterpriseCrmEventbusProtoBuganizerNotification", +"properties": { +"assigneeEmailAddress": { +"description": "Whom to assign the new bug. Optional.", +"type": "string" +}, +"componentId": { +"description": "ID of the buganizer component within which to create a new issue. Required.", +"format": "int64", +"type": "string" +}, +"templateId": { +"description": "ID of the buganizer template to use. Optional.", +"format": "int64", +"type": "string" +}, +"title": { +"description": "Title of the issue to be created. Required.", +"type": "string" +} +}, +"type": "object" +}, +"EnterpriseCrmEventbusProtoCloudKmsConfig": { +"id": "EnterpriseCrmEventbusProtoCloudKmsConfig", +"properties": { +"gcpProjectId": { +"description": "Optional. The id of GCP project where the KMS key is stored. If not provided, assume the key is stored in the same GCP project defined in Client (tag 14).", +"type": "string" +}, +"keyName": { +"description": "A Cloud KMS key is a named object containing one or more key versions, along with metadata for the key. A key exists on exactly one key ring tied to a specific location.", +"type": "string" +}, +"keyRingName": { +"description": "A key ring organizes keys in a specific Google Cloud location and allows you to manage access control on groups of keys. A key ring's name does not need to be unique across a Google Cloud project, but must be unique within a given location.", +"type": "string" +}, +"keyVersionName": { +"description": "Optional. Each version of a key contains key material used for encryption or signing. A key's version is represented by an integer, starting at 1. To decrypt data or verify a signature, you must use the same key version that was used to encrypt or sign the data.", +"type": "string" +}, +"locationName": { +"description": "Location name of the key ring, e.g. \"us-west1\".", +"type": "string" +}, +"serviceAccount": { +"description": "Optional. The service account used for authentication of this KMS key. If this is not provided, the service account in Client.clientSource will be used.", +"type": "string" +} +}, +"type": "object" +}, +"EnterpriseCrmEventbusProtoCloudSchedulerConfig": { +"description": "Cloud Scheduler Trigger configuration", +"id": "EnterpriseCrmEventbusProtoCloudSchedulerConfig", +"properties": { +"cronTab": { +"description": "Required. The cron tab of cloud scheduler trigger.", +"type": "string" +}, +"errorMessage": { +"description": "Optional. When the job was deleted from Pantheon UI, error_message will be populated when Get/List integrations", +"type": "string" +}, +"location": { +"description": "Required. The location where associated cloud scheduler job will be created", +"type": "string" +}, +"serviceAccountEmail": { +"description": "Required. Service account used by Cloud Scheduler to trigger the integration at scheduled time", +"type": "string" +} +}, +"type": "object" +}, +"EnterpriseCrmEventbusProtoCombinedCondition": { +"deprecated": true, +"description": "This message recursively combines constituent conditions using logical AND.", +"id": "EnterpriseCrmEventbusProtoCombinedCondition", +"properties": { +"conditions": { +"description": "A set of individual constituent conditions.", +"items": { +"$ref": "EnterpriseCrmEventbusProtoCondition" +}, +"type": "array" +} +}, +"type": "object" +}, +"EnterpriseCrmEventbusProtoCondition": { +"deprecated": true, +"description": "Condition that uses `operator` to evaluate the key against the value.", +"id": "EnterpriseCrmEventbusProtoCondition", +"properties": { +"eventPropertyKey": { +"description": "Key that's evaluated against the `value`. Please note the data type of the runtime value associated with the key should match the data type of `value`, else an IllegalArgumentException is thrown.", +"type": "string" +}, +"operator": { +"description": "Operator used to evaluate the condition. Please note that an operator with an inappropriate key/value operand will result in IllegalArgumentException, e.g. CONTAINS with boolean key/value pair.", +"enum": [ +"UNSET", +"EQUALS", +"CONTAINS", +"LESS_THAN", +"GREATER_THAN", +"EXISTS", +"DOES_NOT_EXIST", +"IS_EMPTY", +"IS_NOT_EMPTY" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"", +"", +"", +"" +], +"type": "string" +}, +"value": { +"$ref": "EnterpriseCrmEventbusProtoValueType", +"description": "Value that's checked for the key." +} +}, +"type": "object" +}, +"EnterpriseCrmEventbusProtoConditionResult": { +"description": "Contains the combined condition calculation results.", +"id": "EnterpriseCrmEventbusProtoConditionResult", +"properties": { +"currentTaskNumber": { +"description": "the current task number.", +"type": "string" +}, +"nextTaskNumber": { +"description": "the next task number.", +"type": "string" +}, +"result": { +"description": "the result comes out after evaluate the combined condition. True if there's no combined condition specified.", +"type": "boolean" +} +}, +"type": "object" +}, +"EnterpriseCrmEventbusProtoConnectorsConnection": { +"id": "EnterpriseCrmEventbusProtoConnectorsConnection", +"properties": { +"connectionName": { +"description": "Connection name Format: projects/{project}/locations/{location}/connections/{connection}", +"type": "string" +}, +"connectorVersion": { +"description": "Connector version Format: projects/{project}/locations/{location}/providers/{provider}/connectors/{connector}/versions/{version}", +"type": "string" +}, +"serviceName": { +"description": "Service name Format: projects/{project}/locations/{location}/namespaces/{namespace}/services/{service}", +"type": "string" +} +}, +"type": "object" +}, +"EnterpriseCrmEventbusProtoConnectorsGenericConnectorTaskConfig": { +"id": "EnterpriseCrmEventbusProtoConnectorsGenericConnectorTaskConfig", +"properties": { +"connection": { +"$ref": "EnterpriseCrmEventbusProtoConnectorsConnection", +"description": "User-selected connection." +}, +"operation": { +"description": "Operation to perform using the configured connection.", +"enum": [ +"OPERATION_UNSPECIFIED", +"EXECUTE_ACTION", +"LIST_ENTITIES", +"GET_ENTITY", +"CREATE_ENTITY", +"UPDATE_ENTITY", +"DELETE_ENTITY", +"EXECUTE_QUERY" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"", +"", +"" +], +"type": "string" +} +}, +"type": "object" +}, +"EnterpriseCrmEventbusProtoCoordinate": { +"description": "Represents two-dimensional positions.", +"id": "EnterpriseCrmEventbusProtoCoordinate", +"properties": { +"x": { +"format": "int32", +"type": "integer" +}, +"y": { +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"EnterpriseCrmEventbusProtoCustomSuspensionRequest": { +"id": "EnterpriseCrmEventbusProtoCustomSuspensionRequest", +"properties": { +"postToQueueWithTriggerIdRequest": { +"$ref": "GoogleInternalCloudCrmEventbusV3PostToQueueWithTriggerIdRequest", +"description": "Request to fire an event containing the SuspensionInfo message." +}, +"suspensionInfoEventParameterKey": { +"description": "In the fired event, set the SuspensionInfo message as the value for this key.", +"type": "string" +} +}, +"type": "object" +}, +"EnterpriseCrmEventbusProtoDoubleArray": { +"id": "EnterpriseCrmEventbusProtoDoubleArray", +"properties": { +"values": { +"items": { +"format": "double", +"type": "number" +}, +"type": "array" +} +}, +"type": "object" +}, +"EnterpriseCrmEventbusProtoDoubleArrayFunction": { +"id": "EnterpriseCrmEventbusProtoDoubleArrayFunction", +"properties": { +"functionName": { +"enum": [ +"UNSPECIFIED", +"GET", +"APPEND", +"SIZE", +"SUM", +"AVG", +"MAX", +"MIN", +"TO_SET", +"APPEND_ALL", +"TO_JSON", +"SET", +"REMOVE", +"REMOVE_AT", +"CONTAINS", +"FOR_EACH", +"FILTER" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"" +], +"type": "string" +} +}, +"type": "object" +}, +"EnterpriseCrmEventbusProtoDoubleFunction": { +"id": "EnterpriseCrmEventbusProtoDoubleFunction", +"properties": { +"functionName": { +"enum": [ +"UNSPECIFIED", +"TO_JSON", +"TO_STRING", +"ADD", +"SUBTRACT", +"MULTIPLY", +"DIVIDE", +"EXPONENT", +"ROUND", +"FLOOR", +"CEIL", +"GREATER_THAN", +"LESS_THAN", +"EQUALS", +"GREATER_THAN_EQUALS", +"LESS_THAN_EQUALS", +"MOD" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"" +], +"type": "string" +} +}, +"type": "object" +}, +"EnterpriseCrmEventbusProtoDoubleParameterArray": { +"id": "EnterpriseCrmEventbusProtoDoubleParameterArray", +"properties": { +"doubleValues": { +"items": { +"format": "double", +"type": "number" +}, +"type": "array" +} +}, +"type": "object" +}, +"EnterpriseCrmEventbusProtoErrorDetail": { +"description": "An error, warning, or information message associated with a workflow.", +"id": "EnterpriseCrmEventbusProtoErrorDetail", +"properties": { +"errorCode": { +"$ref": "CrmlogErrorCode", +"description": "The associated error-code, which can be a common or internal code." +}, +"errorMessage": { +"description": "The full text of the error message, including any parameters that were thrown along with the exception.", +"type": "string" +}, +"severity": { +"description": "The severity of the error: ERROR|WARN|INFO.", +"enum": [ +"SEVERITY_UNSPECIFIED", +"ERROR", +"WARN", +"INFO" +], +"enumDescriptions": [ +"", +"", +"", +"" +], +"type": "string" +}, +"taskNumber": { +"description": "The task try-number, in which, the error occurred. If zero, the error happened at the event level.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"EnterpriseCrmEventbusProtoEventBusProperties": { +"description": "LINT.IfChange This message is used for storing key value pair properties for each Event / Task in the EventBus.", +"id": "EnterpriseCrmEventbusProtoEventBusProperties", +"properties": { +"properties": { +"description": "An unordered list of property entries.", +"items": { +"$ref": "EnterpriseCrmEventbusProtoPropertyEntry" +}, +"type": "array" +} +}, +"type": "object" +}, +"EnterpriseCrmEventbusProtoEventExecutionDetails": { +"description": "Contains the details of the execution info of this event: this includes the tasks execution details plus the event execution statistics. Next available id: 11", +"id": "EnterpriseCrmEventbusProtoEventExecutionDetails", +"properties": { +"eventAttemptStats": { +"items": { +"$ref": "EnterpriseCrmEventbusProtoEventExecutionDetailsEventAttemptStats" +}, +"type": "array" +}, +"eventExecutionSnapshot": { +"items": { +"$ref": "EnterpriseCrmEventbusProtoEventExecutionSnapshot" +}, +"type": "array" +}, +"eventExecutionSnapshotsSize": { +"description": "Total size of all event_execution_snapshots for an execution", +"format": "int64", +"type": "string" +}, +"eventExecutionState": { +"enum": [ +"UNSPECIFIED", +"ON_HOLD", +"IN_PROCESS", +"SUCCEEDED", +"FAILED", +"CANCELED", +"RETRY_ON_HOLD", +"SUSPENDED" +], +"enumDescriptions": [ +"", +"Event is received and waiting for the execution. This happens when firing the event via \"postToQueue\" or \"schedule\".", +"Event is under processing.", +"Event execution successfully finished. There's no more change after this state.", +"Event execution failed. There's no more change after this state.", +"Event execution canceled by user. There's no more change after this state.", +"Event execution failed and waiting for retry.", +"Event execution suspended and waiting for manual intervention." +], +"type": "string" +}, +"eventRetriesFromBeginningCount": { +"description": "Indicates the number of times the execution has restarted from the beginning.", +"format": "int32", +"type": "integer" +}, +"logFilePath": { +"description": "The log file path (aka. cns address) for this event.", +"type": "string" +}, +"networkAddress": { +"description": "The network address (aka. bns address) that indicates where the event executor is running.", +"type": "string" +}, +"nextExecutionTime": { +"description": "Next scheduled execution time in case the execution status was RETRY_ON_HOLD.", +"format": "int64", +"type": "string" +}, +"ryeLockUnheldCount": { +"description": "Used internally and shouldn't be exposed to users. A counter for the cron job to record how many times this event is in in_process state but don't have a lock consecutively/", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"EnterpriseCrmEventbusProtoEventExecutionDetailsEventAttemptStats": { +"id": "EnterpriseCrmEventbusProtoEventExecutionDetailsEventAttemptStats", +"properties": { +"endTime": { +"description": "The end time of the event execution for current attempt.", +"format": "int64", +"type": "string" +}, +"startTime": { +"description": "The start time of the event execution for current attempt. This could be in the future if it's been scheduled.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"EnterpriseCrmEventbusProtoEventExecutionSnapshot": { +"description": "Contains the snapshot of the event execution for a given checkpoint. Next available id: 13", +"id": "EnterpriseCrmEventbusProtoEventExecutionSnapshot", +"properties": { +"checkpointTaskNumber": { +"description": "Indicates \"right after which checkpoint task's execution\" this snapshot is taken.", +"type": "string" +}, +"conditionResults": { +"description": "All of the computed conditions that been calculated.", +"items": { +"$ref": "EnterpriseCrmEventbusProtoConditionResult" +}, +"type": "array" +}, +"diffParams": { +"$ref": "EnterpriseCrmEventbusProtoEventParameters", +"description": "The parameters in Event object that differs from last snapshot." +}, +"eventExecutionInfoId": { +"description": "Points to the event execution info this snapshot belongs to.", +"type": "string" +}, +"eventExecutionSnapshotId": { +"description": "Auto-generated. Used as primary key for EventExecutionSnapshots table.", +"type": "string" +}, +"eventExecutionSnapshotMetadata": { +"$ref": "EnterpriseCrmEventbusProtoEventExecutionSnapshotEventExecutionSnapshotMetadata" +}, +"eventParams": { +"$ref": "EnterpriseCrmEventbusProtoEventParameters", +"description": "The parameters in Event object." +}, +"exceedMaxSize": { +"description": "indicate whether snapshot exceeded maximum size before clean up", +"type": "boolean" +}, +"snapshotTime": { +"description": "Indicates when this snapshot is taken.", +"format": "int64", +"type": "string" +}, +"taskExecutionDetails": { +"description": "All of the task execution details at the given point of time.", +"items": { +"$ref": "EnterpriseCrmEventbusProtoTaskExecutionDetails" +}, +"type": "array" +}, +"taskName": { +"deprecated": true, +"description": "The task name associated with this snapshot. Could be empty.", +"type": "string" +} +}, +"type": "object" +}, +"EnterpriseCrmEventbusProtoEventExecutionSnapshotEventExecutionSnapshotMetadata": { +"id": "EnterpriseCrmEventbusProtoEventExecutionSnapshotEventExecutionSnapshotMetadata", +"properties": { +"ancestorIterationNumbers": { +"description": "Ancestor iteration number for the task(it will only be non-empty if the task is under 'private workflow')", +"items": { +"type": "string" +}, +"type": "array" +}, +"ancestorTaskNumbers": { +"description": "Ancestor task number for the task(it will only be non-empty if the task is under 'private workflow')", +"items": { +"type": "string" +}, +"type": "array" +}, +"eventAttemptNum": { +"description": "the event attempt number this snapshot belongs to.", +"format": "int32", +"type": "integer" +}, +"integrationName": { +"description": "The direct integration which the event execution snapshots belongs to", +"type": "string" +}, +"taskAttemptNum": { +"description": "the task attempt number this snapshot belongs to. Could be empty.", +"format": "int32", +"type": "integer" +}, +"taskLabel": { +"description": "the task label associated with this snapshot. Could be empty.", +"type": "string" +}, +"taskName": { +"description": "the task name associated with this snapshot. Could be empty.", +"type": "string" +}, +"taskNumber": { +"description": "The task number associated with this snapshot. Could be empty.", +"type": "string" +} +}, +"type": "object" +}, +"EnterpriseCrmEventbusProtoEventParameters": { +"description": "LINT.IfChange This message is used for processing and persisting (when applicable) key value pair parameters for each event in the event bus. Please see", +"id": "EnterpriseCrmEventbusProtoEventParameters", +"properties": { +"parameters": { +"description": "Parameters are a part of Event and can be used to communicate between different tasks that are part of the same integration execution.", +"items": { +"$ref": "EnterpriseCrmEventbusProtoParameterEntry" +}, +"type": "array" +} +}, +"type": "object" +}, +"EnterpriseCrmEventbusProtoExecutionTraceInfo": { +"description": "Message that helps aggregate all sub-executions triggered by one execution and keeps track of child-parent relationships.", +"id": "EnterpriseCrmEventbusProtoExecutionTraceInfo", +"properties": { +"parentEventExecutionInfoId": { +"description": "Parent event execution info id that triggers the current execution through SubWorkflowExecutorTask.", +"type": "string" +}, +"traceId": { +"description": "Used to aggregate ExecutionTraceInfo.", +"type": "string" +} +}, +"type": "object" +}, +"EnterpriseCrmEventbusProtoExternalTraffic": { +"description": "Represents external traffic type and id.", +"id": "EnterpriseCrmEventbusProtoExternalTraffic", +"properties": { +"gcpProjectId": { +"description": "User\u2019s GCP project id the traffic is referring to.", +"type": "string" +}, +"gcpProjectNumber": { +"description": "User\u2019s GCP project number the traffic is referring to.", +"type": "string" +}, +"location": { +"description": "Location for the user's request.", +"type": "string" +}, +"source": { +"description": "LINT.ThenChange(//depot/google3/enterprise/crm/eventbus/proto/product.proto:product, //depot/google3/java/com/google/enterprise/crm/integrationplatform/api/utils/ConverterUtils.java:source_to_product)", +"enum": [ +"SOURCE_UNSPECIFIED", +"APIGEE", +"SECURITY" +], +"enumDescriptions": [ +"", +"", +"" +], +"type": "string" +} +}, +"type": "object" +}, +"EnterpriseCrmEventbusProtoFailurePolicy": { +"description": "Policy that defines the task retry logic and failure type. If no FailurePolicy is defined for a task, all its dependent tasks will not be executed (i.e, a `retry_strategy` of NONE will be applied).", +"id": "EnterpriseCrmEventbusProtoFailurePolicy", +"properties": { +"intervalInSeconds": { +"description": "Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_WORKFLOW_WITH_BACKOFF. Defines the initial interval for backoff.", +"format": "int64", +"type": "string" +}, +"maxNumRetries": { +"description": "Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_WORKFLOW_WITH_BACKOFF. Defines the number of times the task will be retried if failed.", +"format": "int32", +"type": "integer" +}, +"retryStrategy": { +"description": "Defines what happens to the task upon failure.", +"enum": [ +"UNSPECIFIED", +"IGNORE", +"NONE", +"FATAL", +"FIXED_INTERVAL", +"LINEAR_BACKOFF", +"EXPONENTIAL_BACKOFF", +"RESTART_WORKFLOW_WITH_BACKOFF" +], +"enumDescriptions": [ +"", +"Ignores the failure of this task. The rest of the workflow will be executed Assuming this task succeeded.", +"Causes a permanent failure of the task. However, if the last task(s) of event was successfully completed despite the failure of this task, it has no impact on the workflow.", +"Causes a permanent failure of the event. It is different from NONE because this will mark the event as FAILED by shutting down the event execution.", +"The task will be retried from the failed task onwards after a fixed delay. A max-retry count is required to be specified with this strategy. A jitter is added to each exponential interval so that concurrently failing tasks of the same type do not end up retrying after the exact same exponential interval. Max_num_retries and interval_in_seconds must be specified.", +"The task will be retried from the failed task onwards after a fixed delay that linearly increases with each retry attempt. A jitter is added to each exponential interval so that concurrently failing tasks of the same type do not end up retrying after the exact same exponential interval. A max-retry count is required to be specified with this strategy. Max_num_retries and interval_in_seconds must be specified.", +"The task will be retried after an exponentially increasing period of time with each failure. A jitter is added to each exponential interval so that concurrently failing tasks of the same type do not end up retrying after the exact same exponential interval. A max-retry count is required to be specified with this strategy. `max_num_retries` and `interval_in_seconds` must be specified.", +"The entire workflow will be restarted with the initial parameters that were set when the event was fired. A max-retry count is required to be specified with this strategy. `max_num_retries` and `interval_in_seconds` must be specified." +], +"type": "string" +} +}, +"type": "object" +}, +"EnterpriseCrmEventbusProtoField": { +"description": "Information about the value and type of the field.", +"id": "EnterpriseCrmEventbusProtoField", +"properties": { +"cardinality": { +"description": "By default, if the cardinality is unspecified the field is considered required while mapping.", +"enum": [ +"UNSPECIFIED", +"OPTIONAL" +], +"enumDescriptions": [ +"For fields with unspecified cardinality.", +"If field cardinality is set to optional, ignore errors if input field value is null or the reference_key is not found." +], +"type": "string" +}, +"defaultValue": { +"$ref": "EnterpriseCrmEventbusProtoParameterValueType", +"description": "This holds the default values for the fields. This value is supplied by user so may or may not contain PII or SPII data." +}, +"fieldType": { +"description": "Specifies the data type of the field.", +"enum": [ +"DATA_TYPE_UNSPECIFIED", +"STRING_VALUE", +"INT_VALUE", +"DOUBLE_VALUE", +"BOOLEAN_VALUE", +"PROTO_VALUE", +"SERIALIZED_OBJECT_VALUE", +"STRING_ARRAY", +"INT_ARRAY", +"DOUBLE_ARRAY", +"PROTO_ARRAY", +"PROTO_ENUM", +"BOOLEAN_ARRAY", +"PROTO_ENUM_ARRAY", +"BYTES", +"BYTES_ARRAY", +"NON_SERIALIZABLE_OBJECT", +"JSON_VALUE" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"BYTES and BYTES_ARRAY data types are not allowed for top-level params. They're only meant to support protobufs with BYTES (sub)fields.", +"", +"", +"" +], +"type": "string" +}, +"protoDefPath": { +"description": "Optional. The fully qualified proto name (e.g. enterprise.crm.storage.Account). Required for output field of type PROTO_VALUE or PROTO_ARRAY. For e.g., if input field_type is BYTES and output field_type is PROTO_VALUE, then fully qualified proto type url should be provided to parse the input bytes. If field_type is *_ARRAY, then all the converted protos are of the same type.", +"type": "string" +}, +"referenceKey": { +"description": "This holds the reference key of the workflow or task parameter. 1. Any workflow parameter, for e.g. $workflowParam1$. 2. Any task input or output parameter, for e.g. $task1_param1$. 3. Any workflow or task parameters with subfield references, for e.g., $task1_param1.employee.id$", +"type": "string" +}, +"transformExpression": { +"$ref": "EnterpriseCrmEventbusProtoTransformExpression", +"description": "This is the transform expression to fetch the input field value. for e.g. $param1$.CONCAT('test'). Keep points - 1. Only input field can have a transform expression. 2. If a transform expression is provided, reference_key will be ignored. 3. If no value is returned after evaluation of transform expression, default_value can be mapped if provided. 4. The field_type should be the type of the final object returned after the transform expression is evaluated. Scrubs the transform expression before logging as value provided by user so may or may not contain PII or SPII data." +} +}, +"type": "object" +}, +"EnterpriseCrmEventbusProtoFieldMappingConfig": { +"description": "Field Mapping Config to map multiple output fields values from input fields values.", +"id": "EnterpriseCrmEventbusProtoFieldMappingConfig", +"properties": { +"mappedFields": { +"items": { +"$ref": "EnterpriseCrmEventbusProtoMappedField" +}, +"type": "array" +} +}, +"type": "object" +}, +"EnterpriseCrmEventbusProtoFunction": { +"id": "EnterpriseCrmEventbusProtoFunction", +"properties": { +"functionType": { +"$ref": "EnterpriseCrmEventbusProtoFunctionType", +"description": "The name of the function to perform." +}, +"parameters": { +"description": "List of parameters required for the transformation.", +"items": { +"$ref": "EnterpriseCrmEventbusProtoTransformExpression" +}, +"type": "array" +} +}, +"type": "object" +}, +"EnterpriseCrmEventbusProtoFunctionType": { +"id": "EnterpriseCrmEventbusProtoFunctionType", +"properties": { +"baseFunction": { +"$ref": "EnterpriseCrmEventbusProtoBaseFunction", +"description": "LINT.IfChange" +}, +"booleanArrayFunction": { +"$ref": "EnterpriseCrmEventbusProtoBooleanArrayFunction" +}, +"booleanFunction": { +"$ref": "EnterpriseCrmEventbusProtoBooleanFunction" +}, +"doubleArrayFunction": { +"$ref": "EnterpriseCrmEventbusProtoDoubleArrayFunction" +}, +"doubleFunction": { +"$ref": "EnterpriseCrmEventbusProtoDoubleFunction" +}, +"intArrayFunction": { +"$ref": "EnterpriseCrmEventbusProtoIntArrayFunction" +}, +"intFunction": { +"$ref": "EnterpriseCrmEventbusProtoIntFunction" +}, +"jsonFunction": { +"$ref": "EnterpriseCrmEventbusProtoJsonFunction", +"description": "LINT.ThenChange(//depot/google3/alkali/apps/integrationplatform/client/workflow_editor/utils/transform_function.ts)" +}, +"protoArrayFunction": { +"$ref": "EnterpriseCrmEventbusProtoProtoArrayFunction" +}, +"protoFunction": { +"$ref": "EnterpriseCrmEventbusProtoProtoFunction" +}, +"stringArrayFunction": { +"$ref": "EnterpriseCrmEventbusProtoStringArrayFunction" +}, +"stringFunction": { +"$ref": "EnterpriseCrmEventbusProtoStringFunction" +} +}, +"type": "object" +}, +"EnterpriseCrmEventbusProtoIntArray": { +"id": "EnterpriseCrmEventbusProtoIntArray", +"properties": { +"values": { +"items": { +"format": "int64", +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"EnterpriseCrmEventbusProtoIntArrayFunction": { +"id": "EnterpriseCrmEventbusProtoIntArrayFunction", +"properties": { +"functionName": { +"enum": [ +"UNSPECIFIED", +"GET", +"APPEND", +"SIZE", +"SUM", +"AVG", +"MAX", +"MIN", +"TO_SET", +"APPEND_ALL", +"TO_JSON", +"SET", +"REMOVE", +"REMOVE_AT", +"CONTAINS", +"FOR_EACH", +"FILTER" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"" +], +"type": "string" +} +}, +"type": "object" +}, +"EnterpriseCrmEventbusProtoIntFunction": { +"id": "EnterpriseCrmEventbusProtoIntFunction", +"properties": { +"functionName": { +"enum": [ +"UNSPECIFIED", +"ADD", +"SUBTRACT", +"MULTIPLY", +"DIVIDE", +"EXPONENT", +"GREATER_THAN_EQUAL_TO", +"GREATER_THAN", +"LESS_THAN_EQUAL_TO", +"LESS_THAN", +"TO_DOUBLE", +"TO_STRING", +"EQUALS", +"TO_JSON", +"MOD", +"EPOCH_TO_HUMAN_READABLE_TIME" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"" +], +"type": "string" +} +}, +"type": "object" +}, +"EnterpriseCrmEventbusProtoIntParameterArray": { +"id": "EnterpriseCrmEventbusProtoIntParameterArray", +"properties": { +"intValues": { +"items": { +"format": "int64", +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"EnterpriseCrmEventbusProtoJsonFunction": { +"id": "EnterpriseCrmEventbusProtoJsonFunction", +"properties": { +"functionName": { +"enum": [ +"UNSPECIFIED", +"GET_PROPERTY", +"GET_ELEMENT", +"APPEND_ELEMENT", +"SIZE", +"SET_PROPERTY", +"FLATTEN", +"FLATTEN_ONCE", +"MERGE", +"TO_STRING", +"TO_INT", +"TO_DOUBLE", +"TO_BOOLEAN", +"TO_PROTO", +"TO_STRING_ARRAY", +"TO_INT_ARRAY", +"TO_DOUBLE_ARRAY", +"TO_PROTO_ARRAY", +"TO_BOOLEAN_ARRAY", +"REMOVE_PROPERTY", +"RESOLVE_TEMPLATE", +"EQUALS", +"FOR_EACH", +"FILTER_ELEMENTS" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"next id: 24" +], +"type": "string" +} +}, +"type": "object" +}, +"EnterpriseCrmEventbusProtoLogSettings": { +"description": "The LogSettings define the logging attributes for an event property. These attributes are used to map the property to the parameter in the log proto. Also used to define scrubbing/truncation behavior and PII information.", +"id": "EnterpriseCrmEventbusProtoLogSettings", +"properties": { +"logFieldName": { +"description": "The name of corresponding logging field of the event property. If omitted, assumes the same name as the event property key.", +"type": "string" +}, +"sanitizeOptions": { +"$ref": "EnterpriseCrmLoggingGwsSanitizeOptions", +"description": "Contains the scrubbing options, such as whether to scrub, obfuscate, etc." +}, +"seedPeriod": { +"enum": [ +"SEED_PERIOD_UNSPECIFIED", +"DAY", +"WEEK", +"MONTH" +], +"enumDescriptions": [ +"", +"Sanitized values remain constant for the day of the event.", +"Sanitized values remain constant for the week of the event; may cross month boundaries.", +"Sanitized values remain constant for the month of the event." +], +"type": "string" +}, +"seedScope": { +"enum": [ +"SEED_SCOPE_UNSPECIFIED", +"EVENT_NAME", +"TIME_PERIOD", +"PARAM_NAME" +], +"enumDescriptions": [ +"", +"Hash computations include the event name.", +"Hash computations include a time period.", +"Hash computations include the param name." +], +"type": "string" +}, +"shorteningLimits": { +"$ref": "EnterpriseCrmLoggingGwsFieldLimits", +"description": "Contains the field limits for shortening, such as max string length and max array length." +} +}, +"type": "object" +}, +"EnterpriseCrmEventbusProtoLoopMetadata": { +"id": "EnterpriseCrmEventbusProtoLoopMetadata", +"properties": { +"currentIterationCount": { +"description": "Starting from 1, not 0.", +"format": "int64", +"type": "string" +}, +"currentIterationDetail": { +"description": "Needs to be set by the loop impl class before each iteration. The abstract loop class will append the request and response to it. Eg. The foreach Loop will clean up and set it as the current iteration element at the start of each loop. The post request and response will be appended to the value once they are available.", +"type": "string" +}, +"errorMsg": { +"description": "Add the error message when loops fail.", +"type": "string" +}, +"failureLocation": { +"description": "Indicates where in the loop logic did it error out.", +"enum": [ +"UNKNOWN", +"SUBWORKFLOW", +"PARAM_OVERRIDING", +"PARAM_AGGREGATING", +"SETTING_ITERATION_ELEMENT", +"GETTING_LIST_TO_ITERATE", +"CONDITION_EVALUATION", +"BUILDING_REQUEST" +], +"enumDescriptions": [ +"No error or Unknown.", +"Subworkflow failed while firing/running.", +"Param overrides failed.", +"Param aggregation failed.", +"Setting for loop current element failed.", +"Getting the list to iterate.", +"Evaluating the while loop condition.", +"Building the iteration request" +], +"type": "string" +} +}, +"type": "object" +}, +"EnterpriseCrmEventbusProtoMappedField": { +"description": "Mapped field is a pair of input field and output field.", +"id": "EnterpriseCrmEventbusProtoMappedField", +"properties": { +"inputField": { +"$ref": "EnterpriseCrmEventbusProtoField", +"description": "The input field being mapped from." +}, +"outputField": { +"$ref": "EnterpriseCrmEventbusProtoField", +"description": "The output field being mapped to." +} +}, +"type": "object" +}, +"EnterpriseCrmEventbusProtoNextTask": { +"description": "The task that is next in line to be executed, if the condition specified evaluated to true.", +"id": "EnterpriseCrmEventbusProtoNextTask", +"properties": { +"combinedConditions": { +"deprecated": true, +"description": "Combined condition for this task to become an eligible next task. Each of these combined_conditions are joined with logical OR. DEPRECATED: use `condition`", +"items": { +"$ref": "EnterpriseCrmEventbusProtoCombinedCondition" +}, +"type": "array" +}, +"condition": { +"description": "Standard filter expression for this task to become an eligible next task.", +"type": "string" +}, +"description": { +"description": "User-provided description intended to give more business context about the next task edge or condition.", +"type": "string" +}, +"label": { +"description": "User-provided label that is attached to this edge in the UI.", +"type": "string" +}, +"taskConfigId": { +"description": "ID of the next task.", +"type": "string" +}, +"taskNumber": { +"description": "Task number of the next task.", +"type": "string" +} +}, +"type": "object" +}, +"EnterpriseCrmEventbusProtoNextTeardownTask": { +"description": "The teardown task that is next in line to be executed. We support only sequential execution of teardown tasks (i.e. no branching).", +"id": "EnterpriseCrmEventbusProtoNextTeardownTask", +"properties": { +"name": { +"description": "Required. Name of the next teardown task.", +"type": "string" +} +}, +"type": "object" +}, +"EnterpriseCrmEventbusProtoNodeIdentifier": { +"description": "Represents a node identifier (type + id). Next highest id: 3", +"id": "EnterpriseCrmEventbusProtoNodeIdentifier", +"properties": { +"elementIdentifier": { +"description": "Configuration of the edge.", +"type": "string" +}, +"elementType": { +"description": "Destination node where the edge ends. It can only be a task config.", +"enum": [ +"UNKNOWN_TYPE", +"TASK_CONFIG", +"TRIGGER_CONFIG" +], +"enumDescriptions": [ +"", +"", +"" +], +"type": "string" +} +}, +"type": "object" +}, +"EnterpriseCrmEventbusProtoNotification": { +"id": "EnterpriseCrmEventbusProtoNotification", +"properties": { +"buganizerNotification": { +"$ref": "EnterpriseCrmEventbusProtoBuganizerNotification" +}, +"emailAddress": { +"$ref": "EnterpriseCrmEventbusProtoAddress" +}, +"escalatorQueue": { +"type": "string" +}, +"pubsubTopic": { +"type": "string" +}, +"request": { +"$ref": "EnterpriseCrmEventbusProtoCustomSuspensionRequest", +"description": "If the out-of-the-box email/pubsub notifications are not suitable and custom logic is required, fire a workflow containing all info needed to notify users to resume execution." +} +}, +"type": "object" +}, +"EnterpriseCrmEventbusProtoParamSpecEntryConfig": { +"id": "EnterpriseCrmEventbusProtoParamSpecEntryConfig", +"properties": { +"descriptivePhrase": { +"description": "A short phrase to describe what this parameter contains.", +"type": "string" +}, +"helpText": { +"description": "Detailed help text for this parameter containing information not provided elsewhere. For example, instructions on how to migrate from a deprecated parameter.", +"type": "string" +}, +"hideDefaultValue": { +"description": "Whether the default value is hidden in the UI.", +"type": "boolean" +}, +"inputDisplayOption": { +"enum": [ +"DEFAULT", +"STRING_MULTI_LINE", +"NUMBER_SLIDER", +"BOOLEAN_TOGGLE" +], +"enumDescriptions": [ +"A single-line input for strings, a numeric input box for numbers, or a checkbox for booleans.", +"A multi-line input box for longer strings/string templates.", +"A slider to select a numerical value. The default range is [0, 100].", +"A toggle button for boolean parameters." +], +"type": "string" +}, +"isHidden": { +"description": "Whether this field is hidden in the UI.", +"type": "boolean" +}, +"label": { +"description": "A user-friendly label for the parameter.", +"type": "string" +}, +"parameterNameOption": { +"enum": [ +"DEFAULT_NOT_PARAMETER_NAME", +"IS_PARAMETER_NAME", +"KEY_IS_PARAMETER_NAME", +"VALUE_IS_PARAMETER_NAME" +], +"enumDescriptions": [ +"This field is not a parameter name.", +"If this field is a string and this option is selected, the field will be interpreted as a parameter name. Users will be able to choose a variable using the autocomplete, but the name will be stored as a literal string.", +"If this field is a ParameterMap and this option is selected, the map's keys will be interpreted as parameter names. Ignored if this field is not a ParameterMap.", +"If this field is a ParameterMap and this option is selected, the map's values will be interpreted as parameter names. Ignored if this field is not a ParameterMap." +], +"type": "string" +}, +"subSectionLabel": { +"description": "A user-friendly label for subSection under which the parameter will be displayed.", +"type": "string" +}, +"uiPlaceholderText": { +"description": "Placeholder text which will appear in the UI input form for this parameter.", +"type": "string" +} +}, +"type": "object" +}, +"EnterpriseCrmEventbusProtoParamSpecEntryProtoDefinition": { +"id": "EnterpriseCrmEventbusProtoParamSpecEntryProtoDefinition", +"properties": { +"fullName": { +"description": "The fully-qualified proto name. This message, for example, would be \"enterprise.crm.eventbus.proto.ParamSpecEntry.ProtoDefinition\".", +"type": "string" +}, +"path": { +"description": "Path to the proto file that contains the message type's definition.", +"type": "string" +} +}, +"type": "object" +}, +"EnterpriseCrmEventbusProtoParamSpecEntryValidationRule": { +"id": "EnterpriseCrmEventbusProtoParamSpecEntryValidationRule", +"properties": { +"doubleRange": { +"$ref": "EnterpriseCrmEventbusProtoParamSpecEntryValidationRuleDoubleRange" +}, +"intRange": { +"$ref": "EnterpriseCrmEventbusProtoParamSpecEntryValidationRuleIntRange" +}, +"stringRegex": { +"$ref": "EnterpriseCrmEventbusProtoParamSpecEntryValidationRuleStringRegex" +} +}, +"type": "object" +}, +"EnterpriseCrmEventbusProtoParamSpecEntryValidationRuleDoubleRange": { +"description": "Range used to validate doubles and floats.", +"id": "EnterpriseCrmEventbusProtoParamSpecEntryValidationRuleDoubleRange", +"properties": { +"max": { +"description": "The inclusive maximum of the acceptable range.", +"format": "double", +"type": "number" +}, +"min": { +"description": "The inclusive minimum of the acceptable range.", +"format": "double", +"type": "number" +} +}, +"type": "object" +}, +"EnterpriseCrmEventbusProtoParamSpecEntryValidationRuleIntRange": { +"description": "Range used to validate longs and ints.", +"id": "EnterpriseCrmEventbusProtoParamSpecEntryValidationRuleIntRange", +"properties": { +"max": { +"description": "The inclusive maximum of the acceptable range.", +"format": "int64", +"type": "string" +}, +"min": { +"description": "The inclusive minimum of the acceptable range.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"EnterpriseCrmEventbusProtoParamSpecEntryValidationRuleStringRegex": { +"description": "Rule used to validate strings.", +"id": "EnterpriseCrmEventbusProtoParamSpecEntryValidationRuleStringRegex", +"properties": { +"exclusive": { +"description": "Whether the regex matcher is applied exclusively (if true, matching values will be rejected).", +"type": "boolean" +}, +"regex": { +"description": "The regex applied to the input value(s).", +"type": "string" +} +}, +"type": "object" +}, +"EnterpriseCrmEventbusProtoParameterEntry": { +"description": "Key-value pair of EventBus parameters.", +"id": "EnterpriseCrmEventbusProtoParameterEntry", +"properties": { +"key": { +"description": "Key is used to retrieve the corresponding parameter value. This should be unique for a given fired event. These parameters must be predefined in the integration definition.", +"type": "string" +}, +"masked": { +"description": "True if this parameter should be masked in the logs", +"type": "boolean" +}, +"value": { +"$ref": "EnterpriseCrmEventbusProtoParameterValueType", +"description": "Values for the defined keys. Each value can either be string, int, double or any proto message." +} +}, +"type": "object" +}, +"EnterpriseCrmEventbusProtoParameterMap": { +"description": "A generic multi-map that holds key value pairs. They keys and values can be of any type, unless specified.", +"id": "EnterpriseCrmEventbusProtoParameterMap", +"properties": { +"entries": { +"items": { +"$ref": "EnterpriseCrmEventbusProtoParameterMapEntry" +}, +"type": "array" +}, +"keyType": { +"description": "Option to specify key value type for all entries of the map. If provided then field types for all entries must conform to this.", +"enum": [ +"DATA_TYPE_UNSPECIFIED", +"STRING_VALUE", +"INT_VALUE", +"DOUBLE_VALUE", +"BOOLEAN_VALUE", +"PROTO_VALUE", +"SERIALIZED_OBJECT_VALUE", +"STRING_ARRAY", +"INT_ARRAY", +"DOUBLE_ARRAY", +"PROTO_ARRAY", +"PROTO_ENUM", +"BOOLEAN_ARRAY", +"PROTO_ENUM_ARRAY", +"BYTES", +"BYTES_ARRAY", +"NON_SERIALIZABLE_OBJECT", +"JSON_VALUE" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"BYTES and BYTES_ARRAY data types are not allowed for top-level params. They're only meant to support protobufs with BYTES (sub)fields.", +"", +"", +"" +], +"type": "string" +}, +"valueType": { +"enum": [ +"DATA_TYPE_UNSPECIFIED", +"STRING_VALUE", +"INT_VALUE", +"DOUBLE_VALUE", +"BOOLEAN_VALUE", +"PROTO_VALUE", +"SERIALIZED_OBJECT_VALUE", +"STRING_ARRAY", +"INT_ARRAY", +"DOUBLE_ARRAY", +"PROTO_ARRAY", +"PROTO_ENUM", +"BOOLEAN_ARRAY", +"PROTO_ENUM_ARRAY", +"BYTES", +"BYTES_ARRAY", +"NON_SERIALIZABLE_OBJECT", +"JSON_VALUE" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"BYTES and BYTES_ARRAY data types are not allowed for top-level params. They're only meant to support protobufs with BYTES (sub)fields.", +"", +"", +"" +], +"type": "string" +} +}, +"type": "object" +}, +"EnterpriseCrmEventbusProtoParameterMapEntry": { +"description": "Entry is a pair of key and value.", +"id": "EnterpriseCrmEventbusProtoParameterMapEntry", +"properties": { +"key": { +"$ref": "EnterpriseCrmEventbusProtoParameterMapField" +}, +"value": { +"$ref": "EnterpriseCrmEventbusProtoParameterMapField" +} +}, +"type": "object" +}, +"EnterpriseCrmEventbusProtoParameterMapField": { +"description": "Field represents either the key or value in an entry.", +"id": "EnterpriseCrmEventbusProtoParameterMapField", +"properties": { +"literalValue": { +"$ref": "EnterpriseCrmEventbusProtoParameterValueType", +"description": "Passing a literal value." +}, +"referenceKey": { +"description": "Referencing one of the WF variables.", +"type": "string" +} +}, +"type": "object" +}, +"EnterpriseCrmEventbusProtoParameterValueType": { +"description": "LINT.IfChange To support various types of parameter values. Next available id: 14", +"id": "EnterpriseCrmEventbusProtoParameterValueType", +"properties": { +"booleanArray": { +"$ref": "EnterpriseCrmEventbusProtoBooleanParameterArray" +}, +"booleanValue": { +"type": "boolean" +}, +"doubleArray": { +"$ref": "EnterpriseCrmEventbusProtoDoubleParameterArray" +}, +"doubleValue": { +"format": "double", +"type": "number" +}, +"intArray": { +"$ref": "EnterpriseCrmEventbusProtoIntParameterArray" +}, +"intValue": { +"format": "int64", +"type": "string" +}, +"protoArray": { +"$ref": "EnterpriseCrmEventbusProtoProtoParameterArray" +}, +"protoValue": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"type": "object" +}, +"serializedObjectValue": { +"$ref": "EnterpriseCrmEventbusProtoSerializedObjectParameter" +}, +"stringArray": { +"$ref": "EnterpriseCrmEventbusProtoStringParameterArray" +}, +"stringValue": { +"type": "string" +} +}, +"type": "object" +}, +"EnterpriseCrmEventbusProtoPropertyEntry": { +"description": "Key-value pair of EventBus property.", +"id": "EnterpriseCrmEventbusProtoPropertyEntry", +"properties": { +"key": { +"description": "Key is used to retrieve the corresponding property value. This should be unique for a given fired event. The Tasks should be aware of the keys used while firing the events for them to be able to retrieve the values.", +"type": "string" +}, +"value": { +"$ref": "EnterpriseCrmEventbusProtoValueType", +"description": "Values for the defined keys. Each value can either be string, int, double or any proto message." +} +}, +"type": "object" +}, +"EnterpriseCrmEventbusProtoProtoArrayFunction": { +"id": "EnterpriseCrmEventbusProtoProtoArrayFunction", +"properties": { +"functionName": { +"enum": [ +"UNSPECIFIED", +"GET", +"APPEND", +"SIZE", +"TO_SET", +"APPEND_ALL", +"TO_JSON", +"SET", +"REMOVE", +"REMOVE_AT", +"CONTAINS", +"FOR_EACH", +"FILTER" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"" +], +"type": "string" +} +}, +"type": "object" +}, +"EnterpriseCrmEventbusProtoProtoFunction": { +"id": "EnterpriseCrmEventbusProtoProtoFunction", +"properties": { +"functionName": { +"enum": [ +"UNSPECIFIED", +"GET_STRING_SUBFIELD", +"GET_INT_SUBFIELD", +"GET_DOUBLE_SUBFIELD", +"GET_BOOLEAN_SUBFIELD", +"GET_STRING_ARRAY_SUBFIELD", +"GET_INT_ARRAY_SUBFIELD", +"GET_DOUBLE_ARRAY_SUBFIELD", +"GET_BOOLEAN_ARRAY_SUBFIELD", +"GET_PROTO_ARRAY_SUBFIELD", +"GET_PROTO_SUBFIELD", +"TO_JSON", +"GET_BYTES_SUBFIELD_AS_UTF_8_STRING", +"GET_BYTES_SUBFIELD_AS_PROTO", +"EQUALS" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"" +], +"type": "string" +} +}, +"type": "object" +}, +"EnterpriseCrmEventbusProtoProtoParameterArray": { +"id": "EnterpriseCrmEventbusProtoProtoParameterArray", +"properties": { +"protoValues": { +"items": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"type": "object" +}, +"type": "array" +} +}, +"type": "object" +}, +"EnterpriseCrmEventbusProtoScatterResponse": { +"id": "EnterpriseCrmEventbusProtoScatterResponse", +"properties": { +"errorMsg": { +"description": "The error message of the failure if applicable.", +"type": "string" +}, +"executionIds": { +"description": "The execution ids of each Subworkflow fired by this scatter.", +"items": { +"type": "string" +}, +"type": "array" +}, +"isSuccessful": { +"description": "If execution is sync, this is true if the execution passed and false if it failed. If the execution is async, this is true if the WF was fired off successfully, and false if it failed to execute. The success or failure of the subworkflows executed are not captured.", +"type": "boolean" +}, +"responseParams": { +"description": "A list of all the response parameters in the aggregtorMap stored with the remapped key.", +"items": { +"$ref": "EnterpriseCrmEventbusProtoParameterEntry" +}, +"type": "array" +}, +"scatterElement": { +"$ref": "EnterpriseCrmEventbusProtoParameterValueType", +"description": "The element that was scattered for this execution." +} +}, +"type": "object" +}, +"EnterpriseCrmEventbusProtoSerializedObjectParameter": { +"id": "EnterpriseCrmEventbusProtoSerializedObjectParameter", +"properties": { +"objectValue": { +"format": "byte", +"type": "string" +} +}, +"type": "object" +}, +"EnterpriseCrmEventbusProtoStringArray": { +"id": "EnterpriseCrmEventbusProtoStringArray", +"properties": { +"values": { +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"EnterpriseCrmEventbusProtoStringArrayFunction": { +"id": "EnterpriseCrmEventbusProtoStringArrayFunction", +"properties": { +"functionName": { +"enum": [ +"UNSPECIFIED", +"GET", +"APPEND", +"SIZE", +"TO_SET", +"APPEND_ALL", +"TO_JSON", +"SET", +"REMOVE", +"REMOVE_AT", +"CONTAINS", +"FOR_EACH", +"FILTER" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"" +], +"type": "string" +} +}, +"type": "object" +}, +"EnterpriseCrmEventbusProtoStringFunction": { +"id": "EnterpriseCrmEventbusProtoStringFunction", +"properties": { +"functionName": { +"enum": [ +"UNSPECIFIED", +"CONCAT", +"TO_UPPERCASE", +"TO_LOWERCASE", +"CONTAINS", +"SPLIT", +"LENGTH", +"EQUALS", +"TO_INT", +"TO_DOUBLE", +"TO_BOOLEAN", +"TO_BASE_64", +"TO_JSON", +"EQUALS_IGNORE_CASE", +"REPLACE_ALL", +"SUBSTRING", +"RESOLVE_TEMPLATE", +"DECODE_BASE64_STRING" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"" +], +"type": "string" +} +}, +"type": "object" +}, +"EnterpriseCrmEventbusProtoStringParameterArray": { +"id": "EnterpriseCrmEventbusProtoStringParameterArray", +"properties": { +"stringValues": { +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"EnterpriseCrmEventbusProtoSuccessPolicy": { +"description": "Policy that dictates the behavior for the task after it completes successfully.", +"id": "EnterpriseCrmEventbusProtoSuccessPolicy", +"properties": { +"finalState": { +"description": "State to which the execution snapshot status will be set if the task succeeds.", +"enum": [ +"UNSPECIFIED", +"SUCCEEDED", +"SUSPENDED" +], +"enumDescriptions": [ +"", +"The default behavior, where successful tasks will be marked as SUCCEEDED.", +"Sets the state to SUSPENDED after executing. This is required for SuspensionTask; event execution will continue once the user calls ResolveSuspensions with the event_execution_info_id and the task number." +], +"type": "string" +} +}, +"type": "object" +}, +"EnterpriseCrmEventbusProtoSuspensionAuthPermissions": { +"description": "LINT.IfChange", +"id": "EnterpriseCrmEventbusProtoSuspensionAuthPermissions", +"properties": { +"gaiaIdentity": { +"$ref": "EnterpriseCrmEventbusProtoSuspensionAuthPermissionsGaiaIdentity", +"description": "Represents a Gaia identity for a person or service account." +}, +"googleGroup": { +"$ref": "EnterpriseCrmEventbusProtoSuspensionAuthPermissionsGaiaIdentity" +}, +"loasRole": { +"type": "string" +}, +"mdbGroup": { +"type": "string" +} +}, +"type": "object" +}, +"EnterpriseCrmEventbusProtoSuspensionAuthPermissionsGaiaIdentity": { +"id": "EnterpriseCrmEventbusProtoSuspensionAuthPermissionsGaiaIdentity", +"properties": { +"emailAddress": { +"type": "string" +}, +"gaiaId": { +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"EnterpriseCrmEventbusProtoSuspensionConfig": { +"id": "EnterpriseCrmEventbusProtoSuspensionConfig", +"properties": { +"customMessage": { +"description": "Optional information to provide recipients of the suspension in addition to the resolution URL, typically containing relevant parameter values from the originating workflow.", +"type": "string" +}, +"notifications": { +"items": { +"$ref": "EnterpriseCrmEventbusProtoNotification" +}, +"type": "array" +}, +"suspensionExpiration": { +"$ref": "EnterpriseCrmEventbusProtoSuspensionExpiration", +"description": "Indicates the next steps when no external actions happen on the suspension." +}, +"whoMayResolve": { +"description": "Identities able to resolve this suspension.", +"items": { +"$ref": "EnterpriseCrmEventbusProtoSuspensionAuthPermissions" +}, +"type": "array" +} +}, +"type": "object" +}, +"EnterpriseCrmEventbusProtoSuspensionExpiration": { +"id": "EnterpriseCrmEventbusProtoSuspensionExpiration", +"properties": { +"expireAfterMs": { +"description": "Milliseconds after which the suspension expires, if no action taken.", +"format": "int32", +"type": "integer" +}, +"liftWhenExpired": { +"description": "Whether the suspension will be REJECTED or LIFTED upon expiration. REJECTED is the default behavior.", +"type": "boolean" +}, +"remindAfterMs": { +"description": "Milliseconds after which the previous suspension action reminder, if any, is sent using the selected notification option, for a suspension which is still PENDING_UNSPECIFIED.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"EnterpriseCrmEventbusProtoSuspensionResolutionInfo": { +"id": "EnterpriseCrmEventbusProtoSuspensionResolutionInfo", +"properties": { +"audit": { +"$ref": "EnterpriseCrmEventbusProtoSuspensionResolutionInfoAudit" +}, +"clientId": { +"description": "The event data user sends as request.", +"type": "string" +}, +"cloudKmsConfig": { +"$ref": "EnterpriseCrmEventbusProtoCloudKmsConfig", +"description": "KMS info, used by cmek/gmek integration" +}, +"createdTimestamp": { +"description": "Auto-generated.", +"format": "google-datetime", +"type": "string" +}, +"encryptedSuspensionResolutionInfo": { +"description": "Encrypted SuspensionResolutionInfo", +"format": "byte", +"type": "string" +}, +"eventExecutionInfoId": { +"description": "Required. ID of the associated execution.", +"type": "string" +}, +"externalTraffic": { +"$ref": "EnterpriseCrmEventbusProtoExternalTraffic", +"description": "The origin of the suspension for periodic notifications." +}, +"lastModifiedTimestamp": { +"description": "Auto-generated.", +"format": "google-datetime", +"type": "string" +}, +"product": { +"description": "Which Google product the suspension belongs to. If not set, the suspension belongs to Integration Platform by default.", +"enum": [ +"UNSPECIFIED_PRODUCT", +"IP", +"APIGEE", +"SECURITY" +], +"enumDescriptions": [ +"", +"", +"", +"" +], +"type": "string" +}, +"status": { +"enum": [ +"PENDING_UNSPECIFIED", +"REJECTED", +"LIFTED", +"CANCELED" +], +"enumDescriptions": [ +"", +"", +"", +"" +], +"type": "string" +}, +"suspensionConfig": { +"$ref": "EnterpriseCrmEventbusProtoSuspensionConfig" +}, +"suspensionId": { +"description": "Primary key for the SuspensionResolutionInfoTable.", +"type": "string" +}, +"taskNumber": { +"description": "Required. Task number of the associated SuspensionTask.", +"type": "string" +}, +"workflowName": { +"description": "Required. The name of the originating workflow.", +"type": "string" +}, +"wrappedDek": { +"description": "Wrapped dek", +"format": "byte", +"type": "string" +} +}, +"type": "object" +}, +"EnterpriseCrmEventbusProtoSuspensionResolutionInfoAudit": { +"id": "EnterpriseCrmEventbusProtoSuspensionResolutionInfoAudit", +"properties": { +"resolvedBy": { +"type": "string" +}, +"resolvedByCpi": { +"type": "string" +}, +"timestamp": { +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"EnterpriseCrmEventbusProtoTaskAlertConfig": { +"description": "Message to be used to configure alerting in the {@code TaskConfig} protos for tasks in an event.", +"id": "EnterpriseCrmEventbusProtoTaskAlertConfig", +"properties": { +"aggregationPeriod": { +"description": "The period over which the metric value should be aggregated and evaluated. Format is , where integer should be a positive integer and unit should be one of (s,m,h,d,w) meaning (second, minute, hour, day, week).", +"type": "string" +}, +"alertDisabled": { +"description": "Set to false by default. When set to true, the metrics are not aggregated or pushed to Monarch for this workflow alert.", +"type": "boolean" +}, +"alertName": { +"description": "A name to identify this alert. This will be displayed in the alert subject. If set, this name should be unique in within the scope of the containing workflow.", +"type": "string" +}, +"clientId": { +"description": "Client associated with this alert configuration. Must be a client enabled in one of the containing workflow's triggers.", +"type": "string" +}, +"durationThresholdMs": { +"description": "Should be specified only for TASK_AVERAGE_DURATION and TASK_PERCENTILE_DURATION metrics. This member should be used to specify what duration value the metrics should exceed for the alert to trigger.", +"format": "int64", +"type": "string" +}, +"errorEnumList": { +"$ref": "EnterpriseCrmEventbusProtoBaseAlertConfigErrorEnumList" +}, +"metricType": { +"enum": [ +"METRIC_TYPE_UNSPECIFIED", +"TASK_ERROR_RATE", +"TASK_WARNING_RATE", +"TASK_RATE", +"TASK_AVERAGE_DURATION", +"TASK_PERCENTILE_DURATION" +], +"enumDescriptions": [ +"The default value. Metric type should always be set to one of the other non-default values, otherwise it will result in an INVALID_ARGUMENT error.", +"Specifies alerting on the rate of errors (potentially for a specific set of enum values) for the enclosing TaskConfig.", +"Specifies alerting on the rate of warnings (potentially for a specific set of enum values) for the enclosing TaskConfig. Warnings use the same enum values as errors.", +"Specifies alerting on the number of instances for the enclosing TaskConfig executed in the given aggregation_period.", +"Specifies alerting on the average duration of execution for the enclosing task.", +"Specifies alerting on the duration of a particular percentile of task executions. E.g. If 10% or more of the task executions have durations above 5 seconds, alert." +], +"type": "string" +}, +"numAggregationPeriods": { +"description": "For how many contiguous aggregation periods should the expected min or max be violated for the alert to be fired.", +"format": "int32", +"type": "integer" +}, +"onlyFinalAttempt": { +"description": "Only count final task attempts, not retries.", +"type": "boolean" +}, +"playbookUrl": { +"description": "Link to a playbook for resolving the issue that triggered this alert.", +"type": "string" +}, +"thresholdType": { +"description": "The threshold type for which this alert is being configured. If value falls below expected_min or exceeds expected_max, an alert will be fired.", +"enum": [ +"UNSPECIFIED_THRESHOLD_TYPE", +"EXPECTED_MIN", +"EXPECTED_MAX" +], +"enumDescriptions": [ +"", +"Note that this field will only trigger alerts if the workflow specifying it runs at least once in 24 hours (which is our in-memory retention period for monarch streams). Also note that `aggregation_period` for this alert configuration must be less than 24 hours.", +"" +], +"type": "string" +}, +"thresholdValue": { +"$ref": "EnterpriseCrmEventbusProtoBaseAlertConfigThresholdValue", +"description": "The metric value, above or below which the alert should be triggered." +}, +"warningEnumList": { +"$ref": "EnterpriseCrmEventbusProtoBaseAlertConfigErrorEnumList" +} +}, +"type": "object" +}, +"EnterpriseCrmEventbusProtoTaskExecutionDetails": { +"description": "Contains the details of the execution of this task. Next available id: 11", +"id": "EnterpriseCrmEventbusProtoTaskExecutionDetails", +"properties": { +"taskAttemptStats": { +"items": { +"$ref": "EnterpriseCrmEventbusProtoTaskExecutionDetailsTaskAttemptStats" +}, +"type": "array" +}, +"taskExecutionState": { +"enum": [ +"UNSPECIFIED", +"PENDING_EXECUTION", +"IN_PROCESS", +"SUCCEED", +"FAILED", +"FATAL", +"RETRY_ON_HOLD", +"SKIPPED", +"CANCELED", +"PENDING_ROLLBACK", +"ROLLBACK_IN_PROCESS", +"ROLLEDBACK", +"SUSPENDED" +], +"enumDescriptions": [ +"", +"Task is waiting for its precondition tasks to finish to start the execution.", +"Task is under processing.", +"Task execution successfully finished. There's no more change after this state.", +"Task execution failed. There's no more change after this state.", +"Task execution failed and cause the whole event execution to fail immediately. There's no more change after this state.", +"Task execution failed and waiting for retry.", +"Task execution skipped. This happens when its precondition wasn't met, or the event execution been canceled before reach to the task. There's no more changes after this state.", +"Task execution canceled when in progress. This happens when event execution been canceled or any other task fall in fatal state.", +"Task is waiting for its dependency tasks' rollback to finish to start its rollback.", +"Task is rolling back.", +"Task is rolled back. This is the state we will set regardless of rollback succeeding or failing.", +"Task is a SuspensionTask which has executed once, creating a pending suspension." +], +"type": "string" +}, +"taskNumber": { +"description": "Pointer to the task config it used for execution.", +"type": "string" +} +}, +"type": "object" +}, +"EnterpriseCrmEventbusProtoTaskExecutionDetailsTaskAttemptStats": { +"id": "EnterpriseCrmEventbusProtoTaskExecutionDetailsTaskAttemptStats", +"properties": { +"endTime": { +"description": "The end time of the task execution for current attempt.", +"format": "int64", +"type": "string" +}, +"startTime": { +"description": "The start time of the task execution for current attempt. This could be in the future if it's been scheduled.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"EnterpriseCrmEventbusProtoTaskMetadata": { +"description": "TaskMetadata are attributes that are associated to every common Task we have.", +"id": "EnterpriseCrmEventbusProtoTaskMetadata", +"properties": { +"activeTaskName": { +"description": "The new task name to replace the current task if it is deprecated. Otherwise, it is the same as the current task name.", +"type": "string" +}, +"admins": { +"items": { +"$ref": "EnterpriseCrmEventbusProtoTaskMetadataAdmin" +}, +"type": "array" +}, +"category": { +"enum": [ +"UNSPECIFIED_CATEGORY", +"CUSTOM", +"FLOW_CONTROL", +"DATA_MANIPULATION", +"SCRIPTING", +"CONNECTOR", +"HIDDEN", +"CLOUD_SYSTEMS", +"CUSTOM_TASK_TEMPLATE", +"TASK_RECOMMENDATIONS" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"", +"Internal IP tasks that should not be available in the UI.", +"Tasks that are relevant to cloud systems teams and typically", +"include connecting to Vector salesforce, CRM Hub Spanner etc. Task entities that derive from a custom task template.", +"Category to show task recommendations" +], +"type": "string" +}, +"codeSearchLink": { +"description": "The Code Search link to the Task Java file.", +"type": "string" +}, +"defaultJsonValidationOption": { +"description": "Controls whether JSON workflow parameters are validated against provided schemas before and/or after this task's execution.", +"enum": [ +"UNSPECIFIED_JSON_VALIDATION_OPTION", +"SKIP", +"PRE_EXECUTION", +"POST_EXECUTION", +"PRE_POST_EXECUTION" +], +"enumDescriptions": [ +"As per the default behavior, no validation will be run. Will not override any option set in a Task.", +"Do not run any validation against JSON schemas.", +"Validate all potential input JSON parameters against schemas specified in WorkflowParameters.", +"Validate all potential output JSON parameters against schemas specified in WorkflowParameters.", +"Perform both PRE_EXECUTION and POST_EXECUTION validations." +], +"type": "string" +}, +"defaultSpec": { +"description": "Contains the initial configuration of the task with default values set. For now, The string should be compatible to an ASCII-proto format.", +"type": "string" +}, +"description": { +"description": "In a few sentences, describe the purpose and usage of the task.", +"type": "string" +}, +"descriptiveName": { +"description": "The string name to show on the task list on the Workflow editor screen. This should be a very short, one to two words name for the task. (e.g. \"Send Mail\")", +"type": "string" +}, +"docMarkdown": { +"description": "Snippet of markdown documentation to embed in the RHP for this task.", +"type": "string" +}, +"externalCategory": { +"enum": [ +"UNSPECIFIED_EXTERNAL_CATEGORY", +"CORE", +"CONNECTORS", +"EXTERNAL_HTTP", +"EXTERNAL_INTEGRATION_SERVICES", +"EXTERNAL_CUSTOMER_ACTIONS", +"EXTERNAL_FLOW_CONTROL", +"EXTERNAL_WORKSPACE", +"EXTERNAL_SECURITY", +"EXTERNAL_DATABASES", +"EXTERNAL_ANALYTICS", +"EXTERNAL_BYOC", +"EXTERNAL_BYOT", +"EXTERNAL_ARTIFICIAL_INTELIGENCE", +"EXTERNAL_DATA_MANIPULATION" +], +"enumDescriptions": [ +"", +"", +"", +"HTTP tasks, e.g. rest api call task", +"Integration services, e.g. connector task", +"Customer ations, e.g. email task", +"Flow control, e.g. while loop task", +"Workspace tasks, e.g. list drive task", +"Security, e.g. kms related tasks", +"Database operation tasks, e.g. read firestore info tasks", +"Analytics tasks, e.g. dataflow creattion tasks", +"BYOC tasks", +"BYOT tasks", +"AI related tasks.", +"Data manipulation related tasks, e.g. data mapping task" +], +"type": "string" +}, +"externalCategorySequence": { +"description": "Sequence with which the task in specific category to be displayed in task discovery panel for external users.", +"format": "int32", +"type": "integer" +}, +"externalDocHtml": { +"description": "External-facing documention embedded in the RHP for this task.", +"type": "string" +}, +"externalDocLink": { +"description": "Doc link for external-facing documentation (separate from g3doc).", +"type": "string" +}, +"externalDocMarkdown": { +"description": "DEPRECATED: Use external_doc_html.", +"type": "string" +}, +"g3DocLink": { +"description": "URL to the associated G3 Doc for the task if available", +"type": "string" +}, +"iconLink": { +"description": "URL to gstatic image icon for this task. This icon shows up on the task list panel along with the task name in the Workflow Editor screen. Use the 24p, 2x, gray color icon image format.", +"type": "string" +}, +"isDeprecated": { +"description": "The deprecation status of the current task. Default value is false;", +"type": "boolean" +}, +"name": { +"description": "The actual class name or the annotated name of the task. Task Author should initialize this field with value from the getName() method of the Task class.", +"type": "string" +}, +"standaloneExternalDocHtml": { +"description": "External-facing documention for standalone IP in pantheon embedded in the RHP for this task. Non null only if different from external_doc_html", +"type": "string" +}, +"status": { +"description": "Allows author to indicate if the task is ready to use or not. If not set, then it will default to INACTIVE.", +"enum": [ +"UNSPECIFIED_STATUS", +"DEFAULT_INACTIVE", +"ACTIVE" +], +"enumDescriptions": [ +"Default value. Actual Task Status should always be set to either INACTIVE or ACTIVE. If none is specified at runtime, it will be set to INACTIVE.", +"Still in-progress or incomplete, and not intended for use.", +"Available for use." +], +"type": "string" +}, +"system": { +"enum": [ +"UNSPECIFIED_SYSTEM", +"GENERIC", +"BUGANIZER", +"SALESFORCE", +"CLOUD_SQL", +"PLX", +"SHEETS", +"GOOGLE_GROUPS", +"EMAIL", +"SPANNER", +"DATA_BRIDGE" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"" +], +"type": "string" +}, +"tags": { +"description": "A set of tags that pertain to a particular task. This can be used to improve the searchability of tasks with several names (\"REST Caller\" vs. \"Call REST Endpoint\") or to help users find tasks based on related words.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"EnterpriseCrmEventbusProtoTaskMetadataAdmin": { +"description": "Admins are owners of a Task, and have all permissions on a particular task identified by the task name. By default, Eventbus periodically scans all task metadata and syncs (adds) any new admins defined here to Zanzibar.", +"id": "EnterpriseCrmEventbusProtoTaskMetadataAdmin", +"properties": { +"googleGroupEmail": { +"type": "string" +}, +"userEmail": { +"type": "string" +} +}, +"type": "object" +}, +"EnterpriseCrmEventbusProtoTaskUiConfig": { +"description": "Task authors would use this type to configure the UI for a particular task by specifying what UI config modules should be included to compose the UI. Learn more about config module framework:", +"id": "EnterpriseCrmEventbusProtoTaskUiConfig", +"properties": { +"taskUiModuleConfigs": { +"description": "Configurations of included config modules.", +"items": { +"$ref": "EnterpriseCrmEventbusProtoTaskUiModuleConfig" +}, +"type": "array" +} +}, +"type": "object" +}, +"EnterpriseCrmEventbusProtoTaskUiModuleConfig": { +"description": "Task author would use this type to configure a config module.", +"id": "EnterpriseCrmEventbusProtoTaskUiModuleConfig", +"properties": { +"moduleId": { +"description": "ID of the config module.", +"enum": [ +"UNSPECIFIED_TASK_MODULE", +"LABEL", +"ERROR_HANDLING", +"TASK_PARAM_TABLE", +"TASK_PARAM_FORM", +"PRECONDITION", +"SCRIPT_EDITOR", +"RPC", +"TASK_SUMMARY", +"SUSPENSION", +"RPC_TYPED", +"SUB_WORKFLOW", +"APPS_SCRIPT_NAVIGATOR", +"SUB_WORKFLOW_FOR_EACH_LOOP", +"FIELD_MAPPING", +"README", +"REST_CALLER", +"SUB_WORKFLOW_SCATTER_GATHER", +"CLOUD_SQL", +"GENERIC_CONNECTOR_TASK" +], +"enumDescriptions": [ +"Default", +"Supports editing label of a task config.", +"Supports editing error handling settings such as retry strategy.", +"Supports adding, removing and editing task parameter values in a table with little assistance or restriction.", +"Supports editing values of declared input parameters of a task. Think of it as a \"strongly typed\" upgrade to the TASK_PARAM_TABLE.", +"Supports editing preconditions of a task config.", +"Supports adding, editing, and deleting the scripts associated with a script task, as well as modifying the input/output parameters.", +"Supports editing task parameters associated with an RPC/stubby task.", +"Contains readonly task information, including input/output type info.", +"Configures a SuspensionTask.", +"Configures a GenericStubbyTypedTask.", +"Configures a SubWorkflowExecutorTask.", +"Supports navigating to Apps Script editor", +"Configures a SubWorkflowForEachLoopTask.", +"Configures a FieldMappingTask.", +"Contains embedded in-product documentation for a task.", +"UI widget for the rest caller task.", +"Configures a SubWorkflowScatterGatherTask.", +"Configures a CloudSql Task.", +"Configure a GenericConnectorTask." +], +"type": "string" +} +}, +"type": "object" +}, +"EnterpriseCrmEventbusProtoTeardown": { +"id": "EnterpriseCrmEventbusProtoTeardown", +"properties": { +"teardownTaskConfigs": { +"description": "Required.", +"items": { +"$ref": "EnterpriseCrmEventbusProtoTeardownTaskConfig" +}, +"type": "array" +} +}, +"type": "object" +}, +"EnterpriseCrmEventbusProtoTeardownTaskConfig": { +"id": "EnterpriseCrmEventbusProtoTeardownTaskConfig", +"properties": { +"creatorEmail": { +"description": "The creator's email address.", +"type": "string" +}, +"name": { +"description": "Required. Unique identifier of the teardown task within this Config. We use this field as the identifier to find next teardown tasks.", +"type": "string" +}, +"nextTeardownTask": { +"$ref": "EnterpriseCrmEventbusProtoNextTeardownTask" +}, +"parameters": { +"$ref": "EnterpriseCrmEventbusProtoEventParameters", +"description": "The parameters the user can pass to this task." +}, +"properties": { +"$ref": "EnterpriseCrmEventbusProtoEventBusProperties" +}, +"teardownTaskImplementationClassName": { +"description": "Required. Implementation class name.", +"type": "string" +} +}, +"type": "object" +}, +"EnterpriseCrmEventbusProtoToken": { +"id": "EnterpriseCrmEventbusProtoToken", +"properties": { +"name": { +"type": "string" +}, +"value": { +"type": "string" +} +}, +"type": "object" +}, +"EnterpriseCrmEventbusProtoTransformExpression": { +"id": "EnterpriseCrmEventbusProtoTransformExpression", +"properties": { +"initialValue": { +"$ref": "EnterpriseCrmEventbusProtoBaseValue", +"description": "Initial value upon which to perform transformations." +}, +"transformationFunctions": { +"description": "Transformations to be applied sequentially.", +"items": { +"$ref": "EnterpriseCrmEventbusProtoFunction" +}, +"type": "array" +} +}, +"type": "object" +}, +"EnterpriseCrmEventbusProtoTriggerCriteria": { +"id": "EnterpriseCrmEventbusProtoTriggerCriteria", +"properties": { +"condition": { +"description": "Required. Standard filter expression, when true the workflow will be executed. If there's no trigger_criteria_task_implementation_class_name specified, the condition will be validated directly.", +"type": "string" +}, +"parameters": { +"$ref": "EnterpriseCrmEventbusProtoEventParameters", +"description": "Optional. To be used in TaskConfig for the implementation class." +}, +"triggerCriteriaTaskImplementationClassName": { +"description": "Optional. Implementation class name. The class should implement the \u201cTypedTask\u201d interface.", +"type": "string" +} +}, +"type": "object" +}, +"EnterpriseCrmEventbusProtoValueType": { +"description": "Used for define type for values. Currently supported value types include int, string, double, array, and any proto message.", +"id": "EnterpriseCrmEventbusProtoValueType", +"properties": { +"booleanValue": { +"type": "boolean" +}, +"doubleArray": { +"$ref": "EnterpriseCrmEventbusProtoDoubleArray" +}, +"doubleValue": { +"format": "double", +"type": "number" +}, +"intArray": { +"$ref": "EnterpriseCrmEventbusProtoIntArray" +}, +"intValue": { +"format": "int64", +"type": "string" +}, +"protoValue": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"type": "object" +}, +"stringArray": { +"$ref": "EnterpriseCrmEventbusProtoStringArray" +}, +"stringValue": { +"type": "string" +} +}, +"type": "object" +}, +"EnterpriseCrmEventbusProtoWorkflowAlertConfig": { +"description": "Message to be used to configure custom alerting in the {@code EventConfig} protos for an event.", +"id": "EnterpriseCrmEventbusProtoWorkflowAlertConfig", +"properties": { +"aggregationPeriod": { +"description": "For an EXPECTED_MIN threshold, this aggregation_period must be lesser than 24 hours.", +"type": "string" +}, +"alertDisabled": { +"description": "Set to false by default. When set to true, the metrics are not aggregated or pushed to Monarch for this workflow alert.", +"type": "boolean" +}, +"alertName": { +"description": "A name to identify this alert. This will be displayed in the alert subject. If set, this name should be unique within the scope of the workflow.", +"type": "string" +}, +"clientId": { +"description": "Client associated with this alert configuration.", +"type": "string" +}, +"durationThresholdMs": { +"description": "Should be specified only for *AVERAGE_DURATION and *PERCENTILE_DURATION metrics. This member should be used to specify what duration value the metrics should exceed for the alert to trigger.", +"format": "int64", +"type": "string" +}, +"errorEnumList": { +"$ref": "EnterpriseCrmEventbusProtoBaseAlertConfigErrorEnumList" +}, +"metricType": { +"enum": [ +"METRIC_TYPE_UNSPECIFIED", +"EVENT_ERROR_RATE", +"EVENT_WARNING_RATE", +"TASK_ERROR_RATE", +"TASK_WARNING_RATE", +"TASK_RATE", +"EVENT_RATE", +"EVENT_AVERAGE_DURATION", +"EVENT_PERCENTILE_DURATION", +"TASK_AVERAGE_DURATION", +"TASK_PERCENTILE_DURATION" +], +"enumDescriptions": [ +"The default value. Metric type should always be set to one of the other non-default values, otherwise it will result in an INVALID_ARGUMENT error.", +"Specifies alerting on the rate of errors for the enclosing workflow.", +"Specifies alerting on the rate of warnings for the enclosing workflow. Warnings use the same enum values as errors.", +"Specifies alerting on the rate of errors for any task in the enclosing workflow.", +"Specifies alerting on the rate of warnings for any task in the enclosing workflow.", +"Specifies alerting on the rate of executions over all tasks in the enclosing workflow.", +"Specifies alerting on the number of events executed in the given aggregation_period.", +"Specifies alerting on the average duration of executions for this workflow.", +"Specifies alerting on the duration value of a particular percentile of workflow executions. E.g. If 10% or more of the workflow executions have durations above 5 seconds, alert.", +"Specifies alerting on the average duration of any task in the enclosing workflow,", +"Specifies alerting on the duration value of a particular percentile of any task executions within the enclosing workflow. E.g. If 10% or more of the task executions in the workflow have durations above 5 seconds, alert." +], +"type": "string" +}, +"numAggregationPeriods": { +"description": "For how many contiguous aggregation periods should the expected min or max be violated for the alert to be fired.", +"format": "int32", +"type": "integer" +}, +"onlyFinalAttempt": { +"description": "For either events or tasks, depending on the type of alert, count only final attempts, not retries.", +"type": "boolean" +}, +"playbookUrl": { +"description": "Link to a playbook for resolving the issue that triggered this alert.", +"type": "string" +}, +"thresholdType": { +"description": "The threshold type, whether lower(expected_min) or upper(expected_max), for which this alert is being configured. If value falls below expected_min or exceeds expected_max, an alert will be fired.", +"enum": [ +"UNSPECIFIED_THRESHOLD_TYPE", +"EXPECTED_MIN", +"EXPECTED_MAX" +], +"enumDescriptions": [ +"", +"Note that this field will only trigger alerts if the workflow specifying it runs at least once in 24 hours (which is our in-memory retention period for monarch streams). Also note that `aggregation_period` for this alert configuration must be less than 24 hours.", +"" +], +"type": "string" +}, +"thresholdValue": { +"$ref": "EnterpriseCrmEventbusProtoBaseAlertConfigThresholdValue", +"description": "The metric value, above or below which the alert should be triggered." +}, +"warningEnumList": { +"$ref": "EnterpriseCrmEventbusProtoBaseAlertConfigErrorEnumList" +} +}, +"type": "object" +}, +"EnterpriseCrmEventbusStats": { +"description": "Stats for the requested dimensions: QPS, duration, and error/warning rate", +"id": "EnterpriseCrmEventbusStats", +"properties": { +"dimensions": { +"$ref": "EnterpriseCrmEventbusStatsDimensions", +"description": "Dimensions that these stats have been aggregated on." +}, +"durationInSeconds": { +"description": "Average duration in seconds.", +"format": "double", +"type": "number" +}, +"errorRate": { +"description": "Average error rate.", +"format": "double", +"type": "number" +}, +"qps": { +"description": "Queries per second.", +"format": "double", +"type": "number" +}, +"warningRate": { +"description": "Average warning rate.", +"format": "double", +"type": "number" +} +}, +"type": "object" +}, +"EnterpriseCrmEventbusStatsDimensions": { +"id": "EnterpriseCrmEventbusStatsDimensions", +"properties": { +"clientId": { +"type": "string" +}, +"enumFilterType": { +"description": "Whether to include or exclude the enums matching the regex.", +"enum": [ +"DEFAULT_INCLUSIVE", +"EXCLUSIVE" +], +"enumDescriptions": [ +"", +"" +], +"type": "string" +}, +"errorEnumString": { +"type": "string" +}, +"retryAttempt": { +"enum": [ +"UNSPECIFIED", +"FINAL", +"RETRYABLE", +"CANCELED" +], +"enumDescriptions": [ +"", +"Task has completed successfully or has depleted all retry attempts.", +"Task has failed but may be retried.", +"Task has been deliberately canceled." +], +"type": "string" +}, +"taskName": { +"type": "string" +}, +"taskNumber": { +"type": "string" +}, +"triggerId": { +"description": "Stats have been or will be aggregated on set fields for any semantically-meaningful combination.", +"type": "string" +}, +"warningEnumString": { +"type": "string" +}, +"workflowId": { +"type": "string" +}, +"workflowName": { +"type": "string" +} +}, +"type": "object" +}, +"EnterpriseCrmFrontendsEventbusProtoBooleanParameterArray": { +"id": "EnterpriseCrmFrontendsEventbusProtoBooleanParameterArray", +"properties": { +"booleanValues": { +"items": { +"type": "boolean" +}, +"type": "array" +} +}, +"type": "object" +}, +"EnterpriseCrmFrontendsEventbusProtoDoubleParameterArray": { +"id": "EnterpriseCrmFrontendsEventbusProtoDoubleParameterArray", +"properties": { +"doubleValues": { +"items": { +"format": "double", +"type": "number" +}, +"type": "array" +} +}, +"type": "object" +}, +"EnterpriseCrmFrontendsEventbusProtoEventExecutionDetails": { +"description": "Contains the details of the execution info of this event: this includes the tasks execution details plus the event execution statistics. Next available id: 11", +"id": "EnterpriseCrmFrontendsEventbusProtoEventExecutionDetails", +"properties": { +"eventAttemptStats": { +"items": { +"$ref": "EnterpriseCrmEventbusProtoEventExecutionDetailsEventAttemptStats" +}, +"type": "array" +}, +"eventExecutionSnapshot": { +"description": "After snapshot migration, this field will no longer be populated, but old execution snapshots will still be accessible.", +"items": { +"$ref": "EnterpriseCrmFrontendsEventbusProtoEventExecutionSnapshot" +}, +"type": "array" +}, +"eventExecutionSnapshotsSize": { +"description": "Total size of all event_execution_snapshots for an execution", +"format": "int64", +"type": "string" +}, +"eventExecutionState": { +"description": "The execution state of this event.", +"enum": [ +"UNSPECIFIED", +"ON_HOLD", +"IN_PROCESS", +"SUCCEEDED", +"FAILED", +"CANCELED", +"RETRY_ON_HOLD", +"SUSPENDED" +], +"enumDescriptions": [ +"", +"Event is received and waiting for the execution. This happens when firing the event via \"postToQueue\" or \"schedule\".", +"Event is under processing.", +"Event execution successfully finished. There's no more change after this state.", +"Event execution failed. There's no more change after this state.", +"Event execution canceled by user. There's no more change after this state.", +"Event execution failed and waiting for retry.", +"Event execution suspended and waiting for manual intervention." +], +"type": "string" +}, +"eventRetriesFromBeginningCount": { +"description": "Indicates the number of times the execution has restarted from the beginning.", +"format": "int32", +"type": "integer" +}, +"logFilePath": { +"description": "The log file path (aka. cns address) for this event.", +"type": "string" +}, +"networkAddress": { +"description": "The network address (aka. bns address) that indicates where the event executor is running.", +"type": "string" +}, +"nextExecutionTime": { +"description": "Next scheduled execution time in case the execution status was RETRY_ON_HOLD.", +"format": "int64", +"type": "string" +}, +"ryeLockUnheldCount": { +"description": "Used internally and shouldn't be exposed to users. A counter for the cron job to record how many times this event is in in_process state but don't have a lock consecutively/", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"EnterpriseCrmFrontendsEventbusProtoEventExecutionInfo": { +"description": "Contains all the execution details for a workflow instance. Next available id: 24", +"id": "EnterpriseCrmFrontendsEventbusProtoEventExecutionInfo", +"properties": { +"clientId": { +"description": "The event data user sends as request.", +"type": "string" +}, +"createTime": { +"description": "Auto-generated.", +"format": "int64", +"type": "string" +}, +"errorCode": { +"$ref": "CrmlogErrorCode", +"description": "Final error-code if event failed." +}, +"errors": { +"description": "Errors, warnings, and informationals associated with the workflow/task. The order in which the errors were added by the workflow/task is maintained.", +"items": { +"$ref": "EnterpriseCrmEventbusProtoErrorDetail" +}, +"type": "array" +}, +"eventExecutionDetails": { +"$ref": "EnterpriseCrmFrontendsEventbusProtoEventExecutionDetails", +"description": "The execution info about this event." +}, +"eventExecutionInfoId": { +"description": "Auto-generated primary key.", +"type": "string" +}, +"executionTraceInfo": { +"$ref": "EnterpriseCrmEventbusProtoExecutionTraceInfo", +"description": "Execution trace info to aggregate parent-child executions." +}, +"lastModifiedTime": { +"description": "Auto-generated.", +"format": "int64", +"type": "string" +}, +"postMethod": { +"description": "The ways user posts this event.", +"enum": [ +"UNSPECIFIED", +"POST", +"POST_TO_QUEUE", +"SCHEDULE", +"POST_BY_EVENT_CONFIG_ID", +"POST_WITH_EVENT_DETAILS" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"" +], +"type": "string" +}, +"product": { +"description": "Which Google product the execution_info belongs to. If not set, the execution_info belongs to Integration Platform by default.", +"enum": [ +"UNSPECIFIED_PRODUCT", +"IP", +"APIGEE", +"SECURITY" +], +"enumDescriptions": [ +"", +"", +"", +"" +], +"type": "string" +}, +"requestId": { +"description": "Optional. This is used to de-dup incoming request.", +"type": "string" +}, +"requestParams": { +"$ref": "EnterpriseCrmFrontendsEventbusProtoEventParameters", +"description": "Event parameters come in as part of the request." +}, +"responseParams": { +"$ref": "EnterpriseCrmFrontendsEventbusProtoEventParameters", +"description": "Event parameters come out as part of the response." +}, +"snapshotNumber": { +"description": "Workflow snapshot number.", +"format": "int64", +"type": "string" +}, +"tenant": { +"description": "Tenant this event is created. Used to reschedule the event to correct tenant.", +"type": "string" +}, +"triggerId": { +"description": "The trigger id of the workflow trigger config. If both trigger_id and client_id is present, the workflow is executed from the start tasks provided by the matching trigger config otherwise it is executed from the default start tasks.", +"type": "string" +}, +"workflowId": { +"description": "Required. Pointer to the workflow it is executing.", +"type": "string" +}, +"workflowName": { +"description": "Name of the workflow.", +"type": "string" +}, +"workflowRetryBackoffIntervalSeconds": { +"description": "Time interval in seconds to schedule retry of workflow in manifold when workflow is already running", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"EnterpriseCrmFrontendsEventbusProtoEventExecutionSnapshot": { +"id": "EnterpriseCrmFrontendsEventbusProtoEventExecutionSnapshot", +"properties": { +"checkpointTaskNumber": { +"description": "Indicates \"right after which checkpoint task's execution\" this snapshot is taken.", +"type": "string" +}, +"conditionResults": { +"description": "All of the computed conditions that been calculated.", +"items": { +"$ref": "EnterpriseCrmEventbusProtoConditionResult" +}, +"type": "array" +}, +"diffParams": { +"$ref": "EnterpriseCrmFrontendsEventbusProtoEventParameters", +"description": "The parameters in Event object that differs from last snapshot." +}, +"eventExecutionInfoId": { +"description": "Points to the event execution info this snapshot belongs to.", +"type": "string" +}, +"eventExecutionSnapshotId": { +"description": "Auto-generated. Used as primary key for EventExecutionSnapshots table.", +"type": "string" +}, +"eventExecutionSnapshotMetadata": { +"$ref": "EnterpriseCrmEventbusProtoEventExecutionSnapshotEventExecutionSnapshotMetadata" +}, +"eventParams": { +"$ref": "EnterpriseCrmFrontendsEventbusProtoEventParameters", +"description": "The parameters in Event object." +}, +"snapshotTime": { +"description": "Indicates when this snapshot is taken.", +"format": "int64", +"type": "string" +}, +"taskExecutionDetails": { +"description": "All of the task execution details at the given point of time.", +"items": { +"$ref": "EnterpriseCrmEventbusProtoTaskExecutionDetails" +}, +"type": "array" +}, +"taskName": { +"deprecated": true, +"description": "The task name associated with this snapshot. Could be empty.", +"type": "string" +} +}, +"type": "object" +}, +"EnterpriseCrmFrontendsEventbusProtoEventParameters": { +"description": "LINT.IfChange This message is used for processing and persisting (when applicable) key value pair parameters for each event in the event bus. Please see", +"id": "EnterpriseCrmFrontendsEventbusProtoEventParameters", +"properties": { +"parameters": { +"description": "Parameters are a part of Event and can be used to communicate between different tasks that are part of the same workflow execution.", +"items": { +"$ref": "EnterpriseCrmFrontendsEventbusProtoParameterEntry" +}, +"type": "array" +} +}, +"type": "object" +}, +"EnterpriseCrmFrontendsEventbusProtoIntParameterArray": { +"id": "EnterpriseCrmFrontendsEventbusProtoIntParameterArray", +"properties": { +"intValues": { +"items": { +"format": "int64", +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"EnterpriseCrmFrontendsEventbusProtoParamSpecEntry": { +"description": "Key-value pair of EventBus task parameters. Next id: 13", +"id": "EnterpriseCrmFrontendsEventbusProtoParamSpecEntry", +"properties": { +"className": { +"description": "The FQCN of the Java object this represents. A string, for example, would be \"java.lang.String\". If this is \"java.lang.Object\", the parameter can be of any type.", +"type": "string" +}, +"collectionElementClassName": { +"description": "If it is a collection of objects, this would be the FCQN of every individual element in the collection. If this is \"java.lang.Object\", the parameter is a collection of any type.", +"type": "string" +}, +"config": { +"$ref": "EnterpriseCrmEventbusProtoParamSpecEntryConfig", +"description": "Optional fields, such as help text and other useful info." +}, +"dataType": { +"description": "The data type of the parameter.", +"enum": [ +"DATA_TYPE_UNSPECIFIED", +"STRING_VALUE", +"INT_VALUE", +"DOUBLE_VALUE", +"BOOLEAN_VALUE", +"PROTO_VALUE", +"SERIALIZED_OBJECT_VALUE", +"STRING_ARRAY", +"INT_ARRAY", +"DOUBLE_ARRAY", +"PROTO_ARRAY", +"PROTO_ENUM", +"BOOLEAN_ARRAY", +"PROTO_ENUM_ARRAY", +"BYTES", +"BYTES_ARRAY", +"NON_SERIALIZABLE_OBJECT", +"JSON_VALUE" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"BYTES and BYTES_ARRAY data types are not allowed for top-level params. They're only meant to support protobufs with BYTES (sub)fields.", +"", +"", +"" +], +"type": "string" +}, +"defaultValue": { +"$ref": "EnterpriseCrmFrontendsEventbusProtoParameterValueType", +"description": "Default values for the defined keys. Each value can either be string, int, double or any proto message or a serialized object." +}, +"isDeprecated": { +"description": "If set, this entry is deprecated, so further use of this parameter should be prohibited.", +"type": "boolean" +}, +"isOutput": { +"type": "boolean" +}, +"jsonSchema": { +"description": "If the data_type is JSON_VALUE, then this will define its schema.", +"type": "string" +}, +"key": { +"description": "Key is used to retrieve the corresponding parameter value. This should be unique for a given task. These parameters must be predefined in the workflow definition.", +"type": "string" +}, +"protoDef": { +"$ref": "EnterpriseCrmEventbusProtoParamSpecEntryProtoDefinition", +"description": "Populated if this represents a proto or proto array." +}, +"required": { +"description": "If set, the user must provide an input value for this parameter.", +"type": "boolean" +}, +"validationRule": { +"$ref": "EnterpriseCrmEventbusProtoParamSpecEntryValidationRule", +"description": "Rule used to validate inputs (individual values and collection elements) for this parameter." +} +}, +"type": "object" +}, +"EnterpriseCrmFrontendsEventbusProtoParamSpecsMessage": { +"id": "EnterpriseCrmFrontendsEventbusProtoParamSpecsMessage", +"properties": { +"parameters": { +"items": { +"$ref": "EnterpriseCrmFrontendsEventbusProtoParamSpecEntry" +}, +"type": "array" +} +}, +"type": "object" +}, +"EnterpriseCrmFrontendsEventbusProtoParameterEntry": { +"description": "Key-value pair of EventBus parameters.", +"id": "EnterpriseCrmFrontendsEventbusProtoParameterEntry", +"properties": { +"dataType": { +"description": "Explicitly getting the type of the parameter.", +"enum": [ +"DATA_TYPE_UNSPECIFIED", +"STRING_VALUE", +"INT_VALUE", +"DOUBLE_VALUE", +"BOOLEAN_VALUE", +"PROTO_VALUE", +"SERIALIZED_OBJECT_VALUE", +"STRING_ARRAY", +"INT_ARRAY", +"DOUBLE_ARRAY", +"PROTO_ARRAY", +"PROTO_ENUM", +"BOOLEAN_ARRAY", +"PROTO_ENUM_ARRAY", +"BYTES", +"BYTES_ARRAY", +"NON_SERIALIZABLE_OBJECT", +"JSON_VALUE" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"BYTES and BYTES_ARRAY data types are not allowed for top-level params. They're only meant to support protobufs with BYTES (sub)fields.", +"", +"", +"" +], +"type": "string" +}, +"key": { +"description": "Key is used to retrieve the corresponding parameter value. This should be unique for a given fired event. These parameters must be predefined in the workflow definition.", +"type": "string" +}, +"masked": { +"description": "True if this parameter should be masked in the logs", +"type": "boolean" +}, +"value": { +"$ref": "EnterpriseCrmFrontendsEventbusProtoParameterValueType", +"description": "Values for the defined keys. Each value can either be string, int, double or any proto message." +} +}, +"type": "object" +}, +"EnterpriseCrmFrontendsEventbusProtoParameterMap": { +"description": "A generic multi-map that holds key value pairs. They keys and values can be of any type, unless specified.", +"id": "EnterpriseCrmFrontendsEventbusProtoParameterMap", +"properties": { +"entries": { +"items": { +"$ref": "EnterpriseCrmFrontendsEventbusProtoParameterMapEntry" +}, +"type": "array" +}, +"keyType": { +"description": "Option to specify key value type for all entries of the map. If provided then field types for all entries must conform to this.", +"enum": [ +"DATA_TYPE_UNSPECIFIED", +"STRING_VALUE", +"INT_VALUE", +"DOUBLE_VALUE", +"BOOLEAN_VALUE", +"PROTO_VALUE", +"SERIALIZED_OBJECT_VALUE", +"STRING_ARRAY", +"INT_ARRAY", +"DOUBLE_ARRAY", +"PROTO_ARRAY", +"PROTO_ENUM", +"BOOLEAN_ARRAY", +"PROTO_ENUM_ARRAY", +"BYTES", +"BYTES_ARRAY", +"NON_SERIALIZABLE_OBJECT", +"JSON_VALUE" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"BYTES and BYTES_ARRAY data types are not allowed for top-level params. They're only meant to support protobufs with BYTES (sub)fields.", +"", +"", +"" +], +"type": "string" +}, +"valueType": { +"enum": [ +"DATA_TYPE_UNSPECIFIED", +"STRING_VALUE", +"INT_VALUE", +"DOUBLE_VALUE", +"BOOLEAN_VALUE", +"PROTO_VALUE", +"SERIALIZED_OBJECT_VALUE", +"STRING_ARRAY", +"INT_ARRAY", +"DOUBLE_ARRAY", +"PROTO_ARRAY", +"PROTO_ENUM", +"BOOLEAN_ARRAY", +"PROTO_ENUM_ARRAY", +"BYTES", +"BYTES_ARRAY", +"NON_SERIALIZABLE_OBJECT", +"JSON_VALUE" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"BYTES and BYTES_ARRAY data types are not allowed for top-level params. They're only meant to support protobufs with BYTES (sub)fields.", +"", +"", +"" +], +"type": "string" +} +}, +"type": "object" +}, +"EnterpriseCrmFrontendsEventbusProtoParameterMapEntry": { +"description": "Entry is a pair of key and value.", +"id": "EnterpriseCrmFrontendsEventbusProtoParameterMapEntry", +"properties": { +"key": { +"$ref": "EnterpriseCrmFrontendsEventbusProtoParameterMapField" +}, +"value": { +"$ref": "EnterpriseCrmFrontendsEventbusProtoParameterMapField" +} +}, +"type": "object" +}, +"EnterpriseCrmFrontendsEventbusProtoParameterMapField": { +"description": "Field represents either the key or value in an entry.", +"id": "EnterpriseCrmFrontendsEventbusProtoParameterMapField", +"properties": { +"literalValue": { +"$ref": "EnterpriseCrmFrontendsEventbusProtoParameterValueType", +"description": "Passing a literal value." +}, +"referenceKey": { +"description": "Referencing one of the WF variables.", +"type": "string" +} +}, +"type": "object" +}, +"EnterpriseCrmFrontendsEventbusProtoParameterValueType": { +"description": "To support various types of parameter values. Next available id: 14", +"id": "EnterpriseCrmFrontendsEventbusProtoParameterValueType", +"properties": { +"booleanArray": { +"$ref": "EnterpriseCrmFrontendsEventbusProtoBooleanParameterArray" +}, +"booleanValue": { +"type": "boolean" +}, +"doubleArray": { +"$ref": "EnterpriseCrmFrontendsEventbusProtoDoubleParameterArray" +}, +"doubleValue": { +"format": "double", +"type": "number" +}, +"intArray": { +"$ref": "EnterpriseCrmFrontendsEventbusProtoIntParameterArray" +}, +"intValue": { +"format": "int64", +"type": "string" +}, +"jsonValue": { +"type": "string" +}, +"protoArray": { +"$ref": "EnterpriseCrmFrontendsEventbusProtoProtoParameterArray" +}, +"protoValue": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"type": "object" +}, +"serializedObjectValue": { +"$ref": "EnterpriseCrmFrontendsEventbusProtoSerializedObjectParameter" +}, +"stringArray": { +"$ref": "EnterpriseCrmFrontendsEventbusProtoStringParameterArray" +}, +"stringValue": { +"type": "string" +} +}, +"type": "object" +}, +"EnterpriseCrmFrontendsEventbusProtoProtoParameterArray": { +"id": "EnterpriseCrmFrontendsEventbusProtoProtoParameterArray", +"properties": { +"protoValues": { +"items": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"type": "object" +}, +"type": "array" +} +}, +"type": "object" +}, +"EnterpriseCrmFrontendsEventbusProtoRollbackStrategy": { +"description": "Next available id: 4", +"id": "EnterpriseCrmFrontendsEventbusProtoRollbackStrategy", +"properties": { +"parameters": { +"$ref": "EnterpriseCrmFrontendsEventbusProtoEventParameters", +"description": "Optional. The customized parameters the user can pass to this task." +}, +"rollbackTaskImplementationClassName": { +"description": "Required. This is the name of the task that needs to be executed upon rollback of this task.", +"type": "string" +}, +"taskNumbersToRollback": { +"description": "Required. These are the tasks numbers of the tasks whose `rollback_strategy.rollback_task_implementation_class_name` needs to be executed upon failure of this task.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"EnterpriseCrmFrontendsEventbusProtoSerializedObjectParameter": { +"id": "EnterpriseCrmFrontendsEventbusProtoSerializedObjectParameter", +"properties": { +"objectValue": { +"format": "byte", +"type": "string" +} +}, +"type": "object" +}, +"EnterpriseCrmFrontendsEventbusProtoStringParameterArray": { +"id": "EnterpriseCrmFrontendsEventbusProtoStringParameterArray", +"properties": { +"stringValues": { +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"EnterpriseCrmFrontendsEventbusProtoTaskConfig": { +"description": "The task configuration details. This is not the implementation of Task. There might be multiple TaskConfigs for the same Task.", +"id": "EnterpriseCrmFrontendsEventbusProtoTaskConfig", +"properties": { +"alertConfigs": { +"description": "Alert configurations on error rate, warning rate, number of runs, durations, etc.", +"items": { +"$ref": "EnterpriseCrmEventbusProtoTaskAlertConfig" +}, +"type": "array" +}, +"createTime": { +"description": "Auto-generated.", +"format": "google-datetime", +"type": "string" +}, +"creatorEmail": { +"description": "The creator's email address. Auto-generated from the user's email.", +"type": "string" +}, +"description": { +"description": "User-provided description intended to give more business context about the task.", +"type": "string" +}, +"disableStrictTypeValidation": { +"description": "If this config contains a TypedTask, allow validation to succeed if an input is read from the output of another TypedTask whose output type is declared as a superclass of the requested input type. For instance, if the previous task declares an output of type Message, any task with this flag enabled will pass validation when attempting to read any proto Message type from the resultant Event parameter.", +"type": "boolean" +}, +"errorCatcherId": { +"description": "Optional Error catcher id of the error catch flow which will be executed when execution error happens in the task", +"type": "string" +}, +"externalTaskType": { +"enum": [ +"EXTERNAL_TASK_TYPE_UNSPECIFIED", +"NORMAL_TASK", +"ERROR_TASK" +], +"enumDescriptions": [ +"Default value. External task type is not specified", +"Tasks belongs to the normal task flows", +"Task belongs to the error catch task flows" +], +"type": "string" +}, +"failurePolicy": { +"$ref": "EnterpriseCrmEventbusProtoFailurePolicy", +"description": "Optional. Determines the number of times the task will be retried on failure and with what retry strategy. This is applicable for asynchronous calls to Eventbus alone (Post To Queue, Schedule etc.)." +}, +"incomingEdgeCount": { +"description": "The number of edges leading into this TaskConfig.", +"format": "int32", +"type": "integer" +}, +"jsonValidationOption": { +"description": "If set, overrides the option configured in the Task implementation class.", +"enum": [ +"UNSPECIFIED_JSON_VALIDATION_OPTION", +"SKIP", +"PRE_EXECUTION", +"POST_EXECUTION", +"PRE_POST_EXECUTION" +], +"enumDescriptions": [ +"As per the default behavior, no validation will be run. Will not override any option set in a Task.", +"Do not run any validation against JSON schemas.", +"Validate all potential input JSON parameters against schemas specified in WorkflowParameters.", +"Validate all potential output JSON parameters against schemas specified in WorkflowParameters.", +"Perform both PRE_EXECUTION and POST_EXECUTION validations." +], +"type": "string" +}, +"label": { +"description": "User-provided label that is attached to this TaskConfig in the UI.", +"type": "string" +}, +"lastModifiedTime": { +"description": "Auto-generated.", +"format": "google-datetime", +"type": "string" +}, +"nextTasks": { +"description": "The set of tasks that are next in line to be executed as per the execution graph defined for the parent event, specified by `event_config_id`. Each of these next tasks are executed only if the condition associated with them evaluates to true.", +"items": { +"$ref": "EnterpriseCrmEventbusProtoNextTask" +}, +"type": "array" +}, +"nextTasksExecutionPolicy": { +"description": "The policy dictating the execution of the next set of tasks for the current task.", +"enum": [ +"UNSPECIFIED", +"RUN_ALL_MATCH", +"RUN_FIRST_MATCH" +], +"enumDescriptions": [ +"Default", +"Execute all the tasks that satisfy their associated condition.", +"Execute the first task that satisfies the associated condition." +], +"type": "string" +}, +"parameters": { +"additionalProperties": { +"$ref": "EnterpriseCrmFrontendsEventbusProtoParameterEntry" +}, +"description": "The customized parameters the user can pass to this task.", +"type": "object" +}, +"position": { +"$ref": "EnterpriseCrmEventbusProtoCoordinate", +"description": "Optional. Informs the front-end application where to draw this task config on the UI." +}, +"precondition": { +"description": "Optional. Standard filter expression evaluated before execution. Independent of other conditions and tasks. Can be used to enable rollout. e.g. \"rollout(5)\" will only allow 5% of incoming traffic to task.", +"type": "string" +}, +"preconditionLabel": { +"description": "Optional. User-provided label that is attached to precondition in the UI.", +"type": "string" +}, +"rollbackStrategy": { +"$ref": "EnterpriseCrmFrontendsEventbusProtoRollbackStrategy", +"description": "Optional. Contains information about what needs to be done upon failure (either a permanent error or after it has been retried too many times)." +}, +"successPolicy": { +"$ref": "EnterpriseCrmEventbusProtoSuccessPolicy", +"description": "Determines what action to take upon successful task completion." +}, +"synchronousCallFailurePolicy": { +"$ref": "EnterpriseCrmEventbusProtoFailurePolicy", +"description": "Optional. Determines the number of times the task will be retried on failure and with what retry strategy. This is applicable for synchronous calls to Eventbus alone (Post)." +}, +"taskEntity": { +"$ref": "EnterpriseCrmFrontendsEventbusProtoTaskEntity", +"description": "Copy of the task entity that this task config is an instance of." +}, +"taskExecutionStrategy": { +"description": "The policy dictating the execution strategy of this task.", +"enum": [ +"WHEN_ALL_SUCCEED", +"WHEN_ANY_SUCCEED", +"WHEN_ALL_TASKS_AND_CONDITIONS_SUCCEED" +], +"enumDescriptions": [ +"Wait until all of its previous tasks finished execution, then verify at least one of the edge conditions is met, and execute if possible. This should be considered as WHEN_ALL_TASKS_SUCCEED.", +"Start execution as long as any of its previous tasks finished execution and the corresponding edge condition is met (since we will execute if only that succeeding edge condition is met).", +"Wait until all of its previous tasks finished execution, then verify the all edge conditions are met and execute if possible." +], +"type": "string" +}, +"taskName": { +"description": "The name for the task.", +"type": "string" +}, +"taskNumber": { +"description": "REQUIRED: the identifier of this task within its parent event config, specified by the client. This should be unique among all the tasks belong to the same event config. We use this field as the identifier to find next tasks (via field `next_tasks.task_number`).", +"type": "string" +}, +"taskSpec": { +"description": "A string template that allows user to configure task parameters (with either literal default values or tokens which will be resolved at execution time) for the task. It will eventually replace the old \"parameters\" field.", +"type": "string" +}, +"taskTemplateName": { +"description": "Used to define task-template name if task is of type task-template", +"type": "string" +}, +"taskType": { +"description": "Defines the type of the task", +"enum": [ +"TASK", +"ASIS_TEMPLATE", +"IO_TEMPLATE" +], +"enumDescriptions": [ +"Normal IP task", +"Task is of As-Is Template type", +"Task is of I/O template type with a different underlying task" +], +"type": "string" +} +}, +"type": "object" +}, +"EnterpriseCrmFrontendsEventbusProtoTaskEntity": { +"description": "Contains a task's metadata and associated information. Next available id: 7", +"id": "EnterpriseCrmFrontendsEventbusProtoTaskEntity", +"properties": { +"disabledForVpcSc": { +"description": "True if the task has conflict with vpcsc", +"type": "boolean" +}, +"metadata": { +"$ref": "EnterpriseCrmEventbusProtoTaskMetadata", +"description": "Metadata inclueds the task name, author and so on." +}, +"paramSpecs": { +"$ref": "EnterpriseCrmFrontendsEventbusProtoParamSpecsMessage", +"description": "Declarations for inputs/outputs for a TypedTask. This is also associated with the METADATA mask." +}, +"stats": { +"$ref": "EnterpriseCrmEventbusStats", +"deprecated": true, +"description": "Deprecated - statistics from the Monarch query." +}, +"taskType": { +"description": "Defines the type of the task", +"enum": [ +"TASK", +"ASIS_TEMPLATE", +"IO_TEMPLATE" +], +"enumDescriptions": [ +"Normal IP task", +"Task is of As-Is Template type", +"Task is of I/O template type with a different underlying task" +], +"type": "string" +}, +"uiConfig": { +"$ref": "EnterpriseCrmEventbusProtoTaskUiConfig", +"description": "UI configuration for this task Also associated with the METADATA mask." +} +}, +"type": "object" +}, +"EnterpriseCrmFrontendsEventbusProtoTriggerConfig": { +"description": "Configuration detail of a trigger. Next available id: 20", +"id": "EnterpriseCrmFrontendsEventbusProtoTriggerConfig", +"properties": { +"alertConfig": { +"description": "An alert threshold configuration for the [trigger + client + workflow] tuple. If these values are not specified in the trigger config, default values will be populated by the system. Note that there must be exactly one alert threshold configured per [client + trigger + workflow] when published.", +"items": { +"$ref": "EnterpriseCrmEventbusProtoWorkflowAlertConfig" +}, +"type": "array" +}, +"cloudSchedulerConfig": { +"$ref": "EnterpriseCrmEventbusProtoCloudSchedulerConfig" +}, +"description": { +"description": "User-provided description intended to give more business context about the task.", +"type": "string" +}, +"enabledClients": { +"description": "Required. The list of client ids which are enabled to execute the workflow using this trigger. In other words, these clients have the workflow execution privledges for this trigger. For API trigger, the client id in the incoming request is validated against the list of enabled clients. For non-API triggers, one workflow execution is triggered on behalf of each enabled client.", +"items": { +"type": "string" +}, +"type": "array" +}, +"errorCatcherId": { +"description": "Optional Error catcher id of the error catch flow which will be executed when execution error happens in the task", +"type": "string" +}, +"label": { +"description": "The user created label for a particular trigger.", +"type": "string" +}, +"nextTasksExecutionPolicy": { +"description": "Dictates how next tasks will be executed.", +"enum": [ +"UNSPECIFIED", +"RUN_ALL_MATCH", +"RUN_FIRST_MATCH" +], +"enumDescriptions": [ +"Default", +"Execute all the tasks that satisfy their associated condition.", +"Execute the first task that satisfies the associated condition." +], +"type": "string" +}, +"pauseWorkflowExecutions": { +"description": "Optional. If set to true, any upcoming requests for this trigger config will be paused and the executions will be resumed later when the flag is reset. The workflow to which this trigger config belongs has to be in ACTIVE status for the executions to be paused or resumed.", +"type": "boolean" +}, +"position": { +"$ref": "EnterpriseCrmEventbusProtoCoordinate", +"description": "Optional. Informs the front-end application where to draw this trigger config on the UI." +}, +"properties": { +"additionalProperties": { +"type": "string" +}, +"description": "Configurable properties of the trigger, not to be confused with workflow parameters. E.g. \"name\" is a property for API triggers and \"subscription\" is a property for Cloud Pubsub triggers.", +"type": "object" +}, +"startTasks": { +"description": "Set of tasks numbers from where the workflow execution is started by this trigger. If this is empty, then workflow is executed with default start tasks. In the list of start tasks, none of two tasks can have direct ancestor-descendant relationships (i.e. in a same workflow execution graph).", +"items": { +"$ref": "EnterpriseCrmEventbusProtoNextTask" +}, +"type": "array" +}, +"triggerCriteria": { +"$ref": "EnterpriseCrmEventbusProtoTriggerCriteria", +"description": "Optional. When set, Eventbus will run the task specified in the trigger_criteria and validate the result using the trigger_criteria.condition, and only execute the workflow when result is true." +}, +"triggerId": { +"description": "The backend trigger ID.", +"type": "string" +}, +"triggerName": { +"description": "Optional. Name of the trigger This is added to identify the type of trigger. This is avoid the logic on triggerId to identify the trigger_type and push the same to monitoring.", +"type": "string" +}, +"triggerNumber": { +"description": "Required. A number to uniquely identify each trigger config within the workflow on UI.", +"type": "string" +}, +"triggerType": { +"enum": [ +"UNKNOWN", +"CLOUD_PUBSUB", +"GOOPS", +"SFDC_SYNC", +"CRON", +"API", +"MANIFOLD_TRIGGER", +"DATALAYER_DATA_CHANGE", +"SFDC_CHANNEL", +"CLOUD_PUBSUB_EXTERNAL", +"SFDC_CDC_CHANNEL", +"SFDC_PLATFORM_EVENTS_CHANNEL", +"CLOUD_SCHEDULER", +"INTEGRATION_CONNECTOR_TRIGGER", +"PRIVATE_TRIGGER" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"" +], +"type": "string" +} +}, +"type": "object" +}, +"EnterpriseCrmFrontendsEventbusProtoWorkflowParameterEntry": { +"id": "EnterpriseCrmFrontendsEventbusProtoWorkflowParameterEntry", +"properties": { +"attributes": { +"$ref": "EnterpriseCrmEventbusProtoAttributes", +"description": "Metadata information about the parameters." +}, +"children": { +"description": "Child parameters nested within this parameter. This field only applies to protobuf parameters", +"items": { +"$ref": "EnterpriseCrmFrontendsEventbusProtoWorkflowParameterEntry" +}, +"type": "array" +}, +"containsLargeData": { +"description": "Indicates whether this variable contains large data and need to be uploaded to Cloud Storage.", +"type": "boolean" +}, +"dataType": { +"description": "The data type of the parameter.", +"enum": [ +"DATA_TYPE_UNSPECIFIED", +"STRING_VALUE", +"INT_VALUE", +"DOUBLE_VALUE", +"BOOLEAN_VALUE", +"PROTO_VALUE", +"SERIALIZED_OBJECT_VALUE", +"STRING_ARRAY", +"INT_ARRAY", +"DOUBLE_ARRAY", +"PROTO_ARRAY", +"PROTO_ENUM", +"BOOLEAN_ARRAY", +"PROTO_ENUM_ARRAY", +"BYTES", +"BYTES_ARRAY", +"NON_SERIALIZABLE_OBJECT", +"JSON_VALUE" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"BYTES and BYTES_ARRAY data types are not allowed for top-level params. They're only meant to support protobufs with BYTES (sub)fields.", +"", +"", +"" +], +"type": "string" +}, +"defaultValue": { +"$ref": "EnterpriseCrmFrontendsEventbusProtoParameterValueType", +"description": "Default values for the defined keys. Each value can either be string, int, double or any proto message or a serialized object." +}, +"description": { +"description": "Optional. The description about the parameter", +"type": "string" +}, +"inOutType": { +"description": "Specifies the input/output type for the parameter.", +"enum": [ +"IN_OUT_TYPE_UNSPECIFIED", +"IN", +"OUT", +"IN_OUT" +], +"enumDescriptions": [ +"", +"Input parameters for the workflow. EventBus validates that these parameters exist in the workflows before execution.", +"Output Parameters for the workflow. EventBus will only return the workflow parameters tagged with OUT in the response back.", +"Input or Output Parameters. These can be used as both input and output. EventBus will validate for the existence of these parameters before execution and will also return this parameter back in the response." +], +"type": "string" +}, +"isTransient": { +"description": "Whether this parameter is a transient parameter.", +"type": "boolean" +}, +"jsonSchema": { +"description": "This schema will be used to validate runtime JSON-typed values of this parameter.", +"type": "string" +}, +"key": { +"description": "Key is used to retrieve the corresponding parameter value. This should be unique for a given fired event. These parameters must be predefined in the workflow definition.", +"type": "string" +}, +"name": { +"description": "The name (without prefix) to be displayed in the UI for this parameter. E.g. if the key is \"foo.bar.myName\", then the name would be \"myName\".", +"type": "string" +}, +"producedBy": { +"$ref": "EnterpriseCrmEventbusProtoNodeIdentifier", +"description": "The identifier of the node (TaskConfig/TriggerConfig) this parameter was produced by, if it is a transient param or a copy of an input param." +}, +"producer": { +"type": "string" +}, +"protoDefName": { +"description": "The name of the protobuf type if the parameter has a protobuf data type.", +"type": "string" +}, +"protoDefPath": { +"description": "If the data type is of type proto or proto array, this field needs to be populated with the fully qualified proto name. This message, for example, would be \"enterprise.crm.frontends.eventbus.proto.WorkflowParameterEntry\".", +"type": "string" +}, +"required": { +"type": "boolean" +} +}, +"type": "object" +}, +"EnterpriseCrmFrontendsEventbusProtoWorkflowParameters": { +"description": "LINT.IfChange This is the frontend version of WorkflowParameters. It's exactly like the backend version except that instead of flattening protobuf parameters and treating every field and subfield of a protobuf parameter as a separate parameter, the fields/subfields of a protobuf parameter will be nested as \"children\" (see 'children' field below) parameters of the parent parameter. Please refer to enterprise/crm/eventbus/proto/workflow_parameters.proto for more information about WorkflowParameters.", +"id": "EnterpriseCrmFrontendsEventbusProtoWorkflowParameters", +"properties": { +"parameters": { +"description": "Parameters are a part of Event and can be used to communiticate between different tasks that are part of the same workflow execution.", +"items": { +"$ref": "EnterpriseCrmFrontendsEventbusProtoWorkflowParameterEntry" +}, +"type": "array" +} +}, +"type": "object" +}, +"EnterpriseCrmLoggingGwsFieldLimits": { +"description": "Describes string and array limits when writing to logs. When a limit is exceeded the *shortener_type* describes how to shorten the field. next_id: 6", +"id": "EnterpriseCrmLoggingGwsFieldLimits", +"properties": { +"logAction": { +"enum": [ +"LOG_ACTION_UNSPECIFIED", +"DONT_LOG", +"LOG" +], +"enumDescriptions": [ +"", +"", +"" +], +"type": "string" +}, +"logType": { +"description": "To which type(s) of logs the limits apply.", +"items": { +"enum": [ +"LOG_TYPE_UNSPECIFIED", +"GWS", +"GTS", +"ALL" +], +"enumDescriptions": [ +"", +"Limits apply when log detail records are written to GWS.", +"Limits apply when log detail records are written to GTS (e.g., RecordIO files).", +"Limits apply to *all* output log types." +], +"type": "string" +}, +"type": "array" +}, +"maxArraySize": { +"description": "maximum array size. If the array exceds this size, the field (list) is truncated.", +"format": "int32", +"type": "integer" +}, +"maxStringLength": { +"description": "maximum string length. If the field exceeds this amount the field is shortened.", +"format": "int32", +"type": "integer" +}, +"shortenerType": { +"enum": [ +"SHORTENER_TYPE_UNSPECIFIED", +"SHORTEN", +"HASH", +"SHORTEN_WITH_HASH", +"SHORTEN_EMAIL", +"SHORTEN_EMAIL_WITH_HASH", +"SHORTEN_DOMAIN" +], +"enumDescriptions": [ +"", +"String is shortened to max_string_length.", +"String is replaced by its hex-string hash.", +"String is replaced by a combination of string shortening and a hex-string hash.", +"String shortening for email addresses. Shortening may be done on the user and/or domain portion of the email address.", +"String is replaced by a combination of string shortening and a hex-string hash for an email address.", +"Shortens a domain name (e.g., as part of an email address or URL)." +], +"type": "string" +} +}, +"type": "object" +}, +"EnterpriseCrmLoggingGwsSanitizeOptions": { +"description": "Identifies whether a field contains, or may contain, PII or sensitive data, and how to sanitize the field if it does. If a field's privacy type cannot be determined then it is sanitized (e.g., scrubbed). The specific sanitizer implementation is determined by run-time configuration and environment options (e.g., prod vs. qa). next_id: 5", +"id": "EnterpriseCrmLoggingGwsSanitizeOptions", +"properties": { +"isAlreadySanitized": { +"description": "If true, the value has already been sanitized and needs no further sanitization. For instance, a D3 customer id is already an obfuscated entity and *might not* need further sanitization.", +"type": "boolean" +}, +"logType": { +"description": "To which type(s) of logs the sanitize options apply.", +"items": { +"enum": [ +"LOG_TYPE_UNSPECIFIED", +"GWS", +"GTS", +"ALL" +], +"enumDescriptions": [ +"", +"Limits apply when log detail records are written to GWS.", +"Limits apply when log detail records are written to GTS (e.g., RecordIO files).", +"Limits apply to *all* output log types." +], +"type": "string" +}, +"type": "array" +}, +"privacy": { +"enum": [ +"PRIVACY_TYPE_UNSPECIFIED", +"NOT_PII", +"PII", +"SPII", +"UNSURE" +], +"enumDescriptions": [ +"", +"Field does *NOT* contain PII or sensitive data.", +"Field contains PII.", +"Field contains Sensitive PII.", +"Unsure if field contains PII." +], +"type": "string" +}, +"sanitizeType": { +"enum": [ +"SANITIZE_TYPE_UNSPECIFIED", +"SCRUB", +"ANONYMIZE", +"ANONYMIZE_LIMITED_REPEATABLE", +"OBFUSCATE", +"ENCRYPT", +"DO_NOT_SANITIZE" +], +"enumDescriptions": [ +"", +"Replace value with a scrubbed value (usu. a constant).", +"Transform a value so that it cannot be tracked across events. However, a given value, is transformed to the same value *within* an event. E.g., \"foo.com\" is transformed to \"0xabcdef\" for event 1001, and to \"0xfedcba\" for event 1002.", +"Transform values as with ANONYMIZER, but the same transformation is repeated for a limited time (e.g., 1 day).", +"The value is transformed using a well-defined obfuscator (e.g., D3_CUSTOMER_ID).", +"The value is encrypted.", +"No sanitization is required." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudConnectorsV1AuthConfig": { +"description": "AuthConfig defines details of a authentication type.", +"id": "GoogleCloudConnectorsV1AuthConfig", +"properties": { +"additionalVariables": { +"description": "List containing additional auth configs.", +"items": { +"$ref": "GoogleCloudConnectorsV1ConfigVariable" +}, +"type": "array" +}, +"authKey": { +"description": "Identifier key for auth config", +"type": "string" +}, +"authType": { +"description": "The type of authentication configured.", +"enum": [ +"AUTH_TYPE_UNSPECIFIED", +"USER_PASSWORD", +"OAUTH2_JWT_BEARER", +"OAUTH2_CLIENT_CREDENTIALS", +"SSH_PUBLIC_KEY", +"OAUTH2_AUTH_CODE_FLOW", +"GOOGLE_AUTHENTICATION" +], +"enumDescriptions": [ +"Authentication type not specified.", +"Username and Password Authentication.", +"JSON Web Token (JWT) Profile for Oauth 2.0 Authorization Grant based authentication", +"Oauth 2.0 Client Credentials Grant Authentication", +"SSH Public Key Authentication", +"Oauth 2.0 Authorization Code Flow", +"Google authentication" +], +"type": "string" +}, +"oauth2AuthCodeFlow": { +"$ref": "GoogleCloudConnectorsV1AuthConfigOauth2AuthCodeFlow", +"description": "Oauth2AuthCodeFlow." +}, +"oauth2ClientCredentials": { +"$ref": "GoogleCloudConnectorsV1AuthConfigOauth2ClientCredentials", +"description": "Oauth2ClientCredentials." +}, +"oauth2JwtBearer": { +"$ref": "GoogleCloudConnectorsV1AuthConfigOauth2JwtBearer", +"description": "Oauth2JwtBearer." +}, +"sshPublicKey": { +"$ref": "GoogleCloudConnectorsV1AuthConfigSshPublicKey", +"description": "SSH Public Key." +}, +"userPassword": { +"$ref": "GoogleCloudConnectorsV1AuthConfigUserPassword", +"description": "UserPassword." +} +}, +"type": "object" +}, +"GoogleCloudConnectorsV1AuthConfigOauth2AuthCodeFlow": { +"description": "Parameters to support Oauth 2.0 Auth Code Grant Authentication. See https://www.rfc-editor.org/rfc/rfc6749#section-1.3.1 for more details.", +"id": "GoogleCloudConnectorsV1AuthConfigOauth2AuthCodeFlow", +"properties": { +"authCode": { +"description": "Authorization code to be exchanged for access and refresh tokens.", +"type": "string" +}, +"authUri": { +"description": "Auth URL for Authorization Code Flow", +"type": "string" +}, +"clientId": { +"description": "Client ID for user-provided OAuth app.", +"type": "string" +}, +"clientSecret": { +"$ref": "GoogleCloudConnectorsV1Secret", +"description": "Client secret for user-provided OAuth app." +}, +"enablePkce": { +"description": "Whether to enable PKCE when the user performs the auth code flow.", +"type": "boolean" +}, +"pkceVerifier": { +"description": "PKCE verifier to be used during the auth code exchange.", +"type": "string" +}, +"redirectUri": { +"description": "Redirect URI to be provided during the auth code exchange.", +"type": "string" +}, +"scopes": { +"description": "Scopes the connection will request when the user performs the auth code flow.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudConnectorsV1AuthConfigOauth2ClientCredentials": { +"description": "Parameters to support Oauth 2.0 Client Credentials Grant Authentication. See https://tools.ietf.org/html/rfc6749#section-1.3.4 for more details.", +"id": "GoogleCloudConnectorsV1AuthConfigOauth2ClientCredentials", +"properties": { +"clientId": { +"description": "The client identifier.", +"type": "string" +}, +"clientSecret": { +"$ref": "GoogleCloudConnectorsV1Secret", +"description": "Secret version reference containing the client secret." +} +}, +"type": "object" +}, +"GoogleCloudConnectorsV1AuthConfigOauth2JwtBearer": { +"description": "Parameters to support JSON Web Token (JWT) Profile for Oauth 2.0 Authorization Grant based authentication. See https://tools.ietf.org/html/rfc7523 for more details.", +"id": "GoogleCloudConnectorsV1AuthConfigOauth2JwtBearer", +"properties": { +"clientKey": { +"$ref": "GoogleCloudConnectorsV1Secret", +"description": "Secret version reference containing a PKCS#8 PEM-encoded private key associated with the Client Certificate. This private key will be used to sign JWTs used for the jwt-bearer authorization grant. Specified in the form as: `projects/*/secrets/*/versions/*`." +}, +"jwtClaims": { +"$ref": "GoogleCloudConnectorsV1AuthConfigOauth2JwtBearerJwtClaims", +"description": "JwtClaims providers fields to generate the token." +} +}, +"type": "object" +}, +"GoogleCloudConnectorsV1AuthConfigOauth2JwtBearerJwtClaims": { +"description": "JWT claims used for the jwt-bearer authorization grant.", +"id": "GoogleCloudConnectorsV1AuthConfigOauth2JwtBearerJwtClaims", +"properties": { +"audience": { +"description": "Value for the \"aud\" claim.", +"type": "string" +}, +"issuer": { +"description": "Value for the \"iss\" claim.", +"type": "string" +}, +"subject": { +"description": "Value for the \"sub\" claim.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudConnectorsV1AuthConfigSshPublicKey": { +"description": "Parameters to support Ssh public key Authentication.", +"id": "GoogleCloudConnectorsV1AuthConfigSshPublicKey", +"properties": { +"certType": { +"description": "Format of SSH Client cert.", +"type": "string" +}, +"sshClientCert": { +"$ref": "GoogleCloudConnectorsV1Secret", +"description": "SSH Client Cert. It should contain both public and private key." +}, +"sshClientCertPass": { +"$ref": "GoogleCloudConnectorsV1Secret", +"description": "Password (passphrase) for ssh client certificate if it has one." +}, +"username": { +"description": "The user account used to authenticate.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudConnectorsV1AuthConfigUserPassword": { +"description": "Parameters to support Username and Password Authentication.", +"id": "GoogleCloudConnectorsV1AuthConfigUserPassword", +"properties": { +"password": { +"$ref": "GoogleCloudConnectorsV1Secret", +"description": "Secret version reference containing the password." +}, +"username": { +"description": "Username.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudConnectorsV1BillingConfig": { +"description": "Billing config for the connection.", +"id": "GoogleCloudConnectorsV1BillingConfig", +"properties": { +"billingCategory": { +"description": "Output only. Billing category for the connector.", +"enum": [ +"BILLING_CATEGORY_UNSPECIFIED", +"GCP_AND_TECHNICAL_CONNECTOR", +"NON_GCP_CONNECTOR" +], +"enumDescriptions": [ +"Billing category is not specified.", +"GCP/Technical connector.", +"Non-GCP connector." +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudConnectorsV1ConfigVariable": { +"description": "ConfigVariable represents a configuration variable present in a Connection. or AuthConfig.", +"id": "GoogleCloudConnectorsV1ConfigVariable", +"properties": { +"boolValue": { +"description": "Value is a bool.", +"type": "boolean" +}, +"encryptionKeyValue": { +"$ref": "GoogleCloudConnectorsV1EncryptionKey", +"description": "Value is a Encryption Key." +}, +"intValue": { +"description": "Value is an integer", +"format": "int64", +"type": "string" +}, +"key": { +"description": "Key of the config variable.", +"type": "string" +}, +"secretValue": { +"$ref": "GoogleCloudConnectorsV1Secret", +"description": "Value is a secret." +}, +"stringValue": { +"description": "Value is a string.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudConnectorsV1Connection": { +"description": "Connection represents an instance of connector.", +"id": "GoogleCloudConnectorsV1Connection", +"properties": { +"authConfig": { +"$ref": "GoogleCloudConnectorsV1AuthConfig", +"description": "Optional. Configuration for establishing the connection's authentication with an external system." +}, +"billingConfig": { +"$ref": "GoogleCloudConnectorsV1BillingConfig", +"description": "Output only. Billing config for the connection.", +"readOnly": true +}, +"configVariables": { +"description": "Optional. Configuration for configuring the connection with an external system.", +"items": { +"$ref": "GoogleCloudConnectorsV1ConfigVariable" +}, +"type": "array" +}, +"connectionRevision": { +"description": "Output only. Connection revision. This field is only updated when the connection is created or updated by User.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"connectorVersion": { +"description": "Required. Connector version on which the connection is created. The format is: projects/*/locations/*/providers/*/connectors/*/versions/* Only global location is supported for ConnectorVersion resource.", +"type": "string" +}, +"connectorVersionInfraConfig": { +"$ref": "GoogleCloudConnectorsV1ConnectorVersionInfraConfig", +"description": "Output only. Infra configs supported by Connector Version.", +"readOnly": true +}, +"connectorVersionLaunchStage": { +"description": "Output only. Flag to mark the version indicating the launch stage.", +"enum": [ +"LAUNCH_STAGE_UNSPECIFIED", +"PREVIEW", +"GA", +"DEPRECATED", +"PRIVATE_PREVIEW" +], +"enumDescriptions": [ +"LAUNCH_STAGE_UNSPECIFIED.", +"PREVIEW.", +"GA.", +"DEPRECATED.", +"PRIVATE_PREVIEW." +], +"readOnly": true, +"type": "string" +}, +"createTime": { +"description": "Output only. Created time.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"description": { +"description": "Optional. Description of the resource.", +"type": "string" +}, +"destinationConfigs": { +"description": "Optional. Configuration of the Connector's destination. Only accepted for Connectors that accepts user defined destination(s).", +"items": { +"$ref": "GoogleCloudConnectorsV1DestinationConfig" +}, +"type": "array" +}, +"envoyImageLocation": { +"description": "Output only. GCR location where the envoy image is stored. formatted like: gcr.io/{bucketName}/{imageName}", +"readOnly": true, +"type": "string" +}, +"eventingConfig": { +"$ref": "GoogleCloudConnectorsV1EventingConfig", +"description": "Optional. Eventing config of a connection" +}, +"eventingEnablementType": { +"description": "Optional. Eventing enablement type. Will be nil if eventing is not enabled.", +"enum": [ +"EVENTING_ENABLEMENT_TYPE_UNSPECIFIED", +"EVENTING_AND_CONNECTION", +"ONLY_EVENTING" +], +"enumDescriptions": [ +"Eventing Enablement Type Unspecifeied.", +"Both connection and eventing.", +"Only Eventing." +], +"type": "string" +}, +"eventingRuntimeData": { +"$ref": "GoogleCloudConnectorsV1EventingRuntimeData", +"description": "Output only. Eventing Runtime Data.", +"readOnly": true +}, +"imageLocation": { +"description": "Output only. GCR location where the runtime image is stored. formatted like: gcr.io/{bucketName}/{imageName}", +"readOnly": true, +"type": "string" +}, +"isTrustedTester": { +"description": "Output only. Is trusted tester program enabled for the project.", +"readOnly": true, +"type": "boolean" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. Resource labels to represent user-provided metadata. Refer to cloud documentation on labels for more details. https://cloud.google.com/compute/docs/labeling-resources", +"type": "object" +}, +"lockConfig": { +"$ref": "GoogleCloudConnectorsV1LockConfig", +"description": "Optional. Configuration that indicates whether or not the Connection can be edited." +}, +"logConfig": { +"$ref": "GoogleCloudConnectorsV1LogConfig", +"description": "Optional. Log configuration for the connection." +}, +"name": { +"description": "Output only. Resource name of the Connection. Format: projects/{project}/locations/{location}/connections/{connection}", +"readOnly": true, +"type": "string" +}, +"nodeConfig": { +"$ref": "GoogleCloudConnectorsV1NodeConfig", +"description": "Optional. Node configuration for the connection." +}, +"serviceAccount": { +"description": "Optional. Service account needed for runtime plane to access Google Cloud resources.", +"type": "string" +}, +"serviceDirectory": { +"description": "Output only. The name of the Service Directory service name. Used for Private Harpoon to resolve the ILB address. e.g. \"projects/cloud-connectors-e2e-testing/locations/us-central1/namespaces/istio-system/services/istio-ingressgateway-connectors\"", +"readOnly": true, +"type": "string" +}, +"sslConfig": { +"$ref": "GoogleCloudConnectorsV1SslConfig", +"description": "Optional. Ssl config of a connection" +}, +"status": { +"$ref": "GoogleCloudConnectorsV1ConnectionStatus", +"description": "Output only. Current status of the connection.", +"readOnly": true +}, +"subscriptionType": { +"description": "Output only. This subscription type enum states the subscription type of the project.", +"enum": [ +"SUBSCRIPTION_TYPE_UNSPECIFIED", +"PAY_G", +"PAID" +], +"enumDescriptions": [ +"Unspecified subscription type.", +"PayG subscription.", +"Paid Subscription." +], +"readOnly": true, +"type": "string" +}, +"suspended": { +"description": "Optional. Suspended indicates if a user has suspended a connection or not.", +"type": "boolean" +}, +"updateTime": { +"description": "Output only. Updated time.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudConnectorsV1ConnectionStatus": { +"description": "ConnectionStatus indicates the state of the connection.", +"id": "GoogleCloudConnectorsV1ConnectionStatus", +"properties": { +"description": { +"description": "Description.", +"type": "string" +}, +"state": { +"description": "State.", +"enum": [ +"STATE_UNSPECIFIED", +"CREATING", +"ACTIVE", +"INACTIVE", +"DELETING", +"UPDATING", +"ERROR", +"AUTHORIZATION_REQUIRED" +], +"enumDescriptions": [ +"Connection does not have a state yet.", +"Connection is being created.", +"Connection is running and ready for requests.", +"Connection is stopped.", +"Connection is being deleted.", +"Connection is being updated.", +"Connection is not running due to an error.", +"Connection is not running because the authorization configuration is not complete." +], +"type": "string" +}, +"status": { +"description": "Status provides detailed information for the state.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudConnectorsV1ConnectorVersionInfraConfig": { +"description": "This cofiguration provides infra configs like rate limit threshold which need to be configurable for every connector version", +"id": "GoogleCloudConnectorsV1ConnectorVersionInfraConfig", +"properties": { +"connectionRatelimitWindowSeconds": { +"description": "Output only. The window used for ratelimiting runtime requests to connections.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"deploymentModel": { +"description": "Optional. Indicates whether connector is deployed on GKE/CloudRun", +"enum": [ +"DEPLOYMENT_MODEL_UNSPECIFIED", +"GKE_MST", +"CLOUD_RUN_MST" +], +"enumDescriptions": [ +"Deployment model is not specified.", +"Default model gke mst.", +"Cloud run mst." +], +"type": "string" +}, +"hpaConfig": { +"$ref": "GoogleCloudConnectorsV1HPAConfig", +"description": "Output only. HPA autoscaling config.", +"readOnly": true +}, +"internalclientRatelimitThreshold": { +"description": "Output only. Max QPS supported for internal requests originating from Connd.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"ratelimitThreshold": { +"description": "Output only. Max QPS supported by the connector version before throttling of requests.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"resourceLimits": { +"$ref": "GoogleCloudConnectorsV1ResourceLimits", +"description": "Output only. System resource limits.", +"readOnly": true +}, +"resourceRequests": { +"$ref": "GoogleCloudConnectorsV1ResourceRequests", +"description": "Output only. System resource requests.", +"readOnly": true +}, +"sharedDeployment": { +"description": "Output only. The name of shared connector deployment.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudConnectorsV1Destination": { +"id": "GoogleCloudConnectorsV1Destination", +"properties": { +"host": { +"description": "For publicly routable host.", +"type": "string" +}, +"port": { +"description": "The port is the target port number that is accepted by the destination.", +"format": "int32", +"type": "integer" +}, +"serviceAttachment": { +"deprecated": true, +"description": "PSC service attachments. Format: projects/*/regions/*/serviceAttachments/*", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudConnectorsV1DestinationConfig": { +"description": "Define the Connectors target endpoint.", +"id": "GoogleCloudConnectorsV1DestinationConfig", +"properties": { +"destinations": { +"description": "The destinations for the key.", +"items": { +"$ref": "GoogleCloudConnectorsV1Destination" +}, +"type": "array" +}, +"key": { +"description": "The key is the destination identifier that is supported by the Connector.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudConnectorsV1EncryptionKey": { +"description": "Encryption Key value.", +"id": "GoogleCloudConnectorsV1EncryptionKey", +"properties": { +"kmsKeyName": { +"description": "The [KMS key name] with which the content of the Operation is encrypted. The expected format: `projects/*/locations/*/keyRings/*/cryptoKeys/*`. Will be empty string if google managed.", +"type": "string" +}, +"type": { +"description": "Type.", +"enum": [ +"TYPE_UNSPECIFIED", +"GOOGLE_MANAGED", +"CUSTOMER_MANAGED" +], +"enumDescriptions": [ +"Value type is not specified.", +"Google Managed.", +"Customer Managed." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudConnectorsV1EventingConfig": { +"description": "Eventing Configuration of a connection", +"id": "GoogleCloudConnectorsV1EventingConfig", +"properties": { +"additionalVariables": { +"description": "Additional eventing related field values", +"items": { +"$ref": "GoogleCloudConnectorsV1ConfigVariable" +}, +"type": "array" +}, +"authConfig": { +"$ref": "GoogleCloudConnectorsV1AuthConfig", +"description": "Auth details for the webhook adapter." +}, +"deadLetterConfig": { +"$ref": "GoogleCloudConnectorsV1EventingConfigDeadLetterConfig", +"description": "Optional. Dead letter configuration for eventing of a connection." +}, +"enrichmentEnabled": { +"description": "Enrichment Enabled.", +"type": "boolean" +}, +"eventsListenerIngressEndpoint": { +"description": "Optional. Ingress endpoint of the event listener. This is used only when private connectivity is enabled.", +"type": "string" +}, +"listenerAuthConfig": { +"$ref": "GoogleCloudConnectorsV1AuthConfig", +"description": "Optional. Auth details for the event listener." +}, +"privateConnectivityEnabled": { +"description": "Optional. Private Connectivity Enabled.", +"type": "boolean" +}, +"proxyDestinationConfig": { +"$ref": "GoogleCloudConnectorsV1DestinationConfig", +"description": "Optional. Proxy for Eventing auto-registration." +}, +"registrationDestinationConfig": { +"$ref": "GoogleCloudConnectorsV1DestinationConfig", +"description": "Registration endpoint for auto registration." +} +}, +"type": "object" +}, +"GoogleCloudConnectorsV1EventingConfigDeadLetterConfig": { +"description": "Dead Letter configuration details provided by the user.", +"id": "GoogleCloudConnectorsV1EventingConfigDeadLetterConfig", +"properties": { +"projectId": { +"description": "Optional. Project which has the topic given.", +"type": "string" +}, +"topic": { +"description": "Optional. Topic to push events which couldn't be processed.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudConnectorsV1EventingRuntimeData": { +"description": "Eventing runtime data has the details related to eventing managed by the system.", +"id": "GoogleCloudConnectorsV1EventingRuntimeData", +"properties": { +"eventsListenerEndpoint": { +"description": "Output only. Events listener endpoint. The value will populated after provisioning the events listener.", +"readOnly": true, +"type": "string" +}, +"eventsListenerPscSa": { +"description": "Output only. Events listener PSC Service attachment. The value will be populated after provisioning the events listener with private connectivity enabled.", +"readOnly": true, +"type": "string" +}, +"status": { +"$ref": "GoogleCloudConnectorsV1EventingStatus", +"description": "Output only. Current status of eventing.", +"readOnly": true +}, +"webhookData": { +"$ref": "GoogleCloudConnectorsV1EventingRuntimeDataWebhookData", +"description": "Output only. Webhook data.", +"readOnly": true +} +}, +"type": "object" +}, +"GoogleCloudConnectorsV1EventingRuntimeDataWebhookData": { +"description": "WebhookData has details of webhook configuration.", +"id": "GoogleCloudConnectorsV1EventingRuntimeDataWebhookData", +"properties": { +"additionalVariables": { +"description": "Output only. Additional webhook related field values.", +"items": { +"$ref": "GoogleCloudConnectorsV1ConfigVariable" +}, +"readOnly": true, +"type": "array" +}, +"createTime": { +"description": "Output only. Timestamp when the webhook was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"id": { +"description": "Output only. ID to uniquely identify webhook.", +"readOnly": true, +"type": "string" +}, +"name": { +"description": "Output only. Name of the Webhook", +"readOnly": true, +"type": "string" +}, +"nextRefreshTime": { +"description": "Output only. Next webhook refresh time. Will be null if refresh is not supported.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"updateTime": { +"description": "Output only. Timestamp when the webhook was last updated.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudConnectorsV1EventingStatus": { +"description": "EventingStatus indicates the state of eventing.", +"id": "GoogleCloudConnectorsV1EventingStatus", +"properties": { +"description": { +"description": "Output only. Description of error if State is set to \"ERROR\".", +"readOnly": true, +"type": "string" +}, +"state": { +"description": "Output only. State.", +"enum": [ +"STATE_UNSPECIFIED", +"ACTIVE", +"ERROR", +"INGRESS_ENDPOINT_REQUIRED" +], +"enumDescriptions": [ +"Default state.", +"Eventing is enabled and ready to receive events.", +"Eventing is not active due to an error.", +"Ingress endpoint required." +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudConnectorsV1HPAConfig": { +"description": "Autoscaling config for connector deployment system metrics.", +"id": "GoogleCloudConnectorsV1HPAConfig", +"properties": { +"cpuUtilizationThreshold": { +"description": "Output only. Percent CPU utilization where HPA triggers autoscaling.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"memoryUtilizationThreshold": { +"description": "Output only. Percent Memory utilization where HPA triggers autoscaling.", +"format": "int64", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudConnectorsV1LockConfig": { +"description": "Determines whether or no a connection is locked. If locked, a reason must be specified.", +"id": "GoogleCloudConnectorsV1LockConfig", +"properties": { +"locked": { +"description": "Indicates whether or not the connection is locked.", +"type": "boolean" +}, +"reason": { +"description": "Describes why a connection is locked.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudConnectorsV1LogConfig": { +"description": "Log configuration for the connection.", +"id": "GoogleCloudConnectorsV1LogConfig", +"properties": { +"enabled": { +"description": "Enabled represents whether logging is enabled or not for a connection.", +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleCloudConnectorsV1NodeConfig": { +"description": "Node configuration for the connection.", +"id": "GoogleCloudConnectorsV1NodeConfig", +"properties": { +"maxNodeCount": { +"description": "Maximum number of nodes in the runtime nodes.", +"format": "int32", +"type": "integer" +}, +"minNodeCount": { +"description": "Minimum number of nodes in the runtime nodes.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"GoogleCloudConnectorsV1ResourceLimits": { +"description": "Resource limits defined for connection pods of a given connector type.", +"id": "GoogleCloudConnectorsV1ResourceLimits", +"properties": { +"cpu": { +"description": "Output only. CPU limit.", +"readOnly": true, +"type": "string" +}, +"memory": { +"description": "Output only. Memory limit.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudConnectorsV1ResourceRequests": { +"description": "Resource requests defined for connection pods of a given connector type.", +"id": "GoogleCloudConnectorsV1ResourceRequests", +"properties": { +"cpu": { +"description": "Output only. CPU request.", +"readOnly": true, +"type": "string" +}, +"memory": { +"description": "Output only. Memory request.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudConnectorsV1Secret": { +"description": "Secret provides a reference to entries in Secret Manager.", +"id": "GoogleCloudConnectorsV1Secret", +"properties": { +"secretVersion": { +"description": "The resource name of the secret version in the format, format as: `projects/*/secrets/*/versions/*`.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudConnectorsV1SslConfig": { +"description": "SSL Configuration of a connection", +"id": "GoogleCloudConnectorsV1SslConfig", +"properties": { +"additionalVariables": { +"description": "Additional SSL related field values", +"items": { +"$ref": "GoogleCloudConnectorsV1ConfigVariable" +}, +"type": "array" +}, +"clientCertType": { +"description": "Type of Client Cert (PEM/JKS/.. etc.)", +"enum": [ +"CERT_TYPE_UNSPECIFIED", +"PEM" +], +"enumDescriptions": [ +"Cert type unspecified.", +"Privacy Enhanced Mail (PEM) Type" +], +"type": "string" +}, +"clientCertificate": { +"$ref": "GoogleCloudConnectorsV1Secret", +"description": "Client Certificate" +}, +"clientPrivateKey": { +"$ref": "GoogleCloudConnectorsV1Secret", +"description": "Client Private Key" +}, +"clientPrivateKeyPass": { +"$ref": "GoogleCloudConnectorsV1Secret", +"description": "Secret containing the passphrase protecting the Client Private Key" +}, +"privateServerCertificate": { +"$ref": "GoogleCloudConnectorsV1Secret", +"description": "Private Server Certificate. Needs to be specified if trust model is `PRIVATE`." +}, +"serverCertType": { +"description": "Type of Server Cert (PEM/JKS/.. etc.)", +"enum": [ +"CERT_TYPE_UNSPECIFIED", +"PEM" +], +"enumDescriptions": [ +"Cert type unspecified.", +"Privacy Enhanced Mail (PEM) Type" +], +"type": "string" +}, +"trustModel": { +"description": "Trust Model of the SSL connection", +"enum": [ +"PUBLIC", +"PRIVATE", +"INSECURE" +], +"enumDescriptions": [ +"Public Trust Model. Takes the Default Java trust store.", +"Private Trust Model. Takes custom/private trust store.", +"Insecure Trust Model. Accept all certificates." +], +"type": "string" +}, +"type": { +"description": "Controls the ssl type for the given connector version.", +"enum": [ +"SSL_TYPE_UNSPECIFIED", +"TLS", +"MTLS" +], +"enumDescriptions": [ +"No SSL configuration required.", +"TLS Handshake", +"mutual TLS (MTLS) Handshake" +], +"type": "string" +}, +"useSsl": { +"description": "Bool for enabling SSL", +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleCloudIntegrationsV1alphaAccessToken": { +"description": "The access token represents the authorization of a specific application to access specific parts of a user\u2019s data.", +"id": "GoogleCloudIntegrationsV1alphaAccessToken", +"properties": { +"accessToken": { +"description": "The access token encapsulating the security identity of a process or thread.", +"type": "string" +}, +"accessTokenExpireTime": { +"description": "Required. The approximate time until the access token retrieved is valid.", +"format": "google-datetime", +"type": "string" +}, +"refreshToken": { +"description": "If the access token will expire, use the refresh token to obtain another access token.", +"type": "string" +}, +"refreshTokenExpireTime": { +"description": "The approximate time until the refresh token retrieved is valid.", +"format": "google-datetime", +"type": "string" +}, +"tokenType": { +"description": "Only support \"bearer\" token in v1 as bearer token is the predominant type used with OAuth 2.0.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudIntegrationsV1alphaAttemptStats": { +"description": "Status for the execution attempt.", +"id": "GoogleCloudIntegrationsV1alphaAttemptStats", +"properties": { +"endTime": { +"description": "The end time of the integration execution for current attempt.", +"format": "google-datetime", +"type": "string" +}, +"startTime": { +"description": "The start time of the integration execution for current attempt. This could be in the future if it's been scheduled.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudIntegrationsV1alphaAuthConfig": { +"description": "The AuthConfig resource use to hold channels and connection config data.", +"id": "GoogleCloudIntegrationsV1alphaAuthConfig", +"properties": { +"certificateId": { +"description": "Certificate id for client certificate", +"type": "string" +}, +"createTime": { +"description": "Output only. The timestamp when the auth config is created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"creatorEmail": { +"description": "The creator's email address. Generated based on the End User Credentials/LOAS role of the user making the call.", +"type": "string" +}, +"credentialType": { +"description": "Credential type of the encrypted credential.", +"enum": [ +"CREDENTIAL_TYPE_UNSPECIFIED", +"USERNAME_AND_PASSWORD", +"API_KEY", +"OAUTH2_AUTHORIZATION_CODE", +"OAUTH2_IMPLICIT", +"OAUTH2_CLIENT_CREDENTIALS", +"OAUTH2_RESOURCE_OWNER_CREDENTIALS", +"JWT", +"AUTH_TOKEN", +"SERVICE_ACCOUNT", +"CLIENT_CERTIFICATE_ONLY", +"OIDC_TOKEN" +], +"enumDescriptions": [ +"Unspecified credential type", +"Regular username/password pair.", +"API key.", +"OAuth 2.0 Authorization Code Grant Type.", +"OAuth 2.0 Implicit Grant Type.", +"OAuth 2.0 Client Credentials Grant Type.", +"OAuth 2.0 Resource Owner Credentials Grant Type.", +"JWT Token.", +"Auth Token, e.g. bearer token.", +"Service Account which can be used to generate token for authentication.", +"Client Certificate only.", +"Google OIDC ID Token" +], +"type": "string" +}, +"decryptedCredential": { +"$ref": "GoogleCloudIntegrationsV1alphaCredential", +"description": "Raw auth credentials." +}, +"description": { +"description": "A description of the auth config.", +"type": "string" +}, +"displayName": { +"description": "Required. The name of the auth config.", +"type": "string" +}, +"encryptedCredential": { +"description": "Auth credential encrypted by Cloud KMS. Can be decrypted as Credential with proper KMS key.", +"format": "byte", +"type": "string" +}, +"expiryNotificationDuration": { +"description": "User can define the time to receive notification after which the auth config becomes invalid. Support up to 30 days. Support granularity in hours.", +"items": { +"format": "google-duration", +"type": "string" +}, +"type": "array" +}, +"lastModifierEmail": { +"description": "The last modifier's email address. Generated based on the End User Credentials/LOAS role of the user making the call.", +"type": "string" +}, +"name": { +"description": "Resource name of the auth config. For more information, see Manage authentication profiles. projects/{project}/locations/{location}/authConfigs/{authConfig}.", +"type": "string" +}, +"overrideValidTime": { +"description": "User provided expiry time to override. For the example of Salesforce, username/password credentials can be valid for 6 months depending on the instance settings.", +"format": "google-datetime", +"type": "string" +}, +"reason": { +"description": "The reason / details of the current status.", +"type": "string" +}, +"state": { +"description": "The status of the auth config.", +"enum": [ +"STATE_UNSPECIFIED", +"VALID", +"INVALID", +"SOFT_DELETED", +"EXPIRED", +"UNAUTHORIZED", +"UNSUPPORTED" +], +"enumDescriptions": [ +"Status not specified.", +"Valid Auth config.", +"General invalidity, if it doesn't fits in the detailed issue below.", +"Auth config soft deleted.", +"Auth config expired.", +"Auth config unauthorized.", +"Auth config not supported." +], +"type": "string" +}, +"updateTime": { +"description": "Output only. The timestamp when the auth config is modified.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"validTime": { +"description": "The time until the auth config is valid. Empty or max value is considered the auth config won't expire.", +"format": "google-datetime", +"type": "string" +}, +"visibility": { +"description": "The visibility of the auth config.", +"enum": [ +"AUTH_CONFIG_VISIBILITY_UNSPECIFIED", +"PRIVATE", +"CLIENT_VISIBLE" +], +"enumDescriptions": [ +"Visibility not specified.", +"Profile visible to the creator only.", +"Profile visible within the client." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudIntegrationsV1alphaAuthToken": { +"description": "The credentials to authenticate a user agent with a server that is put in HTTP Authorization request header.", +"id": "GoogleCloudIntegrationsV1alphaAuthToken", +"properties": { +"token": { +"description": "The token for the auth type.", +"type": "string" +}, +"type": { +"description": "Authentication type, e.g. \"Basic\", \"Bearer\", etc.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudIntegrationsV1alphaBooleanParameterArray": { +"description": "This message only contains a field of boolean array.", +"id": "GoogleCloudIntegrationsV1alphaBooleanParameterArray", +"properties": { +"booleanValues": { +"description": "Boolean array.", +"items": { +"type": "boolean" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudIntegrationsV1alphaCancelExecutionRequest": { +"description": "Request for cancelling an execution.", +"id": "GoogleCloudIntegrationsV1alphaCancelExecutionRequest", +"properties": {}, +"type": "object" +}, +"GoogleCloudIntegrationsV1alphaCancelExecutionResponse": { +"description": "Response for cancelling an execution.", +"id": "GoogleCloudIntegrationsV1alphaCancelExecutionResponse", +"properties": { +"isCanceled": { +"description": "True if cancellation performed successfully", +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleCloudIntegrationsV1alphaCertificate": { +"description": "The certificate definition", +"id": "GoogleCloudIntegrationsV1alphaCertificate", +"properties": { +"certificateStatus": { +"description": "Status of the certificate", +"enum": [ +"STATE_UNSPECIFIED", +"ACTIVE", +"EXPIRED" +], +"enumDescriptions": [ +"Unspecified certificate status", +"Certificate in active state will be able to use", +"Certificate in expired state needs to be updated" +], +"type": "string" +}, +"credentialId": { +"description": "Immutable. Credential id that will be used to register with trawler INTERNAL_ONLY", +"type": "string" +}, +"description": { +"description": "Description of the certificate", +"type": "string" +}, +"displayName": { +"description": "Required. Name of the certificate", +"type": "string" +}, +"name": { +"description": "Output only. Auto generated primary key", +"readOnly": true, +"type": "string" +}, +"rawCertificate": { +"$ref": "GoogleCloudIntegrationsV1alphaClientCertificate", +"description": "Input only. Raw client certificate which would be registered with trawler" +}, +"requestorId": { +"description": "Immutable. Requestor ID to be used to register certificate with trawler", +"type": "string" +}, +"validEndTime": { +"description": "Output only. The timestamp after which certificate will expire", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"validStartTime": { +"description": "Output only. The timestamp after which certificate will be valid", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudIntegrationsV1alphaClientCertificate": { +"description": "Contains client certificate information", +"id": "GoogleCloudIntegrationsV1alphaClientCertificate", +"properties": { +"encryptedPrivateKey": { +"description": "The ssl certificate encoded in PEM format. This string must include the begin header and end footer lines. For example, -----BEGIN CERTIFICATE----- MIICTTCCAbagAwIBAgIJAPT0tSKNxan/MA0GCSqGSIb3DQEBCwUAMCoxFzAVBgNV BAoTDkdvb2dsZSBURVNUSU5HMQ8wDQYDVQQDEwZ0ZXN0Q0EwHhcNMTUwMTAxMDAw MDAwWhcNMjUwMTAxMDAwMDAwWjAuMRcwFQYDVQQKEw5Hb29nbGUgVEVTVElORzET MBEGA1UEAwwKam9lQGJhbmFuYTCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEA vDYFgMgxi5W488d9J7UpCInl0NXmZQpJDEHE4hvkaRlH7pnC71H0DLt0/3zATRP1 JzY2+eqBmbGl4/sgZKYv8UrLnNyQNUTsNx1iZAfPUflf5FwgVsai8BM0pUciq1NB xD429VFcrGZNucvFLh72RuRFIKH8WUpiK/iZNFkWhZ0CAwEAAaN3MHUwDgYDVR0P AQH/BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAMBgNVHRMB Af8EAjAAMBkGA1UdDgQSBBCVgnFBCWgL/iwCqnGrhTPQMBsGA1UdIwQUMBKAEKey Um2o4k2WiEVA0ldQvNYwDQYJKoZIhvcNAQELBQADgYEAYK986R4E3L1v+Q6esBtW JrUwA9UmJRSQr0N5w3o9XzarU37/bkjOP0Fw0k/A6Vv1n3vlciYfBFaBIam1qRHr 5dMsYf4CZS6w50r7hyzqyrwDoyNxkLnd2PdcHT/sym1QmflsjEs7pejtnohO6N2H wQW6M0H7Zt8claGRla4fKkg= -----END CERTIFICATE-----", +"type": "string" +}, +"passphrase": { +"description": "'passphrase' should be left unset if private key is not encrypted. Note that 'passphrase' is not the password for web server, but an extra layer of security to protected private key.", +"type": "string" +}, +"sslCertificate": { +"description": "The ssl certificate encoded in PEM format. This string must include the begin header and end footer lines. For example, -----BEGIN CERTIFICATE----- MIICTTCCAbagAwIBAgIJAPT0tSKNxan/MA0GCSqGSIb3DQEBCwUAMCoxFzAVBgNV BAoTDkdvb2dsZSBURVNUSU5HMQ8wDQYDVQQDEwZ0ZXN0Q0EwHhcNMTUwMTAxMDAw MDAwWhcNMjUwMTAxMDAwMDAwWjAuMRcwFQYDVQQKEw5Hb29nbGUgVEVTVElORzET MBEGA1UEAwwKam9lQGJhbmFuYTCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEA vDYFgMgxi5W488d9J7UpCInl0NXmZQpJDEHE4hvkaRlH7pnC71H0DLt0/3zATRP1 JzY2+eqBmbGl4/sgZKYv8UrLnNyQNUTsNx1iZAfPUflf5FwgVsai8BM0pUciq1NB xD429VFcrGZNucvFLh72RuRFIKH8WUpiK/iZNFkWhZ0CAwEAAaN3MHUwDgYDVR0P AQH/BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAMBgNVHRMB Af8EAjAAMBkGA1UdDgQSBBCVgnFBCWgL/iwCqnGrhTPQMBsGA1UdIwQUMBKAEKey Um2o4k2WiEVA0ldQvNYwDQYJKoZIhvcNAQELBQADgYEAYK986R4E3L1v+Q6esBtW JrUwA9UmJRSQr0N5w3o9XzarU37/bkjOP0Fw0k/A6Vv1n3vlciYfBFaBIam1qRHr 5dMsYf4CZS6w50r7hyzqyrwDoyNxkLnd2PdcHT/sym1QmflsjEs7pejtnohO6N2H wQW6M0H7Zt8claGRla4fKkg= -----END CERTIFICATE-----", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudIntegrationsV1alphaCloudLoggingDetails": { +"description": "Cloud Logging details for execution info", +"id": "GoogleCloudIntegrationsV1alphaCloudLoggingDetails", +"properties": { +"cloudLoggingSeverity": { +"description": "Optional. Severity selected by the customer for the logs to be sent to Cloud Logging, for the integration version getting executed.", +"enum": [ +"CLOUD_LOGGING_SEVERITY_UNSPECIFIED", +"INFO", +"ERROR", +"WARNING" +], +"enumDescriptions": [ +"Unspecified", +"If Severity selected is `INFO`, then all the Integration Execution States (`IN_PROCESS`, `ON_HOLD`, `SUCCEEDED`, `SUSPENDED`, `ERROR`, `CANCELLED`) will be sent to Cloud Logging.", +"If Severity selected is `ERROR`, then only the following Integration Execution States (`ERROR`, `CANCELLED`) will be sent to Cloud Logging.", +"If Severity selected is `WARNING`, then only the following Integration Execution States (`ERROR`, `CANCELLED`) will be sent to Cloud Logging." +], +"type": "string" +}, +"enableCloudLogging": { +"description": "Optional. Status of whether Cloud Logging is enabled or not for the integration version getting executed.", +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleCloudIntegrationsV1alphaCloudSchedulerConfig": { +"description": "Cloud Scheduler Trigger configuration", +"id": "GoogleCloudIntegrationsV1alphaCloudSchedulerConfig", +"properties": { +"cronTab": { +"description": "Required. The cron tab of cloud scheduler trigger.", +"type": "string" +}, +"errorMessage": { +"description": "Optional. When the job was deleted from Pantheon UI, error_message will be populated when Get/List integrations", +"type": "string" +}, +"location": { +"description": "Required. The location where associated cloud scheduler job will be created", +"type": "string" +}, +"serviceAccountEmail": { +"description": "Required. Service account used by Cloud Scheduler to trigger the integration at scheduled time", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudIntegrationsV1alphaConnectionSchemaMetadata": { +"description": "Metadata of runtime connection schema.", +"id": "GoogleCloudIntegrationsV1alphaConnectionSchemaMetadata", +"properties": { +"actions": { +"description": "List of actions.", +"items": { +"type": "string" +}, +"type": "array" +}, +"entities": { +"description": "List of entity names.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudIntegrationsV1alphaCoordinate": { +"description": "Configuration detail of coordinate, it used for UI", +"id": "GoogleCloudIntegrationsV1alphaCoordinate", +"properties": { +"x": { +"description": "Required. X axis of the coordinate", +"format": "int32", +"type": "integer" +}, +"y": { +"description": "Required. Y axis of the coordinate", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"GoogleCloudIntegrationsV1alphaCreateAppsScriptProjectRequest": { +"description": "Request for CreateAppsScriptProject rpc call.", +"id": "GoogleCloudIntegrationsV1alphaCreateAppsScriptProjectRequest", +"properties": { +"appsScriptProject": { +"description": "The name of the Apps Script project to be created.", +"type": "string" +}, +"authConfigId": { +"description": "The auth config id necessary to fetch the necessary credentials to create the project for external clients", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudIntegrationsV1alphaCreateAppsScriptProjectResponse": { +"description": "Response for CreateAppsScriptProject rpc call.", +"id": "GoogleCloudIntegrationsV1alphaCreateAppsScriptProjectResponse", +"properties": { +"projectId": { +"description": "The created AppsScriptProject ID.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudIntegrationsV1alphaCredential": { +"description": "Defines parameters for a single, canonical credential.", +"id": "GoogleCloudIntegrationsV1alphaCredential", +"properties": { +"authToken": { +"$ref": "GoogleCloudIntegrationsV1alphaAuthToken", +"description": "Auth token credential" +}, +"credentialType": { +"description": "Credential type associated with auth config.", +"enum": [ +"CREDENTIAL_TYPE_UNSPECIFIED", +"USERNAME_AND_PASSWORD", +"API_KEY", +"OAUTH2_AUTHORIZATION_CODE", +"OAUTH2_IMPLICIT", +"OAUTH2_CLIENT_CREDENTIALS", +"OAUTH2_RESOURCE_OWNER_CREDENTIALS", +"JWT", +"AUTH_TOKEN", +"SERVICE_ACCOUNT", +"CLIENT_CERTIFICATE_ONLY", +"OIDC_TOKEN" +], +"enumDescriptions": [ +"Unspecified credential type", +"Regular username/password pair.", +"API key.", +"OAuth 2.0 Authorization Code Grant Type.", +"OAuth 2.0 Implicit Grant Type.", +"OAuth 2.0 Client Credentials Grant Type.", +"OAuth 2.0 Resource Owner Credentials Grant Type.", +"JWT Token.", +"Auth Token, e.g. bearer token.", +"Service Account which can be used to generate token for authentication.", +"Client Certificate only.", +"Google OIDC ID Token" +], +"type": "string" +}, +"jwt": { +"$ref": "GoogleCloudIntegrationsV1alphaJwt", +"description": "JWT credential" +}, +"oauth2AuthorizationCode": { +"$ref": "GoogleCloudIntegrationsV1alphaOAuth2AuthorizationCode", +"description": "The api_key and oauth2_implicit are not covered in v1 and will be picked up once v1 is implemented. ApiKey api_key = 3; OAuth2 authorization code credential" +}, +"oauth2ClientCredentials": { +"$ref": "GoogleCloudIntegrationsV1alphaOAuth2ClientCredentials", +"description": "OAuth2Implicit oauth2_implicit = 5; OAuth2 client credentials" +}, +"oauth2ResourceOwnerCredentials": { +"$ref": "GoogleCloudIntegrationsV1alphaOAuth2ResourceOwnerCredentials", +"description": "OAuth2 resource owner credentials" +}, +"oidcToken": { +"$ref": "GoogleCloudIntegrationsV1alphaOidcToken", +"description": "Google OIDC ID Token" +}, +"serviceAccountCredentials": { +"$ref": "GoogleCloudIntegrationsV1alphaServiceAccountCredentials", +"description": "Service account credential" +}, +"usernameAndPassword": { +"$ref": "GoogleCloudIntegrationsV1alphaUsernameAndPassword", +"description": "Username and password credential" +} +}, +"type": "object" +}, +"GoogleCloudIntegrationsV1alphaDoubleParameterArray": { +"description": "This message only contains a field of double number array.", +"id": "GoogleCloudIntegrationsV1alphaDoubleParameterArray", +"properties": { +"doubleValues": { +"description": "Double number array.", +"items": { +"format": "double", +"type": "number" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudIntegrationsV1alphaDownloadIntegrationVersionResponse": { +"description": "Response for DownloadIntegrationVersion.", +"id": "GoogleCloudIntegrationsV1alphaDownloadIntegrationVersionResponse", +"properties": { +"content": { +"description": "String representation of the requested file.", +"type": "string" +}, +"files": { +"description": "List containing String represendation for multiple file with type.", +"items": { +"$ref": "GoogleCloudIntegrationsV1alphaSerializedFile" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudIntegrationsV1alphaEnumerateConnectorPlatformRegionsResponse": { +"description": "Response containing all provisioned regions for Connector Platform.", +"id": "GoogleCloudIntegrationsV1alphaEnumerateConnectorPlatformRegionsResponse", +"properties": { +"regions": { +"description": "All regions where Connector Platform is provisioned.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudIntegrationsV1alphaErrorCatcherConfig": { +"description": "Configuration detail of a error catch task", +"id": "GoogleCloudIntegrationsV1alphaErrorCatcherConfig", +"properties": { +"description": { +"description": "Optional. User-provided description intended to give more business context about the error catcher config.", +"type": "string" +}, +"errorCatcherId": { +"description": "Required. An error catcher id is string representation for the error catcher config. Within a workflow, error_catcher_id uniquely identifies an error catcher config among all error catcher configs for the workflow", +"type": "string" +}, +"errorCatcherNumber": { +"description": "Required. A number to uniquely identify each error catcher config within the workflow on UI.", +"type": "string" +}, +"label": { +"description": "Optional. The user created label for a particular error catcher. Optional.", +"type": "string" +}, +"position": { +"$ref": "GoogleCloudIntegrationsV1alphaCoordinate", +"description": "Optional. Informs the front-end application where to draw this error catcher config on the UI." +}, +"startErrorTasks": { +"description": "Required. The set of start tasks that are to be executed for the error catch flow", +"items": { +"$ref": "GoogleCloudIntegrationsV1alphaNextTask" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudIntegrationsV1alphaEventParameter": { +"description": "This message is used for processing and persisting (when applicable) key value pair parameters for each event in the event bus. Next available id: 4", +"id": "GoogleCloudIntegrationsV1alphaEventParameter", +"properties": { +"key": { +"description": "Key is used to retrieve the corresponding parameter value. This should be unique for a given fired event. These parameters must be predefined in the integration definition.", +"type": "string" +}, +"masked": { +"description": "True if this parameter should be masked in the logs", +"type": "boolean" +}, +"value": { +"$ref": "GoogleCloudIntegrationsV1alphaValueType", +"description": "Values for the defined keys. Each value can either be string, int, double or any proto message." +} +}, +"type": "object" +}, +"GoogleCloudIntegrationsV1alphaExecuteEventResponse": { +"description": "The response for executing an integration.", +"id": "GoogleCloudIntegrationsV1alphaExecuteEventResponse", +"properties": { +"executionId": { +"description": "The id of the execution corresponding to this run of integration.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudIntegrationsV1alphaExecuteIntegrationsRequest": { +"description": "The request for executing an integration.", +"id": "GoogleCloudIntegrationsV1alphaExecuteIntegrationsRequest", +"properties": { +"doNotPropagateError": { +"description": "Optional. Flag to determine how to should propagate errors. If this flag is set to be true, it will not throw an exception. Instead, it will return a {@link ExecuteIntegrationsResponse} with an execution id and error messages as PostWithTriggerIdExecutionException in {@link EventParameters}. The flag is set to be false by default.", +"type": "boolean" +}, +"executionId": { +"deprecated": true, +"description": "Optional. The id of the ON_HOLD execution to be resumed.", +"type": "string" +}, +"inputParameters": { +"additionalProperties": { +"$ref": "GoogleCloudIntegrationsV1alphaValueType" +}, +"description": "Optional. Input parameters used by integration execution.", +"type": "object" +}, +"parameterEntries": { +"deprecated": true, +"description": "Optional. Parameters are a part of Event and can be used to communicate between different tasks that are part of the same integration execution.", +"items": { +"$ref": "EnterpriseCrmFrontendsEventbusProtoParameterEntry" +}, +"type": "array" +}, +"parameters": { +"$ref": "EnterpriseCrmFrontendsEventbusProtoEventParameters", +"deprecated": true, +"description": "Optional. Passed in as parameters to each integration execution. Redacted" +}, +"requestId": { +"description": "Optional. This is used to de-dup incoming request: if the duplicate request was detected, the response from the previous execution is returned.", +"type": "string" +}, +"triggerId": { +"description": "Required. Matched against all {@link TriggerConfig}s across all integrations. i.e. TriggerConfig.trigger_id.equals(trigger_id). The trigger_id is in the format of `api_trigger/TRIGGER_NAME`.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudIntegrationsV1alphaExecuteIntegrationsResponse": { +"description": "The response for executing an integration.", +"id": "GoogleCloudIntegrationsV1alphaExecuteIntegrationsResponse", +"properties": { +"eventParameters": { +"$ref": "EnterpriseCrmFrontendsEventbusProtoEventParameters", +"deprecated": true, +"description": "Details for the integration that were executed." +}, +"executionFailed": { +"deprecated": true, +"description": "Is true if any execution in the integration failed. False otherwise.", +"type": "boolean" +}, +"executionId": { +"description": "The id of the execution corresponding to this run of integration.", +"type": "string" +}, +"outputParameters": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"description": "OUTPUT parameters in format of Map. Where Key is the name of the parameter. Note: Name of the system generated parameters are wrapped by backtick(`) to distinguish them from the user defined parameters.", +"type": "object" +}, +"parameterEntries": { +"deprecated": true, +"description": "Parameters are a part of Event and can be used to communicate between different tasks that are part of the same integration execution.", +"items": { +"$ref": "EnterpriseCrmFrontendsEventbusProtoParameterEntry" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudIntegrationsV1alphaExecution": { +"description": "The Execution resource contains detailed information of an individual integration execution.", +"id": "GoogleCloudIntegrationsV1alphaExecution", +"properties": { +"cloudLoggingDetails": { +"$ref": "GoogleCloudIntegrationsV1alphaCloudLoggingDetails", +"description": "Cloud Logging details for the integration version" +}, +"createTime": { +"description": "Output only. Created time of the execution.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"directSubExecutions": { +"description": "Direct sub executions of the following Execution.", +"items": { +"$ref": "GoogleCloudIntegrationsV1alphaExecution" +}, +"type": "array" +}, +"eventExecutionDetails": { +"$ref": "EnterpriseCrmEventbusProtoEventExecutionDetails", +"deprecated": true, +"description": "The execution info about this event." +}, +"executionDetails": { +"$ref": "GoogleCloudIntegrationsV1alphaExecutionDetails", +"description": "Detailed info of this execution." +}, +"executionMethod": { +"description": "The ways user posts this event.", +"enum": [ +"EXECUTION_METHOD_UNSPECIFIED", +"POST", +"POST_TO_QUEUE", +"SCHEDULE" +], +"enumDescriptions": [ +"Default value.", +"Sync post.", +"Async post.", +"Async post with schedule time." +], +"type": "string" +}, +"integrationVersionState": { +"description": "Output only. State of the integration version", +"enum": [ +"INTEGRATION_STATE_UNSPECIFIED", +"DRAFT", +"ACTIVE", +"ARCHIVED", +"SNAPSHOT" +], +"enumDescriptions": [ +"Default.", +"Draft.", +"Active.", +"Archived.", +"Snapshot." +], +"readOnly": true, +"type": "string" +}, +"name": { +"description": "Auto-generated primary key.", +"type": "string" +}, +"requestParameters": { +"additionalProperties": { +"$ref": "GoogleCloudIntegrationsV1alphaValueType" +}, +"description": "Event parameters come in as part of the request.", +"type": "object" +}, +"requestParams": { +"deprecated": true, +"description": "Event parameters come in as part of the request.", +"items": { +"$ref": "EnterpriseCrmFrontendsEventbusProtoParameterEntry" +}, +"type": "array" +}, +"responseParameters": { +"additionalProperties": { +"$ref": "GoogleCloudIntegrationsV1alphaValueType" +}, +"description": "Event parameters returned as part of the response.", +"type": "object" +}, +"responseParams": { +"deprecated": true, +"description": "Event parameters come out as part of the response.", +"items": { +"$ref": "EnterpriseCrmFrontendsEventbusProtoParameterEntry" +}, +"type": "array" +}, +"snapshotNumber": { +"description": "Output only. An increasing sequence that is set when a new snapshot is created", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"triggerId": { +"description": "The trigger id of the integration trigger config. If both trigger_id and client_id is present, the integration is executed from the start tasks provided by the matching trigger config otherwise it is executed from the default start tasks.", +"type": "string" +}, +"updateTime": { +"description": "Output only. Last modified time of the execution.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudIntegrationsV1alphaExecutionDetails": { +"description": "Contains the details of the execution info: this includes the tasks execution details plus the event execution statistics.", +"id": "GoogleCloudIntegrationsV1alphaExecutionDetails", +"properties": { +"attemptStats": { +"description": "List of Start and end time of the execution attempts.", +"items": { +"$ref": "GoogleCloudIntegrationsV1alphaAttemptStats" +}, +"type": "array" +}, +"eventExecutionSnapshotsSize": { +"description": "Total size of all event_execution_snapshots for an execution", +"format": "int64", +"type": "string" +}, +"executionSnapshots": { +"description": "List of snapshots taken during the execution.", +"items": { +"$ref": "GoogleCloudIntegrationsV1alphaExecutionSnapshot" +}, +"type": "array" +}, +"state": { +"description": "Status of the execution.", +"enum": [ +"STATE_UNSPECIFIED", +"PENDING", +"PROCESSING", +"SUCCEEDED", +"FAILED", +"CANCELLED", +"RETRY_ON_HOLD", +"SUSPENDED" +], +"enumDescriptions": [ +"Default.", +"Execution is scheduled and awaiting to be triggered.", +"Execution is processing.", +"Execution successfully finished. There's no more change after this state.", +"Execution failed. There's no more change after this state.", +"Execution canceled by user. There's no more change after this state.", +"Execution failed and waiting for retry.", +"Execution suspended and waiting for manual intervention." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudIntegrationsV1alphaExecutionSnapshot": { +"description": "Contains the snapshot of the execution for a given checkpoint.", +"id": "GoogleCloudIntegrationsV1alphaExecutionSnapshot", +"properties": { +"checkpointTaskNumber": { +"description": "Indicates \"after which checkpoint task's execution\" this snapshot is taken.", +"type": "string" +}, +"executionSnapshotMetadata": { +"$ref": "GoogleCloudIntegrationsV1alphaExecutionSnapshotExecutionSnapshotMetadata", +"description": "Metadata of the execution snapshot." +}, +"params": { +"additionalProperties": { +"$ref": "GoogleCloudIntegrationsV1alphaValueType" +}, +"description": "Parameters used during the execution.", +"type": "object" +}, +"taskExecutionDetails": { +"description": "All of the task execution details at the given point of time.", +"items": { +"$ref": "GoogleCloudIntegrationsV1alphaTaskExecutionDetails" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudIntegrationsV1alphaExecutionSnapshotExecutionSnapshotMetadata": { +"description": "Metadata of the execution snapshot.", +"id": "GoogleCloudIntegrationsV1alphaExecutionSnapshotExecutionSnapshotMetadata", +"properties": { +"ancestorIterationNumbers": { +"description": "Ancestor iteration number for the task(it will only be non-empty if the task is under 'private workflow')", +"items": { +"type": "string" +}, +"type": "array" +}, +"ancestorTaskNumbers": { +"description": "Ancestor task number for the task(it will only be non-empty if the task is under 'private workflow')", +"items": { +"type": "string" +}, +"type": "array" +}, +"executionAttempt": { +"description": "the execution attempt number this snapshot belongs to.", +"format": "int32", +"type": "integer" +}, +"integrationName": { +"description": "The direct integration which the event execution snapshots belongs to", +"type": "string" +}, +"task": { +"description": "the task name associated with this snapshot.", +"type": "string" +}, +"taskAttempt": { +"description": "the task attempt number this snapshot belongs to.", +"format": "int32", +"type": "integer" +}, +"taskLabel": { +"description": "the task label associated with this snapshot. Could be empty.", +"type": "string" +}, +"taskNumber": { +"description": "The task number associated with this snapshot.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudIntegrationsV1alphaFailurePolicy": { +"description": "Policy that defines the task retry logic and failure type. If no FailurePolicy is defined for a task, all its dependent tasks will not be executed (i.e, a `retry_strategy` of NONE will be applied).", +"id": "GoogleCloudIntegrationsV1alphaFailurePolicy", +"properties": { +"intervalTime": { +"description": "Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_INTEGRATION_WITH_BACKOFF. Defines the initial interval in seconds for backoff.", +"format": "google-datetime", +"type": "string" +}, +"maxRetries": { +"description": "Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_INTEGRATION_WITH_BACKOFF. Defines the number of times the task will be retried if failed.", +"format": "int32", +"type": "integer" +}, +"retryStrategy": { +"description": "Defines what happens to the task upon failure.", +"enum": [ +"RETRY_STRATEGY_UNSPECIFIED", +"IGNORE", +"NONE", +"FATAL", +"FIXED_INTERVAL", +"LINEAR_BACKOFF", +"EXPONENTIAL_BACKOFF", +"RESTART_INTEGRATION_WITH_BACKOFF" +], +"enumDescriptions": [ +"UNSPECIFIED.", +"Ignores the failure of this task. The rest of the integration will be executed Assuming this task succeeded.", +"Causes a permanent failure of the task. However, if the last task(s) of event was successfully completed despite the failure of this task, it has no impact on the integration.", +"Causes a permanent failure of the event. It is different from NONE because this will mark the event as FAILED by shutting down the event execution.", +"The task will be retried from the failed task onwards after a fixed delay. A max-retry count is required to be specified with this strategy. A jitter is added to each exponential interval so that concurrently failing tasks of the same type do not end up retrying after the exact same exponential interval. max_retries and interval_in_seconds must be specified.", +"The task will be retried from the failed task onwards after a fixed delay that linearly increases with each retry attempt. A jitter is added to each exponential interval so that concurrently failing tasks of the same type do not end up retrying after the exact same exponential interval. A max-retry count is required to be specified with this strategy. max_retries and interval_in_seconds must be specified.", +"The task will be retried after an exponentially increasing period of time with each failure. A jitter is added to each exponential interval so that concurrently failing tasks of the same type do not end up retrying after the exact same exponential interval. A max-retry count is required to be specified with this strategy. `max_retries` and `interval_in_seconds` must be specified.", +"The entire integration will be restarted with the initial parameters that were set when the event was fired. A max-retry count is required to be specified with this strategy. `max_retries` and `interval_in_seconds` must be specified." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudIntegrationsV1alphaGenerateTokenResponse": { +"description": "Returns success or error message", +"id": "GoogleCloudIntegrationsV1alphaGenerateTokenResponse", +"properties": { +"message": { +"description": "The message that notifies the user if the request succeeded or not.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudIntegrationsV1alphaIntParameterArray": { +"description": "This message only contains a field of integer array.", +"id": "GoogleCloudIntegrationsV1alphaIntParameterArray", +"properties": { +"intValues": { +"description": "Integer array.", +"items": { +"format": "int64", +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudIntegrationsV1alphaIntegration": { +"description": "The integration definition.", +"id": "GoogleCloudIntegrationsV1alphaIntegration", +"properties": { +"active": { +"description": "Required. If any integration version is published.", +"type": "boolean" +}, +"creatorEmail": { +"description": "Output only. The creator's email address. Generated based on the End User Credentials/LOAS role of the user making the call.", +"readOnly": true, +"type": "string" +}, +"description": { +"description": "Optional.", +"type": "string" +}, +"lastModifierEmail": { +"description": "Required. The last modifier of this integration", +"type": "string" +}, +"name": { +"description": "Required. The resource name of the integration.", +"type": "string" +}, +"updateTime": { +"description": "Output only. Auto-generated.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudIntegrationsV1alphaIntegrationAlertConfig": { +"description": "Message to be used to configure custom alerting in the {@code EventConfig} protos for an event.", +"id": "GoogleCloudIntegrationsV1alphaIntegrationAlertConfig", +"properties": { +"aggregationPeriod": { +"description": "The period over which the metric value should be aggregated and evaluated. Format is , where integer should be a positive integer and unit should be one of (s,m,h,d,w) meaning (second, minute, hour, day, week). For an EXPECTED_MIN threshold, this aggregation_period must be lesser than 24 hours.", +"type": "string" +}, +"alertThreshold": { +"description": "For how many contiguous aggregation periods should the expected min or max be violated for the alert to be fired.", +"format": "int32", +"type": "integer" +}, +"disableAlert": { +"description": "Set to false by default. When set to true, the metrics are not aggregated or pushed to Monarch for this integration alert.", +"type": "boolean" +}, +"displayName": { +"description": "Name of the alert. This will be displayed in the alert subject. If set, this name should be unique within the scope of the integration.", +"type": "string" +}, +"durationThreshold": { +"description": "Should be specified only for *AVERAGE_DURATION and *PERCENTILE_DURATION metrics. This member should be used to specify what duration value the metrics should exceed for the alert to trigger.", +"format": "google-duration", +"type": "string" +}, +"metricType": { +"description": "The type of metric.", +"enum": [ +"METRIC_TYPE_UNSPECIFIED", +"EVENT_ERROR_RATE", +"EVENT_WARNING_RATE", +"TASK_ERROR_RATE", +"TASK_WARNING_RATE", +"TASK_RATE", +"EVENT_RATE", +"EVENT_AVERAGE_DURATION", +"EVENT_PERCENTILE_DURATION", +"TASK_AVERAGE_DURATION", +"TASK_PERCENTILE_DURATION" +], +"enumDescriptions": [ +"The default value. Metric type should always be set to one of the other non-default values, otherwise it will result in an INVALID_ARGUMENT error.", +"Specifies alerting on the rate of errors for the enclosing integration.", +"Specifies alerting on the rate of warnings for the enclosing integration. Warnings use the same enum values as errors.", +"Specifies alerting on the rate of errors for any task in the enclosing integration.", +"Specifies alerting on the rate of warnings for any task in the enclosing integration.", +"Specifies alerting on the rate of executions over all tasks in the enclosing integration.", +"Specifies alerting on the number of events executed in the given aggregation_period.", +"Specifies alerting on the average duration of executions for this integration.", +"Specifies alerting on the duration value of a particular percentile of integration executions. E.g. If 10% or more of the integration executions have durations above 5 seconds, alert.", +"Specifies alerting on the average duration of any task in the enclosing integration,", +"Specifies alerting on the duration value of a particular percentile of any task executions within the enclosing integration. E.g. If 10% or more of the task executions in the integration have durations above 5 seconds, alert." +], +"type": "string" +}, +"onlyFinalAttempt": { +"description": "For either events or tasks, depending on the type of alert, count only final attempts, not retries.", +"type": "boolean" +}, +"thresholdType": { +"description": "The threshold type, whether lower(expected_min) or upper(expected_max), for which this alert is being configured. If value falls below expected_min or exceeds expected_max, an alert will be fired.", +"enum": [ +"THRESHOLD_TYPE_UNSPECIFIED", +"EXPECTED_MIN", +"EXPECTED_MAX" +], +"enumDescriptions": [ +"Default.", +"Note that this field will only trigger alerts if the integration specifying it runs at least once in 24 hours (which is our in-memory retention period for monarch streams). Also note that `aggregation_period` for this alert configuration must be less than 24 hours. Min value threshold.", +"Max value threshold." +], +"type": "string" +}, +"thresholdValue": { +"$ref": "GoogleCloudIntegrationsV1alphaIntegrationAlertConfigThresholdValue", +"description": "The metric value, above or below which the alert should be triggered." +} +}, +"type": "object" +}, +"GoogleCloudIntegrationsV1alphaIntegrationAlertConfigThresholdValue": { +"description": "The threshold value of the metric, above or below which the alert should be triggered. See EventAlertConfig or TaskAlertConfig for the different alert metric types in each case. For the *RATE metrics, one or both of these fields may be set. Zero is the default value and can be left at that. For *PERCENTILE_DURATION metrics, one or both of these fields may be set, and also, the duration threshold value should be specified in the threshold_duration_ms member below. For *AVERAGE_DURATION metrics, these fields should not be set at all. A different member, threshold_duration_ms, must be set in the EventAlertConfig or the TaskAlertConfig.", +"id": "GoogleCloudIntegrationsV1alphaIntegrationAlertConfigThresholdValue", +"properties": { +"absolute": { +"description": "Absolute value threshold.", +"format": "int64", +"type": "string" +}, +"percentage": { +"description": "Percentage threshold.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"GoogleCloudIntegrationsV1alphaIntegrationConfigParameter": { +"description": "Integration Config Parameter is defined in the integration config and are used to provide external configuration for integration. It provide information about data types of the expected parameters and provide any default values or value. They can also be used to add custom attributes.", +"id": "GoogleCloudIntegrationsV1alphaIntegrationConfigParameter", +"properties": { +"parameter": { +"$ref": "GoogleCloudIntegrationsV1alphaIntegrationParameter", +"description": "Optional. Integration Parameter to provide the default value, data type and attributes required for the Integration config variables." +}, +"value": { +"$ref": "GoogleCloudIntegrationsV1alphaValueType", +"description": "Values for the defined keys. Each value can either be string, int, double or any proto message or a serialized object." +} +}, +"type": "object" +}, +"GoogleCloudIntegrationsV1alphaIntegrationParameter": { +"description": "Integration Parameter is defined in the integration config and are used to provide information about data types of the expected parameters and provide any default values if needed. They can also be used to add custom attributes. These are static in nature and should not be used for dynamic event definition.", +"id": "GoogleCloudIntegrationsV1alphaIntegrationParameter", +"properties": { +"containsLargeData": { +"description": "Indicates whether this variable contains large data and need to be uploaded to Cloud Storage.", +"type": "boolean" +}, +"dataType": { +"description": "Type of the parameter.", +"enum": [ +"INTEGRATION_PARAMETER_DATA_TYPE_UNSPECIFIED", +"STRING_VALUE", +"INT_VALUE", +"DOUBLE_VALUE", +"BOOLEAN_VALUE", +"STRING_ARRAY", +"INT_ARRAY", +"DOUBLE_ARRAY", +"BOOLEAN_ARRAY", +"JSON_VALUE", +"PROTO_VALUE", +"PROTO_ARRAY" +], +"enumDescriptions": [ +"Unspecified.", +"String.", +"Integer.", +"Double Number.", +"Boolean.", +"String Array.", +"Integer Array.", +"Double Number Array.", +"Boolean Array.", +"Json.", +"Proto Value (Internal use only).", +"Proto Array (Internal use only)." +], +"type": "string" +}, +"defaultValue": { +"$ref": "GoogleCloudIntegrationsV1alphaValueType", +"description": "Default values for the defined keys. Each value can either be string, int, double or any proto message or a serialized object." +}, +"displayName": { +"description": "The name (without prefix) to be displayed in the UI for this parameter. E.g. if the key is \"foo.bar.myName\", then the name would be \"myName\".", +"type": "string" +}, +"inputOutputType": { +"description": "Specifies the input/output type for the parameter.", +"enum": [ +"IN_OUT_TYPE_UNSPECIFIED", +"IN", +"OUT", +"IN_OUT" +], +"enumDescriptions": [ +"Default.", +"Input parameters for the integration. EventBus validates that these parameters exist in the integrations before execution.", +"Output Parameters for the integration. EventBus will only return the integration parameters tagged with OUT in the response back.", +"Input and Output Parameters. These can be used as both input and output. EventBus will validate for the existence of these parameters before execution and will also return this parameter back in the response." +], +"type": "string" +}, +"isTransient": { +"description": "Whether this parameter is a transient parameter.", +"type": "boolean" +}, +"jsonSchema": { +"description": "This schema will be used to validate runtime JSON-typed values of this parameter.", +"type": "string" +}, +"key": { +"description": "Key is used to retrieve the corresponding parameter value. This should be unique for a given fired event. These parameters must be predefined in the integration definition.", +"type": "string" +}, +"masked": { +"description": "True if this parameter should be masked in the logs", +"type": "boolean" +}, +"producer": { +"description": "The identifier of the node (TaskConfig/TriggerConfig) this parameter was produced by, if it is a transient param or a copy of an input param.", +"type": "string" +}, +"searchable": { +"description": "Searchable in the execution log or not.", +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleCloudIntegrationsV1alphaIntegrationTemplateVersion": { +"description": "IntegrationTemplateVersion definition. An IntegrationTemplateVersion provides configurations required to construct an IntegrationVersion. It cannot be executed directly like an Integration. Users can create IntegrationTemplateVersions using Integrations. These Templates can be shared by users across GCP projects. Next available: 17", +"id": "GoogleCloudIntegrationsV1alphaIntegrationTemplateVersion", +"properties": { +"createTime": { +"description": "Output only. Auto-generated.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"databasePersistencePolicy": { +"description": "Optional. Flag to disable database persistence for execution data, including event execution info, execution export info, execution metadata index and execution param index.", +"enum": [ +"DATABASE_PERSISTENCE_POLICY_UNSPECIFIED", +"DATABASE_PERSISTENCE_DISABLED", +"DATABASE_PERSISTENCE_ASYNC" +], +"enumDescriptions": [ +"Enables persistence for all execution data.", +"Disables persistence for all execution data.", +"Asynchronously persist all execution data." +], +"type": "string" +}, +"description": { +"description": "Optional. The templateversion description. Permitted format is alphanumeric with underscores and no spaces.", +"type": "string" +}, +"enableVariableMasking": { +"description": "Optional. True if variable masking feature should be turned on for generated workflows", +"type": "boolean" +}, +"errorCatcherConfigs": { +"description": "Optional. Error Catch Task configuration for the IntegrationTemplateVersion. It's optional.", +"items": { +"$ref": "GoogleCloudIntegrationsV1alphaErrorCatcherConfig" +}, +"type": "array" +}, +"lastModifierEmail": { +"description": "Optional. The last modifier's email address. Generated based on the End User Credentials/LOAS role of the user making the call.", +"type": "string" +}, +"name": { +"description": "Output only. Auto-generated primary key. Format: projects/{project}/locations/{location}/products/{product}/integrationtemplates/{integrationtemplate}/versions/{version}", +"readOnly": true, +"type": "string" +}, +"parentIntegrationVersionId": { +"description": "Optional. ID of the IntegrationVersion that was used to create this IntegrationTemplateVersion", +"type": "string" +}, +"snapshotNumber": { +"description": "Output only. An increasing sequence that is set when a new snapshot is created.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"status": { +"description": "Optional. Generated by eventbus. User should not set it as an input.", +"enum": [ +"UNKNOWN", +"DRAFT", +"ACTIVE", +"ARCHIVED", +"SNAPSHOT" +], +"enumDescriptions": [ +"", +"", +"", +"", +"" +], +"type": "string" +}, +"taskConfigs": { +"description": "Optional. Task configuration for the IntegrationTemplateVersion. It's optional, but the IntegrationTemplateVersion doesn't do anything without task_configs.", +"items": { +"$ref": "EnterpriseCrmFrontendsEventbusProtoTaskConfig" +}, +"type": "array" +}, +"teardown": { +"$ref": "EnterpriseCrmEventbusProtoTeardown", +"description": "Optional. Contains a graph of tasks that will be executed before putting the event in a terminal state (SUCCEEDED/FAILED/FATAL), regardless of success or failure, similar to \"finally\" in code." +}, +"templateParameters": { +"$ref": "EnterpriseCrmFrontendsEventbusProtoWorkflowParameters", +"description": "Optional. Parameters that are expected to be passed to the IntegrationTemplateVersion when an event is triggered. This consists of all the parameters that are expected in the IntegrationTemplateVersion execution. This gives the user the ability to provide default values, add information like PII and also provide data types of each parameter." +}, +"triggerConfigs": { +"description": "Optional. Trigger configurations.", +"items": { +"$ref": "EnterpriseCrmFrontendsEventbusProtoTriggerConfig" +}, +"type": "array" +}, +"updateTime": { +"description": "Output only. Auto-generated.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"userLabel": { +"description": "Optional. A user-defined label that annotates an integration version. Typically, this is only set when the integration version is created.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudIntegrationsV1alphaIntegrationVersion": { +"description": "The integration version definition.", +"id": "GoogleCloudIntegrationsV1alphaIntegrationVersion", +"properties": { +"cloudLoggingDetails": { +"$ref": "GoogleCloudIntegrationsV1alphaCloudLoggingDetails", +"description": "Optional. Cloud Logging details for the integration version" +}, +"createTime": { +"description": "Output only. Auto-generated.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"createdFromTemplate": { +"description": "Optional. Optional. The resource name of the template from which the integration is created.", +"type": "string" +}, +"databasePersistencePolicy": { +"description": "Optional. Flag to disable database persistence for execution data, including event execution info, execution export info, execution metadata index and execution param index.", +"enum": [ +"DATABASE_PERSISTENCE_POLICY_UNSPECIFIED", +"DATABASE_PERSISTENCE_DISABLED", +"DATABASE_PERSISTENCE_ASYNC" +], +"enumDescriptions": [ +"Enables persistence for all execution data.", +"Disables persistence for all execution data.", +"Asynchronously persist all execution data." +], +"type": "string" +}, +"description": { +"description": "Optional. The integration description.", +"type": "string" +}, +"enableVariableMasking": { +"description": "Optional. True if variable masking feature should be turned on for this version", +"type": "boolean" +}, +"errorCatcherConfigs": { +"description": "Optional. Error Catch Task configuration for the integration. It's optional.", +"items": { +"$ref": "GoogleCloudIntegrationsV1alphaErrorCatcherConfig" +}, +"type": "array" +}, +"integrationConfigParameters": { +"description": "Optional. Config Parameters that are expected to be passed to the integration when an integration is published. This consists of all the parameters that are expected to provide configuration in the integration execution. This gives the user the ability to provide default values, value, add information like connection url, project based configuration value and also provide data types of each parameter.", +"items": { +"$ref": "GoogleCloudIntegrationsV1alphaIntegrationConfigParameter" +}, +"type": "array" +}, +"integrationParameters": { +"description": "Optional. Parameters that are expected to be passed to the integration when an event is triggered. This consists of all the parameters that are expected in the integration execution. This gives the user the ability to provide default values, add information like PII and also provide data types of each parameter.", +"items": { +"$ref": "GoogleCloudIntegrationsV1alphaIntegrationParameter" +}, +"type": "array" +}, +"integrationParametersInternal": { +"$ref": "EnterpriseCrmFrontendsEventbusProtoWorkflowParameters", +"deprecated": true, +"description": "Optional. Parameters that are expected to be passed to the integration when an event is triggered. This consists of all the parameters that are expected in the integration execution. This gives the user the ability to provide default values, add information like PII and also provide data types of each parameter." +}, +"lastModifierEmail": { +"description": "Optional. The last modifier's email address. Generated based on the End User Credentials/LOAS role of the user making the call.", +"type": "string" +}, +"lockHolder": { +"description": "Optional. The edit lock holder's email address. Generated based on the End User Credentials/LOAS role of the user making the call.", +"type": "string" +}, +"name": { +"description": "Output only. Auto-generated primary key.", +"readOnly": true, +"type": "string" +}, +"origin": { +"deprecated": true, +"description": "Optional. The origin that indicates where this integration is coming from.", +"enum": [ +"UNSPECIFIED", +"UI", +"PIPER_V2", +"PIPER_V3", +"APPLICATION_IP_PROVISIONING", +"TEST_CASE" +], +"enumDeprecated": [ +false, +false, +true, +false, +false, +false +], +"enumDescriptions": [ +"", +"Workflow is being created via event bus UI.", +"User checked in this workflow in Piper as v2 textproto format and we synced it into spanner.", +"User checked in this workflow in piper as v3 textproto format and we synced it into spanner.", +"Workflow is being created via Standalone IP Provisioning", +"Workflow is being created via Test Case." +], +"type": "string" +}, +"parentTemplateId": { +"description": "Optional. The id of the template which was used to create this integration_version.", +"type": "string" +}, +"runAsServiceAccount": { +"description": "Optional. The run-as service account email, if set and auth config is not configured, that will be used to generate auth token to be used in Connector task, Rest caller task and Cloud function task.", +"type": "string" +}, +"snapshotNumber": { +"description": "Optional. An increasing sequence that is set when a new snapshot is created. The last created snapshot can be identified by [workflow_name, org_id latest(snapshot_number)]. However, last created snapshot need not be same as the HEAD. So users should always use \"HEAD\" tag to identify the head.", +"format": "int64", +"type": "string" +}, +"state": { +"description": "Output only. User should not set it as an input.", +"enum": [ +"INTEGRATION_STATE_UNSPECIFIED", +"DRAFT", +"ACTIVE", +"ARCHIVED", +"SNAPSHOT" +], +"enumDescriptions": [ +"Default.", +"Draft.", +"Active.", +"Archived.", +"Snapshot." +], +"readOnly": true, +"type": "string" +}, +"status": { +"deprecated": true, +"description": "Output only. Generated by eventbus. User should not set it as an input.", +"enum": [ +"UNKNOWN", +"DRAFT", +"ACTIVE", +"ARCHIVED", +"SNAPSHOT" +], +"enumDescriptions": [ +"", +"", +"", +"", +"" +], +"readOnly": true, +"type": "string" +}, +"taskConfigs": { +"description": "Optional. Task configuration for the integration. It's optional, but the integration doesn't do anything without task_configs.", +"items": { +"$ref": "GoogleCloudIntegrationsV1alphaTaskConfig" +}, +"type": "array" +}, +"taskConfigsInternal": { +"deprecated": true, +"description": "Optional. Task configuration for the integration. It's optional, but the integration doesn't do anything without task_configs.", +"items": { +"$ref": "EnterpriseCrmFrontendsEventbusProtoTaskConfig" +}, +"type": "array" +}, +"teardown": { +"$ref": "EnterpriseCrmEventbusProtoTeardown", +"deprecated": true, +"description": "Optional. Contains a graph of tasks that will be executed before putting the event in a terminal state (SUCCEEDED/FAILED/FATAL), regardless of success or failure, similar to \"finally\" in code." +}, +"triggerConfigs": { +"description": "Optional. Trigger configurations.", +"items": { +"$ref": "GoogleCloudIntegrationsV1alphaTriggerConfig" +}, +"type": "array" +}, +"triggerConfigsInternal": { +"deprecated": true, +"description": "Optional. Trigger configurations.", +"items": { +"$ref": "EnterpriseCrmFrontendsEventbusProtoTriggerConfig" +}, +"type": "array" +}, +"updateTime": { +"description": "Output only. Auto-generated.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"userLabel": { +"description": "Optional. A user-defined label that annotates an integration version. Typically, this is only set when the integration version is created.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudIntegrationsV1alphaJwt": { +"description": "Represents JSON web token(JWT), which is a compact, URL-safe means of representing claims to be transferred between two parties, enabling the claims to be digitally signed or integrity protected.", +"id": "GoogleCloudIntegrationsV1alphaJwt", +"properties": { +"jwt": { +"description": "The token calculated by the header, payload and signature.", +"type": "string" +}, +"jwtHeader": { +"description": "Identifies which algorithm is used to generate the signature.", +"type": "string" +}, +"jwtPayload": { +"description": "Contains a set of claims. The JWT specification defines seven Registered Claim Names which are the standard fields commonly included in tokens. Custom claims are usually also included, depending on the purpose of the token.", +"type": "string" +}, +"secret": { +"description": "User's pre-shared secret to sign the token.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudIntegrationsV1alphaLiftSuspensionRequest": { +"description": "Request for lift Suspension", +"id": "GoogleCloudIntegrationsV1alphaLiftSuspensionRequest", +"properties": { +"suspensionResult": { +"description": "User passed in suspension result and will be used to control workflow execution branching behavior by setting up corresponnding edge condition with suspension result. For example, if you want to lift the suspension, you can pass \"Approved\", or if you want to reject the suspension and terminate workfloe execution, you can pass \"Rejected\" and terminate the workflow execution with configuring the edge condition.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudIntegrationsV1alphaLiftSuspensionResponse": { +"description": "Response of lift Suspense", +"id": "GoogleCloudIntegrationsV1alphaLiftSuspensionResponse", +"properties": { +"eventExecutionInfoId": { +"description": "Execution Id that will be returned", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudIntegrationsV1alphaLinkAppsScriptProjectRequest": { +"description": "Request for LinkAppsScriptProject rpc call.", +"id": "GoogleCloudIntegrationsV1alphaLinkAppsScriptProjectRequest", +"properties": { +"scriptId": { +"description": "The id of the Apps Script project to be linked.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudIntegrationsV1alphaLinkAppsScriptProjectResponse": { +"description": "Response for LinkAppsScriptProject rpc call.", +"id": "GoogleCloudIntegrationsV1alphaLinkAppsScriptProjectResponse", +"properties": { +"scriptId": { +"description": "The id of the linked Apps Script project.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudIntegrationsV1alphaListAuthConfigsResponse": { +"description": "Response to list AuthConfigs.", +"id": "GoogleCloudIntegrationsV1alphaListAuthConfigsResponse", +"properties": { +"authConfigs": { +"description": "The list of AuthConfigs retrieved.", +"items": { +"$ref": "GoogleCloudIntegrationsV1alphaAuthConfig" +}, +"type": "array" +}, +"nextPageToken": { +"description": "The token used to retrieve the next page of results.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudIntegrationsV1alphaListCertificatesResponse": { +"description": "Response to list Certificates.", +"id": "GoogleCloudIntegrationsV1alphaListCertificatesResponse", +"properties": { +"certificates": { +"description": "The list of Certificates retrieved.", +"items": { +"$ref": "GoogleCloudIntegrationsV1alphaCertificate" +}, +"type": "array" +}, +"nextPageToken": { +"description": "The token used to retrieve the next page of results.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudIntegrationsV1alphaListConnectionsResponse": { +"description": "Response containing Connections listed by region.", +"id": "GoogleCloudIntegrationsV1alphaListConnectionsResponse", +"properties": { +"connections": { +"description": "Connections.", +"items": { +"$ref": "GoogleCloudConnectorsV1Connection" +}, +"type": "array" +}, +"nextPageToken": { +"description": "Next page token.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudIntegrationsV1alphaListExecutionsResponse": { +"description": "Response for listing the integration execution data.", +"id": "GoogleCloudIntegrationsV1alphaListExecutionsResponse", +"properties": { +"executionInfos": { +"deprecated": true, +"description": "Required. The detailed information of requested executions.", +"items": { +"$ref": "EnterpriseCrmFrontendsEventbusProtoEventExecutionInfo" +}, +"type": "array" +}, +"executions": { +"description": "The detailed information of requested executions", +"items": { +"$ref": "GoogleCloudIntegrationsV1alphaExecution" +}, +"type": "array" +}, +"nextPageToken": { +"description": "The token used to retrieve the next page results.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudIntegrationsV1alphaListIntegrationTemplateVersionsResponse": { +"description": "Response for IntegrationTemplateVersions.ListIntegrationTemplateVersions.", +"id": "GoogleCloudIntegrationsV1alphaListIntegrationTemplateVersionsResponse", +"properties": { +"integrationTemplateVersions": { +"description": "The IntegrationTemplateVersions which match the request.", +"items": { +"$ref": "GoogleCloudIntegrationsV1alphaIntegrationTemplateVersion" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudIntegrationsV1alphaListIntegrationVersionsResponse": { +"description": "Response for ListIntegrationVersions.", +"id": "GoogleCloudIntegrationsV1alphaListIntegrationVersionsResponse", +"properties": { +"integrationVersions": { +"description": "The integrations which match the request.", +"items": { +"$ref": "GoogleCloudIntegrationsV1alphaIntegrationVersion" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.", +"type": "string" +}, +"noPermission": { +"description": "Whether the user has no permission on the version or not.", +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleCloudIntegrationsV1alphaListIntegrationsResponse": { +"description": "Response for ListIntegrations.", +"id": "GoogleCloudIntegrationsV1alphaListIntegrationsResponse", +"properties": { +"integrations": { +"description": "The integrations which match the request.", +"items": { +"$ref": "GoogleCloudIntegrationsV1alphaIntegration" +}, +"type": "array" +}, +"nextPageToken": { +"description": "The next page token for the response.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudIntegrationsV1alphaListRuntimeActionSchemasResponse": { +"description": "Response for listing RuntimeActionSchemas for a specific Connection.", +"id": "GoogleCloudIntegrationsV1alphaListRuntimeActionSchemasResponse", +"properties": { +"nextPageToken": { +"description": "Next page token.", +"type": "string" +}, +"runtimeActionSchemas": { +"description": "Runtime action schemas.", +"items": { +"$ref": "GoogleCloudIntegrationsV1alphaRuntimeActionSchema" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudIntegrationsV1alphaListRuntimeEntitySchemasResponse": { +"description": "Response for listing RuntimeEntitySchemas for a specific Connection.", +"id": "GoogleCloudIntegrationsV1alphaListRuntimeEntitySchemasResponse", +"properties": { +"nextPageToken": { +"description": "Next page token.", +"type": "string" +}, +"runtimeEntitySchemas": { +"description": "Runtime entity schemas.", +"items": { +"$ref": "GoogleCloudIntegrationsV1alphaRuntimeEntitySchema" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudIntegrationsV1alphaListSfdcChannelsResponse": { +"description": "Response to list SfdcChannels.", +"id": "GoogleCloudIntegrationsV1alphaListSfdcChannelsResponse", +"properties": { +"nextPageToken": { +"description": "The token used to retrieve the next page of results.", +"type": "string" +}, +"sfdcChannels": { +"description": "The list of SfdcChannels retrieved.", +"items": { +"$ref": "GoogleCloudIntegrationsV1alphaSfdcChannel" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudIntegrationsV1alphaListSfdcInstancesResponse": { +"description": "Response to list SfdcInstances.", +"id": "GoogleCloudIntegrationsV1alphaListSfdcInstancesResponse", +"properties": { +"nextPageToken": { +"description": "The token used to retrieve the next page of results.", +"type": "string" +}, +"sfdcInstances": { +"description": "The list of SfdcInstances retrieved.", +"items": { +"$ref": "GoogleCloudIntegrationsV1alphaSfdcInstance" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudIntegrationsV1alphaListSuspensionsResponse": { +"description": "Response for Suspensions.ListSuspensions.", +"id": "GoogleCloudIntegrationsV1alphaListSuspensionsResponse", +"properties": { +"nextPageToken": { +"description": "Token to retrieve the next page of results.", +"type": "string" +}, +"suspensions": { +"description": "The suspensions for the relevant execution which the caller has permissions to view and resolve.", +"items": { +"$ref": "GoogleCloudIntegrationsV1alphaSuspension" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudIntegrationsV1alphaNextTask": { +"description": "The task that is next in line to be executed, if the condition specified evaluated to true.", +"id": "GoogleCloudIntegrationsV1alphaNextTask", +"properties": { +"condition": { +"description": "Standard filter expression for this task to become an eligible next task.", +"type": "string" +}, +"description": { +"description": "User-provided description intended to give additional business context about the task.", +"type": "string" +}, +"displayName": { +"description": "User-provided label that is attached to this edge in the UI.", +"type": "string" +}, +"taskConfigId": { +"description": "ID of the next task.", +"type": "string" +}, +"taskId": { +"description": "Task number of the next task.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudIntegrationsV1alphaOAuth2AuthorizationCode": { +"description": "The OAuth Type where the client sends request with the client id and requested scopes to auth endpoint. User sees a consent screen and auth code is received at specified redirect url afterwards. The auth code is then combined with the client id and secret and sent to the token endpoint in exchange for the access and refresh token. The refresh token can be used to fetch new access tokens.", +"id": "GoogleCloudIntegrationsV1alphaOAuth2AuthorizationCode", +"properties": { +"accessToken": { +"$ref": "GoogleCloudIntegrationsV1alphaAccessToken", +"description": "The access token received from the token endpoint." +}, +"applyReauthPolicy": { +"description": "Indicates if the user has opted in Google Reauth Policy. If opted in, the refresh token will be valid for 20 hours, after which time users must re-authenticate in order to obtain a new one.", +"type": "boolean" +}, +"authCode": { +"description": "The Auth Code that is used to initially retrieve the access token.", +"type": "string" +}, +"authEndpoint": { +"description": "The auth url endpoint to send the auth code request to.", +"type": "string" +}, +"authParams": { +"$ref": "GoogleCloudIntegrationsV1alphaParameterMap", +"description": "The auth parameters sent along with the auth code request." +}, +"clientId": { +"description": "The client's id.", +"type": "string" +}, +"clientSecret": { +"description": "The client's secret.", +"type": "string" +}, +"requestType": { +"description": "Represent how to pass parameters to fetch access token", +"enum": [ +"REQUEST_TYPE_UNSPECIFIED", +"REQUEST_BODY", +"QUERY_PARAMETERS", +"ENCODED_HEADER" +], +"enumDescriptions": [ +"Unspecified request type", +"To pass all the parameters in post body.", +"To pass all the parameters as a part of query parameter.", +"To pass client id and client secret as base 64 encoding of client_id:client_password and rest parameters in post body." +], +"type": "string" +}, +"scope": { +"description": "A space-delimited list of requested scope permissions.", +"type": "string" +}, +"tokenEndpoint": { +"description": "The token url endpoint to send the token request to.", +"type": "string" +}, +"tokenParams": { +"$ref": "GoogleCloudIntegrationsV1alphaParameterMap", +"description": "The token parameters sent along with the token request." +} +}, +"type": "object" +}, +"GoogleCloudIntegrationsV1alphaOAuth2ClientCredentials": { +"description": "For client credentials grant, the client sends a POST request with grant_type as 'client_credentials' to the authorization server. The authorization server will respond with a JSON object containing the access token.", +"id": "GoogleCloudIntegrationsV1alphaOAuth2ClientCredentials", +"properties": { +"accessToken": { +"$ref": "GoogleCloudIntegrationsV1alphaAccessToken", +"description": "Access token fetched from the authorization server." +}, +"clientId": { +"description": "The client's ID.", +"type": "string" +}, +"clientSecret": { +"description": "The client's secret.", +"type": "string" +}, +"requestType": { +"description": "Represent how to pass parameters to fetch access token", +"enum": [ +"REQUEST_TYPE_UNSPECIFIED", +"REQUEST_BODY", +"QUERY_PARAMETERS", +"ENCODED_HEADER" +], +"enumDescriptions": [ +"Unspecified request type", +"To pass all the parameters in post body.", +"To pass all the parameters as a part of query parameter.", +"To pass client id and client secret as base 64 encoding of client_id:client_password and rest parameters in post body." +], +"type": "string" +}, +"scope": { +"description": "A space-delimited list of requested scope permissions.", +"type": "string" +}, +"tokenEndpoint": { +"description": "The token endpoint is used by the client to obtain an access token by presenting its authorization grant or refresh token.", +"type": "string" +}, +"tokenParams": { +"$ref": "GoogleCloudIntegrationsV1alphaParameterMap", +"description": "Token parameters for the auth request." +} +}, +"type": "object" +}, +"GoogleCloudIntegrationsV1alphaOAuth2ResourceOwnerCredentials": { +"description": "For resource owner credentials grant, the client will ask the user for their authorization credentials (ususally a username and password) and send a POST request to the authorization server. The authorization server will respond with a JSON object containing the access token.", +"id": "GoogleCloudIntegrationsV1alphaOAuth2ResourceOwnerCredentials", +"properties": { +"accessToken": { +"$ref": "GoogleCloudIntegrationsV1alphaAccessToken", +"description": "Access token fetched from the authorization server." +}, +"clientId": { +"description": "The client's ID.", +"type": "string" +}, +"clientSecret": { +"description": "The client's secret.", +"type": "string" +}, +"password": { +"description": "The user's password.", +"type": "string" +}, +"requestType": { +"description": "Represent how to pass parameters to fetch access token", +"enum": [ +"REQUEST_TYPE_UNSPECIFIED", +"REQUEST_BODY", +"QUERY_PARAMETERS", +"ENCODED_HEADER" +], +"enumDescriptions": [ +"Unspecified request type", +"To pass all the parameters in post body.", +"To pass all the parameters as a part of query parameter.", +"To pass client id and client secret as base 64 encoding of client_id:client_password and rest parameters in post body." +], +"type": "string" +}, +"scope": { +"description": "A space-delimited list of requested scope permissions.", +"type": "string" +}, +"tokenEndpoint": { +"description": "The token endpoint is used by the client to obtain an access token by presenting its authorization grant or refresh token.", +"type": "string" +}, +"tokenParams": { +"$ref": "GoogleCloudIntegrationsV1alphaParameterMap", +"description": "Token parameters for the auth request." +}, +"username": { +"description": "The user's username.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudIntegrationsV1alphaOidcToken": { +"description": "OIDC Token", +"id": "GoogleCloudIntegrationsV1alphaOidcToken", +"properties": { +"audience": { +"description": "Audience to be used when generating OIDC token. The audience claim identifies the recipients that the JWT is intended for.", +"type": "string" +}, +"serviceAccountEmail": { +"description": "The service account email to be used as the identity for the token.", +"type": "string" +}, +"token": { +"description": "ID token obtained for the service account", +"type": "string" +}, +"tokenExpireTime": { +"description": "The approximate time until the token retrieved is valid.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudIntegrationsV1alphaParameterMap": { +"description": "A generic multi-map that holds key value pairs. They keys and values can be of any type, unless specified.", +"id": "GoogleCloudIntegrationsV1alphaParameterMap", +"properties": { +"entries": { +"description": "A list of parameter map entries.", +"items": { +"$ref": "GoogleCloudIntegrationsV1alphaParameterMapEntry" +}, +"type": "array" +}, +"keyType": { +"description": "Option to specify key type for all entries of the map. If provided then field types for all entries must conform to this.", +"enum": [ +"INTEGRATION_PARAMETER_DATA_TYPE_UNSPECIFIED", +"STRING_VALUE", +"INT_VALUE", +"DOUBLE_VALUE", +"BOOLEAN_VALUE", +"STRING_ARRAY", +"INT_ARRAY", +"DOUBLE_ARRAY", +"BOOLEAN_ARRAY", +"JSON_VALUE", +"PROTO_VALUE", +"PROTO_ARRAY" +], +"enumDescriptions": [ +"Unspecified.", +"String.", +"Integer.", +"Double Number.", +"Boolean.", +"String Array.", +"Integer Array.", +"Double Number Array.", +"Boolean Array.", +"Json.", +"Proto Value (Internal use only).", +"Proto Array (Internal use only)." +], +"type": "string" +}, +"valueType": { +"description": "Option to specify value type for all entries of the map. If provided then field types for all entries must conform to this.", +"enum": [ +"INTEGRATION_PARAMETER_DATA_TYPE_UNSPECIFIED", +"STRING_VALUE", +"INT_VALUE", +"DOUBLE_VALUE", +"BOOLEAN_VALUE", +"STRING_ARRAY", +"INT_ARRAY", +"DOUBLE_ARRAY", +"BOOLEAN_ARRAY", +"JSON_VALUE", +"PROTO_VALUE", +"PROTO_ARRAY" +], +"enumDescriptions": [ +"Unspecified.", +"String.", +"Integer.", +"Double Number.", +"Boolean.", +"String Array.", +"Integer Array.", +"Double Number Array.", +"Boolean Array.", +"Json.", +"Proto Value (Internal use only).", +"Proto Array (Internal use only)." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudIntegrationsV1alphaParameterMapEntry": { +"description": "Entry is a pair of key and value.", +"id": "GoogleCloudIntegrationsV1alphaParameterMapEntry", +"properties": { +"key": { +"$ref": "GoogleCloudIntegrationsV1alphaParameterMapField", +"description": "Key of the map entry." +}, +"value": { +"$ref": "GoogleCloudIntegrationsV1alphaParameterMapField", +"description": "Value of the map entry." +} +}, +"type": "object" +}, +"GoogleCloudIntegrationsV1alphaParameterMapField": { +"description": "Field represents either the key or value in an entry.", +"id": "GoogleCloudIntegrationsV1alphaParameterMapField", +"properties": { +"literalValue": { +"$ref": "GoogleCloudIntegrationsV1alphaValueType", +"description": "Passing a literal value." +}, +"referenceKey": { +"description": "Referencing one of the Integration variables.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudIntegrationsV1alphaPublishIntegrationVersionRequest": { +"description": "Request for PublishIntegrationVersion.", +"id": "GoogleCloudIntegrationsV1alphaPublishIntegrationVersionRequest", +"properties": { +"configParameters": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"description": "Optional. Config parameters used during integration execution.", +"type": "object" +} +}, +"type": "object" +}, +"GoogleCloudIntegrationsV1alphaPublishIntegrationVersionResponse": { +"description": "Response for PublishIntegrationVersion.", +"id": "GoogleCloudIntegrationsV1alphaPublishIntegrationVersionResponse", +"properties": {}, +"type": "object" +}, +"GoogleCloudIntegrationsV1alphaResolveSuspensionRequest": { +"description": "Request for [Suspensions.ResolveSuspensions].", +"id": "GoogleCloudIntegrationsV1alphaResolveSuspensionRequest", +"properties": { +"suspension": { +"$ref": "GoogleCloudIntegrationsV1alphaSuspension", +"description": "Suspension, containing the event_execution_info_id, task_id, and state to set on the corresponding suspension record." +} +}, +"type": "object" +}, +"GoogleCloudIntegrationsV1alphaResolveSuspensionResponse": { +"description": "Response for Suspensions.ResolveSuspensions.", +"id": "GoogleCloudIntegrationsV1alphaResolveSuspensionResponse", +"properties": {}, +"type": "object" +}, +"GoogleCloudIntegrationsV1alphaRuntimeActionSchema": { +"description": "Metadata of an action, including schemas for its inputs and outputs.", +"id": "GoogleCloudIntegrationsV1alphaRuntimeActionSchema", +"properties": { +"action": { +"description": "Name of the action.", +"type": "string" +}, +"inputSchema": { +"description": "Input parameter schema for the action.", +"type": "string" +}, +"outputSchema": { +"description": "Output parameter schema for the action.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudIntegrationsV1alphaRuntimeEntitySchema": { +"description": "Metadata of an entity, including a schema for its properties.", +"id": "GoogleCloudIntegrationsV1alphaRuntimeEntitySchema", +"properties": { +"arrayFieldSchema": { +"description": "The above schema, but for an array of the associated entity.", +"type": "string" +}, +"entity": { +"description": "Name of the entity.", +"type": "string" +}, +"fieldSchema": { +"description": "List of fields in the entity.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudIntegrationsV1alphaScheduleIntegrationsRequest": { +"description": "The request for scheduling an integration. Next available id: 11", +"id": "GoogleCloudIntegrationsV1alphaScheduleIntegrationsRequest", +"properties": { +"inputParameters": { +"additionalProperties": { +"$ref": "GoogleCloudIntegrationsV1alphaValueType" +}, +"description": "Optional. Input parameters used by integration execution.", +"type": "object" +}, +"parameterEntries": { +"deprecated": true, +"description": "Parameters are a part of Event and can be used to communicate between different tasks that are part of the same integration execution.", +"items": { +"$ref": "EnterpriseCrmFrontendsEventbusProtoParameterEntry" +}, +"type": "array" +}, +"parameters": { +"$ref": "EnterpriseCrmEventbusProtoEventParameters", +"deprecated": true, +"description": "Passed in as parameters to each integration execution." +}, +"requestId": { +"description": "This is used to de-dup incoming request: if the duplicate request was detected, the response from the previous execution is returned.", +"type": "string" +}, +"scheduleTime": { +"description": "The time that the integration should be executed. If the time is less or equal to the current time, the integration is executed immediately.", +"format": "google-datetime", +"type": "string" +}, +"triggerId": { +"description": "Required. Matched against all {@link TriggerConfig}s across all integrations. i.e. TriggerConfig.trigger_id.equals(trigger_id)", +"type": "string" +}, +"userGeneratedExecutionId": { +"description": "Optional. This is a unique id provided by the method caller. If provided this will be used as the execution_id when a new execution info is created. This is a string representation of a UUID. Must have no more than 36 characters and contain only alphanumeric characters and hyphens.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudIntegrationsV1alphaScheduleIntegrationsResponse": { +"description": "The response for executing an integration.", +"id": "GoogleCloudIntegrationsV1alphaScheduleIntegrationsResponse", +"properties": { +"executionInfoIds": { +"description": "The execution info id for the executed integrations.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudIntegrationsV1alphaSerializedFile": { +"description": "To store string representation of Integration file.", +"id": "GoogleCloudIntegrationsV1alphaSerializedFile", +"properties": { +"content": { +"description": "String representation of the file content.", +"type": "string" +}, +"file": { +"description": "File information like Integration version, Integration Config variables etc.", +"enum": [ +"INTEGRATION_FILE_UNSPECIFIED", +"INTEGRATION", +"INTEGRATION_CONFIG_VARIABLES" +], +"enumDescriptions": [ +"Default value.", +"Integration file.", +"Integration Config variables." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudIntegrationsV1alphaServiceAccountCredentials": { +"description": "Represents the service account which can be used to generate access token for authenticating the service call.", +"id": "GoogleCloudIntegrationsV1alphaServiceAccountCredentials", +"properties": { +"scope": { +"description": "A space-delimited list of requested scope permissions.", +"type": "string" +}, +"serviceAccount": { +"description": "Name of the service account that has the permission to make the request.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudIntegrationsV1alphaSfdcChannel": { +"description": "The SfdcChannel that points to a CDC or Platform Event Channel.", +"id": "GoogleCloudIntegrationsV1alphaSfdcChannel", +"properties": { +"channelTopic": { +"description": "The Channel topic defined by salesforce once an channel is opened", +"type": "string" +}, +"createTime": { +"description": "Output only. Time when the channel is created", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"deleteTime": { +"description": "Output only. Time when the channel was deleted. Empty if not deleted.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"description": { +"description": "The description for this channel", +"type": "string" +}, +"displayName": { +"description": "Client level unique name/alias to easily reference a channel.", +"type": "string" +}, +"isActive": { +"description": "Indicated if a channel has any active integrations referencing it. Set to false when the channel is created, and set to true if there is any integration published with the channel configured in it.", +"type": "boolean" +}, +"lastReplayId": { +"description": "Last sfdc messsage replay id for channel", +"type": "string" +}, +"name": { +"description": "Resource name of the SFDC channel projects/{project}/locations/{location}/sfdcInstances/{sfdc_instance}/sfdcChannels/{sfdc_channel}.", +"type": "string" +}, +"updateTime": { +"description": "Output only. Time when the channel was last updated", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudIntegrationsV1alphaSfdcInstance": { +"description": "The SfdcInstance resource use to hold channels and connection config data.", +"id": "GoogleCloudIntegrationsV1alphaSfdcInstance", +"properties": { +"authConfigId": { +"description": "A list of AuthConfigs that can be tried to open the channel to SFDC", +"items": { +"type": "string" +}, +"type": "array" +}, +"createTime": { +"description": "Output only. Time when the instance is created", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"deleteTime": { +"description": "Output only. Time when the instance was deleted. Empty if not deleted.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"description": { +"description": "A description of the sfdc instance.", +"type": "string" +}, +"displayName": { +"description": "User selected unique name/alias to easily reference an instance.", +"type": "string" +}, +"name": { +"description": "Resource name of the SFDC instance projects/{project}/locations/{location}/sfdcInstances/{sfdcInstance}.", +"type": "string" +}, +"serviceAuthority": { +"description": "URL used for API calls after authentication (the login authority is configured within the referenced AuthConfig).", +"type": "string" +}, +"sfdcOrgId": { +"description": "The SFDC Org Id. This is defined in salesforce.", +"type": "string" +}, +"updateTime": { +"description": "Output only. Time when the instance was last updated", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudIntegrationsV1alphaStringParameterArray": { +"description": "This message only contains a field of string array.", +"id": "GoogleCloudIntegrationsV1alphaStringParameterArray", +"properties": { +"stringValues": { +"description": "String array.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudIntegrationsV1alphaSuccessPolicy": { +"description": "Policy that dictates the behavior for the task after it completes successfully.", +"id": "GoogleCloudIntegrationsV1alphaSuccessPolicy", +"properties": { +"finalState": { +"description": "State to which the execution snapshot status will be set if the task succeeds.", +"enum": [ +"FINAL_STATE_UNSPECIFIED", +"SUCCEEDED", +"SUSPENDED" +], +"enumDescriptions": [ +"UNSPECIFIED.", +"The default behavior, where successful tasks will be marked as SUCCEEDED.", +"Sets the state to SUSPENDED after executing. This is required for SuspensionTask; event execution will continue once the user calls ResolveSuspensions with the event_execution_info_id and the task number." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudIntegrationsV1alphaSuspension": { +"description": "A record representing a suspension.", +"id": "GoogleCloudIntegrationsV1alphaSuspension", +"properties": { +"approvalConfig": { +"$ref": "GoogleCloudIntegrationsV1alphaSuspensionApprovalConfig", +"description": "Controls the notifications and approval permissions for this suspension." +}, +"audit": { +"$ref": "GoogleCloudIntegrationsV1alphaSuspensionAudit", +"description": "Metadata pertaining to the resolution of this suspension." +}, +"createTime": { +"description": "Output only. Auto-generated.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"eventExecutionInfoId": { +"description": "Required. ID of the associated execution.", +"type": "string" +}, +"integration": { +"description": "Required. The name of the originating integration.", +"type": "string" +}, +"lastModifyTime": { +"description": "Output only. Auto-generated.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"name": { +"description": "Resource name for suspensions suspension/{suspension_id}", +"type": "string" +}, +"state": { +"description": "Required. State of this suspension, indicating what action a resolver has taken.", +"enum": [ +"RESOLUTION_STATE_UNSPECIFIED", +"PENDING", +"REJECTED", +"LIFTED" +], +"enumDescriptions": [ +"Unset state.", +"The suspension has not yet been resolved.", +"The resolver has rejected the suspension.", +"The resolver has lifted the suspension." +], +"type": "string" +}, +"suspensionConfig": { +"$ref": "EnterpriseCrmEventbusProtoSuspensionConfig", +"deprecated": true, +"description": "Controls the notifications and resolver permissions for this suspension." +}, +"taskId": { +"description": "Required. Task id of the associated SuspensionTask.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudIntegrationsV1alphaSuspensionApprovalConfig": { +"description": "Configurations for approving the Suspension.", +"id": "GoogleCloudIntegrationsV1alphaSuspensionApprovalConfig", +"properties": { +"customMessage": { +"description": "Information to provide for recipients.", +"type": "string" +}, +"emailAddresses": { +"description": "Email addresses to send approval request to.", +"items": { +"type": "string" +}, +"type": "array" +}, +"expiration": { +"$ref": "GoogleCloudIntegrationsV1alphaSuspensionApprovalExpiration", +"description": "Indicates the next steps when no external actions happen on the suspension." +} +}, +"type": "object" +}, +"GoogleCloudIntegrationsV1alphaSuspensionApprovalExpiration": { +"description": "Expiration configs for the approval request.", +"id": "GoogleCloudIntegrationsV1alphaSuspensionApprovalExpiration", +"properties": { +"expireTime": { +"description": "Output only. Time after which the suspension expires, if no action taken.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"liftWhenExpired": { +"description": "Whether the suspension will be REJECTED or LIFTED upon expiration. REJECTED is the default behavior.", +"type": "boolean" +}, +"remindTime": { +"description": "Time after the previous suspension action reminder, if any, is sent using the selected notification option, for a suspension which is still PENDING_UNSPECIFIED.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudIntegrationsV1alphaSuspensionAudit": { +"description": "Contains when and by whom the suspension was resolved.", +"id": "GoogleCloudIntegrationsV1alphaSuspensionAudit", +"properties": { +"resolveTime": { +"description": "Time at which this suspension was resolved.", +"format": "google-datetime", +"type": "string" +}, +"resolver": { +"description": "Email address of the person who resolved this suspension.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudIntegrationsV1alphaTakeoverEditLockRequest": { +"description": "Request for TakeoverEditLock.", +"id": "GoogleCloudIntegrationsV1alphaTakeoverEditLockRequest", +"properties": {}, +"type": "object" +}, +"GoogleCloudIntegrationsV1alphaTakeoverEditLockResponse": { +"description": "Response for TakeoverEditLock.", +"id": "GoogleCloudIntegrationsV1alphaTakeoverEditLockResponse", +"properties": { +"integrationVersion": { +"$ref": "GoogleCloudIntegrationsV1alphaIntegrationVersion", +"description": "Version after the lock is acquired by the new user." +} +}, +"type": "object" +}, +"GoogleCloudIntegrationsV1alphaTaskConfig": { +"description": "The task configuration details. This is not the implementation of Task. There might be multiple TaskConfigs for the same Task.", +"id": "GoogleCloudIntegrationsV1alphaTaskConfig", +"properties": { +"description": { +"description": "Optional. User-provided description intended to give additional business context about the task.", +"type": "string" +}, +"displayName": { +"description": "Optional. User-provided label that is attached to this TaskConfig in the UI.", +"type": "string" +}, +"errorCatcherId": { +"description": "Optional. Optional Error catcher id of the error catch flow which will be executed when execution error happens in the task", +"type": "string" +}, +"externalTaskType": { +"description": "Optional. External task type of the task", +"enum": [ +"EXTERNAL_TASK_TYPE_UNSPECIFIED", +"NORMAL_TASK", +"ERROR_TASK" +], +"enumDescriptions": [ +"Default value. External task type is not specified", +"Tasks belongs to the normal task flows", +"Task belongs to the error catch task flows" +], +"type": "string" +}, +"failurePolicy": { +"$ref": "GoogleCloudIntegrationsV1alphaFailurePolicy", +"description": "Optional. Determines the number of times the task will be retried on failure and with what retry strategy. This is applicable for asynchronous calls to Eventbus alone (Post To Queue, Schedule etc.)." +}, +"jsonValidationOption": { +"description": "Optional. If set, overrides the option configured in the Task implementation class.", +"enum": [ +"JSON_VALIDATION_OPTION_UNSPECIFIED", +"SKIP", +"PRE_EXECUTION", +"POST_EXECUTION", +"PRE_POST_EXECUTION" +], +"enumDescriptions": [ +"As per the default behavior, no validation will be run. Will not override any option set in a Task.", +"Do not run any validation against JSON schemas.", +"Validate all potential input JSON parameters against schemas specified in IntegrationParameter.", +"Validate all potential output JSON parameters against schemas specified in IntegrationParameter.", +"Perform both PRE_EXECUTION and POST_EXECUTION validations." +], +"type": "string" +}, +"nextTasks": { +"description": "Optional. The set of tasks that are next in line to be executed as per the execution graph defined for the parent event, specified by `event_config_id`. Each of these next tasks are executed only if the condition associated with them evaluates to true.", +"items": { +"$ref": "GoogleCloudIntegrationsV1alphaNextTask" +}, +"type": "array" +}, +"nextTasksExecutionPolicy": { +"description": "Optional. The policy dictating the execution of the next set of tasks for the current task.", +"enum": [ +"NEXT_TASKS_EXECUTION_POLICY_UNSPECIFIED", +"RUN_ALL_MATCH", +"RUN_FIRST_MATCH" +], +"enumDescriptions": [ +"Default.", +"Execute all the tasks that satisfy their associated condition.", +"Execute the first task that satisfies the associated condition." +], +"type": "string" +}, +"parameters": { +"additionalProperties": { +"$ref": "GoogleCloudIntegrationsV1alphaEventParameter" +}, +"description": "Optional. The customized parameters the user can pass to this task.", +"type": "object" +}, +"position": { +"$ref": "GoogleCloudIntegrationsV1alphaCoordinate", +"description": "Optional. Informs the front-end application where to draw this error catcher config on the UI." +}, +"successPolicy": { +"$ref": "GoogleCloudIntegrationsV1alphaSuccessPolicy", +"description": "Optional. Determines what action to take upon successful task completion." +}, +"synchronousCallFailurePolicy": { +"$ref": "GoogleCloudIntegrationsV1alphaFailurePolicy", +"description": "Optional. Determines the number of times the task will be retried on failure and with what retry strategy. This is applicable for synchronous calls to Eventbus alone (Post)." +}, +"task": { +"description": "Optional. The name for the task.", +"type": "string" +}, +"taskExecutionStrategy": { +"description": "Optional. The policy dictating the execution strategy of this task.", +"enum": [ +"TASK_EXECUTION_STRATEGY_UNSPECIFIED", +"WHEN_ALL_SUCCEED", +"WHEN_ANY_SUCCEED", +"WHEN_ALL_TASKS_AND_CONDITIONS_SUCCEED" +], +"enumDescriptions": [ +"Default. If the strategy is not set explicitly, it will default to `WHEN_ALL_SUCCEED`.", +"Wait until all of its previous tasks finished execution, then verify at least one of the edge conditions is met, and execute if possible. This should be considered as WHEN_ALL_TASKS_SUCCEED.", +"Start execution as long as any of its previous tasks finished execution and the corresponding edge condition is met (since we will execute if only that succeeding edge condition is met).", +"Wait until all of its previous tasks finished execution, then verify the all edge conditions are met and execute if possible." +], +"type": "string" +}, +"taskId": { +"description": "Required. The identifier of this task within its parent event config, specified by the client. This should be unique among all the tasks belong to the same event config. We use this field as the identifier to find next tasks (via field `next_tasks.task_id`).", +"type": "string" +}, +"taskTemplate": { +"description": "Optional. Used to define task-template name if task is of type task-template", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudIntegrationsV1alphaTaskExecutionDetails": { +"description": "Contains the details of the execution of this task.", +"id": "GoogleCloudIntegrationsV1alphaTaskExecutionDetails", +"properties": { +"taskAttemptStats": { +"description": "Status for the current task execution attempt.", +"items": { +"$ref": "GoogleCloudIntegrationsV1alphaAttemptStats" +}, +"type": "array" +}, +"taskExecutionState": { +"description": "The execution state of this task.", +"enum": [ +"TASK_EXECUTION_STATE_UNSPECIFIED", +"PENDING_EXECUTION", +"IN_PROCESS", +"SUCCEED", +"FAILED", +"FATAL", +"RETRY_ON_HOLD", +"SKIPPED", +"CANCELLED", +"PENDING_ROLLBACK", +"ROLLBACK_IN_PROCESS", +"ROLLEDBACK", +"SUSPENDED" +], +"enumDescriptions": [ +"Default value.", +"Task is waiting for its precondition tasks to finish to start the execution.", +"Task is under processing.", +"Task execution successfully finished. There's no more change after this state.", +"Task execution failed. There's no more change after this state.", +"Task execution failed and cause the whole integration execution to fail immediately. There's no more change after this state.", +"Task execution failed and waiting for retry.", +"Task execution skipped. This happens when its precondition wasn't met, or the integration execution been canceled before reach to the task. There's no more changes after this state.", +"Task execution canceled when in progress. This happens when integration execution been canceled or any other task fall in fatal state.", +"Task is waiting for its dependency tasks' rollback to finish to start its rollback.", +"Task is rolling back.", +"Task is rolled back. This is the state we will set regardless of rollback succeeding or failing.", +"Task is a SuspensionTask which has executed once, creating a pending suspension." +], +"type": "string" +}, +"taskNumber": { +"description": "Pointer to the task config it used for execution.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudIntegrationsV1alphaTriggerConfig": { +"description": "Configuration detail of a trigger.", +"id": "GoogleCloudIntegrationsV1alphaTriggerConfig", +"properties": { +"alertConfig": { +"description": "Optional. An alert threshold configuration for the [trigger + client + integration] tuple. If these values are not specified in the trigger config, default values will be populated by the system. Note that there must be exactly one alert threshold configured per [client + trigger + integration] when published.", +"items": { +"$ref": "GoogleCloudIntegrationsV1alphaIntegrationAlertConfig" +}, +"type": "array" +}, +"cloudSchedulerConfig": { +"$ref": "GoogleCloudIntegrationsV1alphaCloudSchedulerConfig", +"description": "Optional. Cloud Scheduler Trigger related metadata" +}, +"description": { +"description": "Optional. User-provided description intended to give additional business context about the task.", +"type": "string" +}, +"errorCatcherId": { +"description": "Optional. Optional Error catcher id of the error catch flow which will be executed when execution error happens in the task", +"type": "string" +}, +"label": { +"description": "Optional. The user created label for a particular trigger.", +"type": "string" +}, +"nextTasksExecutionPolicy": { +"description": "Optional. Dictates how next tasks will be executed.", +"enum": [ +"NEXT_TASKS_EXECUTION_POLICY_UNSPECIFIED", +"RUN_ALL_MATCH", +"RUN_FIRST_MATCH" +], +"enumDescriptions": [ +"Default.", +"Execute all the tasks that satisfy their associated condition.", +"Execute the first task that satisfies the associated condition." +], +"type": "string" +}, +"position": { +"$ref": "GoogleCloudIntegrationsV1alphaCoordinate", +"description": "Optional. Informs the front-end application where to draw this error catcher config on the UI." +}, +"properties": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. Configurable properties of the trigger, not to be confused with integration parameters. E.g. \"name\" is a property for API triggers and \"subscription\" is a property for Pub/sub triggers.", +"type": "object" +}, +"startTasks": { +"description": "Optional. Set of tasks numbers from where the integration execution is started by this trigger. If this is empty, then integration is executed with default start tasks. In the list of start tasks, none of two tasks can have direct ancestor-descendant relationships (i.e. in a same integration execution graph).", +"items": { +"$ref": "GoogleCloudIntegrationsV1alphaNextTask" +}, +"type": "array" +}, +"trigger": { +"description": "Optional. Name of the trigger. Example: \"API Trigger\", \"Cloud Pub Sub Trigger\" When set will be sent out to monitoring dashabord for tracking purpose.", +"type": "string" +}, +"triggerId": { +"description": "Optional. The backend trigger ID.", +"type": "string" +}, +"triggerNumber": { +"description": "Required. A number to uniquely identify each trigger config within the integration on UI.", +"type": "string" +}, +"triggerType": { +"description": "Optional. Type of trigger", +"enum": [ +"TRIGGER_TYPE_UNSPECIFIED", +"CRON", +"API", +"SFDC_CHANNEL", +"CLOUD_PUBSUB_EXTERNAL", +"SFDC_CDC_CHANNEL", +"CLOUD_SCHEDULER", +"INTEGRATION_CONNECTOR_TRIGGER", +"PRIVATE_TRIGGER" +], +"enumDescriptions": [ +"Unknown.", +"Trigger by scheduled time.", +"Trigger by API call.", +"Trigger by Salesforce Channel.", +"Trigger by Pub/Sub external.", +"SFDC Channel Trigger for CDC.", +"Trigger by Cloud Scheduler job.", +"Trigger by Connector Event", +"Trigger for private workflow" +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudIntegrationsV1alphaUnpublishIntegrationVersionRequest": { +"description": "Request for UnpublishIntegrationVersion.", +"id": "GoogleCloudIntegrationsV1alphaUnpublishIntegrationVersionRequest", +"properties": {}, +"type": "object" +}, +"GoogleCloudIntegrationsV1alphaUploadIntegrationVersionRequest": { +"description": "Request for UploadIntegrationVersion.", +"id": "GoogleCloudIntegrationsV1alphaUploadIntegrationVersionRequest", +"properties": { +"content": { +"description": "The textproto of the integration_version.", +"type": "string" +}, +"fileFormat": { +"description": "File format for upload request.", +"enum": [ +"FILE_FORMAT_UNSPECIFIED", +"JSON", +"YAML" +], +"enumDescriptions": [ +"Unspecified file format", +"JSON File Format", +"YAML File Format" +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudIntegrationsV1alphaUploadIntegrationVersionResponse": { +"description": "Response for UploadIntegrationVersion.", +"id": "GoogleCloudIntegrationsV1alphaUploadIntegrationVersionResponse", +"properties": { +"integrationVersion": { +"$ref": "GoogleCloudIntegrationsV1alphaIntegrationVersion", +"description": "The uploaded integration." +} +}, +"type": "object" +}, +"GoogleCloudIntegrationsV1alphaUsernameAndPassword": { +"description": "Username and password pair.", +"id": "GoogleCloudIntegrationsV1alphaUsernameAndPassword", +"properties": { +"password": { +"description": "Password to be used", +"type": "string" +}, +"username": { +"description": "Username to be used", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudIntegrationsV1alphaValueType": { +"description": "The type of the parameter.", +"id": "GoogleCloudIntegrationsV1alphaValueType", +"properties": { +"booleanArray": { +"$ref": "GoogleCloudIntegrationsV1alphaBooleanParameterArray", +"description": "Boolean Array." +}, +"booleanValue": { +"description": "Boolean.", +"type": "boolean" +}, +"doubleArray": { +"$ref": "GoogleCloudIntegrationsV1alphaDoubleParameterArray", +"description": "Double Number Array." +}, +"doubleValue": { +"description": "Double Number.", +"format": "double", +"type": "number" +}, +"intArray": { +"$ref": "GoogleCloudIntegrationsV1alphaIntParameterArray", +"description": "Integer Array." +}, +"intValue": { +"description": "Integer.", +"format": "int64", +"type": "string" +}, +"jsonValue": { +"description": "Json.", +"type": "string" +}, +"stringArray": { +"$ref": "GoogleCloudIntegrationsV1alphaStringParameterArray", +"description": "String Array." +}, +"stringValue": { +"description": "String.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleInternalCloudCrmEventbusV3PostToQueueWithTriggerIdRequest": { +"description": "LINT.IfChange Use this request to post all workflows associated with a given trigger id. Next available id: 13", +"id": "GoogleInternalCloudCrmEventbusV3PostToQueueWithTriggerIdRequest", +"properties": { +"clientId": { +"description": "Optional. If the client id is provided, then the combination of trigger id and client id is matched across all the workflows. If the client id is not provided, then workflows with matching trigger id are executed for each client id in the {@link TriggerConfig}. For Api Trigger, the client id is required and will be validated against the allowed clients.", +"type": "string" +}, +"ignoreErrorIfNoActiveWorkflow": { +"description": "Optional. Flag to determine whether clients would suppress a warning when no ACTIVE workflows are not found. If this flag is set to be true, an error will not be thrown if the requested trigger_id or client_id is not found in any ACTIVE workflow. Otherwise, the error is always thrown. The flag is set to be false by default.", +"type": "boolean" +}, +"parameters": { +"$ref": "EnterpriseCrmEventbusProtoEventParameters", +"description": "Passed in as parameters to each workflow execution. Optional." +}, +"priority": { +"description": "The request priority this request should be processed at. For internal users:", +"enum": [ +"UNSPCIFIED", +"SHEDDABLE", +"SHEDDABLE_PLUS", +"CRITICAL", +"CRITICAL_PLUS" +], +"enumDescriptions": [ +"Unspecified", +"Frequent partial and occasional full unavailability is expected and not pageable. * Requests to this band will be shed before all other requests. * This is the default for async calls sent from batch jobs.", +"Partial unavailability is expected and is not necessarily pageable. * Requests to this band will be shed before any critical traffic. * This is the default for async calls sent from production jobs.", +"Any outage is a pageable event. * During a production outage requests in this band will only be shed before CRITICAL_PLUS. * This is the default for sync calls sent from production jobs.", +"Any outage is a pageable event. * The guideline is for < 10% of requests to a service to be in this band. * During a production outage requests in this band will be prioritized above all others. * Opt-in to CRITICAL_PLUS when your workflow triggers by human." +], +"type": "string" +}, +"quotaRetryCount": { +"description": "Optional. This is a field to see the quota retry count for integration execution", +"format": "int32", +"type": "integer" +}, +"requestId": { +"description": "Optional. This is used to de-dup incoming request: if the duplicate request was detected, the response from the previous execution is returned. Must have no more than 36 characters and contain only alphanumeric characters and hyphens.", +"type": "string" +}, +"resourceName": { +"description": "This field is only required when using Admin Access. The resource name of target, or the parent resource name. For example: \"projects/*/locations/*/integrations/*\"", +"type": "string" +}, +"scheduledTime": { +"description": "Optional. Time in milliseconds since epoch when the given event would be scheduled.", +"format": "int64", +"type": "string" +}, +"testMode": { +"description": "Optional. Sets test mode in {@link enterprise/crm/eventbus/event_message.proto}.", +"type": "boolean" +}, +"triggerId": { +"description": "Matched against all {@link TriggerConfig}s across all workflows. i.e. TriggerConfig.trigger_id.equals(trigger_id) Required.", +"type": "string" +}, +"userGeneratedExecutionId": { +"description": "This is a unique id provided by the method caller. If provided this will be used as the execution_id when a new execution info is created. This is a string representation of a UUID. Must have no more than 36 characters and contain only alphanumeric characters and hyphens.", +"type": "string" +}, +"workflowName": { +"description": "Optional. If provided, the workflow_name is used to filter all the matched workflows having same trigger_id+client_id. A combination of trigger_id, client_id and workflow_name identifies a unique workflow.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleProtobufEmpty": { +"description": "A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }", +"id": "GoogleProtobufEmpty", +"properties": {}, +"type": "object" +} +}, +"servicePath": "", +"title": "Application Integration API", +"version": "v1alpha", +"version_module": true +} \ No newline at end of file diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/jobs.v2.json b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/jobs.v2.json new file mode 100644 index 0000000000000000000000000000000000000000..92784f5cb6465f8902c3133f0278a0c7da9ed82a --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/jobs.v2.json @@ -0,0 +1,4173 @@ +{ + "batchPath": "batch", + "mtlsRootUrl": "https://jobs.mtls.googleapis.com/", + "rootUrl": "https://jobs.googleapis.com/", + "basePath": "", + "icons": { + "x32": "http://www.google.com/images/icons/product/search-32.gif", + "x16": "http://www.google.com/images/icons/product/search-16.gif" + }, + "revision": "20200929", + "canonicalName": "Cloud Talent Solution", + "id": "jobs:v2", + "version_module": true, + "schemas": { + "GoogleCloudTalentV4CompensationInfoCompensationRange": { + "type": "object", + "description": "Compensation range.", + "properties": { + "minCompensation": { + "$ref": "Money", + "description": "The minimum amount of compensation. If left empty, the value is set to zero and the currency code is set to match the currency code of max_compensation." + }, + "maxCompensation": { + "$ref": "Money", + "description": "The maximum amount of compensation. If left empty, the value is set to a maximal compensation value and the currency code is set to match the currency code of min_compensation." + } + }, + "id": "GoogleCloudTalentV4CompensationInfoCompensationRange" + }, + "MatchingJob": { + "description": "Output only. Job entry with metadata inside SearchJobsResponse.", + "id": "MatchingJob", + "type": "object", + "properties": { + "jobSummary": { + "type": "string", + "description": "A summary of the job with core information that's displayed on the search results listing page." + }, + "job": { + "$ref": "Job", + "description": "Job resource that matches the specified SearchJobsRequest." + }, + "commuteInfo": { + "$ref": "CommuteInfo", + "description": "Commute information which is generated based on specified CommutePreference." + }, + "searchTextSnippet": { + "type": "string", + "description": "Contains snippets of text from the Job.description and similar fields that most closely match a search query's keywords, if available. All HTML tags in the original fields are stripped when returned in this field, and matching query keywords are enclosed in HTML bold tags." + }, + "jobTitleSnippet": { + "description": "Contains snippets of text from the Job.job_title field most closely matching a search query's keywords, if available. The matching query keywords are enclosed in HTML bold tags.", + "type": "string" + } + } + }, + "GoogleCloudTalentV4BatchOperationMetadata": { + "id": "GoogleCloudTalentV4BatchOperationMetadata", + "type": "object", + "description": "Metadata used for long running operations returned by CTS batch APIs. It's used to replace google.longrunning.Operation.metadata.", + "properties": { + "updateTime": { + "format": "google-datetime", + "description": "The time when the batch operation status is updated. The metadata and the update_time is refreshed every minute otherwise cached data is returned.", + "type": "string" + }, + "endTime": { + "description": "The time when the batch operation is finished and google.longrunning.Operation.done is set to `true`.", + "type": "string", + "format": "google-datetime" + }, + "state": { + "enumDescriptions": [ + "Default value.", + "The batch operation is being prepared for processing.", + "The batch operation is actively being processed.", + "The batch operation is processed, and at least one item has been successfully processed.", + "The batch operation is done and no item has been successfully processed.", + "The batch operation is in the process of cancelling after google.longrunning.Operations.CancelOperation is called.", + "The batch operation is done after google.longrunning.Operations.CancelOperation is called. Any items processed before cancelling are returned in the response." + ], + "enum": [ + "STATE_UNSPECIFIED", + "INITIALIZING", + "PROCESSING", + "SUCCEEDED", + "FAILED", + "CANCELLING", + "CANCELLED" + ], + "description": "The state of a long running operation.", + "type": "string" + }, + "successCount": { + "description": "Count of successful item(s) inside an operation.", + "type": "integer", + "format": "int32" + }, + "createTime": { + "description": "The time when the batch operation is created.", + "format": "google-datetime", + "type": "string" + }, + "stateDescription": { + "description": "More detailed information about operation state.", + "type": "string" + }, + "failureCount": { + "type": "integer", + "format": "int32", + "description": "Count of failed item(s) inside an operation." + }, + "totalCount": { + "format": "int32", + "description": "Count of total item(s) inside an operation.", + "type": "integer" + } + } + }, + "DeleteJobsByFilterRequest": { + "type": "object", + "properties": { + "filter": { + "$ref": "Filter", + "description": "Required. Restrictions on the scope of the delete request." + }, + "disableFastProcess": { + "description": "Optional. If set to true, this call waits for all processing steps to complete before the job is cleaned up. Otherwise, the call returns while some steps are still taking place asynchronously, hence faster.", + "type": "boolean" + } + }, + "description": "Deprecated. Use BatchDeleteJobsRequest instead. Input only. Delete job by filter request. The job typically becomes unsearchable within 10 seconds, but it may take up to 5 minutes.", + "id": "DeleteJobsByFilterRequest" + }, + "GoogleCloudTalentV4Job": { + "type": "object", + "properties": { + "jobStartTime": { + "type": "string", + "description": "The start timestamp of the job in UTC time zone. Typically this field is used for contracting engagements. Invalid timestamps are ignored.", + "format": "google-datetime" + }, + "processingOptions": { + "$ref": "GoogleCloudTalentV4JobProcessingOptions", + "description": "Options for job processing." + }, + "companyDisplayName": { + "description": "Output only. Display name of the company listing the job.", + "readOnly": true, + "type": "string" + }, + "promotionValue": { + "description": "A promotion value of the job, as determined by the client. The value determines the sort order of the jobs returned when searching for jobs using the featured jobs search call, with higher promotional values being returned first and ties being resolved by relevance sort. Only the jobs with a promotionValue \u003e0 are returned in a FEATURED_JOB_SEARCH. Default value is 0, and negative values are treated as 0.", + "format": "int32", + "type": "integer" + }, + "applicationInfo": { + "$ref": "GoogleCloudTalentV4JobApplicationInfo", + "description": "Job application information." + }, + "postingRegion": { + "description": "The job PostingRegion (for example, state, country) throughout which the job is available. If this field is set, a LocationFilter in a search query within the job region finds this job posting if an exact location match isn't specified. If this field is set to PostingRegion.NATION or PostingRegion.ADMINISTRATIVE_AREA, setting job Job.addresses to the same location level as this field is strongly recommended.", + "enumDescriptions": [ + "If the region is unspecified, the job is only returned if it matches the LocationFilter.", + "In addition to exact location matching, job posting is returned when the LocationFilter in the search query is in the same administrative area as the returned job posting. For example, if a `ADMINISTRATIVE_AREA` job is posted in \"CA, USA\", it's returned if LocationFilter has \"Mountain View\". Administrative area refers to top-level administrative subdivision of this country. For example, US state, IT region, UK constituent nation and JP prefecture.", + "In addition to exact location matching, job is returned when LocationFilter in search query is in the same country as this job. For example, if a `NATION_WIDE` job is posted in \"USA\", it's returned if LocationFilter has 'Mountain View'.", + "Job allows employees to work remotely (telecommute). If locations are provided with this value, the job is considered as having a location, but telecommuting is allowed." + ], + "enum": [ + "POSTING_REGION_UNSPECIFIED", + "ADMINISTRATIVE_AREA", + "NATION", + "TELECOMMUTE" + ], + "type": "string" + }, + "postingPublishTime": { + "type": "string", + "format": "google-datetime", + "description": "The timestamp this job posting was most recently published. The default value is the time the request arrives at the server. Invalid timestamps are ignored." + }, + "addresses": { + "description": "Strongly recommended for the best service experience. Location(s) where the employer is looking to hire for this job posting. Specifying the full street address(es) of the hiring location enables better API results, especially job searches by commute time. At most 50 locations are allowed for best search performance. If a job has more locations, it is suggested to split it into multiple jobs with unique requisition_ids (e.g. 'ReqA' becomes 'ReqA-1', 'ReqA-2', and so on.) as multiple jobs with the same company, language_code and requisition_id are not allowed. If the original requisition_id must be preserved, a custom field should be used for storage. It is also suggested to group the locations that close to each other in the same job for better search experience. The maximum number of allowed characters is 500.", + "type": "array", + "items": { + "type": "string" + } + }, + "derivedInfo": { + "description": "Output only. Derived details about the job posting.", + "readOnly": true, + "$ref": "GoogleCloudTalentV4JobDerivedInfo" + }, + "jobLevel": { + "type": "string", + "enum": [ + "JOB_LEVEL_UNSPECIFIED", + "ENTRY_LEVEL", + "EXPERIENCED", + "MANAGER", + "DIRECTOR", + "EXECUTIVE" + ], + "description": "The experience level associated with the job, such as \"Entry Level\".", + "enumDescriptions": [ + "The default value if the level isn't specified.", + "Entry-level individual contributors, typically with less than 2 years of experience in a similar role. Includes interns.", + "Experienced individual contributors, typically with 2+ years of experience in a similar role.", + "Entry- to mid-level managers responsible for managing a team of people.", + "Senior-level managers responsible for managing teams of managers.", + "Executive-level managers and above, including C-level positions." + ] + }, + "department": { + "type": "string", + "description": "The department or functional area within the company with the open position. The maximum number of allowed characters is 255." + }, + "company": { + "type": "string", + "description": "Required. The resource name of the company listing the job. The format is \"projects/{project_id}/tenants/{tenant_id}/companies/{company_id}\". For example, \"projects/foo/tenants/bar/companies/baz\"." + }, + "postingExpireTime": { + "format": "google-datetime", + "type": "string", + "description": "Strongly recommended for the best service experience. The expiration timestamp of the job. After this timestamp, the job is marked as expired, and it no longer appears in search results. The expired job can't be listed by the ListJobs API, but it can be retrieved with the GetJob API or updated with the UpdateJob API or deleted with the DeleteJob API. An expired job can be updated and opened again by using a future expiration timestamp. Updating an expired job fails if there is another existing open job with same company, language_code and requisition_id. The expired jobs are retained in our system for 90 days. However, the overall expired job count cannot exceed 3 times the maximum number of open jobs over previous 7 days. If this threshold is exceeded, expired jobs are cleaned out in order of earliest expire time. Expired jobs are no longer accessible after they are cleaned out. Invalid timestamps are ignored, and treated as expire time not provided. If the timestamp is before the instant request is made, the job is treated as expired immediately on creation. This kind of job can not be updated. And when creating a job with past timestamp, the posting_publish_time must be set before posting_expire_time. The purpose of this feature is to allow other objects, such as Application, to refer a job that didn't exist in the system prior to becoming expired. If you want to modify a job that was expired on creation, delete it and create a new one. If this value isn't provided at the time of job creation or is invalid, the job posting expires after 30 days from the job's creation time. For example, if the job was created on 2017/01/01 13:00AM UTC with an unspecified expiration date, the job expires after 2017/01/31 13:00AM UTC. If this value isn't provided on job update, it depends on the field masks set by UpdateJobRequest.update_mask. If the field masks include job_end_time, or the masks are empty meaning that every field is updated, the job posting expires after 30 days from the job's last update time. Otherwise the expiration date isn't updated." + }, + "qualifications": { + "type": "string", + "description": "A description of the qualifications required to perform the job. The use of this field is recommended as an alternative to using the more general description field. This field accepts and sanitizes HTML input, and also accepts bold, italic, ordered list, and unordered list markup tags. The maximum number of allowed characters is 10,000." + }, + "postingUpdateTime": { + "type": "string", + "description": "Output only. The timestamp when this job posting was last updated.", + "format": "google-datetime", + "readOnly": true + }, + "visibility": { + "description": "Deprecated. The job is only visible to the owner. The visibility of the job. Defaults to Visibility.ACCOUNT_ONLY if not specified.", + "type": "string", + "enum": [ + "VISIBILITY_UNSPECIFIED", + "ACCOUNT_ONLY", + "SHARED_WITH_GOOGLE", + "SHARED_WITH_PUBLIC" + ], + "enumDescriptions": [ + "Default value.", + "The resource is only visible to the GCP account who owns it.", + "The resource is visible to the owner and may be visible to other applications and processes at Google.", + "The resource is visible to the owner and may be visible to all other API clients." + ] + }, + "postingCreateTime": { + "format": "google-datetime", + "type": "string", + "readOnly": true, + "description": "Output only. The timestamp when this job posting was created." + }, + "degreeTypes": { + "type": "array", + "description": "The desired education degrees for the job, such as Bachelors, Masters.", + "items": { + "type": "string", + "enumDescriptions": [ + "Default value. Represents no degree, or early childhood education. Maps to ISCED code 0. Ex) Kindergarten", + "Primary education which is typically the first stage of compulsory education. ISCED code 1. Ex) Elementary school", + "Lower secondary education; First stage of secondary education building on primary education, typically with a more subject-oriented curriculum. ISCED code 2. Ex) Middle school", + "Middle education; Second/final stage of secondary education preparing for tertiary education and/or providing skills relevant to employment. Usually with an increased range of subject options and streams. ISCED code 3. Ex) High school", + "Adult Remedial Education; Programmes providing learning experiences that build on secondary education and prepare for labour market entry and/or tertiary education. The content is broader than secondary but not as complex as tertiary education. ISCED code 4.", + "Associate's or equivalent; Short first tertiary programmes that are typically practically-based, occupationally-specific and prepare for labour market entry. These programmes may also provide a pathway to other tertiary programmes. ISCED code 5.", + "Bachelor's or equivalent; Programmes designed to provide intermediate academic and/or professional knowledge, skills and competencies leading to a first tertiary degree or equivalent qualification. ISCED code 6.", + "Master's or equivalent; Programmes designed to provide advanced academic and/or professional knowledge, skills and competencies leading to a second tertiary degree or equivalent qualification. ISCED code 7.", + "Doctoral or equivalent; Programmes designed primarily to lead to an advanced research qualification, usually concluding with the submission and defense of a substantive dissertation of publishable quality based on original research. ISCED code 8." + ], + "enum": [ + "DEGREE_TYPE_UNSPECIFIED", + "PRIMARY_EDUCATION", + "LOWER_SECONDARY_EDUCATION", + "UPPER_SECONDARY_EDUCATION", + "ADULT_REMEDIAL_EDUCATION", + "ASSOCIATES_OR_EQUIVALENT", + "BACHELORS_OR_EQUIVALENT", + "MASTERS_OR_EQUIVALENT", + "DOCTORAL_OR_EQUIVALENT" + ] + } + }, + "name": { + "type": "string", + "description": "Required during job update. The resource name for the job. This is generated by the service when a job is created. The format is \"projects/{project_id}/tenants/{tenant_id}/jobs/{job_id}\". For example, \"projects/foo/tenants/bar/jobs/baz\". Use of this field in job queries and API calls is preferred over the use of requisition_id since this value is unique." + }, + "jobBenefits": { + "description": "The benefits included with the job.", + "items": { + "enum": [ + "JOB_BENEFIT_UNSPECIFIED", + "CHILD_CARE", + "DENTAL", + "DOMESTIC_PARTNER", + "FLEXIBLE_HOURS", + "MEDICAL", + "LIFE_INSURANCE", + "PARENTAL_LEAVE", + "RETIREMENT_PLAN", + "SICK_DAYS", + "VACATION", + "VISION" + ], + "type": "string", + "enumDescriptions": [ + "Default value if the type isn't specified.", + "The job includes access to programs that support child care, such as daycare.", + "The job includes dental services covered by a dental insurance plan.", + "The job offers specific benefits to domestic partners.", + "The job allows for a flexible work schedule.", + "The job includes health services covered by a medical insurance plan.", + "The job includes a life insurance plan provided by the employer or available for purchase by the employee.", + "The job allows for a leave of absence to a parent to care for a newborn child.", + "The job includes a workplace retirement plan provided by the employer or available for purchase by the employee.", + "The job allows for paid time off due to illness.", + "The job includes paid time off for vacation.", + "The job includes vision services covered by a vision insurance plan." + ] + }, + "type": "array" + }, + "employmentTypes": { + "type": "array", + "description": "The employment type(s) of a job, for example, full time or part time.", + "items": { + "enum": [ + "EMPLOYMENT_TYPE_UNSPECIFIED", + "FULL_TIME", + "PART_TIME", + "CONTRACTOR", + "CONTRACT_TO_HIRE", + "TEMPORARY", + "INTERN", + "VOLUNTEER", + "PER_DIEM", + "FLY_IN_FLY_OUT", + "OTHER_EMPLOYMENT_TYPE" + ], + "enumDescriptions": [ + "The default value if the employment type isn't specified.", + "The job requires working a number of hours that constitute full time employment, typically 40 or more hours per week.", + "The job entails working fewer hours than a full time job, typically less than 40 hours a week.", + "The job is offered as a contracted, as opposed to a salaried employee, position.", + "The job is offered as a contracted position with the understanding that it's converted into a full-time position at the end of the contract. Jobs of this type are also returned by a search for EmploymentType.CONTRACTOR jobs.", + "The job is offered as a temporary employment opportunity, usually a short-term engagement.", + "The job is a fixed-term opportunity for students or entry-level job seekers to obtain on-the-job training, typically offered as a summer position.", + "The is an opportunity for an individual to volunteer, where there's no expectation of compensation for the provided services.", + "The job requires an employee to work on an as-needed basis with a flexible schedule.", + "The job involves employing people in remote areas and flying them temporarily to the work site instead of relocating employees and their families permanently.", + "The job does not fit any of the other listed types." + ], + "type": "string" + } + }, + "responsibilities": { + "type": "string", + "description": "A description of job responsibilities. The use of this field is recommended as an alternative to using the more general description field. This field accepts and sanitizes HTML input, and also accepts bold, italic, ordered list, and unordered list markup tags. The maximum number of allowed characters is 10,000." + }, + "customAttributes": { + "description": "A map of fields to hold both filterable and non-filterable custom job attributes that are not covered by the provided structured fields. The keys of the map are strings up to 64 bytes and must match the pattern: a-zA-Z*. For example, key0LikeThis or KEY_1_LIKE_THIS. At most 100 filterable and at most 100 unfilterable keys are supported. For filterable `string_values`, across all keys at most 200 values are allowed, with each string no more than 255 characters. For unfilterable `string_values`, the maximum total size of `string_values` across all keys is 50KB.", + "type": "object", + "additionalProperties": { + "$ref": "GoogleCloudTalentV4CustomAttribute" + } + }, + "languageCode": { + "type": "string", + "description": "The language of the posting. This field is distinct from any requirements for fluency that are associated with the job. Language codes must be in BCP-47 format, such as \"en-US\" or \"sr-Latn\". For more information, see [Tags for Identifying Languages](https://tools.ietf.org/html/bcp47){: class=\"external\" target=\"_blank\" }. If this field is unspecified and Job.description is present, detected language code based on Job.description is assigned, otherwise defaults to 'en_US'." + }, + "title": { + "description": "Required. The title of the job, such as \"Software Engineer\" The maximum number of allowed characters is 500.", + "type": "string" + }, + "jobEndTime": { + "type": "string", + "description": "The end timestamp of the job. Typically this field is used for contracting engagements. Invalid timestamps are ignored.", + "format": "google-datetime" + }, + "incentives": { + "type": "string", + "description": "A description of bonus, commission, and other compensation incentives associated with the job not including salary or pay. The maximum number of allowed characters is 10,000." + }, + "description": { + "description": "Required. The description of the job, which typically includes a multi-paragraph description of the company and related information. Separate fields are provided on the job object for responsibilities, qualifications, and other job characteristics. Use of these separate job fields is recommended. This field accepts and sanitizes HTML input, and also accepts bold, italic, ordered list, and unordered list markup tags. The maximum number of allowed characters is 100,000.", + "type": "string" + }, + "requisitionId": { + "type": "string", + "description": "Required. The requisition ID, also referred to as the posting ID, is assigned by the client to identify a job. This field is intended to be used by clients for client identification and tracking of postings. A job isn't allowed to be created if there is another job with the same company, language_code and requisition_id. The maximum number of allowed characters is 255." + }, + "compensationInfo": { + "$ref": "GoogleCloudTalentV4CompensationInfo", + "description": "Job compensation information (a.k.a. \"pay rate\") i.e., the compensation that will paid to the employee." + } + }, + "id": "GoogleCloudTalentV4Job", + "description": "A Job resource represents a job posting (also referred to as a \"job listing\" or \"job requisition\"). A job belongs to a Company, which is the hiring entity responsible for the job." + }, + "GoogleCloudTalentV4BatchDeleteJobsResponse": { + "id": "GoogleCloudTalentV4BatchDeleteJobsResponse", + "description": "The result of JobService.BatchDeleteJobs. It's used to replace google.longrunning.Operation.response in case of success.", + "properties": { + "jobResults": { + "description": "List of job mutation results from a batch delete operation. It can change until operation status is FINISHED, FAILED or CANCELLED.", + "items": { + "$ref": "GoogleCloudTalentV4JobResult" + }, + "type": "array" + } + }, + "type": "object" + }, + "DeviceInfo": { + "id": "DeviceInfo", + "properties": { + "id": { + "description": "Optional. A device-specific ID. The ID must be a unique identifier that distinguishes the device from other devices.", + "type": "string" + }, + "deviceType": { + "enumDescriptions": [ + "The device type isn't specified.", + "A desktop web browser, such as, Chrome, Firefox, Safari, or Internet Explorer)", + "A mobile device web browser, such as a phone or tablet with a Chrome browser.", + "An Android device native application.", + "An iOS device native application.", + "A bot, as opposed to a device operated by human beings, such as a web crawler.", + "Other devices types." + ], + "type": "string", + "description": "Optional. Type of the device.", + "enum": [ + "DEVICE_TYPE_UNSPECIFIED", + "WEB", + "MOBILE_WEB", + "ANDROID", + "IOS", + "BOT", + "OTHER" + ] + } + }, + "type": "object", + "description": "Input only. Device information collected from the job seeker, candidate, or other entity conducting the job search. Providing this information improves the quality of the search results across devices." + }, + "Empty": { + "description": "A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); } The JSON representation for `Empty` is empty JSON object `{}`.", + "id": "Empty", + "properties": {}, + "type": "object" + }, + "CustomAttributeHistogramResult": { + "description": "Output only. Custom attribute histogram result.", + "properties": { + "key": { + "description": "Stores the key of custom attribute the histogram is performed on.", + "type": "string" + }, + "stringValueHistogramResult": { + "additionalProperties": { + "type": "integer", + "format": "int32" + }, + "description": "Stores a map from the values of string custom field associated with `key` to the number of jobs with that value in this histogram result.", + "type": "object" + }, + "longValueHistogramResult": { + "$ref": "NumericBucketingResult", + "description": "Stores bucketed histogram counting result or min/max values for custom attribute long values associated with `key`." + } + }, + "id": "CustomAttributeHistogramResult", + "type": "object" + }, + "ResponseMetadata": { + "id": "ResponseMetadata", + "type": "object", + "properties": { + "experimentIdList": { + "type": "array", + "description": "Identifiers for the versions of the search algorithm used during this API invocation if multiple algorithms are used. The default value is empty. For search response only.", + "items": { + "format": "int32", + "type": "integer" + } + }, + "mode": { + "description": "For search response only. Indicates the mode of a performed search.", + "type": "string", + "enumDescriptions": [ + "The mode of the search method isn't specified.", + "The job search doesn't include support for featured jobs.", + "The job search matches only against featured jobs (jobs with a promotionValue \u003e 0). This method doesn't return any jobs having a promotionValue \u003c= 0. The search results order is determined by the promotionValue (jobs with a higher promotionValue are returned higher up in the search results), with relevance being used as a tiebreaker.", + "Deprecated. Please use the SearchJobsForAlert API. The job search matches against jobs suited to email notifications." + ], + "enum": [ + "SEARCH_MODE_UNSPECIFIED", + "JOB_SEARCH", + "FEATURED_JOB_SEARCH", + "EMAIL_ALERT_SEARCH" + ] + }, + "requestId": { + "description": "A unique id associated with this call. This id is logged for tracking purposes.", + "type": "string" + } + }, + "description": "Output only. Additional information returned to client, such as debugging information." + }, + "GoogleCloudTalentV4CustomAttribute": { + "properties": { + "stringValues": { + "type": "array", + "description": "Exactly one of string_values or long_values must be specified. This field is used to perform a string match (`CASE_SENSITIVE_MATCH` or `CASE_INSENSITIVE_MATCH`) search. For filterable `string_value`s, a maximum total number of 200 values is allowed, with each `string_value` has a byte size of no more than 500B. For unfilterable `string_values`, the maximum total byte size of unfilterable `string_values` is 50KB. Empty string isn't allowed.", + "items": { + "type": "string" + } + }, + "filterable": { + "type": "boolean", + "description": "If the `filterable` flag is true, the custom field values may be used for custom attribute filters JobQuery.custom_attribute_filter. If false, these values may not be used for custom attribute filters. Default is false." + }, + "longValues": { + "description": "Exactly one of string_values or long_values must be specified. This field is used to perform number range search. (`EQ`, `GT`, `GE`, `LE`, `LT`) over filterable `long_value`. Currently at most 1 long_values is supported.", + "items": { + "format": "int64", + "type": "string" + }, + "type": "array" + }, + "keywordSearchable": { + "type": "boolean", + "description": "If the `keyword_searchable` flag is true, the keywords in custom fields are searchable by keyword match. If false, the values are not searchable by keyword match. Default is false." + } + }, + "description": "Custom attribute values that are either filterable or non-filterable.", + "id": "GoogleCloudTalentV4CustomAttribute", + "type": "object" + }, + "CompleteQueryResponse": { + "description": "Output only. Response of auto-complete query.", + "id": "CompleteQueryResponse", + "type": "object", + "properties": { + "metadata": { + "description": "Additional information for the API invocation, such as the request tracking id.", + "$ref": "ResponseMetadata" + }, + "completionResults": { + "items": { + "$ref": "CompletionResult" + }, + "description": "Results of the matching job/company candidates.", + "type": "array" + } + } + }, + "CustomAttribute": { + "properties": { + "longValue": { + "format": "int64", + "description": "Optional but at least one of string_values or long_value must be specified. This field is used to perform number range search. (`EQ`, `GT`, `GE`, `LE`, `LT`) over filterable `long_value`. For `long_value`, a value between Long.MIN and Long.MAX is allowed.", + "type": "string" + }, + "filterable": { + "description": "Optional. If the `filterable` flag is true, custom field values are searchable. If false, values are not searchable. Default is false.", + "type": "boolean" + }, + "stringValues": { + "description": "Optional but at least one of string_values or long_value must be specified. This field is used to perform a string match (`CASE_SENSITIVE_MATCH` or `CASE_INSENSITIVE_MATCH`) search. For filterable `string_values`, a maximum total number of 200 values is allowed, with each `string_value` has a byte size of no more than 255B. For unfilterable `string_values`, the maximum total byte size of unfilterable `string_values` is 50KB. Empty strings are not allowed.", + "$ref": "StringValues" + } + }, + "type": "object", + "id": "CustomAttribute", + "description": "Custom attribute values that are either filterable or non-filterable." + }, + "JobProcessingOptions": { + "type": "object", + "description": "Input only. Options for job processing.", + "properties": { + "disableStreetAddressResolution": { + "type": "boolean", + "description": "Optional. If set to `true`, the service does not attempt to resolve a more precise address for the job." + }, + "htmlSanitization": { + "enumDescriptions": [ + "Default value.", + "Disables sanitization on HTML input.", + "Sanitizes HTML input, only accepts bold, italic, ordered list, and unordered list markup tags." + ], + "type": "string", + "description": "Optional. Option for job HTML content sanitization. Applied fields are: * description * applicationInstruction * incentives * qualifications * responsibilities HTML tags in these fields may be stripped if sanitiazation is not disabled. Defaults to HtmlSanitization.SIMPLE_FORMATTING_ONLY.", + "enum": [ + "HTML_SANITIZATION_UNSPECIFIED", + "HTML_SANITIZATION_DISABLED", + "SIMPLE_FORMATTING_ONLY" + ] + } + }, + "id": "JobProcessingOptions" + }, + "CompensationHistogramResult": { + "id": "CompensationHistogramResult", + "type": "object", + "description": "Output only. Compensation based histogram result.", + "properties": { + "result": { + "$ref": "NumericBucketingResult", + "description": "Histogram result." + }, + "type": { + "type": "string", + "enumDescriptions": [ + "Default value. Invalid.", + "Histogram by job's base compensation. See CompensationEntry for definition of base compensation.", + "Histogram by job's annualized base compensation. See CompensationEntry for definition of annualized base compensation.", + "Histogram by job's annualized total compensation. See CompensationEntry for definition of annualized total compensation." + ], + "description": "Type of the request, corresponding to CompensationHistogramRequest.type.", + "enum": [ + "COMPENSATION_HISTOGRAM_REQUEST_TYPE_UNSPECIFIED", + "BASE", + "ANNUALIZED_BASE", + "ANNUALIZED_TOTAL" + ] + } + } + }, + "GetHistogramResponse": { + "properties": { + "metadata": { + "$ref": "ResponseMetadata", + "description": "Additional information for the API invocation, such as the request tracking id." + }, + "results": { + "items": { + "$ref": "HistogramResult" + }, + "description": "The Histogram results.", + "type": "array" + } + }, + "description": "Deprecated. Use SearchJobsRequest.histogram_facets instead to make a single call with both search and histogram. Output only. The response of the GetHistogram method.", + "type": "object", + "id": "GetHistogramResponse" + }, + "CompensationEntry": { + "id": "CompensationEntry", + "type": "object", + "properties": { + "unit": { + "enumDescriptions": [ + "Default value. Equivalent to OTHER_COMPENSATION_UNIT.", + "Hourly.", + "Daily.", + "Weekly", + "Monthly.", + "Yearly.", + "One time.", + "Other compensation units." + ], + "description": "Optional. Frequency of the specified amount. Default is CompensationUnit.COMPENSATION_UNIT_UNSPECIFIED.", + "enum": [ + "COMPENSATION_UNIT_UNSPECIFIED", + "HOURLY", + "DAILY", + "WEEKLY", + "MONTHLY", + "YEARLY", + "ONE_TIME", + "OTHER_COMPENSATION_UNIT" + ], + "type": "string" + }, + "description": { + "description": "Optional. Compensation description. For example, could indicate equity terms or provide additional context to an estimated bonus.", + "type": "string" + }, + "type": { + "type": "string", + "enumDescriptions": [ + "Default value. Equivalent to OTHER_COMPENSATION_TYPE.", + "Base compensation: Refers to the fixed amount of money paid to an employee by an employer in return for work performed. Base compensation does not include benefits, bonuses or any other potential compensation from an employer.", + "Bonus.", + "Signing bonus.", + "Equity.", + "Profit sharing.", + "Commission.", + "Tips.", + "Other compensation type." + ], + "enum": [ + "COMPENSATION_TYPE_UNSPECIFIED", + "BASE", + "BONUS", + "SIGNING_BONUS", + "EQUITY", + "PROFIT_SHARING", + "COMMISSIONS", + "TIPS", + "OTHER_COMPENSATION_TYPE" + ], + "description": "Required. Compensation type." + }, + "amount": { + "$ref": "Money", + "description": "Optional. Compensation amount." + }, + "range": { + "$ref": "CompensationRange", + "description": "Optional. Compensation range." + }, + "expectedUnitsPerYear": { + "format": "double", + "description": "Optional. Expected number of units paid each year. If not specified, when Job.employment_types is FULLTIME, a default value is inferred based on unit. Default values: - HOURLY: 2080 - DAILY: 260 - WEEKLY: 52 - MONTHLY: 12 - ANNUAL: 1", + "type": "number" + } + }, + "description": "A compensation entry that represents one component of compensation, such as base pay, bonus, or other compensation type. Annualization: One compensation entry can be annualized if - it contains valid amount or range. - and its expected_units_per_year is set or can be derived. Its annualized range is determined as (amount or range) times expected_units_per_year." + }, + "LatLng": { + "type": "object", + "description": "An object representing a latitude/longitude pair. This is expressed as a pair of doubles representing degrees latitude and degrees longitude. Unless specified otherwise, this must conform to the WGS84 standard. Values must be within normalized ranges.", + "id": "LatLng", + "properties": { + "latitude": { + "type": "number", + "description": "The latitude in degrees. It must be in the range [-90.0, +90.0].", + "format": "double" + }, + "longitude": { + "description": "The longitude in degrees. It must be in the range [-180.0, +180.0].", + "type": "number", + "format": "double" + } + } + }, + "CompensationHistogramRequest": { + "properties": { + "type": { + "type": "string", + "enumDescriptions": [ + "Default value. Invalid.", + "Histogram by job's base compensation. See CompensationEntry for definition of base compensation.", + "Histogram by job's annualized base compensation. See CompensationEntry for definition of annualized base compensation.", + "Histogram by job's annualized total compensation. See CompensationEntry for definition of annualized total compensation." + ], + "enum": [ + "COMPENSATION_HISTOGRAM_REQUEST_TYPE_UNSPECIFIED", + "BASE", + "ANNUALIZED_BASE", + "ANNUALIZED_TOTAL" + ], + "description": "Required. Type of the request, representing which field the histogramming should be performed over. A single request can only specify one histogram of each `CompensationHistogramRequestType`." + }, + "bucketingOption": { + "description": "Required. Numeric histogram options, like buckets, whether include min or max value.", + "$ref": "NumericBucketingOption" + } + }, + "description": "Input only. Compensation based histogram request.", + "id": "CompensationHistogramRequest", + "type": "object" + }, + "GoogleCloudTalentV4JobDerivedInfo": { + "description": "Derived details about the job posting.", + "type": "object", + "id": "GoogleCloudTalentV4JobDerivedInfo", + "properties": { + "locations": { + "type": "array", + "description": "Structured locations of the job, resolved from Job.addresses. locations are exactly matched to Job.addresses in the same order.", + "items": { + "$ref": "GoogleCloudTalentV4Location" + } + }, + "jobCategories": { + "description": "Job categories derived from Job.title and Job.description.", + "items": { + "type": "string", + "enumDescriptions": [ + "The default value if the category isn't specified.", + "An accounting and finance job, such as an Accountant.", + "An administrative and office job, such as an Administrative Assistant.", + "An advertising and marketing job, such as Marketing Manager.", + "An animal care job, such as Veterinarian.", + "An art, fashion, or design job, such as Designer.", + "A business operations job, such as Business Operations Manager.", + "A cleaning and facilities job, such as Custodial Staff.", + "A computer and IT job, such as Systems Administrator.", + "A construction job, such as General Laborer.", + "A customer service job, such s Cashier.", + "An education job, such as School Teacher.", + "An entertainment and travel job, such as Flight Attendant.", + "A farming or outdoor job, such as Park Ranger.", + "A healthcare job, such as Registered Nurse.", + "A human resources job, such as Human Resources Director.", + "An installation, maintenance, or repair job, such as Electrician.", + "A legal job, such as Law Clerk.", + "A management job, often used in conjunction with another category, such as Store Manager.", + "A manufacturing or warehouse job, such as Assembly Technician.", + "A media, communications, or writing job, such as Media Relations.", + "An oil, gas or mining job, such as Offshore Driller.", + "A personal care and services job, such as Hair Stylist.", + "A protective services job, such as Security Guard.", + "A real estate job, such as Buyer's Agent.", + "A restaurant and hospitality job, such as Restaurant Server.", + "A sales and/or retail job, such Sales Associate.", + "A science and engineering job, such as Lab Technician.", + "A social services or non-profit job, such as Case Worker.", + "A sports, fitness, or recreation job, such as Personal Trainer.", + "A transportation or logistics job, such as Truck Driver." + ], + "enum": [ + "JOB_CATEGORY_UNSPECIFIED", + "ACCOUNTING_AND_FINANCE", + "ADMINISTRATIVE_AND_OFFICE", + "ADVERTISING_AND_MARKETING", + "ANIMAL_CARE", + "ART_FASHION_AND_DESIGN", + "BUSINESS_OPERATIONS", + "CLEANING_AND_FACILITIES", + "COMPUTER_AND_IT", + "CONSTRUCTION", + "CUSTOMER_SERVICE", + "EDUCATION", + "ENTERTAINMENT_AND_TRAVEL", + "FARMING_AND_OUTDOORS", + "HEALTHCARE", + "HUMAN_RESOURCES", + "INSTALLATION_MAINTENANCE_AND_REPAIR", + "LEGAL", + "MANAGEMENT", + "MANUFACTURING_AND_WAREHOUSE", + "MEDIA_COMMUNICATIONS_AND_WRITING", + "OIL_GAS_AND_MINING", + "PERSONAL_CARE_AND_SERVICES", + "PROTECTIVE_SERVICES", + "REAL_ESTATE", + "RESTAURANT_AND_HOSPITALITY", + "SALES_AND_RETAIL", + "SCIENCE_AND_ENGINEERING", + "SOCIAL_SERVICES_AND_NON_PROFIT", + "SPORTS_FITNESS_AND_RECREATION", + "TRANSPORTATION_AND_LOGISTICS" + ] + }, + "type": "array" + } + } + }, + "JobFilters": { + "description": "Input only. Deprecated. Use JobQuery instead. The filters required to perform a search query or histogram.", + "id": "JobFilters", + "type": "object", + "properties": { + "languageCodes": { + "type": "array", + "items": { + "type": "string" + }, + "description": "Optional. This filter specifies the locale of jobs to search against, for example, \"en-US\". If a value is not specified, the search results may contain jobs in any locale. Language codes should be in BCP-47 format, for example, \"en-US\" or \"sr-Latn\". For more information, see [Tags for Identifying Languages](https://tools.ietf.org/html/bcp47). At most 10 language code filters are allowed." + }, + "extendedCompensationFilter": { + "$ref": "ExtendedCompensationFilter", + "description": "Deprecated. Always use compensation_filter. Optional. This search filter is applied only to Job.extended_compensation_info. For example, if the filter is specified as \"Hourly job with per-hour compensation \u003e $15\", only jobs that meet these criteria are searched. If a filter is not defined, all open jobs are searched." + }, + "categories": { + "type": "array", + "items": { + "type": "string", + "enumDescriptions": [ + "The default value if the category is not specified.", + "An accounting and finance job, such as an Accountant.", + "And administrative and office job, such as an Administrative Assistant.", + "An advertising and marketing job, such as Marketing Manager.", + "An animal care job, such as Veterinarian.", + "An art, fashion, or design job, such as Designer.", + "A business operations job, such as Business Operations Manager.", + "A cleaning and facilities job, such as Custodial Staff.", + "A computer and IT job, such as Systems Administrator.", + "A construction job, such as General Laborer.", + "A customer service job, such s Cashier.", + "An education job, such as School Teacher.", + "An entertainment and travel job, such as Flight Attendant.", + "A farming or outdoor job, such as Park Ranger.", + "A healthcare job, such as Registered Nurse.", + "A human resources job, such as Human Resources Director.", + "An installation, maintenance, or repair job, such as Electrician.", + "A legal job, such as Law Clerk.", + "A management job, often used in conjunction with another category, such as Store Manager.", + "A manufacturing or warehouse job, such as Assembly Technician.", + "A media, communications, or writing job, such as Media Relations.", + "An oil, gas or mining job, such as Offshore Driller.", + "A personal care and services job, such as Hair Stylist.", + "A protective services job, such as Security Guard.", + "A real estate job, such as Buyer's Agent.", + "A restaurant and hospitality job, such as Restaurant Server.", + "A sales and/or retail job, such Sales Associate.", + "A science and engineering job, such as Lab Technician.", + "A social services or non-profit job, such as Case Worker.", + "A sports, fitness, or recreation job, such as Personal Trainer.", + "A transportation or logistics job, such as Truck Driver." + ], + "enum": [ + "JOB_CATEGORY_UNSPECIFIED", + "ACCOUNTING_AND_FINANCE", + "ADMINISTRATIVE_AND_OFFICE", + "ADVERTISING_AND_MARKETING", + "ANIMAL_CARE", + "ART_FASHION_AND_DESIGN", + "BUSINESS_OPERATIONS", + "CLEANING_AND_FACILITIES", + "COMPUTER_AND_IT", + "CONSTRUCTION", + "CUSTOMER_SERVICE", + "EDUCATION", + "ENTERTAINMENT_AND_TRAVEL", + "FARMING_AND_OUTDOORS", + "HEALTHCARE", + "HUMAN_RESOURCES", + "INSTALLATION_MAINTENANCE_AND_REPAIR", + "LEGAL", + "MANAGEMENT", + "MANUFACTURING_AND_WAREHOUSE", + "MEDIA_COMMUNICATIONS_AND_WRITING", + "OIL_GAS_AND_MINING", + "PERSONAL_CARE_AND_SERVICES", + "PROTECTIVE_SERVICES", + "REAL_ESTATE", + "RESTAURANT_AND_HOSPITALITY", + "SALES_AND_RETAIL", + "SCIENCE_AND_ENGINEERING", + "SOCIAL_SERVICES_AND_NON_PROFIT", + "SPORTS_FITNESS_AND_RECREATION", + "TRANSPORTATION_AND_LOGISTICS" + ] + }, + "description": "Optional. The category filter specifies the categories of jobs to search against. See Category for more information. If a value is not specified, jobs from any category are searched against. If multiple values are specified, jobs from any of the specified categories are searched against." + }, + "customAttributeFilter": { + "type": "string", + "description": "Optional. This filter specifies a structured syntax to match against the Job.custom_attributes that are marked as `filterable`. The syntax for this expression is a subset of Google SQL syntax. Supported operators are: =, !=, \u003c, \u003c=, \u003e, \u003e= where the left of the operator is a custom field key and the right of the operator is a number or string (surrounded by quotes) value. Supported functions are LOWER() to perform case insensitive match and EMPTY() to filter on the existence of a key. Boolean expressions (AND/OR/NOT) are supported up to 3 levels of nesting (For example, \"((A AND B AND C) OR NOT D) AND E\"), and there can be a maximum of 100 comparisons/functions in the expression. The expression must be \u003c 3000 bytes in length. Sample Query: (key1 = \"TEST\" OR LOWER(key1)=\"test\" OR NOT EMPTY(key1)) AND key2 \u003e 100" + }, + "query": { + "description": "Optional. The query filter contains the keywords that match against the job title, description, and location fields. The maximum query size is 255 bytes/characters.", + "type": "string" + }, + "disableSpellCheck": { + "description": "Optional. This flag controls the spell-check feature. If false, the service attempts to correct a misspelled query, for example, \"enginee\" is corrected to \"engineer\". Defaults to false: a spell check is performed.", + "type": "boolean" + }, + "publishDateRange": { + "description": "Optional. Jobs published within a range specified by this filter are searched against, for example, DateRange.PAST_MONTH. If a value is not specified, all open jobs are searched against regardless of the date they were published.", + "type": "string", + "enumDescriptions": [ + "Default value: Filtering on time is not performed.", + "The past 24 hours", + "The past week (7 days)", + "The past month (30 days)", + "The past year (365 days)", + "The past 3 days" + ], + "enum": [ + "DATE_RANGE_UNSPECIFIED", + "PAST_24_HOURS", + "PAST_WEEK", + "PAST_MONTH", + "PAST_YEAR", + "PAST_3_DAYS" + ] + }, + "commuteFilter": { + "description": "Optional. Allows filtering jobs by commute time with different travel methods (e.g. driving or public transit). Note: this only works with COMMUTE MODE. When specified, [JobFilters.location_filters] will be ignored. Currently we do not support sorting by commute time.", + "$ref": "CommutePreference" + }, + "tenantJobOnly": { + "description": "Deprecated. Do not use this field. This flag controls whether the job search should be restricted to jobs owned by the current user. Defaults to false where all jobs accessible to the user are searched against.", + "type": "boolean" + }, + "locationFilters": { + "items": { + "$ref": "LocationFilter" + }, + "description": "Optional. The location filter specifies geo-regions containing the jobs to search against. See LocationFilter for more information. If a location value is not specified, jobs are retrieved from all locations. If multiple values are specified, jobs are retrieved from any of the specified locations. If different values are specified for the LocationFilter.distance_in_miles parameter, the maximum provided distance is used for all locations. At most 5 location filters are allowed.", + "type": "array" + }, + "employmentTypes": { + "items": { + "type": "string", + "enum": [ + "EMPLOYMENT_TYPE_UNSPECIFIED", + "FULL_TIME", + "PART_TIME", + "CONTRACTOR", + "TEMPORARY", + "INTERN", + "VOLUNTEER", + "PER_DIEM", + "CONTRACT_TO_HIRE", + "FLY_IN_FLY_OUT", + "OTHER" + ], + "enumDescriptions": [ + "The default value if the employment type is not specified.", + "The job requires working a number of hours that constitute full time employment, typically 40 or more hours per week.", + "The job entails working fewer hours than a full time job, typically less than 40 hours a week.", + "The job is offered as a contracted, as opposed to a salaried employee, position.", + "The job is offered as a temporary employment opportunity, usually a short-term engagement.", + "The job is a fixed-term opportunity for students or entry-level job seekers to obtain on-the-job training, typically offered as a summer position.", + "The is an opportunity for an individual to volunteer, where there is no expectation of compensation for the provided services.", + "The job requires an employee to work on an as-needed basis with a flexible schedule.", + "The job is offered as a contracted position with the understanding that it is converted into a full-time position at the end of the contract. Jobs of this type are also returned by a search for EmploymentType.CONTRACTOR jobs.", + "The job involves employing people in remote areas and flying them temporarily to the work site instead of relocating employees and their families permanently.", + "The job does not fit any of the other listed types." + ] + }, + "description": "Optional. The employment type filter specifies the employment type of jobs to search against, such as EmploymentType.FULL_TIME. If a value is not specified, jobs in the search results include any employment type. If multiple values are specified, jobs in the search results include any of the specified employment types.", + "type": "array" + }, + "companyNames": { + "type": "array", + "description": "Optional. The company names filter specifies the company entities to search against. If a value is not specified, jobs are searched for against all companies. If multiple values are specified, jobs are searched against the specified companies. At most 20 company filters are allowed.", + "items": { + "type": "string" + } + }, + "compensationFilter": { + "$ref": "CompensationFilter", + "description": "Optional. This search filter is applied only to Job.compensation_info. For example, if the filter is specified as \"Hourly job with per-hour compensation \u003e $15\", only jobs that meet this criteria are searched. If a filter is not defined, all open jobs are searched." + }, + "companyTitles": { + "description": "Optional. This filter specifies the exact company titles of jobs to search against. If a value is not specified, jobs within the search results can be associated with any company. If multiple values are specified, jobs within the search results may be associated with any of the specified companies. At most 20 company title filters are allowed.", + "type": "array", + "items": { + "type": "string" + } + }, + "customFieldFilters": { + "description": "Deprecated. Use custom_attribute_filter instead. Optional. This filter specifies searching against custom field values. See Job.filterable_custom_fields for information. The key value specifies a number between 1-20 (the service supports 20 custom fields) corresponding to the desired custom field map value. If an invalid key is provided or specified together with custom_attribute_filter, an error is thrown.", + "type": "object", + "additionalProperties": { + "$ref": "CustomFieldFilter" + } + } + } + }, + "SearchJobsResponse": { + "id": "SearchJobsResponse", + "type": "object", + "properties": { + "estimatedTotalSize": { + "format": "int64", + "description": "An estimation of the number of jobs that match the specified query. This number is not guaranteed to be accurate. For accurate results, seenenable_precise_result_size.", + "type": "string" + }, + "appliedCommuteFilter": { + "description": "The commute filter the service applied to the specified query. This information is only available when query has a valid CommutePreference.", + "$ref": "CommutePreference" + }, + "appliedJobLocationFilters": { + "description": "The location filters that the service applied to the specified query. If any filters are lat-lng based, the JobLocation.location_type is JobLocation.LocationType#LOCATION_TYPE_UNSPECIFIED.", + "type": "array", + "items": { + "$ref": "JobLocation" + } + }, + "histogramResults": { + "description": "The histogram results that match specified SearchJobsRequest.HistogramFacets.", + "$ref": "HistogramResults" + }, + "matchingJobs": { + "type": "array", + "items": { + "$ref": "MatchingJob" + }, + "description": "The Job entities that match the specified SearchJobsRequest." + }, + "totalSize": { + "description": "The precise result count, which is available only if the client set enable_precise_result_size to `true` or if the response is the last page of results. Otherwise, the value will be `-1`.", + "type": "string", + "format": "int64" + }, + "spellResult": { + "description": "The spell checking result, and correction.", + "$ref": "SpellingCorrection" + }, + "jobView": { + "enum": [ + "JOB_VIEW_UNSPECIFIED", + "SMALL", + "MINIMAL", + "FULL" + ], + "type": "string", + "description": "Corresponds to SearchJobsRequest.job_view.", + "enumDescriptions": [ + "Default value.", + "A small view of the job, with the following attributes in the search results: Job.name, Job.requisition_id, Job.job_title, Job.company_name, Job.job_locations, Job.description, Job.visibility. Note: Job.description is deprecated. It is scheduled to be removed from MatchingJob.Job objects in the SearchJobsResponse results on 12/31/2018.", + "A minimal view of the job, with the following attributes in the search results: Job.name, Job.requisition_id, Job.job_title, Job.company_name, Job.job_locations.", + "All available attributes are included in the search results. Note: [Job.description, Job.responsibilities, Job.qualifications and Job.incentives are deprecated. These fields are scheduled to be removed from MatchingJob.Job objects in the SearchJobsResponse results on 12/31/2018. See the alternative MatchingJob.search_text_snippet and MatchingJob.job_summary fields." + ] + }, + "numJobsFromBroadenedQuery": { + "format": "int32", + "type": "integer", + "description": "If query broadening is enabled, we may append additional results from the broadened query. This number indicates how many of the jobs returned in the jobs field are from the broadened query. These results are always at the end of the jobs list. In particular, a value of 0 means all the jobs in the jobs list are from the original (without broadening) query. If this field is non-zero, subsequent requests with offset after this result set should contain all broadened results." + }, + "nextPageToken": { + "description": "The token that specifies the starting position of the next page of results. This field is empty if there are no more results.", + "type": "string" + }, + "metadata": { + "description": "Additional information for the API invocation, such as the request tracking id.", + "$ref": "ResponseMetadata" + } + }, + "description": "Output only. Response for SearchJob method." + }, + "HistogramFacets": { + "properties": { + "simpleHistogramFacets": { + "type": "array", + "description": "Optional. Specifies the simple type of histogram facets, for example, `COMPANY_SIZE`, `EMPLOYMENT_TYPE` etc. This field is equivalent to GetHistogramRequest.", + "items": { + "enum": [ + "JOB_FIELD_UNSPECIFIED", + "COMPANY_ID", + "EMPLOYMENT_TYPE", + "COMPANY_SIZE", + "DATE_PUBLISHED", + "CUSTOM_FIELD_1", + "CUSTOM_FIELD_2", + "CUSTOM_FIELD_3", + "CUSTOM_FIELD_4", + "CUSTOM_FIELD_5", + "CUSTOM_FIELD_6", + "CUSTOM_FIELD_7", + "CUSTOM_FIELD_8", + "CUSTOM_FIELD_9", + "CUSTOM_FIELD_10", + "CUSTOM_FIELD_11", + "CUSTOM_FIELD_12", + "CUSTOM_FIELD_13", + "CUSTOM_FIELD_14", + "CUSTOM_FIELD_15", + "CUSTOM_FIELD_16", + "CUSTOM_FIELD_17", + "CUSTOM_FIELD_18", + "CUSTOM_FIELD_19", + "CUSTOM_FIELD_20", + "EDUCATION_LEVEL", + "EXPERIENCE_LEVEL", + "ADMIN1", + "COUNTRY", + "CITY", + "LOCALE", + "LANGUAGE", + "CATEGORY", + "CITY_COORDINATE", + "ADMIN1_COUNTRY", + "COMPANY_TITLE", + "COMPANY_DISPLAY_NAME", + "BASE_COMPENSATION_UNIT" + ], + "type": "string", + "enumDescriptions": [ + "The default value if search type is not specified.", + "Filter by the company id field.", + "Filter by the employment type field, such as `FULL_TIME` or `PART_TIME`.", + "Filter by the company size type field, such as `BIG`, `SMALL` or `BIGGER`.", + "Filter by the date published field. Values are stringified with TimeRange, for example, TimeRange.PAST_MONTH.", + "Filter by custom field 1.", + "Filter by custom field 2.", + "Filter by custom field 3.", + "Filter by custom field 4.", + "Filter by custom field 5.", + "Filter by custom field 6.", + "Filter by custom field 7.", + "Filter by custom field 8.", + "Filter by custom field 9.", + "Filter by custom field 10.", + "Filter by custom field 11.", + "Filter by custom field 12.", + "Filter by custom field 13.", + "Filter by custom field 14.", + "Filter by custom field 15.", + "Filter by custom field 16.", + "Filter by custom field 17.", + "Filter by custom field 18.", + "Filter by custom field 19.", + "Filter by custom field 20.", + "Filter by the required education level of the job.", + "Filter by the required experience level of the job.", + "Filter by Admin1, which is a global placeholder for referring to state, province, or the particular term a country uses to define the geographic structure below the country level. Examples include states codes such as \"CA\", \"IL\", \"NY\", and provinces, such as \"BC\".", + "Filter by the country code of job, such as US, JP, FR.", + "Filter by the \"city name\", \"Admin1 code\", for example, \"Mountain View, CA\" or \"New York, NY\".", + "Filter by the locale field of a job, such as \"en-US\", \"fr-FR\". This is the BCP-47 language code, such as \"en-US\" or \"sr-Latn\". For more information, see [Tags for Identifying Languages](https://tools.ietf.org/html/bcp47).", + "Filter by the language code portion of the locale field, such as \"en\" or \"fr\".", + "Filter by the Category.", + "Filter by the city center GPS coordinate (latitude and longitude), for example, 37.4038522,-122.0987765. Since the coordinates of a city center can change, clients may need to refresh them periodically.", + "A combination of state or province code with a country code. This field differs from `JOB_ADMIN1`, which can be used in multiple countries.", + "Deprecated. Use COMPANY_DISPLAY_NAME instead. Company display name.", + "Company display name.", + "Base compensation unit." + ] + } + }, + "compensationHistogramFacets": { + "description": "Optional. Specifies compensation field-based histogram requests. Duplicate values of CompensationHistogramRequest.type are not allowed.", + "type": "array", + "items": { + "$ref": "CompensationHistogramRequest" + } + }, + "customAttributeHistogramFacets": { + "items": { + "$ref": "CustomAttributeHistogramRequest" + }, + "description": "Optional. Specifies the custom attributes histogram requests. Duplicate values of CustomAttributeHistogramRequest.key are not allowed.", + "type": "array" + } + }, + "id": "HistogramFacets", + "description": "Input only. Histogram facets to be specified in SearchJobsRequest.", + "type": "object" + }, + "ListCompanyJobsResponse": { + "type": "object", + "properties": { + "metadata": { + "description": "Additional information for the API invocation, such as the request tracking id.", + "$ref": "ResponseMetadata" + }, + "totalSize": { + "description": "The total number of open jobs. The result will be empty if ListCompanyJobsRequest.include_jobs_count is not enabled or if no open jobs are available.", + "type": "string", + "format": "int64" + }, + "jobs": { + "description": "The Jobs for a given company. The maximum number of items returned is based on the limit field provided in the request.", + "type": "array", + "items": { + "$ref": "Job" + } + }, + "nextPageToken": { + "description": "A token to retrieve the next page of results.", + "type": "string" + } + }, + "id": "ListCompanyJobsResponse", + "description": "Deprecated. Use ListJobsResponse instead. Output only. The List jobs response object." + }, + "GoogleCloudTalentV4JobProcessingOptions": { + "properties": { + "htmlSanitization": { + "type": "string", + "enumDescriptions": [ + "Default value.", + "Disables sanitization on HTML input.", + "Sanitizes HTML input, only accepts bold, italic, ordered list, and unordered list markup tags." + ], + "description": "Option for job HTML content sanitization. Applied fields are: * description * applicationInfo.instruction * incentives * qualifications * responsibilities HTML tags in these fields may be stripped if sanitiazation isn't disabled. Defaults to HtmlSanitization.SIMPLE_FORMATTING_ONLY.", + "enum": [ + "HTML_SANITIZATION_UNSPECIFIED", + "HTML_SANITIZATION_DISABLED", + "SIMPLE_FORMATTING_ONLY" + ] + }, + "disableStreetAddressResolution": { + "description": "If set to `true`, the service does not attempt to resolve a more precise address for the job.", + "type": "boolean" + } + }, + "type": "object", + "description": "Options for job processing.", + "id": "GoogleCloudTalentV4JobProcessingOptions" + }, + "CustomAttributeHistogramRequest": { + "properties": { + "longValueHistogramBucketingOption": { + "$ref": "NumericBucketingOption", + "description": "Optional. Specifies buckets used to perform a range histogram on Job's filterable long custom field values, or min/max value requirements." + }, + "key": { + "type": "string", + "description": "Required. Specifies the custom field key to perform a histogram on. If specified without `long_value_histogram_bucketing_option`, histogram on string values of the given `key` is triggered, otherwise histogram is performed on long values." + }, + "stringValueHistogram": { + "description": "Optional. If set to true, the response will include the histogram value for each key as a string.", + "type": "boolean" + } + }, + "id": "CustomAttributeHistogramRequest", + "description": "Custom attributes histogram request. An error will be thrown if neither string_value_histogram or long_value_histogram_bucketing_option has been defined.", + "type": "object" + }, + "NumericBucketingOption": { + "id": "NumericBucketingOption", + "properties": { + "bucketBounds": { + "items": { + "type": "number", + "format": "double" + }, + "description": "Required. Two adjacent values form a histogram bucket. Values should be in ascending order. For example, if [5, 10, 15] are provided, four buckets are created: (-inf, 5), 5, 10), [10, 15), [15, inf). At most 20 [buckets_bound is supported.", + "type": "array" + }, + "requiresMinMax": { + "description": "Optional. If set to true, the histogram result includes minimum/maximum value of the numeric field.", + "type": "boolean" + } + }, + "description": "Input only. Use this field to specify bucketing option for the histogram search response.", + "type": "object" + }, + "GoogleCloudTalentV4CompensationInfo": { + "type": "object", + "id": "GoogleCloudTalentV4CompensationInfo", + "properties": { + "entries": { + "type": "array", + "items": { + "$ref": "GoogleCloudTalentV4CompensationInfoCompensationEntry" + }, + "description": "Job compensation information. At most one entry can be of type CompensationInfo.CompensationType.BASE, which is referred as **base compensation entry** for the job." + }, + "annualizedBaseCompensationRange": { + "readOnly": true, + "$ref": "GoogleCloudTalentV4CompensationInfoCompensationRange", + "description": "Output only. Annualized base compensation range. Computed as base compensation entry's CompensationEntry.amount times CompensationEntry.expected_units_per_year. See CompensationEntry for explanation on compensation annualization." + }, + "annualizedTotalCompensationRange": { + "description": "Output only. Annualized total compensation range. Computed as all compensation entries' CompensationEntry.amount times CompensationEntry.expected_units_per_year. See CompensationEntry for explanation on compensation annualization.", + "readOnly": true, + "$ref": "GoogleCloudTalentV4CompensationInfoCompensationRange" + } + }, + "description": "Job compensation details." + }, + "HistogramResult": { + "id": "HistogramResult", + "type": "object", + "description": "Output only. Result of a histogram call. The response contains the histogram map for the search type specified by HistogramResult.field. The response is a map of each filter value to the corresponding count of jobs for that filter.", + "properties": { + "searchType": { + "type": "string", + "enum": [ + "JOB_FIELD_UNSPECIFIED", + "COMPANY_ID", + "EMPLOYMENT_TYPE", + "COMPANY_SIZE", + "DATE_PUBLISHED", + "CUSTOM_FIELD_1", + "CUSTOM_FIELD_2", + "CUSTOM_FIELD_3", + "CUSTOM_FIELD_4", + "CUSTOM_FIELD_5", + "CUSTOM_FIELD_6", + "CUSTOM_FIELD_7", + "CUSTOM_FIELD_8", + "CUSTOM_FIELD_9", + "CUSTOM_FIELD_10", + "CUSTOM_FIELD_11", + "CUSTOM_FIELD_12", + "CUSTOM_FIELD_13", + "CUSTOM_FIELD_14", + "CUSTOM_FIELD_15", + "CUSTOM_FIELD_16", + "CUSTOM_FIELD_17", + "CUSTOM_FIELD_18", + "CUSTOM_FIELD_19", + "CUSTOM_FIELD_20", + "EDUCATION_LEVEL", + "EXPERIENCE_LEVEL", + "ADMIN1", + "COUNTRY", + "CITY", + "LOCALE", + "LANGUAGE", + "CATEGORY", + "CITY_COORDINATE", + "ADMIN1_COUNTRY", + "COMPANY_TITLE", + "COMPANY_DISPLAY_NAME", + "BASE_COMPENSATION_UNIT" + ], + "enumDescriptions": [ + "The default value if search type is not specified.", + "Filter by the company id field.", + "Filter by the employment type field, such as `FULL_TIME` or `PART_TIME`.", + "Filter by the company size type field, such as `BIG`, `SMALL` or `BIGGER`.", + "Filter by the date published field. Values are stringified with TimeRange, for example, TimeRange.PAST_MONTH.", + "Filter by custom field 1.", + "Filter by custom field 2.", + "Filter by custom field 3.", + "Filter by custom field 4.", + "Filter by custom field 5.", + "Filter by custom field 6.", + "Filter by custom field 7.", + "Filter by custom field 8.", + "Filter by custom field 9.", + "Filter by custom field 10.", + "Filter by custom field 11.", + "Filter by custom field 12.", + "Filter by custom field 13.", + "Filter by custom field 14.", + "Filter by custom field 15.", + "Filter by custom field 16.", + "Filter by custom field 17.", + "Filter by custom field 18.", + "Filter by custom field 19.", + "Filter by custom field 20.", + "Filter by the required education level of the job.", + "Filter by the required experience level of the job.", + "Filter by Admin1, which is a global placeholder for referring to state, province, or the particular term a country uses to define the geographic structure below the country level. Examples include states codes such as \"CA\", \"IL\", \"NY\", and provinces, such as \"BC\".", + "Filter by the country code of job, such as US, JP, FR.", + "Filter by the \"city name\", \"Admin1 code\", for example, \"Mountain View, CA\" or \"New York, NY\".", + "Filter by the locale field of a job, such as \"en-US\", \"fr-FR\". This is the BCP-47 language code, such as \"en-US\" or \"sr-Latn\". For more information, see [Tags for Identifying Languages](https://tools.ietf.org/html/bcp47).", + "Filter by the language code portion of the locale field, such as \"en\" or \"fr\".", + "Filter by the Category.", + "Filter by the city center GPS coordinate (latitude and longitude), for example, 37.4038522,-122.0987765. Since the coordinates of a city center can change, clients may need to refresh them periodically.", + "A combination of state or province code with a country code. This field differs from `JOB_ADMIN1`, which can be used in multiple countries.", + "Deprecated. Use COMPANY_DISPLAY_NAME instead. Company display name.", + "Company display name.", + "Base compensation unit." + ], + "description": "The Histogram search filters." + }, + "values": { + "description": "A map from the values of field to the number of jobs with that value in this search result. Key: search type (filter names, such as the companyName). Values: the count of jobs that match the filter for this search.", + "type": "object", + "additionalProperties": { + "format": "int32", + "type": "integer" + } + } + } + }, + "GoogleCloudTalentV4CompensationInfoCompensationEntry": { + "properties": { + "description": { + "type": "string", + "description": "Compensation description. For example, could indicate equity terms or provide additional context to an estimated bonus." + }, + "amount": { + "$ref": "Money", + "description": "Compensation amount." + }, + "expectedUnitsPerYear": { + "type": "number", + "description": "Expected number of units paid each year. If not specified, when Job.employment_types is FULLTIME, a default value is inferred based on unit. Default values: - HOURLY: 2080 - DAILY: 260 - WEEKLY: 52 - MONTHLY: 12 - ANNUAL: 1", + "format": "double" + }, + "range": { + "$ref": "GoogleCloudTalentV4CompensationInfoCompensationRange", + "description": "Compensation range." + }, + "type": { + "description": "Compensation type. Default is CompensationType.COMPENSATION_TYPE_UNSPECIFIED.", + "type": "string", + "enumDescriptions": [ + "Default value.", + "Base compensation: Refers to the fixed amount of money paid to an employee by an employer in return for work performed. Base compensation does not include benefits, bonuses or any other potential compensation from an employer.", + "Bonus.", + "Signing bonus.", + "Equity.", + "Profit sharing.", + "Commission.", + "Tips.", + "Other compensation type." + ], + "enum": [ + "COMPENSATION_TYPE_UNSPECIFIED", + "BASE", + "BONUS", + "SIGNING_BONUS", + "EQUITY", + "PROFIT_SHARING", + "COMMISSIONS", + "TIPS", + "OTHER_COMPENSATION_TYPE" + ] + }, + "unit": { + "type": "string", + "description": "Frequency of the specified amount. Default is CompensationUnit.COMPENSATION_UNIT_UNSPECIFIED.", + "enumDescriptions": [ + "Default value.", + "Hourly.", + "Daily.", + "Weekly", + "Monthly.", + "Yearly.", + "One time.", + "Other compensation units." + ], + "enum": [ + "COMPENSATION_UNIT_UNSPECIFIED", + "HOURLY", + "DAILY", + "WEEKLY", + "MONTHLY", + "YEARLY", + "ONE_TIME", + "OTHER_COMPENSATION_UNIT" + ] + } + }, + "description": "A compensation entry that represents one component of compensation, such as base pay, bonus, or other compensation type. Annualization: One compensation entry can be annualized if - it contains valid amount or range. - and its expected_units_per_year is set or can be derived. Its annualized range is determined as (amount or range) times expected_units_per_year.", + "type": "object", + "id": "GoogleCloudTalentV4CompensationInfoCompensationEntry" + }, + "Status": { + "id": "Status", + "description": "The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors).", + "type": "object", + "properties": { + "code": { + "description": "The status code, which should be an enum value of google.rpc.Code.", + "format": "int32", + "type": "integer" + }, + "message": { + "type": "string", + "description": "A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client." + }, + "details": { + "items": { + "type": "object", + "additionalProperties": { + "type": "any", + "description": "Properties of the object. Contains field @type with type URL." + } + }, + "description": "A list of messages that carry the error details. There is a common set of message types for APIs to use.", + "type": "array" + } + } + }, + "BucketRange": { + "properties": { + "to": { + "description": "Ending value of the bucket range.", + "format": "double", + "type": "number" + }, + "from": { + "description": "Starting value of the bucket range.", + "format": "double", + "type": "number" + } + }, + "type": "object", + "id": "BucketRange", + "description": "Represents starting and ending value of a range in double." + }, + "CommuteInfo": { + "id": "CommuteInfo", + "description": "Output only. Commute details related to this job.", + "type": "object", + "properties": { + "jobLocation": { + "$ref": "JobLocation", + "description": "Location used as the destination in the commute calculation." + }, + "travelDuration": { + "type": "string", + "format": "google-duration", + "description": "The number of seconds required to travel to the job location from the query location. A duration of 0 seconds indicates that the job is not reachable within the requested duration, but was returned as part of an expanded query." + } + } + }, + "ExtendedCompensationInfoCompensationEntry": { + "description": "Deprecated. See CompensationInfo. A compensation entry that represents one component of compensation, such as base pay, bonus, or other compensation type. Annualization: One compensation entry can be annualized if - it contains valid amount or range. - and its expected_units_per_year is set or can be derived. Its annualized range is determined as (amount or range) times expected_units_per_year.", + "properties": { + "unit": { + "type": "string", + "enum": [ + "EXTENDED_COMPENSATION_UNIT_UNSPECIFIED", + "HOURLY", + "DAILY", + "WEEKLY", + "MONTHLY", + "YEARLY", + "ONE_TIME", + "OTHER_COMPENSATION_UNIT" + ], + "description": "Optional. Frequency of the specified amount. Default is CompensationUnit.COMPENSATION_UNIT_UNSPECIFIED.", + "enumDescriptions": [ + "Default value. Equivalent to OTHER_COMPENSATION_UNIT.", + "Hourly.", + "Daily.", + "Weekly", + "Monthly.", + "Yearly.", + "One time.", + "Other compensation units." + ] + }, + "expectedUnitsPerYear": { + "description": "Optional. Expected number of units paid each year. If not specified, when Job.employment_types is FULLTIME, a default value is inferred based on unit. Default values: - HOURLY: 2080 - DAILY: 260 - WEEKLY: 52 - MONTHLY: 12 - ANNUAL: 1", + "$ref": "ExtendedCompensationInfoDecimal" + }, + "type": { + "description": "Required. Compensation type.", + "enumDescriptions": [ + "Default value. Equivalent to OTHER_COMPENSATION_TYPE.", + "Base compensation: Refers to the fixed amount of money paid to an employee by an employer in return for work performed. Base compensation does not include benefits, bonuses or any other potential compensation from an employer.", + "Bonus.", + "Signing bonus.", + "Equity.", + "Profit sharing.", + "Commission.", + "Tips.", + "Other compensation type." + ], + "enum": [ + "EXTENDED_COMPENSATION_TYPE_UNSPECIFIED", + "BASE", + "BONUS", + "SIGNING_BONUS", + "EQUITY", + "PROFIT_SHARING", + "COMMISSIONS", + "TIPS", + "OTHER_COMPENSATION_TYPE" + ], + "type": "string" + }, + "range": { + "description": "Optional. Compensation range.", + "$ref": "ExtendedCompensationInfoCompensationRange" + }, + "amount": { + "description": "Optional. Monetary amount.", + "$ref": "ExtendedCompensationInfoDecimal" + }, + "unspecified": { + "description": "Optional. Indicates compensation amount and range are unset.", + "type": "boolean" + }, + "description": { + "description": "Optional. Compensation description.", + "type": "string" + } + }, + "type": "object", + "id": "ExtendedCompensationInfoCompensationEntry" + }, + "CompensationInfo": { + "description": "Job compensation details.", + "properties": { + "amount": { + "$ref": "Money", + "description": "Deprecated. Use entries instead. Optional. The amount of compensation or pay for the job. As an alternative, compensation_amount_min and compensation_amount_max may be used to define a range of compensation." + }, + "entries": { + "type": "array", + "items": { + "$ref": "CompensationEntry" + }, + "description": "Optional. Job compensation information. At most one entry can be of type CompensationInfo.CompensationType.BASE, which is referred as ** base compensation entry ** for the job." + }, + "annualizedBaseCompensationRange": { + "description": "Output only. Annualized base compensation range. Computed as base compensation entry's CompensationEntry.compensation times CompensationEntry.expected_units_per_year. See CompensationEntry for explanation on compensation annualization.", + "$ref": "CompensationRange" + }, + "type": { + "enumDescriptions": [ + "The default value if the type is not specified.", + "The job compensation is quoted by the number of hours worked.", + "The job compensation is quoted on an annual basis.", + "The job compensation is quoted by project completion.", + "The job compensation is quoted based solely on commission.", + "The job compensation is not quoted according to the listed compensation options." + ], + "type": "string", + "description": "Deprecated. Use entries instead. Optional. Type of job compensation.", + "enum": [ + "JOB_COMPENSATION_TYPE_UNSPECIFIED", + "HOURLY", + "SALARY", + "PER_PROJECT", + "COMMISSION", + "OTHER_TYPE" + ] + }, + "annualizedTotalCompensationRange": { + "$ref": "CompensationRange", + "description": "Output only. Annualized total compensation range. Computed as all compensation entries' CompensationEntry.compensation times CompensationEntry.expected_units_per_year. See CompensationEntry for explanation on compensation annualization." + }, + "min": { + "description": "Deprecated. Use entries instead. Optional. A lower bound on a range for compensation or pay for the job. The currency type is specified in compensation_amount.", + "$ref": "Money" + }, + "max": { + "$ref": "Money", + "description": "Deprecated. Use entries instead. Optional. An upper bound on a range for compensation or pay for the job. The currency type is specified in compensation_amount." + } + }, + "type": "object", + "id": "CompensationInfo" + }, + "StringValues": { + "id": "StringValues", + "type": "object", + "description": "Represents array of string values.", + "properties": { + "values": { + "description": "Required. String values.", + "items": { + "type": "string" + }, + "type": "array" + } + } + }, + "ListCompaniesResponse": { + "properties": { + "metadata": { + "description": "Additional information for the API invocation, such as the request tracking id.", + "$ref": "ResponseMetadata" + }, + "nextPageToken": { + "type": "string", + "description": "A token to retrieve the next page of results." + }, + "companies": { + "type": "array", + "description": "Companies for the current client.", + "items": { + "$ref": "Company" + } + } + }, + "id": "ListCompaniesResponse", + "type": "object", + "description": "Output only. The List companies response object." + }, + "CustomFieldFilter": { + "type": "object", + "id": "CustomFieldFilter", + "properties": { + "type": { + "type": "string", + "description": "Optional. The type of filter. Defaults to FilterType.OR.", + "enumDescriptions": [ + "Default value.", + "Search for a match with any query.", + "Search for a match with all queries.", + "Negate the set of filter values for the search." + ], + "enum": [ + "FILTER_TYPE_UNSPECIFIED", + "OR", + "AND", + "NOT" + ] + }, + "queries": { + "items": { + "type": "string" + }, + "type": "array", + "description": "Required. The query strings for the filter." + } + }, + "description": "Input only. Custom field filter of the search." + }, + "BucketizedCount": { + "id": "BucketizedCount", + "type": "object", + "properties": { + "count": { + "description": "Number of jobs whose numeric field value fall into `range`.", + "type": "integer", + "format": "int32" + }, + "range": { + "$ref": "BucketRange", + "description": "Bucket range on which histogram was performed for the numeric field, that is, the count represents number of jobs in this range." + } + }, + "description": "Represents count of jobs within one bucket." + }, + "NumericBucketingResult": { + "description": "Output only. Custom numeric bucketing result.", + "properties": { + "counts": { + "type": "array", + "description": "Count within each bucket. Its size is the length of NumericBucketingOption.bucket_bounds plus 1.", + "items": { + "$ref": "BucketizedCount" + } + }, + "minValue": { + "type": "number", + "description": "Stores the minimum value of the numeric field. Will be populated only if [NumericBucketingOption.requires_min_max] is set to true.", + "format": "double" + }, + "maxValue": { + "type": "number", + "format": "double", + "description": "Stores the maximum value of the numeric field. Will be populated only if [NumericBucketingOption.requires_min_max] is set to true." + } + }, + "type": "object", + "id": "NumericBucketingResult" + }, + "SearchJobsRequest": { + "properties": { + "query": { + "$ref": "JobQuery", + "description": "Optional. Query used to search against jobs, such as keyword, location filters, etc." + }, + "filters": { + "description": "Deprecated. Use query instead. Optional. Restrictions on the scope of the search request, such as filtering by location.", + "$ref": "JobFilters" + }, + "pageToken": { + "description": "Optional. The token specifying the current offset within search results. See SearchJobsResponse.next_page_token for an explanation of how to obtain the next set of query results.", + "type": "string" + }, + "enablePreciseResultSize": { + "description": "Optional. Controls if the search job request requires the return of a precise count of the first 300 results. Setting this to `true` ensures consistency in the number of results per page. Best practice is to set this value to true if a client allows users to jump directly to a non-sequential search results page. Enabling this flag may adversely impact performance. Defaults to false.", + "type": "boolean" + }, + "pageSize": { + "description": "Optional. A limit on the number of jobs returned in the search results. Increasing this value above the default value of 10 can increase search response time. The value can be between 1 and 100.", + "type": "integer", + "format": "int32" + }, + "histogramFacets": { + "description": "Optional. Restrictions on what fields to perform histogram on, such as `COMPANY_SIZE` etc.", + "$ref": "HistogramFacets" + }, + "mode": { + "description": "Required. Mode of a search.", + "type": "string", + "enum": [ + "SEARCH_MODE_UNSPECIFIED", + "JOB_SEARCH", + "FEATURED_JOB_SEARCH", + "EMAIL_ALERT_SEARCH" + ], + "enumDescriptions": [ + "The mode of the search method isn't specified.", + "The job search doesn't include support for featured jobs.", + "The job search matches only against featured jobs (jobs with a promotionValue \u003e 0). This method doesn't return any jobs having a promotionValue \u003c= 0. The search results order is determined by the promotionValue (jobs with a higher promotionValue are returned higher up in the search results), with relevance being used as a tiebreaker.", + "Deprecated. Please use the SearchJobsForAlert API. The job search matches against jobs suited to email notifications." + ] + }, + "enableBroadening": { + "type": "boolean", + "description": "Optional. Controls whether to broaden the search when it produces sparse results. Broadened queries append results to the end of the matching results list. Defaults to false." + }, + "requestMetadata": { + "$ref": "RequestMetadata", + "description": "Required. The meta information collected about the job searcher, used to improve the search quality of the service. The identifiers, (such as `user_id`) are provided by users, and must be unique and consistent." + }, + "orderBy": { + "enum": [ + "SORT_BY_UNSPECIFIED", + "RELEVANCE_DESC", + "PUBLISHED_DATE_DESC", + "UPDATED_DATE_DESC", + "TITLE", + "TITLE_DESC", + "ANNUALIZED_BASE_COMPENSATION", + "ANNUALIZED_TOTAL_COMPENSATION", + "ANNUALIZED_BASE_COMPENSATION_DESC", + "ANNUALIZED_TOTAL_COMPENSATION_DESC" + ], + "description": "Deprecated. Use sort_by instead. Optional. The criteria determining how search results are sorted. Defaults to SortBy.RELEVANCE_DESC if no value is specified.", + "enumDescriptions": [ + "Default value.", + "By descending relevance, as determined by the API algorithms. Relevance thresholding of query results is only available for queries if RELEVANCE_DESC sort ordering is specified.", + "Sort by published date descending.", + "Sort by updated date descending.", + "Sort by job title ascending.", + "Sort by job title descending.", + "Sort by job annualized base compensation in ascending order. If job's annualized base compensation is unspecified, they are put at the end of search result.", + "Sort by job annualized total compensation in ascending order. If job's annualized total compensation is unspecified, they are put at the end of search result.", + "Sort by job annualized base compensation in descending order. If job's annualized base compensation is unspecified, they are put at the end of search result.", + "Sort by job annualized total compensation in descending order. If job's annualized total compensation is unspecified, they are put at the end of search result." + ], + "type": "string" + }, + "jobView": { + "description": "Optional. The number of job attributes returned for jobs in the search response. Defaults to JobView.SMALL if no value is specified.", + "enum": [ + "JOB_VIEW_UNSPECIFIED", + "SMALL", + "MINIMAL", + "FULL" + ], + "enumDescriptions": [ + "Default value.", + "A small view of the job, with the following attributes in the search results: Job.name, Job.requisition_id, Job.job_title, Job.company_name, Job.job_locations, Job.description, Job.visibility. Note: Job.description is deprecated. It is scheduled to be removed from MatchingJob.Job objects in the SearchJobsResponse results on 12/31/2018.", + "A minimal view of the job, with the following attributes in the search results: Job.name, Job.requisition_id, Job.job_title, Job.company_name, Job.job_locations.", + "All available attributes are included in the search results. Note: [Job.description, Job.responsibilities, Job.qualifications and Job.incentives are deprecated. These fields are scheduled to be removed from MatchingJob.Job objects in the SearchJobsResponse results on 12/31/2018. See the alternative MatchingJob.search_text_snippet and MatchingJob.job_summary fields." + ], + "type": "string" + }, + "offset": { + "format": "int32", + "description": "Optional. An integer that specifies the current offset (that is, starting result location, amongst the jobs deemed by the API as relevant) in search results. This field is only considered if page_token is unset. For example, 0 means to return results starting from the first matching job, and 10 means to return from the 11th job. This can be used for pagination, (for example, pageSize = 10 and offset = 10 means to return from the second page).", + "type": "integer" + }, + "disableRelevanceThresholding": { + "type": "boolean", + "description": "Optional. Controls whether to disable relevance thresholding. Relevance thresholding removes jobs that have low relevance in search results, for example, removing \"Assistant to the CEO\" positions from the search results of a search for \"CEO\". Disabling relevance thresholding improves the accuracy of subsequent search requests. Defaults to false." + }, + "sortBy": { + "description": "Optional. The criteria determining how search results are sorted. Defaults to SortBy.RELEVANCE_DESC if no value is specified.", + "enumDescriptions": [ + "Default value.", + "By descending relevance, as determined by the API algorithms. Relevance thresholding of query results is only available for queries if RELEVANCE_DESC sort ordering is specified.", + "Sort by published date descending.", + "Sort by updated date descending.", + "Sort by job title ascending.", + "Sort by job title descending.", + "Sort by job annualized base compensation in ascending order. If job's annualized base compensation is unspecified, they are put at the end of search result.", + "Sort by job annualized total compensation in ascending order. If job's annualized total compensation is unspecified, they are put at the end of search result.", + "Sort by job annualized base compensation in descending order. If job's annualized base compensation is unspecified, they are put at the end of search result.", + "Sort by job annualized total compensation in descending order. If job's annualized total compensation is unspecified, they are put at the end of search result." + ], + "type": "string", + "enum": [ + "SORT_BY_UNSPECIFIED", + "RELEVANCE_DESC", + "PUBLISHED_DATE_DESC", + "UPDATED_DATE_DESC", + "TITLE", + "TITLE_DESC", + "ANNUALIZED_BASE_COMPENSATION", + "ANNUALIZED_TOTAL_COMPENSATION", + "ANNUALIZED_BASE_COMPENSATION_DESC", + "ANNUALIZED_TOTAL_COMPENSATION_DESC" + ] + } + }, + "id": "SearchJobsRequest", + "description": "Input only. The Request body of the `SearchJobs` call.", + "type": "object" + }, + "CompletionResult": { + "id": "CompletionResult", + "description": "Output only. Resource that represents completion results.", + "type": "object", + "properties": { + "type": { + "description": "The completion topic.", + "type": "string", + "enumDescriptions": [ + "Default value.", + "Only suggest job titles.", + "Only suggest company names.", + "Suggest both job titles and company names." + ], + "enum": [ + "COMPLETION_TYPE_UNSPECIFIED", + "JOB_TITLE", + "COMPANY_NAME", + "COMBINED" + ] + }, + "suggestion": { + "type": "string", + "description": "The suggestion for the query." + }, + "imageUrl": { + "description": "The URL for the company logo if `type=COMPANY_NAME`.", + "type": "string" + } + } + }, + "GetHistogramRequest": { + "id": "GetHistogramRequest", + "properties": { + "filters": { + "$ref": "JobFilters", + "description": "Deprecated. Use query instead. Optional. Restrictions on the scope of the histogram." + }, + "requestMetadata": { + "$ref": "RequestMetadata", + "description": "Meta information, such as `user_id`, collected from the job searcher or other entity conducting a job search, is used to improve the service's search quality. Users determine identifier values, which must be unique and consist." + }, + "allowBroadening": { + "description": "Optional. Controls whether to broaden the search to avoid too few results for a given query in instances where a search has sparse results. Results from a broadened query is a superset of the results from the original query. Defaults to false.", + "type": "boolean" + }, + "searchTypes": { + "type": "array", + "description": "Required. A list of facets that specify the histogram data to be calculated against and returned. Histogram response times can be slow, and counts can be approximations. This call may be temporarily or permanently removed prior to the production release of Cloud Talent Solution.", + "items": { + "enum": [ + "JOB_FIELD_UNSPECIFIED", + "COMPANY_ID", + "EMPLOYMENT_TYPE", + "COMPANY_SIZE", + "DATE_PUBLISHED", + "CUSTOM_FIELD_1", + "CUSTOM_FIELD_2", + "CUSTOM_FIELD_3", + "CUSTOM_FIELD_4", + "CUSTOM_FIELD_5", + "CUSTOM_FIELD_6", + "CUSTOM_FIELD_7", + "CUSTOM_FIELD_8", + "CUSTOM_FIELD_9", + "CUSTOM_FIELD_10", + "CUSTOM_FIELD_11", + "CUSTOM_FIELD_12", + "CUSTOM_FIELD_13", + "CUSTOM_FIELD_14", + "CUSTOM_FIELD_15", + "CUSTOM_FIELD_16", + "CUSTOM_FIELD_17", + "CUSTOM_FIELD_18", + "CUSTOM_FIELD_19", + "CUSTOM_FIELD_20", + "EDUCATION_LEVEL", + "EXPERIENCE_LEVEL", + "ADMIN1", + "COUNTRY", + "CITY", + "LOCALE", + "LANGUAGE", + "CATEGORY", + "CITY_COORDINATE", + "ADMIN1_COUNTRY", + "COMPANY_TITLE", + "COMPANY_DISPLAY_NAME", + "BASE_COMPENSATION_UNIT" + ], + "enumDescriptions": [ + "The default value if search type is not specified.", + "Filter by the company id field.", + "Filter by the employment type field, such as `FULL_TIME` or `PART_TIME`.", + "Filter by the company size type field, such as `BIG`, `SMALL` or `BIGGER`.", + "Filter by the date published field. Values are stringified with TimeRange, for example, TimeRange.PAST_MONTH.", + "Filter by custom field 1.", + "Filter by custom field 2.", + "Filter by custom field 3.", + "Filter by custom field 4.", + "Filter by custom field 5.", + "Filter by custom field 6.", + "Filter by custom field 7.", + "Filter by custom field 8.", + "Filter by custom field 9.", + "Filter by custom field 10.", + "Filter by custom field 11.", + "Filter by custom field 12.", + "Filter by custom field 13.", + "Filter by custom field 14.", + "Filter by custom field 15.", + "Filter by custom field 16.", + "Filter by custom field 17.", + "Filter by custom field 18.", + "Filter by custom field 19.", + "Filter by custom field 20.", + "Filter by the required education level of the job.", + "Filter by the required experience level of the job.", + "Filter by Admin1, which is a global placeholder for referring to state, province, or the particular term a country uses to define the geographic structure below the country level. Examples include states codes such as \"CA\", \"IL\", \"NY\", and provinces, such as \"BC\".", + "Filter by the country code of job, such as US, JP, FR.", + "Filter by the \"city name\", \"Admin1 code\", for example, \"Mountain View, CA\" or \"New York, NY\".", + "Filter by the locale field of a job, such as \"en-US\", \"fr-FR\". This is the BCP-47 language code, such as \"en-US\" or \"sr-Latn\". For more information, see [Tags for Identifying Languages](https://tools.ietf.org/html/bcp47).", + "Filter by the language code portion of the locale field, such as \"en\" or \"fr\".", + "Filter by the Category.", + "Filter by the city center GPS coordinate (latitude and longitude), for example, 37.4038522,-122.0987765. Since the coordinates of a city center can change, clients may need to refresh them periodically.", + "A combination of state or province code with a country code. This field differs from `JOB_ADMIN1`, which can be used in multiple countries.", + "Deprecated. Use COMPANY_DISPLAY_NAME instead. Company display name.", + "Company display name.", + "Base compensation unit." + ], + "type": "string" + } + }, + "query": { + "$ref": "JobQuery", + "description": "Optional. Query used to search against jobs, such as keyword, location filters, etc." + } + }, + "description": "Deprecated. Use SearchJobsRequest.histogram_facets instead to make a single call with both search and histogram. Input only. A request for the `GetHistogram` method.", + "type": "object" + }, + "Money": { + "type": "object", + "properties": { + "nanos": { + "type": "integer", + "description": "Number of nano (10^-9) units of the amount. The value must be between -999,999,999 and +999,999,999 inclusive. If `units` is positive, `nanos` must be positive or zero. If `units` is zero, `nanos` can be positive, zero, or negative. If `units` is negative, `nanos` must be negative or zero. For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000.", + "format": "int32" + }, + "units": { + "format": "int64", + "type": "string", + "description": "The whole units of the amount. For example if `currencyCode` is `\"USD\"`, then 1 unit is one US dollar." + }, + "currencyCode": { + "description": "The 3-letter currency code defined in ISO 4217.", + "type": "string" + } + }, + "description": "Represents an amount of money with its currency type.", + "id": "Money" + }, + "SpellingCorrection": { + "id": "SpellingCorrection", + "type": "object", + "properties": { + "corrected": { + "description": "Indicates if the query was corrected by the spell checker.", + "type": "boolean" + }, + "correctedText": { + "type": "string", + "description": "Correction output consisting of the corrected keyword string." + } + }, + "description": "Output only. Spell check result." + }, + "GoogleCloudTalentV4JobResult": { + "description": "Mutation result of a job from a batch operation.", + "type": "object", + "properties": { + "status": { + "description": "The status of the job processed. This field is populated if the processing of the job fails.", + "$ref": "Status" + }, + "job": { + "description": "Here Job only contains basic information including name, company, language_code and requisition_id, use getJob method to retrieve detailed information of the created/updated job.", + "$ref": "GoogleCloudTalentV4Job" + } + }, + "id": "GoogleCloudTalentV4JobResult" + }, + "ExtendedCompensationFilter": { + "id": "ExtendedCompensationFilter", + "type": "object", + "description": "Deprecated. Always use CompensationFilter. Input only. Filter on job compensation type and amount.", + "properties": { + "type": { + "description": "Required. Type of filter.", + "enum": [ + "FILTER_TYPE_UNSPECIFIED", + "UNIT_ONLY", + "UNIT_AND_AMOUNT", + "ANNUALIZED_BASE_AMOUNT", + "ANNUALIZED_TOTAL_AMOUNT" + ], + "enumDescriptions": [ + "Filter type unspecified. Position holder, INVALID, should never be used.", + "Filter by `base compensation entry's` unit. A job is a match if and only if the job contains a base CompensationEntry and the base CompensationEntry's unit matches provided compensation_units. Populate one or more compensation_units. See ExtendedCompensationInfo.CompensationEntry for definition of base compensation entry.", + "Filter by `base compensation entry's` unit and amount / range. A job is a match if and only if the job contains a base CompensationEntry, and the base entry's unit matches provided compensation_units and amount or range overlaps with provided compensation_range. See ExtendedCompensationInfo.CompensationEntry for definition of base compensation entry. Set exactly one compensation_units and populate compensation_range.", + "Filter by annualized base compensation amount and `base compensation entry's` unit. Populate compensation_range and zero or more compensation_units.", + "Filter by annualized total compensation amount and `base compensation entry's` unit . Populate compensation_range and zero or more compensation_units." + ], + "type": "string" + }, + "currency": { + "type": "string", + "description": "Optional. Specify currency in 3-letter [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) format. If unspecified, jobs are returned regardless of currency." + }, + "compensationUnits": { + "description": "Required. Specify desired `base compensation entry's` ExtendedCompensationInfo.CompensationUnit.", + "items": { + "type": "string", + "enum": [ + "EXTENDED_COMPENSATION_UNIT_UNSPECIFIED", + "HOURLY", + "DAILY", + "WEEKLY", + "MONTHLY", + "YEARLY", + "ONE_TIME", + "OTHER_COMPENSATION_UNIT" + ], + "enumDescriptions": [ + "Default value. Equivalent to OTHER_COMPENSATION_UNIT.", + "Hourly.", + "Daily.", + "Weekly", + "Monthly.", + "Yearly.", + "One time.", + "Other compensation units." + ] + }, + "type": "array" + }, + "compensationRange": { + "$ref": "ExtendedCompensationInfoCompensationRange", + "description": "Optional. Compensation range." + }, + "includeJobWithUnspecifiedCompensationRange": { + "type": "boolean", + "description": "Optional. Whether to include jobs whose compensation range is unspecified." + } + } + }, + "ExtendedCompensationInfoCompensationRange": { + "description": "Deprecated. See CompensationInfo. Compensation range.", + "id": "ExtendedCompensationInfoCompensationRange", + "properties": { + "max": { + "description": "Required. Maximum value.", + "$ref": "ExtendedCompensationInfoDecimal" + }, + "min": { + "description": "Required. Minimum value.", + "$ref": "ExtendedCompensationInfoDecimal" + } + }, + "type": "object" + }, + "GoogleCloudTalentV4JobApplicationInfo": { + "type": "object", + "description": "Application related details of a job posting.", + "id": "GoogleCloudTalentV4JobApplicationInfo", + "properties": { + "emails": { + "description": "Use this field to specify email address(es) to which resumes or applications can be sent. The maximum number of allowed characters for each entry is 255.", + "type": "array", + "items": { + "type": "string" + } + }, + "instruction": { + "description": "Use this field to provide instructions, such as \"Mail your application to ...\", that a candidate can follow to apply for the job. This field accepts and sanitizes HTML input, and also accepts bold, italic, ordered list, and unordered list markup tags. The maximum number of allowed characters is 3,000.", + "type": "string" + }, + "uris": { + "type": "array", + "items": { + "type": "string" + }, + "description": "Use this URI field to direct an applicant to a website, for example to link to an online application form. The maximum number of allowed characters for each entry is 2,000." + } + } + }, + "CompensationFilter": { + "properties": { + "type": { + "enum": [ + "FILTER_TYPE_UNSPECIFIED", + "UNIT_ONLY", + "UNIT_AND_AMOUNT", + "ANNUALIZED_BASE_AMOUNT", + "ANNUALIZED_TOTAL_AMOUNT" + ], + "description": "Required. Type of filter.", + "type": "string", + "enumDescriptions": [ + "Filter type unspecified. Position holder, INVALID, should never be used.", + "Filter by `base compensation entry's` unit. A job is a match if and only if the job contains a base CompensationEntry and the base CompensationEntry's unit matches provided units. Populate one or more units. See CompensationInfo.CompensationEntry for definition of base compensation entry.", + "Filter by `base compensation entry's` unit and amount / range. A job is a match if and only if the job contains a base CompensationEntry, and the base entry's unit matches provided compensation_units and amount or range overlaps with provided compensation_range. See CompensationInfo.CompensationEntry for definition of base compensation entry. Set exactly one units and populate range.", + "Filter by annualized base compensation amount and `base compensation entry's` unit. Populate range and zero or more units.", + "Filter by annualized total compensation amount and `base compensation entry's` unit . Populate range and zero or more units." + ] + }, + "units": { + "items": { + "enum": [ + "COMPENSATION_UNIT_UNSPECIFIED", + "HOURLY", + "DAILY", + "WEEKLY", + "MONTHLY", + "YEARLY", + "ONE_TIME", + "OTHER_COMPENSATION_UNIT" + ], + "enumDescriptions": [ + "Default value. Equivalent to OTHER_COMPENSATION_UNIT.", + "Hourly.", + "Daily.", + "Weekly", + "Monthly.", + "Yearly.", + "One time.", + "Other compensation units." + ], + "type": "string" + }, + "type": "array", + "description": "Required. Specify desired `base compensation entry's` CompensationInfo.CompensationUnit." + }, + "includeJobsWithUnspecifiedCompensationRange": { + "description": "Optional. Whether to include jobs whose compensation range is unspecified.", + "type": "boolean" + }, + "range": { + "$ref": "CompensationRange", + "description": "Optional. Compensation range." + } + }, + "type": "object", + "id": "CompensationFilter", + "description": "Input only. Filter on job compensation type and amount." + }, + "NamespacedDebugInput": { + "id": "NamespacedDebugInput", + "properties": { + "disableExpTags": { + "description": "Set of experiment tags to be disabled. All experiments that are tagged with one or more of these tags are disabled. If an experiment is disabled, it is never selected nor forced. If an aggregate experiment is disabled, its partitions are disabled together. If an experiment with an enrollment is disabled, the enrollment is disabled together.", + "items": { + "type": "string" + }, + "type": "array" + }, + "conditionallyForcedExpNames": { + "items": { + "type": "string" + }, + "description": "Set of experiment names to be conditionally forced. These experiments will be forced only if their conditions and their parent domain's conditions are true.", + "type": "array" + }, + "absolutelyForcedExpTags": { + "items": { + "type": "string" + }, + "description": "Set of experiment tags to be absolutely forced. The experiments with these tags will be forced without evaluating the conditions.", + "type": "array" + }, + "disableOrganicSelection": { + "type": "boolean", + "description": "If true, disable organic experiment selection (at all diversion points). Organic selection means experiment selection process based on traffic allocation and diversion condition evaluation. This does not disable selection of forced experiments. This is useful in cases when it is not known whether experiment selection behavior is responsible for a error or breakage. Disabling organic selection may help to isolate the cause of a given problem." + }, + "disableManualEnrollmentSelection": { + "type": "boolean", + "description": "If true, disable manual enrollment selection (at all diversion points). Manual enrollment selection means experiment selection process based on the request's manual enrollment states (a.k.a. opt-in experiments). This does not disable selection of forced experiments." + }, + "disableExps": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array", + "description": "Set of experiment ids to be disabled. If an experiment is disabled, it is never selected nor forced. If an aggregate experiment is disabled, its partitions are disabled together. If an experiment with an enrollment is disabled, the enrollment is disabled together. If an ID corresponds to a domain, the domain itself and all descendant experiments and domains are disabled together." + }, + "absolutelyForcedExps": { + "description": "Set of experiment ids to be absolutely forced. These ids will be forced without evaluating the conditions.", + "items": { + "format": "int32", + "type": "integer" + }, + "type": "array" + }, + "forcedFlags": { + "description": "Flags to force in a particular experiment state. Map from flag name to flag value.", + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "conditionallyForcedExpTags": { + "description": "Set of experiment tags to be conditionally forced. The experiments with these tags will be forced only if their conditions and their parent domain's conditions are true.", + "items": { + "type": "string" + }, + "type": "array" + }, + "disableExpNames": { + "items": { + "type": "string" + }, + "type": "array", + "description": "Set of experiment names to be disabled. If an experiment is disabled, it is never selected nor forced. If an aggregate experiment is disabled, its partitions are disabled together. If an experiment with an enrollment is disabled, the enrollment is disabled together. If a name corresponds to a domain, the domain itself and all descendant experiments and domains are disabled together." + }, + "conditionallyForcedExps": { + "description": "Set of experiment ids to be conditionally forced. These ids will be forced only if their conditions and their parent domain's conditions are true.", + "type": "array", + "items": { + "type": "integer", + "format": "int32" + } + }, + "forcedRollouts": { + "additionalProperties": { + "type": "boolean" + }, + "description": "Rollouts to force in a particular experiment state. Map from rollout name to rollout value.", + "type": "object" + }, + "absolutelyForcedExpNames": { + "type": "array", + "description": "Set of experiment names to be absolutely forced. These experiments will be forced without evaluating the conditions.", + "items": { + "type": "string" + } + }, + "disableAutomaticEnrollmentSelection": { + "description": "If true, disable automatic enrollment selection (at all diversion points). Automatic enrollment selection means experiment selection process based on the experiment's automatic enrollment condition. This does not disable selection of forced experiments.", + "type": "boolean" + } + }, + "description": "Next ID: 15", + "type": "object" + }, + "CreateJobRequest": { + "properties": { + "processingOptions": { + "$ref": "JobProcessingOptions", + "description": "Optional. Options for job processing." + }, + "disableStreetAddressResolution": { + "type": "boolean", + "description": "Deprecated. Please use processing_options. This flag is ignored if processing_options is set. Optional. If set to `true`, the service does not attempt to resolve a more precise address for the job." + }, + "job": { + "$ref": "Job", + "description": "Required. The Job to be created." + } + }, + "description": "Input only. Create job request.", + "id": "CreateJobRequest", + "type": "object" + }, + "RequestMetadata": { + "description": "Input only. Meta information related to the job searcher or entity conducting the job search. This information is used to improve the performance of the service.", + "type": "object", + "id": "RequestMetadata", + "properties": { + "domain": { + "type": "string", + "description": "Required. The client-defined scope or source of the service call, which typically is the domain on which the service has been implemented and is currently being run. For example, if the service is being run by client *Foo, Inc.*, on job board www.foo.com and career site www.bar.com, then this field is set to \"foo.com\" for use on the job board, and \"bar.com\" for use on the career site. If this field is not available for some reason, send \"UNKNOWN\". Note that any improvements to the service model for a particular tenant site rely on this field being set correctly to some domain." + }, + "userId": { + "type": "string", + "description": "Required. A unique user identification string, as determined by the client. The client is responsible for ensuring client-level uniqueness of this value in order to have the strongest positive impact on search quality. Obfuscate this field for privacy concerns before providing it to the service. If this field is not available for some reason, please send \"UNKNOWN\". Note that any improvements to the service model for a particular tenant site, rely on this field being set correctly to some unique user_id." + }, + "sessionId": { + "type": "string", + "description": "Required. A unique session identification string. A session is defined as the duration of an end user's interaction with the service over a period. Obfuscate this field for privacy concerns before providing it to the API. If this field is not available for some reason, please send \"UNKNOWN\". Note that any improvements to the service model for a particular tenant site, rely on this field being set correctly to some unique session_id." + }, + "deviceInfo": { + "description": "Optional. The type of device used by the job seeker at the time of the call to the service.", + "$ref": "DeviceInfo" + } + } + }, + "GoogleCloudTalentV4BatchUpdateJobsResponse": { + "type": "object", + "properties": { + "jobResults": { + "description": "List of job mutation results from a batch update operation. It can change until operation status is FINISHED, FAILED or CANCELLED.", + "type": "array", + "items": { + "$ref": "GoogleCloudTalentV4JobResult" + } + } + }, + "id": "GoogleCloudTalentV4BatchUpdateJobsResponse", + "description": "The result of JobService.BatchUpdateJobs. It's used to replace google.longrunning.Operation.response in case of success." + }, + "JobLocation": { + "id": "JobLocation", + "properties": { + "latLng": { + "description": "An object representing a latitude/longitude pair.", + "$ref": "LatLng" + }, + "postalAddress": { + "description": "Postal address of the location that includes human readable information, such as postal delivery and payments addresses. Given a postal address, a postal service can deliver items to a premises, P.O. Box, or other delivery location.", + "$ref": "PostalAddress" + }, + "locationType": { + "enumDescriptions": [ + "Default value if the type is not specified.", + "A country level location.", + "A state or equivalent level location.", + "A county or equivalent level location.", + "A city or equivalent level location.", + "A postal code level location.", + "A sublocality is a subdivision of a locality, for example a city borough, ward, or arrondissement. Sublocalities are usually recognized by a local political authority. For example, Manhattan and Brooklyn are recognized as boroughs by the City of New York, and are therefore modeled as sublocalities.", + "A district or equivalent level location.", + "A smaller district or equivalent level display.", + "A neighborhood level location.", + "A street address level location." + ], + "type": "string", + "description": "The type of a location, which corresponds to the address lines field of PostalAddress. For example, \"Downtown, Atlanta, GA, USA\" has a type of LocationType#NEIGHBORHOOD, and \"Kansas City, KS, USA\" has a type of LocationType#LOCALITY.", + "enum": [ + "LOCATION_TYPE_UNSPECIFIED", + "COUNTRY", + "ADMINISTRATIVE_AREA", + "SUB_ADMINISTRATIVE_AREA", + "LOCALITY", + "POSTAL_CODE", + "SUB_LOCALITY", + "SUB_LOCALITY_1", + "SUB_LOCALITY_2", + "NEIGHBORHOOD", + "STREET_ADDRESS" + ] + }, + "radiusMeters": { + "format": "double", + "type": "number", + "description": "Radius in meters of the job location. This value is derived from the location bounding box in which a circle with the specified radius centered from LatLng coves the area associated with the job location. For example, currently, \"Mountain View, CA, USA\" has a radius of 7885.79 meters." + } + }, + "description": "Output only. A resource that represents a location with full geographic information.", + "type": "object" + }, + "ListJobsResponse": { + "description": "Output only. List jobs response.", + "type": "object", + "properties": { + "jobs": { + "items": { + "$ref": "Job" + }, + "description": "The Jobs for a given company. The maximum number of items returned is based on the limit field provided in the request.", + "type": "array" + }, + "nextPageToken": { + "type": "string", + "description": "A token to retrieve the next page of results." + }, + "metadata": { + "$ref": "ResponseMetadata", + "description": "Additional information for the API invocation, such as the request tracking id." + } + }, + "id": "ListJobsResponse" + }, + "PostalAddress": { + "properties": { + "languageCode": { + "description": "Optional. BCP-47 language code of the contents of this address (if known). This is often the UI language of the input form or is expected to match one of the languages used in the address' country/region, or their transliterated equivalents. This can affect formatting in certain countries, but is not critical to the correctness of the data and will never affect any validation or other non-formatting related operations. If this value is not known, it should be omitted (rather than specifying a possibly incorrect default). Examples: \"zh-Hant\", \"ja\", \"ja-Latn\", \"en\".", + "type": "string" + }, + "sortingCode": { + "description": "Optional. Additional, country-specific, sorting code. This is not used in most regions. Where it is used, the value is either a string like \"CEDEX\", optionally followed by a number (e.g. \"CEDEX 7\"), or just a number alone, representing the \"sector code\" (Jamaica), \"delivery area indicator\" (Malawi) or \"post office indicator\" (e.g. Côte d'Ivoire).", + "type": "string" + }, + "administrativeArea": { + "description": "Optional. Highest administrative subdivision which is used for postal addresses of a country or region. For example, this can be a state, a province, an oblast, or a prefecture. Specifically, for Spain this is the province and not the autonomous community (e.g. \"Barcelona\" and not \"Catalonia\"). Many countries don't use an administrative area in postal addresses. E.g. in Switzerland this should be left unpopulated.", + "type": "string" + }, + "locality": { + "description": "Optional. Generally refers to the city/town portion of the address. Examples: US city, IT comune, UK post town. In regions of the world where localities are not well defined or do not fit into this structure well, leave locality empty and use address_lines.", + "type": "string" + }, + "sublocality": { + "description": "Optional. Sublocality of the address. For example, this can be neighborhoods, boroughs, districts.", + "type": "string" + }, + "recipients": { + "description": "Optional. The recipient at the address. This field may, under certain circumstances, contain multiline information. For example, it might contain \"care of\" information.", + "type": "array", + "items": { + "type": "string" + } + }, + "organization": { + "type": "string", + "description": "Optional. The name of the organization at the address." + }, + "addressLines": { + "description": "Unstructured address lines describing the lower levels of an address. Because values in address_lines do not have type information and may sometimes contain multiple values in a single field (e.g. \"Austin, TX\"), it is important that the line order is clear. The order of address lines should be \"envelope order\" for the country/region of the address. In places where this can vary (e.g. Japan), address_language is used to make it explicit (e.g. \"ja\" for large-to-small ordering and \"ja-Latn\" or \"en\" for small-to-large). This way, the most specific line of an address can be selected based on the language. The minimum permitted structural representation of an address consists of a region_code with all remaining information placed in the address_lines. It would be possible to format such an address very approximately without geocoding, but no semantic reasoning could be made about any of the address components until it was at least partially resolved. Creating an address only containing a region_code and address_lines, and then geocoding is the recommended way to handle completely unstructured addresses (as opposed to guessing which parts of the address should be localities or administrative areas).", + "items": { + "type": "string" + }, + "type": "array" + }, + "postalCode": { + "description": "Optional. Postal code of the address. Not all countries use or require postal codes to be present, but where they are used, they may trigger additional validation with other parts of the address (e.g. state/zip validation in the U.S.A.).", + "type": "string" + }, + "revision": { + "description": "The schema revision of the `PostalAddress`. This must be set to 0, which is the latest revision. All new revisions **must** be backward compatible with old revisions.", + "format": "int32", + "type": "integer" + }, + "regionCode": { + "type": "string", + "description": "Required. CLDR region code of the country/region of the address. This is never inferred and it is up to the user to ensure the value is correct. See http://cldr.unicode.org/ and http://www.unicode.org/cldr/charts/30/supplemental/territory_information.html for details. Example: \"CH\" for Switzerland." + } + }, + "description": "Represents a postal address, e.g. for postal delivery or payments addresses. Given a postal address, a postal service can deliver items to a premise, P.O. Box or similar. It is not intended to model geographical locations (roads, towns, mountains). In typical usage an address would be created via user input or from importing existing data, depending on the type of process. Advice on address input / editing: - Use an i18n-ready address widget such as https://github.com/google/libaddressinput) - Users should not be presented with UI elements for input or editing of fields outside countries where that field is used. For more guidance on how to use this schema, please see: https://support.google.com/business/answer/6397478", + "id": "PostalAddress", + "type": "object" + }, + "HistogramResults": { + "description": "Output only. Histogram results that matches HistogramFacets specified in SearchJobsRequest.", + "properties": { + "compensationHistogramResults": { + "items": { + "$ref": "CompensationHistogramResult" + }, + "description": "Specifies compensation field-based histogram results that matches HistogramFacets.compensation_histogram_requests.", + "type": "array" + }, + "simpleHistogramResults": { + "description": "Specifies histogram results that matches HistogramFacets.simple_histogram_facets.", + "items": { + "$ref": "HistogramResult" + }, + "type": "array" + }, + "customAttributeHistogramResults": { + "items": { + "$ref": "CustomAttributeHistogramResult" + }, + "description": "Specifies histogram results for custom attributes that matches HistogramFacets.custom_attribute_histogram_facets.", + "type": "array" + } + }, + "type": "object", + "id": "HistogramResults" + }, + "LocationFilter": { + "properties": { + "regionCode": { + "type": "string", + "description": "Optional. CLDR region code of the country/region of the address. This will be used to address ambiguity of the user-input location, e.g. \"Liverpool\" against \"Liverpool, NY, US\" or \"Liverpool, UK\". Set this field if all the jobs to search against are from a same region, or jobs are world-wide but the job seeker is from a specific region. See http://cldr.unicode.org/ and http://www.unicode.org/cldr/charts/30/supplemental/territory_information.html for details. Example: \"CH\" for Switzerland." + }, + "name": { + "type": "string", + "description": "Optional. The address name, such as \"Mountain View\" or \"Bay Area\"." + }, + "isTelecommute": { + "type": "boolean", + "description": "Optional. Allows the client to return jobs without a set location, specifically, telecommuting jobs (telecomuting is considered by the service as a special location. Job.allow_telecommute indicates if a job permits telecommuting. If this field is true, telecommuting jobs are searched, and name and lat_lng are ignored. This filter can be used by itself to search exclusively for telecommuting jobs, or it can be combined with another location filter to search for a combination of job locations, such as \"Mountain View\" or \"telecommuting\" jobs. However, when used in combination with other location filters, telecommuting jobs can be treated as less relevant than other jobs in the search response." + }, + "latLng": { + "description": "Optional. The latitude and longitude of the geographic center from which to search. This field is ignored if `location_name` is provided.", + "$ref": "LatLng" + }, + "distanceInMiles": { + "type": "number", + "description": "Optional. The distance_in_miles is applied when the location being searched for is identified as a city or smaller. When the location being searched for is a state or larger, this field is ignored.", + "format": "double" + } + }, + "type": "object", + "id": "LocationFilter", + "description": "Input only. Geographic region of the search." + }, + "GoogleCloudTalentV4BatchCreateJobsResponse": { + "description": "The result of JobService.BatchCreateJobs. It's used to replace google.longrunning.Operation.response in case of success.", + "type": "object", + "id": "GoogleCloudTalentV4BatchCreateJobsResponse", + "properties": { + "jobResults": { + "items": { + "$ref": "GoogleCloudTalentV4JobResult" + }, + "description": "List of job mutation results from a batch create operation. It can change until operation status is FINISHED, FAILED or CANCELLED.", + "type": "array" + } + } + }, + "ExtendedCompensationInfoDecimal": { + "type": "object", + "id": "ExtendedCompensationInfoDecimal", + "description": "Deprecated. See CompensationInfo. Decimal number.", + "properties": { + "micros": { + "format": "int32", + "description": "Micro (10^-6) units. The value must be between -999,999 and +999,999 inclusive. If `units` is positive, `micros` must be positive or zero. If `units` is zero, `micros` can be positive, zero, or negative. If `units` is negative, `micros` must be negative or zero. For example -1.75 is represented as `units`=-1 and `micros`=-750,000.", + "type": "integer" + }, + "units": { + "description": "Whole units.", + "format": "int64", + "type": "string" + } + } + }, + "ExtendedCompensationInfo": { + "id": "ExtendedCompensationInfo", + "properties": { + "annualizedTotalCompensationUnspecified": { + "type": "boolean", + "description": "Output only. Indicates annualized total compensation range cannot be derived, due to the job's all CompensationEntry cannot be annualized. See CompensationEntry for explanation on annualization and base compensation entry." + }, + "annualizedTotalCompensationRange": { + "$ref": "ExtendedCompensationInfoCompensationRange", + "description": "Output only. Annualized total compensation range." + }, + "annualizedBaseCompensationUnspecified": { + "type": "boolean", + "description": "Output only. Indicates annualized base compensation range cannot be derived, due to the job's base compensation entry cannot be annualized. See CompensationEntry for explanation on annualization and base compensation entry." + }, + "entries": { + "description": "Optional. Job compensation information. At most one entry can be of type ExtendedCompensationInfo.CompensationType.BASE, which is referred as ** base compensation entry ** for the job.", + "items": { + "$ref": "ExtendedCompensationInfoCompensationEntry" + }, + "type": "array" + }, + "annualizedBaseCompensationRange": { + "$ref": "ExtendedCompensationInfoCompensationRange", + "description": "Output only. Annualized base compensation range." + }, + "currency": { + "type": "string", + "description": "Optional. A 3-letter [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) currency code." + } + }, + "description": "Deprecated. Use CompensationInfo. Describes job compensation.", + "type": "object" + }, + "CompanyInfoSource": { + "id": "CompanyInfoSource", + "description": "A resource that represents an external Google identifier for a company, for example, a Google+ business page or a Google Maps business page. For unsupported types, use `unknown_type_id`.", + "properties": { + "gplusId": { + "type": "string", + "description": "Optional. The numeric identifier for the employer's Google+ business page." + }, + "unknownTypeId": { + "type": "string", + "description": "Optional. A Google identifier that does not match any of the other types." + }, + "freebaseMid": { + "type": "string", + "description": "Optional. The Google's Knowledge Graph value for the employer's company." + }, + "mapsCid": { + "type": "string", + "description": "Optional. The numeric identifier for the employer's headquarters on Google Maps, namely, the Google Maps CID (cell id)." + } + }, + "type": "object" + }, + "Job": { + "description": "A Job resource represents a job posting (also referred to as a \"job listing\" or \"job requisition\"). A job belongs to a Company, which is the hiring entity responsible for the job.", + "properties": { + "languageCode": { + "description": "Optional. The language of the posting. This field is distinct from any requirements for fluency that are associated with the job. Language codes must be in BCP-47 format, such as \"en-US\" or \"sr-Latn\". For more information, see [Tags for Identifying Languages](https://tools.ietf.org/html/bcp47){: class=\"external\" target=\"_blank\" }. If this field is unspecified and Job.description is present, detected language code based on Job.description is assigned, otherwise defaults to 'en_US'.", + "type": "string" + }, + "extendedCompensationInfo": { + "description": "Deprecated. Always use compensation_info. Optional. Job compensation information. This field replaces compensation_info. Only CompensationInfo.entries or extended_compensation_info can be set, otherwise an exception is thrown.", + "$ref": "ExtendedCompensationInfo" + }, + "createTime": { + "description": "Output only. The timestamp when this job was created.", + "format": "google-datetime", + "type": "string" + }, + "requisitionId": { + "type": "string", + "description": "Required. The requisition ID, also referred to as the posting ID, assigned by the client to identify a job. This field is intended to be used by clients for client identification and tracking of listings. A job is not allowed to be created if there is another job with the same requisition_id, company_name and language_code. The maximum number of allowed characters is 255." + }, + "unindexedCustomFields": { + "additionalProperties": { + "$ref": "CustomField" + }, + "type": "object", + "description": "Deprecated. Use custom_attributes instead. Optional. A map of fields to hold non-filterable custom job attributes, similar to filterable_custom_fields. These fields are distinct in that the data in these fields are not indexed. Therefore, the client cannot search against them, nor can the client use them to list jobs. The key of the map can be any valid string." + }, + "referenceUrl": { + "type": "string", + "description": "Output only. The URL of a web page that displays job details." + }, + "publishDate": { + "description": "Optional. The date this job was most recently published in UTC format. The default value is the time the request arrives at the server.", + "$ref": "Date" + }, + "educationLevels": { + "type": "array", + "description": "Optional. The desired education level for the job, such as \"Bachelors\", \"Masters\", \"Doctorate\".", + "items": { + "type": "string", + "enum": [ + "EDUCATION_LEVEL_UNSPECIFIED", + "HIGH_SCHOOL", + "ASSOCIATE", + "BACHELORS", + "MASTERS", + "DOCTORATE", + "NO_DEGREE_REQUIRED" + ], + "enumDescriptions": [ + "The default value if the level is not specified.", + "A High School diploma is required for the position.", + "An Associate degree is required for the position.", + "A Bachelors degree is required for the position.", + "A Masters degree is required for the position.", + "A Doctorate degree is required for the position.", + "No formal education is required for the position." + ] + } + }, + "description": { + "type": "string", + "description": "Required. The description of the job, which typically includes a multi-paragraph description of the company and related information. Separate fields are provided on the job object for responsibilities, qualifications, and other job characteristics. Use of these separate job fields is recommended. This field accepts and sanitizes HTML input, and also accepts bold, italic, ordered list, and unordered list markup tags. The maximum number of allowed characters is 100,000." + }, + "updateTime": { + "type": "string", + "description": "Output only. The timestamp when this job was last updated.", + "format": "google-datetime" + }, + "endDate": { + "description": "Optional. The end date of the job in UTC time zone. Typically this field is used for contracting engagements. Dates prior to 1970/1/1 and invalid date formats are ignored.", + "$ref": "Date" + }, + "jobLocations": { + "items": { + "$ref": "JobLocation" + }, + "type": "array", + "description": "Output only. Structured locations of the job, resolved from locations." + }, + "name": { + "type": "string", + "description": "Required during job update. Resource name assigned to a job by the API, for example, \"/jobs/foo\". Use of this field in job queries and API calls is preferred over the use of requisition_id since this value is unique." + }, + "visibility": { + "enum": [ + "JOB_VISIBILITY_UNSPECIFIED", + "PRIVATE", + "GOOGLE", + "PUBLIC" + ], + "type": "string", + "enumDescriptions": [ + "Default value.", + "The Job is only visible to the owner.", + "The Job is visible to the owner and may be visible to other applications and processes at Google. Not yet supported. Use PRIVATE.", + "The Job is visible to the owner and may be visible to all other API clients. Not yet supported. Use PRIVATE." + ], + "description": "Optional. The visibility of the job. Defaults to JobVisibility.PRIVATE if not specified. Currently only JobVisibility.PRIVATE is supported." + }, + "distributorCompanyId": { + "description": "Optional but one of company_name or distributor_company_id must be provided. A unique company identifier used by job distributors to identify an employer's company entity. company_name takes precedence over this field, and is the recommended field to use to identify companies. The maximum number of allowed characters is 255.", + "type": "string" + }, + "customAttributes": { + "additionalProperties": { + "$ref": "CustomAttribute" + }, + "description": "Optional. A map of fields to hold both filterable and non-filterable custom job attributes that are not covered by the provided structured fields. This field is a more general combination of the deprecated id-based filterable_custom_fields and string-based non_filterable_custom_fields. The keys of the map are strings up to 64 bytes and must match the pattern: a-zA-Z*. At most 100 filterable and at most 100 unfilterable keys are supported. For filterable `string_values`, across all keys at most 200 values are allowed, with each string no more than 255 characters. For unfilterable `string_values`, the maximum total size of `string_values` across all keys is 50KB.", + "type": "object" + }, + "benefits": { + "items": { + "enumDescriptions": [ + "Default value if the type is not specified.", + "The job includes access to programs that support child care, such as daycare.", + "The job includes dental services that are covered by a dental insurance plan.", + "The job offers specific benefits to domestic partners.", + "The job allows for a flexible work schedule.", + "The job includes health services that are covered by a medical insurance plan.", + "The job includes a life insurance plan provided by the employer or available for purchase by the employee.", + "The job allows for a leave of absence to a parent to care for a newborn child.", + "The job includes a workplace retirement plan provided by the employer or available for purchase by the employee.", + "The job allows for paid time off due to illness.", + "Deprecated. Set Region.TELECOMMUTE instead. The job allows telecommuting (working remotely).", + "The job includes paid time off for vacation.", + "The job includes vision services that are covered by a vision insurance plan." + ], + "enum": [ + "JOB_BENEFIT_TYPE_UNSPECIFIED", + "CHILD_CARE", + "DENTAL", + "DOMESTIC_PARTNER", + "FLEXIBLE_HOURS", + "MEDICAL", + "LIFE_INSURANCE", + "PARENTAL_LEAVE", + "RETIREMENT_PLAN", + "SICK_DAYS", + "TELECOMMUTE", + "VACATION", + "VISION" + ], + "type": "string" + }, + "type": "array", + "description": "Optional. The benefits included with the job." + }, + "jobTitle": { + "type": "string", + "description": "Required. The title of the job, such as \"Software Engineer\" The maximum number of allowed characters is 500." + }, + "companyDisplayName": { + "description": "Output only. The name of the company listing the job.", + "type": "string" + }, + "applicationInstruction": { + "description": "Optional but at least one of application_urls, application_email_list or application_instruction must be specified. Use this field to provide instructions, such as \"Mail your application to ...\", that a candidate can follow to apply for the job. This field accepts and sanitizes HTML input, and also accepts bold, italic, ordered list, and unordered list markup tags. The maximum number of allowed characters is 3,000.", + "type": "string" + }, + "expiryDate": { + "description": "Deprecated. Use expire_time instead. Optional but strongly recommended to be provided for the best service experience. The expiration date of the job in UTC time. After 12 am on this date, the job is marked as expired, and it no longer appears in search results. The expired job can't be deleted or listed by the DeleteJob and ListJobs APIs, but it can be retrieved with the GetJob API or updated with the UpdateJob API. An expired job can be updated and opened again by using a future expiration date. It can also remain expired. Updating an expired job to be open fails if there is another existing open job with same requisition_id, company_name and language_code. The expired jobs are retained in our system for 90 days. However, the overall expired job count cannot exceed 3 times the maximum of open jobs count over the past week, otherwise jobs with earlier expire time are removed first. Expired jobs are no longer accessible after they are cleaned out. A valid date range is between 1970/1/1 and 2100/12/31. Invalid dates are ignored and treated as expiry date not provided. If this value is not provided on job creation or is invalid, the job posting expires after 30 days from the job's creation time. For example, if the job was created on 2017/01/01 13:00AM UTC with an unspecified expiration date, the job expires after 2017/01/31 13:00AM UTC. If this value is not provided on job update, it depends on the field masks set by UpdateJobRequest.update_job_fields. If the field masks include expiry_date, or the masks are empty meaning that every field is updated, the job expires after 30 days from the job's last update time. Otherwise the expiration date isn't updated.", + "$ref": "Date" + }, + "filterableCustomFields": { + "type": "object", + "additionalProperties": { + "$ref": "CustomField" + }, + "description": "Deprecated. Use custom_attributes instead. Optional. A map of fields to hold filterable custom job attributes not captured by the standard fields such as job_title, company_name, or level. These custom fields store arbitrary string values, and can be used for purposes not covered by the structured fields. For the best search experience, use of the structured rather than custom fields is recommended. Data stored in these custom fields fields are indexed and searched against by keyword searches (see SearchJobsRequest.custom_field_filters][]). The map key must be a number between 1-20. If an invalid key is provided on job create or update, an error is returned." + }, + "employmentTypes": { + "type": "array", + "description": "Optional. The employment type(s) of a job, for example, full time or part time.", + "items": { + "enum": [ + "EMPLOYMENT_TYPE_UNSPECIFIED", + "FULL_TIME", + "PART_TIME", + "CONTRACTOR", + "TEMPORARY", + "INTERN", + "VOLUNTEER", + "PER_DIEM", + "CONTRACT_TO_HIRE", + "FLY_IN_FLY_OUT", + "OTHER" + ], + "type": "string", + "enumDescriptions": [ + "The default value if the employment type is not specified.", + "The job requires working a number of hours that constitute full time employment, typically 40 or more hours per week.", + "The job entails working fewer hours than a full time job, typically less than 40 hours a week.", + "The job is offered as a contracted, as opposed to a salaried employee, position.", + "The job is offered as a temporary employment opportunity, usually a short-term engagement.", + "The job is a fixed-term opportunity for students or entry-level job seekers to obtain on-the-job training, typically offered as a summer position.", + "The is an opportunity for an individual to volunteer, where there is no expectation of compensation for the provided services.", + "The job requires an employee to work on an as-needed basis with a flexible schedule.", + "The job is offered as a contracted position with the understanding that it is converted into a full-time position at the end of the contract. Jobs of this type are also returned by a search for EmploymentType.CONTRACTOR jobs.", + "The job involves employing people in remote areas and flying them temporarily to the work site instead of relocating employees and their families permanently.", + "The job does not fit any of the other listed types." + ] + } + }, + "startDate": { + "$ref": "Date", + "description": "Optional. The start date of the job in UTC time zone. Typically this field is used for contracting engagements. Dates prior to 1970/1/1 and invalid date formats are ignored." + }, + "level": { + "description": "Optional. The experience level associated with the job, such as \"Entry Level\".", + "enum": [ + "JOB_LEVEL_UNSPECIFIED", + "ENTRY_LEVEL", + "EXPERIENCED", + "MANAGER", + "DIRECTOR", + "EXECUTIVE" + ], + "enumDescriptions": [ + "The default value if the level is not specified.", + "Entry-level individual contributors, typically with less than 2 years of experience in a similar role. Includes interns.", + "Experienced individual contributors, typically with 2+ years of experience in a similar role.", + "Entry- to mid-level managers responsible for managing a team of people.", + "Senior-level managers responsible for managing teams of managers.", + "Executive-level managers and above, including C-level positions." + ], + "type": "string" + }, + "promotionValue": { + "type": "integer", + "description": "Optional. A promotion value of the job, as determined by the client. The value determines the sort order of the jobs returned when searching for jobs using the featured jobs search call, with higher promotional values being returned first and ties being resolved by relevance sort. Only the jobs with a promotionValue \u003e0 are returned in a FEATURED_JOB_SEARCH. Default value is 0, and negative values are treated as 0.", + "format": "int32" + }, + "expireTime": { + "format": "google-datetime", + "type": "string", + "description": "Optional but strongly recommended for the best service experience. The expiration timestamp of the job. After this timestamp, the job is marked as expired, and it no longer appears in search results. The expired job can't be deleted or listed by the DeleteJob and ListJobs APIs, but it can be retrieved with the GetJob API or updated with the UpdateJob API. An expired job can be updated and opened again by using a future expiration timestamp. Updating an expired job fails if there is another existing open job with same requisition_id, company_name and language_code. The expired jobs are retained in our system for 90 days. However, the overall expired job count cannot exceed 3 times the maximum of open jobs count over the past week, otherwise jobs with earlier expire time are cleaned first. Expired jobs are no longer accessible after they are cleaned out. The format of this field is RFC 3339 date strings. Example: 2000-01-01T00:00:00.999999999Z See [https://www.ietf.org/rfc/rfc3339.txt](https://www.ietf.org/rfc/rfc3339.txt). A valid date range is between 1970-01-01T00:00:00.0Z and 2100-12-31T23:59:59.999Z. Invalid dates are ignored and treated as expire time not provided. If this value is not provided at the time of job creation or is invalid, the job posting expires after 30 days from the job's creation time. For example, if the job was created on 2017/01/01 13:00AM UTC with an unspecified expiration date, the job expires after 2017/01/31 13:00AM UTC. If this value is not provided but expiry_date is, expiry_date is used. If this value is not provided on job update, it depends on the field masks set by UpdateJobRequest.update_job_fields. If the field masks include expiry_time, or the masks are empty meaning that every field is updated, the job posting expires after 30 days from the job's last update time. Otherwise the expiration date isn't updated." + }, + "department": { + "description": "Optional. The department or functional area within the company with the open position. The maximum number of allowed characters is 255.", + "type": "string" + }, + "companyTitle": { + "description": "Deprecated. Use company_display_name instead. Output only. The name of the company listing the job.", + "type": "string" + }, + "region": { + "type": "string", + "enumDescriptions": [ + "If the region is unspecified, the job is only returned if it matches the LocationFilter.", + "In additiona to exact location matching, job is returned when the LocationFilter in search query is in the same state as this job. For example, if a `STATE_WIDE` job is posted in \"CA, USA\", it is returned if LocationFilter has \"Mountain View\".", + "In addition to exact location matching, job is returned when LocationFilter in search query is in the same country as this job. For example, if a `NATION_WIDE` job is posted in \"USA\", it is returned if LocationFilter has 'Mountain View'.", + "Job allows employees to work remotely (telecommute). If locations are provided with this value, the job is considered as having a location, but telecommuting is allowed." + ], + "enum": [ + "REGION_UNSPECIFIED", + "STATE_WIDE", + "NATION_WIDE", + "TELECOMMUTE" + ], + "description": "Optional. The job Region (for example, state, country) throughout which the job is available. If this field is set, a LocationFilter in a search query within the job region finds this job if an exact location match is not specified. If this field is set, setting job locations to the same location level as this field is strongly recommended." + }, + "responsibilities": { + "description": "Optional. A description of job responsibilities. The use of this field is recommended as an alternative to using the more general description field. This field accepts and sanitizes HTML input, and also accepts bold, italic, ordered list, and unordered list markup tags. The maximum number of allowed characters is 10,000.", + "type": "string" + }, + "applicationEmailList": { + "description": "Optional but at least one of application_urls, application_email_list or application_instruction must be specified. Use this field to specify email address(es) to which resumes or applications can be sent. The maximum number of allowed characters is 255.", + "items": { + "type": "string" + }, + "type": "array" + }, + "applicationUrls": { + "items": { + "type": "string" + }, + "description": "Optional but at least one of application_urls, application_email_list or application_instruction must be specified. Use this URL field to direct an applicant to a website, for example to link to an online application form. The maximum number of allowed characters is 2,000.", + "type": "array" + }, + "companyName": { + "type": "string", + "description": "Optional but one of company_name or distributor_company_id must be provided. The resource name of the company listing the job, such as /companies/foo. This field takes precedence over the distributor-assigned company identifier, distributor_company_id." + }, + "incentives": { + "description": "Optional. A description of bonus, commission, and other compensation incentives associated with the job not including salary or pay. The maximum number of allowed characters is 10,000.", + "type": "string" + }, + "locations": { + "type": "array", + "description": "Optional but strongly recommended for the best service experience. Location(s) where the emploeyer is looking to hire for this job posting. Specifying the full street address(es) of the hiring location enables better API results, especially job searches by commute time. At most 50 locations are allowed for best search performance. If a job has more locations, it is suggested to split it into multiple jobs with unique requisition_ids (e.g. 'ReqA' becomes 'ReqA-1', 'ReqA-2', etc.) as multiple jobs with the same requisition_id, company_name and language_code are not allowed. If the original requisition_id must be preserved, a custom field should be used for storage. It is also suggested to group the locations that close to each other in the same job for better search experience. The maximum number of allowed characters is 500.", + "items": { + "type": "string" + } + }, + "qualifications": { + "type": "string", + "description": "Optional. A description of the qualifications required to perform the job. The use of this field is recommended as an alternative to using the more general description field. This field accepts and sanitizes HTML input, and also accepts bold, italic, ordered list, and unordered list markup tags. The maximum number of allowed characters is 10,000." + }, + "compensationInfo": { + "description": "Optional. Job compensation information.", + "$ref": "CompensationInfo" + } + }, + "id": "Job", + "type": "object" + }, + "CustomField": { + "description": "Resource that represents the custom data not captured by the standard fields.", + "id": "CustomField", + "properties": { + "values": { + "description": "Optional. The values of the custom data.", + "type": "array", + "items": { + "type": "string" + } + } + }, + "type": "object" + }, + "Company": { + "id": "Company", + "description": "A Company resource represents a company in the service. A company is the entity that owns job listings, that is, the hiring entity responsible for employing applicants for the job position.", + "properties": { + "keywordSearchableCustomAttributes": { + "description": "Optional. A list of keys of filterable Job.custom_attributes, whose corresponding `string_values` are used in keyword search. Jobs with `string_values` under these specified field keys are returned if any of the values matches the search keyword. Custom field values with parenthesis, brackets and special symbols might not be properly searchable, and those keyword queries need to be surrounded by quotes.", + "items": { + "type": "string" + }, + "type": "array" + }, + "website": { + "type": "string", + "description": "Optional. The URL representing the company's primary web site or home page, such as, \"www.google.com\"." + }, + "eeoText": { + "description": "Optional. Equal Employment Opportunity legal disclaimer text to be associated with all jobs, and typically to be displayed in all roles. The maximum number of allowed characters is 500.", + "type": "string" + }, + "hiringAgency": { + "description": "Optional. Set to true if it is the hiring agency that post jobs for other employers. Defaults to false if not provided.", + "type": "boolean" + }, + "imageUrl": { + "description": "Optional. A URL that hosts the employer's company logo. If provided, the logo image should be squared at 80x80 pixels. The url must be a Google Photos or Google Album url. Only images in these Google sub-domains are accepted.", + "type": "string" + }, + "displayName": { + "type": "string", + "description": "Required. The name of the employer to be displayed with the job, for example, \"Google, LLC.\"." + }, + "title": { + "description": "Deprecated. Use display_name instead. Required. The name of the employer to be displayed with the job, for example, \"Google, LLC.\".", + "type": "string" + }, + "name": { + "description": "Required during company update. The resource name for a company. This is generated by the service when a company is created, for example, \"companies/0000aaaa-1111-bbbb-2222-cccc3333dddd\".", + "type": "string" + }, + "hqLocation": { + "description": "Optional. The street address of the company's main headquarters, which may be different from the job location. The service attempts to geolocate the provided address, and populates a more specific location wherever possible in structured_company_hq_location.", + "type": "string" + }, + "companySize": { + "description": "Optional. The employer's company size.", + "enum": [ + "COMPANY_SIZE_UNSPECIFIED", + "MINI", + "SMALL", + "SMEDIUM", + "MEDIUM", + "BIG", + "BIGGER", + "GIANT" + ], + "enumDescriptions": [ + "Default value if the size is not specified.", + "The company has less than 50 employees.", + "The company has between 50 and 99 employees.", + "The company has between 100 and 499 employees.", + "The company has between 500 and 999 employees.", + "The company has between 1,000 and 4,999 employees.", + "The company has between 5,000 and 9,999 employees.", + "The company has 10,000 or more employees." + ], + "type": "string" + }, + "keywordSearchableCustomFields": { + "items": { + "format": "int32", + "type": "integer" + }, + "type": "array", + "description": "Deprecated. Use keyword_searchable_custom_attributes instead. Optional. A list of filterable custom fields that should be used in keyword search. The jobs of this company are returned if any of these custom fields matches the search keyword. Custom field values with parenthesis, brackets and special symbols might not be properly searchable, and those keyword queries need to be surrounded by quotes." + }, + "companyInfoSources": { + "items": { + "$ref": "CompanyInfoSource" + }, + "type": "array", + "description": "Optional. Identifiers external to the application that help to further identify the employer." + }, + "structuredCompanyHqLocation": { + "$ref": "JobLocation", + "description": "Output only. A structured headquarters location of the company, resolved from hq_location if possible." + }, + "distributorBillingCompanyId": { + "type": "string", + "description": "Optional. The unique company identifier provided by the client to identify an employer for billing purposes. Recommended practice is to use the distributor_company_id. Defaults to same value as distributor_company_id when a value is not provided." + }, + "suspended": { + "description": "Output only. Indicates whether a company is flagged to be suspended from public availability by the service when job content appears suspicious, abusive, or spammy.", + "type": "boolean" + }, + "careerPageLink": { + "description": "Optional. The URL to employer's career site or careers page on the employer's web site.", + "type": "string" + }, + "distributorCompanyId": { + "type": "string", + "description": "Required. A client's company identifier, used to uniquely identify the company. If an employer has a subsidiary or sub-brand, such as \"Alphabet\" and \"Google\", which the client wishes to use as the company displayed on the job. Best practice is to create a distinct company identifier for each distinct brand displayed. The maximum number of allowed characters is 255." + }, + "disableLocationOptimization": { + "description": "Deprecated. Do not use this field. Optional. This field is no longer used. Any value set to it is ignored.", + "type": "boolean" + } + }, + "type": "object" + }, + "JobQuery": { + "properties": { + "customAttributeFilter": { + "type": "string", + "description": "Optional. This filter specifies a structured syntax to match against the Job.custom_attributes marked as `filterable`. The syntax for this expression is a subset of Google SQL syntax. Supported operators are: =, !=, \u003c, \u003c=, \u003e, \u003e= where the left of the operator is a custom field key and the right of the operator is a number or string (surrounded by quotes) value. Supported functions are LOWER() to perform case insensitive match and EMPTY() to filter on the existence of a key. Boolean expressions (AND/OR/NOT) are supported up to 3 levels of nesting (for example, \"((A AND B AND C) OR NOT D) AND E\"), a maximum of 50 comparisons/functions are allowed in the expression. The expression must be \u003c 2000 characters in length. Sample Query: (key1 = \"TEST\" OR LOWER(key1)=\"test\" OR NOT EMPTY(key1)) AND key2 \u003e 100" + }, + "locationFilters": { + "description": "Optional. The location filter specifies geo-regions containing the jobs to search against. See LocationFilter for more information. If a location value isn't specified, jobs fitting the other search criteria are retrieved regardless of where they're located. If multiple values are specified, jobs are retrieved from any of the specified locations. If different values are specified for the LocationFilter.distance_in_miles parameter, the maximum provided distance is used for all locations. At most 5 location filters are allowed.", + "items": { + "$ref": "LocationFilter" + }, + "type": "array" + }, + "employmentTypes": { + "items": { + "enumDescriptions": [ + "The default value if the employment type is not specified.", + "The job requires working a number of hours that constitute full time employment, typically 40 or more hours per week.", + "The job entails working fewer hours than a full time job, typically less than 40 hours a week.", + "The job is offered as a contracted, as opposed to a salaried employee, position.", + "The job is offered as a temporary employment opportunity, usually a short-term engagement.", + "The job is a fixed-term opportunity for students or entry-level job seekers to obtain on-the-job training, typically offered as a summer position.", + "The is an opportunity for an individual to volunteer, where there is no expectation of compensation for the provided services.", + "The job requires an employee to work on an as-needed basis with a flexible schedule.", + "The job is offered as a contracted position with the understanding that it is converted into a full-time position at the end of the contract. Jobs of this type are also returned by a search for EmploymentType.CONTRACTOR jobs.", + "The job involves employing people in remote areas and flying them temporarily to the work site instead of relocating employees and their families permanently.", + "The job does not fit any of the other listed types." + ], + "enum": [ + "EMPLOYMENT_TYPE_UNSPECIFIED", + "FULL_TIME", + "PART_TIME", + "CONTRACTOR", + "TEMPORARY", + "INTERN", + "VOLUNTEER", + "PER_DIEM", + "CONTRACT_TO_HIRE", + "FLY_IN_FLY_OUT", + "OTHER" + ], + "type": "string" + }, + "type": "array", + "description": "Optional. The employment type filter specifies the employment type of jobs to search against, such as EmploymentType.FULL_TIME. If a value is not specified, jobs in the search results include any employment type. If multiple values are specified, jobs in the search results include any of the specified employment types." + }, + "commuteFilter": { + "$ref": "CommutePreference", + "description": "Optional. Allows filtering jobs by commute time with different travel methods (for example, driving or public transit). Note: This only works with COMMUTE MODE. When specified, [JobQuery.location_filters] is ignored. Currently we don't support sorting by commute time." + }, + "compensationFilter": { + "$ref": "CompensationFilter", + "description": "Optional. This search filter is applied only to Job.compensation_info. For example, if the filter is specified as \"Hourly job with per-hour compensation \u003e $15\", only jobs meeting these criteria are searched. If a filter isn't defined, all open jobs are searched." + }, + "query": { + "type": "string", + "description": "Optional. The query string that matches against the job title, description, and location fields. The maximum query size is 255 bytes." + }, + "companyDisplayNames": { + "type": "array", + "description": "Optional. This filter specifies the exact company display name of the jobs to search against. If a value isn't specified, jobs within the search results are associated with any company. If multiple values are specified, jobs within the search results may be associated with any of the specified companies. At most 20 company display name filters are allowed.", + "items": { + "type": "string" + } + }, + "languageCodes": { + "description": "Optional. This filter specifies the locale of jobs to search against, for example, \"en-US\". If a value isn't specified, the search results can contain jobs in any locale. Language codes should be in BCP-47 format, such as \"en-US\" or \"sr-Latn\". For more information, see [Tags for Identifying Languages](https://tools.ietf.org/html/bcp47). At most 10 language code filters are allowed.", + "items": { + "type": "string" + }, + "type": "array" + }, + "publishDateRange": { + "enum": [ + "DATE_RANGE_UNSPECIFIED", + "PAST_24_HOURS", + "PAST_WEEK", + "PAST_MONTH", + "PAST_YEAR", + "PAST_3_DAYS" + ], + "enumDescriptions": [ + "Default value: Filtering on time is not performed.", + "The past 24 hours", + "The past week (7 days)", + "The past month (30 days)", + "The past year (365 days)", + "The past 3 days" + ], + "description": "Optional. Jobs published within a range specified by this filter are searched against, for example, DateRange.PAST_MONTH. If a value isn't specified, all open jobs are searched against regardless of their published date.", + "type": "string" + }, + "categories": { + "description": "Optional. The category filter specifies the categories of jobs to search against. See Category for more information. If a value is not specified, jobs from any category are searched against. If multiple values are specified, jobs from any of the specified categories are searched against.", + "items": { + "type": "string", + "enumDescriptions": [ + "The default value if the category is not specified.", + "An accounting and finance job, such as an Accountant.", + "And administrative and office job, such as an Administrative Assistant.", + "An advertising and marketing job, such as Marketing Manager.", + "An animal care job, such as Veterinarian.", + "An art, fashion, or design job, such as Designer.", + "A business operations job, such as Business Operations Manager.", + "A cleaning and facilities job, such as Custodial Staff.", + "A computer and IT job, such as Systems Administrator.", + "A construction job, such as General Laborer.", + "A customer service job, such s Cashier.", + "An education job, such as School Teacher.", + "An entertainment and travel job, such as Flight Attendant.", + "A farming or outdoor job, such as Park Ranger.", + "A healthcare job, such as Registered Nurse.", + "A human resources job, such as Human Resources Director.", + "An installation, maintenance, or repair job, such as Electrician.", + "A legal job, such as Law Clerk.", + "A management job, often used in conjunction with another category, such as Store Manager.", + "A manufacturing or warehouse job, such as Assembly Technician.", + "A media, communications, or writing job, such as Media Relations.", + "An oil, gas or mining job, such as Offshore Driller.", + "A personal care and services job, such as Hair Stylist.", + "A protective services job, such as Security Guard.", + "A real estate job, such as Buyer's Agent.", + "A restaurant and hospitality job, such as Restaurant Server.", + "A sales and/or retail job, such Sales Associate.", + "A science and engineering job, such as Lab Technician.", + "A social services or non-profit job, such as Case Worker.", + "A sports, fitness, or recreation job, such as Personal Trainer.", + "A transportation or logistics job, such as Truck Driver." + ], + "enum": [ + "JOB_CATEGORY_UNSPECIFIED", + "ACCOUNTING_AND_FINANCE", + "ADMINISTRATIVE_AND_OFFICE", + "ADVERTISING_AND_MARKETING", + "ANIMAL_CARE", + "ART_FASHION_AND_DESIGN", + "BUSINESS_OPERATIONS", + "CLEANING_AND_FACILITIES", + "COMPUTER_AND_IT", + "CONSTRUCTION", + "CUSTOMER_SERVICE", + "EDUCATION", + "ENTERTAINMENT_AND_TRAVEL", + "FARMING_AND_OUTDOORS", + "HEALTHCARE", + "HUMAN_RESOURCES", + "INSTALLATION_MAINTENANCE_AND_REPAIR", + "LEGAL", + "MANAGEMENT", + "MANUFACTURING_AND_WAREHOUSE", + "MEDIA_COMMUNICATIONS_AND_WRITING", + "OIL_GAS_AND_MINING", + "PERSONAL_CARE_AND_SERVICES", + "PROTECTIVE_SERVICES", + "REAL_ESTATE", + "RESTAURANT_AND_HOSPITALITY", + "SALES_AND_RETAIL", + "SCIENCE_AND_ENGINEERING", + "SOCIAL_SERVICES_AND_NON_PROFIT", + "SPORTS_FITNESS_AND_RECREATION", + "TRANSPORTATION_AND_LOGISTICS" + ] + }, + "type": "array" + }, + "companyNames": { + "description": "Optional. This filter specifies the company entities to search against. If a value isn't specified, jobs are searched for against all companies. If multiple values are specified, jobs are searched against the companies specified. At most 20 company filters are allowed.", + "items": { + "type": "string" + }, + "type": "array" + }, + "disableSpellCheck": { + "type": "boolean", + "description": "Optional. This flag controls the spell-check feature. If false, the service attempts to correct a misspelled query, for example, \"enginee\" is corrected to \"engineer\". Defaults to false: a spell check is performed." + } + }, + "description": "Input only. The query required to perform a search query or histogram.", + "id": "JobQuery", + "type": "object" + }, + "CompensationRange": { + "description": "Compensation range.", + "type": "object", + "id": "CompensationRange", + "properties": { + "min": { + "$ref": "Money", + "description": "Optional. The minimum amount of compensation. If left empty, the value is set to zero and the currency code is set to match the currency code of max_compensation." + }, + "max": { + "description": "Optional. The maximum amount of compensation. If left empty, the value is set to a maximal compensation value and the currency code is set to match the currency code of min_compensation.", + "$ref": "Money" + } + } + }, + "Date": { + "id": "Date", + "description": "Represents a whole or partial calendar date, e.g. a birthday. The time of day and time zone are either specified elsewhere or are not significant. The date is relative to the Proleptic Gregorian Calendar. This can represent: * A full date, with non-zero year, month and day values * A month and day value, with a zero year, e.g. an anniversary * A year on its own, with zero month and day values * A year and month value, with a zero day, e.g. a credit card expiration date Related types are google.type.TimeOfDay and `google.protobuf.Timestamp`.", + "properties": { + "day": { + "format": "int32", + "type": "integer", + "description": "Day of month. Must be from 1 to 31 and valid for the year and month, or 0 if specifying a year by itself or a year and month where the day is not significant." + }, + "month": { + "type": "integer", + "description": "Month of year. Must be from 1 to 12, or 0 if specifying a year without a month and day.", + "format": "int32" + }, + "year": { + "type": "integer", + "description": "Year of date. Must be from 1 to 9999, or 0 if specifying a date without a year.", + "format": "int32" + } + }, + "type": "object" + }, + "UpdateJobRequest": { + "description": "Input only. Update job request.", + "id": "UpdateJobRequest", + "properties": { + "job": { + "$ref": "Job", + "description": "Required. The Job to be updated." + }, + "disableStreetAddressResolution": { + "type": "boolean", + "description": "Deprecated. Please use processing_options. This flag is ignored if processing_options is set. Optional. If set to `true`, the service does not attempt resolve a more precise address for the job." + }, + "updateJobFields": { + "type": "string", + "format": "google-fieldmask", + "description": "Optional but strongly recommended to be provided for the best service experience. If update_job_fields is provided, only the specified fields in job are updated. Otherwise all the fields are updated. A field mask to restrict the fields that are updated. Valid values are: * jobTitle * employmentTypes * description * applicationUrls * applicationEmailList * applicationInstruction * responsibilities * qualifications * educationLevels * level * department * startDate * endDate * compensationInfo * incentives * languageCode * benefits * expireTime * customAttributes * visibility * publishDate * promotionValue * locations * region * expiryDate (deprecated) * filterableCustomFields (deprecated) * unindexedCustomFields (deprecated)" + }, + "processingOptions": { + "$ref": "JobProcessingOptions", + "description": "Optional. Options for job processing. UpdateJobRequest.disable_street_address_resolution is ignored if this flag is set." + } + }, + "type": "object" + }, + "Filter": { + "description": "Deprecated. Use BatchDeleteJobsRequest instead. Input only. Filter for jobs to be deleted.", + "type": "object", + "properties": { + "requisitionId": { + "description": "Required. The requisition ID (or posting ID) assigned by the client to identify a job. This is intended for client identification and tracking of listings. name takes precedence over this field The maximum number of allowed characters is 225.", + "type": "string" + } + }, + "id": "Filter" + }, + "CommutePreference": { + "description": "Input only. Parameters needed for commute search.", + "properties": { + "roadTraffic": { + "type": "string", + "description": "Optional. Specifies the traffic density to use when calculating commute time. Must not be present if departure_hour_local is specified.", + "enum": [ + "ROAD_TRAFFIC_UNSPECIFIED", + "TRAFFIC_FREE", + "BUSY_HOUR" + ], + "enumDescriptions": [ + "Road traffic situation is not specified.", + "Optimal commute time without considering any traffic impact.", + "Commute time calculation takes in account the peak traffic impact." + ] + }, + "allowNonStreetLevelAddress": { + "type": "boolean", + "description": "Optional. If `true`, jobs without street level addresses may also be returned. For city level addresses, the city center is used. For state and coarser level addresses, text matching is used. If this field is set to `false` or is not specified, only jobs that include street level addresses will be returned by commute search." + }, + "departureHourLocal": { + "type": "integer", + "description": "Optional. The departure hour to use to calculate traffic impact. Accepts an integer between 0 and 23, representing the hour in the time zone of the start_location. Must not be present if road_traffic is specified.", + "format": "int32" + }, + "travelTime": { + "description": "Required. The maximum travel time in seconds. The maximum allowed value is `3600s` (one hour). Format is `123s`.", + "format": "google-duration", + "type": "string" + }, + "startLocation": { + "$ref": "LatLng", + "description": "Required. The latitude and longitude of the location from which to calculate the commute time." + }, + "method": { + "enumDescriptions": [ + "Commute method is not specified.", + "Commute time is calculated based on driving time.", + "Commute time is calculated based on public transit including bus, metro, subway, etc." + ], + "type": "string", + "description": "Required. The method of transportation for which to calculate the commute time.", + "enum": [ + "COMMUTE_METHOD_UNSPECIFIED", + "DRIVING", + "TRANSIT" + ] + } + }, + "id": "CommutePreference", + "type": "object" + }, + "BatchDeleteJobsRequest": { + "type": "object", + "id": "BatchDeleteJobsRequest", + "description": "Input only. Batch delete jobs request.", + "properties": { + "filter": { + "type": "string", + "description": "Required. The filter string specifies the jobs to be deleted. Supported operator: =, AND The fields eligible for filtering are: * `companyName` (Required) * `requisitionId` (Required) Sample Query: companyName = \"companies/123\" AND requisitionId = \"req-1\"" + } + } + }, + "GoogleCloudTalentV4Location": { + "properties": { + "radiusMiles": { + "description": "Radius in miles of the job location. This value is derived from the location bounding box in which a circle with the specified radius centered from google.type.LatLng covers the area associated with the job location. For example, currently, \"Mountain View, CA, USA\" has a radius of 6.17 miles.", + "format": "double", + "type": "number" + }, + "latLng": { + "description": "An object representing a latitude/longitude pair.", + "$ref": "LatLng" + }, + "postalAddress": { + "description": "Postal address of the location that includes human readable information, such as postal delivery and payments addresses. Given a postal address, a postal service can deliver items to a premises, P.O. Box, or other delivery location.", + "$ref": "PostalAddress" + }, + "locationType": { + "enum": [ + "LOCATION_TYPE_UNSPECIFIED", + "COUNTRY", + "ADMINISTRATIVE_AREA", + "SUB_ADMINISTRATIVE_AREA", + "LOCALITY", + "POSTAL_CODE", + "SUB_LOCALITY", + "SUB_LOCALITY_1", + "SUB_LOCALITY_2", + "NEIGHBORHOOD", + "STREET_ADDRESS" + ], + "type": "string", + "enumDescriptions": [ + "Default value if the type isn't specified.", + "A country level location.", + "A state or equivalent level location.", + "A county or equivalent level location.", + "A city or equivalent level location.", + "A postal code level location.", + "A sublocality is a subdivision of a locality, for example a city borough, ward, or arrondissement. Sublocalities are usually recognized by a local political authority. For example, Manhattan and Brooklyn are recognized as boroughs by the City of New York, and are therefore modeled as sublocalities.", + "A district or equivalent level location.", + "A smaller district or equivalent level display.", + "A neighborhood level location.", + "A street address level location." + ], + "description": "The type of a location, which corresponds to the address lines field of google.type.PostalAddress. For example, \"Downtown, Atlanta, GA, USA\" has a type of LocationType.NEIGHBORHOOD, and \"Kansas City, KS, USA\" has a type of LocationType.LOCALITY." + } + }, + "description": "A resource that represents a location with full geographic information.", + "id": "GoogleCloudTalentV4Location", + "type": "object" + }, + "MendelDebugInput": { + "type": "object", + "id": "MendelDebugInput", + "description": "Message representing input to a Mendel server for debug forcing. See go/mendel-debug-forcing for more details. Next ID: 2", + "properties": { + "namespacedDebugInput": { + "additionalProperties": { + "$ref": "NamespacedDebugInput" + }, + "description": "When a request spans multiple servers, a MendelDebugInput may travel with the request and take effect in all the servers. This field is a map of namespaces to NamespacedMendelDebugInput protos. In a single server, up to two NamespacedMendelDebugInput protos are applied: 1. NamespacedMendelDebugInput with the global namespace (key == \"\"). 2. NamespacedMendelDebugInput with the server's namespace. When both NamespacedMendelDebugInput protos are present, they are merged. See go/mendel-debug-forcing for more details.", + "type": "object" + } + } + } + }, + "fullyEncodeReservedExpansion": true, + "version": "v2", + "discoveryVersion": "v1", + "protocol": "rest", + "ownerDomain": "google.com", + "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. ", + "servicePath": "", + "title": "Cloud Talent Solution API", + "parameters": { + "oauth_token": { + "type": "string", + "description": "OAuth 2.0 token for the current user.", + "location": "query" + }, + "uploadType": { + "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", + "type": "string", + "location": "query" + }, + "quotaUser": { + "type": "string", + "location": "query", + "description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters." + }, + "$.xgafv": { + "location": "query", + "type": "string", + "enumDescriptions": [ + "v1 error format", + "v2 error format" + ], + "description": "V1 error format.", + "enum": [ + "1", + "2" + ] + }, + "upload_protocol": { + "location": "query", + "description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", + "type": "string" + }, + "key": { + "description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", + "type": "string", + "location": "query" + }, + "fields": { + "location": "query", + "description": "Selector specifying which fields to include in a partial response.", + "type": "string" + }, + "access_token": { + "location": "query", + "description": "OAuth access token.", + "type": "string" + }, + "callback": { + "description": "JSONP", + "type": "string", + "location": "query" + }, + "alt": { + "default": "json", + "type": "string", + "enumDescriptions": [ + "Responses with Content-Type of application/json", + "Media download with context-dependent Content-Type", + "Responses with Content-Type of application/x-protobuf" + ], + "location": "query", + "description": "Data format for response.", + "enum": [ + "json", + "media", + "proto" + ] + }, + "prettyPrint": { + "type": "boolean", + "location": "query", + "description": "Returns response with indentations and line breaks.", + "default": "true" + } + }, + "baseUrl": "https://jobs.googleapis.com/", + "kind": "discovery#restDescription", + "auth": { + "oauth2": { + "scopes": { + "https://www.googleapis.com/auth/cloud-platform": { + "description": "View and manage your data across Google Cloud Platform services" + }, + "https://www.googleapis.com/auth/jobs": { + "description": "Manage job postings" + } + } + } + }, + "documentationLink": "https://cloud.google.com/talent-solution/job-search/docs/", + "ownerName": "Google", + "name": "jobs", + "resources": { + "jobs": { + "methods": { + "searchForAlert": { + "description": "Searches for jobs using the provided SearchJobsRequest. This API call is intended for the use case of targeting passive job seekers (for example, job seekers who have signed up to receive email alerts about potential job opportunities), and has different algorithmic adjustments that are targeted to passive job seekers. This call constrains the visibility of jobs present in the database, and only returns jobs the caller has permission to search against.", + "flatPath": "v2/jobs:searchForAlert", + "path": "v2/jobs:searchForAlert", + "response": { + "$ref": "SearchJobsResponse" + }, + "request": { + "$ref": "SearchJobsRequest" + }, + "parameters": {}, + "id": "jobs.jobs.searchForAlert", + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/jobs" + ], + "httpMethod": "POST", + "parameterOrder": [] + }, + "get": { + "parameterOrder": [ + "name" + ], + "httpMethod": "GET", + "path": "v2/{+name}", + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/jobs" + ], + "flatPath": "v2/jobs/{jobsId}", + "description": "Retrieves the specified job, whose status is OPEN or recently EXPIRED within the last 90 days.", + "parameters": { + "name": { + "required": true, + "description": "Required. The resource name of the job to retrieve, such as \"jobs/11111111\".", + "pattern": "^jobs/[^/]+$", + "location": "path", + "type": "string" + } + }, + "response": { + "$ref": "Job" + }, + "id": "jobs.jobs.get" + }, + "search": { + "path": "v2/jobs:search", + "httpMethod": "POST", + "response": { + "$ref": "SearchJobsResponse" + }, + "id": "jobs.jobs.search", + "parameters": {}, + "flatPath": "v2/jobs:search", + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/jobs" + ], + "description": "Searches for jobs using the provided SearchJobsRequest. This call constrains the visibility of jobs present in the database, and only returns jobs that the caller has permission to search against.", + "parameterOrder": [], + "request": { + "$ref": "SearchJobsRequest" + } + }, + "deleteByFilter": { + "httpMethod": "POST", + "parameterOrder": [], + "response": { + "$ref": "Empty" + }, + "path": "v2/jobs:deleteByFilter", + "flatPath": "v2/jobs:deleteByFilter", + "request": { + "$ref": "DeleteJobsByFilterRequest" + }, + "parameters": {}, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/jobs" + ], + "id": "jobs.jobs.deleteByFilter", + "description": "Deprecated. Use BatchDeleteJobs instead. Deletes the specified job by filter. You can specify whether to synchronously wait for validation, indexing, and general processing to be completed before the response is returned." + }, + "batchDelete": { + "response": { + "$ref": "Empty" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/jobs" + ], + "request": { + "$ref": "BatchDeleteJobsRequest" + }, + "httpMethod": "POST", + "flatPath": "v2/jobs:batchDelete", + "id": "jobs.jobs.batchDelete", + "description": "Deletes a list of Job postings by filter.", + "path": "v2/jobs:batchDelete", + "parameterOrder": [], + "parameters": {} + }, + "histogram": { + "parameters": {}, + "description": "Deprecated. Use SearchJobsRequest.histogram_facets instead to make a single call with both search and histogram. Retrieves a histogram for the given GetHistogramRequest. This call provides a structured count of jobs that match against the search query, grouped by specified facets. This call constrains the visibility of jobs present in the database, and only counts jobs the caller has permission to search against. For example, use this call to generate the number of jobs in the U.S. by state.", + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/jobs" + ], + "flatPath": "v2/jobs:histogram", + "parameterOrder": [], + "path": "v2/jobs:histogram", + "request": { + "$ref": "GetHistogramRequest" + }, + "httpMethod": "POST", + "response": { + "$ref": "GetHistogramResponse" + }, + "id": "jobs.jobs.histogram" + }, + "create": { + "httpMethod": "POST", + "response": { + "$ref": "Job" + }, + "flatPath": "v2/jobs", + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/jobs" + ], + "description": "Creates a new job. Typically, the job becomes searchable within 10 seconds, but it may take up to 5 minutes.", + "parameters": {}, + "parameterOrder": [], + "id": "jobs.jobs.create", + "path": "v2/jobs", + "request": { + "$ref": "CreateJobRequest" + } + }, + "patch": { + "path": "v2/{+name}", + "parameterOrder": [ + "name" + ], + "request": { + "$ref": "UpdateJobRequest" + }, + "httpMethod": "PATCH", + "parameters": { + "name": { + "description": "Required during job update. Resource name assigned to a job by the API, for example, \"/jobs/foo\". Use of this field in job queries and API calls is preferred over the use of requisition_id since this value is unique.", + "location": "path", + "pattern": "^jobs/[^/]+$", + "required": true, + "type": "string" + } + }, + "flatPath": "v2/jobs/{jobsId}", + "id": "jobs.jobs.patch", + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/jobs" + ], + "response": { + "$ref": "Job" + }, + "description": "Updates specified job. Typically, updated contents become visible in search results within 10 seconds, but it may take up to 5 minutes." + }, + "list": { + "parameters": { + "pageSize": { + "format": "int32", + "location": "query", + "type": "integer", + "description": "Optional. The maximum number of jobs to be returned per page of results. If ids_only is set to true, the maximum allowed page size is 1000. Otherwise, the maximum allowed page size is 100. Default is 100 if empty or a number \u003c 1 is specified." + }, + "filter": { + "location": "query", + "type": "string", + "description": "Required. The filter string specifies the jobs to be enumerated. Supported operator: =, AND The fields eligible for filtering are: * `companyName` (Required) * `requisitionId` (Optional) Sample Query: * companyName = \"companies/123\" * companyName = \"companies/123\" AND requisitionId = \"req-1\"" + }, + "idsOnly": { + "type": "boolean", + "location": "query", + "description": "Optional. If set to `true`, only Job.name, Job.requisition_id and Job.language_code will be returned. A typical use case is to synchronize job repositories. Defaults to false." + }, + "pageToken": { + "description": "Optional. The starting point of a query result.", + "type": "string", + "location": "query" + } + }, + "id": "jobs.jobs.list", + "flatPath": "v2/jobs", + "path": "v2/jobs", + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/jobs" + ], + "description": "Lists jobs by filter.", + "httpMethod": "GET", + "parameterOrder": [], + "response": { + "$ref": "ListJobsResponse" + } + }, + "delete": { + "path": "v2/{+name}", + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/jobs" + ], + "description": "Deletes the specified job. Typically, the job becomes unsearchable within 10 seconds, but it may take up to 5 minutes.", + "parameters": { + "disableFastProcess": { + "description": "Deprecated. This field is not working anymore. Optional. If set to true, this call waits for all processing steps to complete before the job is cleaned up. Otherwise, the call returns while some steps are still taking place asynchronously, hence faster.", + "type": "boolean", + "location": "query" + }, + "name": { + "location": "path", + "type": "string", + "pattern": "^jobs/[^/]+$", + "required": true, + "description": "Required. The resource name of the job to be deleted, such as \"jobs/11111111\"." + } + }, + "response": { + "$ref": "Empty" + }, + "id": "jobs.jobs.delete", + "parameterOrder": [ + "name" + ], + "flatPath": "v2/jobs/{jobsId}", + "httpMethod": "DELETE" + } + } + }, + "companies": { + "methods": { + "delete": { + "parameters": { + "name": { + "type": "string", + "location": "path", + "pattern": "^companies/[^/]+$", + "description": "Required. The resource name of the company to be deleted, such as, \"companies/0000aaaa-1111-bbbb-2222-cccc3333dddd\".", + "required": true + } + }, + "path": "v2/{+name}", + "response": { + "$ref": "Empty" + }, + "id": "jobs.companies.delete", + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/jobs" + ], + "description": "Deletes the specified company.", + "parameterOrder": [ + "name" + ], + "httpMethod": "DELETE", + "flatPath": "v2/companies/{companiesId}" + }, + "list": { + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/jobs" + ], + "parameterOrder": [], + "description": "Lists all companies associated with a Cloud Talent Solution account.", + "path": "v2/companies", + "httpMethod": "GET", + "response": { + "$ref": "ListCompaniesResponse" + }, + "id": "jobs.companies.list", + "parameters": { + "pageToken": { + "description": "Optional. The starting indicator from which to return results.", + "location": "query", + "type": "string" + }, + "pageSize": { + "location": "query", + "type": "integer", + "format": "int32", + "description": "Optional. The maximum number of companies to be returned, at most 100. Default is 100 if a non-positive number is provided." + }, + "mustHaveOpenJobs": { + "description": "Optional. Set to true if the companies request must have open jobs. Defaults to false. If true, at most page_size of companies are fetched, among which only those with open jobs are returned.", + "location": "query", + "type": "boolean" + } + }, + "flatPath": "v2/companies" + }, + "create": { + "description": "Creates a new company entity.", + "request": { + "$ref": "Company" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/jobs" + ], + "flatPath": "v2/companies", + "path": "v2/companies", + "id": "jobs.companies.create", + "httpMethod": "POST", + "response": { + "$ref": "Company" + }, + "parameterOrder": [], + "parameters": {} + }, + "patch": { + "description": "Updates the specified company. Company names can't be updated. To update a company name, delete the company and all jobs associated with it, and only then re-create them.", + "parameters": { + "updateCompanyFields": { + "type": "string", + "format": "google-fieldmask", + "description": "Optional but strongly recommended to be provided for the best service experience. If update_company_fields is provided, only the specified fields in company are updated. Otherwise all the fields are updated. A field mask to specify the company fields to update. Valid values are: * displayName * website * imageUrl * companySize * distributorBillingCompanyId * companyInfoSources * careerPageLink * hiringAgency * hqLocation * eeoText * keywordSearchableCustomAttributes * title (deprecated) * keywordSearchableCustomFields (deprecated)", + "location": "query" + }, + "name": { + "type": "string", + "pattern": "^companies/[^/]+$", + "required": true, + "location": "path", + "description": "Required during company update. The resource name for a company. This is generated by the service when a company is created, for example, \"companies/0000aaaa-1111-bbbb-2222-cccc3333dddd\"." + } + }, + "id": "jobs.companies.patch", + "path": "v2/{+name}", + "flatPath": "v2/companies/{companiesId}", + "httpMethod": "PATCH", + "request": { + "$ref": "Company" + }, + "parameterOrder": [ + "name" + ], + "response": { + "$ref": "Company" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/jobs" + ] + }, + "get": { + "flatPath": "v2/companies/{companiesId}", + "parameters": { + "name": { + "type": "string", + "location": "path", + "description": "Required. Resource name of the company to retrieve, such as \"companies/0000aaaa-1111-bbbb-2222-cccc3333dddd\".", + "required": true, + "pattern": "^companies/[^/]+$" + } + }, + "description": "Retrieves the specified company.", + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/jobs" + ], + "parameterOrder": [ + "name" + ], + "path": "v2/{+name}", + "id": "jobs.companies.get", + "response": { + "$ref": "Company" + }, + "httpMethod": "GET" + } + }, + "resources": { + "jobs": { + "methods": { + "list": { + "parameters": { + "includeJobsCount": { + "location": "query", + "description": "Deprecated. Please DO NOT use this field except for small companies. Suggest counting jobs page by page instead. Optional. Set to true if the total number of open jobs is to be returned. Defaults to false.", + "type": "boolean" + }, + "idsOnly": { + "description": "Optional. If set to `true`, only job ID, job requisition ID and language code will be returned. A typical use is to synchronize job repositories. Defaults to false.", + "location": "query", + "type": "boolean" + }, + "jobRequisitionId": { + "description": "Optional. The requisition ID, also known as posting ID, assigned by the company to the job. The maximum number of allowable characters is 225.", + "type": "string", + "location": "query" + }, + "pageToken": { + "type": "string", + "description": "Optional. The starting point of a query result.", + "location": "query" + }, + "companyName": { + "pattern": "^companies/[^/]+$", + "required": true, + "description": "Required. The resource name of the company that owns the jobs to be listed, such as, \"companies/0000aaaa-1111-bbbb-2222-cccc3333dddd\".", + "location": "path", + "type": "string" + }, + "pageSize": { + "format": "int32", + "description": "Optional. The maximum number of jobs to be returned per page of results. If ids_only is set to true, the maximum allowed page size is 1000. Otherwise, the maximum allowed page size is 100. Default is 100 if empty or a number \u003c 1 is specified.", + "type": "integer", + "location": "query" + } + }, + "httpMethod": "GET", + "flatPath": "v2/companies/{companiesId}/jobs", + "response": { + "$ref": "ListCompanyJobsResponse" + }, + "id": "jobs.companies.jobs.list", + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/jobs" + ], + "path": "v2/{+companyName}/jobs", + "parameterOrder": [ + "companyName" + ], + "description": "Deprecated. Use ListJobs instead. Lists all jobs associated with a company." + } + } + } + } + }, + "v2": { + "methods": { + "complete": { + "parameterOrder": [], + "id": "jobs.complete", + "description": "Completes the specified prefix with job keyword suggestions. Intended for use by a job search auto-complete search box.", + "parameters": { + "query": { + "description": "Required. The query used to generate suggestions.", + "location": "query", + "type": "string" + }, + "type": { + "enumDescriptions": [ + "Default value.", + "Only suggest job titles.", + "Only suggest company names.", + "Suggest both job titles and company names." + ], + "location": "query", + "type": "string", + "description": "Optional. The completion topic. The default is CompletionType.COMBINED.", + "enum": [ + "COMPLETION_TYPE_UNSPECIFIED", + "JOB_TITLE", + "COMPANY_NAME", + "COMBINED" + ] + }, + "languageCode": { + "location": "query", + "description": "Required. The language of the query. This is the BCP-47 language code, such as \"en-US\" or \"sr-Latn\". For more information, see [Tags for Identifying Languages](https://tools.ietf.org/html/bcp47). For CompletionType.JOB_TITLE type, only open jobs with same language_code are returned. For CompletionType.COMPANY_NAME type, only companies having open jobs with same language_code are returned. For CompletionType.COMBINED type, only open jobs with same language_code or companies having open jobs with same language_code are returned.", + "type": "string" + }, + "scope": { + "enum": [ + "COMPLETION_SCOPE_UNSPECIFIED", + "TENANT", + "PUBLIC" + ], + "location": "query", + "enumDescriptions": [ + "Default value.", + "Suggestions are based only on the data provided by the client.", + "Suggestions are based on all jobs data in the system that's visible to the client" + ], + "type": "string", + "description": "Optional. The scope of the completion. The defaults is CompletionScope.PUBLIC." + }, + "pageSize": { + "description": "Required. Completion result count. The maximum allowed page size is 10.", + "format": "int32", + "type": "integer", + "location": "query" + }, + "companyName": { + "location": "query", + "type": "string", + "description": "Optional. If provided, restricts completion to the specified company." + } + }, + "path": "v2:complete", + "response": { + "$ref": "CompleteQueryResponse" + }, + "httpMethod": "GET", + "flatPath": "v2:complete", + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/jobs" + ] + } + } + } + } +} diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/jobs.v3.json b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/jobs.v3.json new file mode 100644 index 0000000000000000000000000000000000000000..37be4e652d50038c713afcd1c7933c5e18683619 --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/jobs.v3.json @@ -0,0 +1,2676 @@ +{ +"auth": { +"oauth2": { +"scopes": { +"https://www.googleapis.com/auth/cloud-platform": { +"description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." +}, +"https://www.googleapis.com/auth/jobs": { +"description": "Manage job postings" +} +} +} +}, +"basePath": "", +"baseUrl": "https://jobs.googleapis.com/", +"batchPath": "batch", +"canonicalName": "Cloud Talent Solution", +"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. ", +"discoveryVersion": "v1", +"documentationLink": "https://cloud.google.com/talent-solution/job-search/docs/", +"fullyEncodeReservedExpansion": true, +"icons": { +"x16": "http://www.google.com/images/icons/product/search-16.gif", +"x32": "http://www.google.com/images/icons/product/search-32.gif" +}, +"id": "jobs:v3", +"kind": "discovery#restDescription", +"mtlsRootUrl": "https://jobs.mtls.googleapis.com/", +"name": "jobs", +"ownerDomain": "google.com", +"ownerName": "Google", +"parameters": { +"$.xgafv": { +"description": "V1 error format.", +"enum": [ +"1", +"2" +], +"enumDescriptions": [ +"v1 error format", +"v2 error format" +], +"location": "query", +"type": "string" +}, +"access_token": { +"description": "OAuth access token.", +"location": "query", +"type": "string" +}, +"alt": { +"default": "json", +"description": "Data format for response.", +"enum": [ +"json", +"media", +"proto" +], +"enumDescriptions": [ +"Responses with Content-Type of application/json", +"Media download with context-dependent Content-Type", +"Responses with Content-Type of application/x-protobuf" +], +"location": "query", +"type": "string" +}, +"callback": { +"description": "JSONP", +"location": "query", +"type": "string" +}, +"fields": { +"description": "Selector specifying which fields to include in a partial response.", +"location": "query", +"type": "string" +}, +"key": { +"description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", +"location": "query", +"type": "string" +}, +"oauth_token": { +"description": "OAuth 2.0 token for the current user.", +"location": "query", +"type": "string" +}, +"prettyPrint": { +"default": "true", +"description": "Returns response with indentations and line breaks.", +"location": "query", +"type": "boolean" +}, +"quotaUser": { +"description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.", +"location": "query", +"type": "string" +}, +"uploadType": { +"description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", +"location": "query", +"type": "string" +}, +"upload_protocol": { +"description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", +"location": "query", +"type": "string" +} +}, +"protocol": "rest", +"resources": { +"projects": { +"methods": { +"complete": { +"description": "Completes the specified prefix with keyword suggestions. Intended for use by a job search auto-complete search box.", +"flatPath": "v3/projects/{projectsId}:complete", +"httpMethod": "GET", +"id": "jobs.projects.complete", +"parameterOrder": [ +"name" +], +"parameters": { +"companyName": { +"description": "Optional. If provided, restricts completion to specified company. The format is \"projects/{project_id}/companies/{company_id}\", for example, \"projects/api-test-project/companies/foo\".", +"location": "query", +"type": "string" +}, +"languageCode": { +"deprecated": true, +"description": "Deprecated. Use language_codes instead. Optional. The language of the query. This is the BCP-47 language code, such as \"en-US\" or \"sr-Latn\". For more information, see [Tags for Identifying Languages](https://tools.ietf.org/html/bcp47). For CompletionType.JOB_TITLE type, only open jobs with the same language_code are returned. For CompletionType.COMPANY_NAME type, only companies having open jobs with the same language_code are returned. For CompletionType.COMBINED type, only open jobs with the same language_code or companies having open jobs with the same language_code are returned. The maximum number of allowed characters is 255.", +"location": "query", +"type": "string" +}, +"languageCodes": { +"description": "Optional. The list of languages of the query. This is the BCP-47 language code, such as \"en-US\" or \"sr-Latn\". For more information, see [Tags for Identifying Languages](https://tools.ietf.org/html/bcp47). For CompletionType.JOB_TITLE type, only open jobs with the same language_codes are returned. For CompletionType.COMPANY_NAME type, only companies having open jobs with the same language_codes are returned. For CompletionType.COMBINED type, only open jobs with the same language_codes or companies having open jobs with the same language_codes are returned. The maximum number of allowed characters is 255.", +"location": "query", +"repeated": true, +"type": "string" +}, +"name": { +"description": "Required. Resource name of project the completion is performed within. The format is \"projects/{project_id}\", for example, \"projects/api-test-project\".", +"location": "path", +"pattern": "^projects/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "Required. Completion result count. The maximum allowed page size is 10.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"query": { +"description": "Required. The query used to generate suggestions. The maximum number of allowed characters is 255.", +"location": "query", +"type": "string" +}, +"scope": { +"description": "Optional. The scope of the completion. The defaults is CompletionScope.PUBLIC.", +"enum": [ +"COMPLETION_SCOPE_UNSPECIFIED", +"TENANT", +"PUBLIC" +], +"enumDescriptions": [ +"Default value.", +"Suggestions are based only on the data provided by the client.", +"Suggestions are based on all jobs data in the system that's visible to the client" +], +"location": "query", +"type": "string" +}, +"type": { +"description": "Optional. The completion topic. The default is CompletionType.COMBINED.", +"enum": [ +"COMPLETION_TYPE_UNSPECIFIED", +"JOB_TITLE", +"COMPANY_NAME", +"COMBINED" +], +"enumDescriptions": [ +"Default value.", +"Only suggest job titles.", +"Only suggest company names.", +"Suggest both job titles and company names." +], +"location": "query", +"type": "string" +} +}, +"path": "v3/{+name}:complete", +"response": { +"$ref": "CompleteQueryResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/jobs" +] +} +}, +"resources": { +"clientEvents": { +"methods": { +"create": { +"description": "Report events issued when end user interacts with customer's application that uses Cloud Talent Solution. You may inspect the created events in [self service tools](https://console.cloud.google.com/talent-solution/overview). [Learn more](https://cloud.google.com/talent-solution/docs/management-tools) about self service tools.", +"flatPath": "v3/projects/{projectsId}/clientEvents", +"httpMethod": "POST", +"id": "jobs.projects.clientEvents.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Parent project name.", +"location": "path", +"pattern": "^projects/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3/{+parent}/clientEvents", +"request": { +"$ref": "CreateClientEventRequest" +}, +"response": { +"$ref": "ClientEvent" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/jobs" +] +} +} +}, +"companies": { +"methods": { +"create": { +"description": "Creates a new company entity.", +"flatPath": "v3/projects/{projectsId}/companies", +"httpMethod": "POST", +"id": "jobs.projects.companies.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. Resource name of the project under which the company is created. The format is \"projects/{project_id}\", for example, \"projects/api-test-project\".", +"location": "path", +"pattern": "^projects/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3/{+parent}/companies", +"request": { +"$ref": "CreateCompanyRequest" +}, +"response": { +"$ref": "Company" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/jobs" +] +}, +"delete": { +"description": "Deletes specified company. Prerequisite: The company has no jobs associated with it.", +"flatPath": "v3/projects/{projectsId}/companies/{companiesId}", +"httpMethod": "DELETE", +"id": "jobs.projects.companies.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the company to be deleted. The format is \"projects/{project_id}/companies/{company_id}\", for example, \"projects/api-test-project/companies/foo\".", +"location": "path", +"pattern": "^projects/[^/]+/companies/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3/{+name}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/jobs" +] +}, +"get": { +"description": "Retrieves specified company.", +"flatPath": "v3/projects/{projectsId}/companies/{companiesId}", +"httpMethod": "GET", +"id": "jobs.projects.companies.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the company to be retrieved. The format is \"projects/{project_id}/companies/{company_id}\", for example, \"projects/api-test-project/companies/foo\".", +"location": "path", +"pattern": "^projects/[^/]+/companies/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3/{+name}", +"response": { +"$ref": "Company" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/jobs" +] +}, +"list": { +"description": "Lists all companies associated with the service account.", +"flatPath": "v3/projects/{projectsId}/companies", +"httpMethod": "GET", +"id": "jobs.projects.companies.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "Optional. The maximum number of companies to be returned, at most 100. Default is 100 if a non-positive number is provided.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. The starting indicator from which to return results.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. Resource name of the project under which the company is created. The format is \"projects/{project_id}\", for example, \"projects/api-test-project\".", +"location": "path", +"pattern": "^projects/[^/]+$", +"required": true, +"type": "string" +}, +"requireOpenJobs": { +"description": "Optional. Set to true if the companies requested must have open jobs. Defaults to false. If true, at most page_size of companies are fetched, among which only those with open jobs are returned.", +"location": "query", +"type": "boolean" +} +}, +"path": "v3/{+parent}/companies", +"response": { +"$ref": "ListCompaniesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/jobs" +] +}, +"patch": { +"description": "Updates specified company. Company names can't be updated. To update a company name, delete the company and all jobs associated with it, and only then re-create them.", +"flatPath": "v3/projects/{projectsId}/companies/{companiesId}", +"httpMethod": "PATCH", +"id": "jobs.projects.companies.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required during company update. The resource name for a company. This is generated by the service when a company is created. The format is \"projects/{project_id}/companies/{company_id}\", for example, \"projects/api-test-project/companies/foo\".", +"location": "path", +"pattern": "^projects/[^/]+/companies/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3/{+name}", +"request": { +"$ref": "UpdateCompanyRequest" +}, +"response": { +"$ref": "Company" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/jobs" +] +} +} +}, +"jobs": { +"methods": { +"batchDelete": { +"description": "Deletes a list of Jobs by filter.", +"flatPath": "v3/projects/{projectsId}/jobs:batchDelete", +"httpMethod": "POST", +"id": "jobs.projects.jobs.batchDelete", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The resource name of the project under which the job is created. The format is \"projects/{project_id}\", for example, \"projects/api-test-project\".", +"location": "path", +"pattern": "^projects/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3/{+parent}/jobs:batchDelete", +"request": { +"$ref": "BatchDeleteJobsRequest" +}, +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/jobs" +] +}, +"create": { +"description": "Creates a new job. Typically, the job becomes searchable within 10 seconds, but it may take up to 5 minutes.", +"flatPath": "v3/projects/{projectsId}/jobs", +"httpMethod": "POST", +"id": "jobs.projects.jobs.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The resource name of the project under which the job is created. The format is \"projects/{project_id}\", for example, \"projects/api-test-project\".", +"location": "path", +"pattern": "^projects/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3/{+parent}/jobs", +"request": { +"$ref": "CreateJobRequest" +}, +"response": { +"$ref": "Job" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/jobs" +] +}, +"delete": { +"description": "Deletes the specified job. Typically, the job becomes unsearchable within 10 seconds, but it may take up to 5 minutes.", +"flatPath": "v3/projects/{projectsId}/jobs/{jobsId}", +"httpMethod": "DELETE", +"id": "jobs.projects.jobs.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the job to be deleted. The format is \"projects/{project_id}/jobs/{job_id}\", for example, \"projects/api-test-project/jobs/1234\".", +"location": "path", +"pattern": "^projects/[^/]+/jobs/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3/{+name}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/jobs" +] +}, +"get": { +"description": "Retrieves the specified job, whose status is OPEN or recently EXPIRED within the last 90 days.", +"flatPath": "v3/projects/{projectsId}/jobs/{jobsId}", +"httpMethod": "GET", +"id": "jobs.projects.jobs.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the job to retrieve. The format is \"projects/{project_id}/jobs/{job_id}\", for example, \"projects/api-test-project/jobs/1234\".", +"location": "path", +"pattern": "^projects/[^/]+/jobs/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3/{+name}", +"response": { +"$ref": "Job" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/jobs" +] +}, +"list": { +"description": "Lists jobs by filter.", +"flatPath": "v3/projects/{projectsId}/jobs", +"httpMethod": "GET", +"id": "jobs.projects.jobs.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Required. The filter string specifies the jobs to be enumerated. Supported operator: =, AND The fields eligible for filtering are: * `companyName` * `requisitionId` * `status` Available values: OPEN, EXPIRED, ALL. Defaults to OPEN if no value is specified. At least one of `companyName` and `requisitionId` must present or an INVALID_ARGUMENT error is thrown. Sample Query: * companyName = \"projects/api-test-project/companies/123\" * companyName = \"projects/api-test-project/companies/123\" AND requisitionId = \"req-1\" * companyName = \"projects/api-test-project/companies/123\" AND status = \"EXPIRED\" * requisitionId = \"req-1\" * requisitionId = \"req-1\" AND status = \"EXPIRED\"", +"location": "query", +"type": "string" +}, +"jobView": { +"description": "Optional. The desired job attributes returned for jobs in the search response. Defaults to JobView.JOB_VIEW_FULL if no value is specified.", +"enum": [ +"JOB_VIEW_UNSPECIFIED", +"JOB_VIEW_ID_ONLY", +"JOB_VIEW_MINIMAL", +"JOB_VIEW_SMALL", +"JOB_VIEW_FULL" +], +"enumDescriptions": [ +"Default value.", +"A ID only view of job, with following attributes: Job.name, Job.requisition_id, Job.language_code.", +"A minimal view of the job, with the following attributes: Job.name, Job.requisition_id, Job.title, Job.company_name, Job.DerivedInfo.locations, Job.language_code.", +"A small view of the job, with the following attributes in the search results: Job.name, Job.requisition_id, Job.title, Job.company_name, Job.DerivedInfo.locations, Job.visibility, Job.language_code, Job.description.", +"All available attributes are included in the search results." +], +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Optional. The maximum number of jobs to be returned per page of results. If job_view is set to JobView.JOB_VIEW_ID_ONLY, the maximum allowed page size is 1000. Otherwise, the maximum allowed page size is 100. Default is 100 if empty or a number < 1 is specified.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. The starting point of a query result.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The resource name of the project under which the job is created. The format is \"projects/{project_id}\", for example, \"projects/api-test-project\".", +"location": "path", +"pattern": "^projects/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3/{+parent}/jobs", +"response": { +"$ref": "ListJobsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/jobs" +] +}, +"patch": { +"description": "Updates specified job. Typically, updated contents become visible in search results within 10 seconds, but it may take up to 5 minutes.", +"flatPath": "v3/projects/{projectsId}/jobs/{jobsId}", +"httpMethod": "PATCH", +"id": "jobs.projects.jobs.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required during job update. The resource name for the job. This is generated by the service when a job is created. The format is \"projects/{project_id}/jobs/{job_id}\", for example, \"projects/api-test-project/jobs/1234\". Use of this field in job queries and API calls is preferred over the use of requisition_id since this value is unique.", +"location": "path", +"pattern": "^projects/[^/]+/jobs/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3/{+name}", +"request": { +"$ref": "UpdateJobRequest" +}, +"response": { +"$ref": "Job" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/jobs" +] +}, +"search": { +"description": "Searches for jobs using the provided SearchJobsRequest. This call constrains the visibility of jobs present in the database, and only returns jobs that the caller has permission to search against.", +"flatPath": "v3/projects/{projectsId}/jobs:search", +"httpMethod": "POST", +"id": "jobs.projects.jobs.search", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The resource name of the project to search within. The format is \"projects/{project_id}\", for example, \"projects/api-test-project\".", +"location": "path", +"pattern": "^projects/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3/{+parent}/jobs:search", +"request": { +"$ref": "SearchJobsRequest" +}, +"response": { +"$ref": "SearchJobsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/jobs" +] +}, +"searchForAlert": { +"description": "Searches for jobs using the provided SearchJobsRequest. This API call is intended for the use case of targeting passive job seekers (for example, job seekers who have signed up to receive email alerts about potential job opportunities), and has different algorithmic adjustments that are targeted to passive job seekers. This call constrains the visibility of jobs present in the database, and only returns jobs the caller has permission to search against.", +"flatPath": "v3/projects/{projectsId}/jobs:searchForAlert", +"httpMethod": "POST", +"id": "jobs.projects.jobs.searchForAlert", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The resource name of the project to search within. The format is \"projects/{project_id}\", for example, \"projects/api-test-project\".", +"location": "path", +"pattern": "^projects/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3/{+parent}/jobs:searchForAlert", +"request": { +"$ref": "SearchJobsRequest" +}, +"response": { +"$ref": "SearchJobsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/jobs" +] +} +} +} +} +} +}, +"revision": "20251014", +"rootUrl": "https://jobs.googleapis.com/", +"schemas": { +"ApplicationInfo": { +"description": "Application related details of a job posting.", +"id": "ApplicationInfo", +"properties": { +"emails": { +"description": "Optional but at least one of uris, emails or instruction must be specified. Use this field to specify email address(es) to which resumes or applications can be sent. The maximum number of allowed characters for each entry is 255.", +"items": { +"type": "string" +}, +"type": "array" +}, +"instruction": { +"description": "Optional but at least one of uris, emails or instruction must be specified. Use this field to provide instructions, such as \"Mail your application to ...\", that a candidate can follow to apply for the job. This field accepts and sanitizes HTML input, and also accepts bold, italic, ordered list, and unordered list markup tags. The maximum number of allowed characters is 3,000.", +"type": "string" +}, +"uris": { +"description": "Optional but at least one of uris, emails or instruction must be specified. Use this URI field to direct an applicant to a website, for example to link to an online application form. The maximum number of allowed characters for each entry is 2,000.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"BatchDeleteJobsRequest": { +"description": "Input only. Batch delete jobs request.", +"id": "BatchDeleteJobsRequest", +"properties": { +"filter": { +"description": "Required. The filter string specifies the jobs to be deleted. Supported operator: =, AND The fields eligible for filtering are: * `companyName` (Required) * `requisitionId` (Required) Sample Query: companyName = \"projects/api-test-project/companies/123\" AND requisitionId = \"req-1\"", +"type": "string" +} +}, +"type": "object" +}, +"BucketRange": { +"description": "Represents starting and ending value of a range in double.", +"id": "BucketRange", +"properties": { +"from": { +"description": "Starting value of the bucket range.", +"format": "double", +"type": "number" +}, +"to": { +"description": "Ending value of the bucket range.", +"format": "double", +"type": "number" +} +}, +"type": "object" +}, +"BucketizedCount": { +"description": "Represents count of jobs within one bucket.", +"id": "BucketizedCount", +"properties": { +"count": { +"description": "Number of jobs whose numeric field value fall into `range`.", +"format": "int32", +"type": "integer" +}, +"range": { +"$ref": "BucketRange", +"description": "Bucket range on which histogram was performed for the numeric field, that is, the count represents number of jobs in this range." +} +}, +"type": "object" +}, +"ClientEvent": { +"description": "An event issued when an end user interacts with the application that implements Cloud Talent Solution. Providing this information improves the quality of search and recommendation for the API clients, enabling the service to perform optimally. The number of events sent must be consistent with other calls, such as job searches, issued to the service by the client.", +"id": "ClientEvent", +"properties": { +"createTime": { +"description": "Required. The timestamp of the event.", +"format": "google-datetime", +"type": "string" +}, +"eventId": { +"description": "Required. A unique identifier, generated by the client application. This `event_id` is used to establish the relationship between different events (see parent_event_id).", +"type": "string" +}, +"extraInfo": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. Extra information about this event. Used for storing information with no matching field in event payload, for example, user application specific context or details. At most 20 keys are supported. The maximum total size of all keys and values is 2 KB.", +"type": "object" +}, +"jobEvent": { +"$ref": "JobEvent", +"description": "A event issued when a job seeker interacts with the application that implements Cloud Talent Solution." +}, +"parentEventId": { +"description": "Optional. The event_id of an event that resulted in the current event. For example, a Job view event usually follows a parent impression event: A job seeker first does a search where a list of jobs appears (impression). The job seeker then selects a result and views the description of a particular job (Job view).", +"type": "string" +}, +"requestId": { +"description": "Required. A unique ID generated in the API responses. It can be found in ResponseMetadata.request_id.", +"type": "string" +} +}, +"type": "object" +}, +"CommuteFilter": { +"description": "Input only. Parameters needed for commute search.", +"id": "CommuteFilter", +"properties": { +"allowImpreciseAddresses": { +"description": "Optional. If true, jobs without \"precise\" addresses (street level addresses or GPS coordinates) might also be returned. For city and coarser level addresses, text matching is used. If this field is set to false or is not specified, only jobs that include precise addresses are returned by Commute Search. Note: If `allow_imprecise_addresses` is set to true, Commute Search is not able to calculate accurate commute times to jobs with city level and coarser address information. Jobs with imprecise addresses will return a `travel_duration` time of 0 regardless of distance from the job seeker.", +"type": "boolean" +}, +"commuteMethod": { +"description": "Required. The method of transportation for which to calculate the commute time.", +"enum": [ +"COMMUTE_METHOD_UNSPECIFIED", +"DRIVING", +"TRANSIT" +], +"enumDescriptions": [ +"Commute method is not specified.", +"Commute time is calculated based on driving time.", +"Commute time is calculated based on public transit including bus, metro, subway, etc." +], +"type": "string" +}, +"departureTime": { +"$ref": "TimeOfDay", +"description": "Optional. The departure time used to calculate traffic impact, represented as google.type.TimeOfDay in local time zone. Currently traffic model is restricted to hour level resolution." +}, +"roadTraffic": { +"description": "Optional. Specifies the traffic density to use when calculating commute time.", +"enum": [ +"ROAD_TRAFFIC_UNSPECIFIED", +"TRAFFIC_FREE", +"BUSY_HOUR" +], +"enumDescriptions": [ +"Road traffic situation is not specified.", +"Optimal commute time without considering any traffic impact.", +"Commute time calculation takes in account the peak traffic impact." +], +"type": "string" +}, +"startCoordinates": { +"$ref": "LatLng", +"description": "Required. The latitude and longitude of the location from which to calculate the commute time." +}, +"travelDuration": { +"description": "Required. The maximum travel time in seconds. The maximum allowed value is `3600s` (one hour). Format is `123s`.", +"format": "google-duration", +"type": "string" +} +}, +"type": "object" +}, +"CommuteInfo": { +"description": "Output only. Commute details related to this job.", +"id": "CommuteInfo", +"properties": { +"jobLocation": { +"$ref": "Location", +"description": "Location used as the destination in the commute calculation." +}, +"travelDuration": { +"description": "The number of seconds required to travel to the job location from the query location. A duration of 0 seconds indicates that the job is not reachable within the requested duration, but was returned as part of an expanded query.", +"format": "google-duration", +"type": "string" +} +}, +"type": "object" +}, +"Company": { +"description": "A Company resource represents a company in the service. A company is the entity that owns job postings, that is, the hiring entity responsible for employing applicants for the job position.", +"id": "Company", +"properties": { +"careerSiteUri": { +"description": "Optional. The URI to employer's career site or careers page on the employer's web site, for example, \"https://careers.google.com\".", +"type": "string" +}, +"derivedInfo": { +"$ref": "CompanyDerivedInfo", +"description": "Output only. Derived details about the company." +}, +"displayName": { +"description": "Required. The display name of the company, for example, \"Google LLC\".", +"type": "string" +}, +"eeoText": { +"description": "Optional. Equal Employment Opportunity legal disclaimer text to be associated with all jobs, and typically to be displayed in all roles. The maximum number of allowed characters is 500.", +"type": "string" +}, +"externalId": { +"description": "Required. Client side company identifier, used to uniquely identify the company. The maximum number of allowed characters is 255.", +"type": "string" +}, +"headquartersAddress": { +"description": "Optional. The street address of the company's main headquarters, which may be different from the job location. The service attempts to geolocate the provided address, and populates a more specific location wherever possible in DerivedInfo.headquarters_location.", +"type": "string" +}, +"hiringAgency": { +"description": "Optional. Set to true if it is the hiring agency that post jobs for other employers. Defaults to false if not provided.", +"type": "boolean" +}, +"imageUri": { +"description": "Optional. A URI that hosts the employer's company logo.", +"type": "string" +}, +"keywordSearchableJobCustomAttributes": { +"deprecated": true, +"description": "Optional. This field is deprecated. Please set the searchability of the custom attribute in the Job.custom_attributes going forward. A list of keys of filterable Job.custom_attributes, whose corresponding `string_values` are used in keyword search. Jobs with `string_values` under these specified field keys are returned if any of the values matches the search keyword. Custom field values with parenthesis, brackets and special symbols won't be properly searchable, and those keyword queries need to be surrounded by quotes.", +"items": { +"type": "string" +}, +"type": "array" +}, +"name": { +"description": "Required during company update. The resource name for a company. This is generated by the service when a company is created. The format is \"projects/{project_id}/companies/{company_id}\", for example, \"projects/api-test-project/companies/foo\".", +"type": "string" +}, +"size": { +"description": "Optional. The employer's company size.", +"enum": [ +"COMPANY_SIZE_UNSPECIFIED", +"MINI", +"SMALL", +"SMEDIUM", +"MEDIUM", +"BIG", +"BIGGER", +"GIANT" +], +"enumDescriptions": [ +"Default value if the size is not specified.", +"The company has less than 50 employees.", +"The company has between 50 and 99 employees.", +"The company has between 100 and 499 employees.", +"The company has between 500 and 999 employees.", +"The company has between 1,000 and 4,999 employees.", +"The company has between 5,000 and 9,999 employees.", +"The company has 10,000 or more employees." +], +"type": "string" +}, +"suspended": { +"description": "Output only. Indicates whether a company is flagged to be suspended from public availability by the service when job content appears suspicious, abusive, or spammy.", +"type": "boolean" +}, +"websiteUri": { +"description": "Optional. The URI representing the company's primary web site or home page, for example, \"https://www.google.com\". The maximum number of allowed characters is 255.", +"type": "string" +} +}, +"type": "object" +}, +"CompanyDerivedInfo": { +"description": "Derived details about the company.", +"id": "CompanyDerivedInfo", +"properties": { +"headquartersLocation": { +"$ref": "Location", +"description": "A structured headquarters location of the company, resolved from Company.hq_location if provided." +} +}, +"type": "object" +}, +"CompensationEntry": { +"description": "A compensation entry that represents one component of compensation, such as base pay, bonus, or other compensation type. Annualization: One compensation entry can be annualized if - it contains valid amount or range. - and its expected_units_per_year is set or can be derived. Its annualized range is determined as (amount or range) times expected_units_per_year.", +"id": "CompensationEntry", +"properties": { +"amount": { +"$ref": "Money", +"description": "Optional. Compensation amount." +}, +"description": { +"description": "Optional. Compensation description. For example, could indicate equity terms or provide additional context to an estimated bonus.", +"type": "string" +}, +"expectedUnitsPerYear": { +"description": "Optional. Expected number of units paid each year. If not specified, when Job.employment_types is FULLTIME, a default value is inferred based on unit. Default values: - HOURLY: 2080 - DAILY: 260 - WEEKLY: 52 - MONTHLY: 12 - ANNUAL: 1", +"format": "double", +"type": "number" +}, +"range": { +"$ref": "CompensationRange", +"description": "Optional. Compensation range." +}, +"type": { +"description": "Optional. Compensation type. Default is CompensationUnit.COMPENSATION_TYPE_UNSPECIFIED.", +"enum": [ +"COMPENSATION_TYPE_UNSPECIFIED", +"BASE", +"BONUS", +"SIGNING_BONUS", +"EQUITY", +"PROFIT_SHARING", +"COMMISSIONS", +"TIPS", +"OTHER_COMPENSATION_TYPE" +], +"enumDescriptions": [ +"Default value.", +"Base compensation: Refers to the fixed amount of money paid to an employee by an employer in return for work performed. Base compensation does not include benefits, bonuses or any other potential compensation from an employer.", +"Bonus.", +"Signing bonus.", +"Equity.", +"Profit sharing.", +"Commission.", +"Tips.", +"Other compensation type." +], +"type": "string" +}, +"unit": { +"description": "Optional. Frequency of the specified amount. Default is CompensationUnit.COMPENSATION_UNIT_UNSPECIFIED.", +"enum": [ +"COMPENSATION_UNIT_UNSPECIFIED", +"HOURLY", +"DAILY", +"WEEKLY", +"MONTHLY", +"YEARLY", +"ONE_TIME", +"OTHER_COMPENSATION_UNIT" +], +"enumDescriptions": [ +"Default value.", +"Hourly.", +"Daily.", +"Weekly", +"Monthly.", +"Yearly.", +"One time.", +"Other compensation units." +], +"type": "string" +} +}, +"type": "object" +}, +"CompensationFilter": { +"description": "Input only. Filter on job compensation type and amount.", +"id": "CompensationFilter", +"properties": { +"includeJobsWithUnspecifiedCompensationRange": { +"description": "Optional. If set to true, jobs with unspecified compensation range fields are included.", +"type": "boolean" +}, +"range": { +"$ref": "CompensationRange", +"description": "Optional. Compensation range." +}, +"type": { +"description": "Required. Type of filter.", +"enum": [ +"FILTER_TYPE_UNSPECIFIED", +"UNIT_ONLY", +"UNIT_AND_AMOUNT", +"ANNUALIZED_BASE_AMOUNT", +"ANNUALIZED_TOTAL_AMOUNT" +], +"enumDescriptions": [ +"Filter type unspecified. Position holder, INVALID, should never be used.", +"Filter by `base compensation entry's` unit. A job is a match if and only if the job contains a base CompensationEntry and the base CompensationEntry's unit matches provided units. Populate one or more units. See CompensationInfo.CompensationEntry for definition of base compensation entry.", +"Filter by `base compensation entry's` unit and amount / range. A job is a match if and only if the job contains a base CompensationEntry, and the base entry's unit matches provided compensation_units and amount or range overlaps with provided compensation_range. See CompensationInfo.CompensationEntry for definition of base compensation entry. Set exactly one units and populate range.", +"Filter by annualized base compensation amount and `base compensation entry's` unit. Populate range and zero or more units.", +"Filter by annualized total compensation amount and `base compensation entry's` unit . Populate range and zero or more units." +], +"type": "string" +}, +"units": { +"description": "Required. Specify desired `base compensation entry's` CompensationInfo.CompensationUnit.", +"items": { +"enum": [ +"COMPENSATION_UNIT_UNSPECIFIED", +"HOURLY", +"DAILY", +"WEEKLY", +"MONTHLY", +"YEARLY", +"ONE_TIME", +"OTHER_COMPENSATION_UNIT" +], +"enumDescriptions": [ +"Default value.", +"Hourly.", +"Daily.", +"Weekly", +"Monthly.", +"Yearly.", +"One time.", +"Other compensation units." +], +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"CompensationHistogramRequest": { +"description": "Input only. Compensation based histogram request.", +"id": "CompensationHistogramRequest", +"properties": { +"bucketingOption": { +"$ref": "NumericBucketingOption", +"description": "Required. Numeric histogram options, like buckets, whether include min or max value." +}, +"type": { +"description": "Required. Type of the request, representing which field the histogramming should be performed over. A single request can only specify one histogram of each `CompensationHistogramRequestType`.", +"enum": [ +"COMPENSATION_HISTOGRAM_REQUEST_TYPE_UNSPECIFIED", +"BASE", +"ANNUALIZED_BASE", +"ANNUALIZED_TOTAL" +], +"enumDescriptions": [ +"Default value. Invalid.", +"Histogram by job's base compensation. See CompensationEntry for definition of base compensation.", +"Histogram by job's annualized base compensation. See CompensationEntry for definition of annualized base compensation.", +"Histogram by job's annualized total compensation. See CompensationEntry for definition of annualized total compensation." +], +"type": "string" +} +}, +"type": "object" +}, +"CompensationHistogramResult": { +"description": "Output only. Compensation based histogram result.", +"id": "CompensationHistogramResult", +"properties": { +"result": { +"$ref": "NumericBucketingResult", +"description": "Histogram result." +}, +"type": { +"description": "Type of the request, corresponding to CompensationHistogramRequest.type.", +"enum": [ +"COMPENSATION_HISTOGRAM_REQUEST_TYPE_UNSPECIFIED", +"BASE", +"ANNUALIZED_BASE", +"ANNUALIZED_TOTAL" +], +"enumDescriptions": [ +"Default value. Invalid.", +"Histogram by job's base compensation. See CompensationEntry for definition of base compensation.", +"Histogram by job's annualized base compensation. See CompensationEntry for definition of annualized base compensation.", +"Histogram by job's annualized total compensation. See CompensationEntry for definition of annualized total compensation." +], +"type": "string" +} +}, +"type": "object" +}, +"CompensationInfo": { +"description": "Job compensation details.", +"id": "CompensationInfo", +"properties": { +"annualizedBaseCompensationRange": { +"$ref": "CompensationRange", +"description": "Output only. Annualized base compensation range. Computed as base compensation entry's CompensationEntry.compensation times CompensationEntry.expected_units_per_year. See CompensationEntry for explanation on compensation annualization." +}, +"annualizedTotalCompensationRange": { +"$ref": "CompensationRange", +"description": "Output only. Annualized total compensation range. Computed as all compensation entries' CompensationEntry.compensation times CompensationEntry.expected_units_per_year. See CompensationEntry for explanation on compensation annualization." +}, +"entries": { +"description": "Optional. Job compensation information. At most one entry can be of type CompensationInfo.CompensationType.BASE, which is referred as ** base compensation entry ** for the job.", +"items": { +"$ref": "CompensationEntry" +}, +"type": "array" +} +}, +"type": "object" +}, +"CompensationRange": { +"description": "Compensation range.", +"id": "CompensationRange", +"properties": { +"maxCompensation": { +"$ref": "Money", +"description": "Optional. The maximum amount of compensation. If left empty, the value is set to a maximal compensation value and the currency code is set to match the currency code of min_compensation." +}, +"minCompensation": { +"$ref": "Money", +"description": "Optional. The minimum amount of compensation. If left empty, the value is set to zero and the currency code is set to match the currency code of max_compensation." +} +}, +"type": "object" +}, +"CompleteQueryResponse": { +"description": "Output only. Response of auto-complete query.", +"id": "CompleteQueryResponse", +"properties": { +"completionResults": { +"description": "Results of the matching job/company candidates.", +"items": { +"$ref": "CompletionResult" +}, +"type": "array" +}, +"metadata": { +"$ref": "ResponseMetadata", +"description": "Additional information for the API invocation, such as the request tracking id." +} +}, +"type": "object" +}, +"CompletionResult": { +"description": "Output only. Resource that represents completion results.", +"id": "CompletionResult", +"properties": { +"imageUri": { +"description": "The URI of the company image for CompletionType.COMPANY_NAME.", +"type": "string" +}, +"suggestion": { +"description": "The suggestion for the query.", +"type": "string" +}, +"type": { +"description": "The completion topic.", +"enum": [ +"COMPLETION_TYPE_UNSPECIFIED", +"JOB_TITLE", +"COMPANY_NAME", +"COMBINED" +], +"enumDescriptions": [ +"Default value.", +"Only suggest job titles.", +"Only suggest company names.", +"Suggest both job titles and company names." +], +"type": "string" +} +}, +"type": "object" +}, +"CreateClientEventRequest": { +"description": "The report event request.", +"id": "CreateClientEventRequest", +"properties": { +"clientEvent": { +"$ref": "ClientEvent", +"description": "Required. Events issued when end user interacts with customer's application that uses Cloud Talent Solution." +} +}, +"type": "object" +}, +"CreateCompanyRequest": { +"description": "Input only. The Request of the CreateCompany method.", +"id": "CreateCompanyRequest", +"properties": { +"company": { +"$ref": "Company", +"description": "Required. The company to be created." +} +}, +"type": "object" +}, +"CreateJobRequest": { +"description": "Input only. Create job request.", +"id": "CreateJobRequest", +"properties": { +"job": { +"$ref": "Job", +"description": "Required. The Job to be created." +} +}, +"type": "object" +}, +"CustomAttribute": { +"description": "Custom attribute values that are either filterable or non-filterable.", +"id": "CustomAttribute", +"properties": { +"filterable": { +"description": "Optional. If the `filterable` flag is true, the custom field values may be used for custom attribute filters JobQuery.custom_attribute_filter. If false, these values may not be used for custom attribute filters. Default is false.", +"type": "boolean" +}, +"longValues": { +"description": "Optional but exactly one of string_values or long_values must be specified. This field is used to perform number range search. (`EQ`, `GT`, `GE`, `LE`, `LT`) over filterable `long_value`. Currently at most 1 long_values is supported.", +"items": { +"format": "int64", +"type": "string" +}, +"type": "array" +}, +"stringValues": { +"description": "Optional but exactly one of string_values or long_values must be specified. This field is used to perform a string match (`CASE_SENSITIVE_MATCH` or `CASE_INSENSITIVE_MATCH`) search. For filterable `string_value`s, a maximum total number of 200 values is allowed, with each `string_value` has a byte size of no more than 500B. For unfilterable `string_values`, the maximum total byte size of unfilterable `string_values` is 50KB. Empty string is not allowed.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"CustomAttributeHistogramRequest": { +"description": "Custom attributes histogram request. An error is thrown if neither string_value_histogram or long_value_histogram_bucketing_option has been defined.", +"id": "CustomAttributeHistogramRequest", +"properties": { +"key": { +"description": "Required. Specifies the custom field key to perform a histogram on. If specified without `long_value_histogram_bucketing_option`, histogram on string values of the given `key` is triggered, otherwise histogram is performed on long values.", +"type": "string" +}, +"longValueHistogramBucketingOption": { +"$ref": "NumericBucketingOption", +"description": "Optional. Specifies buckets used to perform a range histogram on Job's filterable long custom field values, or min/max value requirements." +}, +"stringValueHistogram": { +"description": "Optional. If set to true, the response includes the histogram value for each key as a string.", +"type": "boolean" +} +}, +"type": "object" +}, +"CustomAttributeHistogramResult": { +"description": "Output only. Custom attribute histogram result.", +"id": "CustomAttributeHistogramResult", +"properties": { +"key": { +"description": "Stores the key of custom attribute the histogram is performed on.", +"type": "string" +}, +"longValueHistogramResult": { +"$ref": "NumericBucketingResult", +"description": "Stores bucketed histogram counting result or min/max values for custom attribute long values associated with `key`." +}, +"stringValueHistogramResult": { +"additionalProperties": { +"format": "int32", +"type": "integer" +}, +"description": "Stores a map from the values of string custom field associated with `key` to the number of jobs with that value in this histogram result.", +"type": "object" +} +}, +"type": "object" +}, +"DeviceInfo": { +"description": "Device information collected from the job seeker, candidate, or other entity conducting the job search. Providing this information improves the quality of the search results across devices.", +"id": "DeviceInfo", +"properties": { +"deviceType": { +"description": "Optional. Type of the device.", +"enum": [ +"DEVICE_TYPE_UNSPECIFIED", +"WEB", +"MOBILE_WEB", +"ANDROID", +"IOS", +"BOT", +"OTHER" +], +"enumDescriptions": [ +"The device type isn't specified.", +"A desktop web browser, such as, Chrome, Firefox, Safari, or Internet Explorer)", +"A mobile device web browser, such as a phone or tablet with a Chrome browser.", +"An Android device native application.", +"An iOS device native application.", +"A bot, as opposed to a device operated by human beings, such as a web crawler.", +"Other devices types." +], +"type": "string" +}, +"id": { +"description": "Optional. A device-specific ID. The ID must be a unique identifier that distinguishes the device from other devices.", +"type": "string" +} +}, +"type": "object" +}, +"Empty": { +"description": "A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }", +"id": "Empty", +"properties": {}, +"type": "object" +}, +"HistogramFacets": { +"description": "Input only. Histogram facets to be specified in SearchJobsRequest.", +"id": "HistogramFacets", +"properties": { +"compensationHistogramFacets": { +"description": "Optional. Specifies compensation field-based histogram requests. Duplicate values of CompensationHistogramRequest.type are not allowed.", +"items": { +"$ref": "CompensationHistogramRequest" +}, +"type": "array" +}, +"customAttributeHistogramFacets": { +"description": "Optional. Specifies the custom attributes histogram requests. Duplicate values of CustomAttributeHistogramRequest.key are not allowed.", +"items": { +"$ref": "CustomAttributeHistogramRequest" +}, +"type": "array" +}, +"simpleHistogramFacets": { +"description": "Optional. Specifies the simple type of histogram facets, for example, `COMPANY_SIZE`, `EMPLOYMENT_TYPE` etc.", +"items": { +"enum": [ +"SEARCH_TYPE_UNSPECIFIED", +"COMPANY_ID", +"EMPLOYMENT_TYPE", +"COMPANY_SIZE", +"DATE_PUBLISHED", +"EDUCATION_LEVEL", +"EXPERIENCE_LEVEL", +"ADMIN_1", +"COUNTRY", +"CITY", +"LOCALE", +"LANGUAGE", +"CATEGORY", +"CITY_COORDINATE", +"ADMIN_1_COUNTRY", +"COMPANY_DISPLAY_NAME", +"BASE_COMPENSATION_UNIT" +], +"enumDescriptions": [ +"The default value if search type is not specified.", +"Filter by the company id field.", +"Filter by the employment type field, such as `FULL_TIME` or `PART_TIME`.", +"Filter by the company size type field, such as `BIG`, `SMALL` or `BIGGER`.", +"Filter by the date published field. Possible return values are: * PAST_24_HOURS (The past 24 hours) * PAST_3_DAYS (The past 3 days) * PAST_WEEK (The past 7 days) * PAST_MONTH (The past 30 days) * PAST_YEAR (The past 365 days)", +"Filter by the required education level of the job.", +"Filter by the required experience level of the job.", +"Filter by Admin1, which is a global placeholder for referring to state, province, or the particular term a country uses to define the geographic structure below the country level. Examples include states codes such as \"CA\", \"IL\", \"NY\", and provinces, such as \"BC\".", +"Filter by the country code of job, such as US, JP, FR.", +"Filter by the \"city name\", \"Admin1 code\", for example, \"Mountain View, CA\" or \"New York, NY\".", +"Filter by the locale field of a job, such as \"en-US\", \"fr-FR\". This is the BCP-47 language code, such as \"en-US\" or \"sr-Latn\". For more information, see [Tags for Identifying Languages](https://tools.ietf.org/html/bcp47).", +"Filter by the language code portion of the locale field, such as \"en\" or \"fr\".", +"Filter by the Category.", +"Filter by the city center GPS coordinate (latitude and longitude), for example, 37.4038522,-122.0987765. Since the coordinates of a city center can change, clients may need to refresh them periodically.", +"A combination of state or province code with a country code. This field differs from `JOB_ADMIN1`, which can be used in multiple countries.", +"Company display name.", +"Base compensation unit." +], +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"HistogramResult": { +"description": "Output only. Result of a histogram call. The response contains the histogram map for the search type specified by HistogramResult.field. The response is a map of each filter value to the corresponding count of jobs for that filter.", +"id": "HistogramResult", +"properties": { +"searchType": { +"description": "The Histogram search filters.", +"enum": [ +"SEARCH_TYPE_UNSPECIFIED", +"COMPANY_ID", +"EMPLOYMENT_TYPE", +"COMPANY_SIZE", +"DATE_PUBLISHED", +"EDUCATION_LEVEL", +"EXPERIENCE_LEVEL", +"ADMIN_1", +"COUNTRY", +"CITY", +"LOCALE", +"LANGUAGE", +"CATEGORY", +"CITY_COORDINATE", +"ADMIN_1_COUNTRY", +"COMPANY_DISPLAY_NAME", +"BASE_COMPENSATION_UNIT" +], +"enumDescriptions": [ +"The default value if search type is not specified.", +"Filter by the company id field.", +"Filter by the employment type field, such as `FULL_TIME` or `PART_TIME`.", +"Filter by the company size type field, such as `BIG`, `SMALL` or `BIGGER`.", +"Filter by the date published field. Possible return values are: * PAST_24_HOURS (The past 24 hours) * PAST_3_DAYS (The past 3 days) * PAST_WEEK (The past 7 days) * PAST_MONTH (The past 30 days) * PAST_YEAR (The past 365 days)", +"Filter by the required education level of the job.", +"Filter by the required experience level of the job.", +"Filter by Admin1, which is a global placeholder for referring to state, province, or the particular term a country uses to define the geographic structure below the country level. Examples include states codes such as \"CA\", \"IL\", \"NY\", and provinces, such as \"BC\".", +"Filter by the country code of job, such as US, JP, FR.", +"Filter by the \"city name\", \"Admin1 code\", for example, \"Mountain View, CA\" or \"New York, NY\".", +"Filter by the locale field of a job, such as \"en-US\", \"fr-FR\". This is the BCP-47 language code, such as \"en-US\" or \"sr-Latn\". For more information, see [Tags for Identifying Languages](https://tools.ietf.org/html/bcp47).", +"Filter by the language code portion of the locale field, such as \"en\" or \"fr\".", +"Filter by the Category.", +"Filter by the city center GPS coordinate (latitude and longitude), for example, 37.4038522,-122.0987765. Since the coordinates of a city center can change, clients may need to refresh them periodically.", +"A combination of state or province code with a country code. This field differs from `JOB_ADMIN1`, which can be used in multiple countries.", +"Company display name.", +"Base compensation unit." +], +"type": "string" +}, +"values": { +"additionalProperties": { +"format": "int32", +"type": "integer" +}, +"description": "A map from the values of field to the number of jobs with that value in this search result. Key: search type (filter names, such as the companyName). Values: the count of jobs that match the filter for this search.", +"type": "object" +} +}, +"type": "object" +}, +"HistogramResults": { +"description": "Output only. Histogram results that match HistogramFacets specified in SearchJobsRequest.", +"id": "HistogramResults", +"properties": { +"compensationHistogramResults": { +"description": "Specifies compensation field-based histogram results that match HistogramFacets.compensation_histogram_requests.", +"items": { +"$ref": "CompensationHistogramResult" +}, +"type": "array" +}, +"customAttributeHistogramResults": { +"description": "Specifies histogram results for custom attributes that match HistogramFacets.custom_attribute_histogram_facets.", +"items": { +"$ref": "CustomAttributeHistogramResult" +}, +"type": "array" +}, +"simpleHistogramResults": { +"description": "Specifies histogram results that matches HistogramFacets.simple_histogram_facets.", +"items": { +"$ref": "HistogramResult" +}, +"type": "array" +} +}, +"type": "object" +}, +"Job": { +"description": "A Job resource represents a job posting (also referred to as a \"job listing\" or \"job requisition\"). A job belongs to a Company, which is the hiring entity responsible for the job.", +"id": "Job", +"properties": { +"addresses": { +"description": "Optional but strongly recommended for the best service experience. Location(s) where the employer is looking to hire for this job posting. Specifying the full street address(es) of the hiring location enables better API results, especially job searches by commute time. At most 50 locations are allowed for best search performance. If a job has more locations, it is suggested to split it into multiple jobs with unique requisition_ids (e.g. 'ReqA' becomes 'ReqA-1', 'ReqA-2', etc.) as multiple jobs with the same company_name, language_code and requisition_id are not allowed. If the original requisition_id must be preserved, a custom field should be used for storage. It is also suggested to group the locations that close to each other in the same job for better search experience. Jobs with multiple addresses must have their addresses with the same LocationType to allow location filtering to work properly. (For example, a Job with addresses \"1600 Amphitheatre Parkway, Mountain View, CA, USA\" and \"London, UK\" may not have location filters applied correctly at search time since the first is a LocationType.STREET_ADDRESS and the second is a LocationType.LOCALITY.) If a job needs to have multiple addresses, it is suggested to split it into multiple jobs with same LocationTypes. The maximum number of allowed characters is 500.", +"items": { +"type": "string" +}, +"type": "array" +}, +"applicationInfo": { +"$ref": "ApplicationInfo", +"description": "Required. At least one field within ApplicationInfo must be specified. Job application information." +}, +"companyDisplayName": { +"description": "Output only. Display name of the company listing the job.", +"type": "string" +}, +"companyName": { +"description": "Required. The resource name of the company listing the job, such as \"projects/api-test-project/companies/foo\".", +"type": "string" +}, +"compensationInfo": { +"$ref": "CompensationInfo", +"description": "Optional. Job compensation information." +}, +"customAttributes": { +"additionalProperties": { +"$ref": "CustomAttribute" +}, +"description": "Optional. A map of fields to hold both filterable and non-filterable custom job attributes that are not covered by the provided structured fields. The keys of the map are strings up to 64 bytes and must match the pattern: a-zA-Z*. For example, key0LikeThis or KEY_1_LIKE_THIS. At most 100 filterable and at most 100 unfilterable keys are supported. For filterable `string_values`, across all keys at most 200 values are allowed, with each string no more than 255 characters. For unfilterable `string_values`, the maximum total size of `string_values` across all keys is 50KB.", +"type": "object" +}, +"degreeTypes": { +"description": "Optional. The desired education degrees for the job, such as Bachelors, Masters.", +"items": { +"enum": [ +"DEGREE_TYPE_UNSPECIFIED", +"PRIMARY_EDUCATION", +"LOWER_SECONDARY_EDUCATION", +"UPPER_SECONDARY_EDUCATION", +"ADULT_REMEDIAL_EDUCATION", +"ASSOCIATES_OR_EQUIVALENT", +"BACHELORS_OR_EQUIVALENT", +"MASTERS_OR_EQUIVALENT", +"DOCTORAL_OR_EQUIVALENT" +], +"enumDescriptions": [ +"Default value. Represents no degree, or early childhood education. Maps to ISCED code 0. Ex) Kindergarten", +"Primary education which is typically the first stage of compulsory education. ISCED code 1. Ex) Elementary school", +"Lower secondary education; First stage of secondary education building on primary education, typically with a more subject-oriented curriculum. ISCED code 2. Ex) Middle school", +"Middle education; Second/final stage of secondary education preparing for tertiary education and/or providing skills relevant to employment. Usually with an increased range of subject options and streams. ISCED code 3. Ex) High school", +"Adult Remedial Education; Programmes providing learning experiences that build on secondary education and prepare for labour market entry and/or tertiary education. The content is broader than secondary but not as complex as tertiary education. ISCED code 4.", +"Associate's or equivalent; Short first tertiary programmes that are typically practically-based, occupationally-specific and prepare for labour market entry. These programmes may also provide a pathway to other tertiary programmes. ISCED code 5.", +"Bachelor's or equivalent; Programmes designed to provide intermediate academic and/or professional knowledge, skills and competencies leading to a first tertiary degree or equivalent qualification. ISCED code 6.", +"Master's or equivalent; Programmes designed to provide advanced academic and/or professional knowledge, skills and competencies leading to a second tertiary degree or equivalent qualification. ISCED code 7.", +"Doctoral or equivalent; Programmes designed primarily to lead to an advanced research qualification, usually concluding with the submission and defense of a substantive dissertation of publishable quality based on original research. ISCED code 8." +], +"type": "string" +}, +"type": "array" +}, +"department": { +"description": "Optional. The department or functional area within the company with the open position. The maximum number of allowed characters is 255.", +"type": "string" +}, +"derivedInfo": { +"$ref": "JobDerivedInfo", +"description": "Output only. Derived details about the job posting." +}, +"description": { +"description": "Required. The description of the job, which typically includes a multi-paragraph description of the company and related information. Separate fields are provided on the job object for responsibilities, qualifications, and other job characteristics. Use of these separate job fields is recommended. This field accepts and sanitizes HTML input, and also accepts bold, italic, ordered list, and unordered list markup tags. The maximum number of allowed characters is 100,000.", +"type": "string" +}, +"employmentTypes": { +"description": "Optional. The employment type(s) of a job, for example, full time or part time.", +"items": { +"enum": [ +"EMPLOYMENT_TYPE_UNSPECIFIED", +"FULL_TIME", +"PART_TIME", +"CONTRACTOR", +"CONTRACT_TO_HIRE", +"TEMPORARY", +"INTERN", +"VOLUNTEER", +"PER_DIEM", +"FLY_IN_FLY_OUT", +"OTHER_EMPLOYMENT_TYPE" +], +"enumDescriptions": [ +"The default value if the employment type is not specified.", +"The job requires working a number of hours that constitute full time employment, typically 40 or more hours per week.", +"The job entails working fewer hours than a full time job, typically less than 40 hours a week.", +"The job is offered as a contracted, as opposed to a salaried employee, position.", +"The job is offered as a contracted position with the understanding that it's converted into a full-time position at the end of the contract. Jobs of this type are also returned by a search for EmploymentType.CONTRACTOR jobs.", +"The job is offered as a temporary employment opportunity, usually a short-term engagement.", +"The job is a fixed-term opportunity for students or entry-level job seekers to obtain on-the-job training, typically offered as a summer position.", +"The is an opportunity for an individual to volunteer, where there's no expectation of compensation for the provided services.", +"The job requires an employee to work on an as-needed basis with a flexible schedule.", +"The job involves employing people in remote areas and flying them temporarily to the work site instead of relocating employees and their families permanently.", +"The job does not fit any of the other listed types." +], +"type": "string" +}, +"type": "array" +}, +"incentives": { +"description": "Optional. A description of bonus, commission, and other compensation incentives associated with the job not including salary or pay. The maximum number of allowed characters is 10,000.", +"type": "string" +}, +"jobBenefits": { +"description": "Optional. The benefits included with the job.", +"items": { +"enum": [ +"JOB_BENEFIT_UNSPECIFIED", +"CHILD_CARE", +"DENTAL", +"DOMESTIC_PARTNER", +"FLEXIBLE_HOURS", +"MEDICAL", +"LIFE_INSURANCE", +"PARENTAL_LEAVE", +"RETIREMENT_PLAN", +"SICK_DAYS", +"VACATION", +"VISION" +], +"enumDescriptions": [ +"Default value if the type is not specified.", +"The job includes access to programs that support child care, such as daycare.", +"The job includes dental services covered by a dental insurance plan.", +"The job offers specific benefits to domestic partners.", +"The job allows for a flexible work schedule.", +"The job includes health services covered by a medical insurance plan.", +"The job includes a life insurance plan provided by the employer or available for purchase by the employee.", +"The job allows for a leave of absence to a parent to care for a newborn child.", +"The job includes a workplace retirement plan provided by the employer or available for purchase by the employee.", +"The job allows for paid time off due to illness.", +"The job includes paid time off for vacation.", +"The job includes vision services covered by a vision insurance plan." +], +"type": "string" +}, +"type": "array" +}, +"jobEndTime": { +"description": "Optional. The end timestamp of the job. Typically this field is used for contracting engagements. Invalid timestamps are ignored.", +"format": "google-datetime", +"type": "string" +}, +"jobLevel": { +"description": "Optional. The experience level associated with the job, such as \"Entry Level\".", +"enum": [ +"JOB_LEVEL_UNSPECIFIED", +"ENTRY_LEVEL", +"EXPERIENCED", +"MANAGER", +"DIRECTOR", +"EXECUTIVE" +], +"enumDescriptions": [ +"The default value if the level is not specified.", +"Entry-level individual contributors, typically with less than 2 years of experience in a similar role. Includes interns.", +"Experienced individual contributors, typically with 2+ years of experience in a similar role.", +"Entry- to mid-level managers responsible for managing a team of people.", +"Senior-level managers responsible for managing teams of managers.", +"Executive-level managers and above, including C-level positions." +], +"type": "string" +}, +"jobStartTime": { +"description": "Optional. The start timestamp of the job in UTC time zone. Typically this field is used for contracting engagements. Invalid timestamps are ignored.", +"format": "google-datetime", +"type": "string" +}, +"languageCode": { +"description": "Optional. The language of the posting. This field is distinct from any requirements for fluency that are associated with the job. Language codes must be in BCP-47 format, such as \"en-US\" or \"sr-Latn\". For more information, see [Tags for Identifying Languages](https://tools.ietf.org/html/bcp47){: class=\"external\" target=\"_blank\" }. If this field is unspecified and Job.description is present, detected language code based on Job.description is assigned, otherwise defaults to 'en_US'.", +"type": "string" +}, +"name": { +"description": "Required during job update. The resource name for the job. This is generated by the service when a job is created. The format is \"projects/{project_id}/jobs/{job_id}\", for example, \"projects/api-test-project/jobs/1234\". Use of this field in job queries and API calls is preferred over the use of requisition_id since this value is unique.", +"type": "string" +}, +"postingCreateTime": { +"description": "Output only. The timestamp when this job posting was created.", +"format": "google-datetime", +"type": "string" +}, +"postingExpireTime": { +"description": "Optional but strongly recommended for the best service experience. The expiration timestamp of the job. After this timestamp, the job is marked as expired, and it no longer appears in search results. The expired job can't be deleted or listed by the DeleteJob and ListJobs APIs, but it can be retrieved with the GetJob API or updated with the UpdateJob API. An expired job can be updated and opened again by using a future expiration timestamp. Updating an expired job fails if there is another existing open job with same company_name, language_code and requisition_id. The expired jobs are retained in our system for 90 days. However, the overall expired job count cannot exceed 3 times the maximum of open jobs count over the past week, otherwise jobs with earlier expire time are cleaned first. Expired jobs are no longer accessible after they are cleaned out. Invalid timestamps are ignored, and treated as expire time not provided. Timestamp before the instant request is made is considered valid, the job will be treated as expired immediately. If this value is not provided at the time of job creation or is invalid, the job posting expires after 30 days from the job's creation time. For example, if the job was created on 2017/01/01 13:00AM UTC with an unspecified expiration date, the job expires after 2017/01/31 13:00AM UTC. If this value is not provided on job update, it depends on the field masks set by UpdateJobRequest.update_mask. If the field masks include expiry_time, or the masks are empty meaning that every field is updated, the job posting expires after 30 days from the job's last update time. Otherwise the expiration date isn't updated.", +"format": "google-datetime", +"type": "string" +}, +"postingPublishTime": { +"description": "Optional. The timestamp this job posting was most recently published. The default value is the time the request arrives at the server. Invalid timestamps are ignored.", +"format": "google-datetime", +"type": "string" +}, +"postingRegion": { +"description": "Optional. The job PostingRegion (for example, state, country) throughout which the job is available. If this field is set, a LocationFilter in a search query within the job region finds this job posting if an exact location match isn't specified. If this field is set to PostingRegion.NATION or PostingRegion.ADMINISTRATIVE_AREA, setting job Job.addresses to the same location level as this field is strongly recommended.", +"enum": [ +"POSTING_REGION_UNSPECIFIED", +"ADMINISTRATIVE_AREA", +"NATION", +"TELECOMMUTE" +], +"enumDescriptions": [ +"If the region is unspecified, the job is only returned if it matches the LocationFilter.", +"In addition to exact location matching, job posting is returned when the LocationFilter in the search query is in the same administrative area as the returned job posting. For example, if a `ADMINISTRATIVE_AREA` job is posted in \"CA, USA\", it's returned if LocationFilter has \"Mountain View\". Administrative area refers to top-level administrative subdivision of this country. For example, US state, IT region, UK constituent nation and JP prefecture.", +"In addition to exact location matching, job is returned when LocationFilter in search query is in the same country as this job. For example, if a `NATION_WIDE` job is posted in \"USA\", it's returned if LocationFilter has 'Mountain View'.", +"Job allows employees to work remotely (telecommute). If locations are provided with this value, the job is considered as having a location, but telecommuting is allowed." +], +"type": "string" +}, +"postingUpdateTime": { +"description": "Output only. The timestamp when this job posting was last updated.", +"format": "google-datetime", +"type": "string" +}, +"processingOptions": { +"$ref": "ProcessingOptions", +"description": "Optional. Options for job processing." +}, +"promotionValue": { +"description": "Optional. A promotion value of the job, as determined by the client. The value determines the sort order of the jobs returned when searching for jobs using the featured jobs search call, with higher promotional values being returned first and ties being resolved by relevance sort. Only the jobs with a promotionValue >0 are returned in a FEATURED_JOB_SEARCH. Default value is 0, and negative values are treated as 0.", +"format": "int32", +"type": "integer" +}, +"qualifications": { +"description": "Optional. A description of the qualifications required to perform the job. The use of this field is recommended as an alternative to using the more general description field. This field accepts and sanitizes HTML input, and also accepts bold, italic, ordered list, and unordered list markup tags. The maximum number of allowed characters is 10,000.", +"type": "string" +}, +"requisitionId": { +"description": "Required. The requisition ID, also referred to as the posting ID, assigned by the client to identify a job. This field is intended to be used by clients for client identification and tracking of postings. A job is not allowed to be created if there is another job with the same [company_name], language_code and requisition_id. The maximum number of allowed characters is 255.", +"type": "string" +}, +"responsibilities": { +"description": "Optional. A description of job responsibilities. The use of this field is recommended as an alternative to using the more general description field. This field accepts and sanitizes HTML input, and also accepts bold, italic, ordered list, and unordered list markup tags. The maximum number of allowed characters is 10,000.", +"type": "string" +}, +"title": { +"description": "Required. The title of the job, such as \"Software Engineer\" The maximum number of allowed characters is 500.", +"type": "string" +}, +"visibility": { +"deprecated": true, +"description": "Deprecated. The job is only visible to the owner. The visibility of the job. Defaults to Visibility.ACCOUNT_ONLY if not specified.", +"enum": [ +"VISIBILITY_UNSPECIFIED", +"ACCOUNT_ONLY", +"SHARED_WITH_GOOGLE", +"SHARED_WITH_PUBLIC" +], +"enumDescriptions": [ +"Default value.", +"The resource is only visible to the GCP account who owns it.", +"The resource is visible to the owner and may be visible to other applications and processes at Google.", +"The resource is visible to the owner and may be visible to all other API clients." +], +"type": "string" +} +}, +"type": "object" +}, +"JobDerivedInfo": { +"description": "Output only. Derived details about the job posting.", +"id": "JobDerivedInfo", +"properties": { +"jobCategories": { +"description": "Job categories derived from Job.title and Job.description.", +"items": { +"enum": [ +"JOB_CATEGORY_UNSPECIFIED", +"ACCOUNTING_AND_FINANCE", +"ADMINISTRATIVE_AND_OFFICE", +"ADVERTISING_AND_MARKETING", +"ANIMAL_CARE", +"ART_FASHION_AND_DESIGN", +"BUSINESS_OPERATIONS", +"CLEANING_AND_FACILITIES", +"COMPUTER_AND_IT", +"CONSTRUCTION", +"CUSTOMER_SERVICE", +"EDUCATION", +"ENTERTAINMENT_AND_TRAVEL", +"FARMING_AND_OUTDOORS", +"HEALTHCARE", +"HUMAN_RESOURCES", +"INSTALLATION_MAINTENANCE_AND_REPAIR", +"LEGAL", +"MANAGEMENT", +"MANUFACTURING_AND_WAREHOUSE", +"MEDIA_COMMUNICATIONS_AND_WRITING", +"OIL_GAS_AND_MINING", +"PERSONAL_CARE_AND_SERVICES", +"PROTECTIVE_SERVICES", +"REAL_ESTATE", +"RESTAURANT_AND_HOSPITALITY", +"SALES_AND_RETAIL", +"SCIENCE_AND_ENGINEERING", +"SOCIAL_SERVICES_AND_NON_PROFIT", +"SPORTS_FITNESS_AND_RECREATION", +"TRANSPORTATION_AND_LOGISTICS" +], +"enumDescriptions": [ +"The default value if the category isn't specified.", +"An accounting and finance job, such as an Accountant.", +"An administrative and office job, such as an Administrative Assistant.", +"An advertising and marketing job, such as Marketing Manager.", +"An animal care job, such as Veterinarian.", +"An art, fashion, or design job, such as Designer.", +"A business operations job, such as Business Operations Manager.", +"A cleaning and facilities job, such as Custodial Staff.", +"A computer and IT job, such as Systems Administrator.", +"A construction job, such as General Laborer.", +"A customer service job, such s Cashier.", +"An education job, such as School Teacher.", +"An entertainment and travel job, such as Flight Attendant.", +"A farming or outdoor job, such as Park Ranger.", +"A healthcare job, such as Registered Nurse.", +"A human resources job, such as Human Resources Director.", +"An installation, maintenance, or repair job, such as Electrician.", +"A legal job, such as Law Clerk.", +"A management job, often used in conjunction with another category, such as Store Manager.", +"A manufacturing or warehouse job, such as Assembly Technician.", +"A media, communications, or writing job, such as Media Relations.", +"An oil, gas or mining job, such as Offshore Driller.", +"A personal care and services job, such as Hair Stylist.", +"A protective services job, such as Security Guard.", +"A real estate job, such as Buyer's Agent.", +"A restaurant and hospitality job, such as Restaurant Server.", +"A sales and/or retail job, such Sales Associate.", +"A science and engineering job, such as Lab Technician.", +"A social services or non-profit job, such as Case Worker.", +"A sports, fitness, or recreation job, such as Personal Trainer.", +"A transportation or logistics job, such as Truck Driver." +], +"type": "string" +}, +"type": "array" +}, +"locations": { +"description": "Structured locations of the job, resolved from Job.addresses. locations are exactly matched to Job.addresses in the same order.", +"items": { +"$ref": "Location" +}, +"type": "array" +} +}, +"type": "object" +}, +"JobEvent": { +"description": "An event issued when a job seeker interacts with the application that implements Cloud Talent Solution.", +"id": "JobEvent", +"properties": { +"jobs": { +"description": "Required. The job name(s) associated with this event. For example, if this is an impression event, this field contains the identifiers of all jobs shown to the job seeker. If this was a view event, this field contains the identifier of the viewed job.", +"items": { +"type": "string" +}, +"type": "array" +}, +"type": { +"description": "Required. The type of the event (see JobEventType).", +"enum": [ +"JOB_EVENT_TYPE_UNSPECIFIED", +"IMPRESSION", +"VIEW", +"VIEW_REDIRECT", +"APPLICATION_START", +"APPLICATION_FINISH", +"APPLICATION_QUICK_SUBMISSION", +"APPLICATION_REDIRECT", +"APPLICATION_START_FROM_SEARCH", +"APPLICATION_REDIRECT_FROM_SEARCH", +"APPLICATION_COMPANY_SUBMIT", +"BOOKMARK", +"NOTIFICATION", +"HIRED", +"SENT_CV", +"INTERVIEW_GRANTED", +"NOT_INTERESTED" +], +"enumDescriptions": [ +"The event is unspecified by other provided values.", +"The job seeker or other entity interacting with the service has had a job rendered in their view, such as in a list of search results in a compressed or clipped format. This event is typically associated with the viewing of a jobs list on a single page by a job seeker.", +"The job seeker, or other entity interacting with the service, has viewed the details of a job, including the full description. This event doesn't apply to the viewing a snippet of a job appearing as a part of the job search results. Viewing a snippet is associated with an impression).", +"The job seeker or other entity interacting with the service performed an action to view a job and was redirected to a different website for job.", +"The job seeker or other entity interacting with the service began the process or demonstrated the intention of applying for a job.", +"The job seeker or other entity interacting with the service submitted an application for a job.", +"The job seeker or other entity interacting with the service submitted an application for a job with a single click without entering information. If a job seeker performs this action, send only this event to the service. Do not also send JobEventType.APPLICATION_START or JobEventType.APPLICATION_FINISH events.", +"The job seeker or other entity interacting with the service performed an action to apply to a job and was redirected to a different website to complete the application.", +"The job seeker or other entity interacting with the service began the process or demonstrated the intention of applying for a job from the search results page without viewing the details of the job posting. If sending this event, JobEventType.VIEW event shouldn't be sent.", +"The job seeker, or other entity interacting with the service, performs an action with a single click from the search results page to apply to a job (without viewing the details of the job posting), and is redirected to a different website to complete the application. If a candidate performs this action, send only this event to the service. Do not also send JobEventType.APPLICATION_START, JobEventType.APPLICATION_FINISH or JobEventType.VIEW events.", +"This event should be used when a company submits an application on behalf of a job seeker. This event is intended for use by staffing agencies attempting to place candidates.", +"The job seeker or other entity interacting with the service demonstrated an interest in a job by bookmarking or saving it.", +"The job seeker or other entity interacting with the service was sent a notification, such as an email alert or device notification, containing one or more jobs listings generated by the service.", +"The job seeker or other entity interacting with the service was employed by the hiring entity (employer). Send this event only if the job seeker was hired through an application that was initiated by a search conducted through the Cloud Talent Solution service.", +"A recruiter or staffing agency submitted an application on behalf of the candidate after interacting with the service to identify a suitable job posting.", +"The entity interacting with the service (for example, the job seeker), was granted an initial interview by the hiring entity (employer). This event should only be sent if the job seeker was granted an interview as part of an application that was initiated by a search conducted through / recommendation provided by the Cloud Talent Solution service.", +"The job seeker or other entity interacting with the service showed no interest in the job." +], +"type": "string" +} +}, +"type": "object" +}, +"JobQuery": { +"description": "Input only. The query required to perform a search query.", +"id": "JobQuery", +"properties": { +"commuteFilter": { +"$ref": "CommuteFilter", +"description": "Optional. Allows filtering jobs by commute time with different travel methods (for example, driving or public transit). Note: This only works with COMMUTE MODE. When specified, [JobQuery.location_filters] is ignored. Currently we don't support sorting by commute time." +}, +"companyDisplayNames": { +"description": "Optional. This filter specifies the company Company.display_name of the jobs to search against. The company name must match the value exactly. Alternatively, the value being searched for can be wrapped in different match operators. `SUBSTRING_MATCH([value])` The company name must contain a case insensitive substring match of the value. Using this function may increase latency. Sample Value: `SUBSTRING_MATCH(google)` `MULTI_WORD_TOKEN_MATCH([value])` The value will be treated as a multi word token and the company name must contain a case insensitive match of the value. Using this function may increase latency. Sample Value: `MULTI_WORD_TOKEN_MATCH(google)` If a value isn't specified, jobs within the search results are associated with any company. If multiple values are specified, jobs within the search results may be associated with any of the specified companies. At most 20 company display name filters are allowed.", +"items": { +"type": "string" +}, +"type": "array" +}, +"companyNames": { +"description": "Optional. This filter specifies the company entities to search against. If a value isn't specified, jobs are searched for against all companies. If multiple values are specified, jobs are searched against the companies specified. The format is \"projects/{project_id}/companies/{company_id}\", for example, \"projects/api-test-project/companies/foo\". At most 20 company filters are allowed.", +"items": { +"type": "string" +}, +"type": "array" +}, +"compensationFilter": { +"$ref": "CompensationFilter", +"description": "Optional. This search filter is applied only to Job.compensation_info. For example, if the filter is specified as \"Hourly job with per-hour compensation > $15\", only jobs meeting these criteria are searched. If a filter isn't defined, all open jobs are searched." +}, +"customAttributeFilter": { +"description": "Optional. This filter specifies a structured syntax to match against the Job.custom_attributes marked as `filterable`. The syntax for this expression is a subset of SQL syntax. Supported operators are: `=`, `!=`, `<`, `<=`, `>`, and `>=` where the left of the operator is a custom field key and the right of the operator is a number or a quoted string. You must escape backslash (\\\\) and quote (\\\") characters. Supported functions are `LOWER([field_name])` to perform a case insensitive match and `EMPTY([field_name])` to filter on the existence of a key. Boolean expressions (AND/OR/NOT) are supported up to 3 levels of nesting (for example, \"((A AND B AND C) OR NOT D) AND E\"), a maximum of 100 comparisons or functions are allowed in the expression. The expression must be < 10000 bytes in length. Sample Query: `(LOWER(driving_license)=\"class \\\"a\\\"\" OR EMPTY(driving_license)) AND driving_years > 10`", +"type": "string" +}, +"disableSpellCheck": { +"description": "Optional. This flag controls the spell-check feature. If false, the service attempts to correct a misspelled query, for example, \"enginee\" is corrected to \"engineer\". Defaults to false: a spell check is performed.", +"type": "boolean" +}, +"employmentTypes": { +"description": "Optional. The employment type filter specifies the employment type of jobs to search against, such as EmploymentType.FULL_TIME. If a value is not specified, jobs in the search results includes any employment type. If multiple values are specified, jobs in the search results include any of the specified employment types.", +"items": { +"enum": [ +"EMPLOYMENT_TYPE_UNSPECIFIED", +"FULL_TIME", +"PART_TIME", +"CONTRACTOR", +"CONTRACT_TO_HIRE", +"TEMPORARY", +"INTERN", +"VOLUNTEER", +"PER_DIEM", +"FLY_IN_FLY_OUT", +"OTHER_EMPLOYMENT_TYPE" +], +"enumDescriptions": [ +"The default value if the employment type is not specified.", +"The job requires working a number of hours that constitute full time employment, typically 40 or more hours per week.", +"The job entails working fewer hours than a full time job, typically less than 40 hours a week.", +"The job is offered as a contracted, as opposed to a salaried employee, position.", +"The job is offered as a contracted position with the understanding that it's converted into a full-time position at the end of the contract. Jobs of this type are also returned by a search for EmploymentType.CONTRACTOR jobs.", +"The job is offered as a temporary employment opportunity, usually a short-term engagement.", +"The job is a fixed-term opportunity for students or entry-level job seekers to obtain on-the-job training, typically offered as a summer position.", +"The is an opportunity for an individual to volunteer, where there's no expectation of compensation for the provided services.", +"The job requires an employee to work on an as-needed basis with a flexible schedule.", +"The job involves employing people in remote areas and flying them temporarily to the work site instead of relocating employees and their families permanently.", +"The job does not fit any of the other listed types." +], +"type": "string" +}, +"type": "array" +}, +"jobCategories": { +"description": "Optional. The category filter specifies the categories of jobs to search against. See Category for more information. If a value is not specified, jobs from any category are searched against. If multiple values are specified, jobs from any of the specified categories are searched against.", +"items": { +"enum": [ +"JOB_CATEGORY_UNSPECIFIED", +"ACCOUNTING_AND_FINANCE", +"ADMINISTRATIVE_AND_OFFICE", +"ADVERTISING_AND_MARKETING", +"ANIMAL_CARE", +"ART_FASHION_AND_DESIGN", +"BUSINESS_OPERATIONS", +"CLEANING_AND_FACILITIES", +"COMPUTER_AND_IT", +"CONSTRUCTION", +"CUSTOMER_SERVICE", +"EDUCATION", +"ENTERTAINMENT_AND_TRAVEL", +"FARMING_AND_OUTDOORS", +"HEALTHCARE", +"HUMAN_RESOURCES", +"INSTALLATION_MAINTENANCE_AND_REPAIR", +"LEGAL", +"MANAGEMENT", +"MANUFACTURING_AND_WAREHOUSE", +"MEDIA_COMMUNICATIONS_AND_WRITING", +"OIL_GAS_AND_MINING", +"PERSONAL_CARE_AND_SERVICES", +"PROTECTIVE_SERVICES", +"REAL_ESTATE", +"RESTAURANT_AND_HOSPITALITY", +"SALES_AND_RETAIL", +"SCIENCE_AND_ENGINEERING", +"SOCIAL_SERVICES_AND_NON_PROFIT", +"SPORTS_FITNESS_AND_RECREATION", +"TRANSPORTATION_AND_LOGISTICS" +], +"enumDescriptions": [ +"The default value if the category isn't specified.", +"An accounting and finance job, such as an Accountant.", +"An administrative and office job, such as an Administrative Assistant.", +"An advertising and marketing job, such as Marketing Manager.", +"An animal care job, such as Veterinarian.", +"An art, fashion, or design job, such as Designer.", +"A business operations job, such as Business Operations Manager.", +"A cleaning and facilities job, such as Custodial Staff.", +"A computer and IT job, such as Systems Administrator.", +"A construction job, such as General Laborer.", +"A customer service job, such s Cashier.", +"An education job, such as School Teacher.", +"An entertainment and travel job, such as Flight Attendant.", +"A farming or outdoor job, such as Park Ranger.", +"A healthcare job, such as Registered Nurse.", +"A human resources job, such as Human Resources Director.", +"An installation, maintenance, or repair job, such as Electrician.", +"A legal job, such as Law Clerk.", +"A management job, often used in conjunction with another category, such as Store Manager.", +"A manufacturing or warehouse job, such as Assembly Technician.", +"A media, communications, or writing job, such as Media Relations.", +"An oil, gas or mining job, such as Offshore Driller.", +"A personal care and services job, such as Hair Stylist.", +"A protective services job, such as Security Guard.", +"A real estate job, such as Buyer's Agent.", +"A restaurant and hospitality job, such as Restaurant Server.", +"A sales and/or retail job, such Sales Associate.", +"A science and engineering job, such as Lab Technician.", +"A social services or non-profit job, such as Case Worker.", +"A sports, fitness, or recreation job, such as Personal Trainer.", +"A transportation or logistics job, such as Truck Driver." +], +"type": "string" +}, +"type": "array" +}, +"languageCodes": { +"description": "Optional. This filter specifies the locale of jobs to search against, for example, \"en-US\". If a value isn't specified, the search results can contain jobs in any locale. Language codes should be in BCP-47 format, such as \"en-US\" or \"sr-Latn\". For more information, see [Tags for Identifying Languages](https://tools.ietf.org/html/bcp47). At most 10 language code filters are allowed.", +"items": { +"type": "string" +}, +"type": "array" +}, +"locationFilters": { +"description": "Optional. The location filter specifies geo-regions containing the jobs to search against. See LocationFilter for more information. If a location value isn't specified, jobs fitting the other search criteria are retrieved regardless of where they're located. If multiple values are specified, jobs are retrieved from any of the specified locations. If different values are specified for the LocationFilter.distance_in_miles parameter, the maximum provided distance is used for all locations. At most 5 location filters are allowed.", +"items": { +"$ref": "LocationFilter" +}, +"type": "array" +}, +"publishTimeRange": { +"$ref": "TimestampRange", +"description": "Optional. Jobs published within a range specified by this filter are searched against." +}, +"query": { +"description": "Optional. The query string that matches against the job title, description, and location fields. The maximum number of allowed characters is 255.", +"type": "string" +}, +"queryLanguageCode": { +"description": "The language code of query. For example, \"en-US\". This field helps to better interpret the query. If a value isn't specified, the query language code is automatically detected, which may not be accurate. Language code should be in BCP-47 format, such as \"en-US\" or \"sr-Latn\". For more information, see [Tags for Identifying Languages](https://tools.ietf.org/html/bcp47).", +"type": "string" +} +}, +"type": "object" +}, +"LatLng": { +"description": "An object that represents a latitude/longitude pair. This is expressed as a pair of doubles to represent degrees latitude and degrees longitude. Unless specified otherwise, this object must conform to the WGS84 standard. Values must be within normalized ranges.", +"id": "LatLng", +"properties": { +"latitude": { +"description": "The latitude in degrees. It must be in the range [-90.0, +90.0].", +"format": "double", +"type": "number" +}, +"longitude": { +"description": "The longitude in degrees. It must be in the range [-180.0, +180.0].", +"format": "double", +"type": "number" +} +}, +"type": "object" +}, +"ListCompaniesResponse": { +"description": "Output only. The List companies response object.", +"id": "ListCompaniesResponse", +"properties": { +"companies": { +"description": "Companies for the current client.", +"items": { +"$ref": "Company" +}, +"type": "array" +}, +"metadata": { +"$ref": "ResponseMetadata", +"description": "Additional information for the API invocation, such as the request tracking id." +}, +"nextPageToken": { +"description": "A token to retrieve the next page of results.", +"type": "string" +} +}, +"type": "object" +}, +"ListJobsResponse": { +"description": "Output only. List jobs response.", +"id": "ListJobsResponse", +"properties": { +"jobs": { +"description": "The Jobs for a given company. The maximum number of items returned is based on the limit field provided in the request.", +"items": { +"$ref": "Job" +}, +"type": "array" +}, +"metadata": { +"$ref": "ResponseMetadata", +"description": "Additional information for the API invocation, such as the request tracking id." +}, +"nextPageToken": { +"description": "A token to retrieve the next page of results.", +"type": "string" +} +}, +"type": "object" +}, +"Location": { +"description": "Output only. A resource that represents a location with full geographic information.", +"id": "Location", +"properties": { +"latLng": { +"$ref": "LatLng", +"description": "An object representing a latitude/longitude pair." +}, +"locationType": { +"description": "The type of a location, which corresponds to the address lines field of PostalAddress. For example, \"Downtown, Atlanta, GA, USA\" has a type of LocationType#NEIGHBORHOOD, and \"Kansas City, KS, USA\" has a type of LocationType#LOCALITY.", +"enum": [ +"LOCATION_TYPE_UNSPECIFIED", +"COUNTRY", +"ADMINISTRATIVE_AREA", +"SUB_ADMINISTRATIVE_AREA", +"LOCALITY", +"POSTAL_CODE", +"SUB_LOCALITY", +"SUB_LOCALITY_1", +"SUB_LOCALITY_2", +"NEIGHBORHOOD", +"STREET_ADDRESS" +], +"enumDescriptions": [ +"Default value if the type is not specified.", +"A country level location.", +"A state or equivalent level location.", +"A county or equivalent level location.", +"A city or equivalent level location.", +"A postal code level location.", +"A sublocality is a subdivision of a locality, for example a city borough, ward, or arrondissement. Sublocalities are usually recognized by a local political authority. For example, Manhattan and Brooklyn are recognized as boroughs by the City of New York, and are therefore modeled as sublocalities.", +"A district or equivalent level location.", +"A smaller district or equivalent level display.", +"A neighborhood level location.", +"A street address level location." +], +"type": "string" +}, +"postalAddress": { +"$ref": "PostalAddress", +"description": "Postal address of the location that includes human readable information, such as postal delivery and payments addresses. Given a postal address, a postal service can deliver items to a premises, P.O. Box, or other delivery location." +}, +"radiusInMiles": { +"description": "Radius in miles of the job location. This value is derived from the location bounding box in which a circle with the specified radius centered from LatLng covers the area associated with the job location. For example, currently, \"Mountain View, CA, USA\" has a radius of 6.17 miles.", +"format": "double", +"type": "number" +} +}, +"type": "object" +}, +"LocationFilter": { +"description": "Input only. Geographic region of the search.", +"id": "LocationFilter", +"properties": { +"address": { +"description": "Optional. The address name, such as \"Mountain View\" or \"Bay Area\".", +"type": "string" +}, +"distanceInMiles": { +"description": "Optional. The distance_in_miles is applied when the location being searched for is identified as a city or smaller. When the location being searched for is a state or larger, this field is ignored.", +"format": "double", +"type": "number" +}, +"latLng": { +"$ref": "LatLng", +"description": "Optional. The latitude and longitude of the geographic center from which to search. This field's ignored if `address` is provided." +}, +"regionCode": { +"description": "Optional. CLDR region code of the country/region. This field may be used in two ways: 1) If telecommute preference is not set, this field is used address ambiguity of the user-input address. For example, \"Liverpool\" may refer to \"Liverpool, NY, US\" or \"Liverpool, UK\". This region code biases the address resolution toward a specific country or territory. If this field is not set, address resolution is biased toward the United States by default. 2) If telecommute preference is set to TELECOMMUTE_ALLOWED, the telecommute location filter will be limited to the region specified in this field. If this field is not set, the telecommute job locations will not be limited. See https://unicode-org.github.io/cldr-staging/charts/latest/supplemental/territory_information.html for details. Example: \"CH\" for Switzerland.", +"type": "string" +}, +"telecommutePreference": { +"description": "Optional. Allows the client to return jobs without a set location, specifically, telecommuting jobs (telecommuting is considered by the service as a special location). Job.posting_region indicates if a job permits telecommuting. If this field is set to TelecommutePreference.TELECOMMUTE_ALLOWED, telecommuting jobs are searched, and address and lat_lng are ignored. If not set or set to TelecommutePreference.TELECOMMUTE_EXCLUDED, the telecommute status of the jobs is ignored. Jobs that have PostingRegion.TELECOMMUTE and have additional Job.addresses may still be matched based on other location filters using address or latlng. This filter can be used by itself to search exclusively for telecommuting jobs, or it can be combined with another location filter to search for a combination of job locations, such as \"Mountain View\" or \"telecommuting\" jobs. However, when used in combination with other location filters, telecommuting jobs can be treated as less relevant than other jobs in the search response.", +"enum": [ +"TELECOMMUTE_PREFERENCE_UNSPECIFIED", +"TELECOMMUTE_EXCLUDED", +"TELECOMMUTE_ALLOWED", +"TELECOMMUTE_JOBS_EXCLUDED" +], +"enumDeprecated": [ +false, +true, +false, +false +], +"enumDescriptions": [ +"Default value if the telecommute preference is not specified.", +"Deprecated: Ignore telecommute status of jobs. Use TELECOMMUTE_JOBS_EXCLUDED if want to exclude telecommute jobs.", +"Allow telecommute jobs.", +"Exclude telecommute jobs." +], +"type": "string" +} +}, +"type": "object" +}, +"MatchingJob": { +"description": "Output only. Job entry with metadata inside SearchJobsResponse.", +"id": "MatchingJob", +"properties": { +"commuteInfo": { +"$ref": "CommuteInfo", +"description": "Commute information which is generated based on specified CommuteFilter." +}, +"job": { +"$ref": "Job", +"description": "Job resource that matches the specified SearchJobsRequest." +}, +"jobSummary": { +"description": "A summary of the job with core information that's displayed on the search results listing page.", +"type": "string" +}, +"jobTitleSnippet": { +"description": "Contains snippets of text from the Job.job_title field most closely matching a search query's keywords, if available. The matching query keywords are enclosed in HTML bold tags.", +"type": "string" +}, +"searchTextSnippet": { +"description": "Contains snippets of text from the Job.description and similar fields that most closely match a search query's keywords, if available. All HTML tags in the original fields are stripped when returned in this field, and matching query keywords are enclosed in HTML bold tags.", +"type": "string" +} +}, +"type": "object" +}, +"Money": { +"description": "Represents an amount of money with its currency type.", +"id": "Money", +"properties": { +"currencyCode": { +"description": "The three-letter currency code defined in ISO 4217.", +"type": "string" +}, +"nanos": { +"description": "Number of nano (10^-9) units of the amount. The value must be between -999,999,999 and +999,999,999 inclusive. If `units` is positive, `nanos` must be positive or zero. If `units` is zero, `nanos` can be positive, zero, or negative. If `units` is negative, `nanos` must be negative or zero. For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000.", +"format": "int32", +"type": "integer" +}, +"units": { +"description": "The whole units of the amount. For example if `currencyCode` is `\"USD\"`, then 1 unit is one US dollar.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"NumericBucketingOption": { +"description": "Input only. Use this field to specify bucketing option for the histogram search response.", +"id": "NumericBucketingOption", +"properties": { +"bucketBounds": { +"description": "Required. Two adjacent values form a histogram bucket. Values should be in ascending order. For example, if [5, 10, 15] are provided, four buckets are created: (-inf, 5), 5, 10), [10, 15), [15, inf). At most 20 [buckets_bound is supported.", +"items": { +"format": "double", +"type": "number" +}, +"type": "array" +}, +"requiresMinMax": { +"description": "Optional. If set to true, the histogram result includes minimum/maximum value of the numeric field.", +"type": "boolean" +} +}, +"type": "object" +}, +"NumericBucketingResult": { +"description": "Output only. Custom numeric bucketing result.", +"id": "NumericBucketingResult", +"properties": { +"counts": { +"description": "Count within each bucket. Its size is the length of NumericBucketingOption.bucket_bounds plus 1.", +"items": { +"$ref": "BucketizedCount" +}, +"type": "array" +}, +"maxValue": { +"description": "Stores the maximum value of the numeric field. Is populated only if [NumericBucketingOption.requires_min_max] is set to true.", +"format": "double", +"type": "number" +}, +"minValue": { +"description": "Stores the minimum value of the numeric field. Will be populated only if [NumericBucketingOption.requires_min_max] is set to true.", +"format": "double", +"type": "number" +} +}, +"type": "object" +}, +"PostalAddress": { +"description": "Represents a postal address, such as for postal delivery or payments addresses. With a postal address, a postal service can deliver items to a premise, P.O. box, or similar. A postal address is not intended to model geographical locations like roads, towns, or mountains. In typical usage, an address would be created by user input or from importing existing data, depending on the type of process. Advice on address input or editing: - Use an internationalization-ready address widget such as https://github.com/google/libaddressinput. - Users should not be presented with UI elements for input or editing of fields outside countries where that field is used. For more guidance on how to use this schema, see: https://support.google.com/business/answer/6397478.", +"id": "PostalAddress", +"properties": { +"addressLines": { +"description": "Unstructured address lines describing the lower levels of an address. Because values in `address_lines` do not have type information and may sometimes contain multiple values in a single field (for example, \"Austin, TX\"), it is important that the line order is clear. The order of address lines should be \"envelope order\" for the country or region of the address. In places where this can vary (for example, Japan), `address_language` is used to make it explicit (for example, \"ja\" for large-to-small ordering and \"ja-Latn\" or \"en\" for small-to-large). In this way, the most specific line of an address can be selected based on the language. The minimum permitted structural representation of an address consists of a `region_code` with all remaining information placed in the `address_lines`. It would be possible to format such an address very approximately without geocoding, but no semantic reasoning could be made about any of the address components until it was at least partially resolved. Creating an address only containing a `region_code` and `address_lines` and then geocoding is the recommended way to handle completely unstructured addresses (as opposed to guessing which parts of the address should be localities or administrative areas).", +"items": { +"type": "string" +}, +"type": "array" +}, +"administrativeArea": { +"description": "Optional. Highest administrative subdivision which is used for postal addresses of a country or region. For example, this can be a state, a province, an oblast, or a prefecture. For Spain, this is the province and not the autonomous community (for example, \"Barcelona\" and not \"Catalonia\"). Many countries don't use an administrative area in postal addresses. For example, in Switzerland, this should be left unpopulated.", +"type": "string" +}, +"languageCode": { +"description": "Optional. BCP-47 language code of the contents of this address (if known). This is often the UI language of the input form or is expected to match one of the languages used in the address' country/region, or their transliterated equivalents. This can affect formatting in certain countries, but is not critical to the correctness of the data and will never affect any validation or other non-formatting related operations. If this value is not known, it should be omitted (rather than specifying a possibly incorrect default). Examples: \"zh-Hant\", \"ja\", \"ja-Latn\", \"en\".", +"type": "string" +}, +"locality": { +"description": "Optional. Generally refers to the city or town portion of the address. Examples: US city, IT comune, UK post town. In regions of the world where localities are not well defined or do not fit into this structure well, leave `locality` empty and use `address_lines`.", +"type": "string" +}, +"organization": { +"description": "Optional. The name of the organization at the address.", +"type": "string" +}, +"postalCode": { +"description": "Optional. Postal code of the address. Not all countries use or require postal codes to be present, but where they are used, they may trigger additional validation with other parts of the address (for example, state or zip code validation in the United States).", +"type": "string" +}, +"recipients": { +"description": "Optional. The recipient at the address. This field may, under certain circumstances, contain multiline information. For example, it might contain \"care of\" information.", +"items": { +"type": "string" +}, +"type": "array" +}, +"regionCode": { +"description": "Required. CLDR region code of the country/region of the address. This is never inferred and it is up to the user to ensure the value is correct. See https://cldr.unicode.org/ and https://www.unicode.org/cldr/charts/30/supplemental/territory_information.html for details. Example: \"CH\" for Switzerland.", +"type": "string" +}, +"revision": { +"description": "The schema revision of the `PostalAddress`. This must be set to 0, which is the latest revision. All new revisions **must** be backward compatible with old revisions.", +"format": "int32", +"type": "integer" +}, +"sortingCode": { +"description": "Optional. Additional, country-specific, sorting code. This is not used in most regions. Where it is used, the value is either a string like \"CEDEX\", optionally followed by a number (for example, \"CEDEX 7\"), or just a number alone, representing the \"sector code\" (Jamaica), \"delivery area indicator\" (Malawi) or \"post office indicator\" (C\u00f4te d'Ivoire).", +"type": "string" +}, +"sublocality": { +"description": "Optional. Sublocality of the address. For example, this can be a neighborhood, borough, or district.", +"type": "string" +} +}, +"type": "object" +}, +"ProcessingOptions": { +"description": "Input only. Options for job processing.", +"id": "ProcessingOptions", +"properties": { +"disableStreetAddressResolution": { +"description": "Optional. If set to `true`, the service does not attempt to resolve a more precise address for the job.", +"type": "boolean" +}, +"htmlSanitization": { +"description": "Optional. Option for job HTML content sanitization. Applied fields are: * description * applicationInfo.instruction * incentives * qualifications * responsibilities HTML tags in these fields may be stripped if sanitiazation is not disabled. Defaults to HtmlSanitization.SIMPLE_FORMATTING_ONLY.", +"enum": [ +"HTML_SANITIZATION_UNSPECIFIED", +"HTML_SANITIZATION_DISABLED", +"SIMPLE_FORMATTING_ONLY" +], +"enumDescriptions": [ +"Default value.", +"Disables sanitization on HTML input.", +"Sanitizes HTML input, only accepts bold, italic, ordered list, and unordered list markup tags." +], +"type": "string" +} +}, +"type": "object" +}, +"RequestMetadata": { +"description": "Input only. Meta information related to the job searcher or entity conducting the job search. This information is used to improve the performance of the service.", +"id": "RequestMetadata", +"properties": { +"deviceInfo": { +"$ref": "DeviceInfo", +"description": "Optional. The type of device used by the job seeker at the time of the call to the service." +}, +"domain": { +"description": "Required. The client-defined scope or source of the service call, which typically is the domain on which the service has been implemented and is currently being run. For example, if the service is being run by client *Foo, Inc.*, on job board www.foo.com and career site www.bar.com, then this field is set to \"foo.com\" for use on the job board, and \"bar.com\" for use on the career site. If this field isn't available for some reason, send \"UNKNOWN\". Any improvements to the model for a particular tenant site rely on this field being set correctly to a domain. The maximum number of allowed characters is 255.", +"type": "string" +}, +"sessionId": { +"description": "Required. A unique session identification string. A session is defined as the duration of an end user's interaction with the service over a certain period. Obfuscate this field for privacy concerns before providing it to the service. If this field is not available for some reason, send \"UNKNOWN\". Note that any improvements to the model for a particular tenant site, rely on this field being set correctly to some unique session_id. The maximum number of allowed characters is 255.", +"type": "string" +}, +"userId": { +"description": "Required. A unique user identification string, as determined by the client. To have the strongest positive impact on search quality make sure the client-level is unique. Obfuscate this field for privacy concerns before providing it to the service. If this field is not available for some reason, send \"UNKNOWN\". Note that any improvements to the model for a particular tenant site, rely on this field being set correctly to a unique user_id. The maximum number of allowed characters is 255.", +"type": "string" +} +}, +"type": "object" +}, +"ResponseMetadata": { +"description": "Output only. Additional information returned to client, such as debugging information.", +"id": "ResponseMetadata", +"properties": { +"requestId": { +"description": "A unique id associated with this call. This id is logged for tracking purposes.", +"type": "string" +} +}, +"type": "object" +}, +"SearchJobsRequest": { +"description": "Input only. The Request body of the `SearchJobs` call.", +"id": "SearchJobsRequest", +"properties": { +"disableKeywordMatch": { +"description": "Optional. Controls whether to disable exact keyword match on Job.job_title, Job.description, Job.company_display_name, Job.locations, Job.qualifications. When disable keyword match is turned off, a keyword match returns jobs that do not match given category filters when there are matching keywords. For example, the query \"program manager,\" a result is returned even if the job posting has the title \"software developer,\" which does not fall into \"program manager\" ontology, but does have \"program manager\" appearing in its description. For queries like \"cloud\" that does not contain title or location specific ontology, jobs with \"cloud\" keyword matches are returned regardless of this flag's value. Please use Company.keyword_searchable_custom_fields or Company.keyword_searchable_custom_attributes if company specific globally matched custom field/attribute string values is needed. Enabling keyword match improves recall of subsequent search requests. Defaults to false.", +"type": "boolean" +}, +"diversificationLevel": { +"description": "Optional. Controls whether highly similar jobs are returned next to each other in the search results. Jobs are identified as highly similar based on their titles, job categories, and locations. Highly similar results are clustered so that only one representative job of the cluster is displayed to the job seeker higher up in the results, with the other jobs being displayed lower down in the results. Defaults to DiversificationLevel.SIMPLE if no value is specified.", +"enum": [ +"DIVERSIFICATION_LEVEL_UNSPECIFIED", +"DISABLED", +"SIMPLE" +], +"enumDescriptions": [ +"The diversification level isn't specified. By default, jobs with this enum are ordered according to SIMPLE diversifying behavior.", +"Disables diversification. Jobs that would normally be pushed to the last page would not have their positions altered. This may result in highly similar jobs appearing in sequence in the search results.", +"Default diversifying behavior. The result list is ordered so that highly similar results are pushed to the end of the last page of search results." +], +"type": "string" +}, +"enableBroadening": { +"description": "Optional. Controls whether to broaden the search when it produces sparse results. Broadened queries append results to the end of the matching results list. Defaults to false.", +"type": "boolean" +}, +"histogramFacets": { +"$ref": "HistogramFacets", +"description": "Optional. Histogram requests for jobs matching JobQuery." +}, +"jobQuery": { +"$ref": "JobQuery", +"description": "Optional. Query used to search against jobs, such as keyword, location filters, etc." +}, +"jobView": { +"description": "Optional. The desired job attributes returned for jobs in the search response. Defaults to JobView.SMALL if no value is specified.", +"enum": [ +"JOB_VIEW_UNSPECIFIED", +"JOB_VIEW_ID_ONLY", +"JOB_VIEW_MINIMAL", +"JOB_VIEW_SMALL", +"JOB_VIEW_FULL" +], +"enumDescriptions": [ +"Default value.", +"A ID only view of job, with following attributes: Job.name, Job.requisition_id, Job.language_code.", +"A minimal view of the job, with the following attributes: Job.name, Job.requisition_id, Job.title, Job.company_name, Job.DerivedInfo.locations, Job.language_code.", +"A small view of the job, with the following attributes in the search results: Job.name, Job.requisition_id, Job.title, Job.company_name, Job.DerivedInfo.locations, Job.visibility, Job.language_code, Job.description.", +"All available attributes are included in the search results." +], +"type": "string" +}, +"offset": { +"description": "Optional. An integer that specifies the current offset (that is, starting result location, amongst the jobs deemed by the API as relevant) in search results. This field is only considered if page_token is unset. The maximum allowed value is 5000. Otherwise an error is thrown. For example, 0 means to return results starting from the first matching job, and 10 means to return from the 11th job. This can be used for pagination, (for example, pageSize = 10 and offset = 10 means to return from the second page).", +"format": "int32", +"type": "integer" +}, +"orderBy": { +"description": "Optional. The criteria determining how search results are sorted. Default is \"relevance desc\". Supported options are: * `\"relevance desc\"`: By relevance descending, as determined by the API algorithms. Relevance thresholding of query results is only available with this ordering. * `\"posting_publish_time desc\"`: By Job.posting_publish_time descending. * `\"posting_update_time desc\"`: By Job.posting_update_time descending. * `\"title\"`: By Job.title ascending. * `\"title desc\"`: By Job.title descending. * `\"annualized_base_compensation\"`: By job's CompensationInfo.annualized_base_compensation_range ascending. Jobs whose annualized base compensation is unspecified are put at the end of search results. * `\"annualized_base_compensation desc\"`: By job's CompensationInfo.annualized_base_compensation_range descending. Jobs whose annualized base compensation is unspecified are put at the end of search results. * `\"annualized_total_compensation\"`: By job's CompensationInfo.annualized_total_compensation_range ascending. Jobs whose annualized base compensation is unspecified are put at the end of search results. * `\"annualized_total_compensation desc\"`: By job's CompensationInfo.annualized_total_compensation_range descending. Jobs whose annualized base compensation is unspecified are put at the end of search results.", +"type": "string" +}, +"pageSize": { +"description": "Optional. A limit on the number of jobs returned in the search results. Increasing this value above the default value of 10 can increase search response time. The value can be between 1 and 100.", +"format": "int32", +"type": "integer" +}, +"pageToken": { +"description": "Optional. The token specifying the current offset within search results. See SearchJobsResponse.next_page_token for an explanation of how to obtain the next set of query results.", +"type": "string" +}, +"requestMetadata": { +"$ref": "RequestMetadata", +"description": "Required. The meta information collected about the job searcher, used to improve the search quality of the service. The identifiers (such as `user_id`) are provided by users, and must be unique and consistent." +}, +"requirePreciseResultSize": { +"deprecated": true, +"description": "This field is deprecated.", +"type": "boolean" +}, +"searchMode": { +"description": "Optional. Mode of a search. Defaults to SearchMode.JOB_SEARCH.", +"enum": [ +"SEARCH_MODE_UNSPECIFIED", +"JOB_SEARCH", +"FEATURED_JOB_SEARCH" +], +"enumDescriptions": [ +"The mode of the search method isn't specified. The default search behavior is identical to JOB_SEARCH search behavior.", +"The job search matches against all jobs, and featured jobs (jobs with promotionValue > 0) are not specially handled.", +"The job search matches only against featured jobs (jobs with a promotionValue > 0). This method doesn't return any jobs having a promotionValue <= 0. The search results order is determined by the promotionValue (jobs with a higher promotionValue are returned higher up in the search results), with relevance being used as a tiebreaker." +], +"type": "string" +} +}, +"type": "object" +}, +"SearchJobsResponse": { +"description": "Output only. Response for SearchJob method.", +"id": "SearchJobsResponse", +"properties": { +"broadenedQueryJobsCount": { +"description": "If query broadening is enabled, we may append additional results from the broadened query. This number indicates how many of the jobs returned in the jobs field are from the broadened query. These results are always at the end of the jobs list. In particular, a value of 0, or if the field isn't set, all the jobs in the jobs list are from the original (without broadening) query. If this field is non-zero, subsequent requests with offset after this result set should contain all broadened results.", +"format": "int32", +"type": "integer" +}, +"estimatedTotalSize": { +"description": "An estimation of the number of jobs that match the specified query. This number is not guaranteed to be accurate. For accurate results, see SearchJobsResponse.total_size.", +"format": "int32", +"type": "integer" +}, +"histogramResults": { +"$ref": "HistogramResults", +"description": "The histogram results that match specified SearchJobsRequest.histogram_facets." +}, +"locationFilters": { +"description": "The location filters that the service applied to the specified query. If any filters are lat-lng based, the JobLocation.location_type is JobLocation.LocationType#LOCATION_TYPE_UNSPECIFIED.", +"items": { +"$ref": "Location" +}, +"type": "array" +}, +"matchingJobs": { +"description": "The Job entities that match the specified SearchJobsRequest.", +"items": { +"$ref": "MatchingJob" +}, +"type": "array" +}, +"metadata": { +"$ref": "ResponseMetadata", +"description": "Additional information for the API invocation, such as the request tracking id." +}, +"nextPageToken": { +"description": "The token that specifies the starting position of the next page of results. This field is empty if there are no more results.", +"type": "string" +}, +"spellCorrection": { +"$ref": "SpellingCorrection", +"description": "The spell checking result, and correction." +}, +"totalSize": { +"description": "The precise result count with limit 100,000.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"SpellingCorrection": { +"description": "Output only. Spell check result.", +"id": "SpellingCorrection", +"properties": { +"corrected": { +"description": "Indicates if the query was corrected by the spell checker.", +"type": "boolean" +}, +"correctedText": { +"description": "Correction output consisting of the corrected keyword string.", +"type": "string" +} +}, +"type": "object" +}, +"TimeOfDay": { +"description": "Represents a time of day. The date and time zone are either not significant or are specified elsewhere. An API may choose to allow leap seconds. Related types are google.type.Date and `google.protobuf.Timestamp`.", +"id": "TimeOfDay", +"properties": { +"hours": { +"description": "Hours of a day in 24 hour format. Must be greater than or equal to 0 and typically must be less than or equal to 23. An API may choose to allow the value \"24:00:00\" for scenarios like business closing time.", +"format": "int32", +"type": "integer" +}, +"minutes": { +"description": "Minutes of an hour. Must be greater than or equal to 0 and less than or equal to 59.", +"format": "int32", +"type": "integer" +}, +"nanos": { +"description": "Fractions of seconds, in nanoseconds. Must be greater than or equal to 0 and less than or equal to 999,999,999.", +"format": "int32", +"type": "integer" +}, +"seconds": { +"description": "Seconds of a minute. Must be greater than or equal to 0 and typically must be less than or equal to 59. An API may allow the value 60 if it allows leap-seconds.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"TimestampRange": { +"description": "Message representing a period of time between two timestamps.", +"id": "TimestampRange", +"properties": { +"endTime": { +"description": "End of the period.", +"format": "google-datetime", +"type": "string" +}, +"startTime": { +"description": "Begin of the period.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"UpdateCompanyRequest": { +"description": "Input only. Request for updating a specified company.", +"id": "UpdateCompanyRequest", +"properties": { +"company": { +"$ref": "Company", +"description": "Required. The company resource to replace the current resource in the system." +}, +"updateMask": { +"description": "Optional but strongly recommended for the best service experience. If update_mask is provided, only the specified fields in company are updated. Otherwise all the fields are updated. A field mask to specify the company fields to be updated. Only top level fields of Company are supported.", +"format": "google-fieldmask", +"type": "string" +} +}, +"type": "object" +}, +"UpdateJobRequest": { +"description": "Input only. Update job request.", +"id": "UpdateJobRequest", +"properties": { +"job": { +"$ref": "Job", +"description": "Required. The Job to be updated." +}, +"updateMask": { +"description": "Optional but strongly recommended to be provided for the best service experience. If update_mask is provided, only the specified fields in job are updated. Otherwise all the fields are updated. A field mask to restrict the fields that are updated. Only top level fields of Job are supported.", +"format": "google-fieldmask", +"type": "string" +} +}, +"type": "object" +} +}, +"servicePath": "", +"title": "Cloud Talent Solution API", +"version": "v3", +"version_module": true +} \ No newline at end of file diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/jobs.v3p1beta1.json b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/jobs.v3p1beta1.json new file mode 100644 index 0000000000000000000000000000000000000000..814c090f9758210a2e4cfe94e4494714bb4320b8 --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/jobs.v3p1beta1.json @@ -0,0 +1,2860 @@ +{ +"auth": { +"oauth2": { +"scopes": { +"https://www.googleapis.com/auth/cloud-platform": { +"description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." +}, +"https://www.googleapis.com/auth/jobs": { +"description": "Manage job postings" +} +} +} +}, +"basePath": "", +"baseUrl": "https://jobs.googleapis.com/", +"batchPath": "batch", +"canonicalName": "Cloud Talent Solution", +"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. ", +"discoveryVersion": "v1", +"documentationLink": "https://cloud.google.com/talent-solution/job-search/docs/", +"fullyEncodeReservedExpansion": true, +"icons": { +"x16": "http://www.google.com/images/icons/product/search-16.gif", +"x32": "http://www.google.com/images/icons/product/search-32.gif" +}, +"id": "jobs:v3p1beta1", +"kind": "discovery#restDescription", +"mtlsRootUrl": "https://jobs.mtls.googleapis.com/", +"name": "jobs", +"ownerDomain": "google.com", +"ownerName": "Google", +"parameters": { +"$.xgafv": { +"description": "V1 error format.", +"enum": [ +"1", +"2" +], +"enumDescriptions": [ +"v1 error format", +"v2 error format" +], +"location": "query", +"type": "string" +}, +"access_token": { +"description": "OAuth access token.", +"location": "query", +"type": "string" +}, +"alt": { +"default": "json", +"description": "Data format for response.", +"enum": [ +"json", +"media", +"proto" +], +"enumDescriptions": [ +"Responses with Content-Type of application/json", +"Media download with context-dependent Content-Type", +"Responses with Content-Type of application/x-protobuf" +], +"location": "query", +"type": "string" +}, +"callback": { +"description": "JSONP", +"location": "query", +"type": "string" +}, +"fields": { +"description": "Selector specifying which fields to include in a partial response.", +"location": "query", +"type": "string" +}, +"key": { +"description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", +"location": "query", +"type": "string" +}, +"oauth_token": { +"description": "OAuth 2.0 token for the current user.", +"location": "query", +"type": "string" +}, +"prettyPrint": { +"default": "true", +"description": "Returns response with indentations and line breaks.", +"location": "query", +"type": "boolean" +}, +"quotaUser": { +"description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.", +"location": "query", +"type": "string" +}, +"uploadType": { +"description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", +"location": "query", +"type": "string" +}, +"upload_protocol": { +"description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", +"location": "query", +"type": "string" +} +}, +"protocol": "rest", +"resources": { +"projects": { +"methods": { +"complete": { +"description": "Completes the specified prefix with keyword suggestions. Intended for use by a job search auto-complete search box.", +"flatPath": "v3p1beta1/projects/{projectsId}:complete", +"httpMethod": "GET", +"id": "jobs.projects.complete", +"parameterOrder": [ +"name" +], +"parameters": { +"companyName": { +"description": "Optional. If provided, restricts completion to specified company. The format is \"projects/{project_id}/companies/{company_id}\", for example, \"projects/api-test-project/companies/foo\".", +"location": "query", +"type": "string" +}, +"languageCode": { +"deprecated": true, +"description": "Deprecated. Use language_codes instead. Optional. The language of the query. This is the BCP-47 language code, such as \"en-US\" or \"sr-Latn\". For more information, see [Tags for Identifying Languages](https://tools.ietf.org/html/bcp47). For CompletionType.JOB_TITLE type, only open jobs with the same language_code are returned. For CompletionType.COMPANY_NAME type, only companies having open jobs with the same language_code are returned. For CompletionType.COMBINED type, only open jobs with the same language_code or companies having open jobs with the same language_code are returned. The maximum number of allowed characters is 255.", +"location": "query", +"type": "string" +}, +"languageCodes": { +"description": "Optional. The list of languages of the query. This is the BCP-47 language code, such as \"en-US\" or \"sr-Latn\". For more information, see [Tags for Identifying Languages](https://tools.ietf.org/html/bcp47). For CompletionType.JOB_TITLE type, only open jobs with the same language_codes are returned. For CompletionType.COMPANY_NAME type, only companies having open jobs with the same language_codes are returned. For CompletionType.COMBINED type, only open jobs with the same language_codes or companies having open jobs with the same language_codes are returned. The maximum number of allowed characters is 255.", +"location": "query", +"repeated": true, +"type": "string" +}, +"name": { +"description": "Required. Resource name of project the completion is performed within. The format is \"projects/{project_id}\", for example, \"projects/api-test-project\".", +"location": "path", +"pattern": "^projects/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "Required. Completion result count. The maximum allowed page size is 10.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"query": { +"description": "Required. The query used to generate suggestions. The maximum number of allowed characters is 255.", +"location": "query", +"type": "string" +}, +"scope": { +"description": "Optional. The scope of the completion. The defaults is CompletionScope.PUBLIC.", +"enum": [ +"COMPLETION_SCOPE_UNSPECIFIED", +"TENANT", +"PUBLIC" +], +"enumDescriptions": [ +"Default value.", +"Suggestions are based only on the data provided by the client.", +"Suggestions are based on all jobs data in the system that's visible to the client" +], +"location": "query", +"type": "string" +}, +"type": { +"description": "Optional. The completion topic. The default is CompletionType.COMBINED.", +"enum": [ +"COMPLETION_TYPE_UNSPECIFIED", +"JOB_TITLE", +"COMPANY_NAME", +"COMBINED" +], +"enumDescriptions": [ +"Default value.", +"Only suggest job titles.", +"Only suggest company names.", +"Suggest both job titles and company names." +], +"location": "query", +"type": "string" +} +}, +"path": "v3p1beta1/{+name}:complete", +"response": { +"$ref": "CompleteQueryResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/jobs" +] +} +}, +"resources": { +"clientEvents": { +"methods": { +"create": { +"description": "Report events issued when end user interacts with customer's application that uses Cloud Talent Solution. You may inspect the created events in [self service tools](https://console.cloud.google.com/talent-solution/overview). [Learn more](https://cloud.google.com/talent-solution/docs/management-tools) about self service tools.", +"flatPath": "v3p1beta1/projects/{projectsId}/clientEvents", +"httpMethod": "POST", +"id": "jobs.projects.clientEvents.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Parent project name.", +"location": "path", +"pattern": "^projects/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3p1beta1/{+parent}/clientEvents", +"request": { +"$ref": "CreateClientEventRequest" +}, +"response": { +"$ref": "ClientEvent" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/jobs" +] +} +} +}, +"companies": { +"methods": { +"create": { +"description": "Creates a new company entity.", +"flatPath": "v3p1beta1/projects/{projectsId}/companies", +"httpMethod": "POST", +"id": "jobs.projects.companies.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. Resource name of the project under which the company is created. The format is \"projects/{project_id}\", for example, \"projects/api-test-project\".", +"location": "path", +"pattern": "^projects/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3p1beta1/{+parent}/companies", +"request": { +"$ref": "CreateCompanyRequest" +}, +"response": { +"$ref": "Company" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/jobs" +] +}, +"delete": { +"description": "Deletes specified company. Prerequisite: The company has no jobs associated with it.", +"flatPath": "v3p1beta1/projects/{projectsId}/companies/{companiesId}", +"httpMethod": "DELETE", +"id": "jobs.projects.companies.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the company to be deleted. The format is \"projects/{project_id}/companies/{company_id}\", for example, \"projects/api-test-project/companies/foo\".", +"location": "path", +"pattern": "^projects/[^/]+/companies/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3p1beta1/{+name}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/jobs" +] +}, +"get": { +"description": "Retrieves specified company.", +"flatPath": "v3p1beta1/projects/{projectsId}/companies/{companiesId}", +"httpMethod": "GET", +"id": "jobs.projects.companies.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the company to be retrieved. The format is \"projects/{project_id}/companies/{company_id}\", for example, \"projects/api-test-project/companies/foo\".", +"location": "path", +"pattern": "^projects/[^/]+/companies/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3p1beta1/{+name}", +"response": { +"$ref": "Company" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/jobs" +] +}, +"list": { +"description": "Lists all companies associated with the service account.", +"flatPath": "v3p1beta1/projects/{projectsId}/companies", +"httpMethod": "GET", +"id": "jobs.projects.companies.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "Optional. The maximum number of companies to be returned, at most 100. Default is 100 if a non-positive number is provided.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. The starting indicator from which to return results.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. Resource name of the project under which the company is created. The format is \"projects/{project_id}\", for example, \"projects/api-test-project\".", +"location": "path", +"pattern": "^projects/[^/]+$", +"required": true, +"type": "string" +}, +"requireOpenJobs": { +"description": "Optional. Set to true if the companies requested must have open jobs. Defaults to false. If true, at most page_size of companies are fetched, among which only those with open jobs are returned.", +"location": "query", +"type": "boolean" +} +}, +"path": "v3p1beta1/{+parent}/companies", +"response": { +"$ref": "ListCompaniesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/jobs" +] +}, +"patch": { +"description": "Updates specified company. Company names can't be updated. To update a company name, delete the company and all jobs associated with it, and only then re-create them.", +"flatPath": "v3p1beta1/projects/{projectsId}/companies/{companiesId}", +"httpMethod": "PATCH", +"id": "jobs.projects.companies.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required during company update. The resource name for a company. This is generated by the service when a company is created. The format is \"projects/{project_id}/companies/{company_id}\", for example, \"projects/api-test-project/companies/foo\".", +"location": "path", +"pattern": "^projects/[^/]+/companies/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3p1beta1/{+name}", +"request": { +"$ref": "UpdateCompanyRequest" +}, +"response": { +"$ref": "Company" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/jobs" +] +} +} +}, +"jobs": { +"methods": { +"batchDelete": { +"description": "Deletes a list of Jobs by filter.", +"flatPath": "v3p1beta1/projects/{projectsId}/jobs:batchDelete", +"httpMethod": "POST", +"id": "jobs.projects.jobs.batchDelete", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The resource name of the project under which the job is created. The format is \"projects/{project_id}\", for example, \"projects/api-test-project\".", +"location": "path", +"pattern": "^projects/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3p1beta1/{+parent}/jobs:batchDelete", +"request": { +"$ref": "BatchDeleteJobsRequest" +}, +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/jobs" +] +}, +"create": { +"description": "Creates a new job. Typically, the job becomes searchable within 10 seconds, but it may take up to 5 minutes.", +"flatPath": "v3p1beta1/projects/{projectsId}/jobs", +"httpMethod": "POST", +"id": "jobs.projects.jobs.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The resource name of the project under which the job is created. The format is \"projects/{project_id}\", for example, \"projects/api-test-project\".", +"location": "path", +"pattern": "^projects/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3p1beta1/{+parent}/jobs", +"request": { +"$ref": "CreateJobRequest" +}, +"response": { +"$ref": "Job" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/jobs" +] +}, +"delete": { +"description": "Deletes the specified job. Typically, the job becomes unsearchable within 10 seconds, but it may take up to 5 minutes.", +"flatPath": "v3p1beta1/projects/{projectsId}/jobs/{jobsId}", +"httpMethod": "DELETE", +"id": "jobs.projects.jobs.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the job to be deleted. The format is \"projects/{project_id}/jobs/{job_id}\", for example, \"projects/api-test-project/jobs/1234\".", +"location": "path", +"pattern": "^projects/[^/]+/jobs/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3p1beta1/{+name}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/jobs" +] +}, +"get": { +"description": "Retrieves the specified job, whose status is OPEN or recently EXPIRED within the last 90 days.", +"flatPath": "v3p1beta1/projects/{projectsId}/jobs/{jobsId}", +"httpMethod": "GET", +"id": "jobs.projects.jobs.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the job to retrieve. The format is \"projects/{project_id}/jobs/{job_id}\", for example, \"projects/api-test-project/jobs/1234\".", +"location": "path", +"pattern": "^projects/[^/]+/jobs/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3p1beta1/{+name}", +"response": { +"$ref": "Job" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/jobs" +] +}, +"list": { +"description": "Lists jobs by filter.", +"flatPath": "v3p1beta1/projects/{projectsId}/jobs", +"httpMethod": "GET", +"id": "jobs.projects.jobs.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Required. The filter string specifies the jobs to be enumerated. Supported operator: =, AND The fields eligible for filtering are: * `companyName` * `requisitionId` * `status` Available values: OPEN, EXPIRED, ALL. Defaults to OPEN if no value is specified. At least one of `companyName` and `requisitionId` must present or an INVALID_ARGUMENT error is thrown. Sample Query: * companyName = \"projects/api-test-project/companies/123\" * companyName = \"projects/api-test-project/companies/123\" AND requisitionId = \"req-1\" * companyName = \"projects/api-test-project/companies/123\" AND status = \"EXPIRED\" * requisitionId = \"req-1\" * requisitionId = \"req-1\" AND status = \"EXPIRED\"", +"location": "query", +"type": "string" +}, +"jobView": { +"description": "Optional. The desired job attributes returned for jobs in the search response. Defaults to JobView.JOB_VIEW_FULL if no value is specified.", +"enum": [ +"JOB_VIEW_UNSPECIFIED", +"JOB_VIEW_ID_ONLY", +"JOB_VIEW_MINIMAL", +"JOB_VIEW_SMALL", +"JOB_VIEW_FULL" +], +"enumDescriptions": [ +"Default value.", +"A ID only view of job, with following attributes: Job.name, Job.requisition_id, Job.language_code.", +"A minimal view of the job, with the following attributes: Job.name, Job.requisition_id, Job.title, Job.company_name, Job.DerivedInfo.locations, Job.language_code.", +"A small view of the job, with the following attributes in the search results: Job.name, Job.requisition_id, Job.title, Job.company_name, Job.DerivedInfo.locations, Job.visibility, Job.language_code, Job.description.", +"All available attributes are included in the search results." +], +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Optional. The maximum number of jobs to be returned per page of results. If job_view is set to JobView.JOB_VIEW_ID_ONLY, the maximum allowed page size is 1000. Otherwise, the maximum allowed page size is 100. Default is 100 if empty or a number < 1 is specified.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. The starting point of a query result.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The resource name of the project under which the job is created. The format is \"projects/{project_id}\", for example, \"projects/api-test-project\".", +"location": "path", +"pattern": "^projects/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3p1beta1/{+parent}/jobs", +"response": { +"$ref": "ListJobsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/jobs" +] +}, +"patch": { +"description": "Updates specified job. Typically, updated contents become visible in search results within 10 seconds, but it may take up to 5 minutes.", +"flatPath": "v3p1beta1/projects/{projectsId}/jobs/{jobsId}", +"httpMethod": "PATCH", +"id": "jobs.projects.jobs.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required during job update. The resource name for the job. This is generated by the service when a job is created. The format is \"projects/{project_id}/jobs/{job_id}\", for example, \"projects/api-test-project/jobs/1234\". Use of this field in job queries and API calls is preferred over the use of requisition_id since this value is unique.", +"location": "path", +"pattern": "^projects/[^/]+/jobs/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3p1beta1/{+name}", +"request": { +"$ref": "UpdateJobRequest" +}, +"response": { +"$ref": "Job" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/jobs" +] +}, +"search": { +"description": "Searches for jobs using the provided SearchJobsRequest. This call constrains the visibility of jobs present in the database, and only returns jobs that the caller has permission to search against.", +"flatPath": "v3p1beta1/projects/{projectsId}/jobs:search", +"httpMethod": "POST", +"id": "jobs.projects.jobs.search", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The resource name of the project to search within. The format is \"projects/{project_id}\", for example, \"projects/api-test-project\".", +"location": "path", +"pattern": "^projects/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3p1beta1/{+parent}/jobs:search", +"request": { +"$ref": "SearchJobsRequest" +}, +"response": { +"$ref": "SearchJobsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/jobs" +] +}, +"searchForAlert": { +"description": "Searches for jobs using the provided SearchJobsRequest. This API call is intended for the use case of targeting passive job seekers (for example, job seekers who have signed up to receive email alerts about potential job opportunities), and has different algorithmic adjustments that are targeted to passive job seekers. This call constrains the visibility of jobs present in the database, and only returns jobs the caller has permission to search against.", +"flatPath": "v3p1beta1/projects/{projectsId}/jobs:searchForAlert", +"httpMethod": "POST", +"id": "jobs.projects.jobs.searchForAlert", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The resource name of the project to search within. The format is \"projects/{project_id}\", for example, \"projects/api-test-project\".", +"location": "path", +"pattern": "^projects/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3p1beta1/{+parent}/jobs:searchForAlert", +"request": { +"$ref": "SearchJobsRequest" +}, +"response": { +"$ref": "SearchJobsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/jobs" +] +} +} +}, +"operations": { +"methods": { +"get": { +"description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", +"flatPath": "v3p1beta1/projects/{projectsId}/operations/{operationsId}", +"httpMethod": "GET", +"id": "jobs.projects.operations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource.", +"location": "path", +"pattern": "^projects/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3p1beta1/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/jobs" +] +} +} +} +} +} +}, +"revision": "20251014", +"rootUrl": "https://jobs.googleapis.com/", +"schemas": { +"ApplicationInfo": { +"description": "Application related details of a job posting.", +"id": "ApplicationInfo", +"properties": { +"emails": { +"description": "Optional but at least one of uris, emails or instruction must be specified. Use this field to specify email address(es) to which resumes or applications can be sent. The maximum number of allowed characters for each entry is 255.", +"items": { +"type": "string" +}, +"type": "array" +}, +"instruction": { +"description": "Optional but at least one of uris, emails or instruction must be specified. Use this field to provide instructions, such as \"Mail your application to ...\", that a candidate can follow to apply for the job. This field accepts and sanitizes HTML input, and also accepts bold, italic, ordered list, and unordered list markup tags. The maximum number of allowed characters is 3,000.", +"type": "string" +}, +"uris": { +"description": "Optional but at least one of uris, emails or instruction must be specified. Use this URI field to direct an applicant to a website, for example to link to an online application form. The maximum number of allowed characters for each entry is 2,000.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"BatchDeleteJobsRequest": { +"description": "Input only. Batch delete jobs request.", +"id": "BatchDeleteJobsRequest", +"properties": { +"filter": { +"description": "Required. The filter string specifies the jobs to be deleted. Supported operator: =, AND The fields eligible for filtering are: * `companyName` (Required) * `requisitionId` (Required) Sample Query: companyName = \"projects/api-test-project/companies/123\" AND requisitionId = \"req-1\"", +"type": "string" +} +}, +"type": "object" +}, +"BucketRange": { +"description": "Represents starting and ending value of a range in double.", +"id": "BucketRange", +"properties": { +"from": { +"description": "Starting value of the bucket range.", +"format": "double", +"type": "number" +}, +"to": { +"description": "Ending value of the bucket range.", +"format": "double", +"type": "number" +} +}, +"type": "object" +}, +"BucketizedCount": { +"description": "Represents count of jobs within one bucket.", +"id": "BucketizedCount", +"properties": { +"count": { +"description": "Number of jobs whose numeric field value fall into `range`.", +"format": "int32", +"type": "integer" +}, +"range": { +"$ref": "BucketRange", +"description": "Bucket range on which histogram was performed for the numeric field, that is, the count represents number of jobs in this range." +} +}, +"type": "object" +}, +"ClientEvent": { +"description": "An event issued when an end user interacts with the application that implements Cloud Talent Solution. Providing this information improves the quality of search and recommendation for the API clients, enabling the service to perform optimally. The number of events sent must be consistent with other calls, such as job searches, issued to the service by the client.", +"id": "ClientEvent", +"properties": { +"createTime": { +"description": "Required. The timestamp of the event.", +"format": "google-datetime", +"type": "string" +}, +"eventId": { +"description": "Required. A unique identifier, generated by the client application. This `event_id` is used to establish the relationship between different events (see parent_event_id).", +"type": "string" +}, +"extraInfo": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. Extra information about this event. Used for storing information with no matching field in event payload, for example, user application specific context or details. At most 20 keys are supported. The maximum total size of all keys and values is 2 KB.", +"type": "object" +}, +"jobEvent": { +"$ref": "JobEvent", +"description": "A event issued when a job seeker interacts with the application that implements Cloud Talent Solution." +}, +"parentEventId": { +"description": "Optional. The event_id of an event that resulted in the current event. For example, a Job view event usually follows a parent impression event: A job seeker first does a search where a list of jobs appears (impression). The job seeker then selects a result and views the description of a particular job (Job view).", +"type": "string" +}, +"requestId": { +"description": "Required. A unique ID generated in the API responses. It can be found in ResponseMetadata.request_id.", +"type": "string" +} +}, +"type": "object" +}, +"CommuteFilter": { +"description": "Input only. Parameters needed for commute search.", +"id": "CommuteFilter", +"properties": { +"allowImpreciseAddresses": { +"description": "Optional. If true, jobs without \"precise\" addresses (street level addresses or GPS coordinates) might also be returned. For city and coarser level addresses, text matching is used. If this field is set to false or is not specified, only jobs that include precise addresses are returned by Commute Search. Note: If `allow_imprecise_addresses` is set to true, Commute Search is not able to calculate accurate commute times to jobs with city level and coarser address information. Jobs with imprecise addresses will return a `travel_duration` time of 0 regardless of distance from the job seeker.", +"type": "boolean" +}, +"commuteMethod": { +"description": "Required. The method of transportation for which to calculate the commute time.", +"enum": [ +"COMMUTE_METHOD_UNSPECIFIED", +"DRIVING", +"TRANSIT", +"WALKING", +"CYCLING" +], +"enumDescriptions": [ +"Commute method is not specified.", +"Commute time is calculated based on driving time.", +"Commute time is calculated based on public transit including bus, metro, subway, etc.", +"Commute time is calculated based on walking time.", +"Commute time is calculated based on biking time." +], +"type": "string" +}, +"departureTime": { +"$ref": "TimeOfDay", +"description": "Optional. The departure time used to calculate traffic impact, represented as google.type.TimeOfDay in local time zone. Currently traffic model is restricted to hour level resolution." +}, +"roadTraffic": { +"description": "Optional. Specifies the traffic density to use when calculating commute time.", +"enum": [ +"ROAD_TRAFFIC_UNSPECIFIED", +"TRAFFIC_FREE", +"BUSY_HOUR" +], +"enumDescriptions": [ +"Road traffic situation is not specified.", +"Optimal commute time without considering any traffic impact.", +"Commute time calculation takes in account the peak traffic impact." +], +"type": "string" +}, +"startCoordinates": { +"$ref": "LatLng", +"description": "Required. The latitude and longitude of the location from which to calculate the commute time." +}, +"travelDuration": { +"description": "Required. The maximum travel time in seconds. The maximum allowed value is `3600s` (one hour). Format is `123s`.", +"format": "google-duration", +"type": "string" +} +}, +"type": "object" +}, +"CommuteInfo": { +"description": "Output only. Commute details related to this job.", +"id": "CommuteInfo", +"properties": { +"jobLocation": { +"$ref": "Location", +"description": "Location used as the destination in the commute calculation." +}, +"travelDuration": { +"description": "The number of seconds required to travel to the job location from the query location. A duration of 0 seconds indicates that the job is not reachable within the requested duration, but was returned as part of an expanded query.", +"format": "google-duration", +"type": "string" +} +}, +"type": "object" +}, +"Company": { +"description": "A Company resource represents a company in the service. A company is the entity that owns job postings, that is, the hiring entity responsible for employing applicants for the job position.", +"id": "Company", +"properties": { +"careerSiteUri": { +"description": "Optional. The URI to employer's career site or careers page on the employer's web site, for example, \"https://careers.google.com\".", +"type": "string" +}, +"derivedInfo": { +"$ref": "CompanyDerivedInfo", +"description": "Output only. Derived details about the company." +}, +"displayName": { +"description": "Required. The display name of the company, for example, \"Google LLC\".", +"type": "string" +}, +"eeoText": { +"description": "Optional. Equal Employment Opportunity legal disclaimer text to be associated with all jobs, and typically to be displayed in all roles. The maximum number of allowed characters is 500.", +"type": "string" +}, +"externalId": { +"description": "Required. Client side company identifier, used to uniquely identify the company. The maximum number of allowed characters is 255.", +"type": "string" +}, +"headquartersAddress": { +"description": "Optional. The street address of the company's main headquarters, which may be different from the job location. The service attempts to geolocate the provided address, and populates a more specific location wherever possible in DerivedInfo.headquarters_location.", +"type": "string" +}, +"hiringAgency": { +"description": "Optional. Set to true if it is the hiring agency that post jobs for other employers. Defaults to false if not provided.", +"type": "boolean" +}, +"imageUri": { +"description": "Optional. A URI that hosts the employer's company logo.", +"type": "string" +}, +"keywordSearchableJobCustomAttributes": { +"deprecated": true, +"description": "Optional. This field is deprecated. Please set the searchability of the custom attribute in the Job.custom_attributes going forward. A list of keys of filterable Job.custom_attributes, whose corresponding `string_values` are used in keyword search. Jobs with `string_values` under these specified field keys are returned if any of the values matches the search keyword. Custom field values with parenthesis, brackets and special symbols won't be properly searchable, and those keyword queries need to be surrounded by quotes.", +"items": { +"type": "string" +}, +"type": "array" +}, +"name": { +"description": "Required during company update. The resource name for a company. This is generated by the service when a company is created. The format is \"projects/{project_id}/companies/{company_id}\", for example, \"projects/api-test-project/companies/foo\".", +"type": "string" +}, +"size": { +"description": "Optional. The employer's company size.", +"enum": [ +"COMPANY_SIZE_UNSPECIFIED", +"MINI", +"SMALL", +"SMEDIUM", +"MEDIUM", +"BIG", +"BIGGER", +"GIANT" +], +"enumDescriptions": [ +"Default value if the size is not specified.", +"The company has less than 50 employees.", +"The company has between 50 and 99 employees.", +"The company has between 100 and 499 employees.", +"The company has between 500 and 999 employees.", +"The company has between 1,000 and 4,999 employees.", +"The company has between 5,000 and 9,999 employees.", +"The company has 10,000 or more employees." +], +"type": "string" +}, +"suspended": { +"description": "Output only. Indicates whether a company is flagged to be suspended from public availability by the service when job content appears suspicious, abusive, or spammy.", +"type": "boolean" +}, +"websiteUri": { +"description": "Optional. The URI representing the company's primary web site or home page, for example, \"https://www.google.com\". The maximum number of allowed characters is 255.", +"type": "string" +} +}, +"type": "object" +}, +"CompanyDerivedInfo": { +"description": "Derived details about the company.", +"id": "CompanyDerivedInfo", +"properties": { +"headquartersLocation": { +"$ref": "Location", +"description": "A structured headquarters location of the company, resolved from Company.hq_location if provided." +} +}, +"type": "object" +}, +"CompensationEntry": { +"description": "A compensation entry that represents one component of compensation, such as base pay, bonus, or other compensation type. Annualization: One compensation entry can be annualized if - it contains valid amount or range. - and its expected_units_per_year is set or can be derived. Its annualized range is determined as (amount or range) times expected_units_per_year.", +"id": "CompensationEntry", +"properties": { +"amount": { +"$ref": "Money", +"description": "Optional. Compensation amount." +}, +"description": { +"description": "Optional. Compensation description. For example, could indicate equity terms or provide additional context to an estimated bonus.", +"type": "string" +}, +"expectedUnitsPerYear": { +"description": "Optional. Expected number of units paid each year. If not specified, when Job.employment_types is FULLTIME, a default value is inferred based on unit. Default values: - HOURLY: 2080 - DAILY: 260 - WEEKLY: 52 - MONTHLY: 12 - ANNUAL: 1", +"format": "double", +"type": "number" +}, +"range": { +"$ref": "CompensationRange", +"description": "Optional. Compensation range." +}, +"type": { +"description": "Optional. Compensation type. Default is CompensationUnit.COMPENSATION_TYPE_UNSPECIFIED.", +"enum": [ +"COMPENSATION_TYPE_UNSPECIFIED", +"BASE", +"BONUS", +"SIGNING_BONUS", +"EQUITY", +"PROFIT_SHARING", +"COMMISSIONS", +"TIPS", +"OTHER_COMPENSATION_TYPE" +], +"enumDescriptions": [ +"Default value.", +"Base compensation: Refers to the fixed amount of money paid to an employee by an employer in return for work performed. Base compensation does not include benefits, bonuses or any other potential compensation from an employer.", +"Bonus.", +"Signing bonus.", +"Equity.", +"Profit sharing.", +"Commission.", +"Tips.", +"Other compensation type." +], +"type": "string" +}, +"unit": { +"description": "Optional. Frequency of the specified amount. Default is CompensationUnit.COMPENSATION_UNIT_UNSPECIFIED.", +"enum": [ +"COMPENSATION_UNIT_UNSPECIFIED", +"HOURLY", +"DAILY", +"WEEKLY", +"MONTHLY", +"YEARLY", +"ONE_TIME", +"OTHER_COMPENSATION_UNIT" +], +"enumDescriptions": [ +"Default value.", +"Hourly.", +"Daily.", +"Weekly", +"Monthly.", +"Yearly.", +"One time.", +"Other compensation units." +], +"type": "string" +} +}, +"type": "object" +}, +"CompensationFilter": { +"description": "Input only. Filter on job compensation type and amount.", +"id": "CompensationFilter", +"properties": { +"includeJobsWithUnspecifiedCompensationRange": { +"description": "Optional. If set to true, jobs with unspecified compensation range fields are included.", +"type": "boolean" +}, +"range": { +"$ref": "CompensationRange", +"description": "Optional. Compensation range." +}, +"type": { +"description": "Required. Type of filter.", +"enum": [ +"FILTER_TYPE_UNSPECIFIED", +"UNIT_ONLY", +"UNIT_AND_AMOUNT", +"ANNUALIZED_BASE_AMOUNT", +"ANNUALIZED_TOTAL_AMOUNT" +], +"enumDescriptions": [ +"Filter type unspecified. Position holder, INVALID, should never be used.", +"Filter by `base compensation entry's` unit. A job is a match if and only if the job contains a base CompensationEntry and the base CompensationEntry's unit matches provided units. Populate one or more units. See CompensationInfo.CompensationEntry for definition of base compensation entry.", +"Filter by `base compensation entry's` unit and amount / range. A job is a match if and only if the job contains a base CompensationEntry, and the base entry's unit matches provided compensation_units and amount or range overlaps with provided compensation_range. See CompensationInfo.CompensationEntry for definition of base compensation entry. Set exactly one units and populate range.", +"Filter by annualized base compensation amount and `base compensation entry's` unit. Populate range and zero or more units.", +"Filter by annualized total compensation amount and `base compensation entry's` unit . Populate range and zero or more units." +], +"type": "string" +}, +"units": { +"description": "Required. Specify desired `base compensation entry's` CompensationInfo.CompensationUnit.", +"items": { +"enum": [ +"COMPENSATION_UNIT_UNSPECIFIED", +"HOURLY", +"DAILY", +"WEEKLY", +"MONTHLY", +"YEARLY", +"ONE_TIME", +"OTHER_COMPENSATION_UNIT" +], +"enumDescriptions": [ +"Default value.", +"Hourly.", +"Daily.", +"Weekly", +"Monthly.", +"Yearly.", +"One time.", +"Other compensation units." +], +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"CompensationHistogramRequest": { +"description": "Input only. Compensation based histogram request.", +"id": "CompensationHistogramRequest", +"properties": { +"bucketingOption": { +"$ref": "NumericBucketingOption", +"description": "Required. Numeric histogram options, like buckets, whether include min or max value." +}, +"type": { +"description": "Required. Type of the request, representing which field the histogramming should be performed over. A single request can only specify one histogram of each `CompensationHistogramRequestType`.", +"enum": [ +"COMPENSATION_HISTOGRAM_REQUEST_TYPE_UNSPECIFIED", +"BASE", +"ANNUALIZED_BASE", +"ANNUALIZED_TOTAL" +], +"enumDescriptions": [ +"Default value. Invalid.", +"Histogram by job's base compensation. See CompensationEntry for definition of base compensation.", +"Histogram by job's annualized base compensation. See CompensationEntry for definition of annualized base compensation.", +"Histogram by job's annualized total compensation. See CompensationEntry for definition of annualized total compensation." +], +"type": "string" +} +}, +"type": "object" +}, +"CompensationHistogramResult": { +"description": "Output only. Compensation based histogram result.", +"id": "CompensationHistogramResult", +"properties": { +"result": { +"$ref": "NumericBucketingResult", +"description": "Histogram result." +}, +"type": { +"description": "Type of the request, corresponding to CompensationHistogramRequest.type.", +"enum": [ +"COMPENSATION_HISTOGRAM_REQUEST_TYPE_UNSPECIFIED", +"BASE", +"ANNUALIZED_BASE", +"ANNUALIZED_TOTAL" +], +"enumDescriptions": [ +"Default value. Invalid.", +"Histogram by job's base compensation. See CompensationEntry for definition of base compensation.", +"Histogram by job's annualized base compensation. See CompensationEntry for definition of annualized base compensation.", +"Histogram by job's annualized total compensation. See CompensationEntry for definition of annualized total compensation." +], +"type": "string" +} +}, +"type": "object" +}, +"CompensationInfo": { +"description": "Job compensation details.", +"id": "CompensationInfo", +"properties": { +"annualizedBaseCompensationRange": { +"$ref": "CompensationRange", +"description": "Output only. Annualized base compensation range. Computed as base compensation entry's CompensationEntry.compensation times CompensationEntry.expected_units_per_year. See CompensationEntry for explanation on compensation annualization." +}, +"annualizedTotalCompensationRange": { +"$ref": "CompensationRange", +"description": "Output only. Annualized total compensation range. Computed as all compensation entries' CompensationEntry.compensation times CompensationEntry.expected_units_per_year. See CompensationEntry for explanation on compensation annualization." +}, +"entries": { +"description": "Optional. Job compensation information. At most one entry can be of type CompensationInfo.CompensationType.BASE, which is referred as ** base compensation entry ** for the job.", +"items": { +"$ref": "CompensationEntry" +}, +"type": "array" +} +}, +"type": "object" +}, +"CompensationRange": { +"description": "Compensation range.", +"id": "CompensationRange", +"properties": { +"maxCompensation": { +"$ref": "Money", +"description": "Optional. The maximum amount of compensation. If left empty, the value is set to a maximal compensation value and the currency code is set to match the currency code of min_compensation." +}, +"minCompensation": { +"$ref": "Money", +"description": "Optional. The minimum amount of compensation. If left empty, the value is set to zero and the currency code is set to match the currency code of max_compensation." +} +}, +"type": "object" +}, +"CompleteQueryResponse": { +"description": "Output only. Response of auto-complete query.", +"id": "CompleteQueryResponse", +"properties": { +"completionResults": { +"description": "Results of the matching job/company candidates.", +"items": { +"$ref": "CompletionResult" +}, +"type": "array" +}, +"metadata": { +"$ref": "ResponseMetadata", +"description": "Additional information for the API invocation, such as the request tracking id." +} +}, +"type": "object" +}, +"CompletionResult": { +"description": "Output only. Resource that represents completion results.", +"id": "CompletionResult", +"properties": { +"imageUri": { +"description": "The URI of the company image for CompletionType.COMPANY_NAME.", +"type": "string" +}, +"suggestion": { +"description": "The suggestion for the query.", +"type": "string" +}, +"type": { +"description": "The completion topic.", +"enum": [ +"COMPLETION_TYPE_UNSPECIFIED", +"JOB_TITLE", +"COMPANY_NAME", +"COMBINED" +], +"enumDescriptions": [ +"Default value.", +"Only suggest job titles.", +"Only suggest company names.", +"Suggest both job titles and company names." +], +"type": "string" +} +}, +"type": "object" +}, +"CreateClientEventRequest": { +"description": "The report event request.", +"id": "CreateClientEventRequest", +"properties": { +"clientEvent": { +"$ref": "ClientEvent", +"description": "Required. Events issued when end user interacts with customer's application that uses Cloud Talent Solution." +} +}, +"type": "object" +}, +"CreateCompanyRequest": { +"description": "Input only. The Request of the CreateCompany method.", +"id": "CreateCompanyRequest", +"properties": { +"company": { +"$ref": "Company", +"description": "Required. The company to be created." +} +}, +"type": "object" +}, +"CreateJobRequest": { +"description": "Input only. Create job request.", +"id": "CreateJobRequest", +"properties": { +"job": { +"$ref": "Job", +"description": "Required. The Job to be created." +} +}, +"type": "object" +}, +"CustomAttribute": { +"description": "Custom attribute values that are either filterable or non-filterable.", +"id": "CustomAttribute", +"properties": { +"filterable": { +"description": "Optional. If the `filterable` flag is true, the custom field values may be used for custom attribute filters JobQuery.custom_attribute_filter. If false, these values may not be used for custom attribute filters. Default is false.", +"type": "boolean" +}, +"longValues": { +"description": "Optional but exactly one of string_values or long_values must be specified. This field is used to perform number range search. (`EQ`, `GT`, `GE`, `LE`, `LT`) over filterable `long_value`. Currently at most 1 long_values is supported.", +"items": { +"format": "int64", +"type": "string" +}, +"type": "array" +}, +"stringValues": { +"description": "Optional but exactly one of string_values or long_values must be specified. This field is used to perform a string match (`CASE_SENSITIVE_MATCH` or `CASE_INSENSITIVE_MATCH`) search. For filterable `string_value`s, a maximum total number of 200 values is allowed, with each `string_value` has a byte size of no more than 500B. For unfilterable `string_values`, the maximum total byte size of unfilterable `string_values` is 50KB. Empty string is not allowed.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"CustomAttributeHistogramRequest": { +"description": "Custom attributes histogram request. An error is thrown if neither string_value_histogram or long_value_histogram_bucketing_option has been defined.", +"id": "CustomAttributeHistogramRequest", +"properties": { +"key": { +"description": "Required. Specifies the custom field key to perform a histogram on. If specified without `long_value_histogram_bucketing_option`, histogram on string values of the given `key` is triggered, otherwise histogram is performed on long values.", +"type": "string" +}, +"longValueHistogramBucketingOption": { +"$ref": "NumericBucketingOption", +"description": "Optional. Specifies buckets used to perform a range histogram on Job's filterable long custom field values, or min/max value requirements." +}, +"stringValueHistogram": { +"description": "Optional. If set to true, the response includes the histogram value for each key as a string.", +"type": "boolean" +} +}, +"type": "object" +}, +"CustomAttributeHistogramResult": { +"description": "Output only. Custom attribute histogram result.", +"id": "CustomAttributeHistogramResult", +"properties": { +"key": { +"description": "Stores the key of custom attribute the histogram is performed on.", +"type": "string" +}, +"longValueHistogramResult": { +"$ref": "NumericBucketingResult", +"description": "Stores bucketed histogram counting result or min/max values for custom attribute long values associated with `key`." +}, +"stringValueHistogramResult": { +"additionalProperties": { +"format": "int32", +"type": "integer" +}, +"description": "Stores a map from the values of string custom field associated with `key` to the number of jobs with that value in this histogram result.", +"type": "object" +} +}, +"type": "object" +}, +"CustomRankingInfo": { +"description": "Input only. Custom ranking information for SearchJobsRequest.", +"id": "CustomRankingInfo", +"properties": { +"importanceLevel": { +"description": "Required. Controls over how important the score of CustomRankingInfo.ranking_expression gets applied to job's final ranking position. An error is thrown if not specified.", +"enum": [ +"IMPORTANCE_LEVEL_UNSPECIFIED", +"NONE", +"LOW", +"MILD", +"MEDIUM", +"HIGH", +"EXTREME" +], +"enumDescriptions": [ +"Default value if the importance level is not specified.", +"The given ranking expression is of None importance, existing relevance score (determined by API algorithm) dominates job's final ranking position.", +"The given ranking expression is of Low importance in terms of job's final ranking position compared to existing relevance score (determined by API algorithm).", +"The given ranking expression is of Mild importance in terms of job's final ranking position compared to existing relevance score (determined by API algorithm).", +"The given ranking expression is of Medium importance in terms of job's final ranking position compared to existing relevance score (determined by API algorithm).", +"The given ranking expression is of High importance in terms of job's final ranking position compared to existing relevance score (determined by API algorithm).", +"The given ranking expression is of Extreme importance, and dominates job's final ranking position with existing relevance score (determined by API algorithm) ignored." +], +"type": "string" +}, +"rankingExpression": { +"description": "Required. Controls over how job documents get ranked on top of existing relevance score (determined by API algorithm). A combination of the ranking expression and relevance score is used to determine job's final ranking position. The syntax for this expression is a subset of Google SQL syntax. Supported operators are: +, -, *, /, where the left and right side of the operator is either a numeric Job.custom_attributes key, integer/double value or an expression that can be evaluated to a number. Parenthesis are supported to adjust calculation precedence. The expression must be < 200 characters in length. The expression is considered invalid for a job if the expression references custom attributes that are not populated on the job or if the expression results in a divide by zero. If an expression is invalid for a job, that job is demoted to the end of the results. Sample ranking expression (year + 25) * 0.25 - (freshness / 0.5)", +"type": "string" +} +}, +"type": "object" +}, +"DeviceInfo": { +"description": "Device information collected from the job seeker, candidate, or other entity conducting the job search. Providing this information improves the quality of the search results across devices.", +"id": "DeviceInfo", +"properties": { +"deviceType": { +"description": "Optional. Type of the device.", +"enum": [ +"DEVICE_TYPE_UNSPECIFIED", +"WEB", +"MOBILE_WEB", +"ANDROID", +"IOS", +"BOT", +"OTHER" +], +"enumDescriptions": [ +"The device type isn't specified.", +"A desktop web browser, such as, Chrome, Firefox, Safari, or Internet Explorer)", +"A mobile device web browser, such as a phone or tablet with a Chrome browser.", +"An Android device native application.", +"An iOS device native application.", +"A bot, as opposed to a device operated by human beings, such as a web crawler.", +"Other devices types." +], +"type": "string" +}, +"id": { +"description": "Optional. A device-specific ID. The ID must be a unique identifier that distinguishes the device from other devices.", +"type": "string" +} +}, +"type": "object" +}, +"Empty": { +"description": "A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }", +"id": "Empty", +"properties": {}, +"type": "object" +}, +"HistogramFacets": { +"description": "Input only. Histogram facets to be specified in SearchJobsRequest.", +"id": "HistogramFacets", +"properties": { +"compensationHistogramFacets": { +"description": "Optional. Specifies compensation field-based histogram requests. Duplicate values of CompensationHistogramRequest.type are not allowed.", +"items": { +"$ref": "CompensationHistogramRequest" +}, +"type": "array" +}, +"customAttributeHistogramFacets": { +"description": "Optional. Specifies the custom attributes histogram requests. Duplicate values of CustomAttributeHistogramRequest.key are not allowed.", +"items": { +"$ref": "CustomAttributeHistogramRequest" +}, +"type": "array" +}, +"simpleHistogramFacets": { +"description": "Optional. Specifies the simple type of histogram facets, for example, `COMPANY_SIZE`, `EMPLOYMENT_TYPE` etc.", +"items": { +"enum": [ +"SEARCH_TYPE_UNSPECIFIED", +"COMPANY_ID", +"EMPLOYMENT_TYPE", +"COMPANY_SIZE", +"DATE_PUBLISHED", +"EDUCATION_LEVEL", +"EXPERIENCE_LEVEL", +"ADMIN_1", +"COUNTRY", +"CITY", +"LOCALE", +"LANGUAGE", +"CATEGORY", +"CITY_COORDINATE", +"ADMIN_1_COUNTRY", +"COMPANY_DISPLAY_NAME", +"BASE_COMPENSATION_UNIT" +], +"enumDescriptions": [ +"The default value if search type is not specified.", +"Filter by the company id field.", +"Filter by the employment type field, such as `FULL_TIME` or `PART_TIME`.", +"Filter by the company size type field, such as `BIG`, `SMALL` or `BIGGER`.", +"Filter by the date published field. Possible return values are: * PAST_24_HOURS (The past 24 hours) * PAST_3_DAYS (The past 3 days) * PAST_WEEK (The past 7 days) * PAST_MONTH (The past 30 days) * PAST_YEAR (The past 365 days)", +"Filter by the required education level of the job.", +"Filter by the required experience level of the job.", +"Filter by Admin1, which is a global placeholder for referring to state, province, or the particular term a country uses to define the geographic structure below the country level. Examples include states codes such as \"CA\", \"IL\", \"NY\", and provinces, such as \"BC\".", +"Filter by the country code of job, such as US, JP, FR.", +"Filter by the \"city name\", \"Admin1 code\", for example, \"Mountain View, CA\" or \"New York, NY\".", +"Filter by the locale field of a job, such as \"en-US\", \"fr-FR\". This is the BCP-47 language code, such as \"en-US\" or \"sr-Latn\". For more information, see [Tags for Identifying Languages](https://tools.ietf.org/html/bcp47).", +"Filter by the language code portion of the locale field, such as \"en\" or \"fr\".", +"Filter by the Category.", +"Filter by the city center GPS coordinate (latitude and longitude), for example, 37.4038522,-122.0987765. Since the coordinates of a city center can change, clients may need to refresh them periodically.", +"A combination of state or province code with a country code. This field differs from `JOB_ADMIN1`, which can be used in multiple countries.", +"Company display name.", +"Base compensation unit." +], +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"HistogramQuery": { +"description": "Input Only. The histogram request.", +"id": "HistogramQuery", +"properties": { +"histogramQuery": { +"description": "An expression specifies a histogram request against matching resources (for example, jobs) for searches. Expression syntax is a aggregation function call with histogram facets and other options. Available aggregation function calls are: * `count(string_histogram_facet)`: Count the number of matching entity, for each distinct attribute value. * `count(numeric_histogram_facet, list of buckets)`: Count the number of matching entity within each bucket. A maximum of 200 histogram buckets are supported. Data types: * Histogram facet: facet names with format a-zA-Z+. * String: string like \"any string with backslash escape for quote(\\\").\" * Number: whole number and floating point number like 10, -1 and -0.01. * List: list of elements with comma(,) separator surrounded by square brackets. For example, [1, 2, 3] and [\"one\", \"two\", \"three\"]. Built-in constants: * MIN (minimum number similar to java Double.MIN_VALUE) * MAX (maximum number similar to java Double.MAX_VALUE) Built-in functions: * bucket(start, end[, label]): bucket built-in function creates a bucket with range of start, end). Note that the end is exclusive. For example, bucket(1, MAX, \"positive number\") or bucket(1, 10). Job histogram facets: * company_id: histogram by [Job.distributor_company_id. * company_display_name: histogram by Job.company_display_name. * employment_type: histogram by Job.employment_types. For example, \"FULL_TIME\", \"PART_TIME\". * company_size (DEPRECATED): histogram by CompanySize, for example, \"SMALL\", \"MEDIUM\", \"BIG\". * publish_time_in_day: histogram by the Job.publish_time in days. Must specify list of numeric buckets in spec. * publish_time_in_month: histogram by the Job.publish_time in months. Must specify list of numeric buckets in spec. * publish_time_in_year: histogram by the Job.publish_time in years. Must specify list of numeric buckets in spec. * degree_type: histogram by the Job.degree_type. For example, \"Bachelors\", \"Masters\". * job_level: histogram by the Job.job_level. For example, \"Entry Level\". * country: histogram by the country code of jobs. For example, \"US\", \"FR\". * admin1: histogram by the admin1 code of jobs, which is a global placeholder referring to the state, province, or the particular term a country uses to define the geographic structure below the country level. For example, \"CA\", \"IL\". * city: histogram by a combination of the \"city name, admin1 code\". For example, \"Mountain View, CA\", \"New York, NY\". * admin1_country: histogram by a combination of the \"admin1 code, country\". For example, \"CA, US\", \"IL, US\". * city_coordinate: histogram by the city center's GPS coordinates (latitude and longitude). For example, 37.4038522,-122.0987765. Since the coordinates of a city center can change, customers may need to refresh them periodically. * locale: histogram by the Job.language_code. For example, \"en-US\", \"fr-FR\". * language: histogram by the language subtag of the Job.language_code. For example, \"en\", \"fr\". * category: histogram by the JobCategory. For example, \"COMPUTER_AND_IT\", \"HEALTHCARE\". * base_compensation_unit: histogram by the CompensationUnit of base salary. For example, \"WEEKLY\", \"MONTHLY\". * base_compensation: histogram by the base salary. Must specify list of numeric buckets to group results by. * annualized_base_compensation: histogram by the base annualized salary. Must specify list of numeric buckets to group results by. * annualized_total_compensation: histogram by the total annualized salary. Must specify list of numeric buckets to group results by. * string_custom_attribute: histogram by string Job.custom_attributes. Values can be accessed via square bracket notations like string_custom_attribute[\"key1\"]. * numeric_custom_attribute: histogram by numeric Job.custom_attributes. Values can be accessed via square bracket notations like numeric_custom_attribute[\"key1\"]. Must specify list of numeric buckets to group results by. Example expressions: * count(admin1) * count(base_compensation, [bucket(1000, 10000), bucket(10000, 100000), bucket(100000, MAX)]) * count(string_custom_attribute[\"some-string-custom-attribute\"]) * count(numeric_custom_attribute[\"some-numeric-custom-attribute\"], [bucket(MIN, 0, \"negative\"), bucket(0, MAX, \"non-negative\")])", +"type": "string" +} +}, +"type": "object" +}, +"HistogramQueryResult": { +"description": "Output only. Histogram result that matches HistogramSpec specified in searches.", +"id": "HistogramQueryResult", +"properties": { +"histogram": { +"additionalProperties": { +"format": "int64", +"type": "string" +}, +"description": "A map from the values of the facet associated with distinct values to the number of matching entries with corresponding value. The key format is: * (for string histogram) string values stored in the field. * (for named numeric bucket) name specified in `bucket()` function, like for `bucket(0, MAX, \"non-negative\")`, the key will be `non-negative`. * (for anonymous numeric bucket) range formatted as `-`, for example, `0-1000`, `MIN-0`, and `0-MAX`.", +"type": "object" +}, +"histogramQuery": { +"description": "Requested histogram expression.", +"type": "string" +} +}, +"type": "object" +}, +"HistogramResult": { +"description": "Output only. Result of a histogram call. The response contains the histogram map for the search type specified by HistogramResult.field. The response is a map of each filter value to the corresponding count of jobs for that filter.", +"id": "HistogramResult", +"properties": { +"searchType": { +"description": "The Histogram search filters.", +"enum": [ +"SEARCH_TYPE_UNSPECIFIED", +"COMPANY_ID", +"EMPLOYMENT_TYPE", +"COMPANY_SIZE", +"DATE_PUBLISHED", +"EDUCATION_LEVEL", +"EXPERIENCE_LEVEL", +"ADMIN_1", +"COUNTRY", +"CITY", +"LOCALE", +"LANGUAGE", +"CATEGORY", +"CITY_COORDINATE", +"ADMIN_1_COUNTRY", +"COMPANY_DISPLAY_NAME", +"BASE_COMPENSATION_UNIT" +], +"enumDescriptions": [ +"The default value if search type is not specified.", +"Filter by the company id field.", +"Filter by the employment type field, such as `FULL_TIME` or `PART_TIME`.", +"Filter by the company size type field, such as `BIG`, `SMALL` or `BIGGER`.", +"Filter by the date published field. Possible return values are: * PAST_24_HOURS (The past 24 hours) * PAST_3_DAYS (The past 3 days) * PAST_WEEK (The past 7 days) * PAST_MONTH (The past 30 days) * PAST_YEAR (The past 365 days)", +"Filter by the required education level of the job.", +"Filter by the required experience level of the job.", +"Filter by Admin1, which is a global placeholder for referring to state, province, or the particular term a country uses to define the geographic structure below the country level. Examples include states codes such as \"CA\", \"IL\", \"NY\", and provinces, such as \"BC\".", +"Filter by the country code of job, such as US, JP, FR.", +"Filter by the \"city name\", \"Admin1 code\", for example, \"Mountain View, CA\" or \"New York, NY\".", +"Filter by the locale field of a job, such as \"en-US\", \"fr-FR\". This is the BCP-47 language code, such as \"en-US\" or \"sr-Latn\". For more information, see [Tags for Identifying Languages](https://tools.ietf.org/html/bcp47).", +"Filter by the language code portion of the locale field, such as \"en\" or \"fr\".", +"Filter by the Category.", +"Filter by the city center GPS coordinate (latitude and longitude), for example, 37.4038522,-122.0987765. Since the coordinates of a city center can change, clients may need to refresh them periodically.", +"A combination of state or province code with a country code. This field differs from `JOB_ADMIN1`, which can be used in multiple countries.", +"Company display name.", +"Base compensation unit." +], +"type": "string" +}, +"values": { +"additionalProperties": { +"format": "int32", +"type": "integer" +}, +"description": "A map from the values of field to the number of jobs with that value in this search result. Key: search type (filter names, such as the companyName). Values: the count of jobs that match the filter for this search.", +"type": "object" +} +}, +"type": "object" +}, +"HistogramResults": { +"description": "Output only. Histogram results that match HistogramFacets specified in SearchJobsRequest.", +"id": "HistogramResults", +"properties": { +"compensationHistogramResults": { +"description": "Specifies compensation field-based histogram results that match HistogramFacets.compensation_histogram_requests.", +"items": { +"$ref": "CompensationHistogramResult" +}, +"type": "array" +}, +"customAttributeHistogramResults": { +"description": "Specifies histogram results for custom attributes that match HistogramFacets.custom_attribute_histogram_facets.", +"items": { +"$ref": "CustomAttributeHistogramResult" +}, +"type": "array" +}, +"simpleHistogramResults": { +"description": "Specifies histogram results that matches HistogramFacets.simple_histogram_facets.", +"items": { +"$ref": "HistogramResult" +}, +"type": "array" +} +}, +"type": "object" +}, +"Job": { +"description": "A Job resource represents a job posting (also referred to as a \"job listing\" or \"job requisition\"). A job belongs to a Company, which is the hiring entity responsible for the job.", +"id": "Job", +"properties": { +"addresses": { +"description": "Optional but strongly recommended for the best service experience. Location(s) where the employer is looking to hire for this job posting. Specifying the full street address(es) of the hiring location enables better API results, especially job searches by commute time. At most 50 locations are allowed for best search performance. If a job has more locations, it is suggested to split it into multiple jobs with unique requisition_ids (e.g. 'ReqA' becomes 'ReqA-1', 'ReqA-2', etc.) as multiple jobs with the same company_name, language_code and requisition_id are not allowed. If the original requisition_id must be preserved, a custom field should be used for storage. It is also suggested to group the locations that close to each other in the same job for better search experience. Jobs with multiple addresses must have their addresses with the same LocationType to allow location filtering to work properly. (For example, a Job with addresses \"1600 Amphitheatre Parkway, Mountain View, CA, USA\" and \"London, UK\" may not have location filters applied correctly at search time since the first is a LocationType.STREET_ADDRESS and the second is a LocationType.LOCALITY.) If a job needs to have multiple addresses, it is suggested to split it into multiple jobs with same LocationTypes. The maximum number of allowed characters is 500.", +"items": { +"type": "string" +}, +"type": "array" +}, +"applicationInfo": { +"$ref": "ApplicationInfo", +"description": "Required. At least one field within ApplicationInfo must be specified. Job application information." +}, +"companyDisplayName": { +"description": "Output only. Display name of the company listing the job.", +"type": "string" +}, +"companyName": { +"description": "Required. The resource name of the company listing the job, such as \"projects/api-test-project/companies/foo\".", +"type": "string" +}, +"compensationInfo": { +"$ref": "CompensationInfo", +"description": "Optional. Job compensation information." +}, +"customAttributes": { +"additionalProperties": { +"$ref": "CustomAttribute" +}, +"description": "Optional. A map of fields to hold both filterable and non-filterable custom job attributes that are not covered by the provided structured fields. The keys of the map are strings up to 64 bytes and must match the pattern: a-zA-Z*. For example, key0LikeThis or KEY_1_LIKE_THIS. At most 100 filterable and at most 100 unfilterable keys are supported. For filterable `string_values`, across all keys at most 200 values are allowed, with each string no more than 255 characters. For unfilterable `string_values`, the maximum total size of `string_values` across all keys is 50KB.", +"type": "object" +}, +"degreeTypes": { +"description": "Optional. The desired education degrees for the job, such as Bachelors, Masters.", +"items": { +"enum": [ +"DEGREE_TYPE_UNSPECIFIED", +"PRIMARY_EDUCATION", +"LOWER_SECONDARY_EDUCATION", +"UPPER_SECONDARY_EDUCATION", +"ADULT_REMEDIAL_EDUCATION", +"ASSOCIATES_OR_EQUIVALENT", +"BACHELORS_OR_EQUIVALENT", +"MASTERS_OR_EQUIVALENT", +"DOCTORAL_OR_EQUIVALENT" +], +"enumDescriptions": [ +"Default value. Represents no degree, or early childhood education. Maps to ISCED code 0. Ex) Kindergarten", +"Primary education which is typically the first stage of compulsory education. ISCED code 1. Ex) Elementary school", +"Lower secondary education; First stage of secondary education building on primary education, typically with a more subject-oriented curriculum. ISCED code 2. Ex) Middle school", +"Middle education; Second/final stage of secondary education preparing for tertiary education and/or providing skills relevant to employment. Usually with an increased range of subject options and streams. ISCED code 3. Ex) High school", +"Adult Remedial Education; Programmes providing learning experiences that build on secondary education and prepare for labour market entry and/or tertiary education. The content is broader than secondary but not as complex as tertiary education. ISCED code 4.", +"Associate's or equivalent; Short first tertiary programmes that are typically practically-based, occupationally-specific and prepare for labour market entry. These programmes may also provide a pathway to other tertiary programmes. ISCED code 5.", +"Bachelor's or equivalent; Programmes designed to provide intermediate academic and/or professional knowledge, skills and competencies leading to a first tertiary degree or equivalent qualification. ISCED code 6.", +"Master's or equivalent; Programmes designed to provide advanced academic and/or professional knowledge, skills and competencies leading to a second tertiary degree or equivalent qualification. ISCED code 7.", +"Doctoral or equivalent; Programmes designed primarily to lead to an advanced research qualification, usually concluding with the submission and defense of a substantive dissertation of publishable quality based on original research. ISCED code 8." +], +"type": "string" +}, +"type": "array" +}, +"department": { +"description": "Optional. The department or functional area within the company with the open position. The maximum number of allowed characters is 255.", +"type": "string" +}, +"derivedInfo": { +"$ref": "JobDerivedInfo", +"description": "Output only. Derived details about the job posting." +}, +"description": { +"description": "Required. The description of the job, which typically includes a multi-paragraph description of the company and related information. Separate fields are provided on the job object for responsibilities, qualifications, and other job characteristics. Use of these separate job fields is recommended. This field accepts and sanitizes HTML input, and also accepts bold, italic, ordered list, and unordered list markup tags. The maximum number of allowed characters is 100,000.", +"type": "string" +}, +"employmentTypes": { +"description": "Optional. The employment type(s) of a job, for example, full time or part time.", +"items": { +"enum": [ +"EMPLOYMENT_TYPE_UNSPECIFIED", +"FULL_TIME", +"PART_TIME", +"CONTRACTOR", +"CONTRACT_TO_HIRE", +"TEMPORARY", +"INTERN", +"VOLUNTEER", +"PER_DIEM", +"FLY_IN_FLY_OUT", +"OTHER_EMPLOYMENT_TYPE" +], +"enumDescriptions": [ +"The default value if the employment type is not specified.", +"The job requires working a number of hours that constitute full time employment, typically 40 or more hours per week.", +"The job entails working fewer hours than a full time job, typically less than 40 hours a week.", +"The job is offered as a contracted, as opposed to a salaried employee, position.", +"The job is offered as a contracted position with the understanding that it's converted into a full-time position at the end of the contract. Jobs of this type are also returned by a search for EmploymentType.CONTRACTOR jobs.", +"The job is offered as a temporary employment opportunity, usually a short-term engagement.", +"The job is a fixed-term opportunity for students or entry-level job seekers to obtain on-the-job training, typically offered as a summer position.", +"The is an opportunity for an individual to volunteer, where there's no expectation of compensation for the provided services.", +"The job requires an employee to work on an as-needed basis with a flexible schedule.", +"The job involves employing people in remote areas and flying them temporarily to the work site instead of relocating employees and their families permanently.", +"The job does not fit any of the other listed types." +], +"type": "string" +}, +"type": "array" +}, +"incentives": { +"description": "Optional. A description of bonus, commission, and other compensation incentives associated with the job not including salary or pay. The maximum number of allowed characters is 10,000.", +"type": "string" +}, +"jobBenefits": { +"description": "Optional. The benefits included with the job.", +"items": { +"enum": [ +"JOB_BENEFIT_UNSPECIFIED", +"CHILD_CARE", +"DENTAL", +"DOMESTIC_PARTNER", +"FLEXIBLE_HOURS", +"MEDICAL", +"LIFE_INSURANCE", +"PARENTAL_LEAVE", +"RETIREMENT_PLAN", +"SICK_DAYS", +"VACATION", +"VISION" +], +"enumDescriptions": [ +"Default value if the type is not specified.", +"The job includes access to programs that support child care, such as daycare.", +"The job includes dental services covered by a dental insurance plan.", +"The job offers specific benefits to domestic partners.", +"The job allows for a flexible work schedule.", +"The job includes health services covered by a medical insurance plan.", +"The job includes a life insurance plan provided by the employer or available for purchase by the employee.", +"The job allows for a leave of absence to a parent to care for a newborn child.", +"The job includes a workplace retirement plan provided by the employer or available for purchase by the employee.", +"The job allows for paid time off due to illness.", +"The job includes paid time off for vacation.", +"The job includes vision services covered by a vision insurance plan." +], +"type": "string" +}, +"type": "array" +}, +"jobEndTime": { +"description": "Optional. The end timestamp of the job. Typically this field is used for contracting engagements. Invalid timestamps are ignored.", +"format": "google-datetime", +"type": "string" +}, +"jobLevel": { +"description": "Optional. The experience level associated with the job, such as \"Entry Level\".", +"enum": [ +"JOB_LEVEL_UNSPECIFIED", +"ENTRY_LEVEL", +"EXPERIENCED", +"MANAGER", +"DIRECTOR", +"EXECUTIVE" +], +"enumDescriptions": [ +"The default value if the level is not specified.", +"Entry-level individual contributors, typically with less than 2 years of experience in a similar role. Includes interns.", +"Experienced individual contributors, typically with 2+ years of experience in a similar role.", +"Entry- to mid-level managers responsible for managing a team of people.", +"Senior-level managers responsible for managing teams of managers.", +"Executive-level managers and above, including C-level positions." +], +"type": "string" +}, +"jobStartTime": { +"description": "Optional. The start timestamp of the job in UTC time zone. Typically this field is used for contracting engagements. Invalid timestamps are ignored.", +"format": "google-datetime", +"type": "string" +}, +"languageCode": { +"description": "Optional. The language of the posting. This field is distinct from any requirements for fluency that are associated with the job. Language codes must be in BCP-47 format, such as \"en-US\" or \"sr-Latn\". For more information, see [Tags for Identifying Languages](https://tools.ietf.org/html/bcp47){: class=\"external\" target=\"_blank\" }. If this field is unspecified and Job.description is present, detected language code based on Job.description is assigned, otherwise defaults to 'en_US'.", +"type": "string" +}, +"name": { +"description": "Required during job update. The resource name for the job. This is generated by the service when a job is created. The format is \"projects/{project_id}/jobs/{job_id}\", for example, \"projects/api-test-project/jobs/1234\". Use of this field in job queries and API calls is preferred over the use of requisition_id since this value is unique.", +"type": "string" +}, +"postingCreateTime": { +"description": "Output only. The timestamp when this job posting was created.", +"format": "google-datetime", +"type": "string" +}, +"postingExpireTime": { +"description": "Optional but strongly recommended for the best service experience. The expiration timestamp of the job. After this timestamp, the job is marked as expired, and it no longer appears in search results. The expired job can't be deleted or listed by the DeleteJob and ListJobs APIs, but it can be retrieved with the GetJob API or updated with the UpdateJob API. An expired job can be updated and opened again by using a future expiration timestamp. Updating an expired job fails if there is another existing open job with same company_name, language_code and requisition_id. The expired jobs are retained in our system for 90 days. However, the overall expired job count cannot exceed 3 times the maximum of open jobs count over the past week, otherwise jobs with earlier expire time are cleaned first. Expired jobs are no longer accessible after they are cleaned out. Invalid timestamps are ignored, and treated as expire time not provided. Timestamp before the instant request is made is considered valid, the job will be treated as expired immediately. If this value is not provided at the time of job creation or is invalid, the job posting expires after 30 days from the job's creation time. For example, if the job was created on 2017/01/01 13:00AM UTC with an unspecified expiration date, the job expires after 2017/01/31 13:00AM UTC. If this value is not provided on job update, it depends on the field masks set by UpdateJobRequest.update_mask. If the field masks include expiry_time, or the masks are empty meaning that every field is updated, the job posting expires after 30 days from the job's last update time. Otherwise the expiration date isn't updated.", +"format": "google-datetime", +"type": "string" +}, +"postingPublishTime": { +"description": "Optional. The timestamp this job posting was most recently published. The default value is the time the request arrives at the server. Invalid timestamps are ignored.", +"format": "google-datetime", +"type": "string" +}, +"postingRegion": { +"description": "Optional. The job PostingRegion (for example, state, country) throughout which the job is available. If this field is set, a LocationFilter in a search query within the job region finds this job posting if an exact location match isn't specified. If this field is set to PostingRegion.NATION or PostingRegion.ADMINISTRATIVE_AREA, setting job Job.addresses to the same location level as this field is strongly recommended.", +"enum": [ +"POSTING_REGION_UNSPECIFIED", +"ADMINISTRATIVE_AREA", +"NATION", +"TELECOMMUTE" +], +"enumDescriptions": [ +"If the region is unspecified, the job is only returned if it matches the LocationFilter.", +"In addition to exact location matching, job posting is returned when the LocationFilter in the search query is in the same administrative area as the returned job posting. For example, if a `ADMINISTRATIVE_AREA` job is posted in \"CA, USA\", it's returned if LocationFilter has \"Mountain View\". Administrative area refers to top-level administrative subdivision of this country. For example, US state, IT region, UK constituent nation and JP prefecture.", +"In addition to exact location matching, job is returned when LocationFilter in search query is in the same country as this job. For example, if a `NATION_WIDE` job is posted in \"USA\", it's returned if LocationFilter has 'Mountain View'.", +"Job allows employees to work remotely (telecommute). If locations are provided with this value, the job is considered as having a location, but telecommuting is allowed." +], +"type": "string" +}, +"postingUpdateTime": { +"description": "Output only. The timestamp when this job posting was last updated.", +"format": "google-datetime", +"type": "string" +}, +"processingOptions": { +"$ref": "ProcessingOptions", +"description": "Optional. Options for job processing." +}, +"promotionValue": { +"description": "Optional. A promotion value of the job, as determined by the client. The value determines the sort order of the jobs returned when searching for jobs using the featured jobs search call, with higher promotional values being returned first and ties being resolved by relevance sort. Only the jobs with a promotionValue >0 are returned in a FEATURED_JOB_SEARCH. Default value is 0, and negative values are treated as 0.", +"format": "int32", +"type": "integer" +}, +"qualifications": { +"description": "Optional. A description of the qualifications required to perform the job. The use of this field is recommended as an alternative to using the more general description field. This field accepts and sanitizes HTML input, and also accepts bold, italic, ordered list, and unordered list markup tags. The maximum number of allowed characters is 10,000.", +"type": "string" +}, +"requisitionId": { +"description": "Required. The requisition ID, also referred to as the posting ID, assigned by the client to identify a job. This field is intended to be used by clients for client identification and tracking of postings. A job is not allowed to be created if there is another job with the same [company_name], language_code and requisition_id. The maximum number of allowed characters is 255.", +"type": "string" +}, +"responsibilities": { +"description": "Optional. A description of job responsibilities. The use of this field is recommended as an alternative to using the more general description field. This field accepts and sanitizes HTML input, and also accepts bold, italic, ordered list, and unordered list markup tags. The maximum number of allowed characters is 10,000.", +"type": "string" +}, +"title": { +"description": "Required. The title of the job, such as \"Software Engineer\" The maximum number of allowed characters is 500.", +"type": "string" +}, +"visibility": { +"deprecated": true, +"description": "Deprecated. The job is only visible to the owner. The visibility of the job. Defaults to Visibility.ACCOUNT_ONLY if not specified.", +"enum": [ +"VISIBILITY_UNSPECIFIED", +"ACCOUNT_ONLY", +"SHARED_WITH_GOOGLE", +"SHARED_WITH_PUBLIC" +], +"enumDescriptions": [ +"Default value.", +"The resource is only visible to the GCP account who owns it.", +"The resource is visible to the owner and may be visible to other applications and processes at Google.", +"The resource is visible to the owner and may be visible to all other API clients." +], +"type": "string" +} +}, +"type": "object" +}, +"JobDerivedInfo": { +"description": "Output only. Derived details about the job posting.", +"id": "JobDerivedInfo", +"properties": { +"jobCategories": { +"description": "Job categories derived from Job.title and Job.description.", +"items": { +"enum": [ +"JOB_CATEGORY_UNSPECIFIED", +"ACCOUNTING_AND_FINANCE", +"ADMINISTRATIVE_AND_OFFICE", +"ADVERTISING_AND_MARKETING", +"ANIMAL_CARE", +"ART_FASHION_AND_DESIGN", +"BUSINESS_OPERATIONS", +"CLEANING_AND_FACILITIES", +"COMPUTER_AND_IT", +"CONSTRUCTION", +"CUSTOMER_SERVICE", +"EDUCATION", +"ENTERTAINMENT_AND_TRAVEL", +"FARMING_AND_OUTDOORS", +"HEALTHCARE", +"HUMAN_RESOURCES", +"INSTALLATION_MAINTENANCE_AND_REPAIR", +"LEGAL", +"MANAGEMENT", +"MANUFACTURING_AND_WAREHOUSE", +"MEDIA_COMMUNICATIONS_AND_WRITING", +"OIL_GAS_AND_MINING", +"PERSONAL_CARE_AND_SERVICES", +"PROTECTIVE_SERVICES", +"REAL_ESTATE", +"RESTAURANT_AND_HOSPITALITY", +"SALES_AND_RETAIL", +"SCIENCE_AND_ENGINEERING", +"SOCIAL_SERVICES_AND_NON_PROFIT", +"SPORTS_FITNESS_AND_RECREATION", +"TRANSPORTATION_AND_LOGISTICS" +], +"enumDescriptions": [ +"The default value if the category isn't specified.", +"An accounting and finance job, such as an Accountant.", +"An administrative and office job, such as an Administrative Assistant.", +"An advertising and marketing job, such as Marketing Manager.", +"An animal care job, such as Veterinarian.", +"An art, fashion, or design job, such as Designer.", +"A business operations job, such as Business Operations Manager.", +"A cleaning and facilities job, such as Custodial Staff.", +"A computer and IT job, such as Systems Administrator.", +"A construction job, such as General Laborer.", +"A customer service job, such s Cashier.", +"An education job, such as School Teacher.", +"An entertainment and travel job, such as Flight Attendant.", +"A farming or outdoor job, such as Park Ranger.", +"A healthcare job, such as Registered Nurse.", +"A human resources job, such as Human Resources Director.", +"An installation, maintenance, or repair job, such as Electrician.", +"A legal job, such as Law Clerk.", +"A management job, often used in conjunction with another category, such as Store Manager.", +"A manufacturing or warehouse job, such as Assembly Technician.", +"A media, communications, or writing job, such as Media Relations.", +"An oil, gas or mining job, such as Offshore Driller.", +"A personal care and services job, such as Hair Stylist.", +"A protective services job, such as Security Guard.", +"A real estate job, such as Buyer's Agent.", +"A restaurant and hospitality job, such as Restaurant Server.", +"A sales and/or retail job, such Sales Associate.", +"A science and engineering job, such as Lab Technician.", +"A social services or non-profit job, such as Case Worker.", +"A sports, fitness, or recreation job, such as Personal Trainer.", +"A transportation or logistics job, such as Truck Driver." +], +"type": "string" +}, +"type": "array" +}, +"locations": { +"description": "Structured locations of the job, resolved from Job.addresses. locations are exactly matched to Job.addresses in the same order.", +"items": { +"$ref": "Location" +}, +"type": "array" +} +}, +"type": "object" +}, +"JobEvent": { +"description": "An event issued when a job seeker interacts with the application that implements Cloud Talent Solution.", +"id": "JobEvent", +"properties": { +"jobs": { +"description": "Required. The job name(s) associated with this event. For example, if this is an impression event, this field contains the identifiers of all jobs shown to the job seeker. If this was a view event, this field contains the identifier of the viewed job.", +"items": { +"type": "string" +}, +"type": "array" +}, +"type": { +"description": "Required. The type of the event (see JobEventType).", +"enum": [ +"JOB_EVENT_TYPE_UNSPECIFIED", +"IMPRESSION", +"VIEW", +"VIEW_REDIRECT", +"APPLICATION_START", +"APPLICATION_FINISH", +"APPLICATION_QUICK_SUBMISSION", +"APPLICATION_REDIRECT", +"APPLICATION_START_FROM_SEARCH", +"APPLICATION_REDIRECT_FROM_SEARCH", +"APPLICATION_COMPANY_SUBMIT", +"BOOKMARK", +"NOTIFICATION", +"HIRED", +"SENT_CV", +"INTERVIEW_GRANTED", +"NOT_INTERESTED" +], +"enumDescriptions": [ +"The event is unspecified by other provided values.", +"The job seeker or other entity interacting with the service has had a job rendered in their view, such as in a list of search results in a compressed or clipped format. This event is typically associated with the viewing of a jobs list on a single page by a job seeker.", +"The job seeker, or other entity interacting with the service, has viewed the details of a job, including the full description. This event doesn't apply to the viewing a snippet of a job appearing as a part of the job search results. Viewing a snippet is associated with an impression).", +"The job seeker or other entity interacting with the service performed an action to view a job and was redirected to a different website for job.", +"The job seeker or other entity interacting with the service began the process or demonstrated the intention of applying for a job.", +"The job seeker or other entity interacting with the service submitted an application for a job.", +"The job seeker or other entity interacting with the service submitted an application for a job with a single click without entering information. If a job seeker performs this action, send only this event to the service. Do not also send JobEventType.APPLICATION_START or JobEventType.APPLICATION_FINISH events.", +"The job seeker or other entity interacting with the service performed an action to apply to a job and was redirected to a different website to complete the application.", +"The job seeker or other entity interacting with the service began the process or demonstrated the intention of applying for a job from the search results page without viewing the details of the job posting. If sending this event, JobEventType.VIEW event shouldn't be sent.", +"The job seeker, or other entity interacting with the service, performs an action with a single click from the search results page to apply to a job (without viewing the details of the job posting), and is redirected to a different website to complete the application. If a candidate performs this action, send only this event to the service. Do not also send JobEventType.APPLICATION_START, JobEventType.APPLICATION_FINISH or JobEventType.VIEW events.", +"This event should be used when a company submits an application on behalf of a job seeker. This event is intended for use by staffing agencies attempting to place candidates.", +"The job seeker or other entity interacting with the service demonstrated an interest in a job by bookmarking or saving it.", +"The job seeker or other entity interacting with the service was sent a notification, such as an email alert or device notification, containing one or more jobs listings generated by the service.", +"The job seeker or other entity interacting with the service was employed by the hiring entity (employer). Send this event only if the job seeker was hired through an application that was initiated by a search conducted through the Cloud Talent Solution service.", +"A recruiter or staffing agency submitted an application on behalf of the candidate after interacting with the service to identify a suitable job posting.", +"The entity interacting with the service (for example, the job seeker), was granted an initial interview by the hiring entity (employer). This event should only be sent if the job seeker was granted an interview as part of an application that was initiated by a search conducted through / recommendation provided by the Cloud Talent Solution service.", +"The job seeker or other entity interacting with the service showed no interest in the job." +], +"type": "string" +} +}, +"type": "object" +}, +"JobQuery": { +"description": "Input only. The query required to perform a search query.", +"id": "JobQuery", +"properties": { +"commuteFilter": { +"$ref": "CommuteFilter", +"description": "Optional. Allows filtering jobs by commute time with different travel methods (for example, driving or public transit). Note: This only works with COMMUTE MODE. When specified, [JobQuery.location_filters] is ignored. Currently we don't support sorting by commute time." +}, +"companyDisplayNames": { +"description": "Optional. This filter specifies the company Company.display_name of the jobs to search against. The company name must match the value exactly. Alternatively, the value being searched for can be wrapped in different match operators. `SUBSTRING_MATCH([value])` The company name must contain a case insensitive substring match of the value. Using this function may increase latency. Sample Value: `SUBSTRING_MATCH(google)` `MULTI_WORD_TOKEN_MATCH([value])` The value will be treated as a multi word token and the company name must contain a case insensitive match of the value. Using this function may increase latency. Sample Value: `MULTI_WORD_TOKEN_MATCH(google)` If a value isn't specified, jobs within the search results are associated with any company. If multiple values are specified, jobs within the search results may be associated with any of the specified companies. At most 20 company display name filters are allowed.", +"items": { +"type": "string" +}, +"type": "array" +}, +"companyNames": { +"description": "Optional. This filter specifies the company entities to search against. If a value isn't specified, jobs are searched for against all companies. If multiple values are specified, jobs are searched against the companies specified. The format is \"projects/{project_id}/companies/{company_id}\", for example, \"projects/api-test-project/companies/foo\". At most 20 company filters are allowed.", +"items": { +"type": "string" +}, +"type": "array" +}, +"compensationFilter": { +"$ref": "CompensationFilter", +"description": "Optional. This search filter is applied only to Job.compensation_info. For example, if the filter is specified as \"Hourly job with per-hour compensation > $15\", only jobs meeting these criteria are searched. If a filter isn't defined, all open jobs are searched." +}, +"customAttributeFilter": { +"description": "Optional. This filter specifies a structured syntax to match against the Job.custom_attributes marked as `filterable`. The syntax for this expression is a subset of SQL syntax. Supported operators are: `=`, `!=`, `<`, `<=`, `>`, and `>=` where the left of the operator is a custom field key and the right of the operator is a number or a quoted string. You must escape backslash (\\\\) and quote (\\\") characters. Supported functions are `LOWER([field_name])` to perform a case insensitive match and `EMPTY([field_name])` to filter on the existence of a key. Boolean expressions (AND/OR/NOT) are supported up to 3 levels of nesting (for example, \"((A AND B AND C) OR NOT D) AND E\"), a maximum of 100 comparisons or functions are allowed in the expression. The expression must be < 10000 bytes in length. Sample Query: `(LOWER(driving_license)=\"class \\\"a\\\"\" OR EMPTY(driving_license)) AND driving_years > 10`", +"type": "string" +}, +"disableSpellCheck": { +"description": "Optional. This flag controls the spell-check feature. If false, the service attempts to correct a misspelled query, for example, \"enginee\" is corrected to \"engineer\". Defaults to false: a spell check is performed.", +"type": "boolean" +}, +"employmentTypes": { +"description": "Optional. The employment type filter specifies the employment type of jobs to search against, such as EmploymentType.FULL_TIME. If a value is not specified, jobs in the search results includes any employment type. If multiple values are specified, jobs in the search results include any of the specified employment types.", +"items": { +"enum": [ +"EMPLOYMENT_TYPE_UNSPECIFIED", +"FULL_TIME", +"PART_TIME", +"CONTRACTOR", +"CONTRACT_TO_HIRE", +"TEMPORARY", +"INTERN", +"VOLUNTEER", +"PER_DIEM", +"FLY_IN_FLY_OUT", +"OTHER_EMPLOYMENT_TYPE" +], +"enumDescriptions": [ +"The default value if the employment type is not specified.", +"The job requires working a number of hours that constitute full time employment, typically 40 or more hours per week.", +"The job entails working fewer hours than a full time job, typically less than 40 hours a week.", +"The job is offered as a contracted, as opposed to a salaried employee, position.", +"The job is offered as a contracted position with the understanding that it's converted into a full-time position at the end of the contract. Jobs of this type are also returned by a search for EmploymentType.CONTRACTOR jobs.", +"The job is offered as a temporary employment opportunity, usually a short-term engagement.", +"The job is a fixed-term opportunity for students or entry-level job seekers to obtain on-the-job training, typically offered as a summer position.", +"The is an opportunity for an individual to volunteer, where there's no expectation of compensation for the provided services.", +"The job requires an employee to work on an as-needed basis with a flexible schedule.", +"The job involves employing people in remote areas and flying them temporarily to the work site instead of relocating employees and their families permanently.", +"The job does not fit any of the other listed types." +], +"type": "string" +}, +"type": "array" +}, +"excludedJobs": { +"description": "Optional. This filter specifies a list of job names to be excluded during search. At most 400 excluded job names are allowed.", +"items": { +"type": "string" +}, +"type": "array" +}, +"jobCategories": { +"description": "Optional. The category filter specifies the categories of jobs to search against. See Category for more information. If a value is not specified, jobs from any category are searched against. If multiple values are specified, jobs from any of the specified categories are searched against.", +"items": { +"enum": [ +"JOB_CATEGORY_UNSPECIFIED", +"ACCOUNTING_AND_FINANCE", +"ADMINISTRATIVE_AND_OFFICE", +"ADVERTISING_AND_MARKETING", +"ANIMAL_CARE", +"ART_FASHION_AND_DESIGN", +"BUSINESS_OPERATIONS", +"CLEANING_AND_FACILITIES", +"COMPUTER_AND_IT", +"CONSTRUCTION", +"CUSTOMER_SERVICE", +"EDUCATION", +"ENTERTAINMENT_AND_TRAVEL", +"FARMING_AND_OUTDOORS", +"HEALTHCARE", +"HUMAN_RESOURCES", +"INSTALLATION_MAINTENANCE_AND_REPAIR", +"LEGAL", +"MANAGEMENT", +"MANUFACTURING_AND_WAREHOUSE", +"MEDIA_COMMUNICATIONS_AND_WRITING", +"OIL_GAS_AND_MINING", +"PERSONAL_CARE_AND_SERVICES", +"PROTECTIVE_SERVICES", +"REAL_ESTATE", +"RESTAURANT_AND_HOSPITALITY", +"SALES_AND_RETAIL", +"SCIENCE_AND_ENGINEERING", +"SOCIAL_SERVICES_AND_NON_PROFIT", +"SPORTS_FITNESS_AND_RECREATION", +"TRANSPORTATION_AND_LOGISTICS" +], +"enumDescriptions": [ +"The default value if the category isn't specified.", +"An accounting and finance job, such as an Accountant.", +"An administrative and office job, such as an Administrative Assistant.", +"An advertising and marketing job, such as Marketing Manager.", +"An animal care job, such as Veterinarian.", +"An art, fashion, or design job, such as Designer.", +"A business operations job, such as Business Operations Manager.", +"A cleaning and facilities job, such as Custodial Staff.", +"A computer and IT job, such as Systems Administrator.", +"A construction job, such as General Laborer.", +"A customer service job, such s Cashier.", +"An education job, such as School Teacher.", +"An entertainment and travel job, such as Flight Attendant.", +"A farming or outdoor job, such as Park Ranger.", +"A healthcare job, such as Registered Nurse.", +"A human resources job, such as Human Resources Director.", +"An installation, maintenance, or repair job, such as Electrician.", +"A legal job, such as Law Clerk.", +"A management job, often used in conjunction with another category, such as Store Manager.", +"A manufacturing or warehouse job, such as Assembly Technician.", +"A media, communications, or writing job, such as Media Relations.", +"An oil, gas or mining job, such as Offshore Driller.", +"A personal care and services job, such as Hair Stylist.", +"A protective services job, such as Security Guard.", +"A real estate job, such as Buyer's Agent.", +"A restaurant and hospitality job, such as Restaurant Server.", +"A sales and/or retail job, such Sales Associate.", +"A science and engineering job, such as Lab Technician.", +"A social services or non-profit job, such as Case Worker.", +"A sports, fitness, or recreation job, such as Personal Trainer.", +"A transportation or logistics job, such as Truck Driver." +], +"type": "string" +}, +"type": "array" +}, +"languageCodes": { +"description": "Optional. This filter specifies the locale of jobs to search against, for example, \"en-US\". If a value isn't specified, the search results can contain jobs in any locale. Language codes should be in BCP-47 format, such as \"en-US\" or \"sr-Latn\". For more information, see [Tags for Identifying Languages](https://tools.ietf.org/html/bcp47). At most 10 language code filters are allowed.", +"items": { +"type": "string" +}, +"type": "array" +}, +"locationFilters": { +"description": "Optional. The location filter specifies geo-regions containing the jobs to search against. See LocationFilter for more information. If a location value isn't specified, jobs fitting the other search criteria are retrieved regardless of where they're located. If multiple values are specified, jobs are retrieved from any of the specified locations. If different values are specified for the LocationFilter.distance_in_miles parameter, the maximum provided distance is used for all locations. At most 5 location filters are allowed.", +"items": { +"$ref": "LocationFilter" +}, +"type": "array" +}, +"publishTimeRange": { +"$ref": "TimestampRange", +"description": "Optional. Jobs published within a range specified by this filter are searched against." +}, +"query": { +"description": "Optional. The query string that matches against the job title, description, and location fields. The maximum number of allowed characters is 255.", +"type": "string" +}, +"queryLanguageCode": { +"description": "The language code of query. For example, \"en-US\". This field helps to better interpret the query. If a value isn't specified, the query language code is automatically detected, which may not be accurate. Language code should be in BCP-47 format, such as \"en-US\" or \"sr-Latn\". For more information, see [Tags for Identifying Languages](https://tools.ietf.org/html/bcp47).", +"type": "string" +} +}, +"type": "object" +}, +"LatLng": { +"description": "An object that represents a latitude/longitude pair. This is expressed as a pair of doubles to represent degrees latitude and degrees longitude. Unless specified otherwise, this object must conform to the WGS84 standard. Values must be within normalized ranges.", +"id": "LatLng", +"properties": { +"latitude": { +"description": "The latitude in degrees. It must be in the range [-90.0, +90.0].", +"format": "double", +"type": "number" +}, +"longitude": { +"description": "The longitude in degrees. It must be in the range [-180.0, +180.0].", +"format": "double", +"type": "number" +} +}, +"type": "object" +}, +"ListCompaniesResponse": { +"description": "Output only. The List companies response object.", +"id": "ListCompaniesResponse", +"properties": { +"companies": { +"description": "Companies for the current client.", +"items": { +"$ref": "Company" +}, +"type": "array" +}, +"metadata": { +"$ref": "ResponseMetadata", +"description": "Additional information for the API invocation, such as the request tracking id." +}, +"nextPageToken": { +"description": "A token to retrieve the next page of results.", +"type": "string" +} +}, +"type": "object" +}, +"ListJobsResponse": { +"description": "Output only. List jobs response.", +"id": "ListJobsResponse", +"properties": { +"jobs": { +"description": "The Jobs for a given company. The maximum number of items returned is based on the limit field provided in the request.", +"items": { +"$ref": "Job" +}, +"type": "array" +}, +"metadata": { +"$ref": "ResponseMetadata", +"description": "Additional information for the API invocation, such as the request tracking id." +}, +"nextPageToken": { +"description": "A token to retrieve the next page of results.", +"type": "string" +} +}, +"type": "object" +}, +"Location": { +"description": "Output only. A resource that represents a location with full geographic information.", +"id": "Location", +"properties": { +"latLng": { +"$ref": "LatLng", +"description": "An object representing a latitude/longitude pair." +}, +"locationType": { +"description": "The type of a location, which corresponds to the address lines field of PostalAddress. For example, \"Downtown, Atlanta, GA, USA\" has a type of LocationType#NEIGHBORHOOD, and \"Kansas City, KS, USA\" has a type of LocationType#LOCALITY.", +"enum": [ +"LOCATION_TYPE_UNSPECIFIED", +"COUNTRY", +"ADMINISTRATIVE_AREA", +"SUB_ADMINISTRATIVE_AREA", +"LOCALITY", +"POSTAL_CODE", +"SUB_LOCALITY", +"SUB_LOCALITY_1", +"SUB_LOCALITY_2", +"NEIGHBORHOOD", +"STREET_ADDRESS" +], +"enumDescriptions": [ +"Default value if the type is not specified.", +"A country level location.", +"A state or equivalent level location.", +"A county or equivalent level location.", +"A city or equivalent level location.", +"A postal code level location.", +"A sublocality is a subdivision of a locality, for example a city borough, ward, or arrondissement. Sublocalities are usually recognized by a local political authority. For example, Manhattan and Brooklyn are recognized as boroughs by the City of New York, and are therefore modeled as sublocalities.", +"A district or equivalent level location.", +"A smaller district or equivalent level display.", +"A neighborhood level location.", +"A street address level location." +], +"type": "string" +}, +"postalAddress": { +"$ref": "PostalAddress", +"description": "Postal address of the location that includes human readable information, such as postal delivery and payments addresses. Given a postal address, a postal service can deliver items to a premises, P.O. Box, or other delivery location." +}, +"radiusInMiles": { +"description": "Radius in miles of the job location. This value is derived from the location bounding box in which a circle with the specified radius centered from LatLng covers the area associated with the job location. For example, currently, \"Mountain View, CA, USA\" has a radius of 6.17 miles.", +"format": "double", +"type": "number" +} +}, +"type": "object" +}, +"LocationFilter": { +"description": "Input only. Geographic region of the search.", +"id": "LocationFilter", +"properties": { +"address": { +"description": "Optional. The address name, such as \"Mountain View\" or \"Bay Area\".", +"type": "string" +}, +"distanceInMiles": { +"description": "Optional. The distance_in_miles is applied when the location being searched for is identified as a city or smaller. When the location being searched for is a state or larger, this field is ignored.", +"format": "double", +"type": "number" +}, +"latLng": { +"$ref": "LatLng", +"description": "Optional. The latitude and longitude of the geographic center from which to search. This field's ignored if `address` is provided." +}, +"regionCode": { +"description": "Optional. CLDR region code of the country/region. This field may be used in two ways: 1) If telecommute preference is not set, this field is used address ambiguity of the user-input address. For example, \"Liverpool\" may refer to \"Liverpool, NY, US\" or \"Liverpool, UK\". This region code biases the address resolution toward a specific country or territory. If this field is not set, address resolution is biased toward the United States by default. 2) If telecommute preference is set to TELECOMMUTE_ALLOWED, the telecommute location filter will be limited to the region specified in this field. If this field is not set, the telecommute job locations will not be limited. See https://unicode-org.github.io/cldr-staging/charts/latest/supplemental/territory_information.html for details. Example: \"CH\" for Switzerland.", +"type": "string" +}, +"telecommutePreference": { +"description": "Optional. Allows the client to return jobs without a set location, specifically, telecommuting jobs (telecommuting is considered by the service as a special location). Job.posting_region indicates if a job permits telecommuting. If this field is set to TelecommutePreference.TELECOMMUTE_ALLOWED, telecommuting jobs are searched, and address and lat_lng are ignored. If not set or set to TelecommutePreference.TELECOMMUTE_EXCLUDED, the telecommute status of the jobs is ignored. Jobs that have PostingRegion.TELECOMMUTE and have additional Job.addresses may still be matched based on other location filters using address or latlng. This filter can be used by itself to search exclusively for telecommuting jobs, or it can be combined with another location filter to search for a combination of job locations, such as \"Mountain View\" or \"telecommuting\" jobs. However, when used in combination with other location filters, telecommuting jobs can be treated as less relevant than other jobs in the search response.", +"enum": [ +"TELECOMMUTE_PREFERENCE_UNSPECIFIED", +"TELECOMMUTE_EXCLUDED", +"TELECOMMUTE_ALLOWED", +"TELECOMMUTE_JOBS_EXCLUDED" +], +"enumDeprecated": [ +false, +true, +false, +false +], +"enumDescriptions": [ +"Default value if the telecommute preference is not specified.", +"Deprecated: Ignore telecommute status of jobs. Use TELECOMMUTE_JOBS_EXCLUDED if want to exclude telecommute jobs.", +"Allow telecommute jobs.", +"Exclude telecommute jobs." +], +"type": "string" +} +}, +"type": "object" +}, +"MatchingJob": { +"description": "Output only. Job entry with metadata inside SearchJobsResponse.", +"id": "MatchingJob", +"properties": { +"commuteInfo": { +"$ref": "CommuteInfo", +"description": "Commute information which is generated based on specified CommuteFilter." +}, +"job": { +"$ref": "Job", +"description": "Job resource that matches the specified SearchJobsRequest." +}, +"jobSummary": { +"description": "A summary of the job with core information that's displayed on the search results listing page.", +"type": "string" +}, +"jobTitleSnippet": { +"description": "Contains snippets of text from the Job.job_title field most closely matching a search query's keywords, if available. The matching query keywords are enclosed in HTML bold tags.", +"type": "string" +}, +"searchTextSnippet": { +"description": "Contains snippets of text from the Job.description and similar fields that most closely match a search query's keywords, if available. All HTML tags in the original fields are stripped when returned in this field, and matching query keywords are enclosed in HTML bold tags.", +"type": "string" +} +}, +"type": "object" +}, +"Money": { +"description": "Represents an amount of money with its currency type.", +"id": "Money", +"properties": { +"currencyCode": { +"description": "The three-letter currency code defined in ISO 4217.", +"type": "string" +}, +"nanos": { +"description": "Number of nano (10^-9) units of the amount. The value must be between -999,999,999 and +999,999,999 inclusive. If `units` is positive, `nanos` must be positive or zero. If `units` is zero, `nanos` can be positive, zero, or negative. If `units` is negative, `nanos` must be negative or zero. For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000.", +"format": "int32", +"type": "integer" +}, +"units": { +"description": "The whole units of the amount. For example if `currencyCode` is `\"USD\"`, then 1 unit is one US dollar.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"NumericBucketingOption": { +"description": "Input only. Use this field to specify bucketing option for the histogram search response.", +"id": "NumericBucketingOption", +"properties": { +"bucketBounds": { +"description": "Required. Two adjacent values form a histogram bucket. Values should be in ascending order. For example, if [5, 10, 15] are provided, four buckets are created: (-inf, 5), 5, 10), [10, 15), [15, inf). At most 20 [buckets_bound is supported.", +"items": { +"format": "double", +"type": "number" +}, +"type": "array" +}, +"requiresMinMax": { +"description": "Optional. If set to true, the histogram result includes minimum/maximum value of the numeric field.", +"type": "boolean" +} +}, +"type": "object" +}, +"NumericBucketingResult": { +"description": "Output only. Custom numeric bucketing result.", +"id": "NumericBucketingResult", +"properties": { +"counts": { +"description": "Count within each bucket. Its size is the length of NumericBucketingOption.bucket_bounds plus 1.", +"items": { +"$ref": "BucketizedCount" +}, +"type": "array" +}, +"maxValue": { +"description": "Stores the maximum value of the numeric field. Is populated only if [NumericBucketingOption.requires_min_max] is set to true.", +"format": "double", +"type": "number" +}, +"minValue": { +"description": "Stores the minimum value of the numeric field. Will be populated only if [NumericBucketingOption.requires_min_max] is set to true.", +"format": "double", +"type": "number" +} +}, +"type": "object" +}, +"Operation": { +"description": "This resource represents a long-running operation that is the result of a network API call.", +"id": "Operation", +"properties": { +"done": { +"description": "If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.", +"type": "boolean" +}, +"error": { +"$ref": "Status", +"description": "The error result of the operation in case of failure or cancellation." +}, +"metadata": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.", +"type": "object" +}, +"name": { +"description": "The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.", +"type": "string" +}, +"response": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "The normal, successful response of the operation. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.", +"type": "object" +} +}, +"type": "object" +}, +"PostalAddress": { +"description": "Represents a postal address, such as for postal delivery or payments addresses. With a postal address, a postal service can deliver items to a premise, P.O. box, or similar. A postal address is not intended to model geographical locations like roads, towns, or mountains. In typical usage, an address would be created by user input or from importing existing data, depending on the type of process. Advice on address input or editing: - Use an internationalization-ready address widget such as https://github.com/google/libaddressinput. - Users should not be presented with UI elements for input or editing of fields outside countries where that field is used. For more guidance on how to use this schema, see: https://support.google.com/business/answer/6397478.", +"id": "PostalAddress", +"properties": { +"addressLines": { +"description": "Unstructured address lines describing the lower levels of an address. Because values in `address_lines` do not have type information and may sometimes contain multiple values in a single field (for example, \"Austin, TX\"), it is important that the line order is clear. The order of address lines should be \"envelope order\" for the country or region of the address. In places where this can vary (for example, Japan), `address_language` is used to make it explicit (for example, \"ja\" for large-to-small ordering and \"ja-Latn\" or \"en\" for small-to-large). In this way, the most specific line of an address can be selected based on the language. The minimum permitted structural representation of an address consists of a `region_code` with all remaining information placed in the `address_lines`. It would be possible to format such an address very approximately without geocoding, but no semantic reasoning could be made about any of the address components until it was at least partially resolved. Creating an address only containing a `region_code` and `address_lines` and then geocoding is the recommended way to handle completely unstructured addresses (as opposed to guessing which parts of the address should be localities or administrative areas).", +"items": { +"type": "string" +}, +"type": "array" +}, +"administrativeArea": { +"description": "Optional. Highest administrative subdivision which is used for postal addresses of a country or region. For example, this can be a state, a province, an oblast, or a prefecture. For Spain, this is the province and not the autonomous community (for example, \"Barcelona\" and not \"Catalonia\"). Many countries don't use an administrative area in postal addresses. For example, in Switzerland, this should be left unpopulated.", +"type": "string" +}, +"languageCode": { +"description": "Optional. BCP-47 language code of the contents of this address (if known). This is often the UI language of the input form or is expected to match one of the languages used in the address' country/region, or their transliterated equivalents. This can affect formatting in certain countries, but is not critical to the correctness of the data and will never affect any validation or other non-formatting related operations. If this value is not known, it should be omitted (rather than specifying a possibly incorrect default). Examples: \"zh-Hant\", \"ja\", \"ja-Latn\", \"en\".", +"type": "string" +}, +"locality": { +"description": "Optional. Generally refers to the city or town portion of the address. Examples: US city, IT comune, UK post town. In regions of the world where localities are not well defined or do not fit into this structure well, leave `locality` empty and use `address_lines`.", +"type": "string" +}, +"organization": { +"description": "Optional. The name of the organization at the address.", +"type": "string" +}, +"postalCode": { +"description": "Optional. Postal code of the address. Not all countries use or require postal codes to be present, but where they are used, they may trigger additional validation with other parts of the address (for example, state or zip code validation in the United States).", +"type": "string" +}, +"recipients": { +"description": "Optional. The recipient at the address. This field may, under certain circumstances, contain multiline information. For example, it might contain \"care of\" information.", +"items": { +"type": "string" +}, +"type": "array" +}, +"regionCode": { +"description": "Required. CLDR region code of the country/region of the address. This is never inferred and it is up to the user to ensure the value is correct. See https://cldr.unicode.org/ and https://www.unicode.org/cldr/charts/30/supplemental/territory_information.html for details. Example: \"CH\" for Switzerland.", +"type": "string" +}, +"revision": { +"description": "The schema revision of the `PostalAddress`. This must be set to 0, which is the latest revision. All new revisions **must** be backward compatible with old revisions.", +"format": "int32", +"type": "integer" +}, +"sortingCode": { +"description": "Optional. Additional, country-specific, sorting code. This is not used in most regions. Where it is used, the value is either a string like \"CEDEX\", optionally followed by a number (for example, \"CEDEX 7\"), or just a number alone, representing the \"sector code\" (Jamaica), \"delivery area indicator\" (Malawi) or \"post office indicator\" (C\u00f4te d'Ivoire).", +"type": "string" +}, +"sublocality": { +"description": "Optional. Sublocality of the address. For example, this can be a neighborhood, borough, or district.", +"type": "string" +} +}, +"type": "object" +}, +"ProcessingOptions": { +"description": "Input only. Options for job processing.", +"id": "ProcessingOptions", +"properties": { +"disableStreetAddressResolution": { +"description": "Optional. If set to `true`, the service does not attempt to resolve a more precise address for the job.", +"type": "boolean" +}, +"htmlSanitization": { +"description": "Optional. Option for job HTML content sanitization. Applied fields are: * description * applicationInfo.instruction * incentives * qualifications * responsibilities HTML tags in these fields may be stripped if sanitiazation is not disabled. Defaults to HtmlSanitization.SIMPLE_FORMATTING_ONLY.", +"enum": [ +"HTML_SANITIZATION_UNSPECIFIED", +"HTML_SANITIZATION_DISABLED", +"SIMPLE_FORMATTING_ONLY" +], +"enumDescriptions": [ +"Default value.", +"Disables sanitization on HTML input.", +"Sanitizes HTML input, only accepts bold, italic, ordered list, and unordered list markup tags." +], +"type": "string" +} +}, +"type": "object" +}, +"RequestMetadata": { +"description": "Input only. Meta information related to the job searcher or entity conducting the job search. This information is used to improve the performance of the service.", +"id": "RequestMetadata", +"properties": { +"deviceInfo": { +"$ref": "DeviceInfo", +"description": "Optional. The type of device used by the job seeker at the time of the call to the service." +}, +"domain": { +"description": "Required. The client-defined scope or source of the service call, which typically is the domain on which the service has been implemented and is currently being run. For example, if the service is being run by client *Foo, Inc.*, on job board www.foo.com and career site www.bar.com, then this field is set to \"foo.com\" for use on the job board, and \"bar.com\" for use on the career site. If this field isn't available for some reason, send \"UNKNOWN\". Any improvements to the model for a particular tenant site rely on this field being set correctly to a domain. The maximum number of allowed characters is 255.", +"type": "string" +}, +"sessionId": { +"description": "Required. A unique session identification string. A session is defined as the duration of an end user's interaction with the service over a certain period. Obfuscate this field for privacy concerns before providing it to the service. If this field is not available for some reason, send \"UNKNOWN\". Note that any improvements to the model for a particular tenant site, rely on this field being set correctly to some unique session_id. The maximum number of allowed characters is 255.", +"type": "string" +}, +"userId": { +"description": "Required. A unique user identification string, as determined by the client. To have the strongest positive impact on search quality make sure the client-level is unique. Obfuscate this field for privacy concerns before providing it to the service. If this field is not available for some reason, send \"UNKNOWN\". Note that any improvements to the model for a particular tenant site, rely on this field being set correctly to a unique user_id. The maximum number of allowed characters is 255.", +"type": "string" +} +}, +"type": "object" +}, +"ResponseMetadata": { +"description": "Output only. Additional information returned to client, such as debugging information.", +"id": "ResponseMetadata", +"properties": { +"requestId": { +"description": "A unique id associated with this call. This id is logged for tracking purposes.", +"type": "string" +} +}, +"type": "object" +}, +"SearchJobsRequest": { +"description": "Input only. The Request body of the `SearchJobs` call.", +"id": "SearchJobsRequest", +"properties": { +"customRankingInfo": { +"$ref": "CustomRankingInfo", +"description": "Optional. Controls over how job documents get ranked on top of existing relevance score (determined by API algorithm)." +}, +"disableKeywordMatch": { +"description": "Optional. Controls whether to disable exact keyword match on Job.job_title, Job.description, Job.company_display_name, Job.locations, Job.qualifications. When disable keyword match is turned off, a keyword match returns jobs that do not match given category filters when there are matching keywords. For example, the query \"program manager,\" a result is returned even if the job posting has the title \"software developer,\" which does not fall into \"program manager\" ontology, but does have \"program manager\" appearing in its description. For queries like \"cloud\" that does not contain title or location specific ontology, jobs with \"cloud\" keyword matches are returned regardless of this flag's value. Please use Company.keyword_searchable_custom_fields or Company.keyword_searchable_custom_attributes if company specific globally matched custom field/attribute string values is needed. Enabling keyword match improves recall of subsequent search requests. Defaults to false.", +"type": "boolean" +}, +"diversificationLevel": { +"description": "Optional. Controls whether highly similar jobs are returned next to each other in the search results. Jobs are identified as highly similar based on their titles, job categories, and locations. Highly similar results are clustered so that only one representative job of the cluster is displayed to the job seeker higher up in the results, with the other jobs being displayed lower down in the results. Defaults to DiversificationLevel.SIMPLE if no value is specified.", +"enum": [ +"DIVERSIFICATION_LEVEL_UNSPECIFIED", +"DISABLED", +"SIMPLE" +], +"enumDescriptions": [ +"The diversification level isn't specified. By default, jobs with this enum are ordered according to SIMPLE diversifying behavior.", +"Disables diversification. Jobs that would normally be pushed to the last page would not have their positions altered. This may result in highly similar jobs appearing in sequence in the search results.", +"Default diversifying behavior. The result list is ordered so that highly similar results are pushed to the end of the last page of search results." +], +"type": "string" +}, +"enableBroadening": { +"description": "Optional. Controls whether to broaden the search when it produces sparse results. Broadened queries append results to the end of the matching results list. Defaults to false.", +"type": "boolean" +}, +"histogramFacets": { +"$ref": "HistogramFacets", +"description": "Optional. Histogram requests for jobs matching JobQuery." +}, +"histogramQueries": { +"description": "Optional. Expression based histogram requests for jobs matching JobQuery.", +"items": { +"$ref": "HistogramQuery" +}, +"type": "array" +}, +"jobQuery": { +"$ref": "JobQuery", +"description": "Optional. Query used to search against jobs, such as keyword, location filters, etc." +}, +"jobView": { +"description": "Optional. The desired job attributes returned for jobs in the search response. Defaults to JobView.SMALL if no value is specified.", +"enum": [ +"JOB_VIEW_UNSPECIFIED", +"JOB_VIEW_ID_ONLY", +"JOB_VIEW_MINIMAL", +"JOB_VIEW_SMALL", +"JOB_VIEW_FULL" +], +"enumDescriptions": [ +"Default value.", +"A ID only view of job, with following attributes: Job.name, Job.requisition_id, Job.language_code.", +"A minimal view of the job, with the following attributes: Job.name, Job.requisition_id, Job.title, Job.company_name, Job.DerivedInfo.locations, Job.language_code.", +"A small view of the job, with the following attributes in the search results: Job.name, Job.requisition_id, Job.title, Job.company_name, Job.DerivedInfo.locations, Job.visibility, Job.language_code, Job.description.", +"All available attributes are included in the search results." +], +"type": "string" +}, +"offset": { +"description": "Optional. An integer that specifies the current offset (that is, starting result location, amongst the jobs deemed by the API as relevant) in search results. This field is only considered if page_token is unset. The maximum allowed value is 5000. Otherwise an error is thrown. For example, 0 means to return results starting from the first matching job, and 10 means to return from the 11th job. This can be used for pagination, (for example, pageSize = 10 and offset = 10 means to return from the second page).", +"format": "int32", +"type": "integer" +}, +"orderBy": { +"description": "Optional. The criteria determining how search results are sorted. Default is \"relevance desc\". Supported options are: * `\"relevance desc\"`: By relevance descending, as determined by the API algorithms. Relevance thresholding of query results is only available with this ordering. * `\"posting_publish_time desc\"`: By Job.posting_publish_time descending. * `\"posting_update_time desc\"`: By Job.posting_update_time descending. * `\"title\"`: By Job.title ascending. * `\"title desc\"`: By Job.title descending. * `\"annualized_base_compensation\"`: By job's CompensationInfo.annualized_base_compensation_range ascending. Jobs whose annualized base compensation is unspecified are put at the end of search results. * `\"annualized_base_compensation desc\"`: By job's CompensationInfo.annualized_base_compensation_range descending. Jobs whose annualized base compensation is unspecified are put at the end of search results. * `\"annualized_total_compensation\"`: By job's CompensationInfo.annualized_total_compensation_range ascending. Jobs whose annualized base compensation is unspecified are put at the end of search results. * `\"annualized_total_compensation desc\"`: By job's CompensationInfo.annualized_total_compensation_range descending. Jobs whose annualized base compensation is unspecified are put at the end of search results. * `\"custom_ranking desc\"`: By the relevance score adjusted to the SearchJobsRequest.custom_ranking_info.ranking_expression with weight factor assigned by SearchJobsRequest.custom_ranking_info.importance_level in descending order. * Location sorting: Use the special syntax to order jobs by distance: \"`distance_from('Hawaii')`\": Order by distance from Hawaii. \"`distance_from(19.89, 155.5)`\": Order by distance from a coordinate. \"`distance_from('Hawaii'), distance_from('Puerto Rico')`\": Order by multiple locations. See details below. \"`distance_from('Hawaii'), distance_from(19.89, 155.5)`\": Order by multiple locations. See details below. The string can have a maximum of 256 characters. When multiple distance centers are provided, a job that is close to any of the distance centers would have a high rank. When a job has multiple locations, the job location closest to one of the distance centers will be used. Jobs that don't have locations will be ranked at the bottom. Distance is calculated with a precision of 11.3 meters (37.4 feet). Diversification strategy is still applied unless explicitly disabled in diversification_level.", +"type": "string" +}, +"pageSize": { +"description": "Optional. A limit on the number of jobs returned in the search results. Increasing this value above the default value of 10 can increase search response time. The value can be between 1 and 100.", +"format": "int32", +"type": "integer" +}, +"pageToken": { +"description": "Optional. The token specifying the current offset within search results. See SearchJobsResponse.next_page_token for an explanation of how to obtain the next set of query results.", +"type": "string" +}, +"requestMetadata": { +"$ref": "RequestMetadata", +"description": "Required. The meta information collected about the job searcher, used to improve the search quality of the service. The identifiers (such as `user_id`) are provided by users, and must be unique and consistent." +}, +"requirePreciseResultSize": { +"deprecated": true, +"description": "This field is deprecated.", +"type": "boolean" +}, +"searchMode": { +"description": "Optional. Mode of a search. Defaults to SearchMode.JOB_SEARCH.", +"enum": [ +"SEARCH_MODE_UNSPECIFIED", +"JOB_SEARCH", +"FEATURED_JOB_SEARCH" +], +"enumDescriptions": [ +"The mode of the search method isn't specified. The default search behavior is identical to JOB_SEARCH search behavior.", +"The job search matches against all jobs, and featured jobs (jobs with promotionValue > 0) are not specially handled.", +"The job search matches only against featured jobs (jobs with a promotionValue > 0). This method doesn't return any jobs having a promotionValue <= 0. The search results order is determined by the promotionValue (jobs with a higher promotionValue are returned higher up in the search results), with relevance being used as a tiebreaker." +], +"type": "string" +} +}, +"type": "object" +}, +"SearchJobsResponse": { +"description": "Output only. Response for SearchJob method.", +"id": "SearchJobsResponse", +"properties": { +"broadenedQueryJobsCount": { +"description": "If query broadening is enabled, we may append additional results from the broadened query. This number indicates how many of the jobs returned in the jobs field are from the broadened query. These results are always at the end of the jobs list. In particular, a value of 0, or if the field isn't set, all the jobs in the jobs list are from the original (without broadening) query. If this field is non-zero, subsequent requests with offset after this result set should contain all broadened results.", +"format": "int32", +"type": "integer" +}, +"estimatedTotalSize": { +"description": "An estimation of the number of jobs that match the specified query. This number is not guaranteed to be accurate. For accurate results, see SearchJobsResponse.total_size.", +"format": "int32", +"type": "integer" +}, +"histogramQueryResults": { +"description": "The histogram results that match with specified SearchJobsRequest.histogram_queries.", +"items": { +"$ref": "HistogramQueryResult" +}, +"type": "array" +}, +"histogramResults": { +"$ref": "HistogramResults", +"description": "The histogram results that match specified SearchJobsRequest.histogram_facets." +}, +"locationFilters": { +"description": "The location filters that the service applied to the specified query. If any filters are lat-lng based, the JobLocation.location_type is JobLocation.LocationType#LOCATION_TYPE_UNSPECIFIED.", +"items": { +"$ref": "Location" +}, +"type": "array" +}, +"matchingJobs": { +"description": "The Job entities that match the specified SearchJobsRequest.", +"items": { +"$ref": "MatchingJob" +}, +"type": "array" +}, +"metadata": { +"$ref": "ResponseMetadata", +"description": "Additional information for the API invocation, such as the request tracking id." +}, +"nextPageToken": { +"description": "The token that specifies the starting position of the next page of results. This field is empty if there are no more results.", +"type": "string" +}, +"spellCorrection": { +"$ref": "SpellingCorrection", +"description": "The spell checking result, and correction." +}, +"totalSize": { +"description": "The precise result count with limit 100,000.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"SpellingCorrection": { +"description": "Output only. Spell check result.", +"id": "SpellingCorrection", +"properties": { +"corrected": { +"description": "Indicates if the query was corrected by the spell checker.", +"type": "boolean" +}, +"correctedText": { +"description": "Correction output consisting of the corrected keyword string.", +"type": "string" +} +}, +"type": "object" +}, +"Status": { +"description": "The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors).", +"id": "Status", +"properties": { +"code": { +"description": "The status code, which should be an enum value of google.rpc.Code.", +"format": "int32", +"type": "integer" +}, +"details": { +"description": "A list of messages that carry the error details. There is a common set of message types for APIs to use.", +"items": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.", +"type": "string" +} +}, +"type": "object" +}, +"TimeOfDay": { +"description": "Represents a time of day. The date and time zone are either not significant or are specified elsewhere. An API may choose to allow leap seconds. Related types are google.type.Date and `google.protobuf.Timestamp`.", +"id": "TimeOfDay", +"properties": { +"hours": { +"description": "Hours of a day in 24 hour format. Must be greater than or equal to 0 and typically must be less than or equal to 23. An API may choose to allow the value \"24:00:00\" for scenarios like business closing time.", +"format": "int32", +"type": "integer" +}, +"minutes": { +"description": "Minutes of an hour. Must be greater than or equal to 0 and less than or equal to 59.", +"format": "int32", +"type": "integer" +}, +"nanos": { +"description": "Fractions of seconds, in nanoseconds. Must be greater than or equal to 0 and less than or equal to 999,999,999.", +"format": "int32", +"type": "integer" +}, +"seconds": { +"description": "Seconds of a minute. Must be greater than or equal to 0 and typically must be less than or equal to 59. An API may allow the value 60 if it allows leap-seconds.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"TimestampRange": { +"description": "Message representing a period of time between two timestamps.", +"id": "TimestampRange", +"properties": { +"endTime": { +"description": "End of the period.", +"format": "google-datetime", +"type": "string" +}, +"startTime": { +"description": "Begin of the period.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"UpdateCompanyRequest": { +"description": "Input only. Request for updating a specified company.", +"id": "UpdateCompanyRequest", +"properties": { +"company": { +"$ref": "Company", +"description": "Required. The company resource to replace the current resource in the system." +}, +"updateMask": { +"description": "Optional but strongly recommended for the best service experience. If update_mask is provided, only the specified fields in company are updated. Otherwise all the fields are updated. A field mask to specify the company fields to be updated. Only top level fields of Company are supported.", +"format": "google-fieldmask", +"type": "string" +} +}, +"type": "object" +}, +"UpdateJobRequest": { +"description": "Input only. Update job request.", +"id": "UpdateJobRequest", +"properties": { +"job": { +"$ref": "Job", +"description": "Required. The Job to be updated." +}, +"updateMask": { +"description": "Optional but strongly recommended to be provided for the best service experience. If update_mask is provided, only the specified fields in job are updated. Otherwise all the fields are updated. A field mask to restrict the fields that are updated. Only top level fields of Job are supported.", +"format": "google-fieldmask", +"type": "string" +} +}, +"type": "object" +} +}, +"servicePath": "", +"title": "Cloud Talent Solution API", +"version": "v3p1beta1", +"version_module": true +} \ No newline at end of file diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/language.v1beta2.json b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/language.v1beta2.json new file mode 100644 index 0000000000000000000000000000000000000000..683613fc238383e1632bd9c9e816ab4b4c01feb3 --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/language.v1beta2.json @@ -0,0 +1,6049 @@ +{ +"auth": { +"oauth2": { +"scopes": { +"https://www.googleapis.com/auth/cloud-language": { +"description": "Apply machine learning models to reveal the structure and meaning of text" +}, +"https://www.googleapis.com/auth/cloud-platform": { +"description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." +} +} +} +}, +"basePath": "", +"baseUrl": "https://language.googleapis.com/", +"batchPath": "batch", +"canonicalName": "Cloud Natural Language", +"description": "Provides natural language understanding technologies, such as sentiment analysis, entity recognition, entity sentiment analysis, and other text annotations, to developers.", +"discoveryVersion": "v1", +"documentationLink": "https://cloud.google.com/natural-language/", +"fullyEncodeReservedExpansion": true, +"icons": { +"x16": "http://www.google.com/images/icons/product/search-16.gif", +"x32": "http://www.google.com/images/icons/product/search-32.gif" +}, +"id": "language:v1beta2", +"kind": "discovery#restDescription", +"mtlsRootUrl": "https://language.mtls.googleapis.com/", +"name": "language", +"ownerDomain": "google.com", +"ownerName": "Google", +"parameters": { +"$.xgafv": { +"description": "V1 error format.", +"enum": [ +"1", +"2" +], +"enumDescriptions": [ +"v1 error format", +"v2 error format" +], +"location": "query", +"type": "string" +}, +"access_token": { +"description": "OAuth access token.", +"location": "query", +"type": "string" +}, +"alt": { +"default": "json", +"description": "Data format for response.", +"enum": [ +"json", +"media", +"proto" +], +"enumDescriptions": [ +"Responses with Content-Type of application/json", +"Media download with context-dependent Content-Type", +"Responses with Content-Type of application/x-protobuf" +], +"location": "query", +"type": "string" +}, +"callback": { +"description": "JSONP", +"location": "query", +"type": "string" +}, +"fields": { +"description": "Selector specifying which fields to include in a partial response.", +"location": "query", +"type": "string" +}, +"key": { +"description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", +"location": "query", +"type": "string" +}, +"oauth_token": { +"description": "OAuth 2.0 token for the current user.", +"location": "query", +"type": "string" +}, +"prettyPrint": { +"default": "true", +"description": "Returns response with indentations and line breaks.", +"location": "query", +"type": "boolean" +}, +"quotaUser": { +"description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.", +"location": "query", +"type": "string" +}, +"uploadType": { +"description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", +"location": "query", +"type": "string" +}, +"upload_protocol": { +"description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", +"location": "query", +"type": "string" +} +}, +"protocol": "rest", +"resources": { +"documents": { +"methods": { +"analyzeEntities": { +"description": "Finds named entities (currently proper names and common nouns) in the text along with entity types, salience, mentions for each entity, and other properties.", +"flatPath": "v1beta2/documents:analyzeEntities", +"httpMethod": "POST", +"id": "language.documents.analyzeEntities", +"parameterOrder": [], +"parameters": {}, +"path": "v1beta2/documents:analyzeEntities", +"request": { +"$ref": "AnalyzeEntitiesRequest" +}, +"response": { +"$ref": "AnalyzeEntitiesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-language", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"analyzeEntitySentiment": { +"description": "Finds entities, similar to AnalyzeEntities in the text and analyzes sentiment associated with each entity and its mentions.", +"flatPath": "v1beta2/documents:analyzeEntitySentiment", +"httpMethod": "POST", +"id": "language.documents.analyzeEntitySentiment", +"parameterOrder": [], +"parameters": {}, +"path": "v1beta2/documents:analyzeEntitySentiment", +"request": { +"$ref": "AnalyzeEntitySentimentRequest" +}, +"response": { +"$ref": "AnalyzeEntitySentimentResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-language", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"analyzeSentiment": { +"description": "Analyzes the sentiment of the provided text.", +"flatPath": "v1beta2/documents:analyzeSentiment", +"httpMethod": "POST", +"id": "language.documents.analyzeSentiment", +"parameterOrder": [], +"parameters": {}, +"path": "v1beta2/documents:analyzeSentiment", +"request": { +"$ref": "AnalyzeSentimentRequest" +}, +"response": { +"$ref": "AnalyzeSentimentResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-language", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"analyzeSyntax": { +"description": "Analyzes the syntax of the text and provides sentence boundaries and tokenization along with part of speech tags, dependency trees, and other properties.", +"flatPath": "v1beta2/documents:analyzeSyntax", +"httpMethod": "POST", +"id": "language.documents.analyzeSyntax", +"parameterOrder": [], +"parameters": {}, +"path": "v1beta2/documents:analyzeSyntax", +"request": { +"$ref": "AnalyzeSyntaxRequest" +}, +"response": { +"$ref": "AnalyzeSyntaxResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-language", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"annotateText": { +"description": "A convenience method that provides all syntax, sentiment, entity, and classification features in one call.", +"flatPath": "v1beta2/documents:annotateText", +"httpMethod": "POST", +"id": "language.documents.annotateText", +"parameterOrder": [], +"parameters": {}, +"path": "v1beta2/documents:annotateText", +"request": { +"$ref": "AnnotateTextRequest" +}, +"response": { +"$ref": "AnnotateTextResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-language", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"classifyText": { +"description": "Classifies a document into categories.", +"flatPath": "v1beta2/documents:classifyText", +"httpMethod": "POST", +"id": "language.documents.classifyText", +"parameterOrder": [], +"parameters": {}, +"path": "v1beta2/documents:classifyText", +"request": { +"$ref": "ClassifyTextRequest" +}, +"response": { +"$ref": "ClassifyTextResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-language", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"moderateText": { +"description": "Moderates a document for harmful and sensitive categories.", +"flatPath": "v1beta2/documents:moderateText", +"httpMethod": "POST", +"id": "language.documents.moderateText", +"parameterOrder": [], +"parameters": {}, +"path": "v1beta2/documents:moderateText", +"request": { +"$ref": "ModerateTextRequest" +}, +"response": { +"$ref": "ModerateTextResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-language", +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +}, +"revision": "20260223", +"rootUrl": "https://language.googleapis.com/", +"schemas": { +"AnalyzeEntitiesRequest": { +"description": "The entity analysis request message.", +"id": "AnalyzeEntitiesRequest", +"properties": { +"document": { +"$ref": "Document", +"description": "Required. Input document." +}, +"encodingType": { +"description": "The encoding type used by the API to calculate offsets.", +"enum": [ +"NONE", +"UTF8", +"UTF16", +"UTF32" +], +"enumDescriptions": [ +"If `EncodingType` is not specified, encoding-dependent information (such as `begin_offset`) will be set at `-1`.", +"Encoding-dependent information (such as `begin_offset`) is calculated based on the UTF-8 encoding of the input. C++ and Go are examples of languages that use this encoding natively.", +"Encoding-dependent information (such as `begin_offset`) is calculated based on the UTF-16 encoding of the input. Java and JavaScript are examples of languages that use this encoding natively.", +"Encoding-dependent information (such as `begin_offset`) is calculated based on the UTF-32 encoding of the input. Python is an example of a language that uses this encoding natively." +], +"type": "string" +} +}, +"type": "object" +}, +"AnalyzeEntitiesResponse": { +"description": "The entity analysis response message.", +"id": "AnalyzeEntitiesResponse", +"properties": { +"entities": { +"description": "The recognized entities in the input document.", +"items": { +"$ref": "Entity" +}, +"type": "array" +}, +"language": { +"description": "The language of the text, which will be the same as the language specified in the request or, if not specified, the automatically-detected language. See Document.language field for more details.", +"type": "string" +} +}, +"type": "object" +}, +"AnalyzeEntitySentimentRequest": { +"description": "The entity-level sentiment analysis request message.", +"id": "AnalyzeEntitySentimentRequest", +"properties": { +"document": { +"$ref": "Document", +"description": "Required. Input document." +}, +"encodingType": { +"description": "The encoding type used by the API to calculate offsets.", +"enum": [ +"NONE", +"UTF8", +"UTF16", +"UTF32" +], +"enumDescriptions": [ +"If `EncodingType` is not specified, encoding-dependent information (such as `begin_offset`) will be set at `-1`.", +"Encoding-dependent information (such as `begin_offset`) is calculated based on the UTF-8 encoding of the input. C++ and Go are examples of languages that use this encoding natively.", +"Encoding-dependent information (such as `begin_offset`) is calculated based on the UTF-16 encoding of the input. Java and JavaScript are examples of languages that use this encoding natively.", +"Encoding-dependent information (such as `begin_offset`) is calculated based on the UTF-32 encoding of the input. Python is an example of a language that uses this encoding natively." +], +"type": "string" +} +}, +"type": "object" +}, +"AnalyzeEntitySentimentResponse": { +"description": "The entity-level sentiment analysis response message.", +"id": "AnalyzeEntitySentimentResponse", +"properties": { +"entities": { +"description": "The recognized entities in the input document with associated sentiments.", +"items": { +"$ref": "Entity" +}, +"type": "array" +}, +"language": { +"description": "The language of the text, which will be the same as the language specified in the request or, if not specified, the automatically-detected language. See Document.language field for more details.", +"type": "string" +} +}, +"type": "object" +}, +"AnalyzeSentimentRequest": { +"description": "The sentiment analysis request message.", +"id": "AnalyzeSentimentRequest", +"properties": { +"document": { +"$ref": "Document", +"description": "Required. Input document." +}, +"encodingType": { +"description": "The encoding type used by the API to calculate sentence offsets for the sentence sentiment.", +"enum": [ +"NONE", +"UTF8", +"UTF16", +"UTF32" +], +"enumDescriptions": [ +"If `EncodingType` is not specified, encoding-dependent information (such as `begin_offset`) will be set at `-1`.", +"Encoding-dependent information (such as `begin_offset`) is calculated based on the UTF-8 encoding of the input. C++ and Go are examples of languages that use this encoding natively.", +"Encoding-dependent information (such as `begin_offset`) is calculated based on the UTF-16 encoding of the input. Java and JavaScript are examples of languages that use this encoding natively.", +"Encoding-dependent information (such as `begin_offset`) is calculated based on the UTF-32 encoding of the input. Python is an example of a language that uses this encoding natively." +], +"type": "string" +} +}, +"type": "object" +}, +"AnalyzeSentimentResponse": { +"description": "The sentiment analysis response message.", +"id": "AnalyzeSentimentResponse", +"properties": { +"documentSentiment": { +"$ref": "Sentiment", +"description": "The overall sentiment of the input document." +}, +"language": { +"description": "The language of the text, which will be the same as the language specified in the request or, if not specified, the automatically-detected language. See Document.language field for more details.", +"type": "string" +}, +"sentences": { +"description": "The sentiment for all the sentences in the document.", +"items": { +"$ref": "Sentence" +}, +"type": "array" +} +}, +"type": "object" +}, +"AnalyzeSyntaxRequest": { +"description": "The syntax analysis request message.", +"id": "AnalyzeSyntaxRequest", +"properties": { +"document": { +"$ref": "Document", +"description": "Required. Input document." +}, +"encodingType": { +"description": "The encoding type used by the API to calculate offsets.", +"enum": [ +"NONE", +"UTF8", +"UTF16", +"UTF32" +], +"enumDescriptions": [ +"If `EncodingType` is not specified, encoding-dependent information (such as `begin_offset`) will be set at `-1`.", +"Encoding-dependent information (such as `begin_offset`) is calculated based on the UTF-8 encoding of the input. C++ and Go are examples of languages that use this encoding natively.", +"Encoding-dependent information (such as `begin_offset`) is calculated based on the UTF-16 encoding of the input. Java and JavaScript are examples of languages that use this encoding natively.", +"Encoding-dependent information (such as `begin_offset`) is calculated based on the UTF-32 encoding of the input. Python is an example of a language that uses this encoding natively." +], +"type": "string" +} +}, +"type": "object" +}, +"AnalyzeSyntaxResponse": { +"description": "The syntax analysis response message.", +"id": "AnalyzeSyntaxResponse", +"properties": { +"language": { +"description": "The language of the text, which will be the same as the language specified in the request or, if not specified, the automatically-detected language. See Document.language field for more details.", +"type": "string" +}, +"sentences": { +"description": "Sentences in the input document.", +"items": { +"$ref": "Sentence" +}, +"type": "array" +}, +"tokens": { +"description": "Tokens, along with their syntactic information, in the input document.", +"items": { +"$ref": "Token" +}, +"type": "array" +} +}, +"type": "object" +}, +"AnnotateTextRequest": { +"description": "The request message for the text annotation API, which can perform multiple analysis types (sentiment, entities, and syntax) in one call.", +"id": "AnnotateTextRequest", +"properties": { +"document": { +"$ref": "Document", +"description": "Required. Input document." +}, +"encodingType": { +"description": "The encoding type used by the API to calculate offsets.", +"enum": [ +"NONE", +"UTF8", +"UTF16", +"UTF32" +], +"enumDescriptions": [ +"If `EncodingType` is not specified, encoding-dependent information (such as `begin_offset`) will be set at `-1`.", +"Encoding-dependent information (such as `begin_offset`) is calculated based on the UTF-8 encoding of the input. C++ and Go are examples of languages that use this encoding natively.", +"Encoding-dependent information (such as `begin_offset`) is calculated based on the UTF-16 encoding of the input. Java and JavaScript are examples of languages that use this encoding natively.", +"Encoding-dependent information (such as `begin_offset`) is calculated based on the UTF-32 encoding of the input. Python is an example of a language that uses this encoding natively." +], +"type": "string" +}, +"features": { +"$ref": "AnnotateTextRequestFeatures", +"description": "Required. The enabled features." +} +}, +"type": "object" +}, +"AnnotateTextRequestFeatures": { +"description": "All available features for sentiment, syntax, and semantic analysis. Setting each one to true will enable that specific analysis for the input.", +"id": "AnnotateTextRequestFeatures", +"properties": { +"classificationModelOptions": { +"$ref": "ClassificationModelOptions", +"description": "Optional. The model options to use for classification. Defaults to v1 options if not specified. Only used if `classify_text` is set to true." +}, +"classifyText": { +"description": "Classify the full document into categories. If this is true, the API will use the default model which classifies into a [predefined taxonomy](https://cloud.google.com/natural-language/docs/categories).", +"type": "boolean" +}, +"extractDocumentSentiment": { +"description": "Extract document-level sentiment.", +"type": "boolean" +}, +"extractEntities": { +"description": "Extract entities.", +"type": "boolean" +}, +"extractEntitySentiment": { +"description": "Extract entities and their associated sentiment.", +"type": "boolean" +}, +"extractSyntax": { +"description": "Extract syntax information.", +"type": "boolean" +}, +"moderateText": { +"description": "Moderate the document for harmful and sensitive categories.", +"type": "boolean" +} +}, +"type": "object" +}, +"AnnotateTextResponse": { +"description": "The text annotations response message.", +"id": "AnnotateTextResponse", +"properties": { +"categories": { +"description": "Categories identified in the input document.", +"items": { +"$ref": "ClassificationCategory" +}, +"type": "array" +}, +"documentSentiment": { +"$ref": "Sentiment", +"description": "The overall sentiment for the document. Populated if the user enables AnnotateTextRequest.Features.extract_document_sentiment." +}, +"entities": { +"description": "Entities, along with their semantic information, in the input document. Populated if the user enables AnnotateTextRequest.Features.extract_entities.", +"items": { +"$ref": "Entity" +}, +"type": "array" +}, +"language": { +"description": "The language of the text, which will be the same as the language specified in the request or, if not specified, the automatically-detected language. See Document.language field for more details.", +"type": "string" +}, +"moderationCategories": { +"description": "Harmful and sensitive categories identified in the input document.", +"items": { +"$ref": "ClassificationCategory" +}, +"type": "array" +}, +"sentences": { +"description": "Sentences in the input document. Populated if the user enables AnnotateTextRequest.Features.extract_syntax.", +"items": { +"$ref": "Sentence" +}, +"type": "array" +}, +"tokens": { +"description": "Tokens, along with their syntactic information, in the input document. Populated if the user enables AnnotateTextRequest.Features.extract_syntax.", +"items": { +"$ref": "Token" +}, +"type": "array" +} +}, +"type": "object" +}, +"ClassificationCategory": { +"description": "Represents a category returned from the text classifier.", +"id": "ClassificationCategory", +"properties": { +"confidence": { +"description": "The classifier's confidence of the category. Number represents how certain the classifier is that this category represents the given text.", +"format": "float", +"type": "number" +}, +"name": { +"description": "The name of the category representing the document.", +"type": "string" +} +}, +"type": "object" +}, +"ClassificationModelOptions": { +"description": "Model options available for classification requests.", +"id": "ClassificationModelOptions", +"properties": { +"v1Model": { +"$ref": "ClassificationModelOptionsV1Model", +"description": "Setting this field will use the V1 model and V1 content categories version. The V1 model is a legacy model; support for this will be discontinued in the future." +}, +"v2Model": { +"$ref": "ClassificationModelOptionsV2Model", +"description": "Setting this field will use the V2 model with the appropriate content categories version. The V2 model is a better performing model." +} +}, +"type": "object" +}, +"ClassificationModelOptionsV1Model": { +"description": "Options for the V1 model.", +"id": "ClassificationModelOptionsV1Model", +"properties": {}, +"type": "object" +}, +"ClassificationModelOptionsV2Model": { +"description": "Options for the V2 model.", +"id": "ClassificationModelOptionsV2Model", +"properties": { +"contentCategoriesVersion": { +"description": "The content categories used for classification.", +"enum": [ +"CONTENT_CATEGORIES_VERSION_UNSPECIFIED", +"V1", +"V2" +], +"enumDescriptions": [ +"If `ContentCategoriesVersion` is not specified, this option will default to `V1`.", +"Legacy content categories of our initial launch in 2017.", +"Updated content categories in 2022." +], +"type": "string" +} +}, +"type": "object" +}, +"ClassifyTextRequest": { +"description": "The document classification request message.", +"id": "ClassifyTextRequest", +"properties": { +"classificationModelOptions": { +"$ref": "ClassificationModelOptions", +"description": "Optional. Model options to use for classification. Defaults to v1 options if not specified." +}, +"document": { +"$ref": "Document", +"description": "Required. Input document." +} +}, +"type": "object" +}, +"ClassifyTextResponse": { +"description": "The document classification response message.", +"id": "ClassifyTextResponse", +"properties": { +"categories": { +"description": "Categories representing the input document.", +"items": { +"$ref": "ClassificationCategory" +}, +"type": "array" +} +}, +"type": "object" +}, +"Color": { +"description": "Represents a color in the RGBA color space. This representation is designed for simplicity of conversion to and from color representations in various languages over compactness. For example, the fields of this representation can be trivially provided to the constructor of `java.awt.Color` in Java; it can also be trivially provided to UIColor's `+colorWithRed:green:blue:alpha` method in iOS; and, with just a little work, it can be easily formatted into a CSS `rgba()` string in JavaScript. This reference page doesn't have information about the absolute color space that should be used to interpret the RGB value\u2014for example, sRGB, Adobe RGB, DCI-P3, and BT.2020. By default, applications should assume the sRGB color space. When color equality needs to be decided, implementations, unless documented otherwise, treat two colors as equal if all their red, green, blue, and alpha values each differ by at most `1e-5`. Example (Java): import com.google.type.Color; // ... public static java.awt.Color fromProto(Color protocolor) { float alpha = protocolor.hasAlpha() ? protocolor.getAlpha().getValue() : 1.0; return new java.awt.Color( protocolor.getRed(), protocolor.getGreen(), protocolor.getBlue(), alpha); } public static Color toProto(java.awt.Color color) { float red = (float) color.getRed(); float green = (float) color.getGreen(); float blue = (float) color.getBlue(); float denominator = 255.0; Color.Builder resultBuilder = Color .newBuilder() .setRed(red / denominator) .setGreen(green / denominator) .setBlue(blue / denominator); int alpha = color.getAlpha(); if (alpha != 255) { result.setAlpha( FloatValue .newBuilder() .setValue(((float) alpha) / denominator) .build()); } return resultBuilder.build(); } // ... Example (iOS / Obj-C): // ... static UIColor* fromProto(Color* protocolor) { float red = [protocolor red]; float green = [protocolor green]; float blue = [protocolor blue]; FloatValue* alpha_wrapper = [protocolor alpha]; float alpha = 1.0; if (alpha_wrapper != nil) { alpha = [alpha_wrapper value]; } return [UIColor colorWithRed:red green:green blue:blue alpha:alpha]; } static Color* toProto(UIColor* color) { CGFloat red, green, blue, alpha; if (![color getRed:&red green:&green blue:&blue alpha:&alpha]) { return nil; } Color* result = [[Color alloc] init]; [result setRed:red]; [result setGreen:green]; [result setBlue:blue]; if (alpha <= 0.9999) { [result setAlpha:floatWrapperWithValue(alpha)]; } [result autorelease]; return result; } // ... Example (JavaScript): // ... var protoToCssColor = function(rgb_color) { var redFrac = rgb_color.red || 0.0; var greenFrac = rgb_color.green || 0.0; var blueFrac = rgb_color.blue || 0.0; var red = Math.floor(redFrac * 255); var green = Math.floor(greenFrac * 255); var blue = Math.floor(blueFrac * 255); if (!('alpha' in rgb_color)) { return rgbToCssColor(red, green, blue); } var alphaFrac = rgb_color.alpha.value || 0.0; var rgbParams = [red, green, blue].join(','); return ['rgba(', rgbParams, ',', alphaFrac, ')'].join(''); }; var rgbToCssColor = function(red, green, blue) { var rgbNumber = new Number((red << 16) | (green << 8) | blue); var hexString = rgbNumber.toString(16); var missingZeros = 6 - hexString.length; var resultBuilder = ['#']; for (var i = 0; i < missingZeros; i++) { resultBuilder.push('0'); } resultBuilder.push(hexString); return resultBuilder.join(''); }; // ...", +"id": "Color", +"properties": { +"alpha": { +"description": "The fraction of this color that should be applied to the pixel. That is, the final pixel color is defined by the equation: `pixel color = alpha * (this color) + (1.0 - alpha) * (background color)` This means that a value of 1.0 corresponds to a solid color, whereas a value of 0.0 corresponds to a completely transparent color. This uses a wrapper message rather than a simple float scalar so that it is possible to distinguish between a default value and the value being unset. If omitted, this color object is rendered as a solid color (as if the alpha value had been explicitly given a value of 1.0).", +"format": "float", +"type": "number" +}, +"blue": { +"description": "The amount of blue in the color as a value in the interval [0, 1].", +"format": "float", +"type": "number" +}, +"green": { +"description": "The amount of green in the color as a value in the interval [0, 1].", +"format": "float", +"type": "number" +}, +"red": { +"description": "The amount of red in the color as a value in the interval [0, 1].", +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"CpuMetric": { +"description": "Metric for billing reports.", +"id": "CpuMetric", +"properties": { +"coreNumber": { +"description": "Required. Number of CPU cores.", +"format": "int64", +"type": "string" +}, +"coreSec": { +"description": "Required. Total seconds of core usage, e.g. 4.", +"format": "int64", +"type": "string" +}, +"cpuType": { +"description": "Required. Type of cpu, e.g. N2.", +"enum": [ +"UNKNOWN_CPU_TYPE", +"A2", +"A3", +"A4", +"A4X", +"C2", +"C2D", +"CUSTOM", +"E2", +"G2", +"G4", +"C3", +"C4", +"C4A", +"M2", +"M1", +"N1", +"N2_CUSTOM", +"N2", +"N2D" +], +"enumDescriptions": [ +"", +"GPU-based machine, skip quota reporting.", +"GPU-based machine, skip quota reporting.", +"GPU-based machine, skip quota reporting.", +"GPU-based machine, skip quota reporting.", +"COMPUTE_OPTIMIZED", +"", +"", +"", +"GPU-based machine, skip quota reporting.", +"GPU-based machine, skip quota reporting.", +"", +"", +"", +"MEMORY_OPTIMIZED_UPGRADE_PREMIUM", +"MEMORY_OPTIMIZED", +"", +"", +"", +"" +], +"type": "string" +}, +"machineSpec": { +"description": "Required. Machine spec, e.g. N1_STANDARD_4.", +"enum": [ +"UNKNOWN_MACHINE_SPEC", +"N1_STANDARD_2", +"N1_STANDARD_4", +"N1_STANDARD_8", +"N1_STANDARD_16", +"N1_STANDARD_32", +"N1_STANDARD_64", +"N1_STANDARD_96", +"N1_HIGHMEM_2", +"N1_HIGHMEM_4", +"N1_HIGHMEM_8", +"N1_HIGHMEM_16", +"N1_HIGHMEM_32", +"N1_HIGHMEM_64", +"N1_HIGHMEM_96", +"N1_HIGHCPU_2", +"N1_HIGHCPU_4", +"N1_HIGHCPU_8", +"N1_HIGHCPU_16", +"N1_HIGHCPU_32", +"N1_HIGHCPU_64", +"N1_HIGHCPU_96", +"A2_HIGHGPU_1G", +"A2_HIGHGPU_2G", +"A2_HIGHGPU_4G", +"A2_HIGHGPU_8G", +"A2_MEGAGPU_16G", +"A2_ULTRAGPU_1G", +"A2_ULTRAGPU_2G", +"A2_ULTRAGPU_4G", +"A2_ULTRAGPU_8G", +"A3_HIGHGPU_1G", +"A3_HIGHGPU_2G", +"A3_HIGHGPU_4G", +"A3_HIGHGPU_8G", +"A3_MEGAGPU_8G", +"A3_ULTRAGPU_8G", +"A3_EDGEGPU_8G", +"A4_HIGHGPU_8G", +"A4X_HIGHGPU_4G", +"E2_STANDARD_2", +"E2_STANDARD_4", +"E2_STANDARD_8", +"E2_STANDARD_16", +"E2_STANDARD_32", +"E2_HIGHMEM_2", +"E2_HIGHMEM_4", +"E2_HIGHMEM_8", +"E2_HIGHMEM_16", +"E2_HIGHCPU_2", +"E2_HIGHCPU_4", +"E2_HIGHCPU_8", +"E2_HIGHCPU_16", +"E2_HIGHCPU_32", +"N2_STANDARD_2", +"N2_STANDARD_4", +"N2_STANDARD_8", +"N2_STANDARD_16", +"N2_STANDARD_32", +"N2_STANDARD_48", +"N2_STANDARD_64", +"N2_STANDARD_80", +"N2_STANDARD_96", +"N2_STANDARD_128", +"N2_HIGHMEM_2", +"N2_HIGHMEM_4", +"N2_HIGHMEM_8", +"N2_HIGHMEM_16", +"N2_HIGHMEM_32", +"N2_HIGHMEM_48", +"N2_HIGHMEM_64", +"N2_HIGHMEM_80", +"N2_HIGHMEM_96", +"N2_HIGHMEM_128", +"N2_HIGHCPU_2", +"N2_HIGHCPU_4", +"N2_HIGHCPU_8", +"N2_HIGHCPU_16", +"N2_HIGHCPU_32", +"N2_HIGHCPU_48", +"N2_HIGHCPU_64", +"N2_HIGHCPU_80", +"N2_HIGHCPU_96", +"N2D_STANDARD_2", +"N2D_STANDARD_4", +"N2D_STANDARD_8", +"N2D_STANDARD_16", +"N2D_STANDARD_32", +"N2D_STANDARD_48", +"N2D_STANDARD_64", +"N2D_STANDARD_80", +"N2D_STANDARD_96", +"N2D_STANDARD_128", +"N2D_STANDARD_224", +"N2D_HIGHMEM_2", +"N2D_HIGHMEM_4", +"N2D_HIGHMEM_8", +"N2D_HIGHMEM_16", +"N2D_HIGHMEM_32", +"N2D_HIGHMEM_48", +"N2D_HIGHMEM_64", +"N2D_HIGHMEM_80", +"N2D_HIGHMEM_96", +"N2D_HIGHCPU_2", +"N2D_HIGHCPU_4", +"N2D_HIGHCPU_8", +"N2D_HIGHCPU_16", +"N2D_HIGHCPU_32", +"N2D_HIGHCPU_48", +"N2D_HIGHCPU_64", +"N2D_HIGHCPU_80", +"N2D_HIGHCPU_96", +"N2D_HIGHCPU_128", +"N2D_HIGHCPU_224", +"C2_STANDARD_4", +"C2_STANDARD_8", +"C2_STANDARD_16", +"C2_STANDARD_30", +"C2_STANDARD_60", +"C2D_STANDARD_2", +"C2D_STANDARD_4", +"C2D_STANDARD_8", +"C2D_STANDARD_16", +"C2D_STANDARD_32", +"C2D_STANDARD_56", +"C2D_STANDARD_112", +"C2D_HIGHCPU_2", +"C2D_HIGHCPU_4", +"C2D_HIGHCPU_8", +"C2D_HIGHCPU_16", +"C2D_HIGHCPU_32", +"C2D_HIGHCPU_56", +"C2D_HIGHCPU_112", +"C2D_HIGHMEM_2", +"C2D_HIGHMEM_4", +"C2D_HIGHMEM_8", +"C2D_HIGHMEM_16", +"C2D_HIGHMEM_32", +"C2D_HIGHMEM_56", +"C2D_HIGHMEM_112", +"G2_STANDARD_4", +"G2_STANDARD_8", +"G2_STANDARD_12", +"G2_STANDARD_16", +"G2_STANDARD_24", +"G2_STANDARD_32", +"G2_STANDARD_48", +"G2_STANDARD_96", +"G4_STANDARD_48", +"C3_STANDARD_4", +"C3_STANDARD_8", +"C3_STANDARD_22", +"C3_STANDARD_44", +"C3_STANDARD_88", +"C3_STANDARD_176", +"C3_HIGHCPU_4", +"C3_HIGHCPU_8", +"C3_HIGHCPU_22", +"C3_HIGHCPU_44", +"C3_HIGHCPU_88", +"C3_HIGHCPU_176", +"C3_HIGHMEM_4", +"C3_HIGHMEM_8", +"C3_HIGHMEM_22", +"C3_HIGHMEM_44", +"C3_HIGHMEM_88", +"C3_HIGHMEM_176", +"C4_STANDARD_8", +"C4_STANDARD_16", +"C4_STANDARD_24", +"C4_STANDARD_32", +"C4_STANDARD_48", +"C4_STANDARD_96", +"C4_STANDARD_144", +"C4_STANDARD_192", +"C4_STANDARD_288", +"C4_HIGHCPU_8", +"C4_HIGHCPU_16", +"C4_HIGHCPU_24", +"C4_HIGHCPU_32", +"C4_HIGHCPU_48", +"C4_HIGHCPU_96", +"C4_HIGHCPU_144", +"C4_HIGHCPU_192", +"C4_HIGHCPU_288", +"C4_HIGHMEM_8", +"C4_HIGHMEM_16", +"C4_HIGHMEM_24", +"C4_HIGHMEM_32", +"C4_HIGHMEM_48", +"C4_HIGHMEM_96", +"C4_HIGHMEM_144", +"C4_HIGHMEM_192", +"C4_HIGHMEM_288", +"C4A_STANDARD_8", +"C4A_STANDARD_16", +"C4A_STANDARD_32", +"C4A_STANDARD_48", +"C4A_STANDARD_64", +"C4A_STANDARD_72", +"C4A_HIGHCPU_8", +"C4A_HIGHCPU_16", +"C4A_HIGHCPU_32", +"C4A_HIGHCPU_48", +"C4A_HIGHCPU_64", +"C4A_HIGHCPU_72", +"C4A_HIGHMEM_8", +"C4A_HIGHMEM_16", +"C4A_HIGHMEM_32", +"C4A_HIGHMEM_48", +"C4A_HIGHMEM_64", +"C4A_HIGHMEM_72" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"" +], +"type": "string" +}, +"trackingLabels": { +"additionalProperties": { +"type": "string" +}, +"description": "Billing tracking labels. They do not contain any user data but only the labels set by Vertex Core Infra itself. Tracking labels' keys are defined with special format: goog-[\\p{Ll}\\p{N}]+ E.g. \"key\": \"goog-k8s-cluster-name\",\"value\": \"us-east1-b4rk\"", +"type": "object" +} +}, +"type": "object" +}, +"DependencyEdge": { +"description": "Represents dependency parse tree information for a token.", +"id": "DependencyEdge", +"properties": { +"headTokenIndex": { +"description": "Represents the head of this token in the dependency tree. This is the index of the token which has an arc going to this token. The index is the position of the token in the array of tokens returned by the API method. If this token is a root token, then the `head_token_index` is its own index.", +"format": "int32", +"type": "integer" +}, +"label": { +"description": "The parse label for the token.", +"enum": [ +"UNKNOWN", +"ABBREV", +"ACOMP", +"ADVCL", +"ADVMOD", +"AMOD", +"APPOS", +"ATTR", +"AUX", +"AUXPASS", +"CC", +"CCOMP", +"CONJ", +"CSUBJ", +"CSUBJPASS", +"DEP", +"DET", +"DISCOURSE", +"DOBJ", +"EXPL", +"GOESWITH", +"IOBJ", +"MARK", +"MWE", +"MWV", +"NEG", +"NN", +"NPADVMOD", +"NSUBJ", +"NSUBJPASS", +"NUM", +"NUMBER", +"P", +"PARATAXIS", +"PARTMOD", +"PCOMP", +"POBJ", +"POSS", +"POSTNEG", +"PRECOMP", +"PRECONJ", +"PREDET", +"PREF", +"PREP", +"PRONL", +"PRT", +"PS", +"QUANTMOD", +"RCMOD", +"RCMODREL", +"RDROP", +"REF", +"REMNANT", +"REPARANDUM", +"ROOT", +"SNUM", +"SUFF", +"TMOD", +"TOPIC", +"VMOD", +"VOCATIVE", +"XCOMP", +"SUFFIX", +"TITLE", +"ADVPHMOD", +"AUXCAUS", +"AUXVV", +"DTMOD", +"FOREIGN", +"KW", +"LIST", +"NOMC", +"NOMCSUBJ", +"NOMCSUBJPASS", +"NUMC", +"COP", +"DISLOCATED", +"ASP", +"GMOD", +"GOBJ", +"INFMOD", +"MES", +"NCOMP" +], +"enumDescriptions": [ +"Unknown", +"Abbreviation modifier", +"Adjectival complement", +"Adverbial clause modifier", +"Adverbial modifier", +"Adjectival modifier of an NP", +"Appositional modifier of an NP", +"Attribute dependent of a copular verb", +"Auxiliary (non-main) verb", +"Passive auxiliary", +"Coordinating conjunction", +"Clausal complement of a verb or adjective", +"Conjunct", +"Clausal subject", +"Clausal passive subject", +"Dependency (unable to determine)", +"Determiner", +"Discourse", +"Direct object", +"Expletive", +"Goes with (part of a word in a text not well edited)", +"Indirect object", +"Marker (word introducing a subordinate clause)", +"Multi-word expression", +"Multi-word verbal expression", +"Negation modifier", +"Noun compound modifier", +"Noun phrase used as an adverbial modifier", +"Nominal subject", +"Passive nominal subject", +"Numeric modifier of a noun", +"Element of compound number", +"Punctuation mark", +"Parataxis relation", +"Participial modifier", +"The complement of a preposition is a clause", +"Object of a preposition", +"Possession modifier", +"Postverbal negative particle", +"Predicate complement", +"Preconjunt", +"Predeterminer", +"Prefix", +"Prepositional modifier", +"The relationship between a verb and verbal morpheme", +"Particle", +"Associative or possessive marker", +"Quantifier phrase modifier", +"Relative clause modifier", +"Complementizer in relative clause", +"Ellipsis without a preceding predicate", +"Referent", +"Remnant", +"Reparandum", +"Root", +"Suffix specifying a unit of number", +"Suffix", +"Temporal modifier", +"Topic marker", +"Clause headed by an infinite form of the verb that modifies a noun", +"Vocative", +"Open clausal complement", +"Name suffix", +"Name title", +"Adverbial phrase modifier", +"Causative auxiliary", +"Helper auxiliary", +"Rentaishi (Prenominal modifier)", +"Foreign words", +"Keyword", +"List for chains of comparable items", +"Nominalized clause", +"Nominalized clausal subject", +"Nominalized clausal passive", +"Compound of numeric modifier", +"Copula", +"Dislocated relation (for fronted/topicalized elements)", +"Aspect marker", +"Genitive modifier", +"Genitive object", +"Infinitival modifier", +"Measure", +"Nominal complement of a noun" +], +"type": "string" +} +}, +"type": "object" +}, +"DiskMetric": { +"id": "DiskMetric", +"properties": { +"diskType": { +"description": "Required. Type of Disk, e.g. REGIONAL_SSD.", +"enum": [ +"UNKNOWN_DISK_TYPE", +"REGIONAL_SSD", +"REGIONAL_STORAGE", +"PD_SSD", +"PD_STANDARD", +"STORAGE_SNAPSHOT" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"" +], +"type": "string" +}, +"gibSec": { +"description": "Required. Seconds of physical disk usage, e.g. 3600.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"Document": { +"description": "Represents the input to API methods.", +"id": "Document", +"properties": { +"boilerplateHandling": { +"description": "Indicates how detected boilerplate(e.g. advertisements, copyright declarations, banners) should be handled for this document. If not specified, boilerplate will be treated the same as content.", +"enum": [ +"BOILERPLATE_HANDLING_UNSPECIFIED", +"SKIP_BOILERPLATE", +"KEEP_BOILERPLATE" +], +"enumDescriptions": [ +"The boilerplate handling is not specified.", +"Do not analyze detected boilerplate. Reference web URI is required for detecting boilerplate.", +"Treat boilerplate the same as content." +], +"type": "string" +}, +"content": { +"description": "The content of the input in string format. Cloud audit logging exempt since it is based on user data.", +"type": "string" +}, +"gcsContentUri": { +"description": "The Google Cloud Storage URI where the file content is located. This URI must be of the form: gs://bucket_name/object_name. For more details, see https://cloud.google.com/storage/docs/reference-uris. NOTE: Cloud Storage object versioning is not supported.", +"type": "string" +}, +"language": { +"description": "The language of the document (if not specified, the language is automatically detected). Both ISO and BCP-47 language codes are accepted. [Language Support](https://cloud.google.com/natural-language/docs/languages) lists currently supported languages for each API method. If the language (either specified by the caller or automatically detected) is not supported by the called API method, an `INVALID_ARGUMENT` error is returned.", +"type": "string" +}, +"referenceWebUri": { +"description": "The web URI where the document comes from. This URI is not used for fetching the content, but as a hint for analyzing the document.", +"type": "string" +}, +"type": { +"description": "Required. If the type is not set or is `TYPE_UNSPECIFIED`, returns an `INVALID_ARGUMENT` error.", +"enum": [ +"TYPE_UNSPECIFIED", +"PLAIN_TEXT", +"HTML" +], +"enumDescriptions": [ +"The content type is not specified.", +"Plain text", +"HTML" +], +"type": "string" +} +}, +"type": "object" +}, +"Entity": { +"description": "Represents a phrase in the text that is a known entity, such as a person, an organization, or location. The API associates information, such as salience and mentions, with entities.", +"id": "Entity", +"properties": { +"mentions": { +"description": "The mentions of this entity in the input document. The API currently supports proper noun mentions.", +"items": { +"$ref": "EntityMention" +}, +"type": "array" +}, +"metadata": { +"additionalProperties": { +"type": "string" +}, +"description": "Metadata associated with the entity. For most entity types, the metadata is a Wikipedia URL (`wikipedia_url`) and Knowledge Graph MID (`mid`), if they are available. For the metadata associated with other entity types, see the Type table below.", +"type": "object" +}, +"name": { +"description": "The representative name for the entity.", +"type": "string" +}, +"salience": { +"description": "The salience score associated with the entity in the [0, 1.0] range. The salience score for an entity provides information about the importance or centrality of that entity to the entire document text. Scores closer to 0 are less salient, while scores closer to 1.0 are highly salient.", +"format": "float", +"type": "number" +}, +"sentiment": { +"$ref": "Sentiment", +"description": "For calls to AnalyzeEntitySentiment or if AnnotateTextRequest.Features.extract_entity_sentiment is set to true, this field will contain the aggregate sentiment expressed for this entity in the provided document." +}, +"type": { +"description": "The entity type.", +"enum": [ +"UNKNOWN", +"PERSON", +"LOCATION", +"ORGANIZATION", +"EVENT", +"WORK_OF_ART", +"CONSUMER_GOOD", +"OTHER", +"PHONE_NUMBER", +"ADDRESS", +"DATE", +"NUMBER", +"PRICE" +], +"enumDescriptions": [ +"Unknown", +"Person", +"Location", +"Organization", +"Event", +"Artwork", +"Consumer product", +"Other types of entities", +"Phone number The metadata lists the phone number, formatted according to local convention, plus whichever additional elements appear in the text: * `number` - the actual number, broken down into sections as per local convention * `national_prefix` - country code, if detected * `area_code` - region or area code, if detected * `extension` - phone extension (to be dialed after connection), if detected", +"Address The metadata identifies the street number and locality plus whichever additional elements appear in the text: * `street_number` - street number * `locality` - city or town * `street_name` - street/route name, if detected * `postal_code` - postal code, if detected * `country` - country, if detected< * `broad_region` - administrative area, such as the state, if detected * `narrow_region` - smaller administrative area, such as county, if detected * `sublocality` - used in Asian addresses to demark a district within a city, if detected", +"Date The metadata identifies the components of the date: * `year` - four digit year, if detected * `month` - two digit month number, if detected * `day` - two digit day number, if detected", +"Number The metadata is the number itself.", +"Price The metadata identifies the `value` and `currency`." +], +"type": "string" +} +}, +"type": "object" +}, +"EntityMention": { +"description": "Represents a mention for an entity in the text. Currently, proper noun mentions are supported.", +"id": "EntityMention", +"properties": { +"sentiment": { +"$ref": "Sentiment", +"description": "For calls to AnalyzeEntitySentiment or if AnnotateTextRequest.Features.extract_entity_sentiment is set to true, this field will contain the sentiment expressed for this mention of the entity in the provided document." +}, +"text": { +"$ref": "TextSpan", +"description": "The mention text." +}, +"type": { +"description": "The type of the entity mention.", +"enum": [ +"TYPE_UNKNOWN", +"PROPER", +"COMMON" +], +"enumDescriptions": [ +"Unknown", +"Proper name", +"Common noun (or noun compound)" +], +"type": "string" +} +}, +"type": "object" +}, +"GpuMetric": { +"id": "GpuMetric", +"properties": { +"gpuSec": { +"description": "Required. Seconds of GPU usage, e.g. 3600.", +"format": "int64", +"type": "string" +}, +"gpuType": { +"description": "Required. Type of GPU, e.g. NVIDIA_TESLA_V100.", +"enum": [ +"UNKNOWN_GPU_TYPE", +"NVIDIA_TESLA_A100", +"NVIDIA_A100_80GB", +"NVIDIA_B200", +"NVIDIA_GB200", +"NVIDIA_TESLA_K80", +"NVIDIA_L4", +"NVIDIA_TESLA_P100", +"NVIDIA_TESLA_P4", +"NVIDIA_TESLA_T4", +"NVIDIA_TESLA_V100", +"NVIDIA_H100_80GB", +"NVIDIA_H100_MEGA_80GB", +"NVIDIA_H200_141GB", +"NVIDIA_RTX_PRO_6000" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"" +], +"type": "string" +}, +"machineSpec": { +"description": "Required. Machine spec, e.g. N1_STANDARD_4.", +"enum": [ +"UNKNOWN_MACHINE_SPEC", +"N1_STANDARD_2", +"N1_STANDARD_4", +"N1_STANDARD_8", +"N1_STANDARD_16", +"N1_STANDARD_32", +"N1_STANDARD_64", +"N1_STANDARD_96", +"N1_HIGHMEM_2", +"N1_HIGHMEM_4", +"N1_HIGHMEM_8", +"N1_HIGHMEM_16", +"N1_HIGHMEM_32", +"N1_HIGHMEM_64", +"N1_HIGHMEM_96", +"N1_HIGHCPU_2", +"N1_HIGHCPU_4", +"N1_HIGHCPU_8", +"N1_HIGHCPU_16", +"N1_HIGHCPU_32", +"N1_HIGHCPU_64", +"N1_HIGHCPU_96", +"A2_HIGHGPU_1G", +"A2_HIGHGPU_2G", +"A2_HIGHGPU_4G", +"A2_HIGHGPU_8G", +"A2_MEGAGPU_16G", +"A2_ULTRAGPU_1G", +"A2_ULTRAGPU_2G", +"A2_ULTRAGPU_4G", +"A2_ULTRAGPU_8G", +"A3_HIGHGPU_1G", +"A3_HIGHGPU_2G", +"A3_HIGHGPU_4G", +"A3_HIGHGPU_8G", +"A3_MEGAGPU_8G", +"A3_ULTRAGPU_8G", +"A3_EDGEGPU_8G", +"A4_HIGHGPU_8G", +"A4X_HIGHGPU_4G", +"E2_STANDARD_2", +"E2_STANDARD_4", +"E2_STANDARD_8", +"E2_STANDARD_16", +"E2_STANDARD_32", +"E2_HIGHMEM_2", +"E2_HIGHMEM_4", +"E2_HIGHMEM_8", +"E2_HIGHMEM_16", +"E2_HIGHCPU_2", +"E2_HIGHCPU_4", +"E2_HIGHCPU_8", +"E2_HIGHCPU_16", +"E2_HIGHCPU_32", +"N2_STANDARD_2", +"N2_STANDARD_4", +"N2_STANDARD_8", +"N2_STANDARD_16", +"N2_STANDARD_32", +"N2_STANDARD_48", +"N2_STANDARD_64", +"N2_STANDARD_80", +"N2_STANDARD_96", +"N2_STANDARD_128", +"N2_HIGHMEM_2", +"N2_HIGHMEM_4", +"N2_HIGHMEM_8", +"N2_HIGHMEM_16", +"N2_HIGHMEM_32", +"N2_HIGHMEM_48", +"N2_HIGHMEM_64", +"N2_HIGHMEM_80", +"N2_HIGHMEM_96", +"N2_HIGHMEM_128", +"N2_HIGHCPU_2", +"N2_HIGHCPU_4", +"N2_HIGHCPU_8", +"N2_HIGHCPU_16", +"N2_HIGHCPU_32", +"N2_HIGHCPU_48", +"N2_HIGHCPU_64", +"N2_HIGHCPU_80", +"N2_HIGHCPU_96", +"N2D_STANDARD_2", +"N2D_STANDARD_4", +"N2D_STANDARD_8", +"N2D_STANDARD_16", +"N2D_STANDARD_32", +"N2D_STANDARD_48", +"N2D_STANDARD_64", +"N2D_STANDARD_80", +"N2D_STANDARD_96", +"N2D_STANDARD_128", +"N2D_STANDARD_224", +"N2D_HIGHMEM_2", +"N2D_HIGHMEM_4", +"N2D_HIGHMEM_8", +"N2D_HIGHMEM_16", +"N2D_HIGHMEM_32", +"N2D_HIGHMEM_48", +"N2D_HIGHMEM_64", +"N2D_HIGHMEM_80", +"N2D_HIGHMEM_96", +"N2D_HIGHCPU_2", +"N2D_HIGHCPU_4", +"N2D_HIGHCPU_8", +"N2D_HIGHCPU_16", +"N2D_HIGHCPU_32", +"N2D_HIGHCPU_48", +"N2D_HIGHCPU_64", +"N2D_HIGHCPU_80", +"N2D_HIGHCPU_96", +"N2D_HIGHCPU_128", +"N2D_HIGHCPU_224", +"C2_STANDARD_4", +"C2_STANDARD_8", +"C2_STANDARD_16", +"C2_STANDARD_30", +"C2_STANDARD_60", +"C2D_STANDARD_2", +"C2D_STANDARD_4", +"C2D_STANDARD_8", +"C2D_STANDARD_16", +"C2D_STANDARD_32", +"C2D_STANDARD_56", +"C2D_STANDARD_112", +"C2D_HIGHCPU_2", +"C2D_HIGHCPU_4", +"C2D_HIGHCPU_8", +"C2D_HIGHCPU_16", +"C2D_HIGHCPU_32", +"C2D_HIGHCPU_56", +"C2D_HIGHCPU_112", +"C2D_HIGHMEM_2", +"C2D_HIGHMEM_4", +"C2D_HIGHMEM_8", +"C2D_HIGHMEM_16", +"C2D_HIGHMEM_32", +"C2D_HIGHMEM_56", +"C2D_HIGHMEM_112", +"G2_STANDARD_4", +"G2_STANDARD_8", +"G2_STANDARD_12", +"G2_STANDARD_16", +"G2_STANDARD_24", +"G2_STANDARD_32", +"G2_STANDARD_48", +"G2_STANDARD_96", +"G4_STANDARD_48", +"C3_STANDARD_4", +"C3_STANDARD_8", +"C3_STANDARD_22", +"C3_STANDARD_44", +"C3_STANDARD_88", +"C3_STANDARD_176", +"C3_HIGHCPU_4", +"C3_HIGHCPU_8", +"C3_HIGHCPU_22", +"C3_HIGHCPU_44", +"C3_HIGHCPU_88", +"C3_HIGHCPU_176", +"C3_HIGHMEM_4", +"C3_HIGHMEM_8", +"C3_HIGHMEM_22", +"C3_HIGHMEM_44", +"C3_HIGHMEM_88", +"C3_HIGHMEM_176", +"C4_STANDARD_8", +"C4_STANDARD_16", +"C4_STANDARD_24", +"C4_STANDARD_32", +"C4_STANDARD_48", +"C4_STANDARD_96", +"C4_STANDARD_144", +"C4_STANDARD_192", +"C4_STANDARD_288", +"C4_HIGHCPU_8", +"C4_HIGHCPU_16", +"C4_HIGHCPU_24", +"C4_HIGHCPU_32", +"C4_HIGHCPU_48", +"C4_HIGHCPU_96", +"C4_HIGHCPU_144", +"C4_HIGHCPU_192", +"C4_HIGHCPU_288", +"C4_HIGHMEM_8", +"C4_HIGHMEM_16", +"C4_HIGHMEM_24", +"C4_HIGHMEM_32", +"C4_HIGHMEM_48", +"C4_HIGHMEM_96", +"C4_HIGHMEM_144", +"C4_HIGHMEM_192", +"C4_HIGHMEM_288", +"C4A_STANDARD_8", +"C4A_STANDARD_16", +"C4A_STANDARD_32", +"C4A_STANDARD_48", +"C4A_STANDARD_64", +"C4A_STANDARD_72", +"C4A_HIGHCPU_8", +"C4A_HIGHCPU_16", +"C4A_HIGHCPU_32", +"C4A_HIGHCPU_48", +"C4A_HIGHCPU_64", +"C4A_HIGHCPU_72", +"C4A_HIGHMEM_8", +"C4A_HIGHMEM_16", +"C4A_HIGHMEM_32", +"C4A_HIGHMEM_48", +"C4A_HIGHMEM_64", +"C4A_HIGHMEM_72" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"" +], +"type": "string" +}, +"trackingLabels": { +"additionalProperties": { +"type": "string" +}, +"description": "Billing tracking labels. They do not contain any user data but only the labels set by Vertex Core Infra itself. Tracking labels' keys are defined with special format: goog-[\\p{Ll}\\p{N}]+ E.g. \"key\": \"goog-k8s-cluster-name\",\"value\": \"us-east1-b4rk\"", +"type": "object" +} +}, +"type": "object" +}, +"InfraUsage": { +"description": "LINT: LEGACY_NAMES Infra Usage of billing metrics.", +"id": "InfraUsage", +"properties": { +"cpuMetrics": { +"description": "Aggregated core metrics since requested start_time.", +"items": { +"$ref": "CpuMetric" +}, +"type": "array" +}, +"diskMetrics": { +"description": "Aggregated persistent disk metrics since requested start_time.", +"items": { +"$ref": "DiskMetric" +}, +"type": "array" +}, +"gpuMetrics": { +"description": "Aggregated gpu metrics since requested start_time.", +"items": { +"$ref": "GpuMetric" +}, +"type": "array" +}, +"ramMetrics": { +"description": "Aggregated ram metrics since requested start_time.", +"items": { +"$ref": "RamMetric" +}, +"type": "array" +}, +"tpuMetrics": { +"description": "Aggregated tpu metrics since requested start_time.", +"items": { +"$ref": "TpuMetric" +}, +"type": "array" +} +}, +"type": "object" +}, +"ModerateTextRequest": { +"description": "The document moderation request message.", +"id": "ModerateTextRequest", +"properties": { +"document": { +"$ref": "Document", +"description": "Required. Input document." +} +}, +"type": "object" +}, +"ModerateTextResponse": { +"description": "The document moderation response message.", +"id": "ModerateTextResponse", +"properties": { +"moderationCategories": { +"description": "Harmful and sensitive categories representing the input document.", +"items": { +"$ref": "ClassificationCategory" +}, +"type": "array" +} +}, +"type": "object" +}, +"PartOfSpeech": { +"description": "Represents part of speech information for a token.", +"id": "PartOfSpeech", +"properties": { +"aspect": { +"description": "The grammatical aspect.", +"enum": [ +"ASPECT_UNKNOWN", +"PERFECTIVE", +"IMPERFECTIVE", +"PROGRESSIVE" +], +"enumDescriptions": [ +"Aspect is not applicable in the analyzed language or is not predicted.", +"Perfective", +"Imperfective", +"Progressive" +], +"type": "string" +}, +"case": { +"description": "The grammatical case.", +"enum": [ +"CASE_UNKNOWN", +"ACCUSATIVE", +"ADVERBIAL", +"COMPLEMENTIVE", +"DATIVE", +"GENITIVE", +"INSTRUMENTAL", +"LOCATIVE", +"NOMINATIVE", +"OBLIQUE", +"PARTITIVE", +"PREPOSITIONAL", +"REFLEXIVE_CASE", +"RELATIVE_CASE", +"VOCATIVE" +], +"enumDescriptions": [ +"Case is not applicable in the analyzed language or is not predicted.", +"Accusative", +"Adverbial", +"Complementive", +"Dative", +"Genitive", +"Instrumental", +"Locative", +"Nominative", +"Oblique", +"Partitive", +"Prepositional", +"Reflexive", +"Relative", +"Vocative" +], +"type": "string" +}, +"form": { +"description": "The grammatical form.", +"enum": [ +"FORM_UNKNOWN", +"ADNOMIAL", +"AUXILIARY", +"COMPLEMENTIZER", +"FINAL_ENDING", +"GERUND", +"REALIS", +"IRREALIS", +"SHORT", +"LONG", +"ORDER", +"SPECIFIC" +], +"enumDescriptions": [ +"Form is not applicable in the analyzed language or is not predicted.", +"Adnomial", +"Auxiliary", +"Complementizer", +"Final ending", +"Gerund", +"Realis", +"Irrealis", +"Short form", +"Long form", +"Order form", +"Specific form" +], +"type": "string" +}, +"gender": { +"description": "The grammatical gender.", +"enum": [ +"GENDER_UNKNOWN", +"FEMININE", +"MASCULINE", +"NEUTER" +], +"enumDescriptions": [ +"Gender is not applicable in the analyzed language or is not predicted.", +"Feminine", +"Masculine", +"Neuter" +], +"type": "string" +}, +"mood": { +"description": "The grammatical mood.", +"enum": [ +"MOOD_UNKNOWN", +"CONDITIONAL_MOOD", +"IMPERATIVE", +"INDICATIVE", +"INTERROGATIVE", +"JUSSIVE", +"SUBJUNCTIVE" +], +"enumDescriptions": [ +"Mood is not applicable in the analyzed language or is not predicted.", +"Conditional", +"Imperative", +"Indicative", +"Interrogative", +"Jussive", +"Subjunctive" +], +"type": "string" +}, +"number": { +"description": "The grammatical number.", +"enum": [ +"NUMBER_UNKNOWN", +"SINGULAR", +"PLURAL", +"DUAL" +], +"enumDescriptions": [ +"Number is not applicable in the analyzed language or is not predicted.", +"Singular", +"Plural", +"Dual" +], +"type": "string" +}, +"person": { +"description": "The grammatical person.", +"enum": [ +"PERSON_UNKNOWN", +"FIRST", +"SECOND", +"THIRD", +"REFLEXIVE_PERSON" +], +"enumDescriptions": [ +"Person is not applicable in the analyzed language or is not predicted.", +"First", +"Second", +"Third", +"Reflexive" +], +"type": "string" +}, +"proper": { +"description": "The grammatical properness.", +"enum": [ +"PROPER_UNKNOWN", +"PROPER", +"NOT_PROPER" +], +"enumDescriptions": [ +"Proper is not applicable in the analyzed language or is not predicted.", +"Proper", +"Not proper" +], +"type": "string" +}, +"reciprocity": { +"description": "The grammatical reciprocity.", +"enum": [ +"RECIPROCITY_UNKNOWN", +"RECIPROCAL", +"NON_RECIPROCAL" +], +"enumDescriptions": [ +"Reciprocity is not applicable in the analyzed language or is not predicted.", +"Reciprocal", +"Non-reciprocal" +], +"type": "string" +}, +"tag": { +"description": "The part of speech tag.", +"enum": [ +"UNKNOWN", +"ADJ", +"ADP", +"ADV", +"CONJ", +"DET", +"NOUN", +"NUM", +"PRON", +"PRT", +"PUNCT", +"VERB", +"X", +"AFFIX" +], +"enumDescriptions": [ +"Unknown", +"Adjective", +"Adposition (preposition and postposition)", +"Adverb", +"Conjunction", +"Determiner", +"Noun (common and proper)", +"Cardinal number", +"Pronoun", +"Particle or other function word", +"Punctuation", +"Verb (all tenses and modes)", +"Other: foreign words, typos, abbreviations", +"Affix" +], +"type": "string" +}, +"tense": { +"description": "The grammatical tense.", +"enum": [ +"TENSE_UNKNOWN", +"CONDITIONAL_TENSE", +"FUTURE", +"PAST", +"PRESENT", +"IMPERFECT", +"PLUPERFECT" +], +"enumDescriptions": [ +"Tense is not applicable in the analyzed language or is not predicted.", +"Conditional", +"Future", +"Past", +"Present", +"Imperfect", +"Pluperfect" +], +"type": "string" +}, +"voice": { +"description": "The grammatical voice.", +"enum": [ +"VOICE_UNKNOWN", +"ACTIVE", +"CAUSATIVE", +"PASSIVE" +], +"enumDescriptions": [ +"Voice is not applicable in the analyzed language or is not predicted.", +"Active", +"Causative", +"Passive" +], +"type": "string" +} +}, +"type": "object" +}, +"RamMetric": { +"id": "RamMetric", +"properties": { +"gibSec": { +"description": "Required. VM memory in Gigabyte second, e.g. 3600. Using int64 type to match billing metrics definition.", +"format": "int64", +"type": "string" +}, +"machineSpec": { +"description": "Required. Machine spec, e.g. N1_STANDARD_4.", +"enum": [ +"UNKNOWN_MACHINE_SPEC", +"N1_STANDARD_2", +"N1_STANDARD_4", +"N1_STANDARD_8", +"N1_STANDARD_16", +"N1_STANDARD_32", +"N1_STANDARD_64", +"N1_STANDARD_96", +"N1_HIGHMEM_2", +"N1_HIGHMEM_4", +"N1_HIGHMEM_8", +"N1_HIGHMEM_16", +"N1_HIGHMEM_32", +"N1_HIGHMEM_64", +"N1_HIGHMEM_96", +"N1_HIGHCPU_2", +"N1_HIGHCPU_4", +"N1_HIGHCPU_8", +"N1_HIGHCPU_16", +"N1_HIGHCPU_32", +"N1_HIGHCPU_64", +"N1_HIGHCPU_96", +"A2_HIGHGPU_1G", +"A2_HIGHGPU_2G", +"A2_HIGHGPU_4G", +"A2_HIGHGPU_8G", +"A2_MEGAGPU_16G", +"A2_ULTRAGPU_1G", +"A2_ULTRAGPU_2G", +"A2_ULTRAGPU_4G", +"A2_ULTRAGPU_8G", +"A3_HIGHGPU_1G", +"A3_HIGHGPU_2G", +"A3_HIGHGPU_4G", +"A3_HIGHGPU_8G", +"A3_MEGAGPU_8G", +"A3_ULTRAGPU_8G", +"A3_EDGEGPU_8G", +"A4_HIGHGPU_8G", +"A4X_HIGHGPU_4G", +"E2_STANDARD_2", +"E2_STANDARD_4", +"E2_STANDARD_8", +"E2_STANDARD_16", +"E2_STANDARD_32", +"E2_HIGHMEM_2", +"E2_HIGHMEM_4", +"E2_HIGHMEM_8", +"E2_HIGHMEM_16", +"E2_HIGHCPU_2", +"E2_HIGHCPU_4", +"E2_HIGHCPU_8", +"E2_HIGHCPU_16", +"E2_HIGHCPU_32", +"N2_STANDARD_2", +"N2_STANDARD_4", +"N2_STANDARD_8", +"N2_STANDARD_16", +"N2_STANDARD_32", +"N2_STANDARD_48", +"N2_STANDARD_64", +"N2_STANDARD_80", +"N2_STANDARD_96", +"N2_STANDARD_128", +"N2_HIGHMEM_2", +"N2_HIGHMEM_4", +"N2_HIGHMEM_8", +"N2_HIGHMEM_16", +"N2_HIGHMEM_32", +"N2_HIGHMEM_48", +"N2_HIGHMEM_64", +"N2_HIGHMEM_80", +"N2_HIGHMEM_96", +"N2_HIGHMEM_128", +"N2_HIGHCPU_2", +"N2_HIGHCPU_4", +"N2_HIGHCPU_8", +"N2_HIGHCPU_16", +"N2_HIGHCPU_32", +"N2_HIGHCPU_48", +"N2_HIGHCPU_64", +"N2_HIGHCPU_80", +"N2_HIGHCPU_96", +"N2D_STANDARD_2", +"N2D_STANDARD_4", +"N2D_STANDARD_8", +"N2D_STANDARD_16", +"N2D_STANDARD_32", +"N2D_STANDARD_48", +"N2D_STANDARD_64", +"N2D_STANDARD_80", +"N2D_STANDARD_96", +"N2D_STANDARD_128", +"N2D_STANDARD_224", +"N2D_HIGHMEM_2", +"N2D_HIGHMEM_4", +"N2D_HIGHMEM_8", +"N2D_HIGHMEM_16", +"N2D_HIGHMEM_32", +"N2D_HIGHMEM_48", +"N2D_HIGHMEM_64", +"N2D_HIGHMEM_80", +"N2D_HIGHMEM_96", +"N2D_HIGHCPU_2", +"N2D_HIGHCPU_4", +"N2D_HIGHCPU_8", +"N2D_HIGHCPU_16", +"N2D_HIGHCPU_32", +"N2D_HIGHCPU_48", +"N2D_HIGHCPU_64", +"N2D_HIGHCPU_80", +"N2D_HIGHCPU_96", +"N2D_HIGHCPU_128", +"N2D_HIGHCPU_224", +"C2_STANDARD_4", +"C2_STANDARD_8", +"C2_STANDARD_16", +"C2_STANDARD_30", +"C2_STANDARD_60", +"C2D_STANDARD_2", +"C2D_STANDARD_4", +"C2D_STANDARD_8", +"C2D_STANDARD_16", +"C2D_STANDARD_32", +"C2D_STANDARD_56", +"C2D_STANDARD_112", +"C2D_HIGHCPU_2", +"C2D_HIGHCPU_4", +"C2D_HIGHCPU_8", +"C2D_HIGHCPU_16", +"C2D_HIGHCPU_32", +"C2D_HIGHCPU_56", +"C2D_HIGHCPU_112", +"C2D_HIGHMEM_2", +"C2D_HIGHMEM_4", +"C2D_HIGHMEM_8", +"C2D_HIGHMEM_16", +"C2D_HIGHMEM_32", +"C2D_HIGHMEM_56", +"C2D_HIGHMEM_112", +"G2_STANDARD_4", +"G2_STANDARD_8", +"G2_STANDARD_12", +"G2_STANDARD_16", +"G2_STANDARD_24", +"G2_STANDARD_32", +"G2_STANDARD_48", +"G2_STANDARD_96", +"G4_STANDARD_48", +"C3_STANDARD_4", +"C3_STANDARD_8", +"C3_STANDARD_22", +"C3_STANDARD_44", +"C3_STANDARD_88", +"C3_STANDARD_176", +"C3_HIGHCPU_4", +"C3_HIGHCPU_8", +"C3_HIGHCPU_22", +"C3_HIGHCPU_44", +"C3_HIGHCPU_88", +"C3_HIGHCPU_176", +"C3_HIGHMEM_4", +"C3_HIGHMEM_8", +"C3_HIGHMEM_22", +"C3_HIGHMEM_44", +"C3_HIGHMEM_88", +"C3_HIGHMEM_176", +"C4_STANDARD_8", +"C4_STANDARD_16", +"C4_STANDARD_24", +"C4_STANDARD_32", +"C4_STANDARD_48", +"C4_STANDARD_96", +"C4_STANDARD_144", +"C4_STANDARD_192", +"C4_STANDARD_288", +"C4_HIGHCPU_8", +"C4_HIGHCPU_16", +"C4_HIGHCPU_24", +"C4_HIGHCPU_32", +"C4_HIGHCPU_48", +"C4_HIGHCPU_96", +"C4_HIGHCPU_144", +"C4_HIGHCPU_192", +"C4_HIGHCPU_288", +"C4_HIGHMEM_8", +"C4_HIGHMEM_16", +"C4_HIGHMEM_24", +"C4_HIGHMEM_32", +"C4_HIGHMEM_48", +"C4_HIGHMEM_96", +"C4_HIGHMEM_144", +"C4_HIGHMEM_192", +"C4_HIGHMEM_288", +"C4A_STANDARD_8", +"C4A_STANDARD_16", +"C4A_STANDARD_32", +"C4A_STANDARD_48", +"C4A_STANDARD_64", +"C4A_STANDARD_72", +"C4A_HIGHCPU_8", +"C4A_HIGHCPU_16", +"C4A_HIGHCPU_32", +"C4A_HIGHCPU_48", +"C4A_HIGHCPU_64", +"C4A_HIGHCPU_72", +"C4A_HIGHMEM_8", +"C4A_HIGHMEM_16", +"C4A_HIGHMEM_32", +"C4A_HIGHMEM_48", +"C4A_HIGHMEM_64", +"C4A_HIGHMEM_72" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"" +], +"type": "string" +}, +"memories": { +"description": "Required. VM memory in gb.", +"format": "double", +"type": "number" +}, +"ramType": { +"description": "Required. Type of ram.", +"enum": [ +"UNKNOWN_RAM_TYPE", +"A2", +"A3", +"A4", +"A4X", +"C2", +"C2D", +"CUSTOM", +"E2", +"G2", +"G4", +"C4", +"C4A", +"C3", +"M2", +"M1", +"N1", +"N2_CUSTOM", +"N2", +"N2D" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"COMPUTE_OPTIMIZED", +"", +"", +"", +"", +"", +"", +"", +"", +"MEMORY_OPTIMIZED_UPGRADE_PREMIUM", +"MEMORY_OPTIMIZED", +"", +"", +"", +"" +], +"type": "string" +}, +"trackingLabels": { +"additionalProperties": { +"type": "string" +}, +"description": "Billing tracking labels. They do not contain any user data but only the labels set by Vertex Core Infra itself. Tracking labels' keys are defined with special format: goog-[\\p{Ll}\\p{N}]+ E.g. \"key\": \"goog-k8s-cluster-name\",\"value\": \"us-east1-b4rk\"", +"type": "object" +} +}, +"type": "object" +}, +"Sentence": { +"description": "Represents a sentence in the input document.", +"id": "Sentence", +"properties": { +"sentiment": { +"$ref": "Sentiment", +"description": "For calls to AnalyzeSentiment or if AnnotateTextRequest.Features.extract_document_sentiment is set to true, this field will contain the sentiment for the sentence." +}, +"text": { +"$ref": "TextSpan", +"description": "The sentence text." +} +}, +"type": "object" +}, +"Sentiment": { +"description": "Represents the feeling associated with the entire text or entities in the text.", +"id": "Sentiment", +"properties": { +"magnitude": { +"description": "A non-negative number in the [0, +inf] range, which represents the absolute magnitude of sentiment regardless of score (positive or negative).", +"format": "float", +"type": "number" +}, +"score": { +"description": "Sentiment score between -1.0 (negative sentiment) and 1.0 (positive sentiment).", +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"Status": { +"description": "The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors).", +"id": "Status", +"properties": { +"code": { +"description": "The status code, which should be an enum value of google.rpc.Code.", +"format": "int32", +"type": "integer" +}, +"details": { +"description": "A list of messages that carry the error details. There is a common set of message types for APIs to use.", +"items": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.", +"type": "string" +} +}, +"type": "object" +}, +"TextSpan": { +"description": "Represents a text span in the input document.", +"id": "TextSpan", +"properties": { +"beginOffset": { +"description": "The API calculates the beginning offset of the content in the original document according to the EncodingType specified in the API request.", +"format": "int32", +"type": "integer" +}, +"content": { +"description": "The content of the text span, which is a substring of the document.", +"type": "string" +} +}, +"type": "object" +}, +"Token": { +"description": "Represents the smallest syntactic building block of the text.", +"id": "Token", +"properties": { +"dependencyEdge": { +"$ref": "DependencyEdge", +"description": "Dependency tree parse for this token." +}, +"lemma": { +"description": "[Lemma](https://en.wikipedia.org/wiki/Lemma_%28morphology%29) of the token.", +"type": "string" +}, +"partOfSpeech": { +"$ref": "PartOfSpeech", +"description": "Parts of speech tag for this token." +}, +"text": { +"$ref": "TextSpan", +"description": "The token text." +} +}, +"type": "object" +}, +"TpuMetric": { +"id": "TpuMetric", +"properties": { +"tpuSec": { +"description": "Required. Seconds of TPU usage, e.g. 3600.", +"format": "int64", +"type": "string" +}, +"tpuType": { +"description": "Required. Type of TPU, e.g. TPU_V2, TPU_V3_POD.", +"enum": [ +"UNKNOWN_TPU_TYPE", +"TPU_V2_POD", +"TPU_V2", +"TPU_V3_POD", +"TPU_V3", +"TPU_V5_LITEPOD" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"" +], +"type": "string" +} +}, +"type": "object" +}, +"XPSArrayStats": { +"description": "The data statistics of a series of ARRAY values.", +"id": "XPSArrayStats", +"properties": { +"commonStats": { +"$ref": "XPSCommonStats" +}, +"memberStats": { +"$ref": "XPSDataStats", +"description": "Stats of all the values of all arrays, as if they were a single long series of data. The type depends on the element type of the array." +} +}, +"type": "object" +}, +"XPSBatchPredictResponse": { +"id": "XPSBatchPredictResponse", +"properties": { +"exampleSet": { +"$ref": "XPSExampleSet", +"description": "Examples for batch prediction result. Under full API implementation, results are stored in shared RecordIO of AnnotatedExample protobufs, the annotations field of which is populated by XPS backend." +} +}, +"type": "object" +}, +"XPSBoundingBoxMetricsEntry": { +"description": "Bounding box matching model metrics for a single intersection-over-union threshold and multiple label match confidence thresholds.", +"id": "XPSBoundingBoxMetricsEntry", +"properties": { +"confidenceMetricsEntries": { +"description": "Metrics for each label-match confidence_threshold from 0.05,0.10,...,0.95,0.96,0.97,0.98,0.99.", +"items": { +"$ref": "XPSBoundingBoxMetricsEntryConfidenceMetricsEntry" +}, +"type": "array" +}, +"iouThreshold": { +"description": "The intersection-over-union threshold value used to compute this metrics entry.", +"format": "float", +"type": "number" +}, +"meanAveragePrecision": { +"description": "The mean average precision.", +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"XPSBoundingBoxMetricsEntryConfidenceMetricsEntry": { +"description": "Metrics for a single confidence threshold.", +"id": "XPSBoundingBoxMetricsEntryConfidenceMetricsEntry", +"properties": { +"confidenceThreshold": { +"description": "The confidence threshold value used to compute the metrics.", +"format": "float", +"type": "number" +}, +"f1Score": { +"description": "The harmonic mean of recall and precision.", +"format": "float", +"type": "number" +}, +"precision": { +"description": "Precision for the given confidence threshold.", +"format": "float", +"type": "number" +}, +"recall": { +"description": "Recall for the given confidence threshold.", +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"XPSCategoryStats": { +"description": "The data statistics of a series of CATEGORY values.", +"id": "XPSCategoryStats", +"properties": { +"commonStats": { +"$ref": "XPSCommonStats" +}, +"topCategoryStats": { +"description": "The statistics of the top 20 CATEGORY values, ordered by CategoryStats.SingleCategoryStats.count.", +"items": { +"$ref": "XPSCategoryStatsSingleCategoryStats" +}, +"type": "array" +} +}, +"type": "object" +}, +"XPSCategoryStatsSingleCategoryStats": { +"description": "The statistics of a single CATEGORY value.", +"id": "XPSCategoryStatsSingleCategoryStats", +"properties": { +"count": { +"description": "The number of occurrences of this value in the series.", +"format": "int64", +"type": "string" +}, +"value": { +"description": "The CATEGORY value.", +"type": "string" +} +}, +"type": "object" +}, +"XPSClassificationEvaluationMetrics": { +"description": "Model evaluation metrics for classification problems. It can be used for image and video classification. Next tag: 9.", +"id": "XPSClassificationEvaluationMetrics", +"properties": { +"auPrc": { +"description": "The Area under precision recall curve metric.", +"format": "float", +"type": "number" +}, +"auRoc": { +"description": "The Area Under Receiver Operating Characteristic curve metric. Micro-averaged for the overall evaluation.", +"format": "float", +"type": "number" +}, +"baseAuPrc": { +"description": "The Area under precision recall curve metric based on priors.", +"format": "float", +"type": "number" +}, +"confidenceMetricsEntries": { +"description": "Metrics that have confidence thresholds. Precision-recall curve can be derived from it.", +"items": { +"$ref": "XPSConfidenceMetricsEntry" +}, +"type": "array" +}, +"confusionMatrix": { +"$ref": "XPSConfusionMatrix", +"description": "Confusion matrix of the evaluation. Only set for MULTICLASS classification problems where number of annotation specs is no more than 10. Only set for model level evaluation, not for evaluation per label." +}, +"evaluatedExamplesCount": { +"description": "The number of examples used for model evaluation.", +"format": "int32", +"type": "integer" +}, +"logLoss": { +"description": "The Log Loss metric.", +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"XPSColorMap": { +"description": "Map from color to display name. Will only be used by Image Segmentation for uCAIP.", +"id": "XPSColorMap", +"properties": { +"annotationSpecIdToken": { +"description": "Should be used during training.", +"type": "string" +}, +"color": { +"$ref": "Color", +"deprecated": true, +"description": "This type is deprecated in favor of the IntColor below. This is because google.type.Color represent color has a float which semantically does not reflect discrete classes/categories concept. Moreover, to handle it well we need to have some tolerance when converting to a discretized color. As such, the recommendation is to have API surface still use google.type.Color while internally IntColor is used." +}, +"displayName": { +"description": "Should be used during preprocessing.", +"type": "string" +}, +"intColor": { +"$ref": "XPSColorMapIntColor" +} +}, +"type": "object" +}, +"XPSColorMapIntColor": { +"description": "RGB color and each channel is represented by an integer.", +"id": "XPSColorMapIntColor", +"properties": { +"blue": { +"description": "The value should be in range of [0, 255].", +"format": "int32", +"type": "integer" +}, +"green": { +"description": "The value should be in range of [0, 255].", +"format": "int32", +"type": "integer" +}, +"red": { +"description": "The value should be in range of [0, 255].", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"XPSColumnSpec": { +"id": "XPSColumnSpec", +"properties": { +"columnId": { +"description": "The unique id of the column. When Preprocess, the Tables BE will popuate the order id of the column, which reflects the order of the column inside the table, i.e. 0 means the first column in the table, N-1 means the last column. AutoML BE will persist this order id in Spanner and set the order id here when calling RefreshTablesStats and Train. Note: it's different than the column_spec_id that is generated in AutoML BE.", +"format": "int32", +"type": "integer" +}, +"dataStats": { +"$ref": "XPSDataStats", +"description": "The data stats of the column. It's outputed in RefreshTablesStats and a required input for Train." +}, +"dataType": { +"$ref": "XPSDataType", +"description": "The data type of the column. It's outputed in Preprocess rpc and a required input for RefreshTablesStats and Train." +}, +"displayName": { +"description": "The display name of the column. It's outputed in Preprocess and a required input for RefreshTablesStats and Train.", +"type": "string" +}, +"forecastingMetadata": { +"$ref": "XPSColumnSpecForecastingMetadata" +}, +"topCorrelatedColumns": { +"description": "It's outputed in RefreshTablesStats, and a required input in Train.", +"items": { +"$ref": "XPSColumnSpecCorrelatedColumn" +}, +"type": "array" +} +}, +"type": "object" +}, +"XPSColumnSpecCorrelatedColumn": { +"description": "Identifies a table's column, and its correlation with the column this ColumnSpec describes.", +"id": "XPSColumnSpecCorrelatedColumn", +"properties": { +"columnId": { +"format": "int32", +"type": "integer" +}, +"correlationStats": { +"$ref": "XPSCorrelationStats" +} +}, +"type": "object" +}, +"XPSColumnSpecForecastingMetadata": { +"id": "XPSColumnSpecForecastingMetadata", +"properties": { +"columnType": { +"description": "The type of the column for FORECASTING model training purposes.", +"enum": [ +"COLUMN_TYPE_UNSPECIFIED", +"KEY", +"KEY_METADATA", +"TIME_SERIES_AVAILABLE_PAST_ONLY", +"TIME_SERIES_AVAILABLE_PAST_AND_FUTURE" +], +"enumDescriptions": [ +"An un-set value of this enum.", +"Key columns are used to identify timeseries.", +"This column contains information describing static properties of the entities identified by the key column(s) (e.g. city's ZIP code).", +"This column contains information for the given entity, at any time poinrt, they are only available in the time series before.", +"This column contains information for the given entity is known both for the past and the sufficiently far future." +], +"type": "string" +} +}, +"type": "object" +}, +"XPSCommonStats": { +"description": "Common statistics for a column with a specified data type.", +"id": "XPSCommonStats", +"properties": { +"distinctValueCount": { +"format": "int64", +"type": "string" +}, +"nullValueCount": { +"format": "int64", +"type": "string" +}, +"validValueCount": { +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"XPSConfidenceMetricsEntry": { +"description": "ConfidenceMetricsEntry includes generic precision, recall, f1 score etc. Next tag: 16.", +"id": "XPSConfidenceMetricsEntry", +"properties": { +"confidenceThreshold": { +"description": "Metrics are computed with an assumption that the model never return predictions with score lower than this value.", +"format": "float", +"type": "number" +}, +"f1Score": { +"description": "The harmonic mean of recall and precision.", +"format": "float", +"type": "number" +}, +"f1ScoreAt1": { +"description": "The harmonic mean of recall_at1 and precision_at1.", +"format": "float", +"type": "number" +}, +"falseNegativeCount": { +"description": "The number of ground truth labels that are not matched by a model created label.", +"format": "int64", +"type": "string" +}, +"falsePositiveCount": { +"description": "The number of model created labels that do not match a ground truth label.", +"format": "int64", +"type": "string" +}, +"falsePositiveRate": { +"description": "False Positive Rate for the given confidence threshold.", +"format": "float", +"type": "number" +}, +"falsePositiveRateAt1": { +"description": "The False Positive Rate when only considering the label that has the highest prediction score and not below the confidence threshold for each example.", +"format": "float", +"type": "number" +}, +"positionThreshold": { +"description": "Metrics are computed with an assumption that the model always returns at most this many predictions (ordered by their score, descendingly), but they all still need to meet the confidence_threshold.", +"format": "int32", +"type": "integer" +}, +"precision": { +"description": "Precision for the given confidence threshold.", +"format": "float", +"type": "number" +}, +"precisionAt1": { +"description": "The precision when only considering the label that has the highest prediction score and not below the confidence threshold for each example.", +"format": "float", +"type": "number" +}, +"recall": { +"description": "Recall (true positive rate) for the given confidence threshold.", +"format": "float", +"type": "number" +}, +"recallAt1": { +"description": "The recall (true positive rate) when only considering the label that has the highest prediction score and not below the confidence threshold for each example.", +"format": "float", +"type": "number" +}, +"trueNegativeCount": { +"description": "The number of labels that were not created by the model, but if they would, they would not match a ground truth label.", +"format": "int64", +"type": "string" +}, +"truePositiveCount": { +"description": "The number of model created labels that match a ground truth label.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"XPSConfusionMatrix": { +"description": "Confusion matrix of the model running the classification.", +"id": "XPSConfusionMatrix", +"properties": { +"annotationSpecIdToken": { +"description": "For the following three repeated fields, only one is intended to be set. annotation_spec_id_token is preferable to be set. ID tokens of the annotation specs used in the confusion matrix.", +"items": { +"type": "string" +}, +"type": "array" +}, +"category": { +"description": "Category (mainly for segmentation). Set only for image segmentation models. Note: uCAIP Image Segmentation should use annotation_spec_id_token.", +"items": { +"format": "int32", +"type": "integer" +}, +"type": "array" +}, +"row": { +"description": "Rows in the confusion matrix. The number of rows is equal to the size of `annotation_spec_id_token`. `row[i].value[j]` is the number of examples that have ground truth of the `annotation_spec_id_token[i]` and are predicted as `annotation_spec_id_token[j]` by the model being evaluated.", +"items": { +"$ref": "XPSConfusionMatrixRow" +}, +"type": "array" +}, +"sentimentLabel": { +"description": "Sentiment labels used in the confusion matrix. Set only for text sentiment models. For AutoML Text Revamp, use `annotation_spec_id_token` instead and leave this field empty.", +"items": { +"format": "int32", +"type": "integer" +}, +"type": "array" +} +}, +"type": "object" +}, +"XPSConfusionMatrixRow": { +"description": "A row in the confusion matrix.", +"id": "XPSConfusionMatrixRow", +"properties": { +"count": { +"description": "Same as above except intended to represent other counts (for e.g. for segmentation this is pixel count). NOTE(params): Only example_count or count is set (oneoff does not support repeated fields unless they are embedded inside another message).", +"items": { +"format": "int64", +"type": "string" +}, +"type": "array" +}, +"exampleCount": { +"description": "Value of the specific cell in the confusion matrix. The number of values each row has (i.e. the length of the row) is equal to the length of the annotation_spec_id_token field.", +"items": { +"format": "int32", +"type": "integer" +}, +"type": "array" +} +}, +"type": "object" +}, +"XPSCoreMlFormat": { +"description": "A model format used for iOS mobile devices.", +"id": "XPSCoreMlFormat", +"properties": {}, +"type": "object" +}, +"XPSCorrelationStats": { +"description": "A correlation statistics between two series of DataType values. The series may have differing DataType-s, but within a single series the DataType must be the same.", +"id": "XPSCorrelationStats", +"properties": { +"cramersV": { +"description": "The correlation value using the Cramer's V measure.", +"format": "double", +"type": "number" +} +}, +"type": "object" +}, +"XPSDataErrors": { +"description": "Different types of errors and the stats associatesd with each error.", +"id": "XPSDataErrors", +"properties": { +"count": { +"description": "Number of records having errors associated with the enum.", +"format": "int32", +"type": "integer" +}, +"errorType": { +"description": "Type of the error.", +"enum": [ +"ERROR_TYPE_UNSPECIFIED", +"UNSUPPORTED_AUDIO_FORMAT", +"FILE_EXTENSION_MISMATCH_WITH_AUDIO_FORMAT", +"FILE_TOO_LARGE", +"MISSING_TRANSCRIPTION" +], +"enumDescriptions": [ +"Not specified.", +"Audio format not in the formats by cloud-speech AutoML. Currently only wav and flac file formats are supported.", +"File format differnt from what is specified in the file name extension.", +"File too large. Maximum allowed size is 50 MB.", +"Transcript is missing." +], +"type": "string" +} +}, +"type": "object" +}, +"XPSDataStats": { +"description": "The data statistics of a series of values that share the same DataType.", +"id": "XPSDataStats", +"properties": { +"arrayStats": { +"$ref": "XPSArrayStats", +"description": "The statistics for ARRAY DataType." +}, +"categoryStats": { +"$ref": "XPSCategoryStats", +"description": "The statistics for CATEGORY DataType." +}, +"distinctValueCount": { +"description": "The number of distinct values.", +"format": "int64", +"type": "string" +}, +"float64Stats": { +"$ref": "XPSFloat64Stats", +"description": "The statistics for FLOAT64 DataType." +}, +"nullValueCount": { +"description": "The number of values that are null.", +"format": "int64", +"type": "string" +}, +"stringStats": { +"$ref": "XPSStringStats", +"description": "The statistics for STRING DataType." +}, +"structStats": { +"$ref": "XPSStructStats", +"description": "The statistics for STRUCT DataType." +}, +"timestampStats": { +"$ref": "XPSTimestampStats", +"description": "The statistics for TIMESTAMP DataType." +}, +"validValueCount": { +"description": "The number of values that are valid.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"XPSDataType": { +"description": "Indicated the type of data that can be stored in a structured data entity (e.g. a table).", +"id": "XPSDataType", +"properties": { +"compatibleDataTypes": { +"description": "The highly compatible data types to this data type.", +"items": { +"$ref": "XPSDataType" +}, +"type": "array" +}, +"listElementType": { +"$ref": "XPSDataType", +"description": "If type_code == ARRAY, then `list_element_type` is the type of the elements." +}, +"nullable": { +"description": "If true, this DataType can also be `null`.", +"type": "boolean" +}, +"structType": { +"$ref": "XPSStructType", +"description": "If type_code == STRUCT, then `struct_type` provides type information for the struct's fields." +}, +"timeFormat": { +"description": "If type_code == TIMESTAMP then `time_format` provides the format in which that time field is expressed. The time_format must be written in `strftime` syntax. If time_format is not set, then the default format as described on the field is used.", +"type": "string" +}, +"typeCode": { +"description": "Required. The TypeCode for this type.", +"enum": [ +"TYPE_CODE_UNSPECIFIED", +"FLOAT64", +"TIMESTAMP", +"STRING", +"ARRAY", +"STRUCT", +"CATEGORY" +], +"enumDescriptions": [ +"Not specified. Should not be used.", +"Encoded as `number`, or the strings `\"NaN\"`, `\"Infinity\"`, or `\"-Infinity\"`.", +"Must be between 0AD and 9999AD. Encoded as `string` according to time_format, or, if that format is not set, then in RFC 3339 `date-time` format, where `time-offset` = `\"Z\"` (e.g. 1985-04-12T23:20:50.52Z).", +"Encoded as `string`.", +"Encoded as `list`, where the list elements are represented according to list_element_type.", +"Encoded as `struct`, where field values are represented according to struct_type.", +"Values of this type are not further understood by AutoML, e.g. AutoML is unable to tell the order of values (as it could with FLOAT64), or is unable to say if one value contains another (as it could with STRING). Encoded as `string` (bytes should be base64-encoded, as described in RFC 4648, section 4)." +], +"type": "string" +} +}, +"type": "object" +}, +"XPSDockerFormat": { +"description": "A model format used for Docker containers. Use the params field to customize the container. The container is verified to work correctly on ubuntu 16.04 operating system.", +"id": "XPSDockerFormat", +"properties": { +"cpuArchitecture": { +"description": "Optional. Additional cpu information describing the requirements for the to be exported model files.", +"enum": [ +"CPU_ARCHITECTURE_UNSPECIFIED", +"CPU_ARCHITECTURE_X86_64" +], +"enumDescriptions": [ +"", +"" +], +"type": "string" +}, +"gpuArchitecture": { +"description": "Optional. Additional gpu information describing the requirements for the to be exported model files.", +"enum": [ +"GPU_ARCHITECTURE_UNSPECIFIED", +"GPU_ARCHITECTURE_NVIDIA" +], +"enumDescriptions": [ +"", +"" +], +"type": "string" +} +}, +"type": "object" +}, +"XPSEdgeTpuTfLiteFormat": { +"description": "A model format used for [Edge TPU](https://cloud.google.com/edge-tpu/) devices.", +"id": "XPSEdgeTpuTfLiteFormat", +"properties": {}, +"type": "object" +}, +"XPSEvaluationMetrics": { +"description": "Contains xPS-specific model evaluation metrics either for a single annotation spec (label), or for the model overall. Next tag: 18.", +"id": "XPSEvaluationMetrics", +"properties": { +"annotationSpecIdToken": { +"description": "The annotation_spec for which this evaluation metrics instance had been created. Empty iff this is an overall model evaluation (like Tables evaluation metrics), i.e. aggregated across all labels. The value comes from the input annotations in AnnotatedExample. For MVP product or for text sentiment models where annotation_spec_id_token is not available, set label instead.", +"type": "string" +}, +"category": { +"description": "The integer category label for which this evaluation metric instance had been created. Valid categories are 0 or higher. Overall model evaluation should set this to negative values (rather than implicit zero). Only used for Image Segmentation (prefer to set annotation_spec_id_token instead). Note: uCAIP Image Segmentation should use annotation_spec_id_token.", +"format": "int32", +"type": "integer" +}, +"evaluatedExampleCount": { +"description": "The number of examples used to create this evaluation metrics instance.", +"format": "int32", +"type": "integer" +}, +"imageClassificationEvalMetrics": { +"$ref": "XPSClassificationEvaluationMetrics" +}, +"imageObjectDetectionEvalMetrics": { +"$ref": "XPSImageObjectDetectionEvaluationMetrics" +}, +"imageSegmentationEvalMetrics": { +"$ref": "XPSImageSegmentationEvaluationMetrics" +}, +"label": { +"description": "The label for which this evaluation metrics instance had been created. Empty iff this is an overall model evaluation (like Tables evaluation metrics), i.e. aggregated across all labels. The label maps to AnnotationSpec.display_name in Public API protos. Only used by MVP implementation and text sentiment FULL implementation.", +"type": "string" +}, +"regressionEvalMetrics": { +"$ref": "XPSRegressionEvaluationMetrics" +}, +"tablesClassificationEvalMetrics": { +"$ref": "XPSClassificationEvaluationMetrics" +}, +"tablesEvalMetrics": { +"$ref": "XPSTablesEvaluationMetrics" +}, +"textClassificationEvalMetrics": { +"$ref": "XPSClassificationEvaluationMetrics" +}, +"textExtractionEvalMetrics": { +"$ref": "XPSTextExtractionEvaluationMetrics" +}, +"textSentimentEvalMetrics": { +"$ref": "XPSTextSentimentEvaluationMetrics" +}, +"translationEvalMetrics": { +"$ref": "XPSTranslationEvaluationMetrics" +}, +"videoActionRecognitionEvalMetrics": { +"$ref": "XPSVideoActionRecognitionEvaluationMetrics" +}, +"videoClassificationEvalMetrics": { +"$ref": "XPSClassificationEvaluationMetrics" +}, +"videoObjectTrackingEvalMetrics": { +"$ref": "XPSVideoObjectTrackingEvaluationMetrics" +} +}, +"type": "object" +}, +"XPSEvaluationMetricsSet": { +"description": "Specifies location of model evaluation metrics.", +"id": "XPSEvaluationMetricsSet", +"properties": { +"evaluationMetrics": { +"description": "Inline EvaluationMetrics - should be relatively small. For passing large quantities of exhaustive metrics, use file_spec.", +"items": { +"$ref": "XPSEvaluationMetrics" +}, +"type": "array" +}, +"fileSpec": { +"$ref": "XPSFileSpec", +"description": "File spec containing evaluation metrics of a model, must point to RecordIO file(s) of intelligence.cloud.automl.xps.EvaluationMetrics messages." +}, +"numEvaluationMetrics": { +"description": "Number of the evaluation metrics (usually one per label plus overall).", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"XPSExampleSet": { +"description": "Set of examples or input sources.", +"id": "XPSExampleSet", +"properties": { +"fileSpec": { +"$ref": "XPSFileSpec", +"description": "File spec of the examples or input sources." +}, +"fingerprint": { +"description": "Fingerprint of the example set.", +"format": "int64", +"type": "string" +}, +"numExamples": { +"description": "Number of examples.", +"format": "int64", +"type": "string" +}, +"numInputSources": { +"description": "Number of input sources.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"XPSExportModelOutputConfig": { +"id": "XPSExportModelOutputConfig", +"properties": { +"coreMlFormat": { +"$ref": "XPSCoreMlFormat" +}, +"dockerFormat": { +"$ref": "XPSDockerFormat" +}, +"edgeTpuTfLiteFormat": { +"$ref": "XPSEdgeTpuTfLiteFormat" +}, +"exportFirebaseAuxiliaryInfo": { +"description": "For any model and format: If true, will additionally export FirebaseExportedModelInfo in a firebase.txt file.", +"type": "boolean" +}, +"outputGcrUri": { +"description": "The Google Contained Registry path the exported files to be pushed to. This location is set if the exported format is DOCKDER.", +"type": "string" +}, +"outputGcsUri": { +"description": "The Google Cloud Storage directory where XPS will output the exported models and related files. Format: gs://bucket/directory", +"type": "string" +}, +"tfJsFormat": { +"$ref": "XPSTfJsFormat" +}, +"tfLiteFormat": { +"$ref": "XPSTfLiteFormat" +}, +"tfSavedModelFormat": { +"$ref": "XPSTfSavedModelFormat" +} +}, +"type": "object" +}, +"XPSFileSpec": { +"description": "Spec of input and output files, on external file systems (for example, Colossus Namespace System or Google Cloud Storage).", +"id": "XPSFileSpec", +"properties": { +"directoryPath": { +"deprecated": true, +"description": "Deprecated. Use file_spec.", +"type": "string" +}, +"fileFormat": { +"enum": [ +"FILE_FORMAT_UNKNOWN", +"FILE_FORMAT_SSTABLE", +"FILE_FORMAT_TRANSLATION_RKV", +"FILE_FORMAT_RECORDIO", +"FILE_FORMAT_RAW_CSV", +"FILE_FORMAT_RAW_CAPACITOR" +], +"enumDeprecated": [ +false, +true, +false, +false, +false, +false +], +"enumDescriptions": [ +"", +"", +"Internal format for parallel text data used by Google Translate.", +"", +"Only the lexicographically first file described by the file_spec contains the header line.", +"" +], +"type": "string" +}, +"fileSpec": { +"description": "Single file path, or file pattern of format \"/path/to/file@shard_count\". E.g. /cns/cell-d/somewhere/file@2 is expanded to two files: /cns/cell-d/somewhere/file-00000-of-00002 and /cns/cell-d/somewhere/file-00001-of-00002.", +"type": "string" +}, +"singleFilePath": { +"deprecated": true, +"description": "Deprecated. Use file_spec.", +"type": "string" +} +}, +"type": "object" +}, +"XPSFloat64Stats": { +"description": "The data statistics of a series of FLOAT64 values.", +"id": "XPSFloat64Stats", +"properties": { +"commonStats": { +"$ref": "XPSCommonStats" +}, +"histogramBuckets": { +"description": "Histogram buckets of the data series. Sorted by the min value of the bucket, ascendingly, and the number of the buckets is dynamically generated. The buckets are non-overlapping and completely cover whole FLOAT64 range with min of first bucket being `\"-Infinity\"`, and max of the last one being `\"Infinity\"`.", +"items": { +"$ref": "XPSFloat64StatsHistogramBucket" +}, +"type": "array" +}, +"mean": { +"description": "The mean of the series.", +"format": "double", +"type": "number" +}, +"quantiles": { +"description": "Ordered from 0 to k k-quantile values of the data series of n values. The value at index i is, approximately, the i*n/k-th smallest value in the series; for i = 0 and i = k these are, respectively, the min and max values.", +"items": { +"format": "double", +"type": "number" +}, +"type": "array" +}, +"standardDeviation": { +"description": "The standard deviation of the series.", +"format": "double", +"type": "number" +} +}, +"type": "object" +}, +"XPSFloat64StatsHistogramBucket": { +"description": "A bucket of a histogram.", +"id": "XPSFloat64StatsHistogramBucket", +"properties": { +"count": { +"description": "The number of data values that are in the bucket, i.e. are between min and max values.", +"format": "int64", +"type": "string" +}, +"max": { +"description": "The maximum value of the bucket, exclusive unless max = `\"Infinity\"`, in which case it's inclusive.", +"format": "double", +"type": "number" +}, +"min": { +"description": "The minimum value of the bucket, inclusive.", +"format": "double", +"type": "number" +} +}, +"type": "object" +}, +"XPSImageClassificationTrainResponse": { +"id": "XPSImageClassificationTrainResponse", +"properties": { +"classCount": { +"description": "Total number of classes.", +"format": "int64", +"type": "string" +}, +"exportModelSpec": { +"$ref": "XPSImageExportModelSpec", +"description": "Information of downloadable models that are pre-generated as part of training flow and will be persisted in AutoMl backend. Populated for AutoMl requests." +}, +"modelArtifactSpec": { +"$ref": "XPSImageModelArtifactSpec", +"description": "## The fields below are only populated under uCAIP request scope." +}, +"modelServingSpec": { +"$ref": "XPSImageModelServingSpec" +}, +"stopReason": { +"description": "Stop reason for training job, e.g. 'TRAIN_BUDGET_REACHED', 'MODEL_CONVERGED', 'MODEL_EARLY_STOPPED'.", +"enum": [ +"TRAIN_STOP_REASON_UNSPECIFIED", +"TRAIN_STOP_REASON_BUDGET_REACHED", +"TRAIN_STOP_REASON_MODEL_CONVERGED", +"TRAIN_STOP_REASON_MODEL_EARLY_STOPPED" +], +"enumDescriptions": [ +"", +"", +"Model fully converged, can not be resumbed training.", +"Model early converged, can be further trained till full convergency." +], +"type": "string" +}, +"trainCostInNodeTime": { +"description": "The actual cost to create this model. - For edge type model, the cost is expressed in node hour. - For cloud type model,the cost is expressed in compute hour. - Populated for models created before GA. To be deprecated after GA.", +"format": "google-duration", +"type": "string" +}, +"trainCostNodeSeconds": { +"description": "The actual training cost, expressed in node seconds. Populated for models trained in node time.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"XPSImageExportModelSpec": { +"description": "Information of downloadable models that are pre-generated as part of training flow and will be persisted in AutoMl backend. Upon receiving ExportModel request from user, AutoMl backend can serve the pre-generated models to user if exists (by copying the files from internal path to user provided location), otherwise, AutoMl backend will call xPS ExportModel API to generate the model on the fly with the requesting format.", +"id": "XPSImageExportModelSpec", +"properties": { +"exportModelOutputConfig": { +"description": "Contains the model format and internal location of the model files to be exported/downloaded. Use the Google Cloud Storage bucket name which is provided via TrainRequest.gcs_bucket_name to store the model files.", +"items": { +"$ref": "XPSExportModelOutputConfig" +}, +"type": "array" +} +}, +"type": "object" +}, +"XPSImageModelArtifactSpec": { +"description": "Stores the locations and related metadata of the model artifacts. Populated for uCAIP requests only.", +"id": "XPSImageModelArtifactSpec", +"properties": { +"checkpointArtifact": { +"$ref": "XPSModelArtifactItem", +"description": "The Tensorflow checkpoint files. e.g. Used for resumable training." +}, +"exportArtifact": { +"description": "The model binary files in different formats for model export.", +"items": { +"$ref": "XPSModelArtifactItem" +}, +"type": "array" +}, +"labelGcsUri": { +"description": "Google Cloud Storage URI of decoded labels file for model export 'dict.txt'.", +"type": "string" +}, +"servingArtifact": { +"$ref": "XPSModelArtifactItem", +"description": "The default model binary file used for serving (e.g. online predict, batch predict) via public Cloud AI Platform API." +}, +"tfJsBinaryGcsPrefix": { +"description": "Google Cloud Storage URI prefix of Tensorflow JavaScript binary files 'groupX-shardXofX.bin'. Deprecated.", +"type": "string" +}, +"tfLiteMetadataGcsUri": { +"description": "Google Cloud Storage URI of Tensorflow Lite metadata 'tflite_metadata.json'.", +"type": "string" +} +}, +"type": "object" +}, +"XPSImageModelServingSpec": { +"description": "Serving specification for image models.", +"id": "XPSImageModelServingSpec", +"properties": { +"modelThroughputEstimation": { +"description": "Populate under uCAIP request scope.", +"items": { +"$ref": "XPSImageModelServingSpecModelThroughputEstimation" +}, +"type": "array" +}, +"nodeQps": { +"description": "An estimated value of how much traffic a node can serve. Populated for AutoMl request only.", +"format": "double", +"type": "number" +}, +"tfRuntimeVersion": { +"description": "## The fields below are only populated under uCAIP request scope. https://cloud.google.com/ml-engine/docs/runtime-version-list", +"type": "string" +} +}, +"type": "object" +}, +"XPSImageModelServingSpecModelThroughputEstimation": { +"id": "XPSImageModelServingSpecModelThroughputEstimation", +"properties": { +"computeEngineAcceleratorType": { +"enum": [ +"UNSPECIFIED", +"NVIDIA_TESLA_K80", +"NVIDIA_TESLA_P100", +"NVIDIA_TESLA_V100", +"NVIDIA_TESLA_P4", +"NVIDIA_TESLA_T4", +"NVIDIA_TESLA_A100", +"NVIDIA_A100_80GB", +"NVIDIA_L4", +"NVIDIA_H100_80GB", +"NVIDIA_H100_MEGA_80GB", +"NVIDIA_H200_141GB", +"NVIDIA_B200", +"NVIDIA_GB200", +"TPU_V2", +"TPU_V3", +"TPU_V4_POD", +"TPU_V5_LITEPOD" +], +"enumDescriptions": [ +"", +"Nvidia Tesla K80 GPU.", +"Nvidia Tesla P100 GPU.", +"Nvidia Tesla V100 GPU.", +"Nvidia Tesla P4 GPU.", +"Nvidia Tesla T4 GPU.", +"Nvidia Tesla A100 GPU.", +"Nvidia A100 80GB GPU.", +"Nvidia L4 GPU.", +"Nvidia H100 80Gb GPU.", +"Nvidia H100 80Gb GPU.", +"Nvidia H200 141Gb GPU.", +"Nvidia B200 GPU.", +"Nvidia GB200 GPU.", +"TPU v2 (JellyFish).", +"TPU v3 (DragonFish).", +"TPU_v4 (PufferFish).", +"TPU v5 Lite Pods." +], +"type": "string" +}, +"latencyInMilliseconds": { +"description": "Estimated latency.", +"format": "double", +"type": "number" +}, +"nodeQps": { +"description": "The approximate qps a deployed node can serve.", +"format": "double", +"type": "number" +}, +"servomaticPartitionType": { +"enum": [ +"PARTITION_TYPE_UNSPECIFIED", +"PARTITION_ZERO", +"PARTITION_REDUCED_HOMING", +"PARTITION_JELLYFISH", +"PARTITION_CPU", +"PARTITION_CUSTOM_STORAGE_CPU" +], +"enumDescriptions": [ +"", +"The default partition.", +"It has significantly lower replication than partition-0 and is located in the US only. It also has a larger model size limit and higher default RAM quota than partition-0. Customers with batch traffic, US-based traffic, or very large models should use this partition. Capacity in this partition is significantly cheaper than partition-0.", +"To be used by customers with Jellyfish-accelerated ops.", +"The partition used by regionalized servomatic cloud regions.", +"The partition used for loading models from custom storage." +], +"type": "string" +} +}, +"type": "object" +}, +"XPSImageObjectDetectionEvaluationMetrics": { +"description": "Model evaluation metrics for image object detection problems. Evaluates prediction quality of labeled bounding boxes.", +"id": "XPSImageObjectDetectionEvaluationMetrics", +"properties": { +"boundingBoxMeanAveragePrecision": { +"description": "The single metric for bounding boxes evaluation: the mean_average_precision averaged over all bounding_box_metrics_entries.", +"format": "float", +"type": "number" +}, +"boundingBoxMetricsEntries": { +"description": "The bounding boxes match metrics for each Intersection-over-union threshold 0.05,0.10,...,0.95,0.96,0.97,0.98,0.99 and each label confidence threshold 0.05,0.10,...,0.95,0.96,0.97,0.98,0.99 pair.", +"items": { +"$ref": "XPSBoundingBoxMetricsEntry" +}, +"type": "array" +}, +"evaluatedBoundingBoxCount": { +"description": "The total number of bounding boxes (i.e. summed over all images) the ground truth used to create this evaluation had.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"XPSImageObjectDetectionModelSpec": { +"id": "XPSImageObjectDetectionModelSpec", +"properties": { +"classCount": { +"description": "Total number of classes.", +"format": "int64", +"type": "string" +}, +"exportModelSpec": { +"$ref": "XPSImageExportModelSpec" +}, +"maxBoundingBoxCount": { +"description": "Max number of bounding box.", +"format": "int64", +"type": "string" +}, +"modelArtifactSpec": { +"$ref": "XPSImageModelArtifactSpec", +"description": "## The fields below are only populated under uCAIP request scope." +}, +"modelServingSpec": { +"$ref": "XPSImageModelServingSpec" +}, +"stopReason": { +"description": "Stop reason for training job, e.g. 'TRAIN_BUDGET_REACHED', 'MODEL_CONVERGED'.", +"enum": [ +"TRAIN_STOP_REASON_UNSPECIFIED", +"TRAIN_STOP_REASON_BUDGET_REACHED", +"TRAIN_STOP_REASON_MODEL_CONVERGED", +"TRAIN_STOP_REASON_MODEL_EARLY_STOPPED" +], +"enumDescriptions": [ +"", +"", +"Model fully converged, can not be resumbed training.", +"Model early converged, can be further trained till full convergency." +], +"type": "string" +}, +"trainCostNodeSeconds": { +"description": "The actual train cost of creating this model, expressed in node seconds, i.e. 3,600 value in this field means 1 node hour.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"XPSImageSegmentationEvaluationMetrics": { +"description": "Model evaluation metrics for image segmentation problems. Next tag: 4.", +"id": "XPSImageSegmentationEvaluationMetrics", +"properties": { +"confidenceMetricsEntries": { +"description": "Metrics that have confidence thresholds. Precision-recall curve can be derived from it.", +"items": { +"$ref": "XPSImageSegmentationEvaluationMetricsConfidenceMetricsEntry" +}, +"type": "array" +} +}, +"type": "object" +}, +"XPSImageSegmentationEvaluationMetricsConfidenceMetricsEntry": { +"description": "Metrics for a single confidence threshold.", +"id": "XPSImageSegmentationEvaluationMetricsConfidenceMetricsEntry", +"properties": { +"confidenceThreshold": { +"description": "The confidence threshold value used to compute the metrics.", +"format": "float", +"type": "number" +}, +"confusionMatrix": { +"$ref": "XPSConfusionMatrix", +"description": "Confusion matrix of the per confidence_threshold evaluation. Pixel counts are set here. Only set for model level evaluation, not for evaluation per label." +}, +"diceScoreCoefficient": { +"description": "DSC or the F1 score: The harmonic mean of recall and precision.", +"format": "float", +"type": "number" +}, +"iouScore": { +"description": "IOU score.", +"format": "float", +"type": "number" +}, +"precision": { +"description": "Precision for the given confidence threshold.", +"format": "float", +"type": "number" +}, +"recall": { +"description": "Recall for the given confidence threshold.", +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"XPSImageSegmentationTrainResponse": { +"id": "XPSImageSegmentationTrainResponse", +"properties": { +"colorMaps": { +"description": "Color map of the model.", +"items": { +"$ref": "XPSColorMap" +}, +"type": "array" +}, +"exportModelSpec": { +"$ref": "XPSImageExportModelSpec", +"description": "NOTE: These fields are not used/needed in EAP but will be set later." +}, +"modelArtifactSpec": { +"$ref": "XPSImageModelArtifactSpec", +"description": "## The fields below are only populated under uCAIP request scope. Model artifact spec stores and model gcs pathes and related metadata" +}, +"modelServingSpec": { +"$ref": "XPSImageModelServingSpec" +}, +"stopReason": { +"description": "Stop reason for training job, e.g. 'TRAIN_BUDGET_REACHED', 'MODEL_CONVERGED'.", +"enum": [ +"TRAIN_STOP_REASON_UNSPECIFIED", +"TRAIN_STOP_REASON_BUDGET_REACHED", +"TRAIN_STOP_REASON_MODEL_CONVERGED", +"TRAIN_STOP_REASON_MODEL_EARLY_STOPPED" +], +"enumDescriptions": [ +"", +"", +"Model fully converged, can not be resumbed training.", +"Model early converged, can be further trained till full convergency." +], +"type": "string" +}, +"trainCostNodeSeconds": { +"description": "The actual train cost of creating this model, expressed in node seconds, i.e. 3,600 value in this field means 1 node hour.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"XPSIntegratedGradientsAttribution": { +"deprecated": true, +"description": "An attribution method that computes the Aumann-Shapley value taking advantage of the model's fully differentiable structure. Refer to this paper for more details: https://arxiv.org/abs/1703.01365", +"id": "XPSIntegratedGradientsAttribution", +"properties": { +"stepCount": { +"description": "The number of steps for approximating the path integral. A good value to start is 50 and gradually increase until the sum to diff property is within the desired error range. Valid range of its value is [1, 100], inclusively.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"XPSMetricEntry": { +"id": "XPSMetricEntry", +"properties": { +"argentumMetricId": { +"description": "For billing metrics that are using legacy sku's, set the legacy billing metric id here. This will be sent to Chemist as the \"cloudbilling.googleapis.com/argentum_metric_id\" label. Otherwise leave empty.", +"type": "string" +}, +"doubleValue": { +"description": "A double value.", +"format": "double", +"type": "number" +}, +"int64Value": { +"description": "A signed 64-bit integer value.", +"format": "int64", +"type": "string" +}, +"metricName": { +"description": "The metric name defined in the service configuration.", +"type": "string" +}, +"systemLabels": { +"description": "Billing system labels for this (metric, value) pair.", +"items": { +"$ref": "XPSMetricEntryLabel" +}, +"type": "array" +} +}, +"type": "object" +}, +"XPSMetricEntryLabel": { +"id": "XPSMetricEntryLabel", +"properties": { +"labelName": { +"description": "The name of the label.", +"type": "string" +}, +"labelValue": { +"description": "The value of the label.", +"type": "string" +} +}, +"type": "object" +}, +"XPSModelArtifactItem": { +"description": "A single model artifact item.", +"id": "XPSModelArtifactItem", +"properties": { +"artifactFormat": { +"description": "The model artifact format.", +"enum": [ +"ARTIFACT_FORMAT_UNSPECIFIED", +"TF_CHECKPOINT", +"TF_SAVED_MODEL", +"TF_LITE", +"EDGE_TPU_TF_LITE", +"TF_JS", +"CORE_ML" +], +"enumDescriptions": [ +"Should not be used.", +"The Tensorflow checkpoints. See https://www.tensorflow.org/guide/checkpoint.", +"The Tensorflow SavedModel binary.", +"Model artifact in generic TensorFlow Lite (.tflite) format. See https://www.tensorflow.org/lite.", +"Used for [Edge TPU](https://cloud.google.com/edge-tpu/) devices.", +"A [TensorFlow.js](https://www.tensorflow.org/js) model that can be used in the browser and in Node.js using JavaScript.", +"Used for iOS mobile devices in (.mlmodel) format. See https://developer.apple.com/documentation/coreml" +], +"type": "string" +}, +"gcsUri": { +"description": "The Google Cloud Storage URI that stores the model binary files.", +"type": "string" +} +}, +"type": "object" +}, +"XPSPreprocessResponse": { +"id": "XPSPreprocessResponse", +"properties": { +"outputExampleSet": { +"$ref": "XPSExampleSet", +"description": "Preprocessed examples, that are to be imported into AutoML storage. This should point to RecordIO file(s) of PreprocessedExample messages. The PreprocessedExample.mvp_training_data-s returned here are later verbatim passed to Train() call in TrainExample.mvp_training_data." +}, +"speechPreprocessResp": { +"$ref": "XPSSpeechPreprocessResponse" +}, +"tablesPreprocessResponse": { +"$ref": "XPSTablesPreprocessResponse" +}, +"translationPreprocessResp": { +"$ref": "XPSTranslationPreprocessResponse" +} +}, +"type": "object" +}, +"XPSRegressionEvaluationMetrics": { +"description": "Model evaluation metrics for regression problems. It can be used for Tables.", +"id": "XPSRegressionEvaluationMetrics", +"properties": { +"meanAbsoluteError": { +"description": "Mean Absolute Error (MAE).", +"format": "float", +"type": "number" +}, +"meanAbsolutePercentageError": { +"description": "Mean absolute percentage error. Only set if all ground truth values are positive.", +"format": "float", +"type": "number" +}, +"rSquared": { +"description": "R squared.", +"format": "float", +"type": "number" +}, +"regressionMetricsEntries": { +"description": "A list of actual versus predicted points for the model being evaluated.", +"items": { +"$ref": "XPSRegressionMetricsEntry" +}, +"type": "array" +}, +"rootMeanSquaredError": { +"description": "Root Mean Squared Error (RMSE).", +"format": "float", +"type": "number" +}, +"rootMeanSquaredLogError": { +"description": "Root mean squared log error.", +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"XPSRegressionMetricsEntry": { +"description": "A pair of actual & observed values for the model being evaluated.", +"id": "XPSRegressionMetricsEntry", +"properties": { +"predictedValue": { +"description": "The observed value for a row in the dataset.", +"format": "float", +"type": "number" +}, +"trueValue": { +"description": "The actual target value for a row in the dataset.", +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"XPSReportingMetrics": { +"id": "XPSReportingMetrics", +"properties": { +"effectiveTrainingDuration": { +"deprecated": true, +"description": "The effective time training used. If set, this is used for quota management and billing. Deprecated. AutoML BE doesn't use this. Don't set.", +"format": "google-duration", +"type": "string" +}, +"metricEntries": { +"description": "One entry per metric name. The values must be aggregated per metric name.", +"items": { +"$ref": "XPSMetricEntry" +}, +"type": "array" +} +}, +"type": "object" +}, +"XPSResponseExplanationMetadata": { +"deprecated": true, +"id": "XPSResponseExplanationMetadata", +"properties": { +"inputs": { +"additionalProperties": { +"$ref": "XPSResponseExplanationMetadataInputMetadata" +}, +"description": "Metadata of the input.", +"type": "object" +}, +"outputs": { +"additionalProperties": { +"$ref": "XPSResponseExplanationMetadataOutputMetadata" +}, +"description": "Metadata of the output.", +"type": "object" +} +}, +"type": "object" +}, +"XPSResponseExplanationMetadataInputMetadata": { +"description": "Metadata of the input of a feature.", +"id": "XPSResponseExplanationMetadataInputMetadata", +"properties": { +"inputTensorName": { +"description": "Name of the input tensor for this model. Only needed in train response.", +"type": "string" +}, +"modality": { +"description": "Modality of the feature. Valid values are: numeric, image. Defaults to numeric.", +"enum": [ +"MODALITY_UNSPECIFIED", +"NUMERIC", +"IMAGE", +"CATEGORICAL" +], +"enumDescriptions": [ +"", +"", +"", +"" +], +"type": "string" +}, +"visualizationConfig": { +"$ref": "XPSVisualization", +"description": "Visualization configurations for image explanation." +} +}, +"type": "object" +}, +"XPSResponseExplanationMetadataOutputMetadata": { +"description": "Metadata of the prediction output to be explained.", +"id": "XPSResponseExplanationMetadataOutputMetadata", +"properties": { +"outputTensorName": { +"description": "Name of the output tensor. Only needed in train response.", +"type": "string" +} +}, +"type": "object" +}, +"XPSResponseExplanationParameters": { +"deprecated": true, +"id": "XPSResponseExplanationParameters", +"properties": { +"integratedGradientsAttribution": { +"$ref": "XPSIntegratedGradientsAttribution", +"description": "An attribution method that computes Aumann-Shapley values taking advantage of the model's fully differentiable structure. Refer to this paper for more details: https://arxiv.org/abs/1703.01365" +}, +"xraiAttribution": { +"$ref": "XPSXraiAttribution", +"description": "An attribution method that redistributes Integrated Gradients attribution to segmented regions, taking advantage of the model's fully differentiable structure. Refer to this paper for more details: https://arxiv.org/abs/1906.02825 XRAI currently performs better on natural images, like a picture of a house or an animal. If the images are taken in artificial environments, like a lab or manufacturing line, or from diagnostic equipment, like x-rays or quality-control cameras, use Integrated Gradients instead." +} +}, +"type": "object" +}, +"XPSResponseExplanationSpec": { +"deprecated": true, +"description": "Specification of Model explanation. Feature-based XAI in AutoML Vision ICN is deprecated.", +"id": "XPSResponseExplanationSpec", +"properties": { +"explanationType": { +"description": "Explanation type. For AutoML Image Classification models, possible values are: * `image-integrated-gradients` * `image-xrai`", +"type": "string" +}, +"metadata": { +"$ref": "XPSResponseExplanationMetadata", +"description": "Metadata describing the Model's input and output for explanation." +}, +"parameters": { +"$ref": "XPSResponseExplanationParameters", +"description": "Parameters that configure explaining of the Model's predictions." +} +}, +"type": "object" +}, +"XPSRow": { +"id": "XPSRow", +"properties": { +"columnIds": { +"description": "The ids of the columns. Note: The below `values` field must match order of this field, if this field is set.", +"items": { +"format": "int32", +"type": "integer" +}, +"type": "array" +}, +"values": { +"description": "The values of the row cells, given in the same order as the column_ids. If column_ids is not set, then in the same order as the input_feature_column_ids in TablesModelMetadata.", +"items": { +"type": "any" +}, +"type": "array" +} +}, +"type": "object" +}, +"XPSSpeechEvaluationMetrics": { +"id": "XPSSpeechEvaluationMetrics", +"properties": { +"subModelEvaluationMetrics": { +"description": "Evaluation metrics for all submodels contained in this model.", +"items": { +"$ref": "XPSSpeechEvaluationMetricsSubModelEvaluationMetric" +}, +"type": "array" +} +}, +"type": "object" +}, +"XPSSpeechEvaluationMetricsSubModelEvaluationMetric": { +"id": "XPSSpeechEvaluationMetricsSubModelEvaluationMetric", +"properties": { +"biasingModelType": { +"description": "Type of the biasing model.", +"enum": [ +"BIASING_MODEL_TYPE_UNSPECIFIED", +"COMMAND_AND_SEARCH", +"PHONE_CALL", +"VIDEO", +"DEFAULT" +], +"enumDescriptions": [ +"", +"Build biasing model on top of COMMAND_AND_SEARCH model", +"Build biasing model on top of PHONE_CALL model", +"Build biasing model on top of VIDEO model", +"Build biasing model on top of DEFAULT model" +], +"type": "string" +}, +"isEnhancedModel": { +"description": "If true then it means we have an enhanced version of the biasing models.", +"type": "boolean" +}, +"numDeletions": { +"format": "int32", +"type": "integer" +}, +"numInsertions": { +"format": "int32", +"type": "integer" +}, +"numSubstitutions": { +"format": "int32", +"type": "integer" +}, +"numUtterances": { +"description": "Number of utterances used in the wer computation.", +"format": "int32", +"type": "integer" +}, +"numWords": { +"description": "Number of words over which the word error rate was computed.", +"format": "int32", +"type": "integer" +}, +"sentenceAccuracy": { +"description": "Below fields are used for debugging purposes", +"format": "double", +"type": "number" +}, +"wer": { +"description": "Word error rate (standard error metric used for speech recognition).", +"format": "double", +"type": "number" +} +}, +"type": "object" +}, +"XPSSpeechModelSpec": { +"id": "XPSSpeechModelSpec", +"properties": { +"datasetId": { +"description": "Required for speech xps backend. Speech xps has to use dataset_id and model_id as the primary key in db so that speech API can query the db directly.", +"format": "int64", +"type": "string" +}, +"language": { +"type": "string" +}, +"subModelSpecs": { +"description": "Model specs for all submodels contained in this model.", +"items": { +"$ref": "XPSSpeechModelSpecSubModelSpec" +}, +"type": "array" +} +}, +"type": "object" +}, +"XPSSpeechModelSpecSubModelSpec": { +"id": "XPSSpeechModelSpecSubModelSpec", +"properties": { +"biasingModelType": { +"description": "Type of the biasing model.", +"enum": [ +"BIASING_MODEL_TYPE_UNSPECIFIED", +"COMMAND_AND_SEARCH", +"PHONE_CALL", +"VIDEO", +"DEFAULT" +], +"enumDescriptions": [ +"", +"Build biasing model on top of COMMAND_AND_SEARCH model", +"Build biasing model on top of PHONE_CALL model", +"Build biasing model on top of VIDEO model", +"Build biasing model on top of DEFAULT model" +], +"type": "string" +}, +"clientId": { +"description": "In S3, Recognition ClientContextId.client_id", +"type": "string" +}, +"contextId": { +"description": "In S3, Recognition ClientContextId.context_id", +"type": "string" +}, +"isEnhancedModel": { +"description": "If true then it means we have an enhanced version of the biasing models.", +"type": "boolean" +} +}, +"type": "object" +}, +"XPSSpeechPreprocessResponse": { +"id": "XPSSpeechPreprocessResponse", +"properties": { +"cnsTestDataPath": { +"description": "Location od shards of sstables (test data) of DataUtterance protos.", +"type": "string" +}, +"cnsTrainDataPath": { +"description": "Location of shards of sstables (training data) of DataUtterance protos.", +"type": "string" +}, +"prebuiltModelEvaluationMetrics": { +"$ref": "XPSSpeechEvaluationMetrics", +"description": "The metrics for prebuilt speech models. They are included here because there is no prebuilt speech models stored in the AutoML." +}, +"speechPreprocessStats": { +"$ref": "XPSSpeechPreprocessStats", +"description": "Stats associated with the data." +} +}, +"type": "object" +}, +"XPSSpeechPreprocessStats": { +"id": "XPSSpeechPreprocessStats", +"properties": { +"dataErrors": { +"description": "Different types of data errors and the counts associated with them.", +"items": { +"$ref": "XPSDataErrors" +}, +"type": "array" +}, +"numHumanLabeledExamples": { +"description": "The number of rows marked HUMAN_LABELLED", +"format": "int32", +"type": "integer" +}, +"numLogsExamples": { +"description": "The number of samples found in the previously recorded logs data.", +"format": "int32", +"type": "integer" +}, +"numMachineTranscribedExamples": { +"description": "The number of rows marked as MACHINE_TRANSCRIBED", +"format": "int32", +"type": "integer" +}, +"testExamplesCount": { +"description": "The number of examples labelled as TEST by Speech xps server.", +"format": "int32", +"type": "integer" +}, +"testSentencesCount": { +"description": "The number of sentences in the test data set.", +"format": "int32", +"type": "integer" +}, +"testWordsCount": { +"description": "The number of words in the test data set.", +"format": "int32", +"type": "integer" +}, +"trainExamplesCount": { +"description": "The number of examples labeled as TRAIN by Speech xps server.", +"format": "int32", +"type": "integer" +}, +"trainSentencesCount": { +"description": "The number of sentences in the training data set.", +"format": "int32", +"type": "integer" +}, +"trainWordsCount": { +"description": "The number of words in the training data set.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"XPSStringStats": { +"description": "The data statistics of a series of STRING values.", +"id": "XPSStringStats", +"properties": { +"commonStats": { +"$ref": "XPSCommonStats" +}, +"topUnigramStats": { +"description": "The statistics of the top 20 unigrams, ordered by StringStats.UnigramStats.count.", +"items": { +"$ref": "XPSStringStatsUnigramStats" +}, +"type": "array" +} +}, +"type": "object" +}, +"XPSStringStatsUnigramStats": { +"description": "The statistics of a unigram.", +"id": "XPSStringStatsUnigramStats", +"properties": { +"count": { +"description": "The number of occurrences of this unigram in the series.", +"format": "int64", +"type": "string" +}, +"value": { +"description": "The unigram.", +"type": "string" +} +}, +"type": "object" +}, +"XPSStructStats": { +"description": "The data statistics of a series of STRUCT values.", +"id": "XPSStructStats", +"properties": { +"commonStats": { +"$ref": "XPSCommonStats" +}, +"fieldStats": { +"additionalProperties": { +"$ref": "XPSDataStats" +}, +"description": "Map from a field name of the struct to data stats aggregated over series of all data in that field across all the structs.", +"type": "object" +} +}, +"type": "object" +}, +"XPSStructType": { +"description": "`StructType` defines the DataType-s of a STRUCT type.", +"id": "XPSStructType", +"properties": { +"fields": { +"additionalProperties": { +"$ref": "XPSDataType" +}, +"description": "Unordered map of struct field names to their data types.", +"type": "object" +} +}, +"type": "object" +}, +"XPSTableSpec": { +"id": "XPSTableSpec", +"properties": { +"columnSpecs": { +"additionalProperties": { +"$ref": "XPSColumnSpec" +}, +"description": "Mapping from column id to column spec.", +"type": "object" +}, +"importedDataSizeInBytes": { +"description": "The total size of imported data of the table.", +"format": "int64", +"type": "string" +}, +"rowCount": { +"description": "The number of rows in the table.", +"format": "int64", +"type": "string" +}, +"timeColumnId": { +"description": "The id of the time column.", +"format": "int32", +"type": "integer" +}, +"validRowCount": { +"description": "The number of valid rows.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"XPSTablesClassificationMetrics": { +"description": "Metrics for Tables classification problems.", +"id": "XPSTablesClassificationMetrics", +"properties": { +"curveMetrics": { +"description": "Metrics building a curve.", +"items": { +"$ref": "XPSTablesClassificationMetricsCurveMetrics" +}, +"type": "array" +} +}, +"type": "object" +}, +"XPSTablesClassificationMetricsCurveMetrics": { +"description": "Metrics curve data point for a single value.", +"id": "XPSTablesClassificationMetricsCurveMetrics", +"properties": { +"aucPr": { +"description": "The area under the precision-recall curve.", +"format": "double", +"type": "number" +}, +"aucRoc": { +"description": "The area under receiver operating characteristic curve.", +"format": "double", +"type": "number" +}, +"confidenceMetricsEntries": { +"description": "Metrics that have confidence thresholds. Precision-recall curve and ROC curve can be derived from them.", +"items": { +"$ref": "XPSTablesConfidenceMetricsEntry" +}, +"type": "array" +}, +"logLoss": { +"description": "The Log loss metric.", +"format": "double", +"type": "number" +}, +"positionThreshold": { +"description": "The position threshold value used to compute the metrics.", +"format": "int32", +"type": "integer" +}, +"value": { +"description": "The CATEGORY row value (for ARRAY unnested) the curve metrics are for.", +"type": "string" +} +}, +"type": "object" +}, +"XPSTablesConfidenceMetricsEntry": { +"description": "Metrics for a single confidence threshold.", +"id": "XPSTablesConfidenceMetricsEntry", +"properties": { +"confidenceThreshold": { +"description": "The confidence threshold value used to compute the metrics.", +"format": "double", +"type": "number" +}, +"f1Score": { +"description": "The harmonic mean of recall and precision. (2 * precision * recall) / (precision + recall)", +"format": "double", +"type": "number" +}, +"falseNegativeCount": { +"description": "False negative count.", +"format": "int64", +"type": "string" +}, +"falsePositiveCount": { +"description": "False positive count.", +"format": "int64", +"type": "string" +}, +"falsePositiveRate": { +"description": "FPR = #false positives / (#false positives + #true negatives)", +"format": "double", +"type": "number" +}, +"precision": { +"description": "Precision = #true positives / (#true positives + #false positives).", +"format": "double", +"type": "number" +}, +"recall": { +"description": "Recall = #true positives / (#true positives + #false negatives).", +"format": "double", +"type": "number" +}, +"trueNegativeCount": { +"description": "True negative count.", +"format": "int64", +"type": "string" +}, +"truePositiveCount": { +"description": "True positive count.", +"format": "int64", +"type": "string" +}, +"truePositiveRate": { +"description": "TPR = #true positives / (#true positives + #false negatvies)", +"format": "double", +"type": "number" +} +}, +"type": "object" +}, +"XPSTablesDatasetMetadata": { +"description": "Metadata for a dataset used for AutoML Tables.", +"id": "XPSTablesDatasetMetadata", +"properties": { +"mlUseColumnId": { +"description": "Id the column to split the table.", +"format": "int32", +"type": "integer" +}, +"primaryTableSpec": { +"$ref": "XPSTableSpec", +"description": "Primary table." +}, +"targetColumnCorrelations": { +"additionalProperties": { +"$ref": "XPSCorrelationStats" +}, +"description": "(the column id : its CorrelationStats with target column).", +"type": "object" +}, +"targetColumnId": { +"description": "Id of the primary table column that should be used as the training label.", +"format": "int32", +"type": "integer" +}, +"weightColumnId": { +"description": "Id of the primary table column that should be used as the weight column.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"XPSTablesEvaluationMetrics": { +"id": "XPSTablesEvaluationMetrics", +"properties": { +"classificationMetrics": { +"$ref": "XPSTablesClassificationMetrics", +"description": "Classification metrics." +}, +"regressionMetrics": { +"$ref": "XPSTablesRegressionMetrics", +"description": "Regression metrics." +} +}, +"type": "object" +}, +"XPSTablesModelColumnInfo": { +"description": "An information specific to given column and Tables Model, in context of the Model and the predictions created by it.", +"id": "XPSTablesModelColumnInfo", +"properties": { +"columnId": { +"description": "The ID of the column.", +"format": "int32", +"type": "integer" +}, +"featureImportance": { +"description": "When given as part of a Model: Measurement of how much model predictions correctness on the TEST data depend on values in this column. A value between 0 and 1, higher means higher influence. These values are normalized - for all input feature columns of a given model they add to 1. When given back by Predict or Batch Predict: Measurement of how impactful for the prediction returned for the given row the value in this column was. Specifically, the feature importance specifies the marginal contribution that the feature made to the prediction score compared to the baseline score. These values are computed using the Sampled Shapley method.", +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"XPSTablesModelStructure": { +"description": "A description of Tables model structure.", +"id": "XPSTablesModelStructure", +"properties": { +"modelParameters": { +"description": "A list of models.", +"items": { +"$ref": "XPSTablesModelStructureModelParameters" +}, +"type": "array" +} +}, +"type": "object" +}, +"XPSTablesModelStructureModelParameters": { +"description": "Model hyper-parameters for a model.", +"id": "XPSTablesModelStructureModelParameters", +"properties": { +"hyperparameters": { +"items": { +"$ref": "XPSTablesModelStructureModelParametersParameter" +}, +"type": "array" +} +}, +"type": "object" +}, +"XPSTablesModelStructureModelParametersParameter": { +"id": "XPSTablesModelStructureModelParametersParameter", +"properties": { +"floatValue": { +"description": "Float type parameter value.", +"format": "double", +"type": "number" +}, +"intValue": { +"description": "Integer type parameter value.", +"format": "int64", +"type": "string" +}, +"name": { +"description": "Parameter name.", +"type": "string" +}, +"stringValue": { +"description": "String type parameter value.", +"type": "string" +} +}, +"type": "object" +}, +"XPSTablesPreprocessResponse": { +"id": "XPSTablesPreprocessResponse", +"properties": { +"tablesDatasetMetadata": { +"$ref": "XPSTablesDatasetMetadata", +"description": "The table/column id, column_name and the DataTypes of the columns will be populated." +} +}, +"type": "object" +}, +"XPSTablesRegressionMetrics": { +"description": "Metrics for Tables regression problems.", +"id": "XPSTablesRegressionMetrics", +"properties": { +"meanAbsoluteError": { +"description": "Mean absolute error.", +"format": "double", +"type": "number" +}, +"meanAbsolutePercentageError": { +"description": "Mean absolute percentage error, only set if all of the target column's values are positive.", +"format": "double", +"type": "number" +}, +"rSquared": { +"description": "R squared.", +"format": "double", +"type": "number" +}, +"regressionMetricsEntries": { +"description": "A list of actual versus predicted points for the model being evaluated.", +"items": { +"$ref": "XPSRegressionMetricsEntry" +}, +"type": "array" +}, +"rootMeanSquaredError": { +"description": "Root mean squared error.", +"format": "double", +"type": "number" +}, +"rootMeanSquaredLogError": { +"description": "Root mean squared log error.", +"format": "double", +"type": "number" +} +}, +"type": "object" +}, +"XPSTablesTrainResponse": { +"id": "XPSTablesTrainResponse", +"properties": { +"modelStructure": { +"$ref": "XPSTablesModelStructure" +}, +"predictionSampleRows": { +"description": "Sample rows from the dataset this model was trained.", +"items": { +"$ref": "XPSRow" +}, +"type": "array" +}, +"tablesModelColumnInfo": { +"description": "Output only. Auxiliary information for each of the input_feature_column_specs, with respect to this particular model.", +"items": { +"$ref": "XPSTablesModelColumnInfo" +}, +"type": "array" +}, +"trainCostMilliNodeHours": { +"description": "The actual training cost of the model, expressed in milli node hours, i.e. 1,000 value in this field means 1 node hour. Guaranteed to not exceed the train budget.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"XPSTablesTrainingOperationMetadata": { +"id": "XPSTablesTrainingOperationMetadata", +"properties": { +"createModelStage": { +"description": "Current stage of creating model.", +"enum": [ +"CREATE_MODEL_STAGE_UNSPECIFIED", +"DATA_PREPROCESSING", +"TRAINING", +"EVALUATING", +"MODEL_POST_PROCESSING" +], +"enumDescriptions": [ +"Unspecified stage.", +"Prepare the model training pipeline and run data processing.", +"Training model.", +"Run evaluation.", +"Finalizing model training pipeline." +], +"type": "string" +}, +"optimizationObjective": { +"description": "The optimization objective for model.", +"type": "string" +}, +"topTrials": { +"description": "This field is for training. When the operation is terminated successfully, AutoML Backend post this field to operation metadata in spanner. If the metadata has no trials returned, the training operation is supposed to be a failure.", +"items": { +"$ref": "XPSTuningTrial" +}, +"type": "array" +}, +"trainBudgetMilliNodeHours": { +"description": "Creating model budget.", +"format": "int64", +"type": "string" +}, +"trainingObjectivePoints": { +"description": "This field records the training objective value with respect to time, giving insight into how the model architecture search is performing as training time elapses.", +"items": { +"$ref": "XPSTrainingObjectivePoint" +}, +"type": "array" +}, +"trainingStartTime": { +"description": "Timestamp when training process starts.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"XPSTextComponentModel": { +"description": "Component model.", +"id": "XPSTextComponentModel", +"properties": { +"batchPredictionModelGcsUri": { +"description": "The Cloud Storage resource path to hold batch prediction model.", +"type": "string" +}, +"onlinePredictionModelGcsUri": { +"description": "The Cloud Storage resource path to hold online prediction model.", +"type": "string" +}, +"partition": { +"description": "The partition where the model is deployed. Populated by uCAIP BE as part of online PredictRequest.", +"enum": [ +"PARTITION_TYPE_UNSPECIFIED", +"PARTITION_ZERO", +"PARTITION_REDUCED_HOMING", +"PARTITION_JELLYFISH", +"PARTITION_CPU", +"PARTITION_CUSTOM_STORAGE_CPU" +], +"enumDescriptions": [ +"", +"The default partition.", +"It has significantly lower replication than partition-0 and is located in the US only. It also has a larger model size limit and higher default RAM quota than partition-0. Customers with batch traffic, US-based traffic, or very large models should use this partition. Capacity in this partition is significantly cheaper than partition-0.", +"To be used by customers with Jellyfish-accelerated ops.", +"The partition used by regionalized servomatic cloud regions.", +"The partition used for loading models from custom storage." +], +"type": "string" +}, +"servingArtifact": { +"$ref": "XPSModelArtifactItem", +"description": "The default model binary file used for serving (e.g. online predict, batch predict) via public Cloud Ai Platform API." +}, +"servoModelName": { +"description": "The name of servo model. Populated by uCAIP BE as part of online PredictRequest.", +"type": "string" +}, +"submodelName": { +"description": "The name of the trained NL submodel.", +"type": "string" +}, +"submodelType": { +"description": "The type of trained NL submodel", +"enum": [ +"TEXT_MODEL_TYPE_UNSPECIFIED", +"TEXT_MODEL_TYPE_DEFAULT", +"TEXT_MODEL_TYPE_META_ARCHITECT", +"TEXT_MODEL_TYPE_ATC", +"TEXT_MODEL_TYPE_CLARA2", +"TEXT_MODEL_TYPE_CHATBASE", +"TEXT_MODEL_TYPE_SAFT_SPAN_LABELING", +"TEXT_MODEL_TYPE_TEXT_EXTRACTION", +"TEXT_MODEL_TYPE_RELATIONSHIP_EXTRACTION", +"TEXT_MODEL_TYPE_COMPOSITE", +"TEXT_MODEL_TYPE_ALL_MODELS", +"TEXT_MODEL_TYPE_BERT", +"TEXT_MODEL_TYPE_ENC_PALM" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"", +"", +"Model type for entity extraction.", +"Model type for relationship extraction.", +"A composite model represents a set of component models that have to be used together for prediction. A composite model appears to be a single model to the model user. It may contain only one component model.", +"Model type used to train default, MA, and ATC models in a single batch worker pipeline.", +"BERT pipeline needs a specific model type, since it uses a different TFX configuration compared with DEFAULT (despite sharing most of the code).", +"Model type for EncPaLM." +], +"type": "string" +}, +"tfRuntimeVersion": { +"description": "## The fields below are only populated under uCAIP request scope. https://cloud.google.com/ml-engine/docs/runtime-version-list", +"type": "string" +}, +"versionNumber": { +"description": "The servomatic model version number. Populated by uCAIP BE as part of online PredictRequest.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"XPSTextExtractionEvaluationMetrics": { +"id": "XPSTextExtractionEvaluationMetrics", +"properties": { +"bestF1ConfidenceMetrics": { +"$ref": "XPSConfidenceMetricsEntry", +"deprecated": true, +"description": "Values are at the highest F1 score on the precision-recall curve. Only confidence_threshold, recall, precision, and f1_score will be set." +}, +"confidenceMetricsEntries": { +"description": "If the enclosing EvaluationMetrics.label is empty, confidence_metrics_entries is an evaluation of the entire model across all labels. If the enclosing EvaluationMetrics.label is set, confidence_metrics_entries applies to that label.", +"items": { +"$ref": "XPSConfidenceMetricsEntry" +}, +"type": "array" +}, +"confusionMatrix": { +"$ref": "XPSConfusionMatrix", +"description": "Confusion matrix of the model, at the default confidence threshold (0.0). Only set for whole-model evaluation, not for evaluation per label." +}, +"perLabelConfidenceMetrics": { +"additionalProperties": { +"$ref": "XPSConfidenceMetricsEntry" +}, +"deprecated": true, +"description": "Only recall, precision, and f1_score will be set.", +"type": "object" +} +}, +"type": "object" +}, +"XPSTextSentimentEvaluationMetrics": { +"description": "Model evaluation metrics for text sentiment problems.", +"id": "XPSTextSentimentEvaluationMetrics", +"properties": { +"confusionMatrix": { +"$ref": "XPSConfusionMatrix", +"description": "Output only. Confusion matrix of the evaluation. Only set for the overall model evaluation, not for evaluation of a single annotation spec." +}, +"f1Score": { +"description": "Output only. The harmonic mean of recall and precision.", +"format": "float", +"type": "number" +}, +"linearKappa": { +"description": "Output only. Linear weighted kappa. Only set for the overall model evaluation, not for evaluation of a single annotation spec.", +"format": "float", +"type": "number" +}, +"meanAbsoluteError": { +"description": "Output only. Mean absolute error. Only set for the overall model evaluation, not for evaluation of a single annotation spec.", +"format": "float", +"type": "number" +}, +"meanSquaredError": { +"description": "Output only. Mean squared error. Only set for the overall model evaluation, not for evaluation of a single annotation spec.", +"format": "float", +"type": "number" +}, +"precision": { +"description": "Output only. Precision.", +"format": "float", +"type": "number" +}, +"quadraticKappa": { +"description": "Output only. Quadratic weighted kappa. Only set for the overall model evaluation, not for evaluation of a single annotation spec.", +"format": "float", +"type": "number" +}, +"recall": { +"description": "Output only. Recall.", +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"XPSTextToSpeechTrainResponse": { +"description": "TextToSpeech train response", +"id": "XPSTextToSpeechTrainResponse", +"properties": {}, +"type": "object" +}, +"XPSTextTrainResponse": { +"id": "XPSTextTrainResponse", +"properties": { +"componentModel": { +"description": "Component submodels.", +"items": { +"$ref": "XPSTextComponentModel" +}, +"type": "array" +} +}, +"type": "object" +}, +"XPSTfJsFormat": { +"description": "A [TensorFlow.js](https://www.tensorflow.org/js) model that can be used in the browser and in Node.js using JavaScript.", +"id": "XPSTfJsFormat", +"properties": {}, +"type": "object" +}, +"XPSTfLiteFormat": { +"description": "LINT.IfChange A model format used for mobile and IoT devices. See https://www.tensorflow.org/lite.", +"id": "XPSTfLiteFormat", +"properties": {}, +"type": "object" +}, +"XPSTfSavedModelFormat": { +"description": "A tensorflow model format in SavedModel format.", +"id": "XPSTfSavedModelFormat", +"properties": {}, +"type": "object" +}, +"XPSTimestampStats": { +"description": "The data statistics of a series of TIMESTAMP values.", +"id": "XPSTimestampStats", +"properties": { +"commonStats": { +"$ref": "XPSCommonStats" +}, +"granularStats": { +"additionalProperties": { +"$ref": "XPSTimestampStatsGranularStats" +}, +"description": "The string key is the pre-defined granularity. Currently supported: hour_of_day, day_of_week, month_of_year. Granularities finer that the granularity of timestamp data are not populated (e.g. if timestamps are at day granularity, then hour_of_day is not populated).", +"type": "object" +}, +"medianTimestampNanos": { +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"XPSTimestampStatsGranularStats": { +"description": "Stats split by a defined in context granularity.", +"id": "XPSTimestampStatsGranularStats", +"properties": { +"buckets": { +"additionalProperties": { +"format": "int64", +"type": "string" +}, +"description": "A map from granularity key to example count for that key. E.g. for hour_of_day `13` means 1pm, or for month_of_year `5` means May).", +"type": "object" +} +}, +"type": "object" +}, +"XPSTrackMetricsEntry": { +"description": "Track matching model metrics for a single track match threshold and multiple label match confidence thresholds. Next tag: 6.", +"id": "XPSTrackMetricsEntry", +"properties": { +"confidenceMetricsEntries": { +"description": "Output only. Metrics for each label-match confidence_threshold from 0.05,0.10,...,0.95,0.96,0.97,0.98,0.99. Precision-recall curve is derived from them.", +"items": { +"$ref": "XPSTrackMetricsEntryConfidenceMetricsEntry" +}, +"type": "array" +}, +"iouThreshold": { +"description": "Output only. The intersection-over-union threshold value between bounding boxes across frames used to compute this metric entry.", +"format": "float", +"type": "number" +}, +"meanBoundingBoxIou": { +"description": "Output only. The mean bounding box iou over all confidence thresholds.", +"format": "float", +"type": "number" +}, +"meanMismatchRate": { +"description": "Output only. The mean mismatch rate over all confidence thresholds.", +"format": "float", +"type": "number" +}, +"meanTrackingAveragePrecision": { +"description": "Output only. The mean average precision over all confidence thresholds.", +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"XPSTrackMetricsEntryConfidenceMetricsEntry": { +"description": "Metrics for a single confidence threshold. Next tag: 6.", +"id": "XPSTrackMetricsEntryConfidenceMetricsEntry", +"properties": { +"boundingBoxIou": { +"description": "Output only. Bounding box intersection-over-union precision. Measures how well the bounding boxes overlap between each other (e.g. complete overlap or just barely above iou_threshold).", +"format": "float", +"type": "number" +}, +"confidenceThreshold": { +"description": "Output only. The confidence threshold value used to compute the metrics.", +"format": "float", +"type": "number" +}, +"mismatchRate": { +"description": "Output only. Mismatch rate, which measures the tracking consistency, i.e. correctness of instance ID continuity.", +"format": "float", +"type": "number" +}, +"trackingPrecision": { +"description": "Output only. Tracking precision.", +"format": "float", +"type": "number" +}, +"trackingRecall": { +"description": "Output only. Tracking recall.", +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"XPSTrainResponse": { +"id": "XPSTrainResponse", +"properties": { +"deployedModelSizeBytes": { +"description": "Estimated model size in bytes once deployed.", +"format": "int64", +"type": "string" +}, +"errorAnalysisConfigs": { +"description": "Optional vision model error analysis configuration. The field is set when model error analysis is enabled in the training request. The results of error analysis will be binded together with evaluation results (in the format of AnnotatedExample).", +"items": { +"$ref": "XPSVisionErrorAnalysisConfig" +}, +"type": "array" +}, +"evaluatedExampleSet": { +"$ref": "XPSExampleSet", +"description": "Examples used to evaluate the model (usually the test set), with the predicted annotations. The file_spec should point to recordio file(s) of AnnotatedExample. For each returned example, the example_id_token and annotations predicted by the model must be set. The example payload can and is recommended to be omitted." +}, +"evaluationMetricsSet": { +"$ref": "XPSEvaluationMetricsSet", +"description": "The trained model evaluation metrics. This can be optionally returned." +}, +"explanationConfigs": { +"deprecated": true, +"description": "VisionExplanationConfig for XAI on test set. Optional for when XAI is enable in training request.", +"items": { +"$ref": "XPSResponseExplanationSpec" +}, +"type": "array" +}, +"imageClassificationTrainResp": { +"$ref": "XPSImageClassificationTrainResponse" +}, +"imageObjectDetectionTrainResp": { +"$ref": "XPSImageObjectDetectionModelSpec" +}, +"imageSegmentationTrainResp": { +"$ref": "XPSImageSegmentationTrainResponse" +}, +"modelToken": { +"description": "Token that represents the trained model. This is considered immutable and is persisted in AutoML. xPS can put their own proto in the byte string, to e.g. point to the model checkpoints. The token is passed to other xPS APIs to refer to the model.", +"format": "byte", +"type": "string" +}, +"speechTrainResp": { +"$ref": "XPSSpeechModelSpec" +}, +"tablesTrainResp": { +"$ref": "XPSTablesTrainResponse" +}, +"textToSpeechTrainResp": { +"$ref": "XPSTextToSpeechTrainResponse" +}, +"textTrainResp": { +"$ref": "XPSTextTrainResponse", +"description": "Will only be needed for uCAIP from Beta." +}, +"translationTrainResp": { +"$ref": "XPSTranslationTrainResponse" +}, +"videoActionRecognitionTrainResp": { +"$ref": "XPSVideoActionRecognitionTrainResponse" +}, +"videoClassificationTrainResp": { +"$ref": "XPSVideoClassificationTrainResponse" +}, +"videoObjectTrackingTrainResp": { +"$ref": "XPSVideoObjectTrackingTrainResponse" +} +}, +"type": "object" +}, +"XPSTrainingObjectivePoint": { +"id": "XPSTrainingObjectivePoint", +"properties": { +"createTime": { +"description": "The time at which this point was recorded.", +"format": "google-datetime", +"type": "string" +}, +"value": { +"description": "The objective value when this point was recorded.", +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"XPSTranslationEvaluationMetrics": { +"description": "Evaluation metrics for the dataset.", +"id": "XPSTranslationEvaluationMetrics", +"properties": { +"baseBleuScore": { +"description": "BLEU score for base model.", +"format": "double", +"type": "number" +}, +"bleuScore": { +"description": "BLEU score.", +"format": "double", +"type": "number" +} +}, +"type": "object" +}, +"XPSTranslationPreprocessResponse": { +"description": "Translation preprocess response.", +"id": "XPSTranslationPreprocessResponse", +"properties": { +"parsedExampleCount": { +"description": "Total example count parsed.", +"format": "int64", +"type": "string" +}, +"validExampleCount": { +"description": "Total valid example count.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"XPSTranslationTrainResponse": { +"description": "Train response for translation.", +"id": "XPSTranslationTrainResponse", +"properties": { +"modelType": { +"description": "Type of the model.", +"enum": [ +"MODEL_TYPE_UNSPECIFIED", +"LEGACY", +"CURRENT" +], +"enumDescriptions": [ +"Default", +"Legacy model. Will be deprecated.", +"Current model." +], +"type": "string" +} +}, +"type": "object" +}, +"XPSTuningTrial": { +"description": "Metrics for a tuning job generated, will get forwarded to Stackdriver as model tuning logs. Setting this as a standalone message out of CreateModelMetadata to avoid confusion as we expose this message only to users.", +"id": "XPSTuningTrial", +"properties": { +"modelStructure": { +"$ref": "XPSTablesModelStructure", +"description": "Model parameters for the trial." +}, +"trainingObjectivePoint": { +"$ref": "XPSTrainingObjectivePoint", +"description": "The optimization objective evaluation of the eval split data." +} +}, +"type": "object" +}, +"XPSVideoActionMetricsEntry": { +"description": "The Evaluation metrics entry given a specific precision_window_length.", +"id": "XPSVideoActionMetricsEntry", +"properties": { +"confidenceMetricsEntries": { +"description": "Metrics for each label-match confidence_threshold from 0.05,0.10,...,0.95,0.96,0.97,0.98,0.99.", +"items": { +"$ref": "XPSVideoActionMetricsEntryConfidenceMetricsEntry" +}, +"type": "array" +}, +"meanAveragePrecision": { +"description": "The mean average precision.", +"format": "float", +"type": "number" +}, +"precisionWindowLength": { +"description": "This VideoActionMetricsEntry is calculated based on this prediction window length. If the predicted action's timestamp is inside the time window whose center is the ground truth action's timestamp with this specific length, the prediction result is treated as a true positive.", +"format": "google-duration", +"type": "string" +} +}, +"type": "object" +}, +"XPSVideoActionMetricsEntryConfidenceMetricsEntry": { +"description": "Metrics for a single confidence threshold.", +"id": "XPSVideoActionMetricsEntryConfidenceMetricsEntry", +"properties": { +"confidenceThreshold": { +"description": "Output only. The confidence threshold value used to compute the metrics.", +"format": "float", +"type": "number" +}, +"f1Score": { +"description": "Output only. The harmonic mean of recall and precision.", +"format": "float", +"type": "number" +}, +"precision": { +"description": "Output only. Precision for the given confidence threshold.", +"format": "float", +"type": "number" +}, +"recall": { +"description": "Output only. Recall for the given confidence threshold.", +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"XPSVideoActionRecognitionEvaluationMetrics": { +"description": "Model evaluation metrics for video action recognition.", +"id": "XPSVideoActionRecognitionEvaluationMetrics", +"properties": { +"evaluatedActionCount": { +"description": "Output only. The number of ground truth actions used to create this evaluation.", +"format": "int32", +"type": "integer" +}, +"videoActionMetricsEntries": { +"description": "Output only. The metric entries for precision window lengths: 1s,2s,3s,4s, 5s.", +"items": { +"$ref": "XPSVideoActionMetricsEntry" +}, +"type": "array" +} +}, +"type": "object" +}, +"XPSVideoActionRecognitionTrainResponse": { +"id": "XPSVideoActionRecognitionTrainResponse", +"properties": { +"modelArtifactSpec": { +"$ref": "XPSVideoModelArtifactSpec", +"description": "## The fields below are only populated under uCAIP request scope." +}, +"trainCostNodeSeconds": { +"description": "The actual train cost of creating this model, expressed in node seconds, i.e. 3,600 value in this field means 1 node hour.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"XPSVideoBatchPredictOperationMetadata": { +"id": "XPSVideoBatchPredictOperationMetadata", +"properties": { +"outputExamples": { +"description": "All the partial batch prediction results that are completed at the moment. Output examples are sorted by completion time. The order will not be changed. Each output example should be the path of a single RecordIO file of AnnotatedExamples.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"XPSVideoClassificationTrainResponse": { +"id": "XPSVideoClassificationTrainResponse", +"properties": { +"modelArtifactSpec": { +"$ref": "XPSVideoModelArtifactSpec", +"description": "## The fields below are only populated under uCAIP request scope." +}, +"trainCostNodeSeconds": { +"description": "The actual train cost of creating this model, expressed in node seconds, i.e. 3,600 value in this field means 1 node hour.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"XPSVideoExportModelSpec": { +"description": "Information of downloadable models that are pre-generated as part of training flow and will be persisted in AutoMl backend. Upon receiving ExportModel request from user, AutoMl backend can serve the pre-generated models to user if exists (by copying the files from internal path to user provided location), otherwise, AutoMl backend will call xPS ExportModel API to generate the model on the fly with the requesting format.", +"id": "XPSVideoExportModelSpec", +"properties": { +"exportModelOutputConfig": { +"description": "Contains the model format and internal location of the model files to be exported/downloaded. Use the Google Cloud Storage bucket name which is provided via TrainRequest.gcs_bucket_name to store the model files.", +"items": { +"$ref": "XPSExportModelOutputConfig" +}, +"type": "array" +} +}, +"type": "object" +}, +"XPSVideoModelArtifactSpec": { +"id": "XPSVideoModelArtifactSpec", +"properties": { +"exportArtifact": { +"description": "The model binary files in different formats for model export.", +"items": { +"$ref": "XPSModelArtifactItem" +}, +"type": "array" +}, +"servingArtifact": { +"$ref": "XPSModelArtifactItem", +"description": "The default model binary file used for serving (e.g. batch predict) via public Cloud AI Platform API." +} +}, +"type": "object" +}, +"XPSVideoObjectTrackingEvaluationMetrics": { +"description": "Model evaluation metrics for ObjectTracking problems. Next tag: 10.", +"id": "XPSVideoObjectTrackingEvaluationMetrics", +"properties": { +"boundingBoxMeanAveragePrecision": { +"description": "Output only. The single metric for bounding boxes evaluation: the mean_average_precision averaged over all bounding_box_metrics_entries.", +"format": "float", +"type": "number" +}, +"boundingBoxMetricsEntries": { +"description": "Output only. The bounding boxes match metrics for each Intersection-over-union threshold 0.05,0.10,...,0.95,0.96,0.97,0.98,0.99.", +"items": { +"$ref": "XPSBoundingBoxMetricsEntry" +}, +"type": "array" +}, +"evaluatedBoundingboxCount": { +"description": "The number of bounding boxes used for model evaluation.", +"format": "int32", +"type": "integer" +}, +"evaluatedFrameCount": { +"description": "The number of video frames used for model evaluation.", +"format": "int32", +"type": "integer" +}, +"evaluatedTrackCount": { +"description": "The number of tracks used for model evaluation.", +"format": "int32", +"type": "integer" +}, +"trackMeanAveragePrecision": { +"description": "Output only. The single metric for tracks accuracy evaluation: the mean_average_precision averaged over all track_metrics_entries.", +"format": "float", +"type": "number" +}, +"trackMeanBoundingBoxIou": { +"description": "Output only. The single metric for tracks bounding box iou evaluation: the mean_bounding_box_iou averaged over all track_metrics_entries.", +"format": "float", +"type": "number" +}, +"trackMeanMismatchRate": { +"description": "Output only. The single metric for tracking consistency evaluation: the mean_mismatch_rate averaged over all track_metrics_entries.", +"format": "float", +"type": "number" +}, +"trackMetricsEntries": { +"description": "Output only. The tracks match metrics for each Intersection-over-union threshold 0.05,0.10,...,0.95,0.96,0.97,0.98,0.99.", +"items": { +"$ref": "XPSTrackMetricsEntry" +}, +"type": "array" +} +}, +"type": "object" +}, +"XPSVideoObjectTrackingTrainResponse": { +"id": "XPSVideoObjectTrackingTrainResponse", +"properties": { +"exportModelSpec": { +"$ref": "XPSVideoExportModelSpec", +"description": "Populated for AutoML request only." +}, +"modelArtifactSpec": { +"$ref": "XPSVideoModelArtifactSpec", +"description": "## The fields below are only populated under uCAIP request scope." +}, +"trainCostNodeSeconds": { +"description": "The actual train cost of creating this model, expressed in node seconds, i.e. 3,600 value in this field means 1 node hour.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"XPSVideoTrainingOperationMetadata": { +"id": "XPSVideoTrainingOperationMetadata", +"properties": { +"trainCostMilliNodeHour": { +"description": "This is an estimation of the node hours necessary for training a model, expressed in milli node hours (i.e. 1,000 value in this field means 1 node hour). A node hour represents the time a virtual machine spends running your training job. The cost of one node running for one hour is a node hour.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"XPSVisionErrorAnalysisConfig": { +"description": "The vision model error analysis configuration. Next tag: 3", +"id": "XPSVisionErrorAnalysisConfig", +"properties": { +"exampleCount": { +"description": "The number of query examples in error analysis.", +"format": "int32", +"type": "integer" +}, +"queryType": { +"description": "The query type used in retrieval. The enum values are frozen in the foreseeable future.", +"enum": [ +"QUERY_TYPE_UNSPECIFIED", +"QUERY_TYPE_ALL_SIMILAR", +"QUERY_TYPE_SAME_CLASS_SIMILAR", +"QUERY_TYPE_SAME_CLASS_DISSIMILAR" +], +"enumDescriptions": [ +"Unspecified query type for model error analysis.", +"Query similar samples across all classes in the dataset.", +"Query similar samples from the same class of the input sample.", +"Query dissimilar samples from the same class of the input sample." +], +"type": "string" +} +}, +"type": "object" +}, +"XPSVisionTrainingOperationMetadata": { +"deprecated": true, +"id": "XPSVisionTrainingOperationMetadata", +"properties": { +"explanationUsage": { +"$ref": "InfraUsage", +"description": "Aggregated infra usage within certain time period, for billing report purpose if XAI is enable in training request." +} +}, +"type": "object" +}, +"XPSVisualization": { +"deprecated": true, +"description": "Visualization configurations for image explanation.", +"id": "XPSVisualization", +"properties": { +"clipPercentLowerbound": { +"description": "Excludes attributions below the specified percentile, from the highlighted areas. Defaults to 62.", +"format": "float", +"type": "number" +}, +"clipPercentUpperbound": { +"description": "Excludes attributions above the specified percentile from the highlighted areas. Using the clip_percent_upperbound and clip_percent_lowerbound together can be useful for filtering out noise and making it easier to see areas of strong attribution. Defaults to 99.9.", +"format": "float", +"type": "number" +}, +"colorMap": { +"description": "The color scheme used for the highlighted areas. Defaults to PINK_GREEN for Integrated Gradients attribution, which shows positive attributions in green and negative in pink. Defaults to VIRIDIS for XRAI attribution, which highlights the most influential regions in yellow and the least influential in blue.", +"enum": [ +"COLOR_MAP_UNSPECIFIED", +"PINK_GREEN", +"VIRIDIS", +"RED", +"GREEN", +"RED_GREEN", +"PINK_WHITE_GREEN" +], +"enumDescriptions": [ +"Should not be used.", +"Positive: green. Negative: pink.", +"Viridis color map: A perceptually uniform color mapping which is easier to see by those with colorblindness and progresses from yellow to green to blue. Positive: yellow. Negative: blue.", +"Positive: red. Negative: red.", +"Positive: green. Negative: green.", +"Positive: green. Negative: red.", +"PiYG palette." +], +"type": "string" +}, +"overlayType": { +"description": "How the original image is displayed in the visualization. Adjusting the overlay can help increase visual clarity if the original image makes it difficult to view the visualization. Defaults to NONE.", +"enum": [ +"OVERLAY_TYPE_UNSPECIFIED", +"NONE", +"ORIGINAL", +"GRAYSCALE", +"MASK_BLACK" +], +"enumDescriptions": [ +"Default value. This is the same as NONE.", +"No overlay.", +"The attributions are shown on top of the original image.", +"The attributions are shown on top of grayscaled version of the original image.", +"The attributions are used as a mask to reveal predictive parts of the image and hide the un-predictive parts." +], +"type": "string" +}, +"polarity": { +"description": "Whether to only highlight pixels with positive contributions, negative or both. Defaults to POSITIVE.", +"enum": [ +"POLARITY_UNSPECIFIED", +"POSITIVE", +"NEGATIVE", +"BOTH" +], +"enumDescriptions": [ +"Default value. This is the same as POSITIVE.", +"Highlights the pixels/outlines that were most influential to the model's prediction.", +"Setting polarity to negative highlights areas that does not lead to the models's current prediction.", +"Shows both positive and negative attributions." +], +"type": "string" +}, +"type": { +"description": "Type of the image visualization. Only applicable to Integrated Gradients attribution. OUTLINES shows regions of attribution, while PIXELS shows per-pixel attribution. Defaults to OUTLINES.", +"enum": [ +"TYPE_UNSPECIFIED", +"PIXELS", +"OUTLINES" +], +"enumDescriptions": [ +"Should not be used.", +"Shows which pixel contributed to the image prediction.", +"Shows which region contributed to the image prediction by outlining the region." +], +"type": "string" +} +}, +"type": "object" +}, +"XPSXpsOperationMetadata": { +"id": "XPSXpsOperationMetadata", +"properties": { +"exampleCount": { +"description": "Optional. XPS server can opt to provide example count of the long running operation (e.g. training, data importing, batch prediction).", +"format": "int64", +"type": "string" +}, +"reportingMetrics": { +"$ref": "XPSReportingMetrics", +"description": "Metrics for the operation. By the time the operation is terminated (whether succeeded or failed) as returned from XPS, AutoML BE assumes the metrics are finalized. AutoML BE transparently posts the metrics to Chemist if it's not empty, regardless of the response content or error type. If user is supposed to be charged in case of cancellation/error, this field should be set. In the case where the type of LRO doesn't require any billing, this field should be left unset." +}, +"tablesTrainingOperationMetadata": { +"$ref": "XPSTablesTrainingOperationMetadata" +}, +"videoBatchPredictOperationMetadata": { +"$ref": "XPSVideoBatchPredictOperationMetadata" +}, +"videoTrainingOperationMetadata": { +"$ref": "XPSVideoTrainingOperationMetadata" +}, +"visionTrainingOperationMetadata": { +"$ref": "XPSVisionTrainingOperationMetadata" +} +}, +"type": "object" +}, +"XPSXraiAttribution": { +"deprecated": true, +"description": "An explanation method that redistributes Integrated Gradients attributions to segmented regions, taking advantage of the model's fully differentiable structure. Refer to this paper for more details: https://arxiv.org/abs/1906.02825 Only supports image Models (modality is IMAGE).", +"id": "XPSXraiAttribution", +"properties": { +"stepCount": { +"description": "The number of steps for approximating the path integral. A good value to start is 50 and gradually increase until the sum to diff property is met within the desired error range. Valid range of its value is [1, 100], inclusively.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +} +}, +"servicePath": "", +"title": "Cloud Natural Language API", +"version": "v1beta2", +"version_module": true +} \ No newline at end of file diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/language.v2.json b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/language.v2.json new file mode 100644 index 0000000000000000000000000000000000000000..5520afc77ce66f2c42a6639581fe8f79ba21f93f --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/language.v2.json @@ -0,0 +1,5402 @@ +{ +"auth": { +"oauth2": { +"scopes": { +"https://www.googleapis.com/auth/cloud-language": { +"description": "Apply machine learning models to reveal the structure and meaning of text" +}, +"https://www.googleapis.com/auth/cloud-platform": { +"description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." +} +} +} +}, +"basePath": "", +"baseUrl": "https://language.googleapis.com/", +"batchPath": "batch", +"canonicalName": "Cloud Natural Language", +"description": "Provides natural language understanding technologies, such as sentiment analysis, entity recognition, entity sentiment analysis, and other text annotations, to developers.", +"discoveryVersion": "v1", +"documentationLink": "https://cloud.google.com/natural-language/", +"fullyEncodeReservedExpansion": true, +"icons": { +"x16": "http://www.google.com/images/icons/product/search-16.gif", +"x32": "http://www.google.com/images/icons/product/search-32.gif" +}, +"id": "language:v2", +"kind": "discovery#restDescription", +"mtlsRootUrl": "https://language.mtls.googleapis.com/", +"name": "language", +"ownerDomain": "google.com", +"ownerName": "Google", +"parameters": { +"$.xgafv": { +"description": "V1 error format.", +"enum": [ +"1", +"2" +], +"enumDescriptions": [ +"v1 error format", +"v2 error format" +], +"location": "query", +"type": "string" +}, +"access_token": { +"description": "OAuth access token.", +"location": "query", +"type": "string" +}, +"alt": { +"default": "json", +"description": "Data format for response.", +"enum": [ +"json", +"media", +"proto" +], +"enumDescriptions": [ +"Responses with Content-Type of application/json", +"Media download with context-dependent Content-Type", +"Responses with Content-Type of application/x-protobuf" +], +"location": "query", +"type": "string" +}, +"callback": { +"description": "JSONP", +"location": "query", +"type": "string" +}, +"fields": { +"description": "Selector specifying which fields to include in a partial response.", +"location": "query", +"type": "string" +}, +"key": { +"description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", +"location": "query", +"type": "string" +}, +"oauth_token": { +"description": "OAuth 2.0 token for the current user.", +"location": "query", +"type": "string" +}, +"prettyPrint": { +"default": "true", +"description": "Returns response with indentations and line breaks.", +"location": "query", +"type": "boolean" +}, +"quotaUser": { +"description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.", +"location": "query", +"type": "string" +}, +"uploadType": { +"description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", +"location": "query", +"type": "string" +}, +"upload_protocol": { +"description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", +"location": "query", +"type": "string" +} +}, +"protocol": "rest", +"resources": { +"documents": { +"methods": { +"analyzeEntities": { +"description": "Finds named entities (currently proper names and common nouns) in the text along with entity types, probability, mentions for each entity, and other properties.", +"flatPath": "v2/documents:analyzeEntities", +"httpMethod": "POST", +"id": "language.documents.analyzeEntities", +"parameterOrder": [], +"parameters": {}, +"path": "v2/documents:analyzeEntities", +"request": { +"$ref": "AnalyzeEntitiesRequest" +}, +"response": { +"$ref": "AnalyzeEntitiesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-language", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"analyzeSentiment": { +"description": "Analyzes the sentiment of the provided text.", +"flatPath": "v2/documents:analyzeSentiment", +"httpMethod": "POST", +"id": "language.documents.analyzeSentiment", +"parameterOrder": [], +"parameters": {}, +"path": "v2/documents:analyzeSentiment", +"request": { +"$ref": "AnalyzeSentimentRequest" +}, +"response": { +"$ref": "AnalyzeSentimentResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-language", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"annotateText": { +"description": "A convenience method that provides all features in one call.", +"flatPath": "v2/documents:annotateText", +"httpMethod": "POST", +"id": "language.documents.annotateText", +"parameterOrder": [], +"parameters": {}, +"path": "v2/documents:annotateText", +"request": { +"$ref": "AnnotateTextRequest" +}, +"response": { +"$ref": "AnnotateTextResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-language", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"classifyText": { +"description": "Classifies a document into categories.", +"flatPath": "v2/documents:classifyText", +"httpMethod": "POST", +"id": "language.documents.classifyText", +"parameterOrder": [], +"parameters": {}, +"path": "v2/documents:classifyText", +"request": { +"$ref": "ClassifyTextRequest" +}, +"response": { +"$ref": "ClassifyTextResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-language", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"moderateText": { +"description": "Moderates a document for harmful and sensitive categories.", +"flatPath": "v2/documents:moderateText", +"httpMethod": "POST", +"id": "language.documents.moderateText", +"parameterOrder": [], +"parameters": {}, +"path": "v2/documents:moderateText", +"request": { +"$ref": "ModerateTextRequest" +}, +"response": { +"$ref": "ModerateTextResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-language", +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +}, +"revision": "20260223", +"rootUrl": "https://language.googleapis.com/", +"schemas": { +"AnalyzeEntitiesRequest": { +"description": "The entity analysis request message.", +"id": "AnalyzeEntitiesRequest", +"properties": { +"document": { +"$ref": "Document", +"description": "Required. Input document." +}, +"encodingType": { +"description": "The encoding type used by the API to calculate offsets.", +"enum": [ +"NONE", +"UTF8", +"UTF16", +"UTF32" +], +"enumDescriptions": [ +"If `EncodingType` is not specified, encoding-dependent information (such as `begin_offset`) will be set at `-1`.", +"Encoding-dependent information (such as `begin_offset`) is calculated based on the UTF-8 encoding of the input. C++ and Go are examples of languages that use this encoding natively.", +"Encoding-dependent information (such as `begin_offset`) is calculated based on the UTF-16 encoding of the input. Java and JavaScript are examples of languages that use this encoding natively.", +"Encoding-dependent information (such as `begin_offset`) is calculated based on the UTF-32 encoding of the input. Python is an example of a language that uses this encoding natively." +], +"type": "string" +} +}, +"type": "object" +}, +"AnalyzeEntitiesResponse": { +"description": "The entity analysis response message.", +"id": "AnalyzeEntitiesResponse", +"properties": { +"entities": { +"description": "The recognized entities in the input document.", +"items": { +"$ref": "Entity" +}, +"type": "array" +}, +"languageCode": { +"description": "The language of the text, which will be the same as the language specified in the request or, if not specified, the automatically-detected language. See Document.language_code field for more details.", +"type": "string" +}, +"languageSupported": { +"description": "Whether the language is officially supported. The API may still return a response when the language is not supported, but it is on a best effort basis.", +"type": "boolean" +} +}, +"type": "object" +}, +"AnalyzeSentimentRequest": { +"description": "The sentiment analysis request message.", +"id": "AnalyzeSentimentRequest", +"properties": { +"document": { +"$ref": "Document", +"description": "Required. Input document." +}, +"encodingType": { +"description": "The encoding type used by the API to calculate sentence offsets.", +"enum": [ +"NONE", +"UTF8", +"UTF16", +"UTF32" +], +"enumDescriptions": [ +"If `EncodingType` is not specified, encoding-dependent information (such as `begin_offset`) will be set at `-1`.", +"Encoding-dependent information (such as `begin_offset`) is calculated based on the UTF-8 encoding of the input. C++ and Go are examples of languages that use this encoding natively.", +"Encoding-dependent information (such as `begin_offset`) is calculated based on the UTF-16 encoding of the input. Java and JavaScript are examples of languages that use this encoding natively.", +"Encoding-dependent information (such as `begin_offset`) is calculated based on the UTF-32 encoding of the input. Python is an example of a language that uses this encoding natively." +], +"type": "string" +} +}, +"type": "object" +}, +"AnalyzeSentimentResponse": { +"description": "The sentiment analysis response message.", +"id": "AnalyzeSentimentResponse", +"properties": { +"documentSentiment": { +"$ref": "Sentiment", +"description": "The overall sentiment of the input document." +}, +"languageCode": { +"description": "The language of the text, which will be the same as the language specified in the request or, if not specified, the automatically-detected language. See Document.language_code field for more details.", +"type": "string" +}, +"languageSupported": { +"description": "Whether the language is officially supported. The API may still return a response when the language is not supported, but it is on a best effort basis.", +"type": "boolean" +}, +"sentences": { +"description": "The sentiment for all the sentences in the document.", +"items": { +"$ref": "Sentence" +}, +"type": "array" +} +}, +"type": "object" +}, +"AnnotateTextRequest": { +"description": "The request message for the text annotation API, which can perform multiple analysis types in one call.", +"id": "AnnotateTextRequest", +"properties": { +"document": { +"$ref": "Document", +"description": "Required. Input document." +}, +"encodingType": { +"description": "The encoding type used by the API to calculate offsets.", +"enum": [ +"NONE", +"UTF8", +"UTF16", +"UTF32" +], +"enumDescriptions": [ +"If `EncodingType` is not specified, encoding-dependent information (such as `begin_offset`) will be set at `-1`.", +"Encoding-dependent information (such as `begin_offset`) is calculated based on the UTF-8 encoding of the input. C++ and Go are examples of languages that use this encoding natively.", +"Encoding-dependent information (such as `begin_offset`) is calculated based on the UTF-16 encoding of the input. Java and JavaScript are examples of languages that use this encoding natively.", +"Encoding-dependent information (such as `begin_offset`) is calculated based on the UTF-32 encoding of the input. Python is an example of a language that uses this encoding natively." +], +"type": "string" +}, +"features": { +"$ref": "AnnotateTextRequestFeatures", +"description": "Required. The enabled features." +} +}, +"type": "object" +}, +"AnnotateTextRequestFeatures": { +"description": "All available features. Setting each one to true will enable that specific analysis for the input.", +"id": "AnnotateTextRequestFeatures", +"properties": { +"classifyText": { +"description": "Optional. Classify the full document into categories.", +"type": "boolean" +}, +"extractDocumentSentiment": { +"description": "Optional. Extract document-level sentiment.", +"type": "boolean" +}, +"extractEntities": { +"description": "Optional. Extract entities.", +"type": "boolean" +}, +"moderateText": { +"description": "Optional. Moderate the document for harmful and sensitive categories.", +"type": "boolean" +} +}, +"type": "object" +}, +"AnnotateTextResponse": { +"description": "The text annotations response message.", +"id": "AnnotateTextResponse", +"properties": { +"categories": { +"description": "Categories identified in the input document.", +"items": { +"$ref": "ClassificationCategory" +}, +"type": "array" +}, +"documentSentiment": { +"$ref": "Sentiment", +"description": "The overall sentiment for the document. Populated if the user enables AnnotateTextRequest.Features.extract_document_sentiment." +}, +"entities": { +"description": "Entities, along with their semantic information, in the input document. Populated if the user enables AnnotateTextRequest.Features.extract_entities .", +"items": { +"$ref": "Entity" +}, +"type": "array" +}, +"languageCode": { +"description": "The language of the text, which will be the same as the language specified in the request or, if not specified, the automatically-detected language. See Document.language_code field for more details.", +"type": "string" +}, +"languageSupported": { +"description": "Whether the language is officially supported by all requested features. The API may still return a response when the language is not supported, but it is on a best effort basis.", +"type": "boolean" +}, +"moderationCategories": { +"description": "Harmful and sensitive categories identified in the input document.", +"items": { +"$ref": "ClassificationCategory" +}, +"type": "array" +}, +"sentences": { +"description": "Sentences in the input document. Populated if the user enables AnnotateTextRequest.Features.extract_document_sentiment.", +"items": { +"$ref": "Sentence" +}, +"type": "array" +} +}, +"type": "object" +}, +"ClassificationCategory": { +"description": "Represents a category returned from the text classifier.", +"id": "ClassificationCategory", +"properties": { +"confidence": { +"description": "The classifier's confidence of the category. Number represents how certain the classifier is that this category represents the given text.", +"format": "float", +"type": "number" +}, +"name": { +"description": "The name of the category representing the document.", +"type": "string" +}, +"severity": { +"description": "Optional. The classifier's severity of the category. This is only present when the ModerateTextRequest.ModelVersion is set to MODEL_VERSION_2, and the corresponding category has a severity score.", +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"ClassifyTextRequest": { +"description": "The document classification request message.", +"id": "ClassifyTextRequest", +"properties": { +"document": { +"$ref": "Document", +"description": "Required. Input document." +} +}, +"type": "object" +}, +"ClassifyTextResponse": { +"description": "The document classification response message.", +"id": "ClassifyTextResponse", +"properties": { +"categories": { +"description": "Categories representing the input document.", +"items": { +"$ref": "ClassificationCategory" +}, +"type": "array" +}, +"languageCode": { +"description": "The language of the text, which will be the same as the language specified in the request or, if not specified, the automatically-detected language. See Document.language_code field for more details.", +"type": "string" +}, +"languageSupported": { +"description": "Whether the language is officially supported. The API may still return a response when the language is not supported, but it is on a best effort basis.", +"type": "boolean" +} +}, +"type": "object" +}, +"Color": { +"description": "Represents a color in the RGBA color space. This representation is designed for simplicity of conversion to and from color representations in various languages over compactness. For example, the fields of this representation can be trivially provided to the constructor of `java.awt.Color` in Java; it can also be trivially provided to UIColor's `+colorWithRed:green:blue:alpha` method in iOS; and, with just a little work, it can be easily formatted into a CSS `rgba()` string in JavaScript. This reference page doesn't have information about the absolute color space that should be used to interpret the RGB value\u2014for example, sRGB, Adobe RGB, DCI-P3, and BT.2020. By default, applications should assume the sRGB color space. When color equality needs to be decided, implementations, unless documented otherwise, treat two colors as equal if all their red, green, blue, and alpha values each differ by at most `1e-5`. Example (Java): import com.google.type.Color; // ... public static java.awt.Color fromProto(Color protocolor) { float alpha = protocolor.hasAlpha() ? protocolor.getAlpha().getValue() : 1.0; return new java.awt.Color( protocolor.getRed(), protocolor.getGreen(), protocolor.getBlue(), alpha); } public static Color toProto(java.awt.Color color) { float red = (float) color.getRed(); float green = (float) color.getGreen(); float blue = (float) color.getBlue(); float denominator = 255.0; Color.Builder resultBuilder = Color .newBuilder() .setRed(red / denominator) .setGreen(green / denominator) .setBlue(blue / denominator); int alpha = color.getAlpha(); if (alpha != 255) { result.setAlpha( FloatValue .newBuilder() .setValue(((float) alpha) / denominator) .build()); } return resultBuilder.build(); } // ... Example (iOS / Obj-C): // ... static UIColor* fromProto(Color* protocolor) { float red = [protocolor red]; float green = [protocolor green]; float blue = [protocolor blue]; FloatValue* alpha_wrapper = [protocolor alpha]; float alpha = 1.0; if (alpha_wrapper != nil) { alpha = [alpha_wrapper value]; } return [UIColor colorWithRed:red green:green blue:blue alpha:alpha]; } static Color* toProto(UIColor* color) { CGFloat red, green, blue, alpha; if (![color getRed:&red green:&green blue:&blue alpha:&alpha]) { return nil; } Color* result = [[Color alloc] init]; [result setRed:red]; [result setGreen:green]; [result setBlue:blue]; if (alpha <= 0.9999) { [result setAlpha:floatWrapperWithValue(alpha)]; } [result autorelease]; return result; } // ... Example (JavaScript): // ... var protoToCssColor = function(rgb_color) { var redFrac = rgb_color.red || 0.0; var greenFrac = rgb_color.green || 0.0; var blueFrac = rgb_color.blue || 0.0; var red = Math.floor(redFrac * 255); var green = Math.floor(greenFrac * 255); var blue = Math.floor(blueFrac * 255); if (!('alpha' in rgb_color)) { return rgbToCssColor(red, green, blue); } var alphaFrac = rgb_color.alpha.value || 0.0; var rgbParams = [red, green, blue].join(','); return ['rgba(', rgbParams, ',', alphaFrac, ')'].join(''); }; var rgbToCssColor = function(red, green, blue) { var rgbNumber = new Number((red << 16) | (green << 8) | blue); var hexString = rgbNumber.toString(16); var missingZeros = 6 - hexString.length; var resultBuilder = ['#']; for (var i = 0; i < missingZeros; i++) { resultBuilder.push('0'); } resultBuilder.push(hexString); return resultBuilder.join(''); }; // ...", +"id": "Color", +"properties": { +"alpha": { +"description": "The fraction of this color that should be applied to the pixel. That is, the final pixel color is defined by the equation: `pixel color = alpha * (this color) + (1.0 - alpha) * (background color)` This means that a value of 1.0 corresponds to a solid color, whereas a value of 0.0 corresponds to a completely transparent color. This uses a wrapper message rather than a simple float scalar so that it is possible to distinguish between a default value and the value being unset. If omitted, this color object is rendered as a solid color (as if the alpha value had been explicitly given a value of 1.0).", +"format": "float", +"type": "number" +}, +"blue": { +"description": "The amount of blue in the color as a value in the interval [0, 1].", +"format": "float", +"type": "number" +}, +"green": { +"description": "The amount of green in the color as a value in the interval [0, 1].", +"format": "float", +"type": "number" +}, +"red": { +"description": "The amount of red in the color as a value in the interval [0, 1].", +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"CpuMetric": { +"description": "Metric for billing reports.", +"id": "CpuMetric", +"properties": { +"coreNumber": { +"description": "Required. Number of CPU cores.", +"format": "int64", +"type": "string" +}, +"coreSec": { +"description": "Required. Total seconds of core usage, e.g. 4.", +"format": "int64", +"type": "string" +}, +"cpuType": { +"description": "Required. Type of cpu, e.g. N2.", +"enum": [ +"UNKNOWN_CPU_TYPE", +"A2", +"A3", +"A4", +"A4X", +"C2", +"C2D", +"CUSTOM", +"E2", +"G2", +"G4", +"C3", +"C4", +"C4A", +"M2", +"M1", +"N1", +"N2_CUSTOM", +"N2", +"N2D" +], +"enumDescriptions": [ +"", +"GPU-based machine, skip quota reporting.", +"GPU-based machine, skip quota reporting.", +"GPU-based machine, skip quota reporting.", +"GPU-based machine, skip quota reporting.", +"COMPUTE_OPTIMIZED", +"", +"", +"", +"GPU-based machine, skip quota reporting.", +"GPU-based machine, skip quota reporting.", +"", +"", +"", +"MEMORY_OPTIMIZED_UPGRADE_PREMIUM", +"MEMORY_OPTIMIZED", +"", +"", +"", +"" +], +"type": "string" +}, +"machineSpec": { +"description": "Required. Machine spec, e.g. N1_STANDARD_4.", +"enum": [ +"UNKNOWN_MACHINE_SPEC", +"N1_STANDARD_2", +"N1_STANDARD_4", +"N1_STANDARD_8", +"N1_STANDARD_16", +"N1_STANDARD_32", +"N1_STANDARD_64", +"N1_STANDARD_96", +"N1_HIGHMEM_2", +"N1_HIGHMEM_4", +"N1_HIGHMEM_8", +"N1_HIGHMEM_16", +"N1_HIGHMEM_32", +"N1_HIGHMEM_64", +"N1_HIGHMEM_96", +"N1_HIGHCPU_2", +"N1_HIGHCPU_4", +"N1_HIGHCPU_8", +"N1_HIGHCPU_16", +"N1_HIGHCPU_32", +"N1_HIGHCPU_64", +"N1_HIGHCPU_96", +"A2_HIGHGPU_1G", +"A2_HIGHGPU_2G", +"A2_HIGHGPU_4G", +"A2_HIGHGPU_8G", +"A2_MEGAGPU_16G", +"A2_ULTRAGPU_1G", +"A2_ULTRAGPU_2G", +"A2_ULTRAGPU_4G", +"A2_ULTRAGPU_8G", +"A3_HIGHGPU_1G", +"A3_HIGHGPU_2G", +"A3_HIGHGPU_4G", +"A3_HIGHGPU_8G", +"A3_MEGAGPU_8G", +"A3_ULTRAGPU_8G", +"A3_EDGEGPU_8G", +"A4_HIGHGPU_8G", +"A4X_HIGHGPU_4G", +"E2_STANDARD_2", +"E2_STANDARD_4", +"E2_STANDARD_8", +"E2_STANDARD_16", +"E2_STANDARD_32", +"E2_HIGHMEM_2", +"E2_HIGHMEM_4", +"E2_HIGHMEM_8", +"E2_HIGHMEM_16", +"E2_HIGHCPU_2", +"E2_HIGHCPU_4", +"E2_HIGHCPU_8", +"E2_HIGHCPU_16", +"E2_HIGHCPU_32", +"N2_STANDARD_2", +"N2_STANDARD_4", +"N2_STANDARD_8", +"N2_STANDARD_16", +"N2_STANDARD_32", +"N2_STANDARD_48", +"N2_STANDARD_64", +"N2_STANDARD_80", +"N2_STANDARD_96", +"N2_STANDARD_128", +"N2_HIGHMEM_2", +"N2_HIGHMEM_4", +"N2_HIGHMEM_8", +"N2_HIGHMEM_16", +"N2_HIGHMEM_32", +"N2_HIGHMEM_48", +"N2_HIGHMEM_64", +"N2_HIGHMEM_80", +"N2_HIGHMEM_96", +"N2_HIGHMEM_128", +"N2_HIGHCPU_2", +"N2_HIGHCPU_4", +"N2_HIGHCPU_8", +"N2_HIGHCPU_16", +"N2_HIGHCPU_32", +"N2_HIGHCPU_48", +"N2_HIGHCPU_64", +"N2_HIGHCPU_80", +"N2_HIGHCPU_96", +"N2D_STANDARD_2", +"N2D_STANDARD_4", +"N2D_STANDARD_8", +"N2D_STANDARD_16", +"N2D_STANDARD_32", +"N2D_STANDARD_48", +"N2D_STANDARD_64", +"N2D_STANDARD_80", +"N2D_STANDARD_96", +"N2D_STANDARD_128", +"N2D_STANDARD_224", +"N2D_HIGHMEM_2", +"N2D_HIGHMEM_4", +"N2D_HIGHMEM_8", +"N2D_HIGHMEM_16", +"N2D_HIGHMEM_32", +"N2D_HIGHMEM_48", +"N2D_HIGHMEM_64", +"N2D_HIGHMEM_80", +"N2D_HIGHMEM_96", +"N2D_HIGHCPU_2", +"N2D_HIGHCPU_4", +"N2D_HIGHCPU_8", +"N2D_HIGHCPU_16", +"N2D_HIGHCPU_32", +"N2D_HIGHCPU_48", +"N2D_HIGHCPU_64", +"N2D_HIGHCPU_80", +"N2D_HIGHCPU_96", +"N2D_HIGHCPU_128", +"N2D_HIGHCPU_224", +"C2_STANDARD_4", +"C2_STANDARD_8", +"C2_STANDARD_16", +"C2_STANDARD_30", +"C2_STANDARD_60", +"C2D_STANDARD_2", +"C2D_STANDARD_4", +"C2D_STANDARD_8", +"C2D_STANDARD_16", +"C2D_STANDARD_32", +"C2D_STANDARD_56", +"C2D_STANDARD_112", +"C2D_HIGHCPU_2", +"C2D_HIGHCPU_4", +"C2D_HIGHCPU_8", +"C2D_HIGHCPU_16", +"C2D_HIGHCPU_32", +"C2D_HIGHCPU_56", +"C2D_HIGHCPU_112", +"C2D_HIGHMEM_2", +"C2D_HIGHMEM_4", +"C2D_HIGHMEM_8", +"C2D_HIGHMEM_16", +"C2D_HIGHMEM_32", +"C2D_HIGHMEM_56", +"C2D_HIGHMEM_112", +"G2_STANDARD_4", +"G2_STANDARD_8", +"G2_STANDARD_12", +"G2_STANDARD_16", +"G2_STANDARD_24", +"G2_STANDARD_32", +"G2_STANDARD_48", +"G2_STANDARD_96", +"G4_STANDARD_48", +"C3_STANDARD_4", +"C3_STANDARD_8", +"C3_STANDARD_22", +"C3_STANDARD_44", +"C3_STANDARD_88", +"C3_STANDARD_176", +"C3_HIGHCPU_4", +"C3_HIGHCPU_8", +"C3_HIGHCPU_22", +"C3_HIGHCPU_44", +"C3_HIGHCPU_88", +"C3_HIGHCPU_176", +"C3_HIGHMEM_4", +"C3_HIGHMEM_8", +"C3_HIGHMEM_22", +"C3_HIGHMEM_44", +"C3_HIGHMEM_88", +"C3_HIGHMEM_176", +"C4_STANDARD_8", +"C4_STANDARD_16", +"C4_STANDARD_24", +"C4_STANDARD_32", +"C4_STANDARD_48", +"C4_STANDARD_96", +"C4_STANDARD_144", +"C4_STANDARD_192", +"C4_STANDARD_288", +"C4_HIGHCPU_8", +"C4_HIGHCPU_16", +"C4_HIGHCPU_24", +"C4_HIGHCPU_32", +"C4_HIGHCPU_48", +"C4_HIGHCPU_96", +"C4_HIGHCPU_144", +"C4_HIGHCPU_192", +"C4_HIGHCPU_288", +"C4_HIGHMEM_8", +"C4_HIGHMEM_16", +"C4_HIGHMEM_24", +"C4_HIGHMEM_32", +"C4_HIGHMEM_48", +"C4_HIGHMEM_96", +"C4_HIGHMEM_144", +"C4_HIGHMEM_192", +"C4_HIGHMEM_288", +"C4A_STANDARD_8", +"C4A_STANDARD_16", +"C4A_STANDARD_32", +"C4A_STANDARD_48", +"C4A_STANDARD_64", +"C4A_STANDARD_72", +"C4A_HIGHCPU_8", +"C4A_HIGHCPU_16", +"C4A_HIGHCPU_32", +"C4A_HIGHCPU_48", +"C4A_HIGHCPU_64", +"C4A_HIGHCPU_72", +"C4A_HIGHMEM_8", +"C4A_HIGHMEM_16", +"C4A_HIGHMEM_32", +"C4A_HIGHMEM_48", +"C4A_HIGHMEM_64", +"C4A_HIGHMEM_72" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"" +], +"type": "string" +}, +"trackingLabels": { +"additionalProperties": { +"type": "string" +}, +"description": "Billing tracking labels. They do not contain any user data but only the labels set by Vertex Core Infra itself. Tracking labels' keys are defined with special format: goog-[\\p{Ll}\\p{N}]+ E.g. \"key\": \"goog-k8s-cluster-name\",\"value\": \"us-east1-b4rk\"", +"type": "object" +} +}, +"type": "object" +}, +"DiskMetric": { +"id": "DiskMetric", +"properties": { +"diskType": { +"description": "Required. Type of Disk, e.g. REGIONAL_SSD.", +"enum": [ +"UNKNOWN_DISK_TYPE", +"REGIONAL_SSD", +"REGIONAL_STORAGE", +"PD_SSD", +"PD_STANDARD", +"STORAGE_SNAPSHOT" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"" +], +"type": "string" +}, +"gibSec": { +"description": "Required. Seconds of physical disk usage, e.g. 3600.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"Document": { +"description": "Represents the input to API methods.", +"id": "Document", +"properties": { +"content": { +"description": "The content of the input in string format. Cloud audit logging exempt since it is based on user data.", +"type": "string" +}, +"gcsContentUri": { +"description": "The Google Cloud Storage URI where the file content is located. This URI must be of the form: gs://bucket_name/object_name. For more details, see https://cloud.google.com/storage/docs/reference-uris. NOTE: Cloud Storage object versioning is not supported.", +"type": "string" +}, +"languageCode": { +"description": "Optional. The language of the document (if not specified, the language is automatically detected). Both ISO and BCP-47 language codes are accepted. [Language Support](https://cloud.google.com/natural-language/docs/languages) lists currently supported languages for each API method. If the language (either specified by the caller or automatically detected) is not supported by the called API method, an `INVALID_ARGUMENT` error is returned.", +"type": "string" +}, +"type": { +"description": "Required. If the type is not set or is `TYPE_UNSPECIFIED`, returns an `INVALID_ARGUMENT` error.", +"enum": [ +"TYPE_UNSPECIFIED", +"PLAIN_TEXT", +"HTML" +], +"enumDescriptions": [ +"The content type is not specified.", +"Plain text", +"HTML" +], +"type": "string" +} +}, +"type": "object" +}, +"Entity": { +"description": "Represents a phrase in the text that is a known entity, such as a person, an organization, or location. The API associates information, such as probability and mentions, with entities.", +"id": "Entity", +"properties": { +"mentions": { +"description": "The mentions of this entity in the input document. The API currently supports proper noun mentions.", +"items": { +"$ref": "EntityMention" +}, +"type": "array" +}, +"metadata": { +"additionalProperties": { +"type": "string" +}, +"description": "Metadata associated with the entity. For the metadata associated with other entity types, see the Type table below.", +"type": "object" +}, +"name": { +"description": "The representative name for the entity.", +"type": "string" +}, +"sentiment": { +"$ref": "Sentiment", +"description": "For calls to AnalyzeEntitySentiment this field will contain the aggregate sentiment expressed for this entity in the provided document." +}, +"type": { +"description": "The entity type.", +"enum": [ +"UNKNOWN", +"PERSON", +"LOCATION", +"ORGANIZATION", +"EVENT", +"WORK_OF_ART", +"CONSUMER_GOOD", +"OTHER", +"PHONE_NUMBER", +"ADDRESS", +"DATE", +"NUMBER", +"PRICE" +], +"enumDescriptions": [ +"Unknown", +"Person", +"Location", +"Organization", +"Event", +"Artwork", +"Consumer product", +"Other types of entities", +"Phone number The metadata lists the phone number, formatted according to local convention, plus whichever additional elements appear in the text: * `number` - the actual number, broken down into sections as per local convention * `national_prefix` - country code, if detected * `area_code` - region or area code, if detected * `extension` - phone extension (to be dialed after connection), if detected", +"Address The metadata identifies the street number and locality plus whichever additional elements appear in the text: * `street_number` - street number * `locality` - city or town * `street_name` - street/route name, if detected * `postal_code` - postal code, if detected * `country` - country, if detected * `broad_region` - administrative area, such as the state, if detected * `narrow_region` - smaller administrative area, such as county, if detected * `sublocality` - used in Asian addresses to demark a district within a city, if detected", +"Date The metadata identifies the components of the date: * `year` - four digit year, if detected * `month` - two digit month number, if detected * `day` - two digit day number, if detected", +"Number The metadata is the number itself.", +"Price The metadata identifies the `value` and `currency`." +], +"type": "string" +} +}, +"type": "object" +}, +"EntityMention": { +"description": "Represents a mention for an entity in the text. Currently, proper noun mentions are supported.", +"id": "EntityMention", +"properties": { +"probability": { +"description": "Probability score associated with the entity. The score shows the probability of the entity mention being the entity type. The score is in (0, 1] range.", +"format": "float", +"type": "number" +}, +"sentiment": { +"$ref": "Sentiment", +"description": "For calls to AnalyzeEntitySentiment this field will contain the sentiment expressed for this mention of the entity in the provided document." +}, +"text": { +"$ref": "TextSpan", +"description": "The mention text." +}, +"type": { +"description": "The type of the entity mention.", +"enum": [ +"TYPE_UNKNOWN", +"PROPER", +"COMMON" +], +"enumDescriptions": [ +"Unknown", +"Proper name", +"Common noun (or noun compound)" +], +"type": "string" +} +}, +"type": "object" +}, +"GpuMetric": { +"id": "GpuMetric", +"properties": { +"gpuSec": { +"description": "Required. Seconds of GPU usage, e.g. 3600.", +"format": "int64", +"type": "string" +}, +"gpuType": { +"description": "Required. Type of GPU, e.g. NVIDIA_TESLA_V100.", +"enum": [ +"UNKNOWN_GPU_TYPE", +"NVIDIA_TESLA_A100", +"NVIDIA_A100_80GB", +"NVIDIA_B200", +"NVIDIA_GB200", +"NVIDIA_TESLA_K80", +"NVIDIA_L4", +"NVIDIA_TESLA_P100", +"NVIDIA_TESLA_P4", +"NVIDIA_TESLA_T4", +"NVIDIA_TESLA_V100", +"NVIDIA_H100_80GB", +"NVIDIA_H100_MEGA_80GB", +"NVIDIA_H200_141GB", +"NVIDIA_RTX_PRO_6000" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"" +], +"type": "string" +}, +"machineSpec": { +"description": "Required. Machine spec, e.g. N1_STANDARD_4.", +"enum": [ +"UNKNOWN_MACHINE_SPEC", +"N1_STANDARD_2", +"N1_STANDARD_4", +"N1_STANDARD_8", +"N1_STANDARD_16", +"N1_STANDARD_32", +"N1_STANDARD_64", +"N1_STANDARD_96", +"N1_HIGHMEM_2", +"N1_HIGHMEM_4", +"N1_HIGHMEM_8", +"N1_HIGHMEM_16", +"N1_HIGHMEM_32", +"N1_HIGHMEM_64", +"N1_HIGHMEM_96", +"N1_HIGHCPU_2", +"N1_HIGHCPU_4", +"N1_HIGHCPU_8", +"N1_HIGHCPU_16", +"N1_HIGHCPU_32", +"N1_HIGHCPU_64", +"N1_HIGHCPU_96", +"A2_HIGHGPU_1G", +"A2_HIGHGPU_2G", +"A2_HIGHGPU_4G", +"A2_HIGHGPU_8G", +"A2_MEGAGPU_16G", +"A2_ULTRAGPU_1G", +"A2_ULTRAGPU_2G", +"A2_ULTRAGPU_4G", +"A2_ULTRAGPU_8G", +"A3_HIGHGPU_1G", +"A3_HIGHGPU_2G", +"A3_HIGHGPU_4G", +"A3_HIGHGPU_8G", +"A3_MEGAGPU_8G", +"A3_ULTRAGPU_8G", +"A3_EDGEGPU_8G", +"A4_HIGHGPU_8G", +"A4X_HIGHGPU_4G", +"E2_STANDARD_2", +"E2_STANDARD_4", +"E2_STANDARD_8", +"E2_STANDARD_16", +"E2_STANDARD_32", +"E2_HIGHMEM_2", +"E2_HIGHMEM_4", +"E2_HIGHMEM_8", +"E2_HIGHMEM_16", +"E2_HIGHCPU_2", +"E2_HIGHCPU_4", +"E2_HIGHCPU_8", +"E2_HIGHCPU_16", +"E2_HIGHCPU_32", +"N2_STANDARD_2", +"N2_STANDARD_4", +"N2_STANDARD_8", +"N2_STANDARD_16", +"N2_STANDARD_32", +"N2_STANDARD_48", +"N2_STANDARD_64", +"N2_STANDARD_80", +"N2_STANDARD_96", +"N2_STANDARD_128", +"N2_HIGHMEM_2", +"N2_HIGHMEM_4", +"N2_HIGHMEM_8", +"N2_HIGHMEM_16", +"N2_HIGHMEM_32", +"N2_HIGHMEM_48", +"N2_HIGHMEM_64", +"N2_HIGHMEM_80", +"N2_HIGHMEM_96", +"N2_HIGHMEM_128", +"N2_HIGHCPU_2", +"N2_HIGHCPU_4", +"N2_HIGHCPU_8", +"N2_HIGHCPU_16", +"N2_HIGHCPU_32", +"N2_HIGHCPU_48", +"N2_HIGHCPU_64", +"N2_HIGHCPU_80", +"N2_HIGHCPU_96", +"N2D_STANDARD_2", +"N2D_STANDARD_4", +"N2D_STANDARD_8", +"N2D_STANDARD_16", +"N2D_STANDARD_32", +"N2D_STANDARD_48", +"N2D_STANDARD_64", +"N2D_STANDARD_80", +"N2D_STANDARD_96", +"N2D_STANDARD_128", +"N2D_STANDARD_224", +"N2D_HIGHMEM_2", +"N2D_HIGHMEM_4", +"N2D_HIGHMEM_8", +"N2D_HIGHMEM_16", +"N2D_HIGHMEM_32", +"N2D_HIGHMEM_48", +"N2D_HIGHMEM_64", +"N2D_HIGHMEM_80", +"N2D_HIGHMEM_96", +"N2D_HIGHCPU_2", +"N2D_HIGHCPU_4", +"N2D_HIGHCPU_8", +"N2D_HIGHCPU_16", +"N2D_HIGHCPU_32", +"N2D_HIGHCPU_48", +"N2D_HIGHCPU_64", +"N2D_HIGHCPU_80", +"N2D_HIGHCPU_96", +"N2D_HIGHCPU_128", +"N2D_HIGHCPU_224", +"C2_STANDARD_4", +"C2_STANDARD_8", +"C2_STANDARD_16", +"C2_STANDARD_30", +"C2_STANDARD_60", +"C2D_STANDARD_2", +"C2D_STANDARD_4", +"C2D_STANDARD_8", +"C2D_STANDARD_16", +"C2D_STANDARD_32", +"C2D_STANDARD_56", +"C2D_STANDARD_112", +"C2D_HIGHCPU_2", +"C2D_HIGHCPU_4", +"C2D_HIGHCPU_8", +"C2D_HIGHCPU_16", +"C2D_HIGHCPU_32", +"C2D_HIGHCPU_56", +"C2D_HIGHCPU_112", +"C2D_HIGHMEM_2", +"C2D_HIGHMEM_4", +"C2D_HIGHMEM_8", +"C2D_HIGHMEM_16", +"C2D_HIGHMEM_32", +"C2D_HIGHMEM_56", +"C2D_HIGHMEM_112", +"G2_STANDARD_4", +"G2_STANDARD_8", +"G2_STANDARD_12", +"G2_STANDARD_16", +"G2_STANDARD_24", +"G2_STANDARD_32", +"G2_STANDARD_48", +"G2_STANDARD_96", +"G4_STANDARD_48", +"C3_STANDARD_4", +"C3_STANDARD_8", +"C3_STANDARD_22", +"C3_STANDARD_44", +"C3_STANDARD_88", +"C3_STANDARD_176", +"C3_HIGHCPU_4", +"C3_HIGHCPU_8", +"C3_HIGHCPU_22", +"C3_HIGHCPU_44", +"C3_HIGHCPU_88", +"C3_HIGHCPU_176", +"C3_HIGHMEM_4", +"C3_HIGHMEM_8", +"C3_HIGHMEM_22", +"C3_HIGHMEM_44", +"C3_HIGHMEM_88", +"C3_HIGHMEM_176", +"C4_STANDARD_8", +"C4_STANDARD_16", +"C4_STANDARD_24", +"C4_STANDARD_32", +"C4_STANDARD_48", +"C4_STANDARD_96", +"C4_STANDARD_144", +"C4_STANDARD_192", +"C4_STANDARD_288", +"C4_HIGHCPU_8", +"C4_HIGHCPU_16", +"C4_HIGHCPU_24", +"C4_HIGHCPU_32", +"C4_HIGHCPU_48", +"C4_HIGHCPU_96", +"C4_HIGHCPU_144", +"C4_HIGHCPU_192", +"C4_HIGHCPU_288", +"C4_HIGHMEM_8", +"C4_HIGHMEM_16", +"C4_HIGHMEM_24", +"C4_HIGHMEM_32", +"C4_HIGHMEM_48", +"C4_HIGHMEM_96", +"C4_HIGHMEM_144", +"C4_HIGHMEM_192", +"C4_HIGHMEM_288", +"C4A_STANDARD_8", +"C4A_STANDARD_16", +"C4A_STANDARD_32", +"C4A_STANDARD_48", +"C4A_STANDARD_64", +"C4A_STANDARD_72", +"C4A_HIGHCPU_8", +"C4A_HIGHCPU_16", +"C4A_HIGHCPU_32", +"C4A_HIGHCPU_48", +"C4A_HIGHCPU_64", +"C4A_HIGHCPU_72", +"C4A_HIGHMEM_8", +"C4A_HIGHMEM_16", +"C4A_HIGHMEM_32", +"C4A_HIGHMEM_48", +"C4A_HIGHMEM_64", +"C4A_HIGHMEM_72" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"" +], +"type": "string" +}, +"trackingLabels": { +"additionalProperties": { +"type": "string" +}, +"description": "Billing tracking labels. They do not contain any user data but only the labels set by Vertex Core Infra itself. Tracking labels' keys are defined with special format: goog-[\\p{Ll}\\p{N}]+ E.g. \"key\": \"goog-k8s-cluster-name\",\"value\": \"us-east1-b4rk\"", +"type": "object" +} +}, +"type": "object" +}, +"InfraUsage": { +"description": "LINT: LEGACY_NAMES Infra Usage of billing metrics.", +"id": "InfraUsage", +"properties": { +"cpuMetrics": { +"description": "Aggregated core metrics since requested start_time.", +"items": { +"$ref": "CpuMetric" +}, +"type": "array" +}, +"diskMetrics": { +"description": "Aggregated persistent disk metrics since requested start_time.", +"items": { +"$ref": "DiskMetric" +}, +"type": "array" +}, +"gpuMetrics": { +"description": "Aggregated gpu metrics since requested start_time.", +"items": { +"$ref": "GpuMetric" +}, +"type": "array" +}, +"ramMetrics": { +"description": "Aggregated ram metrics since requested start_time.", +"items": { +"$ref": "RamMetric" +}, +"type": "array" +}, +"tpuMetrics": { +"description": "Aggregated tpu metrics since requested start_time.", +"items": { +"$ref": "TpuMetric" +}, +"type": "array" +} +}, +"type": "object" +}, +"ModerateTextRequest": { +"description": "The document moderation request message.", +"id": "ModerateTextRequest", +"properties": { +"document": { +"$ref": "Document", +"description": "Required. Input document." +}, +"modelVersion": { +"description": "Optional. The model version to use for ModerateText.", +"enum": [ +"MODEL_VERSION_UNSPECIFIED", +"MODEL_VERSION_1", +"MODEL_VERSION_2" +], +"enumDescriptions": [ +"The default model version.", +"Use the v1 model, this model is used by default when not provided. The v1 model only returns probability (confidence) score for each category.", +"Use the v2 model. The v2 model only returns probability (confidence) score for each category, and returns severity score for a subset of the categories." +], +"type": "string" +} +}, +"type": "object" +}, +"ModerateTextResponse": { +"description": "The document moderation response message.", +"id": "ModerateTextResponse", +"properties": { +"languageCode": { +"description": "The language of the text, which will be the same as the language specified in the request or, if not specified, the automatically-detected language. See Document.language_code field for more details.", +"type": "string" +}, +"languageSupported": { +"description": "Whether the language is officially supported. The API may still return a response when the language is not supported, but it is on a best effort basis.", +"type": "boolean" +}, +"moderationCategories": { +"description": "Harmful and sensitive categories representing the input document.", +"items": { +"$ref": "ClassificationCategory" +}, +"type": "array" +} +}, +"type": "object" +}, +"RamMetric": { +"id": "RamMetric", +"properties": { +"gibSec": { +"description": "Required. VM memory in Gigabyte second, e.g. 3600. Using int64 type to match billing metrics definition.", +"format": "int64", +"type": "string" +}, +"machineSpec": { +"description": "Required. Machine spec, e.g. N1_STANDARD_4.", +"enum": [ +"UNKNOWN_MACHINE_SPEC", +"N1_STANDARD_2", +"N1_STANDARD_4", +"N1_STANDARD_8", +"N1_STANDARD_16", +"N1_STANDARD_32", +"N1_STANDARD_64", +"N1_STANDARD_96", +"N1_HIGHMEM_2", +"N1_HIGHMEM_4", +"N1_HIGHMEM_8", +"N1_HIGHMEM_16", +"N1_HIGHMEM_32", +"N1_HIGHMEM_64", +"N1_HIGHMEM_96", +"N1_HIGHCPU_2", +"N1_HIGHCPU_4", +"N1_HIGHCPU_8", +"N1_HIGHCPU_16", +"N1_HIGHCPU_32", +"N1_HIGHCPU_64", +"N1_HIGHCPU_96", +"A2_HIGHGPU_1G", +"A2_HIGHGPU_2G", +"A2_HIGHGPU_4G", +"A2_HIGHGPU_8G", +"A2_MEGAGPU_16G", +"A2_ULTRAGPU_1G", +"A2_ULTRAGPU_2G", +"A2_ULTRAGPU_4G", +"A2_ULTRAGPU_8G", +"A3_HIGHGPU_1G", +"A3_HIGHGPU_2G", +"A3_HIGHGPU_4G", +"A3_HIGHGPU_8G", +"A3_MEGAGPU_8G", +"A3_ULTRAGPU_8G", +"A3_EDGEGPU_8G", +"A4_HIGHGPU_8G", +"A4X_HIGHGPU_4G", +"E2_STANDARD_2", +"E2_STANDARD_4", +"E2_STANDARD_8", +"E2_STANDARD_16", +"E2_STANDARD_32", +"E2_HIGHMEM_2", +"E2_HIGHMEM_4", +"E2_HIGHMEM_8", +"E2_HIGHMEM_16", +"E2_HIGHCPU_2", +"E2_HIGHCPU_4", +"E2_HIGHCPU_8", +"E2_HIGHCPU_16", +"E2_HIGHCPU_32", +"N2_STANDARD_2", +"N2_STANDARD_4", +"N2_STANDARD_8", +"N2_STANDARD_16", +"N2_STANDARD_32", +"N2_STANDARD_48", +"N2_STANDARD_64", +"N2_STANDARD_80", +"N2_STANDARD_96", +"N2_STANDARD_128", +"N2_HIGHMEM_2", +"N2_HIGHMEM_4", +"N2_HIGHMEM_8", +"N2_HIGHMEM_16", +"N2_HIGHMEM_32", +"N2_HIGHMEM_48", +"N2_HIGHMEM_64", +"N2_HIGHMEM_80", +"N2_HIGHMEM_96", +"N2_HIGHMEM_128", +"N2_HIGHCPU_2", +"N2_HIGHCPU_4", +"N2_HIGHCPU_8", +"N2_HIGHCPU_16", +"N2_HIGHCPU_32", +"N2_HIGHCPU_48", +"N2_HIGHCPU_64", +"N2_HIGHCPU_80", +"N2_HIGHCPU_96", +"N2D_STANDARD_2", +"N2D_STANDARD_4", +"N2D_STANDARD_8", +"N2D_STANDARD_16", +"N2D_STANDARD_32", +"N2D_STANDARD_48", +"N2D_STANDARD_64", +"N2D_STANDARD_80", +"N2D_STANDARD_96", +"N2D_STANDARD_128", +"N2D_STANDARD_224", +"N2D_HIGHMEM_2", +"N2D_HIGHMEM_4", +"N2D_HIGHMEM_8", +"N2D_HIGHMEM_16", +"N2D_HIGHMEM_32", +"N2D_HIGHMEM_48", +"N2D_HIGHMEM_64", +"N2D_HIGHMEM_80", +"N2D_HIGHMEM_96", +"N2D_HIGHCPU_2", +"N2D_HIGHCPU_4", +"N2D_HIGHCPU_8", +"N2D_HIGHCPU_16", +"N2D_HIGHCPU_32", +"N2D_HIGHCPU_48", +"N2D_HIGHCPU_64", +"N2D_HIGHCPU_80", +"N2D_HIGHCPU_96", +"N2D_HIGHCPU_128", +"N2D_HIGHCPU_224", +"C2_STANDARD_4", +"C2_STANDARD_8", +"C2_STANDARD_16", +"C2_STANDARD_30", +"C2_STANDARD_60", +"C2D_STANDARD_2", +"C2D_STANDARD_4", +"C2D_STANDARD_8", +"C2D_STANDARD_16", +"C2D_STANDARD_32", +"C2D_STANDARD_56", +"C2D_STANDARD_112", +"C2D_HIGHCPU_2", +"C2D_HIGHCPU_4", +"C2D_HIGHCPU_8", +"C2D_HIGHCPU_16", +"C2D_HIGHCPU_32", +"C2D_HIGHCPU_56", +"C2D_HIGHCPU_112", +"C2D_HIGHMEM_2", +"C2D_HIGHMEM_4", +"C2D_HIGHMEM_8", +"C2D_HIGHMEM_16", +"C2D_HIGHMEM_32", +"C2D_HIGHMEM_56", +"C2D_HIGHMEM_112", +"G2_STANDARD_4", +"G2_STANDARD_8", +"G2_STANDARD_12", +"G2_STANDARD_16", +"G2_STANDARD_24", +"G2_STANDARD_32", +"G2_STANDARD_48", +"G2_STANDARD_96", +"G4_STANDARD_48", +"C3_STANDARD_4", +"C3_STANDARD_8", +"C3_STANDARD_22", +"C3_STANDARD_44", +"C3_STANDARD_88", +"C3_STANDARD_176", +"C3_HIGHCPU_4", +"C3_HIGHCPU_8", +"C3_HIGHCPU_22", +"C3_HIGHCPU_44", +"C3_HIGHCPU_88", +"C3_HIGHCPU_176", +"C3_HIGHMEM_4", +"C3_HIGHMEM_8", +"C3_HIGHMEM_22", +"C3_HIGHMEM_44", +"C3_HIGHMEM_88", +"C3_HIGHMEM_176", +"C4_STANDARD_8", +"C4_STANDARD_16", +"C4_STANDARD_24", +"C4_STANDARD_32", +"C4_STANDARD_48", +"C4_STANDARD_96", +"C4_STANDARD_144", +"C4_STANDARD_192", +"C4_STANDARD_288", +"C4_HIGHCPU_8", +"C4_HIGHCPU_16", +"C4_HIGHCPU_24", +"C4_HIGHCPU_32", +"C4_HIGHCPU_48", +"C4_HIGHCPU_96", +"C4_HIGHCPU_144", +"C4_HIGHCPU_192", +"C4_HIGHCPU_288", +"C4_HIGHMEM_8", +"C4_HIGHMEM_16", +"C4_HIGHMEM_24", +"C4_HIGHMEM_32", +"C4_HIGHMEM_48", +"C4_HIGHMEM_96", +"C4_HIGHMEM_144", +"C4_HIGHMEM_192", +"C4_HIGHMEM_288", +"C4A_STANDARD_8", +"C4A_STANDARD_16", +"C4A_STANDARD_32", +"C4A_STANDARD_48", +"C4A_STANDARD_64", +"C4A_STANDARD_72", +"C4A_HIGHCPU_8", +"C4A_HIGHCPU_16", +"C4A_HIGHCPU_32", +"C4A_HIGHCPU_48", +"C4A_HIGHCPU_64", +"C4A_HIGHCPU_72", +"C4A_HIGHMEM_8", +"C4A_HIGHMEM_16", +"C4A_HIGHMEM_32", +"C4A_HIGHMEM_48", +"C4A_HIGHMEM_64", +"C4A_HIGHMEM_72" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"" +], +"type": "string" +}, +"memories": { +"description": "Required. VM memory in gb.", +"format": "double", +"type": "number" +}, +"ramType": { +"description": "Required. Type of ram.", +"enum": [ +"UNKNOWN_RAM_TYPE", +"A2", +"A3", +"A4", +"A4X", +"C2", +"C2D", +"CUSTOM", +"E2", +"G2", +"G4", +"C4", +"C4A", +"C3", +"M2", +"M1", +"N1", +"N2_CUSTOM", +"N2", +"N2D" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"COMPUTE_OPTIMIZED", +"", +"", +"", +"", +"", +"", +"", +"", +"MEMORY_OPTIMIZED_UPGRADE_PREMIUM", +"MEMORY_OPTIMIZED", +"", +"", +"", +"" +], +"type": "string" +}, +"trackingLabels": { +"additionalProperties": { +"type": "string" +}, +"description": "Billing tracking labels. They do not contain any user data but only the labels set by Vertex Core Infra itself. Tracking labels' keys are defined with special format: goog-[\\p{Ll}\\p{N}]+ E.g. \"key\": \"goog-k8s-cluster-name\",\"value\": \"us-east1-b4rk\"", +"type": "object" +} +}, +"type": "object" +}, +"Sentence": { +"description": "Represents a sentence in the input document.", +"id": "Sentence", +"properties": { +"sentiment": { +"$ref": "Sentiment", +"description": "For calls to AnalyzeSentiment or if AnnotateTextRequest.Features.extract_document_sentiment is set to true, this field will contain the sentiment for the sentence." +}, +"text": { +"$ref": "TextSpan", +"description": "The sentence text." +} +}, +"type": "object" +}, +"Sentiment": { +"description": "Represents the feeling associated with the entire text or entities in the text.", +"id": "Sentiment", +"properties": { +"magnitude": { +"description": "A non-negative number in the [0, +inf] range, which represents the absolute magnitude of sentiment regardless of score (positive or negative).", +"format": "float", +"type": "number" +}, +"score": { +"description": "Sentiment score between -1.0 (negative sentiment) and 1.0 (positive sentiment).", +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"Status": { +"description": "The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors).", +"id": "Status", +"properties": { +"code": { +"description": "The status code, which should be an enum value of google.rpc.Code.", +"format": "int32", +"type": "integer" +}, +"details": { +"description": "A list of messages that carry the error details. There is a common set of message types for APIs to use.", +"items": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.", +"type": "string" +} +}, +"type": "object" +}, +"TextSpan": { +"description": "Represents a text span in the input document.", +"id": "TextSpan", +"properties": { +"beginOffset": { +"description": "The API calculates the beginning offset of the content in the original document according to the EncodingType specified in the API request.", +"format": "int32", +"type": "integer" +}, +"content": { +"description": "The content of the text span, which is a substring of the document.", +"type": "string" +} +}, +"type": "object" +}, +"TpuMetric": { +"id": "TpuMetric", +"properties": { +"tpuSec": { +"description": "Required. Seconds of TPU usage, e.g. 3600.", +"format": "int64", +"type": "string" +}, +"tpuType": { +"description": "Required. Type of TPU, e.g. TPU_V2, TPU_V3_POD.", +"enum": [ +"UNKNOWN_TPU_TYPE", +"TPU_V2_POD", +"TPU_V2", +"TPU_V3_POD", +"TPU_V3", +"TPU_V5_LITEPOD" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"" +], +"type": "string" +} +}, +"type": "object" +}, +"XPSArrayStats": { +"description": "The data statistics of a series of ARRAY values.", +"id": "XPSArrayStats", +"properties": { +"commonStats": { +"$ref": "XPSCommonStats" +}, +"memberStats": { +"$ref": "XPSDataStats", +"description": "Stats of all the values of all arrays, as if they were a single long series of data. The type depends on the element type of the array." +} +}, +"type": "object" +}, +"XPSBatchPredictResponse": { +"id": "XPSBatchPredictResponse", +"properties": { +"exampleSet": { +"$ref": "XPSExampleSet", +"description": "Examples for batch prediction result. Under full API implementation, results are stored in shared RecordIO of AnnotatedExample protobufs, the annotations field of which is populated by XPS backend." +} +}, +"type": "object" +}, +"XPSBoundingBoxMetricsEntry": { +"description": "Bounding box matching model metrics for a single intersection-over-union threshold and multiple label match confidence thresholds.", +"id": "XPSBoundingBoxMetricsEntry", +"properties": { +"confidenceMetricsEntries": { +"description": "Metrics for each label-match confidence_threshold from 0.05,0.10,...,0.95,0.96,0.97,0.98,0.99.", +"items": { +"$ref": "XPSBoundingBoxMetricsEntryConfidenceMetricsEntry" +}, +"type": "array" +}, +"iouThreshold": { +"description": "The intersection-over-union threshold value used to compute this metrics entry.", +"format": "float", +"type": "number" +}, +"meanAveragePrecision": { +"description": "The mean average precision.", +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"XPSBoundingBoxMetricsEntryConfidenceMetricsEntry": { +"description": "Metrics for a single confidence threshold.", +"id": "XPSBoundingBoxMetricsEntryConfidenceMetricsEntry", +"properties": { +"confidenceThreshold": { +"description": "The confidence threshold value used to compute the metrics.", +"format": "float", +"type": "number" +}, +"f1Score": { +"description": "The harmonic mean of recall and precision.", +"format": "float", +"type": "number" +}, +"precision": { +"description": "Precision for the given confidence threshold.", +"format": "float", +"type": "number" +}, +"recall": { +"description": "Recall for the given confidence threshold.", +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"XPSCategoryStats": { +"description": "The data statistics of a series of CATEGORY values.", +"id": "XPSCategoryStats", +"properties": { +"commonStats": { +"$ref": "XPSCommonStats" +}, +"topCategoryStats": { +"description": "The statistics of the top 20 CATEGORY values, ordered by CategoryStats.SingleCategoryStats.count.", +"items": { +"$ref": "XPSCategoryStatsSingleCategoryStats" +}, +"type": "array" +} +}, +"type": "object" +}, +"XPSCategoryStatsSingleCategoryStats": { +"description": "The statistics of a single CATEGORY value.", +"id": "XPSCategoryStatsSingleCategoryStats", +"properties": { +"count": { +"description": "The number of occurrences of this value in the series.", +"format": "int64", +"type": "string" +}, +"value": { +"description": "The CATEGORY value.", +"type": "string" +} +}, +"type": "object" +}, +"XPSClassificationEvaluationMetrics": { +"description": "Model evaluation metrics for classification problems. It can be used for image and video classification. Next tag: 9.", +"id": "XPSClassificationEvaluationMetrics", +"properties": { +"auPrc": { +"description": "The Area under precision recall curve metric.", +"format": "float", +"type": "number" +}, +"auRoc": { +"description": "The Area Under Receiver Operating Characteristic curve metric. Micro-averaged for the overall evaluation.", +"format": "float", +"type": "number" +}, +"baseAuPrc": { +"description": "The Area under precision recall curve metric based on priors.", +"format": "float", +"type": "number" +}, +"confidenceMetricsEntries": { +"description": "Metrics that have confidence thresholds. Precision-recall curve can be derived from it.", +"items": { +"$ref": "XPSConfidenceMetricsEntry" +}, +"type": "array" +}, +"confusionMatrix": { +"$ref": "XPSConfusionMatrix", +"description": "Confusion matrix of the evaluation. Only set for MULTICLASS classification problems where number of annotation specs is no more than 10. Only set for model level evaluation, not for evaluation per label." +}, +"evaluatedExamplesCount": { +"description": "The number of examples used for model evaluation.", +"format": "int32", +"type": "integer" +}, +"logLoss": { +"description": "The Log Loss metric.", +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"XPSColorMap": { +"description": "Map from color to display name. Will only be used by Image Segmentation for uCAIP.", +"id": "XPSColorMap", +"properties": { +"annotationSpecIdToken": { +"description": "Should be used during training.", +"type": "string" +}, +"color": { +"$ref": "Color", +"deprecated": true, +"description": "This type is deprecated in favor of the IntColor below. This is because google.type.Color represent color has a float which semantically does not reflect discrete classes/categories concept. Moreover, to handle it well we need to have some tolerance when converting to a discretized color. As such, the recommendation is to have API surface still use google.type.Color while internally IntColor is used." +}, +"displayName": { +"description": "Should be used during preprocessing.", +"type": "string" +}, +"intColor": { +"$ref": "XPSColorMapIntColor" +} +}, +"type": "object" +}, +"XPSColorMapIntColor": { +"description": "RGB color and each channel is represented by an integer.", +"id": "XPSColorMapIntColor", +"properties": { +"blue": { +"description": "The value should be in range of [0, 255].", +"format": "int32", +"type": "integer" +}, +"green": { +"description": "The value should be in range of [0, 255].", +"format": "int32", +"type": "integer" +}, +"red": { +"description": "The value should be in range of [0, 255].", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"XPSColumnSpec": { +"id": "XPSColumnSpec", +"properties": { +"columnId": { +"description": "The unique id of the column. When Preprocess, the Tables BE will popuate the order id of the column, which reflects the order of the column inside the table, i.e. 0 means the first column in the table, N-1 means the last column. AutoML BE will persist this order id in Spanner and set the order id here when calling RefreshTablesStats and Train. Note: it's different than the column_spec_id that is generated in AutoML BE.", +"format": "int32", +"type": "integer" +}, +"dataStats": { +"$ref": "XPSDataStats", +"description": "The data stats of the column. It's outputed in RefreshTablesStats and a required input for Train." +}, +"dataType": { +"$ref": "XPSDataType", +"description": "The data type of the column. It's outputed in Preprocess rpc and a required input for RefreshTablesStats and Train." +}, +"displayName": { +"description": "The display name of the column. It's outputed in Preprocess and a required input for RefreshTablesStats and Train.", +"type": "string" +}, +"forecastingMetadata": { +"$ref": "XPSColumnSpecForecastingMetadata" +}, +"topCorrelatedColumns": { +"description": "It's outputed in RefreshTablesStats, and a required input in Train.", +"items": { +"$ref": "XPSColumnSpecCorrelatedColumn" +}, +"type": "array" +} +}, +"type": "object" +}, +"XPSColumnSpecCorrelatedColumn": { +"description": "Identifies a table's column, and its correlation with the column this ColumnSpec describes.", +"id": "XPSColumnSpecCorrelatedColumn", +"properties": { +"columnId": { +"format": "int32", +"type": "integer" +}, +"correlationStats": { +"$ref": "XPSCorrelationStats" +} +}, +"type": "object" +}, +"XPSColumnSpecForecastingMetadata": { +"id": "XPSColumnSpecForecastingMetadata", +"properties": { +"columnType": { +"description": "The type of the column for FORECASTING model training purposes.", +"enum": [ +"COLUMN_TYPE_UNSPECIFIED", +"KEY", +"KEY_METADATA", +"TIME_SERIES_AVAILABLE_PAST_ONLY", +"TIME_SERIES_AVAILABLE_PAST_AND_FUTURE" +], +"enumDescriptions": [ +"An un-set value of this enum.", +"Key columns are used to identify timeseries.", +"This column contains information describing static properties of the entities identified by the key column(s) (e.g. city's ZIP code).", +"This column contains information for the given entity, at any time poinrt, they are only available in the time series before.", +"This column contains information for the given entity is known both for the past and the sufficiently far future." +], +"type": "string" +} +}, +"type": "object" +}, +"XPSCommonStats": { +"description": "Common statistics for a column with a specified data type.", +"id": "XPSCommonStats", +"properties": { +"distinctValueCount": { +"format": "int64", +"type": "string" +}, +"nullValueCount": { +"format": "int64", +"type": "string" +}, +"validValueCount": { +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"XPSConfidenceMetricsEntry": { +"description": "ConfidenceMetricsEntry includes generic precision, recall, f1 score etc. Next tag: 16.", +"id": "XPSConfidenceMetricsEntry", +"properties": { +"confidenceThreshold": { +"description": "Metrics are computed with an assumption that the model never return predictions with score lower than this value.", +"format": "float", +"type": "number" +}, +"f1Score": { +"description": "The harmonic mean of recall and precision.", +"format": "float", +"type": "number" +}, +"f1ScoreAt1": { +"description": "The harmonic mean of recall_at1 and precision_at1.", +"format": "float", +"type": "number" +}, +"falseNegativeCount": { +"description": "The number of ground truth labels that are not matched by a model created label.", +"format": "int64", +"type": "string" +}, +"falsePositiveCount": { +"description": "The number of model created labels that do not match a ground truth label.", +"format": "int64", +"type": "string" +}, +"falsePositiveRate": { +"description": "False Positive Rate for the given confidence threshold.", +"format": "float", +"type": "number" +}, +"falsePositiveRateAt1": { +"description": "The False Positive Rate when only considering the label that has the highest prediction score and not below the confidence threshold for each example.", +"format": "float", +"type": "number" +}, +"positionThreshold": { +"description": "Metrics are computed with an assumption that the model always returns at most this many predictions (ordered by their score, descendingly), but they all still need to meet the confidence_threshold.", +"format": "int32", +"type": "integer" +}, +"precision": { +"description": "Precision for the given confidence threshold.", +"format": "float", +"type": "number" +}, +"precisionAt1": { +"description": "The precision when only considering the label that has the highest prediction score and not below the confidence threshold for each example.", +"format": "float", +"type": "number" +}, +"recall": { +"description": "Recall (true positive rate) for the given confidence threshold.", +"format": "float", +"type": "number" +}, +"recallAt1": { +"description": "The recall (true positive rate) when only considering the label that has the highest prediction score and not below the confidence threshold for each example.", +"format": "float", +"type": "number" +}, +"trueNegativeCount": { +"description": "The number of labels that were not created by the model, but if they would, they would not match a ground truth label.", +"format": "int64", +"type": "string" +}, +"truePositiveCount": { +"description": "The number of model created labels that match a ground truth label.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"XPSConfusionMatrix": { +"description": "Confusion matrix of the model running the classification.", +"id": "XPSConfusionMatrix", +"properties": { +"annotationSpecIdToken": { +"description": "For the following three repeated fields, only one is intended to be set. annotation_spec_id_token is preferable to be set. ID tokens of the annotation specs used in the confusion matrix.", +"items": { +"type": "string" +}, +"type": "array" +}, +"category": { +"description": "Category (mainly for segmentation). Set only for image segmentation models. Note: uCAIP Image Segmentation should use annotation_spec_id_token.", +"items": { +"format": "int32", +"type": "integer" +}, +"type": "array" +}, +"row": { +"description": "Rows in the confusion matrix. The number of rows is equal to the size of `annotation_spec_id_token`. `row[i].value[j]` is the number of examples that have ground truth of the `annotation_spec_id_token[i]` and are predicted as `annotation_spec_id_token[j]` by the model being evaluated.", +"items": { +"$ref": "XPSConfusionMatrixRow" +}, +"type": "array" +}, +"sentimentLabel": { +"description": "Sentiment labels used in the confusion matrix. Set only for text sentiment models. For AutoML Text Revamp, use `annotation_spec_id_token` instead and leave this field empty.", +"items": { +"format": "int32", +"type": "integer" +}, +"type": "array" +} +}, +"type": "object" +}, +"XPSConfusionMatrixRow": { +"description": "A row in the confusion matrix.", +"id": "XPSConfusionMatrixRow", +"properties": { +"count": { +"description": "Same as above except intended to represent other counts (for e.g. for segmentation this is pixel count). NOTE(params): Only example_count or count is set (oneoff does not support repeated fields unless they are embedded inside another message).", +"items": { +"format": "int64", +"type": "string" +}, +"type": "array" +}, +"exampleCount": { +"description": "Value of the specific cell in the confusion matrix. The number of values each row has (i.e. the length of the row) is equal to the length of the annotation_spec_id_token field.", +"items": { +"format": "int32", +"type": "integer" +}, +"type": "array" +} +}, +"type": "object" +}, +"XPSCoreMlFormat": { +"description": "A model format used for iOS mobile devices.", +"id": "XPSCoreMlFormat", +"properties": {}, +"type": "object" +}, +"XPSCorrelationStats": { +"description": "A correlation statistics between two series of DataType values. The series may have differing DataType-s, but within a single series the DataType must be the same.", +"id": "XPSCorrelationStats", +"properties": { +"cramersV": { +"description": "The correlation value using the Cramer's V measure.", +"format": "double", +"type": "number" +} +}, +"type": "object" +}, +"XPSDataErrors": { +"description": "Different types of errors and the stats associatesd with each error.", +"id": "XPSDataErrors", +"properties": { +"count": { +"description": "Number of records having errors associated with the enum.", +"format": "int32", +"type": "integer" +}, +"errorType": { +"description": "Type of the error.", +"enum": [ +"ERROR_TYPE_UNSPECIFIED", +"UNSUPPORTED_AUDIO_FORMAT", +"FILE_EXTENSION_MISMATCH_WITH_AUDIO_FORMAT", +"FILE_TOO_LARGE", +"MISSING_TRANSCRIPTION" +], +"enumDescriptions": [ +"Not specified.", +"Audio format not in the formats by cloud-speech AutoML. Currently only wav and flac file formats are supported.", +"File format differnt from what is specified in the file name extension.", +"File too large. Maximum allowed size is 50 MB.", +"Transcript is missing." +], +"type": "string" +} +}, +"type": "object" +}, +"XPSDataStats": { +"description": "The data statistics of a series of values that share the same DataType.", +"id": "XPSDataStats", +"properties": { +"arrayStats": { +"$ref": "XPSArrayStats", +"description": "The statistics for ARRAY DataType." +}, +"categoryStats": { +"$ref": "XPSCategoryStats", +"description": "The statistics for CATEGORY DataType." +}, +"distinctValueCount": { +"description": "The number of distinct values.", +"format": "int64", +"type": "string" +}, +"float64Stats": { +"$ref": "XPSFloat64Stats", +"description": "The statistics for FLOAT64 DataType." +}, +"nullValueCount": { +"description": "The number of values that are null.", +"format": "int64", +"type": "string" +}, +"stringStats": { +"$ref": "XPSStringStats", +"description": "The statistics for STRING DataType." +}, +"structStats": { +"$ref": "XPSStructStats", +"description": "The statistics for STRUCT DataType." +}, +"timestampStats": { +"$ref": "XPSTimestampStats", +"description": "The statistics for TIMESTAMP DataType." +}, +"validValueCount": { +"description": "The number of values that are valid.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"XPSDataType": { +"description": "Indicated the type of data that can be stored in a structured data entity (e.g. a table).", +"id": "XPSDataType", +"properties": { +"compatibleDataTypes": { +"description": "The highly compatible data types to this data type.", +"items": { +"$ref": "XPSDataType" +}, +"type": "array" +}, +"listElementType": { +"$ref": "XPSDataType", +"description": "If type_code == ARRAY, then `list_element_type` is the type of the elements." +}, +"nullable": { +"description": "If true, this DataType can also be `null`.", +"type": "boolean" +}, +"structType": { +"$ref": "XPSStructType", +"description": "If type_code == STRUCT, then `struct_type` provides type information for the struct's fields." +}, +"timeFormat": { +"description": "If type_code == TIMESTAMP then `time_format` provides the format in which that time field is expressed. The time_format must be written in `strftime` syntax. If time_format is not set, then the default format as described on the field is used.", +"type": "string" +}, +"typeCode": { +"description": "Required. The TypeCode for this type.", +"enum": [ +"TYPE_CODE_UNSPECIFIED", +"FLOAT64", +"TIMESTAMP", +"STRING", +"ARRAY", +"STRUCT", +"CATEGORY" +], +"enumDescriptions": [ +"Not specified. Should not be used.", +"Encoded as `number`, or the strings `\"NaN\"`, `\"Infinity\"`, or `\"-Infinity\"`.", +"Must be between 0AD and 9999AD. Encoded as `string` according to time_format, or, if that format is not set, then in RFC 3339 `date-time` format, where `time-offset` = `\"Z\"` (e.g. 1985-04-12T23:20:50.52Z).", +"Encoded as `string`.", +"Encoded as `list`, where the list elements are represented according to list_element_type.", +"Encoded as `struct`, where field values are represented according to struct_type.", +"Values of this type are not further understood by AutoML, e.g. AutoML is unable to tell the order of values (as it could with FLOAT64), or is unable to say if one value contains another (as it could with STRING). Encoded as `string` (bytes should be base64-encoded, as described in RFC 4648, section 4)." +], +"type": "string" +} +}, +"type": "object" +}, +"XPSDockerFormat": { +"description": "A model format used for Docker containers. Use the params field to customize the container. The container is verified to work correctly on ubuntu 16.04 operating system.", +"id": "XPSDockerFormat", +"properties": { +"cpuArchitecture": { +"description": "Optional. Additional cpu information describing the requirements for the to be exported model files.", +"enum": [ +"CPU_ARCHITECTURE_UNSPECIFIED", +"CPU_ARCHITECTURE_X86_64" +], +"enumDescriptions": [ +"", +"" +], +"type": "string" +}, +"gpuArchitecture": { +"description": "Optional. Additional gpu information describing the requirements for the to be exported model files.", +"enum": [ +"GPU_ARCHITECTURE_UNSPECIFIED", +"GPU_ARCHITECTURE_NVIDIA" +], +"enumDescriptions": [ +"", +"" +], +"type": "string" +} +}, +"type": "object" +}, +"XPSEdgeTpuTfLiteFormat": { +"description": "A model format used for [Edge TPU](https://cloud.google.com/edge-tpu/) devices.", +"id": "XPSEdgeTpuTfLiteFormat", +"properties": {}, +"type": "object" +}, +"XPSEvaluationMetrics": { +"description": "Contains xPS-specific model evaluation metrics either for a single annotation spec (label), or for the model overall. Next tag: 18.", +"id": "XPSEvaluationMetrics", +"properties": { +"annotationSpecIdToken": { +"description": "The annotation_spec for which this evaluation metrics instance had been created. Empty iff this is an overall model evaluation (like Tables evaluation metrics), i.e. aggregated across all labels. The value comes from the input annotations in AnnotatedExample. For MVP product or for text sentiment models where annotation_spec_id_token is not available, set label instead.", +"type": "string" +}, +"category": { +"description": "The integer category label for which this evaluation metric instance had been created. Valid categories are 0 or higher. Overall model evaluation should set this to negative values (rather than implicit zero). Only used for Image Segmentation (prefer to set annotation_spec_id_token instead). Note: uCAIP Image Segmentation should use annotation_spec_id_token.", +"format": "int32", +"type": "integer" +}, +"evaluatedExampleCount": { +"description": "The number of examples used to create this evaluation metrics instance.", +"format": "int32", +"type": "integer" +}, +"imageClassificationEvalMetrics": { +"$ref": "XPSClassificationEvaluationMetrics" +}, +"imageObjectDetectionEvalMetrics": { +"$ref": "XPSImageObjectDetectionEvaluationMetrics" +}, +"imageSegmentationEvalMetrics": { +"$ref": "XPSImageSegmentationEvaluationMetrics" +}, +"label": { +"description": "The label for which this evaluation metrics instance had been created. Empty iff this is an overall model evaluation (like Tables evaluation metrics), i.e. aggregated across all labels. The label maps to AnnotationSpec.display_name in Public API protos. Only used by MVP implementation and text sentiment FULL implementation.", +"type": "string" +}, +"regressionEvalMetrics": { +"$ref": "XPSRegressionEvaluationMetrics" +}, +"tablesClassificationEvalMetrics": { +"$ref": "XPSClassificationEvaluationMetrics" +}, +"tablesEvalMetrics": { +"$ref": "XPSTablesEvaluationMetrics" +}, +"textClassificationEvalMetrics": { +"$ref": "XPSClassificationEvaluationMetrics" +}, +"textExtractionEvalMetrics": { +"$ref": "XPSTextExtractionEvaluationMetrics" +}, +"textSentimentEvalMetrics": { +"$ref": "XPSTextSentimentEvaluationMetrics" +}, +"translationEvalMetrics": { +"$ref": "XPSTranslationEvaluationMetrics" +}, +"videoActionRecognitionEvalMetrics": { +"$ref": "XPSVideoActionRecognitionEvaluationMetrics" +}, +"videoClassificationEvalMetrics": { +"$ref": "XPSClassificationEvaluationMetrics" +}, +"videoObjectTrackingEvalMetrics": { +"$ref": "XPSVideoObjectTrackingEvaluationMetrics" +} +}, +"type": "object" +}, +"XPSEvaluationMetricsSet": { +"description": "Specifies location of model evaluation metrics.", +"id": "XPSEvaluationMetricsSet", +"properties": { +"evaluationMetrics": { +"description": "Inline EvaluationMetrics - should be relatively small. For passing large quantities of exhaustive metrics, use file_spec.", +"items": { +"$ref": "XPSEvaluationMetrics" +}, +"type": "array" +}, +"fileSpec": { +"$ref": "XPSFileSpec", +"description": "File spec containing evaluation metrics of a model, must point to RecordIO file(s) of intelligence.cloud.automl.xps.EvaluationMetrics messages." +}, +"numEvaluationMetrics": { +"description": "Number of the evaluation metrics (usually one per label plus overall).", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"XPSExampleSet": { +"description": "Set of examples or input sources.", +"id": "XPSExampleSet", +"properties": { +"fileSpec": { +"$ref": "XPSFileSpec", +"description": "File spec of the examples or input sources." +}, +"fingerprint": { +"description": "Fingerprint of the example set.", +"format": "int64", +"type": "string" +}, +"numExamples": { +"description": "Number of examples.", +"format": "int64", +"type": "string" +}, +"numInputSources": { +"description": "Number of input sources.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"XPSExportModelOutputConfig": { +"id": "XPSExportModelOutputConfig", +"properties": { +"coreMlFormat": { +"$ref": "XPSCoreMlFormat" +}, +"dockerFormat": { +"$ref": "XPSDockerFormat" +}, +"edgeTpuTfLiteFormat": { +"$ref": "XPSEdgeTpuTfLiteFormat" +}, +"exportFirebaseAuxiliaryInfo": { +"description": "For any model and format: If true, will additionally export FirebaseExportedModelInfo in a firebase.txt file.", +"type": "boolean" +}, +"outputGcrUri": { +"description": "The Google Contained Registry path the exported files to be pushed to. This location is set if the exported format is DOCKDER.", +"type": "string" +}, +"outputGcsUri": { +"description": "The Google Cloud Storage directory where XPS will output the exported models and related files. Format: gs://bucket/directory", +"type": "string" +}, +"tfJsFormat": { +"$ref": "XPSTfJsFormat" +}, +"tfLiteFormat": { +"$ref": "XPSTfLiteFormat" +}, +"tfSavedModelFormat": { +"$ref": "XPSTfSavedModelFormat" +} +}, +"type": "object" +}, +"XPSFileSpec": { +"description": "Spec of input and output files, on external file systems (for example, Colossus Namespace System or Google Cloud Storage).", +"id": "XPSFileSpec", +"properties": { +"directoryPath": { +"deprecated": true, +"description": "Deprecated. Use file_spec.", +"type": "string" +}, +"fileFormat": { +"enum": [ +"FILE_FORMAT_UNKNOWN", +"FILE_FORMAT_SSTABLE", +"FILE_FORMAT_TRANSLATION_RKV", +"FILE_FORMAT_RECORDIO", +"FILE_FORMAT_RAW_CSV", +"FILE_FORMAT_RAW_CAPACITOR" +], +"enumDeprecated": [ +false, +true, +false, +false, +false, +false +], +"enumDescriptions": [ +"", +"", +"Internal format for parallel text data used by Google Translate.", +"", +"Only the lexicographically first file described by the file_spec contains the header line.", +"" +], +"type": "string" +}, +"fileSpec": { +"description": "Single file path, or file pattern of format \"/path/to/file@shard_count\". E.g. /cns/cell-d/somewhere/file@2 is expanded to two files: /cns/cell-d/somewhere/file-00000-of-00002 and /cns/cell-d/somewhere/file-00001-of-00002.", +"type": "string" +}, +"singleFilePath": { +"deprecated": true, +"description": "Deprecated. Use file_spec.", +"type": "string" +} +}, +"type": "object" +}, +"XPSFloat64Stats": { +"description": "The data statistics of a series of FLOAT64 values.", +"id": "XPSFloat64Stats", +"properties": { +"commonStats": { +"$ref": "XPSCommonStats" +}, +"histogramBuckets": { +"description": "Histogram buckets of the data series. Sorted by the min value of the bucket, ascendingly, and the number of the buckets is dynamically generated. The buckets are non-overlapping and completely cover whole FLOAT64 range with min of first bucket being `\"-Infinity\"`, and max of the last one being `\"Infinity\"`.", +"items": { +"$ref": "XPSFloat64StatsHistogramBucket" +}, +"type": "array" +}, +"mean": { +"description": "The mean of the series.", +"format": "double", +"type": "number" +}, +"quantiles": { +"description": "Ordered from 0 to k k-quantile values of the data series of n values. The value at index i is, approximately, the i*n/k-th smallest value in the series; for i = 0 and i = k these are, respectively, the min and max values.", +"items": { +"format": "double", +"type": "number" +}, +"type": "array" +}, +"standardDeviation": { +"description": "The standard deviation of the series.", +"format": "double", +"type": "number" +} +}, +"type": "object" +}, +"XPSFloat64StatsHistogramBucket": { +"description": "A bucket of a histogram.", +"id": "XPSFloat64StatsHistogramBucket", +"properties": { +"count": { +"description": "The number of data values that are in the bucket, i.e. are between min and max values.", +"format": "int64", +"type": "string" +}, +"max": { +"description": "The maximum value of the bucket, exclusive unless max = `\"Infinity\"`, in which case it's inclusive.", +"format": "double", +"type": "number" +}, +"min": { +"description": "The minimum value of the bucket, inclusive.", +"format": "double", +"type": "number" +} +}, +"type": "object" +}, +"XPSImageClassificationTrainResponse": { +"id": "XPSImageClassificationTrainResponse", +"properties": { +"classCount": { +"description": "Total number of classes.", +"format": "int64", +"type": "string" +}, +"exportModelSpec": { +"$ref": "XPSImageExportModelSpec", +"description": "Information of downloadable models that are pre-generated as part of training flow and will be persisted in AutoMl backend. Populated for AutoMl requests." +}, +"modelArtifactSpec": { +"$ref": "XPSImageModelArtifactSpec", +"description": "## The fields below are only populated under uCAIP request scope." +}, +"modelServingSpec": { +"$ref": "XPSImageModelServingSpec" +}, +"stopReason": { +"description": "Stop reason for training job, e.g. 'TRAIN_BUDGET_REACHED', 'MODEL_CONVERGED', 'MODEL_EARLY_STOPPED'.", +"enum": [ +"TRAIN_STOP_REASON_UNSPECIFIED", +"TRAIN_STOP_REASON_BUDGET_REACHED", +"TRAIN_STOP_REASON_MODEL_CONVERGED", +"TRAIN_STOP_REASON_MODEL_EARLY_STOPPED" +], +"enumDescriptions": [ +"", +"", +"Model fully converged, can not be resumbed training.", +"Model early converged, can be further trained till full convergency." +], +"type": "string" +}, +"trainCostInNodeTime": { +"description": "The actual cost to create this model. - For edge type model, the cost is expressed in node hour. - For cloud type model,the cost is expressed in compute hour. - Populated for models created before GA. To be deprecated after GA.", +"format": "google-duration", +"type": "string" +}, +"trainCostNodeSeconds": { +"description": "The actual training cost, expressed in node seconds. Populated for models trained in node time.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"XPSImageExportModelSpec": { +"description": "Information of downloadable models that are pre-generated as part of training flow and will be persisted in AutoMl backend. Upon receiving ExportModel request from user, AutoMl backend can serve the pre-generated models to user if exists (by copying the files from internal path to user provided location), otherwise, AutoMl backend will call xPS ExportModel API to generate the model on the fly with the requesting format.", +"id": "XPSImageExportModelSpec", +"properties": { +"exportModelOutputConfig": { +"description": "Contains the model format and internal location of the model files to be exported/downloaded. Use the Google Cloud Storage bucket name which is provided via TrainRequest.gcs_bucket_name to store the model files.", +"items": { +"$ref": "XPSExportModelOutputConfig" +}, +"type": "array" +} +}, +"type": "object" +}, +"XPSImageModelArtifactSpec": { +"description": "Stores the locations and related metadata of the model artifacts. Populated for uCAIP requests only.", +"id": "XPSImageModelArtifactSpec", +"properties": { +"checkpointArtifact": { +"$ref": "XPSModelArtifactItem", +"description": "The Tensorflow checkpoint files. e.g. Used for resumable training." +}, +"exportArtifact": { +"description": "The model binary files in different formats for model export.", +"items": { +"$ref": "XPSModelArtifactItem" +}, +"type": "array" +}, +"labelGcsUri": { +"description": "Google Cloud Storage URI of decoded labels file for model export 'dict.txt'.", +"type": "string" +}, +"servingArtifact": { +"$ref": "XPSModelArtifactItem", +"description": "The default model binary file used for serving (e.g. online predict, batch predict) via public Cloud AI Platform API." +}, +"tfJsBinaryGcsPrefix": { +"description": "Google Cloud Storage URI prefix of Tensorflow JavaScript binary files 'groupX-shardXofX.bin'. Deprecated.", +"type": "string" +}, +"tfLiteMetadataGcsUri": { +"description": "Google Cloud Storage URI of Tensorflow Lite metadata 'tflite_metadata.json'.", +"type": "string" +} +}, +"type": "object" +}, +"XPSImageModelServingSpec": { +"description": "Serving specification for image models.", +"id": "XPSImageModelServingSpec", +"properties": { +"modelThroughputEstimation": { +"description": "Populate under uCAIP request scope.", +"items": { +"$ref": "XPSImageModelServingSpecModelThroughputEstimation" +}, +"type": "array" +}, +"nodeQps": { +"description": "An estimated value of how much traffic a node can serve. Populated for AutoMl request only.", +"format": "double", +"type": "number" +}, +"tfRuntimeVersion": { +"description": "## The fields below are only populated under uCAIP request scope. https://cloud.google.com/ml-engine/docs/runtime-version-list", +"type": "string" +} +}, +"type": "object" +}, +"XPSImageModelServingSpecModelThroughputEstimation": { +"id": "XPSImageModelServingSpecModelThroughputEstimation", +"properties": { +"computeEngineAcceleratorType": { +"enum": [ +"UNSPECIFIED", +"NVIDIA_TESLA_K80", +"NVIDIA_TESLA_P100", +"NVIDIA_TESLA_V100", +"NVIDIA_TESLA_P4", +"NVIDIA_TESLA_T4", +"NVIDIA_TESLA_A100", +"NVIDIA_A100_80GB", +"NVIDIA_L4", +"NVIDIA_H100_80GB", +"NVIDIA_H100_MEGA_80GB", +"NVIDIA_H200_141GB", +"NVIDIA_B200", +"NVIDIA_GB200", +"TPU_V2", +"TPU_V3", +"TPU_V4_POD", +"TPU_V5_LITEPOD" +], +"enumDescriptions": [ +"", +"Nvidia Tesla K80 GPU.", +"Nvidia Tesla P100 GPU.", +"Nvidia Tesla V100 GPU.", +"Nvidia Tesla P4 GPU.", +"Nvidia Tesla T4 GPU.", +"Nvidia Tesla A100 GPU.", +"Nvidia A100 80GB GPU.", +"Nvidia L4 GPU.", +"Nvidia H100 80Gb GPU.", +"Nvidia H100 80Gb GPU.", +"Nvidia H200 141Gb GPU.", +"Nvidia B200 GPU.", +"Nvidia GB200 GPU.", +"TPU v2 (JellyFish).", +"TPU v3 (DragonFish).", +"TPU_v4 (PufferFish).", +"TPU v5 Lite Pods." +], +"type": "string" +}, +"latencyInMilliseconds": { +"description": "Estimated latency.", +"format": "double", +"type": "number" +}, +"nodeQps": { +"description": "The approximate qps a deployed node can serve.", +"format": "double", +"type": "number" +}, +"servomaticPartitionType": { +"enum": [ +"PARTITION_TYPE_UNSPECIFIED", +"PARTITION_ZERO", +"PARTITION_REDUCED_HOMING", +"PARTITION_JELLYFISH", +"PARTITION_CPU", +"PARTITION_CUSTOM_STORAGE_CPU" +], +"enumDescriptions": [ +"", +"The default partition.", +"It has significantly lower replication than partition-0 and is located in the US only. It also has a larger model size limit and higher default RAM quota than partition-0. Customers with batch traffic, US-based traffic, or very large models should use this partition. Capacity in this partition is significantly cheaper than partition-0.", +"To be used by customers with Jellyfish-accelerated ops.", +"The partition used by regionalized servomatic cloud regions.", +"The partition used for loading models from custom storage." +], +"type": "string" +} +}, +"type": "object" +}, +"XPSImageObjectDetectionEvaluationMetrics": { +"description": "Model evaluation metrics for image object detection problems. Evaluates prediction quality of labeled bounding boxes.", +"id": "XPSImageObjectDetectionEvaluationMetrics", +"properties": { +"boundingBoxMeanAveragePrecision": { +"description": "The single metric for bounding boxes evaluation: the mean_average_precision averaged over all bounding_box_metrics_entries.", +"format": "float", +"type": "number" +}, +"boundingBoxMetricsEntries": { +"description": "The bounding boxes match metrics for each Intersection-over-union threshold 0.05,0.10,...,0.95,0.96,0.97,0.98,0.99 and each label confidence threshold 0.05,0.10,...,0.95,0.96,0.97,0.98,0.99 pair.", +"items": { +"$ref": "XPSBoundingBoxMetricsEntry" +}, +"type": "array" +}, +"evaluatedBoundingBoxCount": { +"description": "The total number of bounding boxes (i.e. summed over all images) the ground truth used to create this evaluation had.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"XPSImageObjectDetectionModelSpec": { +"id": "XPSImageObjectDetectionModelSpec", +"properties": { +"classCount": { +"description": "Total number of classes.", +"format": "int64", +"type": "string" +}, +"exportModelSpec": { +"$ref": "XPSImageExportModelSpec" +}, +"maxBoundingBoxCount": { +"description": "Max number of bounding box.", +"format": "int64", +"type": "string" +}, +"modelArtifactSpec": { +"$ref": "XPSImageModelArtifactSpec", +"description": "## The fields below are only populated under uCAIP request scope." +}, +"modelServingSpec": { +"$ref": "XPSImageModelServingSpec" +}, +"stopReason": { +"description": "Stop reason for training job, e.g. 'TRAIN_BUDGET_REACHED', 'MODEL_CONVERGED'.", +"enum": [ +"TRAIN_STOP_REASON_UNSPECIFIED", +"TRAIN_STOP_REASON_BUDGET_REACHED", +"TRAIN_STOP_REASON_MODEL_CONVERGED", +"TRAIN_STOP_REASON_MODEL_EARLY_STOPPED" +], +"enumDescriptions": [ +"", +"", +"Model fully converged, can not be resumbed training.", +"Model early converged, can be further trained till full convergency." +], +"type": "string" +}, +"trainCostNodeSeconds": { +"description": "The actual train cost of creating this model, expressed in node seconds, i.e. 3,600 value in this field means 1 node hour.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"XPSImageSegmentationEvaluationMetrics": { +"description": "Model evaluation metrics for image segmentation problems. Next tag: 4.", +"id": "XPSImageSegmentationEvaluationMetrics", +"properties": { +"confidenceMetricsEntries": { +"description": "Metrics that have confidence thresholds. Precision-recall curve can be derived from it.", +"items": { +"$ref": "XPSImageSegmentationEvaluationMetricsConfidenceMetricsEntry" +}, +"type": "array" +} +}, +"type": "object" +}, +"XPSImageSegmentationEvaluationMetricsConfidenceMetricsEntry": { +"description": "Metrics for a single confidence threshold.", +"id": "XPSImageSegmentationEvaluationMetricsConfidenceMetricsEntry", +"properties": { +"confidenceThreshold": { +"description": "The confidence threshold value used to compute the metrics.", +"format": "float", +"type": "number" +}, +"confusionMatrix": { +"$ref": "XPSConfusionMatrix", +"description": "Confusion matrix of the per confidence_threshold evaluation. Pixel counts are set here. Only set for model level evaluation, not for evaluation per label." +}, +"diceScoreCoefficient": { +"description": "DSC or the F1 score: The harmonic mean of recall and precision.", +"format": "float", +"type": "number" +}, +"iouScore": { +"description": "IOU score.", +"format": "float", +"type": "number" +}, +"precision": { +"description": "Precision for the given confidence threshold.", +"format": "float", +"type": "number" +}, +"recall": { +"description": "Recall for the given confidence threshold.", +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"XPSImageSegmentationTrainResponse": { +"id": "XPSImageSegmentationTrainResponse", +"properties": { +"colorMaps": { +"description": "Color map of the model.", +"items": { +"$ref": "XPSColorMap" +}, +"type": "array" +}, +"exportModelSpec": { +"$ref": "XPSImageExportModelSpec", +"description": "NOTE: These fields are not used/needed in EAP but will be set later." +}, +"modelArtifactSpec": { +"$ref": "XPSImageModelArtifactSpec", +"description": "## The fields below are only populated under uCAIP request scope. Model artifact spec stores and model gcs pathes and related metadata" +}, +"modelServingSpec": { +"$ref": "XPSImageModelServingSpec" +}, +"stopReason": { +"description": "Stop reason for training job, e.g. 'TRAIN_BUDGET_REACHED', 'MODEL_CONVERGED'.", +"enum": [ +"TRAIN_STOP_REASON_UNSPECIFIED", +"TRAIN_STOP_REASON_BUDGET_REACHED", +"TRAIN_STOP_REASON_MODEL_CONVERGED", +"TRAIN_STOP_REASON_MODEL_EARLY_STOPPED" +], +"enumDescriptions": [ +"", +"", +"Model fully converged, can not be resumbed training.", +"Model early converged, can be further trained till full convergency." +], +"type": "string" +}, +"trainCostNodeSeconds": { +"description": "The actual train cost of creating this model, expressed in node seconds, i.e. 3,600 value in this field means 1 node hour.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"XPSIntegratedGradientsAttribution": { +"deprecated": true, +"description": "An attribution method that computes the Aumann-Shapley value taking advantage of the model's fully differentiable structure. Refer to this paper for more details: https://arxiv.org/abs/1703.01365", +"id": "XPSIntegratedGradientsAttribution", +"properties": { +"stepCount": { +"description": "The number of steps for approximating the path integral. A good value to start is 50 and gradually increase until the sum to diff property is within the desired error range. Valid range of its value is [1, 100], inclusively.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"XPSMetricEntry": { +"id": "XPSMetricEntry", +"properties": { +"argentumMetricId": { +"description": "For billing metrics that are using legacy sku's, set the legacy billing metric id here. This will be sent to Chemist as the \"cloudbilling.googleapis.com/argentum_metric_id\" label. Otherwise leave empty.", +"type": "string" +}, +"doubleValue": { +"description": "A double value.", +"format": "double", +"type": "number" +}, +"int64Value": { +"description": "A signed 64-bit integer value.", +"format": "int64", +"type": "string" +}, +"metricName": { +"description": "The metric name defined in the service configuration.", +"type": "string" +}, +"systemLabels": { +"description": "Billing system labels for this (metric, value) pair.", +"items": { +"$ref": "XPSMetricEntryLabel" +}, +"type": "array" +} +}, +"type": "object" +}, +"XPSMetricEntryLabel": { +"id": "XPSMetricEntryLabel", +"properties": { +"labelName": { +"description": "The name of the label.", +"type": "string" +}, +"labelValue": { +"description": "The value of the label.", +"type": "string" +} +}, +"type": "object" +}, +"XPSModelArtifactItem": { +"description": "A single model artifact item.", +"id": "XPSModelArtifactItem", +"properties": { +"artifactFormat": { +"description": "The model artifact format.", +"enum": [ +"ARTIFACT_FORMAT_UNSPECIFIED", +"TF_CHECKPOINT", +"TF_SAVED_MODEL", +"TF_LITE", +"EDGE_TPU_TF_LITE", +"TF_JS", +"CORE_ML" +], +"enumDescriptions": [ +"Should not be used.", +"The Tensorflow checkpoints. See https://www.tensorflow.org/guide/checkpoint.", +"The Tensorflow SavedModel binary.", +"Model artifact in generic TensorFlow Lite (.tflite) format. See https://www.tensorflow.org/lite.", +"Used for [Edge TPU](https://cloud.google.com/edge-tpu/) devices.", +"A [TensorFlow.js](https://www.tensorflow.org/js) model that can be used in the browser and in Node.js using JavaScript.", +"Used for iOS mobile devices in (.mlmodel) format. See https://developer.apple.com/documentation/coreml" +], +"type": "string" +}, +"gcsUri": { +"description": "The Google Cloud Storage URI that stores the model binary files.", +"type": "string" +} +}, +"type": "object" +}, +"XPSPreprocessResponse": { +"id": "XPSPreprocessResponse", +"properties": { +"outputExampleSet": { +"$ref": "XPSExampleSet", +"description": "Preprocessed examples, that are to be imported into AutoML storage. This should point to RecordIO file(s) of PreprocessedExample messages. The PreprocessedExample.mvp_training_data-s returned here are later verbatim passed to Train() call in TrainExample.mvp_training_data." +}, +"speechPreprocessResp": { +"$ref": "XPSSpeechPreprocessResponse" +}, +"tablesPreprocessResponse": { +"$ref": "XPSTablesPreprocessResponse" +}, +"translationPreprocessResp": { +"$ref": "XPSTranslationPreprocessResponse" +} +}, +"type": "object" +}, +"XPSRegressionEvaluationMetrics": { +"description": "Model evaluation metrics for regression problems. It can be used for Tables.", +"id": "XPSRegressionEvaluationMetrics", +"properties": { +"meanAbsoluteError": { +"description": "Mean Absolute Error (MAE).", +"format": "float", +"type": "number" +}, +"meanAbsolutePercentageError": { +"description": "Mean absolute percentage error. Only set if all ground truth values are positive.", +"format": "float", +"type": "number" +}, +"rSquared": { +"description": "R squared.", +"format": "float", +"type": "number" +}, +"regressionMetricsEntries": { +"description": "A list of actual versus predicted points for the model being evaluated.", +"items": { +"$ref": "XPSRegressionMetricsEntry" +}, +"type": "array" +}, +"rootMeanSquaredError": { +"description": "Root Mean Squared Error (RMSE).", +"format": "float", +"type": "number" +}, +"rootMeanSquaredLogError": { +"description": "Root mean squared log error.", +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"XPSRegressionMetricsEntry": { +"description": "A pair of actual & observed values for the model being evaluated.", +"id": "XPSRegressionMetricsEntry", +"properties": { +"predictedValue": { +"description": "The observed value for a row in the dataset.", +"format": "float", +"type": "number" +}, +"trueValue": { +"description": "The actual target value for a row in the dataset.", +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"XPSReportingMetrics": { +"id": "XPSReportingMetrics", +"properties": { +"effectiveTrainingDuration": { +"deprecated": true, +"description": "The effective time training used. If set, this is used for quota management and billing. Deprecated. AutoML BE doesn't use this. Don't set.", +"format": "google-duration", +"type": "string" +}, +"metricEntries": { +"description": "One entry per metric name. The values must be aggregated per metric name.", +"items": { +"$ref": "XPSMetricEntry" +}, +"type": "array" +} +}, +"type": "object" +}, +"XPSResponseExplanationMetadata": { +"deprecated": true, +"id": "XPSResponseExplanationMetadata", +"properties": { +"inputs": { +"additionalProperties": { +"$ref": "XPSResponseExplanationMetadataInputMetadata" +}, +"description": "Metadata of the input.", +"type": "object" +}, +"outputs": { +"additionalProperties": { +"$ref": "XPSResponseExplanationMetadataOutputMetadata" +}, +"description": "Metadata of the output.", +"type": "object" +} +}, +"type": "object" +}, +"XPSResponseExplanationMetadataInputMetadata": { +"description": "Metadata of the input of a feature.", +"id": "XPSResponseExplanationMetadataInputMetadata", +"properties": { +"inputTensorName": { +"description": "Name of the input tensor for this model. Only needed in train response.", +"type": "string" +}, +"modality": { +"description": "Modality of the feature. Valid values are: numeric, image. Defaults to numeric.", +"enum": [ +"MODALITY_UNSPECIFIED", +"NUMERIC", +"IMAGE", +"CATEGORICAL" +], +"enumDescriptions": [ +"", +"", +"", +"" +], +"type": "string" +}, +"visualizationConfig": { +"$ref": "XPSVisualization", +"description": "Visualization configurations for image explanation." +} +}, +"type": "object" +}, +"XPSResponseExplanationMetadataOutputMetadata": { +"description": "Metadata of the prediction output to be explained.", +"id": "XPSResponseExplanationMetadataOutputMetadata", +"properties": { +"outputTensorName": { +"description": "Name of the output tensor. Only needed in train response.", +"type": "string" +} +}, +"type": "object" +}, +"XPSResponseExplanationParameters": { +"deprecated": true, +"id": "XPSResponseExplanationParameters", +"properties": { +"integratedGradientsAttribution": { +"$ref": "XPSIntegratedGradientsAttribution", +"description": "An attribution method that computes Aumann-Shapley values taking advantage of the model's fully differentiable structure. Refer to this paper for more details: https://arxiv.org/abs/1703.01365" +}, +"xraiAttribution": { +"$ref": "XPSXraiAttribution", +"description": "An attribution method that redistributes Integrated Gradients attribution to segmented regions, taking advantage of the model's fully differentiable structure. Refer to this paper for more details: https://arxiv.org/abs/1906.02825 XRAI currently performs better on natural images, like a picture of a house or an animal. If the images are taken in artificial environments, like a lab or manufacturing line, or from diagnostic equipment, like x-rays or quality-control cameras, use Integrated Gradients instead." +} +}, +"type": "object" +}, +"XPSResponseExplanationSpec": { +"deprecated": true, +"description": "Specification of Model explanation. Feature-based XAI in AutoML Vision ICN is deprecated.", +"id": "XPSResponseExplanationSpec", +"properties": { +"explanationType": { +"description": "Explanation type. For AutoML Image Classification models, possible values are: * `image-integrated-gradients` * `image-xrai`", +"type": "string" +}, +"metadata": { +"$ref": "XPSResponseExplanationMetadata", +"description": "Metadata describing the Model's input and output for explanation." +}, +"parameters": { +"$ref": "XPSResponseExplanationParameters", +"description": "Parameters that configure explaining of the Model's predictions." +} +}, +"type": "object" +}, +"XPSRow": { +"id": "XPSRow", +"properties": { +"columnIds": { +"description": "The ids of the columns. Note: The below `values` field must match order of this field, if this field is set.", +"items": { +"format": "int32", +"type": "integer" +}, +"type": "array" +}, +"values": { +"description": "The values of the row cells, given in the same order as the column_ids. If column_ids is not set, then in the same order as the input_feature_column_ids in TablesModelMetadata.", +"items": { +"type": "any" +}, +"type": "array" +} +}, +"type": "object" +}, +"XPSSpeechEvaluationMetrics": { +"id": "XPSSpeechEvaluationMetrics", +"properties": { +"subModelEvaluationMetrics": { +"description": "Evaluation metrics for all submodels contained in this model.", +"items": { +"$ref": "XPSSpeechEvaluationMetricsSubModelEvaluationMetric" +}, +"type": "array" +} +}, +"type": "object" +}, +"XPSSpeechEvaluationMetricsSubModelEvaluationMetric": { +"id": "XPSSpeechEvaluationMetricsSubModelEvaluationMetric", +"properties": { +"biasingModelType": { +"description": "Type of the biasing model.", +"enum": [ +"BIASING_MODEL_TYPE_UNSPECIFIED", +"COMMAND_AND_SEARCH", +"PHONE_CALL", +"VIDEO", +"DEFAULT" +], +"enumDescriptions": [ +"", +"Build biasing model on top of COMMAND_AND_SEARCH model", +"Build biasing model on top of PHONE_CALL model", +"Build biasing model on top of VIDEO model", +"Build biasing model on top of DEFAULT model" +], +"type": "string" +}, +"isEnhancedModel": { +"description": "If true then it means we have an enhanced version of the biasing models.", +"type": "boolean" +}, +"numDeletions": { +"format": "int32", +"type": "integer" +}, +"numInsertions": { +"format": "int32", +"type": "integer" +}, +"numSubstitutions": { +"format": "int32", +"type": "integer" +}, +"numUtterances": { +"description": "Number of utterances used in the wer computation.", +"format": "int32", +"type": "integer" +}, +"numWords": { +"description": "Number of words over which the word error rate was computed.", +"format": "int32", +"type": "integer" +}, +"sentenceAccuracy": { +"description": "Below fields are used for debugging purposes", +"format": "double", +"type": "number" +}, +"wer": { +"description": "Word error rate (standard error metric used for speech recognition).", +"format": "double", +"type": "number" +} +}, +"type": "object" +}, +"XPSSpeechModelSpec": { +"id": "XPSSpeechModelSpec", +"properties": { +"datasetId": { +"description": "Required for speech xps backend. Speech xps has to use dataset_id and model_id as the primary key in db so that speech API can query the db directly.", +"format": "int64", +"type": "string" +}, +"language": { +"type": "string" +}, +"subModelSpecs": { +"description": "Model specs for all submodels contained in this model.", +"items": { +"$ref": "XPSSpeechModelSpecSubModelSpec" +}, +"type": "array" +} +}, +"type": "object" +}, +"XPSSpeechModelSpecSubModelSpec": { +"id": "XPSSpeechModelSpecSubModelSpec", +"properties": { +"biasingModelType": { +"description": "Type of the biasing model.", +"enum": [ +"BIASING_MODEL_TYPE_UNSPECIFIED", +"COMMAND_AND_SEARCH", +"PHONE_CALL", +"VIDEO", +"DEFAULT" +], +"enumDescriptions": [ +"", +"Build biasing model on top of COMMAND_AND_SEARCH model", +"Build biasing model on top of PHONE_CALL model", +"Build biasing model on top of VIDEO model", +"Build biasing model on top of DEFAULT model" +], +"type": "string" +}, +"clientId": { +"description": "In S3, Recognition ClientContextId.client_id", +"type": "string" +}, +"contextId": { +"description": "In S3, Recognition ClientContextId.context_id", +"type": "string" +}, +"isEnhancedModel": { +"description": "If true then it means we have an enhanced version of the biasing models.", +"type": "boolean" +} +}, +"type": "object" +}, +"XPSSpeechPreprocessResponse": { +"id": "XPSSpeechPreprocessResponse", +"properties": { +"cnsTestDataPath": { +"description": "Location od shards of sstables (test data) of DataUtterance protos.", +"type": "string" +}, +"cnsTrainDataPath": { +"description": "Location of shards of sstables (training data) of DataUtterance protos.", +"type": "string" +}, +"prebuiltModelEvaluationMetrics": { +"$ref": "XPSSpeechEvaluationMetrics", +"description": "The metrics for prebuilt speech models. They are included here because there is no prebuilt speech models stored in the AutoML." +}, +"speechPreprocessStats": { +"$ref": "XPSSpeechPreprocessStats", +"description": "Stats associated with the data." +} +}, +"type": "object" +}, +"XPSSpeechPreprocessStats": { +"id": "XPSSpeechPreprocessStats", +"properties": { +"dataErrors": { +"description": "Different types of data errors and the counts associated with them.", +"items": { +"$ref": "XPSDataErrors" +}, +"type": "array" +}, +"numHumanLabeledExamples": { +"description": "The number of rows marked HUMAN_LABELLED", +"format": "int32", +"type": "integer" +}, +"numLogsExamples": { +"description": "The number of samples found in the previously recorded logs data.", +"format": "int32", +"type": "integer" +}, +"numMachineTranscribedExamples": { +"description": "The number of rows marked as MACHINE_TRANSCRIBED", +"format": "int32", +"type": "integer" +}, +"testExamplesCount": { +"description": "The number of examples labelled as TEST by Speech xps server.", +"format": "int32", +"type": "integer" +}, +"testSentencesCount": { +"description": "The number of sentences in the test data set.", +"format": "int32", +"type": "integer" +}, +"testWordsCount": { +"description": "The number of words in the test data set.", +"format": "int32", +"type": "integer" +}, +"trainExamplesCount": { +"description": "The number of examples labeled as TRAIN by Speech xps server.", +"format": "int32", +"type": "integer" +}, +"trainSentencesCount": { +"description": "The number of sentences in the training data set.", +"format": "int32", +"type": "integer" +}, +"trainWordsCount": { +"description": "The number of words in the training data set.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"XPSStringStats": { +"description": "The data statistics of a series of STRING values.", +"id": "XPSStringStats", +"properties": { +"commonStats": { +"$ref": "XPSCommonStats" +}, +"topUnigramStats": { +"description": "The statistics of the top 20 unigrams, ordered by StringStats.UnigramStats.count.", +"items": { +"$ref": "XPSStringStatsUnigramStats" +}, +"type": "array" +} +}, +"type": "object" +}, +"XPSStringStatsUnigramStats": { +"description": "The statistics of a unigram.", +"id": "XPSStringStatsUnigramStats", +"properties": { +"count": { +"description": "The number of occurrences of this unigram in the series.", +"format": "int64", +"type": "string" +}, +"value": { +"description": "The unigram.", +"type": "string" +} +}, +"type": "object" +}, +"XPSStructStats": { +"description": "The data statistics of a series of STRUCT values.", +"id": "XPSStructStats", +"properties": { +"commonStats": { +"$ref": "XPSCommonStats" +}, +"fieldStats": { +"additionalProperties": { +"$ref": "XPSDataStats" +}, +"description": "Map from a field name of the struct to data stats aggregated over series of all data in that field across all the structs.", +"type": "object" +} +}, +"type": "object" +}, +"XPSStructType": { +"description": "`StructType` defines the DataType-s of a STRUCT type.", +"id": "XPSStructType", +"properties": { +"fields": { +"additionalProperties": { +"$ref": "XPSDataType" +}, +"description": "Unordered map of struct field names to their data types.", +"type": "object" +} +}, +"type": "object" +}, +"XPSTableSpec": { +"id": "XPSTableSpec", +"properties": { +"columnSpecs": { +"additionalProperties": { +"$ref": "XPSColumnSpec" +}, +"description": "Mapping from column id to column spec.", +"type": "object" +}, +"importedDataSizeInBytes": { +"description": "The total size of imported data of the table.", +"format": "int64", +"type": "string" +}, +"rowCount": { +"description": "The number of rows in the table.", +"format": "int64", +"type": "string" +}, +"timeColumnId": { +"description": "The id of the time column.", +"format": "int32", +"type": "integer" +}, +"validRowCount": { +"description": "The number of valid rows.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"XPSTablesClassificationMetrics": { +"description": "Metrics for Tables classification problems.", +"id": "XPSTablesClassificationMetrics", +"properties": { +"curveMetrics": { +"description": "Metrics building a curve.", +"items": { +"$ref": "XPSTablesClassificationMetricsCurveMetrics" +}, +"type": "array" +} +}, +"type": "object" +}, +"XPSTablesClassificationMetricsCurveMetrics": { +"description": "Metrics curve data point for a single value.", +"id": "XPSTablesClassificationMetricsCurveMetrics", +"properties": { +"aucPr": { +"description": "The area under the precision-recall curve.", +"format": "double", +"type": "number" +}, +"aucRoc": { +"description": "The area under receiver operating characteristic curve.", +"format": "double", +"type": "number" +}, +"confidenceMetricsEntries": { +"description": "Metrics that have confidence thresholds. Precision-recall curve and ROC curve can be derived from them.", +"items": { +"$ref": "XPSTablesConfidenceMetricsEntry" +}, +"type": "array" +}, +"logLoss": { +"description": "The Log loss metric.", +"format": "double", +"type": "number" +}, +"positionThreshold": { +"description": "The position threshold value used to compute the metrics.", +"format": "int32", +"type": "integer" +}, +"value": { +"description": "The CATEGORY row value (for ARRAY unnested) the curve metrics are for.", +"type": "string" +} +}, +"type": "object" +}, +"XPSTablesConfidenceMetricsEntry": { +"description": "Metrics for a single confidence threshold.", +"id": "XPSTablesConfidenceMetricsEntry", +"properties": { +"confidenceThreshold": { +"description": "The confidence threshold value used to compute the metrics.", +"format": "double", +"type": "number" +}, +"f1Score": { +"description": "The harmonic mean of recall and precision. (2 * precision * recall) / (precision + recall)", +"format": "double", +"type": "number" +}, +"falseNegativeCount": { +"description": "False negative count.", +"format": "int64", +"type": "string" +}, +"falsePositiveCount": { +"description": "False positive count.", +"format": "int64", +"type": "string" +}, +"falsePositiveRate": { +"description": "FPR = #false positives / (#false positives + #true negatives)", +"format": "double", +"type": "number" +}, +"precision": { +"description": "Precision = #true positives / (#true positives + #false positives).", +"format": "double", +"type": "number" +}, +"recall": { +"description": "Recall = #true positives / (#true positives + #false negatives).", +"format": "double", +"type": "number" +}, +"trueNegativeCount": { +"description": "True negative count.", +"format": "int64", +"type": "string" +}, +"truePositiveCount": { +"description": "True positive count.", +"format": "int64", +"type": "string" +}, +"truePositiveRate": { +"description": "TPR = #true positives / (#true positives + #false negatvies)", +"format": "double", +"type": "number" +} +}, +"type": "object" +}, +"XPSTablesDatasetMetadata": { +"description": "Metadata for a dataset used for AutoML Tables.", +"id": "XPSTablesDatasetMetadata", +"properties": { +"mlUseColumnId": { +"description": "Id the column to split the table.", +"format": "int32", +"type": "integer" +}, +"primaryTableSpec": { +"$ref": "XPSTableSpec", +"description": "Primary table." +}, +"targetColumnCorrelations": { +"additionalProperties": { +"$ref": "XPSCorrelationStats" +}, +"description": "(the column id : its CorrelationStats with target column).", +"type": "object" +}, +"targetColumnId": { +"description": "Id of the primary table column that should be used as the training label.", +"format": "int32", +"type": "integer" +}, +"weightColumnId": { +"description": "Id of the primary table column that should be used as the weight column.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"XPSTablesEvaluationMetrics": { +"id": "XPSTablesEvaluationMetrics", +"properties": { +"classificationMetrics": { +"$ref": "XPSTablesClassificationMetrics", +"description": "Classification metrics." +}, +"regressionMetrics": { +"$ref": "XPSTablesRegressionMetrics", +"description": "Regression metrics." +} +}, +"type": "object" +}, +"XPSTablesModelColumnInfo": { +"description": "An information specific to given column and Tables Model, in context of the Model and the predictions created by it.", +"id": "XPSTablesModelColumnInfo", +"properties": { +"columnId": { +"description": "The ID of the column.", +"format": "int32", +"type": "integer" +}, +"featureImportance": { +"description": "When given as part of a Model: Measurement of how much model predictions correctness on the TEST data depend on values in this column. A value between 0 and 1, higher means higher influence. These values are normalized - for all input feature columns of a given model they add to 1. When given back by Predict or Batch Predict: Measurement of how impactful for the prediction returned for the given row the value in this column was. Specifically, the feature importance specifies the marginal contribution that the feature made to the prediction score compared to the baseline score. These values are computed using the Sampled Shapley method.", +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"XPSTablesModelStructure": { +"description": "A description of Tables model structure.", +"id": "XPSTablesModelStructure", +"properties": { +"modelParameters": { +"description": "A list of models.", +"items": { +"$ref": "XPSTablesModelStructureModelParameters" +}, +"type": "array" +} +}, +"type": "object" +}, +"XPSTablesModelStructureModelParameters": { +"description": "Model hyper-parameters for a model.", +"id": "XPSTablesModelStructureModelParameters", +"properties": { +"hyperparameters": { +"items": { +"$ref": "XPSTablesModelStructureModelParametersParameter" +}, +"type": "array" +} +}, +"type": "object" +}, +"XPSTablesModelStructureModelParametersParameter": { +"id": "XPSTablesModelStructureModelParametersParameter", +"properties": { +"floatValue": { +"description": "Float type parameter value.", +"format": "double", +"type": "number" +}, +"intValue": { +"description": "Integer type parameter value.", +"format": "int64", +"type": "string" +}, +"name": { +"description": "Parameter name.", +"type": "string" +}, +"stringValue": { +"description": "String type parameter value.", +"type": "string" +} +}, +"type": "object" +}, +"XPSTablesPreprocessResponse": { +"id": "XPSTablesPreprocessResponse", +"properties": { +"tablesDatasetMetadata": { +"$ref": "XPSTablesDatasetMetadata", +"description": "The table/column id, column_name and the DataTypes of the columns will be populated." +} +}, +"type": "object" +}, +"XPSTablesRegressionMetrics": { +"description": "Metrics for Tables regression problems.", +"id": "XPSTablesRegressionMetrics", +"properties": { +"meanAbsoluteError": { +"description": "Mean absolute error.", +"format": "double", +"type": "number" +}, +"meanAbsolutePercentageError": { +"description": "Mean absolute percentage error, only set if all of the target column's values are positive.", +"format": "double", +"type": "number" +}, +"rSquared": { +"description": "R squared.", +"format": "double", +"type": "number" +}, +"regressionMetricsEntries": { +"description": "A list of actual versus predicted points for the model being evaluated.", +"items": { +"$ref": "XPSRegressionMetricsEntry" +}, +"type": "array" +}, +"rootMeanSquaredError": { +"description": "Root mean squared error.", +"format": "double", +"type": "number" +}, +"rootMeanSquaredLogError": { +"description": "Root mean squared log error.", +"format": "double", +"type": "number" +} +}, +"type": "object" +}, +"XPSTablesTrainResponse": { +"id": "XPSTablesTrainResponse", +"properties": { +"modelStructure": { +"$ref": "XPSTablesModelStructure" +}, +"predictionSampleRows": { +"description": "Sample rows from the dataset this model was trained.", +"items": { +"$ref": "XPSRow" +}, +"type": "array" +}, +"tablesModelColumnInfo": { +"description": "Output only. Auxiliary information for each of the input_feature_column_specs, with respect to this particular model.", +"items": { +"$ref": "XPSTablesModelColumnInfo" +}, +"type": "array" +}, +"trainCostMilliNodeHours": { +"description": "The actual training cost of the model, expressed in milli node hours, i.e. 1,000 value in this field means 1 node hour. Guaranteed to not exceed the train budget.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"XPSTablesTrainingOperationMetadata": { +"id": "XPSTablesTrainingOperationMetadata", +"properties": { +"createModelStage": { +"description": "Current stage of creating model.", +"enum": [ +"CREATE_MODEL_STAGE_UNSPECIFIED", +"DATA_PREPROCESSING", +"TRAINING", +"EVALUATING", +"MODEL_POST_PROCESSING" +], +"enumDescriptions": [ +"Unspecified stage.", +"Prepare the model training pipeline and run data processing.", +"Training model.", +"Run evaluation.", +"Finalizing model training pipeline." +], +"type": "string" +}, +"optimizationObjective": { +"description": "The optimization objective for model.", +"type": "string" +}, +"topTrials": { +"description": "This field is for training. When the operation is terminated successfully, AutoML Backend post this field to operation metadata in spanner. If the metadata has no trials returned, the training operation is supposed to be a failure.", +"items": { +"$ref": "XPSTuningTrial" +}, +"type": "array" +}, +"trainBudgetMilliNodeHours": { +"description": "Creating model budget.", +"format": "int64", +"type": "string" +}, +"trainingObjectivePoints": { +"description": "This field records the training objective value with respect to time, giving insight into how the model architecture search is performing as training time elapses.", +"items": { +"$ref": "XPSTrainingObjectivePoint" +}, +"type": "array" +}, +"trainingStartTime": { +"description": "Timestamp when training process starts.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"XPSTextComponentModel": { +"description": "Component model.", +"id": "XPSTextComponentModel", +"properties": { +"batchPredictionModelGcsUri": { +"description": "The Cloud Storage resource path to hold batch prediction model.", +"type": "string" +}, +"onlinePredictionModelGcsUri": { +"description": "The Cloud Storage resource path to hold online prediction model.", +"type": "string" +}, +"partition": { +"description": "The partition where the model is deployed. Populated by uCAIP BE as part of online PredictRequest.", +"enum": [ +"PARTITION_TYPE_UNSPECIFIED", +"PARTITION_ZERO", +"PARTITION_REDUCED_HOMING", +"PARTITION_JELLYFISH", +"PARTITION_CPU", +"PARTITION_CUSTOM_STORAGE_CPU" +], +"enumDescriptions": [ +"", +"The default partition.", +"It has significantly lower replication than partition-0 and is located in the US only. It also has a larger model size limit and higher default RAM quota than partition-0. Customers with batch traffic, US-based traffic, or very large models should use this partition. Capacity in this partition is significantly cheaper than partition-0.", +"To be used by customers with Jellyfish-accelerated ops.", +"The partition used by regionalized servomatic cloud regions.", +"The partition used for loading models from custom storage." +], +"type": "string" +}, +"servingArtifact": { +"$ref": "XPSModelArtifactItem", +"description": "The default model binary file used for serving (e.g. online predict, batch predict) via public Cloud Ai Platform API." +}, +"servoModelName": { +"description": "The name of servo model. Populated by uCAIP BE as part of online PredictRequest.", +"type": "string" +}, +"submodelName": { +"description": "The name of the trained NL submodel.", +"type": "string" +}, +"submodelType": { +"description": "The type of trained NL submodel", +"enum": [ +"TEXT_MODEL_TYPE_UNSPECIFIED", +"TEXT_MODEL_TYPE_DEFAULT", +"TEXT_MODEL_TYPE_META_ARCHITECT", +"TEXT_MODEL_TYPE_ATC", +"TEXT_MODEL_TYPE_CLARA2", +"TEXT_MODEL_TYPE_CHATBASE", +"TEXT_MODEL_TYPE_SAFT_SPAN_LABELING", +"TEXT_MODEL_TYPE_TEXT_EXTRACTION", +"TEXT_MODEL_TYPE_RELATIONSHIP_EXTRACTION", +"TEXT_MODEL_TYPE_COMPOSITE", +"TEXT_MODEL_TYPE_ALL_MODELS", +"TEXT_MODEL_TYPE_BERT", +"TEXT_MODEL_TYPE_ENC_PALM" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"", +"", +"Model type for entity extraction.", +"Model type for relationship extraction.", +"A composite model represents a set of component models that have to be used together for prediction. A composite model appears to be a single model to the model user. It may contain only one component model.", +"Model type used to train default, MA, and ATC models in a single batch worker pipeline.", +"BERT pipeline needs a specific model type, since it uses a different TFX configuration compared with DEFAULT (despite sharing most of the code).", +"Model type for EncPaLM." +], +"type": "string" +}, +"tfRuntimeVersion": { +"description": "## The fields below are only populated under uCAIP request scope. https://cloud.google.com/ml-engine/docs/runtime-version-list", +"type": "string" +}, +"versionNumber": { +"description": "The servomatic model version number. Populated by uCAIP BE as part of online PredictRequest.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"XPSTextExtractionEvaluationMetrics": { +"id": "XPSTextExtractionEvaluationMetrics", +"properties": { +"bestF1ConfidenceMetrics": { +"$ref": "XPSConfidenceMetricsEntry", +"deprecated": true, +"description": "Values are at the highest F1 score on the precision-recall curve. Only confidence_threshold, recall, precision, and f1_score will be set." +}, +"confidenceMetricsEntries": { +"description": "If the enclosing EvaluationMetrics.label is empty, confidence_metrics_entries is an evaluation of the entire model across all labels. If the enclosing EvaluationMetrics.label is set, confidence_metrics_entries applies to that label.", +"items": { +"$ref": "XPSConfidenceMetricsEntry" +}, +"type": "array" +}, +"confusionMatrix": { +"$ref": "XPSConfusionMatrix", +"description": "Confusion matrix of the model, at the default confidence threshold (0.0). Only set for whole-model evaluation, not for evaluation per label." +}, +"perLabelConfidenceMetrics": { +"additionalProperties": { +"$ref": "XPSConfidenceMetricsEntry" +}, +"deprecated": true, +"description": "Only recall, precision, and f1_score will be set.", +"type": "object" +} +}, +"type": "object" +}, +"XPSTextSentimentEvaluationMetrics": { +"description": "Model evaluation metrics for text sentiment problems.", +"id": "XPSTextSentimentEvaluationMetrics", +"properties": { +"confusionMatrix": { +"$ref": "XPSConfusionMatrix", +"description": "Output only. Confusion matrix of the evaluation. Only set for the overall model evaluation, not for evaluation of a single annotation spec." +}, +"f1Score": { +"description": "Output only. The harmonic mean of recall and precision.", +"format": "float", +"type": "number" +}, +"linearKappa": { +"description": "Output only. Linear weighted kappa. Only set for the overall model evaluation, not for evaluation of a single annotation spec.", +"format": "float", +"type": "number" +}, +"meanAbsoluteError": { +"description": "Output only. Mean absolute error. Only set for the overall model evaluation, not for evaluation of a single annotation spec.", +"format": "float", +"type": "number" +}, +"meanSquaredError": { +"description": "Output only. Mean squared error. Only set for the overall model evaluation, not for evaluation of a single annotation spec.", +"format": "float", +"type": "number" +}, +"precision": { +"description": "Output only. Precision.", +"format": "float", +"type": "number" +}, +"quadraticKappa": { +"description": "Output only. Quadratic weighted kappa. Only set for the overall model evaluation, not for evaluation of a single annotation spec.", +"format": "float", +"type": "number" +}, +"recall": { +"description": "Output only. Recall.", +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"XPSTextToSpeechTrainResponse": { +"description": "TextToSpeech train response", +"id": "XPSTextToSpeechTrainResponse", +"properties": {}, +"type": "object" +}, +"XPSTextTrainResponse": { +"id": "XPSTextTrainResponse", +"properties": { +"componentModel": { +"description": "Component submodels.", +"items": { +"$ref": "XPSTextComponentModel" +}, +"type": "array" +} +}, +"type": "object" +}, +"XPSTfJsFormat": { +"description": "A [TensorFlow.js](https://www.tensorflow.org/js) model that can be used in the browser and in Node.js using JavaScript.", +"id": "XPSTfJsFormat", +"properties": {}, +"type": "object" +}, +"XPSTfLiteFormat": { +"description": "LINT.IfChange A model format used for mobile and IoT devices. See https://www.tensorflow.org/lite.", +"id": "XPSTfLiteFormat", +"properties": {}, +"type": "object" +}, +"XPSTfSavedModelFormat": { +"description": "A tensorflow model format in SavedModel format.", +"id": "XPSTfSavedModelFormat", +"properties": {}, +"type": "object" +}, +"XPSTimestampStats": { +"description": "The data statistics of a series of TIMESTAMP values.", +"id": "XPSTimestampStats", +"properties": { +"commonStats": { +"$ref": "XPSCommonStats" +}, +"granularStats": { +"additionalProperties": { +"$ref": "XPSTimestampStatsGranularStats" +}, +"description": "The string key is the pre-defined granularity. Currently supported: hour_of_day, day_of_week, month_of_year. Granularities finer that the granularity of timestamp data are not populated (e.g. if timestamps are at day granularity, then hour_of_day is not populated).", +"type": "object" +}, +"medianTimestampNanos": { +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"XPSTimestampStatsGranularStats": { +"description": "Stats split by a defined in context granularity.", +"id": "XPSTimestampStatsGranularStats", +"properties": { +"buckets": { +"additionalProperties": { +"format": "int64", +"type": "string" +}, +"description": "A map from granularity key to example count for that key. E.g. for hour_of_day `13` means 1pm, or for month_of_year `5` means May).", +"type": "object" +} +}, +"type": "object" +}, +"XPSTrackMetricsEntry": { +"description": "Track matching model metrics for a single track match threshold and multiple label match confidence thresholds. Next tag: 6.", +"id": "XPSTrackMetricsEntry", +"properties": { +"confidenceMetricsEntries": { +"description": "Output only. Metrics for each label-match confidence_threshold from 0.05,0.10,...,0.95,0.96,0.97,0.98,0.99. Precision-recall curve is derived from them.", +"items": { +"$ref": "XPSTrackMetricsEntryConfidenceMetricsEntry" +}, +"type": "array" +}, +"iouThreshold": { +"description": "Output only. The intersection-over-union threshold value between bounding boxes across frames used to compute this metric entry.", +"format": "float", +"type": "number" +}, +"meanBoundingBoxIou": { +"description": "Output only. The mean bounding box iou over all confidence thresholds.", +"format": "float", +"type": "number" +}, +"meanMismatchRate": { +"description": "Output only. The mean mismatch rate over all confidence thresholds.", +"format": "float", +"type": "number" +}, +"meanTrackingAveragePrecision": { +"description": "Output only. The mean average precision over all confidence thresholds.", +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"XPSTrackMetricsEntryConfidenceMetricsEntry": { +"description": "Metrics for a single confidence threshold. Next tag: 6.", +"id": "XPSTrackMetricsEntryConfidenceMetricsEntry", +"properties": { +"boundingBoxIou": { +"description": "Output only. Bounding box intersection-over-union precision. Measures how well the bounding boxes overlap between each other (e.g. complete overlap or just barely above iou_threshold).", +"format": "float", +"type": "number" +}, +"confidenceThreshold": { +"description": "Output only. The confidence threshold value used to compute the metrics.", +"format": "float", +"type": "number" +}, +"mismatchRate": { +"description": "Output only. Mismatch rate, which measures the tracking consistency, i.e. correctness of instance ID continuity.", +"format": "float", +"type": "number" +}, +"trackingPrecision": { +"description": "Output only. Tracking precision.", +"format": "float", +"type": "number" +}, +"trackingRecall": { +"description": "Output only. Tracking recall.", +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"XPSTrainResponse": { +"id": "XPSTrainResponse", +"properties": { +"deployedModelSizeBytes": { +"description": "Estimated model size in bytes once deployed.", +"format": "int64", +"type": "string" +}, +"errorAnalysisConfigs": { +"description": "Optional vision model error analysis configuration. The field is set when model error analysis is enabled in the training request. The results of error analysis will be binded together with evaluation results (in the format of AnnotatedExample).", +"items": { +"$ref": "XPSVisionErrorAnalysisConfig" +}, +"type": "array" +}, +"evaluatedExampleSet": { +"$ref": "XPSExampleSet", +"description": "Examples used to evaluate the model (usually the test set), with the predicted annotations. The file_spec should point to recordio file(s) of AnnotatedExample. For each returned example, the example_id_token and annotations predicted by the model must be set. The example payload can and is recommended to be omitted." +}, +"evaluationMetricsSet": { +"$ref": "XPSEvaluationMetricsSet", +"description": "The trained model evaluation metrics. This can be optionally returned." +}, +"explanationConfigs": { +"deprecated": true, +"description": "VisionExplanationConfig for XAI on test set. Optional for when XAI is enable in training request.", +"items": { +"$ref": "XPSResponseExplanationSpec" +}, +"type": "array" +}, +"imageClassificationTrainResp": { +"$ref": "XPSImageClassificationTrainResponse" +}, +"imageObjectDetectionTrainResp": { +"$ref": "XPSImageObjectDetectionModelSpec" +}, +"imageSegmentationTrainResp": { +"$ref": "XPSImageSegmentationTrainResponse" +}, +"modelToken": { +"description": "Token that represents the trained model. This is considered immutable and is persisted in AutoML. xPS can put their own proto in the byte string, to e.g. point to the model checkpoints. The token is passed to other xPS APIs to refer to the model.", +"format": "byte", +"type": "string" +}, +"speechTrainResp": { +"$ref": "XPSSpeechModelSpec" +}, +"tablesTrainResp": { +"$ref": "XPSTablesTrainResponse" +}, +"textToSpeechTrainResp": { +"$ref": "XPSTextToSpeechTrainResponse" +}, +"textTrainResp": { +"$ref": "XPSTextTrainResponse", +"description": "Will only be needed for uCAIP from Beta." +}, +"translationTrainResp": { +"$ref": "XPSTranslationTrainResponse" +}, +"videoActionRecognitionTrainResp": { +"$ref": "XPSVideoActionRecognitionTrainResponse" +}, +"videoClassificationTrainResp": { +"$ref": "XPSVideoClassificationTrainResponse" +}, +"videoObjectTrackingTrainResp": { +"$ref": "XPSVideoObjectTrackingTrainResponse" +} +}, +"type": "object" +}, +"XPSTrainingObjectivePoint": { +"id": "XPSTrainingObjectivePoint", +"properties": { +"createTime": { +"description": "The time at which this point was recorded.", +"format": "google-datetime", +"type": "string" +}, +"value": { +"description": "The objective value when this point was recorded.", +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"XPSTranslationEvaluationMetrics": { +"description": "Evaluation metrics for the dataset.", +"id": "XPSTranslationEvaluationMetrics", +"properties": { +"baseBleuScore": { +"description": "BLEU score for base model.", +"format": "double", +"type": "number" +}, +"bleuScore": { +"description": "BLEU score.", +"format": "double", +"type": "number" +} +}, +"type": "object" +}, +"XPSTranslationPreprocessResponse": { +"description": "Translation preprocess response.", +"id": "XPSTranslationPreprocessResponse", +"properties": { +"parsedExampleCount": { +"description": "Total example count parsed.", +"format": "int64", +"type": "string" +}, +"validExampleCount": { +"description": "Total valid example count.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"XPSTranslationTrainResponse": { +"description": "Train response for translation.", +"id": "XPSTranslationTrainResponse", +"properties": { +"modelType": { +"description": "Type of the model.", +"enum": [ +"MODEL_TYPE_UNSPECIFIED", +"LEGACY", +"CURRENT" +], +"enumDescriptions": [ +"Default", +"Legacy model. Will be deprecated.", +"Current model." +], +"type": "string" +} +}, +"type": "object" +}, +"XPSTuningTrial": { +"description": "Metrics for a tuning job generated, will get forwarded to Stackdriver as model tuning logs. Setting this as a standalone message out of CreateModelMetadata to avoid confusion as we expose this message only to users.", +"id": "XPSTuningTrial", +"properties": { +"modelStructure": { +"$ref": "XPSTablesModelStructure", +"description": "Model parameters for the trial." +}, +"trainingObjectivePoint": { +"$ref": "XPSTrainingObjectivePoint", +"description": "The optimization objective evaluation of the eval split data." +} +}, +"type": "object" +}, +"XPSVideoActionMetricsEntry": { +"description": "The Evaluation metrics entry given a specific precision_window_length.", +"id": "XPSVideoActionMetricsEntry", +"properties": { +"confidenceMetricsEntries": { +"description": "Metrics for each label-match confidence_threshold from 0.05,0.10,...,0.95,0.96,0.97,0.98,0.99.", +"items": { +"$ref": "XPSVideoActionMetricsEntryConfidenceMetricsEntry" +}, +"type": "array" +}, +"meanAveragePrecision": { +"description": "The mean average precision.", +"format": "float", +"type": "number" +}, +"precisionWindowLength": { +"description": "This VideoActionMetricsEntry is calculated based on this prediction window length. If the predicted action's timestamp is inside the time window whose center is the ground truth action's timestamp with this specific length, the prediction result is treated as a true positive.", +"format": "google-duration", +"type": "string" +} +}, +"type": "object" +}, +"XPSVideoActionMetricsEntryConfidenceMetricsEntry": { +"description": "Metrics for a single confidence threshold.", +"id": "XPSVideoActionMetricsEntryConfidenceMetricsEntry", +"properties": { +"confidenceThreshold": { +"description": "Output only. The confidence threshold value used to compute the metrics.", +"format": "float", +"type": "number" +}, +"f1Score": { +"description": "Output only. The harmonic mean of recall and precision.", +"format": "float", +"type": "number" +}, +"precision": { +"description": "Output only. Precision for the given confidence threshold.", +"format": "float", +"type": "number" +}, +"recall": { +"description": "Output only. Recall for the given confidence threshold.", +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"XPSVideoActionRecognitionEvaluationMetrics": { +"description": "Model evaluation metrics for video action recognition.", +"id": "XPSVideoActionRecognitionEvaluationMetrics", +"properties": { +"evaluatedActionCount": { +"description": "Output only. The number of ground truth actions used to create this evaluation.", +"format": "int32", +"type": "integer" +}, +"videoActionMetricsEntries": { +"description": "Output only. The metric entries for precision window lengths: 1s,2s,3s,4s, 5s.", +"items": { +"$ref": "XPSVideoActionMetricsEntry" +}, +"type": "array" +} +}, +"type": "object" +}, +"XPSVideoActionRecognitionTrainResponse": { +"id": "XPSVideoActionRecognitionTrainResponse", +"properties": { +"modelArtifactSpec": { +"$ref": "XPSVideoModelArtifactSpec", +"description": "## The fields below are only populated under uCAIP request scope." +}, +"trainCostNodeSeconds": { +"description": "The actual train cost of creating this model, expressed in node seconds, i.e. 3,600 value in this field means 1 node hour.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"XPSVideoBatchPredictOperationMetadata": { +"id": "XPSVideoBatchPredictOperationMetadata", +"properties": { +"outputExamples": { +"description": "All the partial batch prediction results that are completed at the moment. Output examples are sorted by completion time. The order will not be changed. Each output example should be the path of a single RecordIO file of AnnotatedExamples.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"XPSVideoClassificationTrainResponse": { +"id": "XPSVideoClassificationTrainResponse", +"properties": { +"modelArtifactSpec": { +"$ref": "XPSVideoModelArtifactSpec", +"description": "## The fields below are only populated under uCAIP request scope." +}, +"trainCostNodeSeconds": { +"description": "The actual train cost of creating this model, expressed in node seconds, i.e. 3,600 value in this field means 1 node hour.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"XPSVideoExportModelSpec": { +"description": "Information of downloadable models that are pre-generated as part of training flow and will be persisted in AutoMl backend. Upon receiving ExportModel request from user, AutoMl backend can serve the pre-generated models to user if exists (by copying the files from internal path to user provided location), otherwise, AutoMl backend will call xPS ExportModel API to generate the model on the fly with the requesting format.", +"id": "XPSVideoExportModelSpec", +"properties": { +"exportModelOutputConfig": { +"description": "Contains the model format and internal location of the model files to be exported/downloaded. Use the Google Cloud Storage bucket name which is provided via TrainRequest.gcs_bucket_name to store the model files.", +"items": { +"$ref": "XPSExportModelOutputConfig" +}, +"type": "array" +} +}, +"type": "object" +}, +"XPSVideoModelArtifactSpec": { +"id": "XPSVideoModelArtifactSpec", +"properties": { +"exportArtifact": { +"description": "The model binary files in different formats for model export.", +"items": { +"$ref": "XPSModelArtifactItem" +}, +"type": "array" +}, +"servingArtifact": { +"$ref": "XPSModelArtifactItem", +"description": "The default model binary file used for serving (e.g. batch predict) via public Cloud AI Platform API." +} +}, +"type": "object" +}, +"XPSVideoObjectTrackingEvaluationMetrics": { +"description": "Model evaluation metrics for ObjectTracking problems. Next tag: 10.", +"id": "XPSVideoObjectTrackingEvaluationMetrics", +"properties": { +"boundingBoxMeanAveragePrecision": { +"description": "Output only. The single metric for bounding boxes evaluation: the mean_average_precision averaged over all bounding_box_metrics_entries.", +"format": "float", +"type": "number" +}, +"boundingBoxMetricsEntries": { +"description": "Output only. The bounding boxes match metrics for each Intersection-over-union threshold 0.05,0.10,...,0.95,0.96,0.97,0.98,0.99.", +"items": { +"$ref": "XPSBoundingBoxMetricsEntry" +}, +"type": "array" +}, +"evaluatedBoundingboxCount": { +"description": "The number of bounding boxes used for model evaluation.", +"format": "int32", +"type": "integer" +}, +"evaluatedFrameCount": { +"description": "The number of video frames used for model evaluation.", +"format": "int32", +"type": "integer" +}, +"evaluatedTrackCount": { +"description": "The number of tracks used for model evaluation.", +"format": "int32", +"type": "integer" +}, +"trackMeanAveragePrecision": { +"description": "Output only. The single metric for tracks accuracy evaluation: the mean_average_precision averaged over all track_metrics_entries.", +"format": "float", +"type": "number" +}, +"trackMeanBoundingBoxIou": { +"description": "Output only. The single metric for tracks bounding box iou evaluation: the mean_bounding_box_iou averaged over all track_metrics_entries.", +"format": "float", +"type": "number" +}, +"trackMeanMismatchRate": { +"description": "Output only. The single metric for tracking consistency evaluation: the mean_mismatch_rate averaged over all track_metrics_entries.", +"format": "float", +"type": "number" +}, +"trackMetricsEntries": { +"description": "Output only. The tracks match metrics for each Intersection-over-union threshold 0.05,0.10,...,0.95,0.96,0.97,0.98,0.99.", +"items": { +"$ref": "XPSTrackMetricsEntry" +}, +"type": "array" +} +}, +"type": "object" +}, +"XPSVideoObjectTrackingTrainResponse": { +"id": "XPSVideoObjectTrackingTrainResponse", +"properties": { +"exportModelSpec": { +"$ref": "XPSVideoExportModelSpec", +"description": "Populated for AutoML request only." +}, +"modelArtifactSpec": { +"$ref": "XPSVideoModelArtifactSpec", +"description": "## The fields below are only populated under uCAIP request scope." +}, +"trainCostNodeSeconds": { +"description": "The actual train cost of creating this model, expressed in node seconds, i.e. 3,600 value in this field means 1 node hour.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"XPSVideoTrainingOperationMetadata": { +"id": "XPSVideoTrainingOperationMetadata", +"properties": { +"trainCostMilliNodeHour": { +"description": "This is an estimation of the node hours necessary for training a model, expressed in milli node hours (i.e. 1,000 value in this field means 1 node hour). A node hour represents the time a virtual machine spends running your training job. The cost of one node running for one hour is a node hour.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"XPSVisionErrorAnalysisConfig": { +"description": "The vision model error analysis configuration. Next tag: 3", +"id": "XPSVisionErrorAnalysisConfig", +"properties": { +"exampleCount": { +"description": "The number of query examples in error analysis.", +"format": "int32", +"type": "integer" +}, +"queryType": { +"description": "The query type used in retrieval. The enum values are frozen in the foreseeable future.", +"enum": [ +"QUERY_TYPE_UNSPECIFIED", +"QUERY_TYPE_ALL_SIMILAR", +"QUERY_TYPE_SAME_CLASS_SIMILAR", +"QUERY_TYPE_SAME_CLASS_DISSIMILAR" +], +"enumDescriptions": [ +"Unspecified query type for model error analysis.", +"Query similar samples across all classes in the dataset.", +"Query similar samples from the same class of the input sample.", +"Query dissimilar samples from the same class of the input sample." +], +"type": "string" +} +}, +"type": "object" +}, +"XPSVisionTrainingOperationMetadata": { +"deprecated": true, +"id": "XPSVisionTrainingOperationMetadata", +"properties": { +"explanationUsage": { +"$ref": "InfraUsage", +"description": "Aggregated infra usage within certain time period, for billing report purpose if XAI is enable in training request." +} +}, +"type": "object" +}, +"XPSVisualization": { +"deprecated": true, +"description": "Visualization configurations for image explanation.", +"id": "XPSVisualization", +"properties": { +"clipPercentLowerbound": { +"description": "Excludes attributions below the specified percentile, from the highlighted areas. Defaults to 62.", +"format": "float", +"type": "number" +}, +"clipPercentUpperbound": { +"description": "Excludes attributions above the specified percentile from the highlighted areas. Using the clip_percent_upperbound and clip_percent_lowerbound together can be useful for filtering out noise and making it easier to see areas of strong attribution. Defaults to 99.9.", +"format": "float", +"type": "number" +}, +"colorMap": { +"description": "The color scheme used for the highlighted areas. Defaults to PINK_GREEN for Integrated Gradients attribution, which shows positive attributions in green and negative in pink. Defaults to VIRIDIS for XRAI attribution, which highlights the most influential regions in yellow and the least influential in blue.", +"enum": [ +"COLOR_MAP_UNSPECIFIED", +"PINK_GREEN", +"VIRIDIS", +"RED", +"GREEN", +"RED_GREEN", +"PINK_WHITE_GREEN" +], +"enumDescriptions": [ +"Should not be used.", +"Positive: green. Negative: pink.", +"Viridis color map: A perceptually uniform color mapping which is easier to see by those with colorblindness and progresses from yellow to green to blue. Positive: yellow. Negative: blue.", +"Positive: red. Negative: red.", +"Positive: green. Negative: green.", +"Positive: green. Negative: red.", +"PiYG palette." +], +"type": "string" +}, +"overlayType": { +"description": "How the original image is displayed in the visualization. Adjusting the overlay can help increase visual clarity if the original image makes it difficult to view the visualization. Defaults to NONE.", +"enum": [ +"OVERLAY_TYPE_UNSPECIFIED", +"NONE", +"ORIGINAL", +"GRAYSCALE", +"MASK_BLACK" +], +"enumDescriptions": [ +"Default value. This is the same as NONE.", +"No overlay.", +"The attributions are shown on top of the original image.", +"The attributions are shown on top of grayscaled version of the original image.", +"The attributions are used as a mask to reveal predictive parts of the image and hide the un-predictive parts." +], +"type": "string" +}, +"polarity": { +"description": "Whether to only highlight pixels with positive contributions, negative or both. Defaults to POSITIVE.", +"enum": [ +"POLARITY_UNSPECIFIED", +"POSITIVE", +"NEGATIVE", +"BOTH" +], +"enumDescriptions": [ +"Default value. This is the same as POSITIVE.", +"Highlights the pixels/outlines that were most influential to the model's prediction.", +"Setting polarity to negative highlights areas that does not lead to the models's current prediction.", +"Shows both positive and negative attributions." +], +"type": "string" +}, +"type": { +"description": "Type of the image visualization. Only applicable to Integrated Gradients attribution. OUTLINES shows regions of attribution, while PIXELS shows per-pixel attribution. Defaults to OUTLINES.", +"enum": [ +"TYPE_UNSPECIFIED", +"PIXELS", +"OUTLINES" +], +"enumDescriptions": [ +"Should not be used.", +"Shows which pixel contributed to the image prediction.", +"Shows which region contributed to the image prediction by outlining the region." +], +"type": "string" +} +}, +"type": "object" +}, +"XPSXpsOperationMetadata": { +"id": "XPSXpsOperationMetadata", +"properties": { +"exampleCount": { +"description": "Optional. XPS server can opt to provide example count of the long running operation (e.g. training, data importing, batch prediction).", +"format": "int64", +"type": "string" +}, +"reportingMetrics": { +"$ref": "XPSReportingMetrics", +"description": "Metrics for the operation. By the time the operation is terminated (whether succeeded or failed) as returned from XPS, AutoML BE assumes the metrics are finalized. AutoML BE transparently posts the metrics to Chemist if it's not empty, regardless of the response content or error type. If user is supposed to be charged in case of cancellation/error, this field should be set. In the case where the type of LRO doesn't require any billing, this field should be left unset." +}, +"tablesTrainingOperationMetadata": { +"$ref": "XPSTablesTrainingOperationMetadata" +}, +"videoBatchPredictOperationMetadata": { +"$ref": "XPSVideoBatchPredictOperationMetadata" +}, +"videoTrainingOperationMetadata": { +"$ref": "XPSVideoTrainingOperationMetadata" +}, +"visionTrainingOperationMetadata": { +"$ref": "XPSVisionTrainingOperationMetadata" +} +}, +"type": "object" +}, +"XPSXraiAttribution": { +"deprecated": true, +"description": "An explanation method that redistributes Integrated Gradients attributions to segmented regions, taking advantage of the model's fully differentiable structure. Refer to this paper for more details: https://arxiv.org/abs/1906.02825 Only supports image Models (modality is IMAGE).", +"id": "XPSXraiAttribution", +"properties": { +"stepCount": { +"description": "The number of steps for approximating the path integral. A good value to start is 50 and gradually increase until the sum to diff property is met within the desired error range. Valid range of its value is [1, 100], inclusively.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +} +}, +"servicePath": "", +"title": "Cloud Natural Language API", +"version": "v2", +"version_module": true +} \ No newline at end of file diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/localservices.v1.json b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/localservices.v1.json new file mode 100644 index 0000000000000000000000000000000000000000..8ece640c72e61c2ed40df7958e781132abae42af --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/localservices.v1.json @@ -0,0 +1,586 @@ +{ +"auth": { +"oauth2": { +"scopes": { +"https://www.googleapis.com/auth/adwords": { +"description": "See, edit, create, and delete your Google Ads accounts and data." +} +} +} +}, +"basePath": "", +"baseUrl": "https://localservices.googleapis.com/", +"batchPath": "batch", +"canonicalName": "Localservices", +"description": "", +"discoveryVersion": "v1", +"documentationLink": "https://ads.google.com/local-services-ads/", +"fullyEncodeReservedExpansion": true, +"icons": { +"x16": "http://www.google.com/images/icons/product/search-16.gif", +"x32": "http://www.google.com/images/icons/product/search-32.gif" +}, +"id": "localservices:v1", +"kind": "discovery#restDescription", +"mtlsRootUrl": "https://localservices.mtls.googleapis.com/", +"name": "localservices", +"ownerDomain": "google.com", +"ownerName": "Google", +"parameters": { +"$.xgafv": { +"description": "V1 error format.", +"enum": [ +"1", +"2" +], +"enumDescriptions": [ +"v1 error format", +"v2 error format" +], +"location": "query", +"type": "string" +}, +"access_token": { +"description": "OAuth access token.", +"location": "query", +"type": "string" +}, +"alt": { +"default": "json", +"description": "Data format for response.", +"enum": [ +"json", +"media", +"proto" +], +"enumDescriptions": [ +"Responses with Content-Type of application/json", +"Media download with context-dependent Content-Type", +"Responses with Content-Type of application/x-protobuf" +], +"location": "query", +"type": "string" +}, +"callback": { +"description": "JSONP", +"location": "query", +"type": "string" +}, +"fields": { +"description": "Selector specifying which fields to include in a partial response.", +"location": "query", +"type": "string" +}, +"key": { +"description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", +"location": "query", +"type": "string" +}, +"oauth_token": { +"description": "OAuth 2.0 token for the current user.", +"location": "query", +"type": "string" +}, +"prettyPrint": { +"default": "true", +"description": "Returns response with indentations and line breaks.", +"location": "query", +"type": "boolean" +}, +"quotaUser": { +"description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.", +"location": "query", +"type": "string" +}, +"uploadType": { +"description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", +"location": "query", +"type": "string" +}, +"upload_protocol": { +"description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", +"location": "query", +"type": "string" +} +}, +"protocol": "rest", +"resources": { +"accountReports": { +"methods": { +"search": { +"description": "Get account reports containing aggregate account data of all linked GLS accounts. Caller needs to provide their manager customer id and the associated auth credential that allows them read permissions on their linked accounts.", +"flatPath": "v1/accountReports:search", +"httpMethod": "GET", +"id": "localservices.accountReports.search", +"parameterOrder": [], +"parameters": { +"endDate.day": { +"description": "Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn't significant.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"endDate.month": { +"description": "Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"endDate.year": { +"description": "Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageSize": { +"description": "The maximum number of accounts to return. If the page size is unset, page size will default to 1000. Maximum page_size is 10000. Optional.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The `next_page_token` value returned from a previous request to SearchAccountReports that indicates where listing should continue. Optional.", +"location": "query", +"type": "string" +}, +"query": { +"description": "A query string for searching for account reports. Caller must provide a customer id of their MCC account with an associated Gaia Mint that allows read permission on their linked accounts. Search expressions are case insensitive. Example query: | Query | Description | |-------------------------|-----------------------------------------------| | manager_customer_id:123 | Get Account Report for Manager with id 123. | Required.", +"location": "query", +"type": "string" +}, +"startDate.day": { +"description": "Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn't significant.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"startDate.month": { +"description": "Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"startDate.year": { +"description": "Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.", +"format": "int32", +"location": "query", +"type": "integer" +} +}, +"path": "v1/accountReports:search", +"response": { +"$ref": "GoogleAdsHomeservicesLocalservicesV1SearchAccountReportsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/adwords" +] +} +} +}, +"detailedLeadReports": { +"methods": { +"search": { +"description": "Get detailed lead reports containing leads that have been received by all linked GLS accounts. Caller needs to provide their manager customer id and the associated auth credential that allows them read permissions on their linked accounts.", +"flatPath": "v1/detailedLeadReports:search", +"httpMethod": "GET", +"id": "localservices.detailedLeadReports.search", +"parameterOrder": [], +"parameters": { +"endDate.day": { +"description": "Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn't significant.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"endDate.month": { +"description": "Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"endDate.year": { +"description": "Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageSize": { +"description": "The maximum number of accounts to return. If the page size is unset, page size will default to 1000. Maximum page_size is 10000. Optional.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The `next_page_token` value returned from a previous request to SearchDetailedLeadReports that indicates where listing should continue. Optional.", +"location": "query", +"type": "string" +}, +"query": { +"description": "A query string for searching for account reports. Caller must provide a customer id of their MCC account with an associated Gaia Mint that allows read permission on their linked accounts. Search expressions are case insensitive. Example query: | Query | Description | |-------------------------|-----------------------------------------------| | manager_customer_id:123 | Get Detailed Lead Report for Manager with id | | | 123. | Required.", +"location": "query", +"type": "string" +}, +"startDate.day": { +"description": "Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn't significant.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"startDate.month": { +"description": "Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"startDate.year": { +"description": "Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.", +"format": "int32", +"location": "query", +"type": "integer" +} +}, +"path": "v1/detailedLeadReports:search", +"response": { +"$ref": "GoogleAdsHomeservicesLocalservicesV1SearchDetailedLeadReportsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/adwords" +] +} +} +} +}, +"revision": "20241202", +"rootUrl": "https://localservices.googleapis.com/", +"schemas": { +"GoogleAdsHomeservicesLocalservicesV1AccountReport": { +"description": "An Account Report of a GLS account identified by their account id containing aggregate data gathered from a particular date range. Next ID: 18", +"id": "GoogleAdsHomeservicesLocalservicesV1AccountReport", +"properties": { +"accountId": { +"description": "Unique identifier of the GLS account.", +"format": "int64", +"type": "string" +}, +"aggregatorInfo": { +"$ref": "GoogleAdsHomeservicesLocalservicesV1AggregatorInfo", +"description": "Aggregator specific information related to the account." +}, +"averageFiveStarRating": { +"description": "Average review rating score from 1-5 stars.", +"format": "double", +"type": "number" +}, +"averageWeeklyBudget": { +"description": "Average weekly budget in the currency code of the account.", +"format": "double", +"type": "number" +}, +"businessName": { +"description": "Business name of the account.", +"type": "string" +}, +"currencyCode": { +"description": "Currency code of the account.", +"type": "string" +}, +"currentPeriodChargedLeads": { +"description": "Number of charged leads the account received in current specified period.", +"format": "int64", +"type": "string" +}, +"currentPeriodConnectedPhoneCalls": { +"description": "Number of connected phone calls (duration over 30s) in current specified period.", +"format": "int64", +"type": "string" +}, +"currentPeriodPhoneCalls": { +"description": "Number of phone calls in current specified period, including both connected and unconnected calls.", +"format": "int64", +"type": "string" +}, +"currentPeriodTotalCost": { +"description": "Total cost of the account in current specified period in the account's specified currency.", +"format": "double", +"type": "number" +}, +"impressionsLastTwoDays": { +"description": "Number of impressions that customers have had in the past 2 days.", +"format": "int64", +"type": "string" +}, +"phoneLeadResponsiveness": { +"description": "Phone lead responsiveness of the account for the past 90 days from current date. This is computed by taking the total number of connected calls from charged phone leads and dividing by the total number of calls received.", +"format": "double", +"type": "number" +}, +"previousPeriodChargedLeads": { +"description": "Number of charged leads the account received in previous specified period.", +"format": "int64", +"type": "string" +}, +"previousPeriodConnectedPhoneCalls": { +"description": "Number of connected phone calls (duration over 30s) in previous specified period.", +"format": "int64", +"type": "string" +}, +"previousPeriodPhoneCalls": { +"description": "Number of phone calls in previous specified period, including both connected and unconnected calls.", +"format": "int64", +"type": "string" +}, +"previousPeriodTotalCost": { +"description": "Total cost of the account in previous specified period in the account's specified currency.", +"format": "double", +"type": "number" +}, +"totalReview": { +"description": "Total number of reviews the account has up to current date.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"GoogleAdsHomeservicesLocalservicesV1AggregatorInfo": { +"description": "Conatiner for aggregator specific information if lead is for an aggregator GLS account.", +"id": "GoogleAdsHomeservicesLocalservicesV1AggregatorInfo", +"properties": { +"aggregatorProviderId": { +"description": "Provider id (listed in aggregator system) which maps to a account id in GLS system.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleAdsHomeservicesLocalservicesV1BookingLead": { +"description": "Container for booking lead specific information.", +"id": "GoogleAdsHomeservicesLocalservicesV1BookingLead", +"properties": { +"bookingAppointmentTimestamp": { +"description": "Timestamp of when service is provided by advertiser.", +"format": "google-datetime", +"type": "string" +}, +"consumerEmail": { +"description": "Consumer email associated with the booking lead.", +"type": "string" +}, +"consumerPhoneNumber": { +"description": "Consumer phone number associated with the booking lead.", +"type": "string" +}, +"customerName": { +"description": "Name of the customer who created the lead.", +"type": "string" +}, +"jobType": { +"description": "The job type of the specified lead.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleAdsHomeservicesLocalservicesV1DetailedLeadReport": { +"description": "A Detailed Lead Report of a lead identified by their lead id and contains consumer, account, monetization, and lead data.", +"id": "GoogleAdsHomeservicesLocalservicesV1DetailedLeadReport", +"properties": { +"accountId": { +"description": "Identifies account that received the lead.", +"format": "int64", +"type": "string" +}, +"aggregatorInfo": { +"$ref": "GoogleAdsHomeservicesLocalservicesV1AggregatorInfo", +"description": "Aggregator specific information related to the lead." +}, +"bookingLead": { +"$ref": "GoogleAdsHomeservicesLocalservicesV1BookingLead", +"description": "More information associated to only booking leads." +}, +"businessName": { +"description": "Business name associated to the account.", +"type": "string" +}, +"chargeStatus": { +"description": "Whether the lead has been charged.", +"enum": [ +"CHARGE_STATUS_UNSPECIFIED", +"CHARGED", +"NOT_CHARGED" +], +"enumDescriptions": [ +"Not specified.", +"Charged.", +"Not charged." +], +"type": "string" +}, +"currencyCode": { +"description": "Currency code.", +"type": "string" +}, +"disputeStatus": { +"description": "Dispute status related to the lead.", +"type": "string" +}, +"geo": { +"description": "Location of the associated account's home city.", +"type": "string" +}, +"googleAdsLeadId": { +"description": "Unique identifier of a Detailed Lead Report.", +"format": "int64", +"type": "string" +}, +"leadCategory": { +"description": "Lead category (e.g. hvac, plumber)", +"type": "string" +}, +"leadCreationTimestamp": { +"description": "Timestamp of when the lead was created.", +"format": "google-datetime", +"type": "string" +}, +"leadId": { +"description": "Deprecated in favor of google_ads_lead_id. Unique identifier of a Detailed Lead Report.", +"format": "int64", +"type": "string" +}, +"leadPrice": { +"description": "Price of the lead (available only after it has been charged).", +"format": "double", +"type": "number" +}, +"leadType": { +"description": "Lead type.", +"enum": [ +"LEAD_TYPE_UNSPECIFIED", +"MESSAGE", +"PHONE_CALL", +"BOOKING" +], +"enumDescriptions": [ +"Not specified.", +"Message lead.", +"Phone call lead.", +"Booking lead." +], +"type": "string" +}, +"messageLead": { +"$ref": "GoogleAdsHomeservicesLocalservicesV1MessageLead", +"description": "More information associated to only message leads." +}, +"phoneLead": { +"$ref": "GoogleAdsHomeservicesLocalservicesV1PhoneLead", +"description": "More information associated to only phone leads." +}, +"timezone": { +"$ref": "GoogleTypeTimeZone", +"description": "Timezone of the particular provider associated to a lead." +} +}, +"type": "object" +}, +"GoogleAdsHomeservicesLocalservicesV1MessageLead": { +"description": "Container for message lead specific information.", +"id": "GoogleAdsHomeservicesLocalservicesV1MessageLead", +"properties": { +"consumerPhoneNumber": { +"description": "Consumer phone number associated with the message lead.", +"type": "string" +}, +"customerName": { +"description": "Name of the customer who created the lead.", +"type": "string" +}, +"jobType": { +"description": "The job type of the specified lead.", +"type": "string" +}, +"postalCode": { +"description": "The postal code of the customer who created the lead.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleAdsHomeservicesLocalservicesV1PhoneLead": { +"description": "Container for phone lead specific information.", +"id": "GoogleAdsHomeservicesLocalservicesV1PhoneLead", +"properties": { +"chargedCallTimestamp": { +"description": "Timestamp of the phone call which resulted in a charged phone lead.", +"format": "google-datetime", +"type": "string" +}, +"chargedConnectedCallDurationSeconds": { +"description": "Duration of the charged phone call in seconds.", +"format": "google-duration", +"type": "string" +}, +"consumerPhoneNumber": { +"description": "Consumer phone number associated with the phone lead.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleAdsHomeservicesLocalservicesV1SearchAccountReportsResponse": { +"description": "A page of the response received from the SearchAccountReports method. A paginated response where more pages are available has `next_page_token` set. This token can be used in a subsequent request to retrieve the next request page.", +"id": "GoogleAdsHomeservicesLocalservicesV1SearchAccountReportsResponse", +"properties": { +"accountReports": { +"description": "List of account reports which maps 1:1 to a particular linked GLS account.", +"items": { +"$ref": "GoogleAdsHomeservicesLocalservicesV1AccountReport" +}, +"type": "array" +}, +"nextPageToken": { +"description": "Pagination token to retrieve the next page of results. When `next_page_token` is not filled in, there is no next page and the list returned is the last page in the result set.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleAdsHomeservicesLocalservicesV1SearchDetailedLeadReportsResponse": { +"description": "A page of the response received from the SearchDetailedLeadReports method. A paginated response where more pages are available has `next_page_token` set. This token can be used in a subsequent request to retrieve the next request page.", +"id": "GoogleAdsHomeservicesLocalservicesV1SearchDetailedLeadReportsResponse", +"properties": { +"detailedLeadReports": { +"description": "List of detailed lead reports uniquely identified by external lead id.", +"items": { +"$ref": "GoogleAdsHomeservicesLocalservicesV1DetailedLeadReport" +}, +"type": "array" +}, +"nextPageToken": { +"description": "Pagination token to retrieve the next page of results. When `next_page_token` is not filled in, there is no next page and the list returned is the last page in the result set.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleTypeTimeZone": { +"description": "Represents a time zone from the [IANA Time Zone Database](https://www.iana.org/time-zones).", +"id": "GoogleTypeTimeZone", +"properties": { +"id": { +"description": "IANA Time Zone Database time zone. For example \"America/New_York\".", +"type": "string" +}, +"version": { +"description": "Optional. IANA Time Zone Database version number. For example \"2019a\".", +"type": "string" +} +}, +"type": "object" +} +}, +"servicePath": "", +"title": "Local Services API", +"version": "v1", +"version_module": true +} \ No newline at end of file diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/logging.v2.json b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/logging.v2.json new file mode 100644 index 0000000000000000000000000000000000000000..7aa38da256838f39da02cbad306f31ce19d9ce1e --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/logging.v2.json @@ -0,0 +1,12023 @@ +{ +"auth": { +"oauth2": { +"scopes": { +"https://www.googleapis.com/auth/cloud-platform": { +"description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." +}, +"https://www.googleapis.com/auth/cloud-platform.read-only": { +"description": "View your data across Google Cloud services and see the email address of your Google Account" +}, +"https://www.googleapis.com/auth/logging.admin": { +"description": "Administrate log data for your projects" +}, +"https://www.googleapis.com/auth/logging.read": { +"description": "View log data for your projects" +}, +"https://www.googleapis.com/auth/logging.write": { +"description": "Submit log data for your projects" +} +} +} +}, +"basePath": "", +"baseUrl": "https://logging.googleapis.com/", +"batchPath": "batch", +"canonicalName": "Logging", +"description": "Writes log entries and manages your Cloud Logging configuration.", +"discoveryVersion": "v1", +"documentationLink": "https://cloud.google.com/logging/docs/", +"endpoints": [ +{ +"description": "Regional Endpoint", +"endpointUrl": "https://logging.africa-south1.rep.googleapis.com/", +"location": "africa-south1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://logging.asia-east1.rep.googleapis.com/", +"location": "asia-east1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://logging.asia-east2.rep.googleapis.com/", +"location": "asia-east2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://logging.asia-northeast1.rep.googleapis.com/", +"location": "asia-northeast1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://logging.asia-northeast2.rep.googleapis.com/", +"location": "asia-northeast2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://logging.asia-northeast3.rep.googleapis.com/", +"location": "asia-northeast3" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://logging.asia-south1.rep.googleapis.com/", +"location": "asia-south1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://logging.asia-south2.rep.googleapis.com/", +"location": "asia-south2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://logging.asia-southeast1.rep.googleapis.com/", +"location": "asia-southeast1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://logging.asia-southeast2.rep.googleapis.com/", +"location": "asia-southeast2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://logging.asia-southeast3.rep.googleapis.com/", +"location": "asia-southeast3" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://logging.australia-southeast1.rep.googleapis.com/", +"location": "australia-southeast1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://logging.australia-southeast2.rep.googleapis.com/", +"location": "australia-southeast2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://logging.europe-central2.rep.googleapis.com/", +"location": "europe-central2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://logging.europe-north1.rep.googleapis.com/", +"location": "europe-north1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://logging.europe-north2.rep.googleapis.com/", +"location": "europe-north2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://logging.europe-north3.rep.googleapis.com/", +"location": "europe-north3" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://logging.europe-southwest1.rep.googleapis.com/", +"location": "europe-southwest1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://logging.europe-west1.rep.googleapis.com/", +"location": "europe-west1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://logging.europe-west10.rep.googleapis.com/", +"location": "europe-west10" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://logging.europe-west12.rep.googleapis.com/", +"location": "europe-west12" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://logging.europe-west15.rep.googleapis.com/", +"location": "europe-west15" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://logging.europe-west2.rep.googleapis.com/", +"location": "europe-west2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://logging.europe-west3.rep.googleapis.com/", +"location": "europe-west3" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://logging.europe-west4.rep.googleapis.com/", +"location": "europe-west4" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://logging.europe-west6.rep.googleapis.com/", +"location": "europe-west6" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://logging.europe-west8.rep.googleapis.com/", +"location": "europe-west8" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://logging.europe-west9.rep.googleapis.com/", +"location": "europe-west9" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://logging.me-central1.rep.googleapis.com/", +"location": "me-central1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://logging.me-central2.rep.googleapis.com/", +"location": "me-central2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://logging.me-west1.rep.googleapis.com/", +"location": "me-west1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://logging.northamerica-northeast1.rep.googleapis.com/", +"location": "northamerica-northeast1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://logging.northamerica-northeast2.rep.googleapis.com/", +"location": "northamerica-northeast2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://logging.northamerica-south1.rep.googleapis.com/", +"location": "northamerica-south1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://logging.southamerica-east1.rep.googleapis.com/", +"location": "southamerica-east1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://logging.southamerica-west1.rep.googleapis.com/", +"location": "southamerica-west1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://logging.us-central1.rep.googleapis.com/", +"location": "us-central1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://logging.us-central2.rep.googleapis.com/", +"location": "us-central2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://logging.us-east1.rep.googleapis.com/", +"location": "us-east1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://logging.us-east4.rep.googleapis.com/", +"location": "us-east4" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://logging.us-east5.rep.googleapis.com/", +"location": "us-east5" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://logging.us-east7.rep.googleapis.com/", +"location": "us-east7" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://logging.us-south1.rep.googleapis.com/", +"location": "us-south1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://logging.us-west1.rep.googleapis.com/", +"location": "us-west1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://logging.us-west2.rep.googleapis.com/", +"location": "us-west2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://logging.us-west3.rep.googleapis.com/", +"location": "us-west3" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://logging.us-west4.rep.googleapis.com/", +"location": "us-west4" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://logging.us-west8.rep.googleapis.com/", +"location": "us-west8" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://logging.ch.rep.googleapis.com/", +"location": "ch" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://logging.eu.rep.googleapis.com/", +"location": "eu" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://logging.in.rep.googleapis.com/", +"location": "in" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://logging.us.rep.googleapis.com/", +"location": "us" +} +], +"fullyEncodeReservedExpansion": true, +"icons": { +"x16": "http://www.google.com/images/icons/product/search-16.gif", +"x32": "http://www.google.com/images/icons/product/search-32.gif" +}, +"id": "logging:v2", +"kind": "discovery#restDescription", +"mtlsRootUrl": "https://logging.mtls.googleapis.com/", +"name": "logging", +"ownerDomain": "google.com", +"ownerName": "Google", +"parameters": { +"$.xgafv": { +"description": "V1 error format.", +"enum": [ +"1", +"2" +], +"enumDescriptions": [ +"v1 error format", +"v2 error format" +], +"location": "query", +"type": "string" +}, +"access_token": { +"description": "OAuth access token.", +"location": "query", +"type": "string" +}, +"alt": { +"default": "json", +"description": "Data format for response.", +"enum": [ +"json", +"media", +"proto" +], +"enumDescriptions": [ +"Responses with Content-Type of application/json", +"Media download with context-dependent Content-Type", +"Responses with Content-Type of application/x-protobuf" +], +"location": "query", +"type": "string" +}, +"callback": { +"description": "JSONP", +"location": "query", +"type": "string" +}, +"fields": { +"description": "Selector specifying which fields to include in a partial response.", +"location": "query", +"type": "string" +}, +"key": { +"description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", +"location": "query", +"type": "string" +}, +"oauth_token": { +"description": "OAuth 2.0 token for the current user.", +"location": "query", +"type": "string" +}, +"prettyPrint": { +"default": "true", +"description": "Returns response with indentations and line breaks.", +"location": "query", +"type": "boolean" +}, +"quotaUser": { +"description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.", +"location": "query", +"type": "string" +}, +"uploadType": { +"description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", +"location": "query", +"type": "string" +}, +"upload_protocol": { +"description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", +"location": "query", +"type": "string" +} +}, +"protocol": "rest", +"resources": { +"billingAccounts": { +"methods": { +"getCmekSettings": { +"description": "Gets the Logging CMEK settings for the given resource.Note: CMEK for the Log Router can be configured for Google Cloud projects, folders, organizations, and billing accounts. Once configured for an organization, it applies to all projects and folders in the Google Cloud organization.See Configure CMEK for Cloud Logging (https://docs.cloud.google.com/logging/docs/routing/managed-encryption) for more information.", +"flatPath": "v2/billingAccounts/{billingAccountsId}/cmekSettings", +"httpMethod": "GET", +"id": "logging.billingAccounts.getCmekSettings", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource for which to retrieve CMEK settings. \"projects/[PROJECT_ID]/cmekSettings\" \"organizations/[ORGANIZATION_ID]/cmekSettings\" \"billingAccounts/[BILLING_ACCOUNT_ID]/cmekSettings\" \"folders/[FOLDER_ID]/cmekSettings\" For example:\"organizations/12345/cmekSettings\"Note: CMEK for the Log Router can be configured for Google Cloud projects, folders, organizations, and billing accounts. Once configured for an organization, it applies to all projects and folders in the Google Cloud organization.", +"location": "path", +"pattern": "^billingAccounts/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+name}/cmekSettings", +"response": { +"$ref": "CmekSettings" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only", +"https://www.googleapis.com/auth/logging.admin", +"https://www.googleapis.com/auth/logging.read" +] +}, +"getSettings": { +"description": "Gets the settings for the given resource.Note: Settings can be retrieved for Google Cloud projects, folders, organizations, and billing accounts.See View default resource settings for Logging (https://docs.cloud.google.com/logging/docs/default-settings#view-org-settings) for more information.", +"flatPath": "v2/billingAccounts/{billingAccountsId}/settings", +"httpMethod": "GET", +"id": "logging.billingAccounts.getSettings", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource for which to retrieve settings. \"projects/[PROJECT_ID]/settings\" \"organizations/[ORGANIZATION_ID]/settings\" \"billingAccounts/[BILLING_ACCOUNT_ID]/settings\" \"folders/[FOLDER_ID]/settings\" For example:\"organizations/12345/settings\"Note: Settings can be retrieved for Google Cloud projects, folders, organizations, and billing accounts.", +"location": "path", +"pattern": "^billingAccounts/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+name}/settings", +"response": { +"$ref": "Settings" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only", +"https://www.googleapis.com/auth/logging.admin", +"https://www.googleapis.com/auth/logging.read" +] +} +}, +"resources": { +"exclusions": { +"methods": { +"create": { +"description": "Creates a new exclusion in the _Default sink in a specified parent resource. Only log entries belonging to that resource can be excluded. You can have up to 10 exclusions in a resource.", +"flatPath": "v2/billingAccounts/{billingAccountsId}/exclusions", +"httpMethod": "POST", +"id": "logging.billingAccounts.exclusions.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The parent resource in which to create the exclusion: \"projects/[PROJECT_ID]\" \"organizations/[ORGANIZATION_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]\" \"folders/[FOLDER_ID]\" For examples:\"projects/my-logging-project\" \"organizations/123456789\"", +"location": "path", +"pattern": "^billingAccounts/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+parent}/exclusions", +"request": { +"$ref": "LogExclusion" +}, +"response": { +"$ref": "LogExclusion" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/logging.admin" +] +}, +"delete": { +"description": "Deletes an exclusion in the _Default sink.", +"flatPath": "v2/billingAccounts/{billingAccountsId}/exclusions/{exclusionsId}", +"httpMethod": "DELETE", +"id": "logging.billingAccounts.exclusions.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of an existing exclusion to delete: \"projects/[PROJECT_ID]/exclusions/[EXCLUSION_ID]\" \"organizations/[ORGANIZATION_ID]/exclusions/[EXCLUSION_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]/exclusions/[EXCLUSION_ID]\" \"folders/[FOLDER_ID]/exclusions/[EXCLUSION_ID]\" For example:\"projects/my-project/exclusions/my-exclusion\"", +"location": "path", +"pattern": "^billingAccounts/[^/]+/exclusions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+name}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/logging.admin" +] +}, +"get": { +"description": "Gets the description of an exclusion in the _Default sink.", +"flatPath": "v2/billingAccounts/{billingAccountsId}/exclusions/{exclusionsId}", +"httpMethod": "GET", +"id": "logging.billingAccounts.exclusions.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of an existing exclusion: \"projects/[PROJECT_ID]/exclusions/[EXCLUSION_ID]\" \"organizations/[ORGANIZATION_ID]/exclusions/[EXCLUSION_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]/exclusions/[EXCLUSION_ID]\" \"folders/[FOLDER_ID]/exclusions/[EXCLUSION_ID]\" For example:\"projects/my-project/exclusions/my-exclusion\"", +"location": "path", +"pattern": "^billingAccounts/[^/]+/exclusions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+name}", +"response": { +"$ref": "LogExclusion" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only", +"https://www.googleapis.com/auth/logging.admin", +"https://www.googleapis.com/auth/logging.read" +] +}, +"list": { +"description": "Lists all the exclusions on the _Default sink in a parent resource.", +"flatPath": "v2/billingAccounts/{billingAccountsId}/exclusions", +"httpMethod": "GET", +"id": "logging.billingAccounts.exclusions.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "Optional. The maximum number of results to return from this request. Non-positive values are ignored. The presence of nextPageToken in the response indicates that more results might be available.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. If present, then retrieve the next batch of results from the preceding call to this method. pageToken must be the value of nextPageToken from the previous response. The values of other method parameters should be identical to those in the previous call.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent resource whose exclusions are to be listed. \"projects/[PROJECT_ID]\" \"organizations/[ORGANIZATION_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]\" \"folders/[FOLDER_ID]\" ", +"location": "path", +"pattern": "^billingAccounts/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+parent}/exclusions", +"response": { +"$ref": "ListExclusionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only", +"https://www.googleapis.com/auth/logging.admin", +"https://www.googleapis.com/auth/logging.read" +] +}, +"patch": { +"description": "Changes one or more properties of an existing exclusion in the _Default sink.", +"flatPath": "v2/billingAccounts/{billingAccountsId}/exclusions/{exclusionsId}", +"httpMethod": "PATCH", +"id": "logging.billingAccounts.exclusions.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the exclusion to update: \"projects/[PROJECT_ID]/exclusions/[EXCLUSION_ID]\" \"organizations/[ORGANIZATION_ID]/exclusions/[EXCLUSION_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]/exclusions/[EXCLUSION_ID]\" \"folders/[FOLDER_ID]/exclusions/[EXCLUSION_ID]\" For example:\"projects/my-project/exclusions/my-exclusion\"", +"location": "path", +"pattern": "^billingAccounts/[^/]+/exclusions/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Required. A non-empty list of fields to change in the existing exclusion. New values for the fields are taken from the corresponding fields in the LogExclusion included in this request. Fields not mentioned in update_mask are not changed and are ignored in the request.For example, to change the filter and description of an exclusion, specify an update_mask of \"filter,description\".", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v2/{+name}", +"request": { +"$ref": "LogExclusion" +}, +"response": { +"$ref": "LogExclusion" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/logging.admin" +] +} +} +}, +"locations": { +"methods": { +"get": { +"description": "Gets information about a location.", +"flatPath": "v2/billingAccounts/{billingAccountsId}/locations/{locationsId}", +"httpMethod": "GET", +"id": "logging.billingAccounts.locations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Resource name for the location.", +"location": "path", +"pattern": "^billingAccounts/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+name}", +"response": { +"$ref": "Location" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only", +"https://www.googleapis.com/auth/logging.admin", +"https://www.googleapis.com/auth/logging.read" +] +}, +"list": { +"description": "Lists information about the supported locations for this service. This method can be called in two ways: List all public locations: Use the path GET /v1/locations. List project-visible locations: Use the path GET /v1/projects/{project_id}/locations. This may include public locations as well as private or other locations specifically visible to the project.", +"flatPath": "v2/billingAccounts/{billingAccountsId}/locations", +"httpMethod": "GET", +"id": "logging.billingAccounts.locations.list", +"parameterOrder": [ +"name" +], +"parameters": { +"extraLocationTypes": { +"description": "Optional. Do not use this field. It is unsupported and is ignored unless explicitly documented otherwise. This is primarily for internal usage.", +"location": "query", +"repeated": true, +"type": "string" +}, +"filter": { +"description": "A filter to narrow down results to a preferred subset. The filtering language accepts strings like \"displayName=tokyo\", and is documented in more detail in AIP-160 (https://google.aip.dev/160).", +"location": "query", +"type": "string" +}, +"name": { +"description": "The resource that owns the locations collection, if applicable.", +"location": "path", +"pattern": "^billingAccounts/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The maximum number of results to return. If not set, the service selects a default.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A page token received from the next_page_token field in the response. Send that page token to receive the subsequent page.", +"location": "query", +"type": "string" +} +}, +"path": "v2/{+name}/locations", +"response": { +"$ref": "ListLocationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only", +"https://www.googleapis.com/auth/logging.admin", +"https://www.googleapis.com/auth/logging.read" +] +} +}, +"resources": { +"buckets": { +"methods": { +"create": { +"description": "Creates a log bucket that can be used to store log entries. After a bucket has been created, the bucket's location cannot be changed.", +"flatPath": "v2/billingAccounts/{billingAccountsId}/locations/{locationsId}/buckets", +"httpMethod": "POST", +"id": "logging.billingAccounts.locations.buckets.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"bucketId": { +"description": "Required. A client-assigned identifier such as \"my-bucket\". Identifiers are limited to 100 characters and can include only letters, digits, underscores, hyphens, and periods. Bucket identifiers must start with an alphanumeric character.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The resource in which to create the log bucket: \"projects/[PROJECT_ID]/locations/[LOCATION_ID]\" For example:\"projects/my-project/locations/global\"", +"location": "path", +"pattern": "^billingAccounts/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+parent}/buckets", +"request": { +"$ref": "LogBucket" +}, +"response": { +"$ref": "LogBucket" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/logging.admin" +] +}, +"createAsync": { +"description": "Creates a log bucket asynchronously that can be used to store log entries.After a bucket has been created, the bucket's location cannot be changed.", +"flatPath": "v2/billingAccounts/{billingAccountsId}/locations/{locationsId}/buckets:createAsync", +"httpMethod": "POST", +"id": "logging.billingAccounts.locations.buckets.createAsync", +"parameterOrder": [ +"parent" +], +"parameters": { +"bucketId": { +"description": "Required. A client-assigned identifier such as \"my-bucket\". Identifiers are limited to 100 characters and can include only letters, digits, underscores, hyphens, and periods. Bucket identifiers must start with an alphanumeric character.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The resource in which to create the log bucket: \"projects/[PROJECT_ID]/locations/[LOCATION_ID]\" For example:\"projects/my-project/locations/global\"", +"location": "path", +"pattern": "^billingAccounts/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+parent}/buckets:createAsync", +"request": { +"$ref": "LogBucket" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/logging.admin" +] +}, +"delete": { +"description": "Deletes a log bucket.Changes the bucket's lifecycle_state to the DELETE_REQUESTED state. After 7 days, the bucket will be purged and all log entries in the bucket will be permanently deleted.", +"flatPath": "v2/billingAccounts/{billingAccountsId}/locations/{locationsId}/buckets/{bucketsId}", +"httpMethod": "DELETE", +"id": "logging.billingAccounts.locations.buckets.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The full resource name of the bucket to delete. \"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" \"organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" \"folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" For example:\"projects/my-project/locations/global/buckets/my-bucket\"", +"location": "path", +"pattern": "^billingAccounts/[^/]+/locations/[^/]+/buckets/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+name}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/logging.admin" +] +}, +"get": { +"description": "Gets a log bucket.", +"flatPath": "v2/billingAccounts/{billingAccountsId}/locations/{locationsId}/buckets/{bucketsId}", +"httpMethod": "GET", +"id": "logging.billingAccounts.locations.buckets.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the bucket: \"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" \"organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" \"folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" For example:\"projects/my-project/locations/global/buckets/my-bucket\"", +"location": "path", +"pattern": "^billingAccounts/[^/]+/locations/[^/]+/buckets/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+name}", +"response": { +"$ref": "LogBucket" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only", +"https://www.googleapis.com/auth/logging.admin", +"https://www.googleapis.com/auth/logging.read" +] +}, +"list": { +"description": "Lists log buckets.", +"flatPath": "v2/billingAccounts/{billingAccountsId}/locations/{locationsId}/buckets", +"httpMethod": "GET", +"id": "logging.billingAccounts.locations.buckets.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "Optional. The maximum number of results to return from this request. Non-positive values are ignored. The presence of nextPageToken in the response indicates that more results might be available.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. If present, then retrieve the next batch of results from the preceding call to this method. pageToken must be the value of nextPageToken from the previous response. The values of other method parameters should be identical to those in the previous call.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent resource whose buckets are to be listed: \"projects/[PROJECT_ID]/locations/[LOCATION_ID]\" \"organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]\" \"folders/[FOLDER_ID]/locations/[LOCATION_ID]\" Note: The locations portion of the resource must be specified, but supplying the character - in place of LOCATION_ID will return all buckets.", +"location": "path", +"pattern": "^billingAccounts/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+parent}/buckets", +"response": { +"$ref": "ListBucketsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only", +"https://www.googleapis.com/auth/logging.admin", +"https://www.googleapis.com/auth/logging.read" +] +}, +"patch": { +"description": "Updates a log bucket.If the bucket has a lifecycle_state of DELETE_REQUESTED, then FAILED_PRECONDITION will be returned.After a bucket has been created, the bucket's location cannot be changed.", +"flatPath": "v2/billingAccounts/{billingAccountsId}/locations/{locationsId}/buckets/{bucketsId}", +"httpMethod": "PATCH", +"id": "logging.billingAccounts.locations.buckets.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The full resource name of the bucket to update. \"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" \"organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" \"folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" For example:\"projects/my-project/locations/global/buckets/my-bucket\"", +"location": "path", +"pattern": "^billingAccounts/[^/]+/locations/[^/]+/buckets/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Required. Field mask that specifies the fields in bucket that need an update. A bucket field will be overwritten if, and only if, it is in the update mask. name and output only fields cannot be updated.For a detailed FieldMask definition, see: https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.FieldMaskFor example: updateMask=retention_days", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v2/{+name}", +"request": { +"$ref": "LogBucket" +}, +"response": { +"$ref": "LogBucket" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/logging.admin" +] +}, +"undelete": { +"description": "Undeletes a log bucket. A bucket that has been deleted can be undeleted within the grace period of 7 days.", +"flatPath": "v2/billingAccounts/{billingAccountsId}/locations/{locationsId}/buckets/{bucketsId}:undelete", +"httpMethod": "POST", +"id": "logging.billingAccounts.locations.buckets.undelete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The full resource name of the bucket to undelete. \"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" \"organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" \"folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" For example:\"projects/my-project/locations/global/buckets/my-bucket\"", +"location": "path", +"pattern": "^billingAccounts/[^/]+/locations/[^/]+/buckets/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+name}:undelete", +"request": { +"$ref": "UndeleteBucketRequest" +}, +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/logging.admin" +] +}, +"updateAsync": { +"description": "Updates a log bucket asynchronously.If the bucket has a lifecycle_state of DELETE_REQUESTED, then FAILED_PRECONDITION will be returned.After a bucket has been created, the bucket's location cannot be changed.", +"flatPath": "v2/billingAccounts/{billingAccountsId}/locations/{locationsId}/buckets/{bucketsId}:updateAsync", +"httpMethod": "POST", +"id": "logging.billingAccounts.locations.buckets.updateAsync", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The full resource name of the bucket to update. \"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" \"organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" \"folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" For example:\"projects/my-project/locations/global/buckets/my-bucket\"", +"location": "path", +"pattern": "^billingAccounts/[^/]+/locations/[^/]+/buckets/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Required. Field mask that specifies the fields in bucket that need an update. A bucket field will be overwritten if, and only if, it is in the update mask. name and output only fields cannot be updated.For a detailed FieldMask definition, see: https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.FieldMaskFor example: updateMask=retention_days", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v2/{+name}:updateAsync", +"request": { +"$ref": "LogBucket" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/logging.admin" +] +} +}, +"resources": { +"links": { +"methods": { +"create": { +"description": "Asynchronously creates a linked dataset in BigQuery which makes it possible to use BigQuery to read the logs stored in the log bucket. A log bucket may currently only contain one link.", +"flatPath": "v2/billingAccounts/{billingAccountsId}/locations/{locationsId}/buckets/{bucketsId}/links", +"httpMethod": "POST", +"id": "logging.billingAccounts.locations.buckets.links.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"linkId": { +"description": "Required. The ID to use for the link. The link_id can have up to 100 characters. A valid link_id must only have alphanumeric characters and underscores within it.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The full resource name of the bucket to create a link for. \"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" ", +"location": "path", +"pattern": "^billingAccounts/[^/]+/locations/[^/]+/buckets/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+parent}/links", +"request": { +"$ref": "Link" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/logging.admin" +] +}, +"delete": { +"description": "Deletes a link. This will also delete the corresponding BigQuery linked dataset.", +"flatPath": "v2/billingAccounts/{billingAccountsId}/locations/{locationsId}/buckets/{bucketsId}/links/{linksId}", +"httpMethod": "DELETE", +"id": "logging.billingAccounts.locations.buckets.links.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The full resource name of the link to delete. \"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]\" \"organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]\" \"folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]\" ", +"location": "path", +"pattern": "^billingAccounts/[^/]+/locations/[^/]+/buckets/[^/]+/links/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/logging.admin" +] +}, +"get": { +"description": "Gets a link.", +"flatPath": "v2/billingAccounts/{billingAccountsId}/locations/{locationsId}/buckets/{bucketsId}/links/{linksId}", +"httpMethod": "GET", +"id": "logging.billingAccounts.locations.buckets.links.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the link: \"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]\" \"organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]\" \"folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]\" ", +"location": "path", +"pattern": "^billingAccounts/[^/]+/locations/[^/]+/buckets/[^/]+/links/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+name}", +"response": { +"$ref": "Link" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only", +"https://www.googleapis.com/auth/logging.admin", +"https://www.googleapis.com/auth/logging.read" +] +}, +"list": { +"description": "Lists links.", +"flatPath": "v2/billingAccounts/{billingAccountsId}/locations/{locationsId}/buckets/{bucketsId}/links", +"httpMethod": "GET", +"id": "logging.billingAccounts.locations.buckets.links.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "Optional. The maximum number of results to return from this request.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. If present, then retrieve the next batch of results from the preceding call to this method. pageToken must be the value of nextPageToken from the previous response.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent resource whose links are to be listed: \"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" \"organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" \"folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" ", +"location": "path", +"pattern": "^billingAccounts/[^/]+/locations/[^/]+/buckets/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+parent}/links", +"response": { +"$ref": "ListLinksResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only", +"https://www.googleapis.com/auth/logging.admin", +"https://www.googleapis.com/auth/logging.read" +] +} +} +}, +"views": { +"methods": { +"create": { +"description": "Creates a view over log entries in a log bucket. A bucket may contain a maximum of 30 views.", +"flatPath": "v2/billingAccounts/{billingAccountsId}/locations/{locationsId}/buckets/{bucketsId}/views", +"httpMethod": "POST", +"id": "logging.billingAccounts.locations.buckets.views.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The bucket in which to create the view `\"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\"` For example:\"projects/my-project/locations/global/buckets/my-bucket\"", +"location": "path", +"pattern": "^billingAccounts/[^/]+/locations/[^/]+/buckets/[^/]+$", +"required": true, +"type": "string" +}, +"viewId": { +"description": "Required. A client-assigned identifier such as \"my-view\". Identifiers are limited to 100 characters and can include only letters, digits, underscores, and hyphens.", +"location": "query", +"type": "string" +} +}, +"path": "v2/{+parent}/views", +"request": { +"$ref": "LogView" +}, +"response": { +"$ref": "LogView" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/logging.admin" +] +}, +"delete": { +"description": "Deletes a view on a log bucket. If an UNAVAILABLE error is returned, this indicates that system is not in a state where it can delete the view. If this occurs, please try again in a few minutes.", +"flatPath": "v2/billingAccounts/{billingAccountsId}/locations/{locationsId}/buckets/{bucketsId}/views/{viewsId}", +"httpMethod": "DELETE", +"id": "logging.billingAccounts.locations.buckets.views.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The full resource name of the view to delete: \"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]\" For example:\"projects/my-project/locations/global/buckets/my-bucket/views/my-view\"", +"location": "path", +"pattern": "^billingAccounts/[^/]+/locations/[^/]+/buckets/[^/]+/views/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+name}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/logging.admin" +] +}, +"get": { +"description": "Gets a view on a log bucket.", +"flatPath": "v2/billingAccounts/{billingAccountsId}/locations/{locationsId}/buckets/{bucketsId}/views/{viewsId}", +"httpMethod": "GET", +"id": "logging.billingAccounts.locations.buckets.views.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the policy: \"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]\" For example:\"projects/my-project/locations/global/buckets/my-bucket/views/my-view\"", +"location": "path", +"pattern": "^billingAccounts/[^/]+/locations/[^/]+/buckets/[^/]+/views/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+name}", +"response": { +"$ref": "LogView" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only", +"https://www.googleapis.com/auth/logging.admin", +"https://www.googleapis.com/auth/logging.read" +] +}, +"list": { +"description": "Lists views on a log bucket.", +"flatPath": "v2/billingAccounts/{billingAccountsId}/locations/{locationsId}/buckets/{bucketsId}/views", +"httpMethod": "GET", +"id": "logging.billingAccounts.locations.buckets.views.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "Optional. The maximum number of results to return from this request.Non-positive values are ignored. The presence of nextPageToken in the response indicates that more results might be available.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. If present, then retrieve the next batch of results from the preceding call to this method. pageToken must be the value of nextPageToken from the previous response. The values of other method parameters should be identical to those in the previous call.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The bucket whose views are to be listed: \"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" ", +"location": "path", +"pattern": "^billingAccounts/[^/]+/locations/[^/]+/buckets/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+parent}/views", +"response": { +"$ref": "ListViewsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only", +"https://www.googleapis.com/auth/logging.admin", +"https://www.googleapis.com/auth/logging.read" +] +}, +"patch": { +"description": "Updates a view on a log bucket. This method replaces the value of the filter field from the existing view with the corresponding value from the new view. If an UNAVAILABLE error is returned, this indicates that system is not in a state where it can update the view. If this occurs, please try again in a few minutes.", +"flatPath": "v2/billingAccounts/{billingAccountsId}/locations/{locationsId}/buckets/{bucketsId}/views/{viewsId}", +"httpMethod": "PATCH", +"id": "logging.billingAccounts.locations.buckets.views.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The full resource name of the view to update \"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]\" For example:\"projects/my-project/locations/global/buckets/my-bucket/views/my-view\"", +"location": "path", +"pattern": "^billingAccounts/[^/]+/locations/[^/]+/buckets/[^/]+/views/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Optional. Field mask that specifies the fields in view that need an update. A field will be overwritten if, and only if, it is in the update mask. name and output only fields cannot be updated.For a detailed FieldMask definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.FieldMaskFor example: updateMask=filter", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v2/{+name}", +"request": { +"$ref": "LogView" +}, +"response": { +"$ref": "LogView" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/logging.admin" +] +} +}, +"resources": { +"logs": { +"methods": { +"list": { +"description": "Lists the logs in projects, organizations, folders, or billing accounts. Only logs that have entries are listed.", +"flatPath": "v2/billingAccounts/{billingAccountsId}/locations/{locationsId}/buckets/{bucketsId}/views/{viewsId}/logs", +"httpMethod": "GET", +"id": "logging.billingAccounts.locations.buckets.views.logs.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "Optional. The maximum number of results to return from this request. Non-positive values are ignored. The presence of nextPageToken in the response indicates that more results might be available.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. If present, then retrieve the next batch of results from the preceding call to this method. pageToken must be the value of nextPageToken from the previous response. The values of other method parameters should be identical to those in the previous call.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The resource name to list logs for: projects/[PROJECT_ID] organizations/[ORGANIZATION_ID] billingAccounts/[BILLING_ACCOUNT_ID] folders/[FOLDER_ID]", +"location": "path", +"pattern": "^billingAccounts/[^/]+/locations/[^/]+/buckets/[^/]+/views/[^/]+$", +"required": true, +"type": "string" +}, +"resourceNames": { +"description": "Optional. List of resource names to list logs for: projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID] organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID] billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID] folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]To support legacy queries, it could also be: projects/[PROJECT_ID] organizations/[ORGANIZATION_ID] billingAccounts/[BILLING_ACCOUNT_ID] folders/[FOLDER_ID]The resource name in the parent field is added to this list.", +"location": "query", +"repeated": true, +"type": "string" +} +}, +"path": "v2/{+parent}/logs", +"response": { +"$ref": "ListLogsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only", +"https://www.googleapis.com/auth/logging.admin", +"https://www.googleapis.com/auth/logging.read" +] +} +} +} +} +} +} +}, +"operations": { +"methods": { +"cancel": { +"description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns google.rpc.Code.UNIMPLEMENTED. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of 1, corresponding to Code.CANCELLED.", +"flatPath": "v2/billingAccounts/{billingAccountsId}/locations/{locationsId}/operations/{operationsId}:cancel", +"httpMethod": "POST", +"id": "logging.billingAccounts.locations.operations.cancel", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be cancelled.", +"location": "path", +"pattern": "^billingAccounts/[^/]+/locations/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+name}:cancel", +"request": { +"$ref": "CancelOperationRequest" +}, +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/logging.admin" +] +}, +"get": { +"description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", +"flatPath": "v2/billingAccounts/{billingAccountsId}/locations/{locationsId}/operations/{operationsId}", +"httpMethod": "GET", +"id": "logging.billingAccounts.locations.operations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource.", +"location": "path", +"pattern": "^billingAccounts/[^/]+/locations/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only", +"https://www.googleapis.com/auth/logging.admin", +"https://www.googleapis.com/auth/logging.read" +] +}, +"list": { +"description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns UNIMPLEMENTED.", +"flatPath": "v2/billingAccounts/{billingAccountsId}/locations/{locationsId}/operations", +"httpMethod": "GET", +"id": "logging.billingAccounts.locations.operations.list", +"parameterOrder": [ +"name" +], +"parameters": { +"filter": { +"description": "The standard list filter.", +"location": "query", +"type": "string" +}, +"name": { +"description": "The name of the operation's parent resource.", +"location": "path", +"pattern": "^billingAccounts/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The standard list page size.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The standard list page token.", +"location": "query", +"type": "string" +}, +"returnPartialSuccess": { +"description": "When set to true, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field.This can only be true when reading across collections. For example, when parent is set to \"projects/example/locations/-\".This field is not supported by default and will result in an UNIMPLEMENTED error if set unless explicitly documented otherwise in service or product specific documentation.", +"location": "query", +"type": "boolean" +} +}, +"path": "v2/{+name}/operations", +"response": { +"$ref": "ListOperationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only", +"https://www.googleapis.com/auth/logging.admin", +"https://www.googleapis.com/auth/logging.read" +] +} +} +}, +"recentQueries": { +"methods": { +"list": { +"description": "Lists the RecentQueries that were created by the user making the request.", +"flatPath": "v2/billingAccounts/{billingAccountsId}/locations/{locationsId}/recentQueries", +"httpMethod": "GET", +"id": "logging.billingAccounts.locations.recentQueries.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Optional. Specifies the type (\"Logging\" or \"OpsAnalytics\") of the recent queries to list. The only valid value for this field is one of the two allowable type function calls, which are the following: type(\"Logging\") type(\"OpsAnalytics\")", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Optional. The maximum number of results to return from this request. Non-positive values are ignored. The presence of nextPageToken in the response indicates that more results might be available.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. If present, then retrieve the next batch of results from the preceding call to this method. pageToken must be the value of nextPageToken from the previous response. The values of other method parameters should be identical to those in the previous call.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The resource to which the listed queries belong. \"projects/[PROJECT_ID]/locations/[LOCATION_ID]\" \"organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]\" \"folders/[FOLDER_ID]/locations/[LOCATION_ID]\" For example:projects/my-project/locations/us-central1Note: The location portion of the resource must be specified, but supplying the character - in place of LOCATION_ID will return all recent queries.", +"location": "path", +"pattern": "^billingAccounts/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+parent}/recentQueries", +"response": { +"$ref": "ListRecentQueriesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only", +"https://www.googleapis.com/auth/logging.admin", +"https://www.googleapis.com/auth/logging.read" +] +} +} +}, +"savedQueries": { +"methods": { +"create": { +"description": "Creates a new SavedQuery for the user making the request.", +"flatPath": "v2/billingAccounts/{billingAccountsId}/locations/{locationsId}/savedQueries", +"httpMethod": "POST", +"id": "logging.billingAccounts.locations.savedQueries.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The parent resource in which to create the saved query: \"projects/[PROJECT_ID]/locations/[LOCATION_ID]\" \"organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]\" \"folders/[FOLDER_ID]/locations/[LOCATION_ID]\" For example: \"projects/my-project/locations/global\" \"organizations/123456789/locations/us-central1\" ", +"location": "path", +"pattern": "^billingAccounts/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +}, +"savedQueryId": { +"description": "Optional. The ID to use for the saved query, which will become the final component of the saved query's resource name.If the saved_query_id is not provided, the system will generate an alphanumeric ID.The saved_query_id is limited to 100 characters and can include only the following characters: upper and lower-case alphanumeric characters, underscores, hyphens, periods.First character has to be alphanumeric.", +"location": "query", +"type": "string" +} +}, +"path": "v2/{+parent}/savedQueries", +"request": { +"$ref": "SavedQuery" +}, +"response": { +"$ref": "SavedQuery" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/logging.admin" +] +}, +"delete": { +"description": "Deletes an existing SavedQuery that was created by the user making the request.", +"flatPath": "v2/billingAccounts/{billingAccountsId}/locations/{locationsId}/savedQueries/{savedQueriesId}", +"httpMethod": "DELETE", +"id": "logging.billingAccounts.locations.savedQueries.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The full resource name of the saved query to delete. \"projects/[PROJECT_ID]/locations/[LOCATION_ID]/savedQueries/[QUERY_ID]\" \"organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/savedQueries/[QUERY_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/savedQueries/[QUERY_ID]\" \"folders/[FOLDER_ID]/locations/[LOCATION_ID]/savedQueries/[QUERY_ID]\" For example: \"projects/my-project/locations/global/savedQueries/my-saved-query\" ", +"location": "path", +"pattern": "^billingAccounts/[^/]+/locations/[^/]+/savedQueries/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+name}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/logging.admin" +] +}, +"get": { +"description": "Returns all data associated with the requested query.", +"flatPath": "v2/billingAccounts/{billingAccountsId}/locations/{locationsId}/savedQueries/{savedQueriesId}", +"httpMethod": "GET", +"id": "logging.billingAccounts.locations.savedQueries.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the saved query. \"projects/[PROJECT_ID]/locations/[LOCATION_ID]/savedQueries/[QUERY_ID]\" \"organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/savedQueries/[QUERY_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/savedQueries/[QUERY_ID]\" \"folders/[FOLDER_ID]/locations/[LOCATION_ID]/savedQueries/[QUERY_ID]\" For example: \"projects/my-project/locations/global/savedQueries/my-saved-query\" ", +"location": "path", +"pattern": "^billingAccounts/[^/]+/locations/[^/]+/savedQueries/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+name}", +"response": { +"$ref": "SavedQuery" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only", +"https://www.googleapis.com/auth/logging.admin", +"https://www.googleapis.com/auth/logging.read" +] +}, +"list": { +"description": "Lists the SavedQueries that were created by the user making the request.", +"flatPath": "v2/billingAccounts/{billingAccountsId}/locations/{locationsId}/savedQueries", +"httpMethod": "GET", +"id": "logging.billingAccounts.locations.savedQueries.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Optional. Specifies the type (\"Logging\" or \"OpsAnalytics\") and the visibility (PRIVATE or SHARED) of the saved queries to list. If provided, the filter must contain either the type function or a visibility token, or both. If both are chosen, they can be placed in any order, but they must be joined by the AND operator or the empty character.The two supported type function calls are: type(\"Logging\") type(\"OpsAnalytics\")The two supported visibility tokens are: visibility = PRIVATE visibility = SHAREDFor example:type(\"Logging\") AND visibility = PRIVATE visibility=SHARED type(\"OpsAnalytics\") type(\"OpsAnalytics)\" visibility = PRIVATE visibility = SHARED", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Optional. The maximum number of results to return from this request.Non-positive values are ignored. The presence of nextPageToken in the response indicates that more results might be available.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. If present, then retrieve the next batch of results from the preceding call to this method. pageToken must be the value of nextPageToken from the previous response. The values of other method parameters should be identical to those in the previous call.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The resource to which the listed queries belong. \"projects/[PROJECT_ID]/locations/[LOCATION_ID]\" \"organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]\" \"folders/[FOLDER_ID]/locations/[LOCATION_ID]\" For example: \"projects/my-project/locations/us-central1\" Note: The locations portion of the resource must be specified. To get a list of all saved queries, a wildcard character - can be used for LOCATION_ID, for example: \"projects/my-project/locations/-\" ", +"location": "path", +"pattern": "^billingAccounts/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+parent}/savedQueries", +"response": { +"$ref": "ListSavedQueriesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only", +"https://www.googleapis.com/auth/logging.admin", +"https://www.googleapis.com/auth/logging.read" +] +}, +"patch": { +"description": "Updates an existing SavedQuery.", +"flatPath": "v2/billingAccounts/{billingAccountsId}/locations/{locationsId}/savedQueries/{savedQueriesId}", +"httpMethod": "PATCH", +"id": "logging.billingAccounts.locations.savedQueries.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Output only. Resource name of the saved query.In the format: \"projects/[PROJECT_ID]/locations/[LOCATION_ID]/savedQueries/[QUERY_ID]\" For a list of supported locations, see Supported Regions (https://docs.cloud.google.com/logging/docs/region-support#bucket-regions)After the saved query is created, the location cannot be changed.If the user doesn't provide a QUERY_ID, the system will generate an alphanumeric ID.", +"location": "path", +"pattern": "^billingAccounts/[^/]+/locations/[^/]+/savedQueries/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Required. A non-empty list of fields to change in the existing saved query. Fields are relative to the saved_query and new values for the fields are taken from the corresponding fields in the SavedQuery included in this request. Fields not mentioned in update_mask are not changed and are ignored in the request.To update all mutable fields, specify an update_mask of *.For example, to change the description and query filter text of a saved query, specify an update_mask of \"description, query.filter\".", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v2/{+name}", +"request": { +"$ref": "SavedQuery" +}, +"response": { +"$ref": "SavedQuery" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/logging.admin" +] +} +} +} +} +}, +"logs": { +"methods": { +"delete": { +"description": "Deletes all the log entries in a log for the global _Default Log Bucket. The log reappears if it receives new entries. Log entries written shortly before the delete operation might not be deleted. Entries received after the delete operation with a timestamp before the operation will be deleted.", +"flatPath": "v2/billingAccounts/{billingAccountsId}/logs/{logsId}", +"httpMethod": "DELETE", +"id": "logging.billingAccounts.logs.delete", +"parameterOrder": [ +"logName" +], +"parameters": { +"logName": { +"description": "Required. The resource name of the log to delete: projects/[PROJECT_ID]/logs/[LOG_ID] organizations/[ORGANIZATION_ID]/logs/[LOG_ID] billingAccounts/[BILLING_ACCOUNT_ID]/logs/[LOG_ID] folders/[FOLDER_ID]/logs/[LOG_ID][LOG_ID] must be URL-encoded. For example, \"projects/my-project-id/logs/syslog\", \"organizations/123/logs/cloudaudit.googleapis.com%2Factivity\".For more information about log names, see LogEntry.", +"location": "path", +"pattern": "^billingAccounts/[^/]+/logs/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+logName}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/logging.admin" +] +}, +"list": { +"description": "Lists the logs in projects, organizations, folders, or billing accounts. Only logs that have entries are listed.", +"flatPath": "v2/billingAccounts/{billingAccountsId}/logs", +"httpMethod": "GET", +"id": "logging.billingAccounts.logs.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "Optional. The maximum number of results to return from this request. Non-positive values are ignored. The presence of nextPageToken in the response indicates that more results might be available.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. If present, then retrieve the next batch of results from the preceding call to this method. pageToken must be the value of nextPageToken from the previous response. The values of other method parameters should be identical to those in the previous call.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The resource name to list logs for: projects/[PROJECT_ID] organizations/[ORGANIZATION_ID] billingAccounts/[BILLING_ACCOUNT_ID] folders/[FOLDER_ID]", +"location": "path", +"pattern": "^billingAccounts/[^/]+$", +"required": true, +"type": "string" +}, +"resourceNames": { +"description": "Optional. List of resource names to list logs for: projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID] organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID] billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID] folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]To support legacy queries, it could also be: projects/[PROJECT_ID] organizations/[ORGANIZATION_ID] billingAccounts/[BILLING_ACCOUNT_ID] folders/[FOLDER_ID]The resource name in the parent field is added to this list.", +"location": "query", +"repeated": true, +"type": "string" +} +}, +"path": "v2/{+parent}/logs", +"response": { +"$ref": "ListLogsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only", +"https://www.googleapis.com/auth/logging.admin", +"https://www.googleapis.com/auth/logging.read" +] +} +} +}, +"sinks": { +"methods": { +"create": { +"description": "Creates a sink that exports specified log entries to a destination. The export begins upon ingress, unless the sink's writer_identity is not permitted to write to the destination. A sink can export log entries only from the resource owning the sink.", +"flatPath": "v2/billingAccounts/{billingAccountsId}/sinks", +"httpMethod": "POST", +"id": "logging.billingAccounts.sinks.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"customWriterIdentity": { +"description": "Optional. The service account provided by the caller that will be used to write the log entries. The format must be serviceAccount:some@email. This field can only be specified when you are routing logs to a log bucket that is in a different project than the sink. When not specified, a Logging service account will automatically be generated.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The resource in which to create the sink: \"projects/[PROJECT_ID]\" \"organizations/[ORGANIZATION_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]\" \"folders/[FOLDER_ID]\" For examples:\"projects/my-project\" \"organizations/123456789\"", +"location": "path", +"pattern": "^billingAccounts/[^/]+$", +"required": true, +"type": "string" +}, +"uniqueWriterIdentity": { +"description": "Optional. Determines the kind of IAM identity returned as writer_identity in the new sink. If this value is omitted or set to false, and if the sink's parent is a project, then the value returned as writer_identity is the same group or service account used by Cloud Logging before the addition of writer identities to this API. The sink's destination must be in the same project as the sink itself.If this field is set to true, or if the sink is owned by a non-project resource such as an organization, then the value of writer_identity will be a service agent (https://docs.cloud.google.com/iam/docs/service-account-types#service-agents) used by the sinks with the same parent. For more information, see writer_identity in LogSink.", +"location": "query", +"type": "boolean" +} +}, +"path": "v2/{+parent}/sinks", +"request": { +"$ref": "LogSink" +}, +"response": { +"$ref": "LogSink" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/logging.admin" +] +}, +"delete": { +"description": "Deletes a sink. If the sink has a unique writer_identity, then that service account is also deleted.", +"flatPath": "v2/billingAccounts/{billingAccountsId}/sinks/{sinksId}", +"httpMethod": "DELETE", +"id": "logging.billingAccounts.sinks.delete", +"parameterOrder": [ +"sinkName" +], +"parameters": { +"sinkName": { +"description": "Required. The full resource name of the sink to delete, including the parent resource and the sink identifier: \"projects/[PROJECT_ID]/sinks/[SINK_ID]\" \"organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]\" \"folders/[FOLDER_ID]/sinks/[SINK_ID]\" For example:\"projects/my-project/sinks/my-sink\"", +"location": "path", +"pattern": "^billingAccounts/[^/]+/sinks/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+sinkName}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/logging.admin" +] +}, +"get": { +"description": "Gets a sink.", +"flatPath": "v2/billingAccounts/{billingAccountsId}/sinks/{sinksId}", +"httpMethod": "GET", +"id": "logging.billingAccounts.sinks.get", +"parameterOrder": [ +"sinkName" +], +"parameters": { +"sinkName": { +"description": "Required. The resource name of the sink: \"projects/[PROJECT_ID]/sinks/[SINK_ID]\" \"organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]\" \"folders/[FOLDER_ID]/sinks/[SINK_ID]\" For example:\"projects/my-project/sinks/my-sink\"", +"location": "path", +"pattern": "^billingAccounts/[^/]+/sinks/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+sinkName}", +"response": { +"$ref": "LogSink" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only", +"https://www.googleapis.com/auth/logging.admin", +"https://www.googleapis.com/auth/logging.read" +] +}, +"list": { +"description": "Lists sinks.", +"flatPath": "v2/billingAccounts/{billingAccountsId}/sinks", +"httpMethod": "GET", +"id": "logging.billingAccounts.sinks.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Optional. A filter expression to constrain the sinks returned. Today, this only supports the following strings: '' 'in_scope(\"ALL\")', 'in_scope(\"ANCESTOR\")', 'in_scope(\"DEFAULT\")'.Description of scopes below. ALL: Includes all of the sinks which can be returned in any other scope. ANCESTOR: Includes intercepting sinks owned by ancestor resources. DEFAULT: Includes sinks owned by parent.When the empty string is provided, then the filter 'in_scope(\"DEFAULT\")' is applied.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Optional. The maximum number of results to return from this request. Non-positive values are ignored. The presence of nextPageToken in the response indicates that more results might be available.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. If present, then retrieve the next batch of results from the preceding call to this method. pageToken must be the value of nextPageToken from the previous response. The values of other method parameters should be identical to those in the previous call.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent resource whose sinks are to be listed: \"projects/[PROJECT_ID]\" \"organizations/[ORGANIZATION_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]\" \"folders/[FOLDER_ID]\" ", +"location": "path", +"pattern": "^billingAccounts/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+parent}/sinks", +"response": { +"$ref": "ListSinksResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only", +"https://www.googleapis.com/auth/logging.admin", +"https://www.googleapis.com/auth/logging.read" +] +}, +"patch": { +"description": "Updates a sink. This method replaces the values of the destination and filter fields of the existing sink with the corresponding values from the new sink.The updated sink might also have a new writer_identity; see the unique_writer_identity field.", +"flatPath": "v2/billingAccounts/{billingAccountsId}/sinks/{sinksId}", +"httpMethod": "PATCH", +"id": "logging.billingAccounts.sinks.patch", +"parameterOrder": [ +"sinkName" +], +"parameters": { +"customWriterIdentity": { +"description": "Optional. The service account provided by the caller that will be used to write the log entries. The format must be serviceAccount:some@email. This field can only be specified when you are routing logs to a log bucket that is in a different project than the sink. When not specified, a Logging service account will automatically be generated.", +"location": "query", +"type": "string" +}, +"sinkName": { +"description": "Required. The full resource name of the sink to update, including the parent resource and the sink identifier: \"projects/[PROJECT_ID]/sinks/[SINK_ID]\" \"organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]\" \"folders/[FOLDER_ID]/sinks/[SINK_ID]\" For example:\"projects/my-project/sinks/my-sink\"", +"location": "path", +"pattern": "^billingAccounts/[^/]+/sinks/[^/]+$", +"required": true, +"type": "string" +}, +"uniqueWriterIdentity": { +"description": "Optional. See sinks.create for a description of this field. When updating a sink, the effect of this field on the value of writer_identity in the updated sink depends on both the old and new values of this field: If the old and new values of this field are both false or both true, then there is no change to the sink's writer_identity. If the old value is false and the new value is true, then writer_identity is changed to a service agent (https://docs.cloud.google.com/iam/docs/service-account-types#service-agents) owned by Cloud Logging. It is an error if the old value is true and the new value is set to false or defaulted to false.", +"location": "query", +"type": "boolean" +}, +"updateMask": { +"description": "Optional. Field mask that specifies the fields in sink that need an update. A sink field will be overwritten if, and only if, it is in the update mask. name and output only fields cannot be updated.An empty updateMask is temporarily treated as using the following mask for backwards compatibility purposes:destination,filter,includeChildrenAt some point in the future, behavior will be removed and specifying an empty updateMask will be an error.For a detailed FieldMask definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.FieldMaskFor example: updateMask=filter", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v2/{+sinkName}", +"request": { +"$ref": "LogSink" +}, +"response": { +"$ref": "LogSink" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/logging.admin" +] +}, +"update": { +"description": "Updates a sink. This method replaces the values of the destination and filter fields of the existing sink with the corresponding values from the new sink.The updated sink might also have a new writer_identity; see the unique_writer_identity field.", +"flatPath": "v2/billingAccounts/{billingAccountsId}/sinks/{sinksId}", +"httpMethod": "PUT", +"id": "logging.billingAccounts.sinks.update", +"parameterOrder": [ +"sinkName" +], +"parameters": { +"customWriterIdentity": { +"description": "Optional. The service account provided by the caller that will be used to write the log entries. The format must be serviceAccount:some@email. This field can only be specified when you are routing logs to a log bucket that is in a different project than the sink. When not specified, a Logging service account will automatically be generated.", +"location": "query", +"type": "string" +}, +"sinkName": { +"description": "Required. The full resource name of the sink to update, including the parent resource and the sink identifier: \"projects/[PROJECT_ID]/sinks/[SINK_ID]\" \"organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]\" \"folders/[FOLDER_ID]/sinks/[SINK_ID]\" For example:\"projects/my-project/sinks/my-sink\"", +"location": "path", +"pattern": "^billingAccounts/[^/]+/sinks/[^/]+$", +"required": true, +"type": "string" +}, +"uniqueWriterIdentity": { +"description": "Optional. See sinks.create for a description of this field. When updating a sink, the effect of this field on the value of writer_identity in the updated sink depends on both the old and new values of this field: If the old and new values of this field are both false or both true, then there is no change to the sink's writer_identity. If the old value is false and the new value is true, then writer_identity is changed to a service agent (https://docs.cloud.google.com/iam/docs/service-account-types#service-agents) owned by Cloud Logging. It is an error if the old value is true and the new value is set to false or defaulted to false.", +"location": "query", +"type": "boolean" +}, +"updateMask": { +"description": "Optional. Field mask that specifies the fields in sink that need an update. A sink field will be overwritten if, and only if, it is in the update mask. name and output only fields cannot be updated.An empty updateMask is temporarily treated as using the following mask for backwards compatibility purposes:destination,filter,includeChildrenAt some point in the future, behavior will be removed and specifying an empty updateMask will be an error.For a detailed FieldMask definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.FieldMaskFor example: updateMask=filter", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v2/{+sinkName}", +"request": { +"$ref": "LogSink" +}, +"response": { +"$ref": "LogSink" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/logging.admin" +] +} +} +} +} +}, +"entries": { +"methods": { +"copy": { +"description": "Copies a set of log entries from a log bucket to a Cloud Storage bucket.", +"flatPath": "v2/entries:copy", +"httpMethod": "POST", +"id": "logging.entries.copy", +"parameterOrder": [], +"parameters": {}, +"path": "v2/entries:copy", +"request": { +"$ref": "CopyLogEntriesRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/logging.admin" +] +}, +"list": { +"description": "Lists log entries. Use this method to retrieve log entries that originated from a project/folder/organization/billing account. For ways to export log entries, see Exporting Logs (https://cloud.google.com/logging/docs/export).", +"flatPath": "v2/entries:list", +"httpMethod": "POST", +"id": "logging.entries.list", +"parameterOrder": [], +"parameters": {}, +"path": "v2/entries:list", +"request": { +"$ref": "ListLogEntriesRequest" +}, +"response": { +"$ref": "ListLogEntriesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only", +"https://www.googleapis.com/auth/logging.admin", +"https://www.googleapis.com/auth/logging.read" +] +}, +"tail": { +"description": "Streaming read of log entries as they are received. Until the stream is terminated, it will continue reading logs.", +"flatPath": "v2/entries:tail", +"httpMethod": "POST", +"id": "logging.entries.tail", +"parameterOrder": [], +"parameters": {}, +"path": "v2/entries:tail", +"request": { +"$ref": "TailLogEntriesRequest" +}, +"response": { +"$ref": "TailLogEntriesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only", +"https://www.googleapis.com/auth/logging.admin", +"https://www.googleapis.com/auth/logging.read" +] +}, +"write": { +"description": "Writes log entries to Logging. This API method is the only way to send log entries to Logging. This method is used, directly or indirectly, by the Logging agent (fluentd) and all logging libraries configured to use Logging. A single request may contain log entries for a maximum of 1000 different resource names (projects, organizations, billing accounts or folders), where the resource name for a log entry is determined from its logName field.", +"flatPath": "v2/entries:write", +"httpMethod": "POST", +"id": "logging.entries.write", +"parameterOrder": [], +"parameters": {}, +"path": "v2/entries:write", +"request": { +"$ref": "WriteLogEntriesRequest" +}, +"response": { +"$ref": "WriteLogEntriesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/logging.admin", +"https://www.googleapis.com/auth/logging.write" +] +} +} +}, +"exclusions": { +"methods": { +"create": { +"description": "Creates a new exclusion in the _Default sink in a specified parent resource. Only log entries belonging to that resource can be excluded. You can have up to 10 exclusions in a resource.", +"flatPath": "v2/{v2Id}/{v2Id1}/exclusions", +"httpMethod": "POST", +"id": "logging.exclusions.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The parent resource in which to create the exclusion: \"projects/[PROJECT_ID]\" \"organizations/[ORGANIZATION_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]\" \"folders/[FOLDER_ID]\" For examples:\"projects/my-logging-project\" \"organizations/123456789\"", +"location": "path", +"pattern": "^[^/]+/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+parent}/exclusions", +"request": { +"$ref": "LogExclusion" +}, +"response": { +"$ref": "LogExclusion" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/logging.admin" +] +}, +"delete": { +"description": "Deletes an exclusion in the _Default sink.", +"flatPath": "v2/{v2Id}/{v2Id1}/exclusions/{exclusionsId}", +"httpMethod": "DELETE", +"id": "logging.exclusions.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of an existing exclusion to delete: \"projects/[PROJECT_ID]/exclusions/[EXCLUSION_ID]\" \"organizations/[ORGANIZATION_ID]/exclusions/[EXCLUSION_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]/exclusions/[EXCLUSION_ID]\" \"folders/[FOLDER_ID]/exclusions/[EXCLUSION_ID]\" For example:\"projects/my-project/exclusions/my-exclusion\"", +"location": "path", +"pattern": "^[^/]+/[^/]+/exclusions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+name}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/logging.admin" +] +}, +"get": { +"description": "Gets the description of an exclusion in the _Default sink.", +"flatPath": "v2/{v2Id}/{v2Id1}/exclusions/{exclusionsId}", +"httpMethod": "GET", +"id": "logging.exclusions.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of an existing exclusion: \"projects/[PROJECT_ID]/exclusions/[EXCLUSION_ID]\" \"organizations/[ORGANIZATION_ID]/exclusions/[EXCLUSION_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]/exclusions/[EXCLUSION_ID]\" \"folders/[FOLDER_ID]/exclusions/[EXCLUSION_ID]\" For example:\"projects/my-project/exclusions/my-exclusion\"", +"location": "path", +"pattern": "^[^/]+/[^/]+/exclusions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+name}", +"response": { +"$ref": "LogExclusion" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only", +"https://www.googleapis.com/auth/logging.admin", +"https://www.googleapis.com/auth/logging.read" +] +}, +"list": { +"description": "Lists all the exclusions on the _Default sink in a parent resource.", +"flatPath": "v2/{v2Id}/{v2Id1}/exclusions", +"httpMethod": "GET", +"id": "logging.exclusions.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "Optional. The maximum number of results to return from this request. Non-positive values are ignored. The presence of nextPageToken in the response indicates that more results might be available.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. If present, then retrieve the next batch of results from the preceding call to this method. pageToken must be the value of nextPageToken from the previous response. The values of other method parameters should be identical to those in the previous call.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent resource whose exclusions are to be listed. \"projects/[PROJECT_ID]\" \"organizations/[ORGANIZATION_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]\" \"folders/[FOLDER_ID]\" ", +"location": "path", +"pattern": "^[^/]+/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+parent}/exclusions", +"response": { +"$ref": "ListExclusionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only", +"https://www.googleapis.com/auth/logging.admin", +"https://www.googleapis.com/auth/logging.read" +] +}, +"patch": { +"description": "Changes one or more properties of an existing exclusion in the _Default sink.", +"flatPath": "v2/{v2Id}/{v2Id1}/exclusions/{exclusionsId}", +"httpMethod": "PATCH", +"id": "logging.exclusions.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the exclusion to update: \"projects/[PROJECT_ID]/exclusions/[EXCLUSION_ID]\" \"organizations/[ORGANIZATION_ID]/exclusions/[EXCLUSION_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]/exclusions/[EXCLUSION_ID]\" \"folders/[FOLDER_ID]/exclusions/[EXCLUSION_ID]\" For example:\"projects/my-project/exclusions/my-exclusion\"", +"location": "path", +"pattern": "^[^/]+/[^/]+/exclusions/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Required. A non-empty list of fields to change in the existing exclusion. New values for the fields are taken from the corresponding fields in the LogExclusion included in this request. Fields not mentioned in update_mask are not changed and are ignored in the request.For example, to change the filter and description of an exclusion, specify an update_mask of \"filter,description\".", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v2/{+name}", +"request": { +"$ref": "LogExclusion" +}, +"response": { +"$ref": "LogExclusion" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/logging.admin" +] +} +} +}, +"folders": { +"methods": { +"getCmekSettings": { +"description": "Gets the Logging CMEK settings for the given resource.Note: CMEK for the Log Router can be configured for Google Cloud projects, folders, organizations, and billing accounts. Once configured for an organization, it applies to all projects and folders in the Google Cloud organization.See Configure CMEK for Cloud Logging (https://docs.cloud.google.com/logging/docs/routing/managed-encryption) for more information.", +"flatPath": "v2/folders/{foldersId}/cmekSettings", +"httpMethod": "GET", +"id": "logging.folders.getCmekSettings", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource for which to retrieve CMEK settings. \"projects/[PROJECT_ID]/cmekSettings\" \"organizations/[ORGANIZATION_ID]/cmekSettings\" \"billingAccounts/[BILLING_ACCOUNT_ID]/cmekSettings\" \"folders/[FOLDER_ID]/cmekSettings\" For example:\"organizations/12345/cmekSettings\"Note: CMEK for the Log Router can be configured for Google Cloud projects, folders, organizations, and billing accounts. Once configured for an organization, it applies to all projects and folders in the Google Cloud organization.", +"location": "path", +"pattern": "^folders/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+name}/cmekSettings", +"response": { +"$ref": "CmekSettings" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only", +"https://www.googleapis.com/auth/logging.admin", +"https://www.googleapis.com/auth/logging.read" +] +}, +"getSettings": { +"description": "Gets the settings for the given resource.Note: Settings can be retrieved for Google Cloud projects, folders, organizations, and billing accounts.See View default resource settings for Logging (https://docs.cloud.google.com/logging/docs/default-settings#view-org-settings) for more information.", +"flatPath": "v2/folders/{foldersId}/settings", +"httpMethod": "GET", +"id": "logging.folders.getSettings", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource for which to retrieve settings. \"projects/[PROJECT_ID]/settings\" \"organizations/[ORGANIZATION_ID]/settings\" \"billingAccounts/[BILLING_ACCOUNT_ID]/settings\" \"folders/[FOLDER_ID]/settings\" For example:\"organizations/12345/settings\"Note: Settings can be retrieved for Google Cloud projects, folders, organizations, and billing accounts.", +"location": "path", +"pattern": "^folders/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+name}/settings", +"response": { +"$ref": "Settings" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only", +"https://www.googleapis.com/auth/logging.admin", +"https://www.googleapis.com/auth/logging.read" +] +}, +"updateSettings": { +"description": "Updates the settings for the given resource. This method applies to all feature configurations for organization and folders.UpdateSettings fails when any of the following are true: The value of storage_location either isn't supported by Logging or violates the location OrgPolicy. The default_sink_config field is set, but it has an unspecified filter write mode. The value of kms_key_name is invalid. The associated service account doesn't have the required roles/cloudkms.cryptoKeyEncrypterDecrypter role assigned for the key. Access to the key is disabled.See Configure default settings for organizations and folders (https://docs.cloud.google.com/logging/docs/default-settings) for more information.", +"flatPath": "v2/folders/{foldersId}/settings", +"httpMethod": "PATCH", +"id": "logging.folders.updateSettings", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name for the settings to update. \"organizations/[ORGANIZATION_ID]/settings\" \"folders/[FOLDER_ID]/settings\" For example:\"organizations/12345/settings\"", +"location": "path", +"pattern": "^folders/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Optional. Field mask identifying which fields from settings should be updated. A field will be overwritten if and only if it is in the update mask. Output only fields cannot be updated.See FieldMask for more information.For example: \"updateMask=kmsKeyName\"", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v2/{+name}/settings", +"request": { +"$ref": "Settings" +}, +"response": { +"$ref": "Settings" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/logging.admin" +] +} +}, +"resources": { +"exclusions": { +"methods": { +"create": { +"description": "Creates a new exclusion in the _Default sink in a specified parent resource. Only log entries belonging to that resource can be excluded. You can have up to 10 exclusions in a resource.", +"flatPath": "v2/folders/{foldersId}/exclusions", +"httpMethod": "POST", +"id": "logging.folders.exclusions.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The parent resource in which to create the exclusion: \"projects/[PROJECT_ID]\" \"organizations/[ORGANIZATION_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]\" \"folders/[FOLDER_ID]\" For examples:\"projects/my-logging-project\" \"organizations/123456789\"", +"location": "path", +"pattern": "^folders/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+parent}/exclusions", +"request": { +"$ref": "LogExclusion" +}, +"response": { +"$ref": "LogExclusion" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/logging.admin" +] +}, +"delete": { +"description": "Deletes an exclusion in the _Default sink.", +"flatPath": "v2/folders/{foldersId}/exclusions/{exclusionsId}", +"httpMethod": "DELETE", +"id": "logging.folders.exclusions.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of an existing exclusion to delete: \"projects/[PROJECT_ID]/exclusions/[EXCLUSION_ID]\" \"organizations/[ORGANIZATION_ID]/exclusions/[EXCLUSION_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]/exclusions/[EXCLUSION_ID]\" \"folders/[FOLDER_ID]/exclusions/[EXCLUSION_ID]\" For example:\"projects/my-project/exclusions/my-exclusion\"", +"location": "path", +"pattern": "^folders/[^/]+/exclusions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+name}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/logging.admin" +] +}, +"get": { +"description": "Gets the description of an exclusion in the _Default sink.", +"flatPath": "v2/folders/{foldersId}/exclusions/{exclusionsId}", +"httpMethod": "GET", +"id": "logging.folders.exclusions.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of an existing exclusion: \"projects/[PROJECT_ID]/exclusions/[EXCLUSION_ID]\" \"organizations/[ORGANIZATION_ID]/exclusions/[EXCLUSION_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]/exclusions/[EXCLUSION_ID]\" \"folders/[FOLDER_ID]/exclusions/[EXCLUSION_ID]\" For example:\"projects/my-project/exclusions/my-exclusion\"", +"location": "path", +"pattern": "^folders/[^/]+/exclusions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+name}", +"response": { +"$ref": "LogExclusion" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only", +"https://www.googleapis.com/auth/logging.admin", +"https://www.googleapis.com/auth/logging.read" +] +}, +"list": { +"description": "Lists all the exclusions on the _Default sink in a parent resource.", +"flatPath": "v2/folders/{foldersId}/exclusions", +"httpMethod": "GET", +"id": "logging.folders.exclusions.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "Optional. The maximum number of results to return from this request. Non-positive values are ignored. The presence of nextPageToken in the response indicates that more results might be available.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. If present, then retrieve the next batch of results from the preceding call to this method. pageToken must be the value of nextPageToken from the previous response. The values of other method parameters should be identical to those in the previous call.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent resource whose exclusions are to be listed. \"projects/[PROJECT_ID]\" \"organizations/[ORGANIZATION_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]\" \"folders/[FOLDER_ID]\" ", +"location": "path", +"pattern": "^folders/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+parent}/exclusions", +"response": { +"$ref": "ListExclusionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only", +"https://www.googleapis.com/auth/logging.admin", +"https://www.googleapis.com/auth/logging.read" +] +}, +"patch": { +"description": "Changes one or more properties of an existing exclusion in the _Default sink.", +"flatPath": "v2/folders/{foldersId}/exclusions/{exclusionsId}", +"httpMethod": "PATCH", +"id": "logging.folders.exclusions.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the exclusion to update: \"projects/[PROJECT_ID]/exclusions/[EXCLUSION_ID]\" \"organizations/[ORGANIZATION_ID]/exclusions/[EXCLUSION_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]/exclusions/[EXCLUSION_ID]\" \"folders/[FOLDER_ID]/exclusions/[EXCLUSION_ID]\" For example:\"projects/my-project/exclusions/my-exclusion\"", +"location": "path", +"pattern": "^folders/[^/]+/exclusions/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Required. A non-empty list of fields to change in the existing exclusion. New values for the fields are taken from the corresponding fields in the LogExclusion included in this request. Fields not mentioned in update_mask are not changed and are ignored in the request.For example, to change the filter and description of an exclusion, specify an update_mask of \"filter,description\".", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v2/{+name}", +"request": { +"$ref": "LogExclusion" +}, +"response": { +"$ref": "LogExclusion" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/logging.admin" +] +} +} +}, +"locations": { +"methods": { +"get": { +"description": "Gets information about a location.", +"flatPath": "v2/folders/{foldersId}/locations/{locationsId}", +"httpMethod": "GET", +"id": "logging.folders.locations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Resource name for the location.", +"location": "path", +"pattern": "^folders/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+name}", +"response": { +"$ref": "Location" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only", +"https://www.googleapis.com/auth/logging.admin", +"https://www.googleapis.com/auth/logging.read" +] +}, +"list": { +"description": "Lists information about the supported locations for this service. This method can be called in two ways: List all public locations: Use the path GET /v1/locations. List project-visible locations: Use the path GET /v1/projects/{project_id}/locations. This may include public locations as well as private or other locations specifically visible to the project.", +"flatPath": "v2/folders/{foldersId}/locations", +"httpMethod": "GET", +"id": "logging.folders.locations.list", +"parameterOrder": [ +"name" +], +"parameters": { +"extraLocationTypes": { +"description": "Optional. Do not use this field. It is unsupported and is ignored unless explicitly documented otherwise. This is primarily for internal usage.", +"location": "query", +"repeated": true, +"type": "string" +}, +"filter": { +"description": "A filter to narrow down results to a preferred subset. The filtering language accepts strings like \"displayName=tokyo\", and is documented in more detail in AIP-160 (https://google.aip.dev/160).", +"location": "query", +"type": "string" +}, +"name": { +"description": "The resource that owns the locations collection, if applicable.", +"location": "path", +"pattern": "^folders/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The maximum number of results to return. If not set, the service selects a default.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A page token received from the next_page_token field in the response. Send that page token to receive the subsequent page.", +"location": "query", +"type": "string" +} +}, +"path": "v2/{+name}/locations", +"response": { +"$ref": "ListLocationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only", +"https://www.googleapis.com/auth/logging.admin", +"https://www.googleapis.com/auth/logging.read" +] +} +}, +"resources": { +"buckets": { +"methods": { +"create": { +"description": "Creates a log bucket that can be used to store log entries. After a bucket has been created, the bucket's location cannot be changed.", +"flatPath": "v2/folders/{foldersId}/locations/{locationsId}/buckets", +"httpMethod": "POST", +"id": "logging.folders.locations.buckets.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"bucketId": { +"description": "Required. A client-assigned identifier such as \"my-bucket\". Identifiers are limited to 100 characters and can include only letters, digits, underscores, hyphens, and periods. Bucket identifiers must start with an alphanumeric character.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The resource in which to create the log bucket: \"projects/[PROJECT_ID]/locations/[LOCATION_ID]\" For example:\"projects/my-project/locations/global\"", +"location": "path", +"pattern": "^folders/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+parent}/buckets", +"request": { +"$ref": "LogBucket" +}, +"response": { +"$ref": "LogBucket" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/logging.admin" +] +}, +"createAsync": { +"description": "Creates a log bucket asynchronously that can be used to store log entries.After a bucket has been created, the bucket's location cannot be changed.", +"flatPath": "v2/folders/{foldersId}/locations/{locationsId}/buckets:createAsync", +"httpMethod": "POST", +"id": "logging.folders.locations.buckets.createAsync", +"parameterOrder": [ +"parent" +], +"parameters": { +"bucketId": { +"description": "Required. A client-assigned identifier such as \"my-bucket\". Identifiers are limited to 100 characters and can include only letters, digits, underscores, hyphens, and periods. Bucket identifiers must start with an alphanumeric character.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The resource in which to create the log bucket: \"projects/[PROJECT_ID]/locations/[LOCATION_ID]\" For example:\"projects/my-project/locations/global\"", +"location": "path", +"pattern": "^folders/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+parent}/buckets:createAsync", +"request": { +"$ref": "LogBucket" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/logging.admin" +] +}, +"delete": { +"description": "Deletes a log bucket.Changes the bucket's lifecycle_state to the DELETE_REQUESTED state. After 7 days, the bucket will be purged and all log entries in the bucket will be permanently deleted.", +"flatPath": "v2/folders/{foldersId}/locations/{locationsId}/buckets/{bucketsId}", +"httpMethod": "DELETE", +"id": "logging.folders.locations.buckets.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The full resource name of the bucket to delete. \"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" \"organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" \"folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" For example:\"projects/my-project/locations/global/buckets/my-bucket\"", +"location": "path", +"pattern": "^folders/[^/]+/locations/[^/]+/buckets/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+name}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/logging.admin" +] +}, +"get": { +"description": "Gets a log bucket.", +"flatPath": "v2/folders/{foldersId}/locations/{locationsId}/buckets/{bucketsId}", +"httpMethod": "GET", +"id": "logging.folders.locations.buckets.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the bucket: \"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" \"organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" \"folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" For example:\"projects/my-project/locations/global/buckets/my-bucket\"", +"location": "path", +"pattern": "^folders/[^/]+/locations/[^/]+/buckets/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+name}", +"response": { +"$ref": "LogBucket" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only", +"https://www.googleapis.com/auth/logging.admin", +"https://www.googleapis.com/auth/logging.read" +] +}, +"list": { +"description": "Lists log buckets.", +"flatPath": "v2/folders/{foldersId}/locations/{locationsId}/buckets", +"httpMethod": "GET", +"id": "logging.folders.locations.buckets.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "Optional. The maximum number of results to return from this request. Non-positive values are ignored. The presence of nextPageToken in the response indicates that more results might be available.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. If present, then retrieve the next batch of results from the preceding call to this method. pageToken must be the value of nextPageToken from the previous response. The values of other method parameters should be identical to those in the previous call.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent resource whose buckets are to be listed: \"projects/[PROJECT_ID]/locations/[LOCATION_ID]\" \"organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]\" \"folders/[FOLDER_ID]/locations/[LOCATION_ID]\" Note: The locations portion of the resource must be specified, but supplying the character - in place of LOCATION_ID will return all buckets.", +"location": "path", +"pattern": "^folders/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+parent}/buckets", +"response": { +"$ref": "ListBucketsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only", +"https://www.googleapis.com/auth/logging.admin", +"https://www.googleapis.com/auth/logging.read" +] +}, +"patch": { +"description": "Updates a log bucket.If the bucket has a lifecycle_state of DELETE_REQUESTED, then FAILED_PRECONDITION will be returned.After a bucket has been created, the bucket's location cannot be changed.", +"flatPath": "v2/folders/{foldersId}/locations/{locationsId}/buckets/{bucketsId}", +"httpMethod": "PATCH", +"id": "logging.folders.locations.buckets.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The full resource name of the bucket to update. \"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" \"organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" \"folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" For example:\"projects/my-project/locations/global/buckets/my-bucket\"", +"location": "path", +"pattern": "^folders/[^/]+/locations/[^/]+/buckets/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Required. Field mask that specifies the fields in bucket that need an update. A bucket field will be overwritten if, and only if, it is in the update mask. name and output only fields cannot be updated.For a detailed FieldMask definition, see: https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.FieldMaskFor example: updateMask=retention_days", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v2/{+name}", +"request": { +"$ref": "LogBucket" +}, +"response": { +"$ref": "LogBucket" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/logging.admin" +] +}, +"undelete": { +"description": "Undeletes a log bucket. A bucket that has been deleted can be undeleted within the grace period of 7 days.", +"flatPath": "v2/folders/{foldersId}/locations/{locationsId}/buckets/{bucketsId}:undelete", +"httpMethod": "POST", +"id": "logging.folders.locations.buckets.undelete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The full resource name of the bucket to undelete. \"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" \"organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" \"folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" For example:\"projects/my-project/locations/global/buckets/my-bucket\"", +"location": "path", +"pattern": "^folders/[^/]+/locations/[^/]+/buckets/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+name}:undelete", +"request": { +"$ref": "UndeleteBucketRequest" +}, +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/logging.admin" +] +}, +"updateAsync": { +"description": "Updates a log bucket asynchronously.If the bucket has a lifecycle_state of DELETE_REQUESTED, then FAILED_PRECONDITION will be returned.After a bucket has been created, the bucket's location cannot be changed.", +"flatPath": "v2/folders/{foldersId}/locations/{locationsId}/buckets/{bucketsId}:updateAsync", +"httpMethod": "POST", +"id": "logging.folders.locations.buckets.updateAsync", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The full resource name of the bucket to update. \"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" \"organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" \"folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" For example:\"projects/my-project/locations/global/buckets/my-bucket\"", +"location": "path", +"pattern": "^folders/[^/]+/locations/[^/]+/buckets/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Required. Field mask that specifies the fields in bucket that need an update. A bucket field will be overwritten if, and only if, it is in the update mask. name and output only fields cannot be updated.For a detailed FieldMask definition, see: https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.FieldMaskFor example: updateMask=retention_days", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v2/{+name}:updateAsync", +"request": { +"$ref": "LogBucket" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/logging.admin" +] +} +}, +"resources": { +"links": { +"methods": { +"create": { +"description": "Asynchronously creates a linked dataset in BigQuery which makes it possible to use BigQuery to read the logs stored in the log bucket. A log bucket may currently only contain one link.", +"flatPath": "v2/folders/{foldersId}/locations/{locationsId}/buckets/{bucketsId}/links", +"httpMethod": "POST", +"id": "logging.folders.locations.buckets.links.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"linkId": { +"description": "Required. The ID to use for the link. The link_id can have up to 100 characters. A valid link_id must only have alphanumeric characters and underscores within it.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The full resource name of the bucket to create a link for. \"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" ", +"location": "path", +"pattern": "^folders/[^/]+/locations/[^/]+/buckets/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+parent}/links", +"request": { +"$ref": "Link" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/logging.admin" +] +}, +"delete": { +"description": "Deletes a link. This will also delete the corresponding BigQuery linked dataset.", +"flatPath": "v2/folders/{foldersId}/locations/{locationsId}/buckets/{bucketsId}/links/{linksId}", +"httpMethod": "DELETE", +"id": "logging.folders.locations.buckets.links.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The full resource name of the link to delete. \"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]\" \"organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]\" \"folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]\" ", +"location": "path", +"pattern": "^folders/[^/]+/locations/[^/]+/buckets/[^/]+/links/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/logging.admin" +] +}, +"get": { +"description": "Gets a link.", +"flatPath": "v2/folders/{foldersId}/locations/{locationsId}/buckets/{bucketsId}/links/{linksId}", +"httpMethod": "GET", +"id": "logging.folders.locations.buckets.links.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the link: \"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]\" \"organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]\" \"folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]\" ", +"location": "path", +"pattern": "^folders/[^/]+/locations/[^/]+/buckets/[^/]+/links/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+name}", +"response": { +"$ref": "Link" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only", +"https://www.googleapis.com/auth/logging.admin", +"https://www.googleapis.com/auth/logging.read" +] +}, +"list": { +"description": "Lists links.", +"flatPath": "v2/folders/{foldersId}/locations/{locationsId}/buckets/{bucketsId}/links", +"httpMethod": "GET", +"id": "logging.folders.locations.buckets.links.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "Optional. The maximum number of results to return from this request.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. If present, then retrieve the next batch of results from the preceding call to this method. pageToken must be the value of nextPageToken from the previous response.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent resource whose links are to be listed: \"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" \"organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" \"folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" ", +"location": "path", +"pattern": "^folders/[^/]+/locations/[^/]+/buckets/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+parent}/links", +"response": { +"$ref": "ListLinksResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only", +"https://www.googleapis.com/auth/logging.admin", +"https://www.googleapis.com/auth/logging.read" +] +} +} +}, +"views": { +"methods": { +"create": { +"description": "Creates a view over log entries in a log bucket. A bucket may contain a maximum of 30 views.", +"flatPath": "v2/folders/{foldersId}/locations/{locationsId}/buckets/{bucketsId}/views", +"httpMethod": "POST", +"id": "logging.folders.locations.buckets.views.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The bucket in which to create the view `\"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\"` For example:\"projects/my-project/locations/global/buckets/my-bucket\"", +"location": "path", +"pattern": "^folders/[^/]+/locations/[^/]+/buckets/[^/]+$", +"required": true, +"type": "string" +}, +"viewId": { +"description": "Required. A client-assigned identifier such as \"my-view\". Identifiers are limited to 100 characters and can include only letters, digits, underscores, and hyphens.", +"location": "query", +"type": "string" +} +}, +"path": "v2/{+parent}/views", +"request": { +"$ref": "LogView" +}, +"response": { +"$ref": "LogView" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/logging.admin" +] +}, +"delete": { +"description": "Deletes a view on a log bucket. If an UNAVAILABLE error is returned, this indicates that system is not in a state where it can delete the view. If this occurs, please try again in a few minutes.", +"flatPath": "v2/folders/{foldersId}/locations/{locationsId}/buckets/{bucketsId}/views/{viewsId}", +"httpMethod": "DELETE", +"id": "logging.folders.locations.buckets.views.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The full resource name of the view to delete: \"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]\" For example:\"projects/my-project/locations/global/buckets/my-bucket/views/my-view\"", +"location": "path", +"pattern": "^folders/[^/]+/locations/[^/]+/buckets/[^/]+/views/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+name}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/logging.admin" +] +}, +"get": { +"description": "Gets a view on a log bucket.", +"flatPath": "v2/folders/{foldersId}/locations/{locationsId}/buckets/{bucketsId}/views/{viewsId}", +"httpMethod": "GET", +"id": "logging.folders.locations.buckets.views.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the policy: \"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]\" For example:\"projects/my-project/locations/global/buckets/my-bucket/views/my-view\"", +"location": "path", +"pattern": "^folders/[^/]+/locations/[^/]+/buckets/[^/]+/views/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+name}", +"response": { +"$ref": "LogView" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only", +"https://www.googleapis.com/auth/logging.admin", +"https://www.googleapis.com/auth/logging.read" +] +}, +"getIamPolicy": { +"description": "Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.", +"flatPath": "v2/folders/{foldersId}/locations/{locationsId}/buckets/{bucketsId}/views/{viewsId}:getIamPolicy", +"httpMethod": "POST", +"id": "logging.folders.locations.buckets.views.getIamPolicy", +"parameterOrder": [ +"resource" +], +"parameters": { +"resource": { +"description": "REQUIRED: The resource for which the policy is being requested. See Resource names (https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", +"location": "path", +"pattern": "^folders/[^/]+/locations/[^/]+/buckets/[^/]+/views/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+resource}:getIamPolicy", +"request": { +"$ref": "GetIamPolicyRequest" +}, +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only", +"https://www.googleapis.com/auth/logging.admin", +"https://www.googleapis.com/auth/logging.read" +] +}, +"list": { +"description": "Lists views on a log bucket.", +"flatPath": "v2/folders/{foldersId}/locations/{locationsId}/buckets/{bucketsId}/views", +"httpMethod": "GET", +"id": "logging.folders.locations.buckets.views.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "Optional. The maximum number of results to return from this request.Non-positive values are ignored. The presence of nextPageToken in the response indicates that more results might be available.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. If present, then retrieve the next batch of results from the preceding call to this method. pageToken must be the value of nextPageToken from the previous response. The values of other method parameters should be identical to those in the previous call.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The bucket whose views are to be listed: \"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" ", +"location": "path", +"pattern": "^folders/[^/]+/locations/[^/]+/buckets/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+parent}/views", +"response": { +"$ref": "ListViewsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only", +"https://www.googleapis.com/auth/logging.admin", +"https://www.googleapis.com/auth/logging.read" +] +}, +"patch": { +"description": "Updates a view on a log bucket. This method replaces the value of the filter field from the existing view with the corresponding value from the new view. If an UNAVAILABLE error is returned, this indicates that system is not in a state where it can update the view. If this occurs, please try again in a few minutes.", +"flatPath": "v2/folders/{foldersId}/locations/{locationsId}/buckets/{bucketsId}/views/{viewsId}", +"httpMethod": "PATCH", +"id": "logging.folders.locations.buckets.views.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The full resource name of the view to update \"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]\" For example:\"projects/my-project/locations/global/buckets/my-bucket/views/my-view\"", +"location": "path", +"pattern": "^folders/[^/]+/locations/[^/]+/buckets/[^/]+/views/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Optional. Field mask that specifies the fields in view that need an update. A field will be overwritten if, and only if, it is in the update mask. name and output only fields cannot be updated.For a detailed FieldMask definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.FieldMaskFor example: updateMask=filter", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v2/{+name}", +"request": { +"$ref": "LogView" +}, +"response": { +"$ref": "LogView" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/logging.admin" +] +}, +"setIamPolicy": { +"description": "Sets the access control policy on the specified resource. Replaces any existing policy.Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED errors.", +"flatPath": "v2/folders/{foldersId}/locations/{locationsId}/buckets/{bucketsId}/views/{viewsId}:setIamPolicy", +"httpMethod": "POST", +"id": "logging.folders.locations.buckets.views.setIamPolicy", +"parameterOrder": [ +"resource" +], +"parameters": { +"resource": { +"description": "REQUIRED: The resource for which the policy is being specified. See Resource names (https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", +"location": "path", +"pattern": "^folders/[^/]+/locations/[^/]+/buckets/[^/]+/views/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+resource}:setIamPolicy", +"request": { +"$ref": "SetIamPolicyRequest" +}, +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/logging.admin" +] +}, +"testIamPermissions": { +"description": "Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a NOT_FOUND error.Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may \"fail open\" without warning.", +"flatPath": "v2/folders/{foldersId}/locations/{locationsId}/buckets/{bucketsId}/views/{viewsId}:testIamPermissions", +"httpMethod": "POST", +"id": "logging.folders.locations.buckets.views.testIamPermissions", +"parameterOrder": [ +"resource" +], +"parameters": { +"resource": { +"description": "REQUIRED: The resource for which the policy detail is being requested. See Resource names (https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", +"location": "path", +"pattern": "^folders/[^/]+/locations/[^/]+/buckets/[^/]+/views/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+resource}:testIamPermissions", +"request": { +"$ref": "TestIamPermissionsRequest" +}, +"response": { +"$ref": "TestIamPermissionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only", +"https://www.googleapis.com/auth/logging.admin", +"https://www.googleapis.com/auth/logging.read" +] +} +}, +"resources": { +"logs": { +"methods": { +"list": { +"description": "Lists the logs in projects, organizations, folders, or billing accounts. Only logs that have entries are listed.", +"flatPath": "v2/folders/{foldersId}/locations/{locationsId}/buckets/{bucketsId}/views/{viewsId}/logs", +"httpMethod": "GET", +"id": "logging.folders.locations.buckets.views.logs.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "Optional. The maximum number of results to return from this request. Non-positive values are ignored. The presence of nextPageToken in the response indicates that more results might be available.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. If present, then retrieve the next batch of results from the preceding call to this method. pageToken must be the value of nextPageToken from the previous response. The values of other method parameters should be identical to those in the previous call.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The resource name to list logs for: projects/[PROJECT_ID] organizations/[ORGANIZATION_ID] billingAccounts/[BILLING_ACCOUNT_ID] folders/[FOLDER_ID]", +"location": "path", +"pattern": "^folders/[^/]+/locations/[^/]+/buckets/[^/]+/views/[^/]+$", +"required": true, +"type": "string" +}, +"resourceNames": { +"description": "Optional. List of resource names to list logs for: projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID] organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID] billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID] folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]To support legacy queries, it could also be: projects/[PROJECT_ID] organizations/[ORGANIZATION_ID] billingAccounts/[BILLING_ACCOUNT_ID] folders/[FOLDER_ID]The resource name in the parent field is added to this list.", +"location": "query", +"repeated": true, +"type": "string" +} +}, +"path": "v2/{+parent}/logs", +"response": { +"$ref": "ListLogsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only", +"https://www.googleapis.com/auth/logging.admin", +"https://www.googleapis.com/auth/logging.read" +] +} +} +} +} +} +} +}, +"logScopes": { +"methods": { +"create": { +"description": "Creates a log scope.", +"flatPath": "v2/folders/{foldersId}/locations/{locationsId}/logScopes", +"httpMethod": "POST", +"id": "logging.folders.locations.logScopes.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"logScopeId": { +"description": "Required. A client-assigned identifier such as \"log-scope\". Identifiers are limited to 100 characters and can include only letters, digits, underscores, hyphens, and periods. First character has to be alphanumeric.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent resource in which to create the log scope: \"projects/[PROJECT_ID]/locations/[LOCATION_ID]\" \"organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]\" \"folders/[FOLDER_ID]/locations/[LOCATION_ID]\" For example:\"projects/my-project/locations/global\"", +"location": "path", +"pattern": "^folders/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+parent}/logScopes", +"request": { +"$ref": "LogScope" +}, +"response": { +"$ref": "LogScope" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/logging.admin" +] +}, +"delete": { +"description": "Deletes a log scope.", +"flatPath": "v2/folders/{foldersId}/locations/{locationsId}/logScopes/{logScopesId}", +"httpMethod": "DELETE", +"id": "logging.folders.locations.logScopes.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the log scope to delete: \"projects/[PROJECT_ID]/locations/[LOCATION_ID]\" \"organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]\" \"folders/[FOLDER_ID]/locations/[LOCATION_ID]\" For example:\"projects/my-project/locations/global/logScopes/my-log-scope\"", +"location": "path", +"pattern": "^folders/[^/]+/locations/[^/]+/logScopes/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+name}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/logging.admin" +] +}, +"get": { +"description": "Gets a log scope.", +"flatPath": "v2/folders/{foldersId}/locations/{locationsId}/logScopes/{logScopesId}", +"httpMethod": "GET", +"id": "logging.folders.locations.logScopes.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the log scope: \"projects/[PROJECT_ID]/locations/[LOCATION_ID]\" \"organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]\" \"folders/[FOLDER_ID]/locations/[LOCATION_ID]\" For example:\"projects/my-project/locations/global/logScopes/my-log-scope\"", +"location": "path", +"pattern": "^folders/[^/]+/locations/[^/]+/logScopes/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+name}", +"response": { +"$ref": "LogScope" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only", +"https://www.googleapis.com/auth/logging.admin", +"https://www.googleapis.com/auth/logging.read" +] +}, +"list": { +"description": "Lists log scopes.", +"flatPath": "v2/folders/{foldersId}/locations/{locationsId}/logScopes", +"httpMethod": "GET", +"id": "logging.folders.locations.logScopes.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "Optional. The maximum number of results to return from this request.Non-positive values are ignored. The presence of nextPageToken in the response indicates that more results might be available.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. If present, then retrieve the next batch of results from the preceding call to this method. pageToken must be the value of nextPageToken from the previous response. The values of other method parameters should be identical to those in the previous call.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent resource whose log scopes are to be listed: \"projects/[PROJECT_ID]/locations/[LOCATION_ID]\" ", +"location": "path", +"pattern": "^folders/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+parent}/logScopes", +"response": { +"$ref": "ListLogScopesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only", +"https://www.googleapis.com/auth/logging.admin", +"https://www.googleapis.com/auth/logging.read" +] +}, +"patch": { +"description": "Updates a log scope.", +"flatPath": "v2/folders/{foldersId}/locations/{locationsId}/logScopes/{logScopesId}", +"httpMethod": "PATCH", +"id": "logging.folders.locations.logScopes.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Output only. The resource name of the log scope.Log scopes are only available in the global location. For example:projects/my-project/locations/global/logScopes/my-log-scope", +"location": "path", +"pattern": "^folders/[^/]+/locations/[^/]+/logScopes/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Optional. Field mask that specifies the fields in log_scope that need an update. A field will be overwritten if, and only if, it is in the update mask. name and output only fields cannot be updated.For a detailed FieldMask definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.FieldMaskFor example: updateMask=description", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v2/{+name}", +"request": { +"$ref": "LogScope" +}, +"response": { +"$ref": "LogScope" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/logging.admin" +] +} +} +}, +"operations": { +"methods": { +"cancel": { +"description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns google.rpc.Code.UNIMPLEMENTED. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of 1, corresponding to Code.CANCELLED.", +"flatPath": "v2/folders/{foldersId}/locations/{locationsId}/operations/{operationsId}:cancel", +"httpMethod": "POST", +"id": "logging.folders.locations.operations.cancel", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be cancelled.", +"location": "path", +"pattern": "^folders/[^/]+/locations/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+name}:cancel", +"request": { +"$ref": "CancelOperationRequest" +}, +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/logging.admin" +] +}, +"get": { +"description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", +"flatPath": "v2/folders/{foldersId}/locations/{locationsId}/operations/{operationsId}", +"httpMethod": "GET", +"id": "logging.folders.locations.operations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource.", +"location": "path", +"pattern": "^folders/[^/]+/locations/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only", +"https://www.googleapis.com/auth/logging.admin", +"https://www.googleapis.com/auth/logging.read" +] +}, +"list": { +"description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns UNIMPLEMENTED.", +"flatPath": "v2/folders/{foldersId}/locations/{locationsId}/operations", +"httpMethod": "GET", +"id": "logging.folders.locations.operations.list", +"parameterOrder": [ +"name" +], +"parameters": { +"filter": { +"description": "The standard list filter.", +"location": "query", +"type": "string" +}, +"name": { +"description": "The name of the operation's parent resource.", +"location": "path", +"pattern": "^folders/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The standard list page size.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The standard list page token.", +"location": "query", +"type": "string" +}, +"returnPartialSuccess": { +"description": "When set to true, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field.This can only be true when reading across collections. For example, when parent is set to \"projects/example/locations/-\".This field is not supported by default and will result in an UNIMPLEMENTED error if set unless explicitly documented otherwise in service or product specific documentation.", +"location": "query", +"type": "boolean" +} +}, +"path": "v2/{+name}/operations", +"response": { +"$ref": "ListOperationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only", +"https://www.googleapis.com/auth/logging.admin", +"https://www.googleapis.com/auth/logging.read" +] +} +} +}, +"recentQueries": { +"methods": { +"list": { +"description": "Lists the RecentQueries that were created by the user making the request.", +"flatPath": "v2/folders/{foldersId}/locations/{locationsId}/recentQueries", +"httpMethod": "GET", +"id": "logging.folders.locations.recentQueries.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Optional. Specifies the type (\"Logging\" or \"OpsAnalytics\") of the recent queries to list. The only valid value for this field is one of the two allowable type function calls, which are the following: type(\"Logging\") type(\"OpsAnalytics\")", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Optional. The maximum number of results to return from this request. Non-positive values are ignored. The presence of nextPageToken in the response indicates that more results might be available.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. If present, then retrieve the next batch of results from the preceding call to this method. pageToken must be the value of nextPageToken from the previous response. The values of other method parameters should be identical to those in the previous call.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The resource to which the listed queries belong. \"projects/[PROJECT_ID]/locations/[LOCATION_ID]\" \"organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]\" \"folders/[FOLDER_ID]/locations/[LOCATION_ID]\" For example:projects/my-project/locations/us-central1Note: The location portion of the resource must be specified, but supplying the character - in place of LOCATION_ID will return all recent queries.", +"location": "path", +"pattern": "^folders/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+parent}/recentQueries", +"response": { +"$ref": "ListRecentQueriesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only", +"https://www.googleapis.com/auth/logging.admin", +"https://www.googleapis.com/auth/logging.read" +] +} +} +}, +"savedQueries": { +"methods": { +"create": { +"description": "Creates a new SavedQuery for the user making the request.", +"flatPath": "v2/folders/{foldersId}/locations/{locationsId}/savedQueries", +"httpMethod": "POST", +"id": "logging.folders.locations.savedQueries.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The parent resource in which to create the saved query: \"projects/[PROJECT_ID]/locations/[LOCATION_ID]\" \"organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]\" \"folders/[FOLDER_ID]/locations/[LOCATION_ID]\" For example: \"projects/my-project/locations/global\" \"organizations/123456789/locations/us-central1\" ", +"location": "path", +"pattern": "^folders/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +}, +"savedQueryId": { +"description": "Optional. The ID to use for the saved query, which will become the final component of the saved query's resource name.If the saved_query_id is not provided, the system will generate an alphanumeric ID.The saved_query_id is limited to 100 characters and can include only the following characters: upper and lower-case alphanumeric characters, underscores, hyphens, periods.First character has to be alphanumeric.", +"location": "query", +"type": "string" +} +}, +"path": "v2/{+parent}/savedQueries", +"request": { +"$ref": "SavedQuery" +}, +"response": { +"$ref": "SavedQuery" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/logging.admin" +] +}, +"delete": { +"description": "Deletes an existing SavedQuery that was created by the user making the request.", +"flatPath": "v2/folders/{foldersId}/locations/{locationsId}/savedQueries/{savedQueriesId}", +"httpMethod": "DELETE", +"id": "logging.folders.locations.savedQueries.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The full resource name of the saved query to delete. \"projects/[PROJECT_ID]/locations/[LOCATION_ID]/savedQueries/[QUERY_ID]\" \"organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/savedQueries/[QUERY_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/savedQueries/[QUERY_ID]\" \"folders/[FOLDER_ID]/locations/[LOCATION_ID]/savedQueries/[QUERY_ID]\" For example: \"projects/my-project/locations/global/savedQueries/my-saved-query\" ", +"location": "path", +"pattern": "^folders/[^/]+/locations/[^/]+/savedQueries/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+name}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/logging.admin" +] +}, +"get": { +"description": "Returns all data associated with the requested query.", +"flatPath": "v2/folders/{foldersId}/locations/{locationsId}/savedQueries/{savedQueriesId}", +"httpMethod": "GET", +"id": "logging.folders.locations.savedQueries.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the saved query. \"projects/[PROJECT_ID]/locations/[LOCATION_ID]/savedQueries/[QUERY_ID]\" \"organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/savedQueries/[QUERY_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/savedQueries/[QUERY_ID]\" \"folders/[FOLDER_ID]/locations/[LOCATION_ID]/savedQueries/[QUERY_ID]\" For example: \"projects/my-project/locations/global/savedQueries/my-saved-query\" ", +"location": "path", +"pattern": "^folders/[^/]+/locations/[^/]+/savedQueries/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+name}", +"response": { +"$ref": "SavedQuery" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only", +"https://www.googleapis.com/auth/logging.admin", +"https://www.googleapis.com/auth/logging.read" +] +}, +"list": { +"description": "Lists the SavedQueries that were created by the user making the request.", +"flatPath": "v2/folders/{foldersId}/locations/{locationsId}/savedQueries", +"httpMethod": "GET", +"id": "logging.folders.locations.savedQueries.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Optional. Specifies the type (\"Logging\" or \"OpsAnalytics\") and the visibility (PRIVATE or SHARED) of the saved queries to list. If provided, the filter must contain either the type function or a visibility token, or both. If both are chosen, they can be placed in any order, but they must be joined by the AND operator or the empty character.The two supported type function calls are: type(\"Logging\") type(\"OpsAnalytics\")The two supported visibility tokens are: visibility = PRIVATE visibility = SHAREDFor example:type(\"Logging\") AND visibility = PRIVATE visibility=SHARED type(\"OpsAnalytics\") type(\"OpsAnalytics)\" visibility = PRIVATE visibility = SHARED", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Optional. The maximum number of results to return from this request.Non-positive values are ignored. The presence of nextPageToken in the response indicates that more results might be available.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. If present, then retrieve the next batch of results from the preceding call to this method. pageToken must be the value of nextPageToken from the previous response. The values of other method parameters should be identical to those in the previous call.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The resource to which the listed queries belong. \"projects/[PROJECT_ID]/locations/[LOCATION_ID]\" \"organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]\" \"folders/[FOLDER_ID]/locations/[LOCATION_ID]\" For example: \"projects/my-project/locations/us-central1\" Note: The locations portion of the resource must be specified. To get a list of all saved queries, a wildcard character - can be used for LOCATION_ID, for example: \"projects/my-project/locations/-\" ", +"location": "path", +"pattern": "^folders/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+parent}/savedQueries", +"response": { +"$ref": "ListSavedQueriesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only", +"https://www.googleapis.com/auth/logging.admin", +"https://www.googleapis.com/auth/logging.read" +] +}, +"patch": { +"description": "Updates an existing SavedQuery.", +"flatPath": "v2/folders/{foldersId}/locations/{locationsId}/savedQueries/{savedQueriesId}", +"httpMethod": "PATCH", +"id": "logging.folders.locations.savedQueries.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Output only. Resource name of the saved query.In the format: \"projects/[PROJECT_ID]/locations/[LOCATION_ID]/savedQueries/[QUERY_ID]\" For a list of supported locations, see Supported Regions (https://docs.cloud.google.com/logging/docs/region-support#bucket-regions)After the saved query is created, the location cannot be changed.If the user doesn't provide a QUERY_ID, the system will generate an alphanumeric ID.", +"location": "path", +"pattern": "^folders/[^/]+/locations/[^/]+/savedQueries/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Required. A non-empty list of fields to change in the existing saved query. Fields are relative to the saved_query and new values for the fields are taken from the corresponding fields in the SavedQuery included in this request. Fields not mentioned in update_mask are not changed and are ignored in the request.To update all mutable fields, specify an update_mask of *.For example, to change the description and query filter text of a saved query, specify an update_mask of \"description, query.filter\".", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v2/{+name}", +"request": { +"$ref": "SavedQuery" +}, +"response": { +"$ref": "SavedQuery" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/logging.admin" +] +} +} +} +} +}, +"logs": { +"methods": { +"delete": { +"description": "Deletes all the log entries in a log for the global _Default Log Bucket. The log reappears if it receives new entries. Log entries written shortly before the delete operation might not be deleted. Entries received after the delete operation with a timestamp before the operation will be deleted.", +"flatPath": "v2/folders/{foldersId}/logs/{logsId}", +"httpMethod": "DELETE", +"id": "logging.folders.logs.delete", +"parameterOrder": [ +"logName" +], +"parameters": { +"logName": { +"description": "Required. The resource name of the log to delete: projects/[PROJECT_ID]/logs/[LOG_ID] organizations/[ORGANIZATION_ID]/logs/[LOG_ID] billingAccounts/[BILLING_ACCOUNT_ID]/logs/[LOG_ID] folders/[FOLDER_ID]/logs/[LOG_ID][LOG_ID] must be URL-encoded. For example, \"projects/my-project-id/logs/syslog\", \"organizations/123/logs/cloudaudit.googleapis.com%2Factivity\".For more information about log names, see LogEntry.", +"location": "path", +"pattern": "^folders/[^/]+/logs/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+logName}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/logging.admin" +] +}, +"list": { +"description": "Lists the logs in projects, organizations, folders, or billing accounts. Only logs that have entries are listed.", +"flatPath": "v2/folders/{foldersId}/logs", +"httpMethod": "GET", +"id": "logging.folders.logs.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "Optional. The maximum number of results to return from this request. Non-positive values are ignored. The presence of nextPageToken in the response indicates that more results might be available.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. If present, then retrieve the next batch of results from the preceding call to this method. pageToken must be the value of nextPageToken from the previous response. The values of other method parameters should be identical to those in the previous call.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The resource name to list logs for: projects/[PROJECT_ID] organizations/[ORGANIZATION_ID] billingAccounts/[BILLING_ACCOUNT_ID] folders/[FOLDER_ID]", +"location": "path", +"pattern": "^folders/[^/]+$", +"required": true, +"type": "string" +}, +"resourceNames": { +"description": "Optional. List of resource names to list logs for: projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID] organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID] billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID] folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]To support legacy queries, it could also be: projects/[PROJECT_ID] organizations/[ORGANIZATION_ID] billingAccounts/[BILLING_ACCOUNT_ID] folders/[FOLDER_ID]The resource name in the parent field is added to this list.", +"location": "query", +"repeated": true, +"type": "string" +} +}, +"path": "v2/{+parent}/logs", +"response": { +"$ref": "ListLogsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only", +"https://www.googleapis.com/auth/logging.admin", +"https://www.googleapis.com/auth/logging.read" +] +} +} +}, +"sinks": { +"methods": { +"create": { +"description": "Creates a sink that exports specified log entries to a destination. The export begins upon ingress, unless the sink's writer_identity is not permitted to write to the destination. A sink can export log entries only from the resource owning the sink.", +"flatPath": "v2/folders/{foldersId}/sinks", +"httpMethod": "POST", +"id": "logging.folders.sinks.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"customWriterIdentity": { +"description": "Optional. The service account provided by the caller that will be used to write the log entries. The format must be serviceAccount:some@email. This field can only be specified when you are routing logs to a log bucket that is in a different project than the sink. When not specified, a Logging service account will automatically be generated.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The resource in which to create the sink: \"projects/[PROJECT_ID]\" \"organizations/[ORGANIZATION_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]\" \"folders/[FOLDER_ID]\" For examples:\"projects/my-project\" \"organizations/123456789\"", +"location": "path", +"pattern": "^folders/[^/]+$", +"required": true, +"type": "string" +}, +"uniqueWriterIdentity": { +"description": "Optional. Determines the kind of IAM identity returned as writer_identity in the new sink. If this value is omitted or set to false, and if the sink's parent is a project, then the value returned as writer_identity is the same group or service account used by Cloud Logging before the addition of writer identities to this API. The sink's destination must be in the same project as the sink itself.If this field is set to true, or if the sink is owned by a non-project resource such as an organization, then the value of writer_identity will be a service agent (https://docs.cloud.google.com/iam/docs/service-account-types#service-agents) used by the sinks with the same parent. For more information, see writer_identity in LogSink.", +"location": "query", +"type": "boolean" +} +}, +"path": "v2/{+parent}/sinks", +"request": { +"$ref": "LogSink" +}, +"response": { +"$ref": "LogSink" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/logging.admin" +] +}, +"delete": { +"description": "Deletes a sink. If the sink has a unique writer_identity, then that service account is also deleted.", +"flatPath": "v2/folders/{foldersId}/sinks/{sinksId}", +"httpMethod": "DELETE", +"id": "logging.folders.sinks.delete", +"parameterOrder": [ +"sinkName" +], +"parameters": { +"sinkName": { +"description": "Required. The full resource name of the sink to delete, including the parent resource and the sink identifier: \"projects/[PROJECT_ID]/sinks/[SINK_ID]\" \"organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]\" \"folders/[FOLDER_ID]/sinks/[SINK_ID]\" For example:\"projects/my-project/sinks/my-sink\"", +"location": "path", +"pattern": "^folders/[^/]+/sinks/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+sinkName}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/logging.admin" +] +}, +"get": { +"description": "Gets a sink.", +"flatPath": "v2/folders/{foldersId}/sinks/{sinksId}", +"httpMethod": "GET", +"id": "logging.folders.sinks.get", +"parameterOrder": [ +"sinkName" +], +"parameters": { +"sinkName": { +"description": "Required. The resource name of the sink: \"projects/[PROJECT_ID]/sinks/[SINK_ID]\" \"organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]\" \"folders/[FOLDER_ID]/sinks/[SINK_ID]\" For example:\"projects/my-project/sinks/my-sink\"", +"location": "path", +"pattern": "^folders/[^/]+/sinks/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+sinkName}", +"response": { +"$ref": "LogSink" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only", +"https://www.googleapis.com/auth/logging.admin", +"https://www.googleapis.com/auth/logging.read" +] +}, +"list": { +"description": "Lists sinks.", +"flatPath": "v2/folders/{foldersId}/sinks", +"httpMethod": "GET", +"id": "logging.folders.sinks.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Optional. A filter expression to constrain the sinks returned. Today, this only supports the following strings: '' 'in_scope(\"ALL\")', 'in_scope(\"ANCESTOR\")', 'in_scope(\"DEFAULT\")'.Description of scopes below. ALL: Includes all of the sinks which can be returned in any other scope. ANCESTOR: Includes intercepting sinks owned by ancestor resources. DEFAULT: Includes sinks owned by parent.When the empty string is provided, then the filter 'in_scope(\"DEFAULT\")' is applied.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Optional. The maximum number of results to return from this request. Non-positive values are ignored. The presence of nextPageToken in the response indicates that more results might be available.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. If present, then retrieve the next batch of results from the preceding call to this method. pageToken must be the value of nextPageToken from the previous response. The values of other method parameters should be identical to those in the previous call.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent resource whose sinks are to be listed: \"projects/[PROJECT_ID]\" \"organizations/[ORGANIZATION_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]\" \"folders/[FOLDER_ID]\" ", +"location": "path", +"pattern": "^folders/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+parent}/sinks", +"response": { +"$ref": "ListSinksResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only", +"https://www.googleapis.com/auth/logging.admin", +"https://www.googleapis.com/auth/logging.read" +] +}, +"patch": { +"description": "Updates a sink. This method replaces the values of the destination and filter fields of the existing sink with the corresponding values from the new sink.The updated sink might also have a new writer_identity; see the unique_writer_identity field.", +"flatPath": "v2/folders/{foldersId}/sinks/{sinksId}", +"httpMethod": "PATCH", +"id": "logging.folders.sinks.patch", +"parameterOrder": [ +"sinkName" +], +"parameters": { +"customWriterIdentity": { +"description": "Optional. The service account provided by the caller that will be used to write the log entries. The format must be serviceAccount:some@email. This field can only be specified when you are routing logs to a log bucket that is in a different project than the sink. When not specified, a Logging service account will automatically be generated.", +"location": "query", +"type": "string" +}, +"sinkName": { +"description": "Required. The full resource name of the sink to update, including the parent resource and the sink identifier: \"projects/[PROJECT_ID]/sinks/[SINK_ID]\" \"organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]\" \"folders/[FOLDER_ID]/sinks/[SINK_ID]\" For example:\"projects/my-project/sinks/my-sink\"", +"location": "path", +"pattern": "^folders/[^/]+/sinks/[^/]+$", +"required": true, +"type": "string" +}, +"uniqueWriterIdentity": { +"description": "Optional. See sinks.create for a description of this field. When updating a sink, the effect of this field on the value of writer_identity in the updated sink depends on both the old and new values of this field: If the old and new values of this field are both false or both true, then there is no change to the sink's writer_identity. If the old value is false and the new value is true, then writer_identity is changed to a service agent (https://docs.cloud.google.com/iam/docs/service-account-types#service-agents) owned by Cloud Logging. It is an error if the old value is true and the new value is set to false or defaulted to false.", +"location": "query", +"type": "boolean" +}, +"updateMask": { +"description": "Optional. Field mask that specifies the fields in sink that need an update. A sink field will be overwritten if, and only if, it is in the update mask. name and output only fields cannot be updated.An empty updateMask is temporarily treated as using the following mask for backwards compatibility purposes:destination,filter,includeChildrenAt some point in the future, behavior will be removed and specifying an empty updateMask will be an error.For a detailed FieldMask definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.FieldMaskFor example: updateMask=filter", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v2/{+sinkName}", +"request": { +"$ref": "LogSink" +}, +"response": { +"$ref": "LogSink" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/logging.admin" +] +}, +"update": { +"description": "Updates a sink. This method replaces the values of the destination and filter fields of the existing sink with the corresponding values from the new sink.The updated sink might also have a new writer_identity; see the unique_writer_identity field.", +"flatPath": "v2/folders/{foldersId}/sinks/{sinksId}", +"httpMethod": "PUT", +"id": "logging.folders.sinks.update", +"parameterOrder": [ +"sinkName" +], +"parameters": { +"customWriterIdentity": { +"description": "Optional. The service account provided by the caller that will be used to write the log entries. The format must be serviceAccount:some@email. This field can only be specified when you are routing logs to a log bucket that is in a different project than the sink. When not specified, a Logging service account will automatically be generated.", +"location": "query", +"type": "string" +}, +"sinkName": { +"description": "Required. The full resource name of the sink to update, including the parent resource and the sink identifier: \"projects/[PROJECT_ID]/sinks/[SINK_ID]\" \"organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]\" \"folders/[FOLDER_ID]/sinks/[SINK_ID]\" For example:\"projects/my-project/sinks/my-sink\"", +"location": "path", +"pattern": "^folders/[^/]+/sinks/[^/]+$", +"required": true, +"type": "string" +}, +"uniqueWriterIdentity": { +"description": "Optional. See sinks.create for a description of this field. When updating a sink, the effect of this field on the value of writer_identity in the updated sink depends on both the old and new values of this field: If the old and new values of this field are both false or both true, then there is no change to the sink's writer_identity. If the old value is false and the new value is true, then writer_identity is changed to a service agent (https://docs.cloud.google.com/iam/docs/service-account-types#service-agents) owned by Cloud Logging. It is an error if the old value is true and the new value is set to false or defaulted to false.", +"location": "query", +"type": "boolean" +}, +"updateMask": { +"description": "Optional. Field mask that specifies the fields in sink that need an update. A sink field will be overwritten if, and only if, it is in the update mask. name and output only fields cannot be updated.An empty updateMask is temporarily treated as using the following mask for backwards compatibility purposes:destination,filter,includeChildrenAt some point in the future, behavior will be removed and specifying an empty updateMask will be an error.For a detailed FieldMask definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.FieldMaskFor example: updateMask=filter", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v2/{+sinkName}", +"request": { +"$ref": "LogSink" +}, +"response": { +"$ref": "LogSink" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/logging.admin" +] +} +} +} +} +}, +"locations": { +"methods": { +"get": { +"description": "Gets information about a location.", +"flatPath": "v2/{v2Id}/{v2Id1}/locations/{locationsId}", +"httpMethod": "GET", +"id": "logging.locations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Resource name for the location.", +"location": "path", +"pattern": "^[^/]+/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+name}", +"response": { +"$ref": "Location" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only", +"https://www.googleapis.com/auth/logging.admin", +"https://www.googleapis.com/auth/logging.read" +] +}, +"list": { +"description": "Lists information about the supported locations for this service. This method can be called in two ways: List all public locations: Use the path GET /v1/locations. List project-visible locations: Use the path GET /v1/projects/{project_id}/locations. This may include public locations as well as private or other locations specifically visible to the project.", +"flatPath": "v2/{v2Id}/{v2Id1}/locations", +"httpMethod": "GET", +"id": "logging.locations.list", +"parameterOrder": [ +"name" +], +"parameters": { +"extraLocationTypes": { +"description": "Optional. Do not use this field. It is unsupported and is ignored unless explicitly documented otherwise. This is primarily for internal usage.", +"location": "query", +"repeated": true, +"type": "string" +}, +"filter": { +"description": "A filter to narrow down results to a preferred subset. The filtering language accepts strings like \"displayName=tokyo\", and is documented in more detail in AIP-160 (https://google.aip.dev/160).", +"location": "query", +"type": "string" +}, +"name": { +"description": "The resource that owns the locations collection, if applicable.", +"location": "path", +"pattern": "^[^/]+/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The maximum number of results to return. If not set, the service selects a default.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A page token received from the next_page_token field in the response. Send that page token to receive the subsequent page.", +"location": "query", +"type": "string" +} +}, +"path": "v2/{+name}/locations", +"response": { +"$ref": "ListLocationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only", +"https://www.googleapis.com/auth/logging.admin", +"https://www.googleapis.com/auth/logging.read" +] +} +}, +"resources": { +"buckets": { +"methods": { +"create": { +"description": "Creates a log bucket that can be used to store log entries. After a bucket has been created, the bucket's location cannot be changed.", +"flatPath": "v2/{v2Id}/{v2Id1}/locations/{locationsId}/buckets", +"httpMethod": "POST", +"id": "logging.locations.buckets.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"bucketId": { +"description": "Required. A client-assigned identifier such as \"my-bucket\". Identifiers are limited to 100 characters and can include only letters, digits, underscores, hyphens, and periods. Bucket identifiers must start with an alphanumeric character.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The resource in which to create the log bucket: \"projects/[PROJECT_ID]/locations/[LOCATION_ID]\" For example:\"projects/my-project/locations/global\"", +"location": "path", +"pattern": "^[^/]+/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+parent}/buckets", +"request": { +"$ref": "LogBucket" +}, +"response": { +"$ref": "LogBucket" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/logging.admin" +] +}, +"createAsync": { +"description": "Creates a log bucket asynchronously that can be used to store log entries.After a bucket has been created, the bucket's location cannot be changed.", +"flatPath": "v2/{v2Id}/{v2Id1}/locations/{locationsId}/buckets:createAsync", +"httpMethod": "POST", +"id": "logging.locations.buckets.createAsync", +"parameterOrder": [ +"parent" +], +"parameters": { +"bucketId": { +"description": "Required. A client-assigned identifier such as \"my-bucket\". Identifiers are limited to 100 characters and can include only letters, digits, underscores, hyphens, and periods. Bucket identifiers must start with an alphanumeric character.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The resource in which to create the log bucket: \"projects/[PROJECT_ID]/locations/[LOCATION_ID]\" For example:\"projects/my-project/locations/global\"", +"location": "path", +"pattern": "^[^/]+/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+parent}/buckets:createAsync", +"request": { +"$ref": "LogBucket" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/logging.admin" +] +}, +"delete": { +"description": "Deletes a log bucket.Changes the bucket's lifecycle_state to the DELETE_REQUESTED state. After 7 days, the bucket will be purged and all log entries in the bucket will be permanently deleted.", +"flatPath": "v2/{v2Id}/{v2Id1}/locations/{locationsId}/buckets/{bucketsId}", +"httpMethod": "DELETE", +"id": "logging.locations.buckets.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The full resource name of the bucket to delete. \"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" \"organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" \"folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" For example:\"projects/my-project/locations/global/buckets/my-bucket\"", +"location": "path", +"pattern": "^[^/]+/[^/]+/locations/[^/]+/buckets/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+name}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/logging.admin" +] +}, +"get": { +"description": "Gets a log bucket.", +"flatPath": "v2/{v2Id}/{v2Id1}/locations/{locationsId}/buckets/{bucketsId}", +"httpMethod": "GET", +"id": "logging.locations.buckets.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the bucket: \"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" \"organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" \"folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" For example:\"projects/my-project/locations/global/buckets/my-bucket\"", +"location": "path", +"pattern": "^[^/]+/[^/]+/locations/[^/]+/buckets/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+name}", +"response": { +"$ref": "LogBucket" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only", +"https://www.googleapis.com/auth/logging.admin", +"https://www.googleapis.com/auth/logging.read" +] +}, +"list": { +"description": "Lists log buckets.", +"flatPath": "v2/{v2Id}/{v2Id1}/locations/{locationsId}/buckets", +"httpMethod": "GET", +"id": "logging.locations.buckets.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "Optional. The maximum number of results to return from this request. Non-positive values are ignored. The presence of nextPageToken in the response indicates that more results might be available.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. If present, then retrieve the next batch of results from the preceding call to this method. pageToken must be the value of nextPageToken from the previous response. The values of other method parameters should be identical to those in the previous call.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent resource whose buckets are to be listed: \"projects/[PROJECT_ID]/locations/[LOCATION_ID]\" \"organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]\" \"folders/[FOLDER_ID]/locations/[LOCATION_ID]\" Note: The locations portion of the resource must be specified, but supplying the character - in place of LOCATION_ID will return all buckets.", +"location": "path", +"pattern": "^[^/]+/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+parent}/buckets", +"response": { +"$ref": "ListBucketsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only", +"https://www.googleapis.com/auth/logging.admin", +"https://www.googleapis.com/auth/logging.read" +] +}, +"patch": { +"description": "Updates a log bucket.If the bucket has a lifecycle_state of DELETE_REQUESTED, then FAILED_PRECONDITION will be returned.After a bucket has been created, the bucket's location cannot be changed.", +"flatPath": "v2/{v2Id}/{v2Id1}/locations/{locationsId}/buckets/{bucketsId}", +"httpMethod": "PATCH", +"id": "logging.locations.buckets.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The full resource name of the bucket to update. \"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" \"organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" \"folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" For example:\"projects/my-project/locations/global/buckets/my-bucket\"", +"location": "path", +"pattern": "^[^/]+/[^/]+/locations/[^/]+/buckets/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Required. Field mask that specifies the fields in bucket that need an update. A bucket field will be overwritten if, and only if, it is in the update mask. name and output only fields cannot be updated.For a detailed FieldMask definition, see: https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.FieldMaskFor example: updateMask=retention_days", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v2/{+name}", +"request": { +"$ref": "LogBucket" +}, +"response": { +"$ref": "LogBucket" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/logging.admin" +] +}, +"undelete": { +"description": "Undeletes a log bucket. A bucket that has been deleted can be undeleted within the grace period of 7 days.", +"flatPath": "v2/{v2Id}/{v2Id1}/locations/{locationsId}/buckets/{bucketsId}:undelete", +"httpMethod": "POST", +"id": "logging.locations.buckets.undelete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The full resource name of the bucket to undelete. \"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" \"organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" \"folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" For example:\"projects/my-project/locations/global/buckets/my-bucket\"", +"location": "path", +"pattern": "^[^/]+/[^/]+/locations/[^/]+/buckets/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+name}:undelete", +"request": { +"$ref": "UndeleteBucketRequest" +}, +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/logging.admin" +] +}, +"updateAsync": { +"description": "Updates a log bucket asynchronously.If the bucket has a lifecycle_state of DELETE_REQUESTED, then FAILED_PRECONDITION will be returned.After a bucket has been created, the bucket's location cannot be changed.", +"flatPath": "v2/{v2Id}/{v2Id1}/locations/{locationsId}/buckets/{bucketsId}:updateAsync", +"httpMethod": "POST", +"id": "logging.locations.buckets.updateAsync", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The full resource name of the bucket to update. \"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" \"organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" \"folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" For example:\"projects/my-project/locations/global/buckets/my-bucket\"", +"location": "path", +"pattern": "^[^/]+/[^/]+/locations/[^/]+/buckets/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Required. Field mask that specifies the fields in bucket that need an update. A bucket field will be overwritten if, and only if, it is in the update mask. name and output only fields cannot be updated.For a detailed FieldMask definition, see: https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.FieldMaskFor example: updateMask=retention_days", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v2/{+name}:updateAsync", +"request": { +"$ref": "LogBucket" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/logging.admin" +] +} +}, +"resources": { +"links": { +"methods": { +"create": { +"description": "Asynchronously creates a linked dataset in BigQuery which makes it possible to use BigQuery to read the logs stored in the log bucket. A log bucket may currently only contain one link.", +"flatPath": "v2/{v2Id}/{v2Id1}/locations/{locationsId}/buckets/{bucketsId}/links", +"httpMethod": "POST", +"id": "logging.locations.buckets.links.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"linkId": { +"description": "Required. The ID to use for the link. The link_id can have up to 100 characters. A valid link_id must only have alphanumeric characters and underscores within it.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The full resource name of the bucket to create a link for. \"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" ", +"location": "path", +"pattern": "^[^/]+/[^/]+/locations/[^/]+/buckets/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+parent}/links", +"request": { +"$ref": "Link" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/logging.admin" +] +}, +"delete": { +"description": "Deletes a link. This will also delete the corresponding BigQuery linked dataset.", +"flatPath": "v2/{v2Id}/{v2Id1}/locations/{locationsId}/buckets/{bucketsId}/links/{linksId}", +"httpMethod": "DELETE", +"id": "logging.locations.buckets.links.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The full resource name of the link to delete. \"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]\" \"organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]\" \"folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]\" ", +"location": "path", +"pattern": "^[^/]+/[^/]+/locations/[^/]+/buckets/[^/]+/links/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/logging.admin" +] +}, +"get": { +"description": "Gets a link.", +"flatPath": "v2/{v2Id}/{v2Id1}/locations/{locationsId}/buckets/{bucketsId}/links/{linksId}", +"httpMethod": "GET", +"id": "logging.locations.buckets.links.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the link: \"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]\" \"organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]\" \"folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]\" ", +"location": "path", +"pattern": "^[^/]+/[^/]+/locations/[^/]+/buckets/[^/]+/links/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+name}", +"response": { +"$ref": "Link" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only", +"https://www.googleapis.com/auth/logging.admin", +"https://www.googleapis.com/auth/logging.read" +] +}, +"list": { +"description": "Lists links.", +"flatPath": "v2/{v2Id}/{v2Id1}/locations/{locationsId}/buckets/{bucketsId}/links", +"httpMethod": "GET", +"id": "logging.locations.buckets.links.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "Optional. The maximum number of results to return from this request.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. If present, then retrieve the next batch of results from the preceding call to this method. pageToken must be the value of nextPageToken from the previous response.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent resource whose links are to be listed: \"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" \"organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" \"folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" ", +"location": "path", +"pattern": "^[^/]+/[^/]+/locations/[^/]+/buckets/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+parent}/links", +"response": { +"$ref": "ListLinksResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only", +"https://www.googleapis.com/auth/logging.admin", +"https://www.googleapis.com/auth/logging.read" +] +} +} +}, +"views": { +"methods": { +"create": { +"description": "Creates a view over log entries in a log bucket. A bucket may contain a maximum of 30 views.", +"flatPath": "v2/{v2Id}/{v2Id1}/locations/{locationsId}/buckets/{bucketsId}/views", +"httpMethod": "POST", +"id": "logging.locations.buckets.views.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The bucket in which to create the view `\"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\"` For example:\"projects/my-project/locations/global/buckets/my-bucket\"", +"location": "path", +"pattern": "^[^/]+/[^/]+/locations/[^/]+/buckets/[^/]+$", +"required": true, +"type": "string" +}, +"viewId": { +"description": "Required. A client-assigned identifier such as \"my-view\". Identifiers are limited to 100 characters and can include only letters, digits, underscores, and hyphens.", +"location": "query", +"type": "string" +} +}, +"path": "v2/{+parent}/views", +"request": { +"$ref": "LogView" +}, +"response": { +"$ref": "LogView" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/logging.admin" +] +}, +"delete": { +"description": "Deletes a view on a log bucket. If an UNAVAILABLE error is returned, this indicates that system is not in a state where it can delete the view. If this occurs, please try again in a few minutes.", +"flatPath": "v2/{v2Id}/{v2Id1}/locations/{locationsId}/buckets/{bucketsId}/views/{viewsId}", +"httpMethod": "DELETE", +"id": "logging.locations.buckets.views.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The full resource name of the view to delete: \"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]\" For example:\"projects/my-project/locations/global/buckets/my-bucket/views/my-view\"", +"location": "path", +"pattern": "^[^/]+/[^/]+/locations/[^/]+/buckets/[^/]+/views/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+name}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/logging.admin" +] +}, +"get": { +"description": "Gets a view on a log bucket.", +"flatPath": "v2/{v2Id}/{v2Id1}/locations/{locationsId}/buckets/{bucketsId}/views/{viewsId}", +"httpMethod": "GET", +"id": "logging.locations.buckets.views.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the policy: \"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]\" For example:\"projects/my-project/locations/global/buckets/my-bucket/views/my-view\"", +"location": "path", +"pattern": "^[^/]+/[^/]+/locations/[^/]+/buckets/[^/]+/views/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+name}", +"response": { +"$ref": "LogView" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only", +"https://www.googleapis.com/auth/logging.admin", +"https://www.googleapis.com/auth/logging.read" +] +}, +"getIamPolicy": { +"description": "Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.", +"flatPath": "v2/{v2Id}/{v2Id1}/locations/{locationsId}/buckets/{bucketsId}/views/{viewsId}:getIamPolicy", +"httpMethod": "POST", +"id": "logging.locations.buckets.views.getIamPolicy", +"parameterOrder": [ +"resource" +], +"parameters": { +"resource": { +"description": "REQUIRED: The resource for which the policy is being requested. See Resource names (https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", +"location": "path", +"pattern": "^[^/]+/[^/]+/locations/[^/]+/buckets/[^/]+/views/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+resource}:getIamPolicy", +"request": { +"$ref": "GetIamPolicyRequest" +}, +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only", +"https://www.googleapis.com/auth/logging.admin", +"https://www.googleapis.com/auth/logging.read" +] +}, +"list": { +"description": "Lists views on a log bucket.", +"flatPath": "v2/{v2Id}/{v2Id1}/locations/{locationsId}/buckets/{bucketsId}/views", +"httpMethod": "GET", +"id": "logging.locations.buckets.views.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "Optional. The maximum number of results to return from this request.Non-positive values are ignored. The presence of nextPageToken in the response indicates that more results might be available.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. If present, then retrieve the next batch of results from the preceding call to this method. pageToken must be the value of nextPageToken from the previous response. The values of other method parameters should be identical to those in the previous call.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The bucket whose views are to be listed: \"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" ", +"location": "path", +"pattern": "^[^/]+/[^/]+/locations/[^/]+/buckets/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+parent}/views", +"response": { +"$ref": "ListViewsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only", +"https://www.googleapis.com/auth/logging.admin", +"https://www.googleapis.com/auth/logging.read" +] +}, +"patch": { +"description": "Updates a view on a log bucket. This method replaces the value of the filter field from the existing view with the corresponding value from the new view. If an UNAVAILABLE error is returned, this indicates that system is not in a state where it can update the view. If this occurs, please try again in a few minutes.", +"flatPath": "v2/{v2Id}/{v2Id1}/locations/{locationsId}/buckets/{bucketsId}/views/{viewsId}", +"httpMethod": "PATCH", +"id": "logging.locations.buckets.views.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The full resource name of the view to update \"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]\" For example:\"projects/my-project/locations/global/buckets/my-bucket/views/my-view\"", +"location": "path", +"pattern": "^[^/]+/[^/]+/locations/[^/]+/buckets/[^/]+/views/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Optional. Field mask that specifies the fields in view that need an update. A field will be overwritten if, and only if, it is in the update mask. name and output only fields cannot be updated.For a detailed FieldMask definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.FieldMaskFor example: updateMask=filter", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v2/{+name}", +"request": { +"$ref": "LogView" +}, +"response": { +"$ref": "LogView" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/logging.admin" +] +}, +"setIamPolicy": { +"description": "Sets the access control policy on the specified resource. Replaces any existing policy.Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED errors.", +"flatPath": "v2/{v2Id}/{v2Id1}/locations/{locationsId}/buckets/{bucketsId}/views/{viewsId}:setIamPolicy", +"httpMethod": "POST", +"id": "logging.locations.buckets.views.setIamPolicy", +"parameterOrder": [ +"resource" +], +"parameters": { +"resource": { +"description": "REQUIRED: The resource for which the policy is being specified. See Resource names (https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", +"location": "path", +"pattern": "^[^/]+/[^/]+/locations/[^/]+/buckets/[^/]+/views/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+resource}:setIamPolicy", +"request": { +"$ref": "SetIamPolicyRequest" +}, +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/logging.admin" +] +}, +"testIamPermissions": { +"description": "Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a NOT_FOUND error.Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may \"fail open\" without warning.", +"flatPath": "v2/{v2Id}/{v2Id1}/locations/{locationsId}/buckets/{bucketsId}/views/{viewsId}:testIamPermissions", +"httpMethod": "POST", +"id": "logging.locations.buckets.views.testIamPermissions", +"parameterOrder": [ +"resource" +], +"parameters": { +"resource": { +"description": "REQUIRED: The resource for which the policy detail is being requested. See Resource names (https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", +"location": "path", +"pattern": "^[^/]+/[^/]+/locations/[^/]+/buckets/[^/]+/views/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+resource}:testIamPermissions", +"request": { +"$ref": "TestIamPermissionsRequest" +}, +"response": { +"$ref": "TestIamPermissionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only", +"https://www.googleapis.com/auth/logging.admin", +"https://www.googleapis.com/auth/logging.read" +] +} +} +} +} +}, +"operations": { +"methods": { +"cancel": { +"description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns google.rpc.Code.UNIMPLEMENTED. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of 1, corresponding to Code.CANCELLED.", +"flatPath": "v2/{v2Id}/{v2Id1}/locations/{locationsId}/operations/{operationsId}:cancel", +"httpMethod": "POST", +"id": "logging.locations.operations.cancel", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be cancelled.", +"location": "path", +"pattern": "^[^/]+/[^/]+/locations/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+name}:cancel", +"request": { +"$ref": "CancelOperationRequest" +}, +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/logging.admin" +] +}, +"get": { +"description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", +"flatPath": "v2/{v2Id}/{v2Id1}/locations/{locationsId}/operations/{operationsId}", +"httpMethod": "GET", +"id": "logging.locations.operations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource.", +"location": "path", +"pattern": "^[^/]+/[^/]+/locations/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only", +"https://www.googleapis.com/auth/logging.admin", +"https://www.googleapis.com/auth/logging.read" +] +}, +"list": { +"description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns UNIMPLEMENTED.", +"flatPath": "v2/{v2Id}/{v2Id1}/locations/{locationsId}/operations", +"httpMethod": "GET", +"id": "logging.locations.operations.list", +"parameterOrder": [ +"name" +], +"parameters": { +"filter": { +"description": "The standard list filter.", +"location": "query", +"type": "string" +}, +"name": { +"description": "The name of the operation's parent resource.", +"location": "path", +"pattern": "^[^/]+/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The standard list page size.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The standard list page token.", +"location": "query", +"type": "string" +}, +"returnPartialSuccess": { +"description": "When set to true, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field.This can only be true when reading across collections. For example, when parent is set to \"projects/example/locations/-\".This field is not supported by default and will result in an UNIMPLEMENTED error if set unless explicitly documented otherwise in service or product specific documentation.", +"location": "query", +"type": "boolean" +} +}, +"path": "v2/{+name}/operations", +"response": { +"$ref": "ListOperationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only", +"https://www.googleapis.com/auth/logging.admin", +"https://www.googleapis.com/auth/logging.read" +] +} +} +} +} +}, +"logs": { +"methods": { +"delete": { +"description": "Deletes all the log entries in a log for the global _Default Log Bucket. The log reappears if it receives new entries. Log entries written shortly before the delete operation might not be deleted. Entries received after the delete operation with a timestamp before the operation will be deleted.", +"flatPath": "v2/{v2Id}/{v2Id1}/logs/{logsId}", +"httpMethod": "DELETE", +"id": "logging.logs.delete", +"parameterOrder": [ +"logName" +], +"parameters": { +"logName": { +"description": "Required. The resource name of the log to delete: projects/[PROJECT_ID]/logs/[LOG_ID] organizations/[ORGANIZATION_ID]/logs/[LOG_ID] billingAccounts/[BILLING_ACCOUNT_ID]/logs/[LOG_ID] folders/[FOLDER_ID]/logs/[LOG_ID][LOG_ID] must be URL-encoded. For example, \"projects/my-project-id/logs/syslog\", \"organizations/123/logs/cloudaudit.googleapis.com%2Factivity\".For more information about log names, see LogEntry.", +"location": "path", +"pattern": "^[^/]+/[^/]+/logs/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+logName}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/logging.admin" +] +}, +"list": { +"description": "Lists the logs in projects, organizations, folders, or billing accounts. Only logs that have entries are listed.", +"flatPath": "v2/{v2Id}/{v2Id1}/logs", +"httpMethod": "GET", +"id": "logging.logs.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "Optional. The maximum number of results to return from this request. Non-positive values are ignored. The presence of nextPageToken in the response indicates that more results might be available.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. If present, then retrieve the next batch of results from the preceding call to this method. pageToken must be the value of nextPageToken from the previous response. The values of other method parameters should be identical to those in the previous call.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The resource name to list logs for: projects/[PROJECT_ID] organizations/[ORGANIZATION_ID] billingAccounts/[BILLING_ACCOUNT_ID] folders/[FOLDER_ID]", +"location": "path", +"pattern": "^[^/]+/[^/]+$", +"required": true, +"type": "string" +}, +"resourceNames": { +"description": "Optional. List of resource names to list logs for: projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID] organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID] billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID] folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]To support legacy queries, it could also be: projects/[PROJECT_ID] organizations/[ORGANIZATION_ID] billingAccounts/[BILLING_ACCOUNT_ID] folders/[FOLDER_ID]The resource name in the parent field is added to this list.", +"location": "query", +"repeated": true, +"type": "string" +} +}, +"path": "v2/{+parent}/logs", +"response": { +"$ref": "ListLogsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only", +"https://www.googleapis.com/auth/logging.admin", +"https://www.googleapis.com/auth/logging.read" +] +} +} +}, +"monitoredResourceDescriptors": { +"methods": { +"list": { +"description": "Lists the descriptors for monitored resource types used by Logging.", +"flatPath": "v2/monitoredResourceDescriptors", +"httpMethod": "GET", +"id": "logging.monitoredResourceDescriptors.list", +"parameterOrder": [], +"parameters": { +"pageSize": { +"description": "Optional. The maximum number of results to return from this request. Non-positive values are ignored. The presence of nextPageToken in the response indicates that more results might be available.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. If present, then retrieve the next batch of results from the preceding call to this method. pageToken must be the value of nextPageToken from the previous response. The values of other method parameters should be identical to those in the previous call.", +"location": "query", +"type": "string" +} +}, +"path": "v2/monitoredResourceDescriptors", +"response": { +"$ref": "ListMonitoredResourceDescriptorsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only", +"https://www.googleapis.com/auth/logging.admin", +"https://www.googleapis.com/auth/logging.read" +] +} +} +}, +"organizations": { +"methods": { +"getCmekSettings": { +"description": "Gets the Logging CMEK settings for the given resource.Note: CMEK for the Log Router can be configured for Google Cloud projects, folders, organizations, and billing accounts. Once configured for an organization, it applies to all projects and folders in the Google Cloud organization.See Configure CMEK for Cloud Logging (https://docs.cloud.google.com/logging/docs/routing/managed-encryption) for more information.", +"flatPath": "v2/organizations/{organizationsId}/cmekSettings", +"httpMethod": "GET", +"id": "logging.organizations.getCmekSettings", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource for which to retrieve CMEK settings. \"projects/[PROJECT_ID]/cmekSettings\" \"organizations/[ORGANIZATION_ID]/cmekSettings\" \"billingAccounts/[BILLING_ACCOUNT_ID]/cmekSettings\" \"folders/[FOLDER_ID]/cmekSettings\" For example:\"organizations/12345/cmekSettings\"Note: CMEK for the Log Router can be configured for Google Cloud projects, folders, organizations, and billing accounts. Once configured for an organization, it applies to all projects and folders in the Google Cloud organization.", +"location": "path", +"pattern": "^organizations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+name}/cmekSettings", +"response": { +"$ref": "CmekSettings" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only", +"https://www.googleapis.com/auth/logging.admin", +"https://www.googleapis.com/auth/logging.read" +] +}, +"getSettings": { +"description": "Gets the settings for the given resource.Note: Settings can be retrieved for Google Cloud projects, folders, organizations, and billing accounts.See View default resource settings for Logging (https://docs.cloud.google.com/logging/docs/default-settings#view-org-settings) for more information.", +"flatPath": "v2/organizations/{organizationsId}/settings", +"httpMethod": "GET", +"id": "logging.organizations.getSettings", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource for which to retrieve settings. \"projects/[PROJECT_ID]/settings\" \"organizations/[ORGANIZATION_ID]/settings\" \"billingAccounts/[BILLING_ACCOUNT_ID]/settings\" \"folders/[FOLDER_ID]/settings\" For example:\"organizations/12345/settings\"Note: Settings can be retrieved for Google Cloud projects, folders, organizations, and billing accounts.", +"location": "path", +"pattern": "^organizations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+name}/settings", +"response": { +"$ref": "Settings" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only", +"https://www.googleapis.com/auth/logging.admin", +"https://www.googleapis.com/auth/logging.read" +] +}, +"updateCmekSettings": { +"description": "Updates the Log Router CMEK settings for the given resource.Note: CMEK for the Log Router can currently only be configured for Google Cloud organizations. Once configured, it applies to all projects and folders in the Google Cloud organization.UpdateCmekSettings fails when any of the following are true: The value of kms_key_name is invalid. The associated service account doesn't have the required roles/cloudkms.cryptoKeyEncrypterDecrypter role assigned for the key. Access to the key is disabled.See Configure CMEK for Cloud Logging (https://docs.cloud.google.com/logging/docs/routing/managed-encryption) for more information.", +"flatPath": "v2/organizations/{organizationsId}/cmekSettings", +"httpMethod": "PATCH", +"id": "logging.organizations.updateCmekSettings", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name for the CMEK settings to update. \"projects/[PROJECT_ID]/cmekSettings\" \"organizations/[ORGANIZATION_ID]/cmekSettings\" \"billingAccounts/[BILLING_ACCOUNT_ID]/cmekSettings\" \"folders/[FOLDER_ID]/cmekSettings\" For example:\"organizations/12345/cmekSettings\"Note: CMEK for the Log Router can currently only be configured for Google Cloud organizations. Once configured, it applies to all projects and folders in the Google Cloud organization.", +"location": "path", +"pattern": "^organizations/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Optional. Field mask identifying which fields from cmek_settings should be updated. A field will be overwritten if and only if it is in the update mask. Output only fields cannot be updated.See FieldMask for more information.For example: \"updateMask=kmsKeyName\"", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v2/{+name}/cmekSettings", +"request": { +"$ref": "CmekSettings" +}, +"response": { +"$ref": "CmekSettings" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/logging.admin" +] +}, +"updateSettings": { +"description": "Updates the settings for the given resource. This method applies to all feature configurations for organization and folders.UpdateSettings fails when any of the following are true: The value of storage_location either isn't supported by Logging or violates the location OrgPolicy. The default_sink_config field is set, but it has an unspecified filter write mode. The value of kms_key_name is invalid. The associated service account doesn't have the required roles/cloudkms.cryptoKeyEncrypterDecrypter role assigned for the key. Access to the key is disabled.See Configure default settings for organizations and folders (https://docs.cloud.google.com/logging/docs/default-settings) for more information.", +"flatPath": "v2/organizations/{organizationsId}/settings", +"httpMethod": "PATCH", +"id": "logging.organizations.updateSettings", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name for the settings to update. \"organizations/[ORGANIZATION_ID]/settings\" \"folders/[FOLDER_ID]/settings\" For example:\"organizations/12345/settings\"", +"location": "path", +"pattern": "^organizations/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Optional. Field mask identifying which fields from settings should be updated. A field will be overwritten if and only if it is in the update mask. Output only fields cannot be updated.See FieldMask for more information.For example: \"updateMask=kmsKeyName\"", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v2/{+name}/settings", +"request": { +"$ref": "Settings" +}, +"response": { +"$ref": "Settings" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/logging.admin" +] +} +}, +"resources": { +"exclusions": { +"methods": { +"create": { +"description": "Creates a new exclusion in the _Default sink in a specified parent resource. Only log entries belonging to that resource can be excluded. You can have up to 10 exclusions in a resource.", +"flatPath": "v2/organizations/{organizationsId}/exclusions", +"httpMethod": "POST", +"id": "logging.organizations.exclusions.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The parent resource in which to create the exclusion: \"projects/[PROJECT_ID]\" \"organizations/[ORGANIZATION_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]\" \"folders/[FOLDER_ID]\" For examples:\"projects/my-logging-project\" \"organizations/123456789\"", +"location": "path", +"pattern": "^organizations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+parent}/exclusions", +"request": { +"$ref": "LogExclusion" +}, +"response": { +"$ref": "LogExclusion" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/logging.admin" +] +}, +"delete": { +"description": "Deletes an exclusion in the _Default sink.", +"flatPath": "v2/organizations/{organizationsId}/exclusions/{exclusionsId}", +"httpMethod": "DELETE", +"id": "logging.organizations.exclusions.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of an existing exclusion to delete: \"projects/[PROJECT_ID]/exclusions/[EXCLUSION_ID]\" \"organizations/[ORGANIZATION_ID]/exclusions/[EXCLUSION_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]/exclusions/[EXCLUSION_ID]\" \"folders/[FOLDER_ID]/exclusions/[EXCLUSION_ID]\" For example:\"projects/my-project/exclusions/my-exclusion\"", +"location": "path", +"pattern": "^organizations/[^/]+/exclusions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+name}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/logging.admin" +] +}, +"get": { +"description": "Gets the description of an exclusion in the _Default sink.", +"flatPath": "v2/organizations/{organizationsId}/exclusions/{exclusionsId}", +"httpMethod": "GET", +"id": "logging.organizations.exclusions.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of an existing exclusion: \"projects/[PROJECT_ID]/exclusions/[EXCLUSION_ID]\" \"organizations/[ORGANIZATION_ID]/exclusions/[EXCLUSION_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]/exclusions/[EXCLUSION_ID]\" \"folders/[FOLDER_ID]/exclusions/[EXCLUSION_ID]\" For example:\"projects/my-project/exclusions/my-exclusion\"", +"location": "path", +"pattern": "^organizations/[^/]+/exclusions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+name}", +"response": { +"$ref": "LogExclusion" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only", +"https://www.googleapis.com/auth/logging.admin", +"https://www.googleapis.com/auth/logging.read" +] +}, +"list": { +"description": "Lists all the exclusions on the _Default sink in a parent resource.", +"flatPath": "v2/organizations/{organizationsId}/exclusions", +"httpMethod": "GET", +"id": "logging.organizations.exclusions.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "Optional. The maximum number of results to return from this request. Non-positive values are ignored. The presence of nextPageToken in the response indicates that more results might be available.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. If present, then retrieve the next batch of results from the preceding call to this method. pageToken must be the value of nextPageToken from the previous response. The values of other method parameters should be identical to those in the previous call.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent resource whose exclusions are to be listed. \"projects/[PROJECT_ID]\" \"organizations/[ORGANIZATION_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]\" \"folders/[FOLDER_ID]\" ", +"location": "path", +"pattern": "^organizations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+parent}/exclusions", +"response": { +"$ref": "ListExclusionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only", +"https://www.googleapis.com/auth/logging.admin", +"https://www.googleapis.com/auth/logging.read" +] +}, +"patch": { +"description": "Changes one or more properties of an existing exclusion in the _Default sink.", +"flatPath": "v2/organizations/{organizationsId}/exclusions/{exclusionsId}", +"httpMethod": "PATCH", +"id": "logging.organizations.exclusions.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the exclusion to update: \"projects/[PROJECT_ID]/exclusions/[EXCLUSION_ID]\" \"organizations/[ORGANIZATION_ID]/exclusions/[EXCLUSION_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]/exclusions/[EXCLUSION_ID]\" \"folders/[FOLDER_ID]/exclusions/[EXCLUSION_ID]\" For example:\"projects/my-project/exclusions/my-exclusion\"", +"location": "path", +"pattern": "^organizations/[^/]+/exclusions/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Required. A non-empty list of fields to change in the existing exclusion. New values for the fields are taken from the corresponding fields in the LogExclusion included in this request. Fields not mentioned in update_mask are not changed and are ignored in the request.For example, to change the filter and description of an exclusion, specify an update_mask of \"filter,description\".", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v2/{+name}", +"request": { +"$ref": "LogExclusion" +}, +"response": { +"$ref": "LogExclusion" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/logging.admin" +] +} +} +}, +"locations": { +"methods": { +"get": { +"description": "Gets information about a location.", +"flatPath": "v2/organizations/{organizationsId}/locations/{locationsId}", +"httpMethod": "GET", +"id": "logging.organizations.locations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Resource name for the location.", +"location": "path", +"pattern": "^organizations/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+name}", +"response": { +"$ref": "Location" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only", +"https://www.googleapis.com/auth/logging.admin", +"https://www.googleapis.com/auth/logging.read" +] +}, +"list": { +"description": "Lists information about the supported locations for this service. This method can be called in two ways: List all public locations: Use the path GET /v1/locations. List project-visible locations: Use the path GET /v1/projects/{project_id}/locations. This may include public locations as well as private or other locations specifically visible to the project.", +"flatPath": "v2/organizations/{organizationsId}/locations", +"httpMethod": "GET", +"id": "logging.organizations.locations.list", +"parameterOrder": [ +"name" +], +"parameters": { +"extraLocationTypes": { +"description": "Optional. Do not use this field. It is unsupported and is ignored unless explicitly documented otherwise. This is primarily for internal usage.", +"location": "query", +"repeated": true, +"type": "string" +}, +"filter": { +"description": "A filter to narrow down results to a preferred subset. The filtering language accepts strings like \"displayName=tokyo\", and is documented in more detail in AIP-160 (https://google.aip.dev/160).", +"location": "query", +"type": "string" +}, +"name": { +"description": "The resource that owns the locations collection, if applicable.", +"location": "path", +"pattern": "^organizations/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The maximum number of results to return. If not set, the service selects a default.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A page token received from the next_page_token field in the response. Send that page token to receive the subsequent page.", +"location": "query", +"type": "string" +} +}, +"path": "v2/{+name}/locations", +"response": { +"$ref": "ListLocationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only", +"https://www.googleapis.com/auth/logging.admin", +"https://www.googleapis.com/auth/logging.read" +] +} +}, +"resources": { +"buckets": { +"methods": { +"create": { +"description": "Creates a log bucket that can be used to store log entries. After a bucket has been created, the bucket's location cannot be changed.", +"flatPath": "v2/organizations/{organizationsId}/locations/{locationsId}/buckets", +"httpMethod": "POST", +"id": "logging.organizations.locations.buckets.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"bucketId": { +"description": "Required. A client-assigned identifier such as \"my-bucket\". Identifiers are limited to 100 characters and can include only letters, digits, underscores, hyphens, and periods. Bucket identifiers must start with an alphanumeric character.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The resource in which to create the log bucket: \"projects/[PROJECT_ID]/locations/[LOCATION_ID]\" For example:\"projects/my-project/locations/global\"", +"location": "path", +"pattern": "^organizations/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+parent}/buckets", +"request": { +"$ref": "LogBucket" +}, +"response": { +"$ref": "LogBucket" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/logging.admin" +] +}, +"createAsync": { +"description": "Creates a log bucket asynchronously that can be used to store log entries.After a bucket has been created, the bucket's location cannot be changed.", +"flatPath": "v2/organizations/{organizationsId}/locations/{locationsId}/buckets:createAsync", +"httpMethod": "POST", +"id": "logging.organizations.locations.buckets.createAsync", +"parameterOrder": [ +"parent" +], +"parameters": { +"bucketId": { +"description": "Required. A client-assigned identifier such as \"my-bucket\". Identifiers are limited to 100 characters and can include only letters, digits, underscores, hyphens, and periods. Bucket identifiers must start with an alphanumeric character.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The resource in which to create the log bucket: \"projects/[PROJECT_ID]/locations/[LOCATION_ID]\" For example:\"projects/my-project/locations/global\"", +"location": "path", +"pattern": "^organizations/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+parent}/buckets:createAsync", +"request": { +"$ref": "LogBucket" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/logging.admin" +] +}, +"delete": { +"description": "Deletes a log bucket.Changes the bucket's lifecycle_state to the DELETE_REQUESTED state. After 7 days, the bucket will be purged and all log entries in the bucket will be permanently deleted.", +"flatPath": "v2/organizations/{organizationsId}/locations/{locationsId}/buckets/{bucketsId}", +"httpMethod": "DELETE", +"id": "logging.organizations.locations.buckets.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The full resource name of the bucket to delete. \"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" \"organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" \"folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" For example:\"projects/my-project/locations/global/buckets/my-bucket\"", +"location": "path", +"pattern": "^organizations/[^/]+/locations/[^/]+/buckets/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+name}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/logging.admin" +] +}, +"get": { +"description": "Gets a log bucket.", +"flatPath": "v2/organizations/{organizationsId}/locations/{locationsId}/buckets/{bucketsId}", +"httpMethod": "GET", +"id": "logging.organizations.locations.buckets.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the bucket: \"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" \"organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" \"folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" For example:\"projects/my-project/locations/global/buckets/my-bucket\"", +"location": "path", +"pattern": "^organizations/[^/]+/locations/[^/]+/buckets/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+name}", +"response": { +"$ref": "LogBucket" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only", +"https://www.googleapis.com/auth/logging.admin", +"https://www.googleapis.com/auth/logging.read" +] +}, +"list": { +"description": "Lists log buckets.", +"flatPath": "v2/organizations/{organizationsId}/locations/{locationsId}/buckets", +"httpMethod": "GET", +"id": "logging.organizations.locations.buckets.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "Optional. The maximum number of results to return from this request. Non-positive values are ignored. The presence of nextPageToken in the response indicates that more results might be available.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. If present, then retrieve the next batch of results from the preceding call to this method. pageToken must be the value of nextPageToken from the previous response. The values of other method parameters should be identical to those in the previous call.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent resource whose buckets are to be listed: \"projects/[PROJECT_ID]/locations/[LOCATION_ID]\" \"organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]\" \"folders/[FOLDER_ID]/locations/[LOCATION_ID]\" Note: The locations portion of the resource must be specified, but supplying the character - in place of LOCATION_ID will return all buckets.", +"location": "path", +"pattern": "^organizations/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+parent}/buckets", +"response": { +"$ref": "ListBucketsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only", +"https://www.googleapis.com/auth/logging.admin", +"https://www.googleapis.com/auth/logging.read" +] +}, +"patch": { +"description": "Updates a log bucket.If the bucket has a lifecycle_state of DELETE_REQUESTED, then FAILED_PRECONDITION will be returned.After a bucket has been created, the bucket's location cannot be changed.", +"flatPath": "v2/organizations/{organizationsId}/locations/{locationsId}/buckets/{bucketsId}", +"httpMethod": "PATCH", +"id": "logging.organizations.locations.buckets.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The full resource name of the bucket to update. \"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" \"organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" \"folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" For example:\"projects/my-project/locations/global/buckets/my-bucket\"", +"location": "path", +"pattern": "^organizations/[^/]+/locations/[^/]+/buckets/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Required. Field mask that specifies the fields in bucket that need an update. A bucket field will be overwritten if, and only if, it is in the update mask. name and output only fields cannot be updated.For a detailed FieldMask definition, see: https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.FieldMaskFor example: updateMask=retention_days", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v2/{+name}", +"request": { +"$ref": "LogBucket" +}, +"response": { +"$ref": "LogBucket" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/logging.admin" +] +}, +"undelete": { +"description": "Undeletes a log bucket. A bucket that has been deleted can be undeleted within the grace period of 7 days.", +"flatPath": "v2/organizations/{organizationsId}/locations/{locationsId}/buckets/{bucketsId}:undelete", +"httpMethod": "POST", +"id": "logging.organizations.locations.buckets.undelete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The full resource name of the bucket to undelete. \"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" \"organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" \"folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" For example:\"projects/my-project/locations/global/buckets/my-bucket\"", +"location": "path", +"pattern": "^organizations/[^/]+/locations/[^/]+/buckets/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+name}:undelete", +"request": { +"$ref": "UndeleteBucketRequest" +}, +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/logging.admin" +] +}, +"updateAsync": { +"description": "Updates a log bucket asynchronously.If the bucket has a lifecycle_state of DELETE_REQUESTED, then FAILED_PRECONDITION will be returned.After a bucket has been created, the bucket's location cannot be changed.", +"flatPath": "v2/organizations/{organizationsId}/locations/{locationsId}/buckets/{bucketsId}:updateAsync", +"httpMethod": "POST", +"id": "logging.organizations.locations.buckets.updateAsync", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The full resource name of the bucket to update. \"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" \"organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" \"folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" For example:\"projects/my-project/locations/global/buckets/my-bucket\"", +"location": "path", +"pattern": "^organizations/[^/]+/locations/[^/]+/buckets/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Required. Field mask that specifies the fields in bucket that need an update. A bucket field will be overwritten if, and only if, it is in the update mask. name and output only fields cannot be updated.For a detailed FieldMask definition, see: https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.FieldMaskFor example: updateMask=retention_days", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v2/{+name}:updateAsync", +"request": { +"$ref": "LogBucket" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/logging.admin" +] +} +}, +"resources": { +"links": { +"methods": { +"create": { +"description": "Asynchronously creates a linked dataset in BigQuery which makes it possible to use BigQuery to read the logs stored in the log bucket. A log bucket may currently only contain one link.", +"flatPath": "v2/organizations/{organizationsId}/locations/{locationsId}/buckets/{bucketsId}/links", +"httpMethod": "POST", +"id": "logging.organizations.locations.buckets.links.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"linkId": { +"description": "Required. The ID to use for the link. The link_id can have up to 100 characters. A valid link_id must only have alphanumeric characters and underscores within it.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The full resource name of the bucket to create a link for. \"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" ", +"location": "path", +"pattern": "^organizations/[^/]+/locations/[^/]+/buckets/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+parent}/links", +"request": { +"$ref": "Link" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/logging.admin" +] +}, +"delete": { +"description": "Deletes a link. This will also delete the corresponding BigQuery linked dataset.", +"flatPath": "v2/organizations/{organizationsId}/locations/{locationsId}/buckets/{bucketsId}/links/{linksId}", +"httpMethod": "DELETE", +"id": "logging.organizations.locations.buckets.links.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The full resource name of the link to delete. \"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]\" \"organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]\" \"folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]\" ", +"location": "path", +"pattern": "^organizations/[^/]+/locations/[^/]+/buckets/[^/]+/links/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/logging.admin" +] +}, +"get": { +"description": "Gets a link.", +"flatPath": "v2/organizations/{organizationsId}/locations/{locationsId}/buckets/{bucketsId}/links/{linksId}", +"httpMethod": "GET", +"id": "logging.organizations.locations.buckets.links.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the link: \"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]\" \"organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]\" \"folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]\" ", +"location": "path", +"pattern": "^organizations/[^/]+/locations/[^/]+/buckets/[^/]+/links/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+name}", +"response": { +"$ref": "Link" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only", +"https://www.googleapis.com/auth/logging.admin", +"https://www.googleapis.com/auth/logging.read" +] +}, +"list": { +"description": "Lists links.", +"flatPath": "v2/organizations/{organizationsId}/locations/{locationsId}/buckets/{bucketsId}/links", +"httpMethod": "GET", +"id": "logging.organizations.locations.buckets.links.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "Optional. The maximum number of results to return from this request.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. If present, then retrieve the next batch of results from the preceding call to this method. pageToken must be the value of nextPageToken from the previous response.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent resource whose links are to be listed: \"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" \"organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" \"folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" ", +"location": "path", +"pattern": "^organizations/[^/]+/locations/[^/]+/buckets/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+parent}/links", +"response": { +"$ref": "ListLinksResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only", +"https://www.googleapis.com/auth/logging.admin", +"https://www.googleapis.com/auth/logging.read" +] +} +} +}, +"views": { +"methods": { +"create": { +"description": "Creates a view over log entries in a log bucket. A bucket may contain a maximum of 30 views.", +"flatPath": "v2/organizations/{organizationsId}/locations/{locationsId}/buckets/{bucketsId}/views", +"httpMethod": "POST", +"id": "logging.organizations.locations.buckets.views.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The bucket in which to create the view `\"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\"` For example:\"projects/my-project/locations/global/buckets/my-bucket\"", +"location": "path", +"pattern": "^organizations/[^/]+/locations/[^/]+/buckets/[^/]+$", +"required": true, +"type": "string" +}, +"viewId": { +"description": "Required. A client-assigned identifier such as \"my-view\". Identifiers are limited to 100 characters and can include only letters, digits, underscores, and hyphens.", +"location": "query", +"type": "string" +} +}, +"path": "v2/{+parent}/views", +"request": { +"$ref": "LogView" +}, +"response": { +"$ref": "LogView" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/logging.admin" +] +}, +"delete": { +"description": "Deletes a view on a log bucket. If an UNAVAILABLE error is returned, this indicates that system is not in a state where it can delete the view. If this occurs, please try again in a few minutes.", +"flatPath": "v2/organizations/{organizationsId}/locations/{locationsId}/buckets/{bucketsId}/views/{viewsId}", +"httpMethod": "DELETE", +"id": "logging.organizations.locations.buckets.views.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The full resource name of the view to delete: \"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]\" For example:\"projects/my-project/locations/global/buckets/my-bucket/views/my-view\"", +"location": "path", +"pattern": "^organizations/[^/]+/locations/[^/]+/buckets/[^/]+/views/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+name}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/logging.admin" +] +}, +"get": { +"description": "Gets a view on a log bucket.", +"flatPath": "v2/organizations/{organizationsId}/locations/{locationsId}/buckets/{bucketsId}/views/{viewsId}", +"httpMethod": "GET", +"id": "logging.organizations.locations.buckets.views.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the policy: \"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]\" For example:\"projects/my-project/locations/global/buckets/my-bucket/views/my-view\"", +"location": "path", +"pattern": "^organizations/[^/]+/locations/[^/]+/buckets/[^/]+/views/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+name}", +"response": { +"$ref": "LogView" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only", +"https://www.googleapis.com/auth/logging.admin", +"https://www.googleapis.com/auth/logging.read" +] +}, +"getIamPolicy": { +"description": "Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.", +"flatPath": "v2/organizations/{organizationsId}/locations/{locationsId}/buckets/{bucketsId}/views/{viewsId}:getIamPolicy", +"httpMethod": "POST", +"id": "logging.organizations.locations.buckets.views.getIamPolicy", +"parameterOrder": [ +"resource" +], +"parameters": { +"resource": { +"description": "REQUIRED: The resource for which the policy is being requested. See Resource names (https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", +"location": "path", +"pattern": "^organizations/[^/]+/locations/[^/]+/buckets/[^/]+/views/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+resource}:getIamPolicy", +"request": { +"$ref": "GetIamPolicyRequest" +}, +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only", +"https://www.googleapis.com/auth/logging.admin", +"https://www.googleapis.com/auth/logging.read" +] +}, +"list": { +"description": "Lists views on a log bucket.", +"flatPath": "v2/organizations/{organizationsId}/locations/{locationsId}/buckets/{bucketsId}/views", +"httpMethod": "GET", +"id": "logging.organizations.locations.buckets.views.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "Optional. The maximum number of results to return from this request.Non-positive values are ignored. The presence of nextPageToken in the response indicates that more results might be available.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. If present, then retrieve the next batch of results from the preceding call to this method. pageToken must be the value of nextPageToken from the previous response. The values of other method parameters should be identical to those in the previous call.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The bucket whose views are to be listed: \"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" ", +"location": "path", +"pattern": "^organizations/[^/]+/locations/[^/]+/buckets/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+parent}/views", +"response": { +"$ref": "ListViewsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only", +"https://www.googleapis.com/auth/logging.admin", +"https://www.googleapis.com/auth/logging.read" +] +}, +"patch": { +"description": "Updates a view on a log bucket. This method replaces the value of the filter field from the existing view with the corresponding value from the new view. If an UNAVAILABLE error is returned, this indicates that system is not in a state where it can update the view. If this occurs, please try again in a few minutes.", +"flatPath": "v2/organizations/{organizationsId}/locations/{locationsId}/buckets/{bucketsId}/views/{viewsId}", +"httpMethod": "PATCH", +"id": "logging.organizations.locations.buckets.views.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The full resource name of the view to update \"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]\" For example:\"projects/my-project/locations/global/buckets/my-bucket/views/my-view\"", +"location": "path", +"pattern": "^organizations/[^/]+/locations/[^/]+/buckets/[^/]+/views/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Optional. Field mask that specifies the fields in view that need an update. A field will be overwritten if, and only if, it is in the update mask. name and output only fields cannot be updated.For a detailed FieldMask definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.FieldMaskFor example: updateMask=filter", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v2/{+name}", +"request": { +"$ref": "LogView" +}, +"response": { +"$ref": "LogView" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/logging.admin" +] +}, +"setIamPolicy": { +"description": "Sets the access control policy on the specified resource. Replaces any existing policy.Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED errors.", +"flatPath": "v2/organizations/{organizationsId}/locations/{locationsId}/buckets/{bucketsId}/views/{viewsId}:setIamPolicy", +"httpMethod": "POST", +"id": "logging.organizations.locations.buckets.views.setIamPolicy", +"parameterOrder": [ +"resource" +], +"parameters": { +"resource": { +"description": "REQUIRED: The resource for which the policy is being specified. See Resource names (https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", +"location": "path", +"pattern": "^organizations/[^/]+/locations/[^/]+/buckets/[^/]+/views/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+resource}:setIamPolicy", +"request": { +"$ref": "SetIamPolicyRequest" +}, +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/logging.admin" +] +}, +"testIamPermissions": { +"description": "Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a NOT_FOUND error.Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may \"fail open\" without warning.", +"flatPath": "v2/organizations/{organizationsId}/locations/{locationsId}/buckets/{bucketsId}/views/{viewsId}:testIamPermissions", +"httpMethod": "POST", +"id": "logging.organizations.locations.buckets.views.testIamPermissions", +"parameterOrder": [ +"resource" +], +"parameters": { +"resource": { +"description": "REQUIRED: The resource for which the policy detail is being requested. See Resource names (https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", +"location": "path", +"pattern": "^organizations/[^/]+/locations/[^/]+/buckets/[^/]+/views/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+resource}:testIamPermissions", +"request": { +"$ref": "TestIamPermissionsRequest" +}, +"response": { +"$ref": "TestIamPermissionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only", +"https://www.googleapis.com/auth/logging.admin", +"https://www.googleapis.com/auth/logging.read" +] +} +}, +"resources": { +"logs": { +"methods": { +"list": { +"description": "Lists the logs in projects, organizations, folders, or billing accounts. Only logs that have entries are listed.", +"flatPath": "v2/organizations/{organizationsId}/locations/{locationsId}/buckets/{bucketsId}/views/{viewsId}/logs", +"httpMethod": "GET", +"id": "logging.organizations.locations.buckets.views.logs.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "Optional. The maximum number of results to return from this request. Non-positive values are ignored. The presence of nextPageToken in the response indicates that more results might be available.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. If present, then retrieve the next batch of results from the preceding call to this method. pageToken must be the value of nextPageToken from the previous response. The values of other method parameters should be identical to those in the previous call.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The resource name to list logs for: projects/[PROJECT_ID] organizations/[ORGANIZATION_ID] billingAccounts/[BILLING_ACCOUNT_ID] folders/[FOLDER_ID]", +"location": "path", +"pattern": "^organizations/[^/]+/locations/[^/]+/buckets/[^/]+/views/[^/]+$", +"required": true, +"type": "string" +}, +"resourceNames": { +"description": "Optional. List of resource names to list logs for: projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID] organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID] billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID] folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]To support legacy queries, it could also be: projects/[PROJECT_ID] organizations/[ORGANIZATION_ID] billingAccounts/[BILLING_ACCOUNT_ID] folders/[FOLDER_ID]The resource name in the parent field is added to this list.", +"location": "query", +"repeated": true, +"type": "string" +} +}, +"path": "v2/{+parent}/logs", +"response": { +"$ref": "ListLogsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only", +"https://www.googleapis.com/auth/logging.admin", +"https://www.googleapis.com/auth/logging.read" +] +} +} +} +} +} +} +}, +"logScopes": { +"methods": { +"create": { +"description": "Creates a log scope.", +"flatPath": "v2/organizations/{organizationsId}/locations/{locationsId}/logScopes", +"httpMethod": "POST", +"id": "logging.organizations.locations.logScopes.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"logScopeId": { +"description": "Required. A client-assigned identifier such as \"log-scope\". Identifiers are limited to 100 characters and can include only letters, digits, underscores, hyphens, and periods. First character has to be alphanumeric.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent resource in which to create the log scope: \"projects/[PROJECT_ID]/locations/[LOCATION_ID]\" \"organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]\" \"folders/[FOLDER_ID]/locations/[LOCATION_ID]\" For example:\"projects/my-project/locations/global\"", +"location": "path", +"pattern": "^organizations/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+parent}/logScopes", +"request": { +"$ref": "LogScope" +}, +"response": { +"$ref": "LogScope" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/logging.admin" +] +}, +"delete": { +"description": "Deletes a log scope.", +"flatPath": "v2/organizations/{organizationsId}/locations/{locationsId}/logScopes/{logScopesId}", +"httpMethod": "DELETE", +"id": "logging.organizations.locations.logScopes.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the log scope to delete: \"projects/[PROJECT_ID]/locations/[LOCATION_ID]\" \"organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]\" \"folders/[FOLDER_ID]/locations/[LOCATION_ID]\" For example:\"projects/my-project/locations/global/logScopes/my-log-scope\"", +"location": "path", +"pattern": "^organizations/[^/]+/locations/[^/]+/logScopes/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+name}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/logging.admin" +] +}, +"get": { +"description": "Gets a log scope.", +"flatPath": "v2/organizations/{organizationsId}/locations/{locationsId}/logScopes/{logScopesId}", +"httpMethod": "GET", +"id": "logging.organizations.locations.logScopes.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the log scope: \"projects/[PROJECT_ID]/locations/[LOCATION_ID]\" \"organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]\" \"folders/[FOLDER_ID]/locations/[LOCATION_ID]\" For example:\"projects/my-project/locations/global/logScopes/my-log-scope\"", +"location": "path", +"pattern": "^organizations/[^/]+/locations/[^/]+/logScopes/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+name}", +"response": { +"$ref": "LogScope" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only", +"https://www.googleapis.com/auth/logging.admin", +"https://www.googleapis.com/auth/logging.read" +] +}, +"list": { +"description": "Lists log scopes.", +"flatPath": "v2/organizations/{organizationsId}/locations/{locationsId}/logScopes", +"httpMethod": "GET", +"id": "logging.organizations.locations.logScopes.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "Optional. The maximum number of results to return from this request.Non-positive values are ignored. The presence of nextPageToken in the response indicates that more results might be available.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. If present, then retrieve the next batch of results from the preceding call to this method. pageToken must be the value of nextPageToken from the previous response. The values of other method parameters should be identical to those in the previous call.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent resource whose log scopes are to be listed: \"projects/[PROJECT_ID]/locations/[LOCATION_ID]\" ", +"location": "path", +"pattern": "^organizations/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+parent}/logScopes", +"response": { +"$ref": "ListLogScopesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only", +"https://www.googleapis.com/auth/logging.admin", +"https://www.googleapis.com/auth/logging.read" +] +}, +"patch": { +"description": "Updates a log scope.", +"flatPath": "v2/organizations/{organizationsId}/locations/{locationsId}/logScopes/{logScopesId}", +"httpMethod": "PATCH", +"id": "logging.organizations.locations.logScopes.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Output only. The resource name of the log scope.Log scopes are only available in the global location. For example:projects/my-project/locations/global/logScopes/my-log-scope", +"location": "path", +"pattern": "^organizations/[^/]+/locations/[^/]+/logScopes/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Optional. Field mask that specifies the fields in log_scope that need an update. A field will be overwritten if, and only if, it is in the update mask. name and output only fields cannot be updated.For a detailed FieldMask definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.FieldMaskFor example: updateMask=description", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v2/{+name}", +"request": { +"$ref": "LogScope" +}, +"response": { +"$ref": "LogScope" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/logging.admin" +] +} +} +}, +"operations": { +"methods": { +"cancel": { +"description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns google.rpc.Code.UNIMPLEMENTED. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of 1, corresponding to Code.CANCELLED.", +"flatPath": "v2/organizations/{organizationsId}/locations/{locationsId}/operations/{operationsId}:cancel", +"httpMethod": "POST", +"id": "logging.organizations.locations.operations.cancel", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be cancelled.", +"location": "path", +"pattern": "^organizations/[^/]+/locations/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+name}:cancel", +"request": { +"$ref": "CancelOperationRequest" +}, +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/logging.admin" +] +}, +"get": { +"description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", +"flatPath": "v2/organizations/{organizationsId}/locations/{locationsId}/operations/{operationsId}", +"httpMethod": "GET", +"id": "logging.organizations.locations.operations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource.", +"location": "path", +"pattern": "^organizations/[^/]+/locations/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only", +"https://www.googleapis.com/auth/logging.admin", +"https://www.googleapis.com/auth/logging.read" +] +}, +"list": { +"description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns UNIMPLEMENTED.", +"flatPath": "v2/organizations/{organizationsId}/locations/{locationsId}/operations", +"httpMethod": "GET", +"id": "logging.organizations.locations.operations.list", +"parameterOrder": [ +"name" +], +"parameters": { +"filter": { +"description": "The standard list filter.", +"location": "query", +"type": "string" +}, +"name": { +"description": "The name of the operation's parent resource.", +"location": "path", +"pattern": "^organizations/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The standard list page size.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The standard list page token.", +"location": "query", +"type": "string" +}, +"returnPartialSuccess": { +"description": "When set to true, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field.This can only be true when reading across collections. For example, when parent is set to \"projects/example/locations/-\".This field is not supported by default and will result in an UNIMPLEMENTED error if set unless explicitly documented otherwise in service or product specific documentation.", +"location": "query", +"type": "boolean" +} +}, +"path": "v2/{+name}/operations", +"response": { +"$ref": "ListOperationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only", +"https://www.googleapis.com/auth/logging.admin", +"https://www.googleapis.com/auth/logging.read" +] +} +} +}, +"recentQueries": { +"methods": { +"list": { +"description": "Lists the RecentQueries that were created by the user making the request.", +"flatPath": "v2/organizations/{organizationsId}/locations/{locationsId}/recentQueries", +"httpMethod": "GET", +"id": "logging.organizations.locations.recentQueries.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Optional. Specifies the type (\"Logging\" or \"OpsAnalytics\") of the recent queries to list. The only valid value for this field is one of the two allowable type function calls, which are the following: type(\"Logging\") type(\"OpsAnalytics\")", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Optional. The maximum number of results to return from this request. Non-positive values are ignored. The presence of nextPageToken in the response indicates that more results might be available.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. If present, then retrieve the next batch of results from the preceding call to this method. pageToken must be the value of nextPageToken from the previous response. The values of other method parameters should be identical to those in the previous call.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The resource to which the listed queries belong. \"projects/[PROJECT_ID]/locations/[LOCATION_ID]\" \"organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]\" \"folders/[FOLDER_ID]/locations/[LOCATION_ID]\" For example:projects/my-project/locations/us-central1Note: The location portion of the resource must be specified, but supplying the character - in place of LOCATION_ID will return all recent queries.", +"location": "path", +"pattern": "^organizations/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+parent}/recentQueries", +"response": { +"$ref": "ListRecentQueriesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only", +"https://www.googleapis.com/auth/logging.admin", +"https://www.googleapis.com/auth/logging.read" +] +} +} +}, +"savedQueries": { +"methods": { +"create": { +"description": "Creates a new SavedQuery for the user making the request.", +"flatPath": "v2/organizations/{organizationsId}/locations/{locationsId}/savedQueries", +"httpMethod": "POST", +"id": "logging.organizations.locations.savedQueries.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The parent resource in which to create the saved query: \"projects/[PROJECT_ID]/locations/[LOCATION_ID]\" \"organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]\" \"folders/[FOLDER_ID]/locations/[LOCATION_ID]\" For example: \"projects/my-project/locations/global\" \"organizations/123456789/locations/us-central1\" ", +"location": "path", +"pattern": "^organizations/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +}, +"savedQueryId": { +"description": "Optional. The ID to use for the saved query, which will become the final component of the saved query's resource name.If the saved_query_id is not provided, the system will generate an alphanumeric ID.The saved_query_id is limited to 100 characters and can include only the following characters: upper and lower-case alphanumeric characters, underscores, hyphens, periods.First character has to be alphanumeric.", +"location": "query", +"type": "string" +} +}, +"path": "v2/{+parent}/savedQueries", +"request": { +"$ref": "SavedQuery" +}, +"response": { +"$ref": "SavedQuery" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/logging.admin" +] +}, +"delete": { +"description": "Deletes an existing SavedQuery that was created by the user making the request.", +"flatPath": "v2/organizations/{organizationsId}/locations/{locationsId}/savedQueries/{savedQueriesId}", +"httpMethod": "DELETE", +"id": "logging.organizations.locations.savedQueries.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The full resource name of the saved query to delete. \"projects/[PROJECT_ID]/locations/[LOCATION_ID]/savedQueries/[QUERY_ID]\" \"organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/savedQueries/[QUERY_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/savedQueries/[QUERY_ID]\" \"folders/[FOLDER_ID]/locations/[LOCATION_ID]/savedQueries/[QUERY_ID]\" For example: \"projects/my-project/locations/global/savedQueries/my-saved-query\" ", +"location": "path", +"pattern": "^organizations/[^/]+/locations/[^/]+/savedQueries/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+name}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/logging.admin" +] +}, +"get": { +"description": "Returns all data associated with the requested query.", +"flatPath": "v2/organizations/{organizationsId}/locations/{locationsId}/savedQueries/{savedQueriesId}", +"httpMethod": "GET", +"id": "logging.organizations.locations.savedQueries.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the saved query. \"projects/[PROJECT_ID]/locations/[LOCATION_ID]/savedQueries/[QUERY_ID]\" \"organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/savedQueries/[QUERY_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/savedQueries/[QUERY_ID]\" \"folders/[FOLDER_ID]/locations/[LOCATION_ID]/savedQueries/[QUERY_ID]\" For example: \"projects/my-project/locations/global/savedQueries/my-saved-query\" ", +"location": "path", +"pattern": "^organizations/[^/]+/locations/[^/]+/savedQueries/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+name}", +"response": { +"$ref": "SavedQuery" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only", +"https://www.googleapis.com/auth/logging.admin", +"https://www.googleapis.com/auth/logging.read" +] +}, +"list": { +"description": "Lists the SavedQueries that were created by the user making the request.", +"flatPath": "v2/organizations/{organizationsId}/locations/{locationsId}/savedQueries", +"httpMethod": "GET", +"id": "logging.organizations.locations.savedQueries.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Optional. Specifies the type (\"Logging\" or \"OpsAnalytics\") and the visibility (PRIVATE or SHARED) of the saved queries to list. If provided, the filter must contain either the type function or a visibility token, or both. If both are chosen, they can be placed in any order, but they must be joined by the AND operator or the empty character.The two supported type function calls are: type(\"Logging\") type(\"OpsAnalytics\")The two supported visibility tokens are: visibility = PRIVATE visibility = SHAREDFor example:type(\"Logging\") AND visibility = PRIVATE visibility=SHARED type(\"OpsAnalytics\") type(\"OpsAnalytics)\" visibility = PRIVATE visibility = SHARED", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Optional. The maximum number of results to return from this request.Non-positive values are ignored. The presence of nextPageToken in the response indicates that more results might be available.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. If present, then retrieve the next batch of results from the preceding call to this method. pageToken must be the value of nextPageToken from the previous response. The values of other method parameters should be identical to those in the previous call.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The resource to which the listed queries belong. \"projects/[PROJECT_ID]/locations/[LOCATION_ID]\" \"organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]\" \"folders/[FOLDER_ID]/locations/[LOCATION_ID]\" For example: \"projects/my-project/locations/us-central1\" Note: The locations portion of the resource must be specified. To get a list of all saved queries, a wildcard character - can be used for LOCATION_ID, for example: \"projects/my-project/locations/-\" ", +"location": "path", +"pattern": "^organizations/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+parent}/savedQueries", +"response": { +"$ref": "ListSavedQueriesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only", +"https://www.googleapis.com/auth/logging.admin", +"https://www.googleapis.com/auth/logging.read" +] +}, +"patch": { +"description": "Updates an existing SavedQuery.", +"flatPath": "v2/organizations/{organizationsId}/locations/{locationsId}/savedQueries/{savedQueriesId}", +"httpMethod": "PATCH", +"id": "logging.organizations.locations.savedQueries.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Output only. Resource name of the saved query.In the format: \"projects/[PROJECT_ID]/locations/[LOCATION_ID]/savedQueries/[QUERY_ID]\" For a list of supported locations, see Supported Regions (https://docs.cloud.google.com/logging/docs/region-support#bucket-regions)After the saved query is created, the location cannot be changed.If the user doesn't provide a QUERY_ID, the system will generate an alphanumeric ID.", +"location": "path", +"pattern": "^organizations/[^/]+/locations/[^/]+/savedQueries/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Required. A non-empty list of fields to change in the existing saved query. Fields are relative to the saved_query and new values for the fields are taken from the corresponding fields in the SavedQuery included in this request. Fields not mentioned in update_mask are not changed and are ignored in the request.To update all mutable fields, specify an update_mask of *.For example, to change the description and query filter text of a saved query, specify an update_mask of \"description, query.filter\".", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v2/{+name}", +"request": { +"$ref": "SavedQuery" +}, +"response": { +"$ref": "SavedQuery" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/logging.admin" +] +} +} +} +} +}, +"logs": { +"methods": { +"delete": { +"description": "Deletes all the log entries in a log for the global _Default Log Bucket. The log reappears if it receives new entries. Log entries written shortly before the delete operation might not be deleted. Entries received after the delete operation with a timestamp before the operation will be deleted.", +"flatPath": "v2/organizations/{organizationsId}/logs/{logsId}", +"httpMethod": "DELETE", +"id": "logging.organizations.logs.delete", +"parameterOrder": [ +"logName" +], +"parameters": { +"logName": { +"description": "Required. The resource name of the log to delete: projects/[PROJECT_ID]/logs/[LOG_ID] organizations/[ORGANIZATION_ID]/logs/[LOG_ID] billingAccounts/[BILLING_ACCOUNT_ID]/logs/[LOG_ID] folders/[FOLDER_ID]/logs/[LOG_ID][LOG_ID] must be URL-encoded. For example, \"projects/my-project-id/logs/syslog\", \"organizations/123/logs/cloudaudit.googleapis.com%2Factivity\".For more information about log names, see LogEntry.", +"location": "path", +"pattern": "^organizations/[^/]+/logs/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+logName}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/logging.admin" +] +}, +"list": { +"description": "Lists the logs in projects, organizations, folders, or billing accounts. Only logs that have entries are listed.", +"flatPath": "v2/organizations/{organizationsId}/logs", +"httpMethod": "GET", +"id": "logging.organizations.logs.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "Optional. The maximum number of results to return from this request. Non-positive values are ignored. The presence of nextPageToken in the response indicates that more results might be available.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. If present, then retrieve the next batch of results from the preceding call to this method. pageToken must be the value of nextPageToken from the previous response. The values of other method parameters should be identical to those in the previous call.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The resource name to list logs for: projects/[PROJECT_ID] organizations/[ORGANIZATION_ID] billingAccounts/[BILLING_ACCOUNT_ID] folders/[FOLDER_ID]", +"location": "path", +"pattern": "^organizations/[^/]+$", +"required": true, +"type": "string" +}, +"resourceNames": { +"description": "Optional. List of resource names to list logs for: projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID] organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID] billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID] folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]To support legacy queries, it could also be: projects/[PROJECT_ID] organizations/[ORGANIZATION_ID] billingAccounts/[BILLING_ACCOUNT_ID] folders/[FOLDER_ID]The resource name in the parent field is added to this list.", +"location": "query", +"repeated": true, +"type": "string" +} +}, +"path": "v2/{+parent}/logs", +"response": { +"$ref": "ListLogsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only", +"https://www.googleapis.com/auth/logging.admin", +"https://www.googleapis.com/auth/logging.read" +] +} +} +}, +"sinks": { +"methods": { +"create": { +"description": "Creates a sink that exports specified log entries to a destination. The export begins upon ingress, unless the sink's writer_identity is not permitted to write to the destination. A sink can export log entries only from the resource owning the sink.", +"flatPath": "v2/organizations/{organizationsId}/sinks", +"httpMethod": "POST", +"id": "logging.organizations.sinks.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"customWriterIdentity": { +"description": "Optional. The service account provided by the caller that will be used to write the log entries. The format must be serviceAccount:some@email. This field can only be specified when you are routing logs to a log bucket that is in a different project than the sink. When not specified, a Logging service account will automatically be generated.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The resource in which to create the sink: \"projects/[PROJECT_ID]\" \"organizations/[ORGANIZATION_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]\" \"folders/[FOLDER_ID]\" For examples:\"projects/my-project\" \"organizations/123456789\"", +"location": "path", +"pattern": "^organizations/[^/]+$", +"required": true, +"type": "string" +}, +"uniqueWriterIdentity": { +"description": "Optional. Determines the kind of IAM identity returned as writer_identity in the new sink. If this value is omitted or set to false, and if the sink's parent is a project, then the value returned as writer_identity is the same group or service account used by Cloud Logging before the addition of writer identities to this API. The sink's destination must be in the same project as the sink itself.If this field is set to true, or if the sink is owned by a non-project resource such as an organization, then the value of writer_identity will be a service agent (https://docs.cloud.google.com/iam/docs/service-account-types#service-agents) used by the sinks with the same parent. For more information, see writer_identity in LogSink.", +"location": "query", +"type": "boolean" +} +}, +"path": "v2/{+parent}/sinks", +"request": { +"$ref": "LogSink" +}, +"response": { +"$ref": "LogSink" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/logging.admin" +] +}, +"delete": { +"description": "Deletes a sink. If the sink has a unique writer_identity, then that service account is also deleted.", +"flatPath": "v2/organizations/{organizationsId}/sinks/{sinksId}", +"httpMethod": "DELETE", +"id": "logging.organizations.sinks.delete", +"parameterOrder": [ +"sinkName" +], +"parameters": { +"sinkName": { +"description": "Required. The full resource name of the sink to delete, including the parent resource and the sink identifier: \"projects/[PROJECT_ID]/sinks/[SINK_ID]\" \"organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]\" \"folders/[FOLDER_ID]/sinks/[SINK_ID]\" For example:\"projects/my-project/sinks/my-sink\"", +"location": "path", +"pattern": "^organizations/[^/]+/sinks/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+sinkName}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/logging.admin" +] +}, +"get": { +"description": "Gets a sink.", +"flatPath": "v2/organizations/{organizationsId}/sinks/{sinksId}", +"httpMethod": "GET", +"id": "logging.organizations.sinks.get", +"parameterOrder": [ +"sinkName" +], +"parameters": { +"sinkName": { +"description": "Required. The resource name of the sink: \"projects/[PROJECT_ID]/sinks/[SINK_ID]\" \"organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]\" \"folders/[FOLDER_ID]/sinks/[SINK_ID]\" For example:\"projects/my-project/sinks/my-sink\"", +"location": "path", +"pattern": "^organizations/[^/]+/sinks/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+sinkName}", +"response": { +"$ref": "LogSink" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only", +"https://www.googleapis.com/auth/logging.admin", +"https://www.googleapis.com/auth/logging.read" +] +}, +"list": { +"description": "Lists sinks.", +"flatPath": "v2/organizations/{organizationsId}/sinks", +"httpMethod": "GET", +"id": "logging.organizations.sinks.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Optional. A filter expression to constrain the sinks returned. Today, this only supports the following strings: '' 'in_scope(\"ALL\")', 'in_scope(\"ANCESTOR\")', 'in_scope(\"DEFAULT\")'.Description of scopes below. ALL: Includes all of the sinks which can be returned in any other scope. ANCESTOR: Includes intercepting sinks owned by ancestor resources. DEFAULT: Includes sinks owned by parent.When the empty string is provided, then the filter 'in_scope(\"DEFAULT\")' is applied.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Optional. The maximum number of results to return from this request. Non-positive values are ignored. The presence of nextPageToken in the response indicates that more results might be available.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. If present, then retrieve the next batch of results from the preceding call to this method. pageToken must be the value of nextPageToken from the previous response. The values of other method parameters should be identical to those in the previous call.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent resource whose sinks are to be listed: \"projects/[PROJECT_ID]\" \"organizations/[ORGANIZATION_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]\" \"folders/[FOLDER_ID]\" ", +"location": "path", +"pattern": "^organizations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+parent}/sinks", +"response": { +"$ref": "ListSinksResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only", +"https://www.googleapis.com/auth/logging.admin", +"https://www.googleapis.com/auth/logging.read" +] +}, +"patch": { +"description": "Updates a sink. This method replaces the values of the destination and filter fields of the existing sink with the corresponding values from the new sink.The updated sink might also have a new writer_identity; see the unique_writer_identity field.", +"flatPath": "v2/organizations/{organizationsId}/sinks/{sinksId}", +"httpMethod": "PATCH", +"id": "logging.organizations.sinks.patch", +"parameterOrder": [ +"sinkName" +], +"parameters": { +"customWriterIdentity": { +"description": "Optional. The service account provided by the caller that will be used to write the log entries. The format must be serviceAccount:some@email. This field can only be specified when you are routing logs to a log bucket that is in a different project than the sink. When not specified, a Logging service account will automatically be generated.", +"location": "query", +"type": "string" +}, +"sinkName": { +"description": "Required. The full resource name of the sink to update, including the parent resource and the sink identifier: \"projects/[PROJECT_ID]/sinks/[SINK_ID]\" \"organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]\" \"folders/[FOLDER_ID]/sinks/[SINK_ID]\" For example:\"projects/my-project/sinks/my-sink\"", +"location": "path", +"pattern": "^organizations/[^/]+/sinks/[^/]+$", +"required": true, +"type": "string" +}, +"uniqueWriterIdentity": { +"description": "Optional. See sinks.create for a description of this field. When updating a sink, the effect of this field on the value of writer_identity in the updated sink depends on both the old and new values of this field: If the old and new values of this field are both false or both true, then there is no change to the sink's writer_identity. If the old value is false and the new value is true, then writer_identity is changed to a service agent (https://docs.cloud.google.com/iam/docs/service-account-types#service-agents) owned by Cloud Logging. It is an error if the old value is true and the new value is set to false or defaulted to false.", +"location": "query", +"type": "boolean" +}, +"updateMask": { +"description": "Optional. Field mask that specifies the fields in sink that need an update. A sink field will be overwritten if, and only if, it is in the update mask. name and output only fields cannot be updated.An empty updateMask is temporarily treated as using the following mask for backwards compatibility purposes:destination,filter,includeChildrenAt some point in the future, behavior will be removed and specifying an empty updateMask will be an error.For a detailed FieldMask definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.FieldMaskFor example: updateMask=filter", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v2/{+sinkName}", +"request": { +"$ref": "LogSink" +}, +"response": { +"$ref": "LogSink" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/logging.admin" +] +}, +"update": { +"description": "Updates a sink. This method replaces the values of the destination and filter fields of the existing sink with the corresponding values from the new sink.The updated sink might also have a new writer_identity; see the unique_writer_identity field.", +"flatPath": "v2/organizations/{organizationsId}/sinks/{sinksId}", +"httpMethod": "PUT", +"id": "logging.organizations.sinks.update", +"parameterOrder": [ +"sinkName" +], +"parameters": { +"customWriterIdentity": { +"description": "Optional. The service account provided by the caller that will be used to write the log entries. The format must be serviceAccount:some@email. This field can only be specified when you are routing logs to a log bucket that is in a different project than the sink. When not specified, a Logging service account will automatically be generated.", +"location": "query", +"type": "string" +}, +"sinkName": { +"description": "Required. The full resource name of the sink to update, including the parent resource and the sink identifier: \"projects/[PROJECT_ID]/sinks/[SINK_ID]\" \"organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]\" \"folders/[FOLDER_ID]/sinks/[SINK_ID]\" For example:\"projects/my-project/sinks/my-sink\"", +"location": "path", +"pattern": "^organizations/[^/]+/sinks/[^/]+$", +"required": true, +"type": "string" +}, +"uniqueWriterIdentity": { +"description": "Optional. See sinks.create for a description of this field. When updating a sink, the effect of this field on the value of writer_identity in the updated sink depends on both the old and new values of this field: If the old and new values of this field are both false or both true, then there is no change to the sink's writer_identity. If the old value is false and the new value is true, then writer_identity is changed to a service agent (https://docs.cloud.google.com/iam/docs/service-account-types#service-agents) owned by Cloud Logging. It is an error if the old value is true and the new value is set to false or defaulted to false.", +"location": "query", +"type": "boolean" +}, +"updateMask": { +"description": "Optional. Field mask that specifies the fields in sink that need an update. A sink field will be overwritten if, and only if, it is in the update mask. name and output only fields cannot be updated.An empty updateMask is temporarily treated as using the following mask for backwards compatibility purposes:destination,filter,includeChildrenAt some point in the future, behavior will be removed and specifying an empty updateMask will be an error.For a detailed FieldMask definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.FieldMaskFor example: updateMask=filter", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v2/{+sinkName}", +"request": { +"$ref": "LogSink" +}, +"response": { +"$ref": "LogSink" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/logging.admin" +] +} +} +} +} +}, +"projects": { +"methods": { +"getCmekSettings": { +"description": "Gets the Logging CMEK settings for the given resource.Note: CMEK for the Log Router can be configured for Google Cloud projects, folders, organizations, and billing accounts. Once configured for an organization, it applies to all projects and folders in the Google Cloud organization.See Configure CMEK for Cloud Logging (https://docs.cloud.google.com/logging/docs/routing/managed-encryption) for more information.", +"flatPath": "v2/projects/{projectsId}/cmekSettings", +"httpMethod": "GET", +"id": "logging.projects.getCmekSettings", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource for which to retrieve CMEK settings. \"projects/[PROJECT_ID]/cmekSettings\" \"organizations/[ORGANIZATION_ID]/cmekSettings\" \"billingAccounts/[BILLING_ACCOUNT_ID]/cmekSettings\" \"folders/[FOLDER_ID]/cmekSettings\" For example:\"organizations/12345/cmekSettings\"Note: CMEK for the Log Router can be configured for Google Cloud projects, folders, organizations, and billing accounts. Once configured for an organization, it applies to all projects and folders in the Google Cloud organization.", +"location": "path", +"pattern": "^projects/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+name}/cmekSettings", +"response": { +"$ref": "CmekSettings" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only", +"https://www.googleapis.com/auth/logging.admin", +"https://www.googleapis.com/auth/logging.read" +] +}, +"getSettings": { +"description": "Gets the settings for the given resource.Note: Settings can be retrieved for Google Cloud projects, folders, organizations, and billing accounts.See View default resource settings for Logging (https://docs.cloud.google.com/logging/docs/default-settings#view-org-settings) for more information.", +"flatPath": "v2/projects/{projectsId}/settings", +"httpMethod": "GET", +"id": "logging.projects.getSettings", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource for which to retrieve settings. \"projects/[PROJECT_ID]/settings\" \"organizations/[ORGANIZATION_ID]/settings\" \"billingAccounts/[BILLING_ACCOUNT_ID]/settings\" \"folders/[FOLDER_ID]/settings\" For example:\"organizations/12345/settings\"Note: Settings can be retrieved for Google Cloud projects, folders, organizations, and billing accounts.", +"location": "path", +"pattern": "^projects/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+name}/settings", +"response": { +"$ref": "Settings" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only", +"https://www.googleapis.com/auth/logging.admin", +"https://www.googleapis.com/auth/logging.read" +] +} +}, +"resources": { +"exclusions": { +"methods": { +"create": { +"description": "Creates a new exclusion in the _Default sink in a specified parent resource. Only log entries belonging to that resource can be excluded. You can have up to 10 exclusions in a resource.", +"flatPath": "v2/projects/{projectsId}/exclusions", +"httpMethod": "POST", +"id": "logging.projects.exclusions.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The parent resource in which to create the exclusion: \"projects/[PROJECT_ID]\" \"organizations/[ORGANIZATION_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]\" \"folders/[FOLDER_ID]\" For examples:\"projects/my-logging-project\" \"organizations/123456789\"", +"location": "path", +"pattern": "^projects/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+parent}/exclusions", +"request": { +"$ref": "LogExclusion" +}, +"response": { +"$ref": "LogExclusion" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/logging.admin" +] +}, +"delete": { +"description": "Deletes an exclusion in the _Default sink.", +"flatPath": "v2/projects/{projectsId}/exclusions/{exclusionsId}", +"httpMethod": "DELETE", +"id": "logging.projects.exclusions.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of an existing exclusion to delete: \"projects/[PROJECT_ID]/exclusions/[EXCLUSION_ID]\" \"organizations/[ORGANIZATION_ID]/exclusions/[EXCLUSION_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]/exclusions/[EXCLUSION_ID]\" \"folders/[FOLDER_ID]/exclusions/[EXCLUSION_ID]\" For example:\"projects/my-project/exclusions/my-exclusion\"", +"location": "path", +"pattern": "^projects/[^/]+/exclusions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+name}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/logging.admin" +] +}, +"get": { +"description": "Gets the description of an exclusion in the _Default sink.", +"flatPath": "v2/projects/{projectsId}/exclusions/{exclusionsId}", +"httpMethod": "GET", +"id": "logging.projects.exclusions.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of an existing exclusion: \"projects/[PROJECT_ID]/exclusions/[EXCLUSION_ID]\" \"organizations/[ORGANIZATION_ID]/exclusions/[EXCLUSION_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]/exclusions/[EXCLUSION_ID]\" \"folders/[FOLDER_ID]/exclusions/[EXCLUSION_ID]\" For example:\"projects/my-project/exclusions/my-exclusion\"", +"location": "path", +"pattern": "^projects/[^/]+/exclusions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+name}", +"response": { +"$ref": "LogExclusion" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only", +"https://www.googleapis.com/auth/logging.admin", +"https://www.googleapis.com/auth/logging.read" +] +}, +"list": { +"description": "Lists all the exclusions on the _Default sink in a parent resource.", +"flatPath": "v2/projects/{projectsId}/exclusions", +"httpMethod": "GET", +"id": "logging.projects.exclusions.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "Optional. The maximum number of results to return from this request. Non-positive values are ignored. The presence of nextPageToken in the response indicates that more results might be available.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. If present, then retrieve the next batch of results from the preceding call to this method. pageToken must be the value of nextPageToken from the previous response. The values of other method parameters should be identical to those in the previous call.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent resource whose exclusions are to be listed. \"projects/[PROJECT_ID]\" \"organizations/[ORGANIZATION_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]\" \"folders/[FOLDER_ID]\" ", +"location": "path", +"pattern": "^projects/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+parent}/exclusions", +"response": { +"$ref": "ListExclusionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only", +"https://www.googleapis.com/auth/logging.admin", +"https://www.googleapis.com/auth/logging.read" +] +}, +"patch": { +"description": "Changes one or more properties of an existing exclusion in the _Default sink.", +"flatPath": "v2/projects/{projectsId}/exclusions/{exclusionsId}", +"httpMethod": "PATCH", +"id": "logging.projects.exclusions.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the exclusion to update: \"projects/[PROJECT_ID]/exclusions/[EXCLUSION_ID]\" \"organizations/[ORGANIZATION_ID]/exclusions/[EXCLUSION_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]/exclusions/[EXCLUSION_ID]\" \"folders/[FOLDER_ID]/exclusions/[EXCLUSION_ID]\" For example:\"projects/my-project/exclusions/my-exclusion\"", +"location": "path", +"pattern": "^projects/[^/]+/exclusions/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Required. A non-empty list of fields to change in the existing exclusion. New values for the fields are taken from the corresponding fields in the LogExclusion included in this request. Fields not mentioned in update_mask are not changed and are ignored in the request.For example, to change the filter and description of an exclusion, specify an update_mask of \"filter,description\".", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v2/{+name}", +"request": { +"$ref": "LogExclusion" +}, +"response": { +"$ref": "LogExclusion" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/logging.admin" +] +} +} +}, +"locations": { +"methods": { +"get": { +"description": "Gets information about a location.", +"flatPath": "v2/projects/{projectsId}/locations/{locationsId}", +"httpMethod": "GET", +"id": "logging.projects.locations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Resource name for the location.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+name}", +"response": { +"$ref": "Location" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only", +"https://www.googleapis.com/auth/logging.admin", +"https://www.googleapis.com/auth/logging.read" +] +}, +"list": { +"description": "Lists information about the supported locations for this service. This method can be called in two ways: List all public locations: Use the path GET /v1/locations. List project-visible locations: Use the path GET /v1/projects/{project_id}/locations. This may include public locations as well as private or other locations specifically visible to the project.", +"flatPath": "v2/projects/{projectsId}/locations", +"httpMethod": "GET", +"id": "logging.projects.locations.list", +"parameterOrder": [ +"name" +], +"parameters": { +"extraLocationTypes": { +"description": "Optional. Do not use this field. It is unsupported and is ignored unless explicitly documented otherwise. This is primarily for internal usage.", +"location": "query", +"repeated": true, +"type": "string" +}, +"filter": { +"description": "A filter to narrow down results to a preferred subset. The filtering language accepts strings like \"displayName=tokyo\", and is documented in more detail in AIP-160 (https://google.aip.dev/160).", +"location": "query", +"type": "string" +}, +"name": { +"description": "The resource that owns the locations collection, if applicable.", +"location": "path", +"pattern": "^projects/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The maximum number of results to return. If not set, the service selects a default.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A page token received from the next_page_token field in the response. Send that page token to receive the subsequent page.", +"location": "query", +"type": "string" +} +}, +"path": "v2/{+name}/locations", +"response": { +"$ref": "ListLocationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only", +"https://www.googleapis.com/auth/logging.admin", +"https://www.googleapis.com/auth/logging.read" +] +} +}, +"resources": { +"buckets": { +"methods": { +"create": { +"description": "Creates a log bucket that can be used to store log entries. After a bucket has been created, the bucket's location cannot be changed.", +"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/buckets", +"httpMethod": "POST", +"id": "logging.projects.locations.buckets.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"bucketId": { +"description": "Required. A client-assigned identifier such as \"my-bucket\". Identifiers are limited to 100 characters and can include only letters, digits, underscores, hyphens, and periods. Bucket identifiers must start with an alphanumeric character.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The resource in which to create the log bucket: \"projects/[PROJECT_ID]/locations/[LOCATION_ID]\" For example:\"projects/my-project/locations/global\"", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+parent}/buckets", +"request": { +"$ref": "LogBucket" +}, +"response": { +"$ref": "LogBucket" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/logging.admin" +] +}, +"createAsync": { +"description": "Creates a log bucket asynchronously that can be used to store log entries.After a bucket has been created, the bucket's location cannot be changed.", +"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/buckets:createAsync", +"httpMethod": "POST", +"id": "logging.projects.locations.buckets.createAsync", +"parameterOrder": [ +"parent" +], +"parameters": { +"bucketId": { +"description": "Required. A client-assigned identifier such as \"my-bucket\". Identifiers are limited to 100 characters and can include only letters, digits, underscores, hyphens, and periods. Bucket identifiers must start with an alphanumeric character.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The resource in which to create the log bucket: \"projects/[PROJECT_ID]/locations/[LOCATION_ID]\" For example:\"projects/my-project/locations/global\"", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+parent}/buckets:createAsync", +"request": { +"$ref": "LogBucket" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/logging.admin" +] +}, +"delete": { +"description": "Deletes a log bucket.Changes the bucket's lifecycle_state to the DELETE_REQUESTED state. After 7 days, the bucket will be purged and all log entries in the bucket will be permanently deleted.", +"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/buckets/{bucketsId}", +"httpMethod": "DELETE", +"id": "logging.projects.locations.buckets.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The full resource name of the bucket to delete. \"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" \"organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" \"folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" For example:\"projects/my-project/locations/global/buckets/my-bucket\"", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/buckets/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+name}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/logging.admin" +] +}, +"get": { +"description": "Gets a log bucket.", +"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/buckets/{bucketsId}", +"httpMethod": "GET", +"id": "logging.projects.locations.buckets.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the bucket: \"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" \"organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" \"folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" For example:\"projects/my-project/locations/global/buckets/my-bucket\"", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/buckets/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+name}", +"response": { +"$ref": "LogBucket" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only", +"https://www.googleapis.com/auth/logging.admin", +"https://www.googleapis.com/auth/logging.read" +] +}, +"list": { +"description": "Lists log buckets.", +"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/buckets", +"httpMethod": "GET", +"id": "logging.projects.locations.buckets.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "Optional. The maximum number of results to return from this request. Non-positive values are ignored. The presence of nextPageToken in the response indicates that more results might be available.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. If present, then retrieve the next batch of results from the preceding call to this method. pageToken must be the value of nextPageToken from the previous response. The values of other method parameters should be identical to those in the previous call.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent resource whose buckets are to be listed: \"projects/[PROJECT_ID]/locations/[LOCATION_ID]\" \"organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]\" \"folders/[FOLDER_ID]/locations/[LOCATION_ID]\" Note: The locations portion of the resource must be specified, but supplying the character - in place of LOCATION_ID will return all buckets.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+parent}/buckets", +"response": { +"$ref": "ListBucketsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only", +"https://www.googleapis.com/auth/logging.admin", +"https://www.googleapis.com/auth/logging.read" +] +}, +"patch": { +"description": "Updates a log bucket.If the bucket has a lifecycle_state of DELETE_REQUESTED, then FAILED_PRECONDITION will be returned.After a bucket has been created, the bucket's location cannot be changed.", +"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/buckets/{bucketsId}", +"httpMethod": "PATCH", +"id": "logging.projects.locations.buckets.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The full resource name of the bucket to update. \"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" \"organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" \"folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" For example:\"projects/my-project/locations/global/buckets/my-bucket\"", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/buckets/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Required. Field mask that specifies the fields in bucket that need an update. A bucket field will be overwritten if, and only if, it is in the update mask. name and output only fields cannot be updated.For a detailed FieldMask definition, see: https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.FieldMaskFor example: updateMask=retention_days", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v2/{+name}", +"request": { +"$ref": "LogBucket" +}, +"response": { +"$ref": "LogBucket" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/logging.admin" +] +}, +"undelete": { +"description": "Undeletes a log bucket. A bucket that has been deleted can be undeleted within the grace period of 7 days.", +"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/buckets/{bucketsId}:undelete", +"httpMethod": "POST", +"id": "logging.projects.locations.buckets.undelete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The full resource name of the bucket to undelete. \"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" \"organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" \"folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" For example:\"projects/my-project/locations/global/buckets/my-bucket\"", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/buckets/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+name}:undelete", +"request": { +"$ref": "UndeleteBucketRequest" +}, +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/logging.admin" +] +}, +"updateAsync": { +"description": "Updates a log bucket asynchronously.If the bucket has a lifecycle_state of DELETE_REQUESTED, then FAILED_PRECONDITION will be returned.After a bucket has been created, the bucket's location cannot be changed.", +"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/buckets/{bucketsId}:updateAsync", +"httpMethod": "POST", +"id": "logging.projects.locations.buckets.updateAsync", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The full resource name of the bucket to update. \"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" \"organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" \"folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" For example:\"projects/my-project/locations/global/buckets/my-bucket\"", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/buckets/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Required. Field mask that specifies the fields in bucket that need an update. A bucket field will be overwritten if, and only if, it is in the update mask. name and output only fields cannot be updated.For a detailed FieldMask definition, see: https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.FieldMaskFor example: updateMask=retention_days", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v2/{+name}:updateAsync", +"request": { +"$ref": "LogBucket" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/logging.admin" +] +} +}, +"resources": { +"links": { +"methods": { +"create": { +"description": "Asynchronously creates a linked dataset in BigQuery which makes it possible to use BigQuery to read the logs stored in the log bucket. A log bucket may currently only contain one link.", +"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/buckets/{bucketsId}/links", +"httpMethod": "POST", +"id": "logging.projects.locations.buckets.links.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"linkId": { +"description": "Required. The ID to use for the link. The link_id can have up to 100 characters. A valid link_id must only have alphanumeric characters and underscores within it.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The full resource name of the bucket to create a link for. \"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" ", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/buckets/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+parent}/links", +"request": { +"$ref": "Link" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/logging.admin" +] +}, +"delete": { +"description": "Deletes a link. This will also delete the corresponding BigQuery linked dataset.", +"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/buckets/{bucketsId}/links/{linksId}", +"httpMethod": "DELETE", +"id": "logging.projects.locations.buckets.links.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The full resource name of the link to delete. \"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]\" \"organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]\" \"folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]\" ", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/buckets/[^/]+/links/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/logging.admin" +] +}, +"get": { +"description": "Gets a link.", +"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/buckets/{bucketsId}/links/{linksId}", +"httpMethod": "GET", +"id": "logging.projects.locations.buckets.links.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the link: \"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]\" \"organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]\" \"folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]\" ", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/buckets/[^/]+/links/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+name}", +"response": { +"$ref": "Link" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only", +"https://www.googleapis.com/auth/logging.admin", +"https://www.googleapis.com/auth/logging.read" +] +}, +"list": { +"description": "Lists links.", +"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/buckets/{bucketsId}/links", +"httpMethod": "GET", +"id": "logging.projects.locations.buckets.links.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "Optional. The maximum number of results to return from this request.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. If present, then retrieve the next batch of results from the preceding call to this method. pageToken must be the value of nextPageToken from the previous response.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent resource whose links are to be listed: \"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" \"organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" \"folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" ", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/buckets/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+parent}/links", +"response": { +"$ref": "ListLinksResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only", +"https://www.googleapis.com/auth/logging.admin", +"https://www.googleapis.com/auth/logging.read" +] +} +} +}, +"views": { +"methods": { +"create": { +"description": "Creates a view over log entries in a log bucket. A bucket may contain a maximum of 30 views.", +"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/buckets/{bucketsId}/views", +"httpMethod": "POST", +"id": "logging.projects.locations.buckets.views.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The bucket in which to create the view `\"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\"` For example:\"projects/my-project/locations/global/buckets/my-bucket\"", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/buckets/[^/]+$", +"required": true, +"type": "string" +}, +"viewId": { +"description": "Required. A client-assigned identifier such as \"my-view\". Identifiers are limited to 100 characters and can include only letters, digits, underscores, and hyphens.", +"location": "query", +"type": "string" +} +}, +"path": "v2/{+parent}/views", +"request": { +"$ref": "LogView" +}, +"response": { +"$ref": "LogView" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/logging.admin" +] +}, +"delete": { +"description": "Deletes a view on a log bucket. If an UNAVAILABLE error is returned, this indicates that system is not in a state where it can delete the view. If this occurs, please try again in a few minutes.", +"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/buckets/{bucketsId}/views/{viewsId}", +"httpMethod": "DELETE", +"id": "logging.projects.locations.buckets.views.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The full resource name of the view to delete: \"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]\" For example:\"projects/my-project/locations/global/buckets/my-bucket/views/my-view\"", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/buckets/[^/]+/views/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+name}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/logging.admin" +] +}, +"get": { +"description": "Gets a view on a log bucket.", +"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/buckets/{bucketsId}/views/{viewsId}", +"httpMethod": "GET", +"id": "logging.projects.locations.buckets.views.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the policy: \"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]\" For example:\"projects/my-project/locations/global/buckets/my-bucket/views/my-view\"", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/buckets/[^/]+/views/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+name}", +"response": { +"$ref": "LogView" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only", +"https://www.googleapis.com/auth/logging.admin", +"https://www.googleapis.com/auth/logging.read" +] +}, +"getIamPolicy": { +"description": "Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.", +"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/buckets/{bucketsId}/views/{viewsId}:getIamPolicy", +"httpMethod": "POST", +"id": "logging.projects.locations.buckets.views.getIamPolicy", +"parameterOrder": [ +"resource" +], +"parameters": { +"resource": { +"description": "REQUIRED: The resource for which the policy is being requested. See Resource names (https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/buckets/[^/]+/views/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+resource}:getIamPolicy", +"request": { +"$ref": "GetIamPolicyRequest" +}, +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only", +"https://www.googleapis.com/auth/logging.admin", +"https://www.googleapis.com/auth/logging.read" +] +}, +"list": { +"description": "Lists views on a log bucket.", +"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/buckets/{bucketsId}/views", +"httpMethod": "GET", +"id": "logging.projects.locations.buckets.views.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "Optional. The maximum number of results to return from this request.Non-positive values are ignored. The presence of nextPageToken in the response indicates that more results might be available.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. If present, then retrieve the next batch of results from the preceding call to this method. pageToken must be the value of nextPageToken from the previous response. The values of other method parameters should be identical to those in the previous call.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The bucket whose views are to be listed: \"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" ", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/buckets/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+parent}/views", +"response": { +"$ref": "ListViewsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only", +"https://www.googleapis.com/auth/logging.admin", +"https://www.googleapis.com/auth/logging.read" +] +}, +"patch": { +"description": "Updates a view on a log bucket. This method replaces the value of the filter field from the existing view with the corresponding value from the new view. If an UNAVAILABLE error is returned, this indicates that system is not in a state where it can update the view. If this occurs, please try again in a few minutes.", +"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/buckets/{bucketsId}/views/{viewsId}", +"httpMethod": "PATCH", +"id": "logging.projects.locations.buckets.views.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The full resource name of the view to update \"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]\" For example:\"projects/my-project/locations/global/buckets/my-bucket/views/my-view\"", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/buckets/[^/]+/views/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Optional. Field mask that specifies the fields in view that need an update. A field will be overwritten if, and only if, it is in the update mask. name and output only fields cannot be updated.For a detailed FieldMask definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.FieldMaskFor example: updateMask=filter", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v2/{+name}", +"request": { +"$ref": "LogView" +}, +"response": { +"$ref": "LogView" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/logging.admin" +] +}, +"setIamPolicy": { +"description": "Sets the access control policy on the specified resource. Replaces any existing policy.Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED errors.", +"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/buckets/{bucketsId}/views/{viewsId}:setIamPolicy", +"httpMethod": "POST", +"id": "logging.projects.locations.buckets.views.setIamPolicy", +"parameterOrder": [ +"resource" +], +"parameters": { +"resource": { +"description": "REQUIRED: The resource for which the policy is being specified. See Resource names (https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/buckets/[^/]+/views/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+resource}:setIamPolicy", +"request": { +"$ref": "SetIamPolicyRequest" +}, +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/logging.admin" +] +}, +"testIamPermissions": { +"description": "Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a NOT_FOUND error.Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may \"fail open\" without warning.", +"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/buckets/{bucketsId}/views/{viewsId}:testIamPermissions", +"httpMethod": "POST", +"id": "logging.projects.locations.buckets.views.testIamPermissions", +"parameterOrder": [ +"resource" +], +"parameters": { +"resource": { +"description": "REQUIRED: The resource for which the policy detail is being requested. See Resource names (https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/buckets/[^/]+/views/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+resource}:testIamPermissions", +"request": { +"$ref": "TestIamPermissionsRequest" +}, +"response": { +"$ref": "TestIamPermissionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only", +"https://www.googleapis.com/auth/logging.admin", +"https://www.googleapis.com/auth/logging.read" +] +} +}, +"resources": { +"logs": { +"methods": { +"list": { +"description": "Lists the logs in projects, organizations, folders, or billing accounts. Only logs that have entries are listed.", +"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/buckets/{bucketsId}/views/{viewsId}/logs", +"httpMethod": "GET", +"id": "logging.projects.locations.buckets.views.logs.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "Optional. The maximum number of results to return from this request. Non-positive values are ignored. The presence of nextPageToken in the response indicates that more results might be available.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. If present, then retrieve the next batch of results from the preceding call to this method. pageToken must be the value of nextPageToken from the previous response. The values of other method parameters should be identical to those in the previous call.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The resource name to list logs for: projects/[PROJECT_ID] organizations/[ORGANIZATION_ID] billingAccounts/[BILLING_ACCOUNT_ID] folders/[FOLDER_ID]", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/buckets/[^/]+/views/[^/]+$", +"required": true, +"type": "string" +}, +"resourceNames": { +"description": "Optional. List of resource names to list logs for: projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID] organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID] billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID] folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]To support legacy queries, it could also be: projects/[PROJECT_ID] organizations/[ORGANIZATION_ID] billingAccounts/[BILLING_ACCOUNT_ID] folders/[FOLDER_ID]The resource name in the parent field is added to this list.", +"location": "query", +"repeated": true, +"type": "string" +} +}, +"path": "v2/{+parent}/logs", +"response": { +"$ref": "ListLogsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only", +"https://www.googleapis.com/auth/logging.admin", +"https://www.googleapis.com/auth/logging.read" +] +} +} +} +} +} +} +}, +"logScopes": { +"methods": { +"create": { +"description": "Creates a log scope.", +"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/logScopes", +"httpMethod": "POST", +"id": "logging.projects.locations.logScopes.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"logScopeId": { +"description": "Required. A client-assigned identifier such as \"log-scope\". Identifiers are limited to 100 characters and can include only letters, digits, underscores, hyphens, and periods. First character has to be alphanumeric.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent resource in which to create the log scope: \"projects/[PROJECT_ID]/locations/[LOCATION_ID]\" \"organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]\" \"folders/[FOLDER_ID]/locations/[LOCATION_ID]\" For example:\"projects/my-project/locations/global\"", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+parent}/logScopes", +"request": { +"$ref": "LogScope" +}, +"response": { +"$ref": "LogScope" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/logging.admin" +] +}, +"delete": { +"description": "Deletes a log scope.", +"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/logScopes/{logScopesId}", +"httpMethod": "DELETE", +"id": "logging.projects.locations.logScopes.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the log scope to delete: \"projects/[PROJECT_ID]/locations/[LOCATION_ID]\" \"organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]\" \"folders/[FOLDER_ID]/locations/[LOCATION_ID]\" For example:\"projects/my-project/locations/global/logScopes/my-log-scope\"", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/logScopes/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+name}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/logging.admin" +] +}, +"get": { +"description": "Gets a log scope.", +"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/logScopes/{logScopesId}", +"httpMethod": "GET", +"id": "logging.projects.locations.logScopes.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the log scope: \"projects/[PROJECT_ID]/locations/[LOCATION_ID]\" \"organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]\" \"folders/[FOLDER_ID]/locations/[LOCATION_ID]\" For example:\"projects/my-project/locations/global/logScopes/my-log-scope\"", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/logScopes/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+name}", +"response": { +"$ref": "LogScope" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only", +"https://www.googleapis.com/auth/logging.admin", +"https://www.googleapis.com/auth/logging.read" +] +}, +"list": { +"description": "Lists log scopes.", +"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/logScopes", +"httpMethod": "GET", +"id": "logging.projects.locations.logScopes.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "Optional. The maximum number of results to return from this request.Non-positive values are ignored. The presence of nextPageToken in the response indicates that more results might be available.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. If present, then retrieve the next batch of results from the preceding call to this method. pageToken must be the value of nextPageToken from the previous response. The values of other method parameters should be identical to those in the previous call.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent resource whose log scopes are to be listed: \"projects/[PROJECT_ID]/locations/[LOCATION_ID]\" ", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+parent}/logScopes", +"response": { +"$ref": "ListLogScopesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only", +"https://www.googleapis.com/auth/logging.admin", +"https://www.googleapis.com/auth/logging.read" +] +}, +"patch": { +"description": "Updates a log scope.", +"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/logScopes/{logScopesId}", +"httpMethod": "PATCH", +"id": "logging.projects.locations.logScopes.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Output only. The resource name of the log scope.Log scopes are only available in the global location. For example:projects/my-project/locations/global/logScopes/my-log-scope", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/logScopes/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Optional. Field mask that specifies the fields in log_scope that need an update. A field will be overwritten if, and only if, it is in the update mask. name and output only fields cannot be updated.For a detailed FieldMask definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.FieldMaskFor example: updateMask=description", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v2/{+name}", +"request": { +"$ref": "LogScope" +}, +"response": { +"$ref": "LogScope" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/logging.admin" +] +} +} +}, +"operations": { +"methods": { +"cancel": { +"description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns google.rpc.Code.UNIMPLEMENTED. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of 1, corresponding to Code.CANCELLED.", +"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}:cancel", +"httpMethod": "POST", +"id": "logging.projects.locations.operations.cancel", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be cancelled.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+name}:cancel", +"request": { +"$ref": "CancelOperationRequest" +}, +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/logging.admin" +] +}, +"get": { +"description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", +"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}", +"httpMethod": "GET", +"id": "logging.projects.locations.operations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only", +"https://www.googleapis.com/auth/logging.admin", +"https://www.googleapis.com/auth/logging.read" +] +}, +"list": { +"description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns UNIMPLEMENTED.", +"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/operations", +"httpMethod": "GET", +"id": "logging.projects.locations.operations.list", +"parameterOrder": [ +"name" +], +"parameters": { +"filter": { +"description": "The standard list filter.", +"location": "query", +"type": "string" +}, +"name": { +"description": "The name of the operation's parent resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The standard list page size.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The standard list page token.", +"location": "query", +"type": "string" +}, +"returnPartialSuccess": { +"description": "When set to true, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field.This can only be true when reading across collections. For example, when parent is set to \"projects/example/locations/-\".This field is not supported by default and will result in an UNIMPLEMENTED error if set unless explicitly documented otherwise in service or product specific documentation.", +"location": "query", +"type": "boolean" +} +}, +"path": "v2/{+name}/operations", +"response": { +"$ref": "ListOperationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only", +"https://www.googleapis.com/auth/logging.admin", +"https://www.googleapis.com/auth/logging.read" +] +} +} +}, +"recentQueries": { +"methods": { +"list": { +"description": "Lists the RecentQueries that were created by the user making the request.", +"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/recentQueries", +"httpMethod": "GET", +"id": "logging.projects.locations.recentQueries.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Optional. Specifies the type (\"Logging\" or \"OpsAnalytics\") of the recent queries to list. The only valid value for this field is one of the two allowable type function calls, which are the following: type(\"Logging\") type(\"OpsAnalytics\")", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Optional. The maximum number of results to return from this request. Non-positive values are ignored. The presence of nextPageToken in the response indicates that more results might be available.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. If present, then retrieve the next batch of results from the preceding call to this method. pageToken must be the value of nextPageToken from the previous response. The values of other method parameters should be identical to those in the previous call.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The resource to which the listed queries belong. \"projects/[PROJECT_ID]/locations/[LOCATION_ID]\" \"organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]\" \"folders/[FOLDER_ID]/locations/[LOCATION_ID]\" For example:projects/my-project/locations/us-central1Note: The location portion of the resource must be specified, but supplying the character - in place of LOCATION_ID will return all recent queries.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+parent}/recentQueries", +"response": { +"$ref": "ListRecentQueriesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only", +"https://www.googleapis.com/auth/logging.admin", +"https://www.googleapis.com/auth/logging.read" +] +} +} +}, +"savedQueries": { +"methods": { +"create": { +"description": "Creates a new SavedQuery for the user making the request.", +"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/savedQueries", +"httpMethod": "POST", +"id": "logging.projects.locations.savedQueries.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The parent resource in which to create the saved query: \"projects/[PROJECT_ID]/locations/[LOCATION_ID]\" \"organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]\" \"folders/[FOLDER_ID]/locations/[LOCATION_ID]\" For example: \"projects/my-project/locations/global\" \"organizations/123456789/locations/us-central1\" ", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +}, +"savedQueryId": { +"description": "Optional. The ID to use for the saved query, which will become the final component of the saved query's resource name.If the saved_query_id is not provided, the system will generate an alphanumeric ID.The saved_query_id is limited to 100 characters and can include only the following characters: upper and lower-case alphanumeric characters, underscores, hyphens, periods.First character has to be alphanumeric.", +"location": "query", +"type": "string" +} +}, +"path": "v2/{+parent}/savedQueries", +"request": { +"$ref": "SavedQuery" +}, +"response": { +"$ref": "SavedQuery" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/logging.admin" +] +}, +"delete": { +"description": "Deletes an existing SavedQuery that was created by the user making the request.", +"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/savedQueries/{savedQueriesId}", +"httpMethod": "DELETE", +"id": "logging.projects.locations.savedQueries.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The full resource name of the saved query to delete. \"projects/[PROJECT_ID]/locations/[LOCATION_ID]/savedQueries/[QUERY_ID]\" \"organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/savedQueries/[QUERY_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/savedQueries/[QUERY_ID]\" \"folders/[FOLDER_ID]/locations/[LOCATION_ID]/savedQueries/[QUERY_ID]\" For example: \"projects/my-project/locations/global/savedQueries/my-saved-query\" ", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/savedQueries/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+name}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/logging.admin" +] +}, +"get": { +"description": "Returns all data associated with the requested query.", +"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/savedQueries/{savedQueriesId}", +"httpMethod": "GET", +"id": "logging.projects.locations.savedQueries.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the saved query. \"projects/[PROJECT_ID]/locations/[LOCATION_ID]/savedQueries/[QUERY_ID]\" \"organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/savedQueries/[QUERY_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/savedQueries/[QUERY_ID]\" \"folders/[FOLDER_ID]/locations/[LOCATION_ID]/savedQueries/[QUERY_ID]\" For example: \"projects/my-project/locations/global/savedQueries/my-saved-query\" ", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/savedQueries/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+name}", +"response": { +"$ref": "SavedQuery" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only", +"https://www.googleapis.com/auth/logging.admin", +"https://www.googleapis.com/auth/logging.read" +] +}, +"list": { +"description": "Lists the SavedQueries that were created by the user making the request.", +"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/savedQueries", +"httpMethod": "GET", +"id": "logging.projects.locations.savedQueries.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Optional. Specifies the type (\"Logging\" or \"OpsAnalytics\") and the visibility (PRIVATE or SHARED) of the saved queries to list. If provided, the filter must contain either the type function or a visibility token, or both. If both are chosen, they can be placed in any order, but they must be joined by the AND operator or the empty character.The two supported type function calls are: type(\"Logging\") type(\"OpsAnalytics\")The two supported visibility tokens are: visibility = PRIVATE visibility = SHAREDFor example:type(\"Logging\") AND visibility = PRIVATE visibility=SHARED type(\"OpsAnalytics\") type(\"OpsAnalytics)\" visibility = PRIVATE visibility = SHARED", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Optional. The maximum number of results to return from this request.Non-positive values are ignored. The presence of nextPageToken in the response indicates that more results might be available.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. If present, then retrieve the next batch of results from the preceding call to this method. pageToken must be the value of nextPageToken from the previous response. The values of other method parameters should be identical to those in the previous call.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The resource to which the listed queries belong. \"projects/[PROJECT_ID]/locations/[LOCATION_ID]\" \"organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]\" \"folders/[FOLDER_ID]/locations/[LOCATION_ID]\" For example: \"projects/my-project/locations/us-central1\" Note: The locations portion of the resource must be specified. To get a list of all saved queries, a wildcard character - can be used for LOCATION_ID, for example: \"projects/my-project/locations/-\" ", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+parent}/savedQueries", +"response": { +"$ref": "ListSavedQueriesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only", +"https://www.googleapis.com/auth/logging.admin", +"https://www.googleapis.com/auth/logging.read" +] +}, +"patch": { +"description": "Updates an existing SavedQuery.", +"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/savedQueries/{savedQueriesId}", +"httpMethod": "PATCH", +"id": "logging.projects.locations.savedQueries.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Output only. Resource name of the saved query.In the format: \"projects/[PROJECT_ID]/locations/[LOCATION_ID]/savedQueries/[QUERY_ID]\" For a list of supported locations, see Supported Regions (https://docs.cloud.google.com/logging/docs/region-support#bucket-regions)After the saved query is created, the location cannot be changed.If the user doesn't provide a QUERY_ID, the system will generate an alphanumeric ID.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/savedQueries/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Required. A non-empty list of fields to change in the existing saved query. Fields are relative to the saved_query and new values for the fields are taken from the corresponding fields in the SavedQuery included in this request. Fields not mentioned in update_mask are not changed and are ignored in the request.To update all mutable fields, specify an update_mask of *.For example, to change the description and query filter text of a saved query, specify an update_mask of \"description, query.filter\".", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v2/{+name}", +"request": { +"$ref": "SavedQuery" +}, +"response": { +"$ref": "SavedQuery" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/logging.admin" +] +} +} +} +} +}, +"logs": { +"methods": { +"delete": { +"description": "Deletes all the log entries in a log for the global _Default Log Bucket. The log reappears if it receives new entries. Log entries written shortly before the delete operation might not be deleted. Entries received after the delete operation with a timestamp before the operation will be deleted.", +"flatPath": "v2/projects/{projectsId}/logs/{logsId}", +"httpMethod": "DELETE", +"id": "logging.projects.logs.delete", +"parameterOrder": [ +"logName" +], +"parameters": { +"logName": { +"description": "Required. The resource name of the log to delete: projects/[PROJECT_ID]/logs/[LOG_ID] organizations/[ORGANIZATION_ID]/logs/[LOG_ID] billingAccounts/[BILLING_ACCOUNT_ID]/logs/[LOG_ID] folders/[FOLDER_ID]/logs/[LOG_ID][LOG_ID] must be URL-encoded. For example, \"projects/my-project-id/logs/syslog\", \"organizations/123/logs/cloudaudit.googleapis.com%2Factivity\".For more information about log names, see LogEntry.", +"location": "path", +"pattern": "^projects/[^/]+/logs/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+logName}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/logging.admin" +] +}, +"list": { +"description": "Lists the logs in projects, organizations, folders, or billing accounts. Only logs that have entries are listed.", +"flatPath": "v2/projects/{projectsId}/logs", +"httpMethod": "GET", +"id": "logging.projects.logs.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "Optional. The maximum number of results to return from this request. Non-positive values are ignored. The presence of nextPageToken in the response indicates that more results might be available.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. If present, then retrieve the next batch of results from the preceding call to this method. pageToken must be the value of nextPageToken from the previous response. The values of other method parameters should be identical to those in the previous call.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The resource name to list logs for: projects/[PROJECT_ID] organizations/[ORGANIZATION_ID] billingAccounts/[BILLING_ACCOUNT_ID] folders/[FOLDER_ID]", +"location": "path", +"pattern": "^projects/[^/]+$", +"required": true, +"type": "string" +}, +"resourceNames": { +"description": "Optional. List of resource names to list logs for: projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID] organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID] billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID] folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]To support legacy queries, it could also be: projects/[PROJECT_ID] organizations/[ORGANIZATION_ID] billingAccounts/[BILLING_ACCOUNT_ID] folders/[FOLDER_ID]The resource name in the parent field is added to this list.", +"location": "query", +"repeated": true, +"type": "string" +} +}, +"path": "v2/{+parent}/logs", +"response": { +"$ref": "ListLogsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only", +"https://www.googleapis.com/auth/logging.admin", +"https://www.googleapis.com/auth/logging.read" +] +} +} +}, +"metrics": { +"methods": { +"create": { +"description": "Creates a logs-based metric.", +"flatPath": "v2/projects/{projectsId}/metrics", +"httpMethod": "POST", +"id": "logging.projects.metrics.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The resource name of the project in which to create the metric: \"projects/[PROJECT_ID]\" The new metric must be provided in the request.", +"location": "path", +"pattern": "^projects/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+parent}/metrics", +"request": { +"$ref": "LogMetric" +}, +"response": { +"$ref": "LogMetric" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/logging.admin", +"https://www.googleapis.com/auth/logging.write" +] +}, +"delete": { +"description": "Deletes a logs-based metric.", +"flatPath": "v2/projects/{projectsId}/metrics/{metricsId}", +"httpMethod": "DELETE", +"id": "logging.projects.metrics.delete", +"parameterOrder": [ +"metricName" +], +"parameters": { +"metricName": { +"description": "Required. The resource name of the metric to delete: \"projects/[PROJECT_ID]/metrics/[METRIC_ID]\" ", +"location": "path", +"pattern": "^projects/[^/]+/metrics/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+metricName}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/logging.admin", +"https://www.googleapis.com/auth/logging.write" +] +}, +"get": { +"description": "Gets a logs-based metric.", +"flatPath": "v2/projects/{projectsId}/metrics/{metricsId}", +"httpMethod": "GET", +"id": "logging.projects.metrics.get", +"parameterOrder": [ +"metricName" +], +"parameters": { +"metricName": { +"description": "Required. The resource name of the desired metric: \"projects/[PROJECT_ID]/metrics/[METRIC_ID]\" ", +"location": "path", +"pattern": "^projects/[^/]+/metrics/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+metricName}", +"response": { +"$ref": "LogMetric" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only", +"https://www.googleapis.com/auth/logging.admin", +"https://www.googleapis.com/auth/logging.read" +] +}, +"list": { +"description": "Lists logs-based metrics.", +"flatPath": "v2/projects/{projectsId}/metrics", +"httpMethod": "GET", +"id": "logging.projects.metrics.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "Optional. The maximum number of results to return from this request. Non-positive values are ignored. The presence of nextPageToken in the response indicates that more results might be available.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. If present, then retrieve the next batch of results from the preceding call to this method. pageToken must be the value of nextPageToken from the previous response. The values of other method parameters should be identical to those in the previous call.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The name of the project containing the metrics: \"projects/[PROJECT_ID]\" ", +"location": "path", +"pattern": "^projects/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+parent}/metrics", +"response": { +"$ref": "ListLogMetricsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only", +"https://www.googleapis.com/auth/logging.admin", +"https://www.googleapis.com/auth/logging.read" +] +}, +"update": { +"description": "Creates or updates a logs-based metric.", +"flatPath": "v2/projects/{projectsId}/metrics/{metricsId}", +"httpMethod": "PUT", +"id": "logging.projects.metrics.update", +"parameterOrder": [ +"metricName" +], +"parameters": { +"metricName": { +"description": "Required. The resource name of the metric to update: \"projects/[PROJECT_ID]/metrics/[METRIC_ID]\" The updated metric must be provided in the request and it's name field must be the same as [METRIC_ID] If the metric does not exist in [PROJECT_ID], then a new metric is created.", +"location": "path", +"pattern": "^projects/[^/]+/metrics/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+metricName}", +"request": { +"$ref": "LogMetric" +}, +"response": { +"$ref": "LogMetric" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/logging.admin", +"https://www.googleapis.com/auth/logging.write" +] +} +} +}, +"sinks": { +"methods": { +"create": { +"description": "Creates a sink that exports specified log entries to a destination. The export begins upon ingress, unless the sink's writer_identity is not permitted to write to the destination. A sink can export log entries only from the resource owning the sink.", +"flatPath": "v2/projects/{projectsId}/sinks", +"httpMethod": "POST", +"id": "logging.projects.sinks.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"customWriterIdentity": { +"description": "Optional. The service account provided by the caller that will be used to write the log entries. The format must be serviceAccount:some@email. This field can only be specified when you are routing logs to a log bucket that is in a different project than the sink. When not specified, a Logging service account will automatically be generated.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The resource in which to create the sink: \"projects/[PROJECT_ID]\" \"organizations/[ORGANIZATION_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]\" \"folders/[FOLDER_ID]\" For examples:\"projects/my-project\" \"organizations/123456789\"", +"location": "path", +"pattern": "^projects/[^/]+$", +"required": true, +"type": "string" +}, +"uniqueWriterIdentity": { +"description": "Optional. Determines the kind of IAM identity returned as writer_identity in the new sink. If this value is omitted or set to false, and if the sink's parent is a project, then the value returned as writer_identity is the same group or service account used by Cloud Logging before the addition of writer identities to this API. The sink's destination must be in the same project as the sink itself.If this field is set to true, or if the sink is owned by a non-project resource such as an organization, then the value of writer_identity will be a service agent (https://docs.cloud.google.com/iam/docs/service-account-types#service-agents) used by the sinks with the same parent. For more information, see writer_identity in LogSink.", +"location": "query", +"type": "boolean" +} +}, +"path": "v2/{+parent}/sinks", +"request": { +"$ref": "LogSink" +}, +"response": { +"$ref": "LogSink" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/logging.admin" +] +}, +"delete": { +"description": "Deletes a sink. If the sink has a unique writer_identity, then that service account is also deleted.", +"flatPath": "v2/projects/{projectsId}/sinks/{sinksId}", +"httpMethod": "DELETE", +"id": "logging.projects.sinks.delete", +"parameterOrder": [ +"sinkName" +], +"parameters": { +"sinkName": { +"description": "Required. The full resource name of the sink to delete, including the parent resource and the sink identifier: \"projects/[PROJECT_ID]/sinks/[SINK_ID]\" \"organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]\" \"folders/[FOLDER_ID]/sinks/[SINK_ID]\" For example:\"projects/my-project/sinks/my-sink\"", +"location": "path", +"pattern": "^projects/[^/]+/sinks/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+sinkName}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/logging.admin" +] +}, +"get": { +"description": "Gets a sink.", +"flatPath": "v2/projects/{projectsId}/sinks/{sinksId}", +"httpMethod": "GET", +"id": "logging.projects.sinks.get", +"parameterOrder": [ +"sinkName" +], +"parameters": { +"sinkName": { +"description": "Required. The resource name of the sink: \"projects/[PROJECT_ID]/sinks/[SINK_ID]\" \"organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]\" \"folders/[FOLDER_ID]/sinks/[SINK_ID]\" For example:\"projects/my-project/sinks/my-sink\"", +"location": "path", +"pattern": "^projects/[^/]+/sinks/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+sinkName}", +"response": { +"$ref": "LogSink" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only", +"https://www.googleapis.com/auth/logging.admin", +"https://www.googleapis.com/auth/logging.read" +] +}, +"list": { +"description": "Lists sinks.", +"flatPath": "v2/projects/{projectsId}/sinks", +"httpMethod": "GET", +"id": "logging.projects.sinks.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Optional. A filter expression to constrain the sinks returned. Today, this only supports the following strings: '' 'in_scope(\"ALL\")', 'in_scope(\"ANCESTOR\")', 'in_scope(\"DEFAULT\")'.Description of scopes below. ALL: Includes all of the sinks which can be returned in any other scope. ANCESTOR: Includes intercepting sinks owned by ancestor resources. DEFAULT: Includes sinks owned by parent.When the empty string is provided, then the filter 'in_scope(\"DEFAULT\")' is applied.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Optional. The maximum number of results to return from this request. Non-positive values are ignored. The presence of nextPageToken in the response indicates that more results might be available.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. If present, then retrieve the next batch of results from the preceding call to this method. pageToken must be the value of nextPageToken from the previous response. The values of other method parameters should be identical to those in the previous call.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent resource whose sinks are to be listed: \"projects/[PROJECT_ID]\" \"organizations/[ORGANIZATION_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]\" \"folders/[FOLDER_ID]\" ", +"location": "path", +"pattern": "^projects/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+parent}/sinks", +"response": { +"$ref": "ListSinksResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only", +"https://www.googleapis.com/auth/logging.admin", +"https://www.googleapis.com/auth/logging.read" +] +}, +"patch": { +"description": "Updates a sink. This method replaces the values of the destination and filter fields of the existing sink with the corresponding values from the new sink.The updated sink might also have a new writer_identity; see the unique_writer_identity field.", +"flatPath": "v2/projects/{projectsId}/sinks/{sinksId}", +"httpMethod": "PATCH", +"id": "logging.projects.sinks.patch", +"parameterOrder": [ +"sinkName" +], +"parameters": { +"customWriterIdentity": { +"description": "Optional. The service account provided by the caller that will be used to write the log entries. The format must be serviceAccount:some@email. This field can only be specified when you are routing logs to a log bucket that is in a different project than the sink. When not specified, a Logging service account will automatically be generated.", +"location": "query", +"type": "string" +}, +"sinkName": { +"description": "Required. The full resource name of the sink to update, including the parent resource and the sink identifier: \"projects/[PROJECT_ID]/sinks/[SINK_ID]\" \"organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]\" \"folders/[FOLDER_ID]/sinks/[SINK_ID]\" For example:\"projects/my-project/sinks/my-sink\"", +"location": "path", +"pattern": "^projects/[^/]+/sinks/[^/]+$", +"required": true, +"type": "string" +}, +"uniqueWriterIdentity": { +"description": "Optional. See sinks.create for a description of this field. When updating a sink, the effect of this field on the value of writer_identity in the updated sink depends on both the old and new values of this field: If the old and new values of this field are both false or both true, then there is no change to the sink's writer_identity. If the old value is false and the new value is true, then writer_identity is changed to a service agent (https://docs.cloud.google.com/iam/docs/service-account-types#service-agents) owned by Cloud Logging. It is an error if the old value is true and the new value is set to false or defaulted to false.", +"location": "query", +"type": "boolean" +}, +"updateMask": { +"description": "Optional. Field mask that specifies the fields in sink that need an update. A sink field will be overwritten if, and only if, it is in the update mask. name and output only fields cannot be updated.An empty updateMask is temporarily treated as using the following mask for backwards compatibility purposes:destination,filter,includeChildrenAt some point in the future, behavior will be removed and specifying an empty updateMask will be an error.For a detailed FieldMask definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.FieldMaskFor example: updateMask=filter", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v2/{+sinkName}", +"request": { +"$ref": "LogSink" +}, +"response": { +"$ref": "LogSink" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/logging.admin" +] +}, +"update": { +"description": "Updates a sink. This method replaces the values of the destination and filter fields of the existing sink with the corresponding values from the new sink.The updated sink might also have a new writer_identity; see the unique_writer_identity field.", +"flatPath": "v2/projects/{projectsId}/sinks/{sinksId}", +"httpMethod": "PUT", +"id": "logging.projects.sinks.update", +"parameterOrder": [ +"sinkName" +], +"parameters": { +"customWriterIdentity": { +"description": "Optional. The service account provided by the caller that will be used to write the log entries. The format must be serviceAccount:some@email. This field can only be specified when you are routing logs to a log bucket that is in a different project than the sink. When not specified, a Logging service account will automatically be generated.", +"location": "query", +"type": "string" +}, +"sinkName": { +"description": "Required. The full resource name of the sink to update, including the parent resource and the sink identifier: \"projects/[PROJECT_ID]/sinks/[SINK_ID]\" \"organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]\" \"folders/[FOLDER_ID]/sinks/[SINK_ID]\" For example:\"projects/my-project/sinks/my-sink\"", +"location": "path", +"pattern": "^projects/[^/]+/sinks/[^/]+$", +"required": true, +"type": "string" +}, +"uniqueWriterIdentity": { +"description": "Optional. See sinks.create for a description of this field. When updating a sink, the effect of this field on the value of writer_identity in the updated sink depends on both the old and new values of this field: If the old and new values of this field are both false or both true, then there is no change to the sink's writer_identity. If the old value is false and the new value is true, then writer_identity is changed to a service agent (https://docs.cloud.google.com/iam/docs/service-account-types#service-agents) owned by Cloud Logging. It is an error if the old value is true and the new value is set to false or defaulted to false.", +"location": "query", +"type": "boolean" +}, +"updateMask": { +"description": "Optional. Field mask that specifies the fields in sink that need an update. A sink field will be overwritten if, and only if, it is in the update mask. name and output only fields cannot be updated.An empty updateMask is temporarily treated as using the following mask for backwards compatibility purposes:destination,filter,includeChildrenAt some point in the future, behavior will be removed and specifying an empty updateMask will be an error.For a detailed FieldMask definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.FieldMaskFor example: updateMask=filter", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v2/{+sinkName}", +"request": { +"$ref": "LogSink" +}, +"response": { +"$ref": "LogSink" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/logging.admin" +] +} +} +} +} +}, +"sinks": { +"methods": { +"create": { +"description": "Creates a sink that exports specified log entries to a destination. The export begins upon ingress, unless the sink's writer_identity is not permitted to write to the destination. A sink can export log entries only from the resource owning the sink.", +"flatPath": "v2/{v2Id}/{v2Id1}/sinks", +"httpMethod": "POST", +"id": "logging.sinks.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"customWriterIdentity": { +"description": "Optional. The service account provided by the caller that will be used to write the log entries. The format must be serviceAccount:some@email. This field can only be specified when you are routing logs to a log bucket that is in a different project than the sink. When not specified, a Logging service account will automatically be generated.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The resource in which to create the sink: \"projects/[PROJECT_ID]\" \"organizations/[ORGANIZATION_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]\" \"folders/[FOLDER_ID]\" For examples:\"projects/my-project\" \"organizations/123456789\"", +"location": "path", +"pattern": "^[^/]+/[^/]+$", +"required": true, +"type": "string" +}, +"uniqueWriterIdentity": { +"description": "Optional. Determines the kind of IAM identity returned as writer_identity in the new sink. If this value is omitted or set to false, and if the sink's parent is a project, then the value returned as writer_identity is the same group or service account used by Cloud Logging before the addition of writer identities to this API. The sink's destination must be in the same project as the sink itself.If this field is set to true, or if the sink is owned by a non-project resource such as an organization, then the value of writer_identity will be a service agent (https://docs.cloud.google.com/iam/docs/service-account-types#service-agents) used by the sinks with the same parent. For more information, see writer_identity in LogSink.", +"location": "query", +"type": "boolean" +} +}, +"path": "v2/{+parent}/sinks", +"request": { +"$ref": "LogSink" +}, +"response": { +"$ref": "LogSink" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/logging.admin" +] +}, +"delete": { +"description": "Deletes a sink. If the sink has a unique writer_identity, then that service account is also deleted.", +"flatPath": "v2/{v2Id}/{v2Id1}/sinks/{sinksId}", +"httpMethod": "DELETE", +"id": "logging.sinks.delete", +"parameterOrder": [ +"sinkName" +], +"parameters": { +"sinkName": { +"description": "Required. The full resource name of the sink to delete, including the parent resource and the sink identifier: \"projects/[PROJECT_ID]/sinks/[SINK_ID]\" \"organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]\" \"folders/[FOLDER_ID]/sinks/[SINK_ID]\" For example:\"projects/my-project/sinks/my-sink\"", +"location": "path", +"pattern": "^[^/]+/[^/]+/sinks/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+sinkName}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/logging.admin" +] +}, +"get": { +"description": "Gets a sink.", +"flatPath": "v2/{v2Id}/{v2Id1}/sinks/{sinksId}", +"httpMethod": "GET", +"id": "logging.sinks.get", +"parameterOrder": [ +"sinkName" +], +"parameters": { +"sinkName": { +"description": "Required. The resource name of the sink: \"projects/[PROJECT_ID]/sinks/[SINK_ID]\" \"organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]\" \"folders/[FOLDER_ID]/sinks/[SINK_ID]\" For example:\"projects/my-project/sinks/my-sink\"", +"location": "path", +"pattern": "^[^/]+/[^/]+/sinks/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+sinkName}", +"response": { +"$ref": "LogSink" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only", +"https://www.googleapis.com/auth/logging.admin", +"https://www.googleapis.com/auth/logging.read" +] +}, +"list": { +"description": "Lists sinks.", +"flatPath": "v2/{v2Id}/{v2Id1}/sinks", +"httpMethod": "GET", +"id": "logging.sinks.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Optional. A filter expression to constrain the sinks returned. Today, this only supports the following strings: '' 'in_scope(\"ALL\")', 'in_scope(\"ANCESTOR\")', 'in_scope(\"DEFAULT\")'.Description of scopes below. ALL: Includes all of the sinks which can be returned in any other scope. ANCESTOR: Includes intercepting sinks owned by ancestor resources. DEFAULT: Includes sinks owned by parent.When the empty string is provided, then the filter 'in_scope(\"DEFAULT\")' is applied.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Optional. The maximum number of results to return from this request. Non-positive values are ignored. The presence of nextPageToken in the response indicates that more results might be available.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. If present, then retrieve the next batch of results from the preceding call to this method. pageToken must be the value of nextPageToken from the previous response. The values of other method parameters should be identical to those in the previous call.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent resource whose sinks are to be listed: \"projects/[PROJECT_ID]\" \"organizations/[ORGANIZATION_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]\" \"folders/[FOLDER_ID]\" ", +"location": "path", +"pattern": "^[^/]+/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+parent}/sinks", +"response": { +"$ref": "ListSinksResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only", +"https://www.googleapis.com/auth/logging.admin", +"https://www.googleapis.com/auth/logging.read" +] +}, +"update": { +"description": "Updates a sink. This method replaces the values of the destination and filter fields of the existing sink with the corresponding values from the new sink.The updated sink might also have a new writer_identity; see the unique_writer_identity field.", +"flatPath": "v2/{v2Id}/{v2Id1}/sinks/{sinksId}", +"httpMethod": "PUT", +"id": "logging.sinks.update", +"parameterOrder": [ +"sinkName" +], +"parameters": { +"customWriterIdentity": { +"description": "Optional. The service account provided by the caller that will be used to write the log entries. The format must be serviceAccount:some@email. This field can only be specified when you are routing logs to a log bucket that is in a different project than the sink. When not specified, a Logging service account will automatically be generated.", +"location": "query", +"type": "string" +}, +"sinkName": { +"description": "Required. The full resource name of the sink to update, including the parent resource and the sink identifier: \"projects/[PROJECT_ID]/sinks/[SINK_ID]\" \"organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]\" \"folders/[FOLDER_ID]/sinks/[SINK_ID]\" For example:\"projects/my-project/sinks/my-sink\"", +"location": "path", +"pattern": "^[^/]+/[^/]+/sinks/[^/]+$", +"required": true, +"type": "string" +}, +"uniqueWriterIdentity": { +"description": "Optional. See sinks.create for a description of this field. When updating a sink, the effect of this field on the value of writer_identity in the updated sink depends on both the old and new values of this field: If the old and new values of this field are both false or both true, then there is no change to the sink's writer_identity. If the old value is false and the new value is true, then writer_identity is changed to a service agent (https://docs.cloud.google.com/iam/docs/service-account-types#service-agents) owned by Cloud Logging. It is an error if the old value is true and the new value is set to false or defaulted to false.", +"location": "query", +"type": "boolean" +}, +"updateMask": { +"description": "Optional. Field mask that specifies the fields in sink that need an update. A sink field will be overwritten if, and only if, it is in the update mask. name and output only fields cannot be updated.An empty updateMask is temporarily treated as using the following mask for backwards compatibility purposes:destination,filter,includeChildrenAt some point in the future, behavior will be removed and specifying an empty updateMask will be an error.For a detailed FieldMask definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.FieldMaskFor example: updateMask=filter", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v2/{+sinkName}", +"request": { +"$ref": "LogSink" +}, +"response": { +"$ref": "LogSink" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/logging.admin" +] +} +} +}, +"v2": { +"methods": { +"getCmekSettings": { +"description": "Gets the Logging CMEK settings for the given resource.Note: CMEK for the Log Router can be configured for Google Cloud projects, folders, organizations, and billing accounts. Once configured for an organization, it applies to all projects and folders in the Google Cloud organization.See Configure CMEK for Cloud Logging (https://docs.cloud.google.com/logging/docs/routing/managed-encryption) for more information.", +"flatPath": "v2/{v2Id}/{v2Id1}/cmekSettings", +"httpMethod": "GET", +"id": "logging.getCmekSettings", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource for which to retrieve CMEK settings. \"projects/[PROJECT_ID]/cmekSettings\" \"organizations/[ORGANIZATION_ID]/cmekSettings\" \"billingAccounts/[BILLING_ACCOUNT_ID]/cmekSettings\" \"folders/[FOLDER_ID]/cmekSettings\" For example:\"organizations/12345/cmekSettings\"Note: CMEK for the Log Router can be configured for Google Cloud projects, folders, organizations, and billing accounts. Once configured for an organization, it applies to all projects and folders in the Google Cloud organization.", +"location": "path", +"pattern": "^[^/]+/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+name}/cmekSettings", +"response": { +"$ref": "CmekSettings" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only", +"https://www.googleapis.com/auth/logging.admin", +"https://www.googleapis.com/auth/logging.read" +] +}, +"getSettings": { +"description": "Gets the settings for the given resource.Note: Settings can be retrieved for Google Cloud projects, folders, organizations, and billing accounts.See View default resource settings for Logging (https://docs.cloud.google.com/logging/docs/default-settings#view-org-settings) for more information.", +"flatPath": "v2/{v2Id}/{v2Id1}/settings", +"httpMethod": "GET", +"id": "logging.getSettings", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource for which to retrieve settings. \"projects/[PROJECT_ID]/settings\" \"organizations/[ORGANIZATION_ID]/settings\" \"billingAccounts/[BILLING_ACCOUNT_ID]/settings\" \"folders/[FOLDER_ID]/settings\" For example:\"organizations/12345/settings\"Note: Settings can be retrieved for Google Cloud projects, folders, organizations, and billing accounts.", +"location": "path", +"pattern": "^[^/]+/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+name}/settings", +"response": { +"$ref": "Settings" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only", +"https://www.googleapis.com/auth/logging.admin", +"https://www.googleapis.com/auth/logging.read" +] +}, +"updateCmekSettings": { +"description": "Updates the Log Router CMEK settings for the given resource.Note: CMEK for the Log Router can currently only be configured for Google Cloud organizations. Once configured, it applies to all projects and folders in the Google Cloud organization.UpdateCmekSettings fails when any of the following are true: The value of kms_key_name is invalid. The associated service account doesn't have the required roles/cloudkms.cryptoKeyEncrypterDecrypter role assigned for the key. Access to the key is disabled.See Configure CMEK for Cloud Logging (https://docs.cloud.google.com/logging/docs/routing/managed-encryption) for more information.", +"flatPath": "v2/{v2Id}/{v2Id1}/cmekSettings", +"httpMethod": "PATCH", +"id": "logging.updateCmekSettings", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name for the CMEK settings to update. \"projects/[PROJECT_ID]/cmekSettings\" \"organizations/[ORGANIZATION_ID]/cmekSettings\" \"billingAccounts/[BILLING_ACCOUNT_ID]/cmekSettings\" \"folders/[FOLDER_ID]/cmekSettings\" For example:\"organizations/12345/cmekSettings\"Note: CMEK for the Log Router can currently only be configured for Google Cloud organizations. Once configured, it applies to all projects and folders in the Google Cloud organization.", +"location": "path", +"pattern": "^[^/]+/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Optional. Field mask identifying which fields from cmek_settings should be updated. A field will be overwritten if and only if it is in the update mask. Output only fields cannot be updated.See FieldMask for more information.For example: \"updateMask=kmsKeyName\"", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v2/{+name}/cmekSettings", +"request": { +"$ref": "CmekSettings" +}, +"response": { +"$ref": "CmekSettings" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/logging.admin" +] +}, +"updateSettings": { +"description": "Updates the settings for the given resource. This method applies to all feature configurations for organization and folders.UpdateSettings fails when any of the following are true: The value of storage_location either isn't supported by Logging or violates the location OrgPolicy. The default_sink_config field is set, but it has an unspecified filter write mode. The value of kms_key_name is invalid. The associated service account doesn't have the required roles/cloudkms.cryptoKeyEncrypterDecrypter role assigned for the key. Access to the key is disabled.See Configure default settings for organizations and folders (https://docs.cloud.google.com/logging/docs/default-settings) for more information.", +"flatPath": "v2/{v2Id}/{v2Id1}/settings", +"httpMethod": "PATCH", +"id": "logging.updateSettings", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name for the settings to update. \"organizations/[ORGANIZATION_ID]/settings\" \"folders/[FOLDER_ID]/settings\" For example:\"organizations/12345/settings\"", +"location": "path", +"pattern": "^[^/]+/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Optional. Field mask identifying which fields from settings should be updated. A field will be overwritten if and only if it is in the update mask. Output only fields cannot be updated.See FieldMask for more information.For example: \"updateMask=kmsKeyName\"", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v2/{+name}/settings", +"request": { +"$ref": "Settings" +}, +"response": { +"$ref": "Settings" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/logging.admin" +] +} +} +} +}, +"revision": "20260130", +"rootUrl": "https://logging.googleapis.com/", +"schemas": { +"AppHub": { +"description": "Metadata associated with App Hub.", +"id": "AppHub", +"properties": { +"application": { +"$ref": "AppHubApplication", +"description": "Metadata associated with the application." +}, +"service": { +"$ref": "AppHubService", +"description": "Metadata associated with the service." +}, +"workload": { +"$ref": "AppHubWorkload", +"description": "Metadata associated with the workload." +} +}, +"type": "object" +}, +"AppHubApplication": { +"description": "Resource identifiers associated with an AppHub application AppHub resources are of the form projects//locations//applications/ projects//locations//applications//services/ projects//locations//applications//workloads/ These resources can be reconstructed from the components below.", +"id": "AppHubApplication", +"properties": { +"container": { +"description": "Resource container that owns the application. Example: \"projects/management_project\"", +"type": "string" +}, +"id": { +"description": "Application Id. Example: \"my-app\"", +"type": "string" +}, +"location": { +"description": "Location associated with the Application. Example: \"us-east1\"", +"type": "string" +} +}, +"type": "object" +}, +"AppHubService": { +"description": "Metadata associated with an App Hub service.", +"id": "AppHubService", +"properties": { +"criticalityType": { +"description": "Service criticality type Example: \"CRITICAL\"", +"type": "string" +}, +"environmentType": { +"description": "Service environment type Example: \"DEV\"", +"type": "string" +}, +"id": { +"description": "Service Id. Example: \"my-service\"", +"type": "string" +} +}, +"type": "object" +}, +"AppHubWorkload": { +"description": "Metadata associated with an App Hub workload.", +"id": "AppHubWorkload", +"properties": { +"criticalityType": { +"description": "Workload criticality type Example: \"CRITICAL\"", +"type": "string" +}, +"environmentType": { +"description": "Workload environment type Example: \"DEV\"", +"type": "string" +}, +"id": { +"description": "Workload Id. Example: \"my-workload\"", +"type": "string" +} +}, +"type": "object" +}, +"BigQueryDataset": { +"description": "Describes a BigQuery dataset that was created by a link.", +"id": "BigQueryDataset", +"properties": { +"datasetId": { +"description": "Output only. The full resource name of the BigQuery dataset. The DATASET_ID will match the ID of the link, so the link must match the naming restrictions of BigQuery datasets (alphanumeric characters and underscores only).The dataset will have a resource path of \"bigquery.googleapis.com/projects/PROJECT_ID/datasets/DATASET_ID\"", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"BigQueryOptions": { +"description": "Options that change functionality of a sink exporting data to BigQuery.", +"id": "BigQueryOptions", +"properties": { +"usePartitionedTables": { +"description": "Optional. Whether to use BigQuery's partition tables (https://docs.cloud.google.com/bigquery/docs/partitioned-tables). By default, Cloud Logging creates dated tables based on the log entries' timestamps, e.g. syslog_20170523. With partitioned tables the date suffix is no longer present and special query syntax (https://docs.cloud.google.com/bigquery/docs/querying-partitioned-tables) has to be used instead. In both cases, tables are sharded based on UTC timezone.", +"type": "boolean" +}, +"usesTimestampColumnPartitioning": { +"description": "Output only. True if new timestamp column based partitioning is in use, false if legacy ingress-time partitioning is in use.All new sinks will have this field set true and will use timestamp column based partitioning. If use_partitioned_tables is false, this value has no meaning and will be false. Legacy sinks using partitioned tables will have this field set to false.", +"readOnly": true, +"type": "boolean" +} +}, +"type": "object" +}, +"Binding": { +"description": "Associates members, or principals, with a role.", +"id": "Binding", +"properties": { +"condition": { +"$ref": "Expr", +"description": "The condition that is associated with this binding.If the condition evaluates to true, then this binding applies to the current request.If the condition evaluates to false, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding.To learn which resources support conditions in their IAM policies, see the IAM documentation (https://cloud.google.com/iam/help/conditions/resource-policies)." +}, +"members": { +"description": "Specifies the principals requesting access for a Google Cloud resource. members can have the following values: allUsers: A special identifier that represents anyone who is on the internet; with or without a Google account. allAuthenticatedUsers: A special identifier that represents anyone who is authenticated with a Google account or a service account. Does not include identities that come from external identity providers (IdPs) through identity federation. user:{emailid}: An email address that represents a specific Google account. For example, alice@example.com . serviceAccount:{emailid}: An email address that represents a Google service account. For example, my-other-app@appspot.gserviceaccount.com. serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]: An identifier for a Kubernetes service account (https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, my-project.svc.id.goog[my-namespace/my-kubernetes-sa]. group:{emailid}: An email address that represents a Google group. For example, admins@example.com. domain:{domain}: The G Suite domain (primary) that represents all the users of that domain. For example, google.com or example.com. principal://iam.googleapis.com/locations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}: A single identity in a workforce identity pool. principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/group/{group_id}: All workforce identities in a group. principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/attribute.{attribute_name}/{attribute_value}: All workforce identities with a specific attribute value. principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/*: All identities in a workforce identity pool. principal://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/subject/{subject_attribute_value}: A single identity in a workload identity pool. principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/group/{group_id}: A workload identity pool group. principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/attribute.{attribute_name}/{attribute_value}: All identities in a workload identity pool with a certain attribute. principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/*: All identities in a workload identity pool. deleted:user:{emailid}?uid={uniqueid}: An email address (plus unique identifier) representing a user that has been recently deleted. For example, alice@example.com?uid=123456789012345678901. If the user is recovered, this value reverts to user:{emailid} and the recovered user retains the role in the binding. deleted:serviceAccount:{emailid}?uid={uniqueid}: An email address (plus unique identifier) representing a service account that has been recently deleted. For example, my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901. If the service account is undeleted, this value reverts to serviceAccount:{emailid} and the undeleted service account retains the role in the binding. deleted:group:{emailid}?uid={uniqueid}: An email address (plus unique identifier) representing a Google group that has been recently deleted. For example, admins@example.com?uid=123456789012345678901. If the group is recovered, this value reverts to group:{emailid} and the recovered group retains the role in the binding. deleted:principal://iam.googleapis.com/locations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}: Deleted single identity in a workforce identity pool. For example, deleted:principal://iam.googleapis.com/locations/global/workforcePools/my-pool-id/subject/my-subject-attribute-value.", +"items": { +"type": "string" +}, +"type": "array" +}, +"role": { +"description": "Role that is assigned to the list of members, or principals. For example, roles/viewer, roles/editor, or roles/owner.For an overview of the IAM roles and permissions, see the IAM documentation (https://cloud.google.com/iam/docs/roles-overview). For a list of the available pre-defined roles, see here (https://cloud.google.com/iam/docs/understanding-roles).", +"type": "string" +} +}, +"type": "object" +}, +"BucketMetadata": { +"description": "Metadata for LongRunningUpdateBucket Operations.", +"id": "BucketMetadata", +"properties": { +"createBucketRequest": { +"$ref": "CreateBucketRequest", +"description": "LongRunningCreateBucket RPC request." +}, +"endTime": { +"description": "The end time of an operation.", +"format": "google-datetime", +"type": "string" +}, +"startTime": { +"description": "The create time of an operation.", +"format": "google-datetime", +"type": "string" +}, +"state": { +"description": "Output only. State of an operation.", +"enum": [ +"OPERATION_STATE_UNSPECIFIED", +"OPERATION_STATE_SCHEDULED", +"OPERATION_STATE_WAITING_FOR_PERMISSIONS", +"OPERATION_STATE_RUNNING", +"OPERATION_STATE_SUCCEEDED", +"OPERATION_STATE_FAILED", +"OPERATION_STATE_CANCELLED", +"OPERATION_STATE_PENDING" +], +"enumDescriptions": [ +"Should not be used.", +"The operation is scheduled.", +"Waiting for necessary permissions.", +"The operation is running.", +"The operation was completed successfully.", +"The operation failed.", +"The operation was cancelled by the user.", +"The operation is waiting for quota." +], +"readOnly": true, +"type": "string" +}, +"updateBucketRequest": { +"$ref": "UpdateBucketRequest", +"description": "LongRunningUpdateBucket RPC request." +} +}, +"type": "object" +}, +"BucketOptions": { +"description": "BucketOptions describes the bucket boundaries used to create a histogram for the distribution. The buckets can be in a linear sequence, an exponential sequence, or each bucket can be specified explicitly. BucketOptions does not include the number of values in each bucket.A bucket has an inclusive lower bound and exclusive upper bound for the values that are counted for that bucket. The upper bound of a bucket must be strictly greater than the lower bound. The sequence of N buckets for a distribution consists of an underflow bucket (number 0), zero or more finite buckets (number 1 through N - 2) and an overflow bucket (number N - 1). The buckets are contiguous: the lower bound of bucket i (i > 0) is the same as the upper bound of bucket i - 1. The buckets span the whole range of finite values: lower bound of the underflow bucket is -infinity and the upper bound of the overflow bucket is +infinity. The finite buckets are so-called because both bounds are finite.", +"id": "BucketOptions", +"properties": { +"explicitBuckets": { +"$ref": "Explicit", +"description": "The explicit buckets." +}, +"exponentialBuckets": { +"$ref": "Exponential", +"description": "The exponential buckets." +}, +"linearBuckets": { +"$ref": "Linear", +"description": "The linear bucket." +} +}, +"type": "object" +}, +"CancelOperationRequest": { +"description": "The request message for Operations.CancelOperation.", +"id": "CancelOperationRequest", +"properties": {}, +"type": "object" +}, +"CmekSettings": { +"description": "Describes the customer-managed encryption key (CMEK) settings associated with a project, folder, organization, billing account, or flexible resource.Note: CMEK for the Log Router can currently only be configured for Google Cloud organizations. Once configured, it applies to all projects and folders in the Google Cloud organization.See Configure CMEK for Cloud Logging (https://docs.cloud.google.com/logging/docs/routing/managed-encryption) for more information.", +"id": "CmekSettings", +"properties": { +"kmsKeyName": { +"description": "Optional. The resource name for the configured Cloud KMS key.KMS key name format: \"projects/[PROJECT_ID]/locations/[LOCATION]/keyRings/[KEYRING]/cryptoKeys/[KEY]\" For example:\"projects/my-project/locations/us-central1/keyRings/my-ring/cryptoKeys/my-key\"To enable CMEK for the Log Router, set this field to a valid kms_key_name for which the associated service account has the needed cloudkms.cryptoKeyEncrypterDecrypter roles assigned for the key.The Cloud KMS key used by the Log Router can be updated by changing the kms_key_name to a new valid key name or disabled by setting the key name to an empty string. Encryption operations that are in progress will be completed with the key that was in use when they started. Decryption operations will be completed using the key that was used at the time of encryption unless access to that key has been revoked.To disable CMEK for the Log Router, set this field to an empty string.See Configure CMEK for Cloud Logging (https://docs.cloud.google.com/logging/docs/routing/managed-encryption) for more information.", +"type": "string" +}, +"kmsKeyVersionName": { +"description": "Output only. The CryptoKeyVersion resource name for the configured Cloud KMS key.KMS key name format: \"projects/[PROJECT_ID]/locations/[LOCATION]/keyRings/[KEYRING]/cryptoKeys/[KEY]/cryptoKeyVersions/[VERSION]\" For example:\"projects/my-project/locations/us-central1/keyRings/my-ring/cryptoKeys/my-key/cryptoKeyVersions/1\"This is a read-only field used to convey the specific configured CryptoKeyVersion of kms_key that has been configured. It will be populated in cases where the CMEK settings are bound to a single key version.If this field is populated, the kms_key is tied to a specific CryptoKeyVersion.", +"readOnly": true, +"type": "string" +}, +"name": { +"description": "Output only. The resource name of the CMEK settings.", +"readOnly": true, +"type": "string" +}, +"serviceAccountId": { +"description": "Output only. The service account that will be used by the Log Router to access your Cloud KMS key.Before enabling CMEK for Log Router, you must first assign the cloudkms.cryptoKeyEncrypterDecrypter role to the service account that the Log Router will use to access your Cloud KMS key. Use GetCmekSettings to obtain the service account ID.See Configure CMEK for Cloud Logging (https://docs.cloud.google.com/logging/docs/routing/managed-encryption) for more information.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"CopyLogEntriesMetadata": { +"description": "Metadata for CopyLogEntries long running operations.", +"id": "CopyLogEntriesMetadata", +"properties": { +"cancellationRequested": { +"description": "Identifies whether the user has requested cancellation of the operation.", +"type": "boolean" +}, +"destination": { +"description": "Destination to which to copy log entries.For example, a Cloud Storage bucket:\"storage.googleapis.com/my-cloud-storage-bucket\"", +"type": "string" +}, +"endTime": { +"description": "The end time of an operation.", +"format": "google-datetime", +"type": "string" +}, +"progress": { +"description": "Estimated progress of the operation (0 - 100%).", +"format": "int32", +"type": "integer" +}, +"request": { +"$ref": "CopyLogEntriesRequest", +"deprecated": true, +"description": "CopyLogEntries RPC request. This field is deprecated and not used." +}, +"source": { +"description": "Source from which to copy log entries.For example, a log bucket:\"projects/my-project/locations/global/buckets/my-source-bucket\"", +"type": "string" +}, +"startTime": { +"description": "The create time of an operation.", +"format": "google-datetime", +"type": "string" +}, +"state": { +"description": "Output only. State of an operation.", +"enum": [ +"OPERATION_STATE_UNSPECIFIED", +"OPERATION_STATE_SCHEDULED", +"OPERATION_STATE_WAITING_FOR_PERMISSIONS", +"OPERATION_STATE_RUNNING", +"OPERATION_STATE_SUCCEEDED", +"OPERATION_STATE_FAILED", +"OPERATION_STATE_CANCELLED", +"OPERATION_STATE_PENDING" +], +"enumDescriptions": [ +"Should not be used.", +"The operation is scheduled.", +"Waiting for necessary permissions.", +"The operation is running.", +"The operation was completed successfully.", +"The operation failed.", +"The operation was cancelled by the user.", +"The operation is waiting for quota." +], +"readOnly": true, +"type": "string" +}, +"verb": { +"description": "Name of the verb executed by the operation.For example,\"copy\"", +"type": "string" +}, +"writerIdentity": { +"description": "The IAM identity of a service account that must be granted access to the destination.If the service account is not granted permission to the destination within an hour, the operation will be cancelled.For example: \"serviceAccount:foo@bar.com\"", +"type": "string" +} +}, +"type": "object" +}, +"CopyLogEntriesRequest": { +"description": "The parameters to CopyLogEntries.", +"id": "CopyLogEntriesRequest", +"properties": { +"destination": { +"description": "Required. Destination to which to copy log entries. For example: \"storage.googleapis.com/GCS_BUCKET\"", +"type": "string" +}, +"filter": { +"description": "Optional. A filter specifying which log entries to copy. The filter must be no more than 20k characters. An empty filter matches all log entries.", +"type": "string" +}, +"name": { +"description": "Required. Log bucket from which to copy log entries.For example:\"projects/my-project/locations/global/buckets/my-source-bucket\"", +"type": "string" +} +}, +"type": "object" +}, +"CopyLogEntriesResponse": { +"description": "Response type for CopyLogEntries long running operations.", +"id": "CopyLogEntriesResponse", +"properties": { +"logEntriesCopiedCount": { +"description": "Number of log entries copied.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"CreateBucketRequest": { +"description": "The parameters to CreateBucket.", +"id": "CreateBucketRequest", +"properties": { +"bucket": { +"$ref": "LogBucket", +"description": "Required. The new bucket. The region specified in the new bucket must be compliant with any Location Restriction Org Policy. The name field in the bucket is ignored." +}, +"bucketId": { +"description": "Required. A client-assigned identifier such as \"my-bucket\". Identifiers are limited to 100 characters and can include only letters, digits, underscores, hyphens, and periods. Bucket identifiers must start with an alphanumeric character.", +"type": "string" +}, +"parent": { +"description": "Required. The resource in which to create the log bucket: \"projects/[PROJECT_ID]/locations/[LOCATION_ID]\" For example:\"projects/my-project/locations/global\"", +"type": "string" +} +}, +"type": "object" +}, +"CreateLinkRequest": { +"description": "The parameters to CreateLink.", +"id": "CreateLinkRequest", +"properties": { +"link": { +"$ref": "Link", +"description": "Required. The new link." +}, +"linkId": { +"description": "Required. The ID to use for the link. The link_id can have up to 100 characters. A valid link_id must only have alphanumeric characters and underscores within it.", +"type": "string" +}, +"parent": { +"description": "Required. The full resource name of the bucket to create a link for. \"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" ", +"type": "string" +} +}, +"type": "object" +}, +"DefaultSinkConfig": { +"description": "Describes the custom _Default sink configuration that is used to override the built-in _Default sink configuration in newly created resource containers, such as projects or folders.", +"id": "DefaultSinkConfig", +"properties": { +"exclusions": { +"description": "Optional. Specifies the set of exclusions to be added to the _Default sink in newly created resource containers.", +"items": { +"$ref": "LogExclusion" +}, +"type": "array" +}, +"filter": { +"description": "Optional. An advanced logs filter (https://docs.cloud.google.com/logging/docs/view/building-queries#queries-by-expression). The only exported log entries are those that are in the resource owning the sink and that match the filter.For example:logName=\"projects/[PROJECT_ID]/logs/[LOG_ID]\" AND severity>=ERRORTo match all logs, don't add exclusions and use the following line as the value of filter:logName:*Cannot be empty or unset when the value of mode is OVERWRITE.", +"type": "string" +}, +"mode": { +"description": "Required. Determines the behavior to apply to the built-in _Default sink inclusion filter.Exclusions are always appended, as built-in _Default sinks have no exclusions.", +"enum": [ +"FILTER_WRITE_MODE_UNSPECIFIED", +"APPEND", +"OVERWRITE" +], +"enumDescriptions": [ +"The filter's write mode is unspecified. This mode must not be used.", +"The contents of filter will be appended to the built-in _Default sink filter. Using the append mode with an empty filter will keep the sink inclusion filter unchanged.", +"The contents of filter will overwrite the built-in _Default sink filter." +], +"type": "string" +} +}, +"type": "object" +}, +"DeleteLinkRequest": { +"description": "The parameters to DeleteLink.", +"id": "DeleteLinkRequest", +"properties": { +"name": { +"description": "Required. The full resource name of the link to delete. \"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]\" \"organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]\" \"folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]\" ", +"type": "string" +} +}, +"type": "object" +}, +"Empty": { +"description": "A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); } ", +"id": "Empty", +"properties": {}, +"type": "object" +}, +"Explicit": { +"description": "Specifies a set of buckets with arbitrary widths.There are size(bounds) + 1 (= N) buckets. Bucket i has the following boundaries:Upper bound (0 <= i < N-1): boundsi Lower bound (1 <= i < N); boundsi - 1The bounds field must contain at least one element. If bounds has only one element, then there are no finite buckets, and that single element is the common boundary of the overflow and underflow buckets.", +"id": "Explicit", +"properties": { +"bounds": { +"description": "The values must be monotonically increasing.", +"items": { +"format": "double", +"type": "number" +}, +"type": "array" +} +}, +"type": "object" +}, +"Exponential": { +"description": "Specifies an exponential sequence of buckets that have a width that is proportional to the value of the lower bound. Each bucket represents a constant relative uncertainty on a specific value in the bucket.There are num_finite_buckets + 2 (= N) buckets. Bucket i has the following boundaries:Upper bound (0 <= i < N-1): scale * (growth_factor ^ i).Lower bound (1 <= i < N): scale * (growth_factor ^ (i - 1)).", +"id": "Exponential", +"properties": { +"growthFactor": { +"description": "Must be greater than 1.", +"format": "double", +"type": "number" +}, +"numFiniteBuckets": { +"description": "Must be greater than 0.", +"format": "int32", +"type": "integer" +}, +"scale": { +"description": "Must be greater than 0.", +"format": "double", +"type": "number" +} +}, +"type": "object" +}, +"Expr": { +"description": "Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec.Example (Comparison): title: \"Summary size limit\" description: \"Determines if a summary is less than 100 chars\" expression: \"document.summary.size() < 100\" Example (Equality): title: \"Requestor is owner\" description: \"Determines if requestor is the document owner\" expression: \"document.owner == request.auth.claims.email\" Example (Logic): title: \"Public documents\" description: \"Determine whether the document should be publicly visible\" expression: \"document.type != 'private' && document.type != 'internal'\" Example (Data Manipulation): title: \"Notification string\" description: \"Create a notification string with a timestamp.\" expression: \"'New message received at ' + string(document.create_time)\" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information.", +"id": "Expr", +"properties": { +"description": { +"description": "Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI.", +"type": "string" +}, +"expression": { +"description": "Textual representation of an expression in Common Expression Language syntax.", +"type": "string" +}, +"location": { +"description": "Optional. String indicating the location of the expression for error reporting, e.g. a file name and a position in the file.", +"type": "string" +}, +"title": { +"description": "Optional. Title for the expression, i.e. a short string describing its purpose. This can be used e.g. in UIs which allow to enter the expression.", +"type": "string" +} +}, +"type": "object" +}, +"FieldSource": { +"description": "A source that can be used to represent a field within various parts of a structured query, such as in SELECT, WHERE, or ORDER BY clauses.", +"id": "FieldSource", +"properties": { +"aliasRef": { +"description": "The alias name for a field that has already been aliased within a different ProjectedField type elsewhere in the query model. The alias must be defined in the QueryBuilderConfig's field_sources list, otherwise the model is invalid.", +"type": "string" +}, +"columnType": { +"description": "The type of the selected field. This comes from the schema. Can be one of the BigQuery data types: - STRING - INT64 - FLOAT64 - BOOL - TIMESTAMP - DATE - RECORD - JSON", +"type": "string" +}, +"field": { +"description": "The fully qualified, dot-delimited path to the selected atomic field (the leaf value). This path is used for primary selection and actions like drill-down or projection.The path components should match the exact field names or keys as they appear in the underlying data schema. For JSON fields, this means respecting the original casing (e.g., camelCase or snake_case as present in the JSON).To reference field names containing special characters (e.g., hyphens, spaces), enclose the individual path segment in backticks (`).Examples: * json_payload.labels.message * json_payload.request_id * httpRequest.status * json_payload.\\my-custom-field`.value *jsonPayload.`my key with spaces`.data`", +"type": "string" +}, +"isJson": { +"description": "Whether the field is a JSON field, or has a parent that is a JSON field. This value is used to determine JSON extractions in generated SQL queries. Note that this is_json flag may be true when the column_type is not JSON if the parent is a JSON field. Ex: - A json_payload.message field might have is_json=true, since the 'json_payload' parent is of type JSON, and columnType='STRING' if the 'message' field is of type STRING.", +"type": "boolean" +}, +"parentPath": { +"description": "The dot-delimited path of the parent container that holds the target field.This path defines the structural hierarchy and is essential for correctly generating SQL when field keys contain special characters (e.g., dots or brackets).Example: json_payload.labels (This points to the 'labels' object). This is an empty string if the target field is at the root level.", +"type": "string" +}, +"projectedField": { +"$ref": "ProjectedField", +"description": "A projected field option for when a user wants to use a field with some additional transformations such as casting or extractions." +} +}, +"type": "object" +}, +"FilterExpression": { +"description": "This is a leaf of the FilterPredicate. Ex: { field: json_payload.message.error_code, filter_value: {numeric_value: 400}, comparator: EQUAL_TO} The field will be schema field that is selected using the . annotation to display the drill down value. The value will be the user inputted text that the filter is comparing against.", +"id": "FilterExpression", +"properties": { +"comparator": { +"description": "The comparison type to use for the filter.", +"enum": [ +"COMPARATOR_UNSPECIFIED", +"EQUALS", +"MATCHES_REGEXP", +"GREATER_THAN", +"LESS_THAN", +"GREATER_THAN_EQUALS", +"LESS_THAN_EQUALS", +"IS_NULL", +"IN", +"LIKE" +], +"enumDescriptions": [ +"Invalid value, do not use.", +"The value is equal to the inputted value.", +"The value is equal to the inputted regex value.", +"The value is greater than the inputted value.", +"The value is less than the inputted value.", +"The value is greater than or equal to the inputted value.", +"The value is less than or equal to the inputted value.", +"Requires the filter_value to be a Value type with null_value set to true.", +"The value is in the inputted array value.", +"The value is like the inputted value." +], +"type": "string" +}, +"fieldSource": { +"$ref": "FieldSource", +"description": "Can be one of the FieldSource types: field name, alias ref, variable ref, or a literal value." +}, +"fieldSourceValue": { +"$ref": "FieldSource", +"description": "The field. This will be the field that is set as the Right Hand Side of the filter." +}, +"isNegation": { +"description": "Determines if the NOT flag should be added to the comparator.", +"type": "boolean" +}, +"literalValue": { +"description": "The Value will be used to hold user defined constants set as the Right Hand Side of the filter.", +"type": "any" +} +}, +"type": "object" +}, +"FilterPredicate": { +"description": "A filter for a query. This equates to the WHERE clause in SQL.", +"id": "FilterPredicate", +"properties": { +"childPredicates": { +"description": "The children of the filter predicate. This equates to the branches of the filter predicate that could contain further nested leaves.", +"items": { +"$ref": "FilterPredicate" +}, +"type": "array" +}, +"leafPredicate": { +"$ref": "FilterExpression", +"description": "The leaves of the filter predicate. This equates to the last leaves of the filter predicate associated with an operator." +}, +"operatorType": { +"description": "The operator type for the filter. Currently there is no support for multiple levels of nesting, so this will be a single value with no joining of different operator types", +"enum": [ +"OPERATOR_TYPE_UNSPECIFIED", +"AND", +"OR", +"LEAF" +], +"enumDescriptions": [ +"Invalid value, do not use.", +"AND will be the default operator type.", +"OR operator type.", +"LEAF operator type." +], +"type": "string" +} +}, +"type": "object" +}, +"FunctionApplication": { +"description": "Defines the aggregation function to apply to this field. This message is used only when operation is set to AGGREGATE.", +"id": "FunctionApplication", +"properties": { +"parameters": { +"description": "Optional. Parameters to be applied to the aggregation. Aggregations that support or require parameters are listed above.", +"items": { +"type": "any" +}, +"type": "array" +}, +"type": { +"description": "Required. Specifies the aggregation function. Use one of the following string identifiers: \"average\": Computes the average (AVG). Applies only to numeric values. \"count\": Counts the number of values (COUNT). \"count-distinct\": Counts the number of distinct values (COUNT DISTINCT). \"count-distinct-approx\": Approximates the count of distinct values (APPROX_COUNT_DISTINCT). \"max\": Finds the maximum value (MAX). Applies only to numeric values. \"min\": Finds the minimum value (MIN). Applies only to numeric values. \"sum\": Computes the sum (SUM). Applies only to numeric values.", +"type": "string" +} +}, +"type": "object" +}, +"GetIamPolicyRequest": { +"description": "Request message for GetIamPolicy method.", +"id": "GetIamPolicyRequest", +"properties": { +"options": { +"$ref": "GetPolicyOptions", +"description": "OPTIONAL: A GetPolicyOptions object for specifying options to GetIamPolicy." +} +}, +"type": "object" +}, +"GetPolicyOptions": { +"description": "Encapsulates settings provided to GetIamPolicy.", +"id": "GetPolicyOptions", +"properties": { +"requestedPolicyVersion": { +"description": "Optional. The maximum policy version that will be used to format the policy.Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected.Requests for policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset.The policy in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional role bindings, the response uses version 1.To learn which resources support conditions in their IAM policies, see the IAM documentation (https://cloud.google.com/iam/help/conditions/resource-policies).", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"HttpRequest": { +"description": "A common proto for logging HTTP requests. Only contains semantics defined by the HTTP specification. Product-specific logging information MUST be defined in a separate message.", +"id": "HttpRequest", +"properties": { +"cacheFillBytes": { +"description": "The number of HTTP response bytes inserted into cache. Set only when a cache fill was attempted.", +"format": "int64", +"type": "string" +}, +"cacheHit": { +"description": "Whether or not an entity was served from cache (with or without validation).", +"type": "boolean" +}, +"cacheLookup": { +"description": "Whether or not a cache lookup was attempted.", +"type": "boolean" +}, +"cacheValidatedWithOriginServer": { +"description": "Whether or not the response was validated with the origin server before being served from cache. This field is only meaningful if cache_hit is True.", +"type": "boolean" +}, +"latency": { +"description": "The request processing latency on the server, from the time the request was received until the response was sent. For WebSocket connections, this field refers to the entire time duration of the connection.", +"format": "google-duration", +"type": "string" +}, +"protocol": { +"description": "Protocol used for the request. Examples: \"HTTP/1.1\", \"HTTP/2\"", +"type": "string" +}, +"referer": { +"description": "The referer URL of the request, as defined in HTTP/1.1 Header Field Definitions (https://datatracker.ietf.org/doc/html/rfc2616#section-14.36).", +"type": "string" +}, +"remoteIp": { +"description": "The IP address (IPv4 or IPv6) of the client that issued the HTTP request. This field can include port information. Examples: \"192.168.1.1\", \"10.0.0.1:80\", \"FE80::0202:B3FF:FE1E:8329\".", +"type": "string" +}, +"requestMethod": { +"description": "The request method. Examples: \"GET\", \"HEAD\", \"PUT\", \"POST\".", +"type": "string" +}, +"requestSize": { +"description": "The size of the HTTP request message in bytes, including the request headers and the request body.", +"format": "int64", +"type": "string" +}, +"requestUrl": { +"description": "The scheme (http, https), the host name, the path and the query portion of the URL that was requested. Example: \"http://example.com/some/info?color=red\".", +"type": "string" +}, +"responseSize": { +"description": "The size of the HTTP response message sent back to the client, in bytes, including the response headers and the response body.", +"format": "int64", +"type": "string" +}, +"serverIp": { +"description": "The IP address (IPv4 or IPv6) of the origin server that the request was sent to. This field can include port information. Examples: \"192.168.1.1\", \"10.0.0.1:80\", \"FE80::0202:B3FF:FE1E:8329\".", +"type": "string" +}, +"status": { +"description": "The response code indicating the status of response. Examples: 200, 404.", +"format": "int32", +"type": "integer" +}, +"userAgent": { +"description": "The user agent sent by the client. Example: \"Mozilla/4.0 (compatible; MSIE 6.0; Windows 98; Q312461; .NET CLR 1.0.3705)\".", +"type": "string" +} +}, +"type": "object" +}, +"IndexConfig": { +"description": "Configuration for an indexed field.", +"id": "IndexConfig", +"properties": { +"createTime": { +"description": "Output only. The timestamp when the index was last modified.This is used to return the timestamp, and will be ignored if supplied during update.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"fieldPath": { +"description": "Required. The LogEntry field path to index.Note that some paths are automatically indexed, and other paths are not eligible for indexing. See indexing documentation( https://docs.cloud.google.com/logging/docs/analyze/custom-index) for details.For example: jsonPayload.request.status", +"type": "string" +}, +"type": { +"description": "Required. The type of data in this index.", +"enum": [ +"INDEX_TYPE_UNSPECIFIED", +"INDEX_TYPE_STRING", +"INDEX_TYPE_INTEGER" +], +"enumDescriptions": [ +"The index's type is unspecified.", +"The index is a string-type index.", +"The index is a integer-type index." +], +"type": "string" +} +}, +"type": "object" +}, +"LabelDescriptor": { +"description": "A description of a label.", +"id": "LabelDescriptor", +"properties": { +"description": { +"description": "A human-readable description for the label.", +"type": "string" +}, +"key": { +"description": "The label key.", +"type": "string" +}, +"valueType": { +"description": "The type of data that can be assigned to the label.", +"enum": [ +"STRING", +"BOOL", +"INT64" +], +"enumDescriptions": [ +"A variable-length string. This is the default.", +"Boolean; true or false.", +"A 64-bit signed integer." +], +"type": "string" +} +}, +"type": "object" +}, +"Linear": { +"description": "Specifies a linear sequence of buckets that all have the same width (except overflow and underflow). Each bucket represents a constant absolute uncertainty on the specific value in the bucket.There are num_finite_buckets + 2 (= N) buckets. Bucket i has the following boundaries:Upper bound (0 <= i < N-1): offset + (width * i).Lower bound (1 <= i < N): offset + (width * (i - 1)).", +"id": "Linear", +"properties": { +"numFiniteBuckets": { +"description": "Must be greater than 0.", +"format": "int32", +"type": "integer" +}, +"offset": { +"description": "Lower bound of the first bucket.", +"format": "double", +"type": "number" +}, +"width": { +"description": "Must be greater than 0.", +"format": "double", +"type": "number" +} +}, +"type": "object" +}, +"Link": { +"description": "Describes a link connected to an analytics enabled bucket.", +"id": "Link", +"properties": { +"bigqueryDataset": { +"$ref": "BigQueryDataset", +"description": "Optional. The information of a BigQuery Dataset. When a link is created, a BigQuery dataset is created along with it, in the same project as the LogBucket it's linked to. This dataset will also have BigQuery Views corresponding to the LogViews in the bucket." +}, +"createTime": { +"description": "Output only. The creation timestamp of the link.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"description": { +"description": "Optional. Describes this link.The maximum length of the description is 8000 characters.", +"type": "string" +}, +"lifecycleState": { +"description": "Output only. The resource lifecycle state.", +"enum": [ +"LIFECYCLE_STATE_UNSPECIFIED", +"ACTIVE", +"DELETE_REQUESTED", +"UPDATING", +"CREATING", +"FAILED" +], +"enumDescriptions": [ +"Unspecified state. This is only used/useful for distinguishing unset values.", +"The normal and active state.", +"The resource has been marked for deletion by the user. For some resources (e.g. buckets), this can be reversed by an un-delete operation.", +"The resource has been marked for an update by the user. It will remain in this state until the update is complete.", +"The resource has been marked for creation by the user. It will remain in this state until the creation is complete.", +"The resource is in an INTERNAL error state." +], +"readOnly": true, +"type": "string" +}, +"name": { +"description": "Output only. The resource name of the link. The name can have up to 100 characters. A valid link id (at the end of the link name) must only have alphanumeric characters and underscores within it. \"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]\" \"organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]\" \"folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]\" For example:`projects/my-project/locations/global/buckets/my-bucket/links/my_link", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"LinkMetadata": { +"description": "Metadata for long running Link operations.", +"id": "LinkMetadata", +"properties": { +"createLinkRequest": { +"$ref": "CreateLinkRequest", +"description": "CreateLink RPC request." +}, +"deleteLinkRequest": { +"$ref": "DeleteLinkRequest", +"description": "DeleteLink RPC request." +}, +"endTime": { +"description": "The end time of an operation.", +"format": "google-datetime", +"type": "string" +}, +"startTime": { +"description": "The start time of an operation.", +"format": "google-datetime", +"type": "string" +}, +"state": { +"description": "Output only. State of an operation.", +"enum": [ +"OPERATION_STATE_UNSPECIFIED", +"OPERATION_STATE_SCHEDULED", +"OPERATION_STATE_WAITING_FOR_PERMISSIONS", +"OPERATION_STATE_RUNNING", +"OPERATION_STATE_SUCCEEDED", +"OPERATION_STATE_FAILED", +"OPERATION_STATE_CANCELLED", +"OPERATION_STATE_PENDING" +], +"enumDescriptions": [ +"Should not be used.", +"The operation is scheduled.", +"Waiting for necessary permissions.", +"The operation is running.", +"The operation was completed successfully.", +"The operation failed.", +"The operation was cancelled by the user.", +"The operation is waiting for quota." +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"ListBucketsResponse": { +"description": "The response from ListBuckets.", +"id": "ListBucketsResponse", +"properties": { +"buckets": { +"description": "A list of buckets.", +"items": { +"$ref": "LogBucket" +}, +"type": "array" +}, +"nextPageToken": { +"description": "If there might be more results than appear in this response, then nextPageToken is included. To get the next set of results, call the same method again using the value of nextPageToken as pageToken.", +"type": "string" +} +}, +"type": "object" +}, +"ListExclusionsResponse": { +"description": "Result returned from ListExclusions.", +"id": "ListExclusionsResponse", +"properties": { +"exclusions": { +"description": "A list of exclusions.", +"items": { +"$ref": "LogExclusion" +}, +"type": "array" +}, +"nextPageToken": { +"description": "If there might be more results than appear in this response, then nextPageToken is included. To get the next set of results, call the same method again using the value of nextPageToken as pageToken.", +"type": "string" +} +}, +"type": "object" +}, +"ListLinksResponse": { +"description": "The response from ListLinks.", +"id": "ListLinksResponse", +"properties": { +"links": { +"description": "A list of links.", +"items": { +"$ref": "Link" +}, +"type": "array" +}, +"nextPageToken": { +"description": "If there might be more results than those appearing in this response, then nextPageToken is included. To get the next set of results, call the same method again using the value of nextPageToken as pageToken.", +"type": "string" +} +}, +"type": "object" +}, +"ListLocationsResponse": { +"description": "The response message for Locations.ListLocations.", +"id": "ListLocationsResponse", +"properties": { +"locations": { +"description": "A list of locations that matches the specified filter in the request.", +"items": { +"$ref": "Location" +}, +"type": "array" +}, +"nextPageToken": { +"description": "The standard List next-page token.", +"type": "string" +} +}, +"type": "object" +}, +"ListLogEntriesRequest": { +"description": "The parameters to ListLogEntries.", +"id": "ListLogEntriesRequest", +"properties": { +"filter": { +"description": "Optional. A filter that chooses which log entries to return. For more information, see Logging query language (https://{$universe.dns_names.final_documentation_domain}/logging/docs/view/logging-query-language).Only log entries that match the filter are returned. An empty filter matches all log entries in the resources listed in resource_names. Referencing a parent resource that is not listed in resource_names will cause the filter to return no results. The maximum length of a filter is 20,000 characters.To make queries faster, you can make the filter more selective by using restrictions on indexed fields (https://{$universe.dns_names.final_documentation_domain}/logging/docs/view/logging-query-language#indexed-fields) as well as limit the time range of the query by adding range restrictions on the timestamp field.", +"type": "string" +}, +"orderBy": { +"description": "Optional. How the results should be sorted. Presently, the only permitted values are \"timestamp asc\" (default) and \"timestamp desc\". The first option returns entries in order of increasing values of LogEntry.timestamp (oldest first), and the second option returns entries in order of decreasing timestamps (newest first). Entries with equal timestamps are returned in order of their insert_id values.We recommend setting the order_by field to \"timestamp desc\" when listing recently ingested log entries. If not set, the default value of \"timestamp asc\" may take a long time to fetch matching logs that are only recently ingested.", +"type": "string" +}, +"pageSize": { +"description": "Optional. The maximum number of results to return from this request. Default is 50. If the value is negative, the request is rejected.The presence of next_page_token in the response indicates that more results might be available.", +"format": "int32", +"type": "integer" +}, +"pageToken": { +"description": "Optional. If present, then retrieve the next batch of results from the preceding call to this method. page_token must be the value of next_page_token from the previous response. The values of other method parameters should be identical to those in the previous call.", +"type": "string" +}, +"projectIds": { +"deprecated": true, +"description": "Optional. Deprecated. Use resource_names instead. One or more project identifiers or project numbers from which to retrieve log entries. Example: \"my-project-1A\".", +"items": { +"type": "string" +}, +"type": "array" +}, +"resourceNames": { +"description": "Required. Names of one or more parent resources from which to retrieve log entries. Resources may either be resource containers or specific LogViews. For the case of resource containers, all logs ingested into that container will be returned regardless of which LogBuckets they are actually stored in - i.e. these queries may fan out to multiple regions. In the event of region unavailability, specify a specific set of LogViews that do not include the unavailable region. projects/[PROJECT_ID] organizations/[ORGANIZATION_ID] billingAccounts/[BILLING_ACCOUNT_ID] folders/[FOLDER_ID] projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID] organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID] billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID] folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]Projects listed in the project_ids field are added to this list. A maximum of 100 resources may be specified in a single request.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListLogEntriesResponse": { +"description": "Result returned from ListLogEntries.", +"id": "ListLogEntriesResponse", +"properties": { +"entries": { +"description": "A list of log entries. If entries is empty, nextPageToken may still be returned, indicating that more entries may exist. See nextPageToken for more information.", +"items": { +"$ref": "LogEntry" +}, +"type": "array" +}, +"nextPageToken": { +"description": "If there might be more results than those appearing in this response, then nextPageToken is included. To get the next set of results, call this method again using the value of nextPageToken as pageToken.If a value for next_page_token appears and the entries field is empty, it means that the search found no log entries so far but it did not have time to search all the possible log entries. Retry the method with this value for page_token to continue the search. Alternatively, consider speeding up the search by changing your filter to specify a single log name or resource type, or to narrow the time range of the search.", +"type": "string" +} +}, +"type": "object" +}, +"ListLogMetricsResponse": { +"description": "Result returned from ListLogMetrics.", +"id": "ListLogMetricsResponse", +"properties": { +"metrics": { +"description": "A list of logs-based metrics.", +"items": { +"$ref": "LogMetric" +}, +"type": "array" +}, +"nextPageToken": { +"description": "If there might be more results than appear in this response, then nextPageToken is included. To get the next set of results, call this method again using the value of nextPageToken as pageToken.", +"type": "string" +} +}, +"type": "object" +}, +"ListLogScopesResponse": { +"description": "The response from ListLogScopes. Every project has a _Default log scope that cannot be modified or deleted.", +"id": "ListLogScopesResponse", +"properties": { +"logScopes": { +"description": "A list of log scopes.", +"items": { +"$ref": "LogScope" +}, +"type": "array" +}, +"nextPageToken": { +"description": "If there might be more results than appear in this response, then nextPageToken is included. To get the next set of results, call the same method again using the value of nextPageToken as pageToken.", +"type": "string" +} +}, +"type": "object" +}, +"ListLogsResponse": { +"description": "Result returned from ListLogs.", +"id": "ListLogsResponse", +"properties": { +"logNames": { +"description": "A list of log names. For example, \"projects/my-project/logs/syslog\" or \"organizations/123/logs/cloudresourcemanager.googleapis.com%2Factivity\".", +"items": { +"type": "string" +}, +"type": "array" +}, +"nextPageToken": { +"description": "If there might be more results than those appearing in this response, then nextPageToken is included. To get the next set of results, call this method again using the value of nextPageToken as pageToken.", +"type": "string" +} +}, +"type": "object" +}, +"ListMonitoredResourceDescriptorsResponse": { +"description": "Result returned from ListMonitoredResourceDescriptors.", +"id": "ListMonitoredResourceDescriptorsResponse", +"properties": { +"nextPageToken": { +"description": "If there might be more results than those appearing in this response, then nextPageToken is included. To get the next set of results, call this method again using the value of nextPageToken as pageToken.", +"type": "string" +}, +"resourceDescriptors": { +"description": "A list of resource descriptors.", +"items": { +"$ref": "MonitoredResourceDescriptor" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListOperationsResponse": { +"description": "The response message for Operations.ListOperations.", +"id": "ListOperationsResponse", +"properties": { +"nextPageToken": { +"description": "The standard List next-page token.", +"type": "string" +}, +"operations": { +"description": "A list of operations that matches the specified filter in the request.", +"items": { +"$ref": "Operation" +}, +"type": "array" +}, +"unreachable": { +"description": "Unordered list. Unreachable resources. Populated when the request sets ListOperationsRequest.return_partial_success and reads across collections. For example, when attempting to list all resources across all supported locations.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListRecentQueriesResponse": { +"description": "The response from ListRecentQueries.", +"id": "ListRecentQueriesResponse", +"properties": { +"nextPageToken": { +"description": "If there might be more results than appear in this response, then nextPageToken is included. To get the next set of results, call the same method again using the value of nextPageToken as pageToken.", +"type": "string" +}, +"recentQueries": { +"description": "A list of recent queries.", +"items": { +"$ref": "RecentQuery" +}, +"type": "array" +}, +"unreachable": { +"description": "The unreachable resources. Each resource can be either 1) a saved query if a specific query is unreachable or 2) a location if a specific location is unreachable. \"projects/[PROJECT_ID]/locations/[LOCATION_ID]/recentQueries/[QUERY_ID]\" \"projects/[PROJECT_ID]/locations/[LOCATION_ID]\" For example:\"projects/my-project/locations/global/recentQueries/12345678\" \"projects/my-project/locations/global\"If there are unreachable resources, the response will first return pages that contain recent queries, and then return pages that contain the unreachable resources.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListSavedQueriesResponse": { +"description": "The response from ListSavedQueries.", +"id": "ListSavedQueriesResponse", +"properties": { +"nextPageToken": { +"description": "If there might be more results than appear in this response, then nextPageToken is included. To get the next set of results, call the same method again using the value of nextPageToken as pageToken.", +"type": "string" +}, +"savedQueries": { +"description": "A list of saved queries.", +"items": { +"$ref": "SavedQuery" +}, +"type": "array" +}, +"unreachable": { +"description": "The unreachable resources. It can be either 1) a saved query if a specific query is unreachable or 2) a location if a specific location is unreachabe. \"projects/[PROJECT_ID]/locations/[LOCATION_ID]/savedQueries/[QUERY_ID]\" \"projects/[PROJECT_ID]/locations/[LOCATION_ID]\" For example: \"projects/my-project/locations/global/savedQueries/12345678\" \"projects/my-project/locations/global\" If there are unreachable resources, the response will first return pages that contain saved queries, and then return pages that contain the unreachable resources.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListSinksResponse": { +"description": "Result returned from ListSinks.", +"id": "ListSinksResponse", +"properties": { +"nextPageToken": { +"description": "If there might be more results than appear in this response, then nextPageToken is included. To get the next set of results, call the same method again using the value of nextPageToken as pageToken.", +"type": "string" +}, +"sinks": { +"description": "A list of sinks.", +"items": { +"$ref": "LogSink" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListViewsResponse": { +"description": "The response from ListViews.", +"id": "ListViewsResponse", +"properties": { +"nextPageToken": { +"description": "If there might be more results than appear in this response, then nextPageToken is included. To get the next set of results, call the same method again using the value of nextPageToken as pageToken.", +"type": "string" +}, +"views": { +"description": "A list of views.", +"items": { +"$ref": "LogView" +}, +"type": "array" +} +}, +"type": "object" +}, +"Location": { +"description": "A resource that represents a Google Cloud location.", +"id": "Location", +"properties": { +"displayName": { +"description": "The friendly name for this location, typically a nearby city name. For example, \"Tokyo\".", +"type": "string" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Cross-service attributes for the location. For example {\"cloud.googleapis.com/region\": \"us-east1\"} ", +"type": "object" +}, +"locationId": { +"description": "The canonical id for this location. For example: \"us-east1\".", +"type": "string" +}, +"metadata": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "Service-specific metadata. For example the available capacity at the given location.", +"type": "object" +}, +"name": { +"description": "Resource name for the location, which may vary between implementations. For example: \"projects/example-project/locations/us-east1\"", +"type": "string" +} +}, +"type": "object" +}, +"LocationMetadata": { +"description": "Cloud Logging specific location metadata.", +"id": "LocationMetadata", +"properties": { +"logAnalyticsEnabled": { +"description": "Indicates whether or not Log Analytics features are supported in the given location.", +"type": "boolean" +} +}, +"type": "object" +}, +"LogBucket": { +"description": "Describes a repository in which log entries are stored.", +"id": "LogBucket", +"properties": { +"analyticsEnabled": { +"description": "Optional. Whether log analytics is enabled for this bucket.Once enabled, log analytics features cannot be disabled.", +"type": "boolean" +}, +"cmekSettings": { +"$ref": "CmekSettings", +"description": "Optional. The CMEK settings of the log bucket. If present, new log entries written to this log bucket are encrypted using the CMEK key provided in this configuration. If a log bucket has CMEK settings, the CMEK settings cannot be disabled later by updating the log bucket. Changing the KMS key is allowed." +}, +"createTime": { +"description": "Output only. The creation timestamp of the bucket. This is not set for any of the default buckets.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"description": { +"description": "Optional. Describes this bucket.", +"type": "string" +}, +"indexConfigs": { +"description": "Optional. A list of indexed fields and related configuration data.", +"items": { +"$ref": "IndexConfig" +}, +"type": "array" +}, +"lifecycleState": { +"description": "Output only. The bucket lifecycle state.", +"enum": [ +"LIFECYCLE_STATE_UNSPECIFIED", +"ACTIVE", +"DELETE_REQUESTED", +"UPDATING", +"CREATING", +"FAILED" +], +"enumDescriptions": [ +"Unspecified state. This is only used/useful for distinguishing unset values.", +"The normal and active state.", +"The resource has been marked for deletion by the user. For some resources (e.g. buckets), this can be reversed by an un-delete operation.", +"The resource has been marked for an update by the user. It will remain in this state until the update is complete.", +"The resource has been marked for creation by the user. It will remain in this state until the creation is complete.", +"The resource is in an INTERNAL error state." +], +"readOnly": true, +"type": "string" +}, +"locked": { +"description": "Optional. Whether the bucket is locked.The retention period on a locked bucket cannot be changed. Locked buckets may only be deleted if they are empty.", +"type": "boolean" +}, +"name": { +"description": "Output only. The resource name of the bucket.For example:projects/my-project/locations/global/buckets/my-bucketFor a list of supported locations, see Supported Regions (https://docs.cloud.google.com/logging/docs/region-support)For the location of global it is unspecified where log entries are actually stored.After a bucket has been created, the location cannot be changed.", +"readOnly": true, +"type": "string" +}, +"restrictedFields": { +"description": "Optional. Log entry field paths that are denied access in this bucket.The following fields and their children are eligible: textPayload, jsonPayload, protoPayload, httpRequest, labels, sourceLocation.Restricting a repeated field will restrict all values. Adding a parent will block all child fields. (e.g. foo.bar will block foo.bar.baz)", +"items": { +"type": "string" +}, +"type": "array" +}, +"retentionDays": { +"description": "Optional. Logs will be retained by default for this amount of time, after which they will automatically be deleted. The minimum retention period is 1 day. If this value is set to zero at bucket creation time, the default time of 30 days will be used.", +"format": "int32", +"type": "integer" +}, +"updateTime": { +"description": "Output only. The last update timestamp of the bucket.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"LogEntry": { +"description": "An individual entry in a log.", +"id": "LogEntry", +"properties": { +"apphub": { +"$ref": "AppHub", +"description": "Output only. AppHub application metadata associated with this LogEntry. May be empty if there is no associated AppHub application or multiple associated applications (such as for VPC flow logs)", +"readOnly": true +}, +"apphubDestination": { +"$ref": "AppHub", +"description": "Output only. AppHub application metadata associated with the destination application. This is only populated if the log represented \"edge\"-like data (such as for VPC flow logs) with a destination.", +"readOnly": true +}, +"apphubSource": { +"$ref": "AppHub", +"description": "Output only. AppHub application metadata associated with the source application. This is only populated if the log represented \"edge\"-like data (such as for VPC flow logs) with a source.", +"readOnly": true +}, +"errorGroups": { +"description": "Output only. The Error Reporting (https://cloud.google.com/error-reporting) error groups associated with this LogEntry. Error Reporting sets the values for this field during error group creation.For more information, see View error details( https://cloud.google.com/error-reporting/docs/viewing-errors#view_error_details)This field isn't available during log routing (https://cloud.google.com/logging/docs/routing/overview)", +"items": { +"$ref": "LogErrorGroup" +}, +"readOnly": true, +"type": "array" +}, +"httpRequest": { +"$ref": "HttpRequest", +"description": "Optional. Information about the HTTP request associated with this log entry, if applicable." +}, +"insertId": { +"description": "Optional. A unique identifier for the log entry. If you provide a value, then Logging considers other log entries in the same project, with the same timestamp, and with the same insert_id to be duplicates which are removed in a single query result. However, there are no guarantees of de-duplication in the export of logs.If the insert_id is omitted when writing a log entry, the Logging API assigns its own unique identifier in this field.In queries, the insert_id is also used to order log entries that have the same log_name and timestamp values.", +"type": "string" +}, +"jsonPayload": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"description": "The log entry payload, represented as a structure that is expressed as a JSON object.", +"type": "object" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. A map of key, value pairs that provides additional information about the log entry. The labels can be user-defined or system-defined.User-defined labels are arbitrary key, value pairs that you can use to classify logs.System-defined labels are defined by cloud services for platform logs. They have two components - a service namespace component and the attribute name. For example: compute.googleapis.com/resource_name.Cloud Logging truncates label keys that exceed 512 B and label values that exceed 64 KB upon their associated log entry being written. The truncation is indicated by an ellipsis at the end of the character string.", +"type": "object" +}, +"logName": { +"description": "Required. The resource name of the log to which this log entry belongs: \"projects/[PROJECT_ID]/logs/[LOG_ID]\" \"organizations/[ORGANIZATION_ID]/logs/[LOG_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]/logs/[LOG_ID]\" \"folders/[FOLDER_ID]/logs/[LOG_ID]\" A project number may be used in place of PROJECT_ID. The project number is translated to its corresponding PROJECT_ID internally and the log_name field will contain PROJECT_ID in queries and exports.[LOG_ID] must be URL-encoded within log_name. Example: \"organizations/1234567890/logs/cloudresourcemanager.googleapis.com%2Factivity\".[LOG_ID] must be less than 512 characters long and can only include the following characters: upper and lower case alphanumeric characters, forward-slash, underscore, hyphen, and period.For backward compatibility, if log_name begins with a forward-slash, such as /projects/..., then the log entry is processed as usual, but the forward-slash is removed. Listing the log entry will not show the leading slash and filtering for a log name with a leading slash will never return any results.", +"type": "string" +}, +"metadata": { +"$ref": "MonitoredResourceMetadata", +"deprecated": true, +"description": "Output only. Deprecated. This field is not used by Logging. Any value written to it is cleared.", +"readOnly": true +}, +"operation": { +"$ref": "LogEntryOperation", +"description": "Optional. Information about an operation associated with the log entry, if applicable." +}, +"protoPayload": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "The log entry payload, represented as a protocol buffer. Some Google Cloud Platform services use this field for their log entry payloads.The following protocol buffer types are supported; user-defined types are not supported:\"type.googleapis.com/google.cloud.audit.AuditLog\" \"type.googleapis.com/google.appengine.logging.v1.RequestLog\"", +"type": "object" +}, +"receiveTimestamp": { +"description": "Output only. The time the log entry was received by Logging.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"resource": { +"$ref": "MonitoredResource", +"description": "Required. The monitored resource that produced this log entry.Example: a log entry that reports a database error would be associated with the monitored resource designating the particular database that reported the error." +}, +"severity": { +"description": "Optional. The severity of the log entry. The default value is LogSeverity.DEFAULT.", +"enum": [ +"DEFAULT", +"DEBUG", +"INFO", +"NOTICE", +"WARNING", +"ERROR", +"CRITICAL", +"ALERT", +"EMERGENCY" +], +"enumDescriptions": [ +"(0) The log entry has no assigned severity level.", +"(100) Debug or trace information.", +"(200) Routine information, such as ongoing status or performance.", +"(300) Normal but significant events, such as start up, shut down, or a configuration change.", +"(400) Warning events might cause problems.", +"(500) Error events are likely to cause problems.", +"(600) Critical events cause more severe problems or outages.", +"(700) A person must take an action immediately.", +"(800) One or more systems are unusable." +], +"type": "string" +}, +"sourceLocation": { +"$ref": "LogEntrySourceLocation", +"description": "Optional. Source code location information associated with the log entry, if any." +}, +"spanId": { +"description": "Optional. The ID of the Cloud Trace (https://docs.cloud.google.com/trace/docs) span associated with the current operation in which the log is being written.A Span (https://docs.cloud.google.com/trace/docs/reference/v2/rest/v2/projects.traces/batchWrite#Span) represents a single operation within a trace. Whereas a trace may involve multiple different microservices running on multiple different machines, a span generally corresponds to a single logical operation being performed in a single instance of a microservice on one specific machine. Spans are the nodes within the tree that is a trace.Applications that are instrumented for tracing (https://docs.cloud.google.com/trace/docs/setup) will generally assign a new, unique span ID on each incoming request. It is also common to create and record additional spans corresponding to internal processing elements as well as issuing requests to dependencies.The span ID is expected to be a 16-character, hexadecimal encoding of an 8-byte array and should not be zero. It should be unique within the trace and should, ideally, be generated in a manner that is uniformly random.Example values: 000000000000004a 7a2190356c3fc94b 0000f00300090021 d39223e101960076", +"type": "string" +}, +"split": { +"$ref": "LogSplit", +"description": "Optional. Information indicating this LogEntry is part of a sequence of multiple log entries split from a single LogEntry." +}, +"textPayload": { +"description": "The log entry payload, represented as a Unicode string (UTF-8).", +"type": "string" +}, +"timestamp": { +"description": "Optional. The time the event described by the log entry occurred. This time is used to compute the log entry's age and to enforce the logs retention period. If this field is omitted in a new log entry, then Logging assigns it the current time. Timestamps have nanosecond accuracy, but trailing zeros in the fractional seconds might be omitted when the timestamp is displayed.Incoming log entries must have timestamps that don't exceed the logs retention period (https://cloud.google.com/logging/quotas#logs_retention_periods) in the past, and that don't exceed 24 hours in the future. Log entries outside those time boundaries are rejected by Logging.", +"format": "google-datetime", +"type": "string" +}, +"trace": { +"description": "Optional. The trace ID being written to Cloud Trace (https://docs.cloud.google.com/trace/docs) in association with this log entry. For example, if your trace data is stored in the Cloud project \"my-trace-project\" and if the service that is creating the log entry receives a trace header that includes the trace ID \"12345\", then the service should use \"12345\".The REST resource name of the trace is also supported, but using this format is not recommended. An example trace REST resource name is similar to \"projects/my-trace-project/traces/12345\".The trace field provides the link between logs and traces. By using this field, you can navigate from a log entry to a trace.", +"type": "string" +}, +"traceSampled": { +"description": "Optional. The sampling decision of the span associated with the log entry at the time the log entry was created. This field corresponds to the sampled flag in the W3C trace-context specification (https://www.w3.org/TR/trace-context/#sampled-flag). A non-sampled trace value is still useful as a request correlation identifier. The default is False.", +"type": "boolean" +} +}, +"type": "object" +}, +"LogEntryOperation": { +"description": "Additional information about a potentially long-running operation with which a log entry is associated.", +"id": "LogEntryOperation", +"properties": { +"first": { +"description": "Optional. Set this to True if this is the first log entry in the operation.", +"type": "boolean" +}, +"id": { +"description": "Optional. An arbitrary operation identifier. Log entries with the same identifier are assumed to be part of the same operation.", +"type": "string" +}, +"last": { +"description": "Optional. Set this to True if this is the last log entry in the operation.", +"type": "boolean" +}, +"producer": { +"description": "Optional. An arbitrary producer identifier. The combination of id and producer must be globally unique. Examples for producer: \"MyDivision.MyBigCompany.com\", \"github.com/MyProject/MyApplication\".", +"type": "string" +} +}, +"type": "object" +}, +"LogEntrySourceLocation": { +"description": "Additional information about the source code location that produced the log entry.", +"id": "LogEntrySourceLocation", +"properties": { +"file": { +"description": "Optional. Source file name. Depending on the runtime environment, this might be a simple name or a fully-qualified name.", +"type": "string" +}, +"function": { +"description": "Optional. Human-readable name of the function or method being invoked, with optional context such as the class or package name. This information may be used in contexts such as the logs viewer, where a file and line number are less meaningful. The format can vary by language. For example: qual.if.ied.Class.method (Java), dir/package.func (Go), function (Python).", +"type": "string" +}, +"line": { +"description": "Optional. Line within the source file. 1-based; 0 indicates no line number available.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"LogErrorGroup": { +"description": "Contains metadata that associates the LogEntry to Error Reporting error groups.", +"id": "LogErrorGroup", +"properties": { +"id": { +"description": "The id is a unique identifier for a particular error group; it is the last part of the error group resource name: /project/[PROJECT_ID]/errors/[ERROR_GROUP_ID]. Example: COShysOX0r_51QE. The id is derived from key parts of the error-log content and is treated as Service Data. For information about how Service Data is handled, see Google Cloud Privacy Notice (https://cloud.google.com/terms/cloud-privacy-notice).", +"type": "string" +} +}, +"type": "object" +}, +"LogExclusion": { +"description": "Specifies a set of log entries that are filtered out by a sink. If your Google Cloud resource receives a large volume of log entries, you can use exclusions to reduce your chargeable logs. Note that exclusions on organization-level and folder-level sinks don't apply to child resources. Note also that you cannot modify the _Required sink or exclude logs from it.", +"id": "LogExclusion", +"properties": { +"createTime": { +"description": "Output only. The creation timestamp of the exclusion.This field may not be present for older exclusions.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"description": { +"description": "Optional. A description of this exclusion.", +"type": "string" +}, +"disabled": { +"description": "Optional. If set to True, then this exclusion is disabled and it does not exclude any log entries. You can update an exclusion to change the value of this field.", +"type": "boolean" +}, +"filter": { +"description": "Required. An advanced logs filter (https://docs.cloud.google.com/logging/docs/view/building-queries#queries-by-expression) that matches the log entries to be excluded. By using the sample function (https://docs.cloud.google.com/logging/docs/view/logging-query-language#sample), you can exclude less than 100% of the matching log entries.For example, the following query matches 99% of low-severity log entries from Google Cloud Storage buckets:resource.type=gcs_bucket severity=ERROR\" The maximum length of the filter is 20000 characters.", +"type": "string" +}, +"labelExtractors": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. A map from a label key string to an extractor expression which is used to extract data from a log entry field and assign as the label value. Each label key specified in the LabelDescriptor must have an associated extractor expression in this map. The syntax of the extractor expression is the same as for the value_extractor field.The extracted value is converted to the type defined in the label descriptor. If either the extraction or the type conversion fails, the label will have a default value. The default value for a string label is an empty string, for an integer label its 0, and for a boolean label its false.Note that there are upper bounds on the maximum number of labels and the number of active time series that are allowed in a project.", +"type": "object" +}, +"metricDescriptor": { +"$ref": "MetricDescriptor", +"description": "Optional. The metric descriptor associated with the logs-based metric. If unspecified, it uses a default metric descriptor with a DELTA metric kind, INT64 value type, with no labels and a unit of \"1\". Such a metric counts the number of log entries matching the filter expression.The name, type, and description fields in the metric_descriptor are output only, and is constructed using the name and description field in the LogMetric.To create a logs-based metric that records a distribution of log values, a DELTA metric kind with a DISTRIBUTION value type must be used along with a value_extractor expression in the LogMetric.Each label in the metric descriptor must have a matching label name as the key and an extractor expression as the value in the label_extractors map.The metric_kind and value_type fields in the metric_descriptor cannot be updated once initially configured. New labels can be added in the metric_descriptor, but existing labels cannot be modified except for their description." +}, +"name": { +"description": "Required. The client-assigned metric identifier. Examples: \"error_count\", \"nginx/requests\".Metric identifiers are limited to 100 characters and can include only the following characters: A-Z, a-z, 0-9, and the special characters _-.,+!*',()%/. The forward-slash character (/) denotes a hierarchy of name pieces, and it cannot be the first character of the name.This field is the [METRIC_ID] part of a metric resource name in the format \"projects/PROJECT_ID/metrics/METRIC_ID\". Example: If the resource name of a metric is \"projects/my-project/metrics/nginx%2Frequests\", this field's value is \"nginx/requests\".", +"type": "string" +}, +"resourceName": { +"description": "Output only. The resource name of the metric: \"projects/[PROJECT_ID]/metrics/[METRIC_ID]\" ", +"readOnly": true, +"type": "string" +}, +"updateTime": { +"description": "Output only. The last update timestamp of the metric.This field may not be present for older metrics.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"valueExtractor": { +"description": "Optional. A value_extractor is required when using a distribution logs-based metric to extract the values to record from a log entry. Two functions are supported for value extraction: EXTRACT(field) or REGEXP_EXTRACT(field, regex). The arguments are: field: The name of the log entry field from which the value is to be extracted. regex: A regular expression using the Google RE2 syntax (https://github.com/google/re2/wiki/Syntax) with a single capture group to extract data from the specified log entry field. The value of the field is converted to a string before applying the regex. It is an error to specify a regex that does not include exactly one capture group.The result of the extraction must be convertible to a double type, as the distribution always records double values. If either the extraction or the conversion to double fails, then those values are not recorded in the distribution.Example: REGEXP_EXTRACT(jsonPayload.request, \".*quantity=(\\d+).*\")", +"type": "string" +}, +"version": { +"deprecated": true, +"description": "Deprecated. The API version that created or updated this metric. The v2 format is used by default and cannot be changed.", +"enum": [ +"V2", +"V1" +], +"enumDescriptions": [ +"Logging API v2.", +"Logging API v1." +], +"type": "string" +} +}, +"type": "object" +}, +"LogScope": { +"description": "Describes a group of resources to read log entries from.", +"id": "LogScope", +"properties": { +"createTime": { +"description": "Output only. The creation timestamp of the log scope.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"description": { +"description": "Optional. Describes this log scope.The maximum length of the description is 8000 characters.", +"type": "string" +}, +"name": { +"description": "Output only. The resource name of the log scope.Log scopes are only available in the global location. For example:projects/my-project/locations/global/logScopes/my-log-scope", +"readOnly": true, +"type": "string" +}, +"resourceNames": { +"description": "Required. Names of one or more parent resources (organizations and folders are not supported.): projects/[PROJECT_ID]May alternatively be one or more views: projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]A log scope can include a maximum of 5 projects and a maximum of 100 resources in total.", +"items": { +"type": "string" +}, +"type": "array" +}, +"updateTime": { +"description": "Output only. The last update timestamp of the log scope.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"LogSink": { +"description": "Describes a sink used to export log entries to one of the following destinations: a Cloud Logging log bucket, a Cloud Storage bucket, a BigQuery dataset, a Pub/Sub topic, a Cloud project.A logs filter controls which log entries are exported. The sink must be created within a project, organization, billing account, or folder.", +"id": "LogSink", +"properties": { +"bigqueryOptions": { +"$ref": "BigQueryOptions", +"description": "Optional. Options that affect sinks exporting data to BigQuery." +}, +"createTime": { +"description": "Output only. The creation timestamp of the sink.This field may not be present for older sinks.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"description": { +"description": "Optional. A description of this sink.The maximum length of the description is 8000 characters.", +"type": "string" +}, +"destination": { +"description": "Required. The export destination: \"storage.googleapis.com/[GCS_BUCKET]\" \"bigquery.googleapis.com/projects/[PROJECT_ID]/datasets/[DATASET]\" \"pubsub.googleapis.com/projects/[PROJECT_ID]/topics/[TOPIC_ID]\" \"logging.googleapis.com/projects/[PROJECT_ID]\" \"logging.googleapis.com/projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" The sink's writer_identity, set when the sink is created, must have permission to write to the destination or else the log entries are not exported. For more information, see Route logs to supported destinations (https://docs.cloud.google.com/logging/docs/export/configure_export_v2).", +"type": "string" +}, +"disabled": { +"description": "Optional. If set to true, then this sink is disabled and it does not export any log entries.", +"type": "boolean" +}, +"exclusions": { +"description": "Optional. Log entries that match any of these exclusion filters will not be exported.If a log entry is matched by both filter and one of exclusions it will not be exported.", +"items": { +"$ref": "LogExclusion" +}, +"type": "array" +}, +"filter": { +"description": "Optional. An advanced logs filter (https://docs.cloud.google.com/logging/docs/view/building-queries#queries-by-expression). The only exported log entries are those that are in the resource owning the sink and that match the filter.For example:logName=\"projects/[PROJECT_ID]/logs/[LOG_ID]\" AND severity>=ERROR", +"type": "string" +}, +"includeChildren": { +"description": "Optional. This field applies only to sinks owned by organizations and folders. If the field is false, the default, only the logs owned by the sink's parent resource are available for export. If the field is true, then log entries from all the projects, folders, and billing accounts contained in the sink's parent resource are also available for export. Whether a particular log entry from the children is exported depends on the sink's filter expression.For example, if this field is true, then the filter resource.type=gce_instance would export all Compute Engine VM instance log entries from all projects in the sink's parent.To only export entries from certain child projects, filter on the project part of the log name:logName:(\"projects/test-project1/\" OR \"projects/test-project2/\") AND resource.type=gce_instance", +"type": "boolean" +}, +"interceptChildren": { +"description": "Optional. This field applies only to sinks owned by organizations and folders.When the value of 'intercept_children' is true, the following restrictions apply: The sink must have the include_children flag set to true. The sink destination must be a Cloud project.Also, the following behaviors apply: Any logs matched by the sink won't be included by non-_Required sinks owned by child resources. The sink appears in the results of a ListSinks call from a child resource if the value of the filter field in its request is either 'in_scope(\"ALL\")' or 'in_scope(\"ANCESTOR\")'.", +"type": "boolean" +}, +"name": { +"description": "Optional. The client-assigned sink identifier, unique within the project.For example: \"my-syslog-errors-to-pubsub\".Sink identifiers are limited to 100 characters and can include only the following characters: upper and lower-case alphanumeric characters, underscores, hyphens, periods.First character has to be alphanumeric.", +"type": "string" +}, +"outputVersionFormat": { +"deprecated": true, +"description": "Deprecated. This field is unused.", +"enum": [ +"VERSION_FORMAT_UNSPECIFIED", +"V2", +"V1" +], +"enumDescriptions": [ +"An unspecified format version that will default to V2.", +"LogEntry version 2 format.", +"LogEntry version 1 format." +], +"type": "string" +}, +"resourceName": { +"description": "Output only. The resource name of the sink. \"projects/[PROJECT_ID]/sinks/[SINK_NAME] \"organizations/[ORGANIZATION_ID]/sinks/[SINK_NAME] \"billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_NAME] \"folders/[FOLDER_ID]/sinks/[SINK_NAME] For example: projects/my_project/sinks/SINK_NAME", +"readOnly": true, +"type": "string" +}, +"updateTime": { +"description": "Output only. The last update timestamp of the sink.This field may not be present for older sinks.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"writerIdentity": { +"description": "Output only. An IAM identity\u2014a service account or group\u2014under which Cloud Logging writes the exported log entries to the sink's destination. This field is either set by specifying custom_writer_identity or set automatically by sinks.create and sinks.update based on the value of unique_writer_identity in those methods.Until you grant this identity write-access to the destination, log entry exports from this sink will fail. For more information, see Manage access to projects, folders, and organizations (https://docs.cloud.google.com/iam/docs/granting-roles-to-service-accounts#granting_access_to_a_service_account_for_a_resource). Consult the destination service's documentation to determine the appropriate IAM roles to assign to the identity.Sinks that have a destination that is a log bucket in the same project as the sink cannot have a writer_identity and no additional permissions are required.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"LogSplit": { +"description": "Additional information used to correlate multiple log entries. Used when a single LogEntry would exceed the Google Cloud Logging size limit and is split across multiple log entries.", +"id": "LogSplit", +"properties": { +"index": { +"description": "The index of this LogEntry in the sequence of split log entries. Log entries are given |index| values 0, 1, ..., n-1 for a sequence of n log entries.", +"format": "int32", +"type": "integer" +}, +"totalSplits": { +"description": "The total number of log entries that the original LogEntry was split into.", +"format": "int32", +"type": "integer" +}, +"uid": { +"description": "A globally unique identifier for all log entries in a sequence of split log entries. All log entries with the same |LogSplit.uid| are assumed to be part of the same sequence of split log entries.", +"type": "string" +} +}, +"type": "object" +}, +"LogView": { +"description": "Describes a view over log entries in a bucket.", +"id": "LogView", +"properties": { +"createTime": { +"description": "Output only. The creation timestamp of the view.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"description": { +"description": "Optional. Describes this view.", +"type": "string" +}, +"filter": { +"description": "Optional. Filter that restricts which log entries in a bucket are visible in this view.Filters must be logical conjunctions that use the AND operator, and they can use any of the following qualifiers: SOURCE(), which specifies a project, folder, organization, or billing account of origin. resource.type, which specifies the resource type. LOG_ID(), which identifies the log.They can also use the negations of these qualifiers with the NOT operator.For example:SOURCE(\"projects/myproject\") AND resource.type = \"gce_instance\" AND NOT LOG_ID(\"stdout\")", +"type": "string" +}, +"name": { +"description": "Output only. The resource name of the view.For example:projects/my-project/locations/global/buckets/my-bucket/views/my-view", +"readOnly": true, +"type": "string" +}, +"updateTime": { +"description": "Output only. The last update timestamp of the view.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"LoggingQuery": { +"description": "Describes a Cloud Logging query that can be run in Logs Explorer UI or via the logging API.In addition to the query itself, additional information may be stored to capture the display configuration and other UI state used in association with analysis of query results.", +"id": "LoggingQuery", +"properties": { +"filter": { +"description": "Required. An advanced query using the Logging Query Language (https://docs.cloud.google.com/logging/docs/view/logging-query-language). The maximum length of the filter is 20000 characters.", +"type": "string" +}, +"summaryFieldEnd": { +"description": "Characters will be counted from the end of the string.", +"format": "int32", +"type": "integer" +}, +"summaryFieldStart": { +"description": "Characters will be counted from the start of the string.", +"format": "int32", +"type": "integer" +}, +"summaryFields": { +"description": "Optional. The set of summary fields to display for this saved query.", +"items": { +"$ref": "SummaryField" +}, +"type": "array" +} +}, +"type": "object" +}, +"MetricDescriptor": { +"description": "Defines a metric type and its schema. Once a metric descriptor is created, deleting or altering it stops data collection and makes the metric type's existing data unusable.", +"id": "MetricDescriptor", +"properties": { +"description": { +"description": "A detailed description of the metric, which can be used in documentation.", +"type": "string" +}, +"displayName": { +"description": "A concise name for the metric, which can be displayed in user interfaces. Use sentence case without an ending period, for example \"Request count\". This field is optional but it is recommended to be set for any metrics associated with user-visible concepts, such as Quota.", +"type": "string" +}, +"labels": { +"description": "The set of labels that can be used to describe a specific instance of this metric type. For example, the appengine.googleapis.com/http/server/response_latencies metric type has a label for the HTTP response code, response_code, so you can look at latencies for successful responses or just for responses that failed.", +"items": { +"$ref": "LabelDescriptor" +}, +"type": "array" +}, +"launchStage": { +"description": "Optional. The launch stage of the metric definition.", +"enum": [ +"LAUNCH_STAGE_UNSPECIFIED", +"UNIMPLEMENTED", +"PRELAUNCH", +"EARLY_ACCESS", +"ALPHA", +"BETA", +"GA", +"DEPRECATED" +], +"enumDescriptions": [ +"Do not use this default value.", +"The feature is not yet implemented. Users can not use it.", +"Prelaunch features are hidden from users and are only visible internally.", +"Early Access features are limited to a closed group of testers. To use these features, you must sign up in advance and sign a Trusted Tester agreement (which includes confidentiality provisions). These features may be unstable, changed in backward-incompatible ways, and are not guaranteed to be released.", +"Alpha is a limited availability test for releases before they are cleared for widespread use. By Alpha, all significant design issues are resolved and we are in the process of verifying functionality. Alpha customers need to apply for access, agree to applicable terms, and have their projects allowlisted. Alpha releases don't have to be feature complete, no SLAs are provided, and there are no technical support obligations, but they will be far enough along that customers can actually use them in test environments or for limited-use tests -- just like they would in normal production cases.", +"Beta is the point at which we are ready to open a release for any customer to use. There are no SLA or technical support obligations in a Beta release. Products will be complete from a feature perspective, but may have some open outstanding issues. Beta releases are suitable for limited production use cases.", +"GA features are open to all developers and are considered stable and fully qualified for production use.", +"Deprecated features are scheduled to be shut down and removed. For more information, see the \"Deprecation Policy\" section of our Terms of Service (https://cloud.google.com/terms/) and the Google Cloud Platform Subject to the Deprecation Policy (https://cloud.google.com/terms/deprecation) documentation." +], +"type": "string" +}, +"metadata": { +"$ref": "MetricDescriptorMetadata", +"description": "Optional. Metadata which can be used to guide usage of the metric." +}, +"metricKind": { +"description": "Whether the metric records instantaneous values, changes to a value, etc. Some combinations of metric_kind and value_type might not be supported.", +"enum": [ +"METRIC_KIND_UNSPECIFIED", +"GAUGE", +"DELTA", +"CUMULATIVE" +], +"enumDescriptions": [ +"Do not use this default value.", +"An instantaneous measurement of a value.", +"The change in a value during a time interval.", +"A value accumulated over a time interval. Cumulative measurements in a time series should have the same start time and increasing end times, until an event resets the cumulative value to zero and sets a new start time for the following points." +], +"type": "string" +}, +"monitoredResourceTypes": { +"description": "Read-only. If present, then a time series, which is identified partially by a metric type and a MonitoredResourceDescriptor, that is associated with this metric type can only be associated with one of the monitored resource types listed here.", +"items": { +"type": "string" +}, +"type": "array" +}, +"name": { +"description": "The resource name of the metric descriptor.", +"type": "string" +}, +"type": { +"description": "The metric type, including its DNS name prefix. The type is not URL-encoded. All user-defined metric types have the DNS name custom.googleapis.com or external.googleapis.com. Metric types should use a natural hierarchical grouping. For example: \"custom.googleapis.com/invoice/paid/amount\" \"external.googleapis.com/prometheus/up\" \"appengine.googleapis.com/http/server/response_latencies\" ", +"type": "string" +}, +"unit": { +"description": "The units in which the metric value is reported. It is only applicable if the value_type is INT64, DOUBLE, or DISTRIBUTION. The unit defines the representation of the stored metric values.Different systems might scale the values to be more easily displayed (so a value of 0.02kBy might be displayed as 20By, and a value of 3523kBy might be displayed as 3.5MBy). However, if the unit is kBy, then the value of the metric is always in thousands of bytes, no matter how it might be displayed.If you want a custom metric to record the exact number of CPU-seconds used by a job, you can create an INT64 CUMULATIVE metric whose unit is s{CPU} (or equivalently 1s{CPU} or just s). If the job uses 12,005 CPU-seconds, then the value is written as 12005.Alternatively, if you want a custom metric to record data in a more granular way, you can create a DOUBLE CUMULATIVE metric whose unit is ks{CPU}, and then write the value 12.005 (which is 12005/1000), or use Kis{CPU} and write 11.723 (which is 12005/1024).The supported units are a subset of The Unified Code for Units of Measure (https://unitsofmeasure.org/ucum.html) standard:Basic units (UNIT) bit bit By byte s second min minute h hour d day 1 dimensionlessPrefixes (PREFIX) k kilo (10^3) M mega (10^6) G giga (10^9) T tera (10^12) P peta (10^15) E exa (10^18) Z zetta (10^21) Y yotta (10^24) m milli (10^-3) u micro (10^-6) n nano (10^-9) p pico (10^-12) f femto (10^-15) a atto (10^-18) z zepto (10^-21) y yocto (10^-24) Ki kibi (2^10) Mi mebi (2^20) Gi gibi (2^30) Ti tebi (2^40) Pi pebi (2^50)GrammarThe grammar also includes these connectors: / division or ratio (as an infix operator). For examples, kBy/{email} or MiBy/10ms (although you should almost never have /s in a metric unit; rates should always be computed at query time from the underlying cumulative or delta value). . multiplication or composition (as an infix operator). For examples, GBy.d or k{watt}.h.The grammar for a unit is as follows: Expression = Component { \".\" Component } { \"/\" Component } ; Component = ( [ PREFIX ] UNIT | \"%\" ) [ Annotation ] | Annotation | \"1\" ; Annotation = \"{\" NAME \"}\" ; Notes: Annotation is just a comment if it follows a UNIT. If the annotation is used alone, then the unit is equivalent to 1. For examples, {request}/s == 1/s, By{transmitted}/s == By/s. NAME is a sequence of non-blank printable ASCII characters not containing { or }. 1 represents a unitary dimensionless unit (https://en.wikipedia.org/wiki/Dimensionless_quantity) of 1, such as in 1/s. It is typically used when none of the basic units are appropriate. For example, \"new users per day\" can be represented as 1/d or {new-users}/d (and a metric value 5 would mean \"5 new users). Alternatively, \"thousands of page views per day\" would be represented as 1000/d or k1/d or k{page_views}/d (and a metric value of 5.3 would mean \"5300 page views per day\"). % represents dimensionless value of 1/100, and annotates values giving a percentage (so the metric values are typically in the range of 0..100, and a metric value 3 means \"3 percent\"). 10^2.% indicates a metric contains a ratio, typically in the range 0..1, that will be multiplied by 100 and displayed as a percentage (so a metric value 0.03 means \"3 percent\").", +"type": "string" +}, +"valueType": { +"description": "Whether the measurement is an integer, a floating-point number, etc. Some combinations of metric_kind and value_type might not be supported.", +"enum": [ +"VALUE_TYPE_UNSPECIFIED", +"BOOL", +"INT64", +"DOUBLE", +"STRING", +"DISTRIBUTION", +"MONEY" +], +"enumDescriptions": [ +"Do not use this default value.", +"The value is a boolean. This value type can be used only if the metric kind is GAUGE.", +"The value is a signed 64-bit integer.", +"The value is a double precision floating point number.", +"The value is a text string. This value type can be used only if the metric kind is GAUGE.", +"The value is a Distribution.", +"The value is money." +], +"type": "string" +} +}, +"type": "object" +}, +"MetricDescriptorMetadata": { +"description": "Additional annotations that can be used to guide the usage of a metric.", +"id": "MetricDescriptorMetadata", +"properties": { +"ingestDelay": { +"description": "The delay of data points caused by ingestion. Data points older than this age are guaranteed to be ingested and available to be read, excluding data loss due to errors.", +"format": "google-duration", +"type": "string" +}, +"launchStage": { +"deprecated": true, +"description": "Deprecated. Must use the MetricDescriptor.launch_stage instead.", +"enum": [ +"LAUNCH_STAGE_UNSPECIFIED", +"UNIMPLEMENTED", +"PRELAUNCH", +"EARLY_ACCESS", +"ALPHA", +"BETA", +"GA", +"DEPRECATED" +], +"enumDescriptions": [ +"Do not use this default value.", +"The feature is not yet implemented. Users can not use it.", +"Prelaunch features are hidden from users and are only visible internally.", +"Early Access features are limited to a closed group of testers. To use these features, you must sign up in advance and sign a Trusted Tester agreement (which includes confidentiality provisions). These features may be unstable, changed in backward-incompatible ways, and are not guaranteed to be released.", +"Alpha is a limited availability test for releases before they are cleared for widespread use. By Alpha, all significant design issues are resolved and we are in the process of verifying functionality. Alpha customers need to apply for access, agree to applicable terms, and have their projects allowlisted. Alpha releases don't have to be feature complete, no SLAs are provided, and there are no technical support obligations, but they will be far enough along that customers can actually use them in test environments or for limited-use tests -- just like they would in normal production cases.", +"Beta is the point at which we are ready to open a release for any customer to use. There are no SLA or technical support obligations in a Beta release. Products will be complete from a feature perspective, but may have some open outstanding issues. Beta releases are suitable for limited production use cases.", +"GA features are open to all developers and are considered stable and fully qualified for production use.", +"Deprecated features are scheduled to be shut down and removed. For more information, see the \"Deprecation Policy\" section of our Terms of Service (https://cloud.google.com/terms/) and the Google Cloud Platform Subject to the Deprecation Policy (https://cloud.google.com/terms/deprecation) documentation." +], +"type": "string" +}, +"samplePeriod": { +"description": "The sampling period of metric data points. For metrics which are written periodically, consecutive data points are stored at this time interval, excluding data loss due to errors. Metrics with a higher granularity have a smaller sampling period.", +"format": "google-duration", +"type": "string" +}, +"timeSeriesResourceHierarchyLevel": { +"description": "The scope of the timeseries data of the metric.", +"items": { +"enum": [ +"TIME_SERIES_RESOURCE_HIERARCHY_LEVEL_UNSPECIFIED", +"PROJECT", +"ORGANIZATION", +"FOLDER" +], +"enumDescriptions": [ +"Do not use this default value.", +"Scopes a metric to a project.", +"Scopes a metric to an organization.", +"Scopes a metric to a folder." +], +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"MonitoredResource": { +"description": "An object representing a resource that can be used for monitoring, logging, billing, or other purposes. Examples include virtual machine instances, databases, and storage devices such as disks. The type field identifies a MonitoredResourceDescriptor object that describes the resource's schema. Information in the labels field identifies the actual resource and its attributes according to the schema. For example, a particular Compute Engine VM instance could be represented by the following object, because the MonitoredResourceDescriptor for \"gce_instance\" has labels \"project_id\", \"instance_id\" and \"zone\": { \"type\": \"gce_instance\", \"labels\": { \"project_id\": \"my-project\", \"instance_id\": \"12345678901234\", \"zone\": \"us-central1-a\" }} ", +"id": "MonitoredResource", +"properties": { +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Required. Values for all of the labels listed in the associated monitored resource descriptor. For example, Compute Engine VM instances use the labels \"project_id\", \"instance_id\", and \"zone\".", +"type": "object" +}, +"type": { +"description": "Required. The monitored resource type. This field must match the type field of a MonitoredResourceDescriptor object. For example, the type of a Compute Engine VM instance is gce_instance. Some descriptors include the service name in the type; for example, the type of a Datastream stream is datastream.googleapis.com/Stream.", +"type": "string" +} +}, +"type": "object" +}, +"MonitoredResourceDescriptor": { +"description": "An object that describes the schema of a MonitoredResource object using a type name and a set of labels. For example, the monitored resource descriptor for Google Compute Engine VM instances has a type of \"gce_instance\" and specifies the use of the labels \"instance_id\" and \"zone\" to identify particular VM instances.Different APIs can support different monitored resource types. APIs generally provide a list method that returns the monitored resource descriptors used by the API.", +"id": "MonitoredResourceDescriptor", +"properties": { +"description": { +"description": "Optional. A detailed description of the monitored resource type that might be used in documentation.", +"type": "string" +}, +"displayName": { +"description": "Optional. A concise name for the monitored resource type that might be displayed in user interfaces. It should be a Title Cased Noun Phrase, without any article or other determiners. For example, \"Google Cloud SQL Database\".", +"type": "string" +}, +"labels": { +"description": "Required. A set of labels used to describe instances of this monitored resource type. For example, an individual Google Cloud SQL database is identified by values for the labels \"database_id\" and \"zone\".", +"items": { +"$ref": "LabelDescriptor" +}, +"type": "array" +}, +"launchStage": { +"description": "Optional. The launch stage of the monitored resource definition.", +"enum": [ +"LAUNCH_STAGE_UNSPECIFIED", +"UNIMPLEMENTED", +"PRELAUNCH", +"EARLY_ACCESS", +"ALPHA", +"BETA", +"GA", +"DEPRECATED" +], +"enumDescriptions": [ +"Do not use this default value.", +"The feature is not yet implemented. Users can not use it.", +"Prelaunch features are hidden from users and are only visible internally.", +"Early Access features are limited to a closed group of testers. To use these features, you must sign up in advance and sign a Trusted Tester agreement (which includes confidentiality provisions). These features may be unstable, changed in backward-incompatible ways, and are not guaranteed to be released.", +"Alpha is a limited availability test for releases before they are cleared for widespread use. By Alpha, all significant design issues are resolved and we are in the process of verifying functionality. Alpha customers need to apply for access, agree to applicable terms, and have their projects allowlisted. Alpha releases don't have to be feature complete, no SLAs are provided, and there are no technical support obligations, but they will be far enough along that customers can actually use them in test environments or for limited-use tests -- just like they would in normal production cases.", +"Beta is the point at which we are ready to open a release for any customer to use. There are no SLA or technical support obligations in a Beta release. Products will be complete from a feature perspective, but may have some open outstanding issues. Beta releases are suitable for limited production use cases.", +"GA features are open to all developers and are considered stable and fully qualified for production use.", +"Deprecated features are scheduled to be shut down and removed. For more information, see the \"Deprecation Policy\" section of our Terms of Service (https://cloud.google.com/terms/) and the Google Cloud Platform Subject to the Deprecation Policy (https://cloud.google.com/terms/deprecation) documentation." +], +"type": "string" +}, +"name": { +"description": "Optional. The resource name of the monitored resource descriptor: \"projects/{project_id}/monitoredResourceDescriptors/{type}\" where {type} is the value of the type field in this object and {project_id} is a project ID that provides API-specific context for accessing the type. APIs that do not use project information can use the resource name format \"monitoredResourceDescriptors/{type}\".", +"type": "string" +}, +"type": { +"description": "Required. The monitored resource type. For example, the type \"cloudsql_database\" represents databases in Google Cloud SQL. For a list of types, see Monitored resource types (https://cloud.google.com/monitoring/api/resources) and Logging resource types (https://cloud.google.com/logging/docs/api/v2/resource-list).", +"type": "string" +} +}, +"type": "object" +}, +"MonitoredResourceMetadata": { +"description": "Auxiliary metadata for a MonitoredResource object. MonitoredResource objects contain the minimum set of information to uniquely identify a monitored resource instance. There is some other useful auxiliary metadata. Monitoring and Logging use an ingestion pipeline to extract metadata for cloud resources of all types, and store the metadata in this message.", +"id": "MonitoredResourceMetadata", +"properties": { +"systemLabels": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"description": "Output only. Values for predefined system metadata labels. System labels are a kind of metadata extracted by Google, including \"machine_image\", \"vpc\", \"subnet_id\", \"security_group\", \"name\", etc. System label values can be only strings, Boolean values, or a list of strings. For example: { \"name\": \"my-test-instance\", \"security_group\": [\"a\", \"b\", \"c\"], \"spot_instance\": false } ", +"type": "object" +}, +"userLabels": { +"additionalProperties": { +"type": "string" +}, +"description": "Output only. A map of user-defined metadata labels.", +"type": "object" +} +}, +"type": "object" +}, +"Operation": { +"description": "This resource represents a long-running operation that is the result of a network API call.", +"id": "Operation", +"properties": { +"done": { +"description": "If the value is false, it means the operation is still in progress. If true, the operation is completed, and either error or response is available.", +"type": "boolean" +}, +"error": { +"$ref": "Status", +"description": "The error result of the operation in case of failure or cancellation." +}, +"metadata": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.", +"type": "object" +}, +"name": { +"description": "The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the name should be a resource name ending with operations/{unique_id}.", +"type": "string" +}, +"response": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "The normal, successful response of the operation. If the original method returns no data on success, such as Delete, the response is google.protobuf.Empty. If the original method is standard Get/Create/Update, the response should be the resource. For other methods, the response should have the type XxxResponse, where Xxx is the original method name. For example, if the original method name is TakeSnapshot(), the inferred response type is TakeSnapshotResponse.", +"type": "object" +} +}, +"type": "object" +}, +"OpsAnalyticsQuery": { +"description": "Describes a query that can be run in Log Analytics.", +"id": "OpsAnalyticsQuery", +"properties": { +"queryBuilder": { +"$ref": "QueryBuilderConfig", +"description": "Optional. A query builder configuration used in Log Analytics.If both query_builder and sql_query_text fields are set, then the sql_query_text will be used, if its non-empty. At least one of the two fields must be set." +}, +"sqlQueryText": { +"description": "Optional. A Log Analytics SQL query in text format.If both sql_query_text and query_builder fields are set, then the sql_query_text will be used, if its non-empty. At least one of the two fields must be set.", +"type": "string" +} +}, +"type": "object" +}, +"Policy": { +"description": "An Identity and Access Management (IAM) policy, which specifies access controls for Google Cloud resources.A Policy is a collection of bindings. A binding binds one or more members, or principals, to a single role. Principals can be user accounts, service accounts, Google groups, and domains (such as G Suite). A role is a named list of permissions; each role can be an IAM predefined role or a user-created custom role.For some types of Google Cloud resources, a binding can also specify a condition, which is a logical expression that allows access to a resource only if the expression evaluates to true. A condition can add constraints based on attributes of the request, the resource, or both. To learn which resources support conditions in their IAM policies, see the IAM documentation (https://cloud.google.com/iam/help/conditions/resource-policies).JSON example: { \"bindings\": [ { \"role\": \"roles/resourcemanager.organizationAdmin\", \"members\": [ \"user:mike@example.com\", \"group:admins@example.com\", \"domain:google.com\", \"serviceAccount:my-project-id@appspot.gserviceaccount.com\" ] }, { \"role\": \"roles/resourcemanager.organizationViewer\", \"members\": [ \"user:eve@example.com\" ], \"condition\": { \"title\": \"expirable access\", \"description\": \"Does not grant access after Sep 2020\", \"expression\": \"request.time < timestamp('2020-10-01T00:00:00.000Z')\", } } ], \"etag\": \"BwWWja0YfJA=\", \"version\": 3 } YAML example: bindings: - members: - user:mike@example.com - group:admins@example.com - domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.com role: roles/resourcemanager.organizationViewer condition: title: expirable access description: Does not grant access after Sep 2020 expression: request.time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For a description of IAM and its features, see the IAM documentation (https://cloud.google.com/iam/docs/).", +"id": "Policy", +"properties": { +"bindings": { +"description": "Associates a list of members, or principals, with a role. Optionally, may specify a condition that determines how and when the bindings are applied. Each of the bindings must contain at least one principal.The bindings in a Policy can refer to up to 1,500 principals; up to 250 of these principals can be Google groups. Each occurrence of a principal counts towards these limits. For example, if the bindings grant 50 different roles to user:alice@example.com, and not to any other principal, then you can add another 1,450 principals to the bindings in the Policy.", +"items": { +"$ref": "Binding" +}, +"type": "array" +}, +"etag": { +"description": "etag is used for optimistic concurrency control as a way to help prevent simultaneous updates of a policy from overwriting each other. It is strongly suggested that systems make use of the etag in the read-modify-write cycle to perform policy updates in order to avoid race conditions: An etag is returned in the response to getIamPolicy, and systems are expected to put that etag in the request to setIamPolicy to ensure that their change will be applied to the same version of the policy.Important: If you use IAM Conditions, you must include the etag field whenever you call setIamPolicy. If you omit this field, then IAM allows you to overwrite a version 3 policy with a version 1 policy, and all of the conditions in the version 3 policy are lost.", +"format": "byte", +"type": "string" +}, +"version": { +"description": "Specifies the format of the policy.Valid values are 0, 1, and 3. Requests that specify an invalid value are rejected.Any operation that affects conditional role bindings must specify version 3. This requirement applies to the following operations: Getting a policy that includes a conditional role binding Adding a conditional role binding to a policy Changing a conditional role binding in a policy Removing any role binding, with or without a condition, from a policy that includes conditionsImportant: If you use IAM Conditions, you must include the etag field whenever you call setIamPolicy. If you omit this field, then IAM allows you to overwrite a version 3 policy with a version 1 policy, and all of the conditions in the version 3 policy are lost.If a policy does not include any conditions, operations on that policy may specify any valid version or leave the field unset.To learn which resources support conditions in their IAM policies, see the IAM documentation (https://cloud.google.com/iam/help/conditions/resource-policies).", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"ProjectedField": { +"description": "Represents a field selected in the query, analogous to an item in a SQL SELECT clause. It specifies the source field and optionally applies transformations like aggregation, casting, regex extraction, or assigns an alias. Use ProjectedField when you need more than just the raw source field name (for which you might use FieldSource directly in QueryBuilderConfig's field_sources list if no transformations or specific operation type are needed).", +"id": "ProjectedField", +"properties": { +"alias": { +"description": "The alias name for the field. Valid alias examples are: - single word alias: TestAlias - numbers in an alias: Alias123 - multi word alias should be enclosed in quotes: \"Test Alias\" Invalid alias examples are: - alias containing keywords: WHERE, SELECT, FROM, etc. - alias starting with a number: 1stAlias", +"type": "string" +}, +"cast": { +"description": "The cast for the field. This can any SQL cast type. Examples: - STRING - CHAR - DATE - TIMESTAMP - DATETIME - INT - FLOAT", +"type": "string" +}, +"field": { +"description": "The field name. This will be the field that is selected using the dot notation to display the drill down value.", +"type": "string" +}, +"operation": { +"description": "Specifies the role of this field (direct selection, grouping, or aggregation).", +"enum": [ +"FIELD_OPERATION_UNSPECIFIED", +"NO_SETTING", +"GROUP_BY", +"AGGREGATE" +], +"enumDescriptions": [ +"Invalid value. Operation must be specified.", +"Select the field directly without grouping or aggregation. Corresponds to including the raw field (potentially with cast, regex, or alias) in the SELECT list.", +"Group the query results by the distinct values of this field. Corresponds to including the field (potentially truncated) in the GROUP BY clause.", +"Apply an aggregation function to this field across grouped results. Corresponds to applying a function like COUNT, SUM, AVG in the SELECT list. Requires sql_aggregation_function to be set." +], +"type": "string" +}, +"regexExtraction": { +"description": "The re2 extraction for the field. This will be used to extract the value from the field using REGEXP_EXTRACT. More information on re2 can be found here: https://github.com/google/re2/wiki/Syntax. Meta characters like +?()| will need to be escaped. Examples: - \".(autoscaler.*)$\" will be converted to REGEXP_EXTRACT(JSON_VALUE(field),\"request(.*(autoscaler.*)$)\")in SQL. - \"\\(test_value\\)$\" will be converted to REGEXP_EXTRACT(JSON_VALUE(field),\"request(\\(test_value\\)$)\") in SQL.", +"type": "string" +}, +"sqlAggregationFunction": { +"$ref": "FunctionApplication", +"description": "The function to apply to the field." +}, +"truncationGranularity": { +"description": "The truncation granularity when grouping by a time/date field. This will be used to truncate the field to the granularity specified. This can be either a date or a time granularity found at https://cloud.google.com/bigquery/docs/reference/standard-sql/timestamp_functions#timestamp_trunc_granularity_date and https://cloud.google.com/bigquery/docs/reference/standard-sql/timestamp_functions#timestamp_trunc_granularity_time respectively.", +"type": "string" +} +}, +"type": "object" +}, +"QueryBuilderConfig": { +"description": "Defines a structured query configuration that can be used instead of writing raw SQL. This configuration represents the components of a SQL query (FROM, SELECT, WHERE, ORDER BY, LIMIT) and is typically converted into an executable query (e.g., BigQuery SQL) by the backend service to retrieve data for analysis or visualization.", +"id": "QueryBuilderConfig", +"properties": { +"fieldSources": { +"description": "Defines the items to include in the query result, analogous to a SQL SELECT clause.", +"items": { +"$ref": "FieldSource" +}, +"type": "array" +}, +"filter": { +"$ref": "FilterPredicate", +"description": "The filter to use for the query. This equates to the WHERE clause in SQL." +}, +"limit": { +"description": "The limit to use for the query. This equates to the LIMIT clause in SQL. A limit of 0 will be treated as not enabled.", +"format": "int64", +"type": "string" +}, +"orderBys": { +"description": "The sort orders to use for the query. This equates to the ORDER BY clause in SQL.", +"items": { +"$ref": "SortOrderParameter" +}, +"type": "array" +}, +"resourceNames": { +"description": "Required. The view/resource to query. For now only a single view/resource will be sent, but there are plans to allow multiple views in the future. Marking as repeated for that purpose. Example: - \"projects/123/locations/global/buckets/456/views/_Default\" - \"projects/123/locations/global/metricBuckets/456/views/_Default\"", +"items": { +"type": "string" +}, +"type": "array" +}, +"searchTerm": { +"description": "The plain text search to use for the query. There is no support for multiple search terms. This uses the SEARCH functionality in BigQuery. For example, a search_term = 'ERROR' would result in the following SQL:SELECT * FROM resource WHERE SEARCH(resource, 'ERROR') LIMIT 100", +"type": "string" +} +}, +"type": "object" +}, +"RecentQuery": { +"description": "Describes a recent query executed on the Logs Explorer or Log Analytics page within the last ~ 30 days.", +"id": "RecentQuery", +"properties": { +"lastRunTime": { +"description": "Output only. The timestamp when this query was last run.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"loggingQuery": { +"$ref": "LoggingQuery", +"description": "Logging query that can be executed in Logs Explorer or via Logging API." +}, +"name": { +"description": "Output only. Resource name of the recent query.In the format: \"projects/[PROJECT_ID]/locations/[LOCATION_ID]/recentQueries/[QUERY_ID]\" For a list of supported locations, see Supported Regions (https://docs.cloud.google.com/logging/docs/region-support)The QUERY_ID is a system generated alphanumeric ID.", +"readOnly": true, +"type": "string" +}, +"opsAnalyticsQuery": { +"$ref": "OpsAnalyticsQuery", +"description": "Analytics query that can be executed in Log Analytics." +} +}, +"type": "object" +}, +"RequestLog": { +"description": "Complete log information about a single HTTP request to an App Engine application.", +"id": "RequestLog", +"properties": { +"appEngineRelease": { +"description": "App Engine release version.", +"type": "string" +}, +"appId": { +"description": "Application that handled this request.", +"type": "string" +}, +"cost": { +"description": "An indication of the relative cost of serving this request.", +"format": "double", +"type": "number" +}, +"endTime": { +"description": "Time when the request finished.", +"format": "google-datetime", +"type": "string" +}, +"finished": { +"description": "Whether this request is finished or active.", +"type": "boolean" +}, +"first": { +"description": "Whether this is the first RequestLog entry for this request. If an active request has several RequestLog entries written to Stackdriver Logging, then this field will be set for one of them.", +"type": "boolean" +}, +"host": { +"description": "Internet host and port number of the resource being requested.", +"type": "string" +}, +"httpVersion": { +"description": "HTTP version of request. Example: \"HTTP/1.1\".", +"type": "string" +}, +"instanceId": { +"description": "An identifier for the instance that handled the request.", +"type": "string" +}, +"instanceIndex": { +"description": "If the instance processing this request belongs to a manually scaled module, then this is the 0-based index of the instance. Otherwise, this value is -1.", +"format": "int32", +"type": "integer" +}, +"ip": { +"description": "Origin IP address.", +"type": "string" +}, +"latency": { +"description": "Latency of the request.", +"format": "google-duration", +"type": "string" +}, +"line": { +"description": "A list of log lines emitted by the application while serving this request.", +"items": { +"$ref": "LogLine" +}, +"type": "array" +}, +"megaCycles": { +"description": "Number of CPU megacycles used to process request.", +"format": "int64", +"type": "string" +}, +"method": { +"description": "Request method. Example: \"GET\", \"HEAD\", \"PUT\", \"POST\", \"DELETE\".", +"type": "string" +}, +"moduleId": { +"description": "Module of the application that handled this request.", +"type": "string" +}, +"nickname": { +"description": "The logged-in user who made the request.Most likely, this is the part of the user's email before the @ sign. The field value is the same for different requests from the same user, but different users can have similar names. This information is also available to the application via the App Engine Users API.This field will be populated starting with App Engine 1.9.21.", +"type": "string" +}, +"pendingTime": { +"description": "Time this request spent in the pending request queue.", +"format": "google-duration", +"type": "string" +}, +"referrer": { +"description": "Referrer URL of request.", +"type": "string" +}, +"requestId": { +"description": "Globally unique identifier for a request, which is based on the request start time. Request IDs for requests which started later will compare greater as strings than those for requests which started earlier.", +"type": "string" +}, +"resource": { +"description": "Contains the path and query portion of the URL that was requested. For example, if the URL was \"http://example.com/app?name=val\", the resource would be \"/app?name=val\". The fragment identifier, which is identified by the # character, is not included.", +"type": "string" +}, +"responseSize": { +"description": "Size in bytes sent back to client by request.", +"format": "int64", +"type": "string" +}, +"sourceReference": { +"description": "Source code for the application that handled this request. There can be more than one source reference per deployed application if source code is distributed among multiple repositories.", +"items": { +"$ref": "SourceReference" +}, +"type": "array" +}, +"spanId": { +"description": "Stackdriver Trace span identifier for this request.", +"type": "string" +}, +"startTime": { +"description": "Time when the request started.", +"format": "google-datetime", +"type": "string" +}, +"status": { +"description": "HTTP response status code. Example: 200, 404.", +"format": "int32", +"type": "integer" +}, +"taskName": { +"description": "Task name of the request, in the case of an offline request.", +"type": "string" +}, +"taskQueueName": { +"description": "Queue name of the request, in the case of an offline request.", +"type": "string" +}, +"traceId": { +"description": "Stackdriver Trace identifier for this request.", +"type": "string" +}, +"traceSampled": { +"description": "If true, the value in the 'trace_id' field was sampled for storage in a trace backend.", +"type": "boolean" +}, +"urlMapEntry": { +"description": "File or class that handled the request.", +"type": "string" +}, +"userAgent": { +"description": "User agent that made the request.", +"type": "string" +}, +"versionId": { +"description": "Version of the application that handled this request.", +"type": "string" +}, +"wasLoadingRequest": { +"description": "Whether this was a loading request for the instance.", +"type": "boolean" +} +}, +"type": "object" +}, +"SavedQuery": { +"description": "Describes a query that has been saved by a user.", +"id": "SavedQuery", +"properties": { +"createTime": { +"description": "Output only. The timestamp when the saved query was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"description": { +"description": "Optional. A human readable description of the saved query.", +"type": "string" +}, +"displayName": { +"description": "Required. The user specified title for the SavedQuery.", +"type": "string" +}, +"loggingQuery": { +"$ref": "LoggingQuery", +"description": "Logging query that can be executed in Logs Explorer or via Logging API." +}, +"name": { +"description": "Output only. Resource name of the saved query.In the format: \"projects/[PROJECT_ID]/locations/[LOCATION_ID]/savedQueries/[QUERY_ID]\" For a list of supported locations, see Supported Regions (https://docs.cloud.google.com/logging/docs/region-support#bucket-regions)After the saved query is created, the location cannot be changed.If the user doesn't provide a QUERY_ID, the system will generate an alphanumeric ID.", +"readOnly": true, +"type": "string" +}, +"opsAnalyticsQuery": { +"$ref": "OpsAnalyticsQuery", +"description": "Analytics query that can be executed in Log Analytics." +}, +"updateTime": { +"description": "Output only. The timestamp when the saved query was last updated.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"visibility": { +"description": "Required. The visibility status of this query, which determines its ownership.", +"enum": [ +"VISIBILITY_UNSPECIFIED", +"PRIVATE", +"SHARED" +], +"enumDescriptions": [ +"The saved query visibility is unspecified. A CreateSavedQuery request with an unspecified visibility will be rejected.", +"The saved query is only visible to the user that created it.", +"The saved query is visible to anyone in the project." +], +"type": "string" +} +}, +"type": "object" +}, +"SetIamPolicyRequest": { +"description": "Request message for SetIamPolicy method.", +"id": "SetIamPolicyRequest", +"properties": { +"policy": { +"$ref": "Policy", +"description": "REQUIRED: The complete policy to be applied to the resource. The size of the policy is limited to a few 10s of KB. An empty policy is a valid policy but certain Google Cloud services (such as Projects) might reject them." +}, +"updateMask": { +"description": "OPTIONAL: A FieldMask specifying which fields of the policy to modify. Only the fields in the mask will be modified. If no mask is provided, the following default mask is used:paths: \"bindings, etag\"", +"format": "google-fieldmask", +"type": "string" +} +}, +"type": "object" +}, +"Settings": { +"description": "Describes the settings associated with a project, folder, organization, or billing account.", +"id": "Settings", +"properties": { +"defaultSinkConfig": { +"$ref": "DefaultSinkConfig", +"description": "Optional. Overrides the built-in configuration for _Default sink." +}, +"disableDefaultSink": { +"description": "Optional. If set to true, the _Default sink in newly created projects and folders will created in a disabled state. This can be used to automatically disable log storage if there is already an aggregated sink configured in the hierarchy. The _Default sink can be re-enabled manually if needed.", +"type": "boolean" +}, +"kmsKeyName": { +"description": "Optional. The resource name for the configured Cloud KMS key.KMS key name format: \"projects/[PROJECT_ID]/locations/[LOCATION]/keyRings/[KEYRING]/cryptoKeys/[KEY]\" For example:\"projects/my-project/locations/us-central1/keyRings/my-ring/cryptoKeys/my-key\"To enable CMEK, set this field to a valid kms_key_name for which the associated service account has the required roles/cloudkms.cryptoKeyEncrypterDecrypter role assigned for the key.The Cloud KMS key used by the Log Router can be updated by changing the kms_key_name to a new valid key name.To disable CMEK for the Log Router, set this field to an empty string.See Configure CMEK for Cloud Logging (https://docs.cloud.google.com/logging/docs/routing/managed-encryption) for more information.", +"type": "string" +}, +"kmsServiceAccountId": { +"description": "Output only. The service account that will be used by the Log Router to access your Cloud KMS key.Before enabling CMEK, you must first assign the role roles/cloudkms.cryptoKeyEncrypterDecrypter to the service account that will be used to access your Cloud KMS key. Use GetSettings to obtain the service account ID.See Configure CMEK for Cloud Logging (https://docs.cloud.google.com/logging/docs/routing/managed-encryption) for more information.", +"readOnly": true, +"type": "string" +}, +"loggingServiceAccountId": { +"description": "Output only. The service account for the given resource container, such as project or folder. Log sinks use this service account as their writer_identity if no custom service account is provided in the request when calling the create sink method.", +"readOnly": true, +"type": "string" +}, +"name": { +"description": "Output only. The resource name of the settings.", +"readOnly": true, +"type": "string" +}, +"storageLocation": { +"description": "Optional. The storage location for the _Default and _Required log buckets of newly created projects and folders, unless the storage location is explicitly provided.Example value: europe-west1.Note: this setting does not affect the location of resources where a location is explicitly provided when created, such as custom log buckets.", +"type": "string" +} +}, +"type": "object" +}, +"SortOrderParameter": { +"description": "A sort order for a query based on a column.", +"id": "SortOrderParameter", +"properties": { +"fieldSource": { +"$ref": "FieldSource", +"description": "The field to sort on. Can be one of the FieldSource types: field name, alias ref, variable ref, or a literal value." +}, +"sortOrderDirection": { +"description": "The sort order to use for the query.", +"enum": [ +"SORT_ORDER_UNSPECIFIED", +"SORT_ORDER_NONE", +"SORT_ORDER_ASCENDING", +"SORT_ORDER_DESCENDING" +], +"enumDescriptions": [ +"Invalid value, do not use.", +"No sorting will be applied. This is used to determine if the query is in pass thru mode. To correctly chart a query in pass thru mode, NONE will need to be sent", +"The lowest-valued entries will be selected.", +"The highest-valued entries will be selected." +], +"type": "string" +} +}, +"type": "object" +}, +"SourceLocation": { +"description": "Specifies a location in a source code file.", +"id": "SourceLocation", +"properties": { +"file": { +"description": "Source file name. Depending on the runtime environment, this might be a simple name or a fully-qualified name.", +"type": "string" +}, +"functionName": { +"description": "Human-readable name of the function or method being invoked, with optional context such as the class or package name. This information is used in contexts such as the logs viewer, where a file and line number are less meaningful. The format can vary by language. For example: qual.if.ied.Class.method (Java), dir/package.func (Go), function (Python).", +"type": "string" +}, +"line": { +"description": "Line within the source file.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"SourceReference": { +"description": "A reference to a particular snapshot of the source tree used to build and deploy an application.", +"id": "SourceReference", +"properties": { +"repository": { +"description": "Optional. A URI string identifying the repository. Example: \"https://github.com/GoogleCloudPlatform/kubernetes.git\"", +"type": "string" +}, +"revisionId": { +"description": "The canonical and persistent identifier of the deployed revision. Example (git): \"0035781c50ec7aa23385dc841529ce8a4b70db1b\"", +"type": "string" +} +}, +"type": "object" +}, +"Status": { +"description": "The Status type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by gRPC (https://github.com/grpc). Each Status message contains three pieces of data: error code, error message, and error details.You can find out more about this error model and how to work with it in the API Design Guide (https://cloud.google.com/apis/design/errors).", +"id": "Status", +"properties": { +"code": { +"description": "The status code, which should be an enum value of google.rpc.Code.", +"format": "int32", +"type": "integer" +}, +"details": { +"description": "A list of messages that carry the error details. There is a common set of message types for APIs to use.", +"items": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.", +"type": "string" +} +}, +"type": "object" +}, +"SummaryField": { +"description": "A field from the LogEntry that is added to the summary line (https://docs.cloud.google.com/logging/docs/view/logs-explorer-interface#preferences) for a query in the Logs Explorer.", +"id": "SummaryField", +"properties": { +"field": { +"description": "Optional. The field from the LogEntry to include in the summary line, for example resource.type or jsonPayload.name.", +"type": "string" +} +}, +"type": "object" +}, +"SuppressionInfo": { +"description": "Information about entries that were omitted from the session.", +"id": "SuppressionInfo", +"properties": { +"reason": { +"description": "The reason that entries were omitted from the session.", +"enum": [ +"REASON_UNSPECIFIED", +"RATE_LIMIT", +"NOT_CONSUMED" +], +"enumDescriptions": [ +"Unexpected default.", +"Indicates suppression occurred due to relevant entries being received in excess of rate limits. For quotas and limits, see Logging API quotas and limits (https://cloud.google.com/logging/quotas#api-limits).", +"Indicates suppression occurred due to the client not consuming responses quickly enough." +], +"type": "string" +}, +"suppressedCount": { +"description": "A lower bound on the count of entries omitted due to reason.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"TailLogEntriesRequest": { +"description": "The parameters to TailLogEntries.", +"id": "TailLogEntriesRequest", +"properties": { +"bufferWindow": { +"description": "Optional. The amount of time to buffer log entries at the server before being returned to prevent out of order results due to late arriving log entries. Valid values are between 0-60000 milliseconds. Defaults to 2000 milliseconds.", +"format": "google-duration", +"type": "string" +}, +"filter": { +"description": "Optional. A filter that chooses which log entries to return. For more information, see Logging query language (https://{$universe.dns_names.final_documentation_domain}/logging/docs/view/logging-query-language).Only log entries that match the filter are returned. An empty filter matches all log entries in the resources listed in resource_names. Referencing a parent resource that is not listed in resource_names will cause the filter to return no results. The maximum length of a filter is 20,000 characters.", +"type": "string" +}, +"resourceNames": { +"description": "Required. Name of a parent resource from which to retrieve log entries: projects/[PROJECT_ID] organizations/[ORGANIZATION_ID] billingAccounts/[BILLING_ACCOUNT_ID] folders/[FOLDER_ID]May alternatively be one or more views: projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID] organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID] billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID] folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"TailLogEntriesResponse": { +"description": "Result returned from TailLogEntries.", +"id": "TailLogEntriesResponse", +"properties": { +"entries": { +"description": "A list of log entries. Each response in the stream will order entries with increasing values of LogEntry.timestamp. Ordering is not guaranteed between separate responses.", +"items": { +"$ref": "LogEntry" +}, +"type": "array" +}, +"suppressionInfo": { +"description": "If entries that otherwise would have been included in the session were not sent back to the client, counts of relevant entries omitted from the session with the reason that they were not included. There will be at most one of each reason per response. The counts represent the number of suppressed entries since the last streamed response.", +"items": { +"$ref": "SuppressionInfo" +}, +"type": "array" +} +}, +"type": "object" +}, +"TestIamPermissionsRequest": { +"description": "Request message for TestIamPermissions method.", +"id": "TestIamPermissionsRequest", +"properties": { +"permissions": { +"description": "The set of permissions to check for the resource. Permissions with wildcards (such as * or storage.*) are not allowed. For more information see IAM Overview (https://cloud.google.com/iam/docs/overview#permissions).", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"TestIamPermissionsResponse": { +"description": "Response message for TestIamPermissions method.", +"id": "TestIamPermissionsResponse", +"properties": { +"permissions": { +"description": "A subset of TestPermissionsRequest.permissions that the caller is allowed.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"UndeleteBucketRequest": { +"description": "The parameters to UndeleteBucket.", +"id": "UndeleteBucketRequest", +"properties": {}, +"type": "object" +}, +"UpdateBucketRequest": { +"description": "The parameters to UpdateBucket.", +"id": "UpdateBucketRequest", +"properties": { +"bucket": { +"$ref": "LogBucket", +"description": "Required. The updated bucket." +}, +"name": { +"description": "Required. The full resource name of the bucket to update. \"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" \"organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" \"billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" \"folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]\" For example:\"projects/my-project/locations/global/buckets/my-bucket\"", +"type": "string" +}, +"updateMask": { +"description": "Required. Field mask that specifies the fields in bucket that need an update. A bucket field will be overwritten if, and only if, it is in the update mask. name and output only fields cannot be updated.For a detailed FieldMask definition, see: https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.FieldMaskFor example: updateMask=retention_days", +"format": "google-fieldmask", +"type": "string" +} +}, +"type": "object" +}, +"WriteLogEntriesRequest": { +"description": "The parameters to WriteLogEntries.", +"id": "WriteLogEntriesRequest", +"properties": { +"dryRun": { +"description": "Optional. If true, the request should expect normal response, but the entries won't be persisted nor exported. Useful for checking whether the logging API endpoints are working properly before sending valuable data.", +"type": "boolean" +}, +"entries": { +"description": "Required. The log entries to send to Logging. The order of log entries in this list does not matter. Values supplied in this method's log_name, resource, and labels fields are copied into those log entries in this list that do not include values for their corresponding fields. For more information, see the LogEntry type.If the timestamp or insert_id fields are missing in log entries, then this method supplies the current time or a unique identifier, respectively. The supplied values are chosen so that, among the log entries that did not supply their own values, the entries earlier in the list will sort before the entries later in the list. See the entries.list method.Log entries with timestamps that are more than the logs retention period (https://cloud.google.com/logging/quotas) in the past or more than 24 hours in the future will not be available when calling entries.list. However, those log entries can still be exported with LogSinks (https://cloud.google.com/logging/docs/api/tasks/exporting-logs).To improve throughput and to avoid exceeding the quota limit (https://cloud.google.com/logging/quotas) for calls to entries.write, you should try to include several log entries in this list, rather than calling this method for each individual log entry.", +"items": { +"$ref": "LogEntry" +}, +"type": "array" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. Default labels that are added to the labels field of all log entries in entries. If a log entry already has a label with the same key as a label in this parameter, then the log entry's label is not changed. See LogEntry.", +"type": "object" +}, +"logName": { +"description": "Optional. A default log resource name that is assigned to all log entries in entries that do not specify a value for log_name: projects/[PROJECT_ID]/logs/[LOG_ID] organizations/[ORGANIZATION_ID]/logs/[LOG_ID] billingAccounts/[BILLING_ACCOUNT_ID]/logs/[LOG_ID] folders/[FOLDER_ID]/logs/[LOG_ID][LOG_ID] must be URL-encoded. For example: \"projects/my-project-id/logs/syslog\" \"organizations/123/logs/cloudaudit.googleapis.com%2Factivity\" The permission logging.logEntries.create is needed on each project, organization, billing account, or folder that is receiving new log entries, whether the resource is specified in logName or in an individual log entry.", +"type": "string" +}, +"partialSuccess": { +"description": "Optional. Whether a batch's valid entries should be written even if some other entry failed due to a permanent error such as INVALID_ARGUMENT or PERMISSION_DENIED. If any entry failed, then the response status is the response status of one of the failed entries. The response will include error details in WriteLogEntriesPartialErrors.log_entry_errors keyed by the entries' zero-based index in the entries. Failed requests for which no entries are written will not include per-entry errors.", +"type": "boolean" +}, +"resource": { +"$ref": "MonitoredResource", +"description": "Optional. A default monitored resource object that is assigned to all log entries in entries that do not specify a value for resource. Example: { \"type\": \"gce_instance\", \"labels\": { \"zone\": \"us-central1-a\", \"instance_id\": \"00000000000000000000\" }} See LogEntry." +} +}, +"type": "object" +}, +"WriteLogEntriesResponse": { +"description": "Result returned from WriteLogEntries.", +"id": "WriteLogEntriesResponse", +"properties": {}, +"type": "object" +} +}, +"servicePath": "", +"title": "Cloud Logging API", +"version": "v2", +"version_module": true +} \ No newline at end of file diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/managedidentities.v1alpha1.json b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/managedidentities.v1alpha1.json new file mode 100644 index 0000000000000000000000000000000000000000..1b285d608d5e6570e4efd0c92117a73c3fb11fdb --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/managedidentities.v1alpha1.json @@ -0,0 +1,3243 @@ +{ +"auth": { +"oauth2": { +"scopes": { +"https://www.googleapis.com/auth/cloud-platform": { +"description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." +} +} +} +}, +"basePath": "", +"baseUrl": "https://managedidentities.googleapis.com/", +"batchPath": "batch", +"canonicalName": "Managed Service for Microsoft Active Directory Consumer API", +"description": "The Managed Service for Microsoft Active Directory API is used for managing a highly available, hardened service running Microsoft Active Directory (AD).", +"discoveryVersion": "v1", +"documentationLink": "https://cloud.google.com/managed-microsoft-ad/", +"fullyEncodeReservedExpansion": true, +"icons": { +"x16": "http://www.google.com/images/icons/product/search-16.gif", +"x32": "http://www.google.com/images/icons/product/search-32.gif" +}, +"id": "managedidentities:v1alpha1", +"kind": "discovery#restDescription", +"mtlsRootUrl": "https://managedidentities.mtls.googleapis.com/", +"name": "managedidentities", +"ownerDomain": "google.com", +"ownerName": "Google", +"parameters": { +"$.xgafv": { +"description": "V1 error format.", +"enum": [ +"1", +"2" +], +"enumDescriptions": [ +"v1 error format", +"v2 error format" +], +"location": "query", +"type": "string" +}, +"access_token": { +"description": "OAuth access token.", +"location": "query", +"type": "string" +}, +"alt": { +"default": "json", +"description": "Data format for response.", +"enum": [ +"json", +"media", +"proto" +], +"enumDescriptions": [ +"Responses with Content-Type of application/json", +"Media download with context-dependent Content-Type", +"Responses with Content-Type of application/x-protobuf" +], +"location": "query", +"type": "string" +}, +"callback": { +"description": "JSONP", +"location": "query", +"type": "string" +}, +"fields": { +"description": "Selector specifying which fields to include in a partial response.", +"location": "query", +"type": "string" +}, +"key": { +"description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", +"location": "query", +"type": "string" +}, +"oauth_token": { +"description": "OAuth 2.0 token for the current user.", +"location": "query", +"type": "string" +}, +"prettyPrint": { +"default": "true", +"description": "Returns response with indentations and line breaks.", +"location": "query", +"type": "boolean" +}, +"quotaUser": { +"description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.", +"location": "query", +"type": "string" +}, +"uploadType": { +"description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", +"location": "query", +"type": "string" +}, +"upload_protocol": { +"description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", +"location": "query", +"type": "string" +} +}, +"protocol": "rest", +"resources": { +"projects": { +"resources": { +"locations": { +"methods": { +"get": { +"description": "Gets information about a location.", +"flatPath": "v1alpha1/projects/{projectsId}/locations/{locationsId}", +"httpMethod": "GET", +"id": "managedidentities.projects.locations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Resource name for the location.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha1/{+name}", +"response": { +"$ref": "Location" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists information about the supported locations for this service. This method can be called in two ways: * **List all public locations:** Use the path `GET /v1/locations`. * **List project-visible locations:** Use the path `GET /v1/projects/{project_id}/locations`. This may include public locations as well as private or other locations specifically visible to the project.", +"flatPath": "v1alpha1/projects/{projectsId}/locations", +"httpMethod": "GET", +"id": "managedidentities.projects.locations.list", +"parameterOrder": [ +"name" +], +"parameters": { +"extraLocationTypes": { +"description": "Optional. Do not use this field. It is unsupported and is ignored unless explicitly documented otherwise. This is primarily for internal usage.", +"location": "query", +"repeated": true, +"type": "string" +}, +"filter": { +"description": "A filter to narrow down results to a preferred subset. The filtering language accepts strings like `\"displayName=tokyo\"`, and is documented in more detail in [AIP-160](https://google.aip.dev/160).", +"location": "query", +"type": "string" +}, +"name": { +"description": "The resource that owns the locations collection, if applicable.", +"location": "path", +"pattern": "^projects/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The maximum number of results to return. If not set, the service selects a default.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A page token received from the `next_page_token` field in the response. Send that page token to receive the subsequent page.", +"location": "query", +"type": "string" +} +}, +"path": "v1alpha1/{+name}/locations", +"response": { +"$ref": "ListLocationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"global": { +"resources": { +"domains": { +"methods": { +"attachTrust": { +"description": "Adds AD trust in a given domain. Operation", +"flatPath": "v1alpha1/projects/{projectsId}/locations/global/domains/{domainsId}:attachTrust", +"httpMethod": "POST", +"id": "managedidentities.projects.locations.global.domains.attachTrust", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The resource domain name, project name and location using the form: `projects/{project_id}/locations/global/domains/{domain_name}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/global/domains/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha1/{+name}:attachTrust", +"request": { +"$ref": "AttachTrustRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"checkMigrationPermission": { +"description": "AuditMigration API gets the current state of DomainMigration", +"flatPath": "v1alpha1/projects/{projectsId}/locations/global/domains/{domainsId}:checkMigrationPermission", +"httpMethod": "POST", +"id": "managedidentities.projects.locations.global.domains.checkMigrationPermission", +"parameterOrder": [ +"domain" +], +"parameters": { +"domain": { +"description": "Required. The domain resource name using the form: `projects/{project_id}/locations/global/domains/{domain_name}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/global/domains/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha1/{+domain}:checkMigrationPermission", +"request": { +"$ref": "CheckMigrationPermissionRequest" +}, +"response": { +"$ref": "CheckMigrationPermissionResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"create": { +"description": "Creates a Microsoft AD Domain in a given project. Operation", +"flatPath": "v1alpha1/projects/{projectsId}/locations/global/domains", +"httpMethod": "POST", +"id": "managedidentities.projects.locations.global.domains.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"domainName": { +"description": "The fully qualified domain name. e.g. mydomain.myorganization.com, with the following restrictions: * Must contain only lowercase letters, numbers, periods and hyphens. * Must start with a letter. * Must contain between 2-64 characters. * Must end with a number or a letter. * Must not start with period. * Must be unique within the project. * First segment length (mydomain form example above) shouldn't exceed 15 chars. * The last segment cannot be fully numeric.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Resource project name and location using the form: `projects/{project_id}/locations/global`", +"location": "path", +"pattern": "^projects/[^/]+/locations/global$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha1/{+parent}/domains", +"request": { +"$ref": "Domain" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes identified domain. Operation", +"flatPath": "v1alpha1/projects/{projectsId}/locations/global/domains/{domainsId}", +"httpMethod": "DELETE", +"id": "managedidentities.projects.locations.global.domains.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Domain resource name using the form: `projects/{project_id}/locations/global/domains/{domain_name}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/global/domains/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha1/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"detachTrust": { +"description": "Removes identified trust. Operation", +"flatPath": "v1alpha1/projects/{projectsId}/locations/global/domains/{domainsId}:detachTrust", +"httpMethod": "POST", +"id": "managedidentities.projects.locations.global.domains.detachTrust", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The resource domain name, project name, and location using the form: `projects/{project_id}/locations/global/domains/{domain_name}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/global/domains/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha1/{+name}:detachTrust", +"request": { +"$ref": "DetachTrustRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"disableMigration": { +"description": "Disable Domain Migration", +"flatPath": "v1alpha1/projects/{projectsId}/locations/global/domains/{domainsId}:disableMigration", +"httpMethod": "POST", +"id": "managedidentities.projects.locations.global.domains.disableMigration", +"parameterOrder": [ +"domain" +], +"parameters": { +"domain": { +"description": "Required. The domain resource name using the form: `projects/{project_id}/locations/global/domains/{domain_name}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/global/domains/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha1/{+domain}:disableMigration", +"request": { +"$ref": "DisableMigrationRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"domainJoinMachine": { +"description": "DomainJoinMachine API joins a Compute Engine VM to the domain", +"flatPath": "v1alpha1/projects/{projectsId}/locations/global/domains/{domainsId}:domainJoinMachine", +"httpMethod": "POST", +"id": "managedidentities.projects.locations.global.domains.domainJoinMachine", +"parameterOrder": [ +"domain" +], +"parameters": { +"domain": { +"description": "Required. The domain resource name using the form: projects/{project_id}/locations/global/domains/{domain_name}", +"location": "path", +"pattern": "^projects/[^/]+/locations/global/domains/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha1/{+domain}:domainJoinMachine", +"request": { +"$ref": "DomainJoinMachineRequest" +}, +"response": { +"$ref": "DomainJoinMachineResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"enableMigration": { +"description": "Enable Domain Migration", +"flatPath": "v1alpha1/projects/{projectsId}/locations/global/domains/{domainsId}:enableMigration", +"httpMethod": "POST", +"id": "managedidentities.projects.locations.global.domains.enableMigration", +"parameterOrder": [ +"domain" +], +"parameters": { +"domain": { +"description": "Required. The domain resource name using the form: `projects/{project_id}/locations/global/domains/{domain_name}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/global/domains/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha1/{+domain}:enableMigration", +"request": { +"$ref": "EnableMigrationRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"extendSchema": { +"description": "Extend Schema for Domain", +"flatPath": "v1alpha1/projects/{projectsId}/locations/global/domains/{domainsId}:extendSchema", +"httpMethod": "POST", +"id": "managedidentities.projects.locations.global.domains.extendSchema", +"parameterOrder": [ +"domain" +], +"parameters": { +"domain": { +"description": "Required. The domain resource name using the form: `projects/{project_id}/locations/global/domains/{domain_name}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/global/domains/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha1/{+domain}:extendSchema", +"request": { +"$ref": "ExtendSchemaRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets details of a single Domain.", +"flatPath": "v1alpha1/projects/{projectsId}/locations/global/domains/{domainsId}", +"httpMethod": "GET", +"id": "managedidentities.projects.locations.global.domains.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Domain resource name using the form: `projects/{project_id}/locations/global/domains/{domain_name}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/global/domains/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha1/{+name}", +"response": { +"$ref": "Domain" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"getIamPolicy": { +"description": "Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.", +"flatPath": "v1alpha1/projects/{projectsId}/locations/global/domains/{domainsId}:getIamPolicy", +"httpMethod": "GET", +"id": "managedidentities.projects.locations.global.domains.getIamPolicy", +"parameterOrder": [ +"resource" +], +"parameters": { +"options.requestedPolicyVersion": { +"description": "Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).", +"format": "int32", +"location": "query", +"type": "integer" +}, +"resource": { +"description": "REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", +"location": "path", +"pattern": "^projects/[^/]+/locations/global/domains/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha1/{+resource}:getIamPolicy", +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"getLdapssettings": { +"description": "Gets the domain ldaps settings.", +"flatPath": "v1alpha1/projects/{projectsId}/locations/global/domains/{domainsId}/ldapssettings", +"httpMethod": "GET", +"id": "managedidentities.projects.locations.global.domains.getLdapssettings", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The domain resource name using the form: `projects/{project_id}/locations/global/domains/{domain_name}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/global/domains/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha1/{+name}/ldapssettings", +"response": { +"$ref": "LDAPSSettings" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists Domains in a given project.", +"flatPath": "v1alpha1/projects/{projectsId}/locations/global/domains", +"httpMethod": "GET", +"id": "managedidentities.projects.locations.global.domains.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Optional. Filter specifying constraints of a list operation. For example, `Domain.fqdn=\"mydomain.myorginization\"`.", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "Optional. Specifies the ordering of results following syntax at https://cloud.google.com/apis/design/design_patterns#sorting_order.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "If not specified, a default value of 1000 will be used by the service. Regardless of the page_size value, the response may include a partial list and a caller should only rely on response's next_page_token to determine if there are more instances left to be queried.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The next_page_token value returned from a previous List request, if any.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The resource name of the domain location using the form: `projects/{project_id}/locations/global`", +"location": "path", +"pattern": "^projects/[^/]+/locations/global$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha1/{+parent}/domains", +"response": { +"$ref": "ListDomainsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates the metadata and configuration of a specified domain. Operation", +"flatPath": "v1alpha1/projects/{projectsId}/locations/global/domains/{domainsId}", +"httpMethod": "PATCH", +"id": "managedidentities.projects.locations.global.domains.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Output only. Unique name of the domain in this scope including projects and location using the form: `projects/{project_id}/locations/global/domains/{domain_name}`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/global/domains/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Mask of fields to update. At least one path must be supplied in this field. The elements of the repeated paths field may only include these fields from Domain: * `labels` * `locations` * `authorized_networks` * `audit_logs_enabled`", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1alpha1/{+name}", +"request": { +"$ref": "Domain" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"reconfigureTrust": { +"description": "Updates the dns conditional forwarder. Operation", +"flatPath": "v1alpha1/projects/{projectsId}/locations/global/domains/{domainsId}:reconfigureTrust", +"httpMethod": "POST", +"id": "managedidentities.projects.locations.global.domains.reconfigureTrust", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The resource domain name, project name and location using the form: `projects/{project_id}/locations/global/domains/{domain_name}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/global/domains/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha1/{+name}:reconfigureTrust", +"request": { +"$ref": "ReconfigureTrustRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"resetAdminPassword": { +"description": "Resets managed identities admin password identified by managed_identities_admin_name", +"flatPath": "v1alpha1/projects/{projectsId}/locations/global/domains/{domainsId}:resetAdminPassword", +"httpMethod": "POST", +"id": "managedidentities.projects.locations.global.domains.resetAdminPassword", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The domain resource name using the form: `projects/{project_id}/locations/global/domains/{domain_name}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/global/domains/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha1/{+name}:resetAdminPassword", +"request": { +"$ref": "ResetAdminPasswordRequest" +}, +"response": { +"$ref": "ResetAdminPasswordResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"restore": { +"description": "RestoreDomain restores domain backup mentioned in the RestoreDomainRequest", +"flatPath": "v1alpha1/projects/{projectsId}/locations/global/domains/{domainsId}:restore", +"httpMethod": "POST", +"id": "managedidentities.projects.locations.global.domains.restore", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. resource name for the domain to which the backup belongs", +"location": "path", +"pattern": "^projects/[^/]+/locations/global/domains/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha1/{+name}:restore", +"request": { +"$ref": "RestoreDomainRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"setIamPolicy": { +"description": "Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.", +"flatPath": "v1alpha1/projects/{projectsId}/locations/global/domains/{domainsId}:setIamPolicy", +"httpMethod": "POST", +"id": "managedidentities.projects.locations.global.domains.setIamPolicy", +"parameterOrder": [ +"resource" +], +"parameters": { +"resource": { +"description": "REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", +"location": "path", +"pattern": "^projects/[^/]+/locations/global/domains/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha1/{+resource}:setIamPolicy", +"request": { +"$ref": "SetIamPolicyRequest" +}, +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"testIamPermissions": { +"description": "Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may \"fail open\" without warning.", +"flatPath": "v1alpha1/projects/{projectsId}/locations/global/domains/{domainsId}:testIamPermissions", +"httpMethod": "POST", +"id": "managedidentities.projects.locations.global.domains.testIamPermissions", +"parameterOrder": [ +"resource" +], +"parameters": { +"resource": { +"description": "REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", +"location": "path", +"pattern": "^projects/[^/]+/locations/global/domains/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha1/{+resource}:testIamPermissions", +"request": { +"$ref": "TestIamPermissionsRequest" +}, +"response": { +"$ref": "TestIamPermissionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"updateLdapssettings": { +"description": "Patches a single ldaps settings.", +"flatPath": "v1alpha1/projects/{projectsId}/locations/global/domains/{domainsId}/ldapssettings", +"httpMethod": "PATCH", +"id": "managedidentities.projects.locations.global.domains.updateLdapssettings", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The resource name of the LDAPS settings. Uses the form: `projects/{project}/locations/{location}/domains/{domain}`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/global/domains/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Required. Mask of fields to update. At least one path must be supplied in this field. For the `FieldMask` definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1alpha1/{+name}/ldapssettings", +"request": { +"$ref": "LDAPSSettings" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"validateTrust": { +"description": "Validate the trust state Operation", +"flatPath": "v1alpha1/projects/{projectsId}/locations/global/domains/{domainsId}:validateTrust", +"httpMethod": "POST", +"id": "managedidentities.projects.locations.global.domains.validateTrust", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The resource domain name, project name, and location using the form: `projects/{project_id}/locations/global/domains/{domain_name}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/global/domains/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha1/{+name}:validateTrust", +"request": { +"$ref": "ValidateTrustRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"backups": { +"methods": { +"create": { +"description": "Creates a Backup for a domain.", +"flatPath": "v1alpha1/projects/{projectsId}/locations/global/domains/{domainsId}/backups", +"httpMethod": "POST", +"id": "managedidentities.projects.locations.global.domains.backups.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"backupId": { +"description": "Required. Backup Id, unique name to identify the backups with the following restrictions: * Must be lowercase letters, numbers, and hyphens * Must start with a letter. * Must contain between 1-63 characters. * Must end with a number or a letter. * Must be unique within the domain.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The domain resource name using the form: `projects/{project_id}/locations/global/domains/{domain_name}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/global/domains/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha1/{+parent}/backups", +"request": { +"$ref": "Backup" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes identified Backup.", +"flatPath": "v1alpha1/projects/{projectsId}/locations/global/domains/{domainsId}/backups/{backupsId}", +"httpMethod": "DELETE", +"id": "managedidentities.projects.locations.global.domains.backups.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The backup resource name using the form: `projects/{project_id}/locations/global/domains/{domain_name}/backups/{backup_id}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/global/domains/[^/]+/backups/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha1/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets details of a single Backup.", +"flatPath": "v1alpha1/projects/{projectsId}/locations/global/domains/{domainsId}/backups/{backupsId}", +"httpMethod": "GET", +"id": "managedidentities.projects.locations.global.domains.backups.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The backup resource name using the form: `projects/{project_id}/locations/global/domains/{domain_name}/backups/{backup_id}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/global/domains/[^/]+/backups/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha1/{+name}", +"response": { +"$ref": "Backup" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"getIamPolicy": { +"description": "Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.", +"flatPath": "v1alpha1/projects/{projectsId}/locations/global/domains/{domainsId}/backups/{backupsId}:getIamPolicy", +"httpMethod": "GET", +"id": "managedidentities.projects.locations.global.domains.backups.getIamPolicy", +"parameterOrder": [ +"resource" +], +"parameters": { +"options.requestedPolicyVersion": { +"description": "Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).", +"format": "int32", +"location": "query", +"type": "integer" +}, +"resource": { +"description": "REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", +"location": "path", +"pattern": "^projects/[^/]+/locations/global/domains/[^/]+/backups/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha1/{+resource}:getIamPolicy", +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists Backup in a given project.", +"flatPath": "v1alpha1/projects/{projectsId}/locations/global/domains/{domainsId}/backups", +"httpMethod": "GET", +"id": "managedidentities.projects.locations.global.domains.backups.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Optional. Filter specifying constraints of a list operation.", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "Optional. Specifies the ordering of results following syntax at https://cloud.google.com/apis/design/design_patterns#sorting_order.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Optional. The maximum number of items to return. If not specified, a default value of 1000 will be used by the service. Regardless of the page_size value, the response may include a partial list and a caller should only rely on response's next_page_token to determine if there are more instances left to be queried.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. The next_page_token value returned from a previous List request, if any.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The domain resource name using the form: `projects/{project_id}/locations/global/domains/{domain_name}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/global/domains/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha1/{+parent}/backups", +"response": { +"$ref": "ListBackupsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates the labels for specified Backup.", +"flatPath": "v1alpha1/projects/{projectsId}/locations/global/domains/{domainsId}/backups/{backupsId}", +"httpMethod": "PATCH", +"id": "managedidentities.projects.locations.global.domains.backups.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Output only. The unique name of the Backup in the form of projects/{project_id}/locations/global/domains/{domain_name}/backups/{name}", +"location": "path", +"pattern": "^projects/[^/]+/locations/global/domains/[^/]+/backups/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Required. Mask of fields to update. At least one path must be supplied in this field. The elements of the repeated paths field may only include these fields from Backup: * `labels`", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1alpha1/{+name}", +"request": { +"$ref": "Backup" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"setIamPolicy": { +"description": "Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.", +"flatPath": "v1alpha1/projects/{projectsId}/locations/global/domains/{domainsId}/backups/{backupsId}:setIamPolicy", +"httpMethod": "POST", +"id": "managedidentities.projects.locations.global.domains.backups.setIamPolicy", +"parameterOrder": [ +"resource" +], +"parameters": { +"resource": { +"description": "REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", +"location": "path", +"pattern": "^projects/[^/]+/locations/global/domains/[^/]+/backups/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha1/{+resource}:setIamPolicy", +"request": { +"$ref": "SetIamPolicyRequest" +}, +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"testIamPermissions": { +"description": "Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may \"fail open\" without warning.", +"flatPath": "v1alpha1/projects/{projectsId}/locations/global/domains/{domainsId}/backups/{backupsId}:testIamPermissions", +"httpMethod": "POST", +"id": "managedidentities.projects.locations.global.domains.backups.testIamPermissions", +"parameterOrder": [ +"resource" +], +"parameters": { +"resource": { +"description": "REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", +"location": "path", +"pattern": "^projects/[^/]+/locations/global/domains/[^/]+/backups/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha1/{+resource}:testIamPermissions", +"request": { +"$ref": "TestIamPermissionsRequest" +}, +"response": { +"$ref": "TestIamPermissionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"sqlIntegrations": { +"methods": { +"get": { +"description": "Gets details of a single sqlIntegration.", +"flatPath": "v1alpha1/projects/{projectsId}/locations/global/domains/{domainsId}/sqlIntegrations/{sqlIntegrationsId}", +"httpMethod": "GET", +"id": "managedidentities.projects.locations.global.domains.sqlIntegrations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. MangedOU resource name using the form: `projects/{project_id}/locations/global/domains/*/sqlIntegrations/{name}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/global/domains/[^/]+/sqlIntegrations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha1/{+name}", +"response": { +"$ref": "SQLIntegration" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists SQLIntegrations in a given domain.", +"flatPath": "v1alpha1/projects/{projectsId}/locations/global/domains/{domainsId}/sqlIntegrations", +"httpMethod": "GET", +"id": "managedidentities.projects.locations.global.domains.sqlIntegrations.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Optional. Filter specifying constraints of a list operation. For example, `SqlIntegration.name=\"sql\"`.", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "Optional. Specifies the ordering of results following syntax at https://cloud.google.com/apis/design/design_patterns#sorting_order.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Optional. The maximum number of items to return. If not specified, a default value of 1000 will be used by the service. Regardless of the page_size value, the response may include a partial list and a caller should only rely on response'ANIZATIONs next_page_token to determine if there are more instances left to be queried.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. The next_page_token value returned from a previous List request, if any.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The resource name of the SqlIntegrations using the form: `projects/{project_id}/locations/global/domains/*`", +"location": "path", +"pattern": "^projects/[^/]+/locations/global/domains/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha1/{+parent}/sqlIntegrations", +"response": { +"$ref": "ListSQLIntegrationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +}, +"operations": { +"methods": { +"cancel": { +"description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.", +"flatPath": "v1alpha1/projects/{projectsId}/locations/global/operations/{operationsId}:cancel", +"httpMethod": "POST", +"id": "managedidentities.projects.locations.global.operations.cancel", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be cancelled.", +"location": "path", +"pattern": "^projects/[^/]+/locations/global/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha1/{+name}:cancel", +"request": { +"$ref": "CancelOperationRequest" +}, +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.", +"flatPath": "v1alpha1/projects/{projectsId}/locations/global/operations/{operationsId}", +"httpMethod": "DELETE", +"id": "managedidentities.projects.locations.global.operations.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be deleted.", +"location": "path", +"pattern": "^projects/[^/]+/locations/global/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha1/{+name}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", +"flatPath": "v1alpha1/projects/{projectsId}/locations/global/operations/{operationsId}", +"httpMethod": "GET", +"id": "managedidentities.projects.locations.global.operations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/global/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha1/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.", +"flatPath": "v1alpha1/projects/{projectsId}/locations/global/operations", +"httpMethod": "GET", +"id": "managedidentities.projects.locations.global.operations.list", +"parameterOrder": [ +"name" +], +"parameters": { +"filter": { +"description": "The standard list filter.", +"location": "query", +"type": "string" +}, +"name": { +"description": "The name of the operation's parent resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/global$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The standard list page size.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The standard list page token.", +"location": "query", +"type": "string" +}, +"returnPartialSuccess": { +"description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `\"projects/example/locations/-\"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1alpha1/{+name}/operations", +"response": { +"$ref": "ListOperationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"peerings": { +"methods": { +"create": { +"description": "Creates a Peering for Managed AD instance.", +"flatPath": "v1alpha1/projects/{projectsId}/locations/global/peerings", +"httpMethod": "POST", +"id": "managedidentities.projects.locations.global.peerings.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. Resource project name and location using the form: `projects/{project_id}/locations/global`", +"location": "path", +"pattern": "^projects/[^/]+/locations/global$", +"required": true, +"type": "string" +}, +"peeringId": { +"description": "Required. Peering Id, unique name to identify peering.", +"location": "query", +"type": "string" +} +}, +"path": "v1alpha1/{+parent}/peerings", +"request": { +"$ref": "Peering" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes identified Peering.", +"flatPath": "v1alpha1/projects/{projectsId}/locations/global/peerings/{peeringsId}", +"httpMethod": "DELETE", +"id": "managedidentities.projects.locations.global.peerings.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Peering resource name using the form: `projects/{project_id}/locations/global/peerings/{peering_id}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/global/peerings/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha1/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets details of a single Peering.", +"flatPath": "v1alpha1/projects/{projectsId}/locations/global/peerings/{peeringsId}", +"httpMethod": "GET", +"id": "managedidentities.projects.locations.global.peerings.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Peering resource name using the form: `projects/{project_id}/locations/global/peerings/{peering_id}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/global/peerings/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha1/{+name}", +"response": { +"$ref": "Peering" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"getIamPolicy": { +"description": "Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.", +"flatPath": "v1alpha1/projects/{projectsId}/locations/global/peerings/{peeringsId}:getIamPolicy", +"httpMethod": "GET", +"id": "managedidentities.projects.locations.global.peerings.getIamPolicy", +"parameterOrder": [ +"resource" +], +"parameters": { +"options.requestedPolicyVersion": { +"description": "Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).", +"format": "int32", +"location": "query", +"type": "integer" +}, +"resource": { +"description": "REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", +"location": "path", +"pattern": "^projects/[^/]+/locations/global/peerings/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha1/{+resource}:getIamPolicy", +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists Peerings in a given project.", +"flatPath": "v1alpha1/projects/{projectsId}/locations/global/peerings", +"httpMethod": "GET", +"id": "managedidentities.projects.locations.global.peerings.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Optional. Filter specifying constraints of a list operation. For example, `peering.authoized_network =\"/projects/myprojectid\"`.", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "Optional. Specifies the ordering of results following syntax at https://cloud.google.com/apis/design/design_patterns#sorting_order.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Optional. The maximum number of items to return. If not specified, a default value of 1000 will be used by the service. Regardless of the page_size value, the response may include a partial list and a caller should only rely on response's next_page_token to determine if there are more instances left to be queried.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. The next_page_token value returned from a previous List request, if any.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The resource name of the domain location using the form: `projects/{project_id}/locations/global`", +"location": "path", +"pattern": "^projects/[^/]+/locations/global$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha1/{+parent}/peerings", +"response": { +"$ref": "ListPeeringsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates the labels for specified Peering.", +"flatPath": "v1alpha1/projects/{projectsId}/locations/global/peerings/{peeringsId}", +"httpMethod": "PATCH", +"id": "managedidentities.projects.locations.global.peerings.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Output only. Unique name of the peering in this scope including projects and location using the form: `projects/{project_id}/locations/global/peerings/{peering_id}`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/global/peerings/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Required. Mask of fields to update. At least one path must be supplied in this field. The elements of the repeated paths field may only include these fields from Peering: * `labels`", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1alpha1/{+name}", +"request": { +"$ref": "Peering" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"setIamPolicy": { +"description": "Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.", +"flatPath": "v1alpha1/projects/{projectsId}/locations/global/peerings/{peeringsId}:setIamPolicy", +"httpMethod": "POST", +"id": "managedidentities.projects.locations.global.peerings.setIamPolicy", +"parameterOrder": [ +"resource" +], +"parameters": { +"resource": { +"description": "REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", +"location": "path", +"pattern": "^projects/[^/]+/locations/global/peerings/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha1/{+resource}:setIamPolicy", +"request": { +"$ref": "SetIamPolicyRequest" +}, +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"testIamPermissions": { +"description": "Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may \"fail open\" without warning.", +"flatPath": "v1alpha1/projects/{projectsId}/locations/global/peerings/{peeringsId}:testIamPermissions", +"httpMethod": "POST", +"id": "managedidentities.projects.locations.global.peerings.testIamPermissions", +"parameterOrder": [ +"resource" +], +"parameters": { +"resource": { +"description": "REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", +"location": "path", +"pattern": "^projects/[^/]+/locations/global/peerings/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha1/{+resource}:testIamPermissions", +"request": { +"$ref": "TestIamPermissionsRequest" +}, +"response": { +"$ref": "TestIamPermissionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +} +} +} +} +} +}, +"revision": "20260202", +"rootUrl": "https://managedidentities.googleapis.com/", +"schemas": { +"AttachTrustRequest": { +"id": "AttachTrustRequest", +"properties": { +"trust": { +"$ref": "Trust", +"description": "The domain trust resource." +} +}, +"type": "object" +}, +"Backup": { +"description": "Represents a Managed Microsoft Identities backup.", +"id": "Backup", +"properties": { +"createTime": { +"description": "Output only. The time the backups was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"description": { +"description": "Optional. A short description of the backup.", +"type": "string" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. Resource labels to represent user provided metadata.", +"type": "object" +}, +"name": { +"description": "Output only. The unique name of the Backup in the form of projects/{project_id}/locations/global/domains/{domain_name}/backups/{name}", +"readOnly": true, +"type": "string" +}, +"state": { +"description": "Output only. The current state of the backup.", +"enum": [ +"STATE_UNSPECIFIED", +"CREATING", +"ACTIVE", +"FAILED", +"DELETING" +], +"enumDescriptions": [ +"Not set.", +"Backup is being created.", +"Backup has been created and validated.", +"Backup has been created but failed validation.", +"Backup is being deleted." +], +"readOnly": true, +"type": "string" +}, +"statusMessage": { +"description": "Output only. Additional information about the current status of this backup, if available.", +"readOnly": true, +"type": "string" +}, +"type": { +"description": "Output only. Indicates whether it\u2019s an on-demand backup or scheduled.", +"enum": [ +"TYPE_UNSPECIFIED", +"ON_DEMAND", +"SCHEDULED", +"SCHEMA_EXTENSION" +], +"enumDescriptions": [ +"Backup type not specified.", +"Backup was manually created.", +"Backup was automatically created.", +"Backup was taken as part of Schema Extension request." +], +"readOnly": true, +"type": "string" +}, +"updateTime": { +"description": "Output only. Last update time.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"Binding": { +"description": "Associates `members`, or principals, with a `role`.", +"id": "Binding", +"properties": { +"condition": { +"$ref": "Expr", +"description": "The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies)." +}, +"members": { +"description": "Specifies the principals requesting access for a Google Cloud resource. `members` can have the following values: * `allUsers`: A special identifier that represents anyone who is on the internet; with or without a Google account. * `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service account. Does not include identities that come from external identity providers (IdPs) through identity federation. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `group:{emailid}`: An email address that represents a Google group. For example, `admins@example.com`. * `domain:{domain}`: The G Suite domain (primary) that represents all the users of that domain. For example, `google.com` or `example.com`. * `principal://iam.googleapis.com/locations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}`: A single identity in a workforce identity pool. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/group/{group_id}`: All workforce identities in a group. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/attribute.{attribute_name}/{attribute_value}`: All workforce identities with a specific attribute value. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/*`: All identities in a workforce identity pool. * `principal://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/subject/{subject_attribute_value}`: A single identity in a workload identity pool. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/group/{group_id}`: A workload identity pool group. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/attribute.{attribute_name}/{attribute_value}`: All identities in a workload identity pool with a certain attribute. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/*`: All identities in a workload identity pool. * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a user that has been recently deleted. For example, `alice@example.com?uid=123456789012345678901`. If the user is recovered, this value reverts to `user:{emailid}` and the recovered user retains the role in the binding. * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a service account that has been recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the service account is undeleted, this value reverts to `serviceAccount:{emailid}` and the undeleted service account retains the role in the binding. * `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a Google group that has been recently deleted. For example, `admins@example.com?uid=123456789012345678901`. If the group is recovered, this value reverts to `group:{emailid}` and the recovered group retains the role in the binding. * `deleted:principal://iam.googleapis.com/locations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}`: Deleted single identity in a workforce identity pool. For example, `deleted:principal://iam.googleapis.com/locations/global/workforcePools/my-pool-id/subject/my-subject-attribute-value`.", +"items": { +"type": "string" +}, +"type": "array" +}, +"role": { +"description": "Role that is assigned to the list of `members`, or principals. For example, `roles/viewer`, `roles/editor`, or `roles/owner`. For an overview of the IAM roles and permissions, see the [IAM documentation](https://cloud.google.com/iam/docs/roles-overview). For a list of the available pre-defined roles, see [here](https://cloud.google.com/iam/docs/understanding-roles).", +"type": "string" +} +}, +"type": "object" +}, +"CancelOperationRequest": { +"description": "The request message for Operations.CancelOperation.", +"id": "CancelOperationRequest", +"properties": {}, +"type": "object" +}, +"Certificate": { +"description": "Certificate used to configure LDAPS.", +"id": "Certificate", +"properties": { +"expireTime": { +"description": "The certificate expire time.", +"format": "google-datetime", +"type": "string" +}, +"issuingCertificate": { +"$ref": "Certificate", +"description": "The issuer of this certificate." +}, +"subject": { +"description": "The certificate subject.", +"type": "string" +}, +"subjectAlternativeName": { +"description": "The additional hostnames for the domain.", +"items": { +"type": "string" +}, +"type": "array" +}, +"thumbprint": { +"description": "The certificate thumbprint which uniquely identifies the certificate.", +"type": "string" +} +}, +"type": "object" +}, +"CheckMigrationPermissionRequest": { +"description": "CheckMigrationPermissionRequest is the request message for CheckMigrationPermission method.", +"id": "CheckMigrationPermissionRequest", +"properties": {}, +"type": "object" +}, +"CheckMigrationPermissionResponse": { +"description": "CheckMigrationPermissionResponse is the response message for CheckMigrationPermission method.", +"id": "CheckMigrationPermissionResponse", +"properties": { +"onpremDomains": { +"description": "The state of SID filtering of all the domains which has trust established.", +"items": { +"$ref": "OnPremDomainSIDDetails" +}, +"type": "array" +}, +"state": { +"description": "The state of DomainMigration.", +"enum": [ +"STATE_UNSPECIFIED", +"DISABLED", +"ENABLED", +"NEEDS_MAINTENANCE" +], +"enumDescriptions": [ +"DomainMigration is in unspecified state.", +"Domain Migration is Disabled.", +"Domain Migration is Enabled.", +"Domain Migration is not in valid state." +], +"type": "string" +} +}, +"type": "object" +}, +"DailyCycle": { +"description": "Time window specified for daily operations.", +"id": "DailyCycle", +"properties": { +"duration": { +"description": "Output only. Duration of the time window, set by service producer.", +"format": "google-duration", +"type": "string" +}, +"startTime": { +"$ref": "TimeOfDay", +"description": "Time within the day to start the operations." +} +}, +"type": "object" +}, +"Date": { +"description": "Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following: * A full date, with non-zero year, month, and day values. * A month and day, with a zero year (for example, an anniversary). * A year on its own, with a zero month and a zero day. * A year and month, with a zero day (for example, a credit card expiration date). Related types: * google.type.TimeOfDay * google.type.DateTime * google.protobuf.Timestamp", +"id": "Date", +"properties": { +"day": { +"description": "Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn't significant.", +"format": "int32", +"type": "integer" +}, +"month": { +"description": "Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.", +"format": "int32", +"type": "integer" +}, +"year": { +"description": "Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"DenyMaintenancePeriod": { +"description": "DenyMaintenancePeriod definition. Maintenance is forbidden within the deny period. The start_date must be less than the end_date.", +"id": "DenyMaintenancePeriod", +"properties": { +"endDate": { +"$ref": "Date", +"description": "Deny period end date. This can be: * A full date, with non-zero year, month and day values. * A month and day value, with a zero year. Allows recurring deny periods each year. Date matching this period will have to be before the end." +}, +"startDate": { +"$ref": "Date", +"description": "Deny period start date. This can be: * A full date, with non-zero year, month and day values. * A month and day value, with a zero year. Allows recurring deny periods each year. Date matching this period will have to be the same or after the start." +}, +"time": { +"$ref": "TimeOfDay", +"description": "Time in UTC when the Blackout period starts on start_date and ends on end_date. This can be: * Full time. * All zeros for 00:00:00 UTC" +} +}, +"type": "object" +}, +"DetachTrustRequest": { +"id": "DetachTrustRequest", +"properties": { +"trust": { +"$ref": "Trust", +"description": "The domain trust resource to removed." +} +}, +"type": "object" +}, +"DisableMigrationRequest": { +"description": "DisableMigrationRequest is the request message for DisableMigration method.", +"id": "DisableMigrationRequest", +"properties": {}, +"type": "object" +}, +"Domain": { +"description": "If the domain is being changed, it will be placed into the UPDATING state, which indicates that the resource is being reconciled. At this point, Get will reflect an intermediate state.", +"id": "Domain", +"properties": { +"auditLogsEnabled": { +"description": "Optional. Configuration for audit logs. True if audit logs are enabled, else false. Default is audit logs disabled.", +"type": "boolean" +}, +"authorizedNetworks": { +"description": "Optional. The full names of the Google Compute Engine [networks](/compute/docs/networks-and-firewalls#networks) to which the instance is connected. Network can be added using UpdateDomain later. Domain is only available on network part of authorized_networks. Caller needs to make sure that CIDR subnets do not overlap between networks, else domain creation will fail.", +"items": { +"type": "string" +}, +"type": "array" +}, +"createTime": { +"description": "Output only. The time the instance was created. Synthetic field is populated automatically by CCFE. go/ccfe-synthetic-field-user-guide", +"format": "google-datetime", +"type": "string" +}, +"fqdn": { +"description": "Output only. Fully-qualified domain name of the exposed domain used by clients to connect to the service. Similar to what would be chosen for an Active Directory that is set up on an internal network.", +"type": "string" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. Resource labels to represent user provided metadata", +"type": "object" +}, +"locations": { +"description": "Required. Locations where domain needs to be provisioned. regions e.g. us-west1 or us-east4 Service supports up to 4 locations at once. Each location will use a /26 block.", +"items": { +"type": "string" +}, +"type": "array" +}, +"managedIdentitiesAdminName": { +"description": "Optional. Name of customer-visible admin used to perform Active Directory operations. If not specified `setupadmin` would be used.", +"type": "string" +}, +"name": { +"description": "Output only. Unique name of the domain in this scope including projects and location using the form: `projects/{project_id}/locations/global/domains/{domain_name}`.", +"type": "string" +}, +"reservedIpRange": { +"description": "Required. The CIDR range of internal addresses that are reserved for this domain. Reserved networks must be /24 or larger. Ranges must be unique and non-overlapping with existing subnets in [Domain].[authorized_networks].", +"type": "string" +}, +"state": { +"description": "Output only. The current state of this domain.", +"enum": [ +"STATE_UNSPECIFIED", +"CREATING", +"READY", +"UPDATING", +"DELETING", +"REPAIRING", +"PERFORMING_MAINTENANCE", +"DOWN" +], +"enumDescriptions": [ +"Not set.", +"ManagedIdentities domain is being created.", +"ManagedIdentities domain has been created and is fully usable.", +"ManagedIdentities domain configuration is being updated.", +"ManagedIdentities domain is being deleted.", +"ManagedIdentities domain is being repaired and may be unusable. Details can be found in the `status_message` field.", +"ManagedIdentities domain is undergoing maintenance.", +"ManagedIdentities domain is not serving customer requests." +], +"type": "string" +}, +"statusMessage": { +"description": "Output only. Additional information about the current status of this domain, if available.", +"type": "string" +}, +"trusts": { +"description": "Output only. The current trusts associated with the domain.", +"items": { +"$ref": "Trust" +}, +"type": "array" +}, +"updateTime": { +"description": "Output only. Last update time. Synthetic field is populated automatically by CCFE.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"DomainJoinMachineRequest": { +"description": "DomainJoinMachineRequest is the request message for DomainJoinMachine method", +"id": "DomainJoinMachineRequest", +"properties": { +"force": { +"description": "Optional. force if True, forces domain join even if the computer account already exists.", +"type": "boolean" +}, +"ouName": { +"description": "Optional. OU name where the VM needs to be domain joined", +"type": "string" +}, +"vmIdToken": { +"description": "Required. Full instance id token of compute engine VM to verify instance identity. More about this: https://cloud.google.com/compute/docs/instances/verifying-instance-identity#request_signature", +"type": "string" +} +}, +"type": "object" +}, +"DomainJoinMachineResponse": { +"description": "DomainJoinMachineResponse is the response message for DomainJoinMachine method", +"id": "DomainJoinMachineResponse", +"properties": { +"domainJoinBlob": { +"description": "Offline domain join blob as the response", +"type": "string" +} +}, +"type": "object" +}, +"Empty": { +"description": "A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }", +"id": "Empty", +"properties": {}, +"type": "object" +}, +"EnableMigrationRequest": { +"description": "EnableMigrationRequest is the request message for EnableMigration method.", +"id": "EnableMigrationRequest", +"properties": { +"enableDuration": { +"description": "Optional. Period after which the migration would be auto disabled. If unspecified, a default timeout of 48h is used.", +"format": "google-duration", +"type": "string" +}, +"migratingDomains": { +"description": "Required. List of the on-prem domains to be migrated.", +"items": { +"$ref": "OnPremDomainDetails" +}, +"type": "array" +} +}, +"type": "object" +}, +"Expr": { +"description": "Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: \"Summary size limit\" description: \"Determines if a summary is less than 100 chars\" expression: \"document.summary.size() < 100\" Example (Equality): title: \"Requestor is owner\" description: \"Determines if requestor is the document owner\" expression: \"document.owner == request.auth.claims.email\" Example (Logic): title: \"Public documents\" description: \"Determine whether the document should be publicly visible\" expression: \"document.type != 'private' && document.type != 'internal'\" Example (Data Manipulation): title: \"Notification string\" description: \"Create a notification string with a timestamp.\" expression: \"'New message received at ' + string(document.create_time)\" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information.", +"id": "Expr", +"properties": { +"description": { +"description": "Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI.", +"type": "string" +}, +"expression": { +"description": "Textual representation of an expression in Common Expression Language syntax.", +"type": "string" +}, +"location": { +"description": "Optional. String indicating the location of the expression for error reporting, e.g. a file name and a position in the file.", +"type": "string" +}, +"title": { +"description": "Optional. Title for the expression, i.e. a short string describing its purpose. This can be used e.g. in UIs which allow to enter the expression.", +"type": "string" +} +}, +"type": "object" +}, +"ExtendSchemaRequest": { +"description": "ExtendSchemaRequest is the request message for ExtendSchema method.", +"id": "ExtendSchemaRequest", +"properties": { +"description": { +"description": "Required. Description for Schema Change.", +"type": "string" +}, +"fileContents": { +"description": "File uploaded as a byte stream input.", +"format": "byte", +"type": "string" +}, +"gcsPath": { +"description": "File stored in Cloud Storage bucket and represented in the form projects/{project_id}/buckets/{bucket_name}/objects/{object_name} File should be in the same project as the domain.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudManagedidentitiesV1OpMetadata": { +"description": "Represents the metadata of the long-running operation.", +"id": "GoogleCloudManagedidentitiesV1OpMetadata", +"properties": { +"apiVersion": { +"description": "Output only. API version used to start the operation.", +"readOnly": true, +"type": "string" +}, +"createTime": { +"description": "Output only. The time the operation was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"endTime": { +"description": "Output only. The time the operation finished running.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"requestedCancellation": { +"description": "Output only. Identifies whether the user has requested cancellation of the operation. Operations that have successfully been cancelled have Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.", +"readOnly": true, +"type": "boolean" +}, +"target": { +"description": "Output only. Server-defined resource path for the target of the operation.", +"readOnly": true, +"type": "string" +}, +"verb": { +"description": "Output only. Name of the verb executed by the operation.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudManagedidentitiesV1alpha1OpMetadata": { +"description": "Represents the metadata of the long-running operation.", +"id": "GoogleCloudManagedidentitiesV1alpha1OpMetadata", +"properties": { +"apiVersion": { +"description": "Output only. API version used to start the operation.", +"readOnly": true, +"type": "string" +}, +"createTime": { +"description": "Output only. The time the operation was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"endTime": { +"description": "Output only. The time the operation finished running.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"requestedCancellation": { +"description": "Output only. Identifies whether the user has requested cancellation of the operation. Operations that have successfully been cancelled have Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.", +"readOnly": true, +"type": "boolean" +}, +"target": { +"description": "Output only. Server-defined resource path for the target of the operation.", +"readOnly": true, +"type": "string" +}, +"verb": { +"description": "Output only. Name of the verb executed by the operation.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudManagedidentitiesV1beta1OpMetadata": { +"description": "Represents the metadata of the long-running operation.", +"id": "GoogleCloudManagedidentitiesV1beta1OpMetadata", +"properties": { +"apiVersion": { +"description": "Output only. API version used to start the operation.", +"readOnly": true, +"type": "string" +}, +"createTime": { +"description": "Output only. The time the operation was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"endTime": { +"description": "Output only. The time the operation finished running.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"requestedCancellation": { +"description": "Output only. Identifies whether the user has requested cancellation of the operation. Operations that have successfully been cancelled have Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.", +"readOnly": true, +"type": "boolean" +}, +"target": { +"description": "Output only. Server-defined resource path for the target of the operation.", +"readOnly": true, +"type": "string" +}, +"verb": { +"description": "Output only. Name of the verb executed by the operation.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSaasacceleratorManagementProvidersV1Instance": { +"description": "Instance represents the interface for SLM services to actuate the state of control plane resources. Example Instance in JSON, where consumer-project-number=123456, producer-project-id=cloud-sql: ```json Instance: { \"name\": \"projects/123456/locations/us-east1/instances/prod-instance\", \"create_time\": { \"seconds\": 1526406431, }, \"labels\": { \"env\": \"prod\", \"foo\": \"bar\" }, \"state\": READY, \"software_versions\": { \"software_update\": \"cloud-sql-09-28-2018\", }, \"maintenance_policy_names\": { \"UpdatePolicy\": \"projects/123456/locations/us-east1/maintenancePolicies/prod-update-policy\", } \"tenant_project_id\": \"cloud-sql-test-tenant\", \"producer_metadata\": { \"cloud-sql-tier\": \"basic\", \"cloud-sql-instance-size\": \"1G\", }, \"provisioned_resources\": [ { \"resource-type\": \"compute-instance\", \"resource-url\": \"https://www.googleapis.com/compute/v1/projects/cloud-sql/zones/us-east1-b/instances/vm-1\", } ], \"maintenance_schedules\": { \"csa_rollout\": { \"start_time\": { \"seconds\": 1526406431, }, \"end_time\": { \"seconds\": 1535406431, }, }, \"ncsa_rollout\": { \"start_time\": { \"seconds\": 1526406431, }, \"end_time\": { \"seconds\": 1535406431, }, } }, \"consumer_defined_name\": \"my-sql-instance1\", } ``` LINT.IfChange", +"id": "GoogleCloudSaasacceleratorManagementProvidersV1Instance", +"properties": { +"consumerDefinedName": { +"description": "consumer_defined_name is the name of the instance set by the service consumers. Generally this is different from the `name` field which reperesents the system-assigned id of the instance which the service consumers do not recognize. This is a required field for tenants onboarding to Maintenance Window notifications (go/slm-rollout-maintenance-policies#prerequisites).", +"type": "string" +}, +"consumerProjectNumber": { +"description": "Optional. The consumer_project_number associated with this Apigee instance. This field is added specifically to support Apigee integration with SLM Rollout and UMM. It represents the numerical project ID of the GCP project that consumes this Apigee instance. It is used for SLM rollout notifications and UMM integration, enabling proper mapping to customer projects and log delivery for Apigee instances. This field complements consumer_project_id and may be used for specific Apigee scenarios where the numerical ID is required.", +"type": "string" +}, +"createTime": { +"description": "Output only. Timestamp when the resource was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"instanceType": { +"description": "Optional. The instance_type of this instance of format: projects/{project_number}/locations/{location_id}/instanceTypes/{instance_type_id}. Instance Type represents a high-level tier or SKU of the service that this instance belong to. When enabled(eg: Maintenance Rollout), Rollout uses 'instance_type' along with 'software_versions' to determine whether instance needs an update or not.", +"type": "string" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. Resource labels to represent user provided metadata. Each label is a key-value pair, where both the key and the value are arbitrary strings provided by the user.", +"type": "object" +}, +"maintenancePolicyNames": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. The MaintenancePolicies that have been attached to the instance. The key must be of the type name of the oneof policy name defined in MaintenancePolicy, and the referenced policy must define the same policy type. For details, please refer to go/mr-user-guide. Should not be set if maintenance_settings.maintenance_policies is set.", +"type": "object" +}, +"maintenanceSchedules": { +"additionalProperties": { +"$ref": "GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSchedule" +}, +"description": "The MaintenanceSchedule contains the scheduling information of published maintenance schedule with same key as software_versions.", +"type": "object" +}, +"maintenanceSettings": { +"$ref": "GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSettings", +"description": "Optional. The MaintenanceSettings associated with instance." +}, +"name": { +"description": "Unique name of the resource. It uses the form: `projects/{project_number}/locations/{location_id}/instances/{instance_id}` Note: This name is passed, stored and logged across the rollout system. So use of consumer project_id or any other consumer PII in the name is strongly discouraged for wipeout (go/wipeout) compliance. See go/elysium/project_ids#storage-guidance for more details.", +"type": "string" +}, +"notificationParameters": { +"additionalProperties": { +"$ref": "GoogleCloudSaasacceleratorManagementProvidersV1NotificationParameter" +}, +"description": "Optional. notification_parameter are information that service producers may like to include that is not relevant to Rollout. This parameter will only be passed to Gamma and Cloud Logging for notification/logging purpose.", +"type": "object" +}, +"producerMetadata": { +"additionalProperties": { +"type": "string" +}, +"description": "Output only. Custom string attributes used primarily to expose producer-specific information in monitoring dashboards. See go/get-instance-metadata.", +"readOnly": true, +"type": "object" +}, +"provisionedResources": { +"description": "Output only. The list of data plane resources provisioned for this instance, e.g. compute VMs. See go/get-instance-metadata.", +"items": { +"$ref": "GoogleCloudSaasacceleratorManagementProvidersV1ProvisionedResource" +}, +"readOnly": true, +"type": "array" +}, +"slmInstanceTemplate": { +"description": "Link to the SLM instance template. Only populated when updating SLM instances via SSA's Actuation service adaptor. Service producers with custom control plane (e.g. Cloud SQL) doesn't need to populate this field. Instead they should use software_versions.", +"type": "string" +}, +"sloMetadata": { +"$ref": "GoogleCloudSaasacceleratorManagementProvidersV1SloMetadata", +"description": "Output only. SLO metadata for instance classification in the Standardized dataplane SLO platform. See go/cloud-ssa-standard-slo for feature description.", +"readOnly": true +}, +"softwareVersions": { +"additionalProperties": { +"type": "string" +}, +"description": "Software versions that are used to deploy this instance. This can be mutated by rollout services.", +"type": "object" +}, +"state": { +"description": "Output only. Current lifecycle state of the resource (e.g. if it's being created or ready to use).", +"enum": [ +"STATE_UNSPECIFIED", +"CREATING", +"READY", +"UPDATING", +"REPAIRING", +"DELETING", +"ERROR" +], +"enumDescriptions": [ +"Unspecified state.", +"Instance is being created.", +"Instance has been created and is ready to use.", +"Instance is being updated.", +"Instance is unheathy and under repair.", +"Instance is being deleted.", +"Instance encountered an error and is in indeterministic state." +], +"readOnly": true, +"type": "string" +}, +"tenantProjectId": { +"description": "Output only. ID of the associated GCP tenant project. See go/get-instance-metadata.", +"readOnly": true, +"type": "string" +}, +"updateTime": { +"description": "Output only. Timestamp when the resource was last modified.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSchedule": { +"description": "Maintenance schedule which is exposed to customer and potentially end user, indicating published upcoming future maintenance schedule", +"id": "GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSchedule", +"properties": { +"canReschedule": { +"deprecated": true, +"description": "This field is deprecated, and will be always set to true since reschedule can happen multiple times now. This field should not be removed until all service producers remove this for their customers.", +"type": "boolean" +}, +"endTime": { +"description": "The scheduled end time for the maintenance.", +"format": "google-datetime", +"type": "string" +}, +"rolloutManagementPolicy": { +"description": "The rollout management policy this maintenance schedule is associated with. When doing reschedule update request, the reschedule should be against this given policy.", +"type": "string" +}, +"scheduleDeadlineTime": { +"description": "schedule_deadline_time is the time deadline any schedule start time cannot go beyond, including reschedule. It's normally the initial schedule start time plus maintenance window length (1 day or 1 week). Maintenance cannot be scheduled to start beyond this deadline.", +"format": "google-datetime", +"type": "string" +}, +"startTime": { +"description": "The scheduled start time for the maintenance.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSettings": { +"description": "Maintenance settings associated with instance. Allows service producers and end users to assign settings that controls maintenance on this instance.", +"id": "GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSettings", +"properties": { +"exclude": { +"description": "Optional. Exclude instance from maintenance. When true, rollout service will not attempt maintenance on the instance. Rollout service will include the instance in reported rollout progress as not attempted.", +"type": "boolean" +}, +"isRollback": { +"description": "Optional. If the update call is triggered from rollback, set the value as true.", +"type": "boolean" +}, +"maintenancePolicies": { +"additionalProperties": { +"$ref": "MaintenancePolicy" +}, +"description": "Optional. The MaintenancePolicies that have been attached to the instance. The key must be of the type name of the oneof policy name defined in MaintenancePolicy, and the embedded policy must define the same policy type. For details, please refer to go/mr-user-guide. Should not be set if maintenance_policy_names is set. If only the name is needed, then only populate MaintenancePolicy.name.", +"type": "object" +} +}, +"type": "object" +}, +"GoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata": { +"description": "Node information for custom per-node SLO implementations. SSA does not support per-node SLO, but producers can populate per-node information in SloMetadata for custom precomputations. SSA Eligibility Exporter will emit per-node metric based on this information.", +"id": "GoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata", +"properties": { +"location": { +"description": "The location of the node, if different from instance location.", +"type": "string" +}, +"nodeId": { +"description": "The id of the node. This should be equal to SaasInstanceNode.node_id.", +"type": "string" +}, +"perSliEligibility": { +"$ref": "GoogleCloudSaasacceleratorManagementProvidersV1PerSliSloEligibility", +"description": "If present, this will override eligibility for the node coming from instance or exclusions for specified SLIs." +} +}, +"type": "object" +}, +"GoogleCloudSaasacceleratorManagementProvidersV1NotificationParameter": { +"description": "Contains notification related data.", +"id": "GoogleCloudSaasacceleratorManagementProvidersV1NotificationParameter", +"properties": { +"values": { +"description": "Optional. Array of string values. e.g. instance's replica information.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudSaasacceleratorManagementProvidersV1PerSliSloEligibility": { +"description": "PerSliSloEligibility is a mapping from an SLI name to eligibility.", +"id": "GoogleCloudSaasacceleratorManagementProvidersV1PerSliSloEligibility", +"properties": { +"eligibilities": { +"additionalProperties": { +"$ref": "GoogleCloudSaasacceleratorManagementProvidersV1SloEligibility" +}, +"description": "An entry in the eligibilities map specifies an eligibility for a particular SLI for the given instance. The SLI key in the name must be a valid SLI name specified in the Eligibility Exporter binary flags otherwise an error will be emitted by Eligibility Exporter and the oncaller will be alerted. If an SLI has been defined in the binary flags but the eligibilities map does not contain it, the corresponding SLI time series will not be emitted by the Eligibility Exporter. This ensures a smooth rollout and compatibility between the data produced by different versions of the Eligibility Exporters. If eligibilities map contains a key for an SLI which has not been declared in the binary flags, there will be an error message emitted in the Eligibility Exporter log and the metric for the SLI in question will not be emitted.", +"type": "object" +} +}, +"type": "object" +}, +"GoogleCloudSaasacceleratorManagementProvidersV1ProvisionedResource": { +"description": "Describes provisioned dataplane resources.", +"id": "GoogleCloudSaasacceleratorManagementProvidersV1ProvisionedResource", +"properties": { +"resourceType": { +"description": "Type of the resource. This can be either a GCP resource or a custom one (e.g. another cloud provider's VM). For GCP compute resources use singular form of the names listed in GCP compute API documentation (https://cloud.google.com/compute/docs/reference/rest/v1/), prefixed with 'compute-', for example: 'compute-instance', 'compute-disk', 'compute-autoscaler'.", +"type": "string" +}, +"resourceUrl": { +"description": "URL identifying the resource, e.g. \"https://www.googleapis.com/compute/v1/projects/...)\".", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSaasacceleratorManagementProvidersV1SloEligibility": { +"description": "SloEligibility is a tuple containing eligibility value: true if an instance is eligible for SLO calculation or false if it should be excluded from all SLO-related calculations along with a user-defined reason.", +"id": "GoogleCloudSaasacceleratorManagementProvidersV1SloEligibility", +"properties": { +"eligible": { +"description": "Whether an instance is eligible or ineligible.", +"type": "boolean" +}, +"reason": { +"description": "User-defined reason for the current value of instance eligibility. Usually, this can be directly mapped to the internal state. An empty reason is allowed.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSaasacceleratorManagementProvidersV1SloMetadata": { +"description": "SloMetadata contains resources required for proper SLO classification of the instance.", +"id": "GoogleCloudSaasacceleratorManagementProvidersV1SloMetadata", +"properties": { +"nodes": { +"description": "Optional. List of nodes. Some producers need to use per-node metadata to calculate SLO. This field allows such producers to publish per-node SLO meta data, which will be consumed by SSA Eligibility Exporter and published in the form of per node metric to Monarch.", +"items": { +"$ref": "GoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata" +}, +"type": "array" +}, +"perSliEligibility": { +"$ref": "GoogleCloudSaasacceleratorManagementProvidersV1PerSliSloEligibility", +"description": "Optional. Multiple per-instance SLI eligibilities which apply for individual SLIs." +}, +"tier": { +"description": "Name of the SLO tier the Instance belongs to. This name will be expected to match the tiers specified in the service SLO configuration. Field is mandatory and must not be empty.", +"type": "string" +} +}, +"type": "object" +}, +"LDAPSSettings": { +"description": "LDAPSSettings represents the ldaps settings for domain resource. LDAP is the Lightweight Directory Access Protocol, defined in https://tools.ietf.org/html/rfc4511. The settings object configures LDAP over SSL/TLS, whether it is over port 636 or the StartTLS operation. If LDAPSSettings is being changed, it will be placed into the UPDATING state, which indicates that the resource is being reconciled. At this point, Get will reflect an intermediate state.", +"id": "LDAPSSettings", +"properties": { +"certificate": { +"$ref": "Certificate", +"description": "Output only. The certificate used to configure LDAPS. Certificates can be chained with a maximum length of 15.", +"readOnly": true +}, +"certificatePassword": { +"description": "Input only. The password used to encrypt the uploaded pfx certificate.", +"type": "string" +}, +"certificatePfx": { +"description": "Input only. The uploaded PKCS12-formatted certificate to configure LDAPS with. It will enable the domain controllers in this domain to accept LDAPS connections (either LDAP over SSL/TLS or the StartTLS operation). A valid certificate chain must form a valid x.509 certificate chain (or be comprised of a single self-signed certificate. It must be encrypted with either: 1) PBES2 + PBKDF2 + AES256 encryption and SHA256 PRF; or 2) pbeWithSHA1And3-KeyTripleDES-CBC Private key must be included for the leaf / single self-signed certificate. Note: For a fqdn your-example-domain.com, the wildcard fqdn is *.your-example-domain.com. Specifically the leaf certificate must have: - Either a blank subject or a subject with CN matching the wildcard fqdn. - Exactly two SANs - the fqdn and wildcard fqdn. - Encipherment and digital key signature key usages. - Server authentication extended key usage (OID=1.3.6.1.5.5.7.3.1) - Private key must be in one of the following formats: RSA, ECDSA, ED25519. - Private key must have appropriate key length: 2048 for RSA, 256 for ECDSA - Signature algorithm of the leaf certificate cannot be MD2, MD5 or SHA1.", +"format": "byte", +"type": "string" +}, +"name": { +"description": "The resource name of the LDAPS settings. Uses the form: `projects/{project}/locations/{location}/domains/{domain}`.", +"type": "string" +}, +"state": { +"description": "Output only. The current state of this LDAPS settings.", +"enum": [ +"STATE_UNSPECIFIED", +"UPDATING", +"ACTIVE", +"FAILED" +], +"enumDescriptions": [ +"Not Set", +"The LDAPS setting is being updated.", +"The LDAPS setting is ready.", +"The LDAPS setting is not applied correctly." +], +"readOnly": true, +"type": "string" +}, +"updateTime": { +"description": "Output only. Last update time.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"ListBackupsResponse": { +"description": "ListBackupsResponse is the response message for ListBackups method.", +"id": "ListBackupsResponse", +"properties": { +"backups": { +"description": "A list of Cloud AD backups in the domain.", +"items": { +"$ref": "Backup" +}, +"type": "array" +}, +"nextPageToken": { +"description": "Token to retrieve the next page of results, or empty if there are no more results in the list.", +"type": "string" +}, +"unreachable": { +"description": "Locations that could not be reached.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListDomainsResponse": { +"id": "ListDomainsResponse", +"properties": { +"domains": { +"description": "A list of Managed Identities Service domains in the project.", +"items": { +"$ref": "Domain" +}, +"type": "array" +}, +"nextPageToken": { +"description": "Token to retrieve the next page of results, or empty if there are no more results in the list.", +"type": "string" +}, +"unreachable": { +"description": "Locations that could not be reached.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListLocationsResponse": { +"description": "The response message for Locations.ListLocations.", +"id": "ListLocationsResponse", +"properties": { +"locations": { +"description": "A list of locations that matches the specified filter in the request.", +"items": { +"$ref": "Location" +}, +"type": "array" +}, +"nextPageToken": { +"description": "The standard List next-page token.", +"type": "string" +} +}, +"type": "object" +}, +"ListOperationsResponse": { +"description": "The response message for Operations.ListOperations.", +"id": "ListOperationsResponse", +"properties": { +"nextPageToken": { +"description": "The standard List next-page token.", +"type": "string" +}, +"operations": { +"description": "A list of operations that matches the specified filter in the request.", +"items": { +"$ref": "Operation" +}, +"type": "array" +}, +"unreachable": { +"description": "Unordered list. Unreachable resources. Populated when the request sets `ListOperationsRequest.return_partial_success` and reads across collections. For example, when attempting to list all resources across all supported locations.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListPeeringsResponse": { +"description": "ListPeeringsResponse is the response message for ListPeerings method.", +"id": "ListPeeringsResponse", +"properties": { +"nextPageToken": { +"description": "Token to retrieve the next page of results, or empty if there are no more results in the list.", +"type": "string" +}, +"peerings": { +"description": "A list of Managed Identities Service Peerings in the project.", +"items": { +"$ref": "Peering" +}, +"type": "array" +}, +"unreachable": { +"description": "Locations that could not be reached.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListSQLIntegrationsResponse": { +"description": "ListSQLIntegrationsResponse is the response message for ListSQLIntegrations method.", +"id": "ListSQLIntegrationsResponse", +"properties": { +"nextPageToken": { +"description": "Token to retrieve the next page of results, or empty if there are no more results in the list.", +"type": "string" +}, +"sqlIntegrations": { +"description": "A list of SQLIntegrations of a domain.", +"items": { +"$ref": "SQLIntegration" +}, +"type": "array" +}, +"unreachable": { +"description": "A list of locations that could not be reached.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"Location": { +"description": "A resource that represents a Google Cloud location.", +"id": "Location", +"properties": { +"displayName": { +"description": "The friendly name for this location, typically a nearby city name. For example, \"Tokyo\".", +"type": "string" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Cross-service attributes for the location. For example {\"cloud.googleapis.com/region\": \"us-east1\"}", +"type": "object" +}, +"locationId": { +"description": "The canonical id for this location. For example: `\"us-east1\"`.", +"type": "string" +}, +"metadata": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "Service-specific metadata. For example the available capacity at the given location.", +"type": "object" +}, +"name": { +"description": "Resource name for the location, which may vary between implementations. For example: `\"projects/example-project/locations/us-east1\"`", +"type": "string" +} +}, +"type": "object" +}, +"MaintenancePolicy": { +"description": "Defines policies to service maintenance events.", +"id": "MaintenancePolicy", +"properties": { +"createTime": { +"description": "Output only. The time when the resource was created.", +"format": "google-datetime", +"type": "string" +}, +"description": { +"description": "Optional. Description of what this policy is for. Create/Update methods return INVALID_ARGUMENT if the length is greater than 512.", +"type": "string" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. Resource labels to represent user provided metadata. Each label is a key-value pair, where both the key and the value are arbitrary strings provided by the user.", +"type": "object" +}, +"name": { +"description": "Required. MaintenancePolicy name using the form: `projects/{project_id}/locations/{location_id}/maintenancePolicies/{maintenance_policy_id}` where {project_id} refers to a GCP consumer project ID, {location_id} refers to a GCP region/zone, {maintenance_policy_id} must be 1-63 characters long and match the regular expression `[a-z0-9]([-a-z0-9]*[a-z0-9])?`.", +"type": "string" +}, +"state": { +"description": "Optional. The state of the policy.", +"enum": [ +"STATE_UNSPECIFIED", +"READY", +"DELETING" +], +"enumDescriptions": [ +"Unspecified state.", +"Resource is ready to be used.", +"Resource is being deleted. It can no longer be attached to instances." +], +"type": "string" +}, +"updatePolicy": { +"$ref": "UpdatePolicy", +"description": "Maintenance policy applicable to instance update." +}, +"updateTime": { +"description": "Output only. The time when the resource was updated.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"MaintenanceWindow": { +"description": "MaintenanceWindow definition.", +"id": "MaintenanceWindow", +"properties": { +"dailyCycle": { +"$ref": "DailyCycle", +"description": "Daily cycle." +}, +"weeklyCycle": { +"$ref": "WeeklyCycle", +"description": "Weekly cycle." +} +}, +"type": "object" +}, +"OnPremDomainDetails": { +"description": "OnPremDomainDetails is the message which contains details of on-prem domain which is trusted and needs to be migrated.", +"id": "OnPremDomainDetails", +"properties": { +"disableSidFiltering": { +"description": "Optional. Option to disable SID filtering.", +"type": "boolean" +}, +"domainName": { +"description": "Required. FQDN of the on-prem domain being migrated.", +"type": "string" +} +}, +"type": "object" +}, +"OnPremDomainSIDDetails": { +"description": "OnPremDomainDetails is the message which contains details of on-prem domain which is trusted and needs to be migrated.", +"id": "OnPremDomainSIDDetails", +"properties": { +"name": { +"description": "FQDN of the on-prem domain being migrated.", +"type": "string" +}, +"sidFilteringState": { +"description": "Current SID filtering state.", +"enum": [ +"SID_FILTERING_STATE_UNSPECIFIED", +"ENABLED", +"DISABLED" +], +"enumDescriptions": [ +"SID Filtering is in unspecified state.", +"SID Filtering is Enabled.", +"SID Filtering is Disabled." +], +"type": "string" +} +}, +"type": "object" +}, +"Operation": { +"description": "This resource represents a long-running operation that is the result of a network API call.", +"id": "Operation", +"properties": { +"done": { +"description": "If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.", +"type": "boolean" +}, +"error": { +"$ref": "Status", +"description": "The error result of the operation in case of failure or cancellation." +}, +"metadata": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.", +"type": "object" +}, +"name": { +"description": "The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.", +"type": "string" +}, +"response": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "The normal, successful response of the operation. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.", +"type": "object" +} +}, +"type": "object" +}, +"OperationMetadata": { +"description": "Represents the metadata of the long-running operation.", +"id": "OperationMetadata", +"properties": { +"apiVersion": { +"description": "Output only. API version used to start the operation.", +"readOnly": true, +"type": "string" +}, +"cancelRequested": { +"description": "Output only. Identifies whether the user has requested cancellation of the operation. Operations that have been cancelled successfully have google.longrunning.Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.", +"readOnly": true, +"type": "boolean" +}, +"createTime": { +"description": "Output only. The time the operation was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"endTime": { +"description": "Output only. The time the operation finished running.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"statusDetail": { +"description": "Output only. Human-readable status of the operation, if any.", +"readOnly": true, +"type": "string" +}, +"target": { +"description": "Output only. Server-defined resource path for the target of the operation.", +"readOnly": true, +"type": "string" +}, +"verb": { +"description": "Output only. Name of the verb executed by the operation.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"Peering": { +"description": "Represents a Managed Microsoft Identities Peering.", +"id": "Peering", +"properties": { +"authorizedNetwork": { +"description": "Required. The full names of the Google Compute Engine [networks](/compute/docs/networks-and-firewalls#networks) to which the instance is connected. Caller needs to make sure that CIDR subnets do not overlap between networks, else peering creation will fail.", +"type": "string" +}, +"createTime": { +"description": "Output only. The time the instance was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"domainResource": { +"description": "Required. Full domain resource path for the Managed AD Domain involved in peering. The resource path should be in the form: `projects/{project_id}/locations/global/domains/{domain_name}`", +"type": "string" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. Resource labels to represent user provided metadata.", +"type": "object" +}, +"name": { +"description": "Output only. Unique name of the peering in this scope including projects and location using the form: `projects/{project_id}/locations/global/peerings/{peering_id}`.", +"readOnly": true, +"type": "string" +}, +"state": { +"description": "Output only. The current state of this Peering.", +"enum": [ +"STATE_UNSPECIFIED", +"CREATING", +"CONNECTED", +"DISCONNECTED", +"DELETING" +], +"enumDescriptions": [ +"Not set.", +"Peering is being created.", +"Peering is connected.", +"Peering is disconnected.", +"Peering is being deleted." +], +"readOnly": true, +"type": "string" +}, +"statusMessage": { +"description": "Output only. Additional information about the current status of this peering, if available.", +"readOnly": true, +"type": "string" +}, +"updateTime": { +"description": "Output only. Last update time.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"Policy": { +"description": "An Identity and Access Management (IAM) policy, which specifies access controls for Google Cloud resources. A `Policy` is a collection of `bindings`. A `binding` binds one or more `members`, or principals, to a single `role`. Principals can be user accounts, service accounts, Google groups, and domains (such as G Suite). A `role` is a named list of permissions; each `role` can be an IAM predefined role or a user-created custom role. For some types of Google Cloud resources, a `binding` can also specify a `condition`, which is a logical expression that allows access to a resource only if the expression evaluates to `true`. A condition can add constraints based on attributes of the request, the resource, or both. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). **JSON example:** ``` { \"bindings\": [ { \"role\": \"roles/resourcemanager.organizationAdmin\", \"members\": [ \"user:mike@example.com\", \"group:admins@example.com\", \"domain:google.com\", \"serviceAccount:my-project-id@appspot.gserviceaccount.com\" ] }, { \"role\": \"roles/resourcemanager.organizationViewer\", \"members\": [ \"user:eve@example.com\" ], \"condition\": { \"title\": \"expirable access\", \"description\": \"Does not grant access after Sep 2020\", \"expression\": \"request.time < timestamp('2020-10-01T00:00:00.000Z')\", } } ], \"etag\": \"BwWWja0YfJA=\", \"version\": 3 } ``` **YAML example:** ``` bindings: - members: - user:mike@example.com - group:admins@example.com - domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.com role: roles/resourcemanager.organizationViewer condition: title: expirable access description: Does not grant access after Sep 2020 expression: request.time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 ``` For a description of IAM and its features, see the [IAM documentation](https://cloud.google.com/iam/docs/).", +"id": "Policy", +"properties": { +"bindings": { +"description": "Associates a list of `members`, or principals, with a `role`. Optionally, may specify a `condition` that determines how and when the `bindings` are applied. Each of the `bindings` must contain at least one principal. The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250 of these principals can be Google groups. Each occurrence of a principal counts towards these limits. For example, if the `bindings` grant 50 different roles to `user:alice@example.com`, and not to any other principal, then you can add another 1,450 principals to the `bindings` in the `Policy`.", +"items": { +"$ref": "Binding" +}, +"type": "array" +}, +"etag": { +"description": "`etag` is used for optimistic concurrency control as a way to help prevent simultaneous updates of a policy from overwriting each other. It is strongly suggested that systems make use of the `etag` in the read-modify-write cycle to perform policy updates in order to avoid race conditions: An `etag` is returned in the response to `getIamPolicy`, and systems are expected to put that etag in the request to `setIamPolicy` to ensure that their change will be applied to the same version of the policy. **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost.", +"format": "byte", +"type": "string" +}, +"version": { +"description": "Specifies the format of the policy. Valid values are `0`, `1`, and `3`. Requests that specify an invalid value are rejected. Any operation that affects conditional role bindings must specify version `3`. This requirement applies to the following operations: * Getting a policy that includes a conditional role binding * Adding a conditional role binding to a policy * Changing a conditional role binding in a policy * Removing any role binding, with or without a condition, from a policy that includes conditions **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost. If a policy does not include any conditions, operations on that policy may specify any valid version or leave the field unset. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"ReconfigureTrustRequest": { +"id": "ReconfigureTrustRequest", +"properties": { +"trust": { +"$ref": "Trust", +"description": "The domain trust resource with updated dns conditional forwarder." +} +}, +"type": "object" +}, +"ResetAdminPasswordRequest": { +"id": "ResetAdminPasswordRequest", +"properties": {}, +"type": "object" +}, +"ResetAdminPasswordResponse": { +"id": "ResetAdminPasswordResponse", +"properties": { +"password": { +"description": "A random password. See admin for more information.", +"type": "string" +} +}, +"type": "object" +}, +"RestoreDomainRequest": { +"description": "RestoreDomainRequest is the request received by RestoreDomain rpc", +"id": "RestoreDomainRequest", +"properties": { +"backupId": { +"description": "Required. ID of the backup to be restored", +"type": "string" +} +}, +"type": "object" +}, +"SQLIntegration": { +"description": "Represents the SQL instance integrated with AD.", +"id": "SQLIntegration", +"properties": { +"createTime": { +"description": "Output only. The time the instance was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"name": { +"description": "The unique name of the sql integration in the form of `projects/{project_id}/locations/global/domains/{domain_name}/sqlIntegrations/{sql_integration}`", +"type": "string" +}, +"sqlInstance": { +"description": "The full resource name of an integrated sql instance", +"type": "string" +}, +"state": { +"description": "Output only. The current state of the managed OU.", +"enum": [ +"STATE_UNSPECIFIED", +"CREATING", +"DELETING", +"READY" +], +"enumDescriptions": [ +"Not Set", +"The sqlIntegration is being created.", +"The sqlIntegration is being deleted.", +"The sqlIntegration is ready." +], +"readOnly": true, +"type": "string" +}, +"updateTime": { +"description": "Output only. Last update time for this SQL instance.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"Schedule": { +"description": "Configure the schedule.", +"id": "Schedule", +"properties": { +"day": { +"description": "Allows to define schedule that runs specified day of the week.", +"enum": [ +"DAY_OF_WEEK_UNSPECIFIED", +"MONDAY", +"TUESDAY", +"WEDNESDAY", +"THURSDAY", +"FRIDAY", +"SATURDAY", +"SUNDAY" +], +"enumDescriptions": [ +"The day of the week is unspecified.", +"Monday", +"Tuesday", +"Wednesday", +"Thursday", +"Friday", +"Saturday", +"Sunday" +], +"type": "string" +}, +"duration": { +"description": "Output only. Duration of the time window, set by service producer.", +"format": "google-duration", +"type": "string" +}, +"startTime": { +"$ref": "TimeOfDay", +"description": "Time within the window to start the operations." +} +}, +"type": "object" +}, +"SetIamPolicyRequest": { +"description": "Request message for `SetIamPolicy` method.", +"id": "SetIamPolicyRequest", +"properties": { +"policy": { +"$ref": "Policy", +"description": "REQUIRED: The complete policy to be applied to the `resource`. The size of the policy is limited to a few 10s of KB. An empty policy is a valid policy but certain Google Cloud services (such as Projects) might reject them." +} +}, +"type": "object" +}, +"Status": { +"description": "The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors).", +"id": "Status", +"properties": { +"code": { +"description": "The status code, which should be an enum value of google.rpc.Code.", +"format": "int32", +"type": "integer" +}, +"details": { +"description": "A list of messages that carry the error details. There is a common set of message types for APIs to use.", +"items": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.", +"type": "string" +} +}, +"type": "object" +}, +"TestIamPermissionsRequest": { +"description": "Request message for `TestIamPermissions` method.", +"id": "TestIamPermissionsRequest", +"properties": { +"permissions": { +"description": "The set of permissions to check for the `resource`. Permissions with wildcards (such as `*` or `storage.*`) are not allowed. For more information see [IAM Overview](https://cloud.google.com/iam/docs/overview#permissions).", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"TestIamPermissionsResponse": { +"description": "Response message for `TestIamPermissions` method.", +"id": "TestIamPermissionsResponse", +"properties": { +"permissions": { +"description": "A subset of `TestPermissionsRequest.permissions` that the caller is allowed.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"TimeOfDay": { +"description": "Represents a time of day. The date and time zone are either not significant or are specified elsewhere. An API may choose to allow leap seconds. Related types are google.type.Date and `google.protobuf.Timestamp`.", +"id": "TimeOfDay", +"properties": { +"hours": { +"description": "Hours of a day in 24 hour format. Must be greater than or equal to 0 and typically must be less than or equal to 23. An API may choose to allow the value \"24:00:00\" for scenarios like business closing time.", +"format": "int32", +"type": "integer" +}, +"minutes": { +"description": "Minutes of an hour. Must be greater than or equal to 0 and less than or equal to 59.", +"format": "int32", +"type": "integer" +}, +"nanos": { +"description": "Fractions of seconds, in nanoseconds. Must be greater than or equal to 0 and less than or equal to 999,999,999.", +"format": "int32", +"type": "integer" +}, +"seconds": { +"description": "Seconds of a minute. Must be greater than or equal to 0 and typically must be less than or equal to 59. An API may allow the value 60 if it allows leap-seconds.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"Trust": { +"description": "Represents a relationship between two domains which makes it possible for users in one domain to be authenticated by a dc in another domain. Refer https://docs.microsoft.com/en-us/previous-versions/windows/it-pro/windows-server-2008-R2-and-2008/cc731335(v%3dws.10) If the trust is being changed, it will be placed into the UPDATING state, which indicates that the resource is being reconciled. At this point, Get will reflect an intermediate state.", +"id": "Trust", +"properties": { +"createTime": { +"description": "Output only. The time the instance was created.", +"format": "google-datetime", +"type": "string" +}, +"lastKnownTrustConnectedHeartbeatTime": { +"description": "Output only. The last heartbeat time when the trust was known to be connected.", +"format": "google-datetime", +"type": "string" +}, +"selectiveAuthentication": { +"description": "The trust authentication type which decides whether the trusted side has forest/domain wide access or selective access to approved set of resources.", +"type": "boolean" +}, +"state": { +"description": "Output only. The current state of this trust.", +"enum": [ +"STATE_UNSPECIFIED", +"CREATING", +"UPDATING", +"DELETING", +"CONNECTED", +"DISCONNECTED" +], +"enumDescriptions": [ +"Not Set", +"Domain trust is being created.", +"Domain trust is being updated.", +"Domain trust is being deleted.", +"Domain trust is connected.", +"Domain trust is disconnected." +], +"type": "string" +}, +"stateDescription": { +"description": "Output only. Additional information about the current state of this trust, if available.", +"type": "string" +}, +"targetDnsIpAddresses": { +"description": "The target dns server ip addresses which can resolve the remote domain involved in trust.", +"items": { +"type": "string" +}, +"type": "array" +}, +"targetDomainName": { +"description": "The fully qualified target domain name which will be in trust with current domain.", +"type": "string" +}, +"trustDirection": { +"description": "The trust direction decides the current domain is trusted, trusting or both.", +"enum": [ +"TRUST_DIRECTION_UNSPECIFIED", +"INBOUND", +"OUTBOUND", +"BIDIRECTIONAL" +], +"enumDescriptions": [ +"Not Set", +"The inbound direction represents the trusting side.", +"The outboud direction represents the trusted side.", +"The bidirectional direction represents the trusted / trusting side." +], +"type": "string" +}, +"trustHandshakeSecret": { +"description": "Input only, and will not be stored. The trust secret used for handshake with target domain.", +"type": "string" +}, +"trustType": { +"description": "The type of trust represented by the trust resource.", +"enum": [ +"TRUST_TYPE_UNSPECIFIED", +"FOREST", +"EXTERNAL" +], +"enumDescriptions": [ +"Not Set", +"The forest trust.", +"The external domain trust." +], +"type": "string" +}, +"updateTime": { +"description": "Output only. Last update time.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"UpdatePolicy": { +"description": "Maintenance policy applicable to instance updates.", +"id": "UpdatePolicy", +"properties": { +"channel": { +"description": "Optional. Relative scheduling channel applied to resource.", +"enum": [ +"UPDATE_CHANNEL_UNSPECIFIED", +"EARLIER", +"LATER", +"WEEK1", +"WEEK2", +"WEEK5" +], +"enumDescriptions": [ +"Unspecified channel.", +"Early channel within a customer project.", +"Later channel within a customer project.", +"! ! The follow channels can ONLY be used if you adopt the new MW system! ! ! NOTE: all WEEK channels are assumed to be under a weekly window. ! There is currently no dedicated channel definitions for Daily windows. ! If you use Daily window, the system will assume a 1d (24Hours) advanced ! notification period b/w EARLY and LATER. ! We may consider support more flexible daily channel specifications in ! the future. WEEK1 == EARLIER with minimum 7d advanced notification. {7d, 14d} The system will treat them equally and will use WEEK1 whenever it can. New customers are encouraged to use this channel annotation.", +"WEEK2 == LATER with minimum 14d advanced notification {14d, 21d}.", +"WEEK5 == 40d support. minimum 35d advanced notification {35d, 42d}." +], +"type": "string" +}, +"denyMaintenancePeriods": { +"description": "Deny Maintenance Period that is applied to resource to indicate when maintenance is forbidden. The protocol supports zero-to-many such periods, but the current SLM Rollout implementation only supports zero-to-one.", +"items": { +"$ref": "DenyMaintenancePeriod" +}, +"type": "array" +}, +"window": { +"$ref": "MaintenanceWindow", +"description": "Optional. Maintenance window that is applied to resources covered by this policy." +} +}, +"type": "object" +}, +"ValidateTrustRequest": { +"id": "ValidateTrustRequest", +"properties": { +"trust": { +"$ref": "Trust", +"description": "The domain trust to validate trust state for." +} +}, +"type": "object" +}, +"WeeklyCycle": { +"description": "Time window specified for weekly operations.", +"id": "WeeklyCycle", +"properties": { +"schedule": { +"description": "User can specify multiple windows in a week. Minimum of 1 window.", +"items": { +"$ref": "Schedule" +}, +"type": "array" +} +}, +"type": "object" +} +}, +"servicePath": "", +"title": "Managed Service for Microsoft Active Directory API", +"version": "v1alpha1", +"version_module": true +} \ No newline at end of file diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/managedkafka.v1.json b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/managedkafka.v1.json new file mode 100644 index 0000000000000000000000000000000000000000..067f894d48e2914885a9e3e019a6aefb32a3dbdb --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/managedkafka.v1.json @@ -0,0 +1,4644 @@ +{ +"auth": { +"oauth2": { +"scopes": { +"https://www.googleapis.com/auth/cloud-platform": { +"description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." +} +} +} +}, +"basePath": "", +"baseUrl": "https://managedkafka.googleapis.com/", +"batchPath": "batch", +"canonicalName": "Managed Kafka", +"description": "Manage Apache Kafka clusters and resources. ", +"discoveryVersion": "v1", +"documentationLink": "https://cloud.google.com/managed-service-for-apache-kafka/docs", +"endpoints": [ +{ +"description": "Regional Endpoint", +"endpointUrl": "https://managedkafka.africa-south1.rep.googleapis.com/", +"location": "africa-south1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://managedkafka.asia-east1.rep.googleapis.com/", +"location": "asia-east1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://managedkafka.asia-east2.rep.googleapis.com/", +"location": "asia-east2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://managedkafka.asia-northeast1.rep.googleapis.com/", +"location": "asia-northeast1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://managedkafka.asia-northeast2.rep.googleapis.com/", +"location": "asia-northeast2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://managedkafka.asia-northeast3.rep.googleapis.com/", +"location": "asia-northeast3" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://managedkafka.asia-south1.rep.googleapis.com/", +"location": "asia-south1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://managedkafka.asia-south2.rep.googleapis.com/", +"location": "asia-south2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://managedkafka.asia-southeast1.rep.googleapis.com/", +"location": "asia-southeast1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://managedkafka.asia-southeast2.rep.googleapis.com/", +"location": "asia-southeast2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://managedkafka.australia-southeast1.rep.googleapis.com/", +"location": "australia-southeast1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://managedkafka.australia-southeast2.rep.googleapis.com/", +"location": "australia-southeast2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://managedkafka.europe-central2.rep.googleapis.com/", +"location": "europe-central2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://managedkafka.europe-north1.rep.googleapis.com/", +"location": "europe-north1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://managedkafka.europe-north2.rep.googleapis.com/", +"location": "europe-north2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://managedkafka.europe-southwest1.rep.googleapis.com/", +"location": "europe-southwest1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://managedkafka.europe-west1.rep.googleapis.com/", +"location": "europe-west1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://managedkafka.europe-west2.rep.googleapis.com/", +"location": "europe-west2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://managedkafka.europe-west3.rep.googleapis.com/", +"location": "europe-west3" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://managedkafka.europe-west4.rep.googleapis.com/", +"location": "europe-west4" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://managedkafka.europe-west6.rep.googleapis.com/", +"location": "europe-west6" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://managedkafka.europe-west8.rep.googleapis.com/", +"location": "europe-west8" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://managedkafka.europe-west9.rep.googleapis.com/", +"location": "europe-west9" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://managedkafka.europe-west10.rep.googleapis.com/", +"location": "europe-west10" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://managedkafka.europe-west12.rep.googleapis.com/", +"location": "europe-west12" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://managedkafka.me-west1.rep.googleapis.com/", +"location": "me-west1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://managedkafka.me-central1.rep.googleapis.com/", +"location": "me-central1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://managedkafka.me-central2.rep.googleapis.com/", +"location": "me-central2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://managedkafka.northamerica-northeast1.rep.googleapis.com/", +"location": "northamerica-northeast1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://managedkafka.northamerica-northeast2.rep.googleapis.com/", +"location": "northamerica-northeast2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://managedkafka.southamerica-east1.rep.googleapis.com/", +"location": "southamerica-east1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://managedkafka.southamerica-west1.rep.googleapis.com/", +"location": "southamerica-west1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://managedkafka.us-central1.rep.googleapis.com/", +"location": "us-central1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://managedkafka.us-east1.rep.googleapis.com/", +"location": "us-east1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://managedkafka.us-east4.rep.googleapis.com/", +"location": "us-east4" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://managedkafka.us-east5.rep.googleapis.com/", +"location": "us-east5" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://managedkafka.us-east7.rep.googleapis.com/", +"location": "us-east7" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://managedkafka.us-south1.rep.googleapis.com/", +"location": "us-south1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://managedkafka.us-west1.rep.googleapis.com/", +"location": "us-west1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://managedkafka.us-west2.rep.googleapis.com/", +"location": "us-west2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://managedkafka.us-west3.rep.googleapis.com/", +"location": "us-west3" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://managedkafka.us-west4.rep.googleapis.com/", +"location": "us-west4" +} +], +"fullyEncodeReservedExpansion": true, +"icons": { +"x16": "http://www.google.com/images/icons/product/search-16.gif", +"x32": "http://www.google.com/images/icons/product/search-32.gif" +}, +"id": "managedkafka:v1", +"kind": "discovery#restDescription", +"mtlsRootUrl": "https://managedkafka.mtls.googleapis.com/", +"name": "managedkafka", +"ownerDomain": "google.com", +"ownerName": "Google", +"parameters": { +"$.xgafv": { +"description": "V1 error format.", +"enum": [ +"1", +"2" +], +"enumDescriptions": [ +"v1 error format", +"v2 error format" +], +"location": "query", +"type": "string" +}, +"access_token": { +"description": "OAuth access token.", +"location": "query", +"type": "string" +}, +"alt": { +"default": "json", +"description": "Data format for response.", +"enum": [ +"json", +"media", +"proto" +], +"enumDescriptions": [ +"Responses with Content-Type of application/json", +"Media download with context-dependent Content-Type", +"Responses with Content-Type of application/x-protobuf" +], +"location": "query", +"type": "string" +}, +"callback": { +"description": "JSONP", +"location": "query", +"type": "string" +}, +"fields": { +"description": "Selector specifying which fields to include in a partial response.", +"location": "query", +"type": "string" +}, +"key": { +"description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", +"location": "query", +"type": "string" +}, +"oauth_token": { +"description": "OAuth 2.0 token for the current user.", +"location": "query", +"type": "string" +}, +"prettyPrint": { +"default": "true", +"description": "Returns response with indentations and line breaks.", +"location": "query", +"type": "boolean" +}, +"quotaUser": { +"description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.", +"location": "query", +"type": "string" +}, +"uploadType": { +"description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", +"location": "query", +"type": "string" +}, +"upload_protocol": { +"description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", +"location": "query", +"type": "string" +} +}, +"protocol": "rest", +"resources": { +"projects": { +"resources": { +"locations": { +"methods": { +"get": { +"description": "Gets information about a location.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}", +"httpMethod": "GET", +"id": "managedkafka.projects.locations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Resource name for the location.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Location" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists information about the supported locations for this service. This method can be called in two ways: * **List all public locations:** Use the path `GET /v1/locations`. * **List project-visible locations:** Use the path `GET /v1/projects/{project_id}/locations`. This may include public locations as well as private or other locations specifically visible to the project.", +"flatPath": "v1/projects/{projectsId}/locations", +"httpMethod": "GET", +"id": "managedkafka.projects.locations.list", +"parameterOrder": [ +"name" +], +"parameters": { +"extraLocationTypes": { +"description": "Optional. Do not use this field. It is unsupported and is ignored unless explicitly documented otherwise. This is primarily for internal usage.", +"location": "query", +"repeated": true, +"type": "string" +}, +"filter": { +"description": "A filter to narrow down results to a preferred subset. The filtering language accepts strings like `\"displayName=tokyo\"`, and is documented in more detail in [AIP-160](https://google.aip.dev/160).", +"location": "query", +"type": "string" +}, +"name": { +"description": "The resource that owns the locations collection, if applicable.", +"location": "path", +"pattern": "^projects/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The maximum number of results to return. If not set, the service selects a default.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A page token received from the `next_page_token` field in the response. Send that page token to receive the subsequent page.", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}/locations", +"response": { +"$ref": "ListLocationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"clusters": { +"methods": { +"create": { +"description": "Creates a new cluster in a given project and location.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/clusters", +"httpMethod": "POST", +"id": "managedkafka.projects.locations.clusters.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"clusterId": { +"description": "Required. The ID to use for the cluster, which will become the final component of the cluster's name. The ID must be 1-63 characters long, and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` to comply with RFC 1035. This value is structured like: `my-cluster-id`.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent region in which to create the cluster. Structured like `projects/{project}/locations/{location}`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "Optional. An optional request ID to identify requests. Specify a unique request ID to avoid duplication of requests. If a request times out or fails, retrying with the same ID allows the server to recognize the previous attempt. For at least 60 minutes, the server ignores duplicate requests bearing the same ID. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID within 60 minutes of the last request, the server checks if an original operation with the same request ID was received. If so, the server ignores the second request. The request ID must be a valid UUID. A zero UUID is not supported (00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+parent}/clusters", +"request": { +"$ref": "Cluster" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a single cluster.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/clusters/{clustersId}", +"httpMethod": "DELETE", +"id": "managedkafka.projects.locations.clusters.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the cluster to delete.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/clusters/[^/]+$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "Optional. An optional request ID to identify requests. Specify a unique request ID to avoid duplication of requests. If a request times out or fails, retrying with the same ID allows the server to recognize the previous attempt. For at least 60 minutes, the server ignores duplicate requests bearing the same ID. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID within 60 minutes of the last request, the server checks if an original operation with the same request ID was received. If so, the server ignores the second request. The request ID must be a valid UUID. A zero UUID is not supported (00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Returns the properties of a single cluster.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/clusters/{clustersId}", +"httpMethod": "GET", +"id": "managedkafka.projects.locations.clusters.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the cluster whose configuration to return.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/clusters/[^/]+$", +"required": true, +"type": "string" +}, +"view": { +"description": "Optional. Specifies the view of the Cluster resource to be returned. Defaults to CLUSTER_VIEW_BASIC. See the ClusterView enum for possible values.", +"enum": [ +"CLUSTER_VIEW_UNSPECIFIED", +"CLUSTER_VIEW_BASIC", +"CLUSTER_VIEW_FULL" +], +"enumDescriptions": [ +"The default / unset value. The API will default to the BASIC view.", +"Include the basic metadata of the Cluster. This is the default value (for both ListClusters and GetCluster).", +"Include everything, including data fetched from the Kafka cluster source of truth." +], +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Cluster" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists the clusters in a given project and location.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/clusters", +"httpMethod": "GET", +"id": "managedkafka.projects.locations.clusters.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Optional. Filter expression for the result.", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "Optional. Order by fields for the result.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Optional. The maximum number of clusters to return. The service may return fewer than this value. If unspecified, server will pick an appropriate default.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. A page token, received from a previous `ListClusters` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListClusters` must match the call that provided the page token.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent location whose clusters are to be listed. Structured like `projects/{project}/locations/{location}`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/clusters", +"response": { +"$ref": "ListClustersResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates the properties of a single cluster.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/clusters/{clustersId}", +"httpMethod": "PATCH", +"id": "managedkafka.projects.locations.clusters.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Identifier. The name of the cluster. Structured like: projects/{project_number}/locations/{location}/clusters/{cluster_id}", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/clusters/[^/]+$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "Optional. An optional request ID to identify requests. Specify a unique request ID to avoid duplication of requests. If a request times out or fails, retrying with the same ID allows the server to recognize the previous attempt. For at least 60 minutes, the server ignores duplicate requests bearing the same ID. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID within 60 minutes of the last request, the server checks if an original operation with the same request ID was received. If so, the server ignores the second request. The request ID must be a valid UUID. A zero UUID is not supported (00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"updateMask": { +"description": "Required. Field mask is used to specify the fields to be overwritten in the cluster resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. The mask is required and a value of * will update all fields.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "Cluster" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"acls": { +"methods": { +"addAclEntry": { +"description": "Incremental update: Adds an acl entry to an acl. Creates the acl if it does not exist yet.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/clusters/{clustersId}/acls/{aclsId}:addAclEntry", +"httpMethod": "POST", +"id": "managedkafka.projects.locations.clusters.acls.addAclEntry", +"parameterOrder": [ +"acl" +], +"parameters": { +"acl": { +"description": "Required. The name of the acl to add the acl entry to. Structured like: `projects/{project}/locations/{location}/clusters/{cluster}/acls/{acl_id}`. The structure of `acl_id` defines the Resource Pattern (resource_type, resource_name, pattern_type) of the acl. See `Acl.name` for details.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/clusters/[^/]+/acls/.*$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+acl}:addAclEntry", +"request": { +"$ref": "AclEntry" +}, +"response": { +"$ref": "AddAclEntryResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"create": { +"description": "Creates a new acl in the given project, location, and cluster.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/clusters/{clustersId}/acls", +"httpMethod": "POST", +"id": "managedkafka.projects.locations.clusters.acls.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"aclId": { +"description": "Required. The ID to use for the acl, which will become the final component of the acl's name. The structure of `acl_id` defines the Resource Pattern (resource_type, resource_name, pattern_type) of the acl. `acl_id` is structured like one of the following: For acls on the cluster: `cluster` For acls on a single resource within the cluster: `topic/{resource_name}` `consumerGroup/{resource_name}` `transactionalId/{resource_name}` For acls on all resources that match a prefix: `topicPrefixed/{resource_name}` `consumerGroupPrefixed/{resource_name}` `transactionalIdPrefixed/{resource_name}` For acls on all resources of a given type (i.e. the wildcard literal \"*\"): `allTopics` (represents `topic/*`) `allConsumerGroups` (represents `consumerGroup/*`) `allTransactionalIds` (represents `transactionalId/*`)", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent cluster in which to create the acl. Structured like `projects/{project}/locations/{location}/clusters/{cluster}`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/clusters/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/acls", +"request": { +"$ref": "Acl" +}, +"response": { +"$ref": "Acl" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes an acl.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/clusters/{clustersId}/acls/{aclsId}", +"httpMethod": "DELETE", +"id": "managedkafka.projects.locations.clusters.acls.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the acl to delete. Structured like: `projects/{project}/locations/{location}/clusters/{cluster}/acls/{acl_id}`. The structure of `acl_id` defines the Resource Pattern (resource_type, resource_name, pattern_type) of the acl. See `Acl.name` for details.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/clusters/[^/]+/acls/.*$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Returns the properties of a single acl.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/clusters/{clustersId}/acls/{aclsId}", +"httpMethod": "GET", +"id": "managedkafka.projects.locations.clusters.acls.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the acl to return. Structured like: `projects/{project}/locations/{location}/clusters/{cluster}/acls/{acl_id}`. The structure of `acl_id` defines the Resource Pattern (resource_type, resource_name, pattern_type) of the acl. See `Acl.name` for details.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/clusters/[^/]+/acls/.*$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Acl" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists the acls in a given cluster.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/clusters/{clustersId}/acls", +"httpMethod": "GET", +"id": "managedkafka.projects.locations.clusters.acls.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "Optional. The maximum number of acls to return. The service may return fewer than this value. If unset or zero, all acls for the parent is returned.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. A page token, received from a previous `ListAcls` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListAcls` must match the call that provided the page token.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent cluster whose acls are to be listed. Structured like `projects/{project}/locations/{location}/clusters/{cluster}`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/clusters/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/acls", +"response": { +"$ref": "ListAclsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates the properties of a single acl.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/clusters/{clustersId}/acls/{aclsId}", +"httpMethod": "PATCH", +"id": "managedkafka.projects.locations.clusters.acls.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Identifier. The name for the acl. Represents a single Resource Pattern. Structured like: projects/{project}/locations/{location}/clusters/{cluster}/acls/{acl_id} The structure of `acl_id` defines the Resource Pattern (resource_type, resource_name, pattern_type) of the acl. `acl_id` is structured like one of the following: For acls on the cluster: `cluster` For acls on a single resource within the cluster: `topic/{resource_name}` `consumerGroup/{resource_name}` `transactionalId/{resource_name}` For acls on all resources that match a prefix: `topicPrefixed/{resource_name}` `consumerGroupPrefixed/{resource_name}` `transactionalIdPrefixed/{resource_name}` For acls on all resources of a given type (i.e. the wildcard literal \"*\"): `allTopics` (represents `topic/*`) `allConsumerGroups` (represents `consumerGroup/*`) `allTransactionalIds` (represents `transactionalId/*`)", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/clusters/[^/]+/acls/.*$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Optional. Field mask is used to specify the fields to be overwritten in the Acl resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "Acl" +}, +"response": { +"$ref": "Acl" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"removeAclEntry": { +"description": "Incremental update: Removes an acl entry from an acl. Deletes the acl if its acl entries become empty (i.e. if the removed entry was the last one in the acl).", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/clusters/{clustersId}/acls/{aclsId}:removeAclEntry", +"httpMethod": "POST", +"id": "managedkafka.projects.locations.clusters.acls.removeAclEntry", +"parameterOrder": [ +"acl" +], +"parameters": { +"acl": { +"description": "Required. The name of the acl to remove the acl entry from. Structured like: `projects/{project}/locations/{location}/clusters/{cluster}/acls/{acl_id}`. The structure of `acl_id` defines the Resource Pattern (resource_type, resource_name, pattern_type) of the acl. See `Acl.name` for details.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/clusters/[^/]+/acls/.*$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+acl}:removeAclEntry", +"request": { +"$ref": "AclEntry" +}, +"response": { +"$ref": "RemoveAclEntryResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"consumerGroups": { +"methods": { +"delete": { +"description": "Deletes a single consumer group.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/clusters/{clustersId}/consumerGroups/{consumerGroupsId}", +"httpMethod": "DELETE", +"id": "managedkafka.projects.locations.clusters.consumerGroups.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the consumer group to delete. `projects/{project}/locations/{location}/clusters/{cluster}/consumerGroups/{consumerGroup}`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/clusters/[^/]+/consumerGroups/.*$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Returns the properties of a single consumer group.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/clusters/{clustersId}/consumerGroups/{consumerGroupsId}", +"httpMethod": "GET", +"id": "managedkafka.projects.locations.clusters.consumerGroups.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the consumer group whose configuration to return. `projects/{project}/locations/{location}/clusters/{cluster}/consumerGroups/{consumerGroup}`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/clusters/[^/]+/consumerGroups/.*$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "ConsumerGroup" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists the consumer groups in a given cluster.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/clusters/{clustersId}/consumerGroups", +"httpMethod": "GET", +"id": "managedkafka.projects.locations.clusters.consumerGroups.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Optional. Filter expression for the result. Only supports filtering by topic name as a key in the `topics` map.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Optional. The maximum number of consumer groups to return. The service may return fewer than this value. If unset or zero, all consumer groups for the parent is returned.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. A page token, received from a previous `ListConsumerGroups` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListConsumerGroups` must match the call that provided the page token.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent cluster whose consumer groups are to be listed. Structured like `projects/{project}/locations/{location}/clusters/{cluster}`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/clusters/[^/]+$", +"required": true, +"type": "string" +}, +"view": { +"description": "Optional. Specifies the view (BASIC or FULL) of the ConsumerGroup resource to be returned in the response. Defaults to FULL view.", +"enum": [ +"CONSUMER_GROUP_VIEW_UNSPECIFIED", +"CONSUMER_GROUP_VIEW_BASIC", +"CONSUMER_GROUP_VIEW_FULL" +], +"enumDescriptions": [ +"The default / unset value. The API will default to the FULL view.", +"Include the name of the ConsumerGroup. This hides partition and topic metadata.", +"Include everything, including partition and topic metadata. This is the default value." +], +"location": "query", +"type": "string" +} +}, +"path": "v1/{+parent}/consumerGroups", +"response": { +"$ref": "ListConsumerGroupsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates the properties of a single consumer group.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/clusters/{clustersId}/consumerGroups/{consumerGroupsId}", +"httpMethod": "PATCH", +"id": "managedkafka.projects.locations.clusters.consumerGroups.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Identifier. The name of the consumer group. The `consumer_group` segment is used when connecting directly to the cluster. Structured like: projects/{project}/locations/{location}/clusters/{cluster}/consumerGroups/{consumer_group}", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/clusters/[^/]+/consumerGroups/.*$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Required. Field mask is used to specify the fields to be overwritten in the ConsumerGroup resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. The mask is required and a value of * will update all fields.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "ConsumerGroup" +}, +"response": { +"$ref": "ConsumerGroup" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"topics": { +"methods": { +"create": { +"description": "Creates a new topic in a given project and location.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/clusters/{clustersId}/topics", +"httpMethod": "POST", +"id": "managedkafka.projects.locations.clusters.topics.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The parent cluster in which to create the topic. Structured like `projects/{project}/locations/{location}/clusters/{cluster}`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/clusters/[^/]+$", +"required": true, +"type": "string" +}, +"topicId": { +"description": "Required. The ID to use for the topic, which will become the final component of the topic's name. This value is structured like: `my-topic-name`.", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+parent}/topics", +"request": { +"$ref": "Topic" +}, +"response": { +"$ref": "Topic" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a single topic.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/clusters/{clustersId}/topics/{topicsId}", +"httpMethod": "DELETE", +"id": "managedkafka.projects.locations.clusters.topics.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the topic to delete. `projects/{project}/locations/{location}/clusters/{cluster}/topics/{topic}`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/clusters/[^/]+/topics/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Returns the properties of a single topic.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/clusters/{clustersId}/topics/{topicsId}", +"httpMethod": "GET", +"id": "managedkafka.projects.locations.clusters.topics.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the topic whose configuration to return. Structured like: projects/{project}/locations/{location}/clusters/{cluster}/topics/{topic}.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/clusters/[^/]+/topics/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Topic" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists the topics in a given cluster.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/clusters/{clustersId}/topics", +"httpMethod": "GET", +"id": "managedkafka.projects.locations.clusters.topics.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "Optional. The maximum number of topics to return. The service may return fewer than this value. If unset or zero, all topics for the parent is returned.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. A page token, received from a previous `ListTopics` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListTopics` must match the call that provided the page token.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent cluster whose topics are to be listed. Structured like `projects/{project}/locations/{location}/clusters/{cluster}`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/clusters/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/topics", +"response": { +"$ref": "ListTopicsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates the properties of a single topic.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/clusters/{clustersId}/topics/{topicsId}", +"httpMethod": "PATCH", +"id": "managedkafka.projects.locations.clusters.topics.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Identifier. The name of the topic. The `topic` segment is used when connecting directly to the cluster. Structured like: projects/{project}/locations/{location}/clusters/{cluster}/topics/{topic}", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/clusters/[^/]+/topics/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Required. Field mask is used to specify the fields to be overwritten in the Topic resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. The mask is required and a value of * will update all fields.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "Topic" +}, +"response": { +"$ref": "Topic" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +}, +"connectClusters": { +"methods": { +"create": { +"description": "Creates a new Kafka Connect cluster in a given project and location.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/connectClusters", +"httpMethod": "POST", +"id": "managedkafka.projects.locations.connectClusters.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"connectClusterId": { +"description": "Required. The ID to use for the Connect cluster, which will become the final component of the cluster's name. The ID must be 1-63 characters long, and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` to comply with RFC 1035. This value is structured like: `my-cluster-id`.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent project/location in which to create the Kafka Connect cluster. Structured like `projects/{project}/locations/{location}/`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "Optional. An optional request ID to identify requests. Specify a unique request ID to avoid duplication of requests. If a request times out or fails, retrying with the same ID allows the server to recognize the previous attempt. For at least 60 minutes, the server ignores duplicate requests bearing the same ID. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID within 60 minutes of the last request, the server checks if an original operation with the same request ID was received. If so, the server ignores the second request. The request ID must be a valid UUID. A zero UUID is not supported (00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+parent}/connectClusters", +"request": { +"$ref": "ConnectCluster" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a single Connect cluster.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/connectClusters/{connectClustersId}", +"httpMethod": "DELETE", +"id": "managedkafka.projects.locations.connectClusters.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the Kafka Connect cluster to delete. Structured like `projects/{project}/locations/{location}/connectClusters/{connect_cluster_id}`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/connectClusters/[^/]+$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "Optional. An optional request ID to identify requests. Specify a unique request ID to avoid duplication of requests. If a request times out or fails, retrying with the same ID allows the server to recognize the previous attempt. For at least 60 minutes, the server ignores duplicate requests bearing the same ID. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID within 60 minutes of the last request, the server checks if an original operation with the same request ID was received. If so, the server ignores the second request. The request ID must be a valid UUID. A zero UUID is not supported (00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Returns the properties of a single Kafka Connect cluster.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/connectClusters/{connectClustersId}", +"httpMethod": "GET", +"id": "managedkafka.projects.locations.connectClusters.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the Kafka Connect cluster whose configuration to return. Structured like `projects/{project}/locations/{location}/connectClusters/{connect_cluster_id}`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/connectClusters/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "ConnectCluster" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists the Kafka Connect clusters in a given project and location.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/connectClusters", +"httpMethod": "GET", +"id": "managedkafka.projects.locations.connectClusters.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Optional. Filter expression for the result.", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "Optional. Order by fields for the result.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Optional. The maximum number of Connect clusters to return. The service may return fewer than this value. If unspecified, server will pick an appropriate default.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. A page token, received from a previous `ListConnectClusters` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListConnectClusters` must match the call that provided the page token.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent project/location whose Connect clusters are to be listed. Structured like `projects/{project}/locations/{location}`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/connectClusters", +"response": { +"$ref": "ListConnectClustersResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates the properties of a single Kafka Connect cluster.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/connectClusters/{connectClustersId}", +"httpMethod": "PATCH", +"id": "managedkafka.projects.locations.connectClusters.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Identifier. The name of the Kafka Connect cluster. Structured like: projects/{project_number}/locations/{location}/connectClusters/{connect_cluster_id}", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/connectClusters/[^/]+$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "Optional. An optional request ID to identify requests. Specify a unique request ID to avoid duplication of requests. If a request times out or fails, retrying with the same ID allows the server to recognize the previous attempt. For at least 60 minutes, the server ignores duplicate requests bearing the same ID. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID within 60 minutes of the last request, the server checks if an original operation with the same request ID was received. If so, the server ignores the second request. The request ID must be a valid UUID. A zero UUID is not supported (00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"updateMask": { +"description": "Required. Field mask is used to specify the fields to be overwritten in the cluster resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. The mask is required and a value of * will update all fields.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "ConnectCluster" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"connectors": { +"methods": { +"create": { +"description": "Creates a new connector in a given Connect cluster.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/connectClusters/{connectClustersId}/connectors", +"httpMethod": "POST", +"id": "managedkafka.projects.locations.connectClusters.connectors.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"connectorId": { +"description": "Required. The ID to use for the connector, which will become the final component of the connector's name. The ID must be 1-63 characters long, and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` to comply with RFC 1035. This value is structured like: `my-connector-id`.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent Connect cluster in which to create the connector. Structured like `projects/{project}/locations/{location}/connectClusters/{connect_cluster_id}`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/connectClusters/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/connectors", +"request": { +"$ref": "Connector" +}, +"response": { +"$ref": "Connector" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a connector.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/connectClusters/{connectClustersId}/connectors/{connectorsId}", +"httpMethod": "DELETE", +"id": "managedkafka.projects.locations.connectClusters.connectors.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the connector to delete. Structured like: projects/{project}/locations/{location}/connectClusters/{connectCluster}/connectors/{connector}", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/connectClusters/[^/]+/connectors/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Returns the properties of a single connector.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/connectClusters/{connectClustersId}/connectors/{connectorsId}", +"httpMethod": "GET", +"id": "managedkafka.projects.locations.connectClusters.connectors.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the connector whose configuration to return. Structured like: projects/{project}/locations/{location}/connectClusters/{connectCluster}/connectors/{connector}", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/connectClusters/[^/]+/connectors/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Connector" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists the connectors in a given Connect cluster.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/connectClusters/{connectClustersId}/connectors", +"httpMethod": "GET", +"id": "managedkafka.projects.locations.connectClusters.connectors.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "Optional. The maximum number of connectors to return. The service may return fewer than this value. If unspecified, server will pick an appropriate default.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. A page token, received from a previous `ListConnectors` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListConnectors` must match the call that provided the page token.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent Connect cluster whose connectors are to be listed. Structured like `projects/{project}/locations/{location}/connectClusters/{connect_cluster_id}`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/connectClusters/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/connectors", +"response": { +"$ref": "ListConnectorsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates the properties of a connector.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/connectClusters/{connectClustersId}/connectors/{connectorsId}", +"httpMethod": "PATCH", +"id": "managedkafka.projects.locations.connectClusters.connectors.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Identifier. The name of the connector. Structured like: projects/{project}/locations/{location}/connectClusters/{connect_cluster}/connectors/{connector}", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/connectClusters/[^/]+/connectors/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Required. Field mask is used to specify the fields to be overwritten in the cluster resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. The mask is required and a value of * will update all fields.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "Connector" +}, +"response": { +"$ref": "Connector" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"pause": { +"description": "Pauses the connector and its tasks.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/connectClusters/{connectClustersId}/connectors/{connectorsId}:pause", +"httpMethod": "POST", +"id": "managedkafka.projects.locations.connectClusters.connectors.pause", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the connector to pause. Structured like: projects/{project}/locations/{location}/connectClusters/{connectCluster}/connectors/{connector}", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/connectClusters/[^/]+/connectors/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:pause", +"request": { +"$ref": "PauseConnectorRequest" +}, +"response": { +"$ref": "PauseConnectorResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"restart": { +"description": "Restarts the connector.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/connectClusters/{connectClustersId}/connectors/{connectorsId}:restart", +"httpMethod": "POST", +"id": "managedkafka.projects.locations.connectClusters.connectors.restart", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the connector to restart. Structured like: projects/{project}/locations/{location}/connectClusters/{connectCluster}/connectors/{connector}", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/connectClusters/[^/]+/connectors/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:restart", +"request": { +"$ref": "RestartConnectorRequest" +}, +"response": { +"$ref": "RestartConnectorResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"resume": { +"description": "Resumes the connector and its tasks.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/connectClusters/{connectClustersId}/connectors/{connectorsId}:resume", +"httpMethod": "POST", +"id": "managedkafka.projects.locations.connectClusters.connectors.resume", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the connector to pause. Structured like: projects/{project}/locations/{location}/connectClusters/{connectCluster}/connectors/{connector}", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/connectClusters/[^/]+/connectors/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:resume", +"request": { +"$ref": "ResumeConnectorRequest" +}, +"response": { +"$ref": "ResumeConnectorResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"stop": { +"description": "Stops the connector.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/connectClusters/{connectClustersId}/connectors/{connectorsId}:stop", +"httpMethod": "POST", +"id": "managedkafka.projects.locations.connectClusters.connectors.stop", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the connector to stop. Structured like: projects/{project}/locations/{location}/connectClusters/{connectCluster}/connectors/{connector}", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/connectClusters/[^/]+/connectors/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:stop", +"request": { +"$ref": "StopConnectorRequest" +}, +"response": { +"$ref": "StopConnectorResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +}, +"operations": { +"methods": { +"cancel": { +"description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}:cancel", +"httpMethod": "POST", +"id": "managedkafka.projects.locations.operations.cancel", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be cancelled.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:cancel", +"request": { +"$ref": "CancelOperationRequest" +}, +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}", +"httpMethod": "DELETE", +"id": "managedkafka.projects.locations.operations.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be deleted.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}", +"httpMethod": "GET", +"id": "managedkafka.projects.locations.operations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/operations", +"httpMethod": "GET", +"id": "managedkafka.projects.locations.operations.list", +"parameterOrder": [ +"name" +], +"parameters": { +"filter": { +"description": "The standard list filter.", +"location": "query", +"type": "string" +}, +"name": { +"description": "The name of the operation's parent resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The standard list page size.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The standard list page token.", +"location": "query", +"type": "string" +}, +"returnPartialSuccess": { +"description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `\"projects/example/locations/-\"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1/{+name}/operations", +"response": { +"$ref": "ListOperationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"schemaRegistries": { +"methods": { +"create": { +"description": "Create a schema registry instance.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/schemaRegistries", +"httpMethod": "POST", +"id": "managedkafka.projects.locations.schemaRegistries.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The parent whose schema registry instance is to be created. Structured like: `projects/{project}/locations/{location}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/schemaRegistries", +"request": { +"$ref": "CreateSchemaRegistryRequest" +}, +"response": { +"$ref": "SchemaRegistry" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Delete a schema registry instance.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/schemaRegistries/{schemaRegistriesId}", +"httpMethod": "DELETE", +"id": "managedkafka.projects.locations.schemaRegistries.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the schema registry instance to delete. Structured like: `projects/{project}/locations/{location}/schemaRegistries/{schema_registry}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/schemaRegistries/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Get the schema registry instance.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/schemaRegistries/{schemaRegistriesId}", +"httpMethod": "GET", +"id": "managedkafka.projects.locations.schemaRegistries.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the schema registry instance to return. Structured like: `projects/{project}/locations/{location}/schemaRegistries/{schema_registry}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/schemaRegistries/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "SchemaRegistry" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "List schema registries.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/schemaRegistries", +"httpMethod": "GET", +"id": "managedkafka.projects.locations.schemaRegistries.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The parent whose schema registry instances are to be listed. Structured like: `projects/{project}/locations/{location}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +}, +"view": { +"description": "Optional. Specifies the view to return for the schema registry instances. If not specified, the default view is SCHEMA_REGISTRY_VIEW_BASIC.", +"enum": [ +"SCHEMA_REGISTRY_VIEW_UNSPECIFIED", +"SCHEMA_REGISTRY_VIEW_BASIC", +"SCHEMA_REGISTRY_VIEW_FULL" +], +"enumDescriptions": [ +"The unset value. The API will default to SCHEMA_REGISTRY_VIEW_BASIC.", +"If SchemaRegistryView is not specified, this is the default value. Returns only the name of the schema registry. The contexts associated with it are not included.", +"Returns the name of the schema registry and all the contexts associated with it." +], +"location": "query", +"type": "string" +} +}, +"path": "v1/{+parent}/schemaRegistries", +"response": { +"$ref": "ListSchemaRegistriesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"compatibility": { +"methods": { +"checkCompatibility": { +"description": "Check compatibility of a schema with all versions or a specific version of a subject.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/schemaRegistries/{schemaRegistriesId}/compatibility/{compatibilityId}", +"httpMethod": "POST", +"id": "managedkafka.projects.locations.schemaRegistries.compatibility.checkCompatibility", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the resource to check compatibility for. The format is either of following: * projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/compatibility/subjects/*/versions: Check compatibility with one or more versions of the specified subject. * projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/compatibility/subjects/{subject}/versions/{version}: Check compatibility with a specific version of the subject.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/schemaRegistries/[^/]+/compatibility/.*$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "CheckCompatibilityRequest" +}, +"response": { +"$ref": "CheckCompatibilityResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"config": { +"methods": { +"delete": { +"description": "Delete schema config for a subject.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/schemaRegistries/{schemaRegistriesId}/config/{configId}", +"httpMethod": "DELETE", +"id": "managedkafka.projects.locations.schemaRegistries.config.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of subject to delete the config for. The format is * projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/config/{subject}", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/schemaRegistries/[^/]+/config/.*$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "SchemaConfig" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Get schema config at global level or for a subject.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/schemaRegistries/{schemaRegistriesId}/config/{configId}", +"httpMethod": "GET", +"id": "managedkafka.projects.locations.schemaRegistries.config.get", +"parameterOrder": [ +"name" +], +"parameters": { +"defaultToGlobal": { +"description": "Optional. If true, the config will fall back to the config at the global level if no subject level config is found.", +"location": "query", +"type": "boolean" +}, +"name": { +"description": "Required. The resource name to get the config for. It can be either of following: * projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/config: Get config at global level. * projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/config/{subject}: Get config for a specific subject.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/schemaRegistries/[^/]+/config/.*$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "SchemaConfig" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"update": { +"description": "Update config at global level or for a subject. Creates a SchemaSubject-level SchemaConfig if it does not exist.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/schemaRegistries/{schemaRegistriesId}/config/{configId}", +"httpMethod": "PUT", +"id": "managedkafka.projects.locations.schemaRegistries.config.update", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name to update the config for. It can be either of following: * projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/config: Update config at global level. * projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/config/{subject}: Update config for a specific subject.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/schemaRegistries/[^/]+/config/.*$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "UpdateSchemaConfigRequest" +}, +"response": { +"$ref": "SchemaConfig" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"contexts": { +"methods": { +"get": { +"description": "Get the context.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/schemaRegistries/{schemaRegistriesId}/contexts/{contextsId}", +"httpMethod": "GET", +"id": "managedkafka.projects.locations.schemaRegistries.contexts.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the context to return. Structured like: `projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/contexts/{context}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/schemaRegistries/[^/]+/contexts/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Context" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "List contexts for a schema registry.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/schemaRegistries/{schemaRegistriesId}/contexts", +"httpMethod": "GET", +"id": "managedkafka.projects.locations.schemaRegistries.contexts.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The parent of the contexts. Structured like: `projects/{project}/locations/{location}/schemaRegistries/{schema_registry}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/schemaRegistries/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/contexts", +"response": { +"$ref": "HttpBody" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"compatibility": { +"methods": { +"checkCompatibility": { +"description": "Check compatibility of a schema with all versions or a specific version of a subject.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/schemaRegistries/{schemaRegistriesId}/contexts/{contextsId}/compatibility/{compatibilityId}", +"httpMethod": "POST", +"id": "managedkafka.projects.locations.schemaRegistries.contexts.compatibility.checkCompatibility", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the resource to check compatibility for. The format is either of following: * projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/compatibility/subjects/*/versions: Check compatibility with one or more versions of the specified subject. * projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/compatibility/subjects/{subject}/versions/{version}: Check compatibility with a specific version of the subject.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/schemaRegistries/[^/]+/contexts/[^/]+/compatibility/.*$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "CheckCompatibilityRequest" +}, +"response": { +"$ref": "CheckCompatibilityResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"config": { +"methods": { +"delete": { +"description": "Delete schema config for a subject.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/schemaRegistries/{schemaRegistriesId}/contexts/{contextsId}/config/{configId}", +"httpMethod": "DELETE", +"id": "managedkafka.projects.locations.schemaRegistries.contexts.config.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of subject to delete the config for. The format is * projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/config/{subject}", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/schemaRegistries/[^/]+/contexts/[^/]+/config/.*$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "SchemaConfig" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Get schema config at global level or for a subject.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/schemaRegistries/{schemaRegistriesId}/contexts/{contextsId}/config/{configId}", +"httpMethod": "GET", +"id": "managedkafka.projects.locations.schemaRegistries.contexts.config.get", +"parameterOrder": [ +"name" +], +"parameters": { +"defaultToGlobal": { +"description": "Optional. If true, the config will fall back to the config at the global level if no subject level config is found.", +"location": "query", +"type": "boolean" +}, +"name": { +"description": "Required. The resource name to get the config for. It can be either of following: * projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/config: Get config at global level. * projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/config/{subject}: Get config for a specific subject.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/schemaRegistries/[^/]+/contexts/[^/]+/config/.*$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "SchemaConfig" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"update": { +"description": "Update config at global level or for a subject. Creates a SchemaSubject-level SchemaConfig if it does not exist.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/schemaRegistries/{schemaRegistriesId}/contexts/{contextsId}/config/{configId}", +"httpMethod": "PUT", +"id": "managedkafka.projects.locations.schemaRegistries.contexts.config.update", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name to update the config for. It can be either of following: * projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/config: Update config at global level. * projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/config/{subject}: Update config for a specific subject.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/schemaRegistries/[^/]+/contexts/[^/]+/config/.*$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "UpdateSchemaConfigRequest" +}, +"response": { +"$ref": "SchemaConfig" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"mode": { +"methods": { +"delete": { +"description": "Delete schema mode for a subject.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/schemaRegistries/{schemaRegistriesId}/contexts/{contextsId}/mode/{modeId}", +"httpMethod": "DELETE", +"id": "managedkafka.projects.locations.schemaRegistries.contexts.mode.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of subject to delete the mode for. The format is * projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/mode/{subject} * projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/contexts/{context}/mode/{subject}", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/schemaRegistries/[^/]+/contexts/[^/]+/mode/.*$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "SchemaMode" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Get mode at global level or for a subject.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/schemaRegistries/{schemaRegistriesId}/contexts/{contextsId}/mode/{modeId}", +"httpMethod": "GET", +"id": "managedkafka.projects.locations.schemaRegistries.contexts.mode.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the mode. The format is * projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/mode/{subject}: mode for a schema registry, or * projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/contexts/{context}/mode/{subject}: mode for a specific subject in a specific context", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/schemaRegistries/[^/]+/contexts/[^/]+/mode/.*$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "SchemaMode" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"update": { +"description": "Update mode at global level or for a subject.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/schemaRegistries/{schemaRegistriesId}/contexts/{contextsId}/mode/{modeId}", +"httpMethod": "PUT", +"id": "managedkafka.projects.locations.schemaRegistries.contexts.mode.update", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the mode. The format is * projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/mode/{subject}: mode for a schema registry, or * projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/contexts/{context}/mode/{subject}: mode for a specific subject in a specific context", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/schemaRegistries/[^/]+/contexts/[^/]+/mode/.*$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "UpdateSchemaModeRequest" +}, +"response": { +"$ref": "SchemaMode" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"schemas": { +"methods": { +"get": { +"description": "Get the schema for the given schema id.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/schemaRegistries/{schemaRegistriesId}/contexts/{contextsId}/schemas/{schemasId}", +"httpMethod": "GET", +"id": "managedkafka.projects.locations.schemaRegistries.contexts.schemas.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the schema to return. Structured like: `projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/schemas/ids/{schema}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/schemaRegistries/[^/]+/contexts/[^/]+/schemas/.*$", +"required": true, +"type": "string" +}, +"subject": { +"description": "Optional. Used to limit the search for the schema ID to a specific subject, otherwise the schema ID will be searched for in all subjects in the given specified context.", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Schema" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"getSchema": { +"description": "Get the schema string for the given schema id. The response will be the schema string.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/schemaRegistries/{schemaRegistriesId}/contexts/{contextsId}/schemas/{schemasId}/schema", +"httpMethod": "GET", +"id": "managedkafka.projects.locations.schemaRegistries.contexts.schemas.getSchema", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the schema to return. Structured like: `projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/schemas/ids/{schema}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/schemaRegistries/[^/]+/contexts/[^/]+/schemas/.*$", +"required": true, +"type": "string" +}, +"subject": { +"description": "Optional. Used to limit the search for the schema ID to a specific subject, otherwise the schema ID will be searched for in all subjects in the given specified context.", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}/schema", +"response": { +"$ref": "HttpBody" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"subjects": { +"methods": { +"list": { +"description": "List subjects which reference a particular schema id. The response will be an array of subject names.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/schemaRegistries/{schemaRegistriesId}/contexts/{contextsId}/schemas/{schemasId}/subjects", +"httpMethod": "GET", +"id": "managedkafka.projects.locations.schemaRegistries.contexts.schemas.subjects.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"deleted": { +"description": "Optional. If true, the response will include soft-deleted subjects. The default is false.", +"location": "query", +"type": "boolean" +}, +"parent": { +"description": "Required. The schema resource whose associated subjects are to be listed. Structured like: `projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/schemas/ids/{schema}` or `projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/contexts/{context}/schemas/ids/{schema}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/schemaRegistries/[^/]+/contexts/[^/]+/schemas/.*$", +"required": true, +"type": "string" +}, +"subject": { +"description": "Optional. The subject to filter the subjects by.", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+parent}/subjects", +"response": { +"$ref": "HttpBody" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"types": { +"methods": { +"list": { +"description": "List the supported schema types. The response will be an array of schema types.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/schemaRegistries/{schemaRegistriesId}/contexts/{contextsId}/schemas/types", +"httpMethod": "GET", +"id": "managedkafka.projects.locations.schemaRegistries.contexts.schemas.types.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The parent schema registry whose schema types are to be listed. Structured like: `projects/{project}/locations/{location}/schemaRegistries/{schema_registry}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/schemaRegistries/[^/]+/contexts/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/schemas/types", +"response": { +"$ref": "HttpBody" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"versions": { +"methods": { +"list": { +"description": "List the schema versions for the given schema id. The response will be an array of subject-version pairs as: [{\"subject\":\"subject1\", \"version\":1}, {\"subject\":\"subject2\", \"version\":2}].", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/schemaRegistries/{schemaRegistriesId}/contexts/{contextsId}/schemas/{schemasId}/versions", +"httpMethod": "GET", +"id": "managedkafka.projects.locations.schemaRegistries.contexts.schemas.versions.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"deleted": { +"description": "Optional. If true, the response will include soft-deleted versions of the schema, even if the subject is soft-deleted. The default is false.", +"location": "query", +"type": "boolean" +}, +"parent": { +"description": "Required. The schema whose schema versions are to be listed. Structured like: `projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/schemas/ids/{schema}` or `projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/contexts/{context}/schemas/ids/{schema}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/schemaRegistries/[^/]+/contexts/[^/]+/schemas/.*$", +"required": true, +"type": "string" +}, +"subject": { +"description": "Optional. The subject to filter the subjects by.", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+parent}/versions", +"response": { +"$ref": "HttpBody" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +}, +"subjects": { +"methods": { +"delete": { +"description": "Delete a subject. The response will be an array of versions of the deleted subject.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/schemaRegistries/{schemaRegistriesId}/contexts/{contextsId}/subjects/{subjectsId}", +"httpMethod": "DELETE", +"id": "managedkafka.projects.locations.schemaRegistries.contexts.subjects.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the subject to delete. Structured like: `projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/subjects/{subject}` or `projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/contexts/{context}/subjects/{subject}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/schemaRegistries/[^/]+/contexts/[^/]+/subjects/[^/]+$", +"required": true, +"type": "string" +}, +"permanent": { +"description": "Optional. If true, the subject and all associated metadata including the schema ID will be deleted permanently. Otherwise, only the subject is soft-deleted. The default is false. Soft-deleted subjects can still be searched in ListSubjects API call with deleted=true query parameter. A soft-delete of a subject must be performed before a hard-delete.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "HttpBody" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "List subjects in the schema registry. The response will be an array of subject names.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/schemaRegistries/{schemaRegistriesId}/contexts/{contextsId}/subjects", +"httpMethod": "GET", +"id": "managedkafka.projects.locations.schemaRegistries.contexts.subjects.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"deleted": { +"description": "Optional. If true, the response will include soft-deleted subjects. The default is false.", +"location": "query", +"type": "boolean" +}, +"parent": { +"description": "Required. The parent schema registry/context whose subjects are to be listed. Structured like: `projects/{project}/locations/{location}/schemaRegistries/{schema_registry}` or `projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/contexts/{context}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/schemaRegistries/[^/]+/contexts/[^/]+$", +"required": true, +"type": "string" +}, +"subjectPrefix": { +"description": "Optional. The context to filter the subjects by, in the format of `:.{context}:`. If unset, all subjects in the registry are returned. Set to empty string or add as '?subjectPrefix=' at the end of this request to list subjects in the default context.", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+parent}/subjects", +"response": { +"$ref": "HttpBody" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"lookupVersion": { +"description": "Lookup a schema under the specified subject.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/schemaRegistries/{schemaRegistriesId}/contexts/{contextsId}/subjects/{subjectsId}", +"httpMethod": "POST", +"id": "managedkafka.projects.locations.schemaRegistries.contexts.subjects.lookupVersion", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The subject to lookup the schema in. Structured like: `projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/subjects/{subject}` or `projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/contexts/{context}/subjects/{subject}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/schemaRegistries/[^/]+/contexts/[^/]+/subjects/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}", +"request": { +"$ref": "LookupVersionRequest" +}, +"response": { +"$ref": "SchemaVersion" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"versions": { +"methods": { +"create": { +"description": "Register a new version under a given subject with the given schema.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/schemaRegistries/{schemaRegistriesId}/contexts/{contextsId}/subjects/{subjectsId}/versions", +"httpMethod": "POST", +"id": "managedkafka.projects.locations.schemaRegistries.contexts.subjects.versions.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The subject to create the version for. Structured like: `projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/subjects/{subject}` or `projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/contexts/{context}/subjects/{subject}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/schemaRegistries/[^/]+/contexts/[^/]+/subjects/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/versions", +"request": { +"$ref": "CreateVersionRequest" +}, +"response": { +"$ref": "CreateVersionResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Delete a version of a subject. The response will be the deleted version id.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/schemaRegistries/{schemaRegistriesId}/contexts/{contextsId}/subjects/{subjectsId}/versions/{versionsId}", +"httpMethod": "DELETE", +"id": "managedkafka.projects.locations.schemaRegistries.contexts.subjects.versions.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the subject version to delete. Structured like: `projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/subjects/{subject}/versions/{version}` or `projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/contexts/{context}/subjects/{subject}/versions/{version}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/schemaRegistries/[^/]+/contexts/[^/]+/subjects/[^/]+/versions/[^/]+$", +"required": true, +"type": "string" +}, +"permanent": { +"description": "Optional. If true, both the version and the referenced schema ID will be permanently deleted. The default is false. If false, the version will be deleted but the schema ID will be retained. Soft-deleted versions can still be searched in ListVersions API call with deleted=true query parameter. A soft-delete of a version must be performed before a hard-delete.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "HttpBody" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Get a versioned schema (schema with subject/version) of a subject.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/schemaRegistries/{schemaRegistriesId}/contexts/{contextsId}/subjects/{subjectsId}/versions/{versionsId}", +"httpMethod": "GET", +"id": "managedkafka.projects.locations.schemaRegistries.contexts.subjects.versions.get", +"parameterOrder": [ +"name" +], +"parameters": { +"deleted": { +"description": "Optional. If true, no matter if the subject/version is soft-deleted or not, it returns the version details. If false, it returns NOT_FOUND error if the subject/version is soft-deleted. The default is false.", +"location": "query", +"type": "boolean" +}, +"name": { +"description": "Required. The name of the subject to return versions. Structured like: `projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/subjects/{subject}/versions/{version}` or `projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/contexts/{context}/subjects/{subject}/versions/{version}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/schemaRegistries/[^/]+/contexts/[^/]+/subjects/[^/]+/versions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "SchemaVersion" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"getSchema": { +"description": "Get the schema string only for a version of a subject. The response will be the schema string.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/schemaRegistries/{schemaRegistriesId}/contexts/{contextsId}/subjects/{subjectsId}/versions/{versionsId}/schema", +"httpMethod": "GET", +"id": "managedkafka.projects.locations.schemaRegistries.contexts.subjects.versions.getSchema", +"parameterOrder": [ +"name" +], +"parameters": { +"deleted": { +"description": "Optional. If true, no matter if the subject/version is soft-deleted or not, it returns the version details. If false, it returns NOT_FOUND error if the subject/version is soft-deleted. The default is false.", +"location": "query", +"type": "boolean" +}, +"name": { +"description": "Required. The name of the subject to return versions. Structured like: `projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/subjects/{subject}/versions/{version}` or `projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/contexts/{context}/subjects/{subject}/versions/{version}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/schemaRegistries/[^/]+/contexts/[^/]+/subjects/[^/]+/versions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}/schema", +"response": { +"$ref": "HttpBody" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Get all versions of a subject. The response will be an array of versions of the subject.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/schemaRegistries/{schemaRegistriesId}/contexts/{contextsId}/subjects/{subjectsId}/versions", +"httpMethod": "GET", +"id": "managedkafka.projects.locations.schemaRegistries.contexts.subjects.versions.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"deleted": { +"description": "Optional. If true, the response will include soft-deleted versions of an active or soft-deleted subject. The default is false.", +"location": "query", +"type": "boolean" +}, +"parent": { +"description": "Required. The subject whose versions are to be listed. Structured like: `projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/subjects/{subject}` or `projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/contexts/{context}/subjects/{subject}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/schemaRegistries/[^/]+/contexts/[^/]+/subjects/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/versions", +"response": { +"$ref": "HttpBody" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"referencedby": { +"methods": { +"list": { +"description": "Get a list of IDs of schemas that reference the schema with the given subject and version.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/schemaRegistries/{schemaRegistriesId}/contexts/{contextsId}/subjects/{subjectsId}/versions/{versionsId}/referencedby", +"httpMethod": "GET", +"id": "managedkafka.projects.locations.schemaRegistries.contexts.subjects.versions.referencedby.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The version to list referenced by. Structured like: `projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/subjects/{subject}/versions/{version}` or `projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/contexts/{context}/subjects/{subject}/versions/{version}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/schemaRegistries/[^/]+/contexts/[^/]+/subjects/[^/]+/versions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/referencedby", +"response": { +"$ref": "HttpBody" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +} +} +} +} +}, +"mode": { +"methods": { +"delete": { +"description": "Delete schema mode for a subject.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/schemaRegistries/{schemaRegistriesId}/mode/{modeId}", +"httpMethod": "DELETE", +"id": "managedkafka.projects.locations.schemaRegistries.mode.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of subject to delete the mode for. The format is * projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/mode/{subject} * projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/contexts/{context}/mode/{subject}", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/schemaRegistries/[^/]+/mode/.*$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "SchemaMode" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Get mode at global level or for a subject.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/schemaRegistries/{schemaRegistriesId}/mode/{modeId}", +"httpMethod": "GET", +"id": "managedkafka.projects.locations.schemaRegistries.mode.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the mode. The format is * projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/mode/{subject}: mode for a schema registry, or * projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/contexts/{context}/mode/{subject}: mode for a specific subject in a specific context", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/schemaRegistries/[^/]+/mode/.*$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "SchemaMode" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"update": { +"description": "Update mode at global level or for a subject.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/schemaRegistries/{schemaRegistriesId}/mode/{modeId}", +"httpMethod": "PUT", +"id": "managedkafka.projects.locations.schemaRegistries.mode.update", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the mode. The format is * projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/mode/{subject}: mode for a schema registry, or * projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/contexts/{context}/mode/{subject}: mode for a specific subject in a specific context", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/schemaRegistries/[^/]+/mode/.*$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "UpdateSchemaModeRequest" +}, +"response": { +"$ref": "SchemaMode" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"schemas": { +"methods": { +"get": { +"description": "Get the schema for the given schema id.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/schemaRegistries/{schemaRegistriesId}/schemas/{schemasId}", +"httpMethod": "GET", +"id": "managedkafka.projects.locations.schemaRegistries.schemas.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the schema to return. Structured like: `projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/schemas/ids/{schema}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/schemaRegistries/[^/]+/schemas/.*$", +"required": true, +"type": "string" +}, +"subject": { +"description": "Optional. Used to limit the search for the schema ID to a specific subject, otherwise the schema ID will be searched for in all subjects in the given specified context.", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Schema" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"getSchema": { +"description": "Get the schema string for the given schema id. The response will be the schema string.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/schemaRegistries/{schemaRegistriesId}/schemas/{schemasId}/schema", +"httpMethod": "GET", +"id": "managedkafka.projects.locations.schemaRegistries.schemas.getSchema", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the schema to return. Structured like: `projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/schemas/ids/{schema}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/schemaRegistries/[^/]+/schemas/.*$", +"required": true, +"type": "string" +}, +"subject": { +"description": "Optional. Used to limit the search for the schema ID to a specific subject, otherwise the schema ID will be searched for in all subjects in the given specified context.", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}/schema", +"response": { +"$ref": "HttpBody" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"subjects": { +"methods": { +"list": { +"description": "List subjects which reference a particular schema id. The response will be an array of subject names.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/schemaRegistries/{schemaRegistriesId}/schemas/{schemasId}/subjects", +"httpMethod": "GET", +"id": "managedkafka.projects.locations.schemaRegistries.schemas.subjects.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"deleted": { +"description": "Optional. If true, the response will include soft-deleted subjects. The default is false.", +"location": "query", +"type": "boolean" +}, +"parent": { +"description": "Required. The schema resource whose associated subjects are to be listed. Structured like: `projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/schemas/ids/{schema}` or `projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/contexts/{context}/schemas/ids/{schema}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/schemaRegistries/[^/]+/schemas/.*$", +"required": true, +"type": "string" +}, +"subject": { +"description": "Optional. The subject to filter the subjects by.", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+parent}/subjects", +"response": { +"$ref": "HttpBody" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"types": { +"methods": { +"list": { +"description": "List the supported schema types. The response will be an array of schema types.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/schemaRegistries/{schemaRegistriesId}/schemas/types", +"httpMethod": "GET", +"id": "managedkafka.projects.locations.schemaRegistries.schemas.types.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The parent schema registry whose schema types are to be listed. Structured like: `projects/{project}/locations/{location}/schemaRegistries/{schema_registry}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/schemaRegistries/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/schemas/types", +"response": { +"$ref": "HttpBody" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"versions": { +"methods": { +"list": { +"description": "List the schema versions for the given schema id. The response will be an array of subject-version pairs as: [{\"subject\":\"subject1\", \"version\":1}, {\"subject\":\"subject2\", \"version\":2}].", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/schemaRegistries/{schemaRegistriesId}/schemas/{schemasId}/versions", +"httpMethod": "GET", +"id": "managedkafka.projects.locations.schemaRegistries.schemas.versions.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"deleted": { +"description": "Optional. If true, the response will include soft-deleted versions of the schema, even if the subject is soft-deleted. The default is false.", +"location": "query", +"type": "boolean" +}, +"parent": { +"description": "Required. The schema whose schema versions are to be listed. Structured like: `projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/schemas/ids/{schema}` or `projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/contexts/{context}/schemas/ids/{schema}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/schemaRegistries/[^/]+/schemas/.*$", +"required": true, +"type": "string" +}, +"subject": { +"description": "Optional. The subject to filter the subjects by.", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+parent}/versions", +"response": { +"$ref": "HttpBody" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +}, +"subjects": { +"methods": { +"delete": { +"description": "Delete a subject. The response will be an array of versions of the deleted subject.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/schemaRegistries/{schemaRegistriesId}/subjects/{subjectsId}", +"httpMethod": "DELETE", +"id": "managedkafka.projects.locations.schemaRegistries.subjects.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the subject to delete. Structured like: `projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/subjects/{subject}` or `projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/contexts/{context}/subjects/{subject}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/schemaRegistries/[^/]+/subjects/[^/]+$", +"required": true, +"type": "string" +}, +"permanent": { +"description": "Optional. If true, the subject and all associated metadata including the schema ID will be deleted permanently. Otherwise, only the subject is soft-deleted. The default is false. Soft-deleted subjects can still be searched in ListSubjects API call with deleted=true query parameter. A soft-delete of a subject must be performed before a hard-delete.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "HttpBody" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "List subjects in the schema registry. The response will be an array of subject names.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/schemaRegistries/{schemaRegistriesId}/subjects", +"httpMethod": "GET", +"id": "managedkafka.projects.locations.schemaRegistries.subjects.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"deleted": { +"description": "Optional. If true, the response will include soft-deleted subjects. The default is false.", +"location": "query", +"type": "boolean" +}, +"parent": { +"description": "Required. The parent schema registry/context whose subjects are to be listed. Structured like: `projects/{project}/locations/{location}/schemaRegistries/{schema_registry}` or `projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/contexts/{context}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/schemaRegistries/[^/]+$", +"required": true, +"type": "string" +}, +"subjectPrefix": { +"description": "Optional. The context to filter the subjects by, in the format of `:.{context}:`. If unset, all subjects in the registry are returned. Set to empty string or add as '?subjectPrefix=' at the end of this request to list subjects in the default context.", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+parent}/subjects", +"response": { +"$ref": "HttpBody" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"lookupVersion": { +"description": "Lookup a schema under the specified subject.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/schemaRegistries/{schemaRegistriesId}/subjects/{subjectsId}", +"httpMethod": "POST", +"id": "managedkafka.projects.locations.schemaRegistries.subjects.lookupVersion", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The subject to lookup the schema in. Structured like: `projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/subjects/{subject}` or `projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/contexts/{context}/subjects/{subject}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/schemaRegistries/[^/]+/subjects/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}", +"request": { +"$ref": "LookupVersionRequest" +}, +"response": { +"$ref": "SchemaVersion" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"versions": { +"methods": { +"create": { +"description": "Register a new version under a given subject with the given schema.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/schemaRegistries/{schemaRegistriesId}/subjects/{subjectsId}/versions", +"httpMethod": "POST", +"id": "managedkafka.projects.locations.schemaRegistries.subjects.versions.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The subject to create the version for. Structured like: `projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/subjects/{subject}` or `projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/contexts/{context}/subjects/{subject}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/schemaRegistries/[^/]+/subjects/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/versions", +"request": { +"$ref": "CreateVersionRequest" +}, +"response": { +"$ref": "CreateVersionResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Delete a version of a subject. The response will be the deleted version id.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/schemaRegistries/{schemaRegistriesId}/subjects/{subjectsId}/versions/{versionsId}", +"httpMethod": "DELETE", +"id": "managedkafka.projects.locations.schemaRegistries.subjects.versions.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the subject version to delete. Structured like: `projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/subjects/{subject}/versions/{version}` or `projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/contexts/{context}/subjects/{subject}/versions/{version}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/schemaRegistries/[^/]+/subjects/[^/]+/versions/[^/]+$", +"required": true, +"type": "string" +}, +"permanent": { +"description": "Optional. If true, both the version and the referenced schema ID will be permanently deleted. The default is false. If false, the version will be deleted but the schema ID will be retained. Soft-deleted versions can still be searched in ListVersions API call with deleted=true query parameter. A soft-delete of a version must be performed before a hard-delete.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "HttpBody" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Get a versioned schema (schema with subject/version) of a subject.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/schemaRegistries/{schemaRegistriesId}/subjects/{subjectsId}/versions/{versionsId}", +"httpMethod": "GET", +"id": "managedkafka.projects.locations.schemaRegistries.subjects.versions.get", +"parameterOrder": [ +"name" +], +"parameters": { +"deleted": { +"description": "Optional. If true, no matter if the subject/version is soft-deleted or not, it returns the version details. If false, it returns NOT_FOUND error if the subject/version is soft-deleted. The default is false.", +"location": "query", +"type": "boolean" +}, +"name": { +"description": "Required. The name of the subject to return versions. Structured like: `projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/subjects/{subject}/versions/{version}` or `projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/contexts/{context}/subjects/{subject}/versions/{version}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/schemaRegistries/[^/]+/subjects/[^/]+/versions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "SchemaVersion" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"getSchema": { +"description": "Get the schema string only for a version of a subject. The response will be the schema string.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/schemaRegistries/{schemaRegistriesId}/subjects/{subjectsId}/versions/{versionsId}/schema", +"httpMethod": "GET", +"id": "managedkafka.projects.locations.schemaRegistries.subjects.versions.getSchema", +"parameterOrder": [ +"name" +], +"parameters": { +"deleted": { +"description": "Optional. If true, no matter if the subject/version is soft-deleted or not, it returns the version details. If false, it returns NOT_FOUND error if the subject/version is soft-deleted. The default is false.", +"location": "query", +"type": "boolean" +}, +"name": { +"description": "Required. The name of the subject to return versions. Structured like: `projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/subjects/{subject}/versions/{version}` or `projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/contexts/{context}/subjects/{subject}/versions/{version}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/schemaRegistries/[^/]+/subjects/[^/]+/versions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}/schema", +"response": { +"$ref": "HttpBody" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Get all versions of a subject. The response will be an array of versions of the subject.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/schemaRegistries/{schemaRegistriesId}/subjects/{subjectsId}/versions", +"httpMethod": "GET", +"id": "managedkafka.projects.locations.schemaRegistries.subjects.versions.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"deleted": { +"description": "Optional. If true, the response will include soft-deleted versions of an active or soft-deleted subject. The default is false.", +"location": "query", +"type": "boolean" +}, +"parent": { +"description": "Required. The subject whose versions are to be listed. Structured like: `projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/subjects/{subject}` or `projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/contexts/{context}/subjects/{subject}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/schemaRegistries/[^/]+/subjects/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/versions", +"response": { +"$ref": "HttpBody" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"referencedby": { +"methods": { +"list": { +"description": "Get a list of IDs of schemas that reference the schema with the given subject and version.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/schemaRegistries/{schemaRegistriesId}/subjects/{subjectsId}/versions/{versionsId}/referencedby", +"httpMethod": "GET", +"id": "managedkafka.projects.locations.schemaRegistries.subjects.versions.referencedby.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The version to list referenced by. Structured like: `projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/subjects/{subject}/versions/{version}` or `projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/contexts/{context}/subjects/{subject}/versions/{version}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/schemaRegistries/[^/]+/subjects/[^/]+/versions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/referencedby", +"response": { +"$ref": "HttpBody" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +} +} +} +} +} +} +} +} +} +}, +"revision": "20260129", +"rootUrl": "https://managedkafka.googleapis.com/", +"schemas": { +"AccessConfig": { +"description": "The configuration of access to the Kafka cluster.", +"id": "AccessConfig", +"properties": { +"networkConfigs": { +"description": "Required. Virtual Private Cloud (VPC) networks that must be granted direct access to the Kafka cluster. Minimum of 1 network is required. Maximum 10 networks can be specified.", +"items": { +"$ref": "NetworkConfig" +}, +"type": "array" +} +}, +"type": "object" +}, +"Acl": { +"description": "Represents the set of ACLs for a given Kafka Resource Pattern, which consists of resource_type, resource_name and pattern_type.", +"id": "Acl", +"properties": { +"aclEntries": { +"description": "Required. The ACL entries that apply to the resource pattern. The maximum number of allowed entries 100.", +"items": { +"$ref": "AclEntry" +}, +"type": "array" +}, +"etag": { +"description": "Optional. `etag` is used for concurrency control. An `etag` is returned in the response to `GetAcl` and `CreateAcl`. Callers are required to put that etag in the request to `UpdateAcl` to ensure that their change will be applied to the same version of the acl that exists in the Kafka Cluster. A terminal 'T' character in the etag indicates that the AclEntries were truncated; more entries for the Acl exist on the Kafka Cluster, but can't be returned in the Acl due to repeated field limits.", +"type": "string" +}, +"name": { +"description": "Identifier. The name for the acl. Represents a single Resource Pattern. Structured like: projects/{project}/locations/{location}/clusters/{cluster}/acls/{acl_id} The structure of `acl_id` defines the Resource Pattern (resource_type, resource_name, pattern_type) of the acl. `acl_id` is structured like one of the following: For acls on the cluster: `cluster` For acls on a single resource within the cluster: `topic/{resource_name}` `consumerGroup/{resource_name}` `transactionalId/{resource_name}` For acls on all resources that match a prefix: `topicPrefixed/{resource_name}` `consumerGroupPrefixed/{resource_name}` `transactionalIdPrefixed/{resource_name}` For acls on all resources of a given type (i.e. the wildcard literal \"*\"): `allTopics` (represents `topic/*`) `allConsumerGroups` (represents `consumerGroup/*`) `allTransactionalIds` (represents `transactionalId/*`)", +"type": "string" +}, +"patternType": { +"description": "Output only. The ACL pattern type derived from the name. One of: LITERAL, PREFIXED.", +"readOnly": true, +"type": "string" +}, +"resourceName": { +"description": "Output only. The ACL resource name derived from the name. For cluster resource_type, this is always \"kafka-cluster\". Can be the wildcard literal \"*\".", +"readOnly": true, +"type": "string" +}, +"resourceType": { +"description": "Output only. The ACL resource type derived from the name. One of: CLUSTER, TOPIC, GROUP, TRANSACTIONAL_ID.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"AclEntry": { +"description": "Represents the access granted for a given Resource Pattern in an ACL.", +"id": "AclEntry", +"properties": { +"host": { +"description": "Required. The host. Must be set to \"*\" for Managed Service for Apache Kafka.", +"type": "string" +}, +"operation": { +"description": "Required. The operation type. Allowed values are (case insensitive): ALL, READ, WRITE, CREATE, DELETE, ALTER, DESCRIBE, CLUSTER_ACTION, DESCRIBE_CONFIGS, ALTER_CONFIGS, and IDEMPOTENT_WRITE. See https://kafka.apache.org/documentation/#operations_resources_and_protocols for valid combinations of resource_type and operation for different Kafka API requests.", +"type": "string" +}, +"permissionType": { +"description": "Required. The permission type. Accepted values are (case insensitive): ALLOW, DENY.", +"type": "string" +}, +"principal": { +"description": "Required. The principal. Specified as Google Cloud account, with the Kafka StandardAuthorizer prefix \"User:\". For example: \"User:test-kafka-client@test-project.iam.gserviceaccount.com\". Can be the wildcard \"User:*\" to refer to all users.", +"type": "string" +} +}, +"type": "object" +}, +"AddAclEntryResponse": { +"description": "Response for AddAclEntry.", +"id": "AddAclEntryResponse", +"properties": { +"acl": { +"$ref": "Acl", +"description": "The updated acl." +}, +"aclCreated": { +"description": "Whether the acl was created as a result of adding the acl entry.", +"type": "boolean" +} +}, +"type": "object" +}, +"BrokerDetails": { +"description": "Details of a broker in the Kafka cluster.", +"id": "BrokerDetails", +"properties": { +"brokerIndex": { +"description": "Output only. The index of the broker.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"nodeId": { +"description": "Output only. The node id of the broker.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"rack": { +"description": "Output only. The rack of the broker.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"CancelOperationRequest": { +"description": "The request message for Operations.CancelOperation.", +"id": "CancelOperationRequest", +"properties": {}, +"type": "object" +}, +"CapacityConfig": { +"description": "A capacity configuration of a Kafka cluster.", +"id": "CapacityConfig", +"properties": { +"memoryBytes": { +"description": "Required. The memory to provision for the cluster in bytes. The CPU:memory ratio (vCPU:GiB) must be between 1:1 and 1:8. Minimum: 3221225472 (3 GiB).", +"format": "int64", +"type": "string" +}, +"vcpuCount": { +"description": "Required. The number of vCPUs to provision for the cluster. Minimum: 3.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"CertificateAuthorityServiceConfig": { +"description": "A configuration for the Google Certificate Authority Service.", +"id": "CertificateAuthorityServiceConfig", +"properties": { +"caPool": { +"description": "Required. The name of the CA pool to pull CA certificates from. Structured like: projects/{project}/locations/{location}/caPools/{ca_pool}. The CA pool does not need to be in the same project or location as the Kafka cluster.", +"type": "string" +} +}, +"type": "object" +}, +"CheckCompatibilityRequest": { +"description": "Request for CheckCompatibility.", +"id": "CheckCompatibilityRequest", +"properties": { +"references": { +"description": "Optional. The schema references used by the schema.", +"items": { +"$ref": "SchemaReference" +}, +"type": "array" +}, +"schema": { +"description": "Required. The schema payload", +"type": "string" +}, +"schemaType": { +"description": "Optional. The schema type of the schema.", +"enum": [ +"SCHEMA_TYPE_UNSPECIFIED", +"AVRO", +"JSON", +"PROTOBUF" +], +"enumDescriptions": [ +"No schema type. The default will be AVRO.", +"Avro schema type.", +"JSON schema type.", +"Protobuf schema type." +], +"type": "string" +}, +"verbose": { +"description": "Optional. If true, the response will contain the compatibility check result with reasons for failed checks. The default is false.", +"type": "boolean" +} +}, +"type": "object" +}, +"CheckCompatibilityResponse": { +"description": "Response for CheckCompatibility.", +"id": "CheckCompatibilityResponse", +"properties": { +"is_compatible": { +"description": "The compatibility check result. If true, the schema is compatible with the resource.", +"type": "boolean" +}, +"messages": { +"description": "Failure reasons if verbose = true.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"Cluster": { +"description": "An Apache Kafka cluster deployed in a location.", +"id": "Cluster", +"properties": { +"brokerDetails": { +"description": "Output only. Only populated when FULL view is requested. Details of each broker in the cluster.", +"items": { +"$ref": "BrokerDetails" +}, +"readOnly": true, +"type": "array" +}, +"capacityConfig": { +"$ref": "CapacityConfig", +"description": "Required. Capacity configuration for the Kafka cluster." +}, +"createTime": { +"description": "Output only. The time when the cluster was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"gcpConfig": { +"$ref": "GcpConfig", +"description": "Required. Configuration properties for a Kafka cluster deployed to Google Cloud Platform." +}, +"kafkaVersion": { +"description": "Output only. Only populated when FULL view is requested. The Kafka version of the cluster.", +"readOnly": true, +"type": "string" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. Labels as key value pairs.", +"type": "object" +}, +"name": { +"description": "Identifier. The name of the cluster. Structured like: projects/{project_number}/locations/{location}/clusters/{cluster_id}", +"type": "string" +}, +"rebalanceConfig": { +"$ref": "RebalanceConfig", +"description": "Optional. Rebalance configuration for the Kafka cluster." +}, +"satisfiesPzi": { +"description": "Output only. Reserved for future use.", +"readOnly": true, +"type": "boolean" +}, +"satisfiesPzs": { +"description": "Output only. Reserved for future use.", +"readOnly": true, +"type": "boolean" +}, +"state": { +"description": "Output only. The current state of the cluster.", +"enum": [ +"STATE_UNSPECIFIED", +"CREATING", +"ACTIVE", +"DELETING", +"UPDATING" +], +"enumDescriptions": [ +"A state was not specified.", +"The cluster is being created.", +"The cluster is active.", +"The cluster is being deleted.", +"The cluster is being updated." +], +"readOnly": true, +"type": "string" +}, +"tlsConfig": { +"$ref": "TlsConfig", +"description": "Optional. TLS configuration for the Kafka cluster." +}, +"updateOptions": { +"$ref": "UpdateOptions", +"description": "Optional. UpdateOptions represents options that control how updates to the cluster are applied." +}, +"updateTime": { +"description": "Output only. The time when the cluster was last updated.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"ConnectAccessConfig": { +"description": "The configuration of access to the Kafka Connect cluster.", +"id": "ConnectAccessConfig", +"properties": { +"networkConfigs": { +"description": "Required. Virtual Private Cloud (VPC) networks that must be granted direct access to the Kafka Connect cluster. Minimum of 1 network is required. Maximum 10 networks can be specified.", +"items": { +"$ref": "ConnectNetworkConfig" +}, +"type": "array" +} +}, +"type": "object" +}, +"ConnectCluster": { +"description": "An Apache Kafka Connect cluster deployed in a location.", +"id": "ConnectCluster", +"properties": { +"capacityConfig": { +"$ref": "CapacityConfig", +"description": "Required. Capacity configuration for the Kafka Connect cluster." +}, +"config": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. Configurations for the worker that are overridden from the defaults. The key of the map is a Kafka Connect worker property name, for example: `exactly.once.source.support`.", +"type": "object" +}, +"createTime": { +"description": "Output only. The time when the cluster was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"gcpConfig": { +"$ref": "ConnectGcpConfig", +"description": "Required. Configuration properties for a Kafka Connect cluster deployed to Google Cloud Platform." +}, +"kafkaCluster": { +"description": "Required. Immutable. The name of the Kafka cluster this Kafka Connect cluster is attached to. Structured like: projects/{project}/locations/{location}/clusters/{cluster}", +"type": "string" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. Labels as key value pairs.", +"type": "object" +}, +"name": { +"description": "Identifier. The name of the Kafka Connect cluster. Structured like: projects/{project_number}/locations/{location}/connectClusters/{connect_cluster_id}", +"type": "string" +}, +"satisfiesPzi": { +"description": "Output only. Reserved for future use.", +"readOnly": true, +"type": "boolean" +}, +"satisfiesPzs": { +"description": "Output only. Reserved for future use.", +"readOnly": true, +"type": "boolean" +}, +"state": { +"description": "Output only. The current state of the Kafka Connect cluster.", +"enum": [ +"STATE_UNSPECIFIED", +"CREATING", +"ACTIVE", +"DELETING", +"DETACHED" +], +"enumDescriptions": [ +"A state was not specified.", +"The cluster is being created.", +"The cluster is active.", +"The cluster is being deleted.", +"The cluster is detached." +], +"readOnly": true, +"type": "string" +}, +"updateTime": { +"description": "Output only. The time when the cluster was last updated.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"ConnectGcpConfig": { +"description": "Configuration properties for a Kafka Connect cluster deployed to Google Cloud Platform.", +"id": "ConnectGcpConfig", +"properties": { +"accessConfig": { +"$ref": "ConnectAccessConfig", +"description": "Required. Access configuration for the Kafka Connect cluster." +}, +"secretPaths": { +"description": "Optional. Secrets to load into workers. Exact SecretVersions from Secret Manager must be provided -- aliases are not supported. Up to 32 secrets may be loaded into one cluster. Format: projects//secrets//versions/", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ConnectNetworkConfig": { +"description": "The configuration of a Virtual Private Cloud (VPC) network that can access the Kafka Connect cluster.", +"id": "ConnectNetworkConfig", +"properties": { +"additionalSubnets": { +"deprecated": true, +"description": "Optional. Deprecated: Managed Kafka Connect clusters can now reach any endpoint accessible from the primary subnet without the need to define additional subnets. Please see https://cloud.google.com/managed-service-for-apache-kafka/docs/connect-cluster/create-connect-cluster#worker-subnet for more information.", +"items": { +"type": "string" +}, +"type": "array" +}, +"dnsDomainNames": { +"description": "Optional. Additional DNS domain names from the subnet's network to be made visible to the Connect Cluster. When using MirrorMaker2, it's necessary to add the bootstrap address's dns domain name of the target cluster to make it visible to the connector. For example: my-kafka-cluster.us-central1.managedkafka.my-project.cloud.goog", +"items": { +"type": "string" +}, +"type": "array" +}, +"primarySubnet": { +"description": "Required. VPC subnet to make available to the Kafka Connect cluster. Structured like: projects/{project}/regions/{region}/subnetworks/{subnet_id} It is used to create a Private Service Connect (PSC) interface for the Kafka Connect workers. It must be located in the same region as the Kafka Connect cluster. The CIDR range of the subnet must be within the IPv4 address ranges for private networks, as specified in RFC 1918. The primary subnet CIDR range must have a minimum size of /22 (1024 addresses).", +"type": "string" +} +}, +"type": "object" +}, +"Connector": { +"description": "A Kafka Connect connector in a given ConnectCluster.", +"id": "Connector", +"properties": { +"configs": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. Connector config as keys/values. The keys of the map are connector property names, for example: `connector.class`, `tasks.max`, `key.converter`.", +"type": "object" +}, +"name": { +"description": "Identifier. The name of the connector. Structured like: projects/{project}/locations/{location}/connectClusters/{connect_cluster}/connectors/{connector}", +"type": "string" +}, +"state": { +"description": "Output only. The current state of the connector.", +"enum": [ +"STATE_UNSPECIFIED", +"UNASSIGNED", +"RUNNING", +"PAUSED", +"FAILED", +"RESTARTING", +"STOPPED" +], +"enumDescriptions": [ +"A state was not specified.", +"The connector is not assigned to any tasks, usually transient.", +"The connector is running.", +"The connector has been paused.", +"The connector has failed. See logs for why.", +"The connector is restarting.", +"The connector has been stopped." +], +"readOnly": true, +"type": "string" +}, +"taskRestartPolicy": { +"$ref": "TaskRetryPolicy", +"description": "Optional. Restarts the individual tasks of a Connector." +} +}, +"type": "object" +}, +"ConsumerGroup": { +"description": "A Kafka consumer group in a given cluster.", +"id": "ConsumerGroup", +"properties": { +"name": { +"description": "Identifier. The name of the consumer group. The `consumer_group` segment is used when connecting directly to the cluster. Structured like: projects/{project}/locations/{location}/clusters/{cluster}/consumerGroups/{consumer_group}", +"type": "string" +}, +"topics": { +"additionalProperties": { +"$ref": "ConsumerTopicMetadata" +}, +"description": "Optional. Metadata for this consumer group for all topics it has metadata for. The key of the map is a topic name, structured like: projects/{project}/locations/{location}/clusters/{cluster}/topics/{topic}", +"type": "object" +} +}, +"type": "object" +}, +"ConsumerPartitionMetadata": { +"description": "Metadata for a consumer group corresponding to a specific partition.", +"id": "ConsumerPartitionMetadata", +"properties": { +"metadata": { +"description": "Optional. The associated metadata for this partition, or empty if it does not exist.", +"type": "string" +}, +"offset": { +"description": "Required. The current offset for this partition, or 0 if no offset has been committed.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"ConsumerTopicMetadata": { +"description": "Metadata for a consumer group corresponding to a specific topic.", +"id": "ConsumerTopicMetadata", +"properties": { +"partitions": { +"additionalProperties": { +"$ref": "ConsumerPartitionMetadata" +}, +"description": "Optional. Metadata for this consumer group and topic for all partition indexes it has metadata for.", +"type": "object" +} +}, +"type": "object" +}, +"Context": { +"description": "Context represents an independent schema grouping in a schema registry instance.", +"id": "Context", +"properties": { +"name": { +"description": "Identifier. The name of the context. Structured like: `projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/contexts/{context}` The context name {context} can contain the following: * Up to 255 characters. * Allowed characters: letters (uppercase or lowercase), numbers, and the following special characters: `.`, `-`, `_`, `+`, `%`, and `~`.", +"type": "string" +}, +"subjects": { +"description": "Optional. The subjects of the context.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"CreateSchemaRegistryRequest": { +"description": "Request to create a schema registry instance.", +"id": "CreateSchemaRegistryRequest", +"properties": { +"schemaRegistry": { +"$ref": "SchemaRegistry", +"description": "Required. The schema registry instance to create. The name field is ignored." +}, +"schemaRegistryId": { +"description": "Required. The schema registry instance ID to use for this schema registry. The ID must contain only letters (a-z, A-Z), numbers (0-9), and underscores (-). The maximum length is 63 characters. The ID must not start with a number.", +"type": "string" +} +}, +"type": "object" +}, +"CreateVersionRequest": { +"description": "Request for CreateVersion.", +"id": "CreateVersionRequest", +"properties": { +"id": { +"description": "Optional. The schema ID of the schema. If not specified, the schema ID will be generated by the server. If the schema ID is specified, it must not be used by an existing schema that is different from the schema to be created.", +"format": "int32", +"type": "integer" +}, +"normalize": { +"description": "Optional. If true, the schema will be normalized before being stored. The default is false.", +"type": "boolean" +}, +"references": { +"description": "Optional. The schema references used by the schema.", +"items": { +"$ref": "SchemaReference" +}, +"type": "array" +}, +"schema": { +"description": "Required. The schema payload", +"type": "string" +}, +"schemaType": { +"description": "Optional. The type of the schema. It is optional. If not specified, the schema type will be AVRO.", +"enum": [ +"SCHEMA_TYPE_UNSPECIFIED", +"AVRO", +"JSON", +"PROTOBUF" +], +"enumDescriptions": [ +"No schema type. The default will be AVRO.", +"Avro schema type.", +"JSON schema type.", +"Protobuf schema type." +], +"type": "string" +}, +"version": { +"description": "Optional. The version to create. It is optional. If not specified, the version will be created with the max version ID of the subject increased by 1. If the version ID is specified, it will be used as the new version ID and must not be used by an existing version of the subject.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"CreateVersionResponse": { +"description": "Response for CreateVersion.", +"id": "CreateVersionResponse", +"properties": { +"id": { +"description": "The unique identifier of the schema created.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"Empty": { +"description": "A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }", +"id": "Empty", +"properties": {}, +"type": "object" +}, +"GcpConfig": { +"description": "Configuration properties for a Kafka cluster deployed to Google Cloud Platform.", +"id": "GcpConfig", +"properties": { +"accessConfig": { +"$ref": "AccessConfig", +"description": "Required. Access configuration for the Kafka cluster." +}, +"kmsKey": { +"description": "Optional. Immutable. The Cloud KMS Key name to use for encryption. The key must be located in the same region as the cluster and cannot be changed. Structured like: projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}.", +"type": "string" +} +}, +"type": "object" +}, +"HttpBody": { +"description": "Message that represents an arbitrary HTTP body. It should only be used for payload formats that can't be represented as JSON, such as raw binary or an HTML page. This message can be used both in streaming and non-streaming API methods in the request as well as the response. It can be used as a top-level request field, which is convenient if one wants to extract parameters from either the URL or HTTP template into the request fields and also want access to the raw HTTP body. Example: message GetResourceRequest { // A unique request id. string request_id = 1; // The raw HTTP body is bound to this field. google.api.HttpBody http_body = 2; } service ResourceService { rpc GetResource(GetResourceRequest) returns (google.api.HttpBody); rpc UpdateResource(google.api.HttpBody) returns (google.protobuf.Empty); } Example with streaming methods: service CaldavService { rpc GetCalendar(stream google.api.HttpBody) returns (stream google.api.HttpBody); rpc UpdateCalendar(stream google.api.HttpBody) returns (stream google.api.HttpBody); } Use of this type only changes how the request and response bodies are handled, all other features will continue to work unchanged.", +"id": "HttpBody", +"properties": { +"contentType": { +"description": "The HTTP Content-Type header value specifying the content type of the body.", +"type": "string" +}, +"data": { +"description": "The HTTP request/response body as raw binary.", +"format": "byte", +"type": "string" +}, +"extensions": { +"description": "Application specific response metadata. Must be set in the first response for streaming APIs.", +"items": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"type": "object" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListAclsResponse": { +"description": "Response for ListAcls.", +"id": "ListAclsResponse", +"properties": { +"acls": { +"description": "The list of acls in the requested parent. The order of the acls is unspecified.", +"items": { +"$ref": "Acl" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A token that can be sent as `page_token` to retrieve the next page of results. If this field is omitted, there are no more results.", +"type": "string" +} +}, +"type": "object" +}, +"ListClustersResponse": { +"description": "Response for ListClusters.", +"id": "ListClustersResponse", +"properties": { +"clusters": { +"description": "The list of Clusters in the requested parent.", +"items": { +"$ref": "Cluster" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A token that can be sent as `page_token` to retrieve the next page of results. If this field is omitted, there are no more results.", +"type": "string" +}, +"unreachable": { +"description": "Locations that could not be reached.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListConnectClustersResponse": { +"description": "Response for ListConnectClusters.", +"id": "ListConnectClustersResponse", +"properties": { +"connectClusters": { +"description": "The list of Connect clusters in the requested parent.", +"items": { +"$ref": "ConnectCluster" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A token that can be sent as `page_token` to retrieve the next page of results. If this field is omitted, there are no more results.", +"type": "string" +}, +"unreachable": { +"description": "Locations that could not be reached.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListConnectorsResponse": { +"description": "Response for ListConnectors.", +"id": "ListConnectorsResponse", +"properties": { +"connectors": { +"description": "The list of connectors in the requested parent.", +"items": { +"$ref": "Connector" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A token that can be sent as `page_token` to retrieve the next page of results. If this field is omitted, there are no more results.", +"type": "string" +} +}, +"type": "object" +}, +"ListConsumerGroupsResponse": { +"description": "Response for ListConsumerGroups.", +"id": "ListConsumerGroupsResponse", +"properties": { +"consumerGroups": { +"description": "The list of consumer group in the requested parent. The order of the consumer groups is unspecified.", +"items": { +"$ref": "ConsumerGroup" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A token that can be sent as `page_token` to retrieve the next page of results. If this field is omitted, there are no more results.", +"type": "string" +} +}, +"type": "object" +}, +"ListLocationsResponse": { +"description": "The response message for Locations.ListLocations.", +"id": "ListLocationsResponse", +"properties": { +"locations": { +"description": "A list of locations that matches the specified filter in the request.", +"items": { +"$ref": "Location" +}, +"type": "array" +}, +"nextPageToken": { +"description": "The standard List next-page token.", +"type": "string" +} +}, +"type": "object" +}, +"ListOperationsResponse": { +"description": "The response message for Operations.ListOperations.", +"id": "ListOperationsResponse", +"properties": { +"nextPageToken": { +"description": "The standard List next-page token.", +"type": "string" +}, +"operations": { +"description": "A list of operations that matches the specified filter in the request.", +"items": { +"$ref": "Operation" +}, +"type": "array" +}, +"unreachable": { +"description": "Unordered list. Unreachable resources. Populated when the request sets `ListOperationsRequest.return_partial_success` and reads across collections. For example, when attempting to list all resources across all supported locations.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListSchemaRegistriesResponse": { +"description": "Request for ListSchemaRegistries.", +"id": "ListSchemaRegistriesResponse", +"properties": { +"schemaRegistries": { +"description": "The schema registry instances.", +"items": { +"$ref": "SchemaRegistry" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListTopicsResponse": { +"description": "Response for ListTopics.", +"id": "ListTopicsResponse", +"properties": { +"nextPageToken": { +"description": "A token that can be sent as `page_token` to retrieve the next page of results. If this field is omitted, there are no more results.", +"type": "string" +}, +"topics": { +"description": "The list of topics in the requested parent. The order of the topics is unspecified.", +"items": { +"$ref": "Topic" +}, +"type": "array" +} +}, +"type": "object" +}, +"Location": { +"description": "A resource that represents a Google Cloud location.", +"id": "Location", +"properties": { +"displayName": { +"description": "The friendly name for this location, typically a nearby city name. For example, \"Tokyo\".", +"type": "string" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Cross-service attributes for the location. For example {\"cloud.googleapis.com/region\": \"us-east1\"}", +"type": "object" +}, +"locationId": { +"description": "The canonical id for this location. For example: `\"us-east1\"`.", +"type": "string" +}, +"metadata": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "Service-specific metadata. For example the available capacity at the given location.", +"type": "object" +}, +"name": { +"description": "Resource name for the location, which may vary between implementations. For example: `\"projects/example-project/locations/us-east1\"`", +"type": "string" +} +}, +"type": "object" +}, +"LookupVersionRequest": { +"description": "Request for LookupVersion.", +"id": "LookupVersionRequest", +"properties": { +"deleted": { +"description": "Optional. If true, soft-deleted versions will be included in lookup, no matter if the subject is active or soft-deleted. If false, soft-deleted versions will be excluded. The default is false.", +"type": "boolean" +}, +"normalize": { +"description": "Optional. If true, the schema will be normalized before being looked up. The default is false.", +"type": "boolean" +}, +"references": { +"description": "Optional. The schema references used by the schema.", +"items": { +"$ref": "SchemaReference" +}, +"type": "array" +}, +"schema": { +"description": "Required. The schema payload", +"type": "string" +}, +"schemaType": { +"description": "Optional. The schema type of the schema.", +"enum": [ +"SCHEMA_TYPE_UNSPECIFIED", +"AVRO", +"JSON", +"PROTOBUF" +], +"enumDescriptions": [ +"No schema type. The default will be AVRO.", +"Avro schema type.", +"JSON schema type.", +"Protobuf schema type." +], +"type": "string" +} +}, +"type": "object" +}, +"NetworkConfig": { +"description": "The configuration of a Virtual Private Cloud (VPC) network that can access the Kafka cluster.", +"id": "NetworkConfig", +"properties": { +"subnet": { +"description": "Required. Name of the VPC subnet in which to create Private Service Connect (PSC) endpoints for the Kafka brokers and bootstrap address. Structured like: projects/{project}/regions/{region}/subnetworks/{subnet_id} The subnet must be located in the same region as the Kafka cluster. The project may differ. Multiple subnets from the same parent network must not be specified.", +"type": "string" +} +}, +"type": "object" +}, +"Operation": { +"description": "This resource represents a long-running operation that is the result of a network API call.", +"id": "Operation", +"properties": { +"done": { +"description": "If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.", +"type": "boolean" +}, +"error": { +"$ref": "Status", +"description": "The error result of the operation in case of failure or cancellation." +}, +"metadata": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.", +"type": "object" +}, +"name": { +"description": "The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.", +"type": "string" +}, +"response": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "The normal, successful response of the operation. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.", +"type": "object" +} +}, +"type": "object" +}, +"OperationMetadata": { +"description": "Represents the metadata of the long-running operation.", +"id": "OperationMetadata", +"properties": { +"apiVersion": { +"description": "Output only. API version used to start the operation.", +"readOnly": true, +"type": "string" +}, +"createTime": { +"description": "Output only. The time the operation was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"endTime": { +"description": "Output only. The time the operation finished running.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"requestedCancellation": { +"description": "Output only. Identifies whether the user has requested cancellation of the operation. Operations that have been cancelled successfully have Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.", +"readOnly": true, +"type": "boolean" +}, +"statusMessage": { +"description": "Output only. Human-readable status of the operation, if any.", +"readOnly": true, +"type": "string" +}, +"target": { +"description": "Output only. Server-defined resource path for the target of the operation.", +"readOnly": true, +"type": "string" +}, +"verb": { +"description": "Output only. Name of the verb executed by the operation.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"PauseConnectorRequest": { +"description": "Request for PauseConnector.", +"id": "PauseConnectorRequest", +"properties": {}, +"type": "object" +}, +"PauseConnectorResponse": { +"description": "Response for PauseConnector.", +"id": "PauseConnectorResponse", +"properties": {}, +"type": "object" +}, +"RebalanceConfig": { +"description": "Defines rebalancing behavior of a Kafka cluster.", +"id": "RebalanceConfig", +"properties": { +"mode": { +"description": "Optional. The rebalance behavior for the cluster. When not specified, defaults to `NO_REBALANCE`.", +"enum": [ +"MODE_UNSPECIFIED", +"NO_REBALANCE", +"AUTO_REBALANCE_ON_SCALE_UP" +], +"enumDescriptions": [ +"A mode was not specified. Do not use.", +"Do not rebalance automatically.", +"Automatically rebalance topic partitions among brokers when the cluster is scaled up." +], +"type": "string" +} +}, +"type": "object" +}, +"RemoveAclEntryResponse": { +"description": "Response for RemoveAclEntry.", +"id": "RemoveAclEntryResponse", +"properties": { +"acl": { +"$ref": "Acl", +"description": "The updated acl. Returned if the removed acl entry was not the last entry in the acl." +}, +"aclDeleted": { +"description": "Returned with value true if the removed acl entry was the last entry in the acl, resulting in acl deletion.", +"type": "boolean" +} +}, +"type": "object" +}, +"RestartConnectorRequest": { +"description": "Request for RestartConnector.", +"id": "RestartConnectorRequest", +"properties": {}, +"type": "object" +}, +"RestartConnectorResponse": { +"description": "Response for RestartConnector.", +"id": "RestartConnectorResponse", +"properties": {}, +"type": "object" +}, +"ResumeConnectorRequest": { +"description": "Request for ResumeConnector.", +"id": "ResumeConnectorRequest", +"properties": {}, +"type": "object" +}, +"ResumeConnectorResponse": { +"description": "Response for ResumeConnector.", +"id": "ResumeConnectorResponse", +"properties": {}, +"type": "object" +}, +"Schema": { +"description": "Schema for a Kafka message.", +"id": "Schema", +"properties": { +"references": { +"description": "Optional. The schema references used by the schema.", +"items": { +"$ref": "SchemaReference" +}, +"type": "array" +}, +"schema": { +"description": "The schema payload.", +"type": "string" +}, +"schemaType": { +"description": "Optional. The schema type of the schema.", +"enum": [ +"SCHEMA_TYPE_UNSPECIFIED", +"AVRO", +"JSON", +"PROTOBUF" +], +"enumDescriptions": [ +"No schema type. The default will be AVRO.", +"Avro schema type.", +"JSON schema type.", +"Protobuf schema type." +], +"type": "string" +} +}, +"type": "object" +}, +"SchemaConfig": { +"description": "SchemaConfig represents configuration for a schema registry or a specific subject.", +"id": "SchemaConfig", +"properties": { +"alias": { +"description": "Optional. The subject to which this subject is an alias of. Only applicable for subject config.", +"type": "string" +}, +"compatibility": { +"description": "Required. The compatibility type of the schema. The default value is BACKWARD. If unset in a SchemaSubject-level SchemaConfig, defaults to the global value. If unset in a SchemaRegistry-level SchemaConfig, reverts to the default value.", +"enum": [ +"NONE", +"BACKWARD", +"BACKWARD_TRANSITIVE", +"FORWARD", +"FORWARD_TRANSITIVE", +"FULL", +"FULL_TRANSITIVE" +], +"enumDescriptions": [ +"No compatibility check.", +"Backwards compatible with the most recent version.", +"Backwards compatible with all previous versions.", +"Forwards compatible with the most recent version.", +"Forwards compatible with all previous versions.", +"Backwards and forwards compatible with the most recent version.", +"Backwards and forwards compatible with all previous versions." +], +"type": "string" +}, +"normalize": { +"description": "Optional. If true, the schema will be normalized before being stored or looked up. The default is false. If unset in a SchemaSubject-level SchemaConfig, the global value will be used. If unset in a SchemaRegistry-level SchemaConfig, reverts to the default value.", +"type": "boolean" +} +}, +"type": "object" +}, +"SchemaMode": { +"description": "SchemaMode represents the mode of a schema registry or a specific subject. Four modes are supported: * NONE: deprecated. This was the default mode for a subject, but now the default is unset (which means use the global schema registry setting) * READONLY: The schema registry is in read-only mode. * READWRITE: The schema registry is in read-write mode, which allows limited write operations on the schema. * IMPORT: The schema registry is in import mode, which allows more editing operations on the schema for data importing purposes.", +"id": "SchemaMode", +"properties": { +"mode": { +"description": "Required. The mode type of a schema registry (READWRITE by default) or of a subject (unset by default, which means use the global schema registry setting).", +"enum": [ +"NONE", +"READONLY", +"READWRITE", +"IMPORT" +], +"enumDescriptions": [ +"The default / unset value. The subject mode is NONE/unset by default, which means use the global schema registry mode. This should not be used for setting the mode.", +"READONLY mode.", +"READWRITE mode.", +"IMPORT mode." +], +"type": "string" +} +}, +"type": "object" +}, +"SchemaReference": { +"description": "SchemaReference is a reference to a schema.", +"id": "SchemaReference", +"properties": { +"name": { +"description": "Required. The name of the reference.", +"type": "string" +}, +"subject": { +"description": "Required. The subject of the reference.", +"type": "string" +}, +"version": { +"description": "Required. The version of the reference.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"SchemaRegistry": { +"description": "SchemaRegistry is a schema registry instance.", +"id": "SchemaRegistry", +"properties": { +"contexts": { +"description": "Output only. The contexts of the schema registry instance.", +"items": { +"type": "string" +}, +"readOnly": true, +"type": "array" +}, +"name": { +"description": "Identifier. The name of the schema registry instance. Structured like: `projects/{project}/locations/{location}/schemaRegistries/{schema_registry}` The instance name {schema_registry} can contain the following: * Up to 255 characters. * Letters (uppercase or lowercase), numbers, and underscores.", +"type": "string" +} +}, +"type": "object" +}, +"SchemaVersion": { +"description": "Version of a schema.", +"id": "SchemaVersion", +"properties": { +"id": { +"description": "Required. The schema ID.", +"format": "int32", +"type": "integer" +}, +"references": { +"description": "Optional. The schema references used by the schema.", +"items": { +"$ref": "SchemaReference" +}, +"type": "array" +}, +"schema": { +"description": "Required. The schema payload.", +"type": "string" +}, +"schemaType": { +"description": "Optional. The schema type of the schema.", +"enum": [ +"SCHEMA_TYPE_UNSPECIFIED", +"AVRO", +"JSON", +"PROTOBUF" +], +"enumDescriptions": [ +"No schema type. The default will be AVRO.", +"Avro schema type.", +"JSON schema type.", +"Protobuf schema type." +], +"type": "string" +}, +"subject": { +"description": "Required. The subject of the version.", +"type": "string" +}, +"version": { +"description": "Required. The version ID", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"Status": { +"description": "The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors).", +"id": "Status", +"properties": { +"code": { +"description": "The status code, which should be an enum value of google.rpc.Code.", +"format": "int32", +"type": "integer" +}, +"details": { +"description": "A list of messages that carry the error details. There is a common set of message types for APIs to use.", +"items": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.", +"type": "string" +} +}, +"type": "object" +}, +"StopConnectorRequest": { +"description": "Request for StopConnector.", +"id": "StopConnectorRequest", +"properties": {}, +"type": "object" +}, +"StopConnectorResponse": { +"description": "Response for StopConnector.", +"id": "StopConnectorResponse", +"properties": {}, +"type": "object" +}, +"TaskRetryPolicy": { +"description": "Task Retry Policy is implemented on a best-effort basis. The default policy retries tasks with a minimum_backoff of 60 seconds, and a maximum_backoff of 12 hours. You can disable the policy by setting the task_retry_disabled field to true. Retry delay will be exponential based on provided minimum and maximum backoffs. https://en.wikipedia.org/wiki/Exponential_backoff. Note that the delay between consecutive task restarts may not always precisely match the configured settings. This can happen when the ConnectCluster is in rebalancing state or if the ConnectCluster is unresponsive etc. The default values for minimum and maximum backoffs are 60 seconds and 12 hours respectively.", +"id": "TaskRetryPolicy", +"properties": { +"maximumBackoff": { +"description": "Optional. The maximum amount of time to wait before retrying a failed task. This sets an upper bound for the backoff delay.", +"format": "google-duration", +"type": "string" +}, +"minimumBackoff": { +"description": "Optional. The minimum amount of time to wait before retrying a failed task. This sets a lower bound for the backoff delay.", +"format": "google-duration", +"type": "string" +}, +"taskRetryDisabled": { +"description": "Optional. If true, task retry is disabled.", +"type": "boolean" +} +}, +"type": "object" +}, +"TlsConfig": { +"description": "The TLS configuration for the Kafka cluster.", +"id": "TlsConfig", +"properties": { +"sslPrincipalMappingRules": { +"description": "Optional. A list of rules for mapping from SSL principal names to short names. These are applied in order by Kafka. Refer to the Apache Kafka documentation for `ssl.principal.mapping.rules` for the precise formatting details and syntax. Example: \"RULE:^CN=(.*?),OU=ServiceUsers.*$/$1@example.com/,DEFAULT\" This is a static Kafka broker configuration. Setting or modifying this field will trigger a rolling restart of the Kafka brokers to apply the change. An empty string means no rules are applied (Kafka default).", +"type": "string" +}, +"trustConfig": { +"$ref": "TrustConfig", +"description": "Optional. The configuration of the broker truststore. If specified, clients can use mTLS for authentication." +} +}, +"type": "object" +}, +"Topic": { +"description": "A Kafka topic in a given cluster.", +"id": "Topic", +"properties": { +"configs": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. Configurations for the topic that are overridden from the cluster defaults. The key of the map is a Kafka topic property name, for example: `cleanup.policy`, `compression.type`.", +"type": "object" +}, +"name": { +"description": "Identifier. The name of the topic. The `topic` segment is used when connecting directly to the cluster. Structured like: projects/{project}/locations/{location}/clusters/{cluster}/topics/{topic}", +"type": "string" +}, +"partitionCount": { +"description": "Required. The number of partitions this topic has. The partition count can only be increased, not decreased. Please note that if partitions are increased for a topic that has a key, the partitioning logic or the ordering of the messages will be affected.", +"format": "int32", +"type": "integer" +}, +"replicationFactor": { +"description": "Required. Immutable. The number of replicas of each partition. A replication factor of 3 is recommended for high availability.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"TrustConfig": { +"description": "Sources of CA certificates to install in the broker's truststore.", +"id": "TrustConfig", +"properties": { +"casConfigs": { +"description": "Optional. Configuration for the Google Certificate Authority Service. Maximum 10.", +"items": { +"$ref": "CertificateAuthorityServiceConfig" +}, +"type": "array" +} +}, +"type": "object" +}, +"UpdateOptions": { +"description": "UpdateOptions specifies options that influence how a cluster update is applied. These options control the behavior of the update process, rather than defining the desired end-state of a cluster.", +"id": "UpdateOptions", +"properties": { +"allowBrokerDownscaleOnClusterUpscale": { +"description": "Optional. If true, allows an update operation that increases the total vCPU and/or memory allocation of the cluster to significantly decrease the per-broker vCPU and/or memory allocation. This can result in reduced performance and availability. By default, the update operation will fail if an upscale request results in a vCPU or memory allocation for the brokers that is smaller than 90% of the current broker size.", +"type": "boolean" +} +}, +"type": "object" +}, +"UpdateSchemaConfigRequest": { +"description": "Request for updating schema config. On a SchemaSubject-level SchemaConfig, an unset field will be removed from the SchemaConfig.", +"id": "UpdateSchemaConfigRequest", +"properties": { +"compatibility": { +"description": "Required. The compatibility type of the schemas. Cannot be unset for a SchemaRegistry-level SchemaConfig. If unset on a SchemaSubject-level SchemaConfig, removes the compatibility field for the SchemaConfig.", +"enum": [ +"NONE", +"BACKWARD", +"BACKWARD_TRANSITIVE", +"FORWARD", +"FORWARD_TRANSITIVE", +"FULL", +"FULL_TRANSITIVE" +], +"enumDescriptions": [ +"No compatibility check.", +"Backwards compatible with the most recent version.", +"Backwards compatible with all previous versions.", +"Forwards compatible with the most recent version.", +"Forwards compatible with all previous versions.", +"Backwards and forwards compatible with the most recent version.", +"Backwards and forwards compatible with all previous versions." +], +"type": "string" +}, +"normalize": { +"description": "Optional. If true, the schema will be normalized before being stored or looked up. The default is false. Cannot be unset for a SchemaRegistry-level SchemaConfig. If unset on a SchemaSubject-level SchemaConfig, removes the normalize field for the SchemaConfig.", +"type": "boolean" +} +}, +"type": "object" +}, +"UpdateSchemaModeRequest": { +"description": "Request for updating schema registry or subject mode.", +"id": "UpdateSchemaModeRequest", +"properties": { +"mode": { +"description": "Required. The mode type.", +"enum": [ +"NONE", +"READONLY", +"READWRITE", +"IMPORT" +], +"enumDescriptions": [ +"The default / unset value. The subject mode is NONE/unset by default, which means use the global schema registry mode. This should not be used for setting the mode.", +"READONLY mode.", +"READWRITE mode.", +"IMPORT mode." +], +"type": "string" +} +}, +"type": "object" +} +}, +"servicePath": "", +"title": "Managed Service for Apache Kafka API", +"version": "v1", +"version_module": true +} \ No newline at end of file diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/manufacturers.v1.json b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/manufacturers.v1.json new file mode 100644 index 0000000000000000000000000000000000000000..0c6a2fa72cf3ed8694400497051131f24c8c2217 --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/manufacturers.v1.json @@ -0,0 +1,1418 @@ +{ +"auth": { +"oauth2": { +"scopes": { +"https://www.googleapis.com/auth/manufacturercenter": { +"description": "Manage your product listings for Google Manufacturer Center" +} +} +} +}, +"basePath": "", +"baseUrl": "https://manufacturers.googleapis.com/", +"batchPath": "batch", +"canonicalName": "Manufacturer Center", +"description": "Public API for managing Manufacturer Center related data.", +"discoveryVersion": "v1", +"documentationLink": "https://developers.google.com/manufacturers/", +"fullyEncodeReservedExpansion": true, +"icons": { +"x16": "http://www.google.com/images/icons/product/search-16.gif", +"x32": "http://www.google.com/images/icons/product/search-32.gif" +}, +"id": "manufacturers:v1", +"kind": "discovery#restDescription", +"mtlsRootUrl": "https://manufacturers.mtls.googleapis.com/", +"name": "manufacturers", +"ownerDomain": "google.com", +"ownerName": "Google", +"parameters": { +"$.xgafv": { +"description": "V1 error format.", +"enum": [ +"1", +"2" +], +"enumDescriptions": [ +"v1 error format", +"v2 error format" +], +"location": "query", +"type": "string" +}, +"access_token": { +"description": "OAuth access token.", +"location": "query", +"type": "string" +}, +"alt": { +"default": "json", +"description": "Data format for response.", +"enum": [ +"json", +"media", +"proto" +], +"enumDescriptions": [ +"Responses with Content-Type of application/json", +"Media download with context-dependent Content-Type", +"Responses with Content-Type of application/x-protobuf" +], +"location": "query", +"type": "string" +}, +"callback": { +"description": "JSONP", +"location": "query", +"type": "string" +}, +"fields": { +"description": "Selector specifying which fields to include in a partial response.", +"location": "query", +"type": "string" +}, +"key": { +"description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", +"location": "query", +"type": "string" +}, +"oauth_token": { +"description": "OAuth 2.0 token for the current user.", +"location": "query", +"type": "string" +}, +"prettyPrint": { +"default": "true", +"description": "Returns response with indentations and line breaks.", +"location": "query", +"type": "boolean" +}, +"quotaUser": { +"description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.", +"location": "query", +"type": "string" +}, +"uploadType": { +"description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", +"location": "query", +"type": "string" +}, +"upload_protocol": { +"description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", +"location": "query", +"type": "string" +} +}, +"protocol": "rest", +"resources": { +"accounts": { +"resources": { +"languages": { +"resources": { +"productCertifications": { +"methods": { +"delete": { +"description": "Deletes a product certification by its name. This method can only be called by certification bodies.", +"flatPath": "v1/accounts/{accountsId}/languages/{languagesId}/productCertifications/{productCertificationsId}", +"httpMethod": "DELETE", +"id": "manufacturers.accounts.languages.productCertifications.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the product certification to delete. Format: accounts/{account}/languages/{language_code}/productCertifications/{id}", +"location": "path", +"pattern": "^accounts/[^/]+/languages/[^/]+/productCertifications/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/manufacturercenter" +] +}, +"get": { +"description": "Gets a product certification by its name. This method can only be called by certification bodies.", +"flatPath": "v1/accounts/{accountsId}/languages/{languagesId}/productCertifications/{productCertificationsId}", +"httpMethod": "GET", +"id": "manufacturers.accounts.languages.productCertifications.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the product certification to get. Format: accounts/{account}/languages/{language_code}/productCertifications/{id}", +"location": "path", +"pattern": "^accounts/[^/]+/languages/[^/]+/productCertifications/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "ProductCertification" +}, +"scopes": [ +"https://www.googleapis.com/auth/manufacturercenter" +] +}, +"list": { +"description": "Lists product certifications from a specified certification body. This method can only be called by certification bodies.", +"flatPath": "v1/accounts/{accountsId}/languages/{languagesId}/productCertifications", +"httpMethod": "GET", +"id": "manufacturers.accounts.languages.productCertifications.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "Optional. The maximum number of product certifications to return. The service may return fewer than this value. If unspecified, at most 50 product certifications will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. A page token, received from a previous `ListProductCertifications` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListProductCertifications` must match the call that provided the page token. Required if requesting the second or higher page.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent, which owns this collection of product certifications. Format: accounts/{account}/languages/{language_code}", +"location": "path", +"pattern": "^accounts/[^/]+/languages/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/productCertifications", +"response": { +"$ref": "ListProductCertificationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/manufacturercenter" +] +}, +"patch": { +"description": "Updates (or creates if allow_missing = true) a product certification which links certifications with products. This method can only be called by certification bodies.", +"flatPath": "v1/accounts/{accountsId}/languages/{languagesId}/productCertifications/{productCertificationsId}", +"httpMethod": "PATCH", +"id": "manufacturers.accounts.languages.productCertifications.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The unique name identifier of a product certification Format: accounts/{account}/languages/{language_code}/productCertifications/{id} Where `id` is a some unique identifier and `language_code` is a 2-letter ISO 639-1 code of a Shopping supported language according to https://support.google.com/merchants/answer/160637.", +"location": "path", +"pattern": "^accounts/[^/]+/languages/[^/]+/productCertifications/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Optional. The list of fields to update according to aip.dev/134. However, only full update is supported as of right now. Therefore, it can be either ignored or set to \"*\". Setting any other values will returns UNIMPLEMENTED error.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "ProductCertification" +}, +"response": { +"$ref": "ProductCertification" +}, +"scopes": [ +"https://www.googleapis.com/auth/manufacturercenter" +] +} +} +} +} +}, +"products": { +"methods": { +"delete": { +"description": "Deletes the product from a Manufacturer Center account.", +"flatPath": "v1/accounts/{accountsId}/products/{productsId}", +"httpMethod": "DELETE", +"id": "manufacturers.accounts.products.delete", +"parameterOrder": [ +"parent", +"name" +], +"parameters": { +"name": { +"description": "Name in the format `{target_country}:{content_language}:{product_id}`. `target_country` - The target country of the product as a CLDR territory code (for example, US). `content_language` - The content language of the product as a two-letter ISO 639-1 language code (for example, en). `product_id` - The ID of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#id.", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"parent": { +"description": "Parent ID in the format `accounts/{account_id}`. `account_id` - The ID of the Manufacturer Center account.", +"location": "path", +"pattern": "^accounts/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/products/{+name}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/manufacturercenter" +] +}, +"get": { +"description": "Gets the product from a Manufacturer Center account, including product issues. A recently updated product takes around 15 minutes to process. Changes are only visible after it has been processed. While some issues may be available once the product has been processed, other issues may take days to appear.", +"flatPath": "v1/accounts/{accountsId}/products/{productsId}", +"httpMethod": "GET", +"id": "manufacturers.accounts.products.get", +"parameterOrder": [ +"parent", +"name" +], +"parameters": { +"include": { +"description": "The information to be included in the response. Only sections listed here will be returned.", +"enum": [ +"UNKNOWN", +"ATTRIBUTES", +"ISSUES", +"DESTINATION_STATUSES" +], +"enumDescriptions": [ +"Unknown, never used.", +"Include the attributes of the product.", +"Include the issues of the product.", +"Include the destination statuses of the product." +], +"location": "query", +"repeated": true, +"type": "string" +}, +"name": { +"description": "Name in the format `{target_country}:{content_language}:{product_id}`. `target_country` - The target country of the product as a CLDR territory code (for example, US). `content_language` - The content language of the product as a two-letter ISO 639-1 language code (for example, en). `product_id` - The ID of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#id.", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"parent": { +"description": "Parent ID in the format `accounts/{account_id}`. `account_id` - The ID of the Manufacturer Center account.", +"location": "path", +"pattern": "^accounts/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/products/{+name}", +"response": { +"$ref": "Product" +}, +"scopes": [ +"https://www.googleapis.com/auth/manufacturercenter" +] +}, +"list": { +"description": "Lists all the products in a Manufacturer Center account.", +"flatPath": "v1/accounts/{accountsId}/products", +"httpMethod": "GET", +"id": "manufacturers.accounts.products.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"include": { +"description": "The information to be included in the response. Only sections listed here will be returned.", +"enum": [ +"UNKNOWN", +"ATTRIBUTES", +"ISSUES", +"DESTINATION_STATUSES" +], +"enumDescriptions": [ +"Unknown, never used.", +"Include the attributes of the product.", +"Include the issues of the product.", +"Include the destination statuses of the product." +], +"location": "query", +"repeated": true, +"type": "string" +}, +"pageSize": { +"description": "Maximum number of product statuses to return in the response, used for paging.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The token returned by the previous request.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Parent ID in the format `accounts/{account_id}`. `account_id` - The ID of the Manufacturer Center account.", +"location": "path", +"pattern": "^accounts/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/products", +"response": { +"$ref": "ListProductsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/manufacturercenter" +] +}, +"update": { +"description": "Inserts or updates the attributes of the product in a Manufacturer Center account. Creates a product with the provided attributes. If the product already exists, then all attributes are replaced with the new ones. The checks at upload time are minimal. All required attributes need to be present for a product to be valid. Issues may show up later after the API has accepted a new upload for a product and it is possible to overwrite an existing valid product with an invalid product. To detect this, you should retrieve the product and check it for issues once the new version is available. Uploaded attributes first need to be processed before they can be retrieved. Until then, new products will be unavailable, and retrieval of previously uploaded products will return the original state of the product.", +"flatPath": "v1/accounts/{accountsId}/products/{productsId}", +"httpMethod": "PUT", +"id": "manufacturers.accounts.products.update", +"parameterOrder": [ +"parent", +"name" +], +"parameters": { +"name": { +"description": "Name in the format `{target_country}:{content_language}:{product_id}`. `target_country` - The target country of the product as a CLDR territory code (for example, US). `content_language` - The content language of the product as a two-letter ISO 639-1 language code (for example, en). `product_id` - The ID of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#id.", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"parent": { +"description": "Parent ID in the format `accounts/{account_id}`. `account_id` - The ID of the Manufacturer Center account.", +"location": "path", +"pattern": "^accounts/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/products/{+name}", +"request": { +"$ref": "Attributes" +}, +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/manufacturercenter" +] +} +} +} +} +} +}, +"revision": "20250815", +"rootUrl": "https://manufacturers.googleapis.com/", +"schemas": { +"Attributes": { +"description": "Attributes of the product. For more information, see https://support.google.com/manufacturers/answer/6124116.", +"id": "Attributes", +"properties": { +"additionalImageLink": { +"description": "The additional images of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#addlimage.", +"items": { +"$ref": "Image" +}, +"type": "array" +}, +"ageGroup": { +"description": "The target age group of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#agegroup.", +"type": "string" +}, +"brand": { +"description": "The brand name of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#brand.", +"type": "string" +}, +"capacity": { +"$ref": "Capacity", +"description": "The capacity of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#capacity." +}, +"certification": { +"description": "Optional. List of certifications claimed by this product.", +"items": { +"$ref": "GoogleShoppingManufacturersV1ProductCertification" +}, +"type": "array" +}, +"color": { +"description": "The color of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#color.", +"type": "string" +}, +"count": { +"$ref": "Count", +"description": "The count of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#count." +}, +"description": { +"description": "The description of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#description.", +"type": "string" +}, +"disclosureDate": { +"description": "The disclosure date of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#disclosure.", +"type": "string" +}, +"excludedDestination": { +"description": "A list of excluded destinations such as \"ClientExport\", \"ClientShoppingCatalog\" or \"PartnerShoppingCatalog\". For more information, see https://support.google.com/manufacturers/answer/7443550", +"items": { +"type": "string" +}, +"type": "array" +}, +"featureDescription": { +"description": "The rich format description of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#featuredesc.", +"items": { +"$ref": "FeatureDescription" +}, +"type": "array" +}, +"flavor": { +"description": "The flavor of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#flavor.", +"type": "string" +}, +"format": { +"description": "The format of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#format.", +"type": "string" +}, +"gender": { +"description": "The target gender of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#gender.", +"type": "string" +}, +"grocery": { +"$ref": "Grocery", +"description": "Grocery Attributes. See more at https://support.google.com/manufacturers/answer/12098458#grocery." +}, +"gtin": { +"description": "The Global Trade Item Number (GTIN) of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#gtin.", +"items": { +"type": "string" +}, +"type": "array" +}, +"imageLink": { +"$ref": "Image", +"description": "The image of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#image." +}, +"includedDestination": { +"description": "A list of included destinations such as \"ClientExport\", \"ClientShoppingCatalog\" or \"PartnerShoppingCatalog\". For more information, see https://support.google.com/manufacturers/answer/7443550", +"items": { +"type": "string" +}, +"type": "array" +}, +"intendedCountry": { +"description": "Optional. List of countries to show this product in. Countries provided in this attribute will override any of the countries configured at feed level. The values should be: the [CLDR territory code](http://www.unicode.org/repos/cldr/tags/latest/common/main/en.xml) of the countries in which this item will be shown.", +"items": { +"type": "string" +}, +"type": "array" +}, +"itemGroupId": { +"description": "The item group id of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#itemgroupid.", +"type": "string" +}, +"material": { +"description": "The material of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#material.", +"type": "string" +}, +"mpn": { +"description": "The Manufacturer Part Number (MPN) of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#mpn.", +"type": "string" +}, +"nutrition": { +"$ref": "Nutrition", +"description": "Nutrition Attributes. See more at https://support.google.com/manufacturers/answer/12098458#food-servings." +}, +"pattern": { +"description": "The pattern of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#pattern.", +"type": "string" +}, +"productDetail": { +"description": "The details of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#productdetail.", +"items": { +"$ref": "ProductDetail" +}, +"type": "array" +}, +"productHighlight": { +"description": "The product highlights. For more information, see https://support.google.com/manufacturers/answer/10066942", +"items": { +"type": "string" +}, +"type": "array" +}, +"productLine": { +"description": "The name of the group of products related to the product. For more information, see https://support.google.com/manufacturers/answer/6124116#productline.", +"type": "string" +}, +"productName": { +"description": "The canonical name of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#productname.", +"type": "string" +}, +"productPageUrl": { +"description": "The URL of the detail page of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#productpage.", +"type": "string" +}, +"productType": { +"description": "The type or category of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#producttype.", +"items": { +"type": "string" +}, +"type": "array" +}, +"releaseDate": { +"description": "The release date of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#release.", +"type": "string" +}, +"richProductContent": { +"description": "Rich product content. For more information, see https://support.google.com/manufacturers/answer/9389865", +"items": { +"type": "string" +}, +"type": "array" +}, +"scent": { +"description": "The scent of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#scent.", +"type": "string" +}, +"size": { +"description": "The size of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#size.", +"type": "string" +}, +"sizeSystem": { +"description": "The size system of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#sizesystem.", +"type": "string" +}, +"sizeType": { +"description": "The size type of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#sizetype.", +"items": { +"type": "string" +}, +"type": "array" +}, +"suggestedRetailPrice": { +"$ref": "Price", +"description": "The suggested retail price (MSRP) of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#price." +}, +"targetClientId": { +"description": "The target client id. Should only be used in the accounts of the data partners. For more information, see https://support.google.com/manufacturers/answer/10857344", +"type": "string" +}, +"theme": { +"description": "The theme of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#theme.", +"type": "string" +}, +"title": { +"description": "The title of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#title.", +"type": "string" +}, +"videoLink": { +"description": "The videos of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#video.", +"items": { +"type": "string" +}, +"type": "array" +}, +"virtualModelLink": { +"description": "Virtual Model (3d) asset link.", +"type": "string" +} +}, +"type": "object" +}, +"Capacity": { +"description": "The capacity of a product. For more information, see https://support.google.com/manufacturers/answer/6124116#capacity.", +"id": "Capacity", +"properties": { +"unit": { +"description": "The unit of the capacity, i.e., MB, GB, or TB.", +"type": "string" +}, +"value": { +"description": "The numeric value of the capacity.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"Certification": { +"description": "Description of a certification.", +"id": "Certification", +"properties": { +"authority": { +"description": "Required. Name of the certification body.", +"type": "string" +}, +"code": { +"description": "Optional. A unique code to identify the certification.", +"type": "string" +}, +"link": { +"description": "Optional. A URL link to the certification.", +"type": "string" +}, +"logo": { +"description": "Optional. A URL link to the certification logo.", +"type": "string" +}, +"name": { +"description": "Required. Name of the certification.", +"type": "string" +}, +"validUntil": { +"description": "Optional. The expiration date (UTC).", +"type": "string" +}, +"value": { +"description": "Optional. A custom value of the certification.", +"type": "string" +} +}, +"type": "object" +}, +"Count": { +"description": "The number of products in a single package. For more information, see https://support.google.com/manufacturers/answer/6124116#count.", +"id": "Count", +"properties": { +"unit": { +"description": "The unit in which these products are counted.", +"type": "string" +}, +"value": { +"description": "The numeric value of the number of products in a package.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"DestinationStatus": { +"description": "The destination status.", +"id": "DestinationStatus", +"properties": { +"approvedCountries": { +"description": "Output only. List of country codes (ISO 3166-1 alpha-2) where the offer is approved.", +"items": { +"type": "string" +}, +"readOnly": true, +"type": "array" +}, +"destination": { +"description": "The name of the destination.", +"type": "string" +}, +"disapprovedCountries": { +"description": "Output only. List of country codes (ISO 3166-1 alpha-2) where the offer is disapproved.", +"items": { +"type": "string" +}, +"readOnly": true, +"type": "array" +}, +"pendingCountries": { +"description": "Output only. List of country codes (ISO 3166-1 alpha-2) where the offer is pending approval.", +"items": { +"type": "string" +}, +"readOnly": true, +"type": "array" +}, +"status": { +"description": "The status of the destination.", +"enum": [ +"UNKNOWN", +"ACTIVE", +"PENDING", +"DISAPPROVED" +], +"enumDescriptions": [ +"Unspecified status, never used.", +"The product is used for this destination.", +"The decision is still pending.", +"The product is disapproved. Please look at the issues." +], +"type": "string" +} +}, +"type": "object" +}, +"Empty": { +"description": "A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }", +"id": "Empty", +"properties": {}, +"type": "object" +}, +"FeatureDescription": { +"description": "A feature description of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#featuredesc.", +"id": "FeatureDescription", +"properties": { +"headline": { +"description": "A short description of the feature.", +"type": "string" +}, +"image": { +"$ref": "Image", +"description": "An optional image describing the feature." +}, +"text": { +"description": "A detailed description of the feature.", +"type": "string" +} +}, +"type": "object" +}, +"FloatUnit": { +"description": "Combination of float amount and unit.", +"id": "FloatUnit", +"properties": { +"amount": { +"description": "amount.", +"format": "double", +"type": "number" +}, +"unit": { +"description": "unit.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleShoppingManufacturersV1ProductCertification": { +"description": "Description of a certification.", +"id": "GoogleShoppingManufacturersV1ProductCertification", +"properties": { +"authority": { +"description": "Required. Name of the certification body.", +"type": "string" +}, +"code": { +"description": "Optional. A unique code to identify the certification.", +"type": "string" +}, +"link": { +"description": "Optional. A URL link to the certification.", +"type": "string" +}, +"logo": { +"description": "Optional. A URL link to the certification logo.", +"type": "string" +}, +"name": { +"description": "Required. Name of the certification.", +"type": "string" +}, +"validUntil": { +"description": "Optional. The expiration date (UTC).", +"type": "string" +}, +"value": { +"description": "Optional. A custom value of the certification.", +"type": "string" +} +}, +"type": "object" +}, +"Grocery": { +"id": "Grocery", +"properties": { +"activeIngredients": { +"description": "Active ingredients.", +"type": "string" +}, +"alcoholByVolume": { +"description": "Alcohol by volume.", +"format": "double", +"type": "number" +}, +"allergens": { +"description": "Allergens.", +"type": "string" +}, +"derivedNutritionClaim": { +"description": "Derived nutrition claim.", +"items": { +"type": "string" +}, +"type": "array" +}, +"directions": { +"description": "Directions.", +"type": "string" +}, +"indications": { +"description": "Indications.", +"type": "string" +}, +"ingredients": { +"description": "Ingredients.", +"type": "string" +}, +"nutritionClaim": { +"description": "Nutrition claim.", +"items": { +"type": "string" +}, +"type": "array" +}, +"storageInstructions": { +"description": "Storage instructions.", +"type": "string" +} +}, +"type": "object" +}, +"Image": { +"description": "An image.", +"id": "Image", +"properties": { +"imageUrl": { +"description": "The URL of the image. For crawled images, this is the provided URL. For uploaded images, this is a serving URL from Google if the image has been processed successfully.", +"type": "string" +}, +"status": { +"description": "The status of the image. @OutputOnly", +"enum": [ +"STATUS_UNSPECIFIED", +"PENDING_PROCESSING", +"PENDING_CRAWL", +"OK", +"ROBOTED", +"XROBOTED", +"CRAWL_ERROR", +"PROCESSING_ERROR", +"DECODING_ERROR", +"TOO_BIG", +"CRAWL_SKIPPED", +"HOSTLOADED", +"HTTP_404" +], +"enumDescriptions": [ +"The image status is unspecified. Should not be used.", +"The image was uploaded and is being processed.", +"The image crawl is still pending.", +"The image was processed and it meets the requirements.", +"The image URL is protected by robots.txt file and cannot be crawled.", +"The image URL is protected by X-Robots-Tag and cannot be crawled.", +"There was an error while crawling the image.", +"The image cannot be processed.", +"The image cannot be decoded.", +"The image is too big.", +"The image was manually overridden and will not be crawled.", +"The image crawl was postponed to avoid overloading the host.", +"The image URL returned a \"404 Not Found\" error." +], +"type": "string" +}, +"type": { +"description": "The type of the image, i.e., crawled or uploaded. @OutputOnly", +"enum": [ +"TYPE_UNSPECIFIED", +"CRAWLED", +"UPLOADED" +], +"enumDescriptions": [ +"Type is unspecified. Should not be used.", +"The image was crawled from a provided URL.", +"The image was uploaded." +], +"type": "string" +} +}, +"type": "object" +}, +"Issue": { +"description": "Product issue.", +"id": "Issue", +"properties": { +"applicableCountries": { +"description": "Output only. List of country codes (ISO 3166-1 alpha-2) where issue applies to the manufacturer product.", +"items": { +"type": "string" +}, +"readOnly": true, +"type": "array" +}, +"attribute": { +"description": "If present, the attribute that triggered the issue. For more information about attributes, see https://support.google.com/manufacturers/answer/6124116.", +"type": "string" +}, +"description": { +"description": "Longer description of the issue focused on how to resolve it.", +"type": "string" +}, +"destination": { +"description": "The destination this issue applies to.", +"type": "string" +}, +"resolution": { +"description": "What needs to happen to resolve the issue.", +"enum": [ +"RESOLUTION_UNSPECIFIED", +"USER_ACTION", +"PENDING_PROCESSING" +], +"enumDescriptions": [ +"Unspecified resolution, never used.", +"The user who provided the data must act in order to resolve the issue (for example by correcting some data).", +"The issue will be resolved automatically (for example image crawl or Google review). No action is required now. Resolution might lead to another issue (for example if crawl fails)." +], +"type": "string" +}, +"severity": { +"description": "The severity of the issue.", +"enum": [ +"SEVERITY_UNSPECIFIED", +"ERROR", +"WARNING", +"INFO" +], +"enumDescriptions": [ +"Unspecified severity, never used.", +"Error severity. The issue prevents the usage of the whole item.", +"Warning severity. The issue is either one that prevents the usage of the attribute that triggered it or one that will soon prevent the usage of the whole item.", +"Info severity. The issue is one that doesn't require immediate attention. It is, for example, used to communicate which attributes are still pending review." +], +"type": "string" +}, +"timestamp": { +"description": "The timestamp when this issue appeared.", +"format": "google-datetime", +"type": "string" +}, +"title": { +"description": "Short title describing the nature of the issue.", +"type": "string" +}, +"type": { +"description": "The server-generated type of the issue, for example, \u201cINCORRECT_TEXT_FORMATTING\u201d, \u201cIMAGE_NOT_SERVEABLE\u201d, etc.", +"type": "string" +} +}, +"type": "object" +}, +"ListProductCertificationsResponse": { +"description": "Response for ListProductCertifications method.", +"id": "ListProductCertificationsResponse", +"properties": { +"nextPageToken": { +"description": "A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.", +"type": "string" +}, +"productCertifications": { +"description": "The product certifications from the specified certification body.", +"items": { +"$ref": "ProductCertification" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListProductsResponse": { +"id": "ListProductsResponse", +"properties": { +"nextPageToken": { +"description": "The token for the retrieval of the next page of product statuses.", +"type": "string" +}, +"products": { +"description": "List of the products.", +"items": { +"$ref": "Product" +}, +"type": "array" +} +}, +"type": "object" +}, +"Nutrition": { +"id": "Nutrition", +"properties": { +"addedSugars": { +"$ref": "FloatUnit", +"description": "Added sugars." +}, +"addedSugarsDailyPercentage": { +"description": "Added sugars daily percentage.", +"format": "double", +"type": "number" +}, +"calcium": { +"$ref": "FloatUnit", +"description": "Calcium." +}, +"calciumDailyPercentage": { +"description": "Calcium daily percentage.", +"format": "double", +"type": "number" +}, +"cholesterol": { +"$ref": "FloatUnit", +"description": "Cholesterol." +}, +"cholesterolDailyPercentage": { +"description": "Cholesterol daily percentage.", +"format": "double", +"type": "number" +}, +"dietaryFiber": { +"$ref": "FloatUnit", +"description": "Dietary fiber." +}, +"dietaryFiberDailyPercentage": { +"description": "Dietary fiber daily percentage.", +"format": "double", +"type": "number" +}, +"energy": { +"$ref": "FloatUnit", +"description": "Mandatory Nutrition Facts. Energy." +}, +"energyFromFat": { +"$ref": "FloatUnit", +"description": "Energy from fat." +}, +"folateDailyPercentage": { +"description": "Folate daily percentage.", +"format": "double", +"type": "number" +}, +"folateFolicAcid": { +"$ref": "FloatUnit", +"description": "Folate folic acid." +}, +"folateMcgDfe": { +"description": "Folate mcg DFE.", +"format": "double", +"type": "number" +}, +"iron": { +"$ref": "FloatUnit", +"description": "Iron." +}, +"ironDailyPercentage": { +"description": "Iron daily percentage.", +"format": "double", +"type": "number" +}, +"monounsaturatedFat": { +"$ref": "FloatUnit", +"description": "Monounsaturated fat." +}, +"nutritionFactMeasure": { +"description": "Nutrition fact measure.", +"type": "string" +}, +"polyols": { +"$ref": "FloatUnit", +"description": "Polyols." +}, +"polyunsaturatedFat": { +"$ref": "FloatUnit", +"description": "Polyunsaturated fat." +}, +"potassium": { +"$ref": "FloatUnit", +"description": "Potassium." +}, +"potassiumDailyPercentage": { +"description": "Potassium daily percentage.", +"format": "double", +"type": "number" +}, +"preparedSizeDescription": { +"description": "Prepared size description.", +"type": "string" +}, +"protein": { +"$ref": "FloatUnit", +"description": "Protein." +}, +"proteinDailyPercentage": { +"description": "Protein daily percentage.", +"format": "double", +"type": "number" +}, +"saturatedFat": { +"$ref": "FloatUnit", +"description": "Saturated fat." +}, +"saturatedFatDailyPercentage": { +"description": "Saturated fat daily percentage.", +"format": "double", +"type": "number" +}, +"servingSizeDescription": { +"description": "Food Serving Size. Serving size description.", +"type": "string" +}, +"servingSizeMeasure": { +"$ref": "FloatUnit", +"description": "Serving size measure." +}, +"servingsPerContainer": { +"description": "Servings per container.", +"type": "string" +}, +"sodium": { +"$ref": "FloatUnit", +"description": "Sodium." +}, +"sodiumDailyPercentage": { +"description": "Sodium daily percentage.", +"format": "double", +"type": "number" +}, +"starch": { +"$ref": "FloatUnit", +"description": "Starch." +}, +"totalCarbohydrate": { +"$ref": "FloatUnit", +"description": "Total carbohydrate." +}, +"totalCarbohydrateDailyPercentage": { +"description": "Total carbohydrate daily percentage.", +"format": "double", +"type": "number" +}, +"totalFat": { +"$ref": "FloatUnit", +"description": "Total fat." +}, +"totalFatDailyPercentage": { +"description": "Total fat daily percentage.", +"format": "double", +"type": "number" +}, +"totalSugars": { +"$ref": "FloatUnit", +"description": "Total sugars." +}, +"totalSugarsDailyPercentage": { +"description": "Total sugars daily percentage.", +"format": "double", +"type": "number" +}, +"transFat": { +"$ref": "FloatUnit", +"description": "Trans fat." +}, +"transFatDailyPercentage": { +"description": "Trans fat daily percentage.", +"format": "double", +"type": "number" +}, +"vitaminD": { +"$ref": "FloatUnit", +"description": "Vitamin D." +}, +"vitaminDDailyPercentage": { +"description": "Vitamin D daily percentage.", +"format": "double", +"type": "number" +}, +"voluntaryNutritionFact": { +"description": "Voluntary nutrition fact.", +"items": { +"$ref": "VoluntaryNutritionFact" +}, +"type": "array" +} +}, +"type": "object" +}, +"Price": { +"description": "A price.", +"id": "Price", +"properties": { +"amount": { +"description": "The numeric value of the price.", +"type": "string" +}, +"currency": { +"description": "The currency in which the price is denoted.", +"type": "string" +} +}, +"type": "object" +}, +"Product": { +"description": "Product data.", +"id": "Product", +"properties": { +"attributes": { +"$ref": "Attributes", +"description": "Attributes of the product uploaded to the Manufacturer Center. Manually edited attributes are taken into account." +}, +"contentLanguage": { +"description": "The content language of the product as a two-letter ISO 639-1 language code (for example, en).", +"type": "string" +}, +"destinationStatuses": { +"description": "The status of the destinations.", +"items": { +"$ref": "DestinationStatus" +}, +"type": "array" +}, +"feedLabel": { +"description": "Optional. The feed label for the product.", +"type": "string" +}, +"issues": { +"description": "A server-generated list of issues associated with the product.", +"items": { +"$ref": "Issue" +}, +"type": "array" +}, +"name": { +"description": "Name in the format `{target_country}:{content_language}:{product_id}`. `target_country` - The target country of the product as a CLDR territory code (for example, US). `content_language` - The content language of the product as a two-letter ISO 639-1 language code (for example, en). `product_id` - The ID of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#id.", +"type": "string" +}, +"parent": { +"description": "Parent ID in the format `accounts/{account_id}`. `account_id` - The ID of the Manufacturer Center account.", +"type": "string" +}, +"productId": { +"description": "The ID of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#id.", +"type": "string" +}, +"targetCountry": { +"description": "The target country of the product as a CLDR territory code (for example, US).", +"type": "string" +} +}, +"type": "object" +}, +"ProductCertification": { +"description": "Product certification data.", +"id": "ProductCertification", +"properties": { +"brand": { +"description": "Required. This is the product's brand name. The brand is used to help identify your product.", +"type": "string" +}, +"certification": { +"description": "Required. A list of certifications to link to the described product.", +"items": { +"$ref": "Certification" +}, +"type": "array" +}, +"countryCode": { +"description": "Optional. A 2-letter country code (ISO 3166-1 Alpha 2).", +"items": { +"type": "string" +}, +"type": "array" +}, +"destinationStatuses": { +"description": "Output only. The statuses of the destinations.", +"items": { +"$ref": "DestinationStatus" +}, +"readOnly": true, +"type": "array" +}, +"issues": { +"description": "Output only. A server-generated list of issues associated with the product.", +"items": { +"$ref": "Issue" +}, +"readOnly": true, +"type": "array" +}, +"mpn": { +"description": "Optional. These are the Manufacturer Part Numbers (MPN). MPNs are used to uniquely identify a specific product among all products from the same manufacturer", +"items": { +"type": "string" +}, +"type": "array" +}, +"name": { +"description": "Required. The unique name identifier of a product certification Format: accounts/{account}/languages/{language_code}/productCertifications/{id} Where `id` is a some unique identifier and `language_code` is a 2-letter ISO 639-1 code of a Shopping supported language according to https://support.google.com/merchants/answer/160637.", +"type": "string" +}, +"productCode": { +"description": "Optional. Another name for GTIN.", +"items": { +"type": "string" +}, +"type": "array" +}, +"productType": { +"description": "Optional. These are your own product categorization system in your product data.", +"items": { +"type": "string" +}, +"type": "array" +}, +"title": { +"description": "Required. This is to clearly identify the product you are certifying.", +"type": "string" +} +}, +"type": "object" +}, +"ProductDetail": { +"description": "A product detail of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#productdetail.", +"id": "ProductDetail", +"properties": { +"attributeName": { +"description": "The name of the attribute.", +"type": "string" +}, +"attributeValue": { +"description": "The value of the attribute.", +"type": "string" +}, +"sectionName": { +"description": "A short section name that can be reused between multiple product details.", +"type": "string" +} +}, +"type": "object" +}, +"VoluntaryNutritionFact": { +"description": "Voluntary Nutrition Facts.", +"id": "VoluntaryNutritionFact", +"properties": { +"dailyPercentage": { +"description": "Daily percentage.", +"format": "double", +"type": "number" +}, +"name": { +"description": "Name.", +"type": "string" +}, +"value": { +"$ref": "FloatUnit", +"description": "Value." +} +}, +"type": "object" +} +}, +"servicePath": "", +"title": "Manufacturer Center API", +"version": "v1", +"version_module": true +} \ No newline at end of file diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/memcache.v1beta2.json b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/memcache.v1beta2.json new file mode 100644 index 0000000000000000000000000000000000000000..de47d473a17e83e26726edd3cd31c7eccad8ef85 --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/memcache.v1beta2.json @@ -0,0 +1,2035 @@ +{ +"auth": { +"oauth2": { +"scopes": { +"https://www.googleapis.com/auth/cloud-platform": { +"description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." +} +} +} +}, +"basePath": "", +"baseUrl": "https://memcache.googleapis.com/", +"batchPath": "batch", +"canonicalName": "Cloud Memorystore for Memcached", +"description": "Google Cloud Memorystore for Memcached API is used for creating and managing Memcached instances in GCP.", +"discoveryVersion": "v1", +"documentationLink": "https://cloud.google.com/memorystore/", +"fullyEncodeReservedExpansion": true, +"icons": { +"x16": "http://www.google.com/images/icons/product/search-16.gif", +"x32": "http://www.google.com/images/icons/product/search-32.gif" +}, +"id": "memcache:v1beta2", +"kind": "discovery#restDescription", +"mtlsRootUrl": "https://memcache.mtls.googleapis.com/", +"name": "memcache", +"ownerDomain": "google.com", +"ownerName": "Google", +"parameters": { +"$.xgafv": { +"description": "V1 error format.", +"enum": [ +"1", +"2" +], +"enumDescriptions": [ +"v1 error format", +"v2 error format" +], +"location": "query", +"type": "string" +}, +"access_token": { +"description": "OAuth access token.", +"location": "query", +"type": "string" +}, +"alt": { +"default": "json", +"description": "Data format for response.", +"enum": [ +"json", +"media", +"proto" +], +"enumDescriptions": [ +"Responses with Content-Type of application/json", +"Media download with context-dependent Content-Type", +"Responses with Content-Type of application/x-protobuf" +], +"location": "query", +"type": "string" +}, +"callback": { +"description": "JSONP", +"location": "query", +"type": "string" +}, +"fields": { +"description": "Selector specifying which fields to include in a partial response.", +"location": "query", +"type": "string" +}, +"key": { +"description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", +"location": "query", +"type": "string" +}, +"oauth_token": { +"description": "OAuth 2.0 token for the current user.", +"location": "query", +"type": "string" +}, +"prettyPrint": { +"default": "true", +"description": "Returns response with indentations and line breaks.", +"location": "query", +"type": "boolean" +}, +"quotaUser": { +"description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.", +"location": "query", +"type": "string" +}, +"uploadType": { +"description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", +"location": "query", +"type": "string" +}, +"upload_protocol": { +"description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", +"location": "query", +"type": "string" +} +}, +"protocol": "rest", +"resources": { +"projects": { +"resources": { +"locations": { +"methods": { +"get": { +"description": "Gets information about a location.", +"flatPath": "v1beta2/projects/{projectsId}/locations/{locationsId}", +"httpMethod": "GET", +"id": "memcache.projects.locations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Resource name for the location.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta2/{+name}", +"response": { +"$ref": "Location" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists information about the supported locations for this service. This method can be called in two ways: * **List all public locations:** Use the path `GET /v1/locations`. * **List project-visible locations:** Use the path `GET /v1/projects/{project_id}/locations`. This may include public locations as well as private or other locations specifically visible to the project.", +"flatPath": "v1beta2/projects/{projectsId}/locations", +"httpMethod": "GET", +"id": "memcache.projects.locations.list", +"parameterOrder": [ +"name" +], +"parameters": { +"extraLocationTypes": { +"description": "Optional. Do not use this field. It is unsupported and is ignored unless explicitly documented otherwise. This is primarily for internal usage.", +"location": "query", +"repeated": true, +"type": "string" +}, +"filter": { +"description": "A filter to narrow down results to a preferred subset. The filtering language accepts strings like `\"displayName=tokyo\"`, and is documented in more detail in [AIP-160](https://google.aip.dev/160).", +"location": "query", +"type": "string" +}, +"name": { +"description": "The resource that owns the locations collection, if applicable.", +"location": "path", +"pattern": "^projects/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The maximum number of results to return. If not set, the service selects a default.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A page token received from the `next_page_token` field in the response. Send that page token to receive the subsequent page.", +"location": "query", +"type": "string" +} +}, +"path": "v1beta2/{+name}/locations", +"response": { +"$ref": "ListLocationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"instances": { +"methods": { +"applyParameters": { +"description": "`ApplyParameters` restarts the set of specified nodes in order to update them to the current set of parameters for the Memcached Instance.", +"flatPath": "v1beta2/projects/{projectsId}/locations/{locationsId}/instances/{instancesId}:applyParameters", +"httpMethod": "POST", +"id": "memcache.projects.locations.instances.applyParameters", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Resource name of the Memcached instance for which parameter group updates should be applied.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/instances/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta2/{+name}:applyParameters", +"request": { +"$ref": "ApplyParametersRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"applySoftwareUpdate": { +"description": "Updates software on the selected nodes of the Instance.", +"flatPath": "v1beta2/projects/{projectsId}/locations/{locationsId}/instances/{instancesId}:applySoftwareUpdate", +"httpMethod": "POST", +"id": "memcache.projects.locations.instances.applySoftwareUpdate", +"parameterOrder": [ +"instance" +], +"parameters": { +"instance": { +"description": "Required. Resource name of the Memcached instance for which software update should be applied.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/instances/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta2/{+instance}:applySoftwareUpdate", +"request": { +"$ref": "ApplySoftwareUpdateRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"create": { +"description": "Creates a new Instance in a given location.", +"flatPath": "v1beta2/projects/{projectsId}/locations/{locationsId}/instances", +"httpMethod": "POST", +"id": "memcache.projects.locations.instances.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"instanceId": { +"description": "Required. The logical name of the Memcached instance in the user project with the following restrictions: * Must contain only lowercase letters, numbers, and hyphens. * Must start with a letter. * Must be between 1-40 characters. * Must end with a number or a letter. * Must be unique within the user project / location. If any of the above are not met, the API raises an invalid argument error.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The resource name of the instance location using the form: `projects/{project_id}/locations/{location_id}` where `location_id` refers to a GCP region", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta2/{+parent}/instances", +"request": { +"$ref": "Instance" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a single Instance.", +"flatPath": "v1beta2/projects/{projectsId}/locations/{locationsId}/instances/{instancesId}", +"httpMethod": "DELETE", +"id": "memcache.projects.locations.instances.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Memcached instance resource name in the format: `projects/{project_id}/locations/{location_id}/instances/{instance_id}` where `location_id` refers to a GCP region", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/instances/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta2/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets details of a single Instance.", +"flatPath": "v1beta2/projects/{projectsId}/locations/{locationsId}/instances/{instancesId}", +"httpMethod": "GET", +"id": "memcache.projects.locations.instances.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Memcached instance resource name in the format: `projects/{project_id}/locations/{location_id}/instances/{instance_id}` where `location_id` refers to a GCP region", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/instances/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta2/{+name}", +"response": { +"$ref": "Instance" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists Instances in a given location.", +"flatPath": "v1beta2/projects/{projectsId}/locations/{locationsId}/instances", +"httpMethod": "GET", +"id": "memcache.projects.locations.instances.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "List filter. For example, exclude all Memcached instances with name as my-instance by specifying `\"name != my-instance\"`.", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "Sort results. Supported values are \"name\", \"name desc\" or \"\" (unsorted).", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "The maximum number of items to return. If not specified, a default value of 1000 will be used by the service. Regardless of the `page_size` value, the response may include a partial list and a caller should only rely on response's `next_page_token` to determine if there are more instances left to be queried.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The `next_page_token` value returned from a previous List request, if any.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The resource name of the instance location using the form: `projects/{project_id}/locations/{location_id}` where `location_id` refers to a GCP region", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta2/{+parent}/instances", +"response": { +"$ref": "ListInstancesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates an existing Instance in a given project and location.", +"flatPath": "v1beta2/projects/{projectsId}/locations/{locationsId}/instances/{instancesId}", +"httpMethod": "PATCH", +"id": "memcache.projects.locations.instances.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Unique name of the resource in this scope including project and location using the form: `projects/{project_id}/locations/{location_id}/instances/{instance_id}` Note: Memcached instances are managed and addressed at the regional level so `location_id` here refers to a Google Cloud region; however, users may choose which zones Memcached nodes should be provisioned in within an instance. Refer to zones field for more details.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/instances/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Required. Mask of fields to update. * `displayName`", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1beta2/{+name}", +"request": { +"$ref": "Instance" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"rescheduleMaintenance": { +"description": "Performs the apply phase of the RescheduleMaintenance verb.", +"flatPath": "v1beta2/projects/{projectsId}/locations/{locationsId}/instances/{instancesId}:rescheduleMaintenance", +"httpMethod": "POST", +"id": "memcache.projects.locations.instances.rescheduleMaintenance", +"parameterOrder": [ +"instance" +], +"parameters": { +"instance": { +"description": "Required. Memcache instance resource name using the form: `projects/{project_id}/locations/{location_id}/instances/{instance_id}` where `location_id` refers to a GCP region.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/instances/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta2/{+instance}:rescheduleMaintenance", +"request": { +"$ref": "RescheduleMaintenanceRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"updateParameters": { +"description": "Updates the defined Memcached parameters for an existing instance. This method only stages the parameters, it must be followed by `ApplyParameters` to apply the parameters to nodes of the Memcached instance.", +"flatPath": "v1beta2/projects/{projectsId}/locations/{locationsId}/instances/{instancesId}:updateParameters", +"httpMethod": "PATCH", +"id": "memcache.projects.locations.instances.updateParameters", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Resource name of the Memcached instance for which the parameters should be updated.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/instances/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta2/{+name}:updateParameters", +"request": { +"$ref": "UpdateParametersRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"upgrade": { +"description": "Upgrades the Memcache instance to a newer memcached engine version specified in the request.", +"flatPath": "v1beta2/projects/{projectsId}/locations/{locationsId}/instances/{instancesId}:upgrade", +"httpMethod": "POST", +"id": "memcache.projects.locations.instances.upgrade", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Memcache instance resource name using the form: `projects/{project}/locations/{location}/instances/{instance}` where `location_id` refers to a GCP region.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/instances/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta2/{+name}:upgrade", +"request": { +"$ref": "GoogleCloudMemcacheV1beta2UpgradeInstanceRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"operations": { +"methods": { +"cancel": { +"description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.", +"flatPath": "v1beta2/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}:cancel", +"httpMethod": "POST", +"id": "memcache.projects.locations.operations.cancel", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be cancelled.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta2/{+name}:cancel", +"request": { +"$ref": "CancelOperationRequest" +}, +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.", +"flatPath": "v1beta2/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}", +"httpMethod": "DELETE", +"id": "memcache.projects.locations.operations.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be deleted.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta2/{+name}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", +"flatPath": "v1beta2/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}", +"httpMethod": "GET", +"id": "memcache.projects.locations.operations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta2/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.", +"flatPath": "v1beta2/projects/{projectsId}/locations/{locationsId}/operations", +"httpMethod": "GET", +"id": "memcache.projects.locations.operations.list", +"parameterOrder": [ +"name" +], +"parameters": { +"filter": { +"description": "The standard list filter.", +"location": "query", +"type": "string" +}, +"name": { +"description": "The name of the operation's parent resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The standard list page size.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The standard list page token.", +"location": "query", +"type": "string" +}, +"returnPartialSuccess": { +"description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `\"projects/example/locations/-\"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1beta2/{+name}/operations", +"response": { +"$ref": "ListOperationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +} +} +} +}, +"revision": "20260205", +"rootUrl": "https://memcache.googleapis.com/", +"schemas": { +"ApplyParametersRequest": { +"description": "Request for ApplyParameters.", +"id": "ApplyParametersRequest", +"properties": { +"applyAll": { +"description": "Whether to apply instance-level parameter group to all nodes. If set to true, users are restricted from specifying individual nodes, and `ApplyParameters` updates all nodes within the instance.", +"type": "boolean" +}, +"nodeIds": { +"description": "Nodes to which the instance-level parameter group is applied.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ApplySoftwareUpdateRequest": { +"description": "Request for ApplySoftwareUpdate.", +"id": "ApplySoftwareUpdateRequest", +"properties": { +"applyAll": { +"description": "Whether to apply the update to all nodes. If set to true, will explicitly restrict users from specifying any nodes, and apply software update to all nodes (where applicable) within the instance.", +"type": "boolean" +}, +"nodeIds": { +"description": "Nodes to which we should apply the update to. Note all the selected nodes are updated in parallel.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"CancelOperationRequest": { +"description": "The request message for Operations.CancelOperation.", +"id": "CancelOperationRequest", +"properties": {}, +"type": "object" +}, +"DailyCycle": { +"description": "Time window specified for daily operations.", +"id": "DailyCycle", +"properties": { +"duration": { +"description": "Output only. Duration of the time window, set by service producer.", +"format": "google-duration", +"type": "string" +}, +"startTime": { +"$ref": "TimeOfDay", +"description": "Time within the day to start the operations." +} +}, +"type": "object" +}, +"Date": { +"description": "Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following: * A full date, with non-zero year, month, and day values. * A month and day, with a zero year (for example, an anniversary). * A year on its own, with a zero month and a zero day. * A year and month, with a zero day (for example, a credit card expiration date). Related types: * google.type.TimeOfDay * google.type.DateTime * google.protobuf.Timestamp", +"id": "Date", +"properties": { +"day": { +"description": "Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn't significant.", +"format": "int32", +"type": "integer" +}, +"month": { +"description": "Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.", +"format": "int32", +"type": "integer" +}, +"year": { +"description": "Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"DenyMaintenancePeriod": { +"description": "DenyMaintenancePeriod definition. Maintenance is forbidden within the deny period. The start_date must be less than the end_date.", +"id": "DenyMaintenancePeriod", +"properties": { +"endDate": { +"$ref": "Date", +"description": "Deny period end date. This can be: * A full date, with non-zero year, month and day values. * A month and day value, with a zero year. Allows recurring deny periods each year. Date matching this period will have to be before the end." +}, +"startDate": { +"$ref": "Date", +"description": "Deny period start date. This can be: * A full date, with non-zero year, month and day values. * A month and day value, with a zero year. Allows recurring deny periods each year. Date matching this period will have to be the same or after the start." +}, +"time": { +"$ref": "TimeOfDay", +"description": "Time in UTC when the Blackout period starts on start_date and ends on end_date. This can be: * Full time. * All zeros for 00:00:00 UTC" +} +}, +"type": "object" +}, +"Empty": { +"description": "A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }", +"id": "Empty", +"properties": {}, +"type": "object" +}, +"GetTagsRequest": { +"description": "Request message for GetTags.", +"id": "GetTagsRequest", +"properties": { +"name": { +"description": "Required. The full resource name of the service resource.", +"type": "string" +} +}, +"type": "object" +}, +"GetTagsResponse": { +"description": "Response message for GetTags.", +"id": "GetTagsResponse", +"properties": { +"etag": { +"description": "A checksum based on the current bindings. This field is always set in server responses.", +"type": "string" +}, +"name": { +"description": "Required. The full resource name of the service resource.", +"type": "string" +}, +"tags": { +"additionalProperties": { +"type": "string" +}, +"description": "Required. Tag keys/values directly bound to this resource. Each item in the map must be expressed as \" : \". For example: \"123/environment\" : \"production\", \"123/costCenter\" : \"marketing\"", +"type": "object" +} +}, +"type": "object" +}, +"GoogleCloudMemcacheV1beta2LocationMetadata": { +"description": "Metadata for the given google.cloud.location.Location.", +"id": "GoogleCloudMemcacheV1beta2LocationMetadata", +"properties": { +"availableZones": { +"additionalProperties": { +"$ref": "GoogleCloudMemcacheV1beta2ZoneMetadata" +}, +"description": "Output only. The set of available zones in the location. The map is keyed by the lowercase ID of each zone, as defined by GCE. These keys can be specified in the `zones` field when creating a Memcached instance.", +"readOnly": true, +"type": "object" +} +}, +"type": "object" +}, +"GoogleCloudMemcacheV1beta2MaintenancePolicy": { +"description": "Maintenance policy per instance.", +"id": "GoogleCloudMemcacheV1beta2MaintenancePolicy", +"properties": { +"createTime": { +"description": "Output only. The time when the policy was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"description": { +"description": "Description of what this policy is for. Create/Update methods return INVALID_ARGUMENT if the length is greater than 512.", +"type": "string" +}, +"updateTime": { +"description": "Output only. The time when the policy was updated.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"weeklyMaintenanceWindow": { +"description": "Required. Maintenance window that is applied to resources covered by this policy. Minimum 1. For the current version, the maximum number of weekly_maintenance_windows is expected to be one.", +"items": { +"$ref": "WeeklyMaintenanceWindow" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudMemcacheV1beta2OperationMetadata": { +"description": "Represents the metadata of a long-running operation.", +"id": "GoogleCloudMemcacheV1beta2OperationMetadata", +"properties": { +"apiVersion": { +"description": "Output only. API version used to start the operation.", +"readOnly": true, +"type": "string" +}, +"cancelRequested": { +"description": "Output only. Identifies whether the user has requested cancellation of the operation. Operations that have successfully been cancelled have Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.", +"readOnly": true, +"type": "boolean" +}, +"createTime": { +"description": "Output only. Time when the operation was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"endTime": { +"description": "Output only. Time when the operation finished running.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"statusDetail": { +"description": "Output only. Human-readable status of the operation, if any.", +"readOnly": true, +"type": "string" +}, +"target": { +"description": "Output only. Server-defined resource path for the target of the operation.", +"readOnly": true, +"type": "string" +}, +"verb": { +"description": "Output only. Name of the verb executed by the operation.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudMemcacheV1beta2UpgradeInstanceRequest": { +"description": "Request for UpgradeInstance.", +"id": "GoogleCloudMemcacheV1beta2UpgradeInstanceRequest", +"properties": { +"memcacheVersion": { +"description": "Required. Specifies the target version of memcached engine to upgrade to.", +"enum": [ +"MEMCACHE_VERSION_UNSPECIFIED", +"MEMCACHE_1_5", +"MEMCACHE_1_6_15" +], +"enumDescriptions": [ +"Memcache version is not specified by customer", +"Memcached 1.5 version.", +"Memcached 1.6.15 version." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudMemcacheV1beta2ZoneMetadata": { +"id": "GoogleCloudMemcacheV1beta2ZoneMetadata", +"properties": {}, +"type": "object" +}, +"GoogleCloudSaasacceleratorManagementProvidersV1Instance": { +"description": "Instance represents the interface for SLM services to actuate the state of control plane resources. Example Instance in JSON, where consumer-project-number=123456, producer-project-id=cloud-sql: ```json Instance: { \"name\": \"projects/123456/locations/us-east1/instances/prod-instance\", \"create_time\": { \"seconds\": 1526406431, }, \"labels\": { \"env\": \"prod\", \"foo\": \"bar\" }, \"state\": READY, \"software_versions\": { \"software_update\": \"cloud-sql-09-28-2018\", }, \"maintenance_policy_names\": { \"UpdatePolicy\": \"projects/123456/locations/us-east1/maintenancePolicies/prod-update-policy\", } \"tenant_project_id\": \"cloud-sql-test-tenant\", \"producer_metadata\": { \"cloud-sql-tier\": \"basic\", \"cloud-sql-instance-size\": \"1G\", }, \"provisioned_resources\": [ { \"resource-type\": \"compute-instance\", \"resource-url\": \"https://www.googleapis.com/compute/v1/projects/cloud-sql/zones/us-east1-b/instances/vm-1\", } ], \"maintenance_schedules\": { \"csa_rollout\": { \"start_time\": { \"seconds\": 1526406431, }, \"end_time\": { \"seconds\": 1535406431, }, }, \"ncsa_rollout\": { \"start_time\": { \"seconds\": 1526406431, }, \"end_time\": { \"seconds\": 1535406431, }, } }, \"consumer_defined_name\": \"my-sql-instance1\", } ``` LINT.IfChange", +"id": "GoogleCloudSaasacceleratorManagementProvidersV1Instance", +"properties": { +"consumerDefinedName": { +"description": "consumer_defined_name is the name of the instance set by the service consumers. Generally this is different from the `name` field which reperesents the system-assigned id of the instance which the service consumers do not recognize. This is a required field for tenants onboarding to Maintenance Window notifications (go/slm-rollout-maintenance-policies#prerequisites).", +"type": "string" +}, +"consumerProjectNumber": { +"description": "Optional. The consumer_project_number associated with this Apigee instance. This field is added specifically to support Apigee integration with SLM Rollout and UMM. It represents the numerical project ID of the GCP project that consumes this Apigee instance. It is used for SLM rollout notifications and UMM integration, enabling proper mapping to customer projects and log delivery for Apigee instances. This field complements consumer_project_id and may be used for specific Apigee scenarios where the numerical ID is required.", +"type": "string" +}, +"createTime": { +"description": "Output only. Timestamp when the resource was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"instanceType": { +"description": "Optional. The instance_type of this instance of format: projects/{project_number}/locations/{location_id}/instanceTypes/{instance_type_id}. Instance Type represents a high-level tier or SKU of the service that this instance belong to. When enabled(eg: Maintenance Rollout), Rollout uses 'instance_type' along with 'software_versions' to determine whether instance needs an update or not.", +"type": "string" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. Resource labels to represent user provided metadata. Each label is a key-value pair, where both the key and the value are arbitrary strings provided by the user.", +"type": "object" +}, +"maintenancePolicyNames": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. The MaintenancePolicies that have been attached to the instance. The key must be of the type name of the oneof policy name defined in MaintenancePolicy, and the referenced policy must define the same policy type. For details, please refer to go/mr-user-guide. Should not be set if maintenance_settings.maintenance_policies is set.", +"type": "object" +}, +"maintenanceSchedules": { +"additionalProperties": { +"$ref": "GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSchedule" +}, +"description": "The MaintenanceSchedule contains the scheduling information of published maintenance schedule with same key as software_versions.", +"type": "object" +}, +"maintenanceSettings": { +"$ref": "GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSettings", +"description": "Optional. The MaintenanceSettings associated with instance." +}, +"name": { +"description": "Unique name of the resource. It uses the form: `projects/{project_number}/locations/{location_id}/instances/{instance_id}` Note: This name is passed, stored and logged across the rollout system. So use of consumer project_id or any other consumer PII in the name is strongly discouraged for wipeout (go/wipeout) compliance. See go/elysium/project_ids#storage-guidance for more details.", +"type": "string" +}, +"notificationParameters": { +"additionalProperties": { +"$ref": "GoogleCloudSaasacceleratorManagementProvidersV1NotificationParameter" +}, +"description": "Optional. notification_parameter are information that service producers may like to include that is not relevant to Rollout. This parameter will only be passed to Gamma and Cloud Logging for notification/logging purpose.", +"type": "object" +}, +"producerMetadata": { +"additionalProperties": { +"type": "string" +}, +"description": "Output only. Custom string attributes used primarily to expose producer-specific information in monitoring dashboards. See go/get-instance-metadata.", +"readOnly": true, +"type": "object" +}, +"provisionedResources": { +"description": "Output only. The list of data plane resources provisioned for this instance, e.g. compute VMs. See go/get-instance-metadata.", +"items": { +"$ref": "GoogleCloudSaasacceleratorManagementProvidersV1ProvisionedResource" +}, +"readOnly": true, +"type": "array" +}, +"slmInstanceTemplate": { +"description": "Link to the SLM instance template. Only populated when updating SLM instances via SSA's Actuation service adaptor. Service producers with custom control plane (e.g. Cloud SQL) doesn't need to populate this field. Instead they should use software_versions.", +"type": "string" +}, +"sloMetadata": { +"$ref": "GoogleCloudSaasacceleratorManagementProvidersV1SloMetadata", +"description": "Output only. SLO metadata for instance classification in the Standardized dataplane SLO platform. See go/cloud-ssa-standard-slo for feature description.", +"readOnly": true +}, +"softwareVersions": { +"additionalProperties": { +"type": "string" +}, +"description": "Software versions that are used to deploy this instance. This can be mutated by rollout services.", +"type": "object" +}, +"state": { +"description": "Output only. Current lifecycle state of the resource (e.g. if it's being created or ready to use).", +"enum": [ +"STATE_UNSPECIFIED", +"CREATING", +"READY", +"UPDATING", +"REPAIRING", +"DELETING", +"ERROR" +], +"enumDescriptions": [ +"Unspecified state.", +"Instance is being created.", +"Instance has been created and is ready to use.", +"Instance is being updated.", +"Instance is unheathy and under repair.", +"Instance is being deleted.", +"Instance encountered an error and is in indeterministic state." +], +"readOnly": true, +"type": "string" +}, +"tenantProjectId": { +"description": "Output only. ID of the associated GCP tenant project. See go/get-instance-metadata.", +"readOnly": true, +"type": "string" +}, +"updateTime": { +"description": "Output only. Timestamp when the resource was last modified.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSchedule": { +"description": "Maintenance schedule which is exposed to customer and potentially end user, indicating published upcoming future maintenance schedule", +"id": "GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSchedule", +"properties": { +"canReschedule": { +"deprecated": true, +"description": "This field is deprecated, and will be always set to true since reschedule can happen multiple times now. This field should not be removed until all service producers remove this for their customers.", +"type": "boolean" +}, +"endTime": { +"description": "The scheduled end time for the maintenance.", +"format": "google-datetime", +"type": "string" +}, +"rolloutManagementPolicy": { +"description": "The rollout management policy this maintenance schedule is associated with. When doing reschedule update request, the reschedule should be against this given policy.", +"type": "string" +}, +"scheduleDeadlineTime": { +"description": "schedule_deadline_time is the time deadline any schedule start time cannot go beyond, including reschedule. It's normally the initial schedule start time plus maintenance window length (1 day or 1 week). Maintenance cannot be scheduled to start beyond this deadline.", +"format": "google-datetime", +"type": "string" +}, +"startTime": { +"description": "The scheduled start time for the maintenance.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSettings": { +"description": "Maintenance settings associated with instance. Allows service producers and end users to assign settings that controls maintenance on this instance.", +"id": "GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSettings", +"properties": { +"exclude": { +"description": "Optional. Exclude instance from maintenance. When true, rollout service will not attempt maintenance on the instance. Rollout service will include the instance in reported rollout progress as not attempted.", +"type": "boolean" +}, +"isRollback": { +"description": "Optional. If the update call is triggered from rollback, set the value as true.", +"type": "boolean" +}, +"maintenancePolicies": { +"additionalProperties": { +"$ref": "MaintenancePolicy" +}, +"description": "Optional. The MaintenancePolicies that have been attached to the instance. The key must be of the type name of the oneof policy name defined in MaintenancePolicy, and the embedded policy must define the same policy type. For details, please refer to go/mr-user-guide. Should not be set if maintenance_policy_names is set. If only the name is needed, then only populate MaintenancePolicy.name.", +"type": "object" +} +}, +"type": "object" +}, +"GoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata": { +"description": "Node information for custom per-node SLO implementations. SSA does not support per-node SLO, but producers can populate per-node information in SloMetadata for custom precomputations. SSA Eligibility Exporter will emit per-node metric based on this information.", +"id": "GoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata", +"properties": { +"location": { +"description": "The location of the node, if different from instance location.", +"type": "string" +}, +"nodeId": { +"description": "The id of the node. This should be equal to SaasInstanceNode.node_id.", +"type": "string" +}, +"perSliEligibility": { +"$ref": "GoogleCloudSaasacceleratorManagementProvidersV1PerSliSloEligibility", +"description": "If present, this will override eligibility for the node coming from instance or exclusions for specified SLIs." +} +}, +"type": "object" +}, +"GoogleCloudSaasacceleratorManagementProvidersV1NotificationParameter": { +"description": "Contains notification related data.", +"id": "GoogleCloudSaasacceleratorManagementProvidersV1NotificationParameter", +"properties": { +"values": { +"description": "Optional. Array of string values. e.g. instance's replica information.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudSaasacceleratorManagementProvidersV1PerSliSloEligibility": { +"description": "PerSliSloEligibility is a mapping from an SLI name to eligibility.", +"id": "GoogleCloudSaasacceleratorManagementProvidersV1PerSliSloEligibility", +"properties": { +"eligibilities": { +"additionalProperties": { +"$ref": "GoogleCloudSaasacceleratorManagementProvidersV1SloEligibility" +}, +"description": "An entry in the eligibilities map specifies an eligibility for a particular SLI for the given instance. The SLI key in the name must be a valid SLI name specified in the Eligibility Exporter binary flags otherwise an error will be emitted by Eligibility Exporter and the oncaller will be alerted. If an SLI has been defined in the binary flags but the eligibilities map does not contain it, the corresponding SLI time series will not be emitted by the Eligibility Exporter. This ensures a smooth rollout and compatibility between the data produced by different versions of the Eligibility Exporters. If eligibilities map contains a key for an SLI which has not been declared in the binary flags, there will be an error message emitted in the Eligibility Exporter log and the metric for the SLI in question will not be emitted.", +"type": "object" +} +}, +"type": "object" +}, +"GoogleCloudSaasacceleratorManagementProvidersV1ProvisionedResource": { +"description": "Describes provisioned dataplane resources.", +"id": "GoogleCloudSaasacceleratorManagementProvidersV1ProvisionedResource", +"properties": { +"resourceType": { +"description": "Type of the resource. This can be either a GCP resource or a custom one (e.g. another cloud provider's VM). For GCP compute resources use singular form of the names listed in GCP compute API documentation (https://cloud.google.com/compute/docs/reference/rest/v1/), prefixed with 'compute-', for example: 'compute-instance', 'compute-disk', 'compute-autoscaler'.", +"type": "string" +}, +"resourceUrl": { +"description": "URL identifying the resource, e.g. \"https://www.googleapis.com/compute/v1/projects/...)\".", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSaasacceleratorManagementProvidersV1SloEligibility": { +"description": "SloEligibility is a tuple containing eligibility value: true if an instance is eligible for SLO calculation or false if it should be excluded from all SLO-related calculations along with a user-defined reason.", +"id": "GoogleCloudSaasacceleratorManagementProvidersV1SloEligibility", +"properties": { +"eligible": { +"description": "Whether an instance is eligible or ineligible.", +"type": "boolean" +}, +"reason": { +"description": "User-defined reason for the current value of instance eligibility. Usually, this can be directly mapped to the internal state. An empty reason is allowed.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSaasacceleratorManagementProvidersV1SloMetadata": { +"description": "SloMetadata contains resources required for proper SLO classification of the instance.", +"id": "GoogleCloudSaasacceleratorManagementProvidersV1SloMetadata", +"properties": { +"nodes": { +"description": "Optional. List of nodes. Some producers need to use per-node metadata to calculate SLO. This field allows such producers to publish per-node SLO meta data, which will be consumed by SSA Eligibility Exporter and published in the form of per node metric to Monarch.", +"items": { +"$ref": "GoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata" +}, +"type": "array" +}, +"perSliEligibility": { +"$ref": "GoogleCloudSaasacceleratorManagementProvidersV1PerSliSloEligibility", +"description": "Optional. Multiple per-instance SLI eligibilities which apply for individual SLIs." +}, +"tier": { +"description": "Name of the SLO tier the Instance belongs to. This name will be expected to match the tiers specified in the service SLO configuration. Field is mandatory and must not be empty.", +"type": "string" +} +}, +"type": "object" +}, +"Instance": { +"description": "A Memorystore for Memcached instance", +"id": "Instance", +"properties": { +"authorizedNetwork": { +"description": "The full name of the Google Compute Engine [network](https://cloud.google.com/vpc/docs/vpc) to which the instance is connected. If left unspecified, the `default` network will be used.", +"type": "string" +}, +"availableMaintenanceVersions": { +"description": "Output only. The available maintenance versions that can be applied to the instance.", +"items": { +"type": "string" +}, +"readOnly": true, +"type": "array" +}, +"createTime": { +"description": "Output only. The time the instance was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"discoveryEndpoint": { +"description": "Output only. Endpoint for the Discovery API.", +"readOnly": true, +"type": "string" +}, +"displayName": { +"description": "User provided name for the instance, which is only used for display purposes. Cannot be more than 80 characters.", +"type": "string" +}, +"effectiveMaintenanceVersion": { +"description": "Output only. The effective maintenance version of the instance.", +"readOnly": true, +"type": "string" +}, +"instanceMessages": { +"description": "List of messages that describe the current state of the Memcached instance.", +"items": { +"$ref": "InstanceMessage" +}, +"type": "array" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Resource labels to represent user-provided metadata. Refer to cloud documentation on labels for more details. https://cloud.google.com/compute/docs/labeling-resources", +"type": "object" +}, +"maintenancePolicy": { +"$ref": "GoogleCloudMemcacheV1beta2MaintenancePolicy", +"description": "The maintenance policy for the instance. If not provided, the maintenance event will be performed based on Memorystore internal rollout schedule." +}, +"maintenanceSchedule": { +"$ref": "MaintenanceSchedule", +"description": "Output only. Published maintenance schedule.", +"readOnly": true +}, +"maintenanceVersion": { +"description": "Optional. Last self service update maintenance version triggered by the customer. If it is empty, it means that the maintenance version is not set by the user.", +"type": "string" +}, +"memcacheFullVersion": { +"description": "Output only. The full version of memcached server running on this instance. System automatically determines the full memcached version for an instance based on the input MemcacheVersion. The full version format will be \"memcached-1.5.16\".", +"readOnly": true, +"type": "string" +}, +"memcacheNodes": { +"description": "Output only. List of Memcached nodes. Refer to Node message for more details.", +"items": { +"$ref": "Node" +}, +"readOnly": true, +"type": "array" +}, +"memcacheVersion": { +"description": "The major version of Memcached software. If not provided, latest supported version will be used. Currently the latest supported major version is `MEMCACHE_1_5`. The minor version will be automatically determined by our system based on the latest supported minor version.", +"enum": [ +"MEMCACHE_VERSION_UNSPECIFIED", +"MEMCACHE_1_5", +"MEMCACHE_1_6_15" +], +"enumDescriptions": [ +"Memcache version is not specified by customer", +"Memcached 1.5 version.", +"Memcached 1.6.15 version." +], +"type": "string" +}, +"name": { +"description": "Required. Unique name of the resource in this scope including project and location using the form: `projects/{project_id}/locations/{location_id}/instances/{instance_id}` Note: Memcached instances are managed and addressed at the regional level so `location_id` here refers to a Google Cloud region; however, users may choose which zones Memcached nodes should be provisioned in within an instance. Refer to zones field for more details.", +"type": "string" +}, +"nodeConfig": { +"$ref": "NodeConfig", +"description": "Required. Configuration for Memcached nodes." +}, +"nodeCount": { +"description": "Required. Number of nodes in the Memcached instance.", +"format": "int32", +"type": "integer" +}, +"parameters": { +"$ref": "MemcacheParameters", +"description": "User defined parameters to apply to the memcached process on each node." +}, +"reservedIpRangeId": { +"description": "Optional. Contains the id of allocated IP address ranges associated with the private service access connection for example, \"test-default\" associated with IP range 10.0.0.0/29.", +"items": { +"type": "string" +}, +"type": "array" +}, +"satisfiesPzi": { +"description": "Optional. Output only. Reserved for future use.", +"readOnly": true, +"type": "boolean" +}, +"satisfiesPzs": { +"description": "Optional. Output only. Reserved for future use.", +"readOnly": true, +"type": "boolean" +}, +"state": { +"description": "Output only. The state of this Memcached instance.", +"enum": [ +"STATE_UNSPECIFIED", +"CREATING", +"READY", +"UPDATING", +"DELETING", +"PERFORMING_MAINTENANCE", +"MEMCACHE_VERSION_UPGRADING" +], +"enumDescriptions": [ +"State not set.", +"Memcached instance is being created.", +"Memcached instance has been created and ready to be used.", +"Memcached instance is updating configuration such as maintenance policy and schedule.", +"Memcached instance is being deleted.", +"Memcached instance is going through maintenance, e.g. data plane rollout.", +"Memcached instance is undergoing memcached engine version upgrade." +], +"readOnly": true, +"type": "string" +}, +"updateAvailable": { +"description": "Output only. Returns true if there is an update waiting to be applied", +"readOnly": true, +"type": "boolean" +}, +"updateTime": { +"description": "Output only. The time the instance was updated.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"zones": { +"description": "Zones in which Memcached nodes should be provisioned. Memcached nodes will be equally distributed across these zones. If not provided, the service will by default create nodes in all zones in the region for the instance.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"InstanceMessage": { +"id": "InstanceMessage", +"properties": { +"code": { +"description": "A code that correspond to one type of user-facing message.", +"enum": [ +"CODE_UNSPECIFIED", +"ZONE_DISTRIBUTION_UNBALANCED" +], +"enumDescriptions": [ +"Message Code not set.", +"Memcached nodes are distributed unevenly." +], +"type": "string" +}, +"message": { +"description": "Message on memcached instance which will be exposed to users.", +"type": "string" +} +}, +"type": "object" +}, +"ListInstancesResponse": { +"description": "Response for ListInstances.", +"id": "ListInstancesResponse", +"properties": { +"nextPageToken": { +"description": "Token to retrieve the next page of results, or empty if there are no more results in the list.", +"type": "string" +}, +"resources": { +"description": "A list of Memcached instances in the project in the specified location, or across all locations. If the `location_id` in the parent field of the request is \"-\", all regions available to the project are queried, and the results aggregated.", +"items": { +"$ref": "Instance" +}, +"type": "array" +}, +"unreachable": { +"description": "Locations that could not be reached.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListLocationsResponse": { +"description": "The response message for Locations.ListLocations.", +"id": "ListLocationsResponse", +"properties": { +"locations": { +"description": "A list of locations that matches the specified filter in the request.", +"items": { +"$ref": "Location" +}, +"type": "array" +}, +"nextPageToken": { +"description": "The standard List next-page token.", +"type": "string" +} +}, +"type": "object" +}, +"ListOperationsResponse": { +"description": "The response message for Operations.ListOperations.", +"id": "ListOperationsResponse", +"properties": { +"nextPageToken": { +"description": "The standard List next-page token.", +"type": "string" +}, +"operations": { +"description": "A list of operations that matches the specified filter in the request.", +"items": { +"$ref": "Operation" +}, +"type": "array" +}, +"unreachable": { +"description": "Unordered list. Unreachable resources. Populated when the request sets `ListOperationsRequest.return_partial_success` and reads across collections. For example, when attempting to list all resources across all supported locations.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"Location": { +"description": "A resource that represents a Google Cloud location.", +"id": "Location", +"properties": { +"displayName": { +"description": "The friendly name for this location, typically a nearby city name. For example, \"Tokyo\".", +"type": "string" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Cross-service attributes for the location. For example {\"cloud.googleapis.com/region\": \"us-east1\"}", +"type": "object" +}, +"locationId": { +"description": "The canonical id for this location. For example: `\"us-east1\"`.", +"type": "string" +}, +"metadata": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "Service-specific metadata. For example the available capacity at the given location.", +"type": "object" +}, +"name": { +"description": "Resource name for the location, which may vary between implementations. For example: `\"projects/example-project/locations/us-east1\"`", +"type": "string" +} +}, +"type": "object" +}, +"LocationMetadata": { +"description": "Metadata for the given google.cloud.location.Location.", +"id": "LocationMetadata", +"properties": { +"availableZones": { +"additionalProperties": { +"$ref": "ZoneMetadata" +}, +"description": "Output only. The set of available zones in the location. The map is keyed by the lowercase ID of each zone, as defined by GCE. These keys can be specified in the `zones` field when creating a Memcached instance.", +"readOnly": true, +"type": "object" +} +}, +"type": "object" +}, +"MaintenancePolicy": { +"description": "Defines policies to service maintenance events.", +"id": "MaintenancePolicy", +"properties": { +"createTime": { +"description": "Output only. The time when the resource was created.", +"format": "google-datetime", +"type": "string" +}, +"description": { +"description": "Optional. Description of what this policy is for. Create/Update methods return INVALID_ARGUMENT if the length is greater than 512.", +"type": "string" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. Resource labels to represent user provided metadata. Each label is a key-value pair, where both the key and the value are arbitrary strings provided by the user.", +"type": "object" +}, +"name": { +"description": "Required. MaintenancePolicy name using the form: `projects/{project_id}/locations/{location_id}/maintenancePolicies/{maintenance_policy_id}` where {project_id} refers to a GCP consumer project ID, {location_id} refers to a GCP region/zone, {maintenance_policy_id} must be 1-63 characters long and match the regular expression `[a-z0-9]([-a-z0-9]*[a-z0-9])?`.", +"type": "string" +}, +"state": { +"description": "Optional. The state of the policy.", +"enum": [ +"STATE_UNSPECIFIED", +"READY", +"DELETING" +], +"enumDescriptions": [ +"Unspecified state.", +"Resource is ready to be used.", +"Resource is being deleted. It can no longer be attached to instances." +], +"type": "string" +}, +"updatePolicy": { +"$ref": "UpdatePolicy", +"description": "Maintenance policy applicable to instance update." +}, +"updateTime": { +"description": "Output only. The time when the resource was updated.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"MaintenanceSchedule": { +"description": "Upcoming maintenance schedule.", +"id": "MaintenanceSchedule", +"properties": { +"endTime": { +"description": "Output only. The end time of any upcoming scheduled maintenance for this instance.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"scheduleDeadlineTime": { +"description": "Output only. The deadline that the maintenance schedule start time can not go beyond, including reschedule.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"startTime": { +"description": "Output only. The start time of any upcoming scheduled maintenance for this instance.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"MaintenanceWindow": { +"description": "MaintenanceWindow definition.", +"id": "MaintenanceWindow", +"properties": { +"dailyCycle": { +"$ref": "DailyCycle", +"description": "Daily cycle." +}, +"weeklyCycle": { +"$ref": "WeeklyCycle", +"description": "Weekly cycle." +} +}, +"type": "object" +}, +"MemcacheParameters": { +"id": "MemcacheParameters", +"properties": { +"id": { +"description": "Output only. The unique ID associated with this set of parameters. Users can use this id to determine if the parameters associated with the instance differ from the parameters associated with the nodes. A discrepancy between parameter ids can inform users that they may need to take action to apply parameters on nodes.", +"readOnly": true, +"type": "string" +}, +"params": { +"additionalProperties": { +"type": "string" +}, +"description": "User defined set of parameters to use in the memcached process.", +"type": "object" +} +}, +"type": "object" +}, +"Node": { +"id": "Node", +"properties": { +"host": { +"description": "Output only. Hostname or IP address of the Memcached node used by the clients to connect to the Memcached server on this node.", +"readOnly": true, +"type": "string" +}, +"memcacheFullVersion": { +"description": "Output only. The full version of memcached server running on this node. e.g. - memcached-1.5.16", +"readOnly": true, +"type": "string" +}, +"memcacheVersion": { +"description": "Output only. Major version of memcached server running on this node, e.g. MEMCACHE_1_5", +"enum": [ +"MEMCACHE_VERSION_UNSPECIFIED", +"MEMCACHE_1_5", +"MEMCACHE_1_6_15" +], +"enumDescriptions": [ +"Memcache version is not specified by customer", +"Memcached 1.5 version.", +"Memcached 1.6.15 version." +], +"readOnly": true, +"type": "string" +}, +"nodeId": { +"description": "Output only. Identifier of the Memcached node. The node id does not include project or location like the Memcached instance name.", +"readOnly": true, +"type": "string" +}, +"parameters": { +"$ref": "MemcacheParameters", +"description": "User defined parameters currently applied to the node." +}, +"port": { +"description": "Output only. The port number of the Memcached server on this node.", +"format": "int32", +"readOnly": true, +"type": "integer" +}, +"state": { +"description": "Output only. Current state of the Memcached node.", +"enum": [ +"STATE_UNSPECIFIED", +"CREATING", +"READY", +"DELETING", +"UPDATING" +], +"enumDescriptions": [ +"Node state is not set.", +"Node is being created.", +"Node has been created and ready to be used.", +"Node is being deleted.", +"Node is being updated." +], +"readOnly": true, +"type": "string" +}, +"updateAvailable": { +"description": "Output only. Returns true if there is an update waiting to be applied", +"readOnly": true, +"type": "boolean" +}, +"zone": { +"description": "Output only. Location (GCP Zone) for the Memcached node.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"NodeConfig": { +"description": "Configuration for a Memcached Node.", +"id": "NodeConfig", +"properties": { +"cpuCount": { +"description": "Required. Number of cpus per Memcached node.", +"format": "int32", +"type": "integer" +}, +"memorySizeMb": { +"description": "Required. Memory size in MiB for each Memcached node.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"Operation": { +"description": "This resource represents a long-running operation that is the result of a network API call.", +"id": "Operation", +"properties": { +"done": { +"description": "If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.", +"type": "boolean" +}, +"error": { +"$ref": "Status", +"description": "The error result of the operation in case of failure or cancellation." +}, +"metadata": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.", +"type": "object" +}, +"name": { +"description": "The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.", +"type": "string" +}, +"response": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "The normal, successful response of the operation. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.", +"type": "object" +} +}, +"type": "object" +}, +"OperationMetadata": { +"description": "Represents the metadata of a long-running operation.", +"id": "OperationMetadata", +"properties": { +"apiVersion": { +"description": "Output only. API version used to start the operation.", +"readOnly": true, +"type": "string" +}, +"cancelRequested": { +"description": "Output only. Identifies whether the user has requested cancellation of the operation. Operations that have successfully been cancelled have Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.", +"readOnly": true, +"type": "boolean" +}, +"createTime": { +"description": "Output only. Time when the operation was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"endTime": { +"description": "Output only. Time when the operation finished running.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"statusDetail": { +"description": "Output only. Human-readable status of the operation, if any.", +"readOnly": true, +"type": "string" +}, +"target": { +"description": "Output only. Server-defined resource path for the target of the operation.", +"readOnly": true, +"type": "string" +}, +"verb": { +"description": "Output only. Name of the verb executed by the operation.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"RescheduleMaintenanceRequest": { +"description": "Request for RescheduleMaintenance.", +"id": "RescheduleMaintenanceRequest", +"properties": { +"rescheduleType": { +"description": "Required. If reschedule type is SPECIFIC_TIME, must set up schedule_time as well.", +"enum": [ +"RESCHEDULE_TYPE_UNSPECIFIED", +"IMMEDIATE", +"NEXT_AVAILABLE_WINDOW", +"SPECIFIC_TIME" +], +"enumDescriptions": [ +"Not set.", +"If the user wants to schedule the maintenance to happen now.", +"If the user wants to use the existing maintenance policy to find the next available window.", +"If the user wants to reschedule the maintenance to a specific time." +], +"type": "string" +}, +"scheduleTime": { +"description": "Timestamp when the maintenance shall be rescheduled to if reschedule_type=SPECIFIC_TIME, in RFC 3339 format, for example `2012-11-15T16:19:00.094Z`.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"Schedule": { +"description": "Configure the schedule.", +"id": "Schedule", +"properties": { +"day": { +"description": "Allows to define schedule that runs specified day of the week.", +"enum": [ +"DAY_OF_WEEK_UNSPECIFIED", +"MONDAY", +"TUESDAY", +"WEDNESDAY", +"THURSDAY", +"FRIDAY", +"SATURDAY", +"SUNDAY" +], +"enumDescriptions": [ +"The day of the week is unspecified.", +"Monday", +"Tuesday", +"Wednesday", +"Thursday", +"Friday", +"Saturday", +"Sunday" +], +"type": "string" +}, +"duration": { +"description": "Output only. Duration of the time window, set by service producer.", +"format": "google-duration", +"type": "string" +}, +"startTime": { +"$ref": "TimeOfDay", +"description": "Time within the window to start the operations." +} +}, +"type": "object" +}, +"SetTagsRequest": { +"description": "Request message for SetTags.", +"id": "SetTagsRequest", +"properties": { +"etag": { +"description": "Optional. A checksum based on the current bindings which can be passed to prevent race conditions. If not passed, etag check would be skipped.", +"type": "string" +}, +"name": { +"description": "Required. The full resource name of the service resource.", +"type": "string" +}, +"requestId": { +"description": "Optional. A unique identifier for this request. Must be a valid UUID. This request is only idempotent if a `request_id` is provided.", +"type": "string" +}, +"tags": { +"additionalProperties": { +"type": "string" +}, +"description": "Required. These bindings will override any bindings previously set and will be effective immediately. Each item in the map must be expressed as \" : \". For example: \"123/environment\" : \"production\", \"123/costCenter\" : \"marketing\"", +"type": "object" +} +}, +"type": "object" +}, +"SetTagsResponse": { +"description": "Response message for SetTags.", +"id": "SetTagsResponse", +"properties": { +"etag": { +"description": "A checksum based on the current bindings. This field is always set in server responses.", +"type": "string" +}, +"name": { +"description": "Required. The full resource name of the service resource.", +"type": "string" +}, +"tags": { +"additionalProperties": { +"type": "string" +}, +"description": "Required. Tag keys/values directly bound to this resource. Each item in the map must be expressed as \" : \". For example: \"123/environment\" : \"production\", \"123/costCenter\" : \"marketing\"", +"type": "object" +} +}, +"type": "object" +}, +"Status": { +"description": "The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors).", +"id": "Status", +"properties": { +"code": { +"description": "The status code, which should be an enum value of google.rpc.Code.", +"format": "int32", +"type": "integer" +}, +"details": { +"description": "A list of messages that carry the error details. There is a common set of message types for APIs to use.", +"items": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.", +"type": "string" +} +}, +"type": "object" +}, +"TimeOfDay": { +"description": "Represents a time of day. The date and time zone are either not significant or are specified elsewhere. An API may choose to allow leap seconds. Related types are google.type.Date and `google.protobuf.Timestamp`.", +"id": "TimeOfDay", +"properties": { +"hours": { +"description": "Hours of a day in 24 hour format. Must be greater than or equal to 0 and typically must be less than or equal to 23. An API may choose to allow the value \"24:00:00\" for scenarios like business closing time.", +"format": "int32", +"type": "integer" +}, +"minutes": { +"description": "Minutes of an hour. Must be greater than or equal to 0 and less than or equal to 59.", +"format": "int32", +"type": "integer" +}, +"nanos": { +"description": "Fractions of seconds, in nanoseconds. Must be greater than or equal to 0 and less than or equal to 999,999,999.", +"format": "int32", +"type": "integer" +}, +"seconds": { +"description": "Seconds of a minute. Must be greater than or equal to 0 and typically must be less than or equal to 59. An API may allow the value 60 if it allows leap-seconds.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"UpdateParametersRequest": { +"description": "Request for UpdateParameters.", +"id": "UpdateParametersRequest", +"properties": { +"parameters": { +"$ref": "MemcacheParameters", +"description": "The parameters to apply to the instance." +}, +"updateMask": { +"description": "Required. Mask of fields to update.", +"format": "google-fieldmask", +"type": "string" +} +}, +"type": "object" +}, +"UpdatePolicy": { +"description": "Maintenance policy applicable to instance updates.", +"id": "UpdatePolicy", +"properties": { +"channel": { +"description": "Optional. Relative scheduling channel applied to resource.", +"enum": [ +"UPDATE_CHANNEL_UNSPECIFIED", +"EARLIER", +"LATER", +"WEEK1", +"WEEK2", +"WEEK5" +], +"enumDescriptions": [ +"Unspecified channel.", +"Early channel within a customer project.", +"Later channel within a customer project.", +"! ! The follow channels can ONLY be used if you adopt the new MW system! ! ! NOTE: all WEEK channels are assumed to be under a weekly window. ! There is currently no dedicated channel definitions for Daily windows. ! If you use Daily window, the system will assume a 1d (24Hours) advanced ! notification period b/w EARLY and LATER. ! We may consider support more flexible daily channel specifications in ! the future. WEEK1 == EARLIER with minimum 7d advanced notification. {7d, 14d} The system will treat them equally and will use WEEK1 whenever it can. New customers are encouraged to use this channel annotation.", +"WEEK2 == LATER with minimum 14d advanced notification {14d, 21d}.", +"WEEK5 == 40d support. minimum 35d advanced notification {35d, 42d}." +], +"type": "string" +}, +"denyMaintenancePeriods": { +"description": "Deny Maintenance Period that is applied to resource to indicate when maintenance is forbidden. The protocol supports zero-to-many such periods, but the current SLM Rollout implementation only supports zero-to-one.", +"items": { +"$ref": "DenyMaintenancePeriod" +}, +"type": "array" +}, +"window": { +"$ref": "MaintenanceWindow", +"description": "Optional. Maintenance window that is applied to resources covered by this policy." +} +}, +"type": "object" +}, +"WeeklyCycle": { +"description": "Time window specified for weekly operations.", +"id": "WeeklyCycle", +"properties": { +"schedule": { +"description": "User can specify multiple windows in a week. Minimum of 1 window.", +"items": { +"$ref": "Schedule" +}, +"type": "array" +} +}, +"type": "object" +}, +"WeeklyMaintenanceWindow": { +"description": "Time window specified for weekly operations.", +"id": "WeeklyMaintenanceWindow", +"properties": { +"day": { +"description": "Required. Allows to define schedule that runs specified day of the week.", +"enum": [ +"DAY_OF_WEEK_UNSPECIFIED", +"MONDAY", +"TUESDAY", +"WEDNESDAY", +"THURSDAY", +"FRIDAY", +"SATURDAY", +"SUNDAY" +], +"enumDescriptions": [ +"The day of the week is unspecified.", +"Monday", +"Tuesday", +"Wednesday", +"Thursday", +"Friday", +"Saturday", +"Sunday" +], +"type": "string" +}, +"duration": { +"description": "Required. Duration of the time window.", +"format": "google-duration", +"type": "string" +}, +"startTime": { +"$ref": "TimeOfDay", +"description": "Required. Start time of the window in UTC." +} +}, +"type": "object" +}, +"ZoneMetadata": { +"id": "ZoneMetadata", +"properties": {}, +"type": "object" +} +}, +"servicePath": "", +"title": "Cloud Memorystore for Memcached API", +"version": "v1beta2", +"version_module": true +} \ No newline at end of file diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/merchantapi.accounts_v1.json b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/merchantapi.accounts_v1.json new file mode 100644 index 0000000000000000000000000000000000000000..8410653dc85a2ee938dea7d374298a2c22ced53d --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/merchantapi.accounts_v1.json @@ -0,0 +1,5806 @@ +{ +"auth": { +"oauth2": { +"scopes": { +"https://www.googleapis.com/auth/content": { +"description": "Manage your product listings and accounts for Google Shopping" +} +} +} +}, +"basePath": "", +"baseUrl": "https://merchantapi.googleapis.com/", +"batchPath": "batch", +"canonicalName": "Merchant", +"description": "Programmatically manage your Merchant Center Accounts.", +"discoveryVersion": "v1", +"documentationLink": "https://developers.google.com/merchant/api", +"fullyEncodeReservedExpansion": true, +"icons": { +"x16": "http://www.google.com/images/icons/product/search-16.gif", +"x32": "http://www.google.com/images/icons/product/search-32.gif" +}, +"id": "merchantapi:accounts_v1", +"kind": "discovery#restDescription", +"mtlsRootUrl": "https://merchantapi.mtls.googleapis.com/", +"name": "merchantapi", +"ownerDomain": "google.com", +"ownerName": "Google", +"parameters": { +"$.xgafv": { +"description": "V1 error format.", +"enum": [ +"1", +"2" +], +"enumDescriptions": [ +"v1 error format", +"v2 error format" +], +"location": "query", +"type": "string" +}, +"access_token": { +"description": "OAuth access token.", +"location": "query", +"type": "string" +}, +"alt": { +"default": "json", +"description": "Data format for response.", +"enum": [ +"json", +"media", +"proto" +], +"enumDescriptions": [ +"Responses with Content-Type of application/json", +"Media download with context-dependent Content-Type", +"Responses with Content-Type of application/x-protobuf" +], +"location": "query", +"type": "string" +}, +"callback": { +"description": "JSONP", +"location": "query", +"type": "string" +}, +"fields": { +"description": "Selector specifying which fields to include in a partial response.", +"location": "query", +"type": "string" +}, +"key": { +"description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", +"location": "query", +"type": "string" +}, +"oauth_token": { +"description": "OAuth 2.0 token for the current user.", +"location": "query", +"type": "string" +}, +"prettyPrint": { +"default": "true", +"description": "Returns response with indentations and line breaks.", +"location": "query", +"type": "boolean" +}, +"quotaUser": { +"description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.", +"location": "query", +"type": "string" +}, +"uploadType": { +"description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", +"location": "query", +"type": "string" +}, +"upload_protocol": { +"description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", +"location": "query", +"type": "string" +} +}, +"protocol": "rest", +"resources": { +"accounts": { +"methods": { +"createAndConfigure": { +"description": "Creates a Merchant Center account with additional configuration. Adds the user that makes the request as an admin for the new account.", +"flatPath": "accounts/v1/accounts:createAndConfigure", +"httpMethod": "POST", +"id": "merchantapi.accounts.createAndConfigure", +"parameterOrder": [], +"parameters": {}, +"path": "accounts/v1/accounts:createAndConfigure", +"request": { +"$ref": "CreateAndConfigureAccountRequest" +}, +"response": { +"$ref": "Account" +}, +"scopes": [ +"https://www.googleapis.com/auth/content" +] +}, +"delete": { +"description": "Deletes the specified account regardless of its type: standalone, advanced account or sub-account. Deleting an advanced account leads to the deletion of all of its sub-accounts. This also deletes the account's [developer registration entity](/merchant/api/reference/rest/accounts_v1/accounts.developerRegistration) and any associated GCP project to the account. Executing this method requires admin access. The deletion succeeds only if the account does not provide services to any other account and has no processed offers. You can use the `force` parameter to override this.", +"flatPath": "accounts/v1/accounts/{accountsId}", +"httpMethod": "DELETE", +"id": "merchantapi.accounts.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"force": { +"description": "Optional. If set to `true`, the account is deleted even if it provides services to other accounts or has processed offers.", +"location": "query", +"type": "boolean" +}, +"name": { +"description": "Required. The name of the account to delete. Format: `accounts/{account}`", +"location": "path", +"pattern": "^accounts/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "accounts/v1/{+name}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/content" +] +}, +"get": { +"description": "Retrieves an account from your Merchant Center account. After inserting, updating, or deleting an account, it may take several minutes before changes take effect.", +"flatPath": "accounts/v1/accounts/{accountsId}", +"httpMethod": "GET", +"id": "merchantapi.accounts.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the account to retrieve. Format: `accounts/{account}`", +"location": "path", +"pattern": "^accounts/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "accounts/v1/{+name}", +"response": { +"$ref": "Account" +}, +"scopes": [ +"https://www.googleapis.com/auth/content" +] +}, +"list": { +"description": "Note: For the `accounts.list` method, quota and limits usage are charged for each user, and not for the Merchant Center ID or the advanced account ID. To list several sub-accounts, you should use the `accounts.listSubaccounts` method, which is more suitable for advanced accounts use case.", +"flatPath": "accounts/v1/accounts", +"httpMethod": "GET", +"id": "merchantapi.accounts.list", +"parameterOrder": [], +"parameters": { +"filter": { +"description": "Optional. Returns only accounts that match the [filter](https://developers.google.com/merchant/api/guides/accounts/filter). For more details, see the [filter syntax reference](https://developers.google.com/merchant/api/guides/accounts/filter-syntax).", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Optional. The maximum number of accounts to return. The service may return fewer than this value. If unspecified, at most 250 accounts are returned. The maximum value is 500; values above 500 are coerced to 500.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. A page token, received from a previous `accounts.list` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided in the `accounts.list` request must match the call that provided the page token.", +"location": "query", +"type": "string" +} +}, +"path": "accounts/v1/accounts", +"response": { +"$ref": "ListAccountsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/content" +] +}, +"listSubaccounts": { +"description": "List all sub-accounts for a given advanced account. This is a convenience wrapper for the more powerful `accounts.list` method. This method will produce the same results as calling `ListsAccounts` with the following filter: `relationship(providerId={parent} AND service(type=\"ACCOUNT_AGGREGATION\"))`", +"flatPath": "accounts/v1/accounts/{accountsId}:listSubaccounts", +"httpMethod": "GET", +"id": "merchantapi.accounts.listSubaccounts", +"parameterOrder": [ +"provider" +], +"parameters": { +"pageSize": { +"description": "Optional. The maximum number of accounts to return. The service may return fewer than this value. If unspecified, at most 250 accounts are returned. The maximum value is 500; values above 500 are coerced to 500.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. A page token, received from a previous `accounts.list` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided in the `accounts.list` request must match the call that provided the page token.", +"location": "query", +"type": "string" +}, +"provider": { +"description": "Required. The aggregation service provider. Format: `accounts/{accountId}`", +"location": "path", +"pattern": "^accounts/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "accounts/v1/{+provider}:listSubaccounts", +"response": { +"$ref": "ListSubAccountsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/content" +] +}, +"patch": { +"description": "Updates an account regardless of its type: standalone, advanced account or sub-account. Executing this method requires admin access.", +"flatPath": "accounts/v1/accounts/{accountsId}", +"httpMethod": "PATCH", +"id": "merchantapi.accounts.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Identifier. The resource name of the account. Format: `accounts/{account}`", +"location": "path", +"pattern": "^accounts/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Optional. List of fields being updated. The following fields are supported (in both `snake_case` and `lowerCamelCase`): - `account_name` - `adult_content` - `language_code` - `time_zone`", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "accounts/v1/{+name}", +"request": { +"$ref": "Account" +}, +"response": { +"$ref": "Account" +}, +"scopes": [ +"https://www.googleapis.com/auth/content" +] +} +}, +"resources": { +"autofeedSettings": { +"methods": { +"getAutofeedSettings": { +"description": "Retrieves the autofeed settings of an account.", +"flatPath": "accounts/v1/accounts/{accountsId}/autofeedSettings", +"httpMethod": "GET", +"id": "merchantapi.accounts.autofeedSettings.getAutofeedSettings", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the autofeed settings. Format: `accounts/{account}/autofeedSettings`", +"location": "path", +"pattern": "^accounts/[^/]+/autofeedSettings$", +"required": true, +"type": "string" +} +}, +"path": "accounts/v1/{+name}", +"response": { +"$ref": "AutofeedSettings" +}, +"scopes": [ +"https://www.googleapis.com/auth/content" +] +}, +"updateAutofeedSettings": { +"description": "Updates the autofeed settings of an account.", +"flatPath": "accounts/v1/accounts/{accountsId}/autofeedSettings", +"httpMethod": "PATCH", +"id": "merchantapi.accounts.autofeedSettings.updateAutofeedSettings", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Identifier. The resource name of the autofeed settings. Format: `accounts/{account}/autofeedSettings`.", +"location": "path", +"pattern": "^accounts/[^/]+/autofeedSettings$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Required. List of fields being updated.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "accounts/v1/{+name}", +"request": { +"$ref": "AutofeedSettings" +}, +"response": { +"$ref": "AutofeedSettings" +}, +"scopes": [ +"https://www.googleapis.com/auth/content" +] +} +} +}, +"automaticImprovements": { +"methods": { +"getAutomaticImprovements": { +"description": "Retrieves the automatic improvements of an account.", +"flatPath": "accounts/v1/accounts/{accountsId}/automaticImprovements", +"httpMethod": "GET", +"id": "merchantapi.accounts.automaticImprovements.getAutomaticImprovements", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the automatic improvements. Format: `accounts/{account}/automaticImprovements`", +"location": "path", +"pattern": "^accounts/[^/]+/automaticImprovements$", +"required": true, +"type": "string" +} +}, +"path": "accounts/v1/{+name}", +"response": { +"$ref": "AutomaticImprovements" +}, +"scopes": [ +"https://www.googleapis.com/auth/content" +] +}, +"updateAutomaticImprovements": { +"description": "Updates the automatic improvements of an account.", +"flatPath": "accounts/v1/accounts/{accountsId}/automaticImprovements", +"httpMethod": "PATCH", +"id": "merchantapi.accounts.automaticImprovements.updateAutomaticImprovements", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Identifier. The resource name of the automatic improvements. Format: `accounts/{account}/automaticImprovements`.", +"location": "path", +"pattern": "^accounts/[^/]+/automaticImprovements$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Required. List of fields being updated. The following fields are supported (in both `snake_case` and `lowerCamelCase`): - `item_updates` - `item_updates.account_level_settings` - `image_improvements` - `image_improvements.account_level_settings` - `shipping_improvements` - `shipping_improvements.allow_shipping_improvements`", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "accounts/v1/{+name}", +"request": { +"$ref": "AutomaticImprovements" +}, +"response": { +"$ref": "AutomaticImprovements" +}, +"scopes": [ +"https://www.googleapis.com/auth/content" +] +} +} +}, +"businessIdentity": { +"methods": { +"getBusinessIdentity": { +"description": "Retrieves the business identity of an account.", +"flatPath": "accounts/v1/accounts/{accountsId}/businessIdentity", +"httpMethod": "GET", +"id": "merchantapi.accounts.businessIdentity.getBusinessIdentity", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the business identity. Format: `accounts/{account}/businessIdentity`. For example, `accounts/123456/businessIdentity`.", +"location": "path", +"pattern": "^accounts/[^/]+/businessIdentity$", +"required": true, +"type": "string" +} +}, +"path": "accounts/v1/{+name}", +"response": { +"$ref": "BusinessIdentity" +}, +"scopes": [ +"https://www.googleapis.com/auth/content" +] +}, +"updateBusinessIdentity": { +"description": "Updates the business identity of an account. Executing this method requires admin access.", +"flatPath": "accounts/v1/accounts/{accountsId}/businessIdentity", +"httpMethod": "PATCH", +"id": "merchantapi.accounts.businessIdentity.updateBusinessIdentity", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Identifier. The resource name of the business identity. Format: `accounts/{account}/businessIdentity`", +"location": "path", +"pattern": "^accounts/[^/]+/businessIdentity$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Optional. List of fields being updated. The following fields are supported (in both `snake_case` and `lowerCamelCase`): - `black_owned` - `latino_owned` - `promotions_consent` - `small_business` - `veteran_owned` - `women_owned`", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "accounts/v1/{+name}", +"request": { +"$ref": "BusinessIdentity" +}, +"response": { +"$ref": "BusinessIdentity" +}, +"scopes": [ +"https://www.googleapis.com/auth/content" +] +} +} +}, +"businessInfo": { +"methods": { +"getBusinessInfo": { +"description": "Retrieves the business info of an account.", +"flatPath": "accounts/v1/accounts/{accountsId}/businessInfo", +"httpMethod": "GET", +"id": "merchantapi.accounts.businessInfo.getBusinessInfo", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the business info. Format: `accounts/{account}/businessInfo`. For example, `accounts/123456/businessInfo`.", +"location": "path", +"pattern": "^accounts/[^/]+/businessInfo$", +"required": true, +"type": "string" +} +}, +"path": "accounts/v1/{+name}", +"response": { +"$ref": "BusinessInfo" +}, +"scopes": [ +"https://www.googleapis.com/auth/content" +] +}, +"updateBusinessInfo": { +"description": "Updates the business info of an account. Executing this method requires admin access.", +"flatPath": "accounts/v1/accounts/{accountsId}/businessInfo", +"httpMethod": "PATCH", +"id": "merchantapi.accounts.businessInfo.updateBusinessInfo", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Identifier. The resource name of the business info. Format: `accounts/{account}/businessInfo`", +"location": "path", +"pattern": "^accounts/[^/]+/businessInfo$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Optional. List of fields being updated. The following fields are supported (in both `snake_case` and `lowerCamelCase`): - `address` - `customer_service` - `korean_business_registration_number`", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "accounts/v1/{+name}", +"request": { +"$ref": "BusinessInfo" +}, +"response": { +"$ref": "BusinessInfo" +}, +"scopes": [ +"https://www.googleapis.com/auth/content" +] +} +} +}, +"developerRegistration": { +"methods": { +"getAccountForGcpRegistration": { +"description": "Retrieves the merchant account that the calling GCP is registered with.", +"flatPath": "accounts/v1/accounts:getAccountForGcpRegistration", +"httpMethod": "GET", +"id": "merchantapi.accounts.developerRegistration.getAccountForGcpRegistration", +"parameterOrder": [], +"parameters": {}, +"path": "accounts/v1/accounts:getAccountForGcpRegistration", +"response": { +"$ref": "GetAccountForGcpRegistrationResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/content" +] +}, +"getDeveloperRegistration": { +"description": "Retrieves a developer registration for a merchant.", +"flatPath": "accounts/v1/accounts/{accountsId}/developerRegistration", +"httpMethod": "GET", +"id": "merchantapi.accounts.developerRegistration.getDeveloperRegistration", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The `name` (ID) of the developer registration.", +"location": "path", +"pattern": "^accounts/[^/]+/developerRegistration$", +"required": true, +"type": "string" +} +}, +"path": "accounts/v1/{+name}", +"response": { +"$ref": "DeveloperRegistration" +}, +"scopes": [ +"https://www.googleapis.com/auth/content" +] +}, +"registerGcp": { +"description": "Registers the GCP used for the API call to the shopping account passed in the request. Will create a user with an \"API developer\" and add the \"developer_email\" as a contact with \"API notifications\" email preference on.", +"flatPath": "accounts/v1/accounts/{accountsId}/developerRegistration:registerGcp", +"httpMethod": "POST", +"id": "merchantapi.accounts.developerRegistration.registerGcp", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the developer registration to be created for the merchant account that the GCP will be registered with. Format: `accounts/{account}/developerRegistration`", +"location": "path", +"pattern": "^accounts/[^/]+/developerRegistration$", +"required": true, +"type": "string" +} +}, +"path": "accounts/v1/{+name}:registerGcp", +"request": { +"$ref": "RegisterGcpRequest" +}, +"response": { +"$ref": "DeveloperRegistration" +}, +"scopes": [ +"https://www.googleapis.com/auth/content" +] +}, +"unregisterGcp": { +"description": "Unregister the calling GCP from the calling shopping account. Note that the GCP will still be able to access the API for at most 1 day from the unregister succussful call.", +"flatPath": "accounts/v1/accounts/{accountsId}/developerRegistration:unregisterGcp", +"httpMethod": "POST", +"id": "merchantapi.accounts.developerRegistration.unregisterGcp", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the developer registration to be created for the merchant account that the GCP will be registered with. Format: `accounts/{account}/developerRegistration`", +"location": "path", +"pattern": "^accounts/[^/]+/developerRegistration$", +"required": true, +"type": "string" +} +}, +"path": "accounts/v1/{+name}:unregisterGcp", +"request": { +"$ref": "UnregisterGcpRequest" +}, +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/content" +] +} +} +}, +"emailPreferences": { +"methods": { +"getEmailPreferences": { +"description": "Returns the email preferences for a Merchant Center account user. This service only permits retrieving and updating email preferences for the authenticated user. Use the name=accounts/*/users/me/emailPreferences alias to get preferences for the authenticated user.", +"flatPath": "accounts/v1/accounts/{accountsId}/users/{usersId}/emailPreferences", +"httpMethod": "GET", +"id": "merchantapi.accounts.emailPreferences.getEmailPreferences", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the `EmailPreferences` resource. Format: `accounts/{account}/users/{email}/emailPreferences`", +"location": "path", +"pattern": "^accounts/[^/]+/users/[^/]+/emailPreferences$", +"required": true, +"type": "string" +} +}, +"path": "accounts/v1/{+name}", +"response": { +"$ref": "EmailPreferences" +}, +"scopes": [ +"https://www.googleapis.com/auth/content" +] +}, +"updateEmailPreferences": { +"description": "Updates the email preferences for a Merchant Center account user. Advanced account users should specify the advanced account rather than a sub-account of the advanced account. Preferences which are not explicitly selected in the update mask will not be updated. It is invalid for updates to specify an UNCONFIRMED opt-in status value. Use the name=accounts/*/users/me/emailPreferences alias to update preferences for the authenticated user.", +"flatPath": "accounts/v1/accounts/{accountsId}/users/{usersId}/emailPreferences", +"httpMethod": "PATCH", +"id": "merchantapi.accounts.emailPreferences.updateEmailPreferences", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Identifier. The name of the EmailPreferences. The endpoint is only supported for the authenticated user.", +"location": "path", +"pattern": "^accounts/[^/]+/users/[^/]+/emailPreferences$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Required. List of fields being updated. The following fields are supported (in both `snake_case` and `lowerCamelCase`): - `news_and_tips`", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "accounts/v1/{+name}", +"request": { +"$ref": "EmailPreferences" +}, +"response": { +"$ref": "EmailPreferences" +}, +"scopes": [ +"https://www.googleapis.com/auth/content" +] +} +} +}, +"gbpAccounts": { +"methods": { +"linkGbpAccount": { +"description": "Link the specified merchant to a GBP account for all countries. To run this method, you must have admin access to the Merchant Center account. If you don't have admin access, the request fails with the error message `User is not an administrator of account {ACCOUNT_ID}`.", +"flatPath": "accounts/v1/accounts/{accountsId}/gbpAccounts:linkGbpAccount", +"httpMethod": "POST", +"id": "merchantapi.accounts.gbpAccounts.linkGbpAccount", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The name of the parent resource to which the GBP account is linked. Format: `accounts/{account}`.", +"location": "path", +"pattern": "^accounts/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "accounts/v1/{+parent}/gbpAccounts:linkGbpAccount", +"request": { +"$ref": "LinkGbpAccountRequest" +}, +"response": { +"$ref": "LinkGbpAccountResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/content" +] +}, +"list": { +"description": "List the GBP accounts for a given merchant.", +"flatPath": "accounts/v1/accounts/{accountsId}/gbpAccounts", +"httpMethod": "GET", +"id": "merchantapi.accounts.gbpAccounts.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "Optional. The maximum number of `GbpAccount` resources to return. The service returns fewer than this value if the number of gbp accounts is less that than the `pageSize`. The default value is 50. The maximum value is 1000; If a value higher than the maximum is specified, then the `pageSize` will default to the maximum.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. A page token, received from a previous `ListGbpAccounts` call. Provide the page token to retrieve the subsequent page. When paginating, all other parameters provided to `ListGbpAccounts` must match the call that provided the page token.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The name of the parent resource under which the GBP accounts are listed. Format: `accounts/{account}`.", +"location": "path", +"pattern": "^accounts/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "accounts/v1/{+parent}/gbpAccounts", +"response": { +"$ref": "ListGbpAccountsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/content" +] +} +} +}, +"homepage": { +"methods": { +"claim": { +"description": "Claims a store's homepage. Executing this method requires admin access. If the homepage is already claimed, this will recheck the verification (unless the business is exempted from claiming, which also exempts from verification) and return a successful response. If ownership can no longer be verified, it will return an error, but it won't clear the claim. In case of failure, a canonical error message is returned: * PERMISSION_DENIED: User doesn't have the necessary permissions on this Merchant Center account. * FAILED_PRECONDITION: - The account is not a Merchant Center account. - Merchant Center account doesn't have a homepage. - Claiming failed (in this case the error message contains more details).", +"flatPath": "accounts/v1/accounts/{accountsId}/homepage:claim", +"httpMethod": "POST", +"id": "merchantapi.accounts.homepage.claim", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the homepage to claim. Format: `accounts/{account}/homepage`", +"location": "path", +"pattern": "^accounts/[^/]+/homepage$", +"required": true, +"type": "string" +} +}, +"path": "accounts/v1/{+name}:claim", +"request": { +"$ref": "ClaimHomepageRequest" +}, +"response": { +"$ref": "Homepage" +}, +"scopes": [ +"https://www.googleapis.com/auth/content" +] +}, +"getHomepage": { +"description": "Retrieves a store's homepage.", +"flatPath": "accounts/v1/accounts/{accountsId}/homepage", +"httpMethod": "GET", +"id": "merchantapi.accounts.homepage.getHomepage", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the homepage to retrieve. Format: `accounts/{account}/homepage`", +"location": "path", +"pattern": "^accounts/[^/]+/homepage$", +"required": true, +"type": "string" +} +}, +"path": "accounts/v1/{+name}", +"response": { +"$ref": "Homepage" +}, +"scopes": [ +"https://www.googleapis.com/auth/content" +] +}, +"unclaim": { +"description": "Unclaims a store's homepage. Executing this method requires admin access.", +"flatPath": "accounts/v1/accounts/{accountsId}/homepage:unclaim", +"httpMethod": "POST", +"id": "merchantapi.accounts.homepage.unclaim", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the homepage to unclaim. Format: `accounts/{account}/homepage`", +"location": "path", +"pattern": "^accounts/[^/]+/homepage$", +"required": true, +"type": "string" +} +}, +"path": "accounts/v1/{+name}:unclaim", +"request": { +"$ref": "UnclaimHomepageRequest" +}, +"response": { +"$ref": "Homepage" +}, +"scopes": [ +"https://www.googleapis.com/auth/content" +] +}, +"updateHomepage": { +"description": "Updates a store's homepage. Executing this method requires admin access.", +"flatPath": "accounts/v1/accounts/{accountsId}/homepage", +"httpMethod": "PATCH", +"id": "merchantapi.accounts.homepage.updateHomepage", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Identifier. The resource name of the store's homepage. Format: `accounts/{account}/homepage`", +"location": "path", +"pattern": "^accounts/[^/]+/homepage$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Optional. List of fields being updated. The following fields are supported (in both `snake_case` and `lowerCamelCase`): - `uri`", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "accounts/v1/{+name}", +"request": { +"$ref": "Homepage" +}, +"response": { +"$ref": "Homepage" +}, +"scopes": [ +"https://www.googleapis.com/auth/content" +] +} +} +}, +"issues": { +"methods": { +"list": { +"description": "Lists all account issues of a Merchant Center account. When called on a multi-client account, this method only returns issues belonging to that account, not its sub-accounts. To retrieve issues for sub-accounts, you must first call the accounts.listSubaccounts method to obtain a list of sub-accounts, and then call `accounts.issues.list` for each sub-account individually.", +"flatPath": "accounts/v1/accounts/{accountsId}/issues", +"httpMethod": "GET", +"id": "merchantapi.accounts.issues.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"languageCode": { +"description": "Optional. The issues in the response will have human-readable fields in the given language. The format is [BCP-47](https://tools.ietf.org/html/bcp47), such as `en-US` or `sr-Latn`. If not value is provided, `en-US` will be used.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Optional. The maximum number of issues to return. The service may return fewer than this value. If unspecified, at most 50 issues will be returned. The maximum value is 100; values above 100 will be coerced to 100", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. A page token, received from a previous `ListAccountIssues` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListAccountIssues` must match the call that provided the page token.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent, which owns this collection of issues. Format: `accounts/{account}`", +"location": "path", +"pattern": "^accounts/[^/]+$", +"required": true, +"type": "string" +}, +"timeZone": { +"description": "Optional. The [IANA](https://www.iana.org/time-zones) timezone used to localize times in human-readable fields. For example 'America/Los_Angeles'. If not set, 'America/Los_Angeles' will be used.", +"location": "query", +"type": "string" +} +}, +"path": "accounts/v1/{+parent}/issues", +"response": { +"$ref": "ListAccountIssuesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/content" +] +} +} +}, +"omnichannelSettings": { +"methods": { +"create": { +"description": "Create the omnichannel settings for a given merchant.", +"flatPath": "accounts/v1/accounts/{accountsId}/omnichannelSettings", +"httpMethod": "POST", +"id": "merchantapi.accounts.omnichannelSettings.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The parent resource where this omnichannel setting will be created. Format: `accounts/{account}`", +"location": "path", +"pattern": "^accounts/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "accounts/v1/{+parent}/omnichannelSettings", +"request": { +"$ref": "OmnichannelSetting" +}, +"response": { +"$ref": "OmnichannelSetting" +}, +"scopes": [ +"https://www.googleapis.com/auth/content" +] +}, +"get": { +"description": "Get the omnichannel settings for a given merchant.", +"flatPath": "accounts/v1/accounts/{accountsId}/omnichannelSettings/{omnichannelSettingsId}", +"httpMethod": "GET", +"id": "merchantapi.accounts.omnichannelSettings.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the omnichannel setting to retrieve. Format: `accounts/{account}/omnichannelSettings/{omnichannel_setting}`", +"location": "path", +"pattern": "^accounts/[^/]+/omnichannelSettings/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "accounts/v1/{+name}", +"response": { +"$ref": "OmnichannelSetting" +}, +"scopes": [ +"https://www.googleapis.com/auth/content" +] +}, +"list": { +"description": "List all the omnichannel settings for a given merchant.", +"flatPath": "accounts/v1/accounts/{accountsId}/omnichannelSettings", +"httpMethod": "GET", +"id": "merchantapi.accounts.omnichannelSettings.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "Optional. The maximum number of omnichannel settings to return. The service may return fewer than this value. If unspecified, at most 50 omnichannel settings will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. A page token, received from a previous `ListOmnichannelSettings` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListOmnichannelSettings` must match the call that provided the page token.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent, which owns this collection of omnichannel settings. Format: `accounts/{account}`", +"location": "path", +"pattern": "^accounts/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "accounts/v1/{+parent}/omnichannelSettings", +"response": { +"$ref": "ListOmnichannelSettingsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/content" +] +}, +"patch": { +"description": "Update the omnichannel setting for a given merchant in a given country.", +"flatPath": "accounts/v1/accounts/{accountsId}/omnichannelSettings/{omnichannelSettingsId}", +"httpMethod": "PATCH", +"id": "merchantapi.accounts.omnichannelSettings.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Identifier. The resource name of the omnichannel setting. Format: `accounts/{account}/omnichannelSettings/{omnichannel_setting}`", +"location": "path", +"pattern": "^accounts/[^/]+/omnichannelSettings/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Required. The list of fields to be updated. The following fields are supported in snake_case only: - `lsf_type` - `in_stock` - `pickup` - `odo` - `about` - `inventory_verification` Full replacement with wildcard `*`is supported, while empty/implied update mask is not.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "accounts/v1/{+name}", +"request": { +"$ref": "OmnichannelSetting" +}, +"response": { +"$ref": "OmnichannelSetting" +}, +"scopes": [ +"https://www.googleapis.com/auth/content" +] +}, +"requestInventoryVerification": { +"description": "Requests inventory verification for a given merchant in a given country.", +"flatPath": "accounts/v1/accounts/{accountsId}/omnichannelSettings/{omnichannelSettingsId}:requestInventoryVerification", +"httpMethod": "POST", +"id": "merchantapi.accounts.omnichannelSettings.requestInventoryVerification", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the omnichannel setting to request inventory verification. Format: `accounts/{account}/omnichannelSettings/{omnichannel_setting}`", +"location": "path", +"pattern": "^accounts/[^/]+/omnichannelSettings/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "accounts/v1/{+name}:requestInventoryVerification", +"request": { +"$ref": "RequestInventoryVerificationRequest" +}, +"response": { +"$ref": "RequestInventoryVerificationResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/content" +] +} +}, +"resources": { +"lfpProviders": { +"methods": { +"find": { +"description": "Find the LFP provider candidates in a given country.", +"flatPath": "accounts/v1/accounts/{accountsId}/omnichannelSettings/{omnichannelSettingsId}/lfpProviders:find", +"httpMethod": "GET", +"id": "merchantapi.accounts.omnichannelSettings.lfpProviders.find", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "Optional. The maximum number of `LfpProvider` resources to return. The service returns fewer than this value if the number of lfp providers is less that than the `pageSize`. The default value is 50. The maximum value is 1000; If a value higher than the maximum is specified, then the `pageSize` will default to the maximum.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. A page token, received from a previous `FindLfpProviders` call. Provide the page token to retrieve the subsequent page. When paginating, all other parameters provided to `FindLfpProviders` must match the call that provided the page token.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The name of the parent resource under which the LFP providers are found. Format: `accounts/{account}/omnichannelSettings/{omnichannel_setting}`.", +"location": "path", +"pattern": "^accounts/[^/]+/omnichannelSettings/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "accounts/v1/{+parent}/lfpProviders:find", +"response": { +"$ref": "FindLfpProvidersResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/content" +] +}, +"linkLfpProvider": { +"description": "Link the specified merchant to a LFP provider for the specified country.", +"flatPath": "accounts/v1/accounts/{accountsId}/omnichannelSettings/{omnichannelSettingsId}/lfpProviders/{lfpProvidersId}:linkLfpProvider", +"httpMethod": "POST", +"id": "merchantapi.accounts.omnichannelSettings.lfpProviders.linkLfpProvider", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the LFP provider resource to link. Format: `accounts/{account}/omnichannelSettings/{omnichannel_setting}/lfpProviders/{lfp_provider}`. The `lfp_provider` is the LFP provider ID.", +"location": "path", +"pattern": "^accounts/[^/]+/omnichannelSettings/[^/]+/lfpProviders/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "accounts/v1/{+name}:linkLfpProvider", +"request": { +"$ref": "LinkLfpProviderRequest" +}, +"response": { +"$ref": "LinkLfpProviderResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/content" +] +} +} +} +} +}, +"onlineReturnPolicies": { +"methods": { +"create": { +"description": "Creates a new return policy for a given business.", +"flatPath": "accounts/v1/accounts/{accountsId}/onlineReturnPolicies", +"httpMethod": "POST", +"id": "merchantapi.accounts.onlineReturnPolicies.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The Merchant Center account for which the return policy will be created. Format: `accounts/{account}`", +"location": "path", +"pattern": "^accounts/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "accounts/v1/{+parent}/onlineReturnPolicies", +"request": { +"$ref": "OnlineReturnPolicy" +}, +"response": { +"$ref": "OnlineReturnPolicy" +}, +"scopes": [ +"https://www.googleapis.com/auth/content" +] +}, +"delete": { +"description": "Deletes an existing return policy.", +"flatPath": "accounts/v1/accounts/{accountsId}/onlineReturnPolicies/{onlineReturnPoliciesId}", +"httpMethod": "DELETE", +"id": "merchantapi.accounts.onlineReturnPolicies.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the return policy to delete. Format: `accounts/{account}/onlineReturnPolicies/{return_policy}`", +"location": "path", +"pattern": "^accounts/[^/]+/onlineReturnPolicies/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "accounts/v1/{+name}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/content" +] +}, +"get": { +"description": "Gets an existing return policy for a given business.", +"flatPath": "accounts/v1/accounts/{accountsId}/onlineReturnPolicies/{onlineReturnPoliciesId}", +"httpMethod": "GET", +"id": "merchantapi.accounts.onlineReturnPolicies.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the return policy to retrieve. Format: `accounts/{account}/onlineReturnPolicies/{return_policy}`", +"location": "path", +"pattern": "^accounts/[^/]+/onlineReturnPolicies/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "accounts/v1/{+name}", +"response": { +"$ref": "OnlineReturnPolicy" +}, +"scopes": [ +"https://www.googleapis.com/auth/content" +] +}, +"list": { +"description": "Lists all existing return policies for a given business.", +"flatPath": "accounts/v1/accounts/{accountsId}/onlineReturnPolicies", +"httpMethod": "GET", +"id": "merchantapi.accounts.onlineReturnPolicies.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "Optional. The maximum number of `OnlineReturnPolicy` resources to return. The service returns fewer than this value if the number of return policies for the given business is less that than the `pageSize`. The default value is 10. The maximum value is 100; If a value higher than the maximum is specified, then the `pageSize` will default to the maximum", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. A page token, received from a previous `ListOnlineReturnPolicies` call. Provide the page token to retrieve the subsequent page. When paginating, all other parameters provided to `ListOnlineReturnPolicies` must match the call that provided the page token. The token returned as nextPageToken in the response to the previous request.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The Merchant Center account for which to list return policies. Format: `accounts/{account}`", +"location": "path", +"pattern": "^accounts/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "accounts/v1/{+parent}/onlineReturnPolicies", +"response": { +"$ref": "ListOnlineReturnPoliciesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/content" +] +} +} +}, +"programs": { +"methods": { +"disable": { +"description": "Disable participation in the specified program for the account.", +"flatPath": "accounts/v1/accounts/{accountsId}/programs/{programsId}:disable", +"httpMethod": "POST", +"id": "merchantapi.accounts.programs.disable", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the program for which to disable participation for the given account. Format: `accounts/{account}/programs/{program}`. For example, `accounts/123456/programs/free-listings`.", +"location": "path", +"pattern": "^accounts/[^/]+/programs/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "accounts/v1/{+name}:disable", +"request": { +"$ref": "DisableProgramRequest" +}, +"response": { +"$ref": "Program" +}, +"scopes": [ +"https://www.googleapis.com/auth/content" +] +}, +"enable": { +"description": "Enable participation in the specified program for the account.", +"flatPath": "accounts/v1/accounts/{accountsId}/programs/{programsId}:enable", +"httpMethod": "POST", +"id": "merchantapi.accounts.programs.enable", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the program for which to enable participation for the given account. Format: `accounts/{account}/programs/{program}`. For example, `accounts/123456/programs/free-listings`.", +"location": "path", +"pattern": "^accounts/[^/]+/programs/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "accounts/v1/{+name}:enable", +"request": { +"$ref": "EnableProgramRequest" +}, +"response": { +"$ref": "Program" +}, +"scopes": [ +"https://www.googleapis.com/auth/content" +] +}, +"get": { +"description": "Retrieves the specified program for the account.", +"flatPath": "accounts/v1/accounts/{accountsId}/programs/{programsId}", +"httpMethod": "GET", +"id": "merchantapi.accounts.programs.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the program to retrieve. Format: `accounts/{account}/programs/{program}`. For example, `accounts/123456/programs/free-listings`.", +"location": "path", +"pattern": "^accounts/[^/]+/programs/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "accounts/v1/{+name}", +"response": { +"$ref": "Program" +}, +"scopes": [ +"https://www.googleapis.com/auth/content" +] +}, +"list": { +"description": "Retrieves all programs for the account.", +"flatPath": "accounts/v1/accounts/{accountsId}/programs", +"httpMethod": "GET", +"id": "merchantapi.accounts.programs.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "Optional. The maximum number of programs to return in a single response. If unspecified (or 0), a default size of 1000 is used. The maximum value is 1000; values above 1000 will be coerced to 1000.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. A continuation token, received from a previous `ListPrograms` call. Provide this to retrieve the next page.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The name of the account for which to retrieve all programs. Format: `accounts/{account}`", +"location": "path", +"pattern": "^accounts/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "accounts/v1/{+parent}/programs", +"response": { +"$ref": "ListProgramsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/content" +] +} +}, +"resources": { +"checkoutSettings": { +"methods": { +"create": { +"description": "Creates `CheckoutSettings` for the given merchant.", +"flatPath": "accounts/v1/accounts/{accountsId}/programs/{programsId}/checkoutSettings", +"httpMethod": "POST", +"id": "merchantapi.accounts.programs.checkoutSettings.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The merchant account for which the `CheckoutSettings` will be created.", +"location": "path", +"pattern": "^accounts/[^/]+/programs/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "accounts/v1/{+parent}/checkoutSettings", +"request": { +"$ref": "CheckoutSettings" +}, +"response": { +"$ref": "CheckoutSettings" +}, +"scopes": [ +"https://www.googleapis.com/auth/content" +] +}, +"deleteCheckoutSettings": { +"description": "Deletes `CheckoutSettings` and unenrolls merchant from `Checkout` program.", +"flatPath": "accounts/v1/accounts/{accountsId}/programs/{programsId}/checkoutSettings", +"httpMethod": "DELETE", +"id": "merchantapi.accounts.programs.checkoutSettings.deleteCheckoutSettings", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name/identifier of the merchant account. Format: `accounts/{account}/programs/{program}/checkoutSettings`", +"location": "path", +"pattern": "^accounts/[^/]+/programs/[^/]+/checkoutSettings$", +"required": true, +"type": "string" +} +}, +"path": "accounts/v1/{+name}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/content" +] +}, +"getCheckoutSettings": { +"description": "Gets `CheckoutSettings` for the given merchant. This includes information about review state, enrollment state and URL settings.", +"flatPath": "accounts/v1/accounts/{accountsId}/programs/{programsId}/checkoutSettings", +"httpMethod": "GET", +"id": "merchantapi.accounts.programs.checkoutSettings.getCheckoutSettings", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name/identifier of the merchant account. Format: `accounts/{account}/programs/{program}/checkoutSettings`", +"location": "path", +"pattern": "^accounts/[^/]+/programs/[^/]+/checkoutSettings$", +"required": true, +"type": "string" +} +}, +"path": "accounts/v1/{+name}", +"response": { +"$ref": "CheckoutSettings" +}, +"scopes": [ +"https://www.googleapis.com/auth/content" +] +}, +"updateCheckoutSettings": { +"description": "Updates `CheckoutSettings` for the given merchant.", +"flatPath": "accounts/v1/accounts/{accountsId}/programs/{programsId}/checkoutSettings", +"httpMethod": "PATCH", +"id": "merchantapi.accounts.programs.checkoutSettings.updateCheckoutSettings", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Identifier. The resource name of the program configuration settings. Format: `accounts/{account}/programs/{program}/checkoutSettings`", +"location": "path", +"pattern": "^accounts/[^/]+/programs/[^/]+/checkoutSettings$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Required. List of fields being updated. The following fields are supported (in both `snake_case` and `lowerCamelCase`): - `eligible_destinations` - `uri_settings`", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "accounts/v1/{+name}", +"request": { +"$ref": "CheckoutSettings" +}, +"response": { +"$ref": "CheckoutSettings" +}, +"scopes": [ +"https://www.googleapis.com/auth/content" +] +} +} +} +} +}, +"regions": { +"methods": { +"batchCreate": { +"description": "Creates one or more regions in your Merchant Center account. Executing this method requires admin access.", +"flatPath": "accounts/v1/accounts/{accountsId}/regions:batchCreate", +"httpMethod": "POST", +"id": "merchantapi.accounts.regions.batchCreate", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The account to create one or more regions for. Format: `accounts/{account}`", +"location": "path", +"pattern": "^accounts/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "accounts/v1/{+parent}/regions:batchCreate", +"request": { +"$ref": "BatchCreateRegionsRequest" +}, +"response": { +"$ref": "BatchCreateRegionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/content" +] +}, +"batchDelete": { +"description": "Deletes multiple regions by name from your Merchant Center account. Executing this method requires admin access.", +"flatPath": "accounts/v1/accounts/{accountsId}/regions:batchDelete", +"httpMethod": "POST", +"id": "merchantapi.accounts.regions.batchDelete", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The account to delete one or more regions from. Format: `accounts/{account}`", +"location": "path", +"pattern": "^accounts/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "accounts/v1/{+parent}/regions:batchDelete", +"request": { +"$ref": "BatchDeleteRegionsRequest" +}, +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/content" +] +}, +"batchUpdate": { +"description": "Updates one or more regions in your Merchant Center account. Executing this method requires admin access.", +"flatPath": "accounts/v1/accounts/{accountsId}/regions:batchUpdate", +"httpMethod": "POST", +"id": "merchantapi.accounts.regions.batchUpdate", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The account to update one or more regions for. Format: `accounts/{account}`", +"location": "path", +"pattern": "^accounts/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "accounts/v1/{+parent}/regions:batchUpdate", +"request": { +"$ref": "BatchUpdateRegionsRequest" +}, +"response": { +"$ref": "BatchUpdateRegionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/content" +] +}, +"create": { +"description": "Creates a region definition in your Merchant Center account. Executing this method requires admin access.", +"flatPath": "accounts/v1/accounts/{accountsId}/regions", +"httpMethod": "POST", +"id": "merchantapi.accounts.regions.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The account to create a region for. Format: `accounts/{account}`", +"location": "path", +"pattern": "^accounts/[^/]+$", +"required": true, +"type": "string" +}, +"regionId": { +"description": "Required. The identifier for the region, unique over all regions of the same account.", +"location": "query", +"type": "string" +} +}, +"path": "accounts/v1/{+parent}/regions", +"request": { +"$ref": "Region" +}, +"response": { +"$ref": "Region" +}, +"scopes": [ +"https://www.googleapis.com/auth/content" +] +}, +"delete": { +"description": "Deletes a region definition from your Merchant Center account. Executing this method requires admin access.", +"flatPath": "accounts/v1/accounts/{accountsId}/regions/{regionsId}", +"httpMethod": "DELETE", +"id": "merchantapi.accounts.regions.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the region to delete. Format: `accounts/{account}/regions/{region}`", +"location": "path", +"pattern": "^accounts/[^/]+/regions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "accounts/v1/{+name}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/content" +] +}, +"get": { +"description": "Retrieves a region defined in your Merchant Center account.", +"flatPath": "accounts/v1/accounts/{accountsId}/regions/{regionsId}", +"httpMethod": "GET", +"id": "merchantapi.accounts.regions.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the region to retrieve. Format: `accounts/{account}/regions/{region}`", +"location": "path", +"pattern": "^accounts/[^/]+/regions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "accounts/v1/{+name}", +"response": { +"$ref": "Region" +}, +"scopes": [ +"https://www.googleapis.com/auth/content" +] +}, +"list": { +"description": "Lists the regions in your Merchant Center account.", +"flatPath": "accounts/v1/accounts/{accountsId}/regions", +"httpMethod": "GET", +"id": "merchantapi.accounts.regions.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "Optional. The maximum number of regions to return. The service may return fewer than this value. If unspecified, at most 50 regions will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. A page token, received from a previous `ListRegions` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListRegions` must match the call that provided the page token.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The account to list regions for. Format: `accounts/{account}`", +"location": "path", +"pattern": "^accounts/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "accounts/v1/{+parent}/regions", +"response": { +"$ref": "ListRegionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/content" +] +}, +"patch": { +"description": "Updates a region definition in your Merchant Center account. Executing this method requires admin access.", +"flatPath": "accounts/v1/accounts/{accountsId}/regions/{regionsId}", +"httpMethod": "PATCH", +"id": "merchantapi.accounts.regions.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Identifier. The resource name of the region. Format: `accounts/{account}/regions/{region}`", +"location": "path", +"pattern": "^accounts/[^/]+/regions/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Optional. The comma-separated field mask indicating the fields to update. Example: `\"displayName,postalCodeArea.regionCode\"`.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "accounts/v1/{+name}", +"request": { +"$ref": "Region" +}, +"response": { +"$ref": "Region" +}, +"scopes": [ +"https://www.googleapis.com/auth/content" +] +} +} +}, +"relationships": { +"methods": { +"get": { +"description": "Retrieve an account relationship.", +"flatPath": "accounts/v1/accounts/{accountsId}/relationships/{relationshipsId}", +"httpMethod": "GET", +"id": "merchantapi.accounts.relationships.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the account relationship to get. Format: `accounts/{account}/relationships/{relationship}`. For example, `accounts/123456/relationships/567890`.", +"location": "path", +"pattern": "^accounts/[^/]+/relationships/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "accounts/v1/{+name}", +"response": { +"$ref": "AccountRelationship" +}, +"scopes": [ +"https://www.googleapis.com/auth/content" +] +}, +"list": { +"description": "List account relationships for the specified account.", +"flatPath": "accounts/v1/accounts/{accountsId}/relationships", +"httpMethod": "GET", +"id": "merchantapi.accounts.relationships.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "Optional. The maximum number of elements to return in the response. Use for paging. If no `page_size` is specified, `100` is used as the default value. The maximum allowed value is `1000`.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. The token returned by the previous `list` request.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent account of the account relationship to filter by. Format: `accounts/{account}`", +"location": "path", +"pattern": "^accounts/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "accounts/v1/{+parent}/relationships", +"response": { +"$ref": "ListAccountRelationshipsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/content" +] +}, +"patch": { +"description": "Updates the account relationship. Executing this method requires admin access.", +"flatPath": "accounts/v1/accounts/{accountsId}/relationships/{relationshipsId}", +"httpMethod": "PATCH", +"id": "merchantapi.accounts.relationships.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Identifier. The resource name of the account relationship. Format: `accounts/{account}/relationships/{relationship}`. For example, `accounts/123456/relationships/567890`.", +"location": "path", +"pattern": "^accounts/[^/]+/relationships/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Optional. List of fields being updated. The following fields are supported (in both `snake_case` and `lowerCamelCase`): - `account_id_alias`", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "accounts/v1/{+name}", +"request": { +"$ref": "AccountRelationship" +}, +"response": { +"$ref": "AccountRelationship" +}, +"scopes": [ +"https://www.googleapis.com/auth/content" +] +} +} +}, +"services": { +"methods": { +"approve": { +"description": "Approve an account service proposal.", +"flatPath": "accounts/v1/accounts/{accountsId}/services/{servicesId}:approve", +"httpMethod": "POST", +"id": "merchantapi.accounts.services.approve", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the account service to approve. Format: `accounts/{account}/services/{service}`", +"location": "path", +"pattern": "^accounts/[^/]+/services/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "accounts/v1/{+name}:approve", +"request": { +"$ref": "ApproveAccountServiceRequest" +}, +"response": { +"$ref": "AccountService" +}, +"scopes": [ +"https://www.googleapis.com/auth/content" +] +}, +"get": { +"description": "Retrieve an account service.", +"flatPath": "accounts/v1/accounts/{accountsId}/services/{servicesId}", +"httpMethod": "GET", +"id": "merchantapi.accounts.services.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the account service to get. Format: `accounts/{account}/services/{service}`", +"location": "path", +"pattern": "^accounts/[^/]+/services/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "accounts/v1/{+name}", +"response": { +"$ref": "AccountService" +}, +"scopes": [ +"https://www.googleapis.com/auth/content" +] +}, +"list": { +"description": "List account services for the specified accounts. Supports filtering.", +"flatPath": "accounts/v1/accounts/{accountsId}/services", +"httpMethod": "GET", +"id": "merchantapi.accounts.services.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "Optional. The maximum number of elements to return in the response. Use for paging. If no `page_size` is specified, `100` is used as the default value. The maximum allowed value is `1000`.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. The token returned by the previous `list` request.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent account of the account service to filter by. Format: `accounts/{account}`", +"location": "path", +"pattern": "^accounts/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "accounts/v1/{+parent}/services", +"response": { +"$ref": "ListAccountServicesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/content" +] +}, +"propose": { +"description": "Propose an account service.", +"flatPath": "accounts/v1/accounts/{accountsId}/services:propose", +"httpMethod": "POST", +"id": "merchantapi.accounts.services.propose", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The resource name of the parent account for the service. Format: `accounts/{account}`", +"location": "path", +"pattern": "^accounts/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "accounts/v1/{+parent}/services:propose", +"request": { +"$ref": "ProposeAccountServiceRequest" +}, +"response": { +"$ref": "AccountService" +}, +"scopes": [ +"https://www.googleapis.com/auth/content" +] +}, +"reject": { +"description": "Reject an account service (both proposed and approve services can be rejected).", +"flatPath": "accounts/v1/accounts/{accountsId}/services/{servicesId}:reject", +"httpMethod": "POST", +"id": "merchantapi.accounts.services.reject", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the account service to reject. Format: `accounts/{account}/services/{service}`", +"location": "path", +"pattern": "^accounts/[^/]+/services/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "accounts/v1/{+name}:reject", +"request": { +"$ref": "RejectAccountServiceRequest" +}, +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/content" +] +} +} +}, +"shippingSettings": { +"methods": { +"getShippingSettings": { +"description": "Retrieve shipping setting information.", +"flatPath": "accounts/v1/accounts/{accountsId}/shippingSettings", +"httpMethod": "GET", +"id": "merchantapi.accounts.shippingSettings.getShippingSettings", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the shipping setting to retrieve. Format: `accounts/{account}/shippingsettings`", +"location": "path", +"pattern": "^accounts/[^/]+/shippingSettings$", +"required": true, +"type": "string" +} +}, +"path": "accounts/v1/{+name}", +"response": { +"$ref": "ShippingSettings" +}, +"scopes": [ +"https://www.googleapis.com/auth/content" +] +}, +"insert": { +"description": "Replace the shipping setting of a business with the request shipping setting. Executing this method requires admin access.", +"flatPath": "accounts/v1/accounts/{accountsId}/shippingSettings:insert", +"httpMethod": "POST", +"id": "merchantapi.accounts.shippingSettings.insert", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The account for which this shipping setting will be inserted. If you are using an advanced account, you must specify the unique identifier of the sub-account for which you want to insert the shipping setting. Format: `accounts/{ACCOUNT_ID}`", +"location": "path", +"pattern": "^accounts/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "accounts/v1/{+parent}/shippingSettings:insert", +"request": { +"$ref": "ShippingSettings" +}, +"response": { +"$ref": "ShippingSettings" +}, +"scopes": [ +"https://www.googleapis.com/auth/content" +] +} +} +}, +"termsOfServiceAgreementStates": { +"methods": { +"get": { +"description": "Returns the state of a terms of service agreement.", +"flatPath": "accounts/v1/accounts/{accountsId}/termsOfServiceAgreementStates/{termsOfServiceAgreementStatesId}", +"httpMethod": "GET", +"id": "merchantapi.accounts.termsOfServiceAgreementStates.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the terms of service version. Format: `accounts/{account}/termsOfServiceAgreementStates/{identifier}` The identifier format is: `{TermsOfServiceKind}-{country}`", +"location": "path", +"pattern": "^accounts/[^/]+/termsOfServiceAgreementStates/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "accounts/v1/{+name}", +"response": { +"$ref": "TermsOfServiceAgreementState" +}, +"scopes": [ +"https://www.googleapis.com/auth/content" +] +}, +"retrieveForApplication": { +"description": "Retrieves the state of the agreement for the application terms of service. Application terms of service covers permissions related to the usage of data provided through Merchant Center, CSS Center, Manufacturer Center, and more.", +"flatPath": "accounts/v1/accounts/{accountsId}/termsOfServiceAgreementStates:retrieveForApplication", +"httpMethod": "GET", +"id": "merchantapi.accounts.termsOfServiceAgreementStates.retrieveForApplication", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The account for which to get a TermsOfServiceAgreementState Format: `accounts/{account}`", +"location": "path", +"pattern": "^accounts/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "accounts/v1/{+parent}/termsOfServiceAgreementStates:retrieveForApplication", +"response": { +"$ref": "TermsOfServiceAgreementState" +}, +"scopes": [ +"https://www.googleapis.com/auth/content" +] +} +} +}, +"users": { +"methods": { +"create": { +"description": "Creates a Merchant Center account user. Executing this method requires admin access.", +"flatPath": "accounts/v1/accounts/{accountsId}/users", +"httpMethod": "POST", +"id": "merchantapi.accounts.users.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The resource name of the account for which a user will be created. Format: `accounts/{account}`", +"location": "path", +"pattern": "^accounts/[^/]+$", +"required": true, +"type": "string" +}, +"userId": { +"description": "Required. The email address of the user (for example, `john.doe@gmail.com`).", +"location": "query", +"type": "string" +} +}, +"path": "accounts/v1/{+parent}/users", +"request": { +"$ref": "User" +}, +"response": { +"$ref": "User" +}, +"scopes": [ +"https://www.googleapis.com/auth/content" +] +}, +"delete": { +"description": "Deletes a Merchant Center account user. Executing this method requires admin access. The user to be deleted can't be the last admin user of that account. Also a user is protected from deletion if it is managed by Business Manager\"", +"flatPath": "accounts/v1/accounts/{accountsId}/users/{usersId}", +"httpMethod": "DELETE", +"id": "merchantapi.accounts.users.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the user to delete. Format: `accounts/{account}/users/{email}` It is also possible to delete the user corresponding to the caller by using `me` rather than an email address as in `accounts/{account}/users/me`.", +"location": "path", +"pattern": "^accounts/[^/]+/users/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "accounts/v1/{+name}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/content" +] +}, +"get": { +"description": "Retrieves a Merchant Center account user.", +"flatPath": "accounts/v1/accounts/{accountsId}/users/{usersId}", +"httpMethod": "GET", +"id": "merchantapi.accounts.users.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the user to retrieve. Format: `accounts/{account}/users/{email}` It is also possible to retrieve the user corresponding to the caller by using `me` rather than an email address as in `accounts/{account}/users/me`.", +"location": "path", +"pattern": "^accounts/[^/]+/users/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "accounts/v1/{+name}", +"response": { +"$ref": "User" +}, +"scopes": [ +"https://www.googleapis.com/auth/content" +] +}, +"list": { +"description": "Lists all users of a Merchant Center account.", +"flatPath": "accounts/v1/accounts/{accountsId}/users", +"httpMethod": "GET", +"id": "merchantapi.accounts.users.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "Optional. The maximum number of users to return. The service may return fewer than this value. If unspecified, at most 50 users will be returned. The maximum value is 100; values above 100 will be coerced to 100", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. A page token, received from a previous `ListUsers` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListUsers` must match the call that provided the page token.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent, which owns this collection of users. Format: `accounts/{account}`", +"location": "path", +"pattern": "^accounts/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "accounts/v1/{+parent}/users", +"response": { +"$ref": "ListUsersResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/content" +] +}, +"patch": { +"description": "Updates a Merchant Center account user. Executing this method requires admin access.", +"flatPath": "accounts/v1/accounts/{accountsId}/users/{usersId}", +"httpMethod": "PATCH", +"id": "merchantapi.accounts.users.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Identifier. The resource name of the user. Format: `accounts/{account}/user/{email}` Use `me` to refer to your own email address, for example `accounts/{account}/users/me`.", +"location": "path", +"pattern": "^accounts/[^/]+/users/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Optional. List of fields being updated. The following fields are supported (in both `snake_case` and `lowerCamelCase`): - `access_rights`", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "accounts/v1/{+name}", +"request": { +"$ref": "User" +}, +"response": { +"$ref": "User" +}, +"scopes": [ +"https://www.googleapis.com/auth/content" +] +} +}, +"resources": { +"me": { +"methods": { +"verifySelf": { +"description": "Updates the user that is represented by the caller from pending to verified.", +"flatPath": "accounts/v1/accounts/{accountsId}/users/me:verifySelf", +"httpMethod": "PATCH", +"id": "merchantapi.accounts.users.me.verifySelf", +"parameterOrder": [ +"account" +], +"parameters": { +"account": { +"description": "Required. The name of the account under which the caller is a user. Format: `accounts/{account}`", +"location": "path", +"pattern": "^accounts/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "accounts/v1/{+account}/users/me:verifySelf", +"request": { +"$ref": "VerifySelfRequest" +}, +"response": { +"$ref": "User" +}, +"scopes": [ +"https://www.googleapis.com/auth/content" +] +} +} +} +} +} +} +}, +"termsOfService": { +"methods": { +"accept": { +"description": "Accepts a `TermsOfService`. Executing this method requires admin access.", +"flatPath": "accounts/v1/termsOfService/{termsOfServiceId}:accept", +"httpMethod": "POST", +"id": "merchantapi.termsOfService.accept", +"parameterOrder": [ +"name" +], +"parameters": { +"account": { +"description": "Required. The account for which to accept the ToS. Format: `accounts/{account}`", +"location": "query", +"type": "string" +}, +"name": { +"description": "Required. The resource name of the terms of service version. Format: `termsOfService/{version}`", +"location": "path", +"pattern": "^termsOfService/[^/]+$", +"required": true, +"type": "string" +}, +"regionCode": { +"description": "Required. Region code as defined by [CLDR](https://cldr.unicode.org/). This is either a country when the ToS applies specifically to that country or 001 when it applies globally.", +"location": "query", +"type": "string" +} +}, +"path": "accounts/v1/{+name}:accept", +"response": { +"$ref": "AcceptTermsOfServiceResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/content" +] +}, +"get": { +"description": "Retrieves the `TermsOfService` associated with the provided version.", +"flatPath": "accounts/v1/termsOfService/{termsOfServiceId}", +"httpMethod": "GET", +"id": "merchantapi.termsOfService.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the terms of service version. Format: `termsOfService/{version}`", +"location": "path", +"pattern": "^termsOfService/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "accounts/v1/{+name}", +"response": { +"$ref": "TermsOfService" +}, +"scopes": [ +"https://www.googleapis.com/auth/content" +] +}, +"retrieveLatest": { +"description": "Retrieves the latest version of the `TermsOfService` for a given `kind` and `region_code`.", +"flatPath": "accounts/v1/termsOfService:retrieveLatest", +"httpMethod": "GET", +"id": "merchantapi.termsOfService.retrieveLatest", +"parameterOrder": [], +"parameters": { +"kind": { +"description": "Required. The Kind this terms of service version applies to.", +"enum": [ +"TERMS_OF_SERVICE_KIND_UNSPECIFIED", +"MERCHANT_CENTER" +], +"enumDescriptions": [ +"Default value. This value is unused.", +"Merchant Center application." +], +"location": "query", +"type": "string" +}, +"regionCode": { +"description": "Required. Region code as defined by [CLDR](https://cldr.unicode.org/). This is either a country when the ToS applies specifically to that country or 001 when it applies globally.", +"location": "query", +"type": "string" +} +}, +"path": "accounts/v1/termsOfService:retrieveLatest", +"response": { +"$ref": "TermsOfService" +}, +"scopes": [ +"https://www.googleapis.com/auth/content" +] +} +} +} +}, +"revision": "20260223", +"rootUrl": "https://merchantapi.googleapis.com/", +"schemas": { +"About": { +"description": "Collection of information related to the about page ([impressum](https://support.google.com/merchants/answer/14675634?ref_topic=15145634&sjid=6892280366904591178-NC)).", +"id": "About", +"properties": { +"state": { +"description": "Output only. The state of the URI.", +"enum": [ +"STATE_UNSPECIFIED", +"ACTIVE", +"FAILED", +"RUNNING", +"ACTION_REQUIRED" +], +"enumDescriptions": [ +"Default value. This value is unused.", +"The review process has concluded successfully. The reviewed item is active.", +"The review process failed.", +"The review process is running.", +"The review process is waiting for the merchant to take action." +], +"readOnly": true, +"type": "string" +}, +"uri": { +"description": "Required. The about page URI.", +"type": "string" +} +}, +"type": "object" +}, +"AcceptTermsOfServiceResponse": { +"description": "Response message for the `AcceptTermsOfService` method.", +"id": "AcceptTermsOfServiceResponse", +"properties": { +"termsOfServiceAgreementState": { +"$ref": "TermsOfServiceAgreementState", +"description": "The agreement state after accepting the ToS." +} +}, +"type": "object" +}, +"Accepted": { +"description": "Describes the [accepted terms of service](https://developers.google.com/merchant/api/guides/accounts/create-and-configure#accept_the_merchant_center_terms_of_service).", +"id": "Accepted", +"properties": { +"acceptedBy": { +"description": "Required. The account where the acceptance was recorded. This can be the account itself or, in the case of subaccounts, the advanced account.", +"type": "string" +}, +"termsOfService": { +"description": "Required. The accepted termsOfService.", +"type": "string" +}, +"validUntil": { +"$ref": "Date", +"description": "Optional. When set, it states that the accepted `TermsOfService` is only valid until the end of this date (in UTC). A new one must be accepted before then. The information of the required `TermsOfService` is found in the `Required` message." +} +}, +"type": "object" +}, +"Account": { +"description": "The `Account` message represents a business's account within Shopping Ads. It's the primary entity for managing product data, settings, and interactions with Google's services and external providers. Accounts can operate as standalone entities or be part of a advanced account structure. In an advanced account setup the parent account manages multiple sub-accounts. Establishing an account involves configuring attributes like the account name, time zone, and language preferences. The `Account` message is the parent entity for many other resources, for example, `AccountRelationship`, `Homepage`, `BusinessInfo` and so on.", +"id": "Account", +"properties": { +"accountId": { +"description": "Output only. The ID of the account.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"accountName": { +"description": "Required. A human-readable name of the account. Don't use punctuation, capitalization, or non-alphanumeric symbols such as the \"/\" or \"_\" symbols. See [Adding a business name](https://support.google.com/merchants/answer/12159159) for more information.", +"type": "string" +}, +"adultContent": { +"description": "Optional. Whether this account contains adult content.", +"type": "boolean" +}, +"languageCode": { +"description": "Required. The account's [BCP-47 language code](https://tools.ietf.org/html/bcp47), such as `en-US` or `sr-Latn`.", +"type": "string" +}, +"name": { +"description": "Identifier. The resource name of the account. Format: `accounts/{account}`", +"type": "string" +}, +"testAccount": { +"description": "Output only. Whether this is a test account.", +"readOnly": true, +"type": "boolean" +}, +"timeZone": { +"$ref": "TimeZone", +"description": "Required. The time zone of the account. On writes, `time_zone` sets both the `reporting_time_zone` and the `display_time_zone`. For reads, `time_zone` always returns the `display_time_zone`. If `display_time_zone` doesn't exist for your account, `time_zone` is empty. The `version` field is not supported, won't be set in responses and will be silently ignored if specified in requests." +} +}, +"type": "object" +}, +"AccountAggregation": { +"description": "`AccountAggregation` payload.", +"id": "AccountAggregation", +"properties": {}, +"type": "object" +}, +"AccountIssue": { +"description": "Issues with your Merchant Center account that can impact all your products. For more information, see [Account-level issues in Merchant Center](https://support.google.com/merchants/answer/12153802?sjid=17798438912526418908-EU#account).", +"id": "AccountIssue", +"properties": { +"detail": { +"description": "Further localized details about the issue.", +"type": "string" +}, +"documentationUri": { +"description": "Link to Merchant Center Help Center providing further information about the issue and how to fix it.", +"type": "string" +}, +"impactedDestinations": { +"description": "The impact this issue has on various destinations.", +"items": { +"$ref": "ImpactedDestination" +}, +"type": "array" +}, +"name": { +"description": "Identifier. The resource name of the account issue. Format: `accounts/{account}/issues/{id}`. For example, `accounts/123456/issues/misrepresentation-of-self-or-products-unacceptable-business-practice-policy`.", +"type": "string" +}, +"severity": { +"description": "The overall severity of the issue.", +"enum": [ +"SEVERITY_UNSPECIFIED", +"CRITICAL", +"ERROR", +"SUGGESTION" +], +"enumDescriptions": [ +"The severity is unknown.", +"The issue causes offers to not serve.", +"The issue might affect offers (in the future) or might be an indicator of issues with offers.", +"The issue is a suggestion for improvement." +], +"type": "string" +}, +"title": { +"description": "The localized title of the issue.", +"type": "string" +} +}, +"type": "object" +}, +"AccountManagement": { +"description": "`AccountManagement` payload.", +"id": "AccountManagement", +"properties": {}, +"type": "object" +}, +"AccountRelationship": { +"description": "The `AccountRelationship` message defines a formal connection between a merchant's account and a service provider's account. This relationship enables the provider to offer specific services to the business, such as product management or campaign management. It specifies the access rights and permissions to the business's data relevant to those services. Establishing an account relationship involves linking the merchant's account with a provider's account. The provider could be another Google account (like Google Ads or Google My Business) or a third-party platform (such as Shopify or WooCommerce).", +"id": "AccountRelationship", +"properties": { +"accountIdAlias": { +"description": "Optional. An optional alias you can assign to this account relationship. This alias acts as a convenient identifier for your own reference and management. It must be unique among all your account relationships with the same provider. For example, you might use `account_id_alias` to assign a friendly name to this relationship for easier identification in your systems.", +"type": "string" +}, +"name": { +"description": "Identifier. The resource name of the account relationship. Format: `accounts/{account}/relationships/{relationship}`. For example, `accounts/123456/relationships/567890`.", +"type": "string" +}, +"provider": { +"description": "Immutable. The provider of the service. Either the reference to an account such as `providers/123` or a well-known service provider (one of `providers/GOOGLE_ADS` or `providers/GOOGLE_BUSINESS_PROFILE`).", +"type": "string" +}, +"providerDisplayName": { +"description": "Output only. The human-readable display name of the provider account.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"AccountService": { +"description": "The `AccountService` message represents a specific service that a provider account offers to a Merchant Center account. `AccountService` defines the permissions and capabilities granted to the provider, allowing for operations such as product management or campaign management. The lifecycle of an `AccountService` involves a proposal phase, where one party suggests the service, and an approval phase, where the other party accepts or rejects it. This handshake mechanism ensures mutual consent before any access is granted. This mechanism safeguards both parties by ensuring that access rights are granted appropriately and that both the business and provider are aware of the services enabled. In scenarios where a user is an admin of both accounts, the approval can happen automatically. The mutability of a service is also managed through `AccountService`. Some services might be immutable, for example, if they were established through other systems or APIs, and you cannot alter them through this API.", +"id": "AccountService", +"properties": { +"accountAggregation": { +"$ref": "AccountAggregation", +"description": "Service type for account aggregation. This enables the provider, which is an advanced account, to manage multiple sub-accounts (client accounts). Through this service, the advanced account provider can perform administrative and operational tasks across all linked sub-accounts. This is useful for agencies, aggregators, or large retailers that need centralized control over many Merchant Center accounts." +}, +"accountManagement": { +"$ref": "AccountManagement", +"description": "Service type for account management. Enables the provider to perform administrative actions on the business's account, such as configuring account settings, managing users, or updating business information." +}, +"campaignsManagement": { +"$ref": "CampaignsManagement", +"description": "Service type for managing advertising campaigns. Grants the provider access to create and manage the business's ad campaigns, including setting up campaigns, adjusting bids, and optimizing performance." +}, +"comparisonShopping": { +"$ref": "ComparisonShopping", +"description": "Service type for comparison shopping. The provider is a CSS (Comparison Shopping Service) managing the account. See https://support.google.com/merchants/answer/12653197" +}, +"externalAccountId": { +"description": "Immutable. An optional, immutable identifier that Google uses to refer to this account when communicating with the provider. This should be the unique account ID within the provider's system (for example, your shop ID in Shopify). If you have multiple accounts with the same provider - for instance, different accounts for various regions \u2014 the `external_account_id` differentiates between them, ensuring accurate linking and integration between Google and the provider.", +"type": "string" +}, +"handshake": { +"$ref": "Handshake", +"description": "Output only. Information about the state of the service in terms of establishing it (e.g. is it pending approval or approved).", +"readOnly": true +}, +"localListingManagement": { +"$ref": "LocalListingManagement", +"description": "Service type for local listings management. The business group associated with the external account id will be used to provide local inventory to this Merchant Center account." +}, +"mutability": { +"description": "Output only. Whether the service is mutable (e.g. through Approve / Reject RPCs). A service that was created through another system or API might be immutable.", +"enum": [ +"MUTABILITY_UNSPECIFIED", +"MUTABLE", +"IMMUTABLE" +], +"enumDescriptions": [ +"Unused default value", +"The service can be mutated without restrictions.", +"The service is read-only and must not be mutated." +], +"readOnly": true, +"type": "string" +}, +"name": { +"description": "Identifier. The resource name of the account service. Format: `accounts/{account}/services/{service}`", +"type": "string" +}, +"productsManagement": { +"$ref": "ProductsManagement", +"description": "Service type for managing products. This allows the provider to handle product data on behalf of the business, including reading and writing product listings. It's commonly used when the provider offers inventory management or catalog synchronization services to keep the business's product information up-to-date across platforms." +}, +"provider": { +"description": "Output only. The provider of the service. Either the reference to an account such as `providers/123` or a well-known service provider (one of `providers/GOOGLE_ADS` or `providers/GOOGLE_BUSINESS_PROFILE`).", +"readOnly": true, +"type": "string" +}, +"providerDisplayName": { +"description": "Output only. The human-readable display name of the provider account.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"AddAccountService": { +"description": "Additional instructions to add account services during creation of the account.", +"id": "AddAccountService", +"properties": { +"accountAggregation": { +"$ref": "AccountAggregation", +"description": "The provider is an [aggregator](https://support.google.com/merchants/answer/188487) for the account. Payload for service type Account Aggregation." +}, +"accountManagement": { +"$ref": "AccountManagement", +"description": "The provider manages this account. Payload for service type Account Management." +}, +"campaignsManagement": { +"$ref": "CampaignsManagement", +"description": "The provider manages campaigns for this account. Payload for service type campaigns management." +}, +"comparisonShopping": { +"$ref": "ComparisonShopping", +"description": "The provider is a CSS (Comparison Shopping Service) of this account. Payload for service type Comparison Shopping." +}, +"externalAccountId": { +"description": "Immutable. An optional, immutable identifier that Google uses to refer to this account when communicating with the provider. This should be the unique account ID within the provider's system (for example, your shop ID in Shopify). If you have multiple accounts with the same provider - for instance, different accounts for various regions \u2014 the `external_account_id` differentiates between them, ensuring accurate linking and integration between Google and the provider. The external account ID must be specified for the campaigns management service type. The external account ID must not be specified for the account aggregation service type. The external account ID is optional / may be specified for all other service types.", +"type": "string" +}, +"productsManagement": { +"$ref": "ProductsManagement", +"description": "The provider manages products for this account. Payload for service type products management." +}, +"provider": { +"description": "Required. The provider of the service. Either the reference to an account such as `providers/123` or a well-known service provider (one of `providers/GOOGLE_ADS` or `providers/GOOGLE_BUSINESS_PROFILE`).", +"type": "string" +} +}, +"type": "object" +}, +"AddUser": { +"description": "Instruction for adding a user to the account during creation.", +"id": "AddUser", +"properties": { +"user": { +"$ref": "User", +"description": "Optional. Details about the user to be added. At the moment, only access rights may be specified." +}, +"userId": { +"description": "Required. The email address of the user (for example, `john.doe@gmail.com`).", +"type": "string" +}, +"verificationMailSettings": { +"$ref": "VerificationMailSettings", +"description": "Optional. Settings related to configuring the verification email that is sent after adding a user." +} +}, +"type": "object" +}, +"Address": { +"description": "Shipping address of the warehouse.", +"id": "Address", +"properties": { +"administrativeArea": { +"description": "Required. Top-level administrative subdivision of the country. For example, a state like California (\"CA\") or a province like Quebec (\"QC\").", +"type": "string" +}, +"city": { +"description": "Required. City, town or commune. May also include dependent localities or sublocalities (For example neighborhoods or suburbs).", +"type": "string" +}, +"postalCode": { +"description": "Required. Postal code or ZIP (For example \"94043\").", +"type": "string" +}, +"regionCode": { +"description": "Required. [CLDR country code](http://www.unicode.org/repos/cldr/tags/latest/common/main/en.xml) (For example \"US\").", +"type": "string" +}, +"streetAddress": { +"description": "Street-level part of the address. For example: `111w 31st Street`.", +"type": "string" +} +}, +"type": "object" +}, +"ApproveAccountServiceRequest": { +"description": "Request to approve an account service.", +"id": "ApproveAccountServiceRequest", +"properties": {}, +"type": "object" +}, +"AutofeedSettings": { +"description": "Collection of information related to the [autofeed](https://support.google.com/merchants/answer/7538732) settings.", +"id": "AutofeedSettings", +"properties": { +"eligible": { +"description": "Output only. Determines whether the business is eligible for being enrolled into an autofeed.", +"readOnly": true, +"type": "boolean" +}, +"enableProducts": { +"description": "Required. Enables or disables product crawling through the autofeed for the given account. Autofeed accounts must meet [certain conditions](https://support.google.com/merchants/answer/7538732#Configure_automated_feeds_Standard_Experience), which can be checked through the `eligible` field. The account must **not** be a marketplace. When the autofeed is enabled for the first time, the products usually appear instantly. When re-enabling, it might take up to 24 hours for products to appear.", +"type": "boolean" +}, +"name": { +"description": "Identifier. The resource name of the autofeed settings. Format: `accounts/{account}/autofeedSettings`.", +"type": "string" +} +}, +"type": "object" +}, +"AutomaticImageImprovements": { +"description": "This improvement will attempt to automatically correct submitted images if they don't meet the [image requirements](https://support.google.com/merchants/answer/6324350), for example, removing overlays. If successful, the image will be replaced and approved. This improvement is only applied to images of disapproved offers. For more information see: [Automatic image improvements](https://support.google.com/merchants/answer/9242973)", +"id": "AutomaticImageImprovements", +"properties": { +"accountImageImprovementsSettings": { +"$ref": "ImageImprovementsAccountLevelSettings", +"description": "Optional. Determines how the images should be automatically updated. If this field is not present and provided in the update mask, then the settings will be deleted. If there are no settings for subaccount, they are inherited from aggregator." +}, +"effectiveAllowAutomaticImageImprovements": { +"description": "Output only. The effective value of allow_automatic_image_improvements. If account_image_improvements_settings is present, then this value is the same. Otherwise, it represents the inherited value of the parent account. Read-only.", +"readOnly": true, +"type": "boolean" +} +}, +"type": "object" +}, +"AutomaticImprovements": { +"description": "Collection of information related to the [automatic improvements](https://developers.google.com/shopping-content/guides/automatic-improvements) of an account.", +"id": "AutomaticImprovements", +"properties": { +"imageImprovements": { +"$ref": "AutomaticImageImprovements", +"description": "This improvement will attempt to automatically correct submitted images if they don't meet the [image requirements](https://support.google.com/merchants/answer/6324350), for example, removing overlays. If successful, the image will be replaced and approved. This improvement is only applied to images of disapproved offers. For more information see: [Automatic image improvements](https://support.google.com/merchants/answer/9242973) This field is only updated (cleared) if provided in the update mask." +}, +"itemUpdates": { +"$ref": "AutomaticItemUpdates", +"description": "Turning on [item updates](https://support.google.com/merchants/answer/3246284) allows Google to automatically update items for you. When item updates are on, Google uses the structured data markup on the website and advanced data extractors to update the price and availability of the items. When the item updates are off, items with mismatched data aren't shown. This field is only updated (cleared) if provided in the update mask." +}, +"name": { +"description": "Identifier. The resource name of the automatic improvements. Format: `accounts/{account}/automaticImprovements`.", +"type": "string" +}, +"shippingImprovements": { +"$ref": "AutomaticShippingImprovements", +"description": "Not available for [advanced accounts](https://support.google.com/merchants/answer/188487). By turning on [automatic shipping improvements](https://support.google.com/merchants/answer/10027038), you are allowing Google to improve the accuracy of your delivery times shown to shoppers using Google. More accurate delivery times, especially when faster, typically lead to better conversion rates. Google will improve your estimated delivery times based on various factors: * Delivery address of an order * Current handling time and shipping time settings * Estimated weekdays or business days * Parcel tracking data This field is only updated (cleared) if provided in the update mask." +} +}, +"type": "object" +}, +"AutomaticItemUpdates": { +"description": "Turning on [item updates](https://support.google.com/merchants/answer/3246284) allows Google to automatically update items for you. When item updates are on, Google uses the structured data markup on the website and advanced data extractors to update the price and availability of the items. When the item updates are off, items with mismatched data aren't shown.", +"id": "AutomaticItemUpdates", +"properties": { +"accountItemUpdatesSettings": { +"$ref": "ItemUpdatesAccountLevelSettings", +"description": "Optional. Determines which attributes of the items should be automatically updated. If this field is not present and provided in the update mask, then the settings will be deleted. If there are no settings for subaccount, they are inherited from aggregator." +}, +"effectiveAllowAvailabilityUpdates": { +"description": "Output only. The effective value of allow_availability_updates. If account_item_updates_settings is present, then this value is the same. Otherwise, it represents the inherited value of the parent account. The default value is true if no settings are present. Read-only.", +"readOnly": true, +"type": "boolean" +}, +"effectiveAllowConditionUpdates": { +"description": "Output only. The effective value of allow_condition_updates. If account_item_updates_settings is present, then this value is the same. Otherwise, it represents the inherited value of the parent account. The default value is true if no settings are present. Read-only.", +"readOnly": true, +"type": "boolean" +}, +"effectiveAllowPriceUpdates": { +"description": "Output only. The effective value of allow_price_updates. If account_item_updates_settings is present, then this value is the same. Otherwise, it represents the inherited value of the parent account. The default value is true if no settings are present. Read-only.", +"readOnly": true, +"type": "boolean" +}, +"effectiveAllowStrictAvailabilityUpdates": { +"description": "Output only. The effective value of allow_strict_availability_updates. If account_item_updates_settings is present, then this value is the same. Otherwise, it represents the inherited value of the parent account. The default value is true if no settings are present. Read-only.", +"readOnly": true, +"type": "boolean" +} +}, +"type": "object" +}, +"AutomaticShippingImprovements": { +"description": "Not available for [advanced accounts](https://support.google.com/merchants/answer/188487). By turning on [automatic shipping improvements](https://support.google.com/merchants/answer/10027038), you are allowing Google to improve the accuracy of your delivery times shown to shoppers using Google. More accurate delivery times, especially when faster, typically lead to better conversion rates. Google will improve your estimated delivery times based on various factors: * Delivery address of an order * Current handling time and shipping time settings * Estimated weekdays or business days * Parcel tracking data", +"id": "AutomaticShippingImprovements", +"properties": { +"allowShippingImprovements": { +"description": "Enables automatic shipping improvements.", +"type": "boolean" +} +}, +"type": "object" +}, +"BatchCreateRegionsRequest": { +"description": "Request message for the `BatchCreateRegions` method.", +"id": "BatchCreateRegionsRequest", +"properties": { +"requests": { +"description": "Required. The region(s) to create. The maximum number of regions that can be created in a batch is 100.", +"items": { +"$ref": "CreateRegionRequest" +}, +"type": "array" +} +}, +"type": "object" +}, +"BatchCreateRegionsResponse": { +"description": "Response message for the `BatchCreateRegions` method.", +"id": "BatchCreateRegionsResponse", +"properties": { +"regions": { +"description": "The created region(s).", +"items": { +"$ref": "Region" +}, +"type": "array" +} +}, +"type": "object" +}, +"BatchDeleteRegionsRequest": { +"description": "Request message for the `BatchDeleteRegions` method.", +"id": "BatchDeleteRegionsRequest", +"properties": { +"requests": { +"description": "Required. The names of the regions to delete. A maximum of 100 regions can be deleted in a batch.", +"items": { +"$ref": "DeleteRegionRequest" +}, +"type": "array" +} +}, +"type": "object" +}, +"BatchUpdateRegionsRequest": { +"description": "Request message for the `BatchUpdateRegions` method.", +"id": "BatchUpdateRegionsRequest", +"properties": { +"requests": { +"description": "Required. The region(s) to update. The maximum number of regions that can be updated in a batch is 100.", +"items": { +"$ref": "UpdateRegionRequest" +}, +"type": "array" +} +}, +"type": "object" +}, +"BatchUpdateRegionsResponse": { +"description": "Response message for the `BatchUpdateRegions` method.", +"id": "BatchUpdateRegionsResponse", +"properties": { +"regions": { +"description": "The updated region(s).", +"items": { +"$ref": "Region" +}, +"type": "array" +} +}, +"type": "object" +}, +"BusinessDayConfig": { +"description": "Business days of the warehouse.", +"id": "BusinessDayConfig", +"properties": { +"businessDays": { +"description": "Required. Regular business days. May not be empty.", +"items": { +"enum": [ +"WEEKDAY_UNSPECIFIED", +"MONDAY", +"TUESDAY", +"WEDNESDAY", +"THURSDAY", +"FRIDAY", +"SATURDAY", +"SUNDAY" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"", +"", +"" +], +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"BusinessIdentity": { +"description": "Collection of information related to the [identity of a business](https://support.google.com/merchants/answer/12564247).", +"id": "BusinessIdentity", +"properties": { +"blackOwned": { +"$ref": "IdentityAttribute", +"description": "Optional. Specifies whether the business identifies itself as being black-owned. This optional field will only be available for businesses with the business country set to `US`. It is also not applicable for marketplaces or marketplace sellers." +}, +"latinoOwned": { +"$ref": "IdentityAttribute", +"description": "Optional. Specifies whether the business identifies itself as being latino-owned. This optional field will only be available for businesses with the business country set to `US`. It is also not applicable for marketplaces or marketplace sellers." +}, +"name": { +"description": "Identifier. The resource name of the business identity. Format: `accounts/{account}/businessIdentity`", +"type": "string" +}, +"promotionsConsent": { +"description": "Required. Whether the identity attributes may be used for promotions.", +"enum": [ +"PROMOTIONS_CONSENT_UNSPECIFIED", +"PROMOTIONS_CONSENT_GIVEN", +"PROMOTIONS_CONSENT_DENIED" +], +"enumDescriptions": [ +"Default value indicating that no selection was made.", +"Indicates that the account consented to having their business identity used for promotions.", +"Indicates that the account did not consent to having their business identity used for promotions." +], +"type": "string" +}, +"smallBusiness": { +"$ref": "IdentityAttribute", +"description": "Optional. Specifies whether the business identifies itself as a small business. This optional field will only be available for businesses with a business country set to `US`. It is also not applicable for marketplaces." +}, +"veteranOwned": { +"$ref": "IdentityAttribute", +"description": "Optional. Specifies whether the business identifies itself as being veteran-owned. This optional field will only be available for businesses with a business country set to `US`. It is also not applicable for marketplaces or marketplace sellers." +}, +"womenOwned": { +"$ref": "IdentityAttribute", +"description": "Optional. Specifies whether the business identifies itself as being women-owned. This optional field will only be available for businesses with a business country set to `US`. It is also not applicable for marketplaces or marketplace sellers." +} +}, +"type": "object" +}, +"BusinessInfo": { +"description": "The `BusinessInfo` message contains essential information about a business. This message captures key business details such as physical address, customer service contacts, and region-specific identifiers.", +"id": "BusinessInfo", +"properties": { +"address": { +"$ref": "PostalAddress", +"description": "Optional. The address of the business. Only `region_code`, `address_lines`, `postal_code`, `administrative_area` and `locality` fields are supported. All other fields are ignored." +}, +"customerService": { +"$ref": "CustomerService", +"description": "Optional. The customer service of the business." +}, +"koreanBusinessRegistrationNumber": { +"description": "Optional. The 10-digit [Korean business registration number](https://support.google.com/merchants/answer/9037766) separated with dashes in the format: XXX-XX-XXXXX.", +"type": "string" +}, +"name": { +"description": "Identifier. The resource name of the business info. Format: `accounts/{account}/businessInfo`", +"type": "string" +}, +"phone": { +"$ref": "PhoneNumber", +"description": "Output only. The phone number of the business.", +"readOnly": true +}, +"phoneVerificationState": { +"description": "Output only. The phone verification state of the business.", +"enum": [ +"PHONE_VERIFICATION_STATE_UNSPECIFIED", +"PHONE_VERIFICATION_STATE_VERIFIED", +"PHONE_VERIFICATION_STATE_UNVERIFIED" +], +"enumDescriptions": [ +"Default value. This value is unused.", +"The phone is verified.", +"The phone is unverified." +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"CampaignsManagement": { +"description": "`CampaignManagement` payload.", +"id": "CampaignsManagement", +"properties": {}, +"type": "object" +}, +"CarrierRate": { +"description": "A list of carrier rates that can be referred to by `main_table` or `single_value`. Supported carrier services are defined in https://support.google.com/merchants/answer/12577710?ref_topic=12570808&sjid=10662598224319463032-NC#zippy=%2Cdelivery-cost-rate-type%2Ccarrier-rate-au-de-uk-and-us-only.", +"id": "CarrierRate", +"properties": { +"carrier": { +"description": "Required. Carrier service, such as `\"UPS\"` or `\"Fedex\"`.", +"type": "string" +}, +"carrierService": { +"description": "Required. Carrier service, such as `\"ground\"` or `\"2 days\"`.", +"type": "string" +}, +"flatAdjustment": { +"$ref": "Price", +"description": "Optional. Additive shipping rate modifier. Can be negative. For example `{ \"amount_micros\": 1, \"currency_code\" : \"USD\" }` adds $1 to the rate, `{ \"amount_micros\": -3, \"currency_code\" : \"USD\" }` removes $3 from the rate." +}, +"name": { +"description": "Required. Name of the carrier rate. Must be unique per rate group.", +"type": "string" +}, +"originPostalCode": { +"description": "Required. Shipping origin for this carrier rate.", +"type": "string" +}, +"percentageAdjustment": { +"description": "Optional. Multiplicative shipping rate modifier as a number in decimal notation. Can be negative. For example `\"5.4\"` increases the rate by 5.4%, `\"-3\"` decreases the rate by 3%.", +"type": "string" +} +}, +"type": "object" +}, +"CheckoutSettings": { +"description": "[CheckoutSettings](https://support.google.com/merchants/answer/13945960) for a specific merchant.", +"id": "CheckoutSettings", +"properties": { +"effectiveEnrollmentState": { +"description": "Output only. The effective value of enrollment_state for a given merchant ID. If account level settings are present then this value will be a copy of the account level settings. Otherwise, it will have the value of the parent account (for only marketplace sellers).", +"enum": [ +"CHECKOUT_ENROLLMENT_STATE_UNSPECIFIED", +"INACTIVE", +"ENROLLED", +"OPTED_OUT" +], +"enumDescriptions": [ +"Default enrollment state when enrollment state is not specified.", +"Merchant has not enrolled into the program.", +"Merchant has enrolled into the program by providing either an account level URL or checkout URLs as part of their feed.", +"Merchant has previously enrolled but opted out of the program." +], +"readOnly": true, +"type": "string" +}, +"effectiveReviewState": { +"description": "Output only. The effective value of `review_state` for a given merchant ID. If account level settings are present then this value will be a copy of the account level settings. Otherwise, it will have the value of the parent account (for only marketplace sellers).", +"enum": [ +"CHECKOUT_REVIEW_STATE_UNSPECIFIED", +"IN_REVIEW", +"APPROVED", +"DISAPPROVED" +], +"enumDescriptions": [ +"Default review state when review state is not specified.", +"Merchant provided URLs are being reviewed for data quality issues.", +"Merchant account has been approved. Indicates the data quality checks have passed.", +"Merchant account has been disapproved due to data quality issues." +], +"readOnly": true, +"type": "string" +}, +"effectiveUriSettings": { +"$ref": "UriSettings", +"description": "Output only. The effective value of `uri_settings` for a given merchant. If account level settings are present then this value will be a copy of url settings. Otherwise, it will have the value of the parent account (for only marketplace sellers).", +"readOnly": true +}, +"eligibleDestinations": { +"description": "Optional. Required for the create operation. The destinations (also known as [Marketing methods](https://support.google.com/merchants/answer/15130232)) to which the checkout program applies. Valid destination values are `SHOPPING_ADS` and `FREE_LISTINGS`.", +"items": { +"enum": [ +"DESTINATION_ENUM_UNSPECIFIED", +"SHOPPING_ADS", +"DISPLAY_ADS", +"LOCAL_INVENTORY_ADS", +"FREE_LISTINGS", +"FREE_LOCAL_LISTINGS", +"YOUTUBE_SHOPPING", +"YOUTUBE_SHOPPING_CHECKOUT", +"YOUTUBE_AFFILIATE", +"FREE_VEHICLE_LISTINGS", +"VEHICLE_ADS", +"CLOUD_RETAIL", +"LOCAL_CLOUD_RETAIL" +], +"enumDescriptions": [ +"Not specified.", +"[Shopping ads](https://support.google.com/google-ads/answer/2454022).", +"[Display ads](https://support.google.com/merchants/answer/6069387).", +"[Local inventory ads](https://support.google.com/merchants/answer/3057972).", +"[Free listings](https://support.google.com/merchants/answer/9199328).", +"[Free local product listings](https://support.google.com/merchants/answer/9825611).", +"[YouTube Shopping](https://support.google.com/merchants/answer/12362804).", +"Youtube shopping checkout.", +"[Youtube Affiliate](https://support.google.com/youtube/answer/13376398).", +"[Free vehicle listings](https://support.google.com/merchants/answer/11189169).", +"[Vehicle ads](https://support.google.com/merchants/answer/11189169).", +"[Cloud retail](https://cloud.google.com/solutions/retail).", +"[Local cloud retail](https://cloud.google.com/solutions/retail)." +], +"type": "string" +}, +"type": "array" +}, +"enrollmentState": { +"description": "Output only. Reflects the merchant enrollment state in `Checkout` program.", +"enum": [ +"CHECKOUT_ENROLLMENT_STATE_UNSPECIFIED", +"INACTIVE", +"ENROLLED", +"OPTED_OUT" +], +"enumDescriptions": [ +"Default enrollment state when enrollment state is not specified.", +"Merchant has not enrolled into the program.", +"Merchant has enrolled into the program by providing either an account level URL or checkout URLs as part of their feed.", +"Merchant has previously enrolled but opted out of the program." +], +"readOnly": true, +"type": "string" +}, +"name": { +"description": "Identifier. The resource name of the program configuration settings. Format: `accounts/{account}/programs/{program}/checkoutSettings`", +"type": "string" +}, +"reviewState": { +"description": "Output only. Reflects the merchant review state in `Checkout` program. This is set based on the data quality reviews of the URL provided by the merchant. A merchant with enrollment state as `ENROLLED` can be in the following review states: `IN_REVIEW`, `APPROVED` or `DISAPPROVED`. A merchant must be in an `enrollment_state` of `ENROLLED` before a review can begin for the merchant.For more details, check the help center doc.", +"enum": [ +"CHECKOUT_REVIEW_STATE_UNSPECIFIED", +"IN_REVIEW", +"APPROVED", +"DISAPPROVED" +], +"enumDescriptions": [ +"Default review state when review state is not specified.", +"Merchant provided URLs are being reviewed for data quality issues.", +"Merchant account has been approved. Indicates the data quality checks have passed.", +"Merchant account has been disapproved due to data quality issues." +], +"readOnly": true, +"type": "string" +}, +"uriSettings": { +"$ref": "UriSettings", +"description": "URI settings for cart or checkout URL." +} +}, +"type": "object" +}, +"ClaimHomepageRequest": { +"description": "Request message for the `ClaimHomepage` method.", +"id": "ClaimHomepageRequest", +"properties": { +"overwrite": { +"description": "Optional. When set to `true`, this option removes any existing claim on the requested website from any other account to the account making the request, effectively replacing the previous claim.", +"type": "boolean" +} +}, +"type": "object" +}, +"ComparisonShopping": { +"description": "`ComparisonShopping` payload.", +"id": "ComparisonShopping", +"properties": {}, +"type": "object" +}, +"CreateAndConfigureAccountRequest": { +"description": "Request message for the `CreateAndConfigureAccount` method.", +"id": "CreateAndConfigureAccountRequest", +"properties": { +"account": { +"$ref": "Account", +"description": "Required. The account to be created." +}, +"service": { +"description": "Required. An account service between the account to be created and the provider account is initialized as part of the creation. At least one such service needs to be provided. Currently exactly one of these needs to be `account_aggregation` and `accounts.createAndConfigure` method can be used to create a sub-account under an existing advanced account through this method. Additional `account_management` or `products_management` services may be provided.", +"items": { +"$ref": "AddAccountService" +}, +"type": "array" +}, +"setAlias": { +"description": "Optional. If a relationship is created with a provider, you can set an alias for it with this field. The calling user must be an admin on the provider to be able to set an alias.", +"items": { +"$ref": "SetAliasForRelationship" +}, +"type": "array" +}, +"user": { +"description": "Optional. Users to be added to the account.", +"items": { +"$ref": "AddUser" +}, +"type": "array" +} +}, +"type": "object" +}, +"CreateRegionRequest": { +"description": "Request message for the `CreateRegion` method.", +"id": "CreateRegionRequest", +"properties": { +"parent": { +"description": "Required. The account to create a region for. Format: `accounts/{account}`", +"type": "string" +}, +"region": { +"$ref": "Region", +"description": "Required. The region to create." +}, +"regionId": { +"description": "Required. The identifier for the region, unique over all regions of the same account.", +"type": "string" +} +}, +"type": "object" +}, +"CustomerService": { +"description": "Customer service information.", +"id": "CustomerService", +"properties": { +"email": { +"description": "Optional. The email address where customer service may be reached.", +"type": "string" +}, +"phone": { +"$ref": "PhoneNumber", +"description": "Optional. The phone number where customer service may be called." +}, +"uri": { +"description": "Optional. The URI where customer service may be found.", +"type": "string" +} +}, +"type": "object" +}, +"CutoffConfig": { +"description": "Configs related to local delivery ends for the day.", +"id": "CutoffConfig", +"properties": { +"localCutoffTime": { +"$ref": "LocalCutoffTime", +"description": "Time that local delivery ends for the day." +}, +"noDeliveryPostCutoff": { +"description": "Businesses can opt-out of showing n+1 day local delivery when they have a shipping service configured to n day local delivery. For example, if the shipping service defines same-day delivery, and it's past the cut-off, setting this field to `true` results in the calculated shipping service rate returning `NO_DELIVERY_POST_CUTOFF`. In the same example, setting this field to `false` results in the calculated shipping time being one day. This is only for local delivery.", +"type": "boolean" +}, +"storeCloseOffsetHours": { +"description": "Only valid with local delivery fulfillment. Represents cutoff time as the number of hours before store closing. Mutually exclusive with `local_cutoff_time`.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"CutoffTime": { +"description": "Business days cutoff time definition.", +"id": "CutoffTime", +"properties": { +"hour": { +"description": "Required. Hour of the cutoff time until which an order has to be placed to be processed in the same day.", +"format": "int32", +"type": "integer" +}, +"minute": { +"description": "Required. Minute of the cutoff time until which an order has to be placed to be processed in the same day.", +"format": "int32", +"type": "integer" +}, +"timeZone": { +"description": "Required. [Timezone identifier](https://developers.google.com/adwords/api/docs/appendix/codes-formats#timezone-ids) For example \"Europe/Zurich\".", +"type": "string" +} +}, +"type": "object" +}, +"Date": { +"description": "Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following: * A full date, with non-zero year, month, and day values. * A month and day, with a zero year (for example, an anniversary). * A year on its own, with a zero month and a zero day. * A year and month, with a zero day (for example, a credit card expiration date). Related types: * google.type.TimeOfDay * google.type.DateTime * google.protobuf.Timestamp", +"id": "Date", +"properties": { +"day": { +"description": "Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn't significant.", +"format": "int32", +"type": "integer" +}, +"month": { +"description": "Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.", +"format": "int32", +"type": "integer" +}, +"year": { +"description": "Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"DeleteRegionRequest": { +"description": "Request message for the `DeleteRegion` method.", +"id": "DeleteRegionRequest", +"properties": { +"name": { +"description": "Required. The name of the region to delete. Format: `accounts/{account}/regions/{region}`", +"type": "string" +} +}, +"type": "object" +}, +"DeliveryTime": { +"description": "Time spent in various aspects from order to the delivery of the product.", +"id": "DeliveryTime", +"properties": { +"cutoffTime": { +"$ref": "CutoffTime", +"description": "Business days cutoff time definition. If not configured the cutoff time will be defaulted to 8AM PST." +}, +"handlingBusinessDayConfig": { +"$ref": "BusinessDayConfig", +"description": "The business days during which orders can be handled. If not provided, Monday to Friday business days will be assumed." +}, +"maxHandlingDays": { +"description": "Maximum number of business days spent before an order is shipped. 0 means same day shipped, 1 means next day shipped. Must be greater than or equal to `min_handling_days`. 'min_handling_days' and 'max_handling_days' should be either set or not set at the same time.", +"format": "int32", +"type": "integer" +}, +"maxTransitDays": { +"description": "Maximum number of business days that is spent in transit. 0 means same day delivery, 1 means next day delivery. Must be greater than or equal to `min_transit_days`.", +"format": "int32", +"type": "integer" +}, +"minHandlingDays": { +"description": "Minimum number of business days spent before an order is shipped. 0 means same day shipped, 1 means next day shipped. 'min_handling_days' and 'max_handling_days' should be either set or not set at the same time.", +"format": "int32", +"type": "integer" +}, +"minTransitDays": { +"description": "Minimum number of business days that is spent in transit. 0 means same day delivery, 1 means next day delivery. Either `min_transit_days`, `max_transit_days` or `transit_time_table` must be set, but not both.", +"format": "int32", +"type": "integer" +}, +"transitBusinessDayConfig": { +"$ref": "BusinessDayConfig", +"description": "The business days during which orders can be in-transit. If not provided, Monday to Friday business days will be assumed." +}, +"transitTimeTable": { +"$ref": "TransitTable", +"description": "Transit time table, number of business days spent in transit based on row and column dimensions. Either `min_transit_days`, `max_transit_days` or `transit_time_table` can be set, but not both." +}, +"warehouseBasedDeliveryTimes": { +"description": "Optional. Indicates that the delivery time should be calculated per warehouse (shipping origin location) based on the settings of the selected carrier. When set, no other transit time related field in delivery time should be set.", +"items": { +"$ref": "WarehouseBasedDeliveryTime" +}, +"type": "array" +} +}, +"type": "object" +}, +"DeveloperRegistration": { +"description": "Represents a developer registration owned by a Merchant account.", +"id": "DeveloperRegistration", +"properties": { +"gcpIds": { +"description": "Output only. The GCP ids attached to this developer registration", +"items": { +"type": "string" +}, +"readOnly": true, +"type": "array" +}, +"name": { +"description": "Identifier. The `name` (ID) of the developer registration. Generated by the Content API upon creation of a new `DeveloperRegistration`. The `account` represents the merchant ID of the merchant that owns the registration.", +"type": "string" +} +}, +"type": "object" +}, +"DisableProgramRequest": { +"description": "Request message for the DisableProgram method.", +"id": "DisableProgramRequest", +"properties": {}, +"type": "object" +}, +"Distance": { +"description": "Maximum delivery radius. This is only required for the local delivery shipment type.", +"id": "Distance", +"properties": { +"unit": { +"description": "Unit can differ based on country, it is parameterized to include miles and kilometers.", +"enum": [ +"UNIT_UNSPECIFIED", +"MILES", +"KILOMETERS" +], +"enumDescriptions": [ +"Unit unspecified", +"Unit in miles", +"Unit in kilometers" +], +"type": "string" +}, +"value": { +"description": "Integer value of distance.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"EmailPreferences": { +"description": "The categories of notifications the user opted into / opted out of. The email preferences do not include mandatory announcements as users can't opt out of them.", +"id": "EmailPreferences", +"properties": { +"name": { +"description": "Identifier. The name of the EmailPreferences. The endpoint is only supported for the authenticated user.", +"type": "string" +}, +"newsAndTips": { +"description": "Optional. Updates on new features, tips and best practices.", +"enum": [ +"OPT_IN_STATE_UNSPECIFIED", +"OPTED_OUT", +"OPTED_IN", +"UNCONFIRMED" +], +"enumDescriptions": [ +"Opt-in status is not specified.", +"User has opted out of receiving this type of email.", +"User has opted in to receiving this type of email.", +"User has opted in to receiving this type of email and the confirmation email has been sent, but user has not yet confirmed the opt in (applies only to certain countries)." +], +"type": "string" +} +}, +"type": "object" +}, +"Empty": { +"description": "A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }", +"id": "Empty", +"properties": {}, +"type": "object" +}, +"EnableProgramRequest": { +"description": "Request message for the EnableProgram method.", +"id": "EnableProgramRequest", +"properties": {}, +"type": "object" +}, +"FindLfpProvidersResponse": { +"description": "Response message for the FindLfpProviders method.", +"id": "FindLfpProvidersResponse", +"properties": { +"lfpProviders": { +"description": "The LFP providers from the specified merchant in the specified country.", +"items": { +"$ref": "LfpProvider" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.", +"type": "string" +} +}, +"type": "object" +}, +"GbpAccount": { +"description": "Collection of information related to a Google Business Profile (GBP) account.", +"id": "GbpAccount", +"properties": { +"gbpAccountId": { +"description": "The id of the GBP account.", +"type": "string" +}, +"gbpAccountName": { +"description": "The name of the Business Profile. For personal accounts: Email id of the owner. For Business accounts: Name of the Business Account.", +"type": "string" +}, +"listingCount": { +"description": "Number of listings under this account.", +"format": "int64", +"type": "string" +}, +"name": { +"description": "Identifier. The resource name of the GBP account. Format: `accounts/{account}/gbpAccount/{gbp_account}`", +"type": "string" +}, +"type": { +"description": "The type of the Business Profile.", +"enum": [ +"TYPE_UNSPECIFIED", +"USER", +"BUSINESS_ACCOUNT" +], +"enumDescriptions": [ +"Default value. This value is unused.", +"The GBP account is a user account.", +"The GBP account is a business account." +], +"type": "string" +} +}, +"type": "object" +}, +"GeoTargetArea": { +"description": "A list of geotargets that defines the region area.", +"id": "GeoTargetArea", +"properties": { +"geotargetCriteriaIds": { +"description": "Required. A non-empty list of [location IDs](https://developers.google.com/adwords/api/docs/appendix/geotargeting). They must all be of the same location type (for example, state).", +"items": { +"format": "int64", +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GetAccountForGcpRegistrationResponse": { +"description": "Response message for the GetAccountForGcpRegistration method.", +"id": "GetAccountForGcpRegistrationResponse", +"properties": { +"name": { +"description": "The name of the merchant account id that the GCP is registered with.", +"type": "string" +} +}, +"type": "object" +}, +"Handshake": { +"description": "The current status of establishing of the service. (for example, pending approval or approved).", +"id": "Handshake", +"properties": { +"actor": { +"description": "Output only. The most recent account to modify the account service's `approval_status`.", +"enum": [ +"ACTOR_UNSPECIFIED", +"ACCOUNT", +"OTHER_PARTY" +], +"enumDescriptions": [ +"Unspecified actor.", +"The last change was done by the account who has this service.", +"The last change was done by the other party who this service points to." +], +"readOnly": true, +"type": "string" +}, +"approvalState": { +"description": "Output only. The approval state of this handshake.", +"enum": [ +"APPROVAL_STATE_UNSPECIFIED", +"PENDING", +"ESTABLISHED", +"REJECTED" +], +"enumDescriptions": [ +"Unspecified approval status.", +"The service was proposed and is waiting to be confirmed.", +"Both parties have confirmed the service.", +"The service proposal was rejected." +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"Headers": { +"description": "A non-empty list of row or column headers for a table. Exactly one of `prices`, `weights`, `num_items`, `postal_code_group_names`, or `location` must be set.", +"id": "Headers", +"properties": { +"locations": { +"description": "Required. A list of location ID sets. Must be non-empty. Can only be set if all other fields are not set.", +"items": { +"$ref": "LocationIdSet" +}, +"type": "array" +}, +"numberOfItems": { +"description": "Required. A list of inclusive number of items upper bounds. The last value can be `\"infinity\"`. For example `[\"10\", \"50\", \"infinity\"]` represents the headers \"<= 10 items\", \"<= 50 items\", and \"> 50 items\". Must be non-empty. Can only be set if all other fields are not set.", +"items": { +"type": "string" +}, +"type": "array" +}, +"postalCodeGroupNames": { +"description": "Required. A list of postal group names. The last value can be `\"all other locations\"`. Example: `[\"zone 1\", \"zone 2\", \"all other locations\"]`. The referred postal code groups must match the delivery country of the service. Must be non-empty. Can only be set if all other fields are not set.", +"items": { +"type": "string" +}, +"type": "array" +}, +"prices": { +"description": "Required. A list of inclusive order price upper bounds. The last price's value can be infinity by setting price amount_micros = -1. For example `[{\"amount_micros\": 10000000, \"currency_code\": \"USD\"}, {\"amount_micros\": 500000000, \"currency_code\": \"USD\"}, {\"amount_micros\": -1, \"currency_code\": \"USD\"}]` represents the headers \"<= $10\", \"<= $500\", and \"> $500\". All prices within a service must have the same currency. Must be non-empty. Must be positive except -1. Can only be set if all other fields are not set.", +"items": { +"$ref": "Price" +}, +"type": "array" +}, +"weights": { +"description": "Required. A list of inclusive order weight upper bounds. The last weight's value can be infinity by setting price amount_micros = -1. For example `[{\"amount_micros\": 10000000, \"unit\": \"kg\"}, {\"amount_micros\": 50000000, \"unit\": \"kg\"}, {\"amount_micros\": -1, \"unit\": \"kg\"}]` represents the headers \"<= 10kg\", \"<= 50kg\", and \"> 50kg\". All weights within a service must have the same unit. Must be non-empty. Must be positive except -1. Can only be set if all other fields are not set.", +"items": { +"$ref": "Weight" +}, +"type": "array" +} +}, +"type": "object" +}, +"Homepage": { +"description": "The `Homepage` message represents a business's store homepage within the system. A business's homepage is the primary domain where customers interact with their store. The homepage can be claimed and verified as a proof of ownership and allows the business to unlock features that require a verified website. For more information, see [Understanding online store URL verification](//support.google.com/merchants/answer/176793).", +"id": "Homepage", +"properties": { +"claimed": { +"description": "Output only. Whether the homepage is claimed. See https://support.google.com/merchants/answer/176793.", +"readOnly": true, +"type": "boolean" +}, +"name": { +"description": "Identifier. The resource name of the store's homepage. Format: `accounts/{account}/homepage`", +"type": "string" +}, +"uri": { +"description": "Required. The URI (typically a URL) of the store's homepage.", +"type": "string" +} +}, +"type": "object" +}, +"IdentityAttribute": { +"description": "All information related to an identity attribute.", +"id": "IdentityAttribute", +"properties": { +"identityDeclaration": { +"description": "Required. The declaration of identity for this attribute.", +"enum": [ +"IDENTITY_DECLARATION_UNSPECIFIED", +"SELF_IDENTIFIES_AS", +"DOES_NOT_SELF_IDENTIFY_AS" +], +"enumDescriptions": [ +"Default value indicating that no selection was made.", +"Indicates that the account identifies with the attribute.", +"Indicates that the account does not identify with the attribute." +], +"type": "string" +} +}, +"type": "object" +}, +"ImageImprovementsAccountLevelSettings": { +"description": "Settings for the Automatic Image Improvements.", +"id": "ImageImprovementsAccountLevelSettings", +"properties": { +"allowAutomaticImageImprovements": { +"description": "Enables automatic image improvements.", +"type": "boolean" +} +}, +"type": "object" +}, +"Impact": { +"description": "The impact of the issue on a region.", +"id": "Impact", +"properties": { +"regionCode": { +"description": "The [CLDR region code](https://cldr.unicode.org/) where this issue applies.", +"type": "string" +}, +"severity": { +"description": "The severity of the issue on the destination and region.", +"enum": [ +"SEVERITY_UNSPECIFIED", +"CRITICAL", +"ERROR", +"SUGGESTION" +], +"enumDescriptions": [ +"The severity is unknown.", +"The issue causes offers to not serve.", +"The issue might affect offers (in the future) or might be an indicator of issues with offers.", +"The issue is a suggestion for improvement." +], +"type": "string" +} +}, +"type": "object" +}, +"ImpactedDestination": { +"description": "The impact of the issue on a destination.", +"id": "ImpactedDestination", +"properties": { +"impacts": { +"description": "The (negative) impact for various regions on the given destination.", +"items": { +"$ref": "Impact" +}, +"type": "array" +}, +"reportingContext": { +"description": "The impacted reporting context.", +"enum": [ +"REPORTING_CONTEXT_ENUM_UNSPECIFIED", +"SHOPPING_ADS", +"DISCOVERY_ADS", +"DEMAND_GEN_ADS", +"DEMAND_GEN_ADS_DISCOVER_SURFACE", +"VIDEO_ADS", +"DISPLAY_ADS", +"LOCAL_INVENTORY_ADS", +"VEHICLE_INVENTORY_ADS", +"FREE_LISTINGS", +"FREE_LISTINGS_UCP_CHECKOUT", +"FREE_LOCAL_LISTINGS", +"FREE_LOCAL_VEHICLE_LISTINGS", +"YOUTUBE_AFFILIATE", +"YOUTUBE_SHOPPING", +"CLOUD_RETAIL", +"LOCAL_CLOUD_RETAIL", +"PRODUCT_REVIEWS", +"MERCHANT_REVIEWS", +"YOUTUBE_CHECKOUT" +], +"enumDeprecated": [ +false, +false, +true, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false +], +"enumDescriptions": [ +"Not specified.", +"[Shopping ads](https://support.google.com/merchants/answer/6149970).", +"Deprecated: Use `DEMAND_GEN_ADS` instead. [Discovery and Demand Gen ads](https://support.google.com/merchants/answer/13389785).", +"[Demand Gen ads](https://support.google.com/merchants/answer/13389785).", +"[Demand Gen ads on Discover surface](https://support.google.com/merchants/answer/13389785).", +"[Video ads](https://support.google.com/google-ads/answer/6340491).", +"[Display ads](https://support.google.com/merchants/answer/6069387).", +"[Local inventory ads](https://support.google.com/merchants/answer/3271956).", +"[Vehicle inventory ads](https://support.google.com/merchants/answer/11544533).", +"[Free product listings](https://support.google.com/merchants/answer/9199328).", +"[Free product listings on UCP checkout](https://developers.google.com/merchant/ucp).", +"[Free local product listings](https://support.google.com/merchants/answer/9825611).", +"[Free local vehicle listings](https://support.google.com/merchants/answer/11544533).", +"[Youtube Affiliate](https://support.google.com/youtube/answer/13376398).", +"[YouTube Shopping](https://support.google.com/merchants/answer/13478370).", +"[Cloud retail](https://cloud.google.com/solutions/retail).", +"[Local cloud retail](https://cloud.google.com/solutions/retail).", +"[Product Reviews](https://support.google.com/merchants/answer/14620732).", +"[Merchant Reviews](https://developers.google.com/merchant-review-feeds).", +"YouTube Checkout ." +], +"type": "string" +} +}, +"type": "object" +}, +"InStock": { +"description": "Collection of information related to InStock.", +"id": "InStock", +"properties": { +"state": { +"description": "Output only. The state of the in-stock serving.", +"enum": [ +"STATE_UNSPECIFIED", +"ACTIVE", +"FAILED", +"RUNNING", +"ACTION_REQUIRED" +], +"enumDescriptions": [ +"Default value. This value is unused.", +"The review process has concluded successfully. The reviewed item is active.", +"The review process failed.", +"The review process is running.", +"The review process is waiting for the merchant to take action." +], +"readOnly": true, +"type": "string" +}, +"uri": { +"description": "Optional. Product landing page URI. It is only used for the review of MHLSF in-stock serving. This URI domain should match with the business's homepage. Required to be empty if the lsf_type is GHLSF, and required when the lsf_type is MHLSF_FULL or MHLSF_BASIC.", +"type": "string" +} +}, +"type": "object" +}, +"InventoryVerification": { +"description": "Collection of information related to [inventory verification](https://support.google.com/merchants/answer/14684499?ref_topic=15145634&sjid=6892280366904591178-NC).", +"id": "InventoryVerification", +"properties": { +"contact": { +"description": "Required. The name of the contact for the inventory verification process.", +"type": "string" +}, +"contactEmail": { +"description": "Required. The email address of the contact for the inventory verification process.", +"type": "string" +}, +"contactState": { +"description": "Output only. The state of the contact verification.", +"enum": [ +"STATE_UNSPECIFIED", +"ACTIVE", +"FAILED", +"RUNNING", +"ACTION_REQUIRED" +], +"enumDescriptions": [ +"Default value. This value is unused.", +"The review process has concluded successfully. The reviewed item is active.", +"The review process failed.", +"The review process is running.", +"The review process is waiting for the merchant to take action." +], +"readOnly": true, +"type": "string" +}, +"state": { +"description": "Output only. The state of the inventory verification process.", +"enum": [ +"STATE_UNSPECIFIED", +"ACTION_REQUIRED", +"INACTIVE", +"RUNNING", +"SUCCEEDED", +"SUSPENDED" +], +"enumDescriptions": [ +"Default value. This value is unused.", +"When the merchant needs to initiate the inventory verification process. The next state is INACTIVE.", +"When the merchant is ready to request inventory verification.", +"The inventory verification process is running. If the merchant is rejected, the next state is INACTIVE.", +"The inventory verification process succeeded.", +"When merchant fails the inventory verification process and all attempts are exhausted." +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"ItemUpdatesAccountLevelSettings": { +"description": "Settings for the Automatic Item Updates.", +"id": "ItemUpdatesAccountLevelSettings", +"properties": { +"allowAvailabilityUpdates": { +"description": "If availability updates are enabled, any previous availability values get overwritten if Google finds an out-of-stock annotation on the offer's page. If additionally `allow_strict_availability_updates` field is set to true, values get overwritten if Google finds an in-stock annotation on the offer\u2019s page.", +"type": "boolean" +}, +"allowConditionUpdates": { +"description": "If condition updates are enabled, Google always updates item condition with the condition detected from the details of your product.", +"type": "boolean" +}, +"allowPriceUpdates": { +"description": "If price updates are enabled, Google always updates the active price with the crawled information.", +"type": "boolean" +}, +"allowStrictAvailabilityUpdates": { +"description": "If `allow_availability_updates` is enabled, items are automatically updated in all your Shopping target countries. By default, availability updates will only be applied to items that are 'out of stock' on your website but 'in stock' on Shopping. Set this to true to also update items that are 'in stock' on your website, but 'out of stock' on Google Shopping. In order for this field to have an effect, you must also set `allow_availability_updates`.", +"type": "boolean" +} +}, +"type": "object" +}, +"LatLng": { +"description": "An object that represents a latitude/longitude pair. This is expressed as a pair of doubles to represent degrees latitude and degrees longitude. Unless specified otherwise, this object must conform to the WGS84 standard. Values must be within normalized ranges.", +"id": "LatLng", +"properties": { +"latitude": { +"description": "The latitude in degrees. It must be in the range [-90.0, +90.0].", +"format": "double", +"type": "number" +}, +"longitude": { +"description": "The longitude in degrees. It must be in the range [-180.0, +180.0].", +"format": "double", +"type": "number" +} +}, +"type": "object" +}, +"LfpLink": { +"description": "Collection of information related to the LFP link.", +"id": "LfpLink", +"properties": { +"externalAccountId": { +"description": "Required. The account ID by which this merchant is known to the LFP provider.", +"type": "string" +}, +"lfpProvider": { +"description": "Required. The resource name of the LFP provider. Format: `lfpProviders/{lfp_provider}`", +"type": "string" +}, +"state": { +"description": "Output only. The state of the LFP link.", +"enum": [ +"STATE_UNSPECIFIED", +"ACTIVE", +"FAILED", +"RUNNING", +"ACTION_REQUIRED" +], +"enumDescriptions": [ +"Default value. This value is unused.", +"The review process has concluded successfully. The reviewed item is active.", +"The review process failed.", +"The review process is running.", +"The review process is waiting for the merchant to take action." +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"LfpProvider": { +"description": "Collection of information related to a Local Feed Partnership (LFP) provider.", +"id": "LfpProvider", +"properties": { +"displayName": { +"description": "The display name of the LFP provider.", +"type": "string" +}, +"name": { +"description": "Identifier. The resource name of the LFP provider. Format: `accounts/{account}/omnichannelSettings/{omnichannel_setting}/lfpProviders/{lfp_provider}`", +"type": "string" +}, +"regionCode": { +"description": "Output only. Region code defined by [CLDR](https://cldr.unicode.org/).", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"LinkGbpAccountRequest": { +"description": "Request message for the LinkGbpAccount method.", +"id": "LinkGbpAccountRequest", +"properties": { +"gbpEmail": { +"description": "Required. The email address of the Business Profile account.", +"type": "string" +} +}, +"type": "object" +}, +"LinkGbpAccountResponse": { +"description": "Response message for the LinkGbpAccount method.", +"id": "LinkGbpAccountResponse", +"properties": { +"response": { +"$ref": "Empty", +"description": "Empty response." +} +}, +"type": "object" +}, +"LinkLfpProviderRequest": { +"description": "Request message for the LinkLfpProvider method.", +"id": "LinkLfpProviderRequest", +"properties": { +"externalAccountId": { +"description": "Required. The external account ID by which this merchant is known to the LFP provider.", +"type": "string" +} +}, +"type": "object" +}, +"LinkLfpProviderResponse": { +"description": "Response message for the LinkLfpProvider method.", +"id": "LinkLfpProviderResponse", +"properties": { +"response": { +"$ref": "Empty", +"description": "Empty response." +} +}, +"type": "object" +}, +"ListAccountIssuesResponse": { +"description": "Response message for the `ListAccountIssues` method.", +"id": "ListAccountIssuesResponse", +"properties": { +"accountIssues": { +"description": "The issues from the specified account.", +"items": { +"$ref": "AccountIssue" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.", +"type": "string" +} +}, +"type": "object" +}, +"ListAccountRelationshipsResponse": { +"description": "Response after trying to list account relationships.", +"id": "ListAccountRelationshipsResponse", +"properties": { +"accountRelationships": { +"description": "The account relationships that match your filter.", +"items": { +"$ref": "AccountRelationship" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A page token. You can send the `page_token` to get the next page. Only included in the `list` response if there are more pages.", +"type": "string" +} +}, +"type": "object" +}, +"ListAccountServicesResponse": { +"description": "Response after trying to list account services.", +"id": "ListAccountServicesResponse", +"properties": { +"accountServices": { +"description": "The account services that match your filter.", +"items": { +"$ref": "AccountService" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A page token. You can send the `page_token` to get the next page. Only included in the `list` response if there are more pages.", +"type": "string" +} +}, +"type": "object" +}, +"ListAccountsResponse": { +"description": "Response message for the `accounts.list` method.", +"id": "ListAccountsResponse", +"properties": { +"accounts": { +"description": "The accounts matching the `ListAccountsRequest`.", +"items": { +"$ref": "Account" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.", +"type": "string" +} +}, +"type": "object" +}, +"ListGbpAccountsResponse": { +"description": "Response message for the ListGbpAccounts method.", +"id": "ListGbpAccountsResponse", +"properties": { +"gbpAccounts": { +"description": "The GBP accounts from the specified merchant in the specified country.", +"items": { +"$ref": "GbpAccount" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.", +"type": "string" +} +}, +"type": "object" +}, +"ListOmnichannelSettingsResponse": { +"description": "Response message for the ListOmnichannelSettings method.", +"id": "ListOmnichannelSettingsResponse", +"properties": { +"nextPageToken": { +"description": "A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.", +"type": "string" +}, +"omnichannelSettings": { +"description": "The omnichannel settings from the specified merchant.", +"items": { +"$ref": "OmnichannelSetting" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListOnlineReturnPoliciesResponse": { +"description": "Response message for the `ListOnlineReturnPolicies` method.", +"id": "ListOnlineReturnPoliciesResponse", +"properties": { +"nextPageToken": { +"description": "A token, which can be sent as `pageToken` to retrieve the next page. If this field is omitted, there are no subsequent pages.", +"type": "string" +}, +"onlineReturnPolicies": { +"description": "The retrieved return policies.", +"items": { +"$ref": "OnlineReturnPolicy" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListProgramsResponse": { +"description": "Response message for the ListPrograms method.", +"id": "ListProgramsResponse", +"properties": { +"nextPageToken": { +"description": "A token that can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.", +"type": "string" +}, +"programs": { +"description": "The programs for the given account.", +"items": { +"$ref": "Program" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListRegionsResponse": { +"description": "Response message for the `ListRegions` method.", +"id": "ListRegionsResponse", +"properties": { +"nextPageToken": { +"description": "A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.", +"type": "string" +}, +"regions": { +"description": "The regions from the specified business.", +"items": { +"$ref": "Region" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListSubAccountsResponse": { +"description": "Response message for the `ListSubAccounts` method.", +"id": "ListSubAccountsResponse", +"properties": { +"accounts": { +"description": "The accounts for which the given parent account is an aggregator.", +"items": { +"$ref": "Account" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.", +"type": "string" +} +}, +"type": "object" +}, +"ListUsersResponse": { +"description": "Response message for the `ListUsers` method.", +"id": "ListUsersResponse", +"properties": { +"nextPageToken": { +"description": "A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.", +"type": "string" +}, +"users": { +"description": "The users from the specified account.", +"items": { +"$ref": "User" +}, +"type": "array" +} +}, +"type": "object" +}, +"LocalCutoffTime": { +"description": "Time that local delivery ends for the day.", +"id": "LocalCutoffTime", +"properties": { +"hour": { +"description": "Hour local delivery orders must be placed by to process the same day.", +"format": "int64", +"type": "string" +}, +"minute": { +"description": "Minute local delivery orders must be placed by to process the same day.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"LocalListingManagement": { +"description": "`LocalListingManagement` payload.", +"id": "LocalListingManagement", +"properties": {}, +"type": "object" +}, +"LocationIdSet": { +"description": "A list of location ID sets. Must be non-empty. Can only be set if all other fields are not set.", +"id": "LocationIdSet", +"properties": { +"locationIds": { +"description": "Required. A non-empty list of [location IDs](https://developers.google.com/adwords/api/docs/appendix/geotargeting). They must all be of the same location type (For example, state).", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"LoyaltyProgram": { +"description": "[Loyalty program](https://support.google.com/merchants/answer/12922446) provided by a business.", +"id": "LoyaltyProgram", +"properties": { +"loyaltyProgramTiers": { +"description": "Optional. Loyalty program tier of this shipping service.", +"items": { +"$ref": "LoyaltyProgramTiers" +}, +"type": "array" +}, +"programLabel": { +"description": "This is the loyalty program label set in your loyalty program settings in Merchant Center. This sub-attribute allows Google to map your loyalty program to eligible offers.", +"type": "string" +} +}, +"type": "object" +}, +"LoyaltyProgramTiers": { +"description": "Subset of a business's loyalty program.", +"id": "LoyaltyProgramTiers", +"properties": { +"tierLabel": { +"description": "The tier label [tier_label] sub-attribute differentiates offer level benefits between each tier. This value is also set in your program settings in Merchant Center, and is required for data source changes even if your loyalty program only has 1 tier.", +"type": "string" +} +}, +"type": "object" +}, +"MinimumOrderValueTable": { +"description": "Table of per store minimum order values for the pickup fulfillment type.", +"id": "MinimumOrderValueTable", +"properties": { +"storeCodeSetWithMovs": { +"description": "Required. A list of store code sets sharing the same minimum order value (MOV). At least two sets are required and the last one must be empty, which signifies 'MOV for all other stores'. Each store code can only appear once across all the sets. All prices within a service must have the same currency.", +"items": { +"$ref": "StoreCodeSetWithMov" +}, +"type": "array" +} +}, +"type": "object" +}, +"OmnichannelSetting": { +"description": "Collection of information related to the omnichannel settings of a merchant.", +"id": "OmnichannelSetting", +"properties": { +"about": { +"$ref": "About", +"description": "Optional. The about page URI and state for this country." +}, +"inStock": { +"$ref": "InStock", +"description": "Optional. The InStock URI and state for this country." +}, +"inventoryVerification": { +"$ref": "InventoryVerification", +"description": "Optional. The inventory verification contact and state for this country." +}, +"lfpLink": { +"$ref": "LfpLink", +"description": "Output only. The established link to a LFP provider.", +"readOnly": true +}, +"lsfType": { +"description": "Required. The Local Store Front type for this country.", +"enum": [ +"LSF_TYPE_UNSPECIFIED", +"GHLSF", +"MHLSF_BASIC", +"MHLSF_FULL" +], +"enumDescriptions": [ +"Default value. This value is unused.", +"Google-Hosted Local Store Front. Check the [HC article](https://support.google.com/merchants/answer/14869424) for more details.", +"Merchant-Hosted Local Store Front Basic. Check the [HC article](https://support.google.com/merchants/answer/14615867) for more details.", +"Merchant-Hosted Local Store Front Full. Check the [HC article](https://support.google.com/merchants/answer/14617076) for more details." +], +"type": "string" +}, +"name": { +"description": "Identifier. The resource name of the omnichannel setting. Format: `accounts/{account}/omnichannelSettings/{omnichannel_setting}`", +"type": "string" +}, +"odo": { +"$ref": "OnDisplayToOrder", +"description": "Optional. The On Display to Order (ODO) policy URI and state for this country." +}, +"pickup": { +"$ref": "Pickup", +"description": "Optional. The Pickup URI and state for this country." +}, +"regionCode": { +"description": "Required. Immutable. Region code defined by [CLDR](https://cldr.unicode.org/). Must be provided in the Create method, and is immutable.", +"type": "string" +} +}, +"type": "object" +}, +"OnDisplayToOrder": { +"description": "Collection of information related to the on display to order ([ODO](https://support.google.com/merchants/answer/14615056?ref_topic=15145747&sjid=6892280366904591178-NC)).", +"id": "OnDisplayToOrder", +"properties": { +"state": { +"description": "Output only. The state of the URI.", +"enum": [ +"STATE_UNSPECIFIED", +"ACTIVE", +"FAILED", +"RUNNING", +"ACTION_REQUIRED" +], +"enumDescriptions": [ +"Default value. This value is unused.", +"The review process has concluded successfully. The reviewed item is active.", +"The review process failed.", +"The review process is running.", +"The review process is waiting for the merchant to take action." +], +"readOnly": true, +"type": "string" +}, +"uri": { +"description": "Required. The on display to order (ODO) policy URI.", +"type": "string" +} +}, +"type": "object" +}, +"OnlineReturnPolicy": { +"description": "[Online return policy](https://support.google.com/merchants/answer/10220642) object. This is currently used to represent return policies for ads and free listings programs.", +"id": "OnlineReturnPolicy", +"properties": { +"acceptDefectiveOnly": { +"description": "Optional. This field specifies if business only accepts defective products for returns.", +"type": "boolean" +}, +"acceptExchange": { +"description": "Optional. This field specifies if business allows customers to exchange products.", +"type": "boolean" +}, +"countries": { +"description": "Required. Immutable. The countries of sale where the return policy applies. The values must be a valid 2 letter ISO 3166 code.", +"items": { +"type": "string" +}, +"type": "array" +}, +"itemConditions": { +"description": "Optional. The item conditions accepted for returns must not be empty unless the type of return policy is 'noReturns'.", +"items": { +"enum": [ +"ITEM_CONDITION_UNSPECIFIED", +"NEW", +"USED" +], +"enumDescriptions": [ +"Default value. This value is unused.", +"New.", +"Used." +], +"type": "string" +}, +"type": "array" +}, +"label": { +"description": "Optional. Immutable. This field represents the unique user-defined label of the return policy for the given country. It is important to note that the same label cannot be used in different return policies for the same country. If not given, policies will be automatically treated as the 'default' for the country. When using label, you are creating an exception policy in that country to assign a custom return policy to certain product groups, follow the instructions provided in the [Return policy label] (https://support.google.com/merchants/answer/9445425). The label can contain up to 50 characters.", +"type": "string" +}, +"name": { +"description": "Identifier. The name of the `OnlineReturnPolicy` resource. Format: `accounts/{account}/onlineReturnPolicies/{return_policy}`", +"type": "string" +}, +"policy": { +"$ref": "Policy", +"description": "Optional. The return policy." +}, +"processRefundDays": { +"description": "Optional. The field specifies the number of days it takes for business to process refunds.", +"format": "int32", +"type": "integer" +}, +"restockingFee": { +"$ref": "RestockingFee", +"description": "Optional. The restocking fee that applies to all return reason categories. This would be treated as a free restocking fee if the value is not set." +}, +"returnLabelSource": { +"description": "Optional. The field specifies the return label source.", +"enum": [ +"RETURN_LABEL_SOURCE_UNSPECIFIED", +"DOWNLOAD_AND_PRINT", +"IN_THE_PACKAGE", +"CUSTOMER_RESPONSIBILITY" +], +"enumDescriptions": [ +"Default value. This value is unused.", +"Download and print.", +"Label include in the package.", +"Customer to provide." +], +"type": "string" +}, +"returnMethods": { +"description": "Optional. The return methods of how customers can return an item. This value is required to not be empty unless the type of return policy is noReturns.", +"items": { +"enum": [ +"RETURN_METHOD_UNSPECIFIED", +"BY_MAIL", +"IN_STORE", +"AT_A_KIOSK" +], +"enumDescriptions": [ +"Default value. This value is unused.", +"Return by mail.", +"Return in store.", +"Return at a kiosk." +], +"type": "string" +}, +"type": "array" +}, +"returnPolicyId": { +"description": "Output only. Return policy ID generated by Google.", +"readOnly": true, +"type": "string" +}, +"returnPolicyUri": { +"description": "Required. The return policy uri. This can used by Google to do a sanity check for the policy. It must be a valid URL.", +"type": "string" +}, +"returnShippingFee": { +"$ref": "ReturnShippingFee", +"description": "Optional. The return shipping fee. Should be set only when customer need to download and print the return label." +}, +"seasonalOverrides": { +"description": "Optional. Overrides to the general policy for orders placed during a specific set of time intervals.", +"items": { +"$ref": "SeasonalOverride" +}, +"type": "array" +} +}, +"type": "object" +}, +"PhoneNumber": { +"description": "An object representing a phone number, suitable as an API wire format. This representation: - should not be used for locale-specific formatting of a phone number, such as \"+1 (650) 253-0000 ext. 123\" - is not designed for efficient storage - may not be suitable for dialing - specialized libraries (see references) should be used to parse the number for that purpose To do something meaningful with this number, such as format it for various use-cases, convert it to an `i18n.phonenumbers.PhoneNumber` object first. For instance, in Java this would be: com.google.type.PhoneNumber wireProto = com.google.type.PhoneNumber.newBuilder().build(); com.google.i18n.phonenumbers.Phonenumber.PhoneNumber phoneNumber = PhoneNumberUtil.getInstance().parse(wireProto.getE164Number(), \"ZZ\"); if (!wireProto.getExtension().isEmpty()) { phoneNumber.setExtension(wireProto.getExtension()); } Reference(s): - https://github.com/google/libphonenumber", +"id": "PhoneNumber", +"properties": { +"e164Number": { +"description": "The phone number, represented as a leading plus sign ('+'), followed by a phone number that uses a relaxed ITU E.164 format consisting of the country calling code (1 to 3 digits) and the subscriber number, with no additional spaces or formatting. For example: - correct: \"+15552220123\" - incorrect: \"+1 (555) 222-01234 x123\" The ITU E.164 format limits the latter to 12 digits, but in practice not all countries respect that, so we relax that restriction here. National-only numbers are not allowed. References: - https://www.itu.int/rec/T-REC-E.164-201011-I - https://en.wikipedia.org/wiki/E.164. - https://en.wikipedia.org/wiki/List_of_country_calling_codes", +"type": "string" +}, +"extension": { +"description": "The phone number's extension. The extension is not standardized in ITU recommendations, except for being defined as a series of numbers with a maximum length of 40 digits. Other than digits, some other dialing characters such as ',' (indicating a wait) or '#' may be stored here. Note that no regions currently use extensions with short codes, so this field is normally only set in conjunction with an E.164 number. It is held separately from the E.164 number to allow for short code extensions in the future.", +"type": "string" +}, +"shortCode": { +"$ref": "ShortCode", +"description": "A short code. Reference(s): - https://wikipedia.org/wiki/Short_code" +} +}, +"type": "object" +}, +"Pickup": { +"description": "Collection of information related to Pickup.", +"id": "Pickup", +"properties": { +"state": { +"description": "Output only. The state of the pickup serving.", +"enum": [ +"STATE_UNSPECIFIED", +"ACTIVE", +"FAILED", +"RUNNING", +"ACTION_REQUIRED" +], +"enumDescriptions": [ +"Default value. This value is unused.", +"The review process has concluded successfully. The reviewed item is active.", +"The review process failed.", +"The review process is running.", +"The review process is waiting for the merchant to take action." +], +"readOnly": true, +"type": "string" +}, +"uri": { +"description": "Required. Pickup product page URI. It is only used for the review of pickup serving. This URI domain should match with the business's homepage.", +"type": "string" +} +}, +"type": "object" +}, +"Policy": { +"description": "The available policies.", +"id": "Policy", +"properties": { +"days": { +"description": "The number of days items can be returned after delivery, where one day is defined as 24 hours after the delivery timestamp. Required for `NUMBER_OF_DAYS_AFTER_DELIVERY` returns.", +"format": "int64", +"type": "string" +}, +"type": { +"description": "Policy type.", +"enum": [ +"TYPE_UNSPECIFIED", +"NUMBER_OF_DAYS_AFTER_DELIVERY", +"NO_RETURNS", +"LIFETIME_RETURNS" +], +"enumDescriptions": [ +"Default value. This value is unused.", +"The number of days within which a return is valid after delivery.", +"No returns.", +"Life time returns." +], +"type": "string" +} +}, +"type": "object" +}, +"PostalAddress": { +"description": "Represents a postal address, such as for postal delivery or payments addresses. With a postal address, a postal service can deliver items to a premise, P.O. box, or similar. A postal address is not intended to model geographical locations like roads, towns, or mountains. In typical usage, an address would be created by user input or from importing existing data, depending on the type of process. Advice on address input or editing: - Use an internationalization-ready address widget such as https://github.com/google/libaddressinput. - Users should not be presented with UI elements for input or editing of fields outside countries where that field is used. For more guidance on how to use this schema, see: https://support.google.com/business/answer/6397478.", +"id": "PostalAddress", +"properties": { +"addressLines": { +"description": "Unstructured address lines describing the lower levels of an address. Because values in `address_lines` do not have type information and may sometimes contain multiple values in a single field (for example, \"Austin, TX\"), it is important that the line order is clear. The order of address lines should be \"envelope order\" for the country or region of the address. In places where this can vary (for example, Japan), `address_language` is used to make it explicit (for example, \"ja\" for large-to-small ordering and \"ja-Latn\" or \"en\" for small-to-large). In this way, the most specific line of an address can be selected based on the language. The minimum permitted structural representation of an address consists of a `region_code` with all remaining information placed in the `address_lines`. It would be possible to format such an address very approximately without geocoding, but no semantic reasoning could be made about any of the address components until it was at least partially resolved. Creating an address only containing a `region_code` and `address_lines` and then geocoding is the recommended way to handle completely unstructured addresses (as opposed to guessing which parts of the address should be localities or administrative areas).", +"items": { +"type": "string" +}, +"type": "array" +}, +"administrativeArea": { +"description": "Optional. Highest administrative subdivision which is used for postal addresses of a country or region. For example, this can be a state, a province, an oblast, or a prefecture. For Spain, this is the province and not the autonomous community (for example, \"Barcelona\" and not \"Catalonia\"). Many countries don't use an administrative area in postal addresses. For example, in Switzerland, this should be left unpopulated.", +"type": "string" +}, +"languageCode": { +"description": "Optional. BCP-47 language code of the contents of this address (if known). This is often the UI language of the input form or is expected to match one of the languages used in the address' country/region, or their transliterated equivalents. This can affect formatting in certain countries, but is not critical to the correctness of the data and will never affect any validation or other non-formatting related operations. If this value is not known, it should be omitted (rather than specifying a possibly incorrect default). Examples: \"zh-Hant\", \"ja\", \"ja-Latn\", \"en\".", +"type": "string" +}, +"locality": { +"description": "Optional. Generally refers to the city or town portion of the address. Examples: US city, IT comune, UK post town. In regions of the world where localities are not well defined or do not fit into this structure well, leave `locality` empty and use `address_lines`.", +"type": "string" +}, +"organization": { +"description": "Optional. The name of the organization at the address.", +"type": "string" +}, +"postalCode": { +"description": "Optional. Postal code of the address. Not all countries use or require postal codes to be present, but where they are used, they may trigger additional validation with other parts of the address (for example, state or zip code validation in the United States).", +"type": "string" +}, +"recipients": { +"description": "Optional. The recipient at the address. This field may, under certain circumstances, contain multiline information. For example, it might contain \"care of\" information.", +"items": { +"type": "string" +}, +"type": "array" +}, +"regionCode": { +"description": "Required. CLDR region code of the country/region of the address. This is never inferred and it is up to the user to ensure the value is correct. See https://cldr.unicode.org/ and https://www.unicode.org/cldr/charts/30/supplemental/territory_information.html for details. Example: \"CH\" for Switzerland.", +"type": "string" +}, +"revision": { +"description": "The schema revision of the `PostalAddress`. This must be set to 0, which is the latest revision. All new revisions **must** be backward compatible with old revisions.", +"format": "int32", +"type": "integer" +}, +"sortingCode": { +"description": "Optional. Additional, country-specific, sorting code. This is not used in most regions. Where it is used, the value is either a string like \"CEDEX\", optionally followed by a number (for example, \"CEDEX 7\"), or just a number alone, representing the \"sector code\" (Jamaica), \"delivery area indicator\" (Malawi) or \"post office indicator\" (C\u00f4te d'Ivoire).", +"type": "string" +}, +"sublocality": { +"description": "Optional. Sublocality of the address. For example, this can be a neighborhood, borough, or district.", +"type": "string" +} +}, +"type": "object" +}, +"PostalCodeArea": { +"description": "A list of postal codes that defines the region area. Note: All regions defined using postal codes are accessible through the account's `ShippingSettings.postalCodeGroups` resource.", +"id": "PostalCodeArea", +"properties": { +"postalCodes": { +"description": "Required. A range of postal codes.", +"items": { +"$ref": "PostalCodeRange" +}, +"type": "array" +}, +"regionCode": { +"description": "Required. [CLDR territory code](http://www.unicode.org/repos/cldr/tags/latest/common/main/en.xml) or the country the postal code group applies to.", +"type": "string" +} +}, +"type": "object" +}, +"PostalCodeRange": { +"description": "A range of postal codes that defines the region area.", +"id": "PostalCodeRange", +"properties": { +"begin": { +"description": "Required. A postal code or a pattern of the form prefix* denoting the inclusive lower bound of the range defining the area. Examples values: `94108`, `9410*`, `9*`.", +"type": "string" +}, +"end": { +"description": "Optional. A postal code or a pattern of the form `prefix*` denoting the inclusive upper bound of the range defining the area. It must have the same length as postalCodeRangeBegin: if postalCodeRangeBegin is a postal code then postalCodeRangeEnd must be a postal code too; if postalCodeRangeBegin is a pattern then postalCodeRangeEnd must be a pattern with the same prefix length. Optional: if not set, then the area is defined as being all the postal codes matching postalCodeRangeBegin.", +"type": "string" +} +}, +"type": "object" +}, +"Price": { +"description": "The price represented as a number and currency.", +"id": "Price", +"properties": { +"amountMicros": { +"description": "The price represented as a number in micros (1 million micros is an equivalent to one's currency standard unit, for example, 1 USD = 1000000 micros).", +"format": "int64", +"type": "string" +}, +"currencyCode": { +"description": "The currency of the price using three-letter acronyms according to [ISO 4217](http://en.wikipedia.org/wiki/ISO_4217).", +"type": "string" +} +}, +"type": "object" +}, +"ProductChange": { +"description": "The change that happened to the product including old value, new value, country code as the region code and reporting context.", +"id": "ProductChange", +"properties": { +"newValue": { +"description": "The new value of the changed resource or attribute. If empty, it means that the product was deleted. Will have one of these values : (`approved`, `pending`, `disapproved`, ``)", +"type": "string" +}, +"oldValue": { +"description": "The old value of the changed resource or attribute. If empty, it means that the product was created. Will have one of these values : (`approved`, `pending`, `disapproved`, ``)", +"type": "string" +}, +"regionCode": { +"description": "Countries that have the change (if applicable). Represented in the ISO 3166 format.", +"type": "string" +}, +"reportingContext": { +"description": "Reporting contexts that have the change (if applicable). Currently this field supports only (`SHOPPING_ADS`, `LOCAL_INVENTORY_ADS`, `YOUTUBE_SHOPPING`, `YOUTUBE_CHECKOUT`, `YOUTUBE_AFFILIATE`) from the enum value [ReportingContextEnum](/merchant/api/reference/rest/Shared.Types/ReportingContextEnum)", +"enum": [ +"REPORTING_CONTEXT_ENUM_UNSPECIFIED", +"SHOPPING_ADS", +"DISCOVERY_ADS", +"DEMAND_GEN_ADS", +"DEMAND_GEN_ADS_DISCOVER_SURFACE", +"VIDEO_ADS", +"DISPLAY_ADS", +"LOCAL_INVENTORY_ADS", +"VEHICLE_INVENTORY_ADS", +"FREE_LISTINGS", +"FREE_LISTINGS_UCP_CHECKOUT", +"FREE_LOCAL_LISTINGS", +"FREE_LOCAL_VEHICLE_LISTINGS", +"YOUTUBE_AFFILIATE", +"YOUTUBE_SHOPPING", +"CLOUD_RETAIL", +"LOCAL_CLOUD_RETAIL", +"PRODUCT_REVIEWS", +"MERCHANT_REVIEWS", +"YOUTUBE_CHECKOUT" +], +"enumDeprecated": [ +false, +false, +true, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false +], +"enumDescriptions": [ +"Not specified.", +"[Shopping ads](https://support.google.com/merchants/answer/6149970).", +"Deprecated: Use `DEMAND_GEN_ADS` instead. [Discovery and Demand Gen ads](https://support.google.com/merchants/answer/13389785).", +"[Demand Gen ads](https://support.google.com/merchants/answer/13389785).", +"[Demand Gen ads on Discover surface](https://support.google.com/merchants/answer/13389785).", +"[Video ads](https://support.google.com/google-ads/answer/6340491).", +"[Display ads](https://support.google.com/merchants/answer/6069387).", +"[Local inventory ads](https://support.google.com/merchants/answer/3271956).", +"[Vehicle inventory ads](https://support.google.com/merchants/answer/11544533).", +"[Free product listings](https://support.google.com/merchants/answer/9199328).", +"[Free product listings on UCP checkout](https://developers.google.com/merchant/ucp).", +"[Free local product listings](https://support.google.com/merchants/answer/9825611).", +"[Free local vehicle listings](https://support.google.com/merchants/answer/11544533).", +"[Youtube Affiliate](https://support.google.com/youtube/answer/13376398).", +"[YouTube Shopping](https://support.google.com/merchants/answer/13478370).", +"[Cloud retail](https://cloud.google.com/solutions/retail).", +"[Local cloud retail](https://cloud.google.com/solutions/retail).", +"[Product Reviews](https://support.google.com/merchants/answer/14620732).", +"[Merchant Reviews](https://developers.google.com/merchant-review-feeds).", +"YouTube Checkout ." +], +"type": "string" +} +}, +"type": "object" +}, +"ProductStatusChangeMessage": { +"description": "The message that the merchant will receive to notify about product status change event", +"id": "ProductStatusChangeMessage", +"properties": { +"account": { +"description": "The target account that owns the entity that changed. Format : `accounts/{merchant_id}`", +"type": "string" +}, +"attribute": { +"description": "The attribute in the resource that changed, in this case it will be always `Status`.", +"enum": [ +"ATTRIBUTE_UNSPECIFIED", +"STATUS" +], +"enumDescriptions": [ +"Unspecified attribute", +"Status of the changed entity" +], +"type": "string" +}, +"changes": { +"description": "A message to describe the change that happened to the product", +"items": { +"$ref": "ProductChange" +}, +"type": "array" +}, +"eventTime": { +"description": "The time at which the event was generated. If you want to order the notification messages you receive you should rely on this field not on the order of receiving the notifications.", +"format": "google-datetime", +"type": "string" +}, +"expirationTime": { +"description": "Optional. The product expiration time. This field will not be set if the notification is sent for a product deletion event.", +"format": "google-datetime", +"type": "string" +}, +"managingAccount": { +"description": "The account that manages the merchant's account. can be the same as merchant id if it is standalone account. Format : `accounts/{service_provider_id}`", +"type": "string" +}, +"resource": { +"description": "The product name. Format: `accounts/{account}/products/{product}`", +"type": "string" +}, +"resourceId": { +"description": "The product id.", +"type": "string" +}, +"resourceType": { +"description": "The resource that changed, in this case it will always be `Product`.", +"enum": [ +"RESOURCE_UNSPECIFIED", +"PRODUCT" +], +"enumDescriptions": [ +"Unspecified resource", +"Resource type : product" +], +"type": "string" +} +}, +"type": "object" +}, +"ProductsManagement": { +"description": "`ProductsManagement` payload.", +"id": "ProductsManagement", +"properties": {}, +"type": "object" +}, +"Program": { +"description": "Defines participation in a given program for the specified account. Programs provide a mechanism for adding functionality to a Merchant Center accounts. A typical example of this is the [Free product listings](https://support.google.com/merchants/answer/13889434) program, which enables products from a business's store to be shown across Google for free. The following list is the available set of program resource IDs accessible through the API: * `checkout` * `free-listings` * `product-ratings` * `shopping-ads` * `youtube-shopping-checkout`", +"id": "Program", +"properties": { +"activeRegionCodes": { +"description": "Output only. The regions in which the account is actively participating in the program. Active regions are defined as those where all program requirements affecting the regions have been met. Region codes are defined by [CLDR](https://cldr.unicode.org/). This is either a country where the program applies specifically to that country or `001` when the program applies globally.", +"items": { +"type": "string" +}, +"readOnly": true, +"type": "array" +}, +"documentationUri": { +"description": "Output only. The URL of a Merchant Center help page describing the program.", +"readOnly": true, +"type": "string" +}, +"name": { +"description": "Identifier. The resource name of the program. Format: `accounts/{account}/programs/{program}`", +"type": "string" +}, +"state": { +"description": "Output only. The participation state of the account in the program.", +"enum": [ +"STATE_UNSPECIFIED", +"NOT_ELIGIBLE", +"ELIGIBLE", +"ENABLED" +], +"enumDescriptions": [ +"Default value. This value is unused.", +"The account is not eligible to participate in the program.", +"The account is eligible to participate in the program.", +"The program is enabled for the account." +], +"readOnly": true, +"type": "string" +}, +"unmetRequirements": { +"description": "Output only. The requirements that the account has not yet satisfied that are affecting participation in the program.", +"items": { +"$ref": "Requirement" +}, +"readOnly": true, +"type": "array" +} +}, +"type": "object" +}, +"ProposeAccountServiceRequest": { +"description": "Request to propose an account service.", +"id": "ProposeAccountServiceRequest", +"properties": { +"accountService": { +"$ref": "AccountService", +"description": "Required. The account service to propose." +}, +"provider": { +"description": "Required. The provider of the service. Either the reference to an account such as `providers/123` or a well-known service provider (one of `providers/GOOGLE_ADS` or `providers/GOOGLE_BUSINESS_PROFILE`).", +"type": "string" +} +}, +"type": "object" +}, +"RadiusArea": { +"description": "A radius area that defines the region area.", +"id": "RadiusArea", +"properties": { +"latLng": { +"$ref": "LatLng", +"description": "Required. The center of the radius area. It represents a latitude/longitude pair in decimal degrees format." +}, +"radius": { +"description": "Required. The radius distance of the area.", +"format": "double", +"type": "number" +}, +"radiusUnits": { +"description": "Optional. The unit of the radius.", +"enum": [ +"RADIUS_UNITS_UNSPECIFIED", +"MILES", +"KILOMETERS" +], +"enumDescriptions": [ +"Unused default value", +"The distance is measured in miles.", +"The distance is measured in kilometers." +], +"type": "string" +}, +"regionCode": { +"description": "Required. [CLDR territory code](http://www.unicode.org/repos/cldr/tags/latest/common/main/en.xml) or the country the radius area applies to.", +"type": "string" +} +}, +"type": "object" +}, +"RateGroup": { +"description": "Shipping rate group definitions. Only the last one is allowed to have an empty `applicable_shipping_labels`, which means \"everything else\". The other `applicable_shipping_labels` must not overlap.", +"id": "RateGroup", +"properties": { +"applicableShippingLabels": { +"description": "Required. A list of [shipping labels](https://support.google.com/merchants/answer/6324504) defining the products to which this rate group applies to. This is a disjunction: only one of the labels has to match for the rate group to apply. May only be empty for the last rate group of a service.", +"items": { +"type": "string" +}, +"type": "array" +}, +"carrierRates": { +"description": "Optional. A list of carrier rates that can be referred to by `main_table` or `single_value`.", +"items": { +"$ref": "CarrierRate" +}, +"type": "array" +}, +"mainTable": { +"$ref": "Table", +"description": "A table defining the rate group, when `single_value` is not expressive enough. Can only be set if `single_value` is not set." +}, +"name": { +"description": "Optional. Name of the rate group. If set has to be unique within shipping service.", +"type": "string" +}, +"singleValue": { +"$ref": "Value", +"description": "The value of the rate group (For example flat rate $10). Can only be set if `main_table` and `subtables` are not set." +}, +"subtables": { +"description": "Optional. A list of subtables referred to by `main_table`. Can only be set if `main_table` is set.", +"items": { +"$ref": "Table" +}, +"type": "array" +} +}, +"type": "object" +}, +"Region": { +"description": "Represents a geographic region that you can use as a target with both the `RegionalInventory` and `ShippingSettings` services. You can define regions as collections of either postal codes, radius areas or, in some countries, using predefined geotargets. A region must be defined by specifying exactly one of `postal_code_area`, `geotarget_area`, or `radius_area`. For more information, see [Set up regions ](https://support.google.com/merchants/answer/7410946#zippy=%2Ccreate-a-new-region) for more information.", +"id": "Region", +"properties": { +"displayName": { +"description": "Optional. The display name of the region.", +"type": "string" +}, +"geotargetArea": { +"$ref": "GeoTargetArea", +"description": "Optional. A list of geotargets that defines the region area." +}, +"name": { +"description": "Identifier. The resource name of the region. Format: `accounts/{account}/regions/{region}`", +"type": "string" +}, +"postalCodeArea": { +"$ref": "PostalCodeArea", +"description": "Optional. A list of postal codes that defines the region area." +}, +"radiusArea": { +"$ref": "RadiusArea", +"description": "Optional. A radius area that defines the region area." +}, +"regionalInventoryEligible": { +"description": "Output only. Indicates if the region is eligible for use in the Regional Inventory configuration.", +"readOnly": true, +"type": "boolean" +}, +"shippingEligible": { +"description": "Output only. Indicates if the region is eligible for use in the Shipping Services configuration.", +"readOnly": true, +"type": "boolean" +} +}, +"type": "object" +}, +"RegisterGcpRequest": { +"description": "Request message for the RegisterGCP method.", +"id": "RegisterGcpRequest", +"properties": { +"developerEmail": { +"description": "Immutable. If the developer email provided is associated with a user in the merchant account provided, the user will be updated to have \"API developer\" access type and the email preference corresponding to that user will be updated to have the new \"API notifications\" preference. If the developer email provided is not associated with any user we will just add it as a contact. The email preference corresponding to that contact will have the new \"API notifications\" preference. Make sure the email used is associated with a Google Account (Google Workspace account or Gmail account) and is not a service account as service accounts can't receive emails.", +"type": "string" +} +}, +"type": "object" +}, +"RejectAccountServiceRequest": { +"description": "Request to reject an account service.", +"id": "RejectAccountServiceRequest", +"properties": {}, +"type": "object" +}, +"RequestInventoryVerificationRequest": { +"description": "Request message for the RequestInventoryVerification method.", +"id": "RequestInventoryVerificationRequest", +"properties": {}, +"type": "object" +}, +"RequestInventoryVerificationResponse": { +"description": "Response message for the RequestInventoryVerification method.", +"id": "RequestInventoryVerificationResponse", +"properties": { +"omnichannelSetting": { +"$ref": "OmnichannelSetting", +"description": "The omnichannel setting that was updated." +} +}, +"type": "object" +}, +"Required": { +"description": "Describes the terms of service which are required to be accepted.", +"id": "Required", +"properties": { +"termsOfService": { +"description": "Required. The `TermsOfService` that need to be accepted.", +"type": "string" +}, +"tosFileUri": { +"description": "Required. Full URL to the terms of service file. This field is the same as `TermsOfService.file_uri`, it is added here for convenience only.", +"type": "string" +} +}, +"type": "object" +}, +"Requirement": { +"description": "Defines a requirement specified for participation in the program.", +"id": "Requirement", +"properties": { +"affectedRegionCodes": { +"description": "Output only. The regions that are currently affected by this requirement not being met. Region codes are defined by [CLDR](https://cldr.unicode.org/). This is either a country where the program applies specifically to that country or `001` when the program applies globally.", +"items": { +"type": "string" +}, +"readOnly": true, +"type": "array" +}, +"documentationUri": { +"description": "Output only. The URL of a help page describing the requirement.", +"readOnly": true, +"type": "string" +}, +"title": { +"description": "Output only. Name of the requirement.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"RestockingFee": { +"description": "The restocking fee. This can be a flat fee or a micro percent.", +"id": "RestockingFee", +"properties": { +"fixedFee": { +"$ref": "Price", +"description": "Fixed restocking fee." +}, +"microPercent": { +"description": "Percent of total price in micros. 15,000,000 means 15% of the total price would be charged.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"ReturnShippingFee": { +"description": "The return shipping fee. This can either be a fixed fee or a boolean to indicate that the customer pays the actual shipping cost.", +"id": "ReturnShippingFee", +"properties": { +"fixedFee": { +"$ref": "Price", +"description": "Fixed return shipping fee amount. This value is only applicable when type is `FIXED`. We will treat the return shipping fee as free if type is `FIXED` and this value is not set." +}, +"type": { +"description": "Required. Type of return shipping fee.", +"enum": [ +"TYPE_UNSPECIFIED", +"FIXED", +"CUSTOMER_PAYING_ACTUAL_FEE" +], +"enumDescriptions": [ +"Default value. This value is unused.", +"The return shipping fee is a fixed value.", +"Customers will pay the actual return shipping fee." +], +"type": "string" +} +}, +"type": "object" +}, +"Row": { +"description": "Include a list of cells.", +"id": "Row", +"properties": { +"cells": { +"description": "Required. The list of cells that constitute the row. Must have the same length as `columnHeaders` for two-dimensional tables, a length of 1 for one-dimensional tables.", +"items": { +"$ref": "Value" +}, +"type": "array" +} +}, +"type": "object" +}, +"SeasonalOverride": { +"id": "SeasonalOverride", +"properties": { +"endDate": { +"$ref": "Date", +"description": "Required. seasonal override end date (inclusive)." +}, +"label": { +"description": "Required. Display name of this seasonal override in Merchant Center.", +"type": "string" +}, +"returnDays": { +"description": "Number of days (from the delivery date) that the product can be returned.", +"format": "int32", +"type": "integer" +}, +"returnUntilDate": { +"$ref": "Date", +"description": "Fixed end date until which the product can be returned." +}, +"startDate": { +"$ref": "Date", +"description": "Required. Defines the date range when this seasonal override applies. Both start_date and end_date are inclusive. The dates of the seasonal overrides should not overlap." +} +}, +"type": "object" +}, +"Service": { +"description": "Shipping service.", +"id": "Service", +"properties": { +"active": { +"description": "Required. A boolean exposing the active status of the shipping service.", +"type": "boolean" +}, +"currencyCode": { +"description": "Required. The CLDR code of the currency to which this service applies. Must match that of the prices in rate groups.", +"type": "string" +}, +"deliveryCountries": { +"description": "Required. The CLDR territory code of the countries to which the service applies.", +"items": { +"type": "string" +}, +"type": "array" +}, +"deliveryTime": { +"$ref": "DeliveryTime", +"description": "Required. Time spent in various aspects from order to the delivery of the product." +}, +"loyaltyPrograms": { +"description": "Optional. Loyalty programs that this shipping service is limited to.", +"items": { +"$ref": "LoyaltyProgram" +}, +"type": "array" +}, +"minimumOrderValue": { +"$ref": "Price", +"description": "Optional. Minimum order value for this service. If set, indicates that customers will have to spend at least this amount. All prices within a service must have the same currency. Cannot be set together with `minimum_order_value_table`." +}, +"minimumOrderValueTable": { +"$ref": "MinimumOrderValueTable", +"description": "Optional. Table of per store minimum order values for the pickup fulfillment type. Cannot be set together with `minimum_order_value`." +}, +"rateGroups": { +"description": "Optional. Shipping rate group definitions. Only the last one is allowed to have an empty `applicable_shipping_labels`, which means \"everything else\". The other `applicable_shipping_labels` must not overlap.", +"items": { +"$ref": "RateGroup" +}, +"type": "array" +}, +"serviceName": { +"description": "Required. Free-form name of the service. Must be unique within target account.", +"type": "string" +}, +"shipmentType": { +"description": "Optional. Type of locations this service ships orders to.", +"enum": [ +"SHIPMENT_TYPE_UNSPECIFIED", +"DELIVERY", +"LOCAL_DELIVERY", +"COLLECTION_POINT" +], +"enumDescriptions": [ +"This service did not specify shipment type.", +"This service ships orders to an address chosen by the customer.", +"This service ships orders to an address chosen by the customer. The order is shipped from a local store near by.", +"This service ships orders to an address chosen by the customer. The order is shipped from a collection point." +], +"type": "string" +}, +"storeConfig": { +"$ref": "StoreConfig", +"description": "A list of stores your products are delivered from. This is only valid for the local delivery shipment type." +} +}, +"type": "object" +}, +"SetAliasForRelationship": { +"description": "Set an alias for a relationship between a provider and the account to be created.", +"id": "SetAliasForRelationship", +"properties": { +"accountIdAlias": { +"description": "Required. The unique ID of this account in the provider's system. The value must be unique across all accounts on the platform for this provider.", +"type": "string" +}, +"provider": { +"description": "Required. The provider of the service. This is a reference to an account such as `providers/123` or `accounts/123`. The same provider must be specified in at least one of the `service` fields.", +"type": "string" +} +}, +"type": "object" +}, +"ShippingSettings": { +"description": "The Merchant Center account's [shipping settings](https://support.google.com/merchants/answer/6069284). The `ShippingSettings` resource lets you retrieve and update the shipping settings of your advanced account and all its associated sub-accounts.", +"id": "ShippingSettings", +"properties": { +"etag": { +"description": "Required. This field helps avoid async issues. It ensures that the shipping setting data doesn't change between the `get` call and the `insert` call. The user should follow these steps: 1. Set the etag field as an empty string for the initial shipping setting creation. 2. After the initial creation, call the `get` method to obtain an etag and the current shipping setting data before calling `insert`. 3. Modify the shipping setting information. 4. Call the `insert` method with the shipping setting information and the etag obtained in step 2. 5. If the shipping setting data changes between step 2 and step 4, the insert request will fail because the etag changes every time the shipping setting data changes. In this case, the user should repeat steps 2-4 with the new etag.", +"type": "string" +}, +"name": { +"description": "Identifier. The resource name of the shipping settings. Format: `accounts/{account}/shippingSettings`. For example, `accounts/123456/shippingSettings`.", +"type": "string" +}, +"services": { +"description": "Optional. The target account's list of services.", +"items": { +"$ref": "Service" +}, +"type": "array" +}, +"warehouses": { +"description": "Optional. A list of warehouses which can be referred to in `services`.", +"items": { +"$ref": "Warehouse" +}, +"type": "array" +} +}, +"type": "object" +}, +"ShortCode": { +"description": "An object representing a short code, which is a phone number that is typically much shorter than regular phone numbers and can be used to address messages in MMS and SMS systems, as well as for abbreviated dialing (For example \"Text 611 to see how many minutes you have remaining on your plan.\"). Short codes are restricted to a region and are not internationally dialable, which means the same short code can exist in different regions, with different usage and pricing, even if those regions share the same country calling code (For example: US and CA).", +"id": "ShortCode", +"properties": { +"number": { +"description": "Required. The short code digits, without a leading plus ('+') or country calling code. For example \"611\".", +"type": "string" +}, +"regionCode": { +"description": "Required. The BCP-47 region code of the location where calls to this short code can be made, such as \"US\" and \"BB\". Reference(s): - http://www.unicode.org/reports/tr35/#unicode_region_subtag", +"type": "string" +} +}, +"type": "object" +}, +"StoreCodeSetWithMov": { +"description": "A list of store code sets sharing the same minimum order value. At least two sets are required and the last one must be empty, which signifies 'MOV for all other stores'. Each store code can only appear once across all the sets. All prices within a service must have the same currency.", +"id": "StoreCodeSetWithMov", +"properties": { +"storeCodes": { +"description": "Optional. A list of unique store codes or empty for the catch all.", +"items": { +"type": "string" +}, +"type": "array" +}, +"value": { +"$ref": "Price", +"description": "The minimum order value for the given stores." +} +}, +"type": "object" +}, +"StoreConfig": { +"description": "A list of stores your products are delivered from. This is only valid for the local delivery shipment type.", +"id": "StoreConfig", +"properties": { +"cutoffConfig": { +"$ref": "CutoffConfig", +"description": "Configs related to local delivery ends for the day." +}, +"serviceRadius": { +"$ref": "Distance", +"description": "Maximum delivery radius. This is only required for the local delivery shipment type." +}, +"storeCodes": { +"description": "Optional. A list of store codes that provide local delivery. If empty, then `all_stores` must be true.", +"items": { +"type": "string" +}, +"type": "array" +}, +"storeServiceType": { +"description": "Indicates whether all stores, or selected stores, listed by this business provide local delivery.", +"enum": [ +"STORE_SERVICE_TYPE_UNSPECIFIED", +"ALL_STORES", +"SELECTED_STORES" +], +"enumDescriptions": [ +"Did not specify store service type.", +"Indicates whether all stores, current and future, listed by this business provide local delivery.", +"Indicates that only the stores listed in `store_codes` are eligible for local delivery." +], +"type": "string" +} +}, +"type": "object" +}, +"Table": { +"description": "A table defining the rate group, when `single_value` is not expressive enough.", +"id": "Table", +"properties": { +"columnHeaders": { +"$ref": "Headers", +"description": "Headers of the table's columns. Optional: if not set then the table has only one dimension." +}, +"name": { +"description": "Name of the table. Required for subtables, ignored for the main table.", +"type": "string" +}, +"rowHeaders": { +"$ref": "Headers", +"description": "Required. Headers of the table's rows." +}, +"rows": { +"description": "Required. The list of rows that constitute the table. Must have the same length as `row_headers`.", +"items": { +"$ref": "Row" +}, +"type": "array" +} +}, +"type": "object" +}, +"TermsOfService": { +"description": "The `TermsOfService` message represents a specific version of the terms of service that merchants must accept to access certain features or services. For more information, see [Terms of Service](https://support.google.com/merchants/answer/160173). This message is important for the onboarding process, ensuring that merchants agree to the necessary legal agreements for using the service. Merchants can retrieve the latest terms of service for a given `kind` and `region` through `RetrieveLatestTermsOfService`, and accept them as required through `AcceptTermsOfService`.", +"id": "TermsOfService", +"properties": { +"external": { +"description": "Whether this terms of service version is external. External terms of service versions can only be agreed through external processes and not directly by the merchant through UI or API.", +"type": "boolean" +}, +"fileUri": { +"description": "URI for terms of service file that needs to be displayed to signing users.", +"type": "string" +}, +"kind": { +"description": "The Kind this terms of service version applies to.", +"enum": [ +"TERMS_OF_SERVICE_KIND_UNSPECIFIED", +"MERCHANT_CENTER" +], +"enumDescriptions": [ +"Default value. This value is unused.", +"Merchant Center application." +], +"type": "string" +}, +"name": { +"description": "Identifier. The resource name of the terms of service version. Format: `termsOfService/{version}`", +"type": "string" +}, +"regionCode": { +"description": "Region code as defined by [CLDR](https://cldr.unicode.org/). This is either a country where the ToS applies specifically to that country or `001` when the same `TermsOfService` can be signed in any country. However note that when signing a ToS that applies globally we still expect that a specific country is provided (this should be merchant business country or program country of participation).", +"type": "string" +} +}, +"type": "object" +}, +"TermsOfServiceAgreementState": { +"description": "This resource represents the agreement state for a given account and terms of service kind. The state is as follows: * If the business has accepted a terms of service, `accepted` will be populated, otherwise it will be empty * If the business must sign a terms of service, `required` will be populated, otherwise it will be empty. Note that both `required` and `accepted` can be present. In this case the `accepted` terms of services will have an expiration date set in the `valid_until` field. The `required` terms of services need to be accepted before `valid_until` in order for the account to continue having a valid agreement. When accepting new terms of services we expect third-party providers to display the text associated with the given terms of service agreement (the url to the file containing the text is added in the Required message below as `tos_file_uri`). The actual acceptance of the terms of service is done by calling accept on the `TermsOfService` resource. `valid_until` field.", +"id": "TermsOfServiceAgreementState", +"properties": { +"accepted": { +"$ref": "Accepted", +"description": "Optional. The accepted terms of service of this kind and for the associated region_code" +}, +"name": { +"description": "Identifier. The resource name of the terms of service version. Format: `accounts/{account}/termsOfServiceAgreementState/{identifier}` The identifier format is: `{TermsOfServiceKind}-{country}` For example, an identifier could be: `MERCHANT_CENTER-EU` or `MERCHANT_CENTER-US`.", +"type": "string" +}, +"regionCode": { +"description": "Required. Region code as defined by https://cldr.unicode.org/. This is the country the current state applies to.", +"type": "string" +}, +"required": { +"$ref": "Required", +"description": "Optional. The required terms of service" +}, +"termsOfServiceKind": { +"description": "Required. Terms of Service kind associated with the particular version.", +"enum": [ +"TERMS_OF_SERVICE_KIND_UNSPECIFIED", +"MERCHANT_CENTER" +], +"enumDescriptions": [ +"Default value. This value is unused.", +"Merchant Center application." +], +"type": "string" +} +}, +"type": "object" +}, +"TimeZone": { +"description": "Represents a time zone from the [IANA Time Zone Database](https://www.iana.org/time-zones).", +"id": "TimeZone", +"properties": { +"id": { +"description": "IANA Time Zone Database time zone. For example \"America/New_York\".", +"type": "string" +}, +"version": { +"description": "Optional. IANA Time Zone Database version number. For example \"2019a\".", +"type": "string" +} +}, +"type": "object" +}, +"TransitTable": { +"description": "Transit time table, number of business days spent in transit based on row and column dimensions. Either `min_transit_days`, `max_transit_days` or `transit_time_table` can be set, but not both.", +"id": "TransitTable", +"properties": { +"postalCodeGroupNames": { +"description": "Required. A list of region names Region.name . The last value can be `\"all other locations\"`. Example: `[\"zone 1\", \"zone 2\", \"all other locations\"]`. The referred postal code groups must match the delivery country of the service.", +"items": { +"type": "string" +}, +"type": "array" +}, +"rows": { +"description": "Required. If there's only one dimension set of `postal_code_group_names` or `transit_time_labels`, there are multiple rows each with one value for that dimension. If there are two dimensions, each row corresponds to a `postal_code_group_names`, and columns (values) to a `transit_time_labels`.", +"items": { +"$ref": "TransitTimeRow" +}, +"type": "array" +}, +"transitTimeLabels": { +"description": "Required. A list of transit time labels. The last value can be `\"all other labels\"`. Example: `[\"food\", \"electronics\", \"all other labels\"]`.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"TransitTimeRow": { +"description": "If there's only one dimension set of `postal_code_group_names` or `transit_time_labels`, there are multiple rows each with one value for that dimension. If there are two dimensions, each row corresponds to a `postal_code_group_names`, and columns (values) to a `transit_time_labels`.", +"id": "TransitTimeRow", +"properties": { +"values": { +"description": "Required. Transit time range (min-max) in business days.", +"items": { +"$ref": "TransitTimeValue" +}, +"type": "array" +} +}, +"type": "object" +}, +"TransitTimeValue": { +"description": "Transit time range (min-max) in business days.", +"id": "TransitTimeValue", +"properties": { +"maxTransitDays": { +"description": "Must be greater than or equal to `min_transit_days`.", +"format": "int32", +"type": "integer" +}, +"minTransitDays": { +"description": "Minimum transit time range in business days. 0 means same day delivery, 1 means next day delivery.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"UnclaimHomepageRequest": { +"description": "Request message for the `UnclaimHomepage` method.", +"id": "UnclaimHomepageRequest", +"properties": {}, +"type": "object" +}, +"UnregisterGcpRequest": { +"description": "Request message for the UnregisterGCP method.", +"id": "UnregisterGcpRequest", +"properties": {}, +"type": "object" +}, +"UpdateRegionRequest": { +"description": "Request message for the `UpdateRegion` method.", +"id": "UpdateRegionRequest", +"properties": { +"region": { +"$ref": "Region", +"description": "Required. The updated region." +}, +"updateMask": { +"description": "Optional. The comma-separated field mask indicating the fields to update. Example: `\"displayName,postalCodeArea.regionCode\"`.", +"format": "google-fieldmask", +"type": "string" +} +}, +"type": "object" +}, +"UriSettings": { +"description": "URL settings for cart or checkout URL.", +"id": "UriSettings", +"properties": { +"cartUriTemplate": { +"description": "Cart URL template. When the placeholders are expanded will redirect the buyer to the cart page on the merchant website with the selected item in cart. For more details, check the [help center doc](https://support.google.com/merchants/answer/13945960#method1&zippy=%2Cproduct-level-url-formatting%2Caccount-level-url-formatting)", +"type": "string" +}, +"checkoutUriTemplate": { +"description": "Checkout URL template. When the placeholders are expanded will redirect the buyer to the merchant checkout page with the item in the cart. For more details, check the [help center doc](https://support.google.com/merchants/answer/13945960#method1&zippy=%2Cproduct-level-url-formatting%2Caccount-level-url-formatting)", +"type": "string" +} +}, +"type": "object" +}, +"User": { +"description": "The `User` resource represents a user associated with a Merchant Center account. It is used to manage user permissions and access rights within the account. For more information, see [Frequently asked questions about people and access levels](//support.google.com/merchants/answer/12160472).", +"id": "User", +"properties": { +"accessRights": { +"description": "Required. The [access rights](https://support.google.com/merchants/answer/12160472?sjid=6789834943175119429-EU#accesstypes) the user has.", +"items": { +"enum": [ +"ACCESS_RIGHT_UNSPECIFIED", +"STANDARD", +"READ_ONLY", +"ADMIN", +"PERFORMANCE_REPORTING", +"API_DEVELOPER" +], +"enumDescriptions": [ +"Default value. This value is unused.", +"Standard access rights.", +"Has access to the same read-only methods as STANDARD, but no access to any mutating methods.", +"Admin access rights.", +"Users with this right have access to performance and insights.", +"Users with this right have access to Merchant API and its notifications. This role is only accessible to accounts that have a developer registration." +], +"type": "string" +}, +"type": "array" +}, +"name": { +"description": "Identifier. The resource name of the user. Format: `accounts/{account}/user/{email}` Use `me` to refer to your own email address, for example `accounts/{account}/users/me`.", +"type": "string" +}, +"state": { +"description": "Output only. The state of the user.", +"enum": [ +"STATE_UNSPECIFIED", +"PENDING", +"VERIFIED" +], +"enumDescriptions": [ +"Default value. This value is unused.", +"The user is pending confirmation. In this state, the user first needs to accept the invitation before performing other actions.", +"The user is verified." +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"Value": { +"description": "The single value of a rate group or the value of a rate group table's cell. Exactly one of `no_shipping`, `flat_rate`, `price_percentage`, `carrier_rateName`, `subtable_name` must be set.", +"id": "Value", +"properties": { +"carrierRate": { +"description": "The name of a carrier rate referring to a carrier rate defined in the same rate group. Can only be set if all other fields are not set.", +"type": "string" +}, +"flatRate": { +"$ref": "Price", +"description": "A flat rate. Can only be set if all other fields are not set." +}, +"noShipping": { +"description": "If true, then the product can't be shipped. Must be true when set, can only be set if all other fields are not set.", +"type": "boolean" +}, +"pricePercentage": { +"description": "A percentage of the price represented as a number in decimal notation (For example, `\"5.4\"`). Can only be set if all other fields are not set.", +"type": "string" +}, +"subtable": { +"description": "The name of a subtable. Can only be set in table cells (For example, not for single values), and only if all other fields are not set.", +"type": "string" +} +}, +"type": "object" +}, +"VerificationMailSettings": { +"description": "Settings related to the verification email that is sent after adding a user.", +"id": "VerificationMailSettings", +"properties": { +"verificationMailMode": { +"description": "Optional. Mode of the verification mail. If not set, the default is `SEND_VERIFICATION_MAIL`.", +"enum": [ +"VERIFICATION_MAIL_MODE_UNSPECIFIED", +"SEND_VERIFICATION_MAIL", +"SUPPRESS_VERIFICATION_MAIL" +], +"enumDescriptions": [ +"Default first member of every enum. Do not use.", +"An invitation email is sent to the user added shortly after.", +"No invitation email is sent. This can be useful if the user is expected to accept the invitation through the API without needing another notification." +], +"type": "string" +} +}, +"type": "object" +}, +"VerifySelfRequest": { +"description": "Request message for the `VerifySelf` method.", +"id": "VerifySelfRequest", +"properties": {}, +"type": "object" +}, +"Warehouse": { +"description": "A fulfillment warehouse, which stores and handles inventory.", +"id": "Warehouse", +"properties": { +"businessDayConfig": { +"$ref": "BusinessDayConfig", +"description": "Business days of the warehouse. If not set, will be Monday to Friday by default." +}, +"cutoffTime": { +"$ref": "WarehouseCutoffTime", +"description": "Required. The latest time of day that an order can be accepted and begin processing. Later orders will be processed in the next day. The time is based on the warehouse postal code." +}, +"handlingDays": { +"description": "Required. The number of days it takes for this warehouse to pack up and ship an item. This is on the warehouse level, but can be overridden on the offer level based on the attributes of an item.", +"format": "int64", +"type": "string" +}, +"name": { +"description": "Required. The name of the warehouse. Must be unique within account.", +"type": "string" +}, +"shippingAddress": { +"$ref": "Address", +"description": "Required. Shipping address of the warehouse." +} +}, +"type": "object" +}, +"WarehouseBasedDeliveryTime": { +"description": "Indicates that the delivery time should be calculated per warehouse (shipping origin location) based on the settings of the selected carrier. When set, no other transit time related field in `delivery_time` should be set.", +"id": "WarehouseBasedDeliveryTime", +"properties": { +"carrier": { +"description": "Required. Carrier, such as `\"UPS\"` or `\"Fedex\"`. [supported carriers](https://support.google.com/merchants/answer/7050921#zippy=%2Ccarrier-rates-au-de-uk-and-us-only)", +"type": "string" +}, +"carrierService": { +"description": "Required. Carrier service, such as `\"ground\"` or `\"2 days\"`. The name of the service must be in the eddSupportedServices list.", +"type": "string" +}, +"warehouse": { +"description": "Required. Warehouse name. This should match warehouse.", +"type": "string" +} +}, +"type": "object" +}, +"WarehouseCutoffTime": { +"description": "The latest time of day that an order can be accepted and begin processing. Later orders will be processed in the next day. The time is based on the warehouse postal code.", +"id": "WarehouseCutoffTime", +"properties": { +"hour": { +"description": "Required. Hour of the cutoff time until which an order has to be placed to be processed in the same day by the warehouse. Hour is based on the timezone of warehouse.", +"format": "int32", +"type": "integer" +}, +"minute": { +"description": "Required. Minute of the cutoff time until which an order has to be placed to be processed in the same day by the warehouse. Minute is based on the timezone of warehouse.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"Weight": { +"description": "The weight represented as the value in string and the unit.", +"id": "Weight", +"properties": { +"amountMicros": { +"description": "Required. The weight represented as a number in micros (1 million micros is an equivalent to one's currency standard unit, for example, 1 kg = 1000000 micros). This field can also be set as infinity by setting to -1. This field only support -1 and positive value.", +"format": "int64", +"type": "string" +}, +"unit": { +"description": "Required. The weight unit. Acceptable values are: kg and lb", +"enum": [ +"WEIGHT_UNIT_UNSPECIFIED", +"POUND", +"KILOGRAM" +], +"enumDescriptions": [ +"unit unspecified", +"lb unit.", +"kg unit." +], +"type": "string" +} +}, +"type": "object" +} +}, +"servicePath": "", +"title": "Merchant API", +"version": "accounts_v1", +"version_module": true +} \ No newline at end of file diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/merchantapi.accounts_v1beta.json b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/merchantapi.accounts_v1beta.json new file mode 100644 index 0000000000000000000000000000000000000000..ab46ba444c86980db9f3d8dc12fb8dd9cd9990ae --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/merchantapi.accounts_v1beta.json @@ -0,0 +1,5667 @@ +{ +"auth": { +"oauth2": { +"scopes": { +"https://www.googleapis.com/auth/content": { +"description": "Manage your product listings and accounts for Google Shopping" +} +} +} +}, +"basePath": "", +"baseUrl": "https://merchantapi.googleapis.com/", +"batchPath": "batch", +"canonicalName": "Merchant", +"description": "Programmatically manage your Merchant Center Accounts.", +"discoveryVersion": "v1", +"documentationLink": "https://developers.google.com/merchant/api", +"fullyEncodeReservedExpansion": true, +"icons": { +"x16": "http://www.google.com/images/icons/product/search-16.gif", +"x32": "http://www.google.com/images/icons/product/search-32.gif" +}, +"id": "merchantapi:accounts_v1beta", +"kind": "discovery#restDescription", +"mtlsRootUrl": "https://merchantapi.mtls.googleapis.com/", +"name": "merchantapi", +"ownerDomain": "google.com", +"ownerName": "Google", +"parameters": { +"$.xgafv": { +"description": "V1 error format.", +"enum": [ +"1", +"2" +], +"enumDescriptions": [ +"v1 error format", +"v2 error format" +], +"location": "query", +"type": "string" +}, +"access_token": { +"description": "OAuth access token.", +"location": "query", +"type": "string" +}, +"alt": { +"default": "json", +"description": "Data format for response.", +"enum": [ +"json", +"media", +"proto" +], +"enumDescriptions": [ +"Responses with Content-Type of application/json", +"Media download with context-dependent Content-Type", +"Responses with Content-Type of application/x-protobuf" +], +"location": "query", +"type": "string" +}, +"callback": { +"description": "JSONP", +"location": "query", +"type": "string" +}, +"fields": { +"description": "Selector specifying which fields to include in a partial response.", +"location": "query", +"type": "string" +}, +"key": { +"description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", +"location": "query", +"type": "string" +}, +"oauth_token": { +"description": "OAuth 2.0 token for the current user.", +"location": "query", +"type": "string" +}, +"prettyPrint": { +"default": "true", +"description": "Returns response with indentations and line breaks.", +"location": "query", +"type": "boolean" +}, +"quotaUser": { +"description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.", +"location": "query", +"type": "string" +}, +"uploadType": { +"description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", +"location": "query", +"type": "string" +}, +"upload_protocol": { +"description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", +"location": "query", +"type": "string" +} +}, +"protocol": "rest", +"resources": { +"accounts": { +"methods": { +"createAndConfigure": { +"description": "Creates a Merchant Center account with additional configuration. Adds the user that makes the request as an admin for the new account.", +"flatPath": "accounts/v1beta/accounts:createAndConfigure", +"httpMethod": "POST", +"id": "merchantapi.accounts.createAndConfigure", +"parameterOrder": [], +"parameters": {}, +"path": "accounts/v1beta/accounts:createAndConfigure", +"request": { +"$ref": "CreateAndConfigureAccountRequest" +}, +"response": { +"$ref": "Account" +}, +"scopes": [ +"https://www.googleapis.com/auth/content" +] +}, +"delete": { +"description": "Deletes the specified account regardless of its type: standalone, advanced account or sub-account. Deleting an advanced account leads to the deletion of all of its sub-accounts. This also deletes the account's [developer registration entity](/merchant/api/reference/rest/accounts_v1beta/accounts.developerRegistration) and any associated GCP project to the account. Executing this method requires admin access. The deletion succeeds only if the account does not provide services to any other account and has no processed offers. You can use the `force` parameter to override this.", +"flatPath": "accounts/v1beta/accounts/{accountsId}", +"httpMethod": "DELETE", +"id": "merchantapi.accounts.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"force": { +"description": "Optional. If set to `true`, the account is deleted even if it provides services to other accounts or has processed offers.", +"location": "query", +"type": "boolean" +}, +"name": { +"description": "Required. The name of the account to delete. Format: `accounts/{account}`", +"location": "path", +"pattern": "^accounts/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "accounts/v1beta/{+name}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/content" +] +}, +"get": { +"description": "Retrieves an account from your Merchant Center account. After inserting, updating, or deleting an account, it may take several minutes before changes take effect.", +"flatPath": "accounts/v1beta/accounts/{accountsId}", +"httpMethod": "GET", +"id": "merchantapi.accounts.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the account to retrieve. Format: `accounts/{account}`", +"location": "path", +"pattern": "^accounts/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "accounts/v1beta/{+name}", +"response": { +"$ref": "Account" +}, +"scopes": [ +"https://www.googleapis.com/auth/content" +] +}, +"list": { +"description": "Note: For the `accounts.list` method, quota and limits usage are charged for each user, and not for the Merchant Center ID or the advanced account ID. To list several sub-accounts, you should use the `accounts.listSubaccounts` method, which is more suitable for advanced accounts use case.", +"flatPath": "accounts/v1beta/accounts", +"httpMethod": "GET", +"id": "merchantapi.accounts.list", +"parameterOrder": [], +"parameters": { +"filter": { +"description": "Optional. Returns only accounts that match the [filter](https://developers.google.com/merchant/api/guides/accounts/filter). For more details, see the [filter syntax reference](https://developers.google.com/merchant/api/guides/accounts/filter-syntax).", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Optional. The maximum number of accounts to return. The service may return fewer than this value. If unspecified, at most 250 accounts are returned. The maximum value is 500; values above 500 are coerced to 500.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. A page token, received from a previous `accounts.list` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided in the `accounts.list` request must match the call that provided the page token.", +"location": "query", +"type": "string" +} +}, +"path": "accounts/v1beta/accounts", +"response": { +"$ref": "ListAccountsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/content" +] +}, +"listSubaccounts": { +"description": "List all sub-accounts for a given advanced account. This is a convenience wrapper for the more powerful `accounts.list` method. This method will produce the same results as calling `ListsAccounts` with the following filter: `relationship(providerId={parent} AND service(type=\"ACCOUNT_AGGREGATION\"))`", +"flatPath": "accounts/v1beta/accounts/{accountsId}:listSubaccounts", +"httpMethod": "GET", +"id": "merchantapi.accounts.listSubaccounts", +"parameterOrder": [ +"provider" +], +"parameters": { +"pageSize": { +"description": "Optional. The maximum number of accounts to return. The service may return fewer than this value. If unspecified, at most 250 accounts are returned. The maximum value is 500; values above 500 are coerced to 500.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. A page token, received from a previous `accounts.list` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided in the `accounts.list` request must match the call that provided the page token.", +"location": "query", +"type": "string" +}, +"provider": { +"description": "Required. The aggregation service provider. Format: `accounts/{accountId}`", +"location": "path", +"pattern": "^accounts/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "accounts/v1beta/{+provider}:listSubaccounts", +"response": { +"$ref": "ListSubAccountsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/content" +] +}, +"patch": { +"description": "Updates an account regardless of its type: standalone, advanced account or sub-account. Executing this method requires admin access.", +"flatPath": "accounts/v1beta/accounts/{accountsId}", +"httpMethod": "PATCH", +"id": "merchantapi.accounts.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Identifier. The resource name of the account. Format: `accounts/{account}`", +"location": "path", +"pattern": "^accounts/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Optional. List of fields being updated. The following fields are supported (in both `snake_case` and `lowerCamelCase`): - `account_name` - `adult_content` - `language_code` - `time_zone`", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "accounts/v1beta/{+name}", +"request": { +"$ref": "Account" +}, +"response": { +"$ref": "Account" +}, +"scopes": [ +"https://www.googleapis.com/auth/content" +] +} +}, +"resources": { +"autofeedSettings": { +"methods": { +"getAutofeedSettings": { +"description": "Retrieves the autofeed settings of an account.", +"flatPath": "accounts/v1beta/accounts/{accountsId}/autofeedSettings", +"httpMethod": "GET", +"id": "merchantapi.accounts.autofeedSettings.getAutofeedSettings", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the autofeed settings. Format: `accounts/{account}/autofeedSettings`", +"location": "path", +"pattern": "^accounts/[^/]+/autofeedSettings$", +"required": true, +"type": "string" +} +}, +"path": "accounts/v1beta/{+name}", +"response": { +"$ref": "AutofeedSettings" +}, +"scopes": [ +"https://www.googleapis.com/auth/content" +] +}, +"updateAutofeedSettings": { +"description": "Updates the autofeed settings of an account.", +"flatPath": "accounts/v1beta/accounts/{accountsId}/autofeedSettings", +"httpMethod": "PATCH", +"id": "merchantapi.accounts.autofeedSettings.updateAutofeedSettings", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Identifier. The resource name of the autofeed settings. Format: `accounts/{account}/autofeedSettings`.", +"location": "path", +"pattern": "^accounts/[^/]+/autofeedSettings$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Required. List of fields being updated.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "accounts/v1beta/{+name}", +"request": { +"$ref": "AutofeedSettings" +}, +"response": { +"$ref": "AutofeedSettings" +}, +"scopes": [ +"https://www.googleapis.com/auth/content" +] +} +} +}, +"automaticImprovements": { +"methods": { +"getAutomaticImprovements": { +"description": "Retrieves the automatic improvements of an account.", +"flatPath": "accounts/v1beta/accounts/{accountsId}/automaticImprovements", +"httpMethod": "GET", +"id": "merchantapi.accounts.automaticImprovements.getAutomaticImprovements", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the automatic improvements. Format: `accounts/{account}/automaticImprovements`", +"location": "path", +"pattern": "^accounts/[^/]+/automaticImprovements$", +"required": true, +"type": "string" +} +}, +"path": "accounts/v1beta/{+name}", +"response": { +"$ref": "AutomaticImprovements" +}, +"scopes": [ +"https://www.googleapis.com/auth/content" +] +}, +"updateAutomaticImprovements": { +"description": "Updates the automatic improvements of an account.", +"flatPath": "accounts/v1beta/accounts/{accountsId}/automaticImprovements", +"httpMethod": "PATCH", +"id": "merchantapi.accounts.automaticImprovements.updateAutomaticImprovements", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Identifier. The resource name of the automatic improvements. Format: `accounts/{account}/automaticImprovements`.", +"location": "path", +"pattern": "^accounts/[^/]+/automaticImprovements$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Required. List of fields being updated. The following fields are supported (in both `snake_case` and `lowerCamelCase`): - `item_updates` - `item_updates.account_level_settings` - `image_improvements` - `image_improvements.account_level_settings` - `shipping_improvements` - `shipping_improvements.allow_shipping_improvements`", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "accounts/v1beta/{+name}", +"request": { +"$ref": "AutomaticImprovements" +}, +"response": { +"$ref": "AutomaticImprovements" +}, +"scopes": [ +"https://www.googleapis.com/auth/content" +] +} +} +}, +"businessIdentity": { +"methods": { +"getBusinessIdentity": { +"description": "Retrieves the business identity of an account.", +"flatPath": "accounts/v1beta/accounts/{accountsId}/businessIdentity", +"httpMethod": "GET", +"id": "merchantapi.accounts.businessIdentity.getBusinessIdentity", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the business identity. Format: `accounts/{account}/businessIdentity`. For example, `accounts/123456/businessIdentity`.", +"location": "path", +"pattern": "^accounts/[^/]+/businessIdentity$", +"required": true, +"type": "string" +} +}, +"path": "accounts/v1beta/{+name}", +"response": { +"$ref": "BusinessIdentity" +}, +"scopes": [ +"https://www.googleapis.com/auth/content" +] +}, +"updateBusinessIdentity": { +"description": "Updates the business identity of an account. Executing this method requires admin access.", +"flatPath": "accounts/v1beta/accounts/{accountsId}/businessIdentity", +"httpMethod": "PATCH", +"id": "merchantapi.accounts.businessIdentity.updateBusinessIdentity", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Identifier. The resource name of the business identity. Format: `accounts/{account}/businessIdentity`", +"location": "path", +"pattern": "^accounts/[^/]+/businessIdentity$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Optional. List of fields being updated. The following fields are supported (in both `snake_case` and `lowerCamelCase`): - `black_owned` - `latino_owned` - `promotions_consent` - `small_business` - `veteran_owned` - `women_owned`", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "accounts/v1beta/{+name}", +"request": { +"$ref": "BusinessIdentity" +}, +"response": { +"$ref": "BusinessIdentity" +}, +"scopes": [ +"https://www.googleapis.com/auth/content" +] +} +} +}, +"businessInfo": { +"methods": { +"getBusinessInfo": { +"description": "Retrieves the business info of an account.", +"flatPath": "accounts/v1beta/accounts/{accountsId}/businessInfo", +"httpMethod": "GET", +"id": "merchantapi.accounts.businessInfo.getBusinessInfo", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the business info. Format: `accounts/{account}/businessInfo`. For example, `accounts/123456/businessInfo`.", +"location": "path", +"pattern": "^accounts/[^/]+/businessInfo$", +"required": true, +"type": "string" +} +}, +"path": "accounts/v1beta/{+name}", +"response": { +"$ref": "BusinessInfo" +}, +"scopes": [ +"https://www.googleapis.com/auth/content" +] +}, +"updateBusinessInfo": { +"description": "Updates the business info of an account. Executing this method requires admin access.", +"flatPath": "accounts/v1beta/accounts/{accountsId}/businessInfo", +"httpMethod": "PATCH", +"id": "merchantapi.accounts.businessInfo.updateBusinessInfo", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Identifier. The resource name of the business info. Format: `accounts/{account}/businessInfo`", +"location": "path", +"pattern": "^accounts/[^/]+/businessInfo$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Optional. List of fields being updated. The following fields are supported (in both `snake_case` and `lowerCamelCase`): - `address` - `customer_service` - `korean_business_registration_number`", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "accounts/v1beta/{+name}", +"request": { +"$ref": "BusinessInfo" +}, +"response": { +"$ref": "BusinessInfo" +}, +"scopes": [ +"https://www.googleapis.com/auth/content" +] +} +} +}, +"developerRegistration": { +"methods": { +"getAccountForGcpRegistration": { +"description": "Retrieves the merchant account that the calling GCP is registered with.", +"flatPath": "accounts/v1beta/accounts:getAccountForGcpRegistration", +"httpMethod": "GET", +"id": "merchantapi.accounts.developerRegistration.getAccountForGcpRegistration", +"parameterOrder": [], +"parameters": {}, +"path": "accounts/v1beta/accounts:getAccountForGcpRegistration", +"response": { +"$ref": "GetAccountForGcpRegistrationResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/content" +] +}, +"getDeveloperRegistration": { +"description": "Retrieves a developer registration for a merchant.", +"flatPath": "accounts/v1beta/accounts/{accountsId}/developerRegistration", +"httpMethod": "GET", +"id": "merchantapi.accounts.developerRegistration.getDeveloperRegistration", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The `name` (ID) of the developer registration.", +"location": "path", +"pattern": "^accounts/[^/]+/developerRegistration$", +"required": true, +"type": "string" +} +}, +"path": "accounts/v1beta/{+name}", +"response": { +"$ref": "DeveloperRegistration" +}, +"scopes": [ +"https://www.googleapis.com/auth/content" +] +}, +"registerGcp": { +"description": "Registers the GCP used for the API call to the shopping account passed in the request. Will create a user with an \"API developer\" and add the \"developer_email\" as a contact with \"API notifications\" email preference on.", +"flatPath": "accounts/v1beta/accounts/{accountsId}/developerRegistration:registerGcp", +"httpMethod": "POST", +"id": "merchantapi.accounts.developerRegistration.registerGcp", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the developer registration to be created for the merchant account that the GCP will be registered with. Format: `accounts/{account}/developerRegistration`", +"location": "path", +"pattern": "^accounts/[^/]+/developerRegistration$", +"required": true, +"type": "string" +} +}, +"path": "accounts/v1beta/{+name}:registerGcp", +"request": { +"$ref": "RegisterGcpRequest" +}, +"response": { +"$ref": "DeveloperRegistration" +}, +"scopes": [ +"https://www.googleapis.com/auth/content" +] +}, +"unregisterGcp": { +"description": "Unregister the calling GCP from the calling shopping account. Note that the GCP will still be able to access the API for at most 1 day from the unregister succussful call.", +"flatPath": "accounts/v1beta/accounts/{accountsId}/developerRegistration:unregisterGcp", +"httpMethod": "POST", +"id": "merchantapi.accounts.developerRegistration.unregisterGcp", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the developer registration to be created for the merchant account that the GCP will be registered with. Format: `accounts/{account}/developerRegistration`", +"location": "path", +"pattern": "^accounts/[^/]+/developerRegistration$", +"required": true, +"type": "string" +} +}, +"path": "accounts/v1beta/{+name}:unregisterGcp", +"request": { +"$ref": "UnregisterGcpRequest" +}, +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/content" +] +} +} +}, +"emailPreferences": { +"methods": { +"getEmailPreferences": { +"description": "Returns the email preferences for a Merchant Center account user. This service only permits retrieving and updating email preferences for the authenticated user. Use the name=accounts/*/users/me/emailPreferences alias to get preferences for the authenticated user.", +"flatPath": "accounts/v1beta/accounts/{accountsId}/users/{usersId}/emailPreferences", +"httpMethod": "GET", +"id": "merchantapi.accounts.emailPreferences.getEmailPreferences", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the `EmailPreferences` resource. Format: `accounts/{account}/users/{email}/emailPreferences`", +"location": "path", +"pattern": "^accounts/[^/]+/users/[^/]+/emailPreferences$", +"required": true, +"type": "string" +} +}, +"path": "accounts/v1beta/{+name}", +"response": { +"$ref": "EmailPreferences" +}, +"scopes": [ +"https://www.googleapis.com/auth/content" +] +}, +"updateEmailPreferences": { +"description": "Updates the email preferences for a Merchant Center account user. Advanced account users should specify the advanced account rather than a sub-account of the advanced account. Preferences which are not explicitly selected in the update mask will not be updated. It is invalid for updates to specify an UNCONFIRMED opt-in status value. Use the name=accounts/*/users/me/emailPreferences alias to update preferences for the authenticated user.", +"flatPath": "accounts/v1beta/accounts/{accountsId}/users/{usersId}/emailPreferences", +"httpMethod": "PATCH", +"id": "merchantapi.accounts.emailPreferences.updateEmailPreferences", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Identifier. The name of the EmailPreferences. The endpoint is only supported for the authenticated user.", +"location": "path", +"pattern": "^accounts/[^/]+/users/[^/]+/emailPreferences$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Required. List of fields being updated. The following fields are supported (in both `snake_case` and `lowerCamelCase`): - `news_and_tips`", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "accounts/v1beta/{+name}", +"request": { +"$ref": "EmailPreferences" +}, +"response": { +"$ref": "EmailPreferences" +}, +"scopes": [ +"https://www.googleapis.com/auth/content" +] +} +} +}, +"gbpAccounts": { +"methods": { +"linkGbpAccount": { +"description": "Link the specified merchant to a GBP account for all countries. To run this method, you must have admin access to the Merchant Center account. If you don't have admin access, the request fails with the error message `User is not an administrator of account {ACCOUNT_ID}`.", +"flatPath": "accounts/v1beta/accounts/{accountsId}/gbpAccounts:linkGbpAccount", +"httpMethod": "POST", +"id": "merchantapi.accounts.gbpAccounts.linkGbpAccount", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The name of the parent resource to which the GBP account is linked. Format: `accounts/{account}`.", +"location": "path", +"pattern": "^accounts/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "accounts/v1beta/{+parent}/gbpAccounts:linkGbpAccount", +"request": { +"$ref": "LinkGbpAccountRequest" +}, +"response": { +"$ref": "LinkGbpAccountResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/content" +] +}, +"list": { +"description": "List the GBP accounts for a given merchant.", +"flatPath": "accounts/v1beta/accounts/{accountsId}/gbpAccounts", +"httpMethod": "GET", +"id": "merchantapi.accounts.gbpAccounts.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "Optional. The maximum number of `GbpAccount` resources to return. The service returns fewer than this value if the number of gbp accounts is less that than the `pageSize`. The default value is 50. The maximum value is 1000; If a value higher than the maximum is specified, then the `pageSize` will default to the maximum.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. A page token, received from a previous `ListGbpAccounts` call. Provide the page token to retrieve the subsequent page. When paginating, all other parameters provided to `ListGbpAccounts` must match the call that provided the page token.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The name of the parent resource under which the GBP accounts are listed. Format: `accounts/{account}`.", +"location": "path", +"pattern": "^accounts/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "accounts/v1beta/{+parent}/gbpAccounts", +"response": { +"$ref": "ListGbpAccountsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/content" +] +} +} +}, +"homepage": { +"methods": { +"claim": { +"description": "Claims a store's homepage. Executing this method requires admin access. If the homepage is already claimed, this will recheck the verification (unless the business is exempted from claiming, which also exempts from verification) and return a successful response. If ownership can no longer be verified, it will return an error, but it won't clear the claim. In case of failure, a canonical error message is returned: * PERMISSION_DENIED: User doesn't have the necessary permissions on this Merchant Center account. * FAILED_PRECONDITION: - The account is not a Merchant Center account. - Merchant Center account doesn't have a homepage. - Claiming failed (in this case the error message contains more details).", +"flatPath": "accounts/v1beta/accounts/{accountsId}/homepage:claim", +"httpMethod": "POST", +"id": "merchantapi.accounts.homepage.claim", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the homepage to claim. Format: `accounts/{account}/homepage`", +"location": "path", +"pattern": "^accounts/[^/]+/homepage$", +"required": true, +"type": "string" +} +}, +"path": "accounts/v1beta/{+name}:claim", +"request": { +"$ref": "ClaimHomepageRequest" +}, +"response": { +"$ref": "Homepage" +}, +"scopes": [ +"https://www.googleapis.com/auth/content" +] +}, +"getHomepage": { +"description": "Retrieves a store's homepage.", +"flatPath": "accounts/v1beta/accounts/{accountsId}/homepage", +"httpMethod": "GET", +"id": "merchantapi.accounts.homepage.getHomepage", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the homepage to retrieve. Format: `accounts/{account}/homepage`", +"location": "path", +"pattern": "^accounts/[^/]+/homepage$", +"required": true, +"type": "string" +} +}, +"path": "accounts/v1beta/{+name}", +"response": { +"$ref": "Homepage" +}, +"scopes": [ +"https://www.googleapis.com/auth/content" +] +}, +"unclaim": { +"description": "Unclaims a store's homepage. Executing this method requires admin access.", +"flatPath": "accounts/v1beta/accounts/{accountsId}/homepage:unclaim", +"httpMethod": "POST", +"id": "merchantapi.accounts.homepage.unclaim", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the homepage to unclaim. Format: `accounts/{account}/homepage`", +"location": "path", +"pattern": "^accounts/[^/]+/homepage$", +"required": true, +"type": "string" +} +}, +"path": "accounts/v1beta/{+name}:unclaim", +"request": { +"$ref": "UnclaimHomepageRequest" +}, +"response": { +"$ref": "Homepage" +}, +"scopes": [ +"https://www.googleapis.com/auth/content" +] +}, +"updateHomepage": { +"description": "Updates a store's homepage. Executing this method requires admin access.", +"flatPath": "accounts/v1beta/accounts/{accountsId}/homepage", +"httpMethod": "PATCH", +"id": "merchantapi.accounts.homepage.updateHomepage", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Identifier. The resource name of the store's homepage. Format: `accounts/{account}/homepage`", +"location": "path", +"pattern": "^accounts/[^/]+/homepage$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Optional. List of fields being updated. The following fields are supported (in both `snake_case` and `lowerCamelCase`): - `uri`", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "accounts/v1beta/{+name}", +"request": { +"$ref": "Homepage" +}, +"response": { +"$ref": "Homepage" +}, +"scopes": [ +"https://www.googleapis.com/auth/content" +] +} +} +}, +"issues": { +"methods": { +"list": { +"description": "Lists all account issues of a Merchant Center account. When called on a multi-client account, this method only returns issues belonging to that account, not its sub-accounts. To retrieve issues for sub-accounts, you must first call the accounts.listSubaccounts method to obtain a list of sub-accounts, and then call `accounts.issues.list` for each sub-account individually.", +"flatPath": "accounts/v1beta/accounts/{accountsId}/issues", +"httpMethod": "GET", +"id": "merchantapi.accounts.issues.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"languageCode": { +"description": "Optional. The issues in the response will have human-readable fields in the given language. The format is [BCP-47](https://tools.ietf.org/html/bcp47), such as `en-US` or `sr-Latn`. If not value is provided, `en-US` will be used.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Optional. The maximum number of issues to return. The service may return fewer than this value. If unspecified, at most 50 issues will be returned. The maximum value is 100; values above 100 will be coerced to 100", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. A page token, received from a previous `ListAccountIssues` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListAccountIssues` must match the call that provided the page token.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent, which owns this collection of issues. Format: `accounts/{account}`", +"location": "path", +"pattern": "^accounts/[^/]+$", +"required": true, +"type": "string" +}, +"timeZone": { +"description": "Optional. The [IANA](https://www.iana.org/time-zones) timezone used to localize times in human-readable fields. For example 'America/Los_Angeles'. If not set, 'America/Los_Angeles' will be used.", +"location": "query", +"type": "string" +} +}, +"path": "accounts/v1beta/{+parent}/issues", +"response": { +"$ref": "ListAccountIssuesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/content" +] +} +} +}, +"omnichannelSettings": { +"methods": { +"create": { +"description": "Create the omnichannel settings for a given merchant.", +"flatPath": "accounts/v1beta/accounts/{accountsId}/omnichannelSettings", +"httpMethod": "POST", +"id": "merchantapi.accounts.omnichannelSettings.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The parent resource where this omnichannel setting will be created. Format: `accounts/{account}`", +"location": "path", +"pattern": "^accounts/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "accounts/v1beta/{+parent}/omnichannelSettings", +"request": { +"$ref": "OmnichannelSetting" +}, +"response": { +"$ref": "OmnichannelSetting" +}, +"scopes": [ +"https://www.googleapis.com/auth/content" +] +}, +"get": { +"description": "Get the omnichannel settings for a given merchant.", +"flatPath": "accounts/v1beta/accounts/{accountsId}/omnichannelSettings/{omnichannelSettingsId}", +"httpMethod": "GET", +"id": "merchantapi.accounts.omnichannelSettings.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the omnichannel setting to retrieve. Format: `accounts/{account}/omnichannelSettings/{omnichannel_setting}`", +"location": "path", +"pattern": "^accounts/[^/]+/omnichannelSettings/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "accounts/v1beta/{+name}", +"response": { +"$ref": "OmnichannelSetting" +}, +"scopes": [ +"https://www.googleapis.com/auth/content" +] +}, +"list": { +"description": "List all the omnichannel settings for a given merchant.", +"flatPath": "accounts/v1beta/accounts/{accountsId}/omnichannelSettings", +"httpMethod": "GET", +"id": "merchantapi.accounts.omnichannelSettings.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "Optional. The maximum number of omnichannel settings to return. The service may return fewer than this value. If unspecified, at most 50 omnichannel settings will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. A page token, received from a previous `ListOmnichannelSettings` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListOmnichannelSettings` must match the call that provided the page token.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent, which owns this collection of omnichannel settings. Format: `accounts/{account}`", +"location": "path", +"pattern": "^accounts/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "accounts/v1beta/{+parent}/omnichannelSettings", +"response": { +"$ref": "ListOmnichannelSettingsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/content" +] +}, +"patch": { +"description": "Update the omnichannel setting for a given merchant in a given country.", +"flatPath": "accounts/v1beta/accounts/{accountsId}/omnichannelSettings/{omnichannelSettingsId}", +"httpMethod": "PATCH", +"id": "merchantapi.accounts.omnichannelSettings.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Identifier. The resource name of the omnichannel setting. Format: `accounts/{account}/omnichannelSettings/{omnichannel_setting}`", +"location": "path", +"pattern": "^accounts/[^/]+/omnichannelSettings/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Required. The list of fields to be updated. The following fields are supported in snake_case only: - `lsf_type` - `in_stock` - `pickup` - `odo` - `about` - `inventory_verification` Full replacement with wildcard `*`is supported, while empty/implied update mask is not.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "accounts/v1beta/{+name}", +"request": { +"$ref": "OmnichannelSetting" +}, +"response": { +"$ref": "OmnichannelSetting" +}, +"scopes": [ +"https://www.googleapis.com/auth/content" +] +}, +"requestInventoryVerification": { +"description": "Requests inventory verification for a given merchant in a given country.", +"flatPath": "accounts/v1beta/accounts/{accountsId}/omnichannelSettings/{omnichannelSettingsId}:requestInventoryVerification", +"httpMethod": "POST", +"id": "merchantapi.accounts.omnichannelSettings.requestInventoryVerification", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the omnichannel setting to request inventory verification. Format: `accounts/{account}/omnichannelSettings/{omnichannel_setting}`", +"location": "path", +"pattern": "^accounts/[^/]+/omnichannelSettings/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "accounts/v1beta/{+name}:requestInventoryVerification", +"request": { +"$ref": "RequestInventoryVerificationRequest" +}, +"response": { +"$ref": "RequestInventoryVerificationResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/content" +] +} +}, +"resources": { +"lfpProviders": { +"methods": { +"find": { +"description": "Find the LFP provider candidates in a given country.", +"flatPath": "accounts/v1beta/accounts/{accountsId}/omnichannelSettings/{omnichannelSettingsId}/lfpProviders:find", +"httpMethod": "GET", +"id": "merchantapi.accounts.omnichannelSettings.lfpProviders.find", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "Optional. The maximum number of `LfpProvider` resources to return. The service returns fewer than this value if the number of lfp providers is less that than the `pageSize`. The default value is 50. The maximum value is 1000; If a value higher than the maximum is specified, then the `pageSize` will default to the maximum.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. A page token, received from a previous `FindLfpProviders` call. Provide the page token to retrieve the subsequent page. When paginating, all other parameters provided to `FindLfpProviders` must match the call that provided the page token.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The name of the parent resource under which the LFP providers are found. Format: `accounts/{account}/omnichannelSettings/{omnichannel_setting}`.", +"location": "path", +"pattern": "^accounts/[^/]+/omnichannelSettings/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "accounts/v1beta/{+parent}/lfpProviders:find", +"response": { +"$ref": "FindLfpProvidersResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/content" +] +}, +"linkLfpProvider": { +"description": "Link the specified merchant to a LFP provider for the specified country.", +"flatPath": "accounts/v1beta/accounts/{accountsId}/omnichannelSettings/{omnichannelSettingsId}/lfpProviders/{lfpProvidersId}:linkLfpProvider", +"httpMethod": "POST", +"id": "merchantapi.accounts.omnichannelSettings.lfpProviders.linkLfpProvider", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the LFP provider resource to link. Format: `accounts/{account}/omnichannelSettings/{omnichannel_setting}/lfpProviders/{lfp_provider}`. The `lfp_provider` is the LFP provider ID.", +"location": "path", +"pattern": "^accounts/[^/]+/omnichannelSettings/[^/]+/lfpProviders/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "accounts/v1beta/{+name}:linkLfpProvider", +"request": { +"$ref": "LinkLfpProviderRequest" +}, +"response": { +"$ref": "LinkLfpProviderResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/content" +] +} +} +} +} +}, +"onlineReturnPolicies": { +"methods": { +"create": { +"description": "Creates a new return policy for a given business.", +"flatPath": "accounts/v1beta/accounts/{accountsId}/onlineReturnPolicies", +"httpMethod": "POST", +"id": "merchantapi.accounts.onlineReturnPolicies.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The Merchant Center account for which the return policy will be created. Format: `accounts/{account}`", +"location": "path", +"pattern": "^accounts/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "accounts/v1beta/{+parent}/onlineReturnPolicies", +"request": { +"$ref": "OnlineReturnPolicy" +}, +"response": { +"$ref": "OnlineReturnPolicy" +}, +"scopes": [ +"https://www.googleapis.com/auth/content" +] +}, +"delete": { +"description": "Deletes an existing return policy.", +"flatPath": "accounts/v1beta/accounts/{accountsId}/onlineReturnPolicies/{onlineReturnPoliciesId}", +"httpMethod": "DELETE", +"id": "merchantapi.accounts.onlineReturnPolicies.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the return policy to delete. Format: `accounts/{account}/onlineReturnPolicies/{return_policy}`", +"location": "path", +"pattern": "^accounts/[^/]+/onlineReturnPolicies/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "accounts/v1beta/{+name}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/content" +] +}, +"get": { +"description": "Gets an existing return policy for a given business.", +"flatPath": "accounts/v1beta/accounts/{accountsId}/onlineReturnPolicies/{onlineReturnPoliciesId}", +"httpMethod": "GET", +"id": "merchantapi.accounts.onlineReturnPolicies.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the return policy to retrieve. Format: `accounts/{account}/onlineReturnPolicies/{return_policy}`", +"location": "path", +"pattern": "^accounts/[^/]+/onlineReturnPolicies/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "accounts/v1beta/{+name}", +"response": { +"$ref": "OnlineReturnPolicy" +}, +"scopes": [ +"https://www.googleapis.com/auth/content" +] +}, +"list": { +"description": "Lists all existing return policies for a given business.", +"flatPath": "accounts/v1beta/accounts/{accountsId}/onlineReturnPolicies", +"httpMethod": "GET", +"id": "merchantapi.accounts.onlineReturnPolicies.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "Optional. The maximum number of `OnlineReturnPolicy` resources to return. The service returns fewer than this value if the number of return policies for the given business is less that than the `pageSize`. The default value is 10. The maximum value is 100; If a value higher than the maximum is specified, then the `pageSize` will default to the maximum", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. A page token, received from a previous `ListOnlineReturnPolicies` call. Provide the page token to retrieve the subsequent page. When paginating, all other parameters provided to `ListOnlineReturnPolicies` must match the call that provided the page token. The token returned as nextPageToken in the response to the previous request.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The Merchant Center account for which to list return policies. Format: `accounts/{account}`", +"location": "path", +"pattern": "^accounts/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "accounts/v1beta/{+parent}/onlineReturnPolicies", +"response": { +"$ref": "ListOnlineReturnPoliciesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/content" +] +}, +"patch": { +"description": "Updates an existing return policy for a given business.", +"flatPath": "accounts/v1beta/accounts/{accountsId}/onlineReturnPolicies/{onlineReturnPoliciesId}", +"httpMethod": "PATCH", +"id": "merchantapi.accounts.onlineReturnPolicies.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Identifier. The name of the `OnlineReturnPolicy` resource. Format: `accounts/{account}/onlineReturnPolicies/{return_policy}`", +"location": "path", +"pattern": "^accounts/[^/]+/onlineReturnPolicies/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Optional. Only support updating the entire OnlineReturnPolicy message. For update_mask, always use `*`.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "accounts/v1beta/{+name}", +"request": { +"$ref": "OnlineReturnPolicy" +}, +"response": { +"$ref": "OnlineReturnPolicy" +}, +"scopes": [ +"https://www.googleapis.com/auth/content" +] +} +} +}, +"programs": { +"methods": { +"disable": { +"description": "Disable participation in the specified program for the account.", +"flatPath": "accounts/v1beta/accounts/{accountsId}/programs/{programsId}:disable", +"httpMethod": "POST", +"id": "merchantapi.accounts.programs.disable", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the program for which to disable participation for the given account. Format: `accounts/{account}/programs/{program}`. For example, `accounts/123456/programs/free-listings`.", +"location": "path", +"pattern": "^accounts/[^/]+/programs/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "accounts/v1beta/{+name}:disable", +"request": { +"$ref": "DisableProgramRequest" +}, +"response": { +"$ref": "Program" +}, +"scopes": [ +"https://www.googleapis.com/auth/content" +] +}, +"enable": { +"description": "Enable participation in the specified program for the account.", +"flatPath": "accounts/v1beta/accounts/{accountsId}/programs/{programsId}:enable", +"httpMethod": "POST", +"id": "merchantapi.accounts.programs.enable", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the program for which to enable participation for the given account. Format: `accounts/{account}/programs/{program}`. For example, `accounts/123456/programs/free-listings`.", +"location": "path", +"pattern": "^accounts/[^/]+/programs/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "accounts/v1beta/{+name}:enable", +"request": { +"$ref": "EnableProgramRequest" +}, +"response": { +"$ref": "Program" +}, +"scopes": [ +"https://www.googleapis.com/auth/content" +] +}, +"get": { +"description": "Retrieves the specified program for the account.", +"flatPath": "accounts/v1beta/accounts/{accountsId}/programs/{programsId}", +"httpMethod": "GET", +"id": "merchantapi.accounts.programs.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the program to retrieve. Format: `accounts/{account}/programs/{program}`. For example, `accounts/123456/programs/free-listings`.", +"location": "path", +"pattern": "^accounts/[^/]+/programs/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "accounts/v1beta/{+name}", +"response": { +"$ref": "Program" +}, +"scopes": [ +"https://www.googleapis.com/auth/content" +] +}, +"list": { +"description": "Retrieves all programs for the account.", +"flatPath": "accounts/v1beta/accounts/{accountsId}/programs", +"httpMethod": "GET", +"id": "merchantapi.accounts.programs.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "Optional. The maximum number of programs to return in a single response. If unspecified (or 0), a default size of 1000 is used. The maximum value is 1000; values above 1000 will be coerced to 1000.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. A continuation token, received from a previous `ListPrograms` call. Provide this to retrieve the next page.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The name of the account for which to retrieve all programs. Format: `accounts/{account}`", +"location": "path", +"pattern": "^accounts/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "accounts/v1beta/{+parent}/programs", +"response": { +"$ref": "ListProgramsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/content" +] +} +}, +"resources": { +"checkoutSettings": { +"methods": { +"create": { +"description": "Creates `CheckoutSettings` for the given merchant.", +"flatPath": "accounts/v1beta/accounts/{accountsId}/programs/{programsId}/checkoutSettings", +"httpMethod": "POST", +"id": "merchantapi.accounts.programs.checkoutSettings.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The merchant account for which the `CheckoutSettings` will be created.", +"location": "path", +"pattern": "^accounts/[^/]+/programs/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "accounts/v1beta/{+parent}/checkoutSettings", +"request": { +"$ref": "CheckoutSettings" +}, +"response": { +"$ref": "CheckoutSettings" +}, +"scopes": [ +"https://www.googleapis.com/auth/content" +] +}, +"deleteCheckoutSettings": { +"description": "Deletes `CheckoutSettings` and unenrolls merchant from `Checkout` program.", +"flatPath": "accounts/v1beta/accounts/{accountsId}/programs/{programsId}/checkoutSettings", +"httpMethod": "DELETE", +"id": "merchantapi.accounts.programs.checkoutSettings.deleteCheckoutSettings", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name/identifier of the merchant account. Format: `accounts/{account}/programs/{program}/checkoutSettings`", +"location": "path", +"pattern": "^accounts/[^/]+/programs/[^/]+/checkoutSettings$", +"required": true, +"type": "string" +} +}, +"path": "accounts/v1beta/{+name}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/content" +] +}, +"getCheckoutSettings": { +"description": "Gets `CheckoutSettings` for the given merchant. This includes information about review state, enrollment state and URL settings.", +"flatPath": "accounts/v1beta/accounts/{accountsId}/programs/{programsId}/checkoutSettings", +"httpMethod": "GET", +"id": "merchantapi.accounts.programs.checkoutSettings.getCheckoutSettings", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name/identifier of the merchant account. Format: `accounts/{account}/programs/{program}/checkoutSettings`", +"location": "path", +"pattern": "^accounts/[^/]+/programs/[^/]+/checkoutSettings$", +"required": true, +"type": "string" +} +}, +"path": "accounts/v1beta/{+name}", +"response": { +"$ref": "CheckoutSettings" +}, +"scopes": [ +"https://www.googleapis.com/auth/content" +] +}, +"updateCheckoutSettings": { +"description": "Updates `CheckoutSettings` for the given merchant.", +"flatPath": "accounts/v1beta/accounts/{accountsId}/programs/{programsId}/checkoutSettings", +"httpMethod": "PATCH", +"id": "merchantapi.accounts.programs.checkoutSettings.updateCheckoutSettings", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Identifier. The resource name of the program configuration settings. Format: `accounts/{account}/programs/{program}/checkoutSettings`", +"location": "path", +"pattern": "^accounts/[^/]+/programs/[^/]+/checkoutSettings$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Required. List of fields being updated. The following fields are supported (in both `snake_case` and `lowerCamelCase`): - `eligible_destinations` - `uri_settings`", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "accounts/v1beta/{+name}", +"request": { +"$ref": "CheckoutSettings" +}, +"response": { +"$ref": "CheckoutSettings" +}, +"scopes": [ +"https://www.googleapis.com/auth/content" +] +} +} +} +} +}, +"regions": { +"methods": { +"create": { +"description": "Creates a region definition in your Merchant Center account. Executing this method requires admin access.", +"flatPath": "accounts/v1beta/accounts/{accountsId}/regions", +"httpMethod": "POST", +"id": "merchantapi.accounts.regions.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The account to create a region for. Format: `accounts/{account}`", +"location": "path", +"pattern": "^accounts/[^/]+$", +"required": true, +"type": "string" +}, +"regionId": { +"description": "Required. The identifier for the region, unique over all regions of the same account.", +"location": "query", +"type": "string" +} +}, +"path": "accounts/v1beta/{+parent}/regions", +"request": { +"$ref": "Region" +}, +"response": { +"$ref": "Region" +}, +"scopes": [ +"https://www.googleapis.com/auth/content" +] +}, +"delete": { +"description": "Deletes a region definition from your Merchant Center account. Executing this method requires admin access.", +"flatPath": "accounts/v1beta/accounts/{accountsId}/regions/{regionsId}", +"httpMethod": "DELETE", +"id": "merchantapi.accounts.regions.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the region to delete. Format: `accounts/{account}/regions/{region}`", +"location": "path", +"pattern": "^accounts/[^/]+/regions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "accounts/v1beta/{+name}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/content" +] +}, +"get": { +"description": "Retrieves a region defined in your Merchant Center account.", +"flatPath": "accounts/v1beta/accounts/{accountsId}/regions/{regionsId}", +"httpMethod": "GET", +"id": "merchantapi.accounts.regions.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the region to retrieve. Format: `accounts/{account}/regions/{region}`", +"location": "path", +"pattern": "^accounts/[^/]+/regions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "accounts/v1beta/{+name}", +"response": { +"$ref": "Region" +}, +"scopes": [ +"https://www.googleapis.com/auth/content" +] +}, +"list": { +"description": "Lists the regions in your Merchant Center account.", +"flatPath": "accounts/v1beta/accounts/{accountsId}/regions", +"httpMethod": "GET", +"id": "merchantapi.accounts.regions.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "Optional. The maximum number of regions to return. The service may return fewer than this value. If unspecified, at most 50 regions will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. A page token, received from a previous `ListRegions` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListRegions` must match the call that provided the page token.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The account to list regions for. Format: `accounts/{account}`", +"location": "path", +"pattern": "^accounts/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "accounts/v1beta/{+parent}/regions", +"response": { +"$ref": "ListRegionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/content" +] +}, +"patch": { +"description": "Updates a region definition in your Merchant Center account. Executing this method requires admin access.", +"flatPath": "accounts/v1beta/accounts/{accountsId}/regions/{regionsId}", +"httpMethod": "PATCH", +"id": "merchantapi.accounts.regions.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Identifier. The resource name of the region. Format: `accounts/{account}/regions/{region}`", +"location": "path", +"pattern": "^accounts/[^/]+/regions/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Optional. The comma-separated field mask indicating the fields to update. Example: `\"displayName,postalCodeArea.regionCode\"`.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "accounts/v1beta/{+name}", +"request": { +"$ref": "Region" +}, +"response": { +"$ref": "Region" +}, +"scopes": [ +"https://www.googleapis.com/auth/content" +] +} +} +}, +"relationships": { +"methods": { +"get": { +"description": "Retrieve an account relationship.", +"flatPath": "accounts/v1beta/accounts/{accountsId}/relationships/{relationshipsId}", +"httpMethod": "GET", +"id": "merchantapi.accounts.relationships.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the account relationship to get. Format: `accounts/{account}/relationships/{relationship}`. For example, `accounts/123456/relationships/567890`.", +"location": "path", +"pattern": "^accounts/[^/]+/relationships/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "accounts/v1beta/{+name}", +"response": { +"$ref": "AccountRelationship" +}, +"scopes": [ +"https://www.googleapis.com/auth/content" +] +}, +"list": { +"description": "List account relationships for the specified account.", +"flatPath": "accounts/v1beta/accounts/{accountsId}/relationships", +"httpMethod": "GET", +"id": "merchantapi.accounts.relationships.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "Optional. The maximum number of elements to return in the response. Use for paging. If no `page_size` is specified, `100` is used as the default value. The maximum allowed value is `1000`.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. The token returned by the previous `list` request.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent account of the account relationship to filter by. Format: `accounts/{account}`", +"location": "path", +"pattern": "^accounts/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "accounts/v1beta/{+parent}/relationships", +"response": { +"$ref": "ListAccountRelationshipsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/content" +] +}, +"patch": { +"description": "Updates the account relationship. Executing this method requires admin access.", +"flatPath": "accounts/v1beta/accounts/{accountsId}/relationships/{relationshipsId}", +"httpMethod": "PATCH", +"id": "merchantapi.accounts.relationships.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Identifier. The resource name of the account relationship. Format: `accounts/{account}/relationships/{relationship}`. For example, `accounts/123456/relationships/567890`.", +"location": "path", +"pattern": "^accounts/[^/]+/relationships/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Optional. List of fields being updated. The following fields are supported (in both `snake_case` and `lowerCamelCase`): - `account_id_alias`", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "accounts/v1beta/{+name}", +"request": { +"$ref": "AccountRelationship" +}, +"response": { +"$ref": "AccountRelationship" +}, +"scopes": [ +"https://www.googleapis.com/auth/content" +] +} +} +}, +"services": { +"methods": { +"approve": { +"description": "Approve an account service proposal.", +"flatPath": "accounts/v1beta/accounts/{accountsId}/services/{servicesId}:approve", +"httpMethod": "POST", +"id": "merchantapi.accounts.services.approve", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the account service to approve. Format: `accounts/{account}/services/{service}`", +"location": "path", +"pattern": "^accounts/[^/]+/services/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "accounts/v1beta/{+name}:approve", +"request": { +"$ref": "ApproveAccountServiceRequest" +}, +"response": { +"$ref": "AccountService" +}, +"scopes": [ +"https://www.googleapis.com/auth/content" +] +}, +"get": { +"description": "Retrieve an account service.", +"flatPath": "accounts/v1beta/accounts/{accountsId}/services/{servicesId}", +"httpMethod": "GET", +"id": "merchantapi.accounts.services.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the account service to get. Format: `accounts/{account}/services/{service}`", +"location": "path", +"pattern": "^accounts/[^/]+/services/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "accounts/v1beta/{+name}", +"response": { +"$ref": "AccountService" +}, +"scopes": [ +"https://www.googleapis.com/auth/content" +] +}, +"list": { +"description": "List account services for the specified accounts. Supports filtering.", +"flatPath": "accounts/v1beta/accounts/{accountsId}/services", +"httpMethod": "GET", +"id": "merchantapi.accounts.services.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "Optional. The maximum number of elements to return in the response. Use for paging. If no `page_size` is specified, `100` is used as the default value. The maximum allowed value is `1000`.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. The token returned by the previous `list` request.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent account of the account service to filter by. Format: `accounts/{account}`", +"location": "path", +"pattern": "^accounts/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "accounts/v1beta/{+parent}/services", +"response": { +"$ref": "ListAccountServicesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/content" +] +}, +"propose": { +"description": "Propose an account service.", +"flatPath": "accounts/v1beta/accounts/{accountsId}/services:propose", +"httpMethod": "POST", +"id": "merchantapi.accounts.services.propose", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The resource name of the parent account for the service. Format: `accounts/{account}`", +"location": "path", +"pattern": "^accounts/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "accounts/v1beta/{+parent}/services:propose", +"request": { +"$ref": "ProposeAccountServiceRequest" +}, +"response": { +"$ref": "AccountService" +}, +"scopes": [ +"https://www.googleapis.com/auth/content" +] +}, +"reject": { +"description": "Reject an account service (both proposed and approve services can be rejected).", +"flatPath": "accounts/v1beta/accounts/{accountsId}/services/{servicesId}:reject", +"httpMethod": "POST", +"id": "merchantapi.accounts.services.reject", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the account service to reject. Format: `accounts/{account}/services/{service}`", +"location": "path", +"pattern": "^accounts/[^/]+/services/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "accounts/v1beta/{+name}:reject", +"request": { +"$ref": "RejectAccountServiceRequest" +}, +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/content" +] +} +} +}, +"shippingSettings": { +"methods": { +"getShippingSettings": { +"description": "Retrieve shipping setting information.", +"flatPath": "accounts/v1beta/accounts/{accountsId}/shippingSettings", +"httpMethod": "GET", +"id": "merchantapi.accounts.shippingSettings.getShippingSettings", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the shipping setting to retrieve. Format: `accounts/{account}/shippingsettings`", +"location": "path", +"pattern": "^accounts/[^/]+/shippingSettings$", +"required": true, +"type": "string" +} +}, +"path": "accounts/v1beta/{+name}", +"response": { +"$ref": "ShippingSettings" +}, +"scopes": [ +"https://www.googleapis.com/auth/content" +] +}, +"insert": { +"description": "Replace the shipping setting of a business with the request shipping setting. Executing this method requires admin access.", +"flatPath": "accounts/v1beta/accounts/{accountsId}/shippingSettings:insert", +"httpMethod": "POST", +"id": "merchantapi.accounts.shippingSettings.insert", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The account for which this shipping setting will be inserted. If you are using an advanced account, you must specify the unique identifier of the sub-account for which you want to insert the shipping setting. Format: `accounts/{ACCOUNT_ID}`", +"location": "path", +"pattern": "^accounts/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "accounts/v1beta/{+parent}/shippingSettings:insert", +"request": { +"$ref": "ShippingSettings" +}, +"response": { +"$ref": "ShippingSettings" +}, +"scopes": [ +"https://www.googleapis.com/auth/content" +] +} +} +}, +"termsOfServiceAgreementStates": { +"methods": { +"get": { +"description": "Returns the state of a terms of service agreement.", +"flatPath": "accounts/v1beta/accounts/{accountsId}/termsOfServiceAgreementStates/{termsOfServiceAgreementStatesId}", +"httpMethod": "GET", +"id": "merchantapi.accounts.termsOfServiceAgreementStates.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the terms of service version. Format: `accounts/{account}/termsOfServiceAgreementStates/{identifier}` The identifier format is: `{TermsOfServiceKind}-{country}`", +"location": "path", +"pattern": "^accounts/[^/]+/termsOfServiceAgreementStates/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "accounts/v1beta/{+name}", +"response": { +"$ref": "TermsOfServiceAgreementState" +}, +"scopes": [ +"https://www.googleapis.com/auth/content" +] +}, +"retrieveForApplication": { +"description": "Retrieves the state of the agreement for the application terms of service. Application terms of service covers permissions related to the usage of data provided through Merchant Center, CSS Center, Manufacturer Center, and more.", +"flatPath": "accounts/v1beta/accounts/{accountsId}/termsOfServiceAgreementStates:retrieveForApplication", +"httpMethod": "GET", +"id": "merchantapi.accounts.termsOfServiceAgreementStates.retrieveForApplication", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The account for which to get a TermsOfServiceAgreementState Format: `accounts/{account}`", +"location": "path", +"pattern": "^accounts/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "accounts/v1beta/{+parent}/termsOfServiceAgreementStates:retrieveForApplication", +"response": { +"$ref": "TermsOfServiceAgreementState" +}, +"scopes": [ +"https://www.googleapis.com/auth/content" +] +} +} +}, +"users": { +"methods": { +"create": { +"description": "Creates a Merchant Center account user. Executing this method requires admin access.", +"flatPath": "accounts/v1beta/accounts/{accountsId}/users", +"httpMethod": "POST", +"id": "merchantapi.accounts.users.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The resource name of the account for which a user will be created. Format: `accounts/{account}`", +"location": "path", +"pattern": "^accounts/[^/]+$", +"required": true, +"type": "string" +}, +"userId": { +"description": "Required. The email address of the user (for example, `john.doe@gmail.com`).", +"location": "query", +"type": "string" +} +}, +"path": "accounts/v1beta/{+parent}/users", +"request": { +"$ref": "User" +}, +"response": { +"$ref": "User" +}, +"scopes": [ +"https://www.googleapis.com/auth/content" +] +}, +"delete": { +"description": "Deletes a Merchant Center account user. Executing this method requires admin access. The user to be deleted can't be the last admin user of that account. Also a user is protected from deletion if it is managed by Business Manager\"", +"flatPath": "accounts/v1beta/accounts/{accountsId}/users/{usersId}", +"httpMethod": "DELETE", +"id": "merchantapi.accounts.users.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the user to delete. Format: `accounts/{account}/users/{email}` It is also possible to delete the user corresponding to the caller by using `me` rather than an email address as in `accounts/{account}/users/me`.", +"location": "path", +"pattern": "^accounts/[^/]+/users/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "accounts/v1beta/{+name}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/content" +] +}, +"get": { +"description": "Retrieves a Merchant Center account user.", +"flatPath": "accounts/v1beta/accounts/{accountsId}/users/{usersId}", +"httpMethod": "GET", +"id": "merchantapi.accounts.users.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the user to retrieve. Format: `accounts/{account}/users/{email}` It is also possible to retrieve the user corresponding to the caller by using `me` rather than an email address as in `accounts/{account}/users/me`.", +"location": "path", +"pattern": "^accounts/[^/]+/users/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "accounts/v1beta/{+name}", +"response": { +"$ref": "User" +}, +"scopes": [ +"https://www.googleapis.com/auth/content" +] +}, +"list": { +"description": "Lists all users of a Merchant Center account.", +"flatPath": "accounts/v1beta/accounts/{accountsId}/users", +"httpMethod": "GET", +"id": "merchantapi.accounts.users.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "Optional. The maximum number of users to return. The service may return fewer than this value. If unspecified, at most 50 users will be returned. The maximum value is 100; values above 100 will be coerced to 100", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. A page token, received from a previous `ListUsers` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListUsers` must match the call that provided the page token.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent, which owns this collection of users. Format: `accounts/{account}`", +"location": "path", +"pattern": "^accounts/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "accounts/v1beta/{+parent}/users", +"response": { +"$ref": "ListUsersResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/content" +] +}, +"patch": { +"description": "Updates a Merchant Center account user. Executing this method requires admin access.", +"flatPath": "accounts/v1beta/accounts/{accountsId}/users/{usersId}", +"httpMethod": "PATCH", +"id": "merchantapi.accounts.users.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Identifier. The resource name of the user. Format: `accounts/{account}/user/{email}` Use `me` to refer to your own email address, for example `accounts/{account}/users/me`.", +"location": "path", +"pattern": "^accounts/[^/]+/users/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Optional. List of fields being updated. The following fields are supported (in both `snake_case` and `lowerCamelCase`): - `access_rights`", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "accounts/v1beta/{+name}", +"request": { +"$ref": "User" +}, +"response": { +"$ref": "User" +}, +"scopes": [ +"https://www.googleapis.com/auth/content" +] +} +}, +"resources": { +"me": { +"methods": { +"verifySelf": { +"description": "Updates the user that is represented by the caller from pending to verified.", +"flatPath": "accounts/v1beta/accounts/{accountsId}/users/me:verifySelf", +"httpMethod": "PATCH", +"id": "merchantapi.accounts.users.me.verifySelf", +"parameterOrder": [ +"account" +], +"parameters": { +"account": { +"description": "Required. The name of the account under which the caller is a user. Format: `accounts/{account}`", +"location": "path", +"pattern": "^accounts/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "accounts/v1beta/{+account}/users/me:verifySelf", +"request": { +"$ref": "VerifySelfRequest" +}, +"response": { +"$ref": "User" +}, +"scopes": [ +"https://www.googleapis.com/auth/content" +] +} +} +} +} +} +} +}, +"termsOfService": { +"methods": { +"accept": { +"description": "Accepts a `TermsOfService`. Executing this method requires admin access.", +"flatPath": "accounts/v1beta/termsOfService/{termsOfServiceId}:accept", +"httpMethod": "POST", +"id": "merchantapi.termsOfService.accept", +"parameterOrder": [ +"name" +], +"parameters": { +"account": { +"description": "Required. The account for which to accept the ToS. Format: `accounts/{account}`", +"location": "query", +"type": "string" +}, +"name": { +"description": "Required. The resource name of the terms of service version. Format: `termsOfService/{version}`", +"location": "path", +"pattern": "^termsOfService/[^/]+$", +"required": true, +"type": "string" +}, +"regionCode": { +"description": "Required. Region code as defined by [CLDR](https://cldr.unicode.org/). This is either a country when the ToS applies specifically to that country or 001 when it applies globally.", +"location": "query", +"type": "string" +} +}, +"path": "accounts/v1beta/{+name}:accept", +"response": { +"$ref": "AcceptTermsOfServiceResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/content" +] +}, +"get": { +"description": "Retrieves the `TermsOfService` associated with the provided version.", +"flatPath": "accounts/v1beta/termsOfService/{termsOfServiceId}", +"httpMethod": "GET", +"id": "merchantapi.termsOfService.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the terms of service version. Format: `termsOfService/{version}`", +"location": "path", +"pattern": "^termsOfService/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "accounts/v1beta/{+name}", +"response": { +"$ref": "TermsOfService" +}, +"scopes": [ +"https://www.googleapis.com/auth/content" +] +}, +"retrieveLatest": { +"description": "Retrieves the latest version of the `TermsOfService` for a given `kind` and `region_code`.", +"flatPath": "accounts/v1beta/termsOfService:retrieveLatest", +"httpMethod": "GET", +"id": "merchantapi.termsOfService.retrieveLatest", +"parameterOrder": [], +"parameters": { +"kind": { +"description": "Required. The Kind this terms of service version applies to.", +"enum": [ +"TERMS_OF_SERVICE_KIND_UNSPECIFIED", +"MERCHANT_CENTER" +], +"enumDescriptions": [ +"Default value. This value is unused.", +"Merchant Center application." +], +"location": "query", +"type": "string" +}, +"regionCode": { +"description": "Required. Region code as defined by [CLDR](https://cldr.unicode.org/). This is either a country when the ToS applies specifically to that country or 001 when it applies globally.", +"location": "query", +"type": "string" +} +}, +"path": "accounts/v1beta/termsOfService:retrieveLatest", +"response": { +"$ref": "TermsOfService" +}, +"scopes": [ +"https://www.googleapis.com/auth/content" +] +} +} +} +}, +"revision": "20260223", +"rootUrl": "https://merchantapi.googleapis.com/", +"schemas": { +"About": { +"description": "Collection of information related to the about page ([impressum](https://support.google.com/merchants/answer/14675634?ref_topic=15145634&sjid=6892280366904591178-NC)).", +"id": "About", +"properties": { +"state": { +"description": "Output only. The state of the URI.", +"enum": [ +"STATE_UNSPECIFIED", +"ACTIVE", +"FAILED", +"RUNNING", +"ACTION_REQUIRED" +], +"enumDescriptions": [ +"Default value. This value is unused.", +"The review process has concluded successfully. The reviewed item is active.", +"The review process failed.", +"The review process is running.", +"The review process is waiting for the merchant to take action." +], +"readOnly": true, +"type": "string" +}, +"uri": { +"description": "Required. The about page URI.", +"type": "string" +} +}, +"type": "object" +}, +"AcceptTermsOfServiceResponse": { +"description": "Response message for the `AcceptTermsOfService` method.", +"id": "AcceptTermsOfServiceResponse", +"properties": { +"termsOfServiceAgreementState": { +"$ref": "TermsOfServiceAgreementState", +"description": "The agreement state after accepting the ToS." +} +}, +"type": "object" +}, +"Accepted": { +"description": "Describes the [accepted terms of service](https://developers.google.com/merchant/api/guides/accounts/create-and-configure#accept_the_merchant_center_terms_of_service).", +"id": "Accepted", +"properties": { +"acceptedBy": { +"description": "Required. The account where the acceptance was recorded. This can be the account itself or, in the case of subaccounts, the advanced account.", +"type": "string" +}, +"termsOfService": { +"description": "Required. The accepted termsOfService.", +"type": "string" +}, +"validUntil": { +"$ref": "Date", +"description": "Optional. When set, it states that the accepted `TermsOfService` is only valid until the end of this date (in UTC). A new one must be accepted before then. The information of the required `TermsOfService` is found in the `Required` message." +} +}, +"type": "object" +}, +"Account": { +"description": "The `Account` message represents a business's account within Shopping Ads. It's the primary entity for managing product data, settings, and interactions with Google's services and external providers. Accounts can operate as standalone entities or be part of a advanced account structure. In an advanced account setup the parent account manages multiple sub-accounts. Establishing an account involves configuring attributes like the account name, time zone, and language preferences. The `Account` message is the parent entity for many other resources, for example, `AccountRelationship`, `Homepage`, `BusinessInfo` and so on.", +"id": "Account", +"properties": { +"accountId": { +"description": "Output only. The ID of the account.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"accountName": { +"description": "Required. A human-readable name of the account. Don't use punctuation, capitalization, or non-alphanumeric symbols such as the \"/\" or \"_\" symbols. See [Adding a business name](https://support.google.com/merchants/answer/12159159) for more information.", +"type": "string" +}, +"adultContent": { +"description": "Optional. Whether this account contains adult content.", +"type": "boolean" +}, +"languageCode": { +"description": "Required. The account's [BCP-47 language code](https://tools.ietf.org/html/bcp47), such as `en-US` or `sr-Latn`.", +"type": "string" +}, +"name": { +"description": "Identifier. The resource name of the account. Format: `accounts/{account}`", +"type": "string" +}, +"testAccount": { +"description": "Output only. Whether this is a test account.", +"readOnly": true, +"type": "boolean" +}, +"timeZone": { +"$ref": "TimeZone", +"description": "Required. The time zone of the account. On writes, `time_zone` sets both the `reporting_time_zone` and the `display_time_zone`. For reads, `time_zone` always returns the `display_time_zone`. If `display_time_zone` doesn't exist for your account, `time_zone` is empty. The `version` field is not supported, won't be set in responses and will be silently ignored if specified in requests." +} +}, +"type": "object" +}, +"AccountAggregation": { +"description": "`AccountAggregation` payload.", +"id": "AccountAggregation", +"properties": {}, +"type": "object" +}, +"AccountIssue": { +"description": "Issues with your Merchant Center account that can impact all your products. For more information, see [Account-level issues in Merchant Center](https://support.google.com/merchants/answer/12153802?sjid=17798438912526418908-EU#account).", +"id": "AccountIssue", +"properties": { +"detail": { +"description": "Further localized details about the issue.", +"type": "string" +}, +"documentationUri": { +"description": "Link to Merchant Center Help Center providing further information about the issue and how to fix it.", +"type": "string" +}, +"impactedDestinations": { +"description": "The impact this issue has on various destinations.", +"items": { +"$ref": "ImpactedDestination" +}, +"type": "array" +}, +"name": { +"description": "Identifier. The resource name of the account issue. Format: `accounts/{account}/issues/{id}`. For example, `accounts/123456/issues/misrepresentation-of-self-or-products-unacceptable-business-practice-policy`.", +"type": "string" +}, +"severity": { +"description": "The overall severity of the issue.", +"enum": [ +"SEVERITY_UNSPECIFIED", +"CRITICAL", +"ERROR", +"SUGGESTION" +], +"enumDescriptions": [ +"The severity is unknown.", +"The issue causes offers to not serve.", +"The issue might affect offers (in the future) or might be an indicator of issues with offers.", +"The issue is a suggestion for improvement." +], +"type": "string" +}, +"title": { +"description": "The localized title of the issue.", +"type": "string" +} +}, +"type": "object" +}, +"AccountManagement": { +"description": "`AccountManagement` payload.", +"id": "AccountManagement", +"properties": {}, +"type": "object" +}, +"AccountRelationship": { +"description": "The `AccountRelationship` message defines a formal connection between a merchant's account and a service provider's account. This relationship enables the provider to offer specific services to the business, such as product management or campaign management. It specifies the access rights and permissions to the business's data relevant to those services. Establishing an account relationship involves linking the merchant's account with a provider's account. The provider could be another Google account (like Google Ads or Google My Business) or a third-party platform (such as Shopify or WooCommerce).", +"id": "AccountRelationship", +"properties": { +"accountIdAlias": { +"description": "Optional. An optional alias you can assign to this account relationship. This alias acts as a convenient identifier for your own reference and management. It must be unique among all your account relationships with the same provider. For example, you might use `account_id_alias` to assign a friendly name to this relationship for easier identification in your systems.", +"type": "string" +}, +"name": { +"description": "Identifier. The resource name of the account relationship. Format: `accounts/{account}/relationships/{relationship}`. For example, `accounts/123456/relationships/567890`.", +"type": "string" +}, +"provider": { +"description": "Immutable. The provider of the service. Either the reference to an account such as `providers/123` or a well-known service provider (one of `providers/GOOGLE_ADS` or `providers/GOOGLE_BUSINESS_PROFILE`).", +"type": "string" +}, +"providerDisplayName": { +"description": "Output only. The human-readable display name of the provider account.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"AccountService": { +"description": "The `AccountService` message represents a specific service that a provider account offers to a Merchant Center account. `AccountService` defines the permissions and capabilities granted to the provider, allowing for operations such as product management or campaign management. The lifecycle of an `AccountService` involves a proposal phase, where one party suggests the service, and an approval phase, where the other party accepts or rejects it. This handshake mechanism ensures mutual consent before any access is granted. This mechanism safeguards both parties by ensuring that access rights are granted appropriately and that both the business and provider are aware of the services enabled. In scenarios where a user is an admin of both accounts, the approval can happen automatically. The mutability of a service is also managed through `AccountService`. Some services might be immutable, for example, if they were established through other systems or APIs, and you cannot alter them through this API.", +"id": "AccountService", +"properties": { +"accountAggregation": { +"$ref": "AccountAggregation", +"description": "Service type for account aggregation. This enables the provider, which is an advanced account, to manage multiple sub-accounts (client accounts). Through this service, the advanced account provider can perform administrative and operational tasks across all linked sub-accounts. This is useful for agencies, aggregators, or large retailers that need centralized control over many Merchant Center accounts." +}, +"accountManagement": { +"$ref": "AccountManagement", +"description": "Service type for account management. Enables the provider to perform administrative actions on the business's account, such as configuring account settings, managing users, or updating business information." +}, +"campaignsManagement": { +"$ref": "CampaignsManagement", +"description": "Service type for managing advertising campaigns. Grants the provider access to create and manage the business's ad campaigns, including setting up campaigns, adjusting bids, and optimizing performance." +}, +"comparisonShopping": { +"$ref": "ComparisonShopping", +"description": "Service type for comparison shopping. The provider is a CSS (Comparison Shopping Service) managing the account. See https://support.google.com/merchants/answer/12653197" +}, +"externalAccountId": { +"description": "Immutable. An optional, immutable identifier that Google uses to refer to this account when communicating with the provider. This should be the unique account ID within the provider's system (for example, your shop ID in Shopify). If you have multiple accounts with the same provider - for instance, different accounts for various regions \u2014 the `external_account_id` differentiates between them, ensuring accurate linking and integration between Google and the provider.", +"type": "string" +}, +"handshake": { +"$ref": "Handshake", +"description": "Output only. Information about the state of the service in terms of establishing it (e.g. is it pending approval or approved).", +"readOnly": true +}, +"localListingManagement": { +"$ref": "LocalListingManagement", +"description": "Service type for local listings management. The business group associated with the external account id will be used to provide local inventory to this Merchant Center account." +}, +"mutability": { +"description": "Output only. Whether the service is mutable (e.g. through Approve / Reject RPCs). A service that was created through another system or API might be immutable.", +"enum": [ +"MUTABILITY_UNSPECIFIED", +"MUTABLE", +"IMMUTABLE" +], +"enumDescriptions": [ +"Unused default value", +"The service can be mutated without restrictions.", +"The service is read-only and must not be mutated." +], +"readOnly": true, +"type": "string" +}, +"name": { +"description": "Identifier. The resource name of the account service. Format: `accounts/{account}/services/{service}`", +"type": "string" +}, +"productsManagement": { +"$ref": "ProductsManagement", +"description": "Service type for managing products. This allows the provider to handle product data on behalf of the business, including reading and writing product listings. It's commonly used when the provider offers inventory management or catalog synchronization services to keep the business's product information up-to-date across platforms." +}, +"provider": { +"description": "Output only. The provider of the service. Either the reference to an account such as `providers/123` or a well-known service provider (one of `providers/GOOGLE_ADS` or `providers/GOOGLE_BUSINESS_PROFILE`).", +"readOnly": true, +"type": "string" +}, +"providerDisplayName": { +"description": "Output only. The human-readable display name of the provider account.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"AddAccountService": { +"description": "Additional instructions to add account services during creation of the account.", +"id": "AddAccountService", +"properties": { +"accountAggregation": { +"$ref": "AccountAggregation", +"description": "The provider is an [aggregator](https://support.google.com/merchants/answer/188487) for the account. Payload for service type Account Aggregation." +}, +"accountManagement": { +"$ref": "AccountManagement", +"description": "The provider manages this account. Payload for service type Account Management." +}, +"campaignsManagement": { +"$ref": "CampaignsManagement", +"description": "The provider manages campaigns for this account. Payload for service type campaigns management." +}, +"comparisonShopping": { +"$ref": "ComparisonShopping", +"description": "The provider is a CSS (Comparison Shopping Service) of this account. Payload for service type Comparison Shopping." +}, +"externalAccountId": { +"description": "Immutable. An optional, immutable identifier that Google uses to refer to this account when communicating with the provider. This should be the unique account ID within the provider's system (for example, your shop ID in Shopify). If you have multiple accounts with the same provider - for instance, different accounts for various regions \u2014 the `external_account_id` differentiates between them, ensuring accurate linking and integration between Google and the provider. The external account ID must be specified for the campaigns management service type. The external account ID must not be specified for the account aggregation service type. The external account ID is optional / may be specified for all other service types.", +"type": "string" +}, +"productsManagement": { +"$ref": "ProductsManagement", +"description": "The provider manages products for this account. Payload for service type products management." +}, +"provider": { +"description": "Required. The provider of the service. Either the reference to an account such as `providers/123` or a well-known service provider (one of `providers/GOOGLE_ADS` or `providers/GOOGLE_BUSINESS_PROFILE`).", +"type": "string" +} +}, +"type": "object" +}, +"AddUser": { +"description": "Instruction for adding a user to the account during creation.", +"id": "AddUser", +"properties": { +"user": { +"$ref": "User", +"description": "Optional. Details about the user to be added. At the moment, only access rights may be specified." +}, +"userId": { +"description": "Required. The email address of the user (for example, `john.doe@gmail.com`).", +"type": "string" +}, +"verificationMailSettings": { +"$ref": "VerificationMailSettings", +"description": "Optional. Settings related to configuring the verification email that is sent after adding a user." +} +}, +"type": "object" +}, +"Address": { +"description": "Shipping address of the warehouse.", +"id": "Address", +"properties": { +"administrativeArea": { +"description": "Required. Top-level administrative subdivision of the country. For example, a state like California (\"CA\") or a province like Quebec (\"QC\").", +"type": "string" +}, +"city": { +"description": "Required. City, town or commune. May also include dependent localities or sublocalities (For example neighborhoods or suburbs).", +"type": "string" +}, +"postalCode": { +"description": "Required. Postal code or ZIP (For example \"94043\").", +"type": "string" +}, +"regionCode": { +"description": "Required. [CLDR country code](http://www.unicode.org/repos/cldr/tags/latest/common/main/en.xml) (For example \"US\").", +"type": "string" +}, +"streetAddress": { +"description": "Street-level part of the address. For example: `111w 31st Street`.", +"type": "string" +} +}, +"type": "object" +}, +"ApproveAccountServiceRequest": { +"description": "Request to approve an account service.", +"id": "ApproveAccountServiceRequest", +"properties": {}, +"type": "object" +}, +"AutofeedSettings": { +"description": "Collection of information related to the [autofeed](https://support.google.com/merchants/answer/7538732) settings.", +"id": "AutofeedSettings", +"properties": { +"eligible": { +"description": "Output only. Determines whether the business is eligible for being enrolled into an autofeed.", +"readOnly": true, +"type": "boolean" +}, +"enableProducts": { +"description": "Required. Enables or disables product crawling through the autofeed for the given account. Autofeed accounts must meet [certain conditions](https://support.google.com/merchants/answer/7538732#Configure_automated_feeds_Standard_Experience), which can be checked through the `eligible` field. The account must **not** be a marketplace. When the autofeed is enabled for the first time, the products usually appear instantly. When re-enabling, it might take up to 24 hours for products to appear.", +"type": "boolean" +}, +"name": { +"description": "Identifier. The resource name of the autofeed settings. Format: `accounts/{account}/autofeedSettings`.", +"type": "string" +} +}, +"type": "object" +}, +"AutomaticImageImprovements": { +"description": "This improvement will attempt to automatically correct submitted images if they don't meet the [image requirements](https://support.google.com/merchants/answer/6324350), for example, removing overlays. If successful, the image will be replaced and approved. This improvement is only applied to images of disapproved offers. For more information see: [Automatic image improvements](https://support.google.com/merchants/answer/9242973)", +"id": "AutomaticImageImprovements", +"properties": { +"accountImageImprovementsSettings": { +"$ref": "ImageImprovementsAccountLevelSettings", +"description": "Optional. Determines how the images should be automatically updated. If this field is not present and provided in the update mask, then the settings will be deleted. If there are no settings for subaccount, they are inherited from aggregator." +}, +"effectiveAllowAutomaticImageImprovements": { +"description": "Output only. The effective value of allow_automatic_image_improvements. If account_image_improvements_settings is present, then this value is the same. Otherwise, it represents the inherited value of the parent account. Read-only.", +"readOnly": true, +"type": "boolean" +} +}, +"type": "object" +}, +"AutomaticImprovements": { +"description": "Collection of information related to the [automatic improvements](https://developers.google.com/shopping-content/guides/automatic-improvements) of an account.", +"id": "AutomaticImprovements", +"properties": { +"imageImprovements": { +"$ref": "AutomaticImageImprovements", +"description": "This improvement will attempt to automatically correct submitted images if they don't meet the [image requirements](https://support.google.com/merchants/answer/6324350), for example, removing overlays. If successful, the image will be replaced and approved. This improvement is only applied to images of disapproved offers. For more information see: [Automatic image improvements](https://support.google.com/merchants/answer/9242973) This field is only updated (cleared) if provided in the update mask." +}, +"itemUpdates": { +"$ref": "AutomaticItemUpdates", +"description": "Turning on [item updates](https://support.google.com/merchants/answer/3246284) allows Google to automatically update items for you. When item updates are on, Google uses the structured data markup on the website and advanced data extractors to update the price and availability of the items. When the item updates are off, items with mismatched data aren't shown. This field is only updated (cleared) if provided in the update mask." +}, +"name": { +"description": "Identifier. The resource name of the automatic improvements. Format: `accounts/{account}/automaticImprovements`.", +"type": "string" +}, +"shippingImprovements": { +"$ref": "AutomaticShippingImprovements", +"description": "Not available for [advanced accounts](https://support.google.com/merchants/answer/188487). By turning on [automatic shipping improvements](https://support.google.com/merchants/answer/10027038), you are allowing Google to improve the accuracy of your delivery times shown to shoppers using Google. More accurate delivery times, especially when faster, typically lead to better conversion rates. Google will improve your estimated delivery times based on various factors: * Delivery address of an order * Current handling time and shipping time settings * Estimated weekdays or business days * Parcel tracking data This field is only updated (cleared) if provided in the update mask." +} +}, +"type": "object" +}, +"AutomaticItemUpdates": { +"description": "Turning on [item updates](https://support.google.com/merchants/answer/3246284) allows Google to automatically update items for you. When item updates are on, Google uses the structured data markup on the website and advanced data extractors to update the price and availability of the items. When the item updates are off, items with mismatched data aren't shown.", +"id": "AutomaticItemUpdates", +"properties": { +"accountItemUpdatesSettings": { +"$ref": "ItemUpdatesAccountLevelSettings", +"description": "Optional. Determines which attributes of the items should be automatically updated. If this field is not present and provided in the update mask, then the settings will be deleted. If there are no settings for subaccount, they are inherited from aggregator." +}, +"effectiveAllowAvailabilityUpdates": { +"description": "Output only. The effective value of allow_availability_updates. If account_item_updates_settings is present, then this value is the same. Otherwise, it represents the inherited value of the parent account. The default value is true if no settings are present. Read-only.", +"readOnly": true, +"type": "boolean" +}, +"effectiveAllowConditionUpdates": { +"description": "Output only. The effective value of allow_condition_updates. If account_item_updates_settings is present, then this value is the same. Otherwise, it represents the inherited value of the parent account. The default value is true if no settings are present. Read-only.", +"readOnly": true, +"type": "boolean" +}, +"effectiveAllowPriceUpdates": { +"description": "Output only. The effective value of allow_price_updates. If account_item_updates_settings is present, then this value is the same. Otherwise, it represents the inherited value of the parent account. The default value is true if no settings are present. Read-only.", +"readOnly": true, +"type": "boolean" +}, +"effectiveAllowStrictAvailabilityUpdates": { +"description": "Output only. The effective value of allow_strict_availability_updates. If account_item_updates_settings is present, then this value is the same. Otherwise, it represents the inherited value of the parent account. The default value is true if no settings are present. Read-only.", +"readOnly": true, +"type": "boolean" +} +}, +"type": "object" +}, +"AutomaticShippingImprovements": { +"description": "Not available for [advanced accounts](https://support.google.com/merchants/answer/188487). By turning on [automatic shipping improvements](https://support.google.com/merchants/answer/10027038), you are allowing Google to improve the accuracy of your delivery times shown to shoppers using Google. More accurate delivery times, especially when faster, typically lead to better conversion rates. Google will improve your estimated delivery times based on various factors: * Delivery address of an order * Current handling time and shipping time settings * Estimated weekdays or business days * Parcel tracking data", +"id": "AutomaticShippingImprovements", +"properties": { +"allowShippingImprovements": { +"description": "Enables automatic shipping improvements.", +"type": "boolean" +} +}, +"type": "object" +}, +"BusinessDayConfig": { +"description": "Business days of the warehouse.", +"id": "BusinessDayConfig", +"properties": { +"businessDays": { +"description": "Required. Regular business days. May not be empty.", +"items": { +"enum": [ +"WEEKDAY_UNSPECIFIED", +"MONDAY", +"TUESDAY", +"WEDNESDAY", +"THURSDAY", +"FRIDAY", +"SATURDAY", +"SUNDAY" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"", +"", +"" +], +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"BusinessIdentity": { +"description": "Collection of information related to the [identity of a business](https://support.google.com/merchants/answer/12564247).", +"id": "BusinessIdentity", +"properties": { +"blackOwned": { +"$ref": "IdentityAttribute", +"description": "Optional. Specifies whether the business identifies itself as being black-owned. This optional field will only be available for businesses with the business country set to `US`. It is also not applicable for marketplaces or marketplace sellers." +}, +"latinoOwned": { +"$ref": "IdentityAttribute", +"description": "Optional. Specifies whether the business identifies itself as being latino-owned. This optional field will only be available for businesses with the business country set to `US`. It is also not applicable for marketplaces or marketplace sellers." +}, +"name": { +"description": "Identifier. The resource name of the business identity. Format: `accounts/{account}/businessIdentity`", +"type": "string" +}, +"promotionsConsent": { +"description": "Required. Whether the identity attributes may be used for promotions.", +"enum": [ +"PROMOTIONS_CONSENT_UNSPECIFIED", +"PROMOTIONS_CONSENT_GIVEN", +"PROMOTIONS_CONSENT_DENIED" +], +"enumDescriptions": [ +"Default value indicating that no selection was made.", +"Indicates that the account consented to having their business identity used for promotions.", +"Indicates that the account did not consent to having their business identity used for promotions." +], +"type": "string" +}, +"smallBusiness": { +"$ref": "IdentityAttribute", +"description": "Optional. Specifies whether the business identifies itself as a small business. This optional field will only be available for businesses with a business country set to `US`. It is also not applicable for marketplaces." +}, +"veteranOwned": { +"$ref": "IdentityAttribute", +"description": "Optional. Specifies whether the business identifies itself as being veteran-owned. This optional field will only be available for businesses with a business country set to `US`. It is also not applicable for marketplaces or marketplace sellers." +}, +"womenOwned": { +"$ref": "IdentityAttribute", +"description": "Optional. Specifies whether the business identifies itself as being women-owned. This optional field will only be available for businesses with a business country set to `US`. It is also not applicable for marketplaces or marketplace sellers." +} +}, +"type": "object" +}, +"BusinessInfo": { +"description": "The `BusinessInfo` message contains essential information about a business. This message captures key business details such as physical address, customer service contacts, and region-specific identifiers.", +"id": "BusinessInfo", +"properties": { +"address": { +"$ref": "PostalAddress", +"description": "Optional. The address of the business. Only `region_code`, `address_lines`, `postal_code`, `administrative_area` and `locality` fields are supported. All other fields are ignored." +}, +"customerService": { +"$ref": "CustomerService", +"description": "Optional. The customer service of the business." +}, +"koreanBusinessRegistrationNumber": { +"description": "Optional. The 10-digit [Korean business registration number](https://support.google.com/merchants/answer/9037766) separated with dashes in the format: XXX-XX-XXXXX.", +"type": "string" +}, +"name": { +"description": "Identifier. The resource name of the business info. Format: `accounts/{account}/businessInfo`", +"type": "string" +}, +"phone": { +"$ref": "PhoneNumber", +"description": "Output only. The phone number of the business.", +"readOnly": true +}, +"phoneVerificationState": { +"description": "Output only. The phone verification state of the business.", +"enum": [ +"PHONE_VERIFICATION_STATE_UNSPECIFIED", +"PHONE_VERIFICATION_STATE_VERIFIED", +"PHONE_VERIFICATION_STATE_UNVERIFIED" +], +"enumDescriptions": [ +"Default value. This value is unused.", +"The phone is verified.", +"The phone is unverified." +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"CampaignsManagement": { +"description": "`CampaignManagement` payload.", +"id": "CampaignsManagement", +"properties": {}, +"type": "object" +}, +"CarrierRate": { +"description": "A list of carrier rates that can be referred to by `main_table` or `single_value`. Supported carrier services are defined in https://support.google.com/merchants/answer/12577710?ref_topic=12570808&sjid=10662598224319463032-NC#zippy=%2Cdelivery-cost-rate-type%2Ccarrier-rate-au-de-uk-and-us-only.", +"id": "CarrierRate", +"properties": { +"carrier": { +"description": "Required. Carrier service, such as `\"UPS\"` or `\"Fedex\"`.", +"type": "string" +}, +"carrierService": { +"description": "Required. Carrier service, such as `\"ground\"` or `\"2 days\"`.", +"type": "string" +}, +"flatAdjustment": { +"$ref": "Price", +"description": "Optional. Additive shipping rate modifier. Can be negative. For example `{ \"amount_micros\": 1, \"currency_code\" : \"USD\" }` adds $1 to the rate, `{ \"amount_micros\": -3, \"currency_code\" : \"USD\" }` removes $3 from the rate." +}, +"name": { +"description": "Required. Name of the carrier rate. Must be unique per rate group.", +"type": "string" +}, +"originPostalCode": { +"description": "Required. Shipping origin for this carrier rate.", +"type": "string" +}, +"percentageAdjustment": { +"description": "Optional. Multiplicative shipping rate modifier as a number in decimal notation. Can be negative. For example `\"5.4\"` increases the rate by 5.4%, `\"-3\"` decreases the rate by 3%.", +"type": "string" +} +}, +"type": "object" +}, +"CheckoutSettings": { +"description": "[CheckoutSettings](https://support.google.com/merchants/answer/13945960) for a specific merchant.", +"id": "CheckoutSettings", +"properties": { +"effectiveEnrollmentState": { +"description": "Output only. The effective value of enrollment_state for a given merchant ID. If account level settings are present then this value will be a copy of the account level settings. Otherwise, it will have the value of the parent account (for only marketplace sellers).", +"enum": [ +"CHECKOUT_ENROLLMENT_STATE_UNSPECIFIED", +"INACTIVE", +"ENROLLED", +"OPTED_OUT" +], +"enumDescriptions": [ +"Default enrollment state when enrollment state is not specified.", +"Merchant has not enrolled into the program.", +"Merchant has enrolled into the program by providing either an account level URL or checkout URLs as part of their feed.", +"Merchant has previously enrolled but opted out of the program." +], +"readOnly": true, +"type": "string" +}, +"effectiveReviewState": { +"description": "Output only. The effective value of `review_state` for a given merchant ID. If account level settings are present then this value will be a copy of the account level settings. Otherwise, it will have the value of the parent account (for only marketplace sellers).", +"enum": [ +"CHECKOUT_REVIEW_STATE_UNSPECIFIED", +"IN_REVIEW", +"APPROVED", +"DISAPPROVED" +], +"enumDescriptions": [ +"Default review state when review state is not specified.", +"Merchant provided URLs are being reviewed for data quality issues.", +"Merchant account has been approved. Indicates the data quality checks have passed.", +"Merchant account has been disapproved due to data quality issues." +], +"readOnly": true, +"type": "string" +}, +"effectiveUriSettings": { +"$ref": "UriSettings", +"description": "Output only. The effective value of `uri_settings` for a given merchant. If account level settings are present then this value will be a copy of url settings. Otherwise, it will have the value of the parent account (for only marketplace sellers).", +"readOnly": true +}, +"eligibleDestinations": { +"description": "Optional. Required for the create operation. The destinations (also known as [Marketing methods](https://support.google.com/merchants/answer/15130232)) to which the checkout program applies. Valid destination values are `SHOPPING_ADS` and `FREE_LISTINGS`.", +"items": { +"enum": [ +"DESTINATION_ENUM_UNSPECIFIED", +"SHOPPING_ADS", +"DISPLAY_ADS", +"LOCAL_INVENTORY_ADS", +"FREE_LISTINGS", +"FREE_LOCAL_LISTINGS", +"YOUTUBE_SHOPPING", +"YOUTUBE_SHOPPING_CHECKOUT", +"YOUTUBE_AFFILIATE", +"FREE_VEHICLE_LISTINGS", +"VEHICLE_ADS", +"CLOUD_RETAIL", +"LOCAL_CLOUD_RETAIL" +], +"enumDescriptions": [ +"Not specified.", +"[Shopping ads](https://support.google.com/google-ads/answer/2454022).", +"[Display ads](https://support.google.com/merchants/answer/6069387).", +"[Local inventory ads](https://support.google.com/merchants/answer/3057972).", +"[Free listings](https://support.google.com/merchants/answer/9199328).", +"[Free local product listings](https://support.google.com/merchants/answer/9825611).", +"[YouTube Shopping](https://support.google.com/merchants/answer/12362804).", +"Youtube shopping checkout.", +"[Youtube Affiliate](https://support.google.com/youtube/answer/13376398).", +"[Free vehicle listings](https://support.google.com/merchants/answer/11189169).", +"[Vehicle ads](https://support.google.com/merchants/answer/11189169).", +"[Cloud retail](https://cloud.google.com/solutions/retail).", +"[Local cloud retail](https://cloud.google.com/solutions/retail)." +], +"type": "string" +}, +"type": "array" +}, +"enrollmentState": { +"description": "Output only. Reflects the merchant enrollment state in `Checkout` program.", +"enum": [ +"CHECKOUT_ENROLLMENT_STATE_UNSPECIFIED", +"INACTIVE", +"ENROLLED", +"OPTED_OUT" +], +"enumDescriptions": [ +"Default enrollment state when enrollment state is not specified.", +"Merchant has not enrolled into the program.", +"Merchant has enrolled into the program by providing either an account level URL or checkout URLs as part of their feed.", +"Merchant has previously enrolled but opted out of the program." +], +"readOnly": true, +"type": "string" +}, +"name": { +"description": "Identifier. The resource name of the program configuration settings. Format: `accounts/{account}/programs/{program}/checkoutSettings`", +"type": "string" +}, +"reviewState": { +"description": "Output only. Reflects the merchant review state in `Checkout` program. This is set based on the data quality reviews of the URL provided by the merchant. A merchant with enrollment state as `ENROLLED` can be in the following review states: `IN_REVIEW`, `APPROVED` or `DISAPPROVED`. A merchant must be in an `enrollment_state` of `ENROLLED` before a review can begin for the merchant.For more details, check the help center doc.", +"enum": [ +"CHECKOUT_REVIEW_STATE_UNSPECIFIED", +"IN_REVIEW", +"APPROVED", +"DISAPPROVED" +], +"enumDescriptions": [ +"Default review state when review state is not specified.", +"Merchant provided URLs are being reviewed for data quality issues.", +"Merchant account has been approved. Indicates the data quality checks have passed.", +"Merchant account has been disapproved due to data quality issues." +], +"readOnly": true, +"type": "string" +}, +"uriSettings": { +"$ref": "UriSettings", +"description": "URI settings for cart or checkout URL." +} +}, +"type": "object" +}, +"ClaimHomepageRequest": { +"description": "Request message for the `ClaimHomepage` method.", +"id": "ClaimHomepageRequest", +"properties": { +"overwrite": { +"description": "Optional. When set to `true`, this option removes any existing claim on the requested website from any other account to the account making the request, effectively replacing the previous claim.", +"type": "boolean" +} +}, +"type": "object" +}, +"ComparisonShopping": { +"description": "`ComparisonShopping` payload.", +"id": "ComparisonShopping", +"properties": {}, +"type": "object" +}, +"CreateAndConfigureAccountRequest": { +"description": "Request message for the `CreateAndConfigureAccount` method.", +"id": "CreateAndConfigureAccountRequest", +"properties": { +"account": { +"$ref": "Account", +"description": "Required. The account to be created." +}, +"service": { +"description": "Required. An account service between the account to be created and the provider account is initialized as part of the creation. At least one such service needs to be provided. Currently exactly one of these needs to be `account_aggregation` and `accounts.createAndConfigure` method can be used to create a sub-account under an existing advanced account through this method. Additional `account_management` or `products_management` services may be provided.", +"items": { +"$ref": "AddAccountService" +}, +"type": "array" +}, +"setAlias": { +"description": "Optional. If a relationship is created with a provider, you can set an alias for it with this field. The calling user must be an admin on the provider to be able to set an alias.", +"items": { +"$ref": "SetAliasForRelationship" +}, +"type": "array" +}, +"user": { +"description": "Optional. Users to be added to the account.", +"items": { +"$ref": "AddUser" +}, +"type": "array" +}, +"users": { +"deprecated": true, +"description": "Optional. Users to be added to the account. This field is deprecated and will not exist after the API evolves out of beta. Use the `user` field instead.", +"items": { +"$ref": "CreateUserRequest" +}, +"type": "array" +} +}, +"type": "object" +}, +"CreateUserRequest": { +"description": "Request message for the `CreateUser` method.", +"id": "CreateUserRequest", +"properties": { +"parent": { +"description": "Required. The resource name of the account for which a user will be created. Format: `accounts/{account}`", +"type": "string" +}, +"user": { +"$ref": "User", +"description": "Optional. The user to create." +}, +"userId": { +"description": "Required. The email address of the user (for example, `john.doe@gmail.com`).", +"type": "string" +} +}, +"type": "object" +}, +"CustomerService": { +"description": "Customer service information.", +"id": "CustomerService", +"properties": { +"email": { +"description": "Optional. The email address where customer service may be reached.", +"type": "string" +}, +"phone": { +"$ref": "PhoneNumber", +"description": "Optional. The phone number where customer service may be called." +}, +"uri": { +"description": "Optional. The URI where customer service may be found.", +"type": "string" +} +}, +"type": "object" +}, +"CutoffConfig": { +"description": "Configs related to local delivery ends for the day.", +"id": "CutoffConfig", +"properties": { +"localCutoffTime": { +"$ref": "LocalCutoffTime", +"description": "Time that local delivery ends for the day." +}, +"noDeliveryPostCutoff": { +"description": "Businesses can opt-out of showing n+1 day local delivery when they have a shipping service configured to n day local delivery. For example, if the shipping service defines same-day delivery, and it's past the cut-off, setting this field to `true` results in the calculated shipping service rate returning `NO_DELIVERY_POST_CUTOFF`. In the same example, setting this field to `false` results in the calculated shipping time being one day. This is only for local delivery.", +"type": "boolean" +}, +"storeCloseOffsetHours": { +"description": "Only valid with local delivery fulfillment. Represents cutoff time as the number of hours before store closing. Mutually exclusive with `local_cutoff_time`.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"CutoffTime": { +"description": "Business days cutoff time definition.", +"id": "CutoffTime", +"properties": { +"hour": { +"description": "Required. Hour of the cutoff time until which an order has to be placed to be processed in the same day.", +"format": "int32", +"type": "integer" +}, +"minute": { +"description": "Required. Minute of the cutoff time until which an order has to be placed to be processed in the same day.", +"format": "int32", +"type": "integer" +}, +"timeZone": { +"description": "Required. [Timezone identifier](https://developers.google.com/adwords/api/docs/appendix/codes-formats#timezone-ids) For example \"Europe/Zurich\".", +"type": "string" +} +}, +"type": "object" +}, +"Date": { +"description": "Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following: * A full date, with non-zero year, month, and day values. * A month and day, with a zero year (for example, an anniversary). * A year on its own, with a zero month and a zero day. * A year and month, with a zero day (for example, a credit card expiration date). Related types: * google.type.TimeOfDay * google.type.DateTime * google.protobuf.Timestamp", +"id": "Date", +"properties": { +"day": { +"description": "Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn't significant.", +"format": "int32", +"type": "integer" +}, +"month": { +"description": "Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.", +"format": "int32", +"type": "integer" +}, +"year": { +"description": "Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"DeliveryTime": { +"description": "Time spent in various aspects from order to the delivery of the product.", +"id": "DeliveryTime", +"properties": { +"cutoffTime": { +"$ref": "CutoffTime", +"description": "Business days cutoff time definition. If not configured the cutoff time will be defaulted to 8AM PST." +}, +"handlingBusinessDayConfig": { +"$ref": "BusinessDayConfig", +"description": "The business days during which orders can be handled. If not provided, Monday to Friday business days will be assumed." +}, +"maxHandlingDays": { +"description": "Maximum number of business days spent before an order is shipped. 0 means same day shipped, 1 means next day shipped. Must be greater than or equal to `min_handling_days`. 'min_handling_days' and 'max_handling_days' should be either set or not set at the same time.", +"format": "int32", +"type": "integer" +}, +"maxTransitDays": { +"description": "Maximum number of business days that is spent in transit. 0 means same day delivery, 1 means next day delivery. Must be greater than or equal to `min_transit_days`.", +"format": "int32", +"type": "integer" +}, +"minHandlingDays": { +"description": "Minimum number of business days spent before an order is shipped. 0 means same day shipped, 1 means next day shipped. 'min_handling_days' and 'max_handling_days' should be either set or not set at the same time.", +"format": "int32", +"type": "integer" +}, +"minTransitDays": { +"description": "Minimum number of business days that is spent in transit. 0 means same day delivery, 1 means next day delivery. Either `min_transit_days`, `max_transit_days` or `transit_time_table` must be set, but not both.", +"format": "int32", +"type": "integer" +}, +"transitBusinessDayConfig": { +"$ref": "BusinessDayConfig", +"description": "The business days during which orders can be in-transit. If not provided, Monday to Friday business days will be assumed." +}, +"transitTimeTable": { +"$ref": "TransitTable", +"description": "Transit time table, number of business days spent in transit based on row and column dimensions. Either `min_transit_days`, `max_transit_days` or `transit_time_table` can be set, but not both." +}, +"warehouseBasedDeliveryTimes": { +"description": "Optional. Indicates that the delivery time should be calculated per warehouse (shipping origin location) based on the settings of the selected carrier. When set, no other transit time related field in delivery time should be set.", +"items": { +"$ref": "WarehouseBasedDeliveryTime" +}, +"type": "array" +} +}, +"type": "object" +}, +"DeveloperRegistration": { +"description": "Represents a developer registration owned by a Merchant account.", +"id": "DeveloperRegistration", +"properties": { +"gcpIds": { +"description": "Output only. The GCP ids attached to this developer registration", +"items": { +"type": "string" +}, +"readOnly": true, +"type": "array" +}, +"name": { +"description": "Identifier. The `name` (ID) of the developer registration. Generated by the Content API upon creation of a new `DeveloperRegistration`. The `account` represents the merchant ID of the merchant that owns the registration.", +"type": "string" +} +}, +"type": "object" +}, +"DisableProgramRequest": { +"description": "Request message for the DisableProgram method.", +"id": "DisableProgramRequest", +"properties": {}, +"type": "object" +}, +"Distance": { +"description": "Maximum delivery radius. This is only required for the local delivery shipment type.", +"id": "Distance", +"properties": { +"unit": { +"description": "Unit can differ based on country, it is parameterized to include miles and kilometers.", +"enum": [ +"UNIT_UNSPECIFIED", +"MILES", +"KILOMETERS" +], +"enumDescriptions": [ +"Unit unspecified", +"Unit in miles", +"Unit in kilometers" +], +"type": "string" +}, +"value": { +"description": "Integer value of distance.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"EmailPreferences": { +"description": "The categories of notifications the user opted into / opted out of. The email preferences do not include mandatory announcements as users can't opt out of them.", +"id": "EmailPreferences", +"properties": { +"name": { +"description": "Identifier. The name of the EmailPreferences. The endpoint is only supported for the authenticated user.", +"type": "string" +}, +"newsAndTips": { +"description": "Optional. Updates on new features, tips and best practices.", +"enum": [ +"OPT_IN_STATE_UNSPECIFIED", +"OPTED_OUT", +"OPTED_IN", +"UNCONFIRMED" +], +"enumDescriptions": [ +"Opt-in status is not specified.", +"User has opted out of receiving this type of email.", +"User has opted in to receiving this type of email.", +"User has opted in to receiving this type of email and the confirmation email has been sent, but user has not yet confirmed the opt in (applies only to certain countries)." +], +"type": "string" +} +}, +"type": "object" +}, +"Empty": { +"description": "A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }", +"id": "Empty", +"properties": {}, +"type": "object" +}, +"EnableProgramRequest": { +"description": "Request message for the EnableProgram method.", +"id": "EnableProgramRequest", +"properties": {}, +"type": "object" +}, +"FindLfpProvidersResponse": { +"description": "Response message for the FindLfpProviders method.", +"id": "FindLfpProvidersResponse", +"properties": { +"lfpProviders": { +"description": "The LFP providers from the specified merchant in the specified country.", +"items": { +"$ref": "LfpProvider" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.", +"type": "string" +} +}, +"type": "object" +}, +"GbpAccount": { +"description": "Collection of information related to a Google Business Profile (GBP) account.", +"id": "GbpAccount", +"properties": { +"gbpAccountId": { +"description": "The id of the GBP account.", +"type": "string" +}, +"gbpAccountName": { +"description": "The name of the Business Profile. For personal accounts: Email id of the owner. For Business accounts: Name of the Business Account.", +"type": "string" +}, +"listingCount": { +"description": "Number of listings under this account.", +"format": "int64", +"type": "string" +}, +"name": { +"description": "Identifier. The resource name of the GBP account. Format: `accounts/{account}/gbpAccount/{gbp_account}`", +"type": "string" +}, +"type": { +"description": "The type of the Business Profile.", +"enum": [ +"TYPE_UNSPECIFIED", +"USER", +"BUSINESS_ACCOUNT" +], +"enumDescriptions": [ +"Default value. This value is unused.", +"The GBP account is a user account.", +"The GBP account is a business account." +], +"type": "string" +} +}, +"type": "object" +}, +"GeoTargetArea": { +"description": "A list of geotargets that defines the region area.", +"id": "GeoTargetArea", +"properties": { +"geotargetCriteriaIds": { +"description": "Required. A non-empty list of [location IDs](https://developers.google.com/adwords/api/docs/appendix/geotargeting). They must all be of the same location type (for example, state).", +"items": { +"format": "int64", +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GetAccountForGcpRegistrationResponse": { +"description": "Response message for the GetAccountForGcpRegistration method.", +"id": "GetAccountForGcpRegistrationResponse", +"properties": { +"name": { +"description": "The name of the merchant account id that the GCP is registered with.", +"type": "string" +} +}, +"type": "object" +}, +"Handshake": { +"description": "The current status of establishing of the service. (for example, pending approval or approved).", +"id": "Handshake", +"properties": { +"actor": { +"description": "Output only. The most recent account to modify the account service's `approval_status`.", +"enum": [ +"ACTOR_UNSPECIFIED", +"ACCOUNT", +"OTHER_PARTY" +], +"enumDescriptions": [ +"Unspecified actor.", +"The last change was done by the account who has this service.", +"The last change was done by the other party who this service points to." +], +"readOnly": true, +"type": "string" +}, +"approvalState": { +"description": "Output only. The approval state of this handshake.", +"enum": [ +"APPROVAL_STATE_UNSPECIFIED", +"PENDING", +"ESTABLISHED", +"REJECTED" +], +"enumDescriptions": [ +"Unspecified approval status.", +"The service was proposed and is waiting to be confirmed.", +"Both parties have confirmed the service.", +"The service proposal was rejected." +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"Headers": { +"description": "A non-empty list of row or column headers for a table. Exactly one of `prices`, `weights`, `num_items`, `postal_code_group_names`, or `location` must be set.", +"id": "Headers", +"properties": { +"locations": { +"description": "Required. A list of location ID sets. Must be non-empty. Can only be set if all other fields are not set.", +"items": { +"$ref": "LocationIdSet" +}, +"type": "array" +}, +"numberOfItems": { +"description": "Required. A list of inclusive number of items upper bounds. The last value can be `\"infinity\"`. For example `[\"10\", \"50\", \"infinity\"]` represents the headers \"<= 10 items\", \"<= 50 items\", and \"> 50 items\". Must be non-empty. Can only be set if all other fields are not set.", +"items": { +"type": "string" +}, +"type": "array" +}, +"postalCodeGroupNames": { +"description": "Required. A list of postal group names. The last value can be `\"all other locations\"`. Example: `[\"zone 1\", \"zone 2\", \"all other locations\"]`. The referred postal code groups must match the delivery country of the service. Must be non-empty. Can only be set if all other fields are not set.", +"items": { +"type": "string" +}, +"type": "array" +}, +"prices": { +"description": "Required. A list of inclusive order price upper bounds. The last price's value can be infinity by setting price amount_micros = -1. For example `[{\"amount_micros\": 10000000, \"currency_code\": \"USD\"}, {\"amount_micros\": 500000000, \"currency_code\": \"USD\"}, {\"amount_micros\": -1, \"currency_code\": \"USD\"}]` represents the headers \"<= $10\", \"<= $500\", and \"> $500\". All prices within a service must have the same currency. Must be non-empty. Must be positive except -1. Can only be set if all other fields are not set.", +"items": { +"$ref": "Price" +}, +"type": "array" +}, +"weights": { +"description": "Required. A list of inclusive order weight upper bounds. The last weight's value can be infinity by setting price amount_micros = -1. For example `[{\"amount_micros\": 10000000, \"unit\": \"kg\"}, {\"amount_micros\": 50000000, \"unit\": \"kg\"}, {\"amount_micros\": -1, \"unit\": \"kg\"}]` represents the headers \"<= 10kg\", \"<= 50kg\", and \"> 50kg\". All weights within a service must have the same unit. Must be non-empty. Must be positive except -1. Can only be set if all other fields are not set.", +"items": { +"$ref": "Weight" +}, +"type": "array" +} +}, +"type": "object" +}, +"Homepage": { +"description": "The `Homepage` message represents a business's store homepage within the system. A business's homepage is the primary domain where customers interact with their store. The homepage can be claimed and verified as a proof of ownership and allows the business to unlock features that require a verified website. For more information, see [Understanding online store URL verification](//support.google.com/merchants/answer/176793).", +"id": "Homepage", +"properties": { +"claimed": { +"description": "Output only. Whether the homepage is claimed. See https://support.google.com/merchants/answer/176793.", +"readOnly": true, +"type": "boolean" +}, +"name": { +"description": "Identifier. The resource name of the store's homepage. Format: `accounts/{account}/homepage`", +"type": "string" +}, +"uri": { +"description": "Required. The URI (typically a URL) of the store's homepage.", +"type": "string" +} +}, +"type": "object" +}, +"IdentityAttribute": { +"description": "All information related to an identity attribute.", +"id": "IdentityAttribute", +"properties": { +"identityDeclaration": { +"description": "Required. The declaration of identity for this attribute.", +"enum": [ +"IDENTITY_DECLARATION_UNSPECIFIED", +"SELF_IDENTIFIES_AS", +"DOES_NOT_SELF_IDENTIFY_AS" +], +"enumDescriptions": [ +"Default value indicating that no selection was made.", +"Indicates that the account identifies with the attribute.", +"Indicates that the account does not identify with the attribute." +], +"type": "string" +} +}, +"type": "object" +}, +"ImageImprovementsAccountLevelSettings": { +"description": "Settings for the Automatic Image Improvements.", +"id": "ImageImprovementsAccountLevelSettings", +"properties": { +"allowAutomaticImageImprovements": { +"description": "Enables automatic image improvements.", +"type": "boolean" +} +}, +"type": "object" +}, +"Impact": { +"description": "The impact of the issue on a region.", +"id": "Impact", +"properties": { +"regionCode": { +"description": "The [CLDR region code](https://cldr.unicode.org/) where this issue applies.", +"type": "string" +}, +"severity": { +"description": "The severity of the issue on the destination and region.", +"enum": [ +"SEVERITY_UNSPECIFIED", +"CRITICAL", +"ERROR", +"SUGGESTION" +], +"enumDescriptions": [ +"The severity is unknown.", +"The issue causes offers to not serve.", +"The issue might affect offers (in the future) or might be an indicator of issues with offers.", +"The issue is a suggestion for improvement." +], +"type": "string" +} +}, +"type": "object" +}, +"ImpactedDestination": { +"description": "The impact of the issue on a destination.", +"id": "ImpactedDestination", +"properties": { +"impacts": { +"description": "The (negative) impact for various regions on the given destination.", +"items": { +"$ref": "Impact" +}, +"type": "array" +}, +"reportingContext": { +"description": "The impacted reporting context.", +"enum": [ +"REPORTING_CONTEXT_ENUM_UNSPECIFIED", +"SHOPPING_ADS", +"DISCOVERY_ADS", +"DEMAND_GEN_ADS", +"DEMAND_GEN_ADS_DISCOVER_SURFACE", +"VIDEO_ADS", +"DISPLAY_ADS", +"LOCAL_INVENTORY_ADS", +"VEHICLE_INVENTORY_ADS", +"FREE_LISTINGS", +"FREE_LISTINGS_UCP_CHECKOUT", +"FREE_LOCAL_LISTINGS", +"FREE_LOCAL_VEHICLE_LISTINGS", +"YOUTUBE_AFFILIATE", +"YOUTUBE_SHOPPING", +"CLOUD_RETAIL", +"LOCAL_CLOUD_RETAIL", +"PRODUCT_REVIEWS", +"MERCHANT_REVIEWS", +"YOUTUBE_CHECKOUT" +], +"enumDeprecated": [ +false, +false, +true, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false +], +"enumDescriptions": [ +"Not specified.", +"[Shopping ads](https://support.google.com/merchants/answer/6149970).", +"Deprecated: Use `DEMAND_GEN_ADS` instead. [Discovery and Demand Gen ads](https://support.google.com/merchants/answer/13389785).", +"[Demand Gen ads](https://support.google.com/merchants/answer/13389785).", +"[Demand Gen ads on Discover surface](https://support.google.com/merchants/answer/13389785).", +"[Video ads](https://support.google.com/google-ads/answer/6340491).", +"[Display ads](https://support.google.com/merchants/answer/6069387).", +"[Local inventory ads](https://support.google.com/merchants/answer/3271956).", +"[Vehicle inventory ads](https://support.google.com/merchants/answer/11544533).", +"[Free product listings](https://support.google.com/merchants/answer/9199328).", +"[Free product listings on UCP checkout](https://developers.google.com/merchant/ucp).", +"[Free local product listings](https://support.google.com/merchants/answer/9825611).", +"[Free local vehicle listings](https://support.google.com/merchants/answer/11544533).", +"[Youtube Affiliate](https://support.google.com/youtube/answer/13376398).", +"[YouTube Shopping](https://support.google.com/merchants/answer/13478370).", +"[Cloud retail](https://cloud.google.com/solutions/retail).", +"[Local cloud retail](https://cloud.google.com/solutions/retail).", +"[Product Reviews](https://support.google.com/merchants/answer/14620732).", +"[Merchant Reviews](https://developers.google.com/merchant-review-feeds).", +"YouTube Checkout ." +], +"type": "string" +} +}, +"type": "object" +}, +"InStock": { +"description": "Collection of information related to InStock.", +"id": "InStock", +"properties": { +"state": { +"description": "Output only. The state of the in-stock serving.", +"enum": [ +"STATE_UNSPECIFIED", +"ACTIVE", +"FAILED", +"RUNNING", +"ACTION_REQUIRED" +], +"enumDescriptions": [ +"Default value. This value is unused.", +"The review process has concluded successfully. The reviewed item is active.", +"The review process failed.", +"The review process is running.", +"The review process is waiting for the merchant to take action." +], +"readOnly": true, +"type": "string" +}, +"uri": { +"description": "Optional. Product landing page URI. It is only used for the review of MHLSF in-stock serving. This URI domain should match with the business's homepage. Required to be empty if the lsf_type is GHLSF, and required when the lsf_type is MHLSF_FULL or MHLSF_BASIC.", +"type": "string" +} +}, +"type": "object" +}, +"InventoryVerification": { +"description": "Collection of information related to [inventory verification](https://support.google.com/merchants/answer/14684499?ref_topic=15145634&sjid=6892280366904591178-NC).", +"id": "InventoryVerification", +"properties": { +"contact": { +"description": "Required. The name of the contact for the inventory verification process.", +"type": "string" +}, +"contactEmail": { +"description": "Required. The email address of the contact for the inventory verification process.", +"type": "string" +}, +"contactState": { +"description": "Output only. The state of the contact verification.", +"enum": [ +"STATE_UNSPECIFIED", +"ACTIVE", +"FAILED", +"RUNNING", +"ACTION_REQUIRED" +], +"enumDescriptions": [ +"Default value. This value is unused.", +"The review process has concluded successfully. The reviewed item is active.", +"The review process failed.", +"The review process is running.", +"The review process is waiting for the merchant to take action." +], +"readOnly": true, +"type": "string" +}, +"state": { +"description": "Output only. The state of the inventory verification process.", +"enum": [ +"STATE_UNSPECIFIED", +"ACTION_REQUIRED", +"INACTIVE", +"RUNNING", +"SUCCEEDED", +"SUSPENDED" +], +"enumDescriptions": [ +"Default value. This value is unused.", +"When the merchant needs to initiate the inventory verification process. The next state is INACTIVE.", +"When the merchant is ready to request inventory verification.", +"The inventory verification process is running. If the merchant is rejected, the next state is INACTIVE.", +"The inventory verification process succeeded.", +"When merchant fails the inventory verification process and all attempts are exhausted." +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"ItemUpdatesAccountLevelSettings": { +"description": "Settings for the Automatic Item Updates.", +"id": "ItemUpdatesAccountLevelSettings", +"properties": { +"allowAvailabilityUpdates": { +"description": "If availability updates are enabled, any previous availability values get overwritten if Google finds an out-of-stock annotation on the offer's page. If additionally `allow_strict_availability_updates` field is set to true, values get overwritten if Google finds an in-stock annotation on the offer\u2019s page.", +"type": "boolean" +}, +"allowConditionUpdates": { +"description": "If condition updates are enabled, Google always updates item condition with the condition detected from the details of your product.", +"type": "boolean" +}, +"allowPriceUpdates": { +"description": "If price updates are enabled, Google always updates the active price with the crawled information.", +"type": "boolean" +}, +"allowStrictAvailabilityUpdates": { +"description": "If `allow_availability_updates` is enabled, items are automatically updated in all your Shopping target countries. By default, availability updates will only be applied to items that are 'out of stock' on your website but 'in stock' on Shopping. Set this to true to also update items that are 'in stock' on your website, but 'out of stock' on Google Shopping. In order for this field to have an effect, you must also set `allow_availability_updates`.", +"type": "boolean" +} +}, +"type": "object" +}, +"LatLng": { +"description": "An object that represents a latitude/longitude pair. This is expressed as a pair of doubles to represent degrees latitude and degrees longitude. Unless specified otherwise, this object must conform to the WGS84 standard. Values must be within normalized ranges.", +"id": "LatLng", +"properties": { +"latitude": { +"description": "The latitude in degrees. It must be in the range [-90.0, +90.0].", +"format": "double", +"type": "number" +}, +"longitude": { +"description": "The longitude in degrees. It must be in the range [-180.0, +180.0].", +"format": "double", +"type": "number" +} +}, +"type": "object" +}, +"LfpLink": { +"description": "Collection of information related to the LFP link.", +"id": "LfpLink", +"properties": { +"externalAccountId": { +"description": "Required. The account ID by which this merchant is known to the LFP provider.", +"type": "string" +}, +"lfpProvider": { +"description": "Required. The resource name of the LFP provider. Format: `lfpProviders/{lfp_provider}`", +"type": "string" +}, +"state": { +"description": "Output only. The state of the LFP link.", +"enum": [ +"STATE_UNSPECIFIED", +"ACTIVE", +"FAILED", +"RUNNING", +"ACTION_REQUIRED" +], +"enumDescriptions": [ +"Default value. This value is unused.", +"The review process has concluded successfully. The reviewed item is active.", +"The review process failed.", +"The review process is running.", +"The review process is waiting for the merchant to take action." +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"LfpProvider": { +"description": "Collection of information related to a Local Feed Partnership (LFP) provider.", +"id": "LfpProvider", +"properties": { +"displayName": { +"description": "The display name of the LFP provider.", +"type": "string" +}, +"name": { +"description": "Identifier. The resource name of the LFP provider. Format: `accounts/{account}/omnichannelSettings/{omnichannel_setting}/lfpProviders/{lfp_provider}`", +"type": "string" +}, +"regionCode": { +"description": "Output only. Region code defined by [CLDR](https://cldr.unicode.org/).", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"LinkGbpAccountRequest": { +"description": "Request message for the LinkGbpAccount method.", +"id": "LinkGbpAccountRequest", +"properties": { +"gbpEmail": { +"description": "Required. The email address of the Business Profile account.", +"type": "string" +} +}, +"type": "object" +}, +"LinkGbpAccountResponse": { +"description": "Response message for the LinkGbpAccount method.", +"id": "LinkGbpAccountResponse", +"properties": { +"response": { +"$ref": "Empty", +"description": "Empty response." +} +}, +"type": "object" +}, +"LinkLfpProviderRequest": { +"description": "Request message for the LinkLfpProvider method.", +"id": "LinkLfpProviderRequest", +"properties": { +"externalAccountId": { +"description": "Required. The external account ID by which this merchant is known to the LFP provider.", +"type": "string" +} +}, +"type": "object" +}, +"LinkLfpProviderResponse": { +"description": "Response message for the LinkLfpProvider method.", +"id": "LinkLfpProviderResponse", +"properties": { +"response": { +"$ref": "Empty", +"description": "Empty response." +} +}, +"type": "object" +}, +"ListAccountIssuesResponse": { +"description": "Response message for the `ListAccountIssues` method.", +"id": "ListAccountIssuesResponse", +"properties": { +"accountIssues": { +"description": "The issues from the specified account.", +"items": { +"$ref": "AccountIssue" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.", +"type": "string" +} +}, +"type": "object" +}, +"ListAccountRelationshipsResponse": { +"description": "Response after trying to list account relationships.", +"id": "ListAccountRelationshipsResponse", +"properties": { +"accountRelationships": { +"description": "The account relationships that match your filter.", +"items": { +"$ref": "AccountRelationship" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A page token. You can send the `page_token` to get the next page. Only included in the `list` response if there are more pages.", +"type": "string" +} +}, +"type": "object" +}, +"ListAccountServicesResponse": { +"description": "Response after trying to list account services.", +"id": "ListAccountServicesResponse", +"properties": { +"accountServices": { +"description": "The account services that match your filter.", +"items": { +"$ref": "AccountService" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A page token. You can send the `page_token` to get the next page. Only included in the `list` response if there are more pages.", +"type": "string" +} +}, +"type": "object" +}, +"ListAccountsResponse": { +"description": "Response message for the `accounts.list` method.", +"id": "ListAccountsResponse", +"properties": { +"accounts": { +"description": "The accounts matching the `ListAccountsRequest`.", +"items": { +"$ref": "Account" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.", +"type": "string" +} +}, +"type": "object" +}, +"ListGbpAccountsResponse": { +"description": "Response message for the ListGbpAccounts method.", +"id": "ListGbpAccountsResponse", +"properties": { +"gbpAccounts": { +"description": "The GBP accounts from the specified merchant in the specified country.", +"items": { +"$ref": "GbpAccount" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.", +"type": "string" +} +}, +"type": "object" +}, +"ListOmnichannelSettingsResponse": { +"description": "Response message for the ListOmnichannelSettings method.", +"id": "ListOmnichannelSettingsResponse", +"properties": { +"nextPageToken": { +"description": "A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.", +"type": "string" +}, +"omnichannelSettings": { +"description": "The omnichannel settings from the specified merchant.", +"items": { +"$ref": "OmnichannelSetting" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListOnlineReturnPoliciesResponse": { +"description": "Response message for the `ListOnlineReturnPolicies` method.", +"id": "ListOnlineReturnPoliciesResponse", +"properties": { +"nextPageToken": { +"description": "A token, which can be sent as `pageToken` to retrieve the next page. If this field is omitted, there are no subsequent pages.", +"type": "string" +}, +"onlineReturnPolicies": { +"description": "The retrieved return policies.", +"items": { +"$ref": "OnlineReturnPolicy" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListProgramsResponse": { +"description": "Response message for the ListPrograms method.", +"id": "ListProgramsResponse", +"properties": { +"nextPageToken": { +"description": "A token that can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.", +"type": "string" +}, +"programs": { +"description": "The programs for the given account.", +"items": { +"$ref": "Program" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListRegionsResponse": { +"description": "Response message for the `ListRegions` method.", +"id": "ListRegionsResponse", +"properties": { +"nextPageToken": { +"description": "A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.", +"type": "string" +}, +"regions": { +"description": "The regions from the specified business.", +"items": { +"$ref": "Region" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListSubAccountsResponse": { +"description": "Response message for the `ListSubAccounts` method.", +"id": "ListSubAccountsResponse", +"properties": { +"accounts": { +"description": "The accounts for which the given parent account is an aggregator.", +"items": { +"$ref": "Account" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.", +"type": "string" +} +}, +"type": "object" +}, +"ListUsersResponse": { +"description": "Response message for the `ListUsers` method.", +"id": "ListUsersResponse", +"properties": { +"nextPageToken": { +"description": "A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.", +"type": "string" +}, +"users": { +"description": "The users from the specified account.", +"items": { +"$ref": "User" +}, +"type": "array" +} +}, +"type": "object" +}, +"LocalCutoffTime": { +"description": "Time that local delivery ends for the day.", +"id": "LocalCutoffTime", +"properties": { +"hour": { +"description": "Hour local delivery orders must be placed by to process the same day.", +"format": "int64", +"type": "string" +}, +"minute": { +"description": "Minute local delivery orders must be placed by to process the same day.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"LocalListingManagement": { +"description": "`LocalListingManagement` payload.", +"id": "LocalListingManagement", +"properties": {}, +"type": "object" +}, +"LocationIdSet": { +"description": "A list of location ID sets. Must be non-empty. Can only be set if all other fields are not set.", +"id": "LocationIdSet", +"properties": { +"locationIds": { +"description": "Required. A non-empty list of [location IDs](https://developers.google.com/adwords/api/docs/appendix/geotargeting). They must all be of the same location type (For example, state).", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"LoyaltyProgram": { +"description": "[Loyalty program](https://support.google.com/merchants/answer/12922446) provided by a business.", +"id": "LoyaltyProgram", +"properties": { +"loyaltyProgramTiers": { +"description": "Optional. Loyalty program tier of this shipping service.", +"items": { +"$ref": "LoyaltyProgramTiers" +}, +"type": "array" +}, +"programLabel": { +"description": "This is the loyalty program label set in your loyalty program settings in Merchant Center. This sub-attribute allows Google to map your loyalty program to eligible offers.", +"type": "string" +} +}, +"type": "object" +}, +"LoyaltyProgramTiers": { +"description": "Subset of a business's loyalty program.", +"id": "LoyaltyProgramTiers", +"properties": { +"tierLabel": { +"description": "The tier label [tier_label] sub-attribute differentiates offer level benefits between each tier. This value is also set in your program settings in Merchant Center, and is required for data source changes even if your loyalty program only has 1 tier.", +"type": "string" +} +}, +"type": "object" +}, +"MinimumOrderValueTable": { +"description": "Table of per store minimum order values for the pickup fulfillment type.", +"id": "MinimumOrderValueTable", +"properties": { +"storeCodeSetWithMovs": { +"description": "Required. A list of store code sets sharing the same minimum order value (MOV). At least two sets are required and the last one must be empty, which signifies 'MOV for all other stores'. Each store code can only appear once across all the sets. All prices within a service must have the same currency.", +"items": { +"$ref": "StoreCodeSetWithMov" +}, +"type": "array" +} +}, +"type": "object" +}, +"OmnichannelSetting": { +"description": "Collection of information related to the omnichannel settings of a merchant.", +"id": "OmnichannelSetting", +"properties": { +"about": { +"$ref": "About", +"description": "Optional. The about page URI and state for this country." +}, +"inStock": { +"$ref": "InStock", +"description": "Optional. The InStock URI and state for this country." +}, +"inventoryVerification": { +"$ref": "InventoryVerification", +"description": "Optional. The inventory verification contact and state for this country." +}, +"lfpLink": { +"$ref": "LfpLink", +"description": "Output only. The established link to a LFP provider.", +"readOnly": true +}, +"lsfType": { +"description": "Required. The Local Store Front type for this country.", +"enum": [ +"LSF_TYPE_UNSPECIFIED", +"GHLSF", +"MHLSF_BASIC", +"MHLSF_FULL" +], +"enumDescriptions": [ +"Default value. This value is unused.", +"Google-Hosted Local Store Front. Check the [HC article](https://support.google.com/merchants/answer/14869424) for more details.", +"Merchant-Hosted Local Store Front Basic. Check the [HC article](https://support.google.com/merchants/answer/14615867) for more details.", +"Merchant-Hosted Local Store Front Full. Check the [HC article](https://support.google.com/merchants/answer/14617076) for more details." +], +"type": "string" +}, +"name": { +"description": "Identifier. The resource name of the omnichannel setting. Format: `accounts/{account}/omnichannelSettings/{omnichannel_setting}`", +"type": "string" +}, +"odo": { +"$ref": "OnDisplayToOrder", +"description": "Optional. The On Display to Order (ODO) policy URI and state for this country." +}, +"pickup": { +"$ref": "Pickup", +"description": "Optional. The Pickup URI and state for this country." +}, +"regionCode": { +"description": "Required. Immutable. Region code defined by [CLDR](https://cldr.unicode.org/). Must be provided in the Create method, and is immutable.", +"type": "string" +} +}, +"type": "object" +}, +"OnDisplayToOrder": { +"description": "Collection of information related to the on display to order ([ODO](https://support.google.com/merchants/answer/14615056?ref_topic=15145747&sjid=6892280366904591178-NC)).", +"id": "OnDisplayToOrder", +"properties": { +"state": { +"description": "Output only. The state of the URI.", +"enum": [ +"STATE_UNSPECIFIED", +"ACTIVE", +"FAILED", +"RUNNING", +"ACTION_REQUIRED" +], +"enumDescriptions": [ +"Default value. This value is unused.", +"The review process has concluded successfully. The reviewed item is active.", +"The review process failed.", +"The review process is running.", +"The review process is waiting for the merchant to take action." +], +"readOnly": true, +"type": "string" +}, +"uri": { +"description": "Required. The on display to order (ODO) policy URI.", +"type": "string" +} +}, +"type": "object" +}, +"OnlineReturnPolicy": { +"description": "[Online return policy](https://support.google.com/merchants/answer/10220642) object. This is currently used to represent return policies for ads and free listings programs.", +"id": "OnlineReturnPolicy", +"properties": { +"acceptDefectiveOnly": { +"description": "Optional. This field specifies if business only accepts defective products for returns.", +"type": "boolean" +}, +"acceptExchange": { +"description": "Optional. This field specifies if business allows customers to exchange products.", +"type": "boolean" +}, +"countries": { +"description": "Required. Immutable. The countries of sale where the return policy applies. The values must be a valid 2 letter ISO 3166 code.", +"items": { +"type": "string" +}, +"type": "array" +}, +"itemConditions": { +"description": "Optional. The item conditions accepted for returns must not be empty unless the type of return policy is 'noReturns'.", +"items": { +"enum": [ +"ITEM_CONDITION_UNSPECIFIED", +"NEW", +"USED" +], +"enumDescriptions": [ +"Default value. This value is unused.", +"New.", +"Used." +], +"type": "string" +}, +"type": "array" +}, +"label": { +"description": "Optional. Immutable. This field represents the unique user-defined label of the return policy for the given country. It is important to note that the same label cannot be used in different return policies for the same country. If not given, policies will be automatically treated as the 'default' for the country. When using label, you are creating an exception policy in that country to assign a custom return policy to certain product groups, follow the instructions provided in the [Return policy label] (https://support.google.com/merchants/answer/9445425). The label can contain up to 50 characters.", +"type": "string" +}, +"name": { +"description": "Identifier. The name of the `OnlineReturnPolicy` resource. Format: `accounts/{account}/onlineReturnPolicies/{return_policy}`", +"type": "string" +}, +"policy": { +"$ref": "Policy", +"description": "Optional. The return policy." +}, +"processRefundDays": { +"description": "Optional. The field specifies the number of days it takes for business to process refunds.", +"format": "int32", +"type": "integer" +}, +"restockingFee": { +"$ref": "RestockingFee", +"description": "Optional. The restocking fee that applies to all return reason categories. This would be treated as a free restocking fee if the value is not set." +}, +"returnLabelSource": { +"description": "Optional. The field specifies the return label source.", +"enum": [ +"RETURN_LABEL_SOURCE_UNSPECIFIED", +"DOWNLOAD_AND_PRINT", +"IN_THE_PACKAGE", +"CUSTOMER_RESPONSIBILITY" +], +"enumDescriptions": [ +"Default value. This value is unused.", +"Download and print.", +"Label include in the package.", +"Customer to provide." +], +"type": "string" +}, +"returnMethods": { +"description": "Optional. The return methods of how customers can return an item. This value is required to not be empty unless the type of return policy is noReturns.", +"items": { +"enum": [ +"RETURN_METHOD_UNSPECIFIED", +"BY_MAIL", +"IN_STORE", +"AT_A_KIOSK" +], +"enumDescriptions": [ +"Default value. This value is unused.", +"Return by mail.", +"Return in store.", +"Return at a kiosk." +], +"type": "string" +}, +"type": "array" +}, +"returnPolicyId": { +"description": "Output only. Return policy ID generated by Google.", +"readOnly": true, +"type": "string" +}, +"returnPolicyUri": { +"description": "Required. The return policy uri. This can used by Google to do a sanity check for the policy. It must be a valid URL.", +"type": "string" +}, +"returnShippingFee": { +"$ref": "ReturnShippingFee", +"description": "Optional. The return shipping fee. Should be set only when customer need to download and print the return label." +}, +"seasonalOverrides": { +"description": "Optional. Overrides to the general policy for orders placed during a specific set of time intervals.", +"items": { +"$ref": "SeasonalOverride" +}, +"type": "array" +} +}, +"type": "object" +}, +"PhoneNumber": { +"description": "An object representing a phone number, suitable as an API wire format. This representation: - should not be used for locale-specific formatting of a phone number, such as \"+1 (650) 253-0000 ext. 123\" - is not designed for efficient storage - may not be suitable for dialing - specialized libraries (see references) should be used to parse the number for that purpose To do something meaningful with this number, such as format it for various use-cases, convert it to an `i18n.phonenumbers.PhoneNumber` object first. For instance, in Java this would be: com.google.type.PhoneNumber wireProto = com.google.type.PhoneNumber.newBuilder().build(); com.google.i18n.phonenumbers.Phonenumber.PhoneNumber phoneNumber = PhoneNumberUtil.getInstance().parse(wireProto.getE164Number(), \"ZZ\"); if (!wireProto.getExtension().isEmpty()) { phoneNumber.setExtension(wireProto.getExtension()); } Reference(s): - https://github.com/google/libphonenumber", +"id": "PhoneNumber", +"properties": { +"e164Number": { +"description": "The phone number, represented as a leading plus sign ('+'), followed by a phone number that uses a relaxed ITU E.164 format consisting of the country calling code (1 to 3 digits) and the subscriber number, with no additional spaces or formatting. For example: - correct: \"+15552220123\" - incorrect: \"+1 (555) 222-01234 x123\" The ITU E.164 format limits the latter to 12 digits, but in practice not all countries respect that, so we relax that restriction here. National-only numbers are not allowed. References: - https://www.itu.int/rec/T-REC-E.164-201011-I - https://en.wikipedia.org/wiki/E.164. - https://en.wikipedia.org/wiki/List_of_country_calling_codes", +"type": "string" +}, +"extension": { +"description": "The phone number's extension. The extension is not standardized in ITU recommendations, except for being defined as a series of numbers with a maximum length of 40 digits. Other than digits, some other dialing characters such as ',' (indicating a wait) or '#' may be stored here. Note that no regions currently use extensions with short codes, so this field is normally only set in conjunction with an E.164 number. It is held separately from the E.164 number to allow for short code extensions in the future.", +"type": "string" +}, +"shortCode": { +"$ref": "ShortCode", +"description": "A short code. Reference(s): - https://wikipedia.org/wiki/Short_code" +} +}, +"type": "object" +}, +"Pickup": { +"description": "Collection of information related to Pickup.", +"id": "Pickup", +"properties": { +"state": { +"description": "Output only. The state of the pickup serving.", +"enum": [ +"STATE_UNSPECIFIED", +"ACTIVE", +"FAILED", +"RUNNING", +"ACTION_REQUIRED" +], +"enumDescriptions": [ +"Default value. This value is unused.", +"The review process has concluded successfully. The reviewed item is active.", +"The review process failed.", +"The review process is running.", +"The review process is waiting for the merchant to take action." +], +"readOnly": true, +"type": "string" +}, +"uri": { +"description": "Required. Pickup product page URI. It is only used for the review of pickup serving. This URI domain should match with the business's homepage.", +"type": "string" +} +}, +"type": "object" +}, +"Policy": { +"description": "The available policies.", +"id": "Policy", +"properties": { +"days": { +"description": "The number of days items can be returned after delivery, where one day is defined as 24 hours after the delivery timestamp. Required for `NUMBER_OF_DAYS_AFTER_DELIVERY` returns.", +"format": "int64", +"type": "string" +}, +"type": { +"description": "Policy type.", +"enum": [ +"TYPE_UNSPECIFIED", +"NUMBER_OF_DAYS_AFTER_DELIVERY", +"NO_RETURNS", +"LIFETIME_RETURNS" +], +"enumDescriptions": [ +"Default value. This value is unused.", +"The number of days within which a return is valid after delivery.", +"No returns.", +"Life time returns." +], +"type": "string" +} +}, +"type": "object" +}, +"PostalAddress": { +"description": "Represents a postal address, such as for postal delivery or payments addresses. With a postal address, a postal service can deliver items to a premise, P.O. box, or similar. A postal address is not intended to model geographical locations like roads, towns, or mountains. In typical usage, an address would be created by user input or from importing existing data, depending on the type of process. Advice on address input or editing: - Use an internationalization-ready address widget such as https://github.com/google/libaddressinput. - Users should not be presented with UI elements for input or editing of fields outside countries where that field is used. For more guidance on how to use this schema, see: https://support.google.com/business/answer/6397478.", +"id": "PostalAddress", +"properties": { +"addressLines": { +"description": "Unstructured address lines describing the lower levels of an address. Because values in `address_lines` do not have type information and may sometimes contain multiple values in a single field (for example, \"Austin, TX\"), it is important that the line order is clear. The order of address lines should be \"envelope order\" for the country or region of the address. In places where this can vary (for example, Japan), `address_language` is used to make it explicit (for example, \"ja\" for large-to-small ordering and \"ja-Latn\" or \"en\" for small-to-large). In this way, the most specific line of an address can be selected based on the language. The minimum permitted structural representation of an address consists of a `region_code` with all remaining information placed in the `address_lines`. It would be possible to format such an address very approximately without geocoding, but no semantic reasoning could be made about any of the address components until it was at least partially resolved. Creating an address only containing a `region_code` and `address_lines` and then geocoding is the recommended way to handle completely unstructured addresses (as opposed to guessing which parts of the address should be localities or administrative areas).", +"items": { +"type": "string" +}, +"type": "array" +}, +"administrativeArea": { +"description": "Optional. Highest administrative subdivision which is used for postal addresses of a country or region. For example, this can be a state, a province, an oblast, or a prefecture. For Spain, this is the province and not the autonomous community (for example, \"Barcelona\" and not \"Catalonia\"). Many countries don't use an administrative area in postal addresses. For example, in Switzerland, this should be left unpopulated.", +"type": "string" +}, +"languageCode": { +"description": "Optional. BCP-47 language code of the contents of this address (if known). This is often the UI language of the input form or is expected to match one of the languages used in the address' country/region, or their transliterated equivalents. This can affect formatting in certain countries, but is not critical to the correctness of the data and will never affect any validation or other non-formatting related operations. If this value is not known, it should be omitted (rather than specifying a possibly incorrect default). Examples: \"zh-Hant\", \"ja\", \"ja-Latn\", \"en\".", +"type": "string" +}, +"locality": { +"description": "Optional. Generally refers to the city or town portion of the address. Examples: US city, IT comune, UK post town. In regions of the world where localities are not well defined or do not fit into this structure well, leave `locality` empty and use `address_lines`.", +"type": "string" +}, +"organization": { +"description": "Optional. The name of the organization at the address.", +"type": "string" +}, +"postalCode": { +"description": "Optional. Postal code of the address. Not all countries use or require postal codes to be present, but where they are used, they may trigger additional validation with other parts of the address (for example, state or zip code validation in the United States).", +"type": "string" +}, +"recipients": { +"description": "Optional. The recipient at the address. This field may, under certain circumstances, contain multiline information. For example, it might contain \"care of\" information.", +"items": { +"type": "string" +}, +"type": "array" +}, +"regionCode": { +"description": "Required. CLDR region code of the country/region of the address. This is never inferred and it is up to the user to ensure the value is correct. See https://cldr.unicode.org/ and https://www.unicode.org/cldr/charts/30/supplemental/territory_information.html for details. Example: \"CH\" for Switzerland.", +"type": "string" +}, +"revision": { +"description": "The schema revision of the `PostalAddress`. This must be set to 0, which is the latest revision. All new revisions **must** be backward compatible with old revisions.", +"format": "int32", +"type": "integer" +}, +"sortingCode": { +"description": "Optional. Additional, country-specific, sorting code. This is not used in most regions. Where it is used, the value is either a string like \"CEDEX\", optionally followed by a number (for example, \"CEDEX 7\"), or just a number alone, representing the \"sector code\" (Jamaica), \"delivery area indicator\" (Malawi) or \"post office indicator\" (C\u00f4te d'Ivoire).", +"type": "string" +}, +"sublocality": { +"description": "Optional. Sublocality of the address. For example, this can be a neighborhood, borough, or district.", +"type": "string" +} +}, +"type": "object" +}, +"PostalCodeArea": { +"description": "A list of postal codes that defines the region area. Note: All regions defined using postal codes are accessible through the account's `ShippingSettings.postalCodeGroups` resource.", +"id": "PostalCodeArea", +"properties": { +"postalCodes": { +"description": "Required. A range of postal codes.", +"items": { +"$ref": "PostalCodeRange" +}, +"type": "array" +}, +"regionCode": { +"description": "Required. [CLDR territory code](http://www.unicode.org/repos/cldr/tags/latest/common/main/en.xml) or the country the postal code group applies to.", +"type": "string" +} +}, +"type": "object" +}, +"PostalCodeRange": { +"description": "A range of postal codes that defines the region area.", +"id": "PostalCodeRange", +"properties": { +"begin": { +"description": "Required. A postal code or a pattern of the form prefix* denoting the inclusive lower bound of the range defining the area. Examples values: `94108`, `9410*`, `9*`.", +"type": "string" +}, +"end": { +"description": "Optional. A postal code or a pattern of the form `prefix*` denoting the inclusive upper bound of the range defining the area. It must have the same length as postalCodeRangeBegin: if postalCodeRangeBegin is a postal code then postalCodeRangeEnd must be a postal code too; if postalCodeRangeBegin is a pattern then postalCodeRangeEnd must be a pattern with the same prefix length. Optional: if not set, then the area is defined as being all the postal codes matching postalCodeRangeBegin.", +"type": "string" +} +}, +"type": "object" +}, +"Price": { +"description": "The price represented as a number and currency.", +"id": "Price", +"properties": { +"amountMicros": { +"description": "The price represented as a number in micros (1 million micros is an equivalent to one's currency standard unit, for example, 1 USD = 1000000 micros).", +"format": "int64", +"type": "string" +}, +"currencyCode": { +"description": "The currency of the price using three-letter acronyms according to [ISO 4217](http://en.wikipedia.org/wiki/ISO_4217).", +"type": "string" +} +}, +"type": "object" +}, +"ProductChange": { +"description": "The change that happened to the product including old value, new value, country code as the region code and reporting context.", +"id": "ProductChange", +"properties": { +"newValue": { +"description": "The new value of the changed resource or attribute. If empty, it means that the product was deleted. Will have one of these values : (`approved`, `pending`, `disapproved`, ``)", +"type": "string" +}, +"oldValue": { +"description": "The old value of the changed resource or attribute. If empty, it means that the product was created. Will have one of these values : (`approved`, `pending`, `disapproved`, ``)", +"type": "string" +}, +"regionCode": { +"description": "Countries that have the change (if applicable). Represented in the ISO 3166 format.", +"type": "string" +}, +"reportingContext": { +"description": "Reporting contexts that have the change (if applicable). Currently this field supports only (`SHOPPING_ADS`, `LOCAL_INVENTORY_ADS`, `YOUTUBE_SHOPPING`, `YOUTUBE_CHECKOUT`, `YOUTUBE_AFFILIATE`) from the enum value [ReportingContextEnum](/merchant/api/reference/rest/Shared.Types/ReportingContextEnum)", +"enum": [ +"REPORTING_CONTEXT_ENUM_UNSPECIFIED", +"SHOPPING_ADS", +"DISCOVERY_ADS", +"DEMAND_GEN_ADS", +"DEMAND_GEN_ADS_DISCOVER_SURFACE", +"VIDEO_ADS", +"DISPLAY_ADS", +"LOCAL_INVENTORY_ADS", +"VEHICLE_INVENTORY_ADS", +"FREE_LISTINGS", +"FREE_LISTINGS_UCP_CHECKOUT", +"FREE_LOCAL_LISTINGS", +"FREE_LOCAL_VEHICLE_LISTINGS", +"YOUTUBE_AFFILIATE", +"YOUTUBE_SHOPPING", +"CLOUD_RETAIL", +"LOCAL_CLOUD_RETAIL", +"PRODUCT_REVIEWS", +"MERCHANT_REVIEWS", +"YOUTUBE_CHECKOUT" +], +"enumDeprecated": [ +false, +false, +true, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false +], +"enumDescriptions": [ +"Not specified.", +"[Shopping ads](https://support.google.com/merchants/answer/6149970).", +"Deprecated: Use `DEMAND_GEN_ADS` instead. [Discovery and Demand Gen ads](https://support.google.com/merchants/answer/13389785).", +"[Demand Gen ads](https://support.google.com/merchants/answer/13389785).", +"[Demand Gen ads on Discover surface](https://support.google.com/merchants/answer/13389785).", +"[Video ads](https://support.google.com/google-ads/answer/6340491).", +"[Display ads](https://support.google.com/merchants/answer/6069387).", +"[Local inventory ads](https://support.google.com/merchants/answer/3271956).", +"[Vehicle inventory ads](https://support.google.com/merchants/answer/11544533).", +"[Free product listings](https://support.google.com/merchants/answer/9199328).", +"[Free product listings on UCP checkout](https://developers.google.com/merchant/ucp).", +"[Free local product listings](https://support.google.com/merchants/answer/9825611).", +"[Free local vehicle listings](https://support.google.com/merchants/answer/11544533).", +"[Youtube Affiliate](https://support.google.com/youtube/answer/13376398).", +"[YouTube Shopping](https://support.google.com/merchants/answer/13478370).", +"[Cloud retail](https://cloud.google.com/solutions/retail).", +"[Local cloud retail](https://cloud.google.com/solutions/retail).", +"[Product Reviews](https://support.google.com/merchants/answer/14620732).", +"[Merchant Reviews](https://developers.google.com/merchant-review-feeds).", +"YouTube Checkout ." +], +"type": "string" +} +}, +"type": "object" +}, +"ProductStatusChangeMessage": { +"description": "The message that the merchant will receive to notify about product status change event", +"id": "ProductStatusChangeMessage", +"properties": { +"account": { +"description": "The target account that owns the entity that changed. Format : `accounts/{merchant_id}`", +"type": "string" +}, +"attribute": { +"description": "The attribute in the resource that changed, in this case it will be always `Status`.", +"enum": [ +"ATTRIBUTE_UNSPECIFIED", +"STATUS" +], +"enumDescriptions": [ +"Unspecified attribute", +"Status of the changed entity" +], +"type": "string" +}, +"changes": { +"description": "A message to describe the change that happened to the product", +"items": { +"$ref": "ProductChange" +}, +"type": "array" +}, +"eventTime": { +"description": "The time at which the event was generated. If you want to order the notification messages you receive you should rely on this field not on the order of receiving the notifications.", +"format": "google-datetime", +"type": "string" +}, +"expirationTime": { +"description": "Optional. The product expiration time. This field will not be set if the notification is sent for a product deletion event.", +"format": "google-datetime", +"type": "string" +}, +"managingAccount": { +"description": "The account that manages the merchant's account. can be the same as merchant id if it is standalone account. Format : `accounts/{service_provider_id}`", +"type": "string" +}, +"resource": { +"description": "The product name. Format: `accounts/{account}/products/{product}`", +"type": "string" +}, +"resourceId": { +"description": "The product id.", +"type": "string" +}, +"resourceType": { +"description": "The resource that changed, in this case it will always be `Product`.", +"enum": [ +"RESOURCE_UNSPECIFIED", +"PRODUCT" +], +"enumDescriptions": [ +"Unspecified resource", +"Resource type : product" +], +"type": "string" +} +}, +"type": "object" +}, +"ProductsManagement": { +"description": "`ProductsManagement` payload.", +"id": "ProductsManagement", +"properties": {}, +"type": "object" +}, +"Program": { +"description": "Defines participation in a given program for the specified account. Programs provide a mechanism for adding functionality to a Merchant Center accounts. A typical example of this is the [Free product listings](https://support.google.com/merchants/answer/13889434) program, which enables products from a business's store to be shown across Google for free. The following list is the available set of program resource IDs accessible through the API: * `checkout` * `free-listings` * `product-ratings` * `shopping-ads` * `youtube-shopping-checkout`", +"id": "Program", +"properties": { +"activeRegionCodes": { +"description": "Output only. The regions in which the account is actively participating in the program. Active regions are defined as those where all program requirements affecting the regions have been met. Region codes are defined by [CLDR](https://cldr.unicode.org/). This is either a country where the program applies specifically to that country or `001` when the program applies globally.", +"items": { +"type": "string" +}, +"readOnly": true, +"type": "array" +}, +"documentationUri": { +"description": "Output only. The URL of a Merchant Center help page describing the program.", +"readOnly": true, +"type": "string" +}, +"name": { +"description": "Identifier. The resource name of the program. Format: `accounts/{account}/programs/{program}`", +"type": "string" +}, +"state": { +"description": "Output only. The participation state of the account in the program.", +"enum": [ +"STATE_UNSPECIFIED", +"NOT_ELIGIBLE", +"ELIGIBLE", +"ENABLED" +], +"enumDescriptions": [ +"Default value. This value is unused.", +"The account is not eligible to participate in the program.", +"The account is eligible to participate in the program.", +"The program is enabled for the account." +], +"readOnly": true, +"type": "string" +}, +"unmetRequirements": { +"description": "Output only. The requirements that the account has not yet satisfied that are affecting participation in the program.", +"items": { +"$ref": "Requirement" +}, +"readOnly": true, +"type": "array" +} +}, +"type": "object" +}, +"ProposeAccountServiceRequest": { +"description": "Request to propose an account service.", +"id": "ProposeAccountServiceRequest", +"properties": { +"accountService": { +"$ref": "AccountService", +"description": "Required. The account service to propose." +}, +"provider": { +"description": "Required. The provider of the service. Either the reference to an account such as `providers/123` or a well-known service provider (one of `providers/GOOGLE_ADS` or `providers/GOOGLE_BUSINESS_PROFILE`).", +"type": "string" +} +}, +"type": "object" +}, +"RadiusArea": { +"description": "A radius area that defines the region area.", +"id": "RadiusArea", +"properties": { +"latLng": { +"$ref": "LatLng", +"description": "Required. The center of the radius area. It represents a latitude/longitude pair in decimal degrees format." +}, +"radius": { +"description": "Required. The radius distance of the area.", +"format": "double", +"type": "number" +}, +"radiusUnits": { +"description": "Optional. The unit of the radius.", +"enum": [ +"RADIUS_UNITS_UNSPECIFIED", +"MILES", +"KILOMETERS" +], +"enumDescriptions": [ +"Unused default value", +"The distance is measured in miles.", +"The distance is measured in kilometers." +], +"type": "string" +}, +"regionCode": { +"description": "Required. [CLDR territory code](http://www.unicode.org/repos/cldr/tags/latest/common/main/en.xml) or the country the radius area applies to.", +"type": "string" +} +}, +"type": "object" +}, +"RateGroup": { +"description": "Shipping rate group definitions. Only the last one is allowed to have an empty `applicable_shipping_labels`, which means \"everything else\". The other `applicable_shipping_labels` must not overlap.", +"id": "RateGroup", +"properties": { +"applicableShippingLabels": { +"description": "Required. A list of [shipping labels](https://support.google.com/merchants/answer/6324504) defining the products to which this rate group applies to. This is a disjunction: only one of the labels has to match for the rate group to apply. May only be empty for the last rate group of a service.", +"items": { +"type": "string" +}, +"type": "array" +}, +"carrierRates": { +"description": "Optional. A list of carrier rates that can be referred to by `main_table` or `single_value`.", +"items": { +"$ref": "CarrierRate" +}, +"type": "array" +}, +"mainTable": { +"$ref": "Table", +"description": "A table defining the rate group, when `single_value` is not expressive enough. Can only be set if `single_value` is not set." +}, +"name": { +"description": "Optional. Name of the rate group. If set has to be unique within shipping service.", +"type": "string" +}, +"singleValue": { +"$ref": "Value", +"description": "The value of the rate group (For example flat rate $10). Can only be set if `main_table` and `subtables` are not set." +}, +"subtables": { +"description": "Optional. A list of subtables referred to by `main_table`. Can only be set if `main_table` is set.", +"items": { +"$ref": "Table" +}, +"type": "array" +} +}, +"type": "object" +}, +"Region": { +"description": "Represents a geographic region that you can use as a target with both the `RegionalInventory` and `ShippingSettings` services. You can define regions as collections of either postal codes, radius areas or, in some countries, using predefined geotargets. A region must be defined by specifying exactly one of `postal_code_area`, `geotarget_area`, or `radius_area`. For more information, see [Set up regions ](https://support.google.com/merchants/answer/7410946#zippy=%2Ccreate-a-new-region) for more information.", +"id": "Region", +"properties": { +"displayName": { +"description": "Optional. The display name of the region.", +"type": "string" +}, +"geotargetArea": { +"$ref": "GeoTargetArea", +"description": "Optional. A list of geotargets that defines the region area." +}, +"name": { +"description": "Identifier. The resource name of the region. Format: `accounts/{account}/regions/{region}`", +"type": "string" +}, +"postalCodeArea": { +"$ref": "PostalCodeArea", +"description": "Optional. A list of postal codes that defines the region area." +}, +"radiusArea": { +"$ref": "RadiusArea", +"description": "Optional. A radius area that defines the region area." +}, +"regionalInventoryEligible": { +"description": "Output only. Indicates if the region is eligible for use in the Regional Inventory configuration.", +"readOnly": true, +"type": "boolean" +}, +"shippingEligible": { +"description": "Output only. Indicates if the region is eligible for use in the Shipping Services configuration.", +"readOnly": true, +"type": "boolean" +} +}, +"type": "object" +}, +"RegisterGcpRequest": { +"description": "Request message for the RegisterGCP method.", +"id": "RegisterGcpRequest", +"properties": { +"developerEmail": { +"description": "Immutable. If the developer email provided is associated with a user in the merchant account provided, the user will be updated to have \"API developer\" access type and the email preference corresponding to that user will be updated to have the new \"API notifications\" preference. If the developer email provided is not associated with any user we will just add it as a contact. The email preference corresponding to that contact will have the new \"API notifications\" preference. Make sure the email used is associated with a Google Account (Google Workspace account or Gmail account) and is not a service account as service accounts can't receive emails.", +"type": "string" +} +}, +"type": "object" +}, +"RejectAccountServiceRequest": { +"description": "Request to reject an account service.", +"id": "RejectAccountServiceRequest", +"properties": {}, +"type": "object" +}, +"RequestInventoryVerificationRequest": { +"description": "Request message for the RequestInventoryVerification method.", +"id": "RequestInventoryVerificationRequest", +"properties": {}, +"type": "object" +}, +"RequestInventoryVerificationResponse": { +"description": "Response message for the RequestInventoryVerification method.", +"id": "RequestInventoryVerificationResponse", +"properties": { +"omnichannelSetting": { +"$ref": "OmnichannelSetting", +"description": "The omnichannel setting that was updated." +} +}, +"type": "object" +}, +"Required": { +"description": "Describes the terms of service which are required to be accepted.", +"id": "Required", +"properties": { +"termsOfService": { +"description": "Required. The `TermsOfService` that need to be accepted.", +"type": "string" +}, +"tosFileUri": { +"description": "Required. Full URL to the terms of service file. This field is the same as `TermsOfService.file_uri`, it is added here for convenience only.", +"type": "string" +} +}, +"type": "object" +}, +"Requirement": { +"description": "Defines a requirement specified for participation in the program.", +"id": "Requirement", +"properties": { +"affectedRegionCodes": { +"description": "Output only. The regions that are currently affected by this requirement not being met. Region codes are defined by [CLDR](https://cldr.unicode.org/). This is either a country where the program applies specifically to that country or `001` when the program applies globally.", +"items": { +"type": "string" +}, +"readOnly": true, +"type": "array" +}, +"documentationUri": { +"description": "Output only. The URL of a help page describing the requirement.", +"readOnly": true, +"type": "string" +}, +"title": { +"description": "Output only. Name of the requirement.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"RestockingFee": { +"description": "The restocking fee. This can be a flat fee or a micro percent.", +"id": "RestockingFee", +"properties": { +"fixedFee": { +"$ref": "Price", +"description": "Fixed restocking fee." +}, +"microPercent": { +"description": "Percent of total price in micros. 15,000,000 means 15% of the total price would be charged.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"ReturnShippingFee": { +"description": "The return shipping fee. This can either be a fixed fee or a boolean to indicate that the customer pays the actual shipping cost.", +"id": "ReturnShippingFee", +"properties": { +"fixedFee": { +"$ref": "Price", +"description": "Fixed return shipping fee amount. This value is only applicable when type is `FIXED`. We will treat the return shipping fee as free if type is `FIXED` and this value is not set." +}, +"type": { +"description": "Required. Type of return shipping fee.", +"enum": [ +"TYPE_UNSPECIFIED", +"FIXED", +"CUSTOMER_PAYING_ACTUAL_FEE" +], +"enumDescriptions": [ +"Default value. This value is unused.", +"The return shipping fee is a fixed value.", +"Customers will pay the actual return shipping fee." +], +"type": "string" +} +}, +"type": "object" +}, +"Row": { +"description": "Include a list of cells.", +"id": "Row", +"properties": { +"cells": { +"description": "Required. The list of cells that constitute the row. Must have the same length as `columnHeaders` for two-dimensional tables, a length of 1 for one-dimensional tables.", +"items": { +"$ref": "Value" +}, +"type": "array" +} +}, +"type": "object" +}, +"SeasonalOverride": { +"id": "SeasonalOverride", +"properties": { +"endDate": { +"$ref": "Date", +"description": "Required. seasonal override end date (inclusive)." +}, +"label": { +"description": "Required. Display name of this seasonal override in Merchant Center.", +"type": "string" +}, +"returnDays": { +"description": "Number of days (from the delivery date) that the product can be returned.", +"format": "int32", +"type": "integer" +}, +"returnUntilDate": { +"$ref": "Date", +"description": "Fixed end date until which the product can be returned." +}, +"startDate": { +"$ref": "Date", +"description": "Required. Defines the date range when this seasonal override applies. Both start_date and end_date are inclusive. The dates of the seasonal overrides should not overlap." +} +}, +"type": "object" +}, +"Service": { +"description": "Shipping service.", +"id": "Service", +"properties": { +"active": { +"description": "Required. A boolean exposing the active status of the shipping service.", +"type": "boolean" +}, +"currencyCode": { +"description": "Required. The CLDR code of the currency to which this service applies. Must match that of the prices in rate groups.", +"type": "string" +}, +"deliveryCountries": { +"description": "Required. The CLDR territory code of the countries to which the service applies.", +"items": { +"type": "string" +}, +"type": "array" +}, +"deliveryTime": { +"$ref": "DeliveryTime", +"description": "Required. Time spent in various aspects from order to the delivery of the product." +}, +"loyaltyPrograms": { +"description": "Optional. Loyalty programs that this shipping service is limited to.", +"items": { +"$ref": "LoyaltyProgram" +}, +"type": "array" +}, +"minimumOrderValue": { +"$ref": "Price", +"description": "Optional. Minimum order value for this service. If set, indicates that customers will have to spend at least this amount. All prices within a service must have the same currency. Cannot be set together with `minimum_order_value_table`." +}, +"minimumOrderValueTable": { +"$ref": "MinimumOrderValueTable", +"description": "Optional. Table of per store minimum order values for the pickup fulfillment type. Cannot be set together with `minimum_order_value`." +}, +"rateGroups": { +"description": "Optional. Shipping rate group definitions. Only the last one is allowed to have an empty `applicable_shipping_labels`, which means \"everything else\". The other `applicable_shipping_labels` must not overlap.", +"items": { +"$ref": "RateGroup" +}, +"type": "array" +}, +"serviceName": { +"description": "Required. Free-form name of the service. Must be unique within target account.", +"type": "string" +}, +"shipmentType": { +"description": "Optional. Type of locations this service ships orders to.", +"enum": [ +"SHIPMENT_TYPE_UNSPECIFIED", +"DELIVERY", +"LOCAL_DELIVERY", +"COLLECTION_POINT" +], +"enumDescriptions": [ +"This service did not specify shipment type.", +"This service ships orders to an address chosen by the customer.", +"This service ships orders to an address chosen by the customer. The order is shipped from a local store near by.", +"This service ships orders to an address chosen by the customer. The order is shipped from a collection point." +], +"type": "string" +}, +"storeConfig": { +"$ref": "StoreConfig", +"description": "A list of stores your products are delivered from. This is only valid for the local delivery shipment type." +} +}, +"type": "object" +}, +"SetAliasForRelationship": { +"description": "Set an alias for a relationship between a provider and the account to be created.", +"id": "SetAliasForRelationship", +"properties": { +"accountIdAlias": { +"description": "Required. The unique ID of this account in the provider's system. The value must be unique across all accounts on the platform for this provider.", +"type": "string" +}, +"provider": { +"description": "Required. The provider of the service. This is a reference to an account such as `providers/123` or `accounts/123`. The same provider must be specified in at least one of the `service` fields.", +"type": "string" +} +}, +"type": "object" +}, +"ShippingSettings": { +"description": "The Merchant Center account's [shipping settings](https://support.google.com/merchants/answer/6069284). The `ShippingSettings` resource lets you retrieve and update the shipping settings of your advanced account and all its associated sub-accounts.", +"id": "ShippingSettings", +"properties": { +"etag": { +"description": "Required. This field helps avoid async issues. It ensures that the shipping setting data doesn't change between the `get` call and the `insert` call. The user should follow these steps: 1. Set the etag field as an empty string for the initial shipping setting creation. 2. After the initial creation, call the `get` method to obtain an etag and the current shipping setting data before calling `insert`. 3. Modify the shipping setting information. 4. Call the `insert` method with the shipping setting information and the etag obtained in step 2. 5. If the shipping setting data changes between step 2 and step 4, the insert request will fail because the etag changes every time the shipping setting data changes. In this case, the user should repeat steps 2-4 with the new etag.", +"type": "string" +}, +"name": { +"description": "Identifier. The resource name of the shipping settings. Format: `accounts/{account}/shippingSettings`. For example, `accounts/123456/shippingSettings`.", +"type": "string" +}, +"services": { +"description": "Optional. The target account's list of services.", +"items": { +"$ref": "Service" +}, +"type": "array" +}, +"warehouses": { +"description": "Optional. A list of warehouses which can be referred to in `services`.", +"items": { +"$ref": "Warehouse" +}, +"type": "array" +} +}, +"type": "object" +}, +"ShortCode": { +"description": "An object representing a short code, which is a phone number that is typically much shorter than regular phone numbers and can be used to address messages in MMS and SMS systems, as well as for abbreviated dialing (For example \"Text 611 to see how many minutes you have remaining on your plan.\"). Short codes are restricted to a region and are not internationally dialable, which means the same short code can exist in different regions, with different usage and pricing, even if those regions share the same country calling code (For example: US and CA).", +"id": "ShortCode", +"properties": { +"number": { +"description": "Required. The short code digits, without a leading plus ('+') or country calling code. For example \"611\".", +"type": "string" +}, +"regionCode": { +"description": "Required. The BCP-47 region code of the location where calls to this short code can be made, such as \"US\" and \"BB\". Reference(s): - http://www.unicode.org/reports/tr35/#unicode_region_subtag", +"type": "string" +} +}, +"type": "object" +}, +"StoreCodeSetWithMov": { +"description": "A list of store code sets sharing the same minimum order value. At least two sets are required and the last one must be empty, which signifies 'MOV for all other stores'. Each store code can only appear once across all the sets. All prices within a service must have the same currency.", +"id": "StoreCodeSetWithMov", +"properties": { +"storeCodes": { +"description": "Optional. A list of unique store codes or empty for the catch all.", +"items": { +"type": "string" +}, +"type": "array" +}, +"value": { +"$ref": "Price", +"description": "The minimum order value for the given stores." +} +}, +"type": "object" +}, +"StoreConfig": { +"description": "A list of stores your products are delivered from. This is only valid for the local delivery shipment type.", +"id": "StoreConfig", +"properties": { +"cutoffConfig": { +"$ref": "CutoffConfig", +"description": "Configs related to local delivery ends for the day." +}, +"serviceRadius": { +"$ref": "Distance", +"description": "Maximum delivery radius. This is only required for the local delivery shipment type." +}, +"storeCodes": { +"description": "Optional. A list of store codes that provide local delivery. If empty, then `all_stores` must be true.", +"items": { +"type": "string" +}, +"type": "array" +}, +"storeServiceType": { +"description": "Indicates whether all stores, or selected stores, listed by this business provide local delivery.", +"enum": [ +"STORE_SERVICE_TYPE_UNSPECIFIED", +"ALL_STORES", +"SELECTED_STORES" +], +"enumDescriptions": [ +"Did not specify store service type.", +"Indicates whether all stores, current and future, listed by this business provide local delivery.", +"Indicates that only the stores listed in `store_codes` are eligible for local delivery." +], +"type": "string" +} +}, +"type": "object" +}, +"Table": { +"description": "A table defining the rate group, when `single_value` is not expressive enough.", +"id": "Table", +"properties": { +"columnHeaders": { +"$ref": "Headers", +"description": "Headers of the table's columns. Optional: if not set then the table has only one dimension." +}, +"name": { +"description": "Name of the table. Required for subtables, ignored for the main table.", +"type": "string" +}, +"rowHeaders": { +"$ref": "Headers", +"description": "Required. Headers of the table's rows." +}, +"rows": { +"description": "Required. The list of rows that constitute the table. Must have the same length as `row_headers`.", +"items": { +"$ref": "Row" +}, +"type": "array" +} +}, +"type": "object" +}, +"TermsOfService": { +"description": "The `TermsOfService` message represents a specific version of the terms of service that merchants must accept to access certain features or services. For more information, see [Terms of Service](https://support.google.com/merchants/answer/160173). This message is important for the onboarding process, ensuring that merchants agree to the necessary legal agreements for using the service. Merchants can retrieve the latest terms of service for a given `kind` and `region` through `RetrieveLatestTermsOfService`, and accept them as required through `AcceptTermsOfService`.", +"id": "TermsOfService", +"properties": { +"external": { +"description": "Whether this terms of service version is external. External terms of service versions can only be agreed through external processes and not directly by the merchant through UI or API.", +"type": "boolean" +}, +"fileUri": { +"description": "URI for terms of service file that needs to be displayed to signing users.", +"type": "string" +}, +"kind": { +"description": "The Kind this terms of service version applies to.", +"enum": [ +"TERMS_OF_SERVICE_KIND_UNSPECIFIED", +"MERCHANT_CENTER" +], +"enumDescriptions": [ +"Default value. This value is unused.", +"Merchant Center application." +], +"type": "string" +}, +"name": { +"description": "Identifier. The resource name of the terms of service version. Format: `termsOfService/{version}`", +"type": "string" +}, +"regionCode": { +"description": "Region code as defined by [CLDR](https://cldr.unicode.org/). This is either a country where the ToS applies specifically to that country or `001` when the same `TermsOfService` can be signed in any country. However note that when signing a ToS that applies globally we still expect that a specific country is provided (this should be merchant business country or program country of participation).", +"type": "string" +} +}, +"type": "object" +}, +"TermsOfServiceAgreementState": { +"description": "This resource represents the agreement state for a given account and terms of service kind. The state is as follows: * If the business has accepted a terms of service, `accepted` will be populated, otherwise it will be empty * If the business must sign a terms of service, `required` will be populated, otherwise it will be empty. Note that both `required` and `accepted` can be present. In this case the `accepted` terms of services will have an expiration date set in the `valid_until` field. The `required` terms of services need to be accepted before `valid_until` in order for the account to continue having a valid agreement. When accepting new terms of services we expect third-party providers to display the text associated with the given terms of service agreement (the url to the file containing the text is added in the Required message below as `tos_file_uri`). The actual acceptance of the terms of service is done by calling accept on the `TermsOfService` resource. `valid_until` field.", +"id": "TermsOfServiceAgreementState", +"properties": { +"accepted": { +"$ref": "Accepted", +"description": "Optional. The accepted terms of service of this kind and for the associated region_code" +}, +"name": { +"description": "Identifier. The resource name of the terms of service version. Format: `accounts/{account}/termsOfServiceAgreementState/{identifier}` The identifier format is: `{TermsOfServiceKind}-{country}` For example, an identifier could be: `MERCHANT_CENTER-EU` or `MERCHANT_CENTER-US`.", +"type": "string" +}, +"regionCode": { +"description": "Required. Region code as defined by https://cldr.unicode.org/. This is the country the current state applies to.", +"type": "string" +}, +"required": { +"$ref": "Required", +"description": "Optional. The required terms of service" +}, +"termsOfServiceKind": { +"description": "Required. Terms of Service kind associated with the particular version.", +"enum": [ +"TERMS_OF_SERVICE_KIND_UNSPECIFIED", +"MERCHANT_CENTER" +], +"enumDescriptions": [ +"Default value. This value is unused.", +"Merchant Center application." +], +"type": "string" +} +}, +"type": "object" +}, +"TimeZone": { +"description": "Represents a time zone from the [IANA Time Zone Database](https://www.iana.org/time-zones).", +"id": "TimeZone", +"properties": { +"id": { +"description": "IANA Time Zone Database time zone. For example \"America/New_York\".", +"type": "string" +}, +"version": { +"description": "Optional. IANA Time Zone Database version number. For example \"2019a\".", +"type": "string" +} +}, +"type": "object" +}, +"TransitTable": { +"description": "Transit time table, number of business days spent in transit based on row and column dimensions. Either `min_transit_days`, `max_transit_days` or `transit_time_table` can be set, but not both.", +"id": "TransitTable", +"properties": { +"postalCodeGroupNames": { +"description": "Required. A list of region names Region.name . The last value can be `\"all other locations\"`. Example: `[\"zone 1\", \"zone 2\", \"all other locations\"]`. The referred postal code groups must match the delivery country of the service.", +"items": { +"type": "string" +}, +"type": "array" +}, +"rows": { +"description": "Required. If there's only one dimension set of `postal_code_group_names` or `transit_time_labels`, there are multiple rows each with one value for that dimension. If there are two dimensions, each row corresponds to a `postal_code_group_names`, and columns (values) to a `transit_time_labels`.", +"items": { +"$ref": "TransitTimeRow" +}, +"type": "array" +}, +"transitTimeLabels": { +"description": "Required. A list of transit time labels. The last value can be `\"all other labels\"`. Example: `[\"food\", \"electronics\", \"all other labels\"]`.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"TransitTimeRow": { +"description": "If there's only one dimension set of `postal_code_group_names` or `transit_time_labels`, there are multiple rows each with one value for that dimension. If there are two dimensions, each row corresponds to a `postal_code_group_names`, and columns (values) to a `transit_time_labels`.", +"id": "TransitTimeRow", +"properties": { +"values": { +"description": "Required. Transit time range (min-max) in business days.", +"items": { +"$ref": "TransitTimeValue" +}, +"type": "array" +} +}, +"type": "object" +}, +"TransitTimeValue": { +"description": "Transit time range (min-max) in business days.", +"id": "TransitTimeValue", +"properties": { +"maxTransitDays": { +"description": "Must be greater than or equal to `min_transit_days`.", +"format": "int32", +"type": "integer" +}, +"minTransitDays": { +"description": "Minimum transit time range in business days. 0 means same day delivery, 1 means next day delivery.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"UnclaimHomepageRequest": { +"description": "Request message for the `UnclaimHomepage` method.", +"id": "UnclaimHomepageRequest", +"properties": {}, +"type": "object" +}, +"UnregisterGcpRequest": { +"description": "Request message for the UnregisterGCP method.", +"id": "UnregisterGcpRequest", +"properties": {}, +"type": "object" +}, +"UriSettings": { +"description": "URL settings for cart or checkout URL.", +"id": "UriSettings", +"properties": { +"cartUriTemplate": { +"description": "Cart URL template. When the placeholders are expanded will redirect the buyer to the cart page on the merchant website with the selected item in cart. For more details, check the [help center doc](https://support.google.com/merchants/answer/13945960#method1&zippy=%2Cproduct-level-url-formatting%2Caccount-level-url-formatting)", +"type": "string" +}, +"checkoutUriTemplate": { +"description": "Checkout URL template. When the placeholders are expanded will redirect the buyer to the merchant checkout page with the item in the cart. For more details, check the [help center doc](https://support.google.com/merchants/answer/13945960#method1&zippy=%2Cproduct-level-url-formatting%2Caccount-level-url-formatting)", +"type": "string" +} +}, +"type": "object" +}, +"User": { +"description": "The `User` resource represents a user associated with a Merchant Center account. It is used to manage user permissions and access rights within the account. For more information, see [Frequently asked questions about people and access levels](//support.google.com/merchants/answer/12160472).", +"id": "User", +"properties": { +"accessRights": { +"description": "Required. The [access rights](https://support.google.com/merchants/answer/12160472?sjid=6789834943175119429-EU#accesstypes) the user has.", +"items": { +"enum": [ +"ACCESS_RIGHT_UNSPECIFIED", +"STANDARD", +"READ_ONLY", +"ADMIN", +"PERFORMANCE_REPORTING", +"API_DEVELOPER" +], +"enumDescriptions": [ +"Default value. This value is unused.", +"Standard access rights.", +"Has access to the same read-only methods as STANDARD, but no access to any mutating methods.", +"Admin access rights.", +"Users with this right have access to performance and insights.", +"Users with this right have access to Merchant API and its notifications. This role is only accessible to accounts that have a developer registration." +], +"type": "string" +}, +"type": "array" +}, +"name": { +"description": "Identifier. The resource name of the user. Format: `accounts/{account}/user/{email}` Use `me` to refer to your own email address, for example `accounts/{account}/users/me`.", +"type": "string" +}, +"state": { +"description": "Output only. The state of the user.", +"enum": [ +"STATE_UNSPECIFIED", +"PENDING", +"VERIFIED" +], +"enumDescriptions": [ +"Default value. This value is unused.", +"The user is pending confirmation. In this state, the user first needs to accept the invitation before performing other actions.", +"The user is verified." +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"Value": { +"description": "The single value of a rate group or the value of a rate group table's cell. Exactly one of `no_shipping`, `flat_rate`, `price_percentage`, `carrier_rateName`, `subtable_name` must be set.", +"id": "Value", +"properties": { +"carrierRate": { +"description": "The name of a carrier rate referring to a carrier rate defined in the same rate group. Can only be set if all other fields are not set.", +"type": "string" +}, +"flatRate": { +"$ref": "Price", +"description": "A flat rate. Can only be set if all other fields are not set." +}, +"noShipping": { +"description": "If true, then the product can't be shipped. Must be true when set, can only be set if all other fields are not set.", +"type": "boolean" +}, +"pricePercentage": { +"description": "A percentage of the price represented as a number in decimal notation (For example, `\"5.4\"`). Can only be set if all other fields are not set.", +"type": "string" +}, +"subtable": { +"description": "The name of a subtable. Can only be set in table cells (For example, not for single values), and only if all other fields are not set.", +"type": "string" +} +}, +"type": "object" +}, +"VerificationMailSettings": { +"description": "Settings related to the verification email that is sent after adding a user.", +"id": "VerificationMailSettings", +"properties": { +"verificationMailMode": { +"description": "Optional. Mode of the verification mail. If not set, the default is `SEND_VERIFICATION_MAIL`.", +"enum": [ +"VERIFICATION_MAIL_MODE_UNSPECIFIED", +"SEND_VERIFICATION_MAIL", +"SUPPRESS_VERIFICATION_MAIL" +], +"enumDescriptions": [ +"Default first member of every enum. Do not use.", +"An invitation email is sent to the user added shortly after.", +"No invitation email is sent. This can be useful if the user is expected to accept the invitation through the API without needing another notification." +], +"type": "string" +} +}, +"type": "object" +}, +"VerifySelfRequest": { +"description": "Request message for the `VerifySelf` method.", +"id": "VerifySelfRequest", +"properties": {}, +"type": "object" +}, +"Warehouse": { +"description": "A fulfillment warehouse, which stores and handles inventory.", +"id": "Warehouse", +"properties": { +"businessDayConfig": { +"$ref": "BusinessDayConfig", +"description": "Business days of the warehouse. If not set, will be Monday to Friday by default." +}, +"cutoffTime": { +"$ref": "WarehouseCutoffTime", +"description": "Required. The latest time of day that an order can be accepted and begin processing. Later orders will be processed in the next day. The time is based on the warehouse postal code." +}, +"handlingDays": { +"description": "Required. The number of days it takes for this warehouse to pack up and ship an item. This is on the warehouse level, but can be overridden on the offer level based on the attributes of an item.", +"format": "int64", +"type": "string" +}, +"name": { +"description": "Required. The name of the warehouse. Must be unique within account.", +"type": "string" +}, +"shippingAddress": { +"$ref": "Address", +"description": "Required. Shipping address of the warehouse." +} +}, +"type": "object" +}, +"WarehouseBasedDeliveryTime": { +"description": "Indicates that the delivery time should be calculated per warehouse (shipping origin location) based on the settings of the selected carrier. When set, no other transit time related field in `delivery_time` should be set.", +"id": "WarehouseBasedDeliveryTime", +"properties": { +"carrier": { +"description": "Required. Carrier, such as `\"UPS\"` or `\"Fedex\"`. [supported carriers](https://support.google.com/merchants/answer/7050921#zippy=%2Ccarrier-rates-au-de-uk-and-us-only)", +"type": "string" +}, +"carrierService": { +"description": "Required. Carrier service, such as `\"ground\"` or `\"2 days\"`. The name of the service must be in the eddSupportedServices list.", +"type": "string" +}, +"warehouse": { +"description": "Required. Warehouse name. This should match warehouse.", +"type": "string" +} +}, +"type": "object" +}, +"WarehouseCutoffTime": { +"description": "The latest time of day that an order can be accepted and begin processing. Later orders will be processed in the next day. The time is based on the warehouse postal code.", +"id": "WarehouseCutoffTime", +"properties": { +"hour": { +"description": "Required. Hour of the cutoff time until which an order has to be placed to be processed in the same day by the warehouse. Hour is based on the timezone of warehouse.", +"format": "int32", +"type": "integer" +}, +"minute": { +"description": "Required. Minute of the cutoff time until which an order has to be placed to be processed in the same day by the warehouse. Minute is based on the timezone of warehouse.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"Weight": { +"description": "The weight represented as the value in string and the unit.", +"id": "Weight", +"properties": { +"amountMicros": { +"description": "Required. The weight represented as a number in micros (1 million micros is an equivalent to one's currency standard unit, for example, 1 kg = 1000000 micros). This field can also be set as infinity by setting to -1. This field only support -1 and positive value.", +"format": "int64", +"type": "string" +}, +"unit": { +"description": "Required. The weight unit. Acceptable values are: kg and lb", +"enum": [ +"WEIGHT_UNIT_UNSPECIFIED", +"POUND", +"KILOGRAM" +], +"enumDescriptions": [ +"unit unspecified", +"lb unit.", +"kg unit." +], +"type": "string" +} +}, +"type": "object" +} +}, +"servicePath": "", +"title": "Merchant API", +"version": "accounts_v1beta", +"version_module": true +} \ No newline at end of file diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/merchantapi.conversions_v1.json b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/merchantapi.conversions_v1.json new file mode 100644 index 0000000000000000000000000000000000000000..dabec591e069eb379d29a9d9e46888bf4dd75806 --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/merchantapi.conversions_v1.json @@ -0,0 +1,653 @@ +{ +"auth": { +"oauth2": { +"scopes": { +"https://www.googleapis.com/auth/content": { +"description": "Manage your product listings and accounts for Google Shopping" +} +} +} +}, +"basePath": "", +"baseUrl": "https://merchantapi.googleapis.com/", +"batchPath": "batch", +"canonicalName": "Merchant", +"description": "Programmatically manage your Merchant Center Accounts.", +"discoveryVersion": "v1", +"documentationLink": "https://developers.google.com/merchant/api", +"fullyEncodeReservedExpansion": true, +"icons": { +"x16": "http://www.google.com/images/icons/product/search-16.gif", +"x32": "http://www.google.com/images/icons/product/search-32.gif" +}, +"id": "merchantapi:conversions_v1", +"kind": "discovery#restDescription", +"mtlsRootUrl": "https://merchantapi.mtls.googleapis.com/", +"name": "merchantapi", +"ownerDomain": "google.com", +"ownerName": "Google", +"parameters": { +"$.xgafv": { +"description": "V1 error format.", +"enum": [ +"1", +"2" +], +"enumDescriptions": [ +"v1 error format", +"v2 error format" +], +"location": "query", +"type": "string" +}, +"access_token": { +"description": "OAuth access token.", +"location": "query", +"type": "string" +}, +"alt": { +"default": "json", +"description": "Data format for response.", +"enum": [ +"json", +"media", +"proto" +], +"enumDescriptions": [ +"Responses with Content-Type of application/json", +"Media download with context-dependent Content-Type", +"Responses with Content-Type of application/x-protobuf" +], +"location": "query", +"type": "string" +}, +"callback": { +"description": "JSONP", +"location": "query", +"type": "string" +}, +"fields": { +"description": "Selector specifying which fields to include in a partial response.", +"location": "query", +"type": "string" +}, +"key": { +"description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", +"location": "query", +"type": "string" +}, +"oauth_token": { +"description": "OAuth 2.0 token for the current user.", +"location": "query", +"type": "string" +}, +"prettyPrint": { +"default": "true", +"description": "Returns response with indentations and line breaks.", +"location": "query", +"type": "boolean" +}, +"quotaUser": { +"description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.", +"location": "query", +"type": "string" +}, +"uploadType": { +"description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", +"location": "query", +"type": "string" +}, +"upload_protocol": { +"description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", +"location": "query", +"type": "string" +} +}, +"protocol": "rest", +"resources": { +"accounts": { +"resources": { +"conversionSources": { +"methods": { +"create": { +"description": "Creates a new conversion source.", +"flatPath": "conversions/v1/accounts/{accountsId}/conversionSources", +"httpMethod": "POST", +"id": "merchantapi.accounts.conversionSources.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The merchant account that will own the new conversion source. Format: `accounts/{account}`", +"location": "path", +"pattern": "^accounts/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "conversions/v1/{+parent}/conversionSources", +"request": { +"$ref": "ConversionSource" +}, +"response": { +"$ref": "ConversionSource" +}, +"scopes": [ +"https://www.googleapis.com/auth/content" +] +}, +"delete": { +"description": "Archives an existing conversion source. If the conversion source is a Merchant Center Destination, it will be recoverable for 30 days. If the conversion source is a Google Analytics Link, it will be deleted immediately and can be restored by creating a new one.", +"flatPath": "conversions/v1/accounts/{accountsId}/conversionSources/{conversionSourcesId}", +"httpMethod": "DELETE", +"id": "merchantapi.accounts.conversionSources.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the conversion source to be deleted. Format: `accounts/{account}/conversionSources/{conversion_source}`", +"location": "path", +"pattern": "^accounts/[^/]+/conversionSources/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "conversions/v1/{+name}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/content" +] +}, +"get": { +"description": "Fetches a conversion source.", +"flatPath": "conversions/v1/accounts/{accountsId}/conversionSources/{conversionSourcesId}", +"httpMethod": "GET", +"id": "merchantapi.accounts.conversionSources.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the conversion source to be fetched. Format: `accounts/{account}/conversionSources/{conversion_source}`", +"location": "path", +"pattern": "^accounts/[^/]+/conversionSources/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "conversions/v1/{+name}", +"response": { +"$ref": "ConversionSource" +}, +"scopes": [ +"https://www.googleapis.com/auth/content" +] +}, +"list": { +"description": "Retrieves the list of conversion sources the caller has access to.", +"flatPath": "conversions/v1/accounts/{accountsId}/conversionSources", +"httpMethod": "GET", +"id": "merchantapi.accounts.conversionSources.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "Optional. The maximum number of conversion sources to return in a page. If no `page_size` is specified, `100` is used as the default value. The maximum value is `200`. Values above `200` will be coerced to `200`. Regardless of pagination, at most `200` conversion sources are returned in total.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. Page token.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The merchant account who owns the collection of conversion sources. Format: `accounts/{account}`", +"location": "path", +"pattern": "^accounts/[^/]+$", +"required": true, +"type": "string" +}, +"showDeleted": { +"description": "Optional. Show deleted (archived) conversion sources. By default, deleted conversion sources are not returned.", +"location": "query", +"type": "boolean" +} +}, +"path": "conversions/v1/{+parent}/conversionSources", +"response": { +"$ref": "ListConversionSourcesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/content" +] +}, +"patch": { +"description": "Updates information of an existing conversion source. Available only for Merchant Center Destination conversion sources.", +"flatPath": "conversions/v1/accounts/{accountsId}/conversionSources/{conversionSourcesId}", +"httpMethod": "PATCH", +"id": "merchantapi.accounts.conversionSources.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Output only. Identifier. Generated by the Content API upon creation of a new `ConversionSource`. Format: `[a-z]{4}:.+` The four characters before the colon represent the type of conversion source. Content after the colon represents the ID of the conversion source within that type. The ID of two different conversion sources might be the same across different types. The following type prefixes are supported: * `galk`: For GoogleAnalyticsLink sources. * `mcdn`: For MerchantCenterDestination sources.", +"location": "path", +"pattern": "^accounts/[^/]+/conversionSources/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Optional. List of fields being updated.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "conversions/v1/{+name}", +"request": { +"$ref": "ConversionSource" +}, +"response": { +"$ref": "ConversionSource" +}, +"scopes": [ +"https://www.googleapis.com/auth/content" +] +}, +"undelete": { +"description": "Re-enables an archived conversion source. Only Available for Merchant Center Destination conversion sources.", +"flatPath": "conversions/v1/accounts/{accountsId}/conversionSources/{conversionSourcesId}:undelete", +"httpMethod": "POST", +"id": "merchantapi.accounts.conversionSources.undelete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the conversion source to be undeleted. Format: `accounts/{account}/conversionSources/{conversion_source}`", +"location": "path", +"pattern": "^accounts/[^/]+/conversionSources/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "conversions/v1/{+name}:undelete", +"request": { +"$ref": "UndeleteConversionSourceRequest" +}, +"response": { +"$ref": "ConversionSource" +}, +"scopes": [ +"https://www.googleapis.com/auth/content" +] +} +} +} +} +} +}, +"revision": "20260223", +"rootUrl": "https://merchantapi.googleapis.com/", +"schemas": { +"AttributionSettings": { +"description": "Represents attribution settings for conversion sources receiving pre-attribution data.", +"id": "AttributionSettings", +"properties": { +"attributionLookbackWindowDays": { +"description": "Required. Lookback window (in days) used for attribution in this source. Supported values are `7`, `30` & `40`.", +"format": "int32", +"type": "integer" +}, +"attributionModel": { +"description": "Required. Attribution model.", +"enum": [ +"ATTRIBUTION_MODEL_UNSPECIFIED", +"CROSS_CHANNEL_LAST_CLICK", +"ADS_PREFERRED_LAST_CLICK", +"CROSS_CHANNEL_DATA_DRIVEN", +"CROSS_CHANNEL_FIRST_CLICK", +"CROSS_CHANNEL_LINEAR", +"CROSS_CHANNEL_POSITION_BASED", +"CROSS_CHANNEL_TIME_DECAY" +], +"enumDescriptions": [ +"Unspecified model.", +"Cross-channel Last Click model.", +"Ads-preferred Last Click model.", +"Cross-channel Data Driven model.", +"Cross-channel First Click model.", +"Cross-channel Linear model.", +"Cross-channel Position Based model.", +"Cross-channel Time Decay model." +], +"type": "string" +}, +"conversionType": { +"description": "Immutable. Unordered list. List of different conversion types a conversion event can be classified as. A standard \"purchase\" type will be automatically created if this list is empty at creation time.", +"items": { +"$ref": "ConversionType" +}, +"type": "array" +} +}, +"type": "object" +}, +"ConversionSource": { +"description": "Represents a conversion source owned by a Merchant account. A merchant account can have up to 200 conversion sources.", +"id": "ConversionSource", +"properties": { +"controller": { +"description": "Output only. Controller of the conversion source.", +"enum": [ +"CONTROLLER_UNSPECIFIED", +"MERCHANT", +"YOUTUBE_AFFILIATES" +], +"enumDescriptions": [ +"Default value. This value is unused.", +"Controlled by the Merchant who owns the Conversion Source.", +"Controlled by the Youtube Affiliates program." +], +"readOnly": true, +"type": "string" +}, +"expireTime": { +"description": "Output only. The time when an archived conversion source becomes permanently deleted and is no longer available to undelete.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"googleAnalyticsLink": { +"$ref": "GoogleAnalyticsLink", +"description": "Immutable. Conversion Source of type \"Link to Google Analytics Property\"." +}, +"merchantCenterDestination": { +"$ref": "MerchantCenterDestination", +"description": "Conversion Source of type \"Merchant Center Tag Destination\"." +}, +"name": { +"description": "Output only. Identifier. Generated by the Content API upon creation of a new `ConversionSource`. Format: `[a-z]{4}:.+` The four characters before the colon represent the type of conversion source. Content after the colon represents the ID of the conversion source within that type. The ID of two different conversion sources might be the same across different types. The following type prefixes are supported: * `galk`: For GoogleAnalyticsLink sources. * `mcdn`: For MerchantCenterDestination sources.", +"readOnly": true, +"type": "string" +}, +"state": { +"description": "Output only. Current state of this conversion source. Can't be edited through the API.", +"enum": [ +"STATE_UNSPECIFIED", +"ACTIVE", +"ARCHIVED", +"PENDING" +], +"enumDescriptions": [ +"Conversion source has unspecified state.", +"Conversion source is fully functional.", +"Conversion source has been archived in the last 30 days and is currently not functional. Can be restored using the undelete method.", +"Conversion source creation has started but not fully finished yet." +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"ConversionType": { +"description": "Message representing the type of a conversion event.", +"id": "ConversionType", +"properties": { +"name": { +"description": "Output only. Conversion event name, as it'll be reported by the client.", +"readOnly": true, +"type": "string" +}, +"report": { +"description": "Output only. Option indicating if the type should be included in Merchant Center reporting.", +"readOnly": true, +"type": "boolean" +} +}, +"type": "object" +}, +"Empty": { +"description": "A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }", +"id": "Empty", +"properties": {}, +"type": "object" +}, +"GoogleAnalyticsLink": { +"description": "\"Google Analytics Link\" sources can be used to get conversion data from an existing Google Analytics property into the linked Merchant Center account.", +"id": "GoogleAnalyticsLink", +"properties": { +"attributionSettings": { +"$ref": "AttributionSettings", +"description": "Output only. Attribution settings for the linked Google Analytics property.", +"readOnly": true +}, +"property": { +"description": "Output only. Name of the Google Analytics property the merchant is linked to.", +"readOnly": true, +"type": "string" +}, +"propertyId": { +"description": "Required. Immutable. ID of the Google Analytics property the merchant is linked to.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"ListConversionSourcesResponse": { +"description": "Response message for the ListConversionSources method.", +"id": "ListConversionSourcesResponse", +"properties": { +"conversionSources": { +"description": "List of conversion sources.", +"items": { +"$ref": "ConversionSource" +}, +"type": "array" +}, +"nextPageToken": { +"description": "Token to be used to fetch the next results page.", +"type": "string" +} +}, +"type": "object" +}, +"MerchantCenterDestination": { +"description": "\"Merchant Center Destination\" sources can be used to send conversion events from an online store using a Google tag directly to a Merchant Center account where the source is created.", +"id": "MerchantCenterDestination", +"properties": { +"attributionSettings": { +"$ref": "AttributionSettings", +"description": "Required. Attribution settings used for the Merchant Center Destination." +}, +"currencyCode": { +"description": "Required. Three-letter currency code (ISO 4217). The currency code defines in which currency the conversions sent to this destination will be reported in Merchant Center.", +"type": "string" +}, +"destination": { +"description": "Output only. Merchant Center Destination ID.", +"readOnly": true, +"type": "string" +}, +"displayName": { +"description": "Required. Merchant-specified display name for the destination. This is the name that identifies the conversion source within the Merchant Center UI. The maximum length is 64 characters.", +"type": "string" +} +}, +"type": "object" +}, +"ProductChange": { +"description": "The change that happened to the product including old value, new value, country code as the region code and reporting context.", +"id": "ProductChange", +"properties": { +"newValue": { +"description": "The new value of the changed resource or attribute. If empty, it means that the product was deleted. Will have one of these values : (`approved`, `pending`, `disapproved`, ``)", +"type": "string" +}, +"oldValue": { +"description": "The old value of the changed resource or attribute. If empty, it means that the product was created. Will have one of these values : (`approved`, `pending`, `disapproved`, ``)", +"type": "string" +}, +"regionCode": { +"description": "Countries that have the change (if applicable). Represented in the ISO 3166 format.", +"type": "string" +}, +"reportingContext": { +"description": "Reporting contexts that have the change (if applicable). Currently this field supports only (`SHOPPING_ADS`, `LOCAL_INVENTORY_ADS`, `YOUTUBE_SHOPPING`, `YOUTUBE_CHECKOUT`, `YOUTUBE_AFFILIATE`) from the enum value [ReportingContextEnum](/merchant/api/reference/rest/Shared.Types/ReportingContextEnum)", +"enum": [ +"REPORTING_CONTEXT_ENUM_UNSPECIFIED", +"SHOPPING_ADS", +"DISCOVERY_ADS", +"DEMAND_GEN_ADS", +"DEMAND_GEN_ADS_DISCOVER_SURFACE", +"VIDEO_ADS", +"DISPLAY_ADS", +"LOCAL_INVENTORY_ADS", +"VEHICLE_INVENTORY_ADS", +"FREE_LISTINGS", +"FREE_LISTINGS_UCP_CHECKOUT", +"FREE_LOCAL_LISTINGS", +"FREE_LOCAL_VEHICLE_LISTINGS", +"YOUTUBE_AFFILIATE", +"YOUTUBE_SHOPPING", +"CLOUD_RETAIL", +"LOCAL_CLOUD_RETAIL", +"PRODUCT_REVIEWS", +"MERCHANT_REVIEWS", +"YOUTUBE_CHECKOUT" +], +"enumDeprecated": [ +false, +false, +true, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false +], +"enumDescriptions": [ +"Not specified.", +"[Shopping ads](https://support.google.com/merchants/answer/6149970).", +"Deprecated: Use `DEMAND_GEN_ADS` instead. [Discovery and Demand Gen ads](https://support.google.com/merchants/answer/13389785).", +"[Demand Gen ads](https://support.google.com/merchants/answer/13389785).", +"[Demand Gen ads on Discover surface](https://support.google.com/merchants/answer/13389785).", +"[Video ads](https://support.google.com/google-ads/answer/6340491).", +"[Display ads](https://support.google.com/merchants/answer/6069387).", +"[Local inventory ads](https://support.google.com/merchants/answer/3271956).", +"[Vehicle inventory ads](https://support.google.com/merchants/answer/11544533).", +"[Free product listings](https://support.google.com/merchants/answer/9199328).", +"[Free product listings on UCP checkout](https://developers.google.com/merchant/ucp).", +"[Free local product listings](https://support.google.com/merchants/answer/9825611).", +"[Free local vehicle listings](https://support.google.com/merchants/answer/11544533).", +"[Youtube Affiliate](https://support.google.com/youtube/answer/13376398).", +"[YouTube Shopping](https://support.google.com/merchants/answer/13478370).", +"[Cloud retail](https://cloud.google.com/solutions/retail).", +"[Local cloud retail](https://cloud.google.com/solutions/retail).", +"[Product Reviews](https://support.google.com/merchants/answer/14620732).", +"[Merchant Reviews](https://developers.google.com/merchant-review-feeds).", +"YouTube Checkout ." +], +"type": "string" +} +}, +"type": "object" +}, +"ProductStatusChangeMessage": { +"description": "The message that the merchant will receive to notify about product status change event", +"id": "ProductStatusChangeMessage", +"properties": { +"account": { +"description": "The target account that owns the entity that changed. Format : `accounts/{merchant_id}`", +"type": "string" +}, +"attribute": { +"description": "The attribute in the resource that changed, in this case it will be always `Status`.", +"enum": [ +"ATTRIBUTE_UNSPECIFIED", +"STATUS" +], +"enumDescriptions": [ +"Unspecified attribute", +"Status of the changed entity" +], +"type": "string" +}, +"changes": { +"description": "A message to describe the change that happened to the product", +"items": { +"$ref": "ProductChange" +}, +"type": "array" +}, +"eventTime": { +"description": "The time at which the event was generated. If you want to order the notification messages you receive you should rely on this field not on the order of receiving the notifications.", +"format": "google-datetime", +"type": "string" +}, +"expirationTime": { +"description": "Optional. The product expiration time. This field will not be set if the notification is sent for a product deletion event.", +"format": "google-datetime", +"type": "string" +}, +"managingAccount": { +"description": "The account that manages the merchant's account. can be the same as merchant id if it is standalone account. Format : `accounts/{service_provider_id}`", +"type": "string" +}, +"resource": { +"description": "The product name. Format: `accounts/{account}/products/{product}`", +"type": "string" +}, +"resourceId": { +"description": "The product id.", +"type": "string" +}, +"resourceType": { +"description": "The resource that changed, in this case it will always be `Product`.", +"enum": [ +"RESOURCE_UNSPECIFIED", +"PRODUCT" +], +"enumDescriptions": [ +"Unspecified resource", +"Resource type : product" +], +"type": "string" +} +}, +"type": "object" +}, +"UndeleteConversionSourceRequest": { +"description": "Request message for the UndeleteConversionSource method.", +"id": "UndeleteConversionSourceRequest", +"properties": {}, +"type": "object" +} +}, +"servicePath": "", +"title": "Merchant API", +"version": "conversions_v1", +"version_module": true +} \ No newline at end of file diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/merchantapi.conversions_v1beta.json b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/merchantapi.conversions_v1beta.json new file mode 100644 index 0000000000000000000000000000000000000000..d692cfff5541d3066593a56bb20ab83c80af052b --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/merchantapi.conversions_v1beta.json @@ -0,0 +1,653 @@ +{ +"auth": { +"oauth2": { +"scopes": { +"https://www.googleapis.com/auth/content": { +"description": "Manage your product listings and accounts for Google Shopping" +} +} +} +}, +"basePath": "", +"baseUrl": "https://merchantapi.googleapis.com/", +"batchPath": "batch", +"canonicalName": "Merchant", +"description": "Programmatically manage your Merchant Center Accounts.", +"discoveryVersion": "v1", +"documentationLink": "https://developers.google.com/merchant/api", +"fullyEncodeReservedExpansion": true, +"icons": { +"x16": "http://www.google.com/images/icons/product/search-16.gif", +"x32": "http://www.google.com/images/icons/product/search-32.gif" +}, +"id": "merchantapi:conversions_v1beta", +"kind": "discovery#restDescription", +"mtlsRootUrl": "https://merchantapi.mtls.googleapis.com/", +"name": "merchantapi", +"ownerDomain": "google.com", +"ownerName": "Google", +"parameters": { +"$.xgafv": { +"description": "V1 error format.", +"enum": [ +"1", +"2" +], +"enumDescriptions": [ +"v1 error format", +"v2 error format" +], +"location": "query", +"type": "string" +}, +"access_token": { +"description": "OAuth access token.", +"location": "query", +"type": "string" +}, +"alt": { +"default": "json", +"description": "Data format for response.", +"enum": [ +"json", +"media", +"proto" +], +"enumDescriptions": [ +"Responses with Content-Type of application/json", +"Media download with context-dependent Content-Type", +"Responses with Content-Type of application/x-protobuf" +], +"location": "query", +"type": "string" +}, +"callback": { +"description": "JSONP", +"location": "query", +"type": "string" +}, +"fields": { +"description": "Selector specifying which fields to include in a partial response.", +"location": "query", +"type": "string" +}, +"key": { +"description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", +"location": "query", +"type": "string" +}, +"oauth_token": { +"description": "OAuth 2.0 token for the current user.", +"location": "query", +"type": "string" +}, +"prettyPrint": { +"default": "true", +"description": "Returns response with indentations and line breaks.", +"location": "query", +"type": "boolean" +}, +"quotaUser": { +"description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.", +"location": "query", +"type": "string" +}, +"uploadType": { +"description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", +"location": "query", +"type": "string" +}, +"upload_protocol": { +"description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", +"location": "query", +"type": "string" +} +}, +"protocol": "rest", +"resources": { +"accounts": { +"resources": { +"conversionSources": { +"methods": { +"create": { +"description": "Creates a new conversion source.", +"flatPath": "conversions/v1beta/accounts/{accountsId}/conversionSources", +"httpMethod": "POST", +"id": "merchantapi.accounts.conversionSources.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The merchant account that will own the new conversion source. Format: `accounts/{account}`", +"location": "path", +"pattern": "^accounts/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "conversions/v1beta/{+parent}/conversionSources", +"request": { +"$ref": "ConversionSource" +}, +"response": { +"$ref": "ConversionSource" +}, +"scopes": [ +"https://www.googleapis.com/auth/content" +] +}, +"delete": { +"description": "Archives an existing conversion source. If the conversion source is a Merchant Center Destination, it will be recoverable for 30 days. If the conversion source is a Google Analytics Link, it will be deleted immediately and can be restored by creating a new one.", +"flatPath": "conversions/v1beta/accounts/{accountsId}/conversionSources/{conversionSourcesId}", +"httpMethod": "DELETE", +"id": "merchantapi.accounts.conversionSources.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the conversion source to be deleted. Format: `accounts/{account}/conversionSources/{conversion_source}`", +"location": "path", +"pattern": "^accounts/[^/]+/conversionSources/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "conversions/v1beta/{+name}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/content" +] +}, +"get": { +"description": "Fetches a conversion source.", +"flatPath": "conversions/v1beta/accounts/{accountsId}/conversionSources/{conversionSourcesId}", +"httpMethod": "GET", +"id": "merchantapi.accounts.conversionSources.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the conversion source to be fetched. Format: `accounts/{account}/conversionSources/{conversion_source}`", +"location": "path", +"pattern": "^accounts/[^/]+/conversionSources/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "conversions/v1beta/{+name}", +"response": { +"$ref": "ConversionSource" +}, +"scopes": [ +"https://www.googleapis.com/auth/content" +] +}, +"list": { +"description": "Retrieves the list of conversion sources the caller has access to.", +"flatPath": "conversions/v1beta/accounts/{accountsId}/conversionSources", +"httpMethod": "GET", +"id": "merchantapi.accounts.conversionSources.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "Optional. The maximum number of conversion sources to return in a page. If no `page_size` is specified, `100` is used as the default value. The maximum value is `200`. Values above `200` will be coerced to `200`. Regardless of pagination, at most `200` conversion sources are returned in total.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. Page token.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The merchant account who owns the collection of conversion sources. Format: `accounts/{account}`", +"location": "path", +"pattern": "^accounts/[^/]+$", +"required": true, +"type": "string" +}, +"showDeleted": { +"description": "Optional. Show deleted (archived) conversion sources. By default, deleted conversion sources are not returned.", +"location": "query", +"type": "boolean" +} +}, +"path": "conversions/v1beta/{+parent}/conversionSources", +"response": { +"$ref": "ListConversionSourcesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/content" +] +}, +"patch": { +"description": "Updates information of an existing conversion source. Available only for Merchant Center Destination conversion sources.", +"flatPath": "conversions/v1beta/accounts/{accountsId}/conversionSources/{conversionSourcesId}", +"httpMethod": "PATCH", +"id": "merchantapi.accounts.conversionSources.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Output only. Identifier. Generated by the Content API upon creation of a new `ConversionSource`. Format: `[a-z]{4}:.+` The four characters before the colon represent the type of conversion source. Content after the colon represents the ID of the conversion source within that type. The ID of two different conversion sources might be the same across different types. The following type prefixes are supported: * `galk`: For GoogleAnalyticsLink sources. * `mcdn`: For MerchantCenterDestination sources.", +"location": "path", +"pattern": "^accounts/[^/]+/conversionSources/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Optional. List of fields being updated.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "conversions/v1beta/{+name}", +"request": { +"$ref": "ConversionSource" +}, +"response": { +"$ref": "ConversionSource" +}, +"scopes": [ +"https://www.googleapis.com/auth/content" +] +}, +"undelete": { +"description": "Re-enables an archived conversion source. Only Available for Merchant Center Destination conversion sources.", +"flatPath": "conversions/v1beta/accounts/{accountsId}/conversionSources/{conversionSourcesId}:undelete", +"httpMethod": "POST", +"id": "merchantapi.accounts.conversionSources.undelete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the conversion source to be undeleted. Format: `accounts/{account}/conversionSources/{conversion_source}`", +"location": "path", +"pattern": "^accounts/[^/]+/conversionSources/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "conversions/v1beta/{+name}:undelete", +"request": { +"$ref": "UndeleteConversionSourceRequest" +}, +"response": { +"$ref": "ConversionSource" +}, +"scopes": [ +"https://www.googleapis.com/auth/content" +] +} +} +} +} +} +}, +"revision": "20260223", +"rootUrl": "https://merchantapi.googleapis.com/", +"schemas": { +"AttributionSettings": { +"description": "Represents attribution settings for conversion sources receiving pre-attribution data.", +"id": "AttributionSettings", +"properties": { +"attributionLookbackWindowDays": { +"description": "Required. Lookback window (in days) used for attribution in this source. Supported values are `7`, `30` & `40`.", +"format": "int32", +"type": "integer" +}, +"attributionModel": { +"description": "Required. Attribution model.", +"enum": [ +"ATTRIBUTION_MODEL_UNSPECIFIED", +"CROSS_CHANNEL_LAST_CLICK", +"ADS_PREFERRED_LAST_CLICK", +"CROSS_CHANNEL_DATA_DRIVEN", +"CROSS_CHANNEL_FIRST_CLICK", +"CROSS_CHANNEL_LINEAR", +"CROSS_CHANNEL_POSITION_BASED", +"CROSS_CHANNEL_TIME_DECAY" +], +"enumDescriptions": [ +"Unspecified model.", +"Cross-channel Last Click model.", +"Ads-preferred Last Click model.", +"Cross-channel Data Driven model.", +"Cross-channel First Click model.", +"Cross-channel Linear model.", +"Cross-channel Position Based model.", +"Cross-channel Time Decay model." +], +"type": "string" +}, +"conversionType": { +"description": "Immutable. Unordered list. List of different conversion types a conversion event can be classified as. A standard \"purchase\" type will be automatically created if this list is empty at creation time.", +"items": { +"$ref": "ConversionType" +}, +"type": "array" +} +}, +"type": "object" +}, +"ConversionSource": { +"description": "Represents a conversion source owned by a Merchant account. A merchant account can have up to 200 conversion sources.", +"id": "ConversionSource", +"properties": { +"controller": { +"description": "Output only. Controller of the conversion source.", +"enum": [ +"CONTROLLER_UNSPECIFIED", +"MERCHANT", +"YOUTUBE_AFFILIATES" +], +"enumDescriptions": [ +"Default value. This value is unused.", +"Controlled by the Merchant who owns the Conversion Source.", +"Controlled by the Youtube Affiliates program." +], +"readOnly": true, +"type": "string" +}, +"expireTime": { +"description": "Output only. The time when an archived conversion source becomes permanently deleted and is no longer available to undelete.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"googleAnalyticsLink": { +"$ref": "GoogleAnalyticsLink", +"description": "Immutable. Conversion Source of type \"Link to Google Analytics Property\"." +}, +"merchantCenterDestination": { +"$ref": "MerchantCenterDestination", +"description": "Conversion Source of type \"Merchant Center Tag Destination\"." +}, +"name": { +"description": "Output only. Identifier. Generated by the Content API upon creation of a new `ConversionSource`. Format: `[a-z]{4}:.+` The four characters before the colon represent the type of conversion source. Content after the colon represents the ID of the conversion source within that type. The ID of two different conversion sources might be the same across different types. The following type prefixes are supported: * `galk`: For GoogleAnalyticsLink sources. * `mcdn`: For MerchantCenterDestination sources.", +"readOnly": true, +"type": "string" +}, +"state": { +"description": "Output only. Current state of this conversion source. Can't be edited through the API.", +"enum": [ +"STATE_UNSPECIFIED", +"ACTIVE", +"ARCHIVED", +"PENDING" +], +"enumDescriptions": [ +"Conversion source has unspecified state.", +"Conversion source is fully functional.", +"Conversion source has been archived in the last 30 days and is currently not functional. Can be restored using the undelete method.", +"Conversion source creation has started but not fully finished yet." +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"ConversionType": { +"description": "Message representing the type of a conversion event.", +"id": "ConversionType", +"properties": { +"name": { +"description": "Output only. Conversion event name, as it'll be reported by the client.", +"readOnly": true, +"type": "string" +}, +"report": { +"description": "Output only. Option indicating if the type should be included in Merchant Center reporting.", +"readOnly": true, +"type": "boolean" +} +}, +"type": "object" +}, +"Empty": { +"description": "A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }", +"id": "Empty", +"properties": {}, +"type": "object" +}, +"GoogleAnalyticsLink": { +"description": "\"Google Analytics Link\" sources can be used to get conversion data from an existing Google Analytics property into the linked Merchant Center account.", +"id": "GoogleAnalyticsLink", +"properties": { +"attributionSettings": { +"$ref": "AttributionSettings", +"description": "Output only. Attribution settings for the linked Google Analytics property.", +"readOnly": true +}, +"property": { +"description": "Output only. Name of the Google Analytics property the merchant is linked to.", +"readOnly": true, +"type": "string" +}, +"propertyId": { +"description": "Required. Immutable. ID of the Google Analytics property the merchant is linked to.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"ListConversionSourcesResponse": { +"description": "Response message for the ListConversionSources method.", +"id": "ListConversionSourcesResponse", +"properties": { +"conversionSources": { +"description": "List of conversion sources.", +"items": { +"$ref": "ConversionSource" +}, +"type": "array" +}, +"nextPageToken": { +"description": "Token to be used to fetch the next results page.", +"type": "string" +} +}, +"type": "object" +}, +"MerchantCenterDestination": { +"description": "\"Merchant Center Destination\" sources can be used to send conversion events from an online store using a Google tag directly to a Merchant Center account where the source is created.", +"id": "MerchantCenterDestination", +"properties": { +"attributionSettings": { +"$ref": "AttributionSettings", +"description": "Required. Attribution settings used for the Merchant Center Destination." +}, +"currencyCode": { +"description": "Required. Three-letter currency code (ISO 4217). The currency code defines in which currency the conversions sent to this destination will be reported in Merchant Center.", +"type": "string" +}, +"destination": { +"description": "Output only. Merchant Center Destination ID.", +"readOnly": true, +"type": "string" +}, +"displayName": { +"description": "Required. Merchant-specified display name for the destination. This is the name that identifies the conversion source within the Merchant Center UI. The maximum length is 64 characters.", +"type": "string" +} +}, +"type": "object" +}, +"ProductChange": { +"description": "The change that happened to the product including old value, new value, country code as the region code and reporting context.", +"id": "ProductChange", +"properties": { +"newValue": { +"description": "The new value of the changed resource or attribute. If empty, it means that the product was deleted. Will have one of these values : (`approved`, `pending`, `disapproved`, ``)", +"type": "string" +}, +"oldValue": { +"description": "The old value of the changed resource or attribute. If empty, it means that the product was created. Will have one of these values : (`approved`, `pending`, `disapproved`, ``)", +"type": "string" +}, +"regionCode": { +"description": "Countries that have the change (if applicable). Represented in the ISO 3166 format.", +"type": "string" +}, +"reportingContext": { +"description": "Reporting contexts that have the change (if applicable). Currently this field supports only (`SHOPPING_ADS`, `LOCAL_INVENTORY_ADS`, `YOUTUBE_SHOPPING`, `YOUTUBE_CHECKOUT`, `YOUTUBE_AFFILIATE`) from the enum value [ReportingContextEnum](/merchant/api/reference/rest/Shared.Types/ReportingContextEnum)", +"enum": [ +"REPORTING_CONTEXT_ENUM_UNSPECIFIED", +"SHOPPING_ADS", +"DISCOVERY_ADS", +"DEMAND_GEN_ADS", +"DEMAND_GEN_ADS_DISCOVER_SURFACE", +"VIDEO_ADS", +"DISPLAY_ADS", +"LOCAL_INVENTORY_ADS", +"VEHICLE_INVENTORY_ADS", +"FREE_LISTINGS", +"FREE_LISTINGS_UCP_CHECKOUT", +"FREE_LOCAL_LISTINGS", +"FREE_LOCAL_VEHICLE_LISTINGS", +"YOUTUBE_AFFILIATE", +"YOUTUBE_SHOPPING", +"CLOUD_RETAIL", +"LOCAL_CLOUD_RETAIL", +"PRODUCT_REVIEWS", +"MERCHANT_REVIEWS", +"YOUTUBE_CHECKOUT" +], +"enumDeprecated": [ +false, +false, +true, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false +], +"enumDescriptions": [ +"Not specified.", +"[Shopping ads](https://support.google.com/merchants/answer/6149970).", +"Deprecated: Use `DEMAND_GEN_ADS` instead. [Discovery and Demand Gen ads](https://support.google.com/merchants/answer/13389785).", +"[Demand Gen ads](https://support.google.com/merchants/answer/13389785).", +"[Demand Gen ads on Discover surface](https://support.google.com/merchants/answer/13389785).", +"[Video ads](https://support.google.com/google-ads/answer/6340491).", +"[Display ads](https://support.google.com/merchants/answer/6069387).", +"[Local inventory ads](https://support.google.com/merchants/answer/3271956).", +"[Vehicle inventory ads](https://support.google.com/merchants/answer/11544533).", +"[Free product listings](https://support.google.com/merchants/answer/9199328).", +"[Free product listings on UCP checkout](https://developers.google.com/merchant/ucp).", +"[Free local product listings](https://support.google.com/merchants/answer/9825611).", +"[Free local vehicle listings](https://support.google.com/merchants/answer/11544533).", +"[Youtube Affiliate](https://support.google.com/youtube/answer/13376398).", +"[YouTube Shopping](https://support.google.com/merchants/answer/13478370).", +"[Cloud retail](https://cloud.google.com/solutions/retail).", +"[Local cloud retail](https://cloud.google.com/solutions/retail).", +"[Product Reviews](https://support.google.com/merchants/answer/14620732).", +"[Merchant Reviews](https://developers.google.com/merchant-review-feeds).", +"YouTube Checkout ." +], +"type": "string" +} +}, +"type": "object" +}, +"ProductStatusChangeMessage": { +"description": "The message that the merchant will receive to notify about product status change event", +"id": "ProductStatusChangeMessage", +"properties": { +"account": { +"description": "The target account that owns the entity that changed. Format : `accounts/{merchant_id}`", +"type": "string" +}, +"attribute": { +"description": "The attribute in the resource that changed, in this case it will be always `Status`.", +"enum": [ +"ATTRIBUTE_UNSPECIFIED", +"STATUS" +], +"enumDescriptions": [ +"Unspecified attribute", +"Status of the changed entity" +], +"type": "string" +}, +"changes": { +"description": "A message to describe the change that happened to the product", +"items": { +"$ref": "ProductChange" +}, +"type": "array" +}, +"eventTime": { +"description": "The time at which the event was generated. If you want to order the notification messages you receive you should rely on this field not on the order of receiving the notifications.", +"format": "google-datetime", +"type": "string" +}, +"expirationTime": { +"description": "Optional. The product expiration time. This field will not be set if the notification is sent for a product deletion event.", +"format": "google-datetime", +"type": "string" +}, +"managingAccount": { +"description": "The account that manages the merchant's account. can be the same as merchant id if it is standalone account. Format : `accounts/{service_provider_id}`", +"type": "string" +}, +"resource": { +"description": "The product name. Format: `accounts/{account}/products/{product}`", +"type": "string" +}, +"resourceId": { +"description": "The product id.", +"type": "string" +}, +"resourceType": { +"description": "The resource that changed, in this case it will always be `Product`.", +"enum": [ +"RESOURCE_UNSPECIFIED", +"PRODUCT" +], +"enumDescriptions": [ +"Unspecified resource", +"Resource type : product" +], +"type": "string" +} +}, +"type": "object" +}, +"UndeleteConversionSourceRequest": { +"description": "Request message for the UndeleteConversionSource method.", +"id": "UndeleteConversionSourceRequest", +"properties": {}, +"type": "object" +} +}, +"servicePath": "", +"title": "Merchant API", +"version": "conversions_v1beta", +"version_module": true +} \ No newline at end of file diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/merchantapi.issueresolution_v1.json b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/merchantapi.issueresolution_v1.json new file mode 100644 index 0000000000000000000000000000000000000000..466a3e2f103ec68aad7148897d462d2018b80874 --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/merchantapi.issueresolution_v1.json @@ -0,0 +1,1256 @@ +{ +"auth": { +"oauth2": { +"scopes": { +"https://www.googleapis.com/auth/content": { +"description": "Manage your product listings and accounts for Google Shopping" +} +} +} +}, +"basePath": "", +"baseUrl": "https://merchantapi.googleapis.com/", +"batchPath": "batch", +"canonicalName": "Merchant", +"description": "Programmatically manage your Merchant Center Accounts.", +"discoveryVersion": "v1", +"documentationLink": "https://developers.google.com/merchant/api", +"fullyEncodeReservedExpansion": true, +"icons": { +"x16": "http://www.google.com/images/icons/product/search-16.gif", +"x32": "http://www.google.com/images/icons/product/search-32.gif" +}, +"id": "merchantapi:issueresolution_v1", +"kind": "discovery#restDescription", +"mtlsRootUrl": "https://merchantapi.mtls.googleapis.com/", +"name": "merchantapi", +"ownerDomain": "google.com", +"ownerName": "Google", +"parameters": { +"$.xgafv": { +"description": "V1 error format.", +"enum": [ +"1", +"2" +], +"enumDescriptions": [ +"v1 error format", +"v2 error format" +], +"location": "query", +"type": "string" +}, +"access_token": { +"description": "OAuth access token.", +"location": "query", +"type": "string" +}, +"alt": { +"default": "json", +"description": "Data format for response.", +"enum": [ +"json", +"media", +"proto" +], +"enumDescriptions": [ +"Responses with Content-Type of application/json", +"Media download with context-dependent Content-Type", +"Responses with Content-Type of application/x-protobuf" +], +"location": "query", +"type": "string" +}, +"callback": { +"description": "JSONP", +"location": "query", +"type": "string" +}, +"fields": { +"description": "Selector specifying which fields to include in a partial response.", +"location": "query", +"type": "string" +}, +"key": { +"description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", +"location": "query", +"type": "string" +}, +"oauth_token": { +"description": "OAuth 2.0 token for the current user.", +"location": "query", +"type": "string" +}, +"prettyPrint": { +"default": "true", +"description": "Returns response with indentations and line breaks.", +"location": "query", +"type": "boolean" +}, +"quotaUser": { +"description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.", +"location": "query", +"type": "string" +}, +"uploadType": { +"description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", +"location": "query", +"type": "string" +}, +"upload_protocol": { +"description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", +"location": "query", +"type": "string" +} +}, +"protocol": "rest", +"resources": { +"accounts": { +"resources": { +"aggregateProductStatuses": { +"methods": { +"list": { +"description": "Lists the `AggregateProductStatuses` resources for your merchant account. The response might contain fewer items than specified by `pageSize`. If `pageToken` was returned in previous request, it can be used to obtain additional results.", +"flatPath": "issueresolution/v1/accounts/{accountsId}/aggregateProductStatuses", +"httpMethod": "GET", +"id": "merchantapi.accounts.aggregateProductStatuses.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Optional. A filter expression that filters the aggregate product statuses. Filtering is only supported by the `reporting_context` and `country` field. For example: `reporting_context = \"SHOPPING_ADS\" AND country = \"US\"`.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Optional. The maximum number of aggregate product statuses to return. The service may return fewer than this value. If unspecified, at most 25 aggregate product statuses are returned. The maximum value is 250; values above 250 are coerced to 250.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. A page token, received from a previous `ListAggregateProductStatuses` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListAggregateProductStatuses` must match the call that provided the page token.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The account to list aggregate product statuses for. Format: `accounts/{account}`", +"location": "path", +"pattern": "^accounts/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "issueresolution/v1/{+parent}/aggregateProductStatuses", +"response": { +"$ref": "ListAggregateProductStatusesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/content" +] +} +} +} +} +}, +"issueresolution": { +"methods": { +"renderaccountissues": { +"description": "Provide a list of business's account issues with an issue resolution content and available actions. This content and actions are meant to be rendered and shown in third-party applications.", +"flatPath": "issueresolution/v1/accounts/{accountsId}:renderaccountissues", +"httpMethod": "POST", +"id": "merchantapi.issueresolution.renderaccountissues", +"parameterOrder": [ +"name" +], +"parameters": { +"languageCode": { +"description": "Optional. The [IETF BCP-47](https://tools.ietf.org/html/bcp47) language code used to localize issue resolution content. If not set, the result will be in default language `en-US`.", +"location": "query", +"type": "string" +}, +"name": { +"description": "Required. The account to fetch issues for. Format: `accounts/{account}`", +"location": "path", +"pattern": "^accounts/[^/]+$", +"required": true, +"type": "string" +}, +"timeZone": { +"description": "Optional. The [IANA](https://www.iana.org/time-zones) timezone used to localize times in an issue resolution content. For example 'America/Los_Angeles'. If not set, results will use as a default UTC.", +"location": "query", +"type": "string" +} +}, +"path": "issueresolution/v1/{+name}:renderaccountissues", +"request": { +"$ref": "RenderIssuesRequestPayload" +}, +"response": { +"$ref": "RenderAccountIssuesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/content" +] +}, +"renderproductissues": { +"description": "Provide a list of issues for business's product with an issue resolution content and available actions. This content and actions are meant to be rendered and shown in third-party applications.", +"flatPath": "issueresolution/v1/accounts/{accountsId}/products/{productsId}:renderproductissues", +"httpMethod": "POST", +"id": "merchantapi.issueresolution.renderproductissues", +"parameterOrder": [ +"name" +], +"parameters": { +"languageCode": { +"description": "Optional. The [IETF BCP-47](https://tools.ietf.org/html/bcp47) language code used to localize an issue resolution content. If not set, the result will be in default language `en-US`.", +"location": "query", +"type": "string" +}, +"name": { +"description": "Required. The name of the product. Format: `accounts/{account}/products/{product}` The `{product}` segment is a unique identifier for the product. This identifier must be unique within a merchant account and generally follows the structure: `content_language~feed_label~offer_id`. Example: `en~US~sku123` For legacy local products, the structure is: `local~content_language~feed_label~offer_id`. Example: `local~en~US~sku123` The format of the `{product}` segment in the URL is automatically detected by the server, supporting two options: 1. **Encoded Format**: The `{product}` segment is an unpadded base64url encoded string (RFC 4648 Section 5). The decoded string must result in the `content_language~feed_label~offer_id` structure. This encoding MUST be used if any part of the product identifier (like `offer_id`) contains characters such as `/`, `%`, or `~`. * Example: To represent the product ID `en~US~sku/123`, the `{product}` segment must be the base64url encoding of this string, which is `ZW5-VVMtc2t1LzEyMw`. The full resource name for the product would be `accounts/123/products/ZW5-VVMtc2t1LzEyMw`. 2. **Plain Format**: The `{product}` segment is the tilde-separated string `content_language~feed_label~offer_id`. This format is suitable only when `content_language`, `feed_label`, and `offer_id` do not contain URL-problematic characters like `/`, `%`, or `~`. We recommend using the **Encoded Format** for all product IDs to ensure correct parsing, especially those containing special characters. The presence of tilde (`~`) characters in the `{product}` segment is used to differentiate between the two formats. Note: For calls to the v1beta version, the plain format is `channel~content_language~feed_label~offer_id`, for example: `accounts/123/products/online~en~US~sku123`.", +"location": "path", +"pattern": "^accounts/[^/]+/products/[^/]+$", +"required": true, +"type": "string" +}, +"timeZone": { +"description": "Optional. The [IANA](https://www.iana.org/time-zones) timezone used to localize times in an issue resolution content. For example 'America/Los_Angeles'. If not set, results will use as a default UTC.", +"location": "query", +"type": "string" +} +}, +"path": "issueresolution/v1/{+name}:renderproductissues", +"request": { +"$ref": "RenderIssuesRequestPayload" +}, +"response": { +"$ref": "RenderProductIssuesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/content" +] +}, +"triggeraction": { +"description": "Start an action. The action can be requested by a business in third-party application. Before the business can request the action, the third-party application needs to show them action specific content and display a user input form. Access to the `triggeraction` method is restricted to an allowlist. You can request access using [Trigger action allowlist form](https://docs.google.com/forms/d/e/1FAIpQLSfeV_sBW9MBQv9BMTV6JZ1g11PGHLdHsrefca-9h0LmpU7CUg/viewform?usp=sharing). The action can be successfully started only once all `required` inputs are provided. If any `required` input is missing, or invalid value was provided, the service will return 400 error. Validation errors will contain Ids for all problematic field together with translated, human readable error messages that can be shown to the user.", +"flatPath": "issueresolution/v1/accounts/{accountsId}:triggeraction", +"httpMethod": "POST", +"id": "merchantapi.issueresolution.triggeraction", +"parameterOrder": [ +"name" +], +"parameters": { +"languageCode": { +"description": "Optional. Language code [IETF BCP 47 syntax](https://tools.ietf.org/html/bcp47) used to localize the response. If not set, the result will be in default language `en-US`.", +"location": "query", +"type": "string" +}, +"name": { +"description": "Required. The business's account that is triggering the action. Format: `accounts/{account}`", +"location": "path", +"pattern": "^accounts/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "issueresolution/v1/{+name}:triggeraction", +"request": { +"$ref": "TriggerActionPayload" +}, +"response": { +"$ref": "TriggerActionResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/content" +] +} +} +} +}, +"revision": "20260223", +"rootUrl": "https://merchantapi.googleapis.com/", +"schemas": { +"Action": { +"description": "An actionable step that can be executed to solve the issue.", +"id": "Action", +"properties": { +"builtinSimpleAction": { +"$ref": "BuiltInSimpleAction", +"description": "Action implemented and performed in (your) third-party application. The application should point the business to the place, where they can access the corresponding functionality or provide instructions, if the specific functionality is not available." +}, +"builtinUserInputAction": { +"$ref": "BuiltInUserInputAction", +"description": "Action implemented and performed in (your) third-party application. The application needs to show an additional content and input form to the business as specified for given action. They can trigger the action only when they provided all required inputs." +}, +"buttonLabel": { +"description": "Label of the action button.", +"type": "string" +}, +"externalAction": { +"$ref": "ExternalAction", +"description": "Action that is implemented and performed outside of (your) third-party application. The application needs to redirect the business to the external location where they can perform the action." +}, +"isAvailable": { +"description": "Controlling whether the button is active or disabled. The value is 'false' when the action was already requested or is not available. If the action is not available then a reason will be present. If (your) third-party application shows a disabled button for action that is not available, then it should also show reasons.", +"type": "boolean" +}, +"reasons": { +"description": "List of reasons why the action is not available. The list of reasons is empty if the action is available. If there is only one reason, it can be displayed next to the disabled button. If there are more reasons, all of them should be displayed, for example in a pop-up dialog.", +"items": { +"$ref": "Reason" +}, +"type": "array" +} +}, +"type": "object" +}, +"ActionFlow": { +"description": "Flow that can be selected for an action. When a business selects a flow, application should open a dialog with more information and input form.", +"id": "ActionFlow", +"properties": { +"dialogButtonLabel": { +"description": "Label for the button to trigger the action from the action dialog. For example: \"Request review\"", +"type": "string" +}, +"dialogCallout": { +"$ref": "Callout", +"description": "Important message to be highlighted in the request dialog. For example: \"You can only request a review for disagreeing with this issue once. If it's not approved, you'll need to fix the issue and wait a few days before you can request another review.\"" +}, +"dialogMessage": { +"$ref": "TextWithTooltip", +"description": "Message displayed in the request dialog. For example: \"Make sure you've fixed all your country-specific issues. If not, you may have to wait 7 days to request another review\". There may be an more information to be shown in a tooltip." +}, +"dialogTitle": { +"description": "Title of the request dialog. For example: \"Before you request a review\"", +"type": "string" +}, +"id": { +"description": "Not for display but need to be sent back for the selected action flow.", +"type": "string" +}, +"inputs": { +"description": "A list of input fields.", +"items": { +"$ref": "InputField" +}, +"type": "array" +}, +"label": { +"description": "Text value describing the intent for the action flow. It can be used as an input label if business needs to pick one of multiple flows. For example: \"I disagree with the issue\"", +"type": "string" +} +}, +"type": "object" +}, +"ActionInput": { +"description": "Input provided by the business.", +"id": "ActionInput", +"properties": { +"actionFlowId": { +"description": "Required. Id of the selected action flow.", +"type": "string" +}, +"inputValues": { +"description": "Required. Values for input fields.", +"items": { +"$ref": "InputValue" +}, +"type": "array" +} +}, +"type": "object" +}, +"AdditionalContent": { +"description": "Long text from external source.", +"id": "AdditionalContent", +"properties": { +"paragraphs": { +"description": "Long text organized into paragraphs.", +"items": { +"type": "string" +}, +"type": "array" +}, +"title": { +"description": "Title of the additional content;", +"type": "string" +} +}, +"type": "object" +}, +"AggregateProductStatus": { +"description": "Aggregate product statuses for a given reporting context and country.", +"id": "AggregateProductStatus", +"properties": { +"country": { +"description": "The country of the aggregate product statuses. Represented as a [CLDR territory code](https://github.com/unicode-org/cldr/blob/latest/common/main/en.xml).", +"type": "string" +}, +"itemLevelIssues": { +"description": "The product issues that affect the given reporting context and country.", +"items": { +"$ref": "ItemLevelIssue" +}, +"type": "array" +}, +"name": { +"description": "Identifier. The name of the `AggregateProductStatuses` resource. Format: `accounts/{account}/aggregateProductStatuses/{aggregateProductStatuses}`", +"type": "string" +}, +"reportingContext": { +"description": "The reporting context of the aggregate product statuses.", +"enum": [ +"REPORTING_CONTEXT_ENUM_UNSPECIFIED", +"SHOPPING_ADS", +"DISCOVERY_ADS", +"DEMAND_GEN_ADS", +"DEMAND_GEN_ADS_DISCOVER_SURFACE", +"VIDEO_ADS", +"DISPLAY_ADS", +"LOCAL_INVENTORY_ADS", +"VEHICLE_INVENTORY_ADS", +"FREE_LISTINGS", +"FREE_LISTINGS_UCP_CHECKOUT", +"FREE_LOCAL_LISTINGS", +"FREE_LOCAL_VEHICLE_LISTINGS", +"YOUTUBE_AFFILIATE", +"YOUTUBE_SHOPPING", +"CLOUD_RETAIL", +"LOCAL_CLOUD_RETAIL", +"PRODUCT_REVIEWS", +"MERCHANT_REVIEWS", +"YOUTUBE_CHECKOUT" +], +"enumDeprecated": [ +false, +false, +true, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false +], +"enumDescriptions": [ +"Not specified.", +"[Shopping ads](https://support.google.com/merchants/answer/6149970).", +"Deprecated: Use `DEMAND_GEN_ADS` instead. [Discovery and Demand Gen ads](https://support.google.com/merchants/answer/13389785).", +"[Demand Gen ads](https://support.google.com/merchants/answer/13389785).", +"[Demand Gen ads on Discover surface](https://support.google.com/merchants/answer/13389785).", +"[Video ads](https://support.google.com/google-ads/answer/6340491).", +"[Display ads](https://support.google.com/merchants/answer/6069387).", +"[Local inventory ads](https://support.google.com/merchants/answer/3271956).", +"[Vehicle inventory ads](https://support.google.com/merchants/answer/11544533).", +"[Free product listings](https://support.google.com/merchants/answer/9199328).", +"[Free product listings on UCP checkout](https://developers.google.com/merchant/ucp).", +"[Free local product listings](https://support.google.com/merchants/answer/9825611).", +"[Free local vehicle listings](https://support.google.com/merchants/answer/11544533).", +"[Youtube Affiliate](https://support.google.com/youtube/answer/13376398).", +"[YouTube Shopping](https://support.google.com/merchants/answer/13478370).", +"[Cloud retail](https://cloud.google.com/solutions/retail).", +"[Local cloud retail](https://cloud.google.com/solutions/retail).", +"[Product Reviews](https://support.google.com/merchants/answer/14620732).", +"[Merchant Reviews](https://developers.google.com/merchant-review-feeds).", +"YouTube Checkout ." +], +"type": "string" +}, +"stats": { +"$ref": "Stats", +"description": "Products statistics for the given reporting context and country." +} +}, +"type": "object" +}, +"Breakdown": { +"description": "A detailed impact breakdown for a group of regions where the impact of the issue on different shopping destinations is the same.", +"id": "Breakdown", +"properties": { +"details": { +"description": "Human readable, localized description of issue's effect on different targets. Should be rendered as a list. For example: * \"Products not showing in ads\" * \"Products not showing organically\"", +"items": { +"type": "string" +}, +"type": "array" +}, +"regions": { +"description": "Lists of regions. Should be rendered as a title for this group of details. The full list should be shown to the business. If the list is too long, it is recommended to make it expandable.", +"items": { +"$ref": "Region" +}, +"type": "array" +} +}, +"type": "object" +}, +"BuiltInSimpleAction": { +"description": "Action that is implemented and performed in (your) third-party application. Represents various functionality that is expected to be available to business and will help them with resolving the issue. The application should point the business to the place, where they can access the corresponding functionality. If the functionality is not supported, it is recommended to explain the situation to the business and provide them with instructions how to solve the issue.", +"id": "BuiltInSimpleAction", +"properties": { +"additionalContent": { +"$ref": "AdditionalContent", +"description": "Long text from an external source that should be available to the business. Present when the type is `SHOW_ADDITIONAL_CONTENT`." +}, +"attributeCode": { +"description": "The attribute that needs to be updated. Present when the type is `EDIT_ITEM_ATTRIBUTE`. This field contains a code for attribute, represented in snake_case. You can find a list of product's attributes, with their codes [here](https://support.google.com/merchants/answer/7052112).", +"type": "string" +}, +"type": { +"description": "The type of action that represents a functionality that is expected to be available in third-party application.", +"enum": [ +"BUILT_IN_SIMPLE_ACTION_TYPE_UNSPECIFIED", +"VERIFY_PHONE", +"CLAIM_WEBSITE", +"ADD_PRODUCTS", +"ADD_CONTACT_INFO", +"LINK_ADS_ACCOUNT", +"ADD_BUSINESS_REGISTRATION_NUMBER", +"EDIT_ITEM_ATTRIBUTE", +"FIX_ACCOUNT_ISSUE", +"SHOW_ADDITIONAL_CONTENT" +], +"enumDescriptions": [ +"Default value. Will never be provided by the API.", +"Redirect the business to the part of your application where they can verify their phone.", +"Redirect the business to the part of your application where they can claim their website.", +"Redirect the business to the part of your application where they can add products.", +"Open a form where the business can edit their contact information.", +"Redirect the business to the part of your application where they can link ads account.", +"Open a form where the business can add their business registration number.", +"Open a form where the business can edit an attribute. The attribute that needs to be updated is specified in attribute_code field of the action.", +"Redirect the business from the product issues to the diagnostic page with their account issues in your application. This action will be returned only for product issues that are caused by an account issue and thus the business should resolve the problem on the account level.", +"Show additional content to the business. This action will be used for example to deliver a justification from national authority." +], +"type": "string" +} +}, +"type": "object" +}, +"BuiltInUserInputAction": { +"description": "Action that is implemented and performed in (your) third-party application. The application needs to show an additional content and input form to the business. They can start the action only when they provided all required inputs. The application will request processing of the action by calling the [triggeraction method](https://developers.google.com/merchant/api/reference/rest/issueresolution_v1/issueresolution/triggeraction).", +"id": "BuiltInUserInputAction", +"properties": { +"actionContext": { +"description": "Contains the action's context that must be included as part of the TriggerActionPayload.action_context in TriggerActionRequest.payload to call the `triggeraction` method. The content should be treated as opaque and must not be modified.", +"type": "string" +}, +"flows": { +"description": "Actions may provide multiple different flows. Business selects one that fits best to their intent. Selecting the flow is the first step in user's interaction with the action. It affects what input fields will be available and required and also how the request will be processed.", +"items": { +"$ref": "ActionFlow" +}, +"type": "array" +} +}, +"type": "object" +}, +"Callout": { +"description": "An important message that should be highlighted. Usually displayed as a banner.", +"id": "Callout", +"properties": { +"fullMessage": { +"$ref": "TextWithTooltip", +"description": "A full message that needs to be shown to the business." +}, +"styleHint": { +"description": "Can be used to render messages with different severity in different styles. Snippets off all types contain important information that should be displayed to the business.", +"enum": [ +"CALLOUT_STYLE_HINT_UNSPECIFIED", +"ERROR", +"WARNING", +"INFO" +], +"enumDescriptions": [ +"Default value. Will never be provided by the API.", +"The most important type of information highlighting problems, like an unsuccessful outcome of previously requested actions.", +"Information warning about pending problems, risks or deadlines.", +"Default severity for important information like pending status of previously requested action or cooldown for re-review." +], +"type": "string" +} +}, +"type": "object" +}, +"CheckboxInput": { +"description": "Checkbox input allows the business to provide a boolean value. Corresponds to the [html input type=checkbox](https://www.w3.org/TR/2012/WD-html-markup-20121025/input.checkbox.html#input.checkbox). If the business checks the box, the input value for the field is `true`, otherwise it is `false`. This type of input is often used as a confirmation that the business completed required steps before they are allowed to start the action. In such a case, the input field is marked as required and the button to trigger the action should stay disabled until the business checks the box.", +"id": "CheckboxInput", +"properties": {}, +"type": "object" +}, +"CheckboxInputValue": { +"description": "Value for checkbox input field.", +"id": "CheckboxInputValue", +"properties": { +"value": { +"description": "Required. True if the business checked the box field. False otherwise.", +"type": "boolean" +} +}, +"type": "object" +}, +"ChoiceInput": { +"description": "Choice input allows the business to select one of the offered choices. Some choices may be linked to additional input fields that should be displayed under or next to the choice option. The value for the additional input field needs to be provided only when the specific choice is selected by the the business. For example, additional input field can be hidden or disabled until the business selects the specific choice.", +"id": "ChoiceInput", +"properties": { +"options": { +"description": "A list of choices. Only one option can be selected.", +"items": { +"$ref": "ChoiceInputOption" +}, +"type": "array" +} +}, +"type": "object" +}, +"ChoiceInputOption": { +"description": "A choice that the business can select.", +"id": "ChoiceInputOption", +"properties": { +"additionalInput": { +"$ref": "InputField", +"description": "Input that should be displayed when this option is selected. The additional input will not contain a `ChoiceInput`." +}, +"id": { +"description": "Not for display but need to be sent back for the selected choice option.", +"type": "string" +}, +"label": { +"$ref": "TextWithTooltip", +"description": "Short description of the choice option. There may be more information to be shown as a tooltip." +} +}, +"type": "object" +}, +"ChoiceInputValue": { +"description": "Value for choice input field.", +"id": "ChoiceInputValue", +"properties": { +"choiceInputOptionId": { +"description": "Required. Id of the option that was selected by the business.", +"type": "string" +} +}, +"type": "object" +}, +"ExternalAction": { +"description": "Action that is implemented and performed outside of the third-party application. It should redirect the business to the provided URL of an external system where they can perform the action. For example to request a review in the Merchant Center.", +"id": "ExternalAction", +"properties": { +"type": { +"description": "The type of external action.", +"enum": [ +"EXTERNAL_ACTION_TYPE_UNSPECIFIED", +"REVIEW_PRODUCT_ISSUE_IN_MERCHANT_CENTER", +"REVIEW_ACCOUNT_ISSUE_IN_MERCHANT_CENTER", +"LEGAL_APPEAL_IN_HELP_CENTER", +"VERIFY_IDENTITY_IN_MERCHANT_CENTER", +"VERIFY_BUSINESS_VIDEO_IN_MERCHANT_CENTER" +], +"enumDescriptions": [ +"Default value. Will never be provided by the API.", +"Redirect to Merchant Center where the business can request a review for issue related to their product.", +"Redirect to Merchant Center where the business can request a review for issue related to their account.", +"Redirect to the form in Help Center where the business can request a legal appeal for the issue.", +"Redirect to Merchant Center where the business can perform identity verification.", +"Redirect to Merchant Center where the business can perform business video verification." +], +"type": "string" +}, +"uri": { +"description": "URL to external system, for example Merchant Center, where the business can perform the action.", +"type": "string" +} +}, +"type": "object" +}, +"Impact": { +"description": "Overall impact of the issue.", +"id": "Impact", +"properties": { +"breakdowns": { +"description": "Detailed impact breakdown. Explains the types of restriction the issue has in different shopping destinations and territory. If present, it should be rendered to the business. Can be shown as a mouse over dropdown or a dialog. Each breakdown item represents a group of regions with the same impact details.", +"items": { +"$ref": "Breakdown" +}, +"type": "array" +}, +"message": { +"description": "Optional. Message summarizing the overall impact of the issue. If present, it should be rendered to the business. For example: \"Disapproves 90k offers in 25 countries\"", +"type": "string" +}, +"severity": { +"description": "The severity of the issue.", +"enum": [ +"SEVERITY_UNSPECIFIED", +"ERROR", +"WARNING", +"INFO" +], +"enumDescriptions": [ +"Default value. Will never be provided by the API.", +"Causes either an account suspension or an item disapproval. Errors should be resolved as soon as possible to ensure items are eligible to appear in results again.", +"Warnings can negatively impact the performance of ads and can lead to item or account suspensions in the future unless the issue is resolved.", +"Infos are suggested optimizations to increase data quality. Resolving these issues is recommended, but not required." +], +"type": "string" +} +}, +"type": "object" +}, +"InputField": { +"description": "Input field that needs to be available to the business. If the field is marked as required, then a value needs to be provided for a successful processing of the request.", +"id": "InputField", +"properties": { +"checkboxInput": { +"$ref": "CheckboxInput", +"description": "Input field to provide a boolean value. Corresponds to the [html input type=checkbox](https://www.w3.org/TR/2012/WD-html-markup-20121025/input.checkbox.html#input.checkbox)." +}, +"choiceInput": { +"$ref": "ChoiceInput", +"description": "Input field to select one of the offered choices. Corresponds to the [html input type=radio](https://www.w3.org/TR/2012/WD-html-markup-20121025/input.radio.html#input.radio)." +}, +"id": { +"description": "Not for display but need to be sent back for the given input field.", +"type": "string" +}, +"label": { +"$ref": "TextWithTooltip", +"description": "Input field label. There may be more information to be shown in a tooltip." +}, +"required": { +"description": "Whether the field is required. The action button needs to stay disabled till values for all required fields are provided.", +"type": "boolean" +}, +"textInput": { +"$ref": "TextInput", +"description": "Input field to provide text information. Corresponds to the [html input type=text](https://www.w3.org/TR/2012/WD-html-markup-20121025/input.text.html#input.text) or [html textarea](https://www.w3.org/TR/2012/WD-html-markup-20121025/textarea.html#textarea)." +} +}, +"type": "object" +}, +"InputValue": { +"description": "Input provided by the business for input field.", +"id": "InputValue", +"properties": { +"checkboxInputValue": { +"$ref": "CheckboxInputValue", +"description": "Value for checkbox input field." +}, +"choiceInputValue": { +"$ref": "ChoiceInputValue", +"description": "Value for choice input field." +}, +"inputFieldId": { +"description": "Required. Id of the corresponding input field.", +"type": "string" +}, +"textInputValue": { +"$ref": "TextInputValue", +"description": "Value for text input field." +} +}, +"type": "object" +}, +"ItemLevelIssue": { +"description": "The ItemLevelIssue of the product status.", +"id": "ItemLevelIssue", +"properties": { +"attribute": { +"description": "The attribute's name, if the issue is caused by a single attribute.", +"type": "string" +}, +"code": { +"description": "The error code of the issue.", +"type": "string" +}, +"description": { +"description": "A short issue description in English.", +"type": "string" +}, +"detail": { +"description": "A detailed issue description in English.", +"type": "string" +}, +"documentationUri": { +"description": "The URL of a web page to help with resolving this issue.", +"type": "string" +}, +"productCount": { +"description": "The number of products affected by this issue.", +"format": "int64", +"type": "string" +}, +"resolution": { +"description": "Whether the issue can be resolved by the merchant.", +"enum": [ +"RESOLUTION_UNSPECIFIED", +"MERCHANT_ACTION", +"PENDING_PROCESSING" +], +"enumDescriptions": [ +"Not specified.", +"The issue can be resolved by the merchant.", +"The issue will be resolved auomatically." +], +"type": "string" +}, +"severity": { +"description": "How this issue affects serving of the offer.", +"enum": [ +"SEVERITY_UNSPECIFIED", +"NOT_IMPACTED", +"DEMOTED", +"DISAPPROVED" +], +"enumDescriptions": [ +"Not specified.", +"This issue represents a warning and does not have a direct affect on the product.", +"The product is demoted and most likely have limited performance in search results", +"Issue disapproves the product." +], +"type": "string" +} +}, +"type": "object" +}, +"ListAggregateProductStatusesResponse": { +"description": "Response message for the `ListAggregateProductStatuses` method.", +"id": "ListAggregateProductStatusesResponse", +"properties": { +"aggregateProductStatuses": { +"description": "The `AggregateProductStatuses` resources for the given account.", +"items": { +"$ref": "AggregateProductStatus" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A token, which can be sent as `pageToken` to retrieve the next page. If this field is omitted, there are no subsequent pages.", +"type": "string" +} +}, +"type": "object" +}, +"ProductChange": { +"description": "The change that happened to the product including old value, new value, country code as the region code and reporting context.", +"id": "ProductChange", +"properties": { +"newValue": { +"description": "The new value of the changed resource or attribute. If empty, it means that the product was deleted. Will have one of these values : (`approved`, `pending`, `disapproved`, ``)", +"type": "string" +}, +"oldValue": { +"description": "The old value of the changed resource or attribute. If empty, it means that the product was created. Will have one of these values : (`approved`, `pending`, `disapproved`, ``)", +"type": "string" +}, +"regionCode": { +"description": "Countries that have the change (if applicable). Represented in the ISO 3166 format.", +"type": "string" +}, +"reportingContext": { +"description": "Reporting contexts that have the change (if applicable). Currently this field supports only (`SHOPPING_ADS`, `LOCAL_INVENTORY_ADS`, `YOUTUBE_SHOPPING`, `YOUTUBE_CHECKOUT`, `YOUTUBE_AFFILIATE`) from the enum value [ReportingContextEnum](/merchant/api/reference/rest/Shared.Types/ReportingContextEnum)", +"enum": [ +"REPORTING_CONTEXT_ENUM_UNSPECIFIED", +"SHOPPING_ADS", +"DISCOVERY_ADS", +"DEMAND_GEN_ADS", +"DEMAND_GEN_ADS_DISCOVER_SURFACE", +"VIDEO_ADS", +"DISPLAY_ADS", +"LOCAL_INVENTORY_ADS", +"VEHICLE_INVENTORY_ADS", +"FREE_LISTINGS", +"FREE_LISTINGS_UCP_CHECKOUT", +"FREE_LOCAL_LISTINGS", +"FREE_LOCAL_VEHICLE_LISTINGS", +"YOUTUBE_AFFILIATE", +"YOUTUBE_SHOPPING", +"CLOUD_RETAIL", +"LOCAL_CLOUD_RETAIL", +"PRODUCT_REVIEWS", +"MERCHANT_REVIEWS", +"YOUTUBE_CHECKOUT" +], +"enumDeprecated": [ +false, +false, +true, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false +], +"enumDescriptions": [ +"Not specified.", +"[Shopping ads](https://support.google.com/merchants/answer/6149970).", +"Deprecated: Use `DEMAND_GEN_ADS` instead. [Discovery and Demand Gen ads](https://support.google.com/merchants/answer/13389785).", +"[Demand Gen ads](https://support.google.com/merchants/answer/13389785).", +"[Demand Gen ads on Discover surface](https://support.google.com/merchants/answer/13389785).", +"[Video ads](https://support.google.com/google-ads/answer/6340491).", +"[Display ads](https://support.google.com/merchants/answer/6069387).", +"[Local inventory ads](https://support.google.com/merchants/answer/3271956).", +"[Vehicle inventory ads](https://support.google.com/merchants/answer/11544533).", +"[Free product listings](https://support.google.com/merchants/answer/9199328).", +"[Free product listings on UCP checkout](https://developers.google.com/merchant/ucp).", +"[Free local product listings](https://support.google.com/merchants/answer/9825611).", +"[Free local vehicle listings](https://support.google.com/merchants/answer/11544533).", +"[Youtube Affiliate](https://support.google.com/youtube/answer/13376398).", +"[YouTube Shopping](https://support.google.com/merchants/answer/13478370).", +"[Cloud retail](https://cloud.google.com/solutions/retail).", +"[Local cloud retail](https://cloud.google.com/solutions/retail).", +"[Product Reviews](https://support.google.com/merchants/answer/14620732).", +"[Merchant Reviews](https://developers.google.com/merchant-review-feeds).", +"YouTube Checkout ." +], +"type": "string" +} +}, +"type": "object" +}, +"ProductStatusChangeMessage": { +"description": "The message that the merchant will receive to notify about product status change event", +"id": "ProductStatusChangeMessage", +"properties": { +"account": { +"description": "The target account that owns the entity that changed. Format : `accounts/{merchant_id}`", +"type": "string" +}, +"attribute": { +"description": "The attribute in the resource that changed, in this case it will be always `Status`.", +"enum": [ +"ATTRIBUTE_UNSPECIFIED", +"STATUS" +], +"enumDescriptions": [ +"Unspecified attribute", +"Status of the changed entity" +], +"type": "string" +}, +"changes": { +"description": "A message to describe the change that happened to the product", +"items": { +"$ref": "ProductChange" +}, +"type": "array" +}, +"eventTime": { +"description": "The time at which the event was generated. If you want to order the notification messages you receive you should rely on this field not on the order of receiving the notifications.", +"format": "google-datetime", +"type": "string" +}, +"expirationTime": { +"description": "Optional. The product expiration time. This field will not be set if the notification is sent for a product deletion event.", +"format": "google-datetime", +"type": "string" +}, +"managingAccount": { +"description": "The account that manages the merchant's account. can be the same as merchant id if it is standalone account. Format : `accounts/{service_provider_id}`", +"type": "string" +}, +"resource": { +"description": "The product name. Format: `accounts/{account}/products/{product}`", +"type": "string" +}, +"resourceId": { +"description": "The product id.", +"type": "string" +}, +"resourceType": { +"description": "The resource that changed, in this case it will always be `Product`.", +"enum": [ +"RESOURCE_UNSPECIFIED", +"PRODUCT" +], +"enumDescriptions": [ +"Unspecified resource", +"Resource type : product" +], +"type": "string" +} +}, +"type": "object" +}, +"Reason": { +"description": "A single reason why the action is not available.", +"id": "Reason", +"properties": { +"action": { +"$ref": "Action", +"description": "Optional. An action that needs to be performed to solve the problem represented by this reason. This action will always be available. Should be rendered as a link or button next to the summarizing message. For example, the review may be available only once the business configure all required attributes. In such a situation this action can be a link to the form, where they can fill the missing attribute to unblock the main action." +}, +"detail": { +"description": "Detailed explanation of the reason. Should be displayed as a hint if present.", +"type": "string" +}, +"message": { +"description": "Messages summarizing the reason, why the action is not available. For example: \"Review requested on Jan 03. Review requests can take a few days to complete.\"", +"type": "string" +} +}, +"type": "object" +}, +"Region": { +"description": "Region with code and localized name.", +"id": "Region", +"properties": { +"code": { +"description": "The [CLDR territory code] (http://www.unicode.org/repos/cldr/tags/latest/common/main/en.xml)", +"type": "string" +}, +"name": { +"description": "The localized name of the region. For region with code='001' the value is 'All countries' or the equivalent in other languages.", +"type": "string" +} +}, +"type": "object" +}, +"RenderAccountIssuesResponse": { +"description": "Response containing an issue resolution content and actions for listed account issues.", +"id": "RenderAccountIssuesResponse", +"properties": { +"renderedIssues": { +"description": "List of account issues for a given account. This list can be shown with compressed, expandable items. In the compressed form, the title and impact should be shown for each issue. Once the issue is expanded, the detailed content and available actions should be rendered.", +"items": { +"$ref": "RenderedIssue" +}, +"type": "array" +} +}, +"type": "object" +}, +"RenderIssuesRequestPayload": { +"description": "The payload for configuring how the content should be rendered.", +"id": "RenderIssuesRequestPayload", +"properties": { +"contentOption": { +"description": "Optional. How the detailed content should be returned. Default option is to return the content as a pre-rendered HTML text.", +"enum": [ +"CONTENT_OPTION_UNSPECIFIED", +"PRE_RENDERED_HTML" +], +"enumDescriptions": [ +"Default value. Will never be provided by the API.", +"Returns the detail of the issue as a pre-rendered HTML text." +], +"type": "string" +}, +"userInputActionOption": { +"description": "Optional. How actions with user input form should be handled. If not provided, actions will be returned as links that points the business to Merchant Center where they can request the action.", +"enum": [ +"USER_INPUT_ACTION_RENDERING_OPTION_UNSPECIFIED", +"REDIRECT_TO_MERCHANT_CENTER", +"BUILT_IN_USER_INPUT_ACTIONS" +], +"enumDescriptions": [ +"Default value. Will never be provided by the API.", +"Actions that require user input are represented only as links that points the business to Merchant Center where they can request the action. Provides easier to implement alternative to `BUILT_IN_USER_INPUT_ACTIONS`.", +"Returns content and input form definition for each complex action. Your application needs to display this content and input form to the business before they can request processing of the action. To start the action, your application needs to call the `triggeraction` method." +], +"type": "string" +} +}, +"type": "object" +}, +"RenderProductIssuesResponse": { +"description": "Response containing an issue resolution content and actions for listed product issues.", +"id": "RenderProductIssuesResponse", +"properties": { +"renderedIssues": { +"description": "List of issues for a given product. This list can be shown with compressed, expandable items. In the compressed form, the title and impact should be shown for each issue. Once the issue is expanded, the detailed content and available actions should be rendered.", +"items": { +"$ref": "RenderedIssue" +}, +"type": "array" +} +}, +"type": "object" +}, +"RenderedIssue": { +"description": "An issue affecting specific business or their product.", +"id": "RenderedIssue", +"properties": { +"actions": { +"description": "A list of actionable steps that can be executed to solve the issue. An example is requesting a re-review or providing arguments when business disagrees with the issue. Actions that are supported in (your) third-party application can be rendered as buttons and should be available to the business when they expand the issue.", +"items": { +"$ref": "Action" +}, +"type": "array" +}, +"impact": { +"$ref": "Impact", +"description": "Clarifies the severity of the issue. The summarizing message, if present, should be shown right under the title for each issue. It helps business to quickly understand the impact of the issue. The detailed breakdown helps the business to fully understand the impact of the issue. It can be rendered as dialog that opens when the business mouse over the summarized impact statement. Issues with different severity can be styled differently. They may use a different color or icon to signal the difference between `ERROR`, `WARNING` and `INFO`." +}, +"prerenderedContent": { +"description": "Details of the issue as a pre-rendered HTML. HTML elements contain CSS classes that can be used to customize the style of the content. Always sanitize the HTML before embedding it directly to your application. The sanitizer needs to allow basic HTML tags, such as: `div`, `span`, `p`, `a`, `ul`, `li`, `table`, `tr`, `td`. For example, you can use [DOMPurify](https://www.npmjs.com/package/dompurify). CSS classes: * `issue-detail` - top level container for the detail of the issue * `callout-banners` - section of the `issue-detail` with callout banners * `callout-banner` - single callout banner, inside `callout-banners` * `callout-banner-info` - callout with important information (default) * `callout-banner-warning` - callout with a warning * `callout-banner-error` - callout informing about an error (most severe) * `issue-content` - section of the `issue-detail`, contains multiple `content-element` * `content-element` - content element such as a list, link or paragraph, inside `issue-content` * `root-causes` - unordered list with items describing root causes of the issue, inside `issue-content` * `root-causes-intro` - intro text before the `root-causes` list, inside `issue-content` * `segment` - section of the text, `span` inside paragraph * `segment-attribute` - section of the text that represents a product attribute, for example 'image\\_link' * `segment-literal` - section of the text that contains a special value, for example '0-1000 kg' * `segment-bold` - section of the text that should be rendered as bold * `segment-italic` - section of the text that should be rendered as italic * `tooltip` - used on paragraphs that should be rendered with a tooltip. A section of the text in such a paragraph will have a class `tooltip-text` and is intended to be shown in a mouse over dialog. If the style is not used, the `tooltip-text` section would be shown on a new line, after the main part of the text. * `tooltip-text` - marks a section of the text within a `tooltip`, that is intended to be shown in a mouse over dialog. * `tooltip-icon` - marks a section of the text within a `tooltip`, that can be replaced with a tooltip icon, for example '?' or 'i'. By default, this section contains a `br` tag, that is separating the main text and the tooltip text when the style is not used. * `tooltip-style-question` - the tooltip shows helpful information, can use the '?' as an icon. * `tooltip-style-info` - the tooltip adds additional information fitting to the context, can use the 'i' as an icon. * `content-moderation` - marks the paragraph that explains how the issue was identified. * `new-element` - Present for new elements added to the pre-rendered content in the future. To make sure that a new content element does not break your style, you can hide everything with this class.", +"type": "string" +}, +"prerenderedOutOfCourtDisputeSettlement": { +"description": "Pre-rendered HTML that contains a link to the external location where the ODS can be requested and instructions for how to request it. HTML elements contain CSS classes that can be used to customize the style of this snippet. Always sanitize the HTML before embedding it directly to your application. The sanitizer needs to allow basic HTML tags, such as: `div`, `span`, `p`, `a`, `ul`, `li`, `table`, `tr`, `td`. For example, you can use [DOMPurify](https://www.npmjs.com/package/dompurify). CSS classes: * `ods-section`* - wrapper around the out-of-court dispute resolution section * `ods-description`* - intro text for the out-of-court dispute resolution. It may contain multiple segments and a link. * `ods-param`* - wrapper around the header-value pair for parameters that the business may need to provide during the ODS process. * `ods-routing-id`* - ods param for the Routing ID. * `ods-reference-id`* - ods param for the Routing ID. * `ods-param-header`* - header for the ODS parameter * `ods-param-value`* - value of the ODS parameter. This value should be rendered in a way that it is easy for the user to identify and copy. * `segment` - section of the text, `span` inside paragraph * `segment-attribute` - section of the text that represents a product attribute, for example 'image\\_link' * `segment-literal` - section of the text that contains a special value, for example '0-1000 kg' * `segment-bold` - section of the text that should be rendered as bold * `segment-italic` - section of the text that should be rendered as italic * `tooltip` - used on paragraphs that should be rendered with a tooltip. A section of the text in such a paragraph will have a class `tooltip-text` and is intended to be shown in a mouse over dialog. If the style is not used, the `tooltip-text` section would be shown on a new line, after the main part of the text. * `tooltip-text` - marks a section of the text within a `tooltip`, that is intended to be shown in a mouse over dialog. * `tooltip-icon` - marks a section of the text within a `tooltip`, that can be replaced with a tooltip icon, for example '?' or 'i'. By default, this section contains a `br` tag, that is separating the main text and the tooltip text when the style is not used. * `tooltip-style-question` - the tooltip shows helpful information, can use the '?' as an icon. * `tooltip-style-info` - the tooltip adds additional information fitting to the context, can use the 'i' as an icon.", +"type": "string" +}, +"title": { +"description": "Title of the issue.", +"type": "string" +} +}, +"type": "object" +}, +"Stats": { +"description": "Products statistics.", +"id": "Stats", +"properties": { +"activeCount": { +"description": "The number of products that are active.", +"format": "int64", +"type": "string" +}, +"disapprovedCount": { +"description": "The number of products that are disapproved.", +"format": "int64", +"type": "string" +}, +"expiringCount": { +"description": "The number of products that are expiring.", +"format": "int64", +"type": "string" +}, +"pendingCount": { +"description": "The number of products that are pending.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"TextInput": { +"description": "Text input allows the business to provide a text value.", +"id": "TextInput", +"properties": { +"additionalInfo": { +"$ref": "TextWithTooltip", +"description": "Additional info regarding the field to be displayed to the business. For example, warning to not include personal identifiable information. There may be more information to be shown in a tooltip." +}, +"ariaLabel": { +"description": "Text to be used as the [aria-label](https://www.w3.org/TR/WCAG20-TECHS/ARIA14.html) for the input.", +"type": "string" +}, +"formatInfo": { +"description": "Information about the required format. If present, it should be shown close to the input field to help the business to provide a correct value. For example: \"VAT numbers should be in a format similar to SK9999999999\"", +"type": "string" +}, +"type": { +"description": "Type of the text input", +"enum": [ +"TEXT_INPUT_TYPE_UNSPECIFIED", +"GENERIC_SHORT_TEXT", +"GENERIC_LONG_TEXT" +], +"enumDescriptions": [ +"Default value. Will never be provided by the API.", +"Used when a short text is expected. The field can be rendered as a [text field](https://www.w3.org/TR/2012/WD-html-markup-20121025/input.text.html#input.text).", +"Used when a longer text is expected. The field should be rendered as a [textarea](https://www.w3.org/TR/2012/WD-html-markup-20121025/textarea.html#textarea)." +], +"type": "string" +} +}, +"type": "object" +}, +"TextInputValue": { +"description": "Value for text input field.", +"id": "TextInputValue", +"properties": { +"value": { +"description": "Required. Text provided by the business.", +"type": "string" +} +}, +"type": "object" +}, +"TextWithTooltip": { +"description": "Block of text that may contain a tooltip with more information.", +"id": "TextWithTooltip", +"properties": { +"simpleTooltipValue": { +"description": "Value of the tooltip as a simple text.", +"type": "string" +}, +"simpleValue": { +"description": "Value of the message as a simple text.", +"type": "string" +}, +"tooltipIconStyle": { +"description": "The suggested type of an icon for tooltip, if a tooltip is present.", +"enum": [ +"TOOLTIP_ICON_STYLE_UNSPECIFIED", +"INFO", +"QUESTION" +], +"enumDescriptions": [ +"Default value. Will never be provided by the API.", +"Used when the tooltip adds additional information to the context, the 'i' can be used as an icon.", +"Used when the tooltip shows helpful information, the '?' can be used as an icon." +], +"type": "string" +} +}, +"type": "object" +}, +"TriggerActionPayload": { +"description": "The payload for the triggered action.", +"id": "TriggerActionPayload", +"properties": { +"actionContext": { +"description": "Required. The context from the selected action. The value is obtained from rendered issues and needs to be sent back to identify the action that is being triggered.", +"type": "string" +}, +"actionInput": { +"$ref": "ActionInput", +"description": "Required. Input provided by the business." +} +}, +"type": "object" +}, +"TriggerActionResponse": { +"description": "Response informing about the started action.", +"id": "TriggerActionResponse", +"properties": { +"message": { +"description": "The message for the business.", +"type": "string" +} +}, +"type": "object" +} +}, +"servicePath": "", +"title": "Merchant API", +"version": "issueresolution_v1", +"version_module": true +} \ No newline at end of file diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/merchantapi.issueresolution_v1beta.json b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/merchantapi.issueresolution_v1beta.json new file mode 100644 index 0000000000000000000000000000000000000000..3b2310da4d9e60dfbcd16ba8d1678f089e739cc1 --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/merchantapi.issueresolution_v1beta.json @@ -0,0 +1,1256 @@ +{ +"auth": { +"oauth2": { +"scopes": { +"https://www.googleapis.com/auth/content": { +"description": "Manage your product listings and accounts for Google Shopping" +} +} +} +}, +"basePath": "", +"baseUrl": "https://merchantapi.googleapis.com/", +"batchPath": "batch", +"canonicalName": "Merchant", +"description": "Programmatically manage your Merchant Center Accounts.", +"discoveryVersion": "v1", +"documentationLink": "https://developers.google.com/merchant/api", +"fullyEncodeReservedExpansion": true, +"icons": { +"x16": "http://www.google.com/images/icons/product/search-16.gif", +"x32": "http://www.google.com/images/icons/product/search-32.gif" +}, +"id": "merchantapi:issueresolution_v1beta", +"kind": "discovery#restDescription", +"mtlsRootUrl": "https://merchantapi.mtls.googleapis.com/", +"name": "merchantapi", +"ownerDomain": "google.com", +"ownerName": "Google", +"parameters": { +"$.xgafv": { +"description": "V1 error format.", +"enum": [ +"1", +"2" +], +"enumDescriptions": [ +"v1 error format", +"v2 error format" +], +"location": "query", +"type": "string" +}, +"access_token": { +"description": "OAuth access token.", +"location": "query", +"type": "string" +}, +"alt": { +"default": "json", +"description": "Data format for response.", +"enum": [ +"json", +"media", +"proto" +], +"enumDescriptions": [ +"Responses with Content-Type of application/json", +"Media download with context-dependent Content-Type", +"Responses with Content-Type of application/x-protobuf" +], +"location": "query", +"type": "string" +}, +"callback": { +"description": "JSONP", +"location": "query", +"type": "string" +}, +"fields": { +"description": "Selector specifying which fields to include in a partial response.", +"location": "query", +"type": "string" +}, +"key": { +"description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", +"location": "query", +"type": "string" +}, +"oauth_token": { +"description": "OAuth 2.0 token for the current user.", +"location": "query", +"type": "string" +}, +"prettyPrint": { +"default": "true", +"description": "Returns response with indentations and line breaks.", +"location": "query", +"type": "boolean" +}, +"quotaUser": { +"description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.", +"location": "query", +"type": "string" +}, +"uploadType": { +"description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", +"location": "query", +"type": "string" +}, +"upload_protocol": { +"description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", +"location": "query", +"type": "string" +} +}, +"protocol": "rest", +"resources": { +"accounts": { +"resources": { +"aggregateProductStatuses": { +"methods": { +"list": { +"description": "Lists the `AggregateProductStatuses` resources for your merchant account. The response might contain fewer items than specified by `pageSize`. If `pageToken` was returned in previous request, it can be used to obtain additional results.", +"flatPath": "issueresolution/v1beta/accounts/{accountsId}/aggregateProductStatuses", +"httpMethod": "GET", +"id": "merchantapi.accounts.aggregateProductStatuses.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Optional. A filter expression that filters the aggregate product statuses. Filtering is only supported by the `reporting_context` and `country` field. For example: `reporting_context = \"SHOPPING_ADS\" AND country = \"US\"`.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Optional. The maximum number of aggregate product statuses to return. The service may return fewer than this value. If unspecified, at most 25 aggregate product statuses are returned. The maximum value is 250; values above 250 are coerced to 250.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. A page token, received from a previous `ListAggregateProductStatuses` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListAggregateProductStatuses` must match the call that provided the page token.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The account to list aggregate product statuses for. Format: `accounts/{account}`", +"location": "path", +"pattern": "^accounts/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "issueresolution/v1beta/{+parent}/aggregateProductStatuses", +"response": { +"$ref": "ListAggregateProductStatusesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/content" +] +} +} +} +} +}, +"issueresolution": { +"methods": { +"renderaccountissues": { +"description": "Provide a list of business's account issues with an issue resolution content and available actions. This content and actions are meant to be rendered and shown in third-party applications.", +"flatPath": "issueresolution/v1beta/accounts/{accountsId}:renderaccountissues", +"httpMethod": "POST", +"id": "merchantapi.issueresolution.renderaccountissues", +"parameterOrder": [ +"name" +], +"parameters": { +"languageCode": { +"description": "Optional. The [IETF BCP-47](https://tools.ietf.org/html/bcp47) language code used to localize issue resolution content. If not set, the result will be in default language `en-US`.", +"location": "query", +"type": "string" +}, +"name": { +"description": "Required. The account to fetch issues for. Format: `accounts/{account}`", +"location": "path", +"pattern": "^accounts/[^/]+$", +"required": true, +"type": "string" +}, +"timeZone": { +"description": "Optional. The [IANA](https://www.iana.org/time-zones) timezone used to localize times in an issue resolution content. For example 'America/Los_Angeles'. If not set, results will use as a default UTC.", +"location": "query", +"type": "string" +} +}, +"path": "issueresolution/v1beta/{+name}:renderaccountissues", +"request": { +"$ref": "RenderIssuesRequestPayload" +}, +"response": { +"$ref": "RenderAccountIssuesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/content" +] +}, +"renderproductissues": { +"description": "Provide a list of issues for business's product with an issue resolution content and available actions. This content and actions are meant to be rendered and shown in third-party applications.", +"flatPath": "issueresolution/v1beta/accounts/{accountsId}/products/{productsId}:renderproductissues", +"httpMethod": "POST", +"id": "merchantapi.issueresolution.renderproductissues", +"parameterOrder": [ +"name" +], +"parameters": { +"languageCode": { +"description": "Optional. The [IETF BCP-47](https://tools.ietf.org/html/bcp47) language code used to localize an issue resolution content. If not set, the result will be in default language `en-US`.", +"location": "query", +"type": "string" +}, +"name": { +"description": "Required. The name of the product. Format: `accounts/{account}/products/{product}` The `{product}` segment is a unique identifier for the product. This identifier must be unique within a merchant account and generally follows the structure: `content_language~feed_label~offer_id`. Example: `en~US~sku123` For legacy local products, the structure is: `local~content_language~feed_label~offer_id`. Example: `local~en~US~sku123` The format of the `{product}` segment in the URL is automatically detected by the server, supporting two options: 1. **Encoded Format**: The `{product}` segment is an unpadded base64url encoded string (RFC 4648 Section 5). The decoded string must result in the `content_language~feed_label~offer_id` structure. This encoding MUST be used if any part of the product identifier (like `offer_id`) contains characters such as `/`, `%`, or `~`. * Example: To represent the product ID `en~US~sku/123`, the `{product}` segment must be the base64url encoding of this string, which is `ZW5-VVMtc2t1LzEyMw`. The full resource name for the product would be `accounts/123/products/ZW5-VVMtc2t1LzEyMw`. 2. **Plain Format**: The `{product}` segment is the tilde-separated string `content_language~feed_label~offer_id`. This format is suitable only when `content_language`, `feed_label`, and `offer_id` do not contain URL-problematic characters like `/`, `%`, or `~`. We recommend using the **Encoded Format** for all product IDs to ensure correct parsing, especially those containing special characters. The presence of tilde (`~`) characters in the `{product}` segment is used to differentiate between the two formats. Note: For calls to the v1beta version, the plain format is `channel~content_language~feed_label~offer_id`, for example: `accounts/123/products/online~en~US~sku123`.", +"location": "path", +"pattern": "^accounts/[^/]+/products/[^/]+$", +"required": true, +"type": "string" +}, +"timeZone": { +"description": "Optional. The [IANA](https://www.iana.org/time-zones) timezone used to localize times in an issue resolution content. For example 'America/Los_Angeles'. If not set, results will use as a default UTC.", +"location": "query", +"type": "string" +} +}, +"path": "issueresolution/v1beta/{+name}:renderproductissues", +"request": { +"$ref": "RenderIssuesRequestPayload" +}, +"response": { +"$ref": "RenderProductIssuesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/content" +] +}, +"triggeraction": { +"description": "Start an action. The action can be requested by a business in third-party application. Before the business can request the action, the third-party application needs to show them action specific content and display a user input form. Access to the `triggeraction` method is restricted to an allowlist. You can request access using [Trigger action allowlist form](https://docs.google.com/forms/d/e/1FAIpQLSfeV_sBW9MBQv9BMTV6JZ1g11PGHLdHsrefca-9h0LmpU7CUg/viewform?usp=sharing). The action can be successfully started only once all `required` inputs are provided. If any `required` input is missing, or invalid value was provided, the service will return 400 error. Validation errors will contain Ids for all problematic field together with translated, human readable error messages that can be shown to the user.", +"flatPath": "issueresolution/v1beta/accounts/{accountsId}:triggeraction", +"httpMethod": "POST", +"id": "merchantapi.issueresolution.triggeraction", +"parameterOrder": [ +"name" +], +"parameters": { +"languageCode": { +"description": "Optional. Language code [IETF BCP 47 syntax](https://tools.ietf.org/html/bcp47) used to localize the response. If not set, the result will be in default language `en-US`.", +"location": "query", +"type": "string" +}, +"name": { +"description": "Required. The business's account that is triggering the action. Format: `accounts/{account}`", +"location": "path", +"pattern": "^accounts/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "issueresolution/v1beta/{+name}:triggeraction", +"request": { +"$ref": "TriggerActionPayload" +}, +"response": { +"$ref": "TriggerActionResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/content" +] +} +} +} +}, +"revision": "20260223", +"rootUrl": "https://merchantapi.googleapis.com/", +"schemas": { +"Action": { +"description": "An actionable step that can be executed to solve the issue.", +"id": "Action", +"properties": { +"builtinSimpleAction": { +"$ref": "BuiltInSimpleAction", +"description": "Action implemented and performed in (your) third-party application. The application should point the business to the place, where they can access the corresponding functionality or provide instructions, if the specific functionality is not available." +}, +"builtinUserInputAction": { +"$ref": "BuiltInUserInputAction", +"description": "Action implemented and performed in (your) third-party application. The application needs to show an additional content and input form to the business as specified for given action. They can trigger the action only when they provided all required inputs." +}, +"buttonLabel": { +"description": "Label of the action button.", +"type": "string" +}, +"externalAction": { +"$ref": "ExternalAction", +"description": "Action that is implemented and performed outside of (your) third-party application. The application needs to redirect the business to the external location where they can perform the action." +}, +"isAvailable": { +"description": "Controlling whether the button is active or disabled. The value is 'false' when the action was already requested or is not available. If the action is not available then a reason will be present. If (your) third-party application shows a disabled button for action that is not available, then it should also show reasons.", +"type": "boolean" +}, +"reasons": { +"description": "List of reasons why the action is not available. The list of reasons is empty if the action is available. If there is only one reason, it can be displayed next to the disabled button. If there are more reasons, all of them should be displayed, for example in a pop-up dialog.", +"items": { +"$ref": "Reason" +}, +"type": "array" +} +}, +"type": "object" +}, +"ActionFlow": { +"description": "Flow that can be selected for an action. When a business selects a flow, application should open a dialog with more information and input form.", +"id": "ActionFlow", +"properties": { +"dialogButtonLabel": { +"description": "Label for the button to trigger the action from the action dialog. For example: \"Request review\"", +"type": "string" +}, +"dialogCallout": { +"$ref": "Callout", +"description": "Important message to be highlighted in the request dialog. For example: \"You can only request a review for disagreeing with this issue once. If it's not approved, you'll need to fix the issue and wait a few days before you can request another review.\"" +}, +"dialogMessage": { +"$ref": "TextWithTooltip", +"description": "Message displayed in the request dialog. For example: \"Make sure you've fixed all your country-specific issues. If not, you may have to wait 7 days to request another review\". There may be an more information to be shown in a tooltip." +}, +"dialogTitle": { +"description": "Title of the request dialog. For example: \"Before you request a review\"", +"type": "string" +}, +"id": { +"description": "Not for display but need to be sent back for the selected action flow.", +"type": "string" +}, +"inputs": { +"description": "A list of input fields.", +"items": { +"$ref": "InputField" +}, +"type": "array" +}, +"label": { +"description": "Text value describing the intent for the action flow. It can be used as an input label if business needs to pick one of multiple flows. For example: \"I disagree with the issue\"", +"type": "string" +} +}, +"type": "object" +}, +"ActionInput": { +"description": "Input provided by the business.", +"id": "ActionInput", +"properties": { +"actionFlowId": { +"description": "Required. Id of the selected action flow.", +"type": "string" +}, +"inputValues": { +"description": "Required. Values for input fields.", +"items": { +"$ref": "InputValue" +}, +"type": "array" +} +}, +"type": "object" +}, +"AdditionalContent": { +"description": "Long text from external source.", +"id": "AdditionalContent", +"properties": { +"paragraphs": { +"description": "Long text organized into paragraphs.", +"items": { +"type": "string" +}, +"type": "array" +}, +"title": { +"description": "Title of the additional content;", +"type": "string" +} +}, +"type": "object" +}, +"AggregateProductStatus": { +"description": "Aggregate product statuses for a given reporting context and country.", +"id": "AggregateProductStatus", +"properties": { +"country": { +"description": "The country of the aggregate product statuses. Represented as a [CLDR territory code](https://github.com/unicode-org/cldr/blob/latest/common/main/en.xml).", +"type": "string" +}, +"itemLevelIssues": { +"description": "The product issues that affect the given reporting context and country.", +"items": { +"$ref": "ItemLevelIssue" +}, +"type": "array" +}, +"name": { +"description": "Identifier. The name of the `AggregateProductStatuses` resource. Format: `accounts/{account}/aggregateProductStatuses/{aggregateProductStatuses}`", +"type": "string" +}, +"reportingContext": { +"description": "The reporting context of the aggregate product statuses.", +"enum": [ +"REPORTING_CONTEXT_ENUM_UNSPECIFIED", +"SHOPPING_ADS", +"DISCOVERY_ADS", +"DEMAND_GEN_ADS", +"DEMAND_GEN_ADS_DISCOVER_SURFACE", +"VIDEO_ADS", +"DISPLAY_ADS", +"LOCAL_INVENTORY_ADS", +"VEHICLE_INVENTORY_ADS", +"FREE_LISTINGS", +"FREE_LISTINGS_UCP_CHECKOUT", +"FREE_LOCAL_LISTINGS", +"FREE_LOCAL_VEHICLE_LISTINGS", +"YOUTUBE_AFFILIATE", +"YOUTUBE_SHOPPING", +"CLOUD_RETAIL", +"LOCAL_CLOUD_RETAIL", +"PRODUCT_REVIEWS", +"MERCHANT_REVIEWS", +"YOUTUBE_CHECKOUT" +], +"enumDeprecated": [ +false, +false, +true, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false +], +"enumDescriptions": [ +"Not specified.", +"[Shopping ads](https://support.google.com/merchants/answer/6149970).", +"Deprecated: Use `DEMAND_GEN_ADS` instead. [Discovery and Demand Gen ads](https://support.google.com/merchants/answer/13389785).", +"[Demand Gen ads](https://support.google.com/merchants/answer/13389785).", +"[Demand Gen ads on Discover surface](https://support.google.com/merchants/answer/13389785).", +"[Video ads](https://support.google.com/google-ads/answer/6340491).", +"[Display ads](https://support.google.com/merchants/answer/6069387).", +"[Local inventory ads](https://support.google.com/merchants/answer/3271956).", +"[Vehicle inventory ads](https://support.google.com/merchants/answer/11544533).", +"[Free product listings](https://support.google.com/merchants/answer/9199328).", +"[Free product listings on UCP checkout](https://developers.google.com/merchant/ucp).", +"[Free local product listings](https://support.google.com/merchants/answer/9825611).", +"[Free local vehicle listings](https://support.google.com/merchants/answer/11544533).", +"[Youtube Affiliate](https://support.google.com/youtube/answer/13376398).", +"[YouTube Shopping](https://support.google.com/merchants/answer/13478370).", +"[Cloud retail](https://cloud.google.com/solutions/retail).", +"[Local cloud retail](https://cloud.google.com/solutions/retail).", +"[Product Reviews](https://support.google.com/merchants/answer/14620732).", +"[Merchant Reviews](https://developers.google.com/merchant-review-feeds).", +"YouTube Checkout ." +], +"type": "string" +}, +"stats": { +"$ref": "Stats", +"description": "Products statistics for the given reporting context and country." +} +}, +"type": "object" +}, +"Breakdown": { +"description": "A detailed impact breakdown for a group of regions where the impact of the issue on different shopping destinations is the same.", +"id": "Breakdown", +"properties": { +"details": { +"description": "Human readable, localized description of issue's effect on different targets. Should be rendered as a list. For example: * \"Products not showing in ads\" * \"Products not showing organically\"", +"items": { +"type": "string" +}, +"type": "array" +}, +"regions": { +"description": "Lists of regions. Should be rendered as a title for this group of details. The full list should be shown to the business. If the list is too long, it is recommended to make it expandable.", +"items": { +"$ref": "Region" +}, +"type": "array" +} +}, +"type": "object" +}, +"BuiltInSimpleAction": { +"description": "Action that is implemented and performed in (your) third-party application. Represents various functionality that is expected to be available to business and will help them with resolving the issue. The application should point the business to the place, where they can access the corresponding functionality. If the functionality is not supported, it is recommended to explain the situation to the business and provide them with instructions how to solve the issue.", +"id": "BuiltInSimpleAction", +"properties": { +"additionalContent": { +"$ref": "AdditionalContent", +"description": "Long text from an external source that should be available to the business. Present when the type is `SHOW_ADDITIONAL_CONTENT`." +}, +"attributeCode": { +"description": "The attribute that needs to be updated. Present when the type is `EDIT_ITEM_ATTRIBUTE`. This field contains a code for attribute, represented in snake_case. You can find a list of product's attributes, with their codes [here](https://support.google.com/merchants/answer/7052112).", +"type": "string" +}, +"type": { +"description": "The type of action that represents a functionality that is expected to be available in third-party application.", +"enum": [ +"BUILT_IN_SIMPLE_ACTION_TYPE_UNSPECIFIED", +"VERIFY_PHONE", +"CLAIM_WEBSITE", +"ADD_PRODUCTS", +"ADD_CONTACT_INFO", +"LINK_ADS_ACCOUNT", +"ADD_BUSINESS_REGISTRATION_NUMBER", +"EDIT_ITEM_ATTRIBUTE", +"FIX_ACCOUNT_ISSUE", +"SHOW_ADDITIONAL_CONTENT" +], +"enumDescriptions": [ +"Default value. Will never be provided by the API.", +"Redirect the business to the part of your application where they can verify their phone.", +"Redirect the business to the part of your application where they can claim their website.", +"Redirect the business to the part of your application where they can add products.", +"Open a form where the business can edit their contact information.", +"Redirect the business to the part of your application where they can link ads account.", +"Open a form where the business can add their business registration number.", +"Open a form where the business can edit an attribute. The attribute that needs to be updated is specified in attribute_code field of the action.", +"Redirect the business from the product issues to the diagnostic page with their account issues in your application. This action will be returned only for product issues that are caused by an account issue and thus the business should resolve the problem on the account level.", +"Show additional content to the business. This action will be used for example to deliver a justification from national authority." +], +"type": "string" +} +}, +"type": "object" +}, +"BuiltInUserInputAction": { +"description": "Action that is implemented and performed in (your) third-party application. The application needs to show an additional content and input form to the business. They can start the action only when they provided all required inputs. The application will request processing of the action by calling the [triggeraction method](https://developers.google.com/merchant/api/reference/rest/issueresolution_v1beta/issueresolution/triggeraction).", +"id": "BuiltInUserInputAction", +"properties": { +"actionContext": { +"description": "Contains the action's context that must be included as part of the TriggerActionPayload.action_context in TriggerActionRequest.payload to call the `triggeraction` method. The content should be treated as opaque and must not be modified.", +"type": "string" +}, +"flows": { +"description": "Actions may provide multiple different flows. Business selects one that fits best to their intent. Selecting the flow is the first step in user's interaction with the action. It affects what input fields will be available and required and also how the request will be processed.", +"items": { +"$ref": "ActionFlow" +}, +"type": "array" +} +}, +"type": "object" +}, +"Callout": { +"description": "An important message that should be highlighted. Usually displayed as a banner.", +"id": "Callout", +"properties": { +"fullMessage": { +"$ref": "TextWithTooltip", +"description": "A full message that needs to be shown to the business." +}, +"styleHint": { +"description": "Can be used to render messages with different severity in different styles. Snippets off all types contain important information that should be displayed to the business.", +"enum": [ +"CALLOUT_STYLE_HINT_UNSPECIFIED", +"ERROR", +"WARNING", +"INFO" +], +"enumDescriptions": [ +"Default value. Will never be provided by the API.", +"The most important type of information highlighting problems, like an unsuccessful outcome of previously requested actions.", +"Information warning about pending problems, risks or deadlines.", +"Default severity for important information like pending status of previously requested action or cooldown for re-review." +], +"type": "string" +} +}, +"type": "object" +}, +"CheckboxInput": { +"description": "Checkbox input allows the business to provide a boolean value. Corresponds to the [html input type=checkbox](https://www.w3.org/TR/2012/WD-html-markup-20121025/input.checkbox.html#input.checkbox). If the business checks the box, the input value for the field is `true`, otherwise it is `false`. This type of input is often used as a confirmation that the business completed required steps before they are allowed to start the action. In such a case, the input field is marked as required and the button to trigger the action should stay disabled until the business checks the box.", +"id": "CheckboxInput", +"properties": {}, +"type": "object" +}, +"CheckboxInputValue": { +"description": "Value for checkbox input field.", +"id": "CheckboxInputValue", +"properties": { +"value": { +"description": "Required. True if the business checked the box field. False otherwise.", +"type": "boolean" +} +}, +"type": "object" +}, +"ChoiceInput": { +"description": "Choice input allows the business to select one of the offered choices. Some choices may be linked to additional input fields that should be displayed under or next to the choice option. The value for the additional input field needs to be provided only when the specific choice is selected by the the business. For example, additional input field can be hidden or disabled until the business selects the specific choice.", +"id": "ChoiceInput", +"properties": { +"options": { +"description": "A list of choices. Only one option can be selected.", +"items": { +"$ref": "ChoiceInputOption" +}, +"type": "array" +} +}, +"type": "object" +}, +"ChoiceInputOption": { +"description": "A choice that the business can select.", +"id": "ChoiceInputOption", +"properties": { +"additionalInput": { +"$ref": "InputField", +"description": "Input that should be displayed when this option is selected. The additional input will not contain a `ChoiceInput`." +}, +"id": { +"description": "Not for display but need to be sent back for the selected choice option.", +"type": "string" +}, +"label": { +"$ref": "TextWithTooltip", +"description": "Short description of the choice option. There may be more information to be shown as a tooltip." +} +}, +"type": "object" +}, +"ChoiceInputValue": { +"description": "Value for choice input field.", +"id": "ChoiceInputValue", +"properties": { +"choiceInputOptionId": { +"description": "Required. Id of the option that was selected by the business.", +"type": "string" +} +}, +"type": "object" +}, +"ExternalAction": { +"description": "Action that is implemented and performed outside of the third-party application. It should redirect the business to the provided URL of an external system where they can perform the action. For example to request a review in the Merchant Center.", +"id": "ExternalAction", +"properties": { +"type": { +"description": "The type of external action.", +"enum": [ +"EXTERNAL_ACTION_TYPE_UNSPECIFIED", +"REVIEW_PRODUCT_ISSUE_IN_MERCHANT_CENTER", +"REVIEW_ACCOUNT_ISSUE_IN_MERCHANT_CENTER", +"LEGAL_APPEAL_IN_HELP_CENTER", +"VERIFY_IDENTITY_IN_MERCHANT_CENTER", +"VERIFY_BUSINESS_VIDEO_IN_MERCHANT_CENTER" +], +"enumDescriptions": [ +"Default value. Will never be provided by the API.", +"Redirect to Merchant Center where the business can request a review for issue related to their product.", +"Redirect to Merchant Center where the business can request a review for issue related to their account.", +"Redirect to the form in Help Center where the business can request a legal appeal for the issue.", +"Redirect to Merchant Center where the business can perform identity verification.", +"Redirect to Merchant Center where the business can perform business video verification." +], +"type": "string" +}, +"uri": { +"description": "URL to external system, for example Merchant Center, where the business can perform the action.", +"type": "string" +} +}, +"type": "object" +}, +"Impact": { +"description": "Overall impact of the issue.", +"id": "Impact", +"properties": { +"breakdowns": { +"description": "Detailed impact breakdown. Explains the types of restriction the issue has in different shopping destinations and territory. If present, it should be rendered to the business. Can be shown as a mouse over dropdown or a dialog. Each breakdown item represents a group of regions with the same impact details.", +"items": { +"$ref": "Breakdown" +}, +"type": "array" +}, +"message": { +"description": "Optional. Message summarizing the overall impact of the issue. If present, it should be rendered to the business. For example: \"Disapproves 90k offers in 25 countries\"", +"type": "string" +}, +"severity": { +"description": "The severity of the issue.", +"enum": [ +"SEVERITY_UNSPECIFIED", +"ERROR", +"WARNING", +"INFO" +], +"enumDescriptions": [ +"Default value. Will never be provided by the API.", +"Causes either an account suspension or an item disapproval. Errors should be resolved as soon as possible to ensure items are eligible to appear in results again.", +"Warnings can negatively impact the performance of ads and can lead to item or account suspensions in the future unless the issue is resolved.", +"Infos are suggested optimizations to increase data quality. Resolving these issues is recommended, but not required." +], +"type": "string" +} +}, +"type": "object" +}, +"InputField": { +"description": "Input field that needs to be available to the business. If the field is marked as required, then a value needs to be provided for a successful processing of the request.", +"id": "InputField", +"properties": { +"checkboxInput": { +"$ref": "CheckboxInput", +"description": "Input field to provide a boolean value. Corresponds to the [html input type=checkbox](https://www.w3.org/TR/2012/WD-html-markup-20121025/input.checkbox.html#input.checkbox)." +}, +"choiceInput": { +"$ref": "ChoiceInput", +"description": "Input field to select one of the offered choices. Corresponds to the [html input type=radio](https://www.w3.org/TR/2012/WD-html-markup-20121025/input.radio.html#input.radio)." +}, +"id": { +"description": "Not for display but need to be sent back for the given input field.", +"type": "string" +}, +"label": { +"$ref": "TextWithTooltip", +"description": "Input field label. There may be more information to be shown in a tooltip." +}, +"required": { +"description": "Whether the field is required. The action button needs to stay disabled till values for all required fields are provided.", +"type": "boolean" +}, +"textInput": { +"$ref": "TextInput", +"description": "Input field to provide text information. Corresponds to the [html input type=text](https://www.w3.org/TR/2012/WD-html-markup-20121025/input.text.html#input.text) or [html textarea](https://www.w3.org/TR/2012/WD-html-markup-20121025/textarea.html#textarea)." +} +}, +"type": "object" +}, +"InputValue": { +"description": "Input provided by the business for input field.", +"id": "InputValue", +"properties": { +"checkboxInputValue": { +"$ref": "CheckboxInputValue", +"description": "Value for checkbox input field." +}, +"choiceInputValue": { +"$ref": "ChoiceInputValue", +"description": "Value for choice input field." +}, +"inputFieldId": { +"description": "Required. Id of the corresponding input field.", +"type": "string" +}, +"textInputValue": { +"$ref": "TextInputValue", +"description": "Value for text input field." +} +}, +"type": "object" +}, +"ItemLevelIssue": { +"description": "The ItemLevelIssue of the product status.", +"id": "ItemLevelIssue", +"properties": { +"attribute": { +"description": "The attribute's name, if the issue is caused by a single attribute.", +"type": "string" +}, +"code": { +"description": "The error code of the issue.", +"type": "string" +}, +"description": { +"description": "A short issue description in English.", +"type": "string" +}, +"detail": { +"description": "A detailed issue description in English.", +"type": "string" +}, +"documentationUri": { +"description": "The URL of a web page to help with resolving this issue.", +"type": "string" +}, +"productCount": { +"description": "The number of products affected by this issue.", +"format": "int64", +"type": "string" +}, +"resolution": { +"description": "Whether the issue can be resolved by the merchant.", +"enum": [ +"RESOLUTION_UNSPECIFIED", +"MERCHANT_ACTION", +"PENDING_PROCESSING" +], +"enumDescriptions": [ +"Not specified.", +"The issue can be resolved by the merchant.", +"The issue will be resolved auomatically." +], +"type": "string" +}, +"severity": { +"description": "How this issue affects serving of the offer.", +"enum": [ +"SEVERITY_UNSPECIFIED", +"NOT_IMPACTED", +"DEMOTED", +"DISAPPROVED" +], +"enumDescriptions": [ +"Not specified.", +"This issue represents a warning and does not have a direct affect on the product.", +"The product is demoted and most likely have limited performance in search results", +"Issue disapproves the product." +], +"type": "string" +} +}, +"type": "object" +}, +"ListAggregateProductStatusesResponse": { +"description": "Response message for the `ListAggregateProductStatuses` method.", +"id": "ListAggregateProductStatusesResponse", +"properties": { +"aggregateProductStatuses": { +"description": "The `AggregateProductStatuses` resources for the given account.", +"items": { +"$ref": "AggregateProductStatus" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A token, which can be sent as `pageToken` to retrieve the next page. If this field is omitted, there are no subsequent pages.", +"type": "string" +} +}, +"type": "object" +}, +"ProductChange": { +"description": "The change that happened to the product including old value, new value, country code as the region code and reporting context.", +"id": "ProductChange", +"properties": { +"newValue": { +"description": "The new value of the changed resource or attribute. If empty, it means that the product was deleted. Will have one of these values : (`approved`, `pending`, `disapproved`, ``)", +"type": "string" +}, +"oldValue": { +"description": "The old value of the changed resource or attribute. If empty, it means that the product was created. Will have one of these values : (`approved`, `pending`, `disapproved`, ``)", +"type": "string" +}, +"regionCode": { +"description": "Countries that have the change (if applicable). Represented in the ISO 3166 format.", +"type": "string" +}, +"reportingContext": { +"description": "Reporting contexts that have the change (if applicable). Currently this field supports only (`SHOPPING_ADS`, `LOCAL_INVENTORY_ADS`, `YOUTUBE_SHOPPING`, `YOUTUBE_CHECKOUT`, `YOUTUBE_AFFILIATE`) from the enum value [ReportingContextEnum](/merchant/api/reference/rest/Shared.Types/ReportingContextEnum)", +"enum": [ +"REPORTING_CONTEXT_ENUM_UNSPECIFIED", +"SHOPPING_ADS", +"DISCOVERY_ADS", +"DEMAND_GEN_ADS", +"DEMAND_GEN_ADS_DISCOVER_SURFACE", +"VIDEO_ADS", +"DISPLAY_ADS", +"LOCAL_INVENTORY_ADS", +"VEHICLE_INVENTORY_ADS", +"FREE_LISTINGS", +"FREE_LISTINGS_UCP_CHECKOUT", +"FREE_LOCAL_LISTINGS", +"FREE_LOCAL_VEHICLE_LISTINGS", +"YOUTUBE_AFFILIATE", +"YOUTUBE_SHOPPING", +"CLOUD_RETAIL", +"LOCAL_CLOUD_RETAIL", +"PRODUCT_REVIEWS", +"MERCHANT_REVIEWS", +"YOUTUBE_CHECKOUT" +], +"enumDeprecated": [ +false, +false, +true, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false +], +"enumDescriptions": [ +"Not specified.", +"[Shopping ads](https://support.google.com/merchants/answer/6149970).", +"Deprecated: Use `DEMAND_GEN_ADS` instead. [Discovery and Demand Gen ads](https://support.google.com/merchants/answer/13389785).", +"[Demand Gen ads](https://support.google.com/merchants/answer/13389785).", +"[Demand Gen ads on Discover surface](https://support.google.com/merchants/answer/13389785).", +"[Video ads](https://support.google.com/google-ads/answer/6340491).", +"[Display ads](https://support.google.com/merchants/answer/6069387).", +"[Local inventory ads](https://support.google.com/merchants/answer/3271956).", +"[Vehicle inventory ads](https://support.google.com/merchants/answer/11544533).", +"[Free product listings](https://support.google.com/merchants/answer/9199328).", +"[Free product listings on UCP checkout](https://developers.google.com/merchant/ucp).", +"[Free local product listings](https://support.google.com/merchants/answer/9825611).", +"[Free local vehicle listings](https://support.google.com/merchants/answer/11544533).", +"[Youtube Affiliate](https://support.google.com/youtube/answer/13376398).", +"[YouTube Shopping](https://support.google.com/merchants/answer/13478370).", +"[Cloud retail](https://cloud.google.com/solutions/retail).", +"[Local cloud retail](https://cloud.google.com/solutions/retail).", +"[Product Reviews](https://support.google.com/merchants/answer/14620732).", +"[Merchant Reviews](https://developers.google.com/merchant-review-feeds).", +"YouTube Checkout ." +], +"type": "string" +} +}, +"type": "object" +}, +"ProductStatusChangeMessage": { +"description": "The message that the merchant will receive to notify about product status change event", +"id": "ProductStatusChangeMessage", +"properties": { +"account": { +"description": "The target account that owns the entity that changed. Format : `accounts/{merchant_id}`", +"type": "string" +}, +"attribute": { +"description": "The attribute in the resource that changed, in this case it will be always `Status`.", +"enum": [ +"ATTRIBUTE_UNSPECIFIED", +"STATUS" +], +"enumDescriptions": [ +"Unspecified attribute", +"Status of the changed entity" +], +"type": "string" +}, +"changes": { +"description": "A message to describe the change that happened to the product", +"items": { +"$ref": "ProductChange" +}, +"type": "array" +}, +"eventTime": { +"description": "The time at which the event was generated. If you want to order the notification messages you receive you should rely on this field not on the order of receiving the notifications.", +"format": "google-datetime", +"type": "string" +}, +"expirationTime": { +"description": "Optional. The product expiration time. This field will not be set if the notification is sent for a product deletion event.", +"format": "google-datetime", +"type": "string" +}, +"managingAccount": { +"description": "The account that manages the merchant's account. can be the same as merchant id if it is standalone account. Format : `accounts/{service_provider_id}`", +"type": "string" +}, +"resource": { +"description": "The product name. Format: `accounts/{account}/products/{product}`", +"type": "string" +}, +"resourceId": { +"description": "The product id.", +"type": "string" +}, +"resourceType": { +"description": "The resource that changed, in this case it will always be `Product`.", +"enum": [ +"RESOURCE_UNSPECIFIED", +"PRODUCT" +], +"enumDescriptions": [ +"Unspecified resource", +"Resource type : product" +], +"type": "string" +} +}, +"type": "object" +}, +"Reason": { +"description": "A single reason why the action is not available.", +"id": "Reason", +"properties": { +"action": { +"$ref": "Action", +"description": "Optional. An action that needs to be performed to solve the problem represented by this reason. This action will always be available. Should be rendered as a link or button next to the summarizing message. For example, the review may be available only once the business configure all required attributes. In such a situation this action can be a link to the form, where they can fill the missing attribute to unblock the main action." +}, +"detail": { +"description": "Detailed explanation of the reason. Should be displayed as a hint if present.", +"type": "string" +}, +"message": { +"description": "Messages summarizing the reason, why the action is not available. For example: \"Review requested on Jan 03. Review requests can take a few days to complete.\"", +"type": "string" +} +}, +"type": "object" +}, +"Region": { +"description": "Region with code and localized name.", +"id": "Region", +"properties": { +"code": { +"description": "The [CLDR territory code] (http://www.unicode.org/repos/cldr/tags/latest/common/main/en.xml)", +"type": "string" +}, +"name": { +"description": "The localized name of the region. For region with code='001' the value is 'All countries' or the equivalent in other languages.", +"type": "string" +} +}, +"type": "object" +}, +"RenderAccountIssuesResponse": { +"description": "Response containing an issue resolution content and actions for listed account issues.", +"id": "RenderAccountIssuesResponse", +"properties": { +"renderedIssues": { +"description": "List of account issues for a given account. This list can be shown with compressed, expandable items. In the compressed form, the title and impact should be shown for each issue. Once the issue is expanded, the detailed content and available actions should be rendered.", +"items": { +"$ref": "RenderedIssue" +}, +"type": "array" +} +}, +"type": "object" +}, +"RenderIssuesRequestPayload": { +"description": "The payload for configuring how the content should be rendered.", +"id": "RenderIssuesRequestPayload", +"properties": { +"contentOption": { +"description": "Optional. How the detailed content should be returned. Default option is to return the content as a pre-rendered HTML text.", +"enum": [ +"CONTENT_OPTION_UNSPECIFIED", +"PRE_RENDERED_HTML" +], +"enumDescriptions": [ +"Default value. Will never be provided by the API.", +"Returns the detail of the issue as a pre-rendered HTML text." +], +"type": "string" +}, +"userInputActionOption": { +"description": "Optional. How actions with user input form should be handled. If not provided, actions will be returned as links that points the business to Merchant Center where they can request the action.", +"enum": [ +"USER_INPUT_ACTION_RENDERING_OPTION_UNSPECIFIED", +"REDIRECT_TO_MERCHANT_CENTER", +"BUILT_IN_USER_INPUT_ACTIONS" +], +"enumDescriptions": [ +"Default value. Will never be provided by the API.", +"Actions that require user input are represented only as links that points the business to Merchant Center where they can request the action. Provides easier to implement alternative to `BUILT_IN_USER_INPUT_ACTIONS`.", +"Returns content and input form definition for each complex action. Your application needs to display this content and input form to the business before they can request processing of the action. To start the action, your application needs to call the `triggeraction` method." +], +"type": "string" +} +}, +"type": "object" +}, +"RenderProductIssuesResponse": { +"description": "Response containing an issue resolution content and actions for listed product issues.", +"id": "RenderProductIssuesResponse", +"properties": { +"renderedIssues": { +"description": "List of issues for a given product. This list can be shown with compressed, expandable items. In the compressed form, the title and impact should be shown for each issue. Once the issue is expanded, the detailed content and available actions should be rendered.", +"items": { +"$ref": "RenderedIssue" +}, +"type": "array" +} +}, +"type": "object" +}, +"RenderedIssue": { +"description": "An issue affecting specific business or their product.", +"id": "RenderedIssue", +"properties": { +"actions": { +"description": "A list of actionable steps that can be executed to solve the issue. An example is requesting a re-review or providing arguments when business disagrees with the issue. Actions that are supported in (your) third-party application can be rendered as buttons and should be available to the business when they expand the issue.", +"items": { +"$ref": "Action" +}, +"type": "array" +}, +"impact": { +"$ref": "Impact", +"description": "Clarifies the severity of the issue. The summarizing message, if present, should be shown right under the title for each issue. It helps business to quickly understand the impact of the issue. The detailed breakdown helps the business to fully understand the impact of the issue. It can be rendered as dialog that opens when the business mouse over the summarized impact statement. Issues with different severity can be styled differently. They may use a different color or icon to signal the difference between `ERROR`, `WARNING` and `INFO`." +}, +"prerenderedContent": { +"description": "Details of the issue as a pre-rendered HTML. HTML elements contain CSS classes that can be used to customize the style of the content. Always sanitize the HTML before embedding it directly to your application. The sanitizer needs to allow basic HTML tags, such as: `div`, `span`, `p`, `a`, `ul`, `li`, `table`, `tr`, `td`. For example, you can use [DOMPurify](https://www.npmjs.com/package/dompurify). CSS classes: * `issue-detail` - top level container for the detail of the issue * `callout-banners` - section of the `issue-detail` with callout banners * `callout-banner` - single callout banner, inside `callout-banners` * `callout-banner-info` - callout with important information (default) * `callout-banner-warning` - callout with a warning * `callout-banner-error` - callout informing about an error (most severe) * `issue-content` - section of the `issue-detail`, contains multiple `content-element` * `content-element` - content element such as a list, link or paragraph, inside `issue-content` * `root-causes` - unordered list with items describing root causes of the issue, inside `issue-content` * `root-causes-intro` - intro text before the `root-causes` list, inside `issue-content` * `segment` - section of the text, `span` inside paragraph * `segment-attribute` - section of the text that represents a product attribute, for example 'image\\_link' * `segment-literal` - section of the text that contains a special value, for example '0-1000 kg' * `segment-bold` - section of the text that should be rendered as bold * `segment-italic` - section of the text that should be rendered as italic * `tooltip` - used on paragraphs that should be rendered with a tooltip. A section of the text in such a paragraph will have a class `tooltip-text` and is intended to be shown in a mouse over dialog. If the style is not used, the `tooltip-text` section would be shown on a new line, after the main part of the text. * `tooltip-text` - marks a section of the text within a `tooltip`, that is intended to be shown in a mouse over dialog. * `tooltip-icon` - marks a section of the text within a `tooltip`, that can be replaced with a tooltip icon, for example '?' or 'i'. By default, this section contains a `br` tag, that is separating the main text and the tooltip text when the style is not used. * `tooltip-style-question` - the tooltip shows helpful information, can use the '?' as an icon. * `tooltip-style-info` - the tooltip adds additional information fitting to the context, can use the 'i' as an icon. * `content-moderation` - marks the paragraph that explains how the issue was identified. * `new-element` - Present for new elements added to the pre-rendered content in the future. To make sure that a new content element does not break your style, you can hide everything with this class.", +"type": "string" +}, +"prerenderedOutOfCourtDisputeSettlement": { +"description": "Pre-rendered HTML that contains a link to the external location where the ODS can be requested and instructions for how to request it. HTML elements contain CSS classes that can be used to customize the style of this snippet. Always sanitize the HTML before embedding it directly to your application. The sanitizer needs to allow basic HTML tags, such as: `div`, `span`, `p`, `a`, `ul`, `li`, `table`, `tr`, `td`. For example, you can use [DOMPurify](https://www.npmjs.com/package/dompurify). CSS classes: * `ods-section`* - wrapper around the out-of-court dispute resolution section * `ods-description`* - intro text for the out-of-court dispute resolution. It may contain multiple segments and a link. * `ods-param`* - wrapper around the header-value pair for parameters that the business may need to provide during the ODS process. * `ods-routing-id`* - ods param for the Routing ID. * `ods-reference-id`* - ods param for the Routing ID. * `ods-param-header`* - header for the ODS parameter * `ods-param-value`* - value of the ODS parameter. This value should be rendered in a way that it is easy for the user to identify and copy. * `segment` - section of the text, `span` inside paragraph * `segment-attribute` - section of the text that represents a product attribute, for example 'image\\_link' * `segment-literal` - section of the text that contains a special value, for example '0-1000 kg' * `segment-bold` - section of the text that should be rendered as bold * `segment-italic` - section of the text that should be rendered as italic * `tooltip` - used on paragraphs that should be rendered with a tooltip. A section of the text in such a paragraph will have a class `tooltip-text` and is intended to be shown in a mouse over dialog. If the style is not used, the `tooltip-text` section would be shown on a new line, after the main part of the text. * `tooltip-text` - marks a section of the text within a `tooltip`, that is intended to be shown in a mouse over dialog. * `tooltip-icon` - marks a section of the text within a `tooltip`, that can be replaced with a tooltip icon, for example '?' or 'i'. By default, this section contains a `br` tag, that is separating the main text and the tooltip text when the style is not used. * `tooltip-style-question` - the tooltip shows helpful information, can use the '?' as an icon. * `tooltip-style-info` - the tooltip adds additional information fitting to the context, can use the 'i' as an icon.", +"type": "string" +}, +"title": { +"description": "Title of the issue.", +"type": "string" +} +}, +"type": "object" +}, +"Stats": { +"description": "Products statistics.", +"id": "Stats", +"properties": { +"activeCount": { +"description": "The number of products that are active.", +"format": "int64", +"type": "string" +}, +"disapprovedCount": { +"description": "The number of products that are disapproved.", +"format": "int64", +"type": "string" +}, +"expiringCount": { +"description": "The number of products that are expiring.", +"format": "int64", +"type": "string" +}, +"pendingCount": { +"description": "The number of products that are pending.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"TextInput": { +"description": "Text input allows the business to provide a text value.", +"id": "TextInput", +"properties": { +"additionalInfo": { +"$ref": "TextWithTooltip", +"description": "Additional info regarding the field to be displayed to the business. For example, warning to not include personal identifiable information. There may be more information to be shown in a tooltip." +}, +"ariaLabel": { +"description": "Text to be used as the [aria-label](https://www.w3.org/TR/WCAG20-TECHS/ARIA14.html) for the input.", +"type": "string" +}, +"formatInfo": { +"description": "Information about the required format. If present, it should be shown close to the input field to help the business to provide a correct value. For example: \"VAT numbers should be in a format similar to SK9999999999\"", +"type": "string" +}, +"type": { +"description": "Type of the text input", +"enum": [ +"TEXT_INPUT_TYPE_UNSPECIFIED", +"GENERIC_SHORT_TEXT", +"GENERIC_LONG_TEXT" +], +"enumDescriptions": [ +"Default value. Will never be provided by the API.", +"Used when a short text is expected. The field can be rendered as a [text field](https://www.w3.org/TR/2012/WD-html-markup-20121025/input.text.html#input.text).", +"Used when a longer text is expected. The field should be rendered as a [textarea](https://www.w3.org/TR/2012/WD-html-markup-20121025/textarea.html#textarea)." +], +"type": "string" +} +}, +"type": "object" +}, +"TextInputValue": { +"description": "Value for text input field.", +"id": "TextInputValue", +"properties": { +"value": { +"description": "Required. Text provided by the business.", +"type": "string" +} +}, +"type": "object" +}, +"TextWithTooltip": { +"description": "Block of text that may contain a tooltip with more information.", +"id": "TextWithTooltip", +"properties": { +"simpleTooltipValue": { +"description": "Value of the tooltip as a simple text.", +"type": "string" +}, +"simpleValue": { +"description": "Value of the message as a simple text.", +"type": "string" +}, +"tooltipIconStyle": { +"description": "The suggested type of an icon for tooltip, if a tooltip is present.", +"enum": [ +"TOOLTIP_ICON_STYLE_UNSPECIFIED", +"INFO", +"QUESTION" +], +"enumDescriptions": [ +"Default value. Will never be provided by the API.", +"Used when the tooltip adds additional information to the context, the 'i' can be used as an icon.", +"Used when the tooltip shows helpful information, the '?' can be used as an icon." +], +"type": "string" +} +}, +"type": "object" +}, +"TriggerActionPayload": { +"description": "The payload for the triggered action.", +"id": "TriggerActionPayload", +"properties": { +"actionContext": { +"description": "Required. The context from the selected action. The value is obtained from rendered issues and needs to be sent back to identify the action that is being triggered.", +"type": "string" +}, +"actionInput": { +"$ref": "ActionInput", +"description": "Required. Input provided by the business." +} +}, +"type": "object" +}, +"TriggerActionResponse": { +"description": "Response informing about the started action.", +"id": "TriggerActionResponse", +"properties": { +"message": { +"description": "The message for the business.", +"type": "string" +} +}, +"type": "object" +} +}, +"servicePath": "", +"title": "Merchant API", +"version": "issueresolution_v1beta", +"version_module": true +} \ No newline at end of file diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/merchantapi.lfp_v1.json b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/merchantapi.lfp_v1.json new file mode 100644 index 0000000000000000000000000000000000000000..83599815ffb2c8c1f8158488b2863a1e8f4b8ff6 --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/merchantapi.lfp_v1.json @@ -0,0 +1,905 @@ +{ +"auth": { +"oauth2": { +"scopes": { +"https://www.googleapis.com/auth/content": { +"description": "Manage your product listings and accounts for Google Shopping" +} +} +} +}, +"basePath": "", +"baseUrl": "https://merchantapi.googleapis.com/", +"batchPath": "batch", +"canonicalName": "Merchant", +"description": "Programmatically manage your Merchant Center Accounts.", +"discoveryVersion": "v1", +"documentationLink": "https://developers.google.com/merchant/api", +"fullyEncodeReservedExpansion": true, +"icons": { +"x16": "http://www.google.com/images/icons/product/search-16.gif", +"x32": "http://www.google.com/images/icons/product/search-32.gif" +}, +"id": "merchantapi:lfp_v1", +"kind": "discovery#restDescription", +"mtlsRootUrl": "https://merchantapi.mtls.googleapis.com/", +"name": "merchantapi", +"ownerDomain": "google.com", +"ownerName": "Google", +"parameters": { +"$.xgafv": { +"description": "V1 error format.", +"enum": [ +"1", +"2" +], +"enumDescriptions": [ +"v1 error format", +"v2 error format" +], +"location": "query", +"type": "string" +}, +"access_token": { +"description": "OAuth access token.", +"location": "query", +"type": "string" +}, +"alt": { +"default": "json", +"description": "Data format for response.", +"enum": [ +"json", +"media", +"proto" +], +"enumDescriptions": [ +"Responses with Content-Type of application/json", +"Media download with context-dependent Content-Type", +"Responses with Content-Type of application/x-protobuf" +], +"location": "query", +"type": "string" +}, +"callback": { +"description": "JSONP", +"location": "query", +"type": "string" +}, +"fields": { +"description": "Selector specifying which fields to include in a partial response.", +"location": "query", +"type": "string" +}, +"key": { +"description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", +"location": "query", +"type": "string" +}, +"oauth_token": { +"description": "OAuth 2.0 token for the current user.", +"location": "query", +"type": "string" +}, +"prettyPrint": { +"default": "true", +"description": "Returns response with indentations and line breaks.", +"location": "query", +"type": "boolean" +}, +"quotaUser": { +"description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.", +"location": "query", +"type": "string" +}, +"uploadType": { +"description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", +"location": "query", +"type": "string" +}, +"upload_protocol": { +"description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", +"location": "query", +"type": "string" +} +}, +"protocol": "rest", +"resources": { +"accounts": { +"resources": { +"lfpInventories": { +"methods": { +"insert": { +"description": "Inserts a `LfpInventory` resource for the given target merchant account. If the resource already exists, it will be replaced. The inventory automatically expires after 30 days.", +"flatPath": "lfp/v1/accounts/{accountsId}/lfpInventories:insert", +"httpMethod": "POST", +"id": "merchantapi.accounts.lfpInventories.insert", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The LFP provider account. Format: `accounts/{account}`", +"location": "path", +"pattern": "^accounts/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "lfp/v1/{+parent}/lfpInventories:insert", +"request": { +"$ref": "LfpInventory" +}, +"response": { +"$ref": "LfpInventory" +}, +"scopes": [ +"https://www.googleapis.com/auth/content" +] +} +} +}, +"lfpMerchantStates": { +"methods": { +"get": { +"description": "Gets the LFP state of a merchant", +"flatPath": "lfp/v1/accounts/{accountsId}/lfpMerchantStates/{lfpMerchantStatesId}", +"httpMethod": "GET", +"id": "merchantapi.accounts.lfpMerchantStates.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the state to retrieve. Format: `accounts/{account}/lfpMerchantStates/{target_merchant}`. For example, `accounts/123456/lfpMerchantStates/567890`.", +"location": "path", +"pattern": "^accounts/[^/]+/lfpMerchantStates/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "lfp/v1/{+name}", +"response": { +"$ref": "LfpMerchantState" +}, +"scopes": [ +"https://www.googleapis.com/auth/content" +] +} +} +}, +"lfpSales": { +"methods": { +"insert": { +"description": "Inserts a `LfpSale` for the given merchant.", +"flatPath": "lfp/v1/accounts/{accountsId}/lfpSales:insert", +"httpMethod": "POST", +"id": "merchantapi.accounts.lfpSales.insert", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The LFP provider account. Format: `accounts/{lfp_partner}`", +"location": "path", +"pattern": "^accounts/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "lfp/v1/{+parent}/lfpSales:insert", +"request": { +"$ref": "LfpSale" +}, +"response": { +"$ref": "LfpSale" +}, +"scopes": [ +"https://www.googleapis.com/auth/content" +] +} +} +}, +"lfpStores": { +"methods": { +"delete": { +"description": "Deletes a store for a target merchant.", +"flatPath": "lfp/v1/accounts/{accountsId}/lfpStores/{lfpStoresId}", +"httpMethod": "DELETE", +"id": "merchantapi.accounts.lfpStores.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the store to delete for the target merchant account. Format: `accounts/{account}/lfpStores/{target_merchant}~{store_code}`", +"location": "path", +"pattern": "^accounts/[^/]+/lfpStores/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "lfp/v1/{+name}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/content" +] +}, +"get": { +"description": "Retrieves information about a store.", +"flatPath": "lfp/v1/accounts/{accountsId}/lfpStores/{lfpStoresId}", +"httpMethod": "GET", +"id": "merchantapi.accounts.lfpStores.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the store to retrieve. Format: `accounts/{account}/lfpStores/{target_merchant}~{store_code}`", +"location": "path", +"pattern": "^accounts/[^/]+/lfpStores/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "lfp/v1/{+name}", +"response": { +"$ref": "LfpStore" +}, +"scopes": [ +"https://www.googleapis.com/auth/content" +] +}, +"insert": { +"description": "Inserts a store for the target merchant. If the store with the same store code already exists, it will be replaced.", +"flatPath": "lfp/v1/accounts/{accountsId}/lfpStores:insert", +"httpMethod": "POST", +"id": "merchantapi.accounts.lfpStores.insert", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The LFP provider account Format: `accounts/{account}`", +"location": "path", +"pattern": "^accounts/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "lfp/v1/{+parent}/lfpStores:insert", +"request": { +"$ref": "LfpStore" +}, +"response": { +"$ref": "LfpStore" +}, +"scopes": [ +"https://www.googleapis.com/auth/content" +] +}, +"list": { +"description": "Lists the stores of the target merchant, specified by the filter in `ListLfpStoresRequest`.", +"flatPath": "lfp/v1/accounts/{accountsId}/lfpStores", +"httpMethod": "GET", +"id": "merchantapi.accounts.lfpStores.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "Optional. The maximum number of `LfpStore` resources for the given account to return. The service returns fewer than this value if the number of stores for the given account is less than the `pageSize`. The default value is 250. The maximum value is 1000; If a value higher than the maximum is specified, then the `pageSize` will default to the maximum.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. A page token, received from a previous `ListLfpStoresRequest` call. Provide the page token to retrieve the subsequent page. When paginating, all other parameters provided to `ListLfpStoresRequest` must match the call that provided the page token. The token returned as nextPageToken in the response to the previous request.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The LFP partner. Format: `accounts/{account}`", +"location": "path", +"pattern": "^accounts/[^/]+$", +"required": true, +"type": "string" +}, +"targetAccount": { +"description": "Required. The Merchant Center id of the merchant to list stores for.", +"format": "int64", +"location": "query", +"type": "string" +} +}, +"path": "lfp/v1/{+parent}/lfpStores", +"response": { +"$ref": "ListLfpStoresResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/content" +] +} +} +} +} +} +}, +"revision": "20260223", +"rootUrl": "https://merchantapi.googleapis.com/", +"schemas": { +"CountrySettings": { +"description": "Country-specific settings for the merchant.", +"id": "CountrySettings", +"properties": { +"freeLocalListingsEnabled": { +"description": "True if this merchant has enabled free local listings in MC.", +"type": "boolean" +}, +"instockServingVerificationState": { +"description": "Output only. The verification state of this merchant's instock serving feature.", +"enum": [ +"VERIFICATION_STATE_UNSPECIFIED", +"VERIFICATION_STATE_NOT_APPROVED", +"VERIFICATION_STATE_IN_PROGRESS", +"VERIFICATION_STATE_APPROVED" +], +"enumDescriptions": [ +"Verification state unspecified.", +"Verification state not approved.", +"Verification state in progress.", +"Verification state approved." +], +"readOnly": true, +"type": "string" +}, +"inventoryVerificationState": { +"description": "Output only. The verification state of this merchant's inventory check.", +"enum": [ +"VERIFICATION_STATE_UNSPECIFIED", +"VERIFICATION_STATE_NOT_APPROVED", +"VERIFICATION_STATE_IN_PROGRESS", +"VERIFICATION_STATE_APPROVED" +], +"enumDescriptions": [ +"Verification state unspecified.", +"Verification state not approved.", +"Verification state in progress.", +"Verification state approved." +], +"readOnly": true, +"type": "string" +}, +"localInventoryAdsEnabled": { +"description": "True if this merchant has enabled local inventory ads in MC.", +"type": "boolean" +}, +"pickupServingVerificationState": { +"description": "Output only. The verification state of this merchant's pickup serving feature.", +"enum": [ +"VERIFICATION_STATE_UNSPECIFIED", +"VERIFICATION_STATE_NOT_APPROVED", +"VERIFICATION_STATE_IN_PROGRESS", +"VERIFICATION_STATE_APPROVED" +], +"enumDescriptions": [ +"Verification state unspecified.", +"Verification state not approved.", +"Verification state in progress.", +"Verification state approved." +], +"readOnly": true, +"type": "string" +}, +"productPageType": { +"description": "Output only. The product page type selected by this merchant.", +"enum": [ +"PRODUCT_PAGE_TYPE_UNSPECIFIED", +"GOOGLE_HOSTED", +"MERCHANT_HOSTED", +"MERCHANT_HOSTED_STORE_SPECIFIC" +], +"enumDescriptions": [ +"Product page type unspecified.", +"Google hosted product page.", +"Merchant hosted product page.", +"Merchant hosted store specific product page." +], +"readOnly": true, +"type": "string" +}, +"regionCode": { +"description": "Required. The [CLDR territory code](https://github.com/unicode-org/cldr/blob/latest/common/main/en.xml) for the country for which these settings are defined.", +"type": "string" +} +}, +"type": "object" +}, +"Empty": { +"description": "A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }", +"id": "Empty", +"properties": {}, +"type": "object" +}, +"InventoryStats": { +"description": "The inventory statistics for a merchant.", +"id": "InventoryStats", +"properties": { +"submittedEntries": { +"description": "Number of entries (understanding entry as a pair of product and store) that were built based on provided inventories/sales and submitted to Google.", +"format": "int64", +"type": "string" +}, +"submittedInStockEntries": { +"description": "Number of submitted in stock entries.", +"format": "int64", +"type": "string" +}, +"submittedProducts": { +"description": "Number of products from provided inventories/sales that were created from matches to existing online products provided by the merchant or to the Google catalog.", +"format": "int64", +"type": "string" +}, +"unsubmittedEntries": { +"description": "Number of entries that were built based on provided inventories/sales and couldn't be submitted to Google due to errors like missing product.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"LfpInventory": { +"description": "Local Inventory for the merchant.", +"id": "LfpInventory", +"properties": { +"availability": { +"description": "Required. Availability of the product at this store. For accepted attribute values, see the [local product inventory data specification](https://support.google.com/merchants/answer/3061342)", +"type": "string" +}, +"collectionTime": { +"description": "Optional. The time when the inventory is collected. If not set, it will be set to the time when the inventory is submitted.", +"format": "google-datetime", +"type": "string" +}, +"contentLanguage": { +"description": "Required. The two-letter ISO 639-1 language code for the item.", +"type": "string" +}, +"feedLabel": { +"description": "Optional. The [feed label](https://developers.google.com/shopping-content/guides/products/feed-labels) for the product. If this is not set, it will default to `regionCode`.", +"type": "string" +}, +"gtin": { +"description": "Optional. The Global Trade Item Number of the product.", +"type": "string" +}, +"name": { +"description": "Output only. Identifier. The name for the `LfpInventory` resource. Format: `accounts/{account}/lfpInventories/{target_merchant}~{store_code}~{offer}`", +"readOnly": true, +"type": "string" +}, +"offerId": { +"description": "Required. Immutable. A unique identifier for the product. If both inventories and sales are submitted for a merchant, this id should match for the same product. **Note**: if the merchant sells the same product new and used, they should have different IDs.", +"type": "string" +}, +"pickupMethod": { +"description": "Optional. Supported pickup method for this offer. Unless the value is \"not supported\", this field must be submitted together with `pickupSla`. For accepted attribute values, see the [local product inventory data specification](https://support.google.com/merchants/answer/3061342).", +"type": "string" +}, +"pickupSla": { +"description": "Optional. Expected date that an order will be ready for pickup relative to the order date. Must be submitted together with `pickupMethod`. For accepted attribute values, see the [local product inventory data specification](https://support.google.com/merchants/answer/3061342).", +"type": "string" +}, +"price": { +"$ref": "Price", +"description": "Optional. The current price of the product." +}, +"quantity": { +"description": "Optional. Quantity of the product available at this store. Must be greater than or equal to zero.", +"format": "int64", +"type": "string" +}, +"regionCode": { +"description": "Required. The [CLDR territory code](https://github.com/unicode-org/cldr/blob/latest/common/main/en.xml) for the country where the product is sold.", +"type": "string" +}, +"storeCode": { +"description": "Required. The identifier of the merchant's store. Either the store code inserted through `InsertLfpStore` or the store code in the Business Profile.", +"type": "string" +}, +"targetAccount": { +"description": "Required. The Merchant Center ID of the merchant to submit the inventory for.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"LfpMerchantState": { +"description": "The LFP state of a merchant.", +"id": "LfpMerchantState", +"properties": { +"countrySettings": { +"description": "Country-specific settings for the merchant.", +"items": { +"$ref": "CountrySettings" +}, +"type": "array" +}, +"inventoryStats": { +"$ref": "InventoryStats", +"description": "The inventory statistics for the merchant. The field will be absent if the merchant has no inventory submitted through LFP." +}, +"linkedGbps": { +"description": "Number of [GBPs](https://www.google.com/business/) this merchant has access to.", +"format": "int64", +"type": "string" +}, +"name": { +"description": "Identifier. The name of the `LfpMerchantState` resource. Format: `accounts/{account}/lfpMerchantStates/{target_merchant}`. For example, `accounts/123456/lfpMerchantStates/567890`.", +"type": "string" +}, +"storeStates": { +"description": "Output only. The state per store from the specified merchant. The field will be absent if the merchant has no stores submitted through LFP.", +"items": { +"$ref": "LfpStoreState" +}, +"readOnly": true, +"type": "array" +} +}, +"type": "object" +}, +"LfpSale": { +"description": "A sale for the merchant.", +"id": "LfpSale", +"properties": { +"contentLanguage": { +"description": "Required. The two-letter ISO 639-1 language code for the item.", +"type": "string" +}, +"feedLabel": { +"description": "Optional. The [feed label](https://developers.google.com/shopping-content/guides/products/feed-labels) for the product. If this is not set, it will default to `regionCode`.", +"type": "string" +}, +"gtin": { +"description": "Required. The Global Trade Item Number of the sold product.", +"type": "string" +}, +"name": { +"description": "Output only. Identifier. The name of the `LfpSale` resource. Format: `accounts/{account}/lfpSales/{sale}`", +"readOnly": true, +"type": "string" +}, +"offerId": { +"description": "Required. A unique identifier for the product. If both inventories and sales are submitted for a merchant, this id should match for the same product. **Note**: if the merchant sells the same product new and used, they should have different IDs.", +"type": "string" +}, +"price": { +"$ref": "Price", +"description": "Required. The unit price of the product." +}, +"quantity": { +"description": "Required. The relative change of the available quantity. Negative for items returned.", +"format": "int64", +"type": "string" +}, +"regionCode": { +"description": "Required. The [CLDR territory code](https://github.com/unicode-org/cldr/blob/latest/common/main/en.xml) for the country where the product is sold.", +"type": "string" +}, +"saleTime": { +"description": "Required. The timestamp for the sale.", +"format": "google-datetime", +"type": "string" +}, +"storeCode": { +"description": "Required. The identifier of the merchant's store. Either a `storeCode` inserted through the API or the code of the store in the Business Profile.", +"type": "string" +}, +"targetAccount": { +"description": "Required. The Merchant Center ID of the merchant to submit the sale for.", +"format": "int64", +"type": "string" +}, +"uid": { +"description": "Output only. System generated globally unique ID for the `LfpSale`.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"LfpStore": { +"description": "A store for the merchant. This will be used to match to a store under the Google Business Profile of the target merchant. If a matching store can't be found, the inventories or sales submitted with the store code will not be used.", +"id": "LfpStore", +"properties": { +"gcidCategory": { +"description": "Optional. [Google My Business category id](https://support.google.com/business/answer/7249669).", +"items": { +"type": "string" +}, +"type": "array" +}, +"matchingState": { +"description": "Optional. Output only. The state of matching to a Google Business Profile. See matchingStateHint for further details if no match is found.", +"enum": [ +"STORE_MATCHING_STATE_UNSPECIFIED", +"STORE_MATCHING_STATE_MATCHED", +"STORE_MATCHING_STATE_FAILED" +], +"enumDescriptions": [ +"Store matching state unspecified.", +"The `LfpStore` is successfully matched with a Google Business Profile store.", +"The `LfpStore` is not matched with a Google Business Profile store." +], +"readOnly": true, +"type": "string" +}, +"matchingStateHint": { +"description": "Optional. Output only. The hint of why the matching has failed. This is only set when matchingState=`STORE_MATCHING_STATE_FAILED`. Possible values are: - \"`linked-store-not-found`\": There aren't any Google Business Profile stores available for matching. - \"`store-match-not-found`\": The provided `LfpStore` couldn't be matched to any of the connected Google Business Profile stores. Merchant Center account is connected correctly and stores are available on Google Business Profile, but the `LfpStore` location address does not match with Google Business Profile stores' addresses. Update the `LfpStore` address or Google Business Profile store address to match correctly. - \"`store-match-unverified`\": The provided `LfpStore` couldn't be matched to any of the connected Google Business Profile stores, as the matched Google Business Profile store is unverified. Go through the Google Business Profile verification process to match correctly.", +"readOnly": true, +"type": "string" +}, +"name": { +"description": "Output only. Identifier. The name of the `LfpStore` resource. Format: `accounts/{account}/lfpStores/{target_merchant}~{store_code}`", +"readOnly": true, +"type": "string" +}, +"phoneNumber": { +"description": "Optional. The store phone number in [E.164](https://en.wikipedia.org/wiki/E.164) format. Example: `+15556767888`", +"type": "string" +}, +"placeId": { +"description": "Optional. The [Google Place Id](https://developers.google.com/maps/documentation/places/web-service/place-id#id-overview) of the store location.", +"type": "string" +}, +"storeAddress": { +"description": "Required. The street address of the store. Example: 1600 Amphitheatre Pkwy, Mountain View, CA 94043, USA.", +"type": "string" +}, +"storeCode": { +"description": "Required. Immutable. A store identifier that is unique for the target merchant.", +"type": "string" +}, +"storeName": { +"description": "Optional. The merchant or store name.", +"type": "string" +}, +"targetAccount": { +"description": "Required. The Merchant Center id of the merchant to submit the store for.", +"format": "int64", +"type": "string" +}, +"websiteUri": { +"description": "Optional. The website URL for the store or merchant.", +"type": "string" +} +}, +"type": "object" +}, +"LfpStoreState": { +"description": "The state of a specific merchant's store.", +"id": "LfpStoreState", +"properties": { +"matchingState": { +"description": "Output only. The store matching state.", +"enum": [ +"STORE_MATCHING_STATE_UNSPECIFIED", +"STORE_MATCHING_STATE_MATCHED", +"STORE_MATCHING_STATE_FAILED" +], +"enumDescriptions": [ +"Store matching state unspecified.", +"The `LfpStore` is successfully matched with a Google Business Profile store.", +"The `LfpStore` is not matched with a Google Business Profile store." +], +"readOnly": true, +"type": "string" +}, +"matchingStateHint": { +"description": "The hint of why the matching has failed (only set if matching_state is FAILED).", +"type": "string" +}, +"storeCode": { +"description": "Required. Immutable. The identifier of this store.", +"type": "string" +} +}, +"type": "object" +}, +"ListLfpStoresResponse": { +"description": "Response message for the ListLfpStores method.", +"id": "ListLfpStoresResponse", +"properties": { +"lfpStores": { +"description": "The stores from the specified merchant.", +"items": { +"$ref": "LfpStore" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A token, which can be sent as `pageToken` to retrieve the next page. If this field is omitted, there are no subsequent pages.", +"type": "string" +} +}, +"type": "object" +}, +"Price": { +"description": "The price represented as a number and currency.", +"id": "Price", +"properties": { +"amountMicros": { +"description": "The price represented as a number in micros (1 million micros is an equivalent to one's currency standard unit, for example, 1 USD = 1000000 micros).", +"format": "int64", +"type": "string" +}, +"currencyCode": { +"description": "The currency of the price using three-letter acronyms according to [ISO 4217](http://en.wikipedia.org/wiki/ISO_4217).", +"type": "string" +} +}, +"type": "object" +}, +"ProductChange": { +"description": "The change that happened to the product including old value, new value, country code as the region code and reporting context.", +"id": "ProductChange", +"properties": { +"newValue": { +"description": "The new value of the changed resource or attribute. If empty, it means that the product was deleted. Will have one of these values : (`approved`, `pending`, `disapproved`, ``)", +"type": "string" +}, +"oldValue": { +"description": "The old value of the changed resource or attribute. If empty, it means that the product was created. Will have one of these values : (`approved`, `pending`, `disapproved`, ``)", +"type": "string" +}, +"regionCode": { +"description": "Countries that have the change (if applicable). Represented in the ISO 3166 format.", +"type": "string" +}, +"reportingContext": { +"description": "Reporting contexts that have the change (if applicable). Currently this field supports only (`SHOPPING_ADS`, `LOCAL_INVENTORY_ADS`, `YOUTUBE_SHOPPING`, `YOUTUBE_CHECKOUT`, `YOUTUBE_AFFILIATE`) from the enum value [ReportingContextEnum](/merchant/api/reference/rest/Shared.Types/ReportingContextEnum)", +"enum": [ +"REPORTING_CONTEXT_ENUM_UNSPECIFIED", +"SHOPPING_ADS", +"DISCOVERY_ADS", +"DEMAND_GEN_ADS", +"DEMAND_GEN_ADS_DISCOVER_SURFACE", +"VIDEO_ADS", +"DISPLAY_ADS", +"LOCAL_INVENTORY_ADS", +"VEHICLE_INVENTORY_ADS", +"FREE_LISTINGS", +"FREE_LISTINGS_UCP_CHECKOUT", +"FREE_LOCAL_LISTINGS", +"FREE_LOCAL_VEHICLE_LISTINGS", +"YOUTUBE_AFFILIATE", +"YOUTUBE_SHOPPING", +"CLOUD_RETAIL", +"LOCAL_CLOUD_RETAIL", +"PRODUCT_REVIEWS", +"MERCHANT_REVIEWS", +"YOUTUBE_CHECKOUT" +], +"enumDeprecated": [ +false, +false, +true, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false +], +"enumDescriptions": [ +"Not specified.", +"[Shopping ads](https://support.google.com/merchants/answer/6149970).", +"Deprecated: Use `DEMAND_GEN_ADS` instead. [Discovery and Demand Gen ads](https://support.google.com/merchants/answer/13389785).", +"[Demand Gen ads](https://support.google.com/merchants/answer/13389785).", +"[Demand Gen ads on Discover surface](https://support.google.com/merchants/answer/13389785).", +"[Video ads](https://support.google.com/google-ads/answer/6340491).", +"[Display ads](https://support.google.com/merchants/answer/6069387).", +"[Local inventory ads](https://support.google.com/merchants/answer/3271956).", +"[Vehicle inventory ads](https://support.google.com/merchants/answer/11544533).", +"[Free product listings](https://support.google.com/merchants/answer/9199328).", +"[Free product listings on UCP checkout](https://developers.google.com/merchant/ucp).", +"[Free local product listings](https://support.google.com/merchants/answer/9825611).", +"[Free local vehicle listings](https://support.google.com/merchants/answer/11544533).", +"[Youtube Affiliate](https://support.google.com/youtube/answer/13376398).", +"[YouTube Shopping](https://support.google.com/merchants/answer/13478370).", +"[Cloud retail](https://cloud.google.com/solutions/retail).", +"[Local cloud retail](https://cloud.google.com/solutions/retail).", +"[Product Reviews](https://support.google.com/merchants/answer/14620732).", +"[Merchant Reviews](https://developers.google.com/merchant-review-feeds).", +"YouTube Checkout ." +], +"type": "string" +} +}, +"type": "object" +}, +"ProductStatusChangeMessage": { +"description": "The message that the merchant will receive to notify about product status change event", +"id": "ProductStatusChangeMessage", +"properties": { +"account": { +"description": "The target account that owns the entity that changed. Format : `accounts/{merchant_id}`", +"type": "string" +}, +"attribute": { +"description": "The attribute in the resource that changed, in this case it will be always `Status`.", +"enum": [ +"ATTRIBUTE_UNSPECIFIED", +"STATUS" +], +"enumDescriptions": [ +"Unspecified attribute", +"Status of the changed entity" +], +"type": "string" +}, +"changes": { +"description": "A message to describe the change that happened to the product", +"items": { +"$ref": "ProductChange" +}, +"type": "array" +}, +"eventTime": { +"description": "The time at which the event was generated. If you want to order the notification messages you receive you should rely on this field not on the order of receiving the notifications.", +"format": "google-datetime", +"type": "string" +}, +"expirationTime": { +"description": "Optional. The product expiration time. This field will not be set if the notification is sent for a product deletion event.", +"format": "google-datetime", +"type": "string" +}, +"managingAccount": { +"description": "The account that manages the merchant's account. can be the same as merchant id if it is standalone account. Format : `accounts/{service_provider_id}`", +"type": "string" +}, +"resource": { +"description": "The product name. Format: `accounts/{account}/products/{product}`", +"type": "string" +}, +"resourceId": { +"description": "The product id.", +"type": "string" +}, +"resourceType": { +"description": "The resource that changed, in this case it will always be `Product`.", +"enum": [ +"RESOURCE_UNSPECIFIED", +"PRODUCT" +], +"enumDescriptions": [ +"Unspecified resource", +"Resource type : product" +], +"type": "string" +} +}, +"type": "object" +} +}, +"servicePath": "", +"title": "Merchant API", +"version": "lfp_v1", +"version_module": true +} \ No newline at end of file diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/merchantapi.notifications_v1beta.json b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/merchantapi.notifications_v1beta.json new file mode 100644 index 0000000000000000000000000000000000000000..e4be7f79de374221887f28887aa29aaa9cfa4edc --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/merchantapi.notifications_v1beta.json @@ -0,0 +1,486 @@ +{ +"auth": { +"oauth2": { +"scopes": { +"https://www.googleapis.com/auth/content": { +"description": "Manage your product listings and accounts for Google Shopping" +} +} +} +}, +"basePath": "", +"baseUrl": "https://merchantapi.googleapis.com/", +"batchPath": "batch", +"canonicalName": "Merchant", +"description": "Programmatically manage your Merchant Center Accounts.", +"discoveryVersion": "v1", +"documentationLink": "https://developers.google.com/merchant/api", +"fullyEncodeReservedExpansion": true, +"icons": { +"x16": "http://www.google.com/images/icons/product/search-16.gif", +"x32": "http://www.google.com/images/icons/product/search-32.gif" +}, +"id": "merchantapi:notifications_v1beta", +"kind": "discovery#restDescription", +"mtlsRootUrl": "https://merchantapi.mtls.googleapis.com/", +"name": "merchantapi", +"ownerDomain": "google.com", +"ownerName": "Google", +"parameters": { +"$.xgafv": { +"description": "V1 error format.", +"enum": [ +"1", +"2" +], +"enumDescriptions": [ +"v1 error format", +"v2 error format" +], +"location": "query", +"type": "string" +}, +"access_token": { +"description": "OAuth access token.", +"location": "query", +"type": "string" +}, +"alt": { +"default": "json", +"description": "Data format for response.", +"enum": [ +"json", +"media", +"proto" +], +"enumDescriptions": [ +"Responses with Content-Type of application/json", +"Media download with context-dependent Content-Type", +"Responses with Content-Type of application/x-protobuf" +], +"location": "query", +"type": "string" +}, +"callback": { +"description": "JSONP", +"location": "query", +"type": "string" +}, +"fields": { +"description": "Selector specifying which fields to include in a partial response.", +"location": "query", +"type": "string" +}, +"key": { +"description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", +"location": "query", +"type": "string" +}, +"oauth_token": { +"description": "OAuth 2.0 token for the current user.", +"location": "query", +"type": "string" +}, +"prettyPrint": { +"default": "true", +"description": "Returns response with indentations and line breaks.", +"location": "query", +"type": "boolean" +}, +"quotaUser": { +"description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.", +"location": "query", +"type": "string" +}, +"uploadType": { +"description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", +"location": "query", +"type": "string" +}, +"upload_protocol": { +"description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", +"location": "query", +"type": "string" +} +}, +"protocol": "rest", +"resources": { +"accounts": { +"resources": { +"notificationsubscriptions": { +"methods": { +"create": { +"description": "Creates a notification subscription for a business. For standalone or subaccounts accounts, the business can create a subscription for self. For MCAs, the business can create a subscription for all managed accounts or for a specific subaccount. See [Decode notifications](/merchant/api/guides/accounts/notifications#decode_notifications) for information on how to decode the notification payload and how to interpret its contents. We will allow the following types of notification subscriptions to exist together (per business as a subscriber per event type): 1. Subscription for all managed accounts + subscription for self. 2. Multiple \"partial\" subscriptions for managed accounts + subscription for self. we will not allow (per business as a subscriber per event type): 1. Multiple self subscriptions. 2. Multiple \"all managed accounts\" subscriptions. 3. \"All managed accounts\" subscription and partial subscriptions at the same time. 4. Multiple partial subscriptions for the same target account.", +"flatPath": "notifications/v1beta/accounts/{accountsId}/notificationsubscriptions", +"httpMethod": "POST", +"id": "merchantapi.accounts.notificationsubscriptions.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The merchant account that owns the new notification subscription. Format: `accounts/{account}`", +"location": "path", +"pattern": "^accounts/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "notifications/v1beta/{+parent}/notificationsubscriptions", +"request": { +"$ref": "NotificationSubscription" +}, +"response": { +"$ref": "NotificationSubscription" +}, +"scopes": [ +"https://www.googleapis.com/auth/content" +] +}, +"delete": { +"description": "Deletes a notification subscription for a merchant.", +"flatPath": "notifications/v1beta/accounts/{accountsId}/notificationsubscriptions/{notificationsubscriptionsId}", +"httpMethod": "DELETE", +"id": "merchantapi.accounts.notificationsubscriptions.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the notification subscription to be deleted.", +"location": "path", +"pattern": "^accounts/[^/]+/notificationsubscriptions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "notifications/v1beta/{+name}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/content" +] +}, +"get": { +"description": "Gets notification subscriptions for an account.", +"flatPath": "notifications/v1beta/accounts/{accountsId}/notificationsubscriptions/{notificationsubscriptionsId}", +"httpMethod": "GET", +"id": "merchantapi.accounts.notificationsubscriptions.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The `name` of the notification subscription.", +"location": "path", +"pattern": "^accounts/[^/]+/notificationsubscriptions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "notifications/v1beta/{+name}", +"response": { +"$ref": "NotificationSubscription" +}, +"scopes": [ +"https://www.googleapis.com/auth/content" +] +}, +"list": { +"description": "Gets all the notification subscriptions for a merchant.", +"flatPath": "notifications/v1beta/accounts/{accountsId}/notificationsubscriptions", +"httpMethod": "GET", +"id": "merchantapi.accounts.notificationsubscriptions.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "The maximum number of notification subscriptions to return in a page. The default value for `page_size` is 100. The maximum value is `200`. Values above `200` will be coerced to `200`.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Token (if provided) to retrieve the subsequent page. All other parameters must match the original call that provided the page token.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The merchant account who owns the notification subscriptions. Format: `accounts/{account}`", +"location": "path", +"pattern": "^accounts/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "notifications/v1beta/{+parent}/notificationsubscriptions", +"response": { +"$ref": "ListNotificationSubscriptionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/content" +] +}, +"patch": { +"description": "Updates an existing notification subscription for a merchant.", +"flatPath": "notifications/v1beta/accounts/{accountsId}/notificationsubscriptions/{notificationsubscriptionsId}", +"httpMethod": "PATCH", +"id": "merchantapi.accounts.notificationsubscriptions.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Output only. The `name` of the notification configuration. Generated by the Content API upon creation of a new `NotificationSubscription`. The `account` represents the merchant ID of the merchant that owns the configuration. Format: `accounts/{account}/notificationsubscriptions/{notification_subscription}`", +"location": "path", +"pattern": "^accounts/[^/]+/notificationsubscriptions/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "List of fields being updated.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "notifications/v1beta/{+name}", +"request": { +"$ref": "NotificationSubscription" +}, +"response": { +"$ref": "NotificationSubscription" +}, +"scopes": [ +"https://www.googleapis.com/auth/content" +] +} +} +} +} +} +}, +"revision": "20260223", +"rootUrl": "https://merchantapi.googleapis.com/", +"schemas": { +"Empty": { +"description": "A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }", +"id": "Empty", +"properties": {}, +"type": "object" +}, +"ListNotificationSubscriptionsResponse": { +"description": "Response message for the ListNotificationSubscription method.", +"id": "ListNotificationSubscriptionsResponse", +"properties": { +"nextPageToken": { +"description": "A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.", +"type": "string" +}, +"notificationSubscriptions": { +"description": "The list of notification subscriptions requested by the merchant.", +"items": { +"$ref": "NotificationSubscription" +}, +"type": "array" +} +}, +"type": "object" +}, +"NotificationSubscription": { +"description": "Represents a notification subscription owned by a Merchant account. See [Decode notifications](/merchant/api/guides/accounts/notifications#decode_notifications) for information on how to decode the notification payload and how to interpret its contents.", +"id": "NotificationSubscription", +"properties": { +"allManagedAccounts": { +"description": "If this value is true, the requesting account is notified of the specified event for all managed accounts (can be subaccounts or other linked accounts) including newly added accounts on a daily basis.", +"type": "boolean" +}, +"callBackUri": { +"description": "URL to be used to push the notification to the merchant.", +"type": "string" +}, +"name": { +"description": "Output only. The `name` of the notification configuration. Generated by the Content API upon creation of a new `NotificationSubscription`. The `account` represents the merchant ID of the merchant that owns the configuration. Format: `accounts/{account}/notificationsubscriptions/{notification_subscription}`", +"readOnly": true, +"type": "string" +}, +"registeredEvent": { +"description": "The event that the merchant wants to be notified about.", +"enum": [ +"NOTIFICATION_EVENT_TYPE_UNSPECIFIED", +"PRODUCT_STATUS_CHANGE" +], +"enumDescriptions": [ +"Notifications event type is unspecified.", +"Notification of product status changes, for example when product becomes disapproved." +], +"type": "string" +}, +"targetAccount": { +"description": "The `name` of the account you want to receive notifications for. Format: `accounts/{account}`", +"type": "string" +} +}, +"type": "object" +}, +"ProductChange": { +"description": "The change that happened to the product including old value, new value, country code as the region code and reporting context.", +"id": "ProductChange", +"properties": { +"newValue": { +"description": "The new value of the changed resource or attribute. If empty, it means that the product was deleted. Will have one of these values : (`approved`, `pending`, `disapproved`, ``)", +"type": "string" +}, +"oldValue": { +"description": "The old value of the changed resource or attribute. If empty, it means that the product was created. Will have one of these values : (`approved`, `pending`, `disapproved`, ``)", +"type": "string" +}, +"regionCode": { +"description": "Countries that have the change (if applicable). Represented in the ISO 3166 format.", +"type": "string" +}, +"reportingContext": { +"description": "Reporting contexts that have the change (if applicable). Currently this field supports only (`SHOPPING_ADS`, `LOCAL_INVENTORY_ADS`, `YOUTUBE_SHOPPING`, `YOUTUBE_CHECKOUT`, `YOUTUBE_AFFILIATE`) from the enum value [ReportingContextEnum](/merchant/api/reference/rest/Shared.Types/ReportingContextEnum)", +"enum": [ +"REPORTING_CONTEXT_ENUM_UNSPECIFIED", +"SHOPPING_ADS", +"DISCOVERY_ADS", +"DEMAND_GEN_ADS", +"DEMAND_GEN_ADS_DISCOVER_SURFACE", +"VIDEO_ADS", +"DISPLAY_ADS", +"LOCAL_INVENTORY_ADS", +"VEHICLE_INVENTORY_ADS", +"FREE_LISTINGS", +"FREE_LISTINGS_UCP_CHECKOUT", +"FREE_LOCAL_LISTINGS", +"FREE_LOCAL_VEHICLE_LISTINGS", +"YOUTUBE_AFFILIATE", +"YOUTUBE_SHOPPING", +"CLOUD_RETAIL", +"LOCAL_CLOUD_RETAIL", +"PRODUCT_REVIEWS", +"MERCHANT_REVIEWS", +"YOUTUBE_CHECKOUT" +], +"enumDeprecated": [ +false, +false, +true, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false +], +"enumDescriptions": [ +"Not specified.", +"[Shopping ads](https://support.google.com/merchants/answer/6149970).", +"Deprecated: Use `DEMAND_GEN_ADS` instead. [Discovery and Demand Gen ads](https://support.google.com/merchants/answer/13389785).", +"[Demand Gen ads](https://support.google.com/merchants/answer/13389785).", +"[Demand Gen ads on Discover surface](https://support.google.com/merchants/answer/13389785).", +"[Video ads](https://support.google.com/google-ads/answer/6340491).", +"[Display ads](https://support.google.com/merchants/answer/6069387).", +"[Local inventory ads](https://support.google.com/merchants/answer/3271956).", +"[Vehicle inventory ads](https://support.google.com/merchants/answer/11544533).", +"[Free product listings](https://support.google.com/merchants/answer/9199328).", +"[Free product listings on UCP checkout](https://developers.google.com/merchant/ucp).", +"[Free local product listings](https://support.google.com/merchants/answer/9825611).", +"[Free local vehicle listings](https://support.google.com/merchants/answer/11544533).", +"[Youtube Affiliate](https://support.google.com/youtube/answer/13376398).", +"[YouTube Shopping](https://support.google.com/merchants/answer/13478370).", +"[Cloud retail](https://cloud.google.com/solutions/retail).", +"[Local cloud retail](https://cloud.google.com/solutions/retail).", +"[Product Reviews](https://support.google.com/merchants/answer/14620732).", +"[Merchant Reviews](https://developers.google.com/merchant-review-feeds).", +"YouTube Checkout ." +], +"type": "string" +} +}, +"type": "object" +}, +"ProductStatusChangeMessage": { +"description": "The message that the merchant will receive to notify about product status change event", +"id": "ProductStatusChangeMessage", +"properties": { +"account": { +"description": "The target account that owns the entity that changed. Format : `accounts/{merchant_id}`", +"type": "string" +}, +"attribute": { +"description": "The attribute in the resource that changed, in this case it will be always `Status`.", +"enum": [ +"ATTRIBUTE_UNSPECIFIED", +"STATUS" +], +"enumDescriptions": [ +"Unspecified attribute", +"Status of the changed entity" +], +"type": "string" +}, +"changes": { +"description": "A message to describe the change that happened to the product", +"items": { +"$ref": "ProductChange" +}, +"type": "array" +}, +"eventTime": { +"description": "The time at which the event was generated. If you want to order the notification messages you receive you should rely on this field not on the order of receiving the notifications.", +"format": "google-datetime", +"type": "string" +}, +"expirationTime": { +"description": "Optional. The product expiration time. This field will not be set if the notification is sent for a product deletion event.", +"format": "google-datetime", +"type": "string" +}, +"managingAccount": { +"description": "The account that manages the merchant's account. can be the same as merchant id if it is standalone account. Format : `accounts/{service_provider_id}`", +"type": "string" +}, +"resource": { +"description": "The product name. Format: `accounts/{account}/products/{product}`", +"type": "string" +}, +"resourceId": { +"description": "The product id.", +"type": "string" +}, +"resourceType": { +"description": "The resource that changed, in this case it will always be `Product`.", +"enum": [ +"RESOURCE_UNSPECIFIED", +"PRODUCT" +], +"enumDescriptions": [ +"Unspecified resource", +"Resource type : product" +], +"type": "string" +} +}, +"type": "object" +} +}, +"servicePath": "", +"title": "Merchant API", +"version": "notifications_v1beta", +"version_module": true +} \ No newline at end of file diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/merchantapi.ordertracking_v1beta.json b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/merchantapi.ordertracking_v1beta.json new file mode 100644 index 0000000000000000000000000000000000000000..ddcc28bb751ac03fcf9dc5be60a81cd17e2f04bb --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/merchantapi.ordertracking_v1beta.json @@ -0,0 +1,577 @@ +{ +"auth": { +"oauth2": { +"scopes": { +"https://www.googleapis.com/auth/content": { +"description": "Manage your product listings and accounts for Google Shopping" +} +} +} +}, +"basePath": "", +"baseUrl": "https://merchantapi.googleapis.com/", +"batchPath": "batch", +"canonicalName": "Merchant", +"description": "Programmatically manage your Merchant Center Accounts.", +"discoveryVersion": "v1", +"documentationLink": "https://developers.google.com/merchant/api", +"fullyEncodeReservedExpansion": true, +"icons": { +"x16": "http://www.google.com/images/icons/product/search-16.gif", +"x32": "http://www.google.com/images/icons/product/search-32.gif" +}, +"id": "merchantapi:ordertracking_v1beta", +"kind": "discovery#restDescription", +"mtlsRootUrl": "https://merchantapi.mtls.googleapis.com/", +"name": "merchantapi", +"ownerDomain": "google.com", +"ownerName": "Google", +"parameters": { +"$.xgafv": { +"description": "V1 error format.", +"enum": [ +"1", +"2" +], +"enumDescriptions": [ +"v1 error format", +"v2 error format" +], +"location": "query", +"type": "string" +}, +"access_token": { +"description": "OAuth access token.", +"location": "query", +"type": "string" +}, +"alt": { +"default": "json", +"description": "Data format for response.", +"enum": [ +"json", +"media", +"proto" +], +"enumDescriptions": [ +"Responses with Content-Type of application/json", +"Media download with context-dependent Content-Type", +"Responses with Content-Type of application/x-protobuf" +], +"location": "query", +"type": "string" +}, +"callback": { +"description": "JSONP", +"location": "query", +"type": "string" +}, +"fields": { +"description": "Selector specifying which fields to include in a partial response.", +"location": "query", +"type": "string" +}, +"key": { +"description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", +"location": "query", +"type": "string" +}, +"oauth_token": { +"description": "OAuth 2.0 token for the current user.", +"location": "query", +"type": "string" +}, +"prettyPrint": { +"default": "true", +"description": "Returns response with indentations and line breaks.", +"location": "query", +"type": "boolean" +}, +"quotaUser": { +"description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.", +"location": "query", +"type": "string" +}, +"uploadType": { +"description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", +"location": "query", +"type": "string" +}, +"upload_protocol": { +"description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", +"location": "query", +"type": "string" +} +}, +"protocol": "rest", +"resources": { +"accounts": { +"resources": { +"orderTrackingSignals": { +"methods": { +"create": { +"description": "Creates new order tracking signal.", +"flatPath": "ordertracking/v1beta/accounts/{accountsId}/orderTrackingSignals", +"httpMethod": "POST", +"id": "merchantapi.accounts.orderTrackingSignals.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"orderTrackingSignalId": { +"description": "Output only. The ID that uniquely identifies this order tracking signal.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The account of the business for which the order signal is created. Format: accounts/{account}", +"location": "path", +"pattern": "^accounts/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "ordertracking/v1beta/{+parent}/orderTrackingSignals", +"request": { +"$ref": "OrderTrackingSignal" +}, +"response": { +"$ref": "OrderTrackingSignal" +}, +"scopes": [ +"https://www.googleapis.com/auth/content" +] +} +} +} +} +} +}, +"revision": "20260223", +"rootUrl": "https://merchantapi.googleapis.com/", +"schemas": { +"DateTime": { +"description": "Represents civil time (or occasionally physical time). This type can represent a civil time in one of a few possible ways: * When utc_offset is set and time_zone is unset: a civil time on a calendar day with a particular offset from UTC. * When time_zone is set and utc_offset is unset: a civil time on a calendar day in a particular time zone. * When neither time_zone nor utc_offset is set: a civil time on a calendar day in local time. The date is relative to the Proleptic Gregorian Calendar. If year, month, or day are 0, the DateTime is considered not to have a specific year, month, or day respectively. This type may also be used to represent a physical time if all the date and time fields are set and either case of the `time_offset` oneof is set. Consider using `Timestamp` message for physical time instead. If your use case also would like to store the user's timezone, that can be done in another field. This type is more flexible than some applications may want. Make sure to document and validate your application's limitations.", +"id": "DateTime", +"properties": { +"day": { +"description": "Optional. Day of month. Must be from 1 to 31 and valid for the year and month, or 0 if specifying a datetime without a day.", +"format": "int32", +"type": "integer" +}, +"hours": { +"description": "Optional. Hours of day in 24 hour format. Should be from 0 to 23, defaults to 0 (midnight). An API may choose to allow the value \"24:00:00\" for scenarios like business closing time.", +"format": "int32", +"type": "integer" +}, +"minutes": { +"description": "Optional. Minutes of hour of day. Must be from 0 to 59, defaults to 0.", +"format": "int32", +"type": "integer" +}, +"month": { +"description": "Optional. Month of year. Must be from 1 to 12, or 0 if specifying a datetime without a month.", +"format": "int32", +"type": "integer" +}, +"nanos": { +"description": "Optional. Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999, defaults to 0.", +"format": "int32", +"type": "integer" +}, +"seconds": { +"description": "Optional. Seconds of minutes of the time. Must normally be from 0 to 59, defaults to 0. An API may allow the value 60 if it allows leap-seconds.", +"format": "int32", +"type": "integer" +}, +"timeZone": { +"$ref": "TimeZone", +"description": "Time zone." +}, +"utcOffset": { +"description": "UTC offset. Must be whole seconds, between -18 hours and +18 hours. For example, a UTC offset of -4:00 would be represented as { seconds: -14400 }.", +"format": "google-duration", +"type": "string" +}, +"year": { +"description": "Optional. Year of date. Must be from 1 to 9999, or 0 if specifying a datetime without a year.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"LineItemDetails": { +"description": "The line items of the order.", +"id": "LineItemDetails", +"properties": { +"brand": { +"description": "Optional. Brand of the product.", +"type": "string" +}, +"gtin": { +"deprecated": true, +"description": "Optional. The Global Trade Item Number.", +"type": "string" +}, +"gtins": { +"description": "Optional. The Global Trade Item Numbers.", +"items": { +"type": "string" +}, +"type": "array" +}, +"lineItemId": { +"description": "Required. The ID for this line item.", +"type": "string" +}, +"mpn": { +"description": "Optional. The manufacturer part number.", +"type": "string" +}, +"productId": { +"description": "Required. The Content API REST ID of the product, in the form channel:contentLanguage:targetCountry:offerId.", +"type": "string" +}, +"productTitle": { +"description": "Optional. Plain text title of this product.", +"type": "string" +}, +"quantity": { +"description": "Required. The quantity of the line item in the order.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"OrderTrackingSignal": { +"description": "Represents a business trade from which signals are extracted, such as shipping.", +"id": "OrderTrackingSignal", +"properties": { +"customerShippingFee": { +"$ref": "Price", +"description": "Optional. The shipping fee of the order; this value should be set to zero in the case of free shipping." +}, +"deliveryPostalCode": { +"description": "Optional. The delivery postal code, as a continuous string without spaces or dashes, for example \"95016\". This field will be anonymized in returned OrderTrackingSignal creation response.", +"type": "string" +}, +"deliveryRegionCode": { +"description": "Optional. The [CLDR territory code] (http://www.unicode.org/repos/cldr/tags/latest/common/main/en.xml) for the shipping destination.", +"type": "string" +}, +"lineItems": { +"description": "Required. Information about line items in the order.", +"items": { +"$ref": "LineItemDetails" +}, +"type": "array" +}, +"merchantId": { +"description": "Optional. The Google Merchant Center ID of this order tracking signal. This value is optional. If left unset, the caller's Merchant Center ID is used. You must request access in order to provide data on behalf of another business. For more information, see [Submitting Order Tracking Signals](/shopping-content/guides/order-tracking-signals).", +"format": "int64", +"type": "string" +}, +"orderCreatedTime": { +"$ref": "DateTime", +"description": "Required. The time when the order was created on the businesses side. Include the year and timezone string, if available." +}, +"orderId": { +"description": "Required. The ID of the order on the businesses side. This field will be hashed in returned OrderTrackingSignal creation response.", +"type": "string" +}, +"orderTrackingSignalId": { +"description": "Output only. The ID that uniquely identifies this order tracking signal.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"shipmentLineItemMapping": { +"description": "Optional. The mapping of the line items to the shipment information.", +"items": { +"$ref": "ShipmentLineItemMapping" +}, +"type": "array" +}, +"shippingInfo": { +"description": "Required. The shipping information for the order.", +"items": { +"$ref": "ShippingInfo" +}, +"type": "array" +} +}, +"type": "object" +}, +"Price": { +"description": "The price represented as a number and currency.", +"id": "Price", +"properties": { +"amountMicros": { +"description": "The price represented as a number in micros (1 million micros is an equivalent to one's currency standard unit, for example, 1 USD = 1000000 micros).", +"format": "int64", +"type": "string" +}, +"currencyCode": { +"description": "The currency of the price using three-letter acronyms according to [ISO 4217](http://en.wikipedia.org/wiki/ISO_4217).", +"type": "string" +} +}, +"type": "object" +}, +"ProductChange": { +"description": "The change that happened to the product including old value, new value, country code as the region code and reporting context.", +"id": "ProductChange", +"properties": { +"newValue": { +"description": "The new value of the changed resource or attribute. If empty, it means that the product was deleted. Will have one of these values : (`approved`, `pending`, `disapproved`, ``)", +"type": "string" +}, +"oldValue": { +"description": "The old value of the changed resource or attribute. If empty, it means that the product was created. Will have one of these values : (`approved`, `pending`, `disapproved`, ``)", +"type": "string" +}, +"regionCode": { +"description": "Countries that have the change (if applicable). Represented in the ISO 3166 format.", +"type": "string" +}, +"reportingContext": { +"description": "Reporting contexts that have the change (if applicable). Currently this field supports only (`SHOPPING_ADS`, `LOCAL_INVENTORY_ADS`, `YOUTUBE_SHOPPING`, `YOUTUBE_CHECKOUT`, `YOUTUBE_AFFILIATE`) from the enum value [ReportingContextEnum](/merchant/api/reference/rest/Shared.Types/ReportingContextEnum)", +"enum": [ +"REPORTING_CONTEXT_ENUM_UNSPECIFIED", +"SHOPPING_ADS", +"DISCOVERY_ADS", +"DEMAND_GEN_ADS", +"DEMAND_GEN_ADS_DISCOVER_SURFACE", +"VIDEO_ADS", +"DISPLAY_ADS", +"LOCAL_INVENTORY_ADS", +"VEHICLE_INVENTORY_ADS", +"FREE_LISTINGS", +"FREE_LISTINGS_UCP_CHECKOUT", +"FREE_LOCAL_LISTINGS", +"FREE_LOCAL_VEHICLE_LISTINGS", +"YOUTUBE_AFFILIATE", +"YOUTUBE_SHOPPING", +"CLOUD_RETAIL", +"LOCAL_CLOUD_RETAIL", +"PRODUCT_REVIEWS", +"MERCHANT_REVIEWS", +"YOUTUBE_CHECKOUT" +], +"enumDeprecated": [ +false, +false, +true, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false +], +"enumDescriptions": [ +"Not specified.", +"[Shopping ads](https://support.google.com/merchants/answer/6149970).", +"Deprecated: Use `DEMAND_GEN_ADS` instead. [Discovery and Demand Gen ads](https://support.google.com/merchants/answer/13389785).", +"[Demand Gen ads](https://support.google.com/merchants/answer/13389785).", +"[Demand Gen ads on Discover surface](https://support.google.com/merchants/answer/13389785).", +"[Video ads](https://support.google.com/google-ads/answer/6340491).", +"[Display ads](https://support.google.com/merchants/answer/6069387).", +"[Local inventory ads](https://support.google.com/merchants/answer/3271956).", +"[Vehicle inventory ads](https://support.google.com/merchants/answer/11544533).", +"[Free product listings](https://support.google.com/merchants/answer/9199328).", +"[Free product listings on UCP checkout](https://developers.google.com/merchant/ucp).", +"[Free local product listings](https://support.google.com/merchants/answer/9825611).", +"[Free local vehicle listings](https://support.google.com/merchants/answer/11544533).", +"[Youtube Affiliate](https://support.google.com/youtube/answer/13376398).", +"[YouTube Shopping](https://support.google.com/merchants/answer/13478370).", +"[Cloud retail](https://cloud.google.com/solutions/retail).", +"[Local cloud retail](https://cloud.google.com/solutions/retail).", +"[Product Reviews](https://support.google.com/merchants/answer/14620732).", +"[Merchant Reviews](https://developers.google.com/merchant-review-feeds).", +"YouTube Checkout ." +], +"type": "string" +} +}, +"type": "object" +}, +"ProductStatusChangeMessage": { +"description": "The message that the merchant will receive to notify about product status change event", +"id": "ProductStatusChangeMessage", +"properties": { +"account": { +"description": "The target account that owns the entity that changed. Format : `accounts/{merchant_id}`", +"type": "string" +}, +"attribute": { +"description": "The attribute in the resource that changed, in this case it will be always `Status`.", +"enum": [ +"ATTRIBUTE_UNSPECIFIED", +"STATUS" +], +"enumDescriptions": [ +"Unspecified attribute", +"Status of the changed entity" +], +"type": "string" +}, +"changes": { +"description": "A message to describe the change that happened to the product", +"items": { +"$ref": "ProductChange" +}, +"type": "array" +}, +"eventTime": { +"description": "The time at which the event was generated. If you want to order the notification messages you receive you should rely on this field not on the order of receiving the notifications.", +"format": "google-datetime", +"type": "string" +}, +"expirationTime": { +"description": "Optional. The product expiration time. This field will not be set if the notification is sent for a product deletion event.", +"format": "google-datetime", +"type": "string" +}, +"managingAccount": { +"description": "The account that manages the merchant's account. can be the same as merchant id if it is standalone account. Format : `accounts/{service_provider_id}`", +"type": "string" +}, +"resource": { +"description": "The product name. Format: `accounts/{account}/products/{product}`", +"type": "string" +}, +"resourceId": { +"description": "The product id.", +"type": "string" +}, +"resourceType": { +"description": "The resource that changed, in this case it will always be `Product`.", +"enum": [ +"RESOURCE_UNSPECIFIED", +"PRODUCT" +], +"enumDescriptions": [ +"Unspecified resource", +"Resource type : product" +], +"type": "string" +} +}, +"type": "object" +}, +"ShipmentLineItemMapping": { +"description": "Represents how many items are in the shipment for the given shipment_id and line_item_id.", +"id": "ShipmentLineItemMapping", +"properties": { +"lineItemId": { +"description": "Required. The line item ID.", +"type": "string" +}, +"quantity": { +"description": "Required. The line item quantity in the shipment.", +"format": "int64", +"type": "string" +}, +"shipmentId": { +"description": "Required. The shipment ID. This field will be hashed in returned OrderTrackingSignal creation response.", +"type": "string" +} +}, +"type": "object" +}, +"ShippingInfo": { +"description": "The shipping information for the order.", +"id": "ShippingInfo", +"properties": { +"actualDeliveryTime": { +"$ref": "DateTime", +"description": "Optional. The time when the shipment was actually delivered. Include the year and timezone string, if available. This field is required, if one of the following fields is absent: tracking_id or carrier_name." +}, +"carrier": { +"description": "Optional. The name of the shipping carrier for the delivery. This field is required if one of the following fields is absent: earliest_delivery_promise_time, latest_delivery_promise_time, and actual_delivery_time.", +"type": "string" +}, +"carrierService": { +"description": "Optional. The service type for fulfillment, such as GROUND, FIRST_CLASS, etc.", +"type": "string" +}, +"earliestDeliveryPromiseTime": { +"$ref": "DateTime", +"description": "Optional. The earliest delivery promised time. Include the year and timezone string, if available. This field is required, if one of the following fields is absent: tracking_id or carrier_name." +}, +"latestDeliveryPromiseTime": { +"$ref": "DateTime", +"description": "Optional. The latest delivery promised time. Include the year and timezone string, if available. This field is required, if one of the following fields is absent: tracking_id or carrier_name." +}, +"originPostalCode": { +"description": "Required. The origin postal code, as a continuous string without spaces or dashes, for example \"95016\". This field will be anonymized in returned OrderTrackingSignal creation response.", +"type": "string" +}, +"originRegionCode": { +"description": "Required. The [CLDR territory code] (http://www.unicode.org/repos/cldr/tags/latest/common/main/en.xml) for the shipping origin.", +"type": "string" +}, +"shipmentId": { +"description": "Required. The shipment ID. This field will be hashed in returned OrderTrackingSignal creation response.", +"type": "string" +}, +"shippedTime": { +"$ref": "DateTime", +"description": "Optional. The time when the shipment was shipped. Include the year and timezone string, if available." +}, +"shippingStatus": { +"description": "Required. The status of the shipment.", +"enum": [ +"SHIPPING_STATE_UNSPECIFIED", +"SHIPPED", +"DELIVERED" +], +"enumDescriptions": [ +"The shipping status is not known to business.", +"All items are shipped.", +"The shipment is already delivered." +], +"type": "string" +}, +"trackingId": { +"description": "Optional. The tracking ID of the shipment. This field is required if one of the following fields is absent: earliest_delivery_promise_time, latest_delivery_promise_time, and actual_delivery_time.", +"type": "string" +} +}, +"type": "object" +}, +"TimeZone": { +"description": "Represents a time zone from the [IANA Time Zone Database](https://www.iana.org/time-zones).", +"id": "TimeZone", +"properties": { +"id": { +"description": "IANA Time Zone Database time zone. For example \"America/New_York\".", +"type": "string" +}, +"version": { +"description": "Optional. IANA Time Zone Database version number. For example \"2019a\".", +"type": "string" +} +}, +"type": "object" +} +}, +"servicePath": "", +"title": "Merchant API", +"version": "ordertracking_v1beta", +"version_module": true +} \ No newline at end of file diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/merchantapi.products_v1beta.json b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/merchantapi.products_v1beta.json new file mode 100644 index 0000000000000000000000000000000000000000..565e59429e8b02246b5b138efb1dc28b7f61d873 --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/merchantapi.products_v1beta.json @@ -0,0 +1,1870 @@ +{ +"auth": { +"oauth2": { +"scopes": { +"https://www.googleapis.com/auth/content": { +"description": "Manage your product listings and accounts for Google Shopping" +} +} +} +}, +"basePath": "", +"baseUrl": "https://merchantapi.googleapis.com/", +"batchPath": "batch", +"canonicalName": "Merchant", +"description": "Programmatically manage your Merchant Center Accounts.", +"discoveryVersion": "v1", +"documentationLink": "https://developers.google.com/merchant/api", +"fullyEncodeReservedExpansion": true, +"icons": { +"x16": "http://www.google.com/images/icons/product/search-16.gif", +"x32": "http://www.google.com/images/icons/product/search-32.gif" +}, +"id": "merchantapi:products_v1beta", +"kind": "discovery#restDescription", +"mtlsRootUrl": "https://merchantapi.mtls.googleapis.com/", +"name": "merchantapi", +"ownerDomain": "google.com", +"ownerName": "Google", +"parameters": { +"$.xgafv": { +"description": "V1 error format.", +"enum": [ +"1", +"2" +], +"enumDescriptions": [ +"v1 error format", +"v2 error format" +], +"location": "query", +"type": "string" +}, +"access_token": { +"description": "OAuth access token.", +"location": "query", +"type": "string" +}, +"alt": { +"default": "json", +"description": "Data format for response.", +"enum": [ +"json", +"media", +"proto" +], +"enumDescriptions": [ +"Responses with Content-Type of application/json", +"Media download with context-dependent Content-Type", +"Responses with Content-Type of application/x-protobuf" +], +"location": "query", +"type": "string" +}, +"callback": { +"description": "JSONP", +"location": "query", +"type": "string" +}, +"fields": { +"description": "Selector specifying which fields to include in a partial response.", +"location": "query", +"type": "string" +}, +"key": { +"description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", +"location": "query", +"type": "string" +}, +"oauth_token": { +"description": "OAuth 2.0 token for the current user.", +"location": "query", +"type": "string" +}, +"prettyPrint": { +"default": "true", +"description": "Returns response with indentations and line breaks.", +"location": "query", +"type": "boolean" +}, +"quotaUser": { +"description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.", +"location": "query", +"type": "string" +}, +"uploadType": { +"description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", +"location": "query", +"type": "string" +}, +"upload_protocol": { +"description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", +"location": "query", +"type": "string" +} +}, +"protocol": "rest", +"resources": { +"accounts": { +"resources": { +"productInputs": { +"methods": { +"delete": { +"description": "Deletes a product input from your Merchant Center account. After inserting, updating, or deleting a product input, it may take several minutes before the processed product can be retrieved.", +"flatPath": "products/v1beta/accounts/{accountsId}/productInputs/{productInputsId}", +"httpMethod": "DELETE", +"id": "merchantapi.accounts.productInputs.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"dataSource": { +"description": "Required. The primary or supplemental data source from which the product input should be deleted. Format: `accounts/{account}/dataSources/{datasource}`. For example, `accounts/123456/dataSources/104628`.", +"location": "query", +"type": "string" +}, +"name": { +"description": "Required. The name of the product input to delete. Format: `accounts/{account}/productInputs/{productInput}` The {productInput} segment is a unique identifier for the product. This identifier must be unique within a merchant account and generally follows the structure: `content_language~feed_label~offer_id`. Example: `en~US~sku123` For legacy local products, the structure is: `local~content_language~feed_label~offer_id`. Example: `local~en~US~sku123` The format of the {productInput} segment in the URL is automatically detected by the server, supporting two options: 1. **Encoded Format**: The `{productInput}` segment is an unpadded base64url encoded string (RFC 4648 Section 5). The decoded string must result in the `content_language~feed_label~offer_id` structure. This encoding MUST be used if any part of the product identifier (like `offer_id`) contains characters such as `/`, `%`, or `~`. * Example: To represent the product ID `en~US~sku/123`, the `{productInput}` segment must be the base64url encoding of this string, which is `ZW5-VVMtc2t1LzEyMw`. The full resource name for the product would be `accounts/123/productInputs/ZW5-VVMtc2t1LzEyMw`. 2. **Plain Format**: The `{productInput}` segment is the tilde-separated string `content_language~feed_label~offer_id`. This format is suitable only when `content_language`, `feed_label`, and `offer_id` do not contain URL-problematic characters like `/`, `%`, or `~`. We recommend using the **Encoded Format** for all product IDs to ensure correct parsing, especially those containing special characters. The presence of tilde (`~`) characters in the `{productInput}` segment is used to differentiate between the two formats. Note: For calls to the v1beta version, the plain format is `channel~content_language~feed_label~offer_id`, for example: `accounts/123/productinputs/online~en~US~sku123`.", +"location": "path", +"pattern": "^accounts/[^/]+/productInputs/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "products/v1beta/{+name}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/content" +] +}, +"insert": { +"description": "[Uploads a product input to your Merchant Center account](/merchant/api/guides/products/add-manage#add_a_product). You must have a products [data source](/merchant/api/guides/data-sources/api-sources#create-primary-data-source) to be able to insert a product. The unique identifier of the data source is passed as a query parameter in the request URL. If a product input with the same contentLanguage, offerId, and dataSource already exists, then the product input inserted by this method replaces that entry. After inserting, updating, or deleting a product input, it may take several minutes before the processed product can be retrieved.", +"flatPath": "products/v1beta/accounts/{accountsId}/productInputs:insert", +"httpMethod": "POST", +"id": "merchantapi.accounts.productInputs.insert", +"parameterOrder": [ +"parent" +], +"parameters": { +"dataSource": { +"description": "Required. The primary or supplemental product data source name. If the product already exists and data source provided is different, then the product will be moved to a new data source. For more information, see [Create a primary data source](/merchant/api/guides/data-sources/api-sources#create-primary-data-source). Only API data sources are supported. Format: `accounts/{account}/dataSources/{datasource}`. For example, `accounts/123456/dataSources/104628`.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The account where this product will be inserted. Format: `accounts/{account}`", +"location": "path", +"pattern": "^accounts/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "products/v1beta/{+parent}/productInputs:insert", +"request": { +"$ref": "ProductInput" +}, +"response": { +"$ref": "ProductInput" +}, +"scopes": [ +"https://www.googleapis.com/auth/content" +] +}, +"patch": { +"description": "Updates the existing product input in your Merchant Center account. The name of the product input to update is taken from the `name` field within the `ProductInput` resource. After inserting, updating, or deleting a product input, it may take several minutes before the processed product can be retrieved.", +"flatPath": "products/v1beta/accounts/{accountsId}/productInputs/{productInputsId}", +"httpMethod": "PATCH", +"id": "merchantapi.accounts.productInputs.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"dataSource": { +"description": "Required. The primary or supplemental product data source where `data_source` name identifies the product input to be updated. Only API data sources are supported. Format: `accounts/{account}/dataSources/{datasource}`. For example, `accounts/123456/dataSources/104628`.", +"location": "query", +"type": "string" +}, +"name": { +"description": "Identifier. The name of the product. Format: `accounts/{account}/productInputs/{productinput}` The {productinput} segment is a unique identifier for the product. This identifier must be unique within a merchant account and generally follows the structure: `content_language~feed_label~offer_id`. Example: `en~US~sku123` For legacy local products, the structure is: `local~content_language~feed_label~offer_id`. Example: `local~en~US~sku123` The format of the {productinput} segment in the URL is automatically detected by the server, supporting two options: 1. **Encoded Format**: The `{productinput}` segment is an unpadded base64url encoded string (RFC 4648 Section 5). The decoded string must result in the `content_language~feed_label~offer_id` structure. This encoding MUST be used if any part of the product identifier (like `offer_id`) contains characters such as `/`, `%`, or `~`. * Example: To represent the product ID `en~US~sku/123`, the `{productinput}` segment must be the base64url encoding of this string, which is `ZW5-VVMtc2t1LzEyMw`. The full resource name for the product would be `accounts/123/productinputs/ZW5-VVMtc2t1LzEyMw`. 2. **Plain Format**: The `{productinput}` segment is the tilde-separated string `content_language~feed_label~offer_id`. This format is suitable only when `content_language`, `feed_label`, and `offer_id` do not contain URL-problematic characters like `/`, `%`, or `~`. We recommend using the **Encoded Format** for all product IDs to ensure correct parsing, especially those containing special characters. The presence of tilde (`~`) characters in the `{productinput}` segment is used to differentiate between the two formats. Note: For calls to the v1beta version, the plain format is `channel~content_language~feed_label~offer_id`, for example: `accounts/123/productinputs/online~en~US~sku123`.", +"location": "path", +"pattern": "^accounts/[^/]+/productInputs/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Optional. The list of product attributes to be updated. If the update mask is omitted, then it is treated as implied field mask equivalent to all fields that are populated (have a non-empty value). Attributes specified in the update mask without a value specified in the body will be deleted from the product. Update mask can only be specified for top level fields in attributes and custom attributes. To specify the update mask for custom attributes you need to add the `custom_attribute.` prefix. Providing special \"*\" value for full product replacement is not supported.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "products/v1beta/{+name}", +"request": { +"$ref": "ProductInput" +}, +"response": { +"$ref": "ProductInput" +}, +"scopes": [ +"https://www.googleapis.com/auth/content" +] +} +} +}, +"products": { +"methods": { +"get": { +"description": "Retrieves the processed product from your Merchant Center account. After inserting, updating, or deleting a product input, it may take several minutes before the updated final product can be retrieved.", +"flatPath": "products/v1beta/accounts/{accountsId}/products/{productsId}", +"httpMethod": "GET", +"id": "merchantapi.accounts.products.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the product. Format: `accounts/{account}/products/{product}` The `{product}` segment is a unique identifier for the product. This identifier must be unique within a merchant account and generally follows the structure: `content_language~feed_label~offer_id`. Example: `en~US~sku123` For legacy local products, the structure is: `local~content_language~feed_label~offer_id`. Example: `local~en~US~sku123` The format of the `{product}` segment in the URL is automatically detected by the server, supporting two options: 1. **Encoded Format**: The `{product}` segment is an unpadded base64url encoded string (RFC 4648 Section 5). The decoded string must result in the `content_language~feed_label~offer_id` structure. This encoding MUST be used if any part of the product identifier (like `offer_id`) contains characters such as `/`, `%`, or `~`. * Example: To represent the product ID `en~US~sku/123`, the `{product}` segment must be the base64url encoding of this string, which is `ZW5-VVMtc2t1LzEyMw`. The full resource name for the product would be `accounts/123/products/ZW5-VVMtc2t1LzEyMw`. 2. **Plain Format**: The `{product}` segment is the tilde-separated string `content_language~feed_label~offer_id`. This format is suitable only when `content_language`, `feed_label`, and `offer_id` do not contain URL-problematic characters like `/`, `%`, or `~`. We recommend using the **Encoded Format** for all product IDs to ensure correct parsing, especially those containing special characters. The presence of tilde (`~`) characters in the `{product}` segment is used to differentiate between the two formats. Note: For calls to the v1beta version, the plain format is `channel~content_language~feed_label~offer_id`, for example: `accounts/123/products/online~en~US~sku123`.", +"location": "path", +"pattern": "^accounts/[^/]+/products/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "products/v1beta/{+name}", +"response": { +"$ref": "Product" +}, +"scopes": [ +"https://www.googleapis.com/auth/content" +] +}, +"list": { +"description": "Lists the processed products in your Merchant Center account. The response might contain fewer items than specified by `pageSize`. Rely on `pageToken` to determine if there are more items to be requested. After inserting, updating, or deleting a product input, it may take several minutes before the updated processed product can be retrieved.", +"flatPath": "products/v1beta/accounts/{accountsId}/products", +"httpMethod": "GET", +"id": "merchantapi.accounts.products.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "The maximum number of products to return. The service may return fewer than this value. The maximum value is 1000; values above 1000 will be coerced to 1000. If unspecified, the default page size of 25 products will be returned.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A page token, received from a previous `ListProducts` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListProducts` must match the call that provided the page token.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The account to list processed products for. Format: `accounts/{account}`", +"location": "path", +"pattern": "^accounts/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "products/v1beta/{+parent}/products", +"response": { +"$ref": "ListProductsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/content" +] +} +} +} +} +} +}, +"revision": "20260223", +"rootUrl": "https://merchantapi.googleapis.com/", +"schemas": { +"Attributes": { +"description": "Attributes.", +"id": "Attributes", +"properties": { +"additionalImageLinks": { +"description": "Additional URLs of images of the item.", +"items": { +"type": "string" +}, +"type": "array" +}, +"adsGrouping": { +"description": "Used to group items in an arbitrary way. Only for CPA, discouraged otherwise. For more information, see [Display ads attribute](https://support.google.com/merchants/answer/6069387).", +"type": "string" +}, +"adsLabels": { +"description": "Similar to ads_grouping, but only works on CPC.", +"items": { +"type": "string" +}, +"type": "array" +}, +"adsRedirect": { +"description": "Allows advertisers to override the item URL when the product is shown within the context of Product ads.", +"type": "string" +}, +"adult": { +"description": "Set to true if the item is targeted towards adults.", +"type": "boolean" +}, +"ageGroup": { +"description": "Target [age group](https://support.google.com/merchants/answer/6324463) of the item.", +"type": "string" +}, +"autoPricingMinPrice": { +"$ref": "Price", +"description": "A safeguard in the [automated discounts] (https://support.google.com/merchants/answer/10295759) and [\"dynamic promotions\"](https://support.google.com/merchants/answer/13949249) projects, ensuring that discounts on business offers do not fall below this value, thereby preserving the offer's value and profitability." +}, +"availability": { +"description": "[Availability](https://support.google.com/merchants/answer/6324448) status of the item. For example, \"in_stock\" or \"out_of_stock\".", +"type": "string" +}, +"availabilityDate": { +"description": "The day a pre-ordered product becomes available for delivery, in [ISO 8601](http://en.wikipedia.org/wiki/ISO_8601) format.", +"format": "google-datetime", +"type": "string" +}, +"brand": { +"description": "[Brand](https://support.google.com/merchants/answer/6324351) of the item. For example, \"Google\".", +"type": "string" +}, +"canonicalLink": { +"description": "URL for the canonical version of your item's landing page.", +"type": "string" +}, +"certifications": { +"description": "Product Certifications, for example for energy efficiency labeling of products recorded in the [EU EPREL](https://eprel.ec.europa.eu/screen/home) database. See the [Help Center](https://support.google.com/merchants/answer/13528839) article for more information.", +"items": { +"$ref": "Certification" +}, +"type": "array" +}, +"cloudExportAdditionalProperties": { +"description": "Extra fields to export to the Cloud Retail program.", +"items": { +"$ref": "CloudExportAdditionalProperties" +}, +"type": "array" +}, +"color": { +"description": "[Color](https://support.google.com/merchants/answer/6324487) of the item. For example, \"red\".", +"type": "string" +}, +"condition": { +"description": "[Condition](https://support.google.com/merchants/answer/6324469) or state of the item. For example, \"new\" or \"used\".", +"type": "string" +}, +"costOfGoodsSold": { +"$ref": "Price", +"description": "Cost of goods sold. Used for gross profit reporting." +}, +"customLabel0": { +"description": "[Custom label 0](https://support.google.com/merchants/answer/6324473) for custom grouping of items in a Shopping campaign.", +"type": "string" +}, +"customLabel1": { +"description": "[Custom label 1](https://support.google.com/merchants/answer/6324473) for custom grouping of items in a Shopping campaign.", +"type": "string" +}, +"customLabel2": { +"description": "[Custom label 2](https://support.google.com/merchants/answer/6324473) for custom grouping of items in a Shopping campaign.", +"type": "string" +}, +"customLabel3": { +"description": "[Custom label 3](https://support.google.com/merchants/answer/6324473) for custom grouping of items in a Shopping campaign.", +"type": "string" +}, +"customLabel4": { +"description": "[Custom label 4](https://support.google.com/merchants/answer/6324473) for custom grouping of items in a Shopping campaign.", +"type": "string" +}, +"description": { +"description": "Description of the item.", +"type": "string" +}, +"disclosureDate": { +"description": "The date time when an offer becomes visible in search results across Google\u2019s YouTube surfaces, in [ISO 8601](http://en.wikipedia.org/wiki/ISO_8601) format. See [Disclosure date](https://support.google.com/merchants/answer/13034208) for more information.", +"format": "google-datetime", +"type": "string" +}, +"displayAdsId": { +"description": "An identifier for an item for dynamic remarketing campaigns.", +"type": "string" +}, +"displayAdsLink": { +"description": "URL directly to your item's landing page for dynamic remarketing campaigns.", +"type": "string" +}, +"displayAdsSimilarIds": { +"description": "Advertiser-specified recommendations. For more information, see [Display ads attribute specification](https://support.google.com/merchants/answer/6069387).", +"items": { +"type": "string" +}, +"type": "array" +}, +"displayAdsTitle": { +"description": "Title of an item for dynamic remarketing campaigns.", +"type": "string" +}, +"displayAdsValue": { +"description": "Offer margin for dynamic remarketing campaigns. For more information, see [Display ads attribute](https://support.google.com/merchants/answer/6069387).", +"format": "double", +"type": "number" +}, +"energyEfficiencyClass": { +"description": "The energy efficiency class as defined in EU directive 2010/30/EU.", +"type": "string" +}, +"excludedDestinations": { +"description": "Destinations also known as [Marketing methods](https://support.google.com/merchants/answer/15130232) selections. The list of destinations to exclude for this target (corresponds to unchecked check boxes in Merchant Center). For more information, see [Excluded destination](https://support.google.com/merchants/answer/6324486). Note: We recommend setting destinations on datasources level for most use cases. Use this field within products to only setup exceptions.", +"items": { +"type": "string" +}, +"type": "array" +}, +"expirationDate": { +"description": "Date on which the item should expire, as specified upon insertion, in [ISO 8601](http://en.wikipedia.org/wiki/ISO_8601) format. The actual expiration date is exposed in `productstatuses` as [googleExpirationDate](https://support.google.com/merchants/answer/6324499) and might be earlier if `expirationDate` is too far in the future.", +"format": "google-datetime", +"type": "string" +}, +"externalSellerId": { +"description": "Required for multi-seller accounts. Use this attribute if you're a marketplace uploading products for various sellers to your multi-seller account.", +"type": "string" +}, +"freeShippingThreshold": { +"description": "Conditions to be met for a product to have free shipping.", +"items": { +"$ref": "FreeShippingThreshold" +}, +"type": "array" +}, +"gender": { +"description": "Target [gender](https://support.google.com/merchants/answer/6324479) of the item. For example, \"male\" or \"female\".", +"type": "string" +}, +"googleProductCategory": { +"description": "Google's category of the item (see [Google product taxonomy](https://support.google.com/merchants/answer/1705911)). When querying products, this field will contain the user provided value. There is currently no way to get back the auto assigned google product categories through the API.", +"type": "string" +}, +"gtin": { +"deprecated": true, +"description": "Global Trade Item Numbers ([GTIN](https://support.google.com/merchants/answer/188494#gtin)) of the item. You can provide up to 10 GTINs. Deprecated: Use `gtins` instead.", +"items": { +"type": "string" +}, +"type": "array" +}, +"gtins": { +"description": "A list of Global Trade Item Numbers ([GTIN](https://support.google.com/merchants/answer/188494#gtin)) of the item. You can provide up to 10 GTINs.", +"items": { +"type": "string" +}, +"type": "array" +}, +"identifierExists": { +"description": "Set this value to false when the item does not have unique product identifiers appropriate to its category, such as GTIN, MPN, and brand. Defaults to true, if not provided.", +"type": "boolean" +}, +"imageLink": { +"description": "URL of an image of the item.", +"type": "string" +}, +"includedDestinations": { +"description": "Destinations also known as [Marketing methods](https://support.google.com/merchants/answer/15130232) selections. The list of destinations to include for this target (corresponds to checked check boxes in Merchant Center). Default destinations are always included unless provided in `excludedDestinations`. For more information, see [Included destination](https://support.google.com/merchants/answer/7501026). Note: We recommend setting destinations on datasources level for most use cases. Use this field within products to only setup exceptions.", +"items": { +"type": "string" +}, +"type": "array" +}, +"installment": { +"$ref": "Installment", +"description": "Number and amount of installments to pay for an item." +}, +"isBundle": { +"description": "Whether the item is a business-defined sub-API. A [sub-API] (https://support.google.com/merchants/answer/6324449) is a custom grouping of different products sold by a business for a single price.", +"type": "boolean" +}, +"itemGroupId": { +"description": "Shared identifier for all variants of the same product.", +"type": "string" +}, +"lifestyleImageLinks": { +"description": "Additional URLs of lifestyle images of the item, used to explicitly identify images that showcase your item in a real-world context. See the [Help Center article](https://support.google.com/merchants/answer/9103186) for more information.", +"items": { +"type": "string" +}, +"type": "array" +}, +"link": { +"description": "URL directly linking to your item's page on your online store.", +"type": "string" +}, +"linkTemplate": { +"description": "[Link template](https://support.google.com/merchants/answer/13871172) for business hosted local storefront.", +"type": "string" +}, +"loyaltyPoints": { +"$ref": "LoyaltyPoints", +"description": "Loyalty points that users receive after purchasing the item. Japan only." +}, +"loyaltyPrograms": { +"description": "A list of loyalty program information that is used to surface loyalty benefits (for example, better pricing, points, etc) to the user of this item.", +"items": { +"$ref": "LoyaltyProgram" +}, +"type": "array" +}, +"material": { +"description": "The [material](https://support.google.com/merchants/answer/6324410) of which the item is made. For example, \"Leather\" or \"Cotton\".", +"type": "string" +}, +"maxEnergyEfficiencyClass": { +"description": "The energy efficiency class as defined in EU directive 2010/30/EU.", +"type": "string" +}, +"maxHandlingTime": { +"description": "Maximal product handling time (in business days).", +"format": "int64", +"type": "string" +}, +"maximumRetailPrice": { +"$ref": "Price", +"description": "Maximum retail price (MRP) of the item. Applicable to India only." +}, +"minEnergyEfficiencyClass": { +"description": "The energy efficiency class as defined in EU directive 2010/30/EU.", +"type": "string" +}, +"minHandlingTime": { +"description": "Minimal product handling time (in business days).", +"format": "int64", +"type": "string" +}, +"mobileLink": { +"description": "URL for the mobile-optimized version of your item's landing page.", +"type": "string" +}, +"mobileLinkTemplate": { +"description": "[Link template](https://support.google.com/merchants/answer/13870216) for business hosted local storefront optimized for mobile devices.", +"type": "string" +}, +"mpn": { +"description": "Manufacturer Part Number ([MPN](https://support.google.com/merchants/answer/188494#mpn)) of the item.", +"type": "string" +}, +"multipack": { +"description": "The number of identical products in a business-defined multipack.", +"format": "int64", +"type": "string" +}, +"pattern": { +"description": "The item's [pattern](https://support.google.com/merchants/answer/6324483). For example, polka dots.", +"type": "string" +}, +"pause": { +"description": "Publication of this item will be temporarily [paused](https://support.google.com/merchants/answer/11909930).", +"type": "string" +}, +"pickupMethod": { +"description": "The [pickup](https://support.google.com/merchants/answer/14634021) option for the item.", +"type": "string" +}, +"pickupSla": { +"description": "Item store pickup timeline. For more information, see [Pickup SLA](https://support.google.com/merchants/answer/14635400).", +"type": "string" +}, +"price": { +"$ref": "Price", +"description": "Price of the item." +}, +"productDetails": { +"description": "Technical specification or additional product details.", +"items": { +"$ref": "ProductDetail" +}, +"type": "array" +}, +"productHeight": { +"$ref": "ProductDimension", +"description": "The height of the product in the units provided. The value must be between 0 (exclusive) and 3000 (inclusive)." +}, +"productHighlights": { +"description": "Bullet points describing the most relevant [product highlights](https://support.google.com/merchants/answer/9216100).", +"items": { +"type": "string" +}, +"type": "array" +}, +"productLength": { +"$ref": "ProductDimension", +"description": "The length of the product in the units provided. The value must be between 0 (exclusive) and 3000 (inclusive)." +}, +"productTypes": { +"description": "Categories of the item (formatted as in [product data specification](https://support.google.com/merchants/answer/7052112#product_category)).", +"items": { +"type": "string" +}, +"type": "array" +}, +"productWeight": { +"$ref": "ProductWeight", +"description": "The weight of the product in the units provided. The value must be between 0 (exclusive) and 2000 (inclusive)." +}, +"productWidth": { +"$ref": "ProductDimension", +"description": "The width of the product in the units provided. The value must be between 0 (exclusive) and 3000 (inclusive)." +}, +"promotionIds": { +"description": "The unique ID of a promotion.", +"items": { +"type": "string" +}, +"type": "array" +}, +"salePrice": { +"$ref": "Price", +"description": "Advertised sale price of the item." +}, +"salePriceEffectiveDate": { +"$ref": "Interval", +"description": "Date range during which the item is on sale, see [product data specification](https://support.google.com/merchants/answer/7052112#price_and_availability)." +}, +"sellOnGoogleQuantity": { +"description": "The quantity of the product that is available for selling on Google. Supported only for online products.", +"format": "int64", +"type": "string" +}, +"shipping": { +"description": "Shipping rules.", +"items": { +"$ref": "Shipping" +}, +"type": "array" +}, +"shippingHeight": { +"$ref": "ShippingDimension", +"description": "Height of the item for shipping." +}, +"shippingLabel": { +"description": "The shipping label of the product, used to group product in account-level shipping rules.", +"type": "string" +}, +"shippingLength": { +"$ref": "ShippingDimension", +"description": "Length of the item for shipping." +}, +"shippingWeight": { +"$ref": "ShippingWeight", +"description": "Weight of the item for shipping." +}, +"shippingWidth": { +"$ref": "ShippingDimension", +"description": "Width of the item for shipping." +}, +"shoppingAdsExcludedCountries": { +"description": "List of country codes [(ISO 3166-1 alpha-2)](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) to exclude the offer from Shopping Ads destination. Countries from this list are removed from countries configured in data source settings.", +"items": { +"type": "string" +}, +"type": "array" +}, +"size": { +"description": "Size of the item. Only one value is allowed. For variants with different sizes, insert a separate product for each size with the same `itemGroupId` value, see [Size](https://support.google.com/merchants/answer/6324492).", +"type": "string" +}, +"sizeSystem": { +"description": "System in which the size is specified. Recommended for apparel items. For example, \"US\", \"UK\", \"DE\". For more information, see [Size system](https://support.google.com/merchants/answer/6324502).", +"type": "string" +}, +"sizeTypes": { +"description": "The cut of the item. It can be used to represent combined size types for apparel items. Maximum two of size types can be provided, see [Size type](https://support.google.com/merchants/answer/6324497). For example, \"petite\", \"plus size\".", +"items": { +"type": "string" +}, +"type": "array" +}, +"structuredDescription": { +"$ref": "ProductStructuredDescription", +"description": "Structured description, for algorithmically (AI)-generated descriptions." +}, +"structuredTitle": { +"$ref": "ProductStructuredTitle", +"description": "Structured title, for algorithmically (AI)-generated titles." +}, +"subscriptionCost": { +"$ref": "SubscriptionCost", +"description": "Number of periods (weeks, months or years) and amount of payment per period for an item with an associated subscription contract." +}, +"sustainabilityIncentives": { +"description": "The list of sustainability incentive programs.", +"items": { +"$ref": "ProductSustainabilityIncentive" +}, +"type": "array" +}, +"taxCategory": { +"deprecated": true, +"description": "The [tax category](https://support.google.com/merchants/answer/7569847) of the product.", +"type": "string" +}, +"taxes": { +"deprecated": true, +"description": "Tax information.", +"items": { +"$ref": "Tax" +}, +"type": "array" +}, +"title": { +"description": "Title of the item.", +"type": "string" +}, +"transitTimeLabel": { +"description": "The transit time label of the product, used to group product in account-level transit time tables.", +"type": "string" +}, +"unitPricingBaseMeasure": { +"$ref": "UnitPricingBaseMeasure", +"description": "The preference of the denominator of the unit price." +}, +"unitPricingMeasure": { +"$ref": "UnitPricingMeasure", +"description": "The measure and dimension of an item." +}, +"virtualModelLink": { +"description": "URL of the 3D image of the item. See the [Help Center article](https://support.google.com/merchants/answer/13674896) for more information.", +"type": "string" +} +}, +"type": "object" +}, +"AutomatedDiscounts": { +"description": "Information regarding Automated Discounts.", +"id": "AutomatedDiscounts", +"properties": { +"gadPrice": { +"$ref": "Price", +"description": "The current sale price for products with a price optimized using Google Automated Discounts (GAD). Absent if the information about the GAD_price of the product is not available." +}, +"priorPrice": { +"$ref": "Price", +"description": "The price prior to the application of the first price reduction. Absent if the information about the prior price of the product is not available." +}, +"priorPriceProgressive": { +"$ref": "Price", +"description": "The price prior to the application of consecutive price reductions. Absent if the information about the prior price of the product is not available." +} +}, +"type": "object" +}, +"Certification": { +"description": "Product [certification](https://support.google.com/merchants/answer/13528839), initially introduced for EU energy efficiency labeling compliance using the EU EPREL database.", +"id": "Certification", +"properties": { +"certificationAuthority": { +"description": "The certification authority, for example \"European_Commission\". Maximum length is 2000 characters.", +"type": "string" +}, +"certificationCode": { +"description": "The certification code. Maximum length is 2000 characters.", +"type": "string" +}, +"certificationName": { +"description": "The name of the certification, for example \"EPREL\". Maximum length is 2000 characters.", +"type": "string" +}, +"certificationValue": { +"description": "The certification value (also known as class, level or grade), for example \"A+\", \"C\", \"gold\". Maximum length is 2000 characters.", +"type": "string" +} +}, +"type": "object" +}, +"CloudExportAdditionalProperties": { +"description": "Product property for the Cloud Retail API. For example, properties for a TV product could be \"Screen-Resolution\" or \"Screen-Size\".", +"id": "CloudExportAdditionalProperties", +"properties": { +"boolValue": { +"description": "Boolean value of the given property. For example for a TV product, \"True\" or \"False\" if the screen is UHD.", +"type": "boolean" +}, +"floatValue": { +"description": "Float values of the given property. For example for a TV product 1.2345. Maximum repeatedness of this value is 400. Values are stored in an arbitrary but consistent order.", +"items": { +"format": "float", +"type": "number" +}, +"type": "array" +}, +"intValue": { +"description": "Integer values of the given property. For example, 1080 for a TV product's Screen Resolution. Maximum repeatedness of this value is 400. Values are stored in an arbitrary but consistent order.", +"items": { +"format": "int64", +"type": "string" +}, +"type": "array" +}, +"maxValue": { +"description": "Maximum float value of the given property. For example for a TV product 100.00.", +"format": "float", +"type": "number" +}, +"minValue": { +"description": "Minimum float value of the given property. For example for a TV product 1.00.", +"format": "float", +"type": "number" +}, +"propertyName": { +"description": "Name of the given property. For example, \"Screen-Resolution\" for a TV product. Maximum string size is 256 characters.", +"type": "string" +}, +"textValue": { +"description": "Text value of the given property. For example, \"8K(UHD)\" could be a text value for a TV product. Maximum repeatedness of this value is 400. Values are stored in an arbitrary but consistent order. Maximum string size is 256 characters.", +"items": { +"type": "string" +}, +"type": "array" +}, +"unitCode": { +"description": "Unit of the given property. For example, \"Pixels\" for a TV product. Maximum string size is 256B.", +"type": "string" +} +}, +"type": "object" +}, +"CustomAttribute": { +"description": "A message that represents custom attributes. Exactly one of `value` or `group_values` must not be empty.", +"id": "CustomAttribute", +"properties": { +"groupValues": { +"description": "Subattributes within this attribute group. If `group_values` is not empty, `value` must be empty.", +"items": { +"$ref": "CustomAttribute" +}, +"type": "array" +}, +"name": { +"description": "The name of the attribute.", +"type": "string" +}, +"value": { +"description": "The value of the attribute. If `value` is not empty, `group_values` must be empty.", +"type": "string" +} +}, +"type": "object" +}, +"DestinationStatus": { +"description": "The destination status of the product status. Equivalent to `StatusPerReportingContext` in Reports API.", +"id": "DestinationStatus", +"properties": { +"approvedCountries": { +"description": "List of country codes (ISO 3166-1 alpha-2) where the offer is approved.", +"items": { +"type": "string" +}, +"type": "array" +}, +"disapprovedCountries": { +"description": "List of country codes (ISO 3166-1 alpha-2) where the offer is disapproved.", +"items": { +"type": "string" +}, +"type": "array" +}, +"pendingCountries": { +"description": "List of country codes (ISO 3166-1 alpha-2) where the offer is pending approval.", +"items": { +"type": "string" +}, +"type": "array" +}, +"reportingContext": { +"description": "The name of the reporting context.", +"enum": [ +"REPORTING_CONTEXT_ENUM_UNSPECIFIED", +"SHOPPING_ADS", +"DISCOVERY_ADS", +"DEMAND_GEN_ADS", +"DEMAND_GEN_ADS_DISCOVER_SURFACE", +"VIDEO_ADS", +"DISPLAY_ADS", +"LOCAL_INVENTORY_ADS", +"VEHICLE_INVENTORY_ADS", +"FREE_LISTINGS", +"FREE_LISTINGS_UCP_CHECKOUT", +"FREE_LOCAL_LISTINGS", +"FREE_LOCAL_VEHICLE_LISTINGS", +"YOUTUBE_AFFILIATE", +"YOUTUBE_SHOPPING", +"CLOUD_RETAIL", +"LOCAL_CLOUD_RETAIL", +"PRODUCT_REVIEWS", +"MERCHANT_REVIEWS", +"YOUTUBE_CHECKOUT" +], +"enumDeprecated": [ +false, +false, +true, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false +], +"enumDescriptions": [ +"Not specified.", +"[Shopping ads](https://support.google.com/merchants/answer/6149970).", +"Deprecated: Use `DEMAND_GEN_ADS` instead. [Discovery and Demand Gen ads](https://support.google.com/merchants/answer/13389785).", +"[Demand Gen ads](https://support.google.com/merchants/answer/13389785).", +"[Demand Gen ads on Discover surface](https://support.google.com/merchants/answer/13389785).", +"[Video ads](https://support.google.com/google-ads/answer/6340491).", +"[Display ads](https://support.google.com/merchants/answer/6069387).", +"[Local inventory ads](https://support.google.com/merchants/answer/3271956).", +"[Vehicle inventory ads](https://support.google.com/merchants/answer/11544533).", +"[Free product listings](https://support.google.com/merchants/answer/9199328).", +"[Free product listings on UCP checkout](https://developers.google.com/merchant/ucp).", +"[Free local product listings](https://support.google.com/merchants/answer/9825611).", +"[Free local vehicle listings](https://support.google.com/merchants/answer/11544533).", +"[Youtube Affiliate](https://support.google.com/youtube/answer/13376398).", +"[YouTube Shopping](https://support.google.com/merchants/answer/13478370).", +"[Cloud retail](https://cloud.google.com/solutions/retail).", +"[Local cloud retail](https://cloud.google.com/solutions/retail).", +"[Product Reviews](https://support.google.com/merchants/answer/14620732).", +"[Merchant Reviews](https://developers.google.com/merchant-review-feeds).", +"YouTube Checkout ." +], +"type": "string" +} +}, +"type": "object" +}, +"Empty": { +"description": "A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }", +"id": "Empty", +"properties": {}, +"type": "object" +}, +"FreeShippingThreshold": { +"description": "Conditions to be met for a product to have free shipping.", +"id": "FreeShippingThreshold", +"properties": { +"country": { +"description": "The [CLDR territory code](http://www.unicode.org/repos/cldr/tags/latest/common/main/en.xml) of the country to which an item will ship.", +"type": "string" +}, +"priceThreshold": { +"$ref": "Price", +"description": "The minimum product price for the shipping cost to become free. Represented as a number." +} +}, +"type": "object" +}, +"Installment": { +"description": "A message that represents installment.", +"id": "Installment", +"properties": { +"amount": { +"$ref": "Price", +"description": "The amount the buyer has to pay per month." +}, +"creditType": { +"description": "Type of installment payments. Supported values are: * \"`finance`\" * \"`lease`\"", +"type": "string" +}, +"downpayment": { +"$ref": "Price", +"description": "The up-front down payment amount the buyer has to pay." +}, +"months": { +"description": "The number of installments the buyer has to pay.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"Interval": { +"description": "Represents a time interval, encoded as a Timestamp start (inclusive) and a Timestamp end (exclusive). The start must be less than or equal to the end. When the start equals the end, the interval is empty (matches no time). When both start and end are unspecified, the interval matches any time.", +"id": "Interval", +"properties": { +"endTime": { +"description": "Optional. Exclusive end of the interval. If specified, a Timestamp matching this interval will have to be before the end.", +"format": "google-datetime", +"type": "string" +}, +"startTime": { +"description": "Optional. Inclusive start of the interval. If specified, a Timestamp matching this interval will have to be the same or after the start.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"ItemLevelIssue": { +"description": "The ItemLevelIssue of the product status.", +"id": "ItemLevelIssue", +"properties": { +"applicableCountries": { +"description": "List of country codes (ISO 3166-1 alpha-2) where issue applies to the offer.", +"items": { +"type": "string" +}, +"type": "array" +}, +"attribute": { +"description": "The attribute's name, if the issue is caused by a single attribute.", +"type": "string" +}, +"code": { +"description": "The error code of the issue.", +"type": "string" +}, +"description": { +"description": "A short issue description in English.", +"type": "string" +}, +"detail": { +"description": "A detailed issue description in English.", +"type": "string" +}, +"documentation": { +"description": "The URL of a web page to help with resolving this issue.", +"type": "string" +}, +"reportingContext": { +"description": "The reporting context the issue applies to.", +"enum": [ +"REPORTING_CONTEXT_ENUM_UNSPECIFIED", +"SHOPPING_ADS", +"DISCOVERY_ADS", +"DEMAND_GEN_ADS", +"DEMAND_GEN_ADS_DISCOVER_SURFACE", +"VIDEO_ADS", +"DISPLAY_ADS", +"LOCAL_INVENTORY_ADS", +"VEHICLE_INVENTORY_ADS", +"FREE_LISTINGS", +"FREE_LISTINGS_UCP_CHECKOUT", +"FREE_LOCAL_LISTINGS", +"FREE_LOCAL_VEHICLE_LISTINGS", +"YOUTUBE_AFFILIATE", +"YOUTUBE_SHOPPING", +"CLOUD_RETAIL", +"LOCAL_CLOUD_RETAIL", +"PRODUCT_REVIEWS", +"MERCHANT_REVIEWS", +"YOUTUBE_CHECKOUT" +], +"enumDeprecated": [ +false, +false, +true, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false +], +"enumDescriptions": [ +"Not specified.", +"[Shopping ads](https://support.google.com/merchants/answer/6149970).", +"Deprecated: Use `DEMAND_GEN_ADS` instead. [Discovery and Demand Gen ads](https://support.google.com/merchants/answer/13389785).", +"[Demand Gen ads](https://support.google.com/merchants/answer/13389785).", +"[Demand Gen ads on Discover surface](https://support.google.com/merchants/answer/13389785).", +"[Video ads](https://support.google.com/google-ads/answer/6340491).", +"[Display ads](https://support.google.com/merchants/answer/6069387).", +"[Local inventory ads](https://support.google.com/merchants/answer/3271956).", +"[Vehicle inventory ads](https://support.google.com/merchants/answer/11544533).", +"[Free product listings](https://support.google.com/merchants/answer/9199328).", +"[Free product listings on UCP checkout](https://developers.google.com/merchant/ucp).", +"[Free local product listings](https://support.google.com/merchants/answer/9825611).", +"[Free local vehicle listings](https://support.google.com/merchants/answer/11544533).", +"[Youtube Affiliate](https://support.google.com/youtube/answer/13376398).", +"[YouTube Shopping](https://support.google.com/merchants/answer/13478370).", +"[Cloud retail](https://cloud.google.com/solutions/retail).", +"[Local cloud retail](https://cloud.google.com/solutions/retail).", +"[Product Reviews](https://support.google.com/merchants/answer/14620732).", +"[Merchant Reviews](https://developers.google.com/merchant-review-feeds).", +"YouTube Checkout ." +], +"type": "string" +}, +"resolution": { +"description": "Whether the issue can be resolved by the business.", +"type": "string" +}, +"severity": { +"description": "How this issue affects serving of the offer.", +"enum": [ +"SEVERITY_UNSPECIFIED", +"NOT_IMPACTED", +"DEMOTED", +"DISAPPROVED" +], +"enumDescriptions": [ +"Not specified.", +"This issue represents a warning and does not have a direct affect on the product.", +"The product is demoted and most likely have limited performance in search results", +"Issue disapproves the product." +], +"type": "string" +} +}, +"type": "object" +}, +"ListProductsResponse": { +"description": "Response message for the ListProducts method.", +"id": "ListProductsResponse", +"properties": { +"nextPageToken": { +"description": "A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.", +"type": "string" +}, +"products": { +"description": "The processed products from the specified account. These are your processed products after applying rules and supplemental data sources.", +"items": { +"$ref": "Product" +}, +"type": "array" +} +}, +"type": "object" +}, +"LoyaltyPoints": { +"description": "A message that represents loyalty points.", +"id": "LoyaltyPoints", +"properties": { +"name": { +"description": "Name of loyalty points program. It is recommended to limit the name to 12 full-width characters or 24 Roman characters.", +"type": "string" +}, +"pointsValue": { +"description": "The retailer's loyalty points in absolute value.", +"format": "int64", +"type": "string" +}, +"ratio": { +"description": "The ratio of a point when converted to currency. Google assumes currency based on Merchant Center settings. If ratio is left out, it defaults to 1.0.", +"format": "double", +"type": "number" +} +}, +"type": "object" +}, +"LoyaltyProgram": { +"description": "A message that represents loyalty program.", +"id": "LoyaltyProgram", +"properties": { +"cashbackForFutureUse": { +"$ref": "Price", +"description": "The cashback that can be used for future purchases." +}, +"loyaltyPoints": { +"description": "The amount of loyalty points earned on a purchase.", +"format": "int64", +"type": "string" +}, +"memberPriceEffectiveDate": { +"$ref": "Interval", +"description": "A date range during which the item is eligible for member price. If not specified, the member price is always applicable. The date range is represented by a pair of ISO 8601 dates separated by a space, comma, or slash." +}, +"price": { +"$ref": "Price", +"description": "The price for members of the given tier, that is, the instant discount price. Must be smaller or equal to the regular price." +}, +"programLabel": { +"description": "The label of the loyalty program. This is an internal label that uniquely identifies the relationship between a business entity and a loyalty program entity. The label must be provided so that the system can associate the assets below (for example, price and points) with a business. The corresponding program must be linked to the Merchant Center account.", +"type": "string" +}, +"shippingLabel": { +"description": "The label of the shipping benefit. If the field has value, this offer has loyalty shipping benefit. If the field value isn't provided, the item is not eligible for loyalty shipping for the given loyalty tier.", +"type": "string" +}, +"tierLabel": { +"description": "The label of the tier within the loyalty program. Must match one of the labels within the program.", +"type": "string" +} +}, +"type": "object" +}, +"Price": { +"description": "The price represented as a number and currency.", +"id": "Price", +"properties": { +"amountMicros": { +"description": "The price represented as a number in micros (1 million micros is an equivalent to one's currency standard unit, for example, 1 USD = 1000000 micros).", +"format": "int64", +"type": "string" +}, +"currencyCode": { +"description": "The currency of the price using three-letter acronyms according to [ISO 4217](http://en.wikipedia.org/wiki/ISO_4217).", +"type": "string" +} +}, +"type": "object" +}, +"Product": { +"description": "The processed product, built from multiple product inputs after applying rules and supplemental data sources. This processed product matches what is shown in your Merchant Center account. Each product is built from exactly one primary data source product input, and multiple supplemental data source inputs. After inserting, updating, or deleting a product input, it may take several minutes before the updated processed product can be retrieved. All fields in the processed product and its sub-messages match the name of their corresponding attribute in the [Product data specification](https://support.google.com/merchants/answer/7052112) with some exceptions.", +"id": "Product", +"properties": { +"attributes": { +"$ref": "Attributes", +"description": "Output only. A list of product attributes.", +"readOnly": true +}, +"automatedDiscounts": { +"$ref": "AutomatedDiscounts", +"description": "Output only. The automated discounts information for the product.", +"readOnly": true +}, +"channel": { +"description": "Output only. The [channel](https://support.google.com/merchants/answer/7361332) of the product.", +"enum": [ +"CHANNEL_ENUM_UNSPECIFIED", +"ONLINE", +"LOCAL" +], +"enumDescriptions": [ +"Not specified.", +"Online product.", +"Local product." +], +"readOnly": true, +"type": "string" +}, +"contentLanguage": { +"description": "Output only. The two-letter [ISO 639-1](http://en.wikipedia.org/wiki/ISO_639-1) language code for the product.", +"readOnly": true, +"type": "string" +}, +"customAttributes": { +"description": "Output only. A list of custom (merchant-provided) attributes. It can also be used to submit any attribute of the data specification in its generic form (for example, `{ \"name\": \"size type\", \"value\": \"regular\" }`). This is useful for submitting attributes not explicitly exposed by the API, such as additional attributes used for Buy on Google.", +"items": { +"$ref": "CustomAttribute" +}, +"readOnly": true, +"type": "array" +}, +"dataSource": { +"description": "Output only. The primary data source of the product.", +"readOnly": true, +"type": "string" +}, +"feedLabel": { +"description": "Output only. The feed label lets you categorize and identify your products. The maximum allowed characters is 20 and the supported characters are`A-Z`, `0-9`, hyphen and underscore. The feed label must not include any spaces. For more information, see [Using feed labels](//support.google.com/merchants/answer/14994087)", +"readOnly": true, +"type": "string" +}, +"name": { +"description": "The name of the product. Format: `accounts/{account}/products/{product}` where the last section `product` consists of: `content_language~feed_label~offer_id` example for product name is `accounts/123/products/en~US~sku123`. A legacy local product name would be `accounts/123/products/local~en~US~sku123`. Note: For calls to the v1beta version, the `product` section consists of: `channel~content_language~feed_label~offer_id`, for example: `accounts/123/products/online~en~US~sku123`.", +"type": "string" +}, +"offerId": { +"description": "Output only. Your unique identifier for the product. This is the same for the product input and processed product. Leading and trailing whitespaces are stripped and multiple whitespaces are replaced by a single whitespace upon submission. See the [product data specification](https://support.google.com/merchants/answer/188494#id) for details.", +"readOnly": true, +"type": "string" +}, +"productStatus": { +"$ref": "ProductStatus", +"description": "Output only. The status of a product, data validation issues, that is, information about a product computed asynchronously.", +"readOnly": true +}, +"versionNumber": { +"description": "Output only. Represents the existing version (freshness) of the product, which can be used to preserve the right order when multiple updates are done at the same time. If set, the insertion is prevented when version number is lower than the current version number of the existing product. Re-insertion (for example, product refresh after 30 days) can be performed with the current `version_number`. Only supported for insertions into primary data sources. If the operation is prevented, the aborted exception will be thrown.", +"format": "int64", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"ProductChange": { +"description": "The change that happened to the product including old value, new value, country code as the region code and reporting context.", +"id": "ProductChange", +"properties": { +"newValue": { +"description": "The new value of the changed resource or attribute. If empty, it means that the product was deleted. Will have one of these values : (`approved`, `pending`, `disapproved`, ``)", +"type": "string" +}, +"oldValue": { +"description": "The old value of the changed resource or attribute. If empty, it means that the product was created. Will have one of these values : (`approved`, `pending`, `disapproved`, ``)", +"type": "string" +}, +"regionCode": { +"description": "Countries that have the change (if applicable). Represented in the ISO 3166 format.", +"type": "string" +}, +"reportingContext": { +"description": "Reporting contexts that have the change (if applicable). Currently this field supports only (`SHOPPING_ADS`, `LOCAL_INVENTORY_ADS`, `YOUTUBE_SHOPPING`, `YOUTUBE_CHECKOUT`, `YOUTUBE_AFFILIATE`) from the enum value [ReportingContextEnum](/merchant/api/reference/rest/Shared.Types/ReportingContextEnum)", +"enum": [ +"REPORTING_CONTEXT_ENUM_UNSPECIFIED", +"SHOPPING_ADS", +"DISCOVERY_ADS", +"DEMAND_GEN_ADS", +"DEMAND_GEN_ADS_DISCOVER_SURFACE", +"VIDEO_ADS", +"DISPLAY_ADS", +"LOCAL_INVENTORY_ADS", +"VEHICLE_INVENTORY_ADS", +"FREE_LISTINGS", +"FREE_LISTINGS_UCP_CHECKOUT", +"FREE_LOCAL_LISTINGS", +"FREE_LOCAL_VEHICLE_LISTINGS", +"YOUTUBE_AFFILIATE", +"YOUTUBE_SHOPPING", +"CLOUD_RETAIL", +"LOCAL_CLOUD_RETAIL", +"PRODUCT_REVIEWS", +"MERCHANT_REVIEWS", +"YOUTUBE_CHECKOUT" +], +"enumDeprecated": [ +false, +false, +true, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false +], +"enumDescriptions": [ +"Not specified.", +"[Shopping ads](https://support.google.com/merchants/answer/6149970).", +"Deprecated: Use `DEMAND_GEN_ADS` instead. [Discovery and Demand Gen ads](https://support.google.com/merchants/answer/13389785).", +"[Demand Gen ads](https://support.google.com/merchants/answer/13389785).", +"[Demand Gen ads on Discover surface](https://support.google.com/merchants/answer/13389785).", +"[Video ads](https://support.google.com/google-ads/answer/6340491).", +"[Display ads](https://support.google.com/merchants/answer/6069387).", +"[Local inventory ads](https://support.google.com/merchants/answer/3271956).", +"[Vehicle inventory ads](https://support.google.com/merchants/answer/11544533).", +"[Free product listings](https://support.google.com/merchants/answer/9199328).", +"[Free product listings on UCP checkout](https://developers.google.com/merchant/ucp).", +"[Free local product listings](https://support.google.com/merchants/answer/9825611).", +"[Free local vehicle listings](https://support.google.com/merchants/answer/11544533).", +"[Youtube Affiliate](https://support.google.com/youtube/answer/13376398).", +"[YouTube Shopping](https://support.google.com/merchants/answer/13478370).", +"[Cloud retail](https://cloud.google.com/solutions/retail).", +"[Local cloud retail](https://cloud.google.com/solutions/retail).", +"[Product Reviews](https://support.google.com/merchants/answer/14620732).", +"[Merchant Reviews](https://developers.google.com/merchant-review-feeds).", +"YouTube Checkout ." +], +"type": "string" +} +}, +"type": "object" +}, +"ProductDetail": { +"description": "The product details.", +"id": "ProductDetail", +"properties": { +"attributeName": { +"description": "The name of the product detail.", +"type": "string" +}, +"attributeValue": { +"description": "The value of the product detail.", +"type": "string" +}, +"sectionName": { +"description": "The section header used to group a set of product details.", +"type": "string" +} +}, +"type": "object" +}, +"ProductDimension": { +"description": "The dimension of the product.", +"id": "ProductDimension", +"properties": { +"unit": { +"description": "Required. The dimension units. Acceptable values are: * \"`in`\" * \"`cm`\"", +"type": "string" +}, +"value": { +"description": "Required. The dimension value represented as a number. The value can have a maximum precision of four decimal places.", +"format": "double", +"type": "number" +} +}, +"type": "object" +}, +"ProductInput": { +"description": "This resource represents input data you submit for a product, not the processed product that you see in Merchant Center, in Shopping ads, or across Google surfaces. Product inputs, rules and supplemental data source data are combined to create the processed Product. For more information, see [Manage products](/merchant/api/guides/products/overview). Required product input attributes to pass data validation checks are primarily defined in the [Products Data Specification](https://support.google.com/merchants/answer/188494). The following attributes are required: feedLabel, contentLanguage and offerId. After inserting, updating, or deleting a product input, it may take several minutes before the processed product can be retrieved. All fields in the product input and its sub-messages match the English name of their corresponding attribute in the [Products Data Specification](https://support.google.com/merchants/answer/188494) with [some exceptions](https://support.google.com/merchants/answer/7052112). The following reference documentation lists the field names in the **camelCase** casing style while the Products Data Specification lists the names in the **snake_case** casing style.", +"id": "ProductInput", +"properties": { +"attributes": { +"$ref": "Attributes", +"description": "Optional. A list of product attributes." +}, +"channel": { +"description": "Immutable. The [channel](https://support.google.com/merchants/answer/7361332) of the product.", +"enum": [ +"CHANNEL_ENUM_UNSPECIFIED", +"ONLINE", +"LOCAL" +], +"enumDescriptions": [ +"Not specified.", +"Online product.", +"Local product." +], +"type": "string" +}, +"contentLanguage": { +"description": "Required. Immutable. The two-letter [ISO 639-1](http://en.wikipedia.org/wiki/ISO_639-1) language code for the product.", +"type": "string" +}, +"customAttributes": { +"description": "Optional. A list of custom (merchant-provided) attributes. It can also be used for submitting any attribute of the data specification in its generic form (for example, `{ \"name\": \"size type\", \"value\": \"regular\" }`). This is useful for submitting attributes not explicitly exposed by the API. Maximum allowed number of characters for each custom attribute is 10240 (represents sum of characters for name and value). Maximum 2500 custom attributes can be set per product, with total size of 102.4kB. Underscores in custom attribute names are replaced by spaces upon insertion.", +"items": { +"$ref": "CustomAttribute" +}, +"type": "array" +}, +"feedLabel": { +"description": "Required. Immutable. The feed label that lets you categorize and identify your products. The maximum allowed characters are 20, and the supported characters are `A-Z`, `0-9`, hyphen, and underscore. The feed label must not include any spaces. For more information, see [Using feed labels](//support.google.com/merchants/answer/14994087).", +"type": "string" +}, +"name": { +"description": "Identifier. The name of the product. Format: `accounts/{account}/productInputs/{productinput}` The {productinput} segment is a unique identifier for the product. This identifier must be unique within a merchant account and generally follows the structure: `content_language~feed_label~offer_id`. Example: `en~US~sku123` For legacy local products, the structure is: `local~content_language~feed_label~offer_id`. Example: `local~en~US~sku123` The format of the {productinput} segment in the URL is automatically detected by the server, supporting two options: 1. **Encoded Format**: The `{productinput}` segment is an unpadded base64url encoded string (RFC 4648 Section 5). The decoded string must result in the `content_language~feed_label~offer_id` structure. This encoding MUST be used if any part of the product identifier (like `offer_id`) contains characters such as `/`, `%`, or `~`. * Example: To represent the product ID `en~US~sku/123`, the `{productinput}` segment must be the base64url encoding of this string, which is `ZW5-VVMtc2t1LzEyMw`. The full resource name for the product would be `accounts/123/productinputs/ZW5-VVMtc2t1LzEyMw`. 2. **Plain Format**: The `{productinput}` segment is the tilde-separated string `content_language~feed_label~offer_id`. This format is suitable only when `content_language`, `feed_label`, and `offer_id` do not contain URL-problematic characters like `/`, `%`, or `~`. We recommend using the **Encoded Format** for all product IDs to ensure correct parsing, especially those containing special characters. The presence of tilde (`~`) characters in the `{productinput}` segment is used to differentiate between the two formats. Note: For calls to the v1beta version, the plain format is `channel~content_language~feed_label~offer_id`, for example: `accounts/123/productinputs/online~en~US~sku123`.", +"type": "string" +}, +"offerId": { +"description": "Required. Immutable. Your unique identifier for the product. This is the same for the product input and processed product. Leading and trailing whitespaces are stripped and multiple whitespaces are replaced by a single whitespace upon submission. See the [products data specification](https://support.google.com/merchants/answer/188494#id) for details.", +"type": "string" +}, +"product": { +"description": "Output only. The name of the processed product. Format: `accounts/{account}/products/{product}`", +"readOnly": true, +"type": "string" +}, +"versionNumber": { +"description": "Optional. Immutable. Represents the existing version (freshness) of the product, which can be used to preserve the right order when multiple updates are done at the same time. If set, the insertion is prevented when version number is lower than the current version number of the existing product. Re-insertion (for example, product refresh after 30 days) can be performed with the current `version_number`. Only supported for insertions into primary data sources. Do not set this field for updates. Do not set this field for insertions into supplemental data sources. If the operation is prevented, the aborted exception will be thrown.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"ProductStatus": { +"description": "The status of a product, data validation issues, that is, information about a product computed asynchronously.", +"id": "ProductStatus", +"properties": { +"creationDate": { +"description": "Date on which the item has been created, in [ISO 8601](http://en.wikipedia.org/wiki/ISO_8601) format.", +"format": "google-datetime", +"type": "string" +}, +"destinationStatuses": { +"description": "The intended destinations for the product.", +"items": { +"$ref": "DestinationStatus" +}, +"type": "array" +}, +"googleExpirationDate": { +"description": "Date on which the item expires, in [ISO 8601](http://en.wikipedia.org/wiki/ISO_8601) format.", +"format": "google-datetime", +"type": "string" +}, +"itemLevelIssues": { +"description": "A list of all issues associated with the product.", +"items": { +"$ref": "ItemLevelIssue" +}, +"type": "array" +}, +"lastUpdateDate": { +"description": "Date on which the item has been last updated, in [ISO 8601](http://en.wikipedia.org/wiki/ISO_8601) format.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"ProductStatusChangeMessage": { +"description": "The message that the merchant will receive to notify about product status change event", +"id": "ProductStatusChangeMessage", +"properties": { +"account": { +"description": "The target account that owns the entity that changed. Format : `accounts/{merchant_id}`", +"type": "string" +}, +"attribute": { +"description": "The attribute in the resource that changed, in this case it will be always `Status`.", +"enum": [ +"ATTRIBUTE_UNSPECIFIED", +"STATUS" +], +"enumDescriptions": [ +"Unspecified attribute", +"Status of the changed entity" +], +"type": "string" +}, +"changes": { +"description": "A message to describe the change that happened to the product", +"items": { +"$ref": "ProductChange" +}, +"type": "array" +}, +"eventTime": { +"description": "The time at which the event was generated. If you want to order the notification messages you receive you should rely on this field not on the order of receiving the notifications.", +"format": "google-datetime", +"type": "string" +}, +"expirationTime": { +"description": "Optional. The product expiration time. This field will not be set if the notification is sent for a product deletion event.", +"format": "google-datetime", +"type": "string" +}, +"managingAccount": { +"description": "The account that manages the merchant's account. can be the same as merchant id if it is standalone account. Format : `accounts/{service_provider_id}`", +"type": "string" +}, +"resource": { +"description": "The product name. Format: `accounts/{account}/products/{product}`", +"type": "string" +}, +"resourceId": { +"description": "The product id.", +"type": "string" +}, +"resourceType": { +"description": "The resource that changed, in this case it will always be `Product`.", +"enum": [ +"RESOURCE_UNSPECIFIED", +"PRODUCT" +], +"enumDescriptions": [ +"Unspecified resource", +"Resource type : product" +], +"type": "string" +} +}, +"type": "object" +}, +"ProductStructuredDescription": { +"description": "Structured description, for algorithmically (AI)-generated descriptions.", +"id": "ProductStructuredDescription", +"properties": { +"content": { +"description": "The description text Maximum length is 5000 characters", +"type": "string" +}, +"digitalSourceType": { +"description": "The digital source type, for example \"trained_algorithmic_media\". Following [IPTC](https://cv.iptc.org/newscodes/digitalsourcetype). Maximum length is 40 characters.", +"type": "string" +} +}, +"type": "object" +}, +"ProductStructuredTitle": { +"description": "Structured title, for algorithmically (AI)-generated titles.", +"id": "ProductStructuredTitle", +"properties": { +"content": { +"description": "The title text Maximum length is 150 characters", +"type": "string" +}, +"digitalSourceType": { +"description": "The digital source type, for example \"trained_algorithmic_media\". Following [IPTC](https://cv.iptc.org/newscodes/digitalsourcetype). Maximum length is 40 characters.", +"type": "string" +} +}, +"type": "object" +}, +"ProductSustainabilityIncentive": { +"description": "Information regarding sustainability-related incentive programs such as rebates or tax relief.", +"id": "ProductSustainabilityIncentive", +"properties": { +"amount": { +"$ref": "Price", +"description": "The fixed amount of the incentive." +}, +"percentage": { +"description": "The percentage of the sale price that the incentive is applied to.", +"format": "double", +"type": "number" +}, +"type": { +"description": "Sustainability incentive program.", +"enum": [ +"TYPE_UNSPECIFIED", +"EV_TAX_CREDIT", +"EV_PRICE_DISCOUNT" +], +"enumDescriptions": [ +"Unspecified or unknown sustainability incentive type.", +"Program offering tax liability reductions for electric vehicles and, in some countries, plug-in hybrids. These reductions can be based on a specific amount or a percentage of the sale price.", +"A subsidy program, often called an environmental bonus, provides a purchase grant for electric vehicles and, in some countries, plug-in hybrids. The grant amount may be a fixed sum or a percentage of the sale price." +], +"type": "string" +} +}, +"type": "object" +}, +"ProductWeight": { +"description": "The weight of the product.", +"id": "ProductWeight", +"properties": { +"unit": { +"description": "Required. The weight unit. Acceptable values are: * \"`g`\" * \"`kg`\" * \"`oz`\" * \"`lb`\"", +"type": "string" +}, +"value": { +"description": "Required. The weight represented as a number. The weight can have a maximum precision of four decimal places.", +"format": "double", +"type": "number" +} +}, +"type": "object" +}, +"Shipping": { +"description": "The Shipping of the product.", +"id": "Shipping", +"properties": { +"country": { +"description": "The [CLDR territory code](http://www.unicode.org/repos/cldr/tags/latest/common/main/en.xml) of the country to which an item will ship.", +"type": "string" +}, +"handlingCutoffTime": { +"description": "The handling cutoff time until which an order has to be placed to be processed in the same day. This is a string in format of HHMM (e.g. `1530`) for 3:30 PM. If not configured, the cutoff time will be defaulted to 8AM PST and `handling_cutoff_timezone` will be ignored.", +"type": "string" +}, +"handlingCutoffTimezone": { +"description": "[Timezone identifier](https://developers.google.com/adwords/api/docs/appendix/codes-formats#timezone-ids) For example `Europe/Zurich`. This field only applies if `handling_cutoff_time` is set. If `handling_cutoff_time` is set but this field is not set, the shipping destination timezone will be used. If both fields are not set, the handling cutoff time will default to 8AM PST.", +"type": "string" +}, +"locationGroupName": { +"description": "The location where the shipping is applicable, represented by a location group name.", +"type": "string" +}, +"locationId": { +"description": "The numeric ID of a location that the shipping rate applies to as defined in the [AdWords API](https://developers.google.com/adwords/api/docs/appendix/geotargeting).", +"format": "int64", +"type": "string" +}, +"maxHandlingTime": { +"description": "Maximum handling time (inclusive) between when the order is received and shipped in business days. 0 means that the order is shipped on the same day as it is received if it happens before the cut-off time. Both maxHandlingTime and maxTransitTime are required if providing shipping speeds. minHandlingTime is optional if maxHandlingTime is present.", +"format": "int64", +"type": "string" +}, +"maxTransitTime": { +"description": "Maximum transit time (inclusive) between when the order has shipped and when it is delivered in business days. 0 means that the order is delivered on the same day as it ships. Both maxHandlingTime and maxTransitTime are required if providing shipping speeds. minTransitTime is optional if maxTransitTime is present.", +"format": "int64", +"type": "string" +}, +"minHandlingTime": { +"description": "Minimum handling time (inclusive) between when the order is received and shipped in business days. 0 means that the order is shipped on the same day as it is received if it happens before the cut-off time. minHandlingTime can only be present together with maxHandlingTime; but it is not required if maxHandlingTime is present.", +"format": "int64", +"type": "string" +}, +"minTransitTime": { +"description": "Minimum transit time (inclusive) between when the order has shipped and when it is delivered in business days. 0 means that the order is delivered on the same day as it ships. minTransitTime can only be present together with maxTransitTime; but it is not required if maxTransitTime is present.", +"format": "int64", +"type": "string" +}, +"postalCode": { +"description": "The postal code range that the shipping rate applies to, represented by a postal code, a postal code prefix followed by a * wildcard, a range between two postal codes or two postal code prefixes of equal length.", +"type": "string" +}, +"price": { +"$ref": "Price", +"description": "Fixed shipping price, represented as a number." +}, +"region": { +"description": "The geographic region to which a shipping rate applies. See [region](https://support.google.com/merchants/answer/6324484) for more information.", +"type": "string" +}, +"service": { +"description": "A free-form description of the service class or delivery speed.", +"type": "string" +} +}, +"type": "object" +}, +"ShippingDimension": { +"description": "The ShippingDimension of the product.", +"id": "ShippingDimension", +"properties": { +"unit": { +"description": "The unit of value.", +"type": "string" +}, +"value": { +"description": "The dimension of the product used to calculate the shipping cost of the item.", +"format": "double", +"type": "number" +} +}, +"type": "object" +}, +"ShippingWeight": { +"description": "The ShippingWeight of the product.", +"id": "ShippingWeight", +"properties": { +"unit": { +"description": "The unit of value.", +"type": "string" +}, +"value": { +"description": "The weight of the product used to calculate the shipping cost of the item.", +"format": "double", +"type": "number" +} +}, +"type": "object" +}, +"SubscriptionCost": { +"description": "The SubscriptionCost of the product.", +"id": "SubscriptionCost", +"properties": { +"amount": { +"$ref": "Price", +"description": "The amount the buyer has to pay per subscription period." +}, +"period": { +"description": "The type of subscription period. Supported values are: * \"`month`\" * \"`year`\" * \"`week`\"", +"enum": [ +"SUBSCRIPTION_PERIOD_UNSPECIFIED", +"MONTH", +"YEAR", +"WEEK" +], +"enumDescriptions": [ +"Indicates that the subscription period is unspecified.", +"Indicates that the subscription period is month.", +"Indicates that the subscription period is year.", +"Indicates that the subscription period is week." +], +"type": "string" +}, +"periodLength": { +"description": "The number of subscription periods the buyer has to pay.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"Tax": { +"description": "The Tax of the product.", +"id": "Tax", +"properties": { +"country": { +"description": "The country within which the item is taxed, specified as a [CLDR territory code](http://www.unicode.org/repos/cldr/tags/latest/common/main/en.xml).", +"type": "string" +}, +"locationId": { +"description": "The numeric ID of a location that the tax rate applies to as defined in the [AdWords API](https://developers.google.com/adwords/api/docs/appendix/geotargeting).", +"format": "int64", +"type": "string" +}, +"postalCode": { +"description": "The postal code range that the tax rate applies to, represented by a ZIP code, a ZIP code prefix using * wildcard, a range between two ZIP codes or two ZIP code prefixes of equal length. Examples: 94114, 94*, 94002-95460, 94*-95*.", +"type": "string" +}, +"rate": { +"description": "The percentage of tax rate that applies to the item price.", +"format": "double", +"type": "number" +}, +"region": { +"description": "The geographic region to which the tax rate applies.", +"type": "string" +}, +"taxShip": { +"description": "Set to true if tax is charged on shipping.", +"type": "boolean" +} +}, +"type": "object" +}, +"UnitPricingBaseMeasure": { +"description": "The UnitPricingBaseMeasure of the product.", +"id": "UnitPricingBaseMeasure", +"properties": { +"unit": { +"description": "The unit of the denominator.", +"type": "string" +}, +"value": { +"description": "The denominator of the unit price.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"UnitPricingMeasure": { +"description": "The UnitPricingMeasure of the product.", +"id": "UnitPricingMeasure", +"properties": { +"unit": { +"description": "The unit of the measure.", +"type": "string" +}, +"value": { +"description": "The measure of an item.", +"format": "double", +"type": "number" +} +}, +"type": "object" +} +}, +"servicePath": "", +"title": "Merchant API", +"version": "products_v1beta", +"version_module": true +} \ No newline at end of file diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/merchantapi.promotions_v1.json b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/merchantapi.promotions_v1.json new file mode 100644 index 0000000000000000000000000000000000000000..63a249cb125eaa2f0ce6b4d22d0a7f249be6ba38 --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/merchantapi.promotions_v1.json @@ -0,0 +1,1135 @@ +{ +"auth": { +"oauth2": { +"scopes": { +"https://www.googleapis.com/auth/content": { +"description": "Manage your product listings and accounts for Google Shopping" +} +} +} +}, +"basePath": "", +"baseUrl": "https://merchantapi.googleapis.com/", +"batchPath": "batch", +"canonicalName": "Merchant", +"description": "Programmatically manage your Merchant Center Accounts.", +"discoveryVersion": "v1", +"documentationLink": "https://developers.google.com/merchant/api", +"fullyEncodeReservedExpansion": true, +"icons": { +"x16": "http://www.google.com/images/icons/product/search-16.gif", +"x32": "http://www.google.com/images/icons/product/search-32.gif" +}, +"id": "merchantapi:promotions_v1", +"kind": "discovery#restDescription", +"mtlsRootUrl": "https://merchantapi.mtls.googleapis.com/", +"name": "merchantapi", +"ownerDomain": "google.com", +"ownerName": "Google", +"parameters": { +"$.xgafv": { +"description": "V1 error format.", +"enum": [ +"1", +"2" +], +"enumDescriptions": [ +"v1 error format", +"v2 error format" +], +"location": "query", +"type": "string" +}, +"access_token": { +"description": "OAuth access token.", +"location": "query", +"type": "string" +}, +"alt": { +"default": "json", +"description": "Data format for response.", +"enum": [ +"json", +"media", +"proto" +], +"enumDescriptions": [ +"Responses with Content-Type of application/json", +"Media download with context-dependent Content-Type", +"Responses with Content-Type of application/x-protobuf" +], +"location": "query", +"type": "string" +}, +"callback": { +"description": "JSONP", +"location": "query", +"type": "string" +}, +"fields": { +"description": "Selector specifying which fields to include in a partial response.", +"location": "query", +"type": "string" +}, +"key": { +"description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", +"location": "query", +"type": "string" +}, +"oauth_token": { +"description": "OAuth 2.0 token for the current user.", +"location": "query", +"type": "string" +}, +"prettyPrint": { +"default": "true", +"description": "Returns response with indentations and line breaks.", +"location": "query", +"type": "boolean" +}, +"quotaUser": { +"description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.", +"location": "query", +"type": "string" +}, +"uploadType": { +"description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", +"location": "query", +"type": "string" +}, +"upload_protocol": { +"description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", +"location": "query", +"type": "string" +} +}, +"protocol": "rest", +"resources": { +"accounts": { +"resources": { +"promotions": { +"methods": { +"get": { +"description": "Retrieves the promotion from your Merchant Center account. After inserting or updating a promotion input, it may take several minutes before the updated promotion can be retrieved.", +"flatPath": "promotions/v1/accounts/{accountsId}/promotions/{promotionsId}", +"httpMethod": "GET", +"id": "merchantapi.accounts.promotions.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the promotion to retrieve. Format: `accounts/{account}/promotions/{promotions}`", +"location": "path", +"pattern": "^accounts/[^/]+/promotions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "promotions/v1/{+name}", +"response": { +"$ref": "Promotion" +}, +"scopes": [ +"https://www.googleapis.com/auth/content" +] +}, +"insert": { +"description": "Inserts a promotion for your Merchant Center account. If the promotion already exists, then it updates the promotion instead.", +"flatPath": "promotions/v1/accounts/{accountsId}/promotions:insert", +"httpMethod": "POST", +"id": "merchantapi.accounts.promotions.insert", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The account where the promotion will be inserted. Format: accounts/{account}", +"location": "path", +"pattern": "^accounts/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "promotions/v1/{+parent}/promotions:insert", +"request": { +"$ref": "InsertPromotionRequest" +}, +"response": { +"$ref": "Promotion" +}, +"scopes": [ +"https://www.googleapis.com/auth/content" +] +}, +"list": { +"description": "Lists the promotions in your Merchant Center account. The response might contain fewer items than specified by `pageSize`. Rely on `pageToken` to determine if there are more items to be requested. After inserting or updating a promotion, it may take several minutes before the updated processed promotion can be retrieved.", +"flatPath": "promotions/v1/accounts/{accountsId}/promotions", +"httpMethod": "GET", +"id": "merchantapi.accounts.promotions.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "Optional. The maximum number of promotions to return. The service may return fewer than this value. The maximum value is 250; values above 250 will be coerced to 250. If unspecified, the maximum number of promotions will be returned.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. A page token, received from a previous `ListPromotions` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListPromotions` must match the call that provided the page token.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The account to list processed promotions for. Format: `accounts/{account}`", +"location": "path", +"pattern": "^accounts/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "promotions/v1/{+parent}/promotions", +"response": { +"$ref": "ListPromotionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/content" +] +} +} +} +} +} +}, +"revision": "20260228", +"rootUrl": "https://merchantapi.googleapis.com/", +"schemas": { +"Attributes": { +"description": "Attributes.", +"id": "Attributes", +"properties": { +"audience": { +"description": "Optional. This field defines the audience a promotion will be visible to.", +"enum": [ +"AUDIENCE_UNSPECIFIED", +"NEW_CUSTOMERS", +"LOCATION" +], +"enumDescriptions": [ +"The promotion is not restricted to any audience and will be shown to all users. Default value.", +"The Promotion will be shown to new customers only. If this value is set, the `promotion_destinations` field in `Attributes` must include `SHOPPING_ADS`. Requests that do not satisfy this condition will be rejected. For more details, see [First order promotions](https://support.google.com/merchants/answer/16310477)", +"The Promotion will be shown to customer within a certain location. Applicable locations must be specified in the `region_id_inclusion` field and the `promotion_destinations` field must contain `FREE_LISTINGS`. For more details, see [Regional Promotions](https://support.google.com/merchants/answer/16700435)." +], +"type": "string" +}, +"brandExclusion": { +"description": "Optional. Product filter by [brand exclusion](https://support.google.com/merchants/answer/13861679?ref_topic=13773355) for the promotion. The product filter attributes only applies when the products eligible for promotion product applicability `product_applicability` attribute is set to [specific_products](https://support.google.com/merchants/answer/13837299?ref_topic=13773355).", +"items": { +"type": "string" +}, +"type": "array" +}, +"brandInclusion": { +"description": "Optional. Product filter by brand for the promotion. The product filter attributes only applies when the products eligible for promotion product applicability `product_applicability` attribute is set to [specific_products](https://support.google.com/merchants/answer/13837299?ref_topic=13773355).", +"items": { +"type": "string" +}, +"type": "array" +}, +"couponValueType": { +"description": "Required. The [coupon value type] (https://support.google.com/merchants/answer/13861986?ref_topic=13773355) attribute to signal the type of promotion that you are running. Depending on type of the selected coupon value [some attributes are required](https://support.google.com/merchants/answer/6393006?ref_topic=7322920).", +"enum": [ +"COUPON_VALUE_TYPE_UNSPECIFIED", +"MONEY_OFF", +"PERCENT_OFF", +"BUY_M_GET_N_MONEY_OFF", +"BUY_M_GET_N_PERCENT_OFF", +"BUY_M_GET_MONEY_OFF", +"BUY_M_GET_PERCENT_OFF", +"FREE_GIFT", +"FREE_GIFT_WITH_VALUE", +"FREE_GIFT_WITH_ITEM_ID", +"FREE_SHIPPING_STANDARD", +"FREE_SHIPPING_OVERNIGHT", +"FREE_SHIPPING_TWO_DAY", +"MONEY_OFF_RANGE", +"PERCENT_OFF_RANGE" +], +"enumDescriptions": [ +"Indicates that the coupon value type is unspecified.", +"Money off coupon value type.", +"Percent off coupon value type.", +"Buy M quantity, get N money off coupon value type. `minimum_purchase_quantity` and `get_this_quantity_discounted` must be present. `money_off_amount` must also be present.", +"Buy M quantity, get N percent off coupon value type. `minimum_purchase_quantity` and `get_this_quantity_discounted` must be present. `percent_off_percentage` must also be present.", +"Buy M quantity, get money off. `minimum_purchase_quantity` and `money_off_amount` must be present.", +"Buy M quantity, get money off. `minimum_purchase_quantity` and `percent_off_percentage` must be present.", +"Free gift with description only.", +"Free gift with monetary value.", +"Free gift with item ID.", +"Standard free shipping coupon value type. Only available for online promotions.", +"Overnight free shipping coupon value type. Only available for online promotions.", +"Two day free shipping coupon value type. Only available for online promotions.", +"Money off range coupon value type. This coupon value type is used exclusively for US-based sales events. At least one of `min_money_off_amount` or `max_money_off_amount` must be present.", +"Percent off range coupon value type. This coupon value type is exclusively used for US-based sale events. At least one of `min_percent_off` or `max_percent_off` must be present." +], +"type": "string" +}, +"customRedemptionRestriction": { +"description": "Optional. The custom redemption restriction for the promotion. If the `redemption_restriction` field is set to `CUSTOM`, this field must be set.", +"type": "string" +}, +"eventApplicability": { +"description": "Optional. Event applicability for this promotion. When present, this field indicates you are creating a [sales event](https://support.google.com/merchants/answer/15523289) and not a product promotion. Exactly one of `product_applicability` or `event_applicability` must be set.", +"enum": [ +"EVENT_APPLICABILITY_UNSPECIFIED", +"SITEWIDE", +"SPECIFIC_CATEGORIES" +], +"enumDescriptions": [ +"Indicates that the event applicability is unspecified.", +"Indicates that the promotion applies to the entire site.", +"Indicates that the promotion applies to specific categories. When this is set, the GoogleProductCategory field is required." +], +"type": "string" +}, +"freeGiftDescription": { +"description": "Optional. [Free gift description](https://support.google.com/merchants/answer/13847245?ref_topic=13773355) for the promotion.", +"type": "string" +}, +"freeGiftItemId": { +"description": "Optional. [Free gift item ID](https://support.google.com/merchants/answer/13857152?ref_topic=13773355) for the promotion.", +"type": "string" +}, +"freeGiftValue": { +"$ref": "Price", +"description": "Optional. [Free gift value](https://support.google.com/merchants/answer/13844477?ref_topic=13773355) for the promotion." +}, +"genericRedemptionCode": { +"description": "Optional. Generic redemption code for the promotion. To be used with the `offerType` field and must meet the [minimum requirements](https://support.google.com/merchants/answer/13837405?ref_topic=13773355).", +"type": "string" +}, +"getThisQuantityDiscounted": { +"description": "Optional. The number of items discounted in the promotion. The attribute is set when `couponValueType` is equal to `buy_m_get_n_money_off` or `buy_m_get_n_percent_off`.", +"format": "int64", +"type": "string" +}, +"googleProductCategories": { +"description": "Optional. A list of Google product categories for this promotion. Set if `EventApplicability` is `SPECIFIC_CATEGORIES`. Up to 5 product categories can be specified. For more details on eligible values for product categories, checkout the `google_product_category` attribute in the [Promotion data specification](https://support.google.com/merchants/answer/2906014).", +"items": { +"type": "string" +}, +"type": "array" +}, +"itemGroupIdExclusion": { +"description": "Optional. Product filter by [item group ID](https://support.google.com/merchants/answer/13837298?ref_topic=13773355). The product filter attributes only applies when the products eligible for promotion product applicability `product_applicability` attribute is set to [specific_products](https://support.google.com/merchants/answer/13837299?ref_topic=13773355). exclusion for the promotion.", +"items": { +"type": "string" +}, +"type": "array" +}, +"itemGroupIdInclusion": { +"description": "Optional. Product filter by item group ID for the promotion. The product filter attributes only applies when the products eligible for promotion product applicability [product_applicability] attribute is set to [specific_products](https://support.google.com/merchants/answer/13837299?ref_topic=13773355).", +"items": { +"type": "string" +}, +"type": "array" +}, +"itemIdExclusion": { +"description": "Optional. Product filter by [item ID exclusion](https://support.google.com/merchants/answer/13863524?ref_topic=13773355) for the promotion. The product filter attributes only applies when the products eligible for promotion product applicability `product_applicability` attribute is set to [specific_products](https://support.google.com/merchants/answer/13837299?ref_topic=13773355).", +"items": { +"type": "string" +}, +"type": "array" +}, +"itemIdInclusion": { +"description": "Optional. Product filter by [item ID](https://support.google.com/merchants/answer/13861565?ref_topic=13773355) for the promotion. The product filter attributes only applies when the products eligible for promotion product applicability `product_applicability` attribute is set to [specific_products](https://support.google.com/merchants/answer/13837299?ref_topic=13773355).", +"items": { +"type": "string" +}, +"type": "array" +}, +"limitQuantity": { +"description": "Optional. [Maximum purchase quantity](https://support.google.com/merchants/answer/13861564?ref_topic=13773355) for the promotion.", +"format": "int64", +"type": "string" +}, +"limitValue": { +"$ref": "Price", +"description": "Optional. [Maximum product price](https://support.google.com/merchants/answer/2906014) for promotion." +}, +"longTitle": { +"description": "Required. [Long title](https://support.google.com/merchants/answer/13838102?ref_topic=13773355) for the promotion.", +"type": "string" +}, +"maxDiscountAmount": { +"$ref": "Price", +"description": "Optional. The maximum monetary discount a customer can receive for the promotion. This field is only supported with the `Percent off` coupon value type." +}, +"maxMoneyOffAmount": { +"$ref": "Price", +"description": "Optional. Maximum money off amount for a promotion with `MONEY_OFF_RANGE` coupon value type. At least one of `min_money_off_amount` or `max_money_off_amount` must be present when the coupon value type is `MONEY_OFF_RANGE`. If neither is provided an `INVALID_PROMOTION_MISSING_BENEFIT_OR_RESTRICTION` error is returned." +}, +"maxPercentOff": { +"description": "Optional. Maximum percent off for a promotion with `PERCENT_OFF_RANGE` coupon value type. At least one of `min_percent_off` or `max_percent_off` must be present when the coupon value type is `PERCENT_OFF_RANGE`. If neither is provided an `INVALID_PROMOTION_MISSING_BENEFIT_OR_RESTRICTION` error is returned.", +"format": "int64", +"type": "string" +}, +"minMoneyOffAmount": { +"$ref": "Price", +"description": "Optional. Minimum money off amount for a promotion with `MONEY_OFF_RANGE` coupon value type. At least one of `min_money_off_amount` or `max_money_off_amount` must be present when the coupon value type is `MONEY_OFF_RANGE`. If neither is provided an `INVALID_PROMOTION_MISSING_BENEFIT_OR_RESTRICTION` error is returned." +}, +"minPercentOff": { +"description": "Optional. Minimum percent off for a promotion with `PERCENT_OFF_RANGE` coupon value type. At least one of `min_percent_off` or `max_percent_off` must be present when the coupon value type is `PERCENT_OFF_RANGE`. If neither is provided an `INVALID_PROMOTION_MISSING_BENEFIT_OR_RESTRICTION` error is returned.", +"format": "int64", +"type": "string" +}, +"minimumPurchaseAmount": { +"$ref": "Price", +"description": "Optional. [Minimum purchase amount](https://support.google.com/merchants/answer/13837705?ref_topic=13773355) for the promotion." +}, +"minimumPurchaseQuantity": { +"format": "int64", +"type": "string" +}, +"moneyOffAmount": { +"$ref": "Price", +"description": "Optional. The [money off amount](https://support.google.com/merchants/answer/13838101?ref_topic=13773355) offered in the promotion." +}, +"offerType": { +"description": "Required. [Type](https://support.google.com/merchants/answer/13837405?ref_topic=13773355) of the promotion. Use this attribute to indicate whether or not customers need a coupon code to redeem your promotion.", +"enum": [ +"OFFER_TYPE_UNSPECIFIED", +"NO_CODE", +"GENERIC_CODE" +], +"enumDescriptions": [ +"Unknown offer type.", +"Offer type without a code.", +"Offer type with a code. Generic redemption code for the promotion is required when `offerType` = `GENERIC_CODE`." +], +"type": "string" +}, +"percentOff": { +"description": "Optional. The [percentage discount](https://support.google.com/merchants/answer/13837404?sjid=17642868584668136159-NC) offered in the promotion.", +"format": "int64", +"type": "string" +}, +"productApplicability": { +"description": "Optional. Applicability of the promotion to either all products or [only specific products](https://support.google.com/merchants/answer/6396257). Exactly one of `product_applicability` or `event_applicability` must be set.", +"enum": [ +"PRODUCT_APPLICABILITY_UNSPECIFIED", +"ALL_PRODUCTS", +"SPECIFIC_PRODUCTS" +], +"enumDescriptions": [ +"Which products the promotion applies to is unknown.", +"Applicable to all products.", +"Applicable to only a single product or list of products." +], +"type": "string" +}, +"productTypeExclusion": { +"description": "Optional. Product filter by [product type exclusion](https://support.google.com/merchants/answer/13863746?ref_topic=13773355) for the promotion. The product filter attributes only applies when the products eligible for promotion product applicability `product_applicability` attribute is set to [specific_products](https://support.google.com/merchants/answer/13837299?ref_topic=13773355).", +"items": { +"type": "string" +}, +"type": "array" +}, +"productTypeInclusion": { +"description": "Optional. Product filter by product type for the promotion. The product filter attributes only applies when the products eligible for promotion product applicability `product_applicability` attribute is set to [specific_products](https://support.google.com/merchants/answer/13837299?ref_topic=13773355).", +"items": { +"type": "string" +}, +"type": "array" +}, +"promotionDestinations": { +"description": "Required. The list of destinations (also known as [Marketing methods](https://support.google.com/merchants/answer/15130232)) where the promotion applies to. If you don't specify a destination by including a supported value in your data source, your promotion will display in Shopping ads and free listings by default. You may have previously submitted the following values as destinations for your products: Shopping Actions, Surfaces across Google, Local surfaces across Google. To represent these values use `FREE_LISTINGS`, `FREE_LOCAL_LISTINGS`, `LOCAL_INVENTORY_ADS`. For more details see [Promotion destination](https://support.google.com/merchants/answer/13837465)", +"items": { +"enum": [ +"DESTINATION_ENUM_UNSPECIFIED", +"SHOPPING_ADS", +"DISPLAY_ADS", +"LOCAL_INVENTORY_ADS", +"FREE_LISTINGS", +"FREE_LOCAL_LISTINGS", +"YOUTUBE_SHOPPING", +"YOUTUBE_SHOPPING_CHECKOUT", +"YOUTUBE_AFFILIATE", +"FREE_VEHICLE_LISTINGS", +"VEHICLE_ADS", +"CLOUD_RETAIL", +"LOCAL_CLOUD_RETAIL" +], +"enumDescriptions": [ +"Not specified.", +"[Shopping ads](https://support.google.com/google-ads/answer/2454022).", +"[Display ads](https://support.google.com/merchants/answer/6069387).", +"[Local inventory ads](https://support.google.com/merchants/answer/3057972).", +"[Free listings](https://support.google.com/merchants/answer/9199328).", +"[Free local product listings](https://support.google.com/merchants/answer/9825611).", +"[YouTube Shopping](https://support.google.com/merchants/answer/12362804).", +"Youtube shopping checkout.", +"[Youtube Affiliate](https://support.google.com/youtube/answer/13376398).", +"[Free vehicle listings](https://support.google.com/merchants/answer/11189169).", +"[Vehicle ads](https://support.google.com/merchants/answer/11189169).", +"[Cloud retail](https://cloud.google.com/solutions/retail).", +"[Local cloud retail](https://cloud.google.com/solutions/retail)." +], +"type": "string" +}, +"type": "array" +}, +"promotionDisplayTimePeriod": { +"$ref": "Interval", +"description": "Optional. `TimePeriod` representation of the promotion's display dates. This attribute specifies the date and time frame when the promotion will be live on Google.com and Shopping ads. If the display time period for promotion `promotion_display_time_period` attribute is not specified, the promotion effective time period `promotion_effective_time_period` determines the date and time frame when the promotion will be live on Google.com and Shopping ads." +}, +"promotionEffectiveTimePeriod": { +"$ref": "Interval", +"description": "Required. `TimePeriod` representation of the promotion's effective dates. This attribute specifies that the promotion can be tested on your online store during this time period." +}, +"promotionUrl": { +"description": "Optional. URL to the page on the merchant's site where the promotion shows. Local Inventory ads promotions throw an error if no `promotion_url` is included. URL is used to confirm that the promotion is valid and can be redeemed.", +"type": "string" +}, +"redemptionRestriction": { +"description": "Optional. A restriction customers must meet before they can redeem the promotion.", +"enum": [ +"REDEMPTION_RESTRICTION_UNSPECIFIED", +"SUBSCRIBE", +"FIRST_ORDER", +"SIGNUP_FOR_EMAIL", +"SIGNUP_FOR_TEXT", +"CUSTOM" +], +"enumDescriptions": [ +"Indicates that the redemption restriction is unspecified.", +"The promotion can only be redeemed by signing up for a subscription.", +"The promotion can only be redeemed on the first order.", +"The promotion can only be redeemed by signing up for email.", +"The promotion can only be redeemed by signing up for text message alerts.", +"The promotion can only be redeemed with a custom redemption restriction. In this case, the `custom_redemption_restriction` field must be set." +], +"type": "string" +}, +"regionIdInclusion": { +"description": "Optional. A list of [regions](https://support.google.com/merchants/answer/15406457?#howregionswork) where the promotion is applicable. Must be set if `audience` is set to `LOCATION`.", +"items": { +"type": "string" +}, +"type": "array" +}, +"storeApplicability": { +"description": "Optional. Whether the promotion applies to [all stores, or only specified stores](https://support.google.com/merchants/answer/13857563?sjid=17642868584668136159-NC). Local Inventory ads promotions throw an error if no store applicability is included. An `INVALID_ARGUMENT` error is thrown if `store_applicability` is set to `ALL_STORES` and `store_codes_inclusion` or `score_code_exclusion` is set to a value.", +"enum": [ +"STORE_APPLICABILITY_UNSPECIFIED", +"ALL_STORES", +"SPECIFIC_STORES" +], +"enumDescriptions": [ +"Which store codes the promotion applies to is unknown.", +"Promotion applies to all stores.", +"Promotion applies to only the specified stores." +], +"type": "string" +}, +"storeCodesExclusion": { +"description": "Optional. [Store codes to exclude](https://support.google.com/merchants/answer/13859586?ref_topic=13773355) for the promotion. The store filter attributes only applies when the `store_applicability` attribute is set to [specific_stores](https://support.google.com/merchants/answer/13857563?ref_topic=13773355).", +"items": { +"type": "string" +}, +"type": "array" +}, +"storeCodesInclusion": { +"description": "Optional. [Store codes to include](https://support.google.com/merchants/answer/13857470?ref_topic=13773355) for the promotion. The store filter attributes only applies when the `store_applicability` attribute is set to [specific_stores](https://support.google.com/merchants/answer/13857563?ref_topic=13773355). Store code (the store ID from your Business Profile) of the physical store the product is sold in. See the [Local product inventory data specification](https://support.google.com/merchants/answer/3061342) for more information.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"CustomAttribute": { +"description": "A message that represents custom attributes. Exactly one of `value` or `group_values` must not be empty.", +"id": "CustomAttribute", +"properties": { +"groupValues": { +"description": "Subattributes within this attribute group. If `group_values` is not empty, `value` must be empty.", +"items": { +"$ref": "CustomAttribute" +}, +"type": "array" +}, +"name": { +"description": "The name of the attribute.", +"type": "string" +}, +"value": { +"description": "The value of the attribute. If `value` is not empty, `group_values` must be empty.", +"type": "string" +} +}, +"type": "object" +}, +"DestinationStatus": { +"description": "The status for the specified destination.", +"id": "DestinationStatus", +"properties": { +"reportingContext": { +"description": "Output only. The name of the promotion destination.", +"enum": [ +"REPORTING_CONTEXT_ENUM_UNSPECIFIED", +"SHOPPING_ADS", +"DISCOVERY_ADS", +"DEMAND_GEN_ADS", +"DEMAND_GEN_ADS_DISCOVER_SURFACE", +"VIDEO_ADS", +"DISPLAY_ADS", +"LOCAL_INVENTORY_ADS", +"VEHICLE_INVENTORY_ADS", +"FREE_LISTINGS", +"FREE_LISTINGS_UCP_CHECKOUT", +"FREE_LOCAL_LISTINGS", +"FREE_LOCAL_VEHICLE_LISTINGS", +"YOUTUBE_AFFILIATE", +"YOUTUBE_SHOPPING", +"CLOUD_RETAIL", +"LOCAL_CLOUD_RETAIL", +"PRODUCT_REVIEWS", +"MERCHANT_REVIEWS", +"YOUTUBE_CHECKOUT" +], +"enumDeprecated": [ +false, +false, +true, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false +], +"enumDescriptions": [ +"Not specified.", +"[Shopping ads](https://support.google.com/merchants/answer/6149970).", +"Deprecated: Use `DEMAND_GEN_ADS` instead. [Discovery and Demand Gen ads](https://support.google.com/merchants/answer/13389785).", +"[Demand Gen ads](https://support.google.com/merchants/answer/13389785).", +"[Demand Gen ads on Discover surface](https://support.google.com/merchants/answer/13389785).", +"[Video ads](https://support.google.com/google-ads/answer/6340491).", +"[Display ads](https://support.google.com/merchants/answer/6069387).", +"[Local inventory ads](https://support.google.com/merchants/answer/3271956).", +"[Vehicle inventory ads](https://support.google.com/merchants/answer/11544533).", +"[Free product listings](https://support.google.com/merchants/answer/9199328).", +"[Free product listings on UCP checkout](https://developers.google.com/merchant/ucp).", +"[Free local product listings](https://support.google.com/merchants/answer/9825611).", +"[Free local vehicle listings](https://support.google.com/merchants/answer/11544533).", +"[Youtube Affiliate](https://support.google.com/youtube/answer/13376398).", +"[YouTube Shopping](https://support.google.com/merchants/answer/13478370).", +"[Cloud retail](https://cloud.google.com/solutions/retail).", +"[Local cloud retail](https://cloud.google.com/solutions/retail).", +"[Product Reviews](https://support.google.com/merchants/answer/14620732).", +"[Merchant Reviews](https://developers.google.com/merchant-review-feeds).", +"YouTube Checkout ." +], +"readOnly": true, +"type": "string" +}, +"status": { +"description": "Output only. The status for the specified destination.", +"enum": [ +"STATE_UNSPECIFIED", +"IN_REVIEW", +"REJECTED", +"LIVE", +"STOPPED", +"EXPIRED", +"PENDING" +], +"enumDescriptions": [ +"Unknown promotion state.", +"The promotion is under review.", +"The promotion is disapproved.", +"The promotion is approved and active.", +"The promotion is stopped by merchant.", +"The promotion is no longer active.", +"The promotion is not stopped, and all reviews are approved, but the active date is in the future." +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"InsertPromotionRequest": { +"description": "Request message for the `InsertPromotion` method.", +"id": "InsertPromotionRequest", +"properties": { +"dataSource": { +"description": "Required. The data source of the [promotion](https://support.google.com/merchants/answer/6396268?sjid=5155774230887277618-NC) Format: `accounts/{account}/dataSources/{datasource}`.", +"type": "string" +}, +"promotion": { +"$ref": "Promotion", +"description": "Required. The promotion to insert." +} +}, +"type": "object" +}, +"Interval": { +"description": "Represents a time interval, encoded as a Timestamp start (inclusive) and a Timestamp end (exclusive). The start must be less than or equal to the end. When the start equals the end, the interval is empty (matches no time). When both start and end are unspecified, the interval matches any time.", +"id": "Interval", +"properties": { +"endTime": { +"description": "Optional. Exclusive end of the interval. If specified, a Timestamp matching this interval will have to be before the end.", +"format": "google-datetime", +"type": "string" +}, +"startTime": { +"description": "Optional. Inclusive start of the interval. If specified, a Timestamp matching this interval will have to be the same or after the start.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"ItemLevelIssue": { +"description": "The issue associated with the promotion.", +"id": "ItemLevelIssue", +"properties": { +"applicableCountries": { +"description": "Output only. List of country codes (ISO 3166-1 alpha-2) where issue applies to the offer.", +"items": { +"type": "string" +}, +"readOnly": true, +"type": "array" +}, +"attribute": { +"description": "Output only. The attribute's name, if the issue is caused by a single attribute.", +"readOnly": true, +"type": "string" +}, +"code": { +"description": "Output only. The error code of the issue.", +"readOnly": true, +"type": "string" +}, +"description": { +"description": "Output only. A short issue description in English.", +"readOnly": true, +"type": "string" +}, +"detail": { +"description": "Output only. A detailed issue description in English.", +"readOnly": true, +"type": "string" +}, +"documentation": { +"description": "Output only. The URL of a web page to help with resolving this issue.", +"readOnly": true, +"type": "string" +}, +"reportingContext": { +"description": "Output only. The destination the issue applies to.", +"enum": [ +"REPORTING_CONTEXT_ENUM_UNSPECIFIED", +"SHOPPING_ADS", +"DISCOVERY_ADS", +"DEMAND_GEN_ADS", +"DEMAND_GEN_ADS_DISCOVER_SURFACE", +"VIDEO_ADS", +"DISPLAY_ADS", +"LOCAL_INVENTORY_ADS", +"VEHICLE_INVENTORY_ADS", +"FREE_LISTINGS", +"FREE_LISTINGS_UCP_CHECKOUT", +"FREE_LOCAL_LISTINGS", +"FREE_LOCAL_VEHICLE_LISTINGS", +"YOUTUBE_AFFILIATE", +"YOUTUBE_SHOPPING", +"CLOUD_RETAIL", +"LOCAL_CLOUD_RETAIL", +"PRODUCT_REVIEWS", +"MERCHANT_REVIEWS", +"YOUTUBE_CHECKOUT" +], +"enumDeprecated": [ +false, +false, +true, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false +], +"enumDescriptions": [ +"Not specified.", +"[Shopping ads](https://support.google.com/merchants/answer/6149970).", +"Deprecated: Use `DEMAND_GEN_ADS` instead. [Discovery and Demand Gen ads](https://support.google.com/merchants/answer/13389785).", +"[Demand Gen ads](https://support.google.com/merchants/answer/13389785).", +"[Demand Gen ads on Discover surface](https://support.google.com/merchants/answer/13389785).", +"[Video ads](https://support.google.com/google-ads/answer/6340491).", +"[Display ads](https://support.google.com/merchants/answer/6069387).", +"[Local inventory ads](https://support.google.com/merchants/answer/3271956).", +"[Vehicle inventory ads](https://support.google.com/merchants/answer/11544533).", +"[Free product listings](https://support.google.com/merchants/answer/9199328).", +"[Free product listings on UCP checkout](https://developers.google.com/merchant/ucp).", +"[Free local product listings](https://support.google.com/merchants/answer/9825611).", +"[Free local vehicle listings](https://support.google.com/merchants/answer/11544533).", +"[Youtube Affiliate](https://support.google.com/youtube/answer/13376398).", +"[YouTube Shopping](https://support.google.com/merchants/answer/13478370).", +"[Cloud retail](https://cloud.google.com/solutions/retail).", +"[Local cloud retail](https://cloud.google.com/solutions/retail).", +"[Product Reviews](https://support.google.com/merchants/answer/14620732).", +"[Merchant Reviews](https://developers.google.com/merchant-review-feeds).", +"YouTube Checkout ." +], +"readOnly": true, +"type": "string" +}, +"resolution": { +"description": "Output only. Whether the issue can be resolved by the merchant.", +"readOnly": true, +"type": "string" +}, +"severity": { +"description": "Output only. How this issue affects serving of the promotion.", +"enum": [ +"SEVERITY_UNSPECIFIED", +"NOT_IMPACTED", +"DEMOTED", +"DISAPPROVED" +], +"enumDescriptions": [ +"Not specified.", +"This issue represents a warning and does not have a direct affect on the promotion.", +"The promotion is demoted and most likely have limited performance in search results", +"Issue disapproves the promotion." +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"ListPromotionsResponse": { +"description": "Response message for the `ListPromotions` method.", +"id": "ListPromotionsResponse", +"properties": { +"nextPageToken": { +"description": "A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.", +"type": "string" +}, +"promotions": { +"description": "The processed promotions from the specified account.", +"items": { +"$ref": "Promotion" +}, +"type": "array" +} +}, +"type": "object" +}, +"Price": { +"description": "The price represented as a number and currency.", +"id": "Price", +"properties": { +"amountMicros": { +"description": "The price represented as a number in micros (1 million micros is an equivalent to one's currency standard unit, for example, 1 USD = 1000000 micros).", +"format": "int64", +"type": "string" +}, +"currencyCode": { +"description": "The currency of the price using three-letter acronyms according to [ISO 4217](http://en.wikipedia.org/wiki/ISO_4217).", +"type": "string" +} +}, +"type": "object" +}, +"ProductChange": { +"description": "The change that happened to the product including old value, new value, country code as the region code and reporting context.", +"id": "ProductChange", +"properties": { +"newValue": { +"description": "The new value of the changed resource or attribute. If empty, it means that the product was deleted. Will have one of these values : (`approved`, `pending`, `disapproved`, ``)", +"type": "string" +}, +"oldValue": { +"description": "The old value of the changed resource or attribute. If empty, it means that the product was created. Will have one of these values : (`approved`, `pending`, `disapproved`, ``)", +"type": "string" +}, +"regionCode": { +"description": "Countries that have the change (if applicable). Represented in the ISO 3166 format.", +"type": "string" +}, +"reportingContext": { +"description": "Reporting contexts that have the change (if applicable). Currently this field supports only (`SHOPPING_ADS`, `LOCAL_INVENTORY_ADS`, `YOUTUBE_SHOPPING`, `YOUTUBE_CHECKOUT`, `YOUTUBE_AFFILIATE`) from the enum value [ReportingContextEnum](/merchant/api/reference/rest/Shared.Types/ReportingContextEnum)", +"enum": [ +"REPORTING_CONTEXT_ENUM_UNSPECIFIED", +"SHOPPING_ADS", +"DISCOVERY_ADS", +"DEMAND_GEN_ADS", +"DEMAND_GEN_ADS_DISCOVER_SURFACE", +"VIDEO_ADS", +"DISPLAY_ADS", +"LOCAL_INVENTORY_ADS", +"VEHICLE_INVENTORY_ADS", +"FREE_LISTINGS", +"FREE_LISTINGS_UCP_CHECKOUT", +"FREE_LOCAL_LISTINGS", +"FREE_LOCAL_VEHICLE_LISTINGS", +"YOUTUBE_AFFILIATE", +"YOUTUBE_SHOPPING", +"CLOUD_RETAIL", +"LOCAL_CLOUD_RETAIL", +"PRODUCT_REVIEWS", +"MERCHANT_REVIEWS", +"YOUTUBE_CHECKOUT" +], +"enumDeprecated": [ +false, +false, +true, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false +], +"enumDescriptions": [ +"Not specified.", +"[Shopping ads](https://support.google.com/merchants/answer/6149970).", +"Deprecated: Use `DEMAND_GEN_ADS` instead. [Discovery and Demand Gen ads](https://support.google.com/merchants/answer/13389785).", +"[Demand Gen ads](https://support.google.com/merchants/answer/13389785).", +"[Demand Gen ads on Discover surface](https://support.google.com/merchants/answer/13389785).", +"[Video ads](https://support.google.com/google-ads/answer/6340491).", +"[Display ads](https://support.google.com/merchants/answer/6069387).", +"[Local inventory ads](https://support.google.com/merchants/answer/3271956).", +"[Vehicle inventory ads](https://support.google.com/merchants/answer/11544533).", +"[Free product listings](https://support.google.com/merchants/answer/9199328).", +"[Free product listings on UCP checkout](https://developers.google.com/merchant/ucp).", +"[Free local product listings](https://support.google.com/merchants/answer/9825611).", +"[Free local vehicle listings](https://support.google.com/merchants/answer/11544533).", +"[Youtube Affiliate](https://support.google.com/youtube/answer/13376398).", +"[YouTube Shopping](https://support.google.com/merchants/answer/13478370).", +"[Cloud retail](https://cloud.google.com/solutions/retail).", +"[Local cloud retail](https://cloud.google.com/solutions/retail).", +"[Product Reviews](https://support.google.com/merchants/answer/14620732).", +"[Merchant Reviews](https://developers.google.com/merchant-review-feeds).", +"YouTube Checkout ." +], +"type": "string" +} +}, +"type": "object" +}, +"ProductStatusChangeMessage": { +"description": "The message that the merchant will receive to notify about product status change event", +"id": "ProductStatusChangeMessage", +"properties": { +"account": { +"description": "The target account that owns the entity that changed. Format : `accounts/{merchant_id}`", +"type": "string" +}, +"attribute": { +"description": "The attribute in the resource that changed, in this case it will be always `Status`.", +"enum": [ +"ATTRIBUTE_UNSPECIFIED", +"STATUS" +], +"enumDescriptions": [ +"Unspecified attribute", +"Status of the changed entity" +], +"type": "string" +}, +"changes": { +"description": "A message to describe the change that happened to the product", +"items": { +"$ref": "ProductChange" +}, +"type": "array" +}, +"eventTime": { +"description": "The time at which the event was generated. If you want to order the notification messages you receive you should rely on this field not on the order of receiving the notifications.", +"format": "google-datetime", +"type": "string" +}, +"expirationTime": { +"description": "Optional. The product expiration time. This field will not be set if the notification is sent for a product deletion event.", +"format": "google-datetime", +"type": "string" +}, +"managingAccount": { +"description": "The account that manages the merchant's account. can be the same as merchant id if it is standalone account. Format : `accounts/{service_provider_id}`", +"type": "string" +}, +"resource": { +"description": "The product name. Format: `accounts/{account}/products/{product}`", +"type": "string" +}, +"resourceId": { +"description": "The product id.", +"type": "string" +}, +"resourceType": { +"description": "The resource that changed, in this case it will always be `Product`.", +"enum": [ +"RESOURCE_UNSPECIFIED", +"PRODUCT" +], +"enumDescriptions": [ +"Unspecified resource", +"Resource type : product" +], +"type": "string" +} +}, +"type": "object" +}, +"Promotion": { +"description": "Represents a promotion. See the following articles for more details. Required promotion input attributes to pass data validation checks are primarily defined below: * [Promotions data specification](https://support.google.com/merchants/answer/2906014) * [Local promotions data specification](https://support.google.com/merchants/answer/10146130) After inserting, updating a promotion input, it may take several minutes before the final promotion can be retrieved.", +"id": "Promotion", +"properties": { +"attributes": { +"$ref": "Attributes", +"description": "Optional. A list of promotion attributes." +}, +"contentLanguage": { +"description": "Required. The two-letter [ISO 639-1](http://en.wikipedia.org/wiki/ISO_639-1) language code for the promotion. Promotions is only for [selected languages](https://support.google.com/merchants/answer/4588281?ref_topic=6396150&sjid=18314938579342094533-NC#option3&zippy=).", +"type": "string" +}, +"customAttributes": { +"description": "Optional. A list of custom (merchant-provided) attributes. It can also be used for submitting any attribute of the data specification in its generic form (for example, `{ \"name\": \"size type\", \"value\": \"regular\" }`). This is useful for submitting attributes not explicitly exposed by the API.", +"items": { +"$ref": "CustomAttribute" +}, +"type": "array" +}, +"dataSource": { +"description": "Output only. The primary data source of the promotion.", +"readOnly": true, +"type": "string" +}, +"name": { +"description": "Identifier. The name of the promotion. Format: `accounts/{account}/promotions/{promotion}`", +"type": "string" +}, +"promotionId": { +"description": "Required. The user provided promotion ID to uniquely identify the promotion. Follow [minimum requirements](https://support.google.com/merchants/answer/7050148?ref_topic=7322920&sjid=871860036916537104-NC#minimum_requirements) to prevent promotion disapprovals.", +"type": "string" +}, +"promotionStatus": { +"$ref": "PromotionStatus", +"description": "Output only. The [status of a promotion](https://support.google.com/merchants/answer/3398326?ref_topic=7322924&sjid=5155774230887277618-NC), data validation issues, that is, information about a promotion computed asynchronously.", +"readOnly": true +}, +"redemptionChannel": { +"description": "Required. [Redemption channel](https://support.google.com/merchants/answer/13837674?ref_topic=13773355&sjid=17642868584668136159-NC) for the promotion. At least one channel is required.", +"items": { +"enum": [ +"REDEMPTION_CHANNEL_UNSPECIFIED", +"IN_STORE", +"ONLINE" +], +"enumDescriptions": [ +"Indicates that the channel is unspecified.", +"Indicates that the channel is in store. This is same as `local` channel used for `products`.", +"Indicates that the channel is online." +], +"type": "string" +}, +"type": "array" +}, +"targetCountry": { +"description": "Required. The target country used as part of the unique identifier. Represented as a [CLDR territory code](https://github.com/unicode-org/cldr/blob/latest/common/main/en.xml). Promotions are only available in selected countries, [Free Listings and Shopping ads](https://support.google.com/merchants/answer/4588460) [Local Inventory ads](https://support.google.com/merchants/answer/10146326)", +"type": "string" +}, +"versionNumber": { +"description": "Optional. Represents the existing version (freshness) of the promotion, which can be used to preserve the right order when multiple updates are done at the same time. If set, the insertion is prevented when version number is lower than the current version number of the existing promotion. Re-insertion (for example, promotion refresh after 30 days) can be performed with the current `version_number`. If the operation is prevented, the aborted exception will be thrown.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"PromotionStatus": { +"description": "The status of the promotion.", +"id": "PromotionStatus", +"properties": { +"creationDate": { +"description": "Output only. Date on which the promotion has been created in [ISO 8601](http://en.wikipedia.org/wiki/ISO_8601) format: Date, time, and offset, for example `2020-01-02T09:00:00+01:00` or `2020-01-02T09:00:00Z`", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"destinationStatuses": { +"description": "Output only. The intended destinations for the promotion.", +"items": { +"$ref": "DestinationStatus" +}, +"readOnly": true, +"type": "array" +}, +"itemLevelIssues": { +"description": "Output only. A list of issues associated with the promotion.", +"items": { +"$ref": "ItemLevelIssue" +}, +"readOnly": true, +"type": "array" +}, +"lastUpdateDate": { +"description": "Output only. Date on which the promotion status has been last updated in [ISO 8601](http://en.wikipedia.org/wiki/ISO_8601) format: Date, time, and offset, for example `2020-01-02T09:00:00+01:00` or `2020-01-02T09:00:00Z`", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +} +}, +"servicePath": "", +"title": "Merchant API", +"version": "promotions_v1", +"version_module": true +} \ No newline at end of file diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/merchantapi.promotions_v1beta.json b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/merchantapi.promotions_v1beta.json new file mode 100644 index 0000000000000000000000000000000000000000..f3f7eced2594bd98b7eaa9f155e1d1d873194daa --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/merchantapi.promotions_v1beta.json @@ -0,0 +1,1113 @@ +{ +"auth": { +"oauth2": { +"scopes": { +"https://www.googleapis.com/auth/content": { +"description": "Manage your product listings and accounts for Google Shopping" +} +} +} +}, +"basePath": "", +"baseUrl": "https://merchantapi.googleapis.com/", +"batchPath": "batch", +"canonicalName": "Merchant", +"description": "Programmatically manage your Merchant Center Accounts.", +"discoveryVersion": "v1", +"documentationLink": "https://developers.google.com/merchant/api", +"fullyEncodeReservedExpansion": true, +"icons": { +"x16": "http://www.google.com/images/icons/product/search-16.gif", +"x32": "http://www.google.com/images/icons/product/search-32.gif" +}, +"id": "merchantapi:promotions_v1beta", +"kind": "discovery#restDescription", +"mtlsRootUrl": "https://merchantapi.mtls.googleapis.com/", +"name": "merchantapi", +"ownerDomain": "google.com", +"ownerName": "Google", +"parameters": { +"$.xgafv": { +"description": "V1 error format.", +"enum": [ +"1", +"2" +], +"enumDescriptions": [ +"v1 error format", +"v2 error format" +], +"location": "query", +"type": "string" +}, +"access_token": { +"description": "OAuth access token.", +"location": "query", +"type": "string" +}, +"alt": { +"default": "json", +"description": "Data format for response.", +"enum": [ +"json", +"media", +"proto" +], +"enumDescriptions": [ +"Responses with Content-Type of application/json", +"Media download with context-dependent Content-Type", +"Responses with Content-Type of application/x-protobuf" +], +"location": "query", +"type": "string" +}, +"callback": { +"description": "JSONP", +"location": "query", +"type": "string" +}, +"fields": { +"description": "Selector specifying which fields to include in a partial response.", +"location": "query", +"type": "string" +}, +"key": { +"description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", +"location": "query", +"type": "string" +}, +"oauth_token": { +"description": "OAuth 2.0 token for the current user.", +"location": "query", +"type": "string" +}, +"prettyPrint": { +"default": "true", +"description": "Returns response with indentations and line breaks.", +"location": "query", +"type": "boolean" +}, +"quotaUser": { +"description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.", +"location": "query", +"type": "string" +}, +"uploadType": { +"description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", +"location": "query", +"type": "string" +}, +"upload_protocol": { +"description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", +"location": "query", +"type": "string" +} +}, +"protocol": "rest", +"resources": { +"accounts": { +"resources": { +"promotions": { +"methods": { +"get": { +"description": "Retrieves the promotion from your Merchant Center account. After inserting or updating a promotion input, it may take several minutes before the updated promotion can be retrieved.", +"flatPath": "promotions/v1beta/accounts/{accountsId}/promotions/{promotionsId}", +"httpMethod": "GET", +"id": "merchantapi.accounts.promotions.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the promotion to retrieve. Format: `accounts/{account}/promotions/{promotions}`", +"location": "path", +"pattern": "^accounts/[^/]+/promotions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "promotions/v1beta/{+name}", +"response": { +"$ref": "Promotion" +}, +"scopes": [ +"https://www.googleapis.com/auth/content" +] +}, +"insert": { +"description": "Inserts a promotion for your Merchant Center account. If the promotion already exists, then it updates the promotion instead.", +"flatPath": "promotions/v1beta/accounts/{accountsId}/promotions:insert", +"httpMethod": "POST", +"id": "merchantapi.accounts.promotions.insert", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The account where the promotion will be inserted. Format: accounts/{account}", +"location": "path", +"pattern": "^accounts/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "promotions/v1beta/{+parent}/promotions:insert", +"request": { +"$ref": "InsertPromotionRequest" +}, +"response": { +"$ref": "Promotion" +}, +"scopes": [ +"https://www.googleapis.com/auth/content" +] +}, +"list": { +"description": "Lists the promotions in your Merchant Center account. The response might contain fewer items than specified by `pageSize`. Rely on `pageToken` to determine if there are more items to be requested. After inserting or updating a promotion, it may take several minutes before the updated processed promotion can be retrieved.", +"flatPath": "promotions/v1beta/accounts/{accountsId}/promotions", +"httpMethod": "GET", +"id": "merchantapi.accounts.promotions.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "Optional. The maximum number of promotions to return. The service may return fewer than this value. The maximum value is 250; values above 250 will be coerced to 250. If unspecified, the maximum number of promotions will be returned.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. A page token, received from a previous `ListPromotions` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListPromotions` must match the call that provided the page token.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The account to list processed promotions for. Format: `accounts/{account}`", +"location": "path", +"pattern": "^accounts/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "promotions/v1beta/{+parent}/promotions", +"response": { +"$ref": "ListPromotionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/content" +] +} +} +} +} +} +}, +"revision": "20260224", +"rootUrl": "https://merchantapi.googleapis.com/", +"schemas": { +"Attributes": { +"description": "Attributes.", +"id": "Attributes", +"properties": { +"audience": { +"description": "Optional. This field defines the audience a promotion will be visible to.", +"enum": [ +"AUDIENCE_UNSPECIFIED", +"NEW_CUSTOMERS", +"LOCATION" +], +"enumDescriptions": [ +"The promotion is not restricted to any audience and will be shown to all users. Default value.", +"The Promotion will be shown to new customers only. If this value is set, the `promotion_destinations` field in `Attributes` must include `SHOPPING_ADS`. Requests that do not satisfy this condition will be rejected. For more details, see [First order promotions](https://support.google.com/merchants/answer/16310477?hl=en-IE&sjid=513157547625651759-NC)", +"The Promotion will be shown to customer within a certain location. Applicable locations must be specified in the `region_id_inclusion` field and the `promotion_destinations` field must contain `FREE_LISTINGS`. For more details, see [Regional Promotions](https://support.google.com/merchants/answer/16700435?hl=en&sjid=8815806704218720187-NC)." +], +"type": "string" +}, +"brandExclusion": { +"description": "Optional. Product filter by [brand exclusion](https://support.google.com/merchants/answer/13861679?ref_topic=13773355&sjid=17642868584668136159-NC) for the promotion. The product filter attributes only applies when the products eligible for promotion product applicability `product_applicability` attribute is set to [specific_products](https://support.google.com/merchants/answer/13837299?ref_topic=13773355&sjid=17642868584668136159-NC).", +"items": { +"type": "string" +}, +"type": "array" +}, +"brandInclusion": { +"description": "Optional. Product filter by brand for the promotion. The product filter attributes only applies when the products eligible for promotion product applicability `product_applicability` attribute is set to [specific_products](https://support.google.com/merchants/answer/13837299?ref_topic=13773355&sjid=17642868584668136159-NC).", +"items": { +"type": "string" +}, +"type": "array" +}, +"couponValueType": { +"description": "Required. The [coupon value type] (https://support.google.com/merchants/answer/13861986?ref_topic=13773355&sjid=17642868584668136159-NC) attribute to signal the type of promotion that you are running. Depending on type of the selected coupon value [some attributes are required](https://support.google.com/merchants/answer/6393006?ref_topic=7322920).", +"enum": [ +"COUPON_VALUE_TYPE_UNSPECIFIED", +"MONEY_OFF", +"PERCENT_OFF", +"BUY_M_GET_N_MONEY_OFF", +"BUY_M_GET_N_PERCENT_OFF", +"BUY_M_GET_MONEY_OFF", +"BUY_M_GET_PERCENT_OFF", +"FREE_GIFT", +"FREE_GIFT_WITH_VALUE", +"FREE_GIFT_WITH_ITEM_ID", +"FREE_SHIPPING_STANDARD", +"FREE_SHIPPING_OVERNIGHT", +"FREE_SHIPPING_TWO_DAY" +], +"enumDescriptions": [ +"Indicates that the coupon value type is unspecified.", +"Money off coupon value type.", +"Percent off coupon value type.", +"Buy M quantity, get N money off coupon value type. `minimum_purchase_quantity` and `get_this_quantity_discounted` must be present. `money_off_amount` must also be present.", +"Buy M quantity, get N percent off coupon value type. `minimum_purchase_quantity` and `get_this_quantity_discounted` must be present. `percent_off_percentage` must also be present.", +"Buy M quantity, get money off. `minimum_purchase_quantity` and `money_off_amount` must be present.", +"Buy M quantity, get money off. `minimum_purchase_quantity` and `percent_off_percentage` must be present.", +"Free gift with description only.", +"Free gift with monetary value.", +"Free gift with item ID.", +"Standard free shipping coupon value type. Only available for online promotions.", +"Overnight free shipping coupon value type. Only available for online promotions.", +"Two day free shipping coupon value type. Only available for online promotions." +], +"type": "string" +}, +"customRedemptionRestriction": { +"description": "Optional. The custom redemption restriction for the promotion. If the `redemption_restriction` field is set to `CUSTOM`, this field must be set.", +"type": "string" +}, +"eventApplicability": { +"description": "Optional. Event applicability for this promotion. When present, this field indicates you are creating a [sales event](https://support.google.com/merchants/answer/15523289?hl=en&sjid=11099988466404504696-NC) and not a product promotion. Exactly one of `product_applicability` or `event_applicability` must be set.", +"enum": [ +"EVENT_APPLICABILITY_UNSPECIFIED", +"SITEWIDE", +"SPECIFIC_CATEGORIES" +], +"enumDescriptions": [ +"Indicates that the event applicability is unspecified.", +"Indicates that the promotion applies to the entire site.", +"Indicates that the promotion applies to specific categories. When this is set, the GoogleProductCategory field is required." +], +"type": "string" +}, +"freeGiftDescription": { +"description": "Optional. [Free gift description](https://support.google.com/merchants/answer/13847245?ref_topic=13773355&sjid=17642868584668136159-NC) for the promotion.", +"type": "string" +}, +"freeGiftItemId": { +"description": "Optional. [Free gift item ID](https://support.google.com/merchants/answer/13857152?ref_topic=13773355&sjid=17642868584668136159-NC) for the promotion.", +"type": "string" +}, +"freeGiftValue": { +"$ref": "Price", +"description": "Optional. [Free gift value](https://support.google.com/merchants/answer/13844477?ref_topic=13773355&sjid=17642868584668136159-NC) for the promotion." +}, +"genericRedemptionCode": { +"description": "Optional. Generic redemption code for the promotion. To be used with the `offerType` field and must meet the [minimum requirements](https://support.google.com/merchants/answer/13837405?ref_topic=13773355&sjid=17642868584668136159-NC).", +"type": "string" +}, +"getThisQuantityDiscounted": { +"description": "Optional. The number of items discounted in the promotion. The attribute is set when `couponValueType` is equal to `buy_m_get_n_money_off` or `buy_m_get_n_percent_off`.", +"format": "int64", +"type": "string" +}, +"googleProductCategories": { +"description": "Optional. A list of Google product categories for this promotion. Set if `EventApplicability` is `SPECIFIC_CATEGORIES`. Up to 5 product categories can be specified. For more details on eligible values for product categories, checkout the `google_product_category` attribute in the [Promotion data specification](https://support.google.com/merchants/answer/2906014?hl=en).", +"items": { +"type": "string" +}, +"type": "array" +}, +"itemGroupIdExclusion": { +"description": "Optional. Product filter by [item group ID](https://support.google.com/merchants/answer/13837298?ref_topic=13773355&sjid=17642868584668136159-NC). The product filter attributes only applies when the products eligible for promotion product applicability `product_applicability` attribute is set to [specific_products](https://support.google.com/merchants/answer/13837299?ref_topic=13773355&sjid=17642868584668136159-NC). exclusion for the promotion.", +"items": { +"type": "string" +}, +"type": "array" +}, +"itemGroupIdInclusion": { +"description": "Optional. Product filter by item group ID for the promotion. The product filter attributes only applies when the products eligible for promotion product applicability [product_applicability] attribute is set to [specific_products](https://support.google.com/merchants/answer/13837299?ref_topic=13773355&sjid=17642868584668136159-NC).", +"items": { +"type": "string" +}, +"type": "array" +}, +"itemIdExclusion": { +"description": "Optional. Product filter by [item ID exclusion](https://support.google.com/merchants/answer/13863524?ref_topic=13773355&sjid=17642868584668136159-NC) for the promotion. The product filter attributes only applies when the products eligible for promotion product applicability `product_applicability` attribute is set to [specific_products](https://support.google.com/merchants/answer/13837299?ref_topic=13773355&sjid=17642868584668136159-NC).", +"items": { +"type": "string" +}, +"type": "array" +}, +"itemIdInclusion": { +"description": "Optional. Product filter by [item ID](https://support.google.com/merchants/answer/13861565?ref_topic=13773355&sjid=17642868584668136159-NC) for the promotion. The product filter attributes only applies when the products eligible for promotion product applicability `product_applicability` attribute is set to [specific_products](https://support.google.com/merchants/answer/13837299?ref_topic=13773355&sjid=17642868584668136159-NC).", +"items": { +"type": "string" +}, +"type": "array" +}, +"limitQuantity": { +"description": "Optional. [Maximum purchase quantity](https://support.google.com/merchants/answer/13861564?ref_topic=13773355&sjid=17642868584668136159-NC) for the promotion.", +"format": "int64", +"type": "string" +}, +"limitValue": { +"$ref": "Price", +"description": "Optional. [Maximum product price](https://support.google.com/merchants/answer/2906014) for promotion." +}, +"longTitle": { +"description": "Required. [Long title](https://support.google.com/merchants/answer/13838102?ref_topic=13773355&sjid=17642868584668136159-NC) for the promotion.", +"type": "string" +}, +"maxDiscountAmount": { +"$ref": "Price", +"description": "Optional. The maximum monetary discount a customer can receive for the promotion. This field is only supported with the `Percent off` coupon value type." +}, +"minimumPurchaseAmount": { +"$ref": "Price", +"description": "Optional. [Minimum purchase amount](https://support.google.com/merchants/answer/13837705?ref_topic=13773355&sjid=17642868584668136159-NC) for the promotion." +}, +"minimumPurchaseQuantity": { +"format": "int64", +"type": "string" +}, +"moneyOffAmount": { +"$ref": "Price", +"description": "Optional. The [money off amount](https://support.google.com/merchants/answer/13838101?ref_topic=13773355&sjid=17642868584668136159-NC) offered in the promotion." +}, +"offerType": { +"description": "Required. [Type](https://support.google.com/merchants/answer/13837405?ref_topic=13773355&sjid=17642868584668136159-NC) of the promotion. Use this attribute to indicate whether or not customers need a coupon code to redeem your promotion.", +"enum": [ +"OFFER_TYPE_UNSPECIFIED", +"NO_CODE", +"GENERIC_CODE" +], +"enumDescriptions": [ +"Unknown offer type.", +"Offer type without a code.", +"Offer type with a code. Generic redemption code for the promotion is required when `offerType` = `GENERIC_CODE`." +], +"type": "string" +}, +"percentOff": { +"description": "Optional. The [percentage discount](https://support.google.com/merchants/answer/13837404?sjid=17642868584668136159-NC) offered in the promotion.", +"format": "int64", +"type": "string" +}, +"productApplicability": { +"description": "Optional. Applicability of the promotion to either all products or [only specific products](https://support.google.com/merchants/answer/6396257?ref_topic=6396150&sjid=17642868584668136159-NC). Exactly one of `product_applicability` or `event_applicability` must be set.", +"enum": [ +"PRODUCT_APPLICABILITY_UNSPECIFIED", +"ALL_PRODUCTS", +"SPECIFIC_PRODUCTS" +], +"enumDescriptions": [ +"Which products the promotion applies to is unknown.", +"Applicable to all products.", +"Applicable to only a single product or list of products." +], +"type": "string" +}, +"productTypeExclusion": { +"description": "Optional. Product filter by [product type exclusion](https://support.google.com/merchants/answer/13863746?ref_topic=13773355&sjid=17642868584668136159-NC) for the promotion. The product filter attributes only applies when the products eligible for promotion product applicability `product_applicability` attribute is set to [specific_products](https://support.google.com/merchants/answer/13837299?ref_topic=13773355&sjid=17642868584668136159-NC).", +"items": { +"type": "string" +}, +"type": "array" +}, +"productTypeInclusion": { +"description": "Optional. Product filter by product type for the promotion. The product filter attributes only applies when the products eligible for promotion product applicability `product_applicability` attribute is set to [specific_products](https://support.google.com/merchants/answer/13837299?ref_topic=13773355&sjid=17642868584668136159-NC).", +"items": { +"type": "string" +}, +"type": "array" +}, +"promotionDestinations": { +"description": "Required. The list of destinations (also known as [Marketing methods](https://support.google.com/merchants/answer/15130232)) where the promotion applies to. If you don't specify a destination by including a supported value in your data source, your promotion will display in Shopping ads and free listings by default. You may have previously submitted the following values as destinations for your products: Shopping Actions, Surfaces across Google, Local surfaces across Google. To represent these values use `FREE_LISTINGS`, `FREE_LOCAL_LISTINGS`, `LOCAL_INVENTORY_ADS`. For more details see [Promotion destination](https://support.google.com/merchants/answer/13837465?sjid=5155774230887277618-NC)", +"items": { +"enum": [ +"DESTINATION_ENUM_UNSPECIFIED", +"SHOPPING_ADS", +"DISPLAY_ADS", +"LOCAL_INVENTORY_ADS", +"FREE_LISTINGS", +"FREE_LOCAL_LISTINGS", +"YOUTUBE_SHOPPING", +"YOUTUBE_SHOPPING_CHECKOUT", +"YOUTUBE_AFFILIATE", +"FREE_VEHICLE_LISTINGS", +"VEHICLE_ADS", +"CLOUD_RETAIL", +"LOCAL_CLOUD_RETAIL" +], +"enumDescriptions": [ +"Not specified.", +"[Shopping ads](https://support.google.com/google-ads/answer/2454022).", +"[Display ads](https://support.google.com/merchants/answer/6069387).", +"[Local inventory ads](https://support.google.com/merchants/answer/3057972).", +"[Free listings](https://support.google.com/merchants/answer/9199328).", +"[Free local product listings](https://support.google.com/merchants/answer/9825611).", +"[YouTube Shopping](https://support.google.com/merchants/answer/12362804).", +"Youtube shopping checkout.", +"[Youtube Affiliate](https://support.google.com/youtube/answer/13376398).", +"[Free vehicle listings](https://support.google.com/merchants/answer/11189169).", +"[Vehicle ads](https://support.google.com/merchants/answer/11189169).", +"[Cloud retail](https://cloud.google.com/solutions/retail).", +"[Local cloud retail](https://cloud.google.com/solutions/retail)." +], +"type": "string" +}, +"type": "array" +}, +"promotionDisplayTimePeriod": { +"$ref": "Interval", +"description": "Optional. `TimePeriod` representation of the promotion's display dates. This attribute specifies the date and time frame when the promotion will be live on Google.com and Shopping ads. If the display time period for promotion `promotion_display_time_period` attribute is not specified, the promotion effective time period `promotion_effective_time_period` determines the date and time frame when the promotion will be live on Google.com and Shopping ads." +}, +"promotionEffectiveTimePeriod": { +"$ref": "Interval", +"description": "Required. `TimePeriod` representation of the promotion's effective dates. This attribute specifies that the promotion can be tested on your online store during this time period." +}, +"promotionUrl": { +"description": "Optional. URL to the page on the merchant's site where the promotion shows. Local Inventory ads promotions throw an error if no `promotion_url` is included. URL is used to confirm that the promotion is valid and can be redeemed.", +"type": "string" +}, +"redemptionRestriction": { +"description": "Optional. A restriction customers must meet before they can redeem the promotion.", +"enum": [ +"REDEMPTION_RESTRICTION_UNSPECIFIED", +"SUBSCRIBE", +"FIRST_ORDER", +"SIGNUP_FOR_EMAIL", +"SIGNUP_FOR_TEXT", +"CUSTOM" +], +"enumDescriptions": [ +"Indicates that the redemption restriction is unspecified.", +"The promotion can only be redeemed by signing up for a subscription.", +"The promotion can only be redeemed on the first order.", +"The promotion can only be redeemed by signing up for email.", +"The promotion can only be redeemed by signing up for text message alerts.", +"The promotion can only be redeemed with a custom redemption restriction. In this case, the `custom_redemption_restriction` field must be set." +], +"type": "string" +}, +"regionIdInclusion": { +"description": "Optional. A list of [regions](https://support.google.com/merchants/answer/15406457?hl=en&sjid=8815806704218720187-NC#howregionswork) where the promotion is applicable. Must be set if `audience` is set to `LOCATION`.", +"items": { +"type": "string" +}, +"type": "array" +}, +"storeApplicability": { +"description": "Optional. Whether the promotion applies to [all stores, or only specified stores](https://support.google.com/merchants/answer/13857563?sjid=17642868584668136159-NC). Local Inventory ads promotions throw an error if no store applicability is included. An `INVALID_ARGUMENT` error is thrown if `store_applicability` is set to `ALL_STORES` and `store_codes_inclusion` or `score_code_exclusion` is set to a value.", +"enum": [ +"STORE_APPLICABILITY_UNSPECIFIED", +"ALL_STORES", +"SPECIFIC_STORES" +], +"enumDescriptions": [ +"Which store codes the promotion applies to is unknown.", +"Promotion applies to all stores.", +"Promotion applies to only the specified stores." +], +"type": "string" +}, +"storeCodesExclusion": { +"description": "Optional. [Store codes to exclude](https://support.google.com/merchants/answer/13859586?ref_topic=13773355&sjid=17642868584668136159-NC) for the promotion. The store filter attributes only applies when the `store_applicability` attribute is set to [specific_stores](https://support.google.com/merchants/answer/13857563?ref_topic=13773355&sjid=17642868584668136159-NC).", +"items": { +"type": "string" +}, +"type": "array" +}, +"storeCodesInclusion": { +"description": "Optional. [Store codes to include](https://support.google.com/merchants/answer/13857470?ref_topic=13773355&sjid=17642868584668136159-NC) for the promotion. The store filter attributes only applies when the `store_applicability` attribute is set to [specific_stores](https://support.google.com/merchants/answer/13857563?ref_topic=13773355&sjid=17642868584668136159-NC). Store code (the store ID from your Business Profile) of the physical store the product is sold in. See the [Local product inventory data specification](https://support.google.com/merchants/answer/3061342) for more information.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"CustomAttribute": { +"description": "A message that represents custom attributes. Exactly one of `value` or `group_values` must not be empty.", +"id": "CustomAttribute", +"properties": { +"groupValues": { +"description": "Subattributes within this attribute group. If `group_values` is not empty, `value` must be empty.", +"items": { +"$ref": "CustomAttribute" +}, +"type": "array" +}, +"name": { +"description": "The name of the attribute.", +"type": "string" +}, +"value": { +"description": "The value of the attribute. If `value` is not empty, `group_values` must be empty.", +"type": "string" +} +}, +"type": "object" +}, +"DestinationStatus": { +"description": "The status for the specified destination.", +"id": "DestinationStatus", +"properties": { +"reportingContext": { +"description": "Output only. The name of the promotion destination.", +"enum": [ +"REPORTING_CONTEXT_ENUM_UNSPECIFIED", +"SHOPPING_ADS", +"DISCOVERY_ADS", +"DEMAND_GEN_ADS", +"DEMAND_GEN_ADS_DISCOVER_SURFACE", +"VIDEO_ADS", +"DISPLAY_ADS", +"LOCAL_INVENTORY_ADS", +"VEHICLE_INVENTORY_ADS", +"FREE_LISTINGS", +"FREE_LISTINGS_UCP_CHECKOUT", +"FREE_LOCAL_LISTINGS", +"FREE_LOCAL_VEHICLE_LISTINGS", +"YOUTUBE_AFFILIATE", +"YOUTUBE_SHOPPING", +"CLOUD_RETAIL", +"LOCAL_CLOUD_RETAIL", +"PRODUCT_REVIEWS", +"MERCHANT_REVIEWS", +"YOUTUBE_CHECKOUT" +], +"enumDeprecated": [ +false, +false, +true, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false +], +"enumDescriptions": [ +"Not specified.", +"[Shopping ads](https://support.google.com/merchants/answer/6149970).", +"Deprecated: Use `DEMAND_GEN_ADS` instead. [Discovery and Demand Gen ads](https://support.google.com/merchants/answer/13389785).", +"[Demand Gen ads](https://support.google.com/merchants/answer/13389785).", +"[Demand Gen ads on Discover surface](https://support.google.com/merchants/answer/13389785).", +"[Video ads](https://support.google.com/google-ads/answer/6340491).", +"[Display ads](https://support.google.com/merchants/answer/6069387).", +"[Local inventory ads](https://support.google.com/merchants/answer/3271956).", +"[Vehicle inventory ads](https://support.google.com/merchants/answer/11544533).", +"[Free product listings](https://support.google.com/merchants/answer/9199328).", +"[Free product listings on UCP checkout](https://developers.google.com/merchant/ucp).", +"[Free local product listings](https://support.google.com/merchants/answer/9825611).", +"[Free local vehicle listings](https://support.google.com/merchants/answer/11544533).", +"[Youtube Affiliate](https://support.google.com/youtube/answer/13376398).", +"[YouTube Shopping](https://support.google.com/merchants/answer/13478370).", +"[Cloud retail](https://cloud.google.com/solutions/retail).", +"[Local cloud retail](https://cloud.google.com/solutions/retail).", +"[Product Reviews](https://support.google.com/merchants/answer/14620732).", +"[Merchant Reviews](https://developers.google.com/merchant-review-feeds).", +"YouTube Checkout ." +], +"readOnly": true, +"type": "string" +}, +"status": { +"description": "Output only. The status for the specified destination.", +"enum": [ +"STATE_UNSPECIFIED", +"IN_REVIEW", +"REJECTED", +"LIVE", +"STOPPED", +"EXPIRED", +"PENDING" +], +"enumDescriptions": [ +"Unknown promotion state.", +"The promotion is under review.", +"The promotion is disapproved.", +"The promotion is approved and active.", +"The promotion is stopped by merchant.", +"The promotion is no longer active.", +"The promotion is not stopped, and all reviews are approved, but the active date is in the future." +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"InsertPromotionRequest": { +"description": "Request message for the `InsertPromotion` method.", +"id": "InsertPromotionRequest", +"properties": { +"dataSource": { +"description": "Required. The data source of the [promotion](https://support.google.com/merchants/answer/6396268?sjid=5155774230887277618-NC) Format: `accounts/{account}/dataSources/{datasource}`.", +"type": "string" +}, +"promotion": { +"$ref": "Promotion", +"description": "Required. The promotion to insert." +} +}, +"type": "object" +}, +"Interval": { +"description": "Represents a time interval, encoded as a Timestamp start (inclusive) and a Timestamp end (exclusive). The start must be less than or equal to the end. When the start equals the end, the interval is empty (matches no time). When both start and end are unspecified, the interval matches any time.", +"id": "Interval", +"properties": { +"endTime": { +"description": "Optional. Exclusive end of the interval. If specified, a Timestamp matching this interval will have to be before the end.", +"format": "google-datetime", +"type": "string" +}, +"startTime": { +"description": "Optional. Inclusive start of the interval. If specified, a Timestamp matching this interval will have to be the same or after the start.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"ItemLevelIssue": { +"description": "The issue associated with the promotion.", +"id": "ItemLevelIssue", +"properties": { +"applicableCountries": { +"description": "Output only. List of country codes (ISO 3166-1 alpha-2) where issue applies to the offer.", +"items": { +"type": "string" +}, +"readOnly": true, +"type": "array" +}, +"attribute": { +"description": "Output only. The attribute's name, if the issue is caused by a single attribute.", +"readOnly": true, +"type": "string" +}, +"code": { +"description": "Output only. The error code of the issue.", +"readOnly": true, +"type": "string" +}, +"description": { +"description": "Output only. A short issue description in English.", +"readOnly": true, +"type": "string" +}, +"detail": { +"description": "Output only. A detailed issue description in English.", +"readOnly": true, +"type": "string" +}, +"documentation": { +"description": "Output only. The URL of a web page to help with resolving this issue.", +"readOnly": true, +"type": "string" +}, +"reportingContext": { +"description": "Output only. The destination the issue applies to.", +"enum": [ +"REPORTING_CONTEXT_ENUM_UNSPECIFIED", +"SHOPPING_ADS", +"DISCOVERY_ADS", +"DEMAND_GEN_ADS", +"DEMAND_GEN_ADS_DISCOVER_SURFACE", +"VIDEO_ADS", +"DISPLAY_ADS", +"LOCAL_INVENTORY_ADS", +"VEHICLE_INVENTORY_ADS", +"FREE_LISTINGS", +"FREE_LISTINGS_UCP_CHECKOUT", +"FREE_LOCAL_LISTINGS", +"FREE_LOCAL_VEHICLE_LISTINGS", +"YOUTUBE_AFFILIATE", +"YOUTUBE_SHOPPING", +"CLOUD_RETAIL", +"LOCAL_CLOUD_RETAIL", +"PRODUCT_REVIEWS", +"MERCHANT_REVIEWS", +"YOUTUBE_CHECKOUT" +], +"enumDeprecated": [ +false, +false, +true, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false +], +"enumDescriptions": [ +"Not specified.", +"[Shopping ads](https://support.google.com/merchants/answer/6149970).", +"Deprecated: Use `DEMAND_GEN_ADS` instead. [Discovery and Demand Gen ads](https://support.google.com/merchants/answer/13389785).", +"[Demand Gen ads](https://support.google.com/merchants/answer/13389785).", +"[Demand Gen ads on Discover surface](https://support.google.com/merchants/answer/13389785).", +"[Video ads](https://support.google.com/google-ads/answer/6340491).", +"[Display ads](https://support.google.com/merchants/answer/6069387).", +"[Local inventory ads](https://support.google.com/merchants/answer/3271956).", +"[Vehicle inventory ads](https://support.google.com/merchants/answer/11544533).", +"[Free product listings](https://support.google.com/merchants/answer/9199328).", +"[Free product listings on UCP checkout](https://developers.google.com/merchant/ucp).", +"[Free local product listings](https://support.google.com/merchants/answer/9825611).", +"[Free local vehicle listings](https://support.google.com/merchants/answer/11544533).", +"[Youtube Affiliate](https://support.google.com/youtube/answer/13376398).", +"[YouTube Shopping](https://support.google.com/merchants/answer/13478370).", +"[Cloud retail](https://cloud.google.com/solutions/retail).", +"[Local cloud retail](https://cloud.google.com/solutions/retail).", +"[Product Reviews](https://support.google.com/merchants/answer/14620732).", +"[Merchant Reviews](https://developers.google.com/merchant-review-feeds).", +"YouTube Checkout ." +], +"readOnly": true, +"type": "string" +}, +"resolution": { +"description": "Output only. Whether the issue can be resolved by the merchant.", +"readOnly": true, +"type": "string" +}, +"severity": { +"description": "Output only. How this issue affects serving of the promotion.", +"enum": [ +"SEVERITY_UNSPECIFIED", +"NOT_IMPACTED", +"DEMOTED", +"DISAPPROVED" +], +"enumDescriptions": [ +"Not specified.", +"This issue represents a warning and does not have a direct affect on the promotion.", +"The promotion is demoted and most likely have limited performance in search results", +"Issue disapproves the promotion." +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"ListPromotionsResponse": { +"description": "Response message for the `ListPromotions` method.", +"id": "ListPromotionsResponse", +"properties": { +"nextPageToken": { +"description": "A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.", +"type": "string" +}, +"promotions": { +"description": "The processed promotions from the specified account.", +"items": { +"$ref": "Promotion" +}, +"type": "array" +} +}, +"type": "object" +}, +"Price": { +"description": "The price represented as a number and currency.", +"id": "Price", +"properties": { +"amountMicros": { +"description": "The price represented as a number in micros (1 million micros is an equivalent to one's currency standard unit, for example, 1 USD = 1000000 micros).", +"format": "int64", +"type": "string" +}, +"currencyCode": { +"description": "The currency of the price using three-letter acronyms according to [ISO 4217](http://en.wikipedia.org/wiki/ISO_4217).", +"type": "string" +} +}, +"type": "object" +}, +"ProductChange": { +"description": "The change that happened to the product including old value, new value, country code as the region code and reporting context.", +"id": "ProductChange", +"properties": { +"newValue": { +"description": "The new value of the changed resource or attribute. If empty, it means that the product was deleted. Will have one of these values : (`approved`, `pending`, `disapproved`, ``)", +"type": "string" +}, +"oldValue": { +"description": "The old value of the changed resource or attribute. If empty, it means that the product was created. Will have one of these values : (`approved`, `pending`, `disapproved`, ``)", +"type": "string" +}, +"regionCode": { +"description": "Countries that have the change (if applicable). Represented in the ISO 3166 format.", +"type": "string" +}, +"reportingContext": { +"description": "Reporting contexts that have the change (if applicable). Currently this field supports only (`SHOPPING_ADS`, `LOCAL_INVENTORY_ADS`, `YOUTUBE_SHOPPING`, `YOUTUBE_CHECKOUT`, `YOUTUBE_AFFILIATE`) from the enum value [ReportingContextEnum](/merchant/api/reference/rest/Shared.Types/ReportingContextEnum)", +"enum": [ +"REPORTING_CONTEXT_ENUM_UNSPECIFIED", +"SHOPPING_ADS", +"DISCOVERY_ADS", +"DEMAND_GEN_ADS", +"DEMAND_GEN_ADS_DISCOVER_SURFACE", +"VIDEO_ADS", +"DISPLAY_ADS", +"LOCAL_INVENTORY_ADS", +"VEHICLE_INVENTORY_ADS", +"FREE_LISTINGS", +"FREE_LISTINGS_UCP_CHECKOUT", +"FREE_LOCAL_LISTINGS", +"FREE_LOCAL_VEHICLE_LISTINGS", +"YOUTUBE_AFFILIATE", +"YOUTUBE_SHOPPING", +"CLOUD_RETAIL", +"LOCAL_CLOUD_RETAIL", +"PRODUCT_REVIEWS", +"MERCHANT_REVIEWS", +"YOUTUBE_CHECKOUT" +], +"enumDeprecated": [ +false, +false, +true, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false +], +"enumDescriptions": [ +"Not specified.", +"[Shopping ads](https://support.google.com/merchants/answer/6149970).", +"Deprecated: Use `DEMAND_GEN_ADS` instead. [Discovery and Demand Gen ads](https://support.google.com/merchants/answer/13389785).", +"[Demand Gen ads](https://support.google.com/merchants/answer/13389785).", +"[Demand Gen ads on Discover surface](https://support.google.com/merchants/answer/13389785).", +"[Video ads](https://support.google.com/google-ads/answer/6340491).", +"[Display ads](https://support.google.com/merchants/answer/6069387).", +"[Local inventory ads](https://support.google.com/merchants/answer/3271956).", +"[Vehicle inventory ads](https://support.google.com/merchants/answer/11544533).", +"[Free product listings](https://support.google.com/merchants/answer/9199328).", +"[Free product listings on UCP checkout](https://developers.google.com/merchant/ucp).", +"[Free local product listings](https://support.google.com/merchants/answer/9825611).", +"[Free local vehicle listings](https://support.google.com/merchants/answer/11544533).", +"[Youtube Affiliate](https://support.google.com/youtube/answer/13376398).", +"[YouTube Shopping](https://support.google.com/merchants/answer/13478370).", +"[Cloud retail](https://cloud.google.com/solutions/retail).", +"[Local cloud retail](https://cloud.google.com/solutions/retail).", +"[Product Reviews](https://support.google.com/merchants/answer/14620732).", +"[Merchant Reviews](https://developers.google.com/merchant-review-feeds).", +"YouTube Checkout ." +], +"type": "string" +} +}, +"type": "object" +}, +"ProductStatusChangeMessage": { +"description": "The message that the merchant will receive to notify about product status change event", +"id": "ProductStatusChangeMessage", +"properties": { +"account": { +"description": "The target account that owns the entity that changed. Format : `accounts/{merchant_id}`", +"type": "string" +}, +"attribute": { +"description": "The attribute in the resource that changed, in this case it will be always `Status`.", +"enum": [ +"ATTRIBUTE_UNSPECIFIED", +"STATUS" +], +"enumDescriptions": [ +"Unspecified attribute", +"Status of the changed entity" +], +"type": "string" +}, +"changes": { +"description": "A message to describe the change that happened to the product", +"items": { +"$ref": "ProductChange" +}, +"type": "array" +}, +"eventTime": { +"description": "The time at which the event was generated. If you want to order the notification messages you receive you should rely on this field not on the order of receiving the notifications.", +"format": "google-datetime", +"type": "string" +}, +"expirationTime": { +"description": "Optional. The product expiration time. This field will not be set if the notification is sent for a product deletion event.", +"format": "google-datetime", +"type": "string" +}, +"managingAccount": { +"description": "The account that manages the merchant's account. can be the same as merchant id if it is standalone account. Format : `accounts/{service_provider_id}`", +"type": "string" +}, +"resource": { +"description": "The product name. Format: `accounts/{account}/products/{product}`", +"type": "string" +}, +"resourceId": { +"description": "The product id.", +"type": "string" +}, +"resourceType": { +"description": "The resource that changed, in this case it will always be `Product`.", +"enum": [ +"RESOURCE_UNSPECIFIED", +"PRODUCT" +], +"enumDescriptions": [ +"Unspecified resource", +"Resource type : product" +], +"type": "string" +} +}, +"type": "object" +}, +"Promotion": { +"description": "Represents a promotion. See the following articles for more details. Required promotion input attributes to pass data validation checks are primarily defined below: * [Promotions data specification](https://support.google.com/merchants/answer/2906014) * [Local promotions data specification](https://support.google.com/merchants/answer/10146130) After inserting, updating a promotion input, it may take several minutes before the final promotion can be retrieved.", +"id": "Promotion", +"properties": { +"attributes": { +"$ref": "Attributes", +"description": "Optional. A list of promotion attributes." +}, +"contentLanguage": { +"description": "Required. The two-letter [ISO 639-1](http://en.wikipedia.org/wiki/ISO_639-1) language code for the promotion. Promotions is only for [selected languages](https://support.google.com/merchants/answer/4588281?ref_topic=6396150&sjid=18314938579342094533-NC#option3&zippy=).", +"type": "string" +}, +"customAttributes": { +"description": "Optional. A list of custom (merchant-provided) attributes. It can also be used for submitting any attribute of the data specification in its generic form (for example, `{ \"name\": \"size type\", \"value\": \"regular\" }`). This is useful for submitting attributes not explicitly exposed by the API.", +"items": { +"$ref": "CustomAttribute" +}, +"type": "array" +}, +"dataSource": { +"description": "Output only. The primary data source of the promotion.", +"readOnly": true, +"type": "string" +}, +"name": { +"description": "Identifier. The name of the promotion. Format: `accounts/{account}/promotions/{promotion}`", +"type": "string" +}, +"promotionId": { +"description": "Required. The user provided promotion ID to uniquely identify the promotion. Follow [minimum requirements](https://support.google.com/merchants/answer/7050148?ref_topic=7322920&sjid=871860036916537104-NC#minimum_requirements) to prevent promotion disapprovals.", +"type": "string" +}, +"promotionStatus": { +"$ref": "PromotionStatus", +"description": "Output only. The [status of a promotion](https://support.google.com/merchants/answer/3398326?ref_topic=7322924&sjid=5155774230887277618-NC), data validation issues, that is, information about a promotion computed asynchronously.", +"readOnly": true +}, +"redemptionChannel": { +"description": "Required. [Redemption channel](https://support.google.com/merchants/answer/13837674?ref_topic=13773355&sjid=17642868584668136159-NC) for the promotion. At least one channel is required.", +"items": { +"enum": [ +"REDEMPTION_CHANNEL_UNSPECIFIED", +"IN_STORE", +"ONLINE" +], +"enumDescriptions": [ +"Indicates that the channel is unspecified.", +"Indicates that the channel is in store. This is same as `local` channel used for `products`.", +"Indicates that the channel is online." +], +"type": "string" +}, +"type": "array" +}, +"targetCountry": { +"description": "Required. The target country used as part of the unique identifier. Represented as a [CLDR territory code](https://github.com/unicode-org/cldr/blob/latest/common/main/en.xml). Promotions are only available in selected countries, [Free Listings and Shopping ads](https://support.google.com/merchants/answer/4588460) [Local Inventory ads](https://support.google.com/merchants/answer/10146326)", +"type": "string" +}, +"versionNumber": { +"description": "Optional. Represents the existing version (freshness) of the promotion, which can be used to preserve the right order when multiple updates are done at the same time. If set, the insertion is prevented when version number is lower than the current version number of the existing promotion. Re-insertion (for example, promotion refresh after 30 days) can be performed with the current `version_number`. If the operation is prevented, the aborted exception will be thrown.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"PromotionStatus": { +"description": "The status of the promotion.", +"id": "PromotionStatus", +"properties": { +"creationDate": { +"description": "Output only. Date on which the promotion has been created in [ISO 8601](http://en.wikipedia.org/wiki/ISO_8601) format: Date, time, and offset, for example `2020-01-02T09:00:00+01:00` or `2020-01-02T09:00:00Z`", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"destinationStatuses": { +"description": "Output only. The intended destinations for the promotion.", +"items": { +"$ref": "DestinationStatus" +}, +"readOnly": true, +"type": "array" +}, +"itemLevelIssues": { +"description": "Output only. A list of issues associated with the promotion.", +"items": { +"$ref": "ItemLevelIssue" +}, +"readOnly": true, +"type": "array" +}, +"lastUpdateDate": { +"description": "Output only. Date on which the promotion status has been last updated in [ISO 8601](http://en.wikipedia.org/wiki/ISO_8601) format: Date, time, and offset, for example `2020-01-02T09:00:00+01:00` or `2020-01-02T09:00:00Z`", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +} +}, +"servicePath": "", +"title": "Merchant API", +"version": "promotions_v1beta", +"version_module": true +} \ No newline at end of file diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/merchantapi.quota_v1beta.json b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/merchantapi.quota_v1beta.json new file mode 100644 index 0000000000000000000000000000000000000000..b3b5bd091d4624488ca2cad071de16ace7e24460 --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/merchantapi.quota_v1beta.json @@ -0,0 +1,396 @@ +{ +"auth": { +"oauth2": { +"scopes": { +"https://www.googleapis.com/auth/content": { +"description": "Manage your product listings and accounts for Google Shopping" +} +} +} +}, +"basePath": "", +"baseUrl": "https://merchantapi.googleapis.com/", +"batchPath": "batch", +"canonicalName": "Merchant", +"description": "Programmatically manage your Merchant Center Accounts.", +"discoveryVersion": "v1", +"documentationLink": "https://developers.google.com/merchant/api", +"fullyEncodeReservedExpansion": true, +"icons": { +"x16": "http://www.google.com/images/icons/product/search-16.gif", +"x32": "http://www.google.com/images/icons/product/search-32.gif" +}, +"id": "merchantapi:quota_v1beta", +"kind": "discovery#restDescription", +"mtlsRootUrl": "https://merchantapi.mtls.googleapis.com/", +"name": "merchantapi", +"ownerDomain": "google.com", +"ownerName": "Google", +"parameters": { +"$.xgafv": { +"description": "V1 error format.", +"enum": [ +"1", +"2" +], +"enumDescriptions": [ +"v1 error format", +"v2 error format" +], +"location": "query", +"type": "string" +}, +"access_token": { +"description": "OAuth access token.", +"location": "query", +"type": "string" +}, +"alt": { +"default": "json", +"description": "Data format for response.", +"enum": [ +"json", +"media", +"proto" +], +"enumDescriptions": [ +"Responses with Content-Type of application/json", +"Media download with context-dependent Content-Type", +"Responses with Content-Type of application/x-protobuf" +], +"location": "query", +"type": "string" +}, +"callback": { +"description": "JSONP", +"location": "query", +"type": "string" +}, +"fields": { +"description": "Selector specifying which fields to include in a partial response.", +"location": "query", +"type": "string" +}, +"key": { +"description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", +"location": "query", +"type": "string" +}, +"oauth_token": { +"description": "OAuth 2.0 token for the current user.", +"location": "query", +"type": "string" +}, +"prettyPrint": { +"default": "true", +"description": "Returns response with indentations and line breaks.", +"location": "query", +"type": "boolean" +}, +"quotaUser": { +"description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.", +"location": "query", +"type": "string" +}, +"uploadType": { +"description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", +"location": "query", +"type": "string" +}, +"upload_protocol": { +"description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", +"location": "query", +"type": "string" +} +}, +"protocol": "rest", +"resources": { +"accounts": { +"resources": { +"quotas": { +"methods": { +"list": { +"description": "Lists the daily call quota and usage per group for your Merchant Center account.", +"flatPath": "quota/v1beta/accounts/{accountsId}/quotas", +"httpMethod": "GET", +"id": "merchantapi.accounts.quotas.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "Optional. The maximum number of quotas to return in the response, used for paging. Defaults to 500; values above 1000 will be coerced to 1000.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. Token (if provided) to retrieve the subsequent page. All other parameters must match the original call that provided the page token.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The merchant account who owns the collection of method quotas Format: accounts/{account}", +"location": "path", +"pattern": "^accounts/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "quota/v1beta/{+parent}/quotas", +"response": { +"$ref": "ListQuotaGroupsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/content" +] +} +} +} +} +} +}, +"revision": "20260223", +"rootUrl": "https://merchantapi.googleapis.com/", +"schemas": { +"ListQuotaGroupsResponse": { +"description": "Response message for the ListMethodGroups method.", +"id": "ListQuotaGroupsResponse", +"properties": { +"nextPageToken": { +"description": "A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.", +"type": "string" +}, +"quotaGroups": { +"description": "The methods, current quota usage and limits per each group. The quota is shared between all methods in the group. The groups are sorted in descending order based on quota_usage.", +"items": { +"$ref": "QuotaGroup" +}, +"type": "array" +} +}, +"type": "object" +}, +"MethodDetails": { +"description": "The method details per method in the Merchant API.", +"id": "MethodDetails", +"properties": { +"method": { +"description": "Output only. The name of the method for example `products.list`.", +"readOnly": true, +"type": "string" +}, +"path": { +"description": "Output only. The path for the method such as `products/v1/productInputs.insert`", +"readOnly": true, +"type": "string" +}, +"subapi": { +"description": "Output only. The sub-API that the method belongs to.", +"readOnly": true, +"type": "string" +}, +"version": { +"description": "Output only. The API version that the method belongs to.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"ProductChange": { +"description": "The change that happened to the product including old value, new value, country code as the region code and reporting context.", +"id": "ProductChange", +"properties": { +"newValue": { +"description": "The new value of the changed resource or attribute. If empty, it means that the product was deleted. Will have one of these values : (`approved`, `pending`, `disapproved`, ``)", +"type": "string" +}, +"oldValue": { +"description": "The old value of the changed resource or attribute. If empty, it means that the product was created. Will have one of these values : (`approved`, `pending`, `disapproved`, ``)", +"type": "string" +}, +"regionCode": { +"description": "Countries that have the change (if applicable). Represented in the ISO 3166 format.", +"type": "string" +}, +"reportingContext": { +"description": "Reporting contexts that have the change (if applicable). Currently this field supports only (`SHOPPING_ADS`, `LOCAL_INVENTORY_ADS`, `YOUTUBE_SHOPPING`, `YOUTUBE_CHECKOUT`, `YOUTUBE_AFFILIATE`) from the enum value [ReportingContextEnum](/merchant/api/reference/rest/Shared.Types/ReportingContextEnum)", +"enum": [ +"REPORTING_CONTEXT_ENUM_UNSPECIFIED", +"SHOPPING_ADS", +"DISCOVERY_ADS", +"DEMAND_GEN_ADS", +"DEMAND_GEN_ADS_DISCOVER_SURFACE", +"VIDEO_ADS", +"DISPLAY_ADS", +"LOCAL_INVENTORY_ADS", +"VEHICLE_INVENTORY_ADS", +"FREE_LISTINGS", +"FREE_LISTINGS_UCP_CHECKOUT", +"FREE_LOCAL_LISTINGS", +"FREE_LOCAL_VEHICLE_LISTINGS", +"YOUTUBE_AFFILIATE", +"YOUTUBE_SHOPPING", +"CLOUD_RETAIL", +"LOCAL_CLOUD_RETAIL", +"PRODUCT_REVIEWS", +"MERCHANT_REVIEWS", +"YOUTUBE_CHECKOUT" +], +"enumDeprecated": [ +false, +false, +true, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false +], +"enumDescriptions": [ +"Not specified.", +"[Shopping ads](https://support.google.com/merchants/answer/6149970).", +"Deprecated: Use `DEMAND_GEN_ADS` instead. [Discovery and Demand Gen ads](https://support.google.com/merchants/answer/13389785).", +"[Demand Gen ads](https://support.google.com/merchants/answer/13389785).", +"[Demand Gen ads on Discover surface](https://support.google.com/merchants/answer/13389785).", +"[Video ads](https://support.google.com/google-ads/answer/6340491).", +"[Display ads](https://support.google.com/merchants/answer/6069387).", +"[Local inventory ads](https://support.google.com/merchants/answer/3271956).", +"[Vehicle inventory ads](https://support.google.com/merchants/answer/11544533).", +"[Free product listings](https://support.google.com/merchants/answer/9199328).", +"[Free product listings on UCP checkout](https://developers.google.com/merchant/ucp).", +"[Free local product listings](https://support.google.com/merchants/answer/9825611).", +"[Free local vehicle listings](https://support.google.com/merchants/answer/11544533).", +"[Youtube Affiliate](https://support.google.com/youtube/answer/13376398).", +"[YouTube Shopping](https://support.google.com/merchants/answer/13478370).", +"[Cloud retail](https://cloud.google.com/solutions/retail).", +"[Local cloud retail](https://cloud.google.com/solutions/retail).", +"[Product Reviews](https://support.google.com/merchants/answer/14620732).", +"[Merchant Reviews](https://developers.google.com/merchant-review-feeds).", +"YouTube Checkout ." +], +"type": "string" +} +}, +"type": "object" +}, +"ProductStatusChangeMessage": { +"description": "The message that the merchant will receive to notify about product status change event", +"id": "ProductStatusChangeMessage", +"properties": { +"account": { +"description": "The target account that owns the entity that changed. Format : `accounts/{merchant_id}`", +"type": "string" +}, +"attribute": { +"description": "The attribute in the resource that changed, in this case it will be always `Status`.", +"enum": [ +"ATTRIBUTE_UNSPECIFIED", +"STATUS" +], +"enumDescriptions": [ +"Unspecified attribute", +"Status of the changed entity" +], +"type": "string" +}, +"changes": { +"description": "A message to describe the change that happened to the product", +"items": { +"$ref": "ProductChange" +}, +"type": "array" +}, +"eventTime": { +"description": "The time at which the event was generated. If you want to order the notification messages you receive you should rely on this field not on the order of receiving the notifications.", +"format": "google-datetime", +"type": "string" +}, +"expirationTime": { +"description": "Optional. The product expiration time. This field will not be set if the notification is sent for a product deletion event.", +"format": "google-datetime", +"type": "string" +}, +"managingAccount": { +"description": "The account that manages the merchant's account. can be the same as merchant id if it is standalone account. Format : `accounts/{service_provider_id}`", +"type": "string" +}, +"resource": { +"description": "The product name. Format: `accounts/{account}/products/{product}`", +"type": "string" +}, +"resourceId": { +"description": "The product id.", +"type": "string" +}, +"resourceType": { +"description": "The resource that changed, in this case it will always be `Product`.", +"enum": [ +"RESOURCE_UNSPECIFIED", +"PRODUCT" +], +"enumDescriptions": [ +"Unspecified resource", +"Resource type : product" +], +"type": "string" +} +}, +"type": "object" +}, +"QuotaGroup": { +"description": "The group information for methods in the Merchant API. The quota is shared between all methods in the group. Even if none of the methods within the group have usage the information for the group is returned.", +"id": "QuotaGroup", +"properties": { +"methodDetails": { +"description": "Output only. List of all methods group quota applies to.", +"items": { +"$ref": "MethodDetails" +}, +"readOnly": true, +"type": "array" +}, +"name": { +"description": "Identifier. The resource name of the quota group. Format: accounts/{account}/quotas/{group} Note: There is no guarantee on the format of {group}", +"type": "string" +}, +"quotaLimit": { +"description": "Output only. The maximum number of calls allowed per day for the group.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"quotaMinuteLimit": { +"description": "Output only. The maximum number of calls allowed per minute for the group.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"quotaUsage": { +"description": "Output only. The current quota usage, meaning the number of calls already made on a given day to the methods in the group. The daily quota limits reset at at 12:00 PM midday UTC.", +"format": "int64", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +} +}, +"servicePath": "", +"title": "Merchant API", +"version": "quota_v1beta", +"version_module": true +} \ No newline at end of file diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/merchantapi.reports_v1.json b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/merchantapi.reports_v1.json new file mode 100644 index 0000000000000000000000000000000000000000..052ecc5044331e4c1897548340293fc2638b4d4f --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/merchantapi.reports_v1.json @@ -0,0 +1,1731 @@ +{ +"auth": { +"oauth2": { +"scopes": { +"https://www.googleapis.com/auth/content": { +"description": "Manage your product listings and accounts for Google Shopping" +} +} +} +}, +"basePath": "", +"baseUrl": "https://merchantapi.googleapis.com/", +"batchPath": "batch", +"canonicalName": "Merchant", +"description": "Programmatically manage your Merchant Center Accounts.", +"discoveryVersion": "v1", +"documentationLink": "https://developers.google.com/merchant/api", +"fullyEncodeReservedExpansion": true, +"icons": { +"x16": "http://www.google.com/images/icons/product/search-16.gif", +"x32": "http://www.google.com/images/icons/product/search-32.gif" +}, +"id": "merchantapi:reports_v1", +"kind": "discovery#restDescription", +"mtlsRootUrl": "https://merchantapi.mtls.googleapis.com/", +"name": "merchantapi", +"ownerDomain": "google.com", +"ownerName": "Google", +"parameters": { +"$.xgafv": { +"description": "V1 error format.", +"enum": [ +"1", +"2" +], +"enumDescriptions": [ +"v1 error format", +"v2 error format" +], +"location": "query", +"type": "string" +}, +"access_token": { +"description": "OAuth access token.", +"location": "query", +"type": "string" +}, +"alt": { +"default": "json", +"description": "Data format for response.", +"enum": [ +"json", +"media", +"proto" +], +"enumDescriptions": [ +"Responses with Content-Type of application/json", +"Media download with context-dependent Content-Type", +"Responses with Content-Type of application/x-protobuf" +], +"location": "query", +"type": "string" +}, +"callback": { +"description": "JSONP", +"location": "query", +"type": "string" +}, +"fields": { +"description": "Selector specifying which fields to include in a partial response.", +"location": "query", +"type": "string" +}, +"key": { +"description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", +"location": "query", +"type": "string" +}, +"oauth_token": { +"description": "OAuth 2.0 token for the current user.", +"location": "query", +"type": "string" +}, +"prettyPrint": { +"default": "true", +"description": "Returns response with indentations and line breaks.", +"location": "query", +"type": "boolean" +}, +"quotaUser": { +"description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.", +"location": "query", +"type": "string" +}, +"uploadType": { +"description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", +"location": "query", +"type": "string" +}, +"upload_protocol": { +"description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", +"location": "query", +"type": "string" +} +}, +"protocol": "rest", +"resources": { +"accounts": { +"resources": { +"reports": { +"methods": { +"search": { +"description": "Retrieves a report defined by a search query. The response might contain fewer rows than specified by `page_size`. Rely on `next_page_token` to determine if there are more rows to be requested.", +"flatPath": "reports/v1/accounts/{accountsId}/reports:search", +"httpMethod": "POST", +"id": "merchantapi.accounts.reports.search", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. Id of the account making the call. Must be a standalone account or an MCA subaccount. Format: accounts/{account}", +"location": "path", +"pattern": "^accounts/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "reports/v1/{+parent}/reports:search", +"request": { +"$ref": "SearchRequest" +}, +"response": { +"$ref": "SearchResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/content" +] +} +} +} +} +} +}, +"revision": "20260223", +"rootUrl": "https://merchantapi.googleapis.com/", +"schemas": { +"BestSellersBrandView": { +"description": "Fields available for query in `best_sellers_brand_view` table. [Best sellers](https://support.google.com/merchants/answer/9488679) report with top brands. Values are only set for fields requested explicitly in the request's search query.", +"id": "BestSellersBrandView", +"properties": { +"brand": { +"description": "Name of the brand.", +"type": "string" +}, +"previousRank": { +"description": "Popularity rank in the previous week or month.", +"format": "int64", +"type": "string" +}, +"previousRelativeDemand": { +"description": "Estimated demand in relation to the brand with the highest popularity rank in the same category and country in the previous week or month.", +"enum": [ +"RELATIVE_DEMAND_ENUM_UNSPECIFIED", +"VERY_LOW", +"LOW", +"MEDIUM", +"HIGH", +"VERY_HIGH" +], +"enumDescriptions": [ +"Not specified.", +"Demand is 0-5% of the demand of the highest ranked product cluster or brand.", +"Demand is 6-10% of the demand of the highest ranked product cluster or brand.", +"Demand is 11-20% of the demand of the highest ranked product cluster or brand.", +"Demand is 21-50% of the demand of the highest ranked product cluster or brand.", +"Demand is 51-100% of the demand of the highest ranked product cluster or brand." +], +"type": "string" +}, +"rank": { +"description": "Popularity of the brand on Ads and organic surfaces, in the selected category and country, based on the estimated number of units sold.", +"format": "int64", +"type": "string" +}, +"relativeDemand": { +"description": "Estimated demand in relation to the brand with the highest popularity rank in the same category and country.", +"enum": [ +"RELATIVE_DEMAND_ENUM_UNSPECIFIED", +"VERY_LOW", +"LOW", +"MEDIUM", +"HIGH", +"VERY_HIGH" +], +"enumDescriptions": [ +"Not specified.", +"Demand is 0-5% of the demand of the highest ranked product cluster or brand.", +"Demand is 6-10% of the demand of the highest ranked product cluster or brand.", +"Demand is 11-20% of the demand of the highest ranked product cluster or brand.", +"Demand is 21-50% of the demand of the highest ranked product cluster or brand.", +"Demand is 51-100% of the demand of the highest ranked product cluster or brand." +], +"type": "string" +}, +"relativeDemandChange": { +"description": "Change in the estimated demand. Whether it rose, sank or remained flat.", +"enum": [ +"RELATIVE_DEMAND_CHANGE_TYPE_ENUM_UNSPECIFIED", +"SINKER", +"FLAT", +"RISER" +], +"enumDescriptions": [ +"Not specified.", +"Relative demand is lower than the previous time period.", +"Relative demand is equal to the previous time period.", +"Relative demand is higher than the previous time period." +], +"type": "string" +}, +"reportCategoryId": { +"description": "Google product category ID to calculate the ranking for, represented in [Google's product taxonomy](https://support.google.com/merchants/answer/6324436). Required in the `SELECT` clause. If a `WHERE` condition on `report_category_id` is not specified in the query, rankings for all top-level categories are returned.", +"format": "int64", +"type": "string" +}, +"reportCountryCode": { +"description": "Country where the ranking is calculated. Represented in the ISO 3166 format. Required in the `SELECT` clause. Condition on `report_country_code` is required in the `WHERE` clause.", +"type": "string" +}, +"reportDate": { +"$ref": "Date", +"description": "Report date. The value of this field can only be one of the following: * The first day of the week (Monday) for weekly reports, * The first day of the month for monthly reports. Required in the `SELECT` clause. If a `WHERE` condition on `report_date` is not specified in the query, the latest available weekly or monthly report is returned." +}, +"reportGranularity": { +"description": "Granularity of the report. The ranking can be done over a week or a month timeframe. Required in the `SELECT` clause. Condition on `report_granularity` is required in the `WHERE` clause.", +"enum": [ +"REPORT_GRANULARITY_ENUM_UNSPECIFIED", +"WEEKLY", +"MONTHLY" +], +"enumDescriptions": [ +"Not specified.", +"Report is computed over a week timeframe.", +"Report is computed over a month timeframe." +], +"type": "string" +} +}, +"type": "object" +}, +"BestSellersProductClusterView": { +"description": "Fields available for query in `best_sellers_product_cluster_view` table. [Best sellers](https://support.google.com/merchants/answer/9488679) report with top product clusters. A product cluster is a grouping for different offers and variants that represent the same product, for example, Google Pixel 7. Values are only set for fields requested explicitly in the request's search query.", +"id": "BestSellersProductClusterView", +"properties": { +"brand": { +"description": "Brand of the product cluster.", +"type": "string" +}, +"brandInventoryStatus": { +"description": "Whether there is at least one product of the brand currently `IN_STOCK` in your product data source in at least one of the countries, all products are `OUT_OF_STOCK` in your product data source in all countries, or `NOT_IN_INVENTORY`. The field doesn't take the Best sellers report country filter into account.", +"enum": [ +"INVENTORY_STATUS_UNSPECIFIED", +"IN_STOCK", +"OUT_OF_STOCK", +"NOT_IN_INVENTORY" +], +"enumDescriptions": [ +"Not specified.", +"You have a product for this product cluster or brand in stock.", +"You have a product for this product cluster or brand in inventory but it is currently out of stock.", +"You do not have a product for this product cluster or brand in inventory." +], +"type": "string" +}, +"categoryL1": { +"description": "Product category (1st level) of the product cluster, represented in [Google's product taxonomy](https://support.google.com/merchants/answer/6324436).", +"type": "string" +}, +"categoryL2": { +"description": "Product category (2nd level) of the product cluster, represented in [Google's product taxonomy](https://support.google.com/merchants/answer/6324436).", +"type": "string" +}, +"categoryL3": { +"description": "Product category (3rd level) of the product cluster, represented in [Google's product taxonomy](https://support.google.com/merchants/answer/6324436).", +"type": "string" +}, +"categoryL4": { +"description": "Product category (4th level) of the product cluster, represented in [Google's product taxonomy](https://support.google.com/merchants/answer/6324436).", +"type": "string" +}, +"categoryL5": { +"description": "Product category (5th level) of the product cluster, represented in [Google's product taxonomy](https://support.google.com/merchants/answer/6324436).", +"type": "string" +}, +"inventoryStatus": { +"description": "Whether the product cluster is `IN_STOCK` in your product data source in at least one of the countries, `OUT_OF_STOCK` in your product data source in all countries, or `NOT_IN_INVENTORY` at all. The field doesn't take the Best sellers report country filter into account.", +"enum": [ +"INVENTORY_STATUS_UNSPECIFIED", +"IN_STOCK", +"OUT_OF_STOCK", +"NOT_IN_INVENTORY" +], +"enumDescriptions": [ +"Not specified.", +"You have a product for this product cluster or brand in stock.", +"You have a product for this product cluster or brand in inventory but it is currently out of stock.", +"You do not have a product for this product cluster or brand in inventory." +], +"type": "string" +}, +"previousRank": { +"description": "Popularity rank in the previous week or month.", +"format": "int64", +"type": "string" +}, +"previousRelativeDemand": { +"description": "Estimated demand in relation to the product cluster with the highest popularity rank in the same category and country in the previous week or month.", +"enum": [ +"RELATIVE_DEMAND_ENUM_UNSPECIFIED", +"VERY_LOW", +"LOW", +"MEDIUM", +"HIGH", +"VERY_HIGH" +], +"enumDescriptions": [ +"Not specified.", +"Demand is 0-5% of the demand of the highest ranked product cluster or brand.", +"Demand is 6-10% of the demand of the highest ranked product cluster or brand.", +"Demand is 11-20% of the demand of the highest ranked product cluster or brand.", +"Demand is 21-50% of the demand of the highest ranked product cluster or brand.", +"Demand is 51-100% of the demand of the highest ranked product cluster or brand." +], +"type": "string" +}, +"rank": { +"description": "Popularity of the product cluster on Ads and organic surfaces, in the selected category and country, based on the estimated number of units sold.", +"format": "int64", +"type": "string" +}, +"relativeDemand": { +"description": "Estimated demand in relation to the product cluster with the highest popularity rank in the same category and country.", +"enum": [ +"RELATIVE_DEMAND_ENUM_UNSPECIFIED", +"VERY_LOW", +"LOW", +"MEDIUM", +"HIGH", +"VERY_HIGH" +], +"enumDescriptions": [ +"Not specified.", +"Demand is 0-5% of the demand of the highest ranked product cluster or brand.", +"Demand is 6-10% of the demand of the highest ranked product cluster or brand.", +"Demand is 11-20% of the demand of the highest ranked product cluster or brand.", +"Demand is 21-50% of the demand of the highest ranked product cluster or brand.", +"Demand is 51-100% of the demand of the highest ranked product cluster or brand." +], +"type": "string" +}, +"relativeDemandChange": { +"description": "Change in the estimated demand. Whether it rose, sank or remained flat.", +"enum": [ +"RELATIVE_DEMAND_CHANGE_TYPE_ENUM_UNSPECIFIED", +"SINKER", +"FLAT", +"RISER" +], +"enumDescriptions": [ +"Not specified.", +"Relative demand is lower than the previous time period.", +"Relative demand is equal to the previous time period.", +"Relative demand is higher than the previous time period." +], +"type": "string" +}, +"reportCategoryId": { +"description": "Google product category ID to calculate the ranking for, represented in [Google's product taxonomy](https://support.google.com/merchants/answer/6324436). Required in the `SELECT` clause. If a `WHERE` condition on `report_category_id` is not specified in the query, rankings for all top-level categories are returned.", +"format": "int64", +"type": "string" +}, +"reportCountryCode": { +"description": "Country where the ranking is calculated. Represented in the ISO 3166 format. Required in the `SELECT` clause. Condition on `report_country_code` is required in the `WHERE` clause.", +"type": "string" +}, +"reportDate": { +"$ref": "Date", +"description": "Report date. The value of this field can only be one of the following: * The first day of the week (Monday) for weekly reports, * The first day of the month for monthly reports. Required in the `SELECT` clause. If a `WHERE` condition on `report_date` is not specified in the query, the latest available weekly or monthly report is returned." +}, +"reportGranularity": { +"description": "Granularity of the report. The ranking can be done over a week or a month timeframe. Required in the `SELECT` clause. Condition on `report_granularity` is required in the `WHERE` clause.", +"enum": [ +"REPORT_GRANULARITY_ENUM_UNSPECIFIED", +"WEEKLY", +"MONTHLY" +], +"enumDescriptions": [ +"Not specified.", +"Report is computed over a week timeframe.", +"Report is computed over a month timeframe." +], +"type": "string" +}, +"title": { +"description": "Title of the product cluster.", +"type": "string" +}, +"variantGtins": { +"description": "GTINs of example variants of the product cluster.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"CompetitiveVisibilityBenchmarkView": { +"description": "Fields available for query in `competitive_visibility_benchmark_view` table. [Competitive visibility](https://support.google.com/merchants/answer/11366442) report with the category benchmark. Values are only set for fields requested explicitly in the request's search query.", +"id": "CompetitiveVisibilityBenchmarkView", +"properties": { +"categoryBenchmarkVisibilityTrend": { +"description": "Change in visibility based on impressions with respect to the start of the selected time range (or first day with non-zero impressions) for a combined set of merchants with highest visibility approximating the market. Cannot be filtered on in the 'WHERE' clause.", +"format": "double", +"type": "number" +}, +"date": { +"$ref": "Date", +"description": "Date of this row. Required in the `SELECT` clause. A condition on `date` is required in the `WHERE` clause." +}, +"reportCategoryId": { +"description": "Google product category ID to calculate the report for, represented in [Google's product taxonomy](https://support.google.com/merchants/answer/6324436). Required in the `SELECT` clause. A condition on `report_category_id` is required in the `WHERE` clause.", +"format": "int64", +"type": "string" +}, +"reportCountryCode": { +"description": "Country where impressions appeared. Required in the `SELECT` clause. A condition on `report_country_code` is required in the `WHERE` clause.", +"type": "string" +}, +"trafficSource": { +"description": "Traffic source of impressions. Required in the `SELECT` clause.", +"enum": [ +"TRAFFIC_SOURCE_ENUM_UNSPECIFIED", +"ORGANIC", +"ADS", +"ALL" +], +"enumDescriptions": [ +"Not specified.", +"Organic traffic.", +"Traffic from ads.", +"Organic and ads traffic." +], +"type": "string" +}, +"yourDomainVisibilityTrend": { +"description": "Change in visibility based on impressions for your domain with respect to the start of the selected time range (or first day with non-zero impressions). Cannot be filtered on in the 'WHERE' clause.", +"format": "double", +"type": "number" +} +}, +"type": "object" +}, +"CompetitiveVisibilityCompetitorView": { +"description": "Fields available for query in `competitive_visibility_competitor_view` table. [Competitive visibility](https://support.google.com/merchants/answer/11366442) report with businesses with similar visibility. Values are only set for fields requested explicitly in the request's search query.", +"id": "CompetitiveVisibilityCompetitorView", +"properties": { +"adsOrganicRatio": { +"description": "[Ads / organic ratio] (https://support.google.com/merchants/answer/11366442#zippy=%2Cads-free-ratio) shows how often the domain receives impressions from Shopping ads compared to organic traffic. The number is rounded and bucketed. Cannot be filtered on in the 'WHERE' clause.", +"format": "double", +"type": "number" +}, +"date": { +"$ref": "Date", +"description": "Date of this row. A condition on `date` is required in the `WHERE` clause." +}, +"domain": { +"description": "Domain of your competitor or your domain, if 'is_your_domain' is true. Required in the `SELECT` clause. Cannot be filtered on in the 'WHERE' clause.", +"type": "string" +}, +"higherPositionRate": { +"description": "[Higher position rate] (https://support.google.com/merchants/answer/11366442#zippy=%2Chigher-position-rate) shows how often a competitor\u2019s offer got placed in a higher position on the page than your offer. Cannot be filtered on in the 'WHERE' clause.", +"format": "double", +"type": "number" +}, +"isYourDomain": { +"description": "True if this row contains data for your domain. Cannot be filtered on in the 'WHERE' clause.", +"type": "boolean" +}, +"pageOverlapRate": { +"description": "[Page overlap rate] (https://support.google.com/merchants/answer/11366442#zippy=%2Cpage-overlap-rate) shows how frequently competing retailers\u2019 offers are shown together with your offers on the same page. Cannot be filtered on in the 'WHERE' clause.", +"format": "double", +"type": "number" +}, +"rank": { +"description": "Position of the domain in the similar businesses ranking for the selected keys (`date`, `report_category_id`, `report_country_code`, `traffic_source`) based on impressions. 1 is the highest. Cannot be filtered on in the 'WHERE' clause.", +"format": "int64", +"type": "string" +}, +"relativeVisibility": { +"description": "[Relative visibility] (https://support.google.com/merchants/answer/11366442#zippy=%2Crelative-visibility) shows how often your competitors\u2019 offers are shown compared to your offers. In other words, this is the number of displayed impressions of a competitor retailer divided by the number of your displayed impressions during a selected time range for a selected product category and country. Cannot be filtered on in the 'WHERE' clause.", +"format": "double", +"type": "number" +}, +"reportCategoryId": { +"description": "Google product category ID to calculate the report for, represented in [Google's product taxonomy](https://support.google.com/merchants/answer/6324436). Required in the `SELECT` clause. A condition on `report_category_id` is required in the `WHERE` clause.", +"format": "int64", +"type": "string" +}, +"reportCountryCode": { +"description": "Country where impressions appeared. Required in the `SELECT` clause. A condition on `report_country_code` is required in the `WHERE` clause.", +"type": "string" +}, +"trafficSource": { +"description": "Traffic source of impressions. Required in the `SELECT` clause.", +"enum": [ +"TRAFFIC_SOURCE_ENUM_UNSPECIFIED", +"ORGANIC", +"ADS", +"ALL" +], +"enumDescriptions": [ +"Not specified.", +"Organic traffic.", +"Traffic from ads.", +"Organic and ads traffic." +], +"type": "string" +} +}, +"type": "object" +}, +"CompetitiveVisibilityTopMerchantView": { +"description": "Fields available for query in `competitive_visibility_top_merchant_view` table. [Competitive visibility](https://support.google.com/merchants/answer/11366442) report with business with highest visibility. Values are only set for fields requested explicitly in the request's search query.", +"id": "CompetitiveVisibilityTopMerchantView", +"properties": { +"adsOrganicRatio": { +"description": "[Ads / organic ratio] (https://support.google.com/merchants/answer/11366442#zippy=%2Cads-free-ratio) shows how often the domain receives impressions from Shopping ads compared to organic traffic. The number is rounded and bucketed. Cannot be filtered on in the 'WHERE' clause.", +"format": "double", +"type": "number" +}, +"date": { +"$ref": "Date", +"description": "Date of this row. Cannot be selected in the `SELECT` clause. A condition on `date` is required in the `WHERE` clause." +}, +"domain": { +"description": "Domain of your competitor or your domain, if 'is_your_domain' is true. Required in the `SELECT` clause. Cannot be filtered on in the 'WHERE' clause.", +"type": "string" +}, +"higherPositionRate": { +"description": "[Higher position rate] (https://support.google.com/merchants/answer/11366442#zippy=%2Chigher-position-rate) shows how often a competitor\u2019s offer got placed in a higher position on the page than your offer. Cannot be filtered on in the 'WHERE' clause.", +"format": "double", +"type": "number" +}, +"isYourDomain": { +"description": "True if this row contains data for your domain. Cannot be filtered on in the 'WHERE' clause.", +"type": "boolean" +}, +"pageOverlapRate": { +"description": "[Page overlap rate] (https://support.google.com/merchants/answer/11366442#zippy=%2Cpage-overlap-rate) shows how frequently competing retailers\u2019 offers are shown together with your offers on the same page. Cannot be filtered on in the 'WHERE' clause.", +"format": "double", +"type": "number" +}, +"rank": { +"description": "Position of the domain in the top merchants ranking for the selected keys (`date`, `report_category_id`, `report_country_code`, `traffic_source`) based on impressions. 1 is the highest. Cannot be filtered on in the 'WHERE' clause.", +"format": "int64", +"type": "string" +}, +"reportCategoryId": { +"description": "Google product category ID to calculate the report for, represented in [Google's product taxonomy](https://support.google.com/merchants/answer/6324436). Required in the `SELECT` clause. A condition on `report_category_id` is required in the `WHERE` clause.", +"format": "int64", +"type": "string" +}, +"reportCountryCode": { +"description": "Country where impressions appeared. Required in the `SELECT` clause. A condition on `report_country_code` is required in the `WHERE` clause.", +"type": "string" +}, +"trafficSource": { +"description": "Traffic source of impressions. Required in the `SELECT` clause.", +"enum": [ +"TRAFFIC_SOURCE_ENUM_UNSPECIFIED", +"ORGANIC", +"ADS", +"ALL" +], +"enumDescriptions": [ +"Not specified.", +"Organic traffic.", +"Traffic from ads.", +"Organic and ads traffic." +], +"type": "string" +} +}, +"type": "object" +}, +"Date": { +"description": "Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following: * A full date, with non-zero year, month, and day values. * A month and day, with a zero year (for example, an anniversary). * A year on its own, with a zero month and a zero day. * A year and month, with a zero day (for example, a credit card expiration date). Related types: * google.type.TimeOfDay * google.type.DateTime * google.protobuf.Timestamp", +"id": "Date", +"properties": { +"day": { +"description": "Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn't significant.", +"format": "int32", +"type": "integer" +}, +"month": { +"description": "Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.", +"format": "int32", +"type": "integer" +}, +"year": { +"description": "Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"IssueSeverityPerReportingContext": { +"description": "Issue severity per reporting context.", +"id": "IssueSeverityPerReportingContext", +"properties": { +"demotedCountries": { +"description": "List of demoted countries in the reporting context, represented in ISO 3166 format.", +"items": { +"type": "string" +}, +"type": "array" +}, +"disapprovedCountries": { +"description": "List of disapproved countries in the reporting context, represented in ISO 3166 format.", +"items": { +"type": "string" +}, +"type": "array" +}, +"reportingContext": { +"description": "Reporting context the issue applies to.", +"enum": [ +"REPORTING_CONTEXT_ENUM_UNSPECIFIED", +"SHOPPING_ADS", +"DISCOVERY_ADS", +"DEMAND_GEN_ADS", +"DEMAND_GEN_ADS_DISCOVER_SURFACE", +"VIDEO_ADS", +"DISPLAY_ADS", +"LOCAL_INVENTORY_ADS", +"VEHICLE_INVENTORY_ADS", +"FREE_LISTINGS", +"FREE_LISTINGS_UCP_CHECKOUT", +"FREE_LOCAL_LISTINGS", +"FREE_LOCAL_VEHICLE_LISTINGS", +"YOUTUBE_AFFILIATE", +"YOUTUBE_SHOPPING", +"CLOUD_RETAIL", +"LOCAL_CLOUD_RETAIL", +"PRODUCT_REVIEWS", +"MERCHANT_REVIEWS", +"YOUTUBE_CHECKOUT" +], +"enumDeprecated": [ +false, +false, +true, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false +], +"enumDescriptions": [ +"Not specified.", +"[Shopping ads](https://support.google.com/merchants/answer/6149970).", +"Deprecated: Use `DEMAND_GEN_ADS` instead. [Discovery and Demand Gen ads](https://support.google.com/merchants/answer/13389785).", +"[Demand Gen ads](https://support.google.com/merchants/answer/13389785).", +"[Demand Gen ads on Discover surface](https://support.google.com/merchants/answer/13389785).", +"[Video ads](https://support.google.com/google-ads/answer/6340491).", +"[Display ads](https://support.google.com/merchants/answer/6069387).", +"[Local inventory ads](https://support.google.com/merchants/answer/3271956).", +"[Vehicle inventory ads](https://support.google.com/merchants/answer/11544533).", +"[Free product listings](https://support.google.com/merchants/answer/9199328).", +"[Free product listings on UCP checkout](https://developers.google.com/merchant/ucp).", +"[Free local product listings](https://support.google.com/merchants/answer/9825611).", +"[Free local vehicle listings](https://support.google.com/merchants/answer/11544533).", +"[Youtube Affiliate](https://support.google.com/youtube/answer/13376398).", +"[YouTube Shopping](https://support.google.com/merchants/answer/13478370).", +"[Cloud retail](https://cloud.google.com/solutions/retail).", +"[Local cloud retail](https://cloud.google.com/solutions/retail).", +"[Product Reviews](https://support.google.com/merchants/answer/14620732).", +"[Merchant Reviews](https://developers.google.com/merchant-review-feeds).", +"YouTube Checkout ." +], +"type": "string" +} +}, +"type": "object" +}, +"ItemIssue": { +"description": "Item issue associated with the product.", +"id": "ItemIssue", +"properties": { +"resolution": { +"description": "Item issue resolution.", +"enum": [ +"ITEM_ISSUE_RESOLUTION_UNSPECIFIED", +"MERCHANT_ACTION", +"PENDING_PROCESSING" +], +"enumDescriptions": [ +"Not specified.", +"The merchant has to fix the issue.", +"The issue will be resolved automatically (for example, image crawl) or through a Google review. No merchant action is required now. Resolution might lead to another issue (for example, if crawl fails)." +], +"type": "string" +}, +"severity": { +"$ref": "ItemIssueSeverity", +"description": "Item issue severity." +}, +"type": { +"$ref": "ItemIssueType", +"description": "Item issue type." +} +}, +"type": "object" +}, +"ItemIssueSeverity": { +"description": "How the issue affects the serving of the product.", +"id": "ItemIssueSeverity", +"properties": { +"aggregatedSeverity": { +"description": "Aggregated severity of the issue for all reporting contexts it affects. Reporting contexts included in the computation of the aggregated severity can be restricted using a filter on the `reporting_context` field. **This field can be used for filtering the results.**", +"enum": [ +"AGGREGATED_ISSUE_SEVERITY_UNSPECIFIED", +"DISAPPROVED", +"DEMOTED", +"PENDING" +], +"enumDescriptions": [ +"Not specified.", +"Issue disapproves the product in at least one reporting context.", +"Issue demotes the product in all reporting contexts it affects.", +"Issue resolution is `PENDING_PROCESSING`." +], +"type": "string" +}, +"severityPerReportingContext": { +"description": "Issue severity per reporting context. Reporting contexts included in this list can be restricted using a filter on the `reporting_context` field.", +"items": { +"$ref": "IssueSeverityPerReportingContext" +}, +"type": "array" +} +}, +"type": "object" +}, +"ItemIssueType": { +"description": "Issue type.", +"id": "ItemIssueType", +"properties": { +"canonicalAttribute": { +"description": "Canonical attribute name for attribute-specific issues.", +"type": "string" +}, +"code": { +"description": "Error code of the issue, equivalent to the `code` of [Product issues](https://developers.google.com/shopping-content/guides/product-issues).", +"type": "string" +} +}, +"type": "object" +}, +"NonProductPerformanceView": { +"description": "Fields available for query in `non_product_performance_view` table. Performance data on images and online store links leading to your non-product pages. This includes performance metrics (for example, `clicks`) and dimensions according to which performance metrics are segmented (for example, `date`). Segment fields cannot be selected in queries without also selecting at least one metric field. Values are only set for fields requested explicitly in the request's search query.", +"id": "NonProductPerformanceView", +"properties": { +"clickThroughRate": { +"description": "Click-through rate - the number of clicks (`clicks`) divided by the number of impressions (`impressions`) of images and online store links leading to your non-product pages. Metric.", +"format": "double", +"type": "number" +}, +"clicks": { +"description": "Number of clicks on images and online store links leading to your non-product pages. Metric.", +"format": "int64", +"type": "string" +}, +"date": { +"$ref": "Date", +"description": "Date in the merchant timezone to which metrics apply. Segment. Condition on `date` is required in the `WHERE` clause." +}, +"impressions": { +"description": "Number of times images and online store links leading to your non-product pages were shown. Metric.", +"format": "int64", +"type": "string" +}, +"week": { +"$ref": "Date", +"description": "First day of the week (Monday) of the metrics date in the merchant timezone. Segment." +} +}, +"type": "object" +}, +"Price": { +"description": "The price represented as a number and currency.", +"id": "Price", +"properties": { +"amountMicros": { +"description": "The price represented as a number in micros (1 million micros is an equivalent to one's currency standard unit, for example, 1 USD = 1000000 micros).", +"format": "int64", +"type": "string" +}, +"currencyCode": { +"description": "The currency of the price using three-letter acronyms according to [ISO 4217](http://en.wikipedia.org/wiki/ISO_4217).", +"type": "string" +} +}, +"type": "object" +}, +"PriceCompetitivenessProductView": { +"description": "Fields available for query in `price_competitiveness_product_view` table. [Price competitiveness](https://support.google.com/merchants/answer/9626903) report. Values are only set for fields requested explicitly in the request's search query.", +"id": "PriceCompetitivenessProductView", +"properties": { +"benchmarkPrice": { +"$ref": "Price", +"description": "Latest available price benchmark for the product's catalog in the benchmark country." +}, +"brand": { +"description": "Brand of the product.", +"type": "string" +}, +"categoryL1": { +"description": "Product category (1st level) in [Google's product taxonomy](https://support.google.com/merchants/answer/6324436).", +"type": "string" +}, +"categoryL2": { +"description": "Product category (2nd level) in [Google's product taxonomy](https://support.google.com/merchants/answer/6324436).", +"type": "string" +}, +"categoryL3": { +"description": "Product category (3rd level) in [Google's product taxonomy](https://support.google.com/merchants/answer/6324436).", +"type": "string" +}, +"categoryL4": { +"description": "Product category (4th level) in [Google's product taxonomy](https://support.google.com/merchants/answer/6324436).", +"type": "string" +}, +"categoryL5": { +"description": "Product category (5th level) in [Google's product taxonomy](https://support.google.com/merchants/answer/6324436).", +"type": "string" +}, +"id": { +"description": "REST ID of the product, in the form of `channel~languageCode~feedLabel~offerId`. Can be used to join data with the `product_view` table. Required in the `SELECT` clause.", +"type": "string" +}, +"offerId": { +"description": "Merchant-provided id of the product.", +"type": "string" +}, +"price": { +"$ref": "Price", +"description": "Current price of the product." +}, +"productTypeL1": { +"description": "Product type (1st level) in merchant's own [product taxonomy](https://support.google.com/merchants/answer/6324406).", +"type": "string" +}, +"productTypeL2": { +"description": "Product type (2nd level) in merchant's own [product taxonomy](https://support.google.com/merchants/answer/6324406).", +"type": "string" +}, +"productTypeL3": { +"description": "Product type (3rd level) in merchant's own [product taxonomy](https://support.google.com/merchants/answer/6324406).", +"type": "string" +}, +"productTypeL4": { +"description": "Product type (4th level) in merchant's own [product taxonomy](https://support.google.com/merchants/answer/6324406).", +"type": "string" +}, +"productTypeL5": { +"description": "Product type (5th level) in merchant's own [product taxonomy](https://support.google.com/merchants/answer/6324406).", +"type": "string" +}, +"reportCountryCode": { +"description": "Country of the price benchmark. Represented in the ISO 3166 format. Required in the `SELECT` clause.", +"type": "string" +}, +"title": { +"description": "Title of the product.", +"type": "string" +} +}, +"type": "object" +}, +"PriceInsightsProductView": { +"description": "Fields available for query in `price_insights_product_view` table. [Price insights](https://support.google.com/merchants/answer/11916926) report. Values are only set for fields requested explicitly in the request's search query.", +"id": "PriceInsightsProductView", +"properties": { +"brand": { +"description": "Brand of the product.", +"type": "string" +}, +"categoryL1": { +"description": "Product category (1st level) in [Google's product taxonomy](https://support.google.com/merchants/answer/6324436).", +"type": "string" +}, +"categoryL2": { +"description": "Product category (2nd level) in [Google's product taxonomy](https://support.google.com/merchants/answer/6324436).", +"type": "string" +}, +"categoryL3": { +"description": "Product category (3rd level) in [Google's product taxonomy](https://support.google.com/merchants/answer/6324436).", +"type": "string" +}, +"categoryL4": { +"description": "Product category (4th level) in [Google's product taxonomy](https://support.google.com/merchants/answer/6324436).", +"type": "string" +}, +"categoryL5": { +"description": "Product category (5th level) in [Google's product taxonomy](https://support.google.com/merchants/answer/6324436).", +"type": "string" +}, +"effectiveness": { +"description": "The predicted effectiveness of applying the price suggestion, bucketed.", +"enum": [ +"EFFECTIVENESS_UNSPECIFIED", +"LOW", +"MEDIUM", +"HIGH" +], +"enumDescriptions": [ +"Effectiveness is unknown.", +"Effectiveness is low.", +"Effectiveness is medium.", +"Effectiveness is high." +], +"type": "string" +}, +"id": { +"description": "REST ID of the product, in the form of `channel~languageCode~feedLabel~offerId`. Can be used to join data with the `product_view` table. Required in the `SELECT` clause.", +"type": "string" +}, +"offerId": { +"description": "Merchant-provided id of the product.", +"type": "string" +}, +"predictedClicksChangeFraction": { +"description": "Predicted change in clicks as a fraction after introducing the suggested price compared to current active price. For example, 0.05 is a 5% predicted increase in clicks.", +"format": "double", +"type": "number" +}, +"predictedConversionsChangeFraction": { +"description": "Predicted change in conversions as a fraction after introducing the suggested price compared to current active price. For example, 0.05 is a 5% predicted increase in conversions).", +"format": "double", +"type": "number" +}, +"predictedImpressionsChangeFraction": { +"description": "Predicted change in impressions as a fraction after introducing the suggested price compared to current active price. For example, 0.05 is a 5% predicted increase in impressions.", +"format": "double", +"type": "number" +}, +"price": { +"$ref": "Price", +"description": "Current price of the product." +}, +"productTypeL1": { +"description": "Product type (1st level) in merchant's own [product taxonomy](https://support.google.com/merchants/answer/6324406).", +"type": "string" +}, +"productTypeL2": { +"description": "Product type (2nd level) in merchant's own [product taxonomy](https://support.google.com/merchants/answer/6324406).", +"type": "string" +}, +"productTypeL3": { +"description": "Product type (3rd level) in merchant's own [product taxonomy](https://support.google.com/merchants/answer/6324406).", +"type": "string" +}, +"productTypeL4": { +"description": "Product type (4th level) in merchant's own [product taxonomy](https://support.google.com/merchants/answer/6324406).", +"type": "string" +}, +"productTypeL5": { +"description": "Product type (5th level) in merchant's own [product taxonomy](https://support.google.com/merchants/answer/6324406).", +"type": "string" +}, +"suggestedPrice": { +"$ref": "Price", +"description": "Latest suggested price for the product." +}, +"title": { +"description": "Title of the product.", +"type": "string" +} +}, +"type": "object" +}, +"ProductChange": { +"description": "The change that happened to the product including old value, new value, country code as the region code and reporting context.", +"id": "ProductChange", +"properties": { +"newValue": { +"description": "The new value of the changed resource or attribute. If empty, it means that the product was deleted. Will have one of these values : (`approved`, `pending`, `disapproved`, ``)", +"type": "string" +}, +"oldValue": { +"description": "The old value of the changed resource or attribute. If empty, it means that the product was created. Will have one of these values : (`approved`, `pending`, `disapproved`, ``)", +"type": "string" +}, +"regionCode": { +"description": "Countries that have the change (if applicable). Represented in the ISO 3166 format.", +"type": "string" +}, +"reportingContext": { +"description": "Reporting contexts that have the change (if applicable). Currently this field supports only (`SHOPPING_ADS`, `LOCAL_INVENTORY_ADS`, `YOUTUBE_SHOPPING`, `YOUTUBE_CHECKOUT`, `YOUTUBE_AFFILIATE`) from the enum value [ReportingContextEnum](/merchant/api/reference/rest/Shared.Types/ReportingContextEnum)", +"enum": [ +"REPORTING_CONTEXT_ENUM_UNSPECIFIED", +"SHOPPING_ADS", +"DISCOVERY_ADS", +"DEMAND_GEN_ADS", +"DEMAND_GEN_ADS_DISCOVER_SURFACE", +"VIDEO_ADS", +"DISPLAY_ADS", +"LOCAL_INVENTORY_ADS", +"VEHICLE_INVENTORY_ADS", +"FREE_LISTINGS", +"FREE_LISTINGS_UCP_CHECKOUT", +"FREE_LOCAL_LISTINGS", +"FREE_LOCAL_VEHICLE_LISTINGS", +"YOUTUBE_AFFILIATE", +"YOUTUBE_SHOPPING", +"CLOUD_RETAIL", +"LOCAL_CLOUD_RETAIL", +"PRODUCT_REVIEWS", +"MERCHANT_REVIEWS", +"YOUTUBE_CHECKOUT" +], +"enumDeprecated": [ +false, +false, +true, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false +], +"enumDescriptions": [ +"Not specified.", +"[Shopping ads](https://support.google.com/merchants/answer/6149970).", +"Deprecated: Use `DEMAND_GEN_ADS` instead. [Discovery and Demand Gen ads](https://support.google.com/merchants/answer/13389785).", +"[Demand Gen ads](https://support.google.com/merchants/answer/13389785).", +"[Demand Gen ads on Discover surface](https://support.google.com/merchants/answer/13389785).", +"[Video ads](https://support.google.com/google-ads/answer/6340491).", +"[Display ads](https://support.google.com/merchants/answer/6069387).", +"[Local inventory ads](https://support.google.com/merchants/answer/3271956).", +"[Vehicle inventory ads](https://support.google.com/merchants/answer/11544533).", +"[Free product listings](https://support.google.com/merchants/answer/9199328).", +"[Free product listings on UCP checkout](https://developers.google.com/merchant/ucp).", +"[Free local product listings](https://support.google.com/merchants/answer/9825611).", +"[Free local vehicle listings](https://support.google.com/merchants/answer/11544533).", +"[Youtube Affiliate](https://support.google.com/youtube/answer/13376398).", +"[YouTube Shopping](https://support.google.com/merchants/answer/13478370).", +"[Cloud retail](https://cloud.google.com/solutions/retail).", +"[Local cloud retail](https://cloud.google.com/solutions/retail).", +"[Product Reviews](https://support.google.com/merchants/answer/14620732).", +"[Merchant Reviews](https://developers.google.com/merchant-review-feeds).", +"YouTube Checkout ." +], +"type": "string" +} +}, +"type": "object" +}, +"ProductPerformanceView": { +"description": "Fields available for query in `product_performance_view` table. Product performance data for your account, including performance metrics (for example, `clicks`) and dimensions according to which performance metrics are segmented (for example, `offer_id`). Values of product dimensions, such as `offer_id`, reflect the state of a product at the time of the impression. Segment fields cannot be selected in queries without also selecting at least one metric field. Values are only set for fields requested explicitly in the request's search query.", +"id": "ProductPerformanceView", +"properties": { +"brand": { +"description": "Brand of the product. Segment.", +"type": "string" +}, +"categoryL1": { +"description": "[Product category (1st level)](https://developers.google.com/shopping-content/guides/reports/segmentation#category_and_product_type) in Google's product taxonomy. Segment.", +"type": "string" +}, +"categoryL2": { +"description": "[Product category (2nd level)](https://developers.google.com/shopping-content/guides/reports/segmentation#category_and_product_type) in Google's product taxonomy. Segment.", +"type": "string" +}, +"categoryL3": { +"description": "[Product category (3rd level)](https://developers.google.com/shopping-content/guides/reports/segmentation#category_and_product_type) in Google's product taxonomy. Segment.", +"type": "string" +}, +"categoryL4": { +"description": "[Product category (4th level)](https://developers.google.com/shopping-content/guides/reports/segmentation#category_and_product_type) in Google's product taxonomy. Segment.", +"type": "string" +}, +"categoryL5": { +"description": "[Product category (5th level)](https://developers.google.com/shopping-content/guides/reports/segmentation#category_and_product_type) in Google's product taxonomy. Segment.", +"type": "string" +}, +"clickThroughRate": { +"description": "Click-through rate - the number of clicks merchant's products receive (clicks) divided by the number of times the products are shown (impressions). Metric.", +"format": "double", +"type": "number" +}, +"clicks": { +"description": "Number of clicks. Metric.", +"format": "int64", +"type": "string" +}, +"conversionRate": { +"description": "Number of conversions divided by the number of clicks, reported on the impression date. Metric. Available only for the `FREE` traffic source.", +"format": "double", +"type": "number" +}, +"conversionValue": { +"$ref": "Price", +"description": "Value of conversions attributed to the product, reported on the conversion date. Metric. Available only for the `FREE` traffic source." +}, +"conversions": { +"description": "Number of conversions attributed to the product, reported on the conversion date. Depending on the attribution model, a conversion might be distributed across multiple clicks, where each click gets its own credit assigned. This metric is a sum of all such credits. Metric. Available only for the `FREE` traffic source.", +"format": "double", +"type": "number" +}, +"customLabel0": { +"description": "Custom label 0 for custom grouping of products. Segment.", +"type": "string" +}, +"customLabel1": { +"description": "Custom label 1 for custom grouping of products. Segment.", +"type": "string" +}, +"customLabel2": { +"description": "Custom label 2 for custom grouping of products. Segment.", +"type": "string" +}, +"customLabel3": { +"description": "Custom label 3 for custom grouping of products. Segment.", +"type": "string" +}, +"customLabel4": { +"description": "Custom label 4 for custom grouping of products. Segment.", +"type": "string" +}, +"customerCountryCode": { +"description": "Code of the country where the customer is located at the time of the event. Represented in the ISO 3166 format. Segment. If the customer country cannot be determined, a special 'ZZ' code is returned.", +"type": "string" +}, +"date": { +"$ref": "Date", +"description": "Date in the merchant timezone to which metrics apply. Segment. Condition on `date` is required in the `WHERE` clause." +}, +"impressions": { +"description": "Number of times merchant's products are shown. Metric.", +"format": "int64", +"type": "string" +}, +"marketingMethod": { +"description": "Marketing method to which metrics apply. Segment.", +"enum": [ +"MARKETING_METHOD_ENUM_UNSPECIFIED", +"ORGANIC", +"ADS" +], +"enumDescriptions": [ +"Not specified.", +"Organic marketing.", +"Ads-based marketing." +], +"type": "string" +}, +"offerId": { +"description": "Merchant-provided id of the product. Segment.", +"type": "string" +}, +"productTypeL1": { +"description": "[Product type (1st level)](https://developers.google.com/shopping-content/guides/reports/segmentation#category_and_product_type) in merchant's own product taxonomy. Segment.", +"type": "string" +}, +"productTypeL2": { +"description": "[Product type (2nd level)](https://developers.google.com/shopping-content/guides/reports/segmentation#category_and_product_type) in merchant's own product taxonomy. Segment.", +"type": "string" +}, +"productTypeL3": { +"description": "[Product type (3rd level)](https://developers.google.com/shopping-content/guides/reports/segmentation#category_and_product_type) in merchant's own product taxonomy. Segment.", +"type": "string" +}, +"productTypeL4": { +"description": "[Product type (4th level)](https://developers.google.com/shopping-content/guides/reports/segmentation#category_and_product_type) in merchant's own product taxonomy. Segment.", +"type": "string" +}, +"productTypeL5": { +"description": "[Product type (5th level)](https://developers.google.com/shopping-content/guides/reports/segmentation#category_and_product_type) in merchant's own product taxonomy. Segment.", +"type": "string" +}, +"title": { +"description": "Title of the product. Segment.", +"type": "string" +}, +"week": { +"$ref": "Date", +"description": "First day of the week (Monday) of the metrics date in the merchant timezone. Segment." +} +}, +"type": "object" +}, +"ProductStatusChangeMessage": { +"description": "The message that the merchant will receive to notify about product status change event", +"id": "ProductStatusChangeMessage", +"properties": { +"account": { +"description": "The target account that owns the entity that changed. Format : `accounts/{merchant_id}`", +"type": "string" +}, +"attribute": { +"description": "The attribute in the resource that changed, in this case it will be always `Status`.", +"enum": [ +"ATTRIBUTE_UNSPECIFIED", +"STATUS" +], +"enumDescriptions": [ +"Unspecified attribute", +"Status of the changed entity" +], +"type": "string" +}, +"changes": { +"description": "A message to describe the change that happened to the product", +"items": { +"$ref": "ProductChange" +}, +"type": "array" +}, +"eventTime": { +"description": "The time at which the event was generated. If you want to order the notification messages you receive you should rely on this field not on the order of receiving the notifications.", +"format": "google-datetime", +"type": "string" +}, +"expirationTime": { +"description": "Optional. The product expiration time. This field will not be set if the notification is sent for a product deletion event.", +"format": "google-datetime", +"type": "string" +}, +"managingAccount": { +"description": "The account that manages the merchant's account. can be the same as merchant id if it is standalone account. Format : `accounts/{service_provider_id}`", +"type": "string" +}, +"resource": { +"description": "The product name. Format: `accounts/{account}/products/{product}`", +"type": "string" +}, +"resourceId": { +"description": "The product id.", +"type": "string" +}, +"resourceType": { +"description": "The resource that changed, in this case it will always be `Product`.", +"enum": [ +"RESOURCE_UNSPECIFIED", +"PRODUCT" +], +"enumDescriptions": [ +"Unspecified resource", +"Resource type : product" +], +"type": "string" +} +}, +"type": "object" +}, +"ProductView": { +"description": "Fields available for query in `product_view` table. Products in the current inventory. Products in this table are the same as a [Product resource in Products sub-API](https://developers.google.com/merchant/api/reference/rest/products_v1/accounts.products) but not all product attributes from Products sub-API are available for query in this table. In contrast to Products sub-API, this table allows to filter the returned list of products by product attributes. To retrieve a single product by `id` or list all products, Products sub-API should be used. Values are only set for fields requested explicitly in the request's search query.", +"id": "ProductView", +"properties": { +"aggregatedReportingContextStatus": { +"description": "Aggregated status across all reporting contexts. Reporting contexts included in the computation of the aggregated status can be restricted using a filter on the `reporting_context` field.", +"enum": [ +"AGGREGATED_REPORTING_CONTEXT_STATUS_UNSPECIFIED", +"NOT_ELIGIBLE_OR_DISAPPROVED", +"PENDING", +"ELIGIBLE_LIMITED", +"ELIGIBLE" +], +"enumDescriptions": [ +"Not specified.", +"Product is not eligible or is disapproved for all reporting contexts and countries.", +"Product's status is pending in all reporting contexts and countries.", +"Product is eligible for some (but not all) reporting contexts and countries.", +"Product is eligible for all reporting contexts and countries." +], +"type": "string" +}, +"availability": { +"description": "[Availability](https://support.google.com/merchants/answer/6324448) of the product.", +"type": "string" +}, +"brand": { +"description": "Brand of the product.", +"type": "string" +}, +"categoryL1": { +"description": "Product category (1st level) in [Google's product taxonomy](https://support.google.com/merchants/answer/6324436).", +"type": "string" +}, +"categoryL2": { +"description": "Product category (2nd level) in [Google's product taxonomy](https://support.google.com/merchants/answer/6324436).", +"type": "string" +}, +"categoryL3": { +"description": "Product category (3rd level) in [Google's product taxonomy](https://support.google.com/merchants/answer/6324436).", +"type": "string" +}, +"categoryL4": { +"description": "Product category (4th level) in [Google's product taxonomy](https://support.google.com/merchants/answer/6324436).", +"type": "string" +}, +"categoryL5": { +"description": "Product category (5th level) in [Google's product taxonomy](https://support.google.com/merchants/answer/6324436).", +"type": "string" +}, +"channel": { +"description": "Channel of the product. Can be `ONLINE` or `LOCAL`.", +"enum": [ +"CHANNEL_ENUM_UNSPECIFIED", +"ONLINE", +"LOCAL" +], +"enumDescriptions": [ +"Not specified.", +"Online product.", +"Local product." +], +"type": "string" +}, +"clickPotential": { +"description": "Estimated performance potential compared to highest performing products of the merchant.", +"enum": [ +"CLICK_POTENTIAL_UNSPECIFIED", +"LOW", +"MEDIUM", +"HIGH" +], +"enumDescriptions": [ +"Unknown predicted clicks impact.", +"Potential to receive a low number of clicks compared to the highest performing products of the merchant.", +"Potential to receive a moderate number of clicks compared to the highest performing products of the merchant.", +"Potential to receive a similar number of clicks as the highest performing products of the merchant." +], +"type": "string" +}, +"clickPotentialRank": { +"description": "Normalized click potential of the product. Values range from 1 to 1000, where 1 is the highest click potential and 1000 is the theoretical lowest.", +"format": "int64", +"type": "string" +}, +"condition": { +"description": "[Condition](https://support.google.com/merchants/answer/6324469) of the product.", +"type": "string" +}, +"creationTime": { +"description": "The time the merchant created the product in timestamp seconds.", +"format": "google-datetime", +"type": "string" +}, +"expirationDate": { +"$ref": "Date", +"description": "Expiration date for the product, specified on insertion." +}, +"feedLabel": { +"description": "Feed label of the product.", +"type": "string" +}, +"gtin": { +"description": "List of Global Trade Item Numbers (GTINs) of the product.", +"items": { +"type": "string" +}, +"type": "array" +}, +"id": { +"description": "REST ID of the product, in the form of `channel~languageCode~feedLabel~offerId`. Merchant API methods that operate on products take this as their `name` parameter. Required in the `SELECT` clause.", +"type": "string" +}, +"itemGroupId": { +"description": "Item group id provided by the merchant for grouping variants together.", +"type": "string" +}, +"itemIssues": { +"description": "List of item issues for the product. **This field cannot be used for sorting the results.** **Only selected attributes of this field (for example, `item_issues.severity.aggregated_severity`) can be used for filtering the results.**", +"items": { +"$ref": "ItemIssue" +}, +"type": "array" +}, +"languageCode": { +"description": "Language code of the product in BCP 47 format.", +"type": "string" +}, +"offerId": { +"description": "Merchant-provided id of the product.", +"type": "string" +}, +"price": { +"$ref": "Price", +"description": "Product price. Absent if the information about the price of the product is not available." +}, +"productTypeL1": { +"description": "Product type (1st level) in merchant's own [product taxonomy](https://support.google.com/merchants/answer/6324406).", +"type": "string" +}, +"productTypeL2": { +"description": "Product type (2nd level) in merchant's own [product taxonomy](https://support.google.com/merchants/answer/6324406).", +"type": "string" +}, +"productTypeL3": { +"description": "Product type (3rd level) in merchant's own [product taxonomy](https://support.google.com/merchants/answer/6324406).", +"type": "string" +}, +"productTypeL4": { +"description": "Product type (4th level) in merchant's own [product taxonomy](https://support.google.com/merchants/answer/6324406).", +"type": "string" +}, +"productTypeL5": { +"description": "Product type (5th level) in merchant's own [product taxonomy](https://support.google.com/merchants/answer/6324406).", +"type": "string" +}, +"reportingContext": { +"description": "Reporting context to restrict the query to. Restricts the reporting contexts returned in `status_per_reporting_context` and `item_issues`, and used to compute `aggregated_reporting_context_status`. **This field can only be used in the `WHERE` clause and cannot be selected in the `SELECT` clause.**", +"enum": [ +"REPORTING_CONTEXT_ENUM_UNSPECIFIED", +"SHOPPING_ADS", +"DISCOVERY_ADS", +"DEMAND_GEN_ADS", +"DEMAND_GEN_ADS_DISCOVER_SURFACE", +"VIDEO_ADS", +"DISPLAY_ADS", +"LOCAL_INVENTORY_ADS", +"VEHICLE_INVENTORY_ADS", +"FREE_LISTINGS", +"FREE_LISTINGS_UCP_CHECKOUT", +"FREE_LOCAL_LISTINGS", +"FREE_LOCAL_VEHICLE_LISTINGS", +"YOUTUBE_AFFILIATE", +"YOUTUBE_SHOPPING", +"CLOUD_RETAIL", +"LOCAL_CLOUD_RETAIL", +"PRODUCT_REVIEWS", +"MERCHANT_REVIEWS", +"YOUTUBE_CHECKOUT" +], +"enumDeprecated": [ +false, +false, +true, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false +], +"enumDescriptions": [ +"Not specified.", +"[Shopping ads](https://support.google.com/merchants/answer/6149970).", +"Deprecated: Use `DEMAND_GEN_ADS` instead. [Discovery and Demand Gen ads](https://support.google.com/merchants/answer/13389785).", +"[Demand Gen ads](https://support.google.com/merchants/answer/13389785).", +"[Demand Gen ads on Discover surface](https://support.google.com/merchants/answer/13389785).", +"[Video ads](https://support.google.com/google-ads/answer/6340491).", +"[Display ads](https://support.google.com/merchants/answer/6069387).", +"[Local inventory ads](https://support.google.com/merchants/answer/3271956).", +"[Vehicle inventory ads](https://support.google.com/merchants/answer/11544533).", +"[Free product listings](https://support.google.com/merchants/answer/9199328).", +"[Free product listings on UCP checkout](https://developers.google.com/merchant/ucp).", +"[Free local product listings](https://support.google.com/merchants/answer/9825611).", +"[Free local vehicle listings](https://support.google.com/merchants/answer/11544533).", +"[Youtube Affiliate](https://support.google.com/youtube/answer/13376398).", +"[YouTube Shopping](https://support.google.com/merchants/answer/13478370).", +"[Cloud retail](https://cloud.google.com/solutions/retail).", +"[Local cloud retail](https://cloud.google.com/solutions/retail).", +"[Product Reviews](https://support.google.com/merchants/answer/14620732).", +"[Merchant Reviews](https://developers.google.com/merchant-review-feeds).", +"YouTube Checkout ." +], +"type": "string" +}, +"shippingLabel": { +"description": "Normalized [shipping label](https://support.google.com/merchants/answer/6324504) specified in the data source.", +"type": "string" +}, +"statusPerReportingContext": { +"description": "Detailed product status per reporting context. Reporting contexts included in this list can be restricted using a filter on the `reporting_context` field. Equivalent to `ProductStatus.destination_statuses` in Products API. **This field cannot be used for sorting or filtering the results.**", +"items": { +"$ref": "StatusPerReportingContext" +}, +"type": "array" +}, +"thumbnailLink": { +"description": "Link to the processed image of the product, hosted on the Google infrastructure.", +"type": "string" +}, +"title": { +"description": "Title of the product.", +"type": "string" +} +}, +"type": "object" +}, +"ReportRow": { +"description": "Result row returned from the search query. Only the message corresponding to the queried table is populated in the response. Within the populated message, only the fields requested explicitly in the query are populated.", +"id": "ReportRow", +"properties": { +"bestSellersBrandView": { +"$ref": "BestSellersBrandView", +"description": "Fields available for query in `best_sellers_brand_view` table." +}, +"bestSellersProductClusterView": { +"$ref": "BestSellersProductClusterView", +"description": "Fields available for query in `best_sellers_product_cluster_view` table." +}, +"competitiveVisibilityBenchmarkView": { +"$ref": "CompetitiveVisibilityBenchmarkView", +"description": "Fields available for query in `competitive_visibility_benchmark_view` table." +}, +"competitiveVisibilityCompetitorView": { +"$ref": "CompetitiveVisibilityCompetitorView", +"description": "Fields available for query in `competitive_visibility_competitor_view` table." +}, +"competitiveVisibilityTopMerchantView": { +"$ref": "CompetitiveVisibilityTopMerchantView", +"description": "Fields available for query in `competitive_visibility_top_merchant_view` table." +}, +"nonProductPerformanceView": { +"$ref": "NonProductPerformanceView", +"description": "Fields available for query in `non_product_performance_view` table." +}, +"priceCompetitivenessProductView": { +"$ref": "PriceCompetitivenessProductView", +"description": "Fields available for query in `price_competitiveness_product_view` table." +}, +"priceInsightsProductView": { +"$ref": "PriceInsightsProductView", +"description": "Fields available for query in `price_insights_product_view` table." +}, +"productPerformanceView": { +"$ref": "ProductPerformanceView", +"description": "Fields available for query in `product_performance_view` table." +}, +"productView": { +"$ref": "ProductView", +"description": "Fields available for query in `product_view` table." +} +}, +"type": "object" +}, +"SearchRequest": { +"description": "Request message for the `ReportService.Search` method.", +"id": "SearchRequest", +"properties": { +"pageSize": { +"description": "Optional. Number of `ReportRows` to retrieve in a single page. Defaults to 1000. Values above 100,000 are coerced to 100,000.", +"format": "int32", +"type": "integer" +}, +"pageToken": { +"description": "Optional. Token of the page to retrieve. If not specified, the first page of results is returned. In order to request the next page of results, the value obtained from `next_page_token` in the previous response should be used.", +"type": "string" +}, +"query": { +"description": "Required. Query that defines a report to be retrieved. For details on how to construct your query, see the [Query Language guide](/merchant/api/guides/reports/query-language). For the full list of available tables and fields, see the Available fields.", +"type": "string" +} +}, +"type": "object" +}, +"SearchResponse": { +"description": "Response message for the `ReportService.Search` method.", +"id": "SearchResponse", +"properties": { +"nextPageToken": { +"description": "Token which can be sent as `page_token` to retrieve the next page. If omitted, there are no subsequent pages.", +"type": "string" +}, +"results": { +"description": "Rows that matched the search query.", +"items": { +"$ref": "ReportRow" +}, +"type": "array" +} +}, +"type": "object" +}, +"StatusPerReportingContext": { +"description": "Status of the product for a specific reporting context. Equivalent to `DestinationStatus` in Products API.", +"id": "StatusPerReportingContext", +"properties": { +"approvedCountries": { +"description": "List of approved countries in the reporting context, represented in [ISO 3166](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) format, for example, `US`.", +"items": { +"type": "string" +}, +"type": "array" +}, +"disapprovedCountries": { +"description": "List of disapproved countries in the reporting context, represented in [ISO 3166](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) format, for example, `US`.", +"items": { +"type": "string" +}, +"type": "array" +}, +"pendingCountries": { +"description": "List of pending countries in the reporting context, represented in [ISO 3166](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) format, for example, `US`.", +"items": { +"type": "string" +}, +"type": "array" +}, +"reportingContext": { +"description": "Reporting context the status applies to.", +"enum": [ +"REPORTING_CONTEXT_ENUM_UNSPECIFIED", +"SHOPPING_ADS", +"DISCOVERY_ADS", +"DEMAND_GEN_ADS", +"DEMAND_GEN_ADS_DISCOVER_SURFACE", +"VIDEO_ADS", +"DISPLAY_ADS", +"LOCAL_INVENTORY_ADS", +"VEHICLE_INVENTORY_ADS", +"FREE_LISTINGS", +"FREE_LISTINGS_UCP_CHECKOUT", +"FREE_LOCAL_LISTINGS", +"FREE_LOCAL_VEHICLE_LISTINGS", +"YOUTUBE_AFFILIATE", +"YOUTUBE_SHOPPING", +"CLOUD_RETAIL", +"LOCAL_CLOUD_RETAIL", +"PRODUCT_REVIEWS", +"MERCHANT_REVIEWS", +"YOUTUBE_CHECKOUT" +], +"enumDeprecated": [ +false, +false, +true, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false +], +"enumDescriptions": [ +"Not specified.", +"[Shopping ads](https://support.google.com/merchants/answer/6149970).", +"Deprecated: Use `DEMAND_GEN_ADS` instead. [Discovery and Demand Gen ads](https://support.google.com/merchants/answer/13389785).", +"[Demand Gen ads](https://support.google.com/merchants/answer/13389785).", +"[Demand Gen ads on Discover surface](https://support.google.com/merchants/answer/13389785).", +"[Video ads](https://support.google.com/google-ads/answer/6340491).", +"[Display ads](https://support.google.com/merchants/answer/6069387).", +"[Local inventory ads](https://support.google.com/merchants/answer/3271956).", +"[Vehicle inventory ads](https://support.google.com/merchants/answer/11544533).", +"[Free product listings](https://support.google.com/merchants/answer/9199328).", +"[Free product listings on UCP checkout](https://developers.google.com/merchant/ucp).", +"[Free local product listings](https://support.google.com/merchants/answer/9825611).", +"[Free local vehicle listings](https://support.google.com/merchants/answer/11544533).", +"[Youtube Affiliate](https://support.google.com/youtube/answer/13376398).", +"[YouTube Shopping](https://support.google.com/merchants/answer/13478370).", +"[Cloud retail](https://cloud.google.com/solutions/retail).", +"[Local cloud retail](https://cloud.google.com/solutions/retail).", +"[Product Reviews](https://support.google.com/merchants/answer/14620732).", +"[Merchant Reviews](https://developers.google.com/merchant-review-feeds).", +"YouTube Checkout ." +], +"type": "string" +} +}, +"type": "object" +} +}, +"servicePath": "", +"title": "Merchant API", +"version": "reports_v1", +"version_module": true +} \ No newline at end of file diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/merchantapi.reports_v1beta.json b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/merchantapi.reports_v1beta.json new file mode 100644 index 0000000000000000000000000000000000000000..a130ee3e4da7e143a2ed3b7e694b9537925947e5 --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/merchantapi.reports_v1beta.json @@ -0,0 +1,1731 @@ +{ +"auth": { +"oauth2": { +"scopes": { +"https://www.googleapis.com/auth/content": { +"description": "Manage your product listings and accounts for Google Shopping" +} +} +} +}, +"basePath": "", +"baseUrl": "https://merchantapi.googleapis.com/", +"batchPath": "batch", +"canonicalName": "Merchant", +"description": "Programmatically manage your Merchant Center Accounts.", +"discoveryVersion": "v1", +"documentationLink": "https://developers.google.com/merchant/api", +"fullyEncodeReservedExpansion": true, +"icons": { +"x16": "http://www.google.com/images/icons/product/search-16.gif", +"x32": "http://www.google.com/images/icons/product/search-32.gif" +}, +"id": "merchantapi:reports_v1beta", +"kind": "discovery#restDescription", +"mtlsRootUrl": "https://merchantapi.mtls.googleapis.com/", +"name": "merchantapi", +"ownerDomain": "google.com", +"ownerName": "Google", +"parameters": { +"$.xgafv": { +"description": "V1 error format.", +"enum": [ +"1", +"2" +], +"enumDescriptions": [ +"v1 error format", +"v2 error format" +], +"location": "query", +"type": "string" +}, +"access_token": { +"description": "OAuth access token.", +"location": "query", +"type": "string" +}, +"alt": { +"default": "json", +"description": "Data format for response.", +"enum": [ +"json", +"media", +"proto" +], +"enumDescriptions": [ +"Responses with Content-Type of application/json", +"Media download with context-dependent Content-Type", +"Responses with Content-Type of application/x-protobuf" +], +"location": "query", +"type": "string" +}, +"callback": { +"description": "JSONP", +"location": "query", +"type": "string" +}, +"fields": { +"description": "Selector specifying which fields to include in a partial response.", +"location": "query", +"type": "string" +}, +"key": { +"description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", +"location": "query", +"type": "string" +}, +"oauth_token": { +"description": "OAuth 2.0 token for the current user.", +"location": "query", +"type": "string" +}, +"prettyPrint": { +"default": "true", +"description": "Returns response with indentations and line breaks.", +"location": "query", +"type": "boolean" +}, +"quotaUser": { +"description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.", +"location": "query", +"type": "string" +}, +"uploadType": { +"description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", +"location": "query", +"type": "string" +}, +"upload_protocol": { +"description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", +"location": "query", +"type": "string" +} +}, +"protocol": "rest", +"resources": { +"accounts": { +"resources": { +"reports": { +"methods": { +"search": { +"description": "Retrieves a report defined by a search query. The response might contain fewer rows than specified by `page_size`. Rely on `next_page_token` to determine if there are more rows to be requested.", +"flatPath": "reports/v1beta/accounts/{accountsId}/reports:search", +"httpMethod": "POST", +"id": "merchantapi.accounts.reports.search", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. Id of the account making the call. Must be a standalone account or an MCA subaccount. Format: accounts/{account}", +"location": "path", +"pattern": "^accounts/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "reports/v1beta/{+parent}/reports:search", +"request": { +"$ref": "SearchRequest" +}, +"response": { +"$ref": "SearchResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/content" +] +} +} +} +} +} +}, +"revision": "20260223", +"rootUrl": "https://merchantapi.googleapis.com/", +"schemas": { +"BestSellersBrandView": { +"description": "Fields available for query in `best_sellers_brand_view` table. [Best sellers](https://support.google.com/merchants/answer/9488679) report with top brands. Values are only set for fields requested explicitly in the request's search query.", +"id": "BestSellersBrandView", +"properties": { +"brand": { +"description": "Name of the brand.", +"type": "string" +}, +"previousRank": { +"description": "Popularity rank in the previous week or month.", +"format": "int64", +"type": "string" +}, +"previousRelativeDemand": { +"description": "Estimated demand in relation to the brand with the highest popularity rank in the same category and country in the previous week or month.", +"enum": [ +"RELATIVE_DEMAND_ENUM_UNSPECIFIED", +"VERY_LOW", +"LOW", +"MEDIUM", +"HIGH", +"VERY_HIGH" +], +"enumDescriptions": [ +"Not specified.", +"Demand is 0-5% of the demand of the highest ranked product cluster or brand.", +"Demand is 6-10% of the demand of the highest ranked product cluster or brand.", +"Demand is 11-20% of the demand of the highest ranked product cluster or brand.", +"Demand is 21-50% of the demand of the highest ranked product cluster or brand.", +"Demand is 51-100% of the demand of the highest ranked product cluster or brand." +], +"type": "string" +}, +"rank": { +"description": "Popularity of the brand on Ads and organic surfaces, in the selected category and country, based on the estimated number of units sold.", +"format": "int64", +"type": "string" +}, +"relativeDemand": { +"description": "Estimated demand in relation to the brand with the highest popularity rank in the same category and country.", +"enum": [ +"RELATIVE_DEMAND_ENUM_UNSPECIFIED", +"VERY_LOW", +"LOW", +"MEDIUM", +"HIGH", +"VERY_HIGH" +], +"enumDescriptions": [ +"Not specified.", +"Demand is 0-5% of the demand of the highest ranked product cluster or brand.", +"Demand is 6-10% of the demand of the highest ranked product cluster or brand.", +"Demand is 11-20% of the demand of the highest ranked product cluster or brand.", +"Demand is 21-50% of the demand of the highest ranked product cluster or brand.", +"Demand is 51-100% of the demand of the highest ranked product cluster or brand." +], +"type": "string" +}, +"relativeDemandChange": { +"description": "Change in the estimated demand. Whether it rose, sank or remained flat.", +"enum": [ +"RELATIVE_DEMAND_CHANGE_TYPE_ENUM_UNSPECIFIED", +"SINKER", +"FLAT", +"RISER" +], +"enumDescriptions": [ +"Not specified.", +"Relative demand is lower than the previous time period.", +"Relative demand is equal to the previous time period.", +"Relative demand is higher than the previous time period." +], +"type": "string" +}, +"reportCategoryId": { +"description": "Google product category ID to calculate the ranking for, represented in [Google's product taxonomy](https://support.google.com/merchants/answer/6324436). Required in the `SELECT` clause. If a `WHERE` condition on `report_category_id` is not specified in the query, rankings for all top-level categories are returned.", +"format": "int64", +"type": "string" +}, +"reportCountryCode": { +"description": "Country where the ranking is calculated. Represented in the ISO 3166 format. Required in the `SELECT` clause. Condition on `report_country_code` is required in the `WHERE` clause.", +"type": "string" +}, +"reportDate": { +"$ref": "Date", +"description": "Report date. The value of this field can only be one of the following: * The first day of the week (Monday) for weekly reports, * The first day of the month for monthly reports. Required in the `SELECT` clause. If a `WHERE` condition on `report_date` is not specified in the query, the latest available weekly or monthly report is returned." +}, +"reportGranularity": { +"description": "Granularity of the report. The ranking can be done over a week or a month timeframe. Required in the `SELECT` clause. Condition on `report_granularity` is required in the `WHERE` clause.", +"enum": [ +"REPORT_GRANULARITY_ENUM_UNSPECIFIED", +"WEEKLY", +"MONTHLY" +], +"enumDescriptions": [ +"Not specified.", +"Report is computed over a week timeframe.", +"Report is computed over a month timeframe." +], +"type": "string" +} +}, +"type": "object" +}, +"BestSellersProductClusterView": { +"description": "Fields available for query in `best_sellers_product_cluster_view` table. [Best sellers](https://support.google.com/merchants/answer/9488679) report with top product clusters. A product cluster is a grouping for different offers and variants that represent the same product, for example, Google Pixel 7. Values are only set for fields requested explicitly in the request's search query.", +"id": "BestSellersProductClusterView", +"properties": { +"brand": { +"description": "Brand of the product cluster.", +"type": "string" +}, +"brandInventoryStatus": { +"description": "Whether there is at least one product of the brand currently `IN_STOCK` in your product data source in at least one of the countries, all products are `OUT_OF_STOCK` in your product data source in all countries, or `NOT_IN_INVENTORY`. The field doesn't take the Best sellers report country filter into account.", +"enum": [ +"INVENTORY_STATUS_UNSPECIFIED", +"IN_STOCK", +"OUT_OF_STOCK", +"NOT_IN_INVENTORY" +], +"enumDescriptions": [ +"Not specified.", +"You have a product for this product cluster or brand in stock.", +"You have a product for this product cluster or brand in inventory but it is currently out of stock.", +"You do not have a product for this product cluster or brand in inventory." +], +"type": "string" +}, +"categoryL1": { +"description": "Product category (1st level) of the product cluster, represented in [Google's product taxonomy](https://support.google.com/merchants/answer/6324436).", +"type": "string" +}, +"categoryL2": { +"description": "Product category (2nd level) of the product cluster, represented in [Google's product taxonomy](https://support.google.com/merchants/answer/6324436).", +"type": "string" +}, +"categoryL3": { +"description": "Product category (3rd level) of the product cluster, represented in [Google's product taxonomy](https://support.google.com/merchants/answer/6324436).", +"type": "string" +}, +"categoryL4": { +"description": "Product category (4th level) of the product cluster, represented in [Google's product taxonomy](https://support.google.com/merchants/answer/6324436).", +"type": "string" +}, +"categoryL5": { +"description": "Product category (5th level) of the product cluster, represented in [Google's product taxonomy](https://support.google.com/merchants/answer/6324436).", +"type": "string" +}, +"inventoryStatus": { +"description": "Whether the product cluster is `IN_STOCK` in your product data source in at least one of the countries, `OUT_OF_STOCK` in your product data source in all countries, or `NOT_IN_INVENTORY` at all. The field doesn't take the Best sellers report country filter into account.", +"enum": [ +"INVENTORY_STATUS_UNSPECIFIED", +"IN_STOCK", +"OUT_OF_STOCK", +"NOT_IN_INVENTORY" +], +"enumDescriptions": [ +"Not specified.", +"You have a product for this product cluster or brand in stock.", +"You have a product for this product cluster or brand in inventory but it is currently out of stock.", +"You do not have a product for this product cluster or brand in inventory." +], +"type": "string" +}, +"previousRank": { +"description": "Popularity rank in the previous week or month.", +"format": "int64", +"type": "string" +}, +"previousRelativeDemand": { +"description": "Estimated demand in relation to the product cluster with the highest popularity rank in the same category and country in the previous week or month.", +"enum": [ +"RELATIVE_DEMAND_ENUM_UNSPECIFIED", +"VERY_LOW", +"LOW", +"MEDIUM", +"HIGH", +"VERY_HIGH" +], +"enumDescriptions": [ +"Not specified.", +"Demand is 0-5% of the demand of the highest ranked product cluster or brand.", +"Demand is 6-10% of the demand of the highest ranked product cluster or brand.", +"Demand is 11-20% of the demand of the highest ranked product cluster or brand.", +"Demand is 21-50% of the demand of the highest ranked product cluster or brand.", +"Demand is 51-100% of the demand of the highest ranked product cluster or brand." +], +"type": "string" +}, +"rank": { +"description": "Popularity of the product cluster on Ads and organic surfaces, in the selected category and country, based on the estimated number of units sold.", +"format": "int64", +"type": "string" +}, +"relativeDemand": { +"description": "Estimated demand in relation to the product cluster with the highest popularity rank in the same category and country.", +"enum": [ +"RELATIVE_DEMAND_ENUM_UNSPECIFIED", +"VERY_LOW", +"LOW", +"MEDIUM", +"HIGH", +"VERY_HIGH" +], +"enumDescriptions": [ +"Not specified.", +"Demand is 0-5% of the demand of the highest ranked product cluster or brand.", +"Demand is 6-10% of the demand of the highest ranked product cluster or brand.", +"Demand is 11-20% of the demand of the highest ranked product cluster or brand.", +"Demand is 21-50% of the demand of the highest ranked product cluster or brand.", +"Demand is 51-100% of the demand of the highest ranked product cluster or brand." +], +"type": "string" +}, +"relativeDemandChange": { +"description": "Change in the estimated demand. Whether it rose, sank or remained flat.", +"enum": [ +"RELATIVE_DEMAND_CHANGE_TYPE_ENUM_UNSPECIFIED", +"SINKER", +"FLAT", +"RISER" +], +"enumDescriptions": [ +"Not specified.", +"Relative demand is lower than the previous time period.", +"Relative demand is equal to the previous time period.", +"Relative demand is higher than the previous time period." +], +"type": "string" +}, +"reportCategoryId": { +"description": "Google product category ID to calculate the ranking for, represented in [Google's product taxonomy](https://support.google.com/merchants/answer/6324436). Required in the `SELECT` clause. If a `WHERE` condition on `report_category_id` is not specified in the query, rankings for all top-level categories are returned.", +"format": "int64", +"type": "string" +}, +"reportCountryCode": { +"description": "Country where the ranking is calculated. Represented in the ISO 3166 format. Required in the `SELECT` clause. Condition on `report_country_code` is required in the `WHERE` clause.", +"type": "string" +}, +"reportDate": { +"$ref": "Date", +"description": "Report date. The value of this field can only be one of the following: * The first day of the week (Monday) for weekly reports, * The first day of the month for monthly reports. Required in the `SELECT` clause. If a `WHERE` condition on `report_date` is not specified in the query, the latest available weekly or monthly report is returned." +}, +"reportGranularity": { +"description": "Granularity of the report. The ranking can be done over a week or a month timeframe. Required in the `SELECT` clause. Condition on `report_granularity` is required in the `WHERE` clause.", +"enum": [ +"REPORT_GRANULARITY_ENUM_UNSPECIFIED", +"WEEKLY", +"MONTHLY" +], +"enumDescriptions": [ +"Not specified.", +"Report is computed over a week timeframe.", +"Report is computed over a month timeframe." +], +"type": "string" +}, +"title": { +"description": "Title of the product cluster.", +"type": "string" +}, +"variantGtins": { +"description": "GTINs of example variants of the product cluster.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"CompetitiveVisibilityBenchmarkView": { +"description": "Fields available for query in `competitive_visibility_benchmark_view` table. [Competitive visibility](https://support.google.com/merchants/answer/11366442) report with the category benchmark. Values are only set for fields requested explicitly in the request's search query.", +"id": "CompetitiveVisibilityBenchmarkView", +"properties": { +"categoryBenchmarkVisibilityTrend": { +"description": "Change in visibility based on impressions with respect to the start of the selected time range (or first day with non-zero impressions) for a combined set of merchants with highest visibility approximating the market. Cannot be filtered on in the 'WHERE' clause.", +"format": "double", +"type": "number" +}, +"date": { +"$ref": "Date", +"description": "Date of this row. Required in the `SELECT` clause. A condition on `date` is required in the `WHERE` clause." +}, +"reportCategoryId": { +"description": "Google product category ID to calculate the report for, represented in [Google's product taxonomy](https://support.google.com/merchants/answer/6324436). Required in the `SELECT` clause. A condition on `report_category_id` is required in the `WHERE` clause.", +"format": "int64", +"type": "string" +}, +"reportCountryCode": { +"description": "Country where impressions appeared. Required in the `SELECT` clause. A condition on `report_country_code` is required in the `WHERE` clause.", +"type": "string" +}, +"trafficSource": { +"description": "Traffic source of impressions. Required in the `SELECT` clause.", +"enum": [ +"TRAFFIC_SOURCE_ENUM_UNSPECIFIED", +"ORGANIC", +"ADS", +"ALL" +], +"enumDescriptions": [ +"Not specified.", +"Organic traffic.", +"Traffic from ads.", +"Organic and ads traffic." +], +"type": "string" +}, +"yourDomainVisibilityTrend": { +"description": "Change in visibility based on impressions for your domain with respect to the start of the selected time range (or first day with non-zero impressions). Cannot be filtered on in the 'WHERE' clause.", +"format": "double", +"type": "number" +} +}, +"type": "object" +}, +"CompetitiveVisibilityCompetitorView": { +"description": "Fields available for query in `competitive_visibility_competitor_view` table. [Competitive visibility](https://support.google.com/merchants/answer/11366442) report with businesses with similar visibility. Values are only set for fields requested explicitly in the request's search query.", +"id": "CompetitiveVisibilityCompetitorView", +"properties": { +"adsOrganicRatio": { +"description": "[Ads / organic ratio] (https://support.google.com/merchants/answer/11366442#zippy=%2Cads-free-ratio) shows how often the domain receives impressions from Shopping ads compared to organic traffic. The number is rounded and bucketed. Cannot be filtered on in the 'WHERE' clause.", +"format": "double", +"type": "number" +}, +"date": { +"$ref": "Date", +"description": "Date of this row. A condition on `date` is required in the `WHERE` clause." +}, +"domain": { +"description": "Domain of your competitor or your domain, if 'is_your_domain' is true. Required in the `SELECT` clause. Cannot be filtered on in the 'WHERE' clause.", +"type": "string" +}, +"higherPositionRate": { +"description": "[Higher position rate] (https://support.google.com/merchants/answer/11366442#zippy=%2Chigher-position-rate) shows how often a competitor\u2019s offer got placed in a higher position on the page than your offer. Cannot be filtered on in the 'WHERE' clause.", +"format": "double", +"type": "number" +}, +"isYourDomain": { +"description": "True if this row contains data for your domain. Cannot be filtered on in the 'WHERE' clause.", +"type": "boolean" +}, +"pageOverlapRate": { +"description": "[Page overlap rate] (https://support.google.com/merchants/answer/11366442#zippy=%2Cpage-overlap-rate) shows how frequently competing retailers\u2019 offers are shown together with your offers on the same page. Cannot be filtered on in the 'WHERE' clause.", +"format": "double", +"type": "number" +}, +"rank": { +"description": "Position of the domain in the similar businesses ranking for the selected keys (`date`, `report_category_id`, `report_country_code`, `traffic_source`) based on impressions. 1 is the highest. Cannot be filtered on in the 'WHERE' clause.", +"format": "int64", +"type": "string" +}, +"relativeVisibility": { +"description": "[Relative visibility] (https://support.google.com/merchants/answer/11366442#zippy=%2Crelative-visibility) shows how often your competitors\u2019 offers are shown compared to your offers. In other words, this is the number of displayed impressions of a competitor retailer divided by the number of your displayed impressions during a selected time range for a selected product category and country. Cannot be filtered on in the 'WHERE' clause.", +"format": "double", +"type": "number" +}, +"reportCategoryId": { +"description": "Google product category ID to calculate the report for, represented in [Google's product taxonomy](https://support.google.com/merchants/answer/6324436). Required in the `SELECT` clause. A condition on `report_category_id` is required in the `WHERE` clause.", +"format": "int64", +"type": "string" +}, +"reportCountryCode": { +"description": "Country where impressions appeared. Required in the `SELECT` clause. A condition on `report_country_code` is required in the `WHERE` clause.", +"type": "string" +}, +"trafficSource": { +"description": "Traffic source of impressions. Required in the `SELECT` clause.", +"enum": [ +"TRAFFIC_SOURCE_ENUM_UNSPECIFIED", +"ORGANIC", +"ADS", +"ALL" +], +"enumDescriptions": [ +"Not specified.", +"Organic traffic.", +"Traffic from ads.", +"Organic and ads traffic." +], +"type": "string" +} +}, +"type": "object" +}, +"CompetitiveVisibilityTopMerchantView": { +"description": "Fields available for query in `competitive_visibility_top_merchant_view` table. [Competitive visibility](https://support.google.com/merchants/answer/11366442) report with business with highest visibility. Values are only set for fields requested explicitly in the request's search query.", +"id": "CompetitiveVisibilityTopMerchantView", +"properties": { +"adsOrganicRatio": { +"description": "[Ads / organic ratio] (https://support.google.com/merchants/answer/11366442#zippy=%2Cads-free-ratio) shows how often the domain receives impressions from Shopping ads compared to organic traffic. The number is rounded and bucketed. Cannot be filtered on in the 'WHERE' clause.", +"format": "double", +"type": "number" +}, +"date": { +"$ref": "Date", +"description": "Date of this row. Cannot be selected in the `SELECT` clause. A condition on `date` is required in the `WHERE` clause." +}, +"domain": { +"description": "Domain of your competitor or your domain, if 'is_your_domain' is true. Required in the `SELECT` clause. Cannot be filtered on in the 'WHERE' clause.", +"type": "string" +}, +"higherPositionRate": { +"description": "[Higher position rate] (https://support.google.com/merchants/answer/11366442#zippy=%2Chigher-position-rate) shows how often a competitor\u2019s offer got placed in a higher position on the page than your offer. Cannot be filtered on in the 'WHERE' clause.", +"format": "double", +"type": "number" +}, +"isYourDomain": { +"description": "True if this row contains data for your domain. Cannot be filtered on in the 'WHERE' clause.", +"type": "boolean" +}, +"pageOverlapRate": { +"description": "[Page overlap rate] (https://support.google.com/merchants/answer/11366442#zippy=%2Cpage-overlap-rate) shows how frequently competing retailers\u2019 offers are shown together with your offers on the same page. Cannot be filtered on in the 'WHERE' clause.", +"format": "double", +"type": "number" +}, +"rank": { +"description": "Position of the domain in the top merchants ranking for the selected keys (`date`, `report_category_id`, `report_country_code`, `traffic_source`) based on impressions. 1 is the highest. Cannot be filtered on in the 'WHERE' clause.", +"format": "int64", +"type": "string" +}, +"reportCategoryId": { +"description": "Google product category ID to calculate the report for, represented in [Google's product taxonomy](https://support.google.com/merchants/answer/6324436). Required in the `SELECT` clause. A condition on `report_category_id` is required in the `WHERE` clause.", +"format": "int64", +"type": "string" +}, +"reportCountryCode": { +"description": "Country where impressions appeared. Required in the `SELECT` clause. A condition on `report_country_code` is required in the `WHERE` clause.", +"type": "string" +}, +"trafficSource": { +"description": "Traffic source of impressions. Required in the `SELECT` clause.", +"enum": [ +"TRAFFIC_SOURCE_ENUM_UNSPECIFIED", +"ORGANIC", +"ADS", +"ALL" +], +"enumDescriptions": [ +"Not specified.", +"Organic traffic.", +"Traffic from ads.", +"Organic and ads traffic." +], +"type": "string" +} +}, +"type": "object" +}, +"Date": { +"description": "Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following: * A full date, with non-zero year, month, and day values. * A month and day, with a zero year (for example, an anniversary). * A year on its own, with a zero month and a zero day. * A year and month, with a zero day (for example, a credit card expiration date). Related types: * google.type.TimeOfDay * google.type.DateTime * google.protobuf.Timestamp", +"id": "Date", +"properties": { +"day": { +"description": "Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn't significant.", +"format": "int32", +"type": "integer" +}, +"month": { +"description": "Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.", +"format": "int32", +"type": "integer" +}, +"year": { +"description": "Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"IssueSeverityPerReportingContext": { +"description": "Issue severity per reporting context.", +"id": "IssueSeverityPerReportingContext", +"properties": { +"demotedCountries": { +"description": "List of demoted countries in the reporting context, represented in ISO 3166 format.", +"items": { +"type": "string" +}, +"type": "array" +}, +"disapprovedCountries": { +"description": "List of disapproved countries in the reporting context, represented in ISO 3166 format.", +"items": { +"type": "string" +}, +"type": "array" +}, +"reportingContext": { +"description": "Reporting context the issue applies to.", +"enum": [ +"REPORTING_CONTEXT_ENUM_UNSPECIFIED", +"SHOPPING_ADS", +"DISCOVERY_ADS", +"DEMAND_GEN_ADS", +"DEMAND_GEN_ADS_DISCOVER_SURFACE", +"VIDEO_ADS", +"DISPLAY_ADS", +"LOCAL_INVENTORY_ADS", +"VEHICLE_INVENTORY_ADS", +"FREE_LISTINGS", +"FREE_LISTINGS_UCP_CHECKOUT", +"FREE_LOCAL_LISTINGS", +"FREE_LOCAL_VEHICLE_LISTINGS", +"YOUTUBE_AFFILIATE", +"YOUTUBE_SHOPPING", +"CLOUD_RETAIL", +"LOCAL_CLOUD_RETAIL", +"PRODUCT_REVIEWS", +"MERCHANT_REVIEWS", +"YOUTUBE_CHECKOUT" +], +"enumDeprecated": [ +false, +false, +true, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false +], +"enumDescriptions": [ +"Not specified.", +"[Shopping ads](https://support.google.com/merchants/answer/6149970).", +"Deprecated: Use `DEMAND_GEN_ADS` instead. [Discovery and Demand Gen ads](https://support.google.com/merchants/answer/13389785).", +"[Demand Gen ads](https://support.google.com/merchants/answer/13389785).", +"[Demand Gen ads on Discover surface](https://support.google.com/merchants/answer/13389785).", +"[Video ads](https://support.google.com/google-ads/answer/6340491).", +"[Display ads](https://support.google.com/merchants/answer/6069387).", +"[Local inventory ads](https://support.google.com/merchants/answer/3271956).", +"[Vehicle inventory ads](https://support.google.com/merchants/answer/11544533).", +"[Free product listings](https://support.google.com/merchants/answer/9199328).", +"[Free product listings on UCP checkout](https://developers.google.com/merchant/ucp).", +"[Free local product listings](https://support.google.com/merchants/answer/9825611).", +"[Free local vehicle listings](https://support.google.com/merchants/answer/11544533).", +"[Youtube Affiliate](https://support.google.com/youtube/answer/13376398).", +"[YouTube Shopping](https://support.google.com/merchants/answer/13478370).", +"[Cloud retail](https://cloud.google.com/solutions/retail).", +"[Local cloud retail](https://cloud.google.com/solutions/retail).", +"[Product Reviews](https://support.google.com/merchants/answer/14620732).", +"[Merchant Reviews](https://developers.google.com/merchant-review-feeds).", +"YouTube Checkout ." +], +"type": "string" +} +}, +"type": "object" +}, +"ItemIssue": { +"description": "Item issue associated with the product.", +"id": "ItemIssue", +"properties": { +"resolution": { +"description": "Item issue resolution.", +"enum": [ +"ITEM_ISSUE_RESOLUTION_UNSPECIFIED", +"MERCHANT_ACTION", +"PENDING_PROCESSING" +], +"enumDescriptions": [ +"Not specified.", +"The merchant has to fix the issue.", +"The issue will be resolved automatically (for example, image crawl) or through a Google review. No merchant action is required now. Resolution might lead to another issue (for example, if crawl fails)." +], +"type": "string" +}, +"severity": { +"$ref": "ItemIssueSeverity", +"description": "Item issue severity." +}, +"type": { +"$ref": "ItemIssueType", +"description": "Item issue type." +} +}, +"type": "object" +}, +"ItemIssueSeverity": { +"description": "How the issue affects the serving of the product.", +"id": "ItemIssueSeverity", +"properties": { +"aggregatedSeverity": { +"description": "Aggregated severity of the issue for all reporting contexts it affects. Reporting contexts included in the computation of the aggregated severity can be restricted using a filter on the `reporting_context` field. **This field can be used for filtering the results.**", +"enum": [ +"AGGREGATED_ISSUE_SEVERITY_UNSPECIFIED", +"DISAPPROVED", +"DEMOTED", +"PENDING" +], +"enumDescriptions": [ +"Not specified.", +"Issue disapproves the product in at least one reporting context.", +"Issue demotes the product in all reporting contexts it affects.", +"Issue resolution is `PENDING_PROCESSING`." +], +"type": "string" +}, +"severityPerReportingContext": { +"description": "Issue severity per reporting context. Reporting contexts included in this list can be restricted using a filter on the `reporting_context` field.", +"items": { +"$ref": "IssueSeverityPerReportingContext" +}, +"type": "array" +} +}, +"type": "object" +}, +"ItemIssueType": { +"description": "Issue type.", +"id": "ItemIssueType", +"properties": { +"canonicalAttribute": { +"description": "Canonical attribute name for attribute-specific issues.", +"type": "string" +}, +"code": { +"description": "Error code of the issue, equivalent to the `code` of [Product issues](https://developers.google.com/shopping-content/guides/product-issues).", +"type": "string" +} +}, +"type": "object" +}, +"NonProductPerformanceView": { +"description": "Fields available for query in `non_product_performance_view` table. Performance data on images and online store links leading to your non-product pages. This includes performance metrics (for example, `clicks`) and dimensions according to which performance metrics are segmented (for example, `date`). Segment fields cannot be selected in queries without also selecting at least one metric field. Values are only set for fields requested explicitly in the request's search query.", +"id": "NonProductPerformanceView", +"properties": { +"clickThroughRate": { +"description": "Click-through rate - the number of clicks (`clicks`) divided by the number of impressions (`impressions`) of images and online store links leading to your non-product pages. Metric.", +"format": "double", +"type": "number" +}, +"clicks": { +"description": "Number of clicks on images and online store links leading to your non-product pages. Metric.", +"format": "int64", +"type": "string" +}, +"date": { +"$ref": "Date", +"description": "Date in the merchant timezone to which metrics apply. Segment. Condition on `date` is required in the `WHERE` clause." +}, +"impressions": { +"description": "Number of times images and online store links leading to your non-product pages were shown. Metric.", +"format": "int64", +"type": "string" +}, +"week": { +"$ref": "Date", +"description": "First day of the week (Monday) of the metrics date in the merchant timezone. Segment." +} +}, +"type": "object" +}, +"Price": { +"description": "The price represented as a number and currency.", +"id": "Price", +"properties": { +"amountMicros": { +"description": "The price represented as a number in micros (1 million micros is an equivalent to one's currency standard unit, for example, 1 USD = 1000000 micros).", +"format": "int64", +"type": "string" +}, +"currencyCode": { +"description": "The currency of the price using three-letter acronyms according to [ISO 4217](http://en.wikipedia.org/wiki/ISO_4217).", +"type": "string" +} +}, +"type": "object" +}, +"PriceCompetitivenessProductView": { +"description": "Fields available for query in `price_competitiveness_product_view` table. [Price competitiveness](https://support.google.com/merchants/answer/9626903) report. Values are only set for fields requested explicitly in the request's search query.", +"id": "PriceCompetitivenessProductView", +"properties": { +"benchmarkPrice": { +"$ref": "Price", +"description": "Latest available price benchmark for the product's catalog in the benchmark country." +}, +"brand": { +"description": "Brand of the product.", +"type": "string" +}, +"categoryL1": { +"description": "Product category (1st level) in [Google's product taxonomy](https://support.google.com/merchants/answer/6324436).", +"type": "string" +}, +"categoryL2": { +"description": "Product category (2nd level) in [Google's product taxonomy](https://support.google.com/merchants/answer/6324436).", +"type": "string" +}, +"categoryL3": { +"description": "Product category (3rd level) in [Google's product taxonomy](https://support.google.com/merchants/answer/6324436).", +"type": "string" +}, +"categoryL4": { +"description": "Product category (4th level) in [Google's product taxonomy](https://support.google.com/merchants/answer/6324436).", +"type": "string" +}, +"categoryL5": { +"description": "Product category (5th level) in [Google's product taxonomy](https://support.google.com/merchants/answer/6324436).", +"type": "string" +}, +"id": { +"description": "REST ID of the product, in the form of `channel~languageCode~feedLabel~offerId`. Can be used to join data with the `product_view` table. Required in the `SELECT` clause.", +"type": "string" +}, +"offerId": { +"description": "Merchant-provided id of the product.", +"type": "string" +}, +"price": { +"$ref": "Price", +"description": "Current price of the product." +}, +"productTypeL1": { +"description": "Product type (1st level) in merchant's own [product taxonomy](https://support.google.com/merchants/answer/6324406).", +"type": "string" +}, +"productTypeL2": { +"description": "Product type (2nd level) in merchant's own [product taxonomy](https://support.google.com/merchants/answer/6324406).", +"type": "string" +}, +"productTypeL3": { +"description": "Product type (3rd level) in merchant's own [product taxonomy](https://support.google.com/merchants/answer/6324406).", +"type": "string" +}, +"productTypeL4": { +"description": "Product type (4th level) in merchant's own [product taxonomy](https://support.google.com/merchants/answer/6324406).", +"type": "string" +}, +"productTypeL5": { +"description": "Product type (5th level) in merchant's own [product taxonomy](https://support.google.com/merchants/answer/6324406).", +"type": "string" +}, +"reportCountryCode": { +"description": "Country of the price benchmark. Represented in the ISO 3166 format. Required in the `SELECT` clause.", +"type": "string" +}, +"title": { +"description": "Title of the product.", +"type": "string" +} +}, +"type": "object" +}, +"PriceInsightsProductView": { +"description": "Fields available for query in `price_insights_product_view` table. [Price insights](https://support.google.com/merchants/answer/11916926) report. Values are only set for fields requested explicitly in the request's search query.", +"id": "PriceInsightsProductView", +"properties": { +"brand": { +"description": "Brand of the product.", +"type": "string" +}, +"categoryL1": { +"description": "Product category (1st level) in [Google's product taxonomy](https://support.google.com/merchants/answer/6324436).", +"type": "string" +}, +"categoryL2": { +"description": "Product category (2nd level) in [Google's product taxonomy](https://support.google.com/merchants/answer/6324436).", +"type": "string" +}, +"categoryL3": { +"description": "Product category (3rd level) in [Google's product taxonomy](https://support.google.com/merchants/answer/6324436).", +"type": "string" +}, +"categoryL4": { +"description": "Product category (4th level) in [Google's product taxonomy](https://support.google.com/merchants/answer/6324436).", +"type": "string" +}, +"categoryL5": { +"description": "Product category (5th level) in [Google's product taxonomy](https://support.google.com/merchants/answer/6324436).", +"type": "string" +}, +"effectiveness": { +"description": "The predicted effectiveness of applying the price suggestion, bucketed.", +"enum": [ +"EFFECTIVENESS_UNSPECIFIED", +"LOW", +"MEDIUM", +"HIGH" +], +"enumDescriptions": [ +"Effectiveness is unknown.", +"Effectiveness is low.", +"Effectiveness is medium.", +"Effectiveness is high." +], +"type": "string" +}, +"id": { +"description": "REST ID of the product, in the form of `channel~languageCode~feedLabel~offerId`. Can be used to join data with the `product_view` table. Required in the `SELECT` clause.", +"type": "string" +}, +"offerId": { +"description": "Merchant-provided id of the product.", +"type": "string" +}, +"predictedClicksChangeFraction": { +"description": "Predicted change in clicks as a fraction after introducing the suggested price compared to current active price. For example, 0.05 is a 5% predicted increase in clicks.", +"format": "double", +"type": "number" +}, +"predictedConversionsChangeFraction": { +"description": "Predicted change in conversions as a fraction after introducing the suggested price compared to current active price. For example, 0.05 is a 5% predicted increase in conversions).", +"format": "double", +"type": "number" +}, +"predictedImpressionsChangeFraction": { +"description": "Predicted change in impressions as a fraction after introducing the suggested price compared to current active price. For example, 0.05 is a 5% predicted increase in impressions.", +"format": "double", +"type": "number" +}, +"price": { +"$ref": "Price", +"description": "Current price of the product." +}, +"productTypeL1": { +"description": "Product type (1st level) in merchant's own [product taxonomy](https://support.google.com/merchants/answer/6324406).", +"type": "string" +}, +"productTypeL2": { +"description": "Product type (2nd level) in merchant's own [product taxonomy](https://support.google.com/merchants/answer/6324406).", +"type": "string" +}, +"productTypeL3": { +"description": "Product type (3rd level) in merchant's own [product taxonomy](https://support.google.com/merchants/answer/6324406).", +"type": "string" +}, +"productTypeL4": { +"description": "Product type (4th level) in merchant's own [product taxonomy](https://support.google.com/merchants/answer/6324406).", +"type": "string" +}, +"productTypeL5": { +"description": "Product type (5th level) in merchant's own [product taxonomy](https://support.google.com/merchants/answer/6324406).", +"type": "string" +}, +"suggestedPrice": { +"$ref": "Price", +"description": "Latest suggested price for the product." +}, +"title": { +"description": "Title of the product.", +"type": "string" +} +}, +"type": "object" +}, +"ProductChange": { +"description": "The change that happened to the product including old value, new value, country code as the region code and reporting context.", +"id": "ProductChange", +"properties": { +"newValue": { +"description": "The new value of the changed resource or attribute. If empty, it means that the product was deleted. Will have one of these values : (`approved`, `pending`, `disapproved`, ``)", +"type": "string" +}, +"oldValue": { +"description": "The old value of the changed resource or attribute. If empty, it means that the product was created. Will have one of these values : (`approved`, `pending`, `disapproved`, ``)", +"type": "string" +}, +"regionCode": { +"description": "Countries that have the change (if applicable). Represented in the ISO 3166 format.", +"type": "string" +}, +"reportingContext": { +"description": "Reporting contexts that have the change (if applicable). Currently this field supports only (`SHOPPING_ADS`, `LOCAL_INVENTORY_ADS`, `YOUTUBE_SHOPPING`, `YOUTUBE_CHECKOUT`, `YOUTUBE_AFFILIATE`) from the enum value [ReportingContextEnum](/merchant/api/reference/rest/Shared.Types/ReportingContextEnum)", +"enum": [ +"REPORTING_CONTEXT_ENUM_UNSPECIFIED", +"SHOPPING_ADS", +"DISCOVERY_ADS", +"DEMAND_GEN_ADS", +"DEMAND_GEN_ADS_DISCOVER_SURFACE", +"VIDEO_ADS", +"DISPLAY_ADS", +"LOCAL_INVENTORY_ADS", +"VEHICLE_INVENTORY_ADS", +"FREE_LISTINGS", +"FREE_LISTINGS_UCP_CHECKOUT", +"FREE_LOCAL_LISTINGS", +"FREE_LOCAL_VEHICLE_LISTINGS", +"YOUTUBE_AFFILIATE", +"YOUTUBE_SHOPPING", +"CLOUD_RETAIL", +"LOCAL_CLOUD_RETAIL", +"PRODUCT_REVIEWS", +"MERCHANT_REVIEWS", +"YOUTUBE_CHECKOUT" +], +"enumDeprecated": [ +false, +false, +true, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false +], +"enumDescriptions": [ +"Not specified.", +"[Shopping ads](https://support.google.com/merchants/answer/6149970).", +"Deprecated: Use `DEMAND_GEN_ADS` instead. [Discovery and Demand Gen ads](https://support.google.com/merchants/answer/13389785).", +"[Demand Gen ads](https://support.google.com/merchants/answer/13389785).", +"[Demand Gen ads on Discover surface](https://support.google.com/merchants/answer/13389785).", +"[Video ads](https://support.google.com/google-ads/answer/6340491).", +"[Display ads](https://support.google.com/merchants/answer/6069387).", +"[Local inventory ads](https://support.google.com/merchants/answer/3271956).", +"[Vehicle inventory ads](https://support.google.com/merchants/answer/11544533).", +"[Free product listings](https://support.google.com/merchants/answer/9199328).", +"[Free product listings on UCP checkout](https://developers.google.com/merchant/ucp).", +"[Free local product listings](https://support.google.com/merchants/answer/9825611).", +"[Free local vehicle listings](https://support.google.com/merchants/answer/11544533).", +"[Youtube Affiliate](https://support.google.com/youtube/answer/13376398).", +"[YouTube Shopping](https://support.google.com/merchants/answer/13478370).", +"[Cloud retail](https://cloud.google.com/solutions/retail).", +"[Local cloud retail](https://cloud.google.com/solutions/retail).", +"[Product Reviews](https://support.google.com/merchants/answer/14620732).", +"[Merchant Reviews](https://developers.google.com/merchant-review-feeds).", +"YouTube Checkout ." +], +"type": "string" +} +}, +"type": "object" +}, +"ProductPerformanceView": { +"description": "Fields available for query in `product_performance_view` table. Product performance data for your account, including performance metrics (for example, `clicks`) and dimensions according to which performance metrics are segmented (for example, `offer_id`). Values of product dimensions, such as `offer_id`, reflect the state of a product at the time of the impression. Segment fields cannot be selected in queries without also selecting at least one metric field. Values are only set for fields requested explicitly in the request's search query.", +"id": "ProductPerformanceView", +"properties": { +"brand": { +"description": "Brand of the product. Segment.", +"type": "string" +}, +"categoryL1": { +"description": "[Product category (1st level)](https://developers.google.com/shopping-content/guides/reports/segmentation#category_and_product_type) in Google's product taxonomy. Segment.", +"type": "string" +}, +"categoryL2": { +"description": "[Product category (2nd level)](https://developers.google.com/shopping-content/guides/reports/segmentation#category_and_product_type) in Google's product taxonomy. Segment.", +"type": "string" +}, +"categoryL3": { +"description": "[Product category (3rd level)](https://developers.google.com/shopping-content/guides/reports/segmentation#category_and_product_type) in Google's product taxonomy. Segment.", +"type": "string" +}, +"categoryL4": { +"description": "[Product category (4th level)](https://developers.google.com/shopping-content/guides/reports/segmentation#category_and_product_type) in Google's product taxonomy. Segment.", +"type": "string" +}, +"categoryL5": { +"description": "[Product category (5th level)](https://developers.google.com/shopping-content/guides/reports/segmentation#category_and_product_type) in Google's product taxonomy. Segment.", +"type": "string" +}, +"clickThroughRate": { +"description": "Click-through rate - the number of clicks merchant's products receive (clicks) divided by the number of times the products are shown (impressions). Metric.", +"format": "double", +"type": "number" +}, +"clicks": { +"description": "Number of clicks. Metric.", +"format": "int64", +"type": "string" +}, +"conversionRate": { +"description": "Number of conversions divided by the number of clicks, reported on the impression date. Metric. Available only for the `FREE` traffic source.", +"format": "double", +"type": "number" +}, +"conversionValue": { +"$ref": "Price", +"description": "Value of conversions attributed to the product, reported on the conversion date. Metric. Available only for the `FREE` traffic source." +}, +"conversions": { +"description": "Number of conversions attributed to the product, reported on the conversion date. Depending on the attribution model, a conversion might be distributed across multiple clicks, where each click gets its own credit assigned. This metric is a sum of all such credits. Metric. Available only for the `FREE` traffic source.", +"format": "double", +"type": "number" +}, +"customLabel0": { +"description": "Custom label 0 for custom grouping of products. Segment.", +"type": "string" +}, +"customLabel1": { +"description": "Custom label 1 for custom grouping of products. Segment.", +"type": "string" +}, +"customLabel2": { +"description": "Custom label 2 for custom grouping of products. Segment.", +"type": "string" +}, +"customLabel3": { +"description": "Custom label 3 for custom grouping of products. Segment.", +"type": "string" +}, +"customLabel4": { +"description": "Custom label 4 for custom grouping of products. Segment.", +"type": "string" +}, +"customerCountryCode": { +"description": "Code of the country where the customer is located at the time of the event. Represented in the ISO 3166 format. Segment. If the customer country cannot be determined, a special 'ZZ' code is returned.", +"type": "string" +}, +"date": { +"$ref": "Date", +"description": "Date in the merchant timezone to which metrics apply. Segment. Condition on `date` is required in the `WHERE` clause." +}, +"impressions": { +"description": "Number of times merchant's products are shown. Metric.", +"format": "int64", +"type": "string" +}, +"marketingMethod": { +"description": "Marketing method to which metrics apply. Segment.", +"enum": [ +"MARKETING_METHOD_ENUM_UNSPECIFIED", +"ORGANIC", +"ADS" +], +"enumDescriptions": [ +"Not specified.", +"Organic marketing.", +"Ads-based marketing." +], +"type": "string" +}, +"offerId": { +"description": "Merchant-provided id of the product. Segment.", +"type": "string" +}, +"productTypeL1": { +"description": "[Product type (1st level)](https://developers.google.com/shopping-content/guides/reports/segmentation#category_and_product_type) in merchant's own product taxonomy. Segment.", +"type": "string" +}, +"productTypeL2": { +"description": "[Product type (2nd level)](https://developers.google.com/shopping-content/guides/reports/segmentation#category_and_product_type) in merchant's own product taxonomy. Segment.", +"type": "string" +}, +"productTypeL3": { +"description": "[Product type (3rd level)](https://developers.google.com/shopping-content/guides/reports/segmentation#category_and_product_type) in merchant's own product taxonomy. Segment.", +"type": "string" +}, +"productTypeL4": { +"description": "[Product type (4th level)](https://developers.google.com/shopping-content/guides/reports/segmentation#category_and_product_type) in merchant's own product taxonomy. Segment.", +"type": "string" +}, +"productTypeL5": { +"description": "[Product type (5th level)](https://developers.google.com/shopping-content/guides/reports/segmentation#category_and_product_type) in merchant's own product taxonomy. Segment.", +"type": "string" +}, +"title": { +"description": "Title of the product. Segment.", +"type": "string" +}, +"week": { +"$ref": "Date", +"description": "First day of the week (Monday) of the metrics date in the merchant timezone. Segment." +} +}, +"type": "object" +}, +"ProductStatusChangeMessage": { +"description": "The message that the merchant will receive to notify about product status change event", +"id": "ProductStatusChangeMessage", +"properties": { +"account": { +"description": "The target account that owns the entity that changed. Format : `accounts/{merchant_id}`", +"type": "string" +}, +"attribute": { +"description": "The attribute in the resource that changed, in this case it will be always `Status`.", +"enum": [ +"ATTRIBUTE_UNSPECIFIED", +"STATUS" +], +"enumDescriptions": [ +"Unspecified attribute", +"Status of the changed entity" +], +"type": "string" +}, +"changes": { +"description": "A message to describe the change that happened to the product", +"items": { +"$ref": "ProductChange" +}, +"type": "array" +}, +"eventTime": { +"description": "The time at which the event was generated. If you want to order the notification messages you receive you should rely on this field not on the order of receiving the notifications.", +"format": "google-datetime", +"type": "string" +}, +"expirationTime": { +"description": "Optional. The product expiration time. This field will not be set if the notification is sent for a product deletion event.", +"format": "google-datetime", +"type": "string" +}, +"managingAccount": { +"description": "The account that manages the merchant's account. can be the same as merchant id if it is standalone account. Format : `accounts/{service_provider_id}`", +"type": "string" +}, +"resource": { +"description": "The product name. Format: `accounts/{account}/products/{product}`", +"type": "string" +}, +"resourceId": { +"description": "The product id.", +"type": "string" +}, +"resourceType": { +"description": "The resource that changed, in this case it will always be `Product`.", +"enum": [ +"RESOURCE_UNSPECIFIED", +"PRODUCT" +], +"enumDescriptions": [ +"Unspecified resource", +"Resource type : product" +], +"type": "string" +} +}, +"type": "object" +}, +"ProductView": { +"description": "Fields available for query in `product_view` table. Products in the current inventory. Products in this table are the same as a [Product resource in Products sub-API](https://developers.google.com/merchant/api/reference/rest/products_v1/accounts.products) but not all product attributes from Products sub-API are available for query in this table. In contrast to Products sub-API, this table allows to filter the returned list of products by product attributes. To retrieve a single product by `id` or list all products, Products sub-API should be used. Values are only set for fields requested explicitly in the request's search query.", +"id": "ProductView", +"properties": { +"aggregatedReportingContextStatus": { +"description": "Aggregated status across all reporting contexts. Reporting contexts included in the computation of the aggregated status can be restricted using a filter on the `reporting_context` field.", +"enum": [ +"AGGREGATED_REPORTING_CONTEXT_STATUS_UNSPECIFIED", +"NOT_ELIGIBLE_OR_DISAPPROVED", +"PENDING", +"ELIGIBLE_LIMITED", +"ELIGIBLE" +], +"enumDescriptions": [ +"Not specified.", +"Product is not eligible or is disapproved for all reporting contexts and countries.", +"Product's status is pending in all reporting contexts and countries.", +"Product is eligible for some (but not all) reporting contexts and countries.", +"Product is eligible for all reporting contexts and countries." +], +"type": "string" +}, +"availability": { +"description": "[Availability](https://support.google.com/merchants/answer/6324448) of the product.", +"type": "string" +}, +"brand": { +"description": "Brand of the product.", +"type": "string" +}, +"categoryL1": { +"description": "Product category (1st level) in [Google's product taxonomy](https://support.google.com/merchants/answer/6324436).", +"type": "string" +}, +"categoryL2": { +"description": "Product category (2nd level) in [Google's product taxonomy](https://support.google.com/merchants/answer/6324436).", +"type": "string" +}, +"categoryL3": { +"description": "Product category (3rd level) in [Google's product taxonomy](https://support.google.com/merchants/answer/6324436).", +"type": "string" +}, +"categoryL4": { +"description": "Product category (4th level) in [Google's product taxonomy](https://support.google.com/merchants/answer/6324436).", +"type": "string" +}, +"categoryL5": { +"description": "Product category (5th level) in [Google's product taxonomy](https://support.google.com/merchants/answer/6324436).", +"type": "string" +}, +"channel": { +"description": "Channel of the product. Can be `ONLINE` or `LOCAL`.", +"enum": [ +"CHANNEL_ENUM_UNSPECIFIED", +"ONLINE", +"LOCAL" +], +"enumDescriptions": [ +"Not specified.", +"Online product.", +"Local product." +], +"type": "string" +}, +"clickPotential": { +"description": "Estimated performance potential compared to highest performing products of the merchant.", +"enum": [ +"CLICK_POTENTIAL_UNSPECIFIED", +"LOW", +"MEDIUM", +"HIGH" +], +"enumDescriptions": [ +"Unknown predicted clicks impact.", +"Potential to receive a low number of clicks compared to the highest performing products of the merchant.", +"Potential to receive a moderate number of clicks compared to the highest performing products of the merchant.", +"Potential to receive a similar number of clicks as the highest performing products of the merchant." +], +"type": "string" +}, +"clickPotentialRank": { +"description": "Normalized click potential of the product. Values range from 1 to 1000, where 1 is the highest click potential and 1000 is the theoretical lowest.", +"format": "int64", +"type": "string" +}, +"condition": { +"description": "[Condition](https://support.google.com/merchants/answer/6324469) of the product.", +"type": "string" +}, +"creationTime": { +"description": "The time the merchant created the product in timestamp seconds.", +"format": "google-datetime", +"type": "string" +}, +"expirationDate": { +"$ref": "Date", +"description": "Expiration date for the product, specified on insertion." +}, +"feedLabel": { +"description": "Feed label of the product.", +"type": "string" +}, +"gtin": { +"description": "List of Global Trade Item Numbers (GTINs) of the product.", +"items": { +"type": "string" +}, +"type": "array" +}, +"id": { +"description": "REST ID of the product, in the form of `channel~languageCode~feedLabel~offerId`. Merchant API methods that operate on products take this as their `name` parameter. Required in the `SELECT` clause.", +"type": "string" +}, +"itemGroupId": { +"description": "Item group id provided by the merchant for grouping variants together.", +"type": "string" +}, +"itemIssues": { +"description": "List of item issues for the product. **This field cannot be used for sorting the results.** **Only selected attributes of this field (for example, `item_issues.severity.aggregated_severity`) can be used for filtering the results.**", +"items": { +"$ref": "ItemIssue" +}, +"type": "array" +}, +"languageCode": { +"description": "Language code of the product in BCP 47 format.", +"type": "string" +}, +"offerId": { +"description": "Merchant-provided id of the product.", +"type": "string" +}, +"price": { +"$ref": "Price", +"description": "Product price. Absent if the information about the price of the product is not available." +}, +"productTypeL1": { +"description": "Product type (1st level) in merchant's own [product taxonomy](https://support.google.com/merchants/answer/6324406).", +"type": "string" +}, +"productTypeL2": { +"description": "Product type (2nd level) in merchant's own [product taxonomy](https://support.google.com/merchants/answer/6324406).", +"type": "string" +}, +"productTypeL3": { +"description": "Product type (3rd level) in merchant's own [product taxonomy](https://support.google.com/merchants/answer/6324406).", +"type": "string" +}, +"productTypeL4": { +"description": "Product type (4th level) in merchant's own [product taxonomy](https://support.google.com/merchants/answer/6324406).", +"type": "string" +}, +"productTypeL5": { +"description": "Product type (5th level) in merchant's own [product taxonomy](https://support.google.com/merchants/answer/6324406).", +"type": "string" +}, +"reportingContext": { +"description": "Reporting context to restrict the query to. Restricts the reporting contexts returned in `status_per_reporting_context` and `item_issues`, and used to compute `aggregated_reporting_context_status`. **This field can only be used in the `WHERE` clause and cannot be selected in the `SELECT` clause.**", +"enum": [ +"REPORTING_CONTEXT_ENUM_UNSPECIFIED", +"SHOPPING_ADS", +"DISCOVERY_ADS", +"DEMAND_GEN_ADS", +"DEMAND_GEN_ADS_DISCOVER_SURFACE", +"VIDEO_ADS", +"DISPLAY_ADS", +"LOCAL_INVENTORY_ADS", +"VEHICLE_INVENTORY_ADS", +"FREE_LISTINGS", +"FREE_LISTINGS_UCP_CHECKOUT", +"FREE_LOCAL_LISTINGS", +"FREE_LOCAL_VEHICLE_LISTINGS", +"YOUTUBE_AFFILIATE", +"YOUTUBE_SHOPPING", +"CLOUD_RETAIL", +"LOCAL_CLOUD_RETAIL", +"PRODUCT_REVIEWS", +"MERCHANT_REVIEWS", +"YOUTUBE_CHECKOUT" +], +"enumDeprecated": [ +false, +false, +true, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false +], +"enumDescriptions": [ +"Not specified.", +"[Shopping ads](https://support.google.com/merchants/answer/6149970).", +"Deprecated: Use `DEMAND_GEN_ADS` instead. [Discovery and Demand Gen ads](https://support.google.com/merchants/answer/13389785).", +"[Demand Gen ads](https://support.google.com/merchants/answer/13389785).", +"[Demand Gen ads on Discover surface](https://support.google.com/merchants/answer/13389785).", +"[Video ads](https://support.google.com/google-ads/answer/6340491).", +"[Display ads](https://support.google.com/merchants/answer/6069387).", +"[Local inventory ads](https://support.google.com/merchants/answer/3271956).", +"[Vehicle inventory ads](https://support.google.com/merchants/answer/11544533).", +"[Free product listings](https://support.google.com/merchants/answer/9199328).", +"[Free product listings on UCP checkout](https://developers.google.com/merchant/ucp).", +"[Free local product listings](https://support.google.com/merchants/answer/9825611).", +"[Free local vehicle listings](https://support.google.com/merchants/answer/11544533).", +"[Youtube Affiliate](https://support.google.com/youtube/answer/13376398).", +"[YouTube Shopping](https://support.google.com/merchants/answer/13478370).", +"[Cloud retail](https://cloud.google.com/solutions/retail).", +"[Local cloud retail](https://cloud.google.com/solutions/retail).", +"[Product Reviews](https://support.google.com/merchants/answer/14620732).", +"[Merchant Reviews](https://developers.google.com/merchant-review-feeds).", +"YouTube Checkout ." +], +"type": "string" +}, +"shippingLabel": { +"description": "Normalized [shipping label](https://support.google.com/merchants/answer/6324504) specified in the data source.", +"type": "string" +}, +"statusPerReportingContext": { +"description": "Detailed product status per reporting context. Reporting contexts included in this list can be restricted using a filter on the `reporting_context` field. Equivalent to `ProductStatus.destination_statuses` in Products API. **This field cannot be used for sorting or filtering the results.**", +"items": { +"$ref": "StatusPerReportingContext" +}, +"type": "array" +}, +"thumbnailLink": { +"description": "Link to the processed image of the product, hosted on the Google infrastructure.", +"type": "string" +}, +"title": { +"description": "Title of the product.", +"type": "string" +} +}, +"type": "object" +}, +"ReportRow": { +"description": "Result row returned from the search query. Only the message corresponding to the queried table is populated in the response. Within the populated message, only the fields requested explicitly in the query are populated.", +"id": "ReportRow", +"properties": { +"bestSellersBrandView": { +"$ref": "BestSellersBrandView", +"description": "Fields available for query in `best_sellers_brand_view` table." +}, +"bestSellersProductClusterView": { +"$ref": "BestSellersProductClusterView", +"description": "Fields available for query in `best_sellers_product_cluster_view` table." +}, +"competitiveVisibilityBenchmarkView": { +"$ref": "CompetitiveVisibilityBenchmarkView", +"description": "Fields available for query in `competitive_visibility_benchmark_view` table." +}, +"competitiveVisibilityCompetitorView": { +"$ref": "CompetitiveVisibilityCompetitorView", +"description": "Fields available for query in `competitive_visibility_competitor_view` table." +}, +"competitiveVisibilityTopMerchantView": { +"$ref": "CompetitiveVisibilityTopMerchantView", +"description": "Fields available for query in `competitive_visibility_top_merchant_view` table." +}, +"nonProductPerformanceView": { +"$ref": "NonProductPerformanceView", +"description": "Fields available for query in `non_product_performance_view` table." +}, +"priceCompetitivenessProductView": { +"$ref": "PriceCompetitivenessProductView", +"description": "Fields available for query in `price_competitiveness_product_view` table." +}, +"priceInsightsProductView": { +"$ref": "PriceInsightsProductView", +"description": "Fields available for query in `price_insights_product_view` table." +}, +"productPerformanceView": { +"$ref": "ProductPerformanceView", +"description": "Fields available for query in `product_performance_view` table." +}, +"productView": { +"$ref": "ProductView", +"description": "Fields available for query in `product_view` table." +} +}, +"type": "object" +}, +"SearchRequest": { +"description": "Request message for the `ReportService.Search` method.", +"id": "SearchRequest", +"properties": { +"pageSize": { +"description": "Optional. Number of `ReportRows` to retrieve in a single page. Defaults to 1000. Values above 100,000 are coerced to 100,000.", +"format": "int32", +"type": "integer" +}, +"pageToken": { +"description": "Optional. Token of the page to retrieve. If not specified, the first page of results is returned. In order to request the next page of results, the value obtained from `next_page_token` in the previous response should be used.", +"type": "string" +}, +"query": { +"description": "Required. Query that defines a report to be retrieved. For details on how to construct your query, see the [Query Language guide](/merchant/api/guides/reports/query-language). For the full list of available tables and fields, see the Available fields.", +"type": "string" +} +}, +"type": "object" +}, +"SearchResponse": { +"description": "Response message for the `ReportService.Search` method.", +"id": "SearchResponse", +"properties": { +"nextPageToken": { +"description": "Token which can be sent as `page_token` to retrieve the next page. If omitted, there are no subsequent pages.", +"type": "string" +}, +"results": { +"description": "Rows that matched the search query.", +"items": { +"$ref": "ReportRow" +}, +"type": "array" +} +}, +"type": "object" +}, +"StatusPerReportingContext": { +"description": "Status of the product for a specific reporting context. Equivalent to `DestinationStatus` in Products API.", +"id": "StatusPerReportingContext", +"properties": { +"approvedCountries": { +"description": "List of approved countries in the reporting context, represented in [ISO 3166](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) format, for example, `US`.", +"items": { +"type": "string" +}, +"type": "array" +}, +"disapprovedCountries": { +"description": "List of disapproved countries in the reporting context, represented in [ISO 3166](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) format, for example, `US`.", +"items": { +"type": "string" +}, +"type": "array" +}, +"pendingCountries": { +"description": "List of pending countries in the reporting context, represented in [ISO 3166](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) format, for example, `US`.", +"items": { +"type": "string" +}, +"type": "array" +}, +"reportingContext": { +"description": "Reporting context the status applies to.", +"enum": [ +"REPORTING_CONTEXT_ENUM_UNSPECIFIED", +"SHOPPING_ADS", +"DISCOVERY_ADS", +"DEMAND_GEN_ADS", +"DEMAND_GEN_ADS_DISCOVER_SURFACE", +"VIDEO_ADS", +"DISPLAY_ADS", +"LOCAL_INVENTORY_ADS", +"VEHICLE_INVENTORY_ADS", +"FREE_LISTINGS", +"FREE_LISTINGS_UCP_CHECKOUT", +"FREE_LOCAL_LISTINGS", +"FREE_LOCAL_VEHICLE_LISTINGS", +"YOUTUBE_AFFILIATE", +"YOUTUBE_SHOPPING", +"CLOUD_RETAIL", +"LOCAL_CLOUD_RETAIL", +"PRODUCT_REVIEWS", +"MERCHANT_REVIEWS", +"YOUTUBE_CHECKOUT" +], +"enumDeprecated": [ +false, +false, +true, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false +], +"enumDescriptions": [ +"Not specified.", +"[Shopping ads](https://support.google.com/merchants/answer/6149970).", +"Deprecated: Use `DEMAND_GEN_ADS` instead. [Discovery and Demand Gen ads](https://support.google.com/merchants/answer/13389785).", +"[Demand Gen ads](https://support.google.com/merchants/answer/13389785).", +"[Demand Gen ads on Discover surface](https://support.google.com/merchants/answer/13389785).", +"[Video ads](https://support.google.com/google-ads/answer/6340491).", +"[Display ads](https://support.google.com/merchants/answer/6069387).", +"[Local inventory ads](https://support.google.com/merchants/answer/3271956).", +"[Vehicle inventory ads](https://support.google.com/merchants/answer/11544533).", +"[Free product listings](https://support.google.com/merchants/answer/9199328).", +"[Free product listings on UCP checkout](https://developers.google.com/merchant/ucp).", +"[Free local product listings](https://support.google.com/merchants/answer/9825611).", +"[Free local vehicle listings](https://support.google.com/merchants/answer/11544533).", +"[Youtube Affiliate](https://support.google.com/youtube/answer/13376398).", +"[YouTube Shopping](https://support.google.com/merchants/answer/13478370).", +"[Cloud retail](https://cloud.google.com/solutions/retail).", +"[Local cloud retail](https://cloud.google.com/solutions/retail).", +"[Product Reviews](https://support.google.com/merchants/answer/14620732).", +"[Merchant Reviews](https://developers.google.com/merchant-review-feeds).", +"YouTube Checkout ." +], +"type": "string" +} +}, +"type": "object" +} +}, +"servicePath": "", +"title": "Merchant API", +"version": "reports_v1beta", +"version_module": true +} \ No newline at end of file diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/metastore.v1.json b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/metastore.v1.json new file mode 100644 index 0000000000000000000000000000000000000000..837b79653ad700f58c26588abbefc61360140def --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/metastore.v1.json @@ -0,0 +1,3645 @@ +{ +"auth": { +"oauth2": { +"scopes": { +"https://www.googleapis.com/auth/cloud-platform": { +"description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." +} +} +} +}, +"basePath": "", +"baseUrl": "https://metastore.googleapis.com/", +"batchPath": "batch", +"canonicalName": "Dataproc Metastore", +"description": "The Dataproc Metastore API is used to manage the lifecycle and configuration of metastore services.", +"discoveryVersion": "v1", +"documentationLink": "https://cloud.google.com/dataproc-metastore/docs", +"fullyEncodeReservedExpansion": true, +"icons": { +"x16": "http://www.google.com/images/icons/product/search-16.gif", +"x32": "http://www.google.com/images/icons/product/search-32.gif" +}, +"id": "metastore:v1", +"kind": "discovery#restDescription", +"mtlsRootUrl": "https://metastore.mtls.googleapis.com/", +"name": "metastore", +"ownerDomain": "google.com", +"ownerName": "Google", +"parameters": { +"$.xgafv": { +"description": "V1 error format.", +"enum": [ +"1", +"2" +], +"enumDescriptions": [ +"v1 error format", +"v2 error format" +], +"location": "query", +"type": "string" +}, +"access_token": { +"description": "OAuth access token.", +"location": "query", +"type": "string" +}, +"alt": { +"default": "json", +"description": "Data format for response.", +"enum": [ +"json", +"media", +"proto" +], +"enumDescriptions": [ +"Responses with Content-Type of application/json", +"Media download with context-dependent Content-Type", +"Responses with Content-Type of application/x-protobuf" +], +"location": "query", +"type": "string" +}, +"callback": { +"description": "JSONP", +"location": "query", +"type": "string" +}, +"fields": { +"description": "Selector specifying which fields to include in a partial response.", +"location": "query", +"type": "string" +}, +"key": { +"description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", +"location": "query", +"type": "string" +}, +"oauth_token": { +"description": "OAuth 2.0 token for the current user.", +"location": "query", +"type": "string" +}, +"prettyPrint": { +"default": "true", +"description": "Returns response with indentations and line breaks.", +"location": "query", +"type": "boolean" +}, +"quotaUser": { +"description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.", +"location": "query", +"type": "string" +}, +"uploadType": { +"description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", +"location": "query", +"type": "string" +}, +"upload_protocol": { +"description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", +"location": "query", +"type": "string" +} +}, +"protocol": "rest", +"resources": { +"projects": { +"resources": { +"locations": { +"methods": { +"get": { +"description": "Gets information about a location.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}", +"httpMethod": "GET", +"id": "metastore.projects.locations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Resource name for the location.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Location" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists information about the supported locations for this service. This method can be called in two ways: List all public locations: Use the path GET /v1/locations. List project-visible locations: Use the path GET /v1/projects/{project_id}/locations. This may include public locations as well as private or other locations specifically visible to the project.", +"flatPath": "v1/projects/{projectsId}/locations", +"httpMethod": "GET", +"id": "metastore.projects.locations.list", +"parameterOrder": [ +"name" +], +"parameters": { +"extraLocationTypes": { +"description": "Optional. Do not use this field. It is unsupported and is ignored unless explicitly documented otherwise. This is primarily for internal usage.", +"location": "query", +"repeated": true, +"type": "string" +}, +"filter": { +"description": "A filter to narrow down results to a preferred subset. The filtering language accepts strings like \"displayName=tokyo\", and is documented in more detail in AIP-160 (https://google.aip.dev/160).", +"location": "query", +"type": "string" +}, +"name": { +"description": "The resource that owns the locations collection, if applicable.", +"location": "path", +"pattern": "^projects/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The maximum number of results to return. If not set, the service selects a default.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A page token received from the next_page_token field in the response. Send that page token to receive the subsequent page.", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}/locations", +"response": { +"$ref": "ListLocationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"federations": { +"methods": { +"create": { +"description": "Creates a metastore federation in a project and location.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/federations", +"httpMethod": "POST", +"id": "metastore.projects.locations.federations.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"federationId": { +"description": "Required. The ID of the metastore federation, which is used as the final component of the metastore federation's name.This value must be between 2 and 63 characters long inclusive, begin with a letter, end with a letter or number, and consist of alpha-numeric ASCII characters or hyphens.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The relative resource name of the location in which to create a federation service, in the following form:projects/{project_number}/locations/{location_id}.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "Optional. A request ID. Specify a unique request ID to allow the server to ignore the request if it has completed. The server will ignore subsequent requests that provide a duplicate request ID for at least 60 minutes after the first request.For example, if an initial request times out, followed by another request with the same request ID, the server ignores the second request to prevent the creation of duplicate commitments.The request ID must be a valid UUID (https://en.wikipedia.org/wiki/Universally_unique_identifier#Format) A zero UUID (00000000-0000-0000-0000-000000000000) is not supported.", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+parent}/federations", +"request": { +"$ref": "Federation" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a single federation.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/federations/{federationsId}", +"httpMethod": "DELETE", +"id": "metastore.projects.locations.federations.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The relative resource name of the metastore federation to delete, in the following form:projects/{project_number}/locations/{location_id}/federations/{federation_id}.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/federations/[^/]+$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "Optional. A request ID. Specify a unique request ID to allow the server to ignore the request if it has completed. The server will ignore subsequent requests that provide a duplicate request ID for at least 60 minutes after the first request.For example, if an initial request times out, followed by another request with the same request ID, the server ignores the second request to prevent the creation of duplicate commitments.The request ID must be a valid UUID (https://en.wikipedia.org/wiki/Universally_unique_identifier#Format) A zero UUID (00000000-0000-0000-0000-000000000000) is not supported.", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets the details of a single federation.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/federations/{federationsId}", +"httpMethod": "GET", +"id": "metastore.projects.locations.federations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The relative resource name of the metastore federation to retrieve, in the following form:projects/{project_number}/locations/{location_id}/federations/{federation_id}.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/federations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Federation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"getIamPolicy": { +"description": "Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/federations/{federationsId}:getIamPolicy", +"httpMethod": "GET", +"id": "metastore.projects.locations.federations.getIamPolicy", +"parameterOrder": [ +"resource" +], +"parameters": { +"options.requestedPolicyVersion": { +"description": "Optional. The maximum policy version that will be used to format the policy.Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected.Requests for policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset.The policy in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional role bindings, the response uses version 1.To learn which resources support conditions in their IAM policies, see the IAM documentation (https://cloud.google.com/iam/help/conditions/resource-policies).", +"format": "int32", +"location": "query", +"type": "integer" +}, +"resource": { +"description": "REQUIRED: The resource for which the policy is being requested. See Resource names (https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/federations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+resource}:getIamPolicy", +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists federations in a project and location.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/federations", +"httpMethod": "GET", +"id": "metastore.projects.locations.federations.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Optional. The filter to apply to list results.", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "Optional. Specify the ordering of results as described in Sorting Order (https://cloud.google.com/apis/design/design_patterns#sorting_order). If not specified, the results will be sorted in the default order.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Optional. The maximum number of federations to return. The response may contain less than the maximum number. If unspecified, no more than 500 services are returned. The maximum value is 1000; values above 1000 are changed to 1000.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. A page token, received from a previous ListFederationServices call. Provide this token to retrieve the subsequent page.To retrieve the first page, supply an empty page token.When paginating, other parameters provided to ListFederationServices must match the call that provided the page token.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The relative resource name of the location of metastore federations to list, in the following form: projects/{project_number}/locations/{location_id}.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/federations", +"response": { +"$ref": "ListFederationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates the fields of a federation.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/federations/{federationsId}", +"httpMethod": "PATCH", +"id": "metastore.projects.locations.federations.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Immutable. The relative resource name of the federation, of the form: projects/{project_number}/locations/{location_id}/federations/{federation_id}`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/federations/[^/]+$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "Optional. A request ID. Specify a unique request ID to allow the server to ignore the request if it has completed. The server will ignore subsequent requests that provide a duplicate request ID for at least 60 minutes after the first request.For example, if an initial request times out, followed by another request with the same request ID, the server ignores the second request to prevent the creation of duplicate commitments.The request ID must be a valid UUID (https://en.wikipedia.org/wiki/Universally_unique_identifier#Format) A zero UUID (00000000-0000-0000-0000-000000000000) is not supported.", +"location": "query", +"type": "string" +}, +"updateMask": { +"description": "Required. A field mask used to specify the fields to be overwritten in the metastore federation resource by the update. Fields specified in the update_mask are relative to the resource (not to the full request). A field is overwritten if it is in the mask.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "Federation" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"setIamPolicy": { +"description": "Sets the access control policy on the specified resource. Replaces any existing policy.Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED errors.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/federations/{federationsId}:setIamPolicy", +"httpMethod": "POST", +"id": "metastore.projects.locations.federations.setIamPolicy", +"parameterOrder": [ +"resource" +], +"parameters": { +"resource": { +"description": "REQUIRED: The resource for which the policy is being specified. See Resource names (https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/federations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+resource}:setIamPolicy", +"request": { +"$ref": "SetIamPolicyRequest" +}, +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"testIamPermissions": { +"description": "Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a NOT_FOUND error.Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may \"fail open\" without warning.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/federations/{federationsId}:testIamPermissions", +"httpMethod": "POST", +"id": "metastore.projects.locations.federations.testIamPermissions", +"parameterOrder": [ +"resource" +], +"parameters": { +"resource": { +"description": "REQUIRED: The resource for which the policy detail is being requested. See Resource names (https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/federations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+resource}:testIamPermissions", +"request": { +"$ref": "TestIamPermissionsRequest" +}, +"response": { +"$ref": "TestIamPermissionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"operations": { +"methods": { +"cancel": { +"description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns google.rpc.Code.UNIMPLEMENTED. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of 1, corresponding to Code.CANCELLED.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}:cancel", +"httpMethod": "POST", +"id": "metastore.projects.locations.operations.cancel", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be cancelled.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:cancel", +"request": { +"$ref": "CancelOperationRequest" +}, +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns google.rpc.Code.UNIMPLEMENTED.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}", +"httpMethod": "DELETE", +"id": "metastore.projects.locations.operations.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be deleted.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}", +"httpMethod": "GET", +"id": "metastore.projects.locations.operations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns UNIMPLEMENTED.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/operations", +"httpMethod": "GET", +"id": "metastore.projects.locations.operations.list", +"parameterOrder": [ +"name" +], +"parameters": { +"filter": { +"description": "The standard list filter.", +"location": "query", +"type": "string" +}, +"name": { +"description": "The name of the operation's parent resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The standard list page size.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The standard list page token.", +"location": "query", +"type": "string" +}, +"returnPartialSuccess": { +"description": "When set to true, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field.This can only be true when reading across collections. For example, when parent is set to \"projects/example/locations/-\".This field is not supported by default and will result in an UNIMPLEMENTED error if set unless explicitly documented otherwise in service or product specific documentation.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1/{+name}/operations", +"response": { +"$ref": "ListOperationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"services": { +"methods": { +"alterLocation": { +"description": "Alter metadata resource location. The metadata resource can be a database, table, or partition. This functionality only updates the parent directory for the respective metadata resource and does not transfer any existing data to the new location.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/services/{servicesId}:alterLocation", +"httpMethod": "POST", +"id": "metastore.projects.locations.services.alterLocation", +"parameterOrder": [ +"service" +], +"parameters": { +"service": { +"description": "Required. The relative resource name of the metastore service to mutate metadata, in the following format:projects/{project_id}/locations/{location_id}/services/{service_id}.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/services/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+service}:alterLocation", +"request": { +"$ref": "AlterMetadataResourceLocationRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"alterTableProperties": { +"description": "Alter metadata table properties.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/services/{servicesId}:alterTableProperties", +"httpMethod": "POST", +"id": "metastore.projects.locations.services.alterTableProperties", +"parameterOrder": [ +"service" +], +"parameters": { +"service": { +"description": "Required. The relative resource name of the Dataproc Metastore service that's being used to mutate metadata table properties, in the following format:projects/{project_id}/locations/{location_id}/services/{service_id}.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/services/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+service}:alterTableProperties", +"request": { +"$ref": "AlterTablePropertiesRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"cancelMigration": { +"description": "Cancels the ongoing Managed Migration process.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/services/{servicesId}:cancelMigration", +"httpMethod": "POST", +"id": "metastore.projects.locations.services.cancelMigration", +"parameterOrder": [ +"service" +], +"parameters": { +"service": { +"description": "Required. The relative resource name of the metastore service to cancel the ongoing migration to, in the following format:projects/{project_id}/locations/{location_id}/services/{service_id}.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/services/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+service}:cancelMigration", +"request": { +"$ref": "CancelMigrationRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"completeMigration": { +"description": "Completes the managed migration process. The Dataproc Metastore service will switch to using its own backend database after successful migration.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/services/{servicesId}:completeMigration", +"httpMethod": "POST", +"id": "metastore.projects.locations.services.completeMigration", +"parameterOrder": [ +"service" +], +"parameters": { +"service": { +"description": "Required. The relative resource name of the metastore service to complete the migration to, in the following format:projects/{project_id}/locations/{location_id}/services/{service_id}.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/services/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+service}:completeMigration", +"request": { +"$ref": "CompleteMigrationRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"create": { +"description": "Creates a metastore service in a project and location.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/services", +"httpMethod": "POST", +"id": "metastore.projects.locations.services.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The relative resource name of the location in which to create a metastore service, in the following form:projects/{project_number}/locations/{location_id}.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "Optional. A request ID. Specify a unique request ID to allow the server to ignore the request if it has completed. The server will ignore subsequent requests that provide a duplicate request ID for at least 60 minutes after the first request.For example, if an initial request times out, followed by another request with the same request ID, the server ignores the second request to prevent the creation of duplicate commitments.The request ID must be a valid UUID (https://en.wikipedia.org/wiki/Universally_unique_identifier#Format) A zero UUID (00000000-0000-0000-0000-000000000000) is not supported.", +"location": "query", +"type": "string" +}, +"serviceId": { +"description": "Required. The ID of the metastore service, which is used as the final component of the metastore service's name.This value must be between 2 and 63 characters long inclusive, begin with a letter, end with a letter or number, and consist of alpha-numeric ASCII characters or hyphens.", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+parent}/services", +"request": { +"$ref": "Service" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a single service.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/services/{servicesId}", +"httpMethod": "DELETE", +"id": "metastore.projects.locations.services.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The relative resource name of the metastore service to delete, in the following form:projects/{project_number}/locations/{location_id}/services/{service_id}.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/services/[^/]+$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "Optional. A request ID. Specify a unique request ID to allow the server to ignore the request if it has completed. The server will ignore subsequent requests that provide a duplicate request ID for at least 60 minutes after the first request.For example, if an initial request times out, followed by another request with the same request ID, the server ignores the second request to prevent the creation of duplicate commitments.The request ID must be a valid UUID (https://en.wikipedia.org/wiki/Universally_unique_identifier#Format) A zero UUID (00000000-0000-0000-0000-000000000000) is not supported.", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"exportMetadata": { +"description": "Exports metadata from a service.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/services/{servicesId}:exportMetadata", +"httpMethod": "POST", +"id": "metastore.projects.locations.services.exportMetadata", +"parameterOrder": [ +"service" +], +"parameters": { +"service": { +"description": "Required. The relative resource name of the metastore service to run export, in the following form:projects/{project_id}/locations/{location_id}/services/{service_id}.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/services/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+service}:exportMetadata", +"request": { +"$ref": "ExportMetadataRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets the details of a single service.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/services/{servicesId}", +"httpMethod": "GET", +"id": "metastore.projects.locations.services.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The relative resource name of the metastore service to retrieve, in the following form:projects/{project_number}/locations/{location_id}/services/{service_id}.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/services/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Service" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"getIamPolicy": { +"description": "Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/services/{servicesId}:getIamPolicy", +"httpMethod": "GET", +"id": "metastore.projects.locations.services.getIamPolicy", +"parameterOrder": [ +"resource" +], +"parameters": { +"options.requestedPolicyVersion": { +"description": "Optional. The maximum policy version that will be used to format the policy.Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected.Requests for policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset.The policy in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional role bindings, the response uses version 1.To learn which resources support conditions in their IAM policies, see the IAM documentation (https://cloud.google.com/iam/help/conditions/resource-policies).", +"format": "int32", +"location": "query", +"type": "integer" +}, +"resource": { +"description": "REQUIRED: The resource for which the policy is being requested. See Resource names (https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/services/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+resource}:getIamPolicy", +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists services in a project and location.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/services", +"httpMethod": "GET", +"id": "metastore.projects.locations.services.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Optional. The filter to apply to list results.", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "Optional. Specify the ordering of results as described in Sorting Order (https://cloud.google.com/apis/design/design_patterns#sorting_order). If not specified, the results will be sorted in the default order.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Optional. The maximum number of services to return. The response may contain less than the maximum number. If unspecified, no more than 500 services are returned. The maximum value is 1000; values above 1000 are changed to 1000.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. A page token, received from a previous DataprocMetastore.ListServices call. Provide this token to retrieve the subsequent page.To retrieve the first page, supply an empty page token.When paginating, other parameters provided to DataprocMetastore.ListServices must match the call that provided the page token.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The relative resource name of the location of metastore services to list, in the following form:projects/{project_number}/locations/{location_id}.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/services", +"response": { +"$ref": "ListServicesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"moveTableToDatabase": { +"description": "Move a table to another database.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/services/{servicesId}:moveTableToDatabase", +"httpMethod": "POST", +"id": "metastore.projects.locations.services.moveTableToDatabase", +"parameterOrder": [ +"service" +], +"parameters": { +"service": { +"description": "Required. The relative resource name of the metastore service to mutate metadata, in the following format:projects/{project_id}/locations/{location_id}/services/{service_id}.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/services/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+service}:moveTableToDatabase", +"request": { +"$ref": "MoveTableToDatabaseRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates the parameters of a single service.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/services/{servicesId}", +"httpMethod": "PATCH", +"id": "metastore.projects.locations.services.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Immutable. Identifier. The relative resource name of the metastore service, in the following format:projects/{project_number}/locations/{location_id}/services/{service_id}.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/services/[^/]+$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "Optional. A request ID. Specify a unique request ID to allow the server to ignore the request if it has completed. The server will ignore subsequent requests that provide a duplicate request ID for at least 60 minutes after the first request.For example, if an initial request times out, followed by another request with the same request ID, the server ignores the second request to prevent the creation of duplicate commitments.The request ID must be a valid UUID (https://en.wikipedia.org/wiki/Universally_unique_identifier#Format) A zero UUID (00000000-0000-0000-0000-000000000000) is not supported.", +"location": "query", +"type": "string" +}, +"updateMask": { +"description": "Required. A field mask used to specify the fields to be overwritten in the metastore service resource by the update. Fields specified in the update_mask are relative to the resource (not to the full request). A field is overwritten if it is in the mask.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "Service" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"queryMetadata": { +"description": "Query Dataproc Metastore metadata.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/services/{servicesId}:queryMetadata", +"httpMethod": "POST", +"id": "metastore.projects.locations.services.queryMetadata", +"parameterOrder": [ +"service" +], +"parameters": { +"service": { +"description": "Required. The relative resource name of the metastore service to query metadata, in the following format:projects/{project_id}/locations/{location_id}/services/{service_id}.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/services/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+service}:queryMetadata", +"request": { +"$ref": "QueryMetadataRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"restore": { +"description": "Restores a service from a backup.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/services/{servicesId}:restore", +"httpMethod": "POST", +"id": "metastore.projects.locations.services.restore", +"parameterOrder": [ +"service" +], +"parameters": { +"service": { +"description": "Required. The relative resource name of the metastore service to run restore, in the following form:projects/{project_id}/locations/{location_id}/services/{service_id}.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/services/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+service}:restore", +"request": { +"$ref": "RestoreServiceRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"setIamPolicy": { +"description": "Sets the access control policy on the specified resource. Replaces any existing policy.Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED errors.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/services/{servicesId}:setIamPolicy", +"httpMethod": "POST", +"id": "metastore.projects.locations.services.setIamPolicy", +"parameterOrder": [ +"resource" +], +"parameters": { +"resource": { +"description": "REQUIRED: The resource for which the policy is being specified. See Resource names (https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/services/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+resource}:setIamPolicy", +"request": { +"$ref": "SetIamPolicyRequest" +}, +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"startMigration": { +"description": "Starts the Managed Migration process.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/services/{servicesId}:startMigration", +"httpMethod": "POST", +"id": "metastore.projects.locations.services.startMigration", +"parameterOrder": [ +"service" +], +"parameters": { +"service": { +"description": "Required. The relative resource name of the metastore service to start migrating to, in the following format:projects/{project_id}/locations/{location_id}/services/{service_id}.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/services/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+service}:startMigration", +"request": { +"$ref": "StartMigrationRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"testIamPermissions": { +"description": "Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a NOT_FOUND error.Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may \"fail open\" without warning.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/services/{servicesId}:testIamPermissions", +"httpMethod": "POST", +"id": "metastore.projects.locations.services.testIamPermissions", +"parameterOrder": [ +"resource" +], +"parameters": { +"resource": { +"description": "REQUIRED: The resource for which the policy detail is being requested. See Resource names (https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/services/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+resource}:testIamPermissions", +"request": { +"$ref": "TestIamPermissionsRequest" +}, +"response": { +"$ref": "TestIamPermissionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"backups": { +"methods": { +"create": { +"description": "Creates a new backup in a given project and location.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/services/{servicesId}/backups", +"httpMethod": "POST", +"id": "metastore.projects.locations.services.backups.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"backupId": { +"description": "Required. The ID of the backup, which is used as the final component of the backup's name.This value must be between 1 and 64 characters long, begin with a letter, end with a letter or number, and consist of alpha-numeric ASCII characters or hyphens.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The relative resource name of the service in which to create a backup of the following form:projects/{project_number}/locations/{location_id}/services/{service_id}.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/services/[^/]+$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "Optional. A request ID. Specify a unique request ID to allow the server to ignore the request if it has completed. The server will ignore subsequent requests that provide a duplicate request ID for at least 60 minutes after the first request.For example, if an initial request times out, followed by another request with the same request ID, the server ignores the second request to prevent the creation of duplicate commitments.The request ID must be a valid UUID (https://en.wikipedia.org/wiki/Universally_unique_identifier#Format) A zero UUID (00000000-0000-0000-0000-000000000000) is not supported.", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+parent}/backups", +"request": { +"$ref": "Backup" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a single backup.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/services/{servicesId}/backups/{backupsId}", +"httpMethod": "DELETE", +"id": "metastore.projects.locations.services.backups.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The relative resource name of the backup to delete, in the following form:projects/{project_number}/locations/{location_id}/services/{service_id}/backups/{backup_id}.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/services/[^/]+/backups/[^/]+$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "Optional. A request ID. Specify a unique request ID to allow the server to ignore the request if it has completed. The server will ignore subsequent requests that provide a duplicate request ID for at least 60 minutes after the first request.For example, if an initial request times out, followed by another request with the same request ID, the server ignores the second request to prevent the creation of duplicate commitments.The request ID must be a valid UUID (https://en.wikipedia.org/wiki/Universally_unique_identifier#Format) A zero UUID (00000000-0000-0000-0000-000000000000) is not supported.", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets details of a single backup.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/services/{servicesId}/backups/{backupsId}", +"httpMethod": "GET", +"id": "metastore.projects.locations.services.backups.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The relative resource name of the backup to retrieve, in the following form:projects/{project_number}/locations/{location_id}/services/{service_id}/backups/{backup_id}.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/services/[^/]+/backups/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Backup" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"getIamPolicy": { +"description": "Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/services/{servicesId}/backups/{backupsId}:getIamPolicy", +"httpMethod": "GET", +"id": "metastore.projects.locations.services.backups.getIamPolicy", +"parameterOrder": [ +"resource" +], +"parameters": { +"options.requestedPolicyVersion": { +"description": "Optional. The maximum policy version that will be used to format the policy.Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected.Requests for policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset.The policy in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional role bindings, the response uses version 1.To learn which resources support conditions in their IAM policies, see the IAM documentation (https://cloud.google.com/iam/help/conditions/resource-policies).", +"format": "int32", +"location": "query", +"type": "integer" +}, +"resource": { +"description": "REQUIRED: The resource for which the policy is being requested. See Resource names (https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/services/[^/]+/backups/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+resource}:getIamPolicy", +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists backups in a service.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/services/{servicesId}/backups", +"httpMethod": "GET", +"id": "metastore.projects.locations.services.backups.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Optional. The filter to apply to list results.", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "Optional. Specify the ordering of results as described in Sorting Order (https://cloud.google.com/apis/design/design_patterns#sorting_order). If not specified, the results will be sorted in the default order.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Optional. The maximum number of backups to return. The response may contain less than the maximum number. If unspecified, no more than 500 backups are returned. The maximum value is 1000; values above 1000 are changed to 1000.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. A page token, received from a previous DataprocMetastore.ListBackups call. Provide this token to retrieve the subsequent page.To retrieve the first page, supply an empty page token.When paginating, other parameters provided to DataprocMetastore.ListBackups must match the call that provided the page token.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The relative resource name of the service whose backups to list, in the following form:projects/{project_number}/locations/{location_id}/services/{service_id}/backups.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/services/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/backups", +"response": { +"$ref": "ListBackupsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"setIamPolicy": { +"description": "Sets the access control policy on the specified resource. Replaces any existing policy.Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED errors.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/services/{servicesId}/backups/{backupsId}:setIamPolicy", +"httpMethod": "POST", +"id": "metastore.projects.locations.services.backups.setIamPolicy", +"parameterOrder": [ +"resource" +], +"parameters": { +"resource": { +"description": "REQUIRED: The resource for which the policy is being specified. See Resource names (https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/services/[^/]+/backups/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+resource}:setIamPolicy", +"request": { +"$ref": "SetIamPolicyRequest" +}, +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"databases": { +"methods": { +"getIamPolicy": { +"description": "Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/services/{servicesId}/databases/{databasesId}:getIamPolicy", +"httpMethod": "GET", +"id": "metastore.projects.locations.services.databases.getIamPolicy", +"parameterOrder": [ +"resource" +], +"parameters": { +"options.requestedPolicyVersion": { +"description": "Optional. The maximum policy version that will be used to format the policy.Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected.Requests for policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset.The policy in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional role bindings, the response uses version 1.To learn which resources support conditions in their IAM policies, see the IAM documentation (https://cloud.google.com/iam/help/conditions/resource-policies).", +"format": "int32", +"location": "query", +"type": "integer" +}, +"resource": { +"description": "REQUIRED: The resource for which the policy is being requested. See Resource names (https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/services/[^/]+/databases/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+resource}:getIamPolicy", +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"setIamPolicy": { +"description": "Sets the access control policy on the specified resource. Replaces any existing policy.Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED errors.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/services/{servicesId}/databases/{databasesId}:setIamPolicy", +"httpMethod": "POST", +"id": "metastore.projects.locations.services.databases.setIamPolicy", +"parameterOrder": [ +"resource" +], +"parameters": { +"resource": { +"description": "REQUIRED: The resource for which the policy is being specified. See Resource names (https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/services/[^/]+/databases/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+resource}:setIamPolicy", +"request": { +"$ref": "SetIamPolicyRequest" +}, +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"tables": { +"methods": { +"getIamPolicy": { +"description": "Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/services/{servicesId}/databases/{databasesId}/tables/{tablesId}:getIamPolicy", +"httpMethod": "GET", +"id": "metastore.projects.locations.services.databases.tables.getIamPolicy", +"parameterOrder": [ +"resource" +], +"parameters": { +"options.requestedPolicyVersion": { +"description": "Optional. The maximum policy version that will be used to format the policy.Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected.Requests for policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset.The policy in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional role bindings, the response uses version 1.To learn which resources support conditions in their IAM policies, see the IAM documentation (https://cloud.google.com/iam/help/conditions/resource-policies).", +"format": "int32", +"location": "query", +"type": "integer" +}, +"resource": { +"description": "REQUIRED: The resource for which the policy is being requested. See Resource names (https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/services/[^/]+/databases/[^/]+/tables/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+resource}:getIamPolicy", +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"setIamPolicy": { +"description": "Sets the access control policy on the specified resource. Replaces any existing policy.Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED errors.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/services/{servicesId}/databases/{databasesId}/tables/{tablesId}:setIamPolicy", +"httpMethod": "POST", +"id": "metastore.projects.locations.services.databases.tables.setIamPolicy", +"parameterOrder": [ +"resource" +], +"parameters": { +"resource": { +"description": "REQUIRED: The resource for which the policy is being specified. See Resource names (https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/services/[^/]+/databases/[^/]+/tables/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+resource}:setIamPolicy", +"request": { +"$ref": "SetIamPolicyRequest" +}, +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +}, +"metadataImports": { +"methods": { +"create": { +"description": "Creates a new MetadataImport in a given project and location.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/services/{servicesId}/metadataImports", +"httpMethod": "POST", +"id": "metastore.projects.locations.services.metadataImports.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"metadataImportId": { +"description": "Required. The ID of the metadata import, which is used as the final component of the metadata import's name.This value must be between 1 and 64 characters long, begin with a letter, end with a letter or number, and consist of alpha-numeric ASCII characters or hyphens.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The relative resource name of the service in which to create a metastore import, in the following form:projects/{project_number}/locations/{location_id}/services/{service_id}.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/services/[^/]+$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "Optional. A request ID. Specify a unique request ID to allow the server to ignore the request if it has completed. The server will ignore subsequent requests that provide a duplicate request ID for at least 60 minutes after the first request.For example, if an initial request times out, followed by another request with the same request ID, the server ignores the second request to prevent the creation of duplicate commitments.The request ID must be a valid UUID (https://en.wikipedia.org/wiki/Universally_unique_identifier#Format) A zero UUID (00000000-0000-0000-0000-000000000000) is not supported.", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+parent}/metadataImports", +"request": { +"$ref": "MetadataImport" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets details of a single import.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/services/{servicesId}/metadataImports/{metadataImportsId}", +"httpMethod": "GET", +"id": "metastore.projects.locations.services.metadataImports.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The relative resource name of the metadata import to retrieve, in the following form:projects/{project_number}/locations/{location_id}/services/{service_id}/metadataImports/{import_id}.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/services/[^/]+/metadataImports/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "MetadataImport" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists imports in a service.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/services/{servicesId}/metadataImports", +"httpMethod": "GET", +"id": "metastore.projects.locations.services.metadataImports.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Optional. The filter to apply to list results.", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "Optional. Specify the ordering of results as described in Sorting Order (https://cloud.google.com/apis/design/design_patterns#sorting_order). If not specified, the results will be sorted in the default order.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Optional. The maximum number of imports to return. The response may contain less than the maximum number. If unspecified, no more than 500 imports are returned. The maximum value is 1000; values above 1000 are changed to 1000.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. A page token, received from a previous DataprocMetastore.ListServices call. Provide this token to retrieve the subsequent page.To retrieve the first page, supply an empty page token.When paginating, other parameters provided to DataprocMetastore.ListServices must match the call that provided the page token.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The relative resource name of the service whose metadata imports to list, in the following form:projects/{project_number}/locations/{location_id}/services/{service_id}/metadataImports.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/services/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/metadataImports", +"response": { +"$ref": "ListMetadataImportsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates a single import. Only the description field of MetadataImport is supported to be updated.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/services/{servicesId}/metadataImports/{metadataImportsId}", +"httpMethod": "PATCH", +"id": "metastore.projects.locations.services.metadataImports.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Immutable. Identifier. The relative resource name of the metadata import, of the form:projects/{project_number}/locations/{location_id}/services/{service_id}/metadataImports/{metadata_import_id}.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/services/[^/]+/metadataImports/[^/]+$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "Optional. A request ID. Specify a unique request ID to allow the server to ignore the request if it has completed. The server will ignore subsequent requests that provide a duplicate request ID for at least 60 minutes after the first request.For example, if an initial request times out, followed by another request with the same request ID, the server ignores the second request to prevent the creation of duplicate commitments.The request ID must be a valid UUID (https://en.wikipedia.org/wiki/Universally_unique_identifier#Format) A zero UUID (00000000-0000-0000-0000-000000000000) is not supported.", +"location": "query", +"type": "string" +}, +"updateMask": { +"description": "Required. A field mask used to specify the fields to be overwritten in the metadata import resource by the update. Fields specified in the update_mask are relative to the resource (not to the full request). A field is overwritten if it is in the mask.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "MetadataImport" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"migrationExecutions": { +"methods": { +"delete": { +"description": "Deletes a single migration execution.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/services/{servicesId}/migrationExecutions/{migrationExecutionsId}", +"httpMethod": "DELETE", +"id": "metastore.projects.locations.services.migrationExecutions.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The relative resource name of the migrationExecution to delete, in the following form:projects/{project_number}/locations/{location_id}/services/{service_id}/migrationExecutions/{migration_execution_id}.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/services/[^/]+/migrationExecutions/[^/]+$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "Optional. A request ID. Specify a unique request ID to allow the server to ignore the request if it has completed. The server will ignore subsequent requests that provide a duplicate request ID for at least 60 minutes after the first request.For example, if an initial request times out, followed by another request with the same request ID, the server ignores the second request to prevent the creation of duplicate commitments.The request ID must be a valid UUID (https://en.wikipedia.org/wiki/Universally_unique_identifier#Format) A zero UUID (00000000-0000-0000-0000-000000000000) is not supported.", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets details of a single migration execution.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/services/{servicesId}/migrationExecutions/{migrationExecutionsId}", +"httpMethod": "GET", +"id": "metastore.projects.locations.services.migrationExecutions.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The relative resource name of the migration execution to retrieve, in the following form:projects/{project_number}/locations/{location_id}/services/{service_id}/migrationExecutions/{migration_execution_id}.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/services/[^/]+/migrationExecutions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "MigrationExecution" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists migration executions on a service.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/services/{servicesId}/migrationExecutions", +"httpMethod": "GET", +"id": "metastore.projects.locations.services.migrationExecutions.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Optional. The filter to apply to list results.", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "Optional. Specify the ordering of results as described in Sorting Order (https://cloud.google.com/apis/design/design_patterns#sorting_order). If not specified, the results will be sorted in the default order.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Optional. The maximum number of migration executions to return. The response may contain less than the maximum number. If unspecified, no more than 500 migration executions are returned. The maximum value is 1000; values above 1000 are changed to 1000.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. A page token, received from a previous DataprocMetastore.ListMigrationExecutions call. Provide this token to retrieve the subsequent page.To retrieve the first page, supply an empty page token.When paginating, other parameters provided to DataprocMetastore.ListMigrationExecutions must match the call that provided the page token.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The relative resource name of the service whose migration executions to list, in the following form:projects/{project_number}/locations/{location_id}/services/{service_id}/migrationExecutions.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/services/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/migrationExecutions", +"response": { +"$ref": "ListMigrationExecutionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +} +} +} +} +} +}, +"revision": "20260203", +"rootUrl": "https://metastore.googleapis.com/", +"schemas": { +"AlterMetadataResourceLocationRequest": { +"description": "Request message for DataprocMetastore.AlterMetadataResourceLocation.", +"id": "AlterMetadataResourceLocationRequest", +"properties": { +"locationUri": { +"description": "Required. The new location URI for the metadata resource.", +"type": "string" +}, +"resourceName": { +"description": "Required. The relative metadata resource name in the following format.databases/{database_id} or databases/{database_id}/tables/{table_id} or databases/{database_id}/tables/{table_id}/partitions/{partition_id}", +"type": "string" +} +}, +"type": "object" +}, +"AlterMetadataResourceLocationResponse": { +"description": "Response message for DataprocMetastore.AlterMetadataResourceLocation.", +"id": "AlterMetadataResourceLocationResponse", +"properties": {}, +"type": "object" +}, +"AlterTablePropertiesRequest": { +"description": "Request message for DataprocMetastore.AlterTableProperties.", +"id": "AlterTablePropertiesRequest", +"properties": { +"properties": { +"additionalProperties": { +"type": "string" +}, +"description": "A map that describes the desired values to mutate. If update_mask is empty, the properties will not update. Otherwise, the properties only alters the value whose associated paths exist in the update mask", +"type": "object" +}, +"tableName": { +"description": "Required. The name of the table containing the properties you're altering in the following format.databases/{database_id}/tables/{table_id}", +"type": "string" +}, +"updateMask": { +"description": "A field mask that specifies the metadata table properties that are overwritten by the update. Fields specified in the update_mask are relative to the resource (not to the full request). A field is overwritten if it is in the mask.For example, given the target properties: properties { a: 1 b: 2 } And an update properties: properties { a: 2 b: 3 c: 4 } then if the field mask is:paths: \"properties.b\", \"properties.c\"then the result will be: properties { a: 1 b: 3 c: 4 } ", +"format": "google-fieldmask", +"type": "string" +} +}, +"type": "object" +}, +"AuditConfig": { +"description": "Specifies the audit configuration for a service. The configuration determines which permission types are logged, and what identities, if any, are exempted from logging. An AuditConfig must have one or more AuditLogConfigs.If there are AuditConfigs for both allServices and a specific service, the union of the two AuditConfigs is used for that service: the log_types specified in each AuditConfig are enabled, and the exempted_members in each AuditLogConfig are exempted.Example Policy with multiple AuditConfigs: { \"audit_configs\": [ { \"service\": \"allServices\", \"audit_log_configs\": [ { \"log_type\": \"DATA_READ\", \"exempted_members\": [ \"user:jose@example.com\" ] }, { \"log_type\": \"DATA_WRITE\" }, { \"log_type\": \"ADMIN_READ\" } ] }, { \"service\": \"sampleservice.googleapis.com\", \"audit_log_configs\": [ { \"log_type\": \"DATA_READ\" }, { \"log_type\": \"DATA_WRITE\", \"exempted_members\": [ \"user:aliya@example.com\" ] } ] } ] } For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also exempts jose@example.com from DATA_READ logging, and aliya@example.com from DATA_WRITE logging.", +"id": "AuditConfig", +"properties": { +"auditLogConfigs": { +"description": "The configuration for logging of each type of permission.", +"items": { +"$ref": "AuditLogConfig" +}, +"type": "array" +}, +"service": { +"description": "Specifies a service that will be enabled for audit logging. For example, storage.googleapis.com, cloudsql.googleapis.com. allServices is a special value that covers all services.", +"type": "string" +} +}, +"type": "object" +}, +"AuditLogConfig": { +"description": "Provides the configuration for logging a type of permissions. Example: { \"audit_log_configs\": [ { \"log_type\": \"DATA_READ\", \"exempted_members\": [ \"user:jose@example.com\" ] }, { \"log_type\": \"DATA_WRITE\" } ] } This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting jose@example.com from DATA_READ logging.", +"id": "AuditLogConfig", +"properties": { +"exemptedMembers": { +"description": "Specifies the identities that do not cause logging for this type of permission. Follows the same format of Binding.members.", +"items": { +"type": "string" +}, +"type": "array" +}, +"logType": { +"description": "The log type that this config enables.", +"enum": [ +"LOG_TYPE_UNSPECIFIED", +"ADMIN_READ", +"DATA_WRITE", +"DATA_READ" +], +"enumDescriptions": [ +"Default case. Should never be this.", +"Admin reads. Example: CloudIAM getIamPolicy", +"Data writes. Example: CloudSQL Users create", +"Data reads. Example: CloudSQL Users list" +], +"type": "string" +} +}, +"type": "object" +}, +"AutoscalingConfig": { +"description": "Represents the autoscaling configuration of a metastore service.", +"id": "AutoscalingConfig", +"properties": { +"autoscalingEnabled": { +"description": "Optional. Whether or not autoscaling is enabled for this service.", +"type": "boolean" +}, +"autoscalingFactor": { +"description": "Output only. The scaling factor of a service with autoscaling enabled.", +"format": "float", +"readOnly": true, +"type": "number" +}, +"limitConfig": { +"$ref": "LimitConfig", +"description": "Optional. The LimitConfig of the service." +} +}, +"type": "object" +}, +"AuxiliaryVersionConfig": { +"description": "Configuration information for the auxiliary service versions.", +"id": "AuxiliaryVersionConfig", +"properties": { +"configOverrides": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. A mapping of Hive metastore configuration key-value pairs to apply to the auxiliary Hive metastore (configured in hive-site.xml) in addition to the primary version's overrides. If keys are present in both the auxiliary version's overrides and the primary version's overrides, the value from the auxiliary version's overrides takes precedence.", +"type": "object" +}, +"networkConfig": { +"$ref": "NetworkConfig", +"description": "Output only. The network configuration contains the endpoint URI(s) of the auxiliary Hive metastore service.", +"readOnly": true +}, +"version": { +"description": "Optional. The Hive metastore version of the auxiliary service. It must be less than the primary Hive metastore service's version.", +"type": "string" +} +}, +"type": "object" +}, +"BackendMetastore": { +"description": "Represents a backend metastore for the federation.", +"id": "BackendMetastore", +"properties": { +"metastoreType": { +"description": "The type of the backend metastore.", +"enum": [ +"METASTORE_TYPE_UNSPECIFIED", +"BIGQUERY", +"DATAPROC_METASTORE" +], +"enumDescriptions": [ +"The metastore type is not set.", +"The backend metastore is BigQuery.", +"The backend metastore is Dataproc Metastore." +], +"type": "string" +}, +"name": { +"description": "The relative resource name of the metastore that is being federated. The formats of the relative resource names for the currently supported metastores are listed below: BigQuery projects/{project_id} Dataproc Metastore projects/{project_id}/locations/{location}/services/{service_id}", +"type": "string" +} +}, +"type": "object" +}, +"Backup": { +"description": "The details of a backup resource.", +"id": "Backup", +"properties": { +"createTime": { +"description": "Output only. The time when the backup was started.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"description": { +"description": "Optional. The description of the backup.", +"type": "string" +}, +"endTime": { +"description": "Output only. The time when the backup finished creating.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"name": { +"description": "Immutable. Identifier. The relative resource name of the backup, in the following form:projects/{project_number}/locations/{location_id}/services/{service_id}/backups/{backup_id}", +"type": "string" +}, +"restoringServices": { +"description": "Output only. Services that are restoring from the backup.", +"items": { +"type": "string" +}, +"readOnly": true, +"type": "array" +}, +"serviceRevision": { +"$ref": "Service", +"description": "Output only. The revision of the service at the time of backup.", +"readOnly": true +}, +"state": { +"description": "Output only. The current state of the backup.", +"enum": [ +"STATE_UNSPECIFIED", +"CREATING", +"DELETING", +"ACTIVE", +"FAILED", +"RESTORING" +], +"enumDescriptions": [ +"The state of the backup is unknown.", +"The backup is being created.", +"The backup is being deleted.", +"The backup is active and ready to use.", +"The backup failed.", +"The backup is being restored." +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"Binding": { +"description": "Associates members, or principals, with a role.", +"id": "Binding", +"properties": { +"condition": { +"$ref": "Expr", +"description": "The condition that is associated with this binding.If the condition evaluates to true, then this binding applies to the current request.If the condition evaluates to false, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding.To learn which resources support conditions in their IAM policies, see the IAM documentation (https://cloud.google.com/iam/help/conditions/resource-policies)." +}, +"members": { +"description": "Specifies the principals requesting access for a Google Cloud resource. members can have the following values: allUsers: A special identifier that represents anyone who is on the internet; with or without a Google account. allAuthenticatedUsers: A special identifier that represents anyone who is authenticated with a Google account or a service account. Does not include identities that come from external identity providers (IdPs) through identity federation. user:{emailid}: An email address that represents a specific Google account. For example, alice@example.com . serviceAccount:{emailid}: An email address that represents a Google service account. For example, my-other-app@appspot.gserviceaccount.com. serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]: An identifier for a Kubernetes service account (https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, my-project.svc.id.goog[my-namespace/my-kubernetes-sa]. group:{emailid}: An email address that represents a Google group. For example, admins@example.com. domain:{domain}: The G Suite domain (primary) that represents all the users of that domain. For example, google.com or example.com. principal://iam.googleapis.com/locations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}: A single identity in a workforce identity pool. principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/group/{group_id}: All workforce identities in a group. principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/attribute.{attribute_name}/{attribute_value}: All workforce identities with a specific attribute value. principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/*: All identities in a workforce identity pool. principal://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/subject/{subject_attribute_value}: A single identity in a workload identity pool. principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/group/{group_id}: A workload identity pool group. principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/attribute.{attribute_name}/{attribute_value}: All identities in a workload identity pool with a certain attribute. principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/*: All identities in a workload identity pool. deleted:user:{emailid}?uid={uniqueid}: An email address (plus unique identifier) representing a user that has been recently deleted. For example, alice@example.com?uid=123456789012345678901. If the user is recovered, this value reverts to user:{emailid} and the recovered user retains the role in the binding. deleted:serviceAccount:{emailid}?uid={uniqueid}: An email address (plus unique identifier) representing a service account that has been recently deleted. For example, my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901. If the service account is undeleted, this value reverts to serviceAccount:{emailid} and the undeleted service account retains the role in the binding. deleted:group:{emailid}?uid={uniqueid}: An email address (plus unique identifier) representing a Google group that has been recently deleted. For example, admins@example.com?uid=123456789012345678901. If the group is recovered, this value reverts to group:{emailid} and the recovered group retains the role in the binding. deleted:principal://iam.googleapis.com/locations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}: Deleted single identity in a workforce identity pool. For example, deleted:principal://iam.googleapis.com/locations/global/workforcePools/my-pool-id/subject/my-subject-attribute-value.", +"items": { +"type": "string" +}, +"type": "array" +}, +"role": { +"description": "Role that is assigned to the list of members, or principals. For example, roles/viewer, roles/editor, or roles/owner.For an overview of the IAM roles and permissions, see the IAM documentation (https://cloud.google.com/iam/docs/roles-overview). For a list of the available pre-defined roles, see here (https://cloud.google.com/iam/docs/understanding-roles).", +"type": "string" +} +}, +"type": "object" +}, +"CancelMigrationRequest": { +"description": "Request message for DataprocMetastore.CancelMigration.", +"id": "CancelMigrationRequest", +"properties": {}, +"type": "object" +}, +"CancelOperationRequest": { +"description": "The request message for Operations.CancelOperation.", +"id": "CancelOperationRequest", +"properties": {}, +"type": "object" +}, +"CdcConfig": { +"description": "Configuration information to start the Change Data Capture (CDC) streams from customer database to backend database of Dataproc Metastore.", +"id": "CdcConfig", +"properties": { +"bucket": { +"description": "Optional. The bucket to write the intermediate stream event data in. The bucket name must be without any prefix like \"gs://\". See the bucket naming requirements (https://cloud.google.com/storage/docs/buckets#naming). This field is optional. If not set, the Artifacts Cloud Storage bucket will be used.", +"type": "string" +}, +"password": { +"description": "Required. Input only. The password for the user that Datastream service should use for the MySQL connection. This field is not returned on request.", +"type": "string" +}, +"reverseProxySubnet": { +"description": "Required. The URL of the subnetwork resource to create the VM instance hosting the reverse proxy in. More context in https://cloud.google.com/datastream/docs/private-connectivity#reverse-csql-proxy The subnetwork should reside in the network provided in the request that Datastream will peer to and should be in the same region as Datastream, in the following format. projects/{project_id}/regions/{region_id}/subnetworks/{subnetwork_id}", +"type": "string" +}, +"rootPath": { +"description": "Optional. The root path inside the Cloud Storage bucket. The stream event data will be written to this path. The default value is /migration.", +"type": "string" +}, +"subnetIpRange": { +"description": "Required. A /29 CIDR IP range for peering with datastream.", +"type": "string" +}, +"username": { +"description": "Required. The username that the Datastream service should use for the MySQL connection.", +"type": "string" +}, +"vpcNetwork": { +"description": "Required. Fully qualified name of the Cloud SQL instance's VPC network or the shared VPC network that Datastream will peer to, in the following format: projects/{project_id}/locations/global/networks/{network_id}. More context in https://cloud.google.com/datastream/docs/network-connectivity-options#privateconnectivity", +"type": "string" +} +}, +"type": "object" +}, +"CloudSQLConnectionConfig": { +"description": "Configuration information to establish customer database connection before the cutover phase of migration", +"id": "CloudSQLConnectionConfig", +"properties": { +"hiveDatabaseName": { +"description": "Required. The hive database name.", +"type": "string" +}, +"instanceConnectionName": { +"description": "Required. Cloud SQL database connection name (project_id:region:instance_name)", +"type": "string" +}, +"ipAddress": { +"description": "Required. The private IP address of the Cloud SQL instance.", +"type": "string" +}, +"natSubnet": { +"description": "Required. The relative resource name of the subnetwork to be used for Private Service Connect. Note that this cannot be a regular subnet and is used only for NAT. (https://cloud.google.com/vpc/docs/about-vpc-hosted-services#psc-subnets) This subnet is used to publish the SOCKS5 proxy service. The subnet size must be at least /29 and it should reside in a network through which the Cloud SQL instance is accessible. The resource name should be in the format, projects/{project_id}/regions/{region_id}/subnetworks/{subnetwork_id}", +"type": "string" +}, +"password": { +"description": "Required. Input only. The password for the user that Dataproc Metastore service will be using to connect to the database. This field is not returned on request.", +"type": "string" +}, +"port": { +"description": "Required. The network port of the database.", +"format": "int32", +"type": "integer" +}, +"proxySubnet": { +"description": "Required. The relative resource name of the subnetwork to deploy the SOCKS5 proxy service in. The subnetwork should reside in a network through which the Cloud SQL instance is accessible. The resource name should be in the format, projects/{project_id}/regions/{region_id}/subnetworks/{subnetwork_id}", +"type": "string" +}, +"username": { +"description": "Required. The username that Dataproc Metastore service will use to connect to the database.", +"type": "string" +} +}, +"type": "object" +}, +"CloudSQLMigrationConfig": { +"description": "Configuration information for migrating from self-managed hive metastore on Google Cloud using Cloud SQL as the backend database to Dataproc Metastore.", +"id": "CloudSQLMigrationConfig", +"properties": { +"cdcConfig": { +"$ref": "CdcConfig", +"description": "Required. Configuration information to start the Change Data Capture (CDC) streams from customer database to backend database of Dataproc Metastore. Dataproc Metastore switches to using its backend database after the cutover phase of migration." +}, +"cloudSqlConnectionConfig": { +"$ref": "CloudSQLConnectionConfig", +"description": "Required. Configuration information to establish customer database connection before the cutover phase of migration" +} +}, +"type": "object" +}, +"CompleteMigrationRequest": { +"description": "Request message for DataprocMetastore.CompleteMigration.", +"id": "CompleteMigrationRequest", +"properties": {}, +"type": "object" +}, +"Consumer": { +"description": "Contains information of the customer's network configurations.", +"id": "Consumer", +"properties": { +"endpointLocation": { +"description": "Output only. The location of the endpoint URI. Format: projects/{project}/locations/{location}.", +"readOnly": true, +"type": "string" +}, +"endpointUri": { +"description": "Output only. The URI of the endpoint used to access the metastore service.", +"readOnly": true, +"type": "string" +}, +"subnetwork": { +"description": "Immutable. The subnetwork of the customer project from which an IP address is reserved and used as the Dataproc Metastore service's endpoint. It is accessible to hosts in the subnet and to all hosts in a subnet in the same region and same network. There must be at least one IP address available in the subnet's primary range. The subnet is specified in the following form:projects/{project_number}/regions/{region_id}/subnetworks/{subnetwork_id}", +"type": "string" +} +}, +"type": "object" +}, +"CustomRegionMetadata": { +"deprecated": true, +"description": "Deprecated: Use a single region service instead. Metadata about a custom region. This is only populated if the region is a custom region. For single/multi regions, it will be empty.", +"id": "CustomRegionMetadata", +"properties": { +"optionalReadOnlyRegions": { +"description": "The read-only regions for this custom region.", +"items": { +"type": "string" +}, +"type": "array" +}, +"requiredReadWriteRegions": { +"description": "The read-write regions for this custom region.", +"items": { +"type": "string" +}, +"type": "array" +}, +"witnessRegion": { +"description": "The Spanner witness region for this custom region.", +"type": "string" +} +}, +"type": "object" +}, +"DataCatalogConfig": { +"description": "Specifies how metastore metadata should be integrated with the Data Catalog service.", +"id": "DataCatalogConfig", +"properties": { +"enabled": { +"description": "Optional. Defines whether the metastore metadata should be synced to Data Catalog. The default value is to disable syncing metastore metadata to Data Catalog.", +"type": "boolean" +} +}, +"type": "object" +}, +"DatabaseDump": { +"description": "A specification of the location of and metadata about a database dump from a relational database management system.", +"id": "DatabaseDump", +"properties": { +"databaseType": { +"deprecated": true, +"description": "The type of the database.", +"enum": [ +"DATABASE_TYPE_UNSPECIFIED", +"MYSQL" +], +"enumDescriptions": [ +"The type of the source database is unknown.", +"The type of the source database is MySQL." +], +"type": "string" +}, +"gcsUri": { +"description": "Optional. A Cloud Storage object or folder URI that specifies the source from which to import metadata. It must begin with gs://.", +"type": "string" +}, +"sourceDatabase": { +"deprecated": true, +"description": "Optional. The name of the source database.", +"type": "string" +}, +"type": { +"description": "Optional. The type of the database dump. If unspecified, defaults to MYSQL.", +"enum": [ +"TYPE_UNSPECIFIED", +"MYSQL", +"AVRO" +], +"enumDescriptions": [ +"The type of the database dump is unknown.", +"Database dump is a MySQL dump file.", +"Database dump contains Avro files." +], +"type": "string" +} +}, +"type": "object" +}, +"Empty": { +"description": "A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); } ", +"id": "Empty", +"properties": {}, +"type": "object" +}, +"EncryptionConfig": { +"description": "Encryption settings for the service.", +"id": "EncryptionConfig", +"properties": { +"kmsKey": { +"description": "Optional. The fully qualified customer provided Cloud KMS key name to use for customer data encryption, in the following format:projects/{project_number}/locations/{location_id}/keyRings/{key_ring_id}/cryptoKeys/{crypto_key_id}.", +"type": "string" +} +}, +"type": "object" +}, +"ErrorDetails": { +"description": "Error details in public error message for DataprocMetastore.QueryMetadata.", +"id": "ErrorDetails", +"properties": { +"details": { +"additionalProperties": { +"type": "string" +}, +"description": "Additional structured details about this error.Keys define the failure items. Value describes the exception or details of the item.", +"type": "object" +} +}, +"type": "object" +}, +"ExportMetadataRequest": { +"description": "Request message for DataprocMetastore.ExportMetadata.", +"id": "ExportMetadataRequest", +"properties": { +"databaseDumpType": { +"description": "Optional. The type of the database dump. If unspecified, defaults to MYSQL.", +"enum": [ +"TYPE_UNSPECIFIED", +"MYSQL", +"AVRO" +], +"enumDescriptions": [ +"The type of the database dump is unknown.", +"Database dump is a MySQL dump file.", +"Database dump contains Avro files." +], +"type": "string" +}, +"destinationGcsFolder": { +"description": "A Cloud Storage URI of a folder, in the format gs:///. A sub-folder containing exported files will be created below it.", +"type": "string" +}, +"requestId": { +"description": "Optional. A request ID. Specify a unique request ID to allow the server to ignore the request if it has completed. The server will ignore subsequent requests that provide a duplicate request ID for at least 60 minutes after the first request.For example, if an initial request times out, followed by another request with the same request ID, the server ignores the second request to prevent the creation of duplicate commitments.The request ID must be a valid UUID (https://en.wikipedia.org/wiki/Universally_unique_identifier#Format). A zero UUID (00000000-0000-0000-0000-000000000000) is not supported.", +"type": "string" +} +}, +"type": "object" +}, +"Expr": { +"description": "Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec.Example (Comparison): title: \"Summary size limit\" description: \"Determines if a summary is less than 100 chars\" expression: \"document.summary.size() < 100\" Example (Equality): title: \"Requestor is owner\" description: \"Determines if requestor is the document owner\" expression: \"document.owner == request.auth.claims.email\" Example (Logic): title: \"Public documents\" description: \"Determine whether the document should be publicly visible\" expression: \"document.type != 'private' && document.type != 'internal'\" Example (Data Manipulation): title: \"Notification string\" description: \"Create a notification string with a timestamp.\" expression: \"'New message received at ' + string(document.create_time)\" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information.", +"id": "Expr", +"properties": { +"description": { +"description": "Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI.", +"type": "string" +}, +"expression": { +"description": "Textual representation of an expression in Common Expression Language syntax.", +"type": "string" +}, +"location": { +"description": "Optional. String indicating the location of the expression for error reporting, e.g. a file name and a position in the file.", +"type": "string" +}, +"title": { +"description": "Optional. Title for the expression, i.e. a short string describing its purpose. This can be used e.g. in UIs which allow to enter the expression.", +"type": "string" +} +}, +"type": "object" +}, +"Federation": { +"description": "Represents a federation of multiple backend metastores.", +"id": "Federation", +"properties": { +"backendMetastores": { +"additionalProperties": { +"$ref": "BackendMetastore" +}, +"description": "A map from BackendMetastore rank to BackendMetastores from which the federation service serves metadata at query time. The map key represents the order in which BackendMetastores should be evaluated to resolve database names at query time and should be greater than or equal to zero. A BackendMetastore with a lower number will be evaluated before a BackendMetastore with a higher number.", +"type": "object" +}, +"createTime": { +"description": "Output only. The time when the metastore federation was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"endpointUri": { +"description": "Output only. The federation endpoint.", +"readOnly": true, +"type": "string" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "User-defined labels for the metastore federation.", +"type": "object" +}, +"name": { +"description": "Immutable. The relative resource name of the federation, of the form: projects/{project_number}/locations/{location_id}/federations/{federation_id}`.", +"type": "string" +}, +"state": { +"description": "Output only. The current state of the federation.", +"enum": [ +"STATE_UNSPECIFIED", +"CREATING", +"ACTIVE", +"UPDATING", +"DELETING", +"ERROR" +], +"enumDescriptions": [ +"The state of the metastore federation is unknown.", +"The metastore federation is in the process of being created.", +"The metastore federation is running and ready to serve queries.", +"The metastore federation is being updated. It remains usable but cannot accept additional update requests or be deleted at this time.", +"The metastore federation is undergoing deletion. It cannot be used.", +"The metastore federation has encountered an error and cannot be used. The metastore federation should be deleted." +], +"readOnly": true, +"type": "string" +}, +"stateMessage": { +"description": "Output only. Additional information about the current state of the metastore federation, if available.", +"readOnly": true, +"type": "string" +}, +"tags": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. Input only. Immutable. Tag keys/values directly bound to this resource. For example: \"123/environment\": \"production\", \"123/costCenter\": \"marketing\"", +"type": "object" +}, +"uid": { +"description": "Output only. The globally unique resource identifier of the metastore federation.", +"readOnly": true, +"type": "string" +}, +"updateTime": { +"description": "Output only. The time when the metastore federation was last updated.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"version": { +"description": "Immutable. The Apache Hive metastore version of the federation. All backend metastore versions must be compatible with the federation version.", +"type": "string" +} +}, +"type": "object" +}, +"HiveMetastoreConfig": { +"description": "Specifies configuration information specific to running Hive metastore software as the metastore service.", +"id": "HiveMetastoreConfig", +"properties": { +"auxiliaryVersions": { +"additionalProperties": { +"$ref": "AuxiliaryVersionConfig" +}, +"description": "Optional. A mapping of Hive metastore version to the auxiliary version configuration. When specified, a secondary Hive metastore service is created along with the primary service. All auxiliary versions must be less than the service's primary version. The key is the auxiliary service name and it must match the regular expression a-z?. This means that the first character must be a lowercase letter, and all the following characters must be hyphens, lowercase letters, or digits, except the last character, which cannot be a hyphen.", +"type": "object" +}, +"configOverrides": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. A mapping of Hive metastore configuration key-value pairs to apply to the Hive metastore (configured in hive-site.xml). The mappings override system defaults (some keys cannot be overridden). These overrides are also applied to auxiliary versions and can be further customized in the auxiliary version's AuxiliaryVersionConfig.", +"type": "object" +}, +"endpointProtocol": { +"description": "Optional. The protocol to use for the metastore service endpoint. If unspecified, defaults to THRIFT.", +"enum": [ +"ENDPOINT_PROTOCOL_UNSPECIFIED", +"THRIFT", +"GRPC" +], +"enumDescriptions": [ +"The protocol is not set.", +"Use the legacy Apache Thrift protocol for the metastore service endpoint.", +"Use the modernized gRPC protocol for the metastore service endpoint." +], +"type": "string" +}, +"kerberosConfig": { +"$ref": "KerberosConfig", +"description": "Optional. Information used to configure the Hive metastore service as a service principal in a Kerberos realm. To disable Kerberos, use the UpdateService method and specify this field's path (hive_metastore_config.kerberos_config) in the request's update_mask while omitting this field from the request's service." +}, +"version": { +"description": "Immutable. The Hive metastore schema version.", +"type": "string" +} +}, +"type": "object" +}, +"HiveMetastoreVersion": { +"description": "A specification of a supported version of the Hive Metastore software.", +"id": "HiveMetastoreVersion", +"properties": { +"isDefault": { +"description": "Whether version will be chosen by the server if a metastore service is created with a HiveMetastoreConfig that omits the version.", +"type": "boolean" +}, +"version": { +"description": "The semantic version of the Hive Metastore software.", +"type": "string" +} +}, +"type": "object" +}, +"KerberosConfig": { +"description": "Configuration information for a Kerberos principal.", +"id": "KerberosConfig", +"properties": { +"keytab": { +"$ref": "Secret", +"description": "Optional. A Kerberos keytab file that can be used to authenticate a service principal with a Kerberos Key Distribution Center (KDC)." +}, +"krb5ConfigGcsUri": { +"description": "Optional. A Cloud Storage URI that specifies the path to a krb5.conf file. It is of the form gs://{bucket_name}/path/to/krb5.conf, although the file does not need to be named krb5.conf explicitly.", +"type": "string" +}, +"principal": { +"description": "Optional. A Kerberos principal that exists in the both the keytab the KDC to authenticate as. A typical principal is of the form primary/instance@REALM, but there is no exact format.", +"type": "string" +} +}, +"type": "object" +}, +"LatestBackup": { +"description": "The details of the latest scheduled backup.", +"id": "LatestBackup", +"properties": { +"backupId": { +"description": "Output only. The ID of an in-progress scheduled backup. Empty if no backup is in progress.", +"readOnly": true, +"type": "string" +}, +"duration": { +"description": "Output only. The duration of the backup completion.", +"format": "google-duration", +"readOnly": true, +"type": "string" +}, +"startTime": { +"description": "Output only. The time when the backup was started.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"state": { +"description": "Output only. The current state of the backup.", +"enum": [ +"STATE_UNSPECIFIED", +"IN_PROGRESS", +"SUCCEEDED", +"FAILED" +], +"enumDescriptions": [ +"The state of the backup is unknown.", +"The backup is in progress.", +"The backup completed.", +"The backup failed." +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"LimitConfig": { +"description": "Represents the autoscaling limit configuration of a metastore service.", +"id": "LimitConfig", +"properties": { +"maxScalingFactor": { +"description": "Optional. The highest scaling factor that the service should be autoscaled to.", +"format": "float", +"type": "number" +}, +"minScalingFactor": { +"description": "Optional. The lowest scaling factor that the service should be autoscaled to.", +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"ListBackupsResponse": { +"description": "Response message for DataprocMetastore.ListBackups.", +"id": "ListBackupsResponse", +"properties": { +"backups": { +"description": "The backups of the specified service.", +"items": { +"$ref": "Backup" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A token that can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.", +"type": "string" +}, +"unreachable": { +"description": "Locations that could not be reached.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListFederationsResponse": { +"description": "Response message for ListFederations", +"id": "ListFederationsResponse", +"properties": { +"federations": { +"description": "The services in the specified location.", +"items": { +"$ref": "Federation" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A token that can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.", +"type": "string" +}, +"unreachable": { +"description": "Locations that could not be reached.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListLocationsResponse": { +"description": "The response message for Locations.ListLocations.", +"id": "ListLocationsResponse", +"properties": { +"locations": { +"description": "A list of locations that matches the specified filter in the request.", +"items": { +"$ref": "Location" +}, +"type": "array" +}, +"nextPageToken": { +"description": "The standard List next-page token.", +"type": "string" +} +}, +"type": "object" +}, +"ListMetadataImportsResponse": { +"description": "Response message for DataprocMetastore.ListMetadataImports.", +"id": "ListMetadataImportsResponse", +"properties": { +"metadataImports": { +"description": "The imports in the specified service.", +"items": { +"$ref": "MetadataImport" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A token that can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.", +"type": "string" +}, +"unreachable": { +"description": "Locations that could not be reached.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListMigrationExecutionsResponse": { +"description": "Response message for DataprocMetastore.ListMigrationExecutions.", +"id": "ListMigrationExecutionsResponse", +"properties": { +"migrationExecutions": { +"description": "The migration executions on the specified service.", +"items": { +"$ref": "MigrationExecution" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A token that can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.", +"type": "string" +}, +"unreachable": { +"description": "Locations that could not be reached.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListOperationsResponse": { +"description": "The response message for Operations.ListOperations.", +"id": "ListOperationsResponse", +"properties": { +"nextPageToken": { +"description": "The standard List next-page token.", +"type": "string" +}, +"operations": { +"description": "A list of operations that matches the specified filter in the request.", +"items": { +"$ref": "Operation" +}, +"type": "array" +}, +"unreachable": { +"description": "Unordered list. Unreachable resources. Populated when the request sets ListOperationsRequest.return_partial_success and reads across collections. For example, when attempting to list all resources across all supported locations.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListServicesResponse": { +"description": "Response message for DataprocMetastore.ListServices.", +"id": "ListServicesResponse", +"properties": { +"nextPageToken": { +"description": "A token that can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.", +"type": "string" +}, +"services": { +"description": "The services in the specified location.", +"items": { +"$ref": "Service" +}, +"type": "array" +}, +"unreachable": { +"description": "Locations that could not be reached.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"Location": { +"description": "A resource that represents a Google Cloud location.", +"id": "Location", +"properties": { +"displayName": { +"description": "The friendly name for this location, typically a nearby city name. For example, \"Tokyo\".", +"type": "string" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Cross-service attributes for the location. For example {\"cloud.googleapis.com/region\": \"us-east1\"} ", +"type": "object" +}, +"locationId": { +"description": "The canonical id for this location. For example: \"us-east1\".", +"type": "string" +}, +"metadata": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "Service-specific metadata. For example the available capacity at the given location.", +"type": "object" +}, +"name": { +"description": "Resource name for the location, which may vary between implementations. For example: \"projects/example-project/locations/us-east1\"", +"type": "string" +} +}, +"type": "object" +}, +"LocationMetadata": { +"description": "Metadata about the service in a location.", +"id": "LocationMetadata", +"properties": { +"customRegionMetadata": { +"deprecated": true, +"description": "Deprecated: Use a single region service instead. Possible configurations supported if the current region is a custom region.", +"items": { +"$ref": "CustomRegionMetadata" +}, +"type": "array" +}, +"multiRegionMetadata": { +"$ref": "MultiRegionMetadata", +"deprecated": true, +"description": "Deprecated: Use a single region service instead. The multi-region metadata if the current region is a multi-region." +}, +"supportedHiveMetastoreVersions": { +"description": "The versions of Hive Metastore that can be used when creating a new metastore service in this location. The server guarantees that exactly one HiveMetastoreVersion in the list will set is_default.", +"items": { +"$ref": "HiveMetastoreVersion" +}, +"type": "array" +} +}, +"type": "object" +}, +"MaintenanceWindow": { +"description": "Maintenance window. This specifies when Dataproc Metastore may perform system maintenance operation to the service.", +"id": "MaintenanceWindow", +"properties": { +"dayOfWeek": { +"description": "Optional. The day of week, when the window starts.", +"enum": [ +"DAY_OF_WEEK_UNSPECIFIED", +"MONDAY", +"TUESDAY", +"WEDNESDAY", +"THURSDAY", +"FRIDAY", +"SATURDAY", +"SUNDAY" +], +"enumDescriptions": [ +"The day of the week is unspecified.", +"Monday", +"Tuesday", +"Wednesday", +"Thursday", +"Friday", +"Saturday", +"Sunday" +], +"type": "string" +}, +"hourOfDay": { +"description": "Optional. The hour of day (0-23) when the window starts.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"MessageSet": { +"deprecated": true, +"description": "This is proto2's version of MessageSet.DEPRECATED: DO NOT USE FOR NEW FIELDS.If you are using editions or proto2, please make your own extendable messages for your use case. If you are using proto3, please use Any instead.MessageSet was the implementation of extensions for proto1. When proto2 was introduced, extensions were implemented as a first-class feature. This schema for MessageSet was meant to be a \"bridge\" solution to migrate MessageSet-bearing messages from proto1 to proto2.This schema has been open-sourced only to facilitate the migration of Google products with MessageSet-bearing messages to open-source environments.", +"id": "MessageSet", +"properties": {}, +"type": "object" +}, +"MetadataExport": { +"description": "The details of a metadata export operation.", +"id": "MetadataExport", +"properties": { +"databaseDumpType": { +"description": "Output only. The type of the database dump.", +"enum": [ +"TYPE_UNSPECIFIED", +"MYSQL", +"AVRO" +], +"enumDescriptions": [ +"The type of the database dump is unknown.", +"Database dump is a MySQL dump file.", +"Database dump contains Avro files." +], +"readOnly": true, +"type": "string" +}, +"destinationGcsUri": { +"description": "Output only. A Cloud Storage URI of a folder that metadata are exported to, in the form of gs:////, where is automatically generated.", +"readOnly": true, +"type": "string" +}, +"endTime": { +"description": "Output only. The time when the export ended.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"startTime": { +"description": "Output only. The time when the export started.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"state": { +"description": "Output only. The current state of the export.", +"enum": [ +"STATE_UNSPECIFIED", +"RUNNING", +"SUCCEEDED", +"FAILED", +"CANCELLED" +], +"enumDescriptions": [ +"The state of the metadata export is unknown.", +"The metadata export is running.", +"The metadata export completed successfully.", +"The metadata export failed.", +"The metadata export is cancelled." +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"MetadataImport": { +"description": "A metastore resource that imports metadata.", +"id": "MetadataImport", +"properties": { +"createTime": { +"description": "Output only. The time when the metadata import was started.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"databaseDump": { +"$ref": "DatabaseDump", +"description": "Immutable. A database dump from a pre-existing metastore's database." +}, +"description": { +"description": "Optional. The description of the metadata import.", +"type": "string" +}, +"endTime": { +"description": "Output only. The time when the metadata import finished.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"name": { +"description": "Immutable. Identifier. The relative resource name of the metadata import, of the form:projects/{project_number}/locations/{location_id}/services/{service_id}/metadataImports/{metadata_import_id}.", +"type": "string" +}, +"state": { +"description": "Output only. The current state of the metadata import.", +"enum": [ +"STATE_UNSPECIFIED", +"RUNNING", +"SUCCEEDED", +"UPDATING", +"FAILED" +], +"enumDescriptions": [ +"The state of the metadata import is unknown.", +"The metadata import is running.", +"The metadata import completed successfully.", +"The metadata import is being updated.", +"The metadata import failed, and attempted metadata changes were rolled back." +], +"readOnly": true, +"type": "string" +}, +"updateTime": { +"description": "Output only. The time when the metadata import was last updated.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"MetadataIntegration": { +"description": "Specifies how metastore metadata should be integrated with external services.", +"id": "MetadataIntegration", +"properties": { +"dataCatalogConfig": { +"$ref": "DataCatalogConfig", +"description": "Optional. The integration config for the Data Catalog service." +} +}, +"type": "object" +}, +"MetadataManagementActivity": { +"description": "The metadata management activities of the metastore service.", +"id": "MetadataManagementActivity", +"properties": { +"metadataExports": { +"description": "Output only. The latest metadata exports of the metastore service.", +"items": { +"$ref": "MetadataExport" +}, +"readOnly": true, +"type": "array" +}, +"restores": { +"description": "Output only. The latest restores of the metastore service.", +"items": { +"$ref": "Restore" +}, +"readOnly": true, +"type": "array" +} +}, +"type": "object" +}, +"MigrationExecution": { +"description": "The details of a migration execution resource.", +"id": "MigrationExecution", +"properties": { +"cloudSqlMigrationConfig": { +"$ref": "CloudSQLMigrationConfig", +"description": "Configuration information specific to migrating from self-managed hive metastore on Google Cloud using Cloud SQL as the backend database to Dataproc Metastore." +}, +"createTime": { +"description": "Output only. The time when the migration execution was started.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"endTime": { +"description": "Output only. The time when the migration execution finished.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"name": { +"description": "Output only. The relative resource name of the migration execution, in the following form: projects/{project_number}/locations/{location_id}/services/{service_id}/migrationExecutions/{migration_execution_id}", +"readOnly": true, +"type": "string" +}, +"phase": { +"description": "Output only. The current phase of the migration execution.", +"enum": [ +"PHASE_UNSPECIFIED", +"REPLICATION", +"CUTOVER" +], +"enumDescriptions": [ +"The phase of the migration execution is unknown.", +"Replication phase refers to the migration phase when Dataproc Metastore is running a pipeline to replicate changes in the customer database to its backend database. During this phase, Dataproc Metastore uses the customer database as the hive metastore backend database.", +"Cutover phase refers to the migration phase when Dataproc Metastore switches to using its own backend database. Migration enters this phase when customer is done migrating all their clusters/workloads to Dataproc Metastore and triggers CompleteMigration." +], +"readOnly": true, +"type": "string" +}, +"state": { +"description": "Output only. The current state of the migration execution.", +"enum": [ +"STATE_UNSPECIFIED", +"STARTING", +"RUNNING", +"CANCELLING", +"AWAITING_USER_ACTION", +"SUCCEEDED", +"FAILED", +"CANCELLED", +"DELETING" +], +"enumDescriptions": [ +"The state of the migration execution is unknown.", +"The migration execution is starting.", +"The migration execution is running.", +"The migration execution is in the process of being cancelled.", +"The migration execution is awaiting user action.", +"The migration execution has completed successfully.", +"The migration execution has failed.", +"The migration execution is cancelled.", +"The migration execution is being deleted." +], +"readOnly": true, +"type": "string" +}, +"stateMessage": { +"description": "Output only. Additional information about the current state of the migration execution.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"MoveTableToDatabaseRequest": { +"description": "Request message for DataprocMetastore.MoveTableToDatabase.", +"id": "MoveTableToDatabaseRequest", +"properties": { +"dbName": { +"description": "Required. The name of the database where the table resides.", +"type": "string" +}, +"destinationDbName": { +"description": "Required. The name of the database where the table should be moved.", +"type": "string" +}, +"tableName": { +"description": "Required. The name of the table to be moved.", +"type": "string" +} +}, +"type": "object" +}, +"MoveTableToDatabaseResponse": { +"description": "Response message for DataprocMetastore.MoveTableToDatabase.", +"id": "MoveTableToDatabaseResponse", +"properties": {}, +"type": "object" +}, +"MultiRegionMetadata": { +"deprecated": true, +"description": "Deprecated: Use a single region service instead. The metadata for the multi-region that includes the constituent regions. The metadata is only populated if the region is multi-region. For single region or custom dual region, it will be empty.", +"id": "MultiRegionMetadata", +"properties": { +"constituentRegions": { +"description": "The regions constituting the multi-region.", +"items": { +"type": "string" +}, +"type": "array" +}, +"continent": { +"description": "The continent for this multi-region.", +"type": "string" +}, +"witnessRegion": { +"description": "The Spanner witness region for this multi-region.", +"type": "string" +} +}, +"type": "object" +}, +"NetworkConfig": { +"description": "Network configuration for the Dataproc Metastore service.", +"id": "NetworkConfig", +"properties": { +"consumers": { +"description": "Immutable. The consumer-side network configuration for the Dataproc Metastore instance.", +"items": { +"$ref": "Consumer" +}, +"type": "array" +} +}, +"type": "object" +}, +"Operation": { +"description": "This resource represents a long-running operation that is the result of a network API call.", +"id": "Operation", +"properties": { +"done": { +"description": "If the value is false, it means the operation is still in progress. If true, the operation is completed, and either error or response is available.", +"type": "boolean" +}, +"error": { +"$ref": "Status", +"description": "The error result of the operation in case of failure or cancellation." +}, +"metadata": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.", +"type": "object" +}, +"name": { +"description": "The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the name should be a resource name ending with operations/{unique_id}.", +"type": "string" +}, +"response": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "The normal, successful response of the operation. If the original method returns no data on success, such as Delete, the response is google.protobuf.Empty. If the original method is standard Get/Create/Update, the response should be the resource. For other methods, the response should have the type XxxResponse, where Xxx is the original method name. For example, if the original method name is TakeSnapshot(), the inferred response type is TakeSnapshotResponse.", +"type": "object" +} +}, +"type": "object" +}, +"OperationMetadata": { +"description": "Represents the metadata of a long-running operation.", +"id": "OperationMetadata", +"properties": { +"apiVersion": { +"description": "Output only. API version used to start the operation.", +"readOnly": true, +"type": "string" +}, +"createTime": { +"description": "Output only. The time the operation was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"endTime": { +"description": "Output only. The time the operation finished running.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"requestedCancellation": { +"description": "Output only. Identifies whether the caller has requested cancellation of the operation. Operations that have successfully been cancelled have google.longrunning.Operation.error value with a google.rpc.Status.code of 1, corresponding to Code.CANCELLED.", +"readOnly": true, +"type": "boolean" +}, +"statusMessage": { +"description": "Output only. Human-readable status of the operation, if any.", +"readOnly": true, +"type": "string" +}, +"target": { +"description": "Output only. Server-defined resource path for the target of the operation.", +"readOnly": true, +"type": "string" +}, +"verb": { +"description": "Output only. Name of the verb executed by the operation.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"Policy": { +"description": "An Identity and Access Management (IAM) policy, which specifies access controls for Google Cloud resources.A Policy is a collection of bindings. A binding binds one or more members, or principals, to a single role. Principals can be user accounts, service accounts, Google groups, and domains (such as G Suite). A role is a named list of permissions; each role can be an IAM predefined role or a user-created custom role.For some types of Google Cloud resources, a binding can also specify a condition, which is a logical expression that allows access to a resource only if the expression evaluates to true. A condition can add constraints based on attributes of the request, the resource, or both. To learn which resources support conditions in their IAM policies, see the IAM documentation (https://cloud.google.com/iam/help/conditions/resource-policies).JSON example: { \"bindings\": [ { \"role\": \"roles/resourcemanager.organizationAdmin\", \"members\": [ \"user:mike@example.com\", \"group:admins@example.com\", \"domain:google.com\", \"serviceAccount:my-project-id@appspot.gserviceaccount.com\" ] }, { \"role\": \"roles/resourcemanager.organizationViewer\", \"members\": [ \"user:eve@example.com\" ], \"condition\": { \"title\": \"expirable access\", \"description\": \"Does not grant access after Sep 2020\", \"expression\": \"request.time < timestamp('2020-10-01T00:00:00.000Z')\", } } ], \"etag\": \"BwWWja0YfJA=\", \"version\": 3 } YAML example: bindings: - members: - user:mike@example.com - group:admins@example.com - domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.com role: roles/resourcemanager.organizationViewer condition: title: expirable access description: Does not grant access after Sep 2020 expression: request.time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For a description of IAM and its features, see the IAM documentation (https://cloud.google.com/iam/docs/).", +"id": "Policy", +"properties": { +"auditConfigs": { +"description": "Specifies cloud audit logging configuration for this policy.", +"items": { +"$ref": "AuditConfig" +}, +"type": "array" +}, +"bindings": { +"description": "Associates a list of members, or principals, with a role. Optionally, may specify a condition that determines how and when the bindings are applied. Each of the bindings must contain at least one principal.The bindings in a Policy can refer to up to 1,500 principals; up to 250 of these principals can be Google groups. Each occurrence of a principal counts towards these limits. For example, if the bindings grant 50 different roles to user:alice@example.com, and not to any other principal, then you can add another 1,450 principals to the bindings in the Policy.", +"items": { +"$ref": "Binding" +}, +"type": "array" +}, +"etag": { +"description": "etag is used for optimistic concurrency control as a way to help prevent simultaneous updates of a policy from overwriting each other. It is strongly suggested that systems make use of the etag in the read-modify-write cycle to perform policy updates in order to avoid race conditions: An etag is returned in the response to getIamPolicy, and systems are expected to put that etag in the request to setIamPolicy to ensure that their change will be applied to the same version of the policy.Important: If you use IAM Conditions, you must include the etag field whenever you call setIamPolicy. If you omit this field, then IAM allows you to overwrite a version 3 policy with a version 1 policy, and all of the conditions in the version 3 policy are lost.", +"format": "byte", +"type": "string" +}, +"version": { +"description": "Specifies the format of the policy.Valid values are 0, 1, and 3. Requests that specify an invalid value are rejected.Any operation that affects conditional role bindings must specify version 3. This requirement applies to the following operations: Getting a policy that includes a conditional role binding Adding a conditional role binding to a policy Changing a conditional role binding in a policy Removing any role binding, with or without a condition, from a policy that includes conditionsImportant: If you use IAM Conditions, you must include the etag field whenever you call setIamPolicy. If you omit this field, then IAM allows you to overwrite a version 3 policy with a version 1 policy, and all of the conditions in the version 3 policy are lost.If a policy does not include any conditions, operations on that policy may specify any valid version or leave the field unset.To learn which resources support conditions in their IAM policies, see the IAM documentation (https://cloud.google.com/iam/help/conditions/resource-policies).", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"QueryMetadataRequest": { +"description": "Request message for DataprocMetastore.QueryMetadata.", +"id": "QueryMetadataRequest", +"properties": { +"query": { +"description": "Required. A read-only SQL query to execute against the metadata database. The query cannot change or mutate the data.", +"type": "string" +} +}, +"type": "object" +}, +"QueryMetadataResponse": { +"description": "Response message for DataprocMetastore.QueryMetadata.", +"id": "QueryMetadataResponse", +"properties": { +"resultManifestUri": { +"description": "The manifest URI is link to a JSON instance in Cloud Storage. This instance manifests immediately along with QueryMetadataResponse. The content of the URI is not retriable until the long-running operation query against the metadata finishes.", +"type": "string" +} +}, +"type": "object" +}, +"Restore": { +"description": "The details of a metadata restore operation.", +"id": "Restore", +"properties": { +"backup": { +"description": "Output only. The relative resource name of the metastore service backup to restore from, in the following form:projects/{project_id}/locations/{location_id}/services/{service_id}/backups/{backup_id}.", +"readOnly": true, +"type": "string" +}, +"backupLocation": { +"description": "Optional. A Cloud Storage URI specifying where the backup artifacts are stored, in the format gs:///.", +"type": "string" +}, +"details": { +"description": "Output only. The restore details containing the revision of the service to be restored to, in format of JSON.", +"readOnly": true, +"type": "string" +}, +"endTime": { +"description": "Output only. The time when the restore ended.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"startTime": { +"description": "Output only. The time when the restore started.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"state": { +"description": "Output only. The current state of the restore.", +"enum": [ +"STATE_UNSPECIFIED", +"RUNNING", +"SUCCEEDED", +"FAILED", +"CANCELLED" +], +"enumDescriptions": [ +"The state of the metadata restore is unknown.", +"The metadata restore is running.", +"The metadata restore completed successfully.", +"The metadata restore failed.", +"The metadata restore is cancelled." +], +"readOnly": true, +"type": "string" +}, +"type": { +"description": "Output only. The type of restore.", +"enum": [ +"RESTORE_TYPE_UNSPECIFIED", +"FULL", +"METADATA_ONLY" +], +"enumDescriptions": [ +"The restore type is unknown.", +"The service's metadata and configuration are restored.", +"Only the service's metadata is restored." +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"RestoreServiceRequest": { +"description": "Request message for DataprocMetastore.RestoreService.", +"id": "RestoreServiceRequest", +"properties": { +"backup": { +"description": "Optional. The relative resource name of the metastore service backup to restore from, in the following form:projects/{project_id}/locations/{location_id}/services/{service_id}/backups/{backup_id}. Mutually exclusive with backup_location, and exactly one of the two must be set.", +"type": "string" +}, +"backupLocation": { +"description": "Optional. A Cloud Storage URI specifying the location of the backup artifacts, namely - backup avro files under \"avro/\", backup_metastore.json and service.json, in the following form:gs://. Mutually exclusive with backup, and exactly one of the two must be set.", +"type": "string" +}, +"requestId": { +"description": "Optional. A request ID. Specify a unique request ID to allow the server to ignore the request if it has completed. The server will ignore subsequent requests that provide a duplicate request ID for at least 60 minutes after the first request.For example, if an initial request times out, followed by another request with the same request ID, the server ignores the second request to prevent the creation of duplicate commitments.The request ID must be a valid UUID (https://en.wikipedia.org/wiki/Universally_unique_identifier#Format). A zero UUID (00000000-0000-0000-0000-000000000000) is not supported.", +"type": "string" +}, +"restoreType": { +"description": "Optional. The type of restore. If unspecified, defaults to METADATA_ONLY.", +"enum": [ +"RESTORE_TYPE_UNSPECIFIED", +"FULL", +"METADATA_ONLY" +], +"enumDescriptions": [ +"The restore type is unknown.", +"The service's metadata and configuration are restored.", +"Only the service's metadata is restored." +], +"type": "string" +} +}, +"type": "object" +}, +"ScalingConfig": { +"description": "Represents the scaling configuration of a metastore service.", +"id": "ScalingConfig", +"properties": { +"autoscalingConfig": { +"$ref": "AutoscalingConfig", +"description": "Optional. The autoscaling configuration." +}, +"instanceSize": { +"description": "An enum of readable instance sizes, with each instance size mapping to a float value (e.g. InstanceSize.EXTRA_SMALL = scaling_factor(0.1))", +"enum": [ +"INSTANCE_SIZE_UNSPECIFIED", +"EXTRA_SMALL", +"SMALL", +"MEDIUM", +"LARGE", +"EXTRA_LARGE" +], +"enumDescriptions": [ +"Unspecified instance size", +"Extra small instance size, maps to a scaling factor of 0.1.", +"Small instance size, maps to a scaling factor of 0.5.", +"Medium instance size, maps to a scaling factor of 1.0.", +"Large instance size, maps to a scaling factor of 3.0.", +"Extra large instance size, maps to a scaling factor of 6.0." +], +"type": "string" +}, +"scalingFactor": { +"description": "Scaling factor, increments of 0.1 for values less than 1.0, and increments of 1.0 for values greater than 1.0.", +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"ScheduledBackup": { +"description": "This specifies the configuration of scheduled backup.", +"id": "ScheduledBackup", +"properties": { +"backupLocation": { +"description": "Optional. A Cloud Storage URI of a folder, in the format gs:///. A sub-folder containing backup files will be stored below it.", +"type": "string" +}, +"cronSchedule": { +"description": "Optional. The scheduled interval in Cron format, see https://en.wikipedia.org/wiki/Cron The default is empty: scheduled backup is not enabled. Must be specified to enable scheduled backups.", +"type": "string" +}, +"enabled": { +"description": "Optional. Defines whether the scheduled backup is enabled. The default value is false.", +"type": "boolean" +}, +"latestBackup": { +"$ref": "LatestBackup", +"description": "Output only. The details of the latest scheduled backup.", +"readOnly": true +}, +"nextScheduledTime": { +"description": "Output only. The time when the next backups execution is scheduled to start.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"timeZone": { +"description": "Optional. Specifies the time zone to be used when interpreting cron_schedule. Must be a time zone name from the time zone database (https://en.wikipedia.org/wiki/List_of_tz_database_time_zones), e.g. America/Los_Angeles or Africa/Abidjan. If left unspecified, the default is UTC.", +"type": "string" +} +}, +"type": "object" +}, +"Secret": { +"description": "A securely stored value.", +"id": "Secret", +"properties": { +"cloudSecret": { +"description": "Optional. The relative resource name of a Secret Manager secret version, in the following form:projects/{project_number}/secrets/{secret_id}/versions/{version_id}.", +"type": "string" +} +}, +"type": "object" +}, +"Service": { +"description": "A managed metastore service that serves metadata queries.", +"id": "Service", +"properties": { +"artifactGcsUri": { +"description": "Output only. A Cloud Storage URI (starting with gs://) that specifies where artifacts related to the metastore service are stored.", +"readOnly": true, +"type": "string" +}, +"createTime": { +"description": "Output only. The time when the metastore service was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"databaseType": { +"description": "Immutable. The database type that the Metastore service stores its data.", +"enum": [ +"DATABASE_TYPE_UNSPECIFIED", +"MYSQL", +"SPANNER" +], +"enumDescriptions": [ +"The DATABASE_TYPE is not set.", +"MySQL is used to persist the metastore data.", +"Spanner is used to persist the metastore data." +], +"type": "string" +}, +"deletionProtection": { +"description": "Optional. Indicates if the dataproc metastore should be protected against accidental deletions.", +"type": "boolean" +}, +"encryptionConfig": { +"$ref": "EncryptionConfig", +"description": "Immutable. Information used to configure the Dataproc Metastore service to encrypt customer data at rest. Cannot be updated." +}, +"endpointUri": { +"description": "Output only. The URI of the endpoint used to access the metastore service.", +"readOnly": true, +"type": "string" +}, +"hiveMetastoreConfig": { +"$ref": "HiveMetastoreConfig", +"description": "Configuration information specific to running Hive metastore software as the metastore service." +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "User-defined labels for the metastore service.", +"type": "object" +}, +"maintenanceWindow": { +"$ref": "MaintenanceWindow", +"description": "Optional. The one hour maintenance window of the metastore service. This specifies when the service can be restarted for maintenance purposes in UTC time. Maintenance window is not needed for services with the SPANNER database type." +}, +"metadataIntegration": { +"$ref": "MetadataIntegration", +"description": "Optional. The setting that defines how metastore metadata should be integrated with external services and systems." +}, +"metadataManagementActivity": { +"$ref": "MetadataManagementActivity", +"description": "Output only. The metadata management activities of the metastore service.", +"readOnly": true +}, +"name": { +"description": "Immutable. Identifier. The relative resource name of the metastore service, in the following format:projects/{project_number}/locations/{location_id}/services/{service_id}.", +"type": "string" +}, +"network": { +"description": "Immutable. The relative resource name of the VPC network on which the instance can be accessed. It is specified in the following form:projects/{project_number}/global/networks/{network_id}.", +"type": "string" +}, +"networkConfig": { +"$ref": "NetworkConfig", +"description": "Optional. The configuration specifying the network settings for the Dataproc Metastore service." +}, +"port": { +"description": "Optional. The TCP port at which the metastore service is reached. Default: 9083.", +"format": "int32", +"type": "integer" +}, +"releaseChannel": { +"description": "Immutable. The release channel of the service. If unspecified, defaults to STABLE.", +"enum": [ +"RELEASE_CHANNEL_UNSPECIFIED", +"CANARY", +"STABLE" +], +"enumDescriptions": [ +"Release channel is not specified.", +"The CANARY release channel contains the newest features, which may be unstable and subject to unresolved issues with no known workarounds. Services using the CANARY release channel are not subject to any SLAs.", +"The STABLE release channel contains features that are considered stable and have been validated for production use." +], +"type": "string" +}, +"scalingConfig": { +"$ref": "ScalingConfig", +"description": "Optional. Scaling configuration of the metastore service." +}, +"scheduledBackup": { +"$ref": "ScheduledBackup", +"description": "Optional. The configuration of scheduled backup for the metastore service." +}, +"state": { +"description": "Output only. The current state of the metastore service.", +"enum": [ +"STATE_UNSPECIFIED", +"CREATING", +"ACTIVE", +"SUSPENDING", +"SUSPENDED", +"UPDATING", +"DELETING", +"ERROR", +"AUTOSCALING", +"MIGRATING" +], +"enumDescriptions": [ +"The state of the metastore service is unknown.", +"The metastore service is in the process of being created.", +"The metastore service is running and ready to serve queries.", +"The metastore service is entering suspension. Its query-serving availability may cease unexpectedly.", +"The metastore service is suspended and unable to serve queries.", +"The metastore service is being updated. It remains usable but cannot accept additional update requests or be deleted at this time.", +"The metastore service is undergoing deletion. It cannot be used.", +"The metastore service has encountered an error and cannot be used. The metastore service should be deleted.", +"The Dataproc Metastore service 2 is being scaled up or down.", +"The metastore service is processing a managed migration." +], +"readOnly": true, +"type": "string" +}, +"stateMessage": { +"description": "Output only. Additional information about the current state of the metastore service, if available.", +"readOnly": true, +"type": "string" +}, +"tags": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. Input only. Immutable. Tag keys/values directly bound to this resource. For example: \"123/environment\": \"production\", \"123/costCenter\": \"marketing\"", +"type": "object" +}, +"telemetryConfig": { +"$ref": "TelemetryConfig", +"description": "Optional. The configuration specifying telemetry settings for the Dataproc Metastore service. If unspecified defaults to JSON." +}, +"tier": { +"description": "Optional. The tier of the service.", +"enum": [ +"TIER_UNSPECIFIED", +"DEVELOPER", +"ENTERPRISE" +], +"enumDescriptions": [ +"The tier is not set.", +"The developer tier provides limited scalability and no fault tolerance. Good for low-cost proof-of-concept.", +"The enterprise tier provides multi-zone high availability, and sufficient scalability for enterprise-level Dataproc Metastore workloads." +], +"type": "string" +}, +"uid": { +"description": "Output only. The globally unique resource identifier of the metastore service.", +"readOnly": true, +"type": "string" +}, +"updateTime": { +"description": "Output only. The time when the metastore service was last updated.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"SetIamPolicyRequest": { +"description": "Request message for SetIamPolicy method.", +"id": "SetIamPolicyRequest", +"properties": { +"policy": { +"$ref": "Policy", +"description": "REQUIRED: The complete policy to be applied to the resource. The size of the policy is limited to a few 10s of KB. An empty policy is a valid policy but certain Google Cloud services (such as Projects) might reject them." +}, +"updateMask": { +"description": "OPTIONAL: A FieldMask specifying which fields of the policy to modify. Only the fields in the mask will be modified. If no mask is provided, the following default mask is used:paths: \"bindings, etag\"", +"format": "google-fieldmask", +"type": "string" +} +}, +"type": "object" +}, +"StartMigrationRequest": { +"description": "Request message for DataprocMetastore.StartMigration.", +"id": "StartMigrationRequest", +"properties": { +"migrationExecution": { +"$ref": "MigrationExecution", +"description": "Required. The configuration details for the migration." +}, +"requestId": { +"description": "Optional. A request ID. Specify a unique request ID to allow the server to ignore the request if it has completed. The server will ignore subsequent requests that provide a duplicate request ID for at least 60 minutes after the first request.For example, if an initial request times out, followed by another request with the same request ID, the server ignores the second request to prevent the creation of duplicate commitments.The request ID must be a valid UUID (https://en.wikipedia.org/wiki/Universally_unique_identifier#Format) A zero UUID (00000000-0000-0000-0000-000000000000) is not supported.", +"type": "string" +} +}, +"type": "object" +}, +"Status": { +"description": "The Status type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by gRPC (https://github.com/grpc). Each Status message contains three pieces of data: error code, error message, and error details.You can find out more about this error model and how to work with it in the API Design Guide (https://cloud.google.com/apis/design/errors).", +"id": "Status", +"properties": { +"code": { +"description": "The status code, which should be an enum value of google.rpc.Code.", +"format": "int32", +"type": "integer" +}, +"details": { +"description": "A list of messages that carry the error details. There is a common set of message types for APIs to use.", +"items": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.", +"type": "string" +} +}, +"type": "object" +}, +"StatusProto": { +"description": "Wire-format for a Status object", +"id": "StatusProto", +"properties": { +"canonicalCode": { +"description": "copybara:strip_begin(b/383363683) copybara:strip_end_and_replace optional int32 canonical_code = 6;", +"format": "int32", +"type": "integer" +}, +"code": { +"description": "Numeric code drawn from the space specified below. Often, this is the canonical error space, and code is drawn from google3/util/task/codes.proto copybara:strip_begin(b/383363683) copybara:strip_end_and_replace optional int32 code = 1;", +"format": "int32", +"type": "integer" +}, +"message": { +"description": "Detail message copybara:strip_begin(b/383363683) copybara:strip_end_and_replace optional string message = 3;", +"type": "string" +}, +"messageSet": { +"$ref": "MessageSet", +"description": "message_set associates an arbitrary proto message with the status. copybara:strip_begin(b/383363683) copybara:strip_end_and_replace optional proto2.bridge.MessageSet message_set = 5;" +}, +"space": { +"description": "copybara:strip_begin(b/383363683) Space to which this status belongs copybara:strip_end_and_replace optional string space = 2; // Space to which this status belongs", +"type": "string" +} +}, +"type": "object" +}, +"TelemetryConfig": { +"description": "Telemetry Configuration for the Dataproc Metastore service.", +"id": "TelemetryConfig", +"properties": { +"logFormat": { +"description": "Optional. The output format of the Dataproc Metastore service's logs.", +"enum": [ +"LOG_FORMAT_UNSPECIFIED", +"LEGACY", +"JSON" +], +"enumDescriptions": [ +"The LOG_FORMAT is not set.", +"Logging output uses the legacy textPayload format.", +"Logging output uses the jsonPayload format." +], +"type": "string" +} +}, +"type": "object" +}, +"TestIamPermissionsRequest": { +"description": "Request message for TestIamPermissions method.", +"id": "TestIamPermissionsRequest", +"properties": { +"permissions": { +"description": "The set of permissions to check for the resource. Permissions with wildcards (such as * or storage.*) are not allowed. For more information see IAM Overview (https://cloud.google.com/iam/docs/overview#permissions).", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"TestIamPermissionsResponse": { +"description": "Response message for TestIamPermissions method.", +"id": "TestIamPermissionsResponse", +"properties": { +"permissions": { +"description": "A subset of TestPermissionsRequest.permissions that the caller is allowed.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +} +}, +"servicePath": "", +"title": "Dataproc Metastore API", +"version": "v1", +"version_module": true +} \ No newline at end of file diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/monitoring.v1.json b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/monitoring.v1.json new file mode 100644 index 0000000000000000000000000000000000000000..3ee8a6a74015414f279bb99405486c91f35fd784 --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/monitoring.v1.json @@ -0,0 +1,3138 @@ +{ +"auth": { +"oauth2": { +"scopes": { +"https://www.googleapis.com/auth/cloud-platform": { +"description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." +}, +"https://www.googleapis.com/auth/monitoring": { +"description": "View and write monitoring data for all of your Google and third-party Cloud and API projects" +}, +"https://www.googleapis.com/auth/monitoring.read": { +"description": "View monitoring data for all of your Google Cloud and third-party projects" +}, +"https://www.googleapis.com/auth/monitoring.write": { +"description": "Publish metric data to your Google Cloud projects" +} +} +} +}, +"basePath": "", +"baseUrl": "https://monitoring.googleapis.com/", +"batchPath": "batch", +"canonicalName": "Monitoring", +"description": "Manages your Cloud Monitoring data and configurations.", +"discoveryVersion": "v1", +"documentationLink": "https://cloud.google.com/monitoring/api/", +"fullyEncodeReservedExpansion": true, +"icons": { +"x16": "http://www.google.com/images/icons/product/search-16.gif", +"x32": "http://www.google.com/images/icons/product/search-32.gif" +}, +"id": "monitoring:v1", +"kind": "discovery#restDescription", +"mtlsRootUrl": "https://monitoring.mtls.googleapis.com/", +"name": "monitoring", +"ownerDomain": "google.com", +"ownerName": "Google", +"parameters": { +"$.xgafv": { +"description": "V1 error format.", +"enum": [ +"1", +"2" +], +"enumDescriptions": [ +"v1 error format", +"v2 error format" +], +"location": "query", +"type": "string" +}, +"access_token": { +"description": "OAuth access token.", +"location": "query", +"type": "string" +}, +"alt": { +"default": "json", +"description": "Data format for response.", +"enum": [ +"json", +"media", +"proto" +], +"enumDescriptions": [ +"Responses with Content-Type of application/json", +"Media download with context-dependent Content-Type", +"Responses with Content-Type of application/x-protobuf" +], +"location": "query", +"type": "string" +}, +"callback": { +"description": "JSONP", +"location": "query", +"type": "string" +}, +"fields": { +"description": "Selector specifying which fields to include in a partial response.", +"location": "query", +"type": "string" +}, +"key": { +"description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", +"location": "query", +"type": "string" +}, +"oauth_token": { +"description": "OAuth 2.0 token for the current user.", +"location": "query", +"type": "string" +}, +"prettyPrint": { +"default": "true", +"description": "Returns response with indentations and line breaks.", +"location": "query", +"type": "boolean" +}, +"quotaUser": { +"description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.", +"location": "query", +"type": "string" +}, +"uploadType": { +"description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", +"location": "query", +"type": "string" +}, +"upload_protocol": { +"description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", +"location": "query", +"type": "string" +} +}, +"protocol": "rest", +"resources": { +"locations": { +"resources": { +"global": { +"resources": { +"metricsScopes": { +"methods": { +"get": { +"description": "Returns a specific Metrics Scope, including the list of projects monitored by the specified Metrics Scope.", +"flatPath": "v1/locations/global/metricsScopes/{metricsScopesId}", +"httpMethod": "GET", +"id": "monitoring.locations.global.metricsScopes.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the Metrics Scope. Example: locations/global/metricsScopes/{SCOPING_PROJECT_ID_OR_NUMBER}", +"location": "path", +"pattern": "^locations/global/metricsScopes/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "MetricsScope" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/monitoring", +"https://www.googleapis.com/auth/monitoring.read" +] +}, +"listMetricsScopesByMonitoredProject": { +"description": "Returns a list of every Metrics Scope that a specific MonitoredProject has been added to. The metrics scope representing the specified monitored project will always be the first entry in the response.", +"flatPath": "v1/locations/global/metricsScopes:listMetricsScopesByMonitoredProject", +"httpMethod": "GET", +"id": "monitoring.locations.global.metricsScopes.listMetricsScopesByMonitoredProject", +"parameterOrder": [], +"parameters": { +"monitoredResourceContainer": { +"description": "Required. The resource name of the Monitored Project being requested. Example: projects/{MONITORED_PROJECT_ID_OR_NUMBER}", +"location": "query", +"type": "string" +} +}, +"path": "v1/locations/global/metricsScopes:listMetricsScopesByMonitoredProject", +"response": { +"$ref": "ListMetricsScopesByMonitoredProjectResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/monitoring", +"https://www.googleapis.com/auth/monitoring.read" +] +} +}, +"resources": { +"projects": { +"methods": { +"create": { +"description": "Adds a MonitoredProject with the given project ID to the specified Metrics Scope.", +"flatPath": "v1/locations/global/metricsScopes/{metricsScopesId}/projects", +"httpMethod": "POST", +"id": "monitoring.locations.global.metricsScopes.projects.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The resource name of the existing Metrics Scope that will monitor this project. Example: locations/global/metricsScopes/{SCOPING_PROJECT_ID_OR_NUMBER}", +"location": "path", +"pattern": "^locations/global/metricsScopes/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/projects", +"request": { +"$ref": "MonitoredProject" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/monitoring", +"https://www.googleapis.com/auth/monitoring.write" +] +}, +"delete": { +"description": "Deletes a MonitoredProject from the specified Metrics Scope.", +"flatPath": "v1/locations/global/metricsScopes/{metricsScopesId}/projects/{projectsId}", +"httpMethod": "DELETE", +"id": "monitoring.locations.global.metricsScopes.projects.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the MonitoredProject. Example: locations/global/metricsScopes/{SCOPING_PROJECT_ID_OR_NUMBER}/projects/{MONITORED_PROJECT_ID_OR_NUMBER}Authorization requires the following Google IAM (https://cloud.google.com/iam) permissions on both the Metrics Scope and on the MonitoredProject: monitoring.metricsScopes.link", +"location": "path", +"pattern": "^locations/global/metricsScopes/[^/]+/projects/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/monitoring", +"https://www.googleapis.com/auth/monitoring.write" +] +} +} +} +} +} +} +} +} +}, +"operations": { +"methods": { +"get": { +"description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", +"flatPath": "v1/operations/{operationsId}", +"httpMethod": "GET", +"id": "monitoring.operations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource.", +"location": "path", +"pattern": "^operations/.*$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/monitoring", +"https://www.googleapis.com/auth/monitoring.read" +] +} +} +}, +"projects": { +"resources": { +"dashboards": { +"methods": { +"create": { +"description": "Creates a new custom dashboard. For examples on how you can use this API to create dashboards, see Managing dashboards by API (https://cloud.google.com/monitoring/dashboards/api-dashboard). This method requires the monitoring.dashboards.create permission on the specified project. For more information about permissions, see Cloud Identity and Access Management (https://cloud.google.com/iam).", +"flatPath": "v1/projects/{projectsId}/dashboards", +"httpMethod": "POST", +"id": "monitoring.projects.dashboards.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The project on which to execute the request. The format is: projects/[PROJECT_ID_OR_NUMBER] The [PROJECT_ID_OR_NUMBER] must match the dashboard resource name.", +"location": "path", +"pattern": "^projects/[^/]+$", +"required": true, +"type": "string" +}, +"validateOnly": { +"description": "If set, validate the request and preview the review, but do not actually save it.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1/{+parent}/dashboards", +"request": { +"$ref": "Dashboard" +}, +"response": { +"$ref": "Dashboard" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/monitoring", +"https://www.googleapis.com/auth/monitoring.write" +] +}, +"delete": { +"description": "Deletes an existing custom dashboard.This method requires the monitoring.dashboards.delete permission on the specified dashboard. For more information, see Cloud Identity and Access Management (https://cloud.google.com/iam).", +"flatPath": "v1/projects/{projectsId}/dashboards/{dashboardsId}", +"httpMethod": "DELETE", +"id": "monitoring.projects.dashboards.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the Dashboard. The format is: projects/[PROJECT_ID_OR_NUMBER]/dashboards/[DASHBOARD_ID] ", +"location": "path", +"pattern": "^projects/[^/]+/dashboards/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/monitoring", +"https://www.googleapis.com/auth/monitoring.write" +] +}, +"get": { +"description": "Fetches a specific dashboard.This method requires the monitoring.dashboards.get permission on the specified dashboard. For more information, see Cloud Identity and Access Management (https://cloud.google.com/iam).", +"flatPath": "v1/projects/{projectsId}/dashboards/{dashboardsId}", +"httpMethod": "GET", +"id": "monitoring.projects.dashboards.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the Dashboard. The format is one of: dashboards/[DASHBOARD_ID] (for system dashboards) projects/[PROJECT_ID_OR_NUMBER]/dashboards/[DASHBOARD_ID] (for custom dashboards).", +"location": "path", +"pattern": "^projects/[^/]+/dashboards/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Dashboard" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/monitoring", +"https://www.googleapis.com/auth/monitoring.read" +] +}, +"list": { +"description": "Lists the existing dashboards.This method requires the monitoring.dashboards.list permission on the specified project. For more information, see Cloud Identity and Access Management (https://cloud.google.com/iam).", +"flatPath": "v1/projects/{projectsId}/dashboards", +"httpMethod": "GET", +"id": "monitoring.projects.dashboards.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "A positive number that is the maximum number of results to return. If unspecified, a default of 1000 is used.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. If this field is not empty then it must contain the nextPageToken value returned by a previous call to this method. Using this field causes the method to return additional results from the previous method call.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The scope of the dashboards to list. The format is: projects/[PROJECT_ID_OR_NUMBER] ", +"location": "path", +"pattern": "^projects/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/dashboards", +"response": { +"$ref": "ListDashboardsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/monitoring", +"https://www.googleapis.com/auth/monitoring.read" +] +}, +"patch": { +"description": "Replaces an existing custom dashboard with a new definition.This method requires the monitoring.dashboards.update permission on the specified dashboard. For more information, see Cloud Identity and Access Management (https://cloud.google.com/iam).", +"flatPath": "v1/projects/{projectsId}/dashboards/{dashboardsId}", +"httpMethod": "PATCH", +"id": "monitoring.projects.dashboards.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Identifier. The resource name of the dashboard.", +"location": "path", +"pattern": "^projects/[^/]+/dashboards/[^/]+$", +"required": true, +"type": "string" +}, +"validateOnly": { +"description": "If set, validate the request and preview the review, but do not actually save it.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "Dashboard" +}, +"response": { +"$ref": "Dashboard" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/monitoring", +"https://www.googleapis.com/auth/monitoring.write" +] +} +} +}, +"location": { +"resources": { +"prometheus": { +"resources": { +"api": { +"resources": { +"v1": { +"methods": { +"labels": { +"description": "Lists labels for metrics.", +"flatPath": "v1/projects/{projectsId}/location/{location}/prometheus/api/v1/labels", +"httpMethod": "POST", +"id": "monitoring.projects.location.prometheus.api.v1.labels", +"parameterOrder": [ +"name", +"location" +], +"parameters": { +"location": { +"description": "Location of the resource information. Has to be \"global\" now.", +"location": "path", +"required": true, +"type": "string" +}, +"name": { +"description": "Required. The workspace on which to execute the request. It is not part of the open source API but used as a request path prefix to distinguish different virtual Prometheus instances of Google Prometheus Engine. The format is: projects/PROJECT_ID_OR_NUMBER.", +"location": "path", +"pattern": "^projects/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}/location/{location}/prometheus/api/v1/labels", +"request": { +"$ref": "QueryLabelsRequest" +}, +"response": { +"$ref": "HttpBody" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/monitoring", +"https://www.googleapis.com/auth/monitoring.read" +] +}, +"query": { +"description": "Evaluate a PromQL query at a single point in time.", +"flatPath": "v1/projects/{projectsId}/location/{location}/prometheus/api/v1/query", +"httpMethod": "POST", +"id": "monitoring.projects.location.prometheus.api.v1.query", +"parameterOrder": [ +"name", +"location" +], +"parameters": { +"location": { +"description": "Location of the resource information. Has to be \"global\" now.", +"location": "path", +"required": true, +"type": "string" +}, +"name": { +"description": "Required. The project on which to execute the request. Data associcated with the project's workspace stored under the The format is: projects/PROJECT_ID_OR_NUMBER. Open source API but used as a request path prefix to distinguish different virtual Prometheus instances of Google Prometheus Engine.", +"location": "path", +"pattern": "^projects/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}/location/{location}/prometheus/api/v1/query", +"request": { +"$ref": "QueryInstantRequest" +}, +"response": { +"$ref": "HttpBody" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/monitoring", +"https://www.googleapis.com/auth/monitoring.read" +] +}, +"query_exemplars": { +"description": "Lists exemplars relevant to a given PromQL query,", +"flatPath": "v1/projects/{projectsId}/location/{location}/prometheus/api/v1/query_exemplars", +"httpMethod": "POST", +"id": "monitoring.projects.location.prometheus.api.v1.query_exemplars", +"parameterOrder": [ +"name", +"location" +], +"parameters": { +"location": { +"description": "Location of the resource information. Has to be \"global\" now.", +"location": "path", +"required": true, +"type": "string" +}, +"name": { +"description": "Required. The project on which to execute the request. Data associcated with the project's workspace stored under the The format is: projects/PROJECT_ID_OR_NUMBER. Open source API but used as a request path prefix to distinguish different virtual Prometheus instances of Google Prometheus Engine.", +"location": "path", +"pattern": "^projects/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}/location/{location}/prometheus/api/v1/query_exemplars", +"request": { +"$ref": "QueryExemplarsRequest" +}, +"response": { +"$ref": "HttpBody" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/monitoring", +"https://www.googleapis.com/auth/monitoring.read" +] +}, +"query_range": { +"description": "Evaluate a PromQL query with start, end time range.", +"flatPath": "v1/projects/{projectsId}/location/{location}/prometheus/api/v1/query_range", +"httpMethod": "POST", +"id": "monitoring.projects.location.prometheus.api.v1.query_range", +"parameterOrder": [ +"name", +"location" +], +"parameters": { +"location": { +"description": "Location of the resource information. Has to be \"global\" now.", +"location": "path", +"required": true, +"type": "string" +}, +"name": { +"description": "Required. The project on which to execute the request. Data associcated with the project's workspace stored under the The format is: projects/PROJECT_ID_OR_NUMBER. Open source API but used as a request path prefix to distinguish different virtual Prometheus instances of Google Prometheus Engine.", +"location": "path", +"pattern": "^projects/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}/location/{location}/prometheus/api/v1/query_range", +"request": { +"$ref": "QueryRangeRequest" +}, +"response": { +"$ref": "HttpBody" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/monitoring", +"https://www.googleapis.com/auth/monitoring.read" +] +}, +"series": { +"description": "Lists metadata for metrics.", +"flatPath": "v1/projects/{projectsId}/location/{location}/prometheus/api/v1/series", +"httpMethod": "POST", +"id": "monitoring.projects.location.prometheus.api.v1.series", +"parameterOrder": [ +"name", +"location" +], +"parameters": { +"location": { +"description": "Location of the resource information. Has to be \"global\" for now.", +"location": "path", +"required": true, +"type": "string" +}, +"name": { +"description": "Required. The workspace on which to execute the request. It is not part of the open source API but used as a request path prefix to distinguish different virtual Prometheus instances of Google Prometheus Engine. The format is: projects/PROJECT_ID_OR_NUMBER.", +"location": "path", +"pattern": "^projects/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}/location/{location}/prometheus/api/v1/series", +"request": { +"$ref": "QuerySeriesRequest" +}, +"response": { +"$ref": "HttpBody" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/monitoring", +"https://www.googleapis.com/auth/monitoring.read" +] +} +}, +"resources": { +"label": { +"methods": { +"values": { +"description": "Lists possible values for a given label name.", +"flatPath": "v1/projects/{projectsId}/location/{location}/prometheus/api/v1/label/{label}/values", +"httpMethod": "GET", +"id": "monitoring.projects.location.prometheus.api.v1.label.values", +"parameterOrder": [ +"name", +"location", +"label" +], +"parameters": { +"end": { +"description": "The end time to evaluate the query for. Either floating point UNIX seconds or RFC3339 formatted timestamp.", +"location": "query", +"type": "string" +}, +"label": { +"description": "The label name for which values are queried.", +"location": "path", +"required": true, +"type": "string" +}, +"location": { +"description": "Location of the resource information. Has to be \"global\" now.", +"location": "path", +"required": true, +"type": "string" +}, +"match": { +"description": "A list of matchers encoded in the Prometheus label matcher format to constrain the values to series that satisfy them.", +"location": "query", +"type": "string" +}, +"name": { +"description": "Required. The workspace on which to execute the request. It is not part of the open source API but used as a request path prefix to distinguish different virtual Prometheus instances of Google Prometheus Engine. The format is: projects/PROJECT_ID_OR_NUMBER.", +"location": "path", +"pattern": "^projects/[^/]+$", +"required": true, +"type": "string" +}, +"start": { +"description": "The start time to evaluate the query for. Either floating point UNIX seconds or RFC3339 formatted timestamp.", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}/location/{location}/prometheus/api/v1/label/{label}/values", +"response": { +"$ref": "HttpBody" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/monitoring", +"https://www.googleapis.com/auth/monitoring.read" +] +} +} +}, +"metadata": { +"methods": { +"list": { +"description": "Lists metadata for metrics.", +"flatPath": "v1/projects/{projectsId}/location/{location}/prometheus/api/v1/metadata", +"httpMethod": "GET", +"id": "monitoring.projects.location.prometheus.api.v1.metadata.list", +"parameterOrder": [ +"name", +"location" +], +"parameters": { +"limit": { +"description": "Maximum number of metrics to return.", +"format": "int64", +"location": "query", +"type": "string" +}, +"location": { +"description": "Location of the resource information. Has to be \"global\" for now.", +"location": "path", +"required": true, +"type": "string" +}, +"metric": { +"description": "The metric name for which to query metadata. If unset, all metric metadata is returned.", +"location": "query", +"type": "string" +}, +"name": { +"description": "Required. The workspace on which to execute the request. It is not part of the open source API but used as a request path prefix to distinguish different virtual Prometheus instances of Google Prometheus Engine. The format is: projects/PROJECT_ID_OR_NUMBER.", +"location": "path", +"pattern": "^projects/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}/location/{location}/prometheus/api/v1/metadata", +"response": { +"$ref": "HttpBody" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/monitoring", +"https://www.googleapis.com/auth/monitoring.read" +] +} +} +} +} +} +} +} +} +} +} +} +} +} +}, +"revision": "20260212", +"rootUrl": "https://monitoring.googleapis.com/", +"schemas": { +"Aggregation": { +"description": "Describes how to combine multiple time series to provide a different view of the data. Aggregation of time series is done in two steps. First, each time series in the set is aligned to the same time interval boundaries, then the set of time series is optionally reduced in number.Alignment consists of applying the per_series_aligner operation to each time series after its data has been divided into regular alignment_period time intervals. This process takes all of the data points in an alignment period, applies a mathematical transformation such as averaging, minimum, maximum, delta, etc., and converts them into a single data point per period.Reduction is when the aligned and transformed time series can optionally be combined, reducing the number of time series through similar mathematical transformations. Reduction involves applying a cross_series_reducer to all the time series, optionally sorting the time series into subsets with group_by_fields, and applying the reducer to each subset.The raw time series data can contain a huge amount of information from multiple sources. Alignment and reduction transforms this mass of data into a more manageable and representative collection of data, for example \"the 95% latency across the average of all tasks in a cluster\". This representative data can be more easily graphed and comprehended, and the individual time series data is still available for later drilldown. For more details, see Filtering and aggregation (https://cloud.google.com/monitoring/api/v3/aggregation).", +"id": "Aggregation", +"properties": { +"alignmentPeriod": { +"description": "The alignment_period specifies a time interval, in seconds, that is used to divide the data in all the time series into consistent blocks of time. This will be done before the per-series aligner can be applied to the data.The value must be at least 60 seconds. If a per-series aligner other than ALIGN_NONE is specified, this field is required or an error is returned. If no per-series aligner is specified, or the aligner ALIGN_NONE is specified, then this field is ignored.The maximum value of the alignment_period is 2 years, or 104 weeks.", +"format": "google-duration", +"type": "string" +}, +"crossSeriesReducer": { +"description": "The reduction operation to be used to combine time series into a single time series, where the value of each data point in the resulting series is a function of all the already aligned values in the input time series.Not all reducer operations can be applied to all time series. The valid choices depend on the metric_kind and the value_type of the original time series. Reduction can yield a time series with a different metric_kind or value_type than the input time series.Time series data must first be aligned (see per_series_aligner) in order to perform cross-time series reduction. If cross_series_reducer is specified, then per_series_aligner must be specified, and must not be ALIGN_NONE. An alignment_period must also be specified; otherwise, an error is returned.", +"enum": [ +"REDUCE_NONE", +"REDUCE_MEAN", +"REDUCE_MIN", +"REDUCE_MAX", +"REDUCE_SUM", +"REDUCE_STDDEV", +"REDUCE_COUNT", +"REDUCE_COUNT_TRUE", +"REDUCE_COUNT_FALSE", +"REDUCE_FRACTION_TRUE", +"REDUCE_PERCENTILE_99", +"REDUCE_PERCENTILE_95", +"REDUCE_PERCENTILE_50", +"REDUCE_PERCENTILE_05" +], +"enumDescriptions": [ +"No cross-time series reduction. The output of the Aligner is returned.", +"Reduce by computing the mean value across time series for each alignment period. This reducer is valid for DELTA and GAUGE metrics with numeric or distribution values. The value_type of the output is DOUBLE.", +"Reduce by computing the minimum value across time series for each alignment period. This reducer is valid for DELTA and GAUGE metrics with numeric values. The value_type of the output is the same as the value_type of the input.", +"Reduce by computing the maximum value across time series for each alignment period. This reducer is valid for DELTA and GAUGE metrics with numeric values. The value_type of the output is the same as the value_type of the input.", +"Reduce by computing the sum across time series for each alignment period. This reducer is valid for DELTA and GAUGE metrics with numeric and distribution values. The value_type of the output is the same as the value_type of the input.", +"Reduce by computing the standard deviation across time series for each alignment period. This reducer is valid for DELTA and GAUGE metrics with numeric or distribution values. The value_type of the output is DOUBLE.", +"Reduce by computing the number of data points across time series for each alignment period. This reducer is valid for DELTA and GAUGE metrics of numeric, Boolean, distribution, and string value_type. The value_type of the output is INT64.", +"Reduce by computing the number of True-valued data points across time series for each alignment period. This reducer is valid for DELTA and GAUGE metrics of Boolean value_type. The value_type of the output is INT64.", +"Reduce by computing the number of False-valued data points across time series for each alignment period. This reducer is valid for DELTA and GAUGE metrics of Boolean value_type. The value_type of the output is INT64.", +"Reduce by computing the ratio of the number of True-valued data points to the total number of data points for each alignment period. This reducer is valid for DELTA and GAUGE metrics of Boolean value_type. The output value is in the range 0.0, 1.0 and has value_type DOUBLE.", +"Reduce by computing the 99th percentile (https://en.wikipedia.org/wiki/Percentile) of data points across time series for each alignment period. This reducer is valid for GAUGE and DELTA metrics of numeric and distribution type. The value of the output is DOUBLE.", +"Reduce by computing the 95th percentile (https://en.wikipedia.org/wiki/Percentile) of data points across time series for each alignment period. This reducer is valid for GAUGE and DELTA metrics of numeric and distribution type. The value of the output is DOUBLE.", +"Reduce by computing the 50th percentile (https://en.wikipedia.org/wiki/Percentile) of data points across time series for each alignment period. This reducer is valid for GAUGE and DELTA metrics of numeric and distribution type. The value of the output is DOUBLE.", +"Reduce by computing the 5th percentile (https://en.wikipedia.org/wiki/Percentile) of data points across time series for each alignment period. This reducer is valid for GAUGE and DELTA metrics of numeric and distribution type. The value of the output is DOUBLE." +], +"type": "string" +}, +"groupByFields": { +"description": "The set of fields to preserve when cross_series_reducer is specified. The group_by_fields determine how the time series are partitioned into subsets prior to applying the aggregation operation. Each subset contains time series that have the same value for each of the grouping fields. Each individual time series is a member of exactly one subset. The cross_series_reducer is applied to each subset of time series. It is not possible to reduce across different resource types, so this field implicitly contains resource.type. Fields not specified in group_by_fields are aggregated away. If group_by_fields is not specified and all the time series have the same resource type, then the time series are aggregated into a single output time series. If cross_series_reducer is not defined, this field is ignored.", +"items": { +"type": "string" +}, +"type": "array" +}, +"perSeriesAligner": { +"description": "An Aligner describes how to bring the data points in a single time series into temporal alignment. Except for ALIGN_NONE, all alignments cause all the data points in an alignment_period to be mathematically grouped together, resulting in a single data point for each alignment_period with end timestamp at the end of the period.Not all alignment operations may be applied to all time series. The valid choices depend on the metric_kind and value_type of the original time series. Alignment can change the metric_kind or the value_type of the time series.Time series data must be aligned in order to perform cross-time series reduction. If cross_series_reducer is specified, then per_series_aligner must be specified and not equal to ALIGN_NONE and alignment_period must be specified; otherwise, an error is returned.", +"enum": [ +"ALIGN_NONE", +"ALIGN_DELTA", +"ALIGN_RATE", +"ALIGN_INTERPOLATE", +"ALIGN_NEXT_OLDER", +"ALIGN_MIN", +"ALIGN_MAX", +"ALIGN_MEAN", +"ALIGN_COUNT", +"ALIGN_SUM", +"ALIGN_STDDEV", +"ALIGN_COUNT_TRUE", +"ALIGN_COUNT_FALSE", +"ALIGN_FRACTION_TRUE", +"ALIGN_PERCENTILE_99", +"ALIGN_PERCENTILE_95", +"ALIGN_PERCENTILE_50", +"ALIGN_PERCENTILE_05", +"ALIGN_PERCENT_CHANGE" +], +"enumDescriptions": [ +"No alignment. Raw data is returned. Not valid if cross-series reduction is requested. The value_type of the result is the same as the value_type of the input.", +"Align and convert to DELTA. The output is delta = y1 - y0.This alignment is valid for CUMULATIVE and DELTA metrics. If the selected alignment period results in periods with no data, then the aligned value for such a period is created by interpolation. The value_type of the aligned result is the same as the value_type of the input.", +"Align and convert to a rate. The result is computed as rate = (y1 - y0)/(t1 - t0), or \"delta over time\". Think of this aligner as providing the slope of the line that passes through the value at the start and at the end of the alignment_period.This aligner is valid for CUMULATIVE and DELTA metrics with numeric values. If the selected alignment period results in periods with no data, then the aligned value for such a period is created by interpolation. The output is a GAUGE metric with value_type DOUBLE.If, by \"rate\", you mean \"percentage change\", see the ALIGN_PERCENT_CHANGE aligner instead.", +"Align by interpolating between adjacent points around the alignment period boundary. This aligner is valid for GAUGE metrics with numeric values. The value_type of the aligned result is the same as the value_type of the input.", +"Align by moving the most recent data point before the end of the alignment period to the boundary at the end of the alignment period. This aligner is valid for GAUGE metrics. The value_type of the aligned result is the same as the value_type of the input.", +"Align the time series by returning the minimum value in each alignment period. This aligner is valid for GAUGE and DELTA metrics with numeric values. The value_type of the aligned result is the same as the value_type of the input.", +"Align the time series by returning the maximum value in each alignment period. This aligner is valid for GAUGE and DELTA metrics with numeric values. The value_type of the aligned result is the same as the value_type of the input.", +"Align the time series by returning the mean value in each alignment period. This aligner is valid for GAUGE and DELTA metrics with numeric values. The value_type of the aligned result is DOUBLE.", +"Align the time series by returning the number of values in each alignment period. This aligner is valid for GAUGE and DELTA metrics with numeric or Boolean values. The value_type of the aligned result is INT64.", +"Align the time series by returning the sum of the values in each alignment period. This aligner is valid for GAUGE and DELTA metrics with numeric and distribution values. The value_type of the aligned result is the same as the value_type of the input.", +"Align the time series by returning the standard deviation of the values in each alignment period. This aligner is valid for GAUGE and DELTA metrics with numeric values. The value_type of the output is DOUBLE.", +"Align the time series by returning the number of True values in each alignment period. This aligner is valid for GAUGE metrics with Boolean values. The value_type of the output is INT64.", +"Align the time series by returning the number of False values in each alignment period. This aligner is valid for GAUGE metrics with Boolean values. The value_type of the output is INT64.", +"Align the time series by returning the ratio of the number of True values to the total number of values in each alignment period. This aligner is valid for GAUGE metrics with Boolean values. The output value is in the range 0.0, 1.0 and has value_type DOUBLE.", +"Align the time series by using percentile aggregation (https://en.wikipedia.org/wiki/Percentile). The resulting data point in each alignment period is the 99th percentile of all data points in the period. This aligner is valid for GAUGE and DELTA metrics with distribution values. The output is a GAUGE metric with value_type DOUBLE.", +"Align the time series by using percentile aggregation (https://en.wikipedia.org/wiki/Percentile). The resulting data point in each alignment period is the 95th percentile of all data points in the period. This aligner is valid for GAUGE and DELTA metrics with distribution values. The output is a GAUGE metric with value_type DOUBLE.", +"Align the time series by using percentile aggregation (https://en.wikipedia.org/wiki/Percentile). The resulting data point in each alignment period is the 50th percentile of all data points in the period. This aligner is valid for GAUGE and DELTA metrics with distribution values. The output is a GAUGE metric with value_type DOUBLE.", +"Align the time series by using percentile aggregation (https://en.wikipedia.org/wiki/Percentile). The resulting data point in each alignment period is the 5th percentile of all data points in the period. This aligner is valid for GAUGE and DELTA metrics with distribution values. The output is a GAUGE metric with value_type DOUBLE.", +"Align and convert to a percentage change. This aligner is valid for GAUGE and DELTA metrics with numeric values. This alignment returns ((current - previous)/previous) * 100, where the value of previous is determined based on the alignment_period.If the values of current and previous are both 0, then the returned value is 0. If only previous is 0, the returned value is infinity.A 10-minute moving mean is computed at each point of the alignment period prior to the above calculation to smooth the metric and prevent false positives from very short-lived spikes. The moving mean is only applicable for data whose values are >= 0. Any values < 0 are treated as a missing datapoint, and are ignored. While DELTA metrics are accepted by this alignment, special care should be taken that the values for the metric will always be positive. The output is a GAUGE metric with value_type DOUBLE." +], +"type": "string" +} +}, +"type": "object" +}, +"AggregationFunction": { +"description": "Preview: An identifier for an aggregation function. Aggregation functions are SQL functions that group or transform data from multiple points to a single point. This is a preview feature and may be subject to change before final release.", +"id": "AggregationFunction", +"properties": { +"parameters": { +"description": "Optional. Parameters applied to the aggregation function. Only used for functions that require them.", +"items": { +"$ref": "Parameter" +}, +"type": "array" +}, +"type": { +"description": "Required. The type of aggregation function, must be one of the following: \"none\" - no function. \"percentile\" - APPROX_QUANTILES() - 1 parameter numeric value \"average\" - AVG() \"count\" - COUNT() \"count-distinct\" - COUNT(DISTINCT) \"count-distinct-approx\" - APPROX_COUNT_DISTINCT() \"max\" - MAX() \"min\" - MIN() \"sum\" - SUM()", +"type": "string" +} +}, +"type": "object" +}, +"AlertChart": { +"description": "A chart that displays alert policy data.", +"id": "AlertChart", +"properties": { +"name": { +"description": "Required. The resource name of the alert policy. The format is: projects/[PROJECT_ID_OR_NUMBER]/alertPolicies/[ALERT_POLICY_ID] ", +"type": "string" +} +}, +"type": "object" +}, +"Axis": { +"description": "A chart axis.", +"id": "Axis", +"properties": { +"label": { +"description": "The label of the axis.", +"type": "string" +}, +"scale": { +"description": "The axis scale. By default, a linear scale is used.", +"enum": [ +"SCALE_UNSPECIFIED", +"LINEAR", +"LOG10" +], +"enumDescriptions": [ +"Scale is unspecified. The view will default to LINEAR.", +"Linear scale.", +"Logarithmic scale (base 10)." +], +"type": "string" +} +}, +"type": "object" +}, +"Breakdown": { +"description": "Preview: A breakdown is an aggregation applied to the measures over a specified column. A breakdown can result in multiple series across a category for the provided measure. This is a preview feature and may be subject to change before final release.", +"id": "Breakdown", +"properties": { +"aggregationFunction": { +"$ref": "AggregationFunction", +"description": "Required. The Aggregation function is applied across all data in each breakdown created." +}, +"column": { +"description": "Required. The name of the column in the dataset containing the breakdown values.", +"type": "string" +}, +"limit": { +"description": "Required. A limit to the number of breakdowns. If set to zero then all possible breakdowns are applied. The list of breakdowns is dependent on the value of the sort_order field.", +"format": "int32", +"type": "integer" +}, +"sortOrder": { +"description": "Required. The sort order is applied to the values of the breakdown column.", +"enum": [ +"SORT_ORDER_UNSPECIFIED", +"SORT_ORDER_NONE", +"SORT_ORDER_ASCENDING", +"SORT_ORDER_DESCENDING" +], +"enumDescriptions": [ +"An unspecified sort order. This option is invalid when sorting is required.", +"No sorting is applied.", +"The lowest-valued entries are selected first.", +"The highest-valued entries are selected first." +], +"type": "string" +} +}, +"type": "object" +}, +"ChartOptions": { +"description": "Options to control visual rendering of a chart.", +"id": "ChartOptions", +"properties": { +"displayHorizontal": { +"description": "Preview: Configures whether the charted values are shown on the horizontal or vertical axis. By default, values are represented the vertical axis. This is a preview feature and may be subject to change before final release.", +"type": "boolean" +}, +"mode": { +"description": "The chart mode.", +"enum": [ +"MODE_UNSPECIFIED", +"COLOR", +"X_RAY", +"STATS" +], +"enumDescriptions": [ +"Mode is unspecified. The view will default to COLOR.", +"The chart distinguishes data series using different color. Line colors may get reused when there are many lines in the chart.", +"The chart uses the Stackdriver x-ray mode, in which each data set is plotted using the same semi-transparent color.", +"The chart displays statistics such as average, median, 95th percentile, and more." +], +"type": "string" +} +}, +"type": "object" +}, +"CollapsibleGroup": { +"description": "A widget that groups the other widgets. All widgets that are within the area spanned by the grouping widget are considered member widgets.", +"id": "CollapsibleGroup", +"properties": { +"collapsed": { +"description": "The collapsed state of the widget on first page load.", +"type": "boolean" +} +}, +"type": "object" +}, +"Column": { +"description": "Defines the layout properties and content for a column.", +"id": "Column", +"properties": { +"weight": { +"description": "The relative weight of this column. The column weight is used to adjust the width of columns on the screen (relative to peers). Greater the weight, greater the width of the column on the screen. If omitted, a value of 1 is used while rendering.", +"format": "int64", +"type": "string" +}, +"widgets": { +"description": "The display widgets arranged vertically in this column.", +"items": { +"$ref": "Widget" +}, +"type": "array" +} +}, +"type": "object" +}, +"ColumnLayout": { +"description": "A simplified layout that divides the available space into vertical columns and arranges a set of widgets vertically in each column.", +"id": "ColumnLayout", +"properties": { +"columns": { +"description": "The columns of content to display.", +"items": { +"$ref": "Column" +}, +"type": "array" +} +}, +"type": "object" +}, +"ColumnSettings": { +"description": "The persistent settings for a table's columns.", +"id": "ColumnSettings", +"properties": { +"alignment": { +"description": "Optional. Whether the column should be left / middle / right aligned", +"enum": [ +"CELL_ALIGNMENT_UNSPECIFIED", +"LEFT", +"CENTER", +"RIGHT" +], +"enumDescriptions": [ +"No horizontal alignment specified; fall back to the default behavior. Label values are left aligned. Numeric values are right aligned.", +"Left-align", +"Center-align", +"Right-align" +], +"type": "string" +}, +"column": { +"description": "Required. The id of the column.", +"type": "string" +}, +"displayName": { +"description": "Optional. Display name of the column", +"type": "string" +}, +"thresholds": { +"description": "Optional. The thresholds used to determine how the table cell should be rendered given the time series' current value.", +"items": { +"$ref": "Threshold" +}, +"type": "array" +}, +"visible": { +"description": "Required. Whether the column should be visible on page load.", +"type": "boolean" +} +}, +"type": "object" +}, +"ColumnSortingOptions": { +"description": "Data structure to storing column's sort strategy", +"id": "ColumnSortingOptions", +"properties": { +"column": { +"description": "Optional. Column name to sort data by", +"type": "string" +}, +"direction": { +"description": "Optional. A sorting direction that determines ascending or descending order. This is a legacy field kept for backwards compatibility with table.", +"enum": [ +"SORT_ORDER_UNSPECIFIED", +"SORT_ORDER_NONE", +"SORT_ORDER_ASCENDING", +"SORT_ORDER_DESCENDING" +], +"enumDescriptions": [ +"An unspecified sort order. This option is invalid when sorting is required.", +"No sorting is applied.", +"The lowest-valued entries are selected first.", +"The highest-valued entries are selected first." +], +"type": "string" +} +}, +"type": "object" +}, +"CoordinatedWidget": { +"description": "A widget that contains two widget visualizations that are coordinated in display. Currently, we only support the primary widget of TimeSeriesTable with the secondary widget of XyChart.", +"id": "CoordinatedWidget", +"properties": { +"primary": { +"$ref": "Widget", +"description": "Required. The primary visualization. Must be set. Must contain a data source." +}, +"secondary": { +"$ref": "Widget", +"description": "Required. The secondary visualization. Must be set. Must contain a data source." +} +}, +"type": "object" +}, +"Dashboard": { +"description": "A Google Stackdriver dashboard. Dashboards define the content and layout of pages in the Stackdriver web application.", +"id": "Dashboard", +"properties": { +"annotations": { +"$ref": "DashboardAnnotations", +"description": "Configuration for event annotations to display on this dashboard." +}, +"columnLayout": { +"$ref": "ColumnLayout", +"description": "The content is divided into equally spaced columns and the widgets are arranged vertically." +}, +"dashboardFilters": { +"description": "Filters to reduce the amount of data charted based on the filter criteria.", +"items": { +"$ref": "DashboardFilter" +}, +"type": "array" +}, +"displayName": { +"description": "Required. The mutable, human-readable name.", +"type": "string" +}, +"etag": { +"description": "etag is used for optimistic concurrency control as a way to help prevent simultaneous updates of a policy from overwriting each other. An etag is returned in the response to GetDashboard, and users are expected to put that etag in the request to UpdateDashboard to ensure that their change will be applied to the same version of the Dashboard configuration. The field should not be passed during dashboard creation.", +"type": "string" +}, +"gridLayout": { +"$ref": "GridLayout", +"description": "Content is arranged with a basic layout that re-flows a simple list of informational elements like widgets or tiles." +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Labels applied to the dashboard", +"type": "object" +}, +"mosaicLayout": { +"$ref": "MosaicLayout", +"description": "The content is arranged as a grid of tiles, with each content widget occupying one or more grid blocks." +}, +"name": { +"description": "Identifier. The resource name of the dashboard.", +"type": "string" +}, +"rowLayout": { +"$ref": "RowLayout", +"description": "The content is divided into equally spaced rows and the widgets are arranged horizontally." +} +}, +"type": "object" +}, +"DashboardAnnotations": { +"description": "Dashboard-level configuration for annotations", +"id": "DashboardAnnotations", +"properties": { +"defaultResourceNames": { +"description": "Dashboard level defaults for names of logging resources to search for events. Currently only projects are supported. Each individual EventAnnotation may have its own overrides. If both this field and the per annotation field is empty, then the scoping project is used. Limit: 50 projects. For example: \u201cprojects/some-project-id\u201d ", +"items": { +"type": "string" +}, +"type": "array" +}, +"eventAnnotations": { +"description": "List of annotation configurations for this dashboard. Each entry specifies one event type.", +"items": { +"$ref": "EventAnnotation" +}, +"type": "array" +} +}, +"type": "object" +}, +"DashboardFilter": { +"description": "A filter to reduce the amount of data charted in relevant widgets.", +"id": "DashboardFilter", +"properties": { +"filterType": { +"description": "The specified filter type", +"enum": [ +"FILTER_TYPE_UNSPECIFIED", +"RESOURCE_LABEL", +"METRIC_LABEL", +"USER_METADATA_LABEL", +"SYSTEM_METADATA_LABEL", +"GROUP", +"VALUE_ONLY" +], +"enumDescriptions": [ +"Filter type is unspecified. This is not valid in a well-formed request.", +"Filter on a resource label value", +"Filter on a metrics label value", +"Filter on a user metadata label value", +"Filter on a system metadata label value", +"Filter on a group id", +"Filter that only contains a value. The label_key field must be unset for filters of this type." +], +"type": "string" +}, +"labelKey": { +"description": "Optional. The key for the label. This must be omitted if the filter_type is VALUE_ONLY but is required otherwise.", +"type": "string" +}, +"stringArray": { +"$ref": "StringArray", +"description": "A list of possible string values for the filter" +}, +"stringArrayValue": { +"$ref": "StringArray", +"description": "An array of variable-length string values. If this field is set, value_type must be set to STRING_ARRAY or VALUE_TYPE_UNSPECIFIED" +}, +"stringValue": { +"description": "A variable-length string value. If this field is set, value_type must be set to STRING or VALUE_TYPE_UNSPECIFIED", +"type": "string" +}, +"templateVariable": { +"description": "The placeholder text that can be referenced in a filter string or MQL query. If omitted, the dashboard filter will be applied to all relevant widgets in the dashboard.", +"type": "string" +}, +"timeSeriesQuery": { +"$ref": "TimeSeriesQuery", +"description": "A query to run to fetch possible values for the filter. Only OpsAnalyticsQueries are supported" +}, +"valueType": { +"description": "The type of the filter value. If value_type is not provided, it will be inferred from the default_value. If neither value_type nor default_value is provided, value_type will be set to STRING by default.", +"enum": [ +"VALUE_TYPE_UNSPECIFIED", +"STRING", +"STRING_ARRAY" +], +"enumDescriptions": [ +"Value type is unspecified", +"String type", +"String array type" +], +"type": "string" +} +}, +"type": "object" +}, +"DataSet": { +"description": "Groups a time series query definition with charting options.", +"id": "DataSet", +"properties": { +"breakdowns": { +"description": "Optional. The collection of breakdowns to be applied to the dataset.", +"items": { +"$ref": "Breakdown" +}, +"type": "array" +}, +"dimensions": { +"description": "Optional. A collection of dimension columns.", +"items": { +"$ref": "Dimension" +}, +"type": "array" +}, +"legendTemplate": { +"description": "A template string for naming TimeSeries in the resulting data set. This should be a string with interpolations of the form ${label_name}, which will resolve to the label's value.", +"type": "string" +}, +"measures": { +"description": "Optional. A collection of measures.", +"items": { +"$ref": "Measure" +}, +"type": "array" +}, +"minAlignmentPeriod": { +"description": "Optional. The lower bound on data point frequency for this data set, implemented by specifying the minimum alignment period to use in a time series query For example, if the data is published once every 10 minutes, the min_alignment_period should be at least 10 minutes. It would not make sense to fetch and align data at one minute intervals.", +"format": "google-duration", +"type": "string" +}, +"plotType": { +"description": "How this data should be plotted on the chart.", +"enum": [ +"PLOT_TYPE_UNSPECIFIED", +"LINE", +"STACKED_AREA", +"STACKED_BAR", +"HEATMAP" +], +"enumDescriptions": [ +"Plot type is unspecified. The view will default to LINE.", +"The data is plotted as a set of lines (one line per series).", +"The data is plotted as a set of filled areas (one area per series), with the areas stacked vertically (the base of each area is the top of its predecessor, and the base of the first area is the x-axis). Since the areas do not overlap, each is filled with a different opaque color.", +"The data is plotted as a set of rectangular boxes (one box per series), with the boxes stacked vertically (the base of each box is the top of its predecessor, and the base of the first box is the x-axis). Since the boxes do not overlap, each is filled with a different opaque color.", +"The data is plotted as a heatmap. The series being plotted must have a DISTRIBUTION value type. The value of each bucket in the distribution is displayed as a color. This type is not currently available in the Stackdriver Monitoring application." +], +"type": "string" +}, +"sort": { +"description": "Optional. A collection of sort options, affects the order of the data and legend.", +"items": { +"$ref": "ColumnSortingOptions" +}, +"type": "array" +}, +"targetAxis": { +"description": "Optional. The target axis to use for plotting the metric.", +"enum": [ +"TARGET_AXIS_UNSPECIFIED", +"Y1", +"Y2" +], +"enumDescriptions": [ +"The target axis was not specified. Defaults to Y1.", +"The y_axis (the right axis of chart).", +"The y2_axis (the left axis of chart)." +], +"type": "string" +}, +"timeSeriesQuery": { +"$ref": "TimeSeriesQuery", +"description": "Required. Fields for querying time series data from the Stackdriver metrics API." +} +}, +"type": "object" +}, +"Dimension": { +"description": "A chart dimension. Dimensions are a structured label, class, or category for a set of measurements in your data.", +"id": "Dimension", +"properties": { +"column": { +"description": "Required. For widgets that use SQL queries, set the value to the name of the column in the results table whose data is charted. For a histogram that uses a time series query, set the value of this field to metric_value.", +"type": "string" +}, +"columnType": { +"description": "Optional. The type of the dimension column. This is relevant only if one of the bin_size fields is set. If it is empty, the type TIMESTAMP or INT64 will be assumed based on which bin_size field is set. If populated, this should be set to one of the following types: DATE, TIME, DATETIME, TIMESTAMP, BIGNUMERIC, INT64, NUMERIC, FLOAT64.", +"type": "string" +}, +"floatBinSize": { +"description": "Optional. float_bin_size is used when the column type used for a dimension is a floating point numeric column.", +"format": "double", +"type": "number" +}, +"maxBinCount": { +"description": "For widgets that use SQL queries, the limit to the number of bins to generate. When 0 is specified, the maximum count is not enforced. For a histogram that uses a time series query, the exact number of bins to generate. If not specified or the value is 0, then the histogram determines the number of bins to use.", +"format": "int32", +"type": "integer" +}, +"numericBinSize": { +"description": "numeric_bin_size is used when the column type used for a dimension is numeric or string. If the column field is set to metric_value, then numericBinSize overrides maxBinCount.", +"format": "int32", +"type": "integer" +}, +"sortColumn": { +"description": "The column name to sort on for binning. This column can be the same column as this dimension or any other column used as a measure in the results. If sort_order is set to NONE, then this value is not used.", +"type": "string" +}, +"sortOrder": { +"description": "The sort order applied to the sort column.", +"enum": [ +"SORT_ORDER_UNSPECIFIED", +"SORT_ORDER_NONE", +"SORT_ORDER_ASCENDING", +"SORT_ORDER_DESCENDING" +], +"enumDescriptions": [ +"An unspecified sort order. This option is invalid when sorting is required.", +"No sorting is applied.", +"The lowest-valued entries are selected first.", +"The highest-valued entries are selected first." +], +"type": "string" +}, +"timeBinSize": { +"description": "time_bin_size is used when the data type of the specified dimension is a time type and the bin size is determined by a time duration. If column_type is DATE, this must be a whole value multiple of 1 day. If column_type is TIME, this must be less than or equal to 24 hours.", +"format": "google-duration", +"type": "string" +} +}, +"type": "object" +}, +"DroppedLabels": { +"description": "A set of (label, value) pairs that were removed from a Distribution time series during aggregation and then added as an attachment to a Distribution.Exemplar.The full label set for the exemplars is constructed by using the dropped pairs in combination with the label values that remain on the aggregated Distribution time series. The constructed full label set can be used to identify the specific entity, such as the instance or job, which might be contributing to a long-tail. However, with dropped labels, the storage requirements are reduced because only the aggregated distribution values for a large group of time series are stored.Note that there are no guarantees on ordering of the labels from exemplar-to-exemplar and from distribution-to-distribution in the same stream, and there may be duplicates. It is up to clients to resolve any ambiguities.", +"id": "DroppedLabels", +"properties": { +"label": { +"additionalProperties": { +"type": "string" +}, +"description": "Map from label to its value, for all labels dropped in any aggregation.", +"type": "object" +} +}, +"type": "object" +}, +"Empty": { +"description": "A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); } ", +"id": "Empty", +"properties": {}, +"type": "object" +}, +"ErrorReportingPanel": { +"description": "A widget that displays a list of error groups.", +"id": "ErrorReportingPanel", +"properties": { +"projectNames": { +"description": "The resource name of the Google Cloud Platform project. Written as projects/{projectID} or projects/{projectNumber}, where {projectID} and {projectNumber} can be found in the Google Cloud console (https://support.google.com/cloud/answer/6158840).Examples: projects/my-project-123, projects/5551234.", +"items": { +"type": "string" +}, +"type": "array" +}, +"services": { +"description": "An identifier of the service, such as the name of the executable, job, or Google App Engine service name. This field is expected to have a low number of values that are relatively stable over time, as opposed to version, which can be changed whenever new code is deployed.Contains the service name for error reports extracted from Google App Engine logs or default if the App Engine default service is used.", +"items": { +"type": "string" +}, +"type": "array" +}, +"versions": { +"description": "Represents the source code version that the developer provided, which could represent a version label or a Git SHA-1 hash, for example. For App Engine standard environment, the version is set to the version of the app.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"EventAnnotation": { +"description": "Annotation configuration for one event type on a dashboard", +"id": "EventAnnotation", +"properties": { +"displayName": { +"description": "Solely for UI display. Should not be used programmatically.", +"type": "string" +}, +"enabled": { +"description": "Whether or not to show the events on the dashboard by default", +"type": "boolean" +}, +"eventType": { +"description": "The type of event to display.", +"enum": [ +"EVENT_TYPE_UNSPECIFIED", +"GKE_WORKLOAD_DEPLOYMENT", +"GKE_POD_CRASH", +"GKE_POD_UNSCHEDULABLE", +"GKE_CONTAINER_CREATION_FAILED", +"GKE_CLUSTER_CREATE_DELETE", +"GKE_CLUSTER_UPDATE", +"GKE_NODE_POOL_UPDATE", +"GKE_CLUSTER_AUTOSCALER", +"GKE_POD_AUTOSCALER", +"VM_TERMINATION", +"VM_GUEST_OS_ERROR", +"VM_START_FAILED", +"MIG_UPDATE", +"MIG_AUTOSCALER", +"CLOUD_RUN_DEPLOYMENT", +"CLOUD_SQL_FAILOVER", +"CLOUD_SQL_START_STOP", +"CLOUD_SQL_STORAGE", +"UPTIME_CHECK_FAILURE", +"CLOUD_ALERTING_ALERT", +"SERVICE_HEALTH_INCIDENT", +"SAP_BACKINT", +"SAP_AVAILABILITY", +"SAP_OPERATIONS" +], +"enumDescriptions": [ +"No event type specified.", +"Patch/update of GKE workload.", +"Crash events for a GKE Pod.", +"Scheduling failures for GKE Pods.", +"Failure to create a GKE container.", +"Create/delete of a GKE cluster.", +"Update of a GKE cluster.", +"Update of a GKE node pool.", +"GKE cluster autoscaler event.", +"GKE pod autoscaler event.", +"Termination of a virtual machine.", +"Guest OS error on a virtual machine.", +"Start failure on a virtual machine.", +"Update of a managed instance group.", +"Autoscaler event for a managed instance group.", +"New deployment of a Cloud Run service.", +"Failover of a Cloud SQL instance.", +"Start/stop of a Cloud SQL instance.", +"Storage event for a Cloud SQL instance.", +"Failure of a Cloud Monitoring uptime check.", +"Alerts from Cloud Alerting", +"Incidents from Service Health", +"Agent for SAP Backint related events.", +"Agent for SAP availability related events.", +"Agent for SAP operations related events." +], +"type": "string" +}, +"filter": { +"description": "string filtering the events - event dependant. Example values: \"resource.labels.pod_name = 'pod-1'\" \"protoPayload.authenticationInfo.principalEmail='user@example.com'\" ", +"type": "string" +}, +"resourceNames": { +"description": "Per annotation level override for the names of logging resources to search for events. Currently only projects are supported. If both this field and the per annotation field is empty, it will default to the host project. Limit: 50 projects. For example: \u201cprojects/another-project-id\u201d ", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"Field": { +"description": "A single field of a message type.New usages of this message as an alternative to FieldDescriptorProto are strongly discouraged. This message does not reliability preserve all information necessary to model the schema and preserve semantics. Instead make use of FileDescriptorSet which preserves the necessary information.", +"id": "Field", +"properties": { +"cardinality": { +"description": "The field cardinality.", +"enum": [ +"CARDINALITY_UNKNOWN", +"CARDINALITY_OPTIONAL", +"CARDINALITY_REQUIRED", +"CARDINALITY_REPEATED" +], +"enumDescriptions": [ +"For fields with unknown cardinality.", +"For optional fields.", +"For required fields. Proto2 syntax only.", +"For repeated fields." +], +"type": "string" +}, +"defaultValue": { +"description": "The string value of the default value of this field. Proto2 syntax only.", +"type": "string" +}, +"jsonName": { +"description": "The field JSON name.", +"type": "string" +}, +"kind": { +"description": "The field type.", +"enum": [ +"TYPE_UNKNOWN", +"TYPE_DOUBLE", +"TYPE_FLOAT", +"TYPE_INT64", +"TYPE_UINT64", +"TYPE_INT32", +"TYPE_FIXED64", +"TYPE_FIXED32", +"TYPE_BOOL", +"TYPE_STRING", +"TYPE_GROUP", +"TYPE_MESSAGE", +"TYPE_BYTES", +"TYPE_UINT32", +"TYPE_ENUM", +"TYPE_SFIXED32", +"TYPE_SFIXED64", +"TYPE_SINT32", +"TYPE_SINT64" +], +"enumDescriptions": [ +"Field type unknown.", +"Field type double.", +"Field type float.", +"Field type int64.", +"Field type uint64.", +"Field type int32.", +"Field type fixed64.", +"Field type fixed32.", +"Field type bool.", +"Field type string.", +"Field type group. Proto2 syntax only, and deprecated.", +"Field type message.", +"Field type bytes.", +"Field type uint32.", +"Field type enum.", +"Field type sfixed32.", +"Field type sfixed64.", +"Field type sint32.", +"Field type sint64." +], +"type": "string" +}, +"name": { +"description": "The field name.", +"type": "string" +}, +"number": { +"description": "The field number.", +"format": "int32", +"type": "integer" +}, +"oneofIndex": { +"description": "The index of the field type in Type.oneofs, for message or enumeration types. The first type has index 1; zero means the type is not in the list.", +"format": "int32", +"type": "integer" +}, +"options": { +"description": "The protocol buffer options.", +"items": { +"$ref": "Option" +}, +"type": "array" +}, +"packed": { +"description": "Whether to use alternative packed wire representation.", +"type": "boolean" +}, +"typeUrl": { +"description": "The field type URL, without the scheme, for message or enumeration types. Example: \"type.googleapis.com/google.protobuf.Timestamp\".", +"type": "string" +} +}, +"type": "object" +}, +"FilterControl": { +"description": "A widget that displays an input field to change the value of a template variable.", +"id": "FilterControl", +"properties": { +"templateVariable": { +"description": "Name of the template variable the widget affects.", +"type": "string" +} +}, +"type": "object" +}, +"GaugeView": { +"description": "A gauge chart shows where the current value sits within a pre-defined range. The upper and lower bounds should define the possible range of values for the scorecard's query (inclusive).", +"id": "GaugeView", +"properties": { +"lowerBound": { +"description": "The lower bound for this gauge chart. The value of the chart should always be greater than or equal to this.", +"format": "double", +"type": "number" +}, +"upperBound": { +"description": "The upper bound for this gauge chart. The value of the chart should always be less than or equal to this.", +"format": "double", +"type": "number" +} +}, +"type": "object" +}, +"GridLayout": { +"description": "A basic layout divides the available space into vertical columns of equal width and arranges a list of widgets using a row-first strategy.", +"id": "GridLayout", +"properties": { +"columns": { +"description": "The number of columns into which the view's width is divided. If omitted or set to zero, a system default will be used while rendering.", +"format": "int64", +"type": "string" +}, +"widgets": { +"description": "The informational elements that are arranged into the columns row-first.", +"items": { +"$ref": "Widget" +}, +"type": "array" +} +}, +"type": "object" +}, +"HttpBody": { +"description": "Message that represents an arbitrary HTTP body. It should only be used for payload formats that can't be represented as JSON, such as raw binary or an HTML page.This message can be used both in streaming and non-streaming API methods in the request as well as the response.It can be used as a top-level request field, which is convenient if one wants to extract parameters from either the URL or HTTP template into the request fields and also want access to the raw HTTP body.Example: message GetResourceRequest { // A unique request id. string request_id = 1; // The raw HTTP body is bound to this field. google.api.HttpBody http_body = 2; } service ResourceService { rpc GetResource(GetResourceRequest) returns (google.api.HttpBody); rpc UpdateResource(google.api.HttpBody) returns (google.protobuf.Empty); } Example with streaming methods: service CaldavService { rpc GetCalendar(stream google.api.HttpBody) returns (stream google.api.HttpBody); rpc UpdateCalendar(stream google.api.HttpBody) returns (stream google.api.HttpBody); } Use of this type only changes how the request and response bodies are handled, all other features will continue to work unchanged.", +"id": "HttpBody", +"properties": { +"contentType": { +"description": "The HTTP Content-Type header value specifying the content type of the body.", +"type": "string" +}, +"data": { +"description": "The HTTP request/response body as raw binary.", +"format": "byte", +"type": "string" +}, +"extensions": { +"description": "Application specific response metadata. Must be set in the first response for streaming APIs.", +"items": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"type": "object" +}, +"type": "array" +} +}, +"type": "object" +}, +"IncidentList": { +"description": "A widget that displays a list of incidents", +"id": "IncidentList", +"properties": { +"monitoredResources": { +"description": "Optional. The monitored resource for which incidents are listed. The resource doesn't need to be fully specified. That is, you can specify the resource type but not the values of the resource labels. The resource type and labels are used for filtering.", +"items": { +"$ref": "MonitoredResource" +}, +"type": "array" +}, +"policyNames": { +"description": "Optional. A list of alert policy names to filter the incident list by. Don't include the project ID prefix in the policy name. For example, use alertPolicies/utilization.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"Interval": { +"description": "Represents a time interval, encoded as a Timestamp start (inclusive) and a Timestamp end (exclusive).The start must be less than or equal to the end. When the start equals the end, the interval is empty (matches no time). When both start and end are unspecified, the interval matches any time.", +"id": "Interval", +"properties": { +"endTime": { +"description": "Optional. Exclusive end of the interval.If specified, a Timestamp matching this interval will have to be before the end.", +"format": "google-datetime", +"type": "string" +}, +"startTime": { +"description": "Optional. Inclusive start of the interval.If specified, a Timestamp matching this interval will have to be the same or after the start.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"ListDashboardsResponse": { +"description": "The ListDashboards request.", +"id": "ListDashboardsResponse", +"properties": { +"dashboards": { +"description": "The list of requested dashboards.", +"items": { +"$ref": "Dashboard" +}, +"type": "array" +}, +"nextPageToken": { +"description": "If there are more results than have been returned, then this field is set to a non-empty value. To see the additional results, use that value as page_token in the next call to this method.", +"type": "string" +} +}, +"type": "object" +}, +"ListMetricsScopesByMonitoredProjectResponse": { +"description": "Response for the ListMetricsScopesByMonitoredProject method.", +"id": "ListMetricsScopesByMonitoredProjectResponse", +"properties": { +"metricsScopes": { +"description": "A set of all metrics scopes that the specified monitored project has been added to.", +"items": { +"$ref": "MetricsScope" +}, +"type": "array" +} +}, +"type": "object" +}, +"LogsPanel": { +"description": "A widget that displays a stream of log.", +"id": "LogsPanel", +"properties": { +"filter": { +"description": "A filter that chooses which log entries to return. See Advanced Logs Queries (https://cloud.google.com/logging/docs/view/advanced-queries). Only log entries that match the filter are returned. An empty filter matches all log entries.", +"type": "string" +}, +"resourceNames": { +"description": "The names of logging resources to collect logs for. Currently projects and storage views are supported. If empty, the widget will default to the host project.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"Measure": { +"description": "A chart measure. Measures represent a measured property in your chart data such as rainfall in inches, number of units sold, revenue gained, etc.", +"id": "Measure", +"properties": { +"aggregationFunction": { +"$ref": "AggregationFunction", +"description": "Required. The aggregation function applied to the input column. This must not be set to \"none\" unless binning is disabled on the dimension. The aggregation function is used to group points on the dimension bins." +}, +"column": { +"description": "Required. The column name within in the dataset used for the measure.", +"type": "string" +} +}, +"type": "object" +}, +"MetricsScope": { +"description": "Represents a Metrics Scope (https://cloud.google.com/monitoring/settings#concept-scope) in Cloud Monitoring, which specifies one or more Google projects and zero or more AWS accounts to monitor together.", +"id": "MetricsScope", +"properties": { +"createTime": { +"description": "Output only. The time when this Metrics Scope was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"monitoredProjects": { +"description": "Output only. The list of projects monitored by this Metrics Scope.", +"items": { +"$ref": "MonitoredProject" +}, +"readOnly": true, +"type": "array" +}, +"name": { +"description": "Immutable. The resource name of the Monitoring Metrics Scope. On input, the resource name can be specified with the scoping project ID or number. On output, the resource name is specified with the scoping project number. Example: locations/global/metricsScopes/{SCOPING_PROJECT_ID_OR_NUMBER}", +"type": "string" +}, +"updateTime": { +"description": "Output only. The time when this Metrics Scope record was last updated.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"MonitoredProject": { +"description": "A project being monitored (https://cloud.google.com/monitoring/settings/multiple-projects#create-multi) by a Metrics Scope.", +"id": "MonitoredProject", +"properties": { +"createTime": { +"description": "Output only. The time when this MonitoredProject was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"isTombstoned": { +"description": "Output only. Set if the project has been tombstoned by the user.", +"readOnly": true, +"type": "boolean" +}, +"name": { +"description": "Immutable. The resource name of the MonitoredProject. On input, the resource name includes the scoping project ID and monitored project ID. On output, it contains the equivalent project numbers. Example: locations/global/metricsScopes/{SCOPING_PROJECT_ID_OR_NUMBER}/projects/{MONITORED_PROJECT_ID_OR_NUMBER}", +"type": "string" +} +}, +"type": "object" +}, +"MonitoredResource": { +"description": "An object representing a resource that can be used for monitoring, logging, billing, or other purposes. Examples include virtual machine instances, databases, and storage devices such as disks. The type field identifies a MonitoredResourceDescriptor object that describes the resource's schema. Information in the labels field identifies the actual resource and its attributes according to the schema. For example, a particular Compute Engine VM instance could be represented by the following object, because the MonitoredResourceDescriptor for \"gce_instance\" has labels \"project_id\", \"instance_id\" and \"zone\": { \"type\": \"gce_instance\", \"labels\": { \"project_id\": \"my-project\", \"instance_id\": \"12345678901234\", \"zone\": \"us-central1-a\" }} ", +"id": "MonitoredResource", +"properties": { +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Required. Values for all of the labels listed in the associated monitored resource descriptor. For example, Compute Engine VM instances use the labels \"project_id\", \"instance_id\", and \"zone\".", +"type": "object" +}, +"type": { +"description": "Required. The monitored resource type. This field must match the type field of a MonitoredResourceDescriptor object. For example, the type of a Compute Engine VM instance is gce_instance. For a list of types, see Monitoring resource types (https://cloud.google.com/monitoring/api/resources) and Logging resource types (https://cloud.google.com/logging/docs/api/v2/resource-list).", +"type": "string" +} +}, +"type": "object" +}, +"MosaicLayout": { +"description": "A mosaic layout divides the available space into a grid of blocks, and overlays the grid with tiles. Unlike GridLayout, tiles may span multiple grid blocks and can be placed at arbitrary locations in the grid.", +"id": "MosaicLayout", +"properties": { +"columns": { +"description": "The number of columns in the mosaic grid. The number of columns must be between 1 and 48, inclusive.", +"format": "int32", +"type": "integer" +}, +"tiles": { +"description": "The tiles to display.", +"items": { +"$ref": "Tile" +}, +"type": "array" +} +}, +"type": "object" +}, +"Operation": { +"description": "This resource represents a long-running operation that is the result of a network API call.", +"id": "Operation", +"properties": { +"done": { +"description": "If the value is false, it means the operation is still in progress. If true, the operation is completed, and either error or response is available.", +"type": "boolean" +}, +"error": { +"$ref": "Status", +"description": "The error result of the operation in case of failure or cancellation." +}, +"metadata": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.", +"type": "object" +}, +"name": { +"description": "The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the name should be a resource name ending with operations/{unique_id}.", +"type": "string" +}, +"response": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "The normal, successful response of the operation. If the original method returns no data on success, such as Delete, the response is google.protobuf.Empty. If the original method is standard Get/Create/Update, the response should be the resource. For other methods, the response should have the type XxxResponse, where Xxx is the original method name. For example, if the original method name is TakeSnapshot(), the inferred response type is TakeSnapshotResponse.", +"type": "object" +} +}, +"type": "object" +}, +"OperationMetadata": { +"description": "Contains metadata for longrunning operation for the edit Metrics Scope endpoints.", +"id": "OperationMetadata", +"properties": { +"createTime": { +"description": "The time when the batch request was received.", +"format": "google-datetime", +"type": "string" +}, +"state": { +"description": "Current state of the batch operation.", +"enum": [ +"STATE_UNSPECIFIED", +"CREATED", +"RUNNING", +"DONE", +"CANCELLED" +], +"enumDescriptions": [ +"Invalid.", +"Request has been received.", +"Request is actively being processed.", +"The batch processing is done.", +"The batch processing was cancelled." +], +"type": "string" +}, +"updateTime": { +"description": "The time when the operation result was last updated.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"OpsAnalyticsQuery": { +"description": "Preview: A query that produces an aggregated response and supporting data. This is a preview feature and may be subject to change before final release.", +"id": "OpsAnalyticsQuery", +"properties": { +"sql": { +"description": "A SQL query to fetch time series, category series, or numeric series data.", +"type": "string" +} +}, +"type": "object" +}, +"Option": { +"description": "A protocol buffer option, which can be attached to a message, field, enumeration, etc.New usages of this message as an alternative to FileOptions, MessageOptions, FieldOptions, EnumOptions, EnumValueOptions, ServiceOptions, or MethodOptions are strongly discouraged.", +"id": "Option", +"properties": { +"name": { +"description": "The option's name. For protobuf built-in options (options defined in descriptor.proto), this is the short name. For example, \"map_entry\". For custom options, it should be the fully-qualified name. For example, \"google.api.http\".", +"type": "string" +}, +"value": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "The option's value packed in an Any message. If the value is a primitive, the corresponding wrapper type defined in google/protobuf/wrappers.proto should be used. If the value is an enum, it should be stored as an int32 value using the google.protobuf.Int32Value type.", +"type": "object" +} +}, +"type": "object" +}, +"Parameter": { +"description": "Preview: Parameter value applied to the aggregation function. This is a preview feature and may be subject to change before final release.", +"id": "Parameter", +"properties": { +"doubleValue": { +"description": "A floating-point parameter value.", +"format": "double", +"type": "number" +}, +"intValue": { +"description": "An integer parameter value.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"PickTimeSeriesFilter": { +"description": "Describes a ranking-based time series filter. Each input time series is ranked with an aligner. The filter will allow up to num_time_series time series to pass through it, selecting them based on the relative ranking.For example, if ranking_method is METHOD_MEAN,direction is BOTTOM, and num_time_series is 3, then the 3 times series with the lowest mean values will pass through the filter.", +"id": "PickTimeSeriesFilter", +"properties": { +"direction": { +"description": "How to use the ranking to select time series that pass through the filter.", +"enum": [ +"DIRECTION_UNSPECIFIED", +"TOP", +"BOTTOM" +], +"enumDescriptions": [ +"Not allowed. You must specify a different Direction if you specify a PickTimeSeriesFilter.", +"Pass the highest num_time_series ranking inputs.", +"Pass the lowest num_time_series ranking inputs." +], +"type": "string" +}, +"interval": { +"$ref": "Interval", +"description": "Select the top N streams/time series within this time interval" +}, +"numTimeSeries": { +"description": "How many time series to allow to pass through the filter.", +"format": "int32", +"type": "integer" +}, +"rankingMethod": { +"description": "ranking_method is applied to each time series independently to produce the value which will be used to compare the time series to other time series.", +"enum": [ +"METHOD_UNSPECIFIED", +"METHOD_MEAN", +"METHOD_MAX", +"METHOD_MIN", +"METHOD_SUM", +"METHOD_LATEST" +], +"enumDescriptions": [ +"Not allowed. You must specify a different Method if you specify a PickTimeSeriesFilter.", +"Select the mean of all values.", +"Select the maximum value.", +"Select the minimum value.", +"Compute the sum of all values.", +"Select the most recent value." +], +"type": "string" +} +}, +"type": "object" +}, +"PieChart": { +"description": "A widget that displays timeseries data as a pie or a donut.", +"id": "PieChart", +"properties": { +"chartType": { +"description": "Required. Indicates the visualization type for the PieChart.", +"enum": [ +"PIE_CHART_TYPE_UNSPECIFIED", +"PIE", +"DONUT" +], +"enumDescriptions": [ +"The zero value. No type specified. Do not use.", +"A Pie type PieChart.", +"Similar to PIE, but the DONUT type PieChart has a hole in the middle." +], +"type": "string" +}, +"dataSets": { +"description": "Required. The queries for the chart's data.", +"items": { +"$ref": "PieChartDataSet" +}, +"type": "array" +}, +"showLabels": { +"description": "Optional. Indicates whether or not the pie chart should show slices' labels", +"type": "boolean" +} +}, +"type": "object" +}, +"PieChartDataSet": { +"description": "Groups a time series query definition.", +"id": "PieChartDataSet", +"properties": { +"dimensions": { +"description": "A dimension is a structured label, class, or category for a set of measurements in your data.", +"items": { +"$ref": "Dimension" +}, +"type": "array" +}, +"measures": { +"description": "A measure is a measured value of a property in your data. For example, rainfall in inches, number of units sold, revenue gained, etc.", +"items": { +"$ref": "Measure" +}, +"type": "array" +}, +"minAlignmentPeriod": { +"description": "Optional. The lower bound on data point frequency for this data set, implemented by specifying the minimum alignment period to use in a time series query. For example, if the data is published once every 10 minutes, the min_alignment_period should be at least 10 minutes. It would not make sense to fetch and align data at one minute intervals.", +"format": "google-duration", +"type": "string" +}, +"sliceNameTemplate": { +"description": "Optional. A template for the name of the slice. This name will be displayed in the legend and the tooltip of the pie chart. It replaces the auto-generated names for the slices. For example, if the template is set to ${resource.labels.zone}, the zone's value will be used for the name instead of the default name.", +"type": "string" +}, +"timeSeriesQuery": { +"$ref": "TimeSeriesQuery", +"description": "Required. The query for the PieChart. See, google.monitoring.dashboard.v1.TimeSeriesQuery." +} +}, +"type": "object" +}, +"QueryExemplarsRequest": { +"description": "QueryExemplarsRequest holds all parameters of the Prometheus upstream API for querying exemplars.", +"id": "QueryExemplarsRequest", +"properties": { +"end": { +"description": "The end time to evaluate the query for. Either floating point UNIX seconds or RFC3339 formatted timestamp.", +"type": "string" +}, +"query": { +"description": "A PromQL query string. Query language documentation: https://prometheus.io/docs/prometheus/latest/querying/basics/.", +"type": "string" +}, +"start": { +"description": "The start time to evaluate the query for. Either floating point UNIX seconds or RFC3339 formatted timestamp.", +"type": "string" +} +}, +"type": "object" +}, +"QueryInstantRequest": { +"description": "QueryInstantRequest holds all parameters of the Prometheus upstream instant query API plus GCM specific parameters.", +"id": "QueryInstantRequest", +"properties": { +"query": { +"description": "A PromQL query string. Query language documentation: https://prometheus.io/docs/prometheus/latest/querying/basics/.", +"type": "string" +}, +"time": { +"description": "The single point in time to evaluate the query for. Either floating point UNIX seconds or RFC3339 formatted timestamp.", +"type": "string" +}, +"timeout": { +"description": "An upper bound timeout for the query. Either a Prometheus duration string (https://prometheus.io/docs/prometheus/latest/querying/basics/#time-durations) or floating point seconds. This non-standard encoding must be used for compatibility with the open source API. Clients may still implement timeouts at the connection level while ignoring this field.", +"type": "string" +} +}, +"type": "object" +}, +"QueryLabelsRequest": { +"description": "QueryLabelsRequest holds all parameters of the Prometheus upstream API for returning a list of label names.", +"id": "QueryLabelsRequest", +"properties": { +"end": { +"description": "The end time to evaluate the query for. Either floating point UNIX seconds or RFC3339 formatted timestamp.", +"type": "string" +}, +"match": { +"description": "A list of matchers encoded in the Prometheus label matcher format to constrain the values to series that satisfy them.", +"type": "string" +}, +"start": { +"description": "The start time to evaluate the query for. Either floating point UNIX seconds or RFC3339 formatted timestamp.", +"type": "string" +} +}, +"type": "object" +}, +"QueryRangeRequest": { +"description": "QueryRangeRequest holds all parameters of the Prometheus upstream range query API plus GCM specific parameters.", +"id": "QueryRangeRequest", +"properties": { +"end": { +"description": "The end time to evaluate the query for. Either floating point UNIX seconds or RFC3339 formatted timestamp.", +"type": "string" +}, +"query": { +"description": "A PromQL query string. Query language documentation: https://prometheus.io/docs/prometheus/latest/querying/basics/.", +"type": "string" +}, +"start": { +"description": "The start time to evaluate the query for. Either floating point UNIX seconds or RFC3339 formatted timestamp.", +"type": "string" +}, +"step": { +"description": "The resolution of query result. Either a Prometheus duration string (https://prometheus.io/docs/prometheus/latest/querying/basics/#time-durations) or floating point seconds. This non-standard encoding must be used for compatibility with the open source API. Clients may still implement timeouts at the connection level while ignoring this field.", +"type": "string" +}, +"timeout": { +"description": "An upper bound timeout for the query. Either a Prometheus duration string (https://prometheus.io/docs/prometheus/latest/querying/basics/#time-durations) or floating point seconds. This non-standard encoding must be used for compatibility with the open source API. Clients may still implement timeouts at the connection level while ignoring this field.", +"type": "string" +} +}, +"type": "object" +}, +"QuerySeriesRequest": { +"description": "QuerySeries holds all parameters of the Prometheus upstream API for querying series.", +"id": "QuerySeriesRequest", +"properties": { +"end": { +"description": "The end time to evaluate the query for. Either floating point UNIX seconds or RFC3339 formatted timestamp.", +"type": "string" +}, +"start": { +"description": "The start time to evaluate the query for. Either floating point UNIX seconds or RFC3339 formatted timestamp.", +"type": "string" +} +}, +"type": "object" +}, +"RatioPart": { +"description": "Describes a query to build the numerator or denominator of a TimeSeriesFilterRatio.", +"id": "RatioPart", +"properties": { +"aggregation": { +"$ref": "Aggregation", +"description": "By default, the raw time series data is returned. Use this field to combine multiple time series for different views of the data." +}, +"filter": { +"description": "Required. The monitoring filter (https://cloud.google.com/monitoring/api/v3/filters) that identifies the metric types, resources, and projects to query.", +"type": "string" +} +}, +"type": "object" +}, +"Row": { +"description": "Defines the layout properties and content for a row.", +"id": "Row", +"properties": { +"weight": { +"description": "The relative weight of this row. The row weight is used to adjust the height of rows on the screen (relative to peers). Greater the weight, greater the height of the row on the screen. If omitted, a value of 1 is used while rendering.", +"format": "int64", +"type": "string" +}, +"widgets": { +"description": "The display widgets arranged horizontally in this row.", +"items": { +"$ref": "Widget" +}, +"type": "array" +} +}, +"type": "object" +}, +"RowLayout": { +"description": "A simplified layout that divides the available space into rows and arranges a set of widgets horizontally in each row.", +"id": "RowLayout", +"properties": { +"rows": { +"description": "The rows of content to display.", +"items": { +"$ref": "Row" +}, +"type": "array" +} +}, +"type": "object" +}, +"Scorecard": { +"description": "A widget showing the latest value of a metric, and how this value relates to one or more thresholds.", +"id": "Scorecard", +"properties": { +"blankView": { +"$ref": "Empty", +"description": "Will cause the Scorecard to show only the value, with no indicator to its value relative to its thresholds." +}, +"breakdowns": { +"description": "Optional. The collection of breakdowns to be applied to the dataset. A breakdown is a way to slice the data. For example, you can break down the data by region.", +"items": { +"$ref": "Breakdown" +}, +"type": "array" +}, +"dimensions": { +"description": "Optional. A dimension is a structured label, class, or category for a set of measurements in your data.", +"items": { +"$ref": "Dimension" +}, +"type": "array" +}, +"gaugeView": { +"$ref": "GaugeView", +"description": "Will cause the scorecard to show a gauge chart." +}, +"measures": { +"description": "Optional. A measure is a measured value of a property in your data. For example, rainfall in inches, number of units sold, revenue gained, etc.", +"items": { +"$ref": "Measure" +}, +"type": "array" +}, +"sparkChartView": { +"$ref": "SparkChartView", +"description": "Will cause the scorecard to show a spark chart." +}, +"thresholds": { +"description": "The thresholds used to determine the state of the scorecard given the time series' current value. For an actual value x, the scorecard is in a danger state if x is less than or equal to a danger threshold that triggers below, or greater than or equal to a danger threshold that triggers above. Similarly, if x is above/below a warning threshold that triggers above/below, then the scorecard is in a warning state - unless x also puts it in a danger state. (Danger trumps warning.)As an example, consider a scorecard with the following four thresholds: { value: 90, category: 'DANGER', trigger: 'ABOVE', }, { value: 70, category: 'WARNING', trigger: 'ABOVE', }, { value: 10, category: 'DANGER', trigger: 'BELOW', }, { value: 20, category: 'WARNING', trigger: 'BELOW', } Then: values less than or equal to 10 would put the scorecard in a DANGER state, values greater than 10 but less than or equal to 20 a WARNING state, values strictly between 20 and 70 an OK state, values greater than or equal to 70 but less than 90 a WARNING state, and values greater than or equal to 90 a DANGER state.", +"items": { +"$ref": "Threshold" +}, +"type": "array" +}, +"timeSeriesQuery": { +"$ref": "TimeSeriesQuery", +"description": "Required. Fields for querying time series data from the Stackdriver metrics API." +} +}, +"type": "object" +}, +"SectionHeader": { +"description": "A widget that defines a new section header. Sections populate a table of contents and allow easier navigation of long-form content.", +"id": "SectionHeader", +"properties": { +"dividerBelow": { +"description": "Whether to insert a divider below the section in the table of contents", +"type": "boolean" +}, +"subtitle": { +"description": "The subtitle of the section", +"type": "string" +} +}, +"type": "object" +}, +"SingleViewGroup": { +"description": "A widget that groups the other widgets by using a dropdown menu. All widgets that are within the area spanned by the grouping widget are considered member widgets.", +"id": "SingleViewGroup", +"properties": { +"displayType": { +"description": "Optional. Determines how the widget selector will be displayed.", +"enum": [ +"DISPLAY_TYPE_UNSPECIFIED", +"DROPDOWN", +"TAB" +], +"enumDescriptions": [ +"Display type is not specified, defaults to DROPDOWN.", +"Renders the widget selector as a dropdown.", +"Renders the widget selector as a tab list." +], +"type": "string" +} +}, +"type": "object" +}, +"SourceContext": { +"description": "SourceContext represents information about the source of a protobuf element, like the file in which it is defined.", +"id": "SourceContext", +"properties": { +"fileName": { +"description": "The path-qualified name of the .proto file that contained the associated protobuf element. For example: \"google/protobuf/source_context.proto\".", +"type": "string" +} +}, +"type": "object" +}, +"SpanContext": { +"description": "The context of a span. This is attached to an Exemplar in Distribution values during aggregation.It contains the name of a span with format: projects/[PROJECT_ID_OR_NUMBER]/traces/[TRACE_ID]/spans/[SPAN_ID] ", +"id": "SpanContext", +"properties": { +"spanName": { +"description": "The resource name of the span. The format is: projects/[PROJECT_ID_OR_NUMBER]/traces/[TRACE_ID]/spans/[SPAN_ID] [TRACE_ID] is a unique identifier for a trace within a project; it is a 32-character hexadecimal encoding of a 16-byte array.[SPAN_ID] is a unique identifier for a span within a trace; it is a 16-character hexadecimal encoding of an 8-byte array.", +"type": "string" +} +}, +"type": "object" +}, +"SparkChartView": { +"description": "A sparkChart is a small chart suitable for inclusion in a table-cell or inline in text. This message contains the configuration for a sparkChart to show up on a Scorecard, showing recent trends of the scorecard's timeseries.", +"id": "SparkChartView", +"properties": { +"minAlignmentPeriod": { +"description": "The lower bound on data point frequency in the chart implemented by specifying the minimum alignment period to use in a time series query. For example, if the data is published once every 10 minutes it would not make sense to fetch and align data at one minute intervals. This field is optional and exists only as a hint.", +"format": "google-duration", +"type": "string" +}, +"sparkChartType": { +"description": "Required. The type of sparkchart to show in this chartView.", +"enum": [ +"SPARK_CHART_TYPE_UNSPECIFIED", +"SPARK_LINE", +"SPARK_BAR" +], +"enumDescriptions": [ +"Not allowed in well-formed requests.", +"The sparkline will be rendered as a small line chart.", +"The sparkbar will be rendered as a small bar chart." +], +"type": "string" +} +}, +"type": "object" +}, +"StatisticalTimeSeriesFilter": { +"description": "A filter that ranks streams based on their statistical relation to other streams in a request. Note: This field is deprecated and completely ignored by the API.", +"id": "StatisticalTimeSeriesFilter", +"properties": { +"numTimeSeries": { +"description": "How many time series to output.", +"format": "int32", +"type": "integer" +}, +"rankingMethod": { +"description": "rankingMethod is applied to a set of time series, and then the produced value for each individual time series is used to compare a given time series to others. These are methods that cannot be applied stream-by-stream, but rather require the full context of a request to evaluate time series.", +"enum": [ +"METHOD_UNSPECIFIED", +"METHOD_CLUSTER_OUTLIER" +], +"enumDescriptions": [ +"Not allowed in well-formed requests.", +"Compute the outlier score of each stream." +], +"type": "string" +} +}, +"type": "object" +}, +"Status": { +"description": "The Status type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by gRPC (https://github.com/grpc). Each Status message contains three pieces of data: error code, error message, and error details.You can find out more about this error model and how to work with it in the API Design Guide (https://cloud.google.com/apis/design/errors).", +"id": "Status", +"properties": { +"code": { +"description": "The status code, which should be an enum value of google.rpc.Code.", +"format": "int32", +"type": "integer" +}, +"details": { +"description": "A list of messages that carry the error details. There is a common set of message types for APIs to use.", +"items": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.", +"type": "string" +} +}, +"type": "object" +}, +"StringArray": { +"description": "An array of strings", +"id": "StringArray", +"properties": { +"values": { +"description": "The values of the array", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"TableDataSet": { +"description": "Groups a time series query definition with table options.", +"id": "TableDataSet", +"properties": { +"minAlignmentPeriod": { +"description": "Optional. The lower bound on data point frequency for this data set, implemented by specifying the minimum alignment period to use in a time series query For example, if the data is published once every 10 minutes, the min_alignment_period should be at least 10 minutes. It would not make sense to fetch and align data at one minute intervals.", +"format": "google-duration", +"type": "string" +}, +"tableDisplayOptions": { +"$ref": "TableDisplayOptions", +"description": "Optional. Table display options for configuring how the table is rendered." +}, +"tableTemplate": { +"description": "Optional. A template string for naming TimeSeries in the resulting data set. This should be a string with interpolations of the form ${label_name}, which will resolve to the label's value i.e. \"${resource.labels.project_id}.\"", +"type": "string" +}, +"timeSeriesQuery": { +"$ref": "TimeSeriesQuery", +"description": "Required. Fields for querying time series data from the Stackdriver metrics API." +} +}, +"type": "object" +}, +"TableDisplayOptions": { +"description": "Table display options that can be reused.", +"id": "TableDisplayOptions", +"properties": { +"shownColumns": { +"deprecated": true, +"description": "Optional. This field is unused and has been replaced by TimeSeriesTable.column_settings", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"TemplateVariableCondition": { +"description": "A condition whose evaluation is based on the value of a template variable.", +"id": "TemplateVariableCondition", +"properties": { +"comparator": { +"description": "Comparator to use to evaluate whether the value of the template variable matches the template_variable_value. For example, if the comparator is REGEX_FULL_MATCH, template_variable_value would contain a regex that is matched against the value of the template variable.", +"enum": [ +"COMPARATOR_UNSPECIFIED", +"REGEX_FULL_MATCH" +], +"enumDescriptions": [ +"No comparator specified. Behavior defaults to REGEX_FULL_MATCH.", +"Condition with this comparator evaluates to true when the value of the template variables matches the specified regex." +], +"type": "string" +}, +"templateVariable": { +"description": "The template variable whose value is evaluated.", +"type": "string" +}, +"templateVariableValue": { +"description": "The value to compare the template variable to. For example, if the comparator is REGEX_FULL_MATCH, this field should contain a regex.", +"type": "string" +} +}, +"type": "object" +}, +"Text": { +"description": "A widget that displays textual content.", +"id": "Text", +"properties": { +"content": { +"description": "The text content to be displayed.", +"type": "string" +}, +"format": { +"description": "How the text content is formatted.", +"enum": [ +"FORMAT_UNSPECIFIED", +"MARKDOWN", +"RAW" +], +"enumDescriptions": [ +"Format is unspecified. Defaults to MARKDOWN.", +"The text contains Markdown formatting.", +"The text contains no special formatting." +], +"type": "string" +}, +"style": { +"$ref": "TextStyle", +"description": "How the text is styled" +} +}, +"type": "object" +}, +"TextStyle": { +"description": "Properties that determine how the title and content are styled", +"id": "TextStyle", +"properties": { +"backgroundColor": { +"description": "The background color as a hex string. \"#RRGGBB\" or \"#RGB\"", +"type": "string" +}, +"fontSize": { +"description": "Font sizes for both the title and content. The title will still be larger relative to the content.", +"enum": [ +"FONT_SIZE_UNSPECIFIED", +"FS_EXTRA_SMALL", +"FS_SMALL", +"FS_MEDIUM", +"FS_LARGE", +"FS_EXTRA_LARGE" +], +"enumDescriptions": [ +"No font size specified, will default to FS_LARGE", +"Extra small font size", +"Small font size", +"Medium font size", +"Large font size", +"Extra large font size" +], +"type": "string" +}, +"horizontalAlignment": { +"description": "The horizontal alignment of both the title and content", +"enum": [ +"HORIZONTAL_ALIGNMENT_UNSPECIFIED", +"H_LEFT", +"H_CENTER", +"H_RIGHT" +], +"enumDescriptions": [ +"No horizontal alignment specified, will default to H_LEFT", +"Left-align", +"Center-align", +"Right-align" +], +"type": "string" +}, +"padding": { +"description": "The amount of padding around the widget", +"enum": [ +"PADDING_SIZE_UNSPECIFIED", +"P_EXTRA_SMALL", +"P_SMALL", +"P_MEDIUM", +"P_LARGE", +"P_EXTRA_LARGE" +], +"enumDescriptions": [ +"No padding size specified, will default to P_EXTRA_SMALL", +"Extra small padding", +"Small padding", +"Medium padding", +"Large padding", +"Extra large padding" +], +"type": "string" +}, +"pointerLocation": { +"description": "The pointer location for this widget (also sometimes called a \"tail\")", +"enum": [ +"POINTER_LOCATION_UNSPECIFIED", +"PL_TOP", +"PL_RIGHT", +"PL_BOTTOM", +"PL_LEFT", +"PL_TOP_LEFT", +"PL_TOP_RIGHT", +"PL_RIGHT_TOP", +"PL_RIGHT_BOTTOM", +"PL_BOTTOM_RIGHT", +"PL_BOTTOM_LEFT", +"PL_LEFT_BOTTOM", +"PL_LEFT_TOP" +], +"enumDescriptions": [ +"No visual pointer", +"Placed in the middle of the top of the widget", +"Placed in the middle of the right side of the widget", +"Placed in the middle of the bottom of the widget", +"Placed in the middle of the left side of the widget", +"Placed on the left side of the top of the widget", +"Placed on the right side of the top of the widget", +"Placed on the top of the right side of the widget", +"Placed on the bottom of the right side of the widget", +"Placed on the right side of the bottom of the widget", +"Placed on the left side of the bottom of the widget", +"Placed on the bottom of the left side of the widget", +"Placed on the top of the left side of the widget" +], +"type": "string" +}, +"textColor": { +"description": "The text color as a hex string. \"#RRGGBB\" or \"#RGB\"", +"type": "string" +}, +"verticalAlignment": { +"description": "The vertical alignment of both the title and content", +"enum": [ +"VERTICAL_ALIGNMENT_UNSPECIFIED", +"V_TOP", +"V_CENTER", +"V_BOTTOM" +], +"enumDescriptions": [ +"No vertical alignment specified, will default to V_TOP", +"Top-align", +"Center-align", +"Bottom-align" +], +"type": "string" +} +}, +"type": "object" +}, +"Threshold": { +"description": "Defines a threshold for categorizing time series values.", +"id": "Threshold", +"properties": { +"color": { +"description": "The state color for this threshold. Color is not allowed in a XyChart.", +"enum": [ +"COLOR_UNSPECIFIED", +"YELLOW", +"RED" +], +"enumDescriptions": [ +"Color is unspecified. Not allowed in well-formed requests.", +"Crossing the threshold is \"concerning\" behavior.", +"Crossing the threshold is \"emergency\" behavior." +], +"type": "string" +}, +"direction": { +"description": "The direction for the current threshold. Direction is not allowed in a XyChart.", +"enum": [ +"DIRECTION_UNSPECIFIED", +"ABOVE", +"BELOW" +], +"enumDescriptions": [ +"Not allowed in well-formed requests.", +"The threshold will be considered crossed if the actual value is above the threshold value.", +"The threshold will be considered crossed if the actual value is below the threshold value." +], +"type": "string" +}, +"label": { +"description": "A label for the threshold.", +"type": "string" +}, +"targetAxis": { +"description": "The target axis to use for plotting the threshold. Target axis is not allowed in a Scorecard.", +"enum": [ +"TARGET_AXIS_UNSPECIFIED", +"Y1", +"Y2" +], +"enumDescriptions": [ +"The target axis was not specified. Defaults to Y1.", +"The y_axis (the right axis of chart).", +"The y2_axis (the left axis of chart)." +], +"type": "string" +}, +"value": { +"description": "The value of the threshold. The value should be defined in the native scale of the metric.", +"format": "double", +"type": "number" +} +}, +"type": "object" +}, +"Tile": { +"description": "A single tile in the mosaic. The placement and size of the tile are configurable.", +"id": "Tile", +"properties": { +"height": { +"description": "The height of the tile, measured in grid blocks. Tiles must have a minimum height of 1.", +"format": "int32", +"type": "integer" +}, +"widget": { +"$ref": "Widget", +"description": "The informational widget contained in the tile. For example an XyChart." +}, +"width": { +"description": "The width of the tile, measured in grid blocks. Tiles must have a minimum width of 1.", +"format": "int32", +"type": "integer" +}, +"xPos": { +"description": "The zero-indexed position of the tile in grid blocks relative to the left edge of the grid. Tiles must be contained within the specified number of columns. x_pos cannot be negative.", +"format": "int32", +"type": "integer" +}, +"yPos": { +"description": "The zero-indexed position of the tile in grid blocks relative to the top edge of the grid. y_pos cannot be negative.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"TimeSeriesFilter": { +"description": "A filter that defines a subset of time series data that is displayed in a widget. Time series data is fetched using the ListTimeSeries (https://cloud.google.com/monitoring/api/ref_v3/rest/v3/projects.timeSeries/list) method.", +"id": "TimeSeriesFilter", +"properties": { +"aggregation": { +"$ref": "Aggregation", +"description": "By default, the raw time series data is returned. Use this field to combine multiple time series for different views of the data." +}, +"filter": { +"description": "Required. The monitoring filter (https://cloud.google.com/monitoring/api/v3/filters) that identifies the metric types, resources, and projects to query.", +"type": "string" +}, +"pickTimeSeriesFilter": { +"$ref": "PickTimeSeriesFilter", +"description": "Ranking based time series filter." +}, +"secondaryAggregation": { +"$ref": "Aggregation", +"description": "Apply a second aggregation after aggregation is applied." +}, +"statisticalTimeSeriesFilter": { +"$ref": "StatisticalTimeSeriesFilter", +"deprecated": true, +"description": "Statistics based time series filter. Note: This field is deprecated and completely ignored by the API." +} +}, +"type": "object" +}, +"TimeSeriesFilterRatio": { +"description": "A pair of time series filters that define a ratio computation. The output time series is the pair-wise division of each aligned element from the numerator and denominator time series.", +"id": "TimeSeriesFilterRatio", +"properties": { +"denominator": { +"$ref": "RatioPart", +"description": "The denominator of the ratio." +}, +"numerator": { +"$ref": "RatioPart", +"description": "The numerator of the ratio." +}, +"pickTimeSeriesFilter": { +"$ref": "PickTimeSeriesFilter", +"description": "Ranking based time series filter." +}, +"secondaryAggregation": { +"$ref": "Aggregation", +"description": "Apply a second aggregation after the ratio is computed." +}, +"statisticalTimeSeriesFilter": { +"$ref": "StatisticalTimeSeriesFilter", +"deprecated": true, +"description": "Statistics based time series filter. Note: This field is deprecated and completely ignored by the API." +} +}, +"type": "object" +}, +"TimeSeriesQuery": { +"description": "TimeSeriesQuery collects the set of supported methods for querying time series data from the Stackdriver metrics API.", +"id": "TimeSeriesQuery", +"properties": { +"opsAnalyticsQuery": { +"$ref": "OpsAnalyticsQuery", +"description": "Preview: A query used to fetch a time series, category series, or numeric series with SQL. This is a preview feature and may be subject to change before final release." +}, +"outputFullDuration": { +"description": "Optional. If set, Cloud Monitoring will treat the full query duration as the alignment period so that there will be only 1 output value.*Note: This could override the configured alignment period except for the cases where a series of data points are expected, like - XyChart - Scorecard's spark chart", +"type": "boolean" +}, +"prometheusQuery": { +"description": "A query used to fetch time series with PromQL.", +"type": "string" +}, +"timeSeriesFilter": { +"$ref": "TimeSeriesFilter", +"description": "Filter parameters to fetch time series." +}, +"timeSeriesFilterRatio": { +"$ref": "TimeSeriesFilterRatio", +"description": "Parameters to fetch a ratio between two time series filters." +}, +"timeSeriesQueryLanguage": { +"description": "A query used to fetch time series with MQL.", +"type": "string" +}, +"unitOverride": { +"description": "The unit of data contained in fetched time series. If non-empty, this unit will override any unit that accompanies fetched data. The format is the same as the unit (https://cloud.google.com/monitoring/api/ref_v3/rest/v3/projects.metricDescriptors) field in MetricDescriptor.", +"type": "string" +} +}, +"type": "object" +}, +"TimeSeriesTable": { +"description": "A table that displays time series data.", +"id": "TimeSeriesTable", +"properties": { +"columnSettings": { +"description": "Optional. The list of the persistent column settings for the table.", +"items": { +"$ref": "ColumnSettings" +}, +"type": "array" +}, +"dataSets": { +"description": "Required. The data displayed in this table.", +"items": { +"$ref": "TableDataSet" +}, +"type": "array" +}, +"metricVisualization": { +"description": "Optional. Store rendering strategy", +"enum": [ +"METRIC_VISUALIZATION_UNSPECIFIED", +"NUMBER", +"BAR" +], +"enumDescriptions": [ +"Unspecified state", +"Default text rendering", +"Horizontal bar rendering" +], +"type": "string" +} +}, +"type": "object" +}, +"Treemap": { +"description": "A widget that displays hierarchical data as a treemap.", +"id": "Treemap", +"properties": { +"dataSets": { +"description": "Required. The collection of datasets used to construct and populate the treemap. For the rendered treemap rectangles: Color is determined by the aggregated value for each grouping. Size is proportional to the count of time series aggregated within that rectangle's segment.", +"items": { +"$ref": "TreemapDataSet" +}, +"type": "array" +}, +"treemapHierarchy": { +"description": "Required. Ordered labels representing the hierarchical treemap structure.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"TreemapDataSet": { +"description": "The data represented by the treemap. Needs to include the data itself, plus rules on how to organize it hierarchically.", +"id": "TreemapDataSet", +"properties": { +"breakdowns": { +"description": "Optional. The collection of breakdowns to be applied to the dataset. A breakdown is a way to slice the data. For example, you can break down the data by region.", +"items": { +"$ref": "Breakdown" +}, +"type": "array" +}, +"measures": { +"description": "Optional. A collection of measures. A measure is a measured value of a property in your data. For example, rainfall in inches, number of units sold, revenue gained, etc.", +"items": { +"$ref": "Measure" +}, +"type": "array" +}, +"timeSeriesQuery": { +"$ref": "TimeSeriesQuery", +"description": "Required. The query that fetches the relevant data. See google.monitoring.dashboard.v1.TimeSeriesQuery" +} +}, +"type": "object" +}, +"Type": { +"description": "A protocol buffer message type.New usages of this message as an alternative to DescriptorProto are strongly discouraged. This message does not reliability preserve all information necessary to model the schema and preserve semantics. Instead make use of FileDescriptorSet which preserves the necessary information.", +"id": "Type", +"properties": { +"edition": { +"description": "The source edition string, only valid when syntax is SYNTAX_EDITIONS.", +"type": "string" +}, +"fields": { +"description": "The list of fields.", +"items": { +"$ref": "Field" +}, +"type": "array" +}, +"name": { +"description": "The fully qualified message name.", +"type": "string" +}, +"oneofs": { +"description": "The list of types appearing in oneof definitions in this type.", +"items": { +"type": "string" +}, +"type": "array" +}, +"options": { +"description": "The protocol buffer options.", +"items": { +"$ref": "Option" +}, +"type": "array" +}, +"sourceContext": { +"$ref": "SourceContext", +"description": "The source context." +}, +"syntax": { +"description": "The source syntax.", +"enum": [ +"SYNTAX_PROTO2", +"SYNTAX_PROTO3", +"SYNTAX_EDITIONS" +], +"enumDescriptions": [ +"Syntax proto2.", +"Syntax proto3.", +"Syntax editions." +], +"type": "string" +} +}, +"type": "object" +}, +"VisibilityCondition": { +"description": "Condition that determines whether the widget should be displayed.", +"id": "VisibilityCondition", +"properties": { +"templateVariableCondition": { +"$ref": "TemplateVariableCondition", +"description": "A condition whose evaluation is based on the value of a template variable." +} +}, +"type": "object" +}, +"Widget": { +"description": "Widget contains a single dashboard component and configuration of how to present the component in the dashboard.", +"id": "Widget", +"properties": { +"alertChart": { +"$ref": "AlertChart", +"description": "A chart of alert policy data." +}, +"blank": { +"$ref": "Empty", +"description": "A blank space." +}, +"collapsibleGroup": { +"$ref": "CollapsibleGroup", +"description": "A widget that groups the other widgets. All widgets that are within the area spanned by the grouping widget are considered member widgets." +}, +"coordinatedWidget": { +"$ref": "CoordinatedWidget", +"description": "A widget that contains two widget visualizations that are coordinated in display." +}, +"errorReportingPanel": { +"$ref": "ErrorReportingPanel", +"description": "A widget that displays a list of error groups." +}, +"filterControl": { +"$ref": "FilterControl", +"description": "A widget that displays an input field to change the value of a template variable." +}, +"id": { +"description": "Optional. The widget id. Ids may be made up of alphanumerics, dashes and underscores. Widget ids are optional.", +"type": "string" +}, +"incidentList": { +"$ref": "IncidentList", +"description": "A widget that shows list of incidents." +}, +"logsPanel": { +"$ref": "LogsPanel", +"description": "A widget that shows a stream of logs." +}, +"pieChart": { +"$ref": "PieChart", +"description": "A widget that displays timeseries data as a pie chart." +}, +"scorecard": { +"$ref": "Scorecard", +"description": "A scorecard summarizing time series data." +}, +"sectionHeader": { +"$ref": "SectionHeader", +"description": "A widget that defines a section header for easier navigation of the dashboard." +}, +"singleViewGroup": { +"$ref": "SingleViewGroup", +"description": "A widget that groups the other widgets by using a dropdown menu." +}, +"text": { +"$ref": "Text", +"description": "A raw string or markdown displaying textual content." +}, +"timeSeriesTable": { +"$ref": "TimeSeriesTable", +"description": "A widget that displays time series data in a tabular format." +}, +"title": { +"description": "Optional. The title of the widget.", +"type": "string" +}, +"treemap": { +"$ref": "Treemap", +"description": "A widget that displays data as a treemap." +}, +"visibilityCondition": { +"$ref": "VisibilityCondition", +"description": "Optional. If set, this widget is rendered only when the condition is evaluated to true." +}, +"xyChart": { +"$ref": "XyChart", +"description": "A chart of time series data." +} +}, +"type": "object" +}, +"XyChart": { +"description": "A chart that displays data on a 2D (X and Y axes) plane.", +"id": "XyChart", +"properties": { +"chartOptions": { +"$ref": "ChartOptions", +"description": "Display options for the chart." +}, +"dataSets": { +"description": "Required. The data displayed in this chart.", +"items": { +"$ref": "DataSet" +}, +"type": "array" +}, +"thresholds": { +"description": "Threshold lines drawn horizontally across the chart.", +"items": { +"$ref": "Threshold" +}, +"type": "array" +}, +"timeshiftDuration": { +"description": "The duration used to display a comparison chart. A comparison chart simultaneously shows values from two similar-length time periods (e.g., week-over-week metrics). The duration must be positive, and it can only be applied to charts with data sets of LINE plot type.", +"format": "google-duration", +"type": "string" +}, +"xAxis": { +"$ref": "Axis", +"description": "The properties applied to the x-axis." +}, +"y2Axis": { +"$ref": "Axis", +"description": "The properties applied to the y2-axis." +}, +"yAxis": { +"$ref": "Axis", +"description": "The properties applied to the y-axis." +} +}, +"type": "object" +} +}, +"servicePath": "", +"title": "Cloud Monitoring API", +"version": "v1", +"version_module": true +} \ No newline at end of file diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/mybusinessaccountmanagement.v1.json b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/mybusinessaccountmanagement.v1.json new file mode 100644 index 0000000000000000000000000000000000000000..43e594b483f8cfc349aa062bb9b03a8400091cf7 --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/mybusinessaccountmanagement.v1.json @@ -0,0 +1,935 @@ +{ +"basePath": "", +"baseUrl": "https://mybusinessaccountmanagement.googleapis.com/", +"batchPath": "batch", +"canonicalName": "My Business Account Management", +"description": "The My Business Account Management API provides an interface for managing access to a location on Google. Note - If you have a quota of 0 after enabling the API, please request for GBP API access.", +"discoveryVersion": "v1", +"documentationLink": "https://developers.google.com/my-business/", +"fullyEncodeReservedExpansion": true, +"icons": { +"x16": "http://www.google.com/images/icons/product/search-16.gif", +"x32": "http://www.google.com/images/icons/product/search-32.gif" +}, +"id": "mybusinessaccountmanagement:v1", +"kind": "discovery#restDescription", +"mtlsRootUrl": "https://mybusinessaccountmanagement.mtls.googleapis.com/", +"name": "mybusinessaccountmanagement", +"ownerDomain": "google.com", +"ownerName": "Google", +"parameters": { +"$.xgafv": { +"description": "V1 error format.", +"enum": [ +"1", +"2" +], +"enumDescriptions": [ +"v1 error format", +"v2 error format" +], +"location": "query", +"type": "string" +}, +"access_token": { +"description": "OAuth access token.", +"location": "query", +"type": "string" +}, +"alt": { +"default": "json", +"description": "Data format for response.", +"enum": [ +"json", +"media", +"proto" +], +"enumDescriptions": [ +"Responses with Content-Type of application/json", +"Media download with context-dependent Content-Type", +"Responses with Content-Type of application/x-protobuf" +], +"location": "query", +"type": "string" +}, +"callback": { +"description": "JSONP", +"location": "query", +"type": "string" +}, +"fields": { +"description": "Selector specifying which fields to include in a partial response.", +"location": "query", +"type": "string" +}, +"key": { +"description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", +"location": "query", +"type": "string" +}, +"oauth_token": { +"description": "OAuth 2.0 token for the current user.", +"location": "query", +"type": "string" +}, +"prettyPrint": { +"default": "true", +"description": "Returns response with indentations and line breaks.", +"location": "query", +"type": "boolean" +}, +"quotaUser": { +"description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.", +"location": "query", +"type": "string" +}, +"uploadType": { +"description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", +"location": "query", +"type": "string" +}, +"upload_protocol": { +"description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", +"location": "query", +"type": "string" +} +}, +"protocol": "rest", +"resources": { +"accounts": { +"methods": { +"create": { +"description": "Creates an account with the specified name and type under the given parent. - Personal accounts and Organizations cannot be created. - User Groups cannot be created with a Personal account as primary owner. - Location Groups cannot be created with a primary owner of a Personal account if the Personal account is in an Organization. - Location Groups cannot own Location Groups.", +"flatPath": "v1/accounts", +"httpMethod": "POST", +"id": "mybusinessaccountmanagement.accounts.create", +"parameterOrder": [], +"parameters": {}, +"path": "v1/accounts", +"request": { +"$ref": "Account" +}, +"response": { +"$ref": "Account" +} +}, +"get": { +"description": "Gets the specified account. Returns `NOT_FOUND` if the account does not exist or if the caller does not have access rights to it.", +"flatPath": "v1/accounts/{accountsId}", +"httpMethod": "GET", +"id": "mybusinessaccountmanagement.accounts.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the account to fetch.", +"location": "path", +"pattern": "^accounts/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Account" +} +}, +"list": { +"description": "Lists all of the accounts for the authenticated user. This includes all accounts that the user owns, as well as any accounts for which the user has management rights.", +"flatPath": "v1/accounts", +"httpMethod": "GET", +"id": "mybusinessaccountmanagement.accounts.list", +"parameterOrder": [], +"parameters": { +"filter": { +"description": "Optional. A filter constraining the accounts to return. The response includes only entries that match the filter. If `filter` is empty, then no constraints are applied and all accounts (paginated) are retrieved for the requested account. For example, a request with the filter `type=USER_GROUP` will only return user groups. The `type` field is the only supported filter.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Optional. How many accounts to fetch per page. The default and maximum is 20.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. If specified, the next page of accounts is retrieved. The `pageToken` is returned when a call to `accounts.list` returns more results than can fit into the requested page size.", +"location": "query", +"type": "string" +}, +"parentAccount": { +"description": "Optional. The resource name of the account for which the list of directly accessible accounts is to be retrieved. This only makes sense for Organizations and User Groups. If empty, will return `ListAccounts` for the authenticated user. `accounts/{account_id}`.", +"location": "query", +"type": "string" +} +}, +"path": "v1/accounts", +"response": { +"$ref": "ListAccountsResponse" +} +}, +"patch": { +"description": "Updates the specified business account. Personal accounts cannot be updated using this method.", +"flatPath": "v1/accounts/{accountsId}", +"httpMethod": "PATCH", +"id": "mybusinessaccountmanagement.accounts.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Immutable. The resource name, in the format `accounts/{account_id}`.", +"location": "path", +"pattern": "^accounts/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Required. The specific fields that should be updated. The only editable field is `accountName`.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +}, +"validateOnly": { +"description": "Optional. If true, the request is validated without actually updating the account.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "Account" +}, +"response": { +"$ref": "Account" +} +} +}, +"resources": { +"admins": { +"methods": { +"create": { +"description": "Invites the specified user to become an administrator for the specified account. The invitee must accept the invitation in order to be granted access to the account. See AcceptInvitation to programmatically accept an invitation.", +"flatPath": "v1/accounts/{accountsId}/admins", +"httpMethod": "POST", +"id": "mybusinessaccountmanagement.accounts.admins.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The resource name of the account this admin is created for. `accounts/{account_id}`.", +"location": "path", +"pattern": "^accounts/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/admins", +"request": { +"$ref": "Admin" +}, +"response": { +"$ref": "Admin" +} +}, +"delete": { +"description": "Removes the specified admin from the specified account.", +"flatPath": "v1/accounts/{accountsId}/admins/{adminsId}", +"httpMethod": "DELETE", +"id": "mybusinessaccountmanagement.accounts.admins.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the admin to remove from the account. `accounts/{account_id}/admins/{admin_id}`.", +"location": "path", +"pattern": "^accounts/[^/]+/admins/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Empty" +} +}, +"list": { +"description": "Lists the admins for the specified account.", +"flatPath": "v1/accounts/{accountsId}/admins", +"httpMethod": "GET", +"id": "mybusinessaccountmanagement.accounts.admins.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The name of the account from which to retrieve a list of admins. `accounts/{account_id}/admins`.", +"location": "path", +"pattern": "^accounts/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/admins", +"response": { +"$ref": "ListAccountAdminsResponse" +} +}, +"patch": { +"description": "Updates the Admin for the specified Account Admin.", +"flatPath": "v1/accounts/{accountsId}/admins/{adminsId}", +"httpMethod": "PATCH", +"id": "mybusinessaccountmanagement.accounts.admins.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Immutable. The resource name. For account admins, this is in the form: `accounts/{account_id}/admins/{admin_id}` For location admins, this is in the form: `locations/{location_id}/admins/{admin_id}` This field will be ignored if set during admin creation.", +"location": "path", +"pattern": "^accounts/[^/]+/admins/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Required. The specific fields that should be updated. The only editable field is role.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "Admin" +}, +"response": { +"$ref": "Admin" +} +} +} +}, +"invitations": { +"methods": { +"accept": { +"description": "Accepts the specified invitation.", +"flatPath": "v1/accounts/{accountsId}/invitations/{invitationsId}:accept", +"httpMethod": "POST", +"id": "mybusinessaccountmanagement.accounts.invitations.accept", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the invitation that is being accepted. `accounts/{account_id}/invitations/{invitation_id}`", +"location": "path", +"pattern": "^accounts/[^/]+/invitations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:accept", +"request": { +"$ref": "AcceptInvitationRequest" +}, +"response": { +"$ref": "Empty" +} +}, +"decline": { +"description": "Declines the specified invitation.", +"flatPath": "v1/accounts/{accountsId}/invitations/{invitationsId}:decline", +"httpMethod": "POST", +"id": "mybusinessaccountmanagement.accounts.invitations.decline", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the account invitation that is being declined. `accounts/{account_id}/invitations/{invitation_id}`", +"location": "path", +"pattern": "^accounts/[^/]+/invitations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:decline", +"request": { +"$ref": "DeclineInvitationRequest" +}, +"response": { +"$ref": "Empty" +} +}, +"list": { +"description": "Lists pending invitations for the specified account.", +"flatPath": "v1/accounts/{accountsId}/invitations", +"httpMethod": "GET", +"id": "mybusinessaccountmanagement.accounts.invitations.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Optional. Filtering the response is supported via the Invitation.target_type field.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The name of the account from which the list of invitations is being retrieved. `accounts/{account_id}/invitations`", +"location": "path", +"pattern": "^accounts/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/invitations", +"response": { +"$ref": "ListInvitationsResponse" +} +} +} +} +} +}, +"locations": { +"methods": { +"transfer": { +"description": "Moves a location from an account that the user owns to another account that the same user administers. The user must be an owner of the account the location is currently associated with and must also be at least a manager of the destination account.", +"flatPath": "v1/locations/{locationsId}:transfer", +"httpMethod": "POST", +"id": "mybusinessaccountmanagement.locations.transfer", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the location to transfer. `locations/{location_id}`.", +"location": "path", +"pattern": "^locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:transfer", +"request": { +"$ref": "TransferLocationRequest" +}, +"response": { +"$ref": "Empty" +} +} +}, +"resources": { +"admins": { +"methods": { +"create": { +"description": "Invites the specified user to become an administrator for the specified location. The invitee must accept the invitation in order to be granted access to the location. See AcceptInvitation to programmatically accept an invitation.", +"flatPath": "v1/locations/{locationsId}/admins", +"httpMethod": "POST", +"id": "mybusinessaccountmanagement.locations.admins.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The resource name of the location this admin is created for. `locations/{location_id}/admins`.", +"location": "path", +"pattern": "^locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/admins", +"request": { +"$ref": "Admin" +}, +"response": { +"$ref": "Admin" +} +}, +"delete": { +"description": "Removes the specified admin as a manager of the specified location.", +"flatPath": "v1/locations/{locationsId}/admins/{adminsId}", +"httpMethod": "DELETE", +"id": "mybusinessaccountmanagement.locations.admins.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the admin to remove from the location.", +"location": "path", +"pattern": "^locations/[^/]+/admins/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Empty" +} +}, +"list": { +"description": "Lists all of the admins for the specified location.", +"flatPath": "v1/locations/{locationsId}/admins", +"httpMethod": "GET", +"id": "mybusinessaccountmanagement.locations.admins.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The name of the location to list admins of. `locations/{location_id}/admins`.", +"location": "path", +"pattern": "^locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/admins", +"response": { +"$ref": "ListLocationAdminsResponse" +} +}, +"patch": { +"description": "Updates the Admin for the specified location. Only the AdminRole of the Admin can be updated.", +"flatPath": "v1/locations/{locationsId}/admins/{adminsId}", +"httpMethod": "PATCH", +"id": "mybusinessaccountmanagement.locations.admins.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Immutable. The resource name. For account admins, this is in the form: `accounts/{account_id}/admins/{admin_id}` For location admins, this is in the form: `locations/{location_id}/admins/{admin_id}` This field will be ignored if set during admin creation.", +"location": "path", +"pattern": "^locations/[^/]+/admins/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Required. The specific fields that should be updated. The only editable field is role.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "Admin" +}, +"response": { +"$ref": "Admin" +} +} +} +} +} +} +}, +"revision": "20250615", +"rootUrl": "https://mybusinessaccountmanagement.googleapis.com/", +"schemas": { +"AcceptInvitationRequest": { +"description": "Request message for AccessControl.AcceptInvitation.", +"id": "AcceptInvitationRequest", +"properties": {}, +"type": "object" +}, +"Account": { +"description": "An account is a container for your location. If you are the only user who manages locations for your business, you can use your personal Google Account. To share management of locations with multiple users, [create a business account] (https://support.google.com/business/answer/6085339?ref_topic=6085325).", +"id": "Account", +"properties": { +"accountName": { +"description": "Required. The name of the account. For an account of type `PERSONAL`, this is the first and last name of the user account.", +"type": "string" +}, +"accountNumber": { +"description": "Output only. Account reference number if provisioned.", +"readOnly": true, +"type": "string" +}, +"name": { +"description": "Immutable. The resource name, in the format `accounts/{account_id}`.", +"type": "string" +}, +"organizationInfo": { +"$ref": "OrganizationInfo", +"description": "Output only. Additional info for an organization. This is populated only for an organization account.", +"readOnly": true +}, +"permissionLevel": { +"description": "Output only. Specifies the permission level the user has for this account.", +"enum": [ +"PERMISSION_LEVEL_UNSPECIFIED", +"OWNER_LEVEL", +"MEMBER_LEVEL" +], +"enumDescriptions": [ +"Not specified.", +"The user has owner level permission.", +"The user has member level permission." +], +"readOnly": true, +"type": "string" +}, +"primaryOwner": { +"description": "Required. Input only. The resource name of the account which will be the primary owner of the account being created. It should be of the form `accounts/{account_id}`.", +"type": "string" +}, +"role": { +"description": "Output only. Specifies the AccountRole of this account.", +"enum": [ +"ACCOUNT_ROLE_UNSPECIFIED", +"PRIMARY_OWNER", +"OWNER", +"MANAGER", +"SITE_MANAGER" +], +"enumDescriptions": [ +"Not specified.", +"The user is the primary owner this account.", +"The user owner of the account.", +"The user can manage this account.", +"The user can manage a limited set of features for the account." +], +"readOnly": true, +"type": "string" +}, +"type": { +"description": "Required. Contains the type of account. Accounts of type PERSONAL and ORGANIZATION cannot be created using this API.", +"enum": [ +"ACCOUNT_TYPE_UNSPECIFIED", +"PERSONAL", +"LOCATION_GROUP", +"USER_GROUP", +"ORGANIZATION" +], +"enumDescriptions": [ +"Not specified.", +"An end-user account.", +"A group of Locations. For more information, see the [help center article] (https://support.google.com/business/answer/6085326)", +"A User Group for segregating organization staff in groups. For more information, see the [help center article](https://support.google.com/business/answer/7655731)", +"An organization representing a company. For more information, see the [help center article](https://support.google.com/business/answer/7663063)" +], +"type": "string" +}, +"verificationState": { +"description": "Output only. If verified, future locations that are created are automatically connected to Google Maps, and have Google+ pages created, without requiring moderation.", +"enum": [ +"VERIFICATION_STATE_UNSPECIFIED", +"VERIFIED", +"UNVERIFIED", +"VERIFICATION_REQUESTED" +], +"enumDescriptions": [ +"Not specified.", +"Verified account.", +"Account that is not verified, and verification has not been requested.", +"Account that is not verified, but verification has been requested." +], +"readOnly": true, +"type": "string" +}, +"vettedState": { +"description": "Output only. Indicates whether the account is vetted by Google. A vetted account is able to verify locations via the VETTED_PARTNER method.", +"enum": [ +"VETTED_STATE_UNSPECIFIED", +"NOT_VETTED", +"VETTED", +"INVALID" +], +"enumDescriptions": [ +"Not Specified", +"The account is not vetted by Google.", +"The account is vetted by Google and in a valid state. An account is automatically vetted if it has direct access to a vetted group account.", +"The account is vetted but in an invalid state. The account will behave like an unvetted account." +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"Admin": { +"description": "An administrator of an Account or a location.", +"id": "Admin", +"properties": { +"account": { +"description": "Immutable. The name of the Account resource that this Admin refers to. Used when calling locations.admins.create to invite a LocationGroup as an admin. If both this field and `admin` are set on `CREATE` requests, this field takes precedence and the email address in `admin` will be ignored. Format: `accounts/{account}`.", +"type": "string" +}, +"admin": { +"description": "Optional. The name of the admin. When making the initial invitation, this is the invitee's email address. On `GET` calls, the user's email address is returned if the invitation is still pending. Otherwise, it contains the user's first and last names. This field is only needed to be set during admin creation.", +"type": "string" +}, +"name": { +"description": "Immutable. The resource name. For account admins, this is in the form: `accounts/{account_id}/admins/{admin_id}` For location admins, this is in the form: `locations/{location_id}/admins/{admin_id}` This field will be ignored if set during admin creation.", +"type": "string" +}, +"pendingInvitation": { +"description": "Output only. Indicates whether this admin has a pending invitation for the specified resource.", +"readOnly": true, +"type": "boolean" +}, +"role": { +"description": "Required. Specifies the role that this admin uses with the specified Account or Location.", +"enum": [ +"ADMIN_ROLE_UNSPECIFIED", +"PRIMARY_OWNER", +"OWNER", +"MANAGER", +"SITE_MANAGER" +], +"enumDescriptions": [ +"Not specified.", +"The admin has owner-level access and is the primary owner. (Displays as 'Primary Owner' in UI).", +"The admin has owner-level access. (Displays as 'Owner' in UI).", +"The admin has managerial access.", +"The admin can manage social (Google+) pages. (Displays as 'Site Manager' in UI). This API doesn't allow creating an account admin with a SITE_MANAGER role." +], +"type": "string" +} +}, +"type": "object" +}, +"DeclineInvitationRequest": { +"description": "Request message for AccessControl.DeclineInvitation.", +"id": "DeclineInvitationRequest", +"properties": {}, +"type": "object" +}, +"Empty": { +"description": "A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }", +"id": "Empty", +"properties": {}, +"type": "object" +}, +"Invitation": { +"description": "Represents a pending invitation.", +"id": "Invitation", +"properties": { +"name": { +"description": "Required. The resource name for the invitation. `accounts/{account_id}/invitations/{invitation_id}`.", +"type": "string" +}, +"role": { +"description": "Output only. The invited role on the account.", +"enum": [ +"ADMIN_ROLE_UNSPECIFIED", +"PRIMARY_OWNER", +"OWNER", +"MANAGER", +"SITE_MANAGER" +], +"enumDescriptions": [ +"Not specified.", +"The admin has owner-level access and is the primary owner. (Displays as 'Primary Owner' in UI).", +"The admin has owner-level access. (Displays as 'Owner' in UI).", +"The admin has managerial access.", +"The admin can manage social (Google+) pages. (Displays as 'Site Manager' in UI). This API doesn't allow creating an account admin with a SITE_MANAGER role." +], +"readOnly": true, +"type": "string" +}, +"targetAccount": { +"$ref": "Account", +"description": "The sparsely populated account this invitation is for." +}, +"targetLocation": { +"$ref": "TargetLocation", +"description": "The target location this invitation is for." +}, +"targetType": { +"description": "Output only. Specifies which target types should appear in the response.", +"enum": [ +"TARGET_TYPE_UNSPECIFIED", +"ACCOUNTS_ONLY", +"LOCATIONS_ONLY" +], +"enumDescriptions": [ +"Set when target type is unspecified.", +"List invitations only for targets of type Account.", +"List invitations only for targets of type Location." +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"ListAccountAdminsResponse": { +"description": "Response message for AccessControl.ListAccountAdmins.", +"id": "ListAccountAdminsResponse", +"properties": { +"accountAdmins": { +"description": "A collection of Admin instances.", +"items": { +"$ref": "Admin" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListAccountsResponse": { +"description": "Response message for Accounts.ListAccounts.", +"id": "ListAccountsResponse", +"properties": { +"accounts": { +"description": "A collection of accounts to which the user has access. The personal account of the user doing the query will always be the first item of the result, unless it is filtered out.", +"items": { +"$ref": "Account" +}, +"type": "array" +}, +"nextPageToken": { +"description": "If the number of accounts exceeds the requested page size, this field is populated with a token to fetch the next page of accounts on a subsequent call to `accounts.list`. If there are no more accounts, this field is not present in the response.", +"type": "string" +} +}, +"type": "object" +}, +"ListInvitationsResponse": { +"description": "Response message for AccessControl.ListInvitations.", +"id": "ListInvitationsResponse", +"properties": { +"invitations": { +"description": "A collection of invitations that are pending for the account. The number of invitations listed here cannot exceed 1000.", +"items": { +"$ref": "Invitation" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListLocationAdminsResponse": { +"description": "Response message for AccessControl.ListLocationAdmins.", +"id": "ListLocationAdminsResponse", +"properties": { +"admins": { +"description": "A collection of Admins.", +"items": { +"$ref": "Admin" +}, +"type": "array" +} +}, +"type": "object" +}, +"OrganizationInfo": { +"description": "Additional information stored for an organization.", +"id": "OrganizationInfo", +"properties": { +"address": { +"$ref": "PostalAddress", +"description": "Output only. The postal address for the account.", +"readOnly": true +}, +"phoneNumber": { +"description": "Output only. The contact number for the organization.", +"readOnly": true, +"type": "string" +}, +"registeredDomain": { +"description": "Output only. The registered domain for the account.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"PostalAddress": { +"description": "Represents a postal address, such as for postal delivery or payments addresses. With a postal address, a postal service can deliver items to a premise, P.O. box, or similar. A postal address is not intended to model geographical locations like roads, towns, or mountains. In typical usage, an address would be created by user input or from importing existing data, depending on the type of process. Advice on address input or editing: - Use an internationalization-ready address widget such as https://github.com/google/libaddressinput. - Users should not be presented with UI elements for input or editing of fields outside countries where that field is used. For more guidance on how to use this schema, see: https://support.google.com/business/answer/6397478.", +"id": "PostalAddress", +"properties": { +"addressLines": { +"description": "Unstructured address lines describing the lower levels of an address. Because values in `address_lines` do not have type information and may sometimes contain multiple values in a single field (for example, \"Austin, TX\"), it is important that the line order is clear. The order of address lines should be \"envelope order\" for the country or region of the address. In places where this can vary (for example, Japan), `address_language` is used to make it explicit (for example, \"ja\" for large-to-small ordering and \"ja-Latn\" or \"en\" for small-to-large). In this way, the most specific line of an address can be selected based on the language. The minimum permitted structural representation of an address consists of a `region_code` with all remaining information placed in the `address_lines`. It would be possible to format such an address very approximately without geocoding, but no semantic reasoning could be made about any of the address components until it was at least partially resolved. Creating an address only containing a `region_code` and `address_lines` and then geocoding is the recommended way to handle completely unstructured addresses (as opposed to guessing which parts of the address should be localities or administrative areas).", +"items": { +"type": "string" +}, +"type": "array" +}, +"administrativeArea": { +"description": "Optional. Highest administrative subdivision which is used for postal addresses of a country or region. For example, this can be a state, a province, an oblast, or a prefecture. For Spain, this is the province and not the autonomous community (for example, \"Barcelona\" and not \"Catalonia\"). Many countries don't use an administrative area in postal addresses. For example, in Switzerland, this should be left unpopulated.", +"type": "string" +}, +"languageCode": { +"description": "Optional. BCP-47 language code of the contents of this address (if known). This is often the UI language of the input form or is expected to match one of the languages used in the address' country/region, or their transliterated equivalents. This can affect formatting in certain countries, but is not critical to the correctness of the data and will never affect any validation or other non-formatting related operations. If this value is not known, it should be omitted (rather than specifying a possibly incorrect default). Examples: \"zh-Hant\", \"ja\", \"ja-Latn\", \"en\".", +"type": "string" +}, +"locality": { +"description": "Optional. Generally refers to the city or town portion of the address. Examples: US city, IT comune, UK post town. In regions of the world where localities are not well defined or do not fit into this structure well, leave `locality` empty and use `address_lines`.", +"type": "string" +}, +"organization": { +"description": "Optional. The name of the organization at the address.", +"type": "string" +}, +"postalCode": { +"description": "Optional. Postal code of the address. Not all countries use or require postal codes to be present, but where they are used, they may trigger additional validation with other parts of the address (for example, state or zip code validation in the United States).", +"type": "string" +}, +"recipients": { +"description": "Optional. The recipient at the address. This field may, under certain circumstances, contain multiline information. For example, it might contain \"care of\" information.", +"items": { +"type": "string" +}, +"type": "array" +}, +"regionCode": { +"description": "Required. CLDR region code of the country/region of the address. This is never inferred and it is up to the user to ensure the value is correct. See https://cldr.unicode.org/ and https://www.unicode.org/cldr/charts/30/supplemental/territory_information.html for details. Example: \"CH\" for Switzerland.", +"type": "string" +}, +"revision": { +"description": "The schema revision of the `PostalAddress`. This must be set to 0, which is the latest revision. All new revisions **must** be backward compatible with old revisions.", +"format": "int32", +"type": "integer" +}, +"sortingCode": { +"description": "Optional. Additional, country-specific, sorting code. This is not used in most regions. Where it is used, the value is either a string like \"CEDEX\", optionally followed by a number (for example, \"CEDEX 7\"), or just a number alone, representing the \"sector code\" (Jamaica), \"delivery area indicator\" (Malawi) or \"post office indicator\" (C\u00f4te d'Ivoire).", +"type": "string" +}, +"sublocality": { +"description": "Optional. Sublocality of the address. For example, this can be a neighborhood, borough, or district.", +"type": "string" +} +}, +"type": "object" +}, +"TargetLocation": { +"description": "Represents a target location for a pending invitation.", +"id": "TargetLocation", +"properties": { +"address": { +"description": "The address of the location to which the user is invited.", +"type": "string" +}, +"locationName": { +"description": "The name of the location to which the user is invited.", +"type": "string" +} +}, +"type": "object" +}, +"TransferLocationRequest": { +"description": "Request message for AccessControl.TransferLocation.", +"id": "TransferLocationRequest", +"properties": { +"destinationAccount": { +"description": "Required. Name of the account resource to transfer the location to (for example, \"accounts/{account}\").", +"type": "string" +} +}, +"type": "object" +} +}, +"servicePath": "", +"title": "My Business Account Management API", +"version": "v1", +"version_module": true +} \ No newline at end of file diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/mybusinessbusinessinformation.v1.json b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/mybusinessbusinessinformation.v1.json new file mode 100644 index 0000000000000000000000000000000000000000..978550bc61046e757dcedbb9c4fa669b3014ab66 --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/mybusinessbusinessinformation.v1.json @@ -0,0 +1,1806 @@ +{ +"basePath": "", +"baseUrl": "https://mybusinessbusinessinformation.googleapis.com/", +"batchPath": "batch", +"canonicalName": "My Business Business Information", +"description": "The My Business Business Information API provides an interface for managing business information. Note - If you have a quota of 0 after enabling the API, please request for GBP API access.", +"discoveryVersion": "v1", +"documentationLink": "https://developers.google.com/my-business/", +"fullyEncodeReservedExpansion": true, +"icons": { +"x16": "http://www.google.com/images/icons/product/search-16.gif", +"x32": "http://www.google.com/images/icons/product/search-32.gif" +}, +"id": "mybusinessbusinessinformation:v1", +"kind": "discovery#restDescription", +"mtlsRootUrl": "https://mybusinessbusinessinformation.mtls.googleapis.com/", +"name": "mybusinessbusinessinformation", +"ownerDomain": "google.com", +"ownerName": "Google", +"parameters": { +"$.xgafv": { +"description": "V1 error format.", +"enum": [ +"1", +"2" +], +"enumDescriptions": [ +"v1 error format", +"v2 error format" +], +"location": "query", +"type": "string" +}, +"access_token": { +"description": "OAuth access token.", +"location": "query", +"type": "string" +}, +"alt": { +"default": "json", +"description": "Data format for response.", +"enum": [ +"json", +"media", +"proto" +], +"enumDescriptions": [ +"Responses with Content-Type of application/json", +"Media download with context-dependent Content-Type", +"Responses with Content-Type of application/x-protobuf" +], +"location": "query", +"type": "string" +}, +"callback": { +"description": "JSONP", +"location": "query", +"type": "string" +}, +"fields": { +"description": "Selector specifying which fields to include in a partial response.", +"location": "query", +"type": "string" +}, +"key": { +"description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", +"location": "query", +"type": "string" +}, +"oauth_token": { +"description": "OAuth 2.0 token for the current user.", +"location": "query", +"type": "string" +}, +"prettyPrint": { +"default": "true", +"description": "Returns response with indentations and line breaks.", +"location": "query", +"type": "boolean" +}, +"quotaUser": { +"description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.", +"location": "query", +"type": "string" +}, +"uploadType": { +"description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", +"location": "query", +"type": "string" +}, +"upload_protocol": { +"description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", +"location": "query", +"type": "string" +} +}, +"protocol": "rest", +"resources": { +"accounts": { +"resources": { +"locations": { +"methods": { +"create": { +"description": "Creates a new Location that will be owned by the logged in user.", +"flatPath": "v1/accounts/{accountsId}/locations", +"httpMethod": "POST", +"id": "mybusinessbusinessinformation.accounts.locations.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The name of the account in which to create this location.", +"location": "path", +"pattern": "^accounts/[^/]+$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "Optional. A unique request ID for the server to detect duplicated requests. We recommend using UUIDs. Max length is 50 characters.", +"location": "query", +"type": "string" +}, +"validateOnly": { +"description": "Optional. If true, the request is validated without actually creating the location.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1/{+parent}/locations", +"request": { +"$ref": "Location" +}, +"response": { +"$ref": "Location" +} +}, +"list": { +"description": "Lists the locations for the specified account.", +"flatPath": "v1/accounts/{accountsId}/locations", +"httpMethod": "GET", +"id": "mybusinessbusinessinformation.accounts.locations.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Optional. A filter constraining the locations to return. The response includes only entries that match the filter. If `filter` is empty, then constraints are applied and all locations (paginated) are retrieved for the requested account. For more information about valid fields and example usage, see [Work with Location Data Guide](https://developers.google.com/my-business/content/location-data#filter_results_when_you_list_locations).", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "Optional. Sorting order for the request. Multiple fields should be comma-separated, following SQL syntax. The default sorting order is ascending. To specify descending order, a suffix \" desc\" should be added. Valid fields to order_by are title and store_code. For example: \"title, store_code desc\" or \"title\" or \"store_code desc\"", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Optional. How many locations to fetch per page. Default value is 10 if not set. Minimum is 1, and maximum page size is 100.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. If specified, it fetches the next `page` of locations. The page token is returned by previous calls to `ListLocations` when there were more locations than could fit in the requested page size.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The name of the account to fetch locations from. If the parent Account is of AccountType PERSONAL, only Locations that are directly owned by the Account are returned, otherwise it will return all accessible locations from the Account, either directly or indirectly.", +"location": "path", +"pattern": "^accounts/[^/]+$", +"required": true, +"type": "string" +}, +"readMask": { +"description": "Required. Read mask to specify what fields will be returned in the response.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+parent}/locations", +"response": { +"$ref": "ListLocationsResponse" +} +} +} +} +} +}, +"attributes": { +"methods": { +"list": { +"description": "Returns the list of attributes that would be available for a location with the given primary category and country.", +"flatPath": "v1/attributes", +"httpMethod": "GET", +"id": "mybusinessbusinessinformation.attributes.list", +"parameterOrder": [], +"parameters": { +"categoryName": { +"description": "The primary category stable ID to find available attributes. Must be of the format categories/{category_id}.", +"location": "query", +"type": "string" +}, +"languageCode": { +"description": "The BCP 47 code of language to get attribute display names in. If this language is not available, they will be provided in English.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "How many attributes to include per page. Default is 200, minimum is 1.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "If specified, the next page of attribute metadata is retrieved.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Resource name of the location to look up available attributes. If this field is set, category_name, region_code, language_code and show_all are not required and must not be set.", +"location": "query", +"type": "string" +}, +"regionCode": { +"description": "The ISO 3166-1 alpha-2 country code to find available attributes.", +"location": "query", +"type": "string" +}, +"showAll": { +"description": "Metadata for all available attributes are returned when this field is set to true, disregarding parent and category_name fields. language_code and region_code are required when show_all is set to true.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1/attributes", +"response": { +"$ref": "ListAttributeMetadataResponse" +} +} +} +}, +"categories": { +"methods": { +"batchGet": { +"description": "Returns a list of business categories for the provided language and GConcept ids.", +"flatPath": "v1/categories:batchGet", +"httpMethod": "GET", +"id": "mybusinessbusinessinformation.categories.batchGet", +"parameterOrder": [], +"parameters": { +"languageCode": { +"description": "Required. The BCP 47 code of language that the category names should be returned in.", +"location": "query", +"type": "string" +}, +"names": { +"description": "Required. At least one name must be set. The GConcept ids the localized category names should be returned for. To return details for more than one category, repeat this parameter in the request.", +"location": "query", +"repeated": true, +"type": "string" +}, +"regionCode": { +"description": "Optional. The ISO 3166-1 alpha-2 country code used to infer non-standard language.", +"location": "query", +"type": "string" +}, +"view": { +"description": "Required. Specifies which parts to the Category resource should be returned in the response.", +"enum": [ +"CATEGORY_VIEW_UNSPECIFIED", +"BASIC", +"FULL" +], +"enumDescriptions": [ +"Not specified, equivalent to CATEGORY_METADATA_ONLY.", +"The server response will only include Category fields display_name, category_id and language_code. It omits any service type metadata related fields.", +"Returns all the fields in the response." +], +"location": "query", +"type": "string" +} +}, +"path": "v1/categories:batchGet", +"response": { +"$ref": "BatchGetCategoriesResponse" +} +}, +"list": { +"description": "Returns a list of business categories. Search will match the category name but not the category ID. Search only matches the front of a category name (that is, 'food' may return 'Food Court' but not 'Fast Food Restaurant').", +"flatPath": "v1/categories", +"httpMethod": "GET", +"id": "mybusinessbusinessinformation.categories.list", +"parameterOrder": [], +"parameters": { +"filter": { +"description": "Optional. Filter string from user. The only field that supported is `displayName`. Eg: `filter=displayName=foo`.", +"location": "query", +"type": "string" +}, +"languageCode": { +"description": "Required. The BCP 47 code of language.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Optional. How many categories to fetch per page. Default is 100, minimum is 1, and maximum page size is 100.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. If specified, the next page of categories will be fetched.", +"location": "query", +"type": "string" +}, +"regionCode": { +"description": "Required. The ISO 3166-1 alpha-2 country code.", +"location": "query", +"type": "string" +}, +"view": { +"description": "Required. Specifies which parts to the Category resource should be returned in the response.", +"enum": [ +"CATEGORY_VIEW_UNSPECIFIED", +"BASIC", +"FULL" +], +"enumDescriptions": [ +"Not specified, equivalent to CATEGORY_METADATA_ONLY.", +"The server response will only include Category fields display_name, category_id and language_code. It omits any service type metadata related fields.", +"Returns all the fields in the response." +], +"location": "query", +"type": "string" +} +}, +"path": "v1/categories", +"response": { +"$ref": "ListCategoriesResponse" +} +} +} +}, +"chains": { +"methods": { +"get": { +"description": "Gets the specified chain. Returns `NOT_FOUND` if the chain does not exist.", +"flatPath": "v1/chains/{chainsId}", +"httpMethod": "GET", +"id": "mybusinessbusinessinformation.chains.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The chain's resource name, in the format `chains/{chain_place_id}`.", +"location": "path", +"pattern": "^chains/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Chain" +} +}, +"search": { +"description": "Searches the chain based on chain name.", +"flatPath": "v1/chains:search", +"httpMethod": "GET", +"id": "mybusinessbusinessinformation.chains.search", +"parameterOrder": [], +"parameters": { +"chainName": { +"description": "Required. Search for a chain by its name. Exact/partial/fuzzy/related queries are supported. Examples: \"walmart\", \"wal-mart\", \"walmmmart\", \"\u6c83\u5c14\u739b\"", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "The maximum number of matched chains to return from this query. The default is 10. The maximum possible value is 500.", +"format": "int32", +"location": "query", +"type": "integer" +} +}, +"path": "v1/chains:search", +"response": { +"$ref": "SearchChainsResponse" +} +} +} +}, +"googleLocations": { +"methods": { +"search": { +"description": "Search all of the possible locations that are a match to the specified request.", +"flatPath": "v1/googleLocations:search", +"httpMethod": "POST", +"id": "mybusinessbusinessinformation.googleLocations.search", +"parameterOrder": [], +"parameters": {}, +"path": "v1/googleLocations:search", +"request": { +"$ref": "SearchGoogleLocationsRequest" +}, +"response": { +"$ref": "SearchGoogleLocationsResponse" +} +} +} +}, +"locations": { +"methods": { +"delete": { +"description": "Deletes a location. If this location cannot be deleted using the API and it is marked so in the `google.mybusiness.businessinformation.v1.LocationState`, use the [Google Business Profile](https://business.google.com/manage/) website.", +"flatPath": "v1/locations/{locationsId}", +"httpMethod": "DELETE", +"id": "mybusinessbusinessinformation.locations.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the location to delete.", +"location": "path", +"pattern": "^locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Empty" +} +}, +"get": { +"description": "Returns the specified location.", +"flatPath": "v1/locations/{locationsId}", +"httpMethod": "GET", +"id": "mybusinessbusinessinformation.locations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the location to fetch.", +"location": "path", +"pattern": "^locations/[^/]+$", +"required": true, +"type": "string" +}, +"readMask": { +"description": "Required. Read mask to specify what fields will be returned in the response.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Location" +} +}, +"getAttributes": { +"description": "Looks up all the attributes set for a given location.", +"flatPath": "v1/locations/{locationsId}/attributes", +"httpMethod": "GET", +"id": "mybusinessbusinessinformation.locations.getAttributes", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Google identifier for this location in the form of `locations/{location_id}/attributes`.", +"location": "path", +"pattern": "^locations/[^/]+/attributes$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Attributes" +} +}, +"getGoogleUpdated": { +"description": "Gets the Google-updated version of the specified location.", +"flatPath": "v1/locations/{locationsId}:getGoogleUpdated", +"httpMethod": "GET", +"id": "mybusinessbusinessinformation.locations.getGoogleUpdated", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the location to fetch.", +"location": "path", +"pattern": "^locations/[^/]+$", +"required": true, +"type": "string" +}, +"readMask": { +"description": "Required. Read mask to specify what fields will be returned in the response.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}:getGoogleUpdated", +"response": { +"$ref": "GoogleUpdatedLocation" +} +}, +"patch": { +"description": "Updates the specified location.", +"flatPath": "v1/locations/{locationsId}", +"httpMethod": "PATCH", +"id": "mybusinessbusinessinformation.locations.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Google identifier for this location in the form: `locations/{location_id}`.", +"location": "path", +"pattern": "^locations/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Required. The specific fields to update.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +}, +"validateOnly": { +"description": "Optional. If true, the request is validated without actually updating the location. When this field is set, we will only return validation errors if there were any. The response will be empty if no errors were found.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "Location" +}, +"response": { +"$ref": "Location" +} +}, +"updateAttributes": { +"description": "Update attributes for a given location.", +"flatPath": "v1/locations/{locationsId}/attributes", +"httpMethod": "PATCH", +"id": "mybusinessbusinessinformation.locations.updateAttributes", +"parameterOrder": [ +"name" +], +"parameters": { +"attributeMask": { +"description": "Required. Attribute name of attributes that you'd like to update. Represented by `attributes/{attribute}`. Updates: All attributes provided in the attributes field that you would like to update must be set in the `attribute_mask`. Attributes set in the above list but not in the `attribute_mask` will be ignored. Deletes: If you'd like to delete certain attributes, they must be specified in the `attribute_mask` with no matching entry in the attributes list. If you'd like to delete all attributes set on a location, you should look up all the applicable attributes for the location and then add them to the `attribute_mask` with an empty attributes field.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +}, +"name": { +"description": "Required. Google identifier for this location in the form of `locations/{location_id}/attributes`.", +"location": "path", +"pattern": "^locations/[^/]+/attributes$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "Attributes" +}, +"response": { +"$ref": "Attributes" +} +} +}, +"resources": { +"attributes": { +"methods": { +"getGoogleUpdated": { +"description": "Gets the Google-updated version of the specified location.", +"flatPath": "v1/locations/{locationsId}/attributes:getGoogleUpdated", +"httpMethod": "GET", +"id": "mybusinessbusinessinformation.locations.attributes.getGoogleUpdated", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Google identifier for this location in the form of `locations/{location_id}/attributes`.", +"location": "path", +"pattern": "^locations/[^/]+/attributes$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:getGoogleUpdated", +"response": { +"$ref": "Attributes" +} +} +} +} +} +} +}, +"revision": "20250723", +"rootUrl": "https://mybusinessbusinessinformation.googleapis.com/", +"schemas": { +"AdWordsLocationExtensions": { +"description": "Additional information that is surfaced in AdWords.", +"id": "AdWordsLocationExtensions", +"properties": { +"adPhone": { +"description": "Required. An alternate phone number to display on AdWords location extensions instead of the location's primary phone number.", +"type": "string" +} +}, +"type": "object" +}, +"Attribute": { +"description": "A location attribute. Attributes provide additional information about a location. The attributes that can be set on a location may vary based on the properties of that location (for example, category). Available attributes are determined by Google and may be added and removed without API changes.", +"id": "Attribute", +"properties": { +"name": { +"description": "Required. The resource name for this attribute.", +"type": "string" +}, +"repeatedEnumValue": { +"$ref": "RepeatedEnumAttributeValue", +"description": "When the attribute value type is REPEATED_ENUM, this contains the attribute value, and the other values fields must be empty." +}, +"uriValues": { +"description": "When the attribute value type is URL, this field contains the value(s) for this attribute, and the other values fields must be empty.", +"items": { +"$ref": "UriAttributeValue" +}, +"type": "array" +}, +"valueType": { +"description": "Output only. The type of value that this attribute contains. This should be used to determine how to interpret the value.", +"enum": [ +"ATTRIBUTE_VALUE_TYPE_UNSPECIFIED", +"BOOL", +"ENUM", +"URL", +"REPEATED_ENUM" +], +"enumDescriptions": [ +"Not specified.", +"The values for this attribute are boolean values.", +"The attribute has a predetermined list of available values that can be used. Metadata for this attribute will list these values.", +"The values for this attribute are URLs.", +"The attribute value is an enum with multiple possible values that can be explicitly set or unset." +], +"readOnly": true, +"type": "string" +}, +"values": { +"description": "The values for this attribute. The type of the values supplied must match that expected for that attribute. This is a repeated field where multiple attribute values may be provided. Attribute types only support one value.", +"items": { +"type": "any" +}, +"type": "array" +} +}, +"type": "object" +}, +"AttributeMetadata": { +"description": "Metadata for an attribute. Contains display information for the attribute, including a localized name and a heading for grouping related attributes together.", +"id": "AttributeMetadata", +"properties": { +"deprecated": { +"description": "If true, the attribute is deprecated and should no longer be used. If deprecated, updating this attribute will not result in an error, but updates will not be saved. At some point after being deprecated, the attribute will be removed entirely and it will become an error.", +"type": "boolean" +}, +"displayName": { +"description": "The localized display name for the attribute, if available; otherwise, the English display name.", +"type": "string" +}, +"groupDisplayName": { +"description": "The localized display name of the group that contains this attribute, if available; otherwise, the English group name. Related attributes are collected into a group and should be displayed together under the heading given here.", +"type": "string" +}, +"parent": { +"description": "The unique identifier for the attribute.", +"type": "string" +}, +"repeatable": { +"description": "If true, the attribute supports multiple values. If false, only a single value should be provided.", +"type": "boolean" +}, +"valueMetadata": { +"description": "For some types of attributes (for example, enums), a list of supported values and corresponding display names for those values is provided.", +"items": { +"$ref": "AttributeValueMetadata" +}, +"type": "array" +}, +"valueType": { +"description": "The value type for the attribute. Values set and retrieved should be expected to be of this type.", +"enum": [ +"ATTRIBUTE_VALUE_TYPE_UNSPECIFIED", +"BOOL", +"ENUM", +"URL", +"REPEATED_ENUM" +], +"enumDescriptions": [ +"Not specified.", +"The values for this attribute are boolean values.", +"The attribute has a predetermined list of available values that can be used. Metadata for this attribute will list these values.", +"The values for this attribute are URLs.", +"The attribute value is an enum with multiple possible values that can be explicitly set or unset." +], +"type": "string" +} +}, +"type": "object" +}, +"AttributeValueMetadata": { +"description": "Metadata for supported attribute values.", +"id": "AttributeValueMetadata", +"properties": { +"displayName": { +"description": "The display name for this value, localized where available; otherwise, in English. The value display name is intended to be used in context with the attribute display name. For example, for a \"WiFi\" enum attribute, this could contain \"Paid\" to represent paid Wi-Fi.", +"type": "string" +}, +"value": { +"description": "The attribute value.", +"type": "any" +} +}, +"type": "object" +}, +"Attributes": { +"description": "A container for all the attributes for a given location.", +"id": "Attributes", +"properties": { +"attributes": { +"description": "A collection of attributes that need to be updated.", +"items": { +"$ref": "Attribute" +}, +"type": "array" +}, +"name": { +"description": "Required. Google identifier for this location in the form of `locations/{location_id}/attributes`.", +"type": "string" +} +}, +"type": "object" +}, +"BatchGetCategoriesResponse": { +"description": "Response message for BusinessCategories.BatchGetBusinessCategories.", +"id": "BatchGetCategoriesResponse", +"properties": { +"categories": { +"description": "Categories that match the GConcept ids provided in the request. They will not come in the same order as category ids in the request.", +"items": { +"$ref": "Category" +}, +"type": "array" +} +}, +"type": "object" +}, +"BusinessHours": { +"description": "Represents the time periods that this location is open for business. Holds a collection of TimePeriod instances.", +"id": "BusinessHours", +"properties": { +"periods": { +"description": "Required. A collection of times that this location is open for business. Each period represents a range of hours when the location is open during the week.", +"items": { +"$ref": "TimePeriod" +}, +"type": "array" +} +}, +"type": "object" +}, +"Categories": { +"description": "A collection of categories that describes the business. During updates, both fields must be set. Clients are prohibited from individually updating the primary or additional categories using the update mask.", +"id": "Categories", +"properties": { +"additionalCategories": { +"description": "Optional. Additional categories to describe your business. Categories help your customers find accurate, specific results for services they're interested in. To keep your business information accurate and live, make sure that you use as few categories as possible to describe your overall core business. Choose categories that are as specific as possible, but representative of your main business.", +"items": { +"$ref": "Category" +}, +"type": "array" +}, +"primaryCategory": { +"$ref": "Category", +"description": "Required. Category that best describes the core business this location engages in." +} +}, +"type": "object" +}, +"Category": { +"description": "A category describing what this business is (not what it does). For a list of valid category IDs, and the mappings to their human-readable names, see `categories.list`.", +"id": "Category", +"properties": { +"displayName": { +"description": "Output only. The human-readable name of the category. This is set when reading the location. When modifying the location, `category_id` must be set.", +"readOnly": true, +"type": "string" +}, +"moreHoursTypes": { +"description": "Output only. More hours types that are available for this business category.", +"items": { +"$ref": "MoreHoursType" +}, +"readOnly": true, +"type": "array" +}, +"name": { +"description": "Required. A stable ID (provided by Google) for this category. The value must be specified when modifying the category (when creating or updating a location).", +"type": "string" +}, +"serviceTypes": { +"description": "Output only. A list of all the service types that are available for this business category.", +"items": { +"$ref": "ServiceType" +}, +"readOnly": true, +"type": "array" +} +}, +"type": "object" +}, +"Chain": { +"description": "A chain is a brand that your business's locations can be affiliated with.", +"id": "Chain", +"properties": { +"chainNames": { +"description": "Names of the chain.", +"items": { +"$ref": "ChainName" +}, +"type": "array" +}, +"locationCount": { +"description": "Number of locations that are part of this chain.", +"format": "int32", +"type": "integer" +}, +"name": { +"description": "Required. The chain's resource name, in the format `chains/{chain_id}`.", +"type": "string" +}, +"websites": { +"description": "Websites of the chain.", +"items": { +"$ref": "ChainUri" +}, +"type": "array" +} +}, +"type": "object" +}, +"ChainName": { +"description": "Name to be used when displaying the chain.", +"id": "ChainName", +"properties": { +"displayName": { +"description": "The display name for this chain.", +"type": "string" +}, +"languageCode": { +"description": "The BCP 47 code of language of the name.", +"type": "string" +} +}, +"type": "object" +}, +"ChainUri": { +"description": "Url to be used when displaying the chain.", +"id": "ChainUri", +"properties": { +"uri": { +"description": "The uri for this chain.", +"type": "string" +} +}, +"type": "object" +}, +"Date": { +"description": "Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following: * A full date, with non-zero year, month, and day values. * A month and day, with a zero year (for example, an anniversary). * A year on its own, with a zero month and a zero day. * A year and month, with a zero day (for example, a credit card expiration date). Related types: * google.type.TimeOfDay * google.type.DateTime * google.protobuf.Timestamp", +"id": "Date", +"properties": { +"day": { +"description": "Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn't significant.", +"format": "int32", +"type": "integer" +}, +"month": { +"description": "Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.", +"format": "int32", +"type": "integer" +}, +"year": { +"description": "Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"Empty": { +"description": "A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }", +"id": "Empty", +"properties": {}, +"type": "object" +}, +"FreeFormServiceItem": { +"description": "Represents a free-form service offered by the merchant. These are services that are not exposed as part of our structure service data. The merchant manually enters the names for of such services via a geomerchant surface.", +"id": "FreeFormServiceItem", +"properties": { +"category": { +"description": "Required. This field represents the category name (i.e. the category's stable ID). The `category` and `service_type_id` should match the possible combinations provided in the `Category` message.", +"type": "string" +}, +"label": { +"$ref": "Label", +"description": "Required. Language-tagged labels for the item. We recommend that item names be 140 characters or less, and descriptions 250 characters or less. This field should only be set if the input is a custom service item. Standardized service types should be updated via service_type_id." +} +}, +"type": "object" +}, +"GoogleLocation": { +"description": "Represents a Location that is present on Google. This can be a location that has been claimed by the user, someone else, or could be unclaimed.", +"id": "GoogleLocation", +"properties": { +"location": { +"$ref": "Location", +"description": "The sparsely populated Location information. This field can be re-used in CreateLocation if it is not currently claimed by a user." +}, +"name": { +"description": "Resource name of this GoogleLocation, in the format `googleLocations/{googleLocationId}`.", +"type": "string" +}, +"requestAdminRightsUri": { +"description": "A URL that will redirect the user to the request admin rights UI. This field is only present if the location has already been claimed by any user, including the current user.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleUpdatedLocation": { +"description": "Represents a location that was modified by Google.", +"id": "GoogleUpdatedLocation", +"properties": { +"diffMask": { +"description": "The fields that Google updated.", +"format": "google-fieldmask", +"type": "string" +}, +"location": { +"$ref": "Location", +"description": "The Google-updated version of this location." +}, +"pendingMask": { +"description": "The fields that have pending edits that haven't yet been pushed to Maps and Search.", +"format": "google-fieldmask", +"type": "string" +} +}, +"type": "object" +}, +"Label": { +"description": "Label to be used when displaying the price list, section, or item.", +"id": "Label", +"properties": { +"description": { +"description": "Optional. Description of the price list, section, or item.", +"type": "string" +}, +"displayName": { +"description": "Required. Display name for the price list, section, or item.", +"type": "string" +}, +"languageCode": { +"description": "Optional. The BCP-47 language code that these strings apply for. Only one set of labels may be set per language.", +"type": "string" +} +}, +"type": "object" +}, +"LatLng": { +"description": "An object that represents a latitude/longitude pair. This is expressed as a pair of doubles to represent degrees latitude and degrees longitude. Unless specified otherwise, this object must conform to the WGS84 standard. Values must be within normalized ranges.", +"id": "LatLng", +"properties": { +"latitude": { +"description": "The latitude in degrees. It must be in the range [-90.0, +90.0].", +"format": "double", +"type": "number" +}, +"longitude": { +"description": "The longitude in degrees. It must be in the range [-180.0, +180.0].", +"format": "double", +"type": "number" +} +}, +"type": "object" +}, +"ListAttributeMetadataResponse": { +"description": "Response for AttributesService.ListAttributeMetadata.", +"id": "ListAttributeMetadataResponse", +"properties": { +"attributeMetadata": { +"description": "A collection of attribute metadata for the available attributes.", +"items": { +"$ref": "AttributeMetadata" +}, +"type": "array" +}, +"nextPageToken": { +"description": "If the number of attributes exceeded the requested page size, this field will be populated with a token to fetch the next page of attributes on a subsequent call to `attributes.list`. If there are no more attributes, this field will not be present in the response.", +"type": "string" +} +}, +"type": "object" +}, +"ListCategoriesResponse": { +"description": "Response message for BusinessCategories.ListCategories.", +"id": "ListCategoriesResponse", +"properties": { +"categories": { +"description": "The matching categories based on the requested parameters.", +"items": { +"$ref": "Category" +}, +"type": "array" +}, +"nextPageToken": { +"description": "If the number of categories exceeded the requested page size, this field will be populated with a token to fetch the next page of categories on a subsequent call to `ListCategories`.", +"type": "string" +} +}, +"type": "object" +}, +"ListLocationsResponse": { +"description": "Response message for Locations.ListLocations.", +"id": "ListLocationsResponse", +"properties": { +"locations": { +"description": "The locations.", +"items": { +"$ref": "Location" +}, +"type": "array" +}, +"nextPageToken": { +"description": "If the number of locations exceeded the requested page size, this field is populated with a token to fetch the next page of locations on a subsequent call to `ListLocations`. If there are no more locations, this field is not present in the response.", +"type": "string" +}, +"totalSize": { +"description": "The approximate number of Locations in the list irrespective of pagination. This field will only be returned if `filter` is used as a query parameter.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"Location": { +"description": "A location. See the [help center article] (https://support.google.com/business/answer/3038177) for a detailed description of these fields, or the [category endpoint](/my-business/reference/rest/v4/categories) for a list of valid business categories.", +"id": "Location", +"properties": { +"adWordsLocationExtensions": { +"$ref": "AdWordsLocationExtensions", +"description": "Optional. Additional information that is surfaced in AdWords." +}, +"categories": { +"$ref": "Categories", +"description": "Optional. The different categories that describe the business." +}, +"labels": { +"description": "Optional. A collection of free-form strings to allow you to tag your business. These labels are NOT user facing; only you can see them. Must be between 1-255 characters per label.", +"items": { +"type": "string" +}, +"type": "array" +}, +"languageCode": { +"description": "Immutable. The language of the location. Set during creation and not updateable.", +"type": "string" +}, +"latlng": { +"$ref": "LatLng", +"description": "Optional. User-provided latitude and longitude. When creating a location, this field is ignored if the provided address geocodes successfully. This field is only returned on get requests if the user-provided `latlng` value was accepted during create, or the `latlng` value was updated through the Google Business Profile website. This field can only be updated by approved clients." +}, +"metadata": { +"$ref": "Metadata", +"description": "Output only. Additional non-user-editable information.", +"readOnly": true +}, +"moreHours": { +"description": "Optional. More hours for a business's different departments or specific customers.", +"items": { +"$ref": "MoreHours" +}, +"type": "array" +}, +"name": { +"description": "Google identifier for this location in the form: `locations/{location_id}`.", +"type": "string" +}, +"openInfo": { +"$ref": "OpenInfo", +"description": "Optional. A flag that indicates whether the location is currently open for business." +}, +"phoneNumbers": { +"$ref": "PhoneNumbers", +"description": "Optional. The different phone numbers that customers can use to get in touch with the business." +}, +"profile": { +"$ref": "Profile", +"description": "Optional. Describes your business in your own voice and shares with users the unique story of your business and offerings. This field is required for all categories except lodging categories (e.g. hotels, motels, inns)." +}, +"regularHours": { +"$ref": "BusinessHours", +"description": "Optional. Operating hours for the business." +}, +"relationshipData": { +"$ref": "RelationshipData", +"description": "Optional. All locations and chain related to this one." +}, +"serviceArea": { +"$ref": "ServiceAreaBusiness", +"description": "Optional. Service area businesses provide their service at the customer's location. If this business is a service area business, this field describes the area(s) serviced by the business." +}, +"serviceItems": { +"description": "Optional. List of services supported by merchants. A service can be haircut, install water heater, etc. Duplicated service items will be removed automatically.", +"items": { +"$ref": "ServiceItem" +}, +"type": "array" +}, +"specialHours": { +"$ref": "SpecialHours", +"description": "Optional. Special hours for the business. This typically includes holiday hours, and other times outside of regular operating hours. These override regular business hours. This field cannot be set without regular hours." +}, +"storeCode": { +"description": "Optional. External identifier for this location, which must be unique within a given account. This is a means of associating the location with your own records.", +"type": "string" +}, +"storefrontAddress": { +"$ref": "PostalAddress", +"description": "Optional. A precise, accurate address to describe your business location. PO boxes or mailboxes located at remote locations are not acceptable. At this time, you can specify a maximum of five `address_lines` values in the address. This field should only be set for businesses that have a storefront. This field should not be set for locations of type `CUSTOMER_LOCATION_ONLY` but if set, any value provided will be discarded." +}, +"title": { +"description": "Required. Location name should reflect your business's real-world name, as used consistently on your storefront, website, and stationery, and as known to customers. Any additional information, when relevant, can be included in other fields of the resource (for example, `Address`, `Categories`). Don't add unnecessary information to your name (for example, prefer \"Google\" over \"Google Inc. - Mountain View Corporate Headquarters\"). Don't include marketing taglines, store codes, special characters, hours or closed/open status, phone numbers, website URLs, service/product information, location/address or directions, or containment information (for example, \"Chase ATM in Duane Reade\").", +"type": "string" +}, +"websiteUri": { +"description": "Optional. A URL for this business. If possible, use a URL that represents this individual business location instead of a generic website/URL that represents all locations, or the brand.", +"type": "string" +} +}, +"type": "object" +}, +"Metadata": { +"description": "Additional non-user-editable information about the location.", +"id": "Metadata", +"properties": { +"canDelete": { +"description": "Output only. Indicates whether the location can be deleted using the API.", +"readOnly": true, +"type": "boolean" +}, +"canHaveBusinessCalls": { +"description": "Output only. Indicates if the listing is eligible for business calls.", +"readOnly": true, +"type": "boolean" +}, +"canHaveFoodMenus": { +"description": "Output only. Indicates if the listing is eligible for food menu.", +"readOnly": true, +"type": "boolean" +}, +"canModifyServiceList": { +"description": "Output only. Indicates if the listing can modify the service list.", +"readOnly": true, +"type": "boolean" +}, +"canOperateHealthData": { +"description": "Output only. Indicates whether the location can operate on Health data.", +"readOnly": true, +"type": "boolean" +}, +"canOperateLocalPost": { +"deprecated": true, +"description": "Output only. Indicates if the listing can manage local posts. Deprecated: This field is no longer populated and will be removed in a future version.", +"readOnly": true, +"type": "boolean" +}, +"canOperateLodgingData": { +"description": "Output only. Indicates whether the location can operate on Lodging data.", +"readOnly": true, +"type": "boolean" +}, +"duplicateLocation": { +"description": "Output only. The location resource that this location duplicates.", +"readOnly": true, +"type": "string" +}, +"hasGoogleUpdated": { +"description": "Output only. Indicates whether the place ID associated with this location has updates that need to be updated or rejected by the client. If this boolean is set, you should call the `getGoogleUpdated` method to lookup information that's needs to be verified.", +"readOnly": true, +"type": "boolean" +}, +"hasPendingEdits": { +"description": "Output only. Indicates whether any of this Location's properties are in the edit pending state.", +"readOnly": true, +"type": "boolean" +}, +"hasVoiceOfMerchant": { +"description": "Output only. Indicates if the listing has Voice of Merchant. If this boolean is false, you should call the locations.getVoiceOfMerchantState API to get details as to why they do not have Voice of Merchant.", +"readOnly": true, +"type": "boolean" +}, +"isParticularlyPersonalPlace": { +"description": "Output only.", +"readOnly": true, +"type": "boolean" +}, +"mapsUri": { +"description": "Output only. A link to the location on Maps.", +"readOnly": true, +"type": "string" +}, +"newReviewUri": { +"description": "Output only. A link to the page on Google Search where a customer can leave a review for the location.", +"readOnly": true, +"type": "string" +}, +"placeId": { +"description": "Output only. If this locationappears on Google Maps, this field is populated with the place ID for the location. This ID can be used in various Places APIs. This field can be set during Create calls, but not for Update.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"Money": { +"description": "Represents an amount of money with its currency type.", +"id": "Money", +"properties": { +"currencyCode": { +"description": "The three-letter currency code defined in ISO 4217.", +"type": "string" +}, +"nanos": { +"description": "Number of nano (10^-9) units of the amount. The value must be between -999,999,999 and +999,999,999 inclusive. If `units` is positive, `nanos` must be positive or zero. If `units` is zero, `nanos` can be positive, zero, or negative. If `units` is negative, `nanos` must be negative or zero. For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000.", +"format": "int32", +"type": "integer" +}, +"units": { +"description": "The whole units of the amount. For example if `currencyCode` is `\"USD\"`, then 1 unit is one US dollar.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"MoreHours": { +"description": "The time periods during which a location is open for certain types of business.", +"id": "MoreHours", +"properties": { +"hoursTypeId": { +"description": "Required. Type of hours. Clients should call {#link businessCategories:BatchGet} to get supported hours types for categories of their locations.", +"type": "string" +}, +"periods": { +"description": "Required. A collection of times that this location is open. Each period represents a range of hours when the location is open during the week.", +"items": { +"$ref": "TimePeriod" +}, +"type": "array" +} +}, +"type": "object" +}, +"MoreHoursType": { +"description": "More hours types that a business can offers, in addition to its regular hours.", +"id": "MoreHoursType", +"properties": { +"displayName": { +"description": "Output only. The human-readable English display name for the hours type.", +"readOnly": true, +"type": "string" +}, +"hoursTypeId": { +"description": "Output only. A stable ID provided by Google for this hours type.", +"readOnly": true, +"type": "string" +}, +"localizedDisplayName": { +"description": "Output only. The human-readable localized display name for the hours type.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"OpenInfo": { +"description": "Information related to the opening state of the business.", +"id": "OpenInfo", +"properties": { +"canReopen": { +"description": "Output only. Indicates whether this business is eligible for re-open.", +"readOnly": true, +"type": "boolean" +}, +"openingDate": { +"$ref": "Date", +"description": "Optional. The date on which the location first opened. If the exact day is not known, month and year only can be provided. The date must be in the past or be no more than one year in the future." +}, +"status": { +"description": "Required. Indicates whether or not the Location is currently open for business. All locations are open by default, unless updated to be closed.", +"enum": [ +"OPEN_FOR_BUSINESS_UNSPECIFIED", +"OPEN", +"CLOSED_PERMANENTLY", +"CLOSED_TEMPORARILY" +], +"enumDescriptions": [ +"Not specified.", +"Indicates that the location is open.", +"Indicates that the location has been permanently closed.", +"Indicates that the location has been temporarily closed." +], +"type": "string" +} +}, +"type": "object" +}, +"PhoneNumbers": { +"description": "A collection of phone numbers for the business. During updates, both fields must be set. Clients may not update just the primary or additional phone numbers using the update mask. International phone format is preferred, such as \"+1 415 555 0132\", see more in (https://developers.google.com/style/phone-numbers#international-phone-numbers).", +"id": "PhoneNumbers", +"properties": { +"additionalPhones": { +"description": "Optional. Up to two phone numbers (mobile or landline, no fax) at which your business can be called, in addition to your primary phone number.", +"items": { +"type": "string" +}, +"type": "array" +}, +"primaryPhone": { +"description": "Required. A phone number that connects to your individual business location as directly as possible. Use a local phone number instead of a central, call center helpline number whenever possible.", +"type": "string" +} +}, +"type": "object" +}, +"PlaceInfo": { +"description": "Defines an area that's represented by a place ID.", +"id": "PlaceInfo", +"properties": { +"placeId": { +"description": "Required. The ID of the place. Must correspond to a region. (https://developers.google.com/places/web-service/supported_types#table3)", +"type": "string" +}, +"placeName": { +"description": "Required. The localized name of the place. For example, `Scottsdale, AZ`.", +"type": "string" +} +}, +"type": "object" +}, +"Places": { +"description": "Defines the union of areas represented by a set of places.", +"id": "Places", +"properties": { +"placeInfos": { +"description": "The areas represented by place IDs. Limited to a maximum of 20 places.", +"items": { +"$ref": "PlaceInfo" +}, +"type": "array" +} +}, +"type": "object" +}, +"PostalAddress": { +"description": "Represents a postal address, such as for postal delivery or payments addresses. With a postal address, a postal service can deliver items to a premise, P.O. box, or similar. A postal address is not intended to model geographical locations like roads, towns, or mountains. In typical usage, an address would be created by user input or from importing existing data, depending on the type of process. Advice on address input or editing: - Use an internationalization-ready address widget such as https://github.com/google/libaddressinput. - Users should not be presented with UI elements for input or editing of fields outside countries where that field is used. For more guidance on how to use this schema, see: https://support.google.com/business/answer/6397478.", +"id": "PostalAddress", +"properties": { +"addressLines": { +"description": "Unstructured address lines describing the lower levels of an address. Because values in `address_lines` do not have type information and may sometimes contain multiple values in a single field (for example, \"Austin, TX\"), it is important that the line order is clear. The order of address lines should be \"envelope order\" for the country or region of the address. In places where this can vary (for example, Japan), `address_language` is used to make it explicit (for example, \"ja\" for large-to-small ordering and \"ja-Latn\" or \"en\" for small-to-large). In this way, the most specific line of an address can be selected based on the language. The minimum permitted structural representation of an address consists of a `region_code` with all remaining information placed in the `address_lines`. It would be possible to format such an address very approximately without geocoding, but no semantic reasoning could be made about any of the address components until it was at least partially resolved. Creating an address only containing a `region_code` and `address_lines` and then geocoding is the recommended way to handle completely unstructured addresses (as opposed to guessing which parts of the address should be localities or administrative areas).", +"items": { +"type": "string" +}, +"type": "array" +}, +"administrativeArea": { +"description": "Optional. Highest administrative subdivision which is used for postal addresses of a country or region. For example, this can be a state, a province, an oblast, or a prefecture. For Spain, this is the province and not the autonomous community (for example, \"Barcelona\" and not \"Catalonia\"). Many countries don't use an administrative area in postal addresses. For example, in Switzerland, this should be left unpopulated.", +"type": "string" +}, +"languageCode": { +"description": "Optional. BCP-47 language code of the contents of this address (if known). This is often the UI language of the input form or is expected to match one of the languages used in the address' country/region, or their transliterated equivalents. This can affect formatting in certain countries, but is not critical to the correctness of the data and will never affect any validation or other non-formatting related operations. If this value is not known, it should be omitted (rather than specifying a possibly incorrect default). Examples: \"zh-Hant\", \"ja\", \"ja-Latn\", \"en\".", +"type": "string" +}, +"locality": { +"description": "Optional. Generally refers to the city or town portion of the address. Examples: US city, IT comune, UK post town. In regions of the world where localities are not well defined or do not fit into this structure well, leave `locality` empty and use `address_lines`.", +"type": "string" +}, +"organization": { +"description": "Optional. The name of the organization at the address.", +"type": "string" +}, +"postalCode": { +"description": "Optional. Postal code of the address. Not all countries use or require postal codes to be present, but where they are used, they may trigger additional validation with other parts of the address (for example, state or zip code validation in the United States).", +"type": "string" +}, +"recipients": { +"description": "Optional. The recipient at the address. This field may, under certain circumstances, contain multiline information. For example, it might contain \"care of\" information.", +"items": { +"type": "string" +}, +"type": "array" +}, +"regionCode": { +"description": "Required. CLDR region code of the country/region of the address. This is never inferred and it is up to the user to ensure the value is correct. See https://cldr.unicode.org/ and https://www.unicode.org/cldr/charts/30/supplemental/territory_information.html for details. Example: \"CH\" for Switzerland.", +"type": "string" +}, +"revision": { +"description": "The schema revision of the `PostalAddress`. This must be set to 0, which is the latest revision. All new revisions **must** be backward compatible with old revisions.", +"format": "int32", +"type": "integer" +}, +"sortingCode": { +"description": "Optional. Additional, country-specific, sorting code. This is not used in most regions. Where it is used, the value is either a string like \"CEDEX\", optionally followed by a number (for example, \"CEDEX 7\"), or just a number alone, representing the \"sector code\" (Jamaica), \"delivery area indicator\" (Malawi) or \"post office indicator\" (C\u00f4te d'Ivoire).", +"type": "string" +}, +"sublocality": { +"description": "Optional. Sublocality of the address. For example, this can be a neighborhood, borough, or district.", +"type": "string" +} +}, +"type": "object" +}, +"Profile": { +"description": "All information pertaining to the location's profile.", +"id": "Profile", +"properties": { +"description": { +"description": "Required. Description of the location in your own voice, not editable by anyone else.", +"type": "string" +} +}, +"type": "object" +}, +"RelationshipData": { +"description": "Information of all parent and children locations related to this one.", +"id": "RelationshipData", +"properties": { +"childrenLocations": { +"description": "The list of children locations that this location has relations with.", +"items": { +"$ref": "RelevantLocation" +}, +"type": "array" +}, +"parentChain": { +"description": "The resource name of the Chain that this location is member of. How to find Chain ID", +"type": "string" +}, +"parentLocation": { +"$ref": "RelevantLocation", +"description": "The parent location that this location has relations with." +} +}, +"type": "object" +}, +"RelevantLocation": { +"description": "Information about another location that is related to current one. The relation can be any one of DEPARTMENT_OF or INDEPENDENT_ESTABLISHMENT_OF, and the location specified here can be on either side (parent/child) of the location.", +"id": "RelevantLocation", +"properties": { +"placeId": { +"description": "Required. Specify the location that is on the other side of the relation by its placeID.", +"type": "string" +}, +"relationType": { +"description": "Required. The type of the relationship.", +"enum": [ +"RELATION_TYPE_UNSPECIFIED", +"DEPARTMENT_OF", +"INDEPENDENT_ESTABLISHMENT_IN" +], +"enumDescriptions": [ +"Type unspecified.", +"This represents a relation between 2 locations which share one physical area, same brand/upper management/organization, but with different key attributes like store hours or phone numbers. For example, Costco Pharmacy is a department in Costco Wholesale.", +"This represents the cases where 2 locations are co-located in the same physical location, but from different companies (e.g. Starbucks in a Safeway, shops in a mall)." +], +"type": "string" +} +}, +"type": "object" +}, +"RepeatedEnumAttributeValue": { +"description": "Values for an attribute with a `value_type` of REPEATED_ENUM. This consists of two lists of value IDs: those that are set (true) and those that are unset (false). Values absent are considered unknown. At least one value must be specified.", +"id": "RepeatedEnumAttributeValue", +"properties": { +"setValues": { +"description": "Enum values that are set.", +"items": { +"type": "string" +}, +"type": "array" +}, +"unsetValues": { +"description": "Enum values that are unset.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"SearchChainsResponse": { +"description": "Response message for Locations.SearchChains.", +"id": "SearchChainsResponse", +"properties": { +"chains": { +"description": "Chains that match the queried chain_display_name in SearchChainsRequest. If there are no matches, this field will be empty. Results are listed in order of relevance.", +"items": { +"$ref": "Chain" +}, +"type": "array" +} +}, +"type": "object" +}, +"SearchGoogleLocationsRequest": { +"description": "Request message for GoogleLocations.SearchGoogleLocations.", +"id": "SearchGoogleLocationsRequest", +"properties": { +"location": { +"$ref": "Location", +"description": "Location to search for. If provided, will find locations which match the provided location details, which must include a value for the title." +}, +"pageSize": { +"description": "The number of matches to return. The default value is 3, with a maximum of 10. Note that latency may increase if more are requested. There is no pagination.", +"format": "int32", +"type": "integer" +}, +"query": { +"description": "Text query to search for. The search results from a query string will be less accurate than if providing an exact location, but can provide more inexact matches.", +"type": "string" +} +}, +"type": "object" +}, +"SearchGoogleLocationsResponse": { +"description": "Response message for GoogleLocations.SearchGoogleLocations.", +"id": "SearchGoogleLocationsResponse", +"properties": { +"googleLocations": { +"description": "A collection of GoogleLocations that are potential matches to the specified request, listed in order from most to least accuracy.", +"items": { +"$ref": "GoogleLocation" +}, +"type": "array" +} +}, +"type": "object" +}, +"ServiceAreaBusiness": { +"description": "Service area businesses provide their service at the customer's location (for example, a locksmith or plumber).", +"id": "ServiceAreaBusiness", +"properties": { +"businessType": { +"description": "Required. Indicates the type of the service area business.", +"enum": [ +"BUSINESS_TYPE_UNSPECIFIED", +"CUSTOMER_LOCATION_ONLY", +"CUSTOMER_AND_BUSINESS_LOCATION" +], +"enumDescriptions": [ +"Output only. Not specified.", +"Offers service only in the surrounding area (not at the business address). If a business is being updated from a CUSTOMER_AND_BUSINESS_LOCATION to a CUSTOMER_LOCATION_ONLY, the location update must include field mask `storefront_address` and set the field to empty.", +"Offers service at the business address and the surrounding area." +], +"type": "string" +}, +"places": { +"$ref": "Places", +"description": "The area that this business serves defined through a set of places." +}, +"regionCode": { +"description": "Immutable. CLDR region code of the country/region that this service area business is based in. See http://cldr.unicode.org/ and http://www.unicode.org/cldr/charts/30/supplemental/territory_information.html for details. Example: \"CH\" for Switzerland. This field is required for CUSTOMER_LOCATION_ONLY businesses, and is ignored otherwise. The region specified here can be different from regions for the areas that this business serves (e.g. service area businesses that provide services in regions other than the one that they are based in). If this location requires verification after creation, the address provided for verification purposes *must* be located within this region, and the business owner or their authorized representative *must* be able to receive postal mail at the provided verification address.", +"type": "string" +} +}, +"type": "object" +}, +"ServiceItem": { +"description": "A message that describes a single service item. It is used to describe the type of service that the merchant provides. For example, haircut can be a service.", +"id": "ServiceItem", +"properties": { +"freeFormServiceItem": { +"$ref": "FreeFormServiceItem", +"description": "Optional. This field will be set case of free-form services data." +}, +"price": { +"$ref": "Money", +"description": "Optional. Represents the monetary price of the service item. We recommend that currency_code and units should be set when including a price. This will be treated as a fixed price for the service item." +}, +"structuredServiceItem": { +"$ref": "StructuredServiceItem", +"description": "Optional. This field will be set case of structured services data." +} +}, +"type": "object" +}, +"ServiceType": { +"description": "A message describing a service type that the business offers.", +"id": "ServiceType", +"properties": { +"displayName": { +"description": "Output only. The human-readable display name for the service type.", +"readOnly": true, +"type": "string" +}, +"serviceTypeId": { +"description": "Output only. A stable ID (provided by Google) for this service type.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"SpecialHourPeriod": { +"description": "Represents a single time period when a location's operational hours differ from its normal business hours. A special hour period must represent a range of less than 24 hours. The `open_time` and `start_date` must predate the `close_time` and `end_date`. The `close_time` and `end_date` can extend to 11:59 a.m. on the day after the specified `start_date`. For example, the following inputs are valid: start_date=2015-11-23, open_time=08:00, close_time=18:00 start_date=2015-11-23, end_date=2015-11-23, open_time=08:00, close_time=18:00 start_date=2015-11-23, end_date=2015-11-24, open_time=13:00, close_time=11:59 The following inputs are not valid: start_date=2015-11-23, open_time=13:00, close_time=11:59 start_date=2015-11-23, end_date=2015-11-24, open_time=13:00, close_time=12:00 start_date=2015-11-23, end_date=2015-11-25, open_time=08:00, close_time=18:00", +"id": "SpecialHourPeriod", +"properties": { +"closeTime": { +"$ref": "TimeOfDay", +"description": "Optional. Valid values are 00:00-24:00, where 24:00 represents midnight at the end of the specified day field. Must be specified if `closed` is false." +}, +"closed": { +"description": "Optional. If true, `end_date`, `open_time`, and `close_time` are ignored, and the date specified in `start_date` is treated as the location being closed for the entire day.", +"type": "boolean" +}, +"endDate": { +"$ref": "Date", +"description": "Optional. The calendar date this special hour period ends on. If `end_date` field is not set, default to the date specified in `start_date`. If set, this field must be equal to or at most 1 day after `start_date`." +}, +"openTime": { +"$ref": "TimeOfDay", +"description": "Optional. Valid values are 00:00-24:00 where 24:00 represents midnight at the end of the specified day field. Must be specified if `closed` is false." +}, +"startDate": { +"$ref": "Date", +"description": "Required. The calendar date this special hour period starts on." +} +}, +"type": "object" +}, +"SpecialHours": { +"description": "Represents a set of time periods when a location's operational hours differ from its normal business hours.", +"id": "SpecialHours", +"properties": { +"specialHourPeriods": { +"description": "Required. A list of exceptions to the business's regular hours.", +"items": { +"$ref": "SpecialHourPeriod" +}, +"type": "array" +} +}, +"type": "object" +}, +"StructuredServiceItem": { +"description": "Represents a structured service offered by the merchant. For eg: toilet_installation.", +"id": "StructuredServiceItem", +"properties": { +"description": { +"description": "Optional. Description of structured service item. The character limit is 300.", +"type": "string" +}, +"serviceTypeId": { +"description": "Required. The `service_type_id` field is a Google provided unique ID that can be found in `ServiceType`. This information is provided by `BatchGetCategories` rpc service.", +"type": "string" +} +}, +"type": "object" +}, +"TimeOfDay": { +"description": "Represents a time of day. The date and time zone are either not significant or are specified elsewhere. An API may choose to allow leap seconds. Related types are google.type.Date and `google.protobuf.Timestamp`.", +"id": "TimeOfDay", +"properties": { +"hours": { +"description": "Hours of a day in 24 hour format. Must be greater than or equal to 0 and typically must be less than or equal to 23. An API may choose to allow the value \"24:00:00\" for scenarios like business closing time.", +"format": "int32", +"type": "integer" +}, +"minutes": { +"description": "Minutes of an hour. Must be greater than or equal to 0 and less than or equal to 59.", +"format": "int32", +"type": "integer" +}, +"nanos": { +"description": "Fractions of seconds, in nanoseconds. Must be greater than or equal to 0 and less than or equal to 999,999,999.", +"format": "int32", +"type": "integer" +}, +"seconds": { +"description": "Seconds of a minute. Must be greater than or equal to 0 and typically must be less than or equal to 59. An API may allow the value 60 if it allows leap-seconds.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"TimePeriod": { +"description": "Represents a span of time that the business is open, starting on the specified open day/time and closing on the specified close day/time. The closing time must occur after the opening time, for example later in the same day, or on a subsequent day.", +"id": "TimePeriod", +"properties": { +"closeDay": { +"description": "Required. Indicates the day of the week this period ends on.", +"enum": [ +"DAY_OF_WEEK_UNSPECIFIED", +"MONDAY", +"TUESDAY", +"WEDNESDAY", +"THURSDAY", +"FRIDAY", +"SATURDAY", +"SUNDAY" +], +"enumDescriptions": [ +"The day of the week is unspecified.", +"Monday", +"Tuesday", +"Wednesday", +"Thursday", +"Friday", +"Saturday", +"Sunday" +], +"type": "string" +}, +"closeTime": { +"$ref": "TimeOfDay", +"description": "Required. Valid values are 00:00-24:00, where 24:00 represents midnight at the end of the specified day field." +}, +"openDay": { +"description": "Required. Indicates the day of the week this period starts on.", +"enum": [ +"DAY_OF_WEEK_UNSPECIFIED", +"MONDAY", +"TUESDAY", +"WEDNESDAY", +"THURSDAY", +"FRIDAY", +"SATURDAY", +"SUNDAY" +], +"enumDescriptions": [ +"The day of the week is unspecified.", +"Monday", +"Tuesday", +"Wednesday", +"Thursday", +"Friday", +"Saturday", +"Sunday" +], +"type": "string" +}, +"openTime": { +"$ref": "TimeOfDay", +"description": "Required. Valid values are 00:00-24:00, where 24:00 represents midnight at the end of the specified day field." +} +}, +"type": "object" +}, +"UriAttributeValue": { +"description": "Values for an attribute with a `value_type` of URL.", +"id": "UriAttributeValue", +"properties": { +"uri": { +"description": "Required. The proposed URI value for this attribute.", +"type": "string" +} +}, +"type": "object" +} +}, +"servicePath": "", +"title": "My Business Business Information API", +"version": "v1", +"version_module": true +} \ No newline at end of file diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/mybusinessplaceactions.v1.json b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/mybusinessplaceactions.v1.json new file mode 100644 index 0000000000000000000000000000000000000000..ffccace39893667b59b347045f2b348b97fce2d5 --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/mybusinessplaceactions.v1.json @@ -0,0 +1,448 @@ +{ +"basePath": "", +"baseUrl": "https://mybusinessplaceactions.googleapis.com/", +"batchPath": "batch", +"canonicalName": "My Business Place Actions", +"description": "The My Business Place Actions API provides an interface for managing place action links of a location on Google. Note - If you have a quota of 0 after enabling the API, please request for GBP API access.", +"discoveryVersion": "v1", +"documentationLink": "https://developers.google.com/my-business/", +"fullyEncodeReservedExpansion": true, +"icons": { +"x16": "http://www.google.com/images/icons/product/search-16.gif", +"x32": "http://www.google.com/images/icons/product/search-32.gif" +}, +"id": "mybusinessplaceactions:v1", +"kind": "discovery#restDescription", +"mtlsRootUrl": "https://mybusinessplaceactions.mtls.googleapis.com/", +"name": "mybusinessplaceactions", +"ownerDomain": "google.com", +"ownerName": "Google", +"parameters": { +"$.xgafv": { +"description": "V1 error format.", +"enum": [ +"1", +"2" +], +"enumDescriptions": [ +"v1 error format", +"v2 error format" +], +"location": "query", +"type": "string" +}, +"access_token": { +"description": "OAuth access token.", +"location": "query", +"type": "string" +}, +"alt": { +"default": "json", +"description": "Data format for response.", +"enum": [ +"json", +"media", +"proto" +], +"enumDescriptions": [ +"Responses with Content-Type of application/json", +"Media download with context-dependent Content-Type", +"Responses with Content-Type of application/x-protobuf" +], +"location": "query", +"type": "string" +}, +"callback": { +"description": "JSONP", +"location": "query", +"type": "string" +}, +"fields": { +"description": "Selector specifying which fields to include in a partial response.", +"location": "query", +"type": "string" +}, +"key": { +"description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", +"location": "query", +"type": "string" +}, +"oauth_token": { +"description": "OAuth 2.0 token for the current user.", +"location": "query", +"type": "string" +}, +"prettyPrint": { +"default": "true", +"description": "Returns response with indentations and line breaks.", +"location": "query", +"type": "boolean" +}, +"quotaUser": { +"description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.", +"location": "query", +"type": "string" +}, +"uploadType": { +"description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", +"location": "query", +"type": "string" +}, +"upload_protocol": { +"description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", +"location": "query", +"type": "string" +} +}, +"protocol": "rest", +"resources": { +"locations": { +"resources": { +"placeActionLinks": { +"methods": { +"create": { +"description": "Creates a place action link associated with the specified location, and returns it. The request is considered duplicate if the `parent`, `place_action_link.uri` and `place_action_link.place_action_type` are the same as a previous request.", +"flatPath": "v1/locations/{locationsId}/placeActionLinks", +"httpMethod": "POST", +"id": "mybusinessplaceactions.locations.placeActionLinks.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The resource name of the location where to create this place action link. `locations/{location_id}`.", +"location": "path", +"pattern": "^locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/placeActionLinks", +"request": { +"$ref": "PlaceActionLink" +}, +"response": { +"$ref": "PlaceActionLink" +} +}, +"delete": { +"description": "Deletes a place action link from the specified location.", +"flatPath": "v1/locations/{locationsId}/placeActionLinks/{placeActionLinksId}", +"httpMethod": "DELETE", +"id": "mybusinessplaceactions.locations.placeActionLinks.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the place action link to remove from the location.", +"location": "path", +"pattern": "^locations/[^/]+/placeActionLinks/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Empty" +} +}, +"get": { +"description": "Gets the specified place action link.", +"flatPath": "v1/locations/{locationsId}/placeActionLinks/{placeActionLinksId}", +"httpMethod": "GET", +"id": "mybusinessplaceactions.locations.placeActionLinks.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the place action link to fetch.", +"location": "path", +"pattern": "^locations/[^/]+/placeActionLinks/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "PlaceActionLink" +} +}, +"list": { +"description": "Lists the place action links for the specified location.", +"flatPath": "v1/locations/{locationsId}/placeActionLinks", +"httpMethod": "GET", +"id": "mybusinessplaceactions.locations.placeActionLinks.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Optional. A filter constraining the place action links to return. The response includes entries that match the filter. We support only the following filter: 1. place_action_type=XYZ where XYZ is a valid PlaceActionType.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Optional. How many place action links to return per page. Default of 10. The minimum is 1.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. If specified, returns the next page of place action links.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The name of the location whose place action links will be listed. `locations/{location_id}`.", +"location": "path", +"pattern": "^locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/placeActionLinks", +"response": { +"$ref": "ListPlaceActionLinksResponse" +} +}, +"patch": { +"description": "Updates the specified place action link and returns it.", +"flatPath": "v1/locations/{locationsId}/placeActionLinks/{placeActionLinksId}", +"httpMethod": "PATCH", +"id": "mybusinessplaceactions.locations.placeActionLinks.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Optional. The resource name, in the format `locations/{location_id}/placeActionLinks/{place_action_link_id}`. The name field will only be considered in UpdatePlaceActionLink and DeletePlaceActionLink requests for updating and deleting links respectively. However, it will be ignored in CreatePlaceActionLink request, where `place_action_link_id` will be assigned by the server on successful creation of a new link and returned as part of the response.", +"location": "path", +"pattern": "^locations/[^/]+/placeActionLinks/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Required. The specific fields to update. The only editable fields are `uri`, `place_action_type` and `is_preferred`. If the updated link already exists at the same location with the same `place_action_type` and `uri`, fails with an `ALREADY_EXISTS` error.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "PlaceActionLink" +}, +"response": { +"$ref": "PlaceActionLink" +} +} +} +} +} +}, +"placeActionTypeMetadata": { +"methods": { +"list": { +"description": "Returns the list of available place action types for a location or country.", +"flatPath": "v1/placeActionTypeMetadata", +"httpMethod": "GET", +"id": "mybusinessplaceactions.placeActionTypeMetadata.list", +"parameterOrder": [], +"parameters": { +"filter": { +"description": "Optional. A filter constraining the place action types to return metadata for. The response includes entries that match the filter. We support only the following filters: 1. location=XYZ where XYZ is a string indicating the resource name of a location, in the format `locations/{location_id}`. 2. region_code=XYZ where XYZ is a Unicode CLDR region code to find available action types. If no filter is provided, all place action types are returned.", +"location": "query", +"type": "string" +}, +"languageCode": { +"description": "Optional. The IETF BCP-47 code of language to get display names in. If this language is not available, they will be provided in English.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Optional. How many action types to include per page. Default is 10, minimum is 1.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. If specified, the next page of place action type metadata is retrieved. The `pageToken` is returned when a call to `placeActionTypeMetadata.list` returns more results than can fit into the requested page size.", +"location": "query", +"type": "string" +} +}, +"path": "v1/placeActionTypeMetadata", +"response": { +"$ref": "ListPlaceActionTypeMetadataResponse" +} +} +} +} +}, +"revision": "20251022", +"rootUrl": "https://mybusinessplaceactions.googleapis.com/", +"schemas": { +"Empty": { +"description": "A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }", +"id": "Empty", +"properties": {}, +"type": "object" +}, +"ListPlaceActionLinksResponse": { +"description": "Response message for PlaceActions.ListPlaceActionLinks.", +"id": "ListPlaceActionLinksResponse", +"properties": { +"nextPageToken": { +"description": "If there are more place action links than the requested page size, then this field is populated with a token to fetch the next page of results.", +"type": "string" +}, +"placeActionLinks": { +"description": "The returned list of place action links.", +"items": { +"$ref": "PlaceActionLink" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListPlaceActionTypeMetadataResponse": { +"description": "Response message for PlaceActions.ListPlaceActionTypeMetadata.", +"id": "ListPlaceActionTypeMetadataResponse", +"properties": { +"nextPageToken": { +"description": "If the number of action types exceeded the requested page size, this field will be populated with a token to fetch the next page on a subsequent call to `placeActionTypeMetadata.list`. If there are no more results, this field will not be present in the response.", +"type": "string" +}, +"placeActionTypeMetadata": { +"description": "A collection of metadata for the available place action types.", +"items": { +"$ref": "PlaceActionTypeMetadata" +}, +"type": "array" +} +}, +"type": "object" +}, +"PlaceActionLink": { +"description": "Represents a place action link and its attributes.", +"id": "PlaceActionLink", +"properties": { +"createTime": { +"description": "Output only. The time when the place action link was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"isEditable": { +"description": "Output only. Indicates whether this link can be edited by the client.", +"readOnly": true, +"type": "boolean" +}, +"isPreferred": { +"description": "Optional. Whether this link is preferred by the merchant. Only one link can be marked as preferred per place action type at a location. If a future request marks a different link as preferred for the same place action type, then the current preferred link (if any exists) will lose its preference.", +"type": "boolean" +}, +"name": { +"description": "Optional. The resource name, in the format `locations/{location_id}/placeActionLinks/{place_action_link_id}`. The name field will only be considered in UpdatePlaceActionLink and DeletePlaceActionLink requests for updating and deleting links respectively. However, it will be ignored in CreatePlaceActionLink request, where `place_action_link_id` will be assigned by the server on successful creation of a new link and returned as part of the response.", +"type": "string" +}, +"placeActionType": { +"description": "Required. The type of place action that can be performed using this link.", +"enum": [ +"PLACE_ACTION_TYPE_UNSPECIFIED", +"APPOINTMENT", +"ONLINE_APPOINTMENT", +"DINING_RESERVATION", +"FOOD_ORDERING", +"FOOD_DELIVERY", +"FOOD_TAKEOUT", +"SHOP_ONLINE", +"SOLOPRENEUR_APPOINTMENT" +], +"enumDescriptions": [ +"Not specified.", +"The action type is booking an appointment.", +"The action type is booking an online appointment.", +"The action type is making a dining reservation.", +"The action type is ordering food for delivery and/or takeout.", +"The action type is ordering food for delivery.", +"The action type is ordering food for takeout.", +"The action type is shopping, that can be delivery and/or pickup.", +"The action type is booking an appointment with a Solopneuer partner." +], +"type": "string" +}, +"providerType": { +"description": "Output only. Specifies the provider type.", +"enum": [ +"PROVIDER_TYPE_UNSPECIFIED", +"MERCHANT", +"AGGREGATOR_3P" +], +"enumDescriptions": [ +"Not specified.", +"A 1P provider such as a merchant, or an agency on behalf of a merchant.", +"A 3P aggregator, such as a `Reserve with Google` partner." +], +"readOnly": true, +"type": "string" +}, +"updateTime": { +"description": "Output only. The time when the place action link was last modified.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"uri": { +"description": "Required. The link uri. The same uri can be reused for different action types across different locations. However, only one place action link is allowed for each unique combination of (uri, place action type, location).", +"type": "string" +} +}, +"type": "object" +}, +"PlaceActionTypeMetadata": { +"description": "Metadata for supported place action types.", +"id": "PlaceActionTypeMetadata", +"properties": { +"displayName": { +"description": "The localized display name for the attribute, if available; otherwise, the English display name.", +"type": "string" +}, +"placeActionType": { +"description": "The place action type.", +"enum": [ +"PLACE_ACTION_TYPE_UNSPECIFIED", +"APPOINTMENT", +"ONLINE_APPOINTMENT", +"DINING_RESERVATION", +"FOOD_ORDERING", +"FOOD_DELIVERY", +"FOOD_TAKEOUT", +"SHOP_ONLINE", +"SOLOPRENEUR_APPOINTMENT" +], +"enumDescriptions": [ +"Not specified.", +"The action type is booking an appointment.", +"The action type is booking an online appointment.", +"The action type is making a dining reservation.", +"The action type is ordering food for delivery and/or takeout.", +"The action type is ordering food for delivery.", +"The action type is ordering food for takeout.", +"The action type is shopping, that can be delivery and/or pickup.", +"The action type is booking an appointment with a Solopneuer partner." +], +"type": "string" +} +}, +"type": "object" +} +}, +"servicePath": "", +"title": "My Business Place Actions API", +"version": "v1", +"version_module": true +} \ No newline at end of file diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/mybusinessqanda.v1.json b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/mybusinessqanda.v1.json new file mode 100644 index 0000000000000000000000000000000000000000..71630815f2776e4536b14b5cc655dd449029339b --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/mybusinessqanda.v1.json @@ -0,0 +1,519 @@ +{ +"basePath": "", +"baseUrl": "https://mybusinessqanda.googleapis.com/", +"batchPath": "batch", +"canonicalName": "My Business Q&A", +"description": "The My Business Q&A API allows questions and answers to be posted for specific listings. Note - If you have a quota of 0 after enabling the API, please request for GBP API access.", +"discoveryVersion": "v1", +"documentationLink": "https://developers.google.com/my-business/", +"fullyEncodeReservedExpansion": true, +"icons": { +"x16": "http://www.google.com/images/icons/product/search-16.gif", +"x32": "http://www.google.com/images/icons/product/search-32.gif" +}, +"id": "mybusinessqanda:v1", +"kind": "discovery#restDescription", +"mtlsRootUrl": "https://mybusinessqanda.mtls.googleapis.com/", +"name": "mybusinessqanda", +"ownerDomain": "google.com", +"ownerName": "Google", +"parameters": { +"$.xgafv": { +"description": "V1 error format.", +"enum": [ +"1", +"2" +], +"enumDescriptions": [ +"v1 error format", +"v2 error format" +], +"location": "query", +"type": "string" +}, +"access_token": { +"description": "OAuth access token.", +"location": "query", +"type": "string" +}, +"alt": { +"default": "json", +"description": "Data format for response.", +"enum": [ +"json", +"media", +"proto" +], +"enumDescriptions": [ +"Responses with Content-Type of application/json", +"Media download with context-dependent Content-Type", +"Responses with Content-Type of application/x-protobuf" +], +"location": "query", +"type": "string" +}, +"callback": { +"description": "JSONP", +"location": "query", +"type": "string" +}, +"fields": { +"description": "Selector specifying which fields to include in a partial response.", +"location": "query", +"type": "string" +}, +"key": { +"description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", +"location": "query", +"type": "string" +}, +"oauth_token": { +"description": "OAuth 2.0 token for the current user.", +"location": "query", +"type": "string" +}, +"prettyPrint": { +"default": "true", +"description": "Returns response with indentations and line breaks.", +"location": "query", +"type": "boolean" +}, +"quotaUser": { +"description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.", +"location": "query", +"type": "string" +}, +"uploadType": { +"description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", +"location": "query", +"type": "string" +}, +"upload_protocol": { +"description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", +"location": "query", +"type": "string" +} +}, +"protocol": "rest", +"resources": { +"locations": { +"resources": { +"questions": { +"methods": { +"create": { +"description": "Adds a question for the specified location.", +"flatPath": "v1/locations/{locationsId}/questions", +"httpMethod": "POST", +"id": "mybusinessqanda.locations.questions.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The name of the location to write a question for.", +"location": "path", +"pattern": "^locations/[^/]+/questions$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}", +"request": { +"$ref": "Question" +}, +"response": { +"$ref": "Question" +} +}, +"delete": { +"description": "Deletes a specific question written by the current user.", +"flatPath": "v1/locations/{locationsId}/questions/{questionsId}", +"httpMethod": "DELETE", +"id": "mybusinessqanda.locations.questions.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the question to delete.", +"location": "path", +"pattern": "^locations/[^/]+/questions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Empty" +} +}, +"list": { +"description": "Returns the paginated list of questions and some of its answers for a specified location. This operation is only valid if the specified location is verified.", +"flatPath": "v1/locations/{locationsId}/questions", +"httpMethod": "GET", +"id": "mybusinessqanda.locations.questions.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"answersPerQuestion": { +"description": "Optional. How many answers to fetch per question. The default and maximum `answers_per_question` values are 10.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"filter": { +"description": "Optional. A filter constraining the questions to return. The only filter currently supported is \"ignore_answered=true\"", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "Optional. The order to return the questions. Valid options include 'update_time desc' and 'upvote_count desc', which will return the questions sorted descendingly by the requested field. The default sort order is 'update_time desc'.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Optional. How many questions to fetch per page. The default and maximum `page_size` values are 10.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. If specified, the next page of questions is retrieved.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The name of the location to fetch questions for.", +"location": "path", +"pattern": "^locations/[^/]+/questions$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}", +"response": { +"$ref": "ListQuestionsResponse" +} +}, +"patch": { +"description": "Updates a specific question written by the current user.", +"flatPath": "v1/locations/{locationsId}/questions/{questionsId}", +"httpMethod": "PATCH", +"id": "mybusinessqanda.locations.questions.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Immutable. The unique name for the question. locations/*/questions/* This field will be ignored if set during question creation.", +"location": "path", +"pattern": "^locations/[^/]+/questions/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Required. The specific fields to update. Only question text can be updated.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "Question" +}, +"response": { +"$ref": "Question" +} +} +}, +"resources": { +"answers": { +"methods": { +"delete": { +"description": "Deletes the answer written by the current user to a question.", +"flatPath": "v1/locations/{locationsId}/questions/{questionsId}/answers:delete", +"httpMethod": "DELETE", +"id": "mybusinessqanda.locations.questions.answers.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the question to delete an answer for.", +"location": "path", +"pattern": "^locations/[^/]+/questions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}/answers:delete", +"response": { +"$ref": "Empty" +} +}, +"list": { +"description": "Returns the paginated list of answers for a specified question.", +"flatPath": "v1/locations/{locationsId}/questions/{questionsId}/answers", +"httpMethod": "GET", +"id": "mybusinessqanda.locations.questions.answers.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"orderBy": { +"description": "Optional. The order to return the answers. Valid options include 'update_time desc' and 'upvote_count desc', which will return the answers sorted descendingly by the requested field. The default sort order is 'update_time desc'.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Optional. How many answers to fetch per page. The default and maximum `page_size` values are 10.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. If specified, the next page of answers is retrieved.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The name of the question to fetch answers for.", +"location": "path", +"pattern": "^locations/[^/]+/questions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/answers", +"response": { +"$ref": "ListAnswersResponse" +} +}, +"upsert": { +"description": "Creates an answer or updates the existing answer written by the user for the specified question. A user can only create one answer per question.", +"flatPath": "v1/locations/{locationsId}/questions/{questionsId}/answers:upsert", +"httpMethod": "POST", +"id": "mybusinessqanda.locations.questions.answers.upsert", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The name of the question to write an answer for.", +"location": "path", +"pattern": "^locations/[^/]+/questions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/answers:upsert", +"request": { +"$ref": "UpsertAnswerRequest" +}, +"response": { +"$ref": "Answer" +} +} +} +} +} +} +} +} +}, +"revision": "20240707", +"rootUrl": "https://mybusinessqanda.googleapis.com/", +"schemas": { +"Answer": { +"description": "Represents an answer to a question", +"id": "Answer", +"properties": { +"author": { +"$ref": "Author", +"description": "Output only. The author of the answer. Will only be set during list operations.", +"readOnly": true +}, +"createTime": { +"description": "Output only. The timestamp for when the answer was written. Only retrieved during ListResponse fetching.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"name": { +"description": "Output only. The unique name for the answer locations/*/questions/*/answers/*", +"readOnly": true, +"type": "string" +}, +"text": { +"description": "Required. The text of the answer. It should contain at least one non-whitespace character. The maximum length is 4096 characters.", +"type": "string" +}, +"updateTime": { +"description": "Output only. The timestamp for when the answer was last modified.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"upvoteCount": { +"description": "Output only. The number of upvotes for the answer.", +"format": "int32", +"readOnly": true, +"type": "integer" +} +}, +"type": "object" +}, +"Author": { +"description": "Represents the author of a question or answer", +"id": "Author", +"properties": { +"displayName": { +"description": "The display name of the user", +"type": "string" +}, +"profilePhotoUri": { +"description": "The profile photo URI of the user.", +"type": "string" +}, +"type": { +"description": "The type of user the author is.", +"enum": [ +"AUTHOR_TYPE_UNSPECIFIED", +"REGULAR_USER", +"LOCAL_GUIDE", +"MERCHANT" +], +"enumDescriptions": [ +"This should not be used.", +"A regular user.", +"A Local Guide", +"The owner/manager of the location" +], +"type": "string" +} +}, +"type": "object" +}, +"Empty": { +"description": "A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }", +"id": "Empty", +"properties": {}, +"type": "object" +}, +"ListAnswersResponse": { +"description": "Response message for QuestionsAndAnswers.ListAnswers", +"id": "ListAnswersResponse", +"properties": { +"answers": { +"description": "The requested answers.", +"items": { +"$ref": "Answer" +}, +"type": "array" +}, +"nextPageToken": { +"description": "If the number of answers exceeds the requested max page size, this field is populated with a token to fetch the next page of answers on a subsequent call. If there are no more answers, this field is not present in the response.", +"type": "string" +}, +"totalSize": { +"description": "The total number of answers posted for this question across all pages.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"ListQuestionsResponse": { +"description": "Response message for QuestionsAndAnswers.ListQuestions", +"id": "ListQuestionsResponse", +"properties": { +"nextPageToken": { +"description": "If the number of questions exceeds the requested max page size, this field is populated with a token to fetch the next page of questions on a subsequent call. If there are no more questions, this field is not present in the response.", +"type": "string" +}, +"questions": { +"description": "The requested questions,", +"items": { +"$ref": "Question" +}, +"type": "array" +}, +"totalSize": { +"description": "The total number of questions posted for this location across all pages.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"Question": { +"description": "Represents a single question and some of its answers.", +"id": "Question", +"properties": { +"author": { +"$ref": "Author", +"description": "Output only. The author of the question.", +"readOnly": true +}, +"createTime": { +"description": "Output only. The timestamp for when the question was written.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"name": { +"description": "Immutable. The unique name for the question. locations/*/questions/* This field will be ignored if set during question creation.", +"type": "string" +}, +"text": { +"description": "Required. The text of the question. It should contain at least three words and the total length should be greater than or equal to 10 characters. The maximum length is 4096 characters.", +"type": "string" +}, +"topAnswers": { +"description": "Output only. A list of answers to the question, sorted by upvotes. This may not be a complete list of answers depending on the request parameters (answers_per_question)", +"items": { +"$ref": "Answer" +}, +"readOnly": true, +"type": "array" +}, +"totalAnswerCount": { +"description": "Output only. The total number of answers posted for this question.", +"format": "int32", +"readOnly": true, +"type": "integer" +}, +"updateTime": { +"description": "Output only. The timestamp for when the question was last modified.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"upvoteCount": { +"description": "Output only. The number of upvotes for the question.", +"format": "int32", +"readOnly": true, +"type": "integer" +} +}, +"type": "object" +}, +"UpsertAnswerRequest": { +"description": "Request message for QuestionsAndAnswers.UpsertAnswer", +"id": "UpsertAnswerRequest", +"properties": { +"answer": { +"$ref": "Answer", +"description": "Required. The new answer." +} +}, +"type": "object" +} +}, +"servicePath": "", +"title": "My Business Q&A API", +"version": "v1", +"version_module": true +} \ No newline at end of file diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/mybusinessverifications.v1.json b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/mybusinessverifications.v1.json new file mode 100644 index 0000000000000000000000000000000000000000..d3ae4f28548ef50c9ddd2723575b43ea3bd2a394 --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/mybusinessverifications.v1.json @@ -0,0 +1,763 @@ +{ +"basePath": "", +"baseUrl": "https://mybusinessverifications.googleapis.com/", +"batchPath": "batch", +"canonicalName": "My Business Verifications", +"description": "The My Business Verifications API provides an interface for taking verifications related actions for locations.", +"discoveryVersion": "v1", +"documentationLink": "https://developers.google.com/my-business/", +"fullyEncodeReservedExpansion": true, +"icons": { +"x16": "http://www.google.com/images/icons/product/search-16.gif", +"x32": "http://www.google.com/images/icons/product/search-32.gif" +}, +"id": "mybusinessverifications:v1", +"kind": "discovery#restDescription", +"mtlsRootUrl": "https://mybusinessverifications.mtls.googleapis.com/", +"name": "mybusinessverifications", +"ownerDomain": "google.com", +"ownerName": "Google", +"parameters": { +"$.xgafv": { +"description": "V1 error format.", +"enum": [ +"1", +"2" +], +"enumDescriptions": [ +"v1 error format", +"v2 error format" +], +"location": "query", +"type": "string" +}, +"access_token": { +"description": "OAuth access token.", +"location": "query", +"type": "string" +}, +"alt": { +"default": "json", +"description": "Data format for response.", +"enum": [ +"json", +"media", +"proto" +], +"enumDescriptions": [ +"Responses with Content-Type of application/json", +"Media download with context-dependent Content-Type", +"Responses with Content-Type of application/x-protobuf" +], +"location": "query", +"type": "string" +}, +"callback": { +"description": "JSONP", +"location": "query", +"type": "string" +}, +"fields": { +"description": "Selector specifying which fields to include in a partial response.", +"location": "query", +"type": "string" +}, +"key": { +"description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", +"location": "query", +"type": "string" +}, +"oauth_token": { +"description": "OAuth 2.0 token for the current user.", +"location": "query", +"type": "string" +}, +"prettyPrint": { +"default": "true", +"description": "Returns response with indentations and line breaks.", +"location": "query", +"type": "boolean" +}, +"quotaUser": { +"description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.", +"location": "query", +"type": "string" +}, +"uploadType": { +"description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", +"location": "query", +"type": "string" +}, +"upload_protocol": { +"description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", +"location": "query", +"type": "string" +} +}, +"protocol": "rest", +"resources": { +"locations": { +"methods": { +"fetchVerificationOptions": { +"description": "Reports all eligible verification options for a location in a specific language.", +"flatPath": "v1/locations/{locationsId}:fetchVerificationOptions", +"httpMethod": "POST", +"id": "mybusinessverifications.locations.fetchVerificationOptions", +"parameterOrder": [ +"location" +], +"parameters": { +"location": { +"description": "Required. The location to verify.", +"location": "path", +"pattern": "^locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+location}:fetchVerificationOptions", +"request": { +"$ref": "FetchVerificationOptionsRequest" +}, +"response": { +"$ref": "FetchVerificationOptionsResponse" +} +}, +"getVoiceOfMerchantState": { +"description": "Gets the VoiceOfMerchant state.", +"flatPath": "v1/locations/{locationsId}/VoiceOfMerchantState", +"httpMethod": "GET", +"id": "mybusinessverifications.locations.getVoiceOfMerchantState", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Resource name of the location.", +"location": "path", +"pattern": "^locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}/VoiceOfMerchantState", +"response": { +"$ref": "VoiceOfMerchantState" +} +}, +"verify": { +"description": "Starts the verification process for a location.", +"flatPath": "v1/locations/{locationsId}:verify", +"httpMethod": "POST", +"id": "mybusinessverifications.locations.verify", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Resource name of the location to verify.", +"location": "path", +"pattern": "^locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:verify", +"request": { +"$ref": "VerifyLocationRequest" +}, +"response": { +"$ref": "VerifyLocationResponse" +} +} +}, +"resources": { +"verifications": { +"methods": { +"complete": { +"description": "Completes a `PENDING` verification. It is only necessary for non `AUTO` verification methods. `AUTO` verification request is instantly `VERIFIED` upon creation.", +"flatPath": "v1/locations/{locationsId}/verifications/{verificationsId}:complete", +"httpMethod": "POST", +"id": "mybusinessverifications.locations.verifications.complete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Resource name of the verification to complete.", +"location": "path", +"pattern": "^locations/[^/]+/verifications/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:complete", +"request": { +"$ref": "CompleteVerificationRequest" +}, +"response": { +"$ref": "CompleteVerificationResponse" +} +}, +"list": { +"description": "List verifications of a location, ordered by create time.", +"flatPath": "v1/locations/{locationsId}/verifications", +"httpMethod": "GET", +"id": "mybusinessverifications.locations.verifications.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "How many verification to include per page. Minimum is 1, and the default and maximum page size is 100.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "If specified, returns the next page of verifications.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. Resource name of the location that verification requests belong to.", +"location": "path", +"pattern": "^locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/verifications", +"response": { +"$ref": "ListVerificationsResponse" +} +} +} +} +} +}, +"verificationTokens": { +"methods": { +"generate": { +"description": "Generate a token for the provided location data to verify the location.", +"flatPath": "v1/verificationTokens:generate", +"httpMethod": "POST", +"id": "mybusinessverifications.verificationTokens.generate", +"parameterOrder": [], +"parameters": {}, +"path": "v1/verificationTokens:generate", +"request": { +"$ref": "GenerateInstantVerificationTokenRequest" +}, +"response": { +"$ref": "GenerateInstantVerificationTokenResponse" +} +} +} +} +}, +"revision": "20250804", +"rootUrl": "https://mybusinessverifications.googleapis.com/", +"schemas": { +"AddressVerificationData": { +"description": "Display data for verifications through postcard.", +"id": "AddressVerificationData", +"properties": { +"address": { +"$ref": "PostalAddress", +"description": "Address that a postcard can be sent to." +}, +"business": { +"description": "Merchant's business name.", +"type": "string" +}, +"expectedDeliveryDaysRegion": { +"description": "Expected number of days it takes to deliver a postcard to the address's region.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"CompleteVerificationRequest": { +"description": "Request message for Verifications.CompleteVerificationAction.", +"id": "CompleteVerificationRequest", +"properties": { +"pin": { +"description": "Required. PIN code received by the merchant to complete the verification.", +"type": "string" +} +}, +"type": "object" +}, +"CompleteVerificationResponse": { +"description": "Response message for Verifications.CompleteVerificationAction.", +"id": "CompleteVerificationResponse", +"properties": { +"verification": { +"$ref": "Verification", +"description": "The completed verification." +} +}, +"type": "object" +}, +"ComplyWithGuidelines": { +"description": "Indicates that the location fails to comply with our [guidelines](https://support.google.com/business/answer/3038177).", +"id": "ComplyWithGuidelines", +"properties": { +"recommendationReason": { +"description": "The reason why the location is being recommended to comply with guidelines.", +"enum": [ +"RECOMMENDATION_REASON_UNSPECIFIED", +"BUSINESS_LOCATION_SUSPENDED", +"BUSINESS_LOCATION_DISABLED" +], +"enumDescriptions": [ +"Not specified.", +"The business location is suspended. To fix this issue, consult the [Help Center article](https://support.google.com/business/answer/4569145).", +"The business location is disabled. To fix this issue, consult the [Help Center article](https://support.google.com/business/answer/9334246)." +], +"type": "string" +} +}, +"type": "object" +}, +"EmailVerificationData": { +"description": "Display data for verifications through email.", +"id": "EmailVerificationData", +"properties": { +"domain": { +"description": "Domain name in the email address. e.g. \"gmail.com\" in foo@gmail.com", +"type": "string" +}, +"isUserNameEditable": { +"description": "Whether client is allowed to provide a different user name.", +"type": "boolean" +}, +"user": { +"description": "User name in the email address. e.g. \"foo\" in foo@gmail.com", +"type": "string" +} +}, +"type": "object" +}, +"FetchVerificationOptionsRequest": { +"description": "Request message for Verifications.FetchVerificationOptions.", +"id": "FetchVerificationOptionsRequest", +"properties": { +"context": { +"$ref": "ServiceBusinessContext", +"description": "Optional. Extra context information for the verification of service businesses. Can only be applied to the locations whose business type is CUSTOMER_LOCATION_ONLY. Specifying an accurate address could enable more options. INVALID_ARGUMENT will be thrown if it is set for other business types of locations." +}, +"languageCode": { +"description": "Required. The BCP 47 language code representing the language that is to be used for the verification process. Available options vary by language.", +"type": "string" +} +}, +"type": "object" +}, +"FetchVerificationOptionsResponse": { +"description": "Response message for Verifications.FetchVerificationOptions.", +"id": "FetchVerificationOptionsResponse", +"properties": { +"options": { +"description": "The available verification options.", +"items": { +"$ref": "VerificationOption" +}, +"type": "array" +} +}, +"type": "object" +}, +"GenerateInstantVerificationTokenRequest": { +"description": "Request message for Verifications.GenerateInstantVerificationToken.", +"id": "GenerateInstantVerificationTokenRequest", +"properties": { +"locationData": { +"$ref": "LocationData", +"description": "Immutable. The address and other details of the location to generate an instant verification token for." +}, +"locationId": { +"description": "The location identifier associated with an unverified listing. This is the location id generated at the time that the listing was originally created. It is the final portion of a location resource name as generated by the Google My Business API. Note: the caller must be an owner or manager of this listing in order to generate a verification token. See the [location resource](/my-business/reference/rest/v4/accounts.locations) documentation for more information.", +"type": "string" +} +}, +"type": "object" +}, +"GenerateInstantVerificationTokenResponse": { +"description": "Response message for Verifications.GenerateInstantVerificationToken.", +"id": "GenerateInstantVerificationTokenResponse", +"properties": { +"instantVerificationToken": { +"description": "The generated instant verification token.", +"type": "string" +}, +"result": { +"description": "Output only. The result of the instant verification token generation.", +"enum": [ +"RESULT_UNSPECIFIED", +"SUCCEEDED", +"FAILED" +], +"enumDescriptions": [ +"Default value, will result in errors.", +"The instant verification token was generated successfully.", +"The instant verification token was not generated.." +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"ListVerificationsResponse": { +"description": "Response message for Verifications.ListVerifications.", +"id": "ListVerificationsResponse", +"properties": { +"nextPageToken": { +"description": "If the number of verifications exceeded the requested page size, this field will be populated with a token to fetch the next page of verification on a subsequent call. If there are no more attributes, this field will not be present in the response.", +"type": "string" +}, +"verifications": { +"description": "List of the verifications.", +"items": { +"$ref": "Verification" +}, +"type": "array" +} +}, +"type": "object" +}, +"LocationData": { +"description": "The address and other details of the location to generate an instant verification token for.", +"id": "LocationData", +"properties": { +"address": { +"$ref": "PostalAddress", +"description": "Immutable. A precise, accurate address to describe your business location. PO boxes or mailboxes located at remote locations are not acceptable. At this time, you can specify a maximum of five `address_lines` values in the address." +}, +"name": { +"description": "Immutable. Name should reflect your business's real-world name, as used consistently on your storefront, website, and stationery, and as known to customers. Any additional information, when relevant, can be included in other fields of the resource (for example, `Address`, `Categories`). Don't add unnecessary information to your name (for example, prefer \"Google\" over \"Google Inc. - Mountain View Corporate Headquarters\"). Don't include marketing taglines, store codes, special characters, hours or closed/open status, phone numbers, website URLs, service/product information, location/address or directions, or containment information (for example, \"Chase ATM in Duane Reade\").", +"type": "string" +} +}, +"type": "object" +}, +"PostalAddress": { +"description": "Represents a postal address, such as for postal delivery or payments addresses. With a postal address, a postal service can deliver items to a premise, P.O. box, or similar. A postal address is not intended to model geographical locations like roads, towns, or mountains. In typical usage, an address would be created by user input or from importing existing data, depending on the type of process. Advice on address input or editing: - Use an internationalization-ready address widget such as https://github.com/google/libaddressinput. - Users should not be presented with UI elements for input or editing of fields outside countries where that field is used. For more guidance on how to use this schema, see: https://support.google.com/business/answer/6397478.", +"id": "PostalAddress", +"properties": { +"addressLines": { +"description": "Unstructured address lines describing the lower levels of an address. Because values in `address_lines` do not have type information and may sometimes contain multiple values in a single field (for example, \"Austin, TX\"), it is important that the line order is clear. The order of address lines should be \"envelope order\" for the country or region of the address. In places where this can vary (for example, Japan), `address_language` is used to make it explicit (for example, \"ja\" for large-to-small ordering and \"ja-Latn\" or \"en\" for small-to-large). In this way, the most specific line of an address can be selected based on the language. The minimum permitted structural representation of an address consists of a `region_code` with all remaining information placed in the `address_lines`. It would be possible to format such an address very approximately without geocoding, but no semantic reasoning could be made about any of the address components until it was at least partially resolved. Creating an address only containing a `region_code` and `address_lines` and then geocoding is the recommended way to handle completely unstructured addresses (as opposed to guessing which parts of the address should be localities or administrative areas).", +"items": { +"type": "string" +}, +"type": "array" +}, +"administrativeArea": { +"description": "Optional. Highest administrative subdivision which is used for postal addresses of a country or region. For example, this can be a state, a province, an oblast, or a prefecture. For Spain, this is the province and not the autonomous community (for example, \"Barcelona\" and not \"Catalonia\"). Many countries don't use an administrative area in postal addresses. For example, in Switzerland, this should be left unpopulated.", +"type": "string" +}, +"languageCode": { +"description": "Optional. BCP-47 language code of the contents of this address (if known). This is often the UI language of the input form or is expected to match one of the languages used in the address' country/region, or their transliterated equivalents. This can affect formatting in certain countries, but is not critical to the correctness of the data and will never affect any validation or other non-formatting related operations. If this value is not known, it should be omitted (rather than specifying a possibly incorrect default). Examples: \"zh-Hant\", \"ja\", \"ja-Latn\", \"en\".", +"type": "string" +}, +"locality": { +"description": "Optional. Generally refers to the city or town portion of the address. Examples: US city, IT comune, UK post town. In regions of the world where localities are not well defined or do not fit into this structure well, leave `locality` empty and use `address_lines`.", +"type": "string" +}, +"organization": { +"description": "Optional. The name of the organization at the address.", +"type": "string" +}, +"postalCode": { +"description": "Optional. Postal code of the address. Not all countries use or require postal codes to be present, but where they are used, they may trigger additional validation with other parts of the address (for example, state or zip code validation in the United States).", +"type": "string" +}, +"recipients": { +"description": "Optional. The recipient at the address. This field may, under certain circumstances, contain multiline information. For example, it might contain \"care of\" information.", +"items": { +"type": "string" +}, +"type": "array" +}, +"regionCode": { +"description": "Required. CLDR region code of the country/region of the address. This is never inferred and it is up to the user to ensure the value is correct. See https://cldr.unicode.org/ and https://www.unicode.org/cldr/charts/30/supplemental/territory_information.html for details. Example: \"CH\" for Switzerland.", +"type": "string" +}, +"revision": { +"description": "The schema revision of the `PostalAddress`. This must be set to 0, which is the latest revision. All new revisions **must** be backward compatible with old revisions.", +"format": "int32", +"type": "integer" +}, +"sortingCode": { +"description": "Optional. Additional, country-specific, sorting code. This is not used in most regions. Where it is used, the value is either a string like \"CEDEX\", optionally followed by a number (for example, \"CEDEX 7\"), or just a number alone, representing the \"sector code\" (Jamaica), \"delivery area indicator\" (Malawi) or \"post office indicator\" (C\u00f4te d'Ivoire).", +"type": "string" +}, +"sublocality": { +"description": "Optional. Sublocality of the address. For example, this can be a neighborhood, borough, or district.", +"type": "string" +} +}, +"type": "object" +}, +"ResolveOwnershipConflict": { +"description": "Indicates that the location duplicates another location that is in good standing.", +"id": "ResolveOwnershipConflict", +"properties": {}, +"type": "object" +}, +"ServiceBusinessContext": { +"description": "Additional data for service business verification.", +"id": "ServiceBusinessContext", +"properties": { +"address": { +"$ref": "PostalAddress", +"description": "The verification address of the location. It is used to either enable more verification options or send a postcard." +} +}, +"type": "object" +}, +"Verification": { +"description": "A verification represents a verification attempt on a location.", +"id": "Verification", +"properties": { +"announcement": { +"description": "Optional. Response announcement set only if the method is VETTED_PARTNER.", +"type": "string" +}, +"createTime": { +"description": "The timestamp when the verification is requested.", +"format": "google-datetime", +"type": "string" +}, +"method": { +"description": "The method of the verification.", +"enum": [ +"VERIFICATION_METHOD_UNSPECIFIED", +"ADDRESS", +"EMAIL", +"PHONE_CALL", +"SMS", +"AUTO", +"VETTED_PARTNER", +"TRUSTED_PARTNER" +], +"enumDescriptions": [ +"Default value, will result in errors.", +"Send a postcard with a verification PIN to a specific mailing address. The PIN is used to complete verification with Google.", +"Send an email with a verification PIN to a specific email address. The PIN is used to complete verification with Google.", +"Make a phone call with a verification PIN to a specific phone number. The PIN is used to complete verification with Google.", +"Send an SMS with a verification PIN to a specific phone number. The PIN is used to complete verification with Google.", +"Verify the location without additional user action. This option may not be available for all locations.", +"This option may not be available for all locations.", +"Verify the location via a trusted partner." +], +"type": "string" +}, +"name": { +"description": "Resource name of the verification.", +"type": "string" +}, +"state": { +"description": "The state of the verification.", +"enum": [ +"STATE_UNSPECIFIED", +"PENDING", +"COMPLETED", +"FAILED" +], +"enumDescriptions": [ +"Default value, will result in errors.", +"The verification is pending.", +"The verification is completed.", +"The verification is failed." +], +"type": "string" +} +}, +"type": "object" +}, +"VerificationOption": { +"description": "The verification option represents how to verify the location (indicated by verification method) and where the verification will be sent to (indicated by display data).", +"id": "VerificationOption", +"properties": { +"addressData": { +"$ref": "AddressVerificationData", +"description": "Set only if the method is MAIL." +}, +"announcement": { +"description": "Set only if the method is VETTED_PARTNER.", +"type": "string" +}, +"emailData": { +"$ref": "EmailVerificationData", +"description": "Set only if the method is EMAIL." +}, +"phoneNumber": { +"description": "Set only if the method is PHONE_CALL or SMS. Phone number that the PIN will be sent to.", +"type": "string" +}, +"verificationMethod": { +"description": "Method to verify the location.", +"enum": [ +"VERIFICATION_METHOD_UNSPECIFIED", +"ADDRESS", +"EMAIL", +"PHONE_CALL", +"SMS", +"AUTO", +"VETTED_PARTNER", +"TRUSTED_PARTNER" +], +"enumDescriptions": [ +"Default value, will result in errors.", +"Send a postcard with a verification PIN to a specific mailing address. The PIN is used to complete verification with Google.", +"Send an email with a verification PIN to a specific email address. The PIN is used to complete verification with Google.", +"Make a phone call with a verification PIN to a specific phone number. The PIN is used to complete verification with Google.", +"Send an SMS with a verification PIN to a specific phone number. The PIN is used to complete verification with Google.", +"Verify the location without additional user action. This option may not be available for all locations.", +"This option may not be available for all locations.", +"Verify the location via a trusted partner." +], +"type": "string" +} +}, +"type": "object" +}, +"VerificationToken": { +"description": "Token generated by a vetted [partner](https://support.google.com/business/answer/7674102).", +"id": "VerificationToken", +"properties": { +"tokenString": { +"description": "The token string.", +"type": "string" +} +}, +"type": "object" +}, +"Verify": { +"description": "Indicates that the location requires verification. Contains information about the current verification actions performed on the location.", +"id": "Verify", +"properties": { +"hasPendingVerification": { +"description": "Indicates whether a verification process has already started, and can be completed by the location.", +"type": "boolean" +} +}, +"type": "object" +}, +"VerifyLocationRequest": { +"description": "Request message for Verifications.VerifyLocation.", +"id": "VerifyLocationRequest", +"properties": { +"context": { +"$ref": "ServiceBusinessContext", +"description": "Optional. Extra context information for the verification of service businesses. It is only required for the locations whose business type is CUSTOMER_LOCATION_ONLY. For ADDRESS verification, the address will be used to send out postcard. For other methods, it should be the same as the one that is passed to GetVerificationOptions. INVALID_ARGUMENT will be thrown if it is set for other types of business locations." +}, +"emailAddress": { +"description": "Optional. The input for EMAIL method. Email address where the PIN should be sent to. An email address is accepted only if it is one of the addresses provided by FetchVerificationOptions. If the EmailVerificationData has is_user_name_editable set to true, the client may specify a different user name (local-part) but must match the domain name.", +"type": "string" +}, +"languageCode": { +"description": "Optional. The BCP 47 language code representing the language that is to be used for the verification process.", +"type": "string" +}, +"mailerContact": { +"description": "Optional. The input for ADDRESS method. Contact name the mail should be sent to.", +"type": "string" +}, +"method": { +"description": "Required. Verification method.", +"enum": [ +"VERIFICATION_METHOD_UNSPECIFIED", +"ADDRESS", +"EMAIL", +"PHONE_CALL", +"SMS", +"AUTO", +"VETTED_PARTNER", +"TRUSTED_PARTNER" +], +"enumDescriptions": [ +"Default value, will result in errors.", +"Send a postcard with a verification PIN to a specific mailing address. The PIN is used to complete verification with Google.", +"Send an email with a verification PIN to a specific email address. The PIN is used to complete verification with Google.", +"Make a phone call with a verification PIN to a specific phone number. The PIN is used to complete verification with Google.", +"Send an SMS with a verification PIN to a specific phone number. The PIN is used to complete verification with Google.", +"Verify the location without additional user action. This option may not be available for all locations.", +"This option may not be available for all locations.", +"Verify the location via a trusted partner." +], +"type": "string" +}, +"phoneNumber": { +"description": "Optional. The input for PHONE_CALL/SMS method The phone number that should be called or be sent SMS to. It must be one of the phone numbers in the eligible options.", +"type": "string" +}, +"token": { +"$ref": "VerificationToken", +"description": "Optional. The input for VETTED_PARTNER method available to select [partners.](https://support.google.com/business/answer/7674102) The input is not needed for a vetted account. Token that is associated to the location. Token that is associated to the location." +}, +"trustedPartnerToken": { +"description": "The input for TRUSTED_PARTNER method The verification token that is associated to the location.", +"type": "string" +} +}, +"type": "object" +}, +"VerifyLocationResponse": { +"description": "Response message for Verifications.VerifyLocation.", +"id": "VerifyLocationResponse", +"properties": { +"verification": { +"$ref": "Verification", +"description": "The created verification request." +} +}, +"type": "object" +}, +"VoiceOfMerchantState": { +"description": "Response message for VoiceOfMerchant.GetVoiceOfMerchantState.", +"id": "VoiceOfMerchantState", +"properties": { +"complyWithGuidelines": { +"$ref": "ComplyWithGuidelines", +"description": "The location fails to comply with our [guidelines](https://support.google.com/business/answer/3038177) and requires additional steps for reinstatement. To fix this issue, consult the [Help Center Article](https://support.google.com/business/answer/4569145)." +}, +"hasBusinessAuthority": { +"description": "Indicates whether the location has the authority (ownership) over the business on Google. If true, another location cannot take over and become the dominant listing on Maps. However, edits will not become live unless Voice of Merchant is gained (i.e. has_voice_of_merchant is true).", +"type": "boolean" +}, +"hasVoiceOfMerchant": { +"description": "Indicates whether the location is in good standing and has control over the business on Google. Any edits made to the location will propagate to Maps after passing the review phase.", +"type": "boolean" +}, +"resolveOwnershipConflict": { +"$ref": "ResolveOwnershipConflict", +"description": "This location duplicates another location that is in good standing. If you have access to the location in good standing, use that location's id to perform operations. Otherwise, request access from the current owner." +}, +"verify": { +"$ref": "Verify", +"description": "Start or continue the verification process." +}, +"waitForVoiceOfMerchant": { +"$ref": "WaitForVoiceOfMerchant", +"description": "Wait to gain Voice of Merchant. The location is under review for quality purposes." +} +}, +"type": "object" +}, +"WaitForVoiceOfMerchant": { +"description": "Indicates that the location will gain voice of merchant after passing review.", +"id": "WaitForVoiceOfMerchant", +"properties": {}, +"type": "object" +} +}, +"servicePath": "", +"title": "My Business Verifications API", +"version": "v1", +"version_module": true +} \ No newline at end of file diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/networkmanagement.v1.json b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/networkmanagement.v1.json new file mode 100644 index 0000000000000000000000000000000000000000..fb2ef5b008e756c19439a3ae7b45cde292f5ac4b --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/networkmanagement.v1.json @@ -0,0 +1,4641 @@ +{ +"auth": { +"oauth2": { +"scopes": { +"https://www.googleapis.com/auth/cloud-platform": { +"description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." +} +} +} +}, +"basePath": "", +"baseUrl": "https://networkmanagement.googleapis.com/", +"batchPath": "batch", +"canonicalName": "Network Management", +"description": "The Network Management API provides a collection of network performance monitoring and diagnostic capabilities.", +"discoveryVersion": "v1", +"documentationLink": "https://cloud.google.com/", +"fullyEncodeReservedExpansion": true, +"icons": { +"x16": "http://www.google.com/images/icons/product/search-16.gif", +"x32": "http://www.google.com/images/icons/product/search-32.gif" +}, +"id": "networkmanagement:v1", +"kind": "discovery#restDescription", +"mtlsRootUrl": "https://networkmanagement.mtls.googleapis.com/", +"name": "networkmanagement", +"ownerDomain": "google.com", +"ownerName": "Google", +"parameters": { +"$.xgafv": { +"description": "V1 error format.", +"enum": [ +"1", +"2" +], +"enumDescriptions": [ +"v1 error format", +"v2 error format" +], +"location": "query", +"type": "string" +}, +"access_token": { +"description": "OAuth access token.", +"location": "query", +"type": "string" +}, +"alt": { +"default": "json", +"description": "Data format for response.", +"enum": [ +"json", +"media", +"proto" +], +"enumDescriptions": [ +"Responses with Content-Type of application/json", +"Media download with context-dependent Content-Type", +"Responses with Content-Type of application/x-protobuf" +], +"location": "query", +"type": "string" +}, +"callback": { +"description": "JSONP", +"location": "query", +"type": "string" +}, +"fields": { +"description": "Selector specifying which fields to include in a partial response.", +"location": "query", +"type": "string" +}, +"key": { +"description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", +"location": "query", +"type": "string" +}, +"oauth_token": { +"description": "OAuth 2.0 token for the current user.", +"location": "query", +"type": "string" +}, +"prettyPrint": { +"default": "true", +"description": "Returns response with indentations and line breaks.", +"location": "query", +"type": "boolean" +}, +"quotaUser": { +"description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.", +"location": "query", +"type": "string" +}, +"uploadType": { +"description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", +"location": "query", +"type": "string" +}, +"upload_protocol": { +"description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", +"location": "query", +"type": "string" +} +}, +"protocol": "rest", +"resources": { +"organizations": { +"resources": { +"locations": { +"methods": { +"get": { +"description": "Gets information about a location.", +"flatPath": "v1/organizations/{organizationsId}/locations/{locationsId}", +"httpMethod": "GET", +"id": "networkmanagement.organizations.locations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Resource name for the location.", +"location": "path", +"pattern": "^organizations/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Location" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists information about the supported locations for this service. This method can be called in two ways: * **List all public locations:** Use the path `GET /v1/locations`. * **List project-visible locations:** Use the path `GET /v1/projects/{project_id}/locations`. This may include public locations as well as private or other locations specifically visible to the project.", +"flatPath": "v1/organizations/{organizationsId}/locations", +"httpMethod": "GET", +"id": "networkmanagement.organizations.locations.list", +"parameterOrder": [ +"name" +], +"parameters": { +"extraLocationTypes": { +"description": "Optional. Do not use this field. It is unsupported and is ignored unless explicitly documented otherwise. This is primarily for internal usage.", +"location": "query", +"repeated": true, +"type": "string" +}, +"filter": { +"description": "A filter to narrow down results to a preferred subset. The filtering language accepts strings like `\"displayName=tokyo\"`, and is documented in more detail in [AIP-160](https://google.aip.dev/160).", +"location": "query", +"type": "string" +}, +"name": { +"description": "The resource that owns the locations collection, if applicable.", +"location": "path", +"pattern": "^organizations/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The maximum number of results to return. If not set, the service selects a default.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A page token received from the `next_page_token` field in the response. Send that page token to receive the subsequent page.", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}/locations", +"response": { +"$ref": "ListLocationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"global": { +"resources": { +"operations": { +"methods": { +"cancel": { +"description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.", +"flatPath": "v1/organizations/{organizationsId}/locations/global/operations/{operationsId}:cancel", +"httpMethod": "POST", +"id": "networkmanagement.organizations.locations.global.operations.cancel", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be cancelled.", +"location": "path", +"pattern": "^organizations/[^/]+/locations/global/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:cancel", +"request": { +"$ref": "CancelOperationRequest" +}, +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.", +"flatPath": "v1/organizations/{organizationsId}/locations/global/operations/{operationsId}", +"httpMethod": "DELETE", +"id": "networkmanagement.organizations.locations.global.operations.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be deleted.", +"location": "path", +"pattern": "^organizations/[^/]+/locations/global/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", +"flatPath": "v1/organizations/{organizationsId}/locations/global/operations/{operationsId}", +"httpMethod": "GET", +"id": "networkmanagement.organizations.locations.global.operations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource.", +"location": "path", +"pattern": "^organizations/[^/]+/locations/global/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.", +"flatPath": "v1/organizations/{organizationsId}/locations/global/operations", +"httpMethod": "GET", +"id": "networkmanagement.organizations.locations.global.operations.list", +"parameterOrder": [ +"name" +], +"parameters": { +"filter": { +"description": "The standard list filter.", +"location": "query", +"type": "string" +}, +"name": { +"description": "The name of the operation's parent resource.", +"location": "path", +"pattern": "^organizations/[^/]+/locations/global$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The standard list page size.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The standard list page token.", +"location": "query", +"type": "string" +}, +"returnPartialSuccess": { +"description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `\"projects/example/locations/-\"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1/{+name}/operations", +"response": { +"$ref": "ListOperationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +}, +"vpcFlowLogsConfigs": { +"methods": { +"create": { +"description": "Creates a new `VpcFlowLogsConfig`. If a configuration with the exact same settings already exists (even if the ID is different), the creation fails. Notes: 1. Creating a configuration with `state=DISABLED` will fail 2. The following fields are not considered as settings for the purpose of the check mentioned above, therefore - creating another configuration with the same fields but different values for the following fields will fail as well: * name * create_time * update_time * labels * description", +"flatPath": "v1/organizations/{organizationsId}/locations/{locationsId}/vpcFlowLogsConfigs", +"httpMethod": "POST", +"id": "networkmanagement.organizations.locations.vpcFlowLogsConfigs.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The parent resource of the VpcFlowLogsConfig to create, in one of the following formats: - For project-level resources: `projects/{project_id}/locations/global` - For organization-level resources: `organizations/{organization_id}/locations/global`", +"location": "path", +"pattern": "^organizations/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +}, +"vpcFlowLogsConfigId": { +"description": "Required. ID of the `VpcFlowLogsConfig`.", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+parent}/vpcFlowLogsConfigs", +"request": { +"$ref": "VpcFlowLogsConfig" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a specific `VpcFlowLogsConfig`.", +"flatPath": "v1/organizations/{organizationsId}/locations/{locationsId}/vpcFlowLogsConfigs/{vpcFlowLogsConfigsId}", +"httpMethod": "DELETE", +"id": "networkmanagement.organizations.locations.vpcFlowLogsConfigs.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the VpcFlowLogsConfig, in one of the following formats: - For a project-level resource: `projects/{project_id}/locations/global/vpcFlowLogsConfigs/{vpc_flow_logs_config_id}` - For an organization-level resource: `organizations/{organization_id}/locations/global/vpcFlowLogsConfigs/{vpc_flow_logs_config_id}`", +"location": "path", +"pattern": "^organizations/[^/]+/locations/[^/]+/vpcFlowLogsConfigs/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets the details of a specific `VpcFlowLogsConfig`.", +"flatPath": "v1/organizations/{organizationsId}/locations/{locationsId}/vpcFlowLogsConfigs/{vpcFlowLogsConfigsId}", +"httpMethod": "GET", +"id": "networkmanagement.organizations.locations.vpcFlowLogsConfigs.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the VpcFlowLogsConfig, in one of the following formats: - For project-level resources: `projects/{project_id}/locations/global/vpcFlowLogsConfigs/{vpc_flow_logs_config_id}` - For organization-level resources: `organizations/{organization_id}/locations/global/vpcFlowLogsConfigs/{vpc_flow_logs_config_id}`", +"location": "path", +"pattern": "^organizations/[^/]+/locations/[^/]+/vpcFlowLogsConfigs/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "VpcFlowLogsConfig" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists all `VpcFlowLogsConfigs` in a given organization.", +"flatPath": "v1/organizations/{organizationsId}/locations/{locationsId}/vpcFlowLogsConfigs", +"httpMethod": "GET", +"id": "networkmanagement.organizations.locations.vpcFlowLogsConfigs.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Optional. Lists the `VpcFlowLogsConfigs` that match the filter expression. A filter expression must use the supported [CEL logic operators] (https://cloud.google.com/vpc/docs/about-flow-logs-records#supported_cel_logic_operators).", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "Optional. Field to use to sort the list.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Optional. Number of `VpcFlowLogsConfigs` to return.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. Page token from an earlier query, as returned in `next_page_token`.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent resource of the VpcFlowLogsConfig, in one of the following formats: - For project-level resources: `projects/{project_id}/locations/global` - For organization-level resources: `organizations/{organization_id}/locations/global`", +"location": "path", +"pattern": "^organizations/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/vpcFlowLogsConfigs", +"response": { +"$ref": "ListVpcFlowLogsConfigsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates an existing `VpcFlowLogsConfig`. If a configuration with the exact same settings already exists (even if the ID is different), the creation fails. Notes: 1. Updating a configuration with `state=DISABLED` will fail 2. The following fields are not considered as settings for the purpose of the check mentioned above, therefore - updating another configuration with the same fields but different values for the following fields will fail as well: * name * create_time * update_time * labels * description", +"flatPath": "v1/organizations/{organizationsId}/locations/{locationsId}/vpcFlowLogsConfigs/{vpcFlowLogsConfigsId}", +"httpMethod": "PATCH", +"id": "networkmanagement.organizations.locations.vpcFlowLogsConfigs.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Identifier. Unique name of the configuration. The name can have one of the following forms: - For project-level configurations: `projects/{project_id}/locations/global/vpcFlowLogsConfigs/{vpc_flow_logs_config_id}` - For organization-level configurations: `organizations/{organization_id}/locations/global/vpcFlowLogsConfigs/{vpc_flow_logs_config_id}`", +"location": "path", +"pattern": "^organizations/[^/]+/locations/[^/]+/vpcFlowLogsConfigs/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Required. Mask of fields to update. At least one path must be supplied in this field. For example, to change the state of the configuration to ENABLED, specify `update_mask` = `\"state\"`, and the `vpc_flow_logs_config` would be: `vpc_flow_logs_config = { name = \"projects/my-project/locations/global/vpcFlowLogsConfigs/my-config\" state = \"ENABLED\" }`", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "VpcFlowLogsConfig" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +} +} +}, +"projects": { +"resources": { +"locations": { +"methods": { +"get": { +"description": "Gets information about a location.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}", +"httpMethod": "GET", +"id": "networkmanagement.projects.locations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Resource name for the location.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Location" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists information about the supported locations for this service. This method can be called in two ways: * **List all public locations:** Use the path `GET /v1/locations`. * **List project-visible locations:** Use the path `GET /v1/projects/{project_id}/locations`. This may include public locations as well as private or other locations specifically visible to the project.", +"flatPath": "v1/projects/{projectsId}/locations", +"httpMethod": "GET", +"id": "networkmanagement.projects.locations.list", +"parameterOrder": [ +"name" +], +"parameters": { +"extraLocationTypes": { +"description": "Optional. Do not use this field. It is unsupported and is ignored unless explicitly documented otherwise. This is primarily for internal usage.", +"location": "query", +"repeated": true, +"type": "string" +}, +"filter": { +"description": "A filter to narrow down results to a preferred subset. The filtering language accepts strings like `\"displayName=tokyo\"`, and is documented in more detail in [AIP-160](https://google.aip.dev/160).", +"location": "query", +"type": "string" +}, +"name": { +"description": "The resource that owns the locations collection, if applicable.", +"location": "path", +"pattern": "^projects/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The maximum number of results to return. If not set, the service selects a default.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A page token received from the `next_page_token` field in the response. Send that page token to receive the subsequent page.", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}/locations", +"response": { +"$ref": "ListLocationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"global": { +"resources": { +"connectivityTests": { +"methods": { +"create": { +"description": "Creates a new Connectivity Test. After you create a test, the reachability analysis is performed as part of the long running operation, which completes when the analysis completes. If the endpoint specifications in `ConnectivityTest` are invalid (for example, containing non-existent resources in the network, or you don't have read permissions to the network configurations of listed projects), then the reachability result returns a value of `UNKNOWN`. If the endpoint specifications in `ConnectivityTest` are incomplete, the reachability result returns a value of AMBIGUOUS. For more information, see the Connectivity Test documentation.", +"flatPath": "v1/projects/{projectsId}/locations/global/connectivityTests", +"httpMethod": "POST", +"id": "networkmanagement.projects.locations.global.connectivityTests.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The parent resource of the Connectivity Test to create: `projects/{project_id}/locations/global`", +"location": "path", +"pattern": "^projects/[^/]+/locations/global$", +"required": true, +"type": "string" +}, +"testId": { +"description": "Required. The logical name of the Connectivity Test in your project with the following restrictions: * Must contain only lowercase letters, numbers, and hyphens. * Must start with a letter. * Must be between 1-40 characters. * Must end with a number or a letter. * Must be unique within the customer project", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+parent}/connectivityTests", +"request": { +"$ref": "ConnectivityTest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a specific `ConnectivityTest`.", +"flatPath": "v1/projects/{projectsId}/locations/global/connectivityTests/{connectivityTestsId}", +"httpMethod": "DELETE", +"id": "networkmanagement.projects.locations.global.connectivityTests.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Connectivity Test resource name using the form: `projects/{project_id}/locations/global/connectivityTests/{test_id}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/global/connectivityTests/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets the details of a specific Connectivity Test.", +"flatPath": "v1/projects/{projectsId}/locations/global/connectivityTests/{connectivityTestsId}", +"httpMethod": "GET", +"id": "networkmanagement.projects.locations.global.connectivityTests.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. `ConnectivityTest` resource name using the form: `projects/{project_id}/locations/global/connectivityTests/{test_id}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/global/connectivityTests/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "ConnectivityTest" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"getIamPolicy": { +"description": "Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.", +"flatPath": "v1/projects/{projectsId}/locations/global/connectivityTests/{connectivityTestsId}:getIamPolicy", +"httpMethod": "GET", +"id": "networkmanagement.projects.locations.global.connectivityTests.getIamPolicy", +"parameterOrder": [ +"resource" +], +"parameters": { +"options.requestedPolicyVersion": { +"description": "Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).", +"format": "int32", +"location": "query", +"type": "integer" +}, +"resource": { +"description": "REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", +"location": "path", +"pattern": "^projects/[^/]+/locations/global/connectivityTests/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+resource}:getIamPolicy", +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists all Connectivity Tests owned by a project.", +"flatPath": "v1/projects/{projectsId}/locations/global/connectivityTests", +"httpMethod": "GET", +"id": "networkmanagement.projects.locations.global.connectivityTests.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Lists the `ConnectivityTests` that match the filter expression. A filter expression filters the resources listed in the response. The expression must be of the form ` ` where operators: `<`, `>`, `<=`, `>=`, `!=`, `=`, `:` are supported (colon `:` represents a HAS operator which is roughly synonymous with equality). can refer to a proto or JSON field, or a synthetic field. Field names can be camelCase or snake_case. Examples: - Filter by name: name = \"projects/proj-1/locations/global/connectivityTests/test-1 - Filter by labels: - Resources that have a key called `foo` labels.foo:* - Resources that have a key called `foo` whose value is `bar` labels.foo = bar", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "Field to use to sort the list.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Number of `ConnectivityTests` to return.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Page token from an earlier query, as returned in `next_page_token`.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent resource of the Connectivity Tests: `projects/{project_id}/locations/global`", +"location": "path", +"pattern": "^projects/[^/]+/locations/global$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/connectivityTests", +"response": { +"$ref": "ListConnectivityTestsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates the configuration of an existing `ConnectivityTest`. After you update a test, the reachability analysis is performed as part of the long running operation, which completes when the analysis completes. The Reachability state in the test resource is updated with the new result. If the endpoint specifications in `ConnectivityTest` are invalid (for example, they contain non-existent resources in the network, or the user does not have read permissions to the network configurations of listed projects), then the reachability result returns a value of UNKNOWN. If the endpoint specifications in `ConnectivityTest` are incomplete, the reachability result returns a value of `AMBIGUOUS`. See the documentation in `ConnectivityTest` for more details.", +"flatPath": "v1/projects/{projectsId}/locations/global/connectivityTests/{connectivityTestsId}", +"httpMethod": "PATCH", +"id": "networkmanagement.projects.locations.global.connectivityTests.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Identifier. Unique name of the resource using the form: `projects/{project_id}/locations/global/connectivityTests/{test_id}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/global/connectivityTests/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Required. Mask of fields to update. At least one path must be supplied in this field.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "ConnectivityTest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"rerun": { +"description": "Rerun an existing `ConnectivityTest`. After the user triggers the rerun, the reachability analysis is performed as part of the long running operation, which completes when the analysis completes. Even though the test configuration remains the same, the reachability result may change due to underlying network configuration changes. If the endpoint specifications in `ConnectivityTest` become invalid (for example, specified resources are deleted in the network, or you lost read permissions to the network configurations of listed projects), then the reachability result returns a value of `UNKNOWN`.", +"flatPath": "v1/projects/{projectsId}/locations/global/connectivityTests/{connectivityTestsId}:rerun", +"httpMethod": "POST", +"id": "networkmanagement.projects.locations.global.connectivityTests.rerun", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Connectivity Test resource name using the form: `projects/{project_id}/locations/global/connectivityTests/{test_id}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/global/connectivityTests/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:rerun", +"request": { +"$ref": "RerunConnectivityTestRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"setIamPolicy": { +"description": "Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.", +"flatPath": "v1/projects/{projectsId}/locations/global/connectivityTests/{connectivityTestsId}:setIamPolicy", +"httpMethod": "POST", +"id": "networkmanagement.projects.locations.global.connectivityTests.setIamPolicy", +"parameterOrder": [ +"resource" +], +"parameters": { +"resource": { +"description": "REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", +"location": "path", +"pattern": "^projects/[^/]+/locations/global/connectivityTests/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+resource}:setIamPolicy", +"request": { +"$ref": "SetIamPolicyRequest" +}, +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"testIamPermissions": { +"description": "Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may \"fail open\" without warning.", +"flatPath": "v1/projects/{projectsId}/locations/global/connectivityTests/{connectivityTestsId}:testIamPermissions", +"httpMethod": "POST", +"id": "networkmanagement.projects.locations.global.connectivityTests.testIamPermissions", +"parameterOrder": [ +"resource" +], +"parameters": { +"resource": { +"description": "REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", +"location": "path", +"pattern": "^projects/[^/]+/locations/global/connectivityTests/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+resource}:testIamPermissions", +"request": { +"$ref": "TestIamPermissionsRequest" +}, +"response": { +"$ref": "TestIamPermissionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"operations": { +"methods": { +"cancel": { +"description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.", +"flatPath": "v1/projects/{projectsId}/locations/global/operations/{operationsId}:cancel", +"httpMethod": "POST", +"id": "networkmanagement.projects.locations.global.operations.cancel", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be cancelled.", +"location": "path", +"pattern": "^projects/[^/]+/locations/global/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:cancel", +"request": { +"$ref": "CancelOperationRequest" +}, +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.", +"flatPath": "v1/projects/{projectsId}/locations/global/operations/{operationsId}", +"httpMethod": "DELETE", +"id": "networkmanagement.projects.locations.global.operations.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be deleted.", +"location": "path", +"pattern": "^projects/[^/]+/locations/global/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", +"flatPath": "v1/projects/{projectsId}/locations/global/operations/{operationsId}", +"httpMethod": "GET", +"id": "networkmanagement.projects.locations.global.operations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/global/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.", +"flatPath": "v1/projects/{projectsId}/locations/global/operations", +"httpMethod": "GET", +"id": "networkmanagement.projects.locations.global.operations.list", +"parameterOrder": [ +"name" +], +"parameters": { +"filter": { +"description": "The standard list filter.", +"location": "query", +"type": "string" +}, +"name": { +"description": "The name of the operation's parent resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/global$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The standard list page size.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The standard list page token.", +"location": "query", +"type": "string" +}, +"returnPartialSuccess": { +"description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `\"projects/example/locations/-\"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1/{+name}/operations", +"response": { +"$ref": "ListOperationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +}, +"vpcFlowLogsConfigs": { +"methods": { +"create": { +"description": "Creates a new `VpcFlowLogsConfig`. If a configuration with the exact same settings already exists (even if the ID is different), the creation fails. Notes: 1. Creating a configuration with `state=DISABLED` will fail 2. The following fields are not considered as settings for the purpose of the check mentioned above, therefore - creating another configuration with the same fields but different values for the following fields will fail as well: * name * create_time * update_time * labels * description", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/vpcFlowLogsConfigs", +"httpMethod": "POST", +"id": "networkmanagement.projects.locations.vpcFlowLogsConfigs.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The parent resource of the VpcFlowLogsConfig to create, in one of the following formats: - For project-level resources: `projects/{project_id}/locations/global` - For organization-level resources: `organizations/{organization_id}/locations/global`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +}, +"vpcFlowLogsConfigId": { +"description": "Required. ID of the `VpcFlowLogsConfig`.", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+parent}/vpcFlowLogsConfigs", +"request": { +"$ref": "VpcFlowLogsConfig" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a specific `VpcFlowLogsConfig`.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/vpcFlowLogsConfigs/{vpcFlowLogsConfigsId}", +"httpMethod": "DELETE", +"id": "networkmanagement.projects.locations.vpcFlowLogsConfigs.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the VpcFlowLogsConfig, in one of the following formats: - For a project-level resource: `projects/{project_id}/locations/global/vpcFlowLogsConfigs/{vpc_flow_logs_config_id}` - For an organization-level resource: `organizations/{organization_id}/locations/global/vpcFlowLogsConfigs/{vpc_flow_logs_config_id}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/vpcFlowLogsConfigs/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets the details of a specific `VpcFlowLogsConfig`.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/vpcFlowLogsConfigs/{vpcFlowLogsConfigsId}", +"httpMethod": "GET", +"id": "networkmanagement.projects.locations.vpcFlowLogsConfigs.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the VpcFlowLogsConfig, in one of the following formats: - For project-level resources: `projects/{project_id}/locations/global/vpcFlowLogsConfigs/{vpc_flow_logs_config_id}` - For organization-level resources: `organizations/{organization_id}/locations/global/vpcFlowLogsConfigs/{vpc_flow_logs_config_id}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/vpcFlowLogsConfigs/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "VpcFlowLogsConfig" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists all `VpcFlowLogsConfigs` in a given project.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/vpcFlowLogsConfigs", +"httpMethod": "GET", +"id": "networkmanagement.projects.locations.vpcFlowLogsConfigs.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Optional. Lists the `VpcFlowLogsConfigs` that match the filter expression. A filter expression must use the supported [CEL logic operators] (https://cloud.google.com/vpc/docs/about-flow-logs-records#supported_cel_logic_operators).", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "Optional. Field to use to sort the list.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Optional. Number of `VpcFlowLogsConfigs` to return.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. Page token from an earlier query, as returned in `next_page_token`.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent resource of the VpcFlowLogsConfig, in one of the following formats: - For project-level resources: `projects/{project_id}/locations/global` - For organization-level resources: `organizations/{organization_id}/locations/global`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/vpcFlowLogsConfigs", +"response": { +"$ref": "ListVpcFlowLogsConfigsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates an existing `VpcFlowLogsConfig`. If a configuration with the exact same settings already exists (even if the ID is different), the creation fails. Notes: 1. Updating a configuration with `state=DISABLED` will fail. 2. The following fields are not considered as settings for the purpose of the check mentioned above, therefore - updating another configuration with the same fields but different values for the following fields will fail as well: * name * create_time * update_time * labels * description", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/vpcFlowLogsConfigs/{vpcFlowLogsConfigsId}", +"httpMethod": "PATCH", +"id": "networkmanagement.projects.locations.vpcFlowLogsConfigs.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Identifier. Unique name of the configuration. The name can have one of the following forms: - For project-level configurations: `projects/{project_id}/locations/global/vpcFlowLogsConfigs/{vpc_flow_logs_config_id}` - For organization-level configurations: `organizations/{organization_id}/locations/global/vpcFlowLogsConfigs/{vpc_flow_logs_config_id}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/vpcFlowLogsConfigs/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Required. Mask of fields to update. At least one path must be supplied in this field. For example, to change the state of the configuration to ENABLED, specify `update_mask` = `\"state\"`, and the `vpc_flow_logs_config` would be: `vpc_flow_logs_config = { name = \"projects/my-project/locations/global/vpcFlowLogsConfigs/my-config\" state = \"ENABLED\" }`", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "VpcFlowLogsConfig" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"queryOrgVpcFlowLogsConfigs": { +"description": "QueryOrgVpcFlowLogsConfigs returns a list of all organization-level VPC Flow Logs configurations applicable to the specified project.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/vpcFlowLogsConfigs:queryOrgVpcFlowLogsConfigs", +"httpMethod": "GET", +"id": "networkmanagement.projects.locations.vpcFlowLogsConfigs.queryOrgVpcFlowLogsConfigs", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Optional. Lists the `VpcFlowLogsConfigs` that match the filter expression. A filter expression must use the supported [CEL logic operators] (https://cloud.google.com/vpc/docs/about-flow-logs-records#supported_cel_logic_operators).", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Optional. Number of `VpcFlowLogsConfigs` to return.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. Page token from an earlier query, as returned in `next_page_token`.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent resource of the VpcFlowLogsConfig, specified in the following format: `projects/{project_id}/locations/global`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/vpcFlowLogsConfigs:queryOrgVpcFlowLogsConfigs", +"response": { +"$ref": "QueryOrgVpcFlowLogsConfigsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"showEffectiveFlowLogsConfigs": { +"description": "ShowEffectiveFlowLogsConfigs returns a list of all VPC Flow Logs configurations applicable to a specified resource.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/vpcFlowLogsConfigs:showEffectiveFlowLogsConfigs", +"httpMethod": "GET", +"id": "networkmanagement.projects.locations.vpcFlowLogsConfigs.showEffectiveFlowLogsConfigs", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Optional. Lists the `EffectiveVpcFlowLogsConfigs` that match the filter expression. A filter expression must use the supported [CEL logic operators] (https://cloud.google.com/vpc/docs/about-flow-logs-records#supported_cel_logic_operators).", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Optional. Number of `EffectiveVpcFlowLogsConfigs` to return. Default is 30.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. Page token from an earlier query, as returned in `next_page_token`.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent resource of the VpcFlowLogsConfig, specified in the following format: `projects/{project_id}/locations/global`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +}, +"resource": { +"description": "Required. The resource to get the effective VPC Flow Logs configuration for. The resource must belong to the same project as the parent. The resource must be a network, subnetwork, interconnect attachment, VPN tunnel, or a project.", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+parent}/vpcFlowLogsConfigs:showEffectiveFlowLogsConfigs", +"response": { +"$ref": "ShowEffectiveFlowLogsConfigsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +} +} +} +}, +"revision": "20260211", +"rootUrl": "https://networkmanagement.googleapis.com/", +"schemas": { +"AbortInfo": { +"description": "Details of the final state \"abort\" and associated resource.", +"id": "AbortInfo", +"properties": { +"cause": { +"description": "Causes that the analysis is aborted.", +"enum": [ +"CAUSE_UNSPECIFIED", +"UNKNOWN_NETWORK", +"UNKNOWN_PROJECT", +"NO_EXTERNAL_IP", +"UNINTENDED_DESTINATION", +"SOURCE_ENDPOINT_NOT_FOUND", +"MISMATCHED_SOURCE_NETWORK", +"DESTINATION_ENDPOINT_NOT_FOUND", +"MISMATCHED_DESTINATION_NETWORK", +"UNKNOWN_IP", +"GOOGLE_MANAGED_SERVICE_UNKNOWN_IP", +"SOURCE_IP_ADDRESS_NOT_IN_SOURCE_NETWORK", +"PERMISSION_DENIED", +"PERMISSION_DENIED_NO_CLOUD_NAT_CONFIGS", +"PERMISSION_DENIED_NO_NEG_ENDPOINT_CONFIGS", +"PERMISSION_DENIED_NO_CLOUD_ROUTER_CONFIGS", +"NO_SOURCE_LOCATION", +"NO_SOURCE_GCP_NETWORK_LOCATION", +"NO_SOURCE_NON_GCP_NETWORK_LOCATION", +"NO_SOURCE_INTERNET_LOCATION", +"INVALID_ARGUMENT", +"TRACE_TOO_LONG", +"INTERNAL_ERROR", +"UNSUPPORTED", +"MISMATCHED_IP_VERSION", +"GKE_KONNECTIVITY_PROXY_UNSUPPORTED", +"RESOURCE_CONFIG_NOT_FOUND", +"VM_INSTANCE_CONFIG_NOT_FOUND", +"NETWORK_CONFIG_NOT_FOUND", +"FIREWALL_CONFIG_NOT_FOUND", +"ROUTE_CONFIG_NOT_FOUND", +"GOOGLE_MANAGED_SERVICE_AMBIGUOUS_PSC_ENDPOINT", +"GOOGLE_MANAGED_SERVICE_AMBIGUOUS_ENDPOINT", +"SOURCE_PSC_CLOUD_SQL_UNSUPPORTED", +"SOURCE_EXTERNAL_CLOUD_SQL_UNSUPPORTED", +"SOURCE_REDIS_CLUSTER_UNSUPPORTED", +"SOURCE_REDIS_INSTANCE_UNSUPPORTED", +"SOURCE_FORWARDING_RULE_UNSUPPORTED", +"NON_ROUTABLE_IP_ADDRESS", +"UNKNOWN_ISSUE_IN_GOOGLE_MANAGED_PROJECT", +"UNSUPPORTED_GOOGLE_MANAGED_PROJECT_CONFIG", +"NO_SERVERLESS_IP_RANGES", +"IP_VERSION_PROTOCOL_MISMATCH", +"GKE_POD_UNKNOWN_ENDPOINT_LOCATION" +], +"enumDeprecated": [ +false, +true, +true, +true, +true, +true, +true, +true, +true, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false +], +"enumDescriptions": [ +"Cause is unspecified.", +"Aborted due to unknown network. Deprecated, not used in the new tests.", +"Aborted because no project information can be derived from the test input. Deprecated, not used in the new tests.", +"Aborted because traffic is sent from a public IP to an instance without an external IP. Deprecated, not used in the new tests.", +"Aborted because none of the traces matches destination information specified in the input test request. Deprecated, not used in the new tests.", +"Aborted because the source endpoint could not be found. Deprecated, not used in the new tests.", +"Aborted because the source network does not match the source endpoint. Deprecated, not used in the new tests.", +"Aborted because the destination endpoint could not be found. Deprecated, not used in the new tests.", +"Aborted because the destination network does not match the destination endpoint. Deprecated, not used in the new tests.", +"Aborted because no endpoint with the packet's destination IP address is found.", +"Aborted because no endpoint with the packet's destination IP is found in the Google-managed project.", +"Aborted because the source IP address doesn't belong to any of the subnets of the source VPC network.", +"Aborted because user lacks permission to access all or part of the network configurations required to run the test.", +"Aborted because user lacks permission to access Cloud NAT configs required to run the test.", +"Aborted because user lacks permission to access Network endpoint group endpoint configs required to run the test.", +"Aborted because user lacks permission to access Cloud Router configs required to run the test.", +"Aborted because no valid source or destination endpoint can be derived from the test request.", +"Aborted because the source IP address is not contained within the subnet ranges of the provided VPC network.", +"Aborted because the source IP address is not contained within the destination ranges of the routes towards non-GCP networks in the provided VPC network.", +"Aborted because the source IP address can't be resolved as an Internet IP address.", +"Aborted because the source or destination endpoint specified in the request is invalid. Some examples: - The request might contain malformed resource URI, project ID, or IP address. - The request might contain inconsistent information (for example, the request might include both the instance and the network, but the instance might not have a NIC in that network).", +"Aborted because the number of steps in the trace exceeds a certain limit. It might be caused by a routing loop.", +"Aborted due to internal server error.", +"Aborted because the test scenario is not supported.", +"Aborted because the source and destination resources have no common IP version.", +"Aborted because the connection between the control plane and the node of the source cluster is initiated by the node and managed by the Konnectivity proxy.", +"Aborted because expected resource configuration was missing.", +"Aborted because expected VM instance configuration was missing.", +"Aborted because expected network configuration was missing.", +"Aborted because expected firewall configuration was missing.", +"Aborted because expected route configuration was missing.", +"Aborted because PSC endpoint selection for the Google-managed service is ambiguous (several PSC endpoints satisfy test input).", +"Aborted because endpoint selection for the Google-managed service is ambiguous (several endpoints satisfy test input).", +"Aborted because tests with a PSC-based Cloud SQL instance as a source are not supported.", +"Aborted because tests with the external database as a source are not supported. In such replication scenarios, the connection is initiated by the Cloud SQL replica instance.", +"Aborted because tests with a Redis Cluster as a source are not supported.", +"Aborted because tests with a Redis Instance as a source are not supported.", +"Aborted because tests with a forwarding rule as a source are not supported.", +"Aborted because one of the endpoints is a non-routable IP address (loopback, link-local, etc).", +"Aborted due to an unknown issue in the Google-managed project.", +"Aborted due to an unsupported configuration of the Google-managed project.", +"Aborted because the source endpoint is a Cloud Run revision with direct VPC access enabled, but there are no reserved serverless IP ranges.", +"Aborted because the used protocol is not supported for the used IP version.", +"Aborted because selected GKE Pod endpoint location is unknown. This is often the case for \"Pending\" Pods, which don't have assigned IP addresses yet." +], +"type": "string" +}, +"ipAddress": { +"description": "IP address that caused the abort.", +"type": "string" +}, +"projectsMissingPermission": { +"description": "List of project IDs the user specified in the request but lacks access to. In this case, analysis is aborted with the PERMISSION_DENIED cause.", +"items": { +"type": "string" +}, +"type": "array" +}, +"resourceUri": { +"description": "URI of the resource that caused the abort.", +"type": "string" +} +}, +"type": "object" +}, +"AppEngineVersionEndpoint": { +"description": "Wrapper for the App Engine service version attributes.", +"id": "AppEngineVersionEndpoint", +"properties": { +"uri": { +"description": "An [App Engine](https://cloud.google.com/appengine) [service version](https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions) name.", +"type": "string" +} +}, +"type": "object" +}, +"AppEngineVersionInfo": { +"description": "For display only. Metadata associated with an App Engine version.", +"id": "AppEngineVersionInfo", +"properties": { +"displayName": { +"description": "Name of an App Engine version.", +"type": "string" +}, +"environment": { +"description": "App Engine execution environment for a version.", +"type": "string" +}, +"runtime": { +"description": "Runtime of the App Engine version.", +"type": "string" +}, +"uri": { +"description": "URI of an App Engine version.", +"type": "string" +} +}, +"type": "object" +}, +"AuditConfig": { +"description": "Specifies the audit configuration for a service. The configuration determines which permission types are logged, and what identities, if any, are exempted from logging. An AuditConfig must have one or more AuditLogConfigs. If there are AuditConfigs for both `allServices` and a specific service, the union of the two AuditConfigs is used for that service: the log_types specified in each AuditConfig are enabled, and the exempted_members in each AuditLogConfig are exempted. Example Policy with multiple AuditConfigs: { \"audit_configs\": [ { \"service\": \"allServices\", \"audit_log_configs\": [ { \"log_type\": \"DATA_READ\", \"exempted_members\": [ \"user:jose@example.com\" ] }, { \"log_type\": \"DATA_WRITE\" }, { \"log_type\": \"ADMIN_READ\" } ] }, { \"service\": \"sampleservice.googleapis.com\", \"audit_log_configs\": [ { \"log_type\": \"DATA_READ\" }, { \"log_type\": \"DATA_WRITE\", \"exempted_members\": [ \"user:aliya@example.com\" ] } ] } ] } For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also exempts `jose@example.com` from DATA_READ logging, and `aliya@example.com` from DATA_WRITE logging.", +"id": "AuditConfig", +"properties": { +"auditLogConfigs": { +"description": "The configuration for logging of each type of permission.", +"items": { +"$ref": "AuditLogConfig" +}, +"type": "array" +}, +"service": { +"description": "Specifies a service that will be enabled for audit logging. For example, `storage.googleapis.com`, `cloudsql.googleapis.com`. `allServices` is a special value that covers all services.", +"type": "string" +} +}, +"type": "object" +}, +"AuditLogConfig": { +"description": "Provides the configuration for logging a type of permissions. Example: { \"audit_log_configs\": [ { \"log_type\": \"DATA_READ\", \"exempted_members\": [ \"user:jose@example.com\" ] }, { \"log_type\": \"DATA_WRITE\" } ] } This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting jose@example.com from DATA_READ logging.", +"id": "AuditLogConfig", +"properties": { +"exemptedMembers": { +"description": "Specifies the identities that do not cause logging for this type of permission. Follows the same format of Binding.members.", +"items": { +"type": "string" +}, +"type": "array" +}, +"logType": { +"description": "The log type that this config enables.", +"enum": [ +"LOG_TYPE_UNSPECIFIED", +"ADMIN_READ", +"DATA_WRITE", +"DATA_READ" +], +"enumDescriptions": [ +"Default case. Should never be this.", +"Admin reads. Example: CloudIAM getIamPolicy", +"Data writes. Example: CloudSQL Users create", +"Data reads. Example: CloudSQL Users list" +], +"type": "string" +} +}, +"type": "object" +}, +"Binding": { +"description": "Associates `members`, or principals, with a `role`.", +"id": "Binding", +"properties": { +"condition": { +"$ref": "Expr", +"description": "The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies)." +}, +"members": { +"description": "Specifies the principals requesting access for a Google Cloud resource. `members` can have the following values: * `allUsers`: A special identifier that represents anyone who is on the internet; with or without a Google account. * `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service account. Does not include identities that come from external identity providers (IdPs) through identity federation. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `group:{emailid}`: An email address that represents a Google group. For example, `admins@example.com`. * `domain:{domain}`: The G Suite domain (primary) that represents all the users of that domain. For example, `google.com` or `example.com`. * `principal://iam.googleapis.com/locations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}`: A single identity in a workforce identity pool. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/group/{group_id}`: All workforce identities in a group. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/attribute.{attribute_name}/{attribute_value}`: All workforce identities with a specific attribute value. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/*`: All identities in a workforce identity pool. * `principal://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/subject/{subject_attribute_value}`: A single identity in a workload identity pool. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/group/{group_id}`: A workload identity pool group. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/attribute.{attribute_name}/{attribute_value}`: All identities in a workload identity pool with a certain attribute. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/*`: All identities in a workload identity pool. * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a user that has been recently deleted. For example, `alice@example.com?uid=123456789012345678901`. If the user is recovered, this value reverts to `user:{emailid}` and the recovered user retains the role in the binding. * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a service account that has been recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the service account is undeleted, this value reverts to `serviceAccount:{emailid}` and the undeleted service account retains the role in the binding. * `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a Google group that has been recently deleted. For example, `admins@example.com?uid=123456789012345678901`. If the group is recovered, this value reverts to `group:{emailid}` and the recovered group retains the role in the binding. * `deleted:principal://iam.googleapis.com/locations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}`: Deleted single identity in a workforce identity pool. For example, `deleted:principal://iam.googleapis.com/locations/global/workforcePools/my-pool-id/subject/my-subject-attribute-value`.", +"items": { +"type": "string" +}, +"type": "array" +}, +"role": { +"description": "Role that is assigned to the list of `members`, or principals. For example, `roles/viewer`, `roles/editor`, or `roles/owner`. For an overview of the IAM roles and permissions, see the [IAM documentation](https://cloud.google.com/iam/docs/roles-overview). For a list of the available pre-defined roles, see [here](https://cloud.google.com/iam/docs/understanding-roles).", +"type": "string" +} +}, +"type": "object" +}, +"CancelOperationRequest": { +"description": "The request message for Operations.CancelOperation.", +"id": "CancelOperationRequest", +"properties": {}, +"type": "object" +}, +"CloudFunctionEndpoint": { +"description": "Wrapper for Cloud Function attributes.", +"id": "CloudFunctionEndpoint", +"properties": { +"uri": { +"description": "A [Cloud Function](https://cloud.google.com/functions) name.", +"type": "string" +} +}, +"type": "object" +}, +"CloudFunctionInfo": { +"description": "For display only. Metadata associated with a Cloud Function.", +"id": "CloudFunctionInfo", +"properties": { +"displayName": { +"description": "Name of a Cloud Function.", +"type": "string" +}, +"location": { +"description": "Location in which the Cloud Function is deployed.", +"type": "string" +}, +"uri": { +"description": "URI of a Cloud Function.", +"type": "string" +}, +"versionId": { +"description": "Latest successfully deployed version id of the Cloud Function.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"CloudRunRevisionEndpoint": { +"description": "Wrapper for Cloud Run revision attributes.", +"id": "CloudRunRevisionEndpoint", +"properties": { +"serviceUri": { +"description": "Output only. The URI of the Cloud Run service that the revision belongs to. The format is: projects/{project}/locations/{location}/services/{service}", +"readOnly": true, +"type": "string" +}, +"uri": { +"description": "A [Cloud Run](https://cloud.google.com/run) [revision](https://cloud.google.com/run/docs/reference/rest/v1/namespaces.revisions/get) URI. The format is: projects/{project}/locations/{location}/revisions/{revision}", +"type": "string" +} +}, +"type": "object" +}, +"CloudRunRevisionInfo": { +"description": "For display only. Metadata associated with a Cloud Run revision.", +"id": "CloudRunRevisionInfo", +"properties": { +"displayName": { +"description": "Name of a Cloud Run revision.", +"type": "string" +}, +"location": { +"description": "Location in which this revision is deployed.", +"type": "string" +}, +"serviceUri": { +"description": "URI of Cloud Run service this revision belongs to.", +"type": "string" +}, +"uri": { +"description": "URI of a Cloud Run revision.", +"type": "string" +} +}, +"type": "object" +}, +"CloudSQLInstanceInfo": { +"description": "For display only. Metadata associated with a Cloud SQL instance.", +"id": "CloudSQLInstanceInfo", +"properties": { +"displayName": { +"description": "Name of a Cloud SQL instance.", +"type": "string" +}, +"externalIp": { +"description": "External IP address of a Cloud SQL instance.", +"type": "string" +}, +"internalIp": { +"description": "Internal IP address of a Cloud SQL instance.", +"type": "string" +}, +"networkUri": { +"description": "URI of a Cloud SQL instance network or empty string if the instance does not have one.", +"type": "string" +}, +"region": { +"description": "Region in which the Cloud SQL instance is running.", +"type": "string" +}, +"uri": { +"description": "URI of a Cloud SQL instance.", +"type": "string" +} +}, +"type": "object" +}, +"ConnectivityTest": { +"description": "A Connectivity Test for a network reachability analysis.", +"id": "ConnectivityTest", +"properties": { +"bypassFirewallChecks": { +"description": "Whether the analysis should skip firewall checking. Default value is false.", +"type": "boolean" +}, +"createTime": { +"description": "Output only. The time the test was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"description": { +"description": "The user-supplied description of the Connectivity Test. Maximum of 512 characters.", +"type": "string" +}, +"destination": { +"$ref": "Endpoint", +"description": "Required. Destination specification of the Connectivity Test. You can use a combination of destination IP address, URI of a supported endpoint, project ID, or VPC network to identify the destination location. Reachability analysis proceeds even if the destination location is ambiguous. However, the test result might include endpoints or use a destination that you don't intend to test." +}, +"displayName": { +"description": "Output only. The display name of a Connectivity Test.", +"readOnly": true, +"type": "string" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Resource labels to represent user-provided metadata.", +"type": "object" +}, +"name": { +"description": "Identifier. Unique name of the resource using the form: `projects/{project_id}/locations/global/connectivityTests/{test_id}`", +"type": "string" +}, +"probingDetails": { +"$ref": "ProbingDetails", +"description": "Output only. The probing details of this test from the latest run, present for applicable tests only. The details are updated when creating a new test, updating an existing test, or triggering a one-time rerun of an existing test.", +"readOnly": true +}, +"protocol": { +"description": "IP Protocol of the test. When not provided, \"TCP\" is assumed.", +"type": "string" +}, +"reachabilityDetails": { +"$ref": "ReachabilityDetails", +"description": "Output only. The reachability details of this test from the latest run. The details are updated when creating a new test, updating an existing test, or triggering a one-time rerun of an existing test.", +"readOnly": true +}, +"relatedProjects": { +"description": "Other projects that may be relevant for reachability analysis. This is applicable to scenarios where a test can cross project boundaries.", +"items": { +"type": "string" +}, +"type": "array" +}, +"returnReachabilityDetails": { +"$ref": "ReachabilityDetails", +"description": "Output only. The reachability details of this test from the latest run for the return path. The details are updated when creating a new test, updating an existing test, or triggering a one-time rerun of an existing test.", +"readOnly": true +}, +"roundTrip": { +"description": "Whether run analysis for the return path from destination to source. Default value is false.", +"type": "boolean" +}, +"source": { +"$ref": "Endpoint", +"description": "Required. Source specification of the Connectivity Test. You can use a combination of source IP address, URI of a supported endpoint, project ID, or VPC network to identify the source location. Reachability analysis might proceed even if the source location is ambiguous. However, the test result might include endpoints or use a source that you don't intend to test." +}, +"updateTime": { +"description": "Output only. The time the test's configuration was updated.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"DeliverInfo": { +"description": "Details of the final state \"deliver\" and associated resource.", +"id": "DeliverInfo", +"properties": { +"googleServiceType": { +"description": "Recognized type of a Google Service the packet is delivered to (if applicable).", +"enum": [ +"GOOGLE_SERVICE_TYPE_UNSPECIFIED", +"IAP", +"GFE_PROXY_OR_HEALTH_CHECK_PROBER", +"CLOUD_DNS", +"PRIVATE_GOOGLE_ACCESS", +"SERVERLESS_VPC_ACCESS" +], +"enumDescriptions": [ +"Unspecified Google Service.", +"Identity aware proxy. https://cloud.google.com/iap/docs/using-tcp-forwarding", +"One of two services sharing IP ranges: * Load Balancer proxy * Centralized Health Check prober https://cloud.google.com/load-balancing/docs/firewall-rules", +"Connectivity from Cloud DNS to forwarding targets or alternate name servers that use private routing. https://cloud.google.com/dns/docs/zones/forwarding-zones#firewall-rules https://cloud.google.com/dns/docs/policies#firewall-rules", +"private.googleapis.com and restricted.googleapis.com", +"Google API via Private Service Connect. https://cloud.google.com/vpc/docs/configure-private-service-connect-apis Google API via Serverless VPC Access. https://cloud.google.com/vpc/docs/serverless-vpc-access" +], +"type": "string" +}, +"ipAddress": { +"description": "IP address of the target (if applicable).", +"type": "string" +}, +"pscGoogleApiTarget": { +"description": "PSC Google API target the packet is delivered to (if applicable).", +"type": "string" +}, +"resourceUri": { +"description": "URI of the resource that the packet is delivered to.", +"type": "string" +}, +"storageBucket": { +"description": "Name of the Cloud Storage Bucket the packet is delivered to (if applicable).", +"type": "string" +}, +"target": { +"description": "Target type where the packet is delivered to.", +"enum": [ +"TARGET_UNSPECIFIED", +"INSTANCE", +"INTERNET", +"GOOGLE_API", +"GKE_MASTER", +"CLOUD_SQL_INSTANCE", +"PSC_PUBLISHED_SERVICE", +"PSC_GOOGLE_API", +"PSC_VPC_SC", +"SERVERLESS_NEG", +"STORAGE_BUCKET", +"PRIVATE_NETWORK", +"CLOUD_FUNCTION", +"APP_ENGINE_VERSION", +"CLOUD_RUN_REVISION", +"GOOGLE_MANAGED_SERVICE", +"REDIS_INSTANCE", +"REDIS_CLUSTER", +"GKE_POD" +], +"enumDescriptions": [ +"Target not specified.", +"Target is a Compute Engine instance.", +"Target is the internet.", +"Target is a Google API.", +"Target is a Google Kubernetes Engine cluster master.", +"Target is a Cloud SQL instance.", +"Target is a published service that uses [Private Service Connect](https://cloud.google.com/vpc/docs/configure-private-service-connect-services).", +"Target is Google APIs that use [Private Service Connect](https://cloud.google.com/vpc/docs/configure-private-service-connect-apis).", +"Target is a VPC-SC that uses [Private Service Connect](https://cloud.google.com/vpc/docs/configure-private-service-connect-apis).", +"Target is a serverless network endpoint group.", +"Target is a Cloud Storage bucket.", +"Target is a private network. Used only for return traces.", +"Target is a Cloud Function. Used only for return traces.", +"Target is a App Engine service version. Used only for return traces.", +"Target is a Cloud Run revision. Used only for return traces.", +"Target is a Google-managed service. Used only for return traces.", +"Target is a Redis Instance.", +"Target is a Redis Cluster.", +"Target is a GKE Pod." +], +"type": "string" +} +}, +"type": "object" +}, +"DirectVpcEgressConnectionInfo": { +"description": "For display only. Metadata associated with a serverless direct VPC egress connection.", +"id": "DirectVpcEgressConnectionInfo", +"properties": { +"networkUri": { +"description": "URI of direct access network.", +"type": "string" +}, +"region": { +"description": "Region in which the Direct VPC egress is deployed.", +"type": "string" +}, +"selectedIpAddress": { +"description": "Selected starting IP address, from the selected IP range.", +"type": "string" +}, +"selectedIpRange": { +"description": "Selected IP range.", +"type": "string" +}, +"subnetworkUri": { +"description": "URI of direct access subnetwork.", +"type": "string" +} +}, +"type": "object" +}, +"DropInfo": { +"description": "Details of the final state \"drop\" and associated resource.", +"id": "DropInfo", +"properties": { +"cause": { +"description": "Cause that the packet is dropped.", +"enum": [ +"CAUSE_UNSPECIFIED", +"UNKNOWN_EXTERNAL_ADDRESS", +"FOREIGN_IP_DISALLOWED", +"FIREWALL_RULE", +"NO_ROUTE", +"ROUTE_BLACKHOLE", +"ROUTE_WRONG_NETWORK", +"ROUTE_NEXT_HOP_IP_ADDRESS_NOT_RESOLVED", +"ROUTE_NEXT_HOP_RESOURCE_NOT_FOUND", +"ROUTE_NEXT_HOP_INSTANCE_WRONG_NETWORK", +"ROUTE_NEXT_HOP_INSTANCE_NON_PRIMARY_IP", +"ROUTE_NEXT_HOP_FORWARDING_RULE_IP_MISMATCH", +"ROUTE_NEXT_HOP_VPN_TUNNEL_NOT_ESTABLISHED", +"ROUTE_NEXT_HOP_FORWARDING_RULE_TYPE_INVALID", +"NO_ROUTE_FROM_INTERNET_TO_PRIVATE_IPV6_ADDRESS", +"NO_ROUTE_FROM_INTERNET_TO_PRIVATE_IPV4_ADDRESS", +"NO_ROUTE_FROM_EXTERNAL_IPV6_SOURCE_TO_PRIVATE_IPV6_ADDRESS", +"VPN_TUNNEL_LOCAL_SELECTOR_MISMATCH", +"VPN_TUNNEL_REMOTE_SELECTOR_MISMATCH", +"PRIVATE_TRAFFIC_TO_INTERNET", +"PRIVATE_GOOGLE_ACCESS_DISALLOWED", +"PRIVATE_GOOGLE_ACCESS_VIA_VPN_TUNNEL_UNSUPPORTED", +"NO_EXTERNAL_ADDRESS", +"UNKNOWN_INTERNAL_ADDRESS", +"FORWARDING_RULE_MISMATCH", +"FORWARDING_RULE_NO_INSTANCES", +"FIREWALL_BLOCKING_LOAD_BALANCER_BACKEND_HEALTH_CHECK", +"INGRESS_FIREWALL_TAGS_UNSUPPORTED_BY_DIRECT_VPC_EGRESS", +"INSTANCE_NOT_RUNNING", +"GKE_CLUSTER_NOT_RUNNING", +"GKE_POD_NOT_RUNNING", +"CLOUD_SQL_INSTANCE_NOT_RUNNING", +"REDIS_INSTANCE_NOT_RUNNING", +"REDIS_CLUSTER_NOT_RUNNING", +"TRAFFIC_TYPE_BLOCKED", +"GKE_MASTER_UNAUTHORIZED_ACCESS", +"CLOUD_SQL_INSTANCE_UNAUTHORIZED_ACCESS", +"DROPPED_INSIDE_GKE_SERVICE", +"DROPPED_INSIDE_CLOUD_SQL_SERVICE", +"GOOGLE_MANAGED_SERVICE_NO_PEERING", +"GOOGLE_MANAGED_SERVICE_NO_PSC_ENDPOINT", +"GKE_PSC_ENDPOINT_MISSING", +"CLOUD_SQL_INSTANCE_NO_IP_ADDRESS", +"GKE_CONTROL_PLANE_REGION_MISMATCH", +"PUBLIC_GKE_CONTROL_PLANE_TO_PRIVATE_DESTINATION", +"GKE_CONTROL_PLANE_NO_ROUTE", +"CLOUD_SQL_INSTANCE_NOT_CONFIGURED_FOR_EXTERNAL_TRAFFIC", +"PUBLIC_CLOUD_SQL_INSTANCE_TO_PRIVATE_DESTINATION", +"CLOUD_SQL_INSTANCE_NO_ROUTE", +"CLOUD_SQL_CONNECTOR_REQUIRED", +"CLOUD_FUNCTION_NOT_ACTIVE", +"VPC_CONNECTOR_NOT_SET", +"VPC_CONNECTOR_NOT_RUNNING", +"VPC_CONNECTOR_SERVERLESS_TRAFFIC_BLOCKED", +"VPC_CONNECTOR_HEALTH_CHECK_TRAFFIC_BLOCKED", +"FORWARDING_RULE_REGION_MISMATCH", +"PSC_CONNECTION_NOT_ACCEPTED", +"PSC_ENDPOINT_ACCESSED_FROM_PEERED_NETWORK", +"PSC_NEG_PRODUCER_ENDPOINT_NO_GLOBAL_ACCESS", +"PSC_NEG_PRODUCER_FORWARDING_RULE_MULTIPLE_PORTS", +"CLOUD_SQL_PSC_NEG_UNSUPPORTED", +"NO_NAT_SUBNETS_FOR_PSC_SERVICE_ATTACHMENT", +"PSC_TRANSITIVITY_NOT_PROPAGATED", +"HYBRID_NEG_NON_DYNAMIC_ROUTE_MATCHED", +"HYBRID_NEG_NON_LOCAL_DYNAMIC_ROUTE_MATCHED", +"CLOUD_RUN_REVISION_NOT_READY", +"DROPPED_INSIDE_PSC_SERVICE_PRODUCER", +"LOAD_BALANCER_HAS_NO_PROXY_SUBNET", +"CLOUD_NAT_NO_ADDRESSES", +"ROUTING_LOOP", +"DROPPED_INSIDE_GOOGLE_MANAGED_SERVICE", +"LOAD_BALANCER_BACKEND_INVALID_NETWORK", +"BACKEND_SERVICE_NAMED_PORT_NOT_DEFINED", +"DESTINATION_IS_PRIVATE_NAT_IP_RANGE", +"DROPPED_INSIDE_REDIS_INSTANCE_SERVICE", +"REDIS_INSTANCE_UNSUPPORTED_PORT", +"REDIS_INSTANCE_CONNECTING_FROM_PUPI_ADDRESS", +"REDIS_INSTANCE_NO_ROUTE_TO_DESTINATION_NETWORK", +"REDIS_INSTANCE_NO_EXTERNAL_IP", +"REDIS_INSTANCE_UNSUPPORTED_PROTOCOL", +"DROPPED_INSIDE_REDIS_CLUSTER_SERVICE", +"REDIS_CLUSTER_UNSUPPORTED_PORT", +"REDIS_CLUSTER_NO_EXTERNAL_IP", +"REDIS_CLUSTER_UNSUPPORTED_PROTOCOL", +"NO_ADVERTISED_ROUTE_TO_GCP_DESTINATION", +"NO_TRAFFIC_SELECTOR_TO_GCP_DESTINATION", +"NO_KNOWN_ROUTE_FROM_PEERED_NETWORK_TO_DESTINATION", +"PRIVATE_NAT_TO_PSC_ENDPOINT_UNSUPPORTED", +"PSC_PORT_MAPPING_PORT_MISMATCH", +"PSC_PORT_MAPPING_WITHOUT_PSC_CONNECTION_UNSUPPORTED", +"UNSUPPORTED_ROUTE_MATCHED_FOR_NAT64_DESTINATION", +"TRAFFIC_FROM_HYBRID_ENDPOINT_TO_INTERNET_DISALLOWED", +"NO_MATCHING_NAT64_GATEWAY", +"NO_CONFIGURED_PRIVATE_NAT64_RULE", +"LOAD_BALANCER_BACKEND_IP_VERSION_MISMATCH", +"NO_KNOWN_ROUTE_FROM_NCC_NETWORK_TO_DESTINATION", +"CLOUD_NAT_PROTOCOL_UNSUPPORTED", +"L2_INTERCONNECT_UNSUPPORTED_PROTOCOL", +"L2_INTERCONNECT_UNSUPPORTED_PORT", +"L2_INTERCONNECT_DESTINATION_IP_MISMATCH", +"NCC_ROUTE_WITHIN_HYBRID_SUBNET_UNSUPPORTED", +"HYBRID_SUBNET_REGION_MISMATCH", +"HYBRID_SUBNET_NO_ROUTE", +"NO_VALID_ROUTE_FROM_GOOGLE_MANAGED_NETWORK_TO_DESTINATION" +], +"enumDescriptions": [ +"Cause is unspecified.", +"Destination external address cannot be resolved to a known target. If the address is used in a Google Cloud project, provide the project ID as test input.", +"A Compute Engine instance can only send or receive a packet with a foreign IP address if ip_forward is enabled.", +"Dropped due to a firewall rule, unless allowed due to connection tracking.", +"Dropped due to no matching routes.", +"Dropped due to invalid route. Route's next hop is a blackhole.", +"Packet is sent to a wrong (unintended) network. Example: you trace a packet from VM1:Network1 to VM2:Network2, however, the route configured in Network1 sends the packet destined for VM2's IP address to Network3.", +"Route's next hop IP address cannot be resolved to a GCP resource.", +"Route's next hop resource is not found.", +"Route's next hop instance doesn't have a NIC in the route's network.", +"Route's next hop IP address is not a primary IP address of the next hop instance.", +"Route's next hop forwarding rule doesn't match next hop IP address.", +"Route's next hop VPN tunnel is down (does not have valid IKE SAs).", +"Route's next hop forwarding rule type is invalid (it's not a forwarding rule of the internal passthrough load balancer).", +"Packet is sent from the Internet to the private IPv6 address.", +"Packet is sent from the Internet to the private IPv4 address.", +"Packet is sent from the external IPv6 source address of an instance to the private IPv6 address of an instance.", +"The packet does not match a policy-based VPN tunnel local selector.", +"The packet does not match a policy-based VPN tunnel remote selector.", +"Packet with internal destination address sent to the internet gateway.", +"Endpoint with only an internal IP address tries to access Google API and services, but Private Google Access is not enabled in the subnet or is not applicable.", +"Source endpoint tries to access Google API and services through the VPN tunnel to another network, but Private Google Access needs to be enabled in the source endpoint network.", +"Endpoint with only an internal IP address tries to access external hosts, but there is no matching Cloud NAT gateway in the subnet.", +"Destination internal address cannot be resolved to a known target. If this is a shared VPC scenario, verify if the service project ID is provided as test input. Otherwise, verify if the IP address is being used in the project.", +"Forwarding rule's protocol and ports do not match the packet header.", +"Forwarding rule does not have backends configured.", +"Firewalls block the health check probes to the backends and cause the backends to be unavailable for traffic from the load balancer. For more details, see [Health check firewall rules](https://cloud.google.com/load-balancing/docs/health-checks#firewall_rules).", +"Matching ingress firewall rules by network tags for packets sent via serverless VPC direct egress is unsupported. Behavior is undefined. https://cloud.google.com/run/docs/configuring/vpc-direct-vpc#limitations", +"Packet is sent from or to a Compute Engine instance that is not in a running state.", +"Packet sent from or to a GKE cluster that is not in running state.", +"Packet sent from or to a GKE Pod that is not in running state.", +"Packet sent from or to a Cloud SQL instance that is not in running state.", +"Packet sent from or to a Redis Instance that is not in running state.", +"Packet sent from or to a Redis Cluster that is not in running state.", +"The type of traffic is blocked and the user cannot configure a firewall rule to enable it. See [Always blocked traffic](https://cloud.google.com/vpc/docs/firewalls#blockedtraffic) for more details.", +"Access to Google Kubernetes Engine cluster master's endpoint is not authorized. See [Access to the cluster endpoints](https://cloud.google.com/kubernetes-engine/docs/how-to/private-clusters#access_to_the_cluster_endpoints) for more details.", +"Access to the Cloud SQL instance endpoint is not authorized. See [Authorizing with authorized networks](https://cloud.google.com/sql/docs/mysql/authorize-networks) for more details.", +"Packet was dropped inside Google Kubernetes Engine Service.", +"Packet was dropped inside Cloud SQL Service.", +"Packet was dropped because there is no peering between the originating network and the Google Managed Services Network.", +"Packet was dropped because the Google-managed service uses Private Service Connect (PSC), but the PSC endpoint is not found in the project.", +"Packet was dropped because the GKE cluster uses Private Service Connect (PSC), but the PSC endpoint is not found in the project.", +"Packet was dropped because the Cloud SQL instance has neither a private nor a public IP address.", +"Packet was dropped because a GKE cluster private endpoint is unreachable from a region different from the cluster's region.", +"Packet sent from a public GKE cluster control plane to a private IP address.", +"Packet was dropped because there is no route from a GKE cluster control plane to a destination network.", +"Packet sent from a Cloud SQL instance to an external IP address is not allowed. The Cloud SQL instance is not configured to send packets to external IP addresses.", +"Packet sent from a Cloud SQL instance with only a public IP address to a private IP address.", +"Packet was dropped because there is no route from a Cloud SQL instance to a destination network.", +"Packet was dropped because the Cloud SQL instance requires all connections to use Cloud SQL connectors and to target the Cloud SQL proxy port (3307).", +"Packet could be dropped because the Cloud Function is not in an active status.", +"Packet could be dropped because no VPC connector is set.", +"Packet could be dropped because the VPC connector is not in a running state.", +"Packet could be dropped because the traffic from the serverless service to the VPC connector is not allowed.", +"Packet could be dropped because the health check traffic to the VPC connector is not allowed.", +"Packet could be dropped because it was sent from a different region to a regional forwarding without global access.", +"The Private Service Connect endpoint is in a project that is not approved to connect to the service.", +"The packet is sent to the Private Service Connect endpoint over the peering, but [it's not supported](https://cloud.google.com/vpc/docs/configure-private-service-connect-services#on-premises).", +"The packet is sent to the Private Service Connect backend (network endpoint group), but the producer PSC forwarding rule does not have global access enabled.", +"The packet is sent to the Private Service Connect backend (network endpoint group), but the producer PSC forwarding rule has multiple ports specified.", +"The packet is sent to the Private Service Connect backend (network endpoint group) targeting a Cloud SQL service attachment, but this configuration is not supported.", +"No NAT subnets are defined for the PSC service attachment.", +"PSC endpoint is accessed via NCC, but PSC transitivity configuration is not yet propagated.", +"The packet sent from the hybrid NEG proxy matches a non-dynamic route, but such a configuration is not supported.", +"The packet sent from the hybrid NEG proxy matches a dynamic route with a next hop in a different region, but such a configuration is not supported.", +"Packet sent from a Cloud Run revision that is not ready.", +"Packet was dropped inside Private Service Connect service producer.", +"Packet sent to a load balancer, which requires a proxy-only subnet and the subnet is not found.", +"Packet sent to Cloud Nat without active NAT IPs.", +"Packet is stuck in a routing loop.", +"Packet is dropped inside a Google-managed service due to being delivered in return trace to an endpoint that doesn't match the endpoint the packet was sent from in forward trace. Used only for return traces.", +"Packet is dropped due to a load balancer backend instance not having a network interface in the network expected by the load balancer.", +"Packet is dropped due to a backend service named port not being defined on the instance group level.", +"Packet is dropped due to a destination IP range being part of a Private NAT IP range.", +"Generic drop cause for a packet being dropped inside a Redis Instance service project.", +"Packet is dropped due to an unsupported port being used to connect to a Redis Instance. Port 6379 should be used to connect to a Redis Instance.", +"Packet is dropped due to connecting from PUPI address to a PSA based Redis Instance.", +"Packet is dropped due to no route to the destination network.", +"Redis Instance does not have an external IP address.", +"Packet is dropped due to an unsupported protocol being used to connect to a Redis Instance. Only TCP connections are accepted by a Redis Instance.", +"Generic drop cause for a packet being dropped inside a Redis Cluster service project.", +"Packet is dropped due to an unsupported port being used to connect to a Redis Cluster. Ports 6379 and 11000 to 13047 should be used to connect to a Redis Cluster.", +"Redis Cluster does not have an external IP address.", +"Packet is dropped due to an unsupported protocol being used to connect to a Redis Cluster. Only TCP connections are accepted by a Redis Cluster.", +"Packet from the non-GCP (on-prem) or unknown GCP network is dropped due to the destination IP address not belonging to any IP prefix advertised via BGP by the Cloud Router.", +"Packet from the non-GCP (on-prem) or unknown GCP network is dropped due to the destination IP address not belonging to any IP prefix included to the local traffic selector of the VPN tunnel.", +"Packet from the unknown peered network is dropped due to no known route from the source network to the destination IP address.", +"Sending packets processed by the Private NAT Gateways to the Private Service Connect endpoints is not supported.", +"Packet is sent to the PSC port mapping service, but its destination port does not match any port mapping rules.", +"Sending packets directly to the PSC port mapping service without going through the PSC connection is not supported.", +"Packet with destination IP address within the reserved NAT64 range is dropped due to matching a route of an unsupported type.", +"Packet could be dropped because hybrid endpoint like a VPN gateway or Interconnect is not allowed to send traffic to the Internet.", +"Packet with destination IP address within the reserved NAT64 range is dropped due to no matching NAT gateway in the subnet.", +"Packet is dropped due to matching a Private NAT64 gateway with no rules for source IPv6 addresses.", +"Packet is dropped due to being sent to a backend of a passthrough load balancer that doesn't use the same IP version as the frontend.", +"Packet from the unknown NCC network is dropped due to no known route from the source network to the destination IP address.", +"Packet is dropped by Cloud NAT due to using an unsupported protocol.", +"Packet is dropped due to using an unsupported protocol (any other than UDP) for L2 Interconnect.", +"Packet is dropped due to using an unsupported port (any other than 6081) for L2 Interconnect.", +"Packet is dropped due to destination IP not matching the appliance mapping IPs configured on the L2 Interconnect attachment.", +"Packet could be dropped because it matches a route associated with an NCC spoke in the hybrid subnet context, but such a configuration is not supported.", +"Packet is dropped because the region of the hybrid subnet is different from the region of the next hop of the route matched within this hybrid subnet.", +"Packet is dropped because no matching route was found in the hybrid subnet.", +"Packet is dropped because there is no valid matching route from the network of the Google-managed service to the destination." +], +"type": "string" +}, +"destinationGeolocationCode": { +"description": "Geolocation (region code) of the destination IP address (if relevant).", +"type": "string" +}, +"destinationIp": { +"description": "Destination IP address of the dropped packet (if relevant).", +"type": "string" +}, +"region": { +"description": "Region of the dropped packet (if relevant).", +"type": "string" +}, +"resourceUri": { +"description": "URI of the resource that caused the drop.", +"type": "string" +}, +"sourceGeolocationCode": { +"description": "Geolocation (region code) of the source IP address (if relevant).", +"type": "string" +}, +"sourceIp": { +"description": "Source IP address of the dropped packet (if relevant).", +"type": "string" +} +}, +"type": "object" +}, +"EdgeLocation": { +"description": "Representation of a network edge location as per https://cloud.google.com/vpc/docs/edge-locations.", +"id": "EdgeLocation", +"properties": { +"metropolitanArea": { +"description": "Name of the metropolitan area.", +"type": "string" +} +}, +"type": "object" +}, +"EffectiveVpcFlowLogsConfig": { +"description": "A configuration to generate a response for GetEffectiveVpcFlowLogsConfig request.", +"id": "EffectiveVpcFlowLogsConfig", +"properties": { +"aggregationInterval": { +"description": "The aggregation interval for the logs. Default value is INTERVAL_5_SEC.", +"enum": [ +"AGGREGATION_INTERVAL_UNSPECIFIED", +"INTERVAL_5_SEC", +"INTERVAL_30_SEC", +"INTERVAL_1_MIN", +"INTERVAL_5_MIN", +"INTERVAL_10_MIN", +"INTERVAL_15_MIN" +], +"enumDescriptions": [ +"If not specified, will default to INTERVAL_5_SEC.", +"Aggregate logs in 5s intervals.", +"Aggregate logs in 30s intervals.", +"Aggregate logs in 1m intervals.", +"Aggregate logs in 5m intervals.", +"Aggregate logs in 10m intervals.", +"Aggregate logs in 15m intervals." +], +"type": "string" +}, +"crossProjectMetadata": { +"description": "Determines whether to include cross project annotations in the logs. This field is available only for organization configurations. If not specified in org configs will be set to CROSS_PROJECT_METADATA_ENABLED.", +"enum": [ +"CROSS_PROJECT_METADATA_UNSPECIFIED", +"CROSS_PROJECT_METADATA_ENABLED", +"CROSS_PROJECT_METADATA_DISABLED" +], +"enumDescriptions": [ +"If not specified, the default is CROSS_PROJECT_METADATA_ENABLED.", +"When CROSS_PROJECT_METADATA_ENABLED, metadata from other projects will be included in the logs.", +"When CROSS_PROJECT_METADATA_DISABLED, metadata from other projects will not be included in the logs." +], +"type": "string" +}, +"filterExpr": { +"description": "Export filter used to define which VPC Flow Logs should be logged.", +"type": "string" +}, +"flowSampling": { +"description": "The value of the field must be in (0, 1]. The sampling rate of VPC Flow Logs where 1.0 means all collected logs are reported. Setting the sampling rate to 0.0 is not allowed. If you want to disable VPC Flow Logs, use the state field instead. Default value is 1.0.", +"format": "float", +"type": "number" +}, +"interconnectAttachment": { +"description": "Traffic will be logged from the Interconnect Attachment. Format: projects/{project_id}/regions/{region}/interconnectAttachments/{name}", +"type": "string" +}, +"metadata": { +"description": "Configures whether all, none or a subset of metadata fields should be added to the reported VPC flow logs. Default value is INCLUDE_ALL_METADATA.", +"enum": [ +"METADATA_UNSPECIFIED", +"INCLUDE_ALL_METADATA", +"EXCLUDE_ALL_METADATA", +"CUSTOM_METADATA" +], +"enumDescriptions": [ +"If not specified, will default to INCLUDE_ALL_METADATA.", +"Include all metadata fields.", +"Exclude all metadata fields.", +"Include only custom fields (specified in metadata_fields)." +], +"type": "string" +}, +"metadataFields": { +"description": "Custom metadata fields to include in the reported VPC flow logs. Can only be specified if \"metadata\" was set to CUSTOM_METADATA.", +"items": { +"type": "string" +}, +"type": "array" +}, +"name": { +"description": "Unique name of the configuration. The name can have one of the following forms: - For project-level configurations: `projects/{project_id}/locations/global/vpcFlowLogsConfigs/{vpc_flow_logs_config_id}` - For organization-level configurations: `organizations/{organization_id}/locations/global/vpcFlowLogsConfigs/{vpc_flow_logs_config_id}` - For a Compute config, the name will be the path of the subnet: `projects/{project_id}/regions/{region}/subnetworks/{subnet_id}`", +"type": "string" +}, +"network": { +"description": "Traffic will be logged from VMs, VPN tunnels and Interconnect Attachments within the network. Format: projects/{project_id}/global/networks/{name}", +"type": "string" +}, +"scope": { +"description": "Specifies the scope of the config (e.g., SUBNET, NETWORK, ORGANIZATION..).", +"enum": [ +"SCOPE_UNSPECIFIED", +"SUBNET", +"COMPUTE_API_SUBNET", +"NETWORK", +"VPN_TUNNEL", +"INTERCONNECT_ATTACHMENT", +"ORGANIZATION" +], +"enumDescriptions": [ +"Scope is unspecified.", +"Target resource is a subnet (Network Management API).", +"Target resource is a subnet, and the config originates from the Compute API.", +"Target resource is a network.", +"Target resource is a VPN tunnel.", +"Target resource is an interconnect attachment.", +"Configuration applies to an entire organization." +], +"type": "string" +}, +"state": { +"description": "The state of the VPC Flow Log configuration. Default value is ENABLED. When creating a new configuration, it must be enabled. Setting state=DISABLED will pause the log generation for this config.", +"enum": [ +"STATE_UNSPECIFIED", +"ENABLED", +"DISABLED" +], +"enumDescriptions": [ +"If not specified, will default to ENABLED.", +"When ENABLED, this configuration will generate logs.", +"When DISABLED, this configuration will not generate logs." +], +"type": "string" +}, +"subnet": { +"description": "Traffic will be logged from VMs within the subnetwork. Format: projects/{project_id}/regions/{region}/subnetworks/{name}", +"type": "string" +}, +"vpnTunnel": { +"description": "Traffic will be logged from the VPN Tunnel. Format: projects/{project_id}/regions/{region}/vpnTunnels/{name}", +"type": "string" +} +}, +"type": "object" +}, +"Empty": { +"description": "A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }", +"id": "Empty", +"properties": {}, +"type": "object" +}, +"Endpoint": { +"description": "Source or destination of the Connectivity Test.", +"id": "Endpoint", +"properties": { +"appEngineVersion": { +"$ref": "AppEngineVersionEndpoint", +"description": "An [App Engine](https://cloud.google.com/appengine) [service version](https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions). Applicable only to source endpoint." +}, +"cloudFunction": { +"$ref": "CloudFunctionEndpoint", +"description": "A [Cloud Function](https://cloud.google.com/functions). Applicable only to source endpoint." +}, +"cloudRunRevision": { +"$ref": "CloudRunRevisionEndpoint", +"description": "A [Cloud Run](https://cloud.google.com/run) [revision](https://cloud.google.com/run/docs/reference/rest/v1/namespaces.revisions/get) Applicable only to source endpoint." +}, +"cloudSqlInstance": { +"description": "A [Cloud SQL](https://cloud.google.com/sql) instance URI.", +"type": "string" +}, +"forwardingRule": { +"description": "A forwarding rule and its corresponding IP address represent the frontend configuration of a Google Cloud load balancer. Forwarding rules are also used for protocol forwarding, Private Service Connect and other network services to provide forwarding information in the control plane. Applicable only to destination endpoint. Format: `projects/{project}/global/forwardingRules/{id}` or `projects/{project}/regions/{region}/forwardingRules/{id}`", +"type": "string" +}, +"forwardingRuleTarget": { +"description": "Output only. Specifies the type of the target of the forwarding rule.", +"enum": [ +"FORWARDING_RULE_TARGET_UNSPECIFIED", +"INSTANCE", +"LOAD_BALANCER", +"VPN_GATEWAY", +"PSC" +], +"enumDescriptions": [ +"Forwarding rule target is unknown.", +"Compute Engine instance for protocol forwarding.", +"Load Balancer. The specific type can be found from load_balancer_type.", +"Classic Cloud VPN Gateway.", +"Forwarding Rule is a Private Service Connect endpoint." +], +"readOnly": true, +"type": "string" +}, +"fqdn": { +"description": "DNS endpoint of [Google Kubernetes Engine cluster control plane](https://cloud.google.com/kubernetes-engine/docs/concepts/cluster-architecture). Requires gke_master_cluster to be set, can't be used simultaneoulsly with ip_address or network. Applicable only to destination endpoint.", +"type": "string" +}, +"gkeMasterCluster": { +"description": "A cluster URI for [Google Kubernetes Engine cluster control plane](https://cloud.google.com/kubernetes-engine/docs/concepts/cluster-architecture).", +"type": "string" +}, +"gkePod": { +"description": "A [GKE Pod](https://cloud.google.com/kubernetes-engine/docs/concepts/pod) URI.", +"type": "string" +}, +"instance": { +"description": "A Compute Engine instance URI.", +"type": "string" +}, +"ipAddress": { +"description": "The IP address of the endpoint, which can be an external or internal IP.", +"type": "string" +}, +"loadBalancerId": { +"description": "Output only. ID of the load balancer the forwarding rule points to. Empty for forwarding rules not related to load balancers.", +"readOnly": true, +"type": "string" +}, +"loadBalancerType": { +"description": "Output only. Type of the load balancer the forwarding rule points to.", +"enum": [ +"LOAD_BALANCER_TYPE_UNSPECIFIED", +"HTTPS_ADVANCED_LOAD_BALANCER", +"HTTPS_LOAD_BALANCER", +"REGIONAL_HTTPS_LOAD_BALANCER", +"INTERNAL_HTTPS_LOAD_BALANCER", +"SSL_PROXY_LOAD_BALANCER", +"TCP_PROXY_LOAD_BALANCER", +"INTERNAL_TCP_PROXY_LOAD_BALANCER", +"NETWORK_LOAD_BALANCER", +"LEGACY_NETWORK_LOAD_BALANCER", +"TCP_UDP_INTERNAL_LOAD_BALANCER" +], +"enumDescriptions": [ +"Forwarding rule points to a different target than a load balancer or a load balancer type is unknown.", +"Global external HTTP(S) load balancer.", +"Global external HTTP(S) load balancer (classic)", +"Regional external HTTP(S) load balancer.", +"Internal HTTP(S) load balancer.", +"External SSL proxy load balancer.", +"External TCP proxy load balancer.", +"Internal regional TCP proxy load balancer.", +"External TCP/UDP Network load balancer.", +"Target-pool based external TCP/UDP Network load balancer.", +"Internal TCP/UDP load balancer." +], +"readOnly": true, +"type": "string" +}, +"network": { +"description": "A VPC network URI. For source endpoints, used according to the `network_type`. For destination endpoints, used only when the source is an external IP address endpoint, and the destination is an internal IP address endpoint.", +"type": "string" +}, +"networkType": { +"description": "For source endpoints, type of the network where the endpoint is located. Not relevant for destination endpoints.", +"enum": [ +"NETWORK_TYPE_UNSPECIFIED", +"GCP_NETWORK", +"NON_GCP_NETWORK", +"INTERNET" +], +"enumDescriptions": [ +"Unspecified. The test will analyze all possible IP address locations. This might take longer and produce inaccurate or ambiguous results, so prefer specifying an explicit network type. The `project_id` field should be set to the project where the GCP endpoint is located, or where the non-GCP endpoint should be reachable from (via routes to non-GCP networks). The project might also be inferred from the Connectivity Test project or other projects referenced in the request.", +"A VPC network. Should be used for internal IP addresses in VPC networks. The `network` field should be set to the URI of this network. Only endpoints within this network will be considered.", +"A non-GCP network (for example, an on-premises network or another cloud provider network). Should be used for internal IP addresses outside of Google Cloud. The `network` field should be set to the URI of the VPC network containing a corresponding Cloud VPN tunnel, Cloud Interconnect VLAN attachment, or a router appliance instance. Only endpoints reachable from the provided VPC network via the routes to non-GCP networks will be considered.", +"Internet. Should be used for internet-routable external IP addresses or IP addresses for global Google APIs and services." +], +"type": "string" +}, +"port": { +"description": "The IP protocol port of the endpoint. Only applicable when protocol is TCP or UDP.", +"format": "int32", +"type": "integer" +}, +"projectId": { +"description": "For source endpoints, endpoint project ID. Used according to the `network_type`. Not relevant for destination endpoints.", +"type": "string" +}, +"redisCluster": { +"description": "A [Redis Cluster](https://cloud.google.com/memorystore/docs/cluster) URI. Applicable only to destination endpoint.", +"type": "string" +}, +"redisInstance": { +"description": "A [Redis Instance](https://cloud.google.com/memorystore/docs/redis) URI. Applicable only to destination endpoint.", +"type": "string" +} +}, +"type": "object" +}, +"EndpointInfo": { +"description": "For display only. The specification of the endpoints for the test. EndpointInfo is derived from source and destination Endpoint and validated by the backend data plane model.", +"id": "EndpointInfo", +"properties": { +"destinationIp": { +"description": "Destination IP address.", +"type": "string" +}, +"destinationNetworkUri": { +"description": "URI of the network where this packet is sent to.", +"type": "string" +}, +"destinationPort": { +"description": "Destination port. Only valid when protocol is TCP or UDP.", +"format": "int32", +"type": "integer" +}, +"protocol": { +"description": "IP protocol in string format, for example: \"TCP\", \"UDP\", \"ICMP\".", +"type": "string" +}, +"sourceAgentUri": { +"description": "URI of the source telemetry agent this packet originates from.", +"type": "string" +}, +"sourceIp": { +"description": "Source IP address.", +"type": "string" +}, +"sourceNetworkUri": { +"description": "URI of the network where this packet originates from.", +"type": "string" +}, +"sourcePort": { +"description": "Source port. Only valid when protocol is TCP or UDP.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"Expr": { +"description": "Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: \"Summary size limit\" description: \"Determines if a summary is less than 100 chars\" expression: \"document.summary.size() < 100\" Example (Equality): title: \"Requestor is owner\" description: \"Determines if requestor is the document owner\" expression: \"document.owner == request.auth.claims.email\" Example (Logic): title: \"Public documents\" description: \"Determine whether the document should be publicly visible\" expression: \"document.type != 'private' && document.type != 'internal'\" Example (Data Manipulation): title: \"Notification string\" description: \"Create a notification string with a timestamp.\" expression: \"'New message received at ' + string(document.create_time)\" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information.", +"id": "Expr", +"properties": { +"description": { +"description": "Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI.", +"type": "string" +}, +"expression": { +"description": "Textual representation of an expression in Common Expression Language syntax.", +"type": "string" +}, +"location": { +"description": "Optional. String indicating the location of the expression for error reporting, e.g. a file name and a position in the file.", +"type": "string" +}, +"title": { +"description": "Optional. Title for the expression, i.e. a short string describing its purpose. This can be used e.g. in UIs which allow to enter the expression.", +"type": "string" +} +}, +"type": "object" +}, +"FirewallInfo": { +"description": "For display only. Metadata associated with a VPC firewall rule, an implied VPC firewall rule, or a firewall policy rule.", +"id": "FirewallInfo", +"properties": { +"action": { +"description": "Possible values: ALLOW, DENY, APPLY_SECURITY_PROFILE_GROUP", +"type": "string" +}, +"direction": { +"description": "Possible values: INGRESS, EGRESS", +"type": "string" +}, +"displayName": { +"description": "The display name of the firewall rule. This field might be empty for firewall policy rules.", +"type": "string" +}, +"firewallRuleType": { +"description": "The firewall rule's type.", +"enum": [ +"FIREWALL_RULE_TYPE_UNSPECIFIED", +"HIERARCHICAL_FIREWALL_POLICY_RULE", +"VPC_FIREWALL_RULE", +"IMPLIED_VPC_FIREWALL_RULE", +"SERVERLESS_VPC_ACCESS_MANAGED_FIREWALL_RULE", +"NETWORK_FIREWALL_POLICY_RULE", +"NETWORK_REGIONAL_FIREWALL_POLICY_RULE", +"SYSTEM_NETWORK_FIREWALL_POLICY_RULE", +"SYSTEM_REGIONAL_NETWORK_FIREWALL_POLICY_RULE", +"UNSUPPORTED_FIREWALL_POLICY_RULE", +"TRACKING_STATE", +"ANALYSIS_SKIPPED" +], +"enumDescriptions": [ +"Unspecified type.", +"Hierarchical firewall policy rule. For details, see [Hierarchical firewall policies overview](https://cloud.google.com/vpc/docs/firewall-policies).", +"VPC firewall rule. For details, see [VPC firewall rules overview](https://cloud.google.com/vpc/docs/firewalls).", +"Implied VPC firewall rule. For details, see [Implied rules](https://cloud.google.com/vpc/docs/firewalls#default_firewall_rules).", +"Implicit firewall rules that are managed by serverless VPC access to allow ingress access. They are not visible in the Google Cloud console. For details, see [VPC connector's implicit rules](https://cloud.google.com/functions/docs/networking/connecting-vpc#restrict-access).", +"User-defined global network firewall policy rule. For details, see [Network firewall policies](https://cloud.google.com/vpc/docs/network-firewall-policies).", +"User-defined regional network firewall policy rule. For details, see [Regional network firewall policies](https://cloud.google.com/firewall/docs/regional-firewall-policies).", +"System-defined global network firewall policy rule.", +"System-defined regional network firewall policy rule.", +"Firewall policy rule containing attributes not yet supported in Connectivity tests. Firewall analysis is skipped if such a rule can potentially be matched. Please see the [list of unsupported configurations](https://cloud.google.com/network-intelligence-center/docs/connectivity-tests/concepts/overview#unsupported-configs).", +"Tracking state for response traffic created when request traffic goes through allow firewall rule. For details, see [firewall rules specifications](https://cloud.google.com/firewall/docs/firewalls#specifications)", +"Firewall analysis was skipped due to executing Connectivity Test in the BypassFirewallChecks mode" +], +"type": "string" +}, +"networkUri": { +"description": "The URI of the VPC network that the firewall rule is associated with. This field is not applicable to hierarchical firewall policy rules.", +"type": "string" +}, +"policy": { +"description": "The name of the firewall policy that this rule is associated with. This field is not applicable to VPC firewall rules and implied VPC firewall rules.", +"type": "string" +}, +"policyPriority": { +"description": "The priority of the firewall policy that this rule is associated with. This field is not applicable to VPC firewall rules and implied VPC firewall rules.", +"format": "int32", +"type": "integer" +}, +"policyUri": { +"description": "The URI of the firewall policy that this rule is associated with. This field is not applicable to VPC firewall rules and implied VPC firewall rules.", +"type": "string" +}, +"priority": { +"description": "The priority of the firewall rule.", +"format": "int32", +"type": "integer" +}, +"targetServiceAccounts": { +"description": "The target service accounts specified by the firewall rule.", +"items": { +"type": "string" +}, +"type": "array" +}, +"targetTags": { +"description": "The target tags defined by the VPC firewall rule. This field is not applicable to firewall policy rules.", +"items": { +"type": "string" +}, +"type": "array" +}, +"targetType": { +"description": "Target type of the firewall rule.", +"enum": [ +"TARGET_TYPE_UNSPECIFIED", +"INSTANCES", +"INTERNAL_MANAGED_LB" +], +"enumDescriptions": [ +"Target type is not specified. In this case we treat the rule as applying to INSTANCES target type.", +"Firewall rule applies to instances.", +"Firewall rule applies to internal managed load balancers." +], +"type": "string" +}, +"uri": { +"description": "The URI of the firewall rule. This field is not applicable to implied VPC firewall rules.", +"type": "string" +} +}, +"type": "object" +}, +"ForwardInfo": { +"description": "Details of the final state \"forward\" and associated resource.", +"id": "ForwardInfo", +"properties": { +"ipAddress": { +"description": "IP address of the target (if applicable).", +"type": "string" +}, +"resourceUri": { +"description": "URI of the resource that the packet is forwarded to.", +"type": "string" +}, +"target": { +"description": "Target type where this packet is forwarded to.", +"enum": [ +"TARGET_UNSPECIFIED", +"PEERING_VPC", +"VPN_GATEWAY", +"INTERCONNECT", +"GKE_MASTER", +"IMPORTED_CUSTOM_ROUTE_NEXT_HOP", +"CLOUD_SQL_INSTANCE", +"ANOTHER_PROJECT", +"NCC_HUB", +"ROUTER_APPLIANCE", +"SECURE_WEB_PROXY_GATEWAY" +], +"enumDeprecated": [ +false, +false, +false, +false, +true, +false, +true, +false, +false, +false, +false +], +"enumDescriptions": [ +"Target not specified.", +"Forwarded to a VPC peering network.", +"Forwarded to a Cloud VPN gateway.", +"Forwarded to a Cloud Interconnect connection.", +"Forwarded to a Google Kubernetes Engine Container cluster master.", +"Forwarded to the next hop of a custom route imported from a peering VPC.", +"Forwarded to a Cloud SQL instance.", +"Forwarded to a VPC network in another project.", +"Forwarded to an NCC Hub.", +"Forwarded to a router appliance.", +"Forwarded to a Secure Web Proxy Gateway." +], +"type": "string" +} +}, +"type": "object" +}, +"ForwardingRuleInfo": { +"description": "For display only. Metadata associated with a Compute Engine forwarding rule.", +"id": "ForwardingRuleInfo", +"properties": { +"displayName": { +"description": "Name of the forwarding rule.", +"type": "string" +}, +"loadBalancerName": { +"description": "Name of the load balancer the forwarding rule belongs to. Empty for forwarding rules not related to load balancers (like PSC forwarding rules).", +"type": "string" +}, +"matchedPortRange": { +"description": "Port range defined in the forwarding rule that matches the packet.", +"type": "string" +}, +"matchedProtocol": { +"description": "Protocol defined in the forwarding rule that matches the packet.", +"type": "string" +}, +"networkUri": { +"description": "Network URI.", +"type": "string" +}, +"pscGoogleApiTarget": { +"description": "PSC Google API target this forwarding rule targets (if applicable).", +"type": "string" +}, +"pscServiceAttachmentUri": { +"description": "URI of the PSC service attachment this forwarding rule targets (if applicable).", +"type": "string" +}, +"region": { +"description": "Region of the forwarding rule. Set only for regional forwarding rules.", +"type": "string" +}, +"target": { +"description": "Target type of the forwarding rule.", +"type": "string" +}, +"uri": { +"description": "URI of the forwarding rule.", +"type": "string" +}, +"vip": { +"description": "VIP of the forwarding rule.", +"type": "string" +} +}, +"type": "object" +}, +"GKEMasterInfo": { +"description": "For display only. Metadata associated with a Google Kubernetes Engine (GKE) cluster master.", +"id": "GKEMasterInfo", +"properties": { +"clusterNetworkUri": { +"description": "URI of a GKE cluster network.", +"type": "string" +}, +"clusterUri": { +"description": "URI of a GKE cluster.", +"type": "string" +}, +"dnsEndpoint": { +"description": "DNS endpoint of a GKE cluster control plane.", +"type": "string" +}, +"externalIp": { +"description": "External IP address of a GKE cluster control plane.", +"type": "string" +}, +"internalIp": { +"description": "Internal IP address of a GKE cluster control plane.", +"type": "string" +} +}, +"type": "object" +}, +"GkePodInfo": { +"description": "For display only. Metadata associated with a Google Kubernetes Engine (GKE) Pod.", +"id": "GkePodInfo", +"properties": { +"ipAddress": { +"description": "IP address of a GKE Pod. If the Pod is dual-stack, this is the IP address relevant to the trace.", +"type": "string" +}, +"networkUri": { +"description": "URI of the network containing the GKE Pod.", +"type": "string" +}, +"podUri": { +"description": "URI of a GKE Pod. For Pods in regional Clusters, the URI format is: `projects/{project}/locations/{location}/clusters/{cluster}/k8s/namespaces/{namespace}/pods/{pod}` For Pods in zonal Clusters, the URI format is: `projects/{project}/zones/{zone}/clusters/{cluster}/k8s/namespaces/{namespace}/pods/{pod}`", +"type": "string" +} +}, +"type": "object" +}, +"GoogleServiceInfo": { +"description": "For display only. Details of a Google Service sending packets to a VPC network. Although the source IP might be a publicly routable address, some Google Services use special routes within Google production infrastructure to reach Compute Engine Instances. https://cloud.google.com/vpc/docs/routes#special_return_paths", +"id": "GoogleServiceInfo", +"properties": { +"googleServiceType": { +"description": "Recognized type of a Google Service.", +"enum": [ +"GOOGLE_SERVICE_TYPE_UNSPECIFIED", +"IAP", +"GFE_PROXY_OR_HEALTH_CHECK_PROBER", +"CLOUD_DNS", +"GOOGLE_API", +"GOOGLE_API_PSC", +"GOOGLE_API_VPC_SC", +"SERVERLESS_VPC_ACCESS" +], +"enumDescriptions": [ +"Unspecified Google Service.", +"Identity aware proxy. https://cloud.google.com/iap/docs/using-tcp-forwarding", +"One of two services sharing IP ranges: * Load Balancer proxy * Centralized Health Check prober https://cloud.google.com/load-balancing/docs/firewall-rules", +"Connectivity from Cloud DNS to forwarding targets or alternate name servers that use private routing. https://cloud.google.com/dns/docs/zones/forwarding-zones#firewall-rules https://cloud.google.com/dns/docs/policies#firewall-rules", +"private.googleapis.com and restricted.googleapis.com", +"Google API via Private Service Connect. https://cloud.google.com/vpc/docs/configure-private-service-connect-apis", +"Google API via VPC Service Controls. https://cloud.google.com/vpc/docs/configure-private-service-connect-apis", +"Google API via Serverless VPC Access. https://cloud.google.com/vpc/docs/serverless-vpc-access" +], +"type": "string" +}, +"sourceIp": { +"description": "Source IP address.", +"type": "string" +} +}, +"type": "object" +}, +"HybridSubnetInfo": { +"description": "For display only. Metadata associated with a hybrid subnet.", +"id": "HybridSubnetInfo", +"properties": { +"displayName": { +"description": "Name of a hybrid subnet.", +"type": "string" +}, +"region": { +"description": "Name of a Google Cloud region where the hybrid subnet is configured.", +"type": "string" +}, +"uri": { +"description": "URI of a hybrid subnet.", +"type": "string" +} +}, +"type": "object" +}, +"InstanceInfo": { +"description": "For display only. Metadata associated with a Compute Engine instance.", +"id": "InstanceInfo", +"properties": { +"displayName": { +"description": "Name of a Compute Engine instance.", +"type": "string" +}, +"externalIp": { +"description": "External IP address of the network interface.", +"type": "string" +}, +"interface": { +"description": "Name of the network interface of a Compute Engine instance.", +"type": "string" +}, +"internalIp": { +"description": "Internal IP address of the network interface.", +"type": "string" +}, +"networkTags": { +"description": "Network tags configured on the instance.", +"items": { +"type": "string" +}, +"type": "array" +}, +"networkUri": { +"description": "URI of a Compute Engine network.", +"type": "string" +}, +"pscNetworkAttachmentUri": { +"description": "URI of the PSC network attachment the NIC is attached to (if relevant).", +"type": "string" +}, +"running": { +"deprecated": true, +"description": "Indicates whether the Compute Engine instance is running. Deprecated: use the `status` field instead.", +"type": "boolean" +}, +"serviceAccount": { +"deprecated": true, +"description": "Service account authorized for the instance.", +"type": "string" +}, +"status": { +"description": "The status of the instance.", +"enum": [ +"STATUS_UNSPECIFIED", +"RUNNING", +"NOT_RUNNING" +], +"enumDescriptions": [ +"Default unspecified value.", +"The instance is running.", +"The instance has any status other than \"RUNNING\"." +], +"type": "string" +}, +"uri": { +"description": "URI of a Compute Engine instance.", +"type": "string" +} +}, +"type": "object" +}, +"InterconnectAttachmentInfo": { +"description": "For display only. Metadata associated with an Interconnect attachment.", +"id": "InterconnectAttachmentInfo", +"properties": { +"cloudRouterUri": { +"description": "URI of the Cloud Router to be used for dynamic routing.", +"type": "string" +}, +"displayName": { +"description": "Name of an Interconnect attachment.", +"type": "string" +}, +"interconnectUri": { +"description": "URI of the Interconnect where the Interconnect attachment is configured.", +"type": "string" +}, +"l2AttachmentMatchedIpAddress": { +"description": "Appliance IP address that was matched for L2_DEDICATED attachments.", +"type": "string" +}, +"region": { +"description": "Name of a Google Cloud region where the Interconnect attachment is configured.", +"type": "string" +}, +"type": { +"description": "The type of interconnect attachment this is.", +"enum": [ +"TYPE_UNSPECIFIED", +"DEDICATED", +"PARTNER", +"PARTNER_PROVIDER", +"L2_DEDICATED" +], +"enumDescriptions": [ +"Unspecified type.", +"Attachment to a dedicated interconnect.", +"Attachment to a partner interconnect, created by the customer.", +"Attachment to a partner interconnect, created by the partner.", +"Attachment to a L2 interconnect, created by the customer." +], +"type": "string" +}, +"uri": { +"description": "URI of an Interconnect attachment.", +"type": "string" +} +}, +"type": "object" +}, +"IpMasqueradingSkippedInfo": { +"description": "For display only. Contains information about why IP masquerading was skipped for the packet.", +"id": "IpMasqueradingSkippedInfo", +"properties": { +"nonMasqueradeRange": { +"description": "The matched non-masquerade IP range. Only set if reason is DESTINATION_IP_IN_CONFIGURED_NON_MASQUERADE_RANGE or DESTINATION_IP_IN_DEFAULT_NON_MASQUERADE_RANGE.", +"type": "string" +}, +"reason": { +"description": "Reason why IP masquerading was not applied.", +"enum": [ +"REASON_UNSPECIFIED", +"DESTINATION_IP_IN_CONFIGURED_NON_MASQUERADE_RANGE", +"DESTINATION_IP_IN_DEFAULT_NON_MASQUERADE_RANGE", +"DESTINATION_ON_SAME_NODE", +"DEFAULT_SNAT_DISABLED", +"NO_MASQUERADING_FOR_IPV6", +"POD_USES_NODE_NETWORK_NAMESPACE", +"NO_MASQUERADING_FOR_RETURN_PACKET" +], +"enumDescriptions": [ +"Unused default value.", +"Masquerading not applied because destination IP is in one of configured non-masquerade ranges.", +"Masquerading not applied because destination IP is in one of default non-masquerade ranges.", +"Masquerading not applied because destination is on the same Node.", +"Masquerading not applied because ip-masq-agent doesn't exist and default SNAT is disabled.", +"Masquerading not applied because the packet's IP version is IPv6.", +"Masquerading not applied because the source Pod uses the host Node's network namespace, including the Node's IP address.", +"Masquerading not applied because the packet is a return packet." +], +"type": "string" +} +}, +"type": "object" +}, +"LatencyDistribution": { +"description": "Describes measured latency distribution.", +"id": "LatencyDistribution", +"properties": { +"latencyPercentiles": { +"description": "Representative latency percentiles.", +"items": { +"$ref": "LatencyPercentile" +}, +"type": "array" +} +}, +"type": "object" +}, +"LatencyPercentile": { +"description": "Latency percentile rank and value.", +"id": "LatencyPercentile", +"properties": { +"latencyMicros": { +"description": "percent-th percentile of latency observed, in microseconds. Fraction of percent/100 of samples have latency lower or equal to the value of this field.", +"format": "int64", +"type": "string" +}, +"percent": { +"description": "Percentage of samples this data point applies to.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"ListConnectivityTestsResponse": { +"description": "Response for the `ListConnectivityTests` method.", +"id": "ListConnectivityTestsResponse", +"properties": { +"nextPageToken": { +"description": "Page token to fetch the next set of Connectivity Tests.", +"type": "string" +}, +"resources": { +"description": "List of Connectivity Tests.", +"items": { +"$ref": "ConnectivityTest" +}, +"type": "array" +}, +"unreachable": { +"description": "Locations that could not be reached (when querying all locations with `-`).", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListLocationsResponse": { +"description": "The response message for Locations.ListLocations.", +"id": "ListLocationsResponse", +"properties": { +"locations": { +"description": "A list of locations that matches the specified filter in the request.", +"items": { +"$ref": "Location" +}, +"type": "array" +}, +"nextPageToken": { +"description": "The standard List next-page token.", +"type": "string" +} +}, +"type": "object" +}, +"ListOperationsResponse": { +"description": "The response message for Operations.ListOperations.", +"id": "ListOperationsResponse", +"properties": { +"nextPageToken": { +"description": "The standard List next-page token.", +"type": "string" +}, +"operations": { +"description": "A list of operations that matches the specified filter in the request.", +"items": { +"$ref": "Operation" +}, +"type": "array" +}, +"unreachable": { +"description": "Unordered list. Unreachable resources. Populated when the request sets `ListOperationsRequest.return_partial_success` and reads across collections. For example, when attempting to list all resources across all supported locations.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListVpcFlowLogsConfigsResponse": { +"description": "Response for the `ListVpcFlowLogsConfigs` method.", +"id": "ListVpcFlowLogsConfigsResponse", +"properties": { +"nextPageToken": { +"description": "Page token to fetch the next set of configurations.", +"type": "string" +}, +"unreachable": { +"description": "Locations that could not be reached (when querying all locations with `-`).", +"items": { +"type": "string" +}, +"type": "array" +}, +"vpcFlowLogsConfigs": { +"description": "List of VPC Flow Log configurations.", +"items": { +"$ref": "VpcFlowLogsConfig" +}, +"type": "array" +} +}, +"type": "object" +}, +"LoadBalancerBackend": { +"description": "For display only. Metadata associated with a specific load balancer backend.", +"id": "LoadBalancerBackend", +"properties": { +"displayName": { +"description": "Name of a Compute Engine instance or network endpoint.", +"type": "string" +}, +"healthCheckAllowingFirewallRules": { +"description": "A list of firewall rule URIs allowing probes from health check IP ranges.", +"items": { +"type": "string" +}, +"type": "array" +}, +"healthCheckBlockingFirewallRules": { +"description": "A list of firewall rule URIs blocking probes from health check IP ranges.", +"items": { +"type": "string" +}, +"type": "array" +}, +"healthCheckFirewallState": { +"description": "State of the health check firewall configuration.", +"enum": [ +"HEALTH_CHECK_FIREWALL_STATE_UNSPECIFIED", +"CONFIGURED", +"MISCONFIGURED" +], +"enumDescriptions": [ +"State is unspecified. Default state if not populated.", +"There are configured firewall rules to allow health check probes to the backend.", +"There are firewall rules configured to allow partial health check ranges or block all health check ranges. If a health check probe is sent from denied IP ranges, the health check to the backend will fail. Then, the backend will be marked unhealthy and will not receive traffic sent to the load balancer." +], +"type": "string" +}, +"uri": { +"description": "URI of a Compute Engine instance or network endpoint.", +"type": "string" +} +}, +"type": "object" +}, +"LoadBalancerBackendInfo": { +"description": "For display only. Metadata associated with the load balancer backend.", +"id": "LoadBalancerBackendInfo", +"properties": { +"backendBucketUri": { +"description": "URI of the backend bucket this backend targets (if applicable).", +"type": "string" +}, +"backendServiceUri": { +"description": "URI of the backend service this backend belongs to (if applicable).", +"type": "string" +}, +"healthCheckFirewallsConfigState": { +"description": "Output only. Health check firewalls configuration state for the backend. This is a result of the static firewall analysis (verifying that health check traffic from required IP ranges to the backend is allowed or not). The backend might still be unhealthy even if these firewalls are configured. Please refer to the documentation for more information: https://cloud.google.com/load-balancing/docs/firewall-rules", +"enum": [ +"HEALTH_CHECK_FIREWALLS_CONFIG_STATE_UNSPECIFIED", +"FIREWALLS_CONFIGURED", +"FIREWALLS_PARTIALLY_CONFIGURED", +"FIREWALLS_NOT_CONFIGURED", +"FIREWALLS_UNSUPPORTED" +], +"enumDescriptions": [ +"Configuration state unspecified. It usually means that the backend has no health check attached, or there was an unexpected configuration error preventing Connectivity tests from verifying health check configuration.", +"Firewall rules (policies) allowing health check traffic from all required IP ranges to the backend are configured.", +"Firewall rules (policies) allow health check traffic only from a part of required IP ranges.", +"Firewall rules (policies) deny health check traffic from all required IP ranges to the backend.", +"The network contains firewall rules of unsupported types, so Connectivity tests were not able to verify health check configuration status. Please refer to the documentation for the list of unsupported configurations: https://cloud.google.com/network-intelligence-center/docs/connectivity-tests/concepts/overview#unsupported-configs" +], +"readOnly": true, +"type": "string" +}, +"healthCheckUri": { +"description": "URI of the health check attached to this backend (if applicable).", +"type": "string" +}, +"instanceGroupUri": { +"description": "URI of the instance group this backend belongs to (if applicable).", +"type": "string" +}, +"instanceUri": { +"description": "URI of the backend instance (if applicable). Populated for instance group backends, and zonal NEG backends.", +"type": "string" +}, +"name": { +"description": "Display name of the backend. For example, it might be an instance name for the instance group backends, or an IP address and port for zonal network endpoint group backends.", +"type": "string" +}, +"networkEndpointGroupUri": { +"description": "URI of the network endpoint group this backend belongs to (if applicable).", +"type": "string" +}, +"pscGoogleApiTarget": { +"description": "PSC Google API target this PSC NEG backend targets (if applicable).", +"type": "string" +}, +"pscServiceAttachmentUri": { +"description": "URI of the PSC service attachment this PSC NEG backend targets (if applicable).", +"type": "string" +} +}, +"type": "object" +}, +"LoadBalancerInfo": { +"description": "For display only. Metadata associated with a load balancer.", +"id": "LoadBalancerInfo", +"properties": { +"backendType": { +"description": "Type of load balancer's backend configuration.", +"enum": [ +"BACKEND_TYPE_UNSPECIFIED", +"BACKEND_SERVICE", +"TARGET_POOL", +"TARGET_INSTANCE" +], +"enumDescriptions": [ +"Type is unspecified.", +"Backend Service as the load balancer's backend.", +"Target Pool as the load balancer's backend.", +"Target Instance as the load balancer's backend." +], +"type": "string" +}, +"backendUri": { +"description": "Backend configuration URI.", +"type": "string" +}, +"backends": { +"description": "Information for the loadbalancer backends.", +"items": { +"$ref": "LoadBalancerBackend" +}, +"type": "array" +}, +"healthCheckUri": { +"deprecated": true, +"description": "URI of the health check for the load balancer. Deprecated and no longer populated as different load balancer backends might have different health checks.", +"type": "string" +}, +"loadBalancerType": { +"description": "Type of the load balancer.", +"enum": [ +"LOAD_BALANCER_TYPE_UNSPECIFIED", +"INTERNAL_TCP_UDP", +"NETWORK_TCP_UDP", +"HTTP_PROXY", +"TCP_PROXY", +"SSL_PROXY" +], +"enumDescriptions": [ +"Type is unspecified.", +"Internal TCP/UDP load balancer.", +"Network TCP/UDP load balancer.", +"HTTP(S) proxy load balancer.", +"TCP proxy load balancer.", +"SSL proxy load balancer." +], +"type": "string" +} +}, +"type": "object" +}, +"Location": { +"description": "A resource that represents a Google Cloud location.", +"id": "Location", +"properties": { +"displayName": { +"description": "The friendly name for this location, typically a nearby city name. For example, \"Tokyo\".", +"type": "string" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Cross-service attributes for the location. For example {\"cloud.googleapis.com/region\": \"us-east1\"}", +"type": "object" +}, +"locationId": { +"description": "The canonical id for this location. For example: `\"us-east1\"`.", +"type": "string" +}, +"metadata": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "Service-specific metadata. For example the available capacity at the given location.", +"type": "object" +}, +"name": { +"description": "Resource name for the location, which may vary between implementations. For example: `\"projects/example-project/locations/us-east1\"`", +"type": "string" +} +}, +"type": "object" +}, +"NatInfo": { +"description": "For display only. Metadata associated with NAT.", +"id": "NatInfo", +"properties": { +"cloudNatGatewayType": { +"description": "Type of Cloud NAT gateway. Only valid when `type` is CLOUD_NAT.", +"enum": [ +"CLOUD_NAT_GATEWAY_TYPE_UNSPECIFIED", +"PUBLIC_NAT44", +"PUBLIC_NAT64", +"PRIVATE_NAT_NCC", +"PRIVATE_NAT_HYBRID", +"PRIVATE_NAT64" +], +"enumDescriptions": [ +"Type is unspecified.", +"Public NAT gateway.", +"Public NAT64 gateway.", +"Private NAT gateway for NCC.", +"Private NAT gateway for hybrid connectivity.", +"Private NAT64 gateway." +], +"type": "string" +}, +"natGatewayName": { +"description": "The name of Cloud NAT Gateway. Only valid when type is CLOUD_NAT.", +"type": "string" +}, +"networkUri": { +"description": "URI of the network where NAT translation takes place.", +"type": "string" +}, +"newDestinationIp": { +"description": "Destination IP address after NAT translation.", +"type": "string" +}, +"newDestinationPort": { +"description": "Destination port after NAT translation. Only valid when protocol is TCP or UDP.", +"format": "int32", +"type": "integer" +}, +"newSourceIp": { +"description": "Source IP address after NAT translation.", +"type": "string" +}, +"newSourcePort": { +"description": "Source port after NAT translation. Only valid when protocol is TCP or UDP.", +"format": "int32", +"type": "integer" +}, +"oldDestinationIp": { +"description": "Destination IP address before NAT translation.", +"type": "string" +}, +"oldDestinationPort": { +"description": "Destination port before NAT translation. Only valid when protocol is TCP or UDP.", +"format": "int32", +"type": "integer" +}, +"oldSourceIp": { +"description": "Source IP address before NAT translation.", +"type": "string" +}, +"oldSourcePort": { +"description": "Source port before NAT translation. Only valid when protocol is TCP or UDP.", +"format": "int32", +"type": "integer" +}, +"protocol": { +"description": "IP protocol in string format, for example: \"TCP\", \"UDP\", \"ICMP\".", +"type": "string" +}, +"routerUri": { +"description": "Uri of the Cloud Router. Only valid when type is CLOUD_NAT.", +"type": "string" +}, +"type": { +"description": "Type of NAT.", +"enum": [ +"TYPE_UNSPECIFIED", +"INTERNAL_TO_EXTERNAL", +"EXTERNAL_TO_INTERNAL", +"CLOUD_NAT", +"PRIVATE_SERVICE_CONNECT", +"GKE_POD_IP_MASQUERADING" +], +"enumDescriptions": [ +"Type is unspecified.", +"From Compute Engine instance's internal address to external address.", +"From Compute Engine instance's external address to internal address.", +"Cloud NAT Gateway.", +"Private service connect NAT.", +"GKE Pod IP address masquerading." +], +"type": "string" +} +}, +"type": "object" +}, +"NetworkInfo": { +"description": "For display only. Metadata associated with a Compute Engine network.", +"id": "NetworkInfo", +"properties": { +"displayName": { +"description": "Name of a Compute Engine network.", +"type": "string" +}, +"matchedIpRange": { +"description": "The IP range of the subnet matching the source IP address of the test.", +"type": "string" +}, +"matchedSubnetUri": { +"description": "URI of the subnet matching the source IP address of the test.", +"type": "string" +}, +"region": { +"description": "The region of the subnet matching the source IP address of the test.", +"type": "string" +}, +"uri": { +"description": "URI of a Compute Engine network.", +"type": "string" +} +}, +"type": "object" +}, +"NgfwPacketInspectionInfo": { +"description": "For display only. Metadata associated with a layer 7 packet inspection by the firewall.", +"id": "NgfwPacketInspectionInfo", +"properties": { +"securityProfileGroupUri": { +"description": "URI of the security profile group associated with this firewall packet inspection.", +"type": "string" +} +}, +"type": "object" +}, +"Operation": { +"description": "This resource represents a long-running operation that is the result of a network API call.", +"id": "Operation", +"properties": { +"done": { +"description": "If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.", +"type": "boolean" +}, +"error": { +"$ref": "Status", +"description": "The error result of the operation in case of failure or cancellation." +}, +"metadata": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.", +"type": "object" +}, +"name": { +"description": "The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.", +"type": "string" +}, +"response": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "The normal, successful response of the operation. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.", +"type": "object" +} +}, +"type": "object" +}, +"OperationMetadata": { +"description": "Metadata describing an Operation", +"id": "OperationMetadata", +"properties": { +"apiVersion": { +"description": "API version.", +"type": "string" +}, +"cancelRequested": { +"description": "Specifies if cancellation was requested for the operation.", +"type": "boolean" +}, +"createTime": { +"description": "The time the operation was created.", +"format": "google-datetime", +"type": "string" +}, +"endTime": { +"description": "The time the operation finished running.", +"format": "google-datetime", +"type": "string" +}, +"statusDetail": { +"description": "Human-readable status of the operation, if any.", +"type": "string" +}, +"target": { +"description": "Target of the operation - for example projects/project-1/locations/global/connectivityTests/test-1", +"type": "string" +}, +"verb": { +"description": "Name of the verb executed by the operation.", +"type": "string" +} +}, +"type": "object" +}, +"Policy": { +"description": "An Identity and Access Management (IAM) policy, which specifies access controls for Google Cloud resources. A `Policy` is a collection of `bindings`. A `binding` binds one or more `members`, or principals, to a single `role`. Principals can be user accounts, service accounts, Google groups, and domains (such as G Suite). A `role` is a named list of permissions; each `role` can be an IAM predefined role or a user-created custom role. For some types of Google Cloud resources, a `binding` can also specify a `condition`, which is a logical expression that allows access to a resource only if the expression evaluates to `true`. A condition can add constraints based on attributes of the request, the resource, or both. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). **JSON example:** ``` { \"bindings\": [ { \"role\": \"roles/resourcemanager.organizationAdmin\", \"members\": [ \"user:mike@example.com\", \"group:admins@example.com\", \"domain:google.com\", \"serviceAccount:my-project-id@appspot.gserviceaccount.com\" ] }, { \"role\": \"roles/resourcemanager.organizationViewer\", \"members\": [ \"user:eve@example.com\" ], \"condition\": { \"title\": \"expirable access\", \"description\": \"Does not grant access after Sep 2020\", \"expression\": \"request.time < timestamp('2020-10-01T00:00:00.000Z')\", } } ], \"etag\": \"BwWWja0YfJA=\", \"version\": 3 } ``` **YAML example:** ``` bindings: - members: - user:mike@example.com - group:admins@example.com - domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.com role: roles/resourcemanager.organizationViewer condition: title: expirable access description: Does not grant access after Sep 2020 expression: request.time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 ``` For a description of IAM and its features, see the [IAM documentation](https://cloud.google.com/iam/docs/).", +"id": "Policy", +"properties": { +"auditConfigs": { +"description": "Specifies cloud audit logging configuration for this policy.", +"items": { +"$ref": "AuditConfig" +}, +"type": "array" +}, +"bindings": { +"description": "Associates a list of `members`, or principals, with a `role`. Optionally, may specify a `condition` that determines how and when the `bindings` are applied. Each of the `bindings` must contain at least one principal. The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250 of these principals can be Google groups. Each occurrence of a principal counts towards these limits. For example, if the `bindings` grant 50 different roles to `user:alice@example.com`, and not to any other principal, then you can add another 1,450 principals to the `bindings` in the `Policy`.", +"items": { +"$ref": "Binding" +}, +"type": "array" +}, +"etag": { +"description": "`etag` is used for optimistic concurrency control as a way to help prevent simultaneous updates of a policy from overwriting each other. It is strongly suggested that systems make use of the `etag` in the read-modify-write cycle to perform policy updates in order to avoid race conditions: An `etag` is returned in the response to `getIamPolicy`, and systems are expected to put that etag in the request to `setIamPolicy` to ensure that their change will be applied to the same version of the policy. **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost.", +"format": "byte", +"type": "string" +}, +"version": { +"description": "Specifies the format of the policy. Valid values are `0`, `1`, and `3`. Requests that specify an invalid value are rejected. Any operation that affects conditional role bindings must specify version `3`. This requirement applies to the following operations: * Getting a policy that includes a conditional role binding * Adding a conditional role binding to a policy * Changing a conditional role binding in a policy * Removing any role binding, with or without a condition, from a policy that includes conditions **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost. If a policy does not include any conditions, operations on that policy may specify any valid version or leave the field unset. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"ProbingDetails": { +"description": "Results of active probing from the last run of the test.", +"id": "ProbingDetails", +"properties": { +"abortCause": { +"description": "The reason probing was aborted.", +"enum": [ +"PROBING_ABORT_CAUSE_UNSPECIFIED", +"PERMISSION_DENIED", +"NO_SOURCE_LOCATION" +], +"enumDescriptions": [ +"No reason was specified.", +"The user lacks permission to access some of the network resources required to run the test.", +"No valid source endpoint could be derived from the request." +], +"type": "string" +}, +"destinationEgressLocation": { +"$ref": "EdgeLocation", +"description": "The EdgeLocation from which a packet, destined to the internet, will egress the Google network. This will only be populated for a connectivity test which has an internet destination address. The absence of this field *must not* be used as an indication that the destination is part of the Google network." +}, +"edgeResponses": { +"description": "Probing results for all edge devices.", +"items": { +"$ref": "SingleEdgeResponse" +}, +"type": "array" +}, +"endpointInfo": { +"$ref": "EndpointInfo", +"description": "The source and destination endpoints derived from the test input and used for active probing." +}, +"error": { +"$ref": "Status", +"description": "Details about an internal failure or the cancellation of active probing." +}, +"probedAllDevices": { +"description": "Whether all relevant edge devices were probed.", +"type": "boolean" +}, +"probingLatency": { +"$ref": "LatencyDistribution", +"description": "Latency as measured by active probing in one direction: from the source to the destination endpoint." +}, +"result": { +"description": "The overall result of active probing.", +"enum": [ +"PROBING_RESULT_UNSPECIFIED", +"REACHABLE", +"UNREACHABLE", +"REACHABILITY_INCONSISTENT", +"UNDETERMINED" +], +"enumDescriptions": [ +"No result was specified.", +"At least 95% of packets reached the destination.", +"No packets reached the destination.", +"Less than 95% of packets reached the destination.", +"Reachability could not be determined. Possible reasons are: * The user lacks permission to access some of the network resources required to run the test. * No valid source endpoint could be derived from the request. * An internal error occurred." +], +"type": "string" +}, +"sentProbeCount": { +"description": "Number of probes sent.", +"format": "int32", +"type": "integer" +}, +"successfulProbeCount": { +"description": "Number of probes that reached the destination.", +"format": "int32", +"type": "integer" +}, +"verifyTime": { +"description": "The time that reachability was assessed through active probing.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"ProxyConnectionInfo": { +"description": "For display only. Metadata associated with ProxyConnection.", +"id": "ProxyConnectionInfo", +"properties": { +"networkUri": { +"description": "URI of the network where connection is proxied.", +"type": "string" +}, +"newDestinationIp": { +"description": "Destination IP address of a new connection.", +"type": "string" +}, +"newDestinationPort": { +"description": "Destination port of a new connection. Only valid when protocol is TCP or UDP.", +"format": "int32", +"type": "integer" +}, +"newSourceIp": { +"description": "Source IP address of a new connection.", +"type": "string" +}, +"newSourcePort": { +"description": "Source port of a new connection. Only valid when protocol is TCP or UDP.", +"format": "int32", +"type": "integer" +}, +"oldDestinationIp": { +"description": "Destination IP address of an original connection", +"type": "string" +}, +"oldDestinationPort": { +"description": "Destination port of an original connection. Only valid when protocol is TCP or UDP.", +"format": "int32", +"type": "integer" +}, +"oldSourceIp": { +"description": "Source IP address of an original connection.", +"type": "string" +}, +"oldSourcePort": { +"description": "Source port of an original connection. Only valid when protocol is TCP or UDP.", +"format": "int32", +"type": "integer" +}, +"protocol": { +"description": "IP protocol in string format, for example: \"TCP\", \"UDP\", \"ICMP\".", +"type": "string" +}, +"subnetUri": { +"description": "Uri of proxy subnet.", +"type": "string" +} +}, +"type": "object" +}, +"QueryOrgVpcFlowLogsConfigsResponse": { +"description": "Response for the `QueryVpcFlowLogsConfigs` method.", +"id": "QueryOrgVpcFlowLogsConfigsResponse", +"properties": { +"nextPageToken": { +"description": "Page token to fetch the next set of configurations.", +"type": "string" +}, +"unreachable": { +"description": "Locations that could not be reached (when querying all locations with `-`).", +"items": { +"type": "string" +}, +"type": "array" +}, +"vpcFlowLogsConfigs": { +"description": "List of VPC Flow Log configurations.", +"items": { +"$ref": "VpcFlowLogsConfig" +}, +"type": "array" +} +}, +"type": "object" +}, +"ReachabilityDetails": { +"description": "Results of the configuration analysis from the last run of the test.", +"id": "ReachabilityDetails", +"properties": { +"error": { +"$ref": "Status", +"description": "The details of a failure or a cancellation of reachability analysis." +}, +"result": { +"description": "The overall result of the test's configuration analysis.", +"enum": [ +"RESULT_UNSPECIFIED", +"REACHABLE", +"UNREACHABLE", +"AMBIGUOUS", +"UNDETERMINED" +], +"enumDescriptions": [ +"No result was specified.", +"Possible scenarios are: * The configuration analysis determined that a packet originating from the source is expected to reach the destination. * The analysis didn't complete because the user lacks permission for some of the resources in the trace. However, at the time the user's permission became insufficient, the trace had been successful so far.", +"A packet originating from the source is expected to be dropped before reaching the destination.", +"The source and destination endpoints do not uniquely identify the test location in the network, and the reachability result contains multiple traces. For some traces, a packet could be delivered, and for others, it would not be. This result is also assigned to configuration analysis of return path if on its own it should be REACHABLE, but configuration analysis of forward path is AMBIGUOUS.", +"The configuration analysis did not complete. Possible reasons are: * A permissions error occurred--for example, the user might not have read permission for all of the resources named in the test. * An internal error occurred. * The analyzer received an invalid or unsupported argument or was unable to identify a known endpoint." +], +"type": "string" +}, +"traces": { +"description": "Result may contain a list of traces if a test has multiple possible paths in the network, such as when destination endpoint is a load balancer with multiple backends.", +"items": { +"$ref": "Trace" +}, +"type": "array" +}, +"verifyTime": { +"description": "The time of the configuration analysis.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"RedisClusterInfo": { +"description": "For display only. Metadata associated with a Redis Cluster.", +"id": "RedisClusterInfo", +"properties": { +"discoveryEndpointIpAddress": { +"description": "Discovery endpoint IP address of a Redis Cluster.", +"type": "string" +}, +"displayName": { +"description": "Name of a Redis Cluster.", +"type": "string" +}, +"location": { +"description": "Name of the region in which the Redis Cluster is defined. For example, \"us-central1\".", +"type": "string" +}, +"networkUri": { +"description": "URI of the network containing the Redis Cluster endpoints in format \"projects/{project_id}/global/networks/{network_id}\".", +"type": "string" +}, +"secondaryEndpointIpAddress": { +"description": "Secondary endpoint IP address of a Redis Cluster.", +"type": "string" +}, +"uri": { +"description": "URI of a Redis Cluster in format \"projects/{project_id}/locations/{location}/clusters/{cluster_id}\"", +"type": "string" +} +}, +"type": "object" +}, +"RedisInstanceInfo": { +"description": "For display only. Metadata associated with a Cloud Redis Instance.", +"id": "RedisInstanceInfo", +"properties": { +"displayName": { +"description": "Name of a Cloud Redis Instance.", +"type": "string" +}, +"networkUri": { +"description": "URI of a Cloud Redis Instance network.", +"type": "string" +}, +"primaryEndpointIp": { +"description": "Primary endpoint IP address of a Cloud Redis Instance.", +"type": "string" +}, +"readEndpointIp": { +"description": "Read endpoint IP address of a Cloud Redis Instance (if applicable).", +"type": "string" +}, +"region": { +"description": "Region in which the Cloud Redis Instance is defined.", +"type": "string" +}, +"uri": { +"description": "URI of a Cloud Redis Instance.", +"type": "string" +} +}, +"type": "object" +}, +"RerunConnectivityTestRequest": { +"description": "Request for the `RerunConnectivityTest` method.", +"id": "RerunConnectivityTestRequest", +"properties": {}, +"type": "object" +}, +"RouteInfo": { +"description": "For display only. Metadata associated with a Compute Engine route.", +"id": "RouteInfo", +"properties": { +"advertisedRouteNextHopUri": { +"deprecated": true, +"description": "For ADVERTISED routes, the URI of their next hop, i.e. the URI of the hybrid endpoint (VPN tunnel, Interconnect attachment, NCC router appliance) the advertised prefix is advertised through, or URI of the source peered network. Deprecated in favor of the next_hop_uri field, not used in new tests.", +"type": "string" +}, +"advertisedRouteSourceRouterUri": { +"description": "For ADVERTISED dynamic routes, the URI of the Cloud Router that advertised the corresponding IP prefix.", +"type": "string" +}, +"destIpRange": { +"description": "Destination IP range of the route.", +"type": "string" +}, +"destPortRanges": { +"description": "Destination port ranges of the route. POLICY_BASED routes only.", +"items": { +"type": "string" +}, +"type": "array" +}, +"displayName": { +"description": "Name of a route.", +"type": "string" +}, +"instanceTags": { +"description": "Instance tags of the route.", +"items": { +"type": "string" +}, +"type": "array" +}, +"nccHubRouteUri": { +"description": "For PEERING_SUBNET and PEERING_DYNAMIC routes that are advertised by NCC Hub, the URI of the corresponding route in NCC Hub's routing table.", +"type": "string" +}, +"nccHubUri": { +"description": "URI of the NCC Hub the route is advertised by. PEERING_SUBNET and PEERING_DYNAMIC routes that are advertised by NCC Hub only.", +"type": "string" +}, +"nccSpokeUri": { +"description": "URI of the destination NCC Spoke. PEERING_SUBNET and PEERING_DYNAMIC routes that are advertised by NCC Hub only.", +"type": "string" +}, +"networkUri": { +"description": "URI of a VPC network where route is located.", +"type": "string" +}, +"nextHop": { +"deprecated": true, +"description": "String type of the next hop of the route (for example, \"VPN tunnel\"). Deprecated in favor of the next_hop_type and next_hop_uri fields, not used in new tests.", +"type": "string" +}, +"nextHopNetworkUri": { +"description": "URI of a VPC network where the next hop resource is located.", +"type": "string" +}, +"nextHopType": { +"description": "Type of next hop.", +"enum": [ +"NEXT_HOP_TYPE_UNSPECIFIED", +"NEXT_HOP_IP", +"NEXT_HOP_INSTANCE", +"NEXT_HOP_NETWORK", +"NEXT_HOP_PEERING", +"NEXT_HOP_INTERCONNECT", +"NEXT_HOP_VPN_TUNNEL", +"NEXT_HOP_VPN_GATEWAY", +"NEXT_HOP_INTERNET_GATEWAY", +"NEXT_HOP_BLACKHOLE", +"NEXT_HOP_ILB", +"NEXT_HOP_ROUTER_APPLIANCE", +"NEXT_HOP_NCC_HUB", +"SECURE_WEB_PROXY_GATEWAY" +], +"enumDescriptions": [ +"Unspecified type. Default value.", +"Next hop is an IP address.", +"Next hop is a Compute Engine instance.", +"Next hop is a VPC network gateway.", +"Next hop is a peering VPC. This scenario only happens when the user doesn't have permissions to the project where the next hop resource is located.", +"Next hop is an interconnect.", +"Next hop is a VPN tunnel.", +"Next hop is a VPN gateway. This scenario only happens when tracing connectivity from an on-premises network to Google Cloud through a VPN. The analysis simulates a packet departing from the on-premises network through a VPN tunnel and arriving at a Cloud VPN gateway.", +"Next hop is an internet gateway.", +"Next hop is blackhole; that is, the next hop either does not exist or is unusable.", +"Next hop is the forwarding rule of an Internal Load Balancer.", +"Next hop is a [router appliance instance](https://cloud.google.com/network-connectivity/docs/network-connectivity-center/concepts/ra-overview).", +"Next hop is an NCC hub. This scenario only happens when the user doesn't have permissions to the project where the next hop resource is located.", +"Next hop is Secure Web Proxy Gateway." +], +"type": "string" +}, +"nextHopUri": { +"description": "URI of the next hop resource.", +"type": "string" +}, +"originatingRouteDisplayName": { +"description": "For PEERING_SUBNET, PEERING_STATIC and PEERING_DYNAMIC routes, the name of the originating SUBNET/STATIC/DYNAMIC route.", +"type": "string" +}, +"originatingRouteUri": { +"description": "For PEERING_SUBNET and PEERING_STATIC routes, the URI of the originating SUBNET/STATIC route.", +"type": "string" +}, +"priority": { +"description": "Priority of the route.", +"format": "int32", +"type": "integer" +}, +"protocols": { +"description": "Protocols of the route. POLICY_BASED routes only.", +"items": { +"type": "string" +}, +"type": "array" +}, +"region": { +"description": "Region of the route. DYNAMIC, PEERING_DYNAMIC, POLICY_BASED and ADVERTISED routes only. If set for POLICY_BASED route, this is a region of VLAN attachments for Cloud Interconnect the route applies to.", +"type": "string" +}, +"routeScope": { +"deprecated": true, +"description": "Indicates where route is applicable. Deprecated, routes with NCC_HUB scope are not included in the trace in new tests.", +"enum": [ +"ROUTE_SCOPE_UNSPECIFIED", +"NETWORK", +"NCC_HUB" +], +"enumDescriptions": [ +"Unspecified scope. Default value.", +"Route is applicable to packets in Network.", +"Route is applicable to packets using NCC Hub's routing table." +], +"type": "string" +}, +"routeType": { +"description": "Type of route.", +"enum": [ +"ROUTE_TYPE_UNSPECIFIED", +"SUBNET", +"STATIC", +"DYNAMIC", +"PEERING_SUBNET", +"PEERING_STATIC", +"PEERING_DYNAMIC", +"POLICY_BASED", +"ADVERTISED" +], +"enumDescriptions": [ +"Unspecified type. Default value.", +"Route is a subnet route automatically created by the system.", +"Static route created by the user, including the default route to the internet.", +"Dynamic route exchanged between BGP peers.", +"A subnet route received from peering network or NCC Hub.", +"A static route received from peering network.", +"A dynamic route received from peering network or NCC Hub.", +"Policy based route.", +"Advertised route. Synthetic route which is used to transition from the StartFromPrivateNetwork state in Connectivity tests." +], +"type": "string" +}, +"srcIpRange": { +"description": "Source IP address range of the route. POLICY_BASED routes only.", +"type": "string" +}, +"srcPortRanges": { +"description": "Source port ranges of the route. POLICY_BASED routes only.", +"items": { +"type": "string" +}, +"type": "array" +}, +"uri": { +"description": "URI of a route. SUBNET, STATIC, PEERING_SUBNET (only for peering network) and POLICY_BASED routes only.", +"type": "string" +} +}, +"type": "object" +}, +"ServerlessExternalConnectionInfo": { +"description": "For display only. Metadata associated with a serverless public connection.", +"id": "ServerlessExternalConnectionInfo", +"properties": { +"selectedIpAddress": { +"description": "Selected starting IP address, from the Google dynamic address pool.", +"type": "string" +} +}, +"type": "object" +}, +"ServerlessNegInfo": { +"description": "For display only. Metadata associated with the serverless network endpoint group backend.", +"id": "ServerlessNegInfo", +"properties": { +"negUri": { +"description": "URI of the serverless network endpoint group.", +"type": "string" +} +}, +"type": "object" +}, +"SetIamPolicyRequest": { +"description": "Request message for `SetIamPolicy` method.", +"id": "SetIamPolicyRequest", +"properties": { +"policy": { +"$ref": "Policy", +"description": "REQUIRED: The complete policy to be applied to the `resource`. The size of the policy is limited to a few 10s of KB. An empty policy is a valid policy but certain Google Cloud services (such as Projects) might reject them." +}, +"updateMask": { +"description": "OPTIONAL: A FieldMask specifying which fields of the policy to modify. Only the fields in the mask will be modified. If no mask is provided, the following default mask is used: `paths: \"bindings, etag\"`", +"format": "google-fieldmask", +"type": "string" +} +}, +"type": "object" +}, +"ShowEffectiveFlowLogsConfigsResponse": { +"description": "Response for the `ShowEffectiveFlowLogsConfigs` method.", +"id": "ShowEffectiveFlowLogsConfigsResponse", +"properties": { +"effectiveFlowLogsConfigs": { +"description": "List of Effective Vpc Flow Logs configurations.", +"items": { +"$ref": "EffectiveVpcFlowLogsConfig" +}, +"type": "array" +}, +"nextPageToken": { +"description": "Page token to fetch the next set of configurations.", +"type": "string" +}, +"unreachable": { +"description": "Locations that could not be reached (when querying all locations with `-`).", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"SingleEdgeResponse": { +"description": "Probing results for a single edge device.", +"id": "SingleEdgeResponse", +"properties": { +"destinationEgressLocation": { +"$ref": "EdgeLocation", +"description": "The EdgeLocation from which a packet, destined to the internet, will egress the Google network. This will only be populated for a connectivity test which has an internet destination address. The absence of this field *must not* be used as an indication that the destination is part of the Google network." +}, +"destinationRouter": { +"description": "Router name in the format '{router}.{metroshard}'. For example: pf01.aaa01, pr02.aaa01.", +"type": "string" +}, +"probingLatency": { +"$ref": "LatencyDistribution", +"description": "Latency as measured by active probing in one direction: from the source to the destination endpoint." +}, +"result": { +"description": "The overall result of active probing for this egress device.", +"enum": [ +"PROBING_RESULT_UNSPECIFIED", +"REACHABLE", +"UNREACHABLE", +"REACHABILITY_INCONSISTENT", +"UNDETERMINED" +], +"enumDescriptions": [ +"No result was specified.", +"At least 95% of packets reached the destination.", +"No packets reached the destination.", +"Less than 95% of packets reached the destination.", +"Reachability could not be determined. Possible reasons are: * The user lacks permission to access some of the network resources required to run the test. * No valid source endpoint could be derived from the request. * An internal error occurred." +], +"type": "string" +}, +"sentProbeCount": { +"description": "Number of probes sent.", +"format": "int32", +"type": "integer" +}, +"successfulProbeCount": { +"description": "Number of probes that reached the destination.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"Status": { +"description": "The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors).", +"id": "Status", +"properties": { +"code": { +"description": "The status code, which should be an enum value of google.rpc.Code.", +"format": "int32", +"type": "integer" +}, +"details": { +"description": "A list of messages that carry the error details. There is a common set of message types for APIs to use.", +"items": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.", +"type": "string" +} +}, +"type": "object" +}, +"Step": { +"description": "A simulated forwarding path is composed of multiple steps. Each step has a well-defined state and an associated configuration.", +"id": "Step", +"properties": { +"abort": { +"$ref": "AbortInfo", +"description": "Display information of the final state \"abort\" and reason." +}, +"appEngineVersion": { +"$ref": "AppEngineVersionInfo", +"description": "Display information of an App Engine service version." +}, +"causesDrop": { +"description": "This is a step that leads to the final state Drop.", +"type": "boolean" +}, +"cloudFunction": { +"$ref": "CloudFunctionInfo", +"description": "Display information of a Cloud Function." +}, +"cloudRunRevision": { +"$ref": "CloudRunRevisionInfo", +"description": "Display information of a Cloud Run revision." +}, +"cloudSqlInstance": { +"$ref": "CloudSQLInstanceInfo", +"description": "Display information of a Cloud SQL instance." +}, +"deliver": { +"$ref": "DeliverInfo", +"description": "Display information of the final state \"deliver\" and reason." +}, +"description": { +"description": "A description of the step. Usually this is a summary of the state.", +"type": "string" +}, +"directVpcEgressConnection": { +"$ref": "DirectVpcEgressConnectionInfo", +"description": "Display information of a serverless direct VPC egress connection." +}, +"drop": { +"$ref": "DropInfo", +"description": "Display information of the final state \"drop\" and reason." +}, +"endpoint": { +"$ref": "EndpointInfo", +"description": "Display information of the source and destination under analysis. The endpoint information in an intermediate state may differ with the initial input, as it might be modified by state like NAT, or Connection Proxy." +}, +"firewall": { +"$ref": "FirewallInfo", +"description": "Display information of a Compute Engine firewall rule." +}, +"forward": { +"$ref": "ForwardInfo", +"description": "Display information of the final state \"forward\" and reason." +}, +"forwardingRule": { +"$ref": "ForwardingRuleInfo", +"description": "Display information of a Compute Engine forwarding rule." +}, +"gkeMaster": { +"$ref": "GKEMasterInfo", +"description": "Display information of a Google Kubernetes Engine cluster master." +}, +"gkePod": { +"$ref": "GkePodInfo", +"description": "Display information of a Google Kubernetes Engine Pod." +}, +"googleService": { +"$ref": "GoogleServiceInfo", +"description": "Display information of a Google service" +}, +"hybridSubnet": { +"$ref": "HybridSubnetInfo", +"description": "Display information of a hybrid subnet." +}, +"instance": { +"$ref": "InstanceInfo", +"description": "Display information of a Compute Engine instance." +}, +"interconnectAttachment": { +"$ref": "InterconnectAttachmentInfo", +"description": "Display information of an interconnect attachment." +}, +"ipMasqueradingSkipped": { +"$ref": "IpMasqueradingSkippedInfo", +"description": "Display information of the reason why GKE Pod IP masquerading was skipped." +}, +"loadBalancer": { +"$ref": "LoadBalancerInfo", +"deprecated": true, +"description": "Display information of the load balancers. Deprecated in favor of the `load_balancer_backend_info` field, not used in new tests." +}, +"loadBalancerBackendInfo": { +"$ref": "LoadBalancerBackendInfo", +"description": "Display information of a specific load balancer backend." +}, +"nat": { +"$ref": "NatInfo", +"description": "Display information of a NAT." +}, +"network": { +"$ref": "NetworkInfo", +"description": "Display information of a Google Cloud network." +}, +"ngfwPacketInspection": { +"$ref": "NgfwPacketInspectionInfo", +"description": "Display information of a layer 7 packet inspection by the firewall." +}, +"projectId": { +"description": "Project ID that contains the configuration this step is validating.", +"type": "string" +}, +"proxyConnection": { +"$ref": "ProxyConnectionInfo", +"description": "Display information of a ProxyConnection." +}, +"redisCluster": { +"$ref": "RedisClusterInfo", +"description": "Display information of a Redis Cluster." +}, +"redisInstance": { +"$ref": "RedisInstanceInfo", +"description": "Display information of a Redis Instance." +}, +"route": { +"$ref": "RouteInfo", +"description": "Display information of a Compute Engine route." +}, +"serverlessExternalConnection": { +"$ref": "ServerlessExternalConnectionInfo", +"description": "Display information of a serverless public (external) connection." +}, +"serverlessNeg": { +"$ref": "ServerlessNegInfo", +"description": "Display information of a Serverless network endpoint group backend. Used only for return traces." +}, +"state": { +"description": "Each step is in one of the pre-defined states.", +"enum": [ +"STATE_UNSPECIFIED", +"START_FROM_INSTANCE", +"START_FROM_INTERNET", +"START_FROM_GOOGLE_SERVICE", +"START_FROM_PRIVATE_NETWORK", +"START_FROM_GKE_MASTER", +"START_FROM_CLOUD_SQL_INSTANCE", +"START_FROM_GKE_POD", +"START_FROM_REDIS_INSTANCE", +"START_FROM_REDIS_CLUSTER", +"START_FROM_CLOUD_FUNCTION", +"START_FROM_APP_ENGINE_VERSION", +"START_FROM_CLOUD_RUN_REVISION", +"START_FROM_STORAGE_BUCKET", +"START_FROM_PSC_PUBLISHED_SERVICE", +"START_FROM_SERVERLESS_NEG", +"APPLY_INGRESS_FIREWALL_RULE", +"APPLY_EGRESS_FIREWALL_RULE", +"APPLY_ROUTE", +"APPLY_FORWARDING_RULE", +"ANALYZE_LOAD_BALANCER_BACKEND", +"SPOOFING_APPROVED", +"ARRIVE_AT_INSTANCE", +"ARRIVE_AT_INTERNAL_LOAD_BALANCER", +"ARRIVE_AT_EXTERNAL_LOAD_BALANCER", +"ARRIVE_AT_HYBRID_SUBNET", +"ARRIVE_AT_VPN_GATEWAY", +"ARRIVE_AT_VPN_TUNNEL", +"ARRIVE_AT_INTERCONNECT_ATTACHMENT", +"ARRIVE_AT_VPC_CONNECTOR", +"DIRECT_VPC_EGRESS_CONNECTION", +"SERVERLESS_EXTERNAL_CONNECTION", +"NGFW_PACKET_INSPECTION", +"NAT", +"SKIP_GKE_POD_IP_MASQUERADING", +"PROXY_CONNECTION", +"DELIVER", +"DROP", +"FORWARD", +"ABORT", +"VIEWER_PERMISSION_MISSING" +], +"enumDeprecated": [ +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +true, +true, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false +], +"enumDescriptions": [ +"Unspecified state.", +"Initial state: packet originating from a Compute Engine instance. An InstanceInfo is populated with starting instance information.", +"Initial state: packet originating from the internet. The endpoint information is populated.", +"Initial state: packet originating from a Google service. The google_service information is populated.", +"Initial state: packet originating from a VPC or on-premises network with internal source IP. If the source is a VPC network visible to the user, a NetworkInfo is populated with details of the network.", +"Initial state: packet originating from a Google Kubernetes Engine cluster master. A GKEMasterInfo is populated with starting instance information.", +"Initial state: packet originating from a Cloud SQL instance. A CloudSQLInstanceInfo is populated with starting instance information.", +"Initial state: packet originating from a Google Kubernetes Engine Pod. A GkePodInfo is populated with starting Pod information.", +"Initial state: packet originating from a Redis instance. A RedisInstanceInfo is populated with starting instance information.", +"Initial state: packet originating from a Redis Cluster. A RedisClusterInfo is populated with starting Cluster information.", +"Initial state: packet originating from a Cloud Function. A CloudFunctionInfo is populated with starting function information.", +"Initial state: packet originating from an App Engine service version. An AppEngineVersionInfo is populated with starting version information.", +"Initial state: packet originating from a Cloud Run revision. A CloudRunRevisionInfo is populated with starting revision information.", +"Initial state: packet originating from a Storage Bucket. Used only for return traces. The storage_bucket information is populated.", +"Initial state: packet originating from a published service that uses Private Service Connect. Used only for return traces.", +"Initial state: packet originating from a serverless network endpoint group backend. Used only for return traces. The serverless_neg information is populated.", +"Config checking state: verify ingress firewall rule.", +"Config checking state: verify egress firewall rule.", +"Config checking state: verify route.", +"Config checking state: match forwarding rule.", +"Config checking state: verify load balancer backend configuration.", +"Config checking state: packet sent or received under foreign IP address and allowed.", +"Forwarding state: arriving at a Compute Engine instance.", +"Forwarding state: arriving at a Compute Engine internal load balancer.", +"Forwarding state: arriving at a Compute Engine external load balancer.", +"Forwarding state: arriving at a hybrid subnet. Appropriate routing configuration will be determined here.", +"Forwarding state: arriving at a Cloud VPN gateway.", +"Forwarding state: arriving at a Cloud VPN tunnel.", +"Forwarding state: arriving at an interconnect attachment.", +"Forwarding state: arriving at a VPC connector.", +"Forwarding state: for packets originating from a serverless endpoint forwarded through Direct VPC egress.", +"Forwarding state: for packets originating from a serverless endpoint forwarded through public (external) connectivity.", +"Forwarding state: Layer 7 packet inspection by the firewall endpoint based on the configured security profile group.", +"Transition state: packet header translated. The `nat` field is populated with the translation information.", +"Transition state: GKE Pod IP masquerading is skipped. The `ip_masquerading_skipped` field is populated with the reason.", +"Transition state: original connection is terminated and a new proxied connection is initiated.", +"Final state: packet could be delivered.", +"Final state: packet could be dropped.", +"Final state: packet could be forwarded to a network with an unknown configuration.", +"Final state: analysis is aborted.", +"Special state: viewer of the test result does not have permission to see the configuration in this step." +], +"type": "string" +}, +"storageBucket": { +"$ref": "StorageBucketInfo", +"description": "Display information of a Storage Bucket. Used only for return traces." +}, +"vpcConnector": { +"$ref": "VpcConnectorInfo", +"description": "Display information of a VPC connector." +}, +"vpnGateway": { +"$ref": "VpnGatewayInfo", +"description": "Display information of a Compute Engine VPN gateway." +}, +"vpnTunnel": { +"$ref": "VpnTunnelInfo", +"description": "Display information of a Compute Engine VPN tunnel." +} +}, +"type": "object" +}, +"StorageBucketInfo": { +"description": "For display only. Metadata associated with Storage Bucket.", +"id": "StorageBucketInfo", +"properties": { +"bucket": { +"description": "Cloud Storage Bucket name.", +"type": "string" +} +}, +"type": "object" +}, +"TestIamPermissionsRequest": { +"description": "Request message for `TestIamPermissions` method.", +"id": "TestIamPermissionsRequest", +"properties": { +"permissions": { +"description": "The set of permissions to check for the `resource`. Permissions with wildcards (such as `*` or `storage.*`) are not allowed. For more information see [IAM Overview](https://cloud.google.com/iam/docs/overview#permissions).", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"TestIamPermissionsResponse": { +"description": "Response message for `TestIamPermissions` method.", +"id": "TestIamPermissionsResponse", +"properties": { +"permissions": { +"description": "A subset of `TestPermissionsRequest.permissions` that the caller is allowed.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"Trace": { +"description": "Trace represents one simulated packet forwarding path. * Each trace contains multiple ordered steps. * Each step is in a particular state with associated configuration. * State is categorized as final or non-final states. * Each final state has a reason associated. * Each trace must end with a final state (the last step). ``` |---------------------Trace----------------------| Step1(State) Step2(State) --- StepN(State(final)) ```", +"id": "Trace", +"properties": { +"endpointInfo": { +"$ref": "EndpointInfo", +"description": "Derived from the source and destination endpoints definition specified by user request, and validated by the data plane model. If there are multiple traces starting from different source locations, then the endpoint_info may be different between traces." +}, +"forwardTraceId": { +"description": "ID of trace. For forward traces, this ID is unique for each trace. For return traces, it matches ID of associated forward trace. A single forward trace can be associated with none, one or more than one return trace.", +"format": "int32", +"type": "integer" +}, +"steps": { +"description": "A trace of a test contains multiple steps from the initial state to the final state (delivered, dropped, forwarded, or aborted). The steps are ordered by the processing sequence within the simulated network state machine. It is critical to preserve the order of the steps and avoid reordering or sorting them.", +"items": { +"$ref": "Step" +}, +"type": "array" +} +}, +"type": "object" +}, +"VpcConnectorInfo": { +"description": "For display only. Metadata associated with a VPC connector.", +"id": "VpcConnectorInfo", +"properties": { +"displayName": { +"description": "Name of a VPC connector.", +"type": "string" +}, +"location": { +"description": "Location in which the VPC connector is deployed.", +"type": "string" +}, +"uri": { +"description": "URI of a VPC connector.", +"type": "string" +} +}, +"type": "object" +}, +"VpcFlowLogsConfig": { +"description": "A configuration to generate VPC Flow Logs.", +"id": "VpcFlowLogsConfig", +"properties": { +"aggregationInterval": { +"description": "Optional. The aggregation interval for the logs. Default value is INTERVAL_5_SEC.", +"enum": [ +"AGGREGATION_INTERVAL_UNSPECIFIED", +"INTERVAL_5_SEC", +"INTERVAL_30_SEC", +"INTERVAL_1_MIN", +"INTERVAL_5_MIN", +"INTERVAL_10_MIN", +"INTERVAL_15_MIN" +], +"enumDescriptions": [ +"If not specified, will default to INTERVAL_5_SEC.", +"Aggregate logs in 5s intervals.", +"Aggregate logs in 30s intervals.", +"Aggregate logs in 1m intervals.", +"Aggregate logs in 5m intervals.", +"Aggregate logs in 10m intervals.", +"Aggregate logs in 15m intervals." +], +"type": "string" +}, +"createTime": { +"description": "Output only. The time the config was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"crossProjectMetadata": { +"description": "Optional. Determines whether to include cross project annotations in the logs. This field is available only for organization configurations. If not specified in org configs will be set to CROSS_PROJECT_METADATA_ENABLED.", +"enum": [ +"CROSS_PROJECT_METADATA_UNSPECIFIED", +"CROSS_PROJECT_METADATA_ENABLED", +"CROSS_PROJECT_METADATA_DISABLED" +], +"enumDescriptions": [ +"If not specified, the default is CROSS_PROJECT_METADATA_ENABLED.", +"When CROSS_PROJECT_METADATA_ENABLED, metadata from other projects will be included in the logs.", +"When CROSS_PROJECT_METADATA_DISABLED, metadata from other projects will not be included in the logs." +], +"type": "string" +}, +"description": { +"description": "Optional. The user-supplied description of the VPC Flow Logs configuration. Maximum of 512 characters.", +"type": "string" +}, +"filterExpr": { +"description": "Optional. Export filter used to define which VPC Flow Logs should be logged.", +"type": "string" +}, +"flowSampling": { +"description": "Optional. The value of the field must be in (0, 1]. The sampling rate of VPC Flow Logs where 1.0 means all collected logs are reported. Setting the sampling rate to 0.0 is not allowed. If you want to disable VPC Flow Logs, use the state field instead. Default value is 1.0.", +"format": "float", +"type": "number" +}, +"interconnectAttachment": { +"description": "Traffic will be logged from the Interconnect Attachment. Format: projects/{project_id}/regions/{region}/interconnectAttachments/{name}", +"type": "string" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. Resource labels to represent user-provided metadata.", +"type": "object" +}, +"metadata": { +"description": "Optional. Configures whether all, none or a subset of metadata fields should be added to the reported VPC flow logs. Default value is INCLUDE_ALL_METADATA.", +"enum": [ +"METADATA_UNSPECIFIED", +"INCLUDE_ALL_METADATA", +"EXCLUDE_ALL_METADATA", +"CUSTOM_METADATA" +], +"enumDescriptions": [ +"If not specified, will default to INCLUDE_ALL_METADATA.", +"Include all metadata fields.", +"Exclude all metadata fields.", +"Include only custom fields (specified in metadata_fields)." +], +"type": "string" +}, +"metadataFields": { +"description": "Optional. Custom metadata fields to include in the reported VPC flow logs. Can only be specified if \"metadata\" was set to CUSTOM_METADATA.", +"items": { +"type": "string" +}, +"type": "array" +}, +"name": { +"description": "Identifier. Unique name of the configuration. The name can have one of the following forms: - For project-level configurations: `projects/{project_id}/locations/global/vpcFlowLogsConfigs/{vpc_flow_logs_config_id}` - For organization-level configurations: `organizations/{organization_id}/locations/global/vpcFlowLogsConfigs/{vpc_flow_logs_config_id}`", +"type": "string" +}, +"network": { +"description": "Traffic will be logged from VMs, VPN tunnels and Interconnect Attachments within the network. Format: projects/{project_id}/global/networks/{name}", +"type": "string" +}, +"state": { +"description": "Optional. The state of the VPC Flow Log configuration. Default value is ENABLED. When creating a new configuration, it must be enabled. Setting state=DISABLED will pause the log generation for this config.", +"enum": [ +"STATE_UNSPECIFIED", +"ENABLED", +"DISABLED" +], +"enumDescriptions": [ +"If not specified, will default to ENABLED.", +"When ENABLED, this configuration will generate logs.", +"When DISABLED, this configuration will not generate logs." +], +"type": "string" +}, +"subnet": { +"description": "Traffic will be logged from VMs within the subnetwork. Format: projects/{project_id}/regions/{region}/subnetworks/{name}", +"type": "string" +}, +"targetResourceState": { +"description": "Output only. Describes the state of the configured target resource for diagnostic purposes.", +"enum": [ +"TARGET_RESOURCE_STATE_UNSPECIFIED", +"TARGET_RESOURCE_EXISTS", +"TARGET_RESOURCE_DOES_NOT_EXIST" +], +"enumDescriptions": [ +"Unspecified target resource state.", +"Indicates that the target resource exists.", +"Indicates that the target resource does not exist." +], +"readOnly": true, +"type": "string" +}, +"updateTime": { +"description": "Output only. The time the config was updated.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"vpnTunnel": { +"description": "Traffic will be logged from the VPN Tunnel. Format: projects/{project_id}/regions/{region}/vpnTunnels/{name}", +"type": "string" +} +}, +"type": "object" +}, +"VpnGatewayInfo": { +"description": "For display only. Metadata associated with a Compute Engine VPN gateway.", +"id": "VpnGatewayInfo", +"properties": { +"displayName": { +"description": "Name of a VPN gateway.", +"type": "string" +}, +"ipAddress": { +"description": "IP address of the VPN gateway.", +"type": "string" +}, +"networkUri": { +"description": "URI of a Compute Engine network where the VPN gateway is configured.", +"type": "string" +}, +"region": { +"description": "Name of a Google Cloud region where this VPN gateway is configured.", +"type": "string" +}, +"uri": { +"description": "URI of a VPN gateway.", +"type": "string" +}, +"vpnTunnelUri": { +"description": "A VPN tunnel that is associated with this VPN gateway. There may be multiple VPN tunnels configured on a VPN gateway, and only the one relevant to the test is displayed.", +"type": "string" +} +}, +"type": "object" +}, +"VpnTunnelInfo": { +"description": "For display only. Metadata associated with a Compute Engine VPN tunnel.", +"id": "VpnTunnelInfo", +"properties": { +"displayName": { +"description": "Name of a VPN tunnel.", +"type": "string" +}, +"networkUri": { +"description": "URI of a Compute Engine network where the VPN tunnel is configured.", +"type": "string" +}, +"region": { +"description": "Name of a Google Cloud region where this VPN tunnel is configured.", +"type": "string" +}, +"remoteGateway": { +"description": "URI of a VPN gateway at remote end of the tunnel.", +"type": "string" +}, +"remoteGatewayIp": { +"description": "Remote VPN gateway's IP address.", +"type": "string" +}, +"routingType": { +"description": "Type of the routing policy.", +"enum": [ +"ROUTING_TYPE_UNSPECIFIED", +"ROUTE_BASED", +"POLICY_BASED", +"DYNAMIC" +], +"enumDescriptions": [ +"Unspecified type. Default value.", +"Route based VPN.", +"Policy based routing.", +"Dynamic (BGP) routing." +], +"type": "string" +}, +"sourceGateway": { +"description": "URI of the VPN gateway at local end of the tunnel.", +"type": "string" +}, +"sourceGatewayIp": { +"description": "Local VPN gateway's IP address.", +"type": "string" +}, +"uri": { +"description": "URI of a VPN tunnel.", +"type": "string" +} +}, +"type": "object" +} +}, +"servicePath": "", +"title": "Network Management API", +"version": "v1", +"version_module": true +} \ No newline at end of file diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/networkmanagement.v1beta1.json b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/networkmanagement.v1beta1.json new file mode 100644 index 0000000000000000000000000000000000000000..00678dc59251f4be5d350bb20bae4a09a9fa6a68 --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/networkmanagement.v1beta1.json @@ -0,0 +1,4641 @@ +{ +"auth": { +"oauth2": { +"scopes": { +"https://www.googleapis.com/auth/cloud-platform": { +"description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." +} +} +} +}, +"basePath": "", +"baseUrl": "https://networkmanagement.googleapis.com/", +"batchPath": "batch", +"canonicalName": "Network Management", +"description": "The Network Management API provides a collection of network performance monitoring and diagnostic capabilities.", +"discoveryVersion": "v1", +"documentationLink": "https://cloud.google.com/", +"fullyEncodeReservedExpansion": true, +"icons": { +"x16": "http://www.google.com/images/icons/product/search-16.gif", +"x32": "http://www.google.com/images/icons/product/search-32.gif" +}, +"id": "networkmanagement:v1beta1", +"kind": "discovery#restDescription", +"mtlsRootUrl": "https://networkmanagement.mtls.googleapis.com/", +"name": "networkmanagement", +"ownerDomain": "google.com", +"ownerName": "Google", +"parameters": { +"$.xgafv": { +"description": "V1 error format.", +"enum": [ +"1", +"2" +], +"enumDescriptions": [ +"v1 error format", +"v2 error format" +], +"location": "query", +"type": "string" +}, +"access_token": { +"description": "OAuth access token.", +"location": "query", +"type": "string" +}, +"alt": { +"default": "json", +"description": "Data format for response.", +"enum": [ +"json", +"media", +"proto" +], +"enumDescriptions": [ +"Responses with Content-Type of application/json", +"Media download with context-dependent Content-Type", +"Responses with Content-Type of application/x-protobuf" +], +"location": "query", +"type": "string" +}, +"callback": { +"description": "JSONP", +"location": "query", +"type": "string" +}, +"fields": { +"description": "Selector specifying which fields to include in a partial response.", +"location": "query", +"type": "string" +}, +"key": { +"description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", +"location": "query", +"type": "string" +}, +"oauth_token": { +"description": "OAuth 2.0 token for the current user.", +"location": "query", +"type": "string" +}, +"prettyPrint": { +"default": "true", +"description": "Returns response with indentations and line breaks.", +"location": "query", +"type": "boolean" +}, +"quotaUser": { +"description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.", +"location": "query", +"type": "string" +}, +"uploadType": { +"description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", +"location": "query", +"type": "string" +}, +"upload_protocol": { +"description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", +"location": "query", +"type": "string" +} +}, +"protocol": "rest", +"resources": { +"organizations": { +"resources": { +"locations": { +"methods": { +"get": { +"description": "Gets information about a location.", +"flatPath": "v1beta1/organizations/{organizationsId}/locations/{locationsId}", +"httpMethod": "GET", +"id": "networkmanagement.organizations.locations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Resource name for the location.", +"location": "path", +"pattern": "^organizations/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+name}", +"response": { +"$ref": "Location" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists information about the supported locations for this service. This method can be called in two ways: * **List all public locations:** Use the path `GET /v1/locations`. * **List project-visible locations:** Use the path `GET /v1/projects/{project_id}/locations`. This may include public locations as well as private or other locations specifically visible to the project.", +"flatPath": "v1beta1/organizations/{organizationsId}/locations", +"httpMethod": "GET", +"id": "networkmanagement.organizations.locations.list", +"parameterOrder": [ +"name" +], +"parameters": { +"extraLocationTypes": { +"description": "Optional. Do not use this field. It is unsupported and is ignored unless explicitly documented otherwise. This is primarily for internal usage.", +"location": "query", +"repeated": true, +"type": "string" +}, +"filter": { +"description": "A filter to narrow down results to a preferred subset. The filtering language accepts strings like `\"displayName=tokyo\"`, and is documented in more detail in [AIP-160](https://google.aip.dev/160).", +"location": "query", +"type": "string" +}, +"name": { +"description": "The resource that owns the locations collection, if applicable.", +"location": "path", +"pattern": "^organizations/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The maximum number of results to return. If not set, the service selects a default.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A page token received from the `next_page_token` field in the response. Send that page token to receive the subsequent page.", +"location": "query", +"type": "string" +} +}, +"path": "v1beta1/{+name}/locations", +"response": { +"$ref": "ListLocationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"global": { +"resources": { +"operations": { +"methods": { +"cancel": { +"description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.", +"flatPath": "v1beta1/organizations/{organizationsId}/locations/global/operations/{operationsId}:cancel", +"httpMethod": "POST", +"id": "networkmanagement.organizations.locations.global.operations.cancel", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be cancelled.", +"location": "path", +"pattern": "^organizations/[^/]+/locations/global/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+name}:cancel", +"request": { +"$ref": "CancelOperationRequest" +}, +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.", +"flatPath": "v1beta1/organizations/{organizationsId}/locations/global/operations/{operationsId}", +"httpMethod": "DELETE", +"id": "networkmanagement.organizations.locations.global.operations.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be deleted.", +"location": "path", +"pattern": "^organizations/[^/]+/locations/global/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+name}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", +"flatPath": "v1beta1/organizations/{organizationsId}/locations/global/operations/{operationsId}", +"httpMethod": "GET", +"id": "networkmanagement.organizations.locations.global.operations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource.", +"location": "path", +"pattern": "^organizations/[^/]+/locations/global/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.", +"flatPath": "v1beta1/organizations/{organizationsId}/locations/global/operations", +"httpMethod": "GET", +"id": "networkmanagement.organizations.locations.global.operations.list", +"parameterOrder": [ +"name" +], +"parameters": { +"filter": { +"description": "The standard list filter.", +"location": "query", +"type": "string" +}, +"name": { +"description": "The name of the operation's parent resource.", +"location": "path", +"pattern": "^organizations/[^/]+/locations/global$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The standard list page size.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The standard list page token.", +"location": "query", +"type": "string" +}, +"returnPartialSuccess": { +"description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `\"projects/example/locations/-\"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1beta1/{+name}/operations", +"response": { +"$ref": "ListOperationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +}, +"vpcFlowLogsConfigs": { +"methods": { +"create": { +"description": "Creates a new `VpcFlowLogsConfig`. If a configuration with the exact same settings already exists (even if the ID is different), the creation fails. Notes: 1. Creating a configuration with `state=DISABLED` will fail 2. The following fields are not considered as settings for the purpose of the check mentioned above, therefore - creating another configuration with the same fields but different values for the following fields will fail as well: * name * create_time * update_time * labels * description", +"flatPath": "v1beta1/organizations/{organizationsId}/locations/{locationsId}/vpcFlowLogsConfigs", +"httpMethod": "POST", +"id": "networkmanagement.organizations.locations.vpcFlowLogsConfigs.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The parent resource of the VpcFlowLogsConfig to create, in one of the following formats: - For project-level resources: `projects/{project_id}/locations/global` - For organization-level resources: `organizations/{organization_id}/locations/global`", +"location": "path", +"pattern": "^organizations/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +}, +"vpcFlowLogsConfigId": { +"description": "Required. ID of the `VpcFlowLogsConfig`.", +"location": "query", +"type": "string" +} +}, +"path": "v1beta1/{+parent}/vpcFlowLogsConfigs", +"request": { +"$ref": "VpcFlowLogsConfig" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a specific `VpcFlowLogsConfig`.", +"flatPath": "v1beta1/organizations/{organizationsId}/locations/{locationsId}/vpcFlowLogsConfigs/{vpcFlowLogsConfigsId}", +"httpMethod": "DELETE", +"id": "networkmanagement.organizations.locations.vpcFlowLogsConfigs.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the VpcFlowLogsConfig, in one of the following formats: - For a project-level resource: `projects/{project_id}/locations/global/vpcFlowLogsConfigs/{vpc_flow_logs_config_id}` - For an organization-level resource: `organizations/{organization_id}/locations/global/vpcFlowLogsConfigs/{vpc_flow_logs_config_id}`", +"location": "path", +"pattern": "^organizations/[^/]+/locations/[^/]+/vpcFlowLogsConfigs/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets the details of a specific `VpcFlowLogsConfig`.", +"flatPath": "v1beta1/organizations/{organizationsId}/locations/{locationsId}/vpcFlowLogsConfigs/{vpcFlowLogsConfigsId}", +"httpMethod": "GET", +"id": "networkmanagement.organizations.locations.vpcFlowLogsConfigs.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the VpcFlowLogsConfig, in one of the following formats: - For project-level resources: `projects/{project_id}/locations/global/vpcFlowLogsConfigs/{vpc_flow_logs_config_id}` - For organization-level resources: `organizations/{organization_id}/locations/global/vpcFlowLogsConfigs/{vpc_flow_logs_config_id}`", +"location": "path", +"pattern": "^organizations/[^/]+/locations/[^/]+/vpcFlowLogsConfigs/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+name}", +"response": { +"$ref": "VpcFlowLogsConfig" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists all `VpcFlowLogsConfigs` in a given organization.", +"flatPath": "v1beta1/organizations/{organizationsId}/locations/{locationsId}/vpcFlowLogsConfigs", +"httpMethod": "GET", +"id": "networkmanagement.organizations.locations.vpcFlowLogsConfigs.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Optional. Lists the `VpcFlowLogsConfigs` that match the filter expression. A filter expression must use the supported [CEL logic operators] (https://cloud.google.com/vpc/docs/about-flow-logs-records#supported_cel_logic_operators).", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "Optional. Field to use to sort the list.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Optional. Number of `VpcFlowLogsConfigs` to return.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. Page token from an earlier query, as returned in `next_page_token`.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent resource of the VpcFlowLogsConfig, in one of the following formats: - For project-level resources: `projects/{project_id}/locations/global` - For organization-level resources: `organizations/{organization_id}/locations/global`", +"location": "path", +"pattern": "^organizations/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+parent}/vpcFlowLogsConfigs", +"response": { +"$ref": "ListVpcFlowLogsConfigsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates an existing `VpcFlowLogsConfig`. If a configuration with the exact same settings already exists (even if the ID is different), the creation fails. Notes: 1. Updating a configuration with `state=DISABLED` will fail 2. The following fields are not considered as settings for the purpose of the check mentioned above, therefore - updating another configuration with the same fields but different values for the following fields will fail as well: * name * create_time * update_time * labels * description", +"flatPath": "v1beta1/organizations/{organizationsId}/locations/{locationsId}/vpcFlowLogsConfigs/{vpcFlowLogsConfigsId}", +"httpMethod": "PATCH", +"id": "networkmanagement.organizations.locations.vpcFlowLogsConfigs.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Identifier. Unique name of the configuration. The name can have one of the following forms: - For project-level configurations: `projects/{project_id}/locations/global/vpcFlowLogsConfigs/{vpc_flow_logs_config_id}` - For organization-level configurations: `organizations/{organization_id}/locations/global/vpcFlowLogsConfigs/{vpc_flow_logs_config_id}`", +"location": "path", +"pattern": "^organizations/[^/]+/locations/[^/]+/vpcFlowLogsConfigs/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Required. Mask of fields to update. At least one path must be supplied in this field. For example, to change the state of the configuration to ENABLED, specify `update_mask` = `\"state\"`, and the `vpc_flow_logs_config` would be: `vpc_flow_logs_config = { name = \"projects/my-project/locations/global/vpcFlowLogsConfigs/my-config\" state = \"ENABLED\" }`", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1beta1/{+name}", +"request": { +"$ref": "VpcFlowLogsConfig" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +} +} +}, +"projects": { +"resources": { +"locations": { +"methods": { +"get": { +"description": "Gets information about a location.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}", +"httpMethod": "GET", +"id": "networkmanagement.projects.locations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Resource name for the location.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+name}", +"response": { +"$ref": "Location" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists information about the supported locations for this service. This method can be called in two ways: * **List all public locations:** Use the path `GET /v1/locations`. * **List project-visible locations:** Use the path `GET /v1/projects/{project_id}/locations`. This may include public locations as well as private or other locations specifically visible to the project.", +"flatPath": "v1beta1/projects/{projectsId}/locations", +"httpMethod": "GET", +"id": "networkmanagement.projects.locations.list", +"parameterOrder": [ +"name" +], +"parameters": { +"extraLocationTypes": { +"description": "Optional. Do not use this field. It is unsupported and is ignored unless explicitly documented otherwise. This is primarily for internal usage.", +"location": "query", +"repeated": true, +"type": "string" +}, +"filter": { +"description": "A filter to narrow down results to a preferred subset. The filtering language accepts strings like `\"displayName=tokyo\"`, and is documented in more detail in [AIP-160](https://google.aip.dev/160).", +"location": "query", +"type": "string" +}, +"name": { +"description": "The resource that owns the locations collection, if applicable.", +"location": "path", +"pattern": "^projects/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The maximum number of results to return. If not set, the service selects a default.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A page token received from the `next_page_token` field in the response. Send that page token to receive the subsequent page.", +"location": "query", +"type": "string" +} +}, +"path": "v1beta1/{+name}/locations", +"response": { +"$ref": "ListLocationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"global": { +"resources": { +"connectivityTests": { +"methods": { +"create": { +"description": "Creates a new Connectivity Test. After you create a test, the reachability analysis is performed as part of the long running operation, which completes when the analysis completes. If the endpoint specifications in `ConnectivityTest` are invalid (for example, containing non-existent resources in the network, or you don't have read permissions to the network configurations of listed projects), then the reachability result returns a value of `UNKNOWN`. If the endpoint specifications in `ConnectivityTest` are incomplete, the reachability result returns a value of AMBIGUOUS. For more information, see the Connectivity Test documentation.", +"flatPath": "v1beta1/projects/{projectsId}/locations/global/connectivityTests", +"httpMethod": "POST", +"id": "networkmanagement.projects.locations.global.connectivityTests.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The parent resource of the Connectivity Test to create: `projects/{project_id}/locations/global`", +"location": "path", +"pattern": "^projects/[^/]+/locations/global$", +"required": true, +"type": "string" +}, +"testId": { +"description": "Required. The logical name of the Connectivity Test in your project with the following restrictions: * Must contain only lowercase letters, numbers, and hyphens. * Must start with a letter. * Must be between 1-40 characters. * Must end with a number or a letter. * Must be unique within the customer project", +"location": "query", +"type": "string" +} +}, +"path": "v1beta1/{+parent}/connectivityTests", +"request": { +"$ref": "ConnectivityTest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a specific `ConnectivityTest`.", +"flatPath": "v1beta1/projects/{projectsId}/locations/global/connectivityTests/{connectivityTestsId}", +"httpMethod": "DELETE", +"id": "networkmanagement.projects.locations.global.connectivityTests.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Connectivity Test resource name using the form: `projects/{project_id}/locations/global/connectivityTests/{test_id}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/global/connectivityTests/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets the details of a specific Connectivity Test.", +"flatPath": "v1beta1/projects/{projectsId}/locations/global/connectivityTests/{connectivityTestsId}", +"httpMethod": "GET", +"id": "networkmanagement.projects.locations.global.connectivityTests.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. `ConnectivityTest` resource name using the form: `projects/{project_id}/locations/global/connectivityTests/{test_id}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/global/connectivityTests/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+name}", +"response": { +"$ref": "ConnectivityTest" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"getIamPolicy": { +"description": "Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.", +"flatPath": "v1beta1/projects/{projectsId}/locations/global/connectivityTests/{connectivityTestsId}:getIamPolicy", +"httpMethod": "GET", +"id": "networkmanagement.projects.locations.global.connectivityTests.getIamPolicy", +"parameterOrder": [ +"resource" +], +"parameters": { +"options.requestedPolicyVersion": { +"description": "Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).", +"format": "int32", +"location": "query", +"type": "integer" +}, +"resource": { +"description": "REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", +"location": "path", +"pattern": "^projects/[^/]+/locations/global/connectivityTests/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+resource}:getIamPolicy", +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists all Connectivity Tests owned by a project.", +"flatPath": "v1beta1/projects/{projectsId}/locations/global/connectivityTests", +"httpMethod": "GET", +"id": "networkmanagement.projects.locations.global.connectivityTests.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Lists the `ConnectivityTests` that match the filter expression. A filter expression filters the resources listed in the response. The expression must be of the form ` ` where operators: `<`, `>`, `<=`, `>=`, `!=`, `=`, `:` are supported (colon `:` represents a HAS operator which is roughly synonymous with equality). can refer to a proto or JSON field, or a synthetic field. Field names can be camelCase or snake_case. Examples: - Filter by name: name = \"projects/proj-1/locations/global/connectivityTests/test-1 - Filter by labels: - Resources that have a key called `foo` labels.foo:* - Resources that have a key called `foo` whose value is `bar` labels.foo = bar", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "Field to use to sort the list.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Number of `ConnectivityTests` to return.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Page token from an earlier query, as returned in `next_page_token`.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent resource of the Connectivity Tests: `projects/{project_id}/locations/global`", +"location": "path", +"pattern": "^projects/[^/]+/locations/global$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+parent}/connectivityTests", +"response": { +"$ref": "ListConnectivityTestsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates the configuration of an existing `ConnectivityTest`. After you update a test, the reachability analysis is performed as part of the long running operation, which completes when the analysis completes. The Reachability state in the test resource is updated with the new result. If the endpoint specifications in `ConnectivityTest` are invalid (for example, they contain non-existent resources in the network, or the user does not have read permissions to the network configurations of listed projects), then the reachability result returns a value of UNKNOWN. If the endpoint specifications in `ConnectivityTest` are incomplete, the reachability result returns a value of `AMBIGUOUS`. See the documentation in `ConnectivityTest` for more details.", +"flatPath": "v1beta1/projects/{projectsId}/locations/global/connectivityTests/{connectivityTestsId}", +"httpMethod": "PATCH", +"id": "networkmanagement.projects.locations.global.connectivityTests.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Identifier. Unique name of the resource using the form: `projects/{project_id}/locations/global/connectivityTests/{test}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/global/connectivityTests/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Required. Mask of fields to update. At least one path must be supplied in this field.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1beta1/{+name}", +"request": { +"$ref": "ConnectivityTest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"rerun": { +"description": "Rerun an existing `ConnectivityTest`. After the user triggers the rerun, the reachability analysis is performed as part of the long running operation, which completes when the analysis completes. Even though the test configuration remains the same, the reachability result may change due to underlying network configuration changes. If the endpoint specifications in `ConnectivityTest` become invalid (for example, specified resources are deleted in the network, or you lost read permissions to the network configurations of listed projects), then the reachability result returns a value of `UNKNOWN`.", +"flatPath": "v1beta1/projects/{projectsId}/locations/global/connectivityTests/{connectivityTestsId}:rerun", +"httpMethod": "POST", +"id": "networkmanagement.projects.locations.global.connectivityTests.rerun", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Connectivity Test resource name using the form: `projects/{project_id}/locations/global/connectivityTests/{test_id}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/global/connectivityTests/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+name}:rerun", +"request": { +"$ref": "RerunConnectivityTestRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"setIamPolicy": { +"description": "Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.", +"flatPath": "v1beta1/projects/{projectsId}/locations/global/connectivityTests/{connectivityTestsId}:setIamPolicy", +"httpMethod": "POST", +"id": "networkmanagement.projects.locations.global.connectivityTests.setIamPolicy", +"parameterOrder": [ +"resource" +], +"parameters": { +"resource": { +"description": "REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", +"location": "path", +"pattern": "^projects/[^/]+/locations/global/connectivityTests/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+resource}:setIamPolicy", +"request": { +"$ref": "SetIamPolicyRequest" +}, +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"testIamPermissions": { +"description": "Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may \"fail open\" without warning.", +"flatPath": "v1beta1/projects/{projectsId}/locations/global/connectivityTests/{connectivityTestsId}:testIamPermissions", +"httpMethod": "POST", +"id": "networkmanagement.projects.locations.global.connectivityTests.testIamPermissions", +"parameterOrder": [ +"resource" +], +"parameters": { +"resource": { +"description": "REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", +"location": "path", +"pattern": "^projects/[^/]+/locations/global/connectivityTests/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+resource}:testIamPermissions", +"request": { +"$ref": "TestIamPermissionsRequest" +}, +"response": { +"$ref": "TestIamPermissionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"operations": { +"methods": { +"cancel": { +"description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.", +"flatPath": "v1beta1/projects/{projectsId}/locations/global/operations/{operationsId}:cancel", +"httpMethod": "POST", +"id": "networkmanagement.projects.locations.global.operations.cancel", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be cancelled.", +"location": "path", +"pattern": "^projects/[^/]+/locations/global/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+name}:cancel", +"request": { +"$ref": "CancelOperationRequest" +}, +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.", +"flatPath": "v1beta1/projects/{projectsId}/locations/global/operations/{operationsId}", +"httpMethod": "DELETE", +"id": "networkmanagement.projects.locations.global.operations.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be deleted.", +"location": "path", +"pattern": "^projects/[^/]+/locations/global/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+name}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", +"flatPath": "v1beta1/projects/{projectsId}/locations/global/operations/{operationsId}", +"httpMethod": "GET", +"id": "networkmanagement.projects.locations.global.operations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/global/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.", +"flatPath": "v1beta1/projects/{projectsId}/locations/global/operations", +"httpMethod": "GET", +"id": "networkmanagement.projects.locations.global.operations.list", +"parameterOrder": [ +"name" +], +"parameters": { +"filter": { +"description": "The standard list filter.", +"location": "query", +"type": "string" +}, +"name": { +"description": "The name of the operation's parent resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/global$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The standard list page size.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The standard list page token.", +"location": "query", +"type": "string" +}, +"returnPartialSuccess": { +"description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `\"projects/example/locations/-\"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1beta1/{+name}/operations", +"response": { +"$ref": "ListOperationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +}, +"vpcFlowLogsConfigs": { +"methods": { +"create": { +"description": "Creates a new `VpcFlowLogsConfig`. If a configuration with the exact same settings already exists (even if the ID is different), the creation fails. Notes: 1. Creating a configuration with `state=DISABLED` will fail 2. The following fields are not considered as settings for the purpose of the check mentioned above, therefore - creating another configuration with the same fields but different values for the following fields will fail as well: * name * create_time * update_time * labels * description", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/vpcFlowLogsConfigs", +"httpMethod": "POST", +"id": "networkmanagement.projects.locations.vpcFlowLogsConfigs.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The parent resource of the VpcFlowLogsConfig to create, in one of the following formats: - For project-level resources: `projects/{project_id}/locations/global` - For organization-level resources: `organizations/{organization_id}/locations/global`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +}, +"vpcFlowLogsConfigId": { +"description": "Required. ID of the `VpcFlowLogsConfig`.", +"location": "query", +"type": "string" +} +}, +"path": "v1beta1/{+parent}/vpcFlowLogsConfigs", +"request": { +"$ref": "VpcFlowLogsConfig" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a specific `VpcFlowLogsConfig`.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/vpcFlowLogsConfigs/{vpcFlowLogsConfigsId}", +"httpMethod": "DELETE", +"id": "networkmanagement.projects.locations.vpcFlowLogsConfigs.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the VpcFlowLogsConfig, in one of the following formats: - For a project-level resource: `projects/{project_id}/locations/global/vpcFlowLogsConfigs/{vpc_flow_logs_config_id}` - For an organization-level resource: `organizations/{organization_id}/locations/global/vpcFlowLogsConfigs/{vpc_flow_logs_config_id}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/vpcFlowLogsConfigs/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets the details of a specific `VpcFlowLogsConfig`.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/vpcFlowLogsConfigs/{vpcFlowLogsConfigsId}", +"httpMethod": "GET", +"id": "networkmanagement.projects.locations.vpcFlowLogsConfigs.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the VpcFlowLogsConfig, in one of the following formats: - For project-level resources: `projects/{project_id}/locations/global/vpcFlowLogsConfigs/{vpc_flow_logs_config_id}` - For organization-level resources: `organizations/{organization_id}/locations/global/vpcFlowLogsConfigs/{vpc_flow_logs_config_id}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/vpcFlowLogsConfigs/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+name}", +"response": { +"$ref": "VpcFlowLogsConfig" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists all `VpcFlowLogsConfigs` in a given project.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/vpcFlowLogsConfigs", +"httpMethod": "GET", +"id": "networkmanagement.projects.locations.vpcFlowLogsConfigs.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Optional. Lists the `VpcFlowLogsConfigs` that match the filter expression. A filter expression must use the supported [CEL logic operators] (https://cloud.google.com/vpc/docs/about-flow-logs-records#supported_cel_logic_operators).", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "Optional. Field to use to sort the list.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Optional. Number of `VpcFlowLogsConfigs` to return.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. Page token from an earlier query, as returned in `next_page_token`.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent resource of the VpcFlowLogsConfig, in one of the following formats: - For project-level resources: `projects/{project_id}/locations/global` - For organization-level resources: `organizations/{organization_id}/locations/global`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+parent}/vpcFlowLogsConfigs", +"response": { +"$ref": "ListVpcFlowLogsConfigsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates an existing `VpcFlowLogsConfig`. If a configuration with the exact same settings already exists (even if the ID is different), the creation fails. Notes: 1. Updating a configuration with `state=DISABLED` will fail 2. The following fields are not considered as settings for the purpose of the check mentioned above, therefore - updating another configuration with the same fields but different values for the following fields will fail as well: * name * create_time * update_time * labels * description", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/vpcFlowLogsConfigs/{vpcFlowLogsConfigsId}", +"httpMethod": "PATCH", +"id": "networkmanagement.projects.locations.vpcFlowLogsConfigs.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Identifier. Unique name of the configuration. The name can have one of the following forms: - For project-level configurations: `projects/{project_id}/locations/global/vpcFlowLogsConfigs/{vpc_flow_logs_config_id}` - For organization-level configurations: `organizations/{organization_id}/locations/global/vpcFlowLogsConfigs/{vpc_flow_logs_config_id}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/vpcFlowLogsConfigs/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Required. Mask of fields to update. At least one path must be supplied in this field. For example, to change the state of the configuration to ENABLED, specify `update_mask` = `\"state\"`, and the `vpc_flow_logs_config` would be: `vpc_flow_logs_config = { name = \"projects/my-project/locations/global/vpcFlowLogsConfigs/my-config\" state = \"ENABLED\" }`", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1beta1/{+name}", +"request": { +"$ref": "VpcFlowLogsConfig" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"queryOrgVpcFlowLogsConfigs": { +"description": "QueryOrgVpcFlowLogsConfigs returns a list of all organization-level VPC Flow Logs configurations applicable to the specified project.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/vpcFlowLogsConfigs:queryOrgVpcFlowLogsConfigs", +"httpMethod": "GET", +"id": "networkmanagement.projects.locations.vpcFlowLogsConfigs.queryOrgVpcFlowLogsConfigs", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Optional. Lists the `VpcFlowLogsConfigs` that match the filter expression. A filter expression must use the supported [CEL logic operators] (https://cloud.google.com/vpc/docs/about-flow-logs-records#supported_cel_logic_operators).", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Optional. Number of `VpcFlowLogsConfigs` to return.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. Page token from an earlier query, as returned in `next_page_token`.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent resource of the VpcFlowLogsConfig, specified in the following format: `projects/{project_id}/locations/global`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+parent}/vpcFlowLogsConfigs:queryOrgVpcFlowLogsConfigs", +"response": { +"$ref": "QueryOrgVpcFlowLogsConfigsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"showEffectiveFlowLogsConfigs": { +"description": "ShowEffectiveFlowLogsConfigs returns a list of all VPC Flow Logs configurations applicable to a specified resource.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/vpcFlowLogsConfigs:showEffectiveFlowLogsConfigs", +"httpMethod": "GET", +"id": "networkmanagement.projects.locations.vpcFlowLogsConfigs.showEffectiveFlowLogsConfigs", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Optional. Lists the `EffectiveVpcFlowLogsConfigs` that match the filter expression. A filter expression must use the supported [CEL logic operators] (https://cloud.google.com/vpc/docs/about-flow-logs-records#supported_cel_logic_operators).", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Optional. Number of `EffectiveVpcFlowLogsConfigs` to return. Default is 30.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. Page token from an earlier query, as returned in `next_page_token`.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent resource of the VpcFlowLogsConfig, specified in the following format: `projects/{project_id}/locations/global`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +}, +"resource": { +"description": "Required. The resource to get the effective VPC Flow Logs configuration for. The resource must belong to the same project as the parent. The resource must be a network, subnetwork, interconnect attachment, VPN tunnel, or a project.", +"location": "query", +"type": "string" +} +}, +"path": "v1beta1/{+parent}/vpcFlowLogsConfigs:showEffectiveFlowLogsConfigs", +"response": { +"$ref": "ShowEffectiveFlowLogsConfigsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +} +} +} +}, +"revision": "20260211", +"rootUrl": "https://networkmanagement.googleapis.com/", +"schemas": { +"AbortInfo": { +"description": "Details of the final state \"abort\" and associated resource.", +"id": "AbortInfo", +"properties": { +"cause": { +"description": "Causes that the analysis is aborted.", +"enum": [ +"CAUSE_UNSPECIFIED", +"UNKNOWN_NETWORK", +"UNKNOWN_PROJECT", +"NO_EXTERNAL_IP", +"UNINTENDED_DESTINATION", +"SOURCE_ENDPOINT_NOT_FOUND", +"MISMATCHED_SOURCE_NETWORK", +"DESTINATION_ENDPOINT_NOT_FOUND", +"MISMATCHED_DESTINATION_NETWORK", +"UNKNOWN_IP", +"GOOGLE_MANAGED_SERVICE_UNKNOWN_IP", +"SOURCE_IP_ADDRESS_NOT_IN_SOURCE_NETWORK", +"PERMISSION_DENIED", +"PERMISSION_DENIED_NO_CLOUD_NAT_CONFIGS", +"PERMISSION_DENIED_NO_NEG_ENDPOINT_CONFIGS", +"PERMISSION_DENIED_NO_CLOUD_ROUTER_CONFIGS", +"NO_SOURCE_LOCATION", +"NO_SOURCE_GCP_NETWORK_LOCATION", +"NO_SOURCE_NON_GCP_NETWORK_LOCATION", +"NO_SOURCE_INTERNET_LOCATION", +"INVALID_ARGUMENT", +"TRACE_TOO_LONG", +"INTERNAL_ERROR", +"UNSUPPORTED", +"MISMATCHED_IP_VERSION", +"GKE_KONNECTIVITY_PROXY_UNSUPPORTED", +"RESOURCE_CONFIG_NOT_FOUND", +"VM_INSTANCE_CONFIG_NOT_FOUND", +"NETWORK_CONFIG_NOT_FOUND", +"FIREWALL_CONFIG_NOT_FOUND", +"ROUTE_CONFIG_NOT_FOUND", +"GOOGLE_MANAGED_SERVICE_AMBIGUOUS_PSC_ENDPOINT", +"GOOGLE_MANAGED_SERVICE_AMBIGUOUS_ENDPOINT", +"SOURCE_PSC_CLOUD_SQL_UNSUPPORTED", +"SOURCE_EXTERNAL_CLOUD_SQL_UNSUPPORTED", +"SOURCE_REDIS_CLUSTER_UNSUPPORTED", +"SOURCE_REDIS_INSTANCE_UNSUPPORTED", +"SOURCE_FORWARDING_RULE_UNSUPPORTED", +"NON_ROUTABLE_IP_ADDRESS", +"UNKNOWN_ISSUE_IN_GOOGLE_MANAGED_PROJECT", +"UNSUPPORTED_GOOGLE_MANAGED_PROJECT_CONFIG", +"NO_SERVERLESS_IP_RANGES", +"IP_VERSION_PROTOCOL_MISMATCH", +"GKE_POD_UNKNOWN_ENDPOINT_LOCATION" +], +"enumDeprecated": [ +false, +true, +true, +true, +true, +true, +true, +true, +true, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false +], +"enumDescriptions": [ +"Cause is unspecified.", +"Aborted due to unknown network. Deprecated, not used in the new tests.", +"Aborted because no project information can be derived from the test input. Deprecated, not used in the new tests.", +"Aborted because traffic is sent from a public IP to an instance without an external IP. Deprecated, not used in the new tests.", +"Aborted because none of the traces matches destination information specified in the input test request. Deprecated, not used in the new tests.", +"Aborted because the source endpoint could not be found. Deprecated, not used in the new tests.", +"Aborted because the source network does not match the source endpoint. Deprecated, not used in the new tests.", +"Aborted because the destination endpoint could not be found. Deprecated, not used in the new tests.", +"Aborted because the destination network does not match the destination endpoint. Deprecated, not used in the new tests.", +"Aborted because no endpoint with the packet's destination IP address is found.", +"Aborted because no endpoint with the packet's destination IP is found in the Google-managed project.", +"Aborted because the source IP address doesn't belong to any of the subnets of the source VPC network.", +"Aborted because user lacks permission to access all or part of the network configurations required to run the test.", +"Aborted because user lacks permission to access Cloud NAT configs required to run the test.", +"Aborted because user lacks permission to access Network endpoint group endpoint configs required to run the test.", +"Aborted because user lacks permission to access Cloud Router configs required to run the test.", +"Aborted because no valid source or destination endpoint can be derived from the test request.", +"Aborted because the source IP address is not contained within the subnet ranges of the provided VPC network.", +"Aborted because the source IP address is not contained within the destination ranges of the routes towards non-GCP networks in the provided VPC network.", +"Aborted because the source IP address can't be resolved as an Internet IP address.", +"Aborted because the source or destination endpoint specified in the request is invalid. Some examples: - The request might contain malformed resource URI, project ID, or IP address. - The request might contain inconsistent information (for example, the request might include both the instance and the network, but the instance might not have a NIC in that network).", +"Aborted because the number of steps in the trace exceeds a certain limit. It might be caused by a routing loop.", +"Aborted due to internal server error.", +"Aborted because the test scenario is not supported.", +"Aborted because the source and destination resources have no common IP version.", +"Aborted because the connection between the control plane and the node of the source cluster is initiated by the node and managed by the Konnectivity proxy.", +"Aborted because expected resource configuration was missing.", +"Aborted because expected VM instance configuration was missing.", +"Aborted because expected network configuration was missing.", +"Aborted because expected firewall configuration was missing.", +"Aborted because expected route configuration was missing.", +"Aborted because PSC endpoint selection for the Google-managed service is ambiguous (several PSC endpoints satisfy test input).", +"Aborted because endpoint selection for the Google-managed service is ambiguous (several endpoints satisfy test input).", +"Aborted because tests with a PSC-based Cloud SQL instance as a source are not supported.", +"Aborted because tests with the external database as a source are not supported. In such replication scenarios, the connection is initiated by the Cloud SQL replica instance.", +"Aborted because tests with a Redis Cluster as a source are not supported.", +"Aborted because tests with a Redis Instance as a source are not supported.", +"Aborted because tests with a forwarding rule as a source are not supported.", +"Aborted because one of the endpoints is a non-routable IP address (loopback, link-local, etc).", +"Aborted due to an unknown issue in the Google-managed project.", +"Aborted due to an unsupported configuration of the Google-managed project.", +"Aborted because the source endpoint is a Cloud Run revision with direct VPC access enabled, but there are no reserved serverless IP ranges.", +"Aborted because the used protocol is not supported for the used IP version.", +"Aborted because selected GKE Pod endpoint location is unknown. This is often the case for \"Pending\" Pods, which don't have assigned IP addresses yet." +], +"type": "string" +}, +"ipAddress": { +"description": "IP address that caused the abort.", +"type": "string" +}, +"projectsMissingPermission": { +"description": "List of project IDs the user specified in the request but lacks access to. In this case, analysis is aborted with the PERMISSION_DENIED cause.", +"items": { +"type": "string" +}, +"type": "array" +}, +"resourceUri": { +"description": "URI of the resource that caused the abort.", +"type": "string" +} +}, +"type": "object" +}, +"AppEngineVersionEndpoint": { +"description": "Wrapper for the App Engine service version attributes.", +"id": "AppEngineVersionEndpoint", +"properties": { +"uri": { +"description": "An [App Engine](https://cloud.google.com/appengine) [service version](https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions) name.", +"type": "string" +} +}, +"type": "object" +}, +"AppEngineVersionInfo": { +"description": "For display only. Metadata associated with an App Engine version.", +"id": "AppEngineVersionInfo", +"properties": { +"displayName": { +"description": "Name of an App Engine version.", +"type": "string" +}, +"environment": { +"description": "App Engine execution environment for a version.", +"type": "string" +}, +"runtime": { +"description": "Runtime of the App Engine version.", +"type": "string" +}, +"uri": { +"description": "URI of an App Engine version.", +"type": "string" +} +}, +"type": "object" +}, +"AuditConfig": { +"description": "Specifies the audit configuration for a service. The configuration determines which permission types are logged, and what identities, if any, are exempted from logging. An AuditConfig must have one or more AuditLogConfigs. If there are AuditConfigs for both `allServices` and a specific service, the union of the two AuditConfigs is used for that service: the log_types specified in each AuditConfig are enabled, and the exempted_members in each AuditLogConfig are exempted. Example Policy with multiple AuditConfigs: { \"audit_configs\": [ { \"service\": \"allServices\", \"audit_log_configs\": [ { \"log_type\": \"DATA_READ\", \"exempted_members\": [ \"user:jose@example.com\" ] }, { \"log_type\": \"DATA_WRITE\" }, { \"log_type\": \"ADMIN_READ\" } ] }, { \"service\": \"sampleservice.googleapis.com\", \"audit_log_configs\": [ { \"log_type\": \"DATA_READ\" }, { \"log_type\": \"DATA_WRITE\", \"exempted_members\": [ \"user:aliya@example.com\" ] } ] } ] } For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also exempts `jose@example.com` from DATA_READ logging, and `aliya@example.com` from DATA_WRITE logging.", +"id": "AuditConfig", +"properties": { +"auditLogConfigs": { +"description": "The configuration for logging of each type of permission.", +"items": { +"$ref": "AuditLogConfig" +}, +"type": "array" +}, +"service": { +"description": "Specifies a service that will be enabled for audit logging. For example, `storage.googleapis.com`, `cloudsql.googleapis.com`. `allServices` is a special value that covers all services.", +"type": "string" +} +}, +"type": "object" +}, +"AuditLogConfig": { +"description": "Provides the configuration for logging a type of permissions. Example: { \"audit_log_configs\": [ { \"log_type\": \"DATA_READ\", \"exempted_members\": [ \"user:jose@example.com\" ] }, { \"log_type\": \"DATA_WRITE\" } ] } This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting jose@example.com from DATA_READ logging.", +"id": "AuditLogConfig", +"properties": { +"exemptedMembers": { +"description": "Specifies the identities that do not cause logging for this type of permission. Follows the same format of Binding.members.", +"items": { +"type": "string" +}, +"type": "array" +}, +"logType": { +"description": "The log type that this config enables.", +"enum": [ +"LOG_TYPE_UNSPECIFIED", +"ADMIN_READ", +"DATA_WRITE", +"DATA_READ" +], +"enumDescriptions": [ +"Default case. Should never be this.", +"Admin reads. Example: CloudIAM getIamPolicy", +"Data writes. Example: CloudSQL Users create", +"Data reads. Example: CloudSQL Users list" +], +"type": "string" +} +}, +"type": "object" +}, +"Binding": { +"description": "Associates `members`, or principals, with a `role`.", +"id": "Binding", +"properties": { +"condition": { +"$ref": "Expr", +"description": "The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies)." +}, +"members": { +"description": "Specifies the principals requesting access for a Google Cloud resource. `members` can have the following values: * `allUsers`: A special identifier that represents anyone who is on the internet; with or without a Google account. * `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service account. Does not include identities that come from external identity providers (IdPs) through identity federation. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `group:{emailid}`: An email address that represents a Google group. For example, `admins@example.com`. * `domain:{domain}`: The G Suite domain (primary) that represents all the users of that domain. For example, `google.com` or `example.com`. * `principal://iam.googleapis.com/locations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}`: A single identity in a workforce identity pool. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/group/{group_id}`: All workforce identities in a group. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/attribute.{attribute_name}/{attribute_value}`: All workforce identities with a specific attribute value. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/*`: All identities in a workforce identity pool. * `principal://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/subject/{subject_attribute_value}`: A single identity in a workload identity pool. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/group/{group_id}`: A workload identity pool group. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/attribute.{attribute_name}/{attribute_value}`: All identities in a workload identity pool with a certain attribute. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/*`: All identities in a workload identity pool. * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a user that has been recently deleted. For example, `alice@example.com?uid=123456789012345678901`. If the user is recovered, this value reverts to `user:{emailid}` and the recovered user retains the role in the binding. * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a service account that has been recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the service account is undeleted, this value reverts to `serviceAccount:{emailid}` and the undeleted service account retains the role in the binding. * `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a Google group that has been recently deleted. For example, `admins@example.com?uid=123456789012345678901`. If the group is recovered, this value reverts to `group:{emailid}` and the recovered group retains the role in the binding. * `deleted:principal://iam.googleapis.com/locations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}`: Deleted single identity in a workforce identity pool. For example, `deleted:principal://iam.googleapis.com/locations/global/workforcePools/my-pool-id/subject/my-subject-attribute-value`.", +"items": { +"type": "string" +}, +"type": "array" +}, +"role": { +"description": "Role that is assigned to the list of `members`, or principals. For example, `roles/viewer`, `roles/editor`, or `roles/owner`. For an overview of the IAM roles and permissions, see the [IAM documentation](https://cloud.google.com/iam/docs/roles-overview). For a list of the available pre-defined roles, see [here](https://cloud.google.com/iam/docs/understanding-roles).", +"type": "string" +} +}, +"type": "object" +}, +"CancelOperationRequest": { +"description": "The request message for Operations.CancelOperation.", +"id": "CancelOperationRequest", +"properties": {}, +"type": "object" +}, +"CloudFunctionEndpoint": { +"description": "Wrapper for Cloud Function attributes.", +"id": "CloudFunctionEndpoint", +"properties": { +"uri": { +"description": "A [Cloud Function](https://cloud.google.com/functions) name.", +"type": "string" +} +}, +"type": "object" +}, +"CloudFunctionInfo": { +"description": "For display only. Metadata associated with a Cloud Function.", +"id": "CloudFunctionInfo", +"properties": { +"displayName": { +"description": "Name of a Cloud Function.", +"type": "string" +}, +"location": { +"description": "Location in which the Cloud Function is deployed.", +"type": "string" +}, +"uri": { +"description": "URI of a Cloud Function.", +"type": "string" +}, +"versionId": { +"description": "Latest successfully deployed version id of the Cloud Function.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"CloudRunRevisionEndpoint": { +"description": "Wrapper for Cloud Run revision attributes.", +"id": "CloudRunRevisionEndpoint", +"properties": { +"serviceUri": { +"description": "Output only. The URI of the Cloud Run service that the revision belongs to. The format is: projects/{project}/locations/{location}/services/{service}", +"readOnly": true, +"type": "string" +}, +"uri": { +"description": "A [Cloud Run](https://cloud.google.com/run) [revision](https://cloud.google.com/run/docs/reference/rest/v1/namespaces.revisions/get) URI. The format is: projects/{project}/locations/{location}/revisions/{revision}", +"type": "string" +} +}, +"type": "object" +}, +"CloudRunRevisionInfo": { +"description": "For display only. Metadata associated with a Cloud Run revision.", +"id": "CloudRunRevisionInfo", +"properties": { +"displayName": { +"description": "Name of a Cloud Run revision.", +"type": "string" +}, +"location": { +"description": "Location in which this revision is deployed.", +"type": "string" +}, +"serviceUri": { +"description": "URI of Cloud Run service this revision belongs to.", +"type": "string" +}, +"uri": { +"description": "URI of a Cloud Run revision.", +"type": "string" +} +}, +"type": "object" +}, +"CloudSQLInstanceInfo": { +"description": "For display only. Metadata associated with a Cloud SQL instance.", +"id": "CloudSQLInstanceInfo", +"properties": { +"displayName": { +"description": "Name of a Cloud SQL instance.", +"type": "string" +}, +"externalIp": { +"description": "External IP address of a Cloud SQL instance.", +"type": "string" +}, +"internalIp": { +"description": "Internal IP address of a Cloud SQL instance.", +"type": "string" +}, +"networkUri": { +"description": "URI of a Cloud SQL instance network or empty string if the instance does not have one.", +"type": "string" +}, +"region": { +"description": "Region in which the Cloud SQL instance is running.", +"type": "string" +}, +"uri": { +"description": "URI of a Cloud SQL instance.", +"type": "string" +} +}, +"type": "object" +}, +"ConnectivityTest": { +"description": "A Connectivity Test for a network reachability analysis.", +"id": "ConnectivityTest", +"properties": { +"bypassFirewallChecks": { +"description": "Whether the analysis should skip firewall checking. Default value is false.", +"type": "boolean" +}, +"createTime": { +"description": "Output only. The time the test was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"description": { +"description": "The user-supplied description of the Connectivity Test. Maximum of 512 characters.", +"type": "string" +}, +"destination": { +"$ref": "Endpoint", +"description": "Required. Destination specification of the Connectivity Test. You can use a combination of destination IP address, URI of a supported endpoint, project ID, or VPC network to identify the destination location. Reachability analysis proceeds even if the destination location is ambiguous. However, the test result might include endpoints or use a destination that you don't intend to test." +}, +"displayName": { +"description": "Output only. The display name of a Connectivity Test.", +"readOnly": true, +"type": "string" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Resource labels to represent user-provided metadata.", +"type": "object" +}, +"name": { +"description": "Identifier. Unique name of the resource using the form: `projects/{project_id}/locations/global/connectivityTests/{test}`", +"type": "string" +}, +"probingDetails": { +"$ref": "ProbingDetails", +"description": "Output only. The probing details of this test from the latest run, present for applicable tests only. The details are updated when creating a new test, updating an existing test, or triggering a one-time rerun of an existing test.", +"readOnly": true +}, +"protocol": { +"description": "IP Protocol of the test. When not provided, \"TCP\" is assumed.", +"type": "string" +}, +"reachabilityDetails": { +"$ref": "ReachabilityDetails", +"description": "Output only. The reachability details of this test from the latest run. The details are updated when creating a new test, updating an existing test, or triggering a one-time rerun of an existing test.", +"readOnly": true +}, +"relatedProjects": { +"description": "Other projects that may be relevant for reachability analysis. This is applicable to scenarios where a test can cross project boundaries.", +"items": { +"type": "string" +}, +"type": "array" +}, +"returnReachabilityDetails": { +"$ref": "ReachabilityDetails", +"description": "Output only. The reachability details of this test from the latest run for the return path. The details are updated when creating a new test, updating an existing test, or triggering a one-time rerun of an existing test.", +"readOnly": true +}, +"roundTrip": { +"description": "Whether run analysis for the return path from destination to source. Default value is false.", +"type": "boolean" +}, +"source": { +"$ref": "Endpoint", +"description": "Required. Source specification of the Connectivity Test. You can use a combination of source IP address, URI of a supported endpoint, project ID, or VPC network to identify the source location. Reachability analysis might proceed even if the source location is ambiguous. However, the test result might include endpoints or use a source that you don't intend to test." +}, +"updateTime": { +"description": "Output only. The time the test's configuration was updated.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"DeliverInfo": { +"description": "Details of the final state \"deliver\" and associated resource.", +"id": "DeliverInfo", +"properties": { +"googleServiceType": { +"description": "Recognized type of a Google Service the packet is delivered to (if applicable).", +"enum": [ +"GOOGLE_SERVICE_TYPE_UNSPECIFIED", +"IAP", +"GFE_PROXY_OR_HEALTH_CHECK_PROBER", +"CLOUD_DNS", +"PRIVATE_GOOGLE_ACCESS", +"SERVERLESS_VPC_ACCESS" +], +"enumDescriptions": [ +"Unspecified Google Service.", +"Identity aware proxy. https://cloud.google.com/iap/docs/using-tcp-forwarding", +"One of two services sharing IP ranges: * Load Balancer proxy * Centralized Health Check prober https://cloud.google.com/load-balancing/docs/firewall-rules", +"Connectivity from Cloud DNS to forwarding targets or alternate name servers that use private routing. https://cloud.google.com/dns/docs/zones/forwarding-zones#firewall-rules https://cloud.google.com/dns/docs/policies#firewall-rules", +"private.googleapis.com and restricted.googleapis.com", +"Google API via Serverless VPC Access. https://cloud.google.com/vpc/docs/serverless-vpc-access" +], +"type": "string" +}, +"ipAddress": { +"description": "IP address of the target (if applicable).", +"type": "string" +}, +"pscGoogleApiTarget": { +"description": "PSC Google API target the packet is delivered to (if applicable).", +"type": "string" +}, +"resourceUri": { +"description": "URI of the resource that the packet is delivered to.", +"type": "string" +}, +"storageBucket": { +"description": "Name of the Cloud Storage Bucket the packet is delivered to (if applicable).", +"type": "string" +}, +"target": { +"description": "Target type where the packet is delivered to.", +"enum": [ +"TARGET_UNSPECIFIED", +"INSTANCE", +"INTERNET", +"GOOGLE_API", +"GKE_MASTER", +"CLOUD_SQL_INSTANCE", +"PSC_PUBLISHED_SERVICE", +"PSC_GOOGLE_API", +"PSC_VPC_SC", +"SERVERLESS_NEG", +"STORAGE_BUCKET", +"PRIVATE_NETWORK", +"CLOUD_FUNCTION", +"APP_ENGINE_VERSION", +"CLOUD_RUN_REVISION", +"GOOGLE_MANAGED_SERVICE", +"REDIS_INSTANCE", +"REDIS_CLUSTER", +"GKE_POD" +], +"enumDescriptions": [ +"Target not specified.", +"Target is a Compute Engine instance.", +"Target is the internet.", +"Target is a Google API.", +"Target is a Google Kubernetes Engine cluster master.", +"Target is a Cloud SQL instance.", +"Target is a published service that uses [Private Service Connect](https://cloud.google.com/vpc/docs/configure-private-service-connect-services).", +"Target is Google APIs that use [Private Service Connect](https://cloud.google.com/vpc/docs/configure-private-service-connect-apis).", +"Target is a VPC-SC that uses [Private Service Connect](https://cloud.google.com/vpc/docs/configure-private-service-connect-apis).", +"Target is a serverless network endpoint group.", +"Target is a Cloud Storage bucket.", +"Target is a private network. Used only for return traces.", +"Target is a Cloud Function. Used only for return traces.", +"Target is a App Engine service version. Used only for return traces.", +"Target is a Cloud Run revision. Used only for return traces.", +"Target is a Google-managed service. Used only for return traces.", +"Target is a Redis Instance.", +"Target is a Redis Cluster.", +"Target is a GKE Pod." +], +"type": "string" +} +}, +"type": "object" +}, +"DirectVpcEgressConnectionInfo": { +"description": "For display only. Metadata associated with a serverless direct VPC egress connection.", +"id": "DirectVpcEgressConnectionInfo", +"properties": { +"networkUri": { +"description": "URI of direct access network.", +"type": "string" +}, +"region": { +"description": "Region in which the Direct VPC egress is deployed.", +"type": "string" +}, +"selectedIpAddress": { +"description": "Selected starting IP address, from the selected IP range.", +"type": "string" +}, +"selectedIpRange": { +"description": "Selected IP range.", +"type": "string" +}, +"subnetworkUri": { +"description": "URI of direct access subnetwork.", +"type": "string" +} +}, +"type": "object" +}, +"DropInfo": { +"description": "Details of the final state \"drop\" and associated resource.", +"id": "DropInfo", +"properties": { +"cause": { +"description": "Cause that the packet is dropped.", +"enum": [ +"CAUSE_UNSPECIFIED", +"UNKNOWN_EXTERNAL_ADDRESS", +"FOREIGN_IP_DISALLOWED", +"FIREWALL_RULE", +"NO_ROUTE", +"ROUTE_BLACKHOLE", +"ROUTE_WRONG_NETWORK", +"ROUTE_NEXT_HOP_IP_ADDRESS_NOT_RESOLVED", +"ROUTE_NEXT_HOP_RESOURCE_NOT_FOUND", +"ROUTE_NEXT_HOP_INSTANCE_WRONG_NETWORK", +"ROUTE_NEXT_HOP_INSTANCE_NON_PRIMARY_IP", +"ROUTE_NEXT_HOP_FORWARDING_RULE_IP_MISMATCH", +"ROUTE_NEXT_HOP_VPN_TUNNEL_NOT_ESTABLISHED", +"ROUTE_NEXT_HOP_FORWARDING_RULE_TYPE_INVALID", +"NO_ROUTE_FROM_INTERNET_TO_PRIVATE_IPV6_ADDRESS", +"NO_ROUTE_FROM_INTERNET_TO_PRIVATE_IPV4_ADDRESS", +"NO_ROUTE_FROM_EXTERNAL_IPV6_SOURCE_TO_PRIVATE_IPV6_ADDRESS", +"VPN_TUNNEL_LOCAL_SELECTOR_MISMATCH", +"VPN_TUNNEL_REMOTE_SELECTOR_MISMATCH", +"PRIVATE_TRAFFIC_TO_INTERNET", +"PRIVATE_GOOGLE_ACCESS_DISALLOWED", +"PRIVATE_GOOGLE_ACCESS_VIA_VPN_TUNNEL_UNSUPPORTED", +"NO_EXTERNAL_ADDRESS", +"UNKNOWN_INTERNAL_ADDRESS", +"FORWARDING_RULE_MISMATCH", +"FORWARDING_RULE_NO_INSTANCES", +"FIREWALL_BLOCKING_LOAD_BALANCER_BACKEND_HEALTH_CHECK", +"INGRESS_FIREWALL_TAGS_UNSUPPORTED_BY_DIRECT_VPC_EGRESS", +"INSTANCE_NOT_RUNNING", +"GKE_CLUSTER_NOT_RUNNING", +"GKE_POD_NOT_RUNNING", +"CLOUD_SQL_INSTANCE_NOT_RUNNING", +"REDIS_INSTANCE_NOT_RUNNING", +"REDIS_CLUSTER_NOT_RUNNING", +"TRAFFIC_TYPE_BLOCKED", +"GKE_MASTER_UNAUTHORIZED_ACCESS", +"CLOUD_SQL_INSTANCE_UNAUTHORIZED_ACCESS", +"DROPPED_INSIDE_GKE_SERVICE", +"DROPPED_INSIDE_CLOUD_SQL_SERVICE", +"GOOGLE_MANAGED_SERVICE_NO_PEERING", +"GOOGLE_MANAGED_SERVICE_NO_PSC_ENDPOINT", +"GKE_PSC_ENDPOINT_MISSING", +"CLOUD_SQL_INSTANCE_NO_IP_ADDRESS", +"GKE_CONTROL_PLANE_REGION_MISMATCH", +"PUBLIC_GKE_CONTROL_PLANE_TO_PRIVATE_DESTINATION", +"GKE_CONTROL_PLANE_NO_ROUTE", +"CLOUD_SQL_INSTANCE_NOT_CONFIGURED_FOR_EXTERNAL_TRAFFIC", +"PUBLIC_CLOUD_SQL_INSTANCE_TO_PRIVATE_DESTINATION", +"CLOUD_SQL_INSTANCE_NO_ROUTE", +"CLOUD_SQL_CONNECTOR_REQUIRED", +"CLOUD_FUNCTION_NOT_ACTIVE", +"VPC_CONNECTOR_NOT_SET", +"VPC_CONNECTOR_NOT_RUNNING", +"VPC_CONNECTOR_SERVERLESS_TRAFFIC_BLOCKED", +"VPC_CONNECTOR_HEALTH_CHECK_TRAFFIC_BLOCKED", +"FORWARDING_RULE_REGION_MISMATCH", +"PSC_CONNECTION_NOT_ACCEPTED", +"PSC_ENDPOINT_ACCESSED_FROM_PEERED_NETWORK", +"PSC_NEG_PRODUCER_ENDPOINT_NO_GLOBAL_ACCESS", +"PSC_NEG_PRODUCER_FORWARDING_RULE_MULTIPLE_PORTS", +"CLOUD_SQL_PSC_NEG_UNSUPPORTED", +"NO_NAT_SUBNETS_FOR_PSC_SERVICE_ATTACHMENT", +"PSC_TRANSITIVITY_NOT_PROPAGATED", +"HYBRID_NEG_NON_DYNAMIC_ROUTE_MATCHED", +"HYBRID_NEG_NON_LOCAL_DYNAMIC_ROUTE_MATCHED", +"CLOUD_RUN_REVISION_NOT_READY", +"DROPPED_INSIDE_PSC_SERVICE_PRODUCER", +"LOAD_BALANCER_HAS_NO_PROXY_SUBNET", +"CLOUD_NAT_NO_ADDRESSES", +"ROUTING_LOOP", +"DROPPED_INSIDE_GOOGLE_MANAGED_SERVICE", +"LOAD_BALANCER_BACKEND_INVALID_NETWORK", +"BACKEND_SERVICE_NAMED_PORT_NOT_DEFINED", +"DESTINATION_IS_PRIVATE_NAT_IP_RANGE", +"DROPPED_INSIDE_REDIS_INSTANCE_SERVICE", +"REDIS_INSTANCE_UNSUPPORTED_PORT", +"REDIS_INSTANCE_CONNECTING_FROM_PUPI_ADDRESS", +"REDIS_INSTANCE_NO_ROUTE_TO_DESTINATION_NETWORK", +"REDIS_INSTANCE_NO_EXTERNAL_IP", +"REDIS_INSTANCE_UNSUPPORTED_PROTOCOL", +"DROPPED_INSIDE_REDIS_CLUSTER_SERVICE", +"REDIS_CLUSTER_UNSUPPORTED_PORT", +"REDIS_CLUSTER_NO_EXTERNAL_IP", +"REDIS_CLUSTER_UNSUPPORTED_PROTOCOL", +"NO_ADVERTISED_ROUTE_TO_GCP_DESTINATION", +"NO_TRAFFIC_SELECTOR_TO_GCP_DESTINATION", +"NO_KNOWN_ROUTE_FROM_PEERED_NETWORK_TO_DESTINATION", +"PRIVATE_NAT_TO_PSC_ENDPOINT_UNSUPPORTED", +"PSC_PORT_MAPPING_PORT_MISMATCH", +"PSC_PORT_MAPPING_WITHOUT_PSC_CONNECTION_UNSUPPORTED", +"UNSUPPORTED_ROUTE_MATCHED_FOR_NAT64_DESTINATION", +"TRAFFIC_FROM_HYBRID_ENDPOINT_TO_INTERNET_DISALLOWED", +"NO_MATCHING_NAT64_GATEWAY", +"NO_CONFIGURED_PRIVATE_NAT64_RULE", +"LOAD_BALANCER_BACKEND_IP_VERSION_MISMATCH", +"NO_KNOWN_ROUTE_FROM_NCC_NETWORK_TO_DESTINATION", +"CLOUD_NAT_PROTOCOL_UNSUPPORTED", +"L2_INTERCONNECT_UNSUPPORTED_PROTOCOL", +"L2_INTERCONNECT_UNSUPPORTED_PORT", +"L2_INTERCONNECT_DESTINATION_IP_MISMATCH", +"NCC_ROUTE_WITHIN_HYBRID_SUBNET_UNSUPPORTED", +"HYBRID_SUBNET_REGION_MISMATCH", +"HYBRID_SUBNET_NO_ROUTE", +"NO_VALID_ROUTE_FROM_GOOGLE_MANAGED_NETWORK_TO_DESTINATION" +], +"enumDescriptions": [ +"Cause is unspecified.", +"Destination external address cannot be resolved to a known target. If the address is used in a Google Cloud project, provide the project ID as test input.", +"A Compute Engine instance can only send or receive a packet with a foreign IP address if ip_forward is enabled.", +"Dropped due to a firewall rule, unless allowed due to connection tracking.", +"Dropped due to no matching routes.", +"Dropped due to invalid route. Route's next hop is a blackhole.", +"Packet is sent to a wrong (unintended) network. Example: you trace a packet from VM1:Network1 to VM2:Network2, however, the route configured in Network1 sends the packet destined for VM2's IP address to Network3.", +"Route's next hop IP address cannot be resolved to a GCP resource.", +"Route's next hop resource is not found.", +"Route's next hop instance doesn't have a NIC in the route's network.", +"Route's next hop IP address is not a primary IP address of the next hop instance.", +"Route's next hop forwarding rule doesn't match next hop IP address.", +"Route's next hop VPN tunnel is down (does not have valid IKE SAs).", +"Route's next hop forwarding rule type is invalid (it's not a forwarding rule of the internal passthrough load balancer).", +"Packet is sent from the Internet to the private IPv6 address.", +"Packet is sent from the Internet to the private IPv4 address.", +"Packet is sent from the external IPv6 source address of an instance to the private IPv6 address of an instance.", +"The packet does not match a policy-based VPN tunnel local selector.", +"The packet does not match a policy-based VPN tunnel remote selector.", +"Packet with internal destination address sent to the internet gateway.", +"Endpoint with only an internal IP address tries to access Google API and services, but Private Google Access is not enabled in the subnet or is not applicable.", +"Source endpoint tries to access Google API and services through the VPN tunnel to another network, but Private Google Access needs to be enabled in the source endpoint network.", +"Endpoint with only an internal IP address tries to access external hosts, but there is no matching Cloud NAT gateway in the subnet.", +"Destination internal address cannot be resolved to a known target. If this is a shared VPC scenario, verify if the service project ID is provided as test input. Otherwise, verify if the IP address is being used in the project.", +"Forwarding rule's protocol and ports do not match the packet header.", +"Forwarding rule does not have backends configured.", +"Firewalls block the health check probes to the backends and cause the backends to be unavailable for traffic from the load balancer. For more details, see [Health check firewall rules](https://cloud.google.com/load-balancing/docs/health-checks#firewall_rules).", +"Matching ingress firewall rules by network tags for packets sent via serverless VPC direct egress is unsupported. Behavior is undefined. https://cloud.google.com/run/docs/configuring/vpc-direct-vpc#limitations", +"Packet is sent from or to a Compute Engine instance that is not in a running state.", +"Packet sent from or to a GKE cluster that is not in running state.", +"Packet sent from or to a GKE Pod that is not in running state.", +"Packet sent from or to a Cloud SQL instance that is not in running state.", +"Packet sent from or to a Redis Instance that is not in running state.", +"Packet sent from or to a Redis Cluster that is not in running state.", +"The type of traffic is blocked and the user cannot configure a firewall rule to enable it. See [Always blocked traffic](https://cloud.google.com/vpc/docs/firewalls#blockedtraffic) for more details.", +"Access to Google Kubernetes Engine cluster master's endpoint is not authorized. See [Access to the cluster endpoints](https://cloud.google.com/kubernetes-engine/docs/how-to/private-clusters#access_to_the_cluster_endpoints) for more details.", +"Access to the Cloud SQL instance endpoint is not authorized. See [Authorizing with authorized networks](https://cloud.google.com/sql/docs/mysql/authorize-networks) for more details.", +"Packet was dropped inside Google Kubernetes Engine Service.", +"Packet was dropped inside Cloud SQL Service.", +"Packet was dropped because there is no peering between the originating network and the Google Managed Services Network.", +"Packet was dropped because the Google-managed service uses Private Service Connect (PSC), but the PSC endpoint is not found in the project.", +"Packet was dropped because the GKE cluster uses Private Service Connect (PSC), but the PSC endpoint is not found in the project.", +"Packet was dropped because the Cloud SQL instance has neither a private nor a public IP address.", +"Packet was dropped because a GKE cluster private endpoint is unreachable from a region different from the cluster's region.", +"Packet sent from a public GKE cluster control plane to a private IP address.", +"Packet was dropped because there is no route from a GKE cluster control plane to a destination network.", +"Packet sent from a Cloud SQL instance to an external IP address is not allowed. The Cloud SQL instance is not configured to send packets to external IP addresses.", +"Packet sent from a Cloud SQL instance with only a public IP address to a private IP address.", +"Packet was dropped because there is no route from a Cloud SQL instance to a destination network.", +"Packet was dropped because the Cloud SQL instance requires all connections to use Cloud SQL connectors and to target the Cloud SQL proxy port (3307).", +"Packet could be dropped because the Cloud Function is not in an active status.", +"Packet could be dropped because no VPC connector is set.", +"Packet could be dropped because the VPC connector is not in a running state.", +"Packet could be dropped because the traffic from the serverless service to the VPC connector is not allowed.", +"Packet could be dropped because the health check traffic to the VPC connector is not allowed.", +"Packet could be dropped because it was sent from a different region to a regional forwarding without global access.", +"The Private Service Connect endpoint is in a project that is not approved to connect to the service.", +"The packet is sent to the Private Service Connect endpoint over the peering, but [it's not supported](https://cloud.google.com/vpc/docs/configure-private-service-connect-services#on-premises).", +"The packet is sent to the Private Service Connect backend (network endpoint group), but the producer PSC forwarding rule does not have global access enabled.", +"The packet is sent to the Private Service Connect backend (network endpoint group), but the producer PSC forwarding rule has multiple ports specified.", +"The packet is sent to the Private Service Connect backend (network endpoint group) targeting a Cloud SQL service attachment, but this configuration is not supported.", +"No NAT subnets are defined for the PSC service attachment.", +"PSC endpoint is accessed via NCC, but PSC transitivity configuration is not yet propagated.", +"The packet sent from the hybrid NEG proxy matches a non-dynamic route, but such a configuration is not supported.", +"The packet sent from the hybrid NEG proxy matches a dynamic route with a next hop in a different region, but such a configuration is not supported.", +"Packet sent from a Cloud Run revision that is not ready.", +"Packet was dropped inside Private Service Connect service producer.", +"Packet sent to a load balancer, which requires a proxy-only subnet and the subnet is not found.", +"Packet sent to Cloud Nat without active NAT IPs.", +"Packet is stuck in a routing loop.", +"Packet is dropped inside a Google-managed service due to being delivered in return trace to an endpoint that doesn't match the endpoint the packet was sent from in forward trace. Used only for return traces.", +"Packet is dropped due to a load balancer backend instance not having a network interface in the network expected by the load balancer.", +"Packet is dropped due to a backend service named port not being defined on the instance group level.", +"Packet is dropped due to a destination IP range being part of a Private NAT IP range.", +"Generic drop cause for a packet being dropped inside a Redis Instance service project.", +"Packet is dropped due to an unsupported port being used to connect to a Redis Instance. Port 6379 should be used to connect to a Redis Instance.", +"Packet is dropped due to connecting from PUPI address to a PSA based Redis Instance.", +"Packet is dropped due to no route to the destination network.", +"Redis Instance does not have an external IP address.", +"Packet is dropped due to an unsupported protocol being used to connect to a Redis Instance. Only TCP connections are accepted by a Redis Instance.", +"Generic drop cause for a packet being dropped inside a Redis Cluster service project.", +"Packet is dropped due to an unsupported port being used to connect to a Redis Cluster. Ports 6379 and 11000 to 13047 should be used to connect to a Redis Cluster.", +"Redis Cluster does not have an external IP address.", +"Packet is dropped due to an unsupported protocol being used to connect to a Redis Cluster. Only TCP connections are accepted by a Redis Cluster.", +"Packet from the non-GCP (on-prem) or unknown GCP network is dropped due to the destination IP address not belonging to any IP prefix advertised via BGP by the Cloud Router.", +"Packet from the non-GCP (on-prem) or unknown GCP network is dropped due to the destination IP address not belonging to any IP prefix included to the local traffic selector of the VPN tunnel.", +"Packet from the unknown peered network is dropped due to no known route from the source network to the destination IP address.", +"Sending packets processed by the Private NAT Gateways to the Private Service Connect endpoints is not supported.", +"Packet is sent to the PSC port mapping service, but its destination port does not match any port mapping rules.", +"Sending packets directly to the PSC port mapping service without going through the PSC connection is not supported.", +"Packet with destination IP address within the reserved NAT64 range is dropped due to matching a route of an unsupported type.", +"Packet could be dropped because hybrid endpoint like a VPN gateway or Interconnect is not allowed to send traffic to the Internet.", +"Packet with destination IP address within the reserved NAT64 range is dropped due to no matching NAT gateway in the subnet.", +"Packet is dropped due to matching a Private NAT64 gateway with no rules for source IPv6 addresses.", +"Packet is dropped due to being sent to a backend of a passthrough load balancer that doesn't use the same IP version as the frontend.", +"Packet from the unknown NCC network is dropped due to no known route from the source network to the destination IP address.", +"Packet is dropped by Cloud NAT due to using an unsupported protocol.", +"Packet is dropped due to using an unsupported protocol (any other than UDP) for L2 Interconnect.", +"Packet is dropped due to using an unsupported port (any other than 6081) for L2 Interconnect.", +"Packet is dropped due to destination IP not matching the appliance mapping IPs configured on the L2 Interconnect attachment.", +"Packet could be dropped because it matches a route associated with an NCC spoke in the hybrid subnet context, but such a configuration is not supported.", +"Packet is dropped because the region of the hybrid subnet is different from the region of the next hop of the route matched within this hybrid subnet.", +"Packet is dropped because no matching route was found in the hybrid subnet.", +"Packet is dropped because there is no valid matching route from the network of the Google-managed service to the destination." +], +"type": "string" +}, +"destinationGeolocationCode": { +"description": "Geolocation (region code) of the destination IP address (if relevant).", +"type": "string" +}, +"destinationIp": { +"description": "Destination IP address of the dropped packet (if relevant).", +"type": "string" +}, +"region": { +"description": "Region of the dropped packet (if relevant).", +"type": "string" +}, +"resourceUri": { +"description": "URI of the resource that caused the drop.", +"type": "string" +}, +"sourceGeolocationCode": { +"description": "Geolocation (region code) of the source IP address (if relevant).", +"type": "string" +}, +"sourceIp": { +"description": "Source IP address of the dropped packet (if relevant).", +"type": "string" +} +}, +"type": "object" +}, +"EdgeLocation": { +"description": "Representation of a network edge location as per https://cloud.google.com/vpc/docs/edge-locations.", +"id": "EdgeLocation", +"properties": { +"metropolitanArea": { +"description": "Name of the metropolitan area.", +"type": "string" +} +}, +"type": "object" +}, +"EffectiveVpcFlowLogsConfig": { +"description": "A configuration to generate a response for GetEffectiveVpcFlowLogsConfig request.", +"id": "EffectiveVpcFlowLogsConfig", +"properties": { +"aggregationInterval": { +"description": "The aggregation interval for the logs. Default value is INTERVAL_5_SEC.", +"enum": [ +"AGGREGATION_INTERVAL_UNSPECIFIED", +"INTERVAL_5_SEC", +"INTERVAL_30_SEC", +"INTERVAL_1_MIN", +"INTERVAL_5_MIN", +"INTERVAL_10_MIN", +"INTERVAL_15_MIN" +], +"enumDescriptions": [ +"If not specified, will default to INTERVAL_5_SEC.", +"Aggregate logs in 5s intervals.", +"Aggregate logs in 30s intervals.", +"Aggregate logs in 1m intervals.", +"Aggregate logs in 5m intervals.", +"Aggregate logs in 10m intervals.", +"Aggregate logs in 15m intervals." +], +"type": "string" +}, +"crossProjectMetadata": { +"description": "Determines whether to include cross project annotations in the logs. This field is available only for organization configurations. If not specified in org configs will be set to CROSS_PROJECT_METADATA_ENABLED.", +"enum": [ +"CROSS_PROJECT_METADATA_UNSPECIFIED", +"CROSS_PROJECT_METADATA_ENABLED", +"CROSS_PROJECT_METADATA_DISABLED" +], +"enumDescriptions": [ +"If not specified, the default is CROSS_PROJECT_METADATA_ENABLED.", +"When CROSS_PROJECT_METADATA_ENABLED, metadata from other projects will be included in the logs.", +"When CROSS_PROJECT_METADATA_DISABLED, metadata from other projects will not be included in the logs." +], +"type": "string" +}, +"filterExpr": { +"description": "Export filter used to define which VPC Flow Logs should be logged.", +"type": "string" +}, +"flowSampling": { +"description": "The value of the field must be in (0, 1]. The sampling rate of VPC Flow Logs where 1.0 means all collected logs are reported. Setting the sampling rate to 0.0 is not allowed. If you want to disable VPC Flow Logs, use the state field instead. Default value is 1.0.", +"format": "float", +"type": "number" +}, +"interconnectAttachment": { +"description": "Traffic will be logged from the Interconnect Attachment. Format: projects/{project_id}/regions/{region}/interconnectAttachments/{name}", +"type": "string" +}, +"metadata": { +"description": "Configures whether all, none or a subset of metadata fields should be added to the reported VPC flow logs. Default value is INCLUDE_ALL_METADATA.", +"enum": [ +"METADATA_UNSPECIFIED", +"INCLUDE_ALL_METADATA", +"EXCLUDE_ALL_METADATA", +"CUSTOM_METADATA" +], +"enumDescriptions": [ +"If not specified, will default to INCLUDE_ALL_METADATA.", +"Include all metadata fields.", +"Exclude all metadata fields.", +"Include only custom fields (specified in metadata_fields)." +], +"type": "string" +}, +"metadataFields": { +"description": "Custom metadata fields to include in the reported VPC flow logs. Can only be specified if \"metadata\" was set to CUSTOM_METADATA.", +"items": { +"type": "string" +}, +"type": "array" +}, +"name": { +"description": "Unique name of the configuration. The name can have one of the following forms: - For project-level configurations: `projects/{project_id}/locations/global/vpcFlowLogsConfigs/{vpc_flow_logs_config_id}` - For organization-level configurations: `organizations/{organization_id}/locations/global/vpcFlowLogsConfigs/{vpc_flow_logs_config_id}` - For a Compute config, the name will be the path of the subnet: `projects/{project_id}/regions/{region}/subnetworks/{subnet_id}`", +"type": "string" +}, +"network": { +"description": "Traffic will be logged from VMs, VPN tunnels and Interconnect Attachments within the network. Format: projects/{project_id}/global/networks/{name}", +"type": "string" +}, +"scope": { +"description": "Specifies the scope of the config (e.g., SUBNET, NETWORK, ORGANIZATION..).", +"enum": [ +"SCOPE_UNSPECIFIED", +"SUBNET", +"COMPUTE_API_SUBNET", +"NETWORK", +"VPN_TUNNEL", +"INTERCONNECT_ATTACHMENT", +"ORGANIZATION" +], +"enumDescriptions": [ +"Scope is unspecified.", +"Target resource is a subnet (Network Management API).", +"Target resource is a subnet, and the config originates from the Compute API.", +"Target resource is a network.", +"Target resource is a VPN tunnel.", +"Target resource is an interconnect attachment.", +"Configuration applies to an entire organization." +], +"type": "string" +}, +"state": { +"description": "The state of the VPC Flow Log configuration. Default value is ENABLED. When creating a new configuration, it must be enabled. Setting state=DISABLED will pause the log generation for this config.", +"enum": [ +"STATE_UNSPECIFIED", +"ENABLED", +"DISABLED" +], +"enumDescriptions": [ +"If not specified, will default to ENABLED.", +"When ENABLED, this configuration will generate logs.", +"When DISABLED, this configuration will not generate logs." +], +"type": "string" +}, +"subnet": { +"description": "Traffic will be logged from VMs within the subnetwork. Format: projects/{project_id}/regions/{region}/subnetworks/{name}", +"type": "string" +}, +"vpnTunnel": { +"description": "Traffic will be logged from the VPN Tunnel. Format: projects/{project_id}/regions/{region}/vpnTunnels/{name}", +"type": "string" +} +}, +"type": "object" +}, +"Empty": { +"description": "A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }", +"id": "Empty", +"properties": {}, +"type": "object" +}, +"Endpoint": { +"description": "Source or destination of the Connectivity Test.", +"id": "Endpoint", +"properties": { +"appEngineVersion": { +"$ref": "AppEngineVersionEndpoint", +"description": "An [App Engine](https://cloud.google.com/appengine) [service version](https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions). Applicable only to source endpoint." +}, +"cloudFunction": { +"$ref": "CloudFunctionEndpoint", +"description": "A [Cloud Function](https://cloud.google.com/functions). Applicable only to source endpoint." +}, +"cloudRunRevision": { +"$ref": "CloudRunRevisionEndpoint", +"description": "A [Cloud Run](https://cloud.google.com/run) [revision](https://cloud.google.com/run/docs/reference/rest/v1/namespaces.revisions/get) Applicable only to source endpoint." +}, +"cloudSqlInstance": { +"description": "A [Cloud SQL](https://cloud.google.com/sql) instance URI.", +"type": "string" +}, +"forwardingRule": { +"description": "A forwarding rule and its corresponding IP address represent the frontend configuration of a Google Cloud load balancer. Forwarding rules are also used for protocol forwarding, Private Service Connect and other network services to provide forwarding information in the control plane. Applicable only to destination endpoint. Format: `projects/{project}/global/forwardingRules/{id}` or `projects/{project}/regions/{region}/forwardingRules/{id}`", +"type": "string" +}, +"forwardingRuleTarget": { +"description": "Output only. Specifies the type of the target of the forwarding rule.", +"enum": [ +"FORWARDING_RULE_TARGET_UNSPECIFIED", +"INSTANCE", +"LOAD_BALANCER", +"VPN_GATEWAY", +"PSC" +], +"enumDescriptions": [ +"Forwarding rule target is unknown.", +"Compute Engine instance for protocol forwarding.", +"Load Balancer. The specific type can be found from load_balancer_type.", +"Classic Cloud VPN Gateway.", +"Forwarding Rule is a Private Service Connect endpoint." +], +"readOnly": true, +"type": "string" +}, +"fqdn": { +"description": "DNS endpoint of [Google Kubernetes Engine cluster control plane](https://cloud.google.com/kubernetes-engine/docs/concepts/cluster-architecture). Requires gke_master_cluster to be set, can't be used simultaneoulsly with ip_address or network. Applicable only to destination endpoint.", +"type": "string" +}, +"gkeMasterCluster": { +"description": "A cluster URI for [Google Kubernetes Engine cluster control plane](https://cloud.google.com/kubernetes-engine/docs/concepts/cluster-architecture).", +"type": "string" +}, +"gkePod": { +"description": "A [GKE Pod](https://cloud.google.com/kubernetes-engine/docs/concepts/pod) URI.", +"type": "string" +}, +"instance": { +"description": "A Compute Engine instance URI.", +"type": "string" +}, +"ipAddress": { +"description": "The IP address of the endpoint, which can be an external or internal IP.", +"type": "string" +}, +"loadBalancerId": { +"description": "Output only. ID of the load balancer the forwarding rule points to. Empty for forwarding rules not related to load balancers.", +"readOnly": true, +"type": "string" +}, +"loadBalancerType": { +"description": "Output only. Type of the load balancer the forwarding rule points to.", +"enum": [ +"LOAD_BALANCER_TYPE_UNSPECIFIED", +"HTTPS_ADVANCED_LOAD_BALANCER", +"HTTPS_LOAD_BALANCER", +"REGIONAL_HTTPS_LOAD_BALANCER", +"INTERNAL_HTTPS_LOAD_BALANCER", +"SSL_PROXY_LOAD_BALANCER", +"TCP_PROXY_LOAD_BALANCER", +"INTERNAL_TCP_PROXY_LOAD_BALANCER", +"NETWORK_LOAD_BALANCER", +"LEGACY_NETWORK_LOAD_BALANCER", +"TCP_UDP_INTERNAL_LOAD_BALANCER" +], +"enumDescriptions": [ +"Forwarding rule points to a different target than a load balancer or a load balancer type is unknown.", +"Global external HTTP(S) load balancer.", +"Global external HTTP(S) load balancer (classic)", +"Regional external HTTP(S) load balancer.", +"Internal HTTP(S) load balancer.", +"External SSL proxy load balancer.", +"External TCP proxy load balancer.", +"Internal regional TCP proxy load balancer.", +"External TCP/UDP Network load balancer.", +"Target-pool based external TCP/UDP Network load balancer.", +"Internal TCP/UDP load balancer." +], +"readOnly": true, +"type": "string" +}, +"network": { +"description": "A VPC network URI. For source endpoints, used according to the `network_type`. For destination endpoints, used only when the source is an external IP address endpoint, and the destination is an internal IP address endpoint.", +"type": "string" +}, +"networkType": { +"description": "For source endpoints, type of the network where the endpoint is located. Not relevant for destination endpoints.", +"enum": [ +"NETWORK_TYPE_UNSPECIFIED", +"GCP_NETWORK", +"NON_GCP_NETWORK", +"INTERNET" +], +"enumDescriptions": [ +"Unspecified. The test will analyze all possible IP address locations. This might take longer and produce inaccurate or ambiguous results, so prefer specifying an explicit network type. The `project_id` field should be set to the project where the GCP endpoint is located, or where the non-GCP endpoint should be reachable from (via routes to non-GCP networks). The project might also be inferred from the Connectivity Test project or other projects referenced in the request.", +"A VPC network. Should be used for internal IP addresses in VPC networks. The `network` field should be set to the URI of this network. Only endpoints within this network will be considered.", +"A non-GCP network (for example, an on-premises network or another cloud provider network). Should be used for internal IP addresses outside of Google Cloud. The `network` field should be set to the URI of the VPC network containing a corresponding Cloud VPN tunnel, Cloud Interconnect VLAN attachment, or a router appliance instance. Only endpoints reachable from the provided VPC network via the routes to non-GCP networks will be considered.", +"Internet. Should be used for internet-routable external IP addresses or IP addresses for global Google APIs and services." +], +"type": "string" +}, +"port": { +"description": "The IP protocol port of the endpoint. Only applicable when protocol is TCP or UDP.", +"format": "int32", +"type": "integer" +}, +"projectId": { +"description": "For source endpoints, endpoint project ID. Used according to the `network_type`. Not relevant for destination endpoints.", +"type": "string" +}, +"redisCluster": { +"description": "A [Redis Cluster](https://cloud.google.com/memorystore/docs/cluster) URI. Applicable only to destination endpoint.", +"type": "string" +}, +"redisInstance": { +"description": "A [Redis Instance](https://cloud.google.com/memorystore/docs/redis) URI. Applicable only to destination endpoint.", +"type": "string" +} +}, +"type": "object" +}, +"EndpointInfo": { +"description": "For display only. The specification of the endpoints for the test. EndpointInfo is derived from source and destination Endpoint and validated by the backend data plane model.", +"id": "EndpointInfo", +"properties": { +"destinationIp": { +"description": "Destination IP address.", +"type": "string" +}, +"destinationNetworkUri": { +"description": "URI of the network where this packet is sent to.", +"type": "string" +}, +"destinationPort": { +"description": "Destination port. Only valid when protocol is TCP or UDP.", +"format": "int32", +"type": "integer" +}, +"protocol": { +"description": "IP protocol in string format, for example: \"TCP\", \"UDP\", \"ICMP\".", +"type": "string" +}, +"sourceAgentUri": { +"description": "URI of the source telemetry agent this packet originates from.", +"type": "string" +}, +"sourceIp": { +"description": "Source IP address.", +"type": "string" +}, +"sourceNetworkUri": { +"description": "URI of the network where this packet originates from.", +"type": "string" +}, +"sourcePort": { +"description": "Source port. Only valid when protocol is TCP or UDP.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"Expr": { +"description": "Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: \"Summary size limit\" description: \"Determines if a summary is less than 100 chars\" expression: \"document.summary.size() < 100\" Example (Equality): title: \"Requestor is owner\" description: \"Determines if requestor is the document owner\" expression: \"document.owner == request.auth.claims.email\" Example (Logic): title: \"Public documents\" description: \"Determine whether the document should be publicly visible\" expression: \"document.type != 'private' && document.type != 'internal'\" Example (Data Manipulation): title: \"Notification string\" description: \"Create a notification string with a timestamp.\" expression: \"'New message received at ' + string(document.create_time)\" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information.", +"id": "Expr", +"properties": { +"description": { +"description": "Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI.", +"type": "string" +}, +"expression": { +"description": "Textual representation of an expression in Common Expression Language syntax.", +"type": "string" +}, +"location": { +"description": "Optional. String indicating the location of the expression for error reporting, e.g. a file name and a position in the file.", +"type": "string" +}, +"title": { +"description": "Optional. Title for the expression, i.e. a short string describing its purpose. This can be used e.g. in UIs which allow to enter the expression.", +"type": "string" +} +}, +"type": "object" +}, +"FirewallInfo": { +"description": "For display only. Metadata associated with a VPC firewall rule, an implied VPC firewall rule, or a firewall policy rule.", +"id": "FirewallInfo", +"properties": { +"action": { +"description": "Possible values: ALLOW, DENY, APPLY_SECURITY_PROFILE_GROUP", +"type": "string" +}, +"direction": { +"description": "Possible values: INGRESS, EGRESS", +"type": "string" +}, +"displayName": { +"description": "The display name of the firewall rule. This field might be empty for firewall policy rules.", +"type": "string" +}, +"firewallRuleType": { +"description": "The firewall rule's type.", +"enum": [ +"FIREWALL_RULE_TYPE_UNSPECIFIED", +"HIERARCHICAL_FIREWALL_POLICY_RULE", +"VPC_FIREWALL_RULE", +"IMPLIED_VPC_FIREWALL_RULE", +"SERVERLESS_VPC_ACCESS_MANAGED_FIREWALL_RULE", +"NETWORK_FIREWALL_POLICY_RULE", +"NETWORK_REGIONAL_FIREWALL_POLICY_RULE", +"SYSTEM_NETWORK_FIREWALL_POLICY_RULE", +"SYSTEM_REGIONAL_NETWORK_FIREWALL_POLICY_RULE", +"UNSUPPORTED_FIREWALL_POLICY_RULE", +"TRACKING_STATE", +"ANALYSIS_SKIPPED" +], +"enumDescriptions": [ +"Unspecified type.", +"Hierarchical firewall policy rule. For details, see [Hierarchical firewall policies overview](https://cloud.google.com/vpc/docs/firewall-policies).", +"VPC firewall rule. For details, see [VPC firewall rules overview](https://cloud.google.com/vpc/docs/firewalls).", +"Implied VPC firewall rule. For details, see [Implied rules](https://cloud.google.com/vpc/docs/firewalls#default_firewall_rules).", +"Implicit firewall rules that are managed by serverless VPC access to allow ingress access. They are not visible in the Google Cloud console. For details, see [VPC connector's implicit rules](https://cloud.google.com/functions/docs/networking/connecting-vpc#restrict-access).", +"User-defined global network firewall policy rule. For details, see [Network firewall policies](https://cloud.google.com/vpc/docs/network-firewall-policies).", +"User-defined regional network firewall policy rule. For details, see [Regional network firewall policies](https://cloud.google.com/firewall/docs/regional-firewall-policies).", +"System-defined global network firewall policy rule.", +"System-defined regional network firewall policy rule.", +"Firewall policy rule containing attributes not yet supported in Connectivity tests. Firewall analysis is skipped if such a rule can potentially be matched. Please see the [list of unsupported configurations](https://cloud.google.com/network-intelligence-center/docs/connectivity-tests/concepts/overview#unsupported-configs).", +"Tracking state for response traffic created when request traffic goes through allow firewall rule. For details, see [firewall rules specifications](https://cloud.google.com/firewall/docs/firewalls#specifications)", +"Firewall analysis was skipped due to executing Connectivity Test in the BypassFirewallChecks mode" +], +"type": "string" +}, +"networkUri": { +"description": "The URI of the VPC network that the firewall rule is associated with. This field is not applicable to hierarchical firewall policy rules.", +"type": "string" +}, +"policy": { +"description": "The name of the firewall policy that this rule is associated with. This field is not applicable to VPC firewall rules and implied VPC firewall rules.", +"type": "string" +}, +"policyPriority": { +"description": "The priority of the firewall policy that this rule is associated with. This field is not applicable to VPC firewall rules and implied VPC firewall rules.", +"format": "int32", +"type": "integer" +}, +"policyUri": { +"description": "The URI of the firewall policy that this rule is associated with. This field is not applicable to VPC firewall rules and implied VPC firewall rules.", +"type": "string" +}, +"priority": { +"description": "The priority of the firewall rule.", +"format": "int32", +"type": "integer" +}, +"targetServiceAccounts": { +"description": "The target service accounts specified by the firewall rule.", +"items": { +"type": "string" +}, +"type": "array" +}, +"targetTags": { +"description": "The target tags defined by the VPC firewall rule. This field is not applicable to firewall policy rules.", +"items": { +"type": "string" +}, +"type": "array" +}, +"targetType": { +"description": "Target type of the firewall rule.", +"enum": [ +"TARGET_TYPE_UNSPECIFIED", +"INSTANCES", +"INTERNAL_MANAGED_LB" +], +"enumDescriptions": [ +"Target type is not specified. In this case we treat the rule as applying to INSTANCES target type.", +"Firewall rule applies to instances.", +"Firewall rule applies to internal managed load balancers." +], +"type": "string" +}, +"uri": { +"description": "The URI of the firewall rule. This field is not applicable to implied VPC firewall rules.", +"type": "string" +} +}, +"type": "object" +}, +"ForwardInfo": { +"description": "Details of the final state \"forward\" and associated resource.", +"id": "ForwardInfo", +"properties": { +"ipAddress": { +"description": "IP address of the target (if applicable).", +"type": "string" +}, +"resourceUri": { +"description": "URI of the resource that the packet is forwarded to.", +"type": "string" +}, +"target": { +"description": "Target type where this packet is forwarded to.", +"enum": [ +"TARGET_UNSPECIFIED", +"PEERING_VPC", +"VPN_GATEWAY", +"INTERCONNECT", +"GKE_MASTER", +"IMPORTED_CUSTOM_ROUTE_NEXT_HOP", +"CLOUD_SQL_INSTANCE", +"ANOTHER_PROJECT", +"NCC_HUB", +"ROUTER_APPLIANCE", +"SECURE_WEB_PROXY_GATEWAY" +], +"enumDeprecated": [ +false, +false, +false, +false, +true, +false, +true, +false, +false, +false, +false +], +"enumDescriptions": [ +"Target not specified.", +"Forwarded to a VPC peering network.", +"Forwarded to a Cloud VPN gateway.", +"Forwarded to a Cloud Interconnect connection.", +"Forwarded to a Google Kubernetes Engine Container cluster master.", +"Forwarded to the next hop of a custom route imported from a peering VPC.", +"Forwarded to a Cloud SQL instance.", +"Forwarded to a VPC network in another project.", +"Forwarded to an NCC Hub.", +"Forwarded to a router appliance.", +"Forwarded to a Secure Web Proxy Gateway." +], +"type": "string" +} +}, +"type": "object" +}, +"ForwardingRuleInfo": { +"description": "For display only. Metadata associated with a Compute Engine forwarding rule.", +"id": "ForwardingRuleInfo", +"properties": { +"displayName": { +"description": "Name of the forwarding rule.", +"type": "string" +}, +"loadBalancerName": { +"description": "Name of the load balancer the forwarding rule belongs to. Empty for forwarding rules not related to load balancers (like PSC forwarding rules).", +"type": "string" +}, +"matchedPortRange": { +"description": "Port range defined in the forwarding rule that matches the packet.", +"type": "string" +}, +"matchedProtocol": { +"description": "Protocol defined in the forwarding rule that matches the packet.", +"type": "string" +}, +"networkUri": { +"description": "Network URI.", +"type": "string" +}, +"pscGoogleApiTarget": { +"description": "PSC Google API target this forwarding rule targets (if applicable).", +"type": "string" +}, +"pscServiceAttachmentUri": { +"description": "URI of the PSC service attachment this forwarding rule targets (if applicable).", +"type": "string" +}, +"region": { +"description": "Region of the forwarding rule. Set only for regional forwarding rules.", +"type": "string" +}, +"target": { +"description": "Target type of the forwarding rule.", +"type": "string" +}, +"uri": { +"description": "URI of the forwarding rule.", +"type": "string" +}, +"vip": { +"description": "VIP of the forwarding rule.", +"type": "string" +} +}, +"type": "object" +}, +"GKEMasterInfo": { +"description": "For display only. Metadata associated with a Google Kubernetes Engine (GKE) cluster master.", +"id": "GKEMasterInfo", +"properties": { +"clusterNetworkUri": { +"description": "URI of a GKE cluster network.", +"type": "string" +}, +"clusterUri": { +"description": "URI of a GKE cluster.", +"type": "string" +}, +"dnsEndpoint": { +"description": "DNS endpoint of a GKE cluster control plane.", +"type": "string" +}, +"externalIp": { +"description": "External IP address of a GKE cluster control plane.", +"type": "string" +}, +"internalIp": { +"description": "Internal IP address of a GKE cluster control plane.", +"type": "string" +} +}, +"type": "object" +}, +"GkePodInfo": { +"description": "For display only. Metadata associated with a Google Kubernetes Engine (GKE) Pod.", +"id": "GkePodInfo", +"properties": { +"ipAddress": { +"description": "IP address of a GKE Pod. If the Pod is dual-stack, this is the IP address relevant to the trace.", +"type": "string" +}, +"networkUri": { +"description": "URI of the network containing the GKE Pod.", +"type": "string" +}, +"podUri": { +"description": "URI of a GKE Pod. For Pods in regional Clusters, the URI format is: `projects/{project}/locations/{location}/clusters/{cluster}/k8s/namespaces/{namespace}/pods/{pod}` For Pods in zonal Clusters, the URI format is: `projects/{project}/zones/{zone}/clusters/{cluster}/k8s/namespaces/{namespace}/pods/{pod}`", +"type": "string" +} +}, +"type": "object" +}, +"GoogleServiceInfo": { +"description": "For display only. Details of a Google Service sending packets to a VPC network. Although the source IP might be a publicly routable address, some Google Services use special routes within Google production infrastructure to reach Compute Engine Instances. https://cloud.google.com/vpc/docs/routes#special_return_paths", +"id": "GoogleServiceInfo", +"properties": { +"googleServiceType": { +"description": "Recognized type of a Google Service.", +"enum": [ +"GOOGLE_SERVICE_TYPE_UNSPECIFIED", +"IAP", +"GFE_PROXY_OR_HEALTH_CHECK_PROBER", +"CLOUD_DNS", +"GOOGLE_API", +"GOOGLE_API_PSC", +"GOOGLE_API_VPC_SC", +"SERVERLESS_VPC_ACCESS" +], +"enumDescriptions": [ +"Unspecified Google Service.", +"Identity aware proxy. https://cloud.google.com/iap/docs/using-tcp-forwarding", +"One of two services sharing IP ranges: * Load Balancer proxy * Centralized Health Check prober https://cloud.google.com/load-balancing/docs/firewall-rules", +"Connectivity from Cloud DNS to forwarding targets or alternate name servers that use private routing. https://cloud.google.com/dns/docs/zones/forwarding-zones#firewall-rules https://cloud.google.com/dns/docs/policies#firewall-rules", +"private.googleapis.com and restricted.googleapis.com", +"Google API via Private Service Connect. https://cloud.google.com/vpc/docs/configure-private-service-connect-apis", +"Google API via VPC Service Controls. https://cloud.google.com/vpc/docs/configure-private-service-connect-apis", +"Google API via Serverless VPC Access. https://cloud.google.com/vpc/docs/serverless-vpc-access" +], +"type": "string" +}, +"sourceIp": { +"description": "Source IP address.", +"type": "string" +} +}, +"type": "object" +}, +"HybridSubnetInfo": { +"description": "For display only. Metadata associated with a hybrid subnet.", +"id": "HybridSubnetInfo", +"properties": { +"displayName": { +"description": "Name of a hybrid subnet.", +"type": "string" +}, +"region": { +"description": "Name of a Google Cloud region where the hybrid subnet is configured.", +"type": "string" +}, +"uri": { +"description": "URI of a hybrid subnet.", +"type": "string" +} +}, +"type": "object" +}, +"InstanceInfo": { +"description": "For display only. Metadata associated with a Compute Engine instance.", +"id": "InstanceInfo", +"properties": { +"displayName": { +"description": "Name of a Compute Engine instance.", +"type": "string" +}, +"externalIp": { +"description": "External IP address of the network interface.", +"type": "string" +}, +"interface": { +"description": "Name of the network interface of a Compute Engine instance.", +"type": "string" +}, +"internalIp": { +"description": "Internal IP address of the network interface.", +"type": "string" +}, +"networkTags": { +"description": "Network tags configured on the instance.", +"items": { +"type": "string" +}, +"type": "array" +}, +"networkUri": { +"description": "URI of a Compute Engine network.", +"type": "string" +}, +"pscNetworkAttachmentUri": { +"description": "URI of the PSC network attachment the NIC is attached to (if relevant).", +"type": "string" +}, +"running": { +"deprecated": true, +"description": "Indicates whether the Compute Engine instance is running. Deprecated: use the `status` field instead.", +"type": "boolean" +}, +"serviceAccount": { +"deprecated": true, +"description": "Service account authorized for the instance.", +"type": "string" +}, +"status": { +"description": "The status of the instance.", +"enum": [ +"STATUS_UNSPECIFIED", +"RUNNING", +"NOT_RUNNING" +], +"enumDescriptions": [ +"Default unspecified value.", +"The instance is running.", +"The instance has any status other than \"RUNNING\"." +], +"type": "string" +}, +"uri": { +"description": "URI of a Compute Engine instance.", +"type": "string" +} +}, +"type": "object" +}, +"InterconnectAttachmentInfo": { +"description": "For display only. Metadata associated with an Interconnect attachment.", +"id": "InterconnectAttachmentInfo", +"properties": { +"cloudRouterUri": { +"description": "URI of the Cloud Router to be used for dynamic routing.", +"type": "string" +}, +"displayName": { +"description": "Name of an Interconnect attachment.", +"type": "string" +}, +"interconnectUri": { +"description": "URI of the Interconnect where the Interconnect attachment is configured.", +"type": "string" +}, +"l2AttachmentMatchedIpAddress": { +"description": "Appliance IP address that was matched for L2_DEDICATED attachments.", +"type": "string" +}, +"region": { +"description": "Name of a Google Cloud region where the Interconnect attachment is configured.", +"type": "string" +}, +"type": { +"description": "The type of interconnect attachment this is.", +"enum": [ +"TYPE_UNSPECIFIED", +"DEDICATED", +"PARTNER", +"PARTNER_PROVIDER", +"L2_DEDICATED" +], +"enumDescriptions": [ +"Unspecified type.", +"Attachment to a dedicated interconnect.", +"Attachment to a partner interconnect, created by the customer.", +"Attachment to a partner interconnect, created by the partner.", +"Attachment to a L2 interconnect, created by the customer." +], +"type": "string" +}, +"uri": { +"description": "URI of an Interconnect attachment.", +"type": "string" +} +}, +"type": "object" +}, +"IpMasqueradingSkippedInfo": { +"description": "For display only. Contains information about why IP masquerading was skipped for the packet.", +"id": "IpMasqueradingSkippedInfo", +"properties": { +"nonMasqueradeRange": { +"description": "The matched non-masquerade IP range. Only set if reason is DESTINATION_IP_IN_CONFIGURED_NON_MASQUERADE_RANGE or DESTINATION_IP_IN_DEFAULT_NON_MASQUERADE_RANGE.", +"type": "string" +}, +"reason": { +"description": "Reason why IP masquerading was not applied.", +"enum": [ +"REASON_UNSPECIFIED", +"DESTINATION_IP_IN_CONFIGURED_NON_MASQUERADE_RANGE", +"DESTINATION_IP_IN_DEFAULT_NON_MASQUERADE_RANGE", +"DESTINATION_ON_SAME_NODE", +"DEFAULT_SNAT_DISABLED", +"NO_MASQUERADING_FOR_IPV6", +"POD_USES_NODE_NETWORK_NAMESPACE", +"NO_MASQUERADING_FOR_RETURN_PACKET" +], +"enumDescriptions": [ +"Unused default value.", +"Masquerading not applied because destination IP is in one of configured non-masquerade ranges.", +"Masquerading not applied because destination IP is in one of default non-masquerade ranges.", +"Masquerading not applied because destination is on the same Node.", +"Masquerading not applied because ip-masq-agent doesn't exist and default SNAT is disabled.", +"Masquerading not applied because the packet's IP version is IPv6.", +"Masquerading not applied because the source Pod uses the host Node's network namespace, including the Node's IP address.", +"Masquerading not applied because the packet is a return packet." +], +"type": "string" +} +}, +"type": "object" +}, +"LatencyDistribution": { +"description": "Describes measured latency distribution.", +"id": "LatencyDistribution", +"properties": { +"latencyPercentiles": { +"description": "Representative latency percentiles.", +"items": { +"$ref": "LatencyPercentile" +}, +"type": "array" +} +}, +"type": "object" +}, +"LatencyPercentile": { +"description": "Latency percentile rank and value.", +"id": "LatencyPercentile", +"properties": { +"latencyMicros": { +"description": "percent-th percentile of latency observed, in microseconds. Fraction of percent/100 of samples have latency lower or equal to the value of this field.", +"format": "int64", +"type": "string" +}, +"percent": { +"description": "Percentage of samples this data point applies to.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"ListConnectivityTestsResponse": { +"description": "Response for the `ListConnectivityTests` method.", +"id": "ListConnectivityTestsResponse", +"properties": { +"nextPageToken": { +"description": "Page token to fetch the next set of Connectivity Tests.", +"type": "string" +}, +"resources": { +"description": "List of Connectivity Tests.", +"items": { +"$ref": "ConnectivityTest" +}, +"type": "array" +}, +"unreachable": { +"description": "Locations that could not be reached (when querying all locations with `-`).", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListLocationsResponse": { +"description": "The response message for Locations.ListLocations.", +"id": "ListLocationsResponse", +"properties": { +"locations": { +"description": "A list of locations that matches the specified filter in the request.", +"items": { +"$ref": "Location" +}, +"type": "array" +}, +"nextPageToken": { +"description": "The standard List next-page token.", +"type": "string" +} +}, +"type": "object" +}, +"ListOperationsResponse": { +"description": "The response message for Operations.ListOperations.", +"id": "ListOperationsResponse", +"properties": { +"nextPageToken": { +"description": "The standard List next-page token.", +"type": "string" +}, +"operations": { +"description": "A list of operations that matches the specified filter in the request.", +"items": { +"$ref": "Operation" +}, +"type": "array" +}, +"unreachable": { +"description": "Unordered list. Unreachable resources. Populated when the request sets `ListOperationsRequest.return_partial_success` and reads across collections. For example, when attempting to list all resources across all supported locations.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListVpcFlowLogsConfigsResponse": { +"description": "Response for the `ListVpcFlowLogsConfigs` method.", +"id": "ListVpcFlowLogsConfigsResponse", +"properties": { +"nextPageToken": { +"description": "Page token to fetch the next set of configurations.", +"type": "string" +}, +"unreachable": { +"description": "Locations that could not be reached (when querying all locations with `-`).", +"items": { +"type": "string" +}, +"type": "array" +}, +"vpcFlowLogsConfigs": { +"description": "List of VPC Flow Log configurations.", +"items": { +"$ref": "VpcFlowLogsConfig" +}, +"type": "array" +} +}, +"type": "object" +}, +"LoadBalancerBackend": { +"description": "For display only. Metadata associated with a specific load balancer backend.", +"id": "LoadBalancerBackend", +"properties": { +"displayName": { +"description": "Name of a Compute Engine instance or network endpoint.", +"type": "string" +}, +"healthCheckAllowingFirewallRules": { +"description": "A list of firewall rule URIs allowing probes from health check IP ranges.", +"items": { +"type": "string" +}, +"type": "array" +}, +"healthCheckBlockingFirewallRules": { +"description": "A list of firewall rule URIs blocking probes from health check IP ranges.", +"items": { +"type": "string" +}, +"type": "array" +}, +"healthCheckFirewallState": { +"description": "State of the health check firewall configuration.", +"enum": [ +"HEALTH_CHECK_FIREWALL_STATE_UNSPECIFIED", +"CONFIGURED", +"MISCONFIGURED" +], +"enumDescriptions": [ +"State is unspecified. Default state if not populated.", +"There are configured firewall rules to allow health check probes to the backend.", +"There are firewall rules configured to allow partial health check ranges or block all health check ranges. If a health check probe is sent from denied IP ranges, the health check to the backend will fail. Then, the backend will be marked unhealthy and will not receive traffic sent to the load balancer." +], +"type": "string" +}, +"uri": { +"description": "URI of a Compute Engine instance or network endpoint.", +"type": "string" +} +}, +"type": "object" +}, +"LoadBalancerBackendInfo": { +"description": "For display only. Metadata associated with the load balancer backend.", +"id": "LoadBalancerBackendInfo", +"properties": { +"backendBucketUri": { +"description": "URI of the backend bucket this backend targets (if applicable).", +"type": "string" +}, +"backendServiceUri": { +"description": "URI of the backend service this backend belongs to (if applicable).", +"type": "string" +}, +"healthCheckFirewallsConfigState": { +"description": "Output only. Health check firewalls configuration state for the backend. This is a result of the static firewall analysis (verifying that health check traffic from required IP ranges to the backend is allowed or not). The backend might still be unhealthy even if these firewalls are configured. Please refer to the documentation for more information: https://cloud.google.com/load-balancing/docs/firewall-rules", +"enum": [ +"HEALTH_CHECK_FIREWALLS_CONFIG_STATE_UNSPECIFIED", +"FIREWALLS_CONFIGURED", +"FIREWALLS_PARTIALLY_CONFIGURED", +"FIREWALLS_NOT_CONFIGURED", +"FIREWALLS_UNSUPPORTED" +], +"enumDescriptions": [ +"Configuration state unspecified. It usually means that the backend has no health check attached, or there was an unexpected configuration error preventing Connectivity tests from verifying health check configuration.", +"Firewall rules (policies) allowing health check traffic from all required IP ranges to the backend are configured.", +"Firewall rules (policies) allow health check traffic only from a part of required IP ranges.", +"Firewall rules (policies) deny health check traffic from all required IP ranges to the backend.", +"The network contains firewall rules of unsupported types, so Connectivity tests were not able to verify health check configuration status. Please refer to the documentation for the list of unsupported configurations: https://cloud.google.com/network-intelligence-center/docs/connectivity-tests/concepts/overview#unsupported-configs" +], +"readOnly": true, +"type": "string" +}, +"healthCheckUri": { +"description": "URI of the health check attached to this backend (if applicable).", +"type": "string" +}, +"instanceGroupUri": { +"description": "URI of the instance group this backend belongs to (if applicable).", +"type": "string" +}, +"instanceUri": { +"description": "URI of the backend instance (if applicable). Populated for instance group backends, and zonal NEG backends.", +"type": "string" +}, +"name": { +"description": "Display name of the backend. For example, it might be an instance name for the instance group backends, or an IP address and port for zonal network endpoint group backends.", +"type": "string" +}, +"networkEndpointGroupUri": { +"description": "URI of the network endpoint group this backend belongs to (if applicable).", +"type": "string" +}, +"pscGoogleApiTarget": { +"description": "PSC Google API target this PSC NEG backend targets (if applicable).", +"type": "string" +}, +"pscServiceAttachmentUri": { +"description": "URI of the PSC service attachment this PSC NEG backend targets (if applicable).", +"type": "string" +} +}, +"type": "object" +}, +"LoadBalancerInfo": { +"description": "For display only. Metadata associated with a load balancer.", +"id": "LoadBalancerInfo", +"properties": { +"backendType": { +"description": "Type of load balancer's backend configuration.", +"enum": [ +"BACKEND_TYPE_UNSPECIFIED", +"BACKEND_SERVICE", +"TARGET_POOL", +"TARGET_INSTANCE" +], +"enumDescriptions": [ +"Type is unspecified.", +"Backend Service as the load balancer's backend.", +"Target Pool as the load balancer's backend.", +"Target Instance as the load balancer's backend." +], +"type": "string" +}, +"backendUri": { +"description": "Backend configuration URI.", +"type": "string" +}, +"backends": { +"description": "Information for the loadbalancer backends.", +"items": { +"$ref": "LoadBalancerBackend" +}, +"type": "array" +}, +"healthCheckUri": { +"deprecated": true, +"description": "URI of the health check for the load balancer. Deprecated and no longer populated as different load balancer backends might have different health checks.", +"type": "string" +}, +"loadBalancerType": { +"description": "Type of the load balancer.", +"enum": [ +"LOAD_BALANCER_TYPE_UNSPECIFIED", +"INTERNAL_TCP_UDP", +"NETWORK_TCP_UDP", +"HTTP_PROXY", +"TCP_PROXY", +"SSL_PROXY" +], +"enumDescriptions": [ +"Type is unspecified.", +"Internal TCP/UDP load balancer.", +"Network TCP/UDP load balancer.", +"HTTP(S) proxy load balancer.", +"TCP proxy load balancer.", +"SSL proxy load balancer." +], +"type": "string" +} +}, +"type": "object" +}, +"Location": { +"description": "A resource that represents a Google Cloud location.", +"id": "Location", +"properties": { +"displayName": { +"description": "The friendly name for this location, typically a nearby city name. For example, \"Tokyo\".", +"type": "string" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Cross-service attributes for the location. For example {\"cloud.googleapis.com/region\": \"us-east1\"}", +"type": "object" +}, +"locationId": { +"description": "The canonical id for this location. For example: `\"us-east1\"`.", +"type": "string" +}, +"metadata": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "Service-specific metadata. For example the available capacity at the given location.", +"type": "object" +}, +"name": { +"description": "Resource name for the location, which may vary between implementations. For example: `\"projects/example-project/locations/us-east1\"`", +"type": "string" +} +}, +"type": "object" +}, +"NatInfo": { +"description": "For display only. Metadata associated with NAT.", +"id": "NatInfo", +"properties": { +"cloudNatGatewayType": { +"description": "Type of Cloud NAT gateway. Only valid when `type` is CLOUD_NAT.", +"enum": [ +"CLOUD_NAT_GATEWAY_TYPE_UNSPECIFIED", +"PUBLIC_NAT44", +"PUBLIC_NAT64", +"PRIVATE_NAT_NCC", +"PRIVATE_NAT_HYBRID", +"PRIVATE_NAT64" +], +"enumDescriptions": [ +"Type is unspecified.", +"Public NAT gateway.", +"Public NAT64 gateway.", +"Private NAT gateway for NCC.", +"Private NAT gateway for hybrid connectivity.", +"Private NAT64 gateway." +], +"type": "string" +}, +"natGatewayName": { +"description": "The name of Cloud NAT Gateway. Only valid when type is CLOUD_NAT.", +"type": "string" +}, +"networkUri": { +"description": "URI of the network where NAT translation takes place.", +"type": "string" +}, +"newDestinationIp": { +"description": "Destination IP address after NAT translation.", +"type": "string" +}, +"newDestinationPort": { +"description": "Destination port after NAT translation. Only valid when protocol is TCP or UDP.", +"format": "int32", +"type": "integer" +}, +"newSourceIp": { +"description": "Source IP address after NAT translation.", +"type": "string" +}, +"newSourcePort": { +"description": "Source port after NAT translation. Only valid when protocol is TCP or UDP.", +"format": "int32", +"type": "integer" +}, +"oldDestinationIp": { +"description": "Destination IP address before NAT translation.", +"type": "string" +}, +"oldDestinationPort": { +"description": "Destination port before NAT translation. Only valid when protocol is TCP or UDP.", +"format": "int32", +"type": "integer" +}, +"oldSourceIp": { +"description": "Source IP address before NAT translation.", +"type": "string" +}, +"oldSourcePort": { +"description": "Source port before NAT translation. Only valid when protocol is TCP or UDP.", +"format": "int32", +"type": "integer" +}, +"protocol": { +"description": "IP protocol in string format, for example: \"TCP\", \"UDP\", \"ICMP\".", +"type": "string" +}, +"routerUri": { +"description": "Uri of the Cloud Router. Only valid when type is CLOUD_NAT.", +"type": "string" +}, +"type": { +"description": "Type of NAT.", +"enum": [ +"TYPE_UNSPECIFIED", +"INTERNAL_TO_EXTERNAL", +"EXTERNAL_TO_INTERNAL", +"CLOUD_NAT", +"PRIVATE_SERVICE_CONNECT", +"GKE_POD_IP_MASQUERADING" +], +"enumDescriptions": [ +"Type is unspecified.", +"From Compute Engine instance's internal address to external address.", +"From Compute Engine instance's external address to internal address.", +"Cloud NAT Gateway.", +"Private service connect NAT.", +"GKE Pod IP address masquerading." +], +"type": "string" +} +}, +"type": "object" +}, +"NetworkInfo": { +"description": "For display only. Metadata associated with a Compute Engine network.", +"id": "NetworkInfo", +"properties": { +"displayName": { +"description": "Name of a Compute Engine network.", +"type": "string" +}, +"matchedIpRange": { +"description": "The IP range of the subnet matching the source IP address of the test.", +"type": "string" +}, +"matchedSubnetUri": { +"description": "URI of the subnet matching the source IP address of the test.", +"type": "string" +}, +"region": { +"description": "The region of the subnet matching the source IP address of the test.", +"type": "string" +}, +"uri": { +"description": "URI of a Compute Engine network.", +"type": "string" +} +}, +"type": "object" +}, +"NgfwPacketInspectionInfo": { +"description": "For display only. Metadata associated with a layer 7 packet inspection by the firewall.", +"id": "NgfwPacketInspectionInfo", +"properties": { +"securityProfileGroupUri": { +"description": "URI of the security profile group associated with this firewall packet inspection.", +"type": "string" +} +}, +"type": "object" +}, +"Operation": { +"description": "This resource represents a long-running operation that is the result of a network API call.", +"id": "Operation", +"properties": { +"done": { +"description": "If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.", +"type": "boolean" +}, +"error": { +"$ref": "Status", +"description": "The error result of the operation in case of failure or cancellation." +}, +"metadata": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.", +"type": "object" +}, +"name": { +"description": "The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.", +"type": "string" +}, +"response": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "The normal, successful response of the operation. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.", +"type": "object" +} +}, +"type": "object" +}, +"OperationMetadata": { +"description": "Metadata describing an Operation", +"id": "OperationMetadata", +"properties": { +"apiVersion": { +"description": "API version.", +"type": "string" +}, +"cancelRequested": { +"description": "Specifies if cancellation was requested for the operation.", +"type": "boolean" +}, +"createTime": { +"description": "The time the operation was created.", +"format": "google-datetime", +"type": "string" +}, +"endTime": { +"description": "The time the operation finished running.", +"format": "google-datetime", +"type": "string" +}, +"statusDetail": { +"description": "Human-readable status of the operation, if any.", +"type": "string" +}, +"target": { +"description": "Target of the operation - for example projects/project-1/locations/global/connectivityTests/test-1", +"type": "string" +}, +"verb": { +"description": "Name of the verb executed by the operation.", +"type": "string" +} +}, +"type": "object" +}, +"Policy": { +"description": "An Identity and Access Management (IAM) policy, which specifies access controls for Google Cloud resources. A `Policy` is a collection of `bindings`. A `binding` binds one or more `members`, or principals, to a single `role`. Principals can be user accounts, service accounts, Google groups, and domains (such as G Suite). A `role` is a named list of permissions; each `role` can be an IAM predefined role or a user-created custom role. For some types of Google Cloud resources, a `binding` can also specify a `condition`, which is a logical expression that allows access to a resource only if the expression evaluates to `true`. A condition can add constraints based on attributes of the request, the resource, or both. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). **JSON example:** ``` { \"bindings\": [ { \"role\": \"roles/resourcemanager.organizationAdmin\", \"members\": [ \"user:mike@example.com\", \"group:admins@example.com\", \"domain:google.com\", \"serviceAccount:my-project-id@appspot.gserviceaccount.com\" ] }, { \"role\": \"roles/resourcemanager.organizationViewer\", \"members\": [ \"user:eve@example.com\" ], \"condition\": { \"title\": \"expirable access\", \"description\": \"Does not grant access after Sep 2020\", \"expression\": \"request.time < timestamp('2020-10-01T00:00:00.000Z')\", } } ], \"etag\": \"BwWWja0YfJA=\", \"version\": 3 } ``` **YAML example:** ``` bindings: - members: - user:mike@example.com - group:admins@example.com - domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.com role: roles/resourcemanager.organizationViewer condition: title: expirable access description: Does not grant access after Sep 2020 expression: request.time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 ``` For a description of IAM and its features, see the [IAM documentation](https://cloud.google.com/iam/docs/).", +"id": "Policy", +"properties": { +"auditConfigs": { +"description": "Specifies cloud audit logging configuration for this policy.", +"items": { +"$ref": "AuditConfig" +}, +"type": "array" +}, +"bindings": { +"description": "Associates a list of `members`, or principals, with a `role`. Optionally, may specify a `condition` that determines how and when the `bindings` are applied. Each of the `bindings` must contain at least one principal. The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250 of these principals can be Google groups. Each occurrence of a principal counts towards these limits. For example, if the `bindings` grant 50 different roles to `user:alice@example.com`, and not to any other principal, then you can add another 1,450 principals to the `bindings` in the `Policy`.", +"items": { +"$ref": "Binding" +}, +"type": "array" +}, +"etag": { +"description": "`etag` is used for optimistic concurrency control as a way to help prevent simultaneous updates of a policy from overwriting each other. It is strongly suggested that systems make use of the `etag` in the read-modify-write cycle to perform policy updates in order to avoid race conditions: An `etag` is returned in the response to `getIamPolicy`, and systems are expected to put that etag in the request to `setIamPolicy` to ensure that their change will be applied to the same version of the policy. **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost.", +"format": "byte", +"type": "string" +}, +"version": { +"description": "Specifies the format of the policy. Valid values are `0`, `1`, and `3`. Requests that specify an invalid value are rejected. Any operation that affects conditional role bindings must specify version `3`. This requirement applies to the following operations: * Getting a policy that includes a conditional role binding * Adding a conditional role binding to a policy * Changing a conditional role binding in a policy * Removing any role binding, with or without a condition, from a policy that includes conditions **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost. If a policy does not include any conditions, operations on that policy may specify any valid version or leave the field unset. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"ProbingDetails": { +"description": "Results of active probing from the last run of the test.", +"id": "ProbingDetails", +"properties": { +"abortCause": { +"description": "The reason probing was aborted.", +"enum": [ +"PROBING_ABORT_CAUSE_UNSPECIFIED", +"PERMISSION_DENIED", +"NO_SOURCE_LOCATION" +], +"enumDescriptions": [ +"No reason was specified.", +"The user lacks permission to access some of the network resources required to run the test.", +"No valid source endpoint could be derived from the request." +], +"type": "string" +}, +"destinationEgressLocation": { +"$ref": "EdgeLocation", +"description": "The EdgeLocation from which a packet, destined to the internet, will egress the Google network. This will only be populated for a connectivity test which has an internet destination address. The absence of this field *must not* be used as an indication that the destination is part of the Google network." +}, +"edgeResponses": { +"description": "Probing results for all edge devices.", +"items": { +"$ref": "SingleEdgeResponse" +}, +"type": "array" +}, +"endpointInfo": { +"$ref": "EndpointInfo", +"description": "The source and destination endpoints derived from the test input and used for active probing." +}, +"error": { +"$ref": "Status", +"description": "Details about an internal failure or the cancellation of active probing." +}, +"probedAllDevices": { +"description": "Whether all relevant edge devices were probed.", +"type": "boolean" +}, +"probingLatency": { +"$ref": "LatencyDistribution", +"description": "Latency as measured by active probing in one direction: from the source to the destination endpoint." +}, +"result": { +"description": "The overall result of active probing.", +"enum": [ +"PROBING_RESULT_UNSPECIFIED", +"REACHABLE", +"UNREACHABLE", +"REACHABILITY_INCONSISTENT", +"UNDETERMINED" +], +"enumDescriptions": [ +"No result was specified.", +"At least 95% of packets reached the destination.", +"No packets reached the destination.", +"Less than 95% of packets reached the destination.", +"Reachability could not be determined. Possible reasons are: * The user lacks permission to access some of the network resources required to run the test. * No valid source endpoint could be derived from the request. * An internal error occurred." +], +"type": "string" +}, +"sentProbeCount": { +"description": "Number of probes sent.", +"format": "int32", +"type": "integer" +}, +"successfulProbeCount": { +"description": "Number of probes that reached the destination.", +"format": "int32", +"type": "integer" +}, +"verifyTime": { +"description": "The time that reachability was assessed through active probing.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"ProxyConnectionInfo": { +"description": "For display only. Metadata associated with ProxyConnection.", +"id": "ProxyConnectionInfo", +"properties": { +"networkUri": { +"description": "URI of the network where connection is proxied.", +"type": "string" +}, +"newDestinationIp": { +"description": "Destination IP address of a new connection.", +"type": "string" +}, +"newDestinationPort": { +"description": "Destination port of a new connection. Only valid when protocol is TCP or UDP.", +"format": "int32", +"type": "integer" +}, +"newSourceIp": { +"description": "Source IP address of a new connection.", +"type": "string" +}, +"newSourcePort": { +"description": "Source port of a new connection. Only valid when protocol is TCP or UDP.", +"format": "int32", +"type": "integer" +}, +"oldDestinationIp": { +"description": "Destination IP address of an original connection", +"type": "string" +}, +"oldDestinationPort": { +"description": "Destination port of an original connection. Only valid when protocol is TCP or UDP.", +"format": "int32", +"type": "integer" +}, +"oldSourceIp": { +"description": "Source IP address of an original connection.", +"type": "string" +}, +"oldSourcePort": { +"description": "Source port of an original connection. Only valid when protocol is TCP or UDP.", +"format": "int32", +"type": "integer" +}, +"protocol": { +"description": "IP protocol in string format, for example: \"TCP\", \"UDP\", \"ICMP\".", +"type": "string" +}, +"subnetUri": { +"description": "Uri of proxy subnet.", +"type": "string" +} +}, +"type": "object" +}, +"QueryOrgVpcFlowLogsConfigsResponse": { +"description": "Response for the `QueryVpcFlowLogsConfigs` method.", +"id": "QueryOrgVpcFlowLogsConfigsResponse", +"properties": { +"nextPageToken": { +"description": "Page token to fetch the next set of configurations.", +"type": "string" +}, +"unreachable": { +"description": "Locations that could not be reached (when querying all locations with `-`).", +"items": { +"type": "string" +}, +"type": "array" +}, +"vpcFlowLogsConfigs": { +"description": "List of VPC Flow Log configurations.", +"items": { +"$ref": "VpcFlowLogsConfig" +}, +"type": "array" +} +}, +"type": "object" +}, +"ReachabilityDetails": { +"description": "Results of the configuration analysis from the last run of the test.", +"id": "ReachabilityDetails", +"properties": { +"error": { +"$ref": "Status", +"description": "The details of a failure or a cancellation of reachability analysis." +}, +"result": { +"description": "The overall result of the test's configuration analysis.", +"enum": [ +"RESULT_UNSPECIFIED", +"REACHABLE", +"UNREACHABLE", +"AMBIGUOUS", +"UNDETERMINED" +], +"enumDescriptions": [ +"No result was specified.", +"Possible scenarios are: * The configuration analysis determined that a packet originating from the source is expected to reach the destination. * The analysis didn't complete because the user lacks permission for some of the resources in the trace. However, at the time the user's permission became insufficient, the trace had been successful so far.", +"A packet originating from the source is expected to be dropped before reaching the destination.", +"The source and destination endpoints do not uniquely identify the test location in the network, and the reachability result contains multiple traces. For some traces, a packet could be delivered, and for others, it would not be. This result is also assigned to configuration analysis of return path if on its own it should be REACHABLE, but configuration analysis of forward path is AMBIGUOUS.", +"The configuration analysis did not complete. Possible reasons are: * A permissions error occurred--for example, the user might not have read permission for all of the resources named in the test. * An internal error occurred. * The analyzer received an invalid or unsupported argument or was unable to identify a known endpoint." +], +"type": "string" +}, +"traces": { +"description": "Result may contain a list of traces if a test has multiple possible paths in the network, such as when destination endpoint is a load balancer with multiple backends.", +"items": { +"$ref": "Trace" +}, +"type": "array" +}, +"verifyTime": { +"description": "The time of the configuration analysis.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"RedisClusterInfo": { +"description": "For display only. Metadata associated with a Redis Cluster.", +"id": "RedisClusterInfo", +"properties": { +"discoveryEndpointIpAddress": { +"description": "Discovery endpoint IP address of a Redis Cluster.", +"type": "string" +}, +"displayName": { +"description": "Name of a Redis Cluster.", +"type": "string" +}, +"location": { +"description": "Name of the region in which the Redis Cluster is defined. For example, \"us-central1\".", +"type": "string" +}, +"networkUri": { +"description": "URI of the network containing the Redis Cluster endpoints in format \"projects/{project_id}/global/networks/{network_id}\".", +"type": "string" +}, +"secondaryEndpointIpAddress": { +"description": "Secondary endpoint IP address of a Redis Cluster.", +"type": "string" +}, +"uri": { +"description": "URI of a Redis Cluster in format \"projects/{project_id}/locations/{location}/clusters/{cluster_id}\"", +"type": "string" +} +}, +"type": "object" +}, +"RedisInstanceInfo": { +"description": "For display only. Metadata associated with a Cloud Redis Instance.", +"id": "RedisInstanceInfo", +"properties": { +"displayName": { +"description": "Name of a Cloud Redis Instance.", +"type": "string" +}, +"networkUri": { +"description": "URI of a Cloud Redis Instance network.", +"type": "string" +}, +"primaryEndpointIp": { +"description": "Primary endpoint IP address of a Cloud Redis Instance.", +"type": "string" +}, +"readEndpointIp": { +"description": "Read endpoint IP address of a Cloud Redis Instance (if applicable).", +"type": "string" +}, +"region": { +"description": "Region in which the Cloud Redis Instance is defined.", +"type": "string" +}, +"uri": { +"description": "URI of a Cloud Redis Instance.", +"type": "string" +} +}, +"type": "object" +}, +"RerunConnectivityTestRequest": { +"description": "Request for the `RerunConnectivityTest` method.", +"id": "RerunConnectivityTestRequest", +"properties": {}, +"type": "object" +}, +"RouteInfo": { +"description": "For display only. Metadata associated with a Compute Engine route.", +"id": "RouteInfo", +"properties": { +"advertisedRouteNextHopUri": { +"deprecated": true, +"description": "For ADVERTISED routes, the URI of their next hop, i.e. the URI of the hybrid endpoint (VPN tunnel, Interconnect attachment, NCC router appliance) the advertised prefix is advertised through, or URI of the source peered network. Deprecated in favor of the next_hop_uri field, not used in new tests.", +"type": "string" +}, +"advertisedRouteSourceRouterUri": { +"description": "For ADVERTISED dynamic routes, the URI of the Cloud Router that advertised the corresponding IP prefix.", +"type": "string" +}, +"destIpRange": { +"description": "Destination IP range of the route.", +"type": "string" +}, +"destPortRanges": { +"description": "Destination port ranges of the route. POLICY_BASED routes only.", +"items": { +"type": "string" +}, +"type": "array" +}, +"displayName": { +"description": "Name of a route.", +"type": "string" +}, +"instanceTags": { +"description": "Instance tags of the route.", +"items": { +"type": "string" +}, +"type": "array" +}, +"nccHubRouteUri": { +"description": "For PEERING_SUBNET and PEERING_DYNAMIC routes that are advertised by NCC Hub, the URI of the corresponding route in NCC Hub's routing table.", +"type": "string" +}, +"nccHubUri": { +"description": "URI of the NCC Hub the route is advertised by. PEERING_SUBNET and PEERING_DYNAMIC routes that are advertised by NCC Hub only.", +"type": "string" +}, +"nccSpokeUri": { +"description": "URI of the destination NCC Spoke. PEERING_SUBNET and PEERING_DYNAMIC routes that are advertised by NCC Hub only.", +"type": "string" +}, +"networkUri": { +"description": "URI of a VPC network where route is located.", +"type": "string" +}, +"nextHop": { +"deprecated": true, +"description": "String type of the next hop of the route (for example, \"VPN tunnel\"). Deprecated in favor of the next_hop_type and next_hop_uri fields, not used in new tests.", +"type": "string" +}, +"nextHopNetworkUri": { +"description": "URI of a VPC network where the next hop resource is located.", +"type": "string" +}, +"nextHopType": { +"description": "Type of next hop.", +"enum": [ +"NEXT_HOP_TYPE_UNSPECIFIED", +"NEXT_HOP_IP", +"NEXT_HOP_INSTANCE", +"NEXT_HOP_NETWORK", +"NEXT_HOP_PEERING", +"NEXT_HOP_INTERCONNECT", +"NEXT_HOP_VPN_TUNNEL", +"NEXT_HOP_VPN_GATEWAY", +"NEXT_HOP_INTERNET_GATEWAY", +"NEXT_HOP_BLACKHOLE", +"NEXT_HOP_ILB", +"NEXT_HOP_ROUTER_APPLIANCE", +"NEXT_HOP_NCC_HUB", +"SECURE_WEB_PROXY_GATEWAY" +], +"enumDescriptions": [ +"Unspecified type. Default value.", +"Next hop is an IP address.", +"Next hop is a Compute Engine instance.", +"Next hop is a VPC network gateway.", +"Next hop is a peering VPC. This scenario only happens when the user doesn't have permissions to the project where the next hop resource is located.", +"Next hop is an interconnect.", +"Next hop is a VPN tunnel.", +"Next hop is a VPN gateway. This scenario only happens when tracing connectivity from an on-premises network to Google Cloud through a VPN. The analysis simulates a packet departing from the on-premises network through a VPN tunnel and arriving at a Cloud VPN gateway.", +"Next hop is an internet gateway.", +"Next hop is blackhole; that is, the next hop either does not exist or is unusable.", +"Next hop is the forwarding rule of an Internal Load Balancer.", +"Next hop is a [router appliance instance](https://cloud.google.com/network-connectivity/docs/network-connectivity-center/concepts/ra-overview).", +"Next hop is an NCC hub. This scenario only happens when the user doesn't have permissions to the project where the next hop resource is located.", +"Next hop is Secure Web Proxy Gateway." +], +"type": "string" +}, +"nextHopUri": { +"description": "URI of the next hop resource.", +"type": "string" +}, +"originatingRouteDisplayName": { +"description": "For PEERING_SUBNET, PEERING_STATIC and PEERING_DYNAMIC routes, the name of the originating SUBNET/STATIC/DYNAMIC route.", +"type": "string" +}, +"originatingRouteUri": { +"description": "For PEERING_SUBNET and PEERING_STATIC routes, the URI of the originating SUBNET/STATIC route.", +"type": "string" +}, +"priority": { +"description": "Priority of the route.", +"format": "int32", +"type": "integer" +}, +"protocols": { +"description": "Protocols of the route. POLICY_BASED routes only.", +"items": { +"type": "string" +}, +"type": "array" +}, +"region": { +"description": "Region of the route. DYNAMIC, PEERING_DYNAMIC, POLICY_BASED and ADVERTISED routes only. If set for POLICY_BASED route, this is a region of VLAN attachments for Cloud Interconnect the route applies to.", +"type": "string" +}, +"routeScope": { +"deprecated": true, +"description": "Indicates where route is applicable. Deprecated, routes with NCC_HUB scope are not included in the trace in new tests.", +"enum": [ +"ROUTE_SCOPE_UNSPECIFIED", +"NETWORK", +"NCC_HUB" +], +"enumDescriptions": [ +"Unspecified scope. Default value.", +"Route is applicable to packets in Network.", +"Route is applicable to packets using NCC Hub's routing table." +], +"type": "string" +}, +"routeType": { +"description": "Type of route.", +"enum": [ +"ROUTE_TYPE_UNSPECIFIED", +"SUBNET", +"STATIC", +"DYNAMIC", +"PEERING_SUBNET", +"PEERING_STATIC", +"PEERING_DYNAMIC", +"POLICY_BASED", +"ADVERTISED" +], +"enumDescriptions": [ +"Unspecified type. Default value.", +"Route is a subnet route automatically created by the system.", +"Static route created by the user, including the default route to the internet.", +"Dynamic route exchanged between BGP peers.", +"A subnet route received from peering network or NCC Hub.", +"A static route received from peering network.", +"A dynamic route received from peering network or NCC Hub.", +"Policy based route.", +"Advertised route. Synthetic route which is used to transition from the StartFromPrivateNetwork state in Connectivity tests." +], +"type": "string" +}, +"srcIpRange": { +"description": "Source IP address range of the route. POLICY_BASED routes only.", +"type": "string" +}, +"srcPortRanges": { +"description": "Source port ranges of the route. POLICY_BASED routes only.", +"items": { +"type": "string" +}, +"type": "array" +}, +"uri": { +"description": "URI of a route. SUBNET, STATIC, PEERING_SUBNET (only for peering network) and POLICY_BASED routes only.", +"type": "string" +} +}, +"type": "object" +}, +"ServerlessExternalConnectionInfo": { +"description": "For display only. Metadata associated with a serverless public connection.", +"id": "ServerlessExternalConnectionInfo", +"properties": { +"selectedIpAddress": { +"description": "Selected starting IP address, from the Google dynamic address pool.", +"type": "string" +} +}, +"type": "object" +}, +"ServerlessNegInfo": { +"description": "For display only. Metadata associated with the serverless network endpoint group backend.", +"id": "ServerlessNegInfo", +"properties": { +"negUri": { +"description": "URI of the serverless network endpoint group.", +"type": "string" +} +}, +"type": "object" +}, +"SetIamPolicyRequest": { +"description": "Request message for `SetIamPolicy` method.", +"id": "SetIamPolicyRequest", +"properties": { +"policy": { +"$ref": "Policy", +"description": "REQUIRED: The complete policy to be applied to the `resource`. The size of the policy is limited to a few 10s of KB. An empty policy is a valid policy but certain Google Cloud services (such as Projects) might reject them." +}, +"updateMask": { +"description": "OPTIONAL: A FieldMask specifying which fields of the policy to modify. Only the fields in the mask will be modified. If no mask is provided, the following default mask is used: `paths: \"bindings, etag\"`", +"format": "google-fieldmask", +"type": "string" +} +}, +"type": "object" +}, +"ShowEffectiveFlowLogsConfigsResponse": { +"description": "Response for the `ShowEffectiveFlowLogsConfigs` method.", +"id": "ShowEffectiveFlowLogsConfigsResponse", +"properties": { +"effectiveFlowLogsConfigs": { +"description": "List of Effective Vpc Flow Logs configurations.", +"items": { +"$ref": "EffectiveVpcFlowLogsConfig" +}, +"type": "array" +}, +"nextPageToken": { +"description": "Page token to fetch the next set of configurations.", +"type": "string" +}, +"unreachable": { +"description": "Locations that could not be reached (when querying all locations with `-`).", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"SingleEdgeResponse": { +"description": "Probing results for a single edge device.", +"id": "SingleEdgeResponse", +"properties": { +"destinationEgressLocation": { +"$ref": "EdgeLocation", +"description": "The EdgeLocation from which a packet, destined to the internet, will egress the Google network. This will only be populated for a connectivity test which has an internet destination address. The absence of this field *must not* be used as an indication that the destination is part of the Google network." +}, +"destinationRouter": { +"description": "Router name in the format '{router}.{metroshard}'. For example: pf01.aaa01, pr02.aaa01.", +"type": "string" +}, +"probingLatency": { +"$ref": "LatencyDistribution", +"description": "Latency as measured by active probing in one direction: from the source to the destination endpoint." +}, +"result": { +"description": "The overall result of active probing for this egress device.", +"enum": [ +"PROBING_RESULT_UNSPECIFIED", +"REACHABLE", +"UNREACHABLE", +"REACHABILITY_INCONSISTENT", +"UNDETERMINED" +], +"enumDescriptions": [ +"No result was specified.", +"At least 95% of packets reached the destination.", +"No packets reached the destination.", +"Less than 95% of packets reached the destination.", +"Reachability could not be determined. Possible reasons are: * The user lacks permission to access some of the network resources required to run the test. * No valid source endpoint could be derived from the request. * An internal error occurred." +], +"type": "string" +}, +"sentProbeCount": { +"description": "Number of probes sent.", +"format": "int32", +"type": "integer" +}, +"successfulProbeCount": { +"description": "Number of probes that reached the destination.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"Status": { +"description": "The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors).", +"id": "Status", +"properties": { +"code": { +"description": "The status code, which should be an enum value of google.rpc.Code.", +"format": "int32", +"type": "integer" +}, +"details": { +"description": "A list of messages that carry the error details. There is a common set of message types for APIs to use.", +"items": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.", +"type": "string" +} +}, +"type": "object" +}, +"Step": { +"description": "A simulated forwarding path is composed of multiple steps. Each step has a well-defined state and an associated configuration.", +"id": "Step", +"properties": { +"abort": { +"$ref": "AbortInfo", +"description": "Display information of the final state \"abort\" and reason." +}, +"appEngineVersion": { +"$ref": "AppEngineVersionInfo", +"description": "Display information of an App Engine service version." +}, +"causesDrop": { +"description": "This is a step that leads to the final state Drop.", +"type": "boolean" +}, +"cloudFunction": { +"$ref": "CloudFunctionInfo", +"description": "Display information of a Cloud Function." +}, +"cloudRunRevision": { +"$ref": "CloudRunRevisionInfo", +"description": "Display information of a Cloud Run revision." +}, +"cloudSqlInstance": { +"$ref": "CloudSQLInstanceInfo", +"description": "Display information of a Cloud SQL instance." +}, +"deliver": { +"$ref": "DeliverInfo", +"description": "Display information of the final state \"deliver\" and reason." +}, +"description": { +"description": "A description of the step. Usually this is a summary of the state.", +"type": "string" +}, +"directVpcEgressConnection": { +"$ref": "DirectVpcEgressConnectionInfo", +"description": "Display information of a serverless direct VPC egress connection." +}, +"drop": { +"$ref": "DropInfo", +"description": "Display information of the final state \"drop\" and reason." +}, +"endpoint": { +"$ref": "EndpointInfo", +"description": "Display information of the source and destination under analysis. The endpoint information in an intermediate state may differ with the initial input, as it might be modified by state like NAT, or Connection Proxy." +}, +"firewall": { +"$ref": "FirewallInfo", +"description": "Display information of a Compute Engine firewall rule." +}, +"forward": { +"$ref": "ForwardInfo", +"description": "Display information of the final state \"forward\" and reason." +}, +"forwardingRule": { +"$ref": "ForwardingRuleInfo", +"description": "Display information of a Compute Engine forwarding rule." +}, +"gkeMaster": { +"$ref": "GKEMasterInfo", +"description": "Display information of a Google Kubernetes Engine cluster master." +}, +"gkePod": { +"$ref": "GkePodInfo", +"description": "Display information of a Google Kubernetes Engine Pod." +}, +"googleService": { +"$ref": "GoogleServiceInfo", +"description": "Display information of a Google service" +}, +"hybridSubnet": { +"$ref": "HybridSubnetInfo", +"description": "Display information of a hybrid subnet." +}, +"instance": { +"$ref": "InstanceInfo", +"description": "Display information of a Compute Engine instance." +}, +"interconnectAttachment": { +"$ref": "InterconnectAttachmentInfo", +"description": "Display information of an interconnect attachment." +}, +"ipMasqueradingSkipped": { +"$ref": "IpMasqueradingSkippedInfo", +"description": "Display information of the reason why GKE Pod IP masquerading was skipped." +}, +"loadBalancer": { +"$ref": "LoadBalancerInfo", +"deprecated": true, +"description": "Display information of the load balancers. Deprecated in favor of the `load_balancer_backend_info` field, not used in new tests." +}, +"loadBalancerBackendInfo": { +"$ref": "LoadBalancerBackendInfo", +"description": "Display information of a specific load balancer backend." +}, +"nat": { +"$ref": "NatInfo", +"description": "Display information of a NAT." +}, +"network": { +"$ref": "NetworkInfo", +"description": "Display information of a Google Cloud network." +}, +"ngfwPacketInspection": { +"$ref": "NgfwPacketInspectionInfo", +"description": "Display information of a layer 7 packet inspection by the firewall." +}, +"projectId": { +"description": "Project ID that contains the configuration this step is validating.", +"type": "string" +}, +"proxyConnection": { +"$ref": "ProxyConnectionInfo", +"description": "Display information of a ProxyConnection." +}, +"redisCluster": { +"$ref": "RedisClusterInfo", +"description": "Display information of a Redis Cluster." +}, +"redisInstance": { +"$ref": "RedisInstanceInfo", +"description": "Display information of a Redis Instance." +}, +"route": { +"$ref": "RouteInfo", +"description": "Display information of a Compute Engine route." +}, +"serverlessExternalConnection": { +"$ref": "ServerlessExternalConnectionInfo", +"description": "Display information of a serverless public (external) connection." +}, +"serverlessNeg": { +"$ref": "ServerlessNegInfo", +"description": "Display information of a Serverless network endpoint group backend. Used only for return traces." +}, +"state": { +"description": "Each step is in one of the pre-defined states.", +"enum": [ +"STATE_UNSPECIFIED", +"START_FROM_INSTANCE", +"START_FROM_INTERNET", +"START_FROM_GOOGLE_SERVICE", +"START_FROM_PRIVATE_NETWORK", +"START_FROM_GKE_MASTER", +"START_FROM_CLOUD_SQL_INSTANCE", +"START_FROM_GKE_POD", +"START_FROM_REDIS_INSTANCE", +"START_FROM_REDIS_CLUSTER", +"START_FROM_CLOUD_FUNCTION", +"START_FROM_APP_ENGINE_VERSION", +"START_FROM_CLOUD_RUN_REVISION", +"START_FROM_STORAGE_BUCKET", +"START_FROM_PSC_PUBLISHED_SERVICE", +"START_FROM_SERVERLESS_NEG", +"APPLY_INGRESS_FIREWALL_RULE", +"APPLY_EGRESS_FIREWALL_RULE", +"APPLY_ROUTE", +"APPLY_FORWARDING_RULE", +"ANALYZE_LOAD_BALANCER_BACKEND", +"SPOOFING_APPROVED", +"ARRIVE_AT_INSTANCE", +"ARRIVE_AT_INTERNAL_LOAD_BALANCER", +"ARRIVE_AT_EXTERNAL_LOAD_BALANCER", +"ARRIVE_AT_HYBRID_SUBNET", +"ARRIVE_AT_VPN_GATEWAY", +"ARRIVE_AT_VPN_TUNNEL", +"ARRIVE_AT_INTERCONNECT_ATTACHMENT", +"ARRIVE_AT_VPC_CONNECTOR", +"DIRECT_VPC_EGRESS_CONNECTION", +"SERVERLESS_EXTERNAL_CONNECTION", +"NGFW_PACKET_INSPECTION", +"NAT", +"SKIP_GKE_POD_IP_MASQUERADING", +"PROXY_CONNECTION", +"DELIVER", +"DROP", +"FORWARD", +"ABORT", +"VIEWER_PERMISSION_MISSING" +], +"enumDeprecated": [ +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +true, +true, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false +], +"enumDescriptions": [ +"Unspecified state.", +"Initial state: packet originating from a Compute Engine instance. An InstanceInfo is populated with starting instance information.", +"Initial state: packet originating from the internet. The endpoint information is populated.", +"Initial state: packet originating from a Google service. The google_service information is populated.", +"Initial state: packet originating from a VPC or on-premises network with internal source IP. If the source is a VPC network visible to the user, a NetworkInfo is populated with details of the network.", +"Initial state: packet originating from a Google Kubernetes Engine cluster master. A GKEMasterInfo is populated with starting instance information.", +"Initial state: packet originating from a Cloud SQL instance. A CloudSQLInstanceInfo is populated with starting instance information.", +"Initial state: packet originating from a Google Kubernetes Engine Pod. A GkePodInfo is populated with starting Pod information.", +"Initial state: packet originating from a Redis instance. A RedisInstanceInfo is populated with starting instance information.", +"Initial state: packet originating from a Redis Cluster. A RedisClusterInfo is populated with starting Cluster information.", +"Initial state: packet originating from a Cloud Function. A CloudFunctionInfo is populated with starting function information.", +"Initial state: packet originating from an App Engine service version. An AppEngineVersionInfo is populated with starting version information.", +"Initial state: packet originating from a Cloud Run revision. A CloudRunRevisionInfo is populated with starting revision information.", +"Initial state: packet originating from a Storage Bucket. Used only for return traces. The storage_bucket information is populated.", +"Initial state: packet originating from a published service that uses Private Service Connect. Used only for return traces.", +"Initial state: packet originating from a serverless network endpoint group backend. Used only for return traces. The serverless_neg information is populated.", +"Config checking state: verify ingress firewall rule.", +"Config checking state: verify egress firewall rule.", +"Config checking state: verify route.", +"Config checking state: match forwarding rule.", +"Config checking state: verify load balancer backend configuration.", +"Config checking state: packet sent or received under foreign IP address and allowed.", +"Forwarding state: arriving at a Compute Engine instance.", +"Forwarding state: arriving at a Compute Engine internal load balancer. Deprecated in favor of the `ANALYZE_LOAD_BALANCER_BACKEND` state, not used in new tests.", +"Forwarding state: arriving at a Compute Engine external load balancer. Deprecated in favor of the `ANALYZE_LOAD_BALANCER_BACKEND` state, not used in new tests.", +"Forwarding state: arriving at a hybrid subnet. Appropriate routing configuration will be determined here.", +"Forwarding state: arriving at a Cloud VPN gateway.", +"Forwarding state: arriving at a Cloud VPN tunnel.", +"Forwarding state: arriving at an interconnect attachment.", +"Forwarding state: arriving at a VPC connector.", +"Forwarding state: for packets originating from a serverless endpoint forwarded through Direct VPC egress.", +"Forwarding state: for packets originating from a serverless endpoint forwarded through public (external) connectivity.", +"Forwarding state: Layer 7 packet inspection by the firewall endpoint based on the configured security profile group.", +"Transition state: packet header translated. The `nat` field is populated with the translation information.", +"Transition state: GKE Pod IP masquerading is skipped. The `ip_masquerading_skipped` field is populated with the reason.", +"Transition state: original connection is terminated and a new proxied connection is initiated.", +"Final state: packet could be delivered.", +"Final state: packet could be dropped.", +"Final state: packet could be forwarded to a network with an unknown configuration.", +"Final state: analysis is aborted.", +"Special state: viewer of the test result does not have permission to see the configuration in this step." +], +"type": "string" +}, +"storageBucket": { +"$ref": "StorageBucketInfo", +"description": "Display information of a Storage Bucket. Used only for return traces." +}, +"vpcConnector": { +"$ref": "VpcConnectorInfo", +"description": "Display information of a VPC connector." +}, +"vpnGateway": { +"$ref": "VpnGatewayInfo", +"description": "Display information of a Compute Engine VPN gateway." +}, +"vpnTunnel": { +"$ref": "VpnTunnelInfo", +"description": "Display information of a Compute Engine VPN tunnel." +} +}, +"type": "object" +}, +"StorageBucketInfo": { +"description": "For display only. Metadata associated with Storage Bucket.", +"id": "StorageBucketInfo", +"properties": { +"bucket": { +"description": "Cloud Storage Bucket name.", +"type": "string" +} +}, +"type": "object" +}, +"TestIamPermissionsRequest": { +"description": "Request message for `TestIamPermissions` method.", +"id": "TestIamPermissionsRequest", +"properties": { +"permissions": { +"description": "The set of permissions to check for the `resource`. Permissions with wildcards (such as `*` or `storage.*`) are not allowed. For more information see [IAM Overview](https://cloud.google.com/iam/docs/overview#permissions).", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"TestIamPermissionsResponse": { +"description": "Response message for `TestIamPermissions` method.", +"id": "TestIamPermissionsResponse", +"properties": { +"permissions": { +"description": "A subset of `TestPermissionsRequest.permissions` that the caller is allowed.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"Trace": { +"description": "Trace represents one simulated packet forwarding path. * Each trace contains multiple ordered steps. * Each step is in a particular state with associated configuration. * State is categorized as final or non-final states. * Each final state has a reason associated. * Each trace must end with a final state (the last step). ``` |---------------------Trace----------------------| Step1(State) Step2(State) --- StepN(State(final)) ```", +"id": "Trace", +"properties": { +"endpointInfo": { +"$ref": "EndpointInfo", +"description": "Derived from the source and destination endpoints definition specified by user request, and validated by the data plane model. If there are multiple traces starting from different source locations, then the endpoint_info may be different between traces." +}, +"forwardTraceId": { +"description": "ID of trace. For forward traces, this ID is unique for each trace. For return traces, it matches ID of associated forward trace. A single forward trace can be associated with none, one or more than one return trace.", +"format": "int32", +"type": "integer" +}, +"steps": { +"description": "A trace of a test contains multiple steps from the initial state to the final state (delivered, dropped, forwarded, or aborted). The steps are ordered by the processing sequence within the simulated network state machine. It is critical to preserve the order of the steps and avoid reordering or sorting them.", +"items": { +"$ref": "Step" +}, +"type": "array" +} +}, +"type": "object" +}, +"VpcConnectorInfo": { +"description": "For display only. Metadata associated with a VPC connector.", +"id": "VpcConnectorInfo", +"properties": { +"displayName": { +"description": "Name of a VPC connector.", +"type": "string" +}, +"location": { +"description": "Location in which the VPC connector is deployed.", +"type": "string" +}, +"uri": { +"description": "URI of a VPC connector.", +"type": "string" +} +}, +"type": "object" +}, +"VpcFlowLogsConfig": { +"description": "A configuration to generate VPC Flow Logs.", +"id": "VpcFlowLogsConfig", +"properties": { +"aggregationInterval": { +"description": "Optional. The aggregation interval for the logs. Default value is INTERVAL_5_SEC.", +"enum": [ +"AGGREGATION_INTERVAL_UNSPECIFIED", +"INTERVAL_5_SEC", +"INTERVAL_30_SEC", +"INTERVAL_1_MIN", +"INTERVAL_5_MIN", +"INTERVAL_10_MIN", +"INTERVAL_15_MIN" +], +"enumDescriptions": [ +"If not specified, will default to INTERVAL_5_SEC.", +"Aggregate logs in 5s intervals.", +"Aggregate logs in 30s intervals.", +"Aggregate logs in 1m intervals.", +"Aggregate logs in 5m intervals.", +"Aggregate logs in 10m intervals.", +"Aggregate logs in 15m intervals." +], +"type": "string" +}, +"createTime": { +"description": "Output only. The time the config was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"crossProjectMetadata": { +"description": "Optional. Determines whether to include cross project annotations in the logs. This field is available only for organization configurations. If not specified in org configs will be set to CROSS_PROJECT_METADATA_ENABLED.", +"enum": [ +"CROSS_PROJECT_METADATA_UNSPECIFIED", +"CROSS_PROJECT_METADATA_ENABLED", +"CROSS_PROJECT_METADATA_DISABLED" +], +"enumDescriptions": [ +"If not specified, the default is CROSS_PROJECT_METADATA_ENABLED.", +"When CROSS_PROJECT_METADATA_ENABLED, metadata from other projects will be included in the logs.", +"When CROSS_PROJECT_METADATA_DISABLED, metadata from other projects will not be included in the logs." +], +"type": "string" +}, +"description": { +"description": "Optional. The user-supplied description of the VPC Flow Logs configuration. Maximum of 512 characters.", +"type": "string" +}, +"filterExpr": { +"description": "Optional. Export filter used to define which VPC Flow Logs should be logged.", +"type": "string" +}, +"flowSampling": { +"description": "Optional. The value of the field must be in (0, 1]. The sampling rate of VPC Flow Logs where 1.0 means all collected logs are reported. Setting the sampling rate to 0.0 is not allowed. If you want to disable VPC Flow Logs, use the state field instead. Default value is 1.0.", +"format": "float", +"type": "number" +}, +"interconnectAttachment": { +"description": "Traffic will be logged from the Interconnect Attachment. Format: projects/{project_id}/regions/{region}/interconnectAttachments/{name}", +"type": "string" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. Resource labels to represent user-provided metadata.", +"type": "object" +}, +"metadata": { +"description": "Optional. Configures whether all, none or a subset of metadata fields should be added to the reported VPC flow logs. Default value is INCLUDE_ALL_METADATA.", +"enum": [ +"METADATA_UNSPECIFIED", +"INCLUDE_ALL_METADATA", +"EXCLUDE_ALL_METADATA", +"CUSTOM_METADATA" +], +"enumDescriptions": [ +"If not specified, will default to INCLUDE_ALL_METADATA.", +"Include all metadata fields.", +"Exclude all metadata fields.", +"Include only custom fields (specified in metadata_fields)." +], +"type": "string" +}, +"metadataFields": { +"description": "Optional. Custom metadata fields to include in the reported VPC flow logs. Can only be specified if \"metadata\" was set to CUSTOM_METADATA.", +"items": { +"type": "string" +}, +"type": "array" +}, +"name": { +"description": "Identifier. Unique name of the configuration. The name can have one of the following forms: - For project-level configurations: `projects/{project_id}/locations/global/vpcFlowLogsConfigs/{vpc_flow_logs_config_id}` - For organization-level configurations: `organizations/{organization_id}/locations/global/vpcFlowLogsConfigs/{vpc_flow_logs_config_id}`", +"type": "string" +}, +"network": { +"description": "Traffic will be logged from VMs, VPN tunnels and Interconnect Attachments within the network. Format: projects/{project_id}/global/networks/{name}", +"type": "string" +}, +"state": { +"description": "Optional. The state of the VPC Flow Log configuration. Default value is ENABLED. When creating a new configuration, it must be enabled. Setting state=DISABLED will pause the log generation for this config.", +"enum": [ +"STATE_UNSPECIFIED", +"ENABLED", +"DISABLED" +], +"enumDescriptions": [ +"If not specified, will default to ENABLED.", +"When ENABLED, this configuration will generate logs.", +"When DISABLED, this configuration will not generate logs." +], +"type": "string" +}, +"subnet": { +"description": "Traffic will be logged from VMs within the subnetwork. Format: projects/{project_id}/regions/{region}/subnetworks/{name}", +"type": "string" +}, +"targetResourceState": { +"description": "Output only. Describes the state of the configured target resource for diagnostic purposes.", +"enum": [ +"TARGET_RESOURCE_STATE_UNSPECIFIED", +"TARGET_RESOURCE_EXISTS", +"TARGET_RESOURCE_DOES_NOT_EXIST" +], +"enumDescriptions": [ +"Unspecified target resource state.", +"Indicates that the target resource exists.", +"Indicates that the target resource does not exist." +], +"readOnly": true, +"type": "string" +}, +"updateTime": { +"description": "Output only. The time the config was updated.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"vpnTunnel": { +"description": "Traffic will be logged from the VPN Tunnel. Format: projects/{project_id}/regions/{region}/vpnTunnels/{name}", +"type": "string" +} +}, +"type": "object" +}, +"VpnGatewayInfo": { +"description": "For display only. Metadata associated with a Compute Engine VPN gateway.", +"id": "VpnGatewayInfo", +"properties": { +"displayName": { +"description": "Name of a VPN gateway.", +"type": "string" +}, +"ipAddress": { +"description": "IP address of the VPN gateway.", +"type": "string" +}, +"networkUri": { +"description": "URI of a Compute Engine network where the VPN gateway is configured.", +"type": "string" +}, +"region": { +"description": "Name of a Google Cloud region where this VPN gateway is configured.", +"type": "string" +}, +"uri": { +"description": "URI of a VPN gateway.", +"type": "string" +}, +"vpnTunnelUri": { +"description": "A VPN tunnel that is associated with this VPN gateway. There may be multiple VPN tunnels configured on a VPN gateway, and only the one relevant to the test is displayed.", +"type": "string" +} +}, +"type": "object" +}, +"VpnTunnelInfo": { +"description": "For display only. Metadata associated with a Compute Engine VPN tunnel.", +"id": "VpnTunnelInfo", +"properties": { +"displayName": { +"description": "Name of a VPN tunnel.", +"type": "string" +}, +"networkUri": { +"description": "URI of a Compute Engine network where the VPN tunnel is configured.", +"type": "string" +}, +"region": { +"description": "Name of a Google Cloud region where this VPN tunnel is configured.", +"type": "string" +}, +"remoteGateway": { +"description": "URI of a VPN gateway at remote end of the tunnel.", +"type": "string" +}, +"remoteGatewayIp": { +"description": "Remote VPN gateway's IP address.", +"type": "string" +}, +"routingType": { +"description": "Type of the routing policy.", +"enum": [ +"ROUTING_TYPE_UNSPECIFIED", +"ROUTE_BASED", +"POLICY_BASED", +"DYNAMIC" +], +"enumDescriptions": [ +"Unspecified type. Default value.", +"Route based VPN.", +"Policy based routing.", +"Dynamic (BGP) routing." +], +"type": "string" +}, +"sourceGateway": { +"description": "URI of the VPN gateway at local end of the tunnel.", +"type": "string" +}, +"sourceGatewayIp": { +"description": "Local VPN gateway's IP address.", +"type": "string" +}, +"uri": { +"description": "URI of a VPN tunnel.", +"type": "string" +} +}, +"type": "object" +} +}, +"servicePath": "", +"title": "Network Management API", +"version": "v1beta1", +"version_module": true +} \ No newline at end of file diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/networksecurity.v1.json b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/networksecurity.v1.json new file mode 100644 index 0000000000000000000000000000000000000000..8cba0b1ca83767a112dc226e1d7c98d6373f1887 --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/networksecurity.v1.json @@ -0,0 +1,9025 @@ +{ +"auth": { +"oauth2": { +"scopes": { +"https://www.googleapis.com/auth/cloud-platform": { +"description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." +} +} +} +}, +"basePath": "", +"baseUrl": "https://networksecurity.googleapis.com/", +"batchPath": "batch", +"canonicalName": "NetworkSecurity", +"description": "", +"discoveryVersion": "v1", +"documentationLink": "https://cloud.google.com/networking", +"fullyEncodeReservedExpansion": true, +"icons": { +"x16": "http://www.google.com/images/icons/product/search-16.gif", +"x32": "http://www.google.com/images/icons/product/search-32.gif" +}, +"id": "networksecurity:v1", +"kind": "discovery#restDescription", +"mtlsRootUrl": "https://networksecurity.mtls.googleapis.com/", +"name": "networksecurity", +"ownerDomain": "google.com", +"ownerName": "Google", +"parameters": { +"$.xgafv": { +"description": "V1 error format.", +"enum": [ +"1", +"2" +], +"enumDescriptions": [ +"v1 error format", +"v2 error format" +], +"location": "query", +"type": "string" +}, +"access_token": { +"description": "OAuth access token.", +"location": "query", +"type": "string" +}, +"alt": { +"default": "json", +"description": "Data format for response.", +"enum": [ +"json", +"media", +"proto" +], +"enumDescriptions": [ +"Responses with Content-Type of application/json", +"Media download with context-dependent Content-Type", +"Responses with Content-Type of application/x-protobuf" +], +"location": "query", +"type": "string" +}, +"callback": { +"description": "JSONP", +"location": "query", +"type": "string" +}, +"fields": { +"description": "Selector specifying which fields to include in a partial response.", +"location": "query", +"type": "string" +}, +"key": { +"description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", +"location": "query", +"type": "string" +}, +"oauth_token": { +"description": "OAuth 2.0 token for the current user.", +"location": "query", +"type": "string" +}, +"prettyPrint": { +"default": "true", +"description": "Returns response with indentations and line breaks.", +"location": "query", +"type": "boolean" +}, +"quotaUser": { +"description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.", +"location": "query", +"type": "string" +}, +"uploadType": { +"description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", +"location": "query", +"type": "string" +}, +"upload_protocol": { +"description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", +"location": "query", +"type": "string" +} +}, +"protocol": "rest", +"resources": { +"organizations": { +"resources": { +"locations": { +"resources": { +"addressGroups": { +"methods": { +"addItems": { +"description": "Adds items to an address group.", +"flatPath": "v1/organizations/{organizationsId}/locations/{locationsId}/addressGroups/{addressGroupsId}:addItems", +"httpMethod": "POST", +"id": "networksecurity.organizations.locations.addressGroups.addItems", +"parameterOrder": [ +"addressGroup" +], +"parameters": { +"addressGroup": { +"description": "Required. A name of the AddressGroup to add items to. Must be in the format `projects|organization/*/locations/{location}/addressGroups/*`.", +"location": "path", +"pattern": "^organizations/[^/]+/locations/[^/]+/addressGroups/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+addressGroup}:addItems", +"request": { +"$ref": "AddAddressGroupItemsRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"cloneItems": { +"description": "Clones items from one address group to another.", +"flatPath": "v1/organizations/{organizationsId}/locations/{locationsId}/addressGroups/{addressGroupsId}:cloneItems", +"httpMethod": "POST", +"id": "networksecurity.organizations.locations.addressGroups.cloneItems", +"parameterOrder": [ +"addressGroup" +], +"parameters": { +"addressGroup": { +"description": "Required. A name of the AddressGroup to clone items to. Must be in the format `projects|organization/*/locations/{location}/addressGroups/*`.", +"location": "path", +"pattern": "^organizations/[^/]+/locations/[^/]+/addressGroups/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+addressGroup}:cloneItems", +"request": { +"$ref": "CloneAddressGroupItemsRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"create": { +"description": "Creates a new address group in a given project and location.", +"flatPath": "v1/organizations/{organizationsId}/locations/{locationsId}/addressGroups", +"httpMethod": "POST", +"id": "networksecurity.organizations.locations.addressGroups.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"addressGroupId": { +"description": "Required. Short name of the AddressGroup resource to be created. This value should be 1-63 characters long, containing only letters, numbers, hyphens, and underscores, and should not start with a number. E.g. \"authz_policy\".", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent resource of the AddressGroup. Must be in the format `projects/*/locations/{location}`.", +"location": "path", +"pattern": "^organizations/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+parent}/addressGroups", +"request": { +"$ref": "AddressGroup" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes an address group.", +"flatPath": "v1/organizations/{organizationsId}/locations/{locationsId}/addressGroups/{addressGroupsId}", +"httpMethod": "DELETE", +"id": "networksecurity.organizations.locations.addressGroups.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. A name of the AddressGroup to delete. Must be in the format `projects/*/locations/{location}/addressGroups/*`.", +"location": "path", +"pattern": "^organizations/[^/]+/locations/[^/]+/addressGroups/[^/]+$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets details of a single address group.", +"flatPath": "v1/organizations/{organizationsId}/locations/{locationsId}/addressGroups/{addressGroupsId}", +"httpMethod": "GET", +"id": "networksecurity.organizations.locations.addressGroups.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. A name of the AddressGroup to get. Must be in the format `projects/*/locations/{location}/addressGroups/*`.", +"location": "path", +"pattern": "^organizations/[^/]+/locations/[^/]+/addressGroups/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "AddressGroup" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists address groups in a given project and location.", +"flatPath": "v1/organizations/{organizationsId}/locations/{locationsId}/addressGroups", +"httpMethod": "GET", +"id": "networksecurity.organizations.locations.addressGroups.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "Maximum number of AddressGroups to return per call.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The value returned by the last `ListAddressGroupsResponse` Indicates that this is a continuation of a prior `ListAddressGroups` call, and that the system should return the next page of data.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The project and location from which the AddressGroups should be listed, specified in the format `projects/*/locations/{location}`.", +"location": "path", +"pattern": "^organizations/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +}, +"returnPartialSuccess": { +"description": "Optional. If true, allow partial responses for multi-regional Aggregated List requests.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1/{+parent}/addressGroups", +"response": { +"$ref": "ListAddressGroupsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"listReferences": { +"description": "Lists references of an address group.", +"flatPath": "v1/organizations/{organizationsId}/locations/{locationsId}/addressGroups/{addressGroupsId}:listReferences", +"httpMethod": "GET", +"id": "networksecurity.organizations.locations.addressGroups.listReferences", +"parameterOrder": [ +"addressGroup" +], +"parameters": { +"addressGroup": { +"description": "Required. A name of the AddressGroup to clone items to. Must be in the format `projects|organization/*/locations/{location}/addressGroups/*`.", +"location": "path", +"pattern": "^organizations/[^/]+/locations/[^/]+/addressGroups/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The maximum number of references to return. If unspecified, server will pick an appropriate default. Server may return fewer items than requested. A caller should only rely on response's next_page_token to determine if there are more AddressGroupUsers left to be queried.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The next_page_token value returned from a previous List request, if any.", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+addressGroup}:listReferences", +"response": { +"$ref": "ListAddressGroupReferencesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates parameters of an address group.", +"flatPath": "v1/organizations/{organizationsId}/locations/{locationsId}/addressGroups/{addressGroupsId}", +"httpMethod": "PATCH", +"id": "networksecurity.organizations.locations.addressGroups.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of the AddressGroup resource. It matches pattern `projects/*/locations/{location}/addressGroups/`.", +"location": "path", +"pattern": "^organizations/[^/]+/locations/[^/]+/addressGroups/[^/]+$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"updateMask": { +"description": "Optional. Field mask is used to specify the fields to be overwritten in the AddressGroup resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "AddressGroup" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"removeItems": { +"description": "Removes items from an address group.", +"flatPath": "v1/organizations/{organizationsId}/locations/{locationsId}/addressGroups/{addressGroupsId}:removeItems", +"httpMethod": "POST", +"id": "networksecurity.organizations.locations.addressGroups.removeItems", +"parameterOrder": [ +"addressGroup" +], +"parameters": { +"addressGroup": { +"description": "Required. A name of the AddressGroup to remove items from. Must be in the format `projects|organization/*/locations/{location}/addressGroups/*`.", +"location": "path", +"pattern": "^organizations/[^/]+/locations/[^/]+/addressGroups/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+addressGroup}:removeItems", +"request": { +"$ref": "RemoveAddressGroupItemsRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"firewallEndpoints": { +"methods": { +"create": { +"description": "Creates a new FirewallEndpoint in a given organization and location.", +"flatPath": "v1/organizations/{organizationsId}/locations/{locationsId}/firewallEndpoints", +"httpMethod": "POST", +"id": "networksecurity.organizations.locations.firewallEndpoints.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"firewallEndpointId": { +"description": "Required. Id of the requesting object. If auto-generating Id server-side, remove this field and firewall_endpoint_id from the method_signature of Create RPC.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. Value for parent.", +"location": "path", +"pattern": "^organizations/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+parent}/firewallEndpoints", +"request": { +"$ref": "FirewallEndpoint" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a single org Endpoint.", +"flatPath": "v1/organizations/{organizationsId}/locations/{locationsId}/firewallEndpoints/{firewallEndpointsId}", +"httpMethod": "DELETE", +"id": "networksecurity.organizations.locations.firewallEndpoints.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of the resource", +"location": "path", +"pattern": "^organizations/[^/]+/locations/[^/]+/firewallEndpoints/[^/]+$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes after the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets details of a single org Endpoint.", +"flatPath": "v1/organizations/{organizationsId}/locations/{locationsId}/firewallEndpoints/{firewallEndpointsId}", +"httpMethod": "GET", +"id": "networksecurity.organizations.locations.firewallEndpoints.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of the resource", +"location": "path", +"pattern": "^organizations/[^/]+/locations/[^/]+/firewallEndpoints/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "FirewallEndpoint" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists FirewallEndpoints in a given organization and location.", +"flatPath": "v1/organizations/{organizationsId}/locations/{locationsId}/firewallEndpoints", +"httpMethod": "GET", +"id": "networksecurity.organizations.locations.firewallEndpoints.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Optional. Filtering results", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "Hint for how to order the results", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Optional. Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A token identifying a page of results the server should return.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. Parent value for ListEndpointsRequest", +"location": "path", +"pattern": "^organizations/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/firewallEndpoints", +"response": { +"$ref": "ListFirewallEndpointsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Update a single org Endpoint.", +"flatPath": "v1/organizations/{organizationsId}/locations/{locationsId}/firewallEndpoints/{firewallEndpointsId}", +"httpMethod": "PATCH", +"id": "networksecurity.organizations.locations.firewallEndpoints.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Immutable. Identifier. Name of resource.", +"location": "path", +"pattern": "^organizations/[^/]+/locations/[^/]+/firewallEndpoints/[^/]+$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"updateMask": { +"description": "Required. Field mask is used to specify the fields to be overwritten in the Endpoint resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "FirewallEndpoint" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"operations": { +"methods": { +"cancel": { +"description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.", +"flatPath": "v1/organizations/{organizationsId}/locations/{locationsId}/operations/{operationsId}:cancel", +"httpMethod": "POST", +"id": "networksecurity.organizations.locations.operations.cancel", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be cancelled.", +"location": "path", +"pattern": "^organizations/[^/]+/locations/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:cancel", +"request": { +"$ref": "CancelOperationRequest" +}, +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.", +"flatPath": "v1/organizations/{organizationsId}/locations/{locationsId}/operations/{operationsId}", +"httpMethod": "DELETE", +"id": "networksecurity.organizations.locations.operations.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be deleted.", +"location": "path", +"pattern": "^organizations/[^/]+/locations/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", +"flatPath": "v1/organizations/{organizationsId}/locations/{locationsId}/operations/{operationsId}", +"httpMethod": "GET", +"id": "networksecurity.organizations.locations.operations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource.", +"location": "path", +"pattern": "^organizations/[^/]+/locations/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.", +"flatPath": "v1/organizations/{organizationsId}/locations/{locationsId}/operations", +"httpMethod": "GET", +"id": "networksecurity.organizations.locations.operations.list", +"parameterOrder": [ +"name" +], +"parameters": { +"filter": { +"description": "The standard list filter.", +"location": "query", +"type": "string" +}, +"name": { +"description": "The name of the operation's parent resource.", +"location": "path", +"pattern": "^organizations/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The standard list page size.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The standard list page token.", +"location": "query", +"type": "string" +}, +"returnPartialSuccess": { +"description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `\"projects/example/locations/-\"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1/{+name}/operations", +"response": { +"$ref": "ListOperationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"securityProfileGroups": { +"methods": { +"create": { +"description": "Creates a new SecurityProfileGroup in a given organization and location.", +"flatPath": "v1/organizations/{organizationsId}/locations/{locationsId}/securityProfileGroups", +"httpMethod": "POST", +"id": "networksecurity.organizations.locations.securityProfileGroups.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The parent resource of the SecurityProfileGroup. Must be in the format `projects|organizations/*/locations/{location}`.", +"location": "path", +"pattern": "^organizations/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +}, +"securityProfileGroupId": { +"description": "Required. Short name of the SecurityProfileGroup resource to be created. This value should be 1-63 characters long, containing only letters, numbers, hyphens, and underscores, and should not start with a number. E.g. \"security_profile_group1\".", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+parent}/securityProfileGroups", +"request": { +"$ref": "SecurityProfileGroup" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a single SecurityProfileGroup.", +"flatPath": "v1/organizations/{organizationsId}/locations/{locationsId}/securityProfileGroups/{securityProfileGroupsId}", +"httpMethod": "DELETE", +"id": "networksecurity.organizations.locations.securityProfileGroups.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"etag": { +"description": "Optional. If client provided etag is out of date, delete will return FAILED_PRECONDITION error.", +"location": "query", +"type": "string" +}, +"name": { +"description": "Required. A name of the SecurityProfileGroup to delete. Must be in the format `projects|organizations/*/locations/{location}/securityProfileGroups/{security_profile_group}`.", +"location": "path", +"pattern": "^organizations/[^/]+/locations/[^/]+/securityProfileGroups/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets details of a single SecurityProfileGroup.", +"flatPath": "v1/organizations/{organizationsId}/locations/{locationsId}/securityProfileGroups/{securityProfileGroupsId}", +"httpMethod": "GET", +"id": "networksecurity.organizations.locations.securityProfileGroups.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. A name of the SecurityProfileGroup to get. Must be in the format `projects|organizations/*/locations/{location}/securityProfileGroups/{security_profile_group}`.", +"location": "path", +"pattern": "^organizations/[^/]+/locations/[^/]+/securityProfileGroups/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "SecurityProfileGroup" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists SecurityProfileGroups in a given organization and location.", +"flatPath": "v1/organizations/{organizationsId}/locations/{locationsId}/securityProfileGroups", +"httpMethod": "GET", +"id": "networksecurity.organizations.locations.securityProfileGroups.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "Optional. Maximum number of SecurityProfileGroups to return per call.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. The value returned by the last `ListSecurityProfileGroupsResponse` Indicates that this is a continuation of a prior `ListSecurityProfileGroups` call, and that the system should return the next page of data.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The project or organization and location from which the SecurityProfileGroups should be listed, specified in the format `projects|organizations/*/locations/{location}`.", +"location": "path", +"pattern": "^organizations/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/securityProfileGroups", +"response": { +"$ref": "ListSecurityProfileGroupsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates the parameters of a single SecurityProfileGroup.", +"flatPath": "v1/organizations/{organizationsId}/locations/{locationsId}/securityProfileGroups/{securityProfileGroupsId}", +"httpMethod": "PATCH", +"id": "networksecurity.organizations.locations.securityProfileGroups.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Immutable. Identifier. Name of the SecurityProfileGroup resource. It matches pattern `projects|organizations/*/locations/{location}/securityProfileGroups/{security_profile_group}`.", +"location": "path", +"pattern": "^organizations/[^/]+/locations/[^/]+/securityProfileGroups/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Required. Field mask is used to specify the fields to be overwritten in the SecurityProfileGroup resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "SecurityProfileGroup" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"securityProfiles": { +"methods": { +"create": { +"description": "Creates a new SecurityProfile in a given organization and location.", +"flatPath": "v1/organizations/{organizationsId}/locations/{locationsId}/securityProfiles", +"httpMethod": "POST", +"id": "networksecurity.organizations.locations.securityProfiles.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The parent resource of the SecurityProfile. Must be in the format `projects|organizations/*/locations/{location}`.", +"location": "path", +"pattern": "^organizations/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +}, +"securityProfileId": { +"description": "Required. Short name of the SecurityProfile resource to be created. This value should be 1-63 characters long, containing only letters, numbers, hyphens, and underscores, and should not start with a number. E.g. \"security_profile1\".", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+parent}/securityProfiles", +"request": { +"$ref": "SecurityProfile" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a single SecurityProfile.", +"flatPath": "v1/organizations/{organizationsId}/locations/{locationsId}/securityProfiles/{securityProfilesId}", +"httpMethod": "DELETE", +"id": "networksecurity.organizations.locations.securityProfiles.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"etag": { +"description": "Optional. If client provided etag is out of date, delete will return FAILED_PRECONDITION error.", +"location": "query", +"type": "string" +}, +"name": { +"description": "Required. A name of the SecurityProfile to delete. Must be in the format `projects|organizations/*/locations/{location}/securityProfiles/{security_profile_id}`.", +"location": "path", +"pattern": "^organizations/[^/]+/locations/[^/]+/securityProfiles/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets details of a single SecurityProfile.", +"flatPath": "v1/organizations/{organizationsId}/locations/{locationsId}/securityProfiles/{securityProfilesId}", +"httpMethod": "GET", +"id": "networksecurity.organizations.locations.securityProfiles.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. A name of the SecurityProfile to get. Must be in the format `projects|organizations/*/locations/{location}/securityProfiles/{security_profile_id}`.", +"location": "path", +"pattern": "^organizations/[^/]+/locations/[^/]+/securityProfiles/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "SecurityProfile" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists SecurityProfiles in a given organization and location.", +"flatPath": "v1/organizations/{organizationsId}/locations/{locationsId}/securityProfiles", +"httpMethod": "GET", +"id": "networksecurity.organizations.locations.securityProfiles.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "Optional. Maximum number of SecurityProfiles to return per call.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. The value returned by the last `ListSecurityProfilesResponse` Indicates that this is a continuation of a prior `ListSecurityProfiles` call, and that the system should return the next page of data.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The project or organization and location from which the SecurityProfiles should be listed, specified in the format `projects|organizations/*/locations/{location}`.", +"location": "path", +"pattern": "^organizations/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/securityProfiles", +"response": { +"$ref": "ListSecurityProfilesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates the parameters of a single SecurityProfile.", +"flatPath": "v1/organizations/{organizationsId}/locations/{locationsId}/securityProfiles/{securityProfilesId}", +"httpMethod": "PATCH", +"id": "networksecurity.organizations.locations.securityProfiles.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Immutable. Identifier. Name of the SecurityProfile resource. It matches pattern `projects|organizations/*/locations/{location}/securityProfiles/{security_profile}`.", +"location": "path", +"pattern": "^organizations/[^/]+/locations/[^/]+/securityProfiles/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Required. Field mask is used to specify the fields to be overwritten in the SecurityProfile resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "SecurityProfile" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +} +} +}, +"projects": { +"resources": { +"locations": { +"methods": { +"get": { +"description": "Gets information about a location.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}", +"httpMethod": "GET", +"id": "networksecurity.projects.locations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Resource name for the location.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Location" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists information about the supported locations for this service. This method can be called in two ways: * **List all public locations:** Use the path `GET /v1/locations`. * **List project-visible locations:** Use the path `GET /v1/projects/{project_id}/locations`. This may include public locations as well as private or other locations specifically visible to the project.", +"flatPath": "v1/projects/{projectsId}/locations", +"httpMethod": "GET", +"id": "networksecurity.projects.locations.list", +"parameterOrder": [ +"name" +], +"parameters": { +"extraLocationTypes": { +"description": "Optional. Do not use this field. It is unsupported and is ignored unless explicitly documented otherwise. This is primarily for internal usage.", +"location": "query", +"repeated": true, +"type": "string" +}, +"filter": { +"description": "A filter to narrow down results to a preferred subset. The filtering language accepts strings like `\"displayName=tokyo\"`, and is documented in more detail in [AIP-160](https://google.aip.dev/160).", +"location": "query", +"type": "string" +}, +"name": { +"description": "The resource that owns the locations collection, if applicable.", +"location": "path", +"pattern": "^projects/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The maximum number of results to return. If not set, the service selects a default.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A page token received from the `next_page_token` field in the response. Send that page token to receive the subsequent page.", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}/locations", +"response": { +"$ref": "ListLocationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"addressGroups": { +"methods": { +"addItems": { +"description": "Adds items to an address group.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/addressGroups/{addressGroupsId}:addItems", +"httpMethod": "POST", +"id": "networksecurity.projects.locations.addressGroups.addItems", +"parameterOrder": [ +"addressGroup" +], +"parameters": { +"addressGroup": { +"description": "Required. A name of the AddressGroup to add items to. Must be in the format `projects|organization/*/locations/{location}/addressGroups/*`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/addressGroups/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+addressGroup}:addItems", +"request": { +"$ref": "AddAddressGroupItemsRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"cloneItems": { +"description": "Clones items from one address group to another.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/addressGroups/{addressGroupsId}:cloneItems", +"httpMethod": "POST", +"id": "networksecurity.projects.locations.addressGroups.cloneItems", +"parameterOrder": [ +"addressGroup" +], +"parameters": { +"addressGroup": { +"description": "Required. A name of the AddressGroup to clone items to. Must be in the format `projects|organization/*/locations/{location}/addressGroups/*`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/addressGroups/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+addressGroup}:cloneItems", +"request": { +"$ref": "CloneAddressGroupItemsRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"create": { +"description": "Creates a new address group in a given project and location.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/addressGroups", +"httpMethod": "POST", +"id": "networksecurity.projects.locations.addressGroups.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"addressGroupId": { +"description": "Required. Short name of the AddressGroup resource to be created. This value should be 1-63 characters long, containing only letters, numbers, hyphens, and underscores, and should not start with a number. E.g. \"authz_policy\".", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent resource of the AddressGroup. Must be in the format `projects/*/locations/{location}`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+parent}/addressGroups", +"request": { +"$ref": "AddressGroup" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a single address group.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/addressGroups/{addressGroupsId}", +"httpMethod": "DELETE", +"id": "networksecurity.projects.locations.addressGroups.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. A name of the AddressGroup to delete. Must be in the format `projects/*/locations/{location}/addressGroups/*`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/addressGroups/[^/]+$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets details of a single address group.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/addressGroups/{addressGroupsId}", +"httpMethod": "GET", +"id": "networksecurity.projects.locations.addressGroups.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. A name of the AddressGroup to get. Must be in the format `projects/*/locations/{location}/addressGroups/*`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/addressGroups/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "AddressGroup" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"getIamPolicy": { +"description": "Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/addressGroups/{addressGroupsId}:getIamPolicy", +"httpMethod": "GET", +"id": "networksecurity.projects.locations.addressGroups.getIamPolicy", +"parameterOrder": [ +"resource" +], +"parameters": { +"options.requestedPolicyVersion": { +"description": "Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).", +"format": "int32", +"location": "query", +"type": "integer" +}, +"resource": { +"description": "REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/addressGroups/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+resource}:getIamPolicy", +"response": { +"$ref": "GoogleIamV1Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists address groups in a given project and location.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/addressGroups", +"httpMethod": "GET", +"id": "networksecurity.projects.locations.addressGroups.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "Maximum number of AddressGroups to return per call.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The value returned by the last `ListAddressGroupsResponse` Indicates that this is a continuation of a prior `ListAddressGroups` call, and that the system should return the next page of data.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The project and location from which the AddressGroups should be listed, specified in the format `projects/*/locations/{location}`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +}, +"returnPartialSuccess": { +"description": "Optional. If true, allow partial responses for multi-regional Aggregated List requests.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1/{+parent}/addressGroups", +"response": { +"$ref": "ListAddressGroupsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"listReferences": { +"description": "Lists references of an address group.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/addressGroups/{addressGroupsId}:listReferences", +"httpMethod": "GET", +"id": "networksecurity.projects.locations.addressGroups.listReferences", +"parameterOrder": [ +"addressGroup" +], +"parameters": { +"addressGroup": { +"description": "Required. A name of the AddressGroup to clone items to. Must be in the format `projects|organization/*/locations/{location}/addressGroups/*`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/addressGroups/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The maximum number of references to return. If unspecified, server will pick an appropriate default. Server may return fewer items than requested. A caller should only rely on response's next_page_token to determine if there are more AddressGroupUsers left to be queried.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The next_page_token value returned from a previous List request, if any.", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+addressGroup}:listReferences", +"response": { +"$ref": "ListAddressGroupReferencesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates the parameters of a single address group.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/addressGroups/{addressGroupsId}", +"httpMethod": "PATCH", +"id": "networksecurity.projects.locations.addressGroups.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of the AddressGroup resource. It matches pattern `projects/*/locations/{location}/addressGroups/`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/addressGroups/[^/]+$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"updateMask": { +"description": "Optional. Field mask is used to specify the fields to be overwritten in the AddressGroup resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "AddressGroup" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"removeItems": { +"description": "Removes items from an address group.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/addressGroups/{addressGroupsId}:removeItems", +"httpMethod": "POST", +"id": "networksecurity.projects.locations.addressGroups.removeItems", +"parameterOrder": [ +"addressGroup" +], +"parameters": { +"addressGroup": { +"description": "Required. A name of the AddressGroup to remove items from. Must be in the format `projects|organization/*/locations/{location}/addressGroups/*`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/addressGroups/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+addressGroup}:removeItems", +"request": { +"$ref": "RemoveAddressGroupItemsRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"setIamPolicy": { +"description": "Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/addressGroups/{addressGroupsId}:setIamPolicy", +"httpMethod": "POST", +"id": "networksecurity.projects.locations.addressGroups.setIamPolicy", +"parameterOrder": [ +"resource" +], +"parameters": { +"resource": { +"description": "REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/addressGroups/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+resource}:setIamPolicy", +"request": { +"$ref": "GoogleIamV1SetIamPolicyRequest" +}, +"response": { +"$ref": "GoogleIamV1Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"testIamPermissions": { +"description": "Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may \"fail open\" without warning.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/addressGroups/{addressGroupsId}:testIamPermissions", +"httpMethod": "POST", +"id": "networksecurity.projects.locations.addressGroups.testIamPermissions", +"parameterOrder": [ +"resource" +], +"parameters": { +"resource": { +"description": "REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/addressGroups/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+resource}:testIamPermissions", +"request": { +"$ref": "GoogleIamV1TestIamPermissionsRequest" +}, +"response": { +"$ref": "GoogleIamV1TestIamPermissionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"authorizationPolicies": { +"methods": { +"create": { +"description": "Creates a new AuthorizationPolicy in a given project and location.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/authorizationPolicies", +"httpMethod": "POST", +"id": "networksecurity.projects.locations.authorizationPolicies.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"authorizationPolicyId": { +"description": "Required. Short name of the AuthorizationPolicy resource to be created. This value should be 1-63 characters long, containing only letters, numbers, hyphens, and underscores, and should not start with a number. E.g. \"authz_policy\".", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent resource of the AuthorizationPolicy. Must be in the format `projects/{project}/locations/{location}`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/authorizationPolicies", +"request": { +"$ref": "AuthorizationPolicy" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a single AuthorizationPolicy.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/authorizationPolicies/{authorizationPoliciesId}", +"httpMethod": "DELETE", +"id": "networksecurity.projects.locations.authorizationPolicies.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. A name of the AuthorizationPolicy to delete. Must be in the format `projects/{project}/locations/{location}/authorizationPolicies/*`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/authorizationPolicies/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets details of a single AuthorizationPolicy.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/authorizationPolicies/{authorizationPoliciesId}", +"httpMethod": "GET", +"id": "networksecurity.projects.locations.authorizationPolicies.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. A name of the AuthorizationPolicy to get. Must be in the format `projects/{project}/locations/{location}/authorizationPolicies/*`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/authorizationPolicies/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "AuthorizationPolicy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"getIamPolicy": { +"description": "Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/authorizationPolicies/{authorizationPoliciesId}:getIamPolicy", +"httpMethod": "GET", +"id": "networksecurity.projects.locations.authorizationPolicies.getIamPolicy", +"parameterOrder": [ +"resource" +], +"parameters": { +"options.requestedPolicyVersion": { +"description": "Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).", +"format": "int32", +"location": "query", +"type": "integer" +}, +"resource": { +"description": "REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/authorizationPolicies/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+resource}:getIamPolicy", +"response": { +"$ref": "GoogleIamV1Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists AuthorizationPolicies in a given project and location.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/authorizationPolicies", +"httpMethod": "GET", +"id": "networksecurity.projects.locations.authorizationPolicies.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "Maximum number of AuthorizationPolicies to return per call.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The value returned by the last `ListAuthorizationPoliciesResponse` Indicates that this is a continuation of a prior `ListAuthorizationPolicies` call, and that the system should return the next page of data.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The project and location from which the AuthorizationPolicies should be listed, specified in the format `projects/{project}/locations/{location}`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/authorizationPolicies", +"response": { +"$ref": "ListAuthorizationPoliciesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates the parameters of a single AuthorizationPolicy.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/authorizationPolicies/{authorizationPoliciesId}", +"httpMethod": "PATCH", +"id": "networksecurity.projects.locations.authorizationPolicies.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of the AuthorizationPolicy resource. It matches pattern `projects/{project}/locations/{location}/authorizationPolicies/`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/authorizationPolicies/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Optional. Field mask is used to specify the fields to be overwritten in the AuthorizationPolicy resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "AuthorizationPolicy" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"setIamPolicy": { +"description": "Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/authorizationPolicies/{authorizationPoliciesId}:setIamPolicy", +"httpMethod": "POST", +"id": "networksecurity.projects.locations.authorizationPolicies.setIamPolicy", +"parameterOrder": [ +"resource" +], +"parameters": { +"resource": { +"description": "REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/authorizationPolicies/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+resource}:setIamPolicy", +"request": { +"$ref": "GoogleIamV1SetIamPolicyRequest" +}, +"response": { +"$ref": "GoogleIamV1Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"testIamPermissions": { +"description": "Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may \"fail open\" without warning.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/authorizationPolicies/{authorizationPoliciesId}:testIamPermissions", +"httpMethod": "POST", +"id": "networksecurity.projects.locations.authorizationPolicies.testIamPermissions", +"parameterOrder": [ +"resource" +], +"parameters": { +"resource": { +"description": "REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/authorizationPolicies/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+resource}:testIamPermissions", +"request": { +"$ref": "GoogleIamV1TestIamPermissionsRequest" +}, +"response": { +"$ref": "GoogleIamV1TestIamPermissionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"authzPolicies": { +"methods": { +"create": { +"description": "Creates a new AuthzPolicy in a given project and location.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/authzPolicies", +"httpMethod": "POST", +"id": "networksecurity.projects.locations.authzPolicies.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"authzPolicyId": { +"description": "Required. User-provided ID of the `AuthzPolicy` resource to be created.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent resource of the `AuthzPolicy` resource. Must be in the format `projects/{project}/locations/{location}`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server can ignore the request if it has already been completed. The server guarantees that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, ignores the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+parent}/authzPolicies", +"request": { +"$ref": "AuthzPolicy" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a single AuthzPolicy.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/authzPolicies/{authzPoliciesId}", +"httpMethod": "DELETE", +"id": "networksecurity.projects.locations.authzPolicies.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the `AuthzPolicy` resource to delete. Must be in the format `projects/{project}/locations/{location}/authzPolicies/{authz_policy}`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/authzPolicies/[^/]+$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server can ignore the request if it has already been completed. The server guarantees that for at least 60 minutes after the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, ignores the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets details of a single AuthzPolicy.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/authzPolicies/{authzPoliciesId}", +"httpMethod": "GET", +"id": "networksecurity.projects.locations.authzPolicies.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. A name of the `AuthzPolicy` resource to get. Must be in the format `projects/{project}/locations/{location}/authzPolicies/{authz_policy}`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/authzPolicies/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "AuthzPolicy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"getIamPolicy": { +"description": "Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/authzPolicies/{authzPoliciesId}:getIamPolicy", +"httpMethod": "GET", +"id": "networksecurity.projects.locations.authzPolicies.getIamPolicy", +"parameterOrder": [ +"resource" +], +"parameters": { +"options.requestedPolicyVersion": { +"description": "Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).", +"format": "int32", +"location": "query", +"type": "integer" +}, +"resource": { +"description": "REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/authzPolicies/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+resource}:getIamPolicy", +"response": { +"$ref": "GoogleIamV1Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists AuthzPolicies in a given project and location.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/authzPolicies", +"httpMethod": "GET", +"id": "networksecurity.projects.locations.authzPolicies.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Optional. Filtering results.", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "Optional. Hint for how to order the results.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Optional. Requested page size. The server might return fewer items than requested. If unspecified, the server picks an appropriate default.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. A token identifying a page of results that the server returns.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The project and location from which the `AuthzPolicy` resources are listed, specified in the following format: `projects/{project}/locations/{location}`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/authzPolicies", +"response": { +"$ref": "ListAuthzPoliciesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates the parameters of a single AuthzPolicy.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/authzPolicies/{authzPoliciesId}", +"httpMethod": "PATCH", +"id": "networksecurity.projects.locations.authzPolicies.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Identifier. Name of the `AuthzPolicy` resource in the following format: `projects/{project}/locations/{location}/authzPolicies/{authz_policy}`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/authzPolicies/[^/]+$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server can ignore the request if it has already been completed. The server guarantees that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, ignores the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"updateMask": { +"description": "Required. Used to specify the fields to be overwritten in the `AuthzPolicy` resource by the update. The fields specified in the `update_mask` are relative to the resource, not the full request. A field is overwritten if it is in the mask. If the user does not specify a mask, then all fields are overwritten.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "AuthzPolicy" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"setIamPolicy": { +"description": "Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/authzPolicies/{authzPoliciesId}:setIamPolicy", +"httpMethod": "POST", +"id": "networksecurity.projects.locations.authzPolicies.setIamPolicy", +"parameterOrder": [ +"resource" +], +"parameters": { +"resource": { +"description": "REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/authzPolicies/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+resource}:setIamPolicy", +"request": { +"$ref": "GoogleIamV1SetIamPolicyRequest" +}, +"response": { +"$ref": "GoogleIamV1Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"testIamPermissions": { +"description": "Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may \"fail open\" without warning.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/authzPolicies/{authzPoliciesId}:testIamPermissions", +"httpMethod": "POST", +"id": "networksecurity.projects.locations.authzPolicies.testIamPermissions", +"parameterOrder": [ +"resource" +], +"parameters": { +"resource": { +"description": "REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/authzPolicies/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+resource}:testIamPermissions", +"request": { +"$ref": "GoogleIamV1TestIamPermissionsRequest" +}, +"response": { +"$ref": "GoogleIamV1TestIamPermissionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"backendAuthenticationConfigs": { +"methods": { +"create": { +"description": "Creates a new BackendAuthenticationConfig in a given project and location.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/backendAuthenticationConfigs", +"httpMethod": "POST", +"id": "networksecurity.projects.locations.backendAuthenticationConfigs.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"backendAuthenticationConfigId": { +"description": "Required. Short name of the BackendAuthenticationConfig resource to be created. This value should be 1-63 characters long, containing only letters, numbers, hyphens, and underscores, and should not start with a number. E.g. \"backend-auth-config\".", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent resource of the BackendAuthenticationConfig. Must be in the format `projects/*/locations/{location}`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/backendAuthenticationConfigs", +"request": { +"$ref": "BackendAuthenticationConfig" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a single BackendAuthenticationConfig to BackendAuthenticationConfig.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/backendAuthenticationConfigs/{backendAuthenticationConfigsId}", +"httpMethod": "DELETE", +"id": "networksecurity.projects.locations.backendAuthenticationConfigs.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"etag": { +"description": "Optional. Etag of the resource. If this is provided, it must match the server's etag.", +"location": "query", +"type": "string" +}, +"name": { +"description": "Required. A name of the BackendAuthenticationConfig to delete. Must be in the format `projects/*/locations/{location}/backendAuthenticationConfigs/*`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/backendAuthenticationConfigs/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets details of a single BackendAuthenticationConfig to BackendAuthenticationConfig.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/backendAuthenticationConfigs/{backendAuthenticationConfigsId}", +"httpMethod": "GET", +"id": "networksecurity.projects.locations.backendAuthenticationConfigs.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. A name of the BackendAuthenticationConfig to get. Must be in the format `projects/*/locations/{location}/backendAuthenticationConfigs/*`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/backendAuthenticationConfigs/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "BackendAuthenticationConfig" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists BackendAuthenticationConfigs in a given project and location.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/backendAuthenticationConfigs", +"httpMethod": "GET", +"id": "networksecurity.projects.locations.backendAuthenticationConfigs.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "Maximum number of BackendAuthenticationConfigs to return per call.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The value returned by the last `ListBackendAuthenticationConfigsResponse` Indicates that this is a continuation of a prior `ListBackendAuthenticationConfigs` call, and that the system should return the next page of data.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The project and location from which the BackendAuthenticationConfigs should be listed, specified in the format `projects/*/locations/{location}`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/backendAuthenticationConfigs", +"response": { +"$ref": "ListBackendAuthenticationConfigsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates the parameters of a single BackendAuthenticationConfig to BackendAuthenticationConfig.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/backendAuthenticationConfigs/{backendAuthenticationConfigsId}", +"httpMethod": "PATCH", +"id": "networksecurity.projects.locations.backendAuthenticationConfigs.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of the BackendAuthenticationConfig resource. It matches the pattern `projects/*/locations/{location}/backendAuthenticationConfigs/{backend_authentication_config}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/backendAuthenticationConfigs/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Optional. Field mask is used to specify the fields to be overwritten in the BackendAuthenticationConfig resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "BackendAuthenticationConfig" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"clientTlsPolicies": { +"methods": { +"create": { +"description": "Creates a new ClientTlsPolicy in a given project and location.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/clientTlsPolicies", +"httpMethod": "POST", +"id": "networksecurity.projects.locations.clientTlsPolicies.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"clientTlsPolicyId": { +"description": "Required. Short name of the ClientTlsPolicy resource to be created. This value should be 1-63 characters long, containing only letters, numbers, hyphens, and underscores, and should not start with a number. E.g. \"client_mtls_policy\".", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent resource of the ClientTlsPolicy. Must be in the format `projects/*/locations/{location}`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/clientTlsPolicies", +"request": { +"$ref": "ClientTlsPolicy" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a single ClientTlsPolicy.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/clientTlsPolicies/{clientTlsPoliciesId}", +"httpMethod": "DELETE", +"id": "networksecurity.projects.locations.clientTlsPolicies.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. A name of the ClientTlsPolicy to delete. Must be in the format `projects/*/locations/{location}/clientTlsPolicies/*`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/clientTlsPolicies/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets details of a single ClientTlsPolicy.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/clientTlsPolicies/{clientTlsPoliciesId}", +"httpMethod": "GET", +"id": "networksecurity.projects.locations.clientTlsPolicies.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. A name of the ClientTlsPolicy to get. Must be in the format `projects/*/locations/{location}/clientTlsPolicies/*`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/clientTlsPolicies/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "ClientTlsPolicy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"getIamPolicy": { +"description": "Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/clientTlsPolicies/{clientTlsPoliciesId}:getIamPolicy", +"httpMethod": "GET", +"id": "networksecurity.projects.locations.clientTlsPolicies.getIamPolicy", +"parameterOrder": [ +"resource" +], +"parameters": { +"options.requestedPolicyVersion": { +"description": "Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).", +"format": "int32", +"location": "query", +"type": "integer" +}, +"resource": { +"description": "REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/clientTlsPolicies/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+resource}:getIamPolicy", +"response": { +"$ref": "GoogleIamV1Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists ClientTlsPolicies in a given project and location.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/clientTlsPolicies", +"httpMethod": "GET", +"id": "networksecurity.projects.locations.clientTlsPolicies.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "Maximum number of ClientTlsPolicies to return per call.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The value returned by the last `ListClientTlsPoliciesResponse` Indicates that this is a continuation of a prior `ListClientTlsPolicies` call, and that the system should return the next page of data.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The project and location from which the ClientTlsPolicies should be listed, specified in the format `projects/*/locations/{location}`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/clientTlsPolicies", +"response": { +"$ref": "ListClientTlsPoliciesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates the parameters of a single ClientTlsPolicy.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/clientTlsPolicies/{clientTlsPoliciesId}", +"httpMethod": "PATCH", +"id": "networksecurity.projects.locations.clientTlsPolicies.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of the ClientTlsPolicy resource. It matches the pattern `projects/{project}/locations/{location}/clientTlsPolicies/{client_tls_policy}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/clientTlsPolicies/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Optional. Field mask is used to specify the fields to be overwritten in the ClientTlsPolicy resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "ClientTlsPolicy" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"setIamPolicy": { +"description": "Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/clientTlsPolicies/{clientTlsPoliciesId}:setIamPolicy", +"httpMethod": "POST", +"id": "networksecurity.projects.locations.clientTlsPolicies.setIamPolicy", +"parameterOrder": [ +"resource" +], +"parameters": { +"resource": { +"description": "REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/clientTlsPolicies/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+resource}:setIamPolicy", +"request": { +"$ref": "GoogleIamV1SetIamPolicyRequest" +}, +"response": { +"$ref": "GoogleIamV1Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"testIamPermissions": { +"description": "Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may \"fail open\" without warning.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/clientTlsPolicies/{clientTlsPoliciesId}:testIamPermissions", +"httpMethod": "POST", +"id": "networksecurity.projects.locations.clientTlsPolicies.testIamPermissions", +"parameterOrder": [ +"resource" +], +"parameters": { +"resource": { +"description": "REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/clientTlsPolicies/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+resource}:testIamPermissions", +"request": { +"$ref": "GoogleIamV1TestIamPermissionsRequest" +}, +"response": { +"$ref": "GoogleIamV1TestIamPermissionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"dnsThreatDetectors": { +"methods": { +"create": { +"description": "Creates a new DnsThreatDetector in a given project and location.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/dnsThreatDetectors", +"httpMethod": "POST", +"id": "networksecurity.projects.locations.dnsThreatDetectors.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"dnsThreatDetectorId": { +"description": "Optional. The ID of the requesting DnsThreatDetector object. If this field is not supplied, the service generates an identifier.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The value for the parent of the DnsThreatDetector resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/dnsThreatDetectors", +"request": { +"$ref": "DnsThreatDetector" +}, +"response": { +"$ref": "DnsThreatDetector" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a single DnsThreatDetector.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/dnsThreatDetectors/{dnsThreatDetectorsId}", +"httpMethod": "DELETE", +"id": "networksecurity.projects.locations.dnsThreatDetectors.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of the DnsThreatDetector resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/dnsThreatDetectors/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets the details of a single DnsThreatDetector.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/dnsThreatDetectors/{dnsThreatDetectorsId}", +"httpMethod": "GET", +"id": "networksecurity.projects.locations.dnsThreatDetectors.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of the DnsThreatDetector resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/dnsThreatDetectors/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "DnsThreatDetector" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists DnsThreatDetectors in a given project and location.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/dnsThreatDetectors", +"httpMethod": "GET", +"id": "networksecurity.projects.locations.dnsThreatDetectors.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "Optional. The requested page size. The server may return fewer items than requested. If unspecified, the server picks an appropriate default.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. A page token received from a previous `ListDnsThreatDetectorsRequest` call. Provide this to retrieve the subsequent page.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent value for `ListDnsThreatDetectorsRequest`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/dnsThreatDetectors", +"response": { +"$ref": "ListDnsThreatDetectorsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates a single DnsThreatDetector.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/dnsThreatDetectors/{dnsThreatDetectorsId}", +"httpMethod": "PATCH", +"id": "networksecurity.projects.locations.dnsThreatDetectors.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Immutable. Identifier. Name of the DnsThreatDetector resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/dnsThreatDetectors/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Optional. The field mask is used to specify the fields to be overwritten in the DnsThreatDetector resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the mask is not provided then all fields present in the request will be overwritten.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "DnsThreatDetector" +}, +"response": { +"$ref": "DnsThreatDetector" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"firewallEndpointAssociations": { +"methods": { +"create": { +"description": "Creates a new FirewallEndpointAssociation in a given project and location.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/firewallEndpointAssociations", +"httpMethod": "POST", +"id": "networksecurity.projects.locations.firewallEndpointAssociations.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"firewallEndpointAssociationId": { +"description": "Optional. Id of the requesting object. If auto-generating Id server-side, remove this field and firewall_endpoint_association_id from the method_signature of Create RPC.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. Value for parent.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+parent}/firewallEndpointAssociations", +"request": { +"$ref": "FirewallEndpointAssociation" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a single FirewallEndpointAssociation.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/firewallEndpointAssociations/{firewallEndpointAssociationsId}", +"httpMethod": "DELETE", +"id": "networksecurity.projects.locations.firewallEndpointAssociations.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of the resource", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/firewallEndpointAssociations/[^/]+$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes after the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets details of a single FirewallEndpointAssociation.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/firewallEndpointAssociations/{firewallEndpointAssociationsId}", +"httpMethod": "GET", +"id": "networksecurity.projects.locations.firewallEndpointAssociations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of the resource", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/firewallEndpointAssociations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "FirewallEndpointAssociation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists Associations in a given project and location.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/firewallEndpointAssociations", +"httpMethod": "GET", +"id": "networksecurity.projects.locations.firewallEndpointAssociations.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Optional. Filtering results", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "Hint for how to order the results", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Optional. Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A token identifying a page of results the server should return.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. Parent value for ListAssociationsRequest", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/firewallEndpointAssociations", +"response": { +"$ref": "ListFirewallEndpointAssociationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Update a single FirewallEndpointAssociation.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/firewallEndpointAssociations/{firewallEndpointAssociationsId}", +"httpMethod": "PATCH", +"id": "networksecurity.projects.locations.firewallEndpointAssociations.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Immutable. Identifier. name of resource", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/firewallEndpointAssociations/[^/]+$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"updateMask": { +"description": "Required. Field mask is used to specify the fields to be overwritten in the Association resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "FirewallEndpointAssociation" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"firewallEndpoints": { +"methods": { +"create": { +"description": "Creates a new FirewallEndpoint in a given project and location.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/firewallEndpoints", +"httpMethod": "POST", +"id": "networksecurity.projects.locations.firewallEndpoints.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"firewallEndpointId": { +"description": "Required. Id of the requesting object. If auto-generating Id server-side, remove this field and firewall_endpoint_id from the method_signature of Create RPC.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. Value for parent.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+parent}/firewallEndpoints", +"request": { +"$ref": "FirewallEndpoint" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a single project Endpoint.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/firewallEndpoints/{firewallEndpointsId}", +"httpMethod": "DELETE", +"id": "networksecurity.projects.locations.firewallEndpoints.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of the resource", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/firewallEndpoints/[^/]+$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes after the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets details of a single project Endpoint.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/firewallEndpoints/{firewallEndpointsId}", +"httpMethod": "GET", +"id": "networksecurity.projects.locations.firewallEndpoints.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of the resource", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/firewallEndpoints/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "FirewallEndpoint" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists FirewallEndpoints in a given project and location.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/firewallEndpoints", +"httpMethod": "GET", +"id": "networksecurity.projects.locations.firewallEndpoints.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Optional. Filtering results", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "Hint for how to order the results", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Optional. Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A token identifying a page of results the server should return.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. Parent value for ListEndpointsRequest", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/firewallEndpoints", +"response": { +"$ref": "ListFirewallEndpointsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Update a single project Endpoint.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/firewallEndpoints/{firewallEndpointsId}", +"httpMethod": "PATCH", +"id": "networksecurity.projects.locations.firewallEndpoints.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Immutable. Identifier. Name of resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/firewallEndpoints/[^/]+$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"updateMask": { +"description": "Required. Field mask is used to specify the fields to be overwritten in the Endpoint resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "FirewallEndpoint" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"gatewaySecurityPolicies": { +"methods": { +"create": { +"description": "Creates a new GatewaySecurityPolicy in a given project and location.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/gatewaySecurityPolicies", +"httpMethod": "POST", +"id": "networksecurity.projects.locations.gatewaySecurityPolicies.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"gatewaySecurityPolicyId": { +"description": "Required. Short name of the GatewaySecurityPolicy resource to be created. This value should be 1-63 characters long, containing only letters, numbers, hyphens, and underscores, and should not start with a number. E.g. \"gateway_security_policy1\".", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent resource of the GatewaySecurityPolicy. Must be in the format `projects/{project}/locations/{location}`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/gatewaySecurityPolicies", +"request": { +"$ref": "GatewaySecurityPolicy" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a single GatewaySecurityPolicy.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/gatewaySecurityPolicies/{gatewaySecurityPoliciesId}", +"httpMethod": "DELETE", +"id": "networksecurity.projects.locations.gatewaySecurityPolicies.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. A name of the GatewaySecurityPolicy to delete. Must be in the format `projects/{project}/locations/{location}/gatewaySecurityPolicies/*`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/gatewaySecurityPolicies/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets details of a single GatewaySecurityPolicy.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/gatewaySecurityPolicies/{gatewaySecurityPoliciesId}", +"httpMethod": "GET", +"id": "networksecurity.projects.locations.gatewaySecurityPolicies.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. A name of the GatewaySecurityPolicy to get. Must be in the format `projects/{project}/locations/{location}/gatewaySecurityPolicies/*`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/gatewaySecurityPolicies/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GatewaySecurityPolicy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists GatewaySecurityPolicies in a given project and location.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/gatewaySecurityPolicies", +"httpMethod": "GET", +"id": "networksecurity.projects.locations.gatewaySecurityPolicies.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "Maximum number of GatewaySecurityPolicies to return per call.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The value returned by the last 'ListGatewaySecurityPoliciesResponse' Indicates that this is a continuation of a prior 'ListGatewaySecurityPolicies' call, and that the system should return the next page of data.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The project and location from which the GatewaySecurityPolicies should be listed, specified in the format `projects/{project}/locations/{location}`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/gatewaySecurityPolicies", +"response": { +"$ref": "ListGatewaySecurityPoliciesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates the parameters of a single GatewaySecurityPolicy.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/gatewaySecurityPolicies/{gatewaySecurityPoliciesId}", +"httpMethod": "PATCH", +"id": "networksecurity.projects.locations.gatewaySecurityPolicies.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of the resource. Name is of the form projects/{project}/locations/{location}/gatewaySecurityPolicies/{gateway_security_policy} gateway_security_policy should match the pattern:(^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$).", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/gatewaySecurityPolicies/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Optional. Field mask is used to specify the fields to be overwritten in the GatewaySecurityPolicy resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "GatewaySecurityPolicy" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"rules": { +"methods": { +"create": { +"description": "Creates a new GatewaySecurityPolicy in a given project and location.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/gatewaySecurityPolicies/{gatewaySecurityPoliciesId}/rules", +"httpMethod": "POST", +"id": "networksecurity.projects.locations.gatewaySecurityPolicies.rules.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"gatewaySecurityPolicyRuleId": { +"description": "The ID to use for the rule, which will become the final component of the rule's resource name. This value should be 4-63 characters, and valid characters are /a-z-/.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent where this rule will be created. Format : projects/{project}/location/{location}/gatewaySecurityPolicies/*", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/gatewaySecurityPolicies/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/rules", +"request": { +"$ref": "GatewaySecurityPolicyRule" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a single GatewaySecurityPolicyRule.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/gatewaySecurityPolicies/{gatewaySecurityPoliciesId}/rules/{rulesId}", +"httpMethod": "DELETE", +"id": "networksecurity.projects.locations.gatewaySecurityPolicies.rules.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. A name of the GatewaySecurityPolicyRule to delete. Must be in the format `projects/{project}/locations/{location}/gatewaySecurityPolicies/{gatewaySecurityPolicy}/rules/*`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/gatewaySecurityPolicies/[^/]+/rules/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets details of a single GatewaySecurityPolicyRule.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/gatewaySecurityPolicies/{gatewaySecurityPoliciesId}/rules/{rulesId}", +"httpMethod": "GET", +"id": "networksecurity.projects.locations.gatewaySecurityPolicies.rules.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the GatewaySecurityPolicyRule to retrieve. Format: projects/{project}/location/{location}/gatewaySecurityPolicies/*/rules/*", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/gatewaySecurityPolicies/[^/]+/rules/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GatewaySecurityPolicyRule" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists GatewaySecurityPolicyRules in a given project and location.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/gatewaySecurityPolicies/{gatewaySecurityPoliciesId}/rules", +"httpMethod": "GET", +"id": "networksecurity.projects.locations.gatewaySecurityPolicies.rules.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "Maximum number of GatewaySecurityPolicyRules to return per call.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The value returned by the last 'ListGatewaySecurityPolicyRulesResponse' Indicates that this is a continuation of a prior 'ListGatewaySecurityPolicyRules' call, and that the system should return the next page of data.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The project, location and GatewaySecurityPolicy from which the GatewaySecurityPolicyRules should be listed, specified in the format `projects/{project}/locations/{location}/gatewaySecurityPolicies/{gatewaySecurityPolicy}`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/gatewaySecurityPolicies/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/rules", +"response": { +"$ref": "ListGatewaySecurityPolicyRulesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates the parameters of a single GatewaySecurityPolicyRule.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/gatewaySecurityPolicies/{gatewaySecurityPoliciesId}/rules/{rulesId}", +"httpMethod": "PATCH", +"id": "networksecurity.projects.locations.gatewaySecurityPolicies.rules.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Immutable. Name of the resource. ame is the full resource name so projects/{project}/locations/{location}/gatewaySecurityPolicies/{gateway_security_policy}/rules/{rule} rule should match the pattern: (^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$).", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/gatewaySecurityPolicies/[^/]+/rules/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Optional. Field mask is used to specify the fields to be overwritten in the GatewaySecurityPolicy resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "GatewaySecurityPolicyRule" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +}, +"interceptDeploymentGroups": { +"methods": { +"create": { +"description": "Creates a deployment group in a given project and location. See https://google.aip.dev/133.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/interceptDeploymentGroups", +"httpMethod": "POST", +"id": "networksecurity.projects.locations.interceptDeploymentGroups.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"interceptDeploymentGroupId": { +"description": "Required. The ID to use for the new deployment group, which will become the final component of the deployment group's resource name.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent resource where this deployment group will be created. Format: projects/{project}/locations/{location}", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "Optional. A unique identifier for this request. Must be a UUID4. This request is only idempotent if a `request_id` is provided. See https://google.aip.dev/155 for more details.", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+parent}/interceptDeploymentGroups", +"request": { +"$ref": "InterceptDeploymentGroup" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a deployment group. See https://google.aip.dev/135.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/interceptDeploymentGroups/{interceptDeploymentGroupsId}", +"httpMethod": "DELETE", +"id": "networksecurity.projects.locations.interceptDeploymentGroups.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The deployment group to delete.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/interceptDeploymentGroups/[^/]+$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "Optional. A unique identifier for this request. Must be a UUID4. This request is only idempotent if a `request_id` is provided. See https://google.aip.dev/155 for more details.", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets a specific deployment group. See https://google.aip.dev/131.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/interceptDeploymentGroups/{interceptDeploymentGroupsId}", +"httpMethod": "GET", +"id": "networksecurity.projects.locations.interceptDeploymentGroups.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the deployment group to retrieve. Format: projects/{project}/locations/{location}/interceptDeploymentGroups/{intercept_deployment_group}", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/interceptDeploymentGroups/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "InterceptDeploymentGroup" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists deployment groups in a given project and location. See https://google.aip.dev/132.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/interceptDeploymentGroups", +"httpMethod": "GET", +"id": "networksecurity.projects.locations.interceptDeploymentGroups.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Optional. Filter expression. See https://google.aip.dev/160#filtering for more details.", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "Optional. Sort expression. See https://google.aip.dev/132#ordering for more details.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Optional. Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default. See https://google.aip.dev/158 for more details.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. A page token, received from a previous `ListInterceptDeploymentGroups` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListInterceptDeploymentGroups` must match the call that provided the page token. See https://google.aip.dev/158 for more details.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent, which owns this collection of deployment groups. Example: `projects/123456789/locations/global`. See https://google.aip.dev/132 for more details.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/interceptDeploymentGroups", +"response": { +"$ref": "ListInterceptDeploymentGroupsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates a deployment group. See https://google.aip.dev/134.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/interceptDeploymentGroups/{interceptDeploymentGroupsId}", +"httpMethod": "PATCH", +"id": "networksecurity.projects.locations.interceptDeploymentGroups.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Immutable. Identifier. The resource name of this deployment group, for example: `projects/123456789/locations/global/interceptDeploymentGroups/my-dg`. See https://google.aip.dev/122 for more details.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/interceptDeploymentGroups/[^/]+$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "Optional. A unique identifier for this request. Must be a UUID4. This request is only idempotent if a `request_id` is provided. See https://google.aip.dev/155 for more details.", +"location": "query", +"type": "string" +}, +"updateMask": { +"description": "Optional. The list of fields to update. Fields are specified relative to the deployment group (e.g. `description`; *not* `intercept_deployment_group.description`). See https://google.aip.dev/161 for more details.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "InterceptDeploymentGroup" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"interceptDeployments": { +"methods": { +"create": { +"description": "Creates a deployment in a given project and location. See https://google.aip.dev/133.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/interceptDeployments", +"httpMethod": "POST", +"id": "networksecurity.projects.locations.interceptDeployments.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"interceptDeploymentId": { +"description": "Required. The ID to use for the new deployment, which will become the final component of the deployment's resource name.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent resource where this deployment will be created. Format: projects/{project}/locations/{location}", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "Optional. A unique identifier for this request. Must be a UUID4. This request is only idempotent if a `request_id` is provided. See https://google.aip.dev/155 for more details.", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+parent}/interceptDeployments", +"request": { +"$ref": "InterceptDeployment" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a deployment. See https://google.aip.dev/135.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/interceptDeployments/{interceptDeploymentsId}", +"httpMethod": "DELETE", +"id": "networksecurity.projects.locations.interceptDeployments.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of the resource", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/interceptDeployments/[^/]+$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "Optional. A unique identifier for this request. Must be a UUID4. This request is only idempotent if a `request_id` is provided. See https://google.aip.dev/155 for more details.", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets a specific deployment. See https://google.aip.dev/131.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/interceptDeployments/{interceptDeploymentsId}", +"httpMethod": "GET", +"id": "networksecurity.projects.locations.interceptDeployments.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the deployment to retrieve. Format: projects/{project}/locations/{location}/interceptDeployments/{intercept_deployment}", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/interceptDeployments/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "InterceptDeployment" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists deployments in a given project and location. See https://google.aip.dev/132.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/interceptDeployments", +"httpMethod": "GET", +"id": "networksecurity.projects.locations.interceptDeployments.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Optional. Filter expression. See https://google.aip.dev/160#filtering for more details.", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "Optional. Sort expression. See https://google.aip.dev/132#ordering for more details.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Optional. Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default. See https://google.aip.dev/158 for more details.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. A page token, received from a previous `ListInterceptDeployments` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListInterceptDeployments` must match the call that provided the page token. See https://google.aip.dev/158 for more details.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent, which owns this collection of deployments. Example: `projects/123456789/locations/us-central1-a`. See https://google.aip.dev/132 for more details.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/interceptDeployments", +"response": { +"$ref": "ListInterceptDeploymentsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates a deployment. See https://google.aip.dev/134.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/interceptDeployments/{interceptDeploymentsId}", +"httpMethod": "PATCH", +"id": "networksecurity.projects.locations.interceptDeployments.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Immutable. Identifier. The resource name of this deployment, for example: `projects/123456789/locations/us-central1-a/interceptDeployments/my-dep`. See https://google.aip.dev/122 for more details.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/interceptDeployments/[^/]+$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "Optional. A unique identifier for this request. Must be a UUID4. This request is only idempotent if a `request_id` is provided. See https://google.aip.dev/155 for more details.", +"location": "query", +"type": "string" +}, +"updateMask": { +"description": "Optional. The list of fields to update. Fields are specified relative to the deployment (e.g. `description`; *not* `intercept_deployment.description`). See https://google.aip.dev/161 for more details.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "InterceptDeployment" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"interceptEndpointGroupAssociations": { +"methods": { +"create": { +"description": "Creates an association in a given project and location. See https://google.aip.dev/133.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/interceptEndpointGroupAssociations", +"httpMethod": "POST", +"id": "networksecurity.projects.locations.interceptEndpointGroupAssociations.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"interceptEndpointGroupAssociationId": { +"description": "Optional. The ID to use for the new association, which will become the final component of the endpoint group's resource name. If not provided, the server will generate a unique ID.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent resource where this association will be created. Format: projects/{project}/locations/{location}", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "Optional. A unique identifier for this request. Must be a UUID4. This request is only idempotent if a `request_id` is provided. See https://google.aip.dev/155 for more details.", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+parent}/interceptEndpointGroupAssociations", +"request": { +"$ref": "InterceptEndpointGroupAssociation" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes an association. See https://google.aip.dev/135.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/interceptEndpointGroupAssociations/{interceptEndpointGroupAssociationsId}", +"httpMethod": "DELETE", +"id": "networksecurity.projects.locations.interceptEndpointGroupAssociations.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The association to delete.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/interceptEndpointGroupAssociations/[^/]+$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "Optional. A unique identifier for this request. Must be a UUID4. This request is only idempotent if a `request_id` is provided. See https://google.aip.dev/155 for more details.", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets a specific association. See https://google.aip.dev/131.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/interceptEndpointGroupAssociations/{interceptEndpointGroupAssociationsId}", +"httpMethod": "GET", +"id": "networksecurity.projects.locations.interceptEndpointGroupAssociations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the association to retrieve. Format: projects/{project}/locations/{location}/interceptEndpointGroupAssociations/{intercept_endpoint_group_association}", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/interceptEndpointGroupAssociations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "InterceptEndpointGroupAssociation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists associations in a given project and location. See https://google.aip.dev/132.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/interceptEndpointGroupAssociations", +"httpMethod": "GET", +"id": "networksecurity.projects.locations.interceptEndpointGroupAssociations.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Optional. Filter expression. See https://google.aip.dev/160#filtering for more details.", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "Optional. Sort expression. See https://google.aip.dev/132#ordering for more details.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Optional. Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default. See https://google.aip.dev/158 for more details.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. A page token, received from a previous `ListInterceptEndpointGroups` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListInterceptEndpointGroups` must match the call that provided the page token. See https://google.aip.dev/158 for more details.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent, which owns this collection of associations. Example: `projects/123456789/locations/global`. See https://google.aip.dev/132 for more details.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/interceptEndpointGroupAssociations", +"response": { +"$ref": "ListInterceptEndpointGroupAssociationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates an association. See https://google.aip.dev/134.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/interceptEndpointGroupAssociations/{interceptEndpointGroupAssociationsId}", +"httpMethod": "PATCH", +"id": "networksecurity.projects.locations.interceptEndpointGroupAssociations.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Immutable. Identifier. The resource name of this endpoint group association, for example: `projects/123456789/locations/global/interceptEndpointGroupAssociations/my-eg-association`. See https://google.aip.dev/122 for more details.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/interceptEndpointGroupAssociations/[^/]+$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "Optional. A unique identifier for this request. Must be a UUID4. This request is only idempotent if a `request_id` is provided. See https://google.aip.dev/155 for more details.", +"location": "query", +"type": "string" +}, +"updateMask": { +"description": "Optional. The list of fields to update. Fields are specified relative to the association (e.g. `description`; *not* `intercept_endpoint_group_association.description`). See https://google.aip.dev/161 for more details.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "InterceptEndpointGroupAssociation" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"interceptEndpointGroups": { +"methods": { +"create": { +"description": "Creates an endpoint group in a given project and location. See https://google.aip.dev/133.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/interceptEndpointGroups", +"httpMethod": "POST", +"id": "networksecurity.projects.locations.interceptEndpointGroups.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"interceptEndpointGroupId": { +"description": "Required. The ID to use for the endpoint group, which will become the final component of the endpoint group's resource name.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent resource where this endpoint group will be created. Format: projects/{project}/locations/{location}", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "Optional. A unique identifier for this request. Must be a UUID4. This request is only idempotent if a `request_id` is provided. See https://google.aip.dev/155 for more details.", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+parent}/interceptEndpointGroups", +"request": { +"$ref": "InterceptEndpointGroup" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes an endpoint group. See https://google.aip.dev/135.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/interceptEndpointGroups/{interceptEndpointGroupsId}", +"httpMethod": "DELETE", +"id": "networksecurity.projects.locations.interceptEndpointGroups.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The endpoint group to delete.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/interceptEndpointGroups/[^/]+$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "Optional. A unique identifier for this request. Must be a UUID4. This request is only idempotent if a `request_id` is provided. See https://google.aip.dev/155 for more details.", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets a specific endpoint group. See https://google.aip.dev/131.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/interceptEndpointGroups/{interceptEndpointGroupsId}", +"httpMethod": "GET", +"id": "networksecurity.projects.locations.interceptEndpointGroups.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the endpoint group to retrieve. Format: projects/{project}/locations/{location}/interceptEndpointGroups/{intercept_endpoint_group}", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/interceptEndpointGroups/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "InterceptEndpointGroup" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists endpoint groups in a given project and location. See https://google.aip.dev/132.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/interceptEndpointGroups", +"httpMethod": "GET", +"id": "networksecurity.projects.locations.interceptEndpointGroups.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Optional. Filter expression. See https://google.aip.dev/160#filtering for more details.", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "Optional. Sort expression. See https://google.aip.dev/132#ordering for more details.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Optional. Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default. See https://google.aip.dev/158 for more details.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. A page token, received from a previous `ListInterceptEndpointGroups` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListInterceptEndpointGroups` must match the call that provided the page token. See https://google.aip.dev/158 for more details.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent, which owns this collection of endpoint groups. Example: `projects/123456789/locations/global`. See https://google.aip.dev/132 for more details.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/interceptEndpointGroups", +"response": { +"$ref": "ListInterceptEndpointGroupsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates an endpoint group. See https://google.aip.dev/134.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/interceptEndpointGroups/{interceptEndpointGroupsId}", +"httpMethod": "PATCH", +"id": "networksecurity.projects.locations.interceptEndpointGroups.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Immutable. Identifier. The resource name of this endpoint group, for example: `projects/123456789/locations/global/interceptEndpointGroups/my-eg`. See https://google.aip.dev/122 for more details.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/interceptEndpointGroups/[^/]+$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "Optional. A unique identifier for this request. Must be a UUID4. This request is only idempotent if a `request_id` is provided. See https://google.aip.dev/155 for more details.", +"location": "query", +"type": "string" +}, +"updateMask": { +"description": "Optional. The list of fields to update. Fields are specified relative to the endpoint group (e.g. `description`; *not* `intercept_endpoint_group.description`). See https://google.aip.dev/161 for more details.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "InterceptEndpointGroup" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"mirroringDeploymentGroups": { +"methods": { +"create": { +"description": "Creates a deployment group in a given project and location. See https://google.aip.dev/133.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/mirroringDeploymentGroups", +"httpMethod": "POST", +"id": "networksecurity.projects.locations.mirroringDeploymentGroups.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"mirroringDeploymentGroupId": { +"description": "Required. The ID to use for the new deployment group, which will become the final component of the deployment group's resource name.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent resource where this deployment group will be created. Format: projects/{project}/locations/{location}", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "Optional. A unique identifier for this request. Must be a UUID4. This request is only idempotent if a `request_id` is provided. See https://google.aip.dev/155 for more details.", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+parent}/mirroringDeploymentGroups", +"request": { +"$ref": "MirroringDeploymentGroup" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a deployment group. See https://google.aip.dev/135.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/mirroringDeploymentGroups/{mirroringDeploymentGroupsId}", +"httpMethod": "DELETE", +"id": "networksecurity.projects.locations.mirroringDeploymentGroups.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The deployment group to delete.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/mirroringDeploymentGroups/[^/]+$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "Optional. A unique identifier for this request. Must be a UUID4. This request is only idempotent if a `request_id` is provided. See https://google.aip.dev/155 for more details.", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets a specific deployment group. See https://google.aip.dev/131.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/mirroringDeploymentGroups/{mirroringDeploymentGroupsId}", +"httpMethod": "GET", +"id": "networksecurity.projects.locations.mirroringDeploymentGroups.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the deployment group to retrieve. Format: projects/{project}/locations/{location}/mirroringDeploymentGroups/{mirroring_deployment_group}", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/mirroringDeploymentGroups/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "MirroringDeploymentGroup" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists deployment groups in a given project and location. See https://google.aip.dev/132.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/mirroringDeploymentGroups", +"httpMethod": "GET", +"id": "networksecurity.projects.locations.mirroringDeploymentGroups.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Optional. Filter expression. See https://google.aip.dev/160#filtering for more details.", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "Optional. Sort expression. See https://google.aip.dev/132#ordering for more details.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Optional. Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default. See https://google.aip.dev/158 for more details.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. A page token, received from a previous `ListMirroringDeploymentGroups` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListMirroringDeploymentGroups` must match the call that provided the page token. See https://google.aip.dev/158 for more details.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent, which owns this collection of deployment groups. Example: `projects/123456789/locations/global`. See https://google.aip.dev/132 for more details.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/mirroringDeploymentGroups", +"response": { +"$ref": "ListMirroringDeploymentGroupsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates a deployment group. See https://google.aip.dev/134.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/mirroringDeploymentGroups/{mirroringDeploymentGroupsId}", +"httpMethod": "PATCH", +"id": "networksecurity.projects.locations.mirroringDeploymentGroups.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Immutable. Identifier. The resource name of this deployment group, for example: `projects/123456789/locations/global/mirroringDeploymentGroups/my-dg`. See https://google.aip.dev/122 for more details.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/mirroringDeploymentGroups/[^/]+$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "Optional. A unique identifier for this request. Must be a UUID4. This request is only idempotent if a `request_id` is provided. See https://google.aip.dev/155 for more details.", +"location": "query", +"type": "string" +}, +"updateMask": { +"description": "Optional. The list of fields to update. Fields are specified relative to the deployment group (e.g. `description`; *not* `mirroring_deployment_group.description`). See https://google.aip.dev/161 for more details.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "MirroringDeploymentGroup" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"mirroringDeployments": { +"methods": { +"create": { +"description": "Creates a deployment in a given project and location. See https://google.aip.dev/133.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/mirroringDeployments", +"httpMethod": "POST", +"id": "networksecurity.projects.locations.mirroringDeployments.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"mirroringDeploymentId": { +"description": "Required. The ID to use for the new deployment, which will become the final component of the deployment's resource name.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent resource where this deployment will be created. Format: projects/{project}/locations/{location}", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "Optional. A unique identifier for this request. Must be a UUID4. This request is only idempotent if a `request_id` is provided. See https://google.aip.dev/155 for more details.", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+parent}/mirroringDeployments", +"request": { +"$ref": "MirroringDeployment" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a deployment. See https://google.aip.dev/135.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/mirroringDeployments/{mirroringDeploymentsId}", +"httpMethod": "DELETE", +"id": "networksecurity.projects.locations.mirroringDeployments.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of the resource", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/mirroringDeployments/[^/]+$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "Optional. A unique identifier for this request. Must be a UUID4. This request is only idempotent if a `request_id` is provided. See https://google.aip.dev/155 for more details.", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets a specific deployment. See https://google.aip.dev/131.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/mirroringDeployments/{mirroringDeploymentsId}", +"httpMethod": "GET", +"id": "networksecurity.projects.locations.mirroringDeployments.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the deployment to retrieve. Format: projects/{project}/locations/{location}/mirroringDeployments/{mirroring_deployment}", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/mirroringDeployments/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "MirroringDeployment" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists deployments in a given project and location. See https://google.aip.dev/132.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/mirroringDeployments", +"httpMethod": "GET", +"id": "networksecurity.projects.locations.mirroringDeployments.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Optional. Filter expression. See https://google.aip.dev/160#filtering for more details.", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "Optional. Sort expression. See https://google.aip.dev/132#ordering for more details.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Optional. Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default. See https://google.aip.dev/158 for more details.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. A page token, received from a previous `ListMirroringDeployments` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListMirroringDeployments` must match the call that provided the page token. See https://google.aip.dev/158 for more details.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent, which owns this collection of deployments. Example: `projects/123456789/locations/us-central1-a`. See https://google.aip.dev/132 for more details.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/mirroringDeployments", +"response": { +"$ref": "ListMirroringDeploymentsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates a deployment. See https://google.aip.dev/134.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/mirroringDeployments/{mirroringDeploymentsId}", +"httpMethod": "PATCH", +"id": "networksecurity.projects.locations.mirroringDeployments.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Immutable. Identifier. The resource name of this deployment, for example: `projects/123456789/locations/us-central1-a/mirroringDeployments/my-dep`. See https://google.aip.dev/122 for more details.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/mirroringDeployments/[^/]+$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "Optional. A unique identifier for this request. Must be a UUID4. This request is only idempotent if a `request_id` is provided. See https://google.aip.dev/155 for more details.", +"location": "query", +"type": "string" +}, +"updateMask": { +"description": "Optional. The list of fields to update. Fields are specified relative to the deployment (e.g. `description`; *not* `mirroring_deployment.description`). See https://google.aip.dev/161 for more details.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "MirroringDeployment" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"mirroringEndpointGroupAssociations": { +"methods": { +"create": { +"description": "Creates an association in a given project and location. See https://google.aip.dev/133.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/mirroringEndpointGroupAssociations", +"httpMethod": "POST", +"id": "networksecurity.projects.locations.mirroringEndpointGroupAssociations.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"mirroringEndpointGroupAssociationId": { +"description": "Optional. The ID to use for the new association, which will become the final component of the endpoint group's resource name. If not provided, the server will generate a unique ID.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent resource where this association will be created. Format: projects/{project}/locations/{location}", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "Optional. A unique identifier for this request. Must be a UUID4. This request is only idempotent if a `request_id` is provided. See https://google.aip.dev/155 for more details.", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+parent}/mirroringEndpointGroupAssociations", +"request": { +"$ref": "MirroringEndpointGroupAssociation" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes an association. See https://google.aip.dev/135.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/mirroringEndpointGroupAssociations/{mirroringEndpointGroupAssociationsId}", +"httpMethod": "DELETE", +"id": "networksecurity.projects.locations.mirroringEndpointGroupAssociations.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The association to delete.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/mirroringEndpointGroupAssociations/[^/]+$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "Optional. A unique identifier for this request. Must be a UUID4. This request is only idempotent if a `request_id` is provided. See https://google.aip.dev/155 for more details.", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets a specific association. See https://google.aip.dev/131.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/mirroringEndpointGroupAssociations/{mirroringEndpointGroupAssociationsId}", +"httpMethod": "GET", +"id": "networksecurity.projects.locations.mirroringEndpointGroupAssociations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the association to retrieve. Format: projects/{project}/locations/{location}/mirroringEndpointGroupAssociations/{mirroring_endpoint_group_association}", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/mirroringEndpointGroupAssociations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "MirroringEndpointGroupAssociation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists associations in a given project and location. See https://google.aip.dev/132.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/mirroringEndpointGroupAssociations", +"httpMethod": "GET", +"id": "networksecurity.projects.locations.mirroringEndpointGroupAssociations.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Optional. Filter expression. See https://google.aip.dev/160#filtering for more details.", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "Optional. Sort expression. See https://google.aip.dev/132#ordering for more details.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Optional. Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default. See https://google.aip.dev/158 for more details.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. A page token, received from a previous `ListMirroringEndpointGroups` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListMirroringEndpointGroups` must match the call that provided the page token. See https://google.aip.dev/158 for more details.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent, which owns this collection of associations. Example: `projects/123456789/locations/global`. See https://google.aip.dev/132 for more details.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/mirroringEndpointGroupAssociations", +"response": { +"$ref": "ListMirroringEndpointGroupAssociationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates an association. See https://google.aip.dev/134.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/mirroringEndpointGroupAssociations/{mirroringEndpointGroupAssociationsId}", +"httpMethod": "PATCH", +"id": "networksecurity.projects.locations.mirroringEndpointGroupAssociations.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Immutable. Identifier. The resource name of this endpoint group association, for example: `projects/123456789/locations/global/mirroringEndpointGroupAssociations/my-eg-association`. See https://google.aip.dev/122 for more details.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/mirroringEndpointGroupAssociations/[^/]+$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "Optional. A unique identifier for this request. Must be a UUID4. This request is only idempotent if a `request_id` is provided. See https://google.aip.dev/155 for more details.", +"location": "query", +"type": "string" +}, +"updateMask": { +"description": "Optional. The list of fields to update. Fields are specified relative to the association (e.g. `description`; *not* `mirroring_endpoint_group_association.description`). See https://google.aip.dev/161 for more details.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "MirroringEndpointGroupAssociation" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"mirroringEndpointGroups": { +"methods": { +"create": { +"description": "Creates an endpoint group in a given project and location. See https://google.aip.dev/133.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/mirroringEndpointGroups", +"httpMethod": "POST", +"id": "networksecurity.projects.locations.mirroringEndpointGroups.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"mirroringEndpointGroupId": { +"description": "Required. The ID to use for the endpoint group, which will become the final component of the endpoint group's resource name.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent resource where this endpoint group will be created. Format: projects/{project}/locations/{location}", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "Optional. A unique identifier for this request. Must be a UUID4. This request is only idempotent if a `request_id` is provided. See https://google.aip.dev/155 for more details.", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+parent}/mirroringEndpointGroups", +"request": { +"$ref": "MirroringEndpointGroup" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes an endpoint group. See https://google.aip.dev/135.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/mirroringEndpointGroups/{mirroringEndpointGroupsId}", +"httpMethod": "DELETE", +"id": "networksecurity.projects.locations.mirroringEndpointGroups.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The endpoint group to delete.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/mirroringEndpointGroups/[^/]+$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "Optional. A unique identifier for this request. Must be a UUID4. This request is only idempotent if a `request_id` is provided. See https://google.aip.dev/155 for more details.", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets a specific endpoint group. See https://google.aip.dev/131.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/mirroringEndpointGroups/{mirroringEndpointGroupsId}", +"httpMethod": "GET", +"id": "networksecurity.projects.locations.mirroringEndpointGroups.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the endpoint group to retrieve. Format: projects/{project}/locations/{location}/mirroringEndpointGroups/{mirroring_endpoint_group}", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/mirroringEndpointGroups/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "MirroringEndpointGroup" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists endpoint groups in a given project and location. See https://google.aip.dev/132.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/mirroringEndpointGroups", +"httpMethod": "GET", +"id": "networksecurity.projects.locations.mirroringEndpointGroups.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Optional. Filter expression. See https://google.aip.dev/160#filtering for more details.", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "Optional. Sort expression. See https://google.aip.dev/132#ordering for more details.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Optional. Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default. See https://google.aip.dev/158 for more details.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. A page token, received from a previous `ListMirroringEndpointGroups` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListMirroringEndpointGroups` must match the call that provided the page token. See https://google.aip.dev/158 for more details.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent, which owns this collection of endpoint groups. Example: `projects/123456789/locations/global`. See https://google.aip.dev/132 for more details.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/mirroringEndpointGroups", +"response": { +"$ref": "ListMirroringEndpointGroupsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates an endpoint group. See https://google.aip.dev/134.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/mirroringEndpointGroups/{mirroringEndpointGroupsId}", +"httpMethod": "PATCH", +"id": "networksecurity.projects.locations.mirroringEndpointGroups.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Immutable. Identifier. The resource name of this endpoint group, for example: `projects/123456789/locations/global/mirroringEndpointGroups/my-eg`. See https://google.aip.dev/122 for more details.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/mirroringEndpointGroups/[^/]+$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "Optional. A unique identifier for this request. Must be a UUID4. This request is only idempotent if a `request_id` is provided. See https://google.aip.dev/155 for more details.", +"location": "query", +"type": "string" +}, +"updateMask": { +"description": "Optional. The list of fields to update. Fields are specified relative to the endpoint group (e.g. `description`; *not* `mirroring_endpoint_group.description`). See https://google.aip.dev/161 for more details.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "MirroringEndpointGroup" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"operations": { +"methods": { +"cancel": { +"description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}:cancel", +"httpMethod": "POST", +"id": "networksecurity.projects.locations.operations.cancel", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be cancelled.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:cancel", +"request": { +"$ref": "CancelOperationRequest" +}, +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}", +"httpMethod": "DELETE", +"id": "networksecurity.projects.locations.operations.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be deleted.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}", +"httpMethod": "GET", +"id": "networksecurity.projects.locations.operations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/operations", +"httpMethod": "GET", +"id": "networksecurity.projects.locations.operations.list", +"parameterOrder": [ +"name" +], +"parameters": { +"filter": { +"description": "The standard list filter.", +"location": "query", +"type": "string" +}, +"name": { +"description": "The name of the operation's parent resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The standard list page size.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The standard list page token.", +"location": "query", +"type": "string" +}, +"returnPartialSuccess": { +"description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `\"projects/example/locations/-\"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1/{+name}/operations", +"response": { +"$ref": "ListOperationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"serverTlsPolicies": { +"methods": { +"create": { +"description": "Creates a new ServerTlsPolicy in a given project and location.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/serverTlsPolicies", +"httpMethod": "POST", +"id": "networksecurity.projects.locations.serverTlsPolicies.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The parent resource of the ServerTlsPolicy. Must be in the format `projects/*/locations/{location}`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +}, +"serverTlsPolicyId": { +"description": "Required. Short name of the ServerTlsPolicy resource to be created. This value should be 1-63 characters long, containing only letters, numbers, hyphens, and underscores, and should not start with a number. E.g. \"server_mtls_policy\".", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+parent}/serverTlsPolicies", +"request": { +"$ref": "ServerTlsPolicy" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a single ServerTlsPolicy.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/serverTlsPolicies/{serverTlsPoliciesId}", +"httpMethod": "DELETE", +"id": "networksecurity.projects.locations.serverTlsPolicies.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. A name of the ServerTlsPolicy to delete. Must be in the format `projects/*/locations/{location}/serverTlsPolicies/*`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/serverTlsPolicies/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets details of a single ServerTlsPolicy.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/serverTlsPolicies/{serverTlsPoliciesId}", +"httpMethod": "GET", +"id": "networksecurity.projects.locations.serverTlsPolicies.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. A name of the ServerTlsPolicy to get. Must be in the format `projects/*/locations/{location}/serverTlsPolicies/*`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/serverTlsPolicies/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "ServerTlsPolicy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"getIamPolicy": { +"description": "Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/serverTlsPolicies/{serverTlsPoliciesId}:getIamPolicy", +"httpMethod": "GET", +"id": "networksecurity.projects.locations.serverTlsPolicies.getIamPolicy", +"parameterOrder": [ +"resource" +], +"parameters": { +"options.requestedPolicyVersion": { +"description": "Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).", +"format": "int32", +"location": "query", +"type": "integer" +}, +"resource": { +"description": "REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/serverTlsPolicies/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+resource}:getIamPolicy", +"response": { +"$ref": "GoogleIamV1Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists ServerTlsPolicies in a given project and location.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/serverTlsPolicies", +"httpMethod": "GET", +"id": "networksecurity.projects.locations.serverTlsPolicies.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "Maximum number of ServerTlsPolicies to return per call.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The value returned by the last `ListServerTlsPoliciesResponse` Indicates that this is a continuation of a prior `ListServerTlsPolicies` call, and that the system should return the next page of data.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The project and location from which the ServerTlsPolicies should be listed, specified in the format `projects/*/locations/{location}`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +}, +"returnPartialSuccess": { +"description": "Optional. Setting this field to `true` will opt the request into returning the resources that are reachable, and into including the names of those that were unreachable in the [ListServerTlsPoliciesResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `\"projects/example/locations/-\"`.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1/{+parent}/serverTlsPolicies", +"response": { +"$ref": "ListServerTlsPoliciesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates the parameters of a single ServerTlsPolicy.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/serverTlsPolicies/{serverTlsPoliciesId}", +"httpMethod": "PATCH", +"id": "networksecurity.projects.locations.serverTlsPolicies.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of the ServerTlsPolicy resource. It matches the pattern `projects/*/locations/{location}/serverTlsPolicies/{server_tls_policy}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/serverTlsPolicies/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Optional. Field mask is used to specify the fields to be overwritten in the ServerTlsPolicy resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "ServerTlsPolicy" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"setIamPolicy": { +"description": "Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/serverTlsPolicies/{serverTlsPoliciesId}:setIamPolicy", +"httpMethod": "POST", +"id": "networksecurity.projects.locations.serverTlsPolicies.setIamPolicy", +"parameterOrder": [ +"resource" +], +"parameters": { +"resource": { +"description": "REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/serverTlsPolicies/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+resource}:setIamPolicy", +"request": { +"$ref": "GoogleIamV1SetIamPolicyRequest" +}, +"response": { +"$ref": "GoogleIamV1Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"testIamPermissions": { +"description": "Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may \"fail open\" without warning.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/serverTlsPolicies/{serverTlsPoliciesId}:testIamPermissions", +"httpMethod": "POST", +"id": "networksecurity.projects.locations.serverTlsPolicies.testIamPermissions", +"parameterOrder": [ +"resource" +], +"parameters": { +"resource": { +"description": "REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/serverTlsPolicies/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+resource}:testIamPermissions", +"request": { +"$ref": "GoogleIamV1TestIamPermissionsRequest" +}, +"response": { +"$ref": "GoogleIamV1TestIamPermissionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"tlsInspectionPolicies": { +"methods": { +"create": { +"description": "Creates a new TlsInspectionPolicy in a given project and location.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/tlsInspectionPolicies", +"httpMethod": "POST", +"id": "networksecurity.projects.locations.tlsInspectionPolicies.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The parent resource of the TlsInspectionPolicy. Must be in the format `projects/{project}/locations/{location}`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +}, +"tlsInspectionPolicyId": { +"description": "Required. Short name of the TlsInspectionPolicy resource to be created. This value should be 1-63 characters long, containing only letters, numbers, hyphens, and underscores, and should not start with a number. E.g. \"tls_inspection_policy1\".", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+parent}/tlsInspectionPolicies", +"request": { +"$ref": "TlsInspectionPolicy" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a single TlsInspectionPolicy.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/tlsInspectionPolicies/{tlsInspectionPoliciesId}", +"httpMethod": "DELETE", +"id": "networksecurity.projects.locations.tlsInspectionPolicies.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"force": { +"description": "If set to true, any rules for this TlsInspectionPolicy will also be deleted. (Otherwise, the request will only work if the TlsInspectionPolicy has no rules.)", +"location": "query", +"type": "boolean" +}, +"name": { +"description": "Required. A name of the TlsInspectionPolicy to delete. Must be in the format `projects/{project}/locations/{location}/tlsInspectionPolicies/{tls_inspection_policy}`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/tlsInspectionPolicies/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets details of a single TlsInspectionPolicy.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/tlsInspectionPolicies/{tlsInspectionPoliciesId}", +"httpMethod": "GET", +"id": "networksecurity.projects.locations.tlsInspectionPolicies.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. A name of the TlsInspectionPolicy to get. Must be in the format `projects/{project}/locations/{location}/tlsInspectionPolicies/{tls_inspection_policy}`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/tlsInspectionPolicies/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "TlsInspectionPolicy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists TlsInspectionPolicies in a given project and location.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/tlsInspectionPolicies", +"httpMethod": "GET", +"id": "networksecurity.projects.locations.tlsInspectionPolicies.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "Maximum number of TlsInspectionPolicies to return per call.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The value returned by the last 'ListTlsInspectionPoliciesResponse' Indicates that this is a continuation of a prior 'ListTlsInspectionPolicies' call, and that the system should return the next page of data.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The project and location from which the TlsInspectionPolicies should be listed, specified in the format `projects/{project}/locations/{location}`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/tlsInspectionPolicies", +"response": { +"$ref": "ListTlsInspectionPoliciesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates the parameters of a single TlsInspectionPolicy.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/tlsInspectionPolicies/{tlsInspectionPoliciesId}", +"httpMethod": "PATCH", +"id": "networksecurity.projects.locations.tlsInspectionPolicies.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of the resource. Name is of the form projects/{project}/locations/{location}/tlsInspectionPolicies/{tls_inspection_policy} tls_inspection_policy should match the pattern:(^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$).", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/tlsInspectionPolicies/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Optional. Field mask is used to specify the fields to be overwritten in the TlsInspectionPolicy resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "TlsInspectionPolicy" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"urlLists": { +"methods": { +"create": { +"description": "Creates a new UrlList in a given project and location.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/urlLists", +"httpMethod": "POST", +"id": "networksecurity.projects.locations.urlLists.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The parent resource of the UrlList. Must be in the format `projects/*/locations/{location}`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +}, +"urlListId": { +"description": "Required. Short name of the UrlList resource to be created. This value should be 1-63 characters long, containing only letters, numbers, hyphens, and underscores, and should not start with a number. E.g. \"url_list\".", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+parent}/urlLists", +"request": { +"$ref": "UrlList" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a single UrlList.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/urlLists/{urlListsId}", +"httpMethod": "DELETE", +"id": "networksecurity.projects.locations.urlLists.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. A name of the UrlList to delete. Must be in the format `projects/*/locations/{location}/urlLists/*`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/urlLists/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets details of a single UrlList.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/urlLists/{urlListsId}", +"httpMethod": "GET", +"id": "networksecurity.projects.locations.urlLists.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. A name of the UrlList to get. Must be in the format `projects/*/locations/{location}/urlLists/*`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/urlLists/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "UrlList" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists UrlLists in a given project and location.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/urlLists", +"httpMethod": "GET", +"id": "networksecurity.projects.locations.urlLists.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "Maximum number of UrlLists to return per call.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The value returned by the last `ListUrlListsResponse` Indicates that this is a continuation of a prior `ListUrlLists` call, and that the system should return the next page of data.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The project and location from which the UrlLists should be listed, specified in the format `projects/{project}/locations/{location}`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/urlLists", +"response": { +"$ref": "ListUrlListsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates the parameters of a single UrlList.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/urlLists/{urlListsId}", +"httpMethod": "PATCH", +"id": "networksecurity.projects.locations.urlLists.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of the resource provided by the user. Name is of the form projects/{project}/locations/{location}/urlLists/{url_list} url_list should match the pattern:(^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$).", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/urlLists/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Optional. Field mask is used to specify the fields to be overwritten in the UrlList resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "UrlList" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +} +} +} +}, +"revision": "20260204", +"rootUrl": "https://networksecurity.googleapis.com/", +"schemas": { +"AddAddressGroupItemsRequest": { +"description": "Request used by the AddAddressGroupItems method.", +"id": "AddAddressGroupItemsRequest", +"properties": { +"items": { +"description": "Required. List of items to add.", +"items": { +"type": "string" +}, +"type": "array" +}, +"requestId": { +"description": "Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", +"type": "string" +} +}, +"type": "object" +}, +"AddressGroup": { +"description": "AddressGroup is a resource that specifies how a collection of IP/DNS used in Firewall Policy.", +"id": "AddressGroup", +"properties": { +"capacity": { +"description": "Required. Capacity of the Address Group", +"format": "int32", +"type": "integer" +}, +"createTime": { +"description": "Output only. The timestamp when the resource was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"description": { +"description": "Optional. Free-text description of the resource.", +"type": "string" +}, +"items": { +"description": "Optional. List of items.", +"items": { +"type": "string" +}, +"type": "array" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. Set of label tags associated with the AddressGroup resource.", +"type": "object" +}, +"name": { +"description": "Required. Name of the AddressGroup resource. It matches pattern `projects/*/locations/{location}/addressGroups/`.", +"type": "string" +}, +"purpose": { +"description": "Optional. List of supported purposes of the Address Group.", +"items": { +"enum": [ +"PURPOSE_UNSPECIFIED", +"DEFAULT", +"CLOUD_ARMOR" +], +"enumDescriptions": [ +"Default value. Should never happen.", +"Address Group is distributed to VMC, and is usable in Firewall Policies and other systems that rely on VMC.", +"Address Group is usable in Cloud Armor." +], +"type": "string" +}, +"type": "array" +}, +"selfLink": { +"description": "Output only. Server-defined fully-qualified URL for this resource.", +"readOnly": true, +"type": "string" +}, +"type": { +"description": "Required. The type of the Address Group. Possible values are \"IPv4\" or \"IPV6\".", +"enum": [ +"TYPE_UNSPECIFIED", +"IPV4", +"IPV6" +], +"enumDescriptions": [ +"Default value.", +"IP v4 ranges.", +"IP v6 ranges." +], +"type": "string" +}, +"updateTime": { +"description": "Output only. The timestamp when the resource was updated.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"AntivirusOverride": { +"description": "Defines what action to take for antivirus threats per protocol.", +"id": "AntivirusOverride", +"properties": { +"action": { +"description": "Required. Threat action override. For some threat types, only a subset of actions applies.", +"enum": [ +"THREAT_ACTION_UNSPECIFIED", +"DEFAULT_ACTION", +"ALLOW", +"ALERT", +"DENY" +], +"enumDescriptions": [ +"Threat action not specified.", +"The default action (as specified by the vendor) is taken.", +"The packet matching this rule will be allowed to transmit.", +"The packet matching this rule will be allowed to transmit, but a threat_log entry will be sent to the consumer project.", +"The packet matching this rule will be dropped, and a threat_log entry will be sent to the consumer project." +], +"type": "string" +}, +"protocol": { +"description": "Required. Protocol to match.", +"enum": [ +"PROTOCOL_UNSPECIFIED", +"SMTP", +"SMB", +"POP3", +"IMAP", +"HTTP2", +"HTTP", +"FTP" +], +"enumDescriptions": [ +"Protocol not specified.", +"SMTP protocol", +"SMB protocol", +"POP3 protocol", +"IMAP protocol", +"HTTP2 protocol", +"HTTP protocol", +"FTP protocol" +], +"type": "string" +} +}, +"type": "object" +}, +"AuthorizationPolicy": { +"description": "AuthorizationPolicy is a resource that specifies how a server should authorize incoming connections. This resource in itself does not change the configuration unless it's attached to a target https proxy or endpoint config selector resource.", +"id": "AuthorizationPolicy", +"properties": { +"action": { +"description": "Required. The action to take when a rule match is found. Possible values are \"ALLOW\" or \"DENY\".", +"enum": [ +"ACTION_UNSPECIFIED", +"ALLOW", +"DENY" +], +"enumDescriptions": [ +"Default value.", +"Grant access.", +"Deny access. Deny rules should be avoided unless they are used to provide a default \"deny all\" fallback." +], +"type": "string" +}, +"createTime": { +"description": "Output only. The timestamp when the resource was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"description": { +"description": "Optional. Free-text description of the resource.", +"type": "string" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. Set of label tags associated with the AuthorizationPolicy resource.", +"type": "object" +}, +"name": { +"description": "Required. Name of the AuthorizationPolicy resource. It matches pattern `projects/{project}/locations/{location}/authorizationPolicies/`.", +"type": "string" +}, +"rules": { +"description": "Optional. List of rules to match. Note that at least one of the rules must match in order for the action specified in the 'action' field to be taken. A rule is a match if there is a matching source and destination. If left blank, the action specified in the `action` field will be applied on every request.", +"items": { +"$ref": "Rule" +}, +"type": "array" +}, +"updateTime": { +"description": "Output only. The timestamp when the resource was updated.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"AuthzPolicy": { +"description": "`AuthzPolicy` is a resource that allows to forward traffic to a callout backend designed to scan the traffic for security purposes.", +"id": "AuthzPolicy", +"properties": { +"action": { +"description": "Required. Can be one of `ALLOW`, `DENY`, `CUSTOM`. When the action is `CUSTOM`, `customProvider` must be specified. When the action is `ALLOW`, only requests matching the policy will be allowed. When the action is `DENY`, only requests matching the policy will be denied. When a request arrives, the policies are evaluated in the following order: 1. If there is a `CUSTOM` policy that matches the request, the `CUSTOM` policy is evaluated using the custom authorization providers and the request is denied if the provider rejects the request. 2. If there are any `DENY` policies that match the request, the request is denied. 3. If there are no `ALLOW` policies for the resource or if any of the `ALLOW` policies match the request, the request is allowed. 4. Else the request is denied by default if none of the configured AuthzPolicies with `ALLOW` action match the request.", +"enum": [ +"AUTHZ_ACTION_UNSPECIFIED", +"ALLOW", +"DENY", +"CUSTOM" +], +"enumDescriptions": [ +"Unspecified action.", +"Allow request to pass through to the backend.", +"Deny the request and return a HTTP 404 to the client.", +"Delegate the authorization decision to an external authorization engine." +], +"type": "string" +}, +"createTime": { +"description": "Output only. The timestamp when the resource was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"customProvider": { +"$ref": "AuthzPolicyCustomProvider", +"description": "Optional. Required if the action is `CUSTOM`. Allows delegating authorization decisions to Cloud IAP or to Service Extensions. One of `cloudIap` or `authzExtension` must be specified." +}, +"description": { +"description": "Optional. A human-readable description of the resource.", +"type": "string" +}, +"httpRules": { +"description": "Optional. A list of authorization HTTP rules to match against the incoming request. A policy match occurs when at least one HTTP rule matches the request or when no HTTP rules are specified in the policy. At least one HTTP Rule is required for Allow or Deny Action. Limited to 5 rules.", +"items": { +"$ref": "AuthzPolicyAuthzRule" +}, +"type": "array" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. Set of labels associated with the `AuthzPolicy` resource. The format must comply with [the following requirements](/compute/docs/labeling-resources#requirements).", +"type": "object" +}, +"name": { +"description": "Required. Identifier. Name of the `AuthzPolicy` resource in the following format: `projects/{project}/locations/{location}/authzPolicies/{authz_policy}`.", +"type": "string" +}, +"target": { +"$ref": "AuthzPolicyTarget", +"description": "Required. Specifies the set of resources to which this policy should be applied to." +}, +"updateTime": { +"description": "Output only. The timestamp when the resource was updated.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"AuthzPolicyAuthzRule": { +"description": "Conditions to match against the incoming request.", +"id": "AuthzPolicyAuthzRule", +"properties": { +"from": { +"$ref": "AuthzPolicyAuthzRuleFrom", +"description": "Optional. Describes properties of a source of a request." +}, +"to": { +"$ref": "AuthzPolicyAuthzRuleTo", +"description": "Optional. Describes properties of a target of a request." +}, +"when": { +"description": "Optional. CEL expression that describes the conditions to be satisfied for the action. The result of the CEL expression is ANDed with the from and to. Refer to the CEL language reference for a list of available attributes.", +"type": "string" +} +}, +"type": "object" +}, +"AuthzPolicyAuthzRuleFrom": { +"description": "Describes properties of one or more sources of a request.", +"id": "AuthzPolicyAuthzRuleFrom", +"properties": { +"notSources": { +"description": "Optional. Describes the negated properties of request sources. Matches requests from sources that do not match the criteria specified in this field. At least one of sources or notSources must be specified.", +"items": { +"$ref": "AuthzPolicyAuthzRuleFromRequestSource" +}, +"type": "array" +}, +"sources": { +"description": "Optional. Describes the properties of a request's sources. At least one of sources or notSources must be specified. Limited to 1 source. A match occurs when ANY source (in sources or notSources) matches the request. Within a single source, the match follows AND semantics across fields and OR semantics within a single field, i.e. a match occurs when ANY principal matches AND ANY ipBlocks match.", +"items": { +"$ref": "AuthzPolicyAuthzRuleFromRequestSource" +}, +"type": "array" +} +}, +"type": "object" +}, +"AuthzPolicyAuthzRuleFromRequestSource": { +"description": "Describes the properties of a single source.", +"id": "AuthzPolicyAuthzRuleFromRequestSource", +"properties": { +"ipBlocks": { +"description": "Optional. A list of IP addresses or IP address ranges to match against the source IP address of the request. Limited to 10 ip_blocks per Authorization Policy", +"items": { +"$ref": "AuthzPolicyAuthzRuleIpBlock" +}, +"type": "array" +}, +"principals": { +"description": "Optional. A list of identities derived from the client's certificate. This field will not match on a request unless frontend mutual TLS is enabled for the forwarding rule or Gateway and the client certificate has been successfully validated by mTLS. Each identity is a string whose value is matched against a list of URI SANs, DNS Name SANs, or the common name in the client's certificate. A match happens when any principal matches with the rule. Limited to 50 principals per Authorization Policy for regional internal Application Load Balancers, regional external Application Load Balancers, cross-region internal Application Load Balancers, and Cloud Service Mesh. This field is not supported for global external Application Load Balancers.", +"items": { +"$ref": "AuthzPolicyAuthzRulePrincipal" +}, +"type": "array" +}, +"resources": { +"description": "Optional. A list of resources to match against the resource of the source VM of a request. Limited to 10 resources per Authorization Policy.", +"items": { +"$ref": "AuthzPolicyAuthzRuleRequestResource" +}, +"type": "array" +} +}, +"type": "object" +}, +"AuthzPolicyAuthzRuleHeaderMatch": { +"description": "Determines how a HTTP header should be matched.", +"id": "AuthzPolicyAuthzRuleHeaderMatch", +"properties": { +"name": { +"description": "Optional. Specifies the name of the header in the request.", +"type": "string" +}, +"value": { +"$ref": "AuthzPolicyAuthzRuleStringMatch", +"description": "Optional. Specifies how the header match will be performed." +} +}, +"type": "object" +}, +"AuthzPolicyAuthzRuleIpBlock": { +"description": "Represents a range of IP Addresses.", +"id": "AuthzPolicyAuthzRuleIpBlock", +"properties": { +"length": { +"description": "Required. The length of the address range.", +"format": "int32", +"type": "integer" +}, +"prefix": { +"description": "Required. The address prefix.", +"type": "string" +} +}, +"type": "object" +}, +"AuthzPolicyAuthzRulePrincipal": { +"description": "Describes the properties of a principal to be matched against.", +"id": "AuthzPolicyAuthzRulePrincipal", +"properties": { +"principal": { +"$ref": "AuthzPolicyAuthzRuleStringMatch", +"description": "Required. A non-empty string whose value is matched against the principal value based on the principal_selector. Only exact match can be applied for CLIENT_CERT_URI_SAN, CLIENT_CERT_DNS_NAME_SAN, CLIENT_CERT_COMMON_NAME selectors." +}, +"principalSelector": { +"description": "Optional. An enum to decide what principal value the principal rule will match against. If not specified, the PrincipalSelector is CLIENT_CERT_URI_SAN.", +"enum": [ +"PRINCIPAL_SELECTOR_UNSPECIFIED", +"CLIENT_CERT_URI_SAN", +"CLIENT_CERT_DNS_NAME_SAN", +"CLIENT_CERT_COMMON_NAME" +], +"enumDescriptions": [ +"Unspecified principal selector. It will be treated as CLIENT_CERT_URI_SAN by default.", +"The principal rule is matched against a list of URI SANs in the validated client's certificate. A match happens when there is any exact URI SAN value match. This is the default principal selector.", +"The principal rule is matched against a list of DNS Name SANs in the validated client's certificate. A match happens when there is any exact DNS Name SAN value match. This is only applicable for Application Load Balancers except for classic Global External Application load balancer. CLIENT_CERT_DNS_NAME_SAN is not supported for INTERNAL_SELF_MANAGED load balancing scheme.", +"The principal rule is matched against the common name in the client's certificate. Authorization against multiple common names in the client certificate is not supported. Requests with multiple common names in the client certificate will be rejected if CLIENT_CERT_COMMON_NAME is set as the principal selector. A match happens when there is an exact common name value match. This is only applicable for Application Load Balancers except for global external Application Load Balancer and classic Application Load Balancer. CLIENT_CERT_COMMON_NAME is not supported for INTERNAL_SELF_MANAGED load balancing scheme." +], +"type": "string" +} +}, +"type": "object" +}, +"AuthzPolicyAuthzRuleRequestResource": { +"description": "Describes the properties of a client VM resource accessing the internal application load balancers.", +"id": "AuthzPolicyAuthzRuleRequestResource", +"properties": { +"iamServiceAccount": { +"$ref": "AuthzPolicyAuthzRuleStringMatch", +"description": "Optional. An IAM service account to match against the source service account of the VM sending the request." +}, +"tagValueIdSet": { +"$ref": "AuthzPolicyAuthzRuleRequestResourceTagValueIdSet", +"description": "Optional. A list of resource tag value permanent IDs to match against the resource manager tags value associated with the source VM of a request." +} +}, +"type": "object" +}, +"AuthzPolicyAuthzRuleRequestResourceTagValueIdSet": { +"description": "Describes a set of resource tag value permanent IDs to match against the resource manager tags value associated with the source VM of a request.", +"id": "AuthzPolicyAuthzRuleRequestResourceTagValueIdSet", +"properties": { +"ids": { +"description": "Required. A list of resource tag value permanent IDs to match against the resource manager tags value associated with the source VM of a request. The match follows AND semantics which means all the ids must match. Limited to 5 ids in the Tag value id set.", +"items": { +"format": "int64", +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"AuthzPolicyAuthzRuleStringMatch": { +"description": "Determines how a string value should be matched.", +"id": "AuthzPolicyAuthzRuleStringMatch", +"properties": { +"contains": { +"description": "The input string must have the substring specified here. Note: empty contains match is not allowed, please use regex instead. Examples: * ``abc`` matches the value ``xyz.abc.def``", +"type": "string" +}, +"exact": { +"description": "The input string must match exactly the string specified here. Examples: * ``abc`` only matches the value ``abc``.", +"type": "string" +}, +"ignoreCase": { +"description": "If true, indicates the exact/prefix/suffix/contains matching should be case insensitive. For example, the matcher ``data`` will match both input string ``Data`` and ``data`` if set to true.", +"type": "boolean" +}, +"prefix": { +"description": "The input string must have the prefix specified here. Note: empty prefix is not allowed, please use regex instead. Examples: * ``abc`` matches the value ``abc.xyz``", +"type": "string" +}, +"suffix": { +"description": "The input string must have the suffix specified here. Note: empty prefix is not allowed, please use regex instead. Examples: * ``abc`` matches the value ``xyz.abc``", +"type": "string" +} +}, +"type": "object" +}, +"AuthzPolicyAuthzRuleTo": { +"description": "Describes properties of one or more targets of a request.", +"id": "AuthzPolicyAuthzRuleTo", +"properties": { +"notOperations": { +"description": "Optional. Describes the negated properties of the targets of a request. Matches requests for operations that do not match the criteria specified in this field. At least one of operations or notOperations must be specified.", +"items": { +"$ref": "AuthzPolicyAuthzRuleToRequestOperation" +}, +"type": "array" +}, +"operations": { +"description": "Optional. Describes properties of one or more targets of a request. At least one of operations or notOperations must be specified. Limited to 1 operation. A match occurs when ANY operation (in operations or notOperations) matches. Within an operation, the match follows AND semantics across fields and OR semantics within a field, i.e. a match occurs when ANY path matches AND ANY header matches and ANY method matches.", +"items": { +"$ref": "AuthzPolicyAuthzRuleToRequestOperation" +}, +"type": "array" +} +}, +"type": "object" +}, +"AuthzPolicyAuthzRuleToRequestOperation": { +"description": "Describes properties of one or more targets of a request.", +"id": "AuthzPolicyAuthzRuleToRequestOperation", +"properties": { +"headerSet": { +"$ref": "AuthzPolicyAuthzRuleToRequestOperationHeaderSet", +"description": "Optional. A list of headers to match against in http header." +}, +"hosts": { +"description": "Optional. A list of HTTP Hosts to match against. The match can be one of exact, prefix, suffix, or contains (substring match). Matches are always case sensitive unless the ignoreCase is set. Limited to 10 hosts per Authorization Policy.", +"items": { +"$ref": "AuthzPolicyAuthzRuleStringMatch" +}, +"type": "array" +}, +"methods": { +"description": "Optional. A list of HTTP methods to match against. Each entry must be a valid HTTP method name (GET, PUT, POST, HEAD, PATCH, DELETE, OPTIONS). It only allows exact match and is always case sensitive. Limited to 10 methods per Authorization Policy.", +"items": { +"type": "string" +}, +"type": "array" +}, +"paths": { +"description": "Optional. A list of paths to match against. The match can be one of exact, prefix, suffix, or contains (substring match). Matches are always case sensitive unless the ignoreCase is set. Limited to 10 paths per Authorization Policy. Note that this path match includes the query parameters. For gRPC services, this should be a fully-qualified name of the form /package.service/method.", +"items": { +"$ref": "AuthzPolicyAuthzRuleStringMatch" +}, +"type": "array" +} +}, +"type": "object" +}, +"AuthzPolicyAuthzRuleToRequestOperationHeaderSet": { +"description": "Describes a set of HTTP headers to match against.", +"id": "AuthzPolicyAuthzRuleToRequestOperationHeaderSet", +"properties": { +"headers": { +"description": "Required. A list of headers to match against in http header. The match can be one of exact, prefix, suffix, or contains (substring match). The match follows AND semantics which means all the headers must match. Matches are always case sensitive unless the ignoreCase is set. Limited to 10 headers per Authorization Policy.", +"items": { +"$ref": "AuthzPolicyAuthzRuleHeaderMatch" +}, +"type": "array" +} +}, +"type": "object" +}, +"AuthzPolicyCustomProvider": { +"description": "Allows delegating authorization decisions to Cloud IAP or to Service Extensions.", +"id": "AuthzPolicyCustomProvider", +"properties": { +"authzExtension": { +"$ref": "AuthzPolicyCustomProviderAuthzExtension", +"description": "Optional. Delegate authorization decision to user authored Service Extension. Only one of cloudIap or authzExtension can be specified." +}, +"cloudIap": { +"$ref": "AuthzPolicyCustomProviderCloudIap", +"description": "Optional. Delegates authorization decisions to Cloud IAP. Applicable only for managed load balancers. Enabling Cloud IAP at the AuthzPolicy level is not compatible with Cloud IAP settings in the BackendService. Enabling IAP in both places will result in request failure. Ensure that IAP is enabled in either the AuthzPolicy or the BackendService but not in both places." +} +}, +"type": "object" +}, +"AuthzPolicyCustomProviderAuthzExtension": { +"description": "Optional. Delegate authorization decision to user authored extension. Only one of cloudIap or authzExtension can be specified.", +"id": "AuthzPolicyCustomProviderAuthzExtension", +"properties": { +"resources": { +"description": "Required. A list of references to authorization extensions that will be invoked for requests matching this policy. Limited to 1 custom provider.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"AuthzPolicyCustomProviderCloudIap": { +"description": "Optional. Delegates authorization decisions to Cloud IAP. Applicable only for managed load balancers. Enabling Cloud IAP at the AuthzPolicy level is not compatible with Cloud IAP settings in the BackendService. Enabling IAP in both places will result in request failure. Ensure that IAP is enabled in either the AuthzPolicy or the BackendService but not in both places.", +"id": "AuthzPolicyCustomProviderCloudIap", +"properties": {}, +"type": "object" +}, +"AuthzPolicyTarget": { +"description": "Specifies the set of targets to which this policy should be applied to.", +"id": "AuthzPolicyTarget", +"properties": { +"loadBalancingScheme": { +"description": "Required. All gateways and forwarding rules referenced by this policy and extensions must share the same load balancing scheme. Supported values: `INTERNAL_MANAGED` and `EXTERNAL_MANAGED`. For more information, refer to [Backend services overview](https://cloud.google.com/load-balancing/docs/backend-service).", +"enum": [ +"LOAD_BALANCING_SCHEME_UNSPECIFIED", +"INTERNAL_MANAGED", +"EXTERNAL_MANAGED", +"INTERNAL_SELF_MANAGED" +], +"enumDescriptions": [ +"Default value. Do not use.", +"Signifies that this is used for Regional internal or Cross-region internal Application Load Balancing.", +"Signifies that this is used for Global external or Regional external Application Load Balancing.", +"Signifies that this is used for Cloud Service Mesh. Meant for use by CSM GKE controller only." +], +"type": "string" +}, +"resources": { +"description": "Required. A list of references to the Forwarding Rules on which this policy will be applied.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"BackendAuthenticationConfig": { +"description": "BackendAuthenticationConfig message groups the TrustConfig together with other settings that control how the load balancer authenticates, and expresses its identity to, the backend: * `trustConfig` is the attached TrustConfig. * `wellKnownRoots` indicates whether the load balance should trust backend server certificates that are issued by public certificate authorities, in addition to certificates trusted by the TrustConfig. * `clientCertificate` is a client certificate that the load balancer uses to express its identity to the backend, if the connection to the backend uses mTLS. You can attach the BackendAuthenticationConfig to the load balancer's BackendService directly determining how that BackendService negotiates TLS.", +"id": "BackendAuthenticationConfig", +"properties": { +"clientCertificate": { +"description": "Optional. A reference to a certificatemanager.googleapis.com.Certificate resource. This is a relative resource path following the form \"projects/{project}/locations/{location}/certificates/{certificate}\". Used by a BackendService to negotiate mTLS when the backend connection uses TLS and the backend requests a client certificate. Must have a CLIENT_AUTH scope.", +"type": "string" +}, +"createTime": { +"description": "Output only. The timestamp when the resource was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"description": { +"description": "Optional. Free-text description of the resource.", +"type": "string" +}, +"etag": { +"description": "Output only. Etag of the resource.", +"readOnly": true, +"type": "string" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Set of label tags associated with the resource.", +"type": "object" +}, +"name": { +"description": "Required. Name of the BackendAuthenticationConfig resource. It matches the pattern `projects/*/locations/{location}/backendAuthenticationConfigs/{backend_authentication_config}`", +"type": "string" +}, +"trustConfig": { +"description": "Optional. A reference to a TrustConfig resource from the certificatemanager.googleapis.com namespace. This is a relative resource path following the form \"projects/{project}/locations/{location}/trustConfigs/{trust_config}\". A BackendService uses the chain of trust represented by this TrustConfig, if specified, to validate the server certificates presented by the backend. Required unless wellKnownRoots is set to PUBLIC_ROOTS.", +"type": "string" +}, +"updateTime": { +"description": "Output only. The timestamp when the resource was updated.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"wellKnownRoots": { +"description": "Well known roots to use for server certificate validation.", +"enum": [ +"WELL_KNOWN_ROOTS_UNSPECIFIED", +"NONE", +"PUBLIC_ROOTS" +], +"enumDescriptions": [ +"Equivalent to NONE.", +"The BackendService will only validate server certificates against roots specified in TrustConfig.", +"The BackendService uses a set of well-known public roots, in addition to any roots specified in the trustConfig field, when validating the server certificates presented by the backend. Validation with these roots is only considered when the TlsSettings.sni field in the BackendService is set. The well-known roots are a set of root CAs managed by Google. CAs in this set can be added or removed without notice." +], +"type": "string" +} +}, +"type": "object" +}, +"CancelOperationRequest": { +"description": "The request message for Operations.CancelOperation.", +"id": "CancelOperationRequest", +"properties": {}, +"type": "object" +}, +"CertificateProviderInstance": { +"description": "Specification of a TLS certificate provider instance. Workloads may have one or more CertificateProvider instances (plugins) and one of them is enabled and configured by specifying this message. Workloads use the values from this message to locate and load the CertificateProvider instance configuration.", +"id": "CertificateProviderInstance", +"properties": { +"pluginInstance": { +"description": "Required. Plugin instance name, used to locate and load CertificateProvider instance configuration. Set to \"google_cloud_private_spiffe\" to use Certificate Authority Service certificate provider instance.", +"type": "string" +} +}, +"type": "object" +}, +"ClientTlsPolicy": { +"description": "ClientTlsPolicy is a resource that specifies how a client should authenticate connections to backends of a service. This resource itself does not affect configuration unless it is attached to a backend service resource.", +"id": "ClientTlsPolicy", +"properties": { +"clientCertificate": { +"$ref": "GoogleCloudNetworksecurityV1CertificateProvider", +"description": "Optional. Defines a mechanism to provision client identity (public and private keys) for peer to peer authentication. The presence of this dictates mTLS." +}, +"createTime": { +"description": "Output only. The timestamp when the resource was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"description": { +"description": "Optional. Free-text description of the resource.", +"type": "string" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. Set of label tags associated with the resource.", +"type": "object" +}, +"name": { +"description": "Required. Name of the ClientTlsPolicy resource. It matches the pattern `projects/{project}/locations/{location}/clientTlsPolicies/{client_tls_policy}`", +"type": "string" +}, +"serverValidationCa": { +"description": "Optional. Defines the mechanism to obtain the Certificate Authority certificate to validate the server certificate. If empty, client does not validate the server certificate.", +"items": { +"$ref": "ValidationCA" +}, +"type": "array" +}, +"sni": { +"description": "Optional. Server Name Indication string to present to the server during TLS handshake. E.g: \"secure.example.com\".", +"type": "string" +}, +"updateTime": { +"description": "Output only. The timestamp when the resource was updated.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"CloneAddressGroupItemsRequest": { +"description": "Request used by the CloneAddressGroupItems method.", +"id": "CloneAddressGroupItemsRequest", +"properties": { +"requestId": { +"description": "Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", +"type": "string" +}, +"sourceAddressGroup": { +"description": "Required. Source address group to clone items from.", +"type": "string" +} +}, +"type": "object" +}, +"CustomInterceptProfile": { +"description": "CustomInterceptProfile defines in-band integration behavior (intercept). It is used by firewall rules with an APPLY_SECURITY_PROFILE_GROUP action.", +"id": "CustomInterceptProfile", +"properties": { +"interceptEndpointGroup": { +"description": "Required. The target InterceptEndpointGroup. When a firewall rule with this security profile attached matches a packet, the packet will be intercepted to the location-local target in this group.", +"type": "string" +} +}, +"type": "object" +}, +"CustomMirroringProfile": { +"description": "CustomMirroringProfile defines out-of-band integration behavior (mirroring). It is used by mirroring rules with a MIRROR action.", +"id": "CustomMirroringProfile", +"properties": { +"mirroringEndpointGroup": { +"description": "Required. Immutable. The target MirroringEndpointGroup. When a mirroring rule with this security profile attached matches a packet, a replica will be mirrored to the location-local target in this group.", +"type": "string" +} +}, +"type": "object" +}, +"Destination": { +"description": "Specification of traffic destination attributes.", +"id": "Destination", +"properties": { +"hosts": { +"description": "Required. List of host names to match. Matched against the \":authority\" header in http requests. At least one host should match. Each host can be an exact match, or a prefix match (example \"mydomain.*\") or a suffix match (example \"*.myorg.com\") or a presence (any) match \"*\".", +"items": { +"type": "string" +}, +"type": "array" +}, +"httpHeaderMatch": { +"$ref": "HttpHeaderMatch", +"description": "Optional. Match against key:value pair in http header. Provides a flexible match based on HTTP headers, for potentially advanced use cases. At least one header should match. Avoid using header matches to make authorization decisions unless there is a strong guarantee that requests arrive through a trusted client or proxy." +}, +"methods": { +"description": "Optional. A list of HTTP methods to match. At least one method should match. Should not be set for gRPC services.", +"items": { +"type": "string" +}, +"type": "array" +}, +"ports": { +"description": "Required. List of destination ports to match. At least one port should match.", +"items": { +"format": "uint32", +"type": "integer" +}, +"type": "array" +} +}, +"type": "object" +}, +"DnsThreatDetector": { +"description": "A DNS threat detector sends DNS query logs to a _provider_ that then analyzes the logs to identify threat events in the DNS queries. By default, all VPC networks in your projects are included. You can exclude specific networks by supplying `excluded_networks`.", +"id": "DnsThreatDetector", +"properties": { +"createTime": { +"description": "Output only. Create time stamp.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"excludedNetworks": { +"description": "Optional. A list of network resource names which aren't monitored by this DnsThreatDetector. Example: `projects/PROJECT_ID/global/networks/NETWORK_NAME`.", +"items": { +"type": "string" +}, +"type": "array" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. Any labels associated with the DnsThreatDetector, listed as key value pairs.", +"type": "object" +}, +"name": { +"description": "Immutable. Identifier. Name of the DnsThreatDetector resource.", +"type": "string" +}, +"provider": { +"description": "Required. The provider used for DNS threat analysis.", +"enum": [ +"PROVIDER_UNSPECIFIED", +"INFOBLOX" +], +"enumDescriptions": [ +"An unspecified provider.", +"The Infoblox DNS threat detector provider." +], +"type": "string" +}, +"updateTime": { +"description": "Output only. Update time stamp.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"Empty": { +"description": "A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }", +"id": "Empty", +"properties": {}, +"type": "object" +}, +"Expr": { +"description": "Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: \"Summary size limit\" description: \"Determines if a summary is less than 100 chars\" expression: \"document.summary.size() < 100\" Example (Equality): title: \"Requestor is owner\" description: \"Determines if requestor is the document owner\" expression: \"document.owner == request.auth.claims.email\" Example (Logic): title: \"Public documents\" description: \"Determine whether the document should be publicly visible\" expression: \"document.type != 'private' && document.type != 'internal'\" Example (Data Manipulation): title: \"Notification string\" description: \"Create a notification string with a timestamp.\" expression: \"'New message received at ' + string(document.create_time)\" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information.", +"id": "Expr", +"properties": { +"description": { +"description": "Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI.", +"type": "string" +}, +"expression": { +"description": "Textual representation of an expression in Common Expression Language syntax.", +"type": "string" +}, +"location": { +"description": "Optional. String indicating the location of the expression for error reporting, e.g. a file name and a position in the file.", +"type": "string" +}, +"title": { +"description": "Optional. Title for the expression, i.e. a short string describing its purpose. This can be used e.g. in UIs which allow to enter the expression.", +"type": "string" +} +}, +"type": "object" +}, +"FirewallEndpoint": { +"description": "Message describing Endpoint object.", +"id": "FirewallEndpoint", +"properties": { +"associatedNetworks": { +"deprecated": true, +"description": "Output only. List of networks that are associated with this endpoint in the local zone. This is a projection of the FirewallEndpointAssociations pointing at this endpoint. A network will only appear in this list after traffic routing is fully configured. Format: projects/{project}/global/networks/{name}.", +"items": { +"type": "string" +}, +"readOnly": true, +"type": "array" +}, +"associations": { +"description": "Output only. List of FirewallEndpointAssociations that are associated to this endpoint. An association will only appear in this list after traffic routing is fully configured.", +"items": { +"$ref": "FirewallEndpointAssociationReference" +}, +"readOnly": true, +"type": "array" +}, +"billingProjectId": { +"description": "Required. Project to bill on endpoint uptime usage.", +"type": "string" +}, +"createTime": { +"description": "Output only. Create time stamp.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"description": { +"description": "Optional. Description of the firewall endpoint. Max length 2048 characters.", +"type": "string" +}, +"endpointSettings": { +"$ref": "FirewallEndpointEndpointSettings", +"description": "Optional. Settings for the endpoint." +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. Labels as key value pairs", +"type": "object" +}, +"name": { +"description": "Immutable. Identifier. Name of resource.", +"type": "string" +}, +"reconciling": { +"description": "Output only. Whether reconciling is in progress, recommended per https://google.aip.dev/128.", +"readOnly": true, +"type": "boolean" +}, +"satisfiesPzi": { +"description": "Output only. [Output Only] Reserved for future use.", +"readOnly": true, +"type": "boolean" +}, +"satisfiesPzs": { +"description": "Output only. [Output Only] Reserved for future use.", +"readOnly": true, +"type": "boolean" +}, +"state": { +"description": "Output only. Current state of the endpoint.", +"enum": [ +"STATE_UNSPECIFIED", +"CREATING", +"ACTIVE", +"DELETING", +"INACTIVE" +], +"enumDescriptions": [ +"Not set.", +"Being created.", +"Processing configuration updates.", +"Being deleted.", +"Down or in an error state." +], +"readOnly": true, +"type": "string" +}, +"updateTime": { +"description": "Output only. Update time stamp", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"FirewallEndpointAssociation": { +"description": "Message describing Association object", +"id": "FirewallEndpointAssociation", +"properties": { +"createTime": { +"description": "Output only. Create time stamp", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"disabled": { +"description": "Optional. Whether the association is disabled. True indicates that traffic won't be intercepted", +"type": "boolean" +}, +"firewallEndpoint": { +"description": "Required. The URL of the FirewallEndpoint that is being associated.", +"type": "string" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. Labels as key value pairs", +"type": "object" +}, +"name": { +"description": "Immutable. Identifier. name of resource", +"type": "string" +}, +"network": { +"description": "Required. The URL of the network that is being associated.", +"type": "string" +}, +"reconciling": { +"description": "Output only. Whether reconciling is in progress, recommended per https://google.aip.dev/128.", +"readOnly": true, +"type": "boolean" +}, +"state": { +"description": "Output only. Current state of the association.", +"enum": [ +"STATE_UNSPECIFIED", +"CREATING", +"ACTIVE", +"DELETING", +"INACTIVE", +"ORPHAN" +], +"enumDescriptions": [ +"Not set.", +"Being created.", +"Active and ready for traffic.", +"Being deleted.", +"Down or in an error state.", +"The project that housed the association has been deleted." +], +"readOnly": true, +"type": "string" +}, +"tlsInspectionPolicy": { +"description": "Optional. The URL of the TlsInspectionPolicy that is being associated.", +"type": "string" +}, +"updateTime": { +"description": "Output only. Update time stamp", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"FirewallEndpointAssociationReference": { +"description": "This is a subset of the FirewallEndpointAssociation message, containing fields to be used by the consumer.", +"id": "FirewallEndpointAssociationReference", +"properties": { +"name": { +"description": "Output only. The resource name of the FirewallEndpointAssociation. Format: projects/{project}/locations/{location}/firewallEndpointAssociations/{id}", +"readOnly": true, +"type": "string" +}, +"network": { +"description": "Output only. The VPC network associated. Format: projects/{project}/global/networks/{name}.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"FirewallEndpointEndpointSettings": { +"description": "Settings for the endpoint.", +"id": "FirewallEndpointEndpointSettings", +"properties": { +"jumboFramesEnabled": { +"description": "Optional. Immutable. Indicates whether Jumbo Frames are enabled. Default value is false.", +"type": "boolean" +} +}, +"type": "object" +}, +"GatewaySecurityPolicy": { +"description": "The GatewaySecurityPolicy resource contains a collection of GatewaySecurityPolicyRules and associated metadata.", +"id": "GatewaySecurityPolicy", +"properties": { +"createTime": { +"description": "Output only. The timestamp when the resource was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"description": { +"description": "Optional. Free-text description of the resource.", +"type": "string" +}, +"name": { +"description": "Required. Name of the resource. Name is of the form projects/{project}/locations/{location}/gatewaySecurityPolicies/{gateway_security_policy} gateway_security_policy should match the pattern:(^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$).", +"type": "string" +}, +"tlsInspectionPolicy": { +"description": "Optional. Name of a TLS Inspection Policy resource that defines how TLS inspection will be performed for any rule(s) which enables it.", +"type": "string" +}, +"updateTime": { +"description": "Output only. The timestamp when the resource was updated.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GatewaySecurityPolicyRule": { +"description": "The GatewaySecurityPolicyRule resource is in a nested collection within a GatewaySecurityPolicy and represents a traffic matching condition and associated action to perform.", +"id": "GatewaySecurityPolicyRule", +"properties": { +"applicationMatcher": { +"description": "Optional. CEL expression for matching on L7/application level criteria.", +"type": "string" +}, +"basicProfile": { +"description": "Required. Profile which tells what the primitive action should be.", +"enum": [ +"BASIC_PROFILE_UNSPECIFIED", +"ALLOW", +"DENY" +], +"enumDescriptions": [ +"If there is not a mentioned action for the target.", +"Allow the matched traffic.", +"Deny the matched traffic." +], +"type": "string" +}, +"createTime": { +"description": "Output only. Time when the rule was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"description": { +"description": "Optional. Free-text description of the resource.", +"type": "string" +}, +"enabled": { +"description": "Required. Whether the rule is enforced.", +"type": "boolean" +}, +"name": { +"description": "Required. Immutable. Name of the resource. ame is the full resource name so projects/{project}/locations/{location}/gatewaySecurityPolicies/{gateway_security_policy}/rules/{rule} rule should match the pattern: (^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$).", +"type": "string" +}, +"priority": { +"description": "Required. Priority of the rule. Lower number corresponds to higher precedence.", +"format": "int32", +"type": "integer" +}, +"sessionMatcher": { +"description": "Required. CEL expression for matching on session criteria.", +"type": "string" +}, +"tlsInspectionEnabled": { +"description": "Optional. Flag to enable TLS inspection of traffic matching on , can only be true if the parent GatewaySecurityPolicy references a TLSInspectionConfig.", +"type": "boolean" +}, +"updateTime": { +"description": "Output only. Time when the rule was updated.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudNetworksecurityV1CertificateProvider": { +"description": "Specification of certificate provider. Defines the mechanism to obtain the certificate and private key for peer to peer authentication.", +"id": "GoogleCloudNetworksecurityV1CertificateProvider", +"properties": { +"certificateProviderInstance": { +"$ref": "CertificateProviderInstance", +"description": "The certificate provider instance specification that will be passed to the data plane, which will be used to load necessary credential information." +}, +"grpcEndpoint": { +"$ref": "GoogleCloudNetworksecurityV1GrpcEndpoint", +"description": "gRPC specific configuration to access the gRPC server to obtain the cert and private key." +} +}, +"type": "object" +}, +"GoogleCloudNetworksecurityV1GrpcEndpoint": { +"description": "Specification of the GRPC Endpoint.", +"id": "GoogleCloudNetworksecurityV1GrpcEndpoint", +"properties": { +"targetUri": { +"description": "Required. The target URI of the gRPC endpoint. Only UDS path is supported, and should start with \"unix:\".", +"type": "string" +} +}, +"type": "object" +}, +"GoogleIamV1AuditConfig": { +"description": "Specifies the audit configuration for a service. The configuration determines which permission types are logged, and what identities, if any, are exempted from logging. An AuditConfig must have one or more AuditLogConfigs. If there are AuditConfigs for both `allServices` and a specific service, the union of the two AuditConfigs is used for that service: the log_types specified in each AuditConfig are enabled, and the exempted_members in each AuditLogConfig are exempted. Example Policy with multiple AuditConfigs: { \"audit_configs\": [ { \"service\": \"allServices\", \"audit_log_configs\": [ { \"log_type\": \"DATA_READ\", \"exempted_members\": [ \"user:jose@example.com\" ] }, { \"log_type\": \"DATA_WRITE\" }, { \"log_type\": \"ADMIN_READ\" } ] }, { \"service\": \"sampleservice.googleapis.com\", \"audit_log_configs\": [ { \"log_type\": \"DATA_READ\" }, { \"log_type\": \"DATA_WRITE\", \"exempted_members\": [ \"user:aliya@example.com\" ] } ] } ] } For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also exempts `jose@example.com` from DATA_READ logging, and `aliya@example.com` from DATA_WRITE logging.", +"id": "GoogleIamV1AuditConfig", +"properties": { +"auditLogConfigs": { +"description": "The configuration for logging of each type of permission.", +"items": { +"$ref": "GoogleIamV1AuditLogConfig" +}, +"type": "array" +}, +"service": { +"description": "Specifies a service that will be enabled for audit logging. For example, `storage.googleapis.com`, `cloudsql.googleapis.com`. `allServices` is a special value that covers all services.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleIamV1AuditLogConfig": { +"description": "Provides the configuration for logging a type of permissions. Example: { \"audit_log_configs\": [ { \"log_type\": \"DATA_READ\", \"exempted_members\": [ \"user:jose@example.com\" ] }, { \"log_type\": \"DATA_WRITE\" } ] } This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting jose@example.com from DATA_READ logging.", +"id": "GoogleIamV1AuditLogConfig", +"properties": { +"exemptedMembers": { +"description": "Specifies the identities that do not cause logging for this type of permission. Follows the same format of Binding.members.", +"items": { +"type": "string" +}, +"type": "array" +}, +"logType": { +"description": "The log type that this config enables.", +"enum": [ +"LOG_TYPE_UNSPECIFIED", +"ADMIN_READ", +"DATA_WRITE", +"DATA_READ" +], +"enumDescriptions": [ +"Default case. Should never be this.", +"Admin reads. Example: CloudIAM getIamPolicy", +"Data writes. Example: CloudSQL Users create", +"Data reads. Example: CloudSQL Users list" +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleIamV1Binding": { +"description": "Associates `members`, or principals, with a `role`.", +"id": "GoogleIamV1Binding", +"properties": { +"condition": { +"$ref": "Expr", +"description": "The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies)." +}, +"members": { +"description": "Specifies the principals requesting access for a Google Cloud resource. `members` can have the following values: * `allUsers`: A special identifier that represents anyone who is on the internet; with or without a Google account. * `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service account. Does not include identities that come from external identity providers (IdPs) through identity federation. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `group:{emailid}`: An email address that represents a Google group. For example, `admins@example.com`. * `domain:{domain}`: The G Suite domain (primary) that represents all the users of that domain. For example, `google.com` or `example.com`. * `principal://iam.googleapis.com/locations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}`: A single identity in a workforce identity pool. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/group/{group_id}`: All workforce identities in a group. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/attribute.{attribute_name}/{attribute_value}`: All workforce identities with a specific attribute value. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/*`: All identities in a workforce identity pool. * `principal://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/subject/{subject_attribute_value}`: A single identity in a workload identity pool. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/group/{group_id}`: A workload identity pool group. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/attribute.{attribute_name}/{attribute_value}`: All identities in a workload identity pool with a certain attribute. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/*`: All identities in a workload identity pool. * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a user that has been recently deleted. For example, `alice@example.com?uid=123456789012345678901`. If the user is recovered, this value reverts to `user:{emailid}` and the recovered user retains the role in the binding. * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a service account that has been recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the service account is undeleted, this value reverts to `serviceAccount:{emailid}` and the undeleted service account retains the role in the binding. * `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a Google group that has been recently deleted. For example, `admins@example.com?uid=123456789012345678901`. If the group is recovered, this value reverts to `group:{emailid}` and the recovered group retains the role in the binding. * `deleted:principal://iam.googleapis.com/locations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}`: Deleted single identity in a workforce identity pool. For example, `deleted:principal://iam.googleapis.com/locations/global/workforcePools/my-pool-id/subject/my-subject-attribute-value`.", +"items": { +"type": "string" +}, +"type": "array" +}, +"role": { +"description": "Role that is assigned to the list of `members`, or principals. For example, `roles/viewer`, `roles/editor`, or `roles/owner`. For an overview of the IAM roles and permissions, see the [IAM documentation](https://cloud.google.com/iam/docs/roles-overview). For a list of the available pre-defined roles, see [here](https://cloud.google.com/iam/docs/understanding-roles).", +"type": "string" +} +}, +"type": "object" +}, +"GoogleIamV1Policy": { +"description": "An Identity and Access Management (IAM) policy, which specifies access controls for Google Cloud resources. A `Policy` is a collection of `bindings`. A `binding` binds one or more `members`, or principals, to a single `role`. Principals can be user accounts, service accounts, Google groups, and domains (such as G Suite). A `role` is a named list of permissions; each `role` can be an IAM predefined role or a user-created custom role. For some types of Google Cloud resources, a `binding` can also specify a `condition`, which is a logical expression that allows access to a resource only if the expression evaluates to `true`. A condition can add constraints based on attributes of the request, the resource, or both. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). **JSON example:** ``` { \"bindings\": [ { \"role\": \"roles/resourcemanager.organizationAdmin\", \"members\": [ \"user:mike@example.com\", \"group:admins@example.com\", \"domain:google.com\", \"serviceAccount:my-project-id@appspot.gserviceaccount.com\" ] }, { \"role\": \"roles/resourcemanager.organizationViewer\", \"members\": [ \"user:eve@example.com\" ], \"condition\": { \"title\": \"expirable access\", \"description\": \"Does not grant access after Sep 2020\", \"expression\": \"request.time < timestamp('2020-10-01T00:00:00.000Z')\", } } ], \"etag\": \"BwWWja0YfJA=\", \"version\": 3 } ``` **YAML example:** ``` bindings: - members: - user:mike@example.com - group:admins@example.com - domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.com role: roles/resourcemanager.organizationViewer condition: title: expirable access description: Does not grant access after Sep 2020 expression: request.time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 ``` For a description of IAM and its features, see the [IAM documentation](https://cloud.google.com/iam/docs/).", +"id": "GoogleIamV1Policy", +"properties": { +"auditConfigs": { +"description": "Specifies cloud audit logging configuration for this policy.", +"items": { +"$ref": "GoogleIamV1AuditConfig" +}, +"type": "array" +}, +"bindings": { +"description": "Associates a list of `members`, or principals, with a `role`. Optionally, may specify a `condition` that determines how and when the `bindings` are applied. Each of the `bindings` must contain at least one principal. The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250 of these principals can be Google groups. Each occurrence of a principal counts towards these limits. For example, if the `bindings` grant 50 different roles to `user:alice@example.com`, and not to any other principal, then you can add another 1,450 principals to the `bindings` in the `Policy`.", +"items": { +"$ref": "GoogleIamV1Binding" +}, +"type": "array" +}, +"etag": { +"description": "`etag` is used for optimistic concurrency control as a way to help prevent simultaneous updates of a policy from overwriting each other. It is strongly suggested that systems make use of the `etag` in the read-modify-write cycle to perform policy updates in order to avoid race conditions: An `etag` is returned in the response to `getIamPolicy`, and systems are expected to put that etag in the request to `setIamPolicy` to ensure that their change will be applied to the same version of the policy. **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost.", +"format": "byte", +"type": "string" +}, +"version": { +"description": "Specifies the format of the policy. Valid values are `0`, `1`, and `3`. Requests that specify an invalid value are rejected. Any operation that affects conditional role bindings must specify version `3`. This requirement applies to the following operations: * Getting a policy that includes a conditional role binding * Adding a conditional role binding to a policy * Changing a conditional role binding in a policy * Removing any role binding, with or without a condition, from a policy that includes conditions **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost. If a policy does not include any conditions, operations on that policy may specify any valid version or leave the field unset. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"GoogleIamV1SetIamPolicyRequest": { +"description": "Request message for `SetIamPolicy` method.", +"id": "GoogleIamV1SetIamPolicyRequest", +"properties": { +"policy": { +"$ref": "GoogleIamV1Policy", +"description": "REQUIRED: The complete policy to be applied to the `resource`. The size of the policy is limited to a few 10s of KB. An empty policy is a valid policy but certain Google Cloud services (such as Projects) might reject them." +}, +"updateMask": { +"description": "OPTIONAL: A FieldMask specifying which fields of the policy to modify. Only the fields in the mask will be modified. If no mask is provided, the following default mask is used: `paths: \"bindings, etag\"`", +"format": "google-fieldmask", +"type": "string" +} +}, +"type": "object" +}, +"GoogleIamV1TestIamPermissionsRequest": { +"description": "Request message for `TestIamPermissions` method.", +"id": "GoogleIamV1TestIamPermissionsRequest", +"properties": { +"permissions": { +"description": "The set of permissions to check for the `resource`. Permissions with wildcards (such as `*` or `storage.*`) are not allowed. For more information see [IAM Overview](https://cloud.google.com/iam/docs/overview#permissions).", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleIamV1TestIamPermissionsResponse": { +"description": "Response message for `TestIamPermissions` method.", +"id": "GoogleIamV1TestIamPermissionsResponse", +"properties": { +"permissions": { +"description": "A subset of `TestPermissionsRequest.permissions` that the caller is allowed.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"HttpHeaderMatch": { +"description": "Specification of HTTP header match attributes.", +"id": "HttpHeaderMatch", +"properties": { +"headerName": { +"description": "Required. The name of the HTTP header to match. For matching against the HTTP request's authority, use a headerMatch with the header name \":authority\". For matching a request's method, use the headerName \":method\".", +"type": "string" +}, +"regexMatch": { +"description": "Required. The value of the header must match the regular expression specified in regexMatch. For regular expression grammar, please see: en.cppreference.com/w/cpp/regex/ecmascript For matching against a port specified in the HTTP request, use a headerMatch with headerName set to Host and a regular expression that satisfies the RFC2616 Host header's port specifier.", +"type": "string" +} +}, +"type": "object" +}, +"InterceptDeployment": { +"description": "A deployment represents a zonal intercept backend ready to accept GENEVE-encapsulated traffic, e.g. a zonal instance group fronted by an internal passthrough load balancer. Deployments are always part of a global deployment group which represents a global intercept service.", +"id": "InterceptDeployment", +"properties": { +"createTime": { +"description": "Output only. The timestamp when the resource was created. See https://google.aip.dev/148#timestamps.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"description": { +"description": "Optional. User-provided description of the deployment. Used as additional context for the deployment.", +"type": "string" +}, +"forwardingRule": { +"description": "Required. Immutable. The regional forwarding rule that fronts the interceptors, for example: `projects/123456789/regions/us-central1/forwardingRules/my-rule`. See https://google.aip.dev/124.", +"type": "string" +}, +"interceptDeploymentGroup": { +"description": "Required. Immutable. The deployment group that this deployment is a part of, for example: `projects/123456789/locations/global/interceptDeploymentGroups/my-dg`. See https://google.aip.dev/124.", +"type": "string" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. Labels are key/value pairs that help to organize and filter resources.", +"type": "object" +}, +"name": { +"description": "Immutable. Identifier. The resource name of this deployment, for example: `projects/123456789/locations/us-central1-a/interceptDeployments/my-dep`. See https://google.aip.dev/122 for more details.", +"type": "string" +}, +"reconciling": { +"description": "Output only. The current state of the resource does not match the user's intended state, and the system is working to reconcile them. This part of the normal operation (e.g. linking a new association to the parent group). See https://google.aip.dev/128.", +"readOnly": true, +"type": "boolean" +}, +"state": { +"description": "Output only. The current state of the deployment. See https://google.aip.dev/216.", +"enum": [ +"STATE_UNSPECIFIED", +"ACTIVE", +"CREATING", +"DELETING", +"OUT_OF_SYNC", +"DELETE_FAILED" +], +"enumDescriptions": [ +"State not set (this is not a valid state).", +"The deployment is ready and in sync with the parent group.", +"The deployment is being created.", +"The deployment is being deleted.", +"The deployment is out of sync with the parent group. In most cases, this is a result of a transient issue within the system (e.g. a delayed data-path config) and the system is expected to recover automatically. See the parent deployment group's state for more details.", +"An attempt to delete the deployment has failed. This is a terminal state and the deployment is not expected to recover. The only permitted operation is to retry deleting the deployment." +], +"readOnly": true, +"type": "string" +}, +"updateTime": { +"description": "Output only. The timestamp when the resource was most recently updated. See https://google.aip.dev/148#timestamps.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"InterceptDeploymentGroup": { +"description": "A deployment group aggregates many zonal intercept backends (deployments) into a single global intercept service. Consumers can connect this service using an endpoint group.", +"id": "InterceptDeploymentGroup", +"properties": { +"connectedEndpointGroups": { +"description": "Output only. The list of endpoint groups that are connected to this resource.", +"items": { +"$ref": "InterceptDeploymentGroupConnectedEndpointGroup" +}, +"readOnly": true, +"type": "array" +}, +"createTime": { +"description": "Output only. The timestamp when the resource was created. See https://google.aip.dev/148#timestamps.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"description": { +"description": "Optional. User-provided description of the deployment group. Used as additional context for the deployment group.", +"type": "string" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. Labels are key/value pairs that help to organize and filter resources.", +"type": "object" +}, +"locations": { +"description": "Output only. The list of locations where the deployment group is present.", +"items": { +"$ref": "InterceptLocation" +}, +"readOnly": true, +"type": "array" +}, +"name": { +"description": "Immutable. Identifier. The resource name of this deployment group, for example: `projects/123456789/locations/global/interceptDeploymentGroups/my-dg`. See https://google.aip.dev/122 for more details.", +"type": "string" +}, +"nestedDeployments": { +"deprecated": true, +"description": "Output only. The list of Intercept Deployments that belong to this group.", +"items": { +"$ref": "InterceptDeploymentGroupDeployment" +}, +"readOnly": true, +"type": "array" +}, +"network": { +"description": "Required. Immutable. The network that will be used for all child deployments, for example: `projects/{project}/global/networks/{network}`. See https://google.aip.dev/124.", +"type": "string" +}, +"reconciling": { +"description": "Output only. The current state of the resource does not match the user's intended state, and the system is working to reconcile them. This is part of the normal operation (e.g. adding a new deployment to the group) See https://google.aip.dev/128.", +"readOnly": true, +"type": "boolean" +}, +"state": { +"description": "Output only. The current state of the deployment group. See https://google.aip.dev/216.", +"enum": [ +"STATE_UNSPECIFIED", +"ACTIVE", +"CREATING", +"DELETING" +], +"enumDescriptions": [ +"State not set (this is not a valid state).", +"The deployment group is ready.", +"The deployment group is being created.", +"The deployment group is being deleted." +], +"readOnly": true, +"type": "string" +}, +"updateTime": { +"description": "Output only. The timestamp when the resource was most recently updated. See https://google.aip.dev/148#timestamps.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"InterceptDeploymentGroupConnectedEndpointGroup": { +"description": "An endpoint group connected to this deployment group.", +"id": "InterceptDeploymentGroupConnectedEndpointGroup", +"properties": { +"name": { +"description": "Output only. The connected endpoint group's resource name, for example: `projects/123456789/locations/global/interceptEndpointGroups/my-eg`. See https://google.aip.dev/124.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"InterceptDeploymentGroupDeployment": { +"description": "A deployment belonging to this deployment group.", +"id": "InterceptDeploymentGroupDeployment", +"properties": { +"name": { +"description": "Output only. The name of the Intercept Deployment, in the format: `projects/{project}/locations/{location}/interceptDeployments/{intercept_deployment}`.", +"readOnly": true, +"type": "string" +}, +"state": { +"description": "Output only. Most recent known state of the deployment.", +"enum": [ +"STATE_UNSPECIFIED", +"ACTIVE", +"CREATING", +"DELETING", +"OUT_OF_SYNC", +"DELETE_FAILED" +], +"enumDescriptions": [ +"State not set (this is not a valid state).", +"The deployment is ready and in sync with the parent group.", +"The deployment is being created.", +"The deployment is being deleted.", +"The deployment is out of sync with the parent group. In most cases, this is a result of a transient issue within the system (e.g. a delayed data-path config) and the system is expected to recover automatically. See the parent deployment group's state for more details.", +"An attempt to delete the deployment has failed. This is a terminal state and the deployment is not expected to recover. The only permitted operation is to retry deleting the deployment." +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"InterceptEndpointGroup": { +"description": "An endpoint group is a consumer frontend for a deployment group (backend). In order to configure intercept for a network, consumers must create: - An association between their network and the endpoint group. - A security profile that points to the endpoint group. - A firewall rule that references the security profile (group).", +"id": "InterceptEndpointGroup", +"properties": { +"associations": { +"description": "Output only. List of associations to this endpoint group.", +"items": { +"$ref": "InterceptEndpointGroupAssociationDetails" +}, +"readOnly": true, +"type": "array" +}, +"connectedDeploymentGroup": { +"$ref": "InterceptEndpointGroupConnectedDeploymentGroup", +"description": "Output only. Details about the connected deployment group to this endpoint group.", +"readOnly": true +}, +"createTime": { +"description": "Output only. The timestamp when the resource was created. See https://google.aip.dev/148#timestamps.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"description": { +"description": "Optional. User-provided description of the endpoint group. Used as additional context for the endpoint group.", +"type": "string" +}, +"interceptDeploymentGroup": { +"description": "Required. Immutable. The deployment group that this endpoint group is connected to, for example: `projects/123456789/locations/global/interceptDeploymentGroups/my-dg`. See https://google.aip.dev/124.", +"type": "string" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. Labels are key/value pairs that help to organize and filter resources.", +"type": "object" +}, +"name": { +"description": "Immutable. Identifier. The resource name of this endpoint group, for example: `projects/123456789/locations/global/interceptEndpointGroups/my-eg`. See https://google.aip.dev/122 for more details.", +"type": "string" +}, +"reconciling": { +"description": "Output only. The current state of the resource does not match the user's intended state, and the system is working to reconcile them. This is part of the normal operation (e.g. adding a new association to the group). See https://google.aip.dev/128.", +"readOnly": true, +"type": "boolean" +}, +"state": { +"description": "Output only. The current state of the endpoint group. See https://google.aip.dev/216.", +"enum": [ +"STATE_UNSPECIFIED", +"ACTIVE", +"CLOSED", +"CREATING", +"DELETING", +"OUT_OF_SYNC", +"DELETE_FAILED" +], +"enumDescriptions": [ +"State not set (this is not a valid state).", +"The endpoint group is ready and in sync with the target deployment group.", +"The deployment group backing this endpoint group has been force-deleted. This endpoint group cannot be used and interception is effectively disabled.", +"The endpoint group is being created.", +"The endpoint group is being deleted.", +"The endpoint group is out of sync with the backing deployment group. In most cases, this is a result of a transient issue within the system (e.g. an inaccessible location) and the system is expected to recover automatically. See the associations field for details per network and location.", +"An attempt to delete the endpoint group has failed. This is a terminal state and the endpoint group is not expected to recover. The only permitted operation is to retry deleting the endpoint group." +], +"readOnly": true, +"type": "string" +}, +"updateTime": { +"description": "Output only. The timestamp when the resource was most recently updated. See https://google.aip.dev/148#timestamps.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"InterceptEndpointGroupAssociation": { +"description": "An endpoint group association represents a link between a network and an endpoint group in the organization. Creating an association creates the networking infrastructure linking the network to the endpoint group, but does not enable intercept by itself. To enable intercept, the user must also create a network firewall policy containing intercept rules and associate it with the network.", +"id": "InterceptEndpointGroupAssociation", +"properties": { +"createTime": { +"description": "Output only. The timestamp when the resource was created. See https://google.aip.dev/148#timestamps.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"interceptEndpointGroup": { +"description": "Required. Immutable. The endpoint group that this association is connected to, for example: `projects/123456789/locations/global/interceptEndpointGroups/my-eg`. See https://google.aip.dev/124.", +"type": "string" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. Labels are key/value pairs that help to organize and filter resources.", +"type": "object" +}, +"locations": { +"description": "Output only. The list of locations where the association is configured. This information is retrieved from the linked endpoint group.", +"items": { +"$ref": "InterceptLocation" +}, +"readOnly": true, +"type": "array" +}, +"locationsDetails": { +"deprecated": true, +"description": "Output only. The list of locations where the association is present. This information is retrieved from the linked endpoint group, and not configured as part of the association itself.", +"items": { +"$ref": "InterceptEndpointGroupAssociationLocationDetails" +}, +"readOnly": true, +"type": "array" +}, +"name": { +"description": "Immutable. Identifier. The resource name of this endpoint group association, for example: `projects/123456789/locations/global/interceptEndpointGroupAssociations/my-eg-association`. See https://google.aip.dev/122 for more details.", +"type": "string" +}, +"network": { +"description": "Required. Immutable. The VPC network that is associated. for example: `projects/123456789/global/networks/my-network`. See https://google.aip.dev/124.", +"type": "string" +}, +"reconciling": { +"description": "Output only. The current state of the resource does not match the user's intended state, and the system is working to reconcile them. This part of the normal operation (e.g. adding a new location to the target deployment group). See https://google.aip.dev/128.", +"readOnly": true, +"type": "boolean" +}, +"state": { +"description": "Output only. Current state of the endpoint group association.", +"enum": [ +"STATE_UNSPECIFIED", +"ACTIVE", +"CREATING", +"DELETING", +"CLOSED", +"OUT_OF_SYNC", +"DELETE_FAILED" +], +"enumDescriptions": [ +"Not set.", +"The association is ready and in sync with the linked endpoint group.", +"The association is being created.", +"The association is being deleted.", +"The association is disabled due to a breaking change in another resource.", +"The association is out of sync with the linked endpoint group. In most cases, this is a result of a transient issue within the system (e.g. an inaccessible location) and the system is expected to recover automatically. Check the `locations_details` field for more details.", +"An attempt to delete the association has failed. This is a terminal state and the association is not expected to be usable as some of its resources have been deleted. The only permitted operation is to retry deleting the association." +], +"readOnly": true, +"type": "string" +}, +"updateTime": { +"description": "Output only. The timestamp when the resource was most recently updated. See https://google.aip.dev/148#timestamps.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"InterceptEndpointGroupAssociationDetails": { +"description": "The endpoint group's view of a connected association.", +"id": "InterceptEndpointGroupAssociationDetails", +"properties": { +"name": { +"description": "Output only. The connected association's resource name, for example: `projects/123456789/locations/global/interceptEndpointGroupAssociations/my-ega`. See https://google.aip.dev/124.", +"readOnly": true, +"type": "string" +}, +"network": { +"description": "Output only. The associated network, for example: projects/123456789/global/networks/my-network. See https://google.aip.dev/124.", +"readOnly": true, +"type": "string" +}, +"state": { +"description": "Output only. Most recent known state of the association.", +"enum": [ +"STATE_UNSPECIFIED", +"ACTIVE", +"CREATING", +"DELETING", +"CLOSED", +"OUT_OF_SYNC", +"DELETE_FAILED" +], +"enumDescriptions": [ +"Not set.", +"The association is ready and in sync with the linked endpoint group.", +"The association is being created.", +"The association is being deleted.", +"The association is disabled due to a breaking change in another resource.", +"The association is out of sync with the linked endpoint group. In most cases, this is a result of a transient issue within the system (e.g. an inaccessible location) and the system is expected to recover automatically. Check the `locations_details` field for more details.", +"An attempt to delete the association has failed. This is a terminal state and the association is not expected to be usable as some of its resources have been deleted. The only permitted operation is to retry deleting the association." +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"InterceptEndpointGroupAssociationLocationDetails": { +"description": "Contains details about the state of an association in a specific cloud location.", +"id": "InterceptEndpointGroupAssociationLocationDetails", +"properties": { +"location": { +"description": "Output only. The cloud location, e.g. \"us-central1-a\" or \"asia-south1\".", +"readOnly": true, +"type": "string" +}, +"state": { +"description": "Output only. The current state of the association in this location.", +"enum": [ +"STATE_UNSPECIFIED", +"ACTIVE", +"OUT_OF_SYNC" +], +"enumDescriptions": [ +"Not set.", +"The association is ready and in sync with the linked endpoint group.", +"The association is out of sync with the linked endpoint group. In most cases, this is a result of a transient issue within the system (e.g. an inaccessible location) and the system is expected to recover automatically." +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"InterceptEndpointGroupConnectedDeploymentGroup": { +"description": "The endpoint group's view of a connected deployment group.", +"id": "InterceptEndpointGroupConnectedDeploymentGroup", +"properties": { +"locations": { +"description": "Output only. The list of locations where the deployment group is present.", +"items": { +"$ref": "InterceptLocation" +}, +"readOnly": true, +"type": "array" +}, +"name": { +"description": "Output only. The connected deployment group's resource name, for example: `projects/123456789/locations/global/interceptDeploymentGroups/my-dg`. See https://google.aip.dev/124.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"InterceptLocation": { +"description": "Details about intercept in a specific cloud location.", +"id": "InterceptLocation", +"properties": { +"location": { +"description": "Output only. The cloud location, e.g. \"us-central1-a\" or \"asia-south1\".", +"readOnly": true, +"type": "string" +}, +"state": { +"description": "Output only. The current state of the association in this location.", +"enum": [ +"STATE_UNSPECIFIED", +"ACTIVE", +"OUT_OF_SYNC" +], +"enumDescriptions": [ +"State not set (this is not a valid state).", +"The resource is ready and in sync in the location.", +"The resource is out of sync in the location. In most cases, this is a result of a transient issue within the system (e.g. an inaccessible location) and the system is expected to recover automatically." +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"ListAddressGroupReferencesResponse": { +"description": "Response of the ListAddressGroupReferences method.", +"id": "ListAddressGroupReferencesResponse", +"properties": { +"addressGroupReferences": { +"description": "A list of references that matches the specified filter in the request.", +"items": { +"$ref": "ListAddressGroupReferencesResponseAddressGroupReference" +}, +"type": "array" +}, +"nextPageToken": { +"description": "If there might be more results than those appearing in this response, then `next_page_token` is included. To get the next set of results, call this method again using the value of `next_page_token` as `page_token`.", +"type": "string" +} +}, +"type": "object" +}, +"ListAddressGroupReferencesResponseAddressGroupReference": { +"description": "The Reference of AddressGroup.", +"id": "ListAddressGroupReferencesResponseAddressGroupReference", +"properties": { +"firewallPolicy": { +"description": "FirewallPolicy that is using the Address Group.", +"type": "string" +}, +"rulePriority": { +"description": "Rule priority of the FirewallPolicy that is using the Address Group.", +"format": "int32", +"type": "integer" +}, +"securityPolicy": { +"description": "Cloud Armor SecurityPolicy that is using the Address Group.", +"type": "string" +} +}, +"type": "object" +}, +"ListAddressGroupsResponse": { +"description": "Response returned by the ListAddressGroups method.", +"id": "ListAddressGroupsResponse", +"properties": { +"addressGroups": { +"description": "List of AddressGroups resources.", +"items": { +"$ref": "AddressGroup" +}, +"type": "array" +}, +"nextPageToken": { +"description": "If there might be more results than those appearing in this response, then `next_page_token` is included. To get the next set of results, call this method again using the value of `next_page_token` as `page_token`.", +"type": "string" +}, +"unreachable": { +"description": "Locations that could not be reached.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListAuthorizationPoliciesResponse": { +"description": "Response returned by the ListAuthorizationPolicies method.", +"id": "ListAuthorizationPoliciesResponse", +"properties": { +"authorizationPolicies": { +"description": "List of AuthorizationPolicies resources.", +"items": { +"$ref": "AuthorizationPolicy" +}, +"type": "array" +}, +"nextPageToken": { +"description": "If there might be more results than those appearing in this response, then `next_page_token` is included. To get the next set of results, call this method again using the value of `next_page_token` as `page_token`.", +"type": "string" +} +}, +"type": "object" +}, +"ListAuthzPoliciesResponse": { +"description": "Message for response to listing `AuthzPolicy` resources.", +"id": "ListAuthzPoliciesResponse", +"properties": { +"authzPolicies": { +"description": "The list of `AuthzPolicy` resources.", +"items": { +"$ref": "AuthzPolicy" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A token identifying a page of results that the server returns.", +"type": "string" +}, +"unreachable": { +"description": "Locations that could not be reached.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListBackendAuthenticationConfigsResponse": { +"description": "Response returned by the ListBackendAuthenticationConfigs method.", +"id": "ListBackendAuthenticationConfigsResponse", +"properties": { +"backendAuthenticationConfigs": { +"description": "List of BackendAuthenticationConfig resources.", +"items": { +"$ref": "BackendAuthenticationConfig" +}, +"type": "array" +}, +"nextPageToken": { +"description": "If there might be more results than those appearing in this response, then `next_page_token` is included. To get the next set of results, call this method again using the value of `next_page_token` as `page_token`.", +"type": "string" +}, +"unreachable": { +"description": "Locations that could not be reached.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListClientTlsPoliciesResponse": { +"description": "Response returned by the ListClientTlsPolicies method.", +"id": "ListClientTlsPoliciesResponse", +"properties": { +"clientTlsPolicies": { +"description": "List of ClientTlsPolicy resources.", +"items": { +"$ref": "ClientTlsPolicy" +}, +"type": "array" +}, +"nextPageToken": { +"description": "If there might be more results than those appearing in this response, then `next_page_token` is included. To get the next set of results, call this method again using the value of `next_page_token` as `page_token`.", +"type": "string" +} +}, +"type": "object" +}, +"ListDnsThreatDetectorsResponse": { +"description": "The response message to requesting a list of DnsThreatDetectors.", +"id": "ListDnsThreatDetectorsResponse", +"properties": { +"dnsThreatDetectors": { +"description": "The list of DnsThreatDetector resources.", +"items": { +"$ref": "DnsThreatDetector" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A token, which can be sent as `page_token`, to retrieve the next page.", +"type": "string" +}, +"unreachable": { +"description": "Unordered list. Unreachable `DnsThreatDetector` resources.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListFirewallEndpointAssociationsResponse": { +"description": "Message for response to listing Associations", +"id": "ListFirewallEndpointAssociationsResponse", +"properties": { +"firewallEndpointAssociations": { +"description": "The list of Association", +"items": { +"$ref": "FirewallEndpointAssociation" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A token identifying a page of results the server should return.", +"type": "string" +}, +"unreachable": { +"description": "Locations that could not be reached.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListFirewallEndpointsResponse": { +"description": "Message for response to listing Endpoints", +"id": "ListFirewallEndpointsResponse", +"properties": { +"firewallEndpoints": { +"description": "The list of Endpoint", +"items": { +"$ref": "FirewallEndpoint" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A token identifying a page of results the server should return.", +"type": "string" +}, +"unreachable": { +"description": "Locations that could not be reached.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListGatewaySecurityPoliciesResponse": { +"description": "Response returned by the ListGatewaySecurityPolicies method.", +"id": "ListGatewaySecurityPoliciesResponse", +"properties": { +"gatewaySecurityPolicies": { +"description": "List of GatewaySecurityPolicies resources.", +"items": { +"$ref": "GatewaySecurityPolicy" +}, +"type": "array" +}, +"nextPageToken": { +"description": "If there might be more results than those appearing in this response, then 'next_page_token' is included. To get the next set of results, call this method again using the value of 'next_page_token' as 'page_token'.", +"type": "string" +}, +"unreachable": { +"description": "Locations that could not be reached.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListGatewaySecurityPolicyRulesResponse": { +"description": "Response returned by the ListGatewaySecurityPolicyRules method.", +"id": "ListGatewaySecurityPolicyRulesResponse", +"properties": { +"gatewaySecurityPolicyRules": { +"description": "List of GatewaySecurityPolicyRule resources.", +"items": { +"$ref": "GatewaySecurityPolicyRule" +}, +"type": "array" +}, +"nextPageToken": { +"description": "If there might be more results than those appearing in this response, then 'next_page_token' is included. To get the next set of results, call this method again using the value of 'next_page_token' as 'page_token'.", +"type": "string" +}, +"unreachable": { +"description": "Locations that could not be reached.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListInterceptDeploymentGroupsResponse": { +"description": "Response message for ListInterceptDeploymentGroups.", +"id": "ListInterceptDeploymentGroupsResponse", +"properties": { +"interceptDeploymentGroups": { +"description": "The deployment groups from the specified parent.", +"items": { +"$ref": "InterceptDeploymentGroup" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A token that can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages. See https://google.aip.dev/158 for more details.", +"type": "string" +} +}, +"type": "object" +}, +"ListInterceptDeploymentsResponse": { +"description": "Response message for ListInterceptDeployments.", +"id": "ListInterceptDeploymentsResponse", +"properties": { +"interceptDeployments": { +"description": "The deployments from the specified parent.", +"items": { +"$ref": "InterceptDeployment" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A token that can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages. See https://google.aip.dev/158 for more details.", +"type": "string" +}, +"unreachable": { +"description": "Locations that could not be reached.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListInterceptEndpointGroupAssociationsResponse": { +"description": "Response message for ListInterceptEndpointGroupAssociations.", +"id": "ListInterceptEndpointGroupAssociationsResponse", +"properties": { +"interceptEndpointGroupAssociations": { +"description": "The associations from the specified parent.", +"items": { +"$ref": "InterceptEndpointGroupAssociation" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A token that can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages. See https://google.aip.dev/158 for more details.", +"type": "string" +} +}, +"type": "object" +}, +"ListInterceptEndpointGroupsResponse": { +"description": "Response message for ListInterceptEndpointGroups.", +"id": "ListInterceptEndpointGroupsResponse", +"properties": { +"interceptEndpointGroups": { +"description": "The endpoint groups from the specified parent.", +"items": { +"$ref": "InterceptEndpointGroup" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A token that can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages. See https://google.aip.dev/158 for more details.", +"type": "string" +} +}, +"type": "object" +}, +"ListLocationsResponse": { +"description": "The response message for Locations.ListLocations.", +"id": "ListLocationsResponse", +"properties": { +"locations": { +"description": "A list of locations that matches the specified filter in the request.", +"items": { +"$ref": "Location" +}, +"type": "array" +}, +"nextPageToken": { +"description": "The standard List next-page token.", +"type": "string" +} +}, +"type": "object" +}, +"ListMirroringDeploymentGroupsResponse": { +"description": "Response message for ListMirroringDeploymentGroups.", +"id": "ListMirroringDeploymentGroupsResponse", +"properties": { +"mirroringDeploymentGroups": { +"description": "The deployment groups from the specified parent.", +"items": { +"$ref": "MirroringDeploymentGroup" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A token that can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages. See https://google.aip.dev/158 for more details.", +"type": "string" +} +}, +"type": "object" +}, +"ListMirroringDeploymentsResponse": { +"description": "Response message for ListMirroringDeployments.", +"id": "ListMirroringDeploymentsResponse", +"properties": { +"mirroringDeployments": { +"description": "The deployments from the specified parent.", +"items": { +"$ref": "MirroringDeployment" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A token that can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages. See https://google.aip.dev/158 for more details.", +"type": "string" +}, +"unreachable": { +"description": "Locations that could not be reached.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListMirroringEndpointGroupAssociationsResponse": { +"description": "Response message for ListMirroringEndpointGroupAssociations.", +"id": "ListMirroringEndpointGroupAssociationsResponse", +"properties": { +"mirroringEndpointGroupAssociations": { +"description": "The associations from the specified parent.", +"items": { +"$ref": "MirroringEndpointGroupAssociation" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A token that can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages. See https://google.aip.dev/158 for more details.", +"type": "string" +} +}, +"type": "object" +}, +"ListMirroringEndpointGroupsResponse": { +"description": "Response message for ListMirroringEndpointGroups.", +"id": "ListMirroringEndpointGroupsResponse", +"properties": { +"mirroringEndpointGroups": { +"description": "The endpoint groups from the specified parent.", +"items": { +"$ref": "MirroringEndpointGroup" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A token that can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages. See https://google.aip.dev/158 for more details.", +"type": "string" +} +}, +"type": "object" +}, +"ListOperationsResponse": { +"description": "The response message for Operations.ListOperations.", +"id": "ListOperationsResponse", +"properties": { +"nextPageToken": { +"description": "The standard List next-page token.", +"type": "string" +}, +"operations": { +"description": "A list of operations that matches the specified filter in the request.", +"items": { +"$ref": "Operation" +}, +"type": "array" +}, +"unreachable": { +"description": "Unordered list. Unreachable resources. Populated when the request sets `ListOperationsRequest.return_partial_success` and reads across collections. For example, when attempting to list all resources across all supported locations.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListSecurityProfileGroupsResponse": { +"description": "Response returned by the ListSecurityProfileGroups method.", +"id": "ListSecurityProfileGroupsResponse", +"properties": { +"nextPageToken": { +"description": "If there might be more results than those appearing in this response, then `next_page_token` is included. To get the next set of results, call this method again using the value of `next_page_token` as `page_token`.", +"type": "string" +}, +"securityProfileGroups": { +"description": "List of SecurityProfileGroups resources.", +"items": { +"$ref": "SecurityProfileGroup" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListSecurityProfilesResponse": { +"description": "Response returned by the ListSecurityProfiles method.", +"id": "ListSecurityProfilesResponse", +"properties": { +"nextPageToken": { +"description": "If there might be more results than those appearing in this response, then `next_page_token` is included. To get the next set of results, call this method again using the value of `next_page_token` as `page_token`.", +"type": "string" +}, +"securityProfiles": { +"description": "List of SecurityProfile resources.", +"items": { +"$ref": "SecurityProfile" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListServerTlsPoliciesResponse": { +"description": "Response returned by the ListServerTlsPolicies method.", +"id": "ListServerTlsPoliciesResponse", +"properties": { +"nextPageToken": { +"description": "If there might be more results than those appearing in this response, then `next_page_token` is included. To get the next set of results, call this method again using the value of `next_page_token` as `page_token`.", +"type": "string" +}, +"serverTlsPolicies": { +"description": "List of ServerTlsPolicy resources.", +"items": { +"$ref": "ServerTlsPolicy" +}, +"type": "array" +}, +"unreachable": { +"description": "Unreachable resources. Populated when the request opts into `return_partial_success` and reading across collections e.g. when attempting to list all resources across all supported locations.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListTlsInspectionPoliciesResponse": { +"description": "Response returned by the ListTlsInspectionPolicies method.", +"id": "ListTlsInspectionPoliciesResponse", +"properties": { +"nextPageToken": { +"description": "If there might be more results than those appearing in this response, then 'next_page_token' is included. To get the next set of results, call this method again using the value of 'next_page_token' as 'page_token'.", +"type": "string" +}, +"tlsInspectionPolicies": { +"description": "List of TlsInspectionPolicies resources.", +"items": { +"$ref": "TlsInspectionPolicy" +}, +"type": "array" +}, +"unreachable": { +"description": "Locations that could not be reached.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListUrlListsResponse": { +"description": "Response returned by the ListUrlLists method.", +"id": "ListUrlListsResponse", +"properties": { +"nextPageToken": { +"description": "If there might be more results than those appearing in this response, then `next_page_token` is included. To get the next set of results, call this method again using the value of `next_page_token` as `page_token`.", +"type": "string" +}, +"unreachable": { +"description": "Locations that could not be reached.", +"items": { +"type": "string" +}, +"type": "array" +}, +"urlLists": { +"description": "List of UrlList resources.", +"items": { +"$ref": "UrlList" +}, +"type": "array" +} +}, +"type": "object" +}, +"Location": { +"description": "A resource that represents a Google Cloud location.", +"id": "Location", +"properties": { +"displayName": { +"description": "The friendly name for this location, typically a nearby city name. For example, \"Tokyo\".", +"type": "string" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Cross-service attributes for the location. For example {\"cloud.googleapis.com/region\": \"us-east1\"}", +"type": "object" +}, +"locationId": { +"description": "The canonical id for this location. For example: `\"us-east1\"`.", +"type": "string" +}, +"metadata": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "Service-specific metadata. For example the available capacity at the given location.", +"type": "object" +}, +"name": { +"description": "Resource name for the location, which may vary between implementations. For example: `\"projects/example-project/locations/us-east1\"`", +"type": "string" +} +}, +"type": "object" +}, +"MTLSPolicy": { +"description": "Specification of the MTLSPolicy.", +"id": "MTLSPolicy", +"properties": { +"clientValidationCa": { +"description": "Required if the policy is to be used with Traffic Director. For Application Load Balancers it must be empty. Defines the mechanism to obtain the Certificate Authority certificate to validate the client certificate.", +"items": { +"$ref": "ValidationCA" +}, +"type": "array" +}, +"clientValidationMode": { +"description": "When the client presents an invalid certificate or no certificate to the load balancer, the `client_validation_mode` specifies how the client connection is handled. Required if the policy is to be used with the Application Load Balancers. For Traffic Director it must be empty.", +"enum": [ +"CLIENT_VALIDATION_MODE_UNSPECIFIED", +"ALLOW_INVALID_OR_MISSING_CLIENT_CERT", +"REJECT_INVALID" +], +"enumDescriptions": [ +"Not allowed.", +"Allow connection even if certificate chain validation of the client certificate failed or no client certificate was presented. The proof of possession of the private key is always checked if client certificate was presented. This mode requires the backend to implement processing of data extracted from a client certificate to authenticate the peer, or to reject connections if the client certificate fingerprint is missing.", +"Require a client certificate and allow connection to the backend only if validation of the client certificate passed. If set, requires a reference to non-empty TrustConfig specified in `client_validation_trust_config`." +], +"type": "string" +}, +"clientValidationTrustConfig": { +"description": "Reference to the TrustConfig from certificatemanager.googleapis.com namespace. If specified, the chain validation will be performed against certificates configured in the given TrustConfig. Allowed only if the policy is to be used with Application Load Balancers.", +"type": "string" +} +}, +"type": "object" +}, +"MirroringDeployment": { +"description": "A deployment represents a zonal mirroring backend ready to accept GENEVE-encapsulated replica traffic, e.g. a zonal instance group fronted by an internal passthrough load balancer. Deployments are always part of a global deployment group which represents a global mirroring service.", +"id": "MirroringDeployment", +"properties": { +"createTime": { +"description": "Output only. The timestamp when the resource was created. See https://google.aip.dev/148#timestamps.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"description": { +"description": "Optional. User-provided description of the deployment. Used as additional context for the deployment.", +"type": "string" +}, +"forwardingRule": { +"description": "Required. Immutable. The regional forwarding rule that fronts the mirroring collectors, for example: `projects/123456789/regions/us-central1/forwardingRules/my-rule`. See https://google.aip.dev/124.", +"type": "string" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. Labels are key/value pairs that help to organize and filter resources.", +"type": "object" +}, +"mirroringDeploymentGroup": { +"description": "Required. Immutable. The deployment group that this deployment is a part of, for example: `projects/123456789/locations/global/mirroringDeploymentGroups/my-dg`. See https://google.aip.dev/124.", +"type": "string" +}, +"name": { +"description": "Immutable. Identifier. The resource name of this deployment, for example: `projects/123456789/locations/us-central1-a/mirroringDeployments/my-dep`. See https://google.aip.dev/122 for more details.", +"type": "string" +}, +"reconciling": { +"description": "Output only. The current state of the resource does not match the user's intended state, and the system is working to reconcile them. This part of the normal operation (e.g. linking a new association to the parent group). See https://google.aip.dev/128.", +"readOnly": true, +"type": "boolean" +}, +"state": { +"description": "Output only. The current state of the deployment. See https://google.aip.dev/216.", +"enum": [ +"STATE_UNSPECIFIED", +"ACTIVE", +"CREATING", +"DELETING", +"OUT_OF_SYNC", +"DELETE_FAILED" +], +"enumDescriptions": [ +"State not set (this is not a valid state).", +"The deployment is ready and in sync with the parent group.", +"The deployment is being created.", +"The deployment is being deleted.", +"The deployment is out of sync with the parent group. In most cases, this is a result of a transient issue within the system (e.g. a delayed data-path config) and the system is expected to recover automatically. See the parent deployment group's state for more details.", +"An attempt to delete the deployment has failed. This is a terminal state and the deployment is not expected to recover. The only permitted operation is to retry deleting the deployment." +], +"readOnly": true, +"type": "string" +}, +"updateTime": { +"description": "Output only. The timestamp when the resource was most recently updated. See https://google.aip.dev/148#timestamps.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"MirroringDeploymentGroup": { +"description": "A deployment group aggregates many zonal mirroring backends (deployments) into a single global mirroring service. Consumers can connect this service using an endpoint group.", +"id": "MirroringDeploymentGroup", +"properties": { +"connectedEndpointGroups": { +"description": "Output only. The list of endpoint groups that are connected to this resource.", +"items": { +"$ref": "MirroringDeploymentGroupConnectedEndpointGroup" +}, +"readOnly": true, +"type": "array" +}, +"createTime": { +"description": "Output only. The timestamp when the resource was created. See https://google.aip.dev/148#timestamps.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"description": { +"description": "Optional. User-provided description of the deployment group. Used as additional context for the deployment group.", +"type": "string" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. Labels are key/value pairs that help to organize and filter resources.", +"type": "object" +}, +"locations": { +"description": "Output only. The list of locations where the deployment group is present.", +"items": { +"$ref": "MirroringLocation" +}, +"readOnly": true, +"type": "array" +}, +"name": { +"description": "Immutable. Identifier. The resource name of this deployment group, for example: `projects/123456789/locations/global/mirroringDeploymentGroups/my-dg`. See https://google.aip.dev/122 for more details.", +"type": "string" +}, +"nestedDeployments": { +"deprecated": true, +"description": "Output only. The list of Mirroring Deployments that belong to this group.", +"items": { +"$ref": "MirroringDeploymentGroupDeployment" +}, +"readOnly": true, +"type": "array" +}, +"network": { +"description": "Required. Immutable. The network that will be used for all child deployments, for example: `projects/{project}/global/networks/{network}`. See https://google.aip.dev/124.", +"type": "string" +}, +"reconciling": { +"description": "Output only. The current state of the resource does not match the user's intended state, and the system is working to reconcile them. This is part of the normal operation (e.g. adding a new deployment to the group) See https://google.aip.dev/128.", +"readOnly": true, +"type": "boolean" +}, +"state": { +"description": "Output only. The current state of the deployment group. See https://google.aip.dev/216.", +"enum": [ +"STATE_UNSPECIFIED", +"ACTIVE", +"CREATING", +"DELETING", +"CLOSED" +], +"enumDescriptions": [ +"State not set (this is not a valid state).", +"The deployment group is ready.", +"The deployment group is being created.", +"The deployment group is being deleted.", +"The deployment group is being wiped out (project deleted)." +], +"readOnly": true, +"type": "string" +}, +"updateTime": { +"description": "Output only. The timestamp when the resource was most recently updated. See https://google.aip.dev/148#timestamps.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"MirroringDeploymentGroupConnectedEndpointGroup": { +"description": "An endpoint group connected to this deployment group.", +"id": "MirroringDeploymentGroupConnectedEndpointGroup", +"properties": { +"name": { +"description": "Output only. The connected endpoint group's resource name, for example: `projects/123456789/locations/global/mirroringEndpointGroups/my-eg`. See https://google.aip.dev/124.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"MirroringDeploymentGroupDeployment": { +"description": "A deployment belonging to this deployment group.", +"id": "MirroringDeploymentGroupDeployment", +"properties": { +"name": { +"description": "Output only. The name of the Mirroring Deployment, in the format: `projects/{project}/locations/{location}/mirroringDeployments/{mirroring_deployment}`.", +"readOnly": true, +"type": "string" +}, +"state": { +"description": "Output only. Most recent known state of the deployment.", +"enum": [ +"STATE_UNSPECIFIED", +"ACTIVE", +"CREATING", +"DELETING", +"OUT_OF_SYNC", +"DELETE_FAILED" +], +"enumDescriptions": [ +"State not set (this is not a valid state).", +"The deployment is ready and in sync with the parent group.", +"The deployment is being created.", +"The deployment is being deleted.", +"The deployment is out of sync with the parent group. In most cases, this is a result of a transient issue within the system (e.g. a delayed data-path config) and the system is expected to recover automatically. See the parent deployment group's state for more details.", +"An attempt to delete the deployment has failed. This is a terminal state and the deployment is not expected to recover. The only permitted operation is to retry deleting the deployment." +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"MirroringEndpointGroup": { +"description": "An endpoint group is a consumer frontend for a deployment group (backend). In order to configure mirroring for a network, consumers must create: - An association between their network and the endpoint group. - A security profile that points to the endpoint group. - A mirroring rule that references the security profile (group).", +"id": "MirroringEndpointGroup", +"properties": { +"associations": { +"description": "Output only. List of associations to this endpoint group.", +"items": { +"$ref": "MirroringEndpointGroupAssociationDetails" +}, +"readOnly": true, +"type": "array" +}, +"connectedDeploymentGroups": { +"description": "Output only. List of details about the connected deployment groups to this endpoint group.", +"items": { +"$ref": "MirroringEndpointGroupConnectedDeploymentGroup" +}, +"readOnly": true, +"type": "array" +}, +"createTime": { +"description": "Output only. The timestamp when the resource was created. See https://google.aip.dev/148#timestamps.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"description": { +"description": "Optional. User-provided description of the endpoint group. Used as additional context for the endpoint group.", +"type": "string" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. Labels are key/value pairs that help to organize and filter resources.", +"type": "object" +}, +"mirroringDeploymentGroup": { +"description": "Immutable. The deployment group that this DIRECT endpoint group is connected to, for example: `projects/123456789/locations/global/mirroringDeploymentGroups/my-dg`. See https://google.aip.dev/124.", +"type": "string" +}, +"name": { +"description": "Immutable. Identifier. The resource name of this endpoint group, for example: `projects/123456789/locations/global/mirroringEndpointGroups/my-eg`. See https://google.aip.dev/122 for more details.", +"type": "string" +}, +"reconciling": { +"description": "Output only. The current state of the resource does not match the user's intended state, and the system is working to reconcile them. This is part of the normal operation (e.g. adding a new association to the group). See https://google.aip.dev/128.", +"readOnly": true, +"type": "boolean" +}, +"state": { +"description": "Output only. The current state of the endpoint group. See https://google.aip.dev/216.", +"enum": [ +"STATE_UNSPECIFIED", +"ACTIVE", +"CLOSED", +"CREATING", +"DELETING", +"OUT_OF_SYNC", +"DELETE_FAILED" +], +"enumDescriptions": [ +"State not set (this is not a valid state).", +"The endpoint group is ready and in sync with the target deployment group.", +"The deployment group backing this endpoint group has been force-deleted. This endpoint group cannot be used and mirroring is effectively disabled.", +"The endpoint group is being created.", +"The endpoint group is being deleted.", +"The endpoint group is out of sync with the backing deployment group. In most cases, this is a result of a transient issue within the system (e.g. an inaccessible location) and the system is expected to recover automatically. See the associations field for details per network and location.", +"An attempt to delete the endpoint group has failed. This is a terminal state and the endpoint group is not expected to recover. The only permitted operation is to retry deleting the endpoint group." +], +"readOnly": true, +"type": "string" +}, +"type": { +"description": "Immutable. The type of the endpoint group. If left unspecified, defaults to DIRECT.", +"enum": [ +"TYPE_UNSPECIFIED", +"DIRECT" +], +"enumDescriptions": [ +"Not set.", +"An endpoint group that sends packets to a single deployment group." +], +"type": "string" +}, +"updateTime": { +"description": "Output only. The timestamp when the resource was most recently updated. See https://google.aip.dev/148#timestamps.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"MirroringEndpointGroupAssociation": { +"description": "An endpoint group association represents a link between a network and an endpoint group in the organization. Creating an association creates the networking infrastructure linking the network to the endpoint group, but does not enable mirroring by itself. To enable mirroring, the user must also create a network firewall policy containing mirroring rules and associate it with the network.", +"id": "MirroringEndpointGroupAssociation", +"properties": { +"createTime": { +"description": "Output only. The timestamp when the resource was created. See https://google.aip.dev/148#timestamps.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. Labels are key/value pairs that help to organize and filter resources.", +"type": "object" +}, +"locations": { +"description": "Output only. The list of locations where the association is configured. This information is retrieved from the linked endpoint group.", +"items": { +"$ref": "MirroringLocation" +}, +"readOnly": true, +"type": "array" +}, +"locationsDetails": { +"deprecated": true, +"description": "Output only. The list of locations where the association is present. This information is retrieved from the linked endpoint group, and not configured as part of the association itself.", +"items": { +"$ref": "MirroringEndpointGroupAssociationLocationDetails" +}, +"readOnly": true, +"type": "array" +}, +"mirroringEndpointGroup": { +"description": "Immutable. The endpoint group that this association is connected to, for example: `projects/123456789/locations/global/mirroringEndpointGroups/my-eg`. See https://google.aip.dev/124.", +"type": "string" +}, +"name": { +"description": "Immutable. Identifier. The resource name of this endpoint group association, for example: `projects/123456789/locations/global/mirroringEndpointGroupAssociations/my-eg-association`. See https://google.aip.dev/122 for more details.", +"type": "string" +}, +"network": { +"description": "Immutable. The VPC network that is associated. for example: `projects/123456789/global/networks/my-network`. See https://google.aip.dev/124.", +"type": "string" +}, +"reconciling": { +"description": "Output only. The current state of the resource does not match the user's intended state, and the system is working to reconcile them. This part of the normal operation (e.g. adding a new location to the target deployment group). See https://google.aip.dev/128.", +"readOnly": true, +"type": "boolean" +}, +"state": { +"description": "Output only. Current state of the endpoint group association.", +"enum": [ +"STATE_UNSPECIFIED", +"ACTIVE", +"CREATING", +"DELETING", +"CLOSED", +"OUT_OF_SYNC", +"DELETE_FAILED" +], +"enumDescriptions": [ +"Not set.", +"The association is ready and in sync with the linked endpoint group.", +"The association is being created.", +"The association is being deleted.", +"The association is disabled due to a breaking change in another resource.", +"The association is out of sync with the linked endpoint group. In most cases, this is a result of a transient issue within the system (e.g. an inaccessible location) and the system is expected to recover automatically. Check the `locations_details` field for more details.", +"An attempt to delete the association has failed. This is a terminal state and the association is not expected to be usable as some of its resources have been deleted. The only permitted operation is to retry deleting the association." +], +"readOnly": true, +"type": "string" +}, +"updateTime": { +"description": "Output only. The timestamp when the resource was most recently updated. See https://google.aip.dev/148#timestamps.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"MirroringEndpointGroupAssociationDetails": { +"description": "The endpoint group's view of a connected association.", +"id": "MirroringEndpointGroupAssociationDetails", +"properties": { +"name": { +"description": "Output only. The connected association's resource name, for example: `projects/123456789/locations/global/mirroringEndpointGroupAssociations/my-ega`. See https://google.aip.dev/124.", +"readOnly": true, +"type": "string" +}, +"network": { +"description": "Output only. The associated network, for example: projects/123456789/global/networks/my-network. See https://google.aip.dev/124.", +"readOnly": true, +"type": "string" +}, +"state": { +"description": "Output only. Most recent known state of the association.", +"enum": [ +"STATE_UNSPECIFIED", +"ACTIVE", +"CREATING", +"DELETING", +"CLOSED", +"OUT_OF_SYNC", +"DELETE_FAILED" +], +"enumDescriptions": [ +"Not set.", +"The association is ready and in sync with the linked endpoint group.", +"The association is being created.", +"The association is being deleted.", +"The association is disabled due to a breaking change in another resource.", +"The association is out of sync with the linked endpoint group. In most cases, this is a result of a transient issue within the system (e.g. an inaccessible location) and the system is expected to recover automatically. Check the `locations_details` field for more details.", +"An attempt to delete the association has failed. This is a terminal state and the association is not expected to be usable as some of its resources have been deleted. The only permitted operation is to retry deleting the association." +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"MirroringEndpointGroupAssociationLocationDetails": { +"description": "Contains details about the state of an association in a specific cloud location.", +"id": "MirroringEndpointGroupAssociationLocationDetails", +"properties": { +"location": { +"description": "Output only. The cloud location, e.g. \"us-central1-a\" or \"asia-south1\".", +"readOnly": true, +"type": "string" +}, +"state": { +"description": "Output only. The current state of the association in this location.", +"enum": [ +"STATE_UNSPECIFIED", +"ACTIVE", +"OUT_OF_SYNC" +], +"enumDescriptions": [ +"Not set.", +"The association is ready and in sync with the linked endpoint group.", +"The association is out of sync with the linked endpoint group. In most cases, this is a result of a transient issue within the system (e.g. an inaccessible location) and the system is expected to recover automatically." +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"MirroringEndpointGroupConnectedDeploymentGroup": { +"description": "The endpoint group's view of a connected deployment group.", +"id": "MirroringEndpointGroupConnectedDeploymentGroup", +"properties": { +"locations": { +"description": "Output only. The list of locations where the deployment group is present.", +"items": { +"$ref": "MirroringLocation" +}, +"readOnly": true, +"type": "array" +}, +"name": { +"description": "Output only. The connected deployment group's resource name, for example: `projects/123456789/locations/global/mirroringDeploymentGroups/my-dg`. See https://google.aip.dev/124.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"MirroringLocation": { +"description": "Details about mirroring in a specific cloud location.", +"id": "MirroringLocation", +"properties": { +"location": { +"description": "Output only. The cloud location, e.g. \"us-central1-a\" or \"asia-south1\".", +"readOnly": true, +"type": "string" +}, +"state": { +"description": "Output only. The current state of the association in this location.", +"enum": [ +"STATE_UNSPECIFIED", +"ACTIVE", +"OUT_OF_SYNC" +], +"enumDescriptions": [ +"State not set (this is not a valid state).", +"The resource is ready and in sync in the location.", +"The resource is out of sync in the location. In most cases, this is a result of a transient issue within the system (e.g. an inaccessible location) and the system is expected to recover automatically." +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"Operation": { +"description": "This resource represents a long-running operation that is the result of a network API call.", +"id": "Operation", +"properties": { +"done": { +"description": "If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.", +"type": "boolean" +}, +"error": { +"$ref": "Status", +"description": "The error result of the operation in case of failure or cancellation." +}, +"metadata": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.", +"type": "object" +}, +"name": { +"description": "The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.", +"type": "string" +}, +"response": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "The normal, successful response of the operation. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.", +"type": "object" +} +}, +"type": "object" +}, +"OperationMetadata": { +"description": "Represents the metadata of the long-running operation.", +"id": "OperationMetadata", +"properties": { +"apiVersion": { +"description": "Output only. API version used to start the operation.", +"readOnly": true, +"type": "string" +}, +"createTime": { +"description": "Output only. The time the operation was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"endTime": { +"description": "Output only. The time the operation finished running.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"requestedCancellation": { +"description": "Output only. Identifies whether the user has requested cancellation of the operation. Operations that have successfully been cancelled have Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.", +"readOnly": true, +"type": "boolean" +}, +"statusMessage": { +"description": "Output only. Human-readable status of the operation, if any.", +"readOnly": true, +"type": "string" +}, +"target": { +"description": "Output only. Server-defined resource path for the target of the operation.", +"readOnly": true, +"type": "string" +}, +"verb": { +"description": "Output only. Name of the verb executed by the operation.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"RemoveAddressGroupItemsRequest": { +"description": "Request used by the RemoveAddressGroupItems method.", +"id": "RemoveAddressGroupItemsRequest", +"properties": { +"items": { +"description": "Required. List of items to remove.", +"items": { +"type": "string" +}, +"type": "array" +}, +"requestId": { +"description": "Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", +"type": "string" +} +}, +"type": "object" +}, +"Rule": { +"description": "Specification of rules.", +"id": "Rule", +"properties": { +"destinations": { +"description": "Optional. List of attributes for the traffic destination. All of the destinations must match. A destination is a match if a request matches all the specified hosts, ports, methods and headers. If not set, the action specified in the 'action' field will be applied without any rule checks for the destination.", +"items": { +"$ref": "Destination" +}, +"type": "array" +}, +"sources": { +"description": "Optional. List of attributes for the traffic source. All of the sources must match. A source is a match if both principals and ip_blocks match. If not set, the action specified in the 'action' field will be applied without any rule checks for the source.", +"items": { +"$ref": "Source" +}, +"type": "array" +} +}, +"type": "object" +}, +"SecurityProfile": { +"description": "SecurityProfile is a resource that defines the behavior for one of many ProfileTypes.", +"id": "SecurityProfile", +"properties": { +"createTime": { +"description": "Output only. Resource creation timestamp.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"customInterceptProfile": { +"$ref": "CustomInterceptProfile", +"description": "The custom TPPI configuration for the SecurityProfile." +}, +"customMirroringProfile": { +"$ref": "CustomMirroringProfile", +"description": "The custom Packet Mirroring v2 configuration for the SecurityProfile." +}, +"description": { +"description": "Optional. An optional description of the profile. Max length 512 characters.", +"type": "string" +}, +"etag": { +"description": "Output only. This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.", +"readOnly": true, +"type": "string" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. Labels as key value pairs.", +"type": "object" +}, +"name": { +"description": "Immutable. Identifier. Name of the SecurityProfile resource. It matches pattern `projects|organizations/*/locations/{location}/securityProfiles/{security_profile}`.", +"type": "string" +}, +"threatPreventionProfile": { +"$ref": "ThreatPreventionProfile", +"description": "The threat prevention configuration for the SecurityProfile." +}, +"type": { +"description": "Immutable. The single ProfileType that the SecurityProfile resource configures.", +"enum": [ +"PROFILE_TYPE_UNSPECIFIED", +"THREAT_PREVENTION", +"CUSTOM_MIRRORING", +"CUSTOM_INTERCEPT", +"URL_FILTERING" +], +"enumDescriptions": [ +"Profile type not specified.", +"Profile type for threat prevention.", +"Profile type for packet mirroring v2", +"Profile type for TPPI.", +"Profile type for URL filtering." +], +"type": "string" +}, +"updateTime": { +"description": "Output only. Last resource update timestamp.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"urlFilteringProfile": { +"$ref": "UrlFilteringProfile", +"description": "The URL filtering configuration for the SecurityProfile." +} +}, +"type": "object" +}, +"SecurityProfileGroup": { +"description": "SecurityProfileGroup is a resource that defines the behavior for various ProfileTypes.", +"id": "SecurityProfileGroup", +"properties": { +"createTime": { +"description": "Output only. Resource creation timestamp.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"customInterceptProfile": { +"description": "Optional. Reference to a SecurityProfile with the CustomIntercept configuration.", +"type": "string" +}, +"customMirroringProfile": { +"description": "Optional. Reference to a SecurityProfile with the CustomMirroring configuration.", +"type": "string" +}, +"dataPathId": { +"description": "Output only. Identifier used by the data-path. Unique within {container, location}.", +"format": "uint64", +"readOnly": true, +"type": "string" +}, +"description": { +"description": "Optional. An optional description of the profile group. Max length 2048 characters.", +"type": "string" +}, +"etag": { +"description": "Output only. This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.", +"readOnly": true, +"type": "string" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. Labels as key value pairs.", +"type": "object" +}, +"name": { +"description": "Immutable. Identifier. Name of the SecurityProfileGroup resource. It matches pattern `projects|organizations/*/locations/{location}/securityProfileGroups/{security_profile_group}`.", +"type": "string" +}, +"threatPreventionProfile": { +"description": "Optional. Reference to a SecurityProfile with the ThreatPrevention configuration.", +"type": "string" +}, +"updateTime": { +"description": "Output only. Last resource update timestamp.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"urlFilteringProfile": { +"description": "Optional. Reference to a SecurityProfile with the UrlFiltering configuration.", +"type": "string" +} +}, +"type": "object" +}, +"ServerTlsPolicy": { +"description": "ServerTlsPolicy is a resource that specifies how a server should authenticate incoming requests. This resource itself does not affect configuration unless it is attached to a target HTTPS proxy or endpoint config selector resource. ServerTlsPolicy in the form accepted by Application Load Balancers can be attached only to TargetHttpsProxy with an `EXTERNAL`, `EXTERNAL_MANAGED` or `INTERNAL_MANAGED` load balancing scheme. Traffic Director compatible ServerTlsPolicies can be attached to EndpointPolicy and TargetHttpsProxy with Traffic Director `INTERNAL_SELF_MANAGED` load balancing scheme.", +"id": "ServerTlsPolicy", +"properties": { +"allowOpen": { +"description": "This field applies only for Traffic Director policies. It is must be set to false for Application Load Balancer policies. Determines if server allows plaintext connections. If set to true, server allows plain text connections. By default, it is set to false. This setting is not exclusive of other encryption modes. For example, if `allow_open` and `mtls_policy` are set, server allows both plain text and mTLS connections. See documentation of other encryption modes to confirm compatibility. Consider using it if you wish to upgrade in place your deployment to TLS while having mixed TLS and non-TLS traffic reaching port :80.", +"type": "boolean" +}, +"createTime": { +"description": "Output only. The timestamp when the resource was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"description": { +"description": "Free-text description of the resource.", +"type": "string" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Set of label tags associated with the resource.", +"type": "object" +}, +"mtlsPolicy": { +"$ref": "MTLSPolicy", +"description": "This field is required if the policy is used with Application Load Balancers. This field can be empty for Traffic Director. Defines a mechanism to provision peer validation certificates for peer to peer authentication (Mutual TLS - mTLS). If not specified, client certificate will not be requested. The connection is treated as TLS and not mTLS. If `allow_open` and `mtls_policy` are set, server allows both plain text and mTLS connections." +}, +"name": { +"description": "Required. Name of the ServerTlsPolicy resource. It matches the pattern `projects/*/locations/{location}/serverTlsPolicies/{server_tls_policy}`", +"type": "string" +}, +"serverCertificate": { +"$ref": "GoogleCloudNetworksecurityV1CertificateProvider", +"description": "Optional if policy is to be used with Traffic Director. For Application Load Balancers must be empty. Defines a mechanism to provision server identity (public and private keys). Cannot be combined with `allow_open` as a permissive mode that allows both plain text and TLS is not supported." +}, +"updateTime": { +"description": "Output only. The timestamp when the resource was updated.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"SeverityOverride": { +"description": "Defines what action to take for a specific severity match.", +"id": "SeverityOverride", +"properties": { +"action": { +"description": "Required. Threat action override.", +"enum": [ +"THREAT_ACTION_UNSPECIFIED", +"DEFAULT_ACTION", +"ALLOW", +"ALERT", +"DENY" +], +"enumDescriptions": [ +"Threat action not specified.", +"The default action (as specified by the vendor) is taken.", +"The packet matching this rule will be allowed to transmit.", +"The packet matching this rule will be allowed to transmit, but a threat_log entry will be sent to the consumer project.", +"The packet matching this rule will be dropped, and a threat_log entry will be sent to the consumer project." +], +"type": "string" +}, +"severity": { +"description": "Required. Severity level to match.", +"enum": [ +"SEVERITY_UNSPECIFIED", +"INFORMATIONAL", +"LOW", +"MEDIUM", +"HIGH", +"CRITICAL" +], +"enumDescriptions": [ +"Severity level not specified.", +"Suspicious events that do not pose an immediate threat, but that are reported to call attention to deeper problems that could possibly exist.", +"Warning-level threats that have very little impact on an organization's infrastructure. They usually require local or physical system access and may often result in victim privacy issues and information leakage.", +"Minor threats in which impact is minimized, that do not compromise the target or exploits that require an attacker to reside on the same local network as the victim, affect only non-standard configurations or obscure applications, or provide very limited access.", +"Threats that have the ability to become critical but have mitigating factors; for example, they may be difficult to exploit, do not result in elevated privileges, or do not have a large victim pool.", +"Serious threats, such as those that affect default installations of widely deployed software, result in root compromise of servers, and the exploit code is widely available to attackers. The attacker usually does not need any special authentication credentials or knowledge about the individual victims and the target does not need to be manipulated into performing any special functions." +], +"type": "string" +} +}, +"type": "object" +}, +"Source": { +"description": "Specification of traffic source attributes.", +"id": "Source", +"properties": { +"ipBlocks": { +"description": "Optional. List of CIDR ranges to match based on source IP address. At least one IP block should match. Single IP (e.g., \"1.2.3.4\") and CIDR (e.g., \"1.2.3.0/24\") are supported. Authorization based on source IP alone should be avoided. The IP addresses of any load balancers or proxies should be considered untrusted.", +"items": { +"type": "string" +}, +"type": "array" +}, +"principals": { +"description": "Optional. List of peer identities to match for authorization. At least one principal should match. Each peer can be an exact match, or a prefix match (example, \"namespace/*\") or a suffix match (example, \"*/service-account\") or a presence match \"*\". Authorization based on the principal name without certificate validation (configured by ServerTlsPolicy resource) is considered insecure.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"Status": { +"description": "The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors).", +"id": "Status", +"properties": { +"code": { +"description": "The status code, which should be an enum value of google.rpc.Code.", +"format": "int32", +"type": "integer" +}, +"details": { +"description": "A list of messages that carry the error details. There is a common set of message types for APIs to use.", +"items": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.", +"type": "string" +} +}, +"type": "object" +}, +"ThreatOverride": { +"description": "Defines what action to take for a specific threat_id match.", +"id": "ThreatOverride", +"properties": { +"action": { +"description": "Required. Threat action override. For some threat types, only a subset of actions applies.", +"enum": [ +"THREAT_ACTION_UNSPECIFIED", +"DEFAULT_ACTION", +"ALLOW", +"ALERT", +"DENY" +], +"enumDescriptions": [ +"Threat action not specified.", +"The default action (as specified by the vendor) is taken.", +"The packet matching this rule will be allowed to transmit.", +"The packet matching this rule will be allowed to transmit, but a threat_log entry will be sent to the consumer project.", +"The packet matching this rule will be dropped, and a threat_log entry will be sent to the consumer project." +], +"type": "string" +}, +"threatId": { +"description": "Required. Vendor-specific ID of a threat to override.", +"type": "string" +}, +"type": { +"description": "Output only. Type of the threat (read only).", +"enum": [ +"THREAT_TYPE_UNSPECIFIED", +"UNKNOWN", +"VULNERABILITY", +"ANTIVIRUS", +"SPYWARE", +"DNS" +], +"enumDescriptions": [ +"Type of threat not specified.", +"Type of threat is not derivable from threat ID. An override will be created for all types. Firewall will ignore overridden signature ID's that don't exist in the specific type.", +"Threats related to system flaws that an attacker might otherwise attempt to exploit.", +"Threats related to viruses and malware found in executables and file types.", +"Threats related to command-and-control (C2) activity, where spyware on an infected client is collecting data without the user's consent and/or communicating with a remote attacker.", +"Threats related to DNS." +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"ThreatPreventionProfile": { +"description": "ThreatPreventionProfile defines an action for specific threat signatures or severity levels.", +"id": "ThreatPreventionProfile", +"properties": { +"antivirusOverrides": { +"description": "Optional. Configuration for overriding antivirus actions per protocol.", +"items": { +"$ref": "AntivirusOverride" +}, +"type": "array" +}, +"severityOverrides": { +"description": "Optional. Configuration for overriding threats actions by severity match.", +"items": { +"$ref": "SeverityOverride" +}, +"type": "array" +}, +"threatOverrides": { +"description": "Optional. Configuration for overriding threats actions by threat_id match. If a threat is matched both by configuration provided in severity_overrides and threat_overrides, the threat_overrides action is applied.", +"items": { +"$ref": "ThreatOverride" +}, +"type": "array" +} +}, +"type": "object" +}, +"TlsInspectionPolicy": { +"description": "The TlsInspectionPolicy resource contains references to CA pools in Certificate Authority Service and associated metadata.", +"id": "TlsInspectionPolicy", +"properties": { +"caPool": { +"description": "Required. A CA pool resource used to issue interception certificates. The CA pool string has a relative resource path following the form \"projects/{project}/locations/{location}/caPools/{ca_pool}\".", +"type": "string" +}, +"createTime": { +"description": "Output only. The timestamp when the resource was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"customTlsFeatures": { +"description": "Optional. List of custom TLS cipher suites selected. This field is valid only if the selected tls_feature_profile is CUSTOM. The compute.SslPoliciesService.ListAvailableFeatures method returns the set of features that can be specified in this list. Note that Secure Web Proxy does not yet honor this field.", +"items": { +"type": "string" +}, +"type": "array" +}, +"description": { +"description": "Optional. Free-text description of the resource.", +"type": "string" +}, +"excludePublicCaSet": { +"description": "Optional. If FALSE (the default), use our default set of public CAs in addition to any CAs specified in trust_config. These public CAs are currently based on the Mozilla Root Program and are subject to change over time. If TRUE, do not accept our default set of public CAs. Only CAs specified in trust_config will be accepted. This defaults to FALSE (use public CAs in addition to trust_config) for backwards compatibility, but trusting public root CAs is *not recommended* unless the traffic in question is outbound to public web servers. When possible, prefer setting this to \"false\" and explicitly specifying trusted CAs and certificates in a TrustConfig. Note that Secure Web Proxy does not yet honor this field.", +"type": "boolean" +}, +"minTlsVersion": { +"description": "Optional. Minimum TLS version that the firewall should use when negotiating connections with both clients and servers. If this is not set, then the default value is to allow the broadest set of clients and servers (TLS 1.0 or higher). Setting this to more restrictive values may improve security, but may also prevent the firewall from connecting to some clients or servers. Note that Secure Web Proxy does not yet honor this field.", +"enum": [ +"TLS_VERSION_UNSPECIFIED", +"TLS_1_0", +"TLS_1_1", +"TLS_1_2", +"TLS_1_3" +], +"enumDescriptions": [ +"Indicates no TLS version was specified.", +"TLS 1.0", +"TLS 1.1", +"TLS 1.2", +"TLS 1.3" +], +"type": "string" +}, +"name": { +"description": "Required. Name of the resource. Name is of the form projects/{project}/locations/{location}/tlsInspectionPolicies/{tls_inspection_policy} tls_inspection_policy should match the pattern:(^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$).", +"type": "string" +}, +"tlsFeatureProfile": { +"description": "Optional. The selected Profile. If this is not set, then the default value is to allow the broadest set of clients and servers (\"PROFILE_COMPATIBLE\"). Setting this to more restrictive values may improve security, but may also prevent the TLS inspection proxy from connecting to some clients or servers. Note that Secure Web Proxy does not yet honor this field.", +"enum": [ +"PROFILE_UNSPECIFIED", +"PROFILE_COMPATIBLE", +"PROFILE_MODERN", +"PROFILE_RESTRICTED", +"PROFILE_CUSTOM" +], +"enumDescriptions": [ +"Indicates no profile was specified.", +"Compatible profile. Allows the broadest set of clients, even those which support only out-of-date SSL features to negotiate with the TLS inspection proxy.", +"Modern profile. Supports a wide set of SSL features, allowing modern clients to negotiate SSL with the TLS inspection proxy.", +"Restricted profile. Supports a reduced set of SSL features, intended to meet stricter compliance requirements.", +"Custom profile. Allow only the set of allowed SSL features specified in the custom_features field of SslPolicy." +], +"type": "string" +}, +"trustConfig": { +"description": "Optional. A TrustConfig resource used when making a connection to the TLS server. This is a relative resource path following the form \"projects/{project}/locations/{location}/trustConfigs/{trust_config}\". This is necessary to intercept TLS connections to servers with certificates signed by a private CA or self-signed certificates. Note that Secure Web Proxy does not yet honor this field.", +"type": "string" +}, +"updateTime": { +"description": "Output only. The timestamp when the resource was updated.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"UrlFilter": { +"description": "A URL filter defines an action to take for some URL match.", +"id": "UrlFilter", +"properties": { +"filteringAction": { +"description": "Required. The action taken when this filter is applied.", +"enum": [ +"URL_FILTERING_ACTION_UNSPECIFIED", +"ALLOW", +"DENY" +], +"enumDescriptions": [ +"Filtering action not specified.", +"The connection matching this filter will be allowed to transmit.", +"The connection matching this filter will be dropped." +], +"type": "string" +}, +"priority": { +"description": "Required. The priority of this filter within the URL Filtering Profile. Lower integers indicate higher priorities. The priority of a filter must be unique within a URL Filtering Profile.", +"format": "int32", +"type": "integer" +}, +"urls": { +"description": "Required. The list of strings that a URL must match with for this filter to be applied.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"UrlFilteringProfile": { +"description": "UrlFilteringProfile defines filters based on URL.", +"id": "UrlFilteringProfile", +"properties": { +"urlFilters": { +"description": "Optional. The list of filtering configs in which each config defines an action to take for some URL match.", +"items": { +"$ref": "UrlFilter" +}, +"type": "array" +} +}, +"type": "object" +}, +"UrlList": { +"description": "UrlList proto helps users to set reusable, independently manageable lists of hosts, host patterns, URLs, URL patterns.", +"id": "UrlList", +"properties": { +"createTime": { +"description": "Output only. Time when the security policy was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"description": { +"description": "Optional. Free-text description of the resource.", +"type": "string" +}, +"name": { +"description": "Required. Name of the resource provided by the user. Name is of the form projects/{project}/locations/{location}/urlLists/{url_list} url_list should match the pattern:(^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$).", +"type": "string" +}, +"updateTime": { +"description": "Output only. Time when the security policy was updated.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"values": { +"description": "Required. FQDNs and URLs.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ValidationCA": { +"description": "Specification of ValidationCA. Defines the mechanism to obtain the Certificate Authority certificate to validate the peer certificate.", +"id": "ValidationCA", +"properties": { +"certificateProviderInstance": { +"$ref": "CertificateProviderInstance", +"description": "The certificate provider instance specification that will be passed to the data plane, which will be used to load necessary credential information." +}, +"grpcEndpoint": { +"$ref": "GoogleCloudNetworksecurityV1GrpcEndpoint", +"description": "gRPC specific configuration to access the gRPC server to obtain the CA certificate." +} +}, +"type": "object" +} +}, +"servicePath": "", +"title": "Network Security API", +"version": "v1", +"version_module": true +} \ No newline at end of file diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/notebooks.v2.json b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/notebooks.v2.json new file mode 100644 index 0000000000000000000000000000000000000000..49f9a586dba99e431c97921b99087164e892e7f4 --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/notebooks.v2.json @@ -0,0 +1,2334 @@ +{ +"auth": { +"oauth2": { +"scopes": { +"https://www.googleapis.com/auth/cloud-platform": { +"description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." +} +} +} +}, +"basePath": "", +"baseUrl": "https://notebooks.googleapis.com/", +"batchPath": "batch", +"canonicalName": "AI Platform Notebooks", +"description": "Notebooks API is used to manage notebook resources in Google Cloud.", +"discoveryVersion": "v1", +"documentationLink": "https://cloud.google.com/notebooks/docs/", +"fullyEncodeReservedExpansion": true, +"icons": { +"x16": "http://www.google.com/images/icons/product/search-16.gif", +"x32": "http://www.google.com/images/icons/product/search-32.gif" +}, +"id": "notebooks:v2", +"kind": "discovery#restDescription", +"mtlsRootUrl": "https://notebooks.mtls.googleapis.com/", +"name": "notebooks", +"ownerDomain": "google.com", +"ownerName": "Google", +"parameters": { +"$.xgafv": { +"description": "V1 error format.", +"enum": [ +"1", +"2" +], +"enumDescriptions": [ +"v1 error format", +"v2 error format" +], +"location": "query", +"type": "string" +}, +"access_token": { +"description": "OAuth access token.", +"location": "query", +"type": "string" +}, +"alt": { +"default": "json", +"description": "Data format for response.", +"enum": [ +"json", +"media", +"proto" +], +"enumDescriptions": [ +"Responses with Content-Type of application/json", +"Media download with context-dependent Content-Type", +"Responses with Content-Type of application/x-protobuf" +], +"location": "query", +"type": "string" +}, +"callback": { +"description": "JSONP", +"location": "query", +"type": "string" +}, +"fields": { +"description": "Selector specifying which fields to include in a partial response.", +"location": "query", +"type": "string" +}, +"key": { +"description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", +"location": "query", +"type": "string" +}, +"oauth_token": { +"description": "OAuth 2.0 token for the current user.", +"location": "query", +"type": "string" +}, +"prettyPrint": { +"default": "true", +"description": "Returns response with indentations and line breaks.", +"location": "query", +"type": "boolean" +}, +"quotaUser": { +"description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.", +"location": "query", +"type": "string" +}, +"uploadType": { +"description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", +"location": "query", +"type": "string" +}, +"upload_protocol": { +"description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", +"location": "query", +"type": "string" +} +}, +"protocol": "rest", +"resources": { +"projects": { +"resources": { +"locations": { +"methods": { +"get": { +"description": "Gets information about a location.", +"flatPath": "v2/projects/{projectsId}/locations/{locationsId}", +"httpMethod": "GET", +"id": "notebooks.projects.locations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Resource name for the location.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+name}", +"response": { +"$ref": "Location" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists information about the supported locations for this service. This method can be called in two ways: * **List all public locations:** Use the path `GET /v1/locations`. * **List project-visible locations:** Use the path `GET /v1/projects/{project_id}/locations`. This may include public locations as well as private or other locations specifically visible to the project.", +"flatPath": "v2/projects/{projectsId}/locations", +"httpMethod": "GET", +"id": "notebooks.projects.locations.list", +"parameterOrder": [ +"name" +], +"parameters": { +"extraLocationTypes": { +"description": "Optional. Do not use this field. It is unsupported and is ignored unless explicitly documented otherwise. This is primarily for internal usage.", +"location": "query", +"repeated": true, +"type": "string" +}, +"filter": { +"description": "A filter to narrow down results to a preferred subset. The filtering language accepts strings like `\"displayName=tokyo\"`, and is documented in more detail in [AIP-160](https://google.aip.dev/160).", +"location": "query", +"type": "string" +}, +"name": { +"description": "The resource that owns the locations collection, if applicable.", +"location": "path", +"pattern": "^projects/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The maximum number of results to return. If not set, the service selects a default.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A page token received from the `next_page_token` field in the response. Send that page token to receive the subsequent page.", +"location": "query", +"type": "string" +} +}, +"path": "v2/{+name}/locations", +"response": { +"$ref": "ListLocationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"instances": { +"methods": { +"checkAuthorization": { +"description": "Initiated by Cloud Console for Oauth consent flow for Workbench Instances. Do not use this method directly. Design doc: go/wbi-euc:auth-dd", +"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/instances/{instancesId}:checkAuthorization", +"httpMethod": "POST", +"id": "notebooks.projects.locations.instances.checkAuthorization", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the Notebook Instance resource. Format: `projects/{project}/locations/{location}/instances/{instance}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/instances/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+name}:checkAuthorization", +"request": { +"$ref": "CheckAuthorizationRequest" +}, +"response": { +"$ref": "CheckAuthorizationResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"checkUpgradability": { +"description": "Checks whether a notebook instance is upgradable.", +"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/instances/{instancesId}:checkUpgradability", +"httpMethod": "GET", +"id": "notebooks.projects.locations.instances.checkUpgradability", +"parameterOrder": [ +"notebookInstance" +], +"parameters": { +"notebookInstance": { +"description": "Required. Format: `projects/{project_id}/locations/{location}/instances/{instance_id}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/instances/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+notebookInstance}:checkUpgradability", +"response": { +"$ref": "CheckInstanceUpgradabilityResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"create": { +"description": "Creates a new Instance in a given project and location.", +"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/instances", +"httpMethod": "POST", +"id": "notebooks.projects.locations.instances.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"instanceId": { +"description": "Required. User-defined unique ID of this instance.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. Format: `parent=projects/{project_id}/locations/{location}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "Optional. Idempotent request UUID.", +"location": "query", +"type": "string" +} +}, +"path": "v2/{+parent}/instances", +"request": { +"$ref": "Instance" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a single Instance.", +"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/instances/{instancesId}", +"httpMethod": "DELETE", +"id": "notebooks.projects.locations.instances.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Format: `projects/{project_id}/locations/{location}/instances/{instance_id}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/instances/[^/]+$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "Optional. Idempotent request UUID.", +"location": "query", +"type": "string" +} +}, +"path": "v2/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"diagnose": { +"description": "Creates a Diagnostic File and runs Diagnostic Tool given an Instance.", +"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/instances/{instancesId}:diagnose", +"httpMethod": "POST", +"id": "notebooks.projects.locations.instances.diagnose", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Format: `projects/{project_id}/locations/{location}/instances/{instance_id}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/instances/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+name}:diagnose", +"request": { +"$ref": "DiagnoseInstanceRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"generateAccessToken": { +"description": "Called by VM to return an EUC for the instance owner. Do not use this method directly. Design doc: go/wbi-euc:dd", +"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/instances/{instancesId}:generateAccessToken", +"httpMethod": "POST", +"id": "notebooks.projects.locations.instances.generateAccessToken", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Format: `projects/{project}/locations/{location}/instances/{instance_id}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/instances/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+name}:generateAccessToken", +"request": { +"$ref": "GenerateAccessTokenRequest" +}, +"response": { +"$ref": "GenerateAccessTokenResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets details of a single Instance.", +"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/instances/{instancesId}", +"httpMethod": "GET", +"id": "notebooks.projects.locations.instances.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Format: `projects/{project_id}/locations/{location}/instances/{instance_id}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/instances/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+name}", +"response": { +"$ref": "Instance" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"getConfig": { +"description": "Returns various configuration parameters.", +"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/instances:getConfig", +"httpMethod": "GET", +"id": "notebooks.projects.locations.instances.getConfig", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Format: `projects/{project_id}/locations/{location}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+name}/instances:getConfig", +"response": { +"$ref": "Config" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"getIamPolicy": { +"description": "Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.", +"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/instances/{instancesId}:getIamPolicy", +"httpMethod": "GET", +"id": "notebooks.projects.locations.instances.getIamPolicy", +"parameterOrder": [ +"resource" +], +"parameters": { +"options.requestedPolicyVersion": { +"description": "Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).", +"format": "int32", +"location": "query", +"type": "integer" +}, +"resource": { +"description": "REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/instances/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+resource}:getIamPolicy", +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists instances in a given project and location.", +"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/instances", +"httpMethod": "GET", +"id": "notebooks.projects.locations.instances.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Optional. List filter.", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "Optional. Sort results. Supported values are \"name\", \"name desc\" or \"\" (unsorted).", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Optional. Maximum return size of the list call.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. A previous returned page token that can be used to continue listing from the last result.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent of the instance. Formats: - `projects/{project_id}/locations/{location}` to list instances in a specific zone. - `projects/{project_id}/locations/-` to list instances in all locations.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+parent}/instances", +"response": { +"$ref": "ListInstancesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "UpdateInstance updates an Instance.", +"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/instances/{instancesId}", +"httpMethod": "PATCH", +"id": "notebooks.projects.locations.instances.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Output only. Identifier. The name of this notebook instance. Format: `projects/{project_id}/locations/{location}/instances/{instance_id}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/instances/[^/]+$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "Optional. Idempotent request UUID.", +"location": "query", +"type": "string" +}, +"updateMask": { +"description": "Required. Mask used to update an instance. Updatable fields: * `labels` * `gce_setup.min_cpu_platform` * `gce_setup.metadata` * `gce_setup.machine_type` * `gce_setup.accelerator_configs` * `gce_setup.accelerator_configs.type` * `gce_setup.accelerator_configs.core_count` * `gce_setup.gpu_driver_config` * `gce_setup.gpu_driver_config.enable_gpu_driver` * `gce_setup.gpu_driver_config.custom_gpu_driver_path` * `gce_setup.shielded_instance_config` * `gce_setup.shielded_instance_config.enable_secure_boot` * `gce_setup.shielded_instance_config.enable_vtpm` * `gce_setup.shielded_instance_config.enable_integrity_monitoring` * `gce_setup.reservation_affinity` * `gce_setup.reservation_affinity.consume_reservation_type` * `gce_setup.reservation_affinity.key` * `gce_setup.reservation_affinity.values` * `gce_setup.tags` * `gce_setup.container_image` * `gce_setup.container_image.repository` * `gce_setup.container_image.tag` * `gce_setup.disable_public_ip` * `disable_proxy_access`", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v2/{+name}", +"request": { +"$ref": "Instance" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"reportInfoSystem": { +"description": "Allows notebook instances to report their latest instance information to the Notebooks API server. The server will merge the reported information to the instance metadata store. Do not use this method directly.", +"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/instances/{instancesId}:reportInfoSystem", +"httpMethod": "POST", +"id": "notebooks.projects.locations.instances.reportInfoSystem", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Format: `projects/{project_id}/locations/{location}/instances/{instance_id}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/instances/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+name}:reportInfoSystem", +"request": { +"$ref": "ReportInstanceInfoSystemRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"reset": { +"description": "Resets a notebook instance.", +"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/instances/{instancesId}:reset", +"httpMethod": "POST", +"id": "notebooks.projects.locations.instances.reset", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Format: `projects/{project_id}/locations/{location}/instances/{instance_id}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/instances/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+name}:reset", +"request": { +"$ref": "ResetInstanceRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"resizeDisk": { +"description": "Resize a notebook instance disk to a higher capacity.", +"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/instances/{instancesId}:resizeDisk", +"httpMethod": "POST", +"id": "notebooks.projects.locations.instances.resizeDisk", +"parameterOrder": [ +"notebookInstance" +], +"parameters": { +"notebookInstance": { +"description": "Required. Format: `projects/{project_id}/locations/{location}/instances/{instance_id}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/instances/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+notebookInstance}:resizeDisk", +"request": { +"$ref": "ResizeDiskRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"restore": { +"description": "RestoreInstance restores an Instance from a BackupSource.", +"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/instances/{instancesId}:restore", +"httpMethod": "POST", +"id": "notebooks.projects.locations.instances.restore", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Format: `projects/{project_id}/locations/{location}/instances/{instance_id}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/instances/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+name}:restore", +"request": { +"$ref": "RestoreInstanceRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"rollback": { +"description": "Rollbacks a notebook instance to the previous version.", +"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/instances/{instancesId}:rollback", +"httpMethod": "POST", +"id": "notebooks.projects.locations.instances.rollback", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Format: `projects/{project_id}/locations/{location}/instances/{instance_id}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/instances/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+name}:rollback", +"request": { +"$ref": "RollbackInstanceRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"setIamPolicy": { +"description": "Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.", +"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/instances/{instancesId}:setIamPolicy", +"httpMethod": "POST", +"id": "notebooks.projects.locations.instances.setIamPolicy", +"parameterOrder": [ +"resource" +], +"parameters": { +"resource": { +"description": "REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/instances/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+resource}:setIamPolicy", +"request": { +"$ref": "SetIamPolicyRequest" +}, +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"start": { +"description": "Starts a notebook instance.", +"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/instances/{instancesId}:start", +"httpMethod": "POST", +"id": "notebooks.projects.locations.instances.start", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Format: `projects/{project_id}/locations/{location}/instances/{instance_id}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/instances/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+name}:start", +"request": { +"$ref": "StartInstanceRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"stop": { +"description": "Stops a notebook instance.", +"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/instances/{instancesId}:stop", +"httpMethod": "POST", +"id": "notebooks.projects.locations.instances.stop", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Format: `projects/{project_id}/locations/{location}/instances/{instance_id}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/instances/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+name}:stop", +"request": { +"$ref": "StopInstanceRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"testIamPermissions": { +"description": "Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may \"fail open\" without warning.", +"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/instances/{instancesId}:testIamPermissions", +"httpMethod": "POST", +"id": "notebooks.projects.locations.instances.testIamPermissions", +"parameterOrder": [ +"resource" +], +"parameters": { +"resource": { +"description": "REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/instances/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+resource}:testIamPermissions", +"request": { +"$ref": "TestIamPermissionsRequest" +}, +"response": { +"$ref": "TestIamPermissionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"upgrade": { +"description": "Upgrades a notebook instance to the latest version.", +"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/instances/{instancesId}:upgrade", +"httpMethod": "POST", +"id": "notebooks.projects.locations.instances.upgrade", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Format: `projects/{project_id}/locations/{location}/instances/{instance_id}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/instances/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+name}:upgrade", +"request": { +"$ref": "UpgradeInstanceRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"upgradeSystem": { +"description": "Allows notebook instances to upgrade themselves. Do not use this method directly.", +"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/instances/{instancesId}:upgradeSystem", +"httpMethod": "POST", +"id": "notebooks.projects.locations.instances.upgradeSystem", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Format: `projects/{project_id}/locations/{location}/instances/{instance_id}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/instances/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+name}:upgradeSystem", +"request": { +"$ref": "UpgradeInstanceSystemRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"operations": { +"methods": { +"cancel": { +"description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.", +"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}:cancel", +"httpMethod": "POST", +"id": "notebooks.projects.locations.operations.cancel", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be cancelled.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+name}:cancel", +"request": { +"$ref": "CancelOperationRequest" +}, +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.", +"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}", +"httpMethod": "DELETE", +"id": "notebooks.projects.locations.operations.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be deleted.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+name}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", +"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}", +"httpMethod": "GET", +"id": "notebooks.projects.locations.operations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.", +"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/operations", +"httpMethod": "GET", +"id": "notebooks.projects.locations.operations.list", +"parameterOrder": [ +"name" +], +"parameters": { +"filter": { +"description": "The standard list filter.", +"location": "query", +"type": "string" +}, +"name": { +"description": "The name of the operation's parent resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The standard list page size.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The standard list page token.", +"location": "query", +"type": "string" +}, +"returnPartialSuccess": { +"description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `\"projects/example/locations/-\"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", +"location": "query", +"type": "boolean" +} +}, +"path": "v2/{+name}/operations", +"response": { +"$ref": "ListOperationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +} +} +} +}, +"revision": "20260130", +"rootUrl": "https://notebooks.googleapis.com/", +"schemas": { +"AcceleratorConfig": { +"description": "An accelerator configuration for a VM instance Definition of a hardware accelerator. Note that there is no check on `type` and `core_count` combinations. TPUs are not supported. See [GPUs on Compute Engine](https://cloud.google.com/compute/docs/gpus/#gpus-list) to find a valid combination.", +"id": "AcceleratorConfig", +"properties": { +"coreCount": { +"description": "Optional. Count of cores of this accelerator.", +"format": "int64", +"type": "string" +}, +"type": { +"description": "Optional. Type of this accelerator.", +"enum": [ +"ACCELERATOR_TYPE_UNSPECIFIED", +"NVIDIA_TESLA_P100", +"NVIDIA_TESLA_V100", +"NVIDIA_TESLA_P4", +"NVIDIA_TESLA_T4", +"NVIDIA_TESLA_A100", +"NVIDIA_A100_80GB", +"NVIDIA_L4", +"NVIDIA_H100_80GB", +"NVIDIA_H100_MEGA_80GB", +"NVIDIA_H200_141GB", +"NVIDIA_TESLA_T4_VWS", +"NVIDIA_TESLA_P100_VWS", +"NVIDIA_TESLA_P4_VWS", +"NVIDIA_B200" +], +"enumDescriptions": [ +"Accelerator type is not specified.", +"Accelerator type is Nvidia Tesla P100.", +"Accelerator type is Nvidia Tesla V100.", +"Accelerator type is Nvidia Tesla P4.", +"Accelerator type is Nvidia Tesla T4.", +"Accelerator type is Nvidia Tesla A100 - 40GB.", +"Accelerator type is Nvidia Tesla A100 - 80GB.", +"Accelerator type is Nvidia Tesla L4.", +"Accelerator type is Nvidia Tesla H100 - 80GB.", +"Accelerator type is Nvidia Tesla H100 - MEGA 80GB.", +"Accelerator type is Nvidia Tesla H200 - 141GB.", +"Accelerator type is NVIDIA Tesla T4 Virtual Workstations.", +"Accelerator type is NVIDIA Tesla P100 Virtual Workstations.", +"Accelerator type is NVIDIA Tesla P4 Virtual Workstations.", +"Accelerator type is NVIDIA B200." +], +"type": "string" +} +}, +"type": "object" +}, +"AccessConfig": { +"description": "An access configuration attached to an instance's network interface.", +"id": "AccessConfig", +"properties": { +"externalIp": { +"description": "An external IP address associated with this instance. Specify an unused static external IP address available to the project or leave this field undefined to use an IP from a shared ephemeral IP address pool. If you specify a static external IP address, it must live in the same region as the zone of the instance.", +"type": "string" +} +}, +"type": "object" +}, +"Binding": { +"description": "Associates `members`, or principals, with a `role`.", +"id": "Binding", +"properties": { +"condition": { +"$ref": "Expr", +"description": "The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies)." +}, +"members": { +"description": "Specifies the principals requesting access for a Google Cloud resource. `members` can have the following values: * `allUsers`: A special identifier that represents anyone who is on the internet; with or without a Google account. * `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service account. Does not include identities that come from external identity providers (IdPs) through identity federation. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `group:{emailid}`: An email address that represents a Google group. For example, `admins@example.com`. * `domain:{domain}`: The G Suite domain (primary) that represents all the users of that domain. For example, `google.com` or `example.com`. * `principal://iam.googleapis.com/locations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}`: A single identity in a workforce identity pool. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/group/{group_id}`: All workforce identities in a group. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/attribute.{attribute_name}/{attribute_value}`: All workforce identities with a specific attribute value. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/*`: All identities in a workforce identity pool. * `principal://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/subject/{subject_attribute_value}`: A single identity in a workload identity pool. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/group/{group_id}`: A workload identity pool group. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/attribute.{attribute_name}/{attribute_value}`: All identities in a workload identity pool with a certain attribute. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/*`: All identities in a workload identity pool. * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a user that has been recently deleted. For example, `alice@example.com?uid=123456789012345678901`. If the user is recovered, this value reverts to `user:{emailid}` and the recovered user retains the role in the binding. * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a service account that has been recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the service account is undeleted, this value reverts to `serviceAccount:{emailid}` and the undeleted service account retains the role in the binding. * `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a Google group that has been recently deleted. For example, `admins@example.com?uid=123456789012345678901`. If the group is recovered, this value reverts to `group:{emailid}` and the recovered group retains the role in the binding. * `deleted:principal://iam.googleapis.com/locations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}`: Deleted single identity in a workforce identity pool. For example, `deleted:principal://iam.googleapis.com/locations/global/workforcePools/my-pool-id/subject/my-subject-attribute-value`.", +"items": { +"type": "string" +}, +"type": "array" +}, +"role": { +"description": "Role that is assigned to the list of `members`, or principals. For example, `roles/viewer`, `roles/editor`, or `roles/owner`. For an overview of the IAM roles and permissions, see the [IAM documentation](https://cloud.google.com/iam/docs/roles-overview). For a list of the available pre-defined roles, see [here](https://cloud.google.com/iam/docs/understanding-roles).", +"type": "string" +} +}, +"type": "object" +}, +"BootDisk": { +"description": "The definition of a boot disk.", +"id": "BootDisk", +"properties": { +"diskEncryption": { +"description": "Optional. Input only. Disk encryption method used on the boot and data disks, defaults to GMEK.", +"enum": [ +"DISK_ENCRYPTION_UNSPECIFIED", +"GMEK", +"CMEK" +], +"enumDescriptions": [ +"Disk encryption is not specified.", +"Use Google managed encryption keys to encrypt the boot disk.", +"Use customer managed encryption keys to encrypt the boot disk." +], +"type": "string" +}, +"diskSizeGb": { +"description": "Optional. The size of the boot disk in GB attached to this instance, up to a maximum of 64000 GB (64 TB). If not specified, this defaults to the recommended value of 150GB.", +"format": "int64", +"type": "string" +}, +"diskType": { +"description": "Optional. Indicates the type of the disk.", +"enum": [ +"DISK_TYPE_UNSPECIFIED", +"PD_STANDARD", +"PD_SSD", +"PD_BALANCED", +"PD_EXTREME", +"HYPERDISK_BALANCED" +], +"enumDescriptions": [ +"Disk type not set.", +"Standard persistent disk type.", +"SSD persistent disk type.", +"Balanced persistent disk type.", +"Extreme persistent disk type.", +"Hyperdisk Balanced persistent disk type." +], +"type": "string" +}, +"kmsKey": { +"description": "Optional. Input only. The KMS key used to encrypt the disks, only applicable if disk_encryption is CMEK. Format: `projects/{project_id}/locations/{location}/keyRings/{key_ring_id}/cryptoKeys/{key_id}` Learn more about using your own encryption keys.", +"type": "string" +} +}, +"type": "object" +}, +"CancelOperationRequest": { +"description": "The request message for Operations.CancelOperation.", +"id": "CancelOperationRequest", +"properties": {}, +"type": "object" +}, +"CheckAuthorizationRequest": { +"description": "Request message for checking authorization for the instance owner.", +"id": "CheckAuthorizationRequest", +"properties": { +"authorizationDetails": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. The details of the OAuth authorization response. This may include additional params such as dry_run, version_info, origin, propagate, etc.", +"type": "object" +} +}, +"type": "object" +}, +"CheckAuthorizationResponse": { +"description": "Response message for checking authorization for the instance owner.", +"id": "CheckAuthorizationResponse", +"properties": { +"createTime": { +"description": "Output only. Timestamp when this Authorization request was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"oauth_uri": { +"description": "If the user has not completed OAuth consent, then the oauth_url is returned. Otherwise, this field is not set.", +"type": "string" +}, +"success": { +"description": "Success indicates that the user completed OAuth consent and access tokens can be generated.", +"type": "boolean" +} +}, +"type": "object" +}, +"CheckInstanceUpgradabilityResponse": { +"description": "Response for checking if a notebook instance is upgradeable.", +"id": "CheckInstanceUpgradabilityResponse", +"properties": { +"upgradeImage": { +"description": "The new image self link this instance will be upgraded to if calling the upgrade endpoint. This field will only be populated if field upgradeable is true.", +"type": "string" +}, +"upgradeInfo": { +"description": "Additional information about upgrade.", +"type": "string" +}, +"upgradeVersion": { +"description": "The version this instance will be upgraded to if calling the upgrade endpoint. This field will only be populated if field upgradeable is true.", +"type": "string" +}, +"upgradeable": { +"description": "If an instance is upgradeable.", +"type": "boolean" +} +}, +"type": "object" +}, +"ConfidentialInstanceConfig": { +"description": "A set of Confidential Instance options.", +"id": "ConfidentialInstanceConfig", +"properties": { +"confidentialInstanceType": { +"description": "Optional. Defines the type of technology used by the confidential instance.", +"enum": [ +"CONFIDENTIAL_INSTANCE_TYPE_UNSPECIFIED", +"SEV" +], +"enumDescriptions": [ +"No type specified. Do not use this value.", +"AMD Secure Encrypted Virtualization." +], +"type": "string" +} +}, +"type": "object" +}, +"Config": { +"description": "Response for getting WbI configurations in a location", +"id": "Config", +"properties": { +"availableImages": { +"description": "Output only. The list of available images to create a WbI.", +"items": { +"$ref": "ImageRelease" +}, +"readOnly": true, +"type": "array" +}, +"defaultValues": { +"$ref": "DefaultValues", +"description": "Output only. The default values for configuration.", +"readOnly": true +}, +"disableWorkbenchLegacyCreation": { +"description": "Output only. Flag to disable the creation of legacy Workbench notebooks (User-managed notebooks and Google-managed notebooks).", +"readOnly": true, +"type": "boolean" +}, +"supportedValues": { +"$ref": "SupportedValues", +"description": "Output only. The supported values for configuration.", +"readOnly": true +} +}, +"type": "object" +}, +"ContainerImage": { +"description": "Definition of a container image for starting a notebook instance with the environment installed in a container.", +"id": "ContainerImage", +"properties": { +"repository": { +"description": "Required. The path to the container image repository. For example: `gcr.io/{project_id}/{image_name}`", +"type": "string" +}, +"tag": { +"description": "Optional. The tag of the container image. If not specified, this defaults to the latest tag.", +"type": "string" +} +}, +"type": "object" +}, +"DataDisk": { +"description": "An instance-attached disk resource.", +"id": "DataDisk", +"properties": { +"diskEncryption": { +"description": "Optional. Input only. Disk encryption method used on the boot and data disks, defaults to GMEK.", +"enum": [ +"DISK_ENCRYPTION_UNSPECIFIED", +"GMEK", +"CMEK" +], +"enumDescriptions": [ +"Disk encryption is not specified.", +"Use Google managed encryption keys to encrypt the boot disk.", +"Use customer managed encryption keys to encrypt the boot disk." +], +"type": "string" +}, +"diskSizeGb": { +"description": "Optional. The size of the disk in GB attached to this VM instance, up to a maximum of 64000 GB (64 TB). If not specified, this defaults to 100.", +"format": "int64", +"type": "string" +}, +"diskType": { +"description": "Optional. Input only. Indicates the type of the disk.", +"enum": [ +"DISK_TYPE_UNSPECIFIED", +"PD_STANDARD", +"PD_SSD", +"PD_BALANCED", +"PD_EXTREME", +"HYPERDISK_BALANCED" +], +"enumDescriptions": [ +"Disk type not set.", +"Standard persistent disk type.", +"SSD persistent disk type.", +"Balanced persistent disk type.", +"Extreme persistent disk type.", +"Hyperdisk Balanced persistent disk type." +], +"type": "string" +}, +"kmsKey": { +"description": "Optional. Input only. The KMS key used to encrypt the disks, only applicable if disk_encryption is CMEK. Format: `projects/{project_id}/locations/{location}/keyRings/{key_ring_id}/cryptoKeys/{key_id}` Learn more about using your own encryption keys.", +"type": "string" +}, +"resourcePolicies": { +"description": "Optional. The resource policies to apply to the data disk.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"DefaultValues": { +"description": "DefaultValues represents the default configuration values.", +"id": "DefaultValues", +"properties": { +"machineType": { +"description": "Output only. The default machine type used by the backend if not provided by the user.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"DiagnoseInstanceRequest": { +"description": "Request for creating a notebook instance diagnostic file.", +"id": "DiagnoseInstanceRequest", +"properties": { +"diagnosticConfig": { +"$ref": "DiagnosticConfig", +"description": "Required. Defines flags that are used to run the diagnostic tool" +}, +"timeoutMinutes": { +"description": "Optional. Maximum amount of time in minutes before the operation times out.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"DiagnosticConfig": { +"description": "Defines flags that are used to run the diagnostic tool", +"id": "DiagnosticConfig", +"properties": { +"enableCopyHomeFilesFlag": { +"description": "Optional. Enables flag to copy all `/home/jupyter` folder contents", +"type": "boolean" +}, +"enablePacketCaptureFlag": { +"description": "Optional. Enables flag to capture packets from the instance for 30 seconds", +"type": "boolean" +}, +"enableRepairFlag": { +"description": "Optional. Enables flag to repair service for instance", +"type": "boolean" +}, +"gcsBucket": { +"description": "Required. User Cloud Storage bucket location (REQUIRED). Must be formatted with path prefix (`gs://$GCS_BUCKET`). Permissions: User Managed Notebooks: - storage.buckets.writer: Must be given to the project's service account attached to VM. Google Managed Notebooks: - storage.buckets.writer: Must be given to the project's service account or user credentials attached to VM depending on authentication mode. Cloud Storage bucket Log file will be written to `gs://$GCS_BUCKET/$RELATIVE_PATH/$VM_DATE_$TIME.tar.gz`", +"type": "string" +}, +"relativePath": { +"description": "Optional. Defines the relative storage path in the Cloud Storage bucket where the diagnostic logs will be written: Default path will be the root directory of the Cloud Storage bucket (`gs://$GCS_BUCKET/$DATE_$TIME.tar.gz`) Example of full path where Log file will be written: `gs://$GCS_BUCKET/$RELATIVE_PATH/`", +"type": "string" +} +}, +"type": "object" +}, +"Empty": { +"description": "A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }", +"id": "Empty", +"properties": {}, +"type": "object" +}, +"Event": { +"description": "The definition of an Event for a managed / semi-managed notebook instance.", +"id": "Event", +"properties": { +"details": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. Event details. This field is used to pass event information.", +"type": "object" +}, +"reportTime": { +"description": "Optional. Event report time.", +"format": "google-datetime", +"type": "string" +}, +"type": { +"description": "Optional. Event type.", +"enum": [ +"EVENT_TYPE_UNSPECIFIED", +"IDLE", +"HEARTBEAT", +"HEALTH", +"MAINTENANCE", +"METADATA_CHANGE" +], +"enumDescriptions": [ +"Event is not specified.", +"The instance / runtime is idle", +"The instance / runtime is available. This event indicates that instance / runtime underlying compute is operational.", +"The instance / runtime health is available. This event indicates that instance / runtime health information.", +"The instance / runtime is available. This event allows instance / runtime to send Host maintenance information to Control Plane. https://cloud.google.com/compute/docs/gpus/gpu-host-maintenance", +"The instance / runtime is available. This event indicates that the instance had metadata that needs to be modified." +], +"type": "string" +} +}, +"type": "object" +}, +"Expr": { +"description": "Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: \"Summary size limit\" description: \"Determines if a summary is less than 100 chars\" expression: \"document.summary.size() < 100\" Example (Equality): title: \"Requestor is owner\" description: \"Determines if requestor is the document owner\" expression: \"document.owner == request.auth.claims.email\" Example (Logic): title: \"Public documents\" description: \"Determine whether the document should be publicly visible\" expression: \"document.type != 'private' && document.type != 'internal'\" Example (Data Manipulation): title: \"Notification string\" description: \"Create a notification string with a timestamp.\" expression: \"'New message received at ' + string(document.create_time)\" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information.", +"id": "Expr", +"properties": { +"description": { +"description": "Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI.", +"type": "string" +}, +"expression": { +"description": "Textual representation of an expression in Common Expression Language syntax.", +"type": "string" +}, +"location": { +"description": "Optional. String indicating the location of the expression for error reporting, e.g. a file name and a position in the file.", +"type": "string" +}, +"title": { +"description": "Optional. Title for the expression, i.e. a short string describing its purpose. This can be used e.g. in UIs which allow to enter the expression.", +"type": "string" +} +}, +"type": "object" +}, +"GPUDriverConfig": { +"description": "A GPU driver configuration", +"id": "GPUDriverConfig", +"properties": { +"customGpuDriverPath": { +"description": "Optional. Specify a custom Cloud Storage path where the GPU driver is stored. If not specified, we'll automatically choose from official GPU drivers.", +"type": "string" +}, +"enableGpuDriver": { +"description": "Optional. Whether the end user authorizes Google Cloud to install GPU driver on this VM instance. If this field is empty or set to false, the GPU driver won't be installed. Only applicable to instances with GPUs.", +"type": "boolean" +} +}, +"type": "object" +}, +"GceSetup": { +"description": "The definition of how to configure a VM instance outside of Resources and Identity.", +"id": "GceSetup", +"properties": { +"acceleratorConfigs": { +"description": "Optional. The hardware accelerators used on this instance. If you use accelerators, make sure that your configuration has [enough vCPUs and memory to support the `machine_type` you have selected](https://cloud.google.com/compute/docs/gpus/#gpus-list). Currently supports only one accelerator configuration.", +"items": { +"$ref": "AcceleratorConfig" +}, +"type": "array" +}, +"bootDisk": { +"$ref": "BootDisk", +"description": "Optional. The boot disk for the VM." +}, +"confidentialInstanceConfig": { +"$ref": "ConfidentialInstanceConfig", +"description": "Optional. Confidential instance configuration." +}, +"containerImage": { +"$ref": "ContainerImage", +"description": "Optional. Use a container image to start the notebook instance." +}, +"dataDisks": { +"description": "Optional. Data disks attached to the VM instance. Currently supports only one data disk.", +"items": { +"$ref": "DataDisk" +}, +"type": "array" +}, +"disablePublicIp": { +"description": "Optional. If true, no external IP will be assigned to this VM instance.", +"type": "boolean" +}, +"enableIpForwarding": { +"description": "Optional. Flag to enable ip forwarding or not, default false/off. https://cloud.google.com/vpc/docs/using-routes#canipforward", +"type": "boolean" +}, +"gpuDriverConfig": { +"$ref": "GPUDriverConfig", +"description": "Optional. Configuration for GPU drivers." +}, +"instanceId": { +"description": "Output only. The unique ID of the Compute Engine instance resource.", +"readOnly": true, +"type": "string" +}, +"machineType": { +"description": "Optional. The machine type of the VM instance. https://cloud.google.com/compute/docs/machine-resource", +"type": "string" +}, +"metadata": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. Custom metadata to apply to this instance.", +"type": "object" +}, +"minCpuPlatform": { +"description": "Optional. The minimum CPU platform to use for this instance. The list of valid values can be found in https://cloud.google.com/compute/docs/instances/specify-min-cpu-platform#availablezones", +"type": "string" +}, +"networkInterfaces": { +"description": "Optional. The network interfaces for the VM. Supports only one interface.", +"items": { +"$ref": "NetworkInterface" +}, +"type": "array" +}, +"reservationAffinity": { +"$ref": "ReservationAffinity", +"description": "Optional. Specifies the reservations that this instance can consume from." +}, +"serviceAccounts": { +"description": "Optional. The service account that serves as an identity for the VM instance. Currently supports only one service account.", +"items": { +"$ref": "ServiceAccount" +}, +"type": "array" +}, +"shieldedInstanceConfig": { +"$ref": "ShieldedInstanceConfig", +"description": "Optional. Shielded VM configuration. [Images using supported Shielded VM features](https://cloud.google.com/compute/docs/instances/modifying-shielded-vm)." +}, +"tags": { +"description": "Optional. The Compute Engine network tags to add to runtime (see [Add network tags](https://cloud.google.com/vpc/docs/add-remove-network-tags)).", +"items": { +"type": "string" +}, +"type": "array" +}, +"vmImage": { +"$ref": "VmImage", +"description": "Optional. Use a Compute Engine VM image to start the notebook instance." +} +}, +"type": "object" +}, +"GenerateAccessTokenRequest": { +"description": "Request message for generating an EUC for the instance owner.", +"id": "GenerateAccessTokenRequest", +"properties": { +"vmToken": { +"description": "Required. The VM identity token (a JWT) for authenticating the VM. https://cloud.google.com/compute/docs/instances/verifying-instance-identity", +"type": "string" +} +}, +"type": "object" +}, +"GenerateAccessTokenResponse": { +"description": "Response message for generating an EUC for the instance owner.", +"id": "GenerateAccessTokenResponse", +"properties": { +"access_token": { +"description": "Short-lived access token string which may be used to access Google APIs.", +"type": "string" +}, +"expires_in": { +"description": "The time in seconds when the access token expires. Typically that's 3600.", +"format": "int32", +"type": "integer" +}, +"scope": { +"description": "Space-separated list of scopes contained in the returned token. https://cloud.google.com/docs/authentication/token-types#access-contents", +"type": "string" +}, +"token_type": { +"description": "Type of the returned access token (e.g. \"Bearer\"). It specifies how the token must be used. Bearer tokens may be used by any entity without proof of identity.", +"type": "string" +} +}, +"type": "object" +}, +"ImageRelease": { +"description": "ConfigImage represents an image release available to create a WbI", +"id": "ImageRelease", +"properties": { +"imageName": { +"description": "Output only. The name of the image of the form workbench-instances-vYYYYmmdd--", +"readOnly": true, +"type": "string" +}, +"releaseName": { +"description": "Output only. The release of the image of the form m123", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"Instance": { +"description": "The definition of a notebook instance.", +"id": "Instance", +"properties": { +"createTime": { +"description": "Output only. Instance creation time.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"creator": { +"description": "Output only. Email address of entity that sent original CreateInstance request.", +"readOnly": true, +"type": "string" +}, +"disableProxyAccess": { +"description": "Optional. If true, the notebook instance will not register with the proxy.", +"type": "boolean" +}, +"enableDeletionProtection": { +"description": "Optional. If true, deletion protection will be enabled for this Workbench Instance. If false, deletion protection will be disabled for this Workbench Instance.", +"type": "boolean" +}, +"enableManagedEuc": { +"description": "Optional. Flag to enable managed end user credentials for the instance.", +"type": "boolean" +}, +"enableThirdPartyIdentity": { +"description": "Optional. Flag that specifies that a notebook can be accessed with third party identity provider.", +"type": "boolean" +}, +"gceSetup": { +"$ref": "GceSetup", +"description": "Optional. Compute Engine setup for the notebook. Uses notebook-defined fields." +}, +"healthInfo": { +"additionalProperties": { +"type": "string" +}, +"description": "Output only. Additional information about instance health. Example: healthInfo\": { \"docker_proxy_agent_status\": \"1\", \"docker_status\": \"1\", \"jupyterlab_api_status\": \"-1\", \"jupyterlab_status\": \"-1\", \"updated\": \"2020-10-18 09:40:03.573409\" }", +"readOnly": true, +"type": "object" +}, +"healthState": { +"description": "Output only. Instance health_state.", +"enum": [ +"HEALTH_STATE_UNSPECIFIED", +"HEALTHY", +"UNHEALTHY", +"AGENT_NOT_INSTALLED", +"AGENT_NOT_RUNNING" +], +"enumDescriptions": [ +"The instance substate is unknown.", +"The instance is known to be in an healthy state (for example, critical daemons are running) Applies to ACTIVE state.", +"The instance is known to be in an unhealthy state (for example, critical daemons are not running) Applies to ACTIVE state.", +"The instance has not installed health monitoring agent. Applies to ACTIVE state.", +"The instance health monitoring agent is not running. Applies to ACTIVE state." +], +"readOnly": true, +"type": "string" +}, +"id": { +"description": "Output only. Unique ID of the resource.", +"readOnly": true, +"type": "string" +}, +"instanceOwners": { +"description": "Optional. The owner of this instance after creation. Format: `alias@example.com` Currently supports one owner only. If not specified, all of the service account users of your VM instance's service account can use the instance.", +"items": { +"type": "string" +}, +"type": "array" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. Labels to apply to this instance. These can be later modified by the UpdateInstance method.", +"type": "object" +}, +"name": { +"description": "Output only. Identifier. The name of this notebook instance. Format: `projects/{project_id}/locations/{location}/instances/{instance_id}`", +"readOnly": true, +"type": "string" +}, +"proxyUri": { +"description": "Output only. The proxy endpoint that is used to access the Jupyter notebook.", +"readOnly": true, +"type": "string" +}, +"satisfiesPzi": { +"description": "Output only. Reserved for future use for Zone Isolation.", +"readOnly": true, +"type": "boolean" +}, +"satisfiesPzs": { +"description": "Output only. Reserved for future use for Zone Separation.", +"readOnly": true, +"type": "boolean" +}, +"state": { +"description": "Output only. The state of this instance.", +"enum": [ +"STATE_UNSPECIFIED", +"STARTING", +"PROVISIONING", +"ACTIVE", +"STOPPING", +"STOPPED", +"DELETED", +"UPGRADING", +"INITIALIZING", +"SUSPENDING", +"SUSPENDED" +], +"enumDescriptions": [ +"State is not specified.", +"The control logic is starting the instance.", +"The control logic is installing required frameworks and registering the instance with notebook proxy", +"The instance is running.", +"The control logic is stopping the instance.", +"The instance is stopped.", +"The instance is deleted.", +"The instance is upgrading.", +"The instance is being created.", +"The instance is suspending.", +"The instance is suspended." +], +"readOnly": true, +"type": "string" +}, +"thirdPartyProxyUrl": { +"description": "Output only. The workforce pools proxy endpoint that is used to access the Jupyter notebook.", +"readOnly": true, +"type": "string" +}, +"updateTime": { +"description": "Output only. Instance update time.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"upgradeHistory": { +"description": "Output only. The upgrade history of this instance.", +"items": { +"$ref": "UpgradeHistoryEntry" +}, +"readOnly": true, +"type": "array" +} +}, +"type": "object" +}, +"ListInstancesResponse": { +"description": "Response for listing notebook instances.", +"id": "ListInstancesResponse", +"properties": { +"instances": { +"description": "A list of returned instances.", +"items": { +"$ref": "Instance" +}, +"type": "array" +}, +"nextPageToken": { +"description": "Page token that can be used to continue listing from the last result in the next list call.", +"type": "string" +}, +"unreachable": { +"description": "Unordered list. Locations that could not be reached. For example, ['projects/{project_id}/locations/us-west1-a', 'projects/{project_id}/locations/us-central1-b']. A ListInstancesResponse will only contain either instances or unreachables,", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListLocationsResponse": { +"description": "The response message for Locations.ListLocations.", +"id": "ListLocationsResponse", +"properties": { +"locations": { +"description": "A list of locations that matches the specified filter in the request.", +"items": { +"$ref": "Location" +}, +"type": "array" +}, +"nextPageToken": { +"description": "The standard List next-page token.", +"type": "string" +} +}, +"type": "object" +}, +"ListOperationsResponse": { +"description": "The response message for Operations.ListOperations.", +"id": "ListOperationsResponse", +"properties": { +"nextPageToken": { +"description": "The standard List next-page token.", +"type": "string" +}, +"operations": { +"description": "A list of operations that matches the specified filter in the request.", +"items": { +"$ref": "Operation" +}, +"type": "array" +}, +"unreachable": { +"description": "Unordered list. Unreachable resources. Populated when the request sets `ListOperationsRequest.return_partial_success` and reads across collections. For example, when attempting to list all resources across all supported locations.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"Location": { +"description": "A resource that represents a Google Cloud location.", +"id": "Location", +"properties": { +"displayName": { +"description": "The friendly name for this location, typically a nearby city name. For example, \"Tokyo\".", +"type": "string" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Cross-service attributes for the location. For example {\"cloud.googleapis.com/region\": \"us-east1\"}", +"type": "object" +}, +"locationId": { +"description": "The canonical id for this location. For example: `\"us-east1\"`.", +"type": "string" +}, +"metadata": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "Service-specific metadata. For example the available capacity at the given location.", +"type": "object" +}, +"name": { +"description": "Resource name for the location, which may vary between implementations. For example: `\"projects/example-project/locations/us-east1\"`", +"type": "string" +} +}, +"type": "object" +}, +"NetworkInterface": { +"description": "The definition of a network interface resource attached to a VM.", +"id": "NetworkInterface", +"properties": { +"accessConfigs": { +"description": "Optional. An array of configurations for this interface. Currently, only one access config, ONE_TO_ONE_NAT, is supported. If no accessConfigs specified, the instance will have an external internet access through an ephemeral external IP address.", +"items": { +"$ref": "AccessConfig" +}, +"type": "array" +}, +"network": { +"description": "Optional. The name of the VPC that this VM instance is in. Format: `projects/{project_id}/global/networks/{network_id}`", +"type": "string" +}, +"nicType": { +"description": "Optional. The type of vNIC to be used on this interface. This may be gVNIC or VirtioNet.", +"enum": [ +"NIC_TYPE_UNSPECIFIED", +"VIRTIO_NET", +"GVNIC" +], +"enumDescriptions": [ +"No type specified.", +"VIRTIO", +"GVNIC" +], +"type": "string" +}, +"subnet": { +"description": "Optional. The name of the subnet that this VM instance is in. Format: `projects/{project_id}/regions/{region}/subnetworks/{subnetwork_id}`", +"type": "string" +} +}, +"type": "object" +}, +"Operation": { +"description": "This resource represents a long-running operation that is the result of a network API call.", +"id": "Operation", +"properties": { +"done": { +"description": "If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.", +"type": "boolean" +}, +"error": { +"$ref": "Status", +"description": "The error result of the operation in case of failure or cancellation." +}, +"metadata": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.", +"type": "object" +}, +"name": { +"description": "The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.", +"type": "string" +}, +"response": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "The normal, successful response of the operation. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.", +"type": "object" +} +}, +"type": "object" +}, +"OperationMetadata": { +"description": "Represents the metadata of the long-running operation.", +"id": "OperationMetadata", +"properties": { +"apiVersion": { +"description": "API version used to start the operation.", +"type": "string" +}, +"createTime": { +"description": "The time the operation was created.", +"format": "google-datetime", +"type": "string" +}, +"endTime": { +"description": "The time the operation finished running.", +"format": "google-datetime", +"type": "string" +}, +"endpoint": { +"description": "API endpoint name of this operation.", +"type": "string" +}, +"requestedCancellation": { +"description": "Identifies whether the user has requested cancellation of the operation. Operations that have successfully been cancelled have google.longrunning.Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.", +"type": "boolean" +}, +"statusMessage": { +"description": "Human-readable status of the operation, if any.", +"type": "string" +}, +"target": { +"description": "Server-defined resource path for the target of the operation.", +"type": "string" +}, +"verb": { +"description": "Name of the verb executed by the operation.", +"type": "string" +} +}, +"type": "object" +}, +"Policy": { +"description": "An Identity and Access Management (IAM) policy, which specifies access controls for Google Cloud resources. A `Policy` is a collection of `bindings`. A `binding` binds one or more `members`, or principals, to a single `role`. Principals can be user accounts, service accounts, Google groups, and domains (such as G Suite). A `role` is a named list of permissions; each `role` can be an IAM predefined role or a user-created custom role. For some types of Google Cloud resources, a `binding` can also specify a `condition`, which is a logical expression that allows access to a resource only if the expression evaluates to `true`. A condition can add constraints based on attributes of the request, the resource, or both. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). **JSON example:** ``` { \"bindings\": [ { \"role\": \"roles/resourcemanager.organizationAdmin\", \"members\": [ \"user:mike@example.com\", \"group:admins@example.com\", \"domain:google.com\", \"serviceAccount:my-project-id@appspot.gserviceaccount.com\" ] }, { \"role\": \"roles/resourcemanager.organizationViewer\", \"members\": [ \"user:eve@example.com\" ], \"condition\": { \"title\": \"expirable access\", \"description\": \"Does not grant access after Sep 2020\", \"expression\": \"request.time < timestamp('2020-10-01T00:00:00.000Z')\", } } ], \"etag\": \"BwWWja0YfJA=\", \"version\": 3 } ``` **YAML example:** ``` bindings: - members: - user:mike@example.com - group:admins@example.com - domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.com role: roles/resourcemanager.organizationViewer condition: title: expirable access description: Does not grant access after Sep 2020 expression: request.time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 ``` For a description of IAM and its features, see the [IAM documentation](https://cloud.google.com/iam/docs/).", +"id": "Policy", +"properties": { +"bindings": { +"description": "Associates a list of `members`, or principals, with a `role`. Optionally, may specify a `condition` that determines how and when the `bindings` are applied. Each of the `bindings` must contain at least one principal. The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250 of these principals can be Google groups. Each occurrence of a principal counts towards these limits. For example, if the `bindings` grant 50 different roles to `user:alice@example.com`, and not to any other principal, then you can add another 1,450 principals to the `bindings` in the `Policy`.", +"items": { +"$ref": "Binding" +}, +"type": "array" +}, +"etag": { +"description": "`etag` is used for optimistic concurrency control as a way to help prevent simultaneous updates of a policy from overwriting each other. It is strongly suggested that systems make use of the `etag` in the read-modify-write cycle to perform policy updates in order to avoid race conditions: An `etag` is returned in the response to `getIamPolicy`, and systems are expected to put that etag in the request to `setIamPolicy` to ensure that their change will be applied to the same version of the policy. **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost.", +"format": "byte", +"type": "string" +}, +"version": { +"description": "Specifies the format of the policy. Valid values are `0`, `1`, and `3`. Requests that specify an invalid value are rejected. Any operation that affects conditional role bindings must specify version `3`. This requirement applies to the following operations: * Getting a policy that includes a conditional role binding * Adding a conditional role binding to a policy * Changing a conditional role binding in a policy * Removing any role binding, with or without a condition, from a policy that includes conditions **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost. If a policy does not include any conditions, operations on that policy may specify any valid version or leave the field unset. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"ReportInstanceInfoSystemRequest": { +"description": "Request for notebook instances to report information to Notebooks API.", +"id": "ReportInstanceInfoSystemRequest", +"properties": { +"event": { +"$ref": "Event", +"description": "Required. The Event to be reported." +}, +"vmId": { +"description": "Required. The VM hardware token for authenticating the VM. https://cloud.google.com/compute/docs/instances/verifying-instance-identity", +"type": "string" +} +}, +"type": "object" +}, +"ReservationAffinity": { +"description": "A reservation that an instance can consume from.", +"id": "ReservationAffinity", +"properties": { +"consumeReservationType": { +"description": "Required. Specifies the type of reservation from which this instance can consume resources: RESERVATION_ANY (default), RESERVATION_SPECIFIC, or RESERVATION_NONE. See Consuming reserved instances for examples.", +"enum": [ +"RESERVATION_UNSPECIFIED", +"RESERVATION_NONE", +"RESERVATION_ANY", +"RESERVATION_SPECIFIC" +], +"enumDescriptions": [ +"Default type.", +"Do not consume from any allocated capacity.", +"Consume any reservation available.", +"Must consume from a specific reservation. Must specify key value fields for specifying the reservations." +], +"type": "string" +}, +"key": { +"description": "Optional. Corresponds to the label key of a reservation resource. To target a RESERVATION_SPECIFIC by name, use compute.googleapis.com/reservation-name as the key and specify the name of your reservation as its value.", +"type": "string" +}, +"values": { +"description": "Optional. Corresponds to the label values of a reservation resource. This can be either a name to a reservation in the same project or \"projects/different-project/reservations/some-reservation-name\" to target a shared reservation in the same zone but in a different project.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ResetInstanceRequest": { +"description": "Request for resetting a notebook instance", +"id": "ResetInstanceRequest", +"properties": {}, +"type": "object" +}, +"ResizeDiskRequest": { +"description": "Request for resizing the notebook instance disks", +"id": "ResizeDiskRequest", +"properties": { +"bootDisk": { +"$ref": "BootDisk", +"description": "Required. The boot disk to be resized. Only disk_size_gb will be used." +}, +"dataDisk": { +"$ref": "DataDisk", +"description": "Required. The data disk to be resized. Only disk_size_gb will be used." +} +}, +"type": "object" +}, +"RestoreInstanceRequest": { +"description": "Request for restoring the notebook instance from a BackupSource.", +"id": "RestoreInstanceRequest", +"properties": { +"snapshot": { +"$ref": "Snapshot", +"description": "Snapshot to be used for restore." +} +}, +"type": "object" +}, +"RollbackInstanceRequest": { +"description": "Request for rollbacking a notebook instance", +"id": "RollbackInstanceRequest", +"properties": { +"revisionId": { +"description": "Required. Output only. Revision Id", +"readOnly": true, +"type": "string" +}, +"targetSnapshot": { +"description": "Required. The snapshot for rollback. Example: \"projects/test-project/global/snapshots/krwlzipynril\".", +"type": "string" +} +}, +"type": "object" +}, +"ServiceAccount": { +"description": "A service account that acts as an identity.", +"id": "ServiceAccount", +"properties": { +"email": { +"description": "Optional. Email address of the service account.", +"type": "string" +}, +"scopes": { +"description": "Output only. The list of scopes to be made available for this service account. Set by the CLH to https://www.googleapis.com/auth/cloud-platform", +"items": { +"type": "string" +}, +"readOnly": true, +"type": "array" +} +}, +"type": "object" +}, +"SetIamPolicyRequest": { +"description": "Request message for `SetIamPolicy` method.", +"id": "SetIamPolicyRequest", +"properties": { +"policy": { +"$ref": "Policy", +"description": "REQUIRED: The complete policy to be applied to the `resource`. The size of the policy is limited to a few 10s of KB. An empty policy is a valid policy but certain Google Cloud services (such as Projects) might reject them." +} +}, +"type": "object" +}, +"ShieldedInstanceConfig": { +"description": "A set of Shielded Instance options. See [Images using supported Shielded VM features](https://cloud.google.com/compute/docs/instances/modifying-shielded-vm). Not all combinations are valid.", +"id": "ShieldedInstanceConfig", +"properties": { +"enableIntegrityMonitoring": { +"description": "Optional. Defines whether the VM instance has integrity monitoring enabled. Enables monitoring and attestation of the boot integrity of the VM instance. The attestation is performed against the integrity policy baseline. This baseline is initially derived from the implicitly trusted boot image when the VM instance is created.", +"type": "boolean" +}, +"enableSecureBoot": { +"description": "Optional. Defines whether the VM instance has Secure Boot enabled. Secure Boot helps ensure that the system only runs authentic software by verifying the digital signature of all boot components, and halting the boot process if signature verification fails. Disabled by default.", +"type": "boolean" +}, +"enableVtpm": { +"description": "Optional. Defines whether the VM instance has the vTPM enabled.", +"type": "boolean" +} +}, +"type": "object" +}, +"Snapshot": { +"description": "Snapshot represents the snapshot of the data disk used to restore the Workbench Instance from. Refers to: compute/v1/projects/{project_id}/global/snapshots/{snapshot_id}", +"id": "Snapshot", +"properties": { +"projectId": { +"description": "Required. The project ID of the snapshot.", +"type": "string" +}, +"snapshotId": { +"description": "Required. The ID of the snapshot.", +"type": "string" +} +}, +"type": "object" +}, +"StartInstanceRequest": { +"description": "Request for starting a notebook instance", +"id": "StartInstanceRequest", +"properties": {}, +"type": "object" +}, +"Status": { +"description": "The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors).", +"id": "Status", +"properties": { +"code": { +"description": "The status code, which should be an enum value of google.rpc.Code.", +"format": "int32", +"type": "integer" +}, +"details": { +"description": "A list of messages that carry the error details. There is a common set of message types for APIs to use.", +"items": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.", +"type": "string" +} +}, +"type": "object" +}, +"StopInstanceRequest": { +"description": "Request for stopping a notebook instance", +"id": "StopInstanceRequest", +"properties": {}, +"type": "object" +}, +"SupportedValues": { +"description": "SupportedValues represents the values supported by the configuration.", +"id": "SupportedValues", +"properties": { +"acceleratorTypes": { +"description": "Output only. The accelerator types supported by WbI.", +"items": { +"type": "string" +}, +"readOnly": true, +"type": "array" +}, +"machineTypes": { +"description": "Output only. The machine types supported by WbI.", +"items": { +"type": "string" +}, +"readOnly": true, +"type": "array" +} +}, +"type": "object" +}, +"TestIamPermissionsRequest": { +"description": "Request message for `TestIamPermissions` method.", +"id": "TestIamPermissionsRequest", +"properties": { +"permissions": { +"description": "The set of permissions to check for the `resource`. Permissions with wildcards (such as `*` or `storage.*`) are not allowed. For more information see [IAM Overview](https://cloud.google.com/iam/docs/overview#permissions).", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"TestIamPermissionsResponse": { +"description": "Response message for `TestIamPermissions` method.", +"id": "TestIamPermissionsResponse", +"properties": { +"permissions": { +"description": "A subset of `TestPermissionsRequest.permissions` that the caller is allowed.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"UpgradeHistoryEntry": { +"description": "The entry of VM image upgrade history.", +"id": "UpgradeHistoryEntry", +"properties": { +"action": { +"description": "Optional. Action. Rolloback or Upgrade.", +"enum": [ +"ACTION_UNSPECIFIED", +"UPGRADE", +"ROLLBACK" +], +"enumDescriptions": [ +"Operation is not specified.", +"Upgrade.", +"Rollback." +], +"type": "string" +}, +"containerImage": { +"description": "Optional. The container image before this instance upgrade.", +"type": "string" +}, +"createTime": { +"description": "Immutable. The time that this instance upgrade history entry is created.", +"format": "google-datetime", +"type": "string" +}, +"framework": { +"description": "Optional. The framework of this notebook instance.", +"type": "string" +}, +"snapshot": { +"description": "Optional. The snapshot of the boot disk of this notebook instance before upgrade.", +"type": "string" +}, +"state": { +"description": "Output only. The state of this instance upgrade history entry.", +"enum": [ +"STATE_UNSPECIFIED", +"STARTED", +"SUCCEEDED", +"FAILED" +], +"enumDescriptions": [ +"State is not specified.", +"The instance upgrade is started.", +"The instance upgrade is succeeded.", +"The instance upgrade is failed." +], +"readOnly": true, +"type": "string" +}, +"targetVersion": { +"description": "Optional. Target VM Version, like m63.", +"type": "string" +}, +"version": { +"description": "Optional. The version of the notebook instance before this upgrade.", +"type": "string" +}, +"vmImage": { +"description": "Optional. The VM image before this instance upgrade.", +"type": "string" +} +}, +"type": "object" +}, +"UpgradeInstanceRequest": { +"description": "Request for upgrading a notebook instance", +"id": "UpgradeInstanceRequest", +"properties": {}, +"type": "object" +}, +"UpgradeInstanceSystemRequest": { +"description": "Request for upgrading a notebook instance from within the VM", +"id": "UpgradeInstanceSystemRequest", +"properties": { +"vmId": { +"description": "Required. The VM hardware token for authenticating the VM. https://cloud.google.com/compute/docs/instances/verifying-instance-identity", +"type": "string" +} +}, +"type": "object" +}, +"VmImage": { +"description": "Definition of a custom Compute Engine virtual machine image for starting a notebook instance with the environment installed directly on the VM.", +"id": "VmImage", +"properties": { +"family": { +"description": "Optional. Use this VM image family to find the image; the newest image in this family will be used.", +"type": "string" +}, +"name": { +"description": "Optional. Use VM image name to find the image.", +"type": "string" +}, +"project": { +"description": "Required. The name of the Google Cloud project that this VM image belongs to. Format: `{project_id}`", +"type": "string" +} +}, +"type": "object" +} +}, +"servicePath": "", +"title": "Notebooks API", +"version": "v2", +"version_module": true +} \ No newline at end of file diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/orgpolicy.v2.json b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/orgpolicy.v2.json new file mode 100644 index 0000000000000000000000000000000000000000..b0f0b7368fca8dd289faebcffbf5f45460b67841 --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/orgpolicy.v2.json @@ -0,0 +1,1431 @@ +{ +"auth": { +"oauth2": { +"scopes": { +"https://www.googleapis.com/auth/cloud-platform": { +"description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." +} +} +} +}, +"basePath": "", +"baseUrl": "https://orgpolicy.googleapis.com/", +"batchPath": "batch", +"canonicalName": "OrgPolicy API", +"description": "The Organization Policy API allows users to configure governance rules on their Google Cloud resources across the resource hierarchy.", +"discoveryVersion": "v1", +"documentationLink": "https://cloud.google.com/orgpolicy/docs/reference/rest/index.html", +"fullyEncodeReservedExpansion": true, +"icons": { +"x16": "http://www.google.com/images/icons/product/search-16.gif", +"x32": "http://www.google.com/images/icons/product/search-32.gif" +}, +"id": "orgpolicy:v2", +"kind": "discovery#restDescription", +"mtlsRootUrl": "https://orgpolicy.mtls.googleapis.com/", +"name": "orgpolicy", +"ownerDomain": "google.com", +"ownerName": "Google", +"parameters": { +"$.xgafv": { +"description": "V1 error format.", +"enum": [ +"1", +"2" +], +"enumDescriptions": [ +"v1 error format", +"v2 error format" +], +"location": "query", +"type": "string" +}, +"access_token": { +"description": "OAuth access token.", +"location": "query", +"type": "string" +}, +"alt": { +"default": "json", +"description": "Data format for response.", +"enum": [ +"json", +"media", +"proto" +], +"enumDescriptions": [ +"Responses with Content-Type of application/json", +"Media download with context-dependent Content-Type", +"Responses with Content-Type of application/x-protobuf" +], +"location": "query", +"type": "string" +}, +"callback": { +"description": "JSONP", +"location": "query", +"type": "string" +}, +"fields": { +"description": "Selector specifying which fields to include in a partial response.", +"location": "query", +"type": "string" +}, +"key": { +"description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", +"location": "query", +"type": "string" +}, +"oauth_token": { +"description": "OAuth 2.0 token for the current user.", +"location": "query", +"type": "string" +}, +"prettyPrint": { +"default": "true", +"description": "Returns response with indentations and line breaks.", +"location": "query", +"type": "boolean" +}, +"quotaUser": { +"description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.", +"location": "query", +"type": "string" +}, +"uploadType": { +"description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", +"location": "query", +"type": "string" +}, +"upload_protocol": { +"description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", +"location": "query", +"type": "string" +} +}, +"protocol": "rest", +"resources": { +"folders": { +"resources": { +"constraints": { +"methods": { +"list": { +"description": "Lists constraints that could be applied on the specified resource.", +"flatPath": "v2/folders/{foldersId}/constraints", +"httpMethod": "GET", +"id": "orgpolicy.folders.constraints.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "Size of the pages to be returned. This is currently unsupported and will be ignored. The server may at any point start using this field to limit page size.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Page token used to retrieve the next page. This is currently unsupported and will be ignored. The server may at any point start using this field.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The Google Cloud resource that parents the constraint. Must be in one of the following forms: * `projects/{project_number}` * `projects/{project_id}` * `folders/{folder_id}` * `organizations/{organization_id}`", +"location": "path", +"pattern": "^folders/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+parent}/constraints", +"response": { +"$ref": "GoogleCloudOrgpolicyV2ListConstraintsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"policies": { +"methods": { +"create": { +"description": "Creates a policy. Returns a `google.rpc.Status` with `google.rpc.Code.NOT_FOUND` if the constraint does not exist. Returns a `google.rpc.Status` with `google.rpc.Code.ALREADY_EXISTS` if the policy already exists on the given Google Cloud resource.", +"flatPath": "v2/folders/{foldersId}/policies", +"httpMethod": "POST", +"id": "orgpolicy.folders.policies.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The Google Cloud resource that will parent the new policy. Must be in one of the following forms: * `projects/{project_number}` * `projects/{project_id}` * `folders/{folder_id}` * `organizations/{organization_id}`", +"location": "path", +"pattern": "^folders/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+parent}/policies", +"request": { +"$ref": "GoogleCloudOrgpolicyV2Policy" +}, +"response": { +"$ref": "GoogleCloudOrgpolicyV2Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a policy. Returns a `google.rpc.Status` with `google.rpc.Code.NOT_FOUND` if the constraint or organization policy does not exist.", +"flatPath": "v2/folders/{foldersId}/policies/{policiesId}", +"httpMethod": "DELETE", +"id": "orgpolicy.folders.policies.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"etag": { +"description": "Optional. The current etag of policy. If an etag is provided and does not match the current etag of the policy, deletion will be blocked and an ABORTED error will be returned.", +"location": "query", +"type": "string" +}, +"name": { +"description": "Required. Name of the policy to delete. See the policy entry for naming rules.", +"location": "path", +"pattern": "^folders/[^/]+/policies/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+name}", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets a policy on a resource. If no policy is set on the resource, `NOT_FOUND` is returned. The `etag` value can be used with `UpdatePolicy()` to update a policy during read-modify-write.", +"flatPath": "v2/folders/{foldersId}/policies/{policiesId}", +"httpMethod": "GET", +"id": "orgpolicy.folders.policies.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Resource name of the policy. See Policy for naming requirements.", +"location": "path", +"pattern": "^folders/[^/]+/policies/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+name}", +"response": { +"$ref": "GoogleCloudOrgpolicyV2Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"getEffectivePolicy": { +"description": "Gets the effective policy on a resource. This is the result of merging policies in the resource hierarchy and evaluating conditions. The returned policy will not have an `etag` or `condition` set because it is an evaluated policy across multiple resources. Subtrees of Resource Manager resource hierarchy with 'under:' prefix will not be expanded.", +"flatPath": "v2/folders/{foldersId}/policies/{policiesId}:getEffectivePolicy", +"httpMethod": "GET", +"id": "orgpolicy.folders.policies.getEffectivePolicy", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The effective policy to compute. See Policy for naming requirements.", +"location": "path", +"pattern": "^folders/[^/]+/policies/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+name}:getEffectivePolicy", +"response": { +"$ref": "GoogleCloudOrgpolicyV2Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Retrieves all of the policies that exist on a particular resource.", +"flatPath": "v2/folders/{foldersId}/policies", +"httpMethod": "GET", +"id": "orgpolicy.folders.policies.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "Size of the pages to be returned. This is currently unsupported and will be ignored. The server may at any point start using this field to limit page size.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Page token used to retrieve the next page. This is currently unsupported and will be ignored. The server may at any point start using this field.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The target Google Cloud resource that parents the set of constraints and policies that will be returned from this call. Must be in one of the following forms: * `projects/{project_number}` * `projects/{project_id}` * `folders/{folder_id}` * `organizations/{organization_id}`", +"location": "path", +"pattern": "^folders/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+parent}/policies", +"response": { +"$ref": "GoogleCloudOrgpolicyV2ListPoliciesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates a policy. Returns a `google.rpc.Status` with `google.rpc.Code.NOT_FOUND` if the constraint or the policy do not exist. Returns a `google.rpc.Status` with `google.rpc.Code.ABORTED` if the etag supplied in the request does not match the persisted etag of the policy Note: the supplied policy will perform a full overwrite of all fields.", +"flatPath": "v2/folders/{foldersId}/policies/{policiesId}", +"httpMethod": "PATCH", +"id": "orgpolicy.folders.policies.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Immutable. The resource name of the policy. Must be one of the following forms, where `constraint_name` is the name of the constraint which this policy configures: * `projects/{project_number}/policies/{constraint_name}` * `folders/{folder_id}/policies/{constraint_name}` * `organizations/{organization_id}/policies/{constraint_name}` For example, `projects/123/policies/compute.disableSerialPortAccess`. Note: `projects/{project_id}/policies/{constraint_name}` is also an acceptable name for API requests, but responses will return the name using the equivalent project number.", +"location": "path", +"pattern": "^folders/[^/]+/policies/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Field mask used to specify the fields to be overwritten in the policy by the set. The fields specified in the update_mask are relative to the policy, not the full request.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v2/{+name}", +"request": { +"$ref": "GoogleCloudOrgpolicyV2Policy" +}, +"response": { +"$ref": "GoogleCloudOrgpolicyV2Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +}, +"organizations": { +"resources": { +"constraints": { +"methods": { +"list": { +"description": "Lists constraints that could be applied on the specified resource.", +"flatPath": "v2/organizations/{organizationsId}/constraints", +"httpMethod": "GET", +"id": "orgpolicy.organizations.constraints.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "Size of the pages to be returned. This is currently unsupported and will be ignored. The server may at any point start using this field to limit page size.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Page token used to retrieve the next page. This is currently unsupported and will be ignored. The server may at any point start using this field.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The Google Cloud resource that parents the constraint. Must be in one of the following forms: * `projects/{project_number}` * `projects/{project_id}` * `folders/{folder_id}` * `organizations/{organization_id}`", +"location": "path", +"pattern": "^organizations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+parent}/constraints", +"response": { +"$ref": "GoogleCloudOrgpolicyV2ListConstraintsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"customConstraints": { +"methods": { +"create": { +"description": "Creates a custom constraint. Returns a `google.rpc.Status` with `google.rpc.Code.NOT_FOUND` if the organization does not exist. Returns a `google.rpc.Status` with `google.rpc.Code.ALREADY_EXISTS` if the constraint already exists on the given organization.", +"flatPath": "v2/organizations/{organizationsId}/customConstraints", +"httpMethod": "POST", +"id": "orgpolicy.organizations.customConstraints.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. Must be in the following form: * `organizations/{organization_id}`", +"location": "path", +"pattern": "^organizations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+parent}/customConstraints", +"request": { +"$ref": "GoogleCloudOrgpolicyV2CustomConstraint" +}, +"response": { +"$ref": "GoogleCloudOrgpolicyV2CustomConstraint" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a custom constraint. Returns a `google.rpc.Status` with `google.rpc.Code.NOT_FOUND` if the constraint does not exist.", +"flatPath": "v2/organizations/{organizationsId}/customConstraints/{customConstraintsId}", +"httpMethod": "DELETE", +"id": "orgpolicy.organizations.customConstraints.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of the custom constraint to delete. See the custom constraint entry for naming rules.", +"location": "path", +"pattern": "^organizations/[^/]+/customConstraints/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+name}", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets a custom or managed constraint. Returns a `google.rpc.Status` with `google.rpc.Code.NOT_FOUND` if the custom or managed constraint does not exist.", +"flatPath": "v2/organizations/{organizationsId}/customConstraints/{customConstraintsId}", +"httpMethod": "GET", +"id": "orgpolicy.organizations.customConstraints.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Resource name of the custom or managed constraint. See the custom constraint entry for naming requirements.", +"location": "path", +"pattern": "^organizations/[^/]+/customConstraints/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+name}", +"response": { +"$ref": "GoogleCloudOrgpolicyV2CustomConstraint" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Retrieves all of the custom constraints that exist on a particular organization resource.", +"flatPath": "v2/organizations/{organizationsId}/customConstraints", +"httpMethod": "GET", +"id": "orgpolicy.organizations.customConstraints.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "Size of the pages to be returned. This is currently unsupported and will be ignored. The server may at any point start using this field to limit page size.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Page token used to retrieve the next page. This is currently unsupported and will be ignored. The server may at any point start using this field.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The target Google Cloud resource that parents the set of custom constraints that will be returned from this call. Must be in one of the following forms: * `organizations/{organization_id}`", +"location": "path", +"pattern": "^organizations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+parent}/customConstraints", +"response": { +"$ref": "GoogleCloudOrgpolicyV2ListCustomConstraintsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates a custom constraint. Returns a `google.rpc.Status` with `google.rpc.Code.NOT_FOUND` if the constraint does not exist. Note: the supplied policy will perform a full overwrite of all fields.", +"flatPath": "v2/organizations/{organizationsId}/customConstraints/{customConstraintsId}", +"httpMethod": "PATCH", +"id": "orgpolicy.organizations.customConstraints.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Immutable. Name of the constraint. This is unique within the organization. Format of the name should be * `organizations/{organization_id}/customConstraints/{custom_constraint_id}` Example: `organizations/123/customConstraints/custom.createOnlyE2TypeVms` The max length is 70 characters and the minimum length is 1. Note that the prefix `organizations/{organization_id}/customConstraints/` is not counted.", +"location": "path", +"pattern": "^organizations/[^/]+/customConstraints/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+name}", +"request": { +"$ref": "GoogleCloudOrgpolicyV2CustomConstraint" +}, +"response": { +"$ref": "GoogleCloudOrgpolicyV2CustomConstraint" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"policies": { +"methods": { +"create": { +"description": "Creates a policy. Returns a `google.rpc.Status` with `google.rpc.Code.NOT_FOUND` if the constraint does not exist. Returns a `google.rpc.Status` with `google.rpc.Code.ALREADY_EXISTS` if the policy already exists on the given Google Cloud resource.", +"flatPath": "v2/organizations/{organizationsId}/policies", +"httpMethod": "POST", +"id": "orgpolicy.organizations.policies.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The Google Cloud resource that will parent the new policy. Must be in one of the following forms: * `projects/{project_number}` * `projects/{project_id}` * `folders/{folder_id}` * `organizations/{organization_id}`", +"location": "path", +"pattern": "^organizations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+parent}/policies", +"request": { +"$ref": "GoogleCloudOrgpolicyV2Policy" +}, +"response": { +"$ref": "GoogleCloudOrgpolicyV2Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a policy. Returns a `google.rpc.Status` with `google.rpc.Code.NOT_FOUND` if the constraint or organization policy does not exist.", +"flatPath": "v2/organizations/{organizationsId}/policies/{policiesId}", +"httpMethod": "DELETE", +"id": "orgpolicy.organizations.policies.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"etag": { +"description": "Optional. The current etag of policy. If an etag is provided and does not match the current etag of the policy, deletion will be blocked and an ABORTED error will be returned.", +"location": "query", +"type": "string" +}, +"name": { +"description": "Required. Name of the policy to delete. See the policy entry for naming rules.", +"location": "path", +"pattern": "^organizations/[^/]+/policies/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+name}", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets a policy on a resource. If no policy is set on the resource, `NOT_FOUND` is returned. The `etag` value can be used with `UpdatePolicy()` to update a policy during read-modify-write.", +"flatPath": "v2/organizations/{organizationsId}/policies/{policiesId}", +"httpMethod": "GET", +"id": "orgpolicy.organizations.policies.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Resource name of the policy. See Policy for naming requirements.", +"location": "path", +"pattern": "^organizations/[^/]+/policies/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+name}", +"response": { +"$ref": "GoogleCloudOrgpolicyV2Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"getEffectivePolicy": { +"description": "Gets the effective policy on a resource. This is the result of merging policies in the resource hierarchy and evaluating conditions. The returned policy will not have an `etag` or `condition` set because it is an evaluated policy across multiple resources. Subtrees of Resource Manager resource hierarchy with 'under:' prefix will not be expanded.", +"flatPath": "v2/organizations/{organizationsId}/policies/{policiesId}:getEffectivePolicy", +"httpMethod": "GET", +"id": "orgpolicy.organizations.policies.getEffectivePolicy", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The effective policy to compute. See Policy for naming requirements.", +"location": "path", +"pattern": "^organizations/[^/]+/policies/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+name}:getEffectivePolicy", +"response": { +"$ref": "GoogleCloudOrgpolicyV2Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Retrieves all of the policies that exist on a particular resource.", +"flatPath": "v2/organizations/{organizationsId}/policies", +"httpMethod": "GET", +"id": "orgpolicy.organizations.policies.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "Size of the pages to be returned. This is currently unsupported and will be ignored. The server may at any point start using this field to limit page size.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Page token used to retrieve the next page. This is currently unsupported and will be ignored. The server may at any point start using this field.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The target Google Cloud resource that parents the set of constraints and policies that will be returned from this call. Must be in one of the following forms: * `projects/{project_number}` * `projects/{project_id}` * `folders/{folder_id}` * `organizations/{organization_id}`", +"location": "path", +"pattern": "^organizations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+parent}/policies", +"response": { +"$ref": "GoogleCloudOrgpolicyV2ListPoliciesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates a policy. Returns a `google.rpc.Status` with `google.rpc.Code.NOT_FOUND` if the constraint or the policy do not exist. Returns a `google.rpc.Status` with `google.rpc.Code.ABORTED` if the etag supplied in the request does not match the persisted etag of the policy Note: the supplied policy will perform a full overwrite of all fields.", +"flatPath": "v2/organizations/{organizationsId}/policies/{policiesId}", +"httpMethod": "PATCH", +"id": "orgpolicy.organizations.policies.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Immutable. The resource name of the policy. Must be one of the following forms, where `constraint_name` is the name of the constraint which this policy configures: * `projects/{project_number}/policies/{constraint_name}` * `folders/{folder_id}/policies/{constraint_name}` * `organizations/{organization_id}/policies/{constraint_name}` For example, `projects/123/policies/compute.disableSerialPortAccess`. Note: `projects/{project_id}/policies/{constraint_name}` is also an acceptable name for API requests, but responses will return the name using the equivalent project number.", +"location": "path", +"pattern": "^organizations/[^/]+/policies/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Field mask used to specify the fields to be overwritten in the policy by the set. The fields specified in the update_mask are relative to the policy, not the full request.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v2/{+name}", +"request": { +"$ref": "GoogleCloudOrgpolicyV2Policy" +}, +"response": { +"$ref": "GoogleCloudOrgpolicyV2Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +}, +"projects": { +"resources": { +"constraints": { +"methods": { +"list": { +"description": "Lists constraints that could be applied on the specified resource.", +"flatPath": "v2/projects/{projectsId}/constraints", +"httpMethod": "GET", +"id": "orgpolicy.projects.constraints.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "Size of the pages to be returned. This is currently unsupported and will be ignored. The server may at any point start using this field to limit page size.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Page token used to retrieve the next page. This is currently unsupported and will be ignored. The server may at any point start using this field.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The Google Cloud resource that parents the constraint. Must be in one of the following forms: * `projects/{project_number}` * `projects/{project_id}` * `folders/{folder_id}` * `organizations/{organization_id}`", +"location": "path", +"pattern": "^projects/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+parent}/constraints", +"response": { +"$ref": "GoogleCloudOrgpolicyV2ListConstraintsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"policies": { +"methods": { +"create": { +"description": "Creates a policy. Returns a `google.rpc.Status` with `google.rpc.Code.NOT_FOUND` if the constraint does not exist. Returns a `google.rpc.Status` with `google.rpc.Code.ALREADY_EXISTS` if the policy already exists on the given Google Cloud resource.", +"flatPath": "v2/projects/{projectsId}/policies", +"httpMethod": "POST", +"id": "orgpolicy.projects.policies.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The Google Cloud resource that will parent the new policy. Must be in one of the following forms: * `projects/{project_number}` * `projects/{project_id}` * `folders/{folder_id}` * `organizations/{organization_id}`", +"location": "path", +"pattern": "^projects/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+parent}/policies", +"request": { +"$ref": "GoogleCloudOrgpolicyV2Policy" +}, +"response": { +"$ref": "GoogleCloudOrgpolicyV2Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a policy. Returns a `google.rpc.Status` with `google.rpc.Code.NOT_FOUND` if the constraint or organization policy does not exist.", +"flatPath": "v2/projects/{projectsId}/policies/{policiesId}", +"httpMethod": "DELETE", +"id": "orgpolicy.projects.policies.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"etag": { +"description": "Optional. The current etag of policy. If an etag is provided and does not match the current etag of the policy, deletion will be blocked and an ABORTED error will be returned.", +"location": "query", +"type": "string" +}, +"name": { +"description": "Required. Name of the policy to delete. See the policy entry for naming rules.", +"location": "path", +"pattern": "^projects/[^/]+/policies/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+name}", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets a policy on a resource. If no policy is set on the resource, `NOT_FOUND` is returned. The `etag` value can be used with `UpdatePolicy()` to update a policy during read-modify-write.", +"flatPath": "v2/projects/{projectsId}/policies/{policiesId}", +"httpMethod": "GET", +"id": "orgpolicy.projects.policies.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Resource name of the policy. See Policy for naming requirements.", +"location": "path", +"pattern": "^projects/[^/]+/policies/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+name}", +"response": { +"$ref": "GoogleCloudOrgpolicyV2Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"getEffectivePolicy": { +"description": "Gets the effective policy on a resource. This is the result of merging policies in the resource hierarchy and evaluating conditions. The returned policy will not have an `etag` or `condition` set because it is an evaluated policy across multiple resources. Subtrees of Resource Manager resource hierarchy with 'under:' prefix will not be expanded.", +"flatPath": "v2/projects/{projectsId}/policies/{policiesId}:getEffectivePolicy", +"httpMethod": "GET", +"id": "orgpolicy.projects.policies.getEffectivePolicy", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The effective policy to compute. See Policy for naming requirements.", +"location": "path", +"pattern": "^projects/[^/]+/policies/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+name}:getEffectivePolicy", +"response": { +"$ref": "GoogleCloudOrgpolicyV2Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Retrieves all of the policies that exist on a particular resource.", +"flatPath": "v2/projects/{projectsId}/policies", +"httpMethod": "GET", +"id": "orgpolicy.projects.policies.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "Size of the pages to be returned. This is currently unsupported and will be ignored. The server may at any point start using this field to limit page size.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Page token used to retrieve the next page. This is currently unsupported and will be ignored. The server may at any point start using this field.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The target Google Cloud resource that parents the set of constraints and policies that will be returned from this call. Must be in one of the following forms: * `projects/{project_number}` * `projects/{project_id}` * `folders/{folder_id}` * `organizations/{organization_id}`", +"location": "path", +"pattern": "^projects/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+parent}/policies", +"response": { +"$ref": "GoogleCloudOrgpolicyV2ListPoliciesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates a policy. Returns a `google.rpc.Status` with `google.rpc.Code.NOT_FOUND` if the constraint or the policy do not exist. Returns a `google.rpc.Status` with `google.rpc.Code.ABORTED` if the etag supplied in the request does not match the persisted etag of the policy Note: the supplied policy will perform a full overwrite of all fields.", +"flatPath": "v2/projects/{projectsId}/policies/{policiesId}", +"httpMethod": "PATCH", +"id": "orgpolicy.projects.policies.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Immutable. The resource name of the policy. Must be one of the following forms, where `constraint_name` is the name of the constraint which this policy configures: * `projects/{project_number}/policies/{constraint_name}` * `folders/{folder_id}/policies/{constraint_name}` * `organizations/{organization_id}/policies/{constraint_name}` For example, `projects/123/policies/compute.disableSerialPortAccess`. Note: `projects/{project_id}/policies/{constraint_name}` is also an acceptable name for API requests, but responses will return the name using the equivalent project number.", +"location": "path", +"pattern": "^projects/[^/]+/policies/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Field mask used to specify the fields to be overwritten in the policy by the set. The fields specified in the update_mask are relative to the policy, not the full request.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v2/{+name}", +"request": { +"$ref": "GoogleCloudOrgpolicyV2Policy" +}, +"response": { +"$ref": "GoogleCloudOrgpolicyV2Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +} +}, +"revision": "20251204", +"rootUrl": "https://orgpolicy.googleapis.com/", +"schemas": { +"GoogleCloudOrgpolicyV2AlternatePolicySpec": { +"description": "Similar to PolicySpec but with an extra 'launch' field for launch reference. The PolicySpec here is specific for dry-run.", +"id": "GoogleCloudOrgpolicyV2AlternatePolicySpec", +"properties": { +"launch": { +"description": "Reference to the launch that will be used while audit logging and to control the launch. Should be set only in the alternate policy.", +"type": "string" +}, +"spec": { +"$ref": "GoogleCloudOrgpolicyV2PolicySpec", +"description": "Specify constraint for configurations of Google Cloud resources." +} +}, +"type": "object" +}, +"GoogleCloudOrgpolicyV2Constraint": { +"description": "A constraint describes a way to restrict resource's configuration. For example, you could enforce a constraint that controls which Google Cloud services can be activated across an organization, or whether a Compute Engine instance can have serial port connections established. Constraints can be configured by the organization policy administrator to fit the needs of the organization by setting a policy that includes constraints at different locations in the organization's resource hierarchy. Policies are inherited down the resource hierarchy from higher levels, but can also be overridden. For details about the inheritance rules, see `Policy`. Constraints have a default behavior determined by the `constraint_default` field, which is the enforcement behavior that is used in the absence of a policy being defined or inherited for the resource in question.", +"id": "GoogleCloudOrgpolicyV2Constraint", +"properties": { +"booleanConstraint": { +"$ref": "GoogleCloudOrgpolicyV2ConstraintBooleanConstraint", +"description": "Defines this constraint as being a boolean constraint." +}, +"constraintDefault": { +"description": "The evaluation behavior of this constraint in the absence of a policy.", +"enum": [ +"CONSTRAINT_DEFAULT_UNSPECIFIED", +"ALLOW", +"DENY" +], +"enumDescriptions": [ +"This is only used for distinguishing unset values and should never be used. Results in an error.", +"Indicate that all values are allowed for list constraints. Indicate that enforcement is off for boolean constraints.", +"Indicate that all values are denied for list constraints. Indicate that enforcement is on for boolean constraints." +], +"type": "string" +}, +"description": { +"description": "Detailed description of what this constraint controls as well as how and where it is enforced. Mutable.", +"type": "string" +}, +"displayName": { +"description": "The human readable name. Mutable.", +"type": "string" +}, +"equivalentConstraint": { +"description": "Managed constraint and canned constraint sometimes can have equivalents. This field is used to store the equivalent constraint name.", +"type": "string" +}, +"listConstraint": { +"$ref": "GoogleCloudOrgpolicyV2ConstraintListConstraint", +"description": "Defines this constraint as being a list constraint." +}, +"name": { +"description": "Immutable. The resource name of the constraint. Must be in one of the following forms: * `projects/{project_number}/constraints/{constraint_name}` * `folders/{folder_id}/constraints/{constraint_name}` * `organizations/{organization_id}/constraints/{constraint_name}` For example, \"/projects/123/constraints/compute.disableSerialPortAccess\".", +"type": "string" +}, +"supportsDryRun": { +"description": "Shows if dry run is supported for this constraint or not.", +"type": "boolean" +}, +"supportsSimulation": { +"description": "Shows if simulation is supported for this constraint or not.", +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleCloudOrgpolicyV2ConstraintBooleanConstraint": { +"description": "A constraint type is enforced or not enforced, which is configured in the `PolicyRule`. If `customConstraintDefinition` is defined, this constraint is a managed constraint.", +"id": "GoogleCloudOrgpolicyV2ConstraintBooleanConstraint", +"properties": { +"customConstraintDefinition": { +"$ref": "GoogleCloudOrgpolicyV2ConstraintCustomConstraintDefinition", +"description": "Custom constraint definition. Defines this as a managed constraint." +} +}, +"type": "object" +}, +"GoogleCloudOrgpolicyV2ConstraintCustomConstraintDefinition": { +"description": "Custom constraint definition. Defines this as a managed constraint.", +"id": "GoogleCloudOrgpolicyV2ConstraintCustomConstraintDefinition", +"properties": { +"actionType": { +"description": "Allow or deny type.", +"enum": [ +"ACTION_TYPE_UNSPECIFIED", +"ALLOW", +"DENY" +], +"enumDescriptions": [ +"This is only used for distinguishing unset values and should never be used. Results in an error.", +"Allowed action type.", +"Deny action type." +], +"type": "string" +}, +"condition": { +"description": "Org policy condition/expression. For example: `resource.instanceName.matches(\"(production|test)_(.+_)?[\\d]+\")` or, `resource.management.auto_upgrade == true` The max length of the condition is 1000 characters.", +"type": "string" +}, +"methodTypes": { +"description": "All the operations being applied for this constraint.", +"items": { +"enum": [ +"METHOD_TYPE_UNSPECIFIED", +"CREATE", +"UPDATE", +"DELETE", +"REMOVE_GRANT", +"GOVERN_TAGS" +], +"enumDescriptions": [ +"This is only used for distinguishing unset values and should never be used. Results in an error.", +"Constraint applied when creating the resource.", +"Constraint applied when updating the resource.", +"Constraint applied when deleting the resource. Not currently supported.", +"Constraint applied when removing an IAM grant.", +"Constraint applied when enforcing forced tagging." +], +"type": "string" +}, +"type": "array" +}, +"parameters": { +"additionalProperties": { +"$ref": "GoogleCloudOrgpolicyV2ConstraintCustomConstraintDefinitionParameter" +}, +"description": "Stores the structure of `Parameters` used by the constraint condition. The key of `map` represents the name of the parameter.", +"type": "object" +}, +"resourceTypes": { +"description": "The resource instance type on which this policy applies. Format will be of the form : `/` Example: * `compute.googleapis.com/Instance`.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudOrgpolicyV2ConstraintCustomConstraintDefinitionParameter": { +"description": "Defines a parameter structure.", +"id": "GoogleCloudOrgpolicyV2ConstraintCustomConstraintDefinitionParameter", +"properties": { +"defaultValue": { +"description": "Sets the value of the parameter in an assignment if no value is given.", +"type": "any" +}, +"item": { +"description": "Determines the parameter's value structure. For example, `LIST` can be specified by defining `type: LIST`, and `item: STRING`.", +"enum": [ +"TYPE_UNSPECIFIED", +"LIST", +"STRING", +"BOOLEAN" +], +"enumDescriptions": [ +"This is only used for distinguishing unset values and should never be used. Results in an error.", +"List parameter type.", +"String parameter type.", +"Boolean parameter type." +], +"type": "string" +}, +"metadata": { +"$ref": "GoogleCloudOrgpolicyV2ConstraintCustomConstraintDefinitionParameterMetadata", +"description": "Defines subproperties primarily used by the UI to display user-friendly information." +}, +"type": { +"description": "Type of the parameter.", +"enum": [ +"TYPE_UNSPECIFIED", +"LIST", +"STRING", +"BOOLEAN" +], +"enumDescriptions": [ +"This is only used for distinguishing unset values and should never be used. Results in an error.", +"List parameter type.", +"String parameter type.", +"Boolean parameter type." +], +"type": "string" +}, +"validValuesExpr": { +"description": "Provides a CEL expression to specify the acceptable parameter values during assignment. For example, parameterName in (\"parameterValue1\", \"parameterValue2\")", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudOrgpolicyV2ConstraintCustomConstraintDefinitionParameterMetadata": { +"description": "Defines Metadata structure.", +"id": "GoogleCloudOrgpolicyV2ConstraintCustomConstraintDefinitionParameterMetadata", +"properties": { +"description": { +"description": "Detailed description of what this `parameter` is and use of it. Mutable.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudOrgpolicyV2ConstraintListConstraint": { +"description": "A constraint type that allows or disallows a list of string values, which are configured in the `PolicyRule`.", +"id": "GoogleCloudOrgpolicyV2ConstraintListConstraint", +"properties": { +"supportsIn": { +"description": "Indicates whether values grouped into categories can be used in `Policy.allowed_values` and `Policy.denied_values`. For example, `\"in:Python\"` would match any value in the 'Python' group.", +"type": "boolean" +}, +"supportsUnder": { +"description": "Indicates whether subtrees of the Resource Manager resource hierarchy can be used in `Policy.allowed_values` and `Policy.denied_values`. For example, `\"under:folders/123\"` would match any resource under the 'folders/123' folder.", +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleCloudOrgpolicyV2CustomConstraint": { +"description": "A custom constraint defined by customers which can *only* be applied to the given resource types and organization. By creating a custom constraint, customers can apply policies of this custom constraint. *Creating a custom constraint itself does NOT apply any policy enforcement*.", +"id": "GoogleCloudOrgpolicyV2CustomConstraint", +"properties": { +"actionType": { +"description": "Allow or deny type.", +"enum": [ +"ACTION_TYPE_UNSPECIFIED", +"ALLOW", +"DENY" +], +"enumDescriptions": [ +"This is only used for distinguishing unset values and should never be used. Results in an error.", +"Allowed action type.", +"Deny action type." +], +"type": "string" +}, +"condition": { +"description": "A Common Expression Language (CEL) condition which is used in the evaluation of the constraint. For example: `resource.instanceName.matches(\"(production|test)_(.+_)?[\\d]+\")` or, `resource.management.auto_upgrade == true` The max length of the condition is 1000 characters.", +"type": "string" +}, +"description": { +"description": "Detailed information about this custom policy constraint. The max length of the description is 2000 characters.", +"type": "string" +}, +"displayName": { +"description": "One line display name for the UI. The max length of the display_name is 200 characters.", +"type": "string" +}, +"methodTypes": { +"description": "All the operations being applied for this constraint.", +"items": { +"enum": [ +"METHOD_TYPE_UNSPECIFIED", +"CREATE", +"UPDATE", +"DELETE", +"REMOVE_GRANT", +"GOVERN_TAGS" +], +"enumDescriptions": [ +"This is only used for distinguishing unset values and should never be used. Results in an error.", +"Constraint applied when creating the resource.", +"Constraint applied when updating the resource.", +"Constraint applied when deleting the resource. Not currently supported.", +"Constraint applied when removing an IAM grant.", +"Constraint applied when enforcing forced tagging." +], +"type": "string" +}, +"type": "array" +}, +"name": { +"description": "Immutable. Name of the constraint. This is unique within the organization. Format of the name should be * `organizations/{organization_id}/customConstraints/{custom_constraint_id}` Example: `organizations/123/customConstraints/custom.createOnlyE2TypeVms` The max length is 70 characters and the minimum length is 1. Note that the prefix `organizations/{organization_id}/customConstraints/` is not counted.", +"type": "string" +}, +"resourceTypes": { +"description": "Immutable. The resource instance type on which this policy applies. Format will be of the form : `/` Example: * `compute.googleapis.com/Instance`.", +"items": { +"type": "string" +}, +"type": "array" +}, +"updateTime": { +"description": "Output only. The last time this custom constraint was updated. This represents the last time that the `CreateCustomConstraint` or `UpdateCustomConstraint` methods were called.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudOrgpolicyV2ListConstraintsResponse": { +"description": "The response returned from the ListConstraints method.", +"id": "GoogleCloudOrgpolicyV2ListConstraintsResponse", +"properties": { +"constraints": { +"description": "The collection of constraints that are available on the targeted resource.", +"items": { +"$ref": "GoogleCloudOrgpolicyV2Constraint" +}, +"type": "array" +}, +"nextPageToken": { +"description": "Page token used to retrieve the next page. This is currently not used.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudOrgpolicyV2ListCustomConstraintsResponse": { +"description": "The response returned from the ListCustomConstraints method. It will be empty if no custom or managed constraints are set on the organization resource.", +"id": "GoogleCloudOrgpolicyV2ListCustomConstraintsResponse", +"properties": { +"customConstraints": { +"description": "All custom and managed constraints that exist on the organization resource. It will be empty if no custom constraints are set.", +"items": { +"$ref": "GoogleCloudOrgpolicyV2CustomConstraint" +}, +"type": "array" +}, +"nextPageToken": { +"description": "Page token used to retrieve the next page. This is currently not used, but the server may at any point start supplying a valid token.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudOrgpolicyV2ListPoliciesResponse": { +"description": "The response returned from the ListPolicies method. It will be empty if no policies are set on the resource.", +"id": "GoogleCloudOrgpolicyV2ListPoliciesResponse", +"properties": { +"nextPageToken": { +"description": "Page token used to retrieve the next page. This is currently not used, but the server may at any point start supplying a valid token.", +"type": "string" +}, +"policies": { +"description": "All policies that exist on the resource. It will be empty if no policies are set.", +"items": { +"$ref": "GoogleCloudOrgpolicyV2Policy" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudOrgpolicyV2Policy": { +"description": "Defines an organization policy which is used to specify constraints for configurations of Google Cloud resources.", +"id": "GoogleCloudOrgpolicyV2Policy", +"properties": { +"alternate": { +"$ref": "GoogleCloudOrgpolicyV2AlternatePolicySpec", +"deprecated": true, +"description": "Deprecated." +}, +"dryRunSpec": { +"$ref": "GoogleCloudOrgpolicyV2PolicySpec", +"description": "Dry-run policy. Audit-only policy, can be used to monitor how the policy would have impacted the existing and future resources if it's enforced." +}, +"etag": { +"description": "Optional. An opaque tag indicating the current state of the policy, used for concurrency control. This 'etag' is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.", +"type": "string" +}, +"name": { +"description": "Immutable. The resource name of the policy. Must be one of the following forms, where `constraint_name` is the name of the constraint which this policy configures: * `projects/{project_number}/policies/{constraint_name}` * `folders/{folder_id}/policies/{constraint_name}` * `organizations/{organization_id}/policies/{constraint_name}` For example, `projects/123/policies/compute.disableSerialPortAccess`. Note: `projects/{project_id}/policies/{constraint_name}` is also an acceptable name for API requests, but responses will return the name using the equivalent project number.", +"type": "string" +}, +"spec": { +"$ref": "GoogleCloudOrgpolicyV2PolicySpec", +"description": "Basic information about the organization policy." +} +}, +"type": "object" +}, +"GoogleCloudOrgpolicyV2PolicySpec": { +"description": "Defines a Google Cloud policy specification which is used to specify constraints for configurations of Google Cloud resources.", +"id": "GoogleCloudOrgpolicyV2PolicySpec", +"properties": { +"etag": { +"description": "An opaque tag indicating the current version of the policySpec, used for concurrency control. This field is ignored if used in a `CreatePolicy` request. When the policy is returned from either a `GetPolicy` or a `ListPolicies` request, this `etag` indicates the version of the current policySpec to use when executing a read-modify-write loop. When the policy is returned from a `GetEffectivePolicy` request, the `etag` will be unset.", +"type": "string" +}, +"inheritFromParent": { +"description": "Determines the inheritance behavior for this policy. If `inherit_from_parent` is true, policy rules set higher up in the hierarchy (up to the closest root) are inherited and present in the effective policy. If it is false, then no rules are inherited, and this policy becomes the new root for evaluation. This field can be set only for policies which configure list constraints.", +"type": "boolean" +}, +"reset": { +"description": "Ignores policies set above this resource and restores the `constraint_default` enforcement behavior of the specific constraint at this resource. This field can be set in policies for either list or boolean constraints. If set, `rules` must be empty and `inherit_from_parent` must be set to false.", +"type": "boolean" +}, +"rules": { +"description": "In policies for boolean constraints, the following requirements apply: - There must be one and only one policy rule where condition is unset. - Boolean policy rules with conditions must set `enforced` to the opposite of the policy rule without a condition. - During policy evaluation, policy rules with conditions that are true for a target resource take precedence.", +"items": { +"$ref": "GoogleCloudOrgpolicyV2PolicySpecPolicyRule" +}, +"type": "array" +}, +"updateTime": { +"description": "Output only. The time stamp this was previously updated. This represents the last time a call to `CreatePolicy` or `UpdatePolicy` was made for that policy.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudOrgpolicyV2PolicySpecPolicyRule": { +"description": "A rule used to express this policy.", +"id": "GoogleCloudOrgpolicyV2PolicySpecPolicyRule", +"properties": { +"allowAll": { +"description": "Setting this to true means that all values are allowed. This field can be set only in policies for list constraints.", +"type": "boolean" +}, +"condition": { +"$ref": "GoogleTypeExpr", +"description": "A condition that determines whether this rule is used to evaluate the policy. When set, the google.type.Expr.expression field must contain 1 to 10 subexpressions, joined by the `||` or `&&` operators. Each subexpression must use the `resource.matchTag()`, `resource.matchTagId()`, `resource.hasTagKey()`, or `resource.hasTagKeyId()` Common Expression Language (CEL) function. The `resource.matchTag()` function takes the following arguments: * `key_name`: the namespaced name of the tag key, with the organization ID and a slash (`/`) as a prefix; for example, `123456789012/environment` * `value_name`: the short name of the tag value For example: `resource.matchTag('123456789012/environment, 'prod')` The `resource.matchTagId()` function takes the following arguments: * `key_id`: the permanent ID of the tag key; for example, `tagKeys/123456789012` * `value_id`: the permanent ID of the tag value; for example, `tagValues/567890123456` For example: `resource.matchTagId('tagKeys/123456789012', 'tagValues/567890123456')` The `resource.hasTagKey()` function takes the following argument: * `key_name`: the namespaced name of the tag key, with the organization ID and a slash (`/`) as a prefix; for example, `123456789012/environment` For example: `resource.hasTagKey('123456789012/environment')` The `resource.hasTagKeyId()` function takes the following arguments: * `key_id`: the permanent ID of the tag key; for example, `tagKeys/123456789012` For example: `resource.hasTagKeyId('tagKeys/123456789012')`" +}, +"denyAll": { +"description": "Setting this to true means that all values are denied. This field can be set only in policies for list constraints.", +"type": "boolean" +}, +"enforce": { +"description": "If `true`, then the policy is enforced. If `false`, then any configuration is acceptable. This field can be set in policies for boolean constraints, custom constraints and managed constraints.", +"type": "boolean" +}, +"parameters": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"description": "Optional. Required for managed constraints if parameters are defined. Passes parameter values when policy enforcement is enabled. Ensure that parameter value types match those defined in the constraint definition. For example: ``` { \"allowedLocations\" : [\"us-east1\", \"us-west1\"], \"allowAll\" : true } ```", +"type": "object" +}, +"values": { +"$ref": "GoogleCloudOrgpolicyV2PolicySpecPolicyRuleStringValues", +"description": "List of values to be used for this policy rule. This field can be set only in policies for list constraints." +} +}, +"type": "object" +}, +"GoogleCloudOrgpolicyV2PolicySpecPolicyRuleStringValues": { +"description": "A message that holds specific allowed and denied values. This message can define specific values and subtrees of the Resource Manager resource hierarchy (`Organizations`, `Folders`, `Projects`) that are allowed or denied. This is achieved by using the `under:` and optional `is:` prefixes. The `under:` prefix is used to denote resource subtree values. The `is:` prefix is used to denote specific values, and is required only if the value contains a \":\". Values prefixed with \"is:\" are treated the same as values with no prefix. Ancestry subtrees must be in one of the following formats: - `projects/` (for example, `projects/tokyo-rain-123`) - `folders/` (for example, `folders/1234`) - `organizations/` (for example, `organizations/1234`) The `supports_under` field of the associated `Constraint` defines whether ancestry prefixes can be used.", +"id": "GoogleCloudOrgpolicyV2PolicySpecPolicyRuleStringValues", +"properties": { +"allowedValues": { +"description": "List of values allowed at this resource.", +"items": { +"type": "string" +}, +"type": "array" +}, +"deniedValues": { +"description": "List of values denied at this resource.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleProtobufEmpty": { +"description": "A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }", +"id": "GoogleProtobufEmpty", +"properties": {}, +"type": "object" +}, +"GoogleTypeExpr": { +"description": "Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: \"Summary size limit\" description: \"Determines if a summary is less than 100 chars\" expression: \"document.summary.size() < 100\" Example (Equality): title: \"Requestor is owner\" description: \"Determines if requestor is the document owner\" expression: \"document.owner == request.auth.claims.email\" Example (Logic): title: \"Public documents\" description: \"Determine whether the document should be publicly visible\" expression: \"document.type != 'private' && document.type != 'internal'\" Example (Data Manipulation): title: \"Notification string\" description: \"Create a notification string with a timestamp.\" expression: \"'New message received at ' + string(document.create_time)\" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information.", +"id": "GoogleTypeExpr", +"properties": { +"description": { +"description": "Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI.", +"type": "string" +}, +"expression": { +"description": "Textual representation of an expression in Common Expression Language syntax.", +"type": "string" +}, +"location": { +"description": "Optional. String indicating the location of the expression for error reporting, e.g. a file name and a position in the file.", +"type": "string" +}, +"title": { +"description": "Optional. Title for the expression, i.e. a short string describing its purpose. This can be used e.g. in UIs which allow to enter the expression.", +"type": "string" +} +}, +"type": "object" +} +}, +"servicePath": "", +"title": "Organization Policy API", +"version": "v2", +"version_module": true +} \ No newline at end of file diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/osconfig.v2beta.json b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/osconfig.v2beta.json new file mode 100644 index 0000000000000000000000000000000000000000..425e3dfbe8d593dbbe4b8fca972278f47fb78762 --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/osconfig.v2beta.json @@ -0,0 +1,2508 @@ +{ +"auth": { +"oauth2": { +"scopes": { +"https://www.googleapis.com/auth/cloud-platform": { +"description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." +} +} +} +}, +"basePath": "", +"baseUrl": "https://osconfig.googleapis.com/", +"batchPath": "batch", +"canonicalName": "OS Config", +"description": "OS management tools that can be used for patch management, patch compliance, and configuration management on VM instances.", +"discoveryVersion": "v1", +"documentationLink": "https://cloud.google.com/compute/docs/osconfig/rest", +"fullyEncodeReservedExpansion": true, +"icons": { +"x16": "http://www.google.com/images/icons/product/search-16.gif", +"x32": "http://www.google.com/images/icons/product/search-32.gif" +}, +"id": "osconfig:v2beta", +"kind": "discovery#restDescription", +"mtlsRootUrl": "https://osconfig.mtls.googleapis.com/", +"name": "osconfig", +"ownerDomain": "google.com", +"ownerName": "Google", +"parameters": { +"$.xgafv": { +"description": "V1 error format.", +"enum": [ +"1", +"2" +], +"enumDescriptions": [ +"v1 error format", +"v2 error format" +], +"location": "query", +"type": "string" +}, +"access_token": { +"description": "OAuth access token.", +"location": "query", +"type": "string" +}, +"alt": { +"default": "json", +"description": "Data format for response.", +"enum": [ +"json", +"media", +"proto" +], +"enumDescriptions": [ +"Responses with Content-Type of application/json", +"Media download with context-dependent Content-Type", +"Responses with Content-Type of application/x-protobuf" +], +"location": "query", +"type": "string" +}, +"callback": { +"description": "JSONP", +"location": "query", +"type": "string" +}, +"fields": { +"description": "Selector specifying which fields to include in a partial response.", +"location": "query", +"type": "string" +}, +"key": { +"description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", +"location": "query", +"type": "string" +}, +"oauth_token": { +"description": "OAuth 2.0 token for the current user.", +"location": "query", +"type": "string" +}, +"prettyPrint": { +"default": "true", +"description": "Returns response with indentations and line breaks.", +"location": "query", +"type": "boolean" +}, +"quotaUser": { +"description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.", +"location": "query", +"type": "string" +}, +"uploadType": { +"description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", +"location": "query", +"type": "string" +}, +"upload_protocol": { +"description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", +"location": "query", +"type": "string" +} +}, +"protocol": "rest", +"resources": { +"folders": { +"resources": { +"locations": { +"resources": { +"global": { +"resources": { +"policyOrchestrators": { +"methods": { +"create": { +"description": "Creates a new policy orchestrator under the given folder resource. `name` field of the given orchestrator are ignored and instead replaced by a product of `parent` and `policy_orchestrator_id`. Orchestrator state field might be only set to `ACTIVE`, `STOPPED` or omitted (in which case, the created resource will be in `ACTIVE` state anyway).", +"flatPath": "v2beta/folders/{foldersId}/locations/global/policyOrchestrators", +"httpMethod": "POST", +"id": "osconfig.folders.locations.global.policyOrchestrators.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The parent resource name in the form of: * `organizations/{organization_id}/locations/global` * `folders/{folder_id}/locations/global` * `projects/{project_id_or_number}/locations/global`", +"location": "path", +"pattern": "^folders/[^/]+/locations/global$", +"required": true, +"type": "string" +}, +"policyOrchestratorId": { +"description": "Required. The logical identifier of the policy orchestrator, with the following restrictions: * Must contain only lowercase letters, numbers, and hyphens. * Must start with a letter. * Must be between 1-63 characters. * Must end with a number or a letter. * Must be unique within the parent.", +"location": "query", +"type": "string" +}, +"requestId": { +"description": "Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "v2beta/{+parent}/policyOrchestrators", +"request": { +"$ref": "GoogleCloudOsconfigV2beta__PolicyOrchestrator" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes an existing policy orchestrator resource, parented by a folder.", +"flatPath": "v2beta/folders/{foldersId}/locations/global/policyOrchestrators/{policyOrchestratorsId}", +"httpMethod": "DELETE", +"id": "osconfig.folders.locations.global.policyOrchestrators.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"etag": { +"description": "Optional. The current etag of the policy orchestrator. If an etag is provided and does not match the current etag of the policy orchestrator, deletion will be blocked and an ABORTED error will be returned.", +"location": "query", +"type": "string" +}, +"name": { +"description": "Required. Name of the resource to be deleted.", +"location": "path", +"pattern": "^folders/[^/]+/locations/global/policyOrchestrators/[^/]+$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes after the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "v2beta/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Retrieves an existing policy orchestrator, parented by a folder.", +"flatPath": "v2beta/folders/{foldersId}/locations/global/policyOrchestrators/{policyOrchestratorsId}", +"httpMethod": "GET", +"id": "osconfig.folders.locations.global.policyOrchestrators.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name.", +"location": "path", +"pattern": "^folders/[^/]+/locations/global/policyOrchestrators/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2beta/{+name}", +"response": { +"$ref": "GoogleCloudOsconfigV2beta__PolicyOrchestrator" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists the policy orchestrators under the given parent folder resource.", +"flatPath": "v2beta/folders/{foldersId}/locations/global/policyOrchestrators", +"httpMethod": "GET", +"id": "osconfig.folders.locations.global.policyOrchestrators.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Optional. Filtering results", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "Optional. Hint for how to order the results", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Optional. Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. A token identifying a page of results the server should return.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent resource name.", +"location": "path", +"pattern": "^folders/[^/]+/locations/global$", +"required": true, +"type": "string" +} +}, +"path": "v2beta/{+parent}/policyOrchestrators", +"response": { +"$ref": "GoogleCloudOsconfigV2beta__ListPolicyOrchestratorsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates an existing policy orchestrator, parented by a folder.", +"flatPath": "v2beta/folders/{foldersId}/locations/global/policyOrchestrators/{policyOrchestratorsId}", +"httpMethod": "PATCH", +"id": "osconfig.folders.locations.global.policyOrchestrators.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Immutable. Identifier. In form of * `organizations/{organization_id}/locations/global/policyOrchestrators/{orchestrator_id}` * `folders/{folder_id}/locations/global/policyOrchestrators/{orchestrator_id}` * `projects/{project_id_or_number}/locations/global/policyOrchestrators/{orchestrator_id}`", +"location": "path", +"pattern": "^folders/[^/]+/locations/global/policyOrchestrators/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Optional. The list of fields to merge into the existing policy orchestrator. A special [\"*\"] field mask can be used to simply replace the entire resource. Otherwise, for all paths referenced in the mask, following merge rules are used: * output only fields are ignored, * primitive fields are replaced, * repeated fields are replaced, * map fields are merged key by key, * message fields are cleared if not set in the request, otherwise they are merged recursively (in particular - message fields set to an empty message has no side effects) If field mask (or its paths) is not specified, it is automatically inferred from the request using following rules: * primitive fields are listed, if set to a non-default value (as there is no way to distinguish between default and unset value), * map and repeated fields are listed, * `google.protobuf.Any` fields are listed, * other message fields are traversed recursively. Note: implicit mask does not allow clearing fields.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v2beta/{+name}", +"request": { +"$ref": "GoogleCloudOsconfigV2beta__PolicyOrchestrator" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +}, +"operations": { +"methods": { +"cancel": { +"description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.", +"flatPath": "v2beta/folders/{foldersId}/locations/{locationsId}/operations/{operationsId}:cancel", +"httpMethod": "POST", +"id": "osconfig.folders.locations.operations.cancel", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be cancelled.", +"location": "path", +"pattern": "^folders/[^/]+/locations/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2beta/{+name}:cancel", +"request": { +"$ref": "CancelOperationRequest" +}, +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.", +"flatPath": "v2beta/folders/{foldersId}/locations/{locationsId}/operations/{operationsId}", +"httpMethod": "DELETE", +"id": "osconfig.folders.locations.operations.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be deleted.", +"location": "path", +"pattern": "^folders/[^/]+/locations/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2beta/{+name}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", +"flatPath": "v2beta/folders/{foldersId}/locations/{locationsId}/operations/{operationsId}", +"httpMethod": "GET", +"id": "osconfig.folders.locations.operations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource.", +"location": "path", +"pattern": "^folders/[^/]+/locations/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2beta/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.", +"flatPath": "v2beta/folders/{foldersId}/locations/{locationsId}/operations", +"httpMethod": "GET", +"id": "osconfig.folders.locations.operations.list", +"parameterOrder": [ +"name" +], +"parameters": { +"filter": { +"description": "The standard list filter.", +"location": "query", +"type": "string" +}, +"name": { +"description": "The name of the operation's parent resource.", +"location": "path", +"pattern": "^folders/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The standard list page size.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The standard list page token.", +"location": "query", +"type": "string" +}, +"returnPartialSuccess": { +"description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `\"projects/example/locations/-\"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", +"location": "query", +"type": "boolean" +} +}, +"path": "v2beta/{+name}/operations", +"response": { +"$ref": "ListOperationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +} +} +}, +"organizations": { +"resources": { +"locations": { +"resources": { +"global": { +"resources": { +"policyOrchestrators": { +"methods": { +"create": { +"description": "Creates a new policy orchestrator under the given organizations resource. `name` field of the given orchestrator are ignored and instead replaced by a product of `parent` and `policy_orchestrator_id`. Orchestrator state field might be only set to `ACTIVE`, `STOPPED` or omitted (in which case, the created resource will be in `ACTIVE` state anyway).", +"flatPath": "v2beta/organizations/{organizationsId}/locations/global/policyOrchestrators", +"httpMethod": "POST", +"id": "osconfig.organizations.locations.global.policyOrchestrators.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The parent resource name in the form of: * `organizations/{organization_id}/locations/global` * `folders/{folder_id}/locations/global` * `projects/{project_id_or_number}/locations/global`", +"location": "path", +"pattern": "^organizations/[^/]+/locations/global$", +"required": true, +"type": "string" +}, +"policyOrchestratorId": { +"description": "Required. The logical identifier of the policy orchestrator, with the following restrictions: * Must contain only lowercase letters, numbers, and hyphens. * Must start with a letter. * Must be between 1-63 characters. * Must end with a number or a letter. * Must be unique within the parent.", +"location": "query", +"type": "string" +}, +"requestId": { +"description": "Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "v2beta/{+parent}/policyOrchestrators", +"request": { +"$ref": "GoogleCloudOsconfigV2beta__PolicyOrchestrator" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes an existing policy orchestrator resource, parented by an organization.", +"flatPath": "v2beta/organizations/{organizationsId}/locations/global/policyOrchestrators/{policyOrchestratorsId}", +"httpMethod": "DELETE", +"id": "osconfig.organizations.locations.global.policyOrchestrators.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"etag": { +"description": "Optional. The current etag of the policy orchestrator. If an etag is provided and does not match the current etag of the policy orchestrator, deletion will be blocked and an ABORTED error will be returned.", +"location": "query", +"type": "string" +}, +"name": { +"description": "Required. Name of the resource to be deleted.", +"location": "path", +"pattern": "^organizations/[^/]+/locations/global/policyOrchestrators/[^/]+$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes after the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "v2beta/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Retrieves an existing policy orchestrator, parented by an organization.", +"flatPath": "v2beta/organizations/{organizationsId}/locations/global/policyOrchestrators/{policyOrchestratorsId}", +"httpMethod": "GET", +"id": "osconfig.organizations.locations.global.policyOrchestrators.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name.", +"location": "path", +"pattern": "^organizations/[^/]+/locations/global/policyOrchestrators/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2beta/{+name}", +"response": { +"$ref": "GoogleCloudOsconfigV2beta__PolicyOrchestrator" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists the policy orchestrators under the given parent organization resource.", +"flatPath": "v2beta/organizations/{organizationsId}/locations/global/policyOrchestrators", +"httpMethod": "GET", +"id": "osconfig.organizations.locations.global.policyOrchestrators.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Optional. Filtering results", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "Optional. Hint for how to order the results", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Optional. Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. A token identifying a page of results the server should return.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent resource name.", +"location": "path", +"pattern": "^organizations/[^/]+/locations/global$", +"required": true, +"type": "string" +} +}, +"path": "v2beta/{+parent}/policyOrchestrators", +"response": { +"$ref": "GoogleCloudOsconfigV2beta__ListPolicyOrchestratorsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates an existing policy orchestrator, parented by an organization.", +"flatPath": "v2beta/organizations/{organizationsId}/locations/global/policyOrchestrators/{policyOrchestratorsId}", +"httpMethod": "PATCH", +"id": "osconfig.organizations.locations.global.policyOrchestrators.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Immutable. Identifier. In form of * `organizations/{organization_id}/locations/global/policyOrchestrators/{orchestrator_id}` * `folders/{folder_id}/locations/global/policyOrchestrators/{orchestrator_id}` * `projects/{project_id_or_number}/locations/global/policyOrchestrators/{orchestrator_id}`", +"location": "path", +"pattern": "^organizations/[^/]+/locations/global/policyOrchestrators/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Optional. The list of fields to merge into the existing policy orchestrator. A special [\"*\"] field mask can be used to simply replace the entire resource. Otherwise, for all paths referenced in the mask, following merge rules are used: * output only fields are ignored, * primitive fields are replaced, * repeated fields are replaced, * map fields are merged key by key, * message fields are cleared if not set in the request, otherwise they are merged recursively (in particular - message fields set to an empty message has no side effects) If field mask (or its paths) is not specified, it is automatically inferred from the request using following rules: * primitive fields are listed, if set to a non-default value (as there is no way to distinguish between default and unset value), * map and repeated fields are listed, * `google.protobuf.Any` fields are listed, * other message fields are traversed recursively. Note: implicit mask does not allow clearing fields.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v2beta/{+name}", +"request": { +"$ref": "GoogleCloudOsconfigV2beta__PolicyOrchestrator" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +}, +"operations": { +"methods": { +"cancel": { +"description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.", +"flatPath": "v2beta/organizations/{organizationsId}/locations/{locationsId}/operations/{operationsId}:cancel", +"httpMethod": "POST", +"id": "osconfig.organizations.locations.operations.cancel", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be cancelled.", +"location": "path", +"pattern": "^organizations/[^/]+/locations/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2beta/{+name}:cancel", +"request": { +"$ref": "CancelOperationRequest" +}, +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.", +"flatPath": "v2beta/organizations/{organizationsId}/locations/{locationsId}/operations/{operationsId}", +"httpMethod": "DELETE", +"id": "osconfig.organizations.locations.operations.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be deleted.", +"location": "path", +"pattern": "^organizations/[^/]+/locations/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2beta/{+name}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", +"flatPath": "v2beta/organizations/{organizationsId}/locations/{locationsId}/operations/{operationsId}", +"httpMethod": "GET", +"id": "osconfig.organizations.locations.operations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource.", +"location": "path", +"pattern": "^organizations/[^/]+/locations/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2beta/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.", +"flatPath": "v2beta/organizations/{organizationsId}/locations/{locationsId}/operations", +"httpMethod": "GET", +"id": "osconfig.organizations.locations.operations.list", +"parameterOrder": [ +"name" +], +"parameters": { +"filter": { +"description": "The standard list filter.", +"location": "query", +"type": "string" +}, +"name": { +"description": "The name of the operation's parent resource.", +"location": "path", +"pattern": "^organizations/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The standard list page size.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The standard list page token.", +"location": "query", +"type": "string" +}, +"returnPartialSuccess": { +"description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `\"projects/example/locations/-\"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", +"location": "query", +"type": "boolean" +} +}, +"path": "v2beta/{+name}/operations", +"response": { +"$ref": "ListOperationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +} +} +}, +"projects": { +"resources": { +"locations": { +"resources": { +"global": { +"resources": { +"policyOrchestrators": { +"methods": { +"create": { +"description": "Creates a new policy orchestrator under the given project resource. `name` field of the given orchestrator are ignored and instead replaced by a product of `parent` and `policy_orchestrator_id`. Orchestrator state field might be only set to `ACTIVE`, `STOPPED` or omitted (in which case, the created resource will be in `ACTIVE` state anyway).", +"flatPath": "v2beta/projects/{projectsId}/locations/global/policyOrchestrators", +"httpMethod": "POST", +"id": "osconfig.projects.locations.global.policyOrchestrators.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The parent resource name in the form of: * `organizations/{organization_id}/locations/global` * `folders/{folder_id}/locations/global` * `projects/{project_id_or_number}/locations/global`", +"location": "path", +"pattern": "^projects/[^/]+/locations/global$", +"required": true, +"type": "string" +}, +"policyOrchestratorId": { +"description": "Required. The logical identifier of the policy orchestrator, with the following restrictions: * Must contain only lowercase letters, numbers, and hyphens. * Must start with a letter. * Must be between 1-63 characters. * Must end with a number or a letter. * Must be unique within the parent.", +"location": "query", +"type": "string" +}, +"requestId": { +"description": "Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "v2beta/{+parent}/policyOrchestrators", +"request": { +"$ref": "GoogleCloudOsconfigV2beta__PolicyOrchestrator" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes an existing policy orchestrator resource, parented by a project.", +"flatPath": "v2beta/projects/{projectsId}/locations/global/policyOrchestrators/{policyOrchestratorsId}", +"httpMethod": "DELETE", +"id": "osconfig.projects.locations.global.policyOrchestrators.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"etag": { +"description": "Optional. The current etag of the policy orchestrator. If an etag is provided and does not match the current etag of the policy orchestrator, deletion will be blocked and an ABORTED error will be returned.", +"location": "query", +"type": "string" +}, +"name": { +"description": "Required. Name of the resource to be deleted.", +"location": "path", +"pattern": "^projects/[^/]+/locations/global/policyOrchestrators/[^/]+$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes after the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "v2beta/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Retrieves an existing policy orchestrator, parented by a project.", +"flatPath": "v2beta/projects/{projectsId}/locations/global/policyOrchestrators/{policyOrchestratorsId}", +"httpMethod": "GET", +"id": "osconfig.projects.locations.global.policyOrchestrators.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name.", +"location": "path", +"pattern": "^projects/[^/]+/locations/global/policyOrchestrators/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2beta/{+name}", +"response": { +"$ref": "GoogleCloudOsconfigV2beta__PolicyOrchestrator" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists the policy orchestrators under the given parent project resource.", +"flatPath": "v2beta/projects/{projectsId}/locations/global/policyOrchestrators", +"httpMethod": "GET", +"id": "osconfig.projects.locations.global.policyOrchestrators.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Optional. Filtering results", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "Optional. Hint for how to order the results", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Optional. Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. A token identifying a page of results the server should return.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent resource name.", +"location": "path", +"pattern": "^projects/[^/]+/locations/global$", +"required": true, +"type": "string" +} +}, +"path": "v2beta/{+parent}/policyOrchestrators", +"response": { +"$ref": "GoogleCloudOsconfigV2beta__ListPolicyOrchestratorsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates an existing policy orchestrator, parented by a project.", +"flatPath": "v2beta/projects/{projectsId}/locations/global/policyOrchestrators/{policyOrchestratorsId}", +"httpMethod": "PATCH", +"id": "osconfig.projects.locations.global.policyOrchestrators.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Immutable. Identifier. In form of * `organizations/{organization_id}/locations/global/policyOrchestrators/{orchestrator_id}` * `folders/{folder_id}/locations/global/policyOrchestrators/{orchestrator_id}` * `projects/{project_id_or_number}/locations/global/policyOrchestrators/{orchestrator_id}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/global/policyOrchestrators/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Optional. The list of fields to merge into the existing policy orchestrator. A special [\"*\"] field mask can be used to simply replace the entire resource. Otherwise, for all paths referenced in the mask, following merge rules are used: * output only fields are ignored, * primitive fields are replaced, * repeated fields are replaced, * map fields are merged key by key, * message fields are cleared if not set in the request, otherwise they are merged recursively (in particular - message fields set to an empty message has no side effects) If field mask (or its paths) is not specified, it is automatically inferred from the request using following rules: * primitive fields are listed, if set to a non-default value (as there is no way to distinguish between default and unset value), * map and repeated fields are listed, * `google.protobuf.Any` fields are listed, * other message fields are traversed recursively. Note: implicit mask does not allow clearing fields.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v2beta/{+name}", +"request": { +"$ref": "GoogleCloudOsconfigV2beta__PolicyOrchestrator" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +}, +"operations": { +"methods": { +"cancel": { +"description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.", +"flatPath": "v2beta/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}:cancel", +"httpMethod": "POST", +"id": "osconfig.projects.locations.operations.cancel", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be cancelled.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2beta/{+name}:cancel", +"request": { +"$ref": "CancelOperationRequest" +}, +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.", +"flatPath": "v2beta/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}", +"httpMethod": "DELETE", +"id": "osconfig.projects.locations.operations.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be deleted.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2beta/{+name}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", +"flatPath": "v2beta/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}", +"httpMethod": "GET", +"id": "osconfig.projects.locations.operations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2beta/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.", +"flatPath": "v2beta/projects/{projectsId}/locations/{locationsId}/operations", +"httpMethod": "GET", +"id": "osconfig.projects.locations.operations.list", +"parameterOrder": [ +"name" +], +"parameters": { +"filter": { +"description": "The standard list filter.", +"location": "query", +"type": "string" +}, +"name": { +"description": "The name of the operation's parent resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The standard list page size.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The standard list page token.", +"location": "query", +"type": "string" +}, +"returnPartialSuccess": { +"description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `\"projects/example/locations/-\"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", +"location": "query", +"type": "boolean" +} +}, +"path": "v2beta/{+name}/operations", +"response": { +"$ref": "ListOperationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +} +} +} +}, +"revision": "20260108", +"rootUrl": "https://osconfig.googleapis.com/", +"schemas": { +"CancelOperationRequest": { +"description": "The request message for Operations.CancelOperation.", +"id": "CancelOperationRequest", +"properties": {}, +"type": "object" +}, +"Empty": { +"description": "A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }", +"id": "Empty", +"properties": {}, +"type": "object" +}, +"FixedOrPercent": { +"description": "Message encapsulating a value that can be either absolute (\"fixed\") or relative (\"percent\") to a value.", +"id": "FixedOrPercent", +"properties": { +"fixed": { +"description": "Specifies a fixed value.", +"format": "int32", +"type": "integer" +}, +"percent": { +"description": "Specifies the relative value defined as a percentage, which will be multiplied by a reference value.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"GoogleCloudOsconfigCommonV1__OperationMetadata": { +"description": "Represents the metadata of a generic long-running operation.", +"id": "GoogleCloudOsconfigCommonV1__OperationMetadata", +"properties": { +"apiVersion": { +"description": "Output only. API version used to start the operation.", +"readOnly": true, +"type": "string" +}, +"createTime": { +"description": "Output only. The time the operation was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"endTime": { +"description": "Output only. The time the operation finished running.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"requestedCancellation": { +"description": "Output only. Identifies whether the user has requested cancellation of the operation. Operations that have successfully been cancelled have Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.", +"readOnly": true, +"type": "boolean" +}, +"statusMessage": { +"description": "Output only. Human-readable status of the operation, if any.", +"readOnly": true, +"type": "string" +}, +"target": { +"description": "Output only. Server-defined resource path for the target of the operation.", +"readOnly": true, +"type": "string" +}, +"verb": { +"description": "Output only. Name of the verb executed by the operation.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudOsconfigCommonV1alpha__OperationMetadata": { +"description": "Represents the metadata of a generic long-running operation.", +"id": "GoogleCloudOsconfigCommonV1alpha__OperationMetadata", +"properties": { +"apiVersion": { +"description": "Output only. API version used to start the operation.", +"readOnly": true, +"type": "string" +}, +"createTime": { +"description": "Output only. The time the operation was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"endTime": { +"description": "Output only. The time the operation finished running.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"requestedCancellation": { +"description": "Output only. Identifies whether the user has requested cancellation of the operation. Operations that have successfully been cancelled have Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.", +"readOnly": true, +"type": "boolean" +}, +"statusMessage": { +"description": "Output only. Human-readable status of the operation, if any.", +"readOnly": true, +"type": "string" +}, +"target": { +"description": "Output only. Server-defined resource path for the target of the operation.", +"readOnly": true, +"type": "string" +}, +"verb": { +"description": "Output only. Name of the verb executed by the operation.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudOsconfigCommonV1main__OperationMetadata": { +"description": "Represents the metadata of a generic long-running operation.", +"id": "GoogleCloudOsconfigCommonV1main__OperationMetadata", +"properties": { +"apiVersion": { +"description": "Output only. API version used to start the operation.", +"readOnly": true, +"type": "string" +}, +"createTime": { +"description": "Output only. The time the operation was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"endTime": { +"description": "Output only. The time the operation finished running.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"requestedCancellation": { +"description": "Output only. Identifies whether the user has requested cancellation of the operation. Operations that have successfully been cancelled have Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.", +"readOnly": true, +"type": "boolean" +}, +"statusMessage": { +"description": "Output only. Human-readable status of the operation, if any.", +"readOnly": true, +"type": "string" +}, +"target": { +"description": "Output only. Server-defined resource path for the target of the operation.", +"readOnly": true, +"type": "string" +}, +"verb": { +"description": "Output only. Name of the verb executed by the operation.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudOsconfigV1__OSPolicyAssignmentOperationMetadata": { +"description": "OS policy assignment operation metadata provided by OS policy assignment API methods that return long running operations.", +"id": "GoogleCloudOsconfigV1__OSPolicyAssignmentOperationMetadata", +"properties": { +"apiMethod": { +"description": "The OS policy assignment API method.", +"enum": [ +"API_METHOD_UNSPECIFIED", +"CREATE", +"UPDATE", +"DELETE" +], +"enumDescriptions": [ +"Invalid value", +"Create OS policy assignment API method", +"Update OS policy assignment API method", +"Delete OS policy assignment API method" +], +"type": "string" +}, +"osPolicyAssignment": { +"description": "Reference to the `OSPolicyAssignment` API resource. Format: `projects/{project_number}/locations/{location}/osPolicyAssignments/{os_policy_assignment_id@revision_id}`", +"type": "string" +}, +"rolloutStartTime": { +"description": "Rollout start time", +"format": "google-datetime", +"type": "string" +}, +"rolloutState": { +"description": "State of the rollout", +"enum": [ +"ROLLOUT_STATE_UNSPECIFIED", +"IN_PROGRESS", +"CANCELLING", +"CANCELLED", +"SUCCEEDED" +], +"enumDescriptions": [ +"Invalid value", +"The rollout is in progress.", +"The rollout is being cancelled.", +"The rollout is cancelled.", +"The rollout has completed successfully." +], +"type": "string" +}, +"rolloutUpdateTime": { +"description": "Rollout update time", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudOsconfigV2__OperationMetadata": { +"description": "Represents the metadata of the long-running operation.", +"id": "GoogleCloudOsconfigV2__OperationMetadata", +"properties": { +"apiVersion": { +"description": "Output only. API version used to start the operation.", +"readOnly": true, +"type": "string" +}, +"createTime": { +"description": "Output only. The time the operation was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"endTime": { +"description": "Output only. The time the operation finished running.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"requestedCancellation": { +"description": "Output only. Identifies whether the user has requested cancellation of the operation. Operations that have been cancelled successfully have Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.", +"readOnly": true, +"type": "boolean" +}, +"statusMessage": { +"description": "Output only. Human-readable status of the operation, if any.", +"readOnly": true, +"type": "string" +}, +"target": { +"description": "Output only. Server-defined resource path for the target of the operation.", +"readOnly": true, +"type": "string" +}, +"verb": { +"description": "Output only. Name of the verb executed by the operation.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudOsconfigV2beta_OrchestrationScope_LocationSelector": { +"description": "Selector containing locations in scope.", +"id": "GoogleCloudOsconfigV2beta_OrchestrationScope_LocationSelector", +"properties": { +"includedLocations": { +"description": "Optional. Names of the locations in scope. Format: `us-central1-a`", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudOsconfigV2beta_OrchestrationScope_ResourceHierarchySelector": { +"description": "Selector containing Cloud Resource Manager resource hierarchy nodes.", +"id": "GoogleCloudOsconfigV2beta_OrchestrationScope_ResourceHierarchySelector", +"properties": { +"includedFolders": { +"description": "Optional. Names of the folders in scope. Format: `folders/{folder_id}`", +"items": { +"type": "string" +}, +"type": "array" +}, +"includedProjects": { +"description": "Optional. Names of the projects in scope. Format: `projects/{project_number}`", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudOsconfigV2beta_OrchestrationScope_Selector": { +"description": "Selector for the resources in scope of orchestration.", +"id": "GoogleCloudOsconfigV2beta_OrchestrationScope_Selector", +"properties": { +"locationSelector": { +"$ref": "GoogleCloudOsconfigV2beta_OrchestrationScope_LocationSelector", +"description": "Selector for selecting locations." +}, +"resourceHierarchySelector": { +"$ref": "GoogleCloudOsconfigV2beta_OrchestrationScope_ResourceHierarchySelector", +"description": "Selector for selecting resource hierarchy." +} +}, +"type": "object" +}, +"GoogleCloudOsconfigV2beta_PolicyOrchestrator_IterationState": { +"description": "Describes the state of a single iteration of the orchestrator.", +"id": "GoogleCloudOsconfigV2beta_PolicyOrchestrator_IterationState", +"properties": { +"error": { +"$ref": "Status", +"description": "Output only. Error thrown in the wave iteration.", +"readOnly": true +}, +"failedActions": { +"description": "Output only. Number of orchestration actions which failed so far. For more details, query the Cloud Logs.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"finishTime": { +"description": "Output only. Finish time of the wave iteration.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"iterationId": { +"description": "Output only. Unique identifier of the iteration.", +"readOnly": true, +"type": "string" +}, +"performedActions": { +"description": "Output only. Overall number of actions done by the orchestrator so far.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"progress": { +"description": "Output only. An estimated percentage of the progress. Number between 0 and 100.", +"format": "float", +"readOnly": true, +"type": "number" +}, +"startTime": { +"description": "Output only. Start time of the wave iteration.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"state": { +"description": "Output only. State of the iteration.", +"enum": [ +"STATE_UNSPECIFIED", +"PROCESSING", +"COMPLETED", +"FAILED", +"CANCELLED", +"UNKNOWN" +], +"enumDescriptions": [ +"Default value. This value is unused.", +"Iteration is in progress.", +"Iteration completed, with all actions being successful.", +"Iteration completed, with failures.", +"Iteration was explicitly cancelled.", +"Impossible to determine current state of the iteration." +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudOsconfigV2beta_PolicyOrchestrator_OrchestrationState": { +"description": "Describes the state of the orchestration process.", +"id": "GoogleCloudOsconfigV2beta_PolicyOrchestrator_OrchestrationState", +"properties": { +"currentIterationState": { +"$ref": "GoogleCloudOsconfigV2beta_PolicyOrchestrator_IterationState", +"description": "Output only. Current Wave iteration state.", +"readOnly": true +}, +"previousIterationState": { +"$ref": "GoogleCloudOsconfigV2beta_PolicyOrchestrator_IterationState", +"description": "Output only. Previous Wave iteration state.", +"readOnly": true +} +}, +"type": "object" +}, +"GoogleCloudOsconfigV2beta__ListPolicyOrchestratorsResponse": { +"description": "Response for the list policy orchestrator resources.", +"id": "GoogleCloudOsconfigV2beta__ListPolicyOrchestratorsResponse", +"properties": { +"nextPageToken": { +"description": "A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.", +"type": "string" +}, +"policyOrchestrators": { +"description": "The policy orchestrators for the specified parent resource.", +"items": { +"$ref": "GoogleCloudOsconfigV2beta__PolicyOrchestrator" +}, +"type": "array" +}, +"unreachable": { +"description": "Locations that could not be reached.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudOsconfigV2beta__OperationMetadata": { +"description": "Represents the metadata of the long-running operation.", +"id": "GoogleCloudOsconfigV2beta__OperationMetadata", +"properties": { +"apiVersion": { +"description": "Output only. API version used to start the operation.", +"readOnly": true, +"type": "string" +}, +"createTime": { +"description": "Output only. The time the operation was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"endTime": { +"description": "Output only. The time the operation finished running.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"requestedCancellation": { +"description": "Output only. Identifies whether the user has requested cancellation of the operation. Operations that have been cancelled successfully have Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.", +"readOnly": true, +"type": "boolean" +}, +"statusMessage": { +"description": "Output only. Human-readable status of the operation, if any.", +"readOnly": true, +"type": "string" +}, +"target": { +"description": "Output only. Server-defined resource path for the target of the operation.", +"readOnly": true, +"type": "string" +}, +"verb": { +"description": "Output only. Name of the verb executed by the operation.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudOsconfigV2beta__OrchestratedResource": { +"description": "Represents a resource that is being orchestrated by the policy orchestrator.", +"id": "GoogleCloudOsconfigV2beta__OrchestratedResource", +"properties": { +"id": { +"description": "Optional. ID of the resource to be used while generating set of affected resources. For UPSERT action the value is auto-generated during PolicyOrchestrator creation when not set. When the value is set it should following next restrictions: * Must contain only lowercase letters, numbers, and hyphens. * Must start with a letter. * Must be between 1-63 characters. * Must end with a number or a letter. * Must be unique within the project. For DELETE action, ID must be specified explicitly during PolicyOrchestrator creation.", +"type": "string" +}, +"osPolicyAssignmentV1Payload": { +"$ref": "OSPolicyAssignment", +"description": "Optional. OSPolicyAssignment resource to be created, updated or deleted. Name field is ignored and replace with a generated value. With this field set, orchestrator will perform actions on `project/{project}/locations/{zone}/osPolicyAssignments/{resource_id}` resources, where `project` and `zone` pairs come from the expanded scope, and `resource_id` comes from the `resource_id` field of orchestrator resource." +} +}, +"type": "object" +}, +"GoogleCloudOsconfigV2beta__OrchestrationScope": { +"description": "Defines a set of selectors which drive which resources are in scope of policy orchestration.", +"id": "GoogleCloudOsconfigV2beta__OrchestrationScope", +"properties": { +"selectors": { +"description": "Optional. Selectors of the orchestration scope. There is a logical AND between each selector defined. When there is no explicit `ResourceHierarchySelector` selector specified, the scope is by default bounded to the parent of the policy orchestrator resource.", +"items": { +"$ref": "GoogleCloudOsconfigV2beta_OrchestrationScope_Selector" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudOsconfigV2beta__PolicyOrchestrator": { +"description": "PolicyOrchestrator helps managing project+zone level policy resources (e.g. OS Policy Assignments), by providing tools to create, update and delete them across projects and locations, at scale. Policy orchestrator functions as an endless loop. Each iteration orchestrator computes a set of resources that should be affected, then progressively applies changes to them. If for some reason this set of resources changes over time (e.g. new projects are added), the future loop iterations will address that. Orchestrator can either upsert or delete policy resources. For more details, see the description of the `action`, and `orchestrated_resource` fields. Note that policy orchestrator do not \"manage\" the resources it creates. Every iteration is independent and only minimal history of past actions is retained (apart from Cloud Logging). If orchestrator gets deleted, it does not affect the resources it created in the past. Those will remain where they were. Same applies if projects are removed from the orchestrator's scope.", +"id": "GoogleCloudOsconfigV2beta__PolicyOrchestrator", +"properties": { +"action": { +"description": "Required. Action to be done by the orchestrator in `projects/{project_id}/zones/{zone_id}` locations defined by the `orchestration_scope`. Allowed values: - `UPSERT` - Orchestrator will create or update target resources. - `DELETE` - Orchestrator will delete target resources, if they exist", +"type": "string" +}, +"createTime": { +"description": "Output only. Timestamp when the policy orchestrator resource was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"description": { +"description": "Optional. Freeform text describing the purpose of the resource.", +"type": "string" +}, +"etag": { +"description": "Output only. This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.", +"readOnly": true, +"type": "string" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. Labels as key value pairs", +"type": "object" +}, +"name": { +"description": "Immutable. Identifier. In form of * `organizations/{organization_id}/locations/global/policyOrchestrators/{orchestrator_id}` * `folders/{folder_id}/locations/global/policyOrchestrators/{orchestrator_id}` * `projects/{project_id_or_number}/locations/global/policyOrchestrators/{orchestrator_id}`", +"type": "string" +}, +"orchestratedResource": { +"$ref": "GoogleCloudOsconfigV2beta__OrchestratedResource", +"description": "Required. Resource to be orchestrated by the policy orchestrator." +}, +"orchestrationScope": { +"$ref": "GoogleCloudOsconfigV2beta__OrchestrationScope", +"description": "Optional. Defines scope for the orchestration, in context of the enclosing PolicyOrchestrator resource. Scope is expanded into a list of pairs, in which the rollout action will take place. Expansion starts with a Folder resource parenting the PolicyOrchestrator resource: - All the descendant projects are listed. - List of project is cross joined with a list of all available zones. - Resulting list of pairs is filtered according to the selectors." +}, +"orchestrationState": { +"$ref": "GoogleCloudOsconfigV2beta_PolicyOrchestrator_OrchestrationState", +"description": "Output only. State of the orchestration.", +"readOnly": true +}, +"reconciling": { +"description": "Output only. Set to true, if the there are ongoing changes being applied by the orchestrator.", +"readOnly": true, +"type": "boolean" +}, +"state": { +"description": "Optional. State of the orchestrator. Can be updated to change orchestrator behaviour. Allowed values: - `ACTIVE` - orchestrator is actively looking for actions to be taken. - `STOPPED` - orchestrator won't make any changes. Note: There might be more states added in the future. We use string here instead of an enum, to avoid the need of propagating new states to all the client code.", +"type": "string" +}, +"updateTime": { +"description": "Output only. Timestamp when the policy orchestrator resource was last modified.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"ListOperationsResponse": { +"description": "The response message for Operations.ListOperations.", +"id": "ListOperationsResponse", +"properties": { +"nextPageToken": { +"description": "The standard List next-page token.", +"type": "string" +}, +"operations": { +"description": "A list of operations that matches the specified filter in the request.", +"items": { +"$ref": "Operation" +}, +"type": "array" +}, +"unreachable": { +"description": "Unordered list. Unreachable resources. Populated when the request sets `ListOperationsRequest.return_partial_success` and reads across collections. For example, when attempting to list all resources across all supported locations.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"MessageSet": { +"deprecated": true, +"description": "This is proto2's version of MessageSet. DEPRECATED: DO NOT USE FOR NEW FIELDS. If you are using editions or proto2, please make your own extendable messages for your use case. If you are using proto3, please use `Any` instead. MessageSet was the implementation of extensions for proto1. When proto2 was introduced, extensions were implemented as a first-class feature. This schema for MessageSet was meant to be a \"bridge\" solution to migrate MessageSet-bearing messages from proto1 to proto2. This schema has been open-sourced only to facilitate the migration of Google products with MessageSet-bearing messages to open-source environments.", +"id": "MessageSet", +"properties": {}, +"type": "object" +}, +"OSPolicy": { +"description": "An OS policy defines the desired state configuration for a VM.", +"id": "OSPolicy", +"properties": { +"allowNoResourceGroupMatch": { +"description": "This flag determines the OS policy compliance status when none of the resource groups within the policy are applicable for a VM. Set this value to `true` if the policy needs to be reported as compliant even if the policy has nothing to validate or enforce.", +"type": "boolean" +}, +"description": { +"description": "Policy description. Length of the description is limited to 1024 characters.", +"type": "string" +}, +"id": { +"description": "Required. The id of the OS policy with the following restrictions: * Must contain only lowercase letters, numbers, and hyphens. * Must start with a letter. * Must be between 1-63 characters. * Must end with a number or a letter. * Must be unique within the assignment.", +"type": "string" +}, +"mode": { +"description": "Required. Policy mode", +"enum": [ +"MODE_UNSPECIFIED", +"VALIDATION", +"ENFORCEMENT" +], +"enumDescriptions": [ +"Invalid mode", +"This mode checks if the configuration resources in the policy are in their desired state. No actions are performed if they are not in the desired state. This mode is used for reporting purposes.", +"This mode checks if the configuration resources in the policy are in their desired state, and if not, enforces the desired state." +], +"type": "string" +}, +"resourceGroups": { +"description": "Required. List of resource groups for the policy. For a particular VM, resource groups are evaluated in the order specified and the first resource group that is applicable is selected and the rest are ignored. If none of the resource groups are applicable for a VM, the VM is considered to be non-compliant w.r.t this policy. This behavior can be toggled by the flag `allow_no_resource_group_match`", +"items": { +"$ref": "OSPolicyResourceGroup" +}, +"type": "array" +} +}, +"type": "object" +}, +"OSPolicyAssignment": { +"description": "OS policy assignment is an API resource that is used to apply a set of OS policies to a dynamically targeted group of Compute Engine VM instances. An OS policy is used to define the desired state configuration for a Compute Engine VM instance through a set of configuration resources that provide capabilities such as installing or removing software packages, or executing a script. For more information about the OS policy resource definitions and examples, see [OS policy and OS policy assignment](https://cloud.google.com/compute/docs/os-configuration-management/working-with-os-policies).", +"id": "OSPolicyAssignment", +"properties": { +"baseline": { +"description": "Output only. Indicates that this revision has been successfully rolled out in this zone and new VMs will be assigned OS policies from this revision. For a given OS policy assignment, there is only one revision with a value of `true` for this field.", +"readOnly": true, +"type": "boolean" +}, +"deleted": { +"description": "Output only. Indicates that this revision deletes the OS policy assignment.", +"readOnly": true, +"type": "boolean" +}, +"description": { +"description": "OS policy assignment description. Length of the description is limited to 1024 characters.", +"type": "string" +}, +"etag": { +"description": "The etag for this OS policy assignment. If this is provided on update, it must match the server's etag.", +"type": "string" +}, +"instanceFilter": { +"$ref": "OSPolicyAssignmentInstanceFilter", +"description": "Required. Filter to select VMs." +}, +"name": { +"description": "Resource name. Format: `projects/{project_number}/locations/{location}/osPolicyAssignments/{os_policy_assignment_id}` This field is ignored when you create an OS policy assignment.", +"type": "string" +}, +"osPolicies": { +"description": "Required. List of OS policies to be applied to the VMs.", +"items": { +"$ref": "OSPolicy" +}, +"type": "array" +}, +"reconciling": { +"description": "Output only. Indicates that reconciliation is in progress for the revision. This value is `true` when the `rollout_state` is one of: * IN_PROGRESS * CANCELLING", +"readOnly": true, +"type": "boolean" +}, +"revisionCreateTime": { +"description": "Output only. The timestamp that the revision was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"revisionId": { +"description": "Output only. The assignment revision ID A new revision is committed whenever a rollout is triggered for a OS policy assignment", +"readOnly": true, +"type": "string" +}, +"rollout": { +"$ref": "OSPolicyAssignmentRollout", +"description": "Required. Rollout to deploy the OS policy assignment. A rollout is triggered in the following situations: 1) OSPolicyAssignment is created. 2) OSPolicyAssignment is updated and the update contains changes to one of the following fields: - instance_filter - os_policies 3) OSPolicyAssignment is deleted." +}, +"rolloutState": { +"description": "Output only. OS policy assignment rollout state", +"enum": [ +"ROLLOUT_STATE_UNSPECIFIED", +"IN_PROGRESS", +"CANCELLING", +"CANCELLED", +"SUCCEEDED" +], +"enumDescriptions": [ +"Invalid value", +"The rollout is in progress.", +"The rollout is being cancelled.", +"The rollout is cancelled.", +"The rollout has completed successfully." +], +"readOnly": true, +"type": "string" +}, +"uid": { +"description": "Output only. Server generated unique id for the OS policy assignment resource.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"OSPolicyAssignmentInstanceFilter": { +"description": "Filters to select target VMs for an assignment. If more than one filter criteria is specified below, a VM will be selected if and only if it satisfies all of them.", +"id": "OSPolicyAssignmentInstanceFilter", +"properties": { +"all": { +"description": "Target all VMs in the project. If true, no other criteria is permitted.", +"type": "boolean" +}, +"exclusionLabels": { +"description": "List of label sets used for VM exclusion. If the list has more than one label set, the VM is excluded if any of the label sets are applicable for the VM.", +"items": { +"$ref": "OSPolicyAssignmentLabelSet" +}, +"type": "array" +}, +"inclusionLabels": { +"description": "List of label sets used for VM inclusion. If the list has more than one `LabelSet`, the VM is included if any of the label sets are applicable for the VM.", +"items": { +"$ref": "OSPolicyAssignmentLabelSet" +}, +"type": "array" +}, +"inventories": { +"description": "List of inventories to select VMs. A VM is selected if its inventory data matches at least one of the following inventories.", +"items": { +"$ref": "OSPolicyAssignmentInstanceFilterInventory" +}, +"type": "array" +} +}, +"type": "object" +}, +"OSPolicyAssignmentInstanceFilterInventory": { +"description": "VM inventory details.", +"id": "OSPolicyAssignmentInstanceFilterInventory", +"properties": { +"osShortName": { +"description": "Required. The OS short name", +"type": "string" +}, +"osVersion": { +"description": "The OS version Prefix matches are supported if asterisk(*) is provided as the last character. For example, to match all versions with a major version of `7`, specify the following value for this field `7.*` An empty string matches all OS versions.", +"type": "string" +} +}, +"type": "object" +}, +"OSPolicyAssignmentLabelSet": { +"description": "Message representing label set. * A label is a key value pair set for a VM. * A LabelSet is a set of labels. * Labels within a LabelSet are ANDed. In other words, a LabelSet is applicable for a VM only if it matches all the labels in the LabelSet. * Example: A LabelSet with 2 labels: `env=prod` and `type=webserver` will only be applicable for those VMs with both labels present.", +"id": "OSPolicyAssignmentLabelSet", +"properties": { +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Labels are identified by key/value pairs in this map. A VM should contain all the key/value pairs specified in this map to be selected.", +"type": "object" +} +}, +"type": "object" +}, +"OSPolicyAssignmentOperationMetadata": { +"description": "OS policy assignment operation metadata provided by OS policy assignment API methods that return long running operations.", +"id": "OSPolicyAssignmentOperationMetadata", +"properties": { +"apiMethod": { +"description": "The OS policy assignment API method.", +"enum": [ +"API_METHOD_UNSPECIFIED", +"CREATE", +"UPDATE", +"DELETE" +], +"enumDescriptions": [ +"Invalid value", +"Create OS policy assignment API method", +"Update OS policy assignment API method", +"Delete OS policy assignment API method" +], +"type": "string" +}, +"osPolicyAssignment": { +"description": "Reference to the `OSPolicyAssignment` API resource. Format: `projects/{project_number}/locations/{location}/osPolicyAssignments/{os_policy_assignment_id@revision_id}`", +"type": "string" +}, +"rolloutStartTime": { +"description": "Rollout start time", +"format": "google-datetime", +"type": "string" +}, +"rolloutState": { +"description": "State of the rollout", +"enum": [ +"ROLLOUT_STATE_UNSPECIFIED", +"IN_PROGRESS", +"CANCELLING", +"CANCELLED", +"SUCCEEDED" +], +"enumDescriptions": [ +"Invalid value", +"The rollout is in progress.", +"The rollout is being cancelled.", +"The rollout is cancelled.", +"The rollout has completed successfully." +], +"type": "string" +}, +"rolloutUpdateTime": { +"description": "Rollout update time", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"OSPolicyAssignmentRollout": { +"description": "Message to configure the rollout at the zonal level for the OS policy assignment.", +"id": "OSPolicyAssignmentRollout", +"properties": { +"disruptionBudget": { +"$ref": "FixedOrPercent", +"description": "Required. The maximum number (or percentage) of VMs per zone to disrupt at any given moment." +}, +"minWaitDuration": { +"description": "Required. This determines the minimum duration of time to wait after the configuration changes are applied through the current rollout. A VM continues to count towards the `disruption_budget` at least until this duration of time has passed after configuration changes are applied.", +"format": "google-duration", +"type": "string" +} +}, +"type": "object" +}, +"OSPolicyInventoryFilter": { +"description": "Filtering criteria to select VMs based on inventory details.", +"id": "OSPolicyInventoryFilter", +"properties": { +"osShortName": { +"description": "Required. The OS short name", +"type": "string" +}, +"osVersion": { +"description": "The OS version Prefix matches are supported if asterisk(*) is provided as the last character. For example, to match all versions with a major version of `7`, specify the following value for this field `7.*` An empty string matches all OS versions.", +"type": "string" +} +}, +"type": "object" +}, +"OSPolicyResource": { +"description": "An OS policy resource is used to define the desired state configuration and provides a specific functionality like installing/removing packages, executing a script etc. The system ensures that resources are always in their desired state by taking necessary actions if they have drifted from their desired state.", +"id": "OSPolicyResource", +"properties": { +"exec": { +"$ref": "OSPolicyResourceExecResource", +"description": "Exec resource" +}, +"file": { +"$ref": "OSPolicyResourceFileResource", +"description": "File resource" +}, +"id": { +"description": "Required. The id of the resource with the following restrictions: * Must contain only lowercase letters, numbers, and hyphens. * Must start with a letter. * Must be between 1-63 characters. * Must end with a number or a letter. * Must be unique within the OS policy.", +"type": "string" +}, +"pkg": { +"$ref": "OSPolicyResourcePackageResource", +"description": "Package resource" +}, +"repository": { +"$ref": "OSPolicyResourceRepositoryResource", +"description": "Package repository resource" +} +}, +"type": "object" +}, +"OSPolicyResourceExecResource": { +"description": "A resource that allows executing scripts on the VM. The `ExecResource` has 2 stages: `validate` and `enforce` and both stages accept a script as an argument to execute. When the `ExecResource` is applied by the agent, it first executes the script in the `validate` stage. The `validate` stage can signal that the `ExecResource` is already in the desired state by returning an exit code of `100`. If the `ExecResource` is not in the desired state, it should return an exit code of `101`. Any other exit code returned by this stage is considered an error. If the `ExecResource` is not in the desired state based on the exit code from the `validate` stage, the agent proceeds to execute the script from the `enforce` stage. If the `ExecResource` is already in the desired state, the `enforce` stage will not be run. Similar to `validate` stage, the `enforce` stage should return an exit code of `100` to indicate that the resource in now in its desired state. Any other exit code is considered an error. NOTE: An exit code of `100` was chosen over `0` (and `101` vs `1`) to have an explicit indicator of `in desired state`, `not in desired state` and errors. Because, for example, Powershell will always return an exit code of `0` unless an `exit` statement is provided in the script. So, for reasons of consistency and being explicit, exit codes `100` and `101` were chosen.", +"id": "OSPolicyResourceExecResource", +"properties": { +"enforce": { +"$ref": "OSPolicyResourceExecResourceExec", +"description": "What to run to bring this resource into the desired state. An exit code of 100 indicates \"success\", any other exit code indicates a failure running enforce." +}, +"validate": { +"$ref": "OSPolicyResourceExecResourceExec", +"description": "Required. What to run to validate this resource is in the desired state. An exit code of 100 indicates \"in desired state\", and exit code of 101 indicates \"not in desired state\". Any other exit code indicates a failure running validate." +} +}, +"type": "object" +}, +"OSPolicyResourceExecResourceExec": { +"description": "A file or script to execute.", +"id": "OSPolicyResourceExecResourceExec", +"properties": { +"args": { +"description": "Optional arguments to pass to the source during execution.", +"items": { +"type": "string" +}, +"type": "array" +}, +"file": { +"$ref": "OSPolicyResourceFile", +"description": "A remote or local file." +}, +"interpreter": { +"description": "Required. The script interpreter to use.", +"enum": [ +"INTERPRETER_UNSPECIFIED", +"NONE", +"SHELL", +"POWERSHELL" +], +"enumDescriptions": [ +"Invalid value, the request will return validation error.", +"If an interpreter is not specified, the source is executed directly. This execution, without an interpreter, only succeeds for executables and scripts that have shebang lines.", +"Indicates that the script runs with `/bin/sh` on Linux and `cmd.exe` on Windows.", +"Indicates that the script runs with PowerShell." +], +"type": "string" +}, +"outputFilePath": { +"description": "Only recorded for enforce Exec. Path to an output file (that is created by this Exec) whose content will be recorded in OSPolicyResourceCompliance after a successful run. Absence or failure to read this file will result in this ExecResource being non-compliant. Output file size is limited to 500K bytes.", +"type": "string" +}, +"script": { +"description": "An inline script. The size of the script is limited to 32KiB.", +"type": "string" +} +}, +"type": "object" +}, +"OSPolicyResourceFile": { +"description": "A remote or local file.", +"id": "OSPolicyResourceFile", +"properties": { +"allowInsecure": { +"description": "Defaults to false. When false, files are subject to validations based on the file type: Remote: A checksum must be specified. Cloud Storage: An object generation number must be specified.", +"type": "boolean" +}, +"gcs": { +"$ref": "OSPolicyResourceFileGcs", +"description": "A Cloud Storage object." +}, +"localPath": { +"description": "A local path within the VM to use.", +"type": "string" +}, +"remote": { +"$ref": "OSPolicyResourceFileRemote", +"description": "A generic remote file." +} +}, +"type": "object" +}, +"OSPolicyResourceFileGcs": { +"description": "Specifies a file available as a Cloud Storage Object.", +"id": "OSPolicyResourceFileGcs", +"properties": { +"bucket": { +"description": "Required. Bucket of the Cloud Storage object.", +"type": "string" +}, +"generation": { +"description": "Generation number of the Cloud Storage object.", +"format": "int64", +"type": "string" +}, +"object": { +"description": "Required. Name of the Cloud Storage object.", +"type": "string" +} +}, +"type": "object" +}, +"OSPolicyResourceFileRemote": { +"description": "Specifies a file available via some URI.", +"id": "OSPolicyResourceFileRemote", +"properties": { +"sha256Checksum": { +"description": "SHA256 checksum of the remote file.", +"type": "string" +}, +"uri": { +"description": "Required. URI from which to fetch the object. It should contain both the protocol and path following the format `{protocol}://{location}`.", +"type": "string" +} +}, +"type": "object" +}, +"OSPolicyResourceFileResource": { +"description": "A resource that manages the state of a file.", +"id": "OSPolicyResourceFileResource", +"properties": { +"content": { +"description": "A a file with this content. The size of the content is limited to 32KiB.", +"type": "string" +}, +"file": { +"$ref": "OSPolicyResourceFile", +"description": "A remote or local source." +}, +"path": { +"description": "Required. The absolute path of the file within the VM.", +"type": "string" +}, +"permissions": { +"description": "Consists of three octal digits which represent, in order, the permissions of the owner, group, and other users for the file (similarly to the numeric mode used in the linux chmod utility). Each digit represents a three bit number with the 4 bit corresponding to the read permissions, the 2 bit corresponds to the write bit, and the one bit corresponds to the execute permission. Default behavior is 755. Below are some examples of permissions and their associated values: read, write, and execute: 7 read and execute: 5 read and write: 6 read only: 4", +"type": "string" +}, +"state": { +"description": "Required. Desired state of the file.", +"enum": [ +"DESIRED_STATE_UNSPECIFIED", +"PRESENT", +"ABSENT", +"CONTENTS_MATCH" +], +"enumDescriptions": [ +"Unspecified is invalid.", +"Ensure file at path is present.", +"Ensure file at path is absent.", +"Ensure the contents of the file at path matches. If the file does not exist it will be created." +], +"type": "string" +} +}, +"type": "object" +}, +"OSPolicyResourceGroup": { +"description": "Resource groups provide a mechanism to group OS policy resources. Resource groups enable OS policy authors to create a single OS policy to be applied to VMs running different operating Systems. When the OS policy is applied to a target VM, the appropriate resource group within the OS policy is selected based on the `OSFilter` specified within the resource group.", +"id": "OSPolicyResourceGroup", +"properties": { +"inventoryFilters": { +"description": "List of inventory filters for the resource group. The resources in this resource group are applied to the target VM if it satisfies at least one of the following inventory filters. For example, to apply this resource group to VMs running either `RHEL` or `CentOS` operating systems, specify 2 items for the list with following values: inventory_filters[0].os_short_name='rhel' and inventory_filters[1].os_short_name='centos' If the list is empty, this resource group will be applied to the target VM unconditionally.", +"items": { +"$ref": "OSPolicyInventoryFilter" +}, +"type": "array" +}, +"resources": { +"description": "Required. List of resources configured for this resource group. The resources are executed in the exact order specified here.", +"items": { +"$ref": "OSPolicyResource" +}, +"type": "array" +} +}, +"type": "object" +}, +"OSPolicyResourcePackageResource": { +"description": "A resource that manages a system package.", +"id": "OSPolicyResourcePackageResource", +"properties": { +"apt": { +"$ref": "OSPolicyResourcePackageResourceAPT", +"description": "A package managed by Apt." +}, +"deb": { +"$ref": "OSPolicyResourcePackageResourceDeb", +"description": "A deb package file." +}, +"desiredState": { +"description": "Required. The desired state the agent should maintain for this package.", +"enum": [ +"DESIRED_STATE_UNSPECIFIED", +"INSTALLED", +"REMOVED" +], +"enumDescriptions": [ +"Unspecified is invalid.", +"Ensure that the package is installed.", +"The agent ensures that the package is not installed and uninstalls it if detected." +], +"type": "string" +}, +"googet": { +"$ref": "OSPolicyResourcePackageResourceGooGet", +"description": "A package managed by GooGet." +}, +"msi": { +"$ref": "OSPolicyResourcePackageResourceMSI", +"description": "An MSI package." +}, +"rpm": { +"$ref": "OSPolicyResourcePackageResourceRPM", +"description": "An rpm package file." +}, +"yum": { +"$ref": "OSPolicyResourcePackageResourceYUM", +"description": "A package managed by YUM." +}, +"zypper": { +"$ref": "OSPolicyResourcePackageResourceZypper", +"description": "A package managed by Zypper." +} +}, +"type": "object" +}, +"OSPolicyResourcePackageResourceAPT": { +"description": "A package managed by APT. - install: `apt-get update && apt-get -y install [name]` - remove: `apt-get -y remove [name]`", +"id": "OSPolicyResourcePackageResourceAPT", +"properties": { +"name": { +"description": "Required. Package name.", +"type": "string" +} +}, +"type": "object" +}, +"OSPolicyResourcePackageResourceDeb": { +"description": "A deb package file. dpkg packages only support INSTALLED state.", +"id": "OSPolicyResourcePackageResourceDeb", +"properties": { +"pullDeps": { +"description": "Whether dependencies should also be installed. - install when false: `dpkg -i package` - install when true: `apt-get update && apt-get -y install package.deb`", +"type": "boolean" +}, +"source": { +"$ref": "OSPolicyResourceFile", +"description": "Required. A deb package." +} +}, +"type": "object" +}, +"OSPolicyResourcePackageResourceGooGet": { +"description": "A package managed by GooGet. - install: `googet -noconfirm install package` - remove: `googet -noconfirm remove package`", +"id": "OSPolicyResourcePackageResourceGooGet", +"properties": { +"name": { +"description": "Required. Package name.", +"type": "string" +} +}, +"type": "object" +}, +"OSPolicyResourcePackageResourceMSI": { +"description": "An MSI package. MSI packages only support INSTALLED state.", +"id": "OSPolicyResourcePackageResourceMSI", +"properties": { +"properties": { +"description": "Additional properties to use during installation. This should be in the format of Property=Setting. Appended to the defaults of `ACTION=INSTALL REBOOT=ReallySuppress`.", +"items": { +"type": "string" +}, +"type": "array" +}, +"source": { +"$ref": "OSPolicyResourceFile", +"description": "Required. The MSI package." +} +}, +"type": "object" +}, +"OSPolicyResourcePackageResourceRPM": { +"description": "An RPM package file. RPM packages only support INSTALLED state.", +"id": "OSPolicyResourcePackageResourceRPM", +"properties": { +"pullDeps": { +"description": "Whether dependencies should also be installed. - install when false: `rpm --upgrade --replacepkgs package.rpm` - install when true: `yum -y install package.rpm` or `zypper -y install package.rpm`", +"type": "boolean" +}, +"source": { +"$ref": "OSPolicyResourceFile", +"description": "Required. An rpm package." +} +}, +"type": "object" +}, +"OSPolicyResourcePackageResourceYUM": { +"description": "A package managed by YUM. - install: `yum -y install package` - remove: `yum -y remove package`", +"id": "OSPolicyResourcePackageResourceYUM", +"properties": { +"name": { +"description": "Required. Package name.", +"type": "string" +} +}, +"type": "object" +}, +"OSPolicyResourcePackageResourceZypper": { +"description": "A package managed by Zypper. - install: `zypper -y install package` - remove: `zypper -y rm package`", +"id": "OSPolicyResourcePackageResourceZypper", +"properties": { +"name": { +"description": "Required. Package name.", +"type": "string" +} +}, +"type": "object" +}, +"OSPolicyResourceRepositoryResource": { +"description": "A resource that manages a package repository.", +"id": "OSPolicyResourceRepositoryResource", +"properties": { +"apt": { +"$ref": "OSPolicyResourceRepositoryResourceAptRepository", +"description": "An Apt Repository." +}, +"goo": { +"$ref": "OSPolicyResourceRepositoryResourceGooRepository", +"description": "A Goo Repository." +}, +"yum": { +"$ref": "OSPolicyResourceRepositoryResourceYumRepository", +"description": "A Yum Repository." +}, +"zypper": { +"$ref": "OSPolicyResourceRepositoryResourceZypperRepository", +"description": "A Zypper Repository." +} +}, +"type": "object" +}, +"OSPolicyResourceRepositoryResourceAptRepository": { +"description": "Represents a single apt package repository. These will be added to a repo file that will be managed at `/etc/apt/sources.list.d/google_osconfig.list`.", +"id": "OSPolicyResourceRepositoryResourceAptRepository", +"properties": { +"archiveType": { +"description": "Required. Type of archive files in this repository.", +"enum": [ +"ARCHIVE_TYPE_UNSPECIFIED", +"DEB", +"DEB_SRC" +], +"enumDescriptions": [ +"Unspecified is invalid.", +"Deb indicates that the archive contains binary files.", +"Deb-src indicates that the archive contains source files." +], +"type": "string" +}, +"components": { +"description": "Required. List of components for this repository. Must contain at least one item.", +"items": { +"type": "string" +}, +"type": "array" +}, +"distribution": { +"description": "Required. Distribution of this repository.", +"type": "string" +}, +"gpgKey": { +"description": "URI of the key file for this repository. The agent maintains a keyring at `/etc/apt/trusted.gpg.d/osconfig_agent_managed.gpg`.", +"type": "string" +}, +"uri": { +"description": "Required. URI for this repository.", +"type": "string" +} +}, +"type": "object" +}, +"OSPolicyResourceRepositoryResourceGooRepository": { +"description": "Represents a Goo package repository. These are added to a repo file that is managed at `C:/ProgramData/GooGet/repos/google_osconfig.repo`.", +"id": "OSPolicyResourceRepositoryResourceGooRepository", +"properties": { +"name": { +"description": "Required. The name of the repository.", +"type": "string" +}, +"url": { +"description": "Required. The url of the repository.", +"type": "string" +} +}, +"type": "object" +}, +"OSPolicyResourceRepositoryResourceYumRepository": { +"description": "Represents a single yum package repository. These are added to a repo file that is managed at `/etc/yum.repos.d/google_osconfig.repo`.", +"id": "OSPolicyResourceRepositoryResourceYumRepository", +"properties": { +"baseUrl": { +"description": "Required. The location of the repository directory.", +"type": "string" +}, +"displayName": { +"description": "The display name of the repository.", +"type": "string" +}, +"gpgKeys": { +"description": "URIs of GPG keys.", +"items": { +"type": "string" +}, +"type": "array" +}, +"id": { +"description": "Required. A one word, unique name for this repository. This is the `repo id` in the yum config file and also the `display_name` if `display_name` is omitted. This id is also used as the unique identifier when checking for resource conflicts.", +"type": "string" +} +}, +"type": "object" +}, +"OSPolicyResourceRepositoryResourceZypperRepository": { +"description": "Represents a single zypper package repository. These are added to a repo file that is managed at `/etc/zypp/repos.d/google_osconfig.repo`.", +"id": "OSPolicyResourceRepositoryResourceZypperRepository", +"properties": { +"baseUrl": { +"description": "Required. The location of the repository directory.", +"type": "string" +}, +"displayName": { +"description": "The display name of the repository.", +"type": "string" +}, +"gpgKeys": { +"description": "URIs of GPG keys.", +"items": { +"type": "string" +}, +"type": "array" +}, +"id": { +"description": "Required. A one word, unique name for this repository. This is the `repo id` in the zypper config file and also the `display_name` if `display_name` is omitted. This id is also used as the unique identifier when checking for GuestPolicy conflicts.", +"type": "string" +} +}, +"type": "object" +}, +"Operation": { +"description": "This resource represents a long-running operation that is the result of a network API call.", +"id": "Operation", +"properties": { +"done": { +"description": "If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.", +"type": "boolean" +}, +"error": { +"$ref": "Status", +"description": "The error result of the operation in case of failure or cancellation." +}, +"metadata": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.", +"type": "object" +}, +"name": { +"description": "The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.", +"type": "string" +}, +"response": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "The normal, successful response of the operation. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.", +"type": "object" +} +}, +"type": "object" +}, +"Status": { +"description": "The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors).", +"id": "Status", +"properties": { +"code": { +"description": "The status code, which should be an enum value of google.rpc.Code.", +"format": "int32", +"type": "integer" +}, +"details": { +"description": "A list of messages that carry the error details. There is a common set of message types for APIs to use.", +"items": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.", +"type": "string" +} +}, +"type": "object" +}, +"StatusProto": { +"description": "Wire-format for a Status object", +"id": "StatusProto", +"properties": { +"canonicalCode": { +"description": "copybara:strip_begin(b/383363683) copybara:strip_end_and_replace optional int32 canonical_code = 6;", +"format": "int32", +"type": "integer" +}, +"code": { +"description": "Numeric code drawn from the space specified below. Often, this is the canonical error space, and code is drawn from google3/util/task/codes.proto copybara:strip_begin(b/383363683) copybara:strip_end_and_replace optional int32 code = 1;", +"format": "int32", +"type": "integer" +}, +"message": { +"description": "Detail message copybara:strip_begin(b/383363683) copybara:strip_end_and_replace optional string message = 3;", +"type": "string" +}, +"messageSet": { +"$ref": "MessageSet", +"description": "message_set associates an arbitrary proto message with the status. copybara:strip_begin(b/383363683) copybara:strip_end_and_replace optional proto2.bridge.MessageSet message_set = 5;" +}, +"space": { +"description": "copybara:strip_begin(b/383363683) Space to which this status belongs copybara:strip_end_and_replace optional string space = 2; // Space to which this status belongs", +"type": "string" +} +}, +"type": "object" +} +}, +"servicePath": "", +"title": "OS Config API", +"version": "v2beta", +"version_module": true +} \ No newline at end of file diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/oslogin.v1.json b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/oslogin.v1.json new file mode 100644 index 0000000000000000000000000000000000000000..20cf5cb4e01c26f179e3ff96f2bc9f52b2f56306 --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/oslogin.v1.json @@ -0,0 +1,610 @@ +{ +"auth": { +"oauth2": { +"scopes": { +"https://www.googleapis.com/auth/cloud-platform": { +"description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." +}, +"https://www.googleapis.com/auth/cloud-platform.read-only": { +"description": "View your data across Google Cloud services and see the email address of your Google Account" +}, +"https://www.googleapis.com/auth/compute": { +"description": "View and manage your Google Compute Engine resources" +}, +"https://www.googleapis.com/auth/compute.readonly": { +"description": "View your Google Compute Engine resources" +} +} +} +}, +"basePath": "", +"baseUrl": "https://oslogin.googleapis.com/", +"batchPath": "batch", +"canonicalName": "Cloud OS Login", +"description": "You can use OS Login to manage access to your VM instances using IAM roles.", +"discoveryVersion": "v1", +"documentationLink": "https://cloud.google.com/compute/docs/oslogin/", +"fullyEncodeReservedExpansion": true, +"icons": { +"x16": "http://www.google.com/images/icons/product/search-16.gif", +"x32": "http://www.google.com/images/icons/product/search-32.gif" +}, +"id": "oslogin:v1", +"kind": "discovery#restDescription", +"mtlsRootUrl": "https://oslogin.mtls.googleapis.com/", +"name": "oslogin", +"ownerDomain": "google.com", +"ownerName": "Google", +"parameters": { +"$.xgafv": { +"description": "V1 error format.", +"enum": [ +"1", +"2" +], +"enumDescriptions": [ +"v1 error format", +"v2 error format" +], +"location": "query", +"type": "string" +}, +"access_token": { +"description": "OAuth access token.", +"location": "query", +"type": "string" +}, +"alt": { +"default": "json", +"description": "Data format for response.", +"enum": [ +"json", +"media", +"proto" +], +"enumDescriptions": [ +"Responses with Content-Type of application/json", +"Media download with context-dependent Content-Type", +"Responses with Content-Type of application/x-protobuf" +], +"location": "query", +"type": "string" +}, +"callback": { +"description": "JSONP", +"location": "query", +"type": "string" +}, +"fields": { +"description": "Selector specifying which fields to include in a partial response.", +"location": "query", +"type": "string" +}, +"key": { +"description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", +"location": "query", +"type": "string" +}, +"oauth_token": { +"description": "OAuth 2.0 token for the current user.", +"location": "query", +"type": "string" +}, +"prettyPrint": { +"default": "true", +"description": "Returns response with indentations and line breaks.", +"location": "query", +"type": "boolean" +}, +"quotaUser": { +"description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.", +"location": "query", +"type": "string" +}, +"uploadType": { +"description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", +"location": "query", +"type": "string" +}, +"upload_protocol": { +"description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", +"location": "query", +"type": "string" +} +}, +"protocol": "rest", +"resources": { +"projects": { +"resources": { +"locations": { +"methods": { +"signSshPublicKey": { +"description": "Signs an SSH public key for a user to authenticate to a virtual machine on Google Compute Engine.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}:signSshPublicKey", +"httpMethod": "POST", +"id": "oslogin.projects.locations.signSshPublicKey", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The parent for the signing request. Format: projects/{project}/locations/{location}", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}:signSshPublicKey", +"request": { +"$ref": "SignSshPublicKeyRequest" +}, +"response": { +"$ref": "SignSshPublicKeyResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +}, +"users": { +"methods": { +"getLoginProfile": { +"description": "Retrieves the profile information used for logging in to a virtual machine on Google Compute Engine.", +"flatPath": "v1/users/{usersId}/loginProfile", +"httpMethod": "GET", +"id": "oslogin.users.getLoginProfile", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The unique ID for the user in format `users/{user}`.", +"location": "path", +"pattern": "^users/[^/]+$", +"required": true, +"type": "string" +}, +"projectId": { +"description": "Required. The project ID of the Google Cloud Platform project.", +"location": "query", +"type": "string" +}, +"systemId": { +"description": "Optional. A system ID for filtering the results of the request.", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}/loginProfile", +"response": { +"$ref": "LoginProfile" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only", +"https://www.googleapis.com/auth/compute", +"https://www.googleapis.com/auth/compute.readonly" +] +}, +"importSshPublicKey": { +"description": "Adds an SSH public key and returns the profile information. Default POSIX account information is set when no username and UID exist as part of the login profile.", +"flatPath": "v1/users/{usersId}:importSshPublicKey", +"httpMethod": "POST", +"id": "oslogin.users.importSshPublicKey", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The unique ID for the user in format `users/{user}`.", +"location": "path", +"pattern": "^users/[^/]+$", +"required": true, +"type": "string" +}, +"projectId": { +"description": "The project ID of the Google Cloud Platform project.", +"location": "query", +"type": "string" +}, +"regions": { +"description": "Optional. The regions to which to assert that the key was written. If unspecified, defaults to all regions. Regions are listed at https://cloud.google.com/about/locations#region.", +"location": "query", +"repeated": true, +"type": "string" +} +}, +"path": "v1/{+parent}:importSshPublicKey", +"request": { +"$ref": "SshPublicKey" +}, +"response": { +"$ref": "ImportSshPublicKeyResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +} +}, +"resources": { +"projects": { +"methods": { +"delete": { +"description": "Deletes a POSIX account.", +"flatPath": "v1/users/{usersId}/projects/{projectsId}", +"httpMethod": "DELETE", +"id": "oslogin.users.projects.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. A reference to the POSIX account to update. POSIX accounts are identified by the project ID they are associated with. A reference to the POSIX account is in format `users/{user}/projects/{project}`.", +"location": "path", +"pattern": "^users/[^/]+/projects/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"provisionPosixAccount": { +"description": "Adds a POSIX account and returns the profile information. Default POSIX account information is set when no username and UID exist as part of the login profile.", +"flatPath": "v1/users/{usersId}/projects/{projectsId}", +"httpMethod": "POST", +"id": "oslogin.users.projects.provisionPosixAccount", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The unique ID for the user in format `users/{user}/projects/{project}`.", +"location": "path", +"pattern": "^users/[^/]+/projects/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "ProvisionPosixAccountRequest" +}, +"response": { +"$ref": "PosixAccount" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +} +} +}, +"sshPublicKeys": { +"methods": { +"create": { +"description": "Create an SSH public key", +"flatPath": "v1/users/{usersId}/sshPublicKeys", +"httpMethod": "POST", +"id": "oslogin.users.sshPublicKeys.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The unique ID for the user in format `users/{user}`.", +"location": "path", +"pattern": "^users/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/sshPublicKeys", +"request": { +"$ref": "SshPublicKey" +}, +"response": { +"$ref": "SshPublicKey" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"delete": { +"description": "Deletes an SSH public key.", +"flatPath": "v1/users/{usersId}/sshPublicKeys/{sshPublicKeysId}", +"httpMethod": "DELETE", +"id": "oslogin.users.sshPublicKeys.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The fingerprint of the public key to update. Public keys are identified by their SHA-256 fingerprint. The fingerprint of the public key is in format `users/{user}/sshPublicKeys/{fingerprint}`.", +"location": "path", +"pattern": "^users/[^/]+/sshPublicKeys/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"get": { +"description": "Retrieves an SSH public key.", +"flatPath": "v1/users/{usersId}/sshPublicKeys/{sshPublicKeysId}", +"httpMethod": "GET", +"id": "oslogin.users.sshPublicKeys.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The fingerprint of the public key to retrieve. Public keys are identified by their SHA-256 fingerprint. The fingerprint of the public key is in format `users/{user}/sshPublicKeys/{fingerprint}`.", +"location": "path", +"pattern": "^users/[^/]+/sshPublicKeys/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "SshPublicKey" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +}, +"patch": { +"description": "Updates an SSH public key and returns the profile information. This method supports patch semantics.", +"flatPath": "v1/users/{usersId}/sshPublicKeys/{sshPublicKeysId}", +"httpMethod": "PATCH", +"id": "oslogin.users.sshPublicKeys.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The fingerprint of the public key to update. Public keys are identified by their SHA-256 fingerprint. The fingerprint of the public key is in format `users/{user}/sshPublicKeys/{fingerprint}`.", +"location": "path", +"pattern": "^users/[^/]+/sshPublicKeys/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Optional. Mask to control which fields get updated. Updates all if not present.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "SshPublicKey" +}, +"response": { +"$ref": "SshPublicKey" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/compute" +] +} +} +} +} +} +}, +"revision": "20251202", +"rootUrl": "https://oslogin.googleapis.com/", +"schemas": { +"Empty": { +"description": "A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }", +"id": "Empty", +"properties": {}, +"type": "object" +}, +"ImportSshPublicKeyResponse": { +"description": "A response message for importing an SSH public key.", +"id": "ImportSshPublicKeyResponse", +"properties": { +"details": { +"description": "Detailed information about import results.", +"type": "string" +}, +"loginProfile": { +"$ref": "LoginProfile", +"description": "The login profile information for the user." +} +}, +"type": "object" +}, +"LoginProfile": { +"description": "The user profile information used for logging in to a virtual machine on Google Compute Engine.", +"id": "LoginProfile", +"properties": { +"name": { +"description": "Required. A unique user ID.", +"type": "string" +}, +"posixAccounts": { +"description": "The list of POSIX accounts associated with the user.", +"items": { +"$ref": "PosixAccount" +}, +"type": "array" +}, +"sshPublicKeys": { +"additionalProperties": { +"$ref": "SshPublicKey" +}, +"description": "A map from SSH public key fingerprint to the associated key object.", +"type": "object" +} +}, +"type": "object" +}, +"PosixAccount": { +"description": "The POSIX account information associated with a Google account.", +"id": "PosixAccount", +"properties": { +"accountId": { +"description": "Output only. A POSIX account identifier.", +"readOnly": true, +"type": "string" +}, +"gecos": { +"description": "The GECOS (user information) entry for this account.", +"type": "string" +}, +"gid": { +"description": "The default group ID.", +"format": "int64", +"type": "string" +}, +"homeDirectory": { +"description": "The path to the home directory for this account.", +"type": "string" +}, +"name": { +"description": "Output only. The canonical resource name.", +"readOnly": true, +"type": "string" +}, +"operatingSystemType": { +"description": "The operating system type where this account applies.", +"enum": [ +"OPERATING_SYSTEM_TYPE_UNSPECIFIED", +"LINUX", +"WINDOWS" +], +"enumDescriptions": [ +"The operating system type associated with the user account information is unspecified.", +"Linux user account information.", +"Windows user account information." +], +"type": "string" +}, +"primary": { +"description": "Only one POSIX account can be marked as primary.", +"type": "boolean" +}, +"shell": { +"description": "The path to the logic shell for this account.", +"type": "string" +}, +"systemId": { +"description": "System identifier for which account the username or uid applies to. By default, the empty value is used.", +"type": "string" +}, +"uid": { +"description": "The user ID.", +"format": "int64", +"type": "string" +}, +"username": { +"description": "The username of the POSIX account.", +"type": "string" +} +}, +"type": "object" +}, +"ProvisionPosixAccountRequest": { +"description": "A request message for creating a POSIX account entry.", +"id": "ProvisionPosixAccountRequest", +"properties": { +"regions": { +"description": "Optional. The regions to wait for a POSIX account to be written to before returning a response. If unspecified, defaults to all regions. Regions are listed at https://cloud.google.com/about/locations#region.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"SignSshPublicKeyRequest": { +"description": "A request message for signing an SSH public key.", +"id": "SignSshPublicKeyRequest", +"properties": { +"appEngineInstance": { +"description": "The App Engine instance to sign the SSH public key for. Expected format: apps/{app}/services/{service}/versions/{version}/instances/{instance}", +"type": "string" +}, +"computeInstance": { +"description": "The Compute instance to sign the SSH public key for. Expected format: projects/{project}/zones/{zone}/instances/{numeric_instance_id}", +"type": "string" +}, +"serviceAccount": { +"description": "Optional. The service account for the instance. If the instance in question does not have a service account, this field should be left empty. If the wrong service account is provided, this operation will return a signed certificate that will not be accepted by the VM.", +"type": "string" +}, +"sshPublicKey": { +"description": "Required. The SSH public key to sign.", +"type": "string" +} +}, +"type": "object" +}, +"SignSshPublicKeyResponse": { +"description": "The response message for signing an SSH public key.", +"id": "SignSshPublicKeyResponse", +"properties": { +"signedSshPublicKey": { +"description": "The signed SSH public key to use in the SSH handshake.", +"type": "string" +} +}, +"type": "object" +}, +"SshPublicKey": { +"description": "The SSH public key information associated with a Google account.", +"id": "SshPublicKey", +"properties": { +"expirationTimeUsec": { +"description": "An expiration time in microseconds since epoch.", +"format": "int64", +"type": "string" +}, +"fingerprint": { +"description": "Output only. The SHA-256 fingerprint of the SSH public key.", +"readOnly": true, +"type": "string" +}, +"key": { +"description": "Required. Public key text in SSH format, defined by [RFC4253](https://www.ietf.org/rfc/rfc4253.txt) section 6.6.", +"type": "string" +}, +"name": { +"description": "Output only. The canonical resource name.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +} +}, +"servicePath": "", +"title": "Cloud OS Login API", +"version": "v1", +"version_module": true +} \ No newline at end of file diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/pagespeedonline.v5.json b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/pagespeedonline.v5.json new file mode 100644 index 0000000000000000000000000000000000000000..47b057a8b05e7d84c5eae96dc26b3a51e196460f --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/pagespeedonline.v5.json @@ -0,0 +1,1008 @@ +{ +"auth": { +"oauth2": { +"scopes": { +"openid": { +"description": "Associate you with your personal info on Google" +} +} +} +}, +"basePath": "", +"baseUrl": "https://pagespeedonline.googleapis.com/", +"batchPath": "batch", +"canonicalName": "Pagespeed Insights", +"description": "The PageSpeed Insights API lets you analyze the performance of your website with a simple API. It offers tailored suggestions for how you can optimize your site, and lets you easily integrate PageSpeed Insights analysis into your development tools and workflow. ", +"discoveryVersion": "v1", +"documentationLink": "https://developers.google.com/speed/docs/insights/v5/about", +"fullyEncodeReservedExpansion": true, +"icons": { +"x16": "http://www.google.com/images/icons/product/search-16.gif", +"x32": "http://www.google.com/images/icons/product/search-32.gif" +}, +"id": "pagespeedonline:v5", +"kind": "discovery#restDescription", +"mtlsRootUrl": "https://pagespeedonline.mtls.googleapis.com/", +"name": "pagespeedonline", +"ownerDomain": "google.com", +"ownerName": "Google", +"parameters": { +"$.xgafv": { +"description": "V1 error format.", +"enum": [ +"1", +"2" +], +"enumDescriptions": [ +"v1 error format", +"v2 error format" +], +"location": "query", +"type": "string" +}, +"access_token": { +"description": "OAuth access token.", +"location": "query", +"type": "string" +}, +"alt": { +"default": "json", +"description": "Data format for response.", +"enum": [ +"json", +"media", +"proto" +], +"enumDescriptions": [ +"Responses with Content-Type of application/json", +"Media download with context-dependent Content-Type", +"Responses with Content-Type of application/x-protobuf" +], +"location": "query", +"type": "string" +}, +"callback": { +"description": "JSONP", +"location": "query", +"type": "string" +}, +"fields": { +"description": "Selector specifying which fields to include in a partial response.", +"location": "query", +"type": "string" +}, +"key": { +"description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", +"location": "query", +"type": "string" +}, +"oauth_token": { +"description": "OAuth 2.0 token for the current user.", +"location": "query", +"type": "string" +}, +"prettyPrint": { +"default": "true", +"description": "Returns response with indentations and line breaks.", +"location": "query", +"type": "boolean" +}, +"quotaUser": { +"description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.", +"location": "query", +"type": "string" +}, +"uploadType": { +"description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", +"location": "query", +"type": "string" +}, +"upload_protocol": { +"description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", +"location": "query", +"type": "string" +} +}, +"protocol": "rest", +"resources": { +"pagespeedapi": { +"methods": { +"runpagespeed": { +"description": "Runs PageSpeed analysis on the page at the specified URL, and returns PageSpeed scores, a list of suggestions to make that page faster, and other information.", +"flatPath": "pagespeedonline/v5/runPagespeed", +"httpMethod": "GET", +"id": "pagespeedonline.pagespeedapi.runpagespeed", +"parameterOrder": [ +"url" +], +"parameters": { +"captchaToken": { +"description": "The captcha token passed when filling out a captcha.", +"location": "query", +"type": "string" +}, +"category": { +"description": "A Lighthouse category to run; if none are given, only Performance category will be run", +"enum": [ +"CATEGORY_UNSPECIFIED", +"ACCESSIBILITY", +"BEST_PRACTICES", +"PERFORMANCE", +"PWA", +"SEO" +], +"enumDeprecated": [ +false, +false, +false, +false, +true, +false +], +"enumDescriptions": [ +"Default UNDEFINED category.", +"Accessibility (a11y), category pertaining to a website's capacity to be accessible to all users.", +"Best Practices, category pertaining to a website's conformance to web best practice.", +"Performance, category pertaining to a website's performance.", +"Progressive Web App (PWA), category pertaining to a website's ability to be run as a PWA. This is deprecated in Lighthouse's 12.0 release.", +"Search Engine Optimization (SEO), category pertaining to a website's ability to be indexed by search engines." +], +"location": "query", +"repeated": true, +"type": "string" +}, +"locale": { +"description": "The locale used to localize formatted results", +"location": "query", +"pattern": "[a-zA-Z]+((_|-)[a-zA-Z]+)?", +"type": "string" +}, +"strategy": { +"description": "The analysis strategy (desktop or mobile) to use, and desktop is the default", +"enum": [ +"STRATEGY_UNSPECIFIED", +"DESKTOP", +"MOBILE" +], +"enumDescriptions": [ +"UNDEFINED.", +"Fetch and analyze the URL for desktop browsers.", +"Fetch and analyze the URL for mobile devices." +], +"location": "query", +"type": "string" +}, +"url": { +"description": "Required. The URL to fetch and analyze", +"location": "query", +"pattern": "(?i)(url:|origin:)?http(s)?://.*", +"required": true, +"type": "string" +}, +"utm_campaign": { +"description": "Campaign name for analytics.", +"location": "query", +"type": "string" +}, +"utm_source": { +"description": "Campaign source for analytics.", +"location": "query", +"type": "string" +} +}, +"path": "pagespeedonline/v5/runPagespeed", +"response": { +"$ref": "PagespeedApiPagespeedResponseV5" +}, +"scopes": [ +"openid" +] +} +} +} +}, +"revision": "20240829", +"rootUrl": "https://pagespeedonline.googleapis.com/", +"schemas": { +"AuditRefs": { +"description": "A light reference to an audit by id, used to group and weight audits in a given category.", +"id": "AuditRefs", +"properties": { +"acronym": { +"description": "The conventional acronym for the audit/metric.", +"type": "string" +}, +"group": { +"description": "The category group that the audit belongs to (optional).", +"type": "string" +}, +"id": { +"description": "The audit ref id.", +"type": "string" +}, +"relevantAudits": { +"description": "Any audit IDs closely relevant to this one.", +"items": { +"type": "string" +}, +"type": "array" +}, +"weight": { +"description": "The weight this audit's score has on the overall category score.", +"format": "double", +"type": "number" +} +}, +"type": "object" +}, +"Bucket": { +"description": "A proportion of data in the total distribution, bucketed by a min/max percentage. Each bucket's range is bounded by min <= x < max, In millisecond.", +"id": "Bucket", +"properties": { +"max": { +"description": "Upper bound for a bucket's range.", +"format": "int32", +"type": "integer" +}, +"min": { +"description": "Lower bound for a bucket's range.", +"format": "int32", +"type": "integer" +}, +"proportion": { +"description": "The proportion of data in this bucket.", +"format": "double", +"type": "number" +} +}, +"type": "object" +}, +"Categories": { +"description": "The categories in a Lighthouse run.", +"id": "Categories", +"properties": { +"accessibility": { +"$ref": "LighthouseCategoryV5", +"description": "The accessibility category, containing all accessibility related audits." +}, +"best-practices": { +"$ref": "LighthouseCategoryV5", +"description": "The best practices category, containing all best practices related audits." +}, +"performance": { +"$ref": "LighthouseCategoryV5", +"description": "The performance category, containing all performance related audits." +}, +"pwa": { +"$ref": "LighthouseCategoryV5", +"deprecated": true, +"description": "The Progressive-Web-App (PWA) category, containing all pwa related audits. This is deprecated in Lighthouse's 12.0 release." +}, +"seo": { +"$ref": "LighthouseCategoryV5", +"description": "The Search-Engine-Optimization (SEO) category, containing all seo related audits." +} +}, +"type": "object" +}, +"CategoryGroupV5": { +"description": "Message containing a category", +"id": "CategoryGroupV5", +"properties": { +"description": { +"description": "The description of what the category is grouping", +"type": "string" +}, +"title": { +"description": "The human readable title of the group", +"type": "string" +} +}, +"type": "object" +}, +"ConfigSettings": { +"description": "Message containing the configuration settings for the Lighthouse run.", +"id": "ConfigSettings", +"properties": { +"channel": { +"description": "How Lighthouse was run, e.g. from the Chrome extension or from the npm module.", +"type": "string" +}, +"emulatedFormFactor": { +"deprecated": true, +"description": "The form factor the emulation should use. This field is deprecated, form_factor should be used instead.", +"type": "string" +}, +"formFactor": { +"description": "How Lighthouse should interpret this run in regards to scoring performance metrics and skipping mobile-only tests in desktop.", +"type": "string" +}, +"locale": { +"description": "The locale setting.", +"type": "string" +}, +"onlyCategories": { +"description": "List of categories of audits the run should conduct.", +"type": "any" +} +}, +"type": "object" +}, +"Environment": { +"description": "Message containing environment configuration for a Lighthouse run.", +"id": "Environment", +"properties": { +"benchmarkIndex": { +"description": "The benchmark index number that indicates rough device class.", +"format": "double", +"type": "number" +}, +"credits": { +"additionalProperties": { +"type": "string" +}, +"description": "The version of libraries with which these results were generated. Ex: axe-core.", +"type": "object" +}, +"hostUserAgent": { +"description": "The user agent string of the version of Chrome used.", +"type": "string" +}, +"networkUserAgent": { +"description": "The user agent string that was sent over the network.", +"type": "string" +} +}, +"type": "object" +}, +"I18n": { +"description": "Message containing the i18n data for the LHR - Version 1.", +"id": "I18n", +"properties": { +"rendererFormattedStrings": { +"$ref": "RendererFormattedStrings", +"description": "Internationalized strings that are formatted to the locale in configSettings." +} +}, +"type": "object" +}, +"LhrEntity": { +"description": "Message containing an Entity.", +"id": "LhrEntity", +"properties": { +"category": { +"description": "Optional. An optional category name for the entity.", +"type": "string" +}, +"homepage": { +"description": "Optional. An optional homepage URL of the entity.", +"type": "string" +}, +"isFirstParty": { +"description": "Optional. An optional flag indicating if the entity is the first party.", +"type": "boolean" +}, +"isUnrecognized": { +"description": "Optional. An optional flag indicating if the entity is not recognized.", +"type": "boolean" +}, +"name": { +"description": "Required. Name of the entity.", +"type": "string" +}, +"origins": { +"description": "Required. A list of URL origin strings that belong to this entity.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"LighthouseAuditResultV5": { +"description": "An audit's result object in a Lighthouse result.", +"id": "LighthouseAuditResultV5", +"properties": { +"description": { +"description": "The description of the audit.", +"type": "string" +}, +"details": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"description": "Freeform details section of the audit.", +"type": "object" +}, +"displayValue": { +"description": "The value that should be displayed on the UI for this audit.", +"type": "string" +}, +"errorMessage": { +"description": "An error message from a thrown error inside the audit.", +"type": "string" +}, +"explanation": { +"description": "An explanation of the errors in the audit.", +"type": "string" +}, +"id": { +"description": "The audit's id.", +"type": "string" +}, +"metricSavings": { +"$ref": "MetricSavings", +"description": "The metric savings of the audit." +}, +"numericUnit": { +"description": "The unit of the numeric_value field. Used to format the numeric value for display.", +"type": "string" +}, +"numericValue": { +"description": "A numeric value that has a meaning specific to the audit, e.g. the number of nodes in the DOM or the timestamp of a specific load event. More information can be found in the audit details, if present.", +"format": "double", +"type": "number" +}, +"score": { +"description": "The score of the audit, can be null.", +"type": "any" +}, +"scoreDisplayMode": { +"description": "The enumerated score display mode.", +"type": "string" +}, +"title": { +"description": "The human readable title.", +"type": "string" +}, +"warnings": { +"description": "Possible warnings that occurred in the audit, can be null.", +"type": "any" +} +}, +"type": "object" +}, +"LighthouseCategoryV5": { +"description": "A Lighthouse category.", +"id": "LighthouseCategoryV5", +"properties": { +"auditRefs": { +"description": "An array of references to all the audit members of this category.", +"items": { +"$ref": "AuditRefs" +}, +"type": "array" +}, +"description": { +"description": "A more detailed description of the category and its importance.", +"type": "string" +}, +"id": { +"description": "The string identifier of the category.", +"type": "string" +}, +"manualDescription": { +"description": "A description for the manual audits in the category.", +"type": "string" +}, +"score": { +"description": "The overall score of the category, the weighted average of all its audits. (The category's score, can be null.)", +"type": "any" +}, +"title": { +"description": "The human-friendly name of the category.", +"type": "string" +} +}, +"type": "object" +}, +"LighthouseResultV5": { +"description": "The Lighthouse result object.", +"id": "LighthouseResultV5", +"properties": { +"audits": { +"additionalProperties": { +"$ref": "LighthouseAuditResultV5" +}, +"description": "Map of audits in the LHR.", +"type": "object" +}, +"categories": { +"$ref": "Categories", +"description": "Map of categories in the LHR." +}, +"categoryGroups": { +"additionalProperties": { +"$ref": "CategoryGroupV5" +}, +"description": "Map of category groups in the LHR.", +"type": "object" +}, +"configSettings": { +"$ref": "ConfigSettings", +"description": "The configuration settings for this LHR." +}, +"entities": { +"description": "Entity classification data.", +"items": { +"$ref": "LhrEntity" +}, +"type": "array" +}, +"environment": { +"$ref": "Environment", +"description": "Environment settings that were used when making this LHR." +}, +"fetchTime": { +"description": "The time that this run was fetched.", +"type": "string" +}, +"finalDisplayedUrl": { +"description": "URL displayed on the page after Lighthouse finishes.", +"type": "string" +}, +"finalUrl": { +"description": "The final resolved url that was audited.", +"type": "string" +}, +"fullPageScreenshot": { +"description": "Screenshot data of the full page, along with node rects relevant to the audit results.", +"type": "any" +}, +"i18n": { +"$ref": "I18n", +"description": "The internationalization strings that are required to render the LHR." +}, +"lighthouseVersion": { +"description": "The lighthouse version that was used to generate this LHR.", +"type": "string" +}, +"mainDocumentUrl": { +"description": "URL of the main document request of the final navigation.", +"type": "string" +}, +"requestedUrl": { +"description": "The original requested url.", +"type": "string" +}, +"runWarnings": { +"description": "List of all run warnings in the LHR. Will always output to at least `[]`.", +"items": { +"type": "any" +}, +"type": "array" +}, +"runtimeError": { +"$ref": "RuntimeError", +"description": "A top-level error message that, if present, indicates a serious enough problem that this Lighthouse result may need to be discarded." +}, +"stackPacks": { +"description": "The Stack Pack advice strings.", +"items": { +"$ref": "StackPack" +}, +"type": "array" +}, +"timing": { +"$ref": "Timing", +"description": "Timing information for this LHR." +}, +"userAgent": { +"description": "The user agent that was used to run this LHR.", +"type": "string" +} +}, +"type": "object" +}, +"MetricSavings": { +"description": "The metric savings of the audit.", +"id": "MetricSavings", +"properties": { +"CLS": { +"description": "Optional. Optional numeric value representing the audit's savings for the CLS metric.", +"format": "double", +"type": "number" +}, +"FCP": { +"description": "Optional. Optional numeric value representing the audit's savings for the FCP metric.", +"format": "double", +"type": "number" +}, +"INP": { +"description": "Optional. Optional numeric value representing the audit's savings for the INP metric.", +"format": "double", +"type": "number" +}, +"LCP": { +"description": "Optional. Optional numeric value representing the audit's savings for the LCP metric.", +"format": "double", +"type": "number" +}, +"TBT": { +"description": "Optional. Optional numeric value representing the audit's savings for the TBT metric.", +"format": "double", +"type": "number" +} +}, +"type": "object" +}, +"PagespeedApiLoadingExperienceV5": { +"description": "The CrUX loading experience object that contains CrUX data breakdowns.", +"id": "PagespeedApiLoadingExperienceV5", +"properties": { +"id": { +"description": "The url, pattern or origin which the metrics are on.", +"type": "string" +}, +"initial_url": { +"description": "The requested URL, which may differ from the resolved \"id\".", +"type": "string" +}, +"metrics": { +"additionalProperties": { +"$ref": "UserPageLoadMetricV5" +}, +"description": "The map of .", +"type": "object" +}, +"origin_fallback": { +"description": "True if the result is an origin fallback from a page, false otherwise.", +"type": "boolean" +}, +"overall_category": { +"description": "The human readable speed \"category\" of the id.", +"type": "string" +} +}, +"type": "object" +}, +"PagespeedApiPagespeedResponseV5": { +"description": "The Pagespeed API response object.", +"id": "PagespeedApiPagespeedResponseV5", +"properties": { +"analysisUTCTimestamp": { +"description": "The UTC timestamp of this analysis.", +"type": "string" +}, +"captchaResult": { +"description": "The captcha verify result", +"type": "string" +}, +"id": { +"description": "Canonicalized and final URL for the document, after following page redirects (if any).", +"type": "string" +}, +"kind": { +"description": "Kind of result.", +"type": "string" +}, +"lighthouseResult": { +"$ref": "LighthouseResultV5", +"description": "Lighthouse response for the audit url as an object." +}, +"loadingExperience": { +"$ref": "PagespeedApiLoadingExperienceV5", +"description": "Metrics of end users' page loading experience." +}, +"originLoadingExperience": { +"$ref": "PagespeedApiLoadingExperienceV5", +"description": "Metrics of the aggregated page loading experience of the origin" +}, +"version": { +"$ref": "PagespeedVersion", +"description": "The version of PageSpeed used to generate these results." +} +}, +"type": "object" +}, +"PagespeedVersion": { +"description": "The Pagespeed Version object.", +"id": "PagespeedVersion", +"properties": { +"major": { +"description": "The major version number of PageSpeed used to generate these results.", +"type": "string" +}, +"minor": { +"description": "The minor version number of PageSpeed used to generate these results.", +"type": "string" +} +}, +"type": "object" +}, +"RendererFormattedStrings": { +"description": "Message holding the formatted strings used in the renderer.", +"id": "RendererFormattedStrings", +"properties": { +"auditGroupExpandTooltip": { +"description": "The tooltip text on an expandable chevron icon.", +"type": "string" +}, +"calculatorLink": { +"description": "Text link pointing to the Lighthouse scoring calculator. This link immediately follows a sentence stating the performance score is calculated from the perf metrics.", +"type": "string" +}, +"crcInitialNavigation": { +"description": "The label for the initial request in a critical request chain.", +"type": "string" +}, +"crcLongestDurationLabel": { +"description": "The label for values shown in the summary of critical request chains.", +"type": "string" +}, +"dropdownCopyJSON": { +"description": "Option in a dropdown menu that copies the Lighthouse JSON object to the system clipboard.", +"type": "string" +}, +"dropdownDarkTheme": { +"description": "Option in a dropdown menu that toggles the themeing of the report between Light(default) and Dark themes.", +"type": "string" +}, +"dropdownPrintExpanded": { +"description": "Option in a dropdown menu that opens a full Lighthouse report in a print dialog.", +"type": "string" +}, +"dropdownPrintSummary": { +"description": "Option in a dropdown menu that opens a small, summary report in a print dialog.", +"type": "string" +}, +"dropdownSaveGist": { +"description": "Option in a dropdown menu that saves the current report as a new GitHub Gist.", +"type": "string" +}, +"dropdownSaveHTML": { +"description": "Option in a dropdown menu that saves the Lighthouse report HTML locally to the system as a '.html' file.", +"type": "string" +}, +"dropdownSaveJSON": { +"description": "Option in a dropdown menu that saves the Lighthouse JSON object to the local system as a '.json' file.", +"type": "string" +}, +"dropdownViewer": { +"description": "Option in a dropdown menu that opens the current report in the Lighthouse Viewer Application.", +"type": "string" +}, +"errorLabel": { +"description": "The label shown next to an audit or metric that has had an error.", +"type": "string" +}, +"errorMissingAuditInfo": { +"description": "The error string shown next to an erroring audit.", +"type": "string" +}, +"footerIssue": { +"description": "Label for button to create an issue against the Lighthouse GitHub project.", +"type": "string" +}, +"labDataTitle": { +"description": "The title of the lab data performance category.", +"type": "string" +}, +"lsPerformanceCategoryDescription": { +"description": "The disclaimer shown under performance explaining that the network can vary.", +"type": "string" +}, +"manualAuditsGroupTitle": { +"description": "The heading shown above a list of audits that were not computerd in the run.", +"type": "string" +}, +"notApplicableAuditsGroupTitle": { +"description": "The heading shown above a list of audits that do not apply to a page.", +"type": "string" +}, +"opportunityResourceColumnLabel": { +"description": "The heading for the estimated page load savings opportunity of an audit.", +"type": "string" +}, +"opportunitySavingsColumnLabel": { +"description": "The heading for the estimated page load savings of opportunity audits.", +"type": "string" +}, +"passedAuditsGroupTitle": { +"description": "The heading that is shown above a list of audits that are passing.", +"type": "string" +}, +"runtimeDesktopEmulation": { +"description": "Descriptive explanation for emulation setting when emulating a generic desktop form factor, as opposed to a mobile-device like form factor.", +"type": "string" +}, +"runtimeMobileEmulation": { +"description": "Descriptive explanation for emulation setting when emulating a Nexus 5X mobile device.", +"type": "string" +}, +"runtimeNoEmulation": { +"description": "Descriptive explanation for emulation setting when no device emulation is set.", +"type": "string" +}, +"runtimeSettingsAxeVersion": { +"description": "Label for a row in a table that shows the version of the Axe library used", +"type": "string" +}, +"runtimeSettingsBenchmark": { +"description": "Label for a row in a table that shows the estimated CPU power of the machine running Lighthouse. Example row values: 532, 1492, 783.", +"type": "string" +}, +"runtimeSettingsCPUThrottling": { +"description": "Label for a row in a table that describes the CPU throttling conditions that were used during a Lighthouse run, if any.", +"type": "string" +}, +"runtimeSettingsChannel": { +"description": "Label for a row in a table that shows in what tool Lighthouse is being run (e.g. The lighthouse CLI, Chrome DevTools, Lightrider, WebPageTest, etc).", +"type": "string" +}, +"runtimeSettingsDevice": { +"description": "Label for a row in a table that describes the kind of device that was emulated for the Lighthouse run. Example values for row elements: 'No Emulation', 'Emulated Desktop', etc.", +"type": "string" +}, +"runtimeSettingsFetchTime": { +"description": "Label for a row in a table that shows the time at which a Lighthouse run was conducted; formatted as a timestamp, e.g. Jan 1, 1970 12:00 AM UTC.", +"type": "string" +}, +"runtimeSettingsNetworkThrottling": { +"description": "Label for a row in a table that describes the network throttling conditions that were used during a Lighthouse run, if any.", +"type": "string" +}, +"runtimeSettingsTitle": { +"description": "Title of the Runtime settings table in a Lighthouse report. Runtime settings are the environment configurations that a specific report used at auditing time.", +"type": "string" +}, +"runtimeSettingsUA": { +"description": "Label for a row in a table that shows the User Agent that was detected on the Host machine that ran Lighthouse.", +"type": "string" +}, +"runtimeSettingsUANetwork": { +"description": "Label for a row in a table that shows the User Agent that was used to send out all network requests during the Lighthouse run.", +"type": "string" +}, +"runtimeSettingsUrl": { +"description": "Label for a row in a table that shows the URL that was audited during a Lighthouse run.", +"type": "string" +}, +"runtimeUnknown": { +"description": "Descriptive explanation for a runtime setting that is set to an unknown value.", +"type": "string" +}, +"scorescaleLabel": { +"description": "The label that explains the score gauges scale (0-49, 50-89, 90-100).", +"type": "string" +}, +"showRelevantAudits": { +"description": "Label preceding a radio control for filtering the list of audits. The radio choices are various performance metrics (FCP, LCP, TBT), and if chosen, the audits in the report are hidden if they are not relevant to the selected metric.", +"type": "string" +}, +"snippetCollapseButtonLabel": { +"description": "The label for the button to show only a few lines of a snippet", +"type": "string" +}, +"snippetExpandButtonLabel": { +"description": "The label for the button to show all lines of a snippet", +"type": "string" +}, +"thirdPartyResourcesLabel": { +"description": "This label is for a filter checkbox above a table of items", +"type": "string" +}, +"throttlingProvided": { +"description": "Descriptive explanation for environment throttling that was provided by the runtime environment instead of provided by Lighthouse throttling.", +"type": "string" +}, +"toplevelWarningsMessage": { +"description": "The label shown preceding important warnings that may have invalidated an entire report.", +"type": "string" +}, +"varianceDisclaimer": { +"description": "The disclaimer shown below a performance metric value.", +"type": "string" +}, +"viewTreemapLabel": { +"description": "Label for a button that opens the Treemap App", +"type": "string" +}, +"warningAuditsGroupTitle": { +"description": "The heading that is shown above a list of audits that have warnings", +"type": "string" +}, +"warningHeader": { +"description": "The label shown above a bulleted list of warnings.", +"type": "string" +} +}, +"type": "object" +}, +"RuntimeError": { +"description": "Message containing a runtime error config.", +"id": "RuntimeError", +"properties": { +"code": { +"description": "The enumerated Lighthouse Error code.", +"type": "string" +}, +"message": { +"description": "A human readable message explaining the error code.", +"type": "string" +} +}, +"type": "object" +}, +"StackPack": { +"description": "Message containing Stack Pack information.", +"id": "StackPack", +"properties": { +"descriptions": { +"additionalProperties": { +"type": "string" +}, +"description": "The stack pack advice strings.", +"type": "object" +}, +"iconDataURL": { +"description": "The stack pack icon data uri.", +"type": "string" +}, +"id": { +"description": "The stack pack id.", +"type": "string" +}, +"title": { +"description": "The stack pack title.", +"type": "string" +} +}, +"type": "object" +}, +"Timing": { +"description": "Message containing the performance timing data for the Lighthouse run.", +"id": "Timing", +"properties": { +"total": { +"description": "The total duration of Lighthouse's run.", +"format": "double", +"type": "number" +} +}, +"type": "object" +}, +"UserPageLoadMetricV5": { +"description": "A CrUX metric object for a single metric and form factor.", +"id": "UserPageLoadMetricV5", +"properties": { +"category": { +"description": "The category of the specific time metric.", +"type": "string" +}, +"distributions": { +"description": "Metric distributions. Proportions should sum up to 1.", +"items": { +"$ref": "Bucket" +}, +"type": "array" +}, +"formFactor": { +"description": "Identifies the form factor of the metric being collected.", +"type": "string" +}, +"median": { +"description": "The median number of the metric, in millisecond.", +"format": "int32", +"type": "integer" +}, +"metricId": { +"description": "Identifies the type of the metric.", +"type": "string" +}, +"percentile": { +"description": "We use this field to store certain percentile value for this metric. For v4, this field contains pc50. For v5, this field contains pc90.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +} +}, +"servicePath": "", +"title": "PageSpeed Insights API", +"version": "v5", +"version_module": true +} \ No newline at end of file diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/parallelstore.v1.json b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/parallelstore.v1.json new file mode 100644 index 0000000000000000000000000000000000000000..7a9c6618a5bb4aea064fb4c564d0fba0ff97c6e3 --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/parallelstore.v1.json @@ -0,0 +1,1098 @@ +{ +"auth": { +"oauth2": { +"scopes": { +"https://www.googleapis.com/auth/cloud-platform": { +"description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." +} +} +} +}, +"basePath": "", +"baseUrl": "https://parallelstore.googleapis.com/", +"batchPath": "batch", +"canonicalName": "Parallelstore", +"description": "", +"discoveryVersion": "v1", +"documentationLink": "https://cloud.google.com/parallelstore", +"fullyEncodeReservedExpansion": true, +"icons": { +"x16": "http://www.google.com/images/icons/product/search-16.gif", +"x32": "http://www.google.com/images/icons/product/search-32.gif" +}, +"id": "parallelstore:v1", +"kind": "discovery#restDescription", +"mtlsRootUrl": "https://parallelstore.mtls.googleapis.com/", +"name": "parallelstore", +"ownerDomain": "google.com", +"ownerName": "Google", +"parameters": { +"$.xgafv": { +"description": "V1 error format.", +"enum": [ +"1", +"2" +], +"enumDescriptions": [ +"v1 error format", +"v2 error format" +], +"location": "query", +"type": "string" +}, +"access_token": { +"description": "OAuth access token.", +"location": "query", +"type": "string" +}, +"alt": { +"default": "json", +"description": "Data format for response.", +"enum": [ +"json", +"media", +"proto" +], +"enumDescriptions": [ +"Responses with Content-Type of application/json", +"Media download with context-dependent Content-Type", +"Responses with Content-Type of application/x-protobuf" +], +"location": "query", +"type": "string" +}, +"callback": { +"description": "JSONP", +"location": "query", +"type": "string" +}, +"fields": { +"description": "Selector specifying which fields to include in a partial response.", +"location": "query", +"type": "string" +}, +"key": { +"description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", +"location": "query", +"type": "string" +}, +"oauth_token": { +"description": "OAuth 2.0 token for the current user.", +"location": "query", +"type": "string" +}, +"prettyPrint": { +"default": "true", +"description": "Returns response with indentations and line breaks.", +"location": "query", +"type": "boolean" +}, +"quotaUser": { +"description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.", +"location": "query", +"type": "string" +}, +"uploadType": { +"description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", +"location": "query", +"type": "string" +}, +"upload_protocol": { +"description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", +"location": "query", +"type": "string" +} +}, +"protocol": "rest", +"resources": { +"projects": { +"resources": { +"locations": { +"methods": { +"get": { +"description": "Gets information about a location.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}", +"httpMethod": "GET", +"id": "parallelstore.projects.locations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Resource name for the location.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Location" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists information about the supported locations for this service.", +"flatPath": "v1/projects/{projectsId}/locations", +"httpMethod": "GET", +"id": "parallelstore.projects.locations.list", +"parameterOrder": [ +"name" +], +"parameters": { +"extraLocationTypes": { +"description": "Optional. Do not use this field. It is unsupported and is ignored unless explicitly documented otherwise. This is primarily for internal usage.", +"location": "query", +"repeated": true, +"type": "string" +}, +"filter": { +"description": "A filter to narrow down results to a preferred subset. The filtering language accepts strings like `\"displayName=tokyo\"`, and is documented in more detail in [AIP-160](https://google.aip.dev/160).", +"location": "query", +"type": "string" +}, +"name": { +"description": "The resource that owns the locations collection, if applicable.", +"location": "path", +"pattern": "^projects/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The maximum number of results to return. If not set, the service selects a default.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A page token received from the `next_page_token` field in the response. Send that page token to receive the subsequent page.", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}/locations", +"response": { +"$ref": "ListLocationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"instances": { +"methods": { +"create": { +"description": "Creates a Parallelstore instance in a given project and location.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/instances", +"httpMethod": "POST", +"id": "parallelstore.projects.locations.instances.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"instanceId": { +"description": "Required. The name of the Parallelstore instance. * Must contain only lowercase letters, numbers, and hyphens. * Must start with a letter. * Must be between 1-63 characters. * Must end with a number or a letter. * Must be unique within the customer project / location", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The instance's project and location, in the format `projects/{project}/locations/{location}`. Locations map to Google Cloud zones; for example, `us-west1-b`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+parent}/instances", +"request": { +"$ref": "Instance" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a single instance.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/instances/{instancesId}", +"httpMethod": "DELETE", +"id": "parallelstore.projects.locations.instances.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of the resource", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/instances/[^/]+$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes after the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"exportData": { +"description": "Copies data from Parallelstore to Cloud Storage.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/instances/{instancesId}:exportData", +"httpMethod": "POST", +"id": "parallelstore.projects.locations.instances.exportData", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of the resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/instances/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:exportData", +"request": { +"$ref": "ExportDataRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets details of a single instance.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/instances/{instancesId}", +"httpMethod": "GET", +"id": "parallelstore.projects.locations.instances.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The instance resource name, in the format `projects/{project_id}/locations/{location}/instances/{instance_id}`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/instances/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Instance" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"importData": { +"description": "Copies data from Cloud Storage to Parallelstore.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/instances/{instancesId}:importData", +"httpMethod": "POST", +"id": "parallelstore.projects.locations.instances.importData", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of the resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/instances/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:importData", +"request": { +"$ref": "ImportDataRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists all instances in a given project and location.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/instances", +"httpMethod": "GET", +"id": "parallelstore.projects.locations.instances.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Optional. Filtering results.", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "Optional. Hint for how to order the results.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Optional. Requested page size. Server may return fewer items than requested. If unspecified, the server will pick an appropriate default.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. A token identifying a page of results the server should return.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The project and location for which to retrieve instance information, in the format `projects/{project_id}/locations/{location}`. To retrieve instance information for all locations, use \"-\" as the value of `{location}`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/instances", +"response": { +"$ref": "ListInstancesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates the parameters of a single instance.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/instances/{instancesId}", +"httpMethod": "PATCH", +"id": "parallelstore.projects.locations.instances.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Identifier. The resource name of the instance, in the format `projects/{project}/locations/{location}/instances/{instance_id}`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/instances/[^/]+$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"updateMask": { +"description": "Required. Mask of fields to update. Field mask is used to specify the fields to be overwritten in the Instance resource by the update. At least one path must be supplied in this field. The fields specified in the update_mask are relative to the resource, not the full request.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "Instance" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"operations": { +"methods": { +"cancel": { +"description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}:cancel", +"httpMethod": "POST", +"id": "parallelstore.projects.locations.operations.cancel", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be cancelled.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:cancel", +"request": { +"$ref": "CancelOperationRequest" +}, +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}", +"httpMethod": "DELETE", +"id": "parallelstore.projects.locations.operations.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be deleted.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}", +"httpMethod": "GET", +"id": "parallelstore.projects.locations.operations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/operations", +"httpMethod": "GET", +"id": "parallelstore.projects.locations.operations.list", +"parameterOrder": [ +"name" +], +"parameters": { +"filter": { +"description": "The standard list filter.", +"location": "query", +"type": "string" +}, +"name": { +"description": "The name of the operation's parent resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The standard list page size.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The standard list page token.", +"location": "query", +"type": "string" +}, +"returnPartialSuccess": { +"description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `\"projects/example/locations/-\"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1/{+name}/operations", +"response": { +"$ref": "ListOperationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +} +} +} +}, +"revision": "20251022", +"rootUrl": "https://parallelstore.googleapis.com/", +"schemas": { +"CancelOperationRequest": { +"description": "The request message for Operations.CancelOperation.", +"id": "CancelOperationRequest", +"properties": {}, +"type": "object" +}, +"DestinationGcsBucket": { +"description": "Cloud Storage as the destination of a data transfer.", +"id": "DestinationGcsBucket", +"properties": { +"uri": { +"description": "Required. URI to a Cloud Storage bucket in the format: `gs:///`. The path inside the bucket is optional.", +"type": "string" +} +}, +"type": "object" +}, +"DestinationParallelstore": { +"description": "Parallelstore as the destination of a data transfer.", +"id": "DestinationParallelstore", +"properties": { +"path": { +"description": "Optional. Root directory path to the Paralellstore filesystem, starting with `/`. Defaults to `/` if unset.", +"type": "string" +} +}, +"type": "object" +}, +"ExportDataRequest": { +"description": "Export data from Parallelstore to Cloud Storage.", +"id": "ExportDataRequest", +"properties": { +"destinationGcsBucket": { +"$ref": "DestinationGcsBucket", +"description": "Cloud Storage destination." +}, +"metadataOptions": { +"$ref": "TransferMetadataOptions", +"description": "Optional. The metadata options for the export data." +}, +"requestId": { +"description": "Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", +"type": "string" +}, +"serviceAccount": { +"description": "Optional. User-specified Service Account (SA) credentials to be used when performing the transfer. Use one of the following formats: * `{EMAIL_ADDRESS_OR_UNIQUE_ID}` * `projects/{PROJECT_ID_OR_NUMBER}/serviceAccounts/{EMAIL_ADDRESS_OR_UNIQUE_ID}` * `projects/-/serviceAccounts/{EMAIL_ADDRESS_OR_UNIQUE_ID}` If unspecified, the Parallelstore service agent is used: `service-@gcp-sa-parallelstore.iam.gserviceaccount.com`", +"type": "string" +}, +"sourceParallelstore": { +"$ref": "SourceParallelstore", +"description": "Parallelstore source." +} +}, +"type": "object" +}, +"GoogleProtobufEmpty": { +"description": "A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }", +"id": "GoogleProtobufEmpty", +"properties": {}, +"type": "object" +}, +"ImportDataRequest": { +"description": "Import data from Cloud Storage into a Parallelstore instance.", +"id": "ImportDataRequest", +"properties": { +"destinationParallelstore": { +"$ref": "DestinationParallelstore", +"description": "Parallelstore destination." +}, +"metadataOptions": { +"$ref": "TransferMetadataOptions", +"description": "Optional. The transfer metadata options for the import data." +}, +"requestId": { +"description": "Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", +"type": "string" +}, +"serviceAccount": { +"description": "Optional. User-specified service account credentials to be used when performing the transfer. Use one of the following formats: * `{EMAIL_ADDRESS_OR_UNIQUE_ID}` * `projects/{PROJECT_ID_OR_NUMBER}/serviceAccounts/{EMAIL_ADDRESS_OR_UNIQUE_ID}` * `projects/-/serviceAccounts/{EMAIL_ADDRESS_OR_UNIQUE_ID}` If unspecified, the Parallelstore service agent is used: `service-@gcp-sa-parallelstore.iam.gserviceaccount.com`", +"type": "string" +}, +"sourceGcsBucket": { +"$ref": "SourceGcsBucket", +"description": "The Cloud Storage source bucket and, optionally, path inside the bucket." +} +}, +"type": "object" +}, +"Instance": { +"description": "A Parallelstore instance.", +"id": "Instance", +"properties": { +"accessPoints": { +"description": "Output only. A list of IPv4 addresses used for client side configuration.", +"items": { +"type": "string" +}, +"readOnly": true, +"type": "array" +}, +"capacityGib": { +"description": "Required. Immutable. The instance's storage capacity in Gibibytes (GiB). Allowed values are between 12000 and 100000, in multiples of 4000; e.g., 12000, 16000, 20000, ...", +"format": "int64", +"type": "string" +}, +"createTime": { +"description": "Output only. The time when the instance was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"daosVersion": { +"deprecated": true, +"description": "Output only. Deprecated: The version of DAOS software running in the instance.", +"readOnly": true, +"type": "string" +}, +"deploymentType": { +"description": "Optional. Immutable. The deployment type of the instance. Allowed values are: * `SCRATCH`: the instance is a scratch instance. * `PERSISTENT`: the instance is a persistent instance.", +"enum": [ +"DEPLOYMENT_TYPE_UNSPECIFIED", +"SCRATCH", +"PERSISTENT" +], +"enumDescriptions": [ +"Default Deployment Type It is equivalent to SCRATCH", +"Scratch", +"Persistent" +], +"type": "string" +}, +"description": { +"description": "Optional. The description of the instance. 2048 characters or less.", +"type": "string" +}, +"directoryStripeLevel": { +"description": "Optional. Immutable. Stripe level for directories. Allowed values are: * `DIRECTORY_STRIPE_LEVEL_MIN`: recommended when directories contain a small number of files. * `DIRECTORY_STRIPE_LEVEL_BALANCED`: balances performance for workloads involving a mix of small and large directories. * `DIRECTORY_STRIPE_LEVEL_MAX`: recommended for directories with a large number of files.", +"enum": [ +"DIRECTORY_STRIPE_LEVEL_UNSPECIFIED", +"DIRECTORY_STRIPE_LEVEL_MIN", +"DIRECTORY_STRIPE_LEVEL_BALANCED", +"DIRECTORY_STRIPE_LEVEL_MAX" +], +"enumDescriptions": [ +"If not set, DirectoryStripeLevel will default to DIRECTORY_STRIPE_LEVEL_MAX", +"Minimum directory striping", +"Medium directory striping", +"Maximum directory striping" +], +"type": "string" +}, +"effectiveReservedIpRange": { +"description": "Output only. Immutable. The ID of the IP address range being used by the instance's VPC network. This field is populated by the service and contains the value currently used by the service.", +"readOnly": true, +"type": "string" +}, +"fileStripeLevel": { +"description": "Optional. Immutable. Stripe level for files. Allowed values are: * `FILE_STRIPE_LEVEL_MIN`: offers the best performance for small size files. * `FILE_STRIPE_LEVEL_BALANCED`: balances performance for workloads involving a mix of small and large files. * `FILE_STRIPE_LEVEL_MAX`: higher throughput performance for larger files.", +"enum": [ +"FILE_STRIPE_LEVEL_UNSPECIFIED", +"FILE_STRIPE_LEVEL_MIN", +"FILE_STRIPE_LEVEL_BALANCED", +"FILE_STRIPE_LEVEL_MAX" +], +"enumDescriptions": [ +"If not set, FileStripeLevel will default to FILE_STRIPE_LEVEL_BALANCED", +"Minimum file striping", +"Medium file striping", +"Maximum file striping" +], +"type": "string" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. Cloud Labels are a flexible and lightweight mechanism for organizing cloud resources into groups that reflect a customer's organizational needs and deployment strategies. See https://cloud.google.com/resource-manager/docs/labels-overview for details.", +"type": "object" +}, +"name": { +"description": "Identifier. The resource name of the instance, in the format `projects/{project}/locations/{location}/instances/{instance_id}`.", +"type": "string" +}, +"network": { +"description": "Optional. Immutable. The name of the Compute Engine [VPC network](https://cloud.google.com/vpc/docs/vpc) to which the instance is connected.", +"type": "string" +}, +"reservedIpRange": { +"description": "Optional. Immutable. The ID of the IP address range being used by the instance's VPC network. See [Configure a VPC network](https://cloud.google.com/parallelstore/docs/vpc#create_and_configure_the_vpc). If no ID is provided, all ranges are considered.", +"type": "string" +}, +"state": { +"description": "Output only. The instance state.", +"enum": [ +"STATE_UNSPECIFIED", +"CREATING", +"ACTIVE", +"DELETING", +"FAILED", +"UPGRADING", +"REPAIRING" +], +"enumDescriptions": [ +"Not set.", +"The instance is being created.", +"The instance is available for use.", +"The instance is being deleted.", +"The instance is not usable.", +"The instance is being upgraded.", +"The instance is being repaired. This should only be used by instances using the `PERSISTENT` deployment type." +], +"readOnly": true, +"type": "string" +}, +"updateTime": { +"description": "Output only. The time when the instance was updated.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"ListInstancesResponse": { +"description": "Response from ListInstances.", +"id": "ListInstancesResponse", +"properties": { +"instances": { +"description": "The list of Parallelstore instances.", +"items": { +"$ref": "Instance" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A token identifying a page of results the server should return.", +"type": "string" +}, +"unreachable": { +"description": "Locations that could not be reached.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListLocationsResponse": { +"description": "The response message for Locations.ListLocations.", +"id": "ListLocationsResponse", +"properties": { +"locations": { +"description": "A list of locations that matches the specified filter in the request.", +"items": { +"$ref": "Location" +}, +"type": "array" +}, +"nextPageToken": { +"description": "The standard List next-page token.", +"type": "string" +} +}, +"type": "object" +}, +"ListOperationsResponse": { +"description": "The response message for Operations.ListOperations.", +"id": "ListOperationsResponse", +"properties": { +"nextPageToken": { +"description": "The standard List next-page token.", +"type": "string" +}, +"operations": { +"description": "A list of operations that matches the specified filter in the request.", +"items": { +"$ref": "Operation" +}, +"type": "array" +}, +"unreachable": { +"description": "Unordered list. Unreachable resources. Populated when the request sets `ListOperationsRequest.return_partial_success` and reads across collections e.g. when attempting to list all resources across all supported locations.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"Location": { +"description": "A resource that represents a Google Cloud location.", +"id": "Location", +"properties": { +"displayName": { +"description": "The friendly name for this location, typically a nearby city name. For example, \"Tokyo\".", +"type": "string" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Cross-service attributes for the location. For example {\"cloud.googleapis.com/region\": \"us-east1\"}", +"type": "object" +}, +"locationId": { +"description": "The canonical id for this location. For example: `\"us-east1\"`.", +"type": "string" +}, +"metadata": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "Service-specific metadata. For example the available capacity at the given location.", +"type": "object" +}, +"name": { +"description": "Resource name for the location, which may vary between implementations. For example: `\"projects/example-project/locations/us-east1\"`", +"type": "string" +} +}, +"type": "object" +}, +"Operation": { +"description": "This resource represents a long-running operation that is the result of a network API call.", +"id": "Operation", +"properties": { +"done": { +"description": "If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.", +"type": "boolean" +}, +"error": { +"$ref": "Status", +"description": "The error result of the operation in case of failure or cancellation." +}, +"metadata": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.", +"type": "object" +}, +"name": { +"description": "The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.", +"type": "string" +}, +"response": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "The normal, successful response of the operation. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.", +"type": "object" +} +}, +"type": "object" +}, +"OperationMetadata": { +"description": "Long-running operation metadata.", +"id": "OperationMetadata", +"properties": { +"apiVersion": { +"description": "Output only. API version used to start the operation.", +"readOnly": true, +"type": "string" +}, +"createTime": { +"description": "Output only. The time the operation was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"endTime": { +"description": "Output only. The time the operation finished running.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"requestedCancellation": { +"description": "Output only. Identifies whether the user has requested cancellation of the operation. Operations that have been cancelled successfully have Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.", +"readOnly": true, +"type": "boolean" +}, +"statusMessage": { +"description": "Output only. Human-readable status of the operation, if any.", +"readOnly": true, +"type": "string" +}, +"target": { +"description": "Output only. Server-defined resource path for the target of the operation.", +"readOnly": true, +"type": "string" +}, +"verb": { +"description": "Output only. Name of the verb executed by the operation.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"ReconciliationOperationMetadata": { +"description": "Operation metadata returned by the CLH during resource state reconciliation.", +"id": "ReconciliationOperationMetadata", +"properties": { +"deleteResource": { +"deprecated": true, +"description": "DEPRECATED. Use exclusive_action instead.", +"type": "boolean" +}, +"exclusiveAction": { +"description": "Excluisive action returned by the CLH.", +"enum": [ +"UNKNOWN_REPAIR_ACTION", +"DELETE", +"RETRY" +], +"enumDeprecated": [ +false, +true, +false +], +"enumDescriptions": [ +"Unknown repair action.", +"The resource has to be deleted. When using this bit, the CLH should fail the operation. DEPRECATED. Instead use DELETE_RESOURCE OperationSignal in SideChannel.", +"This resource could not be repaired but the repair should be tried again at a later time. This can happen if there is a dependency that needs to be resolved first- e.g. if a parent resource must be repaired before a child resource." +], +"type": "string" +} +}, +"type": "object" +}, +"SourceGcsBucket": { +"description": "Cloud Storage as the source of a data transfer.", +"id": "SourceGcsBucket", +"properties": { +"uri": { +"description": "Required. URI to a Cloud Storage bucket in the format: `gs:///`. The path inside the bucket is optional.", +"type": "string" +} +}, +"type": "object" +}, +"SourceParallelstore": { +"description": "Parallelstore as the source of a data transfer.", +"id": "SourceParallelstore", +"properties": { +"path": { +"description": "Optional. Root directory path to the Paralellstore filesystem, starting with `/`. Defaults to `/` if unset.", +"type": "string" +} +}, +"type": "object" +}, +"Status": { +"description": "The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors).", +"id": "Status", +"properties": { +"code": { +"description": "The status code, which should be an enum value of google.rpc.Code.", +"format": "int32", +"type": "integer" +}, +"details": { +"description": "A list of messages that carry the error details. There is a common set of message types for APIs to use.", +"items": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.", +"type": "string" +} +}, +"type": "object" +}, +"TransferMetadataOptions": { +"description": "Transfer metadata options for the instance.", +"id": "TransferMetadataOptions", +"properties": { +"gid": { +"description": "Optional. The GID preservation behavior.", +"enum": [ +"GID_UNSPECIFIED", +"GID_SKIP", +"GID_NUMBER_PRESERVE" +], +"enumDescriptions": [ +"default is GID_NUMBER_PRESERVE.", +"Do not preserve GID during a transfer job.", +"Preserve GID that is in number format during a transfer job." +], +"type": "string" +}, +"mode": { +"description": "Optional. The mode preservation behavior.", +"enum": [ +"MODE_UNSPECIFIED", +"MODE_SKIP", +"MODE_PRESERVE" +], +"enumDescriptions": [ +"default is MODE_PRESERVE.", +"Do not preserve mode during a transfer job.", +"Preserve mode during a transfer job." +], +"type": "string" +}, +"uid": { +"description": "Optional. The UID preservation behavior.", +"enum": [ +"UID_UNSPECIFIED", +"UID_SKIP", +"UID_NUMBER_PRESERVE" +], +"enumDescriptions": [ +"default is UID_NUMBER_PRESERVE.", +"Do not preserve UID during a transfer job.", +"Preserve UID that is in number format during a transfer job." +], +"type": "string" +} +}, +"type": "object" +} +}, +"servicePath": "", +"title": "Parallelstore API", +"version": "v1", +"version_module": true +} \ No newline at end of file diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/playgrouping.v1alpha1.json b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/playgrouping.v1alpha1.json new file mode 100644 index 0000000000000000000000000000000000000000..20a5bb1b513eaf4b73381cc744860dc99efaa4b2 --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/playgrouping.v1alpha1.json @@ -0,0 +1,262 @@ +{ +"basePath": "", +"baseUrl": "https://playgrouping.googleapis.com/", +"batchPath": "batch", +"canonicalName": "Play Grouping", +"description": "playgrouping.googleapis.com API.", +"discoveryVersion": "v1", +"documentationLink": "https://cloud.google.com/playgrouping/", +"fullyEncodeReservedExpansion": true, +"icons": { +"x16": "http://www.google.com/images/icons/product/search-16.gif", +"x32": "http://www.google.com/images/icons/product/search-32.gif" +}, +"id": "playgrouping:v1alpha1", +"kind": "discovery#restDescription", +"mtlsRootUrl": "https://playgrouping.mtls.googleapis.com/", +"name": "playgrouping", +"ownerDomain": "google.com", +"ownerName": "Google", +"parameters": { +"$.xgafv": { +"description": "V1 error format.", +"enum": [ +"1", +"2" +], +"enumDescriptions": [ +"v1 error format", +"v2 error format" +], +"location": "query", +"type": "string" +}, +"access_token": { +"description": "OAuth access token.", +"location": "query", +"type": "string" +}, +"alt": { +"default": "json", +"description": "Data format for response.", +"enum": [ +"json", +"media", +"proto" +], +"enumDescriptions": [ +"Responses with Content-Type of application/json", +"Media download with context-dependent Content-Type", +"Responses with Content-Type of application/x-protobuf" +], +"location": "query", +"type": "string" +}, +"callback": { +"description": "JSONP", +"location": "query", +"type": "string" +}, +"fields": { +"description": "Selector specifying which fields to include in a partial response.", +"location": "query", +"type": "string" +}, +"key": { +"description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", +"location": "query", +"type": "string" +}, +"oauth_token": { +"description": "OAuth 2.0 token for the current user.", +"location": "query", +"type": "string" +}, +"prettyPrint": { +"default": "true", +"description": "Returns response with indentations and line breaks.", +"location": "query", +"type": "boolean" +}, +"quotaUser": { +"description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.", +"location": "query", +"type": "string" +}, +"uploadType": { +"description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", +"location": "query", +"type": "string" +}, +"upload_protocol": { +"description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", +"location": "query", +"type": "string" +} +}, +"protocol": "rest", +"resources": { +"apps": { +"resources": { +"tokens": { +"methods": { +"verify": { +"description": "Verify an API token by asserting the app and persona it belongs to. The verification is a protection against client-side attacks and will fail if the contents of the token don't match the provided values. A token must be verified before it can be used to manipulate user tags.", +"flatPath": "v1alpha1/apps/{appsId}/tokens/{tokensId}:verify", +"httpMethod": "POST", +"id": "playgrouping.apps.tokens.verify", +"parameterOrder": [ +"appPackage", +"token" +], +"parameters": { +"appPackage": { +"description": "Required. App the token belongs to. Format: apps/{package_name}", +"location": "path", +"pattern": "^apps/[^/]+$", +"required": true, +"type": "string" +}, +"token": { +"description": "Required. The token to be verified. Format: tokens/{token}", +"location": "path", +"pattern": "^tokens/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha1/{+appPackage}/{+token}:verify", +"request": { +"$ref": "VerifyTokenRequest" +}, +"response": { +"$ref": "VerifyTokenResponse" +} +} +}, +"resources": { +"tags": { +"methods": { +"createOrUpdate": { +"description": "Create or update tags for the user and app that are represented by the given token.", +"flatPath": "v1alpha1/apps/{appsId}/tokens/{tokensId}/tags:createOrUpdate", +"httpMethod": "POST", +"id": "playgrouping.apps.tokens.tags.createOrUpdate", +"parameterOrder": [ +"appPackage", +"token" +], +"parameters": { +"appPackage": { +"description": "Required. App whose tags are being manipulated. Format: apps/{package_name}", +"location": "path", +"pattern": "^apps/[^/]+$", +"required": true, +"type": "string" +}, +"token": { +"description": "Required. Token for which the tags are being inserted or updated. Format: tokens/{token}", +"location": "path", +"pattern": "^tokens/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha1/{+appPackage}/{+token}/tags:createOrUpdate", +"request": { +"$ref": "CreateOrUpdateTagsRequest" +}, +"response": { +"$ref": "CreateOrUpdateTagsResponse" +} +} +} +} +} +} +} +} +}, +"revision": "20240707", +"rootUrl": "https://playgrouping.googleapis.com/", +"schemas": { +"CreateOrUpdateTagsRequest": { +"description": "Request message for CreateOrUpdateTags. VerifyToken.", +"id": "CreateOrUpdateTagsRequest", +"properties": { +"tags": { +"description": "Tags to be inserted or updated.", +"items": { +"$ref": "Tag" +}, +"type": "array" +} +}, +"type": "object" +}, +"CreateOrUpdateTagsResponse": { +"description": "Response message for CreateOrUpdateTags.", +"id": "CreateOrUpdateTagsResponse", +"properties": { +"tags": { +"description": "All requested tags are returned, including pre-existing ones.", +"items": { +"$ref": "Tag" +}, +"type": "array" +} +}, +"type": "object" +}, +"Tag": { +"description": "A tag is associated with exactly one package name and user.", +"id": "Tag", +"properties": { +"booleanValue": { +"description": "A boolean value of the tag.", +"type": "boolean" +}, +"int64Value": { +"description": "A signed 64-bit integer value of the tag.", +"format": "int64", +"type": "string" +}, +"key": { +"description": "Required. Key for the tag.", +"type": "string" +}, +"stringValue": { +"description": "A string value of the tag.", +"type": "string" +}, +"timeValue": { +"description": "A time value of the tag.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"VerifyTokenRequest": { +"description": "Request message for VerifyToken.", +"id": "VerifyTokenRequest", +"properties": { +"persona": { +"description": "Required. Persona represented by the token. Format: personas/{persona}", +"type": "string" +} +}, +"type": "object" +}, +"VerifyTokenResponse": { +"description": "Response message for VerifyToken.", +"id": "VerifyTokenResponse", +"properties": {}, +"type": "object" +} +}, +"servicePath": "", +"title": "Google Play Grouping API", +"version": "v1alpha1", +"version_module": true +} \ No newline at end of file diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/policyanalyzer.v1beta1.json b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/policyanalyzer.v1beta1.json new file mode 100644 index 0000000000000000000000000000000000000000..4872c66c22e860c05556329e383ff3bb917cf6b2 --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/policyanalyzer.v1beta1.json @@ -0,0 +1,350 @@ +{ +"auth": { +"oauth2": { +"scopes": { +"https://www.googleapis.com/auth/cloud-platform": { +"description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." +} +} +} +}, +"basePath": "", +"baseUrl": "https://policyanalyzer.googleapis.com/", +"batchPath": "batch", +"canonicalName": "Policy Analyzer", +"description": "", +"discoveryVersion": "v1", +"documentationLink": "https://www.google.com", +"fullyEncodeReservedExpansion": true, +"icons": { +"x16": "http://www.google.com/images/icons/product/search-16.gif", +"x32": "http://www.google.com/images/icons/product/search-32.gif" +}, +"id": "policyanalyzer:v1beta1", +"kind": "discovery#restDescription", +"mtlsRootUrl": "https://policyanalyzer.mtls.googleapis.com/", +"name": "policyanalyzer", +"ownerDomain": "google.com", +"ownerName": "Google", +"parameters": { +"$.xgafv": { +"description": "V1 error format.", +"enum": [ +"1", +"2" +], +"enumDescriptions": [ +"v1 error format", +"v2 error format" +], +"location": "query", +"type": "string" +}, +"access_token": { +"description": "OAuth access token.", +"location": "query", +"type": "string" +}, +"alt": { +"default": "json", +"description": "Data format for response.", +"enum": [ +"json", +"media", +"proto" +], +"enumDescriptions": [ +"Responses with Content-Type of application/json", +"Media download with context-dependent Content-Type", +"Responses with Content-Type of application/x-protobuf" +], +"location": "query", +"type": "string" +}, +"callback": { +"description": "JSONP", +"location": "query", +"type": "string" +}, +"fields": { +"description": "Selector specifying which fields to include in a partial response.", +"location": "query", +"type": "string" +}, +"key": { +"description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", +"location": "query", +"type": "string" +}, +"oauth_token": { +"description": "OAuth 2.0 token for the current user.", +"location": "query", +"type": "string" +}, +"prettyPrint": { +"default": "true", +"description": "Returns response with indentations and line breaks.", +"location": "query", +"type": "boolean" +}, +"quotaUser": { +"description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.", +"location": "query", +"type": "string" +}, +"uploadType": { +"description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", +"location": "query", +"type": "string" +}, +"upload_protocol": { +"description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", +"location": "query", +"type": "string" +} +}, +"protocol": "rest", +"resources": { +"folders": { +"resources": { +"locations": { +"resources": { +"activityTypes": { +"resources": { +"activities": { +"methods": { +"query": { +"description": "Queries policy activities on GCP resources.", +"flatPath": "v1beta1/folders/{foldersId}/locations/{locationsId}/activityTypes/{activityTypesId}/activities:query", +"httpMethod": "GET", +"id": "policyanalyzer.folders.locations.activityTypes.activities.query", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Optional. Optional filter expression to restrict the activities returned. Supported filters are: - service_account_last_authn.full_resource_name {=} - service_account_key_last_authn.full_resource_name {=} ", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Optional. The maximum number of results to return from this request. Max limit is 1000. Non-positive values are ignored. The presence of `nextPageToken` in the response indicates that more results might be available.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. If present, then retrieve the next batch of results from the preceding call to this method. `pageToken` must be the value of `nextPageToken` from the previous response. The values of other method parameters should be identical to those in the previous call.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The container resource on which to execute the request. Acceptable formats: `projects/[PROJECT_ID|PROJECT_NUMBER]/locations/[LOCATION]/activityTypes/[ACTIVITY_TYPE]` LOCATION here refers to GCP Locations: https://cloud.google.com/about/locations/", +"location": "path", +"pattern": "^folders/[^/]+/locations/[^/]+/activityTypes/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+parent}/activities:query", +"response": { +"$ref": "GoogleCloudPolicyanalyzerV1beta1QueryActivityResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +} +} +} +} +}, +"organizations": { +"resources": { +"locations": { +"resources": { +"activityTypes": { +"resources": { +"activities": { +"methods": { +"query": { +"description": "Queries policy activities on GCP resources.", +"flatPath": "v1beta1/organizations/{organizationsId}/locations/{locationsId}/activityTypes/{activityTypesId}/activities:query", +"httpMethod": "GET", +"id": "policyanalyzer.organizations.locations.activityTypes.activities.query", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Optional. Optional filter expression to restrict the activities returned. Supported filters are: - service_account_last_authn.full_resource_name {=} - service_account_key_last_authn.full_resource_name {=} ", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Optional. The maximum number of results to return from this request. Max limit is 1000. Non-positive values are ignored. The presence of `nextPageToken` in the response indicates that more results might be available.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. If present, then retrieve the next batch of results from the preceding call to this method. `pageToken` must be the value of `nextPageToken` from the previous response. The values of other method parameters should be identical to those in the previous call.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The container resource on which to execute the request. Acceptable formats: `projects/[PROJECT_ID|PROJECT_NUMBER]/locations/[LOCATION]/activityTypes/[ACTIVITY_TYPE]` LOCATION here refers to GCP Locations: https://cloud.google.com/about/locations/", +"location": "path", +"pattern": "^organizations/[^/]+/locations/[^/]+/activityTypes/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+parent}/activities:query", +"response": { +"$ref": "GoogleCloudPolicyanalyzerV1beta1QueryActivityResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +} +} +} +} +}, +"projects": { +"resources": { +"locations": { +"resources": { +"activityTypes": { +"resources": { +"activities": { +"methods": { +"query": { +"description": "Queries policy activities on GCP resources.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/activityTypes/{activityTypesId}/activities:query", +"httpMethod": "GET", +"id": "policyanalyzer.projects.locations.activityTypes.activities.query", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Optional. Optional filter expression to restrict the activities returned. Supported filters are: - service_account_last_authn.full_resource_name {=} - service_account_key_last_authn.full_resource_name {=} ", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Optional. The maximum number of results to return from this request. Max limit is 1000. Non-positive values are ignored. The presence of `nextPageToken` in the response indicates that more results might be available.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. If present, then retrieve the next batch of results from the preceding call to this method. `pageToken` must be the value of `nextPageToken` from the previous response. The values of other method parameters should be identical to those in the previous call.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The container resource on which to execute the request. Acceptable formats: `projects/[PROJECT_ID|PROJECT_NUMBER]/locations/[LOCATION]/activityTypes/[ACTIVITY_TYPE]` LOCATION here refers to GCP Locations: https://cloud.google.com/about/locations/", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/activityTypes/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+parent}/activities:query", +"response": { +"$ref": "GoogleCloudPolicyanalyzerV1beta1QueryActivityResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +} +} +} +} +} +}, +"revision": "20240707", +"rootUrl": "https://policyanalyzer.googleapis.com/", +"schemas": { +"GoogleCloudPolicyanalyzerV1beta1Activity": { +"description": "Represents Activity on a GCP resource over specific observation period.", +"id": "GoogleCloudPolicyanalyzerV1beta1Activity", +"properties": { +"activity": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"description": "A struct of custom fields to explain the activity.", +"type": "object" +}, +"activityType": { +"description": "The type of the activity.", +"type": "string" +}, +"fullResourceName": { +"description": "The full resource name that identifies the resource. For examples of full resource names for Google Cloud services, see https://cloud.google.com/iam/help/troubleshooter/full-resource-names.", +"type": "string" +}, +"observationPeriod": { +"$ref": "GoogleCloudPolicyanalyzerV1beta1ObservationPeriod", +"description": "The data observation period to build the activity." +} +}, +"type": "object" +}, +"GoogleCloudPolicyanalyzerV1beta1ObservationPeriod": { +"description": "Represents data observation period.", +"id": "GoogleCloudPolicyanalyzerV1beta1ObservationPeriod", +"properties": { +"endTime": { +"description": "The observation end time.", +"format": "google-datetime", +"type": "string" +}, +"startTime": { +"description": "The observation start time.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudPolicyanalyzerV1beta1QueryActivityResponse": { +"description": "Response to the `QueryActivity` method.", +"id": "GoogleCloudPolicyanalyzerV1beta1QueryActivityResponse", +"properties": { +"activities": { +"description": "The set of activities that match the filter included in the request.", +"items": { +"$ref": "GoogleCloudPolicyanalyzerV1beta1Activity" +}, +"type": "array" +}, +"nextPageToken": { +"description": "If there might be more results than those appearing in this response, then `nextPageToken` is included. To get the next set of results, call this method again using the value of `nextPageToken` as `pageToken`.", +"type": "string" +} +}, +"type": "object" +} +}, +"servicePath": "", +"title": "Policy Analyzer API", +"version": "v1beta1", +"version_module": true +} \ No newline at end of file diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/policysimulator.v1alpha.json b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/policysimulator.v1alpha.json new file mode 100644 index 0000000000000000000000000000000000000000..08f7d60c07b89354e894192306774ae641a3ac50 --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/policysimulator.v1alpha.json @@ -0,0 +1,1450 @@ +{ +"auth": { +"oauth2": { +"scopes": { +"https://www.googleapis.com/auth/cloud-platform": { +"description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." +} +} +} +}, +"basePath": "", +"baseUrl": "https://policysimulator.googleapis.com/", +"batchPath": "batch", +"canonicalName": "Policy Simulator", +"description": " Policy Simulator is a collection of endpoints for creating, running, and viewing a Replay. A `Replay` is a type of simulation that lets you see how your members' access to resources might change if you changed your IAM policy. During a `Replay`, Policy Simulator re-evaluates, or replays, past access attempts under both the current policy and your proposed policy, and compares those results to determine how your members' access might change under the proposed policy.", +"discoveryVersion": "v1", +"documentationLink": "https://cloud.google.com/iam/docs/simulating-access", +"fullyEncodeReservedExpansion": true, +"icons": { +"x16": "http://www.google.com/images/icons/product/search-16.gif", +"x32": "http://www.google.com/images/icons/product/search-32.gif" +}, +"id": "policysimulator:v1alpha", +"kind": "discovery#restDescription", +"mtlsRootUrl": "https://policysimulator.mtls.googleapis.com/", +"name": "policysimulator", +"ownerDomain": "google.com", +"ownerName": "Google", +"parameters": { +"$.xgafv": { +"description": "V1 error format.", +"enum": [ +"1", +"2" +], +"enumDescriptions": [ +"v1 error format", +"v2 error format" +], +"location": "query", +"type": "string" +}, +"access_token": { +"description": "OAuth access token.", +"location": "query", +"type": "string" +}, +"alt": { +"default": "json", +"description": "Data format for response.", +"enum": [ +"json", +"media", +"proto" +], +"enumDescriptions": [ +"Responses with Content-Type of application/json", +"Media download with context-dependent Content-Type", +"Responses with Content-Type of application/x-protobuf" +], +"location": "query", +"type": "string" +}, +"callback": { +"description": "JSONP", +"location": "query", +"type": "string" +}, +"fields": { +"description": "Selector specifying which fields to include in a partial response.", +"location": "query", +"type": "string" +}, +"key": { +"description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", +"location": "query", +"type": "string" +}, +"oauth_token": { +"description": "OAuth 2.0 token for the current user.", +"location": "query", +"type": "string" +}, +"prettyPrint": { +"default": "true", +"description": "Returns response with indentations and line breaks.", +"location": "query", +"type": "boolean" +}, +"quotaUser": { +"description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.", +"location": "query", +"type": "string" +}, +"uploadType": { +"description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", +"location": "query", +"type": "string" +}, +"upload_protocol": { +"description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", +"location": "query", +"type": "string" +} +}, +"protocol": "rest", +"resources": { +"folders": { +"resources": { +"locations": { +"resources": { +"accessPolicySimulations": { +"resources": { +"operations": { +"methods": { +"get": { +"description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", +"flatPath": "v1alpha/folders/{foldersId}/locations/{locationsId}/accessPolicySimulations/{accessPolicySimulationsId}/operations/{operationsId}", +"httpMethod": "GET", +"id": "policysimulator.folders.locations.accessPolicySimulations.operations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource.", +"location": "path", +"pattern": "^folders/[^/]+/locations/[^/]+/accessPolicySimulations/[^/]+/operations/.*$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha/{+name}", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +}, +"orgPolicyViolationsPreviews": { +"resources": { +"operations": { +"methods": { +"get": { +"description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", +"flatPath": "v1alpha/folders/{foldersId}/locations/{locationsId}/orgPolicyViolationsPreviews/{orgPolicyViolationsPreviewsId}/operations/{operationsId}", +"httpMethod": "GET", +"id": "policysimulator.folders.locations.orgPolicyViolationsPreviews.operations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource.", +"location": "path", +"pattern": "^folders/[^/]+/locations/[^/]+/orgPolicyViolationsPreviews/[^/]+/operations/.*$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha/{+name}", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +}, +"replays": { +"resources": { +"operations": { +"methods": { +"get": { +"description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", +"flatPath": "v1alpha/folders/{foldersId}/locations/{locationsId}/replays/{replaysId}/operations/{operationsId}", +"httpMethod": "GET", +"id": "policysimulator.folders.locations.replays.operations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource.", +"location": "path", +"pattern": "^folders/[^/]+/locations/[^/]+/replays/[^/]+/operations/.*$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha/{+name}", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.", +"flatPath": "v1alpha/folders/{foldersId}/locations/{locationsId}/replays/{replaysId}/operations", +"httpMethod": "GET", +"id": "policysimulator.folders.locations.replays.operations.list", +"parameterOrder": [ +"name" +], +"parameters": { +"filter": { +"description": "The standard list filter.", +"location": "query", +"type": "string" +}, +"name": { +"description": "The name of the operation's parent resource.", +"location": "path", +"pattern": "^folders/[^/]+/locations/[^/]+/replays/[^/]+/operations$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The standard list page size.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The standard list page token.", +"location": "query", +"type": "string" +}, +"returnPartialSuccess": { +"description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `\"projects/example/locations/-\"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1alpha/{+name}", +"response": { +"$ref": "GoogleLongrunningListOperationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +} +} +} +} +}, +"operations": { +"methods": { +"get": { +"description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", +"flatPath": "v1alpha/operations/{operationsId}", +"httpMethod": "GET", +"id": "policysimulator.operations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource.", +"location": "path", +"pattern": "^operations/.*$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha/{+name}", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.", +"flatPath": "v1alpha/operations", +"httpMethod": "GET", +"id": "policysimulator.operations.list", +"parameterOrder": [ +"name" +], +"parameters": { +"filter": { +"description": "The standard list filter.", +"location": "query", +"type": "string" +}, +"name": { +"description": "The name of the operation's parent resource.", +"location": "path", +"pattern": "^operations$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The standard list page size.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The standard list page token.", +"location": "query", +"type": "string" +}, +"returnPartialSuccess": { +"description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `\"projects/example/locations/-\"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1alpha/{+name}", +"response": { +"$ref": "GoogleLongrunningListOperationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"organizations": { +"resources": { +"locations": { +"resources": { +"accessPolicySimulations": { +"resources": { +"operations": { +"methods": { +"get": { +"description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", +"flatPath": "v1alpha/organizations/{organizationsId}/locations/{locationsId}/accessPolicySimulations/{accessPolicySimulationsId}/operations/{operationsId}", +"httpMethod": "GET", +"id": "policysimulator.organizations.locations.accessPolicySimulations.operations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource.", +"location": "path", +"pattern": "^organizations/[^/]+/locations/[^/]+/accessPolicySimulations/[^/]+/operations/.*$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha/{+name}", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +}, +"orgPolicyViolationsPreviews": { +"resources": { +"operations": { +"methods": { +"get": { +"description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", +"flatPath": "v1alpha/organizations/{organizationsId}/locations/{locationsId}/orgPolicyViolationsPreviews/{orgPolicyViolationsPreviewsId}/operations/{operationsId}", +"httpMethod": "GET", +"id": "policysimulator.organizations.locations.orgPolicyViolationsPreviews.operations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource.", +"location": "path", +"pattern": "^organizations/[^/]+/locations/[^/]+/orgPolicyViolationsPreviews/[^/]+/operations/.*$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha/{+name}", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +}, +"replays": { +"resources": { +"operations": { +"methods": { +"get": { +"description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", +"flatPath": "v1alpha/organizations/{organizationsId}/locations/{locationsId}/replays/{replaysId}/operations/{operationsId}", +"httpMethod": "GET", +"id": "policysimulator.organizations.locations.replays.operations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource.", +"location": "path", +"pattern": "^organizations/[^/]+/locations/[^/]+/replays/[^/]+/operations/.*$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha/{+name}", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.", +"flatPath": "v1alpha/organizations/{organizationsId}/locations/{locationsId}/replays/{replaysId}/operations", +"httpMethod": "GET", +"id": "policysimulator.organizations.locations.replays.operations.list", +"parameterOrder": [ +"name" +], +"parameters": { +"filter": { +"description": "The standard list filter.", +"location": "query", +"type": "string" +}, +"name": { +"description": "The name of the operation's parent resource.", +"location": "path", +"pattern": "^organizations/[^/]+/locations/[^/]+/replays/[^/]+/operations$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The standard list page size.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The standard list page token.", +"location": "query", +"type": "string" +}, +"returnPartialSuccess": { +"description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `\"projects/example/locations/-\"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1alpha/{+name}", +"response": { +"$ref": "GoogleLongrunningListOperationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +} +} +} +} +}, +"projects": { +"resources": { +"locations": { +"resources": { +"accessPolicySimulations": { +"resources": { +"operations": { +"methods": { +"get": { +"description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", +"flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/accessPolicySimulations/{accessPolicySimulationsId}/operations/{operationsId}", +"httpMethod": "GET", +"id": "policysimulator.projects.locations.accessPolicySimulations.operations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/accessPolicySimulations/[^/]+/operations/.*$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha/{+name}", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +}, +"orgPolicyViolationsPreviews": { +"resources": { +"operations": { +"methods": { +"get": { +"description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", +"flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/orgPolicyViolationsPreviews/{orgPolicyViolationsPreviewsId}/operations/{operationsId}", +"httpMethod": "GET", +"id": "policysimulator.projects.locations.orgPolicyViolationsPreviews.operations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/orgPolicyViolationsPreviews/[^/]+/operations/.*$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha/{+name}", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +}, +"replays": { +"resources": { +"operations": { +"methods": { +"get": { +"description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", +"flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/replays/{replaysId}/operations/{operationsId}", +"httpMethod": "GET", +"id": "policysimulator.projects.locations.replays.operations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/replays/[^/]+/operations/.*$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha/{+name}", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.", +"flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/replays/{replaysId}/operations", +"httpMethod": "GET", +"id": "policysimulator.projects.locations.replays.operations.list", +"parameterOrder": [ +"name" +], +"parameters": { +"filter": { +"description": "The standard list filter.", +"location": "query", +"type": "string" +}, +"name": { +"description": "The name of the operation's parent resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/replays/[^/]+/operations$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The standard list page size.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The standard list page token.", +"location": "query", +"type": "string" +}, +"returnPartialSuccess": { +"description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `\"projects/example/locations/-\"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1alpha/{+name}", +"response": { +"$ref": "GoogleLongrunningListOperationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +} +} +} +} +} +}, +"revision": "20251127", +"rootUrl": "https://policysimulator.googleapis.com/", +"schemas": { +"GoogleCloudOrgpolicyV2AlternatePolicySpec": { +"description": "Similar to PolicySpec but with an extra 'launch' field for launch reference. The PolicySpec here is specific for dry-run.", +"id": "GoogleCloudOrgpolicyV2AlternatePolicySpec", +"properties": { +"launch": { +"description": "Reference to the launch that will be used while audit logging and to control the launch. Should be set only in the alternate policy.", +"type": "string" +}, +"spec": { +"$ref": "GoogleCloudOrgpolicyV2PolicySpec", +"description": "Specify constraint for configurations of Google Cloud resources." +} +}, +"type": "object" +}, +"GoogleCloudOrgpolicyV2CustomConstraint": { +"description": "A custom constraint defined by customers which can *only* be applied to the given resource types and organization. By creating a custom constraint, customers can apply policies of this custom constraint. *Creating a custom constraint itself does NOT apply any policy enforcement*.", +"id": "GoogleCloudOrgpolicyV2CustomConstraint", +"properties": { +"actionType": { +"description": "Allow or deny type.", +"enum": [ +"ACTION_TYPE_UNSPECIFIED", +"ALLOW", +"DENY" +], +"enumDescriptions": [ +"This is only used for distinguishing unset values and should never be used. Results in an error.", +"Allowed action type.", +"Deny action type." +], +"type": "string" +}, +"condition": { +"description": "A Common Expression Language (CEL) condition which is used in the evaluation of the constraint. For example: `resource.instanceName.matches(\"(production|test)_(.+_)?[\\d]+\")` or, `resource.management.auto_upgrade == true` The max length of the condition is 1000 characters.", +"type": "string" +}, +"description": { +"description": "Detailed information about this custom policy constraint. The max length of the description is 2000 characters.", +"type": "string" +}, +"displayName": { +"description": "One line display name for the UI. The max length of the display_name is 200 characters.", +"type": "string" +}, +"methodTypes": { +"description": "All the operations being applied for this constraint.", +"items": { +"enum": [ +"METHOD_TYPE_UNSPECIFIED", +"CREATE", +"UPDATE", +"DELETE", +"REMOVE_GRANT", +"GOVERN_TAGS" +], +"enumDescriptions": [ +"This is only used for distinguishing unset values and should never be used. Results in an error.", +"Constraint applied when creating the resource.", +"Constraint applied when updating the resource.", +"Constraint applied when deleting the resource. Not currently supported.", +"Constraint applied when removing an IAM grant.", +"Constraint applied when enforcing forced tagging." +], +"type": "string" +}, +"type": "array" +}, +"name": { +"description": "Immutable. Name of the constraint. This is unique within the organization. Format of the name should be * `organizations/{organization_id}/customConstraints/{custom_constraint_id}` Example: `organizations/123/customConstraints/custom.createOnlyE2TypeVms` The max length is 70 characters and the minimum length is 1. Note that the prefix `organizations/{organization_id}/customConstraints/` is not counted.", +"type": "string" +}, +"resourceTypes": { +"description": "Immutable. The resource instance type on which this policy applies. Format will be of the form : `/` Example: * `compute.googleapis.com/Instance`.", +"items": { +"type": "string" +}, +"type": "array" +}, +"updateTime": { +"description": "Output only. The last time this custom constraint was updated. This represents the last time that the `CreateCustomConstraint` or `UpdateCustomConstraint` methods were called.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudOrgpolicyV2Policy": { +"description": "Defines an organization policy which is used to specify constraints for configurations of Google Cloud resources.", +"id": "GoogleCloudOrgpolicyV2Policy", +"properties": { +"alternate": { +"$ref": "GoogleCloudOrgpolicyV2AlternatePolicySpec", +"deprecated": true, +"description": "Deprecated." +}, +"dryRunSpec": { +"$ref": "GoogleCloudOrgpolicyV2PolicySpec", +"description": "Dry-run policy. Audit-only policy, can be used to monitor how the policy would have impacted the existing and future resources if it's enforced." +}, +"etag": { +"description": "Optional. An opaque tag indicating the current state of the policy, used for concurrency control. This 'etag' is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.", +"type": "string" +}, +"name": { +"description": "Immutable. The resource name of the policy. Must be one of the following forms, where `constraint_name` is the name of the constraint which this policy configures: * `projects/{project_number}/policies/{constraint_name}` * `folders/{folder_id}/policies/{constraint_name}` * `organizations/{organization_id}/policies/{constraint_name}` For example, `projects/123/policies/compute.disableSerialPortAccess`. Note: `projects/{project_id}/policies/{constraint_name}` is also an acceptable name for API requests, but responses will return the name using the equivalent project number.", +"type": "string" +}, +"spec": { +"$ref": "GoogleCloudOrgpolicyV2PolicySpec", +"description": "Basic information about the organization policy." +} +}, +"type": "object" +}, +"GoogleCloudOrgpolicyV2PolicySpec": { +"description": "Defines a Google Cloud policy specification which is used to specify constraints for configurations of Google Cloud resources.", +"id": "GoogleCloudOrgpolicyV2PolicySpec", +"properties": { +"etag": { +"description": "An opaque tag indicating the current version of the policySpec, used for concurrency control. This field is ignored if used in a `CreatePolicy` request. When the policy is returned from either a `GetPolicy` or a `ListPolicies` request, this `etag` indicates the version of the current policySpec to use when executing a read-modify-write loop. When the policy is returned from a `GetEffectivePolicy` request, the `etag` will be unset.", +"type": "string" +}, +"inheritFromParent": { +"description": "Determines the inheritance behavior for this policy. If `inherit_from_parent` is true, policy rules set higher up in the hierarchy (up to the closest root) are inherited and present in the effective policy. If it is false, then no rules are inherited, and this policy becomes the new root for evaluation. This field can be set only for policies which configure list constraints.", +"type": "boolean" +}, +"reset": { +"description": "Ignores policies set above this resource and restores the `constraint_default` enforcement behavior of the specific constraint at this resource. This field can be set in policies for either list or boolean constraints. If set, `rules` must be empty and `inherit_from_parent` must be set to false.", +"type": "boolean" +}, +"rules": { +"description": "In policies for boolean constraints, the following requirements apply: - There must be one and only one policy rule where condition is unset. - Boolean policy rules with conditions must set `enforced` to the opposite of the policy rule without a condition. - During policy evaluation, policy rules with conditions that are true for a target resource take precedence.", +"items": { +"$ref": "GoogleCloudOrgpolicyV2PolicySpecPolicyRule" +}, +"type": "array" +}, +"updateTime": { +"description": "Output only. The time stamp this was previously updated. This represents the last time a call to `CreatePolicy` or `UpdatePolicy` was made for that policy.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudOrgpolicyV2PolicySpecPolicyRule": { +"description": "A rule used to express this policy.", +"id": "GoogleCloudOrgpolicyV2PolicySpecPolicyRule", +"properties": { +"allowAll": { +"description": "Setting this to true means that all values are allowed. This field can be set only in policies for list constraints.", +"type": "boolean" +}, +"condition": { +"$ref": "GoogleTypeExpr", +"description": "A condition that determines whether this rule is used to evaluate the policy. When set, the google.type.Expr.expression field must contain 1 to 10 subexpressions, joined by the `||` or `&&` operators. Each subexpression must use the `resource.matchTag()`, `resource.matchTagId()`, `resource.hasTagKey()`, or `resource.hasTagKeyId()` Common Expression Language (CEL) function. The `resource.matchTag()` function takes the following arguments: * `key_name`: the namespaced name of the tag key, with the organization ID and a slash (`/`) as a prefix; for example, `123456789012/environment` * `value_name`: the short name of the tag value For example: `resource.matchTag('123456789012/environment, 'prod')` The `resource.matchTagId()` function takes the following arguments: * `key_id`: the permanent ID of the tag key; for example, `tagKeys/123456789012` * `value_id`: the permanent ID of the tag value; for example, `tagValues/567890123456` For example: `resource.matchTagId('tagKeys/123456789012', 'tagValues/567890123456')` The `resource.hasTagKey()` function takes the following argument: * `key_name`: the namespaced name of the tag key, with the organization ID and a slash (`/`) as a prefix; for example, `123456789012/environment` For example: `resource.hasTagKey('123456789012/environment')` The `resource.hasTagKeyId()` function takes the following arguments: * `key_id`: the permanent ID of the tag key; for example, `tagKeys/123456789012` For example: `resource.hasTagKeyId('tagKeys/123456789012')`" +}, +"denyAll": { +"description": "Setting this to true means that all values are denied. This field can be set only in policies for list constraints.", +"type": "boolean" +}, +"enforce": { +"description": "If `true`, then the policy is enforced. If `false`, then any configuration is acceptable. This field can be set in policies for boolean constraints, custom constraints and managed constraints.", +"type": "boolean" +}, +"parameters": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"description": "Optional. Required for managed constraints if parameters are defined. Passes parameter values when policy enforcement is enabled. Ensure that parameter value types match those defined in the constraint definition. For example: ``` { \"allowedLocations\" : [\"us-east1\", \"us-west1\"], \"allowAll\" : true } ```", +"type": "object" +}, +"values": { +"$ref": "GoogleCloudOrgpolicyV2PolicySpecPolicyRuleStringValues", +"description": "List of values to be used for this policy rule. This field can be set only in policies for list constraints." +} +}, +"type": "object" +}, +"GoogleCloudOrgpolicyV2PolicySpecPolicyRuleStringValues": { +"description": "A message that holds specific allowed and denied values. This message can define specific values and subtrees of the Resource Manager resource hierarchy (`Organizations`, `Folders`, `Projects`) that are allowed or denied. This is achieved by using the `under:` and optional `is:` prefixes. The `under:` prefix is used to denote resource subtree values. The `is:` prefix is used to denote specific values, and is required only if the value contains a \":\". Values prefixed with \"is:\" are treated the same as values with no prefix. Ancestry subtrees must be in one of the following formats: - `projects/` (for example, `projects/tokyo-rain-123`) - `folders/` (for example, `folders/1234`) - `organizations/` (for example, `organizations/1234`) The `supports_under` field of the associated `Constraint` defines whether ancestry prefixes can be used.", +"id": "GoogleCloudOrgpolicyV2PolicySpecPolicyRuleStringValues", +"properties": { +"allowedValues": { +"description": "List of values allowed at this resource.", +"items": { +"type": "string" +}, +"type": "array" +}, +"deniedValues": { +"description": "List of values denied at this resource.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudPolicysimulatorV1Replay": { +"description": "A resource describing a `Replay`, or simulation.", +"id": "GoogleCloudPolicysimulatorV1Replay", +"properties": { +"config": { +"$ref": "GoogleCloudPolicysimulatorV1ReplayConfig", +"description": "Required. The configuration used for the `Replay`." +}, +"name": { +"description": "Output only. The resource name of the `Replay`, which has the following format: `{projects|folders|organizations}/{resource-id}/locations/global/replays/{replay-id}`, where `{resource-id}` is the ID of the project, folder, or organization that owns the Replay. Example: `projects/my-example-project/locations/global/replays/506a5f7f-38ce-4d7d-8e03-479ce1833c36`", +"readOnly": true, +"type": "string" +}, +"resultsSummary": { +"$ref": "GoogleCloudPolicysimulatorV1ReplayResultsSummary", +"description": "Output only. Summary statistics about the replayed log entries.", +"readOnly": true +}, +"state": { +"description": "Output only. The current state of the `Replay`.", +"enum": [ +"STATE_UNSPECIFIED", +"PENDING", +"RUNNING", +"SUCCEEDED", +"FAILED" +], +"enumDescriptions": [ +"Default value. This value is unused.", +"The `Replay` has not started yet.", +"The `Replay` is currently running.", +"The `Replay` has successfully completed.", +"The `Replay` has finished with an error." +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudPolicysimulatorV1ReplayConfig": { +"description": "The configuration used for a Replay.", +"id": "GoogleCloudPolicysimulatorV1ReplayConfig", +"properties": { +"logSource": { +"description": "The logs to use as input for the Replay.", +"enum": [ +"LOG_SOURCE_UNSPECIFIED", +"RECENT_ACCESSES" +], +"enumDescriptions": [ +"An unspecified log source. If the log source is unspecified, the Replay defaults to using `RECENT_ACCESSES`.", +"All access logs from the last 90 days. These logs may not include logs from the most recent 7 days." +], +"type": "string" +}, +"policyOverlay": { +"additionalProperties": { +"$ref": "GoogleIamV1Policy" +}, +"description": "A mapping of the resources that you want to simulate policies for and the policies that you want to simulate. Keys are the full resource names for the resources. For example, `//cloudresourcemanager.googleapis.com/projects/my-project`. For examples of full resource names for Google Cloud services, see https://cloud.google.com/iam/help/troubleshooter/full-resource-names. Values are Policy objects representing the policies that you want to simulate. Replays automatically take into account any IAM policies inherited through the resource hierarchy, and any policies set on descendant resources. You do not need to include these policies in the policy overlay.", +"type": "object" +} +}, +"type": "object" +}, +"GoogleCloudPolicysimulatorV1ReplayOperationMetadata": { +"description": "Metadata about a Replay operation.", +"id": "GoogleCloudPolicysimulatorV1ReplayOperationMetadata", +"properties": { +"startTime": { +"description": "Time when the request was received.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudPolicysimulatorV1ReplayResultsSummary": { +"description": "Summary statistics about the replayed log entries.", +"id": "GoogleCloudPolicysimulatorV1ReplayResultsSummary", +"properties": { +"differenceCount": { +"description": "The number of replayed log entries with a difference between baseline and simulated policies.", +"format": "int32", +"type": "integer" +}, +"errorCount": { +"description": "The number of log entries that could not be replayed.", +"format": "int32", +"type": "integer" +}, +"logCount": { +"description": "The total number of log entries replayed.", +"format": "int32", +"type": "integer" +}, +"newestDate": { +"$ref": "GoogleTypeDate", +"description": "The date of the newest log entry replayed." +}, +"oldestDate": { +"$ref": "GoogleTypeDate", +"description": "The date of the oldest log entry replayed." +}, +"unchangedCount": { +"description": "The number of replayed log entries with no difference between baseline and simulated policies.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"GoogleCloudPolicysimulatorV1betaCreateOrgPolicyViolationsPreviewOperationMetadata": { +"description": "CreateOrgPolicyViolationsPreviewOperationMetadata is metadata about an OrgPolicyViolationsPreview generations operation.", +"id": "GoogleCloudPolicysimulatorV1betaCreateOrgPolicyViolationsPreviewOperationMetadata", +"properties": { +"requestTime": { +"description": "Time when the request was received.", +"format": "google-datetime", +"type": "string" +}, +"resourcesFound": { +"description": "Total number of resources that need scanning. Should equal resource_scanned + resources_pending", +"format": "int32", +"type": "integer" +}, +"resourcesPending": { +"description": "Number of resources still to scan.", +"format": "int32", +"type": "integer" +}, +"resourcesScanned": { +"description": "Number of resources already scanned.", +"format": "int32", +"type": "integer" +}, +"startTime": { +"description": "Time when the request started processing, i.e., when the state was set to RUNNING.", +"format": "google-datetime", +"type": "string" +}, +"state": { +"description": "Output only. The current state of the operation.", +"enum": [ +"PREVIEW_STATE_UNSPECIFIED", +"PREVIEW_PENDING", +"PREVIEW_RUNNING", +"PREVIEW_SUCCEEDED", +"PREVIEW_FAILED" +], +"enumDescriptions": [ +"The state is unspecified.", +"The OrgPolicyViolationsPreview has not been created yet.", +"The OrgPolicyViolationsPreview is currently being created.", +"The OrgPolicyViolationsPreview creation finished successfully.", +"The OrgPolicyViolationsPreview creation failed with an error." +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudPolicysimulatorV1betaGenerateOrgPolicyViolationsPreviewOperationMetadata": { +"description": "GenerateOrgPolicyViolationsPreviewOperationMetadata is metadata about an OrgPolicyViolationsPreview generations operation.", +"id": "GoogleCloudPolicysimulatorV1betaGenerateOrgPolicyViolationsPreviewOperationMetadata", +"properties": { +"requestTime": { +"description": "Time when the request was received.", +"format": "google-datetime", +"type": "string" +}, +"resourcesFound": { +"description": "Total number of resources that need scanning. Should equal resource_scanned + resources_pending", +"format": "int32", +"type": "integer" +}, +"resourcesPending": { +"description": "Number of resources still to scan.", +"format": "int32", +"type": "integer" +}, +"resourcesScanned": { +"description": "Number of resources already scanned.", +"format": "int32", +"type": "integer" +}, +"startTime": { +"description": "Time when the request started processing, i.e. when the state was set to RUNNING.", +"format": "google-datetime", +"type": "string" +}, +"state": { +"description": "The current state of the operation.", +"enum": [ +"PREVIEW_STATE_UNSPECIFIED", +"PREVIEW_PENDING", +"PREVIEW_RUNNING", +"PREVIEW_SUCCEEDED", +"PREVIEW_FAILED" +], +"enumDescriptions": [ +"The state is unspecified.", +"The OrgPolicyViolationsPreview has not been created yet.", +"The OrgPolicyViolationsPreview is currently being created.", +"The OrgPolicyViolationsPreview creation finished successfully.", +"The OrgPolicyViolationsPreview creation failed with an error." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudPolicysimulatorV1betaOrgPolicyOverlay": { +"description": "The proposed changes to OrgPolicy.", +"id": "GoogleCloudPolicysimulatorV1betaOrgPolicyOverlay", +"properties": { +"customConstraints": { +"description": "Optional. The OrgPolicy CustomConstraint changes to preview violations for. Any existing CustomConstraints with the same name will be overridden in the simulation. That is, violations will be determined as if all custom constraints in the overlay were instantiated. Only a single custom_constraint is supported in the overlay at a time. For evaluating multiple constraints, multiple `GenerateOrgPolicyViolationsPreview` requests are made, where each request evaluates a single constraint.", +"items": { +"$ref": "GoogleCloudPolicysimulatorV1betaOrgPolicyOverlayCustomConstraintOverlay" +}, +"type": "array" +}, +"policies": { +"description": "Optional. The OrgPolicy changes to preview violations for. Any existing OrgPolicies with the same name will be overridden in the simulation. That is, violations will be determined as if all policies in the overlay were created or updated.", +"items": { +"$ref": "GoogleCloudPolicysimulatorV1betaOrgPolicyOverlayPolicyOverlay" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudPolicysimulatorV1betaOrgPolicyOverlayCustomConstraintOverlay": { +"description": "A change to an OrgPolicy custom constraint.", +"id": "GoogleCloudPolicysimulatorV1betaOrgPolicyOverlayCustomConstraintOverlay", +"properties": { +"customConstraint": { +"$ref": "GoogleCloudOrgpolicyV2CustomConstraint", +"description": "Optional. The new or updated custom constraint." +}, +"customConstraintParent": { +"description": "Optional. Resource the constraint is attached to. Example: \"organization/987654\"", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudPolicysimulatorV1betaOrgPolicyOverlayPolicyOverlay": { +"description": "A change to an OrgPolicy.", +"id": "GoogleCloudPolicysimulatorV1betaOrgPolicyOverlayPolicyOverlay", +"properties": { +"policy": { +"$ref": "GoogleCloudOrgpolicyV2Policy", +"description": "Optional. The new or updated OrgPolicy." +}, +"policyParent": { +"description": "Optional. The parent of the policy we are attaching to. Example: \"projects/123456\"", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudPolicysimulatorV1betaOrgPolicyViolationsPreview": { +"description": "OrgPolicyViolationsPreview is a resource providing a preview of the violations that will exist if an OrgPolicy change is made. The list of violations are modeled as child resources and retrieved via a ListOrgPolicyViolations API call. There are potentially more OrgPolicyViolations than could fit in an embedded field. Thus, the use of a child resource instead of a field.", +"id": "GoogleCloudPolicysimulatorV1betaOrgPolicyViolationsPreview", +"properties": { +"createTime": { +"description": "Output only. Time when this `OrgPolicyViolationsPreview` was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"customConstraints": { +"description": "Output only. The names of the constraints against which all `OrgPolicyViolations` were evaluated. If `OrgPolicyOverlay` only contains `PolicyOverlay` then it contains the name of the configured custom constraint, applicable to the specified policies. Otherwise it contains the name of the constraint specified in `CustomConstraintOverlay`. Format: `organizations/{organization_id}/customConstraints/{custom_constraint_id}` Example: `organizations/123/customConstraints/custom.createOnlyE2TypeVms`", +"items": { +"type": "string" +}, +"readOnly": true, +"type": "array" +}, +"name": { +"description": "Output only. The resource name of the `OrgPolicyViolationsPreview`. It has the following format: `organizations/{organization}/locations/{location}/orgPolicyViolationsPreviews/{orgPolicyViolationsPreview}` Example: `organizations/my-example-org/locations/global/orgPolicyViolationsPreviews/506a5f7f`", +"readOnly": true, +"type": "string" +}, +"overlay": { +"$ref": "GoogleCloudPolicysimulatorV1betaOrgPolicyOverlay", +"description": "Required. The proposed changes we are previewing violations for." +}, +"resourceCounts": { +"$ref": "GoogleCloudPolicysimulatorV1betaOrgPolicyViolationsPreviewResourceCounts", +"description": "Output only. A summary of the state of all resources scanned for compliance with the changed OrgPolicy.", +"readOnly": true +}, +"state": { +"description": "Output only. The state of the `OrgPolicyViolationsPreview`.", +"enum": [ +"PREVIEW_STATE_UNSPECIFIED", +"PREVIEW_PENDING", +"PREVIEW_RUNNING", +"PREVIEW_SUCCEEDED", +"PREVIEW_FAILED" +], +"enumDescriptions": [ +"The state is unspecified.", +"The OrgPolicyViolationsPreview has not been created yet.", +"The OrgPolicyViolationsPreview is currently being created.", +"The OrgPolicyViolationsPreview creation finished successfully.", +"The OrgPolicyViolationsPreview creation failed with an error." +], +"readOnly": true, +"type": "string" +}, +"violationsCount": { +"description": "Output only. The number of OrgPolicyViolations in this `OrgPolicyViolationsPreview`. This count may differ from `resource_summary.noncompliant_count` because each OrgPolicyViolation is specific to a resource **and** constraint. If there are multiple constraints being evaluated (i.e. multiple policies in the overlay), a single resource may violate multiple constraints.", +"format": "int32", +"readOnly": true, +"type": "integer" +} +}, +"type": "object" +}, +"GoogleCloudPolicysimulatorV1betaOrgPolicyViolationsPreviewResourceCounts": { +"description": "A summary of the state of all resources scanned for compliance with the changed OrgPolicy.", +"id": "GoogleCloudPolicysimulatorV1betaOrgPolicyViolationsPreviewResourceCounts", +"properties": { +"compliant": { +"description": "Output only. Number of scanned resources with zero violations.", +"format": "int32", +"readOnly": true, +"type": "integer" +}, +"errors": { +"description": "Output only. Number of resources that returned an error when scanned.", +"format": "int32", +"readOnly": true, +"type": "integer" +}, +"noncompliant": { +"description": "Output only. Number of scanned resources with at least one violation.", +"format": "int32", +"readOnly": true, +"type": "integer" +}, +"scanned": { +"description": "Output only. Number of resources checked for compliance. Must equal: unenforced + noncompliant + compliant + error", +"format": "int32", +"readOnly": true, +"type": "integer" +}, +"unenforced": { +"description": "Output only. Number of resources where the constraint was not enforced, i.e. the Policy set `enforced: false` for that resource.", +"format": "int32", +"readOnly": true, +"type": "integer" +} +}, +"type": "object" +}, +"GoogleIamV1AuditConfig": { +"description": "Specifies the audit configuration for a service. The configuration determines which permission types are logged, and what identities, if any, are exempted from logging. An AuditConfig must have one or more AuditLogConfigs. If there are AuditConfigs for both `allServices` and a specific service, the union of the two AuditConfigs is used for that service: the log_types specified in each AuditConfig are enabled, and the exempted_members in each AuditLogConfig are exempted. Example Policy with multiple AuditConfigs: { \"audit_configs\": [ { \"service\": \"allServices\", \"audit_log_configs\": [ { \"log_type\": \"DATA_READ\", \"exempted_members\": [ \"user:jose@example.com\" ] }, { \"log_type\": \"DATA_WRITE\" }, { \"log_type\": \"ADMIN_READ\" } ] }, { \"service\": \"sampleservice.googleapis.com\", \"audit_log_configs\": [ { \"log_type\": \"DATA_READ\" }, { \"log_type\": \"DATA_WRITE\", \"exempted_members\": [ \"user:aliya@example.com\" ] } ] } ] } For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also exempts `jose@example.com` from DATA_READ logging, and `aliya@example.com` from DATA_WRITE logging.", +"id": "GoogleIamV1AuditConfig", +"properties": { +"auditLogConfigs": { +"description": "The configuration for logging of each type of permission.", +"items": { +"$ref": "GoogleIamV1AuditLogConfig" +}, +"type": "array" +}, +"service": { +"description": "Specifies a service that will be enabled for audit logging. For example, `storage.googleapis.com`, `cloudsql.googleapis.com`. `allServices` is a special value that covers all services.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleIamV1AuditLogConfig": { +"description": "Provides the configuration for logging a type of permissions. Example: { \"audit_log_configs\": [ { \"log_type\": \"DATA_READ\", \"exempted_members\": [ \"user:jose@example.com\" ] }, { \"log_type\": \"DATA_WRITE\" } ] } This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting jose@example.com from DATA_READ logging.", +"id": "GoogleIamV1AuditLogConfig", +"properties": { +"exemptedMembers": { +"description": "Specifies the identities that do not cause logging for this type of permission. Follows the same format of Binding.members.", +"items": { +"type": "string" +}, +"type": "array" +}, +"logType": { +"description": "The log type that this config enables.", +"enum": [ +"LOG_TYPE_UNSPECIFIED", +"ADMIN_READ", +"DATA_WRITE", +"DATA_READ" +], +"enumDescriptions": [ +"Default case. Should never be this.", +"Admin reads. Example: CloudIAM getIamPolicy", +"Data writes. Example: CloudSQL Users create", +"Data reads. Example: CloudSQL Users list" +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleIamV1Binding": { +"description": "Associates `members`, or principals, with a `role`.", +"id": "GoogleIamV1Binding", +"properties": { +"condition": { +"$ref": "GoogleTypeExpr", +"description": "The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies)." +}, +"members": { +"description": "Specifies the principals requesting access for a Google Cloud resource. `members` can have the following values: * `allUsers`: A special identifier that represents anyone who is on the internet; with or without a Google account. * `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service account. Does not include identities that come from external identity providers (IdPs) through identity federation. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `group:{emailid}`: An email address that represents a Google group. For example, `admins@example.com`. * `domain:{domain}`: The G Suite domain (primary) that represents all the users of that domain. For example, `google.com` or `example.com`. * `principal://iam.googleapis.com/locations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}`: A single identity in a workforce identity pool. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/group/{group_id}`: All workforce identities in a group. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/attribute.{attribute_name}/{attribute_value}`: All workforce identities with a specific attribute value. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/*`: All identities in a workforce identity pool. * `principal://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/subject/{subject_attribute_value}`: A single identity in a workload identity pool. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/group/{group_id}`: A workload identity pool group. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/attribute.{attribute_name}/{attribute_value}`: All identities in a workload identity pool with a certain attribute. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/*`: All identities in a workload identity pool. * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a user that has been recently deleted. For example, `alice@example.com?uid=123456789012345678901`. If the user is recovered, this value reverts to `user:{emailid}` and the recovered user retains the role in the binding. * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a service account that has been recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the service account is undeleted, this value reverts to `serviceAccount:{emailid}` and the undeleted service account retains the role in the binding. * `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a Google group that has been recently deleted. For example, `admins@example.com?uid=123456789012345678901`. If the group is recovered, this value reverts to `group:{emailid}` and the recovered group retains the role in the binding. * `deleted:principal://iam.googleapis.com/locations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}`: Deleted single identity in a workforce identity pool. For example, `deleted:principal://iam.googleapis.com/locations/global/workforcePools/my-pool-id/subject/my-subject-attribute-value`.", +"items": { +"type": "string" +}, +"type": "array" +}, +"role": { +"description": "Role that is assigned to the list of `members`, or principals. For example, `roles/viewer`, `roles/editor`, or `roles/owner`. For an overview of the IAM roles and permissions, see the [IAM documentation](https://cloud.google.com/iam/docs/roles-overview). For a list of the available pre-defined roles, see [here](https://cloud.google.com/iam/docs/understanding-roles).", +"type": "string" +} +}, +"type": "object" +}, +"GoogleIamV1Policy": { +"description": "An Identity and Access Management (IAM) policy, which specifies access controls for Google Cloud resources. A `Policy` is a collection of `bindings`. A `binding` binds one or more `members`, or principals, to a single `role`. Principals can be user accounts, service accounts, Google groups, and domains (such as G Suite). A `role` is a named list of permissions; each `role` can be an IAM predefined role or a user-created custom role. For some types of Google Cloud resources, a `binding` can also specify a `condition`, which is a logical expression that allows access to a resource only if the expression evaluates to `true`. A condition can add constraints based on attributes of the request, the resource, or both. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). **JSON example:** ``` { \"bindings\": [ { \"role\": \"roles/resourcemanager.organizationAdmin\", \"members\": [ \"user:mike@example.com\", \"group:admins@example.com\", \"domain:google.com\", \"serviceAccount:my-project-id@appspot.gserviceaccount.com\" ] }, { \"role\": \"roles/resourcemanager.organizationViewer\", \"members\": [ \"user:eve@example.com\" ], \"condition\": { \"title\": \"expirable access\", \"description\": \"Does not grant access after Sep 2020\", \"expression\": \"request.time < timestamp('2020-10-01T00:00:00.000Z')\", } } ], \"etag\": \"BwWWja0YfJA=\", \"version\": 3 } ``` **YAML example:** ``` bindings: - members: - user:mike@example.com - group:admins@example.com - domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.com role: roles/resourcemanager.organizationViewer condition: title: expirable access description: Does not grant access after Sep 2020 expression: request.time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 ``` For a description of IAM and its features, see the [IAM documentation](https://cloud.google.com/iam/docs/).", +"id": "GoogleIamV1Policy", +"properties": { +"auditConfigs": { +"description": "Specifies cloud audit logging configuration for this policy.", +"items": { +"$ref": "GoogleIamV1AuditConfig" +}, +"type": "array" +}, +"bindings": { +"description": "Associates a list of `members`, or principals, with a `role`. Optionally, may specify a `condition` that determines how and when the `bindings` are applied. Each of the `bindings` must contain at least one principal. The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250 of these principals can be Google groups. Each occurrence of a principal counts towards these limits. For example, if the `bindings` grant 50 different roles to `user:alice@example.com`, and not to any other principal, then you can add another 1,450 principals to the `bindings` in the `Policy`.", +"items": { +"$ref": "GoogleIamV1Binding" +}, +"type": "array" +}, +"etag": { +"description": "`etag` is used for optimistic concurrency control as a way to help prevent simultaneous updates of a policy from overwriting each other. It is strongly suggested that systems make use of the `etag` in the read-modify-write cycle to perform policy updates in order to avoid race conditions: An `etag` is returned in the response to `getIamPolicy`, and systems are expected to put that etag in the request to `setIamPolicy` to ensure that their change will be applied to the same version of the policy. **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost.", +"format": "byte", +"type": "string" +}, +"version": { +"description": "Specifies the format of the policy. Valid values are `0`, `1`, and `3`. Requests that specify an invalid value are rejected. Any operation that affects conditional role bindings must specify version `3`. This requirement applies to the following operations: * Getting a policy that includes a conditional role binding * Adding a conditional role binding to a policy * Changing a conditional role binding in a policy * Removing any role binding, with or without a condition, from a policy that includes conditions **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost. If a policy does not include any conditions, operations on that policy may specify any valid version or leave the field unset. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"GoogleLongrunningListOperationsResponse": { +"description": "The response message for Operations.ListOperations.", +"id": "GoogleLongrunningListOperationsResponse", +"properties": { +"nextPageToken": { +"description": "The standard List next-page token.", +"type": "string" +}, +"operations": { +"description": "A list of operations that matches the specified filter in the request.", +"items": { +"$ref": "GoogleLongrunningOperation" +}, +"type": "array" +}, +"unreachable": { +"description": "Unordered list. Unreachable resources. Populated when the request sets `ListOperationsRequest.return_partial_success` and reads across collections. For example, when attempting to list all resources across all supported locations.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleLongrunningOperation": { +"description": "This resource represents a long-running operation that is the result of a network API call.", +"id": "GoogleLongrunningOperation", +"properties": { +"done": { +"description": "If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.", +"type": "boolean" +}, +"error": { +"$ref": "GoogleRpcStatus", +"description": "The error result of the operation in case of failure or cancellation." +}, +"metadata": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.", +"type": "object" +}, +"name": { +"description": "The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.", +"type": "string" +}, +"response": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "The normal, successful response of the operation. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.", +"type": "object" +} +}, +"type": "object" +}, +"GoogleRpcStatus": { +"description": "The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors).", +"id": "GoogleRpcStatus", +"properties": { +"code": { +"description": "The status code, which should be an enum value of google.rpc.Code.", +"format": "int32", +"type": "integer" +}, +"details": { +"description": "A list of messages that carry the error details. There is a common set of message types for APIs to use.", +"items": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleTypeDate": { +"description": "Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following: * A full date, with non-zero year, month, and day values. * A month and day, with a zero year (for example, an anniversary). * A year on its own, with a zero month and a zero day. * A year and month, with a zero day (for example, a credit card expiration date). Related types: * google.type.TimeOfDay * google.type.DateTime * google.protobuf.Timestamp", +"id": "GoogleTypeDate", +"properties": { +"day": { +"description": "Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn't significant.", +"format": "int32", +"type": "integer" +}, +"month": { +"description": "Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.", +"format": "int32", +"type": "integer" +}, +"year": { +"description": "Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"GoogleTypeExpr": { +"description": "Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: \"Summary size limit\" description: \"Determines if a summary is less than 100 chars\" expression: \"document.summary.size() < 100\" Example (Equality): title: \"Requestor is owner\" description: \"Determines if requestor is the document owner\" expression: \"document.owner == request.auth.claims.email\" Example (Logic): title: \"Public documents\" description: \"Determine whether the document should be publicly visible\" expression: \"document.type != 'private' && document.type != 'internal'\" Example (Data Manipulation): title: \"Notification string\" description: \"Create a notification string with a timestamp.\" expression: \"'New message received at ' + string(document.create_time)\" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information.", +"id": "GoogleTypeExpr", +"properties": { +"description": { +"description": "Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI.", +"type": "string" +}, +"expression": { +"description": "Textual representation of an expression in Common Expression Language syntax.", +"type": "string" +}, +"location": { +"description": "Optional. String indicating the location of the expression for error reporting, e.g. a file name and a position in the file.", +"type": "string" +}, +"title": { +"description": "Optional. Title for the expression, i.e. a short string describing its purpose. This can be used e.g. in UIs which allow to enter the expression.", +"type": "string" +} +}, +"type": "object" +} +}, +"servicePath": "", +"title": "Policy Simulator API", +"version": "v1alpha", +"version_module": true +} \ No newline at end of file diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/policytroubleshooter.v1.json b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/policytroubleshooter.v1.json new file mode 100644 index 0000000000000000000000000000000000000000..2cb442db7bc22803cf9c4910deb77b006072a903 --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/policytroubleshooter.v1.json @@ -0,0 +1,536 @@ +{ +"auth": { +"oauth2": { +"scopes": { +"https://www.googleapis.com/auth/cloud-platform": { +"description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." +} +} +} +}, +"basePath": "", +"baseUrl": "https://policytroubleshooter.googleapis.com/", +"batchPath": "batch", +"canonicalName": "Policy Troubleshooter", +"description": "", +"discoveryVersion": "v1", +"documentationLink": "https://cloud.google.com/iam/", +"fullyEncodeReservedExpansion": true, +"icons": { +"x16": "http://www.google.com/images/icons/product/search-16.gif", +"x32": "http://www.google.com/images/icons/product/search-32.gif" +}, +"id": "policytroubleshooter:v1", +"kind": "discovery#restDescription", +"mtlsRootUrl": "https://policytroubleshooter.mtls.googleapis.com/", +"name": "policytroubleshooter", +"ownerDomain": "google.com", +"ownerName": "Google", +"parameters": { +"$.xgafv": { +"description": "V1 error format.", +"enum": [ +"1", +"2" +], +"enumDescriptions": [ +"v1 error format", +"v2 error format" +], +"location": "query", +"type": "string" +}, +"access_token": { +"description": "OAuth access token.", +"location": "query", +"type": "string" +}, +"alt": { +"default": "json", +"description": "Data format for response.", +"enum": [ +"json", +"media", +"proto" +], +"enumDescriptions": [ +"Responses with Content-Type of application/json", +"Media download with context-dependent Content-Type", +"Responses with Content-Type of application/x-protobuf" +], +"location": "query", +"type": "string" +}, +"callback": { +"description": "JSONP", +"location": "query", +"type": "string" +}, +"fields": { +"description": "Selector specifying which fields to include in a partial response.", +"location": "query", +"type": "string" +}, +"key": { +"description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", +"location": "query", +"type": "string" +}, +"oauth_token": { +"description": "OAuth 2.0 token for the current user.", +"location": "query", +"type": "string" +}, +"prettyPrint": { +"default": "true", +"description": "Returns response with indentations and line breaks.", +"location": "query", +"type": "boolean" +}, +"quotaUser": { +"description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.", +"location": "query", +"type": "string" +}, +"uploadType": { +"description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", +"location": "query", +"type": "string" +}, +"upload_protocol": { +"description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", +"location": "query", +"type": "string" +} +}, +"protocol": "rest", +"resources": { +"iam": { +"methods": { +"troubleshoot": { +"description": "Checks whether a principal has a specific permission for a specific resource, and explains why the principal does or does not have that permission.", +"flatPath": "v1/iam:troubleshoot", +"httpMethod": "POST", +"id": "policytroubleshooter.iam.troubleshoot", +"parameterOrder": [], +"parameters": {}, +"path": "v1/iam:troubleshoot", +"request": { +"$ref": "GoogleCloudPolicytroubleshooterV1TroubleshootIamPolicyRequest" +}, +"response": { +"$ref": "GoogleCloudPolicytroubleshooterV1TroubleshootIamPolicyResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +}, +"revision": "20240707", +"rootUrl": "https://policytroubleshooter.googleapis.com/", +"schemas": { +"GoogleCloudPolicytroubleshooterV1AccessTuple": { +"description": "Information about the principal, resource, and permission to check.", +"id": "GoogleCloudPolicytroubleshooterV1AccessTuple", +"properties": { +"fullResourceName": { +"description": "Required. The full resource name that identifies the resource. For example, `//compute.googleapis.com/projects/my-project/zones/us-central1-a/instances/my-instance`. For examples of full resource names for Google Cloud services, see https://cloud.google.com/iam/help/troubleshooter/full-resource-names.", +"type": "string" +}, +"permission": { +"description": "Required. The IAM permission to check for the specified principal and resource. For a complete list of IAM permissions, see https://cloud.google.com/iam/help/permissions/reference. For a complete list of predefined IAM roles and the permissions in each role, see https://cloud.google.com/iam/help/roles/reference.", +"type": "string" +}, +"principal": { +"description": "Required. The principal whose access you want to check, in the form of the email address that represents that principal. For example, `alice@example.com` or `my-service-account@my-project.iam.gserviceaccount.com`. The principal must be a Google Account or a service account. Other types of principals are not supported.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudPolicytroubleshooterV1BindingExplanation": { +"description": "Details about how a binding in a policy affects a principal's ability to use a permission.", +"id": "GoogleCloudPolicytroubleshooterV1BindingExplanation", +"properties": { +"access": { +"description": "Required. Indicates whether _this binding_ provides the specified permission to the specified principal for the specified resource. This field does _not_ indicate whether the principal actually has the permission for the resource. There might be another binding that overrides this binding. To determine whether the principal actually has the permission, use the `access` field in the TroubleshootIamPolicyResponse.", +"enum": [ +"ACCESS_STATE_UNSPECIFIED", +"GRANTED", +"NOT_GRANTED", +"UNKNOWN_CONDITIONAL", +"UNKNOWN_INFO_DENIED" +], +"enumDescriptions": [ +"Default value. This value is unused.", +"The principal has the permission.", +"The principal does not have the permission.", +"The principal has the permission only if a condition expression evaluates to `true`.", +"The sender of the request does not have access to all of the policies that Policy Troubleshooter needs to evaluate." +], +"type": "string" +}, +"condition": { +"$ref": "GoogleTypeExpr", +"description": "A condition expression that prevents this binding from granting access unless the expression evaluates to `true`. To learn about IAM Conditions, see https://cloud.google.com/iam/help/conditions/overview." +}, +"memberships": { +"additionalProperties": { +"$ref": "GoogleCloudPolicytroubleshooterV1BindingExplanationAnnotatedMembership" +}, +"description": "Indicates whether each principal in the binding includes the principal specified in the request, either directly or indirectly. Each key identifies a principal in the binding, and each value indicates whether the principal in the binding includes the principal in the request. For example, suppose that a binding includes the following principals: * `user:alice@example.com` * `group:product-eng@example.com` You want to troubleshoot access for `user:bob@example.com`. This user is a principal of the group `group:product-eng@example.com`. For the first principal in the binding, the key is `user:alice@example.com`, and the `membership` field in the value is set to `MEMBERSHIP_NOT_INCLUDED`. For the second principal in the binding, the key is `group:product-eng@example.com`, and the `membership` field in the value is set to `MEMBERSHIP_INCLUDED`.", +"type": "object" +}, +"relevance": { +"description": "The relevance of this binding to the overall determination for the entire policy.", +"enum": [ +"HEURISTIC_RELEVANCE_UNSPECIFIED", +"NORMAL", +"HIGH" +], +"enumDescriptions": [ +"Default value. This value is unused.", +"The data point has a limited effect on the result. Changing the data point is unlikely to affect the overall determination.", +"The data point has a strong effect on the result. Changing the data point is likely to affect the overall determination." +], +"type": "string" +}, +"role": { +"description": "The role that this binding grants. For example, `roles/compute.serviceAgent`. For a complete list of predefined IAM roles, as well as the permissions in each role, see https://cloud.google.com/iam/help/roles/reference.", +"type": "string" +}, +"rolePermission": { +"description": "Indicates whether the role granted by this binding contains the specified permission.", +"enum": [ +"ROLE_PERMISSION_UNSPECIFIED", +"ROLE_PERMISSION_INCLUDED", +"ROLE_PERMISSION_NOT_INCLUDED", +"ROLE_PERMISSION_UNKNOWN_INFO_DENIED" +], +"enumDescriptions": [ +"Default value. This value is unused.", +"The permission is included in the role.", +"The permission is not included in the role.", +"The sender of the request is not allowed to access the binding." +], +"type": "string" +}, +"rolePermissionRelevance": { +"description": "The relevance of the permission's existence, or nonexistence, in the role to the overall determination for the entire policy.", +"enum": [ +"HEURISTIC_RELEVANCE_UNSPECIFIED", +"NORMAL", +"HIGH" +], +"enumDescriptions": [ +"Default value. This value is unused.", +"The data point has a limited effect on the result. Changing the data point is unlikely to affect the overall determination.", +"The data point has a strong effect on the result. Changing the data point is likely to affect the overall determination." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudPolicytroubleshooterV1BindingExplanationAnnotatedMembership": { +"description": "Details about whether the binding includes the principal.", +"id": "GoogleCloudPolicytroubleshooterV1BindingExplanationAnnotatedMembership", +"properties": { +"membership": { +"description": "Indicates whether the binding includes the principal.", +"enum": [ +"MEMBERSHIP_UNSPECIFIED", +"MEMBERSHIP_INCLUDED", +"MEMBERSHIP_NOT_INCLUDED", +"MEMBERSHIP_UNKNOWN_INFO_DENIED", +"MEMBERSHIP_UNKNOWN_UNSUPPORTED" +], +"enumDescriptions": [ +"Default value. This value is unused.", +"The binding includes the principal. The principal can be included directly or indirectly. For example: * A principal is included directly if that principal is listed in the binding. * A principal is included indirectly if that principal is in a Google group or Google Workspace domain that is listed in the binding.", +"The binding does not include the principal.", +"The sender of the request is not allowed to access the binding.", +"The principal is an unsupported type. Only Google Accounts and service accounts are supported." +], +"type": "string" +}, +"relevance": { +"description": "The relevance of the principal's status to the overall determination for the binding.", +"enum": [ +"HEURISTIC_RELEVANCE_UNSPECIFIED", +"NORMAL", +"HIGH" +], +"enumDescriptions": [ +"Default value. This value is unused.", +"The data point has a limited effect on the result. Changing the data point is unlikely to affect the overall determination.", +"The data point has a strong effect on the result. Changing the data point is likely to affect the overall determination." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudPolicytroubleshooterV1ExplainedPolicy": { +"description": "Details about how a specific IAM Policy contributed to the access check.", +"id": "GoogleCloudPolicytroubleshooterV1ExplainedPolicy", +"properties": { +"access": { +"description": "Indicates whether _this policy_ provides the specified permission to the specified principal for the specified resource. This field does _not_ indicate whether the principal actually has the permission for the resource. There might be another policy that overrides this policy. To determine whether the principal actually has the permission, use the `access` field in the TroubleshootIamPolicyResponse.", +"enum": [ +"ACCESS_STATE_UNSPECIFIED", +"GRANTED", +"NOT_GRANTED", +"UNKNOWN_CONDITIONAL", +"UNKNOWN_INFO_DENIED" +], +"enumDescriptions": [ +"Default value. This value is unused.", +"The principal has the permission.", +"The principal does not have the permission.", +"The principal has the permission only if a condition expression evaluates to `true`.", +"The sender of the request does not have access to all of the policies that Policy Troubleshooter needs to evaluate." +], +"type": "string" +}, +"bindingExplanations": { +"description": "Details about how each binding in the policy affects the principal's ability, or inability, to use the permission for the resource. If the sender of the request does not have access to the policy, this field is omitted.", +"items": { +"$ref": "GoogleCloudPolicytroubleshooterV1BindingExplanation" +}, +"type": "array" +}, +"fullResourceName": { +"description": "The full resource name that identifies the resource. For example, `//compute.googleapis.com/projects/my-project/zones/us-central1-a/instances/my-instance`. If the sender of the request does not have access to the policy, this field is omitted. For examples of full resource names for Google Cloud services, see https://cloud.google.com/iam/help/troubleshooter/full-resource-names.", +"type": "string" +}, +"policy": { +"$ref": "GoogleIamV1Policy", +"description": "The IAM policy attached to the resource. If the sender of the request does not have access to the policy, this field is empty." +}, +"relevance": { +"description": "The relevance of this policy to the overall determination in the TroubleshootIamPolicyResponse. If the sender of the request does not have access to the policy, this field is omitted.", +"enum": [ +"HEURISTIC_RELEVANCE_UNSPECIFIED", +"NORMAL", +"HIGH" +], +"enumDescriptions": [ +"Default value. This value is unused.", +"The data point has a limited effect on the result. Changing the data point is unlikely to affect the overall determination.", +"The data point has a strong effect on the result. Changing the data point is likely to affect the overall determination." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudPolicytroubleshooterV1TroubleshootIamPolicyRequest": { +"description": "Request for TroubleshootIamPolicy.", +"id": "GoogleCloudPolicytroubleshooterV1TroubleshootIamPolicyRequest", +"properties": { +"accessTuple": { +"$ref": "GoogleCloudPolicytroubleshooterV1AccessTuple", +"description": "The information to use for checking whether a principal has a permission for a resource." +} +}, +"type": "object" +}, +"GoogleCloudPolicytroubleshooterV1TroubleshootIamPolicyResponse": { +"description": "Response for TroubleshootIamPolicy.", +"id": "GoogleCloudPolicytroubleshooterV1TroubleshootIamPolicyResponse", +"properties": { +"access": { +"description": "Indicates whether the principal has the specified permission for the specified resource, based on evaluating all of the applicable IAM policies.", +"enum": [ +"ACCESS_STATE_UNSPECIFIED", +"GRANTED", +"NOT_GRANTED", +"UNKNOWN_CONDITIONAL", +"UNKNOWN_INFO_DENIED" +], +"enumDescriptions": [ +"Default value. This value is unused.", +"The principal has the permission.", +"The principal does not have the permission.", +"The principal has the permission only if a condition expression evaluates to `true`.", +"The sender of the request does not have access to all of the policies that Policy Troubleshooter needs to evaluate." +], +"type": "string" +}, +"errors": { +"description": "The general errors contained in the troubleshooting response.", +"items": { +"$ref": "GoogleRpcStatus" +}, +"type": "array" +}, +"explainedPolicies": { +"description": "List of IAM policies that were evaluated to check the principal's permissions, with annotations to indicate how each policy contributed to the final result. The list of policies can include the policy for the resource itself. It can also include policies that are inherited from higher levels of the resource hierarchy, including the organization, the folder, and the project. To learn more about the resource hierarchy, see https://cloud.google.com/iam/help/resource-hierarchy.", +"items": { +"$ref": "GoogleCloudPolicytroubleshooterV1ExplainedPolicy" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleIamV1AuditConfig": { +"description": "Specifies the audit configuration for a service. The configuration determines which permission types are logged, and what identities, if any, are exempted from logging. An AuditConfig must have one or more AuditLogConfigs. If there are AuditConfigs for both `allServices` and a specific service, the union of the two AuditConfigs is used for that service: the log_types specified in each AuditConfig are enabled, and the exempted_members in each AuditLogConfig are exempted. Example Policy with multiple AuditConfigs: { \"audit_configs\": [ { \"service\": \"allServices\", \"audit_log_configs\": [ { \"log_type\": \"DATA_READ\", \"exempted_members\": [ \"user:jose@example.com\" ] }, { \"log_type\": \"DATA_WRITE\" }, { \"log_type\": \"ADMIN_READ\" } ] }, { \"service\": \"sampleservice.googleapis.com\", \"audit_log_configs\": [ { \"log_type\": \"DATA_READ\" }, { \"log_type\": \"DATA_WRITE\", \"exempted_members\": [ \"user:aliya@example.com\" ] } ] } ] } For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also exempts `jose@example.com` from DATA_READ logging, and `aliya@example.com` from DATA_WRITE logging.", +"id": "GoogleIamV1AuditConfig", +"properties": { +"auditLogConfigs": { +"description": "The configuration for logging of each type of permission.", +"items": { +"$ref": "GoogleIamV1AuditLogConfig" +}, +"type": "array" +}, +"service": { +"description": "Specifies a service that will be enabled for audit logging. For example, `storage.googleapis.com`, `cloudsql.googleapis.com`. `allServices` is a special value that covers all services.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleIamV1AuditLogConfig": { +"description": "Provides the configuration for logging a type of permissions. Example: { \"audit_log_configs\": [ { \"log_type\": \"DATA_READ\", \"exempted_members\": [ \"user:jose@example.com\" ] }, { \"log_type\": \"DATA_WRITE\" } ] } This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting jose@example.com from DATA_READ logging.", +"id": "GoogleIamV1AuditLogConfig", +"properties": { +"exemptedMembers": { +"description": "Specifies the identities that do not cause logging for this type of permission. Follows the same format of Binding.members.", +"items": { +"type": "string" +}, +"type": "array" +}, +"logType": { +"description": "The log type that this config enables.", +"enum": [ +"LOG_TYPE_UNSPECIFIED", +"ADMIN_READ", +"DATA_WRITE", +"DATA_READ" +], +"enumDescriptions": [ +"Default case. Should never be this.", +"Admin reads. Example: CloudIAM getIamPolicy", +"Data writes. Example: CloudSQL Users create", +"Data reads. Example: CloudSQL Users list" +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleIamV1Binding": { +"description": "Associates `members`, or principals, with a `role`.", +"id": "GoogleIamV1Binding", +"properties": { +"condition": { +"$ref": "GoogleTypeExpr", +"description": "The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies)." +}, +"members": { +"description": "Specifies the principals requesting access for a Google Cloud resource. `members` can have the following values: * `allUsers`: A special identifier that represents anyone who is on the internet; with or without a Google account. * `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service account. Does not include identities that come from external identity providers (IdPs) through identity federation. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `group:{emailid}`: An email address that represents a Google group. For example, `admins@example.com`. * `domain:{domain}`: The G Suite domain (primary) that represents all the users of that domain. For example, `google.com` or `example.com`. * `principal://iam.googleapis.com/locations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}`: A single identity in a workforce identity pool. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/group/{group_id}`: All workforce identities in a group. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/attribute.{attribute_name}/{attribute_value}`: All workforce identities with a specific attribute value. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/*`: All identities in a workforce identity pool. * `principal://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/subject/{subject_attribute_value}`: A single identity in a workload identity pool. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/group/{group_id}`: A workload identity pool group. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/attribute.{attribute_name}/{attribute_value}`: All identities in a workload identity pool with a certain attribute. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/*`: All identities in a workload identity pool. * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a user that has been recently deleted. For example, `alice@example.com?uid=123456789012345678901`. If the user is recovered, this value reverts to `user:{emailid}` and the recovered user retains the role in the binding. * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a service account that has been recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the service account is undeleted, this value reverts to `serviceAccount:{emailid}` and the undeleted service account retains the role in the binding. * `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a Google group that has been recently deleted. For example, `admins@example.com?uid=123456789012345678901`. If the group is recovered, this value reverts to `group:{emailid}` and the recovered group retains the role in the binding. * `deleted:principal://iam.googleapis.com/locations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}`: Deleted single identity in a workforce identity pool. For example, `deleted:principal://iam.googleapis.com/locations/global/workforcePools/my-pool-id/subject/my-subject-attribute-value`.", +"items": { +"type": "string" +}, +"type": "array" +}, +"role": { +"description": "Role that is assigned to the list of `members`, or principals. For example, `roles/viewer`, `roles/editor`, or `roles/owner`. For an overview of the IAM roles and permissions, see the [IAM documentation](https://cloud.google.com/iam/docs/roles-overview). For a list of the available pre-defined roles, see [here](https://cloud.google.com/iam/docs/understanding-roles).", +"type": "string" +} +}, +"type": "object" +}, +"GoogleIamV1Policy": { +"description": "An Identity and Access Management (IAM) policy, which specifies access controls for Google Cloud resources. A `Policy` is a collection of `bindings`. A `binding` binds one or more `members`, or principals, to a single `role`. Principals can be user accounts, service accounts, Google groups, and domains (such as G Suite). A `role` is a named list of permissions; each `role` can be an IAM predefined role or a user-created custom role. For some types of Google Cloud resources, a `binding` can also specify a `condition`, which is a logical expression that allows access to a resource only if the expression evaluates to `true`. A condition can add constraints based on attributes of the request, the resource, or both. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). **JSON example:** ``` { \"bindings\": [ { \"role\": \"roles/resourcemanager.organizationAdmin\", \"members\": [ \"user:mike@example.com\", \"group:admins@example.com\", \"domain:google.com\", \"serviceAccount:my-project-id@appspot.gserviceaccount.com\" ] }, { \"role\": \"roles/resourcemanager.organizationViewer\", \"members\": [ \"user:eve@example.com\" ], \"condition\": { \"title\": \"expirable access\", \"description\": \"Does not grant access after Sep 2020\", \"expression\": \"request.time < timestamp('2020-10-01T00:00:00.000Z')\", } } ], \"etag\": \"BwWWja0YfJA=\", \"version\": 3 } ``` **YAML example:** ``` bindings: - members: - user:mike@example.com - group:admins@example.com - domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.com role: roles/resourcemanager.organizationViewer condition: title: expirable access description: Does not grant access after Sep 2020 expression: request.time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 ``` For a description of IAM and its features, see the [IAM documentation](https://cloud.google.com/iam/docs/).", +"id": "GoogleIamV1Policy", +"properties": { +"auditConfigs": { +"description": "Specifies cloud audit logging configuration for this policy.", +"items": { +"$ref": "GoogleIamV1AuditConfig" +}, +"type": "array" +}, +"bindings": { +"description": "Associates a list of `members`, or principals, with a `role`. Optionally, may specify a `condition` that determines how and when the `bindings` are applied. Each of the `bindings` must contain at least one principal. The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250 of these principals can be Google groups. Each occurrence of a principal counts towards these limits. For example, if the `bindings` grant 50 different roles to `user:alice@example.com`, and not to any other principal, then you can add another 1,450 principals to the `bindings` in the `Policy`.", +"items": { +"$ref": "GoogleIamV1Binding" +}, +"type": "array" +}, +"etag": { +"description": "`etag` is used for optimistic concurrency control as a way to help prevent simultaneous updates of a policy from overwriting each other. It is strongly suggested that systems make use of the `etag` in the read-modify-write cycle to perform policy updates in order to avoid race conditions: An `etag` is returned in the response to `getIamPolicy`, and systems are expected to put that etag in the request to `setIamPolicy` to ensure that their change will be applied to the same version of the policy. **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost.", +"format": "byte", +"type": "string" +}, +"version": { +"description": "Specifies the format of the policy. Valid values are `0`, `1`, and `3`. Requests that specify an invalid value are rejected. Any operation that affects conditional role bindings must specify version `3`. This requirement applies to the following operations: * Getting a policy that includes a conditional role binding * Adding a conditional role binding to a policy * Changing a conditional role binding in a policy * Removing any role binding, with or without a condition, from a policy that includes conditions **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost. If a policy does not include any conditions, operations on that policy may specify any valid version or leave the field unset. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"GoogleRpcStatus": { +"description": "The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors).", +"id": "GoogleRpcStatus", +"properties": { +"code": { +"description": "The status code, which should be an enum value of google.rpc.Code.", +"format": "int32", +"type": "integer" +}, +"details": { +"description": "A list of messages that carry the error details. There is a common set of message types for APIs to use.", +"items": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleTypeExpr": { +"description": "Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: \"Summary size limit\" description: \"Determines if a summary is less than 100 chars\" expression: \"document.summary.size() < 100\" Example (Equality): title: \"Requestor is owner\" description: \"Determines if requestor is the document owner\" expression: \"document.owner == request.auth.claims.email\" Example (Logic): title: \"Public documents\" description: \"Determine whether the document should be publicly visible\" expression: \"document.type != 'private' && document.type != 'internal'\" Example (Data Manipulation): title: \"Notification string\" description: \"Create a notification string with a timestamp.\" expression: \"'New message received at ' + string(document.create_time)\" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information.", +"id": "GoogleTypeExpr", +"properties": { +"description": { +"description": "Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI.", +"type": "string" +}, +"expression": { +"description": "Textual representation of an expression in Common Expression Language syntax.", +"type": "string" +}, +"location": { +"description": "Optional. String indicating the location of the expression for error reporting, e.g. a file name and a position in the file.", +"type": "string" +}, +"title": { +"description": "Optional. Title for the expression, i.e. a short string describing its purpose. This can be used e.g. in UIs which allow to enter the expression.", +"type": "string" +} +}, +"type": "object" +} +}, +"servicePath": "", +"title": "Policy Troubleshooter API", +"version": "v1", +"version_module": true +} \ No newline at end of file diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/pubsub.v1.json b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/pubsub.v1.json new file mode 100644 index 0000000000000000000000000000000000000000..55f38ef10901ae21c53c03cb133be224dda21a3e --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/pubsub.v1.json @@ -0,0 +1,3364 @@ +{ +"auth": { +"oauth2": { +"scopes": { +"https://www.googleapis.com/auth/cloud-platform": { +"description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." +}, +"https://www.googleapis.com/auth/pubsub": { +"description": "View and manage Pub/Sub topics and subscriptions" +} +} +} +}, +"basePath": "", +"baseUrl": "https://pubsub.googleapis.com/", +"batchPath": "batch", +"canonicalName": "Pubsub", +"description": "Provides reliable, many-to-many, asynchronous messaging between applications. ", +"discoveryVersion": "v1", +"documentationLink": "https://cloud.google.com/pubsub/docs", +"endpoints": [ +{ +"description": "Regional Endpoint", +"endpointUrl": "https://pubsub.africa-south1.rep.googleapis.com/", +"location": "africa-south1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://pubsub.asia-east1.rep.googleapis.com/", +"location": "asia-east1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://pubsub.asia-east2.rep.googleapis.com/", +"location": "asia-east2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://pubsub.asia-northeast1.rep.googleapis.com/", +"location": "asia-northeast1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://pubsub.asia-northeast2.rep.googleapis.com/", +"location": "asia-northeast2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://pubsub.asia-northeast3.rep.googleapis.com/", +"location": "asia-northeast3" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://pubsub.asia-south1.rep.googleapis.com/", +"location": "asia-south1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://pubsub.asia-south2.rep.googleapis.com/", +"location": "asia-south2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://pubsub.asia-southeast1.rep.googleapis.com/", +"location": "asia-southeast1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://pubsub.asia-southeast2.rep.googleapis.com/", +"location": "asia-southeast2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://pubsub.asia-southeast3.rep.googleapis.com/", +"location": "asia-southeast3" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://pubsub.australia-southeast1.rep.googleapis.com/", +"location": "australia-southeast1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://pubsub.australia-southeast2.rep.googleapis.com/", +"location": "australia-southeast2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://pubsub.europe-central2.rep.googleapis.com/", +"location": "europe-central2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://pubsub.europe-north1.rep.googleapis.com/", +"location": "europe-north1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://pubsub.europe-north2.rep.googleapis.com/", +"location": "europe-north2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://pubsub.europe-southwest1.rep.googleapis.com/", +"location": "europe-southwest1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://pubsub.europe-west1.rep.googleapis.com/", +"location": "europe-west1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://pubsub.europe-west2.rep.googleapis.com/", +"location": "europe-west2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://pubsub.europe-west3.rep.googleapis.com/", +"location": "europe-west3" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://pubsub.europe-west4.rep.googleapis.com/", +"location": "europe-west4" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://pubsub.europe-west6.rep.googleapis.com/", +"location": "europe-west6" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://pubsub.europe-west8.rep.googleapis.com/", +"location": "europe-west8" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://pubsub.europe-west9.rep.googleapis.com/", +"location": "europe-west9" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://pubsub.europe-west10.rep.googleapis.com/", +"location": "europe-west10" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://pubsub.europe-west12.rep.googleapis.com/", +"location": "europe-west12" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://pubsub.me-central1.rep.googleapis.com/", +"location": "me-central1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://pubsub.me-central2.rep.googleapis.com/", +"location": "me-central2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://pubsub.me-west1.rep.googleapis.com/", +"location": "me-west1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://pubsub.northamerica-northeast1.rep.googleapis.com/", +"location": "northamerica-northeast1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://pubsub.northamerica-northeast2.rep.googleapis.com/", +"location": "northamerica-northeast2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://pubsub.northamerica-south1.rep.googleapis.com/", +"location": "northamerica-south1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://pubsub.southamerica-east1.rep.googleapis.com/", +"location": "southamerica-east1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://pubsub.southamerica-west1.rep.googleapis.com/", +"location": "southamerica-west1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://pubsub.us-central1.rep.googleapis.com/", +"location": "us-central1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://pubsub.us-central2.rep.googleapis.com/", +"location": "us-central2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://pubsub.us-east1.rep.googleapis.com/", +"location": "us-east1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://pubsub.us-east4.rep.googleapis.com/", +"location": "us-east4" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://pubsub.us-east5.rep.googleapis.com/", +"location": "us-east5" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://pubsub.us-east7.rep.googleapis.com/", +"location": "us-east7" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://pubsub.us-south1.rep.googleapis.com/", +"location": "us-south1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://pubsub.us-west1.rep.googleapis.com/", +"location": "us-west1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://pubsub.us-west2.rep.googleapis.com/", +"location": "us-west2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://pubsub.us-west3.rep.googleapis.com/", +"location": "us-west3" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://pubsub.us-west4.rep.googleapis.com/", +"location": "us-west4" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://pubsub.us-west8.rep.googleapis.com/", +"location": "us-west8" +} +], +"icons": { +"x16": "http://www.google.com/images/icons/product/search-16.gif", +"x32": "http://www.google.com/images/icons/product/search-32.gif" +}, +"id": "pubsub:v1", +"kind": "discovery#restDescription", +"mtlsRootUrl": "https://pubsub.mtls.googleapis.com/", +"name": "pubsub", +"ownerDomain": "google.com", +"ownerName": "Google", +"parameters": { +"$.xgafv": { +"description": "V1 error format.", +"enum": [ +"1", +"2" +], +"enumDescriptions": [ +"v1 error format", +"v2 error format" +], +"location": "query", +"type": "string" +}, +"access_token": { +"description": "OAuth access token.", +"location": "query", +"type": "string" +}, +"alt": { +"default": "json", +"description": "Data format for response.", +"enum": [ +"json", +"media", +"proto" +], +"enumDescriptions": [ +"Responses with Content-Type of application/json", +"Media download with context-dependent Content-Type", +"Responses with Content-Type of application/x-protobuf" +], +"location": "query", +"type": "string" +}, +"callback": { +"description": "JSONP", +"location": "query", +"type": "string" +}, +"fields": { +"description": "Selector specifying which fields to include in a partial response.", +"location": "query", +"type": "string" +}, +"key": { +"description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", +"location": "query", +"type": "string" +}, +"oauth_token": { +"description": "OAuth 2.0 token for the current user.", +"location": "query", +"type": "string" +}, +"prettyPrint": { +"default": "true", +"description": "Returns response with indentations and line breaks.", +"location": "query", +"type": "boolean" +}, +"quotaUser": { +"description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.", +"location": "query", +"type": "string" +}, +"uploadType": { +"description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", +"location": "query", +"type": "string" +}, +"upload_protocol": { +"description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", +"location": "query", +"type": "string" +} +}, +"protocol": "rest", +"resources": { +"projects": { +"resources": { +"schemas": { +"methods": { +"commit": { +"description": "Commits a new schema revision to an existing schema.", +"flatPath": "v1/projects/{projectsId}/schemas/{schemasId}:commit", +"httpMethod": "POST", +"id": "pubsub.projects.schemas.commit", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the schema we are revising. Format is `projects/{project}/schemas/{schema}`.", +"location": "path", +"pattern": "^projects/[^/]+/schemas/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:commit", +"request": { +"$ref": "CommitSchemaRequest" +}, +"response": { +"$ref": "Schema" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/pubsub" +] +}, +"create": { +"description": "Creates a schema.", +"flatPath": "v1/projects/{projectsId}/schemas", +"httpMethod": "POST", +"id": "pubsub.projects.schemas.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The name of the project in which to create the schema. Format is `projects/{project-id}`.", +"location": "path", +"pattern": "^projects/[^/]+$", +"required": true, +"type": "string" +}, +"schemaId": { +"description": "The ID to use for the schema, which will become the final component of the schema's resource name. See https://cloud.google.com/pubsub/docs/pubsub-basics#resource_names for resource name constraints.", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+parent}/schemas", +"request": { +"$ref": "Schema" +}, +"response": { +"$ref": "Schema" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/pubsub" +] +}, +"delete": { +"description": "Deletes a schema.", +"flatPath": "v1/projects/{projectsId}/schemas/{schemasId}", +"httpMethod": "DELETE", +"id": "pubsub.projects.schemas.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of the schema to delete. Format is `projects/{project}/schemas/{schema}`.", +"location": "path", +"pattern": "^projects/[^/]+/schemas/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/pubsub" +] +}, +"deleteRevision": { +"description": "Deletes a specific schema revision.", +"flatPath": "v1/projects/{projectsId}/schemas/{schemasId}:deleteRevision", +"httpMethod": "DELETE", +"id": "pubsub.projects.schemas.deleteRevision", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the schema revision to be deleted, with a revision ID explicitly included. Example: `projects/123/schemas/my-schema@c7cfa2a8`", +"location": "path", +"pattern": "^projects/[^/]+/schemas/[^/]+$", +"required": true, +"type": "string" +}, +"revisionId": { +"deprecated": true, +"description": "Optional. This field is deprecated and should not be used for specifying the revision ID. The revision ID should be specified via the `name` parameter.", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}:deleteRevision", +"response": { +"$ref": "Schema" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/pubsub" +] +}, +"get": { +"description": "Gets a schema.", +"flatPath": "v1/projects/{projectsId}/schemas/{schemasId}", +"httpMethod": "GET", +"id": "pubsub.projects.schemas.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the schema to get. Format is `projects/{project}/schemas/{schema}`.", +"location": "path", +"pattern": "^projects/[^/]+/schemas/[^/]+$", +"required": true, +"type": "string" +}, +"view": { +"description": "The set of fields to return in the response. If not set, returns a Schema with all fields filled out. Set to `BASIC` to omit the `definition`.", +"enum": [ +"SCHEMA_VIEW_UNSPECIFIED", +"BASIC", +"FULL" +], +"enumDescriptions": [ +"The default / unset value. The API will default to the BASIC view.", +"Include the name and type of the schema, but not the definition.", +"Include all Schema object fields." +], +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Schema" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/pubsub" +] +}, +"getIamPolicy": { +"description": "Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.", +"flatPath": "v1/projects/{projectsId}/schemas/{schemasId}:getIamPolicy", +"httpMethod": "GET", +"id": "pubsub.projects.schemas.getIamPolicy", +"parameterOrder": [ +"resource" +], +"parameters": { +"options.requestedPolicyVersion": { +"description": "Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).", +"format": "int32", +"location": "query", +"type": "integer" +}, +"resource": { +"description": "REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", +"location": "path", +"pattern": "^projects/[^/]+/schemas/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+resource}:getIamPolicy", +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/pubsub" +] +}, +"list": { +"description": "Lists schemas in a project.", +"flatPath": "v1/projects/{projectsId}/schemas", +"httpMethod": "GET", +"id": "pubsub.projects.schemas.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "Maximum number of schemas to return.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The value returned by the last `ListSchemasResponse`; indicates that this is a continuation of a prior `ListSchemas` call, and that the system should return the next page of data.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The name of the project in which to list schemas. Format is `projects/{project-id}`.", +"location": "path", +"pattern": "^projects/[^/]+$", +"required": true, +"type": "string" +}, +"view": { +"description": "The set of Schema fields to return in the response. If not set, returns Schemas with `name` and `type`, but not `definition`. Set to `FULL` to retrieve all fields.", +"enum": [ +"SCHEMA_VIEW_UNSPECIFIED", +"BASIC", +"FULL" +], +"enumDescriptions": [ +"The default / unset value. The API will default to the BASIC view.", +"Include the name and type of the schema, but not the definition.", +"Include all Schema object fields." +], +"location": "query", +"type": "string" +} +}, +"path": "v1/{+parent}/schemas", +"response": { +"$ref": "ListSchemasResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/pubsub" +] +}, +"listRevisions": { +"description": "Lists all schema revisions for the named schema.", +"flatPath": "v1/projects/{projectsId}/schemas/{schemasId}:listRevisions", +"httpMethod": "GET", +"id": "pubsub.projects.schemas.listRevisions", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the schema to list revisions for.", +"location": "path", +"pattern": "^projects/[^/]+/schemas/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The maximum number of revisions to return per page.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The page token, received from a previous ListSchemaRevisions call. Provide this to retrieve the subsequent page.", +"location": "query", +"type": "string" +}, +"view": { +"description": "The set of Schema fields to return in the response. If not set, returns Schemas with `name` and `type`, but not `definition`. Set to `FULL` to retrieve all fields.", +"enum": [ +"SCHEMA_VIEW_UNSPECIFIED", +"BASIC", +"FULL" +], +"enumDescriptions": [ +"The default / unset value. The API will default to the BASIC view.", +"Include the name and type of the schema, but not the definition.", +"Include all Schema object fields." +], +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}:listRevisions", +"response": { +"$ref": "ListSchemaRevisionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/pubsub" +] +}, +"rollback": { +"description": "Creates a new schema revision that is a copy of the provided revision_id.", +"flatPath": "v1/projects/{projectsId}/schemas/{schemasId}:rollback", +"httpMethod": "POST", +"id": "pubsub.projects.schemas.rollback", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The schema being rolled back with revision id.", +"location": "path", +"pattern": "^projects/[^/]+/schemas/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:rollback", +"request": { +"$ref": "RollbackSchemaRequest" +}, +"response": { +"$ref": "Schema" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/pubsub" +] +}, +"setIamPolicy": { +"description": "Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.", +"flatPath": "v1/projects/{projectsId}/schemas/{schemasId}:setIamPolicy", +"httpMethod": "POST", +"id": "pubsub.projects.schemas.setIamPolicy", +"parameterOrder": [ +"resource" +], +"parameters": { +"resource": { +"description": "REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", +"location": "path", +"pattern": "^projects/[^/]+/schemas/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+resource}:setIamPolicy", +"request": { +"$ref": "SetIamPolicyRequest" +}, +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/pubsub" +] +}, +"testIamPermissions": { +"description": "Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may \"fail open\" without warning.", +"flatPath": "v1/projects/{projectsId}/schemas/{schemasId}:testIamPermissions", +"httpMethod": "POST", +"id": "pubsub.projects.schemas.testIamPermissions", +"parameterOrder": [ +"resource" +], +"parameters": { +"resource": { +"description": "REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", +"location": "path", +"pattern": "^projects/[^/]+/schemas/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+resource}:testIamPermissions", +"request": { +"$ref": "TestIamPermissionsRequest" +}, +"response": { +"$ref": "TestIamPermissionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/pubsub" +] +}, +"validate": { +"description": "Validates a schema.", +"flatPath": "v1/projects/{projectsId}/schemas:validate", +"httpMethod": "POST", +"id": "pubsub.projects.schemas.validate", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The name of the project in which to validate schemas. Format is `projects/{project-id}`.", +"location": "path", +"pattern": "^projects/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/schemas:validate", +"request": { +"$ref": "ValidateSchemaRequest" +}, +"response": { +"$ref": "ValidateSchemaResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/pubsub" +] +}, +"validateMessage": { +"description": "Validates a message against a schema.", +"flatPath": "v1/projects/{projectsId}/schemas:validateMessage", +"httpMethod": "POST", +"id": "pubsub.projects.schemas.validateMessage", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The name of the project in which to validate schemas. Format is `projects/{project-id}`.", +"location": "path", +"pattern": "^projects/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/schemas:validateMessage", +"request": { +"$ref": "ValidateMessageRequest" +}, +"response": { +"$ref": "ValidateMessageResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/pubsub" +] +} +} +}, +"snapshots": { +"methods": { +"create": { +"description": "Creates a snapshot from the requested subscription. Snapshots are used in [Seek](https://cloud.google.com/pubsub/docs/replay-overview) operations, which allow you to manage message acknowledgments in bulk. That is, you can set the acknowledgment state of messages in an existing subscription to the state captured by a snapshot. If the snapshot already exists, returns `ALREADY_EXISTS`. If the requested subscription doesn't exist, returns `NOT_FOUND`. If the backlog in the subscription is too old -- and the resulting snapshot would expire in less than 1 hour -- then `FAILED_PRECONDITION` is returned. See also the `Snapshot.expire_time` field. If the name is not provided in the request, the server will assign a random name for this snapshot on the same project as the subscription, conforming to the [resource name format] (https://cloud.google.com/pubsub/docs/pubsub-basics#resource_names). The generated name is populated in the returned Snapshot object. Note that for REST API requests, you must specify a name in the request.", +"flatPath": "v1/projects/{projectsId}/snapshots/{snapshotsId}", +"httpMethod": "PUT", +"id": "pubsub.projects.snapshots.create", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. User-provided name for this snapshot. If the name is not provided in the request, the server will assign a random name for this snapshot on the same project as the subscription. Note that for REST API requests, you must specify a name. See the [resource name rules](https://cloud.google.com/pubsub/docs/pubsub-basics#resource_names). Format is `projects/{project}/snapshots/{snap}`.", +"location": "path", +"pattern": "^projects/[^/]+/snapshots/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "CreateSnapshotRequest" +}, +"response": { +"$ref": "Snapshot" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/pubsub" +] +}, +"delete": { +"description": "Removes an existing snapshot. Snapshots are used in [Seek] (https://cloud.google.com/pubsub/docs/replay-overview) operations, which allow you to manage message acknowledgments in bulk. That is, you can set the acknowledgment state of messages in an existing subscription to the state captured by a snapshot. When the snapshot is deleted, all messages retained in the snapshot are immediately dropped. After a snapshot is deleted, a new one may be created with the same name, but the new one has no association with the old snapshot or its subscription, unless the same subscription is specified.", +"flatPath": "v1/projects/{projectsId}/snapshots/{snapshotsId}", +"httpMethod": "DELETE", +"id": "pubsub.projects.snapshots.delete", +"parameterOrder": [ +"snapshot" +], +"parameters": { +"snapshot": { +"description": "Required. The name of the snapshot to delete. Format is `projects/{project}/snapshots/{snap}`.", +"location": "path", +"pattern": "^projects/[^/]+/snapshots/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+snapshot}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/pubsub" +] +}, +"get": { +"description": "Gets the configuration details of a snapshot. Snapshots are used in [Seek](https://cloud.google.com/pubsub/docs/replay-overview) operations, which allow you to manage message acknowledgments in bulk. That is, you can set the acknowledgment state of messages in an existing subscription to the state captured by a snapshot.", +"flatPath": "v1/projects/{projectsId}/snapshots/{snapshotsId}", +"httpMethod": "GET", +"id": "pubsub.projects.snapshots.get", +"parameterOrder": [ +"snapshot" +], +"parameters": { +"snapshot": { +"description": "Required. The name of the snapshot to get. Format is `projects/{project}/snapshots/{snap}`.", +"location": "path", +"pattern": "^projects/[^/]+/snapshots/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+snapshot}", +"response": { +"$ref": "Snapshot" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/pubsub" +] +}, +"getIamPolicy": { +"description": "Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.", +"flatPath": "v1/projects/{projectsId}/snapshots/{snapshotsId}:getIamPolicy", +"httpMethod": "GET", +"id": "pubsub.projects.snapshots.getIamPolicy", +"parameterOrder": [ +"resource" +], +"parameters": { +"options.requestedPolicyVersion": { +"description": "Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).", +"format": "int32", +"location": "query", +"type": "integer" +}, +"resource": { +"description": "REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", +"location": "path", +"pattern": "^projects/[^/]+/snapshots/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+resource}:getIamPolicy", +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/pubsub" +] +}, +"list": { +"description": "Lists the existing snapshots. Snapshots are used in [Seek]( https://cloud.google.com/pubsub/docs/replay-overview) operations, which allow you to manage message acknowledgments in bulk. That is, you can set the acknowledgment state of messages in an existing subscription to the state captured by a snapshot.", +"flatPath": "v1/projects/{projectsId}/snapshots", +"httpMethod": "GET", +"id": "pubsub.projects.snapshots.list", +"parameterOrder": [ +"project" +], +"parameters": { +"pageSize": { +"description": "Optional. Maximum number of snapshots to return.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. The value returned by the last `ListSnapshotsResponse`; indicates that this is a continuation of a prior `ListSnapshots` call, and that the system should return the next page of data.", +"location": "query", +"type": "string" +}, +"project": { +"description": "Required. The name of the project in which to list snapshots. Format is `projects/{project-id}`.", +"location": "path", +"pattern": "^projects/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+project}/snapshots", +"response": { +"$ref": "ListSnapshotsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/pubsub" +] +}, +"patch": { +"description": "Updates an existing snapshot by updating the fields specified in the update mask. Snapshots are used in [Seek](https://cloud.google.com/pubsub/docs/replay-overview) operations, which allow you to manage message acknowledgments in bulk. That is, you can set the acknowledgment state of messages in an existing subscription to the state captured by a snapshot.", +"flatPath": "v1/projects/{projectsId}/snapshots/{snapshotsId}", +"httpMethod": "PATCH", +"id": "pubsub.projects.snapshots.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Optional. The name of the snapshot.", +"location": "path", +"pattern": "^projects/[^/]+/snapshots/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "UpdateSnapshotRequest" +}, +"response": { +"$ref": "Snapshot" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/pubsub" +] +}, +"setIamPolicy": { +"description": "Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.", +"flatPath": "v1/projects/{projectsId}/snapshots/{snapshotsId}:setIamPolicy", +"httpMethod": "POST", +"id": "pubsub.projects.snapshots.setIamPolicy", +"parameterOrder": [ +"resource" +], +"parameters": { +"resource": { +"description": "REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", +"location": "path", +"pattern": "^projects/[^/]+/snapshots/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+resource}:setIamPolicy", +"request": { +"$ref": "SetIamPolicyRequest" +}, +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/pubsub" +] +}, +"testIamPermissions": { +"description": "Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may \"fail open\" without warning.", +"flatPath": "v1/projects/{projectsId}/snapshots/{snapshotsId}:testIamPermissions", +"httpMethod": "POST", +"id": "pubsub.projects.snapshots.testIamPermissions", +"parameterOrder": [ +"resource" +], +"parameters": { +"resource": { +"description": "REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", +"location": "path", +"pattern": "^projects/[^/]+/snapshots/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+resource}:testIamPermissions", +"request": { +"$ref": "TestIamPermissionsRequest" +}, +"response": { +"$ref": "TestIamPermissionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/pubsub" +] +} +} +}, +"subscriptions": { +"methods": { +"acknowledge": { +"description": "Acknowledges the messages associated with the `ack_ids` in the `AcknowledgeRequest`. The Pub/Sub system can remove the relevant messages from the subscription. Acknowledging a message whose ack deadline has expired may succeed, but such a message may be redelivered later. Acknowledging a message more than once will not result in an error.", +"flatPath": "v1/projects/{projectsId}/subscriptions/{subscriptionsId}:acknowledge", +"httpMethod": "POST", +"id": "pubsub.projects.subscriptions.acknowledge", +"parameterOrder": [ +"subscription" +], +"parameters": { +"subscription": { +"description": "Required. The subscription whose message is being acknowledged. Format is `projects/{project}/subscriptions/{sub}`.", +"location": "path", +"pattern": "^projects/[^/]+/subscriptions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+subscription}:acknowledge", +"request": { +"$ref": "AcknowledgeRequest" +}, +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/pubsub" +] +}, +"create": { +"description": "Creates a subscription to a given topic. See the [resource name rules] (https://cloud.google.com/pubsub/docs/pubsub-basics#resource_names). If the subscription already exists, returns `ALREADY_EXISTS`. If the corresponding topic doesn't exist, returns `NOT_FOUND`. If the name is not provided in the request, the server will assign a random name for this subscription on the same project as the topic, conforming to the [resource name format] (https://cloud.google.com/pubsub/docs/pubsub-basics#resource_names). The generated name is populated in the returned Subscription object. Note that for REST API requests, you must specify a name in the request.", +"flatPath": "v1/projects/{projectsId}/subscriptions/{subscriptionsId}", +"httpMethod": "PUT", +"id": "pubsub.projects.subscriptions.create", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Identifier. The name of the subscription. It must have the format `\"projects/{project}/subscriptions/{subscription}\"`. `{subscription}` must start with a letter, and contain only letters (`[A-Za-z]`), numbers (`[0-9]`), dashes (`-`), underscores (`_`), periods (`.`), tildes (`~`), plus (`+`) or percent signs (`%`). It must be between 3 and 255 characters in length, and it must not start with `\"goog\"`.", +"location": "path", +"pattern": "^projects/[^/]+/subscriptions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "Subscription" +}, +"response": { +"$ref": "Subscription" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/pubsub" +] +}, +"delete": { +"description": "Deletes an existing subscription. All messages retained in the subscription are immediately dropped. Calls to `Pull` after deletion will return `NOT_FOUND`. After a subscription is deleted, a new one may be created with the same name, but the new one has no association with the old subscription or its topic unless the same topic is specified.", +"flatPath": "v1/projects/{projectsId}/subscriptions/{subscriptionsId}", +"httpMethod": "DELETE", +"id": "pubsub.projects.subscriptions.delete", +"parameterOrder": [ +"subscription" +], +"parameters": { +"subscription": { +"description": "Required. The subscription to delete. Format is `projects/{project}/subscriptions/{sub}`.", +"location": "path", +"pattern": "^projects/[^/]+/subscriptions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+subscription}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/pubsub" +] +}, +"detach": { +"description": "Detaches a subscription from this topic. All messages retained in the subscription are dropped. Subsequent `Pull` and `StreamingPull` requests will return FAILED_PRECONDITION. If the subscription is a push subscription, pushes to the endpoint will stop.", +"flatPath": "v1/projects/{projectsId}/subscriptions/{subscriptionsId}:detach", +"httpMethod": "POST", +"id": "pubsub.projects.subscriptions.detach", +"parameterOrder": [ +"subscription" +], +"parameters": { +"subscription": { +"description": "Required. The subscription to detach. Format is `projects/{project}/subscriptions/{subscription}`.", +"location": "path", +"pattern": "^projects/[^/]+/subscriptions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+subscription}:detach", +"response": { +"$ref": "DetachSubscriptionResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/pubsub" +] +}, +"get": { +"description": "Gets the configuration details of a subscription.", +"flatPath": "v1/projects/{projectsId}/subscriptions/{subscriptionsId}", +"httpMethod": "GET", +"id": "pubsub.projects.subscriptions.get", +"parameterOrder": [ +"subscription" +], +"parameters": { +"subscription": { +"description": "Required. The name of the subscription to get. Format is `projects/{project}/subscriptions/{sub}`.", +"location": "path", +"pattern": "^projects/[^/]+/subscriptions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+subscription}", +"response": { +"$ref": "Subscription" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/pubsub" +] +}, +"getIamPolicy": { +"description": "Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.", +"flatPath": "v1/projects/{projectsId}/subscriptions/{subscriptionsId}:getIamPolicy", +"httpMethod": "GET", +"id": "pubsub.projects.subscriptions.getIamPolicy", +"parameterOrder": [ +"resource" +], +"parameters": { +"options.requestedPolicyVersion": { +"description": "Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).", +"format": "int32", +"location": "query", +"type": "integer" +}, +"resource": { +"description": "REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", +"location": "path", +"pattern": "^projects/[^/]+/subscriptions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+resource}:getIamPolicy", +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/pubsub" +] +}, +"list": { +"description": "Lists matching subscriptions.", +"flatPath": "v1/projects/{projectsId}/subscriptions", +"httpMethod": "GET", +"id": "pubsub.projects.subscriptions.list", +"parameterOrder": [ +"project" +], +"parameters": { +"pageSize": { +"description": "Optional. Maximum number of subscriptions to return.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. The value returned by the last `ListSubscriptionsResponse`; indicates that this is a continuation of a prior `ListSubscriptions` call, and that the system should return the next page of data.", +"location": "query", +"type": "string" +}, +"project": { +"description": "Required. The name of the project in which to list subscriptions. Format is `projects/{project-id}`.", +"location": "path", +"pattern": "^projects/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+project}/subscriptions", +"response": { +"$ref": "ListSubscriptionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/pubsub" +] +}, +"modifyAckDeadline": { +"description": "Modifies the ack deadline for a specific message. This method is useful to indicate that more time is needed to process a message by the subscriber, or to make the message available for redelivery if the processing was interrupted. Note that this does not modify the subscription-level `ackDeadlineSeconds` used for subsequent messages.", +"flatPath": "v1/projects/{projectsId}/subscriptions/{subscriptionsId}:modifyAckDeadline", +"httpMethod": "POST", +"id": "pubsub.projects.subscriptions.modifyAckDeadline", +"parameterOrder": [ +"subscription" +], +"parameters": { +"subscription": { +"description": "Required. The name of the subscription. Format is `projects/{project}/subscriptions/{sub}`.", +"location": "path", +"pattern": "^projects/[^/]+/subscriptions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+subscription}:modifyAckDeadline", +"request": { +"$ref": "ModifyAckDeadlineRequest" +}, +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/pubsub" +] +}, +"modifyPushConfig": { +"description": "Modifies the `PushConfig` for a specified subscription. This may be used to change a push subscription to a pull one (signified by an empty `PushConfig`) or vice versa, or change the endpoint URL and other attributes of a push subscription. Messages will accumulate for delivery continuously through the call regardless of changes to the `PushConfig`.", +"flatPath": "v1/projects/{projectsId}/subscriptions/{subscriptionsId}:modifyPushConfig", +"httpMethod": "POST", +"id": "pubsub.projects.subscriptions.modifyPushConfig", +"parameterOrder": [ +"subscription" +], +"parameters": { +"subscription": { +"description": "Required. The name of the subscription. Format is `projects/{project}/subscriptions/{sub}`.", +"location": "path", +"pattern": "^projects/[^/]+/subscriptions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+subscription}:modifyPushConfig", +"request": { +"$ref": "ModifyPushConfigRequest" +}, +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/pubsub" +] +}, +"patch": { +"description": "Updates an existing subscription by updating the fields specified in the update mask. Note that certain properties of a subscription, such as its topic, are not modifiable.", +"flatPath": "v1/projects/{projectsId}/subscriptions/{subscriptionsId}", +"httpMethod": "PATCH", +"id": "pubsub.projects.subscriptions.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Identifier. The name of the subscription. It must have the format `\"projects/{project}/subscriptions/{subscription}\"`. `{subscription}` must start with a letter, and contain only letters (`[A-Za-z]`), numbers (`[0-9]`), dashes (`-`), underscores (`_`), periods (`.`), tildes (`~`), plus (`+`) or percent signs (`%`). It must be between 3 and 255 characters in length, and it must not start with `\"goog\"`.", +"location": "path", +"pattern": "^projects/[^/]+/subscriptions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "UpdateSubscriptionRequest" +}, +"response": { +"$ref": "Subscription" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/pubsub" +] +}, +"pull": { +"description": "Pulls messages from the server.", +"flatPath": "v1/projects/{projectsId}/subscriptions/{subscriptionsId}:pull", +"httpMethod": "POST", +"id": "pubsub.projects.subscriptions.pull", +"parameterOrder": [ +"subscription" +], +"parameters": { +"subscription": { +"description": "Required. The subscription from which messages should be pulled. Format is `projects/{project}/subscriptions/{sub}`.", +"location": "path", +"pattern": "^projects/[^/]+/subscriptions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+subscription}:pull", +"request": { +"$ref": "PullRequest" +}, +"response": { +"$ref": "PullResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/pubsub" +] +}, +"seek": { +"description": "Seeks an existing subscription to a point in time or to a given snapshot, whichever is provided in the request. Snapshots are used in [Seek] (https://cloud.google.com/pubsub/docs/replay-overview) operations, which allow you to manage message acknowledgments in bulk. That is, you can set the acknowledgment state of messages in an existing subscription to the state captured by a snapshot. Note that both the subscription and the snapshot must be on the same topic.", +"flatPath": "v1/projects/{projectsId}/subscriptions/{subscriptionsId}:seek", +"httpMethod": "POST", +"id": "pubsub.projects.subscriptions.seek", +"parameterOrder": [ +"subscription" +], +"parameters": { +"subscription": { +"description": "Required. The subscription to affect.", +"location": "path", +"pattern": "^projects/[^/]+/subscriptions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+subscription}:seek", +"request": { +"$ref": "SeekRequest" +}, +"response": { +"$ref": "SeekResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/pubsub" +] +}, +"setIamPolicy": { +"description": "Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.", +"flatPath": "v1/projects/{projectsId}/subscriptions/{subscriptionsId}:setIamPolicy", +"httpMethod": "POST", +"id": "pubsub.projects.subscriptions.setIamPolicy", +"parameterOrder": [ +"resource" +], +"parameters": { +"resource": { +"description": "REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", +"location": "path", +"pattern": "^projects/[^/]+/subscriptions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+resource}:setIamPolicy", +"request": { +"$ref": "SetIamPolicyRequest" +}, +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/pubsub" +] +}, +"testIamPermissions": { +"description": "Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may \"fail open\" without warning.", +"flatPath": "v1/projects/{projectsId}/subscriptions/{subscriptionsId}:testIamPermissions", +"httpMethod": "POST", +"id": "pubsub.projects.subscriptions.testIamPermissions", +"parameterOrder": [ +"resource" +], +"parameters": { +"resource": { +"description": "REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", +"location": "path", +"pattern": "^projects/[^/]+/subscriptions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+resource}:testIamPermissions", +"request": { +"$ref": "TestIamPermissionsRequest" +}, +"response": { +"$ref": "TestIamPermissionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/pubsub" +] +} +} +}, +"topics": { +"methods": { +"create": { +"description": "Creates the given topic with the given name. See the [resource name rules] (https://cloud.google.com/pubsub/docs/pubsub-basics#resource_names).", +"flatPath": "v1/projects/{projectsId}/topics/{topicsId}", +"httpMethod": "PUT", +"id": "pubsub.projects.topics.create", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Identifier. The name of the topic. It must have the format `\"projects/{project}/topics/{topic}\"`. `{topic}` must start with a letter, and contain only letters (`[A-Za-z]`), numbers (`[0-9]`), dashes (`-`), underscores (`_`), periods (`.`), tildes (`~`), plus (`+`) or percent signs (`%`). It must be between 3 and 255 characters in length, and it must not start with `\"goog\"`.", +"location": "path", +"pattern": "^projects/[^/]+/topics/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "Topic" +}, +"response": { +"$ref": "Topic" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/pubsub" +] +}, +"delete": { +"description": "Deletes the topic with the given name. Returns `NOT_FOUND` if the topic does not exist. After a topic is deleted, a new topic may be created with the same name; this is an entirely new topic with none of the old configuration or subscriptions. Existing subscriptions to this topic are not deleted, but their `topic` field is set to `_deleted-topic_`.", +"flatPath": "v1/projects/{projectsId}/topics/{topicsId}", +"httpMethod": "DELETE", +"id": "pubsub.projects.topics.delete", +"parameterOrder": [ +"topic" +], +"parameters": { +"topic": { +"description": "Required. Name of the topic to delete. Format is `projects/{project}/topics/{topic}`.", +"location": "path", +"pattern": "^projects/[^/]+/topics/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+topic}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/pubsub" +] +}, +"get": { +"description": "Gets the configuration of a topic.", +"flatPath": "v1/projects/{projectsId}/topics/{topicsId}", +"httpMethod": "GET", +"id": "pubsub.projects.topics.get", +"parameterOrder": [ +"topic" +], +"parameters": { +"topic": { +"description": "Required. The name of the topic to get. Format is `projects/{project}/topics/{topic}`.", +"location": "path", +"pattern": "^projects/[^/]+/topics/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+topic}", +"response": { +"$ref": "Topic" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/pubsub" +] +}, +"getIamPolicy": { +"description": "Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.", +"flatPath": "v1/projects/{projectsId}/topics/{topicsId}:getIamPolicy", +"httpMethod": "GET", +"id": "pubsub.projects.topics.getIamPolicy", +"parameterOrder": [ +"resource" +], +"parameters": { +"options.requestedPolicyVersion": { +"description": "Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).", +"format": "int32", +"location": "query", +"type": "integer" +}, +"resource": { +"description": "REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", +"location": "path", +"pattern": "^projects/[^/]+/topics/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+resource}:getIamPolicy", +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/pubsub" +] +}, +"list": { +"description": "Lists matching topics.", +"flatPath": "v1/projects/{projectsId}/topics", +"httpMethod": "GET", +"id": "pubsub.projects.topics.list", +"parameterOrder": [ +"project" +], +"parameters": { +"pageSize": { +"description": "Optional. Maximum number of topics to return.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. The value returned by the last `ListTopicsResponse`; indicates that this is a continuation of a prior `ListTopics` call, and that the system should return the next page of data.", +"location": "query", +"type": "string" +}, +"project": { +"description": "Required. The name of the project in which to list topics. Format is `projects/{project-id}`.", +"location": "path", +"pattern": "^projects/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+project}/topics", +"response": { +"$ref": "ListTopicsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/pubsub" +] +}, +"patch": { +"description": "Updates an existing topic by updating the fields specified in the update mask. Note that certain properties of a topic are not modifiable.", +"flatPath": "v1/projects/{projectsId}/topics/{topicsId}", +"httpMethod": "PATCH", +"id": "pubsub.projects.topics.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Identifier. The name of the topic. It must have the format `\"projects/{project}/topics/{topic}\"`. `{topic}` must start with a letter, and contain only letters (`[A-Za-z]`), numbers (`[0-9]`), dashes (`-`), underscores (`_`), periods (`.`), tildes (`~`), plus (`+`) or percent signs (`%`). It must be between 3 and 255 characters in length, and it must not start with `\"goog\"`.", +"location": "path", +"pattern": "^projects/[^/]+/topics/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "UpdateTopicRequest" +}, +"response": { +"$ref": "Topic" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/pubsub" +] +}, +"publish": { +"description": "Adds one or more messages to the topic. Returns `NOT_FOUND` if the topic does not exist.", +"flatPath": "v1/projects/{projectsId}/topics/{topicsId}:publish", +"httpMethod": "POST", +"id": "pubsub.projects.topics.publish", +"parameterOrder": [ +"topic" +], +"parameters": { +"topic": { +"description": "Required. The messages in the request will be published on this topic. Format is `projects/{project}/topics/{topic}`.", +"location": "path", +"pattern": "^projects/[^/]+/topics/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+topic}:publish", +"request": { +"$ref": "PublishRequest" +}, +"response": { +"$ref": "PublishResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/pubsub" +] +}, +"setIamPolicy": { +"description": "Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.", +"flatPath": "v1/projects/{projectsId}/topics/{topicsId}:setIamPolicy", +"httpMethod": "POST", +"id": "pubsub.projects.topics.setIamPolicy", +"parameterOrder": [ +"resource" +], +"parameters": { +"resource": { +"description": "REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", +"location": "path", +"pattern": "^projects/[^/]+/topics/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+resource}:setIamPolicy", +"request": { +"$ref": "SetIamPolicyRequest" +}, +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/pubsub" +] +}, +"testIamPermissions": { +"description": "Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may \"fail open\" without warning.", +"flatPath": "v1/projects/{projectsId}/topics/{topicsId}:testIamPermissions", +"httpMethod": "POST", +"id": "pubsub.projects.topics.testIamPermissions", +"parameterOrder": [ +"resource" +], +"parameters": { +"resource": { +"description": "REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", +"location": "path", +"pattern": "^projects/[^/]+/topics/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+resource}:testIamPermissions", +"request": { +"$ref": "TestIamPermissionsRequest" +}, +"response": { +"$ref": "TestIamPermissionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/pubsub" +] +} +}, +"resources": { +"snapshots": { +"methods": { +"list": { +"description": "Lists the names of the snapshots on this topic. Snapshots are used in [Seek](https://cloud.google.com/pubsub/docs/replay-overview) operations, which allow you to manage message acknowledgments in bulk. That is, you can set the acknowledgment state of messages in an existing subscription to the state captured by a snapshot.", +"flatPath": "v1/projects/{projectsId}/topics/{topicsId}/snapshots", +"httpMethod": "GET", +"id": "pubsub.projects.topics.snapshots.list", +"parameterOrder": [ +"topic" +], +"parameters": { +"pageSize": { +"description": "Optional. Maximum number of snapshot names to return.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. The value returned by the last `ListTopicSnapshotsResponse`; indicates that this is a continuation of a prior `ListTopicSnapshots` call, and that the system should return the next page of data.", +"location": "query", +"type": "string" +}, +"topic": { +"description": "Required. The name of the topic that snapshots are attached to. Format is `projects/{project}/topics/{topic}`.", +"location": "path", +"pattern": "^projects/[^/]+/topics/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+topic}/snapshots", +"response": { +"$ref": "ListTopicSnapshotsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/pubsub" +] +} +} +}, +"subscriptions": { +"methods": { +"list": { +"description": "Lists the names of the attached subscriptions on this topic.", +"flatPath": "v1/projects/{projectsId}/topics/{topicsId}/subscriptions", +"httpMethod": "GET", +"id": "pubsub.projects.topics.subscriptions.list", +"parameterOrder": [ +"topic" +], +"parameters": { +"pageSize": { +"description": "Optional. Maximum number of subscription names to return.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. The value returned by the last `ListTopicSubscriptionsResponse`; indicates that this is a continuation of a prior `ListTopicSubscriptions` call, and that the system should return the next page of data.", +"location": "query", +"type": "string" +}, +"topic": { +"description": "Required. The name of the topic that subscriptions are attached to. Format is `projects/{project}/topics/{topic}`.", +"location": "path", +"pattern": "^projects/[^/]+/topics/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+topic}/subscriptions", +"response": { +"$ref": "ListTopicSubscriptionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/pubsub" +] +} +} +} +} +} +} +} +}, +"revision": "20260116", +"rootUrl": "https://pubsub.googleapis.com/", +"schemas": { +"AIInference": { +"description": "Configuration for making inference requests against Vertex AI models.", +"id": "AIInference", +"properties": { +"endpoint": { +"description": "Required. An endpoint to a Vertex AI model of the form `projects/{project}/locations/{location}/endpoints/{endpoint}` or `projects/{project}/locations/{location}/publishers/{publisher}/models/{model}`. Vertex AI API requests will be sent to this endpoint.", +"type": "string" +}, +"serviceAccountEmail": { +"description": "Optional. The service account to use to make prediction requests against endpoints. The resource creator or updater that specifies this field must have `iam.serviceAccounts.actAs` permission on the service account. If not specified, the Pub/Sub [service agent]({$universe.dns_names.final_documentation_domain}/iam/docs/service-agents), service-{project_number}@gcp-sa-pubsub.iam.gserviceaccount.com, is used.", +"type": "string" +}, +"unstructuredInference": { +"$ref": "UnstructuredInference", +"description": "Optional. Requests and responses can be any arbitrary JSON object." +} +}, +"type": "object" +}, +"AcknowledgeRequest": { +"description": "Request for the Acknowledge method.", +"id": "AcknowledgeRequest", +"properties": { +"ackIds": { +"description": "Required. The acknowledgment ID for the messages being acknowledged that was returned by the Pub/Sub system in the `Pull` response. Must not be empty.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"AnalyticsHubSubscriptionInfo": { +"description": "Information about an associated [Analytics Hub subscription](https://cloud.google.com/bigquery/docs/analytics-hub-manage-subscriptions).", +"id": "AnalyticsHubSubscriptionInfo", +"properties": { +"listing": { +"description": "Optional. The name of the associated Analytics Hub listing resource. Pattern: \"projects/{project}/locations/{location}/dataExchanges/{data_exchange}/listings/{listing}\"", +"type": "string" +}, +"subscription": { +"description": "Optional. The name of the associated Analytics Hub subscription resource. Pattern: \"projects/{project}/locations/{location}/subscriptions/{subscription}\"", +"type": "string" +} +}, +"type": "object" +}, +"AvroConfig": { +"description": "Configuration for writing message data in Avro format. Message payloads and metadata will be written to files as an Avro binary.", +"id": "AvroConfig", +"properties": { +"useTopicSchema": { +"description": "Optional. When true, the output Cloud Storage file will be serialized using the topic schema, if it exists.", +"type": "boolean" +}, +"writeMetadata": { +"description": "Optional. When true, write the subscription name, message_id, publish_time, attributes, and ordering_key as additional fields in the output. The subscription name, message_id, and publish_time fields are put in their own fields while all other message properties other than data (for example, an ordering_key, if present) are added as entries in the attributes map.", +"type": "boolean" +} +}, +"type": "object" +}, +"AvroFormat": { +"description": "Configuration for reading Cloud Storage data in Avro binary format. The bytes of each object will be set to the `data` field of a Pub/Sub message.", +"id": "AvroFormat", +"properties": {}, +"type": "object" +}, +"AwsKinesis": { +"description": "Ingestion settings for Amazon Kinesis Data Streams.", +"id": "AwsKinesis", +"properties": { +"awsRoleArn": { +"description": "Required. AWS role ARN to be used for Federated Identity authentication with Kinesis. Check the Pub/Sub docs for how to set up this role and the required permissions that need to be attached to it.", +"type": "string" +}, +"consumerArn": { +"description": "Required. The Kinesis consumer ARN to used for ingestion in Enhanced Fan-Out mode. The consumer must be already created and ready to be used.", +"type": "string" +}, +"gcpServiceAccount": { +"description": "Required. The GCP service account to be used for Federated Identity authentication with Kinesis (via a `AssumeRoleWithWebIdentity` call for the provided role). The `aws_role_arn` must be set up with `accounts.google.com:sub` equals to this service account number.", +"type": "string" +}, +"state": { +"description": "Output only. An output-only field that indicates the state of the Kinesis ingestion source.", +"enum": [ +"STATE_UNSPECIFIED", +"ACTIVE", +"KINESIS_PERMISSION_DENIED", +"PUBLISH_PERMISSION_DENIED", +"STREAM_NOT_FOUND", +"CONSUMER_NOT_FOUND" +], +"enumDescriptions": [ +"Default value. This value is unused.", +"Ingestion is active.", +"Permission denied encountered while consuming data from Kinesis. This can happen if: - The provided `aws_role_arn` does not exist or does not have the appropriate permissions attached. - The provided `aws_role_arn` is not set up properly for Identity Federation using `gcp_service_account`. - The Pub/Sub SA is not granted the `iam.serviceAccounts.getOpenIdToken` permission on `gcp_service_account`.", +"Permission denied encountered while publishing to the topic. This can happen if the Pub/Sub SA has not been granted the [appropriate publish permissions](https://cloud.google.com/pubsub/docs/access-control#pubsub.publisher)", +"The Kinesis stream does not exist.", +"The Kinesis consumer does not exist." +], +"readOnly": true, +"type": "string" +}, +"streamArn": { +"description": "Required. The Kinesis stream ARN to ingest data from.", +"type": "string" +} +}, +"type": "object" +}, +"AwsMsk": { +"description": "Ingestion settings for Amazon MSK.", +"id": "AwsMsk", +"properties": { +"awsRoleArn": { +"description": "Required. AWS role ARN to be used for Federated Identity authentication with Amazon MSK. Check the Pub/Sub docs for how to set up this role and the required permissions that need to be attached to it.", +"type": "string" +}, +"clusterArn": { +"description": "Required. The Amazon Resource Name (ARN) that uniquely identifies the cluster.", +"type": "string" +}, +"gcpServiceAccount": { +"description": "Required. The GCP service account to be used for Federated Identity authentication with Amazon MSK (via a `AssumeRoleWithWebIdentity` call for the provided role). The `aws_role_arn` must be set up with `accounts.google.com:sub` equals to this service account number.", +"type": "string" +}, +"state": { +"description": "Output only. An output-only field that indicates the state of the Amazon MSK ingestion source.", +"enum": [ +"STATE_UNSPECIFIED", +"ACTIVE", +"MSK_PERMISSION_DENIED", +"PUBLISH_PERMISSION_DENIED", +"CLUSTER_NOT_FOUND", +"TOPIC_NOT_FOUND" +], +"enumDescriptions": [ +"Default value. This value is unused.", +"Ingestion is active.", +"Permission denied encountered while consuming data from Amazon MSK.", +"Permission denied encountered while publishing to the topic.", +"The provided MSK cluster wasn't found.", +"The provided topic wasn't found." +], +"readOnly": true, +"type": "string" +}, +"topic": { +"description": "Required. The name of the topic in the Amazon MSK cluster that Pub/Sub will import from.", +"type": "string" +} +}, +"type": "object" +}, +"AzureEventHubs": { +"description": "Ingestion settings for Azure Event Hubs.", +"id": "AzureEventHubs", +"properties": { +"clientId": { +"description": "Optional. The client id of the Azure application that is being used to authenticate Pub/Sub.", +"type": "string" +}, +"eventHub": { +"description": "Optional. The name of the Event Hub.", +"type": "string" +}, +"gcpServiceAccount": { +"description": "Optional. The GCP service account to be used for Federated Identity authentication.", +"type": "string" +}, +"namespace": { +"description": "Optional. The name of the Event Hubs namespace.", +"type": "string" +}, +"resourceGroup": { +"description": "Optional. Name of the resource group within the azure subscription.", +"type": "string" +}, +"state": { +"description": "Output only. An output-only field that indicates the state of the Event Hubs ingestion source.", +"enum": [ +"STATE_UNSPECIFIED", +"ACTIVE", +"EVENT_HUBS_PERMISSION_DENIED", +"PUBLISH_PERMISSION_DENIED", +"NAMESPACE_NOT_FOUND", +"EVENT_HUB_NOT_FOUND", +"SUBSCRIPTION_NOT_FOUND", +"RESOURCE_GROUP_NOT_FOUND" +], +"enumDescriptions": [ +"Default value. This value is unused.", +"Ingestion is active.", +"Permission denied encountered while consuming data from Event Hubs. This can happen when `client_id`, or `tenant_id` are invalid. Or the right permissions haven't been granted.", +"Permission denied encountered while publishing to the topic.", +"The provided Event Hubs namespace couldn't be found.", +"The provided Event Hub couldn't be found.", +"The provided Event Hubs subscription couldn't be found.", +"The provided Event Hubs resource group couldn't be found." +], +"readOnly": true, +"type": "string" +}, +"subscriptionId": { +"description": "Optional. The Azure subscription id.", +"type": "string" +}, +"tenantId": { +"description": "Optional. The tenant id of the Azure application that is being used to authenticate Pub/Sub.", +"type": "string" +} +}, +"type": "object" +}, +"BigQueryConfig": { +"description": "Configuration for a BigQuery subscription.", +"id": "BigQueryConfig", +"properties": { +"dropUnknownFields": { +"description": "Optional. When true and use_topic_schema is true, any fields that are a part of the topic schema that are not part of the BigQuery table schema are dropped when writing to BigQuery. Otherwise, the schemas must be kept in sync and any messages with extra fields are not written and remain in the subscription's backlog.", +"type": "boolean" +}, +"serviceAccountEmail": { +"description": "Optional. The service account to use to write to BigQuery. The subscription creator or updater that specifies this field must have `iam.serviceAccounts.actAs` permission on the service account. If not specified, the Pub/Sub [service agent](https://cloud.google.com/iam/docs/service-agents), service-{project_number}@gcp-sa-pubsub.iam.gserviceaccount.com, is used.", +"type": "string" +}, +"state": { +"description": "Output only. An output-only field that indicates whether or not the subscription can receive messages.", +"enum": [ +"STATE_UNSPECIFIED", +"ACTIVE", +"PERMISSION_DENIED", +"NOT_FOUND", +"SCHEMA_MISMATCH", +"IN_TRANSIT_LOCATION_RESTRICTION", +"VERTEX_AI_LOCATION_RESTRICTION" +], +"enumDescriptions": [ +"Default value. This value is unused.", +"The subscription can actively send messages to BigQuery", +"Cannot write to the BigQuery table because of permission denied errors. This can happen if - Pub/Sub SA has not been granted the [appropriate BigQuery IAM permissions](https://cloud.google.com/pubsub/docs/create-subscription#assign_bigquery_service_account) - bigquery.googleapis.com API is not enabled for the project ([instructions](https://cloud.google.com/service-usage/docs/enable-disable))", +"Cannot write to the BigQuery table because it does not exist.", +"Cannot write to the BigQuery table due to a schema mismatch.", +"Cannot write to the destination because enforce_in_transit is set to true and the destination locations are not in the allowed regions.", +"Cannot write to the BigQuery table because the table is not in the same location as where Vertex AI models used in `message_transform`s are deployed." +], +"readOnly": true, +"type": "string" +}, +"table": { +"description": "Optional. The name of the table to which to write data, of the form {projectId}.{datasetId}.{tableId}", +"type": "string" +}, +"useTableSchema": { +"description": "Optional. When true, use the BigQuery table's schema as the columns to write to in BigQuery. `use_table_schema` and `use_topic_schema` cannot be enabled at the same time.", +"type": "boolean" +}, +"useTopicSchema": { +"description": "Optional. When true, use the topic's schema as the columns to write to in BigQuery, if it exists. `use_topic_schema` and `use_table_schema` cannot be enabled at the same time.", +"type": "boolean" +}, +"writeMetadata": { +"description": "Optional. When true, write the subscription name, message_id, publish_time, attributes, and ordering_key to additional columns in the table. The subscription name, message_id, and publish_time fields are put in their own columns while all other message properties (other than data) are written to a JSON object in the attributes column.", +"type": "boolean" +} +}, +"type": "object" +}, +"Binding": { +"description": "Associates `members`, or principals, with a `role`.", +"id": "Binding", +"properties": { +"condition": { +"$ref": "Expr", +"description": "The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies)." +}, +"members": { +"description": "Specifies the principals requesting access for a Google Cloud resource. `members` can have the following values: * `allUsers`: A special identifier that represents anyone who is on the internet; with or without a Google account. * `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service account. Does not include identities that come from external identity providers (IdPs) through identity federation. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `group:{emailid}`: An email address that represents a Google group. For example, `admins@example.com`. * `domain:{domain}`: The G Suite domain (primary) that represents all the users of that domain. For example, `google.com` or `example.com`. * `principal://iam.googleapis.com/locations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}`: A single identity in a workforce identity pool. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/group/{group_id}`: All workforce identities in a group. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/attribute.{attribute_name}/{attribute_value}`: All workforce identities with a specific attribute value. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/*`: All identities in a workforce identity pool. * `principal://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/subject/{subject_attribute_value}`: A single identity in a workload identity pool. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/group/{group_id}`: A workload identity pool group. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/attribute.{attribute_name}/{attribute_value}`: All identities in a workload identity pool with a certain attribute. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/*`: All identities in a workload identity pool. * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a user that has been recently deleted. For example, `alice@example.com?uid=123456789012345678901`. If the user is recovered, this value reverts to `user:{emailid}` and the recovered user retains the role in the binding. * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a service account that has been recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the service account is undeleted, this value reverts to `serviceAccount:{emailid}` and the undeleted service account retains the role in the binding. * `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a Google group that has been recently deleted. For example, `admins@example.com?uid=123456789012345678901`. If the group is recovered, this value reverts to `group:{emailid}` and the recovered group retains the role in the binding. * `deleted:principal://iam.googleapis.com/locations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}`: Deleted single identity in a workforce identity pool. For example, `deleted:principal://iam.googleapis.com/locations/global/workforcePools/my-pool-id/subject/my-subject-attribute-value`.", +"items": { +"type": "string" +}, +"type": "array" +}, +"role": { +"description": "Role that is assigned to the list of `members`, or principals. For example, `roles/viewer`, `roles/editor`, or `roles/owner`. For an overview of the IAM roles and permissions, see the [IAM documentation](https://cloud.google.com/iam/docs/roles-overview). For a list of the available pre-defined roles, see [here](https://cloud.google.com/iam/docs/understanding-roles).", +"type": "string" +} +}, +"type": "object" +}, +"CloudStorage": { +"description": "Ingestion settings for Cloud Storage.", +"id": "CloudStorage", +"properties": { +"avroFormat": { +"$ref": "AvroFormat", +"description": "Optional. Data from Cloud Storage will be interpreted in Avro format." +}, +"bucket": { +"description": "Optional. Cloud Storage bucket. The bucket name must be without any prefix like \"gs://\". See the [bucket naming requirements] (https://cloud.google.com/storage/docs/buckets#naming).", +"type": "string" +}, +"matchGlob": { +"description": "Optional. Glob pattern used to match objects that will be ingested. If unset, all objects will be ingested. See the [supported patterns](https://cloud.google.com/storage/docs/json_api/v1/objects/list#list-objects-and-prefixes-using-glob).", +"type": "string" +}, +"minimumObjectCreateTime": { +"description": "Optional. Only objects with a larger or equal creation timestamp will be ingested.", +"format": "google-datetime", +"type": "string" +}, +"pubsubAvroFormat": { +"$ref": "PubSubAvroFormat", +"description": "Optional. It will be assumed data from Cloud Storage was written via [Cloud Storage subscriptions](https://cloud.google.com/pubsub/docs/cloudstorage)." +}, +"state": { +"description": "Output only. An output-only field that indicates the state of the Cloud Storage ingestion source.", +"enum": [ +"STATE_UNSPECIFIED", +"ACTIVE", +"CLOUD_STORAGE_PERMISSION_DENIED", +"PUBLISH_PERMISSION_DENIED", +"BUCKET_NOT_FOUND", +"TOO_MANY_OBJECTS" +], +"enumDescriptions": [ +"Default value. This value is unused.", +"Ingestion is active.", +"Permission denied encountered while calling the Cloud Storage API. This can happen if the Pub/Sub SA has not been granted the [appropriate permissions](https://cloud.google.com/storage/docs/access-control/iam-permissions): - storage.objects.list: to list the objects in a bucket. - storage.objects.get: to read the objects in a bucket. - storage.buckets.get: to verify the bucket exists.", +"Permission denied encountered while publishing to the topic. This can happen if the Pub/Sub SA has not been granted the [appropriate publish permissions](https://cloud.google.com/pubsub/docs/access-control#pubsub.publisher)", +"The provided Cloud Storage bucket doesn't exist.", +"The Cloud Storage bucket has too many objects, ingestion will be paused." +], +"readOnly": true, +"type": "string" +}, +"textFormat": { +"$ref": "TextFormat", +"description": "Optional. Data from Cloud Storage will be interpreted as text." +} +}, +"type": "object" +}, +"CloudStorageConfig": { +"description": "Configuration for a Cloud Storage subscription.", +"id": "CloudStorageConfig", +"properties": { +"avroConfig": { +"$ref": "AvroConfig", +"description": "Optional. If set, message data will be written to Cloud Storage in Avro format." +}, +"bucket": { +"description": "Required. User-provided name for the Cloud Storage bucket. The bucket must be created by the user. The bucket name must be without any prefix like \"gs://\". See the [bucket naming requirements] (https://cloud.google.com/storage/docs/buckets#naming).", +"type": "string" +}, +"filenameDatetimeFormat": { +"description": "Optional. User-provided format string specifying how to represent datetimes in Cloud Storage filenames. See the [datetime format guidance](https://cloud.google.com/pubsub/docs/create-cloudstorage-subscription#file_names).", +"type": "string" +}, +"filenamePrefix": { +"description": "Optional. User-provided prefix for Cloud Storage filename. See the [object naming requirements](https://cloud.google.com/storage/docs/objects#naming).", +"type": "string" +}, +"filenameSuffix": { +"description": "Optional. User-provided suffix for Cloud Storage filename. See the [object naming requirements](https://cloud.google.com/storage/docs/objects#naming). Must not end in \"/\".", +"type": "string" +}, +"maxBytes": { +"description": "Optional. The maximum bytes that can be written to a Cloud Storage file before a new file is created. Min 1 KB, max 10 GiB. The max_bytes limit may be exceeded in cases where messages are larger than the limit.", +"format": "int64", +"type": "string" +}, +"maxDuration": { +"description": "Optional. The maximum duration that can elapse before a new Cloud Storage file is created. Min 1 minute, max 10 minutes, default 5 minutes. May not exceed the subscription's acknowledgment deadline.", +"format": "google-duration", +"type": "string" +}, +"maxMessages": { +"description": "Optional. The maximum number of messages that can be written to a Cloud Storage file before a new file is created. Min 1000 messages.", +"format": "int64", +"type": "string" +}, +"serviceAccountEmail": { +"description": "Optional. The service account to use to write to Cloud Storage. The subscription creator or updater that specifies this field must have `iam.serviceAccounts.actAs` permission on the service account. If not specified, the Pub/Sub [service agent](https://cloud.google.com/iam/docs/service-agents), service-{project_number}@gcp-sa-pubsub.iam.gserviceaccount.com, is used.", +"type": "string" +}, +"state": { +"description": "Output only. An output-only field that indicates whether or not the subscription can receive messages.", +"enum": [ +"STATE_UNSPECIFIED", +"ACTIVE", +"PERMISSION_DENIED", +"NOT_FOUND", +"IN_TRANSIT_LOCATION_RESTRICTION", +"SCHEMA_MISMATCH", +"VERTEX_AI_LOCATION_RESTRICTION" +], +"enumDescriptions": [ +"Default value. This value is unused.", +"The subscription can actively send messages to Cloud Storage.", +"Cannot write to the Cloud Storage bucket because of permission denied errors.", +"Cannot write to the Cloud Storage bucket because it does not exist.", +"Cannot write to the destination because enforce_in_transit is set to true and the destination locations are not in the allowed regions.", +"Cannot write to the Cloud Storage bucket due to an incompatibility between the topic schema and subscription settings.", +"Cannot write to the Cloud Storage bucket because the bucket is not in the same location as where Vertex AI models used in `message_transform`s are deployed." +], +"readOnly": true, +"type": "string" +}, +"textConfig": { +"$ref": "TextConfig", +"description": "Optional. If set, message data will be written to Cloud Storage in text format." +} +}, +"type": "object" +}, +"CommitSchemaRequest": { +"description": "Request for CommitSchema method.", +"id": "CommitSchemaRequest", +"properties": { +"schema": { +"$ref": "Schema", +"description": "Required. The schema revision to commit." +} +}, +"type": "object" +}, +"ConfluentCloud": { +"description": "Ingestion settings for Confluent Cloud.", +"id": "ConfluentCloud", +"properties": { +"bootstrapServer": { +"description": "Required. The address of the bootstrap server. The format is url:port.", +"type": "string" +}, +"clusterId": { +"description": "Required. The id of the cluster.", +"type": "string" +}, +"gcpServiceAccount": { +"description": "Required. The GCP service account to be used for Federated Identity authentication with `identity_pool_id`.", +"type": "string" +}, +"identityPoolId": { +"description": "Required. The id of the identity pool to be used for Federated Identity authentication with Confluent Cloud. See https://docs.confluent.io/cloud/current/security/authenticate/workload-identities/identity-providers/oauth/identity-pools.html#add-oauth-identity-pools.", +"type": "string" +}, +"state": { +"description": "Output only. An output-only field that indicates the state of the Confluent Cloud ingestion source.", +"enum": [ +"STATE_UNSPECIFIED", +"ACTIVE", +"CONFLUENT_CLOUD_PERMISSION_DENIED", +"PUBLISH_PERMISSION_DENIED", +"UNREACHABLE_BOOTSTRAP_SERVER", +"CLUSTER_NOT_FOUND", +"TOPIC_NOT_FOUND" +], +"enumDescriptions": [ +"Default value. This value is unused.", +"Ingestion is active.", +"Permission denied encountered while consuming data from Confluent Cloud.", +"Permission denied encountered while publishing to the topic.", +"The provided bootstrap server address is unreachable.", +"The provided cluster wasn't found.", +"The provided topic wasn't found." +], +"readOnly": true, +"type": "string" +}, +"topic": { +"description": "Required. The name of the topic in the Confluent Cloud cluster that Pub/Sub will import from.", +"type": "string" +} +}, +"type": "object" +}, +"CreateSnapshotRequest": { +"description": "Request for the `CreateSnapshot` method.", +"id": "CreateSnapshotRequest", +"properties": { +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. See [Creating and managing labels](https://cloud.google.com/pubsub/docs/labels).", +"type": "object" +}, +"subscription": { +"description": "Required. The subscription whose backlog the snapshot retains. Specifically, the created snapshot is guaranteed to retain: (a) The existing backlog on the subscription. More precisely, this is defined as the messages in the subscription's backlog that are unacknowledged upon the successful completion of the `CreateSnapshot` request; as well as: (b) Any messages published to the subscription's topic following the successful completion of the CreateSnapshot request. Format is `projects/{project}/subscriptions/{sub}`.", +"type": "string" +}, +"tags": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. Input only. Immutable. Tag keys/values directly bound to this resource. For example: \"123/environment\": \"production\", \"123/costCenter\": \"marketing\"", +"type": "object" +} +}, +"type": "object" +}, +"DeadLetterPolicy": { +"description": "Dead lettering is done on a best effort basis. The same message might be dead lettered multiple times. If validation on any of the fields fails at subscription creation/updation, the create/update subscription request will fail.", +"id": "DeadLetterPolicy", +"properties": { +"deadLetterTopic": { +"description": "Optional. The name of the topic to which dead letter messages should be published. Format is `projects/{project}/topics/{topic}`.The Pub/Sub service account associated with the enclosing subscription's parent project (i.e., service-{project_number}@gcp-sa-pubsub.iam.gserviceaccount.com) must have permission to Publish() to this topic. The operation will fail if the topic does not exist. Users should ensure that there is a subscription attached to this topic since messages published to a topic with no subscriptions are lost.", +"type": "string" +}, +"maxDeliveryAttempts": { +"description": "Optional. The maximum number of delivery attempts for any message. The value must be between 5 and 100. The number of delivery attempts is defined as 1 + (the sum of number of NACKs and number of times the acknowledgment deadline has been exceeded for the message). A NACK is any call to ModifyAckDeadline with a 0 deadline. Note that client libraries may automatically extend ack_deadlines. This field will be honored on a best effort basis. If this parameter is 0, a default value of 5 is used.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"DetachSubscriptionResponse": { +"description": "Response for the DetachSubscription method. Reserved for future use.", +"id": "DetachSubscriptionResponse", +"properties": {}, +"type": "object" +}, +"Empty": { +"description": "A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }", +"id": "Empty", +"properties": {}, +"type": "object" +}, +"ExpirationPolicy": { +"description": "A policy that specifies the conditions for resource expiration (i.e., automatic resource deletion).", +"id": "ExpirationPolicy", +"properties": { +"ttl": { +"description": "Optional. Specifies the \"time-to-live\" duration for an associated resource. The resource expires if it is not active for a period of `ttl`. The definition of \"activity\" depends on the type of the associated resource. The minimum and maximum allowed values for `ttl` depend on the type of the associated resource, as well. If `ttl` is not set, the associated resource never expires.", +"format": "google-duration", +"type": "string" +} +}, +"type": "object" +}, +"Expr": { +"description": "Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: \"Summary size limit\" description: \"Determines if a summary is less than 100 chars\" expression: \"document.summary.size() < 100\" Example (Equality): title: \"Requestor is owner\" description: \"Determines if requestor is the document owner\" expression: \"document.owner == request.auth.claims.email\" Example (Logic): title: \"Public documents\" description: \"Determine whether the document should be publicly visible\" expression: \"document.type != 'private' && document.type != 'internal'\" Example (Data Manipulation): title: \"Notification string\" description: \"Create a notification string with a timestamp.\" expression: \"'New message received at ' + string(document.create_time)\" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information.", +"id": "Expr", +"properties": { +"description": { +"description": "Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI.", +"type": "string" +}, +"expression": { +"description": "Textual representation of an expression in Common Expression Language syntax.", +"type": "string" +}, +"location": { +"description": "Optional. String indicating the location of the expression for error reporting, e.g. a file name and a position in the file.", +"type": "string" +}, +"title": { +"description": "Optional. Title for the expression, i.e. a short string describing its purpose. This can be used e.g. in UIs which allow to enter the expression.", +"type": "string" +} +}, +"type": "object" +}, +"IngestionDataSourceSettings": { +"description": "Settings for an ingestion data source on a topic.", +"id": "IngestionDataSourceSettings", +"properties": { +"awsKinesis": { +"$ref": "AwsKinesis", +"description": "Optional. Amazon Kinesis Data Streams." +}, +"awsMsk": { +"$ref": "AwsMsk", +"description": "Optional. Amazon MSK." +}, +"azureEventHubs": { +"$ref": "AzureEventHubs", +"description": "Optional. Azure Event Hubs." +}, +"cloudStorage": { +"$ref": "CloudStorage", +"description": "Optional. Cloud Storage." +}, +"confluentCloud": { +"$ref": "ConfluentCloud", +"description": "Optional. Confluent Cloud." +}, +"platformLogsSettings": { +"$ref": "PlatformLogsSettings", +"description": "Optional. Platform Logs settings. If unset, no Platform Logs will be generated." +} +}, +"type": "object" +}, +"JavaScriptUDF": { +"description": "User-defined JavaScript function that can transform or filter a Pub/Sub message.", +"id": "JavaScriptUDF", +"properties": { +"code": { +"description": "Required. JavaScript code that contains a function `function_name` with the below signature: ``` /** * Transforms a Pub/Sub message. * @return {(Object)>|null)} - To * filter a message, return `null`. To transform a message return a map * with the following keys: * - (required) 'data' : {string} * - (optional) 'attributes' : {Object} * Returning empty `attributes` will remove all attributes from the * message. * * @param {(Object)>} Pub/Sub * message. Keys: * - (required) 'data' : {string} * - (required) 'attributes' : {Object} * * @param {Object} metadata - Pub/Sub message metadata. * Keys: * - (optional) 'message_id' : {string} * - (optional) 'publish_time': {string} YYYY-MM-DDTHH:MM:SSZ format * - (optional) 'ordering_key': {string} */ function (message, metadata) { } ```", +"type": "string" +}, +"functionName": { +"description": "Required. Name of the JavasScript function that should applied to Pub/Sub messages.", +"type": "string" +} +}, +"type": "object" +}, +"ListSchemaRevisionsResponse": { +"description": "Response for the `ListSchemaRevisions` method.", +"id": "ListSchemaRevisionsResponse", +"properties": { +"nextPageToken": { +"description": "A token that can be sent as `page_token` to retrieve the next page. If this field is empty, there are no subsequent pages.", +"type": "string" +}, +"schemas": { +"description": "The revisions of the schema.", +"items": { +"$ref": "Schema" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListSchemasResponse": { +"description": "Response for the `ListSchemas` method.", +"id": "ListSchemasResponse", +"properties": { +"nextPageToken": { +"description": "If not empty, indicates that there may be more schemas that match the request; this value should be passed in a new `ListSchemasRequest`.", +"type": "string" +}, +"schemas": { +"description": "The resulting schemas.", +"items": { +"$ref": "Schema" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListSnapshotsResponse": { +"description": "Response for the `ListSnapshots` method.", +"id": "ListSnapshotsResponse", +"properties": { +"nextPageToken": { +"description": "Optional. If not empty, indicates that there may be more snapshot that match the request; this value should be passed in a new `ListSnapshotsRequest`.", +"type": "string" +}, +"snapshots": { +"description": "Optional. The resulting snapshots.", +"items": { +"$ref": "Snapshot" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListSubscriptionsResponse": { +"description": "Response for the `ListSubscriptions` method.", +"id": "ListSubscriptionsResponse", +"properties": { +"nextPageToken": { +"description": "Optional. If not empty, indicates that there may be more subscriptions that match the request; this value should be passed in a new `ListSubscriptionsRequest` to get more subscriptions.", +"type": "string" +}, +"subscriptions": { +"description": "Optional. The subscriptions that match the request.", +"items": { +"$ref": "Subscription" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListTopicSnapshotsResponse": { +"description": "Response for the `ListTopicSnapshots` method.", +"id": "ListTopicSnapshotsResponse", +"properties": { +"nextPageToken": { +"description": "Optional. If not empty, indicates that there may be more snapshots that match the request; this value should be passed in a new `ListTopicSnapshotsRequest` to get more snapshots.", +"type": "string" +}, +"snapshots": { +"description": "Optional. The names of the snapshots that match the request.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListTopicSubscriptionsResponse": { +"description": "Response for the `ListTopicSubscriptions` method.", +"id": "ListTopicSubscriptionsResponse", +"properties": { +"nextPageToken": { +"description": "Optional. If not empty, indicates that there may be more subscriptions that match the request; this value should be passed in a new `ListTopicSubscriptionsRequest` to get more subscriptions.", +"type": "string" +}, +"subscriptions": { +"description": "Optional. The names of subscriptions attached to the topic specified in the request.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListTopicsResponse": { +"description": "Response for the `ListTopics` method.", +"id": "ListTopicsResponse", +"properties": { +"nextPageToken": { +"description": "Optional. If not empty, indicates that there may be more topics that match the request; this value should be passed in a new `ListTopicsRequest`.", +"type": "string" +}, +"topics": { +"description": "Optional. The resulting topics.", +"items": { +"$ref": "Topic" +}, +"type": "array" +} +}, +"type": "object" +}, +"MessageStoragePolicy": { +"description": "A policy constraining the storage of messages published to the topic.", +"id": "MessageStoragePolicy", +"properties": { +"allowedPersistenceRegions": { +"description": "Optional. A list of IDs of Google Cloud regions where messages that are published to the topic may be persisted in storage. Messages published by publishers running in non-allowed Google Cloud regions (or running outside of Google Cloud altogether) are routed for storage in one of the allowed regions. An empty list means that no regions are allowed, and is not a valid configuration.", +"items": { +"type": "string" +}, +"type": "array" +}, +"enforceInTransit": { +"description": "Optional. If true, `allowed_persistence_regions` is also used to enforce in-transit guarantees for messages. That is, Pub/Sub will fail Publish operations on this topic and subscribe operations on any subscription attached to this topic in any region that is not in `allowed_persistence_regions`.", +"type": "boolean" +} +}, +"type": "object" +}, +"MessageTransform": { +"description": "All supported message transforms types.", +"id": "MessageTransform", +"properties": { +"aiInference": { +"$ref": "AIInference", +"description": "Optional. AI Inference. Specifies the Vertex AI endpoint that inference requests built from the Pub/Sub message data and provided parameters will be sent to." +}, +"disabled": { +"description": "Optional. If true, the transform is disabled and will not be applied to messages. Defaults to `false`.", +"type": "boolean" +}, +"enabled": { +"deprecated": true, +"description": "Optional. This field is deprecated, use the `disabled` field to disable transforms.", +"type": "boolean" +}, +"javascriptUdf": { +"$ref": "JavaScriptUDF", +"description": "Optional. JavaScript User Defined Function. If multiple JavaScriptUDF's are specified on a resource, each must have a unique `function_name`." +} +}, +"type": "object" +}, +"ModifyAckDeadlineRequest": { +"description": "Request for the ModifyAckDeadline method.", +"id": "ModifyAckDeadlineRequest", +"properties": { +"ackDeadlineSeconds": { +"description": "Required. The new ack deadline with respect to the time this request was sent to the Pub/Sub system. For example, if the value is 10, the new ack deadline will expire 10 seconds after the `ModifyAckDeadline` call was made. Specifying zero might immediately make the message available for delivery to another subscriber client. This typically results in an increase in the rate of message redeliveries (that is, duplicates). The minimum deadline you can specify is 0 seconds. The maximum deadline you can specify in a single request is 600 seconds (10 minutes).", +"format": "int32", +"type": "integer" +}, +"ackIds": { +"description": "Required. List of acknowledgment IDs.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ModifyPushConfigRequest": { +"description": "Request for the ModifyPushConfig method.", +"id": "ModifyPushConfigRequest", +"properties": { +"pushConfig": { +"$ref": "PushConfig", +"description": "Required. The push configuration for future deliveries. An empty `pushConfig` indicates that the Pub/Sub system should stop pushing messages from the given subscription and allow messages to be pulled and acknowledged - effectively pausing the subscription if `Pull` or `StreamingPull` is not called." +} +}, +"type": "object" +}, +"NoWrapper": { +"description": "Sets the `data` field as the HTTP body for delivery.", +"id": "NoWrapper", +"properties": { +"writeMetadata": { +"description": "Optional. When true, writes the Pub/Sub message metadata to `x-goog-pubsub-:` headers of the HTTP request. Writes the Pub/Sub message attributes to `:` headers of the HTTP request.", +"type": "boolean" +} +}, +"type": "object" +}, +"OidcToken": { +"description": "Contains information needed for generating an [OpenID Connect token](https://developers.google.com/identity/protocols/OpenIDConnect).", +"id": "OidcToken", +"properties": { +"audience": { +"description": "Optional. Audience to be used when generating OIDC token. The audience claim identifies the recipients that the JWT is intended for. The audience value is a single case-sensitive string. Having multiple values (array) for the audience field is not supported. More info about the OIDC JWT token audience here: https://tools.ietf.org/html/rfc7519#section-4.1.3 Note: if not specified, the Push endpoint URL will be used.", +"type": "string" +}, +"serviceAccountEmail": { +"description": "Optional. [Service account email](https://cloud.google.com/iam/docs/service-accounts) used for generating the OIDC token. For more information on setting up authentication, see [Push subscriptions](https://cloud.google.com/pubsub/docs/push).", +"type": "string" +} +}, +"type": "object" +}, +"PlatformLogsSettings": { +"description": "Settings for Platform Logs produced by Pub/Sub.", +"id": "PlatformLogsSettings", +"properties": { +"severity": { +"description": "Optional. The minimum severity level of Platform Logs that will be written.", +"enum": [ +"SEVERITY_UNSPECIFIED", +"DISABLED", +"DEBUG", +"INFO", +"WARNING", +"ERROR" +], +"enumDescriptions": [ +"Default value. Logs level is unspecified. Logs will be disabled.", +"Logs will be disabled.", +"Debug logs and higher-severity logs will be written.", +"Info logs and higher-severity logs will be written.", +"Warning logs and higher-severity logs will be written.", +"Only error logs will be written." +], +"type": "string" +} +}, +"type": "object" +}, +"Policy": { +"description": "An Identity and Access Management (IAM) policy, which specifies access controls for Google Cloud resources. A `Policy` is a collection of `bindings`. A `binding` binds one or more `members`, or principals, to a single `role`. Principals can be user accounts, service accounts, Google groups, and domains (such as G Suite). A `role` is a named list of permissions; each `role` can be an IAM predefined role or a user-created custom role. For some types of Google Cloud resources, a `binding` can also specify a `condition`, which is a logical expression that allows access to a resource only if the expression evaluates to `true`. A condition can add constraints based on attributes of the request, the resource, or both. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). **JSON example:** ``` { \"bindings\": [ { \"role\": \"roles/resourcemanager.organizationAdmin\", \"members\": [ \"user:mike@example.com\", \"group:admins@example.com\", \"domain:google.com\", \"serviceAccount:my-project-id@appspot.gserviceaccount.com\" ] }, { \"role\": \"roles/resourcemanager.organizationViewer\", \"members\": [ \"user:eve@example.com\" ], \"condition\": { \"title\": \"expirable access\", \"description\": \"Does not grant access after Sep 2020\", \"expression\": \"request.time < timestamp('2020-10-01T00:00:00.000Z')\", } } ], \"etag\": \"BwWWja0YfJA=\", \"version\": 3 } ``` **YAML example:** ``` bindings: - members: - user:mike@example.com - group:admins@example.com - domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.com role: roles/resourcemanager.organizationViewer condition: title: expirable access description: Does not grant access after Sep 2020 expression: request.time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 ``` For a description of IAM and its features, see the [IAM documentation](https://cloud.google.com/iam/docs/).", +"id": "Policy", +"properties": { +"bindings": { +"description": "Associates a list of `members`, or principals, with a `role`. Optionally, may specify a `condition` that determines how and when the `bindings` are applied. Each of the `bindings` must contain at least one principal. The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250 of these principals can be Google groups. Each occurrence of a principal counts towards these limits. For example, if the `bindings` grant 50 different roles to `user:alice@example.com`, and not to any other principal, then you can add another 1,450 principals to the `bindings` in the `Policy`.", +"items": { +"$ref": "Binding" +}, +"type": "array" +}, +"etag": { +"description": "`etag` is used for optimistic concurrency control as a way to help prevent simultaneous updates of a policy from overwriting each other. It is strongly suggested that systems make use of the `etag` in the read-modify-write cycle to perform policy updates in order to avoid race conditions: An `etag` is returned in the response to `getIamPolicy`, and systems are expected to put that etag in the request to `setIamPolicy` to ensure that their change will be applied to the same version of the policy. **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost.", +"format": "byte", +"type": "string" +}, +"version": { +"description": "Specifies the format of the policy. Valid values are `0`, `1`, and `3`. Requests that specify an invalid value are rejected. Any operation that affects conditional role bindings must specify version `3`. This requirement applies to the following operations: * Getting a policy that includes a conditional role binding * Adding a conditional role binding to a policy * Changing a conditional role binding in a policy * Removing any role binding, with or without a condition, from a policy that includes conditions **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost. If a policy does not include any conditions, operations on that policy may specify any valid version or leave the field unset. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"PubSubAvroFormat": { +"description": "Configuration for reading Cloud Storage data written via [Cloud Storage subscriptions](https://cloud.google.com/pubsub/docs/cloudstorage). The data and attributes fields of the originally exported Pub/Sub message will be restored when publishing.", +"id": "PubSubAvroFormat", +"properties": {}, +"type": "object" +}, +"PublishRequest": { +"description": "Request for the Publish method.", +"id": "PublishRequest", +"properties": { +"messages": { +"description": "Required. The messages to publish.", +"items": { +"$ref": "PubsubMessage" +}, +"type": "array" +} +}, +"type": "object" +}, +"PublishResponse": { +"description": "Response for the `Publish` method.", +"id": "PublishResponse", +"properties": { +"messageIds": { +"description": "Optional. The server-assigned ID of each published message, in the same order as the messages in the request. IDs are guaranteed to be unique within the topic.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"PubsubMessage": { +"description": "A message that is published by publishers and consumed by subscribers. The message must contain either a non-empty data field or at least one attribute. Note that client libraries represent this object differently depending on the language. See the corresponding [client library documentation](https://cloud.google.com/pubsub/docs/reference/libraries) for more information. See [quotas and limits] (https://cloud.google.com/pubsub/quotas) for more information about message limits.", +"id": "PubsubMessage", +"properties": { +"attributes": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. Attributes for this message. If this field is empty, the message must contain non-empty data. This can be used to filter messages on the subscription.", +"type": "object" +}, +"data": { +"description": "Optional. The message data field. If this field is empty, the message must contain at least one attribute.", +"format": "byte", +"type": "string" +}, +"messageId": { +"description": "ID of this message, assigned by the server when the message is published. Guaranteed to be unique within the topic. This value may be read by a subscriber that receives a `PubsubMessage` via a `Pull` call or a push delivery. It must not be populated by the publisher in a `Publish` call.", +"type": "string" +}, +"orderingKey": { +"description": "Optional. If non-empty, identifies related messages for which publish order should be respected. If a `Subscription` has `enable_message_ordering` set to `true`, messages published with the same non-empty `ordering_key` value will be delivered to subscribers in the order in which they are received by the Pub/Sub system. All `PubsubMessage`s published in a given `PublishRequest` must specify the same `ordering_key` value. For more information, see [ordering messages](https://cloud.google.com/pubsub/docs/ordering).", +"type": "string" +}, +"publishTime": { +"description": "The time at which the message was published, populated by the server when it receives the `Publish` call. It must not be populated by the publisher in a `Publish` call.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"PubsubWrapper": { +"description": "The payload to the push endpoint is in the form of the JSON representation of a PubsubMessage (https://cloud.google.com/pubsub/docs/reference/rpc/google.pubsub.v1#pubsubmessage).", +"id": "PubsubWrapper", +"properties": {}, +"type": "object" +}, +"PullRequest": { +"description": "Request for the `Pull` method.", +"id": "PullRequest", +"properties": { +"maxMessages": { +"description": "Required. The maximum number of messages to return for this request. Must be a positive integer. The Pub/Sub system may return fewer than the number specified.", +"format": "int32", +"type": "integer" +}, +"returnImmediately": { +"deprecated": true, +"description": "Optional. If this field set to true, the system will respond immediately even if it there are no messages available to return in the `Pull` response. Otherwise, the system may wait (for a bounded amount of time) until at least one message is available, rather than returning no messages. Warning: setting this field to `true` is discouraged because it adversely impacts the performance of `Pull` operations. We recommend that users do not set this field.", +"type": "boolean" +} +}, +"type": "object" +}, +"PullResponse": { +"description": "Response for the `Pull` method.", +"id": "PullResponse", +"properties": { +"receivedMessages": { +"description": "Optional. Received Pub/Sub messages. The list will be empty if there are no more messages available in the backlog, or if no messages could be returned before the request timeout. For JSON, the response can be entirely empty. The Pub/Sub system may return fewer than the `maxMessages` requested even if there are more messages available in the backlog.", +"items": { +"$ref": "ReceivedMessage" +}, +"type": "array" +} +}, +"type": "object" +}, +"PushConfig": { +"description": "Configuration for a push delivery endpoint.", +"id": "PushConfig", +"properties": { +"attributes": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. Endpoint configuration attributes that can be used to control different aspects of the message delivery. The only currently supported attribute is `x-goog-version`, which you can use to change the format of the pushed message. This attribute indicates the version of the data expected by the endpoint. This controls the shape of the pushed message (i.e., its fields and metadata). If not present during the `CreateSubscription` call, it will default to the version of the Pub/Sub API used to make such call. If not present in a `ModifyPushConfig` call, its value will not be changed. `GetSubscription` calls will always return a valid version, even if the subscription was created without this attribute. The only supported values for the `x-goog-version` attribute are: * `v1beta1`: uses the push format defined in the v1beta1 Pub/Sub API. * `v1` or `v1beta2`: uses the push format defined in the v1 Pub/Sub API. For example: `attributes { \"x-goog-version\": \"v1\" }`", +"type": "object" +}, +"noWrapper": { +"$ref": "NoWrapper", +"description": "Optional. When set, the payload to the push endpoint is not wrapped." +}, +"oidcToken": { +"$ref": "OidcToken", +"description": "Optional. If specified, Pub/Sub will generate and attach an OIDC JWT token as an `Authorization` header in the HTTP request for every pushed message." +}, +"pubsubWrapper": { +"$ref": "PubsubWrapper", +"description": "Optional. When set, the payload to the push endpoint is in the form of the JSON representation of a PubsubMessage (https://cloud.google.com/pubsub/docs/reference/rpc/google.pubsub.v1#pubsubmessage)." +}, +"pushEndpoint": { +"description": "Optional. A URL locating the endpoint to which messages should be pushed. For example, a Webhook endpoint might use `https://example.com/push`.", +"type": "string" +} +}, +"type": "object" +}, +"ReceivedMessage": { +"description": "A message and its corresponding acknowledgment ID.", +"id": "ReceivedMessage", +"properties": { +"ackId": { +"description": "Optional. This ID can be used to acknowledge the received message.", +"type": "string" +}, +"deliveryAttempt": { +"description": "Optional. The approximate number of times that Pub/Sub has attempted to deliver the associated message to a subscriber. More precisely, this is 1 + (number of NACKs) + (number of ack_deadline exceeds) for this message. A NACK is any call to ModifyAckDeadline with a 0 deadline. An ack_deadline exceeds event is whenever a message is not acknowledged within ack_deadline. Note that ack_deadline is initially Subscription.ackDeadlineSeconds, but may get extended automatically by the client library. Upon the first delivery of a given message, `delivery_attempt` will have a value of 1. The value is calculated at best effort and is approximate. If a DeadLetterPolicy is not set on the subscription, this will be 0.", +"format": "int32", +"type": "integer" +}, +"message": { +"$ref": "PubsubMessage", +"description": "Optional. The message." +} +}, +"type": "object" +}, +"RetryPolicy": { +"description": "A policy that specifies how Pub/Sub retries message delivery. Retry delay will be exponential based on provided minimum and maximum backoffs. https://en.wikipedia.org/wiki/Exponential_backoff. RetryPolicy will be triggered on NACKs or acknowledgment deadline exceeded events for a given message. Retry Policy is implemented on a best effort basis. At times, the delay between consecutive deliveries may not match the configuration. That is, delay can be more or less than configured backoff.", +"id": "RetryPolicy", +"properties": { +"maximumBackoff": { +"description": "Optional. The maximum delay between consecutive deliveries of a given message. Value should be between 0 and 600 seconds. Defaults to 600 seconds.", +"format": "google-duration", +"type": "string" +}, +"minimumBackoff": { +"description": "Optional. The minimum delay between consecutive deliveries of a given message. Value should be between 0 and 600 seconds. Defaults to 10 seconds.", +"format": "google-duration", +"type": "string" +} +}, +"type": "object" +}, +"RollbackSchemaRequest": { +"description": "Request for the `RollbackSchema` method.", +"id": "RollbackSchemaRequest", +"properties": { +"revisionId": { +"description": "Required. The revision ID to roll back to. It must be a revision of the same schema. Example: c7cfa2a8", +"type": "string" +} +}, +"type": "object" +}, +"Schema": { +"description": "A schema resource.", +"id": "Schema", +"properties": { +"definition": { +"description": "The definition of the schema. This should contain a string representing the full definition of the schema that is a valid schema definition of the type specified in `type`.", +"type": "string" +}, +"name": { +"description": "Required. Name of the schema. Format is `projects/{project}/schemas/{schema}`.", +"type": "string" +}, +"revisionCreateTime": { +"description": "Output only. The timestamp that the revision was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"revisionId": { +"description": "Output only. Immutable. The revision ID of the schema.", +"readOnly": true, +"type": "string" +}, +"type": { +"description": "The type of the schema definition.", +"enum": [ +"TYPE_UNSPECIFIED", +"PROTOCOL_BUFFER", +"AVRO" +], +"enumDescriptions": [ +"Default value. This value is unused.", +"A Protocol Buffer schema definition.", +"An Avro schema definition." +], +"type": "string" +} +}, +"type": "object" +}, +"SchemaSettings": { +"description": "Settings for validating messages published against a schema.", +"id": "SchemaSettings", +"properties": { +"encoding": { +"description": "Optional. The encoding of messages validated against `schema`.", +"enum": [ +"ENCODING_UNSPECIFIED", +"JSON", +"BINARY" +], +"enumDescriptions": [ +"Unspecified", +"JSON encoding", +"Binary encoding, as defined by the schema type. For some schema types, binary encoding may not be available." +], +"type": "string" +}, +"firstRevisionId": { +"description": "Optional. The minimum (inclusive) revision allowed for validating messages. If empty or not present, allow any revision to be validated against last_revision or any revision created before.", +"type": "string" +}, +"lastRevisionId": { +"description": "Optional. The maximum (inclusive) revision allowed for validating messages. If empty or not present, allow any revision to be validated against first_revision or any revision created after.", +"type": "string" +}, +"schema": { +"description": "Required. The name of the schema that messages published should be validated against. Format is `projects/{project}/schemas/{schema}`. The value of this field will be `_deleted-schema_` if the schema has been deleted.", +"type": "string" +} +}, +"type": "object" +}, +"SeekRequest": { +"description": "Request for the `Seek` method.", +"id": "SeekRequest", +"properties": { +"snapshot": { +"description": "Optional. The snapshot to seek to. The snapshot's topic must be the same as that of the provided subscription. Format is `projects/{project}/snapshots/{snap}`.", +"type": "string" +}, +"time": { +"description": "Optional. The time to seek to. Messages retained in the subscription that were published before this time are marked as acknowledged, and messages retained in the subscription that were published after this time are marked as unacknowledged. Note that this operation affects only those messages retained in the subscription (configured by the combination of `message_retention_duration` and `retain_acked_messages`). For example, if `time` corresponds to a point before the message retention window (or to a point before the system's notion of the subscription creation time), only retained messages will be marked as unacknowledged, and already-expunged messages will not be restored.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"SeekResponse": { +"description": "Response for the `Seek` method (this response is empty).", +"id": "SeekResponse", +"properties": {}, +"type": "object" +}, +"SetIamPolicyRequest": { +"description": "Request message for `SetIamPolicy` method.", +"id": "SetIamPolicyRequest", +"properties": { +"policy": { +"$ref": "Policy", +"description": "REQUIRED: The complete policy to be applied to the `resource`. The size of the policy is limited to a few 10s of KB. An empty policy is a valid policy but certain Google Cloud services (such as Projects) might reject them." +} +}, +"type": "object" +}, +"Snapshot": { +"description": "A snapshot resource. Snapshots are used in [Seek](https://cloud.google.com/pubsub/docs/replay-overview) operations, which allow you to manage message acknowledgments in bulk. That is, you can set the acknowledgment state of messages in an existing subscription to the state captured by a snapshot.", +"id": "Snapshot", +"properties": { +"expireTime": { +"description": "Optional. The snapshot is guaranteed to exist up until this time. A newly-created snapshot expires no later than 7 days from the time of its creation. Its exact lifetime is determined at creation by the existing backlog in the source subscription. Specifically, the lifetime of the snapshot is `7 days - (age of oldest unacked message in the subscription)`. For example, consider a subscription whose oldest unacked message is 3 days old. If a snapshot is created from this subscription, the snapshot -- which will always capture this 3-day-old backlog as long as the snapshot exists -- will expire in 4 days. The service will refuse to create a snapshot that would expire in less than 1 hour after creation.", +"format": "google-datetime", +"type": "string" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. See [Creating and managing labels] (https://cloud.google.com/pubsub/docs/labels).", +"type": "object" +}, +"name": { +"description": "Optional. The name of the snapshot.", +"type": "string" +}, +"topic": { +"description": "Optional. The name of the topic from which this snapshot is retaining messages.", +"type": "string" +} +}, +"type": "object" +}, +"Subscription": { +"description": "A subscription resource. If none of `push_config`, `bigquery_config`, or `cloud_storage_config` is set, then the subscriber will pull and ack messages using API methods. At most one of these fields may be set.", +"id": "Subscription", +"properties": { +"ackDeadlineSeconds": { +"description": "Optional. The approximate amount of time (on a best-effort basis) Pub/Sub waits for the subscriber to acknowledge receipt before resending the message. In the interval after the message is delivered and before it is acknowledged, it is considered to be _outstanding_. During that time period, the message will not be redelivered (on a best-effort basis). For pull subscriptions, this value is used as the initial value for the ack deadline. To override this value for a given message, call `ModifyAckDeadline` with the corresponding `ack_id` if using non-streaming pull or send the `ack_id` in a `StreamingModifyAckDeadlineRequest` if using streaming pull. The minimum custom deadline you can specify is 10 seconds. The maximum custom deadline you can specify is 600 seconds (10 minutes). If this parameter is 0, a default value of 10 seconds is used. For push delivery, this value is also used to set the request timeout for the call to the push endpoint. If the subscriber never acknowledges the message, the Pub/Sub system will eventually redeliver the message.", +"format": "int32", +"type": "integer" +}, +"analyticsHubSubscriptionInfo": { +"$ref": "AnalyticsHubSubscriptionInfo", +"description": "Output only. Information about the associated Analytics Hub subscription. Only set if the subscription is created by Analytics Hub.", +"readOnly": true +}, +"bigqueryConfig": { +"$ref": "BigQueryConfig", +"description": "Optional. If delivery to BigQuery is used with this subscription, this field is used to configure it." +}, +"cloudStorageConfig": { +"$ref": "CloudStorageConfig", +"description": "Optional. If delivery to Google Cloud Storage is used with this subscription, this field is used to configure it." +}, +"deadLetterPolicy": { +"$ref": "DeadLetterPolicy", +"description": "Optional. A policy that specifies the conditions for dead lettering messages in this subscription. If dead_letter_policy is not set, dead lettering is disabled. The Pub/Sub service account associated with this subscriptions's parent project (i.e., service-{project_number}@gcp-sa-pubsub.iam.gserviceaccount.com) must have permission to Acknowledge() messages on this subscription." +}, +"detached": { +"description": "Optional. Indicates whether the subscription is detached from its topic. Detached subscriptions don't receive messages from their topic and don't retain any backlog. `Pull` and `StreamingPull` requests will return FAILED_PRECONDITION. If the subscription is a push subscription, pushes to the endpoint will not be made.", +"type": "boolean" +}, +"enableExactlyOnceDelivery": { +"description": "Optional. If true, Pub/Sub provides the following guarantees for the delivery of a message with a given value of `message_id` on this subscription: * The message sent to a subscriber is guaranteed not to be resent before the message's acknowledgment deadline expires. * An acknowledged message will not be resent to a subscriber. Note that subscribers may still receive multiple copies of a message when `enable_exactly_once_delivery` is true if the message was published multiple times by a publisher client. These copies are considered distinct by Pub/Sub and have distinct `message_id` values.", +"type": "boolean" +}, +"enableMessageOrdering": { +"description": "Optional. If true, messages published with the same `ordering_key` in `PubsubMessage` will be delivered to the subscribers in the order in which they are received by the Pub/Sub system. Otherwise, they may be delivered in any order.", +"type": "boolean" +}, +"expirationPolicy": { +"$ref": "ExpirationPolicy", +"description": "Optional. A policy that specifies the conditions for this subscription's expiration. A subscription is considered active as long as any connected subscriber is successfully consuming messages from the subscription or is issuing operations on the subscription. If `expiration_policy` is not set, a *default policy* with `ttl` of 31 days will be used. The minimum allowed value for `expiration_policy.ttl` is 1 day. If `expiration_policy` is set, but `expiration_policy.ttl` is not set, the subscription never expires." +}, +"filter": { +"description": "Optional. An expression written in the Pub/Sub [filter language](https://cloud.google.com/pubsub/docs/filtering). If non-empty, then only `PubsubMessage`s whose `attributes` field matches the filter are delivered on this subscription. If empty, then no messages are filtered out.", +"type": "string" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. See [Creating and managing labels](https://cloud.google.com/pubsub/docs/labels).", +"type": "object" +}, +"messageRetentionDuration": { +"description": "Optional. How long to retain unacknowledged messages in the subscription's backlog, from the moment a message is published. If `retain_acked_messages` is true, then this also configures the retention of acknowledged messages, and thus configures how far back in time a `Seek` can be done. Defaults to 7 days. Cannot be more than 31 days or less than 10 minutes.", +"format": "google-duration", +"type": "string" +}, +"messageTransforms": { +"description": "Optional. Transforms to be applied to messages before they are delivered to subscribers. Transforms are applied in the order specified.", +"items": { +"$ref": "MessageTransform" +}, +"type": "array" +}, +"name": { +"description": "Required. Identifier. The name of the subscription. It must have the format `\"projects/{project}/subscriptions/{subscription}\"`. `{subscription}` must start with a letter, and contain only letters (`[A-Za-z]`), numbers (`[0-9]`), dashes (`-`), underscores (`_`), periods (`.`), tildes (`~`), plus (`+`) or percent signs (`%`). It must be between 3 and 255 characters in length, and it must not start with `\"goog\"`.", +"type": "string" +}, +"pushConfig": { +"$ref": "PushConfig", +"description": "Optional. If push delivery is used with this subscription, this field is used to configure it." +}, +"retainAckedMessages": { +"description": "Optional. Indicates whether to retain acknowledged messages. If true, then messages are not expunged from the subscription's backlog, even if they are acknowledged, until they fall out of the `message_retention_duration` window. This must be true if you would like to [`Seek` to a timestamp] (https://cloud.google.com/pubsub/docs/replay-overview#seek_to_a_time) in the past to replay previously-acknowledged messages.", +"type": "boolean" +}, +"retryPolicy": { +"$ref": "RetryPolicy", +"description": "Optional. A policy that specifies how Pub/Sub retries message delivery for this subscription. If not set, the default retry policy is applied. This generally implies that messages will be retried as soon as possible for healthy subscribers. RetryPolicy will be triggered on NACKs or acknowledgment deadline exceeded events for a given message." +}, +"state": { +"description": "Output only. An output-only field indicating whether or not the subscription can receive messages.", +"enum": [ +"STATE_UNSPECIFIED", +"ACTIVE", +"RESOURCE_ERROR" +], +"enumDescriptions": [ +"Default value. This value is unused.", +"The subscription can actively receive messages", +"The subscription cannot receive messages because of an error with the resource to which it pushes messages. See the more detailed error state in the corresponding configuration." +], +"readOnly": true, +"type": "string" +}, +"tags": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. Input only. Immutable. Tag keys/values directly bound to this resource. For example: \"123/environment\": \"production\", \"123/costCenter\": \"marketing\"", +"type": "object" +}, +"topic": { +"description": "Required. The name of the topic from which this subscription is receiving messages. Format is `projects/{project}/topics/{topic}`. The value of this field will be `_deleted-topic_` if the topic has been deleted.", +"type": "string" +}, +"topicMessageRetentionDuration": { +"description": "Output only. Indicates the minimum duration for which a message is retained after it is published to the subscription's topic. If this field is set, messages published to the subscription's topic in the last `topic_message_retention_duration` are always available to subscribers. See the `message_retention_duration` field in `Topic`. This field is set only in responses from the server; it is ignored if it is set in any requests.", +"format": "google-duration", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"TestIamPermissionsRequest": { +"description": "Request message for `TestIamPermissions` method.", +"id": "TestIamPermissionsRequest", +"properties": { +"permissions": { +"description": "The set of permissions to check for the `resource`. Permissions with wildcards (such as `*` or `storage.*`) are not allowed. For more information see [IAM Overview](https://cloud.google.com/iam/docs/overview#permissions).", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"TestIamPermissionsResponse": { +"description": "Response message for `TestIamPermissions` method.", +"id": "TestIamPermissionsResponse", +"properties": { +"permissions": { +"description": "A subset of `TestPermissionsRequest.permissions` that the caller is allowed.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"TextConfig": { +"description": "Configuration for writing message data in text format. Message payloads will be written to files as raw text, separated by a newline.", +"id": "TextConfig", +"properties": {}, +"type": "object" +}, +"TextFormat": { +"description": "Configuration for reading Cloud Storage data in text format. Each line of text as specified by the delimiter will be set to the `data` field of a Pub/Sub message.", +"id": "TextFormat", +"properties": { +"delimiter": { +"description": "Optional. When unset, '\\n' is used.", +"type": "string" +} +}, +"type": "object" +}, +"Topic": { +"description": "A topic resource.", +"id": "Topic", +"properties": { +"ingestionDataSourceSettings": { +"$ref": "IngestionDataSourceSettings", +"description": "Optional. Settings for ingestion from a data source into this topic." +}, +"kmsKeyName": { +"description": "Optional. The resource name of the Cloud KMS CryptoKey to be used to protect access to messages published on this topic. The expected format is `projects/*/locations/*/keyRings/*/cryptoKeys/*`.", +"type": "string" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. See [Creating and managing labels] (https://cloud.google.com/pubsub/docs/labels).", +"type": "object" +}, +"messageRetentionDuration": { +"description": "Optional. Indicates the minimum duration to retain a message after it is published to the topic. If this field is set, messages published to the topic in the last `message_retention_duration` are always available to subscribers. For instance, it allows any attached subscription to [seek to a timestamp](https://cloud.google.com/pubsub/docs/replay-overview#seek_to_a_time) that is up to `message_retention_duration` in the past. If this field is not set, message retention is controlled by settings on individual subscriptions. Cannot be more than 31 days or less than 10 minutes.", +"format": "google-duration", +"type": "string" +}, +"messageStoragePolicy": { +"$ref": "MessageStoragePolicy", +"description": "Optional. Policy constraining the set of Google Cloud Platform regions where messages published to the topic may be stored. If not present, then no constraints are in effect." +}, +"messageTransforms": { +"description": "Optional. Transforms to be applied to messages published to the topic. Transforms are applied in the order specified.", +"items": { +"$ref": "MessageTransform" +}, +"type": "array" +}, +"name": { +"description": "Required. Identifier. The name of the topic. It must have the format `\"projects/{project}/topics/{topic}\"`. `{topic}` must start with a letter, and contain only letters (`[A-Za-z]`), numbers (`[0-9]`), dashes (`-`), underscores (`_`), periods (`.`), tildes (`~`), plus (`+`) or percent signs (`%`). It must be between 3 and 255 characters in length, and it must not start with `\"goog\"`.", +"type": "string" +}, +"satisfiesPzs": { +"description": "Optional. Reserved for future use. This field is set only in responses from the server; it is ignored if it is set in any requests.", +"type": "boolean" +}, +"schemaSettings": { +"$ref": "SchemaSettings", +"description": "Optional. Settings for validating messages published against a schema." +}, +"state": { +"description": "Output only. An output-only field indicating the state of the topic.", +"enum": [ +"STATE_UNSPECIFIED", +"ACTIVE", +"INGESTION_RESOURCE_ERROR" +], +"enumDescriptions": [ +"Default value. This value is unused.", +"The topic does not have any persistent errors.", +"Ingestion from the data source has encountered a permanent error. See the more detailed error state in the corresponding ingestion source configuration." +], +"readOnly": true, +"type": "string" +}, +"tags": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. Input only. Immutable. Tag keys/values directly bound to this resource. For example: \"123/environment\": \"production\", \"123/costCenter\": \"marketing\"", +"type": "object" +} +}, +"type": "object" +}, +"UnstructuredInference": { +"description": "Configuration for making inferences using arbitrary JSON payloads.", +"id": "UnstructuredInference", +"properties": { +"parameters": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"description": "Optional. A parameters object to be included in each inference request. The parameters object is combined with the data field of the Pub/Sub message to form the inference request.", +"type": "object" +} +}, +"type": "object" +}, +"UpdateSnapshotRequest": { +"description": "Request for the UpdateSnapshot method.", +"id": "UpdateSnapshotRequest", +"properties": { +"snapshot": { +"$ref": "Snapshot", +"description": "Required. The updated snapshot object." +}, +"updateMask": { +"description": "Required. Indicates which fields in the provided snapshot to update. Must be specified and non-empty.", +"format": "google-fieldmask", +"type": "string" +} +}, +"type": "object" +}, +"UpdateSubscriptionRequest": { +"description": "Request for the UpdateSubscription method.", +"id": "UpdateSubscriptionRequest", +"properties": { +"subscription": { +"$ref": "Subscription", +"description": "Required. The updated subscription object." +}, +"updateMask": { +"description": "Required. Indicates which fields in the provided subscription to update. Must be specified and non-empty.", +"format": "google-fieldmask", +"type": "string" +} +}, +"type": "object" +}, +"UpdateTopicRequest": { +"description": "Request for the UpdateTopic method.", +"id": "UpdateTopicRequest", +"properties": { +"topic": { +"$ref": "Topic", +"description": "Required. The updated topic object." +}, +"updateMask": { +"description": "Required. Indicates which fields in the provided topic to update. Must be specified and non-empty. Note that if `update_mask` contains \"message_storage_policy\" but the `message_storage_policy` is not set in the `topic` provided above, then the updated value is determined by the policy configured at the project or organization level.", +"format": "google-fieldmask", +"type": "string" +} +}, +"type": "object" +}, +"ValidateMessageRequest": { +"description": "Request for the `ValidateMessage` method.", +"id": "ValidateMessageRequest", +"properties": { +"encoding": { +"description": "The encoding expected for messages", +"enum": [ +"ENCODING_UNSPECIFIED", +"JSON", +"BINARY" +], +"enumDescriptions": [ +"Unspecified", +"JSON encoding", +"Binary encoding, as defined by the schema type. For some schema types, binary encoding may not be available." +], +"type": "string" +}, +"message": { +"description": "Message to validate against the provided `schema_spec`.", +"format": "byte", +"type": "string" +}, +"name": { +"description": "Name of the schema against which to validate. Format is `projects/{project}/schemas/{schema}`.", +"type": "string" +}, +"schema": { +"$ref": "Schema", +"description": "Ad-hoc schema against which to validate" +} +}, +"type": "object" +}, +"ValidateMessageResponse": { +"description": "Response for the `ValidateMessage` method. Empty for now.", +"id": "ValidateMessageResponse", +"properties": {}, +"type": "object" +}, +"ValidateSchemaRequest": { +"description": "Request for the `ValidateSchema` method.", +"id": "ValidateSchemaRequest", +"properties": { +"schema": { +"$ref": "Schema", +"description": "Required. The schema object to validate." +} +}, +"type": "object" +}, +"ValidateSchemaResponse": { +"description": "Response for the `ValidateSchema` method. Empty for now.", +"id": "ValidateSchemaResponse", +"properties": {}, +"type": "object" +} +}, +"servicePath": "", +"title": "Cloud Pub/Sub API", +"version": "v1" +} \ No newline at end of file diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/pubsub.v1beta2.json b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/pubsub.v1beta2.json new file mode 100644 index 0000000000000000000000000000000000000000..a04a21bc20037e64e7122f0bb53bf0c714d153d9 --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/pubsub.v1beta2.json @@ -0,0 +1,1356 @@ +{ +"auth": { +"oauth2": { +"scopes": { +"https://www.googleapis.com/auth/cloud-platform": { +"description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." +}, +"https://www.googleapis.com/auth/pubsub": { +"description": "View and manage Pub/Sub topics and subscriptions" +} +} +} +}, +"basePath": "", +"baseUrl": "https://pubsub.googleapis.com/", +"batchPath": "batch", +"canonicalName": "Pubsub", +"description": "Provides reliable, many-to-many, asynchronous messaging between applications. ", +"discoveryVersion": "v1", +"documentationLink": "https://cloud.google.com/pubsub/docs", +"endpoints": [ +{ +"description": "Regional Endpoint", +"endpointUrl": "https://pubsub.africa-south1.rep.googleapis.com/", +"location": "africa-south1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://pubsub.asia-east1.rep.googleapis.com/", +"location": "asia-east1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://pubsub.asia-east2.rep.googleapis.com/", +"location": "asia-east2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://pubsub.asia-northeast1.rep.googleapis.com/", +"location": "asia-northeast1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://pubsub.asia-northeast2.rep.googleapis.com/", +"location": "asia-northeast2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://pubsub.asia-northeast3.rep.googleapis.com/", +"location": "asia-northeast3" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://pubsub.asia-south1.rep.googleapis.com/", +"location": "asia-south1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://pubsub.asia-south2.rep.googleapis.com/", +"location": "asia-south2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://pubsub.asia-southeast1.rep.googleapis.com/", +"location": "asia-southeast1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://pubsub.asia-southeast2.rep.googleapis.com/", +"location": "asia-southeast2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://pubsub.asia-southeast3.rep.googleapis.com/", +"location": "asia-southeast3" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://pubsub.australia-southeast1.rep.googleapis.com/", +"location": "australia-southeast1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://pubsub.australia-southeast2.rep.googleapis.com/", +"location": "australia-southeast2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://pubsub.europe-central2.rep.googleapis.com/", +"location": "europe-central2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://pubsub.europe-north1.rep.googleapis.com/", +"location": "europe-north1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://pubsub.europe-north2.rep.googleapis.com/", +"location": "europe-north2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://pubsub.europe-southwest1.rep.googleapis.com/", +"location": "europe-southwest1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://pubsub.europe-west1.rep.googleapis.com/", +"location": "europe-west1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://pubsub.europe-west2.rep.googleapis.com/", +"location": "europe-west2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://pubsub.europe-west3.rep.googleapis.com/", +"location": "europe-west3" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://pubsub.europe-west4.rep.googleapis.com/", +"location": "europe-west4" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://pubsub.europe-west6.rep.googleapis.com/", +"location": "europe-west6" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://pubsub.europe-west8.rep.googleapis.com/", +"location": "europe-west8" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://pubsub.europe-west9.rep.googleapis.com/", +"location": "europe-west9" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://pubsub.europe-west10.rep.googleapis.com/", +"location": "europe-west10" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://pubsub.europe-west12.rep.googleapis.com/", +"location": "europe-west12" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://pubsub.me-central1.rep.googleapis.com/", +"location": "me-central1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://pubsub.me-central2.rep.googleapis.com/", +"location": "me-central2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://pubsub.me-west1.rep.googleapis.com/", +"location": "me-west1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://pubsub.northamerica-northeast1.rep.googleapis.com/", +"location": "northamerica-northeast1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://pubsub.northamerica-northeast2.rep.googleapis.com/", +"location": "northamerica-northeast2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://pubsub.northamerica-south1.rep.googleapis.com/", +"location": "northamerica-south1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://pubsub.southamerica-east1.rep.googleapis.com/", +"location": "southamerica-east1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://pubsub.southamerica-west1.rep.googleapis.com/", +"location": "southamerica-west1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://pubsub.us-central1.rep.googleapis.com/", +"location": "us-central1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://pubsub.us-central2.rep.googleapis.com/", +"location": "us-central2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://pubsub.us-east1.rep.googleapis.com/", +"location": "us-east1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://pubsub.us-east4.rep.googleapis.com/", +"location": "us-east4" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://pubsub.us-east5.rep.googleapis.com/", +"location": "us-east5" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://pubsub.us-east7.rep.googleapis.com/", +"location": "us-east7" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://pubsub.us-south1.rep.googleapis.com/", +"location": "us-south1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://pubsub.us-west1.rep.googleapis.com/", +"location": "us-west1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://pubsub.us-west2.rep.googleapis.com/", +"location": "us-west2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://pubsub.us-west3.rep.googleapis.com/", +"location": "us-west3" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://pubsub.us-west4.rep.googleapis.com/", +"location": "us-west4" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://pubsub.us-west8.rep.googleapis.com/", +"location": "us-west8" +} +], +"icons": { +"x16": "http://www.google.com/images/icons/product/search-16.gif", +"x32": "http://www.google.com/images/icons/product/search-32.gif" +}, +"id": "pubsub:v1beta2", +"kind": "discovery#restDescription", +"mtlsRootUrl": "https://pubsub.mtls.googleapis.com/", +"name": "pubsub", +"ownerDomain": "google.com", +"ownerName": "Google", +"parameters": { +"$.xgafv": { +"description": "V1 error format.", +"enum": [ +"1", +"2" +], +"enumDescriptions": [ +"v1 error format", +"v2 error format" +], +"location": "query", +"type": "string" +}, +"access_token": { +"description": "OAuth access token.", +"location": "query", +"type": "string" +}, +"alt": { +"default": "json", +"description": "Data format for response.", +"enum": [ +"json", +"media", +"proto" +], +"enumDescriptions": [ +"Responses with Content-Type of application/json", +"Media download with context-dependent Content-Type", +"Responses with Content-Type of application/x-protobuf" +], +"location": "query", +"type": "string" +}, +"callback": { +"description": "JSONP", +"location": "query", +"type": "string" +}, +"fields": { +"description": "Selector specifying which fields to include in a partial response.", +"location": "query", +"type": "string" +}, +"key": { +"description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", +"location": "query", +"type": "string" +}, +"oauth_token": { +"description": "OAuth 2.0 token for the current user.", +"location": "query", +"type": "string" +}, +"prettyPrint": { +"default": "true", +"description": "Returns response with indentations and line breaks.", +"location": "query", +"type": "boolean" +}, +"quotaUser": { +"description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.", +"location": "query", +"type": "string" +}, +"uploadType": { +"description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", +"location": "query", +"type": "string" +}, +"upload_protocol": { +"description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", +"location": "query", +"type": "string" +} +}, +"protocol": "rest", +"resources": { +"projects": { +"resources": { +"subscriptions": { +"methods": { +"acknowledge": { +"description": "Acknowledges the messages associated with the `ack_ids` in the `AcknowledgeRequest`. The Pub/Sub system can remove the relevant messages from the subscription. Acknowledging a message whose ack deadline has expired may succeed, but such a message may be redelivered later. Acknowledging a message more than once will not result in an error.", +"flatPath": "v1beta2/projects/{projectsId}/subscriptions/{subscriptionsId}:acknowledge", +"httpMethod": "POST", +"id": "pubsub.projects.subscriptions.acknowledge", +"parameterOrder": [ +"subscription" +], +"parameters": { +"subscription": { +"description": "The subscription whose message is being acknowledged.", +"location": "path", +"pattern": "^projects/[^/]+/subscriptions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta2/{+subscription}:acknowledge", +"request": { +"$ref": "AcknowledgeRequest" +}, +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/pubsub" +] +}, +"create": { +"description": "Creates a subscription to a given topic. If the subscription already exists, returns `ALREADY_EXISTS`. If the corresponding topic doesn't exist, returns `NOT_FOUND`. If the name is not provided in the request, the server will assign a random name for this subscription on the same project as the topic. Note that for REST API requests, you must specify a name.", +"flatPath": "v1beta2/projects/{projectsId}/subscriptions/{subscriptionsId}", +"httpMethod": "PUT", +"id": "pubsub.projects.subscriptions.create", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the subscription. It must have the format `\"projects/{project}/subscriptions/{subscription}\"`. `{subscription}` must start with a letter, and contain only letters (`[A-Za-z]`), numbers (`[0-9]`), dashes (`-`), underscores (`_`), periods (`.`), tildes (`~`), plus (`+`) or percent signs (`%`). It must be between 3 and 255 characters in length, and it must not start with `\"goog\"`.", +"location": "path", +"pattern": "^projects/[^/]+/subscriptions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta2/{+name}", +"request": { +"$ref": "Subscription" +}, +"response": { +"$ref": "Subscription" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/pubsub" +] +}, +"delete": { +"description": "Deletes an existing subscription. All pending messages in the subscription are immediately dropped. Calls to `Pull` after deletion will return `NOT_FOUND`. After a subscription is deleted, a new one may be created with the same name, but the new one has no association with the old subscription, or its topic unless the same topic is specified.", +"flatPath": "v1beta2/projects/{projectsId}/subscriptions/{subscriptionsId}", +"httpMethod": "DELETE", +"id": "pubsub.projects.subscriptions.delete", +"parameterOrder": [ +"subscription" +], +"parameters": { +"subscription": { +"description": "The subscription to delete.", +"location": "path", +"pattern": "^projects/[^/]+/subscriptions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta2/{+subscription}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/pubsub" +] +}, +"get": { +"description": "Gets the configuration details of a subscription.", +"flatPath": "v1beta2/projects/{projectsId}/subscriptions/{subscriptionsId}", +"httpMethod": "GET", +"id": "pubsub.projects.subscriptions.get", +"parameterOrder": [ +"subscription" +], +"parameters": { +"subscription": { +"description": "The name of the subscription to get.", +"location": "path", +"pattern": "^projects/[^/]+/subscriptions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta2/{+subscription}", +"response": { +"$ref": "Subscription" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/pubsub" +] +}, +"getIamPolicy": { +"description": "Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.", +"flatPath": "v1beta2/projects/{projectsId}/subscriptions/{subscriptionsId}:getIamPolicy", +"httpMethod": "GET", +"id": "pubsub.projects.subscriptions.getIamPolicy", +"parameterOrder": [ +"resource" +], +"parameters": { +"options.requestedPolicyVersion": { +"description": "Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).", +"format": "int32", +"location": "query", +"type": "integer" +}, +"resource": { +"description": "REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", +"location": "path", +"pattern": "^projects/[^/]+/subscriptions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta2/{+resource}:getIamPolicy", +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/pubsub" +] +}, +"list": { +"description": "Lists matching subscriptions.", +"flatPath": "v1beta2/projects/{projectsId}/subscriptions", +"httpMethod": "GET", +"id": "pubsub.projects.subscriptions.list", +"parameterOrder": [ +"project" +], +"parameters": { +"pageSize": { +"description": "Maximum number of subscriptions to return.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The value returned by the last `ListSubscriptionsResponse`; indicates that this is a continuation of a prior `ListSubscriptions` call, and that the system should return the next page of data.", +"location": "query", +"type": "string" +}, +"project": { +"description": "The name of the cloud project that subscriptions belong to.", +"location": "path", +"pattern": "^projects/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta2/{+project}/subscriptions", +"response": { +"$ref": "ListSubscriptionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/pubsub" +] +}, +"modifyAckDeadline": { +"description": "Modifies the ack deadline for a specific message. This method is useful to indicate that more time is needed to process a message by the subscriber, or to make the message available for redelivery if the processing was interrupted. Note that this does not modify the subscription-level `ackDeadlineSeconds` used for subsequent messages.", +"flatPath": "v1beta2/projects/{projectsId}/subscriptions/{subscriptionsId}:modifyAckDeadline", +"httpMethod": "POST", +"id": "pubsub.projects.subscriptions.modifyAckDeadline", +"parameterOrder": [ +"subscription" +], +"parameters": { +"subscription": { +"description": "The name of the subscription.", +"location": "path", +"pattern": "^projects/[^/]+/subscriptions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta2/{+subscription}:modifyAckDeadline", +"request": { +"$ref": "ModifyAckDeadlineRequest" +}, +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/pubsub" +] +}, +"modifyPushConfig": { +"description": "Modifies the `PushConfig` for a specified subscription. This may be used to change a push subscription to a pull one (signified by an empty `PushConfig`) or vice versa, or change the endpoint URL and other attributes of a push subscription. Messages will accumulate for delivery continuously through the call regardless of changes to the `PushConfig`.", +"flatPath": "v1beta2/projects/{projectsId}/subscriptions/{subscriptionsId}:modifyPushConfig", +"httpMethod": "POST", +"id": "pubsub.projects.subscriptions.modifyPushConfig", +"parameterOrder": [ +"subscription" +], +"parameters": { +"subscription": { +"description": "The name of the subscription.", +"location": "path", +"pattern": "^projects/[^/]+/subscriptions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta2/{+subscription}:modifyPushConfig", +"request": { +"$ref": "ModifyPushConfigRequest" +}, +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/pubsub" +] +}, +"pull": { +"description": "Pulls messages from the server. Returns an empty list if there are no messages available in the backlog. The server may return `UNAVAILABLE` if there are too many concurrent pull requests pending for the given subscription.", +"flatPath": "v1beta2/projects/{projectsId}/subscriptions/{subscriptionsId}:pull", +"httpMethod": "POST", +"id": "pubsub.projects.subscriptions.pull", +"parameterOrder": [ +"subscription" +], +"parameters": { +"subscription": { +"description": "The subscription from which messages should be pulled.", +"location": "path", +"pattern": "^projects/[^/]+/subscriptions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta2/{+subscription}:pull", +"request": { +"$ref": "PullRequest" +}, +"response": { +"$ref": "PullResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/pubsub" +] +}, +"setIamPolicy": { +"description": "Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.", +"flatPath": "v1beta2/projects/{projectsId}/subscriptions/{subscriptionsId}:setIamPolicy", +"httpMethod": "POST", +"id": "pubsub.projects.subscriptions.setIamPolicy", +"parameterOrder": [ +"resource" +], +"parameters": { +"resource": { +"description": "REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", +"location": "path", +"pattern": "^projects/[^/]+/subscriptions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta2/{+resource}:setIamPolicy", +"request": { +"$ref": "SetIamPolicyRequest" +}, +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/pubsub" +] +}, +"testIamPermissions": { +"description": "Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may \"fail open\" without warning.", +"flatPath": "v1beta2/projects/{projectsId}/subscriptions/{subscriptionsId}:testIamPermissions", +"httpMethod": "POST", +"id": "pubsub.projects.subscriptions.testIamPermissions", +"parameterOrder": [ +"resource" +], +"parameters": { +"resource": { +"description": "REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", +"location": "path", +"pattern": "^projects/[^/]+/subscriptions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta2/{+resource}:testIamPermissions", +"request": { +"$ref": "TestIamPermissionsRequest" +}, +"response": { +"$ref": "TestIamPermissionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/pubsub" +] +} +} +}, +"topics": { +"methods": { +"create": { +"description": "Creates the given topic with the given name.", +"flatPath": "v1beta2/projects/{projectsId}/topics/{topicsId}", +"httpMethod": "PUT", +"id": "pubsub.projects.topics.create", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the topic. It must have the format `\"projects/{project}/topics/{topic}\"`. `{topic}` must start with a letter, and contain only letters (`[A-Za-z]`), numbers (`[0-9]`), dashes (`-`), underscores (`_`), periods (`.`), tildes (`~`), plus (`+`) or percent signs (`%`). It must be between 3 and 255 characters in length, and it must not start with `\"goog\"`.", +"location": "path", +"pattern": "^projects/[^/]+/topics/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta2/{+name}", +"request": { +"$ref": "Topic" +}, +"response": { +"$ref": "Topic" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/pubsub" +] +}, +"delete": { +"description": "Deletes the topic with the given name. Returns `NOT_FOUND` if the topic does not exist. After a topic is deleted, a new topic may be created with the same name; this is an entirely new topic with none of the old configuration or subscriptions. Existing subscriptions to this topic are not deleted, but their `topic` field is set to `_deleted-topic_`.", +"flatPath": "v1beta2/projects/{projectsId}/topics/{topicsId}", +"httpMethod": "DELETE", +"id": "pubsub.projects.topics.delete", +"parameterOrder": [ +"topic" +], +"parameters": { +"topic": { +"description": "Name of the topic to delete.", +"location": "path", +"pattern": "^projects/[^/]+/topics/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta2/{+topic}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/pubsub" +] +}, +"get": { +"description": "Gets the configuration of a topic.", +"flatPath": "v1beta2/projects/{projectsId}/topics/{topicsId}", +"httpMethod": "GET", +"id": "pubsub.projects.topics.get", +"parameterOrder": [ +"topic" +], +"parameters": { +"topic": { +"description": "The name of the topic to get.", +"location": "path", +"pattern": "^projects/[^/]+/topics/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta2/{+topic}", +"response": { +"$ref": "Topic" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/pubsub" +] +}, +"getIamPolicy": { +"description": "Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.", +"flatPath": "v1beta2/projects/{projectsId}/topics/{topicsId}:getIamPolicy", +"httpMethod": "GET", +"id": "pubsub.projects.topics.getIamPolicy", +"parameterOrder": [ +"resource" +], +"parameters": { +"options.requestedPolicyVersion": { +"description": "Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).", +"format": "int32", +"location": "query", +"type": "integer" +}, +"resource": { +"description": "REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", +"location": "path", +"pattern": "^projects/[^/]+/topics/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta2/{+resource}:getIamPolicy", +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/pubsub" +] +}, +"list": { +"description": "Lists matching topics.", +"flatPath": "v1beta2/projects/{projectsId}/topics", +"httpMethod": "GET", +"id": "pubsub.projects.topics.list", +"parameterOrder": [ +"project" +], +"parameters": { +"pageSize": { +"description": "Maximum number of topics to return.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The value returned by the last `ListTopicsResponse`; indicates that this is a continuation of a prior `ListTopics` call, and that the system should return the next page of data.", +"location": "query", +"type": "string" +}, +"project": { +"description": "The name of the cloud project that topics belong to.", +"location": "path", +"pattern": "^projects/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta2/{+project}/topics", +"response": { +"$ref": "ListTopicsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/pubsub" +] +}, +"publish": { +"description": "Adds one or more messages to the topic. Returns `NOT_FOUND` if the topic does not exist. The message payload must not be empty; it must contain either a non-empty data field, or at least one attribute.", +"flatPath": "v1beta2/projects/{projectsId}/topics/{topicsId}:publish", +"httpMethod": "POST", +"id": "pubsub.projects.topics.publish", +"parameterOrder": [ +"topic" +], +"parameters": { +"topic": { +"description": "The messages in the request will be published on this topic.", +"location": "path", +"pattern": "^projects/[^/]+/topics/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta2/{+topic}:publish", +"request": { +"$ref": "PublishRequest" +}, +"response": { +"$ref": "PublishResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/pubsub" +] +}, +"setIamPolicy": { +"description": "Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.", +"flatPath": "v1beta2/projects/{projectsId}/topics/{topicsId}:setIamPolicy", +"httpMethod": "POST", +"id": "pubsub.projects.topics.setIamPolicy", +"parameterOrder": [ +"resource" +], +"parameters": { +"resource": { +"description": "REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", +"location": "path", +"pattern": "^projects/[^/]+/topics/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta2/{+resource}:setIamPolicy", +"request": { +"$ref": "SetIamPolicyRequest" +}, +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/pubsub" +] +}, +"testIamPermissions": { +"description": "Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may \"fail open\" without warning.", +"flatPath": "v1beta2/projects/{projectsId}/topics/{topicsId}:testIamPermissions", +"httpMethod": "POST", +"id": "pubsub.projects.topics.testIamPermissions", +"parameterOrder": [ +"resource" +], +"parameters": { +"resource": { +"description": "REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", +"location": "path", +"pattern": "^projects/[^/]+/topics/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta2/{+resource}:testIamPermissions", +"request": { +"$ref": "TestIamPermissionsRequest" +}, +"response": { +"$ref": "TestIamPermissionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/pubsub" +] +} +}, +"resources": { +"subscriptions": { +"methods": { +"list": { +"description": "Lists the name of the subscriptions for this topic.", +"flatPath": "v1beta2/projects/{projectsId}/topics/{topicsId}/subscriptions", +"httpMethod": "GET", +"id": "pubsub.projects.topics.subscriptions.list", +"parameterOrder": [ +"topic" +], +"parameters": { +"pageSize": { +"description": "Maximum number of subscription names to return.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The value returned by the last `ListTopicSubscriptionsResponse`; indicates that this is a continuation of a prior `ListTopicSubscriptions` call, and that the system should return the next page of data.", +"location": "query", +"type": "string" +}, +"topic": { +"description": "The name of the topic that subscriptions are attached to.", +"location": "path", +"pattern": "^projects/[^/]+/topics/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta2/{+topic}/subscriptions", +"response": { +"$ref": "ListTopicSubscriptionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/pubsub" +] +} +} +} +} +} +} +} +}, +"revision": "20251212", +"rootUrl": "https://pubsub.googleapis.com/", +"schemas": { +"AcknowledgeRequest": { +"description": "Request for the Acknowledge method.", +"id": "AcknowledgeRequest", +"properties": { +"ackIds": { +"description": "The acknowledgment ID for the messages being acknowledged that was returned by the Pub/Sub system in the `Pull` response. Must not be empty.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"Binding": { +"description": "Associates `members`, or principals, with a `role`.", +"id": "Binding", +"properties": { +"condition": { +"$ref": "Expr", +"description": "The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies)." +}, +"members": { +"description": "Specifies the principals requesting access for a Google Cloud resource. `members` can have the following values: * `allUsers`: A special identifier that represents anyone who is on the internet; with or without a Google account. * `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service account. Does not include identities that come from external identity providers (IdPs) through identity federation. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `group:{emailid}`: An email address that represents a Google group. For example, `admins@example.com`. * `domain:{domain}`: The G Suite domain (primary) that represents all the users of that domain. For example, `google.com` or `example.com`. * `principal://iam.googleapis.com/locations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}`: A single identity in a workforce identity pool. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/group/{group_id}`: All workforce identities in a group. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/attribute.{attribute_name}/{attribute_value}`: All workforce identities with a specific attribute value. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/*`: All identities in a workforce identity pool. * `principal://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/subject/{subject_attribute_value}`: A single identity in a workload identity pool. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/group/{group_id}`: A workload identity pool group. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/attribute.{attribute_name}/{attribute_value}`: All identities in a workload identity pool with a certain attribute. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/*`: All identities in a workload identity pool. * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a user that has been recently deleted. For example, `alice@example.com?uid=123456789012345678901`. If the user is recovered, this value reverts to `user:{emailid}` and the recovered user retains the role in the binding. * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a service account that has been recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the service account is undeleted, this value reverts to `serviceAccount:{emailid}` and the undeleted service account retains the role in the binding. * `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a Google group that has been recently deleted. For example, `admins@example.com?uid=123456789012345678901`. If the group is recovered, this value reverts to `group:{emailid}` and the recovered group retains the role in the binding. * `deleted:principal://iam.googleapis.com/locations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}`: Deleted single identity in a workforce identity pool. For example, `deleted:principal://iam.googleapis.com/locations/global/workforcePools/my-pool-id/subject/my-subject-attribute-value`.", +"items": { +"type": "string" +}, +"type": "array" +}, +"role": { +"description": "Role that is assigned to the list of `members`, or principals. For example, `roles/viewer`, `roles/editor`, or `roles/owner`. For an overview of the IAM roles and permissions, see the [IAM documentation](https://cloud.google.com/iam/docs/roles-overview). For a list of the available pre-defined roles, see [here](https://cloud.google.com/iam/docs/understanding-roles).", +"type": "string" +} +}, +"type": "object" +}, +"Empty": { +"description": "A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }", +"id": "Empty", +"properties": {}, +"type": "object" +}, +"Expr": { +"description": "Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: \"Summary size limit\" description: \"Determines if a summary is less than 100 chars\" expression: \"document.summary.size() < 100\" Example (Equality): title: \"Requestor is owner\" description: \"Determines if requestor is the document owner\" expression: \"document.owner == request.auth.claims.email\" Example (Logic): title: \"Public documents\" description: \"Determine whether the document should be publicly visible\" expression: \"document.type != 'private' && document.type != 'internal'\" Example (Data Manipulation): title: \"Notification string\" description: \"Create a notification string with a timestamp.\" expression: \"'New message received at ' + string(document.create_time)\" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information.", +"id": "Expr", +"properties": { +"description": { +"description": "Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI.", +"type": "string" +}, +"expression": { +"description": "Textual representation of an expression in Common Expression Language syntax.", +"type": "string" +}, +"location": { +"description": "Optional. String indicating the location of the expression for error reporting, e.g. a file name and a position in the file.", +"type": "string" +}, +"title": { +"description": "Optional. Title for the expression, i.e. a short string describing its purpose. This can be used e.g. in UIs which allow to enter the expression.", +"type": "string" +} +}, +"type": "object" +}, +"ListSubscriptionsResponse": { +"description": "Response for the `ListSubscriptions` method.", +"id": "ListSubscriptionsResponse", +"properties": { +"nextPageToken": { +"description": "If not empty, indicates that there may be more subscriptions that match the request; this value should be passed in a new `ListSubscriptionsRequest` to get more subscriptions.", +"type": "string" +}, +"subscriptions": { +"description": "The subscriptions that match the request.", +"items": { +"$ref": "Subscription" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListTopicSubscriptionsResponse": { +"description": "Response for the `ListTopicSubscriptions` method.", +"id": "ListTopicSubscriptionsResponse", +"properties": { +"nextPageToken": { +"description": "If not empty, indicates that there may be more subscriptions that match the request; this value should be passed in a new `ListTopicSubscriptionsRequest` to get more subscriptions.", +"type": "string" +}, +"subscriptions": { +"description": "The names of the subscriptions that match the request.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListTopicsResponse": { +"description": "Response for the `ListTopics` method.", +"id": "ListTopicsResponse", +"properties": { +"nextPageToken": { +"description": "If not empty, indicates that there may be more topics that match the request; this value should be passed in a new `ListTopicsRequest`.", +"type": "string" +}, +"topics": { +"description": "The resulting topics.", +"items": { +"$ref": "Topic" +}, +"type": "array" +} +}, +"type": "object" +}, +"ModifyAckDeadlineRequest": { +"description": "Request for the ModifyAckDeadline method.", +"id": "ModifyAckDeadlineRequest", +"properties": { +"ackDeadlineSeconds": { +"description": "The new ack deadline with respect to the time this request was sent to the Pub/Sub system. Must be >= 0. For example, if the value is 10, the new ack deadline will expire 10 seconds after the `ModifyAckDeadline` call was made. Specifying zero may immediately make the message available for another pull request.", +"format": "int32", +"type": "integer" +}, +"ackId": { +"description": "The acknowledgment ID. Either this or ack_ids must be populated, but not both.", +"type": "string" +}, +"ackIds": { +"description": "List of acknowledgment IDs.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ModifyPushConfigRequest": { +"description": "Request for the ModifyPushConfig method.", +"id": "ModifyPushConfigRequest", +"properties": { +"pushConfig": { +"$ref": "PushConfig", +"description": "The push configuration for future deliveries. An empty `pushConfig` indicates that the Pub/Sub system should stop pushing messages from the given subscription and allow messages to be pulled and acknowledged - effectively pausing the subscription if `Pull` is not called." +} +}, +"type": "object" +}, +"OidcToken": { +"description": "Contains information needed for generating an [OpenID Connect token](https://developers.google.com/identity/protocols/OpenIDConnect).", +"id": "OidcToken", +"properties": { +"audience": { +"description": "Audience to be used when generating OIDC token. The audience claim identifies the recipients that the JWT is intended for. The audience value is a single case-sensitive string. Having multiple values (array) for the audience field is not supported. More info about the OIDC JWT token audience here: https://tools.ietf.org/html/rfc7519#section-4.1.3 Note: if not specified, the Push endpoint URL will be used.", +"type": "string" +}, +"serviceAccountEmail": { +"description": "[Service account email](https://cloud.google.com/iam/docs/service-accounts) to be used for generating the OIDC token. The caller (for CreateSubscription, UpdateSubscription, and ModifyPushConfig RPCs) must have the iam.serviceAccounts.actAs permission for the service account.", +"type": "string" +} +}, +"type": "object" +}, +"Policy": { +"description": "An Identity and Access Management (IAM) policy, which specifies access controls for Google Cloud resources. A `Policy` is a collection of `bindings`. A `binding` binds one or more `members`, or principals, to a single `role`. Principals can be user accounts, service accounts, Google groups, and domains (such as G Suite). A `role` is a named list of permissions; each `role` can be an IAM predefined role or a user-created custom role. For some types of Google Cloud resources, a `binding` can also specify a `condition`, which is a logical expression that allows access to a resource only if the expression evaluates to `true`. A condition can add constraints based on attributes of the request, the resource, or both. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). **JSON example:** ``` { \"bindings\": [ { \"role\": \"roles/resourcemanager.organizationAdmin\", \"members\": [ \"user:mike@example.com\", \"group:admins@example.com\", \"domain:google.com\", \"serviceAccount:my-project-id@appspot.gserviceaccount.com\" ] }, { \"role\": \"roles/resourcemanager.organizationViewer\", \"members\": [ \"user:eve@example.com\" ], \"condition\": { \"title\": \"expirable access\", \"description\": \"Does not grant access after Sep 2020\", \"expression\": \"request.time < timestamp('2020-10-01T00:00:00.000Z')\", } } ], \"etag\": \"BwWWja0YfJA=\", \"version\": 3 } ``` **YAML example:** ``` bindings: - members: - user:mike@example.com - group:admins@example.com - domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.com role: roles/resourcemanager.organizationViewer condition: title: expirable access description: Does not grant access after Sep 2020 expression: request.time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 ``` For a description of IAM and its features, see the [IAM documentation](https://cloud.google.com/iam/docs/).", +"id": "Policy", +"properties": { +"bindings": { +"description": "Associates a list of `members`, or principals, with a `role`. Optionally, may specify a `condition` that determines how and when the `bindings` are applied. Each of the `bindings` must contain at least one principal. The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250 of these principals can be Google groups. Each occurrence of a principal counts towards these limits. For example, if the `bindings` grant 50 different roles to `user:alice@example.com`, and not to any other principal, then you can add another 1,450 principals to the `bindings` in the `Policy`.", +"items": { +"$ref": "Binding" +}, +"type": "array" +}, +"etag": { +"description": "`etag` is used for optimistic concurrency control as a way to help prevent simultaneous updates of a policy from overwriting each other. It is strongly suggested that systems make use of the `etag` in the read-modify-write cycle to perform policy updates in order to avoid race conditions: An `etag` is returned in the response to `getIamPolicy`, and systems are expected to put that etag in the request to `setIamPolicy` to ensure that their change will be applied to the same version of the policy. **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost.", +"format": "byte", +"type": "string" +}, +"version": { +"description": "Specifies the format of the policy. Valid values are `0`, `1`, and `3`. Requests that specify an invalid value are rejected. Any operation that affects conditional role bindings must specify version `3`. This requirement applies to the following operations: * Getting a policy that includes a conditional role binding * Adding a conditional role binding to a policy * Changing a conditional role binding in a policy * Removing any role binding, with or without a condition, from a policy that includes conditions **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost. If a policy does not include any conditions, operations on that policy may specify any valid version or leave the field unset. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"PublishRequest": { +"description": "Request for the Publish method.", +"id": "PublishRequest", +"properties": { +"messages": { +"description": "The messages to publish.", +"items": { +"$ref": "PubsubMessage" +}, +"type": "array" +} +}, +"type": "object" +}, +"PublishResponse": { +"description": "Response for the `Publish` method.", +"id": "PublishResponse", +"properties": { +"messageIds": { +"description": "The server-assigned ID of each published message, in the same order as the messages in the request. IDs are guaranteed to be unique within the topic.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"PubsubMessage": { +"description": "A message data and its attributes. The message payload must not be empty; it must contain either a non-empty data field, or at least one attribute.", +"id": "PubsubMessage", +"properties": { +"attributes": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional attributes for this message.", +"type": "object" +}, +"data": { +"description": "The message payload. For JSON requests, the value of this field must be [base64-encoded](https://tools.ietf.org/html/rfc4648).", +"format": "byte", +"type": "string" +}, +"messageId": { +"description": "ID of this message, assigned by the server when the message is published. Guaranteed to be unique within the topic. This value may be read by a subscriber that receives a `PubsubMessage` via a `Pull` call or a push delivery. It must not be populated by the publisher in a `Publish` call.", +"type": "string" +}, +"publishTime": { +"description": "The time at which the message was published, populated by the server when it receives the `Publish` call. It must not be populated by the publisher in a `Publish` call.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"PullRequest": { +"description": "Request for the `Pull` method.", +"id": "PullRequest", +"properties": { +"maxMessages": { +"description": "The maximum number of messages returned for this request. The Pub/Sub system may return fewer than the number specified.", +"format": "int32", +"type": "integer" +}, +"returnImmediately": { +"deprecated": true, +"description": "Optional. If this is specified as true the system will respond immediately even if it is not able to return a message in the `Pull` response. Otherwise the system is allowed to wait until at least one message is available rather than returning no messages. The client may cancel the request if it does not wish to wait any longer for the response. Warning: setting this field to `true` is discouraged because it adversely impacts the performance of `Pull` operations. We recommend that users do not set this field.", +"type": "boolean" +} +}, +"type": "object" +}, +"PullResponse": { +"description": "Response for the `Pull` method.", +"id": "PullResponse", +"properties": { +"receivedMessages": { +"description": "Received Pub/Sub messages. The Pub/Sub system will return zero messages if there are no more available in the backlog. The Pub/Sub system may return fewer than the `maxMessages` requested even if there are more messages available in the backlog.", +"items": { +"$ref": "ReceivedMessage" +}, +"type": "array" +} +}, +"type": "object" +}, +"PushConfig": { +"description": "Configuration for a push delivery endpoint.", +"id": "PushConfig", +"properties": { +"attributes": { +"additionalProperties": { +"type": "string" +}, +"description": "Endpoint configuration attributes. Every endpoint has a set of API supported attributes that can be used to control different aspects of the message delivery. The currently supported attribute is `x-goog-version`, which you can use to change the format of the push message. This attribute indicates the version of the data expected by the endpoint. This controls the shape of the envelope (i.e. its fields and metadata). The endpoint version is based on the version of the Pub/Sub API. If not present during the `CreateSubscription` call, it will default to the version of the API used to make such call. If not present during a `ModifyPushConfig` call, its value will not be changed. `GetSubscription` calls will always return a valid version, even if the subscription was created without this attribute. The possible values for this attribute are: * `v1beta1`: uses the push format defined in the v1beta1 Pub/Sub API. * `v1` or `v1beta2`: uses the push format defined in the v1 Pub/Sub API.", +"type": "object" +}, +"oidcToken": { +"$ref": "OidcToken", +"description": "If specified, Pub/Sub will generate and attach an OIDC JWT token as an `Authorization` header in the HTTP request for every pushed message." +}, +"pushEndpoint": { +"description": "A URL locating the endpoint to which messages should be pushed. For example, a Webhook endpoint might use \"https://example.com/push\".", +"type": "string" +} +}, +"type": "object" +}, +"ReceivedMessage": { +"description": "A message and its corresponding acknowledgment ID.", +"id": "ReceivedMessage", +"properties": { +"ackId": { +"description": "This ID can be used to acknowledge the received message.", +"type": "string" +}, +"message": { +"$ref": "PubsubMessage", +"description": "The message." +} +}, +"type": "object" +}, +"SetIamPolicyRequest": { +"description": "Request message for `SetIamPolicy` method.", +"id": "SetIamPolicyRequest", +"properties": { +"policy": { +"$ref": "Policy", +"description": "REQUIRED: The complete policy to be applied to the `resource`. The size of the policy is limited to a few 10s of KB. An empty policy is a valid policy but certain Google Cloud services (such as Projects) might reject them." +} +}, +"type": "object" +}, +"Subscription": { +"description": "A subscription resource.", +"id": "Subscription", +"properties": { +"ackDeadlineSeconds": { +"description": "This value is the maximum time after a subscriber receives a message before the subscriber should acknowledge the message. After message delivery but before the ack deadline expires and before the message is acknowledged, it is an outstanding message and will not be delivered again during that time (on a best-effort basis). For pull subscriptions, this value is used as the initial value for the ack deadline. To override this value for a given message, call `ModifyAckDeadline` with the corresponding `ack_id` if using pull. The maximum custom deadline you can specify is 600 seconds (10 minutes). For push delivery, this value is also used to set the request timeout for the call to the push endpoint. If the subscriber never acknowledges the message, the Pub/Sub system will eventually redeliver the message. If this parameter is 0, a default value of 10 seconds is used.", +"format": "int32", +"type": "integer" +}, +"name": { +"description": "The name of the subscription. It must have the format `\"projects/{project}/subscriptions/{subscription}\"`. `{subscription}` must start with a letter, and contain only letters (`[A-Za-z]`), numbers (`[0-9]`), dashes (`-`), underscores (`_`), periods (`.`), tildes (`~`), plus (`+`) or percent signs (`%`). It must be between 3 and 255 characters in length, and it must not start with `\"goog\"`.", +"type": "string" +}, +"pushConfig": { +"$ref": "PushConfig", +"description": "If push delivery is used with this subscription, this field is used to configure it. An empty `pushConfig` signifies that the subscriber will pull and ack messages using API methods." +}, +"topic": { +"description": "The name of the topic from which this subscription is receiving messages. The value of this field will be `_deleted-topic_` if the topic has been deleted.", +"type": "string" +} +}, +"type": "object" +}, +"TestIamPermissionsRequest": { +"description": "Request message for `TestIamPermissions` method.", +"id": "TestIamPermissionsRequest", +"properties": { +"permissions": { +"description": "The set of permissions to check for the `resource`. Permissions with wildcards (such as `*` or `storage.*`) are not allowed. For more information see [IAM Overview](https://cloud.google.com/iam/docs/overview#permissions).", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"TestIamPermissionsResponse": { +"description": "Response message for `TestIamPermissions` method.", +"id": "TestIamPermissionsResponse", +"properties": { +"permissions": { +"description": "A subset of `TestPermissionsRequest.permissions` that the caller is allowed.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"Topic": { +"description": "A topic resource.", +"id": "Topic", +"properties": { +"name": { +"description": "The name of the topic. It must have the format `\"projects/{project}/topics/{topic}\"`. `{topic}` must start with a letter, and contain only letters (`[A-Za-z]`), numbers (`[0-9]`), dashes (`-`), underscores (`_`), periods (`.`), tildes (`~`), plus (`+`) or percent signs (`%`). It must be between 3 and 255 characters in length, and it must not start with `\"goog\"`.", +"type": "string" +} +}, +"type": "object" +} +}, +"servicePath": "", +"title": "Cloud Pub/Sub API", +"version": "v1beta2" +} \ No newline at end of file diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/realtimebidding.v1.json b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/realtimebidding.v1.json new file mode 100644 index 0000000000000000000000000000000000000000..aa564010e3d305836b4856d2e8e54e13cbe92e41 --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/realtimebidding.v1.json @@ -0,0 +1,3349 @@ +{ +"auth": { +"oauth2": { +"scopes": { +"https://www.googleapis.com/auth/realtime-bidding": { +"description": "See, create, edit, and delete your Authorized Buyers and Open Bidding account entities" +} +} +} +}, +"basePath": "", +"baseUrl": "https://realtimebidding.googleapis.com/", +"batchPath": "batch", +"canonicalName": "Real-time Bidding", +"description": "Allows external bidders to manage their RTB integration with Google. This includes managing bidder endpoints, QPS quotas, configuring what ad inventory to receive with pretargeting, submitting creatives for verification, and accessing creative metadata such as approval status.", +"discoveryVersion": "v1", +"documentationLink": "https://developers.google.com/authorized-buyers/apis/realtimebidding/reference/rest/", +"fullyEncodeReservedExpansion": true, +"icons": { +"x16": "http://www.google.com/images/icons/product/search-16.gif", +"x32": "http://www.google.com/images/icons/product/search-32.gif" +}, +"id": "realtimebidding:v1", +"kind": "discovery#restDescription", +"mtlsRootUrl": "https://realtimebidding.mtls.googleapis.com/", +"name": "realtimebidding", +"ownerDomain": "google.com", +"ownerName": "Google", +"parameters": { +"$.xgafv": { +"description": "V1 error format.", +"enum": [ +"1", +"2" +], +"enumDescriptions": [ +"v1 error format", +"v2 error format" +], +"location": "query", +"type": "string" +}, +"access_token": { +"description": "OAuth access token.", +"location": "query", +"type": "string" +}, +"alt": { +"default": "json", +"description": "Data format for response.", +"enum": [ +"json", +"media", +"proto" +], +"enumDescriptions": [ +"Responses with Content-Type of application/json", +"Media download with context-dependent Content-Type", +"Responses with Content-Type of application/x-protobuf" +], +"location": "query", +"type": "string" +}, +"callback": { +"description": "JSONP", +"location": "query", +"type": "string" +}, +"fields": { +"description": "Selector specifying which fields to include in a partial response.", +"location": "query", +"type": "string" +}, +"key": { +"description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", +"location": "query", +"type": "string" +}, +"oauth_token": { +"description": "OAuth 2.0 token for the current user.", +"location": "query", +"type": "string" +}, +"prettyPrint": { +"default": "true", +"description": "Returns response with indentations and line breaks.", +"location": "query", +"type": "boolean" +}, +"quotaUser": { +"description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.", +"location": "query", +"type": "string" +}, +"uploadType": { +"description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", +"location": "query", +"type": "string" +}, +"upload_protocol": { +"description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", +"location": "query", +"type": "string" +} +}, +"protocol": "rest", +"resources": { +"bidders": { +"methods": { +"get": { +"description": "Gets a bidder account by its name.", +"flatPath": "v1/bidders/{biddersId}", +"httpMethod": "GET", +"id": "realtimebidding.bidders.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of the bidder to get. Format: `bidders/{bidderAccountId}`", +"location": "path", +"pattern": "^bidders/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Bidder" +}, +"scopes": [ +"https://www.googleapis.com/auth/realtime-bidding" +] +}, +"list": { +"description": "Lists all the bidder accounts that belong to the caller.", +"flatPath": "v1/bidders", +"httpMethod": "GET", +"id": "realtimebidding.bidders.list", +"parameterOrder": [], +"parameters": { +"pageSize": { +"description": "The maximum number of bidders to return. If unspecified, at most 100 bidders will be returned. The maximum value is 500; values above 500 will be coerced to 500.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A token identifying a page of results the server should return. This value is received from a previous `ListBidders` call in ListBiddersResponse.nextPageToken.", +"location": "query", +"type": "string" +} +}, +"path": "v1/bidders", +"response": { +"$ref": "ListBiddersResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/realtime-bidding" +] +} +}, +"resources": { +"creatives": { +"methods": { +"list": { +"description": "Lists creatives as they are at the time of the initial request. This call may take multiple hours to complete. For large, paginated requests, this method returns a snapshot of creatives at the time of request for the first page. `lastStatusUpdate` and `creativeServingDecision` may be outdated for creatives on sequential pages. We recommend [Google Cloud Pub/Sub](//cloud.google.com/pubsub/docs/overview) to view the latest status.", +"flatPath": "v1/bidders/{biddersId}/creatives", +"httpMethod": "GET", +"id": "realtimebidding.bidders.creatives.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Query string to filter creatives. If no filter is specified, all active creatives will be returned. Example: 'accountId=12345 AND (dealsStatus:DISAPPROVED AND disapprovalReason:UNACCEPTABLE_CONTENT) OR declaredAttributes:IS_COOKIE_TARGETED'", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Requested page size. The server may return fewer creatives than requested (due to timeout constraint) even if more are available through another call. If unspecified, server will pick an appropriate default. Acceptable values are 1 to 1000, inclusive.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A token identifying a page of results the server should return. Typically, this is the value of ListCreativesResponse.nextPageToken returned from the previous call to the 'ListCreatives' method. Page tokens for continued pages are valid for up to five hours, counting from the call to 'ListCreatives' for the first page.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. Name of the parent buyer that owns the creatives. The pattern for this resource is either `buyers/{buyerAccountId}` or `bidders/{bidderAccountId}`. For `buyers/{buyerAccountId}`, the `buyerAccountId` can be one of the following: 1. The ID of the buyer that is accessing their own creatives. 2. The ID of the child seat buyer under a bidder account. So for listing creatives pertaining to the child seat buyer (`456`) under bidder account (`123`), you would use the pattern: `buyers/456`. 3. The ID of the bidder itself. So for listing creatives pertaining to bidder (`123`), you would use `buyers/123`. If you want to access all creatives pertaining to both the bidder and all of its child seat accounts, you would use `bidders/{bidderAccountId}`, for example, for all creatives pertaining to bidder (`123`), use `bidders/123`.", +"location": "path", +"pattern": "^bidders/[^/]+$", +"required": true, +"type": "string" +}, +"view": { +"description": "Controls the amount of information included in the response. By default only creativeServingDecision is included. To retrieve the entire creative resource (including the declared fields and the creative content) specify the view as \"FULL\".", +"enum": [ +"CREATIVE_VIEW_UNSPECIFIED", +"SERVING_DECISION_ONLY", +"FULL" +], +"enumDescriptions": [ +"Not specified, equivalent to SERVING_DECISION_ONLY.", +"Only creativeServingDecision is included in the response.", +"The entire creative resource (including the declared fields and the creative content) is included in the response." +], +"location": "query", +"type": "string" +} +}, +"path": "v1/{+parent}/creatives", +"response": { +"$ref": "ListCreativesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/realtime-bidding" +] +}, +"watch": { +"description": "Watches all creatives pertaining to a bidder. It is sufficient to invoke this endpoint once per bidder. A Pub/Sub topic will be created and notifications will be pushed to the topic when any of the bidder's creatives change status. All of the bidder's service accounts will have access to read from the topic. Subsequent invocations of this method will return the existing Pub/Sub configuration.", +"flatPath": "v1/bidders/{biddersId}/creatives:watch", +"httpMethod": "POST", +"id": "realtimebidding.bidders.creatives.watch", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. To watch all creatives pertaining to the bidder and all its child seat accounts, the bidder must follow the pattern `bidders/{bidderAccountId}`.", +"location": "path", +"pattern": "^bidders/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/creatives:watch", +"request": { +"$ref": "WatchCreativesRequest" +}, +"response": { +"$ref": "WatchCreativesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/realtime-bidding" +] +} +} +}, +"endpoints": { +"methods": { +"get": { +"description": "Gets a bidder endpoint by its name.", +"flatPath": "v1/bidders/{biddersId}/endpoints/{endpointsId}", +"httpMethod": "GET", +"id": "realtimebidding.bidders.endpoints.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of the bidder endpoint to get. Format: `bidders/{bidderAccountId}/endpoints/{endpointId}`", +"location": "path", +"pattern": "^bidders/[^/]+/endpoints/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Endpoint" +}, +"scopes": [ +"https://www.googleapis.com/auth/realtime-bidding" +] +}, +"list": { +"description": "Lists all the bidder's endpoints.", +"flatPath": "v1/bidders/{biddersId}/endpoints", +"httpMethod": "GET", +"id": "realtimebidding.bidders.endpoints.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "The maximum number of endpoints to return. If unspecified, at most 100 endpoints will be returned. The maximum value is 500; values above 500 will be coerced to 500.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A token identifying a page of results the server should return. This value is received from a previous `ListEndpoints` call in ListEndpointsResponse.nextPageToken.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. Name of the bidder whose endpoints will be listed. Format: `bidders/{bidderAccountId}`", +"location": "path", +"pattern": "^bidders/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/endpoints", +"response": { +"$ref": "ListEndpointsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/realtime-bidding" +] +}, +"patch": { +"description": "Updates a bidder's endpoint.", +"flatPath": "v1/bidders/{biddersId}/endpoints/{endpointsId}", +"httpMethod": "PATCH", +"id": "realtimebidding.bidders.endpoints.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Output only. Name of the endpoint resource that must follow the pattern `bidders/{bidderAccountId}/endpoints/{endpointId}`, where {bidderAccountId} is the account ID of the bidder who operates this endpoint, and {endpointId} is a unique ID assigned by the server.", +"location": "path", +"pattern": "^bidders/[^/]+/endpoints/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Field mask to use for partial in-place updates.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "Endpoint" +}, +"response": { +"$ref": "Endpoint" +}, +"scopes": [ +"https://www.googleapis.com/auth/realtime-bidding" +] +} +} +}, +"pretargetingConfigs": { +"methods": { +"activate": { +"description": "Activates a pretargeting configuration.", +"flatPath": "v1/bidders/{biddersId}/pretargetingConfigs/{pretargetingConfigsId}:activate", +"httpMethod": "POST", +"id": "realtimebidding.bidders.pretargetingConfigs.activate", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the pretargeting configuration. Format: bidders/{bidderAccountId}/pretargetingConfig/{configId}", +"location": "path", +"pattern": "^bidders/[^/]+/pretargetingConfigs/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:activate", +"request": { +"$ref": "ActivatePretargetingConfigRequest" +}, +"response": { +"$ref": "PretargetingConfig" +}, +"scopes": [ +"https://www.googleapis.com/auth/realtime-bidding" +] +}, +"addTargetedApps": { +"description": "Adds targeted apps to the pretargeting configuration.", +"flatPath": "v1/bidders/{biddersId}/pretargetingConfigs/{pretargetingConfigsId}:addTargetedApps", +"httpMethod": "POST", +"id": "realtimebidding.bidders.pretargetingConfigs.addTargetedApps", +"parameterOrder": [ +"pretargetingConfig" +], +"parameters": { +"pretargetingConfig": { +"description": "Required. The name of the pretargeting configuration. Format: bidders/{bidderAccountId}/pretargetingConfig/{configId}", +"location": "path", +"pattern": "^bidders/[^/]+/pretargetingConfigs/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+pretargetingConfig}:addTargetedApps", +"request": { +"$ref": "AddTargetedAppsRequest" +}, +"response": { +"$ref": "PretargetingConfig" +}, +"scopes": [ +"https://www.googleapis.com/auth/realtime-bidding" +] +}, +"addTargetedPublishers": { +"description": "Adds targeted publishers to the pretargeting config.", +"flatPath": "v1/bidders/{biddersId}/pretargetingConfigs/{pretargetingConfigsId}:addTargetedPublishers", +"httpMethod": "POST", +"id": "realtimebidding.bidders.pretargetingConfigs.addTargetedPublishers", +"parameterOrder": [ +"pretargetingConfig" +], +"parameters": { +"pretargetingConfig": { +"description": "Required. The name of the pretargeting configuration. Format: bidders/{bidderAccountId}/pretargetingConfig/{configId}", +"location": "path", +"pattern": "^bidders/[^/]+/pretargetingConfigs/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+pretargetingConfig}:addTargetedPublishers", +"request": { +"$ref": "AddTargetedPublishersRequest" +}, +"response": { +"$ref": "PretargetingConfig" +}, +"scopes": [ +"https://www.googleapis.com/auth/realtime-bidding" +] +}, +"addTargetedSites": { +"description": "Adds targeted sites to the pretargeting configuration.", +"flatPath": "v1/bidders/{biddersId}/pretargetingConfigs/{pretargetingConfigsId}:addTargetedSites", +"httpMethod": "POST", +"id": "realtimebidding.bidders.pretargetingConfigs.addTargetedSites", +"parameterOrder": [ +"pretargetingConfig" +], +"parameters": { +"pretargetingConfig": { +"description": "Required. The name of the pretargeting configuration. Format: bidders/{bidderAccountId}/pretargetingConfig/{configId}", +"location": "path", +"pattern": "^bidders/[^/]+/pretargetingConfigs/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+pretargetingConfig}:addTargetedSites", +"request": { +"$ref": "AddTargetedSitesRequest" +}, +"response": { +"$ref": "PretargetingConfig" +}, +"scopes": [ +"https://www.googleapis.com/auth/realtime-bidding" +] +}, +"create": { +"description": "Creates a pretargeting configuration. A pretargeting configuration's state (PretargetingConfig.state) is active upon creation, and it will start to affect traffic shortly after. A bidder may create a maximum of 10 pretargeting configurations. Attempts to exceed this maximum results in a 400 bad request error.", +"flatPath": "v1/bidders/{biddersId}/pretargetingConfigs", +"httpMethod": "POST", +"id": "realtimebidding.bidders.pretargetingConfigs.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. Name of the bidder to create the pretargeting configuration for. Format: bidders/{bidderAccountId}", +"location": "path", +"pattern": "^bidders/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/pretargetingConfigs", +"request": { +"$ref": "PretargetingConfig" +}, +"response": { +"$ref": "PretargetingConfig" +}, +"scopes": [ +"https://www.googleapis.com/auth/realtime-bidding" +] +}, +"delete": { +"description": "Deletes a pretargeting configuration.", +"flatPath": "v1/bidders/{biddersId}/pretargetingConfigs/{pretargetingConfigsId}", +"httpMethod": "DELETE", +"id": "realtimebidding.bidders.pretargetingConfigs.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the pretargeting configuration to delete. Format: bidders/{bidderAccountId}/pretargetingConfig/{configId}", +"location": "path", +"pattern": "^bidders/[^/]+/pretargetingConfigs/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/realtime-bidding" +] +}, +"get": { +"description": "Gets a pretargeting configuration.", +"flatPath": "v1/bidders/{biddersId}/pretargetingConfigs/{pretargetingConfigsId}", +"httpMethod": "GET", +"id": "realtimebidding.bidders.pretargetingConfigs.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of the pretargeting configuration to get. Format: bidders/{bidderAccountId}/pretargetingConfigs/{configId}", +"location": "path", +"pattern": "^bidders/[^/]+/pretargetingConfigs/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "PretargetingConfig" +}, +"scopes": [ +"https://www.googleapis.com/auth/realtime-bidding" +] +}, +"list": { +"description": "Lists all pretargeting configurations for a single bidder.", +"flatPath": "v1/bidders/{biddersId}/pretargetingConfigs", +"httpMethod": "GET", +"id": "realtimebidding.bidders.pretargetingConfigs.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "The maximum number of pretargeting configurations to return. If unspecified, at most 10 pretargeting configurations will be returned. The maximum value is 100; values above 100 will be coerced to 100.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A token identifying a page of results the server should return. This value is received from a previous `ListPretargetingConfigs` call in ListPretargetingConfigsResponse.nextPageToken.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. Name of the bidder whose pretargeting configurations will be listed. Format: bidders/{bidderAccountId}", +"location": "path", +"pattern": "^bidders/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/pretargetingConfigs", +"response": { +"$ref": "ListPretargetingConfigsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/realtime-bidding" +] +}, +"patch": { +"description": "Updates a pretargeting configuration.", +"flatPath": "v1/bidders/{biddersId}/pretargetingConfigs/{pretargetingConfigsId}", +"httpMethod": "PATCH", +"id": "realtimebidding.bidders.pretargetingConfigs.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Output only. Name of the pretargeting configuration that must follow the pattern `bidders/{bidder_account_id}/pretargetingConfigs/{config_id}`", +"location": "path", +"pattern": "^bidders/[^/]+/pretargetingConfigs/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Field mask to use for partial in-place updates.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "PretargetingConfig" +}, +"response": { +"$ref": "PretargetingConfig" +}, +"scopes": [ +"https://www.googleapis.com/auth/realtime-bidding" +] +}, +"removeTargetedApps": { +"description": "Removes targeted apps from the pretargeting configuration.", +"flatPath": "v1/bidders/{biddersId}/pretargetingConfigs/{pretargetingConfigsId}:removeTargetedApps", +"httpMethod": "POST", +"id": "realtimebidding.bidders.pretargetingConfigs.removeTargetedApps", +"parameterOrder": [ +"pretargetingConfig" +], +"parameters": { +"pretargetingConfig": { +"description": "Required. The name of the pretargeting configuration. Format: bidders/{bidderAccountId}/pretargetingConfig/{configId}", +"location": "path", +"pattern": "^bidders/[^/]+/pretargetingConfigs/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+pretargetingConfig}:removeTargetedApps", +"request": { +"$ref": "RemoveTargetedAppsRequest" +}, +"response": { +"$ref": "PretargetingConfig" +}, +"scopes": [ +"https://www.googleapis.com/auth/realtime-bidding" +] +}, +"removeTargetedPublishers": { +"description": "Removes targeted publishers from the pretargeting config.", +"flatPath": "v1/bidders/{biddersId}/pretargetingConfigs/{pretargetingConfigsId}:removeTargetedPublishers", +"httpMethod": "POST", +"id": "realtimebidding.bidders.pretargetingConfigs.removeTargetedPublishers", +"parameterOrder": [ +"pretargetingConfig" +], +"parameters": { +"pretargetingConfig": { +"description": "Required. The name of the pretargeting configuration. Format: bidders/{bidderAccountId}/pretargetingConfig/{configId}", +"location": "path", +"pattern": "^bidders/[^/]+/pretargetingConfigs/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+pretargetingConfig}:removeTargetedPublishers", +"request": { +"$ref": "RemoveTargetedPublishersRequest" +}, +"response": { +"$ref": "PretargetingConfig" +}, +"scopes": [ +"https://www.googleapis.com/auth/realtime-bidding" +] +}, +"removeTargetedSites": { +"description": "Removes targeted sites from the pretargeting configuration.", +"flatPath": "v1/bidders/{biddersId}/pretargetingConfigs/{pretargetingConfigsId}:removeTargetedSites", +"httpMethod": "POST", +"id": "realtimebidding.bidders.pretargetingConfigs.removeTargetedSites", +"parameterOrder": [ +"pretargetingConfig" +], +"parameters": { +"pretargetingConfig": { +"description": "Required. The name of the pretargeting configuration. Format: bidders/{bidderAccountId}/pretargetingConfig/{configId}", +"location": "path", +"pattern": "^bidders/[^/]+/pretargetingConfigs/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+pretargetingConfig}:removeTargetedSites", +"request": { +"$ref": "RemoveTargetedSitesRequest" +}, +"response": { +"$ref": "PretargetingConfig" +}, +"scopes": [ +"https://www.googleapis.com/auth/realtime-bidding" +] +}, +"suspend": { +"description": "Suspends a pretargeting configuration.", +"flatPath": "v1/bidders/{biddersId}/pretargetingConfigs/{pretargetingConfigsId}:suspend", +"httpMethod": "POST", +"id": "realtimebidding.bidders.pretargetingConfigs.suspend", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the pretargeting configuration. Format: bidders/{bidderAccountId}/pretargetingConfig/{configId}", +"location": "path", +"pattern": "^bidders/[^/]+/pretargetingConfigs/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:suspend", +"request": { +"$ref": "SuspendPretargetingConfigRequest" +}, +"response": { +"$ref": "PretargetingConfig" +}, +"scopes": [ +"https://www.googleapis.com/auth/realtime-bidding" +] +} +} +}, +"publisherConnections": { +"methods": { +"batchApprove": { +"description": "Batch approves multiple publisher connections.", +"flatPath": "v1/bidders/{biddersId}/publisherConnections:batchApprove", +"httpMethod": "POST", +"id": "realtimebidding.bidders.publisherConnections.batchApprove", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The bidder for whom publisher connections will be approved. Format: `bidders/{bidder}` where `{bidder}` is the account ID of the bidder.", +"location": "path", +"pattern": "^bidders/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/publisherConnections:batchApprove", +"request": { +"$ref": "BatchApprovePublisherConnectionsRequest" +}, +"response": { +"$ref": "BatchApprovePublisherConnectionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/realtime-bidding" +] +}, +"batchReject": { +"description": "Batch rejects multiple publisher connections.", +"flatPath": "v1/bidders/{biddersId}/publisherConnections:batchReject", +"httpMethod": "POST", +"id": "realtimebidding.bidders.publisherConnections.batchReject", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The bidder for whom publisher connections will be rejected. Format: `bidders/{bidder}` where `{bidder}` is the account ID of the bidder.", +"location": "path", +"pattern": "^bidders/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/publisherConnections:batchReject", +"request": { +"$ref": "BatchRejectPublisherConnectionsRequest" +}, +"response": { +"$ref": "BatchRejectPublisherConnectionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/realtime-bidding" +] +}, +"get": { +"description": "Gets a publisher connection.", +"flatPath": "v1/bidders/{biddersId}/publisherConnections/{publisherConnectionsId}", +"httpMethod": "GET", +"id": "realtimebidding.bidders.publisherConnections.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of the publisher whose connection information is to be retrieved. In the pattern `bidders/{bidder}/publisherConnections/{publisher}` where `{bidder}` is the account ID of the bidder, and `{publisher}` is the ads.txt/app-ads.txt publisher ID. See publisherConnection.name.", +"location": "path", +"pattern": "^bidders/[^/]+/publisherConnections/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "PublisherConnection" +}, +"scopes": [ +"https://www.googleapis.com/auth/realtime-bidding" +] +}, +"list": { +"description": "Lists publisher connections for a given bidder.", +"flatPath": "v1/bidders/{biddersId}/publisherConnections", +"httpMethod": "GET", +"id": "realtimebidding.bidders.publisherConnections.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Query string to filter publisher connections. Connections can be filtered by `displayName`, `publisherPlatform`, and `biddingState`. If no filter is specified, all publisher connections will be returned. Example: 'displayName=\"Great Publisher*\" AND publisherPlatform=ADMOB AND biddingState != PENDING' See https://google.aip.dev/160 for more information about filtering syntax.", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "Order specification by which results should be sorted. If no sort order is specified, the results will be returned in alphabetic order based on the publisher's publisher code. Results can be sorted by `createTime`. Example: 'createTime DESC'.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Requested page size. The server may return fewer results than requested (due to timeout constraint) even if more are available through another call. If unspecified, the server will pick an appropriate default. Acceptable values are 1 to 5000, inclusive.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A token identifying a page of results the server should return. Typically, this is the value of ListPublisherConnectionsResponse.nextPageToken returned from the previous call to the 'ListPublisherConnections' method.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. Name of the bidder for which publishers have initiated connections. The pattern for this resource is `bidders/{bidder}` where `{bidder}` represents the account ID of the bidder.", +"location": "path", +"pattern": "^bidders/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/publisherConnections", +"response": { +"$ref": "ListPublisherConnectionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/realtime-bidding" +] +} +} +} +} +}, +"buyers": { +"methods": { +"get": { +"description": "Gets a buyer account by its name.", +"flatPath": "v1/buyers/{buyersId}", +"httpMethod": "GET", +"id": "realtimebidding.buyers.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of the buyer to get. Format: `buyers/{buyerId}`", +"location": "path", +"pattern": "^buyers/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Buyer" +}, +"scopes": [ +"https://www.googleapis.com/auth/realtime-bidding" +] +}, +"getRemarketingTag": { +"description": "This has been sunset as of October 2023, and will return an error response if called. For more information, see the release notes: https://developers.google.com/authorized-buyers/apis/relnotes#real-time-bidding-api Gets remarketing tag for a buyer. A remarketing tag is a piece of JavaScript code that can be placed on a web page. When a user visits a page containing a remarketing tag, Google adds the user to a user list.", +"flatPath": "v1/buyers/{buyersId}:getRemarketingTag", +"httpMethod": "GET", +"id": "realtimebidding.buyers.getRemarketingTag", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. To fetch the remarketing tag for an account, the name must follow the pattern `buyers/{accountId}`, where `{accountId}` represents the ID of the buyer that owns the remarketing tag. For a bidder accessing the remarketing tag on behalf of a child seat buyer, `{accountId}` should represent the ID of the child seat buyer. To fetch the remarketing tag for a specific user list, the name must follow the pattern `buyers/{accountId}/userLists/{userListId}`. See UserList.name.", +"location": "path", +"pattern": "^buyers/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:getRemarketingTag", +"response": { +"$ref": "GetRemarketingTagResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/realtime-bidding" +] +}, +"list": { +"description": "Lists all buyer account information the calling buyer user or service account is permissioned to manage.", +"flatPath": "v1/buyers", +"httpMethod": "GET", +"id": "realtimebidding.buyers.list", +"parameterOrder": [], +"parameters": { +"pageSize": { +"description": "The maximum number of buyers to return. If unspecified, at most 100 buyers will be returned. The maximum value is 500; values above 500 will be coerced to 500.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A token identifying a page of results the server should return. This value is received from a previous `ListBuyers` call in ListBuyersResponse.nextPageToken.", +"location": "query", +"type": "string" +} +}, +"path": "v1/buyers", +"response": { +"$ref": "ListBuyersResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/realtime-bidding" +] +} +}, +"resources": { +"creatives": { +"methods": { +"create": { +"description": "Creates a creative.", +"flatPath": "v1/buyers/{buyersId}/creatives", +"httpMethod": "POST", +"id": "realtimebidding.buyers.creatives.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The name of the parent buyer that the new creative belongs to that must follow the pattern `buyers/{buyerAccountId}`, where `{buyerAccountId}` represents the account ID of the buyer who owns a creative. For a bidder accessing creatives on behalf of a child seat buyer, `{buyerAccountId}` should represent the account ID of the child seat buyer.", +"location": "path", +"pattern": "^buyers/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/creatives", +"request": { +"$ref": "Creative" +}, +"response": { +"$ref": "Creative" +}, +"scopes": [ +"https://www.googleapis.com/auth/realtime-bidding" +] +}, +"get": { +"description": "Gets a creative.", +"flatPath": "v1/buyers/{buyersId}/creatives/{creativesId}", +"httpMethod": "GET", +"id": "realtimebidding.buyers.creatives.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of the creative to retrieve. See creative.name.", +"location": "path", +"pattern": "^buyers/[^/]+/creatives/[^/]+$", +"required": true, +"type": "string" +}, +"view": { +"description": "Controls the amount of information included in the response. By default only creativeServingDecision is included. To retrieve the entire creative resource (including the declared fields and the creative content) specify the view as \"FULL\".", +"enum": [ +"CREATIVE_VIEW_UNSPECIFIED", +"SERVING_DECISION_ONLY", +"FULL" +], +"enumDescriptions": [ +"Not specified, equivalent to SERVING_DECISION_ONLY.", +"Only creativeServingDecision is included in the response.", +"The entire creative resource (including the declared fields and the creative content) is included in the response." +], +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Creative" +}, +"scopes": [ +"https://www.googleapis.com/auth/realtime-bidding" +] +}, +"list": { +"description": "Lists creatives as they are at the time of the initial request. This call may take multiple hours to complete. For large, paginated requests, this method returns a snapshot of creatives at the time of request for the first page. `lastStatusUpdate` and `creativeServingDecision` may be outdated for creatives on sequential pages. We recommend [Google Cloud Pub/Sub](//cloud.google.com/pubsub/docs/overview) to view the latest status.", +"flatPath": "v1/buyers/{buyersId}/creatives", +"httpMethod": "GET", +"id": "realtimebidding.buyers.creatives.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Query string to filter creatives. If no filter is specified, all active creatives will be returned. Example: 'accountId=12345 AND (dealsStatus:DISAPPROVED AND disapprovalReason:UNACCEPTABLE_CONTENT) OR declaredAttributes:IS_COOKIE_TARGETED'", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Requested page size. The server may return fewer creatives than requested (due to timeout constraint) even if more are available through another call. If unspecified, server will pick an appropriate default. Acceptable values are 1 to 1000, inclusive.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A token identifying a page of results the server should return. Typically, this is the value of ListCreativesResponse.nextPageToken returned from the previous call to the 'ListCreatives' method. Page tokens for continued pages are valid for up to five hours, counting from the call to 'ListCreatives' for the first page.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. Name of the parent buyer that owns the creatives. The pattern for this resource is either `buyers/{buyerAccountId}` or `bidders/{bidderAccountId}`. For `buyers/{buyerAccountId}`, the `buyerAccountId` can be one of the following: 1. The ID of the buyer that is accessing their own creatives. 2. The ID of the child seat buyer under a bidder account. So for listing creatives pertaining to the child seat buyer (`456`) under bidder account (`123`), you would use the pattern: `buyers/456`. 3. The ID of the bidder itself. So for listing creatives pertaining to bidder (`123`), you would use `buyers/123`. If you want to access all creatives pertaining to both the bidder and all of its child seat accounts, you would use `bidders/{bidderAccountId}`, for example, for all creatives pertaining to bidder (`123`), use `bidders/123`.", +"location": "path", +"pattern": "^buyers/[^/]+$", +"required": true, +"type": "string" +}, +"view": { +"description": "Controls the amount of information included in the response. By default only creativeServingDecision is included. To retrieve the entire creative resource (including the declared fields and the creative content) specify the view as \"FULL\".", +"enum": [ +"CREATIVE_VIEW_UNSPECIFIED", +"SERVING_DECISION_ONLY", +"FULL" +], +"enumDescriptions": [ +"Not specified, equivalent to SERVING_DECISION_ONLY.", +"Only creativeServingDecision is included in the response.", +"The entire creative resource (including the declared fields and the creative content) is included in the response." +], +"location": "query", +"type": "string" +} +}, +"path": "v1/{+parent}/creatives", +"response": { +"$ref": "ListCreativesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/realtime-bidding" +] +}, +"patch": { +"description": "Updates a creative.", +"flatPath": "v1/buyers/{buyersId}/creatives/{creativesId}", +"httpMethod": "PATCH", +"id": "realtimebidding.buyers.creatives.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Output only. Name of the creative. Follows the pattern `buyers/{buyer}/creatives/{creative}`, where `{buyer}` represents the account ID of the buyer who owns the creative, and `{creative}` is the buyer-specific creative ID that references this creative in the bid response.", +"location": "path", +"pattern": "^buyers/[^/]+/creatives/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Field mask to use for partial in-place updates.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "Creative" +}, +"response": { +"$ref": "Creative" +}, +"scopes": [ +"https://www.googleapis.com/auth/realtime-bidding" +] +} +} +}, +"userLists": { +"methods": { +"close": { +"description": "Changes the status of a user list to CLOSED. This prevents new users from being added to the user list.", +"flatPath": "v1/buyers/{buyersId}/userLists/{userListsId}:close", +"httpMethod": "POST", +"id": "realtimebidding.buyers.userLists.close", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the user list to close. See UserList.name", +"location": "path", +"pattern": "^buyers/[^/]+/userLists/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:close", +"request": { +"$ref": "CloseUserListRequest" +}, +"response": { +"$ref": "UserList" +}, +"scopes": [ +"https://www.googleapis.com/auth/realtime-bidding" +] +}, +"create": { +"description": "Creates a new user list.", +"flatPath": "v1/buyers/{buyersId}/userLists", +"httpMethod": "POST", +"id": "realtimebidding.buyers.userLists.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The name of the parent buyer of the user list to be retrieved, which must follow the pattern `buyers/{buyerAccountId}`, where `{buyerAccountId}` represents the account ID of the buyer who owns the user list. For a bidder accessing user lists on behalf of a child seat buyer, `{buyerAccountId}` should represent the account ID of the child seat buyer.", +"location": "path", +"pattern": "^buyers/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/userLists", +"request": { +"$ref": "UserList" +}, +"response": { +"$ref": "UserList" +}, +"scopes": [ +"https://www.googleapis.com/auth/realtime-bidding" +] +}, +"get": { +"description": "Gets a user list by its name.", +"flatPath": "v1/buyers/{buyersId}/userLists/{userListsId}", +"httpMethod": "GET", +"id": "realtimebidding.buyers.userLists.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the user list to be retrieved. See UserList.name.", +"location": "path", +"pattern": "^buyers/[^/]+/userLists/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "UserList" +}, +"scopes": [ +"https://www.googleapis.com/auth/realtime-bidding" +] +}, +"getRemarketingTag": { +"description": "This has been sunset as of October 2023, and will return an error response if called. For more information, see the release notes: https://developers.google.com/authorized-buyers/apis/relnotes#real-time-bidding-api Gets remarketing tag for a buyer. A remarketing tag is a piece of JavaScript code that can be placed on a web page. When a user visits a page containing a remarketing tag, Google adds the user to a user list.", +"flatPath": "v1/buyers/{buyersId}/userLists/{userListsId}:getRemarketingTag", +"httpMethod": "GET", +"id": "realtimebidding.buyers.userLists.getRemarketingTag", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. To fetch the remarketing tag for an account, the name must follow the pattern `buyers/{accountId}`, where `{accountId}` represents the ID of the buyer that owns the remarketing tag. For a bidder accessing the remarketing tag on behalf of a child seat buyer, `{accountId}` should represent the ID of the child seat buyer. To fetch the remarketing tag for a specific user list, the name must follow the pattern `buyers/{accountId}/userLists/{userListId}`. See UserList.name.", +"location": "path", +"pattern": "^buyers/[^/]+/userLists/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:getRemarketingTag", +"response": { +"$ref": "GetRemarketingTagResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/realtime-bidding" +] +}, +"list": { +"description": "Lists the user lists visible to the current user.", +"flatPath": "v1/buyers/{buyersId}/userLists", +"httpMethod": "GET", +"id": "realtimebidding.buyers.userLists.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "The number of results to return per page.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Continuation page token as received from a previous response.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The name of the parent buyer for the user lists to be returned that must follow the pattern `buyers/{buyerAccountId}`, where `{buyerAccountId}` represents the account ID of the buyer who owns user lists. For a bidder accessing user lists on behalf of a child seat buyer , `{buyerAccountId}` should represent the account ID of the child seat buyer.", +"location": "path", +"pattern": "^buyers/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/userLists", +"response": { +"$ref": "ListUserListsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/realtime-bidding" +] +}, +"open": { +"description": "Changes the status of a user list to OPEN. This allows new users to be added to the user list.", +"flatPath": "v1/buyers/{buyersId}/userLists/{userListsId}:open", +"httpMethod": "POST", +"id": "realtimebidding.buyers.userLists.open", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the user list to open. See UserList.name", +"location": "path", +"pattern": "^buyers/[^/]+/userLists/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:open", +"request": { +"$ref": "OpenUserListRequest" +}, +"response": { +"$ref": "UserList" +}, +"scopes": [ +"https://www.googleapis.com/auth/realtime-bidding" +] +}, +"update": { +"description": "Updates the given user list. Only user lists with URLRestrictions can be updated.", +"flatPath": "v1/buyers/{buyersId}/userLists/{userListsId}", +"httpMethod": "PUT", +"id": "realtimebidding.buyers.userLists.update", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Output only. Name of the user list that must follow the pattern `buyers/{buyer}/userLists/{user_list}`, where `{buyer}` represents the account ID of the buyer who owns the user list. For a bidder accessing user lists on behalf of a child seat buyer, `{buyer}` represents the account ID of the child seat buyer. `{user_list}` is an int64 identifier assigned by Google to uniquely identify a user list.", +"location": "path", +"pattern": "^buyers/[^/]+/userLists/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "UserList" +}, +"response": { +"$ref": "UserList" +}, +"scopes": [ +"https://www.googleapis.com/auth/realtime-bidding" +] +} +} +} +} +} +}, +"revision": "20260114", +"rootUrl": "https://realtimebidding.googleapis.com/", +"schemas": { +"ActivatePretargetingConfigRequest": { +"description": "A request to activate a pretargeting configuration. Sets the configuration's state to ACTIVE.", +"id": "ActivatePretargetingConfigRequest", +"properties": {}, +"type": "object" +}, +"AdTechnologyProviders": { +"description": "The list of detected Ad Technology Providers for this creative. Bids placed for inventory that will serve to EEA or UK users are expected to comply with GDPR requirements. You must ensure that the creatives used in such bids should contain only user consented ad technology providers as indicated in the bid request. Google reserves the right to filter non-compliant bids. User consented ad technology providers can be found in the [Google Protocol](https://developers.google.com/authorized-buyers/rtb/downloads/realtime-bidding-proto) with the `BidRequest.adslot.consented_providers_settings` field, and can be found as an [OpenRTB extension](https://developers.google.com/authorized-buyers/rtb/downloads/openrtb-adx-proto) with the `BidRequest.user.ext.consented_providers_settings` and `BidRequest.user.ext.consent` fields. See https://support.google.com/authorizedbuyers/answer/9789378 for additional information about the Google TCF v2 integration.", +"id": "AdTechnologyProviders", +"properties": { +"detectedGvlIds": { +"description": "The detected IAB Global Vendor List (GVL) IDs for this creative. See the IAB Global Vendor List at https://vendor-list.consensu.org/v2/vendor-list.json for details about the vendors.", +"items": { +"format": "int64", +"type": "string" +}, +"type": "array" +}, +"detectedProviderIds": { +"description": "The detected [Google Ad Tech Providers (ATP)](https://support.google.com/admanager/answer/9012903) for this creative. See https://storage.googleapis.com/adx-rtb-dictionaries/providers.csv for mapping of provider ID to provided name, a privacy policy URL, and a list of domains which can be attributed to the provider.", +"items": { +"format": "int64", +"type": "string" +}, +"type": "array" +}, +"unidentifiedProviderDomains": { +"description": "Domains of detected unidentified ad technology providers (if any). You must ensure that the creatives used in bids placed for inventory that will serve to EEA or UK users does not contain unidentified ad technology providers. Google reserves the right to filter non-compliant bids.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"AddTargetedAppsRequest": { +"description": "A request to start targeting the provided app IDs in a specific pretargeting configuration. The pretargeting configuration itself specifies how these apps are targeted. in PretargetingConfig.appTargeting.mobileAppTargeting.", +"id": "AddTargetedAppsRequest", +"properties": { +"appIds": { +"description": "A list of app IDs to target in the pretargeting configuration. These values will be added to the list of targeted app IDs in PretargetingConfig.appTargeting.mobileAppTargeting.values.", +"items": { +"type": "string" +}, +"type": "array" +}, +"targetingMode": { +"description": "Required. The targeting mode that should be applied to the list of app IDs. If there are existing targeted app IDs, must be equal to the existing PretargetingConfig.appTargeting.mobileAppTargeting.targetingMode or a 400 bad request error will be returned.", +"enum": [ +"TARGETING_MODE_UNSPECIFIED", +"INCLUSIVE", +"EXCLUSIVE" +], +"enumDescriptions": [ +"Placeholder for undefined targeting mode.", +"The inclusive list type. Inventory must match an item in this list to be targeted.", +"The exclusive list type. Inventory must not match any item in this list to be targeted." +], +"type": "string" +} +}, +"type": "object" +}, +"AddTargetedPublishersRequest": { +"description": "A request to start targeting the provided publishers in a specific pretargeting configuration. The pretargeting configuration itself specifies how these publishers are targeted in PretargetingConfig.publisherTargeting.", +"id": "AddTargetedPublishersRequest", +"properties": { +"publisherIds": { +"description": "A list of publisher IDs to target in the pretargeting configuration. These values will be added to the list of targeted publisher IDs in PretargetingConfig.publisherTargeting.values. Publishers are identified by their publisher ID from ads.txt / app-ads.txt. See https://iabtechlab.com/ads-txt/ and https://iabtechlab.com/app-ads-txt/ for more details.", +"items": { +"type": "string" +}, +"type": "array" +}, +"targetingMode": { +"description": "Required. The targeting mode that should be applied to the list of publisher IDs. If are existing publisher IDs, must be equal to the existing PretargetingConfig.publisherTargeting.targetingMode or a 400 bad request error will be returned.", +"enum": [ +"TARGETING_MODE_UNSPECIFIED", +"INCLUSIVE", +"EXCLUSIVE" +], +"enumDescriptions": [ +"Placeholder for undefined targeting mode.", +"The inclusive list type. Inventory must match an item in this list to be targeted.", +"The exclusive list type. Inventory must not match any item in this list to be targeted." +], +"type": "string" +} +}, +"type": "object" +}, +"AddTargetedSitesRequest": { +"description": "A request to start targeting the provided sites in a specific pretargeting configuration. The pretargeting configuration itself specifies how these sites are targeted in PretargetingConfig.webTargeting.", +"id": "AddTargetedSitesRequest", +"properties": { +"sites": { +"description": "A list of site URLs to target in the pretargeting configuration. These values will be added to the list of targeted URLs in PretargetingConfig.webTargeting.values.", +"items": { +"type": "string" +}, +"type": "array" +}, +"targetingMode": { +"description": "Required. The targeting mode that should be applied to the list of site URLs. If there are existing targeted sites, must be equal to the existing PretargetingConfig.webTargeting.targetingMode or a 400 bad request error will be returned.", +"enum": [ +"TARGETING_MODE_UNSPECIFIED", +"INCLUSIVE", +"EXCLUSIVE" +], +"enumDescriptions": [ +"Placeholder for undefined targeting mode.", +"The inclusive list type. Inventory must match an item in this list to be targeted.", +"The exclusive list type. Inventory must not match any item in this list to be targeted." +], +"type": "string" +} +}, +"type": "object" +}, +"AdvertiserAndBrand": { +"description": "Detected advertiser and brand information.", +"id": "AdvertiserAndBrand", +"properties": { +"advertiserId": { +"description": "See https://storage.googleapis.com/adx-rtb-dictionaries/advertisers.txt for the list of possible values. Can be used to filter the response of the creatives.list method.", +"format": "int64", +"type": "string" +}, +"advertiserName": { +"description": "Advertiser name. Can be used to filter the response of the creatives.list method.", +"type": "string" +}, +"brandId": { +"description": "Detected brand ID or zero if no brand has been detected. See https://storage.googleapis.com/adx-rtb-dictionaries/brands.txt for the list of possible values. Can be used to filter the response of the creatives.list method.", +"format": "int64", +"type": "string" +}, +"brandName": { +"description": "Brand name. Can be used to filter the response of the creatives.list method.", +"type": "string" +} +}, +"type": "object" +}, +"AppTargeting": { +"description": "A subset of app inventory to target. Bid requests that match criteria in at least one of the specified dimensions will be sent.", +"id": "AppTargeting", +"properties": { +"mobileAppCategoryTargeting": { +"$ref": "NumericTargetingDimension", +"description": "Lists of included and excluded mobile app categories as defined in https://developers.google.com/adwords/api/docs/appendix/mobileappcategories.csv." +}, +"mobileAppTargeting": { +"$ref": "StringTargetingDimension", +"description": "Targeted app IDs. App IDs can refer to those found in an app store or ones that are not published in an app store. A maximum of 30,000 app IDs can be targeted." +} +}, +"type": "object" +}, +"BatchApprovePublisherConnectionsRequest": { +"description": "A request to approve a batch of publisher connections.", +"id": "BatchApprovePublisherConnectionsRequest", +"properties": { +"names": { +"description": "Required. The names of the publishers with which connections will be approved. In the pattern `bidders/{bidder}/publisherConnections/{publisher}` where `{bidder}` is the account ID of the bidder, and `{publisher}` is the ads.txt/app-ads.txt publisher ID.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"BatchApprovePublisherConnectionsResponse": { +"description": "A response for the request to approve a batch of publisher connections.", +"id": "BatchApprovePublisherConnectionsResponse", +"properties": { +"publisherConnections": { +"description": "The publisher connections that have been approved.", +"items": { +"$ref": "PublisherConnection" +}, +"type": "array" +} +}, +"type": "object" +}, +"BatchRejectPublisherConnectionsRequest": { +"description": "A request to reject a batch of publisher connections.", +"id": "BatchRejectPublisherConnectionsRequest", +"properties": { +"names": { +"description": "Required. The names of the publishers with whom connection will be rejected. In the pattern `bidders/{bidder}/publisherConnections/{publisher}` where `{bidder}` is the account ID of the bidder, and `{publisher}` is the ads.txt/app-ads.txt publisher ID.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"BatchRejectPublisherConnectionsResponse": { +"description": "A response for the request to reject a batch of publisher connections.", +"id": "BatchRejectPublisherConnectionsResponse", +"properties": { +"publisherConnections": { +"description": "The publisher connections that have been rejected.", +"items": { +"$ref": "PublisherConnection" +}, +"type": "array" +} +}, +"type": "object" +}, +"Bidder": { +"description": "Bidder settings.", +"id": "Bidder", +"properties": { +"bypassNonguaranteedDealsPretargeting": { +"description": "Output only. An option to bypass pretargeting for private auctions and preferred deals. When true, bid requests from these nonguaranteed deals will always be sent. When false, bid requests will be subject to regular pretargeting configurations. Programmatic Guaranteed deals will always be sent to the bidder, regardless of the value for this option. Auction packages are not impacted by this value and are subject to the regular pretargeting configurations.", +"readOnly": true, +"type": "boolean" +}, +"cookieMatchingNetworkId": { +"description": "Output only. The buyer's network ID used for cookie matching. This ID corresponds to the `google_nid` parameter in the URL used in cookie match requests. Refer to https://developers.google.com/authorized-buyers/rtb/cookie-guide for further information.", +"readOnly": true, +"type": "string" +}, +"cookieMatchingUrl": { +"description": "Output only. The base URL used in cookie match requests. Refer to https://developers.google.com/authorized-buyers/rtb/cookie-guide for further information.", +"readOnly": true, +"type": "string" +}, +"dealsBillingId": { +"description": "Output only. The billing ID for the deals pretargeting config. This billing ID is sent on the bid request for guaranteed and nonguaranteed deals matched in pretargeting.", +"readOnly": true, +"type": "string" +}, +"name": { +"description": "Output only. Name of the bidder resource that must follow the pattern `bidders/{bidderAccountId}`, where `{bidderAccountId}` is the account ID of the bidder whose information is to be received. One can get their account ID on the Authorized Buyers or Open Bidding UI, or by contacting their Google account manager.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"Buyer": { +"description": "RTB Buyer account information.", +"id": "Buyer", +"properties": { +"activeCreativeCount": { +"description": "Output only. The number of creatives that this buyer submitted through the API or bid with in the last 30 days. This is counted against the maximum number of active creatives.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"bidder": { +"description": "Output only. The name of the bidder resource that is responsible for receiving bidding traffic for this account. The bidder name must follow the pattern `bidders/{bidderAccountId}`, where `{bidderAccountId}` is the account ID of the bidder receiving traffic for this buyer.", +"readOnly": true, +"type": "string" +}, +"billingIds": { +"description": "Output only. A list of billing IDs associated with this account. These IDs appear on: 1. A bid request, to signal which buyers are eligible to bid on a given opportunity, and which pretargeting configurations were matched for each eligible buyer. 2. The bid response, to attribute a winning impression to a specific account for billing, reporting, policy and publisher block enforcement.", +"items": { +"type": "string" +}, +"readOnly": true, +"type": "array" +}, +"displayName": { +"description": "Output only. The diplay name associated with this buyer account, as visible to sellers.", +"readOnly": true, +"type": "string" +}, +"maximumActiveCreativeCount": { +"description": "Output only. The maximum number of active creatives that this buyer can have.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"name": { +"description": "Output only. Name of the buyer resource that must follow the pattern `buyers/{buyerAccountId}`, where `{buyerAccountId}` is the account ID of the buyer account whose information is to be received. One can get their account ID on the Authorized Buyers or Open Bidding UI, or by contacting their Google account manager.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"CloseUserListRequest": { +"description": "A request to close a specified user list.", +"id": "CloseUserListRequest", +"properties": {}, +"type": "object" +}, +"Creative": { +"description": "A creative and its classification data.", +"id": "Creative", +"properties": { +"accountId": { +"description": "Output only. ID of the buyer account that this creative is owned by. Can be used to filter the response of the creatives.list method with equality and inequality check.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"adChoicesDestinationUrl": { +"description": "The link to AdChoices destination page. This is only supported for native ads.", +"type": "string" +}, +"advertiserName": { +"description": "The name of the company being advertised in the creative. Can be used to filter the response of the creatives.list method.", +"type": "string" +}, +"agencyId": { +"description": "The agency ID for this creative.", +"format": "int64", +"type": "string" +}, +"apiUpdateTime": { +"description": "Output only. The last update timestamp of the creative through the API.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"creativeFormat": { +"description": "Output only. The format of this creative. Can be used to filter the response of the creatives.list method.", +"enum": [ +"CREATIVE_FORMAT_UNSPECIFIED", +"HTML", +"VIDEO", +"NATIVE" +], +"enumDescriptions": [ +"The format is unknown.", +"HTML creative.", +"Video creative.", +"Native creative." +], +"readOnly": true, +"type": "string" +}, +"creativeId": { +"description": "Buyer-specific creative ID that references this creative in bid responses. This field is Ignored in update operations. Can be used to filter the response of the creatives.list method. The maximum length of the creative ID is 128 bytes.", +"type": "string" +}, +"creativeServingDecision": { +"$ref": "CreativeServingDecision", +"description": "Output only. Top level status and detected attributes of a creative (for example domain, language, advertiser, product category, etc.) that affect whether (status) and where (context) a creative will be allowed to serve.", +"readOnly": true +}, +"dealIds": { +"description": "Output only. IDs of all of the deals with which this creative has been used in bidding. Can be used to filter the response of the creatives.list method.", +"items": { +"type": "string" +}, +"readOnly": true, +"type": "array" +}, +"declaredAttributes": { +"description": "All declared attributes for the ads that may be shown from this creative. Can be used to filter the response of the creatives.list method. If the `excluded_attribute` field of a [bid request](https://developers.google.com/authorized-buyers/rtb/downloads/realtime-bidding-proto\") contains one of the attributes that were declared or detected for a given creative, and a bid is submitted with that creative, the bid will be filtered before the auction.", +"items": { +"enum": [ +"ATTRIBUTE_UNSPECIFIED", +"IMAGE_RICH_MEDIA", +"ADOBE_FLASH_FLV", +"IS_TAGGED", +"IS_COOKIE_TARGETED", +"IS_USER_INTEREST_TARGETED", +"EXPANDING_DIRECTION_NONE", +"EXPANDING_DIRECTION_UP", +"EXPANDING_DIRECTION_DOWN", +"EXPANDING_DIRECTION_LEFT", +"EXPANDING_DIRECTION_RIGHT", +"EXPANDING_DIRECTION_UP_LEFT", +"EXPANDING_DIRECTION_UP_RIGHT", +"EXPANDING_DIRECTION_DOWN_LEFT", +"EXPANDING_DIRECTION_DOWN_RIGHT", +"CREATIVE_TYPE_HTML", +"CREATIVE_TYPE_VAST_VIDEO", +"EXPANDING_DIRECTION_UP_OR_DOWN", +"EXPANDING_DIRECTION_LEFT_OR_RIGHT", +"EXPANDING_DIRECTION_ANY_DIAGONAL", +"EXPANDING_ACTION_ROLLOVER_TO_EXPAND", +"INSTREAM_VAST_VIDEO_TYPE_VPAID_FLASH", +"RICH_MEDIA_CAPABILITY_TYPE_MRAID", +"RICH_MEDIA_CAPABILITY_TYPE_FLASH", +"RICH_MEDIA_CAPABILITY_TYPE_HTML5", +"SKIPPABLE_INSTREAM_VIDEO", +"RICH_MEDIA_CAPABILITY_TYPE_SSL", +"RICH_MEDIA_CAPABILITY_TYPE_NON_SSL", +"RICH_MEDIA_CAPABILITY_TYPE_INTERSTITIAL", +"NON_SKIPPABLE_INSTREAM_VIDEO", +"NATIVE_ELIGIBILITY_ELIGIBLE", +"NON_VPAID", +"NATIVE_ELIGIBILITY_NOT_ELIGIBLE", +"ANY_INTERSTITIAL", +"NON_INTERSTITIAL", +"IN_BANNER_VIDEO", +"RENDERING_SIZELESS_ADX", +"OMSDK_1_0", +"RENDERING_PLAYABLE" +], +"enumDescriptions": [ +"Do not use. This is a placeholder value only.", +"The creative is of type image/rich media. For pretargeting.", +"The creative is of video type Adobe Flash FLV. For pretargeting.", +"The creative is tagged.", +"The creative is cookie targeted.", +"The creative is user interest targeted.", +"The creative does not expand.", +"The creative expands up.", +"The creative expands down.", +"The creative expands left.", +"The creative expands right.", +"The creative expands up and left.", +"The creative expands up and right.", +"The creative expands down and left.", +"The creative expands down and right.", +"The creative type is HTML.", +"The creative type is VAST video.", +"The creative expands up or down.", +"The creative expands left or right.", +"The creative expands on any diagonal.", +"The creative expands when rolled over.", +"The instream vast video type is vpaid flash.", +"The creative is MRAID.", +"The creative is Flash.", +"The creative is HTML5.", +"The creative has an instream VAST video type of skippable instream video. For pretargeting.", +"The creative is SSL.", +"The creative is non-SSL.", +"The creative is an interstitial.", +"The creative has an instream VAST video type of non-skippable instream video. For pretargeting.", +"The creative is eligible for native.", +"The creative has an instream VAST video type of non-VPAID. For pretargeting.", +"The creative is not eligible for native.", +"The creative has an interstitial size of any interstitial. For pretargeting.", +"The creative has an interstitial size of non interstitial. For pretargeting.", +"The video type is in-banner video.", +"The creative can dynamically resize to fill a variety of slot sizes.", +"The open measurement SDK is supported.", +"The creative is considered a playable display creative." +], +"type": "string" +}, +"type": "array" +}, +"declaredClickThroughUrls": { +"description": "The set of declared destination URLs for the creative. Can be used to filter the response of the creatives.list method.", +"items": { +"type": "string" +}, +"type": "array" +}, +"declaredRestrictedCategories": { +"deprecated": true, +"description": "All declared restricted categories for the ads that may be shown from this creative. Can be used to filter the response of the creatives.list method.", +"items": { +"enum": [ +"RESTRICTED_CATEGORY_UNSPECIFIED", +"ALCOHOL" +], +"enumDescriptions": [ +"Default value that should never be used.", +"The alcohol restricted category." +], +"type": "string" +}, +"type": "array" +}, +"declaredVendorIds": { +"description": "IDs for the declared ad technology vendors that may be used by this creative. See https://storage.googleapis.com/adx-rtb-dictionaries/vendors.txt for possible values. Can be used to filter the response of the creatives.list method.", +"items": { +"format": "int32", +"type": "integer" +}, +"type": "array" +}, +"html": { +"$ref": "HtmlContent", +"description": "An HTML creative." +}, +"impressionTrackingUrls": { +"description": "The set of URLs to be called to record an impression.", +"items": { +"type": "string" +}, +"type": "array" +}, +"name": { +"description": "Output only. Name of the creative. Follows the pattern `buyers/{buyer}/creatives/{creative}`, where `{buyer}` represents the account ID of the buyer who owns the creative, and `{creative}` is the buyer-specific creative ID that references this creative in the bid response.", +"readOnly": true, +"type": "string" +}, +"native": { +"$ref": "NativeContent", +"description": "A native creative." +}, +"renderUrl": { +"description": "Experimental field that can be used during the [FLEDGE Origin Trial](/authorized-buyers/rtb/fledge-origin-trial). The URL to fetch an interest group ad used in [TURTLEDOVE on-device auction](https://github.com/WICG/turtledove/blob/main/FLEDGE.md#1-browsers-record-interest-groups\"). This should be unique among all creatives for a given `accountId`. This URL should be the same as the URL returned by [generateBid()](https://github.com/WICG/turtledove/blob/main/FLEDGE.md#32-on-device-bidding).", +"type": "string" +}, +"restrictedCategories": { +"deprecated": true, +"description": "All restricted categories for the ads that may be shown from this creative.", +"items": { +"enum": [ +"RESTRICTED_CATEGORY_UNSPECIFIED", +"ALCOHOL" +], +"enumDescriptions": [ +"Default value that should never be used.", +"The alcohol restricted category." +], +"type": "string" +}, +"type": "array" +}, +"version": { +"deprecated": true, +"description": "Output only. The version of the creative. Version for a new creative is 1 and it increments during subsequent creative updates.", +"format": "int32", +"readOnly": true, +"type": "integer" +}, +"video": { +"$ref": "VideoContent", +"description": "A video creative." +} +}, +"type": "object" +}, +"CreativeDimensions": { +"description": "The dimensions of a creative. This applies to only HTML and Native creatives.", +"id": "CreativeDimensions", +"properties": { +"height": { +"description": "The height of the creative in pixels.", +"format": "int64", +"type": "string" +}, +"width": { +"description": "The width of the creative in pixels.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"CreativeServingDecision": { +"description": "Top level status and detected attributes of a creative.", +"id": "CreativeServingDecision", +"properties": { +"adTechnologyProviders": { +"$ref": "AdTechnologyProviders", +"description": "The detected ad technology providers." +}, +"chinaPolicyCompliance": { +"$ref": "PolicyCompliance", +"description": "The policy compliance of this creative in China. When approved or disapproved, this applies to both deals and open auction in China. When pending review, this creative is allowed to serve for deals but not for open auction." +}, +"dealsPolicyCompliance": { +"$ref": "PolicyCompliance", +"description": "Policy compliance of this creative when bidding on Programmatic Guaranteed and Preferred Deals (outside of Russia and China)." +}, +"detectedAdvertisers": { +"description": "Detected advertisers and brands.", +"items": { +"$ref": "AdvertiserAndBrand" +}, +"type": "array" +}, +"detectedAttributes": { +"description": "Publisher-excludable attributes that were detected for this creative. Can be used to filter the response of the creatives.list method. If the `excluded_attribute` field of a [bid request](https://developers.google.com/authorized-buyers/rtb/downloads/realtime-bidding-proto) contains one of the attributes that were declared or detected for a given creative, and a bid is submitted with that creative, the bid will be filtered before the auction.", +"items": { +"enum": [ +"ATTRIBUTE_UNSPECIFIED", +"IMAGE_RICH_MEDIA", +"ADOBE_FLASH_FLV", +"IS_TAGGED", +"IS_COOKIE_TARGETED", +"IS_USER_INTEREST_TARGETED", +"EXPANDING_DIRECTION_NONE", +"EXPANDING_DIRECTION_UP", +"EXPANDING_DIRECTION_DOWN", +"EXPANDING_DIRECTION_LEFT", +"EXPANDING_DIRECTION_RIGHT", +"EXPANDING_DIRECTION_UP_LEFT", +"EXPANDING_DIRECTION_UP_RIGHT", +"EXPANDING_DIRECTION_DOWN_LEFT", +"EXPANDING_DIRECTION_DOWN_RIGHT", +"CREATIVE_TYPE_HTML", +"CREATIVE_TYPE_VAST_VIDEO", +"EXPANDING_DIRECTION_UP_OR_DOWN", +"EXPANDING_DIRECTION_LEFT_OR_RIGHT", +"EXPANDING_DIRECTION_ANY_DIAGONAL", +"EXPANDING_ACTION_ROLLOVER_TO_EXPAND", +"INSTREAM_VAST_VIDEO_TYPE_VPAID_FLASH", +"RICH_MEDIA_CAPABILITY_TYPE_MRAID", +"RICH_MEDIA_CAPABILITY_TYPE_FLASH", +"RICH_MEDIA_CAPABILITY_TYPE_HTML5", +"SKIPPABLE_INSTREAM_VIDEO", +"RICH_MEDIA_CAPABILITY_TYPE_SSL", +"RICH_MEDIA_CAPABILITY_TYPE_NON_SSL", +"RICH_MEDIA_CAPABILITY_TYPE_INTERSTITIAL", +"NON_SKIPPABLE_INSTREAM_VIDEO", +"NATIVE_ELIGIBILITY_ELIGIBLE", +"NON_VPAID", +"NATIVE_ELIGIBILITY_NOT_ELIGIBLE", +"ANY_INTERSTITIAL", +"NON_INTERSTITIAL", +"IN_BANNER_VIDEO", +"RENDERING_SIZELESS_ADX", +"OMSDK_1_0", +"RENDERING_PLAYABLE" +], +"enumDescriptions": [ +"Do not use. This is a placeholder value only.", +"The creative is of type image/rich media. For pretargeting.", +"The creative is of video type Adobe Flash FLV. For pretargeting.", +"The creative is tagged.", +"The creative is cookie targeted.", +"The creative is user interest targeted.", +"The creative does not expand.", +"The creative expands up.", +"The creative expands down.", +"The creative expands left.", +"The creative expands right.", +"The creative expands up and left.", +"The creative expands up and right.", +"The creative expands down and left.", +"The creative expands down and right.", +"The creative type is HTML.", +"The creative type is VAST video.", +"The creative expands up or down.", +"The creative expands left or right.", +"The creative expands on any diagonal.", +"The creative expands when rolled over.", +"The instream vast video type is vpaid flash.", +"The creative is MRAID.", +"The creative is Flash.", +"The creative is HTML5.", +"The creative has an instream VAST video type of skippable instream video. For pretargeting.", +"The creative is SSL.", +"The creative is non-SSL.", +"The creative is an interstitial.", +"The creative has an instream VAST video type of non-skippable instream video. For pretargeting.", +"The creative is eligible for native.", +"The creative has an instream VAST video type of non-VPAID. For pretargeting.", +"The creative is not eligible for native.", +"The creative has an interstitial size of any interstitial. For pretargeting.", +"The creative has an interstitial size of non interstitial. For pretargeting.", +"The video type is in-banner video.", +"The creative can dynamically resize to fill a variety of slot sizes.", +"The open measurement SDK is supported.", +"The creative is considered a playable display creative." +], +"type": "string" +}, +"type": "array" +}, +"detectedCategories": { +"description": "Output only. IDs of the detected categories. The taxonomy in which the categories are expressed is specified by the detected_categories_taxonomy field. Use this in conjunction with BidRequest.bcat to avoid bidding on impressions where a given ad category is blocked, or to troubleshoot filtered bids. Can be used to filter the response of the creatives.list method.", +"items": { +"type": "string" +}, +"readOnly": true, +"type": "array" +}, +"detectedCategoriesTaxonomy": { +"description": "Output only. The taxonomy in which the detected_categories field is expressed.", +"enum": [ +"AD_CATEGORY_TAXONOMY_UNSPECIFIED", +"GOOGLE_AD_CATEGORY_TAXONOMY", +"IAB_CONTENT_1_0" +], +"enumDescriptions": [ +"Default value that should never be used.", +"Google ad categories taxonomy, including product categories and sensitive categories. Find the category lists at https://developers.google.com/authorized-buyers/rtb/data#reference-data", +"IAB Content Taxonomy 1.0. See https://github.com/InteractiveAdvertisingBureau/Taxonomies/blob/main/Content%20Taxonomies/Content%20Taxonomy%201.0.tsv for more details." +], +"readOnly": true, +"type": "string" +}, +"detectedClickThroughUrls": { +"description": "The set of detected destination URLs for the creative. Can be used to filter the response of the creatives.list method.", +"items": { +"type": "string" +}, +"type": "array" +}, +"detectedDomains": { +"description": "The detected domains for this creative.", +"items": { +"type": "string" +}, +"type": "array" +}, +"detectedLanguages": { +"description": "The detected languages for this creative. The order is arbitrary. The codes are 2 or 5 characters and are documented at https://developers.google.com/adwords/api/docs/appendix/languagecodes. Can be used to filter the response of the creatives.list method.", +"items": { +"type": "string" +}, +"type": "array" +}, +"detectedProductCategories": { +"description": "Detected product categories, if any. See the ad-product-categories.txt file in the technical documentation for a list of IDs. Can be used to filter the response of the creatives.list method.", +"items": { +"format": "int32", +"type": "integer" +}, +"type": "array" +}, +"detectedSensitiveCategories": { +"description": "Detected sensitive categories, if any. Can be used to filter the response of the creatives.list method. See the ad-sensitive-categories.txt file in the technical documentation for a list of IDs. You should use these IDs along with the excluded-sensitive-category field in the bid request to filter your bids.", +"items": { +"format": "int32", +"type": "integer" +}, +"type": "array" +}, +"detectedVendorIds": { +"description": "IDs of the ad technology vendors that were detected to be used by this creative. See https://storage.googleapis.com/adx-rtb-dictionaries/vendors.txt for possible values. Can be used to filter the response of the creatives.list method. If the `allowed_vendor_type` field of a [bid request](https://developers.google.com/authorized-buyers/rtb/downloads/realtime-bidding-proto) does not contain one of the vendor type IDs that were declared or detected for a given creative, and a bid is submitted with that creative, the bid will be filtered before the auction.", +"items": { +"format": "int32", +"type": "integer" +}, +"type": "array" +}, +"lastStatusUpdate": { +"description": "The last time the creative status was updated. Can be used to filter the response of the creatives.list method.", +"format": "google-datetime", +"type": "string" +}, +"networkPolicyCompliance": { +"$ref": "PolicyCompliance", +"description": "Policy compliance of this creative when bidding in open auction, private auction, or auction packages (outside of Russia and China)." +}, +"platformPolicyCompliance": { +"$ref": "PolicyCompliance", +"description": "Policy compliance of this creative when bidding in Open Bidding (outside of Russia and China). For the list of platform policies, see: https://support.google.com/platformspolicy/answer/3013851." +}, +"russiaPolicyCompliance": { +"$ref": "PolicyCompliance", +"description": "The policy compliance of this creative in Russia. When approved or disapproved, this applies to both deals and open auction in Russia. When pending review, this creative is allowed to serve for deals but not for open auction." +} +}, +"type": "object" +}, +"Date": { +"description": "Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following: * A full date, with non-zero year, month, and day values. * A month and day, with a zero year (for example, an anniversary). * A year on its own, with a zero month and a zero day. * A year and month, with a zero day (for example, a credit card expiration date). Related types: * google.type.TimeOfDay * google.type.DateTime * google.protobuf.Timestamp", +"id": "Date", +"properties": { +"day": { +"description": "Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn't significant.", +"format": "int32", +"type": "integer" +}, +"month": { +"description": "Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.", +"format": "int32", +"type": "integer" +}, +"year": { +"description": "Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"DestinationNotCrawlableEvidence": { +"description": "Evidence that the creative's destination URL was not crawlable by Google.", +"id": "DestinationNotCrawlableEvidence", +"properties": { +"crawlTime": { +"description": "Approximate time of the crawl.", +"format": "google-datetime", +"type": "string" +}, +"crawledUrl": { +"description": "Destination URL that was attempted to be crawled.", +"type": "string" +}, +"reason": { +"description": "Reason of destination not crawlable.", +"enum": [ +"REASON_UNSPECIFIED", +"UNREACHABLE_ROBOTS", +"TIMEOUT_ROBOTS", +"ROBOTED_DENIED", +"UNKNOWN" +], +"enumDescriptions": [ +"Default value that should never be used.", +"Site's robots exclusion file (for example, robots.txt) was unreachable.", +"Timed out reading site's robots exclusion file (for example, robots.txt).", +"Crawler was disallowed by the site's robots exclusion file (for example, robots.txt).", +"Unknown reason." +], +"type": "string" +} +}, +"type": "object" +}, +"DestinationNotWorkingEvidence": { +"description": "Evidence of the creative's destination URL not functioning properly or having been incorrectly set up.", +"id": "DestinationNotWorkingEvidence", +"properties": { +"dnsError": { +"description": "DNS lookup errors.", +"enum": [ +"DNS_ERROR_UNSPECIFIED", +"ERROR_DNS", +"GOOGLE_CRAWLER_DNS_ISSUE" +], +"enumDescriptions": [ +"Default value that should never be used.", +"DNS name was not found.", +"An internal issue occurred when Google's crawler tried to resolve the DNS entry. This is a Google-internal issue and may not be the result of an issue with the landing page." +], +"type": "string" +}, +"expandedUrl": { +"description": "The full non-working URL.", +"type": "string" +}, +"httpError": { +"description": "HTTP error code (for example, 404 or 5xx)", +"format": "int32", +"type": "integer" +}, +"invalidPage": { +"description": "Page was crawled successfully, but was detected as either a page with no content or an error page.", +"enum": [ +"INVALID_PAGE_UNSPECIFIED", +"EMPTY_OR_ERROR_PAGE" +], +"enumDescriptions": [ +"Default value that should never be used.", +"Page was empty or had an error." +], +"type": "string" +}, +"lastCheckTime": { +"description": "Approximate time when the ad destination was last checked.", +"format": "google-datetime", +"type": "string" +}, +"platform": { +"description": "Platform of the non-working URL.", +"enum": [ +"PLATFORM_UNSPECIFIED", +"PERSONAL_COMPUTER", +"ANDROID", +"IOS" +], +"enumDescriptions": [ +"Default value that should never be used.", +"The personal computer platform.", +"The Android platform.", +"The iOS platform." +], +"type": "string" +}, +"redirectionError": { +"description": "HTTP redirect chain error.", +"enum": [ +"REDIRECTION_ERROR_UNSPECIFIED", +"TOO_MANY_REDIRECTS", +"INVALID_REDIRECT", +"EMPTY_REDIRECT", +"REDIRECT_ERROR_UNKNOWN" +], +"enumDescriptions": [ +"Default value that should never be used.", +"Too many redirect hops.", +"Got a redirect but it was invalid.", +"Got a redirect but it was empty.", +"Unknown redirect error." +], +"type": "string" +}, +"urlRejected": { +"description": "Rejected because of malformed URLs or invalid requests.", +"enum": [ +"URL_REJECTED_UNSPECIFIED", +"BAD_REQUEST", +"MALFORMED_URL", +"URL_REJECTED_UNKNOWN" +], +"enumDescriptions": [ +"Default value that should never be used.", +"URL rejected because of a malformed request.", +"URL rejected because of a malformed URL.", +"URL rejected because of unknown reason." +], +"type": "string" +} +}, +"type": "object" +}, +"DestinationUrlEvidence": { +"description": "The full landing page URL of the destination.", +"id": "DestinationUrlEvidence", +"properties": { +"destinationUrl": { +"description": "The full landing page URL of the destination.", +"type": "string" +} +}, +"type": "object" +}, +"DomainCallEvidence": { +"description": "Number of HTTP calls made by a creative, broken down by domain.", +"id": "DomainCallEvidence", +"properties": { +"topHttpCallDomains": { +"description": "Breakdown of the most frequent domains called through HTTP by the creative.", +"items": { +"$ref": "DomainCalls" +}, +"type": "array" +}, +"totalHttpCallCount": { +"description": "The total number of HTTP calls made by the creative, including but not limited to the number of calls in the top_http_call_domains.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"DomainCalls": { +"description": "The number of HTTP calls made to the given domain.", +"id": "DomainCalls", +"properties": { +"domain": { +"description": "The domain name.", +"type": "string" +}, +"httpCallCount": { +"description": "Number of HTTP calls made to the domain.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"DownloadSizeEvidence": { +"description": "Total download size and URL-level download size breakdown for resources in a creative.", +"id": "DownloadSizeEvidence", +"properties": { +"topUrlDownloadSizeBreakdowns": { +"description": "Download size broken down by URLs with the top download size.", +"items": { +"$ref": "UrlDownloadSize" +}, +"type": "array" +}, +"totalDownloadSizeKb": { +"description": "Total download size (in kilobytes) for all the resources in the creative.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"Empty": { +"description": "A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }", +"id": "Empty", +"properties": {}, +"type": "object" +}, +"Endpoint": { +"description": "Bidder endpoint that receives bid requests.", +"id": "Endpoint", +"properties": { +"bidProtocol": { +"description": "The protocol that the bidder endpoint is using.", +"enum": [ +"BID_PROTOCOL_UNSPECIFIED", +"GOOGLE_RTB", +"OPENRTB_JSON", +"OPENRTB_PROTOBUF" +], +"enumDeprecated": [ +false, +true, +false, +false +], +"enumDescriptions": [ +"Placeholder for undefined bid protocol. This value should not be used.", +"Google RTB protocol / Protobuf encoding.", +"OpenRTB / JSON encoding (unversioned/latest).", +"OpenRTB / Protobuf encoding (unversioned/latest)." +], +"type": "string" +}, +"maximumQps": { +"description": "The maximum number of queries per second allowed to be sent to this server.", +"format": "int64", +"type": "string" +}, +"name": { +"description": "Output only. Name of the endpoint resource that must follow the pattern `bidders/{bidderAccountId}/endpoints/{endpointId}`, where {bidderAccountId} is the account ID of the bidder who operates this endpoint, and {endpointId} is a unique ID assigned by the server.", +"readOnly": true, +"type": "string" +}, +"tradingLocation": { +"description": "The trading location that bid requests should be sent from. See https://developers.google.com/authorized-buyers/rtb/peer-guide#trading-locations for further information.", +"enum": [ +"TRADING_LOCATION_UNSPECIFIED", +"US_WEST", +"US_EAST", +"EUROPE", +"ASIA" +], +"enumDescriptions": [ +"A placeholder for an undefined trading region. This value should not be used.", +"The Western US trading location.", +"The Eastern US trading location.", +"The European trading location.", +"The Asia trading location." +], +"type": "string" +}, +"url": { +"description": "Output only. The URL that bid requests should be sent to.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GetRemarketingTagResponse": { +"description": "This has been sunset as of October 2023, and will return an error response if called. For more information, see the release notes: https://developers.google.com/authorized-buyers/apis/relnotes#real-time-bidding-api Response for a request to get remarketing tag.", +"id": "GetRemarketingTagResponse", +"properties": { +"snippet": { +"description": "An HTML tag that can be placed on the advertiser's page to add users to a user list. For more information and code samples on using snippets on your website, refer to [Tag your site for remarketing](https://support.google.com/google-ads/answer/2476688).", +"type": "string" +} +}, +"type": "object" +}, +"HtmlContent": { +"description": "HTML content for a creative.", +"id": "HtmlContent", +"properties": { +"height": { +"description": "The height of the HTML snippet in pixels. Can be used to filter the response of the creatives.list method.", +"format": "int32", +"type": "integer" +}, +"snippet": { +"description": "The HTML snippet that displays the ad when inserted in the web page.", +"type": "string" +}, +"width": { +"description": "The width of the HTML snippet in pixels. Can be used to filter the response of the creatives.list method.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"HttpCallEvidence": { +"description": "HTTP calls made by a creative that resulted in policy violations.", +"id": "HttpCallEvidence", +"properties": { +"urls": { +"description": "URLs of HTTP calls made by the creative.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"HttpCookieEvidence": { +"description": "Evidence for HTTP cookie-related policy violations.", +"id": "HttpCookieEvidence", +"properties": { +"cookieNames": { +"description": "Names of cookies that violate Google policies. For TOO_MANY_COOKIES policy, this will be the cookie names of top domains with the largest number of cookies. For other policies, this will be all the cookie names that violate the policy.", +"items": { +"type": "string" +}, +"type": "array" +}, +"maxCookieCount": { +"description": "The largest number of cookies set by a creative. If this field is set, cookie_names above will be set to the cookie names of top domains with the largest number of cookies. This field will only be set for TOO_MANY_COOKIES policy.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"Image": { +"description": "An image resource. You may provide a larger image than was requested, so long as the aspect ratio is preserved.", +"id": "Image", +"properties": { +"height": { +"description": "Image height in pixels.", +"format": "int32", +"type": "integer" +}, +"url": { +"description": "The URL of the image.", +"type": "string" +}, +"width": { +"description": "Image width in pixels.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"ListBiddersResponse": { +"description": "A response containing bidders.", +"id": "ListBiddersResponse", +"properties": { +"bidders": { +"description": "List of bidders.", +"items": { +"$ref": "Bidder" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A token which can be passed to a subsequent call to the `ListBidders` method to retrieve the next page of results in ListBiddersRequest.pageToken.", +"type": "string" +} +}, +"type": "object" +}, +"ListBuyersResponse": { +"description": "A response containing buyer account information.", +"id": "ListBuyersResponse", +"properties": { +"buyers": { +"description": "List of buyers.", +"items": { +"$ref": "Buyer" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A token which can be passed to a subsequent call to the `ListBuyers` method to retrieve the next page of results in ListBuyersRequest.pageToken.", +"type": "string" +} +}, +"type": "object" +}, +"ListCreativesResponse": { +"description": "A response for listing creatives.", +"id": "ListCreativesResponse", +"properties": { +"creatives": { +"description": "The list of creatives.", +"items": { +"$ref": "Creative" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A token to retrieve the next page of results. Pass this value in the ListCreativesRequest.pageToken field in the subsequent call to the `ListCreatives` method to retrieve the next page of results.", +"type": "string" +} +}, +"type": "object" +}, +"ListEndpointsResponse": { +"description": "A response containing bidder endpoints.", +"id": "ListEndpointsResponse", +"properties": { +"endpoints": { +"description": "List of bidder endpoints.", +"items": { +"$ref": "Endpoint" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A token which can be passed to a subsequent call to the `ListEndpoints` method to retrieve the next page of results in ListEndpointsRequest.pageToken.", +"type": "string" +} +}, +"type": "object" +}, +"ListPretargetingConfigsResponse": { +"description": "A response containing pretargeting configurations.", +"id": "ListPretargetingConfigsResponse", +"properties": { +"nextPageToken": { +"description": "A token which can be passed to a subsequent call to the `ListPretargetingConfigs` method to retrieve the next page of results in ListPretargetingConfigsRequest.pageToken.", +"type": "string" +}, +"pretargetingConfigs": { +"description": "List of pretargeting configurations.", +"items": { +"$ref": "PretargetingConfig" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListPublisherConnectionsResponse": { +"description": "A response to a request for listing publisher connections.", +"id": "ListPublisherConnectionsResponse", +"properties": { +"nextPageToken": { +"description": "A token to retrieve the next page of results. Pass this value in the ListPublisherConnectionsRequest.pageToken field in the subsequent call to the `ListPublisherConnections` method to retrieve the next page of results.", +"type": "string" +}, +"publisherConnections": { +"description": "The list of publisher connections.", +"items": { +"$ref": "PublisherConnection" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListUserListsResponse": { +"description": "The list user list response.", +"id": "ListUserListsResponse", +"properties": { +"nextPageToken": { +"description": "The continuation page token to send back to the server in a subsequent request. Due to a currently known issue, it is recommended that the caller keep invoking the list method until the time a next page token is not returned, even if the result set is empty.", +"type": "string" +}, +"userLists": { +"description": "List of user lists from the search.", +"items": { +"$ref": "UserList" +}, +"type": "array" +} +}, +"type": "object" +}, +"MediaFile": { +"description": "Information about each media file in the VAST.", +"id": "MediaFile", +"properties": { +"bitrate": { +"description": "Bitrate of the video file, in Kbps. Can be used to filter the response of the creatives.list method.", +"format": "int64", +"type": "string" +}, +"mimeType": { +"description": "The MIME type of this media file. Can be used to filter the response of the creatives.list method.", +"enum": [ +"VIDEO_MIME_TYPE_UNSPECIFIED", +"MIME_VIDEO_XFLV", +"MIME_VIDEO_WEBM", +"MIME_VIDEO_MP4", +"MIME_VIDEO_OGG", +"MIME_VIDEO_YT_HOSTED", +"MIME_VIDEO_X_MS_WMV", +"MIME_VIDEO_3GPP", +"MIME_VIDEO_MOV", +"MIME_APPLICATION_SWF", +"MIME_APPLICATION_SURVEY", +"MIME_APPLICATION_JAVASCRIPT", +"MIME_APPLICATION_SILVERLIGHT", +"MIME_APPLICATION_MPEGURL", +"MIME_APPLICATION_MPEGDASH", +"MIME_AUDIO_MP4A", +"MIME_AUDIO_MP3", +"MIME_AUDIO_OGG" +], +"enumDescriptions": [ +"Default value that should never be used.", +"Flash container.", +"WebM container assuming VP9 codec.", +"MPEG-4 container typically with H.264 codec.", +"Ogg container assuming Theora codec.", +"Video files hosted on YouTube.", +"Windows Media Video Codec.", +"3GPP container format used on 3G phones.", +"Quicktime container format.", +"Shockwave Flash (used for VPAID ads).", +"Properties of VAST served by consumer survey.", +"JavaScript (used for VPAID ads).", +"Silverlight (used for VPAID ads).", +"HLS/M3U8.", +"DASH.", +"MPEG-4 audio format.", +"MPEG-3 audio format.", +"Ogg audio format" +], +"type": "string" +} +}, +"type": "object" +}, +"NativeContent": { +"description": "Native content for a creative.", +"id": "NativeContent", +"properties": { +"advertiserName": { +"description": "The name of the advertiser or sponsor, to be displayed in the ad creative.", +"type": "string" +}, +"appIcon": { +"$ref": "Image", +"description": "The app icon, for app download ads." +}, +"body": { +"description": "A long description of the ad.", +"type": "string" +}, +"callToAction": { +"description": "A label for the button that the user is supposed to click.", +"type": "string" +}, +"clickLinkUrl": { +"description": "The URL that the browser/SDK will load when the user clicks the ad.", +"type": "string" +}, +"clickTrackingUrl": { +"description": "The URL to use for click tracking.", +"type": "string" +}, +"headline": { +"description": "A short title for the ad.", +"type": "string" +}, +"image": { +"$ref": "Image", +"description": "A large image." +}, +"logo": { +"$ref": "Image", +"description": "A smaller image, for the advertiser's logo." +}, +"priceDisplayText": { +"description": "The price of the promoted app including currency info.", +"type": "string" +}, +"starRating": { +"description": "The app rating in the app store. Must be in the range [0-5].", +"format": "double", +"type": "number" +}, +"videoUrl": { +"description": "The URL to fetch a native video ad.", +"type": "string" +}, +"videoVastXml": { +"description": "The contents of a VAST document for a native video ad.", +"type": "string" +} +}, +"type": "object" +}, +"NumericTargetingDimension": { +"description": "Generic targeting used for targeting dimensions that contain a list of included and excluded numeric IDs used in app, user list, geo, and vertical id targeting.", +"id": "NumericTargetingDimension", +"properties": { +"excludedIds": { +"description": "The IDs excluded in a configuration.", +"items": { +"format": "int64", +"type": "string" +}, +"type": "array" +}, +"includedIds": { +"description": "The IDs included in a configuration.", +"items": { +"format": "int64", +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"OpenUserListRequest": { +"description": "A request to open a specified user list.", +"id": "OpenUserListRequest", +"properties": {}, +"type": "object" +}, +"PolicyCompliance": { +"description": "Policy compliance of the creative for a transaction type or a region.", +"id": "PolicyCompliance", +"properties": { +"status": { +"description": "Serving status for the given transaction type (for example, open auction, deals) or region (for example, China, Russia). Can be used to filter the response of the creatives.list method.", +"enum": [ +"STATUS_UNSPECIFIED", +"PENDING_REVIEW", +"DISAPPROVED", +"APPROVED", +"CERTIFICATE_REQUIRED" +], +"enumDescriptions": [ +"Default value that should never be used.", +"Creative is pending review.", +"Creative cannot serve.", +"Creative is approved.", +"Certificates are required for the creative to be served in some regions. For more information about creative certification, refer to: https://support.google.com/authorizedbuyers/answer/7450776" +], +"type": "string" +}, +"topics": { +"description": "Topics related to the policy compliance for this transaction type (for example, open auction, deals) or region (for example, China, Russia). Topics may be present only if status is DISAPPROVED.", +"items": { +"$ref": "PolicyTopicEntry" +}, +"type": "array" +} +}, +"type": "object" +}, +"PolicyTopicEntry": { +"description": "Each policy topic entry will represent a violation of a policy topic for a creative, with the policy topic information and optional evidence for the policy violation.", +"id": "PolicyTopicEntry", +"properties": { +"evidences": { +"description": "Pieces of evidence associated with this policy topic entry.", +"items": { +"$ref": "PolicyTopicEvidence" +}, +"type": "array" +}, +"helpCenterUrl": { +"description": "URL of the help center article describing this policy topic.", +"type": "string" +}, +"missingCertificate": { +"description": "Whether or not the policy topic is missing a certificate. Some policy topics require a certificate to unblock serving in some regions. For more information about creative certification, refer to: https://support.google.com/authorizedbuyers/answer/7450776", +"type": "boolean" +}, +"policyTopic": { +"description": "Policy topic this entry 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. Can be used to filter the response of the creatives.list method", +"type": "string" +} +}, +"type": "object" +}, +"PolicyTopicEvidence": { +"description": "Evidence associated with a policy topic entry.", +"id": "PolicyTopicEvidence", +"properties": { +"destinationNotCrawlable": { +"$ref": "DestinationNotCrawlableEvidence", +"description": "The creative's destination URL was not crawlable by Google." +}, +"destinationNotWorking": { +"$ref": "DestinationNotWorkingEvidence", +"description": "The creative's destination URL did not function properly or was incorrectly set up." +}, +"destinationUrl": { +"$ref": "DestinationUrlEvidence", +"description": "URL of the actual landing page." +}, +"domainCall": { +"$ref": "DomainCallEvidence", +"description": "Number of HTTP calls made by the creative, broken down by domain." +}, +"downloadSize": { +"$ref": "DownloadSizeEvidence", +"description": "Total download size and URL-level download size breakdown for resources in a creative." +}, +"httpCall": { +"$ref": "HttpCallEvidence", +"description": "HTTP calls made by the creative that resulted in policy violations." +}, +"httpCookie": { +"$ref": "HttpCookieEvidence", +"description": "Evidence for HTTP cookie-related policy violations." +} +}, +"type": "object" +}, +"PretargetingConfig": { +"description": "Pretargeting configuration: a set of targeting dimensions applied at the pretargeting stage of the RTB funnel. These control which inventory a bidder will receive bid requests for.", +"id": "PretargetingConfig", +"properties": { +"allowedUserTargetingModes": { +"description": "Targeting modes included by this configuration. A bid request must allow all the specified targeting modes. An unset value allows all bid requests to be sent, regardless of which targeting modes they allow.", +"items": { +"enum": [ +"USER_TARGETING_MODE_UNSPECIFIED", +"REMARKETING_ADS", +"INTEREST_BASED_TARGETING" +], +"enumDescriptions": [ +"Placeholder for undefined user targeting mode.", +"Remarketing ads are allowed to serve.", +"Ads based on user interest category targeting are allowed to serve." +], +"type": "string" +}, +"type": "array" +}, +"appTargeting": { +"$ref": "AppTargeting", +"description": "Targeting on a subset of app inventory. If APP is listed in targeted_environments, the specified targeting is applied. A maximum of 30,000 app IDs can be targeted. An unset value for targeting allows all app-based bid requests to be sent. Apps can either be targeting positively (bid requests will be sent only if the destination app is listed in the targeting dimension) or negatively (bid requests will be sent only if the destination app is not listed in the targeting dimension)." +}, +"billingId": { +"description": "Output only. The identifier that corresponds to this pretargeting configuration that helps buyers track and attribute their spend across their own arbitrary divisions. If a bid request matches more than one configuration, the buyer chooses which billing_id to attribute each of their bids.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"displayName": { +"description": "The diplay name associated with this configuration. This name must be unique among all the pretargeting configurations a bidder has.", +"type": "string" +}, +"excludedContentLabelIds": { +"description": "The sensitive content category label IDs excluded in this configuration. Bid requests for inventory with any of the specified content label IDs will not be sent. Refer to this file https://storage.googleapis.com/adx-rtb-dictionaries/content-labels.txt for category IDs.", +"items": { +"format": "int64", +"type": "string" +}, +"type": "array" +}, +"geoTargeting": { +"$ref": "NumericTargetingDimension", +"description": "The geos included or excluded in this configuration defined in https://storage.googleapis.com/adx-rtb-dictionaries/geo-table.csv" +}, +"includedCreativeDimensions": { +"description": "Creative dimensions included by this configuration. Only bid requests eligible for at least one of the specified creative dimensions will be sent. An unset value allows all bid requests to be sent, regardless of creative dimension.", +"items": { +"$ref": "CreativeDimensions" +}, +"type": "array" +}, +"includedEnvironments": { +"description": "Environments that are being included. Bid requests will not be sent for a given environment if it is not included. Further restrictions can be applied to included environments to target only a subset of its inventory. An unset value includes all environments.", +"items": { +"enum": [ +"ENVIRONMENT_UNSPECIFIED", +"APP", +"WEB" +], +"enumDescriptions": [ +"Placeholder for unspecified environment. This value should not be used.", +"App environment.", +"Web environment." +], +"type": "string" +}, +"type": "array" +}, +"includedFormats": { +"description": "Creative formats included by this configuration. Only bid requests eligible for at least one of the specified creative formats will be sent. An unset value will allow all bid requests to be sent, regardless of format.", +"items": { +"enum": [ +"CREATIVE_FORMAT_UNSPECIFIED", +"HTML", +"VAST", +"NATIVE" +], +"enumDescriptions": [ +"Placeholder for undefined creative format. This value should not be used.", +"HTML and AMPHTML creatives.", +"VAST video or audio creative.", +"Native creative, including standard and video native ads." +], +"type": "string" +}, +"type": "array" +}, +"includedLanguages": { +"description": "The languages included in this configuration, represented by their language code. See https://developers.google.com/adwords/api/docs/appendix/languagecodes.", +"items": { +"type": "string" +}, +"type": "array" +}, +"includedMobileOperatingSystemIds": { +"description": "The mobile operating systems included in this configuration as defined in https://storage.googleapis.com/adx-rtb-dictionaries/mobile-os.csv", +"items": { +"format": "int64", +"type": "string" +}, +"type": "array" +}, +"includedPlatforms": { +"description": "The platforms included by this configration. Bid requests for devices with the specified platform types will be sent. An unset value allows all bid requests to be sent, regardless of platform.", +"items": { +"enum": [ +"PLATFORM_UNSPECIFIED", +"PERSONAL_COMPUTER", +"PHONE", +"TABLET", +"CONNECTED_TV" +], +"enumDescriptions": [ +"Placeholder for an undefined platform. This value should not be used.", +"The personal computer platform.", +"The mobile platform.", +"The tablet platform.", +"The connected TV platform." +], +"type": "string" +}, +"type": "array" +}, +"includedUserIdTypes": { +"description": "User identifier types included in this configuration. At least one of the user identifier types specified in this list must be available for the bid request to be sent.", +"items": { +"enum": [ +"USER_ID_TYPE_UNSPECIFIED", +"HOSTED_MATCH_DATA", +"GOOGLE_COOKIE", +"DEVICE_ID", +"PUBLISHER_PROVIDED_ID", +"PUBLISHER_FIRST_PARTY_ID" +], +"enumDescriptions": [ +"Placeholder for unspecified user identifier.", +"Hosted match data, referring to hosted_match_data in the bid request.", +"Google cookie, referring to google_user_id in the bid request.", +"Mobile device advertising ID.", +"The request has a publisher-provided ID available to the bidder.", +"Publisher first party ID, scoped to a single site, app or vendor needs to be present on the bid request." +], +"type": "string" +}, +"type": "array" +}, +"interstitialTargeting": { +"description": "The interstitial targeting specified for this configuration. The unset value will allow bid requests to be sent regardless of whether they are for interstitials or not.", +"enum": [ +"INTERSTITIAL_TARGETING_UNSPECIFIED", +"ONLY_INTERSTITIAL_REQUESTS", +"ONLY_NON_INTERSTITIAL_REQUESTS" +], +"enumDescriptions": [ +"Unspecified interstitial targeting. Represents an interstitial-agnostic selection.", +"Only bid requests for interstitial inventory should be sent.", +"Only bid requests for non-interstitial inventory should be sent." +], +"type": "string" +}, +"invalidGeoIds": { +"description": "Output only. Existing included or excluded geos that are invalid. Previously targeted geos may become invalid due to privacy restrictions.", +"items": { +"format": "int64", +"type": "string" +}, +"readOnly": true, +"type": "array" +}, +"maximumQps": { +"description": "The maximum QPS threshold for this configuration. The bidder should receive no more than this number of bid requests matching this configuration per second across all their bidding endpoints among all trading locations. Further information available at https://developers.google.com/authorized-buyers/rtb/peer-guide", +"format": "int64", +"type": "string" +}, +"minimumViewabilityDecile": { +"description": "The targeted minimum viewability decile, ranging in values [0, 10]. A value of 5 means that the configuration will only match adslots for which we predict at least 50% viewability. Values > 10 will be rounded down to 10. An unset value or a value of 0 indicates that bid requests will be sent regardless of viewability.", +"format": "int32", +"type": "integer" +}, +"name": { +"description": "Output only. Name of the pretargeting configuration that must follow the pattern `bidders/{bidder_account_id}/pretargetingConfigs/{config_id}`", +"readOnly": true, +"type": "string" +}, +"publisherTargeting": { +"$ref": "StringTargetingDimension", +"description": "Targeting on a subset of publisher inventory. Publishers can either be targeted positively (bid requests will be sent only if the publisher is listed in the targeting dimension) or negatively (bid requests will be sent only if the publisher is not listed in the targeting dimension). A maximum of 10,000 publisher IDs can be targeted. Publisher IDs are found in [ads.txt](https://iabtechlab.com/ads-txt/) / [app-ads.txt](https://iabtechlab.com/app-ads-txt/) and in bid requests in the `BidRequest.publisher_id` field on the [Google RTB protocol](https://developers.google.com/authorized-buyers/rtb/downloads/realtime-bidding-proto) or the `BidRequest.site.publisher.id` / `BidRequest.app.publisher.id` field on the [OpenRTB protocol](https://developers.google.com/authorized-buyers/rtb/downloads/openrtb-adx-proto). Publisher IDs will be returned in the order that they were entered." +}, +"state": { +"description": "Output only. The state of this pretargeting configuration.", +"enum": [ +"STATE_UNSPECIFIED", +"ACTIVE", +"SUSPENDED" +], +"enumDescriptions": [ +"Placeholder for undefined state.", +"This pretargeting configuration is actively being used to filter bid requests.", +"This pretargeting configuration is suspended and not used in serving." +], +"readOnly": true, +"type": "string" +}, +"userListTargeting": { +"$ref": "NumericTargetingDimension", +"description": "The remarketing lists included or excluded in this configuration as defined in UserList." +}, +"verticalTargeting": { +"$ref": "NumericTargetingDimension", +"description": "The verticals included or excluded in this configuration as defined in https://developers.google.com/authorized-buyers/rtb/downloads/publisher-verticals" +}, +"webTargeting": { +"$ref": "StringTargetingDimension", +"description": "Targeting on a subset of site inventory. If WEB is listed in included_environments, the specified targeting is applied. A maximum of 50,000 site URLs can be targeted. An unset value for targeting allows all web-based bid requests to be sent. Sites can either be targeting positively (bid requests will be sent only if the destination site is listed in the targeting dimension) or negatively (bid requests will be sent only if the destination site is not listed in the pretargeting configuration)." +} +}, +"type": "object" +}, +"PublisherConnection": { +"description": "An Open Bidding exchange's connection to a publisher. This is initiated by the publisher for the bidder to review. If approved by the bidder, this means that the bidder agrees to receive bid requests from the publisher.", +"id": "PublisherConnection", +"properties": { +"biddingState": { +"description": "Whether the publisher has been approved by the bidder.", +"enum": [ +"STATE_UNSPECIFIED", +"PENDING", +"REJECTED", +"APPROVED" +], +"enumDescriptions": [ +"An unspecified bidding status.", +"Indicates a request for connection from the publisher that the bidder needs to review.", +"Indicates that the publisher was rejected.", +"Indicates that the publisher was approved." +], +"type": "string" +}, +"createTime": { +"description": "Output only. The time at which the publisher initiated a connection with the bidder (irrespective of if or when the bidder approves it). This is subsequently updated if the publisher revokes and re-initiates the connection.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"displayName": { +"description": "Output only. Publisher display name.", +"readOnly": true, +"type": "string" +}, +"name": { +"description": "Output only. Name of the publisher connection. This follows the pattern `bidders/{bidder}/publisherConnections/{publisher}`, where `{bidder}` represents the account ID of the bidder, and `{publisher}` is the ads.txt/app-ads.txt publisher ID.", +"readOnly": true, +"type": "string" +}, +"publisherPlatform": { +"description": "Output only. Whether the publisher is an Ad Manager or AdMob publisher.", +"enum": [ +"PUBLISHER_PLATFORM_UNSPECIFIED", +"GOOGLE_AD_MANAGER", +"ADMOB" +], +"enumDescriptions": [ +"An unspecified publisher platform.", +"A Google Ad Manager publisher.", +"An AdMob publisher." +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"RemoveTargetedAppsRequest": { +"description": "A request to stop targeting the provided apps in a specific pretargeting configuration. The pretargeting configuration itself specifies how these apps are targeted. in PretargetingConfig.appTargeting.mobileAppTargeting.", +"id": "RemoveTargetedAppsRequest", +"properties": { +"appIds": { +"description": "A list of app IDs to stop targeting in the pretargeting configuration. These values will be removed from the list of targeted app IDs in PretargetingConfig.appTargeting.mobileAppTargeting.values.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"RemoveTargetedPublishersRequest": { +"description": "A request to stop targeting publishers in a specific configuration. The pretargeting configuration itself specifies how these publishers are targeted in PretargetingConfig.publisherTargeting.", +"id": "RemoveTargetedPublishersRequest", +"properties": { +"publisherIds": { +"description": "A list of publisher IDs to stop targeting in the pretargeting configuration. These values will be removed from the list of targeted publisher IDs in PretargetingConfig.publisherTargeting.values. Publishers are identified by their publisher ID from ads.txt / app-ads.txt. See https://iabtechlab.com/ads-txt/ and https://iabtechlab.com/app-ads-txt/ for more details.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"RemoveTargetedSitesRequest": { +"description": "A request to stop targeting sites in a specific pretargeting configuration. The pretargeting configuration itself specifies how these sites are targeted in PretargetingConfig.webTargeting.", +"id": "RemoveTargetedSitesRequest", +"properties": { +"sites": { +"description": "A list of site URLs to stop targeting in the pretargeting configuration. These values will be removed from the list of targeted URLs in PretargetingConfig.webTargeting.values.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"StringTargetingDimension": { +"description": "Generic targeting with string values used in app, website and publisher targeting.", +"id": "StringTargetingDimension", +"properties": { +"targetingMode": { +"description": "How the items in this list should be targeted.", +"enum": [ +"TARGETING_MODE_UNSPECIFIED", +"INCLUSIVE", +"EXCLUSIVE" +], +"enumDescriptions": [ +"Placeholder for undefined targeting mode.", +"The inclusive list type. Inventory must match an item in this list to be targeted.", +"The exclusive list type. Inventory must not match any item in this list to be targeted." +], +"type": "string" +}, +"values": { +"description": "The values specified.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"SuspendPretargetingConfigRequest": { +"description": "A request to suspend a pretargeting configuration. Sets the configuration's state to SUSPENDED.", +"id": "SuspendPretargetingConfigRequest", +"properties": {}, +"type": "object" +}, +"UrlDownloadSize": { +"description": "The URL-level breakdown for the download size.", +"id": "UrlDownloadSize", +"properties": { +"downloadSizeKb": { +"description": "Download size of the URL in kilobytes.", +"format": "int32", +"type": "integer" +}, +"normalizedUrl": { +"description": "The normalized URL with query parameters and fragment removed.", +"type": "string" +} +}, +"type": "object" +}, +"UrlRestriction": { +"description": "Deprecated. This will be removed in October 2023. For more information, see the release notes: https://developers.google.com/authorized-buyers/apis/relnotes#real-time-bidding-api Represents the URL restriction (for the URL captured by the pixel callback) for a user list.", +"id": "UrlRestriction", +"properties": { +"endDate": { +"$ref": "Date", +"description": "End date (if specified) of the URL restriction. End date should be later than the start date for the date range to be valid." +}, +"restrictionType": { +"description": "The restriction type for the specified URL.", +"enum": [ +"RESTRICTION_TYPE_UNSPECIFIED", +"CONTAINS", +"EQUALS", +"STARTS_WITH", +"ENDS_WITH", +"DOES_NOT_EQUAL", +"DOES_NOT_CONTAIN", +"DOES_NOT_START_WITH", +"DOES_NOT_END_WITH" +], +"enumDescriptions": [ +"Default value that should never be used.", +"The tag URL (as recorded by the pixel callback) contains the specified URL.", +"The tag URL (as recorded by the pixel callback) exactly matches the specified URL.", +"The tag URL (as recorded by the pixel callback) starts with the specified URL.", +"The tag URL (as recorded by the pixel callback) ends with the specified URL.", +"The tag URL (as recorded by the pixel callback) does not equal the specified URL.", +"The tag URL (as recorded by the pixel callback) does not contain the specified URL.", +"The tag URL (as recorded by the pixel callback) does not start with the specified URL.", +"The tag URL (as recorded by the pixel callback) does not end with the specified URL." +], +"type": "string" +}, +"startDate": { +"$ref": "Date", +"description": "Start date (if specified) of the URL restriction." +}, +"url": { +"description": "Required. The URL to use for applying the restriction on the user list.", +"type": "string" +} +}, +"type": "object" +}, +"UserList": { +"description": "Represents an Authorized Buyers user list. Authorized Buyers can create/update/list user lists. Once a user list is created in the system, Authorized Buyers can add users to the user list using the bulk uploader API. Alternatively, users can be added by hosting a tag on the advertiser's page.", +"id": "UserList", +"properties": { +"description": { +"description": "The description for the user list.", +"type": "string" +}, +"displayName": { +"description": "Required. Display name of the user list. This must be unique across all user lists for a given account.", +"type": "string" +}, +"membershipDurationDays": { +"description": "Required. The number of days a user's cookie stays on the user list. The field must be between 0 and 540 inclusive.", +"format": "int64", +"type": "string" +}, +"name": { +"description": "Output only. Name of the user list that must follow the pattern `buyers/{buyer}/userLists/{user_list}`, where `{buyer}` represents the account ID of the buyer who owns the user list. For a bidder accessing user lists on behalf of a child seat buyer, `{buyer}` represents the account ID of the child seat buyer. `{user_list}` is an int64 identifier assigned by Google to uniquely identify a user list.", +"readOnly": true, +"type": "string" +}, +"status": { +"description": "Output only. The status of the user list. A new user list starts out as open.", +"enum": [ +"STATUS_UNSPECIFIED", +"OPEN", +"CLOSED" +], +"enumDescriptions": [ +"Default value that should never be used.", +"New users can be added to the user list.", +"New users cannot be added to the user list." +], +"readOnly": true, +"type": "string" +}, +"urlRestriction": { +"$ref": "UrlRestriction", +"description": "Required. Deprecated. This will be removed in October 2023. For more information, see the release notes: https://developers.google.com/authorized-buyers/apis/relnotes#real-time-bidding-api The URL restriction for the user list." +} +}, +"type": "object" +}, +"VideoContent": { +"description": "Video content for a creative.", +"id": "VideoContent", +"properties": { +"videoMetadata": { +"$ref": "VideoMetadata", +"description": "Output only. Video metadata.", +"readOnly": true +}, +"videoUrl": { +"description": "The URL to fetch a video ad. The URL should return an XML response that conforms to the VAST 2.0, 3.0 or 4.x standard.", +"type": "string" +}, +"videoVastXml": { +"description": "The contents of a VAST document for a video ad. This document should conform to the VAST 2.0, 3.0, or 4.x standard.", +"type": "string" +} +}, +"type": "object" +}, +"VideoMetadata": { +"description": "Video metadata for a creative.", +"id": "VideoMetadata", +"properties": { +"duration": { +"description": "The duration of the ad. Can be used to filter the response of the creatives.list method.", +"format": "google-duration", +"type": "string" +}, +"isValidVast": { +"description": "Is this a valid VAST ad? Can be used to filter the response of the creatives.list method.", +"type": "boolean" +}, +"isVpaid": { +"description": "Is this a VPAID ad? Can be used to filter the response of the creatives.list method.", +"type": "boolean" +}, +"mediaFiles": { +"description": "The list of all media files declared in the VAST. If there are multiple VASTs in a wrapper chain, this includes the media files from the deepest one in the chain.", +"items": { +"$ref": "MediaFile" +}, +"type": "array" +}, +"skipOffset": { +"description": "The minimum duration that the user has to watch before being able to skip this ad. If the field is not set, the ad is not skippable. If the field is set, the ad is skippable. Can be used to filter the response of the creatives.list method.", +"format": "google-duration", +"type": "string" +}, +"vastVersion": { +"description": "The maximum VAST version across all wrapped VAST documents. Can be used to filter the response of the creatives.list method.", +"enum": [ +"VAST_VERSION_UNSPECIFIED", +"VAST_VERSION_1_0", +"VAST_VERSION_2_0", +"VAST_VERSION_3_0", +"VAST_VERSION_4_0" +], +"enumDescriptions": [ +"Default value that should never be used.", +"VAST 1.0", +"VAST 2.0", +"VAST 3.0", +"VAST 4.0" +], +"type": "string" +} +}, +"type": "object" +}, +"WatchCreativesRequest": { +"description": "A request to receive push notifications when any of the creatives belonging to the bidder changes status.", +"id": "WatchCreativesRequest", +"properties": {}, +"type": "object" +}, +"WatchCreativesResponse": { +"description": "A response for the request to receive push notification when a bidder's creatives change status.", +"id": "WatchCreativesResponse", +"properties": { +"subscription": { +"description": "The Pub/Sub subscription that can be used to pull creative status notifications. This would be of the format `projects/{project_id}/subscriptions/{subscription_id}`. Subscription is created with pull delivery. All service accounts belonging to the bidder will have read access to this subscription. Subscriptions that are inactive for more than 90 days will be disabled. Use watchCreatives to re-enable the subscription.", +"type": "string" +}, +"topic": { +"description": "The Pub/Sub topic that will be used to publish creative serving status notifications. This would be of the format `projects/{project_id}/topics/{topic_id}`.", +"type": "string" +} +}, +"type": "object" +} +}, +"servicePath": "", +"title": "Real-time Bidding API", +"version": "v1", +"version_module": true +} \ No newline at end of file diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/realtimebidding.v1alpha.json b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/realtimebidding.v1alpha.json new file mode 100644 index 0000000000000000000000000000000000000000..119a28c8afaaea8544666b45377abefce852a82f --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/realtimebidding.v1alpha.json @@ -0,0 +1,319 @@ +{ + "auth": { + "oauth2": { + "scopes": { + "https://www.googleapis.com/auth/realtime-bidding": { + "description": "See, create, edit, and delete your Authorized Buyers and Open Bidding account entities" + } + } + } + }, + "basePath": "", + "baseUrl": "https://realtimebidding.googleapis.com/", + "batchPath": "batch", + "canonicalName": "Real-time Bidding", + "description": "Allows external bidders to manage their RTB integration with Google. This includes managing bidder endpoints, QPS quotas, configuring what ad inventory to receive via pretargeting, submitting creatives for verification, and accessing creative metadata such as approval status.", + "discoveryVersion": "v1", + "documentationLink": "https://developers.google.com/authorized-buyers/apis/realtimebidding/reference/rest/", + "fullyEncodeReservedExpansion": true, + "icons": { + "x16": "http://www.google.com/images/icons/product/search-16.gif", + "x32": "http://www.google.com/images/icons/product/search-32.gif" + }, + "id": "realtimebidding:v1alpha", + "kind": "discovery#restDescription", + "mtlsRootUrl": "https://realtimebidding.mtls.googleapis.com/", + "name": "realtimebidding", + "ownerDomain": "google.com", + "ownerName": "Google", + "parameters": { + "$.xgafv": { + "description": "V1 error format.", + "enum": [ + "1", + "2" + ], + "enumDescriptions": [ + "v1 error format", + "v2 error format" + ], + "location": "query", + "type": "string" + }, + "access_token": { + "description": "OAuth access token.", + "location": "query", + "type": "string" + }, + "alt": { + "default": "json", + "description": "Data format for response.", + "enum": [ + "json", + "media", + "proto" + ], + "enumDescriptions": [ + "Responses with Content-Type of application/json", + "Media download with context-dependent Content-Type", + "Responses with Content-Type of application/x-protobuf" + ], + "location": "query", + "type": "string" + }, + "callback": { + "description": "JSONP", + "location": "query", + "type": "string" + }, + "fields": { + "description": "Selector specifying which fields to include in a partial response.", + "location": "query", + "type": "string" + }, + "key": { + "description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", + "location": "query", + "type": "string" + }, + "oauth_token": { + "description": "OAuth 2.0 token for the current user.", + "location": "query", + "type": "string" + }, + "prettyPrint": { + "default": "true", + "description": "Returns response with indentations and line breaks.", + "location": "query", + "type": "boolean" + }, + "quotaUser": { + "description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.", + "location": "query", + "type": "string" + }, + "uploadType": { + "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", + "location": "query", + "type": "string" + }, + "upload_protocol": { + "description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", + "location": "query", + "type": "string" + } + }, + "protocol": "rest", + "resources": { + "bidders": { + "resources": { + "biddingFunctions": { + "methods": { + "activate": { + "description": "Activates an existing bidding function. An activated function is available for invocation for the server-side TURTLEDOVE simulations.", + "flatPath": "v1alpha/bidders/{biddersId}/biddingFunctions/{biddingFunctionsId}:activate", + "httpMethod": "POST", + "id": "realtimebidding.bidders.biddingFunctions.activate", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. The name of the bidding function to activate. Format: `bidders/{bidder_account_id}/biddingFunction/{bidding_function_name}`", + "location": "path", + "pattern": "^bidders/[^/]+/biddingFunctions/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1alpha/{+name}:activate", + "request": { + "$ref": "ActivateBiddingFunctionRequest" + }, + "response": { + "$ref": "BiddingFunction" + }, + "scopes": [ + "https://www.googleapis.com/auth/realtime-bidding" + ] + }, + "archive": { + "description": "Archives an existing bidding function. An archived function will not be available for function invocation for the server-side TURTLEDOVE simulations unless it is activated.", + "flatPath": "v1alpha/bidders/{biddersId}/biddingFunctions/{biddingFunctionsId}:archive", + "httpMethod": "POST", + "id": "realtimebidding.bidders.biddingFunctions.archive", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. The name of the bidding function to archive. Format: `bidders/{bidder_account_id}/biddingFunction/{bidding_function_name}`", + "location": "path", + "pattern": "^bidders/[^/]+/biddingFunctions/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1alpha/{+name}:archive", + "request": { + "$ref": "ArchiveBiddingFunctionRequest" + }, + "response": { + "$ref": "BiddingFunction" + }, + "scopes": [ + "https://www.googleapis.com/auth/realtime-bidding" + ] + }, + "create": { + "description": "Creates a new bidding function.", + "flatPath": "v1alpha/bidders/{biddersId}/biddingFunctions", + "httpMethod": "POST", + "id": "realtimebidding.bidders.biddingFunctions.create", + "parameterOrder": [ + "parent" + ], + "parameters": { + "parent": { + "description": "Required. The name of the bidder for which to create the bidding function. Format: `bidders/{bidderAccountId}`", + "location": "path", + "pattern": "^bidders/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1alpha/{+parent}/biddingFunctions", + "request": { + "$ref": "BiddingFunction" + }, + "response": { + "$ref": "BiddingFunction" + }, + "scopes": [ + "https://www.googleapis.com/auth/realtime-bidding" + ] + }, + "list": { + "description": "Lists the bidding functions that a bidder currently has registered.", + "flatPath": "v1alpha/bidders/{biddersId}/biddingFunctions", + "httpMethod": "GET", + "id": "realtimebidding.bidders.biddingFunctions.list", + "parameterOrder": [ + "parent" + ], + "parameters": { + "pageSize": { + "description": "The maximum number of bidding functions to return.", + "format": "int32", + "location": "query", + "type": "integer" + }, + "pageToken": { + "description": "A token identifying a page of results the server should return. This value is received from a previous `ListBiddingFunctions` call in ListBiddingFunctionsResponse.nextPageToken.", + "location": "query", + "type": "string" + }, + "parent": { + "description": "Required. Name of the bidder whose bidding functions will be listed. Format: `bidders/{bidder_account_id}`", + "location": "path", + "pattern": "^bidders/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1alpha/{+parent}/biddingFunctions", + "response": { + "$ref": "ListBiddingFunctionsResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/realtime-bidding" + ] + } + } + } + } + } + }, + "revision": "20230605", + "rootUrl": "https://realtimebidding.googleapis.com/", + "schemas": { + "ActivateBiddingFunctionRequest": { + "description": "The request to activate a bidding function.", + "id": "ActivateBiddingFunctionRequest", + "properties": {}, + "type": "object" + }, + "ArchiveBiddingFunctionRequest": { + "description": "A request to archive a bidding function.", + "id": "ArchiveBiddingFunctionRequest", + "properties": {}, + "type": "object" + }, + "BiddingFunction": { + "description": "The bidding function to be executed as part of the TURTLEDOVE simulation experiment bidding flow.", + "id": "BiddingFunction", + "properties": { + "biddingFunction": { + "description": "The raw Javascript source code of the bidding function.", + "type": "string" + }, + "name": { + "description": "The name of the bidding function that must follow the pattern: `bidders/{bidder_account_id}/biddingFunctions/{bidding_function_name}`.", + "type": "string" + }, + "state": { + "description": "Output only. The state of the bidding function.", + "enum": [ + "STATE_UNSPECIFIED", + "ACTIVE", + "ARCHIVED" + ], + "enumDescriptions": [ + "Default value that should not be used.", + "An active function. Only `ACTIVE` bidding functions or ad scoring functions are made available for the server-side TURTLEDOVE simulations. Every account is limited to 10 active bidding functions per account.", + "A function that is no longer made available for invocation in a simulation and instead archived. An archived function can later be made active by activating the function through `ActivateBiddingFunction`." + ], + "readOnly": true, + "type": "string" + }, + "type": { + "description": "The type of the bidding function to be created.", + "enum": [ + "FUNCTION_TYPE_UNSPECIFIED", + "TURTLEDOVE_SIMULATION_BIDDING_FUNCTION", + "FLEDGE_BIDDING_FUNCTION" + ], + "enumDescriptions": [ + "Default value that should not be used.", + "Bidding function that can be used by Authorized Buyers in the original TURTLEDOVE simulation. See documentation on the TURTLEDOVE simulation at https://developers.google.com/authorized-buyers/rtb/turtledove. The function takes in a Javascript object, `inputs`, that contains the following named fields: `openrtbContextualBidRequest` OR `googleContextualBidRequest`, `customContextualSignal`, `interestBasedBidData`, `interestGroupData`, and returns the bid price CPM. Example: ``` /* Returns a bid price CPM. * * @param {Object} inputs an object with the * following named fields: * - openrtbContextualBidRequest * OR googleContextualBidRequest * - customContextualSignal * - interestBasedBidData * - interestGroupData */ function biddingFunction(inputs) { ... return inputs.interestBasedBidData.cpm * inputs.customContextualSignals.placementMultiplier; } ```", + "Buyer's interest group bidding function that can be used by Authorized Buyers in the FLEDGE simulation. See the FLEDGE explainer at https://github.com/WICG/turtledove/blob/main/FLEDGE.md#32-on-device-bidding. The function takes one argument, `inputs`, that contains an object with the following named fields of the form: ``` { \"interestGroup\" : { \"ad\" : [ \"buyerCreativeId\": \"...\", # Ad creative ID \"adData\": { # JSON object } ], \"userBiddingSignals\": { . # JSON object } }, \"auctionSignals\": { \"url\": # string, \"slotVisibility\": # enum value, \"slotDimensions\": [ { \"height\": # number value \"width\": # number value } ] }, \"perBuyerSignals\": { # JSON object }, \"trustedBiddingSignals\": { # JSON object }, \"browserSignals\": { \"recent_impression_ages_secs\": [ # Array of integers. Not yet populated. ] } } ``` `interestGroup`: An object containing a list of `ad` objects, which contain the following named fields: - `buyerCreativeId`: The ad creative ID string. - `adData`: Any JSON value of the bidder's choosing to contain data associated with an ad provided in `BidResponse.ad.adslot.ad_data` for the Google Authorized Buyers protocol and `BidResponse.seatbid.bid.ext.ad_data` for the OpenRTB protocol. - `userBiddingSignals`: Any JSON value of the bidder's choosing containing interest group data that corresponds to user_bidding_signals (as in FLEDGE). This field will be populated from `BidResponse.interest_group_map.user_bidding_signals` for Google Authorized Buyers protocol and `BidResponse.ext.interest_group_map.user_bidding_signals` for the OpenRTB protocol. `auctionSignals`: Contains data from the seller. It corresponds to the auction signals data described in the FLEDGE proposal. It is an object containing the following named fields: - `url`: The string URL of the page with parameters removed. - `slotVisibility`: Enum of one of the following potential values: - NO_DETECTION = 0 - ABOVE_THE_FOLD = 1 - BELOW_THE_FOLD = 2 - `slotDimensions`: A list of objects containing containing width and height pairs in `width` and `height` fields, respectively, from `BidRequest.adslot.width` and `BidRequest.adslot.height` for the Google Authorized Buyers protocol and `BidRequest.imp.banner.format.w` and `BidRequest.imp.banner.format.h` for the OpenRTB protocol. `perBuyerSignals`: The contextual signals from the bid response that are populated in `BidResponse.interest_group_bidding.interest_group_buyers.per_buyer_signals` for the Google Authorized Buyers protocol and `BidResponse.ext.interest_group_bidding.interest_group_buyers.per_buyer_signals` for the OpenRTB protocol. These signals can be of any JSON format of your choosing, however, the buyer's domain name must match between: - the interest group response in `BidResponse.interest_group_map.buyer_domain` for the Google Authorized Buyers protocol or in `BidResponse.ext.interest_group_map.buyer_domain` for the OpenRTB protocol. - the contextual response as a key to the map in `BidResponse.interest_group_bidding.interest_group_buyers` for the Google Authorized Buyers protocol or in `BidResponse.ext.interest_group_bidding.interest_group_buyers` for the OpenRTB protocol. In other words, there must be a match between the buyer domain of the contextual per_buyer_signals and the domain of an interest group. `trustedBiddingSignals`: The trusted bidding signals that corresponds to the trusted_bidding_signals in the FLEDGE proposal. It is provided in the interest group response as `BidResponse.interest_group_map.user_bidding_signals` for the Google Authorized Buyers protocol and `BidResponse.ext.interest_group_map.user_bidding_signals` for the OpenRTB protocol. This field can be any JSON format of your choosing. `browserSignals`: An object of simulated browser-provider signals. It is an object with a single named field, `recent_impression_ages_secs`, that contains a list of estimated number value recent impression ages in seconds for a given interest group. `recent_impression_ages_secs` is not yet populated. The function returns the string creative ID of the selected ad, the bid price CPM, and (optionally) selected product IDs. In addition, the bidding function may populate an optional debug string that may be used for remote debugging and troubleshooting of a bidder-provided bidding function. The debug string should not contain a user identifier. The maximum length of the debug string is 200 bytes. This debug string is available in `BidResponseFeedback` (https://developers.google.com/authorized-buyers/rtb/realtime-bidding-guide#bidresponsefeedback-object) and `BidFeedback` (https://developers.google.com/authorized-buyers/rtb/openrtb-guide#bidfeedback), for the Google protocol and OpenRTB protocol respectively. In addition, the debug string can be inserted into the creative HTML snippet through macro substitution if the following string is included in the snippet: \u201c%%DEBUG_STRING%%\u201d. Ensure the debug string complies with [Platform Program Policies](https://support.google.com/platformspolicy/answer/3013851). Sample Bidding Function: ``` function biddingFunction(inputs) { ... return { \"buyerCreativeId\": \"ad_creative_id_1\", \"bidPriceCpm\": 0.3, \"productIds\": [\"product_id_1\", \"product_id_2\", \"product_id_3\"] \"debugString\": \"Bidding function executed successfully!\" } } ```" + ], + "type": "string" + } + }, + "type": "object" + }, + "ListBiddingFunctionsResponse": { + "description": "A response containing a list of a bidder's bidding functions.", + "id": "ListBiddingFunctionsResponse", + "properties": { + "biddingFunctions": { + "description": "A list of a bidder's bidding functions.", + "items": { + "$ref": "BiddingFunction" + }, + "type": "array" + }, + "nextPageToken": { + "description": "A token which can be passed to a subsequent call to the `ListBiddingFunctions` method to retrieve the next page of results in ListBiddingFunctionsRequest.pageToken.", + "type": "string" + } + }, + "type": "object" + } + }, + "servicePath": "", + "title": "Real-time Bidding API", + "version": "v1alpha", + "version_module": true +} \ No newline at end of file diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/redis.v1beta1.json b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/redis.v1beta1.json new file mode 100644 index 0000000000000000000000000000000000000000..dad6951a9d5dece293a5587ae5a113491a10e0c8 --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/redis.v1beta1.json @@ -0,0 +1,5532 @@ +{ +"auth": { +"oauth2": { +"scopes": { +"https://www.googleapis.com/auth/cloud-platform": { +"description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." +} +} +} +}, +"basePath": "", +"baseUrl": "https://redis.googleapis.com/", +"batchPath": "batch", +"canonicalName": "Cloud Redis", +"description": "Creates and manages Redis instances on the Google Cloud Platform.", +"discoveryVersion": "v1", +"documentationLink": "https://cloud.google.com/memorystore/docs/redis/", +"fullyEncodeReservedExpansion": true, +"icons": { +"x16": "http://www.google.com/images/icons/product/search-16.gif", +"x32": "http://www.google.com/images/icons/product/search-32.gif" +}, +"id": "redis:v1beta1", +"kind": "discovery#restDescription", +"mtlsRootUrl": "https://redis.mtls.googleapis.com/", +"name": "redis", +"ownerDomain": "google.com", +"ownerName": "Google", +"parameters": { +"$.xgafv": { +"description": "V1 error format.", +"enum": [ +"1", +"2" +], +"enumDescriptions": [ +"v1 error format", +"v2 error format" +], +"location": "query", +"type": "string" +}, +"access_token": { +"description": "OAuth access token.", +"location": "query", +"type": "string" +}, +"alt": { +"default": "json", +"description": "Data format for response.", +"enum": [ +"json", +"media", +"proto" +], +"enumDescriptions": [ +"Responses with Content-Type of application/json", +"Media download with context-dependent Content-Type", +"Responses with Content-Type of application/x-protobuf" +], +"location": "query", +"type": "string" +}, +"callback": { +"description": "JSONP", +"location": "query", +"type": "string" +}, +"fields": { +"description": "Selector specifying which fields to include in a partial response.", +"location": "query", +"type": "string" +}, +"key": { +"description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", +"location": "query", +"type": "string" +}, +"oauth_token": { +"description": "OAuth 2.0 token for the current user.", +"location": "query", +"type": "string" +}, +"prettyPrint": { +"default": "true", +"description": "Returns response with indentations and line breaks.", +"location": "query", +"type": "boolean" +}, +"quotaUser": { +"description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.", +"location": "query", +"type": "string" +}, +"uploadType": { +"description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", +"location": "query", +"type": "string" +}, +"upload_protocol": { +"description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", +"location": "query", +"type": "string" +} +}, +"protocol": "rest", +"resources": { +"projects": { +"resources": { +"locations": { +"methods": { +"get": { +"description": "Gets information about a location.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}", +"httpMethod": "GET", +"id": "redis.projects.locations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Resource name for the location.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+name}", +"response": { +"$ref": "Location" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"getSharedRegionalCertificateAuthority": { +"description": "Gets the details of regional certificate authority information for Redis cluster.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/sharedRegionalCertificateAuthority", +"httpMethod": "GET", +"id": "redis.projects.locations.getSharedRegionalCertificateAuthority", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Regional certificate authority resource name using the form: `projects/{project_id}/locations/{location_id}/sharedRegionalCertificateAuthority` where `location_id` refers to a Google Cloud region.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/sharedRegionalCertificateAuthority$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+name}", +"response": { +"$ref": "SharedRegionalCertificateAuthority" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists information about the supported locations for this service. This method can be called in two ways: * **List all public locations:** Use the path `GET /v1/locations`. * **List project-visible locations:** Use the path `GET /v1/projects/{project_id}/locations`. This may include public locations as well as private or other locations specifically visible to the project.", +"flatPath": "v1beta1/projects/{projectsId}/locations", +"httpMethod": "GET", +"id": "redis.projects.locations.list", +"parameterOrder": [ +"name" +], +"parameters": { +"extraLocationTypes": { +"description": "Optional. Do not use this field. It is unsupported and is ignored unless explicitly documented otherwise. This is primarily for internal usage.", +"location": "query", +"repeated": true, +"type": "string" +}, +"filter": { +"description": "A filter to narrow down results to a preferred subset. The filtering language accepts strings like `\"displayName=tokyo\"`, and is documented in more detail in [AIP-160](https://google.aip.dev/160).", +"location": "query", +"type": "string" +}, +"name": { +"description": "The resource that owns the locations collection, if applicable.", +"location": "path", +"pattern": "^projects/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The maximum number of results to return. If not set, the service selects a default.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A page token received from the `next_page_token` field in the response. Send that page token to receive the subsequent page.", +"location": "query", +"type": "string" +} +}, +"path": "v1beta1/{+name}/locations", +"response": { +"$ref": "ListLocationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"backupCollections": { +"methods": { +"get": { +"description": "Get a backup collection.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/backupCollections/{backupCollectionsId}", +"httpMethod": "GET", +"id": "redis.projects.locations.backupCollections.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Redis backupCollection resource name using the form: `projects/{project_id}/locations/{location_id}/backupCollections/{backup_collection_id}` where `location_id` refers to a Google Cloud region.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/backupCollections/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+name}", +"response": { +"$ref": "BackupCollection" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists all backup collections owned by a consumer project in either the specified location (region) or all locations. If `location_id` is specified as `-` (wildcard), then all regions available to the project are queried, and the results are aggregated.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/backupCollections", +"httpMethod": "GET", +"id": "redis.projects.locations.backupCollections.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "Optional. The maximum number of items to return. If not specified, a default value of 1000 will be used by the service. Regardless of the page_size value, the response may include a partial list and a caller should only rely on response's `next_page_token` to determine if there are more clusters left to be queried.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. The `next_page_token` value returned from a previous [ListBackupCollections] request, if any.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The resource name of the backupCollection location using the form: `projects/{project_id}/locations/{location_id}` where `location_id` refers to a Google Cloud region.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+parent}/backupCollections", +"response": { +"$ref": "ListBackupCollectionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"backups": { +"methods": { +"delete": { +"description": "Deletes a specific backup.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/backupCollections/{backupCollectionsId}/backups/{backupsId}", +"httpMethod": "DELETE", +"id": "redis.projects.locations.backupCollections.backups.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Redis backup resource name using the form: `projects/{project_id}/locations/{location_id}/backupCollections/{backup_collection_id}/backups/{backup_id}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/backupCollections/[^/]+/backups/[^/]+$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "Optional. Idempotent request UUID.", +"location": "query", +"type": "string" +} +}, +"path": "v1beta1/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"export": { +"description": "Exports a specific backup to a customer target Cloud Storage URI.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/backupCollections/{backupCollectionsId}/backups/{backupsId}:export", +"httpMethod": "POST", +"id": "redis.projects.locations.backupCollections.backups.export", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Redis backup resource name using the form: `projects/{project_id}/locations/{location_id}/backupCollections/{backup_collection_id}/backups/{backup_id}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/backupCollections/[^/]+/backups/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+name}:export", +"request": { +"$ref": "ExportBackupRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets the details of a specific backup.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/backupCollections/{backupCollectionsId}/backups/{backupsId}", +"httpMethod": "GET", +"id": "redis.projects.locations.backupCollections.backups.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Redis backup resource name using the form: `projects/{project_id}/locations/{location_id}/backupCollections/{backup_collection_id}/backups/{backup_id}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/backupCollections/[^/]+/backups/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+name}", +"response": { +"$ref": "Backup" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists all backups owned by a backup collection.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/backupCollections/{backupCollectionsId}/backups", +"httpMethod": "GET", +"id": "redis.projects.locations.backupCollections.backups.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "Optional. The maximum number of items to return. If not specified, a default value of 1000 will be used by the service. Regardless of the page_size value, the response may include a partial list and a caller should only rely on response's `next_page_token` to determine if there are more clusters left to be queried.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. The `next_page_token` value returned from a previous [ListBackupCollections] request, if any.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The resource name of the backupCollection using the form: `projects/{project_id}/locations/{location_id}/backupCollections/{backup_collection_id}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/backupCollections/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+parent}/backups", +"response": { +"$ref": "ListBackupsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +}, +"clusters": { +"methods": { +"backup": { +"description": "Backup Redis Cluster. If this is the first time a backup is being created, a backup collection will be created at the backend, and this backup belongs to this collection. Both collection and backup will have a resource name. Backup will be executed for each shard. A replica (primary if nonHA) will be selected to perform the execution. Backup call will be rejected if there is an ongoing backup or update operation. Be aware that during preview, if the cluster's internal software version is too old, critical update will be performed before actual backup. Once the internal software version is updated to the minimum version required by the backup feature, subsequent backups will not require critical update. After preview, there will be no critical update needed for backup.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/clusters/{clustersId}:backup", +"httpMethod": "POST", +"id": "redis.projects.locations.clusters.backup", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Redis cluster resource name using the form: `projects/{project_id}/locations/{location_id}/clusters/{cluster_id}` where `location_id` refers to a Google Cloud region.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/clusters/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+name}:backup", +"request": { +"$ref": "BackupClusterRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"create": { +"description": "Creates a Redis cluster based on the specified properties. The creation is executed asynchronously and callers may check the returned operation to track its progress. Once the operation is completed the Redis cluster will be fully functional. The completed longrunning.Operation will contain the new cluster object in the response field. The returned operation is automatically deleted after a few hours, so there is no need to call DeleteOperation.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/clusters", +"httpMethod": "POST", +"id": "redis.projects.locations.clusters.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"clusterId": { +"description": "Required. The logical name of the Redis cluster in the customer project with the following restrictions: * Must contain only lowercase letters, numbers, and hyphens. * Must start with a letter. * Must be between 1-63 characters. * Must end with a number or a letter. * Must be unique within the customer project / location", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The resource name of the cluster location using the form: `projects/{project_id}/locations/{location_id}` where `location_id` refers to a Google Cloud region.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "Optional. Idempotent request UUID.", +"location": "query", +"type": "string" +} +}, +"path": "v1beta1/{+parent}/clusters", +"request": { +"$ref": "Cluster" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a specific Redis cluster. Cluster stops serving and data is deleted.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/clusters/{clustersId}", +"httpMethod": "DELETE", +"id": "redis.projects.locations.clusters.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Redis cluster resource name using the form: `projects/{project_id}/locations/{location_id}/clusters/{cluster_id}` where `location_id` refers to a Google Cloud region.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/clusters/[^/]+$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "Optional. Idempotent request UUID.", +"location": "query", +"type": "string" +} +}, +"path": "v1beta1/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets the details of a specific Redis cluster.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/clusters/{clustersId}", +"httpMethod": "GET", +"id": "redis.projects.locations.clusters.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Redis cluster resource name using the form: `projects/{project_id}/locations/{location_id}/clusters/{cluster_id}` where `location_id` refers to a Google Cloud region.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/clusters/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+name}", +"response": { +"$ref": "Cluster" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"getCertificateAuthority": { +"description": "Gets the details of certificate authority information for Redis cluster.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/clusters/{clustersId}/certificateAuthority", +"httpMethod": "GET", +"id": "redis.projects.locations.clusters.getCertificateAuthority", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Redis cluster certificate authority resource name using the form: `projects/{project_id}/locations/{location_id}/clusters/{cluster_id}/certificateAuthority` where `location_id` refers to a Google Cloud region.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/clusters/[^/]+/certificateAuthority$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+name}", +"response": { +"$ref": "CertificateAuthority" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists all Redis clusters owned by a project in either the specified location (region) or all locations. The location should have the following format: * `projects/{project_id}/locations/{location_id}` If `location_id` is specified as `-` (wildcard), then all regions available to the project are queried, and the results are aggregated.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/clusters", +"httpMethod": "GET", +"id": "redis.projects.locations.clusters.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "The maximum number of items to return. If not specified, a default value of 1000 will be used by the service. Regardless of the page_size value, the response may include a partial list and a caller should only rely on response's `next_page_token` to determine if there are more clusters left to be queried.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The `next_page_token` value returned from a previous ListClusters request, if any.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The resource name of the cluster location using the form: `projects/{project_id}/locations/{location_id}` where `location_id` refers to a Google Cloud region.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+parent}/clusters", +"response": { +"$ref": "ListClustersResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates the metadata and configuration of a specific Redis cluster. Completed longrunning.Operation will contain the new cluster object in the response field. The returned operation is automatically deleted after a few hours, so there is no need to call DeleteOperation.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/clusters/{clustersId}", +"httpMethod": "PATCH", +"id": "redis.projects.locations.clusters.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Identifier. Unique name of the resource in this scope including project and location using the form: `projects/{project_id}/locations/{location_id}/clusters/{cluster_id}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/clusters/[^/]+$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "Optional. Idempotent request UUID.", +"location": "query", +"type": "string" +}, +"updateMask": { +"description": "Required. Mask of fields to update. At least one path must be supplied in this field. The elements of the repeated paths field may only include these fields from Cluster: * `size_gb` * `replica_count` * `cluster_endpoints`", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1beta1/{+name}", +"request": { +"$ref": "Cluster" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"rescheduleClusterMaintenance": { +"description": "Reschedules upcoming maintenance event.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/clusters/{clustersId}:rescheduleClusterMaintenance", +"httpMethod": "POST", +"id": "redis.projects.locations.clusters.rescheduleClusterMaintenance", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Redis Cluster instance resource name using the form: `projects/{project_id}/locations/{location_id}/clusters/{cluster_id}` where `location_id` refers to a Google Cloud region.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/clusters/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+name}:rescheduleClusterMaintenance", +"request": { +"$ref": "RescheduleClusterMaintenanceRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"instances": { +"methods": { +"create": { +"description": "Creates a Redis instance based on the specified tier and memory size. By default, the instance is accessible from the project's [default network](https://cloud.google.com/vpc/docs/vpc). The creation is executed asynchronously and callers may check the returned operation to track its progress. Once the operation is completed the Redis instance will be fully functional. The completed longrunning.Operation will contain the new instance object in the response field. The returned operation is automatically deleted after a few hours, so there is no need to call DeleteOperation.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/instances", +"httpMethod": "POST", +"id": "redis.projects.locations.instances.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"instanceId": { +"description": "Required. The logical name of the Redis instance in the customer project with the following restrictions: * Must contain only lowercase letters, numbers, and hyphens. * Must start with a letter. * Must be between 1-40 characters. * Must end with a number or a letter. * Must be unique within the customer project / location", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The resource name of the instance location using the form: `projects/{project_id}/locations/{location_id}` where `location_id` refers to a GCP region.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+parent}/instances", +"request": { +"$ref": "Instance" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a specific Redis instance. Instance stops serving and data is deleted.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/instances/{instancesId}", +"httpMethod": "DELETE", +"id": "redis.projects.locations.instances.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Redis instance resource name using the form: `projects/{project_id}/locations/{location_id}/instances/{instance_id}` where `location_id` refers to a GCP region.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/instances/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"export": { +"description": "Export Redis instance data into a Redis RDB format file in Cloud Storage. Redis will continue serving during this operation. The returned operation is automatically deleted after a few hours, so there is no need to call DeleteOperation.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/instances/{instancesId}:export", +"httpMethod": "POST", +"id": "redis.projects.locations.instances.export", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Redis instance resource name using the form: `projects/{project_id}/locations/{location_id}/instances/{instance_id}` where `location_id` refers to a GCP region.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/instances/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+name}:export", +"request": { +"$ref": "ExportInstanceRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"failover": { +"description": "Initiates a failover of the primary node to current replica node for a specific STANDARD tier Cloud Memorystore for Redis instance.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/instances/{instancesId}:failover", +"httpMethod": "POST", +"id": "redis.projects.locations.instances.failover", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Redis instance resource name using the form: `projects/{project_id}/locations/{location_id}/instances/{instance_id}` where `location_id` refers to a GCP region.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/instances/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+name}:failover", +"request": { +"$ref": "FailoverInstanceRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets the details of a specific Redis instance.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/instances/{instancesId}", +"httpMethod": "GET", +"id": "redis.projects.locations.instances.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Redis instance resource name using the form: `projects/{project_id}/locations/{location_id}/instances/{instance_id}` where `location_id` refers to a GCP region.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/instances/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+name}", +"response": { +"$ref": "Instance" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"getAuthString": { +"description": "Gets the AUTH string for a Redis instance. If AUTH is not enabled for the instance the response will be empty. This information is not included in the details returned to GetInstance.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/instances/{instancesId}/authString", +"httpMethod": "GET", +"id": "redis.projects.locations.instances.getAuthString", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Redis instance resource name using the form: `projects/{project_id}/locations/{location_id}/instances/{instance_id}` where `location_id` refers to a GCP region.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/instances/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+name}/authString", +"response": { +"$ref": "InstanceAuthString" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"import": { +"description": "Import a Redis RDB snapshot file from Cloud Storage into a Redis instance. Redis may stop serving during this operation. Instance state will be IMPORTING for entire operation. When complete, the instance will contain only data from the imported file. The returned operation is automatically deleted after a few hours, so there is no need to call DeleteOperation.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/instances/{instancesId}:import", +"httpMethod": "POST", +"id": "redis.projects.locations.instances.import", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Redis instance resource name using the form: `projects/{project_id}/locations/{location_id}/instances/{instance_id}` where `location_id` refers to a GCP region.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/instances/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+name}:import", +"request": { +"$ref": "ImportInstanceRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists all Redis instances owned by a project in either the specified location (region) or all locations. The location should have the following format: * `projects/{project_id}/locations/{location_id}` If `location_id` is specified as `-` (wildcard), then all regions available to the project are queried, and the results are aggregated.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/instances", +"httpMethod": "GET", +"id": "redis.projects.locations.instances.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "The maximum number of items to return. If not specified, a default value of 1000 will be used by the service. Regardless of the page_size value, the response may include a partial list and a caller should only rely on response's `next_page_token` to determine if there are more instances left to be queried.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The `next_page_token` value returned from a previous ListInstances request, if any.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The resource name of the instance location using the form: `projects/{project_id}/locations/{location_id}` where `location_id` refers to a GCP region.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+parent}/instances", +"response": { +"$ref": "ListInstancesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates the metadata and configuration of a specific Redis instance. Completed longrunning.Operation will contain the new instance object in the response field. The returned operation is automatically deleted after a few hours, so there is no need to call DeleteOperation.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/instances/{instancesId}", +"httpMethod": "PATCH", +"id": "redis.projects.locations.instances.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Unique name of the resource in this scope including project and location using the form: `projects/{project_id}/locations/{location_id}/instances/{instance_id}` Note: Redis instances are managed and addressed at regional level so location_id here refers to a GCP region; however, users may choose which specific zone (or collection of zones for cross-zone instances) an instance should be provisioned in. Refer to location_id and alternative_location_id fields for more details.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/instances/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Required. Mask of fields to update. At least one path must be supplied in this field. The elements of the repeated paths field may only include these fields from Instance: * `displayName` * `labels` * `memorySizeGb` * `redisConfig` * `replica_count`", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1beta1/{+name}", +"request": { +"$ref": "Instance" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"rescheduleMaintenance": { +"description": "Reschedule maintenance for a given instance in a given project and location.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/instances/{instancesId}:rescheduleMaintenance", +"httpMethod": "POST", +"id": "redis.projects.locations.instances.rescheduleMaintenance", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Redis instance resource name using the form: `projects/{project_id}/locations/{location_id}/instances/{instance_id}` where `location_id` refers to a GCP region.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/instances/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+name}:rescheduleMaintenance", +"request": { +"$ref": "RescheduleMaintenanceRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"upgrade": { +"description": "Upgrades Redis instance to the newer Redis version specified in the request.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/instances/{instancesId}:upgrade", +"httpMethod": "POST", +"id": "redis.projects.locations.instances.upgrade", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Redis instance resource name using the form: `projects/{project_id}/locations/{location_id}/instances/{instance_id}` where `location_id` refers to a GCP region.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/instances/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+name}:upgrade", +"request": { +"$ref": "UpgradeInstanceRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"operations": { +"methods": { +"cancel": { +"description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}:cancel", +"httpMethod": "POST", +"id": "redis.projects.locations.operations.cancel", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be cancelled.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+name}:cancel", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}", +"httpMethod": "DELETE", +"id": "redis.projects.locations.operations.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be deleted.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+name}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}", +"httpMethod": "GET", +"id": "redis.projects.locations.operations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/operations", +"httpMethod": "GET", +"id": "redis.projects.locations.operations.list", +"parameterOrder": [ +"name" +], +"parameters": { +"filter": { +"description": "The standard list filter.", +"location": "query", +"type": "string" +}, +"name": { +"description": "The name of the operation's parent resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The standard list page size.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The standard list page token.", +"location": "query", +"type": "string" +}, +"returnPartialSuccess": { +"description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `\"projects/example/locations/-\"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1beta1/{+name}/operations", +"response": { +"$ref": "ListOperationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +} +} +} +}, +"revision": "20260210", +"rootUrl": "https://redis.googleapis.com/", +"schemas": { +"AOFConfig": { +"description": "Configuration of the AOF based persistence.", +"id": "AOFConfig", +"properties": { +"appendFsync": { +"description": "Optional. fsync configuration.", +"enum": [ +"APPEND_FSYNC_UNSPECIFIED", +"NO", +"EVERYSEC", +"ALWAYS" +], +"enumDescriptions": [ +"Not set. Default: EVERYSEC", +"Never fsync. Normally Linux will flush data every 30 seconds with this configuration, but it's up to the kernel's exact tuning.", +"fsync every second. Fast enough, and you may lose 1 second of data if there is a disaster", +"fsync every time new write commands are appended to the AOF. It has the best data loss protection at the cost of performance" +], +"type": "string" +} +}, +"type": "object" +}, +"AutomatedBackupConfig": { +"description": "The automated backup config for a cluster.", +"id": "AutomatedBackupConfig", +"properties": { +"automatedBackupMode": { +"description": "Optional. The automated backup mode. If the mode is disabled, the other fields will be ignored.", +"enum": [ +"AUTOMATED_BACKUP_MODE_UNSPECIFIED", +"DISABLED", +"ENABLED" +], +"enumDescriptions": [ +"Default value. Automated backup config is not specified.", +"Automated backup config disabled.", +"Automated backup config enabled." +], +"type": "string" +}, +"fixedFrequencySchedule": { +"$ref": "FixedFrequencySchedule", +"description": "Optional. Trigger automated backups at a fixed frequency." +}, +"retention": { +"description": "Optional. How long to keep automated backups before the backups are deleted. The value should be between 1 day and 365 days. If not specified, the default value is 35 days.", +"format": "google-duration", +"type": "string" +} +}, +"type": "object" +}, +"AvailabilityConfiguration": { +"description": "Configuration for availability of database instance", +"id": "AvailabilityConfiguration", +"properties": { +"automaticFailoverRoutingConfigured": { +"description": "Checks for existence of (multi-cluster) routing configuration that allows automatic failover to a different zone/region in case of an outage. Applicable to Bigtable resources.", +"type": "boolean" +}, +"availabilityType": { +"description": "Availability type. Potential values: * `ZONAL`: The instance serves data from only one zone. Outages in that zone affect data accessibility. * `REGIONAL`: The instance can serve data from more than one zone in a region (it is highly available).", +"enum": [ +"AVAILABILITY_TYPE_UNSPECIFIED", +"ZONAL", +"REGIONAL", +"MULTI_REGIONAL", +"AVAILABILITY_TYPE_OTHER" +], +"enumDescriptions": [ +"", +"Zonal available instance.", +"Regional available instance.", +"Multi regional instance", +"For rest of the other category" +], +"type": "string" +}, +"crossRegionReplicaConfigured": { +"description": "Checks for resources that are configured to have redundancy, and ongoing replication across regions", +"type": "boolean" +}, +"externalReplicaConfigured": { +"type": "boolean" +}, +"promotableReplicaConfigured": { +"type": "boolean" +} +}, +"type": "object" +}, +"Backup": { +"description": "Backup of a cluster.", +"id": "Backup", +"properties": { +"backupFiles": { +"description": "Output only. List of backup files of the backup.", +"items": { +"$ref": "BackupFile" +}, +"readOnly": true, +"type": "array" +}, +"backupType": { +"description": "Output only. Type of the backup.", +"enum": [ +"BACKUP_TYPE_UNSPECIFIED", +"ON_DEMAND", +"AUTOMATED" +], +"enumDescriptions": [ +"The default value, not set.", +"On-demand backup.", +"Automated backup." +], +"readOnly": true, +"type": "string" +}, +"cluster": { +"description": "Output only. Cluster resource path of this backup.", +"readOnly": true, +"type": "string" +}, +"clusterUid": { +"description": "Output only. Cluster uid of this backup.", +"readOnly": true, +"type": "string" +}, +"createTime": { +"description": "Output only. The time when the backup was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"encryptionInfo": { +"$ref": "EncryptionInfo", +"description": "Output only. Encryption information of the backup.", +"readOnly": true +}, +"engineVersion": { +"description": "Output only. redis-7.2, valkey-7.5", +"readOnly": true, +"type": "string" +}, +"expireTime": { +"description": "Output only. The time when the backup will expire.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"name": { +"description": "Identifier. Full resource path of the backup. the last part of the name is the backup id with the following format: [YYYYMMDDHHMMSS]_[Shorted Cluster UID] OR customer specified while backup cluster. Example: 20240515123000_1234", +"type": "string" +}, +"nodeType": { +"description": "Output only. Node type of the cluster.", +"enum": [ +"NODE_TYPE_UNSPECIFIED", +"REDIS_SHARED_CORE_NANO", +"REDIS_HIGHMEM_MEDIUM", +"REDIS_HIGHMEM_XLARGE", +"REDIS_STANDARD_SMALL" +], +"enumDescriptions": [ +"Node type unspecified", +"Redis shared core nano node_type.", +"Redis highmem medium node_type.", +"Redis highmem xlarge node_type.", +"Redis standard small node_type." +], +"readOnly": true, +"type": "string" +}, +"replicaCount": { +"description": "Output only. Number of replicas for the cluster.", +"format": "int32", +"readOnly": true, +"type": "integer" +}, +"shardCount": { +"description": "Output only. Number of shards for the cluster.", +"format": "int32", +"readOnly": true, +"type": "integer" +}, +"state": { +"description": "Output only. State of the backup.", +"enum": [ +"STATE_UNSPECIFIED", +"CREATING", +"ACTIVE", +"DELETING", +"SUSPENDED" +], +"enumDescriptions": [ +"The default value, not set.", +"The backup is being created.", +"The backup is active to be used.", +"The backup is being deleted.", +"The backup is currently suspended due to reasons like project deletion, billing account closure, etc." +], +"readOnly": true, +"type": "string" +}, +"totalSizeBytes": { +"description": "Output only. Total size of the backup in bytes.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"uid": { +"description": "Output only. System assigned unique identifier of the backup.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"BackupClusterRequest": { +"description": "Request for [BackupCluster].", +"id": "BackupClusterRequest", +"properties": { +"backupId": { +"description": "Optional. The id of the backup to be created. If not specified, the default value ([YYYYMMDDHHMMSS]_[Shortened Cluster UID] is used.", +"type": "string" +}, +"ttl": { +"description": "Optional. TTL for the backup to expire. Value range is 1 day to 100 years. If not specified, the default value is 100 years.", +"format": "google-duration", +"type": "string" +} +}, +"type": "object" +}, +"BackupCollection": { +"description": "BackupCollection of a cluster.", +"id": "BackupCollection", +"properties": { +"cluster": { +"description": "Output only. The full resource path of the cluster the backup collection belongs to. Example: projects/{project}/locations/{location}/clusters/{cluster}", +"readOnly": true, +"type": "string" +}, +"clusterUid": { +"description": "Output only. The cluster uid of the backup collection.", +"readOnly": true, +"type": "string" +}, +"createTime": { +"description": "Output only. The time when the backup collection was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"kmsKey": { +"description": "Output only. The KMS key used to encrypt the backups under this backup collection.", +"readOnly": true, +"type": "string" +}, +"lastBackupTime": { +"description": "Output only. The last time a backup was created in the backup collection.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"name": { +"description": "Identifier. Full resource path of the backup collection.", +"type": "string" +}, +"totalBackupCount": { +"description": "Output only. Total number of backups in the backup collection.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"totalBackupSizeBytes": { +"description": "Output only. Total size of all backups in the backup collection.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"uid": { +"description": "Output only. System assigned unique identifier of the backup collection.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"BackupConfiguration": { +"description": "Configuration for automatic backups", +"id": "BackupConfiguration", +"properties": { +"automatedBackupEnabled": { +"description": "Whether customer visible automated backups are enabled on the instance.", +"type": "boolean" +}, +"backupRetentionSettings": { +"$ref": "RetentionSettings", +"description": "Backup retention settings." +}, +"pointInTimeRecoveryEnabled": { +"description": "Whether point-in-time recovery is enabled. This is optional field, if the database service does not have this feature or metadata is not available in control plane, this can be omitted.", +"type": "boolean" +} +}, +"type": "object" +}, +"BackupDRConfiguration": { +"description": "BackupDRConfiguration to capture the backup and disaster recovery details of database resource.", +"id": "BackupDRConfiguration", +"properties": { +"backupdrManaged": { +"description": "Indicates if the resource is managed by BackupDR.", +"type": "boolean" +} +}, +"type": "object" +}, +"BackupDRMetadata": { +"description": "BackupDRMetadata contains information about the backup and disaster recovery metadata of a database resource.", +"id": "BackupDRMetadata", +"properties": { +"backupConfiguration": { +"$ref": "BackupConfiguration", +"description": "Backup configuration for this instance." +}, +"backupRun": { +"$ref": "BackupRun", +"description": "Latest backup run information for this instance." +}, +"backupdrConfiguration": { +"$ref": "BackupDRConfiguration", +"description": "BackupDR configuration for this instance." +}, +"fullResourceName": { +"description": "Required. Full resource name of this instance.", +"type": "string" +}, +"lastRefreshTime": { +"description": "Required. Last time backup configuration was refreshed.", +"format": "google-datetime", +"type": "string" +}, +"resourceId": { +"$ref": "DatabaseResourceId", +"description": "Required. Database resource id." +} +}, +"type": "object" +}, +"BackupFile": { +"description": "Backup is consisted of multiple backup files.", +"id": "BackupFile", +"properties": { +"createTime": { +"description": "Output only. The time when the backup file was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"fileName": { +"description": "Output only. e.g: .rdb", +"readOnly": true, +"type": "string" +}, +"sizeBytes": { +"description": "Output only. Size of the backup file in bytes.", +"format": "int64", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"BackupRun": { +"description": "A backup run.", +"id": "BackupRun", +"properties": { +"endTime": { +"description": "The time the backup operation completed. REQUIRED", +"format": "google-datetime", +"type": "string" +}, +"error": { +"$ref": "OperationError", +"description": "Information about why the backup operation failed. This is only present if the run has the FAILED status. OPTIONAL" +}, +"startTime": { +"description": "The time the backup operation started. REQUIRED", +"format": "google-datetime", +"type": "string" +}, +"status": { +"description": "The status of this run. REQUIRED", +"enum": [ +"STATUS_UNSPECIFIED", +"SUCCESSFUL", +"FAILED" +], +"enumDescriptions": [ +"", +"The backup was successful.", +"The backup was unsuccessful." +], +"type": "string" +} +}, +"type": "object" +}, +"CertChain": { +"id": "CertChain", +"properties": { +"certificates": { +"description": "The certificates that form the CA chain, from leaf to root order.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"CertificateAuthority": { +"description": "Redis cluster certificate authority", +"id": "CertificateAuthority", +"properties": { +"managedServerCa": { +"$ref": "ManagedCertificateAuthority" +}, +"name": { +"description": "Identifier. Unique name of the resource in this scope including project, location and cluster using the form: `projects/{project}/locations/{location}/clusters/{cluster}/certificateAuthority`", +"type": "string" +} +}, +"type": "object" +}, +"Cluster": { +"description": "A cluster instance.", +"id": "Cluster", +"properties": { +"allowFewerZonesDeployment": { +"deprecated": true, +"description": "Optional. Immutable. Deprecated, do not use.", +"type": "boolean" +}, +"asyncClusterEndpointsDeletionEnabled": { +"description": "Optional. If true, cluster endpoints that are created and registered by customers can be deleted asynchronously. That is, such a cluster endpoint can be de-registered before the forwarding rules in the cluster endpoint are deleted.", +"type": "boolean" +}, +"authorizationMode": { +"description": "Optional. The authorization mode of the Redis cluster. If not provided, auth feature is disabled for the cluster.", +"enum": [ +"AUTH_MODE_UNSPECIFIED", +"AUTH_MODE_IAM_AUTH", +"AUTH_MODE_DISABLED" +], +"enumDescriptions": [ +"Not set.", +"IAM basic authorization mode", +"Authorization disabled mode" +], +"type": "string" +}, +"automatedBackupConfig": { +"$ref": "AutomatedBackupConfig", +"description": "Optional. The automated backup config for the cluster." +}, +"availableMaintenanceVersions": { +"description": "Output only. This field is used to determine the available maintenance versions for the self service update.", +"items": { +"type": "string" +}, +"readOnly": true, +"type": "array" +}, +"backupCollection": { +"description": "Optional. Output only. The backup collection full resource name. Example: projects/{project}/locations/{location}/backupCollections/{collection}", +"readOnly": true, +"type": "string" +}, +"clusterEndpoints": { +"description": "Optional. A list of cluster endpoints.", +"items": { +"$ref": "ClusterEndpoint" +}, +"type": "array" +}, +"createTime": { +"description": "Output only. The timestamp associated with the cluster creation request.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"crossClusterReplicationConfig": { +"$ref": "CrossClusterReplicationConfig", +"description": "Optional. Cross cluster replication config." +}, +"deletionProtectionEnabled": { +"description": "Optional. The delete operation will fail when the value is set to true.", +"type": "boolean" +}, +"discoveryEndpoints": { +"description": "Output only. Endpoints created on each given network, for Redis clients to connect to the cluster. Currently only one discovery endpoint is supported.", +"items": { +"$ref": "DiscoveryEndpoint" +}, +"readOnly": true, +"type": "array" +}, +"effectiveMaintenanceVersion": { +"description": "Output only. This field represents the actual maintenance version of the cluster.", +"readOnly": true, +"type": "string" +}, +"encryptionInfo": { +"$ref": "EncryptionInfo", +"description": "Output only. Encryption information of the data at rest of the cluster.", +"readOnly": true +}, +"gcsSource": { +"$ref": "GcsBackupSource", +"description": "Optional. Backups stored in Cloud Storage buckets. The Cloud Storage buckets need to be the same region as the clusters. Read permission is required to import from the provided Cloud Storage objects." +}, +"kmsKey": { +"description": "Optional. The KMS key used to encrypt the at-rest data of the cluster.", +"type": "string" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. Labels to represent user-provided metadata.", +"type": "object" +}, +"maintenancePolicy": { +"$ref": "ClusterMaintenancePolicy", +"description": "Optional. ClusterMaintenancePolicy determines when to allow or deny updates." +}, +"maintenanceSchedule": { +"$ref": "ClusterMaintenanceSchedule", +"description": "Output only. ClusterMaintenanceSchedule Output only Published maintenance schedule.", +"readOnly": true +}, +"maintenanceVersion": { +"description": "Optional. This field can be used to trigger self service update to indicate the desired maintenance version. The input to this field can be determined by the available_maintenance_versions field.", +"type": "string" +}, +"managedBackupSource": { +"$ref": "ManagedBackupSource", +"description": "Optional. Backups generated and managed by memorystore service." +}, +"name": { +"description": "Required. Identifier. Unique name of the resource in this scope including project and location using the form: `projects/{project_id}/locations/{location_id}/clusters/{cluster_id}`", +"type": "string" +}, +"nodeType": { +"description": "Optional. The type of a redis node in the cluster. NodeType determines the underlying machine-type of a redis node.", +"enum": [ +"NODE_TYPE_UNSPECIFIED", +"REDIS_SHARED_CORE_NANO", +"REDIS_HIGHMEM_MEDIUM", +"REDIS_HIGHMEM_XLARGE", +"REDIS_STANDARD_SMALL" +], +"enumDescriptions": [ +"Node type unspecified", +"Redis shared core nano node_type.", +"Redis highmem medium node_type.", +"Redis highmem xlarge node_type.", +"Redis standard small node_type." +], +"type": "string" +}, +"ondemandMaintenance": { +"deprecated": true, +"description": "Optional. Input only. Ondemand maintenance for the cluster. This field can be used to trigger ondemand critical update on the cluster.", +"type": "boolean" +}, +"persistenceConfig": { +"$ref": "ClusterPersistenceConfig", +"description": "Optional. Persistence config (RDB, AOF) for the cluster." +}, +"preciseSizeGb": { +"description": "Output only. Precise value of redis memory size in GB for the entire cluster.", +"format": "double", +"readOnly": true, +"type": "number" +}, +"pscConfigs": { +"description": "Optional. Each PscConfig configures the consumer network where IPs will be designated to the cluster for client access through Private Service Connect Automation. Currently, only one PscConfig is supported.", +"items": { +"$ref": "PscConfig" +}, +"type": "array" +}, +"pscConnections": { +"description": "Output only. The list of PSC connections that are auto-created through service connectivity automation.", +"items": { +"$ref": "PscConnection" +}, +"readOnly": true, +"type": "array" +}, +"pscServiceAttachments": { +"description": "Output only. Service attachment details to configure Psc connections", +"items": { +"$ref": "PscServiceAttachment" +}, +"readOnly": true, +"type": "array" +}, +"redisConfigs": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. Key/Value pairs of customer overrides for mutable Redis Configs", +"type": "object" +}, +"replicaCount": { +"description": "Optional. The number of replica nodes per shard.", +"format": "int32", +"type": "integer" +}, +"rotateServerCertificate": { +"description": "Optional. Input only. Rotate the server certificates.", +"type": "boolean" +}, +"satisfiesPzi": { +"description": "Optional. Output only. Reserved for future use.", +"readOnly": true, +"type": "boolean" +}, +"satisfiesPzs": { +"description": "Optional. Output only. Reserved for future use.", +"readOnly": true, +"type": "boolean" +}, +"serverCaMode": { +"description": "Optional. Server CA mode for the cluster.", +"enum": [ +"SERVER_CA_MODE_UNSPECIFIED", +"SERVER_CA_MODE_GOOGLE_MANAGED_PER_INSTANCE_CA", +"SERVER_CA_MODE_GOOGLE_MANAGED_SHARED_CA", +"SERVER_CA_MODE_CUSTOMER_MANAGED_CAS_CA" +], +"enumDescriptions": [ +"Server CA mode not specified.", +"Each cluster has its own Google managed CA.", +"The cluster uses Google managed shared CA in the region.", +"The cluster uses customer managed CA from CAS." +], +"type": "string" +}, +"serverCaPool": { +"description": "Optional. Customer-managed CA pool for the cluster. Only applicable for BYOCA i.e. if server_ca_mode is SERVER_CA_MODE_CUSTOMER_MANAGED_CAS_CA. Format: \"projects/{project}/locations/{region}/caPools/{ca_pool}\".", +"type": "string" +}, +"shardCount": { +"description": "Optional. Number of shards for the Redis cluster.", +"format": "int32", +"type": "integer" +}, +"simulateMaintenanceEvent": { +"description": "Optional. Input only. Simulate a maintenance event.", +"type": "boolean" +}, +"sizeGb": { +"description": "Output only. Redis memory size in GB for the entire cluster rounded up to the next integer.", +"format": "int32", +"readOnly": true, +"type": "integer" +}, +"state": { +"description": "Output only. The current state of this cluster. Can be CREATING, READY, UPDATING, DELETING and SUSPENDED", +"enum": [ +"STATE_UNSPECIFIED", +"CREATING", +"ACTIVE", +"UPDATING", +"DELETING" +], +"enumDescriptions": [ +"Not set.", +"Redis cluster is being created.", +"Redis cluster has been created and is fully usable.", +"Redis cluster configuration is being updated.", +"Redis cluster is being deleted." +], +"readOnly": true, +"type": "string" +}, +"stateInfo": { +"$ref": "StateInfo", +"description": "Output only. Additional information about the current state of the cluster.", +"readOnly": true +}, +"transitEncryptionMode": { +"description": "Optional. The in-transit encryption for the Redis cluster. If not provided, encryption is disabled for the cluster.", +"enum": [ +"TRANSIT_ENCRYPTION_MODE_UNSPECIFIED", +"TRANSIT_ENCRYPTION_MODE_DISABLED", +"TRANSIT_ENCRYPTION_MODE_SERVER_AUTHENTICATION" +], +"enumDescriptions": [ +"In-transit encryption not set.", +"In-transit encryption disabled.", +"Use server managed encryption for in-transit encryption." +], +"type": "string" +}, +"uid": { +"description": "Output only. System assigned, unique identifier for the cluster.", +"readOnly": true, +"type": "string" +}, +"zoneDistributionConfig": { +"$ref": "ZoneDistributionConfig", +"description": "Optional. This config will be used to determine how the customer wants us to distribute cluster resources within the region." +} +}, +"type": "object" +}, +"ClusterEndpoint": { +"description": "ClusterEndpoint consists of PSC connections that are created as a group in each VPC network for accessing the cluster. In each group, there shall be one connection for each service attachment in the cluster.", +"id": "ClusterEndpoint", +"properties": { +"connections": { +"description": "Required. A group of PSC connections. They are created in the same VPC network, one for each service attachment in the cluster.", +"items": { +"$ref": "ConnectionDetail" +}, +"type": "array" +} +}, +"type": "object" +}, +"ClusterMaintenancePolicy": { +"description": "Maintenance policy per cluster.", +"id": "ClusterMaintenancePolicy", +"properties": { +"createTime": { +"description": "Output only. The time when the policy was created i.e. Maintenance Window or Deny Period was assigned.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"updateTime": { +"description": "Output only. The time when the policy was updated i.e. Maintenance Window or Deny Period was updated.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"weeklyMaintenanceWindow": { +"description": "Optional. Maintenance window that is applied to resources covered by this policy. Minimum 1. For the current version, the maximum number of weekly_maintenance_window is expected to be one.", +"items": { +"$ref": "ClusterWeeklyMaintenanceWindow" +}, +"type": "array" +} +}, +"type": "object" +}, +"ClusterMaintenanceSchedule": { +"description": "Upcoming maintenance schedule.", +"id": "ClusterMaintenanceSchedule", +"properties": { +"endTime": { +"description": "Output only. The end time of any upcoming scheduled maintenance for this instance.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"startTime": { +"description": "Output only. The start time of any upcoming scheduled maintenance for this instance.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"ClusterPersistenceConfig": { +"description": "Configuration of the persistence functionality.", +"id": "ClusterPersistenceConfig", +"properties": { +"aofConfig": { +"$ref": "AOFConfig", +"description": "Optional. AOF configuration. This field will be ignored if mode is not AOF." +}, +"mode": { +"description": "Optional. The mode of persistence.", +"enum": [ +"PERSISTENCE_MODE_UNSPECIFIED", +"DISABLED", +"RDB", +"AOF" +], +"enumDescriptions": [ +"Not set.", +"Persistence is disabled, and any snapshot data is deleted.", +"RDB based persistence is enabled.", +"AOF based persistence is enabled." +], +"type": "string" +}, +"rdbConfig": { +"$ref": "RDBConfig", +"description": "Optional. RDB configuration. This field will be ignored if mode is not RDB." +} +}, +"type": "object" +}, +"ClusterWeeklyMaintenanceWindow": { +"description": "Time window specified for weekly operations.", +"id": "ClusterWeeklyMaintenanceWindow", +"properties": { +"day": { +"description": "Optional. Allows to define schedule that runs specified day of the week.", +"enum": [ +"DAY_OF_WEEK_UNSPECIFIED", +"MONDAY", +"TUESDAY", +"WEDNESDAY", +"THURSDAY", +"FRIDAY", +"SATURDAY", +"SUNDAY" +], +"enumDescriptions": [ +"The day of the week is unspecified.", +"Monday", +"Tuesday", +"Wednesday", +"Thursday", +"Friday", +"Saturday", +"Sunday" +], +"type": "string" +}, +"startTime": { +"$ref": "TimeOfDay", +"description": "Optional. Start time of the window in UTC." +} +}, +"type": "object" +}, +"Compliance": { +"description": "Contains compliance information about a security standard indicating unmet recommendations.", +"id": "Compliance", +"properties": { +"standard": { +"description": "Industry-wide compliance standards or benchmarks, such as CIS, PCI, and OWASP.", +"type": "string" +}, +"version": { +"description": "Version of the standard or benchmark, for example, 1.1", +"type": "string" +} +}, +"type": "object" +}, +"ConfigBasedSignalData": { +"description": "Config based signal data. This is used to send signals to Condor which are based on the DB level configurations. These will be used to send signals for self managed databases.", +"id": "ConfigBasedSignalData", +"properties": { +"fullResourceName": { +"description": "Required. Full Resource name of the source resource.", +"type": "string" +}, +"lastRefreshTime": { +"description": "Required. Last time signal was refreshed", +"format": "google-datetime", +"type": "string" +}, +"resourceId": { +"$ref": "DatabaseResourceId", +"description": "Database resource id." +}, +"signalBoolValue": { +"description": "Signal data for boolean signals.", +"type": "boolean" +}, +"signalType": { +"description": "Required. Signal type of the signal", +"enum": [ +"SIGNAL_TYPE_UNSPECIFIED", +"SIGNAL_TYPE_OUTDATED_MINOR_VERSION", +"SIGNAL_TYPE_DATABASE_AUDITING_DISABLED", +"SIGNAL_TYPE_NO_ROOT_PASSWORD", +"SIGNAL_TYPE_EXPOSED_TO_PUBLIC_ACCESS", +"SIGNAL_TYPE_UNENCRYPTED_CONNECTIONS", +"SIGNAL_TYPE_EXTENDED_SUPPORT", +"SIGNAL_TYPE_NO_AUTOMATED_BACKUP_POLICY" +], +"enumDescriptions": [ +"Unspecified signal type.", +"Outdated Minor Version", +"Represents database auditing is disabled.", +"Represents if a database has a password configured for the root account or not.", +"Represents if a resource is exposed to public access.", +"Represents if a resources requires all incoming connections to use SSL or not.", +"Represents if a resource version is in extended support.", +"Represents if a resource has no automated backup policy." +], +"type": "string" +} +}, +"type": "object" +}, +"ConnectionDetail": { +"description": "Detailed information of each PSC connection.", +"id": "ConnectionDetail", +"properties": { +"pscAutoConnection": { +"$ref": "PscAutoConnection", +"description": "Detailed information of a PSC connection that is created through service connectivity automation." +}, +"pscConnection": { +"$ref": "PscConnection", +"description": "Detailed information of a PSC connection that is created by the customer who owns the cluster." +} +}, +"type": "object" +}, +"CrossClusterReplicationConfig": { +"description": "Cross cluster replication config.", +"id": "CrossClusterReplicationConfig", +"properties": { +"clusterRole": { +"description": "Output only. The role of the cluster in cross cluster replication.", +"enum": [ +"CLUSTER_ROLE_UNSPECIFIED", +"NONE", +"PRIMARY", +"SECONDARY" +], +"enumDescriptions": [ +"Cluster role is not set. The behavior is equivalent to NONE.", +"This cluster does not participate in cross cluster replication. It is an independent cluster and does not replicate to or from any other clusters.", +"A cluster that allows both reads and writes. Any data written to this cluster is also replicated to the attached secondary clusters.", +"A cluster that allows only reads and replicates data from a primary cluster." +], +"readOnly": true, +"type": "string" +}, +"membership": { +"$ref": "Membership", +"description": "Output only. An output only view of all the member clusters participating in the cross cluster replication. This view will be provided by every member cluster irrespective of its cluster role(primary or secondary). A primary cluster can provide information about all the secondary clusters replicating from it. However, a secondary cluster only knows about the primary cluster from which it is replicating. However, for scenarios, where the primary cluster is unavailable(e.g. regional outage), a GetCluster request can be sent to any other member cluster and this field will list all the member clusters participating in cross cluster replication.", +"readOnly": true +}, +"primaryCluster": { +"$ref": "RemoteCluster", +"description": "Details of the primary cluster that is used as the replication source for this secondary cluster. This field is only set for a secondary cluster." +}, +"secondaryClusters": { +"description": "List of secondary clusters that are replicating from this primary cluster. This field is only set for a primary cluster.", +"items": { +"$ref": "RemoteCluster" +}, +"type": "array" +}, +"updateTime": { +"description": "Output only. The last time cross cluster replication config was updated.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"CustomMetadataData": { +"description": "Any custom metadata associated with the resource. e.g. A spanner instance can have multiple databases with its own unique metadata. Information for these individual databases can be captured in custom metadata data", +"id": "CustomMetadataData", +"properties": { +"internalResourceMetadata": { +"description": "Metadata for individual internal resources in an instance. e.g. spanner instance can have multiple databases with unique configuration.", +"items": { +"$ref": "InternalResourceMetadata" +}, +"type": "array" +} +}, +"type": "object" +}, +"DatabaseResourceFeed": { +"description": "DatabaseResourceFeed is the top level proto to be used to ingest different database resource level events into Condor platform. Next ID: 13", +"id": "DatabaseResourceFeed", +"properties": { +"backupdrMetadata": { +"$ref": "BackupDRMetadata", +"description": "BackupDR metadata is used to ingest metadata from BackupDR." +}, +"configBasedSignalData": { +"$ref": "ConfigBasedSignalData", +"description": "Config based signal data is used to ingest signals that are generated based on the configuration of the database resource." +}, +"databaseResourceSignalData": { +"$ref": "DatabaseResourceSignalData", +"description": "Database resource signal data is used to ingest signals from database resource signal feeds." +}, +"feedTimestamp": { +"description": "Required. Timestamp when feed is generated.", +"format": "google-datetime", +"type": "string" +}, +"feedType": { +"description": "Required. Type feed to be ingested into condor", +"enum": [ +"FEEDTYPE_UNSPECIFIED", +"RESOURCE_METADATA", +"OBSERVABILITY_DATA", +"SECURITY_FINDING_DATA", +"RECOMMENDATION_SIGNAL_DATA", +"CONFIG_BASED_SIGNAL_DATA", +"BACKUPDR_METADATA", +"DATABASE_RESOURCE_SIGNAL_DATA" +], +"enumDescriptions": [ +"", +"Database resource metadata feed from control plane", +"Database resource monitoring data", +"Database resource security health signal data", +"Database resource recommendation signal data", +"Database config based signal data", +"Database resource metadata from BackupDR", +"Database resource signal data" +], +"type": "string" +}, +"observabilityMetricData": { +"$ref": "ObservabilityMetricData" +}, +"recommendationSignalData": { +"$ref": "DatabaseResourceRecommendationSignalData" +}, +"resourceHealthSignalData": { +"$ref": "DatabaseResourceHealthSignalData" +}, +"resourceId": { +"$ref": "DatabaseResourceId", +"deprecated": true, +"description": "Primary key associated with the Resource. resource_id is available in individual feed level as well." +}, +"resourceMetadata": { +"$ref": "DatabaseResourceMetadata" +}, +"skipIngestion": { +"description": "Optional. If true, the feed won't be ingested by DB Center. This indicates that the feed is intentionally skipped. For example, BackupDR feeds are only needed for resources integrated with DB Center (e.g., CloudSQL, AlloyDB). Feeds for non-integrated resources (e.g., Compute Engine, Persistent Disk) can be skipped.", +"type": "boolean" +} +}, +"type": "object" +}, +"DatabaseResourceHealthSignalData": { +"description": "Common model for database resource health signal data.", +"id": "DatabaseResourceHealthSignalData", +"properties": { +"additionalMetadata": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"description": "Any other additional metadata", +"type": "object" +}, +"compliance": { +"description": "Industry standards associated with this signal; if this signal is an issue, that could be a violation of the associated industry standard(s). For example, AUTO_BACKUP_DISABLED signal is associated with CIS GCP 1.1, CIS GCP 1.2, CIS GCP 1.3, NIST 800-53 and ISO-27001 compliance standards. If a database resource does not have automated backup enable, it will violate these following industry standards.", +"items": { +"$ref": "Compliance" +}, +"type": "array" +}, +"description": { +"description": "Description associated with signal", +"type": "string" +}, +"eventTime": { +"description": "Required. The last time at which the event described by this signal took place", +"format": "google-datetime", +"type": "string" +}, +"externalUri": { +"description": "The external-uri of the signal, using which more information about this signal can be obtained. In GCP, this will take user to SCC page to get more details about signals.", +"type": "string" +}, +"location": { +"description": "This is used to identify the location of the resource. Example: \"us-central1\"", +"type": "string" +}, +"name": { +"description": "Required. The name of the signal, ex: PUBLIC_SQL_INSTANCE, SQL_LOG_ERROR_VERBOSITY etc.", +"type": "string" +}, +"provider": { +"description": "Cloud provider name. Ex: GCP/AWS/Azure/OnPrem/SelfManaged", +"enum": [ +"PROVIDER_UNSPECIFIED", +"GCP", +"AWS", +"AZURE", +"ONPREM", +"SELFMANAGED", +"PROVIDER_OTHER" +], +"enumDescriptions": [ +"", +"Google cloud platform provider", +"Amazon web service", +"Azure web service", +"On-prem database resources.", +"Self-managed database provider. These are resources on a cloud platform, e.g., database resource installed in a GCE VM, but not a managed database service.", +"For the rest of the other categories. Other refers to the rest of other database service providers, this could be smaller cloud provider. This needs to be provided when the provider is known, but it is not present in the existing set of enum values." +], +"type": "string" +}, +"resourceContainer": { +"description": "Closest parent container of this resource. In GCP, 'container' refers to a Cloud Resource Manager project. It must be resource name of a Cloud Resource Manager project with the format of \"provider//\", such as \"projects/123\". For GCP provided resources, number should be project number.", +"type": "string" +}, +"resourceName": { +"description": "Required. Database resource name associated with the signal. Resource name to follow CAIS resource_name format as noted here go/condor-common-datamodel", +"type": "string" +}, +"signalClass": { +"description": "Required. The class of the signal, such as if it's a THREAT or VULNERABILITY.", +"enum": [ +"CLASS_UNSPECIFIED", +"THREAT", +"VULNERABILITY", +"MISCONFIGURATION", +"OBSERVATION", +"ERROR" +], +"enumDescriptions": [ +"Unspecified signal class.", +"Describes unwanted or malicious activity.", +"Describes a potential weakness in software that increases risk to Confidentiality & Integrity & Availability.", +"Describes a potential weakness in cloud resource/asset configuration that increases risk.", +"Describes a security observation that is for informational purposes.", +"Describes an error that prevents some SCC functionality." +], +"type": "string" +}, +"signalId": { +"description": "Required. Unique identifier for the signal. This is an unique id which would be mainatined by partner to identify a signal.", +"type": "string" +}, +"signalSeverity": { +"description": "The severity of the signal, such as if it's a HIGH or LOW severity.", +"enum": [ +"SIGNAL_SEVERITY_UNSPECIFIED", +"CRITICAL", +"HIGH", +"MEDIUM", +"LOW" +], +"enumDescriptions": [ +"This value is used for findings when a source doesn't write a severity value.", +"A critical vulnerability is easily discoverable by an external actor, exploitable.", +"A high risk vulnerability can be easily discovered and exploited in combination with other vulnerabilities.", +"A medium risk vulnerability could be used by an actor to gain access to resources or privileges that enable them to eventually gain access and the ability to execute arbitrary code or exfiltrate data.", +"A low risk vulnerability hampers a security organization's ability to detect vulnerabilities or active threats in their deployment." +], +"type": "string" +}, +"signalType": { +"description": "Required. Type of signal, for example, `AVAILABLE_IN_MULTIPLE_ZONES`, `LOGGING_MOST_ERRORS`, etc.", +"enum": [ +"SIGNAL_TYPE_UNSPECIFIED", +"SIGNAL_TYPE_NOT_PROTECTED_BY_AUTOMATIC_FAILOVER", +"SIGNAL_TYPE_GROUP_NOT_REPLICATING_ACROSS_REGIONS", +"SIGNAL_TYPE_NOT_AVAILABLE_IN_MULTIPLE_ZONES", +"SIGNAL_TYPE_NOT_AVAILABLE_IN_MULTIPLE_REGIONS", +"SIGNAL_TYPE_NO_PROMOTABLE_REPLICA", +"SIGNAL_TYPE_NO_AUTOMATED_BACKUP_POLICY", +"SIGNAL_TYPE_SHORT_BACKUP_RETENTION", +"SIGNAL_TYPE_LAST_BACKUP_FAILED", +"SIGNAL_TYPE_LAST_BACKUP_OLD", +"SIGNAL_TYPE_VIOLATES_CIS_GCP_FOUNDATION_2_0", +"SIGNAL_TYPE_VIOLATES_CIS_GCP_FOUNDATION_1_3", +"SIGNAL_TYPE_VIOLATES_CIS_GCP_FOUNDATION_1_2", +"SIGNAL_TYPE_VIOLATES_CIS_GCP_FOUNDATION_1_1", +"SIGNAL_TYPE_VIOLATES_CIS_GCP_FOUNDATION_1_0", +"SIGNAL_TYPE_VIOLATES_CIS_CONTROLS_V8_0", +"SIGNAL_TYPE_VIOLATES_NIST_800_53", +"SIGNAL_TYPE_VIOLATES_NIST_800_53_R5", +"SIGNAL_TYPE_VIOLATES_NIST_CYBERSECURITY_FRAMEWORK_V1_0", +"SIGNAL_TYPE_VIOLATES_ISO_27001", +"SIGNAL_TYPE_VIOLATES_ISO_27001_V2022", +"SIGNAL_TYPE_VIOLATES_PCI_DSS_V3_2_1", +"SIGNAL_TYPE_VIOLATES_PCI_DSS_V4_0", +"SIGNAL_TYPE_VIOLATES_CLOUD_CONTROLS_MATRIX_V4", +"SIGNAL_TYPE_VIOLATES_HIPAA", +"SIGNAL_TYPE_VIOLATES_SOC2_V2017", +"SIGNAL_TYPE_LOGS_NOT_OPTIMIZED_FOR_TROUBLESHOOTING", +"SIGNAL_TYPE_QUERY_DURATIONS_NOT_LOGGED", +"SIGNAL_TYPE_VERBOSE_ERROR_LOGGING", +"SIGNAL_TYPE_QUERY_LOCK_WAITS_NOT_LOGGED", +"SIGNAL_TYPE_LOGGING_MOST_ERRORS", +"SIGNAL_TYPE_LOGGING_ONLY_CRITICAL_ERRORS", +"SIGNAL_TYPE_MINIMAL_ERROR_LOGGING", +"SIGNAL_TYPE_QUERY_STATISTICS_LOGGED", +"SIGNAL_TYPE_EXCESSIVE_LOGGING_OF_CLIENT_HOSTNAME", +"SIGNAL_TYPE_EXCESSIVE_LOGGING_OF_PARSER_STATISTICS", +"SIGNAL_TYPE_EXCESSIVE_LOGGING_OF_PLANNER_STATISTICS", +"SIGNAL_TYPE_NOT_LOGGING_ONLY_DDL_STATEMENTS", +"SIGNAL_TYPE_LOGGING_QUERY_STATISTICS", +"SIGNAL_TYPE_NOT_LOGGING_TEMPORARY_FILES", +"SIGNAL_TYPE_CONNECTION_MAX_NOT_CONFIGURED", +"SIGNAL_TYPE_USER_OPTIONS_CONFIGURED", +"SIGNAL_TYPE_EXPOSED_TO_PUBLIC_ACCESS", +"SIGNAL_TYPE_UNENCRYPTED_CONNECTIONS", +"SIGNAL_TYPE_NO_ROOT_PASSWORD", +"SIGNAL_TYPE_WEAK_ROOT_PASSWORD", +"SIGNAL_TYPE_ENCRYPTION_KEY_NOT_CUSTOMER_MANAGED", +"SIGNAL_TYPE_SERVER_AUTHENTICATION_NOT_REQUIRED", +"SIGNAL_TYPE_EXPOSED_BY_OWNERSHIP_CHAINING", +"SIGNAL_TYPE_EXPOSED_TO_EXTERNAL_SCRIPTS", +"SIGNAL_TYPE_EXPOSED_TO_LOCAL_DATA_LOADS", +"SIGNAL_TYPE_CONNECTION_ATTEMPTS_NOT_LOGGED", +"SIGNAL_TYPE_DISCONNECTIONS_NOT_LOGGED", +"SIGNAL_TYPE_LOGGING_EXCESSIVE_STATEMENT_INFO", +"SIGNAL_TYPE_EXPOSED_TO_REMOTE_ACCESS", +"SIGNAL_TYPE_DATABASE_NAMES_EXPOSED", +"SIGNAL_TYPE_SENSITIVE_TRACE_INFO_NOT_MASKED", +"SIGNAL_TYPE_PUBLIC_IP_ENABLED", +"SIGNAL_TYPE_IDLE", +"SIGNAL_TYPE_OVERPROVISIONED", +"SIGNAL_TYPE_HIGH_NUMBER_OF_OPEN_TABLES", +"SIGNAL_TYPE_HIGH_NUMBER_OF_TABLES", +"SIGNAL_TYPE_HIGH_TRANSACTION_ID_UTILIZATION", +"SIGNAL_TYPE_UNDERPROVISIONED", +"SIGNAL_TYPE_OUT_OF_DISK", +"SIGNAL_TYPE_SERVER_CERTIFICATE_NEAR_EXPIRY", +"SIGNAL_TYPE_DATABASE_AUDITING_DISABLED", +"SIGNAL_TYPE_RESTRICT_AUTHORIZED_NETWORKS", +"SIGNAL_TYPE_VIOLATE_POLICY_RESTRICT_PUBLIC_IP", +"SIGNAL_TYPE_QUOTA_LIMIT", +"SIGNAL_TYPE_NO_PASSWORD_POLICY", +"SIGNAL_TYPE_CONNECTIONS_PERFORMANCE_IMPACT", +"SIGNAL_TYPE_TMP_TABLES_PERFORMANCE_IMPACT", +"SIGNAL_TYPE_TRANS_LOGS_PERFORMANCE_IMPACT", +"SIGNAL_TYPE_HIGH_JOINS_WITHOUT_INDEXES", +"SIGNAL_TYPE_SUPERUSER_WRITING_TO_USER_TABLES", +"SIGNAL_TYPE_USER_GRANTED_ALL_PERMISSIONS", +"SIGNAL_TYPE_DATA_EXPORT_TO_EXTERNAL_CLOUD_STORAGE_BUCKET", +"SIGNAL_TYPE_DATA_EXPORT_TO_PUBLIC_CLOUD_STORAGE_BUCKET", +"SIGNAL_TYPE_WEAK_PASSWORD_HASH_ALGORITHM", +"SIGNAL_TYPE_NO_USER_PASSWORD_POLICY", +"SIGNAL_TYPE_HOT_NODE", +"SIGNAL_TYPE_NO_POINT_IN_TIME_RECOVERY", +"SIGNAL_TYPE_RESOURCE_SUSPENDED", +"SIGNAL_TYPE_EXPENSIVE_COMMANDS", +"SIGNAL_TYPE_NO_MAINTENANCE_POLICY_CONFIGURED", +"SIGNAL_TYPE_NO_DELETION_PROTECTION", +"SIGNAL_TYPE_INEFFICIENT_QUERY", +"SIGNAL_TYPE_READ_INTENSIVE_WORKLOAD", +"SIGNAL_TYPE_MEMORY_LIMIT", +"SIGNAL_TYPE_MAX_SERVER_MEMORY", +"SIGNAL_TYPE_LARGE_ROWS", +"SIGNAL_TYPE_HIGH_WRITE_PRESSURE", +"SIGNAL_TYPE_HIGH_READ_PRESSURE", +"SIGNAL_TYPE_ENCRYPTION_ORG_POLICY_NOT_SATISFIED", +"SIGNAL_TYPE_LOCATION_ORG_POLICY_NOT_SATISFIED", +"SIGNAL_TYPE_OUTDATED_MINOR_VERSION", +"SIGNAL_TYPE_SCHEMA_NOT_OPTIMIZED", +"SIGNAL_TYPE_MANY_IDLE_CONNECTIONS", +"SIGNAL_TYPE_REPLICATION_LAG", +"SIGNAL_TYPE_OUTDATED_VERSION", +"SIGNAL_TYPE_OUTDATED_CLIENT", +"SIGNAL_TYPE_DATABOOST_DISABLED", +"SIGNAL_TYPE_RECOMMENDED_MAINTENANCE_POLICIES", +"SIGNAL_TYPE_EXTENDED_SUPPORT", +"SIGNAL_TYPE_PERFORMANCE_KPI_CHANGE" +], +"enumDeprecated": [ +false, +false, +false, +true, +true, +true, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +true, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +true, +false, +false, +false, +false, +false, +false, +false +], +"enumDescriptions": [ +"Unspecified.", +"Represents if a resource is protected by automatic failover. Checks for resources that are configured to have redundancy within a region that enables automatic failover.", +"Represents if a group is replicating across regions. Checks for resources that are configured to have redundancy, and ongoing replication, across regions.", +"Represents if the resource is available in multiple zones or not.", +"Represents if a resource is available in multiple regions.", +"Represents if a resource has a promotable replica.", +"Represents if a resource has an automated backup policy.", +"Represents if a resources has a short backup retention period.", +"Represents if the last backup of a resource failed.", +"Represents if the last backup of a resource is older than some threshold value.", +"Represents if a resource violates CIS GCP Foundation 2.0.", +"Represents if a resource violates CIS GCP Foundation 1.3.", +"Represents if a resource violates CIS GCP Foundation 1.2.", +"Represents if a resource violates CIS GCP Foundation 1.1.", +"Represents if a resource violates CIS GCP Foundation 1.0.", +"Represents if a resource violates CIS Controls 8.0.", +"Represents if a resource violates NIST 800-53.", +"Represents if a resource violates NIST 800-53 R5.", +"Represents if a resource violates NIST Cybersecurity Framework 1.0.", +"Represents if a resource violates ISO-27001.", +"Represents if a resource violates ISO 27001 2022.", +"Represents if a resource violates PCI-DSS v3.2.1.", +"Represents if a resource violates PCI-DSS v4.0.", +"Represents if a resource violates Cloud Controls Matrix v4.0.", +"Represents if a resource violates HIPAA.", +"Represents if a resource violates SOC2 v2017.", +"Represents if log_checkpoints database flag for a Cloud SQL for PostgreSQL instance is not set to on.", +"Represents if the log_duration database flag for a Cloud SQL for PostgreSQL instance is not set to on.", +"Represents if the log_error_verbosity database flag for a Cloud SQL for PostgreSQL instance is not set to default or stricter (default or terse).", +"Represents if the log_lock_waits database flag for a Cloud SQL for PostgreSQL instance is not set to on.", +"Represents if the log_min_error_statement database flag for a Cloud SQL for PostgreSQL instance is not set appropriately.", +"Represents if the log_min_error_statement database flag for a Cloud SQL for PostgreSQL instance does not have an appropriate severity level.", +"Represents if the log_min_messages database flag for a Cloud SQL for PostgreSQL instance is not set to warning or another recommended value.", +"Represents if the databaseFlags property of instance metadata for the log_executor_status field is set to on.", +"Represents if the log_hostname database flag for a Cloud SQL for PostgreSQL instance is not set to off.", +"Represents if the log_parser_stats database flag for a Cloud SQL for PostgreSQL instance is not set to off.", +"Represents if the log_planner_stats database flag for a Cloud SQL for PostgreSQL instance is not set to off.", +"Represents if the log_statement database flag for a Cloud SQL for PostgreSQL instance is not set to DDL (all data definition statements).", +"Represents if the log_statement_stats database flag for a Cloud SQL for PostgreSQL instance is not set to off.", +"Represents if the log_temp_files database flag for a Cloud SQL for PostgreSQL instance is not set to \"0\". (NOTE: 0 = ON)", +"Represents if the user connections database flag for a Cloud SQL for SQL Server instance is configured.", +"Represents if the user options database flag for Cloud SQL SQL Server instance is configured or not.", +"Represents if a resource is exposed to public access.", +"Represents if a resources requires all incoming connections to use SSL or not.", +"Represents if a Cloud SQL database has a password configured for the root account or not.", +"Represents if a Cloud SQL database has a weak password configured for the root account.", +"Represents if a SQL database instance is not encrypted with customer-managed encryption keys (CMEK).", +"Represents if The contained database authentication database flag for a Cloud SQL for SQL Server instance is not set to off.", +"Represents if the cross_db_ownership_chaining database flag for a Cloud SQL for SQL Server instance is not set to off.", +"Represents if he external scripts enabled database flag for a Cloud SQL for SQL Server instance is not set to off.", +"Represents if the local_infile database flag for a Cloud SQL for MySQL instance is not set to off.", +"Represents if the log_connections database flag for a Cloud SQL for PostgreSQL instance is not set to on.", +"Represents if the log_disconnections database flag for a Cloud SQL for PostgreSQL instance is not set to on.", +"Represents if the log_min_duration_statement database flag for a Cloud SQL for PostgreSQL instance is not set to -1.", +"Represents if the remote access database flag for a Cloud SQL for SQL Server instance is not set to off.", +"Represents if the skip_show_database database flag for a Cloud SQL for MySQL instance is not set to on.", +"Represents if the 3625 (trace flag) database flag for a Cloud SQL for SQL Server instance is not set to on.", +"Represents if public IP is enabled.", +"Represents Idle instance helps to reduce costs.", +"Represents instances that are unnecessarily large for given workload.", +"Represents high number of concurrently opened tables.", +"Represents high table count close to SLA limit.", +"Represents high number of unvacuumed transactions", +"Represents need for more CPU and/or memory", +"Represents out of disk.", +"Represents server certificate is near expiry.", +"Represents database auditing is disabled.", +"Represents not restricted to authorized networks.", +"Represents violate org policy restrict public ip.", +"Cluster nearing quota limit", +"No password policy set on resources", +"Performance impact of connections settings", +"Performance impact of temporary tables settings", +"Performance impact of transaction logs settings", +"Performance impact of high joins without indexes", +"Detects events where a Cloud SQL superuser (postgres for PostgreSQL servers or root for MySQL users) writes to non-system tables.", +"Detects events where a database user or role has been granted all privileges to a database, or to all tables, procedures, or functions in a schema.", +"Detects if database instance data exported to a Cloud Storage bucket outside of the organization.", +"Detects if database instance data exported to a Cloud Storage bucket that is owned by the organization and is publicly accessible.", +"Detects if a database instance is using a weak password hash algorithm.", +"Detects if a database instance has no user password policy set.", +"Detects if a database instance/cluster has a hot node.", +"Detects if a database instance has no point in time recovery enabled.", +"Detects if a database instance/cluster is suspended.", +"Detects that expensive commands are being run on a database instance impacting overall performance.", +"Indicates that the instance does not have a maintenance policy configured.", +"Deletion Protection Disabled for the resource", +"Indicates that the instance has inefficient queries detected.", +"Indicates that the instance has read intensive workload.", +"Indicates that the instance is nearing memory limit.", +"Indicates that the instance's max server memory is configured higher than the recommended value.", +"Indicates that the database has large rows beyond the recommended limit.", +"Heavy write pressure on the database rows.", +"Heavy read pressure on the database rows.", +"Encryption org policy not satisfied.", +"Location org policy not satisfied.", +"Outdated DB minor version.", +"Schema not optimized.", +"High number of idle connections.", +"Replication delay.", +"Outdated version.", +"Outdated client.", +"Databoost is disabled.", +"Recommended maintenance policy.", +"Resource version is in extended support.", +"Change in performance KPIs." +], +"type": "string" +}, +"state": { +"enum": [ +"STATE_UNSPECIFIED", +"ACTIVE", +"RESOLVED", +"MUTED" +], +"enumDescriptions": [ +"Unspecified state.", +"The signal requires attention and has not been addressed yet.", +"The signal has been fixed, triaged as a non-issue or otherwise addressed and is no longer active.", +"The signal has been muted." +], +"type": "string" +} +}, +"type": "object" +}, +"DatabaseResourceId": { +"description": "DatabaseResourceId will serve as primary key for any resource ingestion event.", +"id": "DatabaseResourceId", +"properties": { +"provider": { +"description": "Required. Cloud provider name. Ex: GCP/AWS/Azure/OnPrem/SelfManaged", +"enum": [ +"PROVIDER_UNSPECIFIED", +"GCP", +"AWS", +"AZURE", +"ONPREM", +"SELFMANAGED", +"PROVIDER_OTHER" +], +"enumDescriptions": [ +"", +"Google cloud platform provider", +"Amazon web service", +"Azure web service", +"On-prem database resources.", +"Self-managed database provider. These are resources on a cloud platform, e.g., database resource installed in a GCE VM, but not a managed database service.", +"For the rest of the other categories. Other refers to the rest of other database service providers, this could be smaller cloud provider. This needs to be provided when the provider is known, but it is not present in the existing set of enum values." +], +"type": "string" +}, +"providerDescription": { +"description": "Optional. Needs to be used only when the provider is PROVIDER_OTHER.", +"type": "string" +}, +"resourceType": { +"description": "Required. The type of resource this ID is identifying. Ex go/keep-sorted start alloydb.googleapis.com/Cluster, alloydb.googleapis.com/Instance, bigtableadmin.googleapis.com/Cluster, bigtableadmin.googleapis.com/Instance compute.googleapis.com/Instance firestore.googleapis.com/Database, redis.googleapis.com/Instance, redis.googleapis.com/Cluster, oracledatabase.googleapis.com/CloudExadataInfrastructure oracledatabase.googleapis.com/CloudVmCluster oracledatabase.googleapis.com/AutonomousDatabase spanner.googleapis.com/Instance, spanner.googleapis.com/Database, sqladmin.googleapis.com/Instance, go/keep-sorted end REQUIRED Please refer go/condor-common-datamodel", +"type": "string" +}, +"uniqueId": { +"description": "Required. A service-local token that distinguishes this resource from other resources within the same service.", +"type": "string" +} +}, +"type": "object" +}, +"DatabaseResourceMetadata": { +"description": "Common model for database resource instance metadata. Next ID: 31", +"id": "DatabaseResourceMetadata", +"properties": { +"availabilityConfiguration": { +"$ref": "AvailabilityConfiguration", +"description": "Availability configuration for this instance" +}, +"backupConfiguration": { +"$ref": "BackupConfiguration", +"description": "Backup configuration for this instance" +}, +"backupRun": { +"$ref": "BackupRun", +"description": "Latest backup run information for this instance" +}, +"backupdrConfiguration": { +"$ref": "BackupDRConfiguration", +"description": "Optional. BackupDR Configuration for the resource." +}, +"creationTime": { +"description": "The creation time of the resource, i.e. the time when resource is created and recorded in partner service.", +"format": "google-datetime", +"type": "string" +}, +"currentState": { +"description": "Current state of the instance.", +"enum": [ +"STATE_UNSPECIFIED", +"HEALTHY", +"UNHEALTHY", +"SUSPENDED", +"DELETED", +"STATE_OTHER", +"STOPPED" +], +"enumDescriptions": [ +"", +"The instance is running.", +"Instance being created, updated, deleted or under maintenance", +"When instance is suspended", +"Instance is deleted.", +"For rest of the other category", +"Instance is in STOPPED state." +], +"type": "string" +}, +"customMetadata": { +"$ref": "CustomMetadataData", +"description": "Any custom metadata associated with the resource" +}, +"edition": { +"description": "Optional. Edition represents whether the instance is ENTERPRISE or ENTERPRISE_PLUS. This information is core to Cloud SQL only and is used to identify the edition of the instance.", +"enum": [ +"EDITION_UNSPECIFIED", +"EDITION_ENTERPRISE", +"EDITION_ENTERPRISE_PLUS", +"EDITION_STANDARD" +], +"enumDescriptions": [ +"Default, to make it consistent with instance edition enum.", +"Represents the enterprise edition.", +"Represents the enterprise plus edition.", +"Represents the standard edition." +], +"type": "string" +}, +"entitlements": { +"description": "Entitlements associated with the resource", +"items": { +"$ref": "Entitlement" +}, +"type": "array" +}, +"expectedState": { +"description": "The state that the instance is expected to be in. For example, an instance state can transition to UNHEALTHY due to wrong patch update, while the expected state will remain at the HEALTHY.", +"enum": [ +"STATE_UNSPECIFIED", +"HEALTHY", +"UNHEALTHY", +"SUSPENDED", +"DELETED", +"STATE_OTHER", +"STOPPED" +], +"enumDescriptions": [ +"", +"The instance is running.", +"Instance being created, updated, deleted or under maintenance", +"When instance is suspended", +"Instance is deleted.", +"For rest of the other category", +"Instance is in STOPPED state." +], +"type": "string" +}, +"gcbdrConfiguration": { +"$ref": "GCBDRConfiguration", +"deprecated": true, +"description": "GCBDR configuration for the resource." +}, +"id": { +"$ref": "DatabaseResourceId", +"description": "Required. Unique identifier for a Database resource" +}, +"instanceType": { +"description": "The type of the instance. Specified at creation time.", +"enum": [ +"INSTANCE_TYPE_UNSPECIFIED", +"SUB_RESOURCE_TYPE_UNSPECIFIED", +"PRIMARY", +"SECONDARY", +"READ_REPLICA", +"OTHER", +"SUB_RESOURCE_TYPE_PRIMARY", +"SUB_RESOURCE_TYPE_SECONDARY", +"SUB_RESOURCE_TYPE_READ_REPLICA", +"SUB_RESOURCE_TYPE_EXTERNAL_PRIMARY", +"SUB_RESOURCE_TYPE_OTHER" +], +"enumDeprecated": [ +true, +false, +true, +true, +true, +true, +false, +false, +false, +false, +false +], +"enumDescriptions": [ +"Unspecified.", +"For rest of the other categories.", +"A regular primary database instance.", +"A cluster or an instance acting as a secondary.", +"An instance acting as a read-replica.", +"For rest of the other categories.", +"A regular primary database instance.", +"A cluster or an instance acting as a secondary.", +"An instance acting as a read-replica.", +"An instance acting as an external primary.", +"For rest of the other categories." +], +"type": "string" +}, +"isDeletionProtectionEnabled": { +"description": "Optional. Whether deletion protection is enabled for this resource.", +"type": "boolean" +}, +"location": { +"description": "The resource location. REQUIRED", +"type": "string" +}, +"machineConfiguration": { +"$ref": "MachineConfiguration", +"description": "Machine configuration for this resource." +}, +"maintenanceInfo": { +"$ref": "ResourceMaintenanceInfo", +"description": "Optional. Maintenance info for the resource." +}, +"primaryResourceId": { +"$ref": "DatabaseResourceId", +"description": "Identifier for this resource's immediate parent/primary resource if the current resource is a replica or derived form of another Database resource. Else it would be NULL. REQUIRED if the immediate parent exists when first time resource is getting ingested, otherwise optional." +}, +"primaryResourceLocation": { +"description": "Primary resource location. REQUIRED if the immediate parent exists when first time resource is getting ingested, otherwise optional.", +"type": "string" +}, +"product": { +"$ref": "Product", +"description": "The product this resource represents." +}, +"resourceContainer": { +"description": "Closest parent Cloud Resource Manager container of this resource. It must be resource name of a Cloud Resource Manager project with the format of \"/\", such as \"projects/123\". For GCP provided resources, number should be project number.", +"type": "string" +}, +"resourceFlags": { +"description": "Optional. List of resource flags for the database resource.", +"items": { +"$ref": "ResourceFlags" +}, +"type": "array" +}, +"resourceName": { +"description": "Required. Different from DatabaseResourceId.unique_id, a resource name can be reused over time. That is, after a resource named \"ABC\" is deleted, the name \"ABC\" can be used to to create a new resource within the same source. Resource name to follow CAIS resource_name format as noted here go/condor-common-datamodel", +"type": "string" +}, +"suspensionReason": { +"description": "Optional. Suspension reason for the resource.", +"enum": [ +"SUSPENSION_REASON_UNSPECIFIED", +"WIPEOUT_HIDE_EVENT", +"WIPEOUT_PURGE_EVENT", +"BILLING_DISABLED", +"ABUSER_DETECTED", +"ENCRYPTION_KEY_INACCESSIBLE", +"REPLICATED_CLUSTER_ENCRYPTION_KEY_INACCESSIBLE" +], +"enumDescriptions": [ +"Suspension reason is unspecified.", +"Wipeout hide event.", +"Wipeout purge event.", +"Billing disabled for project", +"Abuse detected for resource", +"Encryption key inaccessible.", +"Replicated cluster encryption key inaccessible." +], +"type": "string" +}, +"tagsSet": { +"$ref": "Tags", +"description": "Optional. Tags associated with this resources." +}, +"updationTime": { +"description": "The time at which the resource was updated and recorded at partner service.", +"format": "google-datetime", +"type": "string" +}, +"userLabelSet": { +"$ref": "UserLabels", +"description": "User-provided labels associated with the resource" +}, +"zone": { +"description": "The resource zone. This is only applicable for zonal resources and will be empty for regional and multi-regional resources.", +"type": "string" +} +}, +"type": "object" +}, +"DatabaseResourceRecommendationSignalData": { +"description": "Common model for database resource recommendation signal data.", +"id": "DatabaseResourceRecommendationSignalData", +"properties": { +"additionalMetadata": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"description": "Optional. Any other additional metadata specific to recommendation", +"type": "object" +}, +"lastRefreshTime": { +"description": "Required. last time recommendationw as refreshed", +"format": "google-datetime", +"type": "string" +}, +"recommendationState": { +"description": "Required. Recommendation state", +"enum": [ +"UNSPECIFIED", +"ACTIVE", +"CLAIMED", +"SUCCEEDED", +"FAILED", +"DISMISSED" +], +"enumDescriptions": [ +"", +"Recommendation is active and can be applied. ACTIVE recommendations can be marked as CLAIMED, SUCCEEDED, or FAILED.", +"Recommendation is in claimed state. Recommendations content is immutable and cannot be updated by Google. CLAIMED recommendations can be marked as CLAIMED, SUCCEEDED, or FAILED.", +"Recommendation is in succeeded state. Recommendations content is immutable and cannot be updated by Google. SUCCEEDED recommendations can be marked as SUCCEEDED, or FAILED.", +"Recommendation is in failed state. Recommendations content is immutable and cannot be updated by Google. FAILED recommendations can be marked as SUCCEEDED, or FAILED.", +"Recommendation is in dismissed state. Recommendation content can be updated by Google. DISMISSED recommendations can be marked as ACTIVE." +], +"type": "string" +}, +"recommender": { +"description": "Required. Name of recommendation. Examples: organizations/1234/locations/us-central1/recommenders/google.cloudsql.instance.PerformanceRecommender/recommendations/9876", +"type": "string" +}, +"recommenderId": { +"description": "Required. ID of recommender. Examples: \"google.cloudsql.instance.PerformanceRecommender\"", +"type": "string" +}, +"recommenderSubtype": { +"description": "Required. Contains an identifier for a subtype of recommendations produced for the same recommender. Subtype is a function of content and impact, meaning a new subtype might be added when significant changes to `content` or `primary_impact.category` are introduced. See the Recommenders section to see a list of subtypes for a given Recommender. Examples: For recommender = \"google.cloudsql.instance.PerformanceRecommender\", recommender_subtype can be \"MYSQL_HIGH_NUMBER_OF_OPEN_TABLES_BEST_PRACTICE\"/\"POSTGRES_HIGH_TRANSACTION_ID_UTILIZATION_BEST_PRACTICE\"", +"type": "string" +}, +"resourceName": { +"description": "Required. Database resource name associated with the signal. Resource name to follow CAIS resource_name format as noted here go/condor-common-datamodel", +"type": "string" +}, +"signalType": { +"description": "Required. Type of signal, for example, `SIGNAL_TYPE_IDLE`, `SIGNAL_TYPE_HIGH_NUMBER_OF_TABLES`, etc.", +"enum": [ +"SIGNAL_TYPE_UNSPECIFIED", +"SIGNAL_TYPE_NOT_PROTECTED_BY_AUTOMATIC_FAILOVER", +"SIGNAL_TYPE_GROUP_NOT_REPLICATING_ACROSS_REGIONS", +"SIGNAL_TYPE_NOT_AVAILABLE_IN_MULTIPLE_ZONES", +"SIGNAL_TYPE_NOT_AVAILABLE_IN_MULTIPLE_REGIONS", +"SIGNAL_TYPE_NO_PROMOTABLE_REPLICA", +"SIGNAL_TYPE_NO_AUTOMATED_BACKUP_POLICY", +"SIGNAL_TYPE_SHORT_BACKUP_RETENTION", +"SIGNAL_TYPE_LAST_BACKUP_FAILED", +"SIGNAL_TYPE_LAST_BACKUP_OLD", +"SIGNAL_TYPE_VIOLATES_CIS_GCP_FOUNDATION_2_0", +"SIGNAL_TYPE_VIOLATES_CIS_GCP_FOUNDATION_1_3", +"SIGNAL_TYPE_VIOLATES_CIS_GCP_FOUNDATION_1_2", +"SIGNAL_TYPE_VIOLATES_CIS_GCP_FOUNDATION_1_1", +"SIGNAL_TYPE_VIOLATES_CIS_GCP_FOUNDATION_1_0", +"SIGNAL_TYPE_VIOLATES_CIS_CONTROLS_V8_0", +"SIGNAL_TYPE_VIOLATES_NIST_800_53", +"SIGNAL_TYPE_VIOLATES_NIST_800_53_R5", +"SIGNAL_TYPE_VIOLATES_NIST_CYBERSECURITY_FRAMEWORK_V1_0", +"SIGNAL_TYPE_VIOLATES_ISO_27001", +"SIGNAL_TYPE_VIOLATES_ISO_27001_V2022", +"SIGNAL_TYPE_VIOLATES_PCI_DSS_V3_2_1", +"SIGNAL_TYPE_VIOLATES_PCI_DSS_V4_0", +"SIGNAL_TYPE_VIOLATES_CLOUD_CONTROLS_MATRIX_V4", +"SIGNAL_TYPE_VIOLATES_HIPAA", +"SIGNAL_TYPE_VIOLATES_SOC2_V2017", +"SIGNAL_TYPE_LOGS_NOT_OPTIMIZED_FOR_TROUBLESHOOTING", +"SIGNAL_TYPE_QUERY_DURATIONS_NOT_LOGGED", +"SIGNAL_TYPE_VERBOSE_ERROR_LOGGING", +"SIGNAL_TYPE_QUERY_LOCK_WAITS_NOT_LOGGED", +"SIGNAL_TYPE_LOGGING_MOST_ERRORS", +"SIGNAL_TYPE_LOGGING_ONLY_CRITICAL_ERRORS", +"SIGNAL_TYPE_MINIMAL_ERROR_LOGGING", +"SIGNAL_TYPE_QUERY_STATISTICS_LOGGED", +"SIGNAL_TYPE_EXCESSIVE_LOGGING_OF_CLIENT_HOSTNAME", +"SIGNAL_TYPE_EXCESSIVE_LOGGING_OF_PARSER_STATISTICS", +"SIGNAL_TYPE_EXCESSIVE_LOGGING_OF_PLANNER_STATISTICS", +"SIGNAL_TYPE_NOT_LOGGING_ONLY_DDL_STATEMENTS", +"SIGNAL_TYPE_LOGGING_QUERY_STATISTICS", +"SIGNAL_TYPE_NOT_LOGGING_TEMPORARY_FILES", +"SIGNAL_TYPE_CONNECTION_MAX_NOT_CONFIGURED", +"SIGNAL_TYPE_USER_OPTIONS_CONFIGURED", +"SIGNAL_TYPE_EXPOSED_TO_PUBLIC_ACCESS", +"SIGNAL_TYPE_UNENCRYPTED_CONNECTIONS", +"SIGNAL_TYPE_NO_ROOT_PASSWORD", +"SIGNAL_TYPE_WEAK_ROOT_PASSWORD", +"SIGNAL_TYPE_ENCRYPTION_KEY_NOT_CUSTOMER_MANAGED", +"SIGNAL_TYPE_SERVER_AUTHENTICATION_NOT_REQUIRED", +"SIGNAL_TYPE_EXPOSED_BY_OWNERSHIP_CHAINING", +"SIGNAL_TYPE_EXPOSED_TO_EXTERNAL_SCRIPTS", +"SIGNAL_TYPE_EXPOSED_TO_LOCAL_DATA_LOADS", +"SIGNAL_TYPE_CONNECTION_ATTEMPTS_NOT_LOGGED", +"SIGNAL_TYPE_DISCONNECTIONS_NOT_LOGGED", +"SIGNAL_TYPE_LOGGING_EXCESSIVE_STATEMENT_INFO", +"SIGNAL_TYPE_EXPOSED_TO_REMOTE_ACCESS", +"SIGNAL_TYPE_DATABASE_NAMES_EXPOSED", +"SIGNAL_TYPE_SENSITIVE_TRACE_INFO_NOT_MASKED", +"SIGNAL_TYPE_PUBLIC_IP_ENABLED", +"SIGNAL_TYPE_IDLE", +"SIGNAL_TYPE_OVERPROVISIONED", +"SIGNAL_TYPE_HIGH_NUMBER_OF_OPEN_TABLES", +"SIGNAL_TYPE_HIGH_NUMBER_OF_TABLES", +"SIGNAL_TYPE_HIGH_TRANSACTION_ID_UTILIZATION", +"SIGNAL_TYPE_UNDERPROVISIONED", +"SIGNAL_TYPE_OUT_OF_DISK", +"SIGNAL_TYPE_SERVER_CERTIFICATE_NEAR_EXPIRY", +"SIGNAL_TYPE_DATABASE_AUDITING_DISABLED", +"SIGNAL_TYPE_RESTRICT_AUTHORIZED_NETWORKS", +"SIGNAL_TYPE_VIOLATE_POLICY_RESTRICT_PUBLIC_IP", +"SIGNAL_TYPE_QUOTA_LIMIT", +"SIGNAL_TYPE_NO_PASSWORD_POLICY", +"SIGNAL_TYPE_CONNECTIONS_PERFORMANCE_IMPACT", +"SIGNAL_TYPE_TMP_TABLES_PERFORMANCE_IMPACT", +"SIGNAL_TYPE_TRANS_LOGS_PERFORMANCE_IMPACT", +"SIGNAL_TYPE_HIGH_JOINS_WITHOUT_INDEXES", +"SIGNAL_TYPE_SUPERUSER_WRITING_TO_USER_TABLES", +"SIGNAL_TYPE_USER_GRANTED_ALL_PERMISSIONS", +"SIGNAL_TYPE_DATA_EXPORT_TO_EXTERNAL_CLOUD_STORAGE_BUCKET", +"SIGNAL_TYPE_DATA_EXPORT_TO_PUBLIC_CLOUD_STORAGE_BUCKET", +"SIGNAL_TYPE_WEAK_PASSWORD_HASH_ALGORITHM", +"SIGNAL_TYPE_NO_USER_PASSWORD_POLICY", +"SIGNAL_TYPE_HOT_NODE", +"SIGNAL_TYPE_NO_POINT_IN_TIME_RECOVERY", +"SIGNAL_TYPE_RESOURCE_SUSPENDED", +"SIGNAL_TYPE_EXPENSIVE_COMMANDS", +"SIGNAL_TYPE_NO_MAINTENANCE_POLICY_CONFIGURED", +"SIGNAL_TYPE_NO_DELETION_PROTECTION", +"SIGNAL_TYPE_INEFFICIENT_QUERY", +"SIGNAL_TYPE_READ_INTENSIVE_WORKLOAD", +"SIGNAL_TYPE_MEMORY_LIMIT", +"SIGNAL_TYPE_MAX_SERVER_MEMORY", +"SIGNAL_TYPE_LARGE_ROWS", +"SIGNAL_TYPE_HIGH_WRITE_PRESSURE", +"SIGNAL_TYPE_HIGH_READ_PRESSURE", +"SIGNAL_TYPE_ENCRYPTION_ORG_POLICY_NOT_SATISFIED", +"SIGNAL_TYPE_LOCATION_ORG_POLICY_NOT_SATISFIED", +"SIGNAL_TYPE_OUTDATED_MINOR_VERSION", +"SIGNAL_TYPE_SCHEMA_NOT_OPTIMIZED", +"SIGNAL_TYPE_MANY_IDLE_CONNECTIONS", +"SIGNAL_TYPE_REPLICATION_LAG", +"SIGNAL_TYPE_OUTDATED_VERSION", +"SIGNAL_TYPE_OUTDATED_CLIENT", +"SIGNAL_TYPE_DATABOOST_DISABLED", +"SIGNAL_TYPE_RECOMMENDED_MAINTENANCE_POLICIES", +"SIGNAL_TYPE_EXTENDED_SUPPORT", +"SIGNAL_TYPE_PERFORMANCE_KPI_CHANGE" +], +"enumDeprecated": [ +false, +false, +false, +true, +true, +true, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +true, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +true, +false, +false, +false, +false, +false, +false, +false +], +"enumDescriptions": [ +"Unspecified.", +"Represents if a resource is protected by automatic failover. Checks for resources that are configured to have redundancy within a region that enables automatic failover.", +"Represents if a group is replicating across regions. Checks for resources that are configured to have redundancy, and ongoing replication, across regions.", +"Represents if the resource is available in multiple zones or not.", +"Represents if a resource is available in multiple regions.", +"Represents if a resource has a promotable replica.", +"Represents if a resource has an automated backup policy.", +"Represents if a resources has a short backup retention period.", +"Represents if the last backup of a resource failed.", +"Represents if the last backup of a resource is older than some threshold value.", +"Represents if a resource violates CIS GCP Foundation 2.0.", +"Represents if a resource violates CIS GCP Foundation 1.3.", +"Represents if a resource violates CIS GCP Foundation 1.2.", +"Represents if a resource violates CIS GCP Foundation 1.1.", +"Represents if a resource violates CIS GCP Foundation 1.0.", +"Represents if a resource violates CIS Controls 8.0.", +"Represents if a resource violates NIST 800-53.", +"Represents if a resource violates NIST 800-53 R5.", +"Represents if a resource violates NIST Cybersecurity Framework 1.0.", +"Represents if a resource violates ISO-27001.", +"Represents if a resource violates ISO 27001 2022.", +"Represents if a resource violates PCI-DSS v3.2.1.", +"Represents if a resource violates PCI-DSS v4.0.", +"Represents if a resource violates Cloud Controls Matrix v4.0.", +"Represents if a resource violates HIPAA.", +"Represents if a resource violates SOC2 v2017.", +"Represents if log_checkpoints database flag for a Cloud SQL for PostgreSQL instance is not set to on.", +"Represents if the log_duration database flag for a Cloud SQL for PostgreSQL instance is not set to on.", +"Represents if the log_error_verbosity database flag for a Cloud SQL for PostgreSQL instance is not set to default or stricter (default or terse).", +"Represents if the log_lock_waits database flag for a Cloud SQL for PostgreSQL instance is not set to on.", +"Represents if the log_min_error_statement database flag for a Cloud SQL for PostgreSQL instance is not set appropriately.", +"Represents if the log_min_error_statement database flag for a Cloud SQL for PostgreSQL instance does not have an appropriate severity level.", +"Represents if the log_min_messages database flag for a Cloud SQL for PostgreSQL instance is not set to warning or another recommended value.", +"Represents if the databaseFlags property of instance metadata for the log_executor_status field is set to on.", +"Represents if the log_hostname database flag for a Cloud SQL for PostgreSQL instance is not set to off.", +"Represents if the log_parser_stats database flag for a Cloud SQL for PostgreSQL instance is not set to off.", +"Represents if the log_planner_stats database flag for a Cloud SQL for PostgreSQL instance is not set to off.", +"Represents if the log_statement database flag for a Cloud SQL for PostgreSQL instance is not set to DDL (all data definition statements).", +"Represents if the log_statement_stats database flag for a Cloud SQL for PostgreSQL instance is not set to off.", +"Represents if the log_temp_files database flag for a Cloud SQL for PostgreSQL instance is not set to \"0\". (NOTE: 0 = ON)", +"Represents if the user connections database flag for a Cloud SQL for SQL Server instance is configured.", +"Represents if the user options database flag for Cloud SQL SQL Server instance is configured or not.", +"Represents if a resource is exposed to public access.", +"Represents if a resources requires all incoming connections to use SSL or not.", +"Represents if a Cloud SQL database has a password configured for the root account or not.", +"Represents if a Cloud SQL database has a weak password configured for the root account.", +"Represents if a SQL database instance is not encrypted with customer-managed encryption keys (CMEK).", +"Represents if The contained database authentication database flag for a Cloud SQL for SQL Server instance is not set to off.", +"Represents if the cross_db_ownership_chaining database flag for a Cloud SQL for SQL Server instance is not set to off.", +"Represents if he external scripts enabled database flag for a Cloud SQL for SQL Server instance is not set to off.", +"Represents if the local_infile database flag for a Cloud SQL for MySQL instance is not set to off.", +"Represents if the log_connections database flag for a Cloud SQL for PostgreSQL instance is not set to on.", +"Represents if the log_disconnections database flag for a Cloud SQL for PostgreSQL instance is not set to on.", +"Represents if the log_min_duration_statement database flag for a Cloud SQL for PostgreSQL instance is not set to -1.", +"Represents if the remote access database flag for a Cloud SQL for SQL Server instance is not set to off.", +"Represents if the skip_show_database database flag for a Cloud SQL for MySQL instance is not set to on.", +"Represents if the 3625 (trace flag) database flag for a Cloud SQL for SQL Server instance is not set to on.", +"Represents if public IP is enabled.", +"Represents Idle instance helps to reduce costs.", +"Represents instances that are unnecessarily large for given workload.", +"Represents high number of concurrently opened tables.", +"Represents high table count close to SLA limit.", +"Represents high number of unvacuumed transactions", +"Represents need for more CPU and/or memory", +"Represents out of disk.", +"Represents server certificate is near expiry.", +"Represents database auditing is disabled.", +"Represents not restricted to authorized networks.", +"Represents violate org policy restrict public ip.", +"Cluster nearing quota limit", +"No password policy set on resources", +"Performance impact of connections settings", +"Performance impact of temporary tables settings", +"Performance impact of transaction logs settings", +"Performance impact of high joins without indexes", +"Detects events where a Cloud SQL superuser (postgres for PostgreSQL servers or root for MySQL users) writes to non-system tables.", +"Detects events where a database user or role has been granted all privileges to a database, or to all tables, procedures, or functions in a schema.", +"Detects if database instance data exported to a Cloud Storage bucket outside of the organization.", +"Detects if database instance data exported to a Cloud Storage bucket that is owned by the organization and is publicly accessible.", +"Detects if a database instance is using a weak password hash algorithm.", +"Detects if a database instance has no user password policy set.", +"Detects if a database instance/cluster has a hot node.", +"Detects if a database instance has no point in time recovery enabled.", +"Detects if a database instance/cluster is suspended.", +"Detects that expensive commands are being run on a database instance impacting overall performance.", +"Indicates that the instance does not have a maintenance policy configured.", +"Deletion Protection Disabled for the resource", +"Indicates that the instance has inefficient queries detected.", +"Indicates that the instance has read intensive workload.", +"Indicates that the instance is nearing memory limit.", +"Indicates that the instance's max server memory is configured higher than the recommended value.", +"Indicates that the database has large rows beyond the recommended limit.", +"Heavy write pressure on the database rows.", +"Heavy read pressure on the database rows.", +"Encryption org policy not satisfied.", +"Location org policy not satisfied.", +"Outdated DB minor version.", +"Schema not optimized.", +"High number of idle connections.", +"Replication delay.", +"Outdated version.", +"Outdated client.", +"Databoost is disabled.", +"Recommended maintenance policy.", +"Resource version is in extended support.", +"Change in performance KPIs." +], +"type": "string" +} +}, +"type": "object" +}, +"DatabaseResourceSignalData": { +"description": "Database resource signal data. This is used to send signals to Condor which are based on the DB/Instance/Fleet level configurations. These will be used to send signals for all inventory types. Next ID: 7", +"id": "DatabaseResourceSignalData", +"properties": { +"fullResourceName": { +"description": "Required. Full Resource name of the source resource.", +"type": "string" +}, +"lastRefreshTime": { +"description": "Required. Last time signal was refreshed", +"format": "google-datetime", +"type": "string" +}, +"resourceId": { +"$ref": "DatabaseResourceId", +"description": "Database resource id." +}, +"signalBoolValue": { +"description": "Signal data for boolean signals.", +"type": "boolean" +}, +"signalState": { +"description": "Required. Output only. Signal state of the signal", +"enum": [ +"SIGNAL_STATE_UNSPECIFIED", +"ACTIVE", +"INACTIVE", +"DISMISSED" +], +"enumDescriptions": [ +"Unspecified signal state.", +"Signal is active and requires attention.", +"Signal is inactive and does not require attention.", +"Signal is dismissed by the user and should not be shown to the user again." +], +"readOnly": true, +"type": "string" +}, +"signalType": { +"description": "Required. Signal type of the signal", +"enum": [ +"SIGNAL_TYPE_UNSPECIFIED", +"SIGNAL_TYPE_OUTDATED_MINOR_VERSION", +"SIGNAL_TYPE_DATABASE_AUDITING_DISABLED", +"SIGNAL_TYPE_NO_ROOT_PASSWORD", +"SIGNAL_TYPE_EXPOSED_TO_PUBLIC_ACCESS", +"SIGNAL_TYPE_UNENCRYPTED_CONNECTIONS", +"SIGNAL_TYPE_EXTENDED_SUPPORT", +"SIGNAL_TYPE_NO_AUTOMATED_BACKUP_POLICY" +], +"enumDescriptions": [ +"Unspecified signal type.", +"Outdated Minor Version", +"Represents database auditing is disabled.", +"Represents if a database has a password configured for the root account or not.", +"Represents if a resource is exposed to public access.", +"Represents if a resources requires all incoming connections to use SSL or not.", +"Represents if a resource version is in extended support.", +"Represents if a resource has no automated backup policy." +], +"type": "string" +} +}, +"type": "object" +}, +"Date": { +"description": "Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following: * A full date, with non-zero year, month, and day values. * A month and day, with a zero year (for example, an anniversary). * A year on its own, with a zero month and a zero day. * A year and month, with a zero day (for example, a credit card expiration date). Related types: * google.type.TimeOfDay * google.type.DateTime * google.protobuf.Timestamp", +"id": "Date", +"properties": { +"day": { +"description": "Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn't significant.", +"format": "int32", +"type": "integer" +}, +"month": { +"description": "Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.", +"format": "int32", +"type": "integer" +}, +"year": { +"description": "Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"DiscoveryEndpoint": { +"description": "Endpoints on each network, for Redis clients to connect to the cluster.", +"id": "DiscoveryEndpoint", +"properties": { +"address": { +"description": "Output only. Address of the exposed Redis endpoint used by clients to connect to the service. The address could be either IP or hostname.", +"readOnly": true, +"type": "string" +}, +"port": { +"description": "Output only. The port number of the exposed Redis endpoint.", +"format": "int32", +"readOnly": true, +"type": "integer" +}, +"pscConfig": { +"$ref": "PscConfig", +"description": "Output only. Customer configuration for where the endpoint is created and accessed from.", +"readOnly": true +} +}, +"type": "object" +}, +"Empty": { +"description": "A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }", +"id": "Empty", +"properties": {}, +"type": "object" +}, +"EncryptionInfo": { +"description": "EncryptionInfo describes the encryption information of a cluster or a backup.", +"id": "EncryptionInfo", +"properties": { +"encryptionType": { +"description": "Output only. Type of encryption.", +"enum": [ +"TYPE_UNSPECIFIED", +"GOOGLE_DEFAULT_ENCRYPTION", +"CUSTOMER_MANAGED_ENCRYPTION" +], +"enumDescriptions": [ +"Encryption type not specified. Defaults to GOOGLE_DEFAULT_ENCRYPTION.", +"The data is encrypted at rest with a key that is fully managed by Google. No key version will be populated. This is the default state.", +"The data is encrypted at rest with a key that is managed by the customer. KMS key versions will be populated." +], +"readOnly": true, +"type": "string" +}, +"kmsKeyPrimaryState": { +"description": "Output only. The state of the primary version of the KMS key perceived by the system. This field is not populated in backups.", +"enum": [ +"KMS_KEY_STATE_UNSPECIFIED", +"ENABLED", +"PERMISSION_DENIED", +"DISABLED", +"DESTROYED", +"DESTROY_SCHEDULED", +"EKM_KEY_UNREACHABLE_DETECTED", +"BILLING_DISABLED", +"UNKNOWN_FAILURE" +], +"enumDescriptions": [ +"The default value. This value is unused.", +"The KMS key is enabled and correctly configured.", +"Permission denied on the KMS key.", +"The KMS key is disabled.", +"The KMS key is destroyed.", +"The KMS key is scheduled to be destroyed.", +"The EKM key is unreachable.", +"Billing is disabled for the project.", +"All other unknown failures." +], +"readOnly": true, +"type": "string" +}, +"kmsKeyVersions": { +"description": "Output only. KMS key versions that are being used to protect the data at-rest.", +"items": { +"type": "string" +}, +"readOnly": true, +"type": "array" +}, +"lastUpdateTime": { +"description": "Output only. The most recent time when the encryption info was updated.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"Entitlement": { +"description": "Proto representing the access that a user has to a specific feature/service. NextId: 3.", +"id": "Entitlement", +"properties": { +"entitlementState": { +"description": "The current state of user's accessibility to a feature/benefit.", +"enum": [ +"ENTITLEMENT_STATE_UNSPECIFIED", +"ENTITLED", +"REVOKED" +], +"enumDescriptions": [ +"", +"User is entitled to a feature/benefit, but whether it has been successfully provisioned is decided by provisioning state.", +"User is entitled to a feature/benefit, but it was requested to be revoked. Whether the revoke has been successful is decided by provisioning state." +], +"type": "string" +}, +"type": { +"description": "An enum that represents the type of this entitlement.", +"enum": [ +"ENTITLEMENT_TYPE_UNSPECIFIED", +"GEMINI", +"NATIVE", +"GCA_STANDARD" +], +"enumDeprecated": [ +false, +true, +false, +false +], +"enumDescriptions": [ +"The entitlement type is unspecified.", +"The root entitlement representing Gemini package ownership.This will no longer be supported in the future.", +"The entitlement representing Native Tier, This will be the default Entitlement going forward with GCA Enablement.", +"The entitlement representing GCA-Standard Tier." +], +"type": "string" +} +}, +"type": "object" +}, +"ExportBackupRequest": { +"description": "Request for [ExportBackup].", +"id": "ExportBackupRequest", +"properties": { +"gcsBucket": { +"description": "Google Cloud Storage bucket, like \"my-bucket\".", +"type": "string" +} +}, +"type": "object" +}, +"ExportInstanceRequest": { +"description": "Request for Export.", +"id": "ExportInstanceRequest", +"properties": { +"outputConfig": { +"$ref": "OutputConfig", +"description": "Required. Specify data to be exported." +} +}, +"type": "object" +}, +"FailoverInstanceRequest": { +"description": "Request for Failover.", +"id": "FailoverInstanceRequest", +"properties": { +"dataProtectionMode": { +"description": "Optional. Available data protection modes that the user can choose. If it's unspecified, data protection mode will be LIMITED_DATA_LOSS by default.", +"enum": [ +"DATA_PROTECTION_MODE_UNSPECIFIED", +"LIMITED_DATA_LOSS", +"FORCE_DATA_LOSS" +], +"enumDescriptions": [ +"Defaults to LIMITED_DATA_LOSS if a data protection mode is not specified.", +"Instance failover will be protected with data loss control. More specifically, the failover will only be performed if the current replication offset diff between primary and replica is under a certain threshold.", +"Instance failover will be performed without data loss control." +], +"type": "string" +} +}, +"type": "object" +}, +"FixedFrequencySchedule": { +"description": "This schedule allows the backup to be triggered at a fixed frequency (currently only daily is supported).", +"id": "FixedFrequencySchedule", +"properties": { +"startTime": { +"$ref": "TimeOfDay", +"description": "Required. The start time of every automated backup in UTC. It must be set to the start of an hour. This field is required." +} +}, +"type": "object" +}, +"GCBDRConfiguration": { +"description": "GCBDR Configuration for the resource.", +"id": "GCBDRConfiguration", +"properties": { +"gcbdrManaged": { +"description": "Whether the resource is managed by GCBDR.", +"type": "boolean" +} +}, +"type": "object" +}, +"GcsBackupSource": { +"description": "Backups stored in Cloud Storage buckets. The Cloud Storage buckets need to be the same region as the clusters.", +"id": "GcsBackupSource", +"properties": { +"uris": { +"description": "Optional. URIs of the Cloud Storage objects to import. Example: gs://bucket1/object1, gs://bucket2/folder2/object2", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GcsDestination": { +"description": "The Cloud Storage location for the output content", +"id": "GcsDestination", +"properties": { +"uri": { +"description": "Required. Data destination URI (e.g. 'gs://my_bucket/my_object'). Existing files will be overwritten.", +"type": "string" +} +}, +"type": "object" +}, +"GcsSource": { +"description": "The Cloud Storage location for the input content", +"id": "GcsSource", +"properties": { +"uri": { +"description": "Required. Source data URI. (e.g. 'gs://my_bucket/my_object').", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudCommonOperationMetadata": { +"description": "Represents the metadata of the long-running operation.", +"id": "GoogleCloudCommonOperationMetadata", +"properties": { +"apiVersion": { +"description": "Output only. API version used to start the operation.", +"readOnly": true, +"type": "string" +}, +"cancelRequested": { +"description": "Output only. Identifies whether the user has requested cancellation of the operation. Operations that have been cancelled successfully have google.longrunning.Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.", +"readOnly": true, +"type": "boolean" +}, +"createTime": { +"description": "Output only. The time the operation was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"endTime": { +"description": "Output only. The time the operation finished running.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"statusDetail": { +"description": "Output only. Human-readable status of the operation, if any.", +"readOnly": true, +"type": "string" +}, +"target": { +"description": "Output only. Server-defined resource path for the target of the operation.", +"readOnly": true, +"type": "string" +}, +"verb": { +"description": "Output only. Name of the verb executed by the operation.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudRedisV1beta1LocationMetadata": { +"description": "This location metadata represents additional configuration options for a given location where a Redis instance may be created. All fields are output only. It is returned as content of the `google.cloud.location.Location.metadata` field.", +"id": "GoogleCloudRedisV1beta1LocationMetadata", +"properties": { +"availableZones": { +"additionalProperties": { +"$ref": "GoogleCloudRedisV1beta1ZoneMetadata" +}, +"description": "Output only. The set of available zones in the location. The map is keyed by the lowercase ID of each zone, as defined by GCE. These keys can be specified in `location_id` or `alternative_location_id` fields when creating a Redis instance.", +"readOnly": true, +"type": "object" +} +}, +"type": "object" +}, +"GoogleCloudRedisV1beta1ZoneMetadata": { +"description": "Defines specific information for a particular zone. Currently empty and reserved for future use only.", +"id": "GoogleCloudRedisV1beta1ZoneMetadata", +"properties": {}, +"type": "object" +}, +"ImportInstanceRequest": { +"description": "Request for Import.", +"id": "ImportInstanceRequest", +"properties": { +"inputConfig": { +"$ref": "InputConfig", +"description": "Required. Specify data to be imported." +} +}, +"type": "object" +}, +"InputConfig": { +"description": "The input content", +"id": "InputConfig", +"properties": { +"gcsSource": { +"$ref": "GcsSource", +"description": "Google Cloud Storage location where input content is located." +} +}, +"type": "object" +}, +"Instance": { +"description": "A Memorystore for Redis instance.", +"id": "Instance", +"properties": { +"alternativeLocationId": { +"description": "Optional. If specified, at least one node will be provisioned in this zone in addition to the zone specified in location_id. Only applicable to standard tier. If provided, it must be a different zone from the one provided in [location_id]. Additional nodes beyond the first 2 will be placed in zones selected by the service.", +"type": "string" +}, +"authEnabled": { +"description": "Optional. Indicates whether OSS Redis AUTH is enabled for the instance. If set to \"true\" AUTH is enabled on the instance. Default value is \"false\" meaning AUTH is disabled.", +"type": "boolean" +}, +"authorizedNetwork": { +"description": "Optional. The full name of the Google Compute Engine [network](https://cloud.google.com/vpc/docs/vpc) to which the instance is connected. If left unspecified, the `default` network will be used.", +"type": "string" +}, +"availableMaintenanceVersions": { +"description": "Optional. The available maintenance versions that an instance could update to.", +"items": { +"type": "string" +}, +"type": "array" +}, +"connectMode": { +"description": "Optional. The network connect mode of the Redis instance. If not provided, the connect mode defaults to DIRECT_PEERING.", +"enum": [ +"CONNECT_MODE_UNSPECIFIED", +"DIRECT_PEERING", +"PRIVATE_SERVICE_ACCESS" +], +"enumDescriptions": [ +"Not set.", +"Connect via direct peering to the Memorystore for Redis hosted service.", +"Connect your Memorystore for Redis instance using Private Service Access. Private services access provides an IP address range for multiple Google Cloud services, including Memorystore." +], +"type": "string" +}, +"createTime": { +"description": "Output only. The time the instance was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"currentLocationId": { +"description": "Output only. The current zone where the Redis primary node is located. In basic tier, this will always be the same as [location_id]. In standard tier, this can be the zone of any node in the instance.", +"readOnly": true, +"type": "string" +}, +"customerManagedKey": { +"description": "Optional. The KMS key reference that the customer provides when trying to create the instance.", +"type": "string" +}, +"displayName": { +"description": "An arbitrary and optional user-provided name for the instance.", +"type": "string" +}, +"host": { +"description": "Output only. Hostname or IP address of the exposed Redis endpoint used by clients to connect to the service.", +"readOnly": true, +"type": "string" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Resource labels to represent user provided metadata", +"type": "object" +}, +"locationId": { +"description": "Optional. The zone where the instance will be provisioned. If not provided, the service will choose a zone from the specified region for the instance. For standard tier, additional nodes will be added across multiple zones for protection against zonal failures. If specified, at least one node will be provisioned in this zone.", +"type": "string" +}, +"maintenancePolicy": { +"$ref": "MaintenancePolicy", +"description": "Optional. The maintenance policy for the instance. If not provided, maintenance events can be performed at any time." +}, +"maintenanceSchedule": { +"$ref": "MaintenanceSchedule", +"description": "Output only. Date and time of upcoming maintenance events which have been scheduled.", +"readOnly": true +}, +"maintenanceVersion": { +"description": "Optional. The self service update maintenance version. The version is date based such as \"20210712_00_00\".", +"type": "string" +}, +"memorySizeGb": { +"description": "Required. Redis memory size in GiB.", +"format": "int32", +"type": "integer" +}, +"name": { +"description": "Required. Unique name of the resource in this scope including project and location using the form: `projects/{project_id}/locations/{location_id}/instances/{instance_id}` Note: Redis instances are managed and addressed at regional level so location_id here refers to a GCP region; however, users may choose which specific zone (or collection of zones for cross-zone instances) an instance should be provisioned in. Refer to location_id and alternative_location_id fields for more details.", +"type": "string" +}, +"nodes": { +"description": "Output only. Info per node.", +"items": { +"$ref": "NodeInfo" +}, +"readOnly": true, +"type": "array" +}, +"persistenceConfig": { +"$ref": "PersistenceConfig", +"description": "Optional. Persistence configuration parameters" +}, +"persistenceIamIdentity": { +"description": "Output only. Cloud IAM identity used by import / export operations to transfer data to/from Cloud Storage. Format is \"serviceAccount:\". The value may change over time for a given instance so should be checked before each import/export operation.", +"readOnly": true, +"type": "string" +}, +"port": { +"description": "Output only. The port number of the exposed Redis endpoint.", +"format": "int32", +"readOnly": true, +"type": "integer" +}, +"readEndpoint": { +"description": "Output only. Hostname or IP address of the exposed readonly Redis endpoint. Standard tier only. Targets all healthy replica nodes in instance. Replication is asynchronous and replica nodes will exhibit some lag behind the primary. Write requests must target 'host'.", +"readOnly": true, +"type": "string" +}, +"readEndpointPort": { +"description": "Output only. The port number of the exposed readonly redis endpoint. Standard tier only. Write requests should target 'port'.", +"format": "int32", +"readOnly": true, +"type": "integer" +}, +"readReplicasMode": { +"description": "Optional. Read replicas mode for the instance. Defaults to READ_REPLICAS_DISABLED.", +"enum": [ +"READ_REPLICAS_MODE_UNSPECIFIED", +"READ_REPLICAS_DISABLED", +"READ_REPLICAS_ENABLED" +], +"enumDescriptions": [ +"If not set, Memorystore Redis backend will default to READ_REPLICAS_DISABLED.", +"If disabled, read endpoint will not be provided and the instance cannot scale up or down the number of replicas.", +"If enabled, read endpoint will be provided and the instance can scale up and down the number of replicas. Not valid for basic tier." +], +"type": "string" +}, +"redisConfigs": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. Redis configuration parameters, according to http://redis.io/topics/config. Currently, the only supported parameters are: Redis version 3.2 and newer: * maxmemory-policy * notify-keyspace-events Redis version 4.0 and newer: * activedefrag * lfu-decay-time * lfu-log-factor * maxmemory-gb Redis version 5.0 and newer: * stream-node-max-bytes * stream-node-max-entries", +"type": "object" +}, +"redisVersion": { +"description": "Optional. The version of Redis software. If not provided, latest supported version will be used. Currently, the supported values are: * `REDIS_3_2` for Redis 3.2 compatibility * `REDIS_4_0` for Redis 4.0 compatibility (default) * `REDIS_5_0` for Redis 5.0 compatibility * `REDIS_6_X` for Redis 6.x compatibility * `REDIS_7_0` for Redis 7.0 compatibility", +"type": "string" +}, +"replicaCount": { +"description": "Optional. The number of replica nodes. The valid range for the Standard Tier with read replicas enabled is [1-5] and defaults to 2. If read replicas are not enabled for a Standard Tier instance, the only valid value is 1 and the default is 1. The valid value for basic tier is 0 and the default is also 0.", +"format": "int32", +"type": "integer" +}, +"reservedIpRange": { +"description": "Optional. For DIRECT_PEERING mode, the CIDR range of internal addresses that are reserved for this instance. Range must be unique and non-overlapping with existing subnets in an authorized network. For PRIVATE_SERVICE_ACCESS mode, the name of one allocated IP address ranges associated with this private service access connection. If not provided, the service will choose an unused /29 block, for example, 10.0.0.0/29 or 192.168.0.0/29. For READ_REPLICAS_ENABLED the default block size is /28.", +"type": "string" +}, +"satisfiesPzi": { +"description": "Optional. Output only. Reserved for future use.", +"readOnly": true, +"type": "boolean" +}, +"satisfiesPzs": { +"description": "Optional. Output only. Reserved for future use.", +"readOnly": true, +"type": "boolean" +}, +"secondaryIpRange": { +"description": "Optional. Additional IP range for node placement. Required when enabling read replicas on an existing instance. For DIRECT_PEERING mode value must be a CIDR range of size /28, or \"auto\". For PRIVATE_SERVICE_ACCESS mode value must be the name of an allocated address range associated with the private service access connection, or \"auto\".", +"type": "string" +}, +"serverCaCerts": { +"description": "Output only. List of server CA certificates for the instance.", +"items": { +"$ref": "TlsCertificate" +}, +"readOnly": true, +"type": "array" +}, +"state": { +"description": "Output only. The current state of this instance.", +"enum": [ +"STATE_UNSPECIFIED", +"CREATING", +"READY", +"UPDATING", +"DELETING", +"REPAIRING", +"MAINTENANCE", +"IMPORTING", +"FAILING_OVER" +], +"enumDescriptions": [ +"Not set.", +"Redis instance is being created.", +"Redis instance has been created and is fully usable.", +"Redis instance configuration is being updated. Certain kinds of updates may cause the instance to become unusable while the update is in progress.", +"Redis instance is being deleted.", +"Redis instance is being repaired and may be unusable.", +"Maintenance is being performed on this Redis instance.", +"Redis instance is importing data (availability may be affected).", +"Redis instance is failing over (availability may be affected)." +], +"readOnly": true, +"type": "string" +}, +"statusMessage": { +"description": "Output only. Additional information about the current status of this instance, if available.", +"readOnly": true, +"type": "string" +}, +"suspensionReasons": { +"description": "Optional. reasons that causes instance in \"SUSPENDED\" state.", +"items": { +"enum": [ +"SUSPENSION_REASON_UNSPECIFIED", +"CUSTOMER_MANAGED_KEY_ISSUE" +], +"enumDescriptions": [ +"Not set.", +"Something wrong with the CMEK key provided by customer." +], +"type": "string" +}, +"type": "array" +}, +"tags": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. Input only. Immutable. Tag keys/values directly bound to this resource. For example: \"123/environment\": \"production\", \"123/costCenter\": \"marketing\"", +"type": "object" +}, +"tier": { +"description": "Required. The service tier of the instance.", +"enum": [ +"TIER_UNSPECIFIED", +"BASIC", +"STANDARD_HA" +], +"enumDescriptions": [ +"Not set.", +"BASIC tier: standalone instance", +"STANDARD_HA tier: highly available primary/replica instances" +], +"type": "string" +}, +"transitEncryptionMode": { +"description": "Optional. The TLS mode of the Redis instance. If not provided, TLS is disabled for the instance.", +"enum": [ +"TRANSIT_ENCRYPTION_MODE_UNSPECIFIED", +"SERVER_AUTHENTICATION", +"DISABLED" +], +"enumDescriptions": [ +"Not set.", +"Client to Server traffic encryption enabled with server authentication.", +"TLS is disabled for the instance." +], +"type": "string" +} +}, +"type": "object" +}, +"InstanceAuthString": { +"description": "Instance AUTH string details.", +"id": "InstanceAuthString", +"properties": { +"authString": { +"description": "AUTH string set on the instance.", +"type": "string" +} +}, +"type": "object" +}, +"InternalResourceMetadata": { +"description": "Metadata for individual internal resources in an instance. e.g. spanner instance can have multiple databases with unique configuration settings. Similarly bigtable can have multiple clusters within same bigtable instance.", +"id": "InternalResourceMetadata", +"properties": { +"backupConfiguration": { +"$ref": "BackupConfiguration", +"description": "Backup configuration for this database" +}, +"backupRun": { +"$ref": "BackupRun", +"description": "Information about the last backup attempt for this database" +}, +"isDeletionProtectionEnabled": { +"description": "Whether deletion protection is enabled for this internal resource.", +"type": "boolean" +}, +"product": { +"$ref": "Product" +}, +"resourceId": { +"$ref": "DatabaseResourceId" +}, +"resourceName": { +"description": "Required. internal resource name for spanner this will be database name e.g.\"spanner.googleapis.com/projects/123/abc/instances/inst1/databases/db1\"", +"type": "string" +} +}, +"type": "object" +}, +"ListBackupCollectionsResponse": { +"description": "Response for [ListBackupCollections].", +"id": "ListBackupCollectionsResponse", +"properties": { +"backupCollections": { +"description": "A list of backupCollections in the project. If the `location_id` in the parent field of the request is \"-\", all regions available to the project are queried, and the results aggregated. If in such an aggregated query a location is unavailable, a placeholder backupCollection entry is included in the response with the `name` field set to a value of the form `projects/{project_id}/locations/{location_id}/backupCollections/`- and the `status` field set to ERROR and `status_message` field set to \"location not available for ListBackupCollections\".", +"items": { +"$ref": "BackupCollection" +}, +"type": "array" +}, +"nextPageToken": { +"description": "Token to retrieve the next page of results, or empty if there are no more results in the list.", +"type": "string" +}, +"unreachable": { +"description": "Locations that could not be reached.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListBackupsResponse": { +"description": "Response for [ListBackups].", +"id": "ListBackupsResponse", +"properties": { +"backups": { +"description": "A list of backups in the project.", +"items": { +"$ref": "Backup" +}, +"type": "array" +}, +"nextPageToken": { +"description": "Token to retrieve the next page of results, or empty if there are no more results in the list.", +"type": "string" +}, +"unreachable": { +"description": "Backups that could not be reached.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListClustersResponse": { +"description": "Response for ListClusters.", +"id": "ListClustersResponse", +"properties": { +"clusters": { +"description": "A list of Redis clusters in the project in the specified location, or across all locations. If the `location_id` in the parent field of the request is \"-\", all regions available to the project are queried, and the results aggregated. If in such an aggregated query a location is unavailable, a placeholder Redis entry is included in the response with the `name` field set to a value of the form `projects/{project_id}/locations/{location_id}/clusters/`- and the `status` field set to ERROR and `status_message` field set to \"location not available for ListClusters\".", +"items": { +"$ref": "Cluster" +}, +"type": "array" +}, +"nextPageToken": { +"description": "Token to retrieve the next page of results, or empty if there are no more results in the list.", +"type": "string" +}, +"unreachable": { +"description": "Locations that could not be reached.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListInstancesResponse": { +"description": "Response for ListInstances.", +"id": "ListInstancesResponse", +"properties": { +"instances": { +"description": "A list of Redis instances in the project in the specified location, or across all locations. If the `location_id` in the parent field of the request is \"-\", all regions available to the project are queried, and the results aggregated. If in such an aggregated query a location is unavailable, a placeholder Redis entry is included in the response with the `name` field set to a value of the form `projects/{project_id}/locations/{location_id}/instances/`- and the `status` field set to ERROR and `status_message` field set to \"location not available for ListInstances\".", +"items": { +"$ref": "Instance" +}, +"type": "array" +}, +"nextPageToken": { +"description": "Token to retrieve the next page of results, or empty if there are no more results in the list.", +"type": "string" +}, +"unreachable": { +"description": "Locations that could not be reached.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListLocationsResponse": { +"description": "The response message for Locations.ListLocations.", +"id": "ListLocationsResponse", +"properties": { +"locations": { +"description": "A list of locations that matches the specified filter in the request.", +"items": { +"$ref": "Location" +}, +"type": "array" +}, +"nextPageToken": { +"description": "The standard List next-page token.", +"type": "string" +} +}, +"type": "object" +}, +"ListOperationsResponse": { +"description": "The response message for Operations.ListOperations.", +"id": "ListOperationsResponse", +"properties": { +"nextPageToken": { +"description": "The standard List next-page token.", +"type": "string" +}, +"operations": { +"description": "A list of operations that matches the specified filter in the request.", +"items": { +"$ref": "Operation" +}, +"type": "array" +}, +"unreachable": { +"description": "Unordered list. Unreachable resources. Populated when the request sets `ListOperationsRequest.return_partial_success` and reads across collections. For example, when attempting to list all resources across all supported locations.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"Location": { +"description": "A resource that represents a Google Cloud location.", +"id": "Location", +"properties": { +"displayName": { +"description": "The friendly name for this location, typically a nearby city name. For example, \"Tokyo\".", +"type": "string" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Cross-service attributes for the location. For example {\"cloud.googleapis.com/region\": \"us-east1\"}", +"type": "object" +}, +"locationId": { +"description": "Resource ID for the region. For example: \"us-east1\".", +"type": "string" +}, +"metadata": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "Output only. The set of available zones in the location. The map is keyed by the lowercase ID of each zone, as defined by Compute Engine. These keys can be specified in `location_id` or `alternative_location_id` fields when creating a Redis instance.", +"type": "object" +}, +"name": { +"description": "Full resource name for the region. For example: \"projects/example-project/locations/us-east1\".", +"type": "string" +} +}, +"type": "object" +}, +"MachineConfiguration": { +"description": "MachineConfiguration describes the configuration of a machine specific to Database Resource.", +"id": "MachineConfiguration", +"properties": { +"baselineSlots": { +"description": "Optional. Baseline slots for BigQuery Reservations. Baseline slots are in increments of 50.", +"format": "int64", +"type": "string" +}, +"cpuCount": { +"deprecated": true, +"description": "The number of CPUs. Deprecated. Use vcpu_count instead. TODO(b/342344482) add proto validations again after bug fix.", +"format": "int32", +"type": "integer" +}, +"maxReservationSlots": { +"description": "Optional. Max slots for BigQuery Reservations. Max slots are in increments of 50.", +"format": "int64", +"type": "string" +}, +"memorySizeInBytes": { +"description": "Memory size in bytes. TODO(b/342344482) add proto validations again after bug fix.", +"format": "int64", +"type": "string" +}, +"shardCount": { +"description": "Optional. Number of shards (if applicable).", +"format": "int32", +"type": "integer" +}, +"vcpuCount": { +"description": "Optional. The number of vCPUs. TODO(b/342344482) add proto validations again after bug fix.", +"format": "double", +"type": "number" +} +}, +"type": "object" +}, +"MaintenancePolicy": { +"description": "Maintenance policy for an instance.", +"id": "MaintenancePolicy", +"properties": { +"createTime": { +"description": "Output only. The time when the policy was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"description": { +"description": "Optional. Description of what this policy is for. Create/Update methods return INVALID_ARGUMENT if the length is greater than 512.", +"type": "string" +}, +"updateTime": { +"description": "Output only. The time when the policy was last updated.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"weeklyMaintenanceWindow": { +"description": "Optional. Maintenance window that is applied to resources covered by this policy. Minimum 1. For the current version, the maximum number of weekly_window is expected to be one.", +"items": { +"$ref": "WeeklyMaintenanceWindow" +}, +"type": "array" +} +}, +"type": "object" +}, +"MaintenanceSchedule": { +"description": "Upcoming maintenance schedule. If no maintenance is scheduled, fields are not populated.", +"id": "MaintenanceSchedule", +"properties": { +"canReschedule": { +"deprecated": true, +"description": "If the scheduled maintenance can be rescheduled, default is true.", +"type": "boolean" +}, +"endTime": { +"description": "Output only. The end time of any upcoming scheduled maintenance for this instance.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"scheduleDeadlineTime": { +"description": "Output only. The deadline that the maintenance schedule start time can not go beyond, including reschedule.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"startTime": { +"description": "Output only. The start time of any upcoming scheduled maintenance for this instance.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"ManagedBackupSource": { +"description": "Backups that generated and managed by memorystore.", +"id": "ManagedBackupSource", +"properties": { +"backup": { +"description": "Optional. Example: //redis.googleapis.com/projects/{project}/locations/{location}/backupCollections/{collection}/backups/{backup} A shorter version (without the prefix) of the backup name is also supported, like projects/{project}/locations/{location}/backupCollections/{collection}/backups/{backup_id} In this case, it assumes the backup is under redis.googleapis.com.", +"type": "string" +} +}, +"type": "object" +}, +"ManagedCertificateAuthority": { +"id": "ManagedCertificateAuthority", +"properties": { +"caCerts": { +"description": "The PEM encoded CA certificate chains for redis managed server authentication", +"items": { +"$ref": "CertChain" +}, +"type": "array" +} +}, +"type": "object" +}, +"Membership": { +"description": "An output only view of all the member clusters participating in the cross cluster replication.", +"id": "Membership", +"properties": { +"primaryCluster": { +"$ref": "RemoteCluster", +"description": "Output only. The primary cluster that acts as the source of replication for the secondary clusters.", +"readOnly": true +}, +"secondaryClusters": { +"description": "Output only. The list of secondary clusters replicating from the primary cluster.", +"items": { +"$ref": "RemoteCluster" +}, +"readOnly": true, +"type": "array" +} +}, +"type": "object" +}, +"NodeInfo": { +"description": "Node specific properties.", +"id": "NodeInfo", +"properties": { +"id": { +"description": "Output only. Node identifying string. e.g. 'node-0', 'node-1'", +"readOnly": true, +"type": "string" +}, +"zone": { +"description": "Output only. Location of the node.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"ObservabilityMetricData": { +"id": "ObservabilityMetricData", +"properties": { +"aggregationType": { +"description": "Required. Type of aggregation performed on the metric.", +"enum": [ +"AGGREGATION_TYPE_UNSPECIFIED", +"PEAK", +"P99", +"P95", +"CURRENT" +], +"enumDescriptions": [ +"Unspecified aggregation type.", +"PEAK aggregation type.", +"P99 aggregation type.", +"P95 aggregation type.", +"current aggregation type." +], +"type": "string" +}, +"metricType": { +"description": "Required. Type of metric like CPU, Memory, etc.", +"enum": [ +"METRIC_TYPE_UNSPECIFIED", +"CPU_UTILIZATION", +"MEMORY_UTILIZATION", +"NETWORK_CONNECTIONS", +"STORAGE_UTILIZATION", +"STORAGE_USED_BYTES", +"NODE_COUNT", +"MEMORY_USED_BYTES", +"PROCESSING_UNIT_COUNT" +], +"enumDescriptions": [ +"Unspecified metric type.", +"CPU utilization for a resource. The value is a fraction between 0.0 and 1.0 (may momentarily exceed 1.0 in some cases).", +"Memory utilization for a resource. The value is a fraction between 0.0 and 1.0 (may momentarily exceed 1.0 in some cases).", +"Number of network connections for a resource.", +"Storage utilization for a resource. The value is a fraction between 0.0 and 1.0 (may momentarily exceed 1.0 in some cases).", +"Sotrage used by a resource.", +"Node count for a resource. It represents the number of node units in a bigtable/spanner instance.", +"Memory used by a resource (in bytes).", +"Processing units used by a resource. It represents the number of processing units in a spanner instance." +], +"type": "string" +}, +"observationTime": { +"description": "Required. The time the metric value was observed.", +"format": "google-datetime", +"type": "string" +}, +"resourceName": { +"description": "Required. Database resource name associated with the signal. Resource name to follow CAIS resource_name format as noted here go/condor-common-datamodel", +"type": "string" +}, +"value": { +"$ref": "TypedValue", +"description": "Required. Value of the metric type." +} +}, +"type": "object" +}, +"Operation": { +"description": "This resource represents a long-running operation that is the result of a network API call.", +"id": "Operation", +"properties": { +"done": { +"description": "If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.", +"type": "boolean" +}, +"error": { +"$ref": "Status", +"description": "The error result of the operation in case of failure or cancellation." +}, +"metadata": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "{ `createTime`: The time the operation was created. `endTime`: The time the operation finished running. `target`: Server-defined resource path for the target of the operation. `verb`: Name of the verb executed by the operation. `statusDetail`: Human-readable status of the operation, if any. `cancelRequested`: Identifies whether the user has requested cancellation of the operation. Operations that have successfully been cancelled have Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`. `apiVersion`: API version used to start the operation. }", +"type": "object" +}, +"name": { +"description": "The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.", +"type": "string" +}, +"response": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "The normal, successful response of the operation. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.", +"type": "object" +} +}, +"type": "object" +}, +"OperationError": { +"description": "An error that occurred during a backup creation operation.", +"id": "OperationError", +"properties": { +"code": { +"description": "Identifies the specific error that occurred. REQUIRED", +"type": "string" +}, +"errorType": { +"enum": [ +"OPERATION_ERROR_TYPE_UNSPECIFIED", +"KMS_KEY_ERROR", +"DATABASE_ERROR", +"STOCKOUT_ERROR", +"CANCELLATION_ERROR", +"SQLSERVER_ERROR", +"INTERNAL_ERROR" +], +"enumDescriptions": [ +"UNSPECIFIED means product type is not known or available.", +"key destroyed, expired, not found, unreachable or permission denied.", +"Database is not accessible", +"The zone or region does not have sufficient resources to handle the request at the moment", +"User initiated cancellation", +"SQL server specific error", +"Any other internal error." +], +"type": "string" +}, +"message": { +"description": "Additional information about the error encountered. REQUIRED", +"type": "string" +} +}, +"type": "object" +}, +"OperationMetadata": { +"description": "Pre-defined metadata fields.", +"id": "OperationMetadata", +"properties": { +"apiVersion": { +"description": "Output only. API version used to start the operation.", +"readOnly": true, +"type": "string" +}, +"createTime": { +"description": "Output only. The time the operation was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"endTime": { +"description": "Output only. The time the operation finished running.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"requestedCancellation": { +"description": "Output only. Identifies whether the user has requested cancellation of the operation. Operations that have successfully been cancelled have Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.", +"readOnly": true, +"type": "boolean" +}, +"statusMessage": { +"description": "Output only. Human-readable status of the operation, if any.", +"readOnly": true, +"type": "string" +}, +"target": { +"description": "Output only. Server-defined resource path for the target of the operation.", +"readOnly": true, +"type": "string" +}, +"verb": { +"description": "Output only. Name of the verb executed by the operation.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"OutputConfig": { +"description": "The output content", +"id": "OutputConfig", +"properties": { +"gcsDestination": { +"$ref": "GcsDestination", +"description": "Google Cloud Storage destination for output content." +} +}, +"type": "object" +}, +"PersistenceConfig": { +"description": "Configuration of the persistence functionality.", +"id": "PersistenceConfig", +"properties": { +"persistenceMode": { +"description": "Optional. Controls whether Persistence features are enabled. If not provided, the existing value will be used.", +"enum": [ +"PERSISTENCE_MODE_UNSPECIFIED", +"DISABLED", +"RDB" +], +"enumDescriptions": [ +"Not set.", +"Persistence is disabled for the instance, and any existing snapshots are deleted.", +"RDB based Persistence is enabled." +], +"type": "string" +}, +"rdbNextSnapshotTime": { +"description": "Output only. The next time that a snapshot attempt is scheduled to occur.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"rdbSnapshotPeriod": { +"description": "Optional. Period between RDB snapshots. Snapshots will be attempted every period starting from the provided snapshot start time. For example, a start time of 01/01/2033 06:45 and SIX_HOURS snapshot period will do nothing until 01/01/2033, and then trigger snapshots every day at 06:45, 12:45, 18:45, and 00:45 the next day, and so on. If not provided, TWENTY_FOUR_HOURS will be used as default.", +"enum": [ +"SNAPSHOT_PERIOD_UNSPECIFIED", +"ONE_HOUR", +"SIX_HOURS", +"TWELVE_HOURS", +"TWENTY_FOUR_HOURS" +], +"enumDescriptions": [ +"Not set.", +"Snapshot every 1 hour.", +"Snapshot every 6 hours.", +"Snapshot every 12 hours.", +"Snapshot every 24 hours." +], +"type": "string" +}, +"rdbSnapshotStartTime": { +"description": "Optional. Date and time that the first snapshot was/will be attempted, and to which future snapshots will be aligned. If not provided, the current time will be used.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"Product": { +"description": "Product specification for Condor resources.", +"id": "Product", +"properties": { +"engine": { +"description": "The specific engine that the underlying database is running.", +"enum": [ +"ENGINE_UNSPECIFIED", +"ENGINE_MYSQL", +"MYSQL", +"ENGINE_POSTGRES", +"POSTGRES", +"ENGINE_SQL_SERVER", +"SQL_SERVER", +"ENGINE_NATIVE", +"NATIVE", +"ENGINE_CLOUD_SPANNER_WITH_POSTGRES_DIALECT", +"ENGINE_CLOUD_SPANNER_WITH_GOOGLESQL_DIALECT", +"ENGINE_MEMORYSTORE_FOR_REDIS", +"ENGINE_MEMORYSTORE_FOR_REDIS_CLUSTER", +"ENGINE_OTHER", +"ENGINE_FIRESTORE_WITH_NATIVE_MODE", +"ENGINE_FIRESTORE_WITH_DATASTORE_MODE", +"ENGINE_FIRESTORE_WITH_MONGODB_COMPATIBILITY_MODE", +"ENGINE_EXADATA_ORACLE", +"ENGINE_ADB_SERVERLESS_ORACLE" +], +"enumDeprecated": [ +false, +false, +true, +false, +true, +false, +true, +false, +true, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false +], +"enumDescriptions": [ +"UNSPECIFIED means engine type is not known or available.", +"MySQL binary running as an engine in the database instance.", +"MySQL binary running as engine in database instance.", +"Postgres binary running as engine in database instance.", +"Postgres binary running as engine in database instance.", +"SQLServer binary running as engine in database instance.", +"SQLServer binary running as engine in database instance.", +"Native database binary running as engine in instance.", +"Native database binary running as engine in instance.", +"Cloud Spanner with PostgreSQL dialect.", +"Cloud Spanner with Google SQL dialect.", +"Memorystore with Redis dialect.", +"Memorystore with Redis cluster dialect.", +"Other refers to rest of other database engine. This is to be when engine is known, but it is not present in this enum.", +"Firestore with native mode.", +"Firestore with datastore mode.", +"Firestore with MongoDB compatibility mode.", +"Oracle Exadata engine.", +"Oracle Autonomous DB Serverless engine." +], +"type": "string" +}, +"minorVersion": { +"description": "Minor version of the underlying database engine. Example values: For MySQL, it could be \"8.0.32\", \"5.7.32\" etc.. For Postgres, it could be \"14.3\", \"15.3\" etc..", +"type": "string" +}, +"type": { +"description": "Type of specific database product. It could be CloudSQL, AlloyDB etc..", +"enum": [ +"PRODUCT_TYPE_UNSPECIFIED", +"PRODUCT_TYPE_CLOUD_SQL", +"CLOUD_SQL", +"PRODUCT_TYPE_ALLOYDB", +"ALLOYDB", +"PRODUCT_TYPE_SPANNER", +"PRODUCT_TYPE_ON_PREM", +"ON_PREM", +"PRODUCT_TYPE_MEMORYSTORE", +"PRODUCT_TYPE_BIGTABLE", +"PRODUCT_TYPE_FIRESTORE", +"PRODUCT_TYPE_COMPUTE_ENGINE", +"PRODUCT_TYPE_ORACLE_ON_GCP", +"PRODUCT_TYPE_BIGQUERY", +"PRODUCT_TYPE_OTHER" +], +"enumDeprecated": [ +false, +false, +true, +false, +true, +false, +false, +true, +false, +false, +false, +false, +false, +false, +false +], +"enumDescriptions": [ +"UNSPECIFIED means product type is not known or available.", +"Cloud SQL product area in GCP", +"Cloud SQL product area in GCP", +"AlloyDB product area in GCP", +"AlloyDB product area in GCP", +"Spanner product area in GCP", +"On premises database product.", +"On premises database product.", +"Memorystore product area in GCP", +"Bigtable product area in GCP", +"Firestore product area in GCP.", +"Compute Engine self managed databases", +"Oracle product area in GCP", +"BigQuery product area in GCP", +"Other refers to rest of other product type. This is to be when product type is known, but it is not present in this enum." +], +"type": "string" +}, +"version": { +"description": "Version of the underlying database engine. Example values: For MySQL, it could be \"8.0\", \"5.7\" etc.. For Postgres, it could be \"14\", \"15\" etc..", +"type": "string" +} +}, +"type": "object" +}, +"PscAutoConnection": { +"description": "Details of consumer resources in a PSC connection that is created through Service Connectivity Automation.", +"id": "PscAutoConnection", +"properties": { +"address": { +"description": "Output only. The IP allocated on the consumer network for the PSC forwarding rule.", +"readOnly": true, +"type": "string" +}, +"connectionType": { +"description": "Output only. Type of the PSC connection.", +"enum": [ +"CONNECTION_TYPE_UNSPECIFIED", +"CONNECTION_TYPE_DISCOVERY", +"CONNECTION_TYPE_PRIMARY", +"CONNECTION_TYPE_READER" +], +"enumDescriptions": [ +"Cluster endpoint Type is not set", +"Cluster endpoint that will be used as for cluster topology discovery.", +"Cluster endpoint that will be used as primary endpoint to access primary.", +"Cluster endpoint that will be used as reader endpoint to access replicas." +], +"readOnly": true, +"type": "string" +}, +"forwardingRule": { +"description": "Output only. The URI of the consumer side forwarding rule. Example: projects/{projectNumOrId}/regions/us-east1/forwardingRules/{resourceId}.", +"readOnly": true, +"type": "string" +}, +"network": { +"description": "Required. The consumer network where the IP address resides, in the form of projects/{project_id}/global/networks/{network_id}.", +"type": "string" +}, +"projectId": { +"description": "Required. The consumer project_id where the forwarding rule is created from.", +"type": "string" +}, +"pscConnectionId": { +"description": "Output only. The PSC connection id of the forwarding rule connected to the service attachment.", +"readOnly": true, +"type": "string" +}, +"pscConnectionStatus": { +"description": "Output only. The status of the PSC connection. Please note that this value is updated periodically. Please use Private Service Connect APIs for the latest status.", +"enum": [ +"PSC_CONNECTION_STATUS_UNSPECIFIED", +"PSC_CONNECTION_STATUS_ACTIVE", +"PSC_CONNECTION_STATUS_NOT_FOUND" +], +"enumDescriptions": [ +"PSC connection status is not specified.", +"The connection is active", +"Connection not found" +], +"readOnly": true, +"type": "string" +}, +"serviceAttachment": { +"description": "Output only. The service attachment which is the target of the PSC connection, in the form of projects/{project-id}/regions/{region}/serviceAttachments/{service-attachment-id}.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"PscConfig": { +"id": "PscConfig", +"properties": { +"network": { +"description": "Required. The network where the IP address of the discovery endpoint will be reserved, in the form of projects/{network_project}/global/networks/{network_id}.", +"type": "string" +} +}, +"type": "object" +}, +"PscConnection": { +"description": "Details of consumer resources in a PSC connection.", +"id": "PscConnection", +"properties": { +"address": { +"description": "Required. The IP allocated on the consumer network for the PSC forwarding rule.", +"type": "string" +}, +"connectionType": { +"description": "Output only. Type of the PSC connection.", +"enum": [ +"CONNECTION_TYPE_UNSPECIFIED", +"CONNECTION_TYPE_DISCOVERY", +"CONNECTION_TYPE_PRIMARY", +"CONNECTION_TYPE_READER" +], +"enumDescriptions": [ +"Cluster endpoint Type is not set", +"Cluster endpoint that will be used as for cluster topology discovery.", +"Cluster endpoint that will be used as primary endpoint to access primary.", +"Cluster endpoint that will be used as reader endpoint to access replicas." +], +"readOnly": true, +"type": "string" +}, +"forwardingRule": { +"description": "Required. The URI of the consumer side forwarding rule. Example: projects/{projectNumOrId}/regions/us-east1/forwardingRules/{resourceId}.", +"type": "string" +}, +"network": { +"description": "Required. The consumer network where the IP address resides, in the form of projects/{project_id}/global/networks/{network_id}.", +"type": "string" +}, +"port": { +"description": "Output only. port will only be set for Primary/Reader or Discovery endpoint.", +"format": "int32", +"readOnly": true, +"type": "integer" +}, +"projectId": { +"description": "Optional. Project ID of the consumer project where the forwarding rule is created in.", +"type": "string" +}, +"pscConnectionId": { +"description": "Required. The PSC connection id of the forwarding rule connected to the service attachment.", +"type": "string" +}, +"pscConnectionStatus": { +"description": "Output only. The status of the PSC connection. Please note that this value is updated periodically. To get the latest status of a PSC connection, follow https://cloud.google.com/vpc/docs/configure-private-service-connect-services#endpoint-details.", +"enum": [ +"PSC_CONNECTION_STATUS_UNSPECIFIED", +"PSC_CONNECTION_STATUS_ACTIVE", +"PSC_CONNECTION_STATUS_NOT_FOUND" +], +"enumDescriptions": [ +"PSC connection status is not specified.", +"The connection is active", +"Connection not found" +], +"readOnly": true, +"type": "string" +}, +"serviceAttachment": { +"description": "Required. The service attachment which is the target of the PSC connection, in the form of projects/{project-id}/regions/{region}/serviceAttachments/{service-attachment-id}.", +"type": "string" +} +}, +"type": "object" +}, +"PscServiceAttachment": { +"description": "Configuration of a service attachment of the cluster, for creating PSC connections.", +"id": "PscServiceAttachment", +"properties": { +"connectionType": { +"description": "Output only. Type of a PSC connection targeting this service attachment.", +"enum": [ +"CONNECTION_TYPE_UNSPECIFIED", +"CONNECTION_TYPE_DISCOVERY", +"CONNECTION_TYPE_PRIMARY", +"CONNECTION_TYPE_READER" +], +"enumDescriptions": [ +"Cluster endpoint Type is not set", +"Cluster endpoint that will be used as for cluster topology discovery.", +"Cluster endpoint that will be used as primary endpoint to access primary.", +"Cluster endpoint that will be used as reader endpoint to access replicas." +], +"readOnly": true, +"type": "string" +}, +"serviceAttachment": { +"description": "Output only. Service attachment URI which your self-created PscConnection should use as target", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"RDBConfig": { +"description": "Configuration of the RDB based persistence.", +"id": "RDBConfig", +"properties": { +"rdbSnapshotPeriod": { +"description": "Optional. Period between RDB snapshots.", +"enum": [ +"SNAPSHOT_PERIOD_UNSPECIFIED", +"ONE_HOUR", +"SIX_HOURS", +"TWELVE_HOURS", +"TWENTY_FOUR_HOURS" +], +"enumDescriptions": [ +"Not set.", +"One hour.", +"Six hours.", +"Twelve hours.", +"Twenty four hours." +], +"type": "string" +}, +"rdbSnapshotStartTime": { +"description": "Optional. The time that the first snapshot was/will be attempted, and to which future snapshots will be aligned. If not provided, the current time will be used.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"ReconciliationOperationMetadata": { +"description": "Operation metadata returned by the CLH during resource state reconciliation.", +"id": "ReconciliationOperationMetadata", +"properties": { +"deleteResource": { +"deprecated": true, +"description": "DEPRECATED. Use exclusive_action instead.", +"type": "boolean" +}, +"exclusiveAction": { +"description": "Excluisive action returned by the CLH.", +"enum": [ +"UNKNOWN_REPAIR_ACTION", +"DELETE", +"RETRY" +], +"enumDeprecated": [ +false, +true, +false +], +"enumDescriptions": [ +"Unknown repair action.", +"The resource has to be deleted. When using this bit, the CLH should fail the operation. DEPRECATED. Instead use DELETE_RESOURCE OperationSignal in SideChannel.", +"This resource could not be repaired but the repair should be tried again at a later time. This can happen if there is a dependency that needs to be resolved first- e.g. if a parent resource must be repaired before a child resource." +], +"type": "string" +} +}, +"type": "object" +}, +"RegionalCertChain": { +"description": "The certificates that form the CA chain, from leaf to root order.", +"id": "RegionalCertChain", +"properties": { +"certificates": { +"description": "The certificates that form the CA chain, from leaf to root order.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"RegionalManagedCertificateAuthority": { +"description": "CA certificate chains for redis managed server authentication.", +"id": "RegionalManagedCertificateAuthority", +"properties": { +"caCerts": { +"description": "The PEM encoded CA certificate chains for redis managed server authentication", +"items": { +"$ref": "RegionalCertChain" +}, +"type": "array" +} +}, +"type": "object" +}, +"RemoteCluster": { +"description": "Details of the remote cluster associated with this cluster in a cross cluster replication setup.", +"id": "RemoteCluster", +"properties": { +"cluster": { +"description": "Output only. The full resource path of the remote cluster in the format: projects//locations//clusters/", +"readOnly": true, +"type": "string" +}, +"uid": { +"description": "Output only. The unique identifier of the remote cluster.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"RescheduleClusterMaintenanceRequest": { +"description": "Request for rescheduling a cluster maintenance.", +"id": "RescheduleClusterMaintenanceRequest", +"properties": { +"rescheduleType": { +"description": "Required. If reschedule type is SPECIFIC_TIME, must set up schedule_time as well.", +"enum": [ +"RESCHEDULE_TYPE_UNSPECIFIED", +"IMMEDIATE", +"SPECIFIC_TIME" +], +"enumDescriptions": [ +"Not set.", +"If the user wants to schedule the maintenance to happen now.", +"If the user wants to reschedule the maintenance to a specific time." +], +"type": "string" +}, +"scheduleTime": { +"description": "Optional. Timestamp when the maintenance shall be rescheduled to if reschedule_type=SPECIFIC_TIME, in RFC 3339 format, for example `2012-11-15T16:19:00.094Z`.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"RescheduleMaintenanceRequest": { +"description": "Request for RescheduleMaintenance.", +"id": "RescheduleMaintenanceRequest", +"properties": { +"rescheduleType": { +"description": "Required. If reschedule type is SPECIFIC_TIME, must set up schedule_time as well.", +"enum": [ +"RESCHEDULE_TYPE_UNSPECIFIED", +"IMMEDIATE", +"NEXT_AVAILABLE_WINDOW", +"SPECIFIC_TIME" +], +"enumDescriptions": [ +"Not set.", +"If the user wants to schedule the maintenance to happen now.", +"If the user wants to use the existing maintenance policy to find the next available window.", +"If the user wants to reschedule the maintenance to a specific time." +], +"type": "string" +}, +"scheduleTime": { +"description": "Optional. Timestamp when the maintenance shall be rescheduled to if reschedule_type=SPECIFIC_TIME, in RFC 3339 format, for example `2012-11-15T16:19:00.094Z`.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"ResourceFlags": { +"description": "Message type for storing resource flags.", +"id": "ResourceFlags", +"properties": { +"key": { +"description": "Optional. Key of the resource flag.", +"type": "string" +}, +"value": { +"description": "Optional. Value of the resource flag.", +"type": "string" +} +}, +"type": "object" +}, +"ResourceMaintenanceDenySchedule": { +"description": "Deny maintenance period for the database resource. It specifies the time range during which the maintenance cannot start. This is configured by the customer.", +"id": "ResourceMaintenanceDenySchedule", +"properties": { +"endDate": { +"$ref": "Date", +"description": "Optional. Deny period end date." +}, +"startDate": { +"$ref": "Date", +"description": "Optional. The start date of the deny maintenance period." +}, +"time": { +"$ref": "TimeOfDay", +"description": "Optional. Time in UTC when the deny period starts on start_date and ends on end_date." +} +}, +"type": "object" +}, +"ResourceMaintenanceInfo": { +"description": "MaintenanceInfo to capture the maintenance details of database resource.", +"id": "ResourceMaintenanceInfo", +"properties": { +"currentVersionReleaseDate": { +"$ref": "Date", +"description": "Optional. The date when the current maintenance version was released." +}, +"denyMaintenanceSchedules": { +"description": "Optional. List of Deny maintenance period for the database resource.", +"items": { +"$ref": "ResourceMaintenanceDenySchedule" +}, +"type": "array" +}, +"isInstanceStopped": { +"description": "Optional. Whether the instance is in stopped state. This information is temporarily being captured in maintenanceInfo, till STOPPED state is supported by DB Center.", +"type": "boolean" +}, +"maintenanceSchedule": { +"$ref": "ResourceMaintenanceSchedule", +"description": "Optional. Maintenance window for the database resource." +}, +"maintenanceState": { +"description": "Output only. Current state of maintenance on the database resource.", +"enum": [ +"MAINTENANCE_STATE_UNSPECIFIED", +"CREATING", +"READY", +"UPDATING", +"REPAIRING", +"DELETING", +"ERROR" +], +"enumDescriptions": [ +"Unspecified state.", +"Database resource is being created.", +"Database resource has been created and is ready to use.", +"Database resource is being updated.", +"Database resource is unheathy and under repair.", +"Database resource is being deleted.", +"Database resource encountered an error and is in indeterministic state." +], +"readOnly": true, +"type": "string" +}, +"maintenanceVersion": { +"description": "Optional. Current Maintenance version of the database resource. Example: \"MYSQL_8_0_41.R20250531.01_15\"", +"type": "string" +}, +"upcomingMaintenance": { +"$ref": "UpcomingMaintenance", +"description": "Optional. Upcoming maintenance for the database resource. This field is populated once SLM generates and publishes upcoming maintenance window." +} +}, +"type": "object" +}, +"ResourceMaintenanceSchedule": { +"description": "Maintenance window for the database resource. It specifies preferred time and day of the week and phase in some cases, when the maintenance can start. This is configured by the customer.", +"id": "ResourceMaintenanceSchedule", +"properties": { +"day": { +"description": "Optional. Preferred day of the week for maintenance, e.g. MONDAY, TUESDAY, etc.", +"enum": [ +"DAY_OF_WEEK_UNSPECIFIED", +"MONDAY", +"TUESDAY", +"WEDNESDAY", +"THURSDAY", +"FRIDAY", +"SATURDAY", +"SUNDAY" +], +"enumDescriptions": [ +"The day of the week is unspecified.", +"Monday", +"Tuesday", +"Wednesday", +"Thursday", +"Friday", +"Saturday", +"Sunday" +], +"type": "string" +}, +"phase": { +"description": "Optional. Phase of the maintenance window. This is to capture order of maintenance. For example, for Cloud SQL resources, this can be used to capture if the maintenance window is in Week1, Week2, Week5, etc. Non production resources are usually part of early phase. For more details, refer to Cloud SQL resources - https://cloud.google.com/sql/docs/mysql/maintenance", +"enum": [ +"PHASE_UNSPECIFIED", +"ANY", +"WEEK1", +"WEEK2", +"WEEK5" +], +"enumDescriptions": [ +"Phase is unspecified.", +"Any phase.", +"Week 1.", +"Week 2.", +"Week 5." +], +"type": "string" +}, +"time": { +"$ref": "TimeOfDay", +"description": "Optional. Preferred time to start the maintenance operation on the specified day." +} +}, +"type": "object" +}, +"RetentionSettings": { +"id": "RetentionSettings", +"properties": { +"durationBasedRetention": { +"description": "Duration based retention period i.e. 172800 seconds (2 days)", +"format": "google-duration", +"type": "string" +}, +"quantityBasedRetention": { +"format": "int32", +"type": "integer" +}, +"retentionUnit": { +"deprecated": true, +"description": "The unit that 'retained_backups' represents.", +"enum": [ +"RETENTION_UNIT_UNSPECIFIED", +"COUNT", +"TIME", +"DURATION", +"RETENTION_UNIT_OTHER" +], +"enumDescriptions": [ +"Backup retention unit is unspecified, will be treated as COUNT.", +"Retention will be by count, eg. \"retain the most recent 7 backups\".", +"Retention will be by Time, eg. \"retain backups till a specific time\" i.e. till 2024-05-01T00:00:00Z.", +"Retention will be by duration, eg. \"retain the backups for 172800 seconds (2 days)\".", +"For rest of the other category" +], +"type": "string" +}, +"timeBasedRetention": { +"deprecated": true, +"format": "google-duration", +"type": "string" +}, +"timestampBasedRetentionTime": { +"description": "Timestamp based retention period i.e. 2024-05-01T00:00:00Z", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"SharedRegionalCertificateAuthority": { +"description": "Shared regional certificate authority", +"id": "SharedRegionalCertificateAuthority", +"properties": { +"managedServerCa": { +"$ref": "RegionalManagedCertificateAuthority", +"description": "CA certificate chains for redis managed server authentication." +}, +"name": { +"description": "Identifier. Unique name of the resource in this scope including project and location using the form: `projects/{project}/locations/{location}/sharedRegionalCertificateAuthority`", +"type": "string" +} +}, +"type": "object" +}, +"StateInfo": { +"description": "Represents additional information about the state of the cluster.", +"id": "StateInfo", +"properties": { +"updateInfo": { +"$ref": "UpdateInfo", +"description": "Describes ongoing update on the cluster when cluster state is UPDATING." +} +}, +"type": "object" +}, +"Status": { +"description": "The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors).", +"id": "Status", +"properties": { +"code": { +"description": "The status code, which should be an enum value of google.rpc.Code.", +"format": "int32", +"type": "integer" +}, +"details": { +"description": "A list of messages that carry the error details. There is a common set of message types for APIs to use.", +"items": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.", +"type": "string" +} +}, +"type": "object" +}, +"Tags": { +"description": "Message type for storing tags. Tags provide a way to create annotations for resources, and in some cases conditionally allow or deny policies based on whether a resource has a specific tag.", +"id": "Tags", +"properties": { +"tags": { +"additionalProperties": { +"type": "string" +}, +"description": "The Tag key/value mappings.", +"type": "object" +} +}, +"type": "object" +}, +"TimeOfDay": { +"description": "Represents a time of day. The date and time zone are either not significant or are specified elsewhere. An API may choose to allow leap seconds. Related types are google.type.Date and `google.protobuf.Timestamp`.", +"id": "TimeOfDay", +"properties": { +"hours": { +"description": "Hours of a day in 24 hour format. Must be greater than or equal to 0 and typically must be less than or equal to 23. An API may choose to allow the value \"24:00:00\" for scenarios like business closing time.", +"format": "int32", +"type": "integer" +}, +"minutes": { +"description": "Minutes of an hour. Must be greater than or equal to 0 and less than or equal to 59.", +"format": "int32", +"type": "integer" +}, +"nanos": { +"description": "Fractions of seconds, in nanoseconds. Must be greater than or equal to 0 and less than or equal to 999,999,999.", +"format": "int32", +"type": "integer" +}, +"seconds": { +"description": "Seconds of a minute. Must be greater than or equal to 0 and typically must be less than or equal to 59. An API may allow the value 60 if it allows leap-seconds.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"TlsCertificate": { +"description": "TlsCertificate Resource", +"id": "TlsCertificate", +"properties": { +"cert": { +"description": "PEM representation.", +"type": "string" +}, +"createTime": { +"description": "Output only. The time when the certificate was created in [RFC 3339](https://tools.ietf.org/html/rfc3339) format, for example `2020-05-18T00:00:00.094Z`.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"expireTime": { +"description": "Output only. The time when the certificate expires in [RFC 3339](https://tools.ietf.org/html/rfc3339) format, for example `2020-05-18T00:00:00.094Z`.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"serialNumber": { +"description": "Serial number, as extracted from the certificate.", +"type": "string" +}, +"sha1Fingerprint": { +"description": "Sha1 Fingerprint of the certificate.", +"type": "string" +} +}, +"type": "object" +}, +"TypedValue": { +"description": "TypedValue represents the value of a metric type. It can either be a double, an int64, a string or a bool.", +"id": "TypedValue", +"properties": { +"boolValue": { +"description": "For boolean value", +"type": "boolean" +}, +"doubleValue": { +"description": "For double value", +"format": "double", +"type": "number" +}, +"int64Value": { +"description": "For integer value", +"format": "int64", +"type": "string" +}, +"stringValue": { +"description": "For string value", +"type": "string" +} +}, +"type": "object" +}, +"UpcomingMaintenance": { +"description": "Upcoming maintenance for the database resource. This is generated by SLM once the upcoming maintenance schedule is published.", +"id": "UpcomingMaintenance", +"properties": { +"endTime": { +"description": "Optional. The end time of the upcoming maintenance.", +"format": "google-datetime", +"type": "string" +}, +"startTime": { +"description": "Optional. The start time of the upcoming maintenance.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"UpdateInfo": { +"description": "Represents information about an updating cluster.", +"id": "UpdateInfo", +"properties": { +"targetNodeType": { +"description": "Target node type for redis cluster.", +"enum": [ +"NODE_TYPE_UNSPECIFIED", +"REDIS_SHARED_CORE_NANO", +"REDIS_HIGHMEM_MEDIUM", +"REDIS_HIGHMEM_XLARGE", +"REDIS_STANDARD_SMALL" +], +"enumDescriptions": [ +"Node type unspecified", +"Redis shared core nano node_type.", +"Redis highmem medium node_type.", +"Redis highmem xlarge node_type.", +"Redis standard small node_type." +], +"type": "string" +}, +"targetReplicaCount": { +"description": "Target number of replica nodes per shard.", +"format": "int32", +"type": "integer" +}, +"targetShardCount": { +"description": "Target number of shards for redis cluster", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"UpgradeInstanceRequest": { +"description": "Request for UpgradeInstance.", +"id": "UpgradeInstanceRequest", +"properties": { +"redisVersion": { +"description": "Required. Specifies the target version of Redis software to upgrade to.", +"type": "string" +} +}, +"type": "object" +}, +"UserLabels": { +"description": "Message type for storing user labels. User labels are used to tag App Engine resources, allowing users to search for resources matching a set of labels and to aggregate usage data by labels.", +"id": "UserLabels", +"properties": { +"labels": { +"additionalProperties": { +"type": "string" +}, +"type": "object" +} +}, +"type": "object" +}, +"WeeklyMaintenanceWindow": { +"description": "Time window in which disruptive maintenance updates occur. Non-disruptive updates can occur inside or outside this window.", +"id": "WeeklyMaintenanceWindow", +"properties": { +"day": { +"description": "Required. The day of week that maintenance updates occur.", +"enum": [ +"DAY_OF_WEEK_UNSPECIFIED", +"MONDAY", +"TUESDAY", +"WEDNESDAY", +"THURSDAY", +"FRIDAY", +"SATURDAY", +"SUNDAY" +], +"enumDescriptions": [ +"The day of the week is unspecified.", +"Monday", +"Tuesday", +"Wednesday", +"Thursday", +"Friday", +"Saturday", +"Sunday" +], +"type": "string" +}, +"duration": { +"description": "Output only. Duration of the maintenance window. The current window is fixed at 1 hour.", +"format": "google-duration", +"readOnly": true, +"type": "string" +}, +"startTime": { +"$ref": "TimeOfDay", +"description": "Required. Start time of the window in UTC time." +} +}, +"type": "object" +}, +"ZoneDistributionConfig": { +"description": "Zone distribution config for allocation of cluster resources.", +"id": "ZoneDistributionConfig", +"properties": { +"mode": { +"description": "Optional. The mode of zone distribution. Defaults to MULTI_ZONE, when not specified.", +"enum": [ +"ZONE_DISTRIBUTION_MODE_UNSPECIFIED", +"MULTI_ZONE", +"SINGLE_ZONE" +], +"enumDescriptions": [ +"Not Set. Default: MULTI_ZONE", +"Distribute all resources across 3 zones picked at random, within the region.", +"Distribute all resources in a single zone. The zone field must be specified, when this mode is selected." +], +"type": "string" +}, +"zone": { +"description": "Optional. When SINGLE ZONE distribution is selected, zone field would be used to allocate all resources in that zone. This is not applicable to MULTI_ZONE, and would be ignored for MULTI_ZONE clusters.", +"type": "string" +} +}, +"type": "object" +} +}, +"servicePath": "", +"title": "Google Cloud Memorystore for Redis API", +"version": "v1beta1", +"version_module": true +} \ No newline at end of file diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/remotebuildexecution.v1alpha.json b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/remotebuildexecution.v1alpha.json new file mode 100644 index 0000000000000000000000000000000000000000..fc7491b7082cea064010154c0587ee1fea4160f8 --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/remotebuildexecution.v1alpha.json @@ -0,0 +1,2187 @@ +{ + "auth": { + "oauth2": { + "scopes": { + "https://www.googleapis.com/auth/cloud-platform": { + "description": "See, edit, configure, and delete your Google Cloud Platform data" + } + } + } + }, + "basePath": "", + "baseUrl": "https://admin-remotebuildexecution.googleapis.com/", + "batchPath": "batch", + "canonicalName": "Remote Build Execution", + "description": "Supplies a Remote Execution API service for tools such as bazel.", + "discoveryVersion": "v1", + "documentationLink": "https://cloud.google.com/remote-build-execution/docs/", + "fullyEncodeReservedExpansion": true, + "icons": { + "x16": "http://www.google.com/images/icons/product/search-16.gif", + "x32": "http://www.google.com/images/icons/product/search-32.gif" + }, + "id": "remotebuildexecution:v1alpha", + "kind": "discovery#restDescription", + "mtlsRootUrl": "https://admin-remotebuildexecution.mtls.googleapis.com/", + "name": "remotebuildexecution", + "ownerDomain": "google.com", + "ownerName": "Google", + "parameters": { + "$.xgafv": { + "description": "V1 error format.", + "enum": [ + "1", + "2" + ], + "enumDescriptions": [ + "v1 error format", + "v2 error format" + ], + "location": "query", + "type": "string" + }, + "access_token": { + "description": "OAuth access token.", + "location": "query", + "type": "string" + }, + "alt": { + "default": "json", + "description": "Data format for response.", + "enum": [ + "json", + "media", + "proto" + ], + "enumDescriptions": [ + "Responses with Content-Type of application/json", + "Media download with context-dependent Content-Type", + "Responses with Content-Type of application/x-protobuf" + ], + "location": "query", + "type": "string" + }, + "callback": { + "description": "JSONP", + "location": "query", + "type": "string" + }, + "fields": { + "description": "Selector specifying which fields to include in a partial response.", + "location": "query", + "type": "string" + }, + "key": { + "description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", + "location": "query", + "type": "string" + }, + "oauth_token": { + "description": "OAuth 2.0 token for the current user.", + "location": "query", + "type": "string" + }, + "prettyPrint": { + "default": "true", + "description": "Returns response with indentations and line breaks.", + "location": "query", + "type": "boolean" + }, + "quotaUser": { + "description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.", + "location": "query", + "type": "string" + }, + "uploadType": { + "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", + "location": "query", + "type": "string" + }, + "upload_protocol": { + "description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", + "location": "query", + "type": "string" + } + }, + "protocol": "rest", + "resources": { + "projects": { + "resources": { + "instances": { + "methods": { + "create": { + "description": "Creates a new instance in the specified region. Returns a long running operation which contains an instance on completion. While the long running operation is in progress, any call to `GetInstance` returns an instance in state `CREATING`.", + "flatPath": "v1alpha/projects/{projectsId}/instances", + "httpMethod": "POST", + "id": "remotebuildexecution.projects.instances.create", + "parameterOrder": [ + "parent" + ], + "parameters": { + "parent": { + "description": "Resource name of the project containing the instance. Format: `projects/[PROJECT_ID]`.", + "location": "path", + "pattern": "^projects/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1alpha/{+parent}/instances", + "request": { + "$ref": "GoogleDevtoolsRemotebuildexecutionAdminV1alphaCreateInstanceRequest" + }, + "response": { + "$ref": "GoogleLongrunningOperation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "delete": { + "description": "Deletes the specified instance. Returns a long running operation which contains a `google.protobuf.Empty` response on completion. Deleting an instance with worker pools in it will delete these worker pools.", + "flatPath": "v1alpha/projects/{projectsId}/instances/{instancesId}", + "httpMethod": "DELETE", + "id": "remotebuildexecution.projects.instances.delete", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Name of the instance to delete. Format: `projects/[PROJECT_ID]/instances/[INSTANCE_ID]`.", + "location": "path", + "pattern": "^projects/[^/]+/instances/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1alpha/{+name}", + "response": { + "$ref": "GoogleLongrunningOperation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "get": { + "description": "Returns the specified instance.", + "flatPath": "v1alpha/projects/{projectsId}/instances/{instancesId}", + "httpMethod": "GET", + "id": "remotebuildexecution.projects.instances.get", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Name of the instance to retrieve. Format: `projects/[PROJECT_ID]/instances/[INSTANCE_ID]`.", + "location": "path", + "pattern": "^projects/[^/]+/instances/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1alpha/{+name}", + "response": { + "$ref": "GoogleDevtoolsRemotebuildexecutionAdminV1alphaInstance" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "list": { + "description": "Lists instances in a project.", + "flatPath": "v1alpha/projects/{projectsId}/instances", + "httpMethod": "GET", + "id": "remotebuildexecution.projects.instances.list", + "parameterOrder": [ + "parent" + ], + "parameters": { + "parent": { + "description": "Resource name of the project. Format: `projects/[PROJECT_ID]`.", + "location": "path", + "pattern": "^projects/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1alpha/{+parent}/instances", + "response": { + "$ref": "GoogleDevtoolsRemotebuildexecutionAdminV1alphaListInstancesResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "patch": { + "description": "Updates the specified instance. Returns a long running operation which contains the updated instance in the response on completion.", + "flatPath": "v1alpha/projects/{projectsId}/instances/{instancesId}", + "httpMethod": "PATCH", + "id": "remotebuildexecution.projects.instances.patch", + "parameterOrder": [ + "name" + ], + "parameters": { + "loggingEnabled": { + "description": "Deprecated, use instance.logging_enabled instead. Whether to enable Stackdriver logging for this instance.", + "location": "query", + "type": "boolean" + }, + "name": { + "description": "Output only. Instance resource name formatted as: `projects/[PROJECT_ID]/instances/[INSTANCE_ID]`. Name should not be populated when creating an instance since it is provided in the `instance_id` field.", + "location": "path", + "pattern": "^projects/[^/]+/instances/[^/]+$", + "required": true, + "type": "string" + }, + "name1": { + "description": "Deprecated, use instance.Name instead. Name of the instance to update. Format: `projects/[PROJECT_ID]/instances/[INSTANCE_ID]`.", + "location": "query", + "type": "string" + }, + "updateMask": { + "description": "The update mask applies to instance. For the `FieldMask` definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask If an empty update_mask is provided, only the non-default valued field in the worker pool field will be updated. Note that in order to update a field to the default value (zero, false, empty string) an explicit update_mask must be provided.", + "format": "google-fieldmask", + "location": "query", + "type": "string" + } + }, + "path": "v1alpha/{+name}", + "request": { + "$ref": "GoogleDevtoolsRemotebuildexecutionAdminV1alphaInstance" + }, + "response": { + "$ref": "GoogleLongrunningOperation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + } + }, + "resources": { + "workerpools": { + "methods": { + "create": { + "description": "Creates a new worker pool with a specified size and configuration. Returns a long running operation which contains a worker pool on completion. While the long running operation is in progress, any call to `GetWorkerPool` returns a worker pool in state `CREATING`.", + "flatPath": "v1alpha/projects/{projectsId}/instances/{instancesId}/workerpools", + "httpMethod": "POST", + "id": "remotebuildexecution.projects.instances.workerpools.create", + "parameterOrder": [ + "parent" + ], + "parameters": { + "parent": { + "description": "Resource name of the instance in which to create the new worker pool. Format: `projects/[PROJECT_ID]/instances/[INSTANCE_ID]`.", + "location": "path", + "pattern": "^projects/[^/]+/instances/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1alpha/{+parent}/workerpools", + "request": { + "$ref": "GoogleDevtoolsRemotebuildexecutionAdminV1alphaCreateWorkerPoolRequest" + }, + "response": { + "$ref": "GoogleLongrunningOperation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "delete": { + "description": "Deletes the specified worker pool. Returns a long running operation, which contains a `google.protobuf.Empty` response on completion. While the long running operation is in progress, any call to `GetWorkerPool` returns a worker pool in state `DELETING`.", + "flatPath": "v1alpha/projects/{projectsId}/instances/{instancesId}/workerpools/{workerpoolsId}", + "httpMethod": "DELETE", + "id": "remotebuildexecution.projects.instances.workerpools.delete", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Name of the worker pool to delete. Format: `projects/[PROJECT_ID]/instances/[INSTANCE_ID]/workerpools/[POOL_ID]`.", + "location": "path", + "pattern": "^projects/[^/]+/instances/[^/]+/workerpools/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1alpha/{+name}", + "response": { + "$ref": "GoogleLongrunningOperation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "get": { + "description": "Returns the specified worker pool.", + "flatPath": "v1alpha/projects/{projectsId}/instances/{instancesId}/workerpools/{workerpoolsId}", + "httpMethod": "GET", + "id": "remotebuildexecution.projects.instances.workerpools.get", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Name of the worker pool to retrieve. Format: `projects/[PROJECT_ID]/instances/[INSTANCE_ID]/workerpools/[POOL_ID]`.", + "location": "path", + "pattern": "^projects/[^/]+/instances/[^/]+/workerpools/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1alpha/{+name}", + "response": { + "$ref": "GoogleDevtoolsRemotebuildexecutionAdminV1alphaWorkerPool" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "list": { + "description": "Lists worker pools in an instance.", + "flatPath": "v1alpha/projects/{projectsId}/instances/{instancesId}/workerpools", + "httpMethod": "GET", + "id": "remotebuildexecution.projects.instances.workerpools.list", + "parameterOrder": [ + "parent" + ], + "parameters": { + "filter": { + "description": "Optional. A filter expression that filters resources listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. String values are case-insensitive. The comparison operator must be either `:`, `=`, `!=`, `>`, `>=`, `<=` or `<`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. You can also filter on nested fields. To filter on multiple expressions, you can separate expression using `AND` and `OR` operators, using parentheses to specify precedence. If neither operator is specified, `AND` is assumed. Examples: Include only pools with more than 100 reserved workers: `(worker_count > 100) (worker_config.reserved = true)` Include only pools with a certain label or machines of the e2-standard family: `worker_config.labels.key1 : * OR worker_config.machine_type: e2-standard`", + "location": "query", + "type": "string" + }, + "parent": { + "description": "Resource name of the instance. Format: `projects/[PROJECT_ID]/instances/[INSTANCE_ID]`.", + "location": "path", + "pattern": "^projects/[^/]+/instances/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1alpha/{+parent}/workerpools", + "response": { + "$ref": "GoogleDevtoolsRemotebuildexecutionAdminV1alphaListWorkerPoolsResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "patch": { + "description": "Updates an existing worker pool with a specified size and/or configuration. Returns a long running operation, which contains a worker pool on completion. While the long running operation is in progress, any call to `GetWorkerPool` returns a worker pool in state `UPDATING`.", + "flatPath": "v1alpha/projects/{projectsId}/instances/{instancesId}/workerpools/{workerpoolsId}", + "httpMethod": "PATCH", + "id": "remotebuildexecution.projects.instances.workerpools.patch", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "WorkerPool resource name formatted as: `projects/[PROJECT_ID]/instances/[INSTANCE_ID]/workerpools/[POOL_ID]`. name should not be populated when creating a worker pool since it is provided in the `poolId` field.", + "location": "path", + "pattern": "^projects/[^/]+/instances/[^/]+/workerpools/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1alpha/{+name}", + "request": { + "$ref": "GoogleDevtoolsRemotebuildexecutionAdminV1alphaUpdateWorkerPoolRequest" + }, + "response": { + "$ref": "GoogleLongrunningOperation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + } + } + } + } + }, + "operations": { + "methods": { + "get": { + "description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", + "flatPath": "v1alpha/projects/{projectsId}/operations/{operationsId}", + "httpMethod": "GET", + "id": "remotebuildexecution.projects.operations.get", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "The name of the operation resource.", + "location": "path", + "pattern": "^projects/[^/]+/operations/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1alpha/{+name}", + "response": { + "$ref": "GoogleLongrunningOperation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + } + } + } + } + } + }, + "revision": "20210712", + "rootUrl": "https://admin-remotebuildexecution.googleapis.com/", + "schemas": { + "BuildBazelRemoteExecutionV2Action": { + "description": "An `Action` captures all the information about an execution which is required to reproduce it. `Action`s are the core component of the [Execution] service. A single `Action` represents a repeatable action that can be performed by the execution service. `Action`s can be succinctly identified by the digest of their wire format encoding and, once an `Action` has been executed, will be cached in the action cache. Future requests can then use the cached result rather than needing to run afresh. When a server completes execution of an Action, it MAY choose to cache the result in the ActionCache unless `do_not_cache` is `true`. Clients SHOULD expect the server to do so. By default, future calls to Execute the same `Action` will also serve their results from the cache. Clients must take care to understand the caching behaviour. Ideally, all `Action`s will be reproducible so that serving a result from cache is always desirable and correct.", + "id": "BuildBazelRemoteExecutionV2Action", + "properties": { + "commandDigest": { + "$ref": "BuildBazelRemoteExecutionV2Digest", + "description": "The digest of the Command to run, which MUST be present in the ContentAddressableStorage." + }, + "doNotCache": { + "description": "If true, then the `Action`'s result cannot be cached, and in-flight requests for the same `Action` may not be merged.", + "type": "boolean" + }, + "inputRootDigest": { + "$ref": "BuildBazelRemoteExecutionV2Digest", + "description": "The digest of the root Directory for the input files. The files in the directory tree are available in the correct location on the build machine before the command is executed. The root directory, as well as every subdirectory and content blob referred to, MUST be in the ContentAddressableStorage." + }, + "platform": { + "$ref": "BuildBazelRemoteExecutionV2Platform", + "description": "The optional platform requirements for the execution environment. The server MAY choose to execute the action on any worker satisfying the requirements, so the client SHOULD ensure that running the action on any such worker will have the same result. A detailed lexicon for this can be found in the accompanying platform.md. New in version 2.2: clients SHOULD set these platform properties as well as those in the Command. Servers SHOULD prefer those set here." + }, + "salt": { + "description": "An optional additional salt value used to place this `Action` into a separate cache namespace from other instances having the same field contents. This salt typically comes from operational configuration specific to sources such as repo and service configuration, and allows disowning an entire set of ActionResults that might have been poisoned by buggy software or tool failures.", + "format": "byte", + "type": "string" + }, + "timeout": { + "description": "A timeout after which the execution should be killed. If the timeout is absent, then the client is specifying that the execution should continue as long as the server will let it. The server SHOULD impose a timeout if the client does not specify one, however, if the client does specify a timeout that is longer than the server's maximum timeout, the server MUST reject the request. The timeout is a part of the Action message, and therefore two `Actions` with different timeouts are different, even if they are otherwise identical. This is because, if they were not, running an `Action` with a lower timeout than is required might result in a cache hit from an execution run with a longer timeout, hiding the fact that the timeout is too short. By encoding it directly in the `Action`, a lower timeout will result in a cache miss and the execution timeout will fail immediately, rather than whenever the cache entry gets evicted.", + "format": "google-duration", + "type": "string" + } + }, + "type": "object" + }, + "BuildBazelRemoteExecutionV2ActionResult": { + "description": "An ActionResult represents the result of an Action being run. It is advised that at least one field (for example `ActionResult.execution_metadata.Worker`) have a non-default value, to ensure that the serialized value is non-empty, which can then be used as a basic data sanity check.", + "id": "BuildBazelRemoteExecutionV2ActionResult", + "properties": { + "executionMetadata": { + "$ref": "BuildBazelRemoteExecutionV2ExecutedActionMetadata", + "description": "The details of the execution that originally produced this result." + }, + "exitCode": { + "description": "The exit code of the command.", + "format": "int32", + "type": "integer" + }, + "outputDirectories": { + "description": "The output directories of the action. For each output directory requested in the `output_directories` or `output_paths` field of the Action, if the corresponding directory existed after the action completed, a single entry will be present in the output list, which will contain the digest of a Tree message containing the directory tree, and the path equal exactly to the corresponding Action output_directories member. As an example, suppose the Action had an output directory `a/b/dir` and the execution produced the following contents in `a/b/dir`: a file named `bar` and a directory named `foo` with an executable file named `baz`. Then, output_directory will contain (hashes shortened for readability): ```json // OutputDirectory proto: { path: \"a/b/dir\" tree_digest: { hash: \"4a73bc9d03...\", size: 55 } } // Tree proto with hash \"4a73bc9d03...\" and size 55: { root: { files: [ { name: \"bar\", digest: { hash: \"4a73bc9d03...\", size: 65534 } } ], directories: [ { name: \"foo\", digest: { hash: \"4cf2eda940...\", size: 43 } } ] } children : { // (Directory proto with hash \"4cf2eda940...\" and size 43) files: [ { name: \"baz\", digest: { hash: \"b2c941073e...\", size: 1294, }, is_executable: true } ] } } ``` If an output of the same name as listed in `output_files` of the Command was found in `output_directories`, but was not a directory, the server will return a FAILED_PRECONDITION.", + "items": { + "$ref": "BuildBazelRemoteExecutionV2OutputDirectory" + }, + "type": "array" + }, + "outputDirectorySymlinks": { + "description": "The output directories of the action that are symbolic links to other directories. Those may be links to other output directories, or input directories, or even absolute paths outside of the working directory, if the server supports SymlinkAbsolutePathStrategy.ALLOWED. For each output directory requested in the `output_directories` field of the Action, if the directory existed after the action completed, a single entry will be present either in this field, or in the `output_directories` field, if the directory was not a symbolic link. If an output of the same name was found, but was a symbolic link to a file instead of a directory, the server will return a FAILED_PRECONDITION. If the action does not produce the requested output, then that output will be omitted from the list. The server is free to arrange the output list as desired; clients MUST NOT assume that the output list is sorted. DEPRECATED as of v2.1. Servers that wish to be compatible with v2.0 API should still populate this field in addition to `output_symlinks`.", + "items": { + "$ref": "BuildBazelRemoteExecutionV2OutputSymlink" + }, + "type": "array" + }, + "outputFileSymlinks": { + "description": "The output files of the action that are symbolic links to other files. Those may be links to other output files, or input files, or even absolute paths outside of the working directory, if the server supports SymlinkAbsolutePathStrategy.ALLOWED. For each output file requested in the `output_files` or `output_paths` field of the Action, if the corresponding file existed after the action completed, a single entry will be present either in this field, or in the `output_files` field, if the file was not a symbolic link. If an output symbolic link of the same name as listed in `output_files` of the Command was found, but its target type was not a regular file, the server will return a FAILED_PRECONDITION. If the action does not produce the requested output, then that output will be omitted from the list. The server is free to arrange the output list as desired; clients MUST NOT assume that the output list is sorted. DEPRECATED as of v2.1. Servers that wish to be compatible with v2.0 API should still populate this field in addition to `output_symlinks`.", + "items": { + "$ref": "BuildBazelRemoteExecutionV2OutputSymlink" + }, + "type": "array" + }, + "outputFiles": { + "description": "The output files of the action. For each output file requested in the `output_files` or `output_paths` field of the Action, if the corresponding file existed after the action completed, a single entry will be present either in this field, or the `output_file_symlinks` field if the file was a symbolic link to another file (`output_symlinks` field after v2.1). If an output listed in `output_files` was found, but was a directory rather than a regular file, the server will return a FAILED_PRECONDITION. If the action does not produce the requested output, then that output will be omitted from the list. The server is free to arrange the output list as desired; clients MUST NOT assume that the output list is sorted.", + "items": { + "$ref": "BuildBazelRemoteExecutionV2OutputFile" + }, + "type": "array" + }, + "outputSymlinks": { + "description": "New in v2.1: this field will only be populated if the command `output_paths` field was used, and not the pre v2.1 `output_files` or `output_directories` fields. The output paths of the action that are symbolic links to other paths. Those may be links to other outputs, or inputs, or even absolute paths outside of the working directory, if the server supports SymlinkAbsolutePathStrategy.ALLOWED. A single entry for each output requested in `output_paths` field of the Action, if the corresponding path existed after the action completed and was a symbolic link. If the action does not produce a requested output, then that output will be omitted from the list. The server is free to arrange the output list as desired; clients MUST NOT assume that the output list is sorted.", + "items": { + "$ref": "BuildBazelRemoteExecutionV2OutputSymlink" + }, + "type": "array" + }, + "stderrDigest": { + "$ref": "BuildBazelRemoteExecutionV2Digest", + "description": "The digest for a blob containing the standard error of the action, which can be retrieved from the ContentAddressableStorage." + }, + "stderrRaw": { + "description": "The standard error buffer of the action. The server SHOULD NOT inline stderr unless requested by the client in the GetActionResultRequest message. The server MAY omit inlining, even if requested, and MUST do so if inlining would cause the response to exceed message size limits.", + "format": "byte", + "type": "string" + }, + "stdoutDigest": { + "$ref": "BuildBazelRemoteExecutionV2Digest", + "description": "The digest for a blob containing the standard output of the action, which can be retrieved from the ContentAddressableStorage." + }, + "stdoutRaw": { + "description": "The standard output buffer of the action. The server SHOULD NOT inline stdout unless requested by the client in the GetActionResultRequest message. The server MAY omit inlining, even if requested, and MUST do so if inlining would cause the response to exceed message size limits.", + "format": "byte", + "type": "string" + } + }, + "type": "object" + }, + "BuildBazelRemoteExecutionV2Command": { + "description": "A `Command` is the actual command executed by a worker running an Action and specifications of its environment. Except as otherwise required, the environment (such as which system libraries or binaries are available, and what filesystems are mounted where) is defined by and specific to the implementation of the remote execution API.", + "id": "BuildBazelRemoteExecutionV2Command", + "properties": { + "arguments": { + "description": "The arguments to the command. The first argument must be the path to the executable, which must be either a relative path, in which case it is evaluated with respect to the input root, or an absolute path.", + "items": { + "type": "string" + }, + "type": "array" + }, + "environmentVariables": { + "description": "The environment variables to set when running the program. The worker may provide its own default environment variables; these defaults can be overridden using this field. Additional variables can also be specified. In order to ensure that equivalent Commands always hash to the same value, the environment variables MUST be lexicographically sorted by name. Sorting of strings is done by code point, equivalently, by the UTF-8 bytes.", + "items": { + "$ref": "BuildBazelRemoteExecutionV2CommandEnvironmentVariable" + }, + "type": "array" + }, + "outputDirectories": { + "description": "A list of the output directories that the client expects to retrieve from the action. Only the listed directories will be returned (an entire directory structure will be returned as a Tree message digest, see OutputDirectory), as well as files listed in `output_files`. Other files or directories that may be created during command execution are discarded. The paths are relative to the working directory of the action execution. The paths are specified using a single forward slash (`/`) as a path separator, even if the execution platform natively uses a different separator. The path MUST NOT include a trailing slash, nor a leading slash, being a relative path. The special value of empty string is allowed, although not recommended, and can be used to capture the entire working directory tree, including inputs. In order to ensure consistent hashing of the same Action, the output paths MUST be sorted lexicographically by code point (or, equivalently, by UTF-8 bytes). An output directory cannot be duplicated or have the same path as any of the listed output files. An output directory is allowed to be a parent of another output directory. Directories leading up to the output directories (but not the output directories themselves) are created by the worker prior to execution, even if they are not explicitly part of the input root. DEPRECATED since 2.1: Use `output_paths` instead.", + "items": { + "type": "string" + }, + "type": "array" + }, + "outputFiles": { + "description": "A list of the output files that the client expects to retrieve from the action. Only the listed files, as well as directories listed in `output_directories`, will be returned to the client as output. Other files or directories that may be created during command execution are discarded. The paths are relative to the working directory of the action execution. The paths are specified using a single forward slash (`/`) as a path separator, even if the execution platform natively uses a different separator. The path MUST NOT include a trailing slash, nor a leading slash, being a relative path. In order to ensure consistent hashing of the same Action, the output paths MUST be sorted lexicographically by code point (or, equivalently, by UTF-8 bytes). An output file cannot be duplicated, be a parent of another output file, or have the same path as any of the listed output directories. Directories leading up to the output files are created by the worker prior to execution, even if they are not explicitly part of the input root. DEPRECATED since v2.1: Use `output_paths` instead.", + "items": { + "type": "string" + }, + "type": "array" + }, + "outputNodeProperties": { + "description": "A list of keys for node properties the client expects to retrieve for output files and directories. Keys are either names of string-based NodeProperty or names of fields in NodeProperties. In order to ensure that equivalent `Action`s always hash to the same value, the node properties MUST be lexicographically sorted by name. Sorting of strings is done by code point, equivalently, by the UTF-8 bytes. The interpretation of string-based properties is server-dependent. If a property is not recognized by the server, the server will return an `INVALID_ARGUMENT`.", + "items": { + "type": "string" + }, + "type": "array" + }, + "outputPaths": { + "description": "A list of the output paths that the client expects to retrieve from the action. Only the listed paths will be returned to the client as output. The type of the output (file or directory) is not specified, and will be determined by the server after action execution. If the resulting path is a file, it will be returned in an OutputFile) typed field. If the path is a directory, the entire directory structure will be returned as a Tree message digest, see OutputDirectory) Other files or directories that may be created during command execution are discarded. The paths are relative to the working directory of the action execution. The paths are specified using a single forward slash (`/`) as a path separator, even if the execution platform natively uses a different separator. The path MUST NOT include a trailing slash, nor a leading slash, being a relative path. In order to ensure consistent hashing of the same Action, the output paths MUST be deduplicated and sorted lexicographically by code point (or, equivalently, by UTF-8 bytes). Directories leading up to the output paths are created by the worker prior to execution, even if they are not explicitly part of the input root. New in v2.1: this field supersedes the DEPRECATED `output_files` and `output_directories` fields. If `output_paths` is used, `output_files` and `output_directories` will be ignored!", + "items": { + "type": "string" + }, + "type": "array" + }, + "platform": { + "$ref": "BuildBazelRemoteExecutionV2Platform", + "description": "The platform requirements for the execution environment. The server MAY choose to execute the action on any worker satisfying the requirements, so the client SHOULD ensure that running the action on any such worker will have the same result. A detailed lexicon for this can be found in the accompanying platform.md. DEPRECATED as of v2.2: platform properties are now specified directly in the action. See documentation note in the Action for migration." + }, + "workingDirectory": { + "description": "The working directory, relative to the input root, for the command to run in. It must be a directory which exists in the input tree. If it is left empty, then the action is run in the input root.", + "type": "string" + } + }, + "type": "object" + }, + "BuildBazelRemoteExecutionV2CommandEnvironmentVariable": { + "description": "An `EnvironmentVariable` is one variable to set in the running program's environment.", + "id": "BuildBazelRemoteExecutionV2CommandEnvironmentVariable", + "properties": { + "name": { + "description": "The variable name.", + "type": "string" + }, + "value": { + "description": "The variable value.", + "type": "string" + } + }, + "type": "object" + }, + "BuildBazelRemoteExecutionV2Digest": { + "description": "A content digest. A digest for a given blob consists of the size of the blob and its hash. The hash algorithm to use is defined by the server. The size is considered to be an integral part of the digest and cannot be separated. That is, even if the `hash` field is correctly specified but `size_bytes` is not, the server MUST reject the request. The reason for including the size in the digest is as follows: in a great many cases, the server needs to know the size of the blob it is about to work with prior to starting an operation with it, such as flattening Merkle tree structures or streaming it to a worker. Technically, the server could implement a separate metadata store, but this results in a significantly more complicated implementation as opposed to having the client specify the size up-front (or storing the size along with the digest in every message where digests are embedded). This does mean that the API leaks some implementation details of (what we consider to be) a reasonable server implementation, but we consider this to be a worthwhile tradeoff. When a `Digest` is used to refer to a proto message, it always refers to the message in binary encoded form. To ensure consistent hashing, clients and servers MUST ensure that they serialize messages according to the following rules, even if there are alternate valid encodings for the same message: * Fields are serialized in tag order. * There are no unknown fields. * There are no duplicate fields. * Fields are serialized according to the default semantics for their type. Most protocol buffer implementations will always follow these rules when serializing, but care should be taken to avoid shortcuts. For instance, concatenating two messages to merge them may produce duplicate fields.", + "id": "BuildBazelRemoteExecutionV2Digest", + "properties": { + "hash": { + "description": "The hash. In the case of SHA-256, it will always be a lowercase hex string exactly 64 characters long.", + "type": "string" + }, + "sizeBytes": { + "description": "The size of the blob, in bytes.", + "format": "int64", + "type": "string" + } + }, + "type": "object" + }, + "BuildBazelRemoteExecutionV2Directory": { + "description": "A `Directory` represents a directory node in a file tree, containing zero or more children FileNodes, DirectoryNodes and SymlinkNodes. Each `Node` contains its name in the directory, either the digest of its content (either a file blob or a `Directory` proto) or a symlink target, as well as possibly some metadata about the file or directory. In order to ensure that two equivalent directory trees hash to the same value, the following restrictions MUST be obeyed when constructing a a `Directory`: * Every child in the directory must have a path of exactly one segment. Multiple levels of directory hierarchy may not be collapsed. * Each child in the directory must have a unique path segment (file name). Note that while the API itself is case-sensitive, the environment where the Action is executed may or may not be case-sensitive. That is, it is legal to call the API with a Directory that has both \"Foo\" and \"foo\" as children, but the Action may be rejected by the remote system upon execution. * The files, directories and symlinks in the directory must each be sorted in lexicographical order by path. The path strings must be sorted by code point, equivalently, by UTF-8 bytes. * The NodeProperties of files, directories, and symlinks must be sorted in lexicographical order by property name. A `Directory` that obeys the restrictions is said to be in canonical form. As an example, the following could be used for a file named `bar` and a directory named `foo` with an executable file named `baz` (hashes shortened for readability): ```json // (Directory proto) { files: [ { name: \"bar\", digest: { hash: \"4a73bc9d03...\", size: 65534 }, node_properties: [ { \"name\": \"MTime\", \"value\": \"2017-01-15T01:30:15.01Z\" } ] } ], directories: [ { name: \"foo\", digest: { hash: \"4cf2eda940...\", size: 43 } } ] } // (Directory proto with hash \"4cf2eda940...\" and size 43) { files: [ { name: \"baz\", digest: { hash: \"b2c941073e...\", size: 1294, }, is_executable: true } ] } ```", + "id": "BuildBazelRemoteExecutionV2Directory", + "properties": { + "directories": { + "description": "The subdirectories in the directory.", + "items": { + "$ref": "BuildBazelRemoteExecutionV2DirectoryNode" + }, + "type": "array" + }, + "files": { + "description": "The files in the directory.", + "items": { + "$ref": "BuildBazelRemoteExecutionV2FileNode" + }, + "type": "array" + }, + "nodeProperties": { + "$ref": "BuildBazelRemoteExecutionV2NodeProperties" + }, + "symlinks": { + "description": "The symlinks in the directory.", + "items": { + "$ref": "BuildBazelRemoteExecutionV2SymlinkNode" + }, + "type": "array" + } + }, + "type": "object" + }, + "BuildBazelRemoteExecutionV2DirectoryNode": { + "description": "A `DirectoryNode` represents a child of a Directory which is itself a `Directory` and its associated metadata.", + "id": "BuildBazelRemoteExecutionV2DirectoryNode", + "properties": { + "digest": { + "$ref": "BuildBazelRemoteExecutionV2Digest", + "description": "The digest of the Directory object represented. See Digest for information about how to take the digest of a proto message." + }, + "name": { + "description": "The name of the directory.", + "type": "string" + } + }, + "type": "object" + }, + "BuildBazelRemoteExecutionV2ExecuteOperationMetadata": { + "description": "Metadata about an ongoing execution, which will be contained in the metadata field of the Operation.", + "id": "BuildBazelRemoteExecutionV2ExecuteOperationMetadata", + "properties": { + "actionDigest": { + "$ref": "BuildBazelRemoteExecutionV2Digest", + "description": "The digest of the Action being executed." + }, + "stage": { + "description": "The current stage of execution.", + "enum": [ + "UNKNOWN", + "CACHE_CHECK", + "QUEUED", + "EXECUTING", + "COMPLETED" + ], + "enumDescriptions": [ + "Invalid value.", + "Checking the result against the cache.", + "Currently idle, awaiting a free machine to execute.", + "Currently being executed by a worker.", + "Finished execution." + ], + "type": "string" + }, + "stderrStreamName": { + "description": "If set, the client can use this resource name with ByteStream.Read to stream the standard error from the endpoint hosting streamed responses.", + "type": "string" + }, + "stdoutStreamName": { + "description": "If set, the client can use this resource name with ByteStream.Read to stream the standard output from the endpoint hosting streamed responses.", + "type": "string" + } + }, + "type": "object" + }, + "BuildBazelRemoteExecutionV2ExecuteResponse": { + "description": "The response message for Execution.Execute, which will be contained in the response field of the Operation.", + "id": "BuildBazelRemoteExecutionV2ExecuteResponse", + "properties": { + "cachedResult": { + "description": "True if the result was served from cache, false if it was executed.", + "type": "boolean" + }, + "message": { + "description": "Freeform informational message with details on the execution of the action that may be displayed to the user upon failure or when requested explicitly.", + "type": "string" + }, + "result": { + "$ref": "BuildBazelRemoteExecutionV2ActionResult", + "description": "The result of the action." + }, + "serverLogs": { + "additionalProperties": { + "$ref": "BuildBazelRemoteExecutionV2LogFile" + }, + "description": "An optional list of additional log outputs the server wishes to provide. A server can use this to return execution-specific logs however it wishes. This is intended primarily to make it easier for users to debug issues that may be outside of the actual job execution, such as by identifying the worker executing the action or by providing logs from the worker's setup phase. The keys SHOULD be human readable so that a client can display them to a user.", + "type": "object" + }, + "status": { + "$ref": "GoogleRpcStatus", + "description": "If the status has a code other than `OK`, it indicates that the action did not finish execution. For example, if the operation times out during execution, the status will have a `DEADLINE_EXCEEDED` code. Servers MUST use this field for errors in execution, rather than the error field on the `Operation` object. If the status code is other than `OK`, then the result MUST NOT be cached. For an error status, the `result` field is optional; the server may populate the output-, stdout-, and stderr-related fields if it has any information available, such as the stdout and stderr of a timed-out action." + } + }, + "type": "object" + }, + "BuildBazelRemoteExecutionV2ExecutedActionMetadata": { + "description": "ExecutedActionMetadata contains details about a completed execution.", + "id": "BuildBazelRemoteExecutionV2ExecutedActionMetadata", + "properties": { + "auxiliaryMetadata": { + "description": "Details that are specific to the kind of worker used. For example, on POSIX-like systems this could contain a message with getrusage(2) statistics.", + "items": { + "additionalProperties": { + "description": "Properties of the object. Contains field @type with type URL.", + "type": "any" + }, + "type": "object" + }, + "type": "array" + }, + "executionCompletedTimestamp": { + "description": "When the worker completed executing the action command.", + "format": "google-datetime", + "type": "string" + }, + "executionStartTimestamp": { + "description": "When the worker started executing the action command.", + "format": "google-datetime", + "type": "string" + }, + "inputFetchCompletedTimestamp": { + "description": "When the worker finished fetching action inputs.", + "format": "google-datetime", + "type": "string" + }, + "inputFetchStartTimestamp": { + "description": "When the worker started fetching action inputs.", + "format": "google-datetime", + "type": "string" + }, + "outputUploadCompletedTimestamp": { + "description": "When the worker finished uploading action outputs.", + "format": "google-datetime", + "type": "string" + }, + "outputUploadStartTimestamp": { + "description": "When the worker started uploading action outputs.", + "format": "google-datetime", + "type": "string" + }, + "queuedTimestamp": { + "description": "When was the action added to the queue.", + "format": "google-datetime", + "type": "string" + }, + "worker": { + "description": "The name of the worker which ran the execution.", + "type": "string" + }, + "workerCompletedTimestamp": { + "description": "When the worker completed the action, including all stages.", + "format": "google-datetime", + "type": "string" + }, + "workerStartTimestamp": { + "description": "When the worker received the action.", + "format": "google-datetime", + "type": "string" + } + }, + "type": "object" + }, + "BuildBazelRemoteExecutionV2FileNode": { + "description": "A `FileNode` represents a single file and associated metadata.", + "id": "BuildBazelRemoteExecutionV2FileNode", + "properties": { + "digest": { + "$ref": "BuildBazelRemoteExecutionV2Digest", + "description": "The digest of the file's content." + }, + "isExecutable": { + "description": "True if file is executable, false otherwise.", + "type": "boolean" + }, + "name": { + "description": "The name of the file.", + "type": "string" + }, + "nodeProperties": { + "$ref": "BuildBazelRemoteExecutionV2NodeProperties" + } + }, + "type": "object" + }, + "BuildBazelRemoteExecutionV2LogFile": { + "description": "A `LogFile` is a log stored in the CAS.", + "id": "BuildBazelRemoteExecutionV2LogFile", + "properties": { + "digest": { + "$ref": "BuildBazelRemoteExecutionV2Digest", + "description": "The digest of the log contents." + }, + "humanReadable": { + "description": "This is a hint as to the purpose of the log, and is set to true if the log is human-readable text that can be usefully displayed to a user, and false otherwise. For instance, if a command-line client wishes to print the server logs to the terminal for a failed action, this allows it to avoid displaying a binary file.", + "type": "boolean" + } + }, + "type": "object" + }, + "BuildBazelRemoteExecutionV2NodeProperties": { + "description": "Node properties for FileNodes, DirectoryNodes, and SymlinkNodes. The server is responsible for specifying the properties that it accepts.", + "id": "BuildBazelRemoteExecutionV2NodeProperties", + "properties": { + "mtime": { + "description": "The file's last modification timestamp.", + "format": "google-datetime", + "type": "string" + }, + "properties": { + "description": "A list of string-based NodeProperties.", + "items": { + "$ref": "BuildBazelRemoteExecutionV2NodeProperty" + }, + "type": "array" + }, + "unixMode": { + "description": "The UNIX file mode, e.g., 0755.", + "format": "uint32", + "type": "integer" + } + }, + "type": "object" + }, + "BuildBazelRemoteExecutionV2NodeProperty": { + "description": "A single property for FileNodes, DirectoryNodes, and SymlinkNodes. The server is responsible for specifying the property `name`s that it accepts. If permitted by the server, the same `name` may occur multiple times.", + "id": "BuildBazelRemoteExecutionV2NodeProperty", + "properties": { + "name": { + "description": "The property name.", + "type": "string" + }, + "value": { + "description": "The property value.", + "type": "string" + } + }, + "type": "object" + }, + "BuildBazelRemoteExecutionV2OutputDirectory": { + "description": "An `OutputDirectory` is the output in an `ActionResult` corresponding to a directory's full contents rather than a single file.", + "id": "BuildBazelRemoteExecutionV2OutputDirectory", + "properties": { + "path": { + "description": "The full path of the directory relative to the working directory. The path separator is a forward slash `/`. Since this is a relative path, it MUST NOT begin with a leading forward slash. The empty string value is allowed, and it denotes the entire working directory.", + "type": "string" + }, + "treeDigest": { + "$ref": "BuildBazelRemoteExecutionV2Digest", + "description": "The digest of the encoded Tree proto containing the directory's contents." + } + }, + "type": "object" + }, + "BuildBazelRemoteExecutionV2OutputFile": { + "description": "An `OutputFile` is similar to a FileNode, but it is used as an output in an `ActionResult`. It allows a full file path rather than only a name.", + "id": "BuildBazelRemoteExecutionV2OutputFile", + "properties": { + "contents": { + "description": "The contents of the file if inlining was requested. The server SHOULD NOT inline file contents unless requested by the client in the GetActionResultRequest message. The server MAY omit inlining, even if requested, and MUST do so if inlining would cause the response to exceed message size limits.", + "format": "byte", + "type": "string" + }, + "digest": { + "$ref": "BuildBazelRemoteExecutionV2Digest", + "description": "The digest of the file's content." + }, + "isExecutable": { + "description": "True if file is executable, false otherwise.", + "type": "boolean" + }, + "nodeProperties": { + "$ref": "BuildBazelRemoteExecutionV2NodeProperties" + }, + "path": { + "description": "The full path of the file relative to the working directory, including the filename. The path separator is a forward slash `/`. Since this is a relative path, it MUST NOT begin with a leading forward slash.", + "type": "string" + } + }, + "type": "object" + }, + "BuildBazelRemoteExecutionV2OutputSymlink": { + "description": "An `OutputSymlink` is similar to a Symlink, but it is used as an output in an `ActionResult`. `OutputSymlink` is binary-compatible with `SymlinkNode`.", + "id": "BuildBazelRemoteExecutionV2OutputSymlink", + "properties": { + "nodeProperties": { + "$ref": "BuildBazelRemoteExecutionV2NodeProperties" + }, + "path": { + "description": "The full path of the symlink relative to the working directory, including the filename. The path separator is a forward slash `/`. Since this is a relative path, it MUST NOT begin with a leading forward slash.", + "type": "string" + }, + "target": { + "description": "The target path of the symlink. The path separator is a forward slash `/`. The target path can be relative to the parent directory of the symlink or it can be an absolute path starting with `/`. Support for absolute paths can be checked using the Capabilities API. `..` components are allowed anywhere in the target path.", + "type": "string" + } + }, + "type": "object" + }, + "BuildBazelRemoteExecutionV2Platform": { + "description": "A `Platform` is a set of requirements, such as hardware, operating system, or compiler toolchain, for an Action's execution environment. A `Platform` is represented as a series of key-value pairs representing the properties that are required of the platform.", + "id": "BuildBazelRemoteExecutionV2Platform", + "properties": { + "properties": { + "description": "The properties that make up this platform. In order to ensure that equivalent `Platform`s always hash to the same value, the properties MUST be lexicographically sorted by name, and then by value. Sorting of strings is done by code point, equivalently, by the UTF-8 bytes.", + "items": { + "$ref": "BuildBazelRemoteExecutionV2PlatformProperty" + }, + "type": "array" + } + }, + "type": "object" + }, + "BuildBazelRemoteExecutionV2PlatformProperty": { + "description": "A single property for the environment. The server is responsible for specifying the property `name`s that it accepts. If an unknown `name` is provided in the requirements for an Action, the server SHOULD reject the execution request. If permitted by the server, the same `name` may occur multiple times. The server is also responsible for specifying the interpretation of property `value`s. For instance, a property describing how much RAM must be available may be interpreted as allowing a worker with 16GB to fulfill a request for 8GB, while a property describing the OS environment on which the action must be performed may require an exact match with the worker's OS. The server MAY use the `value` of one or more properties to determine how it sets up the execution environment, such as by making specific system files available to the worker. Both names and values are typically case-sensitive. Note that the platform is implicitly part of the action digest, so even tiny changes in the names or values (like changing case) may result in different action cache entries.", + "id": "BuildBazelRemoteExecutionV2PlatformProperty", + "properties": { + "name": { + "description": "The property name.", + "type": "string" + }, + "value": { + "description": "The property value.", + "type": "string" + } + }, + "type": "object" + }, + "BuildBazelRemoteExecutionV2RequestMetadata": { + "description": "An optional Metadata to attach to any RPC request to tell the server about an external context of the request. The server may use this for logging or other purposes. To use it, the client attaches the header to the call using the canonical proto serialization: * name: `build.bazel.remote.execution.v2.requestmetadata-bin` * contents: the base64 encoded binary `RequestMetadata` message. Note: the gRPC library serializes binary headers encoded in base 64 by default (https://github.com/grpc/grpc/blob/master/doc/PROTOCOL-HTTP2.md#requests). Therefore, if the gRPC library is used to pass/retrieve this metadata, the user may ignore the base64 encoding and assume it is simply serialized as a binary message.", + "id": "BuildBazelRemoteExecutionV2RequestMetadata", + "properties": { + "actionId": { + "description": "An identifier that ties multiple requests to the same action. For example, multiple requests to the CAS, Action Cache, and Execution API are used in order to compile foo.cc.", + "type": "string" + }, + "actionMnemonic": { + "description": "A brief description of the kind of action, for example, CppCompile or GoLink. There is no standard agreed set of values for this, and they are expected to vary between different client tools.", + "type": "string" + }, + "configurationId": { + "description": "An identifier for the configuration in which the target was built, e.g. for differentiating building host tools or different target platforms. There is no expectation that this value will have any particular structure, or equality across invocations, though some client tools may offer these guarantees.", + "type": "string" + }, + "correlatedInvocationsId": { + "description": "An identifier to tie multiple tool invocations together. For example, runs of foo_test, bar_test and baz_test on a post-submit of a given patch.", + "type": "string" + }, + "targetId": { + "description": "An identifier for the target which produced this action. No guarantees are made around how many actions may relate to a single target.", + "type": "string" + }, + "toolDetails": { + "$ref": "BuildBazelRemoteExecutionV2ToolDetails", + "description": "The details for the tool invoking the requests." + }, + "toolInvocationId": { + "description": "An identifier that ties multiple actions together to a final result. For example, multiple actions are required to build and run foo_test.", + "type": "string" + } + }, + "type": "object" + }, + "BuildBazelRemoteExecutionV2SymlinkNode": { + "description": "A `SymlinkNode` represents a symbolic link.", + "id": "BuildBazelRemoteExecutionV2SymlinkNode", + "properties": { + "name": { + "description": "The name of the symlink.", + "type": "string" + }, + "nodeProperties": { + "$ref": "BuildBazelRemoteExecutionV2NodeProperties" + }, + "target": { + "description": "The target path of the symlink. The path separator is a forward slash `/`. The target path can be relative to the parent directory of the symlink or it can be an absolute path starting with `/`. Support for absolute paths can be checked using the Capabilities API. `..` components are allowed anywhere in the target path as logical canonicalization may lead to different behavior in the presence of directory symlinks (e.g. `foo/../bar` may not be the same as `bar`). To reduce potential cache misses, canonicalization is still recommended where this is possible without impacting correctness.", + "type": "string" + } + }, + "type": "object" + }, + "BuildBazelRemoteExecutionV2ToolDetails": { + "description": "Details for the tool used to call the API.", + "id": "BuildBazelRemoteExecutionV2ToolDetails", + "properties": { + "toolName": { + "description": "Name of the tool, e.g. bazel.", + "type": "string" + }, + "toolVersion": { + "description": "Version of the tool used for the request, e.g. 5.0.3.", + "type": "string" + } + }, + "type": "object" + }, + "BuildBazelRemoteExecutionV2Tree": { + "description": "A `Tree` contains all the Directory protos in a single directory Merkle tree, compressed into one message.", + "id": "BuildBazelRemoteExecutionV2Tree", + "properties": { + "children": { + "description": "All the child directories: the directories referred to by the root and, recursively, all its children. In order to reconstruct the directory tree, the client must take the digests of each of the child directories and then build up a tree starting from the `root`.", + "items": { + "$ref": "BuildBazelRemoteExecutionV2Directory" + }, + "type": "array" + }, + "root": { + "$ref": "BuildBazelRemoteExecutionV2Directory", + "description": "The root directory in the tree." + } + }, + "type": "object" + }, + "GoogleDevtoolsRemotebuildbotCommandDurations": { + "description": "CommandDuration contains the various duration metrics tracked when a bot performs a command.", + "id": "GoogleDevtoolsRemotebuildbotCommandDurations", + "properties": { + "casRelease": { + "description": "The time spent to release the CAS blobs used by the task.", + "format": "google-duration", + "type": "string" + }, + "cmWaitForAssignment": { + "description": "The time spent waiting for Container Manager to assign an asynchronous container for execution.", + "format": "google-duration", + "type": "string" + }, + "dockerPrep": { + "description": "The time spent preparing the command to be run in a Docker container (includes pulling the Docker image, if necessary).", + "format": "google-duration", + "type": "string" + }, + "dockerPrepStartTime": { + "description": "The timestamp when docker preparation begins.", + "format": "google-datetime", + "type": "string" + }, + "download": { + "description": "The time spent downloading the input files and constructing the working directory.", + "format": "google-duration", + "type": "string" + }, + "downloadStartTime": { + "description": "The timestamp when downloading the input files begins.", + "format": "google-datetime", + "type": "string" + }, + "execStartTime": { + "description": "The timestamp when execution begins.", + "format": "google-datetime", + "type": "string" + }, + "execution": { + "description": "The time spent executing the command (i.e., doing useful work).", + "format": "google-duration", + "type": "string" + }, + "isoPrepDone": { + "description": "The timestamp when preparation is done and bot starts downloading files.", + "format": "google-datetime", + "type": "string" + }, + "overall": { + "description": "The time spent completing the command, in total.", + "format": "google-duration", + "type": "string" + }, + "stdout": { + "description": "The time spent uploading the stdout logs.", + "format": "google-duration", + "type": "string" + }, + "upload": { + "description": "The time spent uploading the output files.", + "format": "google-duration", + "type": "string" + }, + "uploadStartTime": { + "description": "The timestamp when uploading the output files begins.", + "format": "google-datetime", + "type": "string" + } + }, + "type": "object" + }, + "GoogleDevtoolsRemotebuildbotCommandEvents": { + "description": "CommandEvents contains counters for the number of warnings and errors that occurred during the execution of a command.", + "id": "GoogleDevtoolsRemotebuildbotCommandEvents", + "properties": { + "cmUsage": { + "description": "Indicates if and how Container Manager is being used for task execution.", + "enum": [ + "CONFIG_NONE", + "CONFIG_MATCH", + "CONFIG_MISMATCH" + ], + "enumDescriptions": [ + "Container Manager is disabled or not running for this execution.", + "Container Manager is enabled and there was a matching container available for use during execution.", + "Container Manager is enabled, but there was no matching container available for execution." + ], + "type": "string" + }, + "dockerCacheHit": { + "description": "Indicates whether we are using a cached Docker image (true) or had to pull the Docker image (false) for this command.", + "type": "boolean" + }, + "dockerImageName": { + "description": "Docker Image name.", + "type": "string" + }, + "inputCacheMiss": { + "description": "The input cache miss ratio.", + "format": "float", + "type": "number" + }, + "numErrors": { + "description": "The number of errors reported.", + "format": "uint64", + "type": "string" + }, + "numWarnings": { + "description": "The number of warnings reported.", + "format": "uint64", + "type": "string" + }, + "outputLocation": { + "description": "Indicates whether output files and/or output directories were found relative to the execution root or to the user provided work directory or both or none.", + "enum": [ + "LOCATION_UNDEFINED", + "LOCATION_NONE", + "LOCATION_EXEC_ROOT_RELATIVE", + "LOCATION_WORKING_DIR_RELATIVE", + "LOCATION_EXEC_ROOT_AND_WORKING_DIR_RELATIVE", + "LOCATION_EXEC_ROOT_RELATIVE_OUTPUT_OUTSIDE_WORKING_DIR", + "LOCATION_EXEC_ROOT_AND_WORKING_DIR_RELATIVE_OUTPUT_OUTSIDE_WORKING_DIR" + ], + "enumDescriptions": [ + "Location is set to LOCATION_UNDEFINED for tasks where the working directorty is not specified or is identical to the execution root directory.", + "No output files or directories were found neither relative to the execution root directory nor relative to the working directory.", + "Output files or directories were found relative to the execution root directory but not relative to the working directory.", + "Output files or directories were found relative to the working directory but not relative to the execution root directory.", + "Output files or directories were found both relative to the execution root directory and relative to the working directory.", + "Output files or directories were found relative to the execution root directory but not relative to the working directory. In addition at least one output file or directory was found outside of the working directory such that a working-directory-relative-path would have needed to start with a `..`.", + "Output files or directories were found both relative to the execution root directory and relative to the working directory. In addition at least one exec-root-relative output file or directory was found outside of the working directory such that a working-directory-relative-path would have needed to start with a `..`." + ], + "type": "string" + }, + "usedAsyncContainer": { + "description": "Indicates whether an asynchronous container was used for execution.", + "type": "boolean" + } + }, + "type": "object" + }, + "GoogleDevtoolsRemotebuildbotCommandStatus": { + "description": "The internal status of the command result.", + "id": "GoogleDevtoolsRemotebuildbotCommandStatus", + "properties": { + "code": { + "description": "The status code.", + "enum": [ + "OK", + "INVALID_ARGUMENT", + "DEADLINE_EXCEEDED", + "NOT_FOUND", + "PERMISSION_DENIED", + "INTERNAL", + "ABORTED", + "FAILED_PRECONDITION", + "CLEANUP_ERROR", + "DOWNLOAD_INPUTS_ERROR", + "UNKNOWN", + "UPLOAD_OUTPUTS_ERROR", + "UPLOAD_OUTPUTS_BYTES_LIMIT_EXCEEDED", + "DOCKER_LOGIN_ERROR", + "DOCKER_IMAGE_PULL_ERROR", + "DOCKER_IMAGE_EXIST_ERROR", + "DUPLICATE_INPUTS", + "DOCKER_IMAGE_PERMISSION_DENIED", + "DOCKER_IMAGE_NOT_FOUND", + "WORKING_DIR_NOT_FOUND", + "WORKING_DIR_NOT_IN_BASE_DIR", + "DOCKER_UNAVAILABLE", + "NO_CUDA_CAPABLE_DEVICE", + "REMOTE_CAS_DOWNLOAD_ERROR", + "REMOTE_CAS_UPLOAD_ERROR", + "LOCAL_CASPROXY_NOT_RUNNING", + "DOCKER_CREATE_CONTAINER_ERROR", + "DOCKER_INVALID_ULIMIT", + "DOCKER_UNKNOWN_RUNTIME", + "DOCKER_UNKNOWN_CAPABILITY", + "DOCKER_UNKNOWN_ERROR", + "DOCKER_CREATE_COMPUTE_SYSTEM_ERROR", + "DOCKER_PREPARELAYER_ERROR", + "DOCKER_INCOMPATIBLE_OS_ERROR", + "DOCKER_CREATE_RUNTIME_FILE_NOT_FOUND", + "DOCKER_CREATE_RUNTIME_PERMISSION_DENIED", + "DOCKER_CREATE_PROCESS_FILE_NOT_FOUND", + "DOCKER_CREATE_COMPUTE_SYSTEM_INCORRECT_PARAMETER_ERROR", + "DOCKER_TOO_MANY_SYMBOLIC_LINK_LEVELS", + "LOCAL_CONTAINER_MANAGER_NOT_RUNNING", + "DOCKER_IMAGE_VPCSC_PERMISSION_DENIED", + "WORKING_DIR_NOT_RELATIVE", + "DOCKER_MISSING_CONTAINER" + ], + "enumDescriptions": [ + "The command succeeded.", + "The command input was invalid.", + "The command had passed its expiry time while it was still running.", + "The resources requested by the command were not found.", + "The command failed due to permission errors.", + "The command failed because of some invariants expected by the underlying system have been broken. This usually indicates a bug wit the system.", + "The command was aborted.", + "The command failed because the system is not in a state required for the command, e.g. the command inputs cannot be found on the server.", + "The bot failed to do the cleanup, e.g. unable to delete the command working directory or the command process.", + "The bot failed to download the inputs.", + "Unknown error.", + "The bot failed to upload the outputs.", + "The bot tried to upload files having a total size that is too large.", + "The bot failed to login to docker.", + "The bot failed to pull docker image.", + "The bot failed to check docker images.", + "The inputs contain duplicate files.", + "The bot doesn't have the permissions to pull docker images.", + "The docker image cannot be found.", + "Working directory is not found.", + "Working directory is not under the base directory", + "There are issues with docker service/runtime.", + "The command failed with \"no cuda-capable device is detected\" error.", + "The bot encountered errors from remote CAS when downloading blobs.", + "The bot encountered errors from remote CAS when uploading blobs.", + "The local casproxy is not running.", + "The bot couldn't start the container.", + "The docker ulimit is not valid.", + "The docker runtime is unknown.", + "The docker capability is unknown.", + "The command failed with unknown docker errors.", + "Docker failed to run containers with CreateComputeSystem error.", + "Docker failed to run containers with hcsshim::PrepareLayer error.", + "Docker incompatible operating system error.", + "Docker failed to create OCI runtime because of file not found.", + "Docker failed to create OCI runtime because of permission denied.", + "Docker failed to create process because of file not found.", + "Docker failed to run containers with CreateComputeSystem error that involves an incorrect parameter (more specific version of DOCKER_CREATE_COMPUTE_SYSTEM_ERROR that is user-caused).", + "Docker failed to create an overlay mount because of too many levels of symbolic links.", + "The local Container Manager is not running.", + "Docker failed because a request was denied by the organization's policy.", + "Working directory is not relative", + "Docker cannot find the container specified in the command. This error is likely to only occur if an asynchronous container is not running when the command is run." + ], + "type": "string" + }, + "message": { + "description": "The error message.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleDevtoolsRemotebuildbotResourceUsage": { + "description": "ResourceUsage is the system resource usage of the host machine.", + "id": "GoogleDevtoolsRemotebuildbotResourceUsage", + "properties": { + "cpuUsedPercent": { + "format": "double", + "type": "number" + }, + "diskUsage": { + "$ref": "GoogleDevtoolsRemotebuildbotResourceUsageStat" + }, + "memoryUsage": { + "$ref": "GoogleDevtoolsRemotebuildbotResourceUsageStat" + }, + "totalDiskIoStats": { + "$ref": "GoogleDevtoolsRemotebuildbotResourceUsageIOStats" + } + }, + "type": "object" + }, + "GoogleDevtoolsRemotebuildbotResourceUsageIOStats": { + "id": "GoogleDevtoolsRemotebuildbotResourceUsageIOStats", + "properties": { + "readBytesCount": { + "format": "uint64", + "type": "string" + }, + "readCount": { + "format": "uint64", + "type": "string" + }, + "readTimeMs": { + "format": "uint64", + "type": "string" + }, + "writeBytesCount": { + "format": "uint64", + "type": "string" + }, + "writeCount": { + "format": "uint64", + "type": "string" + }, + "writeTimeMs": { + "format": "uint64", + "type": "string" + } + }, + "type": "object" + }, + "GoogleDevtoolsRemotebuildbotResourceUsageStat": { + "id": "GoogleDevtoolsRemotebuildbotResourceUsageStat", + "properties": { + "total": { + "format": "uint64", + "type": "string" + }, + "used": { + "format": "uint64", + "type": "string" + } + }, + "type": "object" + }, + "GoogleDevtoolsRemotebuildexecutionAdminV1alphaAcceleratorConfig": { + "description": "AcceleratorConfig defines the accelerator cards to attach to the VM.", + "id": "GoogleDevtoolsRemotebuildexecutionAdminV1alphaAcceleratorConfig", + "properties": { + "acceleratorCount": { + "description": "The number of guest accelerator cards exposed to each VM.", + "format": "int64", + "type": "string" + }, + "acceleratorType": { + "description": "The type of accelerator to attach to each VM, e.g. \"nvidia-tesla-k80\" for nVidia Tesla K80.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleDevtoolsRemotebuildexecutionAdminV1alphaAutoscale": { + "description": "Autoscale defines the autoscaling policy of a worker pool.", + "id": "GoogleDevtoolsRemotebuildexecutionAdminV1alphaAutoscale", + "properties": { + "maxSize": { + "description": "The maximal number of workers. Must be equal to or greater than min_size.", + "format": "int64", + "type": "string" + }, + "minSize": { + "description": "The minimal number of workers. Must be greater than 0.", + "format": "int64", + "type": "string" + } + }, + "type": "object" + }, + "GoogleDevtoolsRemotebuildexecutionAdminV1alphaCreateInstanceRequest": { + "description": "The request used for `CreateInstance`.", + "id": "GoogleDevtoolsRemotebuildexecutionAdminV1alphaCreateInstanceRequest", + "properties": { + "instance": { + "$ref": "GoogleDevtoolsRemotebuildexecutionAdminV1alphaInstance", + "description": "Specifies the instance to create. The name in the instance, if specified in the instance, is ignored." + }, + "instanceId": { + "description": "ID of the created instance. A valid `instance_id` must: be 6-50 characters long, contain only lowercase letters, digits, hyphens and underscores, start with a lowercase letter, and end with a lowercase letter or a digit.", + "type": "string" + }, + "parent": { + "description": "Resource name of the project containing the instance. Format: `projects/[PROJECT_ID]`.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleDevtoolsRemotebuildexecutionAdminV1alphaCreateWorkerPoolRequest": { + "description": "The request used for `CreateWorkerPool`.", + "id": "GoogleDevtoolsRemotebuildexecutionAdminV1alphaCreateWorkerPoolRequest", + "properties": { + "parent": { + "description": "Resource name of the instance in which to create the new worker pool. Format: `projects/[PROJECT_ID]/instances/[INSTANCE_ID]`.", + "type": "string" + }, + "poolId": { + "description": "ID of the created worker pool. A valid pool ID must: be 6-50 characters long, contain only lowercase letters, digits, hyphens and underscores, start with a lowercase letter, and end with a lowercase letter or a digit.", + "type": "string" + }, + "workerPool": { + "$ref": "GoogleDevtoolsRemotebuildexecutionAdminV1alphaWorkerPool", + "description": "Specifies the worker pool to create. The name in the worker pool, if specified, is ignored." + } + }, + "type": "object" + }, + "GoogleDevtoolsRemotebuildexecutionAdminV1alphaDeleteInstanceRequest": { + "description": "The request used for `DeleteInstance`.", + "id": "GoogleDevtoolsRemotebuildexecutionAdminV1alphaDeleteInstanceRequest", + "properties": { + "name": { + "description": "Name of the instance to delete. Format: `projects/[PROJECT_ID]/instances/[INSTANCE_ID]`.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleDevtoolsRemotebuildexecutionAdminV1alphaDeleteWorkerPoolRequest": { + "description": "The request used for DeleteWorkerPool.", + "id": "GoogleDevtoolsRemotebuildexecutionAdminV1alphaDeleteWorkerPoolRequest", + "properties": { + "name": { + "description": "Name of the worker pool to delete. Format: `projects/[PROJECT_ID]/instances/[INSTANCE_ID]/workerpools/[POOL_ID]`.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicy": { + "description": "FeaturePolicy defines features allowed to be used on RBE instances, as well as instance-wide behavior changes that take effect without opt-in or opt-out at usage time.", + "id": "GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicy", + "properties": { + "containerImageSources": { + "$ref": "GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyFeature", + "description": "Which container image sources are allowed. Currently only RBE-supported registry (gcr.io) is allowed. One can allow all repositories under a project or one specific repository only. E.g. container_image_sources { policy: RESTRICTED allowed_values: [ \"gcr.io/project-foo\", \"gcr.io/project-bar/repo-baz\", ] } will allow any repositories under \"gcr.io/project-foo\" plus the repository \"gcr.io/project-bar/repo-baz\". Default (UNSPECIFIED) is equivalent to any source is allowed." + }, + "dockerAddCapabilities": { + "$ref": "GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyFeature", + "description": "Whether dockerAddCapabilities can be used or what capabilities are allowed." + }, + "dockerChrootPath": { + "$ref": "GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyFeature", + "description": "Whether dockerChrootPath can be used." + }, + "dockerNetwork": { + "$ref": "GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyFeature", + "description": "Whether dockerNetwork can be used or what network modes are allowed. E.g. one may allow `off` value only via `allowed_values`." + }, + "dockerPrivileged": { + "$ref": "GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyFeature", + "description": "Whether dockerPrivileged can be used." + }, + "dockerRunAsRoot": { + "$ref": "GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyFeature", + "description": "Whether dockerRunAsRoot can be used." + }, + "dockerRuntime": { + "$ref": "GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyFeature", + "description": "Whether dockerRuntime is allowed to be set or what runtimes are allowed. Note linux_isolation takes precedence, and if set, docker_runtime values may be rejected if they are incompatible with the selected isolation." + }, + "dockerSiblingContainers": { + "$ref": "GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyFeature", + "description": "Whether dockerSiblingContainers can be used." + }, + "linuxIsolation": { + "description": "linux_isolation allows overriding the docker runtime used for containers started on Linux.", + "enum": [ + "LINUX_ISOLATION_UNSPECIFIED", + "GVISOR", + "OFF" + ], + "enumDescriptions": [ + "Default value. Will be using Linux default runtime.", + "Use gVisor runsc runtime.", + "Use stardard Linux runtime. This has the same behaviour as unspecified, but it can be used to revert back from gVisor." + ], + "type": "string" + } + }, + "type": "object" + }, + "GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyFeature": { + "description": "Defines whether a feature can be used or what values are accepted.", + "id": "GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyFeature", + "properties": { + "allowedValues": { + "description": "A list of acceptable values. Only effective when the policy is `RESTRICTED`.", + "items": { + "type": "string" + }, + "type": "array" + }, + "policy": { + "description": "The policy of the feature.", + "enum": [ + "POLICY_UNSPECIFIED", + "ALLOWED", + "FORBIDDEN", + "RESTRICTED" + ], + "enumDescriptions": [ + "Default value, if not explicitly set. Equivalent to FORBIDDEN, unless otherwise documented on a specific Feature.", + "Feature is explicitly allowed.", + "Feature is forbidden. Requests attempting to leverage it will get an FailedPrecondition error, with a message like: \"Feature forbidden by FeaturePolicy: Feature on instance \"", + "Only the values specified in the `allowed_values` are allowed." + ], + "type": "string" + } + }, + "type": "object" + }, + "GoogleDevtoolsRemotebuildexecutionAdminV1alphaGetInstanceRequest": { + "description": "The request used for `GetInstance`.", + "id": "GoogleDevtoolsRemotebuildexecutionAdminV1alphaGetInstanceRequest", + "properties": { + "name": { + "description": "Name of the instance to retrieve. Format: `projects/[PROJECT_ID]/instances/[INSTANCE_ID]`.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleDevtoolsRemotebuildexecutionAdminV1alphaGetWorkerPoolRequest": { + "description": "The request used for GetWorkerPool.", + "id": "GoogleDevtoolsRemotebuildexecutionAdminV1alphaGetWorkerPoolRequest", + "properties": { + "name": { + "description": "Name of the worker pool to retrieve. Format: `projects/[PROJECT_ID]/instances/[INSTANCE_ID]/workerpools/[POOL_ID]`.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleDevtoolsRemotebuildexecutionAdminV1alphaInstance": { + "description": "Instance conceptually encapsulates all Remote Build Execution resources for remote builds. An instance consists of storage and compute resources (for example, `ContentAddressableStorage`, `ActionCache`, `WorkerPools`) used for running remote builds. All Remote Build Execution API calls are scoped to an instance.", + "id": "GoogleDevtoolsRemotebuildexecutionAdminV1alphaInstance", + "properties": { + "featurePolicy": { + "$ref": "GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicy", + "description": "The policy to define whether or not RBE features can be used or how they can be used." + }, + "location": { + "description": "The location is a GCP region. Currently only `us-central1` is supported.", + "type": "string" + }, + "loggingEnabled": { + "description": "Output only. Whether stack driver logging is enabled for the instance.", + "type": "boolean" + }, + "name": { + "description": "Output only. Instance resource name formatted as: `projects/[PROJECT_ID]/instances/[INSTANCE_ID]`. Name should not be populated when creating an instance since it is provided in the `instance_id` field.", + "type": "string" + }, + "state": { + "description": "Output only. State of the instance.", + "enum": [ + "STATE_UNSPECIFIED", + "CREATING", + "RUNNING", + "INACTIVE" + ], + "enumDescriptions": [ + "Not a valid state, but the default value of the enum.", + "The instance is in state `CREATING` once `CreateInstance` is called and before the instance is ready for use.", + "The instance is in state `RUNNING` when it is ready for use.", + "An `INACTIVE` instance indicates that there is a problem that needs to be fixed. Such instances cannot be used for execution and instances that remain in this state for a significant period of time will be removed permanently." + ], + "type": "string" + } + }, + "type": "object" + }, + "GoogleDevtoolsRemotebuildexecutionAdminV1alphaListInstancesRequest": { + "id": "GoogleDevtoolsRemotebuildexecutionAdminV1alphaListInstancesRequest", + "properties": { + "parent": { + "description": "Resource name of the project. Format: `projects/[PROJECT_ID]`.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleDevtoolsRemotebuildexecutionAdminV1alphaListInstancesResponse": { + "id": "GoogleDevtoolsRemotebuildexecutionAdminV1alphaListInstancesResponse", + "properties": { + "instances": { + "description": "The list of instances in a given project.", + "items": { + "$ref": "GoogleDevtoolsRemotebuildexecutionAdminV1alphaInstance" + }, + "type": "array" + } + }, + "type": "object" + }, + "GoogleDevtoolsRemotebuildexecutionAdminV1alphaListWorkerPoolsRequest": { + "id": "GoogleDevtoolsRemotebuildexecutionAdminV1alphaListWorkerPoolsRequest", + "properties": { + "filter": { + "description": "Optional. A filter expression that filters resources listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. String values are case-insensitive. The comparison operator must be either `:`, `=`, `!=`, `>`, `>=`, `<=` or `<`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. You can also filter on nested fields. To filter on multiple expressions, you can separate expression using `AND` and `OR` operators, using parentheses to specify precedence. If neither operator is specified, `AND` is assumed. Examples: Include only pools with more than 100 reserved workers: `(worker_count > 100) (worker_config.reserved = true)` Include only pools with a certain label or machines of the e2-standard family: `worker_config.labels.key1 : * OR worker_config.machine_type: e2-standard`", + "type": "string" + }, + "parent": { + "description": "Resource name of the instance. Format: `projects/[PROJECT_ID]/instances/[INSTANCE_ID]`.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleDevtoolsRemotebuildexecutionAdminV1alphaListWorkerPoolsResponse": { + "id": "GoogleDevtoolsRemotebuildexecutionAdminV1alphaListWorkerPoolsResponse", + "properties": { + "workerPools": { + "description": "The list of worker pools in a given instance.", + "items": { + "$ref": "GoogleDevtoolsRemotebuildexecutionAdminV1alphaWorkerPool" + }, + "type": "array" + } + }, + "type": "object" + }, + "GoogleDevtoolsRemotebuildexecutionAdminV1alphaUpdateInstanceRequest": { + "description": "The request used for `UpdateInstance`.", + "id": "GoogleDevtoolsRemotebuildexecutionAdminV1alphaUpdateInstanceRequest", + "properties": { + "instance": { + "$ref": "GoogleDevtoolsRemotebuildexecutionAdminV1alphaInstance", + "description": "Specifies the instance to update." + }, + "loggingEnabled": { + "description": "Deprecated, use instance.logging_enabled instead. Whether to enable Stackdriver logging for this instance.", + "type": "boolean" + }, + "name": { + "description": "Deprecated, use instance.Name instead. Name of the instance to update. Format: `projects/[PROJECT_ID]/instances/[INSTANCE_ID]`.", + "type": "string" + }, + "updateMask": { + "description": "The update mask applies to instance. For the `FieldMask` definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask If an empty update_mask is provided, only the non-default valued field in the worker pool field will be updated. Note that in order to update a field to the default value (zero, false, empty string) an explicit update_mask must be provided.", + "format": "google-fieldmask", + "type": "string" + } + }, + "type": "object" + }, + "GoogleDevtoolsRemotebuildexecutionAdminV1alphaUpdateWorkerPoolRequest": { + "description": "The request used for UpdateWorkerPool.", + "id": "GoogleDevtoolsRemotebuildexecutionAdminV1alphaUpdateWorkerPoolRequest", + "properties": { + "updateMask": { + "description": "The update mask applies to worker_pool. For the `FieldMask` definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask If an empty update_mask is provided, only the non-default valued field in the worker pool field will be updated. Note that in order to update a field to the default value (zero, false, empty string) an explicit update_mask must be provided.", + "format": "google-fieldmask", + "type": "string" + }, + "workerPool": { + "$ref": "GoogleDevtoolsRemotebuildexecutionAdminV1alphaWorkerPool", + "description": "Specifies the worker pool to update." + } + }, + "type": "object" + }, + "GoogleDevtoolsRemotebuildexecutionAdminV1alphaWorkerConfig": { + "description": "Defines the configuration to be used for creating workers in the worker pool.", + "id": "GoogleDevtoolsRemotebuildexecutionAdminV1alphaWorkerConfig", + "properties": { + "accelerator": { + "$ref": "GoogleDevtoolsRemotebuildexecutionAdminV1alphaAcceleratorConfig", + "description": "The accelerator card attached to each VM." + }, + "diskSizeGb": { + "description": "Required. Size of the disk attached to the worker, in GB. See https://cloud.google.com/compute/docs/disks/", + "format": "int64", + "type": "string" + }, + "diskType": { + "description": "Required. Disk Type to use for the worker. See [Storage options](https://cloud.google.com/compute/docs/disks/#introduction). Currently only `pd-standard` and `pd-ssd` are supported.", + "type": "string" + }, + "labels": { + "additionalProperties": { + "type": "string" + }, + "description": "Labels associated with the workers. Label keys and values can be no longer than 63 characters, can only contain lowercase letters, numeric characters, underscores and dashes. International letters are permitted. Label keys must start with a letter. Label values are optional. There can not be more than 64 labels per resource.", + "type": "object" + }, + "machineType": { + "description": "Required. Machine type of the worker, such as `e2-standard-2`. See https://cloud.google.com/compute/docs/machine-types for a list of supported machine types. Note that `f1-micro` and `g1-small` are not yet supported.", + "type": "string" + }, + "maxConcurrentActions": { + "description": "The maximum number of actions a worker can execute concurrently.", + "format": "int64", + "type": "string" + }, + "minCpuPlatform": { + "description": "Minimum CPU platform to use when creating the worker. See [CPU Platforms](https://cloud.google.com/compute/docs/cpu-platforms).", + "type": "string" + }, + "networkAccess": { + "description": "Determines the type of network access granted to workers. Possible values: - \"public\": Workers can connect to the public internet. - \"private\": Workers can only connect to Google APIs and services. - \"restricted-private\": Workers can only connect to Google APIs that are reachable through `restricted.googleapis.com` (`199.36.153.4/30`).", + "type": "string" + }, + "reserved": { + "description": "Determines whether the worker is reserved (equivalent to a Compute Engine on-demand VM and therefore won't be preempted). See [Preemptible VMs](https://cloud.google.com/preemptible-vms/) for more details.", + "type": "boolean" + }, + "soleTenantNodeType": { + "description": "The node type name to be used for sole-tenant nodes.", + "type": "string" + }, + "vmImage": { + "description": "The name of the image used by each VM.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleDevtoolsRemotebuildexecutionAdminV1alphaWorkerPool": { + "description": "A worker pool resource in the Remote Build Execution API.", + "id": "GoogleDevtoolsRemotebuildexecutionAdminV1alphaWorkerPool", + "properties": { + "autoscale": { + "$ref": "GoogleDevtoolsRemotebuildexecutionAdminV1alphaAutoscale", + "description": "The autoscale policy to apply on a pool." + }, + "channel": { + "description": "Channel specifies the release channel of the pool.", + "type": "string" + }, + "name": { + "description": "WorkerPool resource name formatted as: `projects/[PROJECT_ID]/instances/[INSTANCE_ID]/workerpools/[POOL_ID]`. name should not be populated when creating a worker pool since it is provided in the `poolId` field.", + "type": "string" + }, + "state": { + "description": "Output only. State of the worker pool.", + "enum": [ + "STATE_UNSPECIFIED", + "CREATING", + "RUNNING", + "UPDATING", + "DELETING", + "INACTIVE" + ], + "enumDescriptions": [ + "Not a valid state, but the default value of the enum.", + "The worker pool is in state `CREATING` once `CreateWorkerPool` is called and before all requested workers are ready.", + "The worker pool is in state `RUNNING` when all its workers are ready for use.", + "The worker pool is in state `UPDATING` once `UpdateWorkerPool` is called and before the new configuration has all the requested workers ready for use, and no older configuration has any workers. At that point the state transitions to `RUNNING`.", + "The worker pool is in state `DELETING` once the `Delete` method is called and before the deletion completes.", + "The worker pool is in state `INACTIVE` when the instance hosting the worker pool in not running." + ], + "type": "string" + }, + "workerConfig": { + "$ref": "GoogleDevtoolsRemotebuildexecutionAdminV1alphaWorkerConfig", + "description": "Specifies the properties, such as machine type and disk size, used for creating workers in a worker pool." + }, + "workerCount": { + "description": "The desired number of workers in the worker pool. Must be a value between 0 and 15000.", + "format": "int64", + "type": "string" + } + }, + "type": "object" + }, + "GoogleDevtoolsRemoteworkersV1test2AdminTemp": { + "description": "AdminTemp is a prelimiary set of administration tasks. It's called \"Temp\" because we do not yet know the best way to represent admin tasks; it's possible that this will be entirely replaced in later versions of this API. If this message proves to be sufficient, it will be renamed in the alpha or beta release of this API. This message (suitably marshalled into a protobuf.Any) can be used as the inline_assignment field in a lease; the lease assignment field should simply be `\"admin\"` in these cases. This message is heavily based on Swarming administration tasks from the LUCI project (http://github.com/luci/luci-py/appengine/swarming).", + "id": "GoogleDevtoolsRemoteworkersV1test2AdminTemp", + "properties": { + "arg": { + "description": "The argument to the admin action; see `Command` for semantics.", + "type": "string" + }, + "command": { + "description": "The admin action; see `Command` for legal values.", + "enum": [ + "UNSPECIFIED", + "BOT_UPDATE", + "BOT_RESTART", + "BOT_TERMINATE", + "HOST_RESTART" + ], + "enumDescriptions": [ + "Illegal value.", + "Download and run a new version of the bot. `arg` will be a resource accessible via `ByteStream.Read` to obtain the new bot code.", + "Restart the bot without downloading a new version. `arg` will be a message to log.", + "Shut down the bot. `arg` will be a task resource name (similar to those in tasks.proto) that the bot can use to tell the server that it is terminating.", + "Restart the host computer. `arg` will be a message to log." + ], + "type": "string" + } + }, + "type": "object" + }, + "GoogleDevtoolsRemoteworkersV1test2Blob": { + "description": "Describes a blob of binary content with its digest.", + "id": "GoogleDevtoolsRemoteworkersV1test2Blob", + "properties": { + "contents": { + "description": "The contents of the blob.", + "format": "byte", + "type": "string" + }, + "digest": { + "$ref": "GoogleDevtoolsRemoteworkersV1test2Digest", + "description": "The digest of the blob. This should be verified by the receiver." + } + }, + "type": "object" + }, + "GoogleDevtoolsRemoteworkersV1test2CommandOutputs": { + "description": "DEPRECATED - use CommandResult instead. Describes the actual outputs from the task.", + "id": "GoogleDevtoolsRemoteworkersV1test2CommandOutputs", + "properties": { + "exitCode": { + "description": "exit_code is only fully reliable if the status' code is OK. If the task exceeded its deadline or was cancelled, the process may still produce an exit code as it is cancelled, and this will be populated, but a successful (zero) is unlikely to be correct unless the status code is OK.", + "format": "int32", + "type": "integer" + }, + "outputs": { + "$ref": "GoogleDevtoolsRemoteworkersV1test2Digest", + "description": "The output files. The blob referenced by the digest should contain one of the following (implementation-dependent): * A marshalled DirectoryMetadata of the returned filesystem * A LUCI-style .isolated file" + } + }, + "type": "object" + }, + "GoogleDevtoolsRemoteworkersV1test2CommandOverhead": { + "description": "DEPRECATED - use CommandResult instead. Can be used as part of CompleteRequest.metadata, or are part of a more sophisticated message.", + "id": "GoogleDevtoolsRemoteworkersV1test2CommandOverhead", + "properties": { + "duration": { + "description": "The elapsed time between calling Accept and Complete. The server will also have its own idea of what this should be, but this excludes the overhead of the RPCs and the bot response time.", + "format": "google-duration", + "type": "string" + }, + "overhead": { + "description": "The amount of time *not* spent executing the command (ie uploading/downloading files).", + "format": "google-duration", + "type": "string" + } + }, + "type": "object" + }, + "GoogleDevtoolsRemoteworkersV1test2CommandResult": { + "description": "All information about the execution of a command, suitable for providing as the Bots interface's `Lease.result` field.", + "id": "GoogleDevtoolsRemoteworkersV1test2CommandResult", + "properties": { + "duration": { + "description": "The elapsed time between calling Accept and Complete. The server will also have its own idea of what this should be, but this excludes the overhead of the RPCs and the bot response time.", + "format": "google-duration", + "type": "string" + }, + "exitCode": { + "description": "The exit code of the process. An exit code of \"0\" should only be trusted if `status` has a code of OK (otherwise it may simply be unset).", + "format": "int32", + "type": "integer" + }, + "metadata": { + "description": "Implementation-dependent metadata about the task. Both servers and bots may define messages which can be encoded here; bots are free to provide metadata in multiple formats, and servers are free to choose one or more of the values to process and ignore others. In particular, it is *not* considered an error for the bot to provide the server with a field that it doesn't know about.", + "items": { + "additionalProperties": { + "description": "Properties of the object. Contains field @type with type URL.", + "type": "any" + }, + "type": "object" + }, + "type": "array" + }, + "outputs": { + "$ref": "GoogleDevtoolsRemoteworkersV1test2Digest", + "description": "The output files. The blob referenced by the digest should contain one of the following (implementation-dependent): * A marshalled DirectoryMetadata of the returned filesystem * A LUCI-style .isolated file" + }, + "overhead": { + "description": "The amount of time *not* spent executing the command (ie uploading/downloading files).", + "format": "google-duration", + "type": "string" + }, + "status": { + "$ref": "GoogleRpcStatus", + "description": "An overall status for the command. For example, if the command timed out, this might have a code of DEADLINE_EXCEEDED; if it was killed by the OS for memory exhaustion, it might have a code of RESOURCE_EXHAUSTED." + } + }, + "type": "object" + }, + "GoogleDevtoolsRemoteworkersV1test2CommandTask": { + "description": "Describes a shell-style task to execute, suitable for providing as the Bots interface's `Lease.payload` field.", + "id": "GoogleDevtoolsRemoteworkersV1test2CommandTask", + "properties": { + "expectedOutputs": { + "$ref": "GoogleDevtoolsRemoteworkersV1test2CommandTaskOutputs", + "description": "The expected outputs from the task." + }, + "inputs": { + "$ref": "GoogleDevtoolsRemoteworkersV1test2CommandTaskInputs", + "description": "The inputs to the task." + }, + "timeouts": { + "$ref": "GoogleDevtoolsRemoteworkersV1test2CommandTaskTimeouts", + "description": "The timeouts of this task." + } + }, + "type": "object" + }, + "GoogleDevtoolsRemoteworkersV1test2CommandTaskInputs": { + "description": "Describes the inputs to a shell-style task.", + "id": "GoogleDevtoolsRemoteworkersV1test2CommandTaskInputs", + "properties": { + "arguments": { + "description": "The command itself to run (e.g., argv). This field should be passed directly to the underlying operating system, and so it must be sensible to that operating system. For example, on Windows, the first argument might be \"C:\\Windows\\System32\\ping.exe\" - that is, using drive letters and backslashes. A command for a *nix system, on the other hand, would use forward slashes. All other fields in the RWAPI must consistently use forward slashes, since those fields may be interpretted by both the service and the bot.", + "items": { + "type": "string" + }, + "type": "array" + }, + "environmentVariables": { + "description": "All environment variables required by the task.", + "items": { + "$ref": "GoogleDevtoolsRemoteworkersV1test2CommandTaskInputsEnvironmentVariable" + }, + "type": "array" + }, + "files": { + "description": "The input filesystem to be set up prior to the task beginning. The contents should be a repeated set of FileMetadata messages though other formats are allowed if better for the implementation (eg, a LUCI-style .isolated file). This field is repeated since implementations might want to cache the metadata, in which case it may be useful to break up portions of the filesystem that change frequently (eg, specific input files) from those that don't (eg, standard header files).", + "items": { + "$ref": "GoogleDevtoolsRemoteworkersV1test2Digest" + }, + "type": "array" + }, + "inlineBlobs": { + "description": "Inline contents for blobs expected to be needed by the bot to execute the task. For example, contents of entries in `files` or blobs that are indirectly referenced by an entry there. The bot should check against this list before downloading required task inputs to reduce the number of communications between itself and the remote CAS server.", + "items": { + "$ref": "GoogleDevtoolsRemoteworkersV1test2Blob" + }, + "type": "array" + }, + "workingDirectory": { + "description": "Directory from which a command is executed. It is a relative directory with respect to the bot's working directory (i.e., \"./\"). If it is non-empty, then it must exist under \"./\". Otherwise, \"./\" will be used.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleDevtoolsRemoteworkersV1test2CommandTaskInputsEnvironmentVariable": { + "description": "An environment variable required by this task.", + "id": "GoogleDevtoolsRemoteworkersV1test2CommandTaskInputsEnvironmentVariable", + "properties": { + "name": { + "description": "The envvar name.", + "type": "string" + }, + "value": { + "description": "The envvar value.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleDevtoolsRemoteworkersV1test2CommandTaskOutputs": { + "description": "Describes the expected outputs of the command.", + "id": "GoogleDevtoolsRemoteworkersV1test2CommandTaskOutputs", + "properties": { + "directories": { + "description": "A list of expected directories, relative to the execution root. All paths MUST be delimited by forward slashes.", + "items": { + "type": "string" + }, + "type": "array" + }, + "files": { + "description": "A list of expected files, relative to the execution root. All paths MUST be delimited by forward slashes.", + "items": { + "type": "string" + }, + "type": "array" + }, + "stderrDestination": { + "description": "The destination to which any stderr should be sent. The method by which the bot should send the stream contents to that destination is not defined in this API. As examples, the destination could be a file referenced in the `files` field in this message, or it could be a URI that must be written via the ByteStream API.", + "type": "string" + }, + "stdoutDestination": { + "description": "The destination to which any stdout should be sent. The method by which the bot should send the stream contents to that destination is not defined in this API. As examples, the destination could be a file referenced in the `files` field in this message, or it could be a URI that must be written via the ByteStream API.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleDevtoolsRemoteworkersV1test2CommandTaskTimeouts": { + "description": "Describes the timeouts associated with this task.", + "id": "GoogleDevtoolsRemoteworkersV1test2CommandTaskTimeouts", + "properties": { + "execution": { + "description": "This specifies the maximum time that the task can run, excluding the time required to download inputs or upload outputs. That is, the worker will terminate the task if it runs longer than this.", + "format": "google-duration", + "type": "string" + }, + "idle": { + "description": "This specifies the maximum amount of time the task can be idle - that is, go without generating some output in either stdout or stderr. If the process is silent for more than the specified time, the worker will terminate the task.", + "format": "google-duration", + "type": "string" + }, + "shutdown": { + "description": "If the execution or IO timeouts are exceeded, the worker will try to gracefully terminate the task and return any existing logs. However, tasks may be hard-frozen in which case this process will fail. This timeout specifies how long to wait for a terminated task to shut down gracefully (e.g. via SIGTERM) before we bring down the hammer (e.g. SIGKILL on *nix, CTRL_BREAK_EVENT on Windows).", + "format": "google-duration", + "type": "string" + } + }, + "type": "object" + }, + "GoogleDevtoolsRemoteworkersV1test2Digest": { + "description": "The CommandTask and CommandResult messages assume the existence of a service that can serve blobs of content, identified by a hash and size known as a \"digest.\" The method by which these blobs may be retrieved is not specified here, but a model implementation is in the Remote Execution API's \"ContentAddressibleStorage\" interface. In the context of the RWAPI, a Digest will virtually always refer to the contents of a file or a directory. The latter is represented by the byte-encoded Directory message.", + "id": "GoogleDevtoolsRemoteworkersV1test2Digest", + "properties": { + "hash": { + "description": "A string-encoded hash (eg \"1a2b3c\", not the byte array [0x1a, 0x2b, 0x3c]) using an implementation-defined hash algorithm (eg SHA-256).", + "type": "string" + }, + "sizeBytes": { + "description": "The size of the contents. While this is not strictly required as part of an identifier (after all, any given hash will have exactly one canonical size), it's useful in almost all cases when one might want to send or retrieve blobs of content and is included here for this reason.", + "format": "int64", + "type": "string" + } + }, + "type": "object" + }, + "GoogleDevtoolsRemoteworkersV1test2Directory": { + "description": "The contents of a directory. Similar to the equivalent message in the Remote Execution API.", + "id": "GoogleDevtoolsRemoteworkersV1test2Directory", + "properties": { + "directories": { + "description": "Any subdirectories", + "items": { + "$ref": "GoogleDevtoolsRemoteworkersV1test2DirectoryMetadata" + }, + "type": "array" + }, + "files": { + "description": "The files in this directory", + "items": { + "$ref": "GoogleDevtoolsRemoteworkersV1test2FileMetadata" + }, + "type": "array" + } + }, + "type": "object" + }, + "GoogleDevtoolsRemoteworkersV1test2DirectoryMetadata": { + "description": "The metadata for a directory. Similar to the equivalent message in the Remote Execution API.", + "id": "GoogleDevtoolsRemoteworkersV1test2DirectoryMetadata", + "properties": { + "digest": { + "$ref": "GoogleDevtoolsRemoteworkersV1test2Digest", + "description": "A pointer to the contents of the directory, in the form of a marshalled Directory message." + }, + "path": { + "description": "The path of the directory, as in FileMetadata.path.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleDevtoolsRemoteworkersV1test2FileMetadata": { + "description": "The metadata for a file. Similar to the equivalent message in the Remote Execution API.", + "id": "GoogleDevtoolsRemoteworkersV1test2FileMetadata", + "properties": { + "contents": { + "description": "If the file is small enough, its contents may also or alternatively be listed here.", + "format": "byte", + "type": "string" + }, + "digest": { + "$ref": "GoogleDevtoolsRemoteworkersV1test2Digest", + "description": "A pointer to the contents of the file. The method by which a client retrieves the contents from a CAS system is not defined here." + }, + "isExecutable": { + "description": "Properties of the file", + "type": "boolean" + }, + "path": { + "description": "The path of this file. If this message is part of the CommandOutputs.outputs fields, the path is relative to the execution root and must correspond to an entry in CommandTask.outputs.files. If this message is part of a Directory message, then the path is relative to the root of that directory. All paths MUST be delimited by forward slashes.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleLongrunningOperation": { + "description": "This resource represents a long-running operation that is the result of a network API call.", + "id": "GoogleLongrunningOperation", + "properties": { + "done": { + "description": "If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.", + "type": "boolean" + }, + "error": { + "$ref": "GoogleRpcStatus", + "description": "The error result of the operation in case of failure or cancellation." + }, + "metadata": { + "additionalProperties": { + "description": "Properties of the object. Contains field @type with type URL.", + "type": "any" + }, + "description": "Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.", + "type": "object" + }, + "name": { + "description": "The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.", + "type": "string" + }, + "response": { + "additionalProperties": { + "description": "Properties of the object. Contains field @type with type URL.", + "type": "any" + }, + "description": "The normal response of the operation in case of success. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.", + "type": "object" + } + }, + "type": "object" + }, + "GoogleRpcStatus": { + "description": "The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors).", + "id": "GoogleRpcStatus", + "properties": { + "code": { + "description": "The status code, which should be an enum value of google.rpc.Code.", + "format": "int32", + "type": "integer" + }, + "details": { + "description": "A list of messages that carry the error details. There is a common set of message types for APIs to use.", + "items": { + "additionalProperties": { + "description": "Properties of the object. Contains field @type with type URL.", + "type": "any" + }, + "type": "object" + }, + "type": "array" + }, + "message": { + "description": "A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.", + "type": "string" + } + }, + "type": "object" + } + }, + "servicePath": "", + "title": "Remote Build Execution API", + "version": "v1alpha", + "version_module": true +} \ No newline at end of file diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/remotebuildexecution.v2.json b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/remotebuildexecution.v2.json new file mode 100644 index 0000000000000000000000000000000000000000..0db953347c14b078bf84f4c48a3c58963d50390c --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/remotebuildexecution.v2.json @@ -0,0 +1,2623 @@ +{ + "auth": { + "oauth2": { + "scopes": { + "https://www.googleapis.com/auth/cloud-platform": { + "description": "See, edit, configure, and delete your Google Cloud Platform data" + } + } + } + }, + "basePath": "", + "baseUrl": "https://remotebuildexecution.googleapis.com/", + "batchPath": "batch", + "canonicalName": "Remote Build Execution", + "description": "Supplies a Remote Execution API service for tools such as bazel.", + "discoveryVersion": "v1", + "documentationLink": "https://cloud.google.com/remote-build-execution/docs/", + "fullyEncodeReservedExpansion": true, + "icons": { + "x16": "http://www.google.com/images/icons/product/search-16.gif", + "x32": "http://www.google.com/images/icons/product/search-32.gif" + }, + "id": "remotebuildexecution:v2", + "kind": "discovery#restDescription", + "mtlsRootUrl": "https://remotebuildexecution.mtls.googleapis.com/", + "name": "remotebuildexecution", + "ownerDomain": "google.com", + "ownerName": "Google", + "parameters": { + "$.xgafv": { + "description": "V1 error format.", + "enum": [ + "1", + "2" + ], + "enumDescriptions": [ + "v1 error format", + "v2 error format" + ], + "location": "query", + "type": "string" + }, + "access_token": { + "description": "OAuth access token.", + "location": "query", + "type": "string" + }, + "alt": { + "default": "json", + "description": "Data format for response.", + "enum": [ + "json", + "media", + "proto" + ], + "enumDescriptions": [ + "Responses with Content-Type of application/json", + "Media download with context-dependent Content-Type", + "Responses with Content-Type of application/x-protobuf" + ], + "location": "query", + "type": "string" + }, + "callback": { + "description": "JSONP", + "location": "query", + "type": "string" + }, + "fields": { + "description": "Selector specifying which fields to include in a partial response.", + "location": "query", + "type": "string" + }, + "key": { + "description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", + "location": "query", + "type": "string" + }, + "oauth_token": { + "description": "OAuth 2.0 token for the current user.", + "location": "query", + "type": "string" + }, + "prettyPrint": { + "default": "true", + "description": "Returns response with indentations and line breaks.", + "location": "query", + "type": "boolean" + }, + "quotaUser": { + "description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.", + "location": "query", + "type": "string" + }, + "uploadType": { + "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", + "location": "query", + "type": "string" + }, + "upload_protocol": { + "description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", + "location": "query", + "type": "string" + } + }, + "protocol": "rest", + "resources": { + "actionResults": { + "methods": { + "get": { + "description": "Retrieve a cached execution result. Implementations SHOULD ensure that any blobs referenced from the ContentAddressableStorage are available at the time of returning the ActionResult and will be for some period of time afterwards. The lifetimes of the referenced blobs SHOULD be increased if necessary and applicable. Errors: * `NOT_FOUND`: The requested `ActionResult` is not in the cache.", + "flatPath": "v2/{v2Id}/actionResults/{hash}/{sizeBytes}", + "httpMethod": "GET", + "id": "remotebuildexecution.actionResults.get", + "parameterOrder": [ + "instanceName", + "hash", + "sizeBytes" + ], + "parameters": { + "hash": { + "description": "The hash. In the case of SHA-256, it will always be a lowercase hex string exactly 64 characters long.", + "location": "path", + "required": true, + "type": "string" + }, + "inlineOutputFiles": { + "description": "A hint to the server to inline the contents of the listed output files. Each path needs to exactly match one file path in either `output_paths` or `output_files` (DEPRECATED since v2.1) in the Command message.", + "location": "query", + "repeated": true, + "type": "string" + }, + "inlineStderr": { + "description": "A hint to the server to request inlining stderr in the ActionResult message.", + "location": "query", + "type": "boolean" + }, + "inlineStdout": { + "description": "A hint to the server to request inlining stdout in the ActionResult message.", + "location": "query", + "type": "boolean" + }, + "instanceName": { + "description": "The instance of the execution system to operate against. A server may support multiple instances of the execution system (with their own workers, storage, caches, etc.). The server MAY require use of this field to select between them in an implementation-defined fashion, otherwise it can be omitted.", + "location": "path", + "pattern": "^.*$", + "required": true, + "type": "string" + }, + "sizeBytes": { + "description": "The size of the blob, in bytes.", + "format": "int64", + "location": "path", + "required": true, + "type": "string" + } + }, + "path": "v2/{+instanceName}/actionResults/{hash}/{sizeBytes}", + "response": { + "$ref": "BuildBazelRemoteExecutionV2ActionResult" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "update": { + "description": "Upload a new execution result. In order to allow the server to perform access control based on the type of action, and to assist with client debugging, the client MUST first upload the Action that produced the result, along with its Command, into the `ContentAddressableStorage`. Server implementations MAY modify the `UpdateActionResultRequest.action_result` and return an equivalent value. Errors: * `INVALID_ARGUMENT`: One or more arguments are invalid. * `FAILED_PRECONDITION`: One or more errors occurred in updating the action result, such as a missing command or action. * `RESOURCE_EXHAUSTED`: There is insufficient storage space to add the entry to the cache.", + "flatPath": "v2/{v2Id}/actionResults/{hash}/{sizeBytes}", + "httpMethod": "PUT", + "id": "remotebuildexecution.actionResults.update", + "parameterOrder": [ + "instanceName", + "hash", + "sizeBytes" + ], + "parameters": { + "hash": { + "description": "The hash. In the case of SHA-256, it will always be a lowercase hex string exactly 64 characters long.", + "location": "path", + "required": true, + "type": "string" + }, + "instanceName": { + "description": "The instance of the execution system to operate against. A server may support multiple instances of the execution system (with their own workers, storage, caches, etc.). The server MAY require use of this field to select between them in an implementation-defined fashion, otherwise it can be omitted.", + "location": "path", + "pattern": "^.*$", + "required": true, + "type": "string" + }, + "resultsCachePolicy.priority": { + "description": "The priority (relative importance) of this content in the overall cache. Generally, a lower value means a longer retention time or other advantage, but the interpretation of a given value is server-dependent. A priority of 0 means a *default* value, decided by the server. The particular semantics of this field is up to the server. In particular, every server will have their own supported range of priorities, and will decide how these map into retention/eviction policy.", + "format": "int32", + "location": "query", + "type": "integer" + }, + "sizeBytes": { + "description": "The size of the blob, in bytes.", + "format": "int64", + "location": "path", + "required": true, + "type": "string" + } + }, + "path": "v2/{+instanceName}/actionResults/{hash}/{sizeBytes}", + "request": { + "$ref": "BuildBazelRemoteExecutionV2ActionResult" + }, + "response": { + "$ref": "BuildBazelRemoteExecutionV2ActionResult" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + } + } + }, + "actions": { + "methods": { + "execute": { + "description": "Execute an action remotely. In order to execute an action, the client must first upload all of the inputs, the Command to run, and the Action into the ContentAddressableStorage. It then calls `Execute` with an `action_digest` referring to them. The server will run the action and eventually return the result. The input `Action`'s fields MUST meet the various canonicalization requirements specified in the documentation for their types so that it has the same digest as other logically equivalent `Action`s. The server MAY enforce the requirements and return errors if a non-canonical input is received. It MAY also proceed without verifying some or all of the requirements, such as for performance reasons. If the server does not verify the requirement, then it will treat the `Action` as distinct from another logically equivalent action if they hash differently. Returns a stream of google.longrunning.Operation messages describing the resulting execution, with eventual `response` ExecuteResponse. The `metadata` on the operation is of type ExecuteOperationMetadata. If the client remains connected after the first response is returned after the server, then updates are streamed as if the client had called WaitExecution until the execution completes or the request reaches an error. The operation can also be queried using Operations API. The server NEED NOT implement other methods or functionality of the Operations API. Errors discovered during creation of the `Operation` will be reported as gRPC Status errors, while errors that occurred while running the action will be reported in the `status` field of the `ExecuteResponse`. The server MUST NOT set the `error` field of the `Operation` proto. The possible errors include: * `INVALID_ARGUMENT`: One or more arguments are invalid. * `FAILED_PRECONDITION`: One or more errors occurred in setting up the action requested, such as a missing input or command or no worker being available. The client may be able to fix the errors and retry. * `RESOURCE_EXHAUSTED`: There is insufficient quota of some resource to run the action. * `UNAVAILABLE`: Due to a transient condition, such as all workers being occupied (and the server does not support a queue), the action could not be started. The client should retry. * `INTERNAL`: An internal error occurred in the execution engine or the worker. * `DEADLINE_EXCEEDED`: The execution timed out. * `CANCELLED`: The operation was cancelled by the client. This status is only possible if the server implements the Operations API CancelOperation method, and it was called for the current execution. In the case of a missing input or command, the server SHOULD additionally send a PreconditionFailure error detail where, for each requested blob not present in the CAS, there is a `Violation` with a `type` of `MISSING` and a `subject` of `\"blobs/{hash}/{size}\"` indicating the digest of the missing blob. The server does not need to guarantee that a call to this method leads to at most one execution of the action. The server MAY execute the action multiple times, potentially in parallel. These redundant executions MAY continue to run, even if the operation is completed.", + "flatPath": "v2/{v2Id}/actions:execute", + "httpMethod": "POST", + "id": "remotebuildexecution.actions.execute", + "parameterOrder": [ + "instanceName" + ], + "parameters": { + "instanceName": { + "description": "The instance of the execution system to operate against. A server may support multiple instances of the execution system (with their own workers, storage, caches, etc.). The server MAY require use of this field to select between them in an implementation-defined fashion, otherwise it can be omitted.", + "location": "path", + "pattern": "^.*$", + "required": true, + "type": "string" + } + }, + "path": "v2/{+instanceName}/actions:execute", + "request": { + "$ref": "BuildBazelRemoteExecutionV2ExecuteRequest" + }, + "response": { + "$ref": "GoogleLongrunningOperation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + } + } + }, + "blobs": { + "methods": { + "batchRead": { + "description": "Download many blobs at once. The server may enforce a limit of the combined total size of blobs to be downloaded using this API. This limit may be obtained using the Capabilities API. Requests exceeding the limit should either be split into smaller chunks or downloaded using the ByteStream API, as appropriate. This request is equivalent to calling a Bytestream `Read` request on each individual blob, in parallel. The requests may succeed or fail independently. Errors: * `INVALID_ARGUMENT`: The client attempted to read more than the server supported limit. Every error on individual read will be returned in the corresponding digest status.", + "flatPath": "v2/{v2Id}/blobs:batchRead", + "httpMethod": "POST", + "id": "remotebuildexecution.blobs.batchRead", + "parameterOrder": [ + "instanceName" + ], + "parameters": { + "instanceName": { + "description": "The instance of the execution system to operate against. A server may support multiple instances of the execution system (with their own workers, storage, caches, etc.). The server MAY require use of this field to select between them in an implementation-defined fashion, otherwise it can be omitted.", + "location": "path", + "pattern": "^.*$", + "required": true, + "type": "string" + } + }, + "path": "v2/{+instanceName}/blobs:batchRead", + "request": { + "$ref": "BuildBazelRemoteExecutionV2BatchReadBlobsRequest" + }, + "response": { + "$ref": "BuildBazelRemoteExecutionV2BatchReadBlobsResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "batchUpdate": { + "description": "Upload many blobs at once. The server may enforce a limit of the combined total size of blobs to be uploaded using this API. This limit may be obtained using the Capabilities API. Requests exceeding the limit should either be split into smaller chunks or uploaded using the ByteStream API, as appropriate. This request is equivalent to calling a Bytestream `Write` request on each individual blob, in parallel. The requests may succeed or fail independently. Errors: * `INVALID_ARGUMENT`: The client attempted to upload more than the server supported limit. Individual requests may return the following errors, additionally: * `RESOURCE_EXHAUSTED`: There is insufficient disk quota to store the blob. * `INVALID_ARGUMENT`: The Digest does not match the provided data.", + "flatPath": "v2/{v2Id}/blobs:batchUpdate", + "httpMethod": "POST", + "id": "remotebuildexecution.blobs.batchUpdate", + "parameterOrder": [ + "instanceName" + ], + "parameters": { + "instanceName": { + "description": "The instance of the execution system to operate against. A server may support multiple instances of the execution system (with their own workers, storage, caches, etc.). The server MAY require use of this field to select between them in an implementation-defined fashion, otherwise it can be omitted.", + "location": "path", + "pattern": "^.*$", + "required": true, + "type": "string" + } + }, + "path": "v2/{+instanceName}/blobs:batchUpdate", + "request": { + "$ref": "BuildBazelRemoteExecutionV2BatchUpdateBlobsRequest" + }, + "response": { + "$ref": "BuildBazelRemoteExecutionV2BatchUpdateBlobsResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "findMissing": { + "description": "Determine if blobs are present in the CAS. Clients can use this API before uploading blobs to determine which ones are already present in the CAS and do not need to be uploaded again. Servers SHOULD increase the lifetimes of the referenced blobs if necessary and applicable. There are no method-specific errors.", + "flatPath": "v2/{v2Id}/blobs:findMissing", + "httpMethod": "POST", + "id": "remotebuildexecution.blobs.findMissing", + "parameterOrder": [ + "instanceName" + ], + "parameters": { + "instanceName": { + "description": "The instance of the execution system to operate against. A server may support multiple instances of the execution system (with their own workers, storage, caches, etc.). The server MAY require use of this field to select between them in an implementation-defined fashion, otherwise it can be omitted.", + "location": "path", + "pattern": "^.*$", + "required": true, + "type": "string" + } + }, + "path": "v2/{+instanceName}/blobs:findMissing", + "request": { + "$ref": "BuildBazelRemoteExecutionV2FindMissingBlobsRequest" + }, + "response": { + "$ref": "BuildBazelRemoteExecutionV2FindMissingBlobsResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "getTree": { + "description": "Fetch the entire directory tree rooted at a node. This request must be targeted at a Directory stored in the ContentAddressableStorage (CAS). The server will enumerate the `Directory` tree recursively and return every node descended from the root. The GetTreeRequest.page_token parameter can be used to skip ahead in the stream (e.g. when retrying a partially completed and aborted request), by setting it to a value taken from GetTreeResponse.next_page_token of the last successfully processed GetTreeResponse). The exact traversal order is unspecified and, unless retrieving subsequent pages from an earlier request, is not guaranteed to be stable across multiple invocations of `GetTree`. If part of the tree is missing from the CAS, the server will return the portion present and omit the rest. Errors: * `NOT_FOUND`: The requested tree root is not present in the CAS.", + "flatPath": "v2/{v2Id}/blobs/{hash}/{sizeBytes}:getTree", + "httpMethod": "GET", + "id": "remotebuildexecution.blobs.getTree", + "parameterOrder": [ + "instanceName", + "hash", + "sizeBytes" + ], + "parameters": { + "hash": { + "description": "The hash. In the case of SHA-256, it will always be a lowercase hex string exactly 64 characters long.", + "location": "path", + "required": true, + "type": "string" + }, + "instanceName": { + "description": "The instance of the execution system to operate against. A server may support multiple instances of the execution system (with their own workers, storage, caches, etc.). The server MAY require use of this field to select between them in an implementation-defined fashion, otherwise it can be omitted.", + "location": "path", + "pattern": "^.*$", + "required": true, + "type": "string" + }, + "pageSize": { + "description": "A maximum page size to request. If present, the server will request no more than this many items. Regardless of whether a page size is specified, the server may place its own limit on the number of items to be returned and require the client to retrieve more items using a subsequent request.", + "format": "int32", + "location": "query", + "type": "integer" + }, + "pageToken": { + "description": "A page token, which must be a value received in a previous GetTreeResponse. If present, the server will use that token as an offset, returning only that page and the ones that succeed it.", + "location": "query", + "type": "string" + }, + "sizeBytes": { + "description": "The size of the blob, in bytes.", + "format": "int64", + "location": "path", + "required": true, + "type": "string" + } + }, + "path": "v2/{+instanceName}/blobs/{hash}/{sizeBytes}:getTree", + "response": { + "$ref": "BuildBazelRemoteExecutionV2GetTreeResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + } + } + }, + "operations": { + "methods": { + "waitExecution": { + "description": "Wait for an execution operation to complete. When the client initially makes the request, the server immediately responds with the current status of the execution. The server will leave the request stream open until the operation completes, and then respond with the completed operation. The server MAY choose to stream additional updates as execution progresses, such as to provide an update as to the state of the execution.", + "flatPath": "v2/operations/{operationsId}:waitExecution", + "httpMethod": "POST", + "id": "remotebuildexecution.operations.waitExecution", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "The name of the Operation returned by Execute.", + "location": "path", + "pattern": "^operations/.*$", + "required": true, + "type": "string" + } + }, + "path": "v2/{+name}:waitExecution", + "request": { + "$ref": "BuildBazelRemoteExecutionV2WaitExecutionRequest" + }, + "response": { + "$ref": "GoogleLongrunningOperation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + } + } + }, + "v2": { + "methods": { + "getCapabilities": { + "description": "GetCapabilities returns the server capabilities configuration of the remote endpoint. Only the capabilities of the services supported by the endpoint will be returned: * Execution + CAS + Action Cache endpoints should return both CacheCapabilities and ExecutionCapabilities. * Execution only endpoints should return ExecutionCapabilities. * CAS + Action Cache only endpoints should return CacheCapabilities.", + "flatPath": "v2/{v2Id}/capabilities", + "httpMethod": "GET", + "id": "remotebuildexecution.getCapabilities", + "parameterOrder": [ + "instanceName" + ], + "parameters": { + "instanceName": { + "description": "The instance of the execution system to operate against. A server may support multiple instances of the execution system (with their own workers, storage, caches, etc.). The server MAY require use of this field to select between them in an implementation-defined fashion, otherwise it can be omitted.", + "location": "path", + "pattern": "^.*$", + "required": true, + "type": "string" + } + }, + "path": "v2/{+instanceName}/capabilities", + "response": { + "$ref": "BuildBazelRemoteExecutionV2ServerCapabilities" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + } + } + } + }, + "revision": "20210712", + "rootUrl": "https://remotebuildexecution.googleapis.com/", + "schemas": { + "BuildBazelRemoteExecutionV2Action": { + "description": "An `Action` captures all the information about an execution which is required to reproduce it. `Action`s are the core component of the [Execution] service. A single `Action` represents a repeatable action that can be performed by the execution service. `Action`s can be succinctly identified by the digest of their wire format encoding and, once an `Action` has been executed, will be cached in the action cache. Future requests can then use the cached result rather than needing to run afresh. When a server completes execution of an Action, it MAY choose to cache the result in the ActionCache unless `do_not_cache` is `true`. Clients SHOULD expect the server to do so. By default, future calls to Execute the same `Action` will also serve their results from the cache. Clients must take care to understand the caching behaviour. Ideally, all `Action`s will be reproducible so that serving a result from cache is always desirable and correct.", + "id": "BuildBazelRemoteExecutionV2Action", + "properties": { + "commandDigest": { + "$ref": "BuildBazelRemoteExecutionV2Digest", + "description": "The digest of the Command to run, which MUST be present in the ContentAddressableStorage." + }, + "doNotCache": { + "description": "If true, then the `Action`'s result cannot be cached, and in-flight requests for the same `Action` may not be merged.", + "type": "boolean" + }, + "inputRootDigest": { + "$ref": "BuildBazelRemoteExecutionV2Digest", + "description": "The digest of the root Directory for the input files. The files in the directory tree are available in the correct location on the build machine before the command is executed. The root directory, as well as every subdirectory and content blob referred to, MUST be in the ContentAddressableStorage." + }, + "platform": { + "$ref": "BuildBazelRemoteExecutionV2Platform", + "description": "The optional platform requirements for the execution environment. The server MAY choose to execute the action on any worker satisfying the requirements, so the client SHOULD ensure that running the action on any such worker will have the same result. A detailed lexicon for this can be found in the accompanying platform.md. New in version 2.2: clients SHOULD set these platform properties as well as those in the Command. Servers SHOULD prefer those set here." + }, + "salt": { + "description": "An optional additional salt value used to place this `Action` into a separate cache namespace from other instances having the same field contents. This salt typically comes from operational configuration specific to sources such as repo and service configuration, and allows disowning an entire set of ActionResults that might have been poisoned by buggy software or tool failures.", + "format": "byte", + "type": "string" + }, + "timeout": { + "description": "A timeout after which the execution should be killed. If the timeout is absent, then the client is specifying that the execution should continue as long as the server will let it. The server SHOULD impose a timeout if the client does not specify one, however, if the client does specify a timeout that is longer than the server's maximum timeout, the server MUST reject the request. The timeout is a part of the Action message, and therefore two `Actions` with different timeouts are different, even if they are otherwise identical. This is because, if they were not, running an `Action` with a lower timeout than is required might result in a cache hit from an execution run with a longer timeout, hiding the fact that the timeout is too short. By encoding it directly in the `Action`, a lower timeout will result in a cache miss and the execution timeout will fail immediately, rather than whenever the cache entry gets evicted.", + "format": "google-duration", + "type": "string" + } + }, + "type": "object" + }, + "BuildBazelRemoteExecutionV2ActionCacheUpdateCapabilities": { + "description": "Describes the server/instance capabilities for updating the action cache.", + "id": "BuildBazelRemoteExecutionV2ActionCacheUpdateCapabilities", + "properties": { + "updateEnabled": { + "type": "boolean" + } + }, + "type": "object" + }, + "BuildBazelRemoteExecutionV2ActionResult": { + "description": "An ActionResult represents the result of an Action being run. It is advised that at least one field (for example `ActionResult.execution_metadata.Worker`) have a non-default value, to ensure that the serialized value is non-empty, which can then be used as a basic data sanity check.", + "id": "BuildBazelRemoteExecutionV2ActionResult", + "properties": { + "executionMetadata": { + "$ref": "BuildBazelRemoteExecutionV2ExecutedActionMetadata", + "description": "The details of the execution that originally produced this result." + }, + "exitCode": { + "description": "The exit code of the command.", + "format": "int32", + "type": "integer" + }, + "outputDirectories": { + "description": "The output directories of the action. For each output directory requested in the `output_directories` or `output_paths` field of the Action, if the corresponding directory existed after the action completed, a single entry will be present in the output list, which will contain the digest of a Tree message containing the directory tree, and the path equal exactly to the corresponding Action output_directories member. As an example, suppose the Action had an output directory `a/b/dir` and the execution produced the following contents in `a/b/dir`: a file named `bar` and a directory named `foo` with an executable file named `baz`. Then, output_directory will contain (hashes shortened for readability): ```json // OutputDirectory proto: { path: \"a/b/dir\" tree_digest: { hash: \"4a73bc9d03...\", size: 55 } } // Tree proto with hash \"4a73bc9d03...\" and size 55: { root: { files: [ { name: \"bar\", digest: { hash: \"4a73bc9d03...\", size: 65534 } } ], directories: [ { name: \"foo\", digest: { hash: \"4cf2eda940...\", size: 43 } } ] } children : { // (Directory proto with hash \"4cf2eda940...\" and size 43) files: [ { name: \"baz\", digest: { hash: \"b2c941073e...\", size: 1294, }, is_executable: true } ] } } ``` If an output of the same name as listed in `output_files` of the Command was found in `output_directories`, but was not a directory, the server will return a FAILED_PRECONDITION.", + "items": { + "$ref": "BuildBazelRemoteExecutionV2OutputDirectory" + }, + "type": "array" + }, + "outputDirectorySymlinks": { + "description": "The output directories of the action that are symbolic links to other directories. Those may be links to other output directories, or input directories, or even absolute paths outside of the working directory, if the server supports SymlinkAbsolutePathStrategy.ALLOWED. For each output directory requested in the `output_directories` field of the Action, if the directory existed after the action completed, a single entry will be present either in this field, or in the `output_directories` field, if the directory was not a symbolic link. If an output of the same name was found, but was a symbolic link to a file instead of a directory, the server will return a FAILED_PRECONDITION. If the action does not produce the requested output, then that output will be omitted from the list. The server is free to arrange the output list as desired; clients MUST NOT assume that the output list is sorted. DEPRECATED as of v2.1. Servers that wish to be compatible with v2.0 API should still populate this field in addition to `output_symlinks`.", + "items": { + "$ref": "BuildBazelRemoteExecutionV2OutputSymlink" + }, + "type": "array" + }, + "outputFileSymlinks": { + "description": "The output files of the action that are symbolic links to other files. Those may be links to other output files, or input files, or even absolute paths outside of the working directory, if the server supports SymlinkAbsolutePathStrategy.ALLOWED. For each output file requested in the `output_files` or `output_paths` field of the Action, if the corresponding file existed after the action completed, a single entry will be present either in this field, or in the `output_files` field, if the file was not a symbolic link. If an output symbolic link of the same name as listed in `output_files` of the Command was found, but its target type was not a regular file, the server will return a FAILED_PRECONDITION. If the action does not produce the requested output, then that output will be omitted from the list. The server is free to arrange the output list as desired; clients MUST NOT assume that the output list is sorted. DEPRECATED as of v2.1. Servers that wish to be compatible with v2.0 API should still populate this field in addition to `output_symlinks`.", + "items": { + "$ref": "BuildBazelRemoteExecutionV2OutputSymlink" + }, + "type": "array" + }, + "outputFiles": { + "description": "The output files of the action. For each output file requested in the `output_files` or `output_paths` field of the Action, if the corresponding file existed after the action completed, a single entry will be present either in this field, or the `output_file_symlinks` field if the file was a symbolic link to another file (`output_symlinks` field after v2.1). If an output listed in `output_files` was found, but was a directory rather than a regular file, the server will return a FAILED_PRECONDITION. If the action does not produce the requested output, then that output will be omitted from the list. The server is free to arrange the output list as desired; clients MUST NOT assume that the output list is sorted.", + "items": { + "$ref": "BuildBazelRemoteExecutionV2OutputFile" + }, + "type": "array" + }, + "outputSymlinks": { + "description": "New in v2.1: this field will only be populated if the command `output_paths` field was used, and not the pre v2.1 `output_files` or `output_directories` fields. The output paths of the action that are symbolic links to other paths. Those may be links to other outputs, or inputs, or even absolute paths outside of the working directory, if the server supports SymlinkAbsolutePathStrategy.ALLOWED. A single entry for each output requested in `output_paths` field of the Action, if the corresponding path existed after the action completed and was a symbolic link. If the action does not produce a requested output, then that output will be omitted from the list. The server is free to arrange the output list as desired; clients MUST NOT assume that the output list is sorted.", + "items": { + "$ref": "BuildBazelRemoteExecutionV2OutputSymlink" + }, + "type": "array" + }, + "stderrDigest": { + "$ref": "BuildBazelRemoteExecutionV2Digest", + "description": "The digest for a blob containing the standard error of the action, which can be retrieved from the ContentAddressableStorage." + }, + "stderrRaw": { + "description": "The standard error buffer of the action. The server SHOULD NOT inline stderr unless requested by the client in the GetActionResultRequest message. The server MAY omit inlining, even if requested, and MUST do so if inlining would cause the response to exceed message size limits.", + "format": "byte", + "type": "string" + }, + "stdoutDigest": { + "$ref": "BuildBazelRemoteExecutionV2Digest", + "description": "The digest for a blob containing the standard output of the action, which can be retrieved from the ContentAddressableStorage." + }, + "stdoutRaw": { + "description": "The standard output buffer of the action. The server SHOULD NOT inline stdout unless requested by the client in the GetActionResultRequest message. The server MAY omit inlining, even if requested, and MUST do so if inlining would cause the response to exceed message size limits.", + "format": "byte", + "type": "string" + } + }, + "type": "object" + }, + "BuildBazelRemoteExecutionV2BatchReadBlobsRequest": { + "description": "A request message for ContentAddressableStorage.BatchReadBlobs.", + "id": "BuildBazelRemoteExecutionV2BatchReadBlobsRequest", + "properties": { + "digests": { + "description": "The individual blob digests.", + "items": { + "$ref": "BuildBazelRemoteExecutionV2Digest" + }, + "type": "array" + } + }, + "type": "object" + }, + "BuildBazelRemoteExecutionV2BatchReadBlobsResponse": { + "description": "A response message for ContentAddressableStorage.BatchReadBlobs.", + "id": "BuildBazelRemoteExecutionV2BatchReadBlobsResponse", + "properties": { + "responses": { + "description": "The responses to the requests.", + "items": { + "$ref": "BuildBazelRemoteExecutionV2BatchReadBlobsResponseResponse" + }, + "type": "array" + } + }, + "type": "object" + }, + "BuildBazelRemoteExecutionV2BatchReadBlobsResponseResponse": { + "description": "A response corresponding to a single blob that the client tried to download.", + "id": "BuildBazelRemoteExecutionV2BatchReadBlobsResponseResponse", + "properties": { + "data": { + "description": "The raw binary data.", + "format": "byte", + "type": "string" + }, + "digest": { + "$ref": "BuildBazelRemoteExecutionV2Digest", + "description": "The digest to which this response corresponds." + }, + "status": { + "$ref": "GoogleRpcStatus", + "description": "The result of attempting to download that blob." + } + }, + "type": "object" + }, + "BuildBazelRemoteExecutionV2BatchUpdateBlobsRequest": { + "description": "A request message for ContentAddressableStorage.BatchUpdateBlobs.", + "id": "BuildBazelRemoteExecutionV2BatchUpdateBlobsRequest", + "properties": { + "requests": { + "description": "The individual upload requests.", + "items": { + "$ref": "BuildBazelRemoteExecutionV2BatchUpdateBlobsRequestRequest" + }, + "type": "array" + } + }, + "type": "object" + }, + "BuildBazelRemoteExecutionV2BatchUpdateBlobsRequestRequest": { + "description": "A request corresponding to a single blob that the client wants to upload.", + "id": "BuildBazelRemoteExecutionV2BatchUpdateBlobsRequestRequest", + "properties": { + "data": { + "description": "The raw binary data.", + "format": "byte", + "type": "string" + }, + "digest": { + "$ref": "BuildBazelRemoteExecutionV2Digest", + "description": "The digest of the blob. This MUST be the digest of `data`." + } + }, + "type": "object" + }, + "BuildBazelRemoteExecutionV2BatchUpdateBlobsResponse": { + "description": "A response message for ContentAddressableStorage.BatchUpdateBlobs.", + "id": "BuildBazelRemoteExecutionV2BatchUpdateBlobsResponse", + "properties": { + "responses": { + "description": "The responses to the requests.", + "items": { + "$ref": "BuildBazelRemoteExecutionV2BatchUpdateBlobsResponseResponse" + }, + "type": "array" + } + }, + "type": "object" + }, + "BuildBazelRemoteExecutionV2BatchUpdateBlobsResponseResponse": { + "description": "A response corresponding to a single blob that the client tried to upload.", + "id": "BuildBazelRemoteExecutionV2BatchUpdateBlobsResponseResponse", + "properties": { + "digest": { + "$ref": "BuildBazelRemoteExecutionV2Digest", + "description": "The blob digest to which this response corresponds." + }, + "status": { + "$ref": "GoogleRpcStatus", + "description": "The result of attempting to upload that blob." + } + }, + "type": "object" + }, + "BuildBazelRemoteExecutionV2CacheCapabilities": { + "description": "Capabilities of the remote cache system.", + "id": "BuildBazelRemoteExecutionV2CacheCapabilities", + "properties": { + "actionCacheUpdateCapabilities": { + "$ref": "BuildBazelRemoteExecutionV2ActionCacheUpdateCapabilities", + "description": "Capabilities for updating the action cache." + }, + "cachePriorityCapabilities": { + "$ref": "BuildBazelRemoteExecutionV2PriorityCapabilities", + "description": "Supported cache priority range for both CAS and ActionCache." + }, + "digestFunction": { + "description": "All the digest functions supported by the remote cache. Remote cache may support multiple digest functions simultaneously.", + "items": { + "enum": [ + "UNKNOWN", + "SHA256", + "SHA1", + "MD5", + "VSO", + "SHA384", + "SHA512", + "MURMUR3" + ], + "enumDescriptions": [ + "It is an error for the server to return this value.", + "The SHA-256 digest function.", + "The SHA-1 digest function.", + "The MD5 digest function.", + "The Microsoft \"VSO-Hash\" paged SHA256 digest function. See https://github.com/microsoft/BuildXL/blob/master/Documentation/Specs/PagedHash.md .", + "The SHA-384 digest function.", + "The SHA-512 digest function.", + "Murmur3 128-bit digest function, x64 variant. Note that this is not a cryptographic hash function and its collision properties are not strongly guaranteed. See https://github.com/aappleby/smhasher/wiki/MurmurHash3 ." + ], + "type": "string" + }, + "type": "array" + }, + "maxBatchTotalSizeBytes": { + "description": "Maximum total size of blobs to be uploaded/downloaded using batch methods. A value of 0 means no limit is set, although in practice there will always be a message size limitation of the protocol in use, e.g. GRPC.", + "format": "int64", + "type": "string" + }, + "supportedCompressor": { + "description": "Compressors supported by the \"compressed-blobs\" bytestream resources. Servers MUST support identity/no-compression, even if it is not listed here. Note that this does not imply which if any compressors are supported by the server at the gRPC level.", + "items": { + "enum": [ + "IDENTITY", + "ZSTD" + ], + "enumDescriptions": [ + "No compression. Servers and clients MUST always support this, and do not need to advertise it.", + "Zstandard compression." + ], + "type": "string" + }, + "type": "array" + }, + "symlinkAbsolutePathStrategy": { + "description": "Whether absolute symlink targets are supported.", + "enum": [ + "UNKNOWN", + "DISALLOWED", + "ALLOWED" + ], + "enumDescriptions": [ + "Invalid value.", + "Server will return an `INVALID_ARGUMENT` on input symlinks with absolute targets. If an action tries to create an output symlink with an absolute target, a `FAILED_PRECONDITION` will be returned.", + "Server will allow symlink targets to escape the input root tree, possibly resulting in non-hermetic builds." + ], + "type": "string" + } + }, + "type": "object" + }, + "BuildBazelRemoteExecutionV2Command": { + "description": "A `Command` is the actual command executed by a worker running an Action and specifications of its environment. Except as otherwise required, the environment (such as which system libraries or binaries are available, and what filesystems are mounted where) is defined by and specific to the implementation of the remote execution API.", + "id": "BuildBazelRemoteExecutionV2Command", + "properties": { + "arguments": { + "description": "The arguments to the command. The first argument must be the path to the executable, which must be either a relative path, in which case it is evaluated with respect to the input root, or an absolute path.", + "items": { + "type": "string" + }, + "type": "array" + }, + "environmentVariables": { + "description": "The environment variables to set when running the program. The worker may provide its own default environment variables; these defaults can be overridden using this field. Additional variables can also be specified. In order to ensure that equivalent Commands always hash to the same value, the environment variables MUST be lexicographically sorted by name. Sorting of strings is done by code point, equivalently, by the UTF-8 bytes.", + "items": { + "$ref": "BuildBazelRemoteExecutionV2CommandEnvironmentVariable" + }, + "type": "array" + }, + "outputDirectories": { + "description": "A list of the output directories that the client expects to retrieve from the action. Only the listed directories will be returned (an entire directory structure will be returned as a Tree message digest, see OutputDirectory), as well as files listed in `output_files`. Other files or directories that may be created during command execution are discarded. The paths are relative to the working directory of the action execution. The paths are specified using a single forward slash (`/`) as a path separator, even if the execution platform natively uses a different separator. The path MUST NOT include a trailing slash, nor a leading slash, being a relative path. The special value of empty string is allowed, although not recommended, and can be used to capture the entire working directory tree, including inputs. In order to ensure consistent hashing of the same Action, the output paths MUST be sorted lexicographically by code point (or, equivalently, by UTF-8 bytes). An output directory cannot be duplicated or have the same path as any of the listed output files. An output directory is allowed to be a parent of another output directory. Directories leading up to the output directories (but not the output directories themselves) are created by the worker prior to execution, even if they are not explicitly part of the input root. DEPRECATED since 2.1: Use `output_paths` instead.", + "items": { + "type": "string" + }, + "type": "array" + }, + "outputFiles": { + "description": "A list of the output files that the client expects to retrieve from the action. Only the listed files, as well as directories listed in `output_directories`, will be returned to the client as output. Other files or directories that may be created during command execution are discarded. The paths are relative to the working directory of the action execution. The paths are specified using a single forward slash (`/`) as a path separator, even if the execution platform natively uses a different separator. The path MUST NOT include a trailing slash, nor a leading slash, being a relative path. In order to ensure consistent hashing of the same Action, the output paths MUST be sorted lexicographically by code point (or, equivalently, by UTF-8 bytes). An output file cannot be duplicated, be a parent of another output file, or have the same path as any of the listed output directories. Directories leading up to the output files are created by the worker prior to execution, even if they are not explicitly part of the input root. DEPRECATED since v2.1: Use `output_paths` instead.", + "items": { + "type": "string" + }, + "type": "array" + }, + "outputNodeProperties": { + "description": "A list of keys for node properties the client expects to retrieve for output files and directories. Keys are either names of string-based NodeProperty or names of fields in NodeProperties. In order to ensure that equivalent `Action`s always hash to the same value, the node properties MUST be lexicographically sorted by name. Sorting of strings is done by code point, equivalently, by the UTF-8 bytes. The interpretation of string-based properties is server-dependent. If a property is not recognized by the server, the server will return an `INVALID_ARGUMENT`.", + "items": { + "type": "string" + }, + "type": "array" + }, + "outputPaths": { + "description": "A list of the output paths that the client expects to retrieve from the action. Only the listed paths will be returned to the client as output. The type of the output (file or directory) is not specified, and will be determined by the server after action execution. If the resulting path is a file, it will be returned in an OutputFile) typed field. If the path is a directory, the entire directory structure will be returned as a Tree message digest, see OutputDirectory) Other files or directories that may be created during command execution are discarded. The paths are relative to the working directory of the action execution. The paths are specified using a single forward slash (`/`) as a path separator, even if the execution platform natively uses a different separator. The path MUST NOT include a trailing slash, nor a leading slash, being a relative path. In order to ensure consistent hashing of the same Action, the output paths MUST be deduplicated and sorted lexicographically by code point (or, equivalently, by UTF-8 bytes). Directories leading up to the output paths are created by the worker prior to execution, even if they are not explicitly part of the input root. New in v2.1: this field supersedes the DEPRECATED `output_files` and `output_directories` fields. If `output_paths` is used, `output_files` and `output_directories` will be ignored!", + "items": { + "type": "string" + }, + "type": "array" + }, + "platform": { + "$ref": "BuildBazelRemoteExecutionV2Platform", + "description": "The platform requirements for the execution environment. The server MAY choose to execute the action on any worker satisfying the requirements, so the client SHOULD ensure that running the action on any such worker will have the same result. A detailed lexicon for this can be found in the accompanying platform.md. DEPRECATED as of v2.2: platform properties are now specified directly in the action. See documentation note in the Action for migration." + }, + "workingDirectory": { + "description": "The working directory, relative to the input root, for the command to run in. It must be a directory which exists in the input tree. If it is left empty, then the action is run in the input root.", + "type": "string" + } + }, + "type": "object" + }, + "BuildBazelRemoteExecutionV2CommandEnvironmentVariable": { + "description": "An `EnvironmentVariable` is one variable to set in the running program's environment.", + "id": "BuildBazelRemoteExecutionV2CommandEnvironmentVariable", + "properties": { + "name": { + "description": "The variable name.", + "type": "string" + }, + "value": { + "description": "The variable value.", + "type": "string" + } + }, + "type": "object" + }, + "BuildBazelRemoteExecutionV2Digest": { + "description": "A content digest. A digest for a given blob consists of the size of the blob and its hash. The hash algorithm to use is defined by the server. The size is considered to be an integral part of the digest and cannot be separated. That is, even if the `hash` field is correctly specified but `size_bytes` is not, the server MUST reject the request. The reason for including the size in the digest is as follows: in a great many cases, the server needs to know the size of the blob it is about to work with prior to starting an operation with it, such as flattening Merkle tree structures or streaming it to a worker. Technically, the server could implement a separate metadata store, but this results in a significantly more complicated implementation as opposed to having the client specify the size up-front (or storing the size along with the digest in every message where digests are embedded). This does mean that the API leaks some implementation details of (what we consider to be) a reasonable server implementation, but we consider this to be a worthwhile tradeoff. When a `Digest` is used to refer to a proto message, it always refers to the message in binary encoded form. To ensure consistent hashing, clients and servers MUST ensure that they serialize messages according to the following rules, even if there are alternate valid encodings for the same message: * Fields are serialized in tag order. * There are no unknown fields. * There are no duplicate fields. * Fields are serialized according to the default semantics for their type. Most protocol buffer implementations will always follow these rules when serializing, but care should be taken to avoid shortcuts. For instance, concatenating two messages to merge them may produce duplicate fields.", + "id": "BuildBazelRemoteExecutionV2Digest", + "properties": { + "hash": { + "description": "The hash. In the case of SHA-256, it will always be a lowercase hex string exactly 64 characters long.", + "type": "string" + }, + "sizeBytes": { + "description": "The size of the blob, in bytes.", + "format": "int64", + "type": "string" + } + }, + "type": "object" + }, + "BuildBazelRemoteExecutionV2Directory": { + "description": "A `Directory` represents a directory node in a file tree, containing zero or more children FileNodes, DirectoryNodes and SymlinkNodes. Each `Node` contains its name in the directory, either the digest of its content (either a file blob or a `Directory` proto) or a symlink target, as well as possibly some metadata about the file or directory. In order to ensure that two equivalent directory trees hash to the same value, the following restrictions MUST be obeyed when constructing a a `Directory`: * Every child in the directory must have a path of exactly one segment. Multiple levels of directory hierarchy may not be collapsed. * Each child in the directory must have a unique path segment (file name). Note that while the API itself is case-sensitive, the environment where the Action is executed may or may not be case-sensitive. That is, it is legal to call the API with a Directory that has both \"Foo\" and \"foo\" as children, but the Action may be rejected by the remote system upon execution. * The files, directories and symlinks in the directory must each be sorted in lexicographical order by path. The path strings must be sorted by code point, equivalently, by UTF-8 bytes. * The NodeProperties of files, directories, and symlinks must be sorted in lexicographical order by property name. A `Directory` that obeys the restrictions is said to be in canonical form. As an example, the following could be used for a file named `bar` and a directory named `foo` with an executable file named `baz` (hashes shortened for readability): ```json // (Directory proto) { files: [ { name: \"bar\", digest: { hash: \"4a73bc9d03...\", size: 65534 }, node_properties: [ { \"name\": \"MTime\", \"value\": \"2017-01-15T01:30:15.01Z\" } ] } ], directories: [ { name: \"foo\", digest: { hash: \"4cf2eda940...\", size: 43 } } ] } // (Directory proto with hash \"4cf2eda940...\" and size 43) { files: [ { name: \"baz\", digest: { hash: \"b2c941073e...\", size: 1294, }, is_executable: true } ] } ```", + "id": "BuildBazelRemoteExecutionV2Directory", + "properties": { + "directories": { + "description": "The subdirectories in the directory.", + "items": { + "$ref": "BuildBazelRemoteExecutionV2DirectoryNode" + }, + "type": "array" + }, + "files": { + "description": "The files in the directory.", + "items": { + "$ref": "BuildBazelRemoteExecutionV2FileNode" + }, + "type": "array" + }, + "nodeProperties": { + "$ref": "BuildBazelRemoteExecutionV2NodeProperties" + }, + "symlinks": { + "description": "The symlinks in the directory.", + "items": { + "$ref": "BuildBazelRemoteExecutionV2SymlinkNode" + }, + "type": "array" + } + }, + "type": "object" + }, + "BuildBazelRemoteExecutionV2DirectoryNode": { + "description": "A `DirectoryNode` represents a child of a Directory which is itself a `Directory` and its associated metadata.", + "id": "BuildBazelRemoteExecutionV2DirectoryNode", + "properties": { + "digest": { + "$ref": "BuildBazelRemoteExecutionV2Digest", + "description": "The digest of the Directory object represented. See Digest for information about how to take the digest of a proto message." + }, + "name": { + "description": "The name of the directory.", + "type": "string" + } + }, + "type": "object" + }, + "BuildBazelRemoteExecutionV2ExecuteOperationMetadata": { + "description": "Metadata about an ongoing execution, which will be contained in the metadata field of the Operation.", + "id": "BuildBazelRemoteExecutionV2ExecuteOperationMetadata", + "properties": { + "actionDigest": { + "$ref": "BuildBazelRemoteExecutionV2Digest", + "description": "The digest of the Action being executed." + }, + "stage": { + "description": "The current stage of execution.", + "enum": [ + "UNKNOWN", + "CACHE_CHECK", + "QUEUED", + "EXECUTING", + "COMPLETED" + ], + "enumDescriptions": [ + "Invalid value.", + "Checking the result against the cache.", + "Currently idle, awaiting a free machine to execute.", + "Currently being executed by a worker.", + "Finished execution." + ], + "type": "string" + }, + "stderrStreamName": { + "description": "If set, the client can use this resource name with ByteStream.Read to stream the standard error from the endpoint hosting streamed responses.", + "type": "string" + }, + "stdoutStreamName": { + "description": "If set, the client can use this resource name with ByteStream.Read to stream the standard output from the endpoint hosting streamed responses.", + "type": "string" + } + }, + "type": "object" + }, + "BuildBazelRemoteExecutionV2ExecuteRequest": { + "description": "A request message for Execution.Execute.", + "id": "BuildBazelRemoteExecutionV2ExecuteRequest", + "properties": { + "actionDigest": { + "$ref": "BuildBazelRemoteExecutionV2Digest", + "description": "The digest of the Action to execute." + }, + "executionPolicy": { + "$ref": "BuildBazelRemoteExecutionV2ExecutionPolicy", + "description": "An optional policy for execution of the action. The server will have a default policy if this is not provided." + }, + "resultsCachePolicy": { + "$ref": "BuildBazelRemoteExecutionV2ResultsCachePolicy", + "description": "An optional policy for the results of this execution in the remote cache. The server will have a default policy if this is not provided. This may be applied to both the ActionResult and the associated blobs." + }, + "skipCacheLookup": { + "description": "If true, the action will be executed even if its result is already present in the ActionCache. The execution is still allowed to be merged with other in-flight executions of the same action, however - semantically, the service MUST only guarantee that the results of an execution with this field set were not visible before the corresponding execution request was sent. Note that actions from execution requests setting this field set are still eligible to be entered into the action cache upon completion, and services SHOULD overwrite any existing entries that may exist. This allows skip_cache_lookup requests to be used as a mechanism for replacing action cache entries that reference outputs no longer available or that are poisoned in any way. If false, the result may be served from the action cache.", + "type": "boolean" + } + }, + "type": "object" + }, + "BuildBazelRemoteExecutionV2ExecuteResponse": { + "description": "The response message for Execution.Execute, which will be contained in the response field of the Operation.", + "id": "BuildBazelRemoteExecutionV2ExecuteResponse", + "properties": { + "cachedResult": { + "description": "True if the result was served from cache, false if it was executed.", + "type": "boolean" + }, + "message": { + "description": "Freeform informational message with details on the execution of the action that may be displayed to the user upon failure or when requested explicitly.", + "type": "string" + }, + "result": { + "$ref": "BuildBazelRemoteExecutionV2ActionResult", + "description": "The result of the action." + }, + "serverLogs": { + "additionalProperties": { + "$ref": "BuildBazelRemoteExecutionV2LogFile" + }, + "description": "An optional list of additional log outputs the server wishes to provide. A server can use this to return execution-specific logs however it wishes. This is intended primarily to make it easier for users to debug issues that may be outside of the actual job execution, such as by identifying the worker executing the action or by providing logs from the worker's setup phase. The keys SHOULD be human readable so that a client can display them to a user.", + "type": "object" + }, + "status": { + "$ref": "GoogleRpcStatus", + "description": "If the status has a code other than `OK`, it indicates that the action did not finish execution. For example, if the operation times out during execution, the status will have a `DEADLINE_EXCEEDED` code. Servers MUST use this field for errors in execution, rather than the error field on the `Operation` object. If the status code is other than `OK`, then the result MUST NOT be cached. For an error status, the `result` field is optional; the server may populate the output-, stdout-, and stderr-related fields if it has any information available, such as the stdout and stderr of a timed-out action." + } + }, + "type": "object" + }, + "BuildBazelRemoteExecutionV2ExecutedActionMetadata": { + "description": "ExecutedActionMetadata contains details about a completed execution.", + "id": "BuildBazelRemoteExecutionV2ExecutedActionMetadata", + "properties": { + "auxiliaryMetadata": { + "description": "Details that are specific to the kind of worker used. For example, on POSIX-like systems this could contain a message with getrusage(2) statistics.", + "items": { + "additionalProperties": { + "description": "Properties of the object. Contains field @type with type URL.", + "type": "any" + }, + "type": "object" + }, + "type": "array" + }, + "executionCompletedTimestamp": { + "description": "When the worker completed executing the action command.", + "format": "google-datetime", + "type": "string" + }, + "executionStartTimestamp": { + "description": "When the worker started executing the action command.", + "format": "google-datetime", + "type": "string" + }, + "inputFetchCompletedTimestamp": { + "description": "When the worker finished fetching action inputs.", + "format": "google-datetime", + "type": "string" + }, + "inputFetchStartTimestamp": { + "description": "When the worker started fetching action inputs.", + "format": "google-datetime", + "type": "string" + }, + "outputUploadCompletedTimestamp": { + "description": "When the worker finished uploading action outputs.", + "format": "google-datetime", + "type": "string" + }, + "outputUploadStartTimestamp": { + "description": "When the worker started uploading action outputs.", + "format": "google-datetime", + "type": "string" + }, + "queuedTimestamp": { + "description": "When was the action added to the queue.", + "format": "google-datetime", + "type": "string" + }, + "worker": { + "description": "The name of the worker which ran the execution.", + "type": "string" + }, + "workerCompletedTimestamp": { + "description": "When the worker completed the action, including all stages.", + "format": "google-datetime", + "type": "string" + }, + "workerStartTimestamp": { + "description": "When the worker received the action.", + "format": "google-datetime", + "type": "string" + } + }, + "type": "object" + }, + "BuildBazelRemoteExecutionV2ExecutionCapabilities": { + "description": "Capabilities of the remote execution system.", + "id": "BuildBazelRemoteExecutionV2ExecutionCapabilities", + "properties": { + "digestFunction": { + "description": "Remote execution may only support a single digest function.", + "enum": [ + "UNKNOWN", + "SHA256", + "SHA1", + "MD5", + "VSO", + "SHA384", + "SHA512", + "MURMUR3" + ], + "enumDescriptions": [ + "It is an error for the server to return this value.", + "The SHA-256 digest function.", + "The SHA-1 digest function.", + "The MD5 digest function.", + "The Microsoft \"VSO-Hash\" paged SHA256 digest function. See https://github.com/microsoft/BuildXL/blob/master/Documentation/Specs/PagedHash.md .", + "The SHA-384 digest function.", + "The SHA-512 digest function.", + "Murmur3 128-bit digest function, x64 variant. Note that this is not a cryptographic hash function and its collision properties are not strongly guaranteed. See https://github.com/aappleby/smhasher/wiki/MurmurHash3 ." + ], + "type": "string" + }, + "execEnabled": { + "description": "Whether remote execution is enabled for the particular server/instance.", + "type": "boolean" + }, + "executionPriorityCapabilities": { + "$ref": "BuildBazelRemoteExecutionV2PriorityCapabilities", + "description": "Supported execution priority range." + }, + "supportedNodeProperties": { + "description": "Supported node properties.", + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "BuildBazelRemoteExecutionV2ExecutionPolicy": { + "description": "An `ExecutionPolicy` can be used to control the scheduling of the action.", + "id": "BuildBazelRemoteExecutionV2ExecutionPolicy", + "properties": { + "priority": { + "description": "The priority (relative importance) of this action. Generally, a lower value means that the action should be run sooner than actions having a greater priority value, but the interpretation of a given value is server- dependent. A priority of 0 means the *default* priority. Priorities may be positive or negative, and such actions should run later or sooner than actions having the default priority, respectively. The particular semantics of this field is up to the server. In particular, every server will have their own supported range of priorities, and will decide how these map into scheduling policy.", + "format": "int32", + "type": "integer" + } + }, + "type": "object" + }, + "BuildBazelRemoteExecutionV2FileNode": { + "description": "A `FileNode` represents a single file and associated metadata.", + "id": "BuildBazelRemoteExecutionV2FileNode", + "properties": { + "digest": { + "$ref": "BuildBazelRemoteExecutionV2Digest", + "description": "The digest of the file's content." + }, + "isExecutable": { + "description": "True if file is executable, false otherwise.", + "type": "boolean" + }, + "name": { + "description": "The name of the file.", + "type": "string" + }, + "nodeProperties": { + "$ref": "BuildBazelRemoteExecutionV2NodeProperties" + } + }, + "type": "object" + }, + "BuildBazelRemoteExecutionV2FindMissingBlobsRequest": { + "description": "A request message for ContentAddressableStorage.FindMissingBlobs.", + "id": "BuildBazelRemoteExecutionV2FindMissingBlobsRequest", + "properties": { + "blobDigests": { + "description": "A list of the blobs to check.", + "items": { + "$ref": "BuildBazelRemoteExecutionV2Digest" + }, + "type": "array" + } + }, + "type": "object" + }, + "BuildBazelRemoteExecutionV2FindMissingBlobsResponse": { + "description": "A response message for ContentAddressableStorage.FindMissingBlobs.", + "id": "BuildBazelRemoteExecutionV2FindMissingBlobsResponse", + "properties": { + "missingBlobDigests": { + "description": "A list of the blobs requested *not* present in the storage.", + "items": { + "$ref": "BuildBazelRemoteExecutionV2Digest" + }, + "type": "array" + } + }, + "type": "object" + }, + "BuildBazelRemoteExecutionV2GetTreeResponse": { + "description": "A response message for ContentAddressableStorage.GetTree.", + "id": "BuildBazelRemoteExecutionV2GetTreeResponse", + "properties": { + "directories": { + "description": "The directories descended from the requested root.", + "items": { + "$ref": "BuildBazelRemoteExecutionV2Directory" + }, + "type": "array" + }, + "nextPageToken": { + "description": "If present, signifies that there are more results which the client can retrieve by passing this as the page_token in a subsequent request. If empty, signifies that this is the last page of results.", + "type": "string" + } + }, + "type": "object" + }, + "BuildBazelRemoteExecutionV2LogFile": { + "description": "A `LogFile` is a log stored in the CAS.", + "id": "BuildBazelRemoteExecutionV2LogFile", + "properties": { + "digest": { + "$ref": "BuildBazelRemoteExecutionV2Digest", + "description": "The digest of the log contents." + }, + "humanReadable": { + "description": "This is a hint as to the purpose of the log, and is set to true if the log is human-readable text that can be usefully displayed to a user, and false otherwise. For instance, if a command-line client wishes to print the server logs to the terminal for a failed action, this allows it to avoid displaying a binary file.", + "type": "boolean" + } + }, + "type": "object" + }, + "BuildBazelRemoteExecutionV2NodeProperties": { + "description": "Node properties for FileNodes, DirectoryNodes, and SymlinkNodes. The server is responsible for specifying the properties that it accepts.", + "id": "BuildBazelRemoteExecutionV2NodeProperties", + "properties": { + "mtime": { + "description": "The file's last modification timestamp.", + "format": "google-datetime", + "type": "string" + }, + "properties": { + "description": "A list of string-based NodeProperties.", + "items": { + "$ref": "BuildBazelRemoteExecutionV2NodeProperty" + }, + "type": "array" + }, + "unixMode": { + "description": "The UNIX file mode, e.g., 0755.", + "format": "uint32", + "type": "integer" + } + }, + "type": "object" + }, + "BuildBazelRemoteExecutionV2NodeProperty": { + "description": "A single property for FileNodes, DirectoryNodes, and SymlinkNodes. The server is responsible for specifying the property `name`s that it accepts. If permitted by the server, the same `name` may occur multiple times.", + "id": "BuildBazelRemoteExecutionV2NodeProperty", + "properties": { + "name": { + "description": "The property name.", + "type": "string" + }, + "value": { + "description": "The property value.", + "type": "string" + } + }, + "type": "object" + }, + "BuildBazelRemoteExecutionV2OutputDirectory": { + "description": "An `OutputDirectory` is the output in an `ActionResult` corresponding to a directory's full contents rather than a single file.", + "id": "BuildBazelRemoteExecutionV2OutputDirectory", + "properties": { + "path": { + "description": "The full path of the directory relative to the working directory. The path separator is a forward slash `/`. Since this is a relative path, it MUST NOT begin with a leading forward slash. The empty string value is allowed, and it denotes the entire working directory.", + "type": "string" + }, + "treeDigest": { + "$ref": "BuildBazelRemoteExecutionV2Digest", + "description": "The digest of the encoded Tree proto containing the directory's contents." + } + }, + "type": "object" + }, + "BuildBazelRemoteExecutionV2OutputFile": { + "description": "An `OutputFile` is similar to a FileNode, but it is used as an output in an `ActionResult`. It allows a full file path rather than only a name.", + "id": "BuildBazelRemoteExecutionV2OutputFile", + "properties": { + "contents": { + "description": "The contents of the file if inlining was requested. The server SHOULD NOT inline file contents unless requested by the client in the GetActionResultRequest message. The server MAY omit inlining, even if requested, and MUST do so if inlining would cause the response to exceed message size limits.", + "format": "byte", + "type": "string" + }, + "digest": { + "$ref": "BuildBazelRemoteExecutionV2Digest", + "description": "The digest of the file's content." + }, + "isExecutable": { + "description": "True if file is executable, false otherwise.", + "type": "boolean" + }, + "nodeProperties": { + "$ref": "BuildBazelRemoteExecutionV2NodeProperties" + }, + "path": { + "description": "The full path of the file relative to the working directory, including the filename. The path separator is a forward slash `/`. Since this is a relative path, it MUST NOT begin with a leading forward slash.", + "type": "string" + } + }, + "type": "object" + }, + "BuildBazelRemoteExecutionV2OutputSymlink": { + "description": "An `OutputSymlink` is similar to a Symlink, but it is used as an output in an `ActionResult`. `OutputSymlink` is binary-compatible with `SymlinkNode`.", + "id": "BuildBazelRemoteExecutionV2OutputSymlink", + "properties": { + "nodeProperties": { + "$ref": "BuildBazelRemoteExecutionV2NodeProperties" + }, + "path": { + "description": "The full path of the symlink relative to the working directory, including the filename. The path separator is a forward slash `/`. Since this is a relative path, it MUST NOT begin with a leading forward slash.", + "type": "string" + }, + "target": { + "description": "The target path of the symlink. The path separator is a forward slash `/`. The target path can be relative to the parent directory of the symlink or it can be an absolute path starting with `/`. Support for absolute paths can be checked using the Capabilities API. `..` components are allowed anywhere in the target path.", + "type": "string" + } + }, + "type": "object" + }, + "BuildBazelRemoteExecutionV2Platform": { + "description": "A `Platform` is a set of requirements, such as hardware, operating system, or compiler toolchain, for an Action's execution environment. A `Platform` is represented as a series of key-value pairs representing the properties that are required of the platform.", + "id": "BuildBazelRemoteExecutionV2Platform", + "properties": { + "properties": { + "description": "The properties that make up this platform. In order to ensure that equivalent `Platform`s always hash to the same value, the properties MUST be lexicographically sorted by name, and then by value. Sorting of strings is done by code point, equivalently, by the UTF-8 bytes.", + "items": { + "$ref": "BuildBazelRemoteExecutionV2PlatformProperty" + }, + "type": "array" + } + }, + "type": "object" + }, + "BuildBazelRemoteExecutionV2PlatformProperty": { + "description": "A single property for the environment. The server is responsible for specifying the property `name`s that it accepts. If an unknown `name` is provided in the requirements for an Action, the server SHOULD reject the execution request. If permitted by the server, the same `name` may occur multiple times. The server is also responsible for specifying the interpretation of property `value`s. For instance, a property describing how much RAM must be available may be interpreted as allowing a worker with 16GB to fulfill a request for 8GB, while a property describing the OS environment on which the action must be performed may require an exact match with the worker's OS. The server MAY use the `value` of one or more properties to determine how it sets up the execution environment, such as by making specific system files available to the worker. Both names and values are typically case-sensitive. Note that the platform is implicitly part of the action digest, so even tiny changes in the names or values (like changing case) may result in different action cache entries.", + "id": "BuildBazelRemoteExecutionV2PlatformProperty", + "properties": { + "name": { + "description": "The property name.", + "type": "string" + }, + "value": { + "description": "The property value.", + "type": "string" + } + }, + "type": "object" + }, + "BuildBazelRemoteExecutionV2PriorityCapabilities": { + "description": "Allowed values for priority in ResultsCachePolicy and ExecutionPolicy Used for querying both cache and execution valid priority ranges.", + "id": "BuildBazelRemoteExecutionV2PriorityCapabilities", + "properties": { + "priorities": { + "items": { + "$ref": "BuildBazelRemoteExecutionV2PriorityCapabilitiesPriorityRange" + }, + "type": "array" + } + }, + "type": "object" + }, + "BuildBazelRemoteExecutionV2PriorityCapabilitiesPriorityRange": { + "description": "Supported range of priorities, including boundaries.", + "id": "BuildBazelRemoteExecutionV2PriorityCapabilitiesPriorityRange", + "properties": { + "maxPriority": { + "description": "The maximum numeric value for this priority range, which represents the least urgent task or shortest retained item.", + "format": "int32", + "type": "integer" + }, + "minPriority": { + "description": "The minimum numeric value for this priority range, which represents the most urgent task or longest retained item.", + "format": "int32", + "type": "integer" + } + }, + "type": "object" + }, + "BuildBazelRemoteExecutionV2RequestMetadata": { + "description": "An optional Metadata to attach to any RPC request to tell the server about an external context of the request. The server may use this for logging or other purposes. To use it, the client attaches the header to the call using the canonical proto serialization: * name: `build.bazel.remote.execution.v2.requestmetadata-bin` * contents: the base64 encoded binary `RequestMetadata` message. Note: the gRPC library serializes binary headers encoded in base 64 by default (https://github.com/grpc/grpc/blob/master/doc/PROTOCOL-HTTP2.md#requests). Therefore, if the gRPC library is used to pass/retrieve this metadata, the user may ignore the base64 encoding and assume it is simply serialized as a binary message.", + "id": "BuildBazelRemoteExecutionV2RequestMetadata", + "properties": { + "actionId": { + "description": "An identifier that ties multiple requests to the same action. For example, multiple requests to the CAS, Action Cache, and Execution API are used in order to compile foo.cc.", + "type": "string" + }, + "actionMnemonic": { + "description": "A brief description of the kind of action, for example, CppCompile or GoLink. There is no standard agreed set of values for this, and they are expected to vary between different client tools.", + "type": "string" + }, + "configurationId": { + "description": "An identifier for the configuration in which the target was built, e.g. for differentiating building host tools or different target platforms. There is no expectation that this value will have any particular structure, or equality across invocations, though some client tools may offer these guarantees.", + "type": "string" + }, + "correlatedInvocationsId": { + "description": "An identifier to tie multiple tool invocations together. For example, runs of foo_test, bar_test and baz_test on a post-submit of a given patch.", + "type": "string" + }, + "targetId": { + "description": "An identifier for the target which produced this action. No guarantees are made around how many actions may relate to a single target.", + "type": "string" + }, + "toolDetails": { + "$ref": "BuildBazelRemoteExecutionV2ToolDetails", + "description": "The details for the tool invoking the requests." + }, + "toolInvocationId": { + "description": "An identifier that ties multiple actions together to a final result. For example, multiple actions are required to build and run foo_test.", + "type": "string" + } + }, + "type": "object" + }, + "BuildBazelRemoteExecutionV2ResultsCachePolicy": { + "description": "A `ResultsCachePolicy` is used for fine-grained control over how action outputs are stored in the CAS and Action Cache.", + "id": "BuildBazelRemoteExecutionV2ResultsCachePolicy", + "properties": { + "priority": { + "description": "The priority (relative importance) of this content in the overall cache. Generally, a lower value means a longer retention time or other advantage, but the interpretation of a given value is server-dependent. A priority of 0 means a *default* value, decided by the server. The particular semantics of this field is up to the server. In particular, every server will have their own supported range of priorities, and will decide how these map into retention/eviction policy.", + "format": "int32", + "type": "integer" + } + }, + "type": "object" + }, + "BuildBazelRemoteExecutionV2ServerCapabilities": { + "description": "A response message for Capabilities.GetCapabilities.", + "id": "BuildBazelRemoteExecutionV2ServerCapabilities", + "properties": { + "cacheCapabilities": { + "$ref": "BuildBazelRemoteExecutionV2CacheCapabilities", + "description": "Capabilities of the remote cache system." + }, + "deprecatedApiVersion": { + "$ref": "BuildBazelSemverSemVer", + "description": "Earliest RE API version supported, including deprecated versions." + }, + "executionCapabilities": { + "$ref": "BuildBazelRemoteExecutionV2ExecutionCapabilities", + "description": "Capabilities of the remote execution system." + }, + "highApiVersion": { + "$ref": "BuildBazelSemverSemVer", + "description": "Latest RE API version supported." + }, + "lowApiVersion": { + "$ref": "BuildBazelSemverSemVer", + "description": "Earliest non-deprecated RE API version supported." + } + }, + "type": "object" + }, + "BuildBazelRemoteExecutionV2SymlinkNode": { + "description": "A `SymlinkNode` represents a symbolic link.", + "id": "BuildBazelRemoteExecutionV2SymlinkNode", + "properties": { + "name": { + "description": "The name of the symlink.", + "type": "string" + }, + "nodeProperties": { + "$ref": "BuildBazelRemoteExecutionV2NodeProperties" + }, + "target": { + "description": "The target path of the symlink. The path separator is a forward slash `/`. The target path can be relative to the parent directory of the symlink or it can be an absolute path starting with `/`. Support for absolute paths can be checked using the Capabilities API. `..` components are allowed anywhere in the target path as logical canonicalization may lead to different behavior in the presence of directory symlinks (e.g. `foo/../bar` may not be the same as `bar`). To reduce potential cache misses, canonicalization is still recommended where this is possible without impacting correctness.", + "type": "string" + } + }, + "type": "object" + }, + "BuildBazelRemoteExecutionV2ToolDetails": { + "description": "Details for the tool used to call the API.", + "id": "BuildBazelRemoteExecutionV2ToolDetails", + "properties": { + "toolName": { + "description": "Name of the tool, e.g. bazel.", + "type": "string" + }, + "toolVersion": { + "description": "Version of the tool used for the request, e.g. 5.0.3.", + "type": "string" + } + }, + "type": "object" + }, + "BuildBazelRemoteExecutionV2Tree": { + "description": "A `Tree` contains all the Directory protos in a single directory Merkle tree, compressed into one message.", + "id": "BuildBazelRemoteExecutionV2Tree", + "properties": { + "children": { + "description": "All the child directories: the directories referred to by the root and, recursively, all its children. In order to reconstruct the directory tree, the client must take the digests of each of the child directories and then build up a tree starting from the `root`.", + "items": { + "$ref": "BuildBazelRemoteExecutionV2Directory" + }, + "type": "array" + }, + "root": { + "$ref": "BuildBazelRemoteExecutionV2Directory", + "description": "The root directory in the tree." + } + }, + "type": "object" + }, + "BuildBazelRemoteExecutionV2WaitExecutionRequest": { + "description": "A request message for WaitExecution.", + "id": "BuildBazelRemoteExecutionV2WaitExecutionRequest", + "properties": {}, + "type": "object" + }, + "BuildBazelSemverSemVer": { + "description": "The full version of a given tool.", + "id": "BuildBazelSemverSemVer", + "properties": { + "major": { + "description": "The major version, e.g 10 for 10.2.3.", + "format": "int32", + "type": "integer" + }, + "minor": { + "description": "The minor version, e.g. 2 for 10.2.3.", + "format": "int32", + "type": "integer" + }, + "patch": { + "description": "The patch version, e.g 3 for 10.2.3.", + "format": "int32", + "type": "integer" + }, + "prerelease": { + "description": "The pre-release version. Either this field or major/minor/patch fields must be filled. They are mutually exclusive. Pre-release versions are assumed to be earlier than any released versions.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleDevtoolsRemotebuildbotCommandDurations": { + "description": "CommandDuration contains the various duration metrics tracked when a bot performs a command.", + "id": "GoogleDevtoolsRemotebuildbotCommandDurations", + "properties": { + "casRelease": { + "description": "The time spent to release the CAS blobs used by the task.", + "format": "google-duration", + "type": "string" + }, + "cmWaitForAssignment": { + "description": "The time spent waiting for Container Manager to assign an asynchronous container for execution.", + "format": "google-duration", + "type": "string" + }, + "dockerPrep": { + "description": "The time spent preparing the command to be run in a Docker container (includes pulling the Docker image, if necessary).", + "format": "google-duration", + "type": "string" + }, + "dockerPrepStartTime": { + "description": "The timestamp when docker preparation begins.", + "format": "google-datetime", + "type": "string" + }, + "download": { + "description": "The time spent downloading the input files and constructing the working directory.", + "format": "google-duration", + "type": "string" + }, + "downloadStartTime": { + "description": "The timestamp when downloading the input files begins.", + "format": "google-datetime", + "type": "string" + }, + "execStartTime": { + "description": "The timestamp when execution begins.", + "format": "google-datetime", + "type": "string" + }, + "execution": { + "description": "The time spent executing the command (i.e., doing useful work).", + "format": "google-duration", + "type": "string" + }, + "isoPrepDone": { + "description": "The timestamp when preparation is done and bot starts downloading files.", + "format": "google-datetime", + "type": "string" + }, + "overall": { + "description": "The time spent completing the command, in total.", + "format": "google-duration", + "type": "string" + }, + "stdout": { + "description": "The time spent uploading the stdout logs.", + "format": "google-duration", + "type": "string" + }, + "upload": { + "description": "The time spent uploading the output files.", + "format": "google-duration", + "type": "string" + }, + "uploadStartTime": { + "description": "The timestamp when uploading the output files begins.", + "format": "google-datetime", + "type": "string" + } + }, + "type": "object" + }, + "GoogleDevtoolsRemotebuildbotCommandEvents": { + "description": "CommandEvents contains counters for the number of warnings and errors that occurred during the execution of a command.", + "id": "GoogleDevtoolsRemotebuildbotCommandEvents", + "properties": { + "cmUsage": { + "description": "Indicates if and how Container Manager is being used for task execution.", + "enum": [ + "CONFIG_NONE", + "CONFIG_MATCH", + "CONFIG_MISMATCH" + ], + "enumDescriptions": [ + "Container Manager is disabled or not running for this execution.", + "Container Manager is enabled and there was a matching container available for use during execution.", + "Container Manager is enabled, but there was no matching container available for execution." + ], + "type": "string" + }, + "dockerCacheHit": { + "description": "Indicates whether we are using a cached Docker image (true) or had to pull the Docker image (false) for this command.", + "type": "boolean" + }, + "dockerImageName": { + "description": "Docker Image name.", + "type": "string" + }, + "inputCacheMiss": { + "description": "The input cache miss ratio.", + "format": "float", + "type": "number" + }, + "numErrors": { + "description": "The number of errors reported.", + "format": "uint64", + "type": "string" + }, + "numWarnings": { + "description": "The number of warnings reported.", + "format": "uint64", + "type": "string" + }, + "outputLocation": { + "description": "Indicates whether output files and/or output directories were found relative to the execution root or to the user provided work directory or both or none.", + "enum": [ + "LOCATION_UNDEFINED", + "LOCATION_NONE", + "LOCATION_EXEC_ROOT_RELATIVE", + "LOCATION_WORKING_DIR_RELATIVE", + "LOCATION_EXEC_ROOT_AND_WORKING_DIR_RELATIVE", + "LOCATION_EXEC_ROOT_RELATIVE_OUTPUT_OUTSIDE_WORKING_DIR", + "LOCATION_EXEC_ROOT_AND_WORKING_DIR_RELATIVE_OUTPUT_OUTSIDE_WORKING_DIR" + ], + "enumDescriptions": [ + "Location is set to LOCATION_UNDEFINED for tasks where the working directorty is not specified or is identical to the execution root directory.", + "No output files or directories were found neither relative to the execution root directory nor relative to the working directory.", + "Output files or directories were found relative to the execution root directory but not relative to the working directory.", + "Output files or directories were found relative to the working directory but not relative to the execution root directory.", + "Output files or directories were found both relative to the execution root directory and relative to the working directory.", + "Output files or directories were found relative to the execution root directory but not relative to the working directory. In addition at least one output file or directory was found outside of the working directory such that a working-directory-relative-path would have needed to start with a `..`.", + "Output files or directories were found both relative to the execution root directory and relative to the working directory. In addition at least one exec-root-relative output file or directory was found outside of the working directory such that a working-directory-relative-path would have needed to start with a `..`." + ], + "type": "string" + }, + "usedAsyncContainer": { + "description": "Indicates whether an asynchronous container was used for execution.", + "type": "boolean" + } + }, + "type": "object" + }, + "GoogleDevtoolsRemotebuildbotCommandStatus": { + "description": "The internal status of the command result.", + "id": "GoogleDevtoolsRemotebuildbotCommandStatus", + "properties": { + "code": { + "description": "The status code.", + "enum": [ + "OK", + "INVALID_ARGUMENT", + "DEADLINE_EXCEEDED", + "NOT_FOUND", + "PERMISSION_DENIED", + "INTERNAL", + "ABORTED", + "FAILED_PRECONDITION", + "CLEANUP_ERROR", + "DOWNLOAD_INPUTS_ERROR", + "UNKNOWN", + "UPLOAD_OUTPUTS_ERROR", + "UPLOAD_OUTPUTS_BYTES_LIMIT_EXCEEDED", + "DOCKER_LOGIN_ERROR", + "DOCKER_IMAGE_PULL_ERROR", + "DOCKER_IMAGE_EXIST_ERROR", + "DUPLICATE_INPUTS", + "DOCKER_IMAGE_PERMISSION_DENIED", + "DOCKER_IMAGE_NOT_FOUND", + "WORKING_DIR_NOT_FOUND", + "WORKING_DIR_NOT_IN_BASE_DIR", + "DOCKER_UNAVAILABLE", + "NO_CUDA_CAPABLE_DEVICE", + "REMOTE_CAS_DOWNLOAD_ERROR", + "REMOTE_CAS_UPLOAD_ERROR", + "LOCAL_CASPROXY_NOT_RUNNING", + "DOCKER_CREATE_CONTAINER_ERROR", + "DOCKER_INVALID_ULIMIT", + "DOCKER_UNKNOWN_RUNTIME", + "DOCKER_UNKNOWN_CAPABILITY", + "DOCKER_UNKNOWN_ERROR", + "DOCKER_CREATE_COMPUTE_SYSTEM_ERROR", + "DOCKER_PREPARELAYER_ERROR", + "DOCKER_INCOMPATIBLE_OS_ERROR", + "DOCKER_CREATE_RUNTIME_FILE_NOT_FOUND", + "DOCKER_CREATE_RUNTIME_PERMISSION_DENIED", + "DOCKER_CREATE_PROCESS_FILE_NOT_FOUND", + "DOCKER_CREATE_COMPUTE_SYSTEM_INCORRECT_PARAMETER_ERROR", + "DOCKER_TOO_MANY_SYMBOLIC_LINK_LEVELS", + "LOCAL_CONTAINER_MANAGER_NOT_RUNNING", + "DOCKER_IMAGE_VPCSC_PERMISSION_DENIED", + "WORKING_DIR_NOT_RELATIVE", + "DOCKER_MISSING_CONTAINER" + ], + "enumDescriptions": [ + "The command succeeded.", + "The command input was invalid.", + "The command had passed its expiry time while it was still running.", + "The resources requested by the command were not found.", + "The command failed due to permission errors.", + "The command failed because of some invariants expected by the underlying system have been broken. This usually indicates a bug wit the system.", + "The command was aborted.", + "The command failed because the system is not in a state required for the command, e.g. the command inputs cannot be found on the server.", + "The bot failed to do the cleanup, e.g. unable to delete the command working directory or the command process.", + "The bot failed to download the inputs.", + "Unknown error.", + "The bot failed to upload the outputs.", + "The bot tried to upload files having a total size that is too large.", + "The bot failed to login to docker.", + "The bot failed to pull docker image.", + "The bot failed to check docker images.", + "The inputs contain duplicate files.", + "The bot doesn't have the permissions to pull docker images.", + "The docker image cannot be found.", + "Working directory is not found.", + "Working directory is not under the base directory", + "There are issues with docker service/runtime.", + "The command failed with \"no cuda-capable device is detected\" error.", + "The bot encountered errors from remote CAS when downloading blobs.", + "The bot encountered errors from remote CAS when uploading blobs.", + "The local casproxy is not running.", + "The bot couldn't start the container.", + "The docker ulimit is not valid.", + "The docker runtime is unknown.", + "The docker capability is unknown.", + "The command failed with unknown docker errors.", + "Docker failed to run containers with CreateComputeSystem error.", + "Docker failed to run containers with hcsshim::PrepareLayer error.", + "Docker incompatible operating system error.", + "Docker failed to create OCI runtime because of file not found.", + "Docker failed to create OCI runtime because of permission denied.", + "Docker failed to create process because of file not found.", + "Docker failed to run containers with CreateComputeSystem error that involves an incorrect parameter (more specific version of DOCKER_CREATE_COMPUTE_SYSTEM_ERROR that is user-caused).", + "Docker failed to create an overlay mount because of too many levels of symbolic links.", + "The local Container Manager is not running.", + "Docker failed because a request was denied by the organization's policy.", + "Working directory is not relative", + "Docker cannot find the container specified in the command. This error is likely to only occur if an asynchronous container is not running when the command is run." + ], + "type": "string" + }, + "message": { + "description": "The error message.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleDevtoolsRemotebuildbotResourceUsage": { + "description": "ResourceUsage is the system resource usage of the host machine.", + "id": "GoogleDevtoolsRemotebuildbotResourceUsage", + "properties": { + "cpuUsedPercent": { + "format": "double", + "type": "number" + }, + "diskUsage": { + "$ref": "GoogleDevtoolsRemotebuildbotResourceUsageStat" + }, + "memoryUsage": { + "$ref": "GoogleDevtoolsRemotebuildbotResourceUsageStat" + }, + "totalDiskIoStats": { + "$ref": "GoogleDevtoolsRemotebuildbotResourceUsageIOStats" + } + }, + "type": "object" + }, + "GoogleDevtoolsRemotebuildbotResourceUsageIOStats": { + "id": "GoogleDevtoolsRemotebuildbotResourceUsageIOStats", + "properties": { + "readBytesCount": { + "format": "uint64", + "type": "string" + }, + "readCount": { + "format": "uint64", + "type": "string" + }, + "readTimeMs": { + "format": "uint64", + "type": "string" + }, + "writeBytesCount": { + "format": "uint64", + "type": "string" + }, + "writeCount": { + "format": "uint64", + "type": "string" + }, + "writeTimeMs": { + "format": "uint64", + "type": "string" + } + }, + "type": "object" + }, + "GoogleDevtoolsRemotebuildbotResourceUsageStat": { + "id": "GoogleDevtoolsRemotebuildbotResourceUsageStat", + "properties": { + "total": { + "format": "uint64", + "type": "string" + }, + "used": { + "format": "uint64", + "type": "string" + } + }, + "type": "object" + }, + "GoogleDevtoolsRemotebuildexecutionAdminV1alphaAcceleratorConfig": { + "description": "AcceleratorConfig defines the accelerator cards to attach to the VM.", + "id": "GoogleDevtoolsRemotebuildexecutionAdminV1alphaAcceleratorConfig", + "properties": { + "acceleratorCount": { + "description": "The number of guest accelerator cards exposed to each VM.", + "format": "int64", + "type": "string" + }, + "acceleratorType": { + "description": "The type of accelerator to attach to each VM, e.g. \"nvidia-tesla-k80\" for nVidia Tesla K80.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleDevtoolsRemotebuildexecutionAdminV1alphaAutoscale": { + "description": "Autoscale defines the autoscaling policy of a worker pool.", + "id": "GoogleDevtoolsRemotebuildexecutionAdminV1alphaAutoscale", + "properties": { + "maxSize": { + "description": "The maximal number of workers. Must be equal to or greater than min_size.", + "format": "int64", + "type": "string" + }, + "minSize": { + "description": "The minimal number of workers. Must be greater than 0.", + "format": "int64", + "type": "string" + } + }, + "type": "object" + }, + "GoogleDevtoolsRemotebuildexecutionAdminV1alphaCreateInstanceRequest": { + "description": "The request used for `CreateInstance`.", + "id": "GoogleDevtoolsRemotebuildexecutionAdminV1alphaCreateInstanceRequest", + "properties": { + "instance": { + "$ref": "GoogleDevtoolsRemotebuildexecutionAdminV1alphaInstance", + "description": "Specifies the instance to create. The name in the instance, if specified in the instance, is ignored." + }, + "instanceId": { + "description": "ID of the created instance. A valid `instance_id` must: be 6-50 characters long, contain only lowercase letters, digits, hyphens and underscores, start with a lowercase letter, and end with a lowercase letter or a digit.", + "type": "string" + }, + "parent": { + "description": "Resource name of the project containing the instance. Format: `projects/[PROJECT_ID]`.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleDevtoolsRemotebuildexecutionAdminV1alphaCreateWorkerPoolRequest": { + "description": "The request used for `CreateWorkerPool`.", + "id": "GoogleDevtoolsRemotebuildexecutionAdminV1alphaCreateWorkerPoolRequest", + "properties": { + "parent": { + "description": "Resource name of the instance in which to create the new worker pool. Format: `projects/[PROJECT_ID]/instances/[INSTANCE_ID]`.", + "type": "string" + }, + "poolId": { + "description": "ID of the created worker pool. A valid pool ID must: be 6-50 characters long, contain only lowercase letters, digits, hyphens and underscores, start with a lowercase letter, and end with a lowercase letter or a digit.", + "type": "string" + }, + "workerPool": { + "$ref": "GoogleDevtoolsRemotebuildexecutionAdminV1alphaWorkerPool", + "description": "Specifies the worker pool to create. The name in the worker pool, if specified, is ignored." + } + }, + "type": "object" + }, + "GoogleDevtoolsRemotebuildexecutionAdminV1alphaDeleteInstanceRequest": { + "description": "The request used for `DeleteInstance`.", + "id": "GoogleDevtoolsRemotebuildexecutionAdminV1alphaDeleteInstanceRequest", + "properties": { + "name": { + "description": "Name of the instance to delete. Format: `projects/[PROJECT_ID]/instances/[INSTANCE_ID]`.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleDevtoolsRemotebuildexecutionAdminV1alphaDeleteWorkerPoolRequest": { + "description": "The request used for DeleteWorkerPool.", + "id": "GoogleDevtoolsRemotebuildexecutionAdminV1alphaDeleteWorkerPoolRequest", + "properties": { + "name": { + "description": "Name of the worker pool to delete. Format: `projects/[PROJECT_ID]/instances/[INSTANCE_ID]/workerpools/[POOL_ID]`.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicy": { + "description": "FeaturePolicy defines features allowed to be used on RBE instances, as well as instance-wide behavior changes that take effect without opt-in or opt-out at usage time.", + "id": "GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicy", + "properties": { + "containerImageSources": { + "$ref": "GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyFeature", + "description": "Which container image sources are allowed. Currently only RBE-supported registry (gcr.io) is allowed. One can allow all repositories under a project or one specific repository only. E.g. container_image_sources { policy: RESTRICTED allowed_values: [ \"gcr.io/project-foo\", \"gcr.io/project-bar/repo-baz\", ] } will allow any repositories under \"gcr.io/project-foo\" plus the repository \"gcr.io/project-bar/repo-baz\". Default (UNSPECIFIED) is equivalent to any source is allowed." + }, + "dockerAddCapabilities": { + "$ref": "GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyFeature", + "description": "Whether dockerAddCapabilities can be used or what capabilities are allowed." + }, + "dockerChrootPath": { + "$ref": "GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyFeature", + "description": "Whether dockerChrootPath can be used." + }, + "dockerNetwork": { + "$ref": "GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyFeature", + "description": "Whether dockerNetwork can be used or what network modes are allowed. E.g. one may allow `off` value only via `allowed_values`." + }, + "dockerPrivileged": { + "$ref": "GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyFeature", + "description": "Whether dockerPrivileged can be used." + }, + "dockerRunAsRoot": { + "$ref": "GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyFeature", + "description": "Whether dockerRunAsRoot can be used." + }, + "dockerRuntime": { + "$ref": "GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyFeature", + "description": "Whether dockerRuntime is allowed to be set or what runtimes are allowed. Note linux_isolation takes precedence, and if set, docker_runtime values may be rejected if they are incompatible with the selected isolation." + }, + "dockerSiblingContainers": { + "$ref": "GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyFeature", + "description": "Whether dockerSiblingContainers can be used." + }, + "linuxIsolation": { + "description": "linux_isolation allows overriding the docker runtime used for containers started on Linux.", + "enum": [ + "LINUX_ISOLATION_UNSPECIFIED", + "GVISOR", + "OFF" + ], + "enumDescriptions": [ + "Default value. Will be using Linux default runtime.", + "Use gVisor runsc runtime.", + "Use stardard Linux runtime. This has the same behaviour as unspecified, but it can be used to revert back from gVisor." + ], + "type": "string" + } + }, + "type": "object" + }, + "GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyFeature": { + "description": "Defines whether a feature can be used or what values are accepted.", + "id": "GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyFeature", + "properties": { + "allowedValues": { + "description": "A list of acceptable values. Only effective when the policy is `RESTRICTED`.", + "items": { + "type": "string" + }, + "type": "array" + }, + "policy": { + "description": "The policy of the feature.", + "enum": [ + "POLICY_UNSPECIFIED", + "ALLOWED", + "FORBIDDEN", + "RESTRICTED" + ], + "enumDescriptions": [ + "Default value, if not explicitly set. Equivalent to FORBIDDEN, unless otherwise documented on a specific Feature.", + "Feature is explicitly allowed.", + "Feature is forbidden. Requests attempting to leverage it will get an FailedPrecondition error, with a message like: \"Feature forbidden by FeaturePolicy: Feature on instance \"", + "Only the values specified in the `allowed_values` are allowed." + ], + "type": "string" + } + }, + "type": "object" + }, + "GoogleDevtoolsRemotebuildexecutionAdminV1alphaGetInstanceRequest": { + "description": "The request used for `GetInstance`.", + "id": "GoogleDevtoolsRemotebuildexecutionAdminV1alphaGetInstanceRequest", + "properties": { + "name": { + "description": "Name of the instance to retrieve. Format: `projects/[PROJECT_ID]/instances/[INSTANCE_ID]`.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleDevtoolsRemotebuildexecutionAdminV1alphaGetWorkerPoolRequest": { + "description": "The request used for GetWorkerPool.", + "id": "GoogleDevtoolsRemotebuildexecutionAdminV1alphaGetWorkerPoolRequest", + "properties": { + "name": { + "description": "Name of the worker pool to retrieve. Format: `projects/[PROJECT_ID]/instances/[INSTANCE_ID]/workerpools/[POOL_ID]`.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleDevtoolsRemotebuildexecutionAdminV1alphaInstance": { + "description": "Instance conceptually encapsulates all Remote Build Execution resources for remote builds. An instance consists of storage and compute resources (for example, `ContentAddressableStorage`, `ActionCache`, `WorkerPools`) used for running remote builds. All Remote Build Execution API calls are scoped to an instance.", + "id": "GoogleDevtoolsRemotebuildexecutionAdminV1alphaInstance", + "properties": { + "featurePolicy": { + "$ref": "GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicy", + "description": "The policy to define whether or not RBE features can be used or how they can be used." + }, + "location": { + "description": "The location is a GCP region. Currently only `us-central1` is supported.", + "type": "string" + }, + "loggingEnabled": { + "description": "Output only. Whether stack driver logging is enabled for the instance.", + "type": "boolean" + }, + "name": { + "description": "Output only. Instance resource name formatted as: `projects/[PROJECT_ID]/instances/[INSTANCE_ID]`. Name should not be populated when creating an instance since it is provided in the `instance_id` field.", + "type": "string" + }, + "state": { + "description": "Output only. State of the instance.", + "enum": [ + "STATE_UNSPECIFIED", + "CREATING", + "RUNNING", + "INACTIVE" + ], + "enumDescriptions": [ + "Not a valid state, but the default value of the enum.", + "The instance is in state `CREATING` once `CreateInstance` is called and before the instance is ready for use.", + "The instance is in state `RUNNING` when it is ready for use.", + "An `INACTIVE` instance indicates that there is a problem that needs to be fixed. Such instances cannot be used for execution and instances that remain in this state for a significant period of time will be removed permanently." + ], + "type": "string" + } + }, + "type": "object" + }, + "GoogleDevtoolsRemotebuildexecutionAdminV1alphaListInstancesRequest": { + "id": "GoogleDevtoolsRemotebuildexecutionAdminV1alphaListInstancesRequest", + "properties": { + "parent": { + "description": "Resource name of the project. Format: `projects/[PROJECT_ID]`.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleDevtoolsRemotebuildexecutionAdminV1alphaListInstancesResponse": { + "id": "GoogleDevtoolsRemotebuildexecutionAdminV1alphaListInstancesResponse", + "properties": { + "instances": { + "description": "The list of instances in a given project.", + "items": { + "$ref": "GoogleDevtoolsRemotebuildexecutionAdminV1alphaInstance" + }, + "type": "array" + } + }, + "type": "object" + }, + "GoogleDevtoolsRemotebuildexecutionAdminV1alphaListWorkerPoolsRequest": { + "id": "GoogleDevtoolsRemotebuildexecutionAdminV1alphaListWorkerPoolsRequest", + "properties": { + "filter": { + "description": "Optional. A filter expression that filters resources listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. String values are case-insensitive. The comparison operator must be either `:`, `=`, `!=`, `>`, `>=`, `<=` or `<`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. You can also filter on nested fields. To filter on multiple expressions, you can separate expression using `AND` and `OR` operators, using parentheses to specify precedence. If neither operator is specified, `AND` is assumed. Examples: Include only pools with more than 100 reserved workers: `(worker_count > 100) (worker_config.reserved = true)` Include only pools with a certain label or machines of the e2-standard family: `worker_config.labels.key1 : * OR worker_config.machine_type: e2-standard`", + "type": "string" + }, + "parent": { + "description": "Resource name of the instance. Format: `projects/[PROJECT_ID]/instances/[INSTANCE_ID]`.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleDevtoolsRemotebuildexecutionAdminV1alphaListWorkerPoolsResponse": { + "id": "GoogleDevtoolsRemotebuildexecutionAdminV1alphaListWorkerPoolsResponse", + "properties": { + "workerPools": { + "description": "The list of worker pools in a given instance.", + "items": { + "$ref": "GoogleDevtoolsRemotebuildexecutionAdminV1alphaWorkerPool" + }, + "type": "array" + } + }, + "type": "object" + }, + "GoogleDevtoolsRemotebuildexecutionAdminV1alphaUpdateInstanceRequest": { + "description": "The request used for `UpdateInstance`.", + "id": "GoogleDevtoolsRemotebuildexecutionAdminV1alphaUpdateInstanceRequest", + "properties": { + "instance": { + "$ref": "GoogleDevtoolsRemotebuildexecutionAdminV1alphaInstance", + "description": "Specifies the instance to update." + }, + "loggingEnabled": { + "description": "Deprecated, use instance.logging_enabled instead. Whether to enable Stackdriver logging for this instance.", + "type": "boolean" + }, + "name": { + "description": "Deprecated, use instance.Name instead. Name of the instance to update. Format: `projects/[PROJECT_ID]/instances/[INSTANCE_ID]`.", + "type": "string" + }, + "updateMask": { + "description": "The update mask applies to instance. For the `FieldMask` definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask If an empty update_mask is provided, only the non-default valued field in the worker pool field will be updated. Note that in order to update a field to the default value (zero, false, empty string) an explicit update_mask must be provided.", + "format": "google-fieldmask", + "type": "string" + } + }, + "type": "object" + }, + "GoogleDevtoolsRemotebuildexecutionAdminV1alphaUpdateWorkerPoolRequest": { + "description": "The request used for UpdateWorkerPool.", + "id": "GoogleDevtoolsRemotebuildexecutionAdminV1alphaUpdateWorkerPoolRequest", + "properties": { + "updateMask": { + "description": "The update mask applies to worker_pool. For the `FieldMask` definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask If an empty update_mask is provided, only the non-default valued field in the worker pool field will be updated. Note that in order to update a field to the default value (zero, false, empty string) an explicit update_mask must be provided.", + "format": "google-fieldmask", + "type": "string" + }, + "workerPool": { + "$ref": "GoogleDevtoolsRemotebuildexecutionAdminV1alphaWorkerPool", + "description": "Specifies the worker pool to update." + } + }, + "type": "object" + }, + "GoogleDevtoolsRemotebuildexecutionAdminV1alphaWorkerConfig": { + "description": "Defines the configuration to be used for creating workers in the worker pool.", + "id": "GoogleDevtoolsRemotebuildexecutionAdminV1alphaWorkerConfig", + "properties": { + "accelerator": { + "$ref": "GoogleDevtoolsRemotebuildexecutionAdminV1alphaAcceleratorConfig", + "description": "The accelerator card attached to each VM." + }, + "diskSizeGb": { + "description": "Required. Size of the disk attached to the worker, in GB. See https://cloud.google.com/compute/docs/disks/", + "format": "int64", + "type": "string" + }, + "diskType": { + "description": "Required. Disk Type to use for the worker. See [Storage options](https://cloud.google.com/compute/docs/disks/#introduction). Currently only `pd-standard` and `pd-ssd` are supported.", + "type": "string" + }, + "labels": { + "additionalProperties": { + "type": "string" + }, + "description": "Labels associated with the workers. Label keys and values can be no longer than 63 characters, can only contain lowercase letters, numeric characters, underscores and dashes. International letters are permitted. Label keys must start with a letter. Label values are optional. There can not be more than 64 labels per resource.", + "type": "object" + }, + "machineType": { + "description": "Required. Machine type of the worker, such as `e2-standard-2`. See https://cloud.google.com/compute/docs/machine-types for a list of supported machine types. Note that `f1-micro` and `g1-small` are not yet supported.", + "type": "string" + }, + "maxConcurrentActions": { + "description": "The maximum number of actions a worker can execute concurrently.", + "format": "int64", + "type": "string" + }, + "minCpuPlatform": { + "description": "Minimum CPU platform to use when creating the worker. See [CPU Platforms](https://cloud.google.com/compute/docs/cpu-platforms).", + "type": "string" + }, + "networkAccess": { + "description": "Determines the type of network access granted to workers. Possible values: - \"public\": Workers can connect to the public internet. - \"private\": Workers can only connect to Google APIs and services. - \"restricted-private\": Workers can only connect to Google APIs that are reachable through `restricted.googleapis.com` (`199.36.153.4/30`).", + "type": "string" + }, + "reserved": { + "description": "Determines whether the worker is reserved (equivalent to a Compute Engine on-demand VM and therefore won't be preempted). See [Preemptible VMs](https://cloud.google.com/preemptible-vms/) for more details.", + "type": "boolean" + }, + "soleTenantNodeType": { + "description": "The node type name to be used for sole-tenant nodes.", + "type": "string" + }, + "vmImage": { + "description": "The name of the image used by each VM.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleDevtoolsRemotebuildexecutionAdminV1alphaWorkerPool": { + "description": "A worker pool resource in the Remote Build Execution API.", + "id": "GoogleDevtoolsRemotebuildexecutionAdminV1alphaWorkerPool", + "properties": { + "autoscale": { + "$ref": "GoogleDevtoolsRemotebuildexecutionAdminV1alphaAutoscale", + "description": "The autoscale policy to apply on a pool." + }, + "channel": { + "description": "Channel specifies the release channel of the pool.", + "type": "string" + }, + "name": { + "description": "WorkerPool resource name formatted as: `projects/[PROJECT_ID]/instances/[INSTANCE_ID]/workerpools/[POOL_ID]`. name should not be populated when creating a worker pool since it is provided in the `poolId` field.", + "type": "string" + }, + "state": { + "description": "Output only. State of the worker pool.", + "enum": [ + "STATE_UNSPECIFIED", + "CREATING", + "RUNNING", + "UPDATING", + "DELETING", + "INACTIVE" + ], + "enumDescriptions": [ + "Not a valid state, but the default value of the enum.", + "The worker pool is in state `CREATING` once `CreateWorkerPool` is called and before all requested workers are ready.", + "The worker pool is in state `RUNNING` when all its workers are ready for use.", + "The worker pool is in state `UPDATING` once `UpdateWorkerPool` is called and before the new configuration has all the requested workers ready for use, and no older configuration has any workers. At that point the state transitions to `RUNNING`.", + "The worker pool is in state `DELETING` once the `Delete` method is called and before the deletion completes.", + "The worker pool is in state `INACTIVE` when the instance hosting the worker pool in not running." + ], + "type": "string" + }, + "workerConfig": { + "$ref": "GoogleDevtoolsRemotebuildexecutionAdminV1alphaWorkerConfig", + "description": "Specifies the properties, such as machine type and disk size, used for creating workers in a worker pool." + }, + "workerCount": { + "description": "The desired number of workers in the worker pool. Must be a value between 0 and 15000.", + "format": "int64", + "type": "string" + } + }, + "type": "object" + }, + "GoogleDevtoolsRemoteworkersV1test2AdminTemp": { + "description": "AdminTemp is a prelimiary set of administration tasks. It's called \"Temp\" because we do not yet know the best way to represent admin tasks; it's possible that this will be entirely replaced in later versions of this API. If this message proves to be sufficient, it will be renamed in the alpha or beta release of this API. This message (suitably marshalled into a protobuf.Any) can be used as the inline_assignment field in a lease; the lease assignment field should simply be `\"admin\"` in these cases. This message is heavily based on Swarming administration tasks from the LUCI project (http://github.com/luci/luci-py/appengine/swarming).", + "id": "GoogleDevtoolsRemoteworkersV1test2AdminTemp", + "properties": { + "arg": { + "description": "The argument to the admin action; see `Command` for semantics.", + "type": "string" + }, + "command": { + "description": "The admin action; see `Command` for legal values.", + "enum": [ + "UNSPECIFIED", + "BOT_UPDATE", + "BOT_RESTART", + "BOT_TERMINATE", + "HOST_RESTART" + ], + "enumDescriptions": [ + "Illegal value.", + "Download and run a new version of the bot. `arg` will be a resource accessible via `ByteStream.Read` to obtain the new bot code.", + "Restart the bot without downloading a new version. `arg` will be a message to log.", + "Shut down the bot. `arg` will be a task resource name (similar to those in tasks.proto) that the bot can use to tell the server that it is terminating.", + "Restart the host computer. `arg` will be a message to log." + ], + "type": "string" + } + }, + "type": "object" + }, + "GoogleDevtoolsRemoteworkersV1test2Blob": { + "description": "Describes a blob of binary content with its digest.", + "id": "GoogleDevtoolsRemoteworkersV1test2Blob", + "properties": { + "contents": { + "description": "The contents of the blob.", + "format": "byte", + "type": "string" + }, + "digest": { + "$ref": "GoogleDevtoolsRemoteworkersV1test2Digest", + "description": "The digest of the blob. This should be verified by the receiver." + } + }, + "type": "object" + }, + "GoogleDevtoolsRemoteworkersV1test2CommandOutputs": { + "description": "DEPRECATED - use CommandResult instead. Describes the actual outputs from the task.", + "id": "GoogleDevtoolsRemoteworkersV1test2CommandOutputs", + "properties": { + "exitCode": { + "description": "exit_code is only fully reliable if the status' code is OK. If the task exceeded its deadline or was cancelled, the process may still produce an exit code as it is cancelled, and this will be populated, but a successful (zero) is unlikely to be correct unless the status code is OK.", + "format": "int32", + "type": "integer" + }, + "outputs": { + "$ref": "GoogleDevtoolsRemoteworkersV1test2Digest", + "description": "The output files. The blob referenced by the digest should contain one of the following (implementation-dependent): * A marshalled DirectoryMetadata of the returned filesystem * A LUCI-style .isolated file" + } + }, + "type": "object" + }, + "GoogleDevtoolsRemoteworkersV1test2CommandOverhead": { + "description": "DEPRECATED - use CommandResult instead. Can be used as part of CompleteRequest.metadata, or are part of a more sophisticated message.", + "id": "GoogleDevtoolsRemoteworkersV1test2CommandOverhead", + "properties": { + "duration": { + "description": "The elapsed time between calling Accept and Complete. The server will also have its own idea of what this should be, but this excludes the overhead of the RPCs and the bot response time.", + "format": "google-duration", + "type": "string" + }, + "overhead": { + "description": "The amount of time *not* spent executing the command (ie uploading/downloading files).", + "format": "google-duration", + "type": "string" + } + }, + "type": "object" + }, + "GoogleDevtoolsRemoteworkersV1test2CommandResult": { + "description": "All information about the execution of a command, suitable for providing as the Bots interface's `Lease.result` field.", + "id": "GoogleDevtoolsRemoteworkersV1test2CommandResult", + "properties": { + "duration": { + "description": "The elapsed time between calling Accept and Complete. The server will also have its own idea of what this should be, but this excludes the overhead of the RPCs and the bot response time.", + "format": "google-duration", + "type": "string" + }, + "exitCode": { + "description": "The exit code of the process. An exit code of \"0\" should only be trusted if `status` has a code of OK (otherwise it may simply be unset).", + "format": "int32", + "type": "integer" + }, + "metadata": { + "description": "Implementation-dependent metadata about the task. Both servers and bots may define messages which can be encoded here; bots are free to provide metadata in multiple formats, and servers are free to choose one or more of the values to process and ignore others. In particular, it is *not* considered an error for the bot to provide the server with a field that it doesn't know about.", + "items": { + "additionalProperties": { + "description": "Properties of the object. Contains field @type with type URL.", + "type": "any" + }, + "type": "object" + }, + "type": "array" + }, + "outputs": { + "$ref": "GoogleDevtoolsRemoteworkersV1test2Digest", + "description": "The output files. The blob referenced by the digest should contain one of the following (implementation-dependent): * A marshalled DirectoryMetadata of the returned filesystem * A LUCI-style .isolated file" + }, + "overhead": { + "description": "The amount of time *not* spent executing the command (ie uploading/downloading files).", + "format": "google-duration", + "type": "string" + }, + "status": { + "$ref": "GoogleRpcStatus", + "description": "An overall status for the command. For example, if the command timed out, this might have a code of DEADLINE_EXCEEDED; if it was killed by the OS for memory exhaustion, it might have a code of RESOURCE_EXHAUSTED." + } + }, + "type": "object" + }, + "GoogleDevtoolsRemoteworkersV1test2CommandTask": { + "description": "Describes a shell-style task to execute, suitable for providing as the Bots interface's `Lease.payload` field.", + "id": "GoogleDevtoolsRemoteworkersV1test2CommandTask", + "properties": { + "expectedOutputs": { + "$ref": "GoogleDevtoolsRemoteworkersV1test2CommandTaskOutputs", + "description": "The expected outputs from the task." + }, + "inputs": { + "$ref": "GoogleDevtoolsRemoteworkersV1test2CommandTaskInputs", + "description": "The inputs to the task." + }, + "timeouts": { + "$ref": "GoogleDevtoolsRemoteworkersV1test2CommandTaskTimeouts", + "description": "The timeouts of this task." + } + }, + "type": "object" + }, + "GoogleDevtoolsRemoteworkersV1test2CommandTaskInputs": { + "description": "Describes the inputs to a shell-style task.", + "id": "GoogleDevtoolsRemoteworkersV1test2CommandTaskInputs", + "properties": { + "arguments": { + "description": "The command itself to run (e.g., argv). This field should be passed directly to the underlying operating system, and so it must be sensible to that operating system. For example, on Windows, the first argument might be \"C:\\Windows\\System32\\ping.exe\" - that is, using drive letters and backslashes. A command for a *nix system, on the other hand, would use forward slashes. All other fields in the RWAPI must consistently use forward slashes, since those fields may be interpretted by both the service and the bot.", + "items": { + "type": "string" + }, + "type": "array" + }, + "environmentVariables": { + "description": "All environment variables required by the task.", + "items": { + "$ref": "GoogleDevtoolsRemoteworkersV1test2CommandTaskInputsEnvironmentVariable" + }, + "type": "array" + }, + "files": { + "description": "The input filesystem to be set up prior to the task beginning. The contents should be a repeated set of FileMetadata messages though other formats are allowed if better for the implementation (eg, a LUCI-style .isolated file). This field is repeated since implementations might want to cache the metadata, in which case it may be useful to break up portions of the filesystem that change frequently (eg, specific input files) from those that don't (eg, standard header files).", + "items": { + "$ref": "GoogleDevtoolsRemoteworkersV1test2Digest" + }, + "type": "array" + }, + "inlineBlobs": { + "description": "Inline contents for blobs expected to be needed by the bot to execute the task. For example, contents of entries in `files` or blobs that are indirectly referenced by an entry there. The bot should check against this list before downloading required task inputs to reduce the number of communications between itself and the remote CAS server.", + "items": { + "$ref": "GoogleDevtoolsRemoteworkersV1test2Blob" + }, + "type": "array" + }, + "workingDirectory": { + "description": "Directory from which a command is executed. It is a relative directory with respect to the bot's working directory (i.e., \"./\"). If it is non-empty, then it must exist under \"./\". Otherwise, \"./\" will be used.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleDevtoolsRemoteworkersV1test2CommandTaskInputsEnvironmentVariable": { + "description": "An environment variable required by this task.", + "id": "GoogleDevtoolsRemoteworkersV1test2CommandTaskInputsEnvironmentVariable", + "properties": { + "name": { + "description": "The envvar name.", + "type": "string" + }, + "value": { + "description": "The envvar value.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleDevtoolsRemoteworkersV1test2CommandTaskOutputs": { + "description": "Describes the expected outputs of the command.", + "id": "GoogleDevtoolsRemoteworkersV1test2CommandTaskOutputs", + "properties": { + "directories": { + "description": "A list of expected directories, relative to the execution root. All paths MUST be delimited by forward slashes.", + "items": { + "type": "string" + }, + "type": "array" + }, + "files": { + "description": "A list of expected files, relative to the execution root. All paths MUST be delimited by forward slashes.", + "items": { + "type": "string" + }, + "type": "array" + }, + "stderrDestination": { + "description": "The destination to which any stderr should be sent. The method by which the bot should send the stream contents to that destination is not defined in this API. As examples, the destination could be a file referenced in the `files` field in this message, or it could be a URI that must be written via the ByteStream API.", + "type": "string" + }, + "stdoutDestination": { + "description": "The destination to which any stdout should be sent. The method by which the bot should send the stream contents to that destination is not defined in this API. As examples, the destination could be a file referenced in the `files` field in this message, or it could be a URI that must be written via the ByteStream API.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleDevtoolsRemoteworkersV1test2CommandTaskTimeouts": { + "description": "Describes the timeouts associated with this task.", + "id": "GoogleDevtoolsRemoteworkersV1test2CommandTaskTimeouts", + "properties": { + "execution": { + "description": "This specifies the maximum time that the task can run, excluding the time required to download inputs or upload outputs. That is, the worker will terminate the task if it runs longer than this.", + "format": "google-duration", + "type": "string" + }, + "idle": { + "description": "This specifies the maximum amount of time the task can be idle - that is, go without generating some output in either stdout or stderr. If the process is silent for more than the specified time, the worker will terminate the task.", + "format": "google-duration", + "type": "string" + }, + "shutdown": { + "description": "If the execution or IO timeouts are exceeded, the worker will try to gracefully terminate the task and return any existing logs. However, tasks may be hard-frozen in which case this process will fail. This timeout specifies how long to wait for a terminated task to shut down gracefully (e.g. via SIGTERM) before we bring down the hammer (e.g. SIGKILL on *nix, CTRL_BREAK_EVENT on Windows).", + "format": "google-duration", + "type": "string" + } + }, + "type": "object" + }, + "GoogleDevtoolsRemoteworkersV1test2Digest": { + "description": "The CommandTask and CommandResult messages assume the existence of a service that can serve blobs of content, identified by a hash and size known as a \"digest.\" The method by which these blobs may be retrieved is not specified here, but a model implementation is in the Remote Execution API's \"ContentAddressibleStorage\" interface. In the context of the RWAPI, a Digest will virtually always refer to the contents of a file or a directory. The latter is represented by the byte-encoded Directory message.", + "id": "GoogleDevtoolsRemoteworkersV1test2Digest", + "properties": { + "hash": { + "description": "A string-encoded hash (eg \"1a2b3c\", not the byte array [0x1a, 0x2b, 0x3c]) using an implementation-defined hash algorithm (eg SHA-256).", + "type": "string" + }, + "sizeBytes": { + "description": "The size of the contents. While this is not strictly required as part of an identifier (after all, any given hash will have exactly one canonical size), it's useful in almost all cases when one might want to send or retrieve blobs of content and is included here for this reason.", + "format": "int64", + "type": "string" + } + }, + "type": "object" + }, + "GoogleDevtoolsRemoteworkersV1test2Directory": { + "description": "The contents of a directory. Similar to the equivalent message in the Remote Execution API.", + "id": "GoogleDevtoolsRemoteworkersV1test2Directory", + "properties": { + "directories": { + "description": "Any subdirectories", + "items": { + "$ref": "GoogleDevtoolsRemoteworkersV1test2DirectoryMetadata" + }, + "type": "array" + }, + "files": { + "description": "The files in this directory", + "items": { + "$ref": "GoogleDevtoolsRemoteworkersV1test2FileMetadata" + }, + "type": "array" + } + }, + "type": "object" + }, + "GoogleDevtoolsRemoteworkersV1test2DirectoryMetadata": { + "description": "The metadata for a directory. Similar to the equivalent message in the Remote Execution API.", + "id": "GoogleDevtoolsRemoteworkersV1test2DirectoryMetadata", + "properties": { + "digest": { + "$ref": "GoogleDevtoolsRemoteworkersV1test2Digest", + "description": "A pointer to the contents of the directory, in the form of a marshalled Directory message." + }, + "path": { + "description": "The path of the directory, as in FileMetadata.path.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleDevtoolsRemoteworkersV1test2FileMetadata": { + "description": "The metadata for a file. Similar to the equivalent message in the Remote Execution API.", + "id": "GoogleDevtoolsRemoteworkersV1test2FileMetadata", + "properties": { + "contents": { + "description": "If the file is small enough, its contents may also or alternatively be listed here.", + "format": "byte", + "type": "string" + }, + "digest": { + "$ref": "GoogleDevtoolsRemoteworkersV1test2Digest", + "description": "A pointer to the contents of the file. The method by which a client retrieves the contents from a CAS system is not defined here." + }, + "isExecutable": { + "description": "Properties of the file", + "type": "boolean" + }, + "path": { + "description": "The path of this file. If this message is part of the CommandOutputs.outputs fields, the path is relative to the execution root and must correspond to an entry in CommandTask.outputs.files. If this message is part of a Directory message, then the path is relative to the root of that directory. All paths MUST be delimited by forward slashes.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleLongrunningOperation": { + "description": "This resource represents a long-running operation that is the result of a network API call.", + "id": "GoogleLongrunningOperation", + "properties": { + "done": { + "description": "If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.", + "type": "boolean" + }, + "error": { + "$ref": "GoogleRpcStatus", + "description": "The error result of the operation in case of failure or cancellation." + }, + "metadata": { + "additionalProperties": { + "description": "Properties of the object. Contains field @type with type URL.", + "type": "any" + }, + "description": "Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.", + "type": "object" + }, + "name": { + "description": "The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.", + "type": "string" + }, + "response": { + "additionalProperties": { + "description": "Properties of the object. Contains field @type with type URL.", + "type": "any" + }, + "description": "The normal response of the operation in case of success. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.", + "type": "object" + } + }, + "type": "object" + }, + "GoogleRpcStatus": { + "description": "The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors).", + "id": "GoogleRpcStatus", + "properties": { + "code": { + "description": "The status code, which should be an enum value of google.rpc.Code.", + "format": "int32", + "type": "integer" + }, + "details": { + "description": "A list of messages that carry the error details. There is a common set of message types for APIs to use.", + "items": { + "additionalProperties": { + "description": "Properties of the object. Contains field @type with type URL.", + "type": "any" + }, + "type": "object" + }, + "type": "array" + }, + "message": { + "description": "A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.", + "type": "string" + } + }, + "type": "object" + } + }, + "servicePath": "", + "title": "Remote Build Execution API", + "version": "v2", + "version_module": true +} \ No newline at end of file diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/reseller.v1.json b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/reseller.v1.json new file mode 100644 index 0000000000000000000000000000000000000000..c730954b9169914f50f8d34b973f0b979ca876a3 --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/reseller.v1.json @@ -0,0 +1,1038 @@ +{ +"auth": { +"oauth2": { +"scopes": { +"https://www.googleapis.com/auth/apps.order": { +"description": "Manage users on your domain" +}, +"https://www.googleapis.com/auth/apps.order.readonly": { +"description": "Manage users on your domain" +} +} +} +}, +"basePath": "", +"baseUrl": "https://reseller.googleapis.com/", +"batchPath": "batch", +"canonicalName": "Reseller", +"description": "Perform common functions that are available on the Channel Services console at scale, like placing orders and viewing customer information", +"discoveryVersion": "v1", +"documentationLink": "https://developers.google.com/google-apps/reseller/", +"fullyEncodeReservedExpansion": true, +"icons": { +"x16": "http://www.google.com/images/icons/product/search-16.gif", +"x32": "http://www.google.com/images/icons/product/search-32.gif" +}, +"id": "reseller:v1", +"kind": "discovery#restDescription", +"mtlsRootUrl": "https://reseller.mtls.googleapis.com/", +"name": "reseller", +"ownerDomain": "google.com", +"ownerName": "Google", +"parameters": { +"$.xgafv": { +"description": "V1 error format.", +"enum": [ +"1", +"2" +], +"enumDescriptions": [ +"v1 error format", +"v2 error format" +], +"location": "query", +"type": "string" +}, +"access_token": { +"description": "OAuth access token.", +"location": "query", +"type": "string" +}, +"alt": { +"default": "json", +"description": "Data format for response.", +"enum": [ +"json", +"media", +"proto" +], +"enumDescriptions": [ +"Responses with Content-Type of application/json", +"Media download with context-dependent Content-Type", +"Responses with Content-Type of application/x-protobuf" +], +"location": "query", +"type": "string" +}, +"callback": { +"description": "JSONP", +"location": "query", +"type": "string" +}, +"fields": { +"description": "Selector specifying which fields to include in a partial response.", +"location": "query", +"type": "string" +}, +"key": { +"description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", +"location": "query", +"type": "string" +}, +"oauth_token": { +"description": "OAuth 2.0 token for the current user.", +"location": "query", +"type": "string" +}, +"prettyPrint": { +"default": "true", +"description": "Returns response with indentations and line breaks.", +"location": "query", +"type": "boolean" +}, +"quotaUser": { +"description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.", +"location": "query", +"type": "string" +}, +"uploadType": { +"description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", +"location": "query", +"type": "string" +}, +"upload_protocol": { +"description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", +"location": "query", +"type": "string" +} +}, +"protocol": "rest", +"resources": { +"customers": { +"methods": { +"get": { +"description": "Gets a customer account. Use this operation to see a customer account already in your reseller management, or to see the minimal account information for an existing customer that you do not manage. For more information about the API response for existing customers, see [retrieving a customer account](https://developers.google.com/workspace/admin/reseller/v1/how-tos/manage_customers#get_customer).", +"flatPath": "apps/reseller/v1/customers/{customerId}", +"httpMethod": "GET", +"id": "reseller.customers.get", +"parameterOrder": [ +"customerId" +], +"parameters": { +"customerId": { +"description": "This can be either the customer's primary domain name or the customer's unique identifier. If the domain name for a customer changes, the old domain name cannot be used to access the customer, but the customer's unique identifier (as returned by the API) can always be used. We recommend storing the unique identifier in your systems where applicable.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "apps/reseller/v1/customers/{customerId}", +"response": { +"$ref": "Customer" +}, +"scopes": [ +"https://www.googleapis.com/auth/apps.order", +"https://www.googleapis.com/auth/apps.order.readonly" +] +}, +"insert": { +"description": "Orders a new customer's account. Before ordering a new customer account, establish whether the customer account already exists using the [`customers.get`](https://developers.google.com/workspace/admin/reseller/v1/reference/customers/get) If the customer account exists as a direct Google account or as a resold customer account from another reseller, use the `customerAuthToken\\` as described in [order a resold account for an existing customer](https://developers.google.com/workspace/admin/reseller/v1/how-tos/manage_customers#create_existing_customer). For more information about ordering a new customer account, see [order a new customer account](https://developers.google.com/workspace/admin/reseller/v1/how-tos/manage_customers#create_customer). After creating a new customer account, you must provision a user as an administrator. The customer's administrator is required to sign in to the Admin console and sign the G Suite via Reseller agreement to activate the account. Resellers are prohibited from signing the G Suite via Reseller agreement on the customer's behalf. For more information, see [order a new customer account](https://developers.google.com/workspace/admin/reseller/v1/how-tos/manage_customers#tos).", +"flatPath": "apps/reseller/v1/customers", +"httpMethod": "POST", +"id": "reseller.customers.insert", +"parameterOrder": [], +"parameters": { +"customerAuthToken": { +"description": "The `customerAuthToken` query string is required when creating a resold account that transfers a direct customer's subscription or transfers another reseller customer's subscription to your reseller management. This is a hexadecimal authentication token needed to complete the subscription transfer. For more information, see the administrator help center.", +"location": "query", +"type": "string" +} +}, +"path": "apps/reseller/v1/customers", +"request": { +"$ref": "Customer" +}, +"response": { +"$ref": "Customer" +}, +"scopes": [ +"https://www.googleapis.com/auth/apps.order" +] +}, +"patch": { +"description": "Updates a customer account's settings. This method supports patch semantics. You cannot update `customerType` via the Reseller API, but a `\"team\"` customer can verify their domain and become `customerType = \"domain\"`. For more information, see [Verify your domain to unlock Essentials features](https://support.google.com/a/answer/9122284).", +"flatPath": "apps/reseller/v1/customers/{customerId}", +"httpMethod": "PATCH", +"id": "reseller.customers.patch", +"parameterOrder": [ +"customerId" +], +"parameters": { +"customerId": { +"description": "This can be either the customer's primary domain name or the customer's unique identifier. If the domain name for a customer changes, the old domain name cannot be used to access the customer, but the customer's unique identifier (as returned by the API) can always be used. We recommend storing the unique identifier in your systems where applicable.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "apps/reseller/v1/customers/{customerId}", +"request": { +"$ref": "Customer" +}, +"response": { +"$ref": "Customer" +}, +"scopes": [ +"https://www.googleapis.com/auth/apps.order" +] +}, +"update": { +"description": "Updates a customer account's settings. You cannot update `customerType` via the Reseller API, but a `\"team\"` customer can verify their domain and become `customerType = \"domain\"`. For more information, see [update a customer's settings](https://developers.google.com/workspace/admin/reseller/v1/how-tos/manage_customers#update_customer).", +"flatPath": "apps/reseller/v1/customers/{customerId}", +"httpMethod": "PUT", +"id": "reseller.customers.update", +"parameterOrder": [ +"customerId" +], +"parameters": { +"customerId": { +"description": "This can be either the customer's primary domain name or the customer's unique identifier. If the domain name for a customer changes, the old domain name cannot be used to access the customer, but the customer's unique identifier (as returned by the API) can always be used. We recommend storing the unique identifier in your systems where applicable.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "apps/reseller/v1/customers/{customerId}", +"request": { +"$ref": "Customer" +}, +"response": { +"$ref": "Customer" +}, +"scopes": [ +"https://www.googleapis.com/auth/apps.order" +] +} +} +}, +"resellernotify": { +"methods": { +"getwatchdetails": { +"description": "Returns all the details of the watch corresponding to the reseller.", +"flatPath": "apps/reseller/v1/resellernotify/getwatchdetails", +"httpMethod": "GET", +"id": "reseller.resellernotify.getwatchdetails", +"parameterOrder": [], +"parameters": {}, +"path": "apps/reseller/v1/resellernotify/getwatchdetails", +"response": { +"$ref": "ResellernotifyGetwatchdetailsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/apps.order", +"https://www.googleapis.com/auth/apps.order.readonly" +] +}, +"register": { +"description": "Registers a Reseller for receiving notifications.", +"flatPath": "apps/reseller/v1/resellernotify/register", +"httpMethod": "POST", +"id": "reseller.resellernotify.register", +"parameterOrder": [], +"parameters": { +"serviceAccountEmailAddress": { +"description": "The service account which will own the created Cloud-PubSub topic.", +"location": "query", +"type": "string" +} +}, +"path": "apps/reseller/v1/resellernotify/register", +"response": { +"$ref": "ResellernotifyResource" +}, +"scopes": [ +"https://www.googleapis.com/auth/apps.order" +] +}, +"unregister": { +"description": "Unregisters a Reseller for receiving notifications.", +"flatPath": "apps/reseller/v1/resellernotify/unregister", +"httpMethod": "POST", +"id": "reseller.resellernotify.unregister", +"parameterOrder": [], +"parameters": { +"serviceAccountEmailAddress": { +"description": "The service account which owns the Cloud-PubSub topic.", +"location": "query", +"type": "string" +} +}, +"path": "apps/reseller/v1/resellernotify/unregister", +"response": { +"$ref": "ResellernotifyResource" +}, +"scopes": [ +"https://www.googleapis.com/auth/apps.order" +] +} +} +}, +"subscriptions": { +"methods": { +"activate": { +"description": "Activates a subscription previously suspended by the reseller. If you did not suspend the customer subscription and it is suspended for any other reason, such as for abuse or a pending ToS acceptance, this call will not reactivate the customer subscription.", +"flatPath": "apps/reseller/v1/customers/{customerId}/subscriptions/{subscriptionId}/activate", +"httpMethod": "POST", +"id": "reseller.subscriptions.activate", +"parameterOrder": [ +"customerId", +"subscriptionId" +], +"parameters": { +"customerId": { +"description": "This can be either the customer's primary domain name or the customer's unique identifier. If the domain name for a customer changes, the old domain name cannot be used to access the customer, but the customer's unique identifier (as returned by the API) can always be used. We recommend storing the unique identifier in your systems where applicable.", +"location": "path", +"required": true, +"type": "string" +}, +"subscriptionId": { +"description": "This is a required property. The `subscriptionId` is the subscription identifier and is unique for each customer. Since a `subscriptionId` changes when a subscription is updated, we recommend to not use this ID as a key for persistent data. And the `subscriptionId` can be found using the retrieve all reseller subscriptions method.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "apps/reseller/v1/customers/{customerId}/subscriptions/{subscriptionId}/activate", +"response": { +"$ref": "Subscription" +}, +"scopes": [ +"https://www.googleapis.com/auth/apps.order" +] +}, +"changePlan": { +"description": "Updates a subscription plan. Use this method to update a plan for a 30-day trial or a flexible plan subscription to an annual commitment plan with monthly or yearly payments. How a plan is updated differs depending on the plan and the products. For more information, see the description in [manage subscriptions](https://developers.google.com/workspace/admin/reseller/v1/how-tos/manage_subscriptions#update_subscription_plan).", +"flatPath": "apps/reseller/v1/customers/{customerId}/subscriptions/{subscriptionId}/changePlan", +"httpMethod": "POST", +"id": "reseller.subscriptions.changePlan", +"parameterOrder": [ +"customerId", +"subscriptionId" +], +"parameters": { +"customerId": { +"description": "This can be either the customer's primary domain name or the customer's unique identifier. If the domain name for a customer changes, the old domain name cannot be used to access the customer, but the customer's unique identifier (as returned by the API) can always be used. We recommend storing the unique identifier in your systems where applicable.", +"location": "path", +"required": true, +"type": "string" +}, +"subscriptionId": { +"description": "This is a required property. The `subscriptionId` is the subscription identifier and is unique for each customer. Since a `subscriptionId` changes when a subscription is updated, we recommend to not use this ID as a key for persistent data. And the `subscriptionId` can be found using the retrieve all reseller subscriptions method.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "apps/reseller/v1/customers/{customerId}/subscriptions/{subscriptionId}/changePlan", +"request": { +"$ref": "ChangePlanRequest" +}, +"response": { +"$ref": "Subscription" +}, +"scopes": [ +"https://www.googleapis.com/auth/apps.order" +] +}, +"changeRenewalSettings": { +"description": "Updates a user license's renewal settings. This is applicable for accounts with annual commitment plans only. For more information, see the description in [manage subscriptions](https://developers.google.com/workspace/admin/reseller/v1/how-tos/manage_subscriptions#update_renewal).", +"flatPath": "apps/reseller/v1/customers/{customerId}/subscriptions/{subscriptionId}/changeRenewalSettings", +"httpMethod": "POST", +"id": "reseller.subscriptions.changeRenewalSettings", +"parameterOrder": [ +"customerId", +"subscriptionId" +], +"parameters": { +"customerId": { +"description": "This can be either the customer's primary domain name or the customer's unique identifier. If the domain name for a customer changes, the old domain name cannot be used to access the customer, but the customer's unique identifier (as returned by the API) can always be used. We recommend storing the unique identifier in your systems where applicable.", +"location": "path", +"required": true, +"type": "string" +}, +"subscriptionId": { +"description": "This is a required property. The `subscriptionId` is the subscription identifier and is unique for each customer. Since a `subscriptionId` changes when a subscription is updated, we recommend to not use this ID as a key for persistent data. And the `subscriptionId` can be found using the retrieve all reseller subscriptions method.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "apps/reseller/v1/customers/{customerId}/subscriptions/{subscriptionId}/changeRenewalSettings", +"request": { +"$ref": "RenewalSettings" +}, +"response": { +"$ref": "Subscription" +}, +"scopes": [ +"https://www.googleapis.com/auth/apps.order" +] +}, +"changeSeats": { +"description": "Updates a subscription's user license settings. For more information about updating an annual commitment plan or a flexible plan subscription\u2019s licenses, see [Manage Subscriptions](https://developers.google.com/workspace/admin/reseller/v1/how-tos/manage_subscriptions#update_subscription_seat).", +"flatPath": "apps/reseller/v1/customers/{customerId}/subscriptions/{subscriptionId}/changeSeats", +"httpMethod": "POST", +"id": "reseller.subscriptions.changeSeats", +"parameterOrder": [ +"customerId", +"subscriptionId" +], +"parameters": { +"customerId": { +"description": "This can be either the customer's primary domain name or the customer's unique identifier. If the domain name for a customer changes, the old domain name cannot be used to access the customer, but the customer's unique identifier (as returned by the API) can always be used. We recommend storing the unique identifier in your systems where applicable.", +"location": "path", +"required": true, +"type": "string" +}, +"subscriptionId": { +"description": "This is a required property. The `subscriptionId` is the subscription identifier and is unique for each customer. Since a `subscriptionId` changes when a subscription is updated, we recommend to not use this ID as a key for persistent data. And the `subscriptionId` can be found using the retrieve all reseller subscriptions method.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "apps/reseller/v1/customers/{customerId}/subscriptions/{subscriptionId}/changeSeats", +"request": { +"$ref": "Seats" +}, +"response": { +"$ref": "Subscription" +}, +"scopes": [ +"https://www.googleapis.com/auth/apps.order" +] +}, +"delete": { +"description": "Cancels, suspends, or transfers a subscription to direct.", +"flatPath": "apps/reseller/v1/customers/{customerId}/subscriptions/{subscriptionId}", +"httpMethod": "DELETE", +"id": "reseller.subscriptions.delete", +"parameterOrder": [ +"customerId", +"subscriptionId", +"deletionType" +], +"parameters": { +"customerId": { +"description": "This can be either the customer's primary domain name or the customer's unique identifier. If the domain name for a customer changes, the old domain name cannot be used to access the customer, but the customer's unique identifier (as returned by the API) can always be used. We recommend storing the unique identifier in your systems where applicable.", +"location": "path", +"required": true, +"type": "string" +}, +"deletionType": { +"description": "The `deletionType` query string enables the cancellation, downgrade, or suspension of a subscription.", +"enum": [ +"deletion_type_undefined", +"cancel", +"transfer_to_direct" +], +"enumDescriptions": [ +"", +"Cancels the subscription immediately. This does not apply to a G Suite subscription.", +"Transfers a subscription directly to Google. The customer is immediately transferred to a direct billing relationship with Google and is given a short amount of time with no service interruption. The customer can then choose to set up billing directly with Google by using a credit card, or they can transfer to another reseller." +], +"location": "query", +"required": true, +"type": "string" +}, +"subscriptionId": { +"description": "This is a required property. The `subscriptionId` is the subscription identifier and is unique for each customer. Since a `subscriptionId` changes when a subscription is updated, we recommend to not use this ID as a key for persistent data. And the `subscriptionId` can be found using the retrieve all reseller subscriptions method.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "apps/reseller/v1/customers/{customerId}/subscriptions/{subscriptionId}", +"scopes": [ +"https://www.googleapis.com/auth/apps.order" +] +}, +"get": { +"description": "Gets a specific subscription. The `subscriptionId` can be found using the [Retrieve all reseller subscriptions](https://developers.google.com/workspace/admin/reseller/v1/how-tos/manage_subscriptions#get_all_subscriptions) method. For more information about retrieving a specific subscription, see the information descrived in [manage subscriptions](https://developers.google.com/workspace/admin/reseller/v1/how-tos/manage_subscriptions#get_subscription).", +"flatPath": "apps/reseller/v1/customers/{customerId}/subscriptions/{subscriptionId}", +"httpMethod": "GET", +"id": "reseller.subscriptions.get", +"parameterOrder": [ +"customerId", +"subscriptionId" +], +"parameters": { +"customerId": { +"description": "This can be either the customer's primary domain name or the customer's unique identifier. If the domain name for a customer changes, the old domain name cannot be used to access the customer, but the customer's unique identifier (as returned by the API) can always be used. We recommend storing the unique identifier in your systems where applicable.", +"location": "path", +"required": true, +"type": "string" +}, +"subscriptionId": { +"description": "This is a required property. The `subscriptionId` is the subscription identifier and is unique for each customer. Since a `subscriptionId` changes when a subscription is updated, we recommend to not use this ID as a key for persistent data. And the `subscriptionId` can be found using the retrieve all reseller subscriptions method.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "apps/reseller/v1/customers/{customerId}/subscriptions/{subscriptionId}", +"response": { +"$ref": "Subscription" +}, +"scopes": [ +"https://www.googleapis.com/auth/apps.order", +"https://www.googleapis.com/auth/apps.order.readonly" +] +}, +"insert": { +"description": "Creates or transfer a subscription. Create a subscription for a customer's account that you ordered using the [Order a new customer account](https://developers.google.com/workspace/admin/reseller/v1/reference/customers/insert.html) method. For more information about creating a subscription for different payment plans, see [manage subscriptions](https://developers.google.com/workspace/admin/reseller/v1/how-tos/manage_subscriptions#create_subscription).\\ If you did not order the customer's account using the customer insert method, use the customer's `customerAuthToken` when creating a subscription for that customer. If transferring a G Suite subscription with an associated Google Drive or Google Vault subscription, use the [batch operation](https://developers.google.com/workspace/admin/reseller/v1/how-tos/batch.html) to transfer all of these subscriptions. For more information, see how to [transfer subscriptions](https://developers.google.com/workspace/admin/reseller/v1/how-tos/manage_subscriptions#transfer_a_subscription).", +"flatPath": "apps/reseller/v1/customers/{customerId}/subscriptions", +"httpMethod": "POST", +"id": "reseller.subscriptions.insert", +"parameterOrder": [ +"customerId" +], +"parameters": { +"action": { +"description": "The intented insert action. Advised to set this when the customer already has a subscription for a different SKU in the same product.", +"enum": [ +"actionUnspecified", +"buy", +"switch" +], +"enumDescriptions": [ +"Auto determines whether to create new subscription, upgrade or downagrade existing subscription or transfer the existing subscription", +"Create new subscription", +"Switch existing subscription to another sku (upgrade/downgrade)" +], +"location": "query", +"type": "string" +}, +"customerAuthToken": { +"description": "The `customerAuthToken` query string is required when creating a resold account that transfers a direct customer's subscription or transfers another reseller customer's subscription to your reseller management. This is a hexadecimal authentication token needed to complete the subscription transfer. For more information, see the administrator help center.", +"location": "query", +"type": "string" +}, +"customerId": { +"description": "This can be either the customer's primary domain name or the customer's unique identifier. If the domain name for a customer changes, the old domain name cannot be used to access the customer, but the customer's unique identifier (as returned by the API) can always be used. We recommend storing the unique identifier in your systems where applicable.", +"location": "path", +"required": true, +"type": "string" +}, +"sourceSkuId": { +"description": "The sku_id of the existing subscription to be upgraded or downgraded. This is required when action is SWITCH.", +"location": "query", +"type": "string" +} +}, +"path": "apps/reseller/v1/customers/{customerId}/subscriptions", +"request": { +"$ref": "Subscription" +}, +"response": { +"$ref": "Subscription" +}, +"scopes": [ +"https://www.googleapis.com/auth/apps.order" +] +}, +"list": { +"description": "Lists of subscriptions managed by the reseller. The list can be all subscriptions, all of a customer's subscriptions, or all of a customer's transferable subscriptions. Optionally, this method can filter the response by a `customerNamePrefix`. For more information, see [manage subscriptions](https://developers.google.com/workspace/admin/reseller/v1/how-tos/manage_subscriptions).", +"flatPath": "apps/reseller/v1/subscriptions", +"httpMethod": "GET", +"id": "reseller.subscriptions.list", +"parameterOrder": [], +"parameters": { +"customerAuthToken": { +"description": "The `customerAuthToken` query string is required when creating a resold account that transfers a direct customer's subscription or transfers another reseller customer's subscription to your reseller management. This is a hexadecimal authentication token needed to complete the subscription transfer. For more information, see the administrator help center.", +"location": "query", +"type": "string" +}, +"customerId": { +"description": "This can be either the customer's primary domain name or the customer's unique identifier. If the domain name for a customer changes, the old domain name cannot be used to access the customer, but the customer's unique identifier (as returned by the API) can always be used. We recommend storing the unique identifier in your systems where applicable.", +"location": "query", +"type": "string" +}, +"customerNamePrefix": { +"description": "When retrieving all of your subscriptions and filtering for specific customers, you can enter a prefix for a customer name. Using an example customer group that includes `exam.com`, `example20.com` and `example.com`: - `exa` -- Returns all customer names that start with 'exa' which could include `exam.com`, `example20.com`, and `example.com`. A name prefix is similar to using a regular expression's asterisk, exa*. - `example` -- Returns `example20.com` and `example.com`. ", +"location": "query", +"type": "string" +}, +"maxResults": { +"description": "When retrieving a large list, the `maxResults` is the maximum number of results per page. The `nextPageToken` value takes you to the next page. The default is 20.", +"format": "uint32", +"location": "query", +"maximum": "100", +"minimum": "1", +"type": "integer" +}, +"pageToken": { +"description": "Token to specify next page in the list", +"location": "query", +"type": "string" +} +}, +"path": "apps/reseller/v1/subscriptions", +"response": { +"$ref": "Subscriptions" +}, +"scopes": [ +"https://www.googleapis.com/auth/apps.order", +"https://www.googleapis.com/auth/apps.order.readonly" +] +}, +"startPaidService": { +"description": "Immediately move a 30-day free trial subscription to a paid service subscription. This method is only applicable if a payment plan has already been set up for the 30-day trial subscription. For more information, see [manage subscriptions](https://developers.google.com/workspace/admin/reseller/v1/how-tos/manage_subscriptions#paid_service).", +"flatPath": "apps/reseller/v1/customers/{customerId}/subscriptions/{subscriptionId}/startPaidService", +"httpMethod": "POST", +"id": "reseller.subscriptions.startPaidService", +"parameterOrder": [ +"customerId", +"subscriptionId" +], +"parameters": { +"customerId": { +"description": "This can be either the customer's primary domain name or the customer's unique identifier. If the domain name for a customer changes, the old domain name cannot be used to access the customer, but the customer's unique identifier (as returned by the API) can always be used. We recommend storing the unique identifier in your systems where applicable.", +"location": "path", +"required": true, +"type": "string" +}, +"subscriptionId": { +"description": "This is a required property. The `subscriptionId` is the subscription identifier and is unique for each customer. Since a `subscriptionId` changes when a subscription is updated, we recommend to not use this ID as a key for persistent data. And the `subscriptionId` can be found using the retrieve all reseller subscriptions method.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "apps/reseller/v1/customers/{customerId}/subscriptions/{subscriptionId}/startPaidService", +"response": { +"$ref": "Subscription" +}, +"scopes": [ +"https://www.googleapis.com/auth/apps.order" +] +}, +"suspend": { +"description": "Suspends an active subscription. You can use this method to suspend a paid subscription that is currently in the `ACTIVE` state. * For `FLEXIBLE` subscriptions, billing is paused. * For `ANNUAL_MONTHLY_PAY` or `ANNUAL_YEARLY_PAY` subscriptions: * Suspending the subscription does not change the renewal date that was originally committed to. * A suspended subscription does not renew. If you activate the subscription after the original renewal date, a new annual subscription will be created, starting on the day of activation. We strongly encourage you to suspend subscriptions only for short periods of time as suspensions over 60 days may result in the subscription being cancelled.", +"flatPath": "apps/reseller/v1/customers/{customerId}/subscriptions/{subscriptionId}/suspend", +"httpMethod": "POST", +"id": "reseller.subscriptions.suspend", +"parameterOrder": [ +"customerId", +"subscriptionId" +], +"parameters": { +"customerId": { +"description": "This can be either the customer's primary domain name or the customer's unique identifier. If the domain name for a customer changes, the old domain name cannot be used to access the customer, but the customer's unique identifier (as returned by the API) can always be used. We recommend storing the unique identifier in your systems where applicable.", +"location": "path", +"required": true, +"type": "string" +}, +"subscriptionId": { +"description": "This is a required property. The `subscriptionId` is the subscription identifier and is unique for each customer. Since a `subscriptionId` changes when a subscription is updated, we recommend to not use this ID as a key for persistent data. And the `subscriptionId` can be found using the retrieve all reseller subscriptions method.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "apps/reseller/v1/customers/{customerId}/subscriptions/{subscriptionId}/suspend", +"response": { +"$ref": "Subscription" +}, +"scopes": [ +"https://www.googleapis.com/auth/apps.order" +] +} +} +} +}, +"revision": "20250511", +"rootUrl": "https://reseller.googleapis.com/", +"schemas": { +"Address": { +"description": "JSON template for address of a customer.", +"id": "Address", +"properties": { +"addressLine1": { +"description": "A customer's physical address. An address can be composed of one to three lines. The `addressline2` and `addressLine3` are optional.", +"type": "string" +}, +"addressLine2": { +"description": "Line 2 of the address.", +"type": "string" +}, +"addressLine3": { +"description": "Line 3 of the address.", +"type": "string" +}, +"contactName": { +"description": "The customer contact's name. This is required.", +"type": "string" +}, +"countryCode": { +"description": "For `countryCode` information, see the ISO 3166 country code elements. Verify that country is approved for resale of Google products. This property is required when creating a new customer.", +"type": "string" +}, +"kind": { +"default": "customers#address", +"description": "Identifies the resource as a customer address. Value: `customers#address`", +"type": "string" +}, +"locality": { +"description": "An example of a `locality` value is the city of `San Francisco`.", +"type": "string" +}, +"organizationName": { +"description": "The company or company division name. This is required.", +"type": "string" +}, +"postalCode": { +"description": "A `postalCode` example is a postal zip code such as `94043`. This property is required when creating a new customer.", +"type": "string" +}, +"region": { +"description": "An example of a `region` value is `CA` for the state of California.", +"type": "string" +} +}, +"type": "object" +}, +"ChangePlanRequest": { +"description": "JSON template for the ChangePlan rpc request.", +"id": "ChangePlanRequest", +"properties": { +"dealCode": { +"description": "Google-issued code (100 char max) for discounted pricing on subscription plans. Deal code must be included in `changePlan` request in order to receive discounted rate. This property is optional. If a deal code has already been added to a subscription, this property may be left empty and the existing discounted rate will still apply (if not empty, only provide the deal code that is already present on the subscription). If a deal code has never been added to a subscription and this property is left blank, regular pricing will apply.", +"type": "string" +}, +"kind": { +"default": "subscriptions#changePlanRequest", +"description": "Identifies the resource as a subscription change plan request. Value: `subscriptions#changePlanRequest`", +"type": "string" +}, +"planName": { +"description": "The `planName` property is required. This is the name of the subscription's payment plan. For more information about the Google payment plans, see API concepts. Possible values are: - `ANNUAL_MONTHLY_PAY` - The annual commitment plan with monthly payments *Caution: *`ANNUAL_MONTHLY_PAY` is returned as `ANNUAL` in all API responses. - `ANNUAL_YEARLY_PAY` - The annual commitment plan with yearly payments - `FLEXIBLE` - The flexible plan - `TRIAL` - The 30-day free trial plan ", +"type": "string" +}, +"purchaseOrderId": { +"description": "This is an optional property. This purchase order (PO) information is for resellers to use for their company tracking usage. If a `purchaseOrderId` value is given it appears in the API responses and shows up in the invoice. The property accepts up to 80 plain text characters.", +"type": "string" +}, +"seats": { +"$ref": "Seats", +"description": "This is a required property. The seats property is the number of user seat licenses." +} +}, +"type": "object" +}, +"Customer": { +"description": "When a Google customer's account is registered with a reseller, the customer's subscriptions for Google services are managed by this reseller. A customer is described by a primary domain name and a physical address.", +"id": "Customer", +"properties": { +"alternateEmail": { +"description": "Like the \"Customer email\" in the reseller tools, this email is the secondary contact used if something happens to the customer's service such as service outage or a security issue. This property is required when creating a new \"domain\" customer and should not use the same domain as `customerDomain`. The `alternateEmail` field is not necessary to create a \"team\" customer.", +"type": "string" +}, +"customerDomain": { +"description": "The customer's primary domain name string. `customerDomain` is required when creating a new customer. Do not include the `www` prefix in the domain when adding a customer.", +"type": "string" +}, +"customerDomainVerified": { +"description": "Whether the customer's primary domain has been verified.", +"type": "boolean" +}, +"customerId": { +"description": "This property will always be returned in a response as the unique identifier generated by Google. In a request, this property can be either the primary domain or the unique identifier generated by Google.", +"type": "string" +}, +"customerType": { +"description": "Identifies the type of the customer. Acceptable values include: * `domain`: Implies a domain-verified customer (default). * `team`: Implies an email-verified customer. For more information, see [managed teams](https://support.google.com/a/users/answer/9939479).", +"enum": [ +"customerTypeUnspecified", +"domain", +"team" +], +"enumDescriptions": [ +"Customer type not known", +"Domained or domain-owning customers", +"Domainless or email-verified customers" +], +"type": "string" +}, +"kind": { +"default": "reseller#customer", +"description": "Identifies the resource as a customer. Value: `reseller#customer`", +"type": "string" +}, +"phoneNumber": { +"description": "Customer contact phone number. Must start with \"+\" followed by the country code. The rest of the number can be contiguous numbers or respect the phone local format conventions, but it must be a real phone number and not, for example, \"123\". This field is silently ignored if invalid.", +"type": "string" +}, +"postalAddress": { +"$ref": "Address", +"description": "A customer's address information. Each field has a limit of 255 charcters." +}, +"primaryAdmin": { +"$ref": "PrimaryAdmin", +"description": "The first admin details of the customer, present in case of TEAM customer." +}, +"resourceUiUrl": { +"description": "URL to customer's Admin console dashboard. The read-only URL is generated by the API service. This is used if your client application requires the customer to complete a task in the Admin console.", +"type": "string" +} +}, +"type": "object" +}, +"PrimaryAdmin": { +"description": "JSON template for primary admin in case of TEAM customers", +"id": "PrimaryAdmin", +"properties": { +"primaryEmail": { +"description": "The business email of the primary administrator of the customer. The email verification link is sent to this email address at the time of customer creation. Primary administrators have access to the customer's Admin Console, including the ability to invite and evict users and manage the administrative needs of the customer.", +"type": "string" +} +}, +"type": "object" +}, +"RenewalSettings": { +"description": "JSON template for a subscription renewal settings.", +"id": "RenewalSettings", +"properties": { +"kind": { +"default": "subscriptions#renewalSettings", +"description": "Identifies the resource as a subscription renewal setting. Value: `subscriptions#renewalSettings`", +"type": "string" +}, +"renewalType": { +"description": "Renewal settings for the annual commitment plan. For more detailed information, see renewal options in the administrator help center. When renewing a subscription, the `renewalType` is a required property.", +"type": "string" +} +}, +"type": "object" +}, +"ResellernotifyGetwatchdetailsResponse": { +"description": "JSON template for resellernotify getwatchdetails response.", +"id": "ResellernotifyGetwatchdetailsResponse", +"properties": { +"serviceAccountEmailAddresses": { +"description": "List of registered service accounts.", +"items": { +"type": "string" +}, +"type": "array" +}, +"topicName": { +"description": "Topic name of the PubSub", +"type": "string" +} +}, +"type": "object" +}, +"ResellernotifyResource": { +"description": "JSON template for resellernotify response.", +"id": "ResellernotifyResource", +"properties": { +"topicName": { +"description": "Topic name of the PubSub", +"type": "string" +} +}, +"type": "object" +}, +"Seats": { +"description": "JSON template for subscription seats.", +"id": "Seats", +"properties": { +"kind": { +"default": "subscriptions#seats", +"description": "Identifies the resource as a subscription seat setting. Value: `subscriptions#seats`", +"type": "string" +}, +"licensedNumberOfSeats": { +"description": "Read-only field containing the current number of users that are assigned a license for the product defined in `skuId`. This field's value is equivalent to the numerical count of users returned by the Enterprise License Manager API method: [`listForProductAndSku`](https://developers.google.com/workspace/admin/licensing/v1/reference/licenseAssignments/listForProductAndSku).", +"format": "int32", +"type": "integer" +}, +"maximumNumberOfSeats": { +"description": "This is a required property and is exclusive to subscriptions with `FLEXIBLE` or `TRIAL` plans. This property sets the maximum number of licensed users allowed on a subscription. This quantity can be increased up to the maximum limit defined in the reseller's contract. The minimum quantity is the current number of users in the customer account. *Note: *G Suite subscriptions automatically assign a license to every user.", +"format": "int32", +"type": "integer" +}, +"numberOfSeats": { +"description": "This is a required property and is exclusive to subscriptions with `ANNUAL_MONTHLY_PAY` and `ANNUAL_YEARLY_PAY` plans. This property sets the maximum number of licenses assignable to users on a subscription. The reseller can add more licenses, but once set, the `numberOfSeats` cannot be reduced until renewal. The reseller is invoiced based on the `numberOfSeats` value regardless of how many of these user licenses are assigned. *Note: *Google Workspace subscriptions automatically assign a license to every user.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"Subscription": { +"description": "JSON template for a subscription.", +"id": "Subscription", +"properties": { +"billingMethod": { +"description": "Read-only field that returns the current billing method for a subscription.", +"type": "string" +}, +"creationTime": { +"description": "The `creationTime` property is the date when subscription was created. It is in milliseconds using the Epoch format. See an example Epoch converter.", +"format": "int64", +"type": "string" +}, +"customerDomain": { +"description": "Primary domain name of the customer", +"type": "string" +}, +"customerId": { +"description": "This property will always be returned in a response as the unique identifier generated by Google. In a request, this property can be either the primary domain or the unique identifier generated by Google.", +"type": "string" +}, +"dealCode": { +"description": "Google-issued code (100 char max) for discounted pricing on subscription plans. Deal code must be included in `insert` requests in order to receive discounted rate. This property is optional, regular pricing applies if left empty.", +"type": "string" +}, +"kind": { +"default": "reseller#subscription", +"description": "Identifies the resource as a Subscription. Value: `reseller#subscription`", +"type": "string" +}, +"plan": { +"description": "The `plan` property is required. In this version of the API, the G Suite plans are the flexible plan, annual commitment plan, and the 30-day free trial plan. For more information about the API\"s payment plans, see the API concepts.", +"properties": { +"commitmentInterval": { +"description": "In this version of the API, annual commitment plan's interval is one year. *Note: *When `billingMethod` value is `OFFLINE`, the subscription property object `plan.commitmentInterval` is omitted in all API responses. ", +"properties": { +"endTime": { +"description": "An annual commitment plan's interval's `endTime` in milliseconds using the UNIX Epoch format. See an example Epoch converter.", +"format": "int64", +"type": "string" +}, +"startTime": { +"description": "An annual commitment plan's interval's `startTime` in milliseconds using UNIX Epoch format. See an example Epoch converter.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"isCommitmentPlan": { +"description": "The `isCommitmentPlan` property's boolean value identifies the plan as an annual commitment plan: - `true` \u2014 The subscription's plan is an annual commitment plan. - `false` \u2014 The plan is not an annual commitment plan. ", +"type": "boolean" +}, +"planName": { +"description": "The `planName` property is required. This is the name of the subscription's plan. For more information about the Google payment plans, see the API concepts. Possible values are: - `ANNUAL_MONTHLY_PAY` \u2014 The annual commitment plan with monthly payments. *Caution: *`ANNUAL_MONTHLY_PAY` is returned as `ANNUAL` in all API responses. - `ANNUAL_YEARLY_PAY` \u2014 The annual commitment plan with yearly payments - `FLEXIBLE` \u2014 The flexible plan - `TRIAL` \u2014 The 30-day free trial plan. A subscription in trial will be suspended after the 30th free day if no payment plan is assigned. Calling `changePlan` will assign a payment plan to a trial but will not activate the plan. A trial will automatically begin its assigned payment plan after its 30th free day or immediately after calling `startPaidService`. - `FREE` \u2014 The free plan is exclusive to the Cloud Identity SKU and does not incur any billing. ", +"type": "string" +} +}, +"type": "object" +}, +"purchaseOrderId": { +"description": "This is an optional property. This purchase order (PO) information is for resellers to use for their company tracking usage. If a `purchaseOrderId` value is given it appears in the API responses and shows up in the invoice. The property accepts up to 80 plain text characters.", +"type": "string" +}, +"renewalSettings": { +"$ref": "RenewalSettings", +"description": "Renewal settings for the annual commitment plan. For more detailed information, see renewal options in the administrator help center." +}, +"resourceUiUrl": { +"description": "URL to customer's Subscriptions page in the Admin console. The read-only URL is generated by the API service. This is used if your client application requires the customer to complete a task using the Subscriptions page in the Admin console.", +"type": "string" +}, +"seats": { +"$ref": "Seats", +"description": "This is a required property. The number and limit of user seat licenses in the plan." +}, +"skuId": { +"description": "A required property. The `skuId` is a unique system identifier for a product's SKU assigned to a customer in the subscription. For products and SKUs available in this version of the API, see Product and SKU IDs.", +"type": "string" +}, +"skuName": { +"description": "Read-only external display name for a product's SKU assigned to a customer in the subscription. SKU names are subject to change at Google's discretion. For products and SKUs available in this version of the API, see Product and SKU IDs.", +"type": "string" +}, +"status": { +"description": "This is an optional property.", +"type": "string" +}, +"subscriptionId": { +"description": "The `subscriptionId` is the subscription identifier and is unique for each customer. This is a required property. Since a `subscriptionId` changes when a subscription is updated, we recommend not using this ID as a key for persistent data. Use the `subscriptionId` as described in retrieve all reseller subscriptions.", +"type": "string" +}, +"suspensionReasons": { +"description": "Read-only field containing an enumerable of all the current suspension reasons for a subscription. It is possible for a subscription to have many concurrent, overlapping suspension reasons. A subscription's `STATUS` is `SUSPENDED` until all pending suspensions are removed. Possible options include: - `PENDING_TOS_ACCEPTANCE` - The customer has not logged in and accepted the G Suite Resold Terms of Services. - `RENEWAL_WITH_TYPE_CANCEL` - The customer's commitment ended and their service was cancelled at the end of their term. - `RESELLER_INITIATED` - A manual suspension invoked by a Reseller. - `TRIAL_ENDED` - The customer's trial expired without a plan selected. - `OTHER` - The customer is suspended for an internal Google reason (e.g. abuse or otherwise). ", +"items": { +"type": "string" +}, +"type": "array" +}, +"transferInfo": { +"description": "Read-only transfer related information for the subscription. For more information, see retrieve transferable subscriptions for a customer.", +"properties": { +"currentLegacySkuId": { +"description": "The `skuId` of the current resold subscription. This is populated only when the customer has a subscription with a legacy SKU and the subscription resource is populated with the `skuId` of the SKU recommended for the transfer.", +"type": "string" +}, +"minimumTransferableSeats": { +"description": "When inserting a subscription, this is the minimum number of seats listed in the transfer order for this product. For example, if the customer has 20 users, the reseller cannot place a transfer order of 15 seats. The minimum is 20 seats.", +"format": "int32", +"type": "integer" +}, +"transferabilityExpirationTime": { +"description": "The time when transfer token or intent to transfer will expire. The time is in milliseconds using UNIX Epoch format.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"trialSettings": { +"description": "The G Suite annual commitment and flexible payment plans can be in a 30-day free trial. For more information, see the API concepts.", +"properties": { +"isInTrial": { +"description": "Determines if a subscription's plan is in a 30-day free trial or not: - `true` \u2014 The plan is in trial. - `false` \u2014 The plan is not in trial. ", +"type": "boolean" +}, +"trialEndTime": { +"description": "Date when the trial ends. The value is in milliseconds using the UNIX Epoch format. See an example Epoch converter.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +} +}, +"type": "object" +}, +"Subscriptions": { +"description": "A subscription manages the relationship of a Google customer's payment plan with a product's SKU, user licenses, 30-day free trial status, and renewal options. A primary role of a reseller is to manage the Google customer's subscriptions.", +"id": "Subscriptions", +"properties": { +"kind": { +"default": "reseller#subscriptions", +"description": "Identifies the resource as a collection of subscriptions. Value: reseller#subscriptions", +"type": "string" +}, +"nextPageToken": { +"description": "The continuation token, used to page through large result sets. Provide this value in a subsequent request to return the next page of results.", +"type": "string" +}, +"subscriptions": { +"description": "The subscriptions in this page of results.", +"items": { +"$ref": "Subscription" +}, +"type": "array" +} +}, +"type": "object" +} +}, +"servicePath": "", +"title": "Google Workspace Reseller API", +"version": "v1" +} \ No newline at end of file diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/retail.v2beta.json b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/retail.v2beta.json new file mode 100644 index 0000000000000000000000000000000000000000..90b07917b349e41f0aad3b212bcd94bca7530c92 --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/retail.v2beta.json @@ -0,0 +1,8805 @@ +{ +"auth": { +"oauth2": { +"scopes": { +"https://www.googleapis.com/auth/cloud-platform": { +"description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." +} +} +} +}, +"basePath": "", +"baseUrl": "https://retail.googleapis.com/", +"batchPath": "batch", +"canonicalName": "Cloud Retail", +"description": "Vertex AI Search for commerce API is made up of Retail Search, Browse and Recommendations. These discovery AI solutions help you implement personalized search, browse and recommendations, based on machine learning models, across your websites and mobile applications.", +"discoveryVersion": "v1", +"documentationLink": "https://cloud.google.com/recommendations", +"fullyEncodeReservedExpansion": true, +"icons": { +"x16": "http://www.google.com/images/icons/product/search-16.gif", +"x32": "http://www.google.com/images/icons/product/search-32.gif" +}, +"id": "retail:v2beta", +"kind": "discovery#restDescription", +"mtlsRootUrl": "https://retail.mtls.googleapis.com/", +"name": "retail", +"ownerDomain": "google.com", +"ownerName": "Google", +"parameters": { +"$.xgafv": { +"description": "V1 error format.", +"enum": [ +"1", +"2" +], +"enumDescriptions": [ +"v1 error format", +"v2 error format" +], +"location": "query", +"type": "string" +}, +"access_token": { +"description": "OAuth access token.", +"location": "query", +"type": "string" +}, +"alt": { +"default": "json", +"description": "Data format for response.", +"enum": [ +"json", +"media", +"proto" +], +"enumDescriptions": [ +"Responses with Content-Type of application/json", +"Media download with context-dependent Content-Type", +"Responses with Content-Type of application/x-protobuf" +], +"location": "query", +"type": "string" +}, +"callback": { +"description": "JSONP", +"location": "query", +"type": "string" +}, +"fields": { +"description": "Selector specifying which fields to include in a partial response.", +"location": "query", +"type": "string" +}, +"key": { +"description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", +"location": "query", +"type": "string" +}, +"oauth_token": { +"description": "OAuth 2.0 token for the current user.", +"location": "query", +"type": "string" +}, +"prettyPrint": { +"default": "true", +"description": "Returns response with indentations and line breaks.", +"location": "query", +"type": "boolean" +}, +"quotaUser": { +"description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.", +"location": "query", +"type": "string" +}, +"uploadType": { +"description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", +"location": "query", +"type": "string" +}, +"upload_protocol": { +"description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", +"location": "query", +"type": "string" +} +}, +"protocol": "rest", +"resources": { +"projects": { +"methods": { +"getAlertConfig": { +"description": "Get the AlertConfig of the requested project.", +"flatPath": "v2beta/projects/{projectsId}/alertConfig", +"httpMethod": "GET", +"id": "retail.projects.getAlertConfig", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Full AlertConfig resource name. Format: projects/{project_number}/alertConfig", +"location": "path", +"pattern": "^projects/[^/]+/alertConfig$", +"required": true, +"type": "string" +} +}, +"path": "v2beta/{+name}", +"response": { +"$ref": "GoogleCloudRetailV2betaAlertConfig" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"updateAlertConfig": { +"description": "Update the alert config of the requested project.", +"flatPath": "v2beta/projects/{projectsId}/alertConfig", +"httpMethod": "PATCH", +"id": "retail.projects.updateAlertConfig", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Immutable. The name of the AlertConfig singleton resource. Format: projects/*/alertConfig", +"location": "path", +"pattern": "^projects/[^/]+/alertConfig$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Indicates which fields in the provided AlertConfig to update. If not set, all supported fields are updated.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v2beta/{+name}", +"request": { +"$ref": "GoogleCloudRetailV2betaAlertConfig" +}, +"response": { +"$ref": "GoogleCloudRetailV2betaAlertConfig" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"locations": { +"resources": { +"catalogs": { +"methods": { +"completeQuery": { +"description": "Completes the specified prefix with keyword suggestions. This feature is only available for users who have Retail Search enabled. Enable Retail Search on Cloud Console before using this feature.", +"flatPath": "v2beta/projects/{projectsId}/locations/{locationsId}/catalogs/{catalogsId}:completeQuery", +"httpMethod": "GET", +"id": "retail.projects.locations.catalogs.completeQuery", +"parameterOrder": [ +"catalog" +], +"parameters": { +"catalog": { +"description": "Required. Catalog for which the completion is performed. Full resource name of catalog, such as `projects/*/locations/global/catalogs/default_catalog`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/catalogs/[^/]+$", +"required": true, +"type": "string" +}, +"dataset": { +"description": "Determines which dataset to use for fetching completion. \"user-data\" will use the dataset imported through CompletionService.ImportCompletionData. `cloud-retail` will use the dataset generated by Cloud Retail based on user events. If left empty, completions will be fetched from the `user-data` dataset. Current supported values: * user-data * cloud-retail: This option requires enabling auto-learning function first. See [guidelines](https://cloud.google.com/retail/docs/completion-overview#generated-completion-dataset).", +"location": "query", +"type": "string" +}, +"deviceType": { +"description": "The device type context for completion suggestions. We recommend that you leave this field empty. It can apply different suggestions on different device types, e.g. `DESKTOP`, `MOBILE`. If it is empty, the suggestions are across all device types. Supported formats: * `UNKNOWN_DEVICE_TYPE` * `DESKTOP` * `MOBILE` * A customized string starts with `OTHER_`, e.g. `OTHER_IPHONE`.", +"location": "query", +"type": "string" +}, +"enableAttributeSuggestions": { +"description": "If true, attribute suggestions are enabled and provided in the response. This field is only available for the `cloud-retail` dataset.", +"location": "query", +"type": "boolean" +}, +"entity": { +"description": "The entity for customers who run multiple entities, domains, sites, or regions, for example, `Google US`, `Google Ads`, `Waymo`, `google.com`, `youtube.com`, etc. If this is set, it must be an exact match with UserEvent.entity to get per-entity autocomplete results. This field will be applied to `completion_results` only. It has no effect on the `attribute_results`. Also, this entity should be limited to 256 characters, if too long, it will be truncated to 256 characters in both generation and serving time, and may lead to mis-match. To ensure it works, please set the entity with string within 256 characters.", +"location": "query", +"type": "string" +}, +"languageCodes": { +"description": "Note that this field applies for `user-data` dataset only. For requests with `cloud-retail` dataset, setting this field has no effect. The language filters applied to the output suggestions. If set, it should contain the language of the query. If not set, suggestions are returned without considering language restrictions. This is the BCP-47 language code, such as \"en-US\" or \"sr-Latn\". For more information, see [Tags for Identifying Languages](https://tools.ietf.org/html/bcp47). The maximum number of language codes is 3.", +"location": "query", +"repeated": true, +"type": "string" +}, +"maxSuggestions": { +"description": "Completion max suggestions. If left unset or set to 0, then will fallback to the configured value CompletionConfig.max_suggestions. The maximum allowed max suggestions is 20. If it is set higher, it will be capped by 20.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"query": { +"description": "Required. The query used to generate suggestions. The maximum number of allowed characters is 255.", +"location": "query", +"type": "string" +}, +"visitorId": { +"description": "Recommended field. A unique identifier for tracking visitors. For example, this could be implemented with an HTTP cookie, which should be able to uniquely identify a visitor on a single device. This unique identifier should not change if the visitor logs in or out of the website. The field must be a UTF-8 encoded string with a length limit of 128 characters. Otherwise, an INVALID_ARGUMENT error is returned.", +"location": "query", +"type": "string" +} +}, +"path": "v2beta/{+catalog}:completeQuery", +"response": { +"$ref": "GoogleCloudRetailV2betaCompleteQueryResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"exportAnalyticsMetrics": { +"description": "Exports analytics metrics. `Operation.response` is of type `ExportAnalyticsMetricsResponse`. `Operation.metadata` is of type `ExportMetadata`.", +"flatPath": "v2beta/projects/{projectsId}/locations/{locationsId}/catalogs/{catalogsId}:exportAnalyticsMetrics", +"httpMethod": "POST", +"id": "retail.projects.locations.catalogs.exportAnalyticsMetrics", +"parameterOrder": [ +"catalog" +], +"parameters": { +"catalog": { +"description": "Required. Full resource name of the parent catalog. Expected format: `projects/*/locations/*/catalogs/*`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/catalogs/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2beta/{+catalog}:exportAnalyticsMetrics", +"request": { +"$ref": "GoogleCloudRetailV2betaExportAnalyticsMetricsRequest" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"getAttributesConfig": { +"description": "Gets an AttributesConfig.", +"flatPath": "v2beta/projects/{projectsId}/locations/{locationsId}/catalogs/{catalogsId}/attributesConfig", +"httpMethod": "GET", +"id": "retail.projects.locations.catalogs.getAttributesConfig", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Full AttributesConfig resource name. Format: `projects/{project_number}/locations/{location_id}/catalogs/{catalog_id}/attributesConfig`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/catalogs/[^/]+/attributesConfig$", +"required": true, +"type": "string" +} +}, +"path": "v2beta/{+name}", +"response": { +"$ref": "GoogleCloudRetailV2betaAttributesConfig" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"getCompletionConfig": { +"description": "Gets a CompletionConfig.", +"flatPath": "v2beta/projects/{projectsId}/locations/{locationsId}/catalogs/{catalogsId}/completionConfig", +"httpMethod": "GET", +"id": "retail.projects.locations.catalogs.getCompletionConfig", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Full CompletionConfig resource name. Format: `projects/{project_number}/locations/{location_id}/catalogs/{catalog_id}/completionConfig`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/catalogs/[^/]+/completionConfig$", +"required": true, +"type": "string" +} +}, +"path": "v2beta/{+name}", +"response": { +"$ref": "GoogleCloudRetailV2betaCompletionConfig" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"getConversationalSearchCustomizationConfig": { +"description": "Returns the conversational search customization config for a given catalog.", +"flatPath": "v2beta/projects/{projectsId}/locations/{locationsId}/catalogs/{catalogsId}/conversationalSearchCustomizationConfig", +"httpMethod": "GET", +"id": "retail.projects.locations.catalogs.getConversationalSearchCustomizationConfig", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Resource name of the parent catalog. Format: projects/{project}/locations/{location}/catalogs/{catalog}", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/catalogs/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2beta/{+name}/conversationalSearchCustomizationConfig", +"response": { +"$ref": "GoogleCloudRetailV2betaConversationalSearchCustomizationConfig" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"getDefaultBranch": { +"description": "Get which branch is currently default branch set by CatalogService.SetDefaultBranch method under a specified parent catalog.", +"flatPath": "v2beta/projects/{projectsId}/locations/{locationsId}/catalogs/{catalogsId}:getDefaultBranch", +"httpMethod": "GET", +"id": "retail.projects.locations.catalogs.getDefaultBranch", +"parameterOrder": [ +"catalog" +], +"parameters": { +"catalog": { +"description": "The parent catalog resource name, such as `projects/*/locations/global/catalogs/default_catalog`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/catalogs/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2beta/{+catalog}:getDefaultBranch", +"response": { +"$ref": "GoogleCloudRetailV2betaGetDefaultBranchResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"getGenerativeQuestionFeature": { +"description": "Manages overal generative question feature state -- enables toggling feature on and off.", +"flatPath": "v2beta/projects/{projectsId}/locations/{locationsId}/catalogs/{catalogsId}/generativeQuestionFeature", +"httpMethod": "GET", +"id": "retail.projects.locations.catalogs.getGenerativeQuestionFeature", +"parameterOrder": [ +"catalog" +], +"parameters": { +"catalog": { +"description": "Required. Resource name of the parent catalog. Format: projects/{project}/locations/{location}/catalogs/{catalog}", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/catalogs/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2beta/{+catalog}/generativeQuestionFeature", +"response": { +"$ref": "GoogleCloudRetailV2betaGenerativeQuestionsFeatureConfig" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists all the Catalogs associated with the project.", +"flatPath": "v2beta/projects/{projectsId}/locations/{locationsId}/catalogs", +"httpMethod": "GET", +"id": "retail.projects.locations.catalogs.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "Maximum number of Catalogs to return. If unspecified, defaults to 50. The maximum allowed value is 1000. Values above 1000 will be coerced to 1000. If this field is negative, an INVALID_ARGUMENT is returned.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A page token ListCatalogsResponse.next_page_token, received from a previous CatalogService.ListCatalogs call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to CatalogService.ListCatalogs must match the call that provided the page token. Otherwise, an INVALID_ARGUMENT error is returned.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The account resource name with an associated location. If the caller does not have permission to list Catalogs under this location, regardless of whether or not this location exists, a PERMISSION_DENIED error is returned.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2beta/{+parent}/catalogs", +"response": { +"$ref": "GoogleCloudRetailV2betaListCatalogsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates the Catalogs.", +"flatPath": "v2beta/projects/{projectsId}/locations/{locationsId}/catalogs/{catalogsId}", +"httpMethod": "PATCH", +"id": "retail.projects.locations.catalogs.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Immutable. The fully qualified resource name of the catalog.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/catalogs/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Indicates which fields in the provided Catalog to update. If an unsupported or unknown field is provided, an INVALID_ARGUMENT error is returned.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v2beta/{+name}", +"request": { +"$ref": "GoogleCloudRetailV2betaCatalog" +}, +"response": { +"$ref": "GoogleCloudRetailV2betaCatalog" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"setDefaultBranch": { +"description": "Set a specified branch id as default branch. API methods such as SearchService.Search, ProductService.GetProduct, ProductService.ListProducts will treat requests using \"default_branch\" to the actual branch id set as default. For example, if `projects/*/locations/*/catalogs/*/branches/1` is set as default, setting SearchRequest.branch to `projects/*/locations/*/catalogs/*/branches/default_branch` is equivalent to setting SearchRequest.branch to `projects/*/locations/*/catalogs/*/branches/1`. Using multiple branches can be useful when developers would like to have a staging branch to test and verify for future usage. When it becomes ready, developers switch on the staging branch using this API while keeping using `projects/*/locations/*/catalogs/*/branches/default_branch` as SearchRequest.branch to route the traffic to this staging branch. CAUTION: If you have live predict/search traffic, switching the default branch could potentially cause outages if the ID space of the new branch is very different from the old one. More specifically: * PredictionService will only return product IDs from branch {newBranch}. * SearchService will only return product IDs from branch {newBranch} (if branch is not explicitly set). * UserEventService will only join events with products from branch {newBranch}.", +"flatPath": "v2beta/projects/{projectsId}/locations/{locationsId}/catalogs/{catalogsId}:setDefaultBranch", +"httpMethod": "POST", +"id": "retail.projects.locations.catalogs.setDefaultBranch", +"parameterOrder": [ +"catalog" +], +"parameters": { +"catalog": { +"description": "Full resource name of the catalog, such as `projects/*/locations/global/catalogs/default_catalog`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/catalogs/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2beta/{+catalog}:setDefaultBranch", +"request": { +"$ref": "GoogleCloudRetailV2betaSetDefaultBranchRequest" +}, +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"updateAttributesConfig": { +"description": "Updates the AttributesConfig. The catalog attributes in the request will be updated in the catalog, or inserted if they do not exist. Existing catalog attributes not included in the request will remain unchanged. Attributes that are assigned to products, but do not exist at the catalog level, are always included in the response. The product attribute is assigned default values for missing catalog attribute fields, e.g., searchable and dynamic facetable options.", +"flatPath": "v2beta/projects/{projectsId}/locations/{locationsId}/catalogs/{catalogsId}/attributesConfig", +"httpMethod": "PATCH", +"id": "retail.projects.locations.catalogs.updateAttributesConfig", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Immutable. The fully qualified resource name of the attribute config. Format: `projects/*/locations/*/catalogs/*/attributesConfig`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/catalogs/[^/]+/attributesConfig$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Indicates which fields in the provided AttributesConfig to update. The following is the only supported field: * AttributesConfig.catalog_attributes If not set, all supported fields are updated.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v2beta/{+name}", +"request": { +"$ref": "GoogleCloudRetailV2betaAttributesConfig" +}, +"response": { +"$ref": "GoogleCloudRetailV2betaAttributesConfig" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"updateCompletionConfig": { +"description": "Updates the CompletionConfigs.", +"flatPath": "v2beta/projects/{projectsId}/locations/{locationsId}/catalogs/{catalogsId}/completionConfig", +"httpMethod": "PATCH", +"id": "retail.projects.locations.catalogs.updateCompletionConfig", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Immutable. Fully qualified name `projects/*/locations/*/catalogs/*/completionConfig`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/catalogs/[^/]+/completionConfig$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Indicates which fields in the provided CompletionConfig to update. The following are the only supported fields: * CompletionConfig.matching_order * CompletionConfig.max_suggestions * CompletionConfig.min_prefix_length * CompletionConfig.auto_learning If not set, all supported fields are updated.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v2beta/{+name}", +"request": { +"$ref": "GoogleCloudRetailV2betaCompletionConfig" +}, +"response": { +"$ref": "GoogleCloudRetailV2betaCompletionConfig" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"updateConversationalSearchCustomizationConfig": { +"description": "Updates the conversational search customization config for a given catalog.", +"flatPath": "v2beta/projects/{projectsId}/locations/{locationsId}/catalogs/{catalogsId}/conversationalSearchCustomizationConfig", +"httpMethod": "PATCH", +"id": "retail.projects.locations.catalogs.updateConversationalSearchCustomizationConfig", +"parameterOrder": [ +"catalog" +], +"parameters": { +"catalog": { +"description": "Required. Resource name of the catalog. Format: projects/{project}/locations/{location}/catalogs/{catalog}", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/catalogs/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Optional. Indicates which fields in the provided ConversationalSearchCustomizationConfig to update. If not set or empty, all supported fields are updated.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v2beta/{+catalog}/conversationalSearchCustomizationConfig", +"request": { +"$ref": "GoogleCloudRetailV2betaConversationalSearchCustomizationConfig" +}, +"response": { +"$ref": "GoogleCloudRetailV2betaConversationalSearchCustomizationConfig" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"updateGenerativeQuestion": { +"description": "Allows management of individual questions.", +"flatPath": "v2beta/projects/{projectsId}/locations/{locationsId}/catalogs/{catalogsId}/generativeQuestion", +"httpMethod": "PATCH", +"id": "retail.projects.locations.catalogs.updateGenerativeQuestion", +"parameterOrder": [ +"catalog" +], +"parameters": { +"catalog": { +"description": "Required. Resource name of the catalog. Format: projects/{project}/locations/{location}/catalogs/{catalog}", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/catalogs/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Optional. Indicates which fields in the provided GenerativeQuestionConfig to update. The following are NOT supported: * GenerativeQuestionConfig.frequency If not set or empty, all supported fields are updated.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v2beta/{+catalog}/generativeQuestion", +"request": { +"$ref": "GoogleCloudRetailV2betaGenerativeQuestionConfig" +}, +"response": { +"$ref": "GoogleCloudRetailV2betaGenerativeQuestionConfig" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"updateGenerativeQuestionFeature": { +"description": "Manages overal generative question feature state -- enables toggling feature on and off.", +"flatPath": "v2beta/projects/{projectsId}/locations/{locationsId}/catalogs/{catalogsId}/generativeQuestionFeature", +"httpMethod": "PATCH", +"id": "retail.projects.locations.catalogs.updateGenerativeQuestionFeature", +"parameterOrder": [ +"catalog" +], +"parameters": { +"catalog": { +"description": "Required. Resource name of the affected catalog. Format: projects/{project}/locations/{location}/catalogs/{catalog}", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/catalogs/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Optional. Indicates which fields in the provided GenerativeQuestionsFeatureConfig to update. If not set or empty, all supported fields are updated.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v2beta/{+catalog}/generativeQuestionFeature", +"request": { +"$ref": "GoogleCloudRetailV2betaGenerativeQuestionsFeatureConfig" +}, +"response": { +"$ref": "GoogleCloudRetailV2betaGenerativeQuestionsFeatureConfig" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"attributesConfig": { +"methods": { +"addCatalogAttribute": { +"description": "Adds the specified CatalogAttribute to the AttributesConfig. If the CatalogAttribute to add already exists, an ALREADY_EXISTS error is returned.", +"flatPath": "v2beta/projects/{projectsId}/locations/{locationsId}/catalogs/{catalogsId}/attributesConfig:addCatalogAttribute", +"httpMethod": "POST", +"id": "retail.projects.locations.catalogs.attributesConfig.addCatalogAttribute", +"parameterOrder": [ +"attributesConfig" +], +"parameters": { +"attributesConfig": { +"description": "Required. Full AttributesConfig resource name. Format: `projects/{project_number}/locations/{location_id}/catalogs/{catalog_id}/attributesConfig`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/catalogs/[^/]+/attributesConfig$", +"required": true, +"type": "string" +} +}, +"path": "v2beta/{+attributesConfig}:addCatalogAttribute", +"request": { +"$ref": "GoogleCloudRetailV2betaAddCatalogAttributeRequest" +}, +"response": { +"$ref": "GoogleCloudRetailV2betaAttributesConfig" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"batchRemoveCatalogAttributes": { +"description": "Removes all specified CatalogAttributes from the AttributesConfig.", +"flatPath": "v2beta/projects/{projectsId}/locations/{locationsId}/catalogs/{catalogsId}/attributesConfig:batchRemoveCatalogAttributes", +"httpMethod": "POST", +"id": "retail.projects.locations.catalogs.attributesConfig.batchRemoveCatalogAttributes", +"parameterOrder": [ +"attributesConfig" +], +"parameters": { +"attributesConfig": { +"description": "Required. The attributes config resource shared by all catalog attributes being deleted. Format: `projects/{project_number}/locations/{location_id}/catalogs/{catalog_id}/attributesConfig`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/catalogs/[^/]+/attributesConfig$", +"required": true, +"type": "string" +} +}, +"path": "v2beta/{+attributesConfig}:batchRemoveCatalogAttributes", +"request": { +"$ref": "GoogleCloudRetailV2betaBatchRemoveCatalogAttributesRequest" +}, +"response": { +"$ref": "GoogleCloudRetailV2betaBatchRemoveCatalogAttributesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"removeCatalogAttribute": { +"description": "Removes the specified CatalogAttribute from the AttributesConfig. If the CatalogAttribute to remove does not exist, a NOT_FOUND error is returned.", +"flatPath": "v2beta/projects/{projectsId}/locations/{locationsId}/catalogs/{catalogsId}/attributesConfig:removeCatalogAttribute", +"httpMethod": "POST", +"id": "retail.projects.locations.catalogs.attributesConfig.removeCatalogAttribute", +"parameterOrder": [ +"attributesConfig" +], +"parameters": { +"attributesConfig": { +"description": "Required. Full AttributesConfig resource name. Format: `projects/{project_number}/locations/{location_id}/catalogs/{catalog_id}/attributesConfig`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/catalogs/[^/]+/attributesConfig$", +"required": true, +"type": "string" +} +}, +"path": "v2beta/{+attributesConfig}:removeCatalogAttribute", +"request": { +"$ref": "GoogleCloudRetailV2betaRemoveCatalogAttributeRequest" +}, +"response": { +"$ref": "GoogleCloudRetailV2betaAttributesConfig" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"replaceCatalogAttribute": { +"description": "Replaces the specified CatalogAttribute in the AttributesConfig by updating the catalog attribute with the same CatalogAttribute.key. If the CatalogAttribute to replace does not exist, a NOT_FOUND error is returned.", +"flatPath": "v2beta/projects/{projectsId}/locations/{locationsId}/catalogs/{catalogsId}/attributesConfig:replaceCatalogAttribute", +"httpMethod": "POST", +"id": "retail.projects.locations.catalogs.attributesConfig.replaceCatalogAttribute", +"parameterOrder": [ +"attributesConfig" +], +"parameters": { +"attributesConfig": { +"description": "Required. Full AttributesConfig resource name. Format: `projects/{project_number}/locations/{location_id}/catalogs/{catalog_id}/attributesConfig`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/catalogs/[^/]+/attributesConfig$", +"required": true, +"type": "string" +} +}, +"path": "v2beta/{+attributesConfig}:replaceCatalogAttribute", +"request": { +"$ref": "GoogleCloudRetailV2betaReplaceCatalogAttributeRequest" +}, +"response": { +"$ref": "GoogleCloudRetailV2betaAttributesConfig" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"branches": { +"resources": { +"operations": { +"methods": { +"get": { +"description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", +"flatPath": "v2beta/projects/{projectsId}/locations/{locationsId}/catalogs/{catalogsId}/branches/{branchesId}/operations/{operationsId}", +"httpMethod": "GET", +"id": "retail.projects.locations.catalogs.branches.operations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/catalogs/[^/]+/branches/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2beta/{+name}", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"products": { +"methods": { +"addFulfillmentPlaces": { +"description": "We recommend that you use the ProductService.AddLocalInventories method instead of the ProductService.AddFulfillmentPlaces method. ProductService.AddLocalInventories achieves the same results but provides more fine-grained control over ingesting local inventory data. Incrementally adds place IDs to Product.fulfillment_info.place_ids. This process is asynchronous and does not require the Product to exist before updating fulfillment information. If the request is valid, the update will be enqueued and processed downstream. As a consequence, when a response is returned, the added place IDs are not immediately manifested in the Product queried by ProductService.GetProduct or ProductService.ListProducts. The returned Operations will be obsolete after 1 day, and GetOperation API will return NOT_FOUND afterwards. If conflicting updates are issued, the Operations associated with the stale updates will not be marked as done until being obsolete.", +"flatPath": "v2beta/projects/{projectsId}/locations/{locationsId}/catalogs/{catalogsId}/branches/{branchesId}/products/{productsId}:addFulfillmentPlaces", +"httpMethod": "POST", +"id": "retail.projects.locations.catalogs.branches.products.addFulfillmentPlaces", +"parameterOrder": [ +"product" +], +"parameters": { +"product": { +"description": "Required. Full resource name of Product, such as `projects/*/locations/global/catalogs/default_catalog/branches/default_branch/products/some_product_id`. If the caller does not have permission to access the Product, regardless of whether or not it exists, a PERMISSION_DENIED error is returned.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/catalogs/[^/]+/branches/[^/]+/products/.*$", +"required": true, +"type": "string" +} +}, +"path": "v2beta/{+product}:addFulfillmentPlaces", +"request": { +"$ref": "GoogleCloudRetailV2betaAddFulfillmentPlacesRequest" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"addLocalInventories": { +"description": "Updates local inventory information for a Product at a list of places, while respecting the last update timestamps of each inventory field. This process is asynchronous and does not require the Product to exist before updating inventory information. If the request is valid, the update will be enqueued and processed downstream. As a consequence, when a response is returned, updates are not immediately manifested in the Product queried by ProductService.GetProduct or ProductService.ListProducts. Local inventory information can only be modified using this method. ProductService.CreateProduct and ProductService.UpdateProduct has no effect on local inventories. The returned Operations will be obsolete after 1 day, and GetOperation API will return NOT_FOUND afterwards. If conflicting updates are issued, the Operations associated with the stale updates will not be marked as done until being obsolete.", +"flatPath": "v2beta/projects/{projectsId}/locations/{locationsId}/catalogs/{catalogsId}/branches/{branchesId}/products/{productsId}:addLocalInventories", +"httpMethod": "POST", +"id": "retail.projects.locations.catalogs.branches.products.addLocalInventories", +"parameterOrder": [ +"product" +], +"parameters": { +"product": { +"description": "Required. Full resource name of Product, such as `projects/*/locations/global/catalogs/default_catalog/branches/default_branch/products/some_product_id`. If the caller does not have permission to access the Product, regardless of whether or not it exists, a PERMISSION_DENIED error is returned.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/catalogs/[^/]+/branches/[^/]+/products/.*$", +"required": true, +"type": "string" +} +}, +"path": "v2beta/{+product}:addLocalInventories", +"request": { +"$ref": "GoogleCloudRetailV2betaAddLocalInventoriesRequest" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"create": { +"description": "Creates a Product.", +"flatPath": "v2beta/projects/{projectsId}/locations/{locationsId}/catalogs/{catalogsId}/branches/{branchesId}/products", +"httpMethod": "POST", +"id": "retail.projects.locations.catalogs.branches.products.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The parent catalog resource name, such as `projects/*/locations/global/catalogs/default_catalog/branches/default_branch`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/catalogs/[^/]+/branches/[^/]+$", +"required": true, +"type": "string" +}, +"productId": { +"description": "Required. The ID to use for the Product, which will become the final component of the Product.name. If the caller does not have permission to create the Product, regardless of whether or not it exists, a PERMISSION_DENIED error is returned. This field must be unique among all Products with the same parent. Otherwise, an ALREADY_EXISTS error is returned. This field must be a UTF-8 encoded string with a length limit of 128 characters. Otherwise, an INVALID_ARGUMENT error is returned.", +"location": "query", +"type": "string" +} +}, +"path": "v2beta/{+parent}/products", +"request": { +"$ref": "GoogleCloudRetailV2betaProduct" +}, +"response": { +"$ref": "GoogleCloudRetailV2betaProduct" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a Product.", +"flatPath": "v2beta/projects/{projectsId}/locations/{locationsId}/catalogs/{catalogsId}/branches/{branchesId}/products/{productsId}", +"httpMethod": "DELETE", +"id": "retail.projects.locations.catalogs.branches.products.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Full resource name of Product, such as `projects/*/locations/global/catalogs/default_catalog/branches/default_branch/products/some_product_id`. If the caller does not have permission to delete the Product, regardless of whether or not it exists, a PERMISSION_DENIED error is returned. If the Product to delete does not exist, a NOT_FOUND error is returned. The Product to delete can neither be a Product.Type.COLLECTION Product member nor a Product.Type.PRIMARY Product with more than one variants. Otherwise, an INVALID_ARGUMENT error is returned. All inventory information for the named Product will be deleted.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/catalogs/[^/]+/branches/[^/]+/products/.*$", +"required": true, +"type": "string" +} +}, +"path": "v2beta/{+name}", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"export": { +"description": "Exports multiple Products.", +"flatPath": "v2beta/projects/{projectsId}/locations/{locationsId}/catalogs/{catalogsId}/branches/{branchesId}/products:export", +"httpMethod": "POST", +"id": "retail.projects.locations.catalogs.branches.products.export", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. Resource name of a Branch, and `default_branch` for branch_id component is supported. For example `projects/1234/locations/global/catalogs/default_catalog/branches/default_branch`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/catalogs/[^/]+/branches/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2beta/{+parent}/products:export", +"request": { +"$ref": "GoogleCloudRetailV2betaExportProductsRequest" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets a Product.", +"flatPath": "v2beta/projects/{projectsId}/locations/{locationsId}/catalogs/{catalogsId}/branches/{branchesId}/products/{productsId}", +"httpMethod": "GET", +"id": "retail.projects.locations.catalogs.branches.products.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Full resource name of Product, such as `projects/*/locations/global/catalogs/default_catalog/branches/default_branch/products/some_product_id`. If the caller does not have permission to access the Product, regardless of whether or not it exists, a PERMISSION_DENIED error is returned. If the requested Product does not exist, a NOT_FOUND error is returned.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/catalogs/[^/]+/branches/[^/]+/products/.*$", +"required": true, +"type": "string" +} +}, +"path": "v2beta/{+name}", +"response": { +"$ref": "GoogleCloudRetailV2betaProduct" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"import": { +"description": "Bulk import of multiple Products. Request processing may be synchronous. Non-existing items are created. Note that it is possible for a subset of the Products to be successfully updated.", +"flatPath": "v2beta/projects/{projectsId}/locations/{locationsId}/catalogs/{catalogsId}/branches/{branchesId}/products:import", +"httpMethod": "POST", +"id": "retail.projects.locations.catalogs.branches.products.import", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. `projects/1234/locations/global/catalogs/default_catalog/branches/default_branch` If no updateMask is specified, requires products.create permission. If updateMask is specified, requires products.update permission.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/catalogs/[^/]+/branches/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2beta/{+parent}/products:import", +"request": { +"$ref": "GoogleCloudRetailV2betaImportProductsRequest" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Gets a list of Products.", +"flatPath": "v2beta/projects/{projectsId}/locations/{locationsId}/catalogs/{catalogsId}/branches/{branchesId}/products", +"httpMethod": "GET", +"id": "retail.projects.locations.catalogs.branches.products.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "A filter to apply on the list results. Supported features: * List all the products under the parent branch if filter is unset. * List Product.Type.VARIANT Products sharing the same Product.Type.PRIMARY Product. For example: `primary_product_id = \"some_product_id\"` * List Products bundled in a Product.Type.COLLECTION Product. For example: `collection_product_id = \"some_product_id\"` * List Products with a partibular type. For example: `type = \"PRIMARY\"` `type = \"VARIANT\"` `type = \"COLLECTION\"` If the field is unrecognizable, an INVALID_ARGUMENT error is returned. If the specified Product.Type.PRIMARY Product or Product.Type.COLLECTION Product does not exist, a NOT_FOUND error is returned.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Maximum number of Products to return. If unspecified, defaults to 100. The maximum allowed value is 1000. Values above 1000 will be coerced to 1000. If this field is negative, an INVALID_ARGUMENT error is returned.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A page token ListProductsResponse.next_page_token, received from a previous ProductService.ListProducts call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to ProductService.ListProducts must match the call that provided the page token. Otherwise, an INVALID_ARGUMENT error is returned.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent branch resource name, such as `projects/*/locations/global/catalogs/default_catalog/branches/0`. Use `default_branch` as the branch ID, to list products under the default branch. If the caller does not have permission to list Products under this branch, regardless of whether or not this branch exists, a PERMISSION_DENIED error is returned.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/catalogs/[^/]+/branches/[^/]+$", +"required": true, +"type": "string" +}, +"readMask": { +"description": "The fields of Product to return in the responses. If not set or empty, the following fields are returned: * Product.name * Product.id * Product.title * Product.uri * Product.images * Product.price_info * Product.brands If \"*\" is provided, all fields are returned. Product.name is always returned no matter what mask is set. If an unsupported or unknown field is provided, an INVALID_ARGUMENT error is returned.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v2beta/{+parent}/products", +"response": { +"$ref": "GoogleCloudRetailV2betaListProductsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates a Product.", +"flatPath": "v2beta/projects/{projectsId}/locations/{locationsId}/catalogs/{catalogsId}/branches/{branchesId}/products/{productsId}", +"httpMethod": "PATCH", +"id": "retail.projects.locations.catalogs.branches.products.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"allowMissing": { +"description": "If set to true, and the Product is not found, a new Product will be created. In this situation, `update_mask` is ignored.", +"location": "query", +"type": "boolean" +}, +"name": { +"description": "Immutable. Full resource name of the product, such as `projects/*/locations/global/catalogs/default_catalog/branches/default_branch/products/product_id`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/catalogs/[^/]+/branches/[^/]+/products/.*$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Indicates which fields in the provided Product to update. The immutable and output only fields are NOT supported. If not set, all supported fields (the fields that are neither immutable nor output only) are updated. If an unsupported or unknown field is provided, an INVALID_ARGUMENT error is returned. The attribute key can be updated by setting the mask path as \"attributes.${key_name}\". If a key name is present in the mask but not in the patching product from the request, this key will be deleted after the update.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v2beta/{+name}", +"request": { +"$ref": "GoogleCloudRetailV2betaProduct" +}, +"response": { +"$ref": "GoogleCloudRetailV2betaProduct" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"purge": { +"description": "Permanently deletes all selected Products under a branch. This process is asynchronous. If the request is valid, the removal will be enqueued and processed offline. Depending on the number of Products, this operation could take hours to complete. Before the operation completes, some Products may still be returned by ProductService.GetProduct or ProductService.ListProducts. Depending on the number of Products, this operation could take hours to complete. To get a sample of Products that would be deleted, set PurgeProductsRequest.force to false.", +"flatPath": "v2beta/projects/{projectsId}/locations/{locationsId}/catalogs/{catalogsId}/branches/{branchesId}/products:purge", +"httpMethod": "POST", +"id": "retail.projects.locations.catalogs.branches.products.purge", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The resource name of the branch under which the products are created. The format is `projects/${projectId}/locations/global/catalogs/${catalogId}/branches/${branchId}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/catalogs/[^/]+/branches/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2beta/{+parent}/products:purge", +"request": { +"$ref": "GoogleCloudRetailV2betaPurgeProductsRequest" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"removeFulfillmentPlaces": { +"description": "We recommend that you use the ProductService.RemoveLocalInventories method instead of the ProductService.RemoveFulfillmentPlaces method. ProductService.RemoveLocalInventories achieves the same results but provides more fine-grained control over ingesting local inventory data. Incrementally removes place IDs from a Product.fulfillment_info.place_ids. This process is asynchronous and does not require the Product to exist before updating fulfillment information. If the request is valid, the update will be enqueued and processed downstream. As a consequence, when a response is returned, the removed place IDs are not immediately manifested in the Product queried by ProductService.GetProduct or ProductService.ListProducts. The returned Operations will be obsolete after 1 day, and GetOperation API will return NOT_FOUND afterwards. If conflicting updates are issued, the Operations associated with the stale updates will not be marked as done until being obsolete.", +"flatPath": "v2beta/projects/{projectsId}/locations/{locationsId}/catalogs/{catalogsId}/branches/{branchesId}/products/{productsId}:removeFulfillmentPlaces", +"httpMethod": "POST", +"id": "retail.projects.locations.catalogs.branches.products.removeFulfillmentPlaces", +"parameterOrder": [ +"product" +], +"parameters": { +"product": { +"description": "Required. Full resource name of Product, such as `projects/*/locations/global/catalogs/default_catalog/branches/default_branch/products/some_product_id`. If the caller does not have permission to access the Product, regardless of whether or not it exists, a PERMISSION_DENIED error is returned.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/catalogs/[^/]+/branches/[^/]+/products/.*$", +"required": true, +"type": "string" +} +}, +"path": "v2beta/{+product}:removeFulfillmentPlaces", +"request": { +"$ref": "GoogleCloudRetailV2betaRemoveFulfillmentPlacesRequest" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"removeLocalInventories": { +"description": "Remove local inventory information for a Product at a list of places at a removal timestamp. This process is asynchronous. If the request is valid, the removal will be enqueued and processed downstream. As a consequence, when a response is returned, removals are not immediately manifested in the Product queried by ProductService.GetProduct or ProductService.ListProducts. Local inventory information can only be removed using this method. ProductService.CreateProduct and ProductService.UpdateProduct has no effect on local inventories. The returned Operations will be obsolete after 1 day, and GetOperation API will return NOT_FOUND afterwards. If conflicting updates are issued, the Operations associated with the stale updates will not be marked as done until being obsolete.", +"flatPath": "v2beta/projects/{projectsId}/locations/{locationsId}/catalogs/{catalogsId}/branches/{branchesId}/products/{productsId}:removeLocalInventories", +"httpMethod": "POST", +"id": "retail.projects.locations.catalogs.branches.products.removeLocalInventories", +"parameterOrder": [ +"product" +], +"parameters": { +"product": { +"description": "Required. Full resource name of Product, such as `projects/*/locations/global/catalogs/default_catalog/branches/default_branch/products/some_product_id`. If the caller does not have permission to access the Product, regardless of whether or not it exists, a PERMISSION_DENIED error is returned.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/catalogs/[^/]+/branches/[^/]+/products/.*$", +"required": true, +"type": "string" +} +}, +"path": "v2beta/{+product}:removeLocalInventories", +"request": { +"$ref": "GoogleCloudRetailV2betaRemoveLocalInventoriesRequest" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"setInventory": { +"description": "Updates inventory information for a Product while respecting the last update timestamps of each inventory field. This process is asynchronous and does not require the Product to exist before updating fulfillment information. If the request is valid, the update is enqueued and processed downstream. As a consequence, when a response is returned, updates are not immediately manifested in the Product queried by ProductService.GetProduct or ProductService.ListProducts. When inventory is updated with ProductService.CreateProduct and ProductService.UpdateProduct, the specified inventory field value(s) overwrite any existing value(s) while ignoring the last update time for this field. Furthermore, the last update times for the specified inventory fields are overwritten by the times of the ProductService.CreateProduct or ProductService.UpdateProduct request. If no inventory fields are set in CreateProductRequest.product, then any pre-existing inventory information for this product is used. If no inventory fields are set in SetInventoryRequest.set_mask, then any existing inventory information is preserved. Pre-existing inventory information can only be updated with ProductService.SetInventory, ProductService.AddFulfillmentPlaces, and ProductService.RemoveFulfillmentPlaces. The returned Operations is obsolete after one day, and the GetOperation API returns `NOT_FOUND` afterwards. If conflicting updates are issued, the Operations associated with the stale updates are not marked as done until they are obsolete.", +"flatPath": "v2beta/projects/{projectsId}/locations/{locationsId}/catalogs/{catalogsId}/branches/{branchesId}/products/{productsId}:setInventory", +"httpMethod": "POST", +"id": "retail.projects.locations.catalogs.branches.products.setInventory", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Immutable. Full resource name of the product, such as `projects/*/locations/global/catalogs/default_catalog/branches/default_branch/products/product_id`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/catalogs/[^/]+/branches/[^/]+/products/.*$", +"required": true, +"type": "string" +} +}, +"path": "v2beta/{+name}:setInventory", +"request": { +"$ref": "GoogleCloudRetailV2betaSetInventoryRequest" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +}, +"completionData": { +"methods": { +"import": { +"description": "Bulk import of processed completion dataset. Request processing is asynchronous. Partial updating is not supported. The operation is successfully finished only after the imported suggestions are indexed successfully and ready for serving. The process takes hours. This feature is only available for users who have Retail Search enabled. Enable Retail Search on Cloud Console before using this feature.", +"flatPath": "v2beta/projects/{projectsId}/locations/{locationsId}/catalogs/{catalogsId}/completionData:import", +"httpMethod": "POST", +"id": "retail.projects.locations.catalogs.completionData.import", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The catalog which the suggestions dataset belongs to. Format: `projects/1234/locations/global/catalogs/default_catalog`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/catalogs/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2beta/{+parent}/completionData:import", +"request": { +"$ref": "GoogleCloudRetailV2betaImportCompletionDataRequest" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"controls": { +"methods": { +"create": { +"description": "Creates a Control. If the Control to create already exists, an ALREADY_EXISTS error is returned.", +"flatPath": "v2beta/projects/{projectsId}/locations/{locationsId}/catalogs/{catalogsId}/controls", +"httpMethod": "POST", +"id": "retail.projects.locations.catalogs.controls.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"controlId": { +"description": "Required. The ID to use for the Control, which will become the final component of the Control's resource name. This value should be 4-63 characters, and valid characters are /a-z-_/.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. Full resource name of parent catalog. Format: `projects/{project_number}/locations/{location_id}/catalogs/{catalog_id}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/catalogs/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2beta/{+parent}/controls", +"request": { +"$ref": "GoogleCloudRetailV2betaControl" +}, +"response": { +"$ref": "GoogleCloudRetailV2betaControl" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a Control. If the Control to delete does not exist, a NOT_FOUND error is returned.", +"flatPath": "v2beta/projects/{projectsId}/locations/{locationsId}/catalogs/{catalogsId}/controls/{controlsId}", +"httpMethod": "DELETE", +"id": "retail.projects.locations.catalogs.controls.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the Control to delete. Format: `projects/{project_number}/locations/{location_id}/catalogs/{catalog_id}/controls/{control_id}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/catalogs/[^/]+/controls/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2beta/{+name}", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets a Control.", +"flatPath": "v2beta/projects/{projectsId}/locations/{locationsId}/catalogs/{catalogsId}/controls/{controlsId}", +"httpMethod": "GET", +"id": "retail.projects.locations.catalogs.controls.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the Control to get. Format: `projects/{project_number}/locations/{location_id}/catalogs/{catalog_id}/controls/{control_id}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/catalogs/[^/]+/controls/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2beta/{+name}", +"response": { +"$ref": "GoogleCloudRetailV2betaControl" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists all Controls by their parent Catalog.", +"flatPath": "v2beta/projects/{projectsId}/locations/{locationsId}/catalogs/{catalogsId}/controls", +"httpMethod": "GET", +"id": "retail.projects.locations.catalogs.controls.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Optional. A filter to apply on the list results. Supported features: * List all the products under the parent branch if filter is unset. * List controls that are used in a single ServingConfig: 'serving_config = \"boosted_home_page_cvr\"'", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Optional. Maximum number of results to return. If unspecified, defaults to 50. Max allowed value is 1000.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. A page token, received from a previous `ListControls` call. Provide this to retrieve the subsequent page.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The catalog resource name. Format: `projects/{project_number}/locations/{location_id}/catalogs/{catalog_id}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/catalogs/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2beta/{+parent}/controls", +"response": { +"$ref": "GoogleCloudRetailV2betaListControlsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates a Control. Control cannot be set to a different oneof field, if so an INVALID_ARGUMENT is returned. If the Control to update does not exist, a NOT_FOUND error is returned.", +"flatPath": "v2beta/projects/{projectsId}/locations/{locationsId}/catalogs/{catalogsId}/controls/{controlsId}", +"httpMethod": "PATCH", +"id": "retail.projects.locations.catalogs.controls.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Immutable. Fully qualified name `projects/*/locations/global/catalogs/*/controls/*`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/catalogs/[^/]+/controls/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Indicates which fields in the provided Control to update. The following are NOT supported: * Control.name If not set or empty, all supported fields are updated.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v2beta/{+name}", +"request": { +"$ref": "GoogleCloudRetailV2betaControl" +}, +"response": { +"$ref": "GoogleCloudRetailV2betaControl" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"generativeQuestion": { +"methods": { +"batchUpdate": { +"description": "Allows management of multiple questions.", +"flatPath": "v2beta/projects/{projectsId}/locations/{locationsId}/catalogs/{catalogsId}/generativeQuestion:batchUpdate", +"httpMethod": "POST", +"id": "retail.projects.locations.catalogs.generativeQuestion.batchUpdate", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Optional. Resource name of the parent catalog. Format: projects/{project}/locations/{location}/catalogs/{catalog}", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/catalogs/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2beta/{+parent}/generativeQuestion:batchUpdate", +"request": { +"$ref": "GoogleCloudRetailV2betaBatchUpdateGenerativeQuestionConfigsRequest" +}, +"response": { +"$ref": "GoogleCloudRetailV2betaBatchUpdateGenerativeQuestionConfigsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"generativeQuestions": { +"methods": { +"list": { +"description": "Returns all questions for a given catalog.", +"flatPath": "v2beta/projects/{projectsId}/locations/{locationsId}/catalogs/{catalogsId}/generativeQuestions", +"httpMethod": "GET", +"id": "retail.projects.locations.catalogs.generativeQuestions.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. Resource name of the parent catalog. Format: projects/{project}/locations/{location}/catalogs/{catalog}", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/catalogs/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2beta/{+parent}/generativeQuestions", +"response": { +"$ref": "GoogleCloudRetailV2betaListGenerativeQuestionConfigsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"models": { +"methods": { +"create": { +"description": "Creates a new model.", +"flatPath": "v2beta/projects/{projectsId}/locations/{locationsId}/catalogs/{catalogsId}/models", +"httpMethod": "POST", +"id": "retail.projects.locations.catalogs.models.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"dryRun": { +"description": "Optional. Whether to run a dry run to validate the request (without actually creating the model).", +"location": "query", +"type": "boolean" +}, +"parent": { +"description": "Required. The parent resource under which to create the model. Format: `projects/{project_number}/locations/{location_id}/catalogs/{catalog_id}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/catalogs/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2beta/{+parent}/models", +"request": { +"$ref": "GoogleCloudRetailV2betaModel" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes an existing model.", +"flatPath": "v2beta/projects/{projectsId}/locations/{locationsId}/catalogs/{catalogsId}/models/{modelsId}", +"httpMethod": "DELETE", +"id": "retail.projects.locations.catalogs.models.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the Model to delete. Format: `projects/{project_number}/locations/{location_id}/catalogs/{catalog_id}/models/{model_id}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/catalogs/[^/]+/models/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2beta/{+name}", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets a model.", +"flatPath": "v2beta/projects/{projectsId}/locations/{locationsId}/catalogs/{catalogsId}/models/{modelsId}", +"httpMethod": "GET", +"id": "retail.projects.locations.catalogs.models.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the Model to get. Format: `projects/{project_number}/locations/{location_id}/catalogs/{catalog}/models/{model_id}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/catalogs/[^/]+/models/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2beta/{+name}", +"response": { +"$ref": "GoogleCloudRetailV2betaModel" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists all the models linked to this event store.", +"flatPath": "v2beta/projects/{projectsId}/locations/{locationsId}/catalogs/{catalogsId}/models", +"httpMethod": "GET", +"id": "retail.projects.locations.catalogs.models.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "Optional. Maximum number of results to return. If unspecified, defaults to 50. Max allowed value is 1000.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. A page token, received from a previous `ListModels` call. Provide this to retrieve the subsequent page.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent for which to list models. Format: `projects/{project_number}/locations/{location_id}/catalogs/{catalog_id}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/catalogs/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2beta/{+parent}/models", +"response": { +"$ref": "GoogleCloudRetailV2betaListModelsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Update of model metadata. Only fields that currently can be updated are: `filtering_option` and `periodic_tuning_state`. If other values are provided, this API method ignores them.", +"flatPath": "v2beta/projects/{projectsId}/locations/{locationsId}/catalogs/{catalogsId}/models/{modelsId}", +"httpMethod": "PATCH", +"id": "retail.projects.locations.catalogs.models.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The fully qualified resource name of the model. Format: `projects/{project_number}/locations/{location_id}/catalogs/{catalog_id}/models/{model_id}` catalog_id has char limit of 50. recommendation_model_id has char limit of 40.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/catalogs/[^/]+/models/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Optional. Indicates which fields in the provided 'model' to update. If not set, by default updates all fields.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v2beta/{+name}", +"request": { +"$ref": "GoogleCloudRetailV2betaModel" +}, +"response": { +"$ref": "GoogleCloudRetailV2betaModel" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"pause": { +"description": "Pauses the training of an existing model.", +"flatPath": "v2beta/projects/{projectsId}/locations/{locationsId}/catalogs/{catalogsId}/models/{modelsId}:pause", +"httpMethod": "POST", +"id": "retail.projects.locations.catalogs.models.pause", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the model to pause. Format: `projects/{project_number}/locations/{location_id}/catalogs/{catalog_id}/models/{model_id}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/catalogs/[^/]+/models/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2beta/{+name}:pause", +"request": { +"$ref": "GoogleCloudRetailV2betaPauseModelRequest" +}, +"response": { +"$ref": "GoogleCloudRetailV2betaModel" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"resume": { +"description": "Resumes the training of an existing model.", +"flatPath": "v2beta/projects/{projectsId}/locations/{locationsId}/catalogs/{catalogsId}/models/{modelsId}:resume", +"httpMethod": "POST", +"id": "retail.projects.locations.catalogs.models.resume", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the model to resume. Format: `projects/{project_number}/locations/{location_id}/catalogs/{catalog_id}/models/{model_id}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/catalogs/[^/]+/models/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2beta/{+name}:resume", +"request": { +"$ref": "GoogleCloudRetailV2betaResumeModelRequest" +}, +"response": { +"$ref": "GoogleCloudRetailV2betaModel" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"tune": { +"description": "Tunes an existing model.", +"flatPath": "v2beta/projects/{projectsId}/locations/{locationsId}/catalogs/{catalogsId}/models/{modelsId}:tune", +"httpMethod": "POST", +"id": "retail.projects.locations.catalogs.models.tune", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the model to tune. Format: `projects/{project_number}/locations/{location_id}/catalogs/{catalog_id}/models/{model_id}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/catalogs/[^/]+/models/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2beta/{+name}:tune", +"request": { +"$ref": "GoogleCloudRetailV2betaTuneModelRequest" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"operations": { +"methods": { +"get": { +"description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", +"flatPath": "v2beta/projects/{projectsId}/locations/{locationsId}/catalogs/{catalogsId}/operations/{operationsId}", +"httpMethod": "GET", +"id": "retail.projects.locations.catalogs.operations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/catalogs/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2beta/{+name}", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.", +"flatPath": "v2beta/projects/{projectsId}/locations/{locationsId}/catalogs/{catalogsId}/operations", +"httpMethod": "GET", +"id": "retail.projects.locations.catalogs.operations.list", +"parameterOrder": [ +"name" +], +"parameters": { +"filter": { +"description": "The standard list filter.", +"location": "query", +"type": "string" +}, +"name": { +"description": "The name of the operation's parent resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/catalogs/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The standard list page size.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The standard list page token.", +"location": "query", +"type": "string" +}, +"returnPartialSuccess": { +"description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `\"projects/example/locations/-\"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", +"location": "query", +"type": "boolean" +} +}, +"path": "v2beta/{+name}/operations", +"response": { +"$ref": "GoogleLongrunningListOperationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"placements": { +"methods": { +"conversationalSearch": { +"description": "Performs a conversational search. This feature is only available for users who have Conversational Search enabled.", +"flatPath": "v2beta/projects/{projectsId}/locations/{locationsId}/catalogs/{catalogsId}/placements/{placementsId}:conversationalSearch", +"httpMethod": "POST", +"id": "retail.projects.locations.catalogs.placements.conversationalSearch", +"parameterOrder": [ +"placement" +], +"parameters": { +"placement": { +"description": "Required. The resource name of the search engine placement, such as `projects/*/locations/global/catalogs/default_catalog/placements/default_search` or `projects/*/locations/global/catalogs/default_catalog/servingConfigs/default_serving_config` This field is used to identify the serving config name and the set of models that will be used to make the search.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/catalogs/[^/]+/placements/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2beta/{+placement}:conversationalSearch", +"request": { +"$ref": "GoogleCloudRetailV2betaConversationalSearchRequest" +}, +"response": { +"$ref": "GoogleCloudRetailV2betaConversationalSearchResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"predict": { +"description": "Makes a recommendation prediction.", +"flatPath": "v2beta/projects/{projectsId}/locations/{locationsId}/catalogs/{catalogsId}/placements/{placementsId}:predict", +"httpMethod": "POST", +"id": "retail.projects.locations.catalogs.placements.predict", +"parameterOrder": [ +"placement" +], +"parameters": { +"placement": { +"description": "Required. Full resource name of the format: `{placement=projects/*/locations/global/catalogs/default_catalog/servingConfigs/*}` or `{placement=projects/*/locations/global/catalogs/default_catalog/placements/*}`. We recommend using the `servingConfigs` resource. `placements` is a legacy resource. The ID of the Recommendations AI serving config or placement. Before you can request predictions from your model, you must create at least one serving config or placement for it. For more information, see [Manage serving configs] (https://cloud.google.com/retail/docs/manage-configs). The full list of available serving configs can be seen at https://console.cloud.google.com/ai/retail/catalogs/default_catalog/configs", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/catalogs/[^/]+/placements/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2beta/{+placement}:predict", +"request": { +"$ref": "GoogleCloudRetailV2betaPredictRequest" +}, +"response": { +"$ref": "GoogleCloudRetailV2betaPredictResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"search": { +"description": "Performs a search. This feature is only available for users who have Retail Search enabled. Enable Retail Search on Cloud Console before using this feature.", +"flatPath": "v2beta/projects/{projectsId}/locations/{locationsId}/catalogs/{catalogsId}/placements/{placementsId}:search", +"httpMethod": "POST", +"id": "retail.projects.locations.catalogs.placements.search", +"parameterOrder": [ +"placement" +], +"parameters": { +"placement": { +"description": "Required. The resource name of the Retail Search serving config, such as `projects/*/locations/global/catalogs/default_catalog/servingConfigs/default_serving_config` or the name of the legacy placement resource, such as `projects/*/locations/global/catalogs/default_catalog/placements/default_search`. This field is used to identify the serving config name and the set of models that are used to make the search.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/catalogs/[^/]+/placements/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2beta/{+placement}:search", +"request": { +"$ref": "GoogleCloudRetailV2betaSearchRequest" +}, +"response": { +"$ref": "GoogleCloudRetailV2betaSearchResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"servingConfigs": { +"methods": { +"addControl": { +"description": "Enables a Control on the specified ServingConfig. The control is added in the last position of the list of controls it belongs to (e.g. if it's a facet spec control it will be applied in the last position of servingConfig.facetSpecIds) Returns a ALREADY_EXISTS error if the control has already been applied. Returns a FAILED_PRECONDITION error if the addition could exceed maximum number of control allowed for that type of control.", +"flatPath": "v2beta/projects/{projectsId}/locations/{locationsId}/catalogs/{catalogsId}/servingConfigs/{servingConfigsId}:addControl", +"httpMethod": "POST", +"id": "retail.projects.locations.catalogs.servingConfigs.addControl", +"parameterOrder": [ +"servingConfig" +], +"parameters": { +"servingConfig": { +"description": "Required. The source ServingConfig resource name . Format: `projects/{project_number}/locations/{location_id}/catalogs/{catalog_id}/servingConfigs/{serving_config_id}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/catalogs/[^/]+/servingConfigs/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2beta/{+servingConfig}:addControl", +"request": { +"$ref": "GoogleCloudRetailV2betaAddControlRequest" +}, +"response": { +"$ref": "GoogleCloudRetailV2betaServingConfig" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"conversationalSearch": { +"description": "Performs a conversational search. This feature is only available for users who have Conversational Search enabled.", +"flatPath": "v2beta/projects/{projectsId}/locations/{locationsId}/catalogs/{catalogsId}/servingConfigs/{servingConfigsId}:conversationalSearch", +"httpMethod": "POST", +"id": "retail.projects.locations.catalogs.servingConfigs.conversationalSearch", +"parameterOrder": [ +"placement" +], +"parameters": { +"placement": { +"description": "Required. The resource name of the search engine placement, such as `projects/*/locations/global/catalogs/default_catalog/placements/default_search` or `projects/*/locations/global/catalogs/default_catalog/servingConfigs/default_serving_config` This field is used to identify the serving config name and the set of models that will be used to make the search.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/catalogs/[^/]+/servingConfigs/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2beta/{+placement}:conversationalSearch", +"request": { +"$ref": "GoogleCloudRetailV2betaConversationalSearchRequest" +}, +"response": { +"$ref": "GoogleCloudRetailV2betaConversationalSearchResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"create": { +"description": "Creates a ServingConfig. A maximum of 100 ServingConfigs are allowed in a Catalog, otherwise a FAILED_PRECONDITION error is returned.", +"flatPath": "v2beta/projects/{projectsId}/locations/{locationsId}/catalogs/{catalogsId}/servingConfigs", +"httpMethod": "POST", +"id": "retail.projects.locations.catalogs.servingConfigs.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. Full resource name of parent. Format: `projects/{project_number}/locations/{location_id}/catalogs/{catalog_id}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/catalogs/[^/]+$", +"required": true, +"type": "string" +}, +"servingConfigId": { +"description": "Required. The ID to use for the ServingConfig, which will become the final component of the ServingConfig's resource name. This value should be 4-63 characters, and valid characters are /a-z-_/.", +"location": "query", +"type": "string" +} +}, +"path": "v2beta/{+parent}/servingConfigs", +"request": { +"$ref": "GoogleCloudRetailV2betaServingConfig" +}, +"response": { +"$ref": "GoogleCloudRetailV2betaServingConfig" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a ServingConfig. Returns a NotFound error if the ServingConfig does not exist.", +"flatPath": "v2beta/projects/{projectsId}/locations/{locationsId}/catalogs/{catalogsId}/servingConfigs/{servingConfigsId}", +"httpMethod": "DELETE", +"id": "retail.projects.locations.catalogs.servingConfigs.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the ServingConfig to delete. Format: `projects/{project_number}/locations/{location_id}/catalogs/{catalog_id}/servingConfigs/{serving_config_id}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/catalogs/[^/]+/servingConfigs/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2beta/{+name}", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets a ServingConfig. Returns a NotFound error if the ServingConfig does not exist.", +"flatPath": "v2beta/projects/{projectsId}/locations/{locationsId}/catalogs/{catalogsId}/servingConfigs/{servingConfigsId}", +"httpMethod": "GET", +"id": "retail.projects.locations.catalogs.servingConfigs.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the ServingConfig to get. Format: `projects/{project_number}/locations/{location_id}/catalogs/{catalog_id}/servingConfigs/{serving_config_id}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/catalogs/[^/]+/servingConfigs/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2beta/{+name}", +"response": { +"$ref": "GoogleCloudRetailV2betaServingConfig" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists all ServingConfigs linked to this catalog.", +"flatPath": "v2beta/projects/{projectsId}/locations/{locationsId}/catalogs/{catalogsId}/servingConfigs", +"httpMethod": "GET", +"id": "retail.projects.locations.catalogs.servingConfigs.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "Optional. Maximum number of results to return. If unspecified, defaults to 100. If a value greater than 100 is provided, at most 100 results are returned.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. A page token, received from a previous `ListServingConfigs` call. Provide this to retrieve the subsequent page.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The catalog resource name. Format: `projects/{project_number}/locations/{location_id}/catalogs/{catalog_id}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/catalogs/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2beta/{+parent}/servingConfigs", +"response": { +"$ref": "GoogleCloudRetailV2betaListServingConfigsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates a ServingConfig.", +"flatPath": "v2beta/projects/{projectsId}/locations/{locationsId}/catalogs/{catalogsId}/servingConfigs/{servingConfigsId}", +"httpMethod": "PATCH", +"id": "retail.projects.locations.catalogs.servingConfigs.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Immutable. Fully qualified name `projects/*/locations/global/catalogs/*/servingConfig/*`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/catalogs/[^/]+/servingConfigs/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Indicates which fields in the provided ServingConfig to update. The following are NOT supported: * ServingConfig.name If not set, all supported fields are updated.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v2beta/{+name}", +"request": { +"$ref": "GoogleCloudRetailV2betaServingConfig" +}, +"response": { +"$ref": "GoogleCloudRetailV2betaServingConfig" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"predict": { +"description": "Makes a recommendation prediction.", +"flatPath": "v2beta/projects/{projectsId}/locations/{locationsId}/catalogs/{catalogsId}/servingConfigs/{servingConfigsId}:predict", +"httpMethod": "POST", +"id": "retail.projects.locations.catalogs.servingConfigs.predict", +"parameterOrder": [ +"placement" +], +"parameters": { +"placement": { +"description": "Required. Full resource name of the format: `{placement=projects/*/locations/global/catalogs/default_catalog/servingConfigs/*}` or `{placement=projects/*/locations/global/catalogs/default_catalog/placements/*}`. We recommend using the `servingConfigs` resource. `placements` is a legacy resource. The ID of the Recommendations AI serving config or placement. Before you can request predictions from your model, you must create at least one serving config or placement for it. For more information, see [Manage serving configs] (https://cloud.google.com/retail/docs/manage-configs). The full list of available serving configs can be seen at https://console.cloud.google.com/ai/retail/catalogs/default_catalog/configs", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/catalogs/[^/]+/servingConfigs/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2beta/{+placement}:predict", +"request": { +"$ref": "GoogleCloudRetailV2betaPredictRequest" +}, +"response": { +"$ref": "GoogleCloudRetailV2betaPredictResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"removeControl": { +"description": "Disables a Control on the specified ServingConfig. The control is removed from the ServingConfig. Returns a NOT_FOUND error if the Control is not enabled for the ServingConfig.", +"flatPath": "v2beta/projects/{projectsId}/locations/{locationsId}/catalogs/{catalogsId}/servingConfigs/{servingConfigsId}:removeControl", +"httpMethod": "POST", +"id": "retail.projects.locations.catalogs.servingConfigs.removeControl", +"parameterOrder": [ +"servingConfig" +], +"parameters": { +"servingConfig": { +"description": "Required. The source ServingConfig resource name . Format: `projects/{project_number}/locations/{location_id}/catalogs/{catalog_id}/servingConfigs/{serving_config_id}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/catalogs/[^/]+/servingConfigs/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2beta/{+servingConfig}:removeControl", +"request": { +"$ref": "GoogleCloudRetailV2betaRemoveControlRequest" +}, +"response": { +"$ref": "GoogleCloudRetailV2betaServingConfig" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"search": { +"description": "Performs a search. This feature is only available for users who have Retail Search enabled. Enable Retail Search on Cloud Console before using this feature.", +"flatPath": "v2beta/projects/{projectsId}/locations/{locationsId}/catalogs/{catalogsId}/servingConfigs/{servingConfigsId}:search", +"httpMethod": "POST", +"id": "retail.projects.locations.catalogs.servingConfigs.search", +"parameterOrder": [ +"placement" +], +"parameters": { +"placement": { +"description": "Required. The resource name of the Retail Search serving config, such as `projects/*/locations/global/catalogs/default_catalog/servingConfigs/default_serving_config` or the name of the legacy placement resource, such as `projects/*/locations/global/catalogs/default_catalog/placements/default_search`. This field is used to identify the serving config name and the set of models that are used to make the search.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/catalogs/[^/]+/servingConfigs/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2beta/{+placement}:search", +"request": { +"$ref": "GoogleCloudRetailV2betaSearchRequest" +}, +"response": { +"$ref": "GoogleCloudRetailV2betaSearchResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"userEvents": { +"methods": { +"collect": { +"description": "Writes a single user event from the browser. For larger user event payload over 16 KB, the POST method should be used instead, otherwise a 400 Bad Request error is returned. This method is used only by the Retail API JavaScript pixel and Google Tag Manager. Users should not call this method directly.", +"flatPath": "v2beta/projects/{projectsId}/locations/{locationsId}/catalogs/{catalogsId}/userEvents:collect", +"httpMethod": "POST", +"id": "retail.projects.locations.catalogs.userEvents.collect", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The parent catalog name, such as `projects/1234/locations/global/catalogs/default_catalog`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/catalogs/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2beta/{+parent}/userEvents:collect", +"request": { +"$ref": "GoogleCloudRetailV2betaCollectUserEventRequest" +}, +"response": { +"$ref": "GoogleApiHttpBody" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"export": { +"description": "Exports user events. `Operation.response` is of type `ExportResponse`. `Operation.metadata` is of type `ExportMetadata`.", +"flatPath": "v2beta/projects/{projectsId}/locations/{locationsId}/catalogs/{catalogsId}/userEvents:export", +"httpMethod": "POST", +"id": "retail.projects.locations.catalogs.userEvents.export", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. Resource name of a Catalog. For example `projects/1234/locations/global/catalogs/default_catalog`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/catalogs/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2beta/{+parent}/userEvents:export", +"request": { +"$ref": "GoogleCloudRetailV2betaExportUserEventsRequest" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"import": { +"description": "Bulk import of User events. Request processing might be synchronous. Events that already exist are skipped. Use this method for backfilling historical user events. `Operation.response` is of type `ImportResponse`. Note that it is possible for a subset of the items to be successfully inserted. `Operation.metadata` is of type `ImportMetadata`.", +"flatPath": "v2beta/projects/{projectsId}/locations/{locationsId}/catalogs/{catalogsId}/userEvents:import", +"httpMethod": "POST", +"id": "retail.projects.locations.catalogs.userEvents.import", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. `projects/1234/locations/global/catalogs/default_catalog`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/catalogs/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2beta/{+parent}/userEvents:import", +"request": { +"$ref": "GoogleCloudRetailV2betaImportUserEventsRequest" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"purge": { +"description": "Deletes permanently all user events specified by the filter provided. Depending on the number of events specified by the filter, this operation could take hours or days to complete. To test a filter, use the list command first.", +"flatPath": "v2beta/projects/{projectsId}/locations/{locationsId}/catalogs/{catalogsId}/userEvents:purge", +"httpMethod": "POST", +"id": "retail.projects.locations.catalogs.userEvents.purge", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The resource name of the catalog under which the events are created. The format is `projects/${projectId}/locations/global/catalogs/${catalogId}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/catalogs/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2beta/{+parent}/userEvents:purge", +"request": { +"$ref": "GoogleCloudRetailV2betaPurgeUserEventsRequest" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"rejoin": { +"description": "Starts a user-event rejoin operation with latest product catalog. Events are not annotated with detailed product information for products that are missing from the catalog when the user event is ingested. These events are stored as unjoined events with limited usage on training and serving. You can use this method to start a join operation on specified events with the latest version of product catalog. You can also use this method to correct events joined with the wrong product catalog. A rejoin operation can take hours or days to complete.", +"flatPath": "v2beta/projects/{projectsId}/locations/{locationsId}/catalogs/{catalogsId}/userEvents:rejoin", +"httpMethod": "POST", +"id": "retail.projects.locations.catalogs.userEvents.rejoin", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The parent catalog resource name, such as `projects/1234/locations/global/catalogs/default_catalog`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/catalogs/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2beta/{+parent}/userEvents:rejoin", +"request": { +"$ref": "GoogleCloudRetailV2betaRejoinUserEventsRequest" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"write": { +"description": "Writes a single user event.", +"flatPath": "v2beta/projects/{projectsId}/locations/{locationsId}/catalogs/{catalogsId}/userEvents:write", +"httpMethod": "POST", +"id": "retail.projects.locations.catalogs.userEvents.write", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The parent catalog resource name, such as `projects/1234/locations/global/catalogs/default_catalog`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/catalogs/[^/]+$", +"required": true, +"type": "string" +}, +"writeAsync": { +"description": "If set to true, the user event will be written asynchronously after validation, and the API will respond without waiting for the write. Therefore, silent failures can occur even if the API returns success. In case of silent failures, error messages can be found in Stackdriver logs.", +"location": "query", +"type": "boolean" +} +}, +"path": "v2beta/{+parent}/userEvents:write", +"request": { +"$ref": "GoogleCloudRetailV2betaUserEvent" +}, +"response": { +"$ref": "GoogleCloudRetailV2betaUserEvent" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +}, +"operations": { +"methods": { +"get": { +"description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", +"flatPath": "v2beta/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}", +"httpMethod": "GET", +"id": "retail.projects.locations.operations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2beta/{+name}", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.", +"flatPath": "v2beta/projects/{projectsId}/locations/{locationsId}/operations", +"httpMethod": "GET", +"id": "retail.projects.locations.operations.list", +"parameterOrder": [ +"name" +], +"parameters": { +"filter": { +"description": "The standard list filter.", +"location": "query", +"type": "string" +}, +"name": { +"description": "The name of the operation's parent resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The standard list page size.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The standard list page token.", +"location": "query", +"type": "string" +}, +"returnPartialSuccess": { +"description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `\"projects/example/locations/-\"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", +"location": "query", +"type": "boolean" +} +}, +"path": "v2beta/{+name}/operations", +"response": { +"$ref": "GoogleLongrunningListOperationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +}, +"operations": { +"methods": { +"get": { +"description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", +"flatPath": "v2beta/projects/{projectsId}/operations/{operationsId}", +"httpMethod": "GET", +"id": "retail.projects.operations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource.", +"location": "path", +"pattern": "^projects/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2beta/{+name}", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.", +"flatPath": "v2beta/projects/{projectsId}/operations", +"httpMethod": "GET", +"id": "retail.projects.operations.list", +"parameterOrder": [ +"name" +], +"parameters": { +"filter": { +"description": "The standard list filter.", +"location": "query", +"type": "string" +}, +"name": { +"description": "The name of the operation's parent resource.", +"location": "path", +"pattern": "^projects/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The standard list page size.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The standard list page token.", +"location": "query", +"type": "string" +}, +"returnPartialSuccess": { +"description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `\"projects/example/locations/-\"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", +"location": "query", +"type": "boolean" +} +}, +"path": "v2beta/{+name}/operations", +"response": { +"$ref": "GoogleLongrunningListOperationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +} +}, +"revision": "20260219", +"rootUrl": "https://retail.googleapis.com/", +"schemas": { +"GoogleApiHttpBody": { +"description": "Message that represents an arbitrary HTTP body. It should only be used for payload formats that can't be represented as JSON, such as raw binary or an HTML page. This message can be used both in streaming and non-streaming API methods in the request as well as the response. It can be used as a top-level request field, which is convenient if one wants to extract parameters from either the URL or HTTP template into the request fields and also want access to the raw HTTP body. Example: message GetResourceRequest { // A unique request id. string request_id = 1; // The raw HTTP body is bound to this field. google.api.HttpBody http_body = 2; } service ResourceService { rpc GetResource(GetResourceRequest) returns (google.api.HttpBody); rpc UpdateResource(google.api.HttpBody) returns (google.protobuf.Empty); } Example with streaming methods: service CaldavService { rpc GetCalendar(stream google.api.HttpBody) returns (stream google.api.HttpBody); rpc UpdateCalendar(stream google.api.HttpBody) returns (stream google.api.HttpBody); } Use of this type only changes how the request and response bodies are handled, all other features will continue to work unchanged.", +"id": "GoogleApiHttpBody", +"properties": { +"contentType": { +"description": "The HTTP Content-Type header value specifying the content type of the body.", +"type": "string" +}, +"data": { +"description": "The HTTP request/response body as raw binary.", +"format": "byte", +"type": "string" +}, +"extensions": { +"description": "Application specific response metadata. Must be set in the first response for streaming APIs.", +"items": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"type": "object" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudRetailLoggingErrorContext": { +"description": "A description of the context in which an error occurred.", +"id": "GoogleCloudRetailLoggingErrorContext", +"properties": { +"httpRequest": { +"$ref": "GoogleCloudRetailLoggingHttpRequestContext", +"description": "The HTTP request which was processed when the error was triggered." +}, +"reportLocation": { +"$ref": "GoogleCloudRetailLoggingSourceLocation", +"description": "The location in the source code where the decision was made to report the error, usually the place where it was logged." +} +}, +"type": "object" +}, +"GoogleCloudRetailLoggingErrorLog": { +"description": "An error log which is reported to the Error Reporting system. This proto a superset of google.devtools.clouderrorreporting.v1beta1.ReportedErrorEvent.", +"id": "GoogleCloudRetailLoggingErrorLog", +"properties": { +"context": { +"$ref": "GoogleCloudRetailLoggingErrorContext", +"description": "A description of the context in which the error occurred." +}, +"importPayload": { +"$ref": "GoogleCloudRetailLoggingImportErrorContext", +"description": "The error payload that is populated on LRO import APIs." +}, +"message": { +"description": "A message describing the error.", +"type": "string" +}, +"requestPayload": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"description": "The API request payload, represented as a protocol buffer. Most API request types are supported. For example: \"type.googleapis.com/google.cloud.retail.v2.ProductService.CreateProductRequest\" \"type.googleapis.com/google.cloud.retail.v2.UserEventService.WriteUserEventRequest\"", +"type": "object" +}, +"responsePayload": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"description": "The API response payload, represented as a protocol buffer. This is used to log some \"soft errors\", where the response is valid but we consider there are some quality issues like unjoined events. The following API responses are supported and no PII is included: \"google.cloud.retail.v2.PredictionService.Predict\" \"google.cloud.retail.v2.UserEventService.WriteUserEvent\" \"google.cloud.retail.v2.UserEventService.CollectUserEvent\"", +"type": "object" +}, +"serviceContext": { +"$ref": "GoogleCloudRetailLoggingServiceContext", +"description": "The service context in which this error has occurred." +}, +"status": { +"$ref": "GoogleRpcStatus", +"description": "The RPC status associated with the error log." +} +}, +"type": "object" +}, +"GoogleCloudRetailLoggingHttpRequestContext": { +"description": "HTTP request data that is related to a reported error.", +"id": "GoogleCloudRetailLoggingHttpRequestContext", +"properties": { +"responseStatusCode": { +"description": "The HTTP response status code for the request.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"GoogleCloudRetailLoggingImportErrorContext": { +"description": "The error payload that is populated on LRO import APIs, including \"google.cloud.retail.v2.ProductService.ImportProducts\" and \"google.cloud.retail.v2.EventService.ImportUserEvents\".", +"id": "GoogleCloudRetailLoggingImportErrorContext", +"properties": { +"catalogItem": { +"description": "The detailed content which caused the error on importing a catalog item.", +"type": "string" +}, +"gcsPath": { +"description": "Cloud Storage file path of the import source. Can be set for batch operation error.", +"type": "string" +}, +"lineNumber": { +"description": "Line number of the content in file. Should be empty for permission or batch operation error.", +"type": "string" +}, +"operationName": { +"description": "The operation resource name of the LRO.", +"type": "string" +}, +"product": { +"description": "The detailed content which caused the error on importing a product.", +"type": "string" +}, +"userEvent": { +"description": "The detailed content which caused the error on importing a user event.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudRetailLoggingServiceContext": { +"description": "Describes a running service that sends errors.", +"id": "GoogleCloudRetailLoggingServiceContext", +"properties": { +"service": { +"description": "An identifier of the service. For example, \"retail.googleapis.com\".", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudRetailLoggingSourceLocation": { +"description": "Indicates a location in the source code of the service for which errors are reported.", +"id": "GoogleCloudRetailLoggingSourceLocation", +"properties": { +"functionName": { +"description": "Human-readable name of a function or method. For example, \"google.cloud.retail.v2.UserEventService.ImportUserEvents\".", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2AddFulfillmentPlacesMetadata": { +"description": "Metadata related to the progress of the AddFulfillmentPlaces operation. Currently empty because there is no meaningful metadata populated from the ProductService.AddFulfillmentPlaces method.", +"id": "GoogleCloudRetailV2AddFulfillmentPlacesMetadata", +"properties": {}, +"type": "object" +}, +"GoogleCloudRetailV2AddFulfillmentPlacesResponse": { +"description": "Response of the AddFulfillmentPlacesRequest. Currently empty because there is no meaningful response populated from the ProductService.AddFulfillmentPlaces method.", +"id": "GoogleCloudRetailV2AddFulfillmentPlacesResponse", +"properties": {}, +"type": "object" +}, +"GoogleCloudRetailV2AddLocalInventoriesMetadata": { +"description": "Metadata related to the progress of the AddLocalInventories operation. Currently empty because there is no meaningful metadata populated from the ProductService.AddLocalInventories method.", +"id": "GoogleCloudRetailV2AddLocalInventoriesMetadata", +"properties": {}, +"type": "object" +}, +"GoogleCloudRetailV2AddLocalInventoriesResponse": { +"description": "Response of the ProductService.AddLocalInventories API. Currently empty because there is no meaningful response populated from the ProductService.AddLocalInventories method.", +"id": "GoogleCloudRetailV2AddLocalInventoriesResponse", +"properties": {}, +"type": "object" +}, +"GoogleCloudRetailV2BigQueryOutputResult": { +"description": "A BigQuery output result.", +"id": "GoogleCloudRetailV2BigQueryOutputResult", +"properties": { +"datasetId": { +"description": "The ID of a BigQuery Dataset.", +"type": "string" +}, +"tableId": { +"description": "The ID of a BigQuery Table.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2CreateModelMetadata": { +"description": "Metadata associated with a create operation.", +"id": "GoogleCloudRetailV2CreateModelMetadata", +"properties": { +"model": { +"description": "The resource name of the model that this create applies to. Format: `projects/{project_number}/locations/{location_id}/catalogs/{catalog_id}/models/{model_id}`", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2ExportAnalyticsMetricsResponse": { +"description": "Response of the ExportAnalyticsMetricsRequest. If the long running operation was successful, then this message is returned by the google.longrunning.Operations.response field if the operation was successful.", +"id": "GoogleCloudRetailV2ExportAnalyticsMetricsResponse", +"properties": { +"errorSamples": { +"description": "A sample of errors encountered while processing the request.", +"items": { +"$ref": "GoogleRpcStatus" +}, +"type": "array" +}, +"errorsConfig": { +"$ref": "GoogleCloudRetailV2ExportErrorsConfig", +"description": "This field is never set." +}, +"outputResult": { +"$ref": "GoogleCloudRetailV2OutputResult", +"description": "Output result indicating where the data were exported to." +} +}, +"type": "object" +}, +"GoogleCloudRetailV2ExportErrorsConfig": { +"description": "Configuration of destination for Export related errors.", +"id": "GoogleCloudRetailV2ExportErrorsConfig", +"properties": { +"gcsPrefix": { +"description": "Google Cloud Storage path for import errors. This must be an empty, existing Cloud Storage bucket. Export errors will be written to a file in this bucket, one per line, as a JSON-encoded `google.rpc.Status` message.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2ExportMetadata": { +"description": "Metadata related to the progress of the Export operation. This is returned by the google.longrunning.Operation.metadata field.", +"id": "GoogleCloudRetailV2ExportMetadata", +"properties": { +"createTime": { +"description": "Operation create time.", +"format": "google-datetime", +"type": "string" +}, +"updateTime": { +"description": "Operation last update time. If the operation is done, this is also the finish time.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2GcsOutputResult": { +"description": "A Gcs output result.", +"id": "GoogleCloudRetailV2GcsOutputResult", +"properties": { +"outputUri": { +"description": "The uri of Gcs output", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2ImportCompletionDataResponse": { +"description": "Response of the ImportCompletionDataRequest. If the long running operation is done, this message is returned by the google.longrunning.Operations.response field if the operation is successful.", +"id": "GoogleCloudRetailV2ImportCompletionDataResponse", +"properties": { +"errorSamples": { +"description": "A sample of errors encountered while processing the request.", +"items": { +"$ref": "GoogleRpcStatus" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2ImportErrorsConfig": { +"description": "Configuration of destination for Import related errors.", +"id": "GoogleCloudRetailV2ImportErrorsConfig", +"properties": { +"gcsPrefix": { +"description": "Google Cloud Storage prefix for import errors. This must be an empty, existing Cloud Storage directory. Import errors are written to sharded files in this directory, one per line, as a JSON-encoded `google.rpc.Status` message.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2ImportMetadata": { +"description": "Metadata related to the progress of the Import operation. This is returned by the google.longrunning.Operation.metadata field.", +"id": "GoogleCloudRetailV2ImportMetadata", +"properties": { +"createTime": { +"description": "Operation create time.", +"format": "google-datetime", +"type": "string" +}, +"failureCount": { +"description": "Count of entries that encountered errors while processing.", +"format": "int64", +"type": "string" +}, +"notificationPubsubTopic": { +"description": "Pub/Sub topic for receiving notification. If this field is set, when the import is finished, a notification is sent to specified Pub/Sub topic. The message data is JSON string of a Operation. Format of the Pub/Sub topic is `projects/{project}/topics/{topic}`.", +"type": "string" +}, +"requestId": { +"deprecated": true, +"description": "Deprecated. This field is never set.", +"type": "string" +}, +"successCount": { +"description": "Count of entries that were processed successfully.", +"format": "int64", +"type": "string" +}, +"updateTime": { +"description": "Operation last update time. If the operation is done, this is also the finish time.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2ImportProductsResponse": { +"description": "Response of the ImportProductsRequest. If the long running operation is done, then this message is returned by the google.longrunning.Operations.response field if the operation was successful.", +"id": "GoogleCloudRetailV2ImportProductsResponse", +"properties": { +"errorSamples": { +"description": "A sample of errors encountered while processing the request.", +"items": { +"$ref": "GoogleRpcStatus" +}, +"type": "array" +}, +"errorsConfig": { +"$ref": "GoogleCloudRetailV2ImportErrorsConfig", +"description": "Echoes the destination for the complete errors in the request if set." +} +}, +"type": "object" +}, +"GoogleCloudRetailV2ImportUserEventsResponse": { +"description": "Response of the ImportUserEventsRequest. If the long running operation was successful, then this message is returned by the google.longrunning.Operations.response field if the operation was successful.", +"id": "GoogleCloudRetailV2ImportUserEventsResponse", +"properties": { +"errorSamples": { +"description": "A sample of errors encountered while processing the request.", +"items": { +"$ref": "GoogleRpcStatus" +}, +"type": "array" +}, +"errorsConfig": { +"$ref": "GoogleCloudRetailV2ImportErrorsConfig", +"description": "Echoes the destination for the complete errors if this field was set in the request." +}, +"importSummary": { +"$ref": "GoogleCloudRetailV2UserEventImportSummary", +"description": "Aggregated statistics of user event import status." +} +}, +"type": "object" +}, +"GoogleCloudRetailV2Model": { +"description": "Metadata that describes the training and serving parameters of a Model. A Model can be associated with a ServingConfig and then queried through the Predict API.", +"id": "GoogleCloudRetailV2Model", +"properties": { +"createTime": { +"description": "Output only. Timestamp the Recommendation Model was created at.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"dataState": { +"description": "Output only. The state of data requirements for this model: `DATA_OK` and `DATA_ERROR`. Recommendation model cannot be trained if the data is in `DATA_ERROR` state. Recommendation model can have `DATA_ERROR` state even if serving state is `ACTIVE`: models were trained successfully before, but cannot be refreshed because model no longer has sufficient data for training.", +"enum": [ +"DATA_STATE_UNSPECIFIED", +"DATA_OK", +"DATA_ERROR" +], +"enumDescriptions": [ +"Unspecified default value, should never be explicitly set.", +"The model has sufficient training data.", +"The model does not have sufficient training data. Error messages can be queried via Stackdriver." +], +"readOnly": true, +"type": "string" +}, +"displayName": { +"description": "Required. The display name of the model. Should be human readable, used to display Recommendation Models in the Retail Cloud Console Dashboard. UTF-8 encoded string with limit of 1024 characters.", +"type": "string" +}, +"filteringOption": { +"description": "Optional. If `RECOMMENDATIONS_FILTERING_ENABLED`, recommendation filtering by attributes is enabled for the model.", +"enum": [ +"RECOMMENDATIONS_FILTERING_OPTION_UNSPECIFIED", +"RECOMMENDATIONS_FILTERING_DISABLED", +"RECOMMENDATIONS_FILTERING_ENABLED" +], +"enumDescriptions": [ +"Value used when unset. In this case, server behavior defaults to RECOMMENDATIONS_FILTERING_DISABLED.", +"Recommendation filtering is disabled.", +"Recommendation filtering is enabled." +], +"type": "string" +}, +"lastTuneTime": { +"description": "Output only. The timestamp when the latest successful tune finished.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"modelFeaturesConfig": { +"$ref": "GoogleCloudRetailV2ModelModelFeaturesConfig", +"description": "Optional. Additional model features config." +}, +"name": { +"description": "Required. The fully qualified resource name of the model. Format: `projects/{project_number}/locations/{location_id}/catalogs/{catalog_id}/models/{model_id}` catalog_id has char limit of 50. recommendation_model_id has char limit of 40.", +"type": "string" +}, +"optimizationObjective": { +"description": "Optional. The optimization objective e.g. `cvr`. Currently supported values: `ctr`, `cvr`, `revenue-per-order`. If not specified, we choose default based on model type. Default depends on type of recommendation: `recommended-for-you` => `ctr` `others-you-may-like` => `ctr` `frequently-bought-together` => `revenue_per_order` This field together with optimization_objective describe model metadata to use to control model training and serving. See https://cloud.google.com/retail/docs/models for more details on what the model metadata control and which combination of parameters are valid. For invalid combinations of parameters (e.g. type = `frequently-bought-together` and optimization_objective = `ctr`), you receive an error 400 if you try to create/update a recommendation with this set of knobs.", +"type": "string" +}, +"periodicTuningState": { +"description": "Optional. The state of periodic tuning. The period we use is 3 months - to do a one-off tune earlier use the `TuneModel` method. Default value is `PERIODIC_TUNING_ENABLED`.", +"enum": [ +"PERIODIC_TUNING_STATE_UNSPECIFIED", +"PERIODIC_TUNING_DISABLED", +"ALL_TUNING_DISABLED", +"PERIODIC_TUNING_ENABLED" +], +"enumDescriptions": [ +"Unspecified default value, should never be explicitly set.", +"The model has periodic tuning disabled. Tuning can be reenabled by calling the `EnableModelPeriodicTuning` method or by calling the `TuneModel` method.", +"The model cannot be tuned with periodic tuning OR the `TuneModel` method. Hide the options in customer UI and reject any requests through the backend self serve API.", +"The model has periodic tuning enabled. Tuning can be disabled by calling the `DisableModelPeriodicTuning` method." +], +"type": "string" +}, +"servingConfigLists": { +"description": "Output only. The list of valid serving configs associated with the PageOptimizationConfig.", +"items": { +"$ref": "GoogleCloudRetailV2ModelServingConfigList" +}, +"readOnly": true, +"type": "array" +}, +"servingState": { +"description": "Output only. The serving state of the model: `ACTIVE`, `NOT_ACTIVE`.", +"enum": [ +"SERVING_STATE_UNSPECIFIED", +"INACTIVE", +"ACTIVE", +"TUNED" +], +"enumDescriptions": [ +"Unspecified serving state.", +"The model is not serving.", +"The model is serving and can be queried.", +"The model is trained on tuned hyperparameters and can be queried." +], +"readOnly": true, +"type": "string" +}, +"trainingState": { +"description": "Optional. The training state that the model is in (e.g. `TRAINING` or `PAUSED`). Since part of the cost of running the service is frequency of training - this can be used to determine when to train model in order to control cost. If not specified: the default value for `CreateModel` method is `TRAINING`. The default value for `UpdateModel` method is to keep the state the same as before.", +"enum": [ +"TRAINING_STATE_UNSPECIFIED", +"PAUSED", +"TRAINING" +], +"enumDescriptions": [ +"Unspecified training state.", +"The model training is paused.", +"The model is training." +], +"type": "string" +}, +"tuningOperation": { +"description": "Output only. The tune operation associated with the model. Can be used to determine if there is an ongoing tune for this recommendation. Empty field implies no tune is goig on.", +"readOnly": true, +"type": "string" +}, +"type": { +"description": "Required. The type of model e.g. `home-page`. Currently supported values: `recommended-for-you`, `others-you-may-like`, `frequently-bought-together`, `page-optimization`, `similar-items`, `buy-it-again`, `on-sale-items`, and `recently-viewed`(readonly value). This field together with optimization_objective describe model metadata to use to control model training and serving. See https://cloud.google.com/retail/docs/models for more details on what the model metadata control and which combination of parameters are valid. For invalid combinations of parameters (e.g. type = `frequently-bought-together` and optimization_objective = `ctr`), you receive an error 400 if you try to create/update a recommendation with this set of knobs.", +"type": "string" +}, +"updateTime": { +"description": "Output only. Timestamp the Recommendation Model was last updated. E.g. if a Recommendation Model was paused - this would be the time the pause was initiated.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2ModelFrequentlyBoughtTogetherFeaturesConfig": { +"description": "Additional configs for the frequently-bought-together model type.", +"id": "GoogleCloudRetailV2ModelFrequentlyBoughtTogetherFeaturesConfig", +"properties": { +"contextProductsType": { +"description": "Optional. Specifies the context of the model when it is used in predict requests. Can only be set for the `frequently-bought-together` type. If it isn't specified, it defaults to MULTIPLE_CONTEXT_PRODUCTS.", +"enum": [ +"CONTEXT_PRODUCTS_TYPE_UNSPECIFIED", +"SINGLE_CONTEXT_PRODUCT", +"MULTIPLE_CONTEXT_PRODUCTS" +], +"enumDescriptions": [ +"Unspecified default value, should never be explicitly set. Defaults to MULTIPLE_CONTEXT_PRODUCTS.", +"Use only a single product as context for the recommendation. Typically used on pages like add-to-cart or product details.", +"Use one or multiple products as context for the recommendation. Typically used on shopping cart pages." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2ModelModelFeaturesConfig": { +"description": "Additional model features config.", +"id": "GoogleCloudRetailV2ModelModelFeaturesConfig", +"properties": { +"frequentlyBoughtTogetherConfig": { +"$ref": "GoogleCloudRetailV2ModelFrequentlyBoughtTogetherFeaturesConfig", +"description": "Additional configs for frequently-bought-together models." +} +}, +"type": "object" +}, +"GoogleCloudRetailV2ModelServingConfigList": { +"description": "Represents an ordered combination of valid serving configs, which can be used for `PAGE_OPTIMIZATION` recommendations.", +"id": "GoogleCloudRetailV2ModelServingConfigList", +"properties": { +"servingConfigIds": { +"description": "Optional. A set of valid serving configs that may be used for `PAGE_OPTIMIZATION`.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2OutputResult": { +"description": "Output result that stores the information about where the exported data is stored.", +"id": "GoogleCloudRetailV2OutputResult", +"properties": { +"bigqueryResult": { +"description": "The BigQuery location where the result is stored.", +"items": { +"$ref": "GoogleCloudRetailV2BigQueryOutputResult" +}, +"type": "array" +}, +"gcsResult": { +"description": "The Google Cloud Storage location where the result is stored.", +"items": { +"$ref": "GoogleCloudRetailV2GcsOutputResult" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2PurgeMetadata": { +"description": "Metadata related to the progress of the Purge operation. This will be returned by the google.longrunning.Operation.metadata field.", +"id": "GoogleCloudRetailV2PurgeMetadata", +"properties": {}, +"type": "object" +}, +"GoogleCloudRetailV2PurgeProductsMetadata": { +"description": "Metadata related to the progress of the PurgeProducts operation. This will be returned by the google.longrunning.Operation.metadata field.", +"id": "GoogleCloudRetailV2PurgeProductsMetadata", +"properties": { +"createTime": { +"description": "Operation create time.", +"format": "google-datetime", +"type": "string" +}, +"failureCount": { +"description": "Count of entries that encountered errors while processing.", +"format": "int64", +"type": "string" +}, +"successCount": { +"description": "Count of entries that were deleted successfully.", +"format": "int64", +"type": "string" +}, +"updateTime": { +"description": "Operation last update time. If the operation is done, this is also the finish time.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2PurgeProductsResponse": { +"description": "Response of the PurgeProductsRequest. If the long running operation is successfully done, then this message is returned by the google.longrunning.Operations.response field.", +"id": "GoogleCloudRetailV2PurgeProductsResponse", +"properties": { +"purgeCount": { +"description": "The total count of products purged as a result of the operation.", +"format": "int64", +"type": "string" +}, +"purgeSample": { +"description": "A sample of the product names that will be deleted. Only populated if `force` is set to false. A max of 100 names will be returned and the names are chosen at random.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2PurgeUserEventsResponse": { +"description": "Response of the PurgeUserEventsRequest. If the long running operation is successfully done, then this message is returned by the google.longrunning.Operations.response field.", +"id": "GoogleCloudRetailV2PurgeUserEventsResponse", +"properties": { +"purgedEventsCount": { +"description": "The total count of events purged as a result of the operation.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2RejoinUserEventsMetadata": { +"description": "Metadata for `RejoinUserEvents` method.", +"id": "GoogleCloudRetailV2RejoinUserEventsMetadata", +"properties": {}, +"type": "object" +}, +"GoogleCloudRetailV2RejoinUserEventsResponse": { +"description": "Response message for `RejoinUserEvents` method.", +"id": "GoogleCloudRetailV2RejoinUserEventsResponse", +"properties": { +"rejoinedUserEventsCount": { +"description": "Number of user events that were joined with latest product catalog.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2RemoveFulfillmentPlacesMetadata": { +"description": "Metadata related to the progress of the RemoveFulfillmentPlaces operation. Currently empty because there is no meaningful metadata populated from the ProductService.RemoveFulfillmentPlaces method.", +"id": "GoogleCloudRetailV2RemoveFulfillmentPlacesMetadata", +"properties": {}, +"type": "object" +}, +"GoogleCloudRetailV2RemoveFulfillmentPlacesResponse": { +"description": "Response of the RemoveFulfillmentPlacesRequest. Currently empty because there is no meaningful response populated from the ProductService.RemoveFulfillmentPlaces method.", +"id": "GoogleCloudRetailV2RemoveFulfillmentPlacesResponse", +"properties": {}, +"type": "object" +}, +"GoogleCloudRetailV2RemoveLocalInventoriesMetadata": { +"description": "Metadata related to the progress of the RemoveLocalInventories operation. Currently empty because there is no meaningful metadata populated from the ProductService.RemoveLocalInventories method.", +"id": "GoogleCloudRetailV2RemoveLocalInventoriesMetadata", +"properties": {}, +"type": "object" +}, +"GoogleCloudRetailV2RemoveLocalInventoriesResponse": { +"description": "Response of the ProductService.RemoveLocalInventories API. Currently empty because there is no meaningful response populated from the ProductService.RemoveLocalInventories method.", +"id": "GoogleCloudRetailV2RemoveLocalInventoriesResponse", +"properties": {}, +"type": "object" +}, +"GoogleCloudRetailV2SetInventoryMetadata": { +"description": "Metadata related to the progress of the SetInventory operation. Currently empty because there is no meaningful metadata populated from the ProductService.SetInventory method.", +"id": "GoogleCloudRetailV2SetInventoryMetadata", +"properties": {}, +"type": "object" +}, +"GoogleCloudRetailV2SetInventoryResponse": { +"description": "Response of the SetInventoryRequest. Currently empty because there is no meaningful response populated from the ProductService.SetInventory method.", +"id": "GoogleCloudRetailV2SetInventoryResponse", +"properties": {}, +"type": "object" +}, +"GoogleCloudRetailV2TuneModelMetadata": { +"description": "Metadata associated with a tune operation.", +"id": "GoogleCloudRetailV2TuneModelMetadata", +"properties": { +"model": { +"description": "The resource name of the model that this tune applies to. Format: `projects/{project_number}/locations/{location_id}/catalogs/{catalog_id}/models/{model_id}`", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2TuneModelResponse": { +"description": "Response associated with a tune operation.", +"id": "GoogleCloudRetailV2TuneModelResponse", +"properties": {}, +"type": "object" +}, +"GoogleCloudRetailV2UserEventImportSummary": { +"description": "A summary of import result. The UserEventImportSummary summarizes the import status for user events.", +"id": "GoogleCloudRetailV2UserEventImportSummary", +"properties": { +"joinedEventsCount": { +"description": "Count of user events imported with complete existing catalog information.", +"format": "int64", +"type": "string" +}, +"unjoinedEventsCount": { +"description": "Count of user events imported, but with catalog information not found in the imported catalog.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2alphaAddFulfillmentPlacesMetadata": { +"description": "Metadata related to the progress of the AddFulfillmentPlaces operation. Currently empty because there is no meaningful metadata populated from the ProductService.AddFulfillmentPlaces method.", +"id": "GoogleCloudRetailV2alphaAddFulfillmentPlacesMetadata", +"properties": {}, +"type": "object" +}, +"GoogleCloudRetailV2alphaAddFulfillmentPlacesResponse": { +"description": "Response of the AddFulfillmentPlacesRequest. Currently empty because there is no meaningful response populated from the ProductService.AddFulfillmentPlaces method.", +"id": "GoogleCloudRetailV2alphaAddFulfillmentPlacesResponse", +"properties": {}, +"type": "object" +}, +"GoogleCloudRetailV2alphaAddLocalInventoriesMetadata": { +"description": "Metadata related to the progress of the AddLocalInventories operation. Currently empty because there is no meaningful metadata populated from the ProductService.AddLocalInventories method.", +"id": "GoogleCloudRetailV2alphaAddLocalInventoriesMetadata", +"properties": {}, +"type": "object" +}, +"GoogleCloudRetailV2alphaAddLocalInventoriesResponse": { +"description": "Response of the ProductService.AddLocalInventories API. Currently empty because there is no meaningful response populated from the ProductService.AddLocalInventories method.", +"id": "GoogleCloudRetailV2alphaAddLocalInventoriesResponse", +"properties": {}, +"type": "object" +}, +"GoogleCloudRetailV2alphaBigQueryOutputResult": { +"description": "A BigQuery output result.", +"id": "GoogleCloudRetailV2alphaBigQueryOutputResult", +"properties": { +"datasetId": { +"description": "The ID of a BigQuery Dataset.", +"type": "string" +}, +"tableId": { +"description": "The ID of a BigQuery Table.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2alphaCreateMerchantCenterAccountLinkMetadata": { +"description": "Common metadata related to the progress of the operations.", +"id": "GoogleCloudRetailV2alphaCreateMerchantCenterAccountLinkMetadata", +"properties": { +"createTime": { +"description": "Operation create time.", +"format": "google-datetime", +"type": "string" +}, +"updateTime": { +"description": "Operation last update time. If the operation is done, this is also the finish time.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2alphaCreateModelMetadata": { +"description": "Metadata associated with a create operation.", +"id": "GoogleCloudRetailV2alphaCreateModelMetadata", +"properties": { +"model": { +"description": "The resource name of the model that this create applies to. Format: `projects/{project_number}/locations/{location_id}/catalogs/{catalog_id}/models/{model_id}`", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2alphaEnrollSolutionMetadata": { +"description": "Metadata related to the EnrollSolution method. This will be returned by the google.longrunning.Operation.metadata field.", +"id": "GoogleCloudRetailV2alphaEnrollSolutionMetadata", +"properties": {}, +"type": "object" +}, +"GoogleCloudRetailV2alphaEnrollSolutionResponse": { +"description": "Response for EnrollSolution method.", +"id": "GoogleCloudRetailV2alphaEnrollSolutionResponse", +"properties": { +"enrolledSolution": { +"description": "Retail API solution that the project has enrolled.", +"enum": [ +"SOLUTION_TYPE_UNSPECIFIED", +"SOLUTION_TYPE_RECOMMENDATION", +"SOLUTION_TYPE_SEARCH" +], +"enumDescriptions": [ +"Default value.", +"Used for Recommendations AI.", +"Used for Retail Search." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2alphaExportAnalyticsMetricsResponse": { +"description": "Response of the ExportAnalyticsMetricsRequest. If the long running operation was successful, then this message is returned by the google.longrunning.Operations.response field if the operation was successful.", +"id": "GoogleCloudRetailV2alphaExportAnalyticsMetricsResponse", +"properties": { +"errorSamples": { +"description": "A sample of errors encountered while processing the request.", +"items": { +"$ref": "GoogleRpcStatus" +}, +"type": "array" +}, +"errorsConfig": { +"$ref": "GoogleCloudRetailV2alphaExportErrorsConfig", +"description": "This field is never set." +}, +"outputResult": { +"$ref": "GoogleCloudRetailV2alphaOutputResult", +"description": "Output result indicating where the data were exported to." +} +}, +"type": "object" +}, +"GoogleCloudRetailV2alphaExportErrorsConfig": { +"description": "Configuration of destination for Export related errors.", +"id": "GoogleCloudRetailV2alphaExportErrorsConfig", +"properties": { +"gcsPrefix": { +"description": "Google Cloud Storage path for import errors. This must be an empty, existing Cloud Storage bucket. Export errors will be written to a file in this bucket, one per line, as a JSON-encoded `google.rpc.Status` message.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2alphaExportMetadata": { +"description": "Metadata related to the progress of the Export operation. This is returned by the google.longrunning.Operation.metadata field.", +"id": "GoogleCloudRetailV2alphaExportMetadata", +"properties": { +"createTime": { +"description": "Operation create time.", +"format": "google-datetime", +"type": "string" +}, +"updateTime": { +"description": "Operation last update time. If the operation is done, this is also the finish time.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2alphaExportProductsResponse": { +"description": "Response of the ExportProductsRequest. If the long running operation is done, then this message is returned by the google.longrunning.Operations.response field if the operation was successful.", +"id": "GoogleCloudRetailV2alphaExportProductsResponse", +"properties": { +"errorSamples": { +"description": "A sample of errors encountered while processing the request.", +"items": { +"$ref": "GoogleRpcStatus" +}, +"type": "array" +}, +"errorsConfig": { +"$ref": "GoogleCloudRetailV2alphaExportErrorsConfig", +"description": "This field is never set." +}, +"outputResult": { +"$ref": "GoogleCloudRetailV2alphaOutputResult", +"description": "Output result indicating where the data were exported to." +} +}, +"type": "object" +}, +"GoogleCloudRetailV2alphaExportUserEventsResponse": { +"description": "Response of the ExportUserEventsRequest. If the long running operation was successful, then this message is returned by the google.longrunning.Operations.response field if the operation was successful.", +"id": "GoogleCloudRetailV2alphaExportUserEventsResponse", +"properties": { +"errorSamples": { +"description": "A sample of errors encountered while processing the request.", +"items": { +"$ref": "GoogleRpcStatus" +}, +"type": "array" +}, +"errorsConfig": { +"$ref": "GoogleCloudRetailV2alphaExportErrorsConfig", +"description": "This field is never set." +}, +"outputResult": { +"$ref": "GoogleCloudRetailV2alphaOutputResult", +"description": "Output result indicating where the data were exported to." +} +}, +"type": "object" +}, +"GoogleCloudRetailV2alphaGcsOutputResult": { +"description": "A Gcs output result.", +"id": "GoogleCloudRetailV2alphaGcsOutputResult", +"properties": { +"outputUri": { +"description": "The uri of Gcs output", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2alphaImportCompletionDataResponse": { +"description": "Response of the ImportCompletionDataRequest. If the long running operation is done, this message is returned by the google.longrunning.Operations.response field if the operation is successful.", +"id": "GoogleCloudRetailV2alphaImportCompletionDataResponse", +"properties": { +"errorSamples": { +"description": "A sample of errors encountered while processing the request.", +"items": { +"$ref": "GoogleRpcStatus" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2alphaImportErrorsConfig": { +"description": "Configuration of destination for Import related errors.", +"id": "GoogleCloudRetailV2alphaImportErrorsConfig", +"properties": { +"gcsPrefix": { +"description": "Google Cloud Storage prefix for import errors. This must be an empty, existing Cloud Storage directory. Import errors are written to sharded files in this directory, one per line, as a JSON-encoded `google.rpc.Status` message.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2alphaImportMetadata": { +"description": "Metadata related to the progress of the Import operation. This is returned by the google.longrunning.Operation.metadata field.", +"id": "GoogleCloudRetailV2alphaImportMetadata", +"properties": { +"createTime": { +"description": "Operation create time.", +"format": "google-datetime", +"type": "string" +}, +"failureCount": { +"description": "Count of entries that encountered errors while processing.", +"format": "int64", +"type": "string" +}, +"notificationPubsubTopic": { +"description": "Pub/Sub topic for receiving notification. If this field is set, when the import is finished, a notification is sent to specified Pub/Sub topic. The message data is JSON string of a Operation. Format of the Pub/Sub topic is `projects/{project}/topics/{topic}`.", +"type": "string" +}, +"requestId": { +"deprecated": true, +"description": "Deprecated. This field is never set.", +"type": "string" +}, +"successCount": { +"description": "Count of entries that were processed successfully.", +"format": "int64", +"type": "string" +}, +"transformedUserEventsMetadata": { +"$ref": "GoogleCloudRetailV2alphaTransformedUserEventsMetadata", +"description": "Metadata related to transform user events." +}, +"updateTime": { +"description": "Operation last update time. If the operation is done, this is also the finish time.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2alphaImportProductsResponse": { +"description": "Response of the ImportProductsRequest. If the long running operation is done, then this message is returned by the google.longrunning.Operations.response field if the operation was successful.", +"id": "GoogleCloudRetailV2alphaImportProductsResponse", +"properties": { +"errorSamples": { +"description": "A sample of errors encountered while processing the request.", +"items": { +"$ref": "GoogleRpcStatus" +}, +"type": "array" +}, +"errorsConfig": { +"$ref": "GoogleCloudRetailV2alphaImportErrorsConfig", +"description": "Echoes the destination for the complete errors in the request if set." +} +}, +"type": "object" +}, +"GoogleCloudRetailV2alphaImportUserEventsResponse": { +"description": "Response of the ImportUserEventsRequest. If the long running operation was successful, then this message is returned by the google.longrunning.Operations.response field if the operation was successful.", +"id": "GoogleCloudRetailV2alphaImportUserEventsResponse", +"properties": { +"errorSamples": { +"description": "A sample of errors encountered while processing the request.", +"items": { +"$ref": "GoogleRpcStatus" +}, +"type": "array" +}, +"errorsConfig": { +"$ref": "GoogleCloudRetailV2alphaImportErrorsConfig", +"description": "Echoes the destination for the complete errors if this field was set in the request." +}, +"importSummary": { +"$ref": "GoogleCloudRetailV2alphaUserEventImportSummary", +"description": "Aggregated statistics of user event import status." +} +}, +"type": "object" +}, +"GoogleCloudRetailV2alphaMerchantCenterAccountLink": { +"description": "Represents a link between a Merchant Center account and a branch. After a link is established, products from the linked Merchant Center account are streamed to the linked branch.", +"id": "GoogleCloudRetailV2alphaMerchantCenterAccountLink", +"properties": { +"branchId": { +"description": "Required. The branch ID (e.g. 0/1/2) within the catalog that products from merchant_center_account_id are streamed to. When updating this field, an empty value will use the currently configured default branch. However, changing the default branch later on won't change the linked branch here. A single branch ID can only have one linked Merchant Center account ID.", +"type": "string" +}, +"feedFilters": { +"description": "Criteria for the Merchant Center feeds to be ingested via the link. All offers will be ingested if the list is empty. Otherwise the offers will be ingested from selected feeds.", +"items": { +"$ref": "GoogleCloudRetailV2alphaMerchantCenterAccountLinkMerchantCenterFeedFilter" +}, +"type": "array" +}, +"feedLabel": { +"description": "The FeedLabel used to perform filtering. Note: this replaces [region_id](https://developers.google.com/shopping-content/reference/rest/v2.1/products#Product.FIELDS.feed_label). Example value: `US`. Example value: `FeedLabel1`.", +"type": "string" +}, +"id": { +"description": "Output only. Immutable. MerchantCenterAccountLink identifier, which is the final component of name. This field is auto generated and follows the convention: `BranchId_MerchantCenterAccountId`. `projects/*/locations/global/catalogs/default_catalog/merchantCenterAccountLinks/id_1`.", +"readOnly": true, +"type": "string" +}, +"languageCode": { +"description": "Language of the title/description and other string attributes. Use language tags defined by [BCP 47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt). ISO 639-1. This specifies the language of offers in Merchant Center that will be accepted. If empty, no language filtering will be performed. Example value: `en`.", +"type": "string" +}, +"merchantCenterAccountId": { +"description": "Required. The linked [Merchant center account id](https://developers.google.com/shopping-content/guides/accountstatuses). The account must be a standalone account or a sub-account of a MCA.", +"format": "int64", +"type": "string" +}, +"name": { +"description": "Output only. Immutable. Full resource name of the Merchant Center Account Link, such as `projects/*/locations/global/catalogs/default_catalog/merchantCenterAccountLinks/merchant_center_account_link`.", +"readOnly": true, +"type": "string" +}, +"projectId": { +"description": "Output only. Google Cloud project ID.", +"readOnly": true, +"type": "string" +}, +"source": { +"description": "Optional. An optional arbitrary string that could be used as a tag for tracking link source.", +"type": "string" +}, +"state": { +"description": "Output only. Represents the state of the link.", +"enum": [ +"STATE_UNSPECIFIED", +"PENDING", +"ACTIVE", +"FAILED" +], +"enumDescriptions": [ +"Default value.", +"Link is created and LRO is not complete.", +"Link is active.", +"Link creation failed." +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2alphaMerchantCenterAccountLinkMerchantCenterFeedFilter": { +"description": "Merchant Center Feed filter criterion.", +"id": "GoogleCloudRetailV2alphaMerchantCenterAccountLinkMerchantCenterFeedFilter", +"properties": { +"dataSourceId": { +"description": "AFM data source ID.", +"format": "int64", +"type": "string" +}, +"primaryFeedId": { +"deprecated": true, +"description": "Merchant Center primary feed ID. Deprecated: use data_source_id instead.", +"format": "int64", +"type": "string" +}, +"primaryFeedName": { +"description": "Merchant Center primary feed name. The name is used for the display purposes only.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2alphaModel": { +"description": "Metadata that describes the training and serving parameters of a Model. A Model can be associated with a ServingConfig and then queried through the Predict API.", +"id": "GoogleCloudRetailV2alphaModel", +"properties": { +"createTime": { +"description": "Output only. Timestamp the Recommendation Model was created at.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"dataState": { +"description": "Output only. The state of data requirements for this model: `DATA_OK` and `DATA_ERROR`. Recommendation model cannot be trained if the data is in `DATA_ERROR` state. Recommendation model can have `DATA_ERROR` state even if serving state is `ACTIVE`: models were trained successfully before, but cannot be refreshed because model no longer has sufficient data for training.", +"enum": [ +"DATA_STATE_UNSPECIFIED", +"DATA_OK", +"DATA_ERROR" +], +"enumDescriptions": [ +"Unspecified default value, should never be explicitly set.", +"The model has sufficient training data.", +"The model does not have sufficient training data. Error messages can be queried via Stackdriver." +], +"readOnly": true, +"type": "string" +}, +"displayName": { +"description": "Required. The display name of the model. Should be human readable, used to display Recommendation Models in the Retail Cloud Console Dashboard. UTF-8 encoded string with limit of 1024 characters.", +"type": "string" +}, +"filteringOption": { +"description": "Optional. If `RECOMMENDATIONS_FILTERING_ENABLED`, recommendation filtering by attributes is enabled for the model.", +"enum": [ +"RECOMMENDATIONS_FILTERING_OPTION_UNSPECIFIED", +"RECOMMENDATIONS_FILTERING_DISABLED", +"RECOMMENDATIONS_FILTERING_ENABLED" +], +"enumDescriptions": [ +"Value used when unset. In this case, server behavior defaults to RECOMMENDATIONS_FILTERING_DISABLED.", +"Recommendation filtering is disabled.", +"Recommendation filtering is enabled." +], +"type": "string" +}, +"lastTuneTime": { +"description": "Output only. The timestamp when the latest successful tune finished.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"modelFeaturesConfig": { +"$ref": "GoogleCloudRetailV2alphaModelModelFeaturesConfig", +"description": "Optional. Additional model features config." +}, +"name": { +"description": "Required. The fully qualified resource name of the model. Format: `projects/{project_number}/locations/{location_id}/catalogs/{catalog_id}/models/{model_id}` catalog_id has char limit of 50. recommendation_model_id has char limit of 40.", +"type": "string" +}, +"optimizationObjective": { +"description": "Optional. The optimization objective e.g. `cvr`. Currently supported values: `ctr`, `cvr`, `revenue-per-order`. If not specified, we choose default based on model type. Default depends on type of recommendation: `recommended-for-you` => `ctr` `others-you-may-like` => `ctr` `frequently-bought-together` => `revenue_per_order` This field together with optimization_objective describe model metadata to use to control model training and serving. See https://cloud.google.com/retail/docs/models for more details on what the model metadata control and which combination of parameters are valid. For invalid combinations of parameters (e.g. type = `frequently-bought-together` and optimization_objective = `ctr`), you receive an error 400 if you try to create/update a recommendation with this set of knobs.", +"type": "string" +}, +"pageOptimizationConfig": { +"$ref": "GoogleCloudRetailV2alphaModelPageOptimizationConfig", +"description": "Optional. The page optimization config." +}, +"periodicTuningState": { +"description": "Optional. The state of periodic tuning. The period we use is 3 months - to do a one-off tune earlier use the `TuneModel` method. Default value is `PERIODIC_TUNING_ENABLED`.", +"enum": [ +"PERIODIC_TUNING_STATE_UNSPECIFIED", +"PERIODIC_TUNING_DISABLED", +"ALL_TUNING_DISABLED", +"PERIODIC_TUNING_ENABLED" +], +"enumDescriptions": [ +"Unspecified default value, should never be explicitly set.", +"The model has periodic tuning disabled. Tuning can be reenabled by calling the `EnableModelPeriodicTuning` method or by calling the `TuneModel` method.", +"The model cannot be tuned with periodic tuning OR the `TuneModel` method. Hide the options in customer UI and reject any requests through the backend self serve API.", +"The model has periodic tuning enabled. Tuning can be disabled by calling the `DisableModelPeriodicTuning` method." +], +"type": "string" +}, +"servingConfigLists": { +"description": "Output only. The list of valid serving configs associated with the PageOptimizationConfig.", +"items": { +"$ref": "GoogleCloudRetailV2alphaModelServingConfigList" +}, +"readOnly": true, +"type": "array" +}, +"servingState": { +"description": "Output only. The serving state of the model: `ACTIVE`, `NOT_ACTIVE`.", +"enum": [ +"SERVING_STATE_UNSPECIFIED", +"INACTIVE", +"ACTIVE", +"TUNED" +], +"enumDescriptions": [ +"Unspecified serving state.", +"The model is not serving.", +"The model is serving and can be queried.", +"The model is trained on tuned hyperparameters and can be queried." +], +"readOnly": true, +"type": "string" +}, +"trainingState": { +"description": "Optional. The training state that the model is in (e.g. `TRAINING` or `PAUSED`). Since part of the cost of running the service is frequency of training - this can be used to determine when to train model in order to control cost. If not specified: the default value for `CreateModel` method is `TRAINING`. The default value for `UpdateModel` method is to keep the state the same as before.", +"enum": [ +"TRAINING_STATE_UNSPECIFIED", +"PAUSED", +"TRAINING" +], +"enumDescriptions": [ +"Unspecified training state.", +"The model training is paused.", +"The model is training." +], +"type": "string" +}, +"tuningOperation": { +"description": "Output only. The tune operation associated with the model. Can be used to determine if there is an ongoing tune for this recommendation. Empty field implies no tune is goig on.", +"readOnly": true, +"type": "string" +}, +"type": { +"description": "Required. The type of model e.g. `home-page`. Currently supported values: `recommended-for-you`, `others-you-may-like`, `frequently-bought-together`, `page-optimization`, `similar-items`, `buy-it-again`, `on-sale-items`, and `recently-viewed`(readonly value). This field together with optimization_objective describe model metadata to use to control model training and serving. See https://cloud.google.com/retail/docs/models for more details on what the model metadata control and which combination of parameters are valid. For invalid combinations of parameters (e.g. type = `frequently-bought-together` and optimization_objective = `ctr`), you receive an error 400 if you try to create/update a recommendation with this set of knobs.", +"type": "string" +}, +"updateTime": { +"description": "Output only. Timestamp the Recommendation Model was last updated. E.g. if a Recommendation Model was paused - this would be the time the pause was initiated.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2alphaModelFrequentlyBoughtTogetherFeaturesConfig": { +"description": "Additional configs for the frequently-bought-together model type.", +"id": "GoogleCloudRetailV2alphaModelFrequentlyBoughtTogetherFeaturesConfig", +"properties": { +"contextProductsType": { +"description": "Optional. Specifies the context of the model when it is used in predict requests. Can only be set for the `frequently-bought-together` type. If it isn't specified, it defaults to MULTIPLE_CONTEXT_PRODUCTS.", +"enum": [ +"CONTEXT_PRODUCTS_TYPE_UNSPECIFIED", +"SINGLE_CONTEXT_PRODUCT", +"MULTIPLE_CONTEXT_PRODUCTS" +], +"enumDescriptions": [ +"Unspecified default value, should never be explicitly set. Defaults to MULTIPLE_CONTEXT_PRODUCTS.", +"Use only a single product as context for the recommendation. Typically used on pages like add-to-cart or product details.", +"Use one or multiple products as context for the recommendation. Typically used on shopping cart pages." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2alphaModelModelFeaturesConfig": { +"description": "Additional model features config.", +"id": "GoogleCloudRetailV2alphaModelModelFeaturesConfig", +"properties": { +"frequentlyBoughtTogetherConfig": { +"$ref": "GoogleCloudRetailV2alphaModelFrequentlyBoughtTogetherFeaturesConfig", +"description": "Additional configs for frequently-bought-together models." +} +}, +"type": "object" +}, +"GoogleCloudRetailV2alphaModelPageOptimizationConfig": { +"description": "The PageOptimizationConfig for model training. This determines how many panels to optimize for, and which serving configs to consider for each panel. The purpose of this model is to optimize which ServingConfig to show on which panels in way that optimizes the visitors shopping journey.", +"id": "GoogleCloudRetailV2alphaModelPageOptimizationConfig", +"properties": { +"pageOptimizationEventType": { +"description": "Required. The type of UserEvent this page optimization is shown for. Each page has an associated event type - this will be the corresponding event type for the page that the page optimization model is used on. Supported types: * `add-to-cart`: Products being added to cart. * `detail-page-view`: Products detail page viewed. * `home-page-view`: Homepage viewed * `category-page-view`: Homepage viewed * `shopping-cart-page-view`: User viewing a shopping cart. `home-page-view` only allows models with type `recommended-for-you`. All other page_optimization_event_type allow all Model.types.", +"type": "string" +}, +"panels": { +"description": "Required. A list of panel configurations. Limit = 5.", +"items": { +"$ref": "GoogleCloudRetailV2alphaModelPageOptimizationConfigPanel" +}, +"type": "array" +}, +"restriction": { +"description": "Optional. How to restrict results across panels e.g. can the same ServingConfig be shown on multiple panels at once. If unspecified, default to `UNIQUE_MODEL_RESTRICTION`.", +"enum": [ +"RESTRICTION_UNSPECIFIED", +"NO_RESTRICTION", +"UNIQUE_SERVING_CONFIG_RESTRICTION", +"UNIQUE_MODEL_RESTRICTION", +"UNIQUE_MODEL_TYPE_RESTRICTION" +], +"enumDescriptions": [ +"Unspecified value for restriction.", +"Allow any ServingConfig to be show on any number of panels. Example: `Panel1 candidates`: pdp_ctr, pdp_cvr, home_page_ctr_no_diversity `Panel2 candidates`: home_page_ctr_no_diversity, home_page_ctr_diversity, pdp_cvr_no_diversity `Restriction` = NO_RESTRICTION `Valid combinations`: * * (pdp_ctr, home_page_ctr_no_diversity) * (pdp_ctr, home_page_ctr_diversity) * (pdp_ctr, pdp_cvr_no_diversity) * (pdp_cvr, home_page_ctr_no_diversity) * (pdp_cvr, home_page_ctr_diversity) * (pdp_cvr, pdp_cvr_no_diversity) * (home_page_ctr_no_diversity, home_page_ctr_no_diversity) * (home_page_ctr_no_diversity, home_page_ctr_diversity) * (home_page_ctr_no_diversity, pdp_cvr_no_diversity) * `Invalid combinations`: []", +"Do not allow the same ServingConfig.name to be shown on multiple panels. Example: `Panel1 candidates`: * pdp_ctr, pdp_cvr, home_page_ctr_no_diversity * `Panel2 candidates`: * home_page_ctr_no_diversity, home_page_ctr_diversity_low, pdp_cvr_no_diversity * `Restriction` = `UNIQUE_SERVING_CONFIG_RESTRICTION` `Valid combinations`: * * (pdp_ctr, home_page_ctr_no_diversity) * (pdp_ctr, home_page_ctr_diversity_low) * (pdp_ctr, pdp_cvr_no_diversity) * (pdp_ctr, pdp_cvr_no_diversity) * (pdp_cvr, home_page_ctr_no_diversity) * (pdp_cvr, home_page_ctr_diversity_low) * (pdp_cvr, pdp_cvr_no_diversity) * (home_page_ctr_no_diversity, home_page_ctr_diversity_low) * (home_page_ctr_no_diversity, pdp_cvr_no_diversity) * `Invalid combinations`: * * (home_page_ctr_no_diversity, home_page_ctr_no_diversity) *", +"Do not allow multiple ServingConfigs with same Model.name to be show on on different panels. Example: `Panel1 candidates`: * pdp_ctr, pdp_cvr, home_page_ctr_no_diversity * `Panel2 candidates`: * home_page_ctr_no_diversity, home_page_ctr_diversity_low, pdp_cvr_no_diversity * `Restriction` = `UNIQUE_MODEL_RESTRICTION` `Valid combinations`: * * (pdp_ctr, home_page_ctr_no_diversity) * (pdp_ctr, home_page_ctr_diversity) * (pdp_ctr, pdp_cvr_no_diversity) * (pdp_ctr, pdp_cvr_no_diversity) * (pdp_cvr, home_page_ctr_no_diversity) * (pdp_cvr, home_page_ctr_diversity_low) * (home_page_ctr_no_diversity, pdp_cvr_no_diversity) * `Invalid combinations`: * * (home_page_ctr_no_diversity, home_page_ctr_no_diversity) * (pdp_cvr, pdp_cvr_no_diversity) *", +"Do not allow multiple ServingConfigs with same Model.type to be shown on different panels. Example: `Panel1 candidates`: * pdp_ctr, pdp_cvr, home_page_ctr_no_diversity * `Panel2 candidates`: * home_page_ctr_no_diversity, home_page_ctr_diversity_low, pdp_cvr_no_diversity * `Restriction` = `UNIQUE_MODEL_RESTRICTION` `Valid combinations`: * * (pdp_ctr, home_page_ctr_no_diversity) * (pdp_ctr, home_page_ctr_diversity) * (pdp_cvr, home_page_ctr_no_diversity) * (pdp_cvr, home_page_ctr_diversity_low) * (home_page_ctr_no_diversity, pdp_cvr_no_diversity) * `Invalid combinations`: * * (pdp_ctr, pdp_cvr_no_diversity) * (pdp_ctr, pdp_cvr_no_diversity) * (pdp_cvr, pdp_cvr_no_diversity) * (home_page_ctr_no_diversity, home_page_ctr_no_diversity) * (home_page_ctr_no_diversity, home_page_ctr_diversity) *" +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2alphaModelPageOptimizationConfigCandidate": { +"description": "A candidate to consider for a given panel. Currently only ServingConfig are valid candidates.", +"id": "GoogleCloudRetailV2alphaModelPageOptimizationConfigCandidate", +"properties": { +"servingConfigId": { +"description": "This has to be a valid ServingConfig identifier. For example, for a ServingConfig with full name: `projects/*/locations/global/catalogs/default_catalog/servingConfigs/my_candidate_config`, this would be `my_candidate_config`.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2alphaModelPageOptimizationConfigPanel": { +"description": "An individual panel with a list of ServingConfigs to consider for it.", +"id": "GoogleCloudRetailV2alphaModelPageOptimizationConfigPanel", +"properties": { +"candidates": { +"description": "Required. The candidates to consider on the panel.", +"items": { +"$ref": "GoogleCloudRetailV2alphaModelPageOptimizationConfigCandidate" +}, +"type": "array" +}, +"defaultCandidate": { +"$ref": "GoogleCloudRetailV2alphaModelPageOptimizationConfigCandidate", +"description": "Required. The default candidate. If the model fails at serving time, we fall back to the default." +}, +"displayName": { +"description": "Optional. The name to display for the panel.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2alphaModelServingConfigList": { +"description": "Represents an ordered combination of valid serving configs, which can be used for `PAGE_OPTIMIZATION` recommendations.", +"id": "GoogleCloudRetailV2alphaModelServingConfigList", +"properties": { +"servingConfigIds": { +"description": "Optional. A set of valid serving configs that may be used for `PAGE_OPTIMIZATION`.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2alphaOutputResult": { +"description": "Output result that stores the information about where the exported data is stored.", +"id": "GoogleCloudRetailV2alphaOutputResult", +"properties": { +"bigqueryResult": { +"description": "The BigQuery location where the result is stored.", +"items": { +"$ref": "GoogleCloudRetailV2alphaBigQueryOutputResult" +}, +"type": "array" +}, +"gcsResult": { +"description": "The Google Cloud Storage location where the result is stored.", +"items": { +"$ref": "GoogleCloudRetailV2alphaGcsOutputResult" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2alphaPurgeMetadata": { +"description": "Metadata related to the progress of the Purge operation. This will be returned by the google.longrunning.Operation.metadata field.", +"id": "GoogleCloudRetailV2alphaPurgeMetadata", +"properties": {}, +"type": "object" +}, +"GoogleCloudRetailV2alphaPurgeProductsMetadata": { +"description": "Metadata related to the progress of the PurgeProducts operation. This will be returned by the google.longrunning.Operation.metadata field.", +"id": "GoogleCloudRetailV2alphaPurgeProductsMetadata", +"properties": { +"createTime": { +"description": "Operation create time.", +"format": "google-datetime", +"type": "string" +}, +"failureCount": { +"description": "Count of entries that encountered errors while processing.", +"format": "int64", +"type": "string" +}, +"successCount": { +"description": "Count of entries that were deleted successfully.", +"format": "int64", +"type": "string" +}, +"updateTime": { +"description": "Operation last update time. If the operation is done, this is also the finish time.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2alphaPurgeProductsResponse": { +"description": "Response of the PurgeProductsRequest. If the long running operation is successfully done, then this message is returned by the google.longrunning.Operations.response field.", +"id": "GoogleCloudRetailV2alphaPurgeProductsResponse", +"properties": { +"purgeCount": { +"description": "The total count of products purged as a result of the operation.", +"format": "int64", +"type": "string" +}, +"purgeSample": { +"description": "A sample of the product names that will be deleted. Only populated if `force` is set to false. A max of 100 names will be returned and the names are chosen at random.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2alphaPurgeUserEventsResponse": { +"description": "Response of the PurgeUserEventsRequest. If the long running operation is successfully done, then this message is returned by the google.longrunning.Operations.response field.", +"id": "GoogleCloudRetailV2alphaPurgeUserEventsResponse", +"properties": { +"purgedEventsCount": { +"description": "The total count of events purged as a result of the operation.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2alphaRejoinUserEventsMetadata": { +"description": "Metadata for `RejoinUserEvents` method.", +"id": "GoogleCloudRetailV2alphaRejoinUserEventsMetadata", +"properties": {}, +"type": "object" +}, +"GoogleCloudRetailV2alphaRejoinUserEventsResponse": { +"description": "Response message for `RejoinUserEvents` method.", +"id": "GoogleCloudRetailV2alphaRejoinUserEventsResponse", +"properties": { +"rejoinedUserEventsCount": { +"description": "Number of user events that were joined with latest product catalog.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2alphaRemoveFulfillmentPlacesMetadata": { +"description": "Metadata related to the progress of the RemoveFulfillmentPlaces operation. Currently empty because there is no meaningful metadata populated from the ProductService.RemoveFulfillmentPlaces method.", +"id": "GoogleCloudRetailV2alphaRemoveFulfillmentPlacesMetadata", +"properties": {}, +"type": "object" +}, +"GoogleCloudRetailV2alphaRemoveFulfillmentPlacesResponse": { +"description": "Response of the RemoveFulfillmentPlacesRequest. Currently empty because there is no meaningful response populated from the ProductService.RemoveFulfillmentPlaces method.", +"id": "GoogleCloudRetailV2alphaRemoveFulfillmentPlacesResponse", +"properties": {}, +"type": "object" +}, +"GoogleCloudRetailV2alphaRemoveLocalInventoriesMetadata": { +"description": "Metadata related to the progress of the RemoveLocalInventories operation. Currently empty because there is no meaningful metadata populated from the ProductService.RemoveLocalInventories method.", +"id": "GoogleCloudRetailV2alphaRemoveLocalInventoriesMetadata", +"properties": {}, +"type": "object" +}, +"GoogleCloudRetailV2alphaRemoveLocalInventoriesResponse": { +"description": "Response of the ProductService.RemoveLocalInventories API. Currently empty because there is no meaningful response populated from the ProductService.RemoveLocalInventories method.", +"id": "GoogleCloudRetailV2alphaRemoveLocalInventoriesResponse", +"properties": {}, +"type": "object" +}, +"GoogleCloudRetailV2alphaSetInventoryMetadata": { +"description": "Metadata related to the progress of the SetInventory operation. Currently empty because there is no meaningful metadata populated from the ProductService.SetInventory method.", +"id": "GoogleCloudRetailV2alphaSetInventoryMetadata", +"properties": {}, +"type": "object" +}, +"GoogleCloudRetailV2alphaSetInventoryResponse": { +"description": "Response of the SetInventoryRequest. Currently empty because there is no meaningful response populated from the ProductService.SetInventory method.", +"id": "GoogleCloudRetailV2alphaSetInventoryResponse", +"properties": {}, +"type": "object" +}, +"GoogleCloudRetailV2alphaTransformedUserEventsMetadata": { +"description": "Metadata related to transform user events operation.", +"id": "GoogleCloudRetailV2alphaTransformedUserEventsMetadata", +"properties": { +"sourceEventsCount": { +"description": "Count of entries in the source user events BigQuery table.", +"format": "int64", +"type": "string" +}, +"transformedEventsCount": { +"description": "Count of entries in the transformed user events BigQuery table, which could be different from the actually imported number of user events.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2alphaTuneModelMetadata": { +"description": "Metadata associated with a tune operation.", +"id": "GoogleCloudRetailV2alphaTuneModelMetadata", +"properties": { +"model": { +"description": "The resource name of the model that this tune applies to. Format: `projects/{project_number}/locations/{location_id}/catalogs/{catalog_id}/models/{model_id}`", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2alphaTuneModelResponse": { +"description": "Response associated with a tune operation.", +"id": "GoogleCloudRetailV2alphaTuneModelResponse", +"properties": {}, +"type": "object" +}, +"GoogleCloudRetailV2alphaUserEventImportSummary": { +"description": "A summary of import result. The UserEventImportSummary summarizes the import status for user events.", +"id": "GoogleCloudRetailV2alphaUserEventImportSummary", +"properties": { +"joinedEventsCount": { +"description": "Count of user events imported with complete existing catalog information.", +"format": "int64", +"type": "string" +}, +"unjoinedEventsCount": { +"description": "Count of user events imported, but with catalog information not found in the imported catalog.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2betaAddCatalogAttributeRequest": { +"description": "Request for CatalogService.AddCatalogAttribute method.", +"id": "GoogleCloudRetailV2betaAddCatalogAttributeRequest", +"properties": { +"catalogAttribute": { +"$ref": "GoogleCloudRetailV2betaCatalogAttribute", +"description": "Required. The CatalogAttribute to add." +} +}, +"type": "object" +}, +"GoogleCloudRetailV2betaAddControlRequest": { +"description": "Request for AddControl method.", +"id": "GoogleCloudRetailV2betaAddControlRequest", +"properties": { +"controlId": { +"description": "Required. The id of the control to apply. Assumed to be in the same catalog as the serving config - if id is not found a NOT_FOUND error is returned.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2betaAddFulfillmentPlacesMetadata": { +"description": "Metadata related to the progress of the AddFulfillmentPlaces operation. Currently empty because there is no meaningful metadata populated from the ProductService.AddFulfillmentPlaces method.", +"id": "GoogleCloudRetailV2betaAddFulfillmentPlacesMetadata", +"properties": {}, +"type": "object" +}, +"GoogleCloudRetailV2betaAddFulfillmentPlacesRequest": { +"description": "Request message for ProductService.AddFulfillmentPlaces method.", +"id": "GoogleCloudRetailV2betaAddFulfillmentPlacesRequest", +"properties": { +"addTime": { +"description": "The time when the fulfillment updates are issued, used to prevent out-of-order updates on fulfillment information. If not provided, the internal system time will be used.", +"format": "google-datetime", +"type": "string" +}, +"allowMissing": { +"description": "If set to true, and the Product is not found, the fulfillment information will still be processed and retained for at most 1 day and processed once the Product is created. If set to false, a NOT_FOUND error is returned if the Product is not found.", +"type": "boolean" +}, +"placeIds": { +"description": "Required. The IDs for this type, such as the store IDs for \"pickup-in-store\" or the region IDs for \"same-day-delivery\" to be added for this type. Duplicate IDs will be automatically ignored. At least 1 value is required, and a maximum of 2000 values are allowed. Each value must be a string with a length limit of 10 characters, matching the pattern `[a-zA-Z0-9_-]+`, such as \"store1\" or \"REGION-2\". Otherwise, an INVALID_ARGUMENT error is returned. If the total number of place IDs exceeds 2000 for this type after adding, then the update will be rejected.", +"items": { +"type": "string" +}, +"type": "array" +}, +"type": { +"description": "Required. The fulfillment type, including commonly used types (such as pickup in store and same day delivery), and custom types. Supported values: * \"pickup-in-store\" * \"ship-to-store\" * \"same-day-delivery\" * \"next-day-delivery\" * \"custom-type-1\" * \"custom-type-2\" * \"custom-type-3\" * \"custom-type-4\" * \"custom-type-5\" If this field is set to an invalid value other than these, an INVALID_ARGUMENT error is returned. This field directly corresponds to Product.fulfillment_info.type.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2betaAddFulfillmentPlacesResponse": { +"description": "Response of the AddFulfillmentPlacesRequest. Currently empty because there is no meaningful response populated from the ProductService.AddFulfillmentPlaces method.", +"id": "GoogleCloudRetailV2betaAddFulfillmentPlacesResponse", +"properties": {}, +"type": "object" +}, +"GoogleCloudRetailV2betaAddLocalInventoriesMetadata": { +"description": "Metadata related to the progress of the AddLocalInventories operation. Currently empty because there is no meaningful metadata populated from the ProductService.AddLocalInventories method.", +"id": "GoogleCloudRetailV2betaAddLocalInventoriesMetadata", +"properties": {}, +"type": "object" +}, +"GoogleCloudRetailV2betaAddLocalInventoriesRequest": { +"description": "Request message for ProductService.AddLocalInventories method.", +"id": "GoogleCloudRetailV2betaAddLocalInventoriesRequest", +"properties": { +"addMask": { +"description": "Indicates which inventory fields in the provided list of LocalInventory to update. The field is updated to the provided value. If a field is set while the place does not have a previous local inventory, the local inventory at that store is created. If a field is set while the value of that field is not provided, the original field value, if it exists, is deleted. If the mask is not set or set with empty paths, all inventory fields will be updated. If an unsupported or unknown field is provided, an INVALID_ARGUMENT error is returned and the entire update will be ignored.", +"format": "google-fieldmask", +"type": "string" +}, +"addTime": { +"description": "The time when the inventory updates are issued. Used to prevent out-of-order updates on local inventory fields. If not provided, the internal system time will be used.", +"format": "google-datetime", +"type": "string" +}, +"allowMissing": { +"description": "If set to true, and the Product is not found, the local inventory will still be processed and retained for at most 1 day and processed once the Product is created. If set to false, a NOT_FOUND error is returned if the Product is not found.", +"type": "boolean" +}, +"localInventories": { +"description": "Required. A list of inventory information at difference places. Each place is identified by its place ID. At most 3000 inventories are allowed per request.", +"items": { +"$ref": "GoogleCloudRetailV2betaLocalInventory" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2betaAddLocalInventoriesResponse": { +"description": "Response of the ProductService.AddLocalInventories API. Currently empty because there is no meaningful response populated from the ProductService.AddLocalInventories method.", +"id": "GoogleCloudRetailV2betaAddLocalInventoriesResponse", +"properties": {}, +"type": "object" +}, +"GoogleCloudRetailV2betaAlertConfig": { +"description": "Project level alert config.", +"id": "GoogleCloudRetailV2betaAlertConfig", +"properties": { +"alertPolicies": { +"description": "Alert policies for a customer. They must be unique by [AlertPolicy.alert_group]", +"items": { +"$ref": "GoogleCloudRetailV2betaAlertConfigAlertPolicy" +}, +"type": "array" +}, +"name": { +"description": "Required. Immutable. The name of the AlertConfig singleton resource. Format: projects/*/alertConfig", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2betaAlertConfigAlertPolicy": { +"description": "Alert policy for a customer.", +"id": "GoogleCloudRetailV2betaAlertConfigAlertPolicy", +"properties": { +"alertGroup": { +"description": "The feature that provides alerting capability. Supported value: - `search-data-quality` for retail search customers. - `conv-data-quality` for retail conversation customers.", +"type": "string" +}, +"enrollStatus": { +"description": "The enrollment status of a customer.", +"enum": [ +"ENROLL_STATUS_UNSPECIFIED", +"ENROLLED", +"DECLINED" +], +"enumDescriptions": [ +"Default value. Used for customers who have not responded to the alert policy.", +"Customer is enrolled in this policy.", +"Customer declined this policy." +], +"type": "string" +}, +"recipients": { +"description": "Recipients for the alert policy. One alert policy should not exceed 20 recipients.", +"items": { +"$ref": "GoogleCloudRetailV2betaAlertConfigAlertPolicyRecipient" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2betaAlertConfigAlertPolicyRecipient": { +"description": "Recipient contact information.", +"id": "GoogleCloudRetailV2betaAlertConfigAlertPolicyRecipient", +"properties": { +"emailAddress": { +"description": "Email address of the recipient.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2betaAttributesConfig": { +"description": "Catalog level attribute config.", +"id": "GoogleCloudRetailV2betaAttributesConfig", +"properties": { +"attributeConfigLevel": { +"description": "Output only. The AttributeConfigLevel used for this catalog.", +"enum": [ +"ATTRIBUTE_CONFIG_LEVEL_UNSPECIFIED", +"PRODUCT_LEVEL_ATTRIBUTE_CONFIG", +"CATALOG_LEVEL_ATTRIBUTE_CONFIG" +], +"enumDescriptions": [ +"Value used when unset. In this case, server behavior defaults to CATALOG_LEVEL_ATTRIBUTE_CONFIG.", +"At this level, we honor the attribute configurations set in Product.attributes.", +"At this level, we honor the attribute configurations set in `CatalogConfig.attribute_configs`." +], +"readOnly": true, +"type": "string" +}, +"catalogAttributes": { +"additionalProperties": { +"$ref": "GoogleCloudRetailV2betaCatalogAttribute" +}, +"description": "Enable attribute(s) config at catalog level. For example, indexable, dynamic_facetable, or searchable for each attribute. The key is catalog attribute's name. For example: `color`, `brands`, `attributes.custom_attribute`, such as `attributes.xyz`. The maximum number of catalog attributes allowed in a request is 1000.", +"type": "object" +}, +"name": { +"description": "Required. Immutable. The fully qualified resource name of the attribute config. Format: `projects/*/locations/*/catalogs/*/attributesConfig`", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2betaAudience": { +"description": "An intended audience of the Product for whom it's sold.", +"id": "GoogleCloudRetailV2betaAudience", +"properties": { +"ageGroups": { +"description": "The age groups of the audience. Strongly encouraged to use the standard values: \"newborn\" (up to 3 months old), \"infant\" (3\u201312 months old), \"toddler\" (1\u20135 years old), \"kids\" (5\u201313 years old), \"adult\" (typically teens or older). At most 5 values are allowed. Each value must be a UTF-8 encoded string with a length limit of 128 characters. Otherwise, an INVALID_ARGUMENT error is returned. Google Merchant Center property [age_group](https://support.google.com/merchants/answer/6324463). Schema.org property [Product.audience.suggestedMinAge](https://schema.org/suggestedMinAge) and [Product.audience.suggestedMaxAge](https://schema.org/suggestedMaxAge).", +"items": { +"type": "string" +}, +"type": "array" +}, +"genders": { +"description": "The genders of the audience. Strongly encouraged to use the standard values: \"male\", \"female\", \"unisex\". At most 5 values are allowed. Each value must be a UTF-8 encoded string with a length limit of 128 characters. Otherwise, an INVALID_ARGUMENT error is returned. Google Merchant Center property [gender](https://support.google.com/merchants/answer/6324479). Schema.org property [Product.audience.suggestedGender](https://schema.org/suggestedGender).", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2betaBatchRemoveCatalogAttributesRequest": { +"description": "Request for CatalogService.BatchRemoveCatalogAttributes method.", +"id": "GoogleCloudRetailV2betaBatchRemoveCatalogAttributesRequest", +"properties": { +"attributeKeys": { +"description": "Required. The attribute name keys of the CatalogAttributes to delete. A maximum of 1000 catalog attributes can be deleted in a batch.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2betaBatchRemoveCatalogAttributesResponse": { +"description": "Response of the CatalogService.BatchRemoveCatalogAttributes.", +"id": "GoogleCloudRetailV2betaBatchRemoveCatalogAttributesResponse", +"properties": { +"deletedCatalogAttributes": { +"description": "Catalog attributes that were deleted. Only pre-loaded catalog attributes that are neither in use by products nor predefined can be deleted.", +"items": { +"type": "string" +}, +"type": "array" +}, +"resetCatalogAttributes": { +"description": "Catalog attributes that were reset. Catalog attributes that are either in use by products or are predefined attributes cannot be deleted; however, their configuration properties will reset to default values upon removal request.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2betaBatchUpdateGenerativeQuestionConfigsRequest": { +"description": "Request for BatchUpdateGenerativeQuestionConfig method.", +"id": "GoogleCloudRetailV2betaBatchUpdateGenerativeQuestionConfigsRequest", +"properties": { +"requests": { +"description": "Required. The updates question configs.", +"items": { +"$ref": "GoogleCloudRetailV2betaUpdateGenerativeQuestionConfigRequest" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2betaBatchUpdateGenerativeQuestionConfigsResponse": { +"description": "Aggregated response for UpdateGenerativeQuestionConfig method.", +"id": "GoogleCloudRetailV2betaBatchUpdateGenerativeQuestionConfigsResponse", +"properties": { +"generativeQuestionConfigs": { +"description": "Optional. The updates question configs.", +"items": { +"$ref": "GoogleCloudRetailV2betaGenerativeQuestionConfig" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2betaBigQueryOutputResult": { +"description": "A BigQuery output result.", +"id": "GoogleCloudRetailV2betaBigQueryOutputResult", +"properties": { +"datasetId": { +"description": "The ID of a BigQuery Dataset.", +"type": "string" +}, +"tableId": { +"description": "The ID of a BigQuery Table.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2betaBigQuerySource": { +"description": "BigQuery source import data from.", +"id": "GoogleCloudRetailV2betaBigQuerySource", +"properties": { +"dataSchema": { +"description": "The schema to use when parsing the data from the source. Supported values for product imports: * `product` (default): One JSON Product per line. Each product must have a valid Product.id. * `product_merchant_center`: See [Importing catalog data from Merchant Center](https://cloud.google.com/retail/recommendations-ai/docs/upload-catalog#mc). Supported values for user events imports: * `user_event` (default): One JSON UserEvent per line. * `user_event_ga360`: The schema is available here: https://support.google.com/analytics/answer/3437719. * `user_event_ga4`: The schema is available here: https://support.google.com/analytics/answer/7029846. Supported values for autocomplete imports: * `suggestions` (default): One JSON completion suggestion per line. * `denylist`: One JSON deny suggestion per line. * `allowlist`: One JSON allow suggestion per line.", +"type": "string" +}, +"datasetId": { +"description": "Required. The BigQuery data set to copy the data from with a length limit of 1,024 characters.", +"type": "string" +}, +"gcsStagingDir": { +"description": "Intermediate Cloud Storage directory used for the import with a length limit of 2,000 characters. Can be specified if one wants to have the BigQuery export to a specific Cloud Storage directory.", +"type": "string" +}, +"partitionDate": { +"$ref": "GoogleTypeDate", +"description": "BigQuery time partitioned table's _PARTITIONDATE in YYYY-MM-DD format." +}, +"projectId": { +"description": "The project ID (can be project # or ID) that the BigQuery source is in with a length limit of 128 characters. If not specified, inherits the project ID from the parent request.", +"type": "string" +}, +"tableId": { +"description": "Required. The BigQuery table to copy the data from with a length limit of 1,024 characters.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2betaCatalog": { +"description": "The catalog configuration.", +"id": "GoogleCloudRetailV2betaCatalog", +"properties": { +"displayName": { +"description": "Required. Immutable. The catalog display name. This field must be a UTF-8 encoded string with a length limit of 128 characters. Otherwise, an INVALID_ARGUMENT error is returned.", +"type": "string" +}, +"merchantCenterLinkingConfig": { +"$ref": "GoogleCloudRetailV2betaMerchantCenterLinkingConfig", +"description": "The Merchant Center linking configuration. After a link is added, the data stream from Merchant Center to Cloud Retail will be enabled automatically. The requester must have access to the Merchant Center account in order to make changes to this field." +}, +"name": { +"description": "Required. Immutable. The fully qualified resource name of the catalog.", +"type": "string" +}, +"productLevelConfig": { +"$ref": "GoogleCloudRetailV2betaProductLevelConfig", +"description": "Required. The product level configuration." +} +}, +"type": "object" +}, +"GoogleCloudRetailV2betaCatalogAttribute": { +"description": "Catalog level attribute config for an attribute. For example, if customers want to enable/disable facet for a specific attribute.", +"id": "GoogleCloudRetailV2betaCatalogAttribute", +"properties": { +"dynamicFacetableOption": { +"description": "If DYNAMIC_FACETABLE_ENABLED, attribute values are available for dynamic facet. Could only be DYNAMIC_FACETABLE_DISABLED if CatalogAttribute.indexable_option is INDEXABLE_DISABLED. Otherwise, an INVALID_ARGUMENT error is returned. Must be specified, otherwise throws INVALID_FORMAT error.", +"enum": [ +"DYNAMIC_FACETABLE_OPTION_UNSPECIFIED", +"DYNAMIC_FACETABLE_ENABLED", +"DYNAMIC_FACETABLE_DISABLED" +], +"enumDescriptions": [ +"Value used when unset.", +"Dynamic facetable option enabled for an attribute.", +"Dynamic facetable option disabled for an attribute." +], +"type": "string" +}, +"exactSearchableOption": { +"description": "If EXACT_SEARCHABLE_ENABLED, attribute values will be exact searchable. This property only applies to textual custom attributes and requires indexable set to enabled to enable exact-searchable. If unset, the server behavior defaults to EXACT_SEARCHABLE_DISABLED.", +"enum": [ +"EXACT_SEARCHABLE_OPTION_UNSPECIFIED", +"EXACT_SEARCHABLE_ENABLED", +"EXACT_SEARCHABLE_DISABLED" +], +"enumDescriptions": [ +"Value used when unset.", +"Exact searchable option enabled for an attribute.", +"Exact searchable option disabled for an attribute." +], +"type": "string" +}, +"facetConfig": { +"$ref": "GoogleCloudRetailV2betaCatalogAttributeFacetConfig", +"description": "Contains facet options." +}, +"inUse": { +"description": "Output only. Indicates whether this attribute has been used by any products. `True` if at least one Product is using this attribute in Product.attributes. Otherwise, this field is `False`. CatalogAttribute can be pre-loaded by using CatalogService.AddCatalogAttribute or CatalogService.UpdateAttributesConfig APIs. This field is `False` for pre-loaded CatalogAttributes. Only pre-loaded catalog attributes that are neither in use by products nor predefined can be deleted. Catalog attributes that are either in use by products or are predefined attributes cannot be deleted; however, their configuration properties will reset to default values upon removal request. After catalog changes, it takes about 10 minutes for this field to update.", +"readOnly": true, +"type": "boolean" +}, +"indexableOption": { +"description": "When AttributesConfig.attribute_config_level is CATALOG_LEVEL_ATTRIBUTE_CONFIG, if INDEXABLE_ENABLED attribute values are indexed so that it can be filtered, faceted, or boosted in SearchService.Search. Must be specified when AttributesConfig.attribute_config_level is CATALOG_LEVEL_ATTRIBUTE_CONFIG, otherwise throws INVALID_FORMAT error.", +"enum": [ +"INDEXABLE_OPTION_UNSPECIFIED", +"INDEXABLE_ENABLED", +"INDEXABLE_DISABLED" +], +"enumDescriptions": [ +"Value used when unset.", +"Indexable option enabled for an attribute.", +"Indexable option disabled for an attribute." +], +"type": "string" +}, +"key": { +"description": "Required. Attribute name. For example: `color`, `brands`, `attributes.custom_attribute`, such as `attributes.xyz`. To be indexable, the attribute name can contain only alpha-numeric characters and underscores. For example, an attribute named `attributes.abc_xyz` can be indexed, but an attribute named `attributes.abc-xyz` cannot be indexed. If the attribute key starts with `attributes.`, then the attribute is a custom attribute. Attributes such as `brands`, `patterns`, and `title` are built-in and called system attributes.", +"type": "string" +}, +"recommendationsFilteringOption": { +"description": "When AttributesConfig.attribute_config_level is CATALOG_LEVEL_ATTRIBUTE_CONFIG, if RECOMMENDATIONS_FILTERING_ENABLED, attribute values are filterable for recommendations. This option works for categorical features only, does not work for numerical features, inventory filtering.", +"enum": [ +"RECOMMENDATIONS_FILTERING_OPTION_UNSPECIFIED", +"RECOMMENDATIONS_FILTERING_DISABLED", +"RECOMMENDATIONS_FILTERING_ENABLED" +], +"enumDescriptions": [ +"Value used when unset. In this case, server behavior defaults to RECOMMENDATIONS_FILTERING_DISABLED.", +"Recommendation filtering is disabled.", +"Recommendation filtering is enabled." +], +"type": "string" +}, +"retrievableOption": { +"description": "If RETRIEVABLE_ENABLED, attribute values are retrievable in the search results. If unset, the server behavior defaults to RETRIEVABLE_DISABLED.", +"enum": [ +"RETRIEVABLE_OPTION_UNSPECIFIED", +"RETRIEVABLE_ENABLED", +"RETRIEVABLE_DISABLED" +], +"enumDescriptions": [ +"Value used when unset.", +"Retrievable option enabled for an attribute.", +"Retrievable option disabled for an attribute." +], +"type": "string" +}, +"searchableOption": { +"description": "When AttributesConfig.attribute_config_level is CATALOG_LEVEL_ATTRIBUTE_CONFIG, if SEARCHABLE_ENABLED, attribute values are searchable by text queries in SearchService.Search. If SEARCHABLE_ENABLED but attribute type is numerical, attribute values will not be searchable by text queries in SearchService.Search, as there are no text values associated to numerical attributes. Must be specified, when AttributesConfig.attribute_config_level is CATALOG_LEVEL_ATTRIBUTE_CONFIG, otherwise throws INVALID_FORMAT error.", +"enum": [ +"SEARCHABLE_OPTION_UNSPECIFIED", +"SEARCHABLE_ENABLED", +"SEARCHABLE_DISABLED" +], +"enumDescriptions": [ +"Value used when unset.", +"Searchable option enabled for an attribute.", +"Searchable option disabled for an attribute." +], +"type": "string" +}, +"type": { +"description": "Output only. The type of this attribute. This is derived from the attribute in Product.attributes.", +"enum": [ +"UNKNOWN", +"TEXTUAL", +"NUMERICAL" +], +"enumDescriptions": [ +"The type of the attribute is unknown. Used when type cannot be derived from attribute that is not in_use.", +"Textual attribute.", +"Numerical attribute." +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2betaCatalogAttributeFacetConfig": { +"description": "Possible options for the facet that corresponds to the current attribute config.", +"id": "GoogleCloudRetailV2betaCatalogAttributeFacetConfig", +"properties": { +"facetIntervals": { +"description": "If you don't set the facet SearchRequest.FacetSpec.FacetKey.intervals in the request to a numerical attribute, then we use the computed intervals with rounded bounds obtained from all its product numerical attribute values. The computed intervals might not be ideal for some attributes. Therefore, we give you the option to overwrite them with the facet_intervals field. The maximum of facet intervals per CatalogAttribute is 40. Each interval must have a lower bound or an upper bound. If both bounds are provided, then the lower bound must be smaller or equal than the upper bound.", +"items": { +"$ref": "GoogleCloudRetailV2betaInterval" +}, +"type": "array" +}, +"ignoredFacetValues": { +"description": "Each instance represents a list of attribute values to ignore as facet values for a specific time range. The maximum number of instances per CatalogAttribute is 25.", +"items": { +"$ref": "GoogleCloudRetailV2betaCatalogAttributeFacetConfigIgnoredFacetValues" +}, +"type": "array" +}, +"mergedFacet": { +"$ref": "GoogleCloudRetailV2betaCatalogAttributeFacetConfigMergedFacet", +"description": "Use this field only if you want to merge a facet key into another facet key." +}, +"mergedFacetValues": { +"description": "Each instance replaces a list of facet values by a merged facet value. If a facet value is not in any list, then it will stay the same. To avoid conflicts, only paths of length 1 are accepted. In other words, if \"dark_blue\" merged into \"BLUE\", then the latter can't merge into \"blues\" because this would create a path of length 2. The maximum number of instances of MergedFacetValue per CatalogAttribute is 100. This feature is available only for textual custom attributes.", +"items": { +"$ref": "GoogleCloudRetailV2betaCatalogAttributeFacetConfigMergedFacetValue" +}, +"type": "array" +}, +"rerankConfig": { +"$ref": "GoogleCloudRetailV2betaCatalogAttributeFacetConfigRerankConfig", +"description": "Set this field only if you want to rerank based on facet values engaged by the user for the current key. This option is only possible for custom facetable textual keys." +} +}, +"type": "object" +}, +"GoogleCloudRetailV2betaCatalogAttributeFacetConfigIgnoredFacetValues": { +"description": "Facet values to ignore on facets during the specified time range for the given SearchResponse.Facet.key attribute.", +"id": "GoogleCloudRetailV2betaCatalogAttributeFacetConfigIgnoredFacetValues", +"properties": { +"endTime": { +"description": "If start time is empty and end time is not empty, then ignore these facet values before end time.", +"format": "google-datetime", +"type": "string" +}, +"startTime": { +"description": "Time range for the current list of facet values to ignore. If multiple time ranges are specified for an facet value for the current attribute, consider all of them. If both are empty, ignore always. If start time and end time are set, then start time must be before end time. If start time is not empty and end time is empty, then will ignore these facet values after the start time.", +"format": "google-datetime", +"type": "string" +}, +"values": { +"description": "List of facet values to ignore for the following time range. The facet values are the same as the attribute values. There is a limit of 10 values per instance of IgnoredFacetValues. Each value can have at most 128 characters.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2betaCatalogAttributeFacetConfigMergedFacet": { +"description": "The current facet key (i.e. attribute config) maps into the merged_facet_key. A facet key can have at most one child. The current facet key and the merged facet key need both to be textual custom attributes or both numerical custom attributes (same type).", +"id": "GoogleCloudRetailV2betaCatalogAttributeFacetConfigMergedFacet", +"properties": { +"mergedFacetKey": { +"description": "The merged facet key should be a valid facet key that is different than the facet key of the current catalog attribute. We refer this is merged facet key as the child of the current catalog attribute. This merged facet key can't be a parent of another facet key (i.e. no directed path of length 2). This merged facet key needs to be either a textual custom attribute or a numerical custom attribute.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2betaCatalogAttributeFacetConfigMergedFacetValue": { +"description": "Replaces a set of textual facet values by the same (possibly different) merged facet value. Each facet value should appear at most once as a value per CatalogAttribute. This feature is available only for textual custom attributes.", +"id": "GoogleCloudRetailV2betaCatalogAttributeFacetConfigMergedFacetValue", +"properties": { +"mergedValue": { +"description": "All the previous values are replaced by this merged facet value. This merged_value must be non-empty and can have up to 128 characters.", +"type": "string" +}, +"values": { +"description": "All the facet values that are replaces by the same merged_value that follows. The maximum number of values per MergedFacetValue is 25. Each value can have up to 128 characters.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2betaCatalogAttributeFacetConfigRerankConfig": { +"description": "Options to rerank based on facet values engaged by the user for the current key. That key needs to be a custom textual key and facetable. To use this control, you also need to pass all the facet keys engaged by the user in the request using the field [SearchRequest.FacetSpec]. In particular, if you don't pass the facet keys engaged that you want to rerank on, this control won't be effective. Moreover, to obtain better results, the facet values that you want to rerank on should be close to English (ideally made of words, underscores, and spaces).", +"id": "GoogleCloudRetailV2betaCatalogAttributeFacetConfigRerankConfig", +"properties": { +"facetValues": { +"description": "If empty, rerank on all facet values for the current key. Otherwise, will rerank on the facet values from this list only.", +"items": { +"type": "string" +}, +"type": "array" +}, +"rerankFacet": { +"description": "If set to true, then we also rerank the dynamic facets based on the facet values engaged by the user for the current attribute key during serving.", +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2betaCollectUserEventRequest": { +"description": "Request message for CollectUserEvent method.", +"id": "GoogleCloudRetailV2betaCollectUserEventRequest", +"properties": { +"ets": { +"description": "The event timestamp in milliseconds. This prevents browser caching of otherwise identical get requests. The name is abbreviated to reduce the payload bytes.", +"format": "int64", +"type": "string" +}, +"prebuiltRule": { +"description": "The prebuilt rule name that can convert a specific type of raw_json. For example: \"ga4_bq\" rule for the GA4 user event schema.", +"type": "string" +}, +"rawJson": { +"description": "An arbitrary serialized JSON string that contains necessary information that can comprise a user event. When this field is specified, the user_event field will be ignored. Note: line-delimited JSON is not supported, a single JSON only.", +"type": "string" +}, +"uri": { +"description": "The URL including cgi-parameters but excluding the hash fragment with a length limit of 5,000 characters. This is often more useful than the referer URL, because many browsers only send the domain for 3rd party requests.", +"type": "string" +}, +"userEvent": { +"description": "Required. URL encoded UserEvent proto with a length limit of 2,000,000 characters.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2betaColorInfo": { +"description": "The color information of a Product.", +"id": "GoogleCloudRetailV2betaColorInfo", +"properties": { +"colorFamilies": { +"description": "The standard color families. Strongly recommended to use the following standard color groups: \"Red\", \"Pink\", \"Orange\", \"Yellow\", \"Purple\", \"Green\", \"Cyan\", \"Blue\", \"Brown\", \"White\", \"Gray\", \"Black\" and \"Mixed\". Normally it is expected to have only 1 color family. May consider using single \"Mixed\" instead of multiple values. A maximum of 5 values are allowed. Each value must be a UTF-8 encoded string with a length limit of 128 characters. Otherwise, an INVALID_ARGUMENT error is returned. Google Merchant Center property [color](https://support.google.com/merchants/answer/6324487). Schema.org property [Product.color](https://schema.org/color). The colorFamilies field as a system attribute is not a required field but strongly recommended to be specified. Google Search models treat this field as more important than a custom product attribute when specified.", +"items": { +"type": "string" +}, +"type": "array" +}, +"colors": { +"description": "The color display names, which may be different from standard color family names, such as the color aliases used in the website frontend. Normally it is expected to have only 1 color. May consider using single \"Mixed\" instead of multiple values. A maximum of 75 colors are allowed. Each value must be a UTF-8 encoded string with a length limit of 128 characters. Otherwise, an INVALID_ARGUMENT error is returned. Google Merchant Center property [color](https://support.google.com/merchants/answer/6324487). Schema.org property [Product.color](https://schema.org/color).", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2betaCompleteQueryResponse": { +"description": "Response of the autocomplete query.", +"id": "GoogleCloudRetailV2betaCompleteQueryResponse", +"properties": { +"attributeResults": { +"additionalProperties": { +"$ref": "GoogleCloudRetailV2betaCompleteQueryResponseAttributeResult" +}, +"description": "A map of matched attribute suggestions. This field is only available for `cloud-retail` dataset. Current supported keys: * `brands` * `categories`", +"type": "object" +}, +"attributionToken": { +"description": "A unique complete token. This should be included in the UserEvent.completion_detail for search events resulting from this completion, which enables accurate attribution of complete model performance.", +"type": "string" +}, +"completionResults": { +"description": "Results of the matching suggestions. The result list is ordered and the first result is top suggestion.", +"items": { +"$ref": "GoogleCloudRetailV2betaCompleteQueryResponseCompletionResult" +}, +"type": "array" +}, +"recentSearchResults": { +"deprecated": true, +"description": "Deprecated. Matched recent searches of this user. The maximum number of recent searches is 10. This field is a restricted feature. If you want to enable it, contact Retail Search support. This feature is only available when CompleteQueryRequest.visitor_id field is set and UserEvent is imported. The recent searches satisfy the follow rules: * They are ordered from latest to oldest. * They are matched with CompleteQueryRequest.query case insensitively. * They are transformed to lower case. * They are UTF-8 safe. Recent searches are deduplicated. More recent searches will be reserved when duplication happens.", +"items": { +"$ref": "GoogleCloudRetailV2betaCompleteQueryResponseRecentSearchResult" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2betaCompleteQueryResponseAttributeResult": { +"description": "Resource that represents attribute results.", +"id": "GoogleCloudRetailV2betaCompleteQueryResponseAttributeResult", +"properties": { +"suggestions": { +"description": "The list of suggestions for the attribute.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2betaCompleteQueryResponseCompletionResult": { +"description": "Resource that represents completion results.", +"id": "GoogleCloudRetailV2betaCompleteQueryResponseCompletionResult", +"properties": { +"attributes": { +"additionalProperties": { +"$ref": "GoogleCloudRetailV2betaCustomAttribute" +}, +"description": "Custom attributes for the suggestion term. * For `user-data`, the attributes are additional custom attributes ingested through BigQuery. * For `cloud-retail`, the attributes are product attributes generated by Cloud Retail. It requires UserEvent.product_details is imported properly.", +"type": "object" +}, +"suggestion": { +"description": "The suggestion for the query.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2betaCompleteQueryResponseRecentSearchResult": { +"deprecated": true, +"description": "Deprecated: Recent search of this user.", +"id": "GoogleCloudRetailV2betaCompleteQueryResponseRecentSearchResult", +"properties": { +"recentSearch": { +"description": "The recent search query.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2betaCompletionConfig": { +"description": "Catalog level autocomplete config for customers to customize autocomplete feature's settings.", +"id": "GoogleCloudRetailV2betaCompletionConfig", +"properties": { +"allowlistInputConfig": { +"$ref": "GoogleCloudRetailV2betaCompletionDataInputConfig", +"description": "Output only. The source data for the latest import of the autocomplete allowlist phrases.", +"readOnly": true +}, +"autoLearning": { +"description": "If set to true, the auto learning function is enabled. Auto learning uses user data to generate suggestions using ML techniques. Default value is false. Only after enabling auto learning can users use `cloud-retail` data in CompleteQueryRequest.", +"type": "boolean" +}, +"denylistInputConfig": { +"$ref": "GoogleCloudRetailV2betaCompletionDataInputConfig", +"description": "Output only. The source data for the latest import of the autocomplete denylist phrases.", +"readOnly": true +}, +"lastAllowlistImportOperation": { +"description": "Output only. Name of the LRO corresponding to the latest allowlist import. Can use GetOperation API to retrieve the latest state of the Long Running Operation.", +"readOnly": true, +"type": "string" +}, +"lastDenylistImportOperation": { +"description": "Output only. Name of the LRO corresponding to the latest denylist import. Can use GetOperation API to retrieve the latest state of the Long Running Operation.", +"readOnly": true, +"type": "string" +}, +"lastSuggestionsImportOperation": { +"description": "Output only. Name of the LRO corresponding to the latest suggestion terms list import. Can use GetOperation API method to retrieve the latest state of the Long Running Operation.", +"readOnly": true, +"type": "string" +}, +"matchingOrder": { +"description": "Specifies the matching order for autocomplete suggestions, e.g., a query consisting of 'sh' with 'out-of-order' specified would suggest \"women's shoes\", whereas a query of 'red s' with 'exact-prefix' specified would suggest \"red shoes\". Currently supported values: * 'out-of-order' * 'exact-prefix' Default value: 'exact-prefix'.", +"type": "string" +}, +"maxSuggestions": { +"description": "The maximum number of autocomplete suggestions returned per term. Default value is 20. If left unset or set to 0, then will fallback to default value. Value range is 1 to 20.", +"format": "int32", +"type": "integer" +}, +"minPrefixLength": { +"description": "The minimum number of characters needed to be typed in order to get suggestions. Default value is 2. If left unset or set to 0, then will fallback to default value. Value range is 1 to 20.", +"format": "int32", +"type": "integer" +}, +"name": { +"description": "Required. Immutable. Fully qualified name `projects/*/locations/*/catalogs/*/completionConfig`", +"type": "string" +}, +"suggestionsInputConfig": { +"$ref": "GoogleCloudRetailV2betaCompletionDataInputConfig", +"description": "Output only. The source data for the latest import of the autocomplete suggestion phrases.", +"readOnly": true +} +}, +"type": "object" +}, +"GoogleCloudRetailV2betaCompletionDataInputConfig": { +"description": "The input config source for completion data.", +"id": "GoogleCloudRetailV2betaCompletionDataInputConfig", +"properties": { +"bigQuerySource": { +"$ref": "GoogleCloudRetailV2betaBigQuerySource", +"description": "Required. BigQuery input source. Add the IAM permission \"BigQuery Data Viewer\" for cloud-retail-customer-data-access@system.gserviceaccount.com before using this feature otherwise an error is thrown." +} +}, +"type": "object" +}, +"GoogleCloudRetailV2betaCompletionDetail": { +"description": "Detailed completion information including completion attribution token and clicked completion info.", +"id": "GoogleCloudRetailV2betaCompletionDetail", +"properties": { +"completionAttributionToken": { +"description": "Completion attribution token in CompleteQueryResponse.attribution_token.", +"type": "string" +}, +"selectedPosition": { +"description": "End user selected CompleteQueryResponse.CompletionResult.suggestion position, starting from 0.", +"format": "int32", +"type": "integer" +}, +"selectedSuggestion": { +"description": "End user selected CompleteQueryResponse.CompletionResult.suggestion.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2betaCondition": { +"description": "Metadata that is used to define a condition that triggers an action. A valid condition must specify at least one of 'query_terms' or 'products_filter'. If multiple fields are specified, the condition is met if all the fields are satisfied e.g. if a set of query terms and product_filter are set, then only items matching the product_filter for requests with a query matching the query terms wil get boosted.", +"id": "GoogleCloudRetailV2betaCondition", +"properties": { +"activeTimeRange": { +"description": "Range of time(s) specifying when Condition is active. Condition true if any time range matches.", +"items": { +"$ref": "GoogleCloudRetailV2betaConditionTimeRange" +}, +"type": "array" +}, +"pageCategories": { +"description": "Used to support browse uses cases. A list (up to 10 entries) of categories or departments. The format should be the same as UserEvent.page_categories;", +"items": { +"type": "string" +}, +"type": "array" +}, +"queryTerms": { +"description": "A list (up to 10 entries) of terms to match the query on. If not specified, match all queries. If many query terms are specified, the condition is matched if any of the terms is a match (i.e. using the OR operator).", +"items": { +"$ref": "GoogleCloudRetailV2betaConditionQueryTerm" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2betaConditionQueryTerm": { +"description": "Query terms that we want to match on.", +"id": "GoogleCloudRetailV2betaConditionQueryTerm", +"properties": { +"fullMatch": { +"description": "Whether this is supposed to be a full or partial match.", +"type": "boolean" +}, +"value": { +"description": "The value of the term to match on. Value cannot be empty. Value can have at most 3 terms if specified as a partial match. Each space separated string is considered as one term. For example, \"a b c\" is 3 terms and allowed, but \" a b c d\" is 4 terms and not allowed for a partial match.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2betaConditionTimeRange": { +"description": "Used for time-dependent conditions. Example: Want to have rule applied for week long sale.", +"id": "GoogleCloudRetailV2betaConditionTimeRange", +"properties": { +"endTime": { +"description": "End of time range. Range is inclusive.", +"format": "google-datetime", +"type": "string" +}, +"startTime": { +"description": "Start of time range. Range is inclusive.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2betaControl": { +"description": "Configures dynamic metadata that can be linked to a ServingConfig and affect search or recommendation results at serving time.", +"id": "GoogleCloudRetailV2betaControl", +"properties": { +"associatedServingConfigIds": { +"description": "Output only. List of serving config ids that are associated with this control in the same Catalog. Note the association is managed via the ServingConfig, this is an output only denormalized view.", +"items": { +"type": "string" +}, +"readOnly": true, +"type": "array" +}, +"displayName": { +"description": "Required. The human readable control display name. Used in Retail UI. This field must be a UTF-8 encoded string with a length limit of 128 characters. Otherwise, an INVALID_ARGUMENT error is thrown.", +"type": "string" +}, +"name": { +"description": "Immutable. Fully qualified name `projects/*/locations/global/catalogs/*/controls/*`", +"type": "string" +}, +"rule": { +"$ref": "GoogleCloudRetailV2betaRule", +"description": "A rule control - a condition-action pair. Enacts a set action when the condition is triggered. For example: Boost \"gShoe\" when query full matches \"Running Shoes\"." +}, +"searchSolutionUseCase": { +"description": "Specifies the use case for the control. Affects what condition fields can be set. Only settable by search controls. Will default to SEARCH_SOLUTION_USE_CASE_SEARCH if not specified. Currently only allow one search_solution_use_case per control.", +"items": { +"enum": [ +"SEARCH_SOLUTION_USE_CASE_UNSPECIFIED", +"SEARCH_SOLUTION_USE_CASE_SEARCH", +"SEARCH_SOLUTION_USE_CASE_BROWSE" +], +"enumDescriptions": [ +"The value when it's unspecified. In this case, server behavior defaults to SEARCH_SOLUTION_USE_CASE_SEARCH.", +"Search use case. Expects the traffic has a non-empty query.", +"Browse use case. Expects the traffic has an empty query." +], +"type": "string" +}, +"type": "array" +}, +"solutionTypes": { +"description": "Required. Immutable. The solution types that the control is used for. Currently we support setting only one type of solution at creation time. Only `SOLUTION_TYPE_SEARCH` value is supported at the moment. If no solution type is provided at creation time, will default to SOLUTION_TYPE_SEARCH.", +"items": { +"enum": [ +"SOLUTION_TYPE_UNSPECIFIED", +"SOLUTION_TYPE_RECOMMENDATION", +"SOLUTION_TYPE_SEARCH" +], +"enumDescriptions": [ +"Default value.", +"Used for Recommendations AI.", +"Used for Retail Search." +], +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2betaConversationalSearchCustomizationConfig": { +"description": "The public proto to represent the conversational search customization config. It will be converted to the internal proto in the backend.", +"id": "GoogleCloudRetailV2betaConversationalSearchCustomizationConfig", +"properties": { +"catalog": { +"description": "Required. Resource name of the catalog. Format: projects/{project}/locations/{location}/catalogs/{catalog}", +"type": "string" +}, +"intentClassificationConfig": { +"$ref": "GoogleCloudRetailV2betaIntentClassificationConfig", +"description": "Optional. The configs for intent classification." +}, +"retailerDisplayName": { +"description": "Optional. The retailer's display name that could be used in our LLM answers. Example - \"Google\"", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2betaConversationalSearchRequest": { +"description": "Request message for ConversationalSearchService.ConversationalSearch method.", +"id": "GoogleCloudRetailV2betaConversationalSearchRequest", +"properties": { +"branch": { +"description": "Required. The branch resource name, such as `projects/*/locations/global/catalogs/default_catalog/branches/0`. Use \"default_branch\" as the branch ID or leave this field empty, to search products under the default branch.", +"type": "string" +}, +"conversationId": { +"description": "Optional. This field specifies the conversation id, which maintains the state of the conversation between client side and server side. Use the value from the previous ConversationalSearchResponse.conversation_id. For the initial request, this should be empty.", +"type": "string" +}, +"conversationalFilteringSpec": { +"$ref": "GoogleCloudRetailV2betaConversationalSearchRequestConversationalFilteringSpec", +"description": "Optional. This field specifies all conversational filtering related parameters." +}, +"pageCategories": { +"description": "Optional. The categories associated with a category page. Must be set for category navigation queries to achieve good search quality. The format should be the same as UserEvent.page_categories; To represent the full path of category, use the '>' sign, with one space on each side, to separate different hierarchies. If '>' is part of the category name, replace it with other character(s). Category pages include special pages such as sales or promotions. For instance, a special sale page may have the category hierarchy: \"pageCategories\" : [\"Sales > 2017 Black Friday Deals\"].", +"items": { +"type": "string" +}, +"type": "array" +}, +"query": { +"description": "Optional. Raw search query to be searched for. If this field is empty, the request is considered a category browsing request.", +"type": "string" +}, +"safetySettings": { +"description": "Optional. The safety settings to be applied to the generated content.", +"items": { +"$ref": "GoogleCloudRetailV2betaSafetySetting" +}, +"type": "array" +}, +"searchParams": { +"$ref": "GoogleCloudRetailV2betaConversationalSearchRequestSearchParams", +"description": "Optional. Search parameters." +}, +"userInfo": { +"$ref": "GoogleCloudRetailV2betaUserInfo", +"description": "Optional. User information." +}, +"userLabels": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. The user labels applied to a resource must meet the following requirements: * Each resource can have multiple labels, up to a maximum of 64. * Each label must be a key-value pair. * Keys have a minimum length of 1 character and a maximum length of 63 characters and cannot be empty. Values can be empty and have a maximum length of 63 characters. * Keys and values can contain only lowercase letters, numeric characters, underscores, and dashes. All characters must use UTF-8 encoding, and international characters are allowed. * The key portion of a label must be unique. However, you can use the same key with multiple resources. * Keys must start with a lowercase letter or international character. See [Google Cloud Document](https://cloud.google.com/resource-manager/docs/creating-managing-labels#requirements) for more details.", +"type": "object" +}, +"visitorId": { +"description": "Required. A unique identifier for tracking visitors. For example, this could be implemented with an HTTP cookie, which should be able to uniquely identify a visitor on a single device. This unique identifier should not change if the visitor logs in or out of the website. This should be the same identifier as UserEvent.visitor_id. The field must be a UTF-8 encoded string with a length limit of 128 characters. Otherwise, an INVALID_ARGUMENT error is returned.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2betaConversationalSearchRequestConversationalFilteringSpec": { +"description": "This field specifies all conversational filtering related parameters addition to conversational retail search.", +"id": "GoogleCloudRetailV2betaConversationalSearchRequestConversationalFilteringSpec", +"properties": { +"conversationalFilteringMode": { +"description": "Optional. Mode to control Conversational Filtering. Defaults to Mode.DISABLED if it's unset.", +"enum": [ +"MODE_UNSPECIFIED", +"DISABLED", +"ENABLED", +"CONVERSATIONAL_FILTER_ONLY" +], +"enumDescriptions": [ +"Default value.", +"Disables Conversational Filtering when using Conversational Search.", +"Enables Conversational Filtering when using Conversational Search.", +"Enables Conversational Filtering without Conversational Search." +], +"type": "string" +}, +"enableConversationalFiltering": { +"deprecated": true, +"description": "Optional. This field is deprecated. Please use ConversationalFilteringSpec.conversational_filtering_mode instead.", +"type": "boolean" +}, +"userAnswer": { +"$ref": "GoogleCloudRetailV2betaConversationalSearchRequestUserAnswer", +"description": "Optional. This field specifies the current user answer during the conversational filtering search. It can be either user selected from suggested answers or user input plain text." +} +}, +"type": "object" +}, +"GoogleCloudRetailV2betaConversationalSearchRequestSearchParams": { +"description": "Search parameters.", +"id": "GoogleCloudRetailV2betaConversationalSearchRequestSearchParams", +"properties": { +"boostSpec": { +"$ref": "GoogleCloudRetailV2betaSearchRequestBoostSpec", +"description": "Optional. The boost spec to specify the boosting of search results. The syntax of the boost spec is the same as SearchRequest.boost_spec." +}, +"canonicalFilter": { +"description": "Optional. The canonical filter string to restrict search results. The syntax of the canonical filter string is the same as SearchRequest.canonical_filter.", +"type": "string" +}, +"filter": { +"description": "Optional. The filter string to restrict search results. The syntax of the filter string is the same as SearchRequest.filter.", +"type": "string" +}, +"sortBy": { +"description": "Optional. The sort string to specify the sorting of search results. The syntax of the sort string is the same as SearchRequest.order_by.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2betaConversationalSearchRequestUserAnswer": { +"description": "This field specifies the current user answer during the conversational filtering search. This can be either user selected from suggested answers or user input plain text.", +"id": "GoogleCloudRetailV2betaConversationalSearchRequestUserAnswer", +"properties": { +"selectedAnswer": { +"$ref": "GoogleCloudRetailV2betaConversationalSearchRequestUserAnswerSelectedAnswer", +"description": "Optional. This field specifies the selected answer during the conversational search. This should be a subset of ConversationalSearchResponse.FollowupQuestion.SuggestedAnswer." +}, +"textAnswer": { +"description": "This field specifies the incremental input text from the user during the conversational search.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2betaConversationalSearchRequestUserAnswerSelectedAnswer": { +"description": "This field specifies the selected answers during the conversational search.", +"id": "GoogleCloudRetailV2betaConversationalSearchRequestUserAnswerSelectedAnswer", +"properties": { +"productAttributeValue": { +"$ref": "GoogleCloudRetailV2betaProductAttributeValue", +"description": "Optional. This field specifies the selected answer which is a attribute key-value." +} +}, +"type": "object" +}, +"GoogleCloudRetailV2betaConversationalSearchResponse": { +"description": "Response message for ConversationalSearchService.ConversationalSearch method.", +"id": "GoogleCloudRetailV2betaConversationalSearchResponse", +"properties": { +"conversationId": { +"description": "Conversation UUID. This field will be stored in client side storage to maintain the conversation session with server and will be used for next search request's ConversationalSearchRequest.conversation_id to restore conversation state in server.", +"type": "string" +}, +"conversationalFilteringResult": { +"$ref": "GoogleCloudRetailV2betaConversationalSearchResponseConversationalFilteringResult", +"description": "This field specifies all related information that is needed on client side for UI rendering of conversational filtering search." +}, +"conversationalTextResponse": { +"description": "The conversational answer-based text response generated by the Server.", +"type": "string" +}, +"followupQuestion": { +"$ref": "GoogleCloudRetailV2betaConversationalSearchResponseFollowupQuestion", +"description": "The conversational followup question generated for Intent refinement." +}, +"refinedSearch": { +"description": "The proposed refined search queries. They can be used to fetch the relevant search results. When using CONVERSATIONAL_FILTER_ONLY mode, the refined_query from search response will be populated here.", +"items": { +"$ref": "GoogleCloudRetailV2betaConversationalSearchResponseRefinedSearch" +}, +"type": "array" +}, +"state": { +"description": "Output only. The state of the response generation.", +"enum": [ +"STATE_UNSPECIFIED", +"STREAMING", +"SUCCEEDED" +], +"enumDescriptions": [ +"Unknown.", +"Response generation is being streamed.", +"Response generation has succeeded." +], +"readOnly": true, +"type": "string" +}, +"userQueryTypes": { +"description": "The types Retail classifies the search query as. Supported values are: - \"ORDER_SUPPORT\" - \"SIMPLE_PRODUCT_SEARCH\" - \"INTENT_REFINEMENT\" - \"PRODUCT_DETAILS\" - \"PRODUCT_COMPARISON\" - \"DEALS_AND_COUPONS\" - \"STORE_RELEVANT\" - \"BLOCKLISTED\" - \"BEST_PRODUCT\" - \"RETAIL_SUPPORT\" - \"DISABLED\"", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2betaConversationalSearchResponseConversationalFilteringResult": { +"description": "This field specifies all related information that is needed on client side for UI rendering of conversational filtering search.", +"id": "GoogleCloudRetailV2betaConversationalSearchResponseConversationalFilteringResult", +"properties": { +"additionalFilter": { +"$ref": "GoogleCloudRetailV2betaConversationalSearchResponseConversationalFilteringResultAdditionalFilter", +"description": "This is the incremental additional filters implied from the current user answer. User should add the suggested addition filters to the previous ConversationalSearchRequest.SearchParams.filter and SearchRequest.filter, and use the merged filter in the follow up requests." +}, +"followupQuestion": { +"$ref": "GoogleCloudRetailV2betaConversationalSearchResponseFollowupQuestion", +"description": "The conversational filtering question." +} +}, +"type": "object" +}, +"GoogleCloudRetailV2betaConversationalSearchResponseConversationalFilteringResultAdditionalFilter": { +"description": "Additional filter that client side need to apply.", +"id": "GoogleCloudRetailV2betaConversationalSearchResponseConversationalFilteringResultAdditionalFilter", +"properties": { +"productAttributeValue": { +"$ref": "GoogleCloudRetailV2betaProductAttributeValue", +"description": "Product attribute value, including an attribute key and an attribute value. Other types can be added here in the future." +} +}, +"type": "object" +}, +"GoogleCloudRetailV2betaConversationalSearchResponseFollowupQuestion": { +"description": "The conversational followup question generated for Intent refinement.", +"id": "GoogleCloudRetailV2betaConversationalSearchResponseFollowupQuestion", +"properties": { +"followupQuestion": { +"description": "The conversational followup question generated for Intent refinement.", +"type": "string" +}, +"suggestedAnswers": { +"description": "The answer options provided to client for the follow-up question.", +"items": { +"$ref": "GoogleCloudRetailV2betaConversationalSearchResponseFollowupQuestionSuggestedAnswer" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2betaConversationalSearchResponseFollowupQuestionSuggestedAnswer": { +"description": "Suggested answers to the follow-up question. If it's numerical attribute, only ProductAttributeInterval will be set. If it's textual attribute, only productAttributeValue will be set.", +"id": "GoogleCloudRetailV2betaConversationalSearchResponseFollowupQuestionSuggestedAnswer", +"properties": { +"productAttributeValue": { +"$ref": "GoogleCloudRetailV2betaProductAttributeValue", +"description": "Product attribute value, including an attribute key and an attribute value. Other types can be added here in the future." +} +}, +"type": "object" +}, +"GoogleCloudRetailV2betaConversationalSearchResponseRefinedSearch": { +"description": "The proposed refined search for intent-refinement/bundled shopping conversation. When using CONVERSATIONAL_FILTER_ONLY mode, the refined_query from search response will be populated here.", +"id": "GoogleCloudRetailV2betaConversationalSearchResponseRefinedSearch", +"properties": { +"query": { +"description": "The query to be used for search.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2betaCreateModelMetadata": { +"description": "Metadata associated with a create operation.", +"id": "GoogleCloudRetailV2betaCreateModelMetadata", +"properties": { +"model": { +"description": "The resource name of the model that this create applies to. Format: `projects/{project_number}/locations/{location_id}/catalogs/{catalog_id}/models/{model_id}`", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2betaCustomAttribute": { +"description": "A custom attribute that is not explicitly modeled in Product.", +"id": "GoogleCloudRetailV2betaCustomAttribute", +"properties": { +"indexable": { +"deprecated": true, +"description": "This field is normally ignored unless AttributesConfig.attribute_config_level of the Catalog is set to the deprecated 'PRODUCT_LEVEL_ATTRIBUTE_CONFIG' mode. For information about product-level attribute configuration, see [Configuration modes](https://cloud.google.com/retail/docs/attribute-config#config-modes). If true, custom attribute values are indexed, so that they can be filtered, faceted or boosted in SearchService.Search. This field is ignored in a UserEvent. See SearchRequest.filter, SearchRequest.facet_specs and SearchRequest.boost_spec for more details.", +"type": "boolean" +}, +"numbers": { +"description": "The numerical values of this custom attribute. For example, `[2.3, 15.4]` when the key is \"lengths_cm\". Exactly one of text or numbers should be set. Otherwise, an INVALID_ARGUMENT error is returned.", +"items": { +"format": "double", +"type": "number" +}, +"type": "array" +}, +"searchable": { +"deprecated": true, +"description": "This field is normally ignored unless AttributesConfig.attribute_config_level of the Catalog is set to the deprecated 'PRODUCT_LEVEL_ATTRIBUTE_CONFIG' mode. For information about product-level attribute configuration, see [Configuration modes](https://cloud.google.com/retail/docs/attribute-config#config-modes). If true, custom attribute values are searchable by text queries in SearchService.Search. This field is ignored in a UserEvent. Only set if type text is set. Otherwise, a INVALID_ARGUMENT error is returned.", +"type": "boolean" +}, +"text": { +"description": "The textual values of this custom attribute. For example, `[\"yellow\", \"green\"]` when the key is \"color\". Empty string is not allowed. Otherwise, an INVALID_ARGUMENT error is returned. Exactly one of text or numbers should be set. Otherwise, an INVALID_ARGUMENT error is returned.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2betaDoubleList": { +"description": "A message with a list of double values.", +"id": "GoogleCloudRetailV2betaDoubleList", +"properties": { +"values": { +"description": "The list of double values.", +"items": { +"format": "double", +"type": "number" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2betaExperimentInfo": { +"description": "Metadata for active A/B testing experiment.", +"id": "GoogleCloudRetailV2betaExperimentInfo", +"properties": { +"experiment": { +"description": "The fully qualified resource name of the experiment that provides the serving config under test, should an active experiment exist. For example: `projects/*/locations/global/catalogs/default_catalog/experiments/experiment_id`", +"type": "string" +}, +"servingConfigExperiment": { +"$ref": "GoogleCloudRetailV2betaExperimentInfoServingConfigExperiment", +"description": "A/B test between existing Cloud Retail Search ServingConfigs." +} +}, +"type": "object" +}, +"GoogleCloudRetailV2betaExperimentInfoServingConfigExperiment": { +"description": "Metadata for active serving config A/B tests.", +"id": "GoogleCloudRetailV2betaExperimentInfoServingConfigExperiment", +"properties": { +"experimentServingConfig": { +"description": "The fully qualified resource name of the serving config `Experiment.VariantArm.serving_config_id` responsible for generating the search response. For example: `projects/*/locations/*/catalogs/*/servingConfigs/*`.", +"type": "string" +}, +"originalServingConfig": { +"description": "The fully qualified resource name of the original SearchRequest.placement in the search request prior to reassignment by experiment API. For example: `projects/*/locations/*/catalogs/*/servingConfigs/*`.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2betaExportAnalyticsMetricsRequest": { +"description": "Request message for the `ExportAnalyticsMetrics` method.", +"id": "GoogleCloudRetailV2betaExportAnalyticsMetricsRequest", +"properties": { +"filter": { +"description": "A filtering expression to specify restrictions on returned metrics. The expression is a sequence of terms. Each term applies a restriction to the returned metrics. Use this expression to restrict results to a specific time range. Currently we expect only one types of fields: * `timestamp`: This can be specified twice, once with a less than operator and once with a greater than operator. The `timestamp` restriction should result in one, contiguous, valid, `timestamp` range. Some examples of valid filters expressions: * Example 1: `timestamp > \"2012-04-23T18:25:43.511Z\" timestamp < \"2012-04-23T18:30:43.511Z\"` * Example 2: `timestamp > \"2012-04-23T18:25:43.511Z\"`", +"type": "string" +}, +"outputConfig": { +"$ref": "GoogleCloudRetailV2betaOutputConfig", +"description": "Required. The output location of the data. Only `bigquery_destination` is supported, and `bigquery_destination.table_type` must be set to `view`." +} +}, +"type": "object" +}, +"GoogleCloudRetailV2betaExportAnalyticsMetricsResponse": { +"description": "Response of the ExportAnalyticsMetricsRequest. If the long running operation was successful, then this message is returned by the google.longrunning.Operations.response field if the operation was successful.", +"id": "GoogleCloudRetailV2betaExportAnalyticsMetricsResponse", +"properties": { +"errorSamples": { +"description": "A sample of errors encountered while processing the request.", +"items": { +"$ref": "GoogleRpcStatus" +}, +"type": "array" +}, +"errorsConfig": { +"$ref": "GoogleCloudRetailV2betaExportErrorsConfig", +"description": "This field is never set." +}, +"outputResult": { +"$ref": "GoogleCloudRetailV2betaOutputResult", +"description": "Output result indicating where the data were exported to." +} +}, +"type": "object" +}, +"GoogleCloudRetailV2betaExportErrorsConfig": { +"description": "Configuration of destination for Export related errors.", +"id": "GoogleCloudRetailV2betaExportErrorsConfig", +"properties": { +"gcsPrefix": { +"description": "Google Cloud Storage path for import errors. This must be an empty, existing Cloud Storage bucket. Export errors will be written to a file in this bucket, one per line, as a JSON-encoded `google.rpc.Status` message.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2betaExportMetadata": { +"description": "Metadata related to the progress of the Export operation. This is returned by the google.longrunning.Operation.metadata field.", +"id": "GoogleCloudRetailV2betaExportMetadata", +"properties": { +"createTime": { +"description": "Operation create time.", +"format": "google-datetime", +"type": "string" +}, +"updateTime": { +"description": "Operation last update time. If the operation is done, this is also the finish time.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2betaExportProductsRequest": { +"description": "Request message for ExportProducts method.", +"id": "GoogleCloudRetailV2betaExportProductsRequest", +"properties": { +"filter": { +"deprecated": true, +"description": "Deprecated: This field is deprecated. Any filter provided will be ignored.", +"type": "string" +}, +"outputConfig": { +"$ref": "GoogleCloudRetailV2betaOutputConfig", +"description": "Required. The output location of the data. Only `bigquery_destination` is supported, and `bigquery_destination.table_type` must be set to `view`." +} +}, +"type": "object" +}, +"GoogleCloudRetailV2betaExportProductsResponse": { +"description": "Response of the ExportProductsRequest. If the long running operation is done, then this message is returned by the google.longrunning.Operations.response field if the operation was successful.", +"id": "GoogleCloudRetailV2betaExportProductsResponse", +"properties": { +"errorSamples": { +"description": "A sample of errors encountered while processing the request.", +"items": { +"$ref": "GoogleRpcStatus" +}, +"type": "array" +}, +"errorsConfig": { +"$ref": "GoogleCloudRetailV2betaExportErrorsConfig", +"description": "This field is never set." +}, +"outputResult": { +"$ref": "GoogleCloudRetailV2betaOutputResult", +"description": "Output result indicating where the data were exported to." +} +}, +"type": "object" +}, +"GoogleCloudRetailV2betaExportUserEventsRequest": { +"description": "Request message for the `ExportUserEvents` method.", +"id": "GoogleCloudRetailV2betaExportUserEventsRequest", +"properties": { +"filter": { +"deprecated": true, +"description": "Deprecated: This field is deprecated. Any filter provided will be ignored.", +"type": "string" +}, +"outputConfig": { +"$ref": "GoogleCloudRetailV2betaOutputConfig", +"description": "Required. The output location of the data. Only `bigquery_destination` is supported, and `bigquery_destination.table_type` must be set to `view`." +} +}, +"type": "object" +}, +"GoogleCloudRetailV2betaExportUserEventsResponse": { +"description": "Response of the ExportUserEventsRequest. If the long running operation was successful, then this message is returned by the google.longrunning.Operations.response field if the operation was successful.", +"id": "GoogleCloudRetailV2betaExportUserEventsResponse", +"properties": { +"errorSamples": { +"description": "A sample of errors encountered while processing the request.", +"items": { +"$ref": "GoogleRpcStatus" +}, +"type": "array" +}, +"errorsConfig": { +"$ref": "GoogleCloudRetailV2betaExportErrorsConfig", +"description": "This field is never set." +}, +"outputResult": { +"$ref": "GoogleCloudRetailV2betaOutputResult", +"description": "Output result indicating where the data were exported to." +} +}, +"type": "object" +}, +"GoogleCloudRetailV2betaFulfillmentInfo": { +"description": "Fulfillment information, such as the store IDs for in-store pickup or region IDs for different shipping methods.", +"id": "GoogleCloudRetailV2betaFulfillmentInfo", +"properties": { +"placeIds": { +"description": "The IDs for this type, such as the store IDs for FulfillmentInfo.type.pickup-in-store or the region IDs for FulfillmentInfo.type.same-day-delivery. A maximum of 3000 values are allowed. Each value must be a string with a length limit of 30 characters, matching the pattern `[a-zA-Z0-9_-]+`, such as \"store1\" or \"REGION-2\". Otherwise, an INVALID_ARGUMENT error is returned.", +"items": { +"type": "string" +}, +"type": "array" +}, +"type": { +"description": "The fulfillment type, including commonly used types (such as pickup in store and same day delivery), and custom types. Customers have to map custom types to their display names before rendering UI. Supported values: * \"pickup-in-store\" * \"ship-to-store\" * \"same-day-delivery\" * \"next-day-delivery\" * \"custom-type-1\" * \"custom-type-2\" * \"custom-type-3\" * \"custom-type-4\" * \"custom-type-5\" If this field is set to an invalid value other than these, an INVALID_ARGUMENT error is returned.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2betaGcsOutputResult": { +"description": "A Gcs output result.", +"id": "GoogleCloudRetailV2betaGcsOutputResult", +"properties": { +"outputUri": { +"description": "The uri of Gcs output", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2betaGcsSource": { +"description": "Google Cloud Storage location for input content.", +"id": "GoogleCloudRetailV2betaGcsSource", +"properties": { +"dataSchema": { +"description": "The schema to use when parsing the data from the source. Supported values for product imports: * `product` (default): One JSON Product per line. Each product must have a valid Product.id. * `product_merchant_center`: See [Importing catalog data from Merchant Center](https://cloud.google.com/retail/recommendations-ai/docs/upload-catalog#mc). Supported values for user events imports: * `user_event` (default): One JSON UserEvent per line. * `user_event_ga360`: Using https://support.google.com/analytics/answer/3437719. Supported values for control imports: * `control` (default): One JSON Control per line. Supported values for catalog attribute imports: * `catalog_attribute` (default): One CSV CatalogAttribute per line.", +"type": "string" +}, +"inputUris": { +"description": "Required. Google Cloud Storage URIs to input files. URI can be up to 2000 characters long. URIs can match the full object path (for example, `gs://bucket/directory/object.json`) or a pattern matching one or more files, such as `gs://bucket/directory/*.json`. A request can contain at most 100 files, and each file can be up to 2 GB. See [Importing product information](https://cloud.google.com/retail/recommendations-ai/docs/upload-catalog) for the expected file format and setup instructions.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2betaGenerativeQuestionConfig": { +"description": "Configuration for a single generated question.", +"id": "GoogleCloudRetailV2betaGenerativeQuestionConfig", +"properties": { +"allowedInConversation": { +"description": "Optional. Whether the question is asked at serving time.", +"type": "boolean" +}, +"catalog": { +"description": "Required. Resource name of the catalog. Format: projects/{project}/locations/{location}/catalogs/{catalog}", +"type": "string" +}, +"exampleValues": { +"description": "Output only. Values that can be used to answer the question.", +"items": { +"type": "string" +}, +"readOnly": true, +"type": "array" +}, +"facet": { +"description": "Required. The facet to which the question is associated.", +"type": "string" +}, +"finalQuestion": { +"description": "Optional. The question that will be used at serving time. Question can have a max length of 300 bytes. When not populated, generated_question should be used.", +"type": "string" +}, +"frequency": { +"description": "Output only. The ratio of how often a question was asked.", +"format": "float", +"readOnly": true, +"type": "number" +}, +"generatedQuestion": { +"description": "Output only. The LLM generated question.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2betaGenerativeQuestionsFeatureConfig": { +"description": "Configuration for overall generative question feature state.", +"id": "GoogleCloudRetailV2betaGenerativeQuestionsFeatureConfig", +"properties": { +"catalog": { +"description": "Required. Resource name of the affected catalog. Format: projects/{project}/locations/{location}/catalogs/{catalog}", +"type": "string" +}, +"featureEnabled": { +"description": "Optional. Determines whether questions will be used at serving time. Note: This feature cannot be enabled until initial data requirements are satisfied.", +"type": "boolean" +}, +"minimumProducts": { +"description": "Optional. Minimum number of products in the response to trigger follow-up questions. Value must be 0 or positive.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2betaGetDefaultBranchResponse": { +"description": "Response message of CatalogService.GetDefaultBranch.", +"id": "GoogleCloudRetailV2betaGetDefaultBranchResponse", +"properties": { +"branch": { +"description": "Full resource name of the branch id currently set as default branch.", +"type": "string" +}, +"note": { +"description": "This corresponds to SetDefaultBranchRequest.note field, when this branch was set as default.", +"type": "string" +}, +"setTime": { +"description": "The time when this branch is set to default.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2betaImage": { +"description": "Product image. Recommendations AI and Retail Search use product images to improve prediction and search results. Product images can be returned in results, and are shown in prediction or search previews in the console. Please try to provide correct product images and avoid using images with size too small.", +"id": "GoogleCloudRetailV2betaImage", +"properties": { +"height": { +"description": "Height of the image in number of pixels. This field must be nonnegative. Otherwise, an INVALID_ARGUMENT error is returned.", +"format": "int32", +"type": "integer" +}, +"uri": { +"description": "Required. URI of the image. This field must be a valid UTF-8 encoded URI with a length limit of 5,000 characters. Otherwise, an INVALID_ARGUMENT error is returned. Google Merchant Center property [image_link](https://support.google.com/merchants/answer/6324350). Schema.org property [Product.image](https://schema.org/image).", +"type": "string" +}, +"width": { +"description": "Width of the image in number of pixels. This field must be nonnegative. Otherwise, an INVALID_ARGUMENT error is returned.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2betaImportCompletionDataRequest": { +"description": "Request message for ImportCompletionData methods.", +"id": "GoogleCloudRetailV2betaImportCompletionDataRequest", +"properties": { +"inputConfig": { +"$ref": "GoogleCloudRetailV2betaCompletionDataInputConfig", +"description": "Required. The desired input location of the data." +}, +"notificationPubsubTopic": { +"description": "Pub/Sub topic for receiving notification. If this field is set, when the import is finished, a notification is sent to specified Pub/Sub topic. The message data is JSON string of a Operation. Format of the Pub/Sub topic is `projects/{project}/topics/{topic}`.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2betaImportCompletionDataResponse": { +"description": "Response of the ImportCompletionDataRequest. If the long running operation is done, this message is returned by the google.longrunning.Operations.response field if the operation is successful.", +"id": "GoogleCloudRetailV2betaImportCompletionDataResponse", +"properties": { +"errorSamples": { +"description": "A sample of errors encountered while processing the request.", +"items": { +"$ref": "GoogleRpcStatus" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2betaImportErrorsConfig": { +"description": "Configuration of destination for Import related errors.", +"id": "GoogleCloudRetailV2betaImportErrorsConfig", +"properties": { +"gcsPrefix": { +"description": "Google Cloud Storage prefix for import errors. This must be an empty, existing Cloud Storage directory. Import errors are written to sharded files in this directory, one per line, as a JSON-encoded `google.rpc.Status` message.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2betaImportMetadata": { +"description": "Metadata related to the progress of the Import operation. This is returned by the google.longrunning.Operation.metadata field.", +"id": "GoogleCloudRetailV2betaImportMetadata", +"properties": { +"createTime": { +"description": "Operation create time.", +"format": "google-datetime", +"type": "string" +}, +"failureCount": { +"description": "Count of entries that encountered errors while processing.", +"format": "int64", +"type": "string" +}, +"notificationPubsubTopic": { +"description": "Pub/Sub topic for receiving notification. If this field is set, when the import is finished, a notification is sent to specified Pub/Sub topic. The message data is JSON string of a Operation. Format of the Pub/Sub topic is `projects/{project}/topics/{topic}`.", +"type": "string" +}, +"requestId": { +"deprecated": true, +"description": "Deprecated. This field is never set.", +"type": "string" +}, +"successCount": { +"description": "Count of entries that were processed successfully.", +"format": "int64", +"type": "string" +}, +"updateTime": { +"description": "Operation last update time. If the operation is done, this is also the finish time.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2betaImportProductsRequest": { +"description": "Request message for Import methods.", +"id": "GoogleCloudRetailV2betaImportProductsRequest", +"properties": { +"errorsConfig": { +"$ref": "GoogleCloudRetailV2betaImportErrorsConfig", +"description": "The desired location of errors incurred during the Import." +}, +"inputConfig": { +"$ref": "GoogleCloudRetailV2betaProductInputConfig", +"description": "Required. The desired input location of the data." +}, +"notificationPubsubTopic": { +"description": "Full Pub/Sub topic name for receiving notification. If this field is set, when the import is finished, a notification is sent to specified Pub/Sub topic. The message data is JSON string of a Operation. Format of the Pub/Sub topic is `projects/{project}/topics/{topic}`. It has to be within the same project as ImportProductsRequest.parent. Make sure that both `cloud-retail-customer-data-access@system.gserviceaccount.com` and `service-@gcp-sa-retail.iam.gserviceaccount.com` have the `pubsub.topics.publish` IAM permission on the topic. Only supported when ImportProductsRequest.reconciliation_mode is set to `FULL`.", +"type": "string" +}, +"reconciliationMode": { +"description": "The mode of reconciliation between existing products and the products to be imported. Defaults to ReconciliationMode.INCREMENTAL.", +"enum": [ +"RECONCILIATION_MODE_UNSPECIFIED", +"INCREMENTAL", +"FULL" +], +"enumDescriptions": [ +"Defaults to INCREMENTAL.", +"Inserts new products or updates existing products.", +"Calculates diff and replaces the entire product dataset. Existing products may be deleted if they are not present in the source location." +], +"type": "string" +}, +"requestId": { +"deprecated": true, +"description": "Deprecated. This field has no effect.", +"type": "string" +}, +"updateMask": { +"description": "Indicates which fields in the provided imported `products` to update. If not set, all fields are updated. If provided, only the existing product fields are updated. Missing products will not be created.", +"format": "google-fieldmask", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2betaImportProductsResponse": { +"description": "Response of the ImportProductsRequest. If the long running operation is done, then this message is returned by the google.longrunning.Operations.response field if the operation was successful.", +"id": "GoogleCloudRetailV2betaImportProductsResponse", +"properties": { +"errorSamples": { +"description": "A sample of errors encountered while processing the request.", +"items": { +"$ref": "GoogleRpcStatus" +}, +"type": "array" +}, +"errorsConfig": { +"$ref": "GoogleCloudRetailV2betaImportErrorsConfig", +"description": "Echoes the destination for the complete errors in the request if set." +} +}, +"type": "object" +}, +"GoogleCloudRetailV2betaImportUserEventsRequest": { +"description": "Request message for the ImportUserEvents request.", +"id": "GoogleCloudRetailV2betaImportUserEventsRequest", +"properties": { +"errorsConfig": { +"$ref": "GoogleCloudRetailV2betaImportErrorsConfig", +"description": "The desired location of errors incurred during the Import. Cannot be set for inline user event imports." +}, +"inputConfig": { +"$ref": "GoogleCloudRetailV2betaUserEventInputConfig", +"description": "Required. The desired input location of the data." +} +}, +"type": "object" +}, +"GoogleCloudRetailV2betaImportUserEventsResponse": { +"description": "Response of the ImportUserEventsRequest. If the long running operation was successful, then this message is returned by the google.longrunning.Operations.response field if the operation was successful.", +"id": "GoogleCloudRetailV2betaImportUserEventsResponse", +"properties": { +"errorSamples": { +"description": "A sample of errors encountered while processing the request.", +"items": { +"$ref": "GoogleRpcStatus" +}, +"type": "array" +}, +"errorsConfig": { +"$ref": "GoogleCloudRetailV2betaImportErrorsConfig", +"description": "Echoes the destination for the complete errors if this field was set in the request." +}, +"importSummary": { +"$ref": "GoogleCloudRetailV2betaUserEventImportSummary", +"description": "Aggregated statistics of user event import status." +} +}, +"type": "object" +}, +"GoogleCloudRetailV2betaIntentClassificationConfig": { +"description": "The public proto to represent the intent classification config. It will be converted to the internal proto in the backend.", +"id": "GoogleCloudRetailV2betaIntentClassificationConfig", +"properties": { +"blocklistKeywords": { +"description": "Optional. A list of keywords that will be used to classify the query to the \"BLOCKLISTED\" intent type. The keywords are case insensitive.", +"items": { +"type": "string" +}, +"type": "array" +}, +"disabledIntentTypes": { +"description": "Optional. A list of intent types that will be disabled for this customer. The intent types must match one of the predefined intent types defined at https://cloud.google.com/retail/docs/reference/rpc/google.cloud.retail.v2alpha#querytype", +"items": { +"type": "string" +}, +"type": "array" +}, +"example": { +"description": "Optional. A list of examples for intent classification.", +"items": { +"$ref": "GoogleCloudRetailV2betaIntentClassificationConfigExample" +}, +"type": "array" +}, +"inlineSource": { +"$ref": "GoogleCloudRetailV2betaIntentClassificationConfigInlineSource", +"description": "Optional. Inline source for intent classifications." +}, +"modelPreamble": { +"description": "Optional. Customers can use the preamble to specify any requirements for blocklisting intent classification. This preamble will be added to the blocklisting intent classification model prompt.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2betaIntentClassificationConfigExample": { +"description": "An example for intent classification.", +"id": "GoogleCloudRetailV2betaIntentClassificationConfigExample", +"properties": { +"classifiedPositive": { +"description": "Required. Whether the example is classified positively.", +"type": "boolean" +}, +"intentType": { +"description": "Optional. The intent_type must match one of the predefined intent types defined at https://cloud.google.com/retail/docs/reference/rpc/google.cloud.retail.v2alpha#querytype", +"type": "string" +}, +"query": { +"description": "Required. Example query.", +"type": "string" +}, +"reason": { +"description": "Optional. The reason for the intent classification. This is used to explain the intent classification decision.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2betaIntentClassificationConfigInlineForceIntent": { +"description": "An inline force intent classification configuration.", +"id": "GoogleCloudRetailV2betaIntentClassificationConfigInlineForceIntent", +"properties": { +"intentType": { +"description": "Optional. The intent_type must match one of the predefined intent types defined at https://cloud.google.com/retail/docs/reference/rpc/google.cloud.retail.v2alpha#querytype", +"type": "string" +}, +"operation": { +"description": "Optional. The operation to perform for the query.", +"enum": [ +"OPERATION_UNSPECIFIED", +"EXACT_MATCH", +"CONTAINS" +], +"enumDescriptions": [ +"Unspecified match operation.", +"Exact match.", +"Contains match." +], +"type": "string" +}, +"query": { +"description": "Optional. A example query.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2betaIntentClassificationConfigInlineSource": { +"description": "Inline source for intent classifications.", +"id": "GoogleCloudRetailV2betaIntentClassificationConfigInlineSource", +"properties": { +"inlineForceIntents": { +"description": "Optional. A list of inline force intent classifications.", +"items": { +"$ref": "GoogleCloudRetailV2betaIntentClassificationConfigInlineForceIntent" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2betaInterval": { +"description": "A floating point interval.", +"id": "GoogleCloudRetailV2betaInterval", +"properties": { +"exclusiveMaximum": { +"description": "Exclusive upper bound.", +"format": "double", +"type": "number" +}, +"exclusiveMinimum": { +"description": "Exclusive lower bound.", +"format": "double", +"type": "number" +}, +"maximum": { +"description": "Inclusive upper bound.", +"format": "double", +"type": "number" +}, +"minimum": { +"description": "Inclusive lower bound.", +"format": "double", +"type": "number" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2betaListCatalogsResponse": { +"description": "Response for CatalogService.ListCatalogs method.", +"id": "GoogleCloudRetailV2betaListCatalogsResponse", +"properties": { +"catalogs": { +"description": "All the customer's Catalogs.", +"items": { +"$ref": "GoogleCloudRetailV2betaCatalog" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A token that can be sent as ListCatalogsRequest.page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2betaListControlsResponse": { +"description": "Response for ListControls method.", +"id": "GoogleCloudRetailV2betaListControlsResponse", +"properties": { +"controls": { +"description": "All the Controls for a given catalog.", +"items": { +"$ref": "GoogleCloudRetailV2betaControl" +}, +"type": "array" +}, +"nextPageToken": { +"description": "Pagination token, if not returned indicates the last page.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2betaListGenerativeQuestionConfigsResponse": { +"description": "Response for ListQuestions method.", +"id": "GoogleCloudRetailV2betaListGenerativeQuestionConfigsResponse", +"properties": { +"generativeQuestionConfigs": { +"description": "All the questions for a given catalog.", +"items": { +"$ref": "GoogleCloudRetailV2betaGenerativeQuestionConfig" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2betaListModelsResponse": { +"description": "Response to a ListModelRequest.", +"id": "GoogleCloudRetailV2betaListModelsResponse", +"properties": { +"models": { +"description": "List of Models.", +"items": { +"$ref": "GoogleCloudRetailV2betaModel" +}, +"type": "array" +}, +"nextPageToken": { +"description": "Pagination token, if not returned indicates the last page.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2betaListProductsResponse": { +"description": "Response message for ProductService.ListProducts method.", +"id": "GoogleCloudRetailV2betaListProductsResponse", +"properties": { +"nextPageToken": { +"description": "A token that can be sent as ListProductsRequest.page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.", +"type": "string" +}, +"products": { +"description": "The Products.", +"items": { +"$ref": "GoogleCloudRetailV2betaProduct" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2betaListServingConfigsResponse": { +"description": "Response for ListServingConfigs method.", +"id": "GoogleCloudRetailV2betaListServingConfigsResponse", +"properties": { +"nextPageToken": { +"description": "Pagination token, if not returned indicates the last page.", +"type": "string" +}, +"servingConfigs": { +"description": "All the ServingConfigs for a given catalog.", +"items": { +"$ref": "GoogleCloudRetailV2betaServingConfig" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2betaLocalInventory": { +"description": "The inventory information at a place (e.g. a store) identified by a place ID.", +"id": "GoogleCloudRetailV2betaLocalInventory", +"properties": { +"attributes": { +"additionalProperties": { +"$ref": "GoogleCloudRetailV2betaCustomAttribute" +}, +"description": "Optional. Additional local inventory attributes, for example, store name, promotion tags, etc. This field needs to pass all below criteria, otherwise an INVALID_ARGUMENT error is returned: * At most 30 attributes are allowed. * The key must be a UTF-8 encoded string with a length limit of 32 characters. * The key must match the pattern: `a-zA-Z0-9*`. For example, key0LikeThis or KEY_1_LIKE_THIS. * The attribute values must be of the same type (text or number). * Only 1 value is allowed for each attribute. * For text values, the length limit is 256 UTF-8 characters. * The attribute does not support search. The `searchable` field should be unset or set to false. * The max summed total bytes of custom attribute keys and values per product is 5MiB.", +"type": "object" +}, +"fulfillmentTypes": { +"description": "Optional. Supported fulfillment types. Valid fulfillment type values include commonly used types (such as pickup in store and same day delivery), and custom types. Customers have to map custom types to their display names before rendering UI. Supported values: * \"pickup-in-store\" * \"ship-to-store\" * \"same-day-delivery\" * \"next-day-delivery\" * \"custom-type-1\" * \"custom-type-2\" * \"custom-type-3\" * \"custom-type-4\" * \"custom-type-5\" If this field is set to an invalid value other than these, an INVALID_ARGUMENT error is returned. All the elements must be distinct. Otherwise, an INVALID_ARGUMENT error is returned.", +"items": { +"type": "string" +}, +"type": "array" +}, +"placeId": { +"description": "Optional. The place ID for the current set of inventory information.", +"type": "string" +}, +"priceInfo": { +"$ref": "GoogleCloudRetailV2betaPriceInfo", +"description": "Optional. Product price and cost information. Google Merchant Center property [price](https://support.google.com/merchants/answer/6324371)." +} +}, +"type": "object" +}, +"GoogleCloudRetailV2betaMerchantCenterFeedFilter": { +"description": "Merchant Center Feed filter criterion.", +"id": "GoogleCloudRetailV2betaMerchantCenterFeedFilter", +"properties": { +"dataSourceId": { +"description": "AFM data source ID.", +"format": "int64", +"type": "string" +}, +"primaryFeedId": { +"deprecated": true, +"description": "Merchant Center primary feed ID. Deprecated: use data_source_id instead.", +"format": "int64", +"type": "string" +}, +"primaryFeedName": { +"description": "Merchant Center primary feed name. The name is used for the display purposes only.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2betaMerchantCenterLink": { +"description": "Represents a link between a Merchant Center account and a branch. After a link is established, products from the linked Merchant Center account are streamed to the linked branch.", +"id": "GoogleCloudRetailV2betaMerchantCenterLink", +"properties": { +"branchId": { +"description": "The branch ID (e.g. 0/1/2) within this catalog that products from merchant_center_account_id are streamed to. When updating this field, an empty value will use the currently configured default branch. However, changing the default branch later on won't change the linked branch here. A single branch ID can only have one linked Merchant Center account ID.", +"type": "string" +}, +"destinations": { +"description": "String representing the destination to import for, all if left empty. List of possible values is given in [Included destination](https://support.google.com/merchants/answer/7501026). List of allowed string values: \"Shopping_ads\", \"Buy_on_google_listings\", \"Display_ads\", \"Local_inventory _ads\", \"Free_listings\", \"Free_local_listings\" NOTE: The string values are case sensitive.", +"items": { +"type": "string" +}, +"type": "array" +}, +"feeds": { +"description": "Criteria for the Merchant Center feeds to be ingested via the link. All offers will be ingested if the list is empty. Otherwise the offers will be ingested from selected feeds.", +"items": { +"$ref": "GoogleCloudRetailV2betaMerchantCenterFeedFilter" +}, +"type": "array" +}, +"languageCode": { +"description": "Language of the title/description and other string attributes. Use language tags defined by [BCP 47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt). ISO 639-1. This specifies the language of offers in Merchant Center that will be accepted. If empty no language filtering will be performed. Example value: `en`.", +"type": "string" +}, +"merchantCenterAccountId": { +"description": "Required. The linked [Merchant Center account ID](https://developers.google.com/shopping-content/guides/accountstatuses). The account must be a standalone account or a sub-account of a MCA.", +"format": "int64", +"type": "string" +}, +"regionCode": { +"description": "Region code of offers to accept. 2-letter Uppercase ISO 3166-1 alpha-2 code. List of values can be found [here](https://www.iana.org/assignments/language-subtag-registry/language-subtag-registry) under the `region` tag. If left blank no region filtering will be performed. Example value: `US`.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2betaMerchantCenterLinkingConfig": { +"description": "Configures Merchant Center linking. Links contained in the config will be used to sync data from a Merchant Center account to a Cloud Retail branch.", +"id": "GoogleCloudRetailV2betaMerchantCenterLinkingConfig", +"properties": { +"links": { +"description": "Links between Merchant Center accounts and branches.", +"items": { +"$ref": "GoogleCloudRetailV2betaMerchantCenterLink" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2betaModel": { +"description": "Metadata that describes the training and serving parameters of a Model. A Model can be associated with a ServingConfig and then queried through the Predict API.", +"id": "GoogleCloudRetailV2betaModel", +"properties": { +"createTime": { +"description": "Output only. Timestamp the Recommendation Model was created at.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"dataState": { +"description": "Output only. The state of data requirements for this model: `DATA_OK` and `DATA_ERROR`. Recommendation model cannot be trained if the data is in `DATA_ERROR` state. Recommendation model can have `DATA_ERROR` state even if serving state is `ACTIVE`: models were trained successfully before, but cannot be refreshed because model no longer has sufficient data for training.", +"enum": [ +"DATA_STATE_UNSPECIFIED", +"DATA_OK", +"DATA_ERROR" +], +"enumDescriptions": [ +"Unspecified default value, should never be explicitly set.", +"The model has sufficient training data.", +"The model does not have sufficient training data. Error messages can be queried via Stackdriver." +], +"readOnly": true, +"type": "string" +}, +"displayName": { +"description": "Required. The display name of the model. Should be human readable, used to display Recommendation Models in the Retail Cloud Console Dashboard. UTF-8 encoded string with limit of 1024 characters.", +"type": "string" +}, +"filteringOption": { +"description": "Optional. If `RECOMMENDATIONS_FILTERING_ENABLED`, recommendation filtering by attributes is enabled for the model.", +"enum": [ +"RECOMMENDATIONS_FILTERING_OPTION_UNSPECIFIED", +"RECOMMENDATIONS_FILTERING_DISABLED", +"RECOMMENDATIONS_FILTERING_ENABLED" +], +"enumDescriptions": [ +"Value used when unset. In this case, server behavior defaults to RECOMMENDATIONS_FILTERING_DISABLED.", +"Recommendation filtering is disabled.", +"Recommendation filtering is enabled." +], +"type": "string" +}, +"lastTuneTime": { +"description": "Output only. The timestamp when the latest successful tune finished.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"modelFeaturesConfig": { +"$ref": "GoogleCloudRetailV2betaModelModelFeaturesConfig", +"description": "Optional. Additional model features config." +}, +"name": { +"description": "Required. The fully qualified resource name of the model. Format: `projects/{project_number}/locations/{location_id}/catalogs/{catalog_id}/models/{model_id}` catalog_id has char limit of 50. recommendation_model_id has char limit of 40.", +"type": "string" +}, +"optimizationObjective": { +"description": "Optional. The optimization objective e.g. `cvr`. Currently supported values: `ctr`, `cvr`, `revenue-per-order`. If not specified, we choose default based on model type. Default depends on type of recommendation: `recommended-for-you` => `ctr` `others-you-may-like` => `ctr` `frequently-bought-together` => `revenue_per_order` This field together with optimization_objective describe model metadata to use to control model training and serving. See https://cloud.google.com/retail/docs/models for more details on what the model metadata control and which combination of parameters are valid. For invalid combinations of parameters (e.g. type = `frequently-bought-together` and optimization_objective = `ctr`), you receive an error 400 if you try to create/update a recommendation with this set of knobs.", +"type": "string" +}, +"periodicTuningState": { +"description": "Optional. The state of periodic tuning. The period we use is 3 months - to do a one-off tune earlier use the `TuneModel` method. Default value is `PERIODIC_TUNING_ENABLED`.", +"enum": [ +"PERIODIC_TUNING_STATE_UNSPECIFIED", +"PERIODIC_TUNING_DISABLED", +"ALL_TUNING_DISABLED", +"PERIODIC_TUNING_ENABLED" +], +"enumDescriptions": [ +"Unspecified default value, should never be explicitly set.", +"The model has periodic tuning disabled. Tuning can be reenabled by calling the `EnableModelPeriodicTuning` method or by calling the `TuneModel` method.", +"The model cannot be tuned with periodic tuning OR the `TuneModel` method. Hide the options in customer UI and reject any requests through the backend self serve API.", +"The model has periodic tuning enabled. Tuning can be disabled by calling the `DisableModelPeriodicTuning` method." +], +"type": "string" +}, +"servingConfigLists": { +"description": "Output only. The list of valid serving configs associated with the PageOptimizationConfig.", +"items": { +"$ref": "GoogleCloudRetailV2betaModelServingConfigList" +}, +"readOnly": true, +"type": "array" +}, +"servingState": { +"description": "Output only. The serving state of the model: `ACTIVE`, `NOT_ACTIVE`.", +"enum": [ +"SERVING_STATE_UNSPECIFIED", +"INACTIVE", +"ACTIVE", +"TUNED" +], +"enumDescriptions": [ +"Unspecified serving state.", +"The model is not serving.", +"The model is serving and can be queried.", +"The model is trained on tuned hyperparameters and can be queried." +], +"readOnly": true, +"type": "string" +}, +"trainingState": { +"description": "Optional. The training state that the model is in (e.g. `TRAINING` or `PAUSED`). Since part of the cost of running the service is frequency of training - this can be used to determine when to train model in order to control cost. If not specified: the default value for `CreateModel` method is `TRAINING`. The default value for `UpdateModel` method is to keep the state the same as before.", +"enum": [ +"TRAINING_STATE_UNSPECIFIED", +"PAUSED", +"TRAINING" +], +"enumDescriptions": [ +"Unspecified training state.", +"The model training is paused.", +"The model is training." +], +"type": "string" +}, +"tuningOperation": { +"description": "Output only. The tune operation associated with the model. Can be used to determine if there is an ongoing tune for this recommendation. Empty field implies no tune is goig on.", +"readOnly": true, +"type": "string" +}, +"type": { +"description": "Required. The type of model e.g. `home-page`. Currently supported values: `recommended-for-you`, `others-you-may-like`, `frequently-bought-together`, `page-optimization`, `similar-items`, `buy-it-again`, `on-sale-items`, and `recently-viewed`(readonly value). This field together with optimization_objective describe model metadata to use to control model training and serving. See https://cloud.google.com/retail/docs/models for more details on what the model metadata control and which combination of parameters are valid. For invalid combinations of parameters (e.g. type = `frequently-bought-together` and optimization_objective = `ctr`), you receive an error 400 if you try to create/update a recommendation with this set of knobs.", +"type": "string" +}, +"updateTime": { +"description": "Output only. Timestamp the Recommendation Model was last updated. E.g. if a Recommendation Model was paused - this would be the time the pause was initiated.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2betaModelFrequentlyBoughtTogetherFeaturesConfig": { +"description": "Additional configs for the frequently-bought-together model type.", +"id": "GoogleCloudRetailV2betaModelFrequentlyBoughtTogetherFeaturesConfig", +"properties": { +"contextProductsType": { +"description": "Optional. Specifies the context of the model when it is used in predict requests. Can only be set for the `frequently-bought-together` type. If it isn't specified, it defaults to MULTIPLE_CONTEXT_PRODUCTS.", +"enum": [ +"CONTEXT_PRODUCTS_TYPE_UNSPECIFIED", +"SINGLE_CONTEXT_PRODUCT", +"MULTIPLE_CONTEXT_PRODUCTS" +], +"enumDescriptions": [ +"Unspecified default value, should never be explicitly set. Defaults to MULTIPLE_CONTEXT_PRODUCTS.", +"Use only a single product as context for the recommendation. Typically used on pages like add-to-cart or product details.", +"Use one or multiple products as context for the recommendation. Typically used on shopping cart pages." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2betaModelModelFeaturesConfig": { +"description": "Additional model features config.", +"id": "GoogleCloudRetailV2betaModelModelFeaturesConfig", +"properties": { +"frequentlyBoughtTogetherConfig": { +"$ref": "GoogleCloudRetailV2betaModelFrequentlyBoughtTogetherFeaturesConfig", +"description": "Additional configs for frequently-bought-together models." +} +}, +"type": "object" +}, +"GoogleCloudRetailV2betaModelServingConfigList": { +"description": "Represents an ordered combination of valid serving configs, which can be used for `PAGE_OPTIMIZATION` recommendations.", +"id": "GoogleCloudRetailV2betaModelServingConfigList", +"properties": { +"servingConfigIds": { +"description": "Optional. A set of valid serving configs that may be used for `PAGE_OPTIMIZATION`.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2betaOutputConfig": { +"description": "The output configuration setting.", +"id": "GoogleCloudRetailV2betaOutputConfig", +"properties": { +"bigqueryDestination": { +"$ref": "GoogleCloudRetailV2betaOutputConfigBigQueryDestination", +"description": "The BigQuery location where the output is to be written to." +}, +"gcsDestination": { +"$ref": "GoogleCloudRetailV2betaOutputConfigGcsDestination", +"description": "The Google Cloud Storage location where the output is to be written to." +} +}, +"type": "object" +}, +"GoogleCloudRetailV2betaOutputConfigBigQueryDestination": { +"description": "The BigQuery output destination configuration.", +"id": "GoogleCloudRetailV2betaOutputConfigBigQueryDestination", +"properties": { +"datasetId": { +"description": "Required. The ID of a BigQuery Dataset.", +"type": "string" +}, +"tableIdPrefix": { +"description": "Required. The prefix of exported BigQuery tables.", +"type": "string" +}, +"tableType": { +"description": "Required. Describes the table type. The following values are supported: * `table`: A BigQuery native table. * `view`: A virtual table defined by a SQL query.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2betaOutputConfigGcsDestination": { +"description": "The Google Cloud Storage output destination configuration.", +"id": "GoogleCloudRetailV2betaOutputConfigGcsDestination", +"properties": { +"outputUriPrefix": { +"description": "Required. The output uri prefix for saving output data to json files. Some mapping examples are as follows: output_uri_prefix sample output(assuming the object is foo.json) ======================== ============================================= gs://bucket/ gs://bucket/foo.json gs://bucket/folder/ gs://bucket/folder/foo.json gs://bucket/folder/item_ gs://bucket/folder/item_foo.json", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2betaOutputResult": { +"description": "Output result that stores the information about where the exported data is stored.", +"id": "GoogleCloudRetailV2betaOutputResult", +"properties": { +"bigqueryResult": { +"description": "The BigQuery location where the result is stored.", +"items": { +"$ref": "GoogleCloudRetailV2betaBigQueryOutputResult" +}, +"type": "array" +}, +"gcsResult": { +"description": "The Google Cloud Storage location where the result is stored.", +"items": { +"$ref": "GoogleCloudRetailV2betaGcsOutputResult" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2betaPanelInfo": { +"description": "Detailed panel information associated with a user event.", +"id": "GoogleCloudRetailV2betaPanelInfo", +"properties": { +"attributionToken": { +"description": "Optional. The attribution token of the panel.", +"type": "string" +}, +"displayName": { +"description": "Optional. The display name of the panel.", +"type": "string" +}, +"panelId": { +"description": "Required. The panel ID.", +"type": "string" +}, +"panelPosition": { +"description": "Optional. The ordered position of the panel, if shown to the user with other panels. If set, then total_panels must also be set.", +"format": "int32", +"type": "integer" +}, +"productDetails": { +"description": "Optional. The product details associated with the panel.", +"items": { +"$ref": "GoogleCloudRetailV2betaProductDetail" +}, +"type": "array" +}, +"totalPanels": { +"description": "Optional. The total number of panels, including this one, shown to the user. Must be set if panel_position is set.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2betaPauseModelRequest": { +"description": "Request for pausing training of a model.", +"id": "GoogleCloudRetailV2betaPauseModelRequest", +"properties": {}, +"type": "object" +}, +"GoogleCloudRetailV2betaPinControlMetadata": { +"description": "Metadata for pinning to be returned in the response. This is used for distinguishing between applied vs dropped pins.", +"id": "GoogleCloudRetailV2betaPinControlMetadata", +"properties": { +"allMatchedPins": { +"additionalProperties": { +"$ref": "GoogleCloudRetailV2betaPinControlMetadataProductPins" +}, +"description": "Map of all matched pins, keyed by pin position.", +"type": "object" +}, +"droppedPins": { +"additionalProperties": { +"$ref": "GoogleCloudRetailV2betaPinControlMetadataProductPins" +}, +"description": "Map of pins that were dropped due to overlap with other matching pins, keyed by pin position.", +"type": "object" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2betaPinControlMetadataProductPins": { +"description": "List of product ids which have associated pins.", +"id": "GoogleCloudRetailV2betaPinControlMetadataProductPins", +"properties": { +"productId": { +"description": "List of product ids which have associated pins.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2betaPredictRequest": { +"description": "Request message for Predict method.", +"id": "GoogleCloudRetailV2betaPredictRequest", +"properties": { +"filter": { +"description": "Filter for restricting prediction results with a length limit of 5,000 characters. Accepts values for tags and the `filterOutOfStockItems` flag. * Tag expressions. Restricts predictions to products that match all of the specified tags. Boolean operators `OR` and `NOT` are supported if the expression is enclosed in parentheses, and must be separated from the tag values by a space. `-\"tagA\"` is also supported and is equivalent to `NOT \"tagA\"`. Tag values must be double quoted UTF-8 encoded strings with a size limit of 1,000 characters. Note: \"Recently viewed\" models don't support tag filtering at the moment. * filterOutOfStockItems. Restricts predictions to products that do not have a stockState value of OUT_OF_STOCK. Examples: * tag=(\"Red\" OR \"Blue\") tag=\"New-Arrival\" tag=(NOT \"promotional\") * filterOutOfStockItems tag=(-\"promotional\") * filterOutOfStockItems If your filter blocks all prediction results, the API will return *no* results. If instead you want empty result sets to return generic (unfiltered) popular products, set `strictFiltering` to False in `PredictRequest.params`. Note that the API will never return items with storageStatus of \"EXPIRED\" or \"DELETED\" regardless of filter choices. If `filterSyntaxV2` is set to true under the `params` field, then attribute-based expressions are expected instead of the above described tag-based syntax. Examples: * (colors: ANY(\"Red\", \"Blue\")) AND NOT (categories: ANY(\"Phones\")) * (availability: ANY(\"IN_STOCK\")) AND (colors: ANY(\"Red\") OR categories: ANY(\"Phones\")) For more information, see [Filter recommendations](https://cloud.google.com/retail/docs/filter-recs).", +"type": "string" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "The labels applied to a resource must meet the following requirements: * Each resource can have multiple labels, up to a maximum of 64. * Each label must be a key-value pair. * Keys have a minimum length of 1 character and a maximum length of 63 characters and cannot be empty. Values can be empty and have a maximum length of 63 characters. * Keys and values can contain only lowercase letters, numeric characters, underscores, and dashes. All characters must use UTF-8 encoding, and international characters are allowed. * The key portion of a label must be unique. However, you can use the same key with multiple resources. * Keys must start with a lowercase letter or international character. See [Google Cloud Document](https://cloud.google.com/resource-manager/docs/creating-managing-labels#requirements) for more details.", +"type": "object" +}, +"pageSize": { +"description": "Maximum number of results to return. Set this property to the number of prediction results needed. If zero, the service will choose a reasonable default. The maximum allowed value is 100. Values above 100 will be coerced to 100.", +"format": "int32", +"type": "integer" +}, +"pageToken": { +"deprecated": true, +"description": "This field is not used; leave it unset.", +"type": "string" +}, +"params": { +"additionalProperties": { +"type": "any" +}, +"description": "Additional domain specific parameters for the predictions. Allowed values: * `returnProduct`: Boolean. If set to true, the associated product object will be returned in the `results.metadata` field in the prediction response. * `returnScore`: Boolean. If set to true, the prediction 'score' corresponding to each returned product will be set in the `results.metadata` field in the prediction response. The given 'score' indicates the probability of a product being clicked/purchased given the user's context and history. * `strictFiltering`: Boolean. True by default. If set to false, the service will return generic (unfiltered) popular products instead of empty if your filter blocks all prediction results. * `priceRerankLevel`: String. Default empty. If set to be non-empty, then it needs to be one of {'no-price-reranking', 'low-price-reranking', 'medium-price-reranking', 'high-price-reranking'}. This gives request-level control and adjusts prediction results based on product price. * `diversityLevel`: String. Default empty. If set to be non-empty, then it needs to be one of {'no-diversity', 'low-diversity', 'medium-diversity', 'high-diversity', 'auto-diversity'}. This gives request-level control and adjusts prediction results based on product category. * `filterSyntaxV2`: Boolean. False by default. If set to true, the `filter` field is interpreteted according to the new, attribute-based syntax.", +"type": "object" +}, +"userEvent": { +"$ref": "GoogleCloudRetailV2betaUserEvent", +"description": "Required. Context about the user, what they are looking at and what action they took to trigger the predict request. Note that this user event detail won't be ingested to userEvent logs. Thus, a separate userEvent write request is required for event logging. Don't set UserEvent.visitor_id or UserInfo.user_id to the same fixed ID for different users. If you are trying to receive non-personalized recommendations (not recommended; this can negatively impact model performance), instead set UserEvent.visitor_id to a random unique ID and leave UserInfo.user_id unset." +}, +"validateOnly": { +"description": "Use validate only mode for this prediction query. If set to true, a dummy model will be used that returns arbitrary products. Note that the validate only mode should only be used for testing the API, or if the model is not ready.", +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2betaPredictResponse": { +"description": "Response message for predict method.", +"id": "GoogleCloudRetailV2betaPredictResponse", +"properties": { +"attributionToken": { +"description": "A unique attribution token. This should be included in the UserEvent logs resulting from this recommendation, which enables accurate attribution of recommendation model performance.", +"type": "string" +}, +"missingIds": { +"description": "IDs of products in the request that were missing from the inventory.", +"items": { +"type": "string" +}, +"type": "array" +}, +"results": { +"description": "A list of recommended products. The order represents the ranking (from the most relevant product to the least).", +"items": { +"$ref": "GoogleCloudRetailV2betaPredictResponsePredictionResult" +}, +"type": "array" +}, +"validateOnly": { +"description": "True if the validateOnly property was set in the request.", +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2betaPredictResponsePredictionResult": { +"description": "PredictionResult represents the recommendation prediction results.", +"id": "GoogleCloudRetailV2betaPredictResponsePredictionResult", +"properties": { +"id": { +"description": "ID of the recommended product", +"type": "string" +}, +"metadata": { +"additionalProperties": { +"type": "any" +}, +"description": "Additional product metadata / annotations. Possible values: * `product`: JSON representation of the product. Is set if `returnProduct` is set to true in `PredictRequest.params`. * `score`: Prediction score in double value. Is set if `returnScore` is set to true in `PredictRequest.params`.", +"type": "object" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2betaPriceInfo": { +"description": "The price information of a Product.", +"id": "GoogleCloudRetailV2betaPriceInfo", +"properties": { +"cost": { +"description": "The costs associated with the sale of a particular product. Used for gross profit reporting. * Profit = price - cost Google Merchant Center property [cost_of_goods_sold](https://support.google.com/merchants/answer/9017895).", +"format": "float", +"type": "number" +}, +"currencyCode": { +"description": "The 3-letter currency code defined in [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html). If this field is an unrecognizable currency code, an INVALID_ARGUMENT error is returned. The Product.Type.VARIANT Products with the same Product.primary_product_id must share the same currency_code. Otherwise, a FAILED_PRECONDITION error is returned.", +"type": "string" +}, +"originalPrice": { +"description": "Price of the product without any discount. If zero, by default set to be the price. If set, original_price should be greater than or equal to price, otherwise an INVALID_ARGUMENT error is thrown.", +"format": "float", +"type": "number" +}, +"price": { +"description": "Price of the product. Google Merchant Center property [price](https://support.google.com/merchants/answer/6324371). Schema.org property [Offer.price](https://schema.org/price).", +"format": "float", +"type": "number" +}, +"priceEffectiveTime": { +"description": "The timestamp when the price starts to be effective. This can be set as a future timestamp, and the price is only used for search after price_effective_time. If so, the original_price must be set and original_price is used before price_effective_time. Do not set if price is always effective because it will cause additional latency during search.", +"format": "google-datetime", +"type": "string" +}, +"priceExpireTime": { +"description": "The timestamp when the price stops to be effective. The price is used for search before price_expire_time. If this field is set, the original_price must be set and original_price is used after price_expire_time. Do not set if price is always effective because it will cause additional latency during search.", +"format": "google-datetime", +"type": "string" +}, +"priceRange": { +"$ref": "GoogleCloudRetailV2betaPriceInfoPriceRange", +"description": "Output only. The price range of all the child Product.Type.VARIANT Products grouped together on the Product.Type.PRIMARY Product. Only populated for Product.Type.PRIMARY Products. Note: This field is OUTPUT_ONLY for ProductService.GetProduct. Do not set this field in API requests.", +"readOnly": true +} +}, +"type": "object" +}, +"GoogleCloudRetailV2betaPriceInfoPriceRange": { +"description": "The price range of all variant Product having the same Product.primary_product_id.", +"id": "GoogleCloudRetailV2betaPriceInfoPriceRange", +"properties": { +"originalPrice": { +"$ref": "GoogleCloudRetailV2betaInterval", +"description": "The inclusive Product.pricing_info.original_price internal of all variant Product having the same Product.primary_product_id." +}, +"price": { +"$ref": "GoogleCloudRetailV2betaInterval", +"description": "The inclusive Product.pricing_info.price interval of all variant Product having the same Product.primary_product_id." +} +}, +"type": "object" +}, +"GoogleCloudRetailV2betaProduct": { +"description": "Product captures all metadata information of items to be recommended or searched.", +"id": "GoogleCloudRetailV2betaProduct", +"properties": { +"attributes": { +"additionalProperties": { +"$ref": "GoogleCloudRetailV2betaCustomAttribute" +}, +"description": "Highly encouraged. Extra product attributes to be included. For example, for products, this could include the store name, vendor, style, color, etc. These are very strong signals for recommendation model, thus we highly recommend providing the attributes here. Features that can take on one of a limited number of possible values. Two types of features can be set are: Textual features. some examples would be the brand/maker of a product, or country of a customer. Numerical features. Some examples would be the height/weight of a product, or age of a customer. For example: `{ \"vendor\": {\"text\": [\"vendor123\", \"vendor456\"]}, \"lengths_cm\": {\"numbers\":[2.3, 15.4]}, \"heights_cm\": {\"numbers\":[8.1, 6.4]} }`. This field needs to pass all below criteria, otherwise an INVALID_ARGUMENT error is returned: * Max entries count: 200. * The key must be a UTF-8 encoded string with a length limit of 128 characters. * For indexable attribute, the key must match the pattern: `a-zA-Z0-9*`. For example, `key0LikeThis` or `KEY_1_LIKE_THIS`. * For text attributes, at most 400 values are allowed. Empty values are not allowed. Each value must be a non-empty UTF-8 encoded string with a length limit of 256 characters. * For number attributes, at most 400 values are allowed.", +"type": "object" +}, +"audience": { +"$ref": "GoogleCloudRetailV2betaAudience", +"description": "The target group associated with a given audience (e.g. male, veterans, car owners, musicians, etc.) of the product." +}, +"availability": { +"description": "The online availability of the Product. Default to Availability.IN_STOCK. For primary products with variants set the availability of the primary as Availability.OUT_OF_STOCK and set the true availability at the variant level. This way the primary product will be considered \"in stock\" as long as it has at least one variant in stock. For primary products with no variants set the true availability at the primary level. Corresponding properties: Google Merchant Center property [availability](https://support.google.com/merchants/answer/6324448). Schema.org property [Offer.availability](https://schema.org/availability).", +"enum": [ +"AVAILABILITY_UNSPECIFIED", +"IN_STOCK", +"OUT_OF_STOCK", +"PREORDER", +"BACKORDER" +], +"enumDescriptions": [ +"Default product availability. Default to Availability.IN_STOCK if unset.", +"Product in stock.", +"Product out of stock.", +"Product that is in pre-order state.", +"Product that is back-ordered (i.e. temporarily out of stock)." +], +"type": "string" +}, +"availableQuantity": { +"description": "The available quantity of the item.", +"format": "int32", +"type": "integer" +}, +"availableTime": { +"description": "The timestamp when this Product becomes available for SearchService.Search. Note that this is only applicable to Type.PRIMARY and Type.COLLECTION, and ignored for Type.VARIANT.", +"format": "google-datetime", +"type": "string" +}, +"brands": { +"description": "The brands of the product. A maximum of 30 brands are allowed unless overridden through the Google Cloud console. Each brand must be a UTF-8 encoded string with a length limit of 1,000 characters. Otherwise, an INVALID_ARGUMENT error is returned. Corresponding properties: Google Merchant Center property [brand](https://support.google.com/merchants/answer/6324351). Schema.org property [Product.brand](https://schema.org/brand).", +"items": { +"type": "string" +}, +"type": "array" +}, +"categories": { +"description": "Optional. Product categories. This field is repeated for supporting one product belonging to several parallel categories. Strongly recommended using the full path for better search / recommendation quality. To represent the full path of category, use the '>' sign, with one space on each side, to separate different hierarchies. If '>' is part of the category name, replace it with other character(s). For example, if a shoes product belongs to both [\"Shoes & Accessories\" -> \"Shoes\"] and [\"Sports & Fitness\" -> \"Athletic Clothing\" -> \"Shoes\"], it could be represented as: \"categories\": [ \"Shoes & Accessories > Shoes\", \"Sports & Fitness > Athletic Clothing > Shoes\" ] Must be set for Type.PRIMARY Product otherwise an INVALID_ARGUMENT error is returned. At most 250 values are allowed per Product unless overridden through the Google Cloud console. Empty values are not allowed. Each value must be a UTF-8 encoded string with a length limit of 5,000 characters. Otherwise, an INVALID_ARGUMENT error is returned. Corresponding properties: Google Merchant Center property google_product_category. Schema.org property [Product.category] (https://schema.org/category). [mc_google_product_category]: https://support.google.com/merchants/answer/6324436", +"items": { +"type": "string" +}, +"type": "array" +}, +"collectionMemberIds": { +"description": "The id of the collection members when type is Type.COLLECTION. Non-existent product ids are allowed. The type of the members must be either Type.PRIMARY or Type.VARIANT otherwise an INVALID_ARGUMENT error is thrown. Should not set it for other types. A maximum of 1000 values are allowed. Otherwise, an INVALID_ARGUMENT error is return.", +"items": { +"type": "string" +}, +"type": "array" +}, +"colorInfo": { +"$ref": "GoogleCloudRetailV2betaColorInfo", +"description": "The color of the product. Corresponding properties: Google Merchant Center property [color](https://support.google.com/merchants/answer/6324487). Schema.org property [Product.color](https://schema.org/color)." +}, +"conditions": { +"description": "The condition of the product. Strongly encouraged to use the standard values: \"new\", \"refurbished\", \"used\". A maximum of 1 value is allowed per Product. Each value must be a UTF-8 encoded string with a length limit of 128 characters. Otherwise, an INVALID_ARGUMENT error is returned. Corresponding properties: Google Merchant Center property [condition](https://support.google.com/merchants/answer/6324469). Schema.org property [Offer.itemCondition](https://schema.org/itemCondition).", +"items": { +"type": "string" +}, +"type": "array" +}, +"description": { +"description": "Product description. This field must be a UTF-8 encoded string with a length limit of 5,000 characters. Otherwise, an INVALID_ARGUMENT error is returned. Corresponding properties: Google Merchant Center property [description](https://support.google.com/merchants/answer/6324468). Schema.org property [Product.description](https://schema.org/description).", +"type": "string" +}, +"expireTime": { +"description": "Note that this field is applied in the following ways: * If the Product is already expired when it is uploaded, this product is not indexed for search. * If the Product is not expired when it is uploaded, only the Type.PRIMARY's and Type.COLLECTION's expireTime is respected, and Type.VARIANT's expireTime is not used. In general, we suggest the users to delete the stale products explicitly, instead of using this field to determine staleness. expire_time must be later than available_time and publish_time, otherwise an INVALID_ARGUMENT error is thrown. Corresponding properties: Google Merchant Center property [expiration_date](https://support.google.com/merchants/answer/6324499).", +"format": "google-datetime", +"type": "string" +}, +"fulfillmentInfo": { +"description": "Fulfillment information, such as the store IDs for in-store pickup or region IDs for different shipping methods. All the elements must have distinct FulfillmentInfo.type. Otherwise, an INVALID_ARGUMENT error is returned.", +"items": { +"$ref": "GoogleCloudRetailV2betaFulfillmentInfo" +}, +"type": "array" +}, +"gtin": { +"description": "The Global Trade Item Number (GTIN) of the product. This field must be a UTF-8 encoded string with a length limit of 128 characters. Otherwise, an INVALID_ARGUMENT error is returned. This field must be a Unigram. Otherwise, an INVALID_ARGUMENT error is returned. Corresponding properties: Google Merchant Center property [gtin](https://support.google.com/merchants/answer/6324461). Schema.org property [Product.isbn](https://schema.org/isbn), [Product.gtin8](https://schema.org/gtin8), [Product.gtin12](https://schema.org/gtin12), [Product.gtin13](https://schema.org/gtin13), or [Product.gtin14](https://schema.org/gtin14). If the value is not a valid GTIN, an INVALID_ARGUMENT error is returned.", +"type": "string" +}, +"id": { +"description": "Immutable. Product identifier, which is the final component of name. For example, this field is \"id_1\", if name is `projects/*/locations/global/catalogs/default_catalog/branches/default_branch/products/id_1`. This field must be a UTF-8 encoded string with a length limit of 128 characters. Otherwise, an INVALID_ARGUMENT error is returned. Corresponding properties: Google Merchant Center property [id](https://support.google.com/merchants/answer/6324405). Schema.org property [Product.sku](https://schema.org/sku).", +"type": "string" +}, +"images": { +"description": "Product images for the product. We highly recommend putting the main image first. A maximum of 300 images are allowed. Corresponding properties: Google Merchant Center property [image_link](https://support.google.com/merchants/answer/6324350). Schema.org property [Product.image](https://schema.org/image).", +"items": { +"$ref": "GoogleCloudRetailV2betaImage" +}, +"type": "array" +}, +"languageCode": { +"description": "Language of the title/description and other string attributes. Use language tags defined by [BCP 47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt). For product prediction, this field is ignored and the model automatically detects the text language. The Product can include text in different languages, but duplicating Products to provide text in multiple languages can result in degraded model performance. For product search this field is in use. It defaults to \"en-US\" if unset.", +"type": "string" +}, +"localInventories": { +"description": "Output only. A list of local inventories specific to different places. This field can be managed by ProductService.AddLocalInventories and ProductService.RemoveLocalInventories APIs if fine-grained, high-volume updates are necessary.", +"items": { +"$ref": "GoogleCloudRetailV2betaLocalInventory" +}, +"readOnly": true, +"type": "array" +}, +"materials": { +"description": "The material of the product. For example, \"leather\", \"wooden\". A maximum of 20 values are allowed. Each value must be a UTF-8 encoded string with a length limit of 200 characters. Otherwise, an INVALID_ARGUMENT error is returned. Corresponding properties: Google Merchant Center property [material](https://support.google.com/merchants/answer/6324410). Schema.org property [Product.material](https://schema.org/material).", +"items": { +"type": "string" +}, +"type": "array" +}, +"name": { +"description": "Immutable. Full resource name of the product, such as `projects/*/locations/global/catalogs/default_catalog/branches/default_branch/products/product_id`.", +"type": "string" +}, +"patterns": { +"description": "The pattern or graphic print of the product. For example, \"striped\", \"polka dot\", \"paisley\". A maximum of 20 values are allowed per Product. Each value must be a UTF-8 encoded string with a length limit of 128 characters. Otherwise, an INVALID_ARGUMENT error is returned. Corresponding properties: Google Merchant Center property [pattern](https://support.google.com/merchants/answer/6324483). Schema.org property [Product.pattern](https://schema.org/pattern).", +"items": { +"type": "string" +}, +"type": "array" +}, +"priceInfo": { +"$ref": "GoogleCloudRetailV2betaPriceInfo", +"description": "Product price and cost information. Corresponding properties: Google Merchant Center property [price](https://support.google.com/merchants/answer/6324371)." +}, +"primaryProductId": { +"description": "Variant group identifier. Must be an id, with the same parent branch with this product. Otherwise, an error is thrown. For Type.PRIMARY Products, this field can only be empty or set to the same value as id. For VARIANT Products, this field cannot be empty. A maximum of 2,000 products are allowed to share the same Type.PRIMARY Product. Otherwise, an INVALID_ARGUMENT error is returned. Corresponding properties: Google Merchant Center property [item_group_id](https://support.google.com/merchants/answer/6324507). Schema.org property [Product.inProductGroupWithID](https://schema.org/inProductGroupWithID).", +"type": "string" +}, +"promotions": { +"description": "The promotions applied to the product. A maximum of 10 values are allowed per Product. Only Promotion.promotion_id will be used, other fields will be ignored if set.", +"items": { +"$ref": "GoogleCloudRetailV2betaPromotion" +}, +"type": "array" +}, +"publishTime": { +"description": "The timestamp when the product is published by the retailer for the first time, which indicates the freshness of the products. Note that this field is different from available_time, given it purely describes product freshness regardless of when it is available on search and recommendation.", +"format": "google-datetime", +"type": "string" +}, +"rating": { +"$ref": "GoogleCloudRetailV2betaRating", +"description": "The rating of this product." +}, +"retrievableFields": { +"deprecated": true, +"description": "Indicates which fields in the Products are returned in SearchResponse. Supported fields for all types: * audience * availability * brands * color_info * conditions * gtin * materials * name * patterns * price_info * rating * sizes * title * uri Supported fields only for Type.PRIMARY and Type.COLLECTION: * categories * description * images Supported fields only for Type.VARIANT: * Only the first image in images To mark attributes as retrievable, include paths of the form \"attributes.key\" where \"key\" is the key of a custom attribute, as specified in attributes. For Type.PRIMARY and Type.COLLECTION, the following fields are always returned in SearchResponse by default: * name For Type.VARIANT, the following fields are always returned in by default: * name * color_info Note: Returning more fields in SearchResponse can increase response payload size and serving latency. This field is deprecated. Use the retrievable site-wide control instead.", +"format": "google-fieldmask", +"type": "string" +}, +"sizes": { +"description": "The size of the product. To represent different size systems or size types, consider using this format: [[[size_system:]size_type:]size_value]. For example, in \"US:MENS:M\", \"US\" represents size system; \"MENS\" represents size type; \"M\" represents size value. In \"GIRLS:27\", size system is empty; \"GIRLS\" represents size type; \"27\" represents size value. In \"32 inches\", both size system and size type are empty, while size value is \"32 inches\". A maximum of 20 values are allowed per Product. Each value must be a UTF-8 encoded string with a length limit of 128 characters. Otherwise, an INVALID_ARGUMENT error is returned. Corresponding properties: Google Merchant Center property [size](https://support.google.com/merchants/answer/6324492), [size_type](https://support.google.com/merchants/answer/6324497), and [size_system](https://support.google.com/merchants/answer/6324502). Schema.org property [Product.size](https://schema.org/size).", +"items": { +"type": "string" +}, +"type": "array" +}, +"tags": { +"description": "Custom tags associated with the product. At most 250 values are allowed per Product. This value must be a UTF-8 encoded string with a length limit of 1,000 characters. Otherwise, an INVALID_ARGUMENT error is returned. This tag can be used for filtering recommendation results by passing the tag as part of the PredictRequest.filter. Corresponding properties: Google Merchant Center property [custom_label_0\u20134](https://support.google.com/merchants/answer/6324473).", +"items": { +"type": "string" +}, +"type": "array" +}, +"title": { +"description": "Required. Product title. This field must be a UTF-8 encoded string with a length limit of 1,000 characters. Otherwise, an INVALID_ARGUMENT error is returned. Corresponding properties: Google Merchant Center property [title](https://support.google.com/merchants/answer/6324415). Schema.org property [Product.name](https://schema.org/name).", +"type": "string" +}, +"ttl": { +"description": "Input only. The TTL (time to live) of the product. Note that this is only applicable to Type.PRIMARY and Type.COLLECTION, and ignored for Type.VARIANT. In general, we suggest the users to delete the stale products explicitly, instead of using this field to determine staleness. If it is set, it must be a non-negative value, and expire_time is set as current timestamp plus ttl. The derived expire_time is returned in the output and ttl is left blank when retrieving the Product. If it is set, the product is not available for SearchService.Search after current timestamp plus ttl. However, the product can still be retrieved by ProductService.GetProduct and ProductService.ListProducts.", +"format": "google-duration", +"type": "string" +}, +"type": { +"description": "Immutable. The type of the product. Default to Catalog.product_level_config.ingestion_product_type if unset.", +"enum": [ +"TYPE_UNSPECIFIED", +"PRIMARY", +"VARIANT", +"COLLECTION" +], +"enumDescriptions": [ +"Default value. Default to Catalog.product_level_config.ingestion_product_type if unset.", +"The primary type. As the primary unit for predicting, indexing and search serving, a Type.PRIMARY Product is grouped with multiple Type.VARIANT Products.", +"The variant type. Type.VARIANT Products usually share some common attributes on the same Type.PRIMARY Products, but they have variant attributes like different colors, sizes and prices, etc.", +"The collection type. Collection products are bundled Type.PRIMARY Products or Type.VARIANT Products that are sold together, such as a jewelry set with necklaces, earrings and rings, etc." +], +"type": "string" +}, +"uri": { +"description": "Canonical URL directly linking to the product detail page. It is strongly recommended to provide a valid uri for the product, otherwise the service performance could be significantly degraded. This field must be a UTF-8 encoded string with a length limit of 5,000 characters. Otherwise, an INVALID_ARGUMENT error is returned. Corresponding properties: Google Merchant Center property [link](https://support.google.com/merchants/answer/6324416). Schema.org property [Offer.url](https://schema.org/url).", +"type": "string" +}, +"variants": { +"description": "Output only. Product variants grouped together on primary product which share similar product attributes. It's automatically grouped by primary_product_id for all the product variants. Only populated for Type.PRIMARY Products. Note: This field is OUTPUT_ONLY for ProductService.GetProduct. Do not set this field in API requests.", +"items": { +"$ref": "GoogleCloudRetailV2betaProduct" +}, +"readOnly": true, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2betaProductAttributeInterval": { +"description": "Product attribute name and numeric interval.", +"id": "GoogleCloudRetailV2betaProductAttributeInterval", +"properties": { +"interval": { +"$ref": "GoogleCloudRetailV2betaInterval", +"description": "The numeric interval (e.g. [10, 20))" +}, +"name": { +"description": "The attribute name (e.g. \"length\")", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2betaProductAttributeValue": { +"description": "Product attribute which structured by an attribute name and value. This structure is used in conversational search filters and answers. For example, if we have `name=color` and `value=red`, this means that the color is `red`.", +"id": "GoogleCloudRetailV2betaProductAttributeValue", +"properties": { +"name": { +"description": "The attribute name.", +"type": "string" +}, +"value": { +"description": "The attribute value.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2betaProductDetail": { +"description": "Detailed product information associated with a user event.", +"id": "GoogleCloudRetailV2betaProductDetail", +"properties": { +"product": { +"$ref": "GoogleCloudRetailV2betaProduct", +"description": "Required. Product information. Required field(s): * Product.id Optional override field(s): * Product.price_info If any supported optional fields are provided, we will treat them as a full override when looking up product information from the catalog. Thus, it is important to ensure that the overriding fields are accurate and complete. All other product fields are ignored and instead populated via catalog lookup after event ingestion." +}, +"quantity": { +"description": "Quantity of the product associated with the user event. For example, this field will be 2 if two products are added to the shopping cart for `purchase-complete` event. Required for `add-to-cart` and `purchase-complete` event types.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2betaProductInlineSource": { +"description": "The inline source for the input config for ImportProducts method.", +"id": "GoogleCloudRetailV2betaProductInlineSource", +"properties": { +"products": { +"description": "Required. A list of products to update/create. Each product must have a valid Product.id. Recommended max of 100 items.", +"items": { +"$ref": "GoogleCloudRetailV2betaProduct" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2betaProductInputConfig": { +"description": "The input config source for products.", +"id": "GoogleCloudRetailV2betaProductInputConfig", +"properties": { +"bigQuerySource": { +"$ref": "GoogleCloudRetailV2betaBigQuerySource", +"description": "BigQuery input source." +}, +"gcsSource": { +"$ref": "GoogleCloudRetailV2betaGcsSource", +"description": "Google Cloud Storage location for the input content." +}, +"productInlineSource": { +"$ref": "GoogleCloudRetailV2betaProductInlineSource", +"description": "The Inline source for the input content for products." +} +}, +"type": "object" +}, +"GoogleCloudRetailV2betaProductLevelConfig": { +"description": "Configures what level the product should be uploaded with regards to how users will be send events and how predictions will be made.", +"id": "GoogleCloudRetailV2betaProductLevelConfig", +"properties": { +"ingestionProductType": { +"description": "The type of Products allowed to be ingested into the catalog. Acceptable values are: * `primary` (default): You can ingest Products of all types. When ingesting a Product, its type will default to Product.Type.PRIMARY if unset. * `variant` (incompatible with Retail Search): You can only ingest Product.Type.VARIANT Products. This means Product.primary_product_id cannot be empty. If this field is set to an invalid value other than these, an INVALID_ARGUMENT error is returned. If this field is `variant` and merchant_center_product_id_field is `itemGroupId`, an INVALID_ARGUMENT error is returned. See [Product levels](https://cloud.google.com/retail/docs/catalog#product-levels) for more details.", +"type": "string" +}, +"merchantCenterProductIdField": { +"description": "Which field of [Merchant Center Product](/bigquery-transfer/docs/merchant-center-products-schema) should be imported as Product.id. Acceptable values are: * `offerId` (default): Import `offerId` as the product ID. * `itemGroupId`: Import `itemGroupId` as the product ID. Notice that Retail API will choose one item from the ones with the same `itemGroupId`, and use it to represent the item group. If this field is set to an invalid value other than these, an INVALID_ARGUMENT error is returned. If this field is `itemGroupId` and ingestion_product_type is `variant`, an INVALID_ARGUMENT error is returned. See [Product levels](https://cloud.google.com/retail/docs/catalog#product-levels) for more details.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2betaPromotion": { +"description": "Promotion specification.", +"id": "GoogleCloudRetailV2betaPromotion", +"properties": { +"promotionId": { +"description": "Promotion identifier, which is the final component of name. For example, this field is \"free_gift\", if name is `projects/*/locations/global/catalogs/default_catalog/promotions/free_gift`. The value must be a UTF-8 encoded string with a length limit of 128 characters, and match the pattern: `a-zA-Z*`. For example, id0LikeThis or ID_1_LIKE_THIS. Otherwise, an INVALID_ARGUMENT error is returned. Corresponds to Google Merchant Center property [promotion_id](https://support.google.com/merchants/answer/7050148).", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2betaPurchaseTransaction": { +"description": "A transaction represents the entire purchase transaction.", +"id": "GoogleCloudRetailV2betaPurchaseTransaction", +"properties": { +"cost": { +"description": "All the costs associated with the products. These can be manufacturing costs, shipping expenses not borne by the end user, or any other costs, such that: * Profit = revenue - tax - cost", +"format": "float", +"type": "number" +}, +"currencyCode": { +"description": "Required. Currency code. Use three-character ISO-4217 code.", +"type": "string" +}, +"id": { +"description": "The transaction ID with a length limit of 128 characters.", +"type": "string" +}, +"revenue": { +"description": "Required. Total non-zero revenue or grand total associated with the transaction. This value include shipping, tax, or other adjustments to total revenue that you want to include as part of your revenue calculations.", +"format": "float", +"type": "number" +}, +"tax": { +"description": "All the taxes associated with the transaction.", +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2betaPurgeMetadata": { +"description": "Metadata related to the progress of the Purge operation. This will be returned by the google.longrunning.Operation.metadata field.", +"id": "GoogleCloudRetailV2betaPurgeMetadata", +"properties": {}, +"type": "object" +}, +"GoogleCloudRetailV2betaPurgeProductsMetadata": { +"description": "Metadata related to the progress of the PurgeProducts operation. This will be returned by the google.longrunning.Operation.metadata field.", +"id": "GoogleCloudRetailV2betaPurgeProductsMetadata", +"properties": { +"createTime": { +"description": "Operation create time.", +"format": "google-datetime", +"type": "string" +}, +"failureCount": { +"description": "Count of entries that encountered errors while processing.", +"format": "int64", +"type": "string" +}, +"successCount": { +"description": "Count of entries that were deleted successfully.", +"format": "int64", +"type": "string" +}, +"updateTime": { +"description": "Operation last update time. If the operation is done, this is also the finish time.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2betaPurgeProductsRequest": { +"description": "Request message for PurgeProducts method.", +"id": "GoogleCloudRetailV2betaPurgeProductsRequest", +"properties": { +"filter": { +"description": "Required. The filter string to specify the products to be deleted with a length limit of 5,000 characters. Empty string filter is not allowed. \"*\" implies delete all items in a branch. The eligible fields for filtering are: * `availability`: Double quoted Product.availability string. * `create_time` : in ISO 8601 \"zulu\" format. Supported syntax: * Comparators (\">\", \"<\", \">=\", \"<=\", \"=\"). Examples: * create_time <= \"2015-02-13T17:05:46Z\" * availability = \"IN_STOCK\" * Conjunctions (\"AND\") Examples: * create_time <= \"2015-02-13T17:05:46Z\" AND availability = \"PREORDER\" * Disjunctions (\"OR\") Examples: * create_time <= \"2015-02-13T17:05:46Z\" OR availability = \"IN_STOCK\" * Can support nested queries. Examples: * (create_time <= \"2015-02-13T17:05:46Z\" AND availability = \"PREORDER\") OR (create_time >= \"2015-02-14T13:03:32Z\" AND availability = \"IN_STOCK\") * Filter Limits: * Filter should not contain more than 6 conditions. * Max nesting depth should not exceed 2 levels. Examples queries: * Delete back order products created before a timestamp. create_time <= \"2015-02-13T17:05:46Z\" OR availability = \"BACKORDER\"", +"type": "string" +}, +"force": { +"description": "Actually perform the purge. If `force` is set to false, the method will return the expected purge count without deleting any products.", +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2betaPurgeProductsResponse": { +"description": "Response of the PurgeProductsRequest. If the long running operation is successfully done, then this message is returned by the google.longrunning.Operations.response field.", +"id": "GoogleCloudRetailV2betaPurgeProductsResponse", +"properties": { +"purgeCount": { +"description": "The total count of products purged as a result of the operation.", +"format": "int64", +"type": "string" +}, +"purgeSample": { +"description": "A sample of the product names that will be deleted. Only populated if `force` is set to false. A max of 100 names will be returned and the names are chosen at random.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2betaPurgeUserEventsRequest": { +"description": "Request message for PurgeUserEvents method.", +"id": "GoogleCloudRetailV2betaPurgeUserEventsRequest", +"properties": { +"filter": { +"description": "Required. The filter string to specify the events to be deleted with a length limit of 5,000 characters. Empty string filter is not allowed. The eligible fields for filtering are: * `eventType`: Double quoted UserEvent.event_type string. * `eventTime`: in ISO 8601 \"zulu\" format. * `visitorId`: Double quoted string. Specifying this will delete all events associated with a visitor. * `userId`: Double quoted string. Specifying this will delete all events associated with a user. Examples: * Deleting all events in a time range: `eventTime > \"2012-04-23T18:25:43.511Z\" eventTime < \"2012-04-23T18:30:43.511Z\"` * Deleting specific eventType in time range: `eventTime > \"2012-04-23T18:25:43.511Z\" eventType = \"detail-page-view\"` * Deleting all events for a specific visitor: `visitorId = \"visitor1024\"` The filtering fields are assumed to have an implicit AND.", +"type": "string" +}, +"force": { +"description": "Actually perform the purge. If `force` is set to false, the method will return the expected purge count without deleting any user events.", +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2betaPurgeUserEventsResponse": { +"description": "Response of the PurgeUserEventsRequest. If the long running operation is successfully done, then this message is returned by the google.longrunning.Operations.response field.", +"id": "GoogleCloudRetailV2betaPurgeUserEventsResponse", +"properties": { +"purgedEventsCount": { +"description": "The total count of events purged as a result of the operation.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2betaRating": { +"description": "The rating of a Product.", +"id": "GoogleCloudRetailV2betaRating", +"properties": { +"averageRating": { +"description": "The average rating of the Product. The rating is scaled at 1-5. Otherwise, an INVALID_ARGUMENT error is returned.", +"format": "float", +"type": "number" +}, +"ratingCount": { +"description": "The total number of ratings. This value is independent of the value of rating_histogram. This value must be nonnegative. Otherwise, an INVALID_ARGUMENT error is returned.", +"format": "int32", +"type": "integer" +}, +"ratingHistogram": { +"description": "List of rating counts per rating value (index = rating - 1). The list is empty if there is no rating. If the list is non-empty, its size is always 5. Otherwise, an INVALID_ARGUMENT error is returned. For example, [41, 14, 13, 47, 303]. It means that the Product got 41 ratings with 1 star, 14 ratings with 2 star, and so on.", +"items": { +"format": "int32", +"type": "integer" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2betaRejoinUserEventsMetadata": { +"description": "Metadata for `RejoinUserEvents` method.", +"id": "GoogleCloudRetailV2betaRejoinUserEventsMetadata", +"properties": {}, +"type": "object" +}, +"GoogleCloudRetailV2betaRejoinUserEventsRequest": { +"description": "Request message for RejoinUserEvents method.", +"id": "GoogleCloudRetailV2betaRejoinUserEventsRequest", +"properties": { +"userEventRejoinScope": { +"description": "The type of the user event rejoin to define the scope and range of the user events to be rejoined with the latest product catalog. Defaults to `USER_EVENT_REJOIN_SCOPE_UNSPECIFIED` if this field is not set, or set to an invalid integer value.", +"enum": [ +"USER_EVENT_REJOIN_SCOPE_UNSPECIFIED", +"JOINED_EVENTS", +"UNJOINED_EVENTS" +], +"enumDescriptions": [ +"Rejoin all events with the latest product catalog, including both joined events and unjoined events.", +"Only rejoin joined events with the latest product catalog.", +"Only rejoin unjoined events with the latest product catalog." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2betaRejoinUserEventsResponse": { +"description": "Response message for `RejoinUserEvents` method.", +"id": "GoogleCloudRetailV2betaRejoinUserEventsResponse", +"properties": { +"rejoinedUserEventsCount": { +"description": "Number of user events that were joined with latest product catalog.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2betaRemoveCatalogAttributeRequest": { +"description": "Request for CatalogService.RemoveCatalogAttribute method.", +"id": "GoogleCloudRetailV2betaRemoveCatalogAttributeRequest", +"properties": { +"key": { +"description": "Required. The attribute name key of the CatalogAttribute to remove.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2betaRemoveControlRequest": { +"description": "Request for RemoveControl method.", +"id": "GoogleCloudRetailV2betaRemoveControlRequest", +"properties": { +"controlId": { +"description": "Required. The id of the control to apply. Assumed to be in the same catalog as the serving config.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2betaRemoveFulfillmentPlacesMetadata": { +"description": "Metadata related to the progress of the RemoveFulfillmentPlaces operation. Currently empty because there is no meaningful metadata populated from the ProductService.RemoveFulfillmentPlaces method.", +"id": "GoogleCloudRetailV2betaRemoveFulfillmentPlacesMetadata", +"properties": {}, +"type": "object" +}, +"GoogleCloudRetailV2betaRemoveFulfillmentPlacesRequest": { +"description": "Request message for ProductService.RemoveFulfillmentPlaces method.", +"id": "GoogleCloudRetailV2betaRemoveFulfillmentPlacesRequest", +"properties": { +"allowMissing": { +"description": "If set to true, and the Product is not found, the fulfillment information will still be processed and retained for at most 1 day and processed once the Product is created. If set to false, a NOT_FOUND error is returned if the Product is not found.", +"type": "boolean" +}, +"placeIds": { +"description": "Required. The IDs for this type, such as the store IDs for \"pickup-in-store\" or the region IDs for \"same-day-delivery\", to be removed for this type. At least 1 value is required, and a maximum of 2000 values are allowed. Each value must be a string with a length limit of 10 characters, matching the pattern `[a-zA-Z0-9_-]+`, such as \"store1\" or \"REGION-2\". Otherwise, an INVALID_ARGUMENT error is returned.", +"items": { +"type": "string" +}, +"type": "array" +}, +"removeTime": { +"description": "The time when the fulfillment updates are issued, used to prevent out-of-order updates on fulfillment information. If not provided, the internal system time will be used.", +"format": "google-datetime", +"type": "string" +}, +"type": { +"description": "Required. The fulfillment type, including commonly used types (such as pickup in store and same day delivery), and custom types. Supported values: * \"pickup-in-store\" * \"ship-to-store\" * \"same-day-delivery\" * \"next-day-delivery\" * \"custom-type-1\" * \"custom-type-2\" * \"custom-type-3\" * \"custom-type-4\" * \"custom-type-5\" If this field is set to an invalid value other than these, an INVALID_ARGUMENT error is returned. This field directly corresponds to Product.fulfillment_info.type.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2betaRemoveFulfillmentPlacesResponse": { +"description": "Response of the RemoveFulfillmentPlacesRequest. Currently empty because there is no meaningful response populated from the ProductService.RemoveFulfillmentPlaces method.", +"id": "GoogleCloudRetailV2betaRemoveFulfillmentPlacesResponse", +"properties": {}, +"type": "object" +}, +"GoogleCloudRetailV2betaRemoveLocalInventoriesMetadata": { +"description": "Metadata related to the progress of the RemoveLocalInventories operation. Currently empty because there is no meaningful metadata populated from the ProductService.RemoveLocalInventories method.", +"id": "GoogleCloudRetailV2betaRemoveLocalInventoriesMetadata", +"properties": {}, +"type": "object" +}, +"GoogleCloudRetailV2betaRemoveLocalInventoriesRequest": { +"description": "Request message for ProductService.RemoveLocalInventories method.", +"id": "GoogleCloudRetailV2betaRemoveLocalInventoriesRequest", +"properties": { +"allowMissing": { +"description": "If set to true, and the Product is not found, the local inventory removal request will still be processed and retained for at most 1 day and processed once the Product is created. If set to false, a NOT_FOUND error is returned if the Product is not found.", +"type": "boolean" +}, +"placeIds": { +"description": "Required. A list of place IDs to have their inventory deleted. At most 3000 place IDs are allowed per request.", +"items": { +"type": "string" +}, +"type": "array" +}, +"removeTime": { +"description": "The time when the inventory deletions are issued. Used to prevent out-of-order updates and deletions on local inventory fields. If not provided, the internal system time will be used.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2betaRemoveLocalInventoriesResponse": { +"description": "Response of the ProductService.RemoveLocalInventories API. Currently empty because there is no meaningful response populated from the ProductService.RemoveLocalInventories method.", +"id": "GoogleCloudRetailV2betaRemoveLocalInventoriesResponse", +"properties": {}, +"type": "object" +}, +"GoogleCloudRetailV2betaReplaceCatalogAttributeRequest": { +"description": "Request for CatalogService.ReplaceCatalogAttribute method.", +"id": "GoogleCloudRetailV2betaReplaceCatalogAttributeRequest", +"properties": { +"catalogAttribute": { +"$ref": "GoogleCloudRetailV2betaCatalogAttribute", +"description": "Required. The updated CatalogAttribute." +}, +"updateMask": { +"description": "Indicates which fields in the provided CatalogAttribute to update. The following are NOT supported: * CatalogAttribute.key If not set, all supported fields are updated.", +"format": "google-fieldmask", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2betaResumeModelRequest": { +"description": "Request for resuming training of a model.", +"id": "GoogleCloudRetailV2betaResumeModelRequest", +"properties": {}, +"type": "object" +}, +"GoogleCloudRetailV2betaRule": { +"description": "A rule is a condition-action pair * A condition defines when a rule is to be triggered. * An action specifies what occurs on that trigger. Currently rules only work for controls with SOLUTION_TYPE_SEARCH.", +"id": "GoogleCloudRetailV2betaRule", +"properties": { +"boostAction": { +"$ref": "GoogleCloudRetailV2betaRuleBoostAction", +"description": "A boost action." +}, +"condition": { +"$ref": "GoogleCloudRetailV2betaCondition", +"description": "Required. The condition that triggers the rule. If the condition is empty, the rule will always apply." +}, +"doNotAssociateAction": { +"$ref": "GoogleCloudRetailV2betaRuleDoNotAssociateAction", +"description": "Prevents term from being associated with other terms." +}, +"filterAction": { +"$ref": "GoogleCloudRetailV2betaRuleFilterAction", +"description": "Filters results." +}, +"forceReturnFacetAction": { +"$ref": "GoogleCloudRetailV2betaRuleForceReturnFacetAction", +"description": "Force returns an attribute as a facet in the request." +}, +"ignoreAction": { +"$ref": "GoogleCloudRetailV2betaRuleIgnoreAction", +"description": "Ignores specific terms from query during search." +}, +"onewaySynonymsAction": { +"$ref": "GoogleCloudRetailV2betaRuleOnewaySynonymsAction", +"description": "Treats specific term as a synonym with a group of terms. Group of terms will not be treated as synonyms with the specific term." +}, +"pinAction": { +"$ref": "GoogleCloudRetailV2betaRulePinAction", +"description": "Pins one or more specified products to a specific position in the results." +}, +"redirectAction": { +"$ref": "GoogleCloudRetailV2betaRuleRedirectAction", +"description": "Redirects a shopper to a specific page." +}, +"removeFacetAction": { +"$ref": "GoogleCloudRetailV2betaRuleRemoveFacetAction", +"description": "Remove an attribute as a facet in the request (if present)." +}, +"replacementAction": { +"$ref": "GoogleCloudRetailV2betaRuleReplacementAction", +"description": "Replaces specific terms in the query." +}, +"twowaySynonymsAction": { +"$ref": "GoogleCloudRetailV2betaRuleTwowaySynonymsAction", +"description": "Treats a set of terms as synonyms of one another." +} +}, +"type": "object" +}, +"GoogleCloudRetailV2betaRuleBoostAction": { +"description": "A boost action to apply to results matching condition specified above.", +"id": "GoogleCloudRetailV2betaRuleBoostAction", +"properties": { +"boost": { +"description": "Strength of the condition boost, which must be in [-1, 1]. Negative boost means demotion. Default is 0.0. Setting to 1.0 gives the item a big promotion. However, it does not necessarily mean that the boosted item will be the top result at all times, nor that other items will be excluded. Results could still be shown even when none of them matches the condition. And results that are significantly more relevant to the search query can still trump your heavily favored but irrelevant items. Setting to -1.0 gives the item a big demotion. However, results that are deeply relevant might still be shown. The item will have an upstream battle to get a fairly high ranking, but it is not blocked out completely. Setting to 0.0 means no boost applied. The boosting condition is ignored.", +"format": "float", +"type": "number" +}, +"productsFilter": { +"description": "The filter can have a max size of 5000 characters. An expression which specifies which products to apply an action to. The syntax and supported fields are the same as a filter expression. See SearchRequest.filter for detail syntax and limitations. Examples: * To boost products with product ID \"product_1\" or \"product_2\", and color \"Red\" or \"Blue\": *(id: ANY(\"product_1\", \"product_2\")) * *AND * *(colorFamilies: ANY(\"Red\", \"Blue\")) *", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2betaRuleDoNotAssociateAction": { +"description": "Prevents `query_term` from being associated with specified terms during search. Example: Don't associate \"gShoe\" and \"cheap\".", +"id": "GoogleCloudRetailV2betaRuleDoNotAssociateAction", +"properties": { +"doNotAssociateTerms": { +"description": "Cannot contain duplicates or the query term. Can specify up to 100 terms.", +"items": { +"type": "string" +}, +"type": "array" +}, +"queryTerms": { +"description": "Terms from the search query. Will not consider do_not_associate_terms for search if in search query. Can specify up to 100 terms.", +"items": { +"type": "string" +}, +"type": "array" +}, +"terms": { +"description": "Will be [deprecated = true] post migration;", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2betaRuleFilterAction": { +"description": "* Rule Condition: - No Condition.query_terms provided is a global match. - 1 or more Condition.query_terms provided are combined with OR operator. * Action Input: The request query and filter that are applied to the retrieved products, in addition to any filters already provided with the SearchRequest. The AND operator is used to combine the query's existing filters with the filter rule(s). NOTE: May result in 0 results when filters conflict. * Action Result: Filters the returned objects to be ONLY those that passed the filter.", +"id": "GoogleCloudRetailV2betaRuleFilterAction", +"properties": { +"filter": { +"description": "A filter to apply on the matching condition results. Supported features: * filter must be set. * Filter syntax is identical to SearchRequest.filter. For more information, see [Filter](/retail/docs/filter-and-order#filter). * To filter products with product ID \"product_1\" or \"product_2\", and color \"Red\" or \"Blue\": *(id: ANY(\"product_1\", \"product_2\")) * *AND * *(colorFamilies: ANY(\"Red\", \"Blue\")) *", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2betaRuleForceReturnFacetAction": { +"description": "Force returns an attribute/facet in the request around a certain position or above. * Rule Condition: Must specify non-empty Condition.query_terms (for search only) or Condition.page_categories (for browse only), but can't specify both. * Action Inputs: attribute name, position * Action Result: Will force return a facet key around a certain position or above if the condition is satisfied. Example: Suppose the query is \"shoes\", the Condition.query_terms is \"shoes\", the ForceReturnFacetAction.FacetPositionAdjustment.attribute_name is \"size\" and the ForceReturnFacetAction.FacetPositionAdjustment.position is 8. Two cases: a) The facet key \"size\" is not already in the top 8 slots, then the facet \"size\" will appear at a position close to 8. b) The facet key \"size\" in among the top 8 positions in the request, then it will stay at its current rank.", +"id": "GoogleCloudRetailV2betaRuleForceReturnFacetAction", +"properties": { +"facetPositionAdjustments": { +"description": "Each instance corresponds to a force return attribute for the given condition. There can't be more 15 instances here.", +"items": { +"$ref": "GoogleCloudRetailV2betaRuleForceReturnFacetActionFacetPositionAdjustment" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2betaRuleForceReturnFacetActionFacetPositionAdjustment": { +"description": "Each facet position adjustment consists of a single attribute name (i.e. facet key) along with a specified position.", +"id": "GoogleCloudRetailV2betaRuleForceReturnFacetActionFacetPositionAdjustment", +"properties": { +"attributeName": { +"description": "The attribute name to force return as a facet. Each attribute name should be a valid attribute name, be non-empty and contain at most 80 characters long.", +"type": "string" +}, +"position": { +"description": "This is the position in the request as explained above. It should be strictly positive be at most 100.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2betaRuleIgnoreAction": { +"description": "Prevents a term in the query from being used in search. Example: Don't search for \"shoddy\".", +"id": "GoogleCloudRetailV2betaRuleIgnoreAction", +"properties": { +"ignoreTerms": { +"description": "Terms to ignore in the search query.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2betaRuleOnewaySynonymsAction": { +"description": "Maps a set of terms to a set of synonyms. Set of synonyms will be treated as synonyms of each query term only. `query_terms` will not be treated as synonyms of each other. Example: \"sneakers\" will use a synonym of \"shoes\". \"shoes\" will not use a synonym of \"sneakers\".", +"id": "GoogleCloudRetailV2betaRuleOnewaySynonymsAction", +"properties": { +"onewayTerms": { +"description": "Will be [deprecated = true] post migration;", +"items": { +"type": "string" +}, +"type": "array" +}, +"queryTerms": { +"description": "Terms from the search query. Will treat synonyms as their synonyms. Not themselves synonyms of the synonyms. Can specify up to 100 terms.", +"items": { +"type": "string" +}, +"type": "array" +}, +"synonyms": { +"description": "Defines a set of synonyms. Cannot contain duplicates. Can specify up to 100 synonyms.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2betaRulePinAction": { +"description": "Pins one or more specified products to a specific position in the results. * Rule Condition: Must specify non-empty Condition.query_terms (for search only) or Condition.page_categories (for browse only), but can't specify both. * Action Input: mapping of `[pin_position, product_id]` pairs (pin position uses 1-based indexing). * Action Result: Will pin products with matching ids to the position specified in the final result order. Example: Suppose the query is `shoes`, the Condition.query_terms is `shoes` and the pin_map has `{1, \"pid1\"}`, then product with `pid1` will be pinned to the top position in the final results. If multiple PinActions are matched to a single request the actions will be processed from most to least recently updated. Pins to positions larger than the max allowed page size of 120 are not allowed.", +"id": "GoogleCloudRetailV2betaRulePinAction", +"properties": { +"pinMap": { +"additionalProperties": { +"type": "string" +}, +"description": "Required. A map of positions to product_ids. Partial matches per action are allowed, if a certain position in the map is already filled that `[position, product_id]` pair will be ignored but the rest may still be applied. This case will only occur if multiple pin actions are matched to a single request, as the map guarantees that pin positions are unique within the same action. Duplicate product_ids are not permitted within a single pin map. The max size of this map is 120, equivalent to the max [request page size](https://cloud.google.com/retail/docs/reference/rest/v2/projects.locations.catalogs.placements/search#request-body).", +"type": "object" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2betaRuleRedirectAction": { +"description": "Redirects a shopper to a specific page. * Rule Condition: Must specify Condition.query_terms. * Action Input: Request Query * Action Result: Redirects shopper to provided uri.", +"id": "GoogleCloudRetailV2betaRuleRedirectAction", +"properties": { +"redirectUri": { +"description": "URL must have length equal or less than 2000 characters.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2betaRuleRemoveFacetAction": { +"description": "Removes an attribute/facet in the request if is present. * Rule Condition: Must specify non-empty Condition.query_terms (for search only) or Condition.page_categories (for browse only), but can't specify both. * Action Input: attribute name * Action Result: Will remove the attribute (as a facet) from the request if it is present. Example: Suppose the query is \"shoes\", the Condition.query_terms is \"shoes\" and the attribute name \"size\", then facet key \"size\" will be removed from the request (if it is present).", +"id": "GoogleCloudRetailV2betaRuleRemoveFacetAction", +"properties": { +"attributeNames": { +"description": "The attribute names (i.e. facet keys) to remove from the dynamic facets (if present in the request). There can't be more 3 attribute names. Each attribute name should be a valid attribute name, be non-empty and contain at most 80 characters.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2betaRuleReplacementAction": { +"description": "Replaces a term in the query. Multiple replacement candidates can be specified. All `query_terms` will be replaced with the replacement term. Example: Replace \"gShoe\" with \"google shoe\".", +"id": "GoogleCloudRetailV2betaRuleReplacementAction", +"properties": { +"queryTerms": { +"description": "Terms from the search query. Will be replaced by replacement term. Can specify up to 100 terms.", +"items": { +"type": "string" +}, +"type": "array" +}, +"replacementTerm": { +"description": "Term that will be used for replacement.", +"type": "string" +}, +"term": { +"description": "Will be [deprecated = true] post migration;", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2betaRuleTwowaySynonymsAction": { +"description": "Creates a set of terms that will be treated as synonyms of each other. Example: synonyms of \"sneakers\" and \"shoes\": * \"sneakers\" will use a synonym of \"shoes\". * \"shoes\" will use a synonym of \"sneakers\".", +"id": "GoogleCloudRetailV2betaRuleTwowaySynonymsAction", +"properties": { +"synonyms": { +"description": "Defines a set of synonyms. Can specify up to 100 synonyms. Must specify at least 2 synonyms.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2betaSafetySetting": { +"description": "Safety settings.", +"id": "GoogleCloudRetailV2betaSafetySetting", +"properties": { +"category": { +"description": "Harm category.", +"enum": [ +"HARM_CATEGORY_UNSPECIFIED", +"HARM_CATEGORY_HATE_SPEECH", +"HARM_CATEGORY_DANGEROUS_CONTENT", +"HARM_CATEGORY_HARASSMENT", +"HARM_CATEGORY_SEXUALLY_EXPLICIT", +"HARM_CATEGORY_CIVIC_INTEGRITY" +], +"enumDescriptions": [ +"The harm category is unspecified.", +"The harm category is hate speech.", +"The harm category is dangerous content.", +"The harm category is harassment.", +"The harm category is sexually explicit content.", +"The harm category is civic integrity." +], +"type": "string" +}, +"method": { +"description": "Optional. Specify if the threshold is used for probability or severity score. If not specified, the threshold is used for probability score.", +"enum": [ +"HARM_BLOCK_METHOD_UNSPECIFIED", +"SEVERITY", +"PROBABILITY" +], +"enumDescriptions": [ +"The harm block method is unspecified.", +"The harm block method uses both probability and severity scores.", +"The harm block method uses the probability score." +], +"type": "string" +}, +"threshold": { +"description": "The harm block threshold.", +"enum": [ +"HARM_BLOCK_THRESHOLD_UNSPECIFIED", +"BLOCK_LOW_AND_ABOVE", +"BLOCK_MEDIUM_AND_ABOVE", +"BLOCK_ONLY_HIGH", +"BLOCK_NONE", +"OFF" +], +"enumDescriptions": [ +"Unspecified harm block threshold.", +"Block low threshold and above (i.e. block more).", +"Block medium threshold and above.", +"Block only high threshold (i.e. block less).", +"Block none.", +"Turn off the safety filter." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2betaSearchRequest": { +"description": "Request message for SearchService.Search method.", +"id": "GoogleCloudRetailV2betaSearchRequest", +"properties": { +"boostSpec": { +"$ref": "GoogleCloudRetailV2betaSearchRequestBoostSpec", +"description": "Boost specification to boost certain products. For more information, see [Boost results](https://cloud.google.com/retail/docs/boosting). Notice that if both ServingConfig.boost_control_ids and SearchRequest.boost_spec are set, the boost conditions from both places are evaluated. If a search request matches multiple boost conditions, the final boost score is equal to the sum of the boost scores from all matched boost conditions." +}, +"branch": { +"description": "The branch resource name, such as `projects/*/locations/global/catalogs/default_catalog/branches/0`. Use \"default_branch\" as the branch ID or leave this field empty, to search products under the default branch.", +"type": "string" +}, +"canonicalFilter": { +"description": "The default filter that is applied when a user performs a search without checking any filters on the search page. The filter applied to every search request when quality improvement such as query expansion is needed. In the case a query does not have a sufficient amount of results this filter will be used to determine whether or not to enable the query expansion flow. The original filter will still be used for the query expanded search. This field is strongly recommended to achieve high search quality. For more information about filter syntax, see SearchRequest.filter.", +"type": "string" +}, +"conversationalSearchSpec": { +"$ref": "GoogleCloudRetailV2betaSearchRequestConversationalSearchSpec", +"description": "Optional. This field specifies all conversational related parameters addition to traditional retail search." +}, +"dynamicFacetSpec": { +"$ref": "GoogleCloudRetailV2betaSearchRequestDynamicFacetSpec", +"deprecated": true, +"description": "Deprecated. Refer to https://cloud.google.com/retail/docs/configs#dynamic to enable dynamic facets. Do not set this field. The specification for dynamically generated facets. Notice that only textual facets can be dynamically generated." +}, +"entity": { +"description": "The entity for customers that may run multiple different entities, domains, sites or regions, for example, `Google US`, `Google Ads`, `Waymo`, `google.com`, `youtube.com`, etc. If this is set, it should be exactly matched with UserEvent.entity to get search results boosted by entity.", +"type": "string" +}, +"facetSpecs": { +"description": "Facet specifications for faceted search. If empty, no facets are returned. A maximum of 200 values are allowed. Otherwise, an INVALID_ARGUMENT error is returned.", +"items": { +"$ref": "GoogleCloudRetailV2betaSearchRequestFacetSpec" +}, +"type": "array" +}, +"filter": { +"description": "The filter syntax consists of an expression language for constructing a predicate from one or more fields of the products being filtered. Filter expression is case-sensitive. For more information, see [Filter](https://cloud.google.com/retail/docs/filter-and-order#filter). If this field is unrecognizable, an INVALID_ARGUMENT is returned.", +"type": "string" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "The labels applied to a resource must meet the following requirements: * Each resource can have multiple labels, up to a maximum of 64. * Each label must be a key-value pair. * Keys have a minimum length of 1 character and a maximum length of 63 characters and cannot be empty. Values can be empty and have a maximum length of 63 characters. * Keys and values can contain only lowercase letters, numeric characters, underscores, and dashes. All characters must use UTF-8 encoding, and international characters are allowed. * The key portion of a label must be unique. However, you can use the same key with multiple resources. * Keys must start with a lowercase letter or international character. For more information, see [Requirements for labels](https://cloud.google.com/resource-manager/docs/creating-managing-labels#requirements) in the Resource Manager documentation.", +"type": "object" +}, +"languageCode": { +"description": "Optional. The BCP-47 language code, such as \"en-US\" or \"sr-Latn\" [list](https://www.unicode.org/cldr/charts/46/summary/root.html). For more information, see [Standardized codes](https://google.aip.dev/143). This field helps to better interpret the query. If a value isn't specified, the query language code is automatically detected, which may not be accurate.", +"type": "string" +}, +"offset": { +"description": "A 0-indexed integer that specifies the current offset (that is, starting result location, amongst the Products deemed by the API as relevant) in search results. This field is only considered if page_token is unset. If this field is negative, an INVALID_ARGUMENT is returned.", +"format": "int32", +"type": "integer" +}, +"orderBy": { +"description": "The order in which products are returned. Products can be ordered by a field in an Product object. Leave it unset if ordered by relevance. OrderBy expression is case-sensitive. For more information, see [Order](https://cloud.google.com/retail/docs/filter-and-order#order). If this field is unrecognizable, an INVALID_ARGUMENT is returned.", +"type": "string" +}, +"pageCategories": { +"description": "Optional. The categories associated with a category page. Must be set for category navigation queries to achieve good search quality. The format should be the same as UserEvent.page_categories; To represent the full path of category, use '>' sign, with one space on each side, to separate different hierarchies. If '>' is part of the category name, replace it with other character(s). Category pages include special pages such as sales or promotions. For instance, a special sale page may have the category hierarchy: \"pageCategories\" : [\"Sales > 2017 Black Friday Deals\"].", +"items": { +"type": "string" +}, +"type": "array" +}, +"pageSize": { +"description": "Maximum number of Products to return. If unspecified, defaults to a reasonable value. The maximum allowed value is 120. Values above 120 will be coerced to 120. If this field is negative, an INVALID_ARGUMENT is returned.", +"format": "int32", +"type": "integer" +}, +"pageToken": { +"description": "A page token SearchResponse.next_page_token, received from a previous SearchService.Search call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to SearchService.Search must match the call that provided the page token. Otherwise, an INVALID_ARGUMENT error is returned.", +"type": "string" +}, +"personalizationSpec": { +"$ref": "GoogleCloudRetailV2betaSearchRequestPersonalizationSpec", +"description": "The specification for personalization. Notice that if both ServingConfig.personalization_spec and SearchRequest.personalization_spec are set. SearchRequest.personalization_spec will override ServingConfig.personalization_spec." +}, +"placeId": { +"description": "Optional. An id corresponding to a place, such as a store id or region id. When specified, we use the price from the local inventory with the matching product's LocalInventory.place_id for revenue optimization. Note, the currency of the local inventory's price must match the currency of the product's price.", +"type": "string" +}, +"query": { +"description": "Raw search query. If this field is empty, the request is considered a category browsing request and returned results are based on filter and page_categories.", +"type": "string" +}, +"queryExpansionSpec": { +"$ref": "GoogleCloudRetailV2betaSearchRequestQueryExpansionSpec", +"description": "The query expansion specification that specifies the conditions under which query expansion occurs. For more information, see [Query expansion](https://cloud.google.com/retail/docs/result-size#query_expansion)." +}, +"regionCode": { +"description": "Optional. The Unicode country/region code (CLDR) of a location, such as \"US\" and \"419\" [list](https://www.unicode.org/cldr/charts/46/supplemental/territory_information.html). For more information, see [Standardized codes](https://google.aip.dev/143). If set, then results will be boosted based on the region_code provided.", +"type": "string" +}, +"searchMode": { +"description": "The search mode of the search request. If not specified, a single search request triggers both product search and faceted search.", +"enum": [ +"SEARCH_MODE_UNSPECIFIED", +"PRODUCT_SEARCH_ONLY", +"FACETED_SEARCH_ONLY" +], +"enumDescriptions": [ +"Default value. In this case both product search and faceted search will be performed. Both SearchResponse.SearchResult and SearchResponse.Facet will be returned.", +"Only product search will be performed. The faceted search will be disabled. Only SearchResponse.SearchResult will be returned. SearchResponse.Facet will not be returned, even if SearchRequest.facet_specs or SearchRequest.dynamic_facet_spec is set.", +"Only faceted search will be performed. The product search will be disabled. When in this mode, one or both of SearchRequest.facet_specs and SearchRequest.dynamic_facet_spec should be set. Otherwise, an INVALID_ARGUMENT error is returned. Only SearchResponse.Facet will be returned. SearchResponse.SearchResult will not be returned." +], +"type": "string" +}, +"spellCorrectionSpec": { +"$ref": "GoogleCloudRetailV2betaSearchRequestSpellCorrectionSpec", +"description": "The spell correction specification that specifies the mode under which spell correction will take effect." +}, +"tileNavigationSpec": { +"$ref": "GoogleCloudRetailV2betaSearchRequestTileNavigationSpec", +"description": "Optional. This field specifies tile navigation related parameters." +}, +"userAttributes": { +"additionalProperties": { +"$ref": "GoogleCloudRetailV2betaStringList" +}, +"description": "Optional. The user attributes that could be used for personalization of search results. * Populate at most 100 key-value pairs per query. * Only supports string keys and repeated string values. * Duplicate keys are not allowed within a single query. Example: user_attributes: [ { key: \"pets\" value { values: \"dog\" values: \"cat\" } }, { key: \"state\" value { values: \"CA\" } } ]", +"type": "object" +}, +"userInfo": { +"$ref": "GoogleCloudRetailV2betaUserInfo", +"description": "User information." +}, +"variantRollupKeys": { +"description": "The keys to fetch and rollup the matching variant Products attributes, FulfillmentInfo or LocalInventorys attributes. The attributes from all the matching variant Products or LocalInventorys are merged and de-duplicated. Notice that rollup attributes will lead to extra query latency. Maximum number of keys is 30. For FulfillmentInfo, a fulfillment type and a fulfillment ID must be provided in the format of \"fulfillmentType.fulfillmentId\". E.g., in \"pickupInStore.store123\", \"pickupInStore\" is fulfillment type and \"store123\" is the store ID. Supported keys are: * colorFamilies * price * originalPrice * discount * variantId * inventory(place_id,price) * inventory(place_id,original_price) * inventory(place_id,attributes.key), where key is any key in the Product.local_inventories.attributes map. * attributes.key, where key is any key in the Product.attributes map. * pickupInStore.id, where id is any FulfillmentInfo.place_ids for FulfillmentInfo.type \"pickup-in-store\". * shipToStore.id, where id is any FulfillmentInfo.place_ids for FulfillmentInfo.type \"ship-to-store\". * sameDayDelivery.id, where id is any FulfillmentInfo.place_ids for FulfillmentInfo.type \"same-day-delivery\". * nextDayDelivery.id, where id is any FulfillmentInfo.place_ids for FulfillmentInfo.type \"next-day-delivery\". * customFulfillment1.id, where id is any FulfillmentInfo.place_ids for FulfillmentInfo.type \"custom-type-1\". * customFulfillment2.id, where id is any FulfillmentInfo.place_ids for FulfillmentInfo.type \"custom-type-2\". * customFulfillment3.id, where id is any FulfillmentInfo.place_ids for FulfillmentInfo.type \"custom-type-3\". * customFulfillment4.id, where id is any FulfillmentInfo.place_ids for FulfillmentInfo.type \"custom-type-4\". * customFulfillment5.id, where id is any FulfillmentInfo.place_ids for FulfillmentInfo.type \"custom-type-5\". If this field is set to an invalid value other than these, an INVALID_ARGUMENT error is returned.", +"items": { +"type": "string" +}, +"type": "array" +}, +"visitorId": { +"description": "Required. A unique identifier for tracking visitors. For example, this could be implemented with an HTTP cookie, which should be able to uniquely identify a visitor on a single device. This unique identifier should not change if the visitor logs in or out of the website. This should be the same identifier as UserEvent.visitor_id. The field must be a UTF-8 encoded string with a length limit of 128 characters. Otherwise, an INVALID_ARGUMENT error is returned.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2betaSearchRequestBoostSpec": { +"description": "Boost specification to boost certain items.", +"id": "GoogleCloudRetailV2betaSearchRequestBoostSpec", +"properties": { +"conditionBoostSpecs": { +"description": "Condition boost specifications. If a product matches multiple conditions in the specifications, boost scores from these specifications are all applied and combined in a non-linear way. Maximum number of specifications is 20.", +"items": { +"$ref": "GoogleCloudRetailV2betaSearchRequestBoostSpecConditionBoostSpec" +}, +"type": "array" +}, +"skipBoostSpecValidation": { +"description": "Whether to skip boostspec validation. If this field is set to true, invalid BoostSpec.condition_boost_specs will be ignored and valid BoostSpec.condition_boost_specs will still be applied.", +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2betaSearchRequestBoostSpecConditionBoostSpec": { +"description": "Boost applies to products which match a condition.", +"id": "GoogleCloudRetailV2betaSearchRequestBoostSpecConditionBoostSpec", +"properties": { +"boost": { +"description": "Strength of the condition boost, which should be in [-1, 1]. Negative boost means demotion. Default is 0.0. Setting to 1.0 gives the item a big promotion. However, it does not necessarily mean that the boosted item will be the top result at all times, nor that other items will be excluded. Results could still be shown even when none of them matches the condition. And results that are significantly more relevant to the search query can still trump your heavily favored but irrelevant items. Setting to -1.0 gives the item a big demotion. However, results that are deeply relevant might still be shown. The item will have an upstream battle to get a fairly high ranking, but it is not blocked out completely. Setting to 0.0 means no boost applied. The boosting condition is ignored.", +"format": "float", +"type": "number" +}, +"condition": { +"description": "An expression which specifies a boost condition. The syntax and supported fields are the same as a filter expression. See SearchRequest.filter for detail syntax and limitations. Examples: * To boost products with product ID \"product_1\" or \"product_2\", and color \"Red\" or \"Blue\": * (id: ANY(\"product_1\", \"product_2\")) AND (colorFamilies: ANY(\"Red\",\"Blue\"))", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2betaSearchRequestConversationalSearchSpec": { +"description": "This field specifies all conversational related parameters addition to traditional retail search.", +"id": "GoogleCloudRetailV2betaSearchRequestConversationalSearchSpec", +"properties": { +"conversationId": { +"description": "This field specifies the conversation id, which maintains the state of the conversation between client side and server side. Use the value from the previous SearchResponse.ConversationalSearchResult.conversation_id. For the initial request, this should be empty.", +"type": "string" +}, +"followupConversationRequested": { +"description": "This field specifies whether the customer would like to do conversational search. If this field is set to true, conversational related extra information will be returned from server side, including follow-up question, answer options, etc.", +"type": "boolean" +}, +"userAnswer": { +"$ref": "GoogleCloudRetailV2betaSearchRequestConversationalSearchSpecUserAnswer", +"description": "This field specifies the current user answer during the conversational search. This can be either user selected from suggested answers or user input plain text." +} +}, +"type": "object" +}, +"GoogleCloudRetailV2betaSearchRequestConversationalSearchSpecUserAnswer": { +"description": "This field specifies the current user answer during the conversational search. This can be either user selected from suggested answers or user input plain text.", +"id": "GoogleCloudRetailV2betaSearchRequestConversationalSearchSpecUserAnswer", +"properties": { +"selectedAnswer": { +"$ref": "GoogleCloudRetailV2betaSearchRequestConversationalSearchSpecUserAnswerSelectedAnswer", +"description": "This field specifies the selected attributes during the conversational search. This should be a subset of SearchResponse.ConversationalSearchResult.suggested_answers." +}, +"textAnswer": { +"description": "This field specifies the incremental input text from the user during the conversational search.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2betaSearchRequestConversationalSearchSpecUserAnswerSelectedAnswer": { +"description": "This field specifies the selected answers during the conversational search.", +"id": "GoogleCloudRetailV2betaSearchRequestConversationalSearchSpecUserAnswerSelectedAnswer", +"properties": { +"productAttributeValue": { +"$ref": "GoogleCloudRetailV2betaProductAttributeValue", +"description": "This field specifies the selected answer which is a attribute key-value." +}, +"productAttributeValues": { +"deprecated": true, +"description": "This field is deprecated and should not be set.", +"items": { +"$ref": "GoogleCloudRetailV2betaProductAttributeValue" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2betaSearchRequestDynamicFacetSpec": { +"description": "The specifications of dynamically generated facets.", +"id": "GoogleCloudRetailV2betaSearchRequestDynamicFacetSpec", +"properties": { +"mode": { +"description": "Mode of the DynamicFacet feature. Defaults to Mode.DISABLED if it's unset.", +"enum": [ +"MODE_UNSPECIFIED", +"DISABLED", +"ENABLED" +], +"enumDescriptions": [ +"Default value.", +"Disable Dynamic Facet.", +"Automatic mode built by Google Retail Search." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2betaSearchRequestFacetSpec": { +"description": "A facet specification to perform faceted search.", +"id": "GoogleCloudRetailV2betaSearchRequestFacetSpec", +"properties": { +"enableDynamicPosition": { +"description": "Enables dynamic position for this facet. If set to true, the position of this facet among all facets in the response is determined by Google Retail Search. It is ordered together with dynamic facets if dynamic facets is enabled. If set to false, the position of this facet in the response is the same as in the request, and it is ranked before the facets with dynamic position enable and all dynamic facets. For example, you may always want to have rating facet returned in the response, but it's not necessarily to always display the rating facet at the top. In that case, you can set enable_dynamic_position to true so that the position of rating facet in response is determined by Google Retail Search. Another example, assuming you have the following facets in the request: * \"rating\", enable_dynamic_position = true * \"price\", enable_dynamic_position = false * \"brands\", enable_dynamic_position = false And also you have a dynamic facets enable, which generates a facet \"gender\". Then, the final order of the facets in the response can be (\"price\", \"brands\", \"rating\", \"gender\") or (\"price\", \"brands\", \"gender\", \"rating\") depends on how Google Retail Search orders \"gender\" and \"rating\" facets. However, notice that \"price\" and \"brands\" are always ranked at first and second position because their enable_dynamic_position values are false.", +"type": "boolean" +}, +"excludedFilterKeys": { +"description": "List of keys to exclude when faceting. By default, FacetKey.key is not excluded from the filter unless it is listed in this field. Listing a facet key in this field allows its values to appear as facet results, even when they are filtered out of search results. Using this field does not affect what search results are returned. For example, suppose there are 100 products with the color facet \"Red\" and 200 products with the color facet \"Blue\". A query containing the filter \"colorFamilies:ANY(\"Red\")\" and having \"colorFamilies\" as FacetKey.key would by default return only \"Red\" products in the search results, and also return \"Red\" with count 100 as the only color facet. Although there are also blue products available, \"Blue\" would not be shown as an available facet value. If \"colorFamilies\" is listed in \"excludedFilterKeys\", then the query returns the facet values \"Red\" with count 100 and \"Blue\" with count 200, because the \"colorFamilies\" key is now excluded from the filter. Because this field doesn't affect search results, the search results are still correctly filtered to return only \"Red\" products. A maximum of 100 values are allowed. Otherwise, an INVALID_ARGUMENT error is returned.", +"items": { +"type": "string" +}, +"type": "array" +}, +"facetKey": { +"$ref": "GoogleCloudRetailV2betaSearchRequestFacetSpecFacetKey", +"description": "Required. The facet key specification." +}, +"limit": { +"description": "Maximum of facet values that should be returned for this facet. If unspecified, defaults to 50. The maximum allowed value is 300. Values above 300 will be coerced to 300. If this field is negative, an INVALID_ARGUMENT is returned.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2betaSearchRequestFacetSpecFacetKey": { +"description": "Specifies how a facet is computed.", +"id": "GoogleCloudRetailV2betaSearchRequestFacetSpecFacetKey", +"properties": { +"caseInsensitive": { +"description": "True to make facet keys case insensitive when getting faceting values with prefixes or contains; false otherwise.", +"type": "boolean" +}, +"contains": { +"description": "Only get facet values that contains the given strings. For example, suppose \"categories\" has three values \"Women > Shoe\", \"Women > Dress\" and \"Men > Shoe\". If set \"contains\" to \"Shoe\", the \"categories\" facet gives only \"Women > Shoe\" and \"Men > Shoe\". Only supported on textual fields. Maximum is 10.", +"items": { +"type": "string" +}, +"type": "array" +}, +"intervals": { +"description": "Set only if values should be bucketized into intervals. Must be set for facets with numerical values. Must not be set for facet with text values. Maximum number of intervals is 40. For all numerical facet keys that appear in the list of products from the catalog, the percentiles 0, 10, 30, 50, 70, 90, and 100 are computed from their distribution weekly. If the model assigns a high score to a numerical facet key and its intervals are not specified in the search request, these percentiles become the bounds for its intervals and are returned in the response. If the facet key intervals are specified in the request, then the specified intervals are returned instead.", +"items": { +"$ref": "GoogleCloudRetailV2betaInterval" +}, +"type": "array" +}, +"key": { +"description": "Required. Supported textual and numerical facet keys in Product object, over which the facet values are computed. Facet key is case-sensitive. Allowed facet keys when FacetKey.query is not specified: * textual_field = * \"brands\" * \"categories\" * \"genders\" * \"ageGroups\" * \"availability\" * \"colorFamilies\" * \"colors\" * \"sizes\" * \"materials\" * \"patterns\" * \"conditions\" * \"attributes.key\" * \"pickupInStore\" * \"shipToStore\" * \"sameDayDelivery\" * \"nextDayDelivery\" * \"customFulfillment1\" * \"customFulfillment2\" * \"customFulfillment3\" * \"customFulfillment4\" * \"customFulfillment5\" * \"inventory(place_id,attributes.key)\" * numerical_field = * \"price\" * \"discount\" * \"rating\" * \"ratingCount\" * \"attributes.key\" * \"inventory(place_id,price)\" * \"inventory(place_id,original_price)\" * \"inventory(place_id,attributes.key)\"", +"type": "string" +}, +"orderBy": { +"description": "The order in which SearchResponse.Facet.values are returned. Allowed values are: * \"count desc\", which means order by SearchResponse.Facet.values.count descending. * \"value desc\", which means order by SearchResponse.Facet.values.value descending. Only applies to textual facets. If not set, textual values are sorted in [natural order](https://en.wikipedia.org/wiki/Natural_sort_order); numerical intervals are sorted in the order given by FacetSpec.FacetKey.intervals; FulfillmentInfo.place_ids are sorted in the order given by FacetSpec.FacetKey.restricted_values.", +"type": "string" +}, +"prefixes": { +"description": "Only get facet values that start with the given string prefix. For example, suppose \"categories\" has three values \"Women > Shoe\", \"Women > Dress\" and \"Men > Shoe\". If set \"prefixes\" to \"Women\", the \"categories\" facet gives only \"Women > Shoe\" and \"Women > Dress\". Only supported on textual fields. Maximum is 10.", +"items": { +"type": "string" +}, +"type": "array" +}, +"query": { +"description": "The query that is used to compute facet for the given facet key. When provided, it overrides the default behavior of facet computation. The query syntax is the same as a filter expression. See SearchRequest.filter for detail syntax and limitations. Notice that there is no limitation on FacetKey.key when query is specified. In the response, SearchResponse.Facet.values.value is always \"1\" and SearchResponse.Facet.values.count is the number of results that match the query. For example, you can set a customized facet for \"shipToStore\", where FacetKey.key is \"customizedShipToStore\", and FacetKey.query is \"availability: ANY(\\\"IN_STOCK\\\") AND shipToStore: ANY(\\\"123\\\")\". Then the facet counts the products that are both in stock and ship to store \"123\".", +"type": "string" +}, +"restrictedValues": { +"description": "Only get facet for the given restricted values. For example, when using \"pickupInStore\" as key and set restricted values to [\"store123\", \"store456\"], only facets for \"store123\" and \"store456\" are returned. Only supported on predefined textual fields, custom textual attributes and fulfillments. Maximum is 20. Must be set for the fulfillment facet keys: * pickupInStore * shipToStore * sameDayDelivery * nextDayDelivery * customFulfillment1 * customFulfillment2 * customFulfillment3 * customFulfillment4 * customFulfillment5", +"items": { +"type": "string" +}, +"type": "array" +}, +"returnMinMax": { +"description": "Returns the min and max value for each numerical facet intervals. Ignored for textual facets.", +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2betaSearchRequestPersonalizationSpec": { +"description": "The specification for personalization.", +"id": "GoogleCloudRetailV2betaSearchRequestPersonalizationSpec", +"properties": { +"mode": { +"description": "Defaults to Mode.AUTO.", +"enum": [ +"MODE_UNSPECIFIED", +"AUTO", +"DISABLED" +], +"enumDescriptions": [ +"Default value. In this case, server behavior defaults to Mode.AUTO.", +"Let CRS decide whether to use personalization based on quality of user event data.", +"Disable personalization." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2betaSearchRequestQueryExpansionSpec": { +"description": "Specification to determine under which conditions query expansion should occur.", +"id": "GoogleCloudRetailV2betaSearchRequestQueryExpansionSpec", +"properties": { +"condition": { +"description": "The condition under which query expansion should occur. Default to Condition.DISABLED.", +"enum": [ +"CONDITION_UNSPECIFIED", +"DISABLED", +"AUTO" +], +"enumDescriptions": [ +"Unspecified query expansion condition. In this case, server behavior defaults to Condition.DISABLED.", +"Disabled query expansion. Only the exact search query is used, even if SearchResponse.total_size is zero.", +"Automatic query expansion built by Google Retail Search." +], +"type": "string" +}, +"pinUnexpandedResults": { +"description": "Whether to pin unexpanded results. The default value is false. If this field is set to true, unexpanded products are always at the top of the search results, followed by the expanded results.", +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2betaSearchRequestSpellCorrectionSpec": { +"description": "The specification for query spell correction.", +"id": "GoogleCloudRetailV2betaSearchRequestSpellCorrectionSpec", +"properties": { +"mode": { +"description": "The mode under which spell correction should take effect to replace the original search query. Default to Mode.AUTO.", +"enum": [ +"MODE_UNSPECIFIED", +"SUGGESTION_ONLY", +"AUTO" +], +"enumDescriptions": [ +"Unspecified spell correction mode. In this case, server behavior defaults to Mode.AUTO.", +"Google Retail Search will try to find a spell suggestion if there is any and put in the SearchResponse.corrected_query. The spell suggestion will not be used as the search query.", +"Automatic spell correction built by Google Retail Search. Search will be based on the corrected query if found." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2betaSearchRequestTileNavigationSpec": { +"description": "This field specifies tile navigation related parameters.", +"id": "GoogleCloudRetailV2betaSearchRequestTileNavigationSpec", +"properties": { +"appliedTiles": { +"description": "This optional field specifies the tiles which are already clicked in client side. While the feature works without this field set, particularly for an initial query, it is highly recommended to set this field because it can improve the quality of the search response and removes possible duplicate tiles. NOTE: This field is not being used for filtering search products. Client side should also put all the applied tiles in SearchRequest.filter.", +"items": { +"$ref": "GoogleCloudRetailV2betaTile" +}, +"type": "array" +}, +"tileNavigationRequested": { +"description": "This field specifies whether the customer would like to request tile navigation.", +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2betaSearchResponse": { +"description": "Response message for SearchService.Search method.", +"id": "GoogleCloudRetailV2betaSearchResponse", +"properties": { +"appliedControls": { +"description": "The fully qualified resource name of applied [controls](https://cloud.google.com/retail/docs/serving-control-rules).", +"items": { +"type": "string" +}, +"type": "array" +}, +"attributionToken": { +"description": "A unique search token. This should be included in the UserEvent logs resulting from this search, which enables accurate attribution of search model performance.", +"type": "string" +}, +"conversationalSearchResult": { +"$ref": "GoogleCloudRetailV2betaSearchResponseConversationalSearchResult", +"description": "This field specifies all related information that is needed on client side for UI rendering of conversational retail search." +}, +"correctedQuery": { +"description": "Contains the spell corrected query, if found. If the spell correction type is AUTOMATIC, then the search results are based on corrected_query. Otherwise the original query is used for search.", +"type": "string" +}, +"experimentInfo": { +"description": "Metadata related to A/B testing experiment associated with this response. Only exists when an experiment is triggered.", +"items": { +"$ref": "GoogleCloudRetailV2betaExperimentInfo" +}, +"type": "array" +}, +"facets": { +"description": "Results of facets requested by user.", +"items": { +"$ref": "GoogleCloudRetailV2betaSearchResponseFacet" +}, +"type": "array" +}, +"invalidConditionBoostSpecs": { +"description": "The invalid SearchRequest.BoostSpec.condition_boost_specs that are not applied during serving.", +"items": { +"$ref": "GoogleCloudRetailV2betaSearchRequestBoostSpecConditionBoostSpec" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A token that can be sent as SearchRequest.page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.", +"type": "string" +}, +"pinControlMetadata": { +"$ref": "GoogleCloudRetailV2betaPinControlMetadata", +"description": "Metadata for pin controls which were applicable to the request. This contains two map fields, one for all matched pins and one for pins which were matched but not applied. The two maps are keyed by pin position, and the values are the product ids which were matched to that pin." +}, +"queryExpansionInfo": { +"$ref": "GoogleCloudRetailV2betaSearchResponseQueryExpansionInfo", +"description": "Query expansion information for the returned results." +}, +"redirectUri": { +"description": "The URI of a customer-defined redirect page. If redirect action is triggered, no search is performed, and only redirect_uri and attribution_token are set in the response.", +"type": "string" +}, +"results": { +"description": "A list of matched items. The order represents the ranking.", +"items": { +"$ref": "GoogleCloudRetailV2betaSearchResponseSearchResult" +}, +"type": "array" +}, +"tileNavigationResult": { +"$ref": "GoogleCloudRetailV2betaSearchResponseTileNavigationResult", +"description": "This field specifies all related information for tile navigation that will be used in client side." +}, +"totalSize": { +"description": "The estimated total count of matched items irrespective of pagination. The count of results returned by pagination may be less than the total_size that matches.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2betaSearchResponseConversationalSearchResult": { +"description": "This field specifies all related information that is needed on client side for UI rendering of conversational retail search.", +"id": "GoogleCloudRetailV2betaSearchResponseConversationalSearchResult", +"properties": { +"additionalFilter": { +"$ref": "GoogleCloudRetailV2betaSearchResponseConversationalSearchResultAdditionalFilter", +"description": "This is the incremental additional filters implied from the current user answer. User should add the suggested addition filters to the previous SearchRequest.filter, and use the merged filter in the follow up search request." +}, +"additionalFilters": { +"deprecated": true, +"description": "This field is deprecated but will be kept for backward compatibility. There is expected to have only one additional filter and the value will be the same to the same as field `additional_filter`.", +"items": { +"$ref": "GoogleCloudRetailV2betaSearchResponseConversationalSearchResultAdditionalFilter" +}, +"type": "array" +}, +"conversationId": { +"description": "Conversation UUID. This field will be stored in client side storage to maintain the conversation session with server and will be used for next search request's SearchRequest.ConversationalSearchSpec.conversation_id to restore conversation state in server.", +"type": "string" +}, +"followupQuestion": { +"description": "The follow-up question. e.g., `What is the color?`", +"type": "string" +}, +"refinedQuery": { +"description": "The current refined query for the conversational search. This field will be used in customer UI that the query in the search bar should be replaced with the refined query. For example, if SearchRequest.query is `dress` and next SearchRequest.ConversationalSearchSpec.UserAnswer.text_answer is `red color`, which does not match any product attribute value filters, the refined query will be `dress, red color`.", +"type": "string" +}, +"suggestedAnswers": { +"description": "The answer options provided to client for the follow-up question.", +"items": { +"$ref": "GoogleCloudRetailV2betaSearchResponseConversationalSearchResultSuggestedAnswer" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2betaSearchResponseConversationalSearchResultAdditionalFilter": { +"description": "Additional filter that client side need to apply.", +"id": "GoogleCloudRetailV2betaSearchResponseConversationalSearchResultAdditionalFilter", +"properties": { +"productAttributeValue": { +"$ref": "GoogleCloudRetailV2betaProductAttributeValue", +"description": "Product attribute value, including an attribute key and an attribute value. Other types can be added here in the future." +} +}, +"type": "object" +}, +"GoogleCloudRetailV2betaSearchResponseConversationalSearchResultSuggestedAnswer": { +"description": "Suggested answers to the follow-up question.", +"id": "GoogleCloudRetailV2betaSearchResponseConversationalSearchResultSuggestedAnswer", +"properties": { +"productAttributeValue": { +"$ref": "GoogleCloudRetailV2betaProductAttributeValue", +"description": "Product attribute value, including an attribute key and an attribute value. Other types can be added here in the future." +} +}, +"type": "object" +}, +"GoogleCloudRetailV2betaSearchResponseFacet": { +"description": "A facet result.", +"id": "GoogleCloudRetailV2betaSearchResponseFacet", +"properties": { +"dynamicFacet": { +"description": "Whether the facet is dynamically generated.", +"type": "boolean" +}, +"key": { +"description": "The key for this facet. E.g., \"colorFamilies\" or \"price\" or \"attributes.attr1\".", +"type": "string" +}, +"values": { +"description": "The facet values for this field.", +"items": { +"$ref": "GoogleCloudRetailV2betaSearchResponseFacetFacetValue" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2betaSearchResponseFacetFacetValue": { +"description": "A facet value which contains value names and their count.", +"id": "GoogleCloudRetailV2betaSearchResponseFacetFacetValue", +"properties": { +"count": { +"description": "Number of items that have this facet value.", +"format": "int64", +"type": "string" +}, +"interval": { +"$ref": "GoogleCloudRetailV2betaInterval", +"description": "Interval value for a facet, such as [10, 20) for facet \"price\"." +}, +"maxValue": { +"description": "The maximum value in the FacetValue.interval. Only supported on numerical facets and returned if SearchRequest.FacetSpec.FacetKey.return_min_max is true.", +"format": "double", +"type": "number" +}, +"minValue": { +"description": "The minimum value in the FacetValue.interval. Only supported on numerical facets and returned if SearchRequest.FacetSpec.FacetKey.return_min_max is true.", +"format": "double", +"type": "number" +}, +"value": { +"description": "Text value of a facet, such as \"Black\" for facet \"colorFamilies\".", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2betaSearchResponseQueryExpansionInfo": { +"description": "Information describing query expansion including whether expansion has occurred.", +"id": "GoogleCloudRetailV2betaSearchResponseQueryExpansionInfo", +"properties": { +"expandedQuery": { +"description": "Bool describing whether query expansion has occurred.", +"type": "boolean" +}, +"pinnedResultCount": { +"description": "Number of pinned results. This field will only be set when expansion happens and SearchRequest.QueryExpansionSpec.pin_unexpanded_results is set to true.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2betaSearchResponseSearchResult": { +"description": "Represents the search results.", +"id": "GoogleCloudRetailV2betaSearchResponseSearchResult", +"properties": { +"id": { +"description": "Product.id of the searched Product.", +"type": "string" +}, +"matchingVariantCount": { +"description": "The count of matched variant Products.", +"format": "int32", +"type": "integer" +}, +"matchingVariantFields": { +"additionalProperties": { +"format": "google-fieldmask", +"type": "string" +}, +"description": "If a variant Product matches the search query, this map indicates which Product fields are matched. The key is the Product.name, the value is a field mask of the matched Product fields. If matched attributes cannot be determined, this map will be empty. For example, a key \"sku1\" with field mask \"products.color_info\" indicates there is a match between \"sku1\" ColorInfo and the query.", +"type": "object" +}, +"modelScores": { +"additionalProperties": { +"$ref": "GoogleCloudRetailV2betaDoubleList" +}, +"description": "Google provided available scores.", +"type": "object" +}, +"personalLabels": { +"description": "Specifies previous events related to this product for this user based on UserEvent with same SearchRequest.visitor_id or UserInfo.user_id. This is set only when SearchRequest.PersonalizationSpec.mode is SearchRequest.PersonalizationSpec.Mode.AUTO. Possible values: * `purchased`: Indicates that this product has been purchased before.", +"items": { +"type": "string" +}, +"type": "array" +}, +"product": { +"$ref": "GoogleCloudRetailV2betaProduct", +"description": "The product data snippet in the search response. Only Product.name is guaranteed to be populated. Product.variants contains the product variants that match the search query. If there are multiple product variants matching the query, top 5 most relevant product variants are returned and ordered by relevancy. If relevancy can be deternmined, use matching_variant_fields to look up matched product variants fields. If relevancy cannot be determined, e.g. when searching \"shoe\" all products in a shoe product can be a match, 5 product variants are returned but order is meaningless." +}, +"variantRollupValues": { +"additionalProperties": { +"type": "any" +}, +"description": "The rollup matching variant Product attributes. The key is one of the SearchRequest.variant_rollup_keys. The values are the merged and de-duplicated Product attributes. Notice that the rollup values are respect filter. For example, when filtering by \"colorFamilies:ANY(\\\"red\\\")\" and rollup \"colorFamilies\", only \"red\" is returned. For textual and numerical attributes, the rollup values is a list of string or double values with type google.protobuf.ListValue. For example, if there are two variants with colors \"red\" and \"blue\", the rollup values are { key: \"colorFamilies\" value { list_value { values { string_value: \"red\" } values { string_value: \"blue\" } } } } For FulfillmentInfo, the rollup values is a double value with type google.protobuf.Value. For example, `{key: \"pickupInStore.store1\" value { number_value: 10 }}` means a there are 10 variants in this product are available in the store \"store1\".", +"type": "object" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2betaSearchResponseTileNavigationResult": { +"description": "This field specifies all related information for tile navigation that will be used in client side.", +"id": "GoogleCloudRetailV2betaSearchResponseTileNavigationResult", +"properties": { +"tiles": { +"description": "The current tiles that are used for tile navigation, sorted by engagement.", +"items": { +"$ref": "GoogleCloudRetailV2betaTile" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2betaServingConfig": { +"description": "Configures metadata that is used to generate serving time results (e.g. search results or recommendation predictions).", +"id": "GoogleCloudRetailV2betaServingConfig", +"properties": { +"boostControlIds": { +"description": "Condition boost specifications. If a product matches multiple conditions in the specifications, boost scores from these specifications are all applied and combined in a non-linear way. Maximum number of specifications is 100. Notice that if both ServingConfig.boost_control_ids and SearchRequest.boost_spec are set, the boost conditions from both places are evaluated. If a search request matches multiple boost conditions, the final boost score is equal to the sum of the boost scores from all matched boost conditions. Can only be set if solution_types is SOLUTION_TYPE_SEARCH.", +"items": { +"type": "string" +}, +"type": "array" +}, +"displayName": { +"description": "Required. The human readable serving config display name. Used in Retail UI. This field must be a UTF-8 encoded string with a length limit of 128 characters. Otherwise, an INVALID_ARGUMENT error is returned.", +"type": "string" +}, +"diversityLevel": { +"description": "How much diversity to use in recommendation model results e.g. `medium-diversity` or `high-diversity`. Currently supported values: * `no-diversity` * `low-diversity` * `medium-diversity` * `high-diversity` * `auto-diversity` If not specified, we choose default based on recommendation model type. Default value: `no-diversity`. Can only be set if solution_types is SOLUTION_TYPE_RECOMMENDATION.", +"type": "string" +}, +"diversityType": { +"description": "What kind of diversity to use - data driven or rule based. If unset, the server behavior defaults to RULE_BASED_DIVERSITY.", +"enum": [ +"DIVERSITY_TYPE_UNSPECIFIED", +"RULE_BASED_DIVERSITY", +"DATA_DRIVEN_DIVERSITY" +], +"enumDescriptions": [ +"Default value.", +"Rule based diversity.", +"Data driven diversity." +], +"type": "string" +}, +"doNotAssociateControlIds": { +"description": "Condition do not associate specifications. If multiple do not associate conditions match, all matching do not associate controls in the list will execute. - Order does not matter. - Maximum number of specifications is 100. Can only be set if solution_types is SOLUTION_TYPE_SEARCH.", +"items": { +"type": "string" +}, +"type": "array" +}, +"dynamicFacetSpec": { +"$ref": "GoogleCloudRetailV2betaSearchRequestDynamicFacetSpec", +"description": "The specification for dynamically generated facets. Notice that only textual facets can be dynamically generated. Can only be set if solution_types is SOLUTION_TYPE_SEARCH." +}, +"enableCategoryFilterLevel": { +"description": "Whether to add additional category filters on the `similar-items` model. If not specified, we enable it by default. Allowed values are: * `no-category-match`: No additional filtering of original results from the model and the customer's filters. * `relaxed-category-match`: Only keep results with categories that match at least one item categories in the PredictRequests's context item. * If customer also sends filters in the PredictRequest, then the results will satisfy both conditions (user given and category match). Can only be set if solution_types is SOLUTION_TYPE_RECOMMENDATION.", +"type": "string" +}, +"facetControlIds": { +"description": "Facet specifications for faceted search. If empty, no facets are returned. The ids refer to the ids of Control resources with only the Facet control set. These controls are assumed to be in the same Catalog as the ServingConfig. A maximum of 100 values are allowed. Otherwise, an INVALID_ARGUMENT error is returned. Can only be set if solution_types is SOLUTION_TYPE_SEARCH.", +"items": { +"type": "string" +}, +"type": "array" +}, +"filterControlIds": { +"description": "Condition filter specifications. If a product matches multiple conditions in the specifications, filters from these specifications are all applied and combined via the AND operator. Maximum number of specifications is 100. Can only be set if solution_types is SOLUTION_TYPE_SEARCH.", +"items": { +"type": "string" +}, +"type": "array" +}, +"ignoreControlIds": { +"description": "Condition ignore specifications. If multiple ignore conditions match, all matching ignore controls in the list will execute. - Order does not matter. - Maximum number of specifications is 100. Can only be set if solution_types is SOLUTION_TYPE_SEARCH.", +"items": { +"type": "string" +}, +"type": "array" +}, +"ignoreRecsDenylist": { +"description": "When the flag is enabled, the products in the denylist will not be filtered out in the recommendation filtering results.", +"type": "boolean" +}, +"modelId": { +"description": "The id of the model in the same Catalog to use at serving time. Currently only RecommendationModels are supported: https://cloud.google.com/retail/recommendations-ai/docs/create-models Can be changed but only to a compatible model (e.g. others-you-may-like CTR to others-you-may-like CVR). Required when solution_types is SOLUTION_TYPE_RECOMMENDATION.", +"type": "string" +}, +"name": { +"description": "Immutable. Fully qualified name `projects/*/locations/global/catalogs/*/servingConfig/*`", +"type": "string" +}, +"onewaySynonymsControlIds": { +"description": "Condition oneway synonyms specifications. If multiple oneway synonyms conditions match, all matching oneway synonyms controls in the list will execute. Order of controls in the list will not matter. Maximum number of specifications is 100. Can only be set if solution_types is SOLUTION_TYPE_SEARCH.", +"items": { +"type": "string" +}, +"type": "array" +}, +"personalizationSpec": { +"$ref": "GoogleCloudRetailV2betaSearchRequestPersonalizationSpec", +"description": "The specification for personalization spec. Can only be set if solution_types is SOLUTION_TYPE_SEARCH. Notice that if both ServingConfig.personalization_spec and SearchRequest.personalization_spec are set. SearchRequest.personalization_spec will override ServingConfig.personalization_spec." +}, +"priceRerankingLevel": { +"description": "How much price ranking we want in serving results. Price reranking causes product items with a similar recommendation probability to be ordered by price, with the highest-priced items first. This setting could result in a decrease in click-through and conversion rates. Allowed values are: * `no-price-reranking` * `low-price-reranking` * `medium-price-reranking` * `high-price-reranking` If not specified, we choose default based on model type. Default value: `no-price-reranking`. Can only be set if solution_types is SOLUTION_TYPE_RECOMMENDATION.", +"type": "string" +}, +"redirectControlIds": { +"description": "Condition redirect specifications. Only the first triggered redirect action is applied, even if multiple apply. Maximum number of specifications is 1000. Can only be set if solution_types is SOLUTION_TYPE_SEARCH.", +"items": { +"type": "string" +}, +"type": "array" +}, +"replacementControlIds": { +"description": "Condition replacement specifications. - Applied according to the order in the list. - A previously replaced term can not be re-replaced. - Maximum number of specifications is 100. Can only be set if solution_types is SOLUTION_TYPE_SEARCH.", +"items": { +"type": "string" +}, +"type": "array" +}, +"solutionTypes": { +"description": "Required. Immutable. Specifies the solution types that a serving config can be associated with. Currently we support setting only one type of solution.", +"items": { +"enum": [ +"SOLUTION_TYPE_UNSPECIFIED", +"SOLUTION_TYPE_RECOMMENDATION", +"SOLUTION_TYPE_SEARCH" +], +"enumDescriptions": [ +"Default value.", +"Used for Recommendations AI.", +"Used for Retail Search." +], +"type": "string" +}, +"type": "array" +}, +"twowaySynonymsControlIds": { +"description": "Condition synonyms specifications. If multiple syonyms conditions match, all matching synonyms control in the list will execute. Order of controls in the list will not matter. Maximum number of specifications is 100. Can only be set if solution_types is SOLUTION_TYPE_SEARCH.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2betaSetDefaultBranchRequest": { +"description": "Request message to set a specified branch as new default_branch.", +"id": "GoogleCloudRetailV2betaSetDefaultBranchRequest", +"properties": { +"branchId": { +"description": "The final component of the resource name of a branch. This field must be one of \"0\", \"1\" or \"2\". Otherwise, an INVALID_ARGUMENT error is returned. If there are no sufficient active products in the targeted branch and force is not set, a FAILED_PRECONDITION error is returned.", +"type": "string" +}, +"force": { +"description": "If set to true, it permits switching to a branch with branch_id even if it has no sufficient active products.", +"type": "boolean" +}, +"note": { +"description": "Some note on this request, this can be retrieved by CatalogService.GetDefaultBranch before next valid default branch set occurs. This field must be a UTF-8 encoded string with a length limit of 1,000 characters. Otherwise, an INVALID_ARGUMENT error is returned.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2betaSetInventoryMetadata": { +"description": "Metadata related to the progress of the SetInventory operation. Currently empty because there is no meaningful metadata populated from the ProductService.SetInventory method.", +"id": "GoogleCloudRetailV2betaSetInventoryMetadata", +"properties": {}, +"type": "object" +}, +"GoogleCloudRetailV2betaSetInventoryRequest": { +"description": "Request message for ProductService.SetInventory method.", +"id": "GoogleCloudRetailV2betaSetInventoryRequest", +"properties": { +"allowMissing": { +"description": "If set to true, and the Product with name Product.name is not found, the inventory update will still be processed and retained for at most 1 day until the Product is created. If set to false, a NOT_FOUND error is returned if the Product is not found.", +"type": "boolean" +}, +"inventory": { +"$ref": "GoogleCloudRetailV2betaProduct", +"description": "Required. The inventory information to update. The allowable fields to update are: * Product.price_info * Product.availability * Product.available_quantity * Product.fulfillment_info The updated inventory fields must be specified in SetInventoryRequest.set_mask. If SetInventoryRequest.inventory.name is empty or invalid, an INVALID_ARGUMENT error is returned. If the caller does not have permission to update the Product named in Product.name, regardless of whether or not it exists, a PERMISSION_DENIED error is returned. If the Product to update does not have existing inventory information, the provided inventory information will be inserted. If the Product to update has existing inventory information, the provided inventory information will be merged while respecting the last update time for each inventory field, using the provided or default value for SetInventoryRequest.set_time. The caller can replace place IDs for a subset of fulfillment types in the following ways: * Adds \"fulfillment_info\" in SetInventoryRequest.set_mask * Specifies only the desired fulfillment types and corresponding place IDs to update in SetInventoryRequest.inventory.fulfillment_info The caller can clear all place IDs from a subset of fulfillment types in the following ways: * Adds \"fulfillment_info\" in SetInventoryRequest.set_mask * Specifies only the desired fulfillment types to clear in SetInventoryRequest.inventory.fulfillment_info * Checks that only the desired fulfillment info types have empty SetInventoryRequest.inventory.fulfillment_info.place_ids The last update time is recorded for the following inventory fields: * Product.price_info * Product.availability * Product.available_quantity * Product.fulfillment_info If a full overwrite of inventory information while ignoring timestamps is needed, ProductService.UpdateProduct should be invoked instead." +}, +"setMask": { +"description": "Indicates which inventory fields in the provided Product to update. At least one field must be provided. If an unsupported or unknown field is provided, an INVALID_ARGUMENT error is returned and the entire update will be ignored.", +"format": "google-fieldmask", +"type": "string" +}, +"setTime": { +"description": "The time when the request is issued, used to prevent out-of-order updates on inventory fields with the last update time recorded. If not provided, the internal system time will be used.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2betaSetInventoryResponse": { +"description": "Response of the SetInventoryRequest. Currently empty because there is no meaningful response populated from the ProductService.SetInventory method.", +"id": "GoogleCloudRetailV2betaSetInventoryResponse", +"properties": {}, +"type": "object" +}, +"GoogleCloudRetailV2betaStringList": { +"description": "A list of string values.", +"id": "GoogleCloudRetailV2betaStringList", +"properties": { +"values": { +"description": "String values.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2betaTile": { +"description": "This field specifies the tile information including an attribute key, attribute value. More fields will be added in the future, eg: product id or product counts, etc.", +"id": "GoogleCloudRetailV2betaTile", +"properties": { +"productAttributeInterval": { +"$ref": "GoogleCloudRetailV2betaProductAttributeInterval", +"description": "The product attribute key-numeric interval." +}, +"productAttributeValue": { +"$ref": "GoogleCloudRetailV2betaProductAttributeValue", +"description": "The product attribute key-value." +}, +"representativeProductId": { +"description": "The representative product id for this tile.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2betaTuneModelMetadata": { +"description": "Metadata associated with a tune operation.", +"id": "GoogleCloudRetailV2betaTuneModelMetadata", +"properties": { +"model": { +"description": "The resource name of the model that this tune applies to. Format: `projects/{project_number}/locations/{location_id}/catalogs/{catalog_id}/models/{model_id}`", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2betaTuneModelRequest": { +"description": "Request to manually start a tuning process now (instead of waiting for the periodically scheduled tuning to happen).", +"id": "GoogleCloudRetailV2betaTuneModelRequest", +"properties": {}, +"type": "object" +}, +"GoogleCloudRetailV2betaTuneModelResponse": { +"description": "Response associated with a tune operation.", +"id": "GoogleCloudRetailV2betaTuneModelResponse", +"properties": {}, +"type": "object" +}, +"GoogleCloudRetailV2betaUpdateGenerativeQuestionConfigRequest": { +"description": "Request for UpdateGenerativeQuestionConfig method.", +"id": "GoogleCloudRetailV2betaUpdateGenerativeQuestionConfigRequest", +"properties": { +"generativeQuestionConfig": { +"$ref": "GoogleCloudRetailV2betaGenerativeQuestionConfig", +"description": "Required. The question to update." +}, +"updateMask": { +"description": "Optional. Indicates which fields in the provided GenerativeQuestionConfig to update. The following are NOT supported: * GenerativeQuestionConfig.frequency If not set or empty, all supported fields are updated.", +"format": "google-fieldmask", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2betaUserEvent": { +"description": "UserEvent captures all metadata information Retail API needs to know about how end users interact with customers' website.", +"id": "GoogleCloudRetailV2betaUserEvent", +"properties": { +"attributes": { +"additionalProperties": { +"$ref": "GoogleCloudRetailV2betaCustomAttribute" +}, +"description": "Extra user event features to include in the recommendation model. If you provide custom attributes for ingested user events, also include them in the user events that you associate with prediction requests. Custom attribute formatting must be consistent between imported events and events provided with prediction requests. This lets the Retail API use those custom attributes when training models and serving predictions, which helps improve recommendation quality. This field needs to pass all below criteria, otherwise an INVALID_ARGUMENT error is returned: * The key must be a UTF-8 encoded string with a length limit of 5,000 characters. * For text attributes, at most 400 values are allowed. Empty values are not allowed. Each value must be a UTF-8 encoded string with a length limit of 256 characters. * For number attributes, at most 400 values are allowed. For product recommendations, an example of extra user information is traffic_channel, which is how a user arrives at the site. Users can arrive at the site by coming to the site directly, coming through Google search, or in other ways.", +"type": "object" +}, +"attributionToken": { +"description": "Highly recommended for user events that are the result of PredictionService.Predict. This field enables accurate attribution of recommendation model performance. The value must be a valid PredictResponse.attribution_token for user events that are the result of PredictionService.Predict. The value must be a valid SearchResponse.attribution_token for user events that are the result of SearchService.Search. This token enables us to accurately attribute page view or purchase back to the event and the particular predict response containing this clicked/purchased product. If user clicks on product K in the recommendation results, pass PredictResponse.attribution_token as a URL parameter to product K's page. When recording events on product K's page, log the PredictResponse.attribution_token to this field.", +"type": "string" +}, +"cartId": { +"description": "The ID or name of the associated shopping cart. This ID is used to associate multiple items added or present in the cart before purchase. This can only be set for `add-to-cart`, `purchase-complete`, or `shopping-cart-page-view` events.", +"type": "string" +}, +"completionDetail": { +"$ref": "GoogleCloudRetailV2betaCompletionDetail", +"description": "The main auto-completion details related to the event. This field should be set for `search` event when autocomplete function is enabled and the user clicks a suggestion for search." +}, +"entity": { +"description": "The entity for customers that may run multiple different entities, domains, sites or regions, for example, `Google US`, `Google Ads`, `Waymo`, `google.com`, `youtube.com`, etc. We recommend that you set this field to get better per-entity search, completion, and prediction results.", +"type": "string" +}, +"eventTime": { +"description": "Only required for UserEventService.ImportUserEvents method. Timestamp of when the user event happened.", +"format": "google-datetime", +"type": "string" +}, +"eventType": { +"description": "Required. User event type. Allowed values are: * `add-to-cart`: Products being added to cart. * `remove-from-cart`: Products being removed from cart. * `category-page-view`: Special pages such as sale or promotion pages viewed. * `detail-page-view`: Products detail page viewed. * `home-page-view`: Homepage viewed. * `purchase-complete`: User finishing a purchase. * `search`: Product search. * `shopping-cart-page-view`: User viewing a shopping cart.", +"type": "string" +}, +"experimentIds": { +"description": "A list of identifiers for the independent experiment groups this user event belongs to. This is used to distinguish between user events associated with different experiment setups (e.g. using Retail API, using different recommendation models).", +"items": { +"type": "string" +}, +"type": "array" +}, +"filter": { +"description": "The filter syntax consists of an expression language for constructing a predicate from one or more fields of the products being filtered. See SearchRequest.filter for definition and syntax. The value must be a UTF-8 encoded string with a length limit of 1,000 characters. Otherwise, an INVALID_ARGUMENT error is returned.", +"type": "string" +}, +"offset": { +"description": "An integer that specifies the current offset for pagination (the 0-indexed starting location, amongst the products deemed by the API as relevant). See SearchRequest.offset for definition. If this field is negative, an INVALID_ARGUMENT is returned. This can only be set for `search` events. Other event types should not set this field. Otherwise, an INVALID_ARGUMENT error is returned.", +"format": "int32", +"type": "integer" +}, +"orderBy": { +"description": "The order in which products are returned. See SearchRequest.order_by for definition and syntax. The value must be a UTF-8 encoded string with a length limit of 1,000 characters. Otherwise, an INVALID_ARGUMENT error is returned. This can only be set for `search` events. Other event types should not set this field. Otherwise, an INVALID_ARGUMENT error is returned.", +"type": "string" +}, +"pageCategories": { +"description": "Optional. The categories associated with a category page. To represent the full path of category, use the '>' sign, with one space on each side, to separate different hierarchies. If '>' is part of the category name, replace it with other character(s). Category pages include special pages such as sales or promotions. For instance, a special sale page may have the category hierarchy: \"pageCategories\" : [\"Sales > 2017 Black Friday Deals\"]. Required for `category-page-view` events. At least one of search_query or page_categories is required for `search` events. Other event types should not set this field. Otherwise, an INVALID_ARGUMENT error is returned.", +"items": { +"type": "string" +}, +"type": "array" +}, +"pageViewId": { +"description": "A unique ID of a web page view. This should be kept the same for all user events triggered from the same pageview. For example, an item detail page view could trigger multiple events as the user is browsing the page. The `pageViewId` property should be kept the same for all these events so that they can be grouped together properly. When using the client side event reporting with JavaScript pixel and Google Tag Manager, this value is filled in automatically.", +"type": "string" +}, +"panels": { +"description": "Optional. List of panels associated with this event. Used for panel-level impression data.", +"items": { +"$ref": "GoogleCloudRetailV2betaPanelInfo" +}, +"type": "array" +}, +"productDetails": { +"description": "The main product details related to the event. This field is optional except for the following event types: * `add-to-cart` * `detail-page-view` * `purchase-complete` In a `search` event, this field represents the products returned to the end user on the current page (the end user may have not finished browsing the whole page yet). When a new page is returned to the end user, after pagination/filtering/ordering even for the same query, a new `search` event with different product_details is desired. The end user may have not finished browsing the whole page yet.", +"items": { +"$ref": "GoogleCloudRetailV2betaProductDetail" +}, +"type": "array" +}, +"purchaseTransaction": { +"$ref": "GoogleCloudRetailV2betaPurchaseTransaction", +"description": "A transaction represents the entire purchase transaction. Required for `purchase-complete` events. Other event types should not set this field. Otherwise, an INVALID_ARGUMENT error is returned." +}, +"referrerUri": { +"description": "The referrer URL of the current page. When using the client side event reporting with JavaScript pixel and Google Tag Manager, this value is filled in automatically.", +"type": "string" +}, +"searchQuery": { +"description": "The user's search query. See SearchRequest.query for definition. The value must be a UTF-8 encoded string with a length limit of 5,000 characters. Otherwise, an INVALID_ARGUMENT error is returned. At least one of search_query or page_categories is required for `search` events. Other event types should not set this field. Otherwise, an INVALID_ARGUMENT error is returned.", +"type": "string" +}, +"sessionId": { +"description": "A unique identifier for tracking a visitor session with a length limit of 128 bytes. A session is an aggregation of an end user behavior in a time span. A general guideline to populate the session_id: 1. If user has no activity for 30 min, a new session_id should be assigned. 2. The session_id should be unique across users, suggest use uuid or add visitor_id as prefix.", +"type": "string" +}, +"uri": { +"description": "Complete URL (window.location.href) of the user's current page. When using the client side event reporting with JavaScript pixel and Google Tag Manager, this value is filled in automatically. Maximum length 5,000 characters.", +"type": "string" +}, +"userInfo": { +"$ref": "GoogleCloudRetailV2betaUserInfo", +"description": "User information." +}, +"visitorId": { +"description": "Required. A unique identifier for tracking visitors. For example, this could be implemented with an HTTP cookie, which should be able to uniquely identify a visitor on a single device. This unique identifier should not change if the visitor log in/out of the website. Don't set the field to the same fixed ID for different users. This mixes the event history of those users together, which results in degraded model quality. The field must be a UTF-8 encoded string with a length limit of 128 characters. Otherwise, an INVALID_ARGUMENT error is returned. The field should not contain PII or user-data. We recommend to use Google Analytics [Client ID](https://developers.google.com/analytics/devguides/collection/analyticsjs/field-reference#clientId) for this field.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2betaUserEventImportSummary": { +"description": "A summary of import result. The UserEventImportSummary summarizes the import status for user events.", +"id": "GoogleCloudRetailV2betaUserEventImportSummary", +"properties": { +"joinedEventsCount": { +"description": "Count of user events imported with complete existing catalog information.", +"format": "int64", +"type": "string" +}, +"unjoinedEventsCount": { +"description": "Count of user events imported, but with catalog information not found in the imported catalog.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2betaUserEventInlineSource": { +"description": "The inline source for the input config for ImportUserEvents method.", +"id": "GoogleCloudRetailV2betaUserEventInlineSource", +"properties": { +"userEvents": { +"description": "Required. A list of user events to import. Recommended max of 10k items.", +"items": { +"$ref": "GoogleCloudRetailV2betaUserEvent" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2betaUserEventInputConfig": { +"description": "The input config source for user events.", +"id": "GoogleCloudRetailV2betaUserEventInputConfig", +"properties": { +"bigQuerySource": { +"$ref": "GoogleCloudRetailV2betaBigQuerySource", +"description": "Required. BigQuery input source." +}, +"gcsSource": { +"$ref": "GoogleCloudRetailV2betaGcsSource", +"description": "Required. Google Cloud Storage location for the input content." +}, +"userEventInlineSource": { +"$ref": "GoogleCloudRetailV2betaUserEventInlineSource", +"description": "Required. The Inline source for the input content for UserEvents." +} +}, +"type": "object" +}, +"GoogleCloudRetailV2betaUserInfo": { +"description": "Information of an end user.", +"id": "GoogleCloudRetailV2betaUserInfo", +"properties": { +"directUserRequest": { +"description": "True if the request is made directly from the end user, in which case the ip_address and user_agent can be populated from the HTTP request. This flag should be set only if the API request is made directly from the end user such as a mobile app (and not if a gateway or a server is processing and pushing the user events). This should not be set when using the JavaScript tag in UserEventService.CollectUserEvent.", +"type": "boolean" +}, +"ipAddress": { +"description": "The end user's IP address. This field is used to extract location information for personalization. This field must be either an IPv4 address (e.g. \"104.133.9.80\") or an IPv6 address (e.g. \"2001:0db8:85a3:0000:0000:8a2e:0370:7334\"). Otherwise, an INVALID_ARGUMENT error is returned. This should not be set when: * setting SearchRequest.user_info. * using the JavaScript tag in UserEventService.CollectUserEvent or if direct_user_request is set.", +"type": "string" +}, +"userAgent": { +"description": "User agent as included in the HTTP header. The field must be a UTF-8 encoded string with a length limit of 1,000 characters. Otherwise, an INVALID_ARGUMENT error is returned. This should not be set when using the client side event reporting with GTM or JavaScript tag in UserEventService.CollectUserEvent or if direct_user_request is set.", +"type": "string" +}, +"userId": { +"description": "Highly recommended for logged-in users. Unique identifier for logged-in user, such as a user name. Don't set for anonymous users. Always use a hashed value for this ID. Don't set the field to the same fixed ID for different users. This mixes the event history of those users together, which results in degraded model quality. The field must be a UTF-8 encoded string with a length limit of 128 characters. Otherwise, an INVALID_ARGUMENT error is returned.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleLongrunningListOperationsResponse": { +"description": "The response message for Operations.ListOperations.", +"id": "GoogleLongrunningListOperationsResponse", +"properties": { +"nextPageToken": { +"description": "The standard List next-page token.", +"type": "string" +}, +"operations": { +"description": "A list of operations that matches the specified filter in the request.", +"items": { +"$ref": "GoogleLongrunningOperation" +}, +"type": "array" +}, +"unreachable": { +"description": "Unordered list. Unreachable resources. Populated when the request sets `ListOperationsRequest.return_partial_success` and reads across collections. For example, when attempting to list all resources across all supported locations.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleLongrunningOperation": { +"description": "This resource represents a long-running operation that is the result of a network API call.", +"id": "GoogleLongrunningOperation", +"properties": { +"done": { +"description": "If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.", +"type": "boolean" +}, +"error": { +"$ref": "GoogleRpcStatus", +"description": "The error result of the operation in case of failure or cancellation." +}, +"metadata": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.", +"type": "object" +}, +"name": { +"description": "The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.", +"type": "string" +}, +"response": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "The normal, successful response of the operation. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.", +"type": "object" +} +}, +"type": "object" +}, +"GoogleProtobufEmpty": { +"description": "A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }", +"id": "GoogleProtobufEmpty", +"properties": {}, +"type": "object" +}, +"GoogleRpcStatus": { +"description": "The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors).", +"id": "GoogleRpcStatus", +"properties": { +"code": { +"description": "The status code, which should be an enum value of google.rpc.Code.", +"format": "int32", +"type": "integer" +}, +"details": { +"description": "A list of messages that carry the error details. There is a common set of message types for APIs to use.", +"items": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleTypeDate": { +"description": "Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following: * A full date, with non-zero year, month, and day values. * A month and day, with a zero year (for example, an anniversary). * A year on its own, with a zero month and a zero day. * A year and month, with a zero day (for example, a credit card expiration date). Related types: * google.type.TimeOfDay * google.type.DateTime * google.protobuf.Timestamp", +"id": "GoogleTypeDate", +"properties": { +"day": { +"description": "Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn't significant.", +"format": "int32", +"type": "integer" +}, +"month": { +"description": "Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.", +"format": "int32", +"type": "integer" +}, +"year": { +"description": "Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +} +}, +"servicePath": "", +"title": "Vertex AI Search for commerce API", +"version": "v2beta", +"version_module": true +} \ No newline at end of file diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/runtimeconfig.v1.json b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/runtimeconfig.v1.json new file mode 100644 index 0000000000000000000000000000000000000000..d1c0ab8beec636f5d67b09d6a5bf94adec0c5cf7 --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/runtimeconfig.v1.json @@ -0,0 +1,325 @@ +{ +"auth": { +"oauth2": { +"scopes": { +"https://www.googleapis.com/auth/cloud-platform": { +"description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." +}, +"https://www.googleapis.com/auth/cloudruntimeconfig": { +"description": "Manage your Google Cloud Platform services' runtime configuration" +} +} +} +}, +"basePath": "", +"baseUrl": "https://runtimeconfig.googleapis.com/", +"batchPath": "batch", +"canonicalName": "Cloud RuntimeConfig", +"description": "The Runtime Configurator allows you to dynamically configure and expose variables through Google Cloud Platform. In addition, you can also set Watchers and Waiters that will watch for changes to your data and return based on certain conditions.", +"discoveryVersion": "v1", +"documentationLink": "https://cloud.google.com/deployment-manager/runtime-configurator/", +"fullyEncodeReservedExpansion": true, +"icons": { +"x16": "http://www.google.com/images/icons/product/search-16.gif", +"x32": "http://www.google.com/images/icons/product/search-32.gif" +}, +"id": "runtimeconfig:v1", +"kind": "discovery#restDescription", +"mtlsRootUrl": "https://runtimeconfig.mtls.googleapis.com/", +"name": "runtimeconfig", +"ownerDomain": "google.com", +"ownerName": "Google", +"parameters": { +"$.xgafv": { +"description": "V1 error format.", +"enum": [ +"1", +"2" +], +"enumDescriptions": [ +"v1 error format", +"v2 error format" +], +"location": "query", +"type": "string" +}, +"access_token": { +"description": "OAuth access token.", +"location": "query", +"type": "string" +}, +"alt": { +"default": "json", +"description": "Data format for response.", +"enum": [ +"json", +"media", +"proto" +], +"enumDescriptions": [ +"Responses with Content-Type of application/json", +"Media download with context-dependent Content-Type", +"Responses with Content-Type of application/x-protobuf" +], +"location": "query", +"type": "string" +}, +"callback": { +"description": "JSONP", +"location": "query", +"type": "string" +}, +"fields": { +"description": "Selector specifying which fields to include in a partial response.", +"location": "query", +"type": "string" +}, +"key": { +"description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", +"location": "query", +"type": "string" +}, +"oauth_token": { +"description": "OAuth 2.0 token for the current user.", +"location": "query", +"type": "string" +}, +"prettyPrint": { +"default": "true", +"description": "Returns response with indentations and line breaks.", +"location": "query", +"type": "boolean" +}, +"quotaUser": { +"description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.", +"location": "query", +"type": "string" +}, +"uploadType": { +"description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", +"location": "query", +"type": "string" +}, +"upload_protocol": { +"description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", +"location": "query", +"type": "string" +} +}, +"protocol": "rest", +"resources": { +"operations": { +"methods": { +"cancel": { +"description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.", +"flatPath": "v1/operations/{operationsId}:cancel", +"httpMethod": "POST", +"id": "runtimeconfig.operations.cancel", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be cancelled.", +"location": "path", +"pattern": "^operations/.*$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:cancel", +"request": { +"$ref": "CancelOperationRequest" +}, +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloudruntimeconfig" +] +}, +"delete": { +"description": "Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.", +"flatPath": "v1/operations/{operationsId}", +"httpMethod": "DELETE", +"id": "runtimeconfig.operations.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be deleted.", +"location": "path", +"pattern": "^operations/.*$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloudruntimeconfig" +] +}, +"list": { +"description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.", +"flatPath": "v1/operations", +"httpMethod": "GET", +"id": "runtimeconfig.operations.list", +"parameterOrder": [ +"name" +], +"parameters": { +"filter": { +"description": "The standard list filter.", +"location": "query", +"type": "string" +}, +"name": { +"description": "The name of the operation's parent resource.", +"location": "path", +"pattern": "^operations$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The standard list page size.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The standard list page token.", +"location": "query", +"type": "string" +}, +"returnPartialSuccess": { +"description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `\"projects/example/locations/-\"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "ListOperationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloudruntimeconfig" +] +} +} +} +}, +"revision": "20251113", +"rootUrl": "https://runtimeconfig.googleapis.com/", +"schemas": { +"CancelOperationRequest": { +"description": "The request message for Operations.CancelOperation.", +"id": "CancelOperationRequest", +"properties": {}, +"type": "object" +}, +"Empty": { +"description": "A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }", +"id": "Empty", +"properties": {}, +"type": "object" +}, +"ListOperationsResponse": { +"description": "The response message for Operations.ListOperations.", +"id": "ListOperationsResponse", +"properties": { +"nextPageToken": { +"description": "The standard List next-page token.", +"type": "string" +}, +"operations": { +"description": "A list of operations that matches the specified filter in the request.", +"items": { +"$ref": "Operation" +}, +"type": "array" +}, +"unreachable": { +"description": "Unordered list. Unreachable resources. Populated when the request sets `ListOperationsRequest.return_partial_success` and reads across collections. For example, when attempting to list all resources across all supported locations.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"Operation": { +"description": "This resource represents a long-running operation that is the result of a network API call.", +"id": "Operation", +"properties": { +"done": { +"description": "If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.", +"type": "boolean" +}, +"error": { +"$ref": "Status", +"description": "The error result of the operation in case of failure or cancellation." +}, +"metadata": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.", +"type": "object" +}, +"name": { +"description": "The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.", +"type": "string" +}, +"response": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "The normal, successful response of the operation. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.", +"type": "object" +} +}, +"type": "object" +}, +"Status": { +"description": "The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors).", +"id": "Status", +"properties": { +"code": { +"description": "The status code, which should be an enum value of google.rpc.Code.", +"format": "int32", +"type": "integer" +}, +"details": { +"description": "A list of messages that carry the error details. There is a common set of message types for APIs to use.", +"items": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.", +"type": "string" +} +}, +"type": "object" +} +}, +"servicePath": "", +"title": "Cloud Runtime Configuration API", +"version": "v1", +"version_module": true +} \ No newline at end of file diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/runtimeconfig.v1beta1.json b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/runtimeconfig.v1beta1.json new file mode 100644 index 0000000000000000000000000000000000000000..15fad99640bbeff32b0ec1168948db0d46bfc1c7 --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/runtimeconfig.v1beta1.json @@ -0,0 +1,1176 @@ +{ +"auth": { +"oauth2": { +"scopes": { +"https://www.googleapis.com/auth/cloud-platform": { +"description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." +}, +"https://www.googleapis.com/auth/cloudruntimeconfig": { +"description": "Manage your Google Cloud Platform services' runtime configuration" +} +} +} +}, +"basePath": "", +"baseUrl": "https://runtimeconfig.googleapis.com/", +"batchPath": "batch", +"canonicalName": "Cloud RuntimeConfig", +"description": "The Runtime Configurator allows you to dynamically configure and expose variables through Google Cloud Platform. In addition, you can also set Watchers and Waiters that will watch for changes to your data and return based on certain conditions.", +"discoveryVersion": "v1", +"documentationLink": "https://cloud.google.com/deployment-manager/runtime-configurator/", +"fullyEncodeReservedExpansion": true, +"icons": { +"x16": "http://www.google.com/images/icons/product/search-16.gif", +"x32": "http://www.google.com/images/icons/product/search-32.gif" +}, +"id": "runtimeconfig:v1beta1", +"kind": "discovery#restDescription", +"mtlsRootUrl": "https://runtimeconfig.mtls.googleapis.com/", +"name": "runtimeconfig", +"ownerDomain": "google.com", +"ownerName": "Google", +"parameters": { +"$.xgafv": { +"description": "V1 error format.", +"enum": [ +"1", +"2" +], +"enumDescriptions": [ +"v1 error format", +"v2 error format" +], +"location": "query", +"type": "string" +}, +"access_token": { +"description": "OAuth access token.", +"location": "query", +"type": "string" +}, +"alt": { +"default": "json", +"description": "Data format for response.", +"enum": [ +"json", +"media", +"proto" +], +"enumDescriptions": [ +"Responses with Content-Type of application/json", +"Media download with context-dependent Content-Type", +"Responses with Content-Type of application/x-protobuf" +], +"location": "query", +"type": "string" +}, +"callback": { +"description": "JSONP", +"location": "query", +"type": "string" +}, +"fields": { +"description": "Selector specifying which fields to include in a partial response.", +"location": "query", +"type": "string" +}, +"key": { +"description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", +"location": "query", +"type": "string" +}, +"oauth_token": { +"description": "OAuth 2.0 token for the current user.", +"location": "query", +"type": "string" +}, +"prettyPrint": { +"default": "true", +"description": "Returns response with indentations and line breaks.", +"location": "query", +"type": "boolean" +}, +"quotaUser": { +"description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.", +"location": "query", +"type": "string" +}, +"uploadType": { +"description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", +"location": "query", +"type": "string" +}, +"upload_protocol": { +"description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", +"location": "query", +"type": "string" +} +}, +"protocol": "rest", +"resources": { +"projects": { +"resources": { +"configs": { +"methods": { +"create": { +"description": "Creates a new RuntimeConfig resource. The configuration name must be unique within project.", +"flatPath": "v1beta1/projects/{projectsId}/configs", +"httpMethod": "POST", +"id": "runtimeconfig.projects.configs.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "The [project ID](https://support.google.com/cloud/answer/6158840?hl=en&ref_topic=6158848) for this request, in the format `projects/[PROJECT_ID]`.", +"location": "path", +"pattern": "^projects/[^/]+$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional but recommended unique `request_id`. If the server receives two `create()` requests with the same `request_id`, then the second request will be ignored and the first resource created and stored in the backend is returned. Empty `request_id` fields are ignored. It is responsibility of the client to ensure uniqueness of the `request_id` strings. `request_id` strings are limited to 64 characters.", +"location": "query", +"type": "string" +} +}, +"path": "v1beta1/{+parent}/configs", +"request": { +"$ref": "RuntimeConfig" +}, +"response": { +"$ref": "RuntimeConfig" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloudruntimeconfig" +] +}, +"delete": { +"description": "Deletes a RuntimeConfig resource.", +"flatPath": "v1beta1/projects/{projectsId}/configs/{configsId}", +"httpMethod": "DELETE", +"id": "runtimeconfig.projects.configs.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The RuntimeConfig resource to delete, in the format: `projects/[PROJECT_ID]/configs/[CONFIG_NAME]`", +"location": "path", +"pattern": "^projects/[^/]+/configs/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+name}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloudruntimeconfig" +] +}, +"get": { +"description": "Gets information about a RuntimeConfig resource.", +"flatPath": "v1beta1/projects/{projectsId}/configs/{configsId}", +"httpMethod": "GET", +"id": "runtimeconfig.projects.configs.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the RuntimeConfig resource to retrieve, in the format: `projects/[PROJECT_ID]/configs/[CONFIG_NAME]`", +"location": "path", +"pattern": "^projects/[^/]+/configs/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+name}", +"response": { +"$ref": "RuntimeConfig" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloudruntimeconfig" +] +}, +"getIamPolicy": { +"description": "Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.", +"flatPath": "v1beta1/projects/{projectsId}/configs/{configsId}:getIamPolicy", +"httpMethod": "GET", +"id": "runtimeconfig.projects.configs.getIamPolicy", +"parameterOrder": [ +"resource" +], +"parameters": { +"options.requestedPolicyVersion": { +"description": "Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).", +"format": "int32", +"location": "query", +"type": "integer" +}, +"resource": { +"description": "REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", +"location": "path", +"pattern": "^projects/[^/]+/configs/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+resource}:getIamPolicy", +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloudruntimeconfig" +] +}, +"list": { +"description": "Lists all the RuntimeConfig resources within project.", +"flatPath": "v1beta1/projects/{projectsId}/configs", +"httpMethod": "GET", +"id": "runtimeconfig.projects.configs.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "Specifies the number of results to return per page. If there are fewer elements than the specified number, returns all elements.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Specifies a page token to use. Set `pageToken` to a `nextPageToken` returned by a previous list request to get the next page of results.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "The [project ID](https://support.google.com/cloud/answer/6158840?hl=en&ref_topic=6158848) for this request, in the format `projects/[PROJECT_ID]`.", +"location": "path", +"pattern": "^projects/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+parent}/configs", +"response": { +"$ref": "ListConfigsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloudruntimeconfig" +] +}, +"setIamPolicy": { +"description": "Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.", +"flatPath": "v1beta1/projects/{projectsId}/configs/{configsId}:setIamPolicy", +"httpMethod": "POST", +"id": "runtimeconfig.projects.configs.setIamPolicy", +"parameterOrder": [ +"resource" +], +"parameters": { +"resource": { +"description": "REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", +"location": "path", +"pattern": "^projects/[^/]+/configs/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+resource}:setIamPolicy", +"request": { +"$ref": "SetIamPolicyRequest" +}, +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloudruntimeconfig" +] +}, +"testIamPermissions": { +"description": "Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may \"fail open\" without warning.", +"flatPath": "v1beta1/projects/{projectsId}/configs/{configsId}:testIamPermissions", +"httpMethod": "POST", +"id": "runtimeconfig.projects.configs.testIamPermissions", +"parameterOrder": [ +"resource" +], +"parameters": { +"resource": { +"description": "REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", +"location": "path", +"pattern": "^projects/[^/]+/configs/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+resource}:testIamPermissions", +"request": { +"$ref": "TestIamPermissionsRequest" +}, +"response": { +"$ref": "TestIamPermissionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloudruntimeconfig" +] +}, +"update": { +"description": "Updates a RuntimeConfig resource. The configuration must exist beforehand.", +"flatPath": "v1beta1/projects/{projectsId}/configs/{configsId}", +"httpMethod": "PUT", +"id": "runtimeconfig.projects.configs.update", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the RuntimeConfig resource to update, in the format: `projects/[PROJECT_ID]/configs/[CONFIG_NAME]`", +"location": "path", +"pattern": "^projects/[^/]+/configs/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+name}", +"request": { +"$ref": "RuntimeConfig" +}, +"response": { +"$ref": "RuntimeConfig" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloudruntimeconfig" +] +} +}, +"resources": { +"operations": { +"methods": { +"get": { +"description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", +"flatPath": "v1beta1/projects/{projectsId}/configs/{configsId}/operations/{operationsId}", +"httpMethod": "GET", +"id": "runtimeconfig.projects.configs.operations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource.", +"location": "path", +"pattern": "^projects/[^/]+/configs/[^/]+/operations/.*$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloudruntimeconfig" +] +}, +"testIamPermissions": { +"description": "Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may \"fail open\" without warning.", +"flatPath": "v1beta1/projects/{projectsId}/configs/{configsId}/operations/{operationsId}:testIamPermissions", +"httpMethod": "POST", +"id": "runtimeconfig.projects.configs.operations.testIamPermissions", +"parameterOrder": [ +"resource" +], +"parameters": { +"resource": { +"description": "REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", +"location": "path", +"pattern": "^projects/[^/]+/configs/[^/]+/operations/.*$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+resource}:testIamPermissions", +"request": { +"$ref": "TestIamPermissionsRequest" +}, +"response": { +"$ref": "TestIamPermissionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloudruntimeconfig" +] +} +} +}, +"variables": { +"methods": { +"create": { +"description": "Creates a variable within the given configuration. You cannot create a variable with a name that is a prefix of an existing variable name, or a name that has an existing variable name as a prefix. To learn more about creating a variable, read the [Setting and Getting Data](/deployment-manager/runtime-configurator/set-and-get-variables) documentation.", +"flatPath": "v1beta1/projects/{projectsId}/configs/{configsId}/variables", +"httpMethod": "POST", +"id": "runtimeconfig.projects.configs.variables.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "The path to the RutimeConfig resource that this variable should belong to. The configuration must exist beforehand; the path must be in the format: `projects/[PROJECT_ID]/configs/[CONFIG_NAME]`", +"location": "path", +"pattern": "^projects/[^/]+/configs/[^/]+$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional but recommended unique `request_id`. If the server receives two `create()` requests with the same `request_id`, then the second request will be ignored and the first resource created and stored in the backend is returned. Empty `request_id` fields are ignored. It is responsibility of the client to ensure uniqueness of the `request_id` strings. `request_id` strings are limited to 64 characters.", +"location": "query", +"type": "string" +} +}, +"path": "v1beta1/{+parent}/variables", +"request": { +"$ref": "Variable" +}, +"response": { +"$ref": "Variable" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloudruntimeconfig" +] +}, +"delete": { +"description": "Deletes a variable or multiple variables. If you specify a variable name, then that variable is deleted. If you specify a prefix and `recursive` is true, then all variables with that prefix are deleted. You must set a `recursive` to true if you delete variables by prefix.", +"flatPath": "v1beta1/projects/{projectsId}/configs/{configsId}/variables/{variablesId}", +"httpMethod": "DELETE", +"id": "runtimeconfig.projects.configs.variables.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the variable to delete, in the format: `projects/[PROJECT_ID]/configs/[CONFIG_NAME]/variables/[VARIABLE_NAME]`", +"location": "path", +"pattern": "^projects/[^/]+/configs/[^/]+/variables/.*$", +"required": true, +"type": "string" +}, +"recursive": { +"description": "Set to `true` to recursively delete multiple variables with the same prefix.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1beta1/{+name}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloudruntimeconfig" +] +}, +"get": { +"description": "Gets information about a single variable.", +"flatPath": "v1beta1/projects/{projectsId}/configs/{configsId}/variables/{variablesId}", +"httpMethod": "GET", +"id": "runtimeconfig.projects.configs.variables.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the variable to return, in the format: `projects/[PROJECT_ID]/configs/[CONFIG_NAME]/variables/[VARIBLE_NAME]`", +"location": "path", +"pattern": "^projects/[^/]+/configs/[^/]+/variables/.*$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+name}", +"response": { +"$ref": "Variable" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloudruntimeconfig" +] +}, +"list": { +"description": "Lists variables within given a configuration, matching any provided filters. This only lists variable names, not the values, unless `return_values` is true, in which case only variables that user has IAM permission to GetVariable will be returned.", +"flatPath": "v1beta1/projects/{projectsId}/configs/{configsId}/variables", +"httpMethod": "GET", +"id": "runtimeconfig.projects.configs.variables.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Filters variables by matching the specified filter. For example: `projects/example-project/config/[CONFIG_NAME]/variables/example-variable`.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Specifies the number of results to return per page. If there are fewer elements than the specified number, returns all elements.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Specifies a page token to use. Set `pageToken` to a `nextPageToken` returned by a previous list request to get the next page of results.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "The path to the RuntimeConfig resource for which you want to list variables. The configuration must exist beforehand; the path must be in the format: `projects/[PROJECT_ID]/configs/[CONFIG_NAME]`", +"location": "path", +"pattern": "^projects/[^/]+/configs/[^/]+$", +"required": true, +"type": "string" +}, +"returnValues": { +"description": "The flag indicates whether the user wants to return values of variables. If true, then only those variables that user has IAM GetVariable permission will be returned along with their values.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1beta1/{+parent}/variables", +"response": { +"$ref": "ListVariablesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloudruntimeconfig" +] +}, +"testIamPermissions": { +"description": "Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may \"fail open\" without warning.", +"flatPath": "v1beta1/projects/{projectsId}/configs/{configsId}/variables/{variablesId}:testIamPermissions", +"httpMethod": "POST", +"id": "runtimeconfig.projects.configs.variables.testIamPermissions", +"parameterOrder": [ +"resource" +], +"parameters": { +"resource": { +"description": "REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", +"location": "path", +"pattern": "^projects/[^/]+/configs/[^/]+/variables/.*$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+resource}:testIamPermissions", +"request": { +"$ref": "TestIamPermissionsRequest" +}, +"response": { +"$ref": "TestIamPermissionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloudruntimeconfig" +] +}, +"update": { +"description": "Updates an existing variable with a new value.", +"flatPath": "v1beta1/projects/{projectsId}/configs/{configsId}/variables/{variablesId}", +"httpMethod": "PUT", +"id": "runtimeconfig.projects.configs.variables.update", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the variable to update, in the format: `projects/[PROJECT_ID]/configs/[CONFIG_NAME]/variables/[VARIABLE_NAME]`", +"location": "path", +"pattern": "^projects/[^/]+/configs/[^/]+/variables/.*$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+name}", +"request": { +"$ref": "Variable" +}, +"response": { +"$ref": "Variable" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloudruntimeconfig" +] +}, +"watch": { +"description": "Watches a specific variable and waits for a change in the variable's value. When there is a change, this method returns the new value or times out. If a variable is deleted while being watched, the `variableState` state is set to `DELETED` and the method returns the last known variable `value`. If you set the deadline for watching to a larger value than internal timeout (60 seconds), the current variable value is returned and the `variableState` will be `VARIABLE_STATE_UNSPECIFIED`. To learn more about creating a watcher, read the [Watching a Variable for Changes](/deployment-manager/runtime-configurator/watching-a-variable) documentation.", +"flatPath": "v1beta1/projects/{projectsId}/configs/{configsId}/variables/{variablesId}:watch", +"httpMethod": "POST", +"id": "runtimeconfig.projects.configs.variables.watch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the variable to watch, in the format: `projects/[PROJECT_ID]/configs/[CONFIG_NAME]`", +"location": "path", +"pattern": "^projects/[^/]+/configs/[^/]+/variables/.*$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+name}:watch", +"request": { +"$ref": "WatchVariableRequest" +}, +"response": { +"$ref": "Variable" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloudruntimeconfig" +] +} +} +}, +"waiters": { +"methods": { +"create": { +"description": "Creates a Waiter resource. This operation returns a long-running Operation resource which can be polled for completion. However, a waiter with the given name will exist (and can be retrieved) prior to the operation completing. If the operation fails, the failed Waiter resource will still exist and must be deleted prior to subsequent creation attempts.", +"flatPath": "v1beta1/projects/{projectsId}/configs/{configsId}/waiters", +"httpMethod": "POST", +"id": "runtimeconfig.projects.configs.waiters.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "The path to the configuration that will own the waiter. The configuration must exist beforehand; the path must be in the format: `projects/[PROJECT_ID]/configs/[CONFIG_NAME]`.", +"location": "path", +"pattern": "^projects/[^/]+/configs/[^/]+$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional but recommended unique `request_id`. If the server receives two `create()` requests with the same `request_id`, then the second request will be ignored and the first resource created and stored in the backend is returned. Empty `request_id` fields are ignored. It is responsibility of the client to ensure uniqueness of the `request_id` strings. `request_id` strings are limited to 64 characters.", +"location": "query", +"type": "string" +} +}, +"path": "v1beta1/{+parent}/waiters", +"request": { +"$ref": "Waiter" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloudruntimeconfig" +] +}, +"delete": { +"description": "Deletes the waiter with the specified name.", +"flatPath": "v1beta1/projects/{projectsId}/configs/{configsId}/waiters/{waitersId}", +"httpMethod": "DELETE", +"id": "runtimeconfig.projects.configs.waiters.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The Waiter resource to delete, in the format: `projects/[PROJECT_ID]/configs/[CONFIG_NAME]/waiters/[WAITER_NAME]`", +"location": "path", +"pattern": "^projects/[^/]+/configs/[^/]+/waiters/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+name}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloudruntimeconfig" +] +}, +"get": { +"description": "Gets information about a single waiter.", +"flatPath": "v1beta1/projects/{projectsId}/configs/{configsId}/waiters/{waitersId}", +"httpMethod": "GET", +"id": "runtimeconfig.projects.configs.waiters.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The fully-qualified name of the Waiter resource object to retrieve, in the format: `projects/[PROJECT_ID]/configs/[CONFIG_NAME]/waiters/[WAITER_NAME]`", +"location": "path", +"pattern": "^projects/[^/]+/configs/[^/]+/waiters/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+name}", +"response": { +"$ref": "Waiter" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloudruntimeconfig" +] +}, +"list": { +"description": "List waiters within the given configuration.", +"flatPath": "v1beta1/projects/{projectsId}/configs/{configsId}/waiters", +"httpMethod": "GET", +"id": "runtimeconfig.projects.configs.waiters.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "Specifies the number of results to return per page. If there are fewer elements than the specified number, returns all elements.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Specifies a page token to use. Set `pageToken` to a `nextPageToken` returned by a previous list request to get the next page of results.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "The path to the configuration for which you want to get a list of waiters. The configuration must exist beforehand; the path must be in the format: `projects/[PROJECT_ID]/configs/[CONFIG_NAME]`", +"location": "path", +"pattern": "^projects/[^/]+/configs/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+parent}/waiters", +"response": { +"$ref": "ListWaitersResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloudruntimeconfig" +] +}, +"testIamPermissions": { +"description": "Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may \"fail open\" without warning.", +"flatPath": "v1beta1/projects/{projectsId}/configs/{configsId}/waiters/{waitersId}:testIamPermissions", +"httpMethod": "POST", +"id": "runtimeconfig.projects.configs.waiters.testIamPermissions", +"parameterOrder": [ +"resource" +], +"parameters": { +"resource": { +"description": "REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", +"location": "path", +"pattern": "^projects/[^/]+/configs/[^/]+/waiters/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+resource}:testIamPermissions", +"request": { +"$ref": "TestIamPermissionsRequest" +}, +"response": { +"$ref": "TestIamPermissionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloudruntimeconfig" +] +} +} +} +} +} +} +} +}, +"revision": "20240627", +"rootUrl": "https://runtimeconfig.googleapis.com/", +"schemas": { +"Binding": { +"description": "Associates `members`, or principals, with a `role`.", +"id": "Binding", +"properties": { +"condition": { +"$ref": "Expr", +"description": "The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies)." +}, +"members": { +"description": "Specifies the principals requesting access for a Google Cloud resource. `members` can have the following values: * `allUsers`: A special identifier that represents anyone who is on the internet; with or without a Google account. * `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service account. Does not include identities that come from external identity providers (IdPs) through identity federation. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `group:{emailid}`: An email address that represents a Google group. For example, `admins@example.com`. * `domain:{domain}`: The G Suite domain (primary) that represents all the users of that domain. For example, `google.com` or `example.com`. * `principal://iam.googleapis.com/locations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}`: A single identity in a workforce identity pool. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/group/{group_id}`: All workforce identities in a group. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/attribute.{attribute_name}/{attribute_value}`: All workforce identities with a specific attribute value. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/*`: All identities in a workforce identity pool. * `principal://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/subject/{subject_attribute_value}`: A single identity in a workload identity pool. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/group/{group_id}`: A workload identity pool group. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/attribute.{attribute_name}/{attribute_value}`: All identities in a workload identity pool with a certain attribute. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/*`: All identities in a workload identity pool. * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a user that has been recently deleted. For example, `alice@example.com?uid=123456789012345678901`. If the user is recovered, this value reverts to `user:{emailid}` and the recovered user retains the role in the binding. * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a service account that has been recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the service account is undeleted, this value reverts to `serviceAccount:{emailid}` and the undeleted service account retains the role in the binding. * `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a Google group that has been recently deleted. For example, `admins@example.com?uid=123456789012345678901`. If the group is recovered, this value reverts to `group:{emailid}` and the recovered group retains the role in the binding. * `deleted:principal://iam.googleapis.com/locations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}`: Deleted single identity in a workforce identity pool. For example, `deleted:principal://iam.googleapis.com/locations/global/workforcePools/my-pool-id/subject/my-subject-attribute-value`.", +"items": { +"type": "string" +}, +"type": "array" +}, +"role": { +"description": "Role that is assigned to the list of `members`, or principals. For example, `roles/viewer`, `roles/editor`, or `roles/owner`. For an overview of the IAM roles and permissions, see the [IAM documentation](https://cloud.google.com/iam/docs/roles-overview). For a list of the available pre-defined roles, see [here](https://cloud.google.com/iam/docs/understanding-roles).", +"type": "string" +} +}, +"type": "object" +}, +"Cardinality": { +"description": "A Cardinality condition for the Waiter resource. A cardinality condition is met when the number of variables under a specified path prefix reaches a predefined number. For example, if you set a Cardinality condition where the `path` is set to `/foo` and the number of paths is set to `2`, the following variables would meet the condition in a RuntimeConfig resource: + `/foo/variable1 = \"value1\"` + `/foo/variable2 = \"value2\"` + `/bar/variable3 = \"value3\"` It would not satisfy the same condition with the `number` set to `3`, however, because there is only 2 paths that start with `/foo`. Cardinality conditions are recursive; all subtrees under the specific path prefix are counted.", +"id": "Cardinality", +"properties": { +"number": { +"description": "The number variables under the `path` that must exist to meet this condition. Defaults to 1 if not specified.", +"format": "int32", +"type": "integer" +}, +"path": { +"description": "The root of the variable subtree to monitor. For example, `/foo`.", +"type": "string" +} +}, +"type": "object" +}, +"Empty": { +"description": "A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }", +"id": "Empty", +"properties": {}, +"type": "object" +}, +"EndCondition": { +"description": "The condition that a Waiter resource is waiting for.", +"id": "EndCondition", +"properties": { +"cardinality": { +"$ref": "Cardinality", +"description": "The cardinality of the `EndCondition`." +} +}, +"type": "object" +}, +"Expr": { +"description": "Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: \"Summary size limit\" description: \"Determines if a summary is less than 100 chars\" expression: \"document.summary.size() < 100\" Example (Equality): title: \"Requestor is owner\" description: \"Determines if requestor is the document owner\" expression: \"document.owner == request.auth.claims.email\" Example (Logic): title: \"Public documents\" description: \"Determine whether the document should be publicly visible\" expression: \"document.type != 'private' && document.type != 'internal'\" Example (Data Manipulation): title: \"Notification string\" description: \"Create a notification string with a timestamp.\" expression: \"'New message received at ' + string(document.create_time)\" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information.", +"id": "Expr", +"properties": { +"description": { +"description": "Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI.", +"type": "string" +}, +"expression": { +"description": "Textual representation of an expression in Common Expression Language syntax.", +"type": "string" +}, +"location": { +"description": "Optional. String indicating the location of the expression for error reporting, e.g. a file name and a position in the file.", +"type": "string" +}, +"title": { +"description": "Optional. Title for the expression, i.e. a short string describing its purpose. This can be used e.g. in UIs which allow to enter the expression.", +"type": "string" +} +}, +"type": "object" +}, +"ListConfigsResponse": { +"description": "`ListConfigs()` returns the following response. The order of returned objects is arbitrary; that is, it is not ordered in any particular way.", +"id": "ListConfigsResponse", +"properties": { +"configs": { +"description": "A list of the configurations in the project. The order of returned objects is arbitrary; that is, it is not ordered in any particular way.", +"items": { +"$ref": "RuntimeConfig" +}, +"type": "array" +}, +"nextPageToken": { +"description": "This token allows you to get the next page of results for list requests. If the number of results is larger than `pageSize`, use the `nextPageToken` as a value for the query parameter `pageToken` in the next list request. Subsequent list requests will have their own `nextPageToken` to continue paging through the results", +"type": "string" +} +}, +"type": "object" +}, +"ListVariablesResponse": { +"description": "Response for the `ListVariables()` method.", +"id": "ListVariablesResponse", +"properties": { +"nextPageToken": { +"description": "This token allows you to get the next page of results for list requests. If the number of results is larger than `pageSize`, use the `nextPageToken` as a value for the query parameter `pageToken` in the next list request. Subsequent list requests will have their own `nextPageToken` to continue paging through the results", +"type": "string" +}, +"variables": { +"description": "A list of variables and their values. The order of returned variable objects is arbitrary.", +"items": { +"$ref": "Variable" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListWaitersResponse": { +"description": "Response for the `ListWaiters()` method. Order of returned waiter objects is arbitrary.", +"id": "ListWaitersResponse", +"properties": { +"nextPageToken": { +"description": "This token allows you to get the next page of results for list requests. If the number of results is larger than `pageSize`, use the `nextPageToken` as a value for the query parameter `pageToken` in the next list request. Subsequent list requests will have their own `nextPageToken` to continue paging through the results", +"type": "string" +}, +"waiters": { +"description": "Found waiters in the project.", +"items": { +"$ref": "Waiter" +}, +"type": "array" +} +}, +"type": "object" +}, +"Operation": { +"description": "This resource represents a long-running operation that is the result of a network API call.", +"id": "Operation", +"properties": { +"done": { +"description": "If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.", +"type": "boolean" +}, +"error": { +"$ref": "Status", +"description": "The error result of the operation in case of failure or cancellation." +}, +"metadata": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.", +"type": "object" +}, +"name": { +"description": "The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.", +"type": "string" +}, +"response": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "The normal, successful response of the operation. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.", +"type": "object" +} +}, +"type": "object" +}, +"Policy": { +"description": "An Identity and Access Management (IAM) policy, which specifies access controls for Google Cloud resources. A `Policy` is a collection of `bindings`. A `binding` binds one or more `members`, or principals, to a single `role`. Principals can be user accounts, service accounts, Google groups, and domains (such as G Suite). A `role` is a named list of permissions; each `role` can be an IAM predefined role or a user-created custom role. For some types of Google Cloud resources, a `binding` can also specify a `condition`, which is a logical expression that allows access to a resource only if the expression evaluates to `true`. A condition can add constraints based on attributes of the request, the resource, or both. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). **JSON example:** ``` { \"bindings\": [ { \"role\": \"roles/resourcemanager.organizationAdmin\", \"members\": [ \"user:mike@example.com\", \"group:admins@example.com\", \"domain:google.com\", \"serviceAccount:my-project-id@appspot.gserviceaccount.com\" ] }, { \"role\": \"roles/resourcemanager.organizationViewer\", \"members\": [ \"user:eve@example.com\" ], \"condition\": { \"title\": \"expirable access\", \"description\": \"Does not grant access after Sep 2020\", \"expression\": \"request.time < timestamp('2020-10-01T00:00:00.000Z')\", } } ], \"etag\": \"BwWWja0YfJA=\", \"version\": 3 } ``` **YAML example:** ``` bindings: - members: - user:mike@example.com - group:admins@example.com - domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.com role: roles/resourcemanager.organizationViewer condition: title: expirable access description: Does not grant access after Sep 2020 expression: request.time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 ``` For a description of IAM and its features, see the [IAM documentation](https://cloud.google.com/iam/docs/).", +"id": "Policy", +"properties": { +"bindings": { +"description": "Associates a list of `members`, or principals, with a `role`. Optionally, may specify a `condition` that determines how and when the `bindings` are applied. Each of the `bindings` must contain at least one principal. The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250 of these principals can be Google groups. Each occurrence of a principal counts towards these limits. For example, if the `bindings` grant 50 different roles to `user:alice@example.com`, and not to any other principal, then you can add another 1,450 principals to the `bindings` in the `Policy`.", +"items": { +"$ref": "Binding" +}, +"type": "array" +}, +"etag": { +"description": "`etag` is used for optimistic concurrency control as a way to help prevent simultaneous updates of a policy from overwriting each other. It is strongly suggested that systems make use of the `etag` in the read-modify-write cycle to perform policy updates in order to avoid race conditions: An `etag` is returned in the response to `getIamPolicy`, and systems are expected to put that etag in the request to `setIamPolicy` to ensure that their change will be applied to the same version of the policy. **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost.", +"format": "byte", +"type": "string" +}, +"version": { +"description": "Specifies the format of the policy. Valid values are `0`, `1`, and `3`. Requests that specify an invalid value are rejected. Any operation that affects conditional role bindings must specify version `3`. This requirement applies to the following operations: * Getting a policy that includes a conditional role binding * Adding a conditional role binding to a policy * Changing a conditional role binding in a policy * Removing any role binding, with or without a condition, from a policy that includes conditions **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost. If a policy does not include any conditions, operations on that policy may specify any valid version or leave the field unset. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"RuntimeConfig": { +"description": "A RuntimeConfig resource is the primary resource in the Cloud RuntimeConfig service. A RuntimeConfig resource consists of metadata and a hierarchy of variables.", +"id": "RuntimeConfig", +"properties": { +"description": { +"description": "An optional description of the RuntimeConfig object.", +"type": "string" +}, +"name": { +"description": "The resource name of a runtime config. The name must have the format: projects/[PROJECT_ID]/configs/[CONFIG_NAME] The `[PROJECT_ID]` must be a valid project ID, and `[CONFIG_NAME]` is an arbitrary name that matches the `[0-9A-Za-z](?:[_.A-Za-z0-9-]{0,62}[_.A-Za-z0-9])?` regular expression. The length of `[CONFIG_NAME]` must be less than 64 characters. You pick the RuntimeConfig resource name, but the server will validate that the name adheres to this format. After you create the resource, you cannot change the resource's name.", +"type": "string" +} +}, +"type": "object" +}, +"SetIamPolicyRequest": { +"description": "Request message for `SetIamPolicy` method.", +"id": "SetIamPolicyRequest", +"properties": { +"policy": { +"$ref": "Policy", +"description": "REQUIRED: The complete policy to be applied to the `resource`. The size of the policy is limited to a few 10s of KB. An empty policy is a valid policy but certain Google Cloud services (such as Projects) might reject them." +} +}, +"type": "object" +}, +"Status": { +"description": "The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors).", +"id": "Status", +"properties": { +"code": { +"description": "The status code, which should be an enum value of google.rpc.Code.", +"format": "int32", +"type": "integer" +}, +"details": { +"description": "A list of messages that carry the error details. There is a common set of message types for APIs to use.", +"items": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.", +"type": "string" +} +}, +"type": "object" +}, +"TestIamPermissionsRequest": { +"description": "Request message for `TestIamPermissions` method.", +"id": "TestIamPermissionsRequest", +"properties": { +"permissions": { +"description": "The set of permissions to check for the `resource`. Permissions with wildcards (such as `*` or `storage.*`) are not allowed. For more information see [IAM Overview](https://cloud.google.com/iam/docs/overview#permissions).", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"TestIamPermissionsResponse": { +"description": "Response message for `TestIamPermissions` method.", +"id": "TestIamPermissionsResponse", +"properties": { +"permissions": { +"description": "A subset of `TestPermissionsRequest.permissions` that the caller is allowed.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"Variable": { +"description": "Describes a single variable within a RuntimeConfig resource. The name denotes the hierarchical variable name. For example, `ports/serving_port` is a valid variable name. The variable value is an opaque string and only leaf variables can have values (that is, variables that do not have any child variables).", +"id": "Variable", +"properties": { +"name": { +"description": "The name of the variable resource, in the format: projects/[PROJECT_ID]/configs/[CONFIG_NAME]/variables/[VARIABLE_NAME] The `[PROJECT_ID]` must be a valid project ID, `[CONFIG_NAME]` must be a valid RuntimeConfig resource and `[VARIABLE_NAME]` follows Unix file system file path naming. The `[VARIABLE_NAME]` can contain ASCII letters, numbers, slashes and dashes. Slashes are used as path element separators and are not part of the `[VARIABLE_NAME]` itself, so `[VARIABLE_NAME]` must contain at least one non-slash character. Multiple slashes are coalesced into single slash character. Each path segment should match [0-9A-Za-z](?:[_.A-Za-z0-9-]{0,62}[_.A-Za-z0-9])? regular expression. The length of a `[VARIABLE_NAME]` must be less than 256 characters. Once you create a variable, you cannot change the variable name.", +"type": "string" +}, +"state": { +"description": "Output only. The current state of the variable. The variable state indicates the outcome of the `variables().watch` call and is visible through the `get` and `list` calls.", +"enum": [ +"VARIABLE_STATE_UNSPECIFIED", +"UPDATED", +"DELETED" +], +"enumDescriptions": [ +"Default variable state.", +"The variable was updated, while `variables().watch` was executing.", +"The variable was deleted, while `variables().watch` was executing." +], +"type": "string" +}, +"text": { +"description": "The string value of the variable. The length of the value must be less than 4096 bytes. Empty values are also accepted. For example, `text: \"my text value\"`. The string must be valid UTF-8.", +"type": "string" +}, +"updateTime": { +"description": "Output only. The time of the last variable update. Timestamp will be UTC timestamp.", +"format": "google-datetime", +"type": "string" +}, +"value": { +"description": "The binary value of the variable. The length of the value must be less than 4096 bytes. Empty values are also accepted. The value must be base64 encoded, and must comply with IETF RFC4648 (https://www.ietf.org/rfc/rfc4648.txt). Only one of `value` or `text` can be set.", +"format": "byte", +"type": "string" +} +}, +"type": "object" +}, +"Waiter": { +"description": "A Waiter resource waits for some end condition within a RuntimeConfig resource to be met before it returns. For example, assume you have a distributed system where each node writes to a Variable resource indicating the node's readiness as part of the startup process. You then configure a Waiter resource with the success condition set to wait until some number of nodes have checked in. Afterwards, your application runs some arbitrary code after the condition has been met and the waiter returns successfully. Once created, a Waiter resource is immutable. To learn more about using waiters, read the [Creating a Waiter](/deployment-manager/runtime-configurator/creating-a-waiter) documentation.", +"id": "Waiter", +"properties": { +"createTime": { +"description": "Output only. The instant at which this Waiter resource was created. Adding the value of `timeout` to this instant yields the timeout deadline for the waiter.", +"format": "google-datetime", +"type": "string" +}, +"done": { +"description": "Output only. If the value is `false`, it means the waiter is still waiting for one of its conditions to be met. If true, the waiter has finished. If the waiter finished due to a timeout or failure, `error` will be set.", +"type": "boolean" +}, +"error": { +"$ref": "Status", +"description": "Output only. If the waiter ended due to a failure or timeout, this value will be set." +}, +"failure": { +"$ref": "EndCondition", +"description": "[Optional] The failure condition of this waiter. If this condition is met, `done` will be set to `true` and the `error` code will be set to `ABORTED`. The failure condition takes precedence over the success condition. If both conditions are met, a failure will be indicated. This value is optional; if no failure condition is set, the only failure scenario will be a timeout." +}, +"name": { +"description": "The name of the Waiter resource, in the format: projects/[PROJECT_ID]/configs/[CONFIG_NAME]/waiters/[WAITER_NAME] The `[PROJECT_ID]` must be a valid Google Cloud project ID, the `[CONFIG_NAME]` must be a valid RuntimeConfig resource, the `[WAITER_NAME]` must match RFC 1035 segment specification, and the length of `[WAITER_NAME]` must be less than 64 bytes. After you create a Waiter resource, you cannot change the resource name.", +"type": "string" +}, +"success": { +"$ref": "EndCondition", +"description": "[Required] The success condition. If this condition is met, `done` will be set to `true` and the `error` value will remain unset. The failure condition takes precedence over the success condition. If both conditions are met, a failure will be indicated." +}, +"timeout": { +"description": "[Required] Specifies the timeout of the waiter in seconds, beginning from the instant that `waiters().create` method is called. If this time elapses before the success or failure conditions are met, the waiter fails and sets the `error` code to `DEADLINE_EXCEEDED`.", +"format": "google-duration", +"type": "string" +} +}, +"type": "object" +}, +"WatchVariableRequest": { +"description": "Request for the `WatchVariable()` method.", +"id": "WatchVariableRequest", +"properties": { +"newerThan": { +"description": "If specified, checks the current timestamp of the variable and if the current timestamp is newer than `newerThan` timestamp, the method returns immediately. If not specified or the variable has an older timestamp, the watcher waits for a the value to change before returning.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +} +}, +"servicePath": "", +"title": "Cloud Runtime Configuration API", +"version": "v1beta1", +"version_module": true +} \ No newline at end of file diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/saasservicemgmt.v1beta1.json b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/saasservicemgmt.v1beta1.json new file mode 100644 index 0000000000000000000000000000000000000000..cff916a70934ac06dab5a38a1f51209433cd06d9 --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/saasservicemgmt.v1beta1.json @@ -0,0 +1,3331 @@ +{ +"auth": { +"oauth2": { +"scopes": { +"https://www.googleapis.com/auth/cloud-platform": { +"description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." +} +} +} +}, +"basePath": "", +"baseUrl": "https://saasservicemgmt.googleapis.com/", +"batchPath": "batch", +"canonicalName": "SaaS Service Management", +"description": "Model, deploy, and operate your SaaS at scale. ", +"discoveryVersion": "v1", +"documentationLink": "https://cloud.google.com/saas-runtime/docs", +"fullyEncodeReservedExpansion": true, +"icons": { +"x16": "http://www.google.com/images/icons/product/search-16.gif", +"x32": "http://www.google.com/images/icons/product/search-32.gif" +}, +"id": "saasservicemgmt:v1beta1", +"kind": "discovery#restDescription", +"mtlsRootUrl": "https://saasservicemgmt.mtls.googleapis.com/", +"name": "saasservicemgmt", +"ownerDomain": "google.com", +"ownerName": "Google", +"parameters": { +"$.xgafv": { +"description": "V1 error format.", +"enum": [ +"1", +"2" +], +"enumDescriptions": [ +"v1 error format", +"v2 error format" +], +"location": "query", +"type": "string" +}, +"access_token": { +"description": "OAuth access token.", +"location": "query", +"type": "string" +}, +"alt": { +"default": "json", +"description": "Data format for response.", +"enum": [ +"json", +"media", +"proto" +], +"enumDescriptions": [ +"Responses with Content-Type of application/json", +"Media download with context-dependent Content-Type", +"Responses with Content-Type of application/x-protobuf" +], +"location": "query", +"type": "string" +}, +"callback": { +"description": "JSONP", +"location": "query", +"type": "string" +}, +"fields": { +"description": "Selector specifying which fields to include in a partial response.", +"location": "query", +"type": "string" +}, +"key": { +"description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", +"location": "query", +"type": "string" +}, +"oauth_token": { +"description": "OAuth 2.0 token for the current user.", +"location": "query", +"type": "string" +}, +"prettyPrint": { +"default": "true", +"description": "Returns response with indentations and line breaks.", +"location": "query", +"type": "boolean" +}, +"quotaUser": { +"description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.", +"location": "query", +"type": "string" +}, +"uploadType": { +"description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", +"location": "query", +"type": "string" +}, +"upload_protocol": { +"description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", +"location": "query", +"type": "string" +} +}, +"protocol": "rest", +"resources": { +"projects": { +"resources": { +"locations": { +"methods": { +"get": { +"description": "Gets information about a location.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}", +"httpMethod": "GET", +"id": "saasservicemgmt.projects.locations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Resource name for the location.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+name}", +"response": { +"$ref": "GoogleCloudLocationLocation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists information about the supported locations for this service. This method can be called in two ways: * **List all public locations:** Use the path `GET /v1/locations`. * **List project-visible locations:** Use the path `GET /v1/projects/{project_id}/locations`. This may include public locations as well as private or other locations specifically visible to the project.", +"flatPath": "v1beta1/projects/{projectsId}/locations", +"httpMethod": "GET", +"id": "saasservicemgmt.projects.locations.list", +"parameterOrder": [ +"name" +], +"parameters": { +"extraLocationTypes": { +"description": "Optional. Do not use this field. It is unsupported and is ignored unless explicitly documented otherwise. This is primarily for internal usage.", +"location": "query", +"repeated": true, +"type": "string" +}, +"filter": { +"description": "A filter to narrow down results to a preferred subset. The filtering language accepts strings like `\"displayName=tokyo\"`, and is documented in more detail in [AIP-160](https://google.aip.dev/160).", +"location": "query", +"type": "string" +}, +"name": { +"description": "The resource that owns the locations collection, if applicable.", +"location": "path", +"pattern": "^projects/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The maximum number of results to return. If not set, the service selects a default.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A page token received from the `next_page_token` field in the response. Send that page token to receive the subsequent page.", +"location": "query", +"type": "string" +} +}, +"path": "v1beta1/{+name}/locations", +"response": { +"$ref": "ListLocationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"releases": { +"methods": { +"create": { +"description": "Create a new release.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/releases", +"httpMethod": "POST", +"id": "saasservicemgmt.projects.locations.releases.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The parent of the release.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +}, +"releaseId": { +"description": "Required. The ID value for the new release.", +"location": "query", +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"validateOnly": { +"description": "If \"validate_only\" is set to true, the service will try to validate that this request would succeed, but will not actually make changes.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1beta1/{+parent}/releases", +"request": { +"$ref": "Release" +}, +"response": { +"$ref": "Release" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Delete a single release.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/releases/{releasesId}", +"httpMethod": "DELETE", +"id": "saasservicemgmt.projects.locations.releases.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"etag": { +"description": "The etag known to the client for the expected state of the release. This is used with state-changing methods to prevent accidental overwrites when multiple user agents might be acting in parallel on the same resource. An etag wildcard provide optimistic concurrency based on the expected existence of the release. The Any wildcard (`*`) requires that the resource must already exists, and the Not Any wildcard (`!*`) requires that it must not.", +"location": "query", +"type": "string" +}, +"name": { +"description": "Required. The resource name of the resource within a service.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/releases/[^/]+$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"validateOnly": { +"description": "If \"validate_only\" is set to true, the service will try to validate that this request would succeed, but will not actually make changes.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1beta1/{+name}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Retrieve a single release.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/releases/{releasesId}", +"httpMethod": "GET", +"id": "saasservicemgmt.projects.locations.releases.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the resource within a service.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/releases/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+name}", +"response": { +"$ref": "Release" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Retrieve a collection of releases.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/releases", +"httpMethod": "GET", +"id": "saasservicemgmt.projects.locations.releases.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Filter the list as specified in https://google.aip.dev/160.", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "Order results as specified in https://google.aip.dev/132.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "The maximum number of releases to send per page.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The page token: If the next_page_token from a previous response is provided, this request will send the subsequent page.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent of the release.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+parent}/releases", +"response": { +"$ref": "ListReleasesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Update a single release.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/releases/{releasesId}", +"httpMethod": "PATCH", +"id": "saasservicemgmt.projects.locations.releases.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Identifier. The resource name (full URI of the resource) following the standard naming scheme: \"projects/{project}/locations/{location}/releases/{release}\"", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/releases/[^/]+$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"updateMask": { +"description": "Field mask is used to specify the fields to be overwritten in the Release resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields in the Release will be overwritten.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +}, +"validateOnly": { +"description": "If \"validate_only\" is set to true, the service will try to validate that this request would succeed, but will not actually make changes.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1beta1/{+name}", +"request": { +"$ref": "Release" +}, +"response": { +"$ref": "Release" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"rolloutKinds": { +"methods": { +"create": { +"description": "Create a new rollout kind.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/rolloutKinds", +"httpMethod": "POST", +"id": "saasservicemgmt.projects.locations.rolloutKinds.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The parent of the rollout kind.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"rolloutKindId": { +"description": "Required. The ID value for the new rollout kind.", +"location": "query", +"type": "string" +}, +"validateOnly": { +"description": "If \"validate_only\" is set to true, the service will try to validate that this request would succeed, but will not actually make changes.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1beta1/{+parent}/rolloutKinds", +"request": { +"$ref": "RolloutKind" +}, +"response": { +"$ref": "RolloutKind" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Delete a single rollout kind.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/rolloutKinds/{rolloutKindsId}", +"httpMethod": "DELETE", +"id": "saasservicemgmt.projects.locations.rolloutKinds.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"etag": { +"description": "The etag known to the client for the expected state of the rollout kind. This is used with state-changing methods to prevent accidental overwrites when multiple user agents might be acting in parallel on the same resource. An etag wildcard provide optimistic concurrency based on the expected existence of the rollout kind. The Any wildcard (`*`) requires that the resource must already exists, and the Not Any wildcard (`!*`) requires that it must not.", +"location": "query", +"type": "string" +}, +"name": { +"description": "Required. The resource name of the resource within a service.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/rolloutKinds/[^/]+$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"validateOnly": { +"description": "If \"validate_only\" is set to true, the service will try to validate that this request would succeed, but will not actually make changes.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1beta1/{+name}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Retrieve a single rollout kind.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/rolloutKinds/{rolloutKindsId}", +"httpMethod": "GET", +"id": "saasservicemgmt.projects.locations.rolloutKinds.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the resource within a service.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/rolloutKinds/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+name}", +"response": { +"$ref": "RolloutKind" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Retrieve a collection of rollout kinds.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/rolloutKinds", +"httpMethod": "GET", +"id": "saasservicemgmt.projects.locations.rolloutKinds.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Filter the list as specified in https://google.aip.dev/160.", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "Order results as specified in https://google.aip.dev/132.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "The maximum number of rollout kinds to send per page.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The page token: If the next_page_token from a previous response is provided, this request will send the subsequent page.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent of the rollout kind.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+parent}/rolloutKinds", +"response": { +"$ref": "ListRolloutKindsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Update a single rollout kind.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/rolloutKinds/{rolloutKindsId}", +"httpMethod": "PATCH", +"id": "saasservicemgmt.projects.locations.rolloutKinds.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Identifier. The resource name (full URI of the resource) following the standard naming scheme: \"projects/{project}/locations/{location}/rolloutKinds/{rollout_kind_id}\"", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/rolloutKinds/[^/]+$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"updateMask": { +"description": "Field mask is used to specify the fields to be overwritten in the RolloutKind resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields in the RolloutKind will be overwritten.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +}, +"validateOnly": { +"description": "If \"validate_only\" is set to true, the service will try to validate that this request would succeed, but will not actually make changes.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1beta1/{+name}", +"request": { +"$ref": "RolloutKind" +}, +"response": { +"$ref": "RolloutKind" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"rollouts": { +"methods": { +"create": { +"description": "Create a new rollout.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/rollouts", +"httpMethod": "POST", +"id": "saasservicemgmt.projects.locations.rollouts.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The parent of the rollout.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"rolloutId": { +"description": "Required. The ID value for the new rollout.", +"location": "query", +"type": "string" +}, +"validateOnly": { +"description": "If \"validate_only\" is set to true, the service will try to validate that this request would succeed, but will not actually make changes.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1beta1/{+parent}/rollouts", +"request": { +"$ref": "Rollout" +}, +"response": { +"$ref": "Rollout" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Delete a single rollout.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/rollouts/{rolloutsId}", +"httpMethod": "DELETE", +"id": "saasservicemgmt.projects.locations.rollouts.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"etag": { +"description": "The etag known to the client for the expected state of the rollout. This is used with state-changing methods to prevent accidental overwrites when multiple user agents might be acting in parallel on the same resource. An etag wildcard provide optimistic concurrency based on the expected existence of the rollout. The Any wildcard (`*`) requires that the resource must already exists, and the Not Any wildcard (`!*`) requires that it must not.", +"location": "query", +"type": "string" +}, +"name": { +"description": "Required. The resource name of the resource within a service.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/rollouts/[^/]+$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"validateOnly": { +"description": "If \"validate_only\" is set to true, the service will try to validate that this request would succeed, but will not actually make changes.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1beta1/{+name}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Retrieve a single rollout.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/rollouts/{rolloutsId}", +"httpMethod": "GET", +"id": "saasservicemgmt.projects.locations.rollouts.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the resource within a service.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/rollouts/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+name}", +"response": { +"$ref": "Rollout" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Retrieve a collection of rollouts.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/rollouts", +"httpMethod": "GET", +"id": "saasservicemgmt.projects.locations.rollouts.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Filter the list as specified in https://google.aip.dev/160.", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "Order results as specified in https://google.aip.dev/132.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "The maximum number of rollouts to send per page.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The page token: If the next_page_token from a previous response is provided, this request will send the subsequent page.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent of the rollout.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+parent}/rollouts", +"response": { +"$ref": "ListRolloutsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Update a single rollout.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/rollouts/{rolloutsId}", +"httpMethod": "PATCH", +"id": "saasservicemgmt.projects.locations.rollouts.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Identifier. The resource name (full URI of the resource) following the standard naming scheme: \"projects/{project}/locations/{location}/rollout/{rollout_id}\"", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/rollouts/[^/]+$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"updateMask": { +"description": "Field mask is used to specify the fields to be overwritten in the Rollout resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields in the Rollout will be overwritten.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +}, +"validateOnly": { +"description": "If \"validate_only\" is set to true, the service will try to validate that this request would succeed, but will not actually make changes.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1beta1/{+name}", +"request": { +"$ref": "Rollout" +}, +"response": { +"$ref": "Rollout" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"saas": { +"methods": { +"create": { +"description": "Create a new saas.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/saas", +"httpMethod": "POST", +"id": "saasservicemgmt.projects.locations.saas.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The parent of the saas.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"saasId": { +"description": "Required. The ID value for the new saas.", +"location": "query", +"type": "string" +}, +"validateOnly": { +"description": "If \"validate_only\" is set to true, the service will try to validate that this request would succeed, but will not actually make changes.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1beta1/{+parent}/saas", +"request": { +"$ref": "Saas" +}, +"response": { +"$ref": "Saas" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Delete a single saas.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/saas/{saasId}", +"httpMethod": "DELETE", +"id": "saasservicemgmt.projects.locations.saas.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"etag": { +"description": "The etag known to the client for the expected state of the saas. This is used with state-changing methods to prevent accidental overwrites when multiple user agents might be acting in parallel on the same resource. An etag wildcard provide optimistic concurrency based on the expected existence of the saas. The Any wildcard (`*`) requires that the resource must already exists, and the Not Any wildcard (`!*`) requires that it must not.", +"location": "query", +"type": "string" +}, +"name": { +"description": "Required. The resource name of the resource within a service.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/saas/[^/]+$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"validateOnly": { +"description": "If \"validate_only\" is set to true, the service will try to validate that this request would succeed, but will not actually make changes.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1beta1/{+name}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Retrieve a single saas.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/saas/{saasId}", +"httpMethod": "GET", +"id": "saasservicemgmt.projects.locations.saas.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the resource within a service.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/saas/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+name}", +"response": { +"$ref": "Saas" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Retrieve a collection of saas.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/saas", +"httpMethod": "GET", +"id": "saasservicemgmt.projects.locations.saas.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Filter the list as specified in https://google.aip.dev/160.", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "Order results as specified in https://google.aip.dev/132.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "The maximum number of saas to send per page.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The page token: If the next_page_token from a previous response is provided, this request will send the subsequent page.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent of the saas.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+parent}/saas", +"response": { +"$ref": "ListSaasResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Update a single saas.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/saas/{saasId}", +"httpMethod": "PATCH", +"id": "saasservicemgmt.projects.locations.saas.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Identifier. The resource name (full URI of the resource) following the standard naming scheme: \"projects/{project}/locations/{location}/saas/{saas}\"", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/saas/[^/]+$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"updateMask": { +"description": "Field mask is used to specify the fields to be overwritten in the Saas resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields in the Saas will be overwritten.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +}, +"validateOnly": { +"description": "If \"validate_only\" is set to true, the service will try to validate that this request would succeed, but will not actually make changes.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1beta1/{+name}", +"request": { +"$ref": "Saas" +}, +"response": { +"$ref": "Saas" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"tenants": { +"methods": { +"create": { +"description": "Create a new tenant.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/tenants", +"httpMethod": "POST", +"id": "saasservicemgmt.projects.locations.tenants.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The parent of the tenant.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"tenantId": { +"description": "Required. The ID value for the new tenant.", +"location": "query", +"type": "string" +}, +"validateOnly": { +"description": "If \"validate_only\" is set to true, the service will try to validate that this request would succeed, but will not actually make changes.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1beta1/{+parent}/tenants", +"request": { +"$ref": "Tenant" +}, +"response": { +"$ref": "Tenant" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Delete a single tenant.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/tenants/{tenantsId}", +"httpMethod": "DELETE", +"id": "saasservicemgmt.projects.locations.tenants.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"etag": { +"description": "The etag known to the client for the expected state of the tenant. This is used with state-changing methods to prevent accidental overwrites when multiple user agents might be acting in parallel on the same resource. An etag wildcard provide optimistic concurrency based on the expected existence of the tenant. The Any wildcard (`*`) requires that the resource must already exists, and the Not Any wildcard (`!*`) requires that it must not.", +"location": "query", +"type": "string" +}, +"name": { +"description": "Required. The resource name of the resource within a service.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/tenants/[^/]+$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"validateOnly": { +"description": "If \"validate_only\" is set to true, the service will try to validate that this request would succeed, but will not actually make changes.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1beta1/{+name}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Retrieve a single tenant.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/tenants/{tenantsId}", +"httpMethod": "GET", +"id": "saasservicemgmt.projects.locations.tenants.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the resource within a service.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/tenants/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+name}", +"response": { +"$ref": "Tenant" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Retrieve a collection of tenants.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/tenants", +"httpMethod": "GET", +"id": "saasservicemgmt.projects.locations.tenants.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Filter the list as specified in https://google.aip.dev/160.", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "Order results as specified in https://google.aip.dev/132.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "The maximum number of tenants to send per page.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The page token: If the next_page_token from a previous response is provided, this request will send the subsequent page.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent of the tenant.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+parent}/tenants", +"response": { +"$ref": "ListTenantsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Update a single tenant.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/tenants/{tenantsId}", +"httpMethod": "PATCH", +"id": "saasservicemgmt.projects.locations.tenants.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Identifier. The resource name (full URI of the resource) following the standard naming scheme: \"projects/{project}/locations/{location}/tenants/{tenant}\"", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/tenants/[^/]+$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"updateMask": { +"description": "Field mask is used to specify the fields to be overwritten in the Tenant resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields in the Tenant will be overwritten.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +}, +"validateOnly": { +"description": "If \"validate_only\" is set to true, the service will try to validate that this request would succeed, but will not actually make changes.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1beta1/{+name}", +"request": { +"$ref": "Tenant" +}, +"response": { +"$ref": "Tenant" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"unitKinds": { +"methods": { +"create": { +"description": "Create a new unit kind.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/unitKinds", +"httpMethod": "POST", +"id": "saasservicemgmt.projects.locations.unitKinds.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The parent of the unit kind.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"unitKindId": { +"description": "Required. The ID value for the new unit kind.", +"location": "query", +"type": "string" +}, +"validateOnly": { +"description": "If \"validate_only\" is set to true, the service will try to validate that this request would succeed, but will not actually make changes.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1beta1/{+parent}/unitKinds", +"request": { +"$ref": "UnitKind" +}, +"response": { +"$ref": "UnitKind" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Delete a single unit kind.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/unitKinds/{unitKindsId}", +"httpMethod": "DELETE", +"id": "saasservicemgmt.projects.locations.unitKinds.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"etag": { +"description": "The etag known to the client for the expected state of the unit kind. This is used with state-changing methods to prevent accidental overwrites when multiple user agents might be acting in parallel on the same resource. An etag wildcard provide optimistic concurrency based on the expected existence of the unit kind. The Any wildcard (`*`) requires that the resource must already exists, and the Not Any wildcard (`!*`) requires that it must not.", +"location": "query", +"type": "string" +}, +"name": { +"description": "Required. The resource name of the resource within a service.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/unitKinds/[^/]+$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"validateOnly": { +"description": "If \"validate_only\" is set to true, the service will try to validate that this request would succeed, but will not actually make changes.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1beta1/{+name}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Retrieve a single unit kind.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/unitKinds/{unitKindsId}", +"httpMethod": "GET", +"id": "saasservicemgmt.projects.locations.unitKinds.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the resource within a service.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/unitKinds/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+name}", +"response": { +"$ref": "UnitKind" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Retrieve a collection of unit kinds.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/unitKinds", +"httpMethod": "GET", +"id": "saasservicemgmt.projects.locations.unitKinds.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Filter the list as specified in https://google.aip.dev/160.", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "Order results as specified in https://google.aip.dev/132.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "The maximum number of unit kinds to send per page.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The page token: If the next_page_token from a previous response is provided, this request will send the subsequent page.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent of the unit kind.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+parent}/unitKinds", +"response": { +"$ref": "ListUnitKindsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Update a single unit kind.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/unitKinds/{unitKindsId}", +"httpMethod": "PATCH", +"id": "saasservicemgmt.projects.locations.unitKinds.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Identifier. The resource name (full URI of the resource) following the standard naming scheme: \"projects/{project}/locations/{location}/unitKinds/{unitKind}\"", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/unitKinds/[^/]+$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"updateMask": { +"description": "Field mask is used to specify the fields to be overwritten in the UnitKind resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields in the UnitKind will be overwritten.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +}, +"validateOnly": { +"description": "If \"validate_only\" is set to true, the service will try to validate that this request would succeed, but will not actually make changes.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1beta1/{+name}", +"request": { +"$ref": "UnitKind" +}, +"response": { +"$ref": "UnitKind" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"unitOperations": { +"methods": { +"create": { +"description": "Create a new unit operation.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/unitOperations", +"httpMethod": "POST", +"id": "saasservicemgmt.projects.locations.unitOperations.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The parent of the unit operation.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"unitOperationId": { +"description": "Required. The ID value for the new unit operation.", +"location": "query", +"type": "string" +}, +"validateOnly": { +"description": "If \"validate_only\" is set to true, the service will try to validate that this request would succeed, but will not actually make changes.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1beta1/{+parent}/unitOperations", +"request": { +"$ref": "UnitOperation" +}, +"response": { +"$ref": "UnitOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Delete a single unit operation.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/unitOperations/{unitOperationsId}", +"httpMethod": "DELETE", +"id": "saasservicemgmt.projects.locations.unitOperations.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"etag": { +"description": "The etag known to the client for the expected state of the unit operation. This is used with state-changing methods to prevent accidental overwrites when multiple user agents might be acting in parallel on the same resource. An etag wildcard provide optimistic concurrency based on the expected existence of the unit operation. The Any wildcard (`*`) requires that the resource must already exists, and the Not Any wildcard (`!*`) requires that it must not.", +"location": "query", +"type": "string" +}, +"name": { +"description": "Required. The resource name of the resource within a service.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/unitOperations/[^/]+$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"validateOnly": { +"description": "If \"validate_only\" is set to true, the service will try to validate that this request would succeed, but will not actually make changes.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1beta1/{+name}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Retrieve a single unit operation.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/unitOperations/{unitOperationsId}", +"httpMethod": "GET", +"id": "saasservicemgmt.projects.locations.unitOperations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the resource within a service.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/unitOperations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+name}", +"response": { +"$ref": "UnitOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Retrieve a collection of unit operations.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/unitOperations", +"httpMethod": "GET", +"id": "saasservicemgmt.projects.locations.unitOperations.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Filter the list as specified in https://google.aip.dev/160.", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "Order results as specified in https://google.aip.dev/132.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "The maximum number of unit operations to send per page.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The page token: If the next_page_token from a previous response is provided, this request will send the subsequent page.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent of the unit operation.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+parent}/unitOperations", +"response": { +"$ref": "ListUnitOperationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Update a single unit operation.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/unitOperations/{unitOperationsId}", +"httpMethod": "PATCH", +"id": "saasservicemgmt.projects.locations.unitOperations.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Identifier. The resource name (full URI of the resource) following the standard naming scheme: \"projects/{project}/locations/{location}/unitOperations/{unitOperation}\"", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/unitOperations/[^/]+$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"updateMask": { +"description": "Field mask is used to specify the fields to be overwritten in the UnitOperation resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields in the UnitOperation will be overwritten.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +}, +"validateOnly": { +"description": "If \"validate_only\" is set to true, the service will try to validate that this request would succeed, but will not actually make changes.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1beta1/{+name}", +"request": { +"$ref": "UnitOperation" +}, +"response": { +"$ref": "UnitOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"units": { +"methods": { +"create": { +"description": "Create a new unit.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/units", +"httpMethod": "POST", +"id": "saasservicemgmt.projects.locations.units.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The parent of the unit.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"unitId": { +"description": "Required. The ID value for the new unit.", +"location": "query", +"type": "string" +}, +"validateOnly": { +"description": "If \"validate_only\" is set to true, the service will try to validate that this request would succeed, but will not actually make changes.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1beta1/{+parent}/units", +"request": { +"$ref": "Unit" +}, +"response": { +"$ref": "Unit" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Delete a single unit.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/units/{unitsId}", +"httpMethod": "DELETE", +"id": "saasservicemgmt.projects.locations.units.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"etag": { +"description": "The etag known to the client for the expected state of the unit. This is used with state-changing methods to prevent accidental overwrites when multiple user agents might be acting in parallel on the same resource. An etag wildcard provide optimistic concurrency based on the expected existence of the unit. The Any wildcard (`*`) requires that the resource must already exists, and the Not Any wildcard (`!*`) requires that it must not.", +"location": "query", +"type": "string" +}, +"name": { +"description": "Required. The resource name of the resource within a service.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/units/[^/]+$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"validateOnly": { +"description": "If \"validate_only\" is set to true, the service will try to validate that this request would succeed, but will not actually make changes.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1beta1/{+name}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Retrieve a single unit.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/units/{unitsId}", +"httpMethod": "GET", +"id": "saasservicemgmt.projects.locations.units.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the resource within a service.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/units/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+name}", +"response": { +"$ref": "Unit" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Retrieve a collection of units.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/units", +"httpMethod": "GET", +"id": "saasservicemgmt.projects.locations.units.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Filter the list as specified in https://google.aip.dev/160.", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "Order results as specified in https://google.aip.dev/132.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "The maximum number of units to send per page.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The page token: If the next_page_token from a previous response is provided, this request will send the subsequent page.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent of the unit.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+parent}/units", +"response": { +"$ref": "ListUnitsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Update a single unit.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/units/{unitsId}", +"httpMethod": "PATCH", +"id": "saasservicemgmt.projects.locations.units.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Identifier. The resource name (full URI of the resource) following the standard naming scheme: \"projects/{project}/locations/{location}/units/{unit}\"", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/units/[^/]+$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"updateMask": { +"description": "Field mask is used to specify the fields to be overwritten in the Unit resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields in the Unit will be overwritten.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +}, +"validateOnly": { +"description": "If \"validate_only\" is set to true, the service will try to validate that this request would succeed, but will not actually make changes.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1beta1/{+name}", +"request": { +"$ref": "Unit" +}, +"response": { +"$ref": "Unit" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +} +} +} +}, +"revision": "20260214", +"rootUrl": "https://saasservicemgmt.googleapis.com/", +"schemas": { +"Aggregate": { +"description": "Represents the aggregation of a set of population of like records by a certain group. For example, a collection of unit counts can be aggregated and grouped by their state.", +"id": "Aggregate", +"properties": { +"count": { +"description": "Required. Number of records in the group.", +"format": "int32", +"type": "integer" +}, +"group": { +"description": "Required. Group by which to aggregate.", +"type": "string" +} +}, +"type": "object" +}, +"Blueprint": { +"description": "Blueprints are OCI Images that contain all of the artifacts needed to provision a unit. Metadata such as, type of the engine used to actuate the blueprint (e.g. terraform, helm etc) and version will come from the image manifest. If the hostname is omitted, it will be assumed to be the regional path to Artifact Registry (eg. us-east1-docker.pkg.dev).", +"id": "Blueprint", +"properties": { +"engine": { +"description": "Output only. Type of the engine used to actuate the blueprint. e.g. terraform, helm etc.", +"readOnly": true, +"type": "string" +}, +"package": { +"description": "Optional. Immutable. URI to a blueprint used by the Unit (required unless unitKind or release is set).", +"type": "string" +}, +"version": { +"description": "Output only. Version metadata if present on the blueprint.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"Dependency": { +"description": "Dependency represent a single dependency with another unit kind by alias.", +"id": "Dependency", +"properties": { +"alias": { +"description": "Required. An alias for the dependency. Used for input variable mapping.", +"type": "string" +}, +"unitKind": { +"description": "Required. Immutable. The unit kind of the dependency.", +"type": "string" +} +}, +"type": "object" +}, +"Deprovision": { +"description": "Deprovision is the unit operation that deprovision the underlying resources represented by a Unit. Can only execute if the Unit is currently provisioned.", +"id": "Deprovision", +"properties": {}, +"type": "object" +}, +"Empty": { +"description": "A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }", +"id": "Empty", +"properties": {}, +"type": "object" +}, +"ErrorBudget": { +"description": "The configuration for error budget. If the number of failed units exceeds max(allowed_count, allowed_ratio * total_units), the rollout will be paused.", +"id": "ErrorBudget", +"properties": { +"allowedCount": { +"description": "Optional. The maximum number of failed units allowed in a location without pausing the rollout.", +"format": "int32", +"type": "integer" +}, +"allowedPercentage": { +"description": "Optional. The maximum percentage of units allowed to fail (0, 100] within a location without pausing the rollout.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"FromMapping": { +"description": "Output variables whose values will be passed on to dependencies", +"id": "FromMapping", +"properties": { +"dependency": { +"description": "Required. Alias of the dependency that the outputVariable will pass its value to", +"type": "string" +}, +"outputVariable": { +"description": "Required. Name of the outputVariable on the dependency", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudLocationLocation": { +"description": "A resource that represents a Google Cloud location.", +"id": "GoogleCloudLocationLocation", +"properties": { +"displayName": { +"description": "The friendly name for this location, typically a nearby city name. For example, \"Tokyo\".", +"type": "string" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Cross-service attributes for the location. For example {\"cloud.googleapis.com/region\": \"us-east1\"}", +"type": "object" +}, +"locationId": { +"description": "The canonical id for this location. For example: `\"us-east1\"`.", +"type": "string" +}, +"metadata": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "Service-specific metadata. For example the available capacity at the given location.", +"type": "object" +}, +"name": { +"description": "Resource name for the location, which may vary between implementations. For example: `\"projects/example-project/locations/us-east1\"`", +"type": "string" +} +}, +"type": "object" +}, +"ListLocationsResponse": { +"description": "The response message for Locations.ListLocations.", +"id": "ListLocationsResponse", +"properties": { +"locations": { +"description": "A list of locations that matches the specified filter in the request.", +"items": { +"$ref": "GoogleCloudLocationLocation" +}, +"type": "array" +}, +"nextPageToken": { +"description": "The standard List next-page token.", +"type": "string" +} +}, +"type": "object" +}, +"ListReleasesResponse": { +"description": "The response structure for the ListReleases method.", +"id": "ListReleasesResponse", +"properties": { +"nextPageToken": { +"description": "If present, the next page token can be provided to a subsequent ListReleases call to list the next page. If empty, there are no more pages.", +"type": "string" +}, +"releases": { +"description": "The resulting releases.", +"items": { +"$ref": "Release" +}, +"type": "array" +}, +"unreachable": { +"description": "Locations that could not be reached.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListRolloutKindsResponse": { +"description": "The response structure for the ListRolloutKinds method.", +"id": "ListRolloutKindsResponse", +"properties": { +"nextPageToken": { +"description": "If present, the next page token can be provided to a subsequent ListRolloutKinds call to list the next page. If empty, there are no more pages.", +"type": "string" +}, +"rolloutKinds": { +"description": "The resulting rollout kinds.", +"items": { +"$ref": "RolloutKind" +}, +"type": "array" +}, +"unreachable": { +"description": "Locations that could not be reached.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListRolloutsResponse": { +"description": "The response structure for the ListRollouts method.", +"id": "ListRolloutsResponse", +"properties": { +"nextPageToken": { +"description": "If present, the next page token can be provided to a subsequent ListRollouts call to list the next page. If empty, there are no more pages.", +"type": "string" +}, +"rollouts": { +"description": "The resulting rollouts.", +"items": { +"$ref": "Rollout" +}, +"type": "array" +}, +"unreachable": { +"description": "Locations that could not be reached.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListSaasResponse": { +"description": "The response structure for the ListSaas method.", +"id": "ListSaasResponse", +"properties": { +"nextPageToken": { +"description": "If present, the next page token can be provided to a subsequent ListSaas call to list the next page. If empty, there are no more pages.", +"type": "string" +}, +"saas": { +"description": "The resulting saas.", +"items": { +"$ref": "Saas" +}, +"type": "array" +}, +"unreachable": { +"description": "Locations that could not be reached.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListTenantsResponse": { +"description": "The response structure for the ListTenants method.", +"id": "ListTenantsResponse", +"properties": { +"nextPageToken": { +"description": "If present, the next page token can be provided to a subsequent ListTenants call to list the next page. If empty, there are no more pages.", +"type": "string" +}, +"tenants": { +"description": "The resulting tenants.", +"items": { +"$ref": "Tenant" +}, +"type": "array" +}, +"unreachable": { +"description": "Locations that could not be reached.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListUnitKindsResponse": { +"description": "The response structure for the ListUnitKinds method.", +"id": "ListUnitKindsResponse", +"properties": { +"nextPageToken": { +"description": "If present, the next page token can be provided to a subsequent ListUnitKinds call to list the next page. If empty, there are no more pages.", +"type": "string" +}, +"unitKinds": { +"description": "The resulting unit kinds.", +"items": { +"$ref": "UnitKind" +}, +"type": "array" +}, +"unreachable": { +"description": "Locations that could not be reached.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListUnitOperationsResponse": { +"description": "The response structure for the ListUnitOperations method.", +"id": "ListUnitOperationsResponse", +"properties": { +"nextPageToken": { +"description": "If present, the next page token can be provided to a subsequent ListUnitOperations call to list the next page. If empty, there are no more pages.", +"type": "string" +}, +"unitOperations": { +"description": "The resulting unit operations.", +"items": { +"$ref": "UnitOperation" +}, +"type": "array" +}, +"unreachable": { +"description": "Locations that could not be reached.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListUnitsResponse": { +"description": "The response structure for the ListUnits method.", +"id": "ListUnitsResponse", +"properties": { +"nextPageToken": { +"description": "If present, the next page token can be provided to a subsequent ListUnits call to list the next page. If empty, there are no more pages.", +"type": "string" +}, +"units": { +"description": "The resulting units.", +"items": { +"$ref": "Unit" +}, +"type": "array" +}, +"unreachable": { +"description": "Locations that could not be reached.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"Location": { +"description": "Location information that the service is available in.", +"id": "Location", +"properties": { +"name": { +"description": "Optional. Name of location.", +"type": "string" +} +}, +"type": "object" +}, +"MaintenanceSettings": { +"description": "Captures requested directives for performing future maintenance on the unit. This includes a request for the unit to skip maintenance for a period of time and remain pinned to its current release as well as controls for postponing maintenance scheduled in future.", +"id": "MaintenanceSettings", +"properties": { +"pinnedUntilTime": { +"description": "Optional. If present, it fixes the release on the unit until the given time; i.e. changes to the release field will be rejected. Rollouts should and will also respect this by not requesting an upgrade in the first place.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"Provision": { +"description": "Provision is the unit operation that provision the underlying resources represented by a Unit. Can only execute if the Unit is not currently provisioned.", +"id": "Provision", +"properties": { +"inputVariables": { +"description": "Optional. Set of input variables. Maximum 100. (optional)", +"items": { +"$ref": "UnitVariable" +}, +"type": "array" +}, +"release": { +"description": "Optional. Reference to the Release object to use for the Unit. (optional).", +"type": "string" +} +}, +"type": "object" +}, +"Release": { +"description": "A new version to be propagated and deployed to units. This includes pointers to packaged blueprints for actuation (e.g Helm or Terraform configuration packages) via artifact registry.", +"id": "Release", +"properties": { +"annotations": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. Annotations is an unstructured key-value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: https://kubernetes.io/docs/user-guide/annotations", +"type": "object" +}, +"blueprint": { +"$ref": "Blueprint", +"description": "Optional. Blueprints are OCI Images that contain all of the artifacts needed to provision a unit." +}, +"createTime": { +"description": "Output only. The timestamp when the resource was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"etag": { +"description": "Output only. An opaque value that uniquely identifies a version or generation of a resource. It can be used to confirm that the client and server agree on the ordering of a resource being written.", +"readOnly": true, +"type": "string" +}, +"inputVariableDefaults": { +"description": "Optional. Mapping of input variables to default values. Maximum 100", +"items": { +"$ref": "UnitVariable" +}, +"type": "array" +}, +"inputVariables": { +"description": "Optional. Output only. List of input variables declared on the blueprint and can be present with their values on the unit spec", +"items": { +"$ref": "UnitVariable" +}, +"readOnly": true, +"type": "array" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. The labels on the resource, which can be used for categorization. similar to Kubernetes resource labels.", +"type": "object" +}, +"name": { +"description": "Identifier. The resource name (full URI of the resource) following the standard naming scheme: \"projects/{project}/locations/{location}/releases/{release}\"", +"type": "string" +}, +"outputVariables": { +"description": "Optional. Output only. List of output variables declared on the blueprint and can be present with their values on the unit status", +"items": { +"$ref": "UnitVariable" +}, +"readOnly": true, +"type": "array" +}, +"releaseRequirements": { +"$ref": "ReleaseRequirements", +"description": "Optional. Set of requirements to be fulfilled on the Unit when using this Release." +}, +"uid": { +"description": "Output only. The unique identifier of the resource. UID is unique in the time and space for this resource within the scope of the service. It is typically generated by the server on successful creation of a resource and must not be changed. UID is used to uniquely identify resources with resource name reuses. This should be a UUID4.", +"readOnly": true, +"type": "string" +}, +"unitKind": { +"description": "Required. Immutable. Reference to the UnitKind this Release corresponds to (required and immutable once created).", +"type": "string" +}, +"updateTime": { +"description": "Output only. The timestamp when the resource was last updated. Any change to the resource made by users must refresh this value. Changes to a resource made by the service should refresh this value.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"ReleaseRequirements": { +"description": "Set of requirements to be fulfilled on the Unit when using this Release.", +"id": "ReleaseRequirements", +"properties": { +"upgradeableFromReleases": { +"description": "Optional. A list of releases from which a unit can be upgraded to this one (optional). If left empty no constraints will be applied. When provided, unit upgrade requests to this release will check and enforce this constraint.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"Rollout": { +"description": "Represents a single rollout execution and its results", +"id": "Rollout", +"properties": { +"annotations": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. Annotations is an unstructured key-value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: https://kubernetes.io/docs/user-guide/annotations", +"type": "object" +}, +"control": { +"$ref": "RolloutControl", +"description": "Optional. Requested change to the execution of this rollout. Default RolloutControl.action is ROLLOUT_ACTION_RUN meaning the rollout will be executed to completion while progressing through all natural Rollout States (such as RUNNING -> SUCCEEDED or RUNNING -> FAILED). Requests can only be made when the Rollout is in a non-terminal state." +}, +"createTime": { +"description": "Output only. The timestamp when the resource was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"deleteTime": { +"description": "Output only. The timestamp when the resource was marked for deletion (deletion is an asynchronous operation).", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"effectiveUnitFilter": { +"description": "Optional. Output only. Output only snapshot of the effective unit filter at Rollout start time. Contains a CEL(https://github.com/google/cel-spec) expression consisting of a conjunction of Rollout.unit_filter and RolloutKind.unit_filter. This field captures the filter applied by the Rollout to determine the Unit population. If the associated RolloutKind's unit_filter is modified after the rollout is started, it will not be updated here.", +"readOnly": true, +"type": "string" +}, +"endTime": { +"description": "Optional. Output only. The time when the rollout finished execution (regardless of success, failure, or cancellation). Will be empty if the rollout hasn't finished yet. Once set, the rollout is in terminal state and all the results are final.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"etag": { +"description": "Output only. An opaque value that uniquely identifies a version or generation of a resource. It can be used to confirm that the client and server agree on the ordering of a resource being written.", +"readOnly": true, +"type": "string" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. The labels on the resource, which can be used for categorization. similar to Kubernetes resource labels.", +"type": "object" +}, +"name": { +"description": "Identifier. The resource name (full URI of the resource) following the standard naming scheme: \"projects/{project}/locations/{location}/rollout/{rollout_id}\"", +"type": "string" +}, +"parentRollout": { +"description": "Optional. Output only. The direct parent rollout that this rollout is stemming from. The resource name (full URI of the resource) following the standard naming scheme: \"projects/{project}/locations/{location}/rollouts/{rollout_id}\"", +"readOnly": true, +"type": "string" +}, +"release": { +"description": "Optional. Immutable. Name of the Release that gets rolled out to target Units. Required if no other type of release is specified.", +"type": "string" +}, +"rolloutKind": { +"description": "Optional. Immutable. Name of the RolloutKind this rollout is stemming from and adhering to.", +"type": "string" +}, +"rolloutOrchestrationStrategy": { +"description": "Optional. The strategy used for executing this Rollout. This strategy will override whatever strategy is specified in the RolloutKind. If not specified on creation, the strategy from RolloutKind will be used. There are two supported values strategies which are used to control - \"Google.Cloud.Simple.AllAtOnce\" - \"Google.Cloud.Simple.OneLocationAtATime\" A rollout with one of these simple strategies will rollout across all locations defined in the targeted UnitKind's Saas Locations.", +"type": "string" +}, +"rootRollout": { +"description": "Optional. Output only. The root rollout that this rollout is stemming from. The resource name (full URI of the resource) following the standard naming scheme: \"projects/{project}/locations/{location}/rollouts/{rollout_id}\"", +"readOnly": true, +"type": "string" +}, +"startTime": { +"description": "Optional. Output only. The time when the rollout started executing. Will be empty if the rollout hasn't started yet.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"state": { +"description": "Output only. Current state of the rollout.", +"enum": [ +"ROLLOUT_STATE_UNSPECIFIED", +"ROLLOUT_STATE_RUNNING", +"ROLLOUT_STATE_PAUSED", +"ROLLOUT_STATE_SUCCEEDED", +"ROLLOUT_STATE_FAILED", +"ROLLOUT_STATE_CANCELLED", +"ROLLOUT_STATE_WAITING", +"ROLLOUT_STATE_CANCELLING", +"ROLLOUT_STATE_RESUMING", +"ROLLOUT_STATE_PAUSING" +], +"enumDescriptions": [ +"Unspecified state.", +"Rollout is in progress.", +"Rollout has been paused.", +"Rollout completed successfully.", +"Rollout has failed.", +"Rollout has been canceled.", +"Rollout is waiting for some condition to be met before starting.", +"Rollout is being canceled.", +"Rollout is being resumed.", +"Rollout is being paused." +], +"readOnly": true, +"type": "string" +}, +"stateMessage": { +"description": "Output only. Human readable message indicating details about the last state transition.", +"readOnly": true, +"type": "string" +}, +"stateTransitionTime": { +"description": "Optional. Output only. The time when the rollout transitioned into its current state.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"stats": { +"$ref": "RolloutStats", +"description": "Optional. Output only. Details about the progress of the rollout.", +"readOnly": true +}, +"uid": { +"description": "Output only. The unique identifier of the resource. UID is unique in the time and space for this resource within the scope of the service. It is typically generated by the server on successful creation of a resource and must not be changed. UID is used to uniquely identify resources with resource name reuses. This should be a UUID4.", +"readOnly": true, +"type": "string" +}, +"unitFilter": { +"description": "Optional. CEL(https://github.com/google/cel-spec) formatted filter string against Unit. The filter will be applied to determine the eligible unit population. This filter can only reduce, but not expand the scope of the rollout. If not provided, the unit_filter from the RolloutKind will be used.", +"type": "string" +}, +"updateTime": { +"description": "Output only. The timestamp when the resource was last updated. Any change to the resource made by users must refresh this value. Changes to a resource made by the service should refresh this value.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"RolloutControl": { +"description": "RolloutControl provides a way to request a change to the execution of a Rollout by pausing or canceling it.", +"id": "RolloutControl", +"properties": { +"action": { +"description": "Required. Action to be performed on the Rollout. The default behavior is to run the rollout until it naturally reaches a terminal state.", +"enum": [ +"ROLLOUT_ACTION_UNSPECIFIED", +"ROLLOUT_ACTION_RUN", +"ROLLOUT_ACTION_PAUSE", +"ROLLOUT_ACTION_CANCEL" +], +"enumDescriptions": [ +"Unspecified action, will be treated as RUN by default.", +"Run the Rollout until it naturally reaches a terminal state. A rollout requested to run will progress through all natural Rollout States (such as RUNNING -> SUCCEEDED or RUNNING -> FAILED). If retriable errors are encountered during the rollout, the rollout will paused by default and can be resumed by re-requesting this RUN action.", +"Pause the Rollout until it is resumed (i.e. RUN is requested).", +"Cancel the Rollout permanently." +], +"type": "string" +}, +"runParams": { +"$ref": "RunRolloutActionParams", +"description": "Optional. Parameters for the RUN action. It is an error to specify this if the RolloutAction is not set to RUN. By default, the rollout will retry failed operations when resumed." +} +}, +"type": "object" +}, +"RolloutKind": { +"description": "An object that describes various settings of Rollout execution. Includes built-in policies across GCP and GDC, and customizable policies.", +"id": "RolloutKind", +"properties": { +"annotations": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. Annotations is an unstructured key-value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: https://kubernetes.io/docs/user-guide/annotations", +"type": "object" +}, +"createTime": { +"description": "Output only. The timestamp when the resource was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"errorBudget": { +"$ref": "ErrorBudget", +"description": "Optional. The configuration for error budget. If the number of failed units exceeds max(allowed_count, allowed_ratio * total_units), the rollout will be paused. If not set, all units will be attempted to be updated regardless of the number of failures encountered." +}, +"etag": { +"description": "Output only. An opaque value that uniquely identifies a version or generation of a resource. It can be used to confirm that the client and server agree on the ordering of a resource being written.", +"readOnly": true, +"type": "string" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. The labels on the resource, which can be used for categorization. similar to Kubernetes resource labels.", +"type": "object" +}, +"maintenancePolicyEnforcement": { +"description": "Optional. Value among strict (enforcing maintenance policy and only looking at Units with maintenance policy), ignore (ignoring maintenance policy) and skip (skipping Units with maintenance policy)", +"enum": [ +"MAINTENANCE_POLICY_ENFORCEMENT_UNSPECIFIED", +"MAINTENANCE_POLICY_ENFORCEMENT_STRICT", +"MAINTENANCE_POLICY_ENFORCEMENT_IGNORED", +"MAINTENANCE_POLICY_ENFORCEMENT_SKIPPED" +], +"enumDescriptions": [ +"", +"", +"", +"" +], +"type": "string" +}, +"name": { +"description": "Identifier. The resource name (full URI of the resource) following the standard naming scheme: \"projects/{project}/locations/{location}/rolloutKinds/{rollout_kind_id}\"", +"type": "string" +}, +"rolloutOrchestrationStrategy": { +"description": "Optional. The strategy used for executing a Rollout. This is a required field. There are two supported values strategies which are used to control - \"Google.Cloud.Simple.AllAtOnce\" - \"Google.Cloud.Simple.OneLocationAtATime\" A rollout with one of these simple strategies will rollout across all locations defined in the associated UnitKind's Saas Locations.", +"type": "string" +}, +"uid": { +"description": "Output only. The unique identifier of the resource. UID is unique in the time and space for this resource within the scope of the service. It is typically generated by the server on successful creation of a resource and must not be changed. UID is used to uniquely identify resources with resource name reuses. This should be a UUID4.", +"readOnly": true, +"type": "string" +}, +"unitFilter": { +"description": "Optional. CEL(https://github.com/google/cel-spec) formatted filter string against Unit. The filter will be applied to determine the eligible unit population. This filter can only reduce, but not expand the scope of the rollout.", +"type": "string" +}, +"unitKind": { +"description": "Required. Immutable. UnitKind that this rollout kind corresponds to. Rollouts stemming from this rollout kind will target the units of this unit kind. In other words, this defines the population of target units to be upgraded by rollouts.", +"type": "string" +}, +"updateTime": { +"description": "Output only. The timestamp when the resource was last updated. Any change to the resource made by users must refresh this value. Changes to a resource made by the service should refresh this value.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"updateUnitKindStrategy": { +"description": "Optional. The config for updating the unit kind. By default, the unit kind will be updated on the rollout start.", +"enum": [ +"UPDATE_UNIT_KIND_STRATEGY_UNSPECIFIED", +"UPDATE_UNIT_KIND_STRATEGY_ON_START", +"UPDATE_UNIT_KIND_STRATEGY_NEVER" +], +"enumDescriptions": [ +"Strategy unspecified.", +"Update the unit kind strategy on the rollout start.", +"Never update the unit kind." +], +"type": "string" +} +}, +"type": "object" +}, +"RolloutStats": { +"description": "RolloutStats contains information about the progress of a rollout.", +"id": "RolloutStats", +"properties": { +"operationsByState": { +"description": "Optional. Output only. Unordered list. A breakdown of the progress of operations triggered by the rollout. Provides a count of Operations by their state. This can be used to determine the number of units which have been updated, or are scheduled to be updated. There will be at most one entry per group. Possible values for operation groups are: - \"SCHEDULED\" - \"PENDING\" - \"RUNNING\" - \"SUCCEEDED\" - \"FAILED\" - \"CANCELLED\"", +"items": { +"$ref": "Aggregate" +}, +"readOnly": true, +"type": "array" +} +}, +"type": "object" +}, +"RunRolloutActionParams": { +"description": "Parameters for the RUN action controlling the behavior of the rollout when it is resumed from a PAUSED state.", +"id": "RunRolloutActionParams", +"properties": { +"retryFailedOperations": { +"description": "Required. If true, the rollout will retry failed operations when resumed. This is applicable only the current state of the Rollout is PAUSED and the requested action is RUN.", +"type": "boolean" +} +}, +"type": "object" +}, +"Saas": { +"description": "Saas is a representation of a SaaS service managed by the Producer.", +"id": "Saas", +"properties": { +"annotations": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. Annotations is an unstructured key-value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: https://kubernetes.io/docs/user-guide/annotations", +"type": "object" +}, +"createTime": { +"description": "Output only. The timestamp when the resource was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"etag": { +"description": "Output only. An opaque value that uniquely identifies a version or generation of a resource. It can be used to confirm that the client and server agree on the ordering of a resource being written.", +"readOnly": true, +"type": "string" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. The labels on the resource, which can be used for categorization. similar to Kubernetes resource labels.", +"type": "object" +}, +"locations": { +"description": "Optional. List of locations that the service is available in. Rollout refers to the list to generate a rollout plan.", +"items": { +"$ref": "Location" +}, +"type": "array" +}, +"name": { +"description": "Identifier. The resource name (full URI of the resource) following the standard naming scheme: \"projects/{project}/locations/{location}/saas/{saas}\"", +"type": "string" +}, +"uid": { +"description": "Output only. The unique identifier of the resource. UID is unique in the time and space for this resource within the scope of the service. It is typically generated by the server on successful creation of a resource and must not be changed. UID is used to uniquely identify resources with resource name reuses. This should be a UUID4.", +"readOnly": true, +"type": "string" +}, +"updateTime": { +"description": "Output only. The timestamp when the resource was last updated. Any change to the resource made by users must refresh this value. Changes to a resource made by the service should refresh this value.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"Schedule": { +"description": "A time specification to schedule the maintenance.", +"id": "Schedule", +"properties": { +"startTime": { +"description": "Optional. Start of operation. If not set, will be set to the start of the next window. (optional)", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"Tenant": { +"description": "Tenant represents the service producer side of an instance of the service created based on a request from a consumer. In a typical scenario a Tenant has a one-to-one mapping with a resource given out to a service consumer. Example: tenant: name: \"projects/svc1/locations/loc/tenants/inst-068afff8\" consumer_resource: \"projects/gshoe/locations/loc/shoes/black-shoe\"", +"id": "Tenant", +"properties": { +"annotations": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. Annotations is an unstructured key-value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: https://kubernetes.io/docs/user-guide/annotations", +"type": "object" +}, +"consumerResource": { +"description": "Optional. Immutable. A reference to the consumer resource this SaaS Tenant is representing. The relationship with a consumer resource can be used by SaaS Runtime for retrieving consumer-defined settings and policies such as maintenance policies (using Unified Maintenance Policy API).", +"type": "string" +}, +"createTime": { +"description": "Output only. The timestamp when the resource was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"etag": { +"description": "Output only. An opaque value that uniquely identifies a version or generation of a resource. It can be used to confirm that the client and server agree on the ordering of a resource being written.", +"readOnly": true, +"type": "string" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. The labels on the resource, which can be used for categorization. similar to Kubernetes resource labels.", +"type": "object" +}, +"name": { +"description": "Identifier. The resource name (full URI of the resource) following the standard naming scheme: \"projects/{project}/locations/{location}/tenants/{tenant}\"", +"type": "string" +}, +"saas": { +"description": "Required. Immutable. A reference to the Saas that defines the product (managed service) that the producer wants to manage with SaaS Runtime. Part of the SaaS Runtime common data model.", +"type": "string" +}, +"uid": { +"description": "Output only. The unique identifier of the resource. UID is unique in the time and space for this resource within the scope of the service. It is typically generated by the server on successful creation of a resource and must not be changed. UID is used to uniquely identify resources with resource name reuses. This should be a UUID4.", +"readOnly": true, +"type": "string" +}, +"updateTime": { +"description": "Output only. The timestamp when the resource was last updated. Any change to the resource made by users must refresh this value. Changes to a resource made by the service should refresh this value.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"ToMapping": { +"description": "Input variables whose values will be passed on to dependencies", +"id": "ToMapping", +"properties": { +"dependency": { +"description": "Required. Alias of the dependency that the inputVariable will pass its value to", +"type": "string" +}, +"ignoreForLookup": { +"description": "Optional. Tells SaaS Runtime if this mapping should be used during lookup or not", +"type": "boolean" +}, +"inputVariable": { +"description": "Required. Name of the inputVariable on the dependency", +"type": "string" +} +}, +"type": "object" +}, +"Unit": { +"description": "A unit of deployment that has its lifecycle via a CRUD API using an actuation engine under the hood (e.g. based on Terraform, Helm or a custom implementation provided by a service producer). A building block of a SaaS Tenant.", +"id": "Unit", +"properties": { +"annotations": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. Annotations is an unstructured key-value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: https://kubernetes.io/docs/user-guide/annotations", +"type": "object" +}, +"conditions": { +"description": "Optional. Output only. A set of conditions which indicate the various conditions this resource can have.", +"items": { +"$ref": "UnitCondition" +}, +"readOnly": true, +"type": "array" +}, +"createTime": { +"description": "Output only. The timestamp when the resource was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"dependencies": { +"description": "Optional. Output only. Set of dependencies for this unit. Maximum 10.", +"items": { +"$ref": "UnitDependency" +}, +"readOnly": true, +"type": "array" +}, +"dependents": { +"description": "Optional. Output only. List of Units that depend on this unit. Unit can only be deprovisioned if this list is empty. Maximum 1000.", +"items": { +"$ref": "UnitDependency" +}, +"readOnly": true, +"type": "array" +}, +"etag": { +"description": "Output only. An opaque value that uniquely identifies a version or generation of a resource. It can be used to confirm that the client and server agree on the ordering of a resource being written.", +"readOnly": true, +"type": "string" +}, +"inputVariables": { +"description": "Optional. Output only. Indicates the current input variables deployed by the unit", +"items": { +"$ref": "UnitVariable" +}, +"readOnly": true, +"type": "array" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. The labels on the resource, which can be used for categorization. similar to Kubernetes resource labels.", +"type": "object" +}, +"maintenance": { +"$ref": "MaintenanceSettings", +"description": "Optional. Captures requested directives for performing future maintenance on the unit. This includes a request for the unit to skip maintenance for a period of time and remain pinned to its current release as well as controls for postponing maintenance scheduled in future." +}, +"managementMode": { +"description": "Optional. Immutable. Indicates whether the Unit life cycle is controlled by the user or by the system. Immutable once created.", +"enum": [ +"MANAGEMENT_MODE_UNSPECIFIED", +"MANAGEMENT_MODE_USER", +"MANAGEMENT_MODE_SYSTEM" +], +"enumDescriptions": [ +"", +"Unit's lifecycle is managed by the user.", +"The system will decide when to deprovision and delete the unit. User still can deprovision or delete the unit manually." +], +"type": "string" +}, +"name": { +"description": "Identifier. The resource name (full URI of the resource) following the standard naming scheme: \"projects/{project}/locations/{location}/units/{unit}\"", +"type": "string" +}, +"ongoingOperations": { +"description": "Optional. Output only. List of concurrent UnitOperations that are operating on this Unit.", +"items": { +"type": "string" +}, +"readOnly": true, +"type": "array" +}, +"outputVariables": { +"description": "Optional. Output only. Set of key/value pairs corresponding to output variables from execution of actuation templates. The variables are declared in actuation configs (e.g in helm chart or terraform) and the values are fetched and returned by the actuation engine upon completion of execution.", +"items": { +"$ref": "UnitVariable" +}, +"readOnly": true, +"type": "array" +}, +"pendingOperations": { +"description": "Optional. Output only. List of pending (wait to be executed) UnitOperations for this unit.", +"items": { +"type": "string" +}, +"readOnly": true, +"type": "array" +}, +"release": { +"description": "Optional. Output only. The current Release object for this Unit.", +"readOnly": true, +"type": "string" +}, +"scheduledOperations": { +"description": "Optional. Output only. List of scheduled UnitOperations for this unit.", +"items": { +"type": "string" +}, +"readOnly": true, +"type": "array" +}, +"state": { +"description": "Optional. Output only. Current lifecycle state of the resource (e.g. if it's being created or ready to use).", +"enum": [ +"UNIT_STATE_UNSPECIFIED", +"UNIT_STATE_NOT_PROVISIONED", +"UNIT_STATE_PROVISIONING", +"UNIT_STATE_UPDATING", +"UNIT_STATE_DEPROVISIONING", +"UNIT_STATE_READY", +"UNIT_STATE_ERROR" +], +"enumDescriptions": [ +"Unspecified state.", +"Unit is not provisioned.", +"Unit is being provisioned.", +"Unit is being updated. This is typically when a unit is being upgraded to a new release or some of the input variables on the Unit is being changed. Certain kinds of updates may cause the Unit to become unusable while the update is in progress.", +"Unit is being deleted.", +"Unit has been provisioned and is ready for use", +"Unit has error, when it is not ready and some error operation" +], +"readOnly": true, +"type": "string" +}, +"systemCleanupAt": { +"description": "Optional. Output only. If set, indicates the time when the system will start removing the unit.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"systemManagedState": { +"description": "Optional. Output only. Indicates the system managed state of the unit.", +"enum": [ +"SYSTEM_MANAGED_STATE_UNSPECIFIED", +"SYSTEM_MANAGED_STATE_ACTIVE", +"SYSTEM_MANAGED_STATE_INACTIVE", +"SYSTEM_MANAGED_STATE_DECOMMISSIONED" +], +"enumDescriptions": [ +"", +"Unit has dependents attached.", +"Unit has no dependencies attached, but attachment is allowed.", +"Unit has no dependencies attached, and attachment is not allowed." +], +"readOnly": true, +"type": "string" +}, +"tenant": { +"description": "Optional. Reference to the Saas Tenant resource this unit belongs to. This for example informs the maintenance policies to use for scheduling future updates on a unit. (optional and immutable once created)", +"type": "string" +}, +"uid": { +"description": "Output only. The unique identifier of the resource. UID is unique in the time and space for this resource within the scope of the service. It is typically generated by the server on successful creation of a resource and must not be changed. UID is used to uniquely identify resources with resource name reuses. This should be a UUID4.", +"readOnly": true, +"type": "string" +}, +"unitKind": { +"description": "Optional. Reference to the UnitKind this Unit belongs to. Immutable once set.", +"type": "string" +}, +"updateTime": { +"description": "Output only. The timestamp when the resource was last updated. Any change to the resource made by users must refresh this value. Changes to a resource made by the service should refresh this value.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"UnitCondition": { +"description": "UnitCondition describes the status of an Unit. UnitCondition is individual components that contribute to an overall state.", +"id": "UnitCondition", +"properties": { +"lastTransitionTime": { +"description": "Required. Last time the condition transited from one status to another.", +"format": "google-datetime", +"type": "string" +}, +"message": { +"description": "Required. Human readable message indicating details about the last transition.", +"type": "string" +}, +"reason": { +"description": "Required. Brief reason for the condition's last transition.", +"type": "string" +}, +"status": { +"description": "Required. Status of the condition.", +"enum": [ +"STATUS_UNSPECIFIED", +"STATUS_UNKNOWN", +"STATUS_TRUE", +"STATUS_FALSE" +], +"enumDescriptions": [ +"Condition status is unspecified.", +"Condition is unknown.", +"Condition is true.", +"Condition is false." +], +"type": "string" +}, +"type": { +"description": "Required. Type of the condition.", +"enum": [ +"TYPE_UNSPECIFIED", +"TYPE_READY", +"TYPE_UPDATING", +"TYPE_PROVISIONED", +"TYPE_OPERATION_ERROR" +], +"enumDescriptions": [ +"Condition type is unspecified.", +"Condition type is ready.", +"Condition type is updating.", +"Condition type is provisioned.", +"Condition type is operationError. True when the last unit operation fails with a non-ignorable error." +], +"type": "string" +} +}, +"type": "object" +}, +"UnitDependency": { +"description": "Set of dependencies for this unit. Maximum 10.", +"id": "UnitDependency", +"properties": { +"alias": { +"description": "Output only. Alias for the name of the dependency.", +"readOnly": true, +"type": "string" +}, +"unit": { +"description": "Output only. A reference to the Unit object.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"UnitKind": { +"description": "Definition of a Unit. Units belonging to the same UnitKind are managed together; for example they follow the same release model (blueprints, versions etc.) and are typically rolled out together.", +"id": "UnitKind", +"properties": { +"annotations": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. Annotations is an unstructured key-value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: https://kubernetes.io/docs/user-guide/annotations", +"type": "object" +}, +"createTime": { +"description": "Output only. The timestamp when the resource was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"defaultRelease": { +"description": "Optional. A reference to the Release object to use as default for creating new units of this UnitKind (optional). If not specified, a new unit must explicitly reference which release to use for its creation.", +"type": "string" +}, +"dependencies": { +"description": "Optional. Immutable. List of other unit kinds that this release will depend on. Dependencies will be automatically provisioned if not found. Maximum 10.", +"items": { +"$ref": "Dependency" +}, +"type": "array" +}, +"etag": { +"description": "Output only. An opaque value that uniquely identifies a version or generation of a resource. It can be used to confirm that the client and server agree on the ordering of a resource being written.", +"readOnly": true, +"type": "string" +}, +"inputVariableMappings": { +"description": "Optional. List of inputVariables for this release that will either be retrieved from a dependency\u2019s outputVariables, or will be passed on to a dependency\u2019s inputVariables. Maximum 100.", +"items": { +"$ref": "VariableMapping" +}, +"type": "array" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. The labels on the resource, which can be used for categorization. similar to Kubernetes resource labels.", +"type": "object" +}, +"name": { +"description": "Identifier. The resource name (full URI of the resource) following the standard naming scheme: \"projects/{project}/locations/{location}/unitKinds/{unitKind}\"", +"type": "string" +}, +"outputVariableMappings": { +"description": "Optional. List of outputVariables for this unit kind will be passed to this unit's outputVariables. Maximum 100.", +"items": { +"$ref": "VariableMapping" +}, +"type": "array" +}, +"saas": { +"description": "Required. Immutable. A reference to the Saas that defines the product (managed service) that the producer wants to manage with SaaS Runtime. Part of the SaaS Runtime common data model. Immutable once set.", +"type": "string" +}, +"uid": { +"description": "Output only. The unique identifier of the resource. UID is unique in the time and space for this resource within the scope of the service. It is typically generated by the server on successful creation of a resource and must not be changed. UID is used to uniquely identify resources with resource name reuses. This should be a UUID4.", +"readOnly": true, +"type": "string" +}, +"updateTime": { +"description": "Output only. The timestamp when the resource was last updated. Any change to the resource made by users must refresh this value. Changes to a resource made by the service should refresh this value.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"UnitOperation": { +"description": "UnitOperation encapsulates the intent of changing/interacting with the service component represented by the specific Unit. Multiple UnitOperations can be created (requested) and scheduled in the future, however only one will be allowed to execute at a time (that can change in the future for non-mutating operations). UnitOperations allow different actors interacting with the same unit to focus only on the change they have requested. This is a base object that contains the common fields in all unit operations. Next: 22", +"id": "UnitOperation", +"properties": { +"annotations": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. Annotations is an unstructured key-value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: https://kubernetes.io/docs/user-guide/annotations", +"type": "object" +}, +"cancel": { +"description": "Optional. When true, attempt to cancel the operation. Cancellation may fail if the operation is already executing. (Optional)", +"type": "boolean" +}, +"conditions": { +"description": "Optional. Output only. A set of conditions which indicate the various conditions this resource can have.", +"items": { +"$ref": "UnitOperationCondition" +}, +"readOnly": true, +"type": "array" +}, +"createTime": { +"description": "Output only. The timestamp when the resource was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"deleteTime": { +"description": "Output only. The timestamp when the resource was marked for deletion (deletion is an asynchronous operation).", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"deprovision": { +"$ref": "Deprovision" +}, +"engineState": { +"description": "Optional. Output only. The engine state for on-going deployment engine operation(s). This field is opaque for external usage.", +"readOnly": true, +"type": "string" +}, +"errorCategory": { +"description": "Optional. Output only. UnitOperationErrorCategory describe the error category.", +"enum": [ +"UNIT_OPERATION_ERROR_CATEGORY_UNSPECIFIED", +"NOT_APPLICABLE", +"FATAL", +"RETRIABLE", +"IGNORABLE", +"STANDARD" +], +"enumDescriptions": [ +"Unit operation error category is unspecified", +"Unit operation error category is not applicable, or it is not an error", +"Unit operation error category is fatal", +"Unit operation error category is retriable", +"Unit operation error category is ignorable", +"Unit operation error category is standard, counts towards Rollout error budget" +], +"readOnly": true, +"type": "string" +}, +"etag": { +"description": "Output only. An opaque value that uniquely identifies a version or generation of a resource. It can be used to confirm that the client and server agree on the ordering of a resource being written.", +"readOnly": true, +"type": "string" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. The labels on the resource, which can be used for categorization. similar to Kubernetes resource labels.", +"type": "object" +}, +"name": { +"description": "Identifier. The resource name (full URI of the resource) following the standard naming scheme: \"projects/{project}/locations/{location}/unitOperations/{unitOperation}\"", +"type": "string" +}, +"parentUnitOperation": { +"description": "Optional. Reference to parent resource: UnitOperation. If an operation needs to create other operations as part of its workflow, each of the child operations should have this field set to the parent. This can be used for tracing. (Optional)", +"type": "string" +}, +"provision": { +"$ref": "Provision" +}, +"rollout": { +"description": "Optional. Specifies which rollout created this Unit Operation. This cannot be modified and is used for filtering purposes only. If a dependent unit and unit operation are created as part of another unit operation, they will use the same rolloutId.", +"type": "string" +}, +"schedule": { +"$ref": "Schedule", +"description": "Optional. When to schedule this operation." +}, +"state": { +"description": "Optional. Output only. UnitOperationState describes the current state of the unit operation.", +"enum": [ +"UNIT_OPERATION_STATE_UNKNOWN", +"UNIT_OPERATION_STATE_PENDING", +"UNIT_OPERATION_STATE_SCHEDULED", +"UNIT_OPERATION_STATE_RUNNING", +"UNIT_OPERATION_STATE_SUCCEEDED", +"UNIT_OPERATION_STATE_FAILED", +"UNIT_OPERATION_STATE_CANCELLED" +], +"enumDescriptions": [ +"", +"Unit operation is accepted but not ready to run.", +"Unit operation is accepted and scheduled.", +"Unit operation is running.", +"Unit operation has completed successfully.", +"Unit operation has failed.", +"Unit operation was cancelled." +], +"readOnly": true, +"type": "string" +}, +"uid": { +"description": "Output only. The unique identifier of the resource. UID is unique in the time and space for this resource within the scope of the service. It is typically generated by the server on successful creation of a resource and must not be changed. UID is used to uniquely identify resources with resource name reuses. This should be a UUID4.", +"readOnly": true, +"type": "string" +}, +"unit": { +"description": "Required. Immutable. The Unit a given UnitOperation will act upon.", +"type": "string" +}, +"updateTime": { +"description": "Output only. The timestamp when the resource was last updated. Any change to the resource made by users must refresh this value. Changes to a resource made by the service should refresh this value.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"upgrade": { +"$ref": "Upgrade" +} +}, +"type": "object" +}, +"UnitOperationCondition": { +"description": "UnitOperationCondition describes the status of an Unit Operation. UnitOperationCondition is individual components that contribute to an overall state.", +"id": "UnitOperationCondition", +"properties": { +"lastTransitionTime": { +"description": "Required. Last time the condition transited from one status to another.", +"format": "google-datetime", +"type": "string" +}, +"message": { +"description": "Required. Human readable message indicating details about the last transition.", +"type": "string" +}, +"reason": { +"description": "Required. Brief reason for the condition's last transition.", +"type": "string" +}, +"status": { +"description": "Required. Status of the condition.", +"enum": [ +"STATUS_UNSPECIFIED", +"STATUS_UNKNOWN", +"STATUS_TRUE", +"STATUS_FALSE" +], +"enumDescriptions": [ +"Condition status is unspecified.", +"Condition is unknown.", +"Condition is true.", +"Condition is false." +], +"type": "string" +}, +"type": { +"description": "Required. Type of the condition.", +"enum": [ +"TYPE_UNSPECIFIED", +"TYPE_SCHEDULED", +"TYPE_RUNNING", +"TYPE_SUCCEEDED", +"TYPE_CANCELLED", +"TYPE_APP_CREATED", +"TYPE_APP_COMPONENTS_REGISTERED" +], +"enumDescriptions": [ +"Condition type is unspecified.", +"Condition type is scheduled.", +"Condition type is running.", +"Condition type is succeeded.", +"Condition type is cancelled.", +"Indicates if AppHub app has been created.", +"Indicates if services and workloads have been registered with AppHub." +], +"type": "string" +} +}, +"type": "object" +}, +"UnitVariable": { +"description": "UnitVariable describes a parameter for a Unit.", +"id": "UnitVariable", +"properties": { +"type": { +"description": "Optional. Immutable. Name of a supported variable type. Supported types are string, int, bool.", +"enum": [ +"TYPE_UNSPECIFIED", +"STRING", +"INT", +"BOOL" +], +"enumDescriptions": [ +"Variable type is unspecified.", +"Variable type is string.", +"Variable type is int.", +"Variable type is bool." +], +"type": "string" +}, +"value": { +"description": "Optional. String encoded value for the variable.", +"type": "string" +}, +"variable": { +"description": "Required. Immutable. Name of the variable from actuation configs.", +"type": "string" +} +}, +"type": "object" +}, +"Upgrade": { +"description": "Upgrade is the unit operation that upgrades a provisioned unit, which may also include the underlying resources represented by a Unit. Can only execute if the Unit is currently provisioned.", +"id": "Upgrade", +"properties": { +"inputVariables": { +"description": "Optional. Set of input variables. Maximum 100. (optional)", +"items": { +"$ref": "UnitVariable" +}, +"type": "array" +}, +"release": { +"description": "Optional. Reference to the Release object to use for the Unit. (optional).", +"type": "string" +} +}, +"type": "object" +}, +"VariableMapping": { +"description": "Mapping of input variables to their respective output variable for depedenencies", +"id": "VariableMapping", +"properties": { +"from": { +"$ref": "FromMapping", +"description": "Optional. Output variables which will get their values from dependencies" +}, +"to": { +"$ref": "ToMapping", +"description": "Optional. Input variables whose values will be passed on to dependencies." +}, +"variable": { +"description": "Required. name of the variable", +"type": "string" +} +}, +"type": "object" +} +}, +"servicePath": "", +"title": "SaaS Runtime API", +"version": "v1beta1", +"version_module": true +} \ No newline at end of file diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/searchconsole.v1.json b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/searchconsole.v1.json new file mode 100644 index 0000000000000000000000000000000000000000..c6bee136b6819ac983fe7e619cd8f4020cf7ca55 --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/searchconsole.v1.json @@ -0,0 +1,1535 @@ +{ +"auth": { +"oauth2": { +"scopes": { +"https://www.googleapis.com/auth/webmasters": { +"description": "View and manage Search Console data for your verified sites" +}, +"https://www.googleapis.com/auth/webmasters.readonly": { +"description": "View Search Console data for your verified sites" +} +} +} +}, +"basePath": "", +"baseUrl": "https://searchconsole.googleapis.com/", +"batchPath": "batch", +"canonicalName": "Search Console", +"description": "The Search Console API provides access to both Search Console data (verified users only) and to public information on an URL basis (anyone)", +"discoveryVersion": "v1", +"documentationLink": "https://developers.google.com/webmaster-tools/about", +"fullyEncodeReservedExpansion": true, +"icons": { +"x16": "http://www.google.com/images/icons/product/search-16.gif", +"x32": "http://www.google.com/images/icons/product/search-32.gif" +}, +"id": "searchconsole:v1", +"kind": "discovery#restDescription", +"mtlsRootUrl": "https://searchconsole.mtls.googleapis.com/", +"name": "searchconsole", +"ownerDomain": "google.com", +"ownerName": "Google", +"parameters": { +"$.xgafv": { +"description": "V1 error format.", +"enum": [ +"1", +"2" +], +"enumDescriptions": [ +"v1 error format", +"v2 error format" +], +"location": "query", +"type": "string" +}, +"access_token": { +"description": "OAuth access token.", +"location": "query", +"type": "string" +}, +"alt": { +"default": "json", +"description": "Data format for response.", +"enum": [ +"json", +"media", +"proto" +], +"enumDescriptions": [ +"Responses with Content-Type of application/json", +"Media download with context-dependent Content-Type", +"Responses with Content-Type of application/x-protobuf" +], +"location": "query", +"type": "string" +}, +"callback": { +"description": "JSONP", +"location": "query", +"type": "string" +}, +"fields": { +"description": "Selector specifying which fields to include in a partial response.", +"location": "query", +"type": "string" +}, +"key": { +"description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", +"location": "query", +"type": "string" +}, +"oauth_token": { +"description": "OAuth 2.0 token for the current user.", +"location": "query", +"type": "string" +}, +"prettyPrint": { +"default": "true", +"description": "Returns response with indentations and line breaks.", +"location": "query", +"type": "boolean" +}, +"quotaUser": { +"description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.", +"location": "query", +"type": "string" +}, +"uploadType": { +"description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", +"location": "query", +"type": "string" +}, +"upload_protocol": { +"description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", +"location": "query", +"type": "string" +} +}, +"protocol": "rest", +"resources": { +"searchanalytics": { +"methods": { +"query": { +"description": "Query your data with filters and parameters that you define. Returns zero or more rows grouped by the row keys that you define. You must define a date range of one or more days. When date is one of the group by values, any days without data are omitted from the result list. If you need to know which days have data, issue a broad date range query grouped by date for any metric, and see which day rows are returned.", +"flatPath": "webmasters/v3/sites/{siteUrl}/searchAnalytics/query", +"httpMethod": "POST", +"id": "webmasters.searchanalytics.query", +"parameterOrder": [ +"siteUrl" +], +"parameters": { +"siteUrl": { +"description": "The site's URL, including protocol. For example: `http://www.example.com/`.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "webmasters/v3/sites/{siteUrl}/searchAnalytics/query", +"request": { +"$ref": "SearchAnalyticsQueryRequest" +}, +"response": { +"$ref": "SearchAnalyticsQueryResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/webmasters", +"https://www.googleapis.com/auth/webmasters.readonly" +] +} +} +}, +"sitemaps": { +"methods": { +"delete": { +"description": "Deletes a sitemap from the Sitemaps report. Does not stop Google from crawling this sitemap or the URLs that were previously crawled in the deleted sitemap.", +"flatPath": "webmasters/v3/sites/{siteUrl}/sitemaps/{feedpath}", +"httpMethod": "DELETE", +"id": "webmasters.sitemaps.delete", +"parameterOrder": [ +"siteUrl", +"feedpath" +], +"parameters": { +"feedpath": { +"description": "The URL of the actual sitemap. For example: `http://www.example.com/sitemap.xml`.", +"location": "path", +"required": true, +"type": "string" +}, +"siteUrl": { +"description": "The site's URL, including protocol. For example: `http://www.example.com/`.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "webmasters/v3/sites/{siteUrl}/sitemaps/{feedpath}", +"scopes": [ +"https://www.googleapis.com/auth/webmasters" +] +}, +"get": { +"description": "Retrieves information about a specific sitemap.", +"flatPath": "webmasters/v3/sites/{siteUrl}/sitemaps/{feedpath}", +"httpMethod": "GET", +"id": "webmasters.sitemaps.get", +"parameterOrder": [ +"siteUrl", +"feedpath" +], +"parameters": { +"feedpath": { +"description": "The URL of the actual sitemap. For example: `http://www.example.com/sitemap.xml`.", +"location": "path", +"required": true, +"type": "string" +}, +"siteUrl": { +"description": "The site's URL, including protocol. For example: `http://www.example.com/`.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "webmasters/v3/sites/{siteUrl}/sitemaps/{feedpath}", +"response": { +"$ref": "WmxSitemap" +}, +"scopes": [ +"https://www.googleapis.com/auth/webmasters", +"https://www.googleapis.com/auth/webmasters.readonly" +] +}, +"list": { +"description": " Lists the [sitemaps-entries](/webmaster-tools/v3/sitemaps) submitted for this site, or included in the sitemap index file (if `sitemapIndex` is specified in the request).", +"flatPath": "webmasters/v3/sites/{siteUrl}/sitemaps", +"httpMethod": "GET", +"id": "webmasters.sitemaps.list", +"parameterOrder": [ +"siteUrl" +], +"parameters": { +"siteUrl": { +"description": "The site's URL, including protocol. For example: `http://www.example.com/`.", +"location": "path", +"required": true, +"type": "string" +}, +"sitemapIndex": { +"description": " A URL of a site's sitemap index. For example: `http://www.example.com/sitemapindex.xml`.", +"location": "query", +"type": "string" +} +}, +"path": "webmasters/v3/sites/{siteUrl}/sitemaps", +"response": { +"$ref": "SitemapsListResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/webmasters", +"https://www.googleapis.com/auth/webmasters.readonly" +] +}, +"submit": { +"description": "Submits a sitemap for a site.", +"flatPath": "webmasters/v3/sites/{siteUrl}/sitemaps/{feedpath}", +"httpMethod": "PUT", +"id": "webmasters.sitemaps.submit", +"parameterOrder": [ +"siteUrl", +"feedpath" +], +"parameters": { +"feedpath": { +"description": "The URL of the actual sitemap. For example: `http://www.example.com/sitemap.xml`.", +"location": "path", +"required": true, +"type": "string" +}, +"siteUrl": { +"description": "The site's URL, including protocol. For example: `http://www.example.com/`.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "webmasters/v3/sites/{siteUrl}/sitemaps/{feedpath}", +"scopes": [ +"https://www.googleapis.com/auth/webmasters" +] +} +} +}, +"sites": { +"methods": { +"add": { +"description": " Adds a site to the set of the user's sites in Search Console.", +"flatPath": "webmasters/v3/sites/{siteUrl}", +"httpMethod": "PUT", +"id": "webmasters.sites.add", +"parameterOrder": [ +"siteUrl" +], +"parameters": { +"siteUrl": { +"description": "The URL of the site to add.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "webmasters/v3/sites/{siteUrl}", +"scopes": [ +"https://www.googleapis.com/auth/webmasters" +] +}, +"delete": { +"description": " Removes a site from the set of the user's Search Console sites.", +"flatPath": "webmasters/v3/sites/{siteUrl}", +"httpMethod": "DELETE", +"id": "webmasters.sites.delete", +"parameterOrder": [ +"siteUrl" +], +"parameters": { +"siteUrl": { +"description": "The URI of the property as defined in Search Console. **Examples:** `http://www.example.com/` or `sc-domain:example.com`.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "webmasters/v3/sites/{siteUrl}", +"scopes": [ +"https://www.googleapis.com/auth/webmasters" +] +}, +"get": { +"description": " Retrieves information about specific site.", +"flatPath": "webmasters/v3/sites/{siteUrl}", +"httpMethod": "GET", +"id": "webmasters.sites.get", +"parameterOrder": [ +"siteUrl" +], +"parameters": { +"siteUrl": { +"description": "The URI of the property as defined in Search Console. **Examples:** `http://www.example.com/` or `sc-domain:example.com`.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "webmasters/v3/sites/{siteUrl}", +"response": { +"$ref": "WmxSite" +}, +"scopes": [ +"https://www.googleapis.com/auth/webmasters", +"https://www.googleapis.com/auth/webmasters.readonly" +] +}, +"list": { +"description": " Lists the user's Search Console sites.", +"flatPath": "webmasters/v3/sites", +"httpMethod": "GET", +"id": "webmasters.sites.list", +"parameterOrder": [], +"parameters": {}, +"path": "webmasters/v3/sites", +"response": { +"$ref": "SitesListResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/webmasters", +"https://www.googleapis.com/auth/webmasters.readonly" +] +} +} +}, +"urlInspection": { +"resources": { +"index": { +"methods": { +"inspect": { +"description": "Index inspection.", +"flatPath": "v1/urlInspection/index:inspect", +"httpMethod": "POST", +"id": "searchconsole.urlInspection.index.inspect", +"parameterOrder": [], +"parameters": {}, +"path": "v1/urlInspection/index:inspect", +"request": { +"$ref": "InspectUrlIndexRequest" +}, +"response": { +"$ref": "InspectUrlIndexResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/webmasters", +"https://www.googleapis.com/auth/webmasters.readonly" +] +} +} +} +} +}, +"urlTestingTools": { +"resources": { +"mobileFriendlyTest": { +"methods": { +"run": { +"description": "Runs Mobile-Friendly Test for a given URL.", +"flatPath": "v1/urlTestingTools/mobileFriendlyTest:run", +"httpMethod": "POST", +"id": "searchconsole.urlTestingTools.mobileFriendlyTest.run", +"parameterOrder": [], +"parameters": {}, +"path": "v1/urlTestingTools/mobileFriendlyTest:run", +"request": { +"$ref": "RunMobileFriendlyTestRequest" +}, +"response": { +"$ref": "RunMobileFriendlyTestResponse" +} +} +} +} +} +} +}, +"revision": "20250714", +"rootUrl": "https://searchconsole.googleapis.com/", +"schemas": { +"AmpInspectionResult": { +"description": "AMP inspection result of the live page or the current information from Google's index, depending on whether you requested a live inspection or not.", +"id": "AmpInspectionResult", +"properties": { +"ampIndexStatusVerdict": { +"description": "Index status of the AMP URL.", +"enum": [ +"VERDICT_UNSPECIFIED", +"PASS", +"PARTIAL", +"FAIL", +"NEUTRAL" +], +"enumDescriptions": [ +"Unknown verdict.", +"Equivalent to \"Valid\" for the page or item in Search Console.", +"Reserved, no longer in use.", +"Equivalent to \"Error\" or \"Invalid\" for the page or item in Search Console.", +"Equivalent to \"Excluded\" for the page or item in Search Console." +], +"type": "string" +}, +"ampUrl": { +"description": "URL of the AMP that was inspected. If the submitted URL is a desktop page that refers to an AMP version, the AMP version will be inspected.", +"type": "string" +}, +"indexingState": { +"description": "Whether or not the page blocks indexing through a noindex rule.", +"enum": [ +"AMP_INDEXING_STATE_UNSPECIFIED", +"AMP_INDEXING_ALLOWED", +"BLOCKED_DUE_TO_NOINDEX", +"BLOCKED_DUE_TO_EXPIRED_UNAVAILABLE_AFTER" +], +"enumDescriptions": [ +"Unknown indexing status.", +"Indexing allowed.", +"Indexing not allowed, 'noindex' detected.", +"Indexing not allowed, 'unavailable_after' date expired." +], +"type": "string" +}, +"issues": { +"description": "A list of zero or more AMP issues found for the inspected URL.", +"items": { +"$ref": "AmpIssue" +}, +"type": "array" +}, +"lastCrawlTime": { +"description": "Last time this AMP version was crawled by Google. Absent if the URL was never crawled successfully.", +"format": "google-datetime", +"type": "string" +}, +"pageFetchState": { +"description": "Whether or not Google could fetch the AMP.", +"enum": [ +"PAGE_FETCH_STATE_UNSPECIFIED", +"SUCCESSFUL", +"SOFT_404", +"BLOCKED_ROBOTS_TXT", +"NOT_FOUND", +"ACCESS_DENIED", +"SERVER_ERROR", +"REDIRECT_ERROR", +"ACCESS_FORBIDDEN", +"BLOCKED_4XX", +"INTERNAL_CRAWL_ERROR", +"INVALID_URL" +], +"enumDescriptions": [ +"Unknown fetch state.", +"Successful fetch.", +"Soft 404.", +"Blocked by robots.txt.", +"Not found (404).", +"Blocked due to unauthorized request (401).", +"Server error (5xx).", +"Redirection error.", +"Blocked due to access forbidden (403).", +"Blocked due to other 4xx issue (not 403, 404).", +"Internal error.", +"Invalid URL." +], +"type": "string" +}, +"robotsTxtState": { +"description": "Whether or not the page is blocked to Google by a robots.txt rule.", +"enum": [ +"ROBOTS_TXT_STATE_UNSPECIFIED", +"ALLOWED", +"DISALLOWED" +], +"enumDescriptions": [ +"Unknown robots.txt state, typically because the page wasn't fetched or found, or because robots.txt itself couldn't be reached.", +"Crawl allowed by robots.txt.", +"Crawl blocked by robots.txt." +], +"type": "string" +}, +"verdict": { +"description": "The status of the most severe error on the page. If a page has both warnings and errors, the page status is error. Error status means the page cannot be shown in Search results.", +"enum": [ +"VERDICT_UNSPECIFIED", +"PASS", +"PARTIAL", +"FAIL", +"NEUTRAL" +], +"enumDescriptions": [ +"Unknown verdict.", +"Equivalent to \"Valid\" for the page or item in Search Console.", +"Reserved, no longer in use.", +"Equivalent to \"Error\" or \"Invalid\" for the page or item in Search Console.", +"Equivalent to \"Excluded\" for the page or item in Search Console." +], +"type": "string" +} +}, +"type": "object" +}, +"AmpIssue": { +"description": "AMP issue.", +"id": "AmpIssue", +"properties": { +"issueMessage": { +"description": "Brief description of this issue.", +"type": "string" +}, +"severity": { +"description": "Severity of this issue: WARNING or ERROR.", +"enum": [ +"SEVERITY_UNSPECIFIED", +"WARNING", +"ERROR" +], +"enumDescriptions": [ +"Unknown severity.", +"Warning.", +"Error." +], +"type": "string" +} +}, +"type": "object" +}, +"ApiDataRow": { +"id": "ApiDataRow", +"properties": { +"clicks": { +"format": "double", +"type": "number" +}, +"ctr": { +"format": "double", +"type": "number" +}, +"impressions": { +"format": "double", +"type": "number" +}, +"keys": { +"items": { +"type": "string" +}, +"type": "array" +}, +"position": { +"format": "double", +"type": "number" +} +}, +"type": "object" +}, +"ApiDimensionFilter": { +"description": "A filter test to be applied to each row in the data set, where a match can return the row. Filters are string comparisons, and values and dimension names are not case-sensitive. Individual filters are either AND'ed or OR'ed within their parent filter group, according to the group's group type. You do not need to group by a specified dimension to filter against it.", +"id": "ApiDimensionFilter", +"properties": { +"dimension": { +"enum": [ +"QUERY", +"PAGE", +"COUNTRY", +"DEVICE", +"SEARCH_APPEARANCE" +], +"enumDescriptions": [ +"", +"", +"", +"", +"" +], +"type": "string" +}, +"expression": { +"type": "string" +}, +"operator": { +"enum": [ +"EQUALS", +"NOT_EQUALS", +"CONTAINS", +"NOT_CONTAINS", +"INCLUDING_REGEX", +"EXCLUDING_REGEX" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"" +], +"type": "string" +} +}, +"type": "object" +}, +"ApiDimensionFilterGroup": { +"description": "A set of dimension value filters to test against each row. Only rows that pass all filter groups will be returned. All results within a filter group are either AND'ed or OR'ed together, depending on the group type selected. All filter groups are AND'ed together.", +"id": "ApiDimensionFilterGroup", +"properties": { +"filters": { +"items": { +"$ref": "ApiDimensionFilter" +}, +"type": "array" +}, +"groupType": { +"enum": [ +"AND" +], +"enumDescriptions": [ +"" +], +"type": "string" +} +}, +"type": "object" +}, +"BlockedResource": { +"description": "Blocked resource.", +"id": "BlockedResource", +"properties": { +"url": { +"description": "URL of the blocked resource.", +"type": "string" +} +}, +"type": "object" +}, +"DetectedItems": { +"description": "Rich Results items grouped by type.", +"id": "DetectedItems", +"properties": { +"items": { +"description": "List of Rich Results items.", +"items": { +"$ref": "Item" +}, +"type": "array" +}, +"richResultType": { +"description": "Rich Results type", +"type": "string" +} +}, +"type": "object" +}, +"Image": { +"description": "Describe image data.", +"id": "Image", +"properties": { +"data": { +"description": "Image data in format determined by the mime type. Currently, the format will always be \"image/png\", but this might change in the future.", +"format": "byte", +"type": "string" +}, +"mimeType": { +"description": "The mime-type of the image data.", +"type": "string" +} +}, +"type": "object" +}, +"IndexStatusInspectionResult": { +"description": "Results of index status inspection for either the live page or the version in Google's index, depending on whether you requested a live inspection or not. For more information, see the [Index coverage report documentation](https://support.google.com/webmasters/answer/7440203).", +"id": "IndexStatusInspectionResult", +"properties": { +"coverageState": { +"description": "Could Google find and index the page. More details about page indexing appear in 'indexing_state'.", +"type": "string" +}, +"crawledAs": { +"description": "Primary crawler that was used by Google to crawl your site.", +"enum": [ +"CRAWLING_USER_AGENT_UNSPECIFIED", +"DESKTOP", +"MOBILE" +], +"enumDescriptions": [ +"Unknown user agent.", +"Desktop user agent.", +"Mobile user agent." +], +"type": "string" +}, +"googleCanonical": { +"description": "The URL of the page that Google selected as canonical. If the page was not indexed, this field is absent.", +"type": "string" +}, +"indexingState": { +"description": "Whether or not the page blocks indexing through a noindex rule.", +"enum": [ +"INDEXING_STATE_UNSPECIFIED", +"INDEXING_ALLOWED", +"BLOCKED_BY_META_TAG", +"BLOCKED_BY_HTTP_HEADER", +"BLOCKED_BY_ROBOTS_TXT" +], +"enumDescriptions": [ +"Unknown indexing status.", +"Indexing allowed.", +"Indexing not allowed, 'noindex' detected in 'robots' meta tag.", +"Indexing not allowed, 'noindex' detected in 'X-Robots-Tag' http header.", +"Reserved, no longer in use." +], +"type": "string" +}, +"lastCrawlTime": { +"description": "Last time this URL was crawled by Google using the [primary crawler](https://support.google.com/webmasters/answer/7440203#primary_crawler). Absent if the URL was never crawled successfully.", +"format": "google-datetime", +"type": "string" +}, +"pageFetchState": { +"description": "Whether or not Google could retrieve the page from your server. Equivalent to [\"page fetch\"](https://support.google.com/webmasters/answer/9012289#index_coverage) in the URL inspection report.", +"enum": [ +"PAGE_FETCH_STATE_UNSPECIFIED", +"SUCCESSFUL", +"SOFT_404", +"BLOCKED_ROBOTS_TXT", +"NOT_FOUND", +"ACCESS_DENIED", +"SERVER_ERROR", +"REDIRECT_ERROR", +"ACCESS_FORBIDDEN", +"BLOCKED_4XX", +"INTERNAL_CRAWL_ERROR", +"INVALID_URL" +], +"enumDescriptions": [ +"Unknown fetch state.", +"Successful fetch.", +"Soft 404.", +"Blocked by robots.txt.", +"Not found (404).", +"Blocked due to unauthorized request (401).", +"Server error (5xx).", +"Redirection error.", +"Blocked due to access forbidden (403).", +"Blocked due to other 4xx issue (not 403, 404).", +"Internal error.", +"Invalid URL." +], +"type": "string" +}, +"referringUrls": { +"description": "URLs that link to the inspected URL, directly and indirectly.", +"items": { +"type": "string" +}, +"type": "array" +}, +"robotsTxtState": { +"description": "Whether or not the page is blocked to Google by a robots.txt rule.", +"enum": [ +"ROBOTS_TXT_STATE_UNSPECIFIED", +"ALLOWED", +"DISALLOWED" +], +"enumDescriptions": [ +"Unknown robots.txt state, typically because the page wasn't fetched or found, or because robots.txt itself couldn't be reached.", +"Crawl allowed by robots.txt.", +"Crawl blocked by robots.txt." +], +"type": "string" +}, +"sitemap": { +"description": "Any sitemaps that this URL was listed in, as known by Google. Not guaranteed to be an exhaustive list, especially if Google did not discover this URL through a sitemap. Absent if no sitemaps were found.", +"items": { +"type": "string" +}, +"type": "array" +}, +"userCanonical": { +"description": "The URL that your page or site [declares as canonical](https://developers.google.com/search/docs/advanced/crawling/consolidate-duplicate-urls?#define-canonical). If you did not declare a canonical URL, this field is absent.", +"type": "string" +}, +"verdict": { +"description": "High level verdict about whether the URL *is* indexed (indexed status), or *can be* indexed (live inspection).", +"enum": [ +"VERDICT_UNSPECIFIED", +"PASS", +"PARTIAL", +"FAIL", +"NEUTRAL" +], +"enumDescriptions": [ +"Unknown verdict.", +"Equivalent to \"Valid\" for the page or item in Search Console.", +"Reserved, no longer in use.", +"Equivalent to \"Error\" or \"Invalid\" for the page or item in Search Console.", +"Equivalent to \"Excluded\" for the page or item in Search Console." +], +"type": "string" +} +}, +"type": "object" +}, +"InspectUrlIndexRequest": { +"description": "Index inspection request.", +"id": "InspectUrlIndexRequest", +"properties": { +"inspectionUrl": { +"description": "Required. URL to inspect. Must be under the property specified in \"site_url\".", +"type": "string" +}, +"languageCode": { +"description": "Optional. An [IETF BCP-47](https://en.wikipedia.org/wiki/IETF_language_tag) language code representing the requested language for translated issue messages, e.g. \"en-US\", \"or \"de-CH\". Default value is \"en-US\".", +"type": "string" +}, +"siteUrl": { +"description": "Required. The URL of the property as defined in Search Console. **Examples:** `http://www.example.com/` for a URL-prefix property, or `sc-domain:example.com` for a Domain property.", +"type": "string" +} +}, +"type": "object" +}, +"InspectUrlIndexResponse": { +"description": "Index-Status inspection response.", +"id": "InspectUrlIndexResponse", +"properties": { +"inspectionResult": { +"$ref": "UrlInspectionResult", +"description": "URL inspection results." +} +}, +"type": "object" +}, +"Item": { +"description": "A specific rich result found on the page.", +"id": "Item", +"properties": { +"issues": { +"description": "A list of zero or more rich result issues found for this instance.", +"items": { +"$ref": "RichResultsIssue" +}, +"type": "array" +}, +"name": { +"description": "The user-provided name of this item.", +"type": "string" +} +}, +"type": "object" +}, +"Metadata": { +"description": "An object that may be returned with your query results, providing context about the state of the data. When you request recent data (using `all` or `hourly_all` for `dataState`), some of the rows returned may represent data that is incomplete, which means that the data is still being collected and processed. This metadata object helps you identify exactly when this starts and ends. All dates and times provided in this object are in the `America/Los_Angeles` time zone. The specific field returned within this object depends on how you've grouped your data in the request. See details in inner fields.", +"id": "Metadata", +"properties": { +"firstIncompleteDate": { +"description": "The first date for which the data is still being collected and processed, presented in `YYYY-MM-DD` format (ISO-8601 extended local date format). This field is populated only when the request's `dataState` is \"`all`\", data is grouped by \"`DATE`\", and the requested date range contains incomplete data points. All values after the `first_incomplete_date` may still change noticeably.", +"type": "string" +}, +"firstIncompleteHour": { +"description": "The first hour for which the data is still being collected and processed, presented in `YYYY-MM-DDThh:mm:ss[+|-]hh:mm` format (ISO-8601 extended offset date-time format). This field is populated only when the request's `dataState` is \"`hourly_all`\", data is grouped by \"`HOUR`\" and the requested date range contains incomplete data points. All values after the `first_incomplete_hour` may still change noticeably.", +"type": "string" +} +}, +"type": "object" +}, +"MobileFriendlyIssue": { +"description": "Mobile-friendly issue.", +"id": "MobileFriendlyIssue", +"properties": { +"rule": { +"description": "Rule violated.", +"enum": [ +"MOBILE_FRIENDLY_RULE_UNSPECIFIED", +"USES_INCOMPATIBLE_PLUGINS", +"CONFIGURE_VIEWPORT", +"FIXED_WIDTH_VIEWPORT", +"SIZE_CONTENT_TO_VIEWPORT", +"USE_LEGIBLE_FONT_SIZES", +"TAP_TARGETS_TOO_CLOSE" +], +"enumDescriptions": [ +"Unknown rule. Sorry, we don't have any description for the rule that was broken.", +"Plugins incompatible with mobile devices are being used. [Learn more] (https://support.google.com/webmasters/answer/6352293#flash_usage).", +"Viewport is not specified using the meta viewport tag. [Learn more] (https://support.google.com/webmasters/answer/6352293#viewport_not_configured).", +"Viewport defined to a fixed width. [Learn more] (https://support.google.com/webmasters/answer/6352293#fixed-width_viewport).", +"Content not sized to viewport. [Learn more] (https://support.google.com/webmasters/answer/6352293#content_not_sized_to_viewport).", +"Font size is too small for easy reading on a small screen. [Learn More] (https://support.google.com/webmasters/answer/6352293#small_font_size).", +"Touch elements are too close to each other. [Learn more] (https://support.google.com/webmasters/answer/6352293#touch_elements_too_close)." +], +"type": "string" +} +}, +"type": "object" +}, +"MobileUsabilityInspectionResult": { +"description": "Mobile-usability inspection results.", +"id": "MobileUsabilityInspectionResult", +"properties": { +"issues": { +"description": "A list of zero or more mobile-usability issues detected for this URL.", +"items": { +"$ref": "MobileUsabilityIssue" +}, +"type": "array" +}, +"verdict": { +"description": "High-level mobile-usability inspection result for this URL.", +"enum": [ +"VERDICT_UNSPECIFIED", +"PASS", +"PARTIAL", +"FAIL", +"NEUTRAL" +], +"enumDescriptions": [ +"Unknown verdict.", +"Equivalent to \"Valid\" for the page or item in Search Console.", +"Reserved, no longer in use.", +"Equivalent to \"Error\" or \"Invalid\" for the page or item in Search Console.", +"Equivalent to \"Excluded\" for the page or item in Search Console." +], +"type": "string" +} +}, +"type": "object" +}, +"MobileUsabilityIssue": { +"description": "Mobile-usability issue.", +"id": "MobileUsabilityIssue", +"properties": { +"issueType": { +"description": "Mobile-usability issue type.", +"enum": [ +"MOBILE_USABILITY_ISSUE_TYPE_UNSPECIFIED", +"USES_INCOMPATIBLE_PLUGINS", +"CONFIGURE_VIEWPORT", +"FIXED_WIDTH_VIEWPORT", +"SIZE_CONTENT_TO_VIEWPORT", +"USE_LEGIBLE_FONT_SIZES", +"TAP_TARGETS_TOO_CLOSE" +], +"enumDescriptions": [ +"Unknown issue. Sorry, we don't have any description for the rule that was broken.", +"Plugins incompatible with mobile devices are being used. [Learn more] (https://support.google.com/webmasters/answer/6352293#flash_usage#error-list).", +"Viewport is not specified using the meta viewport tag. [Learn more] (https://support.google.com/webmasters/answer/6352293#viewport_not_configured#error-list).", +"Viewport defined to a fixed width. [Learn more] (https://support.google.com/webmasters/answer/6352293#fixed-width_viewport#error-list).", +"Content not sized to viewport. [Learn more] (https://support.google.com/webmasters/answer/6352293#content_not_sized_to_viewport#error-list).", +"Font size is too small for easy reading on a small screen. [Learn More] (https://support.google.com/webmasters/answer/6352293#small_font_size#error-list).", +"Touch elements are too close to each other. [Learn more] (https://support.google.com/webmasters/answer/6352293#touch_elements_too_close#error-list)." +], +"type": "string" +}, +"message": { +"description": "Additional information regarding the issue.", +"type": "string" +}, +"severity": { +"description": "Not returned; reserved for future use.", +"enum": [ +"SEVERITY_UNSPECIFIED", +"WARNING", +"ERROR" +], +"enumDescriptions": [ +"Unknown severity.", +"Warning.", +"Error." +], +"type": "string" +} +}, +"type": "object" +}, +"ResourceIssue": { +"description": "Information about a resource with issue.", +"id": "ResourceIssue", +"properties": { +"blockedResource": { +"$ref": "BlockedResource", +"description": "Describes a blocked resource issue." +} +}, +"type": "object" +}, +"RichResultsInspectionResult": { +"description": "Rich-Results inspection result, including any rich results found at this URL.", +"id": "RichResultsInspectionResult", +"properties": { +"detectedItems": { +"description": "A list of zero or more rich results detected on this page. Rich results that cannot even be parsed due to syntactic issues will not be listed here.", +"items": { +"$ref": "DetectedItems" +}, +"type": "array" +}, +"verdict": { +"description": "High-level rich results inspection result for this URL.", +"enum": [ +"VERDICT_UNSPECIFIED", +"PASS", +"PARTIAL", +"FAIL", +"NEUTRAL" +], +"enumDescriptions": [ +"Unknown verdict.", +"Equivalent to \"Valid\" for the page or item in Search Console.", +"Reserved, no longer in use.", +"Equivalent to \"Error\" or \"Invalid\" for the page or item in Search Console.", +"Equivalent to \"Excluded\" for the page or item in Search Console." +], +"type": "string" +} +}, +"type": "object" +}, +"RichResultsIssue": { +"description": "Severity and status of a single issue affecting a single rich result instance on a page.", +"id": "RichResultsIssue", +"properties": { +"issueMessage": { +"description": "Rich Results issue type.", +"type": "string" +}, +"severity": { +"description": "Severity of this issue: WARNING, or ERROR. Items with an issue of status ERROR cannot appear with rich result features in Google Search results.", +"enum": [ +"SEVERITY_UNSPECIFIED", +"WARNING", +"ERROR" +], +"enumDescriptions": [ +"Unknown severity.", +"Warning.", +"Error." +], +"type": "string" +} +}, +"type": "object" +}, +"RunMobileFriendlyTestRequest": { +"description": "Mobile-friendly test request.", +"id": "RunMobileFriendlyTestRequest", +"properties": { +"requestScreenshot": { +"description": "Whether or not screenshot is requested. Default is false.", +"type": "boolean" +}, +"url": { +"description": "URL for inspection.", +"type": "string" +} +}, +"type": "object" +}, +"RunMobileFriendlyTestResponse": { +"description": "Mobile-friendly test response, including mobile-friendly issues and resource issues.", +"id": "RunMobileFriendlyTestResponse", +"properties": { +"mobileFriendliness": { +"description": "Test verdict, whether the page is mobile friendly or not.", +"enum": [ +"MOBILE_FRIENDLY_TEST_RESULT_UNSPECIFIED", +"MOBILE_FRIENDLY", +"NOT_MOBILE_FRIENDLY" +], +"enumDescriptions": [ +"Internal error when running this test. Please try running the test again.", +"The page is mobile friendly.", +"The page is not mobile friendly." +], +"type": "string" +}, +"mobileFriendlyIssues": { +"description": "List of mobile-usability issues.", +"items": { +"$ref": "MobileFriendlyIssue" +}, +"type": "array" +}, +"resourceIssues": { +"description": "Information about embedded resources issues.", +"items": { +"$ref": "ResourceIssue" +}, +"type": "array" +}, +"screenshot": { +"$ref": "Image", +"description": "Screenshot of the requested URL." +}, +"testStatus": { +"$ref": "TestStatus", +"description": "Final state of the test, can be either complete or an error." +} +}, +"type": "object" +}, +"SearchAnalyticsQueryRequest": { +"id": "SearchAnalyticsQueryRequest", +"properties": { +"aggregationType": { +"description": "[Optional; Default is \\\"auto\\\"] How data is aggregated. If aggregated by property, all data for the same property is aggregated; if aggregated by page, all data is aggregated by canonical URI. If you filter or group by page, choose AUTO; otherwise you can aggregate either by property or by page, depending on how you want your data calculated; see the help documentation to learn how data is calculated differently by site versus by page. **Note:** If you group or filter by page, you cannot aggregate by property. If you specify any value other than AUTO, the aggregation type in the result will match the requested type, or if you request an invalid type, you will get an error. The API will never change your aggregation type if the requested type is invalid.", +"enum": [ +"AUTO", +"BY_PROPERTY", +"BY_PAGE", +"BY_NEWS_SHOWCASE_PANEL" +], +"enumDescriptions": [ +"", +"", +"", +"" +], +"type": "string" +}, +"dataState": { +"description": "The data state to be fetched, can be full or all, the latter including full and partial data.", +"enum": [ +"DATA_STATE_UNSPECIFIED", +"FINAL", +"ALL", +"HOURLY_ALL" +], +"enumDescriptions": [ +"Default value, should not be used.", +"Include full final data only, without partial.", +"Include all data, full and partial.", +"Include hourly data, full and partial. Required when grouping by HOUR." +], +"type": "string" +}, +"dimensionFilterGroups": { +"description": "[Optional] Zero or more filters to apply to the dimension grouping values; for example, 'query contains \\\"buy\\\"' to see only data where the query string contains the substring \\\"buy\\\" (not case-sensitive). You can filter by a dimension without grouping by it.", +"items": { +"$ref": "ApiDimensionFilterGroup" +}, +"type": "array" +}, +"dimensions": { +"description": "[Optional] Zero or more dimensions to group results by. Dimensions are the group-by values in the Search Analytics page. Dimensions are combined to create a unique row key for each row. Results are grouped in the order that you supply these dimensions.", +"items": { +"enum": [ +"DATE", +"QUERY", +"PAGE", +"COUNTRY", +"DEVICE", +"SEARCH_APPEARANCE", +"HOUR" +], +"enumDescriptions": [ +"Group by date, which is returned in YYYY-MM-DD format, in PT time (UTC - 7:00/8:00).", +"Group by query string.", +"Group by page, a URI string.", +"Group by country, specified by 3-letter country code ([ISO 3166-1 alpha-3](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-3)).", +"Group by device type (DESKTOP, MOBILE and TABLET).", +"Group by search result feature.", +"Group by hour, which is returned in YYYY-MM-DDThh:mm:ss[+|-]hh:mm format (ISO-8601 extended offset date-time format) in PT time (UTC - 7:00/8:00). Data is available up to 10 days. Requires setting the dataState to HOURLY_ALL." +], +"type": "string" +}, +"type": "array" +}, +"endDate": { +"description": "[Required] End date of the requested date range, in YYYY-MM-DD format, in PST (UTC - 8:00). Must be greater than or equal to the start date. This value is included in the range.", +"type": "string" +}, +"rowLimit": { +"description": "[Optional; Default is 1000] The maximum number of rows to return. Must be a number from 1 to 25,000 (inclusive).", +"format": "int32", +"type": "integer" +}, +"searchType": { +"description": "[Optional; Default is \\\"web\\\"] The search type to filter for.", +"enum": [ +"WEB", +"IMAGE", +"VIDEO", +"NEWS", +"DISCOVER", +"GOOGLE_NEWS" +], +"enumDescriptions": [ +"", +"", +"", +"News tab in search.", +"Discover.", +"Google News (news.google.com or mobile app)." +], +"type": "string" +}, +"startDate": { +"description": " [Required] Start date of the requested date range, in YYYY-MM-DD format, in PST time (UTC - 8:00). Must be less than or equal to the end date. This value is included in the range.", +"type": "string" +}, +"startRow": { +"description": "[Optional; Default is 0] Zero-based index of the first row in the response. Must be a non-negative number.", +"format": "int32", +"type": "integer" +}, +"type": { +"description": "Optional. [Optional; Default is \\\"web\\\"] Type of report: search type, or either Discover or Gnews.", +"enum": [ +"WEB", +"IMAGE", +"VIDEO", +"NEWS", +"DISCOVER", +"GOOGLE_NEWS" +], +"enumDescriptions": [ +"", +"", +"", +"News tab in search.", +"Discover.", +"Google News (news.google.com or mobile app)." +], +"type": "string" +} +}, +"type": "object" +}, +"SearchAnalyticsQueryResponse": { +"description": "A list of rows, one per result, grouped by key. Metrics in each row are aggregated for all data grouped by that key either by page or property, as specified by the aggregation type parameter.", +"id": "SearchAnalyticsQueryResponse", +"properties": { +"metadata": { +"$ref": "Metadata", +"description": "An object that may be returned with your query results, providing context about the state of the data. See details in Metadata object documentation." +}, +"responseAggregationType": { +"description": "How the results were aggregated.", +"enum": [ +"AUTO", +"BY_PROPERTY", +"BY_PAGE", +"BY_NEWS_SHOWCASE_PANEL" +], +"enumDescriptions": [ +"", +"", +"", +"" +], +"type": "string" +}, +"rows": { +"description": "A list of rows grouped by the key values in the order given in the query.", +"items": { +"$ref": "ApiDataRow" +}, +"type": "array" +} +}, +"type": "object" +}, +"SitemapsListResponse": { +"description": "List of sitemaps.", +"id": "SitemapsListResponse", +"properties": { +"sitemap": { +"description": "Contains detailed information about a specific URL submitted as a [sitemap](https://support.google.com/webmasters/answer/156184).", +"items": { +"$ref": "WmxSitemap" +}, +"type": "array" +} +}, +"type": "object" +}, +"SitesListResponse": { +"description": "List of sites with access level information.", +"id": "SitesListResponse", +"properties": { +"siteEntry": { +"description": "Contains permission level information about a Search Console site. For more information, see [Permissions in Search Console](https://support.google.com/webmasters/answer/2451999).", +"items": { +"$ref": "WmxSite" +}, +"type": "array" +} +}, +"type": "object" +}, +"TestStatus": { +"description": "Final state of the test, including error details if necessary.", +"id": "TestStatus", +"properties": { +"details": { +"description": "Error details if applicable.", +"type": "string" +}, +"status": { +"description": "Status of the test.", +"enum": [ +"TEST_STATUS_UNSPECIFIED", +"COMPLETE", +"INTERNAL_ERROR", +"PAGE_UNREACHABLE" +], +"enumDescriptions": [ +"Internal error when running this test. Please try running the test again.", +"Inspection has completed without errors.", +"Inspection terminated in an error state. This indicates a problem in Google's infrastructure, not a user error. Please try again later.", +"Google can not access the URL because of a user error such as a robots.txt blockage, a 403 or 500 code etc. Please make sure that the URL provided is accessible by Googlebot and is not password protected." +], +"type": "string" +} +}, +"type": "object" +}, +"UrlInspectionResult": { +"description": "URL inspection result, including all inspection results.", +"id": "UrlInspectionResult", +"properties": { +"ampResult": { +"$ref": "AmpInspectionResult", +"description": "Result of the AMP analysis. Absent if the page is not an AMP page." +}, +"indexStatusResult": { +"$ref": "IndexStatusInspectionResult", +"description": "Result of the index status analysis." +}, +"inspectionResultLink": { +"description": "Link to Search Console URL inspection.", +"type": "string" +}, +"mobileUsabilityResult": { +"$ref": "MobileUsabilityInspectionResult", +"deprecated": true, +"description": "Result of the Mobile usability analysis." +}, +"richResultsResult": { +"$ref": "RichResultsInspectionResult", +"description": "Result of the Rich Results analysis. Absent if there are no rich results found." +} +}, +"type": "object" +}, +"WmxSite": { +"description": "Contains permission level information about a Search Console site. For more information, see [Permissions in Search Console](https://support.google.com/webmasters/answer/2451999).", +"id": "WmxSite", +"properties": { +"permissionLevel": { +"description": "The user's permission level for the site.", +"enum": [ +"SITE_PERMISSION_LEVEL_UNSPECIFIED", +"SITE_OWNER", +"SITE_FULL_USER", +"SITE_RESTRICTED_USER", +"SITE_UNVERIFIED_USER" +], +"enumDescriptions": [ +"", +"Owner has complete access to the site.", +"Full users can access all data, and perform most of the operations.", +"Restricted users can access most of the data, and perform some operations.", +"Unverified user has no access to site's data." +], +"type": "string" +}, +"siteUrl": { +"description": "The URL of the site.", +"type": "string" +} +}, +"type": "object" +}, +"WmxSitemap": { +"description": "Contains detailed information about a specific URL submitted as a [sitemap](https://support.google.com/webmasters/answer/156184).", +"id": "WmxSitemap", +"properties": { +"contents": { +"description": "The various content types in the sitemap.", +"items": { +"$ref": "WmxSitemapContent" +}, +"type": "array" +}, +"errors": { +"description": "Number of errors in the sitemap. These are issues with the sitemap itself that need to be fixed before it can be processed correctly.", +"format": "int64", +"type": "string" +}, +"isPending": { +"description": "If true, the sitemap has not been processed.", +"type": "boolean" +}, +"isSitemapsIndex": { +"description": "If true, the sitemap is a collection of sitemaps.", +"type": "boolean" +}, +"lastDownloaded": { +"description": "Date & time in which this sitemap was last downloaded. Date format is in RFC 3339 format (yyyy-mm-dd).", +"format": "google-datetime", +"type": "string" +}, +"lastSubmitted": { +"description": "Date & time in which this sitemap was submitted. Date format is in RFC 3339 format (yyyy-mm-dd).", +"format": "google-datetime", +"type": "string" +}, +"path": { +"description": "The url of the sitemap.", +"type": "string" +}, +"type": { +"description": "The type of the sitemap. For example: `rssFeed`.", +"enum": [ +"NOT_SITEMAP", +"URL_LIST", +"SITEMAP", +"RSS_FEED", +"ATOM_FEED", +"PATTERN_SITEMAP", +"OCEANFRONT" +], +"enumDeprecated": [ +false, +false, +false, +false, +false, +true, +true +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"Unsupported sitemap types.", +"" +], +"type": "string" +}, +"warnings": { +"description": "Number of warnings for the sitemap. These are generally non-critical issues with URLs in the sitemaps.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"WmxSitemapContent": { +"description": "Information about the various content types in the sitemap.", +"id": "WmxSitemapContent", +"properties": { +"indexed": { +"deprecated": true, +"description": "*Deprecated; do not use.*", +"format": "int64", +"type": "string" +}, +"submitted": { +"description": "The number of URLs in the sitemap (of the content type).", +"format": "int64", +"type": "string" +}, +"type": { +"description": "The specific type of content in this sitemap. For example: `web`.", +"enum": [ +"WEB", +"IMAGE", +"VIDEO", +"NEWS", +"MOBILE", +"ANDROID_APP", +"PATTERN", +"IOS_APP", +"DATA_FEED_ELEMENT" +], +"enumDeprecated": [ +false, +false, +false, +false, +false, +false, +true, +false, +true +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"", +"Unsupported content type.", +"", +"Unsupported content type." +], +"type": "string" +} +}, +"type": "object" +} +}, +"servicePath": "", +"title": "Google Search Console API", +"version": "v1", +"version_module": true +} \ No newline at end of file diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/securesourcemanager.v1.json b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/securesourcemanager.v1.json new file mode 100644 index 0000000000000000000000000000000000000000..96c5489fd2d26f4a57dfb8300e31f4e94e444c94 --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/securesourcemanager.v1.json @@ -0,0 +1,3568 @@ +{ +"auth": { +"oauth2": { +"scopes": { +"https://www.googleapis.com/auth/cloud-platform": { +"description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." +} +} +} +}, +"basePath": "", +"baseUrl": "https://securesourcemanager.googleapis.com/", +"batchPath": "batch", +"canonicalName": "Secure Source Manager", +"description": "Regionally deployed, single-tenant managed source code repository hosted on Google Cloud.", +"discoveryVersion": "v1", +"documentationLink": "https://cloud.google.com/secure-source-manager", +"endpoints": [ +{ +"description": "Regional Endpoint", +"endpointUrl": "https://securesourcemanager.asia-east1.rep.googleapis.com/", +"location": "asia-east1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://securesourcemanager.asia-northeast1.rep.googleapis.com/", +"location": "asia-northeast1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://securesourcemanager.asia-northeast3.rep.googleapis.com/", +"location": "asia-northeast3" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://securesourcemanager.australia-southeast1.rep.googleapis.com/", +"location": "australia-southeast1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://securesourcemanager.europe-west4.rep.googleapis.com/", +"location": "europe-west4" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://securesourcemanager.me-central2.rep.googleapis.com/", +"location": "me-central2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://securesourcemanager.me-west1.rep.googleapis.com/", +"location": "me-west1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://securesourcemanager.northamerica-northeast1.rep.googleapis.com/", +"location": "northamerica-northeast1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://securesourcemanager.us-central1.rep.googleapis.com/", +"location": "us-central1" +} +], +"fullyEncodeReservedExpansion": true, +"icons": { +"x16": "http://www.google.com/images/icons/product/search-16.gif", +"x32": "http://www.google.com/images/icons/product/search-32.gif" +}, +"id": "securesourcemanager:v1", +"kind": "discovery#restDescription", +"mtlsRootUrl": "https://securesourcemanager.mtls.googleapis.com/", +"name": "securesourcemanager", +"ownerDomain": "google.com", +"ownerName": "Google", +"parameters": { +"$.xgafv": { +"description": "V1 error format.", +"enum": [ +"1", +"2" +], +"enumDescriptions": [ +"v1 error format", +"v2 error format" +], +"location": "query", +"type": "string" +}, +"access_token": { +"description": "OAuth access token.", +"location": "query", +"type": "string" +}, +"alt": { +"default": "json", +"description": "Data format for response.", +"enum": [ +"json", +"media", +"proto" +], +"enumDescriptions": [ +"Responses with Content-Type of application/json", +"Media download with context-dependent Content-Type", +"Responses with Content-Type of application/x-protobuf" +], +"location": "query", +"type": "string" +}, +"callback": { +"description": "JSONP", +"location": "query", +"type": "string" +}, +"fields": { +"description": "Selector specifying which fields to include in a partial response.", +"location": "query", +"type": "string" +}, +"key": { +"description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", +"location": "query", +"type": "string" +}, +"oauth_token": { +"description": "OAuth 2.0 token for the current user.", +"location": "query", +"type": "string" +}, +"prettyPrint": { +"default": "true", +"description": "Returns response with indentations and line breaks.", +"location": "query", +"type": "boolean" +}, +"quotaUser": { +"description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.", +"location": "query", +"type": "string" +}, +"uploadType": { +"description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", +"location": "query", +"type": "string" +}, +"upload_protocol": { +"description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", +"location": "query", +"type": "string" +} +}, +"protocol": "rest", +"resources": { +"projects": { +"resources": { +"locations": { +"methods": { +"get": { +"description": "Gets information about a location.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}", +"httpMethod": "GET", +"id": "securesourcemanager.projects.locations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Resource name for the location.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Location" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists information about the supported locations for this service.", +"flatPath": "v1/projects/{projectsId}/locations", +"httpMethod": "GET", +"id": "securesourcemanager.projects.locations.list", +"parameterOrder": [ +"name" +], +"parameters": { +"extraLocationTypes": { +"description": "Optional. A list of extra location types that should be used as conditions for controlling the visibility of the locations.", +"location": "query", +"repeated": true, +"type": "string" +}, +"filter": { +"description": "A filter to narrow down results to a preferred subset. The filtering language accepts strings like `\"displayName=tokyo\"`, and is documented in more detail in [AIP-160](https://google.aip.dev/160).", +"location": "query", +"type": "string" +}, +"name": { +"description": "The resource that owns the locations collection, if applicable.", +"location": "path", +"pattern": "^projects/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The maximum number of results to return. If not set, the service selects a default.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A page token received from the `next_page_token` field in the response. Send that page token to receive the subsequent page.", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}/locations", +"response": { +"$ref": "ListLocationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"instances": { +"methods": { +"create": { +"description": "Creates a new instance in a given project and location.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/instances", +"httpMethod": "POST", +"id": "securesourcemanager.projects.locations.instances.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"instanceId": { +"description": "Required. ID of the instance to be created.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. Value for parent.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+parent}/instances", +"request": { +"$ref": "Instance" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a single instance.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/instances/{instancesId}", +"httpMethod": "DELETE", +"id": "securesourcemanager.projects.locations.instances.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of the resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/instances/[^/]+$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes after the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets details of a single instance.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/instances/{instancesId}", +"httpMethod": "GET", +"id": "securesourcemanager.projects.locations.instances.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of the resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/instances/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Instance" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"getIamPolicy": { +"description": "Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/instances/{instancesId}:getIamPolicy", +"httpMethod": "GET", +"id": "securesourcemanager.projects.locations.instances.getIamPolicy", +"parameterOrder": [ +"resource" +], +"parameters": { +"options.requestedPolicyVersion": { +"description": "Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).", +"format": "int32", +"location": "query", +"type": "integer" +}, +"resource": { +"description": "REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/instances/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+resource}:getIamPolicy", +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists Instances in a given project and location.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/instances", +"httpMethod": "GET", +"id": "securesourcemanager.projects.locations.instances.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Filter for filtering results.", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "Hint for how to order the results.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A token identifying a page of results the server should return.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. Parent value for ListInstancesRequest.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/instances", +"response": { +"$ref": "ListInstancesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"setIamPolicy": { +"description": "Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/instances/{instancesId}:setIamPolicy", +"httpMethod": "POST", +"id": "securesourcemanager.projects.locations.instances.setIamPolicy", +"parameterOrder": [ +"resource" +], +"parameters": { +"resource": { +"description": "REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/instances/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+resource}:setIamPolicy", +"request": { +"$ref": "SetIamPolicyRequest" +}, +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"testIamPermissions": { +"description": "Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may \"fail open\" without warning.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/instances/{instancesId}:testIamPermissions", +"httpMethod": "POST", +"id": "securesourcemanager.projects.locations.instances.testIamPermissions", +"parameterOrder": [ +"resource" +], +"parameters": { +"resource": { +"description": "REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/instances/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+resource}:testIamPermissions", +"request": { +"$ref": "TestIamPermissionsRequest" +}, +"response": { +"$ref": "TestIamPermissionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"operations": { +"methods": { +"cancel": { +"description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}:cancel", +"httpMethod": "POST", +"id": "securesourcemanager.projects.locations.operations.cancel", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be cancelled.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:cancel", +"request": { +"$ref": "CancelOperationRequest" +}, +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}", +"httpMethod": "DELETE", +"id": "securesourcemanager.projects.locations.operations.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be deleted.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}", +"httpMethod": "GET", +"id": "securesourcemanager.projects.locations.operations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/operations", +"httpMethod": "GET", +"id": "securesourcemanager.projects.locations.operations.list", +"parameterOrder": [ +"name" +], +"parameters": { +"filter": { +"description": "The standard list filter.", +"location": "query", +"type": "string" +}, +"name": { +"description": "The name of the operation's parent resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The standard list page size.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The standard list page token.", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}/operations", +"response": { +"$ref": "ListOperationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"repositories": { +"methods": { +"create": { +"description": "Creates a new repository in a given project and location. The Repository.Instance field is required in the request body for requests using the securesourcemanager.googleapis.com endpoint.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/repositories", +"httpMethod": "POST", +"id": "securesourcemanager.projects.locations.repositories.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The project in which to create the repository. Values are of the form `projects/{project_number}/locations/{location_id}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +}, +"repositoryId": { +"description": "Required. The ID to use for the repository, which will become the final component of the repository's resource name. This value should be 4-63 characters, and valid characters are /a-z-/.", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+parent}/repositories", +"request": { +"$ref": "Repository" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a Repository.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/repositories/{repositoriesId}", +"httpMethod": "DELETE", +"id": "securesourcemanager.projects.locations.repositories.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"allowMissing": { +"description": "Optional. If set to true, and the repository is not found, the request will succeed but no action will be taken on the server.", +"location": "query", +"type": "boolean" +}, +"name": { +"description": "Required. Name of the repository to delete. The format is `projects/{project_number}/locations/{location_id}/repositories/{repository_id}`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/repositories/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"fetchBlob": { +"description": "Fetches a blob from a repository.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/repositories/{repositoriesId}:fetchBlob", +"httpMethod": "GET", +"id": "securesourcemanager.projects.locations.repositories.fetchBlob", +"parameterOrder": [ +"repository" +], +"parameters": { +"repository": { +"description": "Required. The format is `projects/{project_number}/locations/{location_id}/repositories/{repository_id}`. Specifies the repository containing the blob.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/repositories/[^/]+$", +"required": true, +"type": "string" +}, +"sha": { +"description": "Required. The SHA-1 hash of the blob to retrieve.", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+repository}:fetchBlob", +"response": { +"$ref": "FetchBlobResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"fetchTree": { +"description": "Fetches a tree from a repository.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/repositories/{repositoriesId}:fetchTree", +"httpMethod": "GET", +"id": "securesourcemanager.projects.locations.repositories.fetchTree", +"parameterOrder": [ +"repository" +], +"parameters": { +"pageSize": { +"description": "Optional. Requested page size. Server may return fewer items than requested. If unspecified, at most 10,000 items will be returned.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. A token identifying a page of results the server should return.", +"location": "query", +"type": "string" +}, +"recursive": { +"description": "Optional. If true, include all subfolders and their files in the response. If false, only the immediate children are returned.", +"location": "query", +"type": "boolean" +}, +"ref": { +"description": "Optional. `ref` can be a SHA-1 hash, a branch name, or a tag. Specifies which tree to fetch. If not specified, the default branch will be used.", +"location": "query", +"type": "string" +}, +"repository": { +"description": "Required. The format is `projects/{project_number}/locations/{location_id}/repositories/{repository_id}`. Specifies the repository to fetch the tree from.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/repositories/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+repository}:fetchTree", +"response": { +"$ref": "FetchTreeResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets metadata of a repository.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/repositories/{repositoriesId}", +"httpMethod": "GET", +"id": "securesourcemanager.projects.locations.repositories.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of the repository to retrieve. The format is `projects/{project_number}/locations/{location_id}/repositories/{repository_id}`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/repositories/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Repository" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"getIamPolicy": { +"description": "Get IAM policy for a repository.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/repositories/{repositoriesId}:getIamPolicy", +"httpMethod": "GET", +"id": "securesourcemanager.projects.locations.repositories.getIamPolicy", +"parameterOrder": [ +"resource" +], +"parameters": { +"options.requestedPolicyVersion": { +"description": "Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).", +"format": "int32", +"location": "query", +"type": "integer" +}, +"resource": { +"description": "REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/repositories/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+resource}:getIamPolicy", +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists Repositories in a given project and location. The instance field is required in the query parameter for requests using the securesourcemanager.googleapis.com endpoint.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/repositories", +"httpMethod": "GET", +"id": "securesourcemanager.projects.locations.repositories.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Optional. Filter results.", +"location": "query", +"type": "string" +}, +"instance": { +"description": "Optional. The name of the instance in which the repository is hosted, formatted as `projects/{project_number}/locations/{location_id}/instances/{instance_id}`. When listing repositories via securesourcemanager.googleapis.com, this field is required. When listing repositories via *.sourcemanager.dev, this field is ignored.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Optional. Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A token identifying a page of results the server should return.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. Parent value for ListRepositoriesRequest.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/repositories", +"response": { +"$ref": "ListRepositoriesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates the metadata of a repository.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/repositories/{repositoriesId}", +"httpMethod": "PATCH", +"id": "securesourcemanager.projects.locations.repositories.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Optional. A unique identifier for a repository. The name should be of the format: `projects/{project}/locations/{location_id}/repositories/{repository_id}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/repositories/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Optional. Field mask is used to specify the fields to be overwritten in the repository resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +}, +"validateOnly": { +"description": "Optional. False by default. If set to true, the request is validated and the user is provided with an expected result, but no actual change is made.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "Repository" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"setIamPolicy": { +"description": "Set IAM policy on a repository.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/repositories/{repositoriesId}:setIamPolicy", +"httpMethod": "POST", +"id": "securesourcemanager.projects.locations.repositories.setIamPolicy", +"parameterOrder": [ +"resource" +], +"parameters": { +"resource": { +"description": "REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/repositories/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+resource}:setIamPolicy", +"request": { +"$ref": "SetIamPolicyRequest" +}, +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"testIamPermissions": { +"description": "Test IAM permissions on a repository. IAM permission checks are not required on this method.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/repositories/{repositoriesId}:testIamPermissions", +"httpMethod": "POST", +"id": "securesourcemanager.projects.locations.repositories.testIamPermissions", +"parameterOrder": [ +"resource" +], +"parameters": { +"resource": { +"description": "REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/repositories/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+resource}:testIamPermissions", +"request": { +"$ref": "TestIamPermissionsRequest" +}, +"response": { +"$ref": "TestIamPermissionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"branchRules": { +"methods": { +"create": { +"description": "CreateBranchRule creates a branch rule in a given repository.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/repositories/{repositoriesId}/branchRules", +"httpMethod": "POST", +"id": "securesourcemanager.projects.locations.repositories.branchRules.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"branchRuleId": { +"location": "query", +"type": "string" +}, +"parent": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/repositories/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/branchRules", +"request": { +"$ref": "BranchRule" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "DeleteBranchRule deletes a branch rule.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/repositories/{repositoriesId}/branchRules/{branchRulesId}", +"httpMethod": "DELETE", +"id": "securesourcemanager.projects.locations.repositories.branchRules.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"allowMissing": { +"description": "Optional. If set to true, and the branch rule is not found, the request will succeed but no action will be taken on the server.", +"location": "query", +"type": "boolean" +}, +"name": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/repositories/[^/]+/branchRules/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "GetBranchRule gets a branch rule.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/repositories/{repositoriesId}/branchRules/{branchRulesId}", +"httpMethod": "GET", +"id": "securesourcemanager.projects.locations.repositories.branchRules.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of the repository to retrieve. The format is `projects/{project}/locations/{location}/repositories/{repository}/branchRules/{branch_rule}`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/repositories/[^/]+/branchRules/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "BranchRule" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "ListBranchRules lists branch rules in a given repository.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/repositories/{repositoriesId}/branchRules", +"httpMethod": "GET", +"id": "securesourcemanager.projects.locations.repositories.branchRules.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"location": "query", +"type": "string" +}, +"parent": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/repositories/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/branchRules", +"response": { +"$ref": "ListBranchRulesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "UpdateBranchRule updates a branch rule.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/repositories/{repositoriesId}/branchRules/{branchRulesId}", +"httpMethod": "PATCH", +"id": "securesourcemanager.projects.locations.repositories.branchRules.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Optional. A unique identifier for a BranchRule. The name should be of the format: `projects/{project}/locations/{location}/repositories/{repository}/branchRules/{branch_rule}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/repositories/[^/]+/branchRules/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Required. Field mask is used to specify the fields to be overwritten in the branchRule resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. The special value \"*\" means full replacement.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +}, +"validateOnly": { +"description": "Optional. If set, validate the request and preview the review, but do not actually post it. (https://google.aip.dev/163, for declarative friendly)", +"location": "query", +"type": "boolean" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "BranchRule" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"hooks": { +"methods": { +"create": { +"description": "Creates a new hook in a given repository.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/repositories/{repositoriesId}/hooks", +"httpMethod": "POST", +"id": "securesourcemanager.projects.locations.repositories.hooks.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"hookId": { +"description": "Required. The ID to use for the hook, which will become the final component of the hook's resource name. This value restricts to lower-case letters, numbers, and hyphen, with the first character a letter, the last a letter or a number, and a 63 character maximum.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The repository in which to create the hook. Values are of the form `projects/{project_number}/locations/{location_id}/repositories/{repository_id}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/repositories/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/hooks", +"request": { +"$ref": "Hook" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a Hook.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/repositories/{repositoriesId}/hooks/{hooksId}", +"httpMethod": "DELETE", +"id": "securesourcemanager.projects.locations.repositories.hooks.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of the hook to delete. The format is `projects/{project_number}/locations/{location_id}/repositories/{repository_id}/hooks/{hook_id}`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/repositories/[^/]+/hooks/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets metadata of a hook.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/repositories/{repositoriesId}/hooks/{hooksId}", +"httpMethod": "GET", +"id": "securesourcemanager.projects.locations.repositories.hooks.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of the hook to retrieve. The format is `projects/{project_number}/locations/{location_id}/repositories/{repository_id}/hooks/{hook_id}`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/repositories/[^/]+/hooks/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Hook" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists hooks in a given repository.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/repositories/{repositoriesId}/hooks", +"httpMethod": "GET", +"id": "securesourcemanager.projects.locations.repositories.hooks.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "Optional. Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. A token identifying a page of results the server should return.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. Parent value for ListHooksRequest.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/repositories/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/hooks", +"response": { +"$ref": "ListHooksResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates the metadata of a hook.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/repositories/{repositoriesId}/hooks/{hooksId}", +"httpMethod": "PATCH", +"id": "securesourcemanager.projects.locations.repositories.hooks.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Identifier. A unique identifier for a Hook. The name should be of the format: `projects/{project}/locations/{location_id}/repositories/{repository_id}/hooks/{hook_id}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/repositories/[^/]+/hooks/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Required. Field mask is used to specify the fields to be overwritten in the hook resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. The special value \"*\" means full replacement.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "Hook" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"issues": { +"methods": { +"close": { +"description": "Closes an issue.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/repositories/{repositoriesId}/issues/{issuesId}:close", +"httpMethod": "POST", +"id": "securesourcemanager.projects.locations.repositories.issues.close", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of the issue to close. The format is `projects/{project_number}/locations/{location_id}/repositories/{repository_id}/issues/{issue_id}`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/repositories/[^/]+/issues/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:close", +"request": { +"$ref": "CloseIssueRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"create": { +"description": "Creates an issue.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/repositories/{repositoriesId}/issues", +"httpMethod": "POST", +"id": "securesourcemanager.projects.locations.repositories.issues.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The repository in which to create the issue. Format: `projects/{project_number}/locations/{location_id}/repositories/{repository_id}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/repositories/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/issues", +"request": { +"$ref": "Issue" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes an issue.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/repositories/{repositoriesId}/issues/{issuesId}", +"httpMethod": "DELETE", +"id": "securesourcemanager.projects.locations.repositories.issues.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"etag": { +"description": "Optional. The current etag of the issue. If the etag is provided and does not match the current etag of the issue, deletion will be blocked and an ABORTED error will be returned.", +"location": "query", +"type": "string" +}, +"name": { +"description": "Required. Name of the issue to delete. The format is `projects/{project_number}/locations/{location_id}/repositories/{repository_id}/issues/{issue_id}`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/repositories/[^/]+/issues/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets an issue.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/repositories/{repositoriesId}/issues/{issuesId}", +"httpMethod": "GET", +"id": "securesourcemanager.projects.locations.repositories.issues.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of the issue to retrieve. The format is `projects/{project}/locations/{location}/repositories/{repository}/issues/{issue_id}`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/repositories/[^/]+/issues/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Issue" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists issues in a repository.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/repositories/{repositoriesId}/issues", +"httpMethod": "GET", +"id": "securesourcemanager.projects.locations.repositories.issues.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Optional. Used to filter the resulting issues list.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Optional. Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. A token identifying a page of results the server should return.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The repository in which to list issues. Format: `projects/{project_number}/locations/{location_id}/repositories/{repository_id}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/repositories/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/issues", +"response": { +"$ref": "ListIssuesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"open": { +"description": "Opens an issue.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/repositories/{repositoriesId}/issues/{issuesId}:open", +"httpMethod": "POST", +"id": "securesourcemanager.projects.locations.repositories.issues.open", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of the issue to open. The format is `projects/{project_number}/locations/{location_id}/repositories/{repository_id}/issues/{issue_id}`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/repositories/[^/]+/issues/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:open", +"request": { +"$ref": "OpenIssueRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates a issue.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/repositories/{repositoriesId}/issues/{issuesId}", +"httpMethod": "PATCH", +"id": "securesourcemanager.projects.locations.repositories.issues.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Identifier. Unique identifier for an issue. The issue id is generated by the server. Format: `projects/{project}/locations/{location}/repositories/{repository}/issues/{issue_id}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/repositories/[^/]+/issues/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Optional. Field mask is used to specify the fields to be overwritten in the issue resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. The special value \"*\" means full replacement.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "Issue" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"issueComments": { +"methods": { +"create": { +"description": "Creates an issue comment.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/repositories/{repositoriesId}/issues/{issuesId}/issueComments", +"httpMethod": "POST", +"id": "securesourcemanager.projects.locations.repositories.issues.issueComments.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The issue in which to create the issue comment. Format: `projects/{project_number}/locations/{location_id}/repositories/{repository_id}/issues/{issue_id}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/repositories/[^/]+/issues/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/issueComments", +"request": { +"$ref": "IssueComment" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes an issue comment.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/repositories/{repositoriesId}/issues/{issuesId}/issueComments/{issueCommentsId}", +"httpMethod": "DELETE", +"id": "securesourcemanager.projects.locations.repositories.issues.issueComments.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of the issue comment to delete. The format is `projects/{project_number}/locations/{location_id}/repositories/{repository_id}/issues/{issue_id}/issueComments/{comment_id}`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/repositories/[^/]+/issues/[^/]+/issueComments/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets an issue comment.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/repositories/{repositoriesId}/issues/{issuesId}/issueComments/{issueCommentsId}", +"httpMethod": "GET", +"id": "securesourcemanager.projects.locations.repositories.issues.issueComments.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of the issue comment to retrieve. The format is `projects/{project}/locations/{location}/repositories/{repository}/issues/{issue_id}/issueComments/{comment_id}`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/repositories/[^/]+/issues/[^/]+/issueComments/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "IssueComment" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists comments in an issue.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/repositories/{repositoriesId}/issues/{issuesId}/issueComments", +"httpMethod": "GET", +"id": "securesourcemanager.projects.locations.repositories.issues.issueComments.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "Optional. Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. A token identifying a page of results the server should return.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The issue in which to list the comments. Format: `projects/{project_number}/locations/{location_id}/repositories/{repository_id}/issues/{issue_id}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/repositories/[^/]+/issues/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/issueComments", +"response": { +"$ref": "ListIssueCommentsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates an issue comment.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/repositories/{repositoriesId}/issues/{issuesId}/issueComments/{issueCommentsId}", +"httpMethod": "PATCH", +"id": "securesourcemanager.projects.locations.repositories.issues.issueComments.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Identifier. Unique identifier for an issue comment. The comment id is generated by the server. Format: `projects/{project}/locations/{location}/repositories/{repository}/issues/{issue}/issueComments/{comment_id}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/repositories/[^/]+/issues/[^/]+/issueComments/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Optional. Field mask is used to specify the fields to be overwritten in the issue comment resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. The special value \"*\" means full replacement.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "IssueComment" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +}, +"pullRequests": { +"methods": { +"close": { +"description": "Closes a pull request without merging.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/repositories/{repositoriesId}/pullRequests/{pullRequestsId}:close", +"httpMethod": "POST", +"id": "securesourcemanager.projects.locations.repositories.pullRequests.close", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The pull request to close. Format: `projects/{project_number}/locations/{location_id}/repositories/{repository_id}/pullRequests/{pull_request_id}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/repositories/[^/]+/pullRequests/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:close", +"request": { +"$ref": "ClosePullRequestRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"create": { +"description": "Creates a pull request.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/repositories/{repositoriesId}/pullRequests", +"httpMethod": "POST", +"id": "securesourcemanager.projects.locations.repositories.pullRequests.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The repository that the pull request is created from. Format: `projects/{project_number}/locations/{location_id}/repositories/{repository_id}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/repositories/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/pullRequests", +"request": { +"$ref": "PullRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets a pull request.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/repositories/{repositoriesId}/pullRequests/{pullRequestsId}", +"httpMethod": "GET", +"id": "securesourcemanager.projects.locations.repositories.pullRequests.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of the pull request to retrieve. The format is `projects/{project}/locations/{location}/repositories/{repository}/pullRequests/{pull_request}`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/repositories/[^/]+/pullRequests/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "PullRequest" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists pull requests in a repository.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/repositories/{repositoriesId}/pullRequests", +"httpMethod": "GET", +"id": "securesourcemanager.projects.locations.repositories.pullRequests.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "Optional. Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. A token identifying a page of results the server should return.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The repository in which to list pull requests. Format: `projects/{project_number}/locations/{location_id}/repositories/{repository_id}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/repositories/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/pullRequests", +"response": { +"$ref": "ListPullRequestsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"listFileDiffs": { +"description": "Lists a pull request's file diffs.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/repositories/{repositoriesId}/pullRequests/{pullRequestsId}:listFileDiffs", +"httpMethod": "GET", +"id": "securesourcemanager.projects.locations.repositories.pullRequests.listFileDiffs", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The pull request to list file diffs for. Format: `projects/{project_number}/locations/{location_id}/repositories/{repository_id}/pullRequests/{pull_request_id}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/repositories/[^/]+/pullRequests/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "Optional. Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. A token identifying a page of results the server should return.", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}:listFileDiffs", +"response": { +"$ref": "ListPullRequestFileDiffsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"merge": { +"description": "Merges a pull request.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/repositories/{repositoriesId}/pullRequests/{pullRequestsId}:merge", +"httpMethod": "POST", +"id": "securesourcemanager.projects.locations.repositories.pullRequests.merge", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The pull request to merge. Format: `projects/{project_number}/locations/{location_id}/repositories/{repository_id}/pullRequests/{pull_request_id}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/repositories/[^/]+/pullRequests/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:merge", +"request": { +"$ref": "MergePullRequestRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"open": { +"description": "Opens a pull request.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/repositories/{repositoriesId}/pullRequests/{pullRequestsId}:open", +"httpMethod": "POST", +"id": "securesourcemanager.projects.locations.repositories.pullRequests.open", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The pull request to open. Format: `projects/{project_number}/locations/{location_id}/repositories/{repository_id}/pullRequests/{pull_request_id}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/repositories/[^/]+/pullRequests/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:open", +"request": { +"$ref": "OpenPullRequestRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates a pull request.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/repositories/{repositoriesId}/pullRequests/{pullRequestsId}", +"httpMethod": "PATCH", +"id": "securesourcemanager.projects.locations.repositories.pullRequests.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Output only. A unique identifier for a PullRequest. The number appended at the end is generated by the server. Format: `projects/{project}/locations/{location}/repositories/{repository}/pullRequests/{pull_request_id}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/repositories/[^/]+/pullRequests/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Optional. Field mask is used to specify the fields to be overwritten in the pull request resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. The special value \"*\" means full replacement.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "PullRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"pullRequestComments": { +"methods": { +"batchCreate": { +"description": "Batch creates pull request comments.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/repositories/{repositoriesId}/pullRequests/{pullRequestsId}/pullRequestComments:batchCreate", +"httpMethod": "POST", +"id": "securesourcemanager.projects.locations.repositories.pullRequests.pullRequestComments.batchCreate", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The pull request in which to create the pull request comments. Format: `projects/{project_number}/locations/{location_id}/repositories/{repository_id}/pullRequests/{pull_request_id}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/repositories/[^/]+/pullRequests/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/pullRequestComments:batchCreate", +"request": { +"$ref": "BatchCreatePullRequestCommentsRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"create": { +"description": "Creates a pull request comment.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/repositories/{repositoriesId}/pullRequests/{pullRequestsId}/pullRequestComments", +"httpMethod": "POST", +"id": "securesourcemanager.projects.locations.repositories.pullRequests.pullRequestComments.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The pull request in which to create the pull request comment. Format: `projects/{project_number}/locations/{location_id}/repositories/{repository_id}/pullRequests/{pull_request_id}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/repositories/[^/]+/pullRequests/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/pullRequestComments", +"request": { +"$ref": "PullRequestComment" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a pull request comment.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/repositories/{repositoriesId}/pullRequests/{pullRequestsId}/pullRequestComments/{pullRequestCommentsId}", +"httpMethod": "DELETE", +"id": "securesourcemanager.projects.locations.repositories.pullRequests.pullRequestComments.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of the pull request comment to delete. The format is `projects/{project_number}/locations/{location_id}/repositories/{repository_id}/pullRequests/{pull_request_id}/pullRequestComments/{comment_id}`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/repositories/[^/]+/pullRequests/[^/]+/pullRequestComments/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets a pull request comment.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/repositories/{repositoriesId}/pullRequests/{pullRequestsId}/pullRequestComments/{pullRequestCommentsId}", +"httpMethod": "GET", +"id": "securesourcemanager.projects.locations.repositories.pullRequests.pullRequestComments.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of the pull request comment to retrieve. The format is `projects/{project_number}/locations/{location_id}/repositories/{repository_id}/pullRequests/{pull_request_id}/pullRequestComments/{comment_id}`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/repositories/[^/]+/pullRequests/[^/]+/pullRequestComments/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "PullRequestComment" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists pull request comments.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/repositories/{repositoriesId}/pullRequests/{pullRequestsId}/pullRequestComments", +"httpMethod": "GET", +"id": "securesourcemanager.projects.locations.repositories.pullRequests.pullRequestComments.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "Optional. Requested page size. If unspecified, at most 100 pull request comments will be returned. The maximum value is 100; values above 100 will be coerced to 100.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. A token identifying a page of results the server should return.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The pull request in which to list pull request comments. Format: `projects/{project_number}/locations/{location_id}/repositories/{repository_id}/pullRequests/{pull_request_id}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/repositories/[^/]+/pullRequests/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/pullRequestComments", +"response": { +"$ref": "ListPullRequestCommentsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates a pull request comment.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/repositories/{repositoriesId}/pullRequests/{pullRequestsId}/pullRequestComments/{pullRequestCommentsId}", +"httpMethod": "PATCH", +"id": "securesourcemanager.projects.locations.repositories.pullRequests.pullRequestComments.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Identifier. Unique identifier for the pull request comment. The comment id is generated by the server. Format: `projects/{project}/locations/{location}/repositories/{repository}/pullRequests/{pull_request}/pullRequestComments/{comment_id}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/repositories/[^/]+/pullRequests/[^/]+/pullRequestComments/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Optional. Field mask is used to specify the fields to be overwritten in the pull request comment resource by the update. Updatable fields are `body`.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "PullRequestComment" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"resolve": { +"description": "Resolves pull request comments.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/repositories/{repositoriesId}/pullRequests/{pullRequestsId}/pullRequestComments:resolve", +"httpMethod": "POST", +"id": "securesourcemanager.projects.locations.repositories.pullRequests.pullRequestComments.resolve", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The pull request in which to resolve the pull request comments. Format: `projects/{project_number}/locations/{location_id}/repositories/{repository_id}/pullRequests/{pull_request_id}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/repositories/[^/]+/pullRequests/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/pullRequestComments:resolve", +"request": { +"$ref": "ResolvePullRequestCommentsRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"unresolve": { +"description": "Unresolves pull request comment.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/repositories/{repositoriesId}/pullRequests/{pullRequestsId}/pullRequestComments:unresolve", +"httpMethod": "POST", +"id": "securesourcemanager.projects.locations.repositories.pullRequests.pullRequestComments.unresolve", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The pull request in which to resolve the pull request comments. Format: `projects/{project_number}/locations/{location_id}/repositories/{repository_id}/pullRequests/{pull_request_id}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/repositories/[^/]+/pullRequests/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/pullRequestComments:unresolve", +"request": { +"$ref": "UnresolvePullRequestCommentsRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +} +} +} +} +} +} +} +}, +"revision": "0", +"rootUrl": "https://securesourcemanager.googleapis.com/", +"schemas": { +"AuditConfig": { +"description": "Specifies the audit configuration for a service. The configuration determines which permission types are logged, and what identities, if any, are exempted from logging. An AuditConfig must have one or more AuditLogConfigs. If there are AuditConfigs for both `allServices` and a specific service, the union of the two AuditConfigs is used for that service: the log_types specified in each AuditConfig are enabled, and the exempted_members in each AuditLogConfig are exempted. Example Policy with multiple AuditConfigs: { \"audit_configs\": [ { \"service\": \"allServices\", \"audit_log_configs\": [ { \"log_type\": \"DATA_READ\", \"exempted_members\": [ \"user:jose@example.com\" ] }, { \"log_type\": \"DATA_WRITE\" }, { \"log_type\": \"ADMIN_READ\" } ] }, { \"service\": \"sampleservice.googleapis.com\", \"audit_log_configs\": [ { \"log_type\": \"DATA_READ\" }, { \"log_type\": \"DATA_WRITE\", \"exempted_members\": [ \"user:aliya@example.com\" ] } ] } ] } For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also exempts `jose@example.com` from DATA_READ logging, and `aliya@example.com` from DATA_WRITE logging.", +"id": "AuditConfig", +"properties": { +"auditLogConfigs": { +"description": "The configuration for logging of each type of permission.", +"items": { +"$ref": "AuditLogConfig" +}, +"type": "array" +}, +"service": { +"description": "Specifies a service that will be enabled for audit logging. For example, `storage.googleapis.com`, `cloudsql.googleapis.com`. `allServices` is a special value that covers all services.", +"type": "string" +} +}, +"type": "object" +}, +"AuditLogConfig": { +"description": "Provides the configuration for logging a type of permissions. Example: { \"audit_log_configs\": [ { \"log_type\": \"DATA_READ\", \"exempted_members\": [ \"user:jose@example.com\" ] }, { \"log_type\": \"DATA_WRITE\" } ] } This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting jose@example.com from DATA_READ logging.", +"id": "AuditLogConfig", +"properties": { +"exemptedMembers": { +"description": "Specifies the identities that do not cause logging for this type of permission. Follows the same format of Binding.members.", +"items": { +"type": "string" +}, +"type": "array" +}, +"logType": { +"description": "The log type that this config enables.", +"enum": [ +"LOG_TYPE_UNSPECIFIED", +"ADMIN_READ", +"DATA_WRITE", +"DATA_READ" +], +"enumDescriptions": [ +"Default case. Should never be this.", +"Admin reads. Example: CloudIAM getIamPolicy", +"Data writes. Example: CloudSQL Users create", +"Data reads. Example: CloudSQL Users list" +], +"type": "string" +} +}, +"type": "object" +}, +"BatchCreatePullRequestCommentsRequest": { +"description": "The request to batch create pull request comments.", +"id": "BatchCreatePullRequestCommentsRequest", +"properties": { +"requests": { +"description": "Required. The request message specifying the resources to create. There should be exactly one CreatePullRequestCommentRequest with CommentDetail being REVIEW in the list, and no more than 100 CreatePullRequestCommentRequests with CommentDetail being CODE in the list", +"items": { +"$ref": "CreatePullRequestCommentRequest" +}, +"type": "array" +} +}, +"type": "object" +}, +"Binding": { +"description": "Associates `members`, or principals, with a `role`.", +"id": "Binding", +"properties": { +"condition": { +"$ref": "Expr", +"description": "The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies)." +}, +"members": { +"description": "Specifies the principals requesting access for a Google Cloud resource. `members` can have the following values: * `allUsers`: A special identifier that represents anyone who is on the internet; with or without a Google account. * `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service account. Does not include identities that come from external identity providers (IdPs) through identity federation. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `group:{emailid}`: An email address that represents a Google group. For example, `admins@example.com`. * `domain:{domain}`: The G Suite domain (primary) that represents all the users of that domain. For example, `google.com` or `example.com`. * `principal://iam.googleapis.com/locations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}`: A single identity in a workforce identity pool. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/group/{group_id}`: All workforce identities in a group. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/attribute.{attribute_name}/{attribute_value}`: All workforce identities with a specific attribute value. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/*`: All identities in a workforce identity pool. * `principal://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/subject/{subject_attribute_value}`: A single identity in a workload identity pool. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/group/{group_id}`: A workload identity pool group. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/attribute.{attribute_name}/{attribute_value}`: All identities in a workload identity pool with a certain attribute. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/*`: All identities in a workload identity pool. * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a user that has been recently deleted. For example, `alice@example.com?uid=123456789012345678901`. If the user is recovered, this value reverts to `user:{emailid}` and the recovered user retains the role in the binding. * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a service account that has been recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the service account is undeleted, this value reverts to `serviceAccount:{emailid}` and the undeleted service account retains the role in the binding. * `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a Google group that has been recently deleted. For example, `admins@example.com?uid=123456789012345678901`. If the group is recovered, this value reverts to `group:{emailid}` and the recovered group retains the role in the binding. * `deleted:principal://iam.googleapis.com/locations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}`: Deleted single identity in a workforce identity pool. For example, `deleted:principal://iam.googleapis.com/locations/global/workforcePools/my-pool-id/subject/my-subject-attribute-value`.", +"items": { +"type": "string" +}, +"type": "array" +}, +"role": { +"description": "Role that is assigned to the list of `members`, or principals. For example, `roles/viewer`, `roles/editor`, or `roles/owner`. For an overview of the IAM roles and permissions, see the [IAM documentation](https://cloud.google.com/iam/docs/roles-overview). For a list of the available pre-defined roles, see [here](https://cloud.google.com/iam/docs/understanding-roles).", +"type": "string" +} +}, +"type": "object" +}, +"Branch": { +"description": "Branch represents a branch involved in a pull request.", +"id": "Branch", +"properties": { +"ref": { +"description": "Required. Name of the branch.", +"type": "string" +}, +"sha": { +"description": "Output only. The commit at the tip of the branch.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"BranchRule": { +"description": "Metadata of a BranchRule. BranchRule is the protection rule to enforce pre-defined rules on designated branches within a repository.", +"id": "BranchRule", +"properties": { +"allowStaleReviews": { +"description": "Optional. Determines if allow stale reviews or approvals before merging to the branch.", +"type": "boolean" +}, +"annotations": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. User annotations. These attributes can only be set and used by the user. See https://google.aip.dev/128#annotations for more details such as format and size limitations.", +"type": "object" +}, +"createTime": { +"description": "Output only. Create timestamp.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"disabled": { +"description": "Optional. Determines if the branch rule is disabled or not.", +"type": "boolean" +}, +"etag": { +"description": "Optional. This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.", +"type": "string" +}, +"includePattern": { +"description": "Optional. The pattern of the branch that can match to this BranchRule. Specified as regex. .* for all branches. Examples: main, (main|release.*). Current MVP phase only support `.*` for wildcard.", +"type": "string" +}, +"minimumApprovalsCount": { +"description": "Optional. The minimum number of approvals required for the branch rule to be matched.", +"format": "int32", +"type": "integer" +}, +"minimumReviewsCount": { +"description": "Optional. The minimum number of reviews required for the branch rule to be matched.", +"format": "int32", +"type": "integer" +}, +"name": { +"description": "Optional. A unique identifier for a BranchRule. The name should be of the format: `projects/{project}/locations/{location}/repositories/{repository}/branchRules/{branch_rule}`", +"type": "string" +}, +"requireCommentsResolved": { +"description": "Optional. Determines if require comments resolved before merging to the branch.", +"type": "boolean" +}, +"requireLinearHistory": { +"description": "Optional. Determines if require linear history before merging to the branch.", +"type": "boolean" +}, +"requirePullRequest": { +"description": "Optional. Determines if the branch rule requires a pull request or not.", +"type": "boolean" +}, +"requiredStatusChecks": { +"description": "Optional. List of required status checks before merging to the branch.", +"items": { +"$ref": "Check" +}, +"type": "array" +}, +"uid": { +"description": "Output only. Unique identifier of the repository.", +"readOnly": true, +"type": "string" +}, +"updateTime": { +"description": "Output only. Update timestamp.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"CancelOperationRequest": { +"description": "The request message for Operations.CancelOperation.", +"id": "CancelOperationRequest", +"properties": {}, +"type": "object" +}, +"Check": { +"description": "Check is a type for status check.", +"id": "Check", +"properties": { +"context": { +"description": "Required. The context of the check.", +"type": "string" +} +}, +"type": "object" +}, +"CloseIssueRequest": { +"description": "The request to close an issue.", +"id": "CloseIssueRequest", +"properties": { +"etag": { +"description": "Optional. The current etag of the issue. If the etag is provided and does not match the current etag of the issue, closing will be blocked and an ABORTED error will be returned.", +"type": "string" +} +}, +"type": "object" +}, +"ClosePullRequestRequest": { +"description": "ClosePullRequestRequest is the request to close a pull request.", +"id": "ClosePullRequestRequest", +"properties": {}, +"type": "object" +}, +"Code": { +"description": "The comment on a code line.", +"id": "Code", +"properties": { +"body": { +"description": "Required. The comment body.", +"type": "string" +}, +"effectiveCommitSha": { +"description": "Output only. The effective commit sha this code comment is pointing to.", +"readOnly": true, +"type": "string" +}, +"effectiveRootComment": { +"description": "Output only. The root comment of the conversation, derived from the reply field.", +"readOnly": true, +"type": "string" +}, +"position": { +"$ref": "Position", +"description": "Optional. The position of the comment." +}, +"reply": { +"description": "Optional. Input only. The PullRequestComment resource name that this comment is replying to.", +"type": "string" +}, +"resolved": { +"description": "Output only. Boolean indicator if the comment is resolved.", +"readOnly": true, +"type": "boolean" +} +}, +"type": "object" +}, +"Comment": { +"description": "The general pull request comment.", +"id": "Comment", +"properties": { +"body": { +"description": "Required. The comment body.", +"type": "string" +} +}, +"type": "object" +}, +"CreatePullRequestCommentRequest": { +"description": "The request to create a pull request comment.", +"id": "CreatePullRequestCommentRequest", +"properties": { +"parent": { +"description": "Required. The pull request in which to create the pull request comment. Format: `projects/{project_number}/locations/{location_id}/repositories/{repository_id}/pullRequests/{pull_request_id}`", +"type": "string" +}, +"pullRequestComment": { +"$ref": "PullRequestComment", +"description": "Required. The pull request comment to create." +} +}, +"type": "object" +}, +"Empty": { +"description": "A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }", +"id": "Empty", +"properties": {}, +"type": "object" +}, +"Expr": { +"description": "Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: \"Summary size limit\" description: \"Determines if a summary is less than 100 chars\" expression: \"document.summary.size() < 100\" Example (Equality): title: \"Requestor is owner\" description: \"Determines if requestor is the document owner\" expression: \"document.owner == request.auth.claims.email\" Example (Logic): title: \"Public documents\" description: \"Determine whether the document should be publicly visible\" expression: \"document.type != 'private' && document.type != 'internal'\" Example (Data Manipulation): title: \"Notification string\" description: \"Create a notification string with a timestamp.\" expression: \"'New message received at ' + string(document.create_time)\" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information.", +"id": "Expr", +"properties": { +"description": { +"description": "Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI.", +"type": "string" +}, +"expression": { +"description": "Textual representation of an expression in Common Expression Language syntax.", +"type": "string" +}, +"location": { +"description": "Optional. String indicating the location of the expression for error reporting, e.g. a file name and a position in the file.", +"type": "string" +}, +"title": { +"description": "Optional. Title for the expression, i.e. a short string describing its purpose. This can be used e.g. in UIs which allow to enter the expression.", +"type": "string" +} +}, +"type": "object" +}, +"FetchBlobResponse": { +"description": "Response message containing the content of a blob.", +"id": "FetchBlobResponse", +"properties": { +"content": { +"description": "The content of the blob, encoded as base64.", +"type": "string" +}, +"sha": { +"description": "The SHA-1 hash of the blob.", +"type": "string" +} +}, +"type": "object" +}, +"FetchTreeResponse": { +"description": "Response message containing a list of TreeEntry objects.", +"id": "FetchTreeResponse", +"properties": { +"nextPageToken": { +"description": "A token identifying a page of results the server should return.", +"type": "string" +}, +"treeEntries": { +"description": "The list of TreeEntry objects.", +"items": { +"$ref": "TreeEntry" +}, +"type": "array" +} +}, +"type": "object" +}, +"FileDiff": { +"description": "Metadata of a FileDiff. FileDiff represents a single file diff in a pull request.", +"id": "FileDiff", +"properties": { +"action": { +"description": "Output only. The action taken on the file (eg. added, modified, deleted).", +"enum": [ +"ACTION_UNSPECIFIED", +"ADDED", +"MODIFIED", +"DELETED" +], +"enumDescriptions": [ +"Unspecified.", +"The file was added.", +"The file was modified.", +"The file was deleted." +], +"readOnly": true, +"type": "string" +}, +"name": { +"description": "Output only. The name of the file.", +"readOnly": true, +"type": "string" +}, +"patch": { +"description": "Output only. The git patch containing the file changes.", +"readOnly": true, +"type": "string" +}, +"sha": { +"description": "Output only. The commit pointing to the file changes.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"Hook": { +"description": "Metadata of a Secure Source Manager Hook.", +"id": "Hook", +"properties": { +"createTime": { +"description": "Output only. Create timestamp.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"disabled": { +"description": "Optional. Determines if the hook disabled or not. Set to true to stop sending traffic.", +"type": "boolean" +}, +"events": { +"description": "Optional. The events that trigger hook on.", +"items": { +"enum": [ +"UNSPECIFIED", +"PUSH", +"PULL_REQUEST" +], +"enumDescriptions": [ +"Unspecified.", +"Push events are triggered when pushing to the repository.", +"Pull request events are triggered when a pull request is opened, closed, reopened, or edited." +], +"type": "string" +}, +"type": "array" +}, +"name": { +"description": "Identifier. A unique identifier for a Hook. The name should be of the format: `projects/{project}/locations/{location_id}/repositories/{repository_id}/hooks/{hook_id}`", +"type": "string" +}, +"pushOption": { +"$ref": "PushOption", +"description": "Optional. The trigger option for push events." +}, +"sensitiveQueryString": { +"description": "Optional. The sensitive query string to be appended to the target URI.", +"type": "string" +}, +"targetUri": { +"description": "Required. The target URI to which the payloads will be delivered.", +"type": "string" +}, +"uid": { +"description": "Output only. Unique identifier of the hook.", +"readOnly": true, +"type": "string" +}, +"updateTime": { +"description": "Output only. Update timestamp.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"HostConfig": { +"description": "HostConfig has different instance endpoints.", +"id": "HostConfig", +"properties": { +"api": { +"description": "Output only. API hostname.", +"readOnly": true, +"type": "string" +}, +"gitHttp": { +"description": "Output only. Git HTTP hostname.", +"readOnly": true, +"type": "string" +}, +"gitSsh": { +"description": "Output only. Git SSH hostname.", +"readOnly": true, +"type": "string" +}, +"html": { +"description": "Output only. HTML hostname.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"InitialConfig": { +"description": "Repository initialization configuration.", +"id": "InitialConfig", +"properties": { +"defaultBranch": { +"description": "Default branch name of the repository.", +"type": "string" +}, +"gitignores": { +"description": "List of gitignore template names user can choose from. Valid values: actionscript, ada, agda, android, anjuta, ansible, appcelerator-titanium, app-engine, archives, arch-linux-packages, atmel-studio, autotools, backup, bazaar, bazel, bitrix, bricx-cc, c, cake-php, calabash, cf-wheels, chef-cookbook, clojure, cloud9, c-make, code-igniter, code-kit, code-sniffer, common-lisp, composer, concrete5, coq, cordova, cpp, craft-cms, cuda, cvs, d, dart, dart-editor, delphi, diff, dm, dreamweaver, dropbox, drupal, drupal-7, eagle, eclipse, eiffel-studio, elisp, elixir, elm, emacs, ensime, epi-server, erlang, esp-idf, espresso, exercism, expression-engine, ext-js, fancy, finale, flex-builder, force-dot-com, fortran, fuel-php, gcov, git-book, gnome-shell-extension, go, godot, gpg, gradle, grails, gwt, haskell, hugo, iar-ewarm, idris, igor-pro, images, infor-cms, java, jboss, jboss-4, jboss-6, jdeveloper, jekyll, jenkins-home, jenv, jet-brains, jigsaw, joomla, julia, jupyter-notebooks, kate, kdevelop4, kentico, ki-cad, kohana, kotlin, lab-view, laravel, lazarus, leiningen, lemon-stand, libre-office, lilypond, linux, lithium, logtalk, lua, lyx, mac-os, magento, magento-1, magento-2, matlab, maven, mercurial, mercury, metals, meta-programming-system, meteor, microsoft-office, model-sim, momentics, mono-develop, nanoc, net-beans, nikola, nim, ninja, node, notepad-pp, nwjs, objective--c, ocaml, octave, opa, open-cart, openssl, oracle-forms, otto, packer, patch, perl, perl6, phalcon, phoenix, pimcore, play-framework, plone, prestashop, processing, psoc-creator, puppet, pure-script, putty, python, qooxdoo, qt, r, racket, rails, raku, red, redcar, redis, rhodes-rhomobile, ros, ruby, rust, sam, sass, sbt, scala, scheme, scons, scrivener, sdcc, seam-gen, sketch-up, slick-edit, smalltalk, snap, splunk, stata, stella, sublime-text, sugar-crm, svn, swift, symfony, symphony-cms, synopsys-vcs, tags, terraform, tex, text-mate, textpattern, think-php, tortoise-git, turbo-gears-2, typo3, umbraco, unity, unreal-engine, vagrant, vim, virtual-env, virtuoso, visual-studio, visual-studio-code, vue, vvvv, waf, web-methods, windows, word-press, xcode, xilinx, xilinx-ise, xojo, yeoman, yii, zend-framework, zephir.", +"items": { +"type": "string" +}, +"type": "array" +}, +"license": { +"description": "License template name user can choose from. Valid values: license-0bsd, license-389-exception, aal, abstyles, adobe-2006, adobe-glyph, adsl, afl-1-1, afl-1-2, afl-2-0, afl-2-1, afl-3-0, afmparse, agpl-1-0, agpl-1-0-only, agpl-1-0-or-later, agpl-3-0-only, agpl-3-0-or-later, aladdin, amdplpa, aml, ampas, antlr-pd, antlr-pd-fallback, apache-1-0, apache-1-1, apache-2-0, apafml, apl-1-0, apsl-1-0, apsl-1-1, apsl-1-2, apsl-2-0, artistic-1-0, artistic-1-0-cl8, artistic-1-0-perl, artistic-2-0, autoconf-exception-2-0, autoconf-exception-3-0, bahyph, barr, beerware, bison-exception-2-2, bittorrent-1-0, bittorrent-1-1, blessing, blueoak-1-0-0, bootloader-exception, borceux, bsd-1-clause, bsd-2-clause, bsd-2-clause-freebsd, bsd-2-clause-netbsd, bsd-2-clause-patent, bsd-2-clause-views, bsd-3-clause, bsd-3-clause-attribution, bsd-3-clause-clear, bsd-3-clause-lbnl, bsd-3-clause-modification, bsd-3-clause-no-nuclear-license, bsd-3-clause-no-nuclear-license-2014, bsd-3-clause-no-nuclear-warranty, bsd-3-clause-open-mpi, bsd-4-clause, bsd-4-clause-shortened, bsd-4-clause-uc, bsd-protection, bsd-source-code, bsl-1-0, busl-1-1, cal-1-0, cal-1-0-combined-work-exception, caldera, catosl-1-1, cc0-1-0, cc-by-1-0, cc-by-2-0, cc-by-3-0, cc-by-3-0-at, cc-by-3-0-us, cc-by-4-0, cc-by-nc-1-0, cc-by-nc-2-0, cc-by-nc-3-0, cc-by-nc-4-0, cc-by-nc-nd-1-0, cc-by-nc-nd-2-0, cc-by-nc-nd-3-0, cc-by-nc-nd-3-0-igo, cc-by-nc-nd-4-0, cc-by-nc-sa-1-0, cc-by-nc-sa-2-0, cc-by-nc-sa-3-0, cc-by-nc-sa-4-0, cc-by-nd-1-0, cc-by-nd-2-0, cc-by-nd-3-0, cc-by-nd-4-0, cc-by-sa-1-0, cc-by-sa-2-0, cc-by-sa-2-0-uk, cc-by-sa-2-1-jp, cc-by-sa-3-0, cc-by-sa-3-0-at, cc-by-sa-4-0, cc-pddc, cddl-1-0, cddl-1-1, cdla-permissive-1-0, cdla-sharing-1-0, cecill-1-0, cecill-1-1, cecill-2-0, cecill-2-1, cecill-b, cecill-c, cern-ohl-1-1, cern-ohl-1-2, cern-ohl-p-2-0, cern-ohl-s-2-0, cern-ohl-w-2-0, clartistic, classpath-exception-2-0, clisp-exception-2-0, cnri-jython, cnri-python, cnri-python-gpl-compatible, condor-1-1, copyleft-next-0-3-0, copyleft-next-0-3-1, cpal-1-0, cpl-1-0, cpol-1-02, crossword, crystal-stacker, cua-opl-1-0, cube, c-uda-1-0, curl, d-fsl-1-0, diffmark, digirule-foss-exception, doc, dotseqn, drl-1-0, dsdp, dvipdfm, ecl-1-0, ecl-2-0, ecos-exception-2-0, efl-1-0, efl-2-0, egenix, entessa, epics, epl-1-0, epl-2-0, erlpl-1-1, etalab-2-0, eu-datagrid, eupl-1-0, eupl-1-1, eupl-1-2, eurosym, fair, fawkes-runtime-exception, fltk-exception, font-exception-2-0, frameworx-1-0, freebsd-doc, freeimage, freertos-exception-2-0, fsfap, fsful, fsfullr, ftl, gcc-exception-2-0, gcc-exception-3-1, gd, gfdl-1-1-invariants-only, gfdl-1-1-invariants-or-later, gfdl-1-1-no-invariants-only, gfdl-1-1-no-invariants-or-later, gfdl-1-1-only, gfdl-1-1-or-later, gfdl-1-2-invariants-only, gfdl-1-2-invariants-or-later, gfdl-1-2-no-invariants-only, gfdl-1-2-no-invariants-or-later, gfdl-1-2-only, gfdl-1-2-or-later, gfdl-1-3-invariants-only, gfdl-1-3-invariants-or-later, gfdl-1-3-no-invariants-only, gfdl-1-3-no-invariants-or-later, gfdl-1-3-only, gfdl-1-3-or-later, giftware, gl2ps, glide, glulxe, glwtpl, gnu-javamail-exception, gnuplot, gpl-1-0-only, gpl-1-0-or-later, gpl-2-0-only, gpl-2-0-or-later, gpl-3-0-linking-exception, gpl-3-0-linking-source-exception, gpl-3-0-only, gpl-3-0-or-later, gpl-cc-1-0, gsoap-1-3b, haskell-report, hippocratic-2-1, hpnd, hpnd-sell-variant, htmltidy, i2p-gpl-java-exception, ibm-pibs, icu, ijg, image-magick, imatix, imlib2, info-zip, intel, intel-acpi, interbase-1-0, ipa, ipl-1-0, isc, jasper-2-0, jpnic, json, lal-1-2, lal-1-3, latex2e, leptonica, lgpl-2-0-only, lgpl-2-0-or-later, lgpl-2-1-only, lgpl-2-1-or-later, lgpl-3-0-linking-exception, lgpl-3-0-only, lgpl-3-0-or-later, lgpllr, libpng, libpng-2-0, libselinux-1-0, libtiff, libtool-exception, liliq-p-1-1, liliq-r-1-1, liliq-rplus-1-1, linux-openib, linux-syscall-note, llvm-exception, lpl-1-0, lpl-1-02, lppl-1-0, lppl-1-1, lppl-1-2, lppl-1-3a, lppl-1-3c, lzma-exception, make-index, mif-exception, miros, mit, mit-0, mit-advertising, mit-cmu, mit-enna, mit-feh, mit-modern-variant, mitnfa, mit-open-group, motosoto, mpich2, mpl-1-0, mpl-1-1, mpl-2-0, mpl-2-0-no-copyleft-exception, ms-pl, ms-rl, mtll, mulanpsl-1-0, mulanpsl-2-0, multics, mup, naist-2003, nasa-1-3, naumen, nbpl-1-0, ncgl-uk-2-0, ncsa, netcdf, net-snmp, newsletr, ngpl, nist-pd, nist-pd-fallback, nlod-1-0, nlpl, nokia, nokia-qt-exception-1-1, nosl, noweb, npl-1-0, npl-1-1, nposl-3-0, nrl, ntp, ntp-0, ocaml-lgpl-linking-exception, occt-exception-1-0, occt-pl, oclc-2-0, odbl-1-0, odc-by-1-0, ofl-1-0, ofl-1-0-no-rfn, ofl-1-0-rfn, ofl-1-1, ofl-1-1-no-rfn, ofl-1-1-rfn, ogc-1-0, ogdl-taiwan-1-0, ogl-canada-2-0, ogl-uk-1-0, ogl-uk-2-0, ogl-uk-3-0, ogtsl, oldap-1-1, oldap-1-2, oldap-1-3, oldap-1-4, oldap-2-0, oldap-2-0-1, oldap-2-1, oldap-2-2, oldap-2-2-1, oldap-2-2-2, oldap-2-3, oldap-2-4, oldap-2-7, oml, openjdk-assembly-exception-1-0, openssl, openvpn-openssl-exception, opl-1-0, oset-pl-2-1, osl-1-0, osl-1-1, osl-2-0, osl-2-1, osl-3-0, o-uda-1-0, parity-6-0-0, parity-7-0-0, pddl-1-0, php-3-0, php-3-01, plexus, polyform-noncommercial-1-0-0, polyform-small-business-1-0-0, postgresql, psf-2-0, psfrag, ps-or-pdf-font-exception-20170817, psutils, python-2-0, qhull, qpl-1-0, qt-gpl-exception-1-0, qt-lgpl-exception-1-1, qwt-exception-1-0, rdisc, rhecos-1-1, rpl-1-1, rpsl-1-0, rsa-md, rscpl, ruby, saxpath, sax-pd, scea, sendmail, sendmail-8-23, sgi-b-1-0, sgi-b-1-1, sgi-b-2-0, shl-0-51, shl-2-0, shl-2-1, simpl-2-0, sissl, sissl-1-2, sleepycat, smlnj, smppl, snia, spencer-86, spencer-94, spencer-99, spl-1-0, ssh-openssh, ssh-short, sspl-1-0, sugarcrm-1-1-3, swift-exception, swl, tapr-ohl-1-0, tcl, tcp-wrappers, tmate, torque-1-1, tosl, tu-berlin-1-0, tu-berlin-2-0, u-boot-exception-2-0, ucl-1-0, unicode-dfs-2015, unicode-dfs-2016, unicode-tou, universal-foss-exception-1-0, unlicense, upl-1-0, vim, vostrom, vsl-1-0, w3c, w3c-19980720, w3c-20150513, watcom-1-0, wsuipa, wtfpl, wxwindows-exception-3-1, x11, xerox, xfree86-1-1, xinetd, xnet, xpp, xskat, ypl-1-0, ypl-1-1, zed, zend-2-0, zimbra-1-3, zimbra-1-4, zlib, zlib-acknowledgement, zpl-1-1, zpl-2-0, zpl-2-1.", +"type": "string" +}, +"readme": { +"description": "README template name. Valid template name(s) are: default.", +"type": "string" +} +}, +"type": "object" +}, +"Instance": { +"description": "A resource that represents a Secure Source Manager instance.", +"id": "Instance", +"properties": { +"createTime": { +"description": "Output only. Create timestamp.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"hostConfig": { +"$ref": "HostConfig", +"description": "Output only. A list of hostnames for this instance.", +"readOnly": true +}, +"kmsKey": { +"description": "Optional. Immutable. Customer-managed encryption key name, in the format projects/*/locations/*/keyRings/*/cryptoKeys/*.", +"type": "string" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. Labels as key value pairs.", +"type": "object" +}, +"name": { +"description": "Optional. A unique identifier for an instance. The name should be of the format: `projects/{project_number}/locations/{location_id}/instances/{instance_id}` `project_number`: Maps to a unique int64 id assigned to each project. `location_id`: Refers to the region where the instance will be deployed. Since Secure Source Manager is a regional service, it must be one of the valid GCP regions. `instance_id`: User provided name for the instance, must be unique for a project_number and location_id combination.", +"type": "string" +}, +"privateConfig": { +"$ref": "PrivateConfig", +"description": "Optional. Private settings for private instance." +}, +"state": { +"description": "Output only. Current state of the instance.", +"enum": [ +"STATE_UNSPECIFIED", +"CREATING", +"ACTIVE", +"DELETING", +"PAUSED", +"UNKNOWN" +], +"enumDescriptions": [ +"Not set. This should only be the case for incoming requests.", +"Instance is being created.", +"Instance is ready.", +"Instance is being deleted.", +"Instance is paused.", +"Instance is unknown, we are not sure if it's functioning." +], +"readOnly": true, +"type": "string" +}, +"stateNote": { +"description": "Output only. An optional field providing information about the current instance state.", +"enum": [ +"STATE_NOTE_UNSPECIFIED", +"PAUSED_CMEK_UNAVAILABLE", +"INSTANCE_RESUMING" +], +"enumDeprecated": [ +false, +false, +true +], +"enumDescriptions": [ +"STATE_NOTE_UNSPECIFIED as the first value of State.", +"CMEK access is unavailable.", +"INSTANCE_RESUMING indicates that the instance was previously paused and is under the process of being brought back." +], +"readOnly": true, +"type": "string" +}, +"updateTime": { +"description": "Output only. Update timestamp.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"workforceIdentityFederationConfig": { +"$ref": "WorkforceIdentityFederationConfig", +"description": "Optional. Configuration for Workforce Identity Federation to support third party identity provider. If unset, defaults to the Google OIDC IdP." +} +}, +"type": "object" +}, +"Issue": { +"description": "Metadata of an Issue.", +"id": "Issue", +"properties": { +"body": { +"description": "Optional. Issue body. Provides a detailed description of the issue.", +"type": "string" +}, +"closeTime": { +"description": "Output only. Close timestamp (if closed). Cleared when is re-opened.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"createTime": { +"description": "Output only. Creation timestamp.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"etag": { +"description": "Optional. This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.", +"type": "string" +}, +"name": { +"description": "Identifier. Unique identifier for an issue. The issue id is generated by the server. Format: `projects/{project}/locations/{location}/repositories/{repository}/issues/{issue_id}`", +"type": "string" +}, +"state": { +"description": "Output only. State of the issue.", +"enum": [ +"STATE_UNSPECIFIED", +"OPEN", +"CLOSED" +], +"enumDescriptions": [ +"Unspecified.", +"An open issue.", +"A closed issue." +], +"readOnly": true, +"type": "string" +}, +"title": { +"description": "Required. Issue title.", +"type": "string" +}, +"updateTime": { +"description": "Output only. Last updated timestamp.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"IssueComment": { +"description": "IssueComment represents a comment on an issue.", +"id": "IssueComment", +"properties": { +"body": { +"description": "Required. The comment body.", +"type": "string" +}, +"createTime": { +"description": "Output only. Creation timestamp.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"name": { +"description": "Identifier. Unique identifier for an issue comment. The comment id is generated by the server. Format: `projects/{project}/locations/{location}/repositories/{repository}/issues/{issue}/issueComments/{comment_id}`", +"type": "string" +}, +"updateTime": { +"description": "Output only. Last updated timestamp.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"ListBranchRulesResponse": { +"description": "ListBranchRulesResponse is the response to listing branchRules.", +"id": "ListBranchRulesResponse", +"properties": { +"branchRules": { +"description": "The list of branch rules.", +"items": { +"$ref": "BranchRule" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A token identifying a page of results the server should return.", +"type": "string" +} +}, +"type": "object" +}, +"ListHooksResponse": { +"description": "ListHooksResponse is response to list hooks.", +"id": "ListHooksResponse", +"properties": { +"hooks": { +"description": "The list of hooks.", +"items": { +"$ref": "Hook" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A token identifying a page of results the server should return.", +"type": "string" +} +}, +"type": "object" +}, +"ListInstancesResponse": { +"id": "ListInstancesResponse", +"properties": { +"instances": { +"description": "The list of instances.", +"items": { +"$ref": "Instance" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A token identifying a page of results the server should return.", +"type": "string" +}, +"unreachable": { +"description": "Locations that could not be reached.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListIssueCommentsResponse": { +"description": "The response to list issue comments.", +"id": "ListIssueCommentsResponse", +"properties": { +"issueComments": { +"description": "The list of issue comments.", +"items": { +"$ref": "IssueComment" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A token identifying a page of results the server should return.", +"type": "string" +} +}, +"type": "object" +}, +"ListIssuesResponse": { +"description": "The response to list issues.", +"id": "ListIssuesResponse", +"properties": { +"issues": { +"description": "The list of issues.", +"items": { +"$ref": "Issue" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A token identifying a page of results the server should return.", +"type": "string" +} +}, +"type": "object" +}, +"ListLocationsResponse": { +"description": "The response message for Locations.ListLocations.", +"id": "ListLocationsResponse", +"properties": { +"locations": { +"description": "A list of locations that matches the specified filter in the request.", +"items": { +"$ref": "Location" +}, +"type": "array" +}, +"nextPageToken": { +"description": "The standard List next-page token.", +"type": "string" +} +}, +"type": "object" +}, +"ListOperationsResponse": { +"description": "The response message for Operations.ListOperations.", +"id": "ListOperationsResponse", +"properties": { +"nextPageToken": { +"description": "The standard List next-page token.", +"type": "string" +}, +"operations": { +"description": "A list of operations that matches the specified filter in the request.", +"items": { +"$ref": "Operation" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListPullRequestCommentsResponse": { +"description": "The response to list pull request comments.", +"id": "ListPullRequestCommentsResponse", +"properties": { +"nextPageToken": { +"description": "A token to set as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.", +"type": "string" +}, +"pullRequestComments": { +"description": "The list of pull request comments.", +"items": { +"$ref": "PullRequestComment" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListPullRequestFileDiffsResponse": { +"description": "ListPullRequestFileDiffsResponse is the response containing file diffs returned from ListPullRequestFileDiffs.", +"id": "ListPullRequestFileDiffsResponse", +"properties": { +"fileDiffs": { +"description": "The list of pull request file diffs.", +"items": { +"$ref": "FileDiff" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A token identifying a page of results the server should return.", +"type": "string" +} +}, +"type": "object" +}, +"ListPullRequestsResponse": { +"description": "ListPullRequestsResponse is the response to list pull requests.", +"id": "ListPullRequestsResponse", +"properties": { +"nextPageToken": { +"description": "A token identifying a page of results the server should return.", +"type": "string" +}, +"pullRequests": { +"description": "The list of pull requests.", +"items": { +"$ref": "PullRequest" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListRepositoriesResponse": { +"id": "ListRepositoriesResponse", +"properties": { +"nextPageToken": { +"description": "A token identifying a page of results the server should return.", +"type": "string" +}, +"repositories": { +"description": "The list of repositories.", +"items": { +"$ref": "Repository" +}, +"type": "array" +} +}, +"type": "object" +}, +"Location": { +"description": "A resource that represents a Google Cloud location.", +"id": "Location", +"properties": { +"displayName": { +"description": "The friendly name for this location, typically a nearby city name. For example, \"Tokyo\".", +"type": "string" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Cross-service attributes for the location. For example {\"cloud.googleapis.com/region\": \"us-east1\"}", +"type": "object" +}, +"locationId": { +"description": "The canonical id for this location. For example: `\"us-east1\"`.", +"type": "string" +}, +"metadata": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "Service-specific metadata. For example the available capacity at the given location.", +"type": "object" +}, +"name": { +"description": "Resource name for the location, which may vary between implementations. For example: `\"projects/example-project/locations/us-east1\"`", +"type": "string" +} +}, +"type": "object" +}, +"MergePullRequestRequest": { +"description": "MergePullRequestRequest is the request to merge a pull request.", +"id": "MergePullRequestRequest", +"properties": {}, +"type": "object" +}, +"OpenIssueRequest": { +"description": "The request to open an issue.", +"id": "OpenIssueRequest", +"properties": { +"etag": { +"description": "Optional. The current etag of the issue. If the etag is provided and does not match the current etag of the issue, opening will be blocked and an ABORTED error will be returned.", +"type": "string" +} +}, +"type": "object" +}, +"OpenPullRequestRequest": { +"description": "OpenPullRequestRequest is the request to open a pull request.", +"id": "OpenPullRequestRequest", +"properties": {}, +"type": "object" +}, +"Operation": { +"description": "This resource represents a long-running operation that is the result of a network API call.", +"id": "Operation", +"properties": { +"done": { +"description": "If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.", +"type": "boolean" +}, +"error": { +"$ref": "Status", +"description": "The error result of the operation in case of failure or cancellation." +}, +"metadata": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.", +"type": "object" +}, +"name": { +"description": "The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.", +"type": "string" +}, +"response": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "The normal, successful response of the operation. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.", +"type": "object" +} +}, +"type": "object" +}, +"OperationMetadata": { +"description": "Represents the metadata of the long-running operation.", +"id": "OperationMetadata", +"properties": { +"apiVersion": { +"description": "Output only. API version used to start the operation.", +"readOnly": true, +"type": "string" +}, +"createTime": { +"description": "Output only. The time the operation was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"endTime": { +"description": "Output only. The time the operation finished running.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"requestedCancellation": { +"description": "Output only. Identifies whether the user has requested cancellation of the operation. Operations that have successfully been cancelled have Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.", +"readOnly": true, +"type": "boolean" +}, +"statusMessage": { +"description": "Output only. Human-readable status of the operation, if any.", +"readOnly": true, +"type": "string" +}, +"target": { +"description": "Output only. Server-defined resource path for the target of the operation.", +"readOnly": true, +"type": "string" +}, +"verb": { +"description": "Output only. Name of the verb executed by the operation.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"Policy": { +"description": "An Identity and Access Management (IAM) policy, which specifies access controls for Google Cloud resources. A `Policy` is a collection of `bindings`. A `binding` binds one or more `members`, or principals, to a single `role`. Principals can be user accounts, service accounts, Google groups, and domains (such as G Suite). A `role` is a named list of permissions; each `role` can be an IAM predefined role or a user-created custom role. For some types of Google Cloud resources, a `binding` can also specify a `condition`, which is a logical expression that allows access to a resource only if the expression evaluates to `true`. A condition can add constraints based on attributes of the request, the resource, or both. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). **JSON example:** ``` { \"bindings\": [ { \"role\": \"roles/resourcemanager.organizationAdmin\", \"members\": [ \"user:mike@example.com\", \"group:admins@example.com\", \"domain:google.com\", \"serviceAccount:my-project-id@appspot.gserviceaccount.com\" ] }, { \"role\": \"roles/resourcemanager.organizationViewer\", \"members\": [ \"user:eve@example.com\" ], \"condition\": { \"title\": \"expirable access\", \"description\": \"Does not grant access after Sep 2020\", \"expression\": \"request.time < timestamp('2020-10-01T00:00:00.000Z')\", } } ], \"etag\": \"BwWWja0YfJA=\", \"version\": 3 } ``` **YAML example:** ``` bindings: - members: - user:mike@example.com - group:admins@example.com - domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.com role: roles/resourcemanager.organizationViewer condition: title: expirable access description: Does not grant access after Sep 2020 expression: request.time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 ``` For a description of IAM and its features, see the [IAM documentation](https://cloud.google.com/iam/docs/).", +"id": "Policy", +"properties": { +"auditConfigs": { +"description": "Specifies cloud audit logging configuration for this policy.", +"items": { +"$ref": "AuditConfig" +}, +"type": "array" +}, +"bindings": { +"description": "Associates a list of `members`, or principals, with a `role`. Optionally, may specify a `condition` that determines how and when the `bindings` are applied. Each of the `bindings` must contain at least one principal. The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250 of these principals can be Google groups. Each occurrence of a principal counts towards these limits. For example, if the `bindings` grant 50 different roles to `user:alice@example.com`, and not to any other principal, then you can add another 1,450 principals to the `bindings` in the `Policy`.", +"items": { +"$ref": "Binding" +}, +"type": "array" +}, +"etag": { +"description": "`etag` is used for optimistic concurrency control as a way to help prevent simultaneous updates of a policy from overwriting each other. It is strongly suggested that systems make use of the `etag` in the read-modify-write cycle to perform policy updates in order to avoid race conditions: An `etag` is returned in the response to `getIamPolicy`, and systems are expected to put that etag in the request to `setIamPolicy` to ensure that their change will be applied to the same version of the policy. **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost.", +"format": "byte", +"type": "string" +}, +"version": { +"description": "Specifies the format of the policy. Valid values are `0`, `1`, and `3`. Requests that specify an invalid value are rejected. Any operation that affects conditional role bindings must specify version `3`. This requirement applies to the following operations: * Getting a policy that includes a conditional role binding * Adding a conditional role binding to a policy * Changing a conditional role binding in a policy * Removing any role binding, with or without a condition, from a policy that includes conditions **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost. If a policy does not include any conditions, operations on that policy may specify any valid version or leave the field unset. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"Position": { +"description": "The position of the code comment.", +"id": "Position", +"properties": { +"line": { +"description": "Required. The line number of the comment. Positive value means it's on the new side of the diff, negative value means it's on the old side.", +"format": "int64", +"type": "string" +}, +"path": { +"description": "Required. The path of the file.", +"type": "string" +} +}, +"type": "object" +}, +"PrivateConfig": { +"description": "PrivateConfig includes settings for private instance.", +"id": "PrivateConfig", +"properties": { +"caPool": { +"description": "Optional. Immutable. CA pool resource, resource must in the format of `projects/{project}/locations/{location}/caPools/{ca_pool}`.", +"type": "string" +}, +"httpServiceAttachment": { +"description": "Output only. Service Attachment for HTTP, resource is in the format of `projects/{project}/regions/{region}/serviceAttachments/{service_attachment}`.", +"readOnly": true, +"type": "string" +}, +"isPrivate": { +"description": "Required. Immutable. Indicate if it's private instance.", +"type": "boolean" +}, +"pscAllowedProjects": { +"description": "Optional. Additional allowed projects for setting up PSC connections. Instance host project is automatically allowed and does not need to be included in this list.", +"items": { +"type": "string" +}, +"type": "array" +}, +"sshServiceAttachment": { +"description": "Output only. Service Attachment for SSH, resource is in the format of `projects/{project}/regions/{region}/serviceAttachments/{service_attachment}`.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"PullRequest": { +"description": "Metadata of a PullRequest. PullRequest is the request from a user to merge a branch (head) into another branch (base).", +"id": "PullRequest", +"properties": { +"base": { +"$ref": "Branch", +"description": "Required. The branch to merge changes in." +}, +"body": { +"description": "Optional. The pull request body. Provides a detailed description of the changes.", +"type": "string" +}, +"closeTime": { +"description": "Output only. Close timestamp (if closed or merged). Cleared when pull request is re-opened.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"createTime": { +"description": "Output only. Creation timestamp.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"head": { +"$ref": "Branch", +"description": "Immutable. The branch containing the changes to be merged." +}, +"name": { +"description": "Output only. A unique identifier for a PullRequest. The number appended at the end is generated by the server. Format: `projects/{project}/locations/{location}/repositories/{repository}/pullRequests/{pull_request_id}`", +"readOnly": true, +"type": "string" +}, +"state": { +"description": "Output only. State of the pull request (open, closed or merged).", +"enum": [ +"STATE_UNSPECIFIED", +"OPEN", +"CLOSED", +"MERGED" +], +"enumDescriptions": [ +"Unspecified.", +"An open pull request.", +"A closed pull request.", +"A merged pull request." +], +"readOnly": true, +"type": "string" +}, +"title": { +"description": "Required. The pull request title.", +"type": "string" +}, +"updateTime": { +"description": "Output only. Last updated timestamp.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"PullRequestComment": { +"description": "PullRequestComment represents a comment on a pull request.", +"id": "PullRequestComment", +"properties": { +"code": { +"$ref": "Code", +"description": "Optional. The comment on a code line." +}, +"comment": { +"$ref": "Comment", +"description": "Optional. The general pull request comment." +}, +"createTime": { +"description": "Output only. Creation timestamp.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"name": { +"description": "Identifier. Unique identifier for the pull request comment. The comment id is generated by the server. Format: `projects/{project}/locations/{location}/repositories/{repository}/pullRequests/{pull_request}/pullRequestComments/{comment_id}`", +"type": "string" +}, +"review": { +"$ref": "Review", +"description": "Optional. The review summary comment." +}, +"updateTime": { +"description": "Output only. Last updated timestamp.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"PushOption": { +"id": "PushOption", +"properties": { +"branchFilter": { +"description": "Optional. Trigger hook for matching branches only. Specified as glob pattern. If empty or *, events for all branches are reported. Examples: main, {main,release*}. See https://pkg.go.dev/github.com/gobwas/glob documentation.", +"type": "string" +} +}, +"type": "object" +}, +"Repository": { +"description": "Metadata of a Secure Source Manager repository.", +"id": "Repository", +"properties": { +"createTime": { +"description": "Output only. Create timestamp.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"description": { +"description": "Optional. Description of the repository, which cannot exceed 500 characters.", +"type": "string" +}, +"etag": { +"description": "Optional. This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.", +"type": "string" +}, +"initialConfig": { +"$ref": "InitialConfig", +"description": "Input only. Initial configurations for the repository." +}, +"instance": { +"description": "Optional. The name of the instance in which the repository is hosted, formatted as `projects/{project_number}/locations/{location_id}/instances/{instance_id}` When creating repository via securesourcemanager.googleapis.com, this field is used as input. When creating repository via *.sourcemanager.dev, this field is output only.", +"type": "string" +}, +"name": { +"description": "Optional. A unique identifier for a repository. The name should be of the format: `projects/{project}/locations/{location_id}/repositories/{repository_id}`", +"type": "string" +}, +"uid": { +"description": "Output only. Unique identifier of the repository.", +"readOnly": true, +"type": "string" +}, +"updateTime": { +"description": "Output only. Update timestamp.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"uris": { +"$ref": "URIs", +"description": "Output only. URIs for the repository.", +"readOnly": true +} +}, +"type": "object" +}, +"ResolvePullRequestCommentsRequest": { +"description": "The request to resolve multiple pull request comments.", +"id": "ResolvePullRequestCommentsRequest", +"properties": { +"autoFill": { +"description": "Optional. If set, at least one comment in a thread is required, rest of the comments in the same thread will be automatically updated to resolved. If unset, all comments in the same thread need be present.", +"type": "boolean" +}, +"names": { +"description": "Required. The names of the pull request comments to resolve. Format: `projects/{project_number}/locations/{location_id}/repositories/{repository_id}/pullRequests/{pull_request_id}/pullRequestComments/{comment_id}` Only comments from the same threads are allowed in the same request.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"Review": { +"description": "The review summary comment.", +"id": "Review", +"properties": { +"actionType": { +"description": "Required. The review action type.", +"enum": [ +"ACTION_TYPE_UNSPECIFIED", +"COMMENT", +"CHANGE_REQUESTED", +"APPROVED" +], +"enumDescriptions": [ +"Unspecified.", +"A general review comment.", +"Change required from this review.", +"Change approved from this review." +], +"type": "string" +}, +"body": { +"description": "Optional. The comment body.", +"type": "string" +}, +"effectiveCommitSha": { +"description": "Output only. The effective commit sha this review is pointing to.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"SetIamPolicyRequest": { +"description": "Request message for `SetIamPolicy` method.", +"id": "SetIamPolicyRequest", +"properties": { +"policy": { +"$ref": "Policy", +"description": "REQUIRED: The complete policy to be applied to the `resource`. The size of the policy is limited to a few 10s of KB. An empty policy is a valid policy but certain Google Cloud services (such as Projects) might reject them." +}, +"updateMask": { +"description": "OPTIONAL: A FieldMask specifying which fields of the policy to modify. Only the fields in the mask will be modified. If no mask is provided, the following default mask is used: `paths: \"bindings, etag\"`", +"format": "google-fieldmask", +"type": "string" +} +}, +"type": "object" +}, +"Status": { +"description": "The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors).", +"id": "Status", +"properties": { +"code": { +"description": "The status code, which should be an enum value of google.rpc.Code.", +"format": "int32", +"type": "integer" +}, +"details": { +"description": "A list of messages that carry the error details. There is a common set of message types for APIs to use.", +"items": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.", +"type": "string" +} +}, +"type": "object" +}, +"TestIamPermissionsRequest": { +"description": "Request message for `TestIamPermissions` method.", +"id": "TestIamPermissionsRequest", +"properties": { +"permissions": { +"description": "The set of permissions to check for the `resource`. Permissions with wildcards (such as `*` or `storage.*`) are not allowed. For more information see [IAM Overview](https://cloud.google.com/iam/docs/overview#permissions).", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"TestIamPermissionsResponse": { +"description": "Response message for `TestIamPermissions` method.", +"id": "TestIamPermissionsResponse", +"properties": { +"permissions": { +"description": "A subset of `TestPermissionsRequest.permissions` that the caller is allowed.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"TreeEntry": { +"description": "Represents an entry within a tree structure (like a Git tree).", +"id": "TreeEntry", +"properties": { +"mode": { +"description": "Output only. The file mode as a string (e.g., \"100644\"). Indicates file type. Output-only.", +"readOnly": true, +"type": "string" +}, +"path": { +"description": "Output only. The path of the file or directory within the tree (e.g., \"src/main/java/MyClass.java\"). Output-only.", +"readOnly": true, +"type": "string" +}, +"sha": { +"description": "Output only. The SHA-1 hash of the object (unique identifier). Output-only.", +"readOnly": true, +"type": "string" +}, +"size": { +"description": "Output only. The size of the object in bytes (only for blobs). Output-only.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"type": { +"description": "Output only. The type of the object (TREE, BLOB, COMMIT). Output-only.", +"enum": [ +"OBJECT_TYPE_UNSPECIFIED", +"TREE", +"BLOB", +"COMMIT" +], +"enumDescriptions": [ +"Default value, indicating the object type is unspecified.", +"Represents a directory (folder).", +"Represents a file (contains file data).", +"Represents a pointer to another repository (submodule)." +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"URIs": { +"description": "URIs for the repository.", +"id": "URIs", +"properties": { +"api": { +"description": "Output only. API is the URI for API access.", +"readOnly": true, +"type": "string" +}, +"gitHttps": { +"description": "Output only. git_https is the git HTTPS URI for git operations.", +"readOnly": true, +"type": "string" +}, +"html": { +"description": "Output only. HTML is the URI for user to view the repository in a browser.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"UnresolvePullRequestCommentsRequest": { +"description": "The request to unresolve multiple pull request comments.", +"id": "UnresolvePullRequestCommentsRequest", +"properties": { +"autoFill": { +"description": "Optional. If set, at least one comment in a thread is required, rest of the comments in the same thread will be automatically updated to unresolved. If unset, all comments in the same thread need be present.", +"type": "boolean" +}, +"names": { +"description": "Required. The names of the pull request comments to unresolve. Format: `projects/{project_number}/locations/{location_id}/repositories/{repository_id}/pullRequests/{pull_request_id}/pullRequestComments/{comment_id}` Only comments from the same threads are allowed in the same request.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"WorkforceIdentityFederationConfig": { +"description": "WorkforceIdentityFederationConfig allows this instance to support users from external identity providers.", +"id": "WorkforceIdentityFederationConfig", +"properties": { +"enabled": { +"description": "Optional. Immutable. Whether Workforce Identity Federation is enabled.", +"type": "boolean" +} +}, +"type": "object" +} +}, +"servicePath": "", +"title": "Secure Source Manager API", +"version": "v1", +"version_module": true +} \ No newline at end of file diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/securitycenter.v1.json b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/securitycenter.v1.json new file mode 100644 index 0000000000000000000000000000000000000000..f844ba88becfb7cf1dbcaf1b856a1ea011d3f5f1 --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/securitycenter.v1.json @@ -0,0 +1,17852 @@ +{ +"auth": { +"oauth2": { +"scopes": { +"https://www.googleapis.com/auth/cloud-platform": { +"description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." +} +} +} +}, +"basePath": "", +"baseUrl": "https://securitycenter.googleapis.com/", +"batchPath": "batch", +"canonicalName": "Security Command Center", +"description": "Security Command Center API provides access to temporal views of assets and findings within an organization.", +"discoveryVersion": "v1", +"documentationLink": "https://cloud.google.com/security-command-center", +"endpoints": [ +{ +"description": "Regional Endpoint", +"endpointUrl": "https://securitycenter.me-central2.rep.googleapis.com/", +"location": "me-central2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://securitycenter.us.rep.googleapis.com/", +"location": "us" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://securitycenter.eu.rep.googleapis.com/", +"location": "eu" +} +], +"fullyEncodeReservedExpansion": true, +"icons": { +"x16": "http://www.google.com/images/icons/product/search-16.gif", +"x32": "http://www.google.com/images/icons/product/search-32.gif" +}, +"id": "securitycenter:v1", +"kind": "discovery#restDescription", +"mtlsRootUrl": "https://securitycenter.mtls.googleapis.com/", +"name": "securitycenter", +"ownerDomain": "google.com", +"ownerName": "Google", +"parameters": { +"$.xgafv": { +"description": "V1 error format.", +"enum": [ +"1", +"2" +], +"enumDescriptions": [ +"v1 error format", +"v2 error format" +], +"location": "query", +"type": "string" +}, +"access_token": { +"description": "OAuth access token.", +"location": "query", +"type": "string" +}, +"alt": { +"default": "json", +"description": "Data format for response.", +"enum": [ +"json", +"media", +"proto" +], +"enumDescriptions": [ +"Responses with Content-Type of application/json", +"Media download with context-dependent Content-Type", +"Responses with Content-Type of application/x-protobuf" +], +"location": "query", +"type": "string" +}, +"callback": { +"description": "JSONP", +"location": "query", +"type": "string" +}, +"fields": { +"description": "Selector specifying which fields to include in a partial response.", +"location": "query", +"type": "string" +}, +"key": { +"description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", +"location": "query", +"type": "string" +}, +"oauth_token": { +"description": "OAuth 2.0 token for the current user.", +"location": "query", +"type": "string" +}, +"prettyPrint": { +"default": "true", +"description": "Returns response with indentations and line breaks.", +"location": "query", +"type": "boolean" +}, +"quotaUser": { +"description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.", +"location": "query", +"type": "string" +}, +"uploadType": { +"description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", +"location": "query", +"type": "string" +}, +"upload_protocol": { +"description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", +"location": "query", +"type": "string" +} +}, +"protocol": "rest", +"resources": { +"folders": { +"resources": { +"assets": { +"methods": { +"group": { +"deprecated": true, +"description": "Filters an organization's assets and groups them by their specified properties.", +"flatPath": "v1/folders/{foldersId}/assets:group", +"httpMethod": "POST", +"id": "securitycenter.folders.assets.group", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The name of the parent to group the assets by. Its format is `organizations/[organization_id]`, `folders/[folder_id]`, or `projects/[project_id]`.", +"location": "path", +"pattern": "^folders/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/assets:group", +"request": { +"$ref": "GroupAssetsRequest" +}, +"response": { +"$ref": "GroupAssetsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"deprecated": true, +"description": "Lists an organization's assets.", +"flatPath": "v1/folders/{foldersId}/assets", +"httpMethod": "GET", +"id": "securitycenter.folders.assets.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"compareDuration": { +"description": "When compare_duration is set, the ListAssetsResult's \"state_change\" attribute is updated to indicate whether the asset was added, removed, or remained present during the compare_duration period of time that precedes the read_time. This is the time between (read_time - compare_duration) and read_time. The state_change value is derived based on the presence of the asset at the two points in time. Intermediate state changes between the two times don't affect the result. For example, the results aren't affected if the asset is removed and re-created again. Possible \"state_change\" values when compare_duration is specified: * \"ADDED\": indicates that the asset was not present at the start of compare_duration, but present at read_time. * \"REMOVED\": indicates that the asset was present at the start of compare_duration, but not present at read_time. * \"ACTIVE\": indicates that the asset was present at both the start and the end of the time period defined by compare_duration and read_time. If compare_duration is not specified, then the only possible state_change is \"UNUSED\", which will be the state_change set for all assets present at read_time.", +"format": "google-duration", +"location": "query", +"type": "string" +}, +"fieldMask": { +"description": "A field mask to specify the ListAssetsResult fields to be listed in the response. An empty field mask will list all fields.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +}, +"filter": { +"description": "Expression that defines the filter to apply across assets. The expression is a list of zero or more restrictions combined via logical operators `AND` and `OR`. Parentheses are supported, and `OR` has higher precedence than `AND`. Restrictions have the form ` ` and may have a `-` character in front of them to indicate negation. The fields map to those defined in the Asset resource. Examples include: * name * security_center_properties.resource_name * resource_properties.a_property * security_marks.marks.marka The supported operators are: * `=` for all value types. * `>`, `<`, `>=`, `<=` for integer values. * `:`, meaning substring matching, for strings. The supported value types are: * string literals in quotes. * integer literals without quotes. * boolean literals `true` and `false` without quotes. The following are the allowed field and operator combinations: * name: `=` * update_time: `=`, `>`, `<`, `>=`, `<=` Usage: This should be milliseconds since epoch or an RFC3339 string. Examples: `update_time = \"2019-06-10T16:07:18-07:00\"` `update_time = 1560208038000` * create_time: `=`, `>`, `<`, `>=`, `<=` Usage: This should be milliseconds since epoch or an RFC3339 string. Examples: `create_time = \"2019-06-10T16:07:18-07:00\"` `create_time = 1560208038000` * iam_policy.policy_blob: `=`, `:` * resource_properties: `=`, `:`, `>`, `<`, `>=`, `<=` * security_marks.marks: `=`, `:` * security_center_properties.resource_name: `=`, `:` * security_center_properties.resource_display_name: `=`, `:` * security_center_properties.resource_type: `=`, `:` * security_center_properties.resource_parent: `=`, `:` * security_center_properties.resource_parent_display_name: `=`, `:` * security_center_properties.resource_project: `=`, `:` * security_center_properties.resource_project_display_name: `=`, `:` * security_center_properties.resource_owners: `=`, `:` For example, `resource_properties.size = 100` is a valid filter string. Use a partial match on the empty string to filter based on a property existing: `resource_properties.my_property : \"\"` Use a negated partial match on the empty string to filter based on a property not existing: `-resource_properties.my_property : \"\"`", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "Expression that defines what fields and order to use for sorting. The string value should follow SQL syntax: comma separated list of fields. For example: \"name,resource_properties.a_property\". The default sorting order is ascending. To specify descending order for a field, a suffix \" desc\" should be appended to the field name. For example: \"name desc,resource_properties.a_property\". Redundant space characters in the syntax are insignificant. \"name desc,resource_properties.a_property\" and \" name desc , resource_properties.a_property \" are equivalent. The following fields are supported: name update_time resource_properties security_marks.marks security_center_properties.resource_name security_center_properties.resource_display_name security_center_properties.resource_parent security_center_properties.resource_parent_display_name security_center_properties.resource_project security_center_properties.resource_project_display_name security_center_properties.resource_type", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "The maximum number of results to return in a single response. Default is 10, minimum is 1, maximum is 1000.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The value returned by the last `ListAssetsResponse`; indicates that this is a continuation of a prior `ListAssets` call, and that the system should return the next page of data.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The name of the parent resource that contains the assets. The value that you can specify on parent depends on the method in which you specify parent. You can specify one of the following values: `organizations/[organization_id]`, `folders/[folder_id]`, or `projects/[project_id]`.", +"location": "path", +"pattern": "^folders/[^/]+$", +"required": true, +"type": "string" +}, +"readTime": { +"description": "Time used as a reference point when filtering assets. The filter is limited to assets existing at the supplied time and their values are those at that specific time. Absence of this field will default to the API's version of NOW.", +"format": "google-datetime", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+parent}/assets", +"response": { +"$ref": "ListAssetsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"updateSecurityMarks": { +"description": "Updates security marks.", +"flatPath": "v1/folders/{foldersId}/assets/{assetsId}/securityMarks", +"httpMethod": "PATCH", +"id": "securitycenter.folders.assets.updateSecurityMarks", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The relative resource name of the SecurityMarks. See: https://cloud.google.com/apis/design/resource_names#relative_resource_name Examples: \"organizations/{organization_id}/assets/{asset_id}/securityMarks\" \"organizations/{organization_id}/sources/{source_id}/findings/{finding_id}/securityMarks\".", +"location": "path", +"pattern": "^folders/[^/]+/assets/[^/]+/securityMarks$", +"required": true, +"type": "string" +}, +"startTime": { +"description": "The time at which the updated SecurityMarks take effect. If not set uses current server time. Updates will be applied to the SecurityMarks that are active immediately preceding this time. Must be earlier or equal to the server time.", +"format": "google-datetime", +"location": "query", +"type": "string" +}, +"updateMask": { +"description": "The FieldMask to use when updating the security marks resource. The field mask must not contain duplicate fields. If empty or set to \"marks\", all marks will be replaced. Individual marks can be updated using \"marks.\".", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "SecurityMarks" +}, +"response": { +"$ref": "SecurityMarks" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"bigQueryExports": { +"methods": { +"create": { +"description": "Creates a BigQuery export.", +"flatPath": "v1/folders/{foldersId}/bigQueryExports", +"httpMethod": "POST", +"id": "securitycenter.folders.bigQueryExports.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"bigQueryExportId": { +"description": "Required. Unique identifier provided by the client within the parent scope. It must consist of only lowercase letters, numbers, and hyphens, must start with a letter, must end with either a letter or a number, and must be 63 characters or less.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The name of the parent resource of the new BigQuery export. Its format is `organizations/[organization_id]`, `folders/[folder_id]`, or `projects/[project_id]`.", +"location": "path", +"pattern": "^folders/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/bigQueryExports", +"request": { +"$ref": "GoogleCloudSecuritycenterV1BigQueryExport" +}, +"response": { +"$ref": "GoogleCloudSecuritycenterV1BigQueryExport" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes an existing BigQuery export.", +"flatPath": "v1/folders/{foldersId}/bigQueryExports/{bigQueryExportsId}", +"httpMethod": "DELETE", +"id": "securitycenter.folders.bigQueryExports.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the BigQuery export to delete. Its format is `organizations/{organization}/bigQueryExports/{export_id}`, `folders/{folder}/bigQueryExports/{export_id}`, or `projects/{project}/bigQueryExports/{export_id}`", +"location": "path", +"pattern": "^folders/[^/]+/bigQueryExports/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets a BigQuery export.", +"flatPath": "v1/folders/{foldersId}/bigQueryExports/{bigQueryExportsId}", +"httpMethod": "GET", +"id": "securitycenter.folders.bigQueryExports.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of the BigQuery export to retrieve. Its format is `organizations/{organization}/bigQueryExports/{export_id}`, `folders/{folder}/bigQueryExports/{export_id}`, or `projects/{project}/bigQueryExports/{export_id}`", +"location": "path", +"pattern": "^folders/[^/]+/bigQueryExports/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleCloudSecuritycenterV1BigQueryExport" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists BigQuery exports. Note that when requesting BigQuery exports at a given level all exports under that level are also returned e.g. if requesting BigQuery exports under a folder, then all BigQuery exports immediately under the folder plus the ones created under the projects within the folder are returned.", +"flatPath": "v1/folders/{foldersId}/bigQueryExports", +"httpMethod": "GET", +"id": "securitycenter.folders.bigQueryExports.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "The maximum number of configs to return. The service may return fewer than this value. If unspecified, at most 10 configs will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A page token, received from a previous `ListBigQueryExports` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListBigQueryExports` must match the call that provided the page token.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent, which owns the collection of BigQuery exports. Its format is `organizations/[organization_id]`, `folders/[folder_id]`, `projects/[project_id]`.", +"location": "path", +"pattern": "^folders/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/bigQueryExports", +"response": { +"$ref": "ListBigQueryExportsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates a BigQuery export.", +"flatPath": "v1/folders/{foldersId}/bigQueryExports/{bigQueryExportsId}", +"httpMethod": "PATCH", +"id": "securitycenter.folders.bigQueryExports.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The relative resource name of this export. See: https://cloud.google.com/apis/design/resource_names#relative_resource_name. Example format: \"organizations/{organization_id}/bigQueryExports/{export_id}\" Example format: \"folders/{folder_id}/bigQueryExports/{export_id}\" Example format: \"projects/{project_id}/bigQueryExports/{export_id}\" This field is provided in responses, and is ignored when provided in create requests.", +"location": "path", +"pattern": "^folders/[^/]+/bigQueryExports/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "The list of fields to be updated. If empty all mutable fields will be updated.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "GoogleCloudSecuritycenterV1BigQueryExport" +}, +"response": { +"$ref": "GoogleCloudSecuritycenterV1BigQueryExport" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"eventThreatDetectionSettings": { +"methods": { +"validateCustomModule": { +"description": "Validates the given Event Threat Detection custom module.", +"flatPath": "v1/folders/{foldersId}/eventThreatDetectionSettings:validateCustomModule", +"httpMethod": "POST", +"id": "securitycenter.folders.eventThreatDetectionSettings.validateCustomModule", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. Resource name of the parent to validate the Custom Module under. Its format is: * `organizations/{organization}/eventThreatDetectionSettings`. * `folders/{folder}/eventThreatDetectionSettings`. * `projects/{project}/eventThreatDetectionSettings`.", +"location": "path", +"pattern": "^folders/[^/]+/eventThreatDetectionSettings$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}:validateCustomModule", +"request": { +"$ref": "ValidateEventThreatDetectionCustomModuleRequest" +}, +"response": { +"$ref": "ValidateEventThreatDetectionCustomModuleResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"customModules": { +"methods": { +"create": { +"description": "Creates a resident Event Threat Detection custom module at the scope of the given Resource Manager parent, and also creates inherited custom modules for all descendants of the given parent. These modules are enabled by default.", +"flatPath": "v1/folders/{foldersId}/eventThreatDetectionSettings/customModules", +"httpMethod": "POST", +"id": "securitycenter.folders.eventThreatDetectionSettings.customModules.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The new custom module's parent. Its format is: * `organizations/{organization}/eventThreatDetectionSettings`. * `folders/{folder}/eventThreatDetectionSettings`. * `projects/{project}/eventThreatDetectionSettings`.", +"location": "path", +"pattern": "^folders/[^/]+/eventThreatDetectionSettings$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/customModules", +"request": { +"$ref": "EventThreatDetectionCustomModule" +}, +"response": { +"$ref": "EventThreatDetectionCustomModule" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes the specified Event Threat Detection custom module and all of its descendants in the Resource Manager hierarchy. This method is only supported for resident custom modules.", +"flatPath": "v1/folders/{foldersId}/eventThreatDetectionSettings/customModules/{customModulesId}", +"httpMethod": "DELETE", +"id": "securitycenter.folders.eventThreatDetectionSettings.customModules.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of the custom module to delete. Its format is: * `organizations/{organization}/eventThreatDetectionSettings/customModules/{module}`. * `folders/{folder}/eventThreatDetectionSettings/customModules/{module}`. * `projects/{project}/eventThreatDetectionSettings/customModules/{module}`.", +"location": "path", +"pattern": "^folders/[^/]+/eventThreatDetectionSettings/customModules/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets an Event Threat Detection custom module.", +"flatPath": "v1/folders/{foldersId}/eventThreatDetectionSettings/customModules/{customModulesId}", +"httpMethod": "GET", +"id": "securitycenter.folders.eventThreatDetectionSettings.customModules.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of the custom module to get. Its format is: * `organizations/{organization}/eventThreatDetectionSettings/customModules/{module}`. * `folders/{folder}/eventThreatDetectionSettings/customModules/{module}`. * `projects/{project}/eventThreatDetectionSettings/customModules/{module}`.", +"location": "path", +"pattern": "^folders/[^/]+/eventThreatDetectionSettings/customModules/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "EventThreatDetectionCustomModule" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists all Event Threat Detection custom modules for the given Resource Manager parent. This includes resident modules defined at the scope of the parent along with modules inherited from ancestors.", +"flatPath": "v1/folders/{foldersId}/eventThreatDetectionSettings/customModules", +"httpMethod": "GET", +"id": "securitycenter.folders.eventThreatDetectionSettings.customModules.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "The maximum number of modules to return. The service may return fewer than this value. If unspecified, at most 10 configs will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A page token, received from a previous `ListEventThreatDetectionCustomModules` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListEventThreatDetectionCustomModules` must match the call that provided the page token.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. Name of the parent to list custom modules under. Its format is: * `organizations/{organization}/eventThreatDetectionSettings`. * `folders/{folder}/eventThreatDetectionSettings`. * `projects/{project}/eventThreatDetectionSettings`.", +"location": "path", +"pattern": "^folders/[^/]+/eventThreatDetectionSettings$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/customModules", +"response": { +"$ref": "ListEventThreatDetectionCustomModulesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"listDescendant": { +"description": "Lists all resident Event Threat Detection custom modules under the given Resource Manager parent and its descendants.", +"flatPath": "v1/folders/{foldersId}/eventThreatDetectionSettings/customModules:listDescendant", +"httpMethod": "GET", +"id": "securitycenter.folders.eventThreatDetectionSettings.customModules.listDescendant", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "The maximum number of modules to return. The service may return fewer than this value. If unspecified, at most 10 configs will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A page token, received from a previous `ListDescendantEventThreatDetectionCustomModules` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListDescendantEventThreatDetectionCustomModules` must match the call that provided the page token.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. Name of the parent to list custom modules under. Its format is: * `organizations/{organization}/eventThreatDetectionSettings`. * `folders/{folder}/eventThreatDetectionSettings`. * `projects/{project}/eventThreatDetectionSettings`.", +"location": "path", +"pattern": "^folders/[^/]+/eventThreatDetectionSettings$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/customModules:listDescendant", +"response": { +"$ref": "ListDescendantEventThreatDetectionCustomModulesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates the Event Threat Detection custom module with the given name based on the given update mask. Updating the enablement state is supported for both resident and inherited modules (though resident modules cannot have an enablement state of \"inherited\"). Updating the display name or configuration of a module is supported for resident modules only. The type of a module cannot be changed.", +"flatPath": "v1/folders/{foldersId}/eventThreatDetectionSettings/customModules/{customModulesId}", +"httpMethod": "PATCH", +"id": "securitycenter.folders.eventThreatDetectionSettings.customModules.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Immutable. The resource name of the Event Threat Detection custom module. Its format is: * `organizations/{organization}/eventThreatDetectionSettings/customModules/{module}`. * `folders/{folder}/eventThreatDetectionSettings/customModules/{module}`. * `projects/{project}/eventThreatDetectionSettings/customModules/{module}`.", +"location": "path", +"pattern": "^folders/[^/]+/eventThreatDetectionSettings/customModules/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "The list of fields to be updated. If empty all mutable fields will be updated.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "EventThreatDetectionCustomModule" +}, +"response": { +"$ref": "EventThreatDetectionCustomModule" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"effectiveCustomModules": { +"methods": { +"get": { +"description": "Gets an effective Event Threat Detection custom module at the given level.", +"flatPath": "v1/folders/{foldersId}/eventThreatDetectionSettings/effectiveCustomModules/{effectiveCustomModulesId}", +"httpMethod": "GET", +"id": "securitycenter.folders.eventThreatDetectionSettings.effectiveCustomModules.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the effective Event Threat Detection custom module. Its format is: * `organizations/{organization}/eventThreatDetectionSettings/effectiveCustomModules/{module}`. * `folders/{folder}/eventThreatDetectionSettings/effectiveCustomModules/{module}`. * `projects/{project}/eventThreatDetectionSettings/effectiveCustomModules/{module}`.", +"location": "path", +"pattern": "^folders/[^/]+/eventThreatDetectionSettings/effectiveCustomModules/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "EffectiveEventThreatDetectionCustomModule" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists all effective Event Threat Detection custom modules for the given parent. This includes resident modules defined at the scope of the parent along with modules inherited from its ancestors.", +"flatPath": "v1/folders/{foldersId}/eventThreatDetectionSettings/effectiveCustomModules", +"httpMethod": "GET", +"id": "securitycenter.folders.eventThreatDetectionSettings.effectiveCustomModules.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "The maximum number of modules to return. The service may return fewer than this value. If unspecified, at most 10 configs will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A page token, received from a previous `ListEffectiveEventThreatDetectionCustomModules` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListEffectiveEventThreatDetectionCustomModules` must match the call that provided the page token.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. Name of the parent to list custom modules for. Its format is: * `organizations/{organization}/eventThreatDetectionSettings`. * `folders/{folder}/eventThreatDetectionSettings`. * `projects/{project}/eventThreatDetectionSettings`.", +"location": "path", +"pattern": "^folders/[^/]+/eventThreatDetectionSettings$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/effectiveCustomModules", +"response": { +"$ref": "ListEffectiveEventThreatDetectionCustomModulesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +}, +"findings": { +"methods": { +"bulkMute": { +"description": "Kicks off an LRO to bulk mute findings for a parent based on a filter. The parent can be either an organization, folder or project. The findings matched by the filter will be muted after the LRO is done.", +"flatPath": "v1/folders/{foldersId}/findings:bulkMute", +"httpMethod": "POST", +"id": "securitycenter.folders.findings.bulkMute", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The parent, at which bulk action needs to be applied. Its format is `organizations/[organization_id]`, `folders/[folder_id]`, `projects/[project_id]`.", +"location": "path", +"pattern": "^folders/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/findings:bulkMute", +"request": { +"$ref": "BulkMuteFindingsRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"locations": { +"resources": { +"muteConfigs": { +"methods": { +"delete": { +"description": "Deletes an existing mute config.", +"flatPath": "v1/folders/{foldersId}/locations/{locationsId}/muteConfigs/{muteConfigsId}", +"httpMethod": "DELETE", +"id": "securitycenter.folders.locations.muteConfigs.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of the mute config to delete. Its format is `organizations/{organization}/muteConfigs/{config_id}`, `folders/{folder}/muteConfigs/{config_id}`, `projects/{project}/muteConfigs/{config_id}`, `organizations/{organization}/locations/global/muteConfigs/{config_id}`, `folders/{folder}/locations/global/muteConfigs/{config_id}`, or `projects/{project}/locations/global/muteConfigs/{config_id}`.", +"location": "path", +"pattern": "^folders/[^/]+/locations/[^/]+/muteConfigs/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets a mute config.", +"flatPath": "v1/folders/{foldersId}/locations/{locationsId}/muteConfigs/{muteConfigsId}", +"httpMethod": "GET", +"id": "securitycenter.folders.locations.muteConfigs.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of the mute config to retrieve. Its format is `organizations/{organization}/muteConfigs/{config_id}`, `folders/{folder}/muteConfigs/{config_id}`, `projects/{project}/muteConfigs/{config_id}`, `organizations/{organization}/locations/global/muteConfigs/{config_id}`, `folders/{folder}/locations/global/muteConfigs/{config_id}`, or `projects/{project}/locations/global/muteConfigs/{config_id}`.", +"location": "path", +"pattern": "^folders/[^/]+/locations/[^/]+/muteConfigs/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleCloudSecuritycenterV1MuteConfig" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates a mute config.", +"flatPath": "v1/folders/{foldersId}/locations/{locationsId}/muteConfigs/{muteConfigsId}", +"httpMethod": "PATCH", +"id": "securitycenter.folders.locations.muteConfigs.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "This field will be ignored if provided on config creation. Format `organizations/{organization}/muteConfigs/{mute_config}` `folders/{folder}/muteConfigs/{mute_config}` `projects/{project}/muteConfigs/{mute_config}` `organizations/{organization}/locations/global/muteConfigs/{mute_config}` `folders/{folder}/locations/global/muteConfigs/{mute_config}` `projects/{project}/locations/global/muteConfigs/{mute_config}`", +"location": "path", +"pattern": "^folders/[^/]+/locations/[^/]+/muteConfigs/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "The list of fields to be updated. If empty all mutable fields will be updated.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "GoogleCloudSecuritycenterV1MuteConfig" +}, +"response": { +"$ref": "GoogleCloudSecuritycenterV1MuteConfig" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +}, +"muteConfigs": { +"methods": { +"create": { +"description": "Creates a mute config.", +"flatPath": "v1/folders/{foldersId}/muteConfigs", +"httpMethod": "POST", +"id": "securitycenter.folders.muteConfigs.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"muteConfigId": { +"description": "Required. Unique identifier provided by the client within the parent scope. It must consist of only lowercase letters, numbers, and hyphens, must start with a letter, must end with either a letter or a number, and must be 63 characters or less.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. Resource name of the new mute configs's parent. Its format is `organizations/[organization_id]`, `folders/[folder_id]`, or `projects/[project_id]`.", +"location": "path", +"pattern": "^folders/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/muteConfigs", +"request": { +"$ref": "GoogleCloudSecuritycenterV1MuteConfig" +}, +"response": { +"$ref": "GoogleCloudSecuritycenterV1MuteConfig" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes an existing mute config.", +"flatPath": "v1/folders/{foldersId}/muteConfigs/{muteConfigsId}", +"httpMethod": "DELETE", +"id": "securitycenter.folders.muteConfigs.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of the mute config to delete. Its format is `organizations/{organization}/muteConfigs/{config_id}`, `folders/{folder}/muteConfigs/{config_id}`, `projects/{project}/muteConfigs/{config_id}`, `organizations/{organization}/locations/global/muteConfigs/{config_id}`, `folders/{folder}/locations/global/muteConfigs/{config_id}`, or `projects/{project}/locations/global/muteConfigs/{config_id}`.", +"location": "path", +"pattern": "^folders/[^/]+/muteConfigs/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets a mute config.", +"flatPath": "v1/folders/{foldersId}/muteConfigs/{muteConfigsId}", +"httpMethod": "GET", +"id": "securitycenter.folders.muteConfigs.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of the mute config to retrieve. Its format is `organizations/{organization}/muteConfigs/{config_id}`, `folders/{folder}/muteConfigs/{config_id}`, `projects/{project}/muteConfigs/{config_id}`, `organizations/{organization}/locations/global/muteConfigs/{config_id}`, `folders/{folder}/locations/global/muteConfigs/{config_id}`, or `projects/{project}/locations/global/muteConfigs/{config_id}`.", +"location": "path", +"pattern": "^folders/[^/]+/muteConfigs/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleCloudSecuritycenterV1MuteConfig" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists mute configs.", +"flatPath": "v1/folders/{foldersId}/muteConfigs", +"httpMethod": "GET", +"id": "securitycenter.folders.muteConfigs.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "The maximum number of configs to return. The service may return fewer than this value. If unspecified, at most 10 configs will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A page token, received from a previous `ListMuteConfigs` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListMuteConfigs` must match the call that provided the page token.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent, which owns the collection of mute configs. Its format is `organizations/[organization_id]`, `folders/[folder_id]`, `projects/[project_id]`.", +"location": "path", +"pattern": "^folders/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/muteConfigs", +"response": { +"$ref": "ListMuteConfigsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates a mute config.", +"flatPath": "v1/folders/{foldersId}/muteConfigs/{muteConfigsId}", +"httpMethod": "PATCH", +"id": "securitycenter.folders.muteConfigs.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "This field will be ignored if provided on config creation. Format `organizations/{organization}/muteConfigs/{mute_config}` `folders/{folder}/muteConfigs/{mute_config}` `projects/{project}/muteConfigs/{mute_config}` `organizations/{organization}/locations/global/muteConfigs/{mute_config}` `folders/{folder}/locations/global/muteConfigs/{mute_config}` `projects/{project}/locations/global/muteConfigs/{mute_config}`", +"location": "path", +"pattern": "^folders/[^/]+/muteConfigs/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "The list of fields to be updated. If empty all mutable fields will be updated.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "GoogleCloudSecuritycenterV1MuteConfig" +}, +"response": { +"$ref": "GoogleCloudSecuritycenterV1MuteConfig" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"notificationConfigs": { +"methods": { +"create": { +"description": "Creates a notification config.", +"flatPath": "v1/folders/{foldersId}/notificationConfigs", +"httpMethod": "POST", +"id": "securitycenter.folders.notificationConfigs.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"configId": { +"description": "Required. Unique identifier provided by the client within the parent scope. It must be between 1 and 128 characters and contain alphanumeric characters, underscores, or hyphens only.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. Resource name of the new notification config's parent. Its format is `organizations/[organization_id]`, `folders/[folder_id]`, or `projects/[project_id]`.", +"location": "path", +"pattern": "^folders/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/notificationConfigs", +"request": { +"$ref": "NotificationConfig" +}, +"response": { +"$ref": "NotificationConfig" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a notification config.", +"flatPath": "v1/folders/{foldersId}/notificationConfigs/{notificationConfigsId}", +"httpMethod": "DELETE", +"id": "securitycenter.folders.notificationConfigs.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of the notification config to delete. Its format is `organizations/[organization_id]/notificationConfigs/[config_id]`, `folders/[folder_id]/notificationConfigs/[config_id]`, or `projects/[project_id]/notificationConfigs/[config_id]`.", +"location": "path", +"pattern": "^folders/[^/]+/notificationConfigs/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets a notification config.", +"flatPath": "v1/folders/{foldersId}/notificationConfigs/{notificationConfigsId}", +"httpMethod": "GET", +"id": "securitycenter.folders.notificationConfigs.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of the notification config to get. Its format is `organizations/[organization_id]/notificationConfigs/[config_id]`, `folders/[folder_id]/notificationConfigs/[config_id]`, or `projects/[project_id]/notificationConfigs/[config_id]`.", +"location": "path", +"pattern": "^folders/[^/]+/notificationConfigs/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "NotificationConfig" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists notification configs.", +"flatPath": "v1/folders/{foldersId}/notificationConfigs", +"httpMethod": "GET", +"id": "securitycenter.folders.notificationConfigs.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "The maximum number of results to return in a single response. Default is 10, minimum is 1, maximum is 1000.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The value returned by the last `ListNotificationConfigsResponse`; indicates that this is a continuation of a prior `ListNotificationConfigs` call, and that the system should return the next page of data.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The name of the parent in which to list the notification configurations. Its format is \"organizations/[organization_id]\", \"folders/[folder_id]\", or \"projects/[project_id]\".", +"location": "path", +"pattern": "^folders/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/notificationConfigs", +"response": { +"$ref": "ListNotificationConfigsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": " Updates a notification config. The following update fields are allowed: description, pubsub_topic, streaming_config.filter", +"flatPath": "v1/folders/{foldersId}/notificationConfigs/{notificationConfigsId}", +"httpMethod": "PATCH", +"id": "securitycenter.folders.notificationConfigs.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The relative resource name of this notification config. See: https://cloud.google.com/apis/design/resource_names#relative_resource_name Example: \"organizations/{organization_id}/notificationConfigs/notify_public_bucket\", \"folders/{folder_id}/notificationConfigs/notify_public_bucket\", or \"projects/{project_id}/notificationConfigs/notify_public_bucket\".", +"location": "path", +"pattern": "^folders/[^/]+/notificationConfigs/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "The FieldMask to use when updating the notification config. If empty all mutable fields will be updated.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "NotificationConfig" +}, +"response": { +"$ref": "NotificationConfig" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"securityHealthAnalyticsSettings": { +"resources": { +"customModules": { +"methods": { +"create": { +"description": "Creates a resident SecurityHealthAnalyticsCustomModule at the scope of the given CRM parent, and also creates inherited SecurityHealthAnalyticsCustomModules for all CRM descendants of the given parent. These modules are enabled by default.", +"flatPath": "v1/folders/{foldersId}/securityHealthAnalyticsSettings/customModules", +"httpMethod": "POST", +"id": "securitycenter.folders.securityHealthAnalyticsSettings.customModules.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. Resource name of the new custom module's parent. Its format is `organizations/{organization}/securityHealthAnalyticsSettings`, `folders/{folder}/securityHealthAnalyticsSettings`, or `projects/{project}/securityHealthAnalyticsSettings`", +"location": "path", +"pattern": "^folders/[^/]+/securityHealthAnalyticsSettings$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/customModules", +"request": { +"$ref": "GoogleCloudSecuritycenterV1SecurityHealthAnalyticsCustomModule" +}, +"response": { +"$ref": "GoogleCloudSecuritycenterV1SecurityHealthAnalyticsCustomModule" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes the specified SecurityHealthAnalyticsCustomModule and all of its descendants in the CRM hierarchy. This method is only supported for resident custom modules.", +"flatPath": "v1/folders/{foldersId}/securityHealthAnalyticsSettings/customModules/{customModulesId}", +"httpMethod": "DELETE", +"id": "securitycenter.folders.securityHealthAnalyticsSettings.customModules.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of the custom module to delete. Its format is `organizations/{organization}/securityHealthAnalyticsSettings/customModules/{customModule}`, `folders/{folder}/securityHealthAnalyticsSettings/customModules/{customModule}`, or `projects/{project}/securityHealthAnalyticsSettings/customModules/{customModule}`", +"location": "path", +"pattern": "^folders/[^/]+/securityHealthAnalyticsSettings/customModules/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Retrieves a SecurityHealthAnalyticsCustomModule.", +"flatPath": "v1/folders/{foldersId}/securityHealthAnalyticsSettings/customModules/{customModulesId}", +"httpMethod": "GET", +"id": "securitycenter.folders.securityHealthAnalyticsSettings.customModules.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of the custom module to get. Its format is `organizations/{organization}/securityHealthAnalyticsSettings/customModules/{customModule}`, `folders/{folder}/securityHealthAnalyticsSettings/customModules/{customModule}`, or `projects/{project}/securityHealthAnalyticsSettings/customModules/{customModule}`", +"location": "path", +"pattern": "^folders/[^/]+/securityHealthAnalyticsSettings/customModules/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleCloudSecuritycenterV1SecurityHealthAnalyticsCustomModule" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Returns a list of all SecurityHealthAnalyticsCustomModules for the given parent. This includes resident modules defined at the scope of the parent, and inherited modules, inherited from CRM ancestors.", +"flatPath": "v1/folders/{foldersId}/securityHealthAnalyticsSettings/customModules", +"httpMethod": "GET", +"id": "securitycenter.folders.securityHealthAnalyticsSettings.customModules.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "The maximum number of results to return in a single response. Default is 10, minimum is 1, maximum is 1000.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The value returned by the last call indicating a continuation", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. Name of parent to list custom modules. Its format is `organizations/{organization}/securityHealthAnalyticsSettings`, `folders/{folder}/securityHealthAnalyticsSettings`, or `projects/{project}/securityHealthAnalyticsSettings`", +"location": "path", +"pattern": "^folders/[^/]+/securityHealthAnalyticsSettings$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/customModules", +"response": { +"$ref": "ListSecurityHealthAnalyticsCustomModulesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"listDescendant": { +"description": "Returns a list of all resident SecurityHealthAnalyticsCustomModules under the given CRM parent and all of the parent\u2019s CRM descendants.", +"flatPath": "v1/folders/{foldersId}/securityHealthAnalyticsSettings/customModules:listDescendant", +"httpMethod": "GET", +"id": "securitycenter.folders.securityHealthAnalyticsSettings.customModules.listDescendant", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "The maximum number of results to return in a single response. Default is 10, minimum is 1, maximum is 1000.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The value returned by the last call indicating a continuation", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. Name of parent to list descendant custom modules. Its format is `organizations/{organization}/securityHealthAnalyticsSettings`, `folders/{folder}/securityHealthAnalyticsSettings`, or `projects/{project}/securityHealthAnalyticsSettings`", +"location": "path", +"pattern": "^folders/[^/]+/securityHealthAnalyticsSettings$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/customModules:listDescendant", +"response": { +"$ref": "ListDescendantSecurityHealthAnalyticsCustomModulesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates the SecurityHealthAnalyticsCustomModule under the given name based on the given update mask. Updating the enablement state is supported on both resident and inherited modules (though resident modules cannot have an enablement state of \"inherited\"). Updating the display name and custom config of a module is supported on resident modules only.", +"flatPath": "v1/folders/{foldersId}/securityHealthAnalyticsSettings/customModules/{customModulesId}", +"httpMethod": "PATCH", +"id": "securitycenter.folders.securityHealthAnalyticsSettings.customModules.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Immutable. The resource name of the custom module. Its format is \"organizations/{organization}/securityHealthAnalyticsSettings/customModules/{customModule}\", or \"folders/{folder}/securityHealthAnalyticsSettings/customModules/{customModule}\", or \"projects/{project}/securityHealthAnalyticsSettings/customModules/{customModule}\" The id {customModule} is server-generated and is not user settable. It will be a numeric id containing 1-20 digits.", +"location": "path", +"pattern": "^folders/[^/]+/securityHealthAnalyticsSettings/customModules/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "The list of fields to be updated. The only fields that can be updated are `enablement_state` and `custom_config`. If empty or set to the wildcard value `*`, both `enablement_state` and `custom_config` are updated.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "GoogleCloudSecuritycenterV1SecurityHealthAnalyticsCustomModule" +}, +"response": { +"$ref": "GoogleCloudSecuritycenterV1SecurityHealthAnalyticsCustomModule" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"simulate": { +"description": "Simulates a given SecurityHealthAnalyticsCustomModule and Resource.", +"flatPath": "v1/folders/{foldersId}/securityHealthAnalyticsSettings/customModules:simulate", +"httpMethod": "POST", +"id": "securitycenter.folders.securityHealthAnalyticsSettings.customModules.simulate", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The relative resource name of the organization, project, or folder. For more information about relative resource names, see [Relative Resource Name](https://cloud.google.com/apis/design/resource_names#relative_resource_name) Example: `organizations/{organization_id}`", +"location": "path", +"pattern": "^folders/[^/]+/securityHealthAnalyticsSettings$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/customModules:simulate", +"request": { +"$ref": "SimulateSecurityHealthAnalyticsCustomModuleRequest" +}, +"response": { +"$ref": "SimulateSecurityHealthAnalyticsCustomModuleResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"effectiveCustomModules": { +"methods": { +"get": { +"description": "Retrieves an EffectiveSecurityHealthAnalyticsCustomModule.", +"flatPath": "v1/folders/{foldersId}/securityHealthAnalyticsSettings/effectiveCustomModules/{effectiveCustomModulesId}", +"httpMethod": "GET", +"id": "securitycenter.folders.securityHealthAnalyticsSettings.effectiveCustomModules.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of the effective custom module to get. Its format is `organizations/{organization}/securityHealthAnalyticsSettings/effectiveCustomModules/{customModule}`, `folders/{folder}/securityHealthAnalyticsSettings/effectiveCustomModules/{customModule}`, or `projects/{project}/securityHealthAnalyticsSettings/effectiveCustomModules/{customModule}`", +"location": "path", +"pattern": "^folders/[^/]+/securityHealthAnalyticsSettings/effectiveCustomModules/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleCloudSecuritycenterV1EffectiveSecurityHealthAnalyticsCustomModule" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Returns a list of all EffectiveSecurityHealthAnalyticsCustomModules for the given parent. This includes resident modules defined at the scope of the parent, and inherited modules, inherited from CRM ancestors.", +"flatPath": "v1/folders/{foldersId}/securityHealthAnalyticsSettings/effectiveCustomModules", +"httpMethod": "GET", +"id": "securitycenter.folders.securityHealthAnalyticsSettings.effectiveCustomModules.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "The maximum number of results to return in a single response. Default is 10, minimum is 1, maximum is 1000.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The value returned by the last call indicating a continuation", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. Name of parent to list effective custom modules. Its format is `organizations/{organization}/securityHealthAnalyticsSettings`, `folders/{folder}/securityHealthAnalyticsSettings`, or `projects/{project}/securityHealthAnalyticsSettings`", +"location": "path", +"pattern": "^folders/[^/]+/securityHealthAnalyticsSettings$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/effectiveCustomModules", +"response": { +"$ref": "ListEffectiveSecurityHealthAnalyticsCustomModulesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +}, +"sources": { +"methods": { +"list": { +"description": "Lists all sources belonging to an organization.", +"flatPath": "v1/folders/{foldersId}/sources", +"httpMethod": "GET", +"id": "securitycenter.folders.sources.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "The maximum number of results to return in a single response. Default is 10, minimum is 1, maximum is 1000.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The value returned by the last `ListSourcesResponse`; indicates that this is a continuation of a prior `ListSources` call, and that the system should return the next page of data.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. Resource name of the parent of sources to list. Its format should be `organizations/[organization_id]`, `folders/[folder_id]`, or `projects/[project_id]`.", +"location": "path", +"pattern": "^folders/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/sources", +"response": { +"$ref": "ListSourcesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"findings": { +"methods": { +"group": { +"description": "Filters an organization or source's findings and groups them by their specified properties. To group across all sources provide a `-` as the source id. Example: /v1/organizations/{organization_id}/sources/-/findings, /v1/folders/{folder_id}/sources/-/findings, /v1/projects/{project_id}/sources/-/findings", +"flatPath": "v1/folders/{foldersId}/sources/{sourcesId}/findings:group", +"httpMethod": "POST", +"id": "securitycenter.folders.sources.findings.group", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. Name of the source to groupBy. Its format is `organizations/[organization_id]/sources/[source_id]`, `folders/[folder_id]/sources/[source_id]`, or `projects/[project_id]/sources/[source_id]`. To groupBy across all sources provide a source_id of `-`. For example: `organizations/{organization_id}/sources/-, folders/{folder_id}/sources/-`, or `projects/{project_id}/sources/-`", +"location": "path", +"pattern": "^folders/[^/]+/sources/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/findings:group", +"request": { +"$ref": "GroupFindingsRequest" +}, +"response": { +"$ref": "GroupFindingsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists an organization or source's findings. To list across all sources provide a `-` as the source id. Example: /v1/organizations/{organization_id}/sources/-/findings", +"flatPath": "v1/folders/{foldersId}/sources/{sourcesId}/findings", +"httpMethod": "GET", +"id": "securitycenter.folders.sources.findings.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"compareDuration": { +"deprecated": true, +"description": "When compare_duration is set, the ListFindingsResult's \"state_change\" attribute is updated to indicate whether the finding had its state changed, the finding's state remained unchanged, or if the finding was added in any state during the compare_duration period of time that precedes the read_time. This is the time between (read_time - compare_duration) and read_time. The state_change value is derived based on the presence and state of the finding at the two points in time. Intermediate state changes between the two times don't affect the result. For example, the results aren't affected if the finding is made inactive and then active again. Possible \"state_change\" values when compare_duration is specified: * \"CHANGED\": indicates that the finding was present and matched the given filter at the start of compare_duration, but changed its state at read_time. * \"UNCHANGED\": indicates that the finding was present and matched the given filter at the start of compare_duration and did not change state at read_time. * \"ADDED\": indicates that the finding did not match the given filter or was not present at the start of compare_duration, but was present at read_time. * \"REMOVED\": indicates that the finding was present and matched the filter at the start of compare_duration, but did not match the filter at read_time. If compare_duration is not specified, then the only possible state_change is \"UNUSED\", which will be the state_change set for all findings present at read_time.", +"format": "google-duration", +"location": "query", +"type": "string" +}, +"fieldMask": { +"description": "A field mask to specify the Finding fields to be listed in the response. An empty field mask will list all fields.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +}, +"filter": { +"description": "Expression that defines the filter to apply across findings. The expression is a list of one or more restrictions combined via logical operators `AND` and `OR`. Parentheses are supported, and `OR` has higher precedence than `AND`. Restrictions have the form ` ` and may have a `-` character in front of them to indicate negation. Examples include: * name * source_properties.a_property * security_marks.marks.marka The supported operators are: * `=` for all value types. * `>`, `<`, `>=`, `<=` for integer values. * `:`, meaning substring matching, for strings. The supported value types are: * string literals in quotes. * integer literals without quotes. * boolean literals `true` and `false` without quotes. The following field and operator combinations are supported: * name: `=` * parent: `=`, `:` * resource_name: `=`, `:` * state: `=`, `:` * category: `=`, `:` * external_uri: `=`, `:` * event_time: `=`, `>`, `<`, `>=`, `<=` Usage: This should be milliseconds since epoch or an RFC3339 string. Examples: `event_time = \"2019-06-10T16:07:18-07:00\"` `event_time = 1560208038000` * severity: `=`, `:` * workflow_state: `=`, `:` * security_marks.marks: `=`, `:` * source_properties: `=`, `:`, `>`, `<`, `>=`, `<=` For example, `source_properties.size = 100` is a valid filter string. Use a partial match on the empty string to filter based on a property existing: `source_properties.my_property : \"\"` Use a negated partial match on the empty string to filter based on a property not existing: `-source_properties.my_property : \"\"` * resource: * resource.name: `=`, `:` * resource.parent_name: `=`, `:` * resource.parent_display_name: `=`, `:` * resource.project_name: `=`, `:` * resource.project_display_name: `=`, `:` * resource.type: `=`, `:` * resource.folders.resource_folder: `=`, `:` * resource.display_name: `=`, `:`", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "Expression that defines what fields and order to use for sorting. The string value should follow SQL syntax: comma separated list of fields. For example: \"name,resource_properties.a_property\". The default sorting order is ascending. To specify descending order for a field, a suffix \" desc\" should be appended to the field name. For example: \"name desc,source_properties.a_property\". Redundant space characters in the syntax are insignificant. \"name desc,source_properties.a_property\" and \" name desc , source_properties.a_property \" are equivalent. The following fields are supported: name parent state category resource_name event_time source_properties security_marks.marks", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "The maximum number of results to return in a single response. Default is 10, minimum is 1, maximum is 1000.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The value returned by the last `ListFindingsResponse`; indicates that this is a continuation of a prior `ListFindings` call, and that the system should return the next page of data.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. Name of the source the findings belong to. Its format is `organizations/[organization_id]/sources/[source_id]`, `folders/[folder_id]/sources/[source_id]`, or `projects/[project_id]/sources/[source_id]`. To list across all sources provide a source_id of `-`. For example: `organizations/{organization_id}/sources/-`, `folders/{folder_id}/sources/-` or `projects/{projects_id}/sources/-`", +"location": "path", +"pattern": "^folders/[^/]+/sources/[^/]+$", +"required": true, +"type": "string" +}, +"readTime": { +"deprecated": true, +"description": "Time used as a reference point when filtering findings. The filter is limited to findings existing at the supplied time and their values are those at that specific time. Absence of this field will default to the API's version of NOW.", +"format": "google-datetime", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+parent}/findings", +"response": { +"$ref": "ListFindingsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Creates or updates a finding. The corresponding source must exist for a finding creation to succeed.", +"flatPath": "v1/folders/{foldersId}/sources/{sourcesId}/findings/{findingsId}", +"httpMethod": "PATCH", +"id": "securitycenter.folders.sources.findings.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The [relative resource name](https://cloud.google.com/apis/design/resource_names#relative_resource_name) of the finding. Example: \"organizations/{organization_id}/sources/{source_id}/findings/{finding_id}\", \"folders/{folder_id}/sources/{source_id}/findings/{finding_id}\", \"projects/{project_id}/sources/{source_id}/findings/{finding_id}\".", +"location": "path", +"pattern": "^folders/[^/]+/sources/[^/]+/findings/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "The FieldMask to use when updating the finding resource. This field should not be specified when creating a finding. When updating a finding, an empty mask is treated as updating all mutable fields and replacing source_properties. Individual source_properties can be added/updated by using \"source_properties.\" in the field mask.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "Finding" +}, +"response": { +"$ref": "Finding" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"setMute": { +"description": "Updates the mute state of a finding.", +"flatPath": "v1/folders/{foldersId}/sources/{sourcesId}/findings/{findingsId}:setMute", +"httpMethod": "POST", +"id": "securitycenter.folders.sources.findings.setMute", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The [relative resource name](https://cloud.google.com/apis/design/resource_names#relative_resource_name) of the finding. Example: `organizations/{organization_id}/sources/{source_id}/findings/{finding_id}`, `folders/{folder_id}/sources/{source_id}/findings/{finding_id}`, `projects/{project_id}/sources/{source_id}/findings/{finding_id}`.", +"location": "path", +"pattern": "^folders/[^/]+/sources/[^/]+/findings/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:setMute", +"request": { +"$ref": "SetMuteRequest" +}, +"response": { +"$ref": "Finding" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"setState": { +"description": "Updates the state of a finding.", +"flatPath": "v1/folders/{foldersId}/sources/{sourcesId}/findings/{findingsId}:setState", +"httpMethod": "POST", +"id": "securitycenter.folders.sources.findings.setState", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The [relative resource name](https://cloud.google.com/apis/design/resource_names#relative_resource_name) of the finding. Example: `organizations/{organization_id}/sources/{source_id}/findings/{finding_id}`, `folders/{folder_id}/sources/{source_id}/findings/{finding_id}`, `projects/{project_id}/sources/{source_id}/findings/{finding_id}`.", +"location": "path", +"pattern": "^folders/[^/]+/sources/[^/]+/findings/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:setState", +"request": { +"$ref": "SetFindingStateRequest" +}, +"response": { +"$ref": "Finding" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"updateSecurityMarks": { +"description": "Updates security marks.", +"flatPath": "v1/folders/{foldersId}/sources/{sourcesId}/findings/{findingsId}/securityMarks", +"httpMethod": "PATCH", +"id": "securitycenter.folders.sources.findings.updateSecurityMarks", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The relative resource name of the SecurityMarks. See: https://cloud.google.com/apis/design/resource_names#relative_resource_name Examples: \"organizations/{organization_id}/assets/{asset_id}/securityMarks\" \"organizations/{organization_id}/sources/{source_id}/findings/{finding_id}/securityMarks\".", +"location": "path", +"pattern": "^folders/[^/]+/sources/[^/]+/findings/[^/]+/securityMarks$", +"required": true, +"type": "string" +}, +"startTime": { +"description": "The time at which the updated SecurityMarks take effect. If not set uses current server time. Updates will be applied to the SecurityMarks that are active immediately preceding this time. Must be earlier or equal to the server time.", +"format": "google-datetime", +"location": "query", +"type": "string" +}, +"updateMask": { +"description": "The FieldMask to use when updating the security marks resource. The field mask must not contain duplicate fields. If empty or set to \"marks\", all marks will be replaced. Individual marks can be updated using \"marks.\".", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "SecurityMarks" +}, +"response": { +"$ref": "SecurityMarks" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"externalSystems": { +"methods": { +"patch": { +"description": "Updates external system. This is for a given finding.", +"flatPath": "v1/folders/{foldersId}/sources/{sourcesId}/findings/{findingsId}/externalSystems/{externalSystemsId}", +"httpMethod": "PATCH", +"id": "securitycenter.folders.sources.findings.externalSystems.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Full resource name of the external system, for example: \"organizations/1234/sources/5678/findings/123456/externalSystems/jira\", \"folders/1234/sources/5678/findings/123456/externalSystems/jira\", \"projects/1234/sources/5678/findings/123456/externalSystems/jira\"", +"location": "path", +"pattern": "^folders/[^/]+/sources/[^/]+/findings/[^/]+/externalSystems/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "The FieldMask to use when updating the external system resource. If empty all mutable fields will be updated.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "GoogleCloudSecuritycenterV1ExternalSystem" +}, +"response": { +"$ref": "GoogleCloudSecuritycenterV1ExternalSystem" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +} +} +} +} +}, +"organizations": { +"methods": { +"getOrganizationSettings": { +"description": "Gets the settings for an organization.", +"flatPath": "v1/organizations/{organizationsId}/organizationSettings", +"httpMethod": "GET", +"id": "securitycenter.organizations.getOrganizationSettings", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of the organization to get organization settings for. Its format is `organizations/[organization_id]/organizationSettings`.", +"location": "path", +"pattern": "^organizations/[^/]+/organizationSettings$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "OrganizationSettings" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"updateOrganizationSettings": { +"deprecated": true, +"description": "Updates an organization's settings.", +"flatPath": "v1/organizations/{organizationsId}/organizationSettings", +"httpMethod": "PATCH", +"id": "securitycenter.organizations.updateOrganizationSettings", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The relative resource name of the settings. See: https://cloud.google.com/apis/design/resource_names#relative_resource_name Example: \"organizations/{organization_id}/organizationSettings\".", +"location": "path", +"pattern": "^organizations/[^/]+/organizationSettings$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "The FieldMask to use when updating the settings resource. If empty all mutable fields will be updated.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "OrganizationSettings" +}, +"response": { +"$ref": "OrganizationSettings" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"assets": { +"methods": { +"group": { +"deprecated": true, +"description": "Filters an organization's assets and groups them by their specified properties.", +"flatPath": "v1/organizations/{organizationsId}/assets:group", +"httpMethod": "POST", +"id": "securitycenter.organizations.assets.group", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The name of the parent to group the assets by. Its format is `organizations/[organization_id]`, `folders/[folder_id]`, or `projects/[project_id]`.", +"location": "path", +"pattern": "^organizations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/assets:group", +"request": { +"$ref": "GroupAssetsRequest" +}, +"response": { +"$ref": "GroupAssetsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"deprecated": true, +"description": "Lists an organization's assets.", +"flatPath": "v1/organizations/{organizationsId}/assets", +"httpMethod": "GET", +"id": "securitycenter.organizations.assets.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"compareDuration": { +"description": "When compare_duration is set, the ListAssetsResult's \"state_change\" attribute is updated to indicate whether the asset was added, removed, or remained present during the compare_duration period of time that precedes the read_time. This is the time between (read_time - compare_duration) and read_time. The state_change value is derived based on the presence of the asset at the two points in time. Intermediate state changes between the two times don't affect the result. For example, the results aren't affected if the asset is removed and re-created again. Possible \"state_change\" values when compare_duration is specified: * \"ADDED\": indicates that the asset was not present at the start of compare_duration, but present at read_time. * \"REMOVED\": indicates that the asset was present at the start of compare_duration, but not present at read_time. * \"ACTIVE\": indicates that the asset was present at both the start and the end of the time period defined by compare_duration and read_time. If compare_duration is not specified, then the only possible state_change is \"UNUSED\", which will be the state_change set for all assets present at read_time.", +"format": "google-duration", +"location": "query", +"type": "string" +}, +"fieldMask": { +"description": "A field mask to specify the ListAssetsResult fields to be listed in the response. An empty field mask will list all fields.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +}, +"filter": { +"description": "Expression that defines the filter to apply across assets. The expression is a list of zero or more restrictions combined via logical operators `AND` and `OR`. Parentheses are supported, and `OR` has higher precedence than `AND`. Restrictions have the form ` ` and may have a `-` character in front of them to indicate negation. The fields map to those defined in the Asset resource. Examples include: * name * security_center_properties.resource_name * resource_properties.a_property * security_marks.marks.marka The supported operators are: * `=` for all value types. * `>`, `<`, `>=`, `<=` for integer values. * `:`, meaning substring matching, for strings. The supported value types are: * string literals in quotes. * integer literals without quotes. * boolean literals `true` and `false` without quotes. The following are the allowed field and operator combinations: * name: `=` * update_time: `=`, `>`, `<`, `>=`, `<=` Usage: This should be milliseconds since epoch or an RFC3339 string. Examples: `update_time = \"2019-06-10T16:07:18-07:00\"` `update_time = 1560208038000` * create_time: `=`, `>`, `<`, `>=`, `<=` Usage: This should be milliseconds since epoch or an RFC3339 string. Examples: `create_time = \"2019-06-10T16:07:18-07:00\"` `create_time = 1560208038000` * iam_policy.policy_blob: `=`, `:` * resource_properties: `=`, `:`, `>`, `<`, `>=`, `<=` * security_marks.marks: `=`, `:` * security_center_properties.resource_name: `=`, `:` * security_center_properties.resource_display_name: `=`, `:` * security_center_properties.resource_type: `=`, `:` * security_center_properties.resource_parent: `=`, `:` * security_center_properties.resource_parent_display_name: `=`, `:` * security_center_properties.resource_project: `=`, `:` * security_center_properties.resource_project_display_name: `=`, `:` * security_center_properties.resource_owners: `=`, `:` For example, `resource_properties.size = 100` is a valid filter string. Use a partial match on the empty string to filter based on a property existing: `resource_properties.my_property : \"\"` Use a negated partial match on the empty string to filter based on a property not existing: `-resource_properties.my_property : \"\"`", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "Expression that defines what fields and order to use for sorting. The string value should follow SQL syntax: comma separated list of fields. For example: \"name,resource_properties.a_property\". The default sorting order is ascending. To specify descending order for a field, a suffix \" desc\" should be appended to the field name. For example: \"name desc,resource_properties.a_property\". Redundant space characters in the syntax are insignificant. \"name desc,resource_properties.a_property\" and \" name desc , resource_properties.a_property \" are equivalent. The following fields are supported: name update_time resource_properties security_marks.marks security_center_properties.resource_name security_center_properties.resource_display_name security_center_properties.resource_parent security_center_properties.resource_parent_display_name security_center_properties.resource_project security_center_properties.resource_project_display_name security_center_properties.resource_type", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "The maximum number of results to return in a single response. Default is 10, minimum is 1, maximum is 1000.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The value returned by the last `ListAssetsResponse`; indicates that this is a continuation of a prior `ListAssets` call, and that the system should return the next page of data.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The name of the parent resource that contains the assets. The value that you can specify on parent depends on the method in which you specify parent. You can specify one of the following values: `organizations/[organization_id]`, `folders/[folder_id]`, or `projects/[project_id]`.", +"location": "path", +"pattern": "^organizations/[^/]+$", +"required": true, +"type": "string" +}, +"readTime": { +"description": "Time used as a reference point when filtering assets. The filter is limited to assets existing at the supplied time and their values are those at that specific time. Absence of this field will default to the API's version of NOW.", +"format": "google-datetime", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+parent}/assets", +"response": { +"$ref": "ListAssetsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"runDiscovery": { +"deprecated": true, +"description": "Runs asset discovery. The discovery is tracked with a long-running operation. This API can only be called with limited frequency for an organization. If it is called too frequently the caller will receive a TOO_MANY_REQUESTS error.", +"flatPath": "v1/organizations/{organizationsId}/assets:runDiscovery", +"httpMethod": "POST", +"id": "securitycenter.organizations.assets.runDiscovery", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. Name of the organization to run asset discovery for. Its format is `organizations/[organization_id]`.", +"location": "path", +"pattern": "^organizations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/assets:runDiscovery", +"request": { +"$ref": "RunAssetDiscoveryRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"updateSecurityMarks": { +"description": "Updates security marks.", +"flatPath": "v1/organizations/{organizationsId}/assets/{assetsId}/securityMarks", +"httpMethod": "PATCH", +"id": "securitycenter.organizations.assets.updateSecurityMarks", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The relative resource name of the SecurityMarks. See: https://cloud.google.com/apis/design/resource_names#relative_resource_name Examples: \"organizations/{organization_id}/assets/{asset_id}/securityMarks\" \"organizations/{organization_id}/sources/{source_id}/findings/{finding_id}/securityMarks\".", +"location": "path", +"pattern": "^organizations/[^/]+/assets/[^/]+/securityMarks$", +"required": true, +"type": "string" +}, +"startTime": { +"description": "The time at which the updated SecurityMarks take effect. If not set uses current server time. Updates will be applied to the SecurityMarks that are active immediately preceding this time. Must be earlier or equal to the server time.", +"format": "google-datetime", +"location": "query", +"type": "string" +}, +"updateMask": { +"description": "The FieldMask to use when updating the security marks resource. The field mask must not contain duplicate fields. If empty or set to \"marks\", all marks will be replaced. Individual marks can be updated using \"marks.\".", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "SecurityMarks" +}, +"response": { +"$ref": "SecurityMarks" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"attackPaths": { +"methods": { +"list": { +"description": "Lists the attack paths for a set of simulation results or valued resources and filter.", +"flatPath": "v1/organizations/{organizationsId}/attackPaths", +"httpMethod": "GET", +"id": "securitycenter.organizations.attackPaths.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "The filter expression that filters the attack path in the response. Supported fields: * `valued_resources` supports =", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "The maximum number of results to return in a single response. Default is 10, minimum is 1, maximum is 1000.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The value returned by the last `ListAttackPathsResponse`; indicates that this is a continuation of a prior `ListAttackPaths` call, and that the system should return the next page of data.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. Name of parent to list attack paths. Valid formats: `organizations/{organization}`, `organizations/{organization}/simulations/{simulation}` `organizations/{organization}/simulations/{simulation}/attackExposureResults/{attack_exposure_result_v2}` `organizations/{organization}/simulations/{simulation}/valuedResources/{valued_resource}`", +"location": "path", +"pattern": "^organizations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/attackPaths", +"response": { +"$ref": "ListAttackPathsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"bigQueryExports": { +"methods": { +"create": { +"description": "Creates a BigQuery export.", +"flatPath": "v1/organizations/{organizationsId}/bigQueryExports", +"httpMethod": "POST", +"id": "securitycenter.organizations.bigQueryExports.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"bigQueryExportId": { +"description": "Required. Unique identifier provided by the client within the parent scope. It must consist of only lowercase letters, numbers, and hyphens, must start with a letter, must end with either a letter or a number, and must be 63 characters or less.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The name of the parent resource of the new BigQuery export. Its format is `organizations/[organization_id]`, `folders/[folder_id]`, or `projects/[project_id]`.", +"location": "path", +"pattern": "^organizations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/bigQueryExports", +"request": { +"$ref": "GoogleCloudSecuritycenterV1BigQueryExport" +}, +"response": { +"$ref": "GoogleCloudSecuritycenterV1BigQueryExport" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes an existing BigQuery export.", +"flatPath": "v1/organizations/{organizationsId}/bigQueryExports/{bigQueryExportsId}", +"httpMethod": "DELETE", +"id": "securitycenter.organizations.bigQueryExports.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the BigQuery export to delete. Its format is `organizations/{organization}/bigQueryExports/{export_id}`, `folders/{folder}/bigQueryExports/{export_id}`, or `projects/{project}/bigQueryExports/{export_id}`", +"location": "path", +"pattern": "^organizations/[^/]+/bigQueryExports/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets a BigQuery export.", +"flatPath": "v1/organizations/{organizationsId}/bigQueryExports/{bigQueryExportsId}", +"httpMethod": "GET", +"id": "securitycenter.organizations.bigQueryExports.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of the BigQuery export to retrieve. Its format is `organizations/{organization}/bigQueryExports/{export_id}`, `folders/{folder}/bigQueryExports/{export_id}`, or `projects/{project}/bigQueryExports/{export_id}`", +"location": "path", +"pattern": "^organizations/[^/]+/bigQueryExports/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleCloudSecuritycenterV1BigQueryExport" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists BigQuery exports. Note that when requesting BigQuery exports at a given level all exports under that level are also returned e.g. if requesting BigQuery exports under a folder, then all BigQuery exports immediately under the folder plus the ones created under the projects within the folder are returned.", +"flatPath": "v1/organizations/{organizationsId}/bigQueryExports", +"httpMethod": "GET", +"id": "securitycenter.organizations.bigQueryExports.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "The maximum number of configs to return. The service may return fewer than this value. If unspecified, at most 10 configs will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A page token, received from a previous `ListBigQueryExports` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListBigQueryExports` must match the call that provided the page token.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent, which owns the collection of BigQuery exports. Its format is `organizations/[organization_id]`, `folders/[folder_id]`, `projects/[project_id]`.", +"location": "path", +"pattern": "^organizations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/bigQueryExports", +"response": { +"$ref": "ListBigQueryExportsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates a BigQuery export.", +"flatPath": "v1/organizations/{organizationsId}/bigQueryExports/{bigQueryExportsId}", +"httpMethod": "PATCH", +"id": "securitycenter.organizations.bigQueryExports.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The relative resource name of this export. See: https://cloud.google.com/apis/design/resource_names#relative_resource_name. Example format: \"organizations/{organization_id}/bigQueryExports/{export_id}\" Example format: \"folders/{folder_id}/bigQueryExports/{export_id}\" Example format: \"projects/{project_id}/bigQueryExports/{export_id}\" This field is provided in responses, and is ignored when provided in create requests.", +"location": "path", +"pattern": "^organizations/[^/]+/bigQueryExports/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "The list of fields to be updated. If empty all mutable fields will be updated.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "GoogleCloudSecuritycenterV1BigQueryExport" +}, +"response": { +"$ref": "GoogleCloudSecuritycenterV1BigQueryExport" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"eventThreatDetectionSettings": { +"methods": { +"validateCustomModule": { +"description": "Validates the given Event Threat Detection custom module.", +"flatPath": "v1/organizations/{organizationsId}/eventThreatDetectionSettings:validateCustomModule", +"httpMethod": "POST", +"id": "securitycenter.organizations.eventThreatDetectionSettings.validateCustomModule", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. Resource name of the parent to validate the Custom Module under. Its format is: * `organizations/{organization}/eventThreatDetectionSettings`. * `folders/{folder}/eventThreatDetectionSettings`. * `projects/{project}/eventThreatDetectionSettings`.", +"location": "path", +"pattern": "^organizations/[^/]+/eventThreatDetectionSettings$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}:validateCustomModule", +"request": { +"$ref": "ValidateEventThreatDetectionCustomModuleRequest" +}, +"response": { +"$ref": "ValidateEventThreatDetectionCustomModuleResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"customModules": { +"methods": { +"create": { +"description": "Creates a resident Event Threat Detection custom module at the scope of the given Resource Manager parent, and also creates inherited custom modules for all descendants of the given parent. These modules are enabled by default.", +"flatPath": "v1/organizations/{organizationsId}/eventThreatDetectionSettings/customModules", +"httpMethod": "POST", +"id": "securitycenter.organizations.eventThreatDetectionSettings.customModules.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The new custom module's parent. Its format is: * `organizations/{organization}/eventThreatDetectionSettings`. * `folders/{folder}/eventThreatDetectionSettings`. * `projects/{project}/eventThreatDetectionSettings`.", +"location": "path", +"pattern": "^organizations/[^/]+/eventThreatDetectionSettings$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/customModules", +"request": { +"$ref": "EventThreatDetectionCustomModule" +}, +"response": { +"$ref": "EventThreatDetectionCustomModule" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes the specified Event Threat Detection custom module and all of its descendants in the Resource Manager hierarchy. This method is only supported for resident custom modules.", +"flatPath": "v1/organizations/{organizationsId}/eventThreatDetectionSettings/customModules/{customModulesId}", +"httpMethod": "DELETE", +"id": "securitycenter.organizations.eventThreatDetectionSettings.customModules.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of the custom module to delete. Its format is: * `organizations/{organization}/eventThreatDetectionSettings/customModules/{module}`. * `folders/{folder}/eventThreatDetectionSettings/customModules/{module}`. * `projects/{project}/eventThreatDetectionSettings/customModules/{module}`.", +"location": "path", +"pattern": "^organizations/[^/]+/eventThreatDetectionSettings/customModules/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets an Event Threat Detection custom module.", +"flatPath": "v1/organizations/{organizationsId}/eventThreatDetectionSettings/customModules/{customModulesId}", +"httpMethod": "GET", +"id": "securitycenter.organizations.eventThreatDetectionSettings.customModules.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of the custom module to get. Its format is: * `organizations/{organization}/eventThreatDetectionSettings/customModules/{module}`. * `folders/{folder}/eventThreatDetectionSettings/customModules/{module}`. * `projects/{project}/eventThreatDetectionSettings/customModules/{module}`.", +"location": "path", +"pattern": "^organizations/[^/]+/eventThreatDetectionSettings/customModules/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "EventThreatDetectionCustomModule" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists all Event Threat Detection custom modules for the given Resource Manager parent. This includes resident modules defined at the scope of the parent along with modules inherited from ancestors.", +"flatPath": "v1/organizations/{organizationsId}/eventThreatDetectionSettings/customModules", +"httpMethod": "GET", +"id": "securitycenter.organizations.eventThreatDetectionSettings.customModules.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "The maximum number of modules to return. The service may return fewer than this value. If unspecified, at most 10 configs will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A page token, received from a previous `ListEventThreatDetectionCustomModules` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListEventThreatDetectionCustomModules` must match the call that provided the page token.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. Name of the parent to list custom modules under. Its format is: * `organizations/{organization}/eventThreatDetectionSettings`. * `folders/{folder}/eventThreatDetectionSettings`. * `projects/{project}/eventThreatDetectionSettings`.", +"location": "path", +"pattern": "^organizations/[^/]+/eventThreatDetectionSettings$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/customModules", +"response": { +"$ref": "ListEventThreatDetectionCustomModulesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"listDescendant": { +"description": "Lists all resident Event Threat Detection custom modules under the given Resource Manager parent and its descendants.", +"flatPath": "v1/organizations/{organizationsId}/eventThreatDetectionSettings/customModules:listDescendant", +"httpMethod": "GET", +"id": "securitycenter.organizations.eventThreatDetectionSettings.customModules.listDescendant", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "The maximum number of modules to return. The service may return fewer than this value. If unspecified, at most 10 configs will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A page token, received from a previous `ListDescendantEventThreatDetectionCustomModules` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListDescendantEventThreatDetectionCustomModules` must match the call that provided the page token.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. Name of the parent to list custom modules under. Its format is: * `organizations/{organization}/eventThreatDetectionSettings`. * `folders/{folder}/eventThreatDetectionSettings`. * `projects/{project}/eventThreatDetectionSettings`.", +"location": "path", +"pattern": "^organizations/[^/]+/eventThreatDetectionSettings$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/customModules:listDescendant", +"response": { +"$ref": "ListDescendantEventThreatDetectionCustomModulesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates the Event Threat Detection custom module with the given name based on the given update mask. Updating the enablement state is supported for both resident and inherited modules (though resident modules cannot have an enablement state of \"inherited\"). Updating the display name or configuration of a module is supported for resident modules only. The type of a module cannot be changed.", +"flatPath": "v1/organizations/{organizationsId}/eventThreatDetectionSettings/customModules/{customModulesId}", +"httpMethod": "PATCH", +"id": "securitycenter.organizations.eventThreatDetectionSettings.customModules.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Immutable. The resource name of the Event Threat Detection custom module. Its format is: * `organizations/{organization}/eventThreatDetectionSettings/customModules/{module}`. * `folders/{folder}/eventThreatDetectionSettings/customModules/{module}`. * `projects/{project}/eventThreatDetectionSettings/customModules/{module}`.", +"location": "path", +"pattern": "^organizations/[^/]+/eventThreatDetectionSettings/customModules/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "The list of fields to be updated. If empty all mutable fields will be updated.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "EventThreatDetectionCustomModule" +}, +"response": { +"$ref": "EventThreatDetectionCustomModule" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"effectiveCustomModules": { +"methods": { +"get": { +"description": "Gets an effective Event Threat Detection custom module at the given level.", +"flatPath": "v1/organizations/{organizationsId}/eventThreatDetectionSettings/effectiveCustomModules/{effectiveCustomModulesId}", +"httpMethod": "GET", +"id": "securitycenter.organizations.eventThreatDetectionSettings.effectiveCustomModules.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the effective Event Threat Detection custom module. Its format is: * `organizations/{organization}/eventThreatDetectionSettings/effectiveCustomModules/{module}`. * `folders/{folder}/eventThreatDetectionSettings/effectiveCustomModules/{module}`. * `projects/{project}/eventThreatDetectionSettings/effectiveCustomModules/{module}`.", +"location": "path", +"pattern": "^organizations/[^/]+/eventThreatDetectionSettings/effectiveCustomModules/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "EffectiveEventThreatDetectionCustomModule" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists all effective Event Threat Detection custom modules for the given parent. This includes resident modules defined at the scope of the parent along with modules inherited from its ancestors.", +"flatPath": "v1/organizations/{organizationsId}/eventThreatDetectionSettings/effectiveCustomModules", +"httpMethod": "GET", +"id": "securitycenter.organizations.eventThreatDetectionSettings.effectiveCustomModules.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "The maximum number of modules to return. The service may return fewer than this value. If unspecified, at most 10 configs will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A page token, received from a previous `ListEffectiveEventThreatDetectionCustomModules` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListEffectiveEventThreatDetectionCustomModules` must match the call that provided the page token.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. Name of the parent to list custom modules for. Its format is: * `organizations/{organization}/eventThreatDetectionSettings`. * `folders/{folder}/eventThreatDetectionSettings`. * `projects/{project}/eventThreatDetectionSettings`.", +"location": "path", +"pattern": "^organizations/[^/]+/eventThreatDetectionSettings$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/effectiveCustomModules", +"response": { +"$ref": "ListEffectiveEventThreatDetectionCustomModulesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +}, +"findings": { +"methods": { +"bulkMute": { +"description": "Kicks off an LRO to bulk mute findings for a parent based on a filter. The parent can be either an organization, folder or project. The findings matched by the filter will be muted after the LRO is done.", +"flatPath": "v1/organizations/{organizationsId}/findings:bulkMute", +"httpMethod": "POST", +"id": "securitycenter.organizations.findings.bulkMute", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The parent, at which bulk action needs to be applied. Its format is `organizations/[organization_id]`, `folders/[folder_id]`, `projects/[project_id]`.", +"location": "path", +"pattern": "^organizations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/findings:bulkMute", +"request": { +"$ref": "BulkMuteFindingsRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"locations": { +"resources": { +"muteConfigs": { +"methods": { +"delete": { +"description": "Deletes an existing mute config.", +"flatPath": "v1/organizations/{organizationsId}/locations/{locationsId}/muteConfigs/{muteConfigsId}", +"httpMethod": "DELETE", +"id": "securitycenter.organizations.locations.muteConfigs.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of the mute config to delete. Its format is `organizations/{organization}/muteConfigs/{config_id}`, `folders/{folder}/muteConfigs/{config_id}`, `projects/{project}/muteConfigs/{config_id}`, `organizations/{organization}/locations/global/muteConfigs/{config_id}`, `folders/{folder}/locations/global/muteConfigs/{config_id}`, or `projects/{project}/locations/global/muteConfigs/{config_id}`.", +"location": "path", +"pattern": "^organizations/[^/]+/locations/[^/]+/muteConfigs/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets a mute config.", +"flatPath": "v1/organizations/{organizationsId}/locations/{locationsId}/muteConfigs/{muteConfigsId}", +"httpMethod": "GET", +"id": "securitycenter.organizations.locations.muteConfigs.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of the mute config to retrieve. Its format is `organizations/{organization}/muteConfigs/{config_id}`, `folders/{folder}/muteConfigs/{config_id}`, `projects/{project}/muteConfigs/{config_id}`, `organizations/{organization}/locations/global/muteConfigs/{config_id}`, `folders/{folder}/locations/global/muteConfigs/{config_id}`, or `projects/{project}/locations/global/muteConfigs/{config_id}`.", +"location": "path", +"pattern": "^organizations/[^/]+/locations/[^/]+/muteConfigs/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleCloudSecuritycenterV1MuteConfig" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates a mute config.", +"flatPath": "v1/organizations/{organizationsId}/locations/{locationsId}/muteConfigs/{muteConfigsId}", +"httpMethod": "PATCH", +"id": "securitycenter.organizations.locations.muteConfigs.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "This field will be ignored if provided on config creation. Format `organizations/{organization}/muteConfigs/{mute_config}` `folders/{folder}/muteConfigs/{mute_config}` `projects/{project}/muteConfigs/{mute_config}` `organizations/{organization}/locations/global/muteConfigs/{mute_config}` `folders/{folder}/locations/global/muteConfigs/{mute_config}` `projects/{project}/locations/global/muteConfigs/{mute_config}`", +"location": "path", +"pattern": "^organizations/[^/]+/locations/[^/]+/muteConfigs/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "The list of fields to be updated. If empty all mutable fields will be updated.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "GoogleCloudSecuritycenterV1MuteConfig" +}, +"response": { +"$ref": "GoogleCloudSecuritycenterV1MuteConfig" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +}, +"muteConfigs": { +"methods": { +"create": { +"description": "Creates a mute config.", +"flatPath": "v1/organizations/{organizationsId}/muteConfigs", +"httpMethod": "POST", +"id": "securitycenter.organizations.muteConfigs.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"muteConfigId": { +"description": "Required. Unique identifier provided by the client within the parent scope. It must consist of only lowercase letters, numbers, and hyphens, must start with a letter, must end with either a letter or a number, and must be 63 characters or less.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. Resource name of the new mute configs's parent. Its format is `organizations/[organization_id]`, `folders/[folder_id]`, or `projects/[project_id]`.", +"location": "path", +"pattern": "^organizations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/muteConfigs", +"request": { +"$ref": "GoogleCloudSecuritycenterV1MuteConfig" +}, +"response": { +"$ref": "GoogleCloudSecuritycenterV1MuteConfig" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes an existing mute config.", +"flatPath": "v1/organizations/{organizationsId}/muteConfigs/{muteConfigsId}", +"httpMethod": "DELETE", +"id": "securitycenter.organizations.muteConfigs.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of the mute config to delete. Its format is `organizations/{organization}/muteConfigs/{config_id}`, `folders/{folder}/muteConfigs/{config_id}`, `projects/{project}/muteConfigs/{config_id}`, `organizations/{organization}/locations/global/muteConfigs/{config_id}`, `folders/{folder}/locations/global/muteConfigs/{config_id}`, or `projects/{project}/locations/global/muteConfigs/{config_id}`.", +"location": "path", +"pattern": "^organizations/[^/]+/muteConfigs/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets a mute config.", +"flatPath": "v1/organizations/{organizationsId}/muteConfigs/{muteConfigsId}", +"httpMethod": "GET", +"id": "securitycenter.organizations.muteConfigs.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of the mute config to retrieve. Its format is `organizations/{organization}/muteConfigs/{config_id}`, `folders/{folder}/muteConfigs/{config_id}`, `projects/{project}/muteConfigs/{config_id}`, `organizations/{organization}/locations/global/muteConfigs/{config_id}`, `folders/{folder}/locations/global/muteConfigs/{config_id}`, or `projects/{project}/locations/global/muteConfigs/{config_id}`.", +"location": "path", +"pattern": "^organizations/[^/]+/muteConfigs/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleCloudSecuritycenterV1MuteConfig" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists mute configs.", +"flatPath": "v1/organizations/{organizationsId}/muteConfigs", +"httpMethod": "GET", +"id": "securitycenter.organizations.muteConfigs.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "The maximum number of configs to return. The service may return fewer than this value. If unspecified, at most 10 configs will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A page token, received from a previous `ListMuteConfigs` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListMuteConfigs` must match the call that provided the page token.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent, which owns the collection of mute configs. Its format is `organizations/[organization_id]`, `folders/[folder_id]`, `projects/[project_id]`.", +"location": "path", +"pattern": "^organizations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/muteConfigs", +"response": { +"$ref": "ListMuteConfigsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates a mute config.", +"flatPath": "v1/organizations/{organizationsId}/muteConfigs/{muteConfigsId}", +"httpMethod": "PATCH", +"id": "securitycenter.organizations.muteConfigs.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "This field will be ignored if provided on config creation. Format `organizations/{organization}/muteConfigs/{mute_config}` `folders/{folder}/muteConfigs/{mute_config}` `projects/{project}/muteConfigs/{mute_config}` `organizations/{organization}/locations/global/muteConfigs/{mute_config}` `folders/{folder}/locations/global/muteConfigs/{mute_config}` `projects/{project}/locations/global/muteConfigs/{mute_config}`", +"location": "path", +"pattern": "^organizations/[^/]+/muteConfigs/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "The list of fields to be updated. If empty all mutable fields will be updated.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "GoogleCloudSecuritycenterV1MuteConfig" +}, +"response": { +"$ref": "GoogleCloudSecuritycenterV1MuteConfig" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"notificationConfigs": { +"methods": { +"create": { +"description": "Creates a notification config.", +"flatPath": "v1/organizations/{organizationsId}/notificationConfigs", +"httpMethod": "POST", +"id": "securitycenter.organizations.notificationConfigs.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"configId": { +"description": "Required. Unique identifier provided by the client within the parent scope. It must be between 1 and 128 characters and contain alphanumeric characters, underscores, or hyphens only.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. Resource name of the new notification config's parent. Its format is `organizations/[organization_id]`, `folders/[folder_id]`, or `projects/[project_id]`.", +"location": "path", +"pattern": "^organizations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/notificationConfigs", +"request": { +"$ref": "NotificationConfig" +}, +"response": { +"$ref": "NotificationConfig" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a notification config.", +"flatPath": "v1/organizations/{organizationsId}/notificationConfigs/{notificationConfigsId}", +"httpMethod": "DELETE", +"id": "securitycenter.organizations.notificationConfigs.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of the notification config to delete. Its format is `organizations/[organization_id]/notificationConfigs/[config_id]`, `folders/[folder_id]/notificationConfigs/[config_id]`, or `projects/[project_id]/notificationConfigs/[config_id]`.", +"location": "path", +"pattern": "^organizations/[^/]+/notificationConfigs/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets a notification config.", +"flatPath": "v1/organizations/{organizationsId}/notificationConfigs/{notificationConfigsId}", +"httpMethod": "GET", +"id": "securitycenter.organizations.notificationConfigs.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of the notification config to get. Its format is `organizations/[organization_id]/notificationConfigs/[config_id]`, `folders/[folder_id]/notificationConfigs/[config_id]`, or `projects/[project_id]/notificationConfigs/[config_id]`.", +"location": "path", +"pattern": "^organizations/[^/]+/notificationConfigs/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "NotificationConfig" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists notification configs.", +"flatPath": "v1/organizations/{organizationsId}/notificationConfigs", +"httpMethod": "GET", +"id": "securitycenter.organizations.notificationConfigs.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "The maximum number of results to return in a single response. Default is 10, minimum is 1, maximum is 1000.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The value returned by the last `ListNotificationConfigsResponse`; indicates that this is a continuation of a prior `ListNotificationConfigs` call, and that the system should return the next page of data.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The name of the parent in which to list the notification configurations. Its format is \"organizations/[organization_id]\", \"folders/[folder_id]\", or \"projects/[project_id]\".", +"location": "path", +"pattern": "^organizations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/notificationConfigs", +"response": { +"$ref": "ListNotificationConfigsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": " Updates a notification config. The following update fields are allowed: description, pubsub_topic, streaming_config.filter", +"flatPath": "v1/organizations/{organizationsId}/notificationConfigs/{notificationConfigsId}", +"httpMethod": "PATCH", +"id": "securitycenter.organizations.notificationConfigs.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The relative resource name of this notification config. See: https://cloud.google.com/apis/design/resource_names#relative_resource_name Example: \"organizations/{organization_id}/notificationConfigs/notify_public_bucket\", \"folders/{folder_id}/notificationConfigs/notify_public_bucket\", or \"projects/{project_id}/notificationConfigs/notify_public_bucket\".", +"location": "path", +"pattern": "^organizations/[^/]+/notificationConfigs/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "The FieldMask to use when updating the notification config. If empty all mutable fields will be updated.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "NotificationConfig" +}, +"response": { +"$ref": "NotificationConfig" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"operations": { +"methods": { +"cancel": { +"description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.", +"flatPath": "v1/organizations/{organizationsId}/operations/{operationsId}:cancel", +"httpMethod": "POST", +"id": "securitycenter.organizations.operations.cancel", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be cancelled.", +"location": "path", +"pattern": "^organizations/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:cancel", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.", +"flatPath": "v1/organizations/{organizationsId}/operations/{operationsId}", +"httpMethod": "DELETE", +"id": "securitycenter.organizations.operations.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be deleted.", +"location": "path", +"pattern": "^organizations/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", +"flatPath": "v1/organizations/{organizationsId}/operations/{operationsId}", +"httpMethod": "GET", +"id": "securitycenter.organizations.operations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource.", +"location": "path", +"pattern": "^organizations/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.", +"flatPath": "v1/organizations/{organizationsId}/operations", +"httpMethod": "GET", +"id": "securitycenter.organizations.operations.list", +"parameterOrder": [ +"name" +], +"parameters": { +"filter": { +"description": "The standard list filter.", +"location": "query", +"type": "string" +}, +"name": { +"description": "The name of the operation's parent resource.", +"location": "path", +"pattern": "^organizations/[^/]+/operations$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The standard list page size.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The standard list page token.", +"location": "query", +"type": "string" +}, +"returnPartialSuccess": { +"description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `\"projects/example/locations/-\"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "ListOperationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"resourceValueConfigs": { +"methods": { +"batchCreate": { +"description": "Creates a ResourceValueConfig for an organization. Maps user's tags to difference resource values for use by the attack path simulation.", +"flatPath": "v1/organizations/{organizationsId}/resourceValueConfigs:batchCreate", +"httpMethod": "POST", +"id": "securitycenter.organizations.resourceValueConfigs.batchCreate", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. Resource name of the new ResourceValueConfig's parent. The parent field in the CreateResourceValueConfigRequest messages must either be empty or match this field.", +"location": "path", +"pattern": "^organizations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/resourceValueConfigs:batchCreate", +"request": { +"$ref": "BatchCreateResourceValueConfigsRequest" +}, +"response": { +"$ref": "BatchCreateResourceValueConfigsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a ResourceValueConfig.", +"flatPath": "v1/organizations/{organizationsId}/resourceValueConfigs/{resourceValueConfigsId}", +"httpMethod": "DELETE", +"id": "securitycenter.organizations.resourceValueConfigs.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of the ResourceValueConfig to delete", +"location": "path", +"pattern": "^organizations/[^/]+/resourceValueConfigs/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets a ResourceValueConfig.", +"flatPath": "v1/organizations/{organizationsId}/resourceValueConfigs/{resourceValueConfigsId}", +"httpMethod": "GET", +"id": "securitycenter.organizations.resourceValueConfigs.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of the resource value config to retrieve. Its format is `organizations/{organization}/resourceValueConfigs/{config_id}`.", +"location": "path", +"pattern": "^organizations/[^/]+/resourceValueConfigs/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleCloudSecuritycenterV1ResourceValueConfig" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists all ResourceValueConfigs.", +"flatPath": "v1/organizations/{organizationsId}/resourceValueConfigs", +"httpMethod": "GET", +"id": "securitycenter.organizations.resourceValueConfigs.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "The number of results to return. The service may return fewer than this value. If unspecified, at most 10 configs will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A page token, received from a previous `ListResourceValueConfigs` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListResourceValueConfigs` must match the call that provided the page token. page_size can be specified, and the new page_size will be used.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent, which owns the collection of resource value configs. Its format is `organizations/[organization_id]`", +"location": "path", +"pattern": "^organizations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/resourceValueConfigs", +"response": { +"$ref": "ListResourceValueConfigsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates an existing ResourceValueConfigs with new rules.", +"flatPath": "v1/organizations/{organizationsId}/resourceValueConfigs/{resourceValueConfigsId}", +"httpMethod": "PATCH", +"id": "securitycenter.organizations.resourceValueConfigs.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Name for the resource value configuration", +"location": "path", +"pattern": "^organizations/[^/]+/resourceValueConfigs/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "The list of fields to be updated. If empty all mutable fields will be updated.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "GoogleCloudSecuritycenterV1ResourceValueConfig" +}, +"response": { +"$ref": "GoogleCloudSecuritycenterV1ResourceValueConfig" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"securityHealthAnalyticsSettings": { +"resources": { +"customModules": { +"methods": { +"create": { +"description": "Creates a resident SecurityHealthAnalyticsCustomModule at the scope of the given CRM parent, and also creates inherited SecurityHealthAnalyticsCustomModules for all CRM descendants of the given parent. These modules are enabled by default.", +"flatPath": "v1/organizations/{organizationsId}/securityHealthAnalyticsSettings/customModules", +"httpMethod": "POST", +"id": "securitycenter.organizations.securityHealthAnalyticsSettings.customModules.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. Resource name of the new custom module's parent. Its format is `organizations/{organization}/securityHealthAnalyticsSettings`, `folders/{folder}/securityHealthAnalyticsSettings`, or `projects/{project}/securityHealthAnalyticsSettings`", +"location": "path", +"pattern": "^organizations/[^/]+/securityHealthAnalyticsSettings$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/customModules", +"request": { +"$ref": "GoogleCloudSecuritycenterV1SecurityHealthAnalyticsCustomModule" +}, +"response": { +"$ref": "GoogleCloudSecuritycenterV1SecurityHealthAnalyticsCustomModule" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes the specified SecurityHealthAnalyticsCustomModule and all of its descendants in the CRM hierarchy. This method is only supported for resident custom modules.", +"flatPath": "v1/organizations/{organizationsId}/securityHealthAnalyticsSettings/customModules/{customModulesId}", +"httpMethod": "DELETE", +"id": "securitycenter.organizations.securityHealthAnalyticsSettings.customModules.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of the custom module to delete. Its format is `organizations/{organization}/securityHealthAnalyticsSettings/customModules/{customModule}`, `folders/{folder}/securityHealthAnalyticsSettings/customModules/{customModule}`, or `projects/{project}/securityHealthAnalyticsSettings/customModules/{customModule}`", +"location": "path", +"pattern": "^organizations/[^/]+/securityHealthAnalyticsSettings/customModules/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Retrieves a SecurityHealthAnalyticsCustomModule.", +"flatPath": "v1/organizations/{organizationsId}/securityHealthAnalyticsSettings/customModules/{customModulesId}", +"httpMethod": "GET", +"id": "securitycenter.organizations.securityHealthAnalyticsSettings.customModules.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of the custom module to get. Its format is `organizations/{organization}/securityHealthAnalyticsSettings/customModules/{customModule}`, `folders/{folder}/securityHealthAnalyticsSettings/customModules/{customModule}`, or `projects/{project}/securityHealthAnalyticsSettings/customModules/{customModule}`", +"location": "path", +"pattern": "^organizations/[^/]+/securityHealthAnalyticsSettings/customModules/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleCloudSecuritycenterV1SecurityHealthAnalyticsCustomModule" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Returns a list of all SecurityHealthAnalyticsCustomModules for the given parent. This includes resident modules defined at the scope of the parent, and inherited modules, inherited from CRM ancestors.", +"flatPath": "v1/organizations/{organizationsId}/securityHealthAnalyticsSettings/customModules", +"httpMethod": "GET", +"id": "securitycenter.organizations.securityHealthAnalyticsSettings.customModules.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "The maximum number of results to return in a single response. Default is 10, minimum is 1, maximum is 1000.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The value returned by the last call indicating a continuation", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. Name of parent to list custom modules. Its format is `organizations/{organization}/securityHealthAnalyticsSettings`, `folders/{folder}/securityHealthAnalyticsSettings`, or `projects/{project}/securityHealthAnalyticsSettings`", +"location": "path", +"pattern": "^organizations/[^/]+/securityHealthAnalyticsSettings$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/customModules", +"response": { +"$ref": "ListSecurityHealthAnalyticsCustomModulesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"listDescendant": { +"description": "Returns a list of all resident SecurityHealthAnalyticsCustomModules under the given CRM parent and all of the parent\u2019s CRM descendants.", +"flatPath": "v1/organizations/{organizationsId}/securityHealthAnalyticsSettings/customModules:listDescendant", +"httpMethod": "GET", +"id": "securitycenter.organizations.securityHealthAnalyticsSettings.customModules.listDescendant", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "The maximum number of results to return in a single response. Default is 10, minimum is 1, maximum is 1000.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The value returned by the last call indicating a continuation", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. Name of parent to list descendant custom modules. Its format is `organizations/{organization}/securityHealthAnalyticsSettings`, `folders/{folder}/securityHealthAnalyticsSettings`, or `projects/{project}/securityHealthAnalyticsSettings`", +"location": "path", +"pattern": "^organizations/[^/]+/securityHealthAnalyticsSettings$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/customModules:listDescendant", +"response": { +"$ref": "ListDescendantSecurityHealthAnalyticsCustomModulesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates the SecurityHealthAnalyticsCustomModule under the given name based on the given update mask. Updating the enablement state is supported on both resident and inherited modules (though resident modules cannot have an enablement state of \"inherited\"). Updating the display name and custom config of a module is supported on resident modules only.", +"flatPath": "v1/organizations/{organizationsId}/securityHealthAnalyticsSettings/customModules/{customModulesId}", +"httpMethod": "PATCH", +"id": "securitycenter.organizations.securityHealthAnalyticsSettings.customModules.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Immutable. The resource name of the custom module. Its format is \"organizations/{organization}/securityHealthAnalyticsSettings/customModules/{customModule}\", or \"folders/{folder}/securityHealthAnalyticsSettings/customModules/{customModule}\", or \"projects/{project}/securityHealthAnalyticsSettings/customModules/{customModule}\" The id {customModule} is server-generated and is not user settable. It will be a numeric id containing 1-20 digits.", +"location": "path", +"pattern": "^organizations/[^/]+/securityHealthAnalyticsSettings/customModules/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "The list of fields to be updated. The only fields that can be updated are `enablement_state` and `custom_config`. If empty or set to the wildcard value `*`, both `enablement_state` and `custom_config` are updated.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "GoogleCloudSecuritycenterV1SecurityHealthAnalyticsCustomModule" +}, +"response": { +"$ref": "GoogleCloudSecuritycenterV1SecurityHealthAnalyticsCustomModule" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"simulate": { +"description": "Simulates a given SecurityHealthAnalyticsCustomModule and Resource.", +"flatPath": "v1/organizations/{organizationsId}/securityHealthAnalyticsSettings/customModules:simulate", +"httpMethod": "POST", +"id": "securitycenter.organizations.securityHealthAnalyticsSettings.customModules.simulate", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The relative resource name of the organization, project, or folder. For more information about relative resource names, see [Relative Resource Name](https://cloud.google.com/apis/design/resource_names#relative_resource_name) Example: `organizations/{organization_id}`", +"location": "path", +"pattern": "^organizations/[^/]+/securityHealthAnalyticsSettings$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/customModules:simulate", +"request": { +"$ref": "SimulateSecurityHealthAnalyticsCustomModuleRequest" +}, +"response": { +"$ref": "SimulateSecurityHealthAnalyticsCustomModuleResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"effectiveCustomModules": { +"methods": { +"get": { +"description": "Retrieves an EffectiveSecurityHealthAnalyticsCustomModule.", +"flatPath": "v1/organizations/{organizationsId}/securityHealthAnalyticsSettings/effectiveCustomModules/{effectiveCustomModulesId}", +"httpMethod": "GET", +"id": "securitycenter.organizations.securityHealthAnalyticsSettings.effectiveCustomModules.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of the effective custom module to get. Its format is `organizations/{organization}/securityHealthAnalyticsSettings/effectiveCustomModules/{customModule}`, `folders/{folder}/securityHealthAnalyticsSettings/effectiveCustomModules/{customModule}`, or `projects/{project}/securityHealthAnalyticsSettings/effectiveCustomModules/{customModule}`", +"location": "path", +"pattern": "^organizations/[^/]+/securityHealthAnalyticsSettings/effectiveCustomModules/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleCloudSecuritycenterV1EffectiveSecurityHealthAnalyticsCustomModule" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Returns a list of all EffectiveSecurityHealthAnalyticsCustomModules for the given parent. This includes resident modules defined at the scope of the parent, and inherited modules, inherited from CRM ancestors.", +"flatPath": "v1/organizations/{organizationsId}/securityHealthAnalyticsSettings/effectiveCustomModules", +"httpMethod": "GET", +"id": "securitycenter.organizations.securityHealthAnalyticsSettings.effectiveCustomModules.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "The maximum number of results to return in a single response. Default is 10, minimum is 1, maximum is 1000.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The value returned by the last call indicating a continuation", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. Name of parent to list effective custom modules. Its format is `organizations/{organization}/securityHealthAnalyticsSettings`, `folders/{folder}/securityHealthAnalyticsSettings`, or `projects/{project}/securityHealthAnalyticsSettings`", +"location": "path", +"pattern": "^organizations/[^/]+/securityHealthAnalyticsSettings$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/effectiveCustomModules", +"response": { +"$ref": "ListEffectiveSecurityHealthAnalyticsCustomModulesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +}, +"simulations": { +"methods": { +"get": { +"description": "Get the simulation by name or the latest simulation for the given organization.", +"flatPath": "v1/organizations/{organizationsId}/simulations/{simulationsId}", +"httpMethod": "GET", +"id": "securitycenter.organizations.simulations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The organization name or simulation name of this simulation Valid format: `organizations/{organization}/simulations/latest` `organizations/{organization}/simulations/{simulation}`", +"location": "path", +"pattern": "^organizations/[^/]+/simulations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Simulation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"attackExposureResults": { +"resources": { +"attackPaths": { +"methods": { +"list": { +"description": "Lists the attack paths for a set of simulation results or valued resources and filter.", +"flatPath": "v1/organizations/{organizationsId}/simulations/{simulationsId}/attackExposureResults/{attackExposureResultsId}/attackPaths", +"httpMethod": "GET", +"id": "securitycenter.organizations.simulations.attackExposureResults.attackPaths.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "The filter expression that filters the attack path in the response. Supported fields: * `valued_resources` supports =", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "The maximum number of results to return in a single response. Default is 10, minimum is 1, maximum is 1000.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The value returned by the last `ListAttackPathsResponse`; indicates that this is a continuation of a prior `ListAttackPaths` call, and that the system should return the next page of data.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. Name of parent to list attack paths. Valid formats: `organizations/{organization}`, `organizations/{organization}/simulations/{simulation}` `organizations/{organization}/simulations/{simulation}/attackExposureResults/{attack_exposure_result_v2}` `organizations/{organization}/simulations/{simulation}/valuedResources/{valued_resource}`", +"location": "path", +"pattern": "^organizations/[^/]+/simulations/[^/]+/attackExposureResults/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/attackPaths", +"response": { +"$ref": "ListAttackPathsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"valuedResources": { +"methods": { +"list": { +"description": "Lists the valued resources for a set of simulation results and filter.", +"flatPath": "v1/organizations/{organizationsId}/simulations/{simulationsId}/attackExposureResults/{attackExposureResultsId}/valuedResources", +"httpMethod": "GET", +"id": "securitycenter.organizations.simulations.attackExposureResults.valuedResources.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "The filter expression that filters the valued resources in the response. Supported fields: * `resource_value` supports = * `resource_type` supports =", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "Optional. The fields by which to order the valued resources response. Supported fields: * `exposed_score` * `resource_value` * `resource_type` * `resource` * `display_name` Values should be a comma separated list of fields. For example: `exposed_score,resource_value`. The default sorting order is descending. To specify ascending or descending order for a field, append a ` ASC` or a ` DESC` suffix, respectively; for example: `exposed_score DESC`.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "The maximum number of results to return in a single response. Default is 10, minimum is 1, maximum is 1000.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The value returned by the last `ListValuedResourcesResponse`; indicates that this is a continuation of a prior `ListValuedResources` call, and that the system should return the next page of data.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. Name of parent to list valued resources. Valid formats: `organizations/{organization}`, `organizations/{organization}/simulations/{simulation}` `organizations/{organization}/simulations/{simulation}/attackExposureResults/{attack_exposure_result_v2}`", +"location": "path", +"pattern": "^organizations/[^/]+/simulations/[^/]+/attackExposureResults/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/valuedResources", +"response": { +"$ref": "ListValuedResourcesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +}, +"attackPaths": { +"methods": { +"list": { +"description": "Lists the attack paths for a set of simulation results or valued resources and filter.", +"flatPath": "v1/organizations/{organizationsId}/simulations/{simulationsId}/attackPaths", +"httpMethod": "GET", +"id": "securitycenter.organizations.simulations.attackPaths.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "The filter expression that filters the attack path in the response. Supported fields: * `valued_resources` supports =", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "The maximum number of results to return in a single response. Default is 10, minimum is 1, maximum is 1000.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The value returned by the last `ListAttackPathsResponse`; indicates that this is a continuation of a prior `ListAttackPaths` call, and that the system should return the next page of data.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. Name of parent to list attack paths. Valid formats: `organizations/{organization}`, `organizations/{organization}/simulations/{simulation}` `organizations/{organization}/simulations/{simulation}/attackExposureResults/{attack_exposure_result_v2}` `organizations/{organization}/simulations/{simulation}/valuedResources/{valued_resource}`", +"location": "path", +"pattern": "^organizations/[^/]+/simulations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/attackPaths", +"response": { +"$ref": "ListAttackPathsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"valuedResources": { +"methods": { +"get": { +"description": "Get the valued resource by name", +"flatPath": "v1/organizations/{organizationsId}/simulations/{simulationsId}/valuedResources/{valuedResourcesId}", +"httpMethod": "GET", +"id": "securitycenter.organizations.simulations.valuedResources.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of this valued resource Valid format: `organizations/{organization}/simulations/{simulation}/valuedResources/{valued_resource}`", +"location": "path", +"pattern": "^organizations/[^/]+/simulations/[^/]+/valuedResources/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "ValuedResource" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists the valued resources for a set of simulation results and filter.", +"flatPath": "v1/organizations/{organizationsId}/simulations/{simulationsId}/valuedResources", +"httpMethod": "GET", +"id": "securitycenter.organizations.simulations.valuedResources.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "The filter expression that filters the valued resources in the response. Supported fields: * `resource_value` supports = * `resource_type` supports =", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "Optional. The fields by which to order the valued resources response. Supported fields: * `exposed_score` * `resource_value` * `resource_type` * `resource` * `display_name` Values should be a comma separated list of fields. For example: `exposed_score,resource_value`. The default sorting order is descending. To specify ascending or descending order for a field, append a ` ASC` or a ` DESC` suffix, respectively; for example: `exposed_score DESC`.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "The maximum number of results to return in a single response. Default is 10, minimum is 1, maximum is 1000.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The value returned by the last `ListValuedResourcesResponse`; indicates that this is a continuation of a prior `ListValuedResources` call, and that the system should return the next page of data.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. Name of parent to list valued resources. Valid formats: `organizations/{organization}`, `organizations/{organization}/simulations/{simulation}` `organizations/{organization}/simulations/{simulation}/attackExposureResults/{attack_exposure_result_v2}`", +"location": "path", +"pattern": "^organizations/[^/]+/simulations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/valuedResources", +"response": { +"$ref": "ListValuedResourcesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"attackPaths": { +"methods": { +"list": { +"description": "Lists the attack paths for a set of simulation results or valued resources and filter.", +"flatPath": "v1/organizations/{organizationsId}/simulations/{simulationsId}/valuedResources/{valuedResourcesId}/attackPaths", +"httpMethod": "GET", +"id": "securitycenter.organizations.simulations.valuedResources.attackPaths.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "The filter expression that filters the attack path in the response. Supported fields: * `valued_resources` supports =", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "The maximum number of results to return in a single response. Default is 10, minimum is 1, maximum is 1000.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The value returned by the last `ListAttackPathsResponse`; indicates that this is a continuation of a prior `ListAttackPaths` call, and that the system should return the next page of data.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. Name of parent to list attack paths. Valid formats: `organizations/{organization}`, `organizations/{organization}/simulations/{simulation}` `organizations/{organization}/simulations/{simulation}/attackExposureResults/{attack_exposure_result_v2}` `organizations/{organization}/simulations/{simulation}/valuedResources/{valued_resource}`", +"location": "path", +"pattern": "^organizations/[^/]+/simulations/[^/]+/valuedResources/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/attackPaths", +"response": { +"$ref": "ListAttackPathsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +} +} +}, +"sources": { +"methods": { +"create": { +"description": "Creates a source.", +"flatPath": "v1/organizations/{organizationsId}/sources", +"httpMethod": "POST", +"id": "securitycenter.organizations.sources.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. Resource name of the new source's parent. Its format should be `organizations/[organization_id]`.", +"location": "path", +"pattern": "^organizations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/sources", +"request": { +"$ref": "Source" +}, +"response": { +"$ref": "Source" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets a source.", +"flatPath": "v1/organizations/{organizationsId}/sources/{sourcesId}", +"httpMethod": "GET", +"id": "securitycenter.organizations.sources.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Relative resource name of the source. Its format is `organizations/[organization_id]/source/[source_id]`.", +"location": "path", +"pattern": "^organizations/[^/]+/sources/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Source" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"getIamPolicy": { +"description": "Gets the access control policy on the specified Source.", +"flatPath": "v1/organizations/{organizationsId}/sources/{sourcesId}:getIamPolicy", +"httpMethod": "POST", +"id": "securitycenter.organizations.sources.getIamPolicy", +"parameterOrder": [ +"resource" +], +"parameters": { +"resource": { +"description": "REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", +"location": "path", +"pattern": "^organizations/[^/]+/sources/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+resource}:getIamPolicy", +"request": { +"$ref": "GetIamPolicyRequest" +}, +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists all sources belonging to an organization.", +"flatPath": "v1/organizations/{organizationsId}/sources", +"httpMethod": "GET", +"id": "securitycenter.organizations.sources.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "The maximum number of results to return in a single response. Default is 10, minimum is 1, maximum is 1000.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The value returned by the last `ListSourcesResponse`; indicates that this is a continuation of a prior `ListSources` call, and that the system should return the next page of data.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. Resource name of the parent of sources to list. Its format should be `organizations/[organization_id]`, `folders/[folder_id]`, or `projects/[project_id]`.", +"location": "path", +"pattern": "^organizations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/sources", +"response": { +"$ref": "ListSourcesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates a source.", +"flatPath": "v1/organizations/{organizationsId}/sources/{sourcesId}", +"httpMethod": "PATCH", +"id": "securitycenter.organizations.sources.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The relative resource name of this source. See: https://cloud.google.com/apis/design/resource_names#relative_resource_name Example: \"organizations/{organization_id}/sources/{source_id}\"", +"location": "path", +"pattern": "^organizations/[^/]+/sources/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "The FieldMask to use when updating the source resource. If empty all mutable fields will be updated.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "Source" +}, +"response": { +"$ref": "Source" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"setIamPolicy": { +"description": "Sets the access control policy on the specified Source.", +"flatPath": "v1/organizations/{organizationsId}/sources/{sourcesId}:setIamPolicy", +"httpMethod": "POST", +"id": "securitycenter.organizations.sources.setIamPolicy", +"parameterOrder": [ +"resource" +], +"parameters": { +"resource": { +"description": "REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", +"location": "path", +"pattern": "^organizations/[^/]+/sources/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+resource}:setIamPolicy", +"request": { +"$ref": "SetIamPolicyRequest" +}, +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"testIamPermissions": { +"description": "Returns the permissions that a caller has on the specified source.", +"flatPath": "v1/organizations/{organizationsId}/sources/{sourcesId}:testIamPermissions", +"httpMethod": "POST", +"id": "securitycenter.organizations.sources.testIamPermissions", +"parameterOrder": [ +"resource" +], +"parameters": { +"resource": { +"description": "REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", +"location": "path", +"pattern": "^organizations/[^/]+/sources/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+resource}:testIamPermissions", +"request": { +"$ref": "TestIamPermissionsRequest" +}, +"response": { +"$ref": "TestIamPermissionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"findings": { +"methods": { +"create": { +"description": "Creates a finding. The corresponding source must exist for finding creation to succeed.", +"flatPath": "v1/organizations/{organizationsId}/sources/{sourcesId}/findings", +"httpMethod": "POST", +"id": "securitycenter.organizations.sources.findings.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"findingId": { +"description": "Required. Unique identifier provided by the client within the parent scope. It must be alphanumeric and less than or equal to 32 characters and greater than 0 characters in length.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. Resource name of the new finding's parent. Its format should be `organizations/[organization_id]/sources/[source_id]`.", +"location": "path", +"pattern": "^organizations/[^/]+/sources/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/findings", +"request": { +"$ref": "Finding" +}, +"response": { +"$ref": "Finding" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"group": { +"description": "Filters an organization or source's findings and groups them by their specified properties. To group across all sources provide a `-` as the source id. Example: /v1/organizations/{organization_id}/sources/-/findings, /v1/folders/{folder_id}/sources/-/findings, /v1/projects/{project_id}/sources/-/findings", +"flatPath": "v1/organizations/{organizationsId}/sources/{sourcesId}/findings:group", +"httpMethod": "POST", +"id": "securitycenter.organizations.sources.findings.group", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. Name of the source to groupBy. Its format is `organizations/[organization_id]/sources/[source_id]`, `folders/[folder_id]/sources/[source_id]`, or `projects/[project_id]/sources/[source_id]`. To groupBy across all sources provide a source_id of `-`. For example: `organizations/{organization_id}/sources/-, folders/{folder_id}/sources/-`, or `projects/{project_id}/sources/-`", +"location": "path", +"pattern": "^organizations/[^/]+/sources/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/findings:group", +"request": { +"$ref": "GroupFindingsRequest" +}, +"response": { +"$ref": "GroupFindingsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists an organization or source's findings. To list across all sources provide a `-` as the source id. Example: /v1/organizations/{organization_id}/sources/-/findings", +"flatPath": "v1/organizations/{organizationsId}/sources/{sourcesId}/findings", +"httpMethod": "GET", +"id": "securitycenter.organizations.sources.findings.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"compareDuration": { +"deprecated": true, +"description": "When compare_duration is set, the ListFindingsResult's \"state_change\" attribute is updated to indicate whether the finding had its state changed, the finding's state remained unchanged, or if the finding was added in any state during the compare_duration period of time that precedes the read_time. This is the time between (read_time - compare_duration) and read_time. The state_change value is derived based on the presence and state of the finding at the two points in time. Intermediate state changes between the two times don't affect the result. For example, the results aren't affected if the finding is made inactive and then active again. Possible \"state_change\" values when compare_duration is specified: * \"CHANGED\": indicates that the finding was present and matched the given filter at the start of compare_duration, but changed its state at read_time. * \"UNCHANGED\": indicates that the finding was present and matched the given filter at the start of compare_duration and did not change state at read_time. * \"ADDED\": indicates that the finding did not match the given filter or was not present at the start of compare_duration, but was present at read_time. * \"REMOVED\": indicates that the finding was present and matched the filter at the start of compare_duration, but did not match the filter at read_time. If compare_duration is not specified, then the only possible state_change is \"UNUSED\", which will be the state_change set for all findings present at read_time.", +"format": "google-duration", +"location": "query", +"type": "string" +}, +"fieldMask": { +"description": "A field mask to specify the Finding fields to be listed in the response. An empty field mask will list all fields.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +}, +"filter": { +"description": "Expression that defines the filter to apply across findings. The expression is a list of one or more restrictions combined via logical operators `AND` and `OR`. Parentheses are supported, and `OR` has higher precedence than `AND`. Restrictions have the form ` ` and may have a `-` character in front of them to indicate negation. Examples include: * name * source_properties.a_property * security_marks.marks.marka The supported operators are: * `=` for all value types. * `>`, `<`, `>=`, `<=` for integer values. * `:`, meaning substring matching, for strings. The supported value types are: * string literals in quotes. * integer literals without quotes. * boolean literals `true` and `false` without quotes. The following field and operator combinations are supported: * name: `=` * parent: `=`, `:` * resource_name: `=`, `:` * state: `=`, `:` * category: `=`, `:` * external_uri: `=`, `:` * event_time: `=`, `>`, `<`, `>=`, `<=` Usage: This should be milliseconds since epoch or an RFC3339 string. Examples: `event_time = \"2019-06-10T16:07:18-07:00\"` `event_time = 1560208038000` * severity: `=`, `:` * workflow_state: `=`, `:` * security_marks.marks: `=`, `:` * source_properties: `=`, `:`, `>`, `<`, `>=`, `<=` For example, `source_properties.size = 100` is a valid filter string. Use a partial match on the empty string to filter based on a property existing: `source_properties.my_property : \"\"` Use a negated partial match on the empty string to filter based on a property not existing: `-source_properties.my_property : \"\"` * resource: * resource.name: `=`, `:` * resource.parent_name: `=`, `:` * resource.parent_display_name: `=`, `:` * resource.project_name: `=`, `:` * resource.project_display_name: `=`, `:` * resource.type: `=`, `:` * resource.folders.resource_folder: `=`, `:` * resource.display_name: `=`, `:`", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "Expression that defines what fields and order to use for sorting. The string value should follow SQL syntax: comma separated list of fields. For example: \"name,resource_properties.a_property\". The default sorting order is ascending. To specify descending order for a field, a suffix \" desc\" should be appended to the field name. For example: \"name desc,source_properties.a_property\". Redundant space characters in the syntax are insignificant. \"name desc,source_properties.a_property\" and \" name desc , source_properties.a_property \" are equivalent. The following fields are supported: name parent state category resource_name event_time source_properties security_marks.marks", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "The maximum number of results to return in a single response. Default is 10, minimum is 1, maximum is 1000.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The value returned by the last `ListFindingsResponse`; indicates that this is a continuation of a prior `ListFindings` call, and that the system should return the next page of data.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. Name of the source the findings belong to. Its format is `organizations/[organization_id]/sources/[source_id]`, `folders/[folder_id]/sources/[source_id]`, or `projects/[project_id]/sources/[source_id]`. To list across all sources provide a source_id of `-`. For example: `organizations/{organization_id}/sources/-`, `folders/{folder_id}/sources/-` or `projects/{projects_id}/sources/-`", +"location": "path", +"pattern": "^organizations/[^/]+/sources/[^/]+$", +"required": true, +"type": "string" +}, +"readTime": { +"deprecated": true, +"description": "Time used as a reference point when filtering findings. The filter is limited to findings existing at the supplied time and their values are those at that specific time. Absence of this field will default to the API's version of NOW.", +"format": "google-datetime", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+parent}/findings", +"response": { +"$ref": "ListFindingsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Creates or updates a finding. The corresponding source must exist for a finding creation to succeed.", +"flatPath": "v1/organizations/{organizationsId}/sources/{sourcesId}/findings/{findingsId}", +"httpMethod": "PATCH", +"id": "securitycenter.organizations.sources.findings.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The [relative resource name](https://cloud.google.com/apis/design/resource_names#relative_resource_name) of the finding. Example: \"organizations/{organization_id}/sources/{source_id}/findings/{finding_id}\", \"folders/{folder_id}/sources/{source_id}/findings/{finding_id}\", \"projects/{project_id}/sources/{source_id}/findings/{finding_id}\".", +"location": "path", +"pattern": "^organizations/[^/]+/sources/[^/]+/findings/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "The FieldMask to use when updating the finding resource. This field should not be specified when creating a finding. When updating a finding, an empty mask is treated as updating all mutable fields and replacing source_properties. Individual source_properties can be added/updated by using \"source_properties.\" in the field mask.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "Finding" +}, +"response": { +"$ref": "Finding" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"setMute": { +"description": "Updates the mute state of a finding.", +"flatPath": "v1/organizations/{organizationsId}/sources/{sourcesId}/findings/{findingsId}:setMute", +"httpMethod": "POST", +"id": "securitycenter.organizations.sources.findings.setMute", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The [relative resource name](https://cloud.google.com/apis/design/resource_names#relative_resource_name) of the finding. Example: `organizations/{organization_id}/sources/{source_id}/findings/{finding_id}`, `folders/{folder_id}/sources/{source_id}/findings/{finding_id}`, `projects/{project_id}/sources/{source_id}/findings/{finding_id}`.", +"location": "path", +"pattern": "^organizations/[^/]+/sources/[^/]+/findings/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:setMute", +"request": { +"$ref": "SetMuteRequest" +}, +"response": { +"$ref": "Finding" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"setState": { +"description": "Updates the state of a finding.", +"flatPath": "v1/organizations/{organizationsId}/sources/{sourcesId}/findings/{findingsId}:setState", +"httpMethod": "POST", +"id": "securitycenter.organizations.sources.findings.setState", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The [relative resource name](https://cloud.google.com/apis/design/resource_names#relative_resource_name) of the finding. Example: `organizations/{organization_id}/sources/{source_id}/findings/{finding_id}`, `folders/{folder_id}/sources/{source_id}/findings/{finding_id}`, `projects/{project_id}/sources/{source_id}/findings/{finding_id}`.", +"location": "path", +"pattern": "^organizations/[^/]+/sources/[^/]+/findings/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:setState", +"request": { +"$ref": "SetFindingStateRequest" +}, +"response": { +"$ref": "Finding" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"updateSecurityMarks": { +"description": "Updates security marks.", +"flatPath": "v1/organizations/{organizationsId}/sources/{sourcesId}/findings/{findingsId}/securityMarks", +"httpMethod": "PATCH", +"id": "securitycenter.organizations.sources.findings.updateSecurityMarks", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The relative resource name of the SecurityMarks. See: https://cloud.google.com/apis/design/resource_names#relative_resource_name Examples: \"organizations/{organization_id}/assets/{asset_id}/securityMarks\" \"organizations/{organization_id}/sources/{source_id}/findings/{finding_id}/securityMarks\".", +"location": "path", +"pattern": "^organizations/[^/]+/sources/[^/]+/findings/[^/]+/securityMarks$", +"required": true, +"type": "string" +}, +"startTime": { +"description": "The time at which the updated SecurityMarks take effect. If not set uses current server time. Updates will be applied to the SecurityMarks that are active immediately preceding this time. Must be earlier or equal to the server time.", +"format": "google-datetime", +"location": "query", +"type": "string" +}, +"updateMask": { +"description": "The FieldMask to use when updating the security marks resource. The field mask must not contain duplicate fields. If empty or set to \"marks\", all marks will be replaced. Individual marks can be updated using \"marks.\".", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "SecurityMarks" +}, +"response": { +"$ref": "SecurityMarks" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"externalSystems": { +"methods": { +"patch": { +"description": "Updates external system. This is for a given finding.", +"flatPath": "v1/organizations/{organizationsId}/sources/{sourcesId}/findings/{findingsId}/externalSystems/{externalSystemsId}", +"httpMethod": "PATCH", +"id": "securitycenter.organizations.sources.findings.externalSystems.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Full resource name of the external system, for example: \"organizations/1234/sources/5678/findings/123456/externalSystems/jira\", \"folders/1234/sources/5678/findings/123456/externalSystems/jira\", \"projects/1234/sources/5678/findings/123456/externalSystems/jira\"", +"location": "path", +"pattern": "^organizations/[^/]+/sources/[^/]+/findings/[^/]+/externalSystems/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "The FieldMask to use when updating the external system resource. If empty all mutable fields will be updated.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "GoogleCloudSecuritycenterV1ExternalSystem" +}, +"response": { +"$ref": "GoogleCloudSecuritycenterV1ExternalSystem" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +} +} +}, +"valuedResources": { +"methods": { +"list": { +"description": "Lists the valued resources for a set of simulation results and filter.", +"flatPath": "v1/organizations/{organizationsId}/valuedResources", +"httpMethod": "GET", +"id": "securitycenter.organizations.valuedResources.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "The filter expression that filters the valued resources in the response. Supported fields: * `resource_value` supports = * `resource_type` supports =", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "Optional. The fields by which to order the valued resources response. Supported fields: * `exposed_score` * `resource_value` * `resource_type` * `resource` * `display_name` Values should be a comma separated list of fields. For example: `exposed_score,resource_value`. The default sorting order is descending. To specify ascending or descending order for a field, append a ` ASC` or a ` DESC` suffix, respectively; for example: `exposed_score DESC`.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "The maximum number of results to return in a single response. Default is 10, minimum is 1, maximum is 1000.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The value returned by the last `ListValuedResourcesResponse`; indicates that this is a continuation of a prior `ListValuedResources` call, and that the system should return the next page of data.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. Name of parent to list valued resources. Valid formats: `organizations/{organization}`, `organizations/{organization}/simulations/{simulation}` `organizations/{organization}/simulations/{simulation}/attackExposureResults/{attack_exposure_result_v2}`", +"location": "path", +"pattern": "^organizations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/valuedResources", +"response": { +"$ref": "ListValuedResourcesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +}, +"projects": { +"resources": { +"assets": { +"methods": { +"group": { +"deprecated": true, +"description": "Filters an organization's assets and groups them by their specified properties.", +"flatPath": "v1/projects/{projectsId}/assets:group", +"httpMethod": "POST", +"id": "securitycenter.projects.assets.group", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The name of the parent to group the assets by. Its format is `organizations/[organization_id]`, `folders/[folder_id]`, or `projects/[project_id]`.", +"location": "path", +"pattern": "^projects/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/assets:group", +"request": { +"$ref": "GroupAssetsRequest" +}, +"response": { +"$ref": "GroupAssetsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"deprecated": true, +"description": "Lists an organization's assets.", +"flatPath": "v1/projects/{projectsId}/assets", +"httpMethod": "GET", +"id": "securitycenter.projects.assets.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"compareDuration": { +"description": "When compare_duration is set, the ListAssetsResult's \"state_change\" attribute is updated to indicate whether the asset was added, removed, or remained present during the compare_duration period of time that precedes the read_time. This is the time between (read_time - compare_duration) and read_time. The state_change value is derived based on the presence of the asset at the two points in time. Intermediate state changes between the two times don't affect the result. For example, the results aren't affected if the asset is removed and re-created again. Possible \"state_change\" values when compare_duration is specified: * \"ADDED\": indicates that the asset was not present at the start of compare_duration, but present at read_time. * \"REMOVED\": indicates that the asset was present at the start of compare_duration, but not present at read_time. * \"ACTIVE\": indicates that the asset was present at both the start and the end of the time period defined by compare_duration and read_time. If compare_duration is not specified, then the only possible state_change is \"UNUSED\", which will be the state_change set for all assets present at read_time.", +"format": "google-duration", +"location": "query", +"type": "string" +}, +"fieldMask": { +"description": "A field mask to specify the ListAssetsResult fields to be listed in the response. An empty field mask will list all fields.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +}, +"filter": { +"description": "Expression that defines the filter to apply across assets. The expression is a list of zero or more restrictions combined via logical operators `AND` and `OR`. Parentheses are supported, and `OR` has higher precedence than `AND`. Restrictions have the form ` ` and may have a `-` character in front of them to indicate negation. The fields map to those defined in the Asset resource. Examples include: * name * security_center_properties.resource_name * resource_properties.a_property * security_marks.marks.marka The supported operators are: * `=` for all value types. * `>`, `<`, `>=`, `<=` for integer values. * `:`, meaning substring matching, for strings. The supported value types are: * string literals in quotes. * integer literals without quotes. * boolean literals `true` and `false` without quotes. The following are the allowed field and operator combinations: * name: `=` * update_time: `=`, `>`, `<`, `>=`, `<=` Usage: This should be milliseconds since epoch or an RFC3339 string. Examples: `update_time = \"2019-06-10T16:07:18-07:00\"` `update_time = 1560208038000` * create_time: `=`, `>`, `<`, `>=`, `<=` Usage: This should be milliseconds since epoch or an RFC3339 string. Examples: `create_time = \"2019-06-10T16:07:18-07:00\"` `create_time = 1560208038000` * iam_policy.policy_blob: `=`, `:` * resource_properties: `=`, `:`, `>`, `<`, `>=`, `<=` * security_marks.marks: `=`, `:` * security_center_properties.resource_name: `=`, `:` * security_center_properties.resource_display_name: `=`, `:` * security_center_properties.resource_type: `=`, `:` * security_center_properties.resource_parent: `=`, `:` * security_center_properties.resource_parent_display_name: `=`, `:` * security_center_properties.resource_project: `=`, `:` * security_center_properties.resource_project_display_name: `=`, `:` * security_center_properties.resource_owners: `=`, `:` For example, `resource_properties.size = 100` is a valid filter string. Use a partial match on the empty string to filter based on a property existing: `resource_properties.my_property : \"\"` Use a negated partial match on the empty string to filter based on a property not existing: `-resource_properties.my_property : \"\"`", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "Expression that defines what fields and order to use for sorting. The string value should follow SQL syntax: comma separated list of fields. For example: \"name,resource_properties.a_property\". The default sorting order is ascending. To specify descending order for a field, a suffix \" desc\" should be appended to the field name. For example: \"name desc,resource_properties.a_property\". Redundant space characters in the syntax are insignificant. \"name desc,resource_properties.a_property\" and \" name desc , resource_properties.a_property \" are equivalent. The following fields are supported: name update_time resource_properties security_marks.marks security_center_properties.resource_name security_center_properties.resource_display_name security_center_properties.resource_parent security_center_properties.resource_parent_display_name security_center_properties.resource_project security_center_properties.resource_project_display_name security_center_properties.resource_type", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "The maximum number of results to return in a single response. Default is 10, minimum is 1, maximum is 1000.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The value returned by the last `ListAssetsResponse`; indicates that this is a continuation of a prior `ListAssets` call, and that the system should return the next page of data.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The name of the parent resource that contains the assets. The value that you can specify on parent depends on the method in which you specify parent. You can specify one of the following values: `organizations/[organization_id]`, `folders/[folder_id]`, or `projects/[project_id]`.", +"location": "path", +"pattern": "^projects/[^/]+$", +"required": true, +"type": "string" +}, +"readTime": { +"description": "Time used as a reference point when filtering assets. The filter is limited to assets existing at the supplied time and their values are those at that specific time. Absence of this field will default to the API's version of NOW.", +"format": "google-datetime", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+parent}/assets", +"response": { +"$ref": "ListAssetsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"updateSecurityMarks": { +"description": "Updates security marks.", +"flatPath": "v1/projects/{projectsId}/assets/{assetsId}/securityMarks", +"httpMethod": "PATCH", +"id": "securitycenter.projects.assets.updateSecurityMarks", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The relative resource name of the SecurityMarks. See: https://cloud.google.com/apis/design/resource_names#relative_resource_name Examples: \"organizations/{organization_id}/assets/{asset_id}/securityMarks\" \"organizations/{organization_id}/sources/{source_id}/findings/{finding_id}/securityMarks\".", +"location": "path", +"pattern": "^projects/[^/]+/assets/[^/]+/securityMarks$", +"required": true, +"type": "string" +}, +"startTime": { +"description": "The time at which the updated SecurityMarks take effect. If not set uses current server time. Updates will be applied to the SecurityMarks that are active immediately preceding this time. Must be earlier or equal to the server time.", +"format": "google-datetime", +"location": "query", +"type": "string" +}, +"updateMask": { +"description": "The FieldMask to use when updating the security marks resource. The field mask must not contain duplicate fields. If empty or set to \"marks\", all marks will be replaced. Individual marks can be updated using \"marks.\".", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "SecurityMarks" +}, +"response": { +"$ref": "SecurityMarks" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"bigQueryExports": { +"methods": { +"create": { +"description": "Creates a BigQuery export.", +"flatPath": "v1/projects/{projectsId}/bigQueryExports", +"httpMethod": "POST", +"id": "securitycenter.projects.bigQueryExports.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"bigQueryExportId": { +"description": "Required. Unique identifier provided by the client within the parent scope. It must consist of only lowercase letters, numbers, and hyphens, must start with a letter, must end with either a letter or a number, and must be 63 characters or less.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The name of the parent resource of the new BigQuery export. Its format is `organizations/[organization_id]`, `folders/[folder_id]`, or `projects/[project_id]`.", +"location": "path", +"pattern": "^projects/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/bigQueryExports", +"request": { +"$ref": "GoogleCloudSecuritycenterV1BigQueryExport" +}, +"response": { +"$ref": "GoogleCloudSecuritycenterV1BigQueryExport" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes an existing BigQuery export.", +"flatPath": "v1/projects/{projectsId}/bigQueryExports/{bigQueryExportsId}", +"httpMethod": "DELETE", +"id": "securitycenter.projects.bigQueryExports.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the BigQuery export to delete. Its format is `organizations/{organization}/bigQueryExports/{export_id}`, `folders/{folder}/bigQueryExports/{export_id}`, or `projects/{project}/bigQueryExports/{export_id}`", +"location": "path", +"pattern": "^projects/[^/]+/bigQueryExports/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets a BigQuery export.", +"flatPath": "v1/projects/{projectsId}/bigQueryExports/{bigQueryExportsId}", +"httpMethod": "GET", +"id": "securitycenter.projects.bigQueryExports.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of the BigQuery export to retrieve. Its format is `organizations/{organization}/bigQueryExports/{export_id}`, `folders/{folder}/bigQueryExports/{export_id}`, or `projects/{project}/bigQueryExports/{export_id}`", +"location": "path", +"pattern": "^projects/[^/]+/bigQueryExports/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleCloudSecuritycenterV1BigQueryExport" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists BigQuery exports. Note that when requesting BigQuery exports at a given level all exports under that level are also returned e.g. if requesting BigQuery exports under a folder, then all BigQuery exports immediately under the folder plus the ones created under the projects within the folder are returned.", +"flatPath": "v1/projects/{projectsId}/bigQueryExports", +"httpMethod": "GET", +"id": "securitycenter.projects.bigQueryExports.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "The maximum number of configs to return. The service may return fewer than this value. If unspecified, at most 10 configs will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A page token, received from a previous `ListBigQueryExports` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListBigQueryExports` must match the call that provided the page token.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent, which owns the collection of BigQuery exports. Its format is `organizations/[organization_id]`, `folders/[folder_id]`, `projects/[project_id]`.", +"location": "path", +"pattern": "^projects/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/bigQueryExports", +"response": { +"$ref": "ListBigQueryExportsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates a BigQuery export.", +"flatPath": "v1/projects/{projectsId}/bigQueryExports/{bigQueryExportsId}", +"httpMethod": "PATCH", +"id": "securitycenter.projects.bigQueryExports.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The relative resource name of this export. See: https://cloud.google.com/apis/design/resource_names#relative_resource_name. Example format: \"organizations/{organization_id}/bigQueryExports/{export_id}\" Example format: \"folders/{folder_id}/bigQueryExports/{export_id}\" Example format: \"projects/{project_id}/bigQueryExports/{export_id}\" This field is provided in responses, and is ignored when provided in create requests.", +"location": "path", +"pattern": "^projects/[^/]+/bigQueryExports/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "The list of fields to be updated. If empty all mutable fields will be updated.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "GoogleCloudSecuritycenterV1BigQueryExport" +}, +"response": { +"$ref": "GoogleCloudSecuritycenterV1BigQueryExport" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"eventThreatDetectionSettings": { +"methods": { +"validateCustomModule": { +"description": "Validates the given Event Threat Detection custom module.", +"flatPath": "v1/projects/{projectsId}/eventThreatDetectionSettings:validateCustomModule", +"httpMethod": "POST", +"id": "securitycenter.projects.eventThreatDetectionSettings.validateCustomModule", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. Resource name of the parent to validate the Custom Module under. Its format is: * `organizations/{organization}/eventThreatDetectionSettings`. * `folders/{folder}/eventThreatDetectionSettings`. * `projects/{project}/eventThreatDetectionSettings`.", +"location": "path", +"pattern": "^projects/[^/]+/eventThreatDetectionSettings$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}:validateCustomModule", +"request": { +"$ref": "ValidateEventThreatDetectionCustomModuleRequest" +}, +"response": { +"$ref": "ValidateEventThreatDetectionCustomModuleResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"customModules": { +"methods": { +"create": { +"description": "Creates a resident Event Threat Detection custom module at the scope of the given Resource Manager parent, and also creates inherited custom modules for all descendants of the given parent. These modules are enabled by default.", +"flatPath": "v1/projects/{projectsId}/eventThreatDetectionSettings/customModules", +"httpMethod": "POST", +"id": "securitycenter.projects.eventThreatDetectionSettings.customModules.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The new custom module's parent. Its format is: * `organizations/{organization}/eventThreatDetectionSettings`. * `folders/{folder}/eventThreatDetectionSettings`. * `projects/{project}/eventThreatDetectionSettings`.", +"location": "path", +"pattern": "^projects/[^/]+/eventThreatDetectionSettings$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/customModules", +"request": { +"$ref": "EventThreatDetectionCustomModule" +}, +"response": { +"$ref": "EventThreatDetectionCustomModule" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes the specified Event Threat Detection custom module and all of its descendants in the Resource Manager hierarchy. This method is only supported for resident custom modules.", +"flatPath": "v1/projects/{projectsId}/eventThreatDetectionSettings/customModules/{customModulesId}", +"httpMethod": "DELETE", +"id": "securitycenter.projects.eventThreatDetectionSettings.customModules.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of the custom module to delete. Its format is: * `organizations/{organization}/eventThreatDetectionSettings/customModules/{module}`. * `folders/{folder}/eventThreatDetectionSettings/customModules/{module}`. * `projects/{project}/eventThreatDetectionSettings/customModules/{module}`.", +"location": "path", +"pattern": "^projects/[^/]+/eventThreatDetectionSettings/customModules/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets an Event Threat Detection custom module.", +"flatPath": "v1/projects/{projectsId}/eventThreatDetectionSettings/customModules/{customModulesId}", +"httpMethod": "GET", +"id": "securitycenter.projects.eventThreatDetectionSettings.customModules.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of the custom module to get. Its format is: * `organizations/{organization}/eventThreatDetectionSettings/customModules/{module}`. * `folders/{folder}/eventThreatDetectionSettings/customModules/{module}`. * `projects/{project}/eventThreatDetectionSettings/customModules/{module}`.", +"location": "path", +"pattern": "^projects/[^/]+/eventThreatDetectionSettings/customModules/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "EventThreatDetectionCustomModule" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists all Event Threat Detection custom modules for the given Resource Manager parent. This includes resident modules defined at the scope of the parent along with modules inherited from ancestors.", +"flatPath": "v1/projects/{projectsId}/eventThreatDetectionSettings/customModules", +"httpMethod": "GET", +"id": "securitycenter.projects.eventThreatDetectionSettings.customModules.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "The maximum number of modules to return. The service may return fewer than this value. If unspecified, at most 10 configs will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A page token, received from a previous `ListEventThreatDetectionCustomModules` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListEventThreatDetectionCustomModules` must match the call that provided the page token.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. Name of the parent to list custom modules under. Its format is: * `organizations/{organization}/eventThreatDetectionSettings`. * `folders/{folder}/eventThreatDetectionSettings`. * `projects/{project}/eventThreatDetectionSettings`.", +"location": "path", +"pattern": "^projects/[^/]+/eventThreatDetectionSettings$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/customModules", +"response": { +"$ref": "ListEventThreatDetectionCustomModulesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"listDescendant": { +"description": "Lists all resident Event Threat Detection custom modules under the given Resource Manager parent and its descendants.", +"flatPath": "v1/projects/{projectsId}/eventThreatDetectionSettings/customModules:listDescendant", +"httpMethod": "GET", +"id": "securitycenter.projects.eventThreatDetectionSettings.customModules.listDescendant", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "The maximum number of modules to return. The service may return fewer than this value. If unspecified, at most 10 configs will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A page token, received from a previous `ListDescendantEventThreatDetectionCustomModules` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListDescendantEventThreatDetectionCustomModules` must match the call that provided the page token.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. Name of the parent to list custom modules under. Its format is: * `organizations/{organization}/eventThreatDetectionSettings`. * `folders/{folder}/eventThreatDetectionSettings`. * `projects/{project}/eventThreatDetectionSettings`.", +"location": "path", +"pattern": "^projects/[^/]+/eventThreatDetectionSettings$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/customModules:listDescendant", +"response": { +"$ref": "ListDescendantEventThreatDetectionCustomModulesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates the Event Threat Detection custom module with the given name based on the given update mask. Updating the enablement state is supported for both resident and inherited modules (though resident modules cannot have an enablement state of \"inherited\"). Updating the display name or configuration of a module is supported for resident modules only. The type of a module cannot be changed.", +"flatPath": "v1/projects/{projectsId}/eventThreatDetectionSettings/customModules/{customModulesId}", +"httpMethod": "PATCH", +"id": "securitycenter.projects.eventThreatDetectionSettings.customModules.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Immutable. The resource name of the Event Threat Detection custom module. Its format is: * `organizations/{organization}/eventThreatDetectionSettings/customModules/{module}`. * `folders/{folder}/eventThreatDetectionSettings/customModules/{module}`. * `projects/{project}/eventThreatDetectionSettings/customModules/{module}`.", +"location": "path", +"pattern": "^projects/[^/]+/eventThreatDetectionSettings/customModules/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "The list of fields to be updated. If empty all mutable fields will be updated.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "EventThreatDetectionCustomModule" +}, +"response": { +"$ref": "EventThreatDetectionCustomModule" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"effectiveCustomModules": { +"methods": { +"get": { +"description": "Gets an effective Event Threat Detection custom module at the given level.", +"flatPath": "v1/projects/{projectsId}/eventThreatDetectionSettings/effectiveCustomModules/{effectiveCustomModulesId}", +"httpMethod": "GET", +"id": "securitycenter.projects.eventThreatDetectionSettings.effectiveCustomModules.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the effective Event Threat Detection custom module. Its format is: * `organizations/{organization}/eventThreatDetectionSettings/effectiveCustomModules/{module}`. * `folders/{folder}/eventThreatDetectionSettings/effectiveCustomModules/{module}`. * `projects/{project}/eventThreatDetectionSettings/effectiveCustomModules/{module}`.", +"location": "path", +"pattern": "^projects/[^/]+/eventThreatDetectionSettings/effectiveCustomModules/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "EffectiveEventThreatDetectionCustomModule" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists all effective Event Threat Detection custom modules for the given parent. This includes resident modules defined at the scope of the parent along with modules inherited from its ancestors.", +"flatPath": "v1/projects/{projectsId}/eventThreatDetectionSettings/effectiveCustomModules", +"httpMethod": "GET", +"id": "securitycenter.projects.eventThreatDetectionSettings.effectiveCustomModules.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "The maximum number of modules to return. The service may return fewer than this value. If unspecified, at most 10 configs will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A page token, received from a previous `ListEffectiveEventThreatDetectionCustomModules` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListEffectiveEventThreatDetectionCustomModules` must match the call that provided the page token.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. Name of the parent to list custom modules for. Its format is: * `organizations/{organization}/eventThreatDetectionSettings`. * `folders/{folder}/eventThreatDetectionSettings`. * `projects/{project}/eventThreatDetectionSettings`.", +"location": "path", +"pattern": "^projects/[^/]+/eventThreatDetectionSettings$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/effectiveCustomModules", +"response": { +"$ref": "ListEffectiveEventThreatDetectionCustomModulesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +}, +"findings": { +"methods": { +"bulkMute": { +"description": "Kicks off an LRO to bulk mute findings for a parent based on a filter. The parent can be either an organization, folder or project. The findings matched by the filter will be muted after the LRO is done.", +"flatPath": "v1/projects/{projectsId}/findings:bulkMute", +"httpMethod": "POST", +"id": "securitycenter.projects.findings.bulkMute", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The parent, at which bulk action needs to be applied. Its format is `organizations/[organization_id]`, `folders/[folder_id]`, `projects/[project_id]`.", +"location": "path", +"pattern": "^projects/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/findings:bulkMute", +"request": { +"$ref": "BulkMuteFindingsRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"locations": { +"resources": { +"muteConfigs": { +"methods": { +"delete": { +"description": "Deletes an existing mute config.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/muteConfigs/{muteConfigsId}", +"httpMethod": "DELETE", +"id": "securitycenter.projects.locations.muteConfigs.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of the mute config to delete. Its format is `organizations/{organization}/muteConfigs/{config_id}`, `folders/{folder}/muteConfigs/{config_id}`, `projects/{project}/muteConfigs/{config_id}`, `organizations/{organization}/locations/global/muteConfigs/{config_id}`, `folders/{folder}/locations/global/muteConfigs/{config_id}`, or `projects/{project}/locations/global/muteConfigs/{config_id}`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/muteConfigs/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets a mute config.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/muteConfigs/{muteConfigsId}", +"httpMethod": "GET", +"id": "securitycenter.projects.locations.muteConfigs.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of the mute config to retrieve. Its format is `organizations/{organization}/muteConfigs/{config_id}`, `folders/{folder}/muteConfigs/{config_id}`, `projects/{project}/muteConfigs/{config_id}`, `organizations/{organization}/locations/global/muteConfigs/{config_id}`, `folders/{folder}/locations/global/muteConfigs/{config_id}`, or `projects/{project}/locations/global/muteConfigs/{config_id}`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/muteConfigs/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleCloudSecuritycenterV1MuteConfig" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates a mute config.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/muteConfigs/{muteConfigsId}", +"httpMethod": "PATCH", +"id": "securitycenter.projects.locations.muteConfigs.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "This field will be ignored if provided on config creation. Format `organizations/{organization}/muteConfigs/{mute_config}` `folders/{folder}/muteConfigs/{mute_config}` `projects/{project}/muteConfigs/{mute_config}` `organizations/{organization}/locations/global/muteConfigs/{mute_config}` `folders/{folder}/locations/global/muteConfigs/{mute_config}` `projects/{project}/locations/global/muteConfigs/{mute_config}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/muteConfigs/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "The list of fields to be updated. If empty all mutable fields will be updated.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "GoogleCloudSecuritycenterV1MuteConfig" +}, +"response": { +"$ref": "GoogleCloudSecuritycenterV1MuteConfig" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +}, +"muteConfigs": { +"methods": { +"create": { +"description": "Creates a mute config.", +"flatPath": "v1/projects/{projectsId}/muteConfigs", +"httpMethod": "POST", +"id": "securitycenter.projects.muteConfigs.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"muteConfigId": { +"description": "Required. Unique identifier provided by the client within the parent scope. It must consist of only lowercase letters, numbers, and hyphens, must start with a letter, must end with either a letter or a number, and must be 63 characters or less.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. Resource name of the new mute configs's parent. Its format is `organizations/[organization_id]`, `folders/[folder_id]`, or `projects/[project_id]`.", +"location": "path", +"pattern": "^projects/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/muteConfigs", +"request": { +"$ref": "GoogleCloudSecuritycenterV1MuteConfig" +}, +"response": { +"$ref": "GoogleCloudSecuritycenterV1MuteConfig" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes an existing mute config.", +"flatPath": "v1/projects/{projectsId}/muteConfigs/{muteConfigsId}", +"httpMethod": "DELETE", +"id": "securitycenter.projects.muteConfigs.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of the mute config to delete. Its format is `organizations/{organization}/muteConfigs/{config_id}`, `folders/{folder}/muteConfigs/{config_id}`, `projects/{project}/muteConfigs/{config_id}`, `organizations/{organization}/locations/global/muteConfigs/{config_id}`, `folders/{folder}/locations/global/muteConfigs/{config_id}`, or `projects/{project}/locations/global/muteConfigs/{config_id}`.", +"location": "path", +"pattern": "^projects/[^/]+/muteConfigs/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets a mute config.", +"flatPath": "v1/projects/{projectsId}/muteConfigs/{muteConfigsId}", +"httpMethod": "GET", +"id": "securitycenter.projects.muteConfigs.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of the mute config to retrieve. Its format is `organizations/{organization}/muteConfigs/{config_id}`, `folders/{folder}/muteConfigs/{config_id}`, `projects/{project}/muteConfigs/{config_id}`, `organizations/{organization}/locations/global/muteConfigs/{config_id}`, `folders/{folder}/locations/global/muteConfigs/{config_id}`, or `projects/{project}/locations/global/muteConfigs/{config_id}`.", +"location": "path", +"pattern": "^projects/[^/]+/muteConfigs/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleCloudSecuritycenterV1MuteConfig" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists mute configs.", +"flatPath": "v1/projects/{projectsId}/muteConfigs", +"httpMethod": "GET", +"id": "securitycenter.projects.muteConfigs.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "The maximum number of configs to return. The service may return fewer than this value. If unspecified, at most 10 configs will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A page token, received from a previous `ListMuteConfigs` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListMuteConfigs` must match the call that provided the page token.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent, which owns the collection of mute configs. Its format is `organizations/[organization_id]`, `folders/[folder_id]`, `projects/[project_id]`.", +"location": "path", +"pattern": "^projects/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/muteConfigs", +"response": { +"$ref": "ListMuteConfigsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates a mute config.", +"flatPath": "v1/projects/{projectsId}/muteConfigs/{muteConfigsId}", +"httpMethod": "PATCH", +"id": "securitycenter.projects.muteConfigs.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "This field will be ignored if provided on config creation. Format `organizations/{organization}/muteConfigs/{mute_config}` `folders/{folder}/muteConfigs/{mute_config}` `projects/{project}/muteConfigs/{mute_config}` `organizations/{organization}/locations/global/muteConfigs/{mute_config}` `folders/{folder}/locations/global/muteConfigs/{mute_config}` `projects/{project}/locations/global/muteConfigs/{mute_config}`", +"location": "path", +"pattern": "^projects/[^/]+/muteConfigs/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "The list of fields to be updated. If empty all mutable fields will be updated.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "GoogleCloudSecuritycenterV1MuteConfig" +}, +"response": { +"$ref": "GoogleCloudSecuritycenterV1MuteConfig" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"notificationConfigs": { +"methods": { +"create": { +"description": "Creates a notification config.", +"flatPath": "v1/projects/{projectsId}/notificationConfigs", +"httpMethod": "POST", +"id": "securitycenter.projects.notificationConfigs.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"configId": { +"description": "Required. Unique identifier provided by the client within the parent scope. It must be between 1 and 128 characters and contain alphanumeric characters, underscores, or hyphens only.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. Resource name of the new notification config's parent. Its format is `organizations/[organization_id]`, `folders/[folder_id]`, or `projects/[project_id]`.", +"location": "path", +"pattern": "^projects/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/notificationConfigs", +"request": { +"$ref": "NotificationConfig" +}, +"response": { +"$ref": "NotificationConfig" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a notification config.", +"flatPath": "v1/projects/{projectsId}/notificationConfigs/{notificationConfigsId}", +"httpMethod": "DELETE", +"id": "securitycenter.projects.notificationConfigs.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of the notification config to delete. Its format is `organizations/[organization_id]/notificationConfigs/[config_id]`, `folders/[folder_id]/notificationConfigs/[config_id]`, or `projects/[project_id]/notificationConfigs/[config_id]`.", +"location": "path", +"pattern": "^projects/[^/]+/notificationConfigs/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets a notification config.", +"flatPath": "v1/projects/{projectsId}/notificationConfigs/{notificationConfigsId}", +"httpMethod": "GET", +"id": "securitycenter.projects.notificationConfigs.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of the notification config to get. Its format is `organizations/[organization_id]/notificationConfigs/[config_id]`, `folders/[folder_id]/notificationConfigs/[config_id]`, or `projects/[project_id]/notificationConfigs/[config_id]`.", +"location": "path", +"pattern": "^projects/[^/]+/notificationConfigs/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "NotificationConfig" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists notification configs.", +"flatPath": "v1/projects/{projectsId}/notificationConfigs", +"httpMethod": "GET", +"id": "securitycenter.projects.notificationConfigs.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "The maximum number of results to return in a single response. Default is 10, minimum is 1, maximum is 1000.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The value returned by the last `ListNotificationConfigsResponse`; indicates that this is a continuation of a prior `ListNotificationConfigs` call, and that the system should return the next page of data.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The name of the parent in which to list the notification configurations. Its format is \"organizations/[organization_id]\", \"folders/[folder_id]\", or \"projects/[project_id]\".", +"location": "path", +"pattern": "^projects/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/notificationConfigs", +"response": { +"$ref": "ListNotificationConfigsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": " Updates a notification config. The following update fields are allowed: description, pubsub_topic, streaming_config.filter", +"flatPath": "v1/projects/{projectsId}/notificationConfigs/{notificationConfigsId}", +"httpMethod": "PATCH", +"id": "securitycenter.projects.notificationConfigs.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The relative resource name of this notification config. See: https://cloud.google.com/apis/design/resource_names#relative_resource_name Example: \"organizations/{organization_id}/notificationConfigs/notify_public_bucket\", \"folders/{folder_id}/notificationConfigs/notify_public_bucket\", or \"projects/{project_id}/notificationConfigs/notify_public_bucket\".", +"location": "path", +"pattern": "^projects/[^/]+/notificationConfigs/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "The FieldMask to use when updating the notification config. If empty all mutable fields will be updated.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "NotificationConfig" +}, +"response": { +"$ref": "NotificationConfig" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"securityHealthAnalyticsSettings": { +"resources": { +"customModules": { +"methods": { +"create": { +"description": "Creates a resident SecurityHealthAnalyticsCustomModule at the scope of the given CRM parent, and also creates inherited SecurityHealthAnalyticsCustomModules for all CRM descendants of the given parent. These modules are enabled by default.", +"flatPath": "v1/projects/{projectsId}/securityHealthAnalyticsSettings/customModules", +"httpMethod": "POST", +"id": "securitycenter.projects.securityHealthAnalyticsSettings.customModules.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. Resource name of the new custom module's parent. Its format is `organizations/{organization}/securityHealthAnalyticsSettings`, `folders/{folder}/securityHealthAnalyticsSettings`, or `projects/{project}/securityHealthAnalyticsSettings`", +"location": "path", +"pattern": "^projects/[^/]+/securityHealthAnalyticsSettings$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/customModules", +"request": { +"$ref": "GoogleCloudSecuritycenterV1SecurityHealthAnalyticsCustomModule" +}, +"response": { +"$ref": "GoogleCloudSecuritycenterV1SecurityHealthAnalyticsCustomModule" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes the specified SecurityHealthAnalyticsCustomModule and all of its descendants in the CRM hierarchy. This method is only supported for resident custom modules.", +"flatPath": "v1/projects/{projectsId}/securityHealthAnalyticsSettings/customModules/{customModulesId}", +"httpMethod": "DELETE", +"id": "securitycenter.projects.securityHealthAnalyticsSettings.customModules.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of the custom module to delete. Its format is `organizations/{organization}/securityHealthAnalyticsSettings/customModules/{customModule}`, `folders/{folder}/securityHealthAnalyticsSettings/customModules/{customModule}`, or `projects/{project}/securityHealthAnalyticsSettings/customModules/{customModule}`", +"location": "path", +"pattern": "^projects/[^/]+/securityHealthAnalyticsSettings/customModules/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Retrieves a SecurityHealthAnalyticsCustomModule.", +"flatPath": "v1/projects/{projectsId}/securityHealthAnalyticsSettings/customModules/{customModulesId}", +"httpMethod": "GET", +"id": "securitycenter.projects.securityHealthAnalyticsSettings.customModules.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of the custom module to get. Its format is `organizations/{organization}/securityHealthAnalyticsSettings/customModules/{customModule}`, `folders/{folder}/securityHealthAnalyticsSettings/customModules/{customModule}`, or `projects/{project}/securityHealthAnalyticsSettings/customModules/{customModule}`", +"location": "path", +"pattern": "^projects/[^/]+/securityHealthAnalyticsSettings/customModules/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleCloudSecuritycenterV1SecurityHealthAnalyticsCustomModule" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Returns a list of all SecurityHealthAnalyticsCustomModules for the given parent. This includes resident modules defined at the scope of the parent, and inherited modules, inherited from CRM ancestors.", +"flatPath": "v1/projects/{projectsId}/securityHealthAnalyticsSettings/customModules", +"httpMethod": "GET", +"id": "securitycenter.projects.securityHealthAnalyticsSettings.customModules.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "The maximum number of results to return in a single response. Default is 10, minimum is 1, maximum is 1000.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The value returned by the last call indicating a continuation", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. Name of parent to list custom modules. Its format is `organizations/{organization}/securityHealthAnalyticsSettings`, `folders/{folder}/securityHealthAnalyticsSettings`, or `projects/{project}/securityHealthAnalyticsSettings`", +"location": "path", +"pattern": "^projects/[^/]+/securityHealthAnalyticsSettings$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/customModules", +"response": { +"$ref": "ListSecurityHealthAnalyticsCustomModulesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"listDescendant": { +"description": "Returns a list of all resident SecurityHealthAnalyticsCustomModules under the given CRM parent and all of the parent\u2019s CRM descendants.", +"flatPath": "v1/projects/{projectsId}/securityHealthAnalyticsSettings/customModules:listDescendant", +"httpMethod": "GET", +"id": "securitycenter.projects.securityHealthAnalyticsSettings.customModules.listDescendant", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "The maximum number of results to return in a single response. Default is 10, minimum is 1, maximum is 1000.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The value returned by the last call indicating a continuation", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. Name of parent to list descendant custom modules. Its format is `organizations/{organization}/securityHealthAnalyticsSettings`, `folders/{folder}/securityHealthAnalyticsSettings`, or `projects/{project}/securityHealthAnalyticsSettings`", +"location": "path", +"pattern": "^projects/[^/]+/securityHealthAnalyticsSettings$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/customModules:listDescendant", +"response": { +"$ref": "ListDescendantSecurityHealthAnalyticsCustomModulesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates the SecurityHealthAnalyticsCustomModule under the given name based on the given update mask. Updating the enablement state is supported on both resident and inherited modules (though resident modules cannot have an enablement state of \"inherited\"). Updating the display name and custom config of a module is supported on resident modules only.", +"flatPath": "v1/projects/{projectsId}/securityHealthAnalyticsSettings/customModules/{customModulesId}", +"httpMethod": "PATCH", +"id": "securitycenter.projects.securityHealthAnalyticsSettings.customModules.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Immutable. The resource name of the custom module. Its format is \"organizations/{organization}/securityHealthAnalyticsSettings/customModules/{customModule}\", or \"folders/{folder}/securityHealthAnalyticsSettings/customModules/{customModule}\", or \"projects/{project}/securityHealthAnalyticsSettings/customModules/{customModule}\" The id {customModule} is server-generated and is not user settable. It will be a numeric id containing 1-20 digits.", +"location": "path", +"pattern": "^projects/[^/]+/securityHealthAnalyticsSettings/customModules/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "The list of fields to be updated. The only fields that can be updated are `enablement_state` and `custom_config`. If empty or set to the wildcard value `*`, both `enablement_state` and `custom_config` are updated.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "GoogleCloudSecuritycenterV1SecurityHealthAnalyticsCustomModule" +}, +"response": { +"$ref": "GoogleCloudSecuritycenterV1SecurityHealthAnalyticsCustomModule" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"simulate": { +"description": "Simulates a given SecurityHealthAnalyticsCustomModule and Resource.", +"flatPath": "v1/projects/{projectsId}/securityHealthAnalyticsSettings/customModules:simulate", +"httpMethod": "POST", +"id": "securitycenter.projects.securityHealthAnalyticsSettings.customModules.simulate", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The relative resource name of the organization, project, or folder. For more information about relative resource names, see [Relative Resource Name](https://cloud.google.com/apis/design/resource_names#relative_resource_name) Example: `organizations/{organization_id}`", +"location": "path", +"pattern": "^projects/[^/]+/securityHealthAnalyticsSettings$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/customModules:simulate", +"request": { +"$ref": "SimulateSecurityHealthAnalyticsCustomModuleRequest" +}, +"response": { +"$ref": "SimulateSecurityHealthAnalyticsCustomModuleResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"effectiveCustomModules": { +"methods": { +"get": { +"description": "Retrieves an EffectiveSecurityHealthAnalyticsCustomModule.", +"flatPath": "v1/projects/{projectsId}/securityHealthAnalyticsSettings/effectiveCustomModules/{effectiveCustomModulesId}", +"httpMethod": "GET", +"id": "securitycenter.projects.securityHealthAnalyticsSettings.effectiveCustomModules.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of the effective custom module to get. Its format is `organizations/{organization}/securityHealthAnalyticsSettings/effectiveCustomModules/{customModule}`, `folders/{folder}/securityHealthAnalyticsSettings/effectiveCustomModules/{customModule}`, or `projects/{project}/securityHealthAnalyticsSettings/effectiveCustomModules/{customModule}`", +"location": "path", +"pattern": "^projects/[^/]+/securityHealthAnalyticsSettings/effectiveCustomModules/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleCloudSecuritycenterV1EffectiveSecurityHealthAnalyticsCustomModule" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Returns a list of all EffectiveSecurityHealthAnalyticsCustomModules for the given parent. This includes resident modules defined at the scope of the parent, and inherited modules, inherited from CRM ancestors.", +"flatPath": "v1/projects/{projectsId}/securityHealthAnalyticsSettings/effectiveCustomModules", +"httpMethod": "GET", +"id": "securitycenter.projects.securityHealthAnalyticsSettings.effectiveCustomModules.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "The maximum number of results to return in a single response. Default is 10, minimum is 1, maximum is 1000.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The value returned by the last call indicating a continuation", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. Name of parent to list effective custom modules. Its format is `organizations/{organization}/securityHealthAnalyticsSettings`, `folders/{folder}/securityHealthAnalyticsSettings`, or `projects/{project}/securityHealthAnalyticsSettings`", +"location": "path", +"pattern": "^projects/[^/]+/securityHealthAnalyticsSettings$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/effectiveCustomModules", +"response": { +"$ref": "ListEffectiveSecurityHealthAnalyticsCustomModulesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +}, +"sources": { +"methods": { +"list": { +"description": "Lists all sources belonging to an organization.", +"flatPath": "v1/projects/{projectsId}/sources", +"httpMethod": "GET", +"id": "securitycenter.projects.sources.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "The maximum number of results to return in a single response. Default is 10, minimum is 1, maximum is 1000.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The value returned by the last `ListSourcesResponse`; indicates that this is a continuation of a prior `ListSources` call, and that the system should return the next page of data.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. Resource name of the parent of sources to list. Its format should be `organizations/[organization_id]`, `folders/[folder_id]`, or `projects/[project_id]`.", +"location": "path", +"pattern": "^projects/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/sources", +"response": { +"$ref": "ListSourcesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"findings": { +"methods": { +"group": { +"description": "Filters an organization or source's findings and groups them by their specified properties. To group across all sources provide a `-` as the source id. Example: /v1/organizations/{organization_id}/sources/-/findings, /v1/folders/{folder_id}/sources/-/findings, /v1/projects/{project_id}/sources/-/findings", +"flatPath": "v1/projects/{projectsId}/sources/{sourcesId}/findings:group", +"httpMethod": "POST", +"id": "securitycenter.projects.sources.findings.group", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. Name of the source to groupBy. Its format is `organizations/[organization_id]/sources/[source_id]`, `folders/[folder_id]/sources/[source_id]`, or `projects/[project_id]/sources/[source_id]`. To groupBy across all sources provide a source_id of `-`. For example: `organizations/{organization_id}/sources/-, folders/{folder_id}/sources/-`, or `projects/{project_id}/sources/-`", +"location": "path", +"pattern": "^projects/[^/]+/sources/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/findings:group", +"request": { +"$ref": "GroupFindingsRequest" +}, +"response": { +"$ref": "GroupFindingsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists an organization or source's findings. To list across all sources provide a `-` as the source id. Example: /v1/organizations/{organization_id}/sources/-/findings", +"flatPath": "v1/projects/{projectsId}/sources/{sourcesId}/findings", +"httpMethod": "GET", +"id": "securitycenter.projects.sources.findings.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"compareDuration": { +"deprecated": true, +"description": "When compare_duration is set, the ListFindingsResult's \"state_change\" attribute is updated to indicate whether the finding had its state changed, the finding's state remained unchanged, or if the finding was added in any state during the compare_duration period of time that precedes the read_time. This is the time between (read_time - compare_duration) and read_time. The state_change value is derived based on the presence and state of the finding at the two points in time. Intermediate state changes between the two times don't affect the result. For example, the results aren't affected if the finding is made inactive and then active again. Possible \"state_change\" values when compare_duration is specified: * \"CHANGED\": indicates that the finding was present and matched the given filter at the start of compare_duration, but changed its state at read_time. * \"UNCHANGED\": indicates that the finding was present and matched the given filter at the start of compare_duration and did not change state at read_time. * \"ADDED\": indicates that the finding did not match the given filter or was not present at the start of compare_duration, but was present at read_time. * \"REMOVED\": indicates that the finding was present and matched the filter at the start of compare_duration, but did not match the filter at read_time. If compare_duration is not specified, then the only possible state_change is \"UNUSED\", which will be the state_change set for all findings present at read_time.", +"format": "google-duration", +"location": "query", +"type": "string" +}, +"fieldMask": { +"description": "A field mask to specify the Finding fields to be listed in the response. An empty field mask will list all fields.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +}, +"filter": { +"description": "Expression that defines the filter to apply across findings. The expression is a list of one or more restrictions combined via logical operators `AND` and `OR`. Parentheses are supported, and `OR` has higher precedence than `AND`. Restrictions have the form ` ` and may have a `-` character in front of them to indicate negation. Examples include: * name * source_properties.a_property * security_marks.marks.marka The supported operators are: * `=` for all value types. * `>`, `<`, `>=`, `<=` for integer values. * `:`, meaning substring matching, for strings. The supported value types are: * string literals in quotes. * integer literals without quotes. * boolean literals `true` and `false` without quotes. The following field and operator combinations are supported: * name: `=` * parent: `=`, `:` * resource_name: `=`, `:` * state: `=`, `:` * category: `=`, `:` * external_uri: `=`, `:` * event_time: `=`, `>`, `<`, `>=`, `<=` Usage: This should be milliseconds since epoch or an RFC3339 string. Examples: `event_time = \"2019-06-10T16:07:18-07:00\"` `event_time = 1560208038000` * severity: `=`, `:` * workflow_state: `=`, `:` * security_marks.marks: `=`, `:` * source_properties: `=`, `:`, `>`, `<`, `>=`, `<=` For example, `source_properties.size = 100` is a valid filter string. Use a partial match on the empty string to filter based on a property existing: `source_properties.my_property : \"\"` Use a negated partial match on the empty string to filter based on a property not existing: `-source_properties.my_property : \"\"` * resource: * resource.name: `=`, `:` * resource.parent_name: `=`, `:` * resource.parent_display_name: `=`, `:` * resource.project_name: `=`, `:` * resource.project_display_name: `=`, `:` * resource.type: `=`, `:` * resource.folders.resource_folder: `=`, `:` * resource.display_name: `=`, `:`", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "Expression that defines what fields and order to use for sorting. The string value should follow SQL syntax: comma separated list of fields. For example: \"name,resource_properties.a_property\". The default sorting order is ascending. To specify descending order for a field, a suffix \" desc\" should be appended to the field name. For example: \"name desc,source_properties.a_property\". Redundant space characters in the syntax are insignificant. \"name desc,source_properties.a_property\" and \" name desc , source_properties.a_property \" are equivalent. The following fields are supported: name parent state category resource_name event_time source_properties security_marks.marks", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "The maximum number of results to return in a single response. Default is 10, minimum is 1, maximum is 1000.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The value returned by the last `ListFindingsResponse`; indicates that this is a continuation of a prior `ListFindings` call, and that the system should return the next page of data.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. Name of the source the findings belong to. Its format is `organizations/[organization_id]/sources/[source_id]`, `folders/[folder_id]/sources/[source_id]`, or `projects/[project_id]/sources/[source_id]`. To list across all sources provide a source_id of `-`. For example: `organizations/{organization_id}/sources/-`, `folders/{folder_id}/sources/-` or `projects/{projects_id}/sources/-`", +"location": "path", +"pattern": "^projects/[^/]+/sources/[^/]+$", +"required": true, +"type": "string" +}, +"readTime": { +"deprecated": true, +"description": "Time used as a reference point when filtering findings. The filter is limited to findings existing at the supplied time and their values are those at that specific time. Absence of this field will default to the API's version of NOW.", +"format": "google-datetime", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+parent}/findings", +"response": { +"$ref": "ListFindingsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Creates or updates a finding. The corresponding source must exist for a finding creation to succeed.", +"flatPath": "v1/projects/{projectsId}/sources/{sourcesId}/findings/{findingsId}", +"httpMethod": "PATCH", +"id": "securitycenter.projects.sources.findings.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The [relative resource name](https://cloud.google.com/apis/design/resource_names#relative_resource_name) of the finding. Example: \"organizations/{organization_id}/sources/{source_id}/findings/{finding_id}\", \"folders/{folder_id}/sources/{source_id}/findings/{finding_id}\", \"projects/{project_id}/sources/{source_id}/findings/{finding_id}\".", +"location": "path", +"pattern": "^projects/[^/]+/sources/[^/]+/findings/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "The FieldMask to use when updating the finding resource. This field should not be specified when creating a finding. When updating a finding, an empty mask is treated as updating all mutable fields and replacing source_properties. Individual source_properties can be added/updated by using \"source_properties.\" in the field mask.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "Finding" +}, +"response": { +"$ref": "Finding" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"setMute": { +"description": "Updates the mute state of a finding.", +"flatPath": "v1/projects/{projectsId}/sources/{sourcesId}/findings/{findingsId}:setMute", +"httpMethod": "POST", +"id": "securitycenter.projects.sources.findings.setMute", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The [relative resource name](https://cloud.google.com/apis/design/resource_names#relative_resource_name) of the finding. Example: `organizations/{organization_id}/sources/{source_id}/findings/{finding_id}`, `folders/{folder_id}/sources/{source_id}/findings/{finding_id}`, `projects/{project_id}/sources/{source_id}/findings/{finding_id}`.", +"location": "path", +"pattern": "^projects/[^/]+/sources/[^/]+/findings/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:setMute", +"request": { +"$ref": "SetMuteRequest" +}, +"response": { +"$ref": "Finding" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"setState": { +"description": "Updates the state of a finding.", +"flatPath": "v1/projects/{projectsId}/sources/{sourcesId}/findings/{findingsId}:setState", +"httpMethod": "POST", +"id": "securitycenter.projects.sources.findings.setState", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The [relative resource name](https://cloud.google.com/apis/design/resource_names#relative_resource_name) of the finding. Example: `organizations/{organization_id}/sources/{source_id}/findings/{finding_id}`, `folders/{folder_id}/sources/{source_id}/findings/{finding_id}`, `projects/{project_id}/sources/{source_id}/findings/{finding_id}`.", +"location": "path", +"pattern": "^projects/[^/]+/sources/[^/]+/findings/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:setState", +"request": { +"$ref": "SetFindingStateRequest" +}, +"response": { +"$ref": "Finding" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"updateSecurityMarks": { +"description": "Updates security marks.", +"flatPath": "v1/projects/{projectsId}/sources/{sourcesId}/findings/{findingsId}/securityMarks", +"httpMethod": "PATCH", +"id": "securitycenter.projects.sources.findings.updateSecurityMarks", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The relative resource name of the SecurityMarks. See: https://cloud.google.com/apis/design/resource_names#relative_resource_name Examples: \"organizations/{organization_id}/assets/{asset_id}/securityMarks\" \"organizations/{organization_id}/sources/{source_id}/findings/{finding_id}/securityMarks\".", +"location": "path", +"pattern": "^projects/[^/]+/sources/[^/]+/findings/[^/]+/securityMarks$", +"required": true, +"type": "string" +}, +"startTime": { +"description": "The time at which the updated SecurityMarks take effect. If not set uses current server time. Updates will be applied to the SecurityMarks that are active immediately preceding this time. Must be earlier or equal to the server time.", +"format": "google-datetime", +"location": "query", +"type": "string" +}, +"updateMask": { +"description": "The FieldMask to use when updating the security marks resource. The field mask must not contain duplicate fields. If empty or set to \"marks\", all marks will be replaced. Individual marks can be updated using \"marks.\".", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "SecurityMarks" +}, +"response": { +"$ref": "SecurityMarks" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"externalSystems": { +"methods": { +"patch": { +"description": "Updates external system. This is for a given finding.", +"flatPath": "v1/projects/{projectsId}/sources/{sourcesId}/findings/{findingsId}/externalSystems/{externalSystemsId}", +"httpMethod": "PATCH", +"id": "securitycenter.projects.sources.findings.externalSystems.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Full resource name of the external system, for example: \"organizations/1234/sources/5678/findings/123456/externalSystems/jira\", \"folders/1234/sources/5678/findings/123456/externalSystems/jira\", \"projects/1234/sources/5678/findings/123456/externalSystems/jira\"", +"location": "path", +"pattern": "^projects/[^/]+/sources/[^/]+/findings/[^/]+/externalSystems/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "The FieldMask to use when updating the external system resource. If empty all mutable fields will be updated.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "GoogleCloudSecuritycenterV1ExternalSystem" +}, +"response": { +"$ref": "GoogleCloudSecuritycenterV1ExternalSystem" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +} +} +} +} +} +}, +"revision": "20260223", +"rootUrl": "https://securitycenter.googleapis.com/", +"schemas": { +"Access": { +"description": "Represents an access event.", +"id": "Access", +"properties": { +"callerIp": { +"description": "Caller's IP address, such as \"1.1.1.1\".", +"type": "string" +}, +"callerIpGeo": { +"$ref": "Geolocation", +"description": "The caller IP's geolocation, which identifies where the call came from." +}, +"methodName": { +"description": "The method that the service account called, e.g. \"SetIamPolicy\".", +"type": "string" +}, +"principalEmail": { +"description": "Associated email, such as \"foo@google.com\". The email address of the authenticated user or a service account acting on behalf of a third party principal making the request. For third party identity callers, the `principal_subject` field is populated instead of this field. For privacy reasons, the principal email address is sometimes redacted. For more information, see [Caller identities in audit logs](https://cloud.google.com/logging/docs/audit#user-id).", +"type": "string" +}, +"principalSubject": { +"description": "A string that represents the principal_subject that is associated with the identity. Unlike `principal_email`, `principal_subject` supports principals that aren't associated with email addresses, such as third party principals. For most identities, the format is `principal://iam.googleapis.com/{identity pool name}/subject/{subject}`. Some GKE identities, such as GKE_WORKLOAD, FREEFORM, and GKE_HUB_WORKLOAD, still use the legacy format `serviceAccount:{identity pool name}[{subject}]`.", +"type": "string" +}, +"serviceAccountDelegationInfo": { +"description": "The identity delegation history of an authenticated service account that made the request. The `serviceAccountDelegationInfo[]` object contains information about the real authorities that try to access Google Cloud resources by delegating on a service account. When multiple authorities are present, they are guaranteed to be sorted based on the original ordering of the identity delegation events.", +"items": { +"$ref": "ServiceAccountDelegationInfo" +}, +"type": "array" +}, +"serviceAccountKeyName": { +"description": "The name of the service account key that was used to create or exchange credentials when authenticating the service account that made the request. This is a scheme-less URI full resource name. For example: \"//iam.googleapis.com/projects/{PROJECT_ID}/serviceAccounts/{ACCOUNT}/keys/{key}\". ", +"type": "string" +}, +"serviceName": { +"description": "This is the API service that the service account made a call to, e.g. \"iam.googleapis.com\"", +"type": "string" +}, +"userAgent": { +"description": "The caller's user agent string associated with the finding.", +"type": "string" +}, +"userAgentFamily": { +"description": "Type of user agent associated with the finding. For example, an operating system shell or an embedded or standalone application.", +"type": "string" +}, +"userName": { +"description": "A string that represents a username. The username provided depends on the type of the finding and is likely not an IAM principal. For example, this can be a system username if the finding is related to a virtual machine, or it can be an application login username.", +"type": "string" +} +}, +"type": "object" +}, +"AccessReview": { +"description": "Conveys information about a Kubernetes access review (such as one returned by a [`kubectl auth can-i`](https://kubernetes.io/docs/reference/access-authn-authz/authorization/#checking-api-access) command) that was involved in a finding.", +"id": "AccessReview", +"properties": { +"group": { +"description": "The API group of the resource. \"*\" means all.", +"type": "string" +}, +"name": { +"description": "The name of the resource being requested. Empty means all.", +"type": "string" +}, +"ns": { +"description": "Namespace of the action being requested. Currently, there is no distinction between no namespace and all namespaces. Both are represented by \"\" (empty).", +"type": "string" +}, +"resource": { +"description": "The optional resource type requested. \"*\" means all.", +"type": "string" +}, +"subresource": { +"description": "The optional subresource type.", +"type": "string" +}, +"verb": { +"description": "A Kubernetes resource API verb, like get, list, watch, create, update, delete, proxy. \"*\" means all.", +"type": "string" +}, +"version": { +"description": "The API version of the resource. \"*\" means all.", +"type": "string" +} +}, +"type": "object" +}, +"AdaptiveProtection": { +"description": "Information about [Google Cloud Armor Adaptive Protection](https://cloud.google.com/armor/docs/cloud-armor-overview#google-cloud-armor-adaptive-protection).", +"id": "AdaptiveProtection", +"properties": { +"confidence": { +"description": "A score of 0 means that there is low confidence that the detected event is an actual attack. A score of 1 means that there is high confidence that the detected event is an attack. See the [Adaptive Protection documentation](https://cloud.google.com/armor/docs/adaptive-protection-overview#configure-alert-tuning) for further explanation.", +"format": "double", +"type": "number" +} +}, +"type": "object" +}, +"AdcApplication": { +"description": "Represents an ADC application associated with the finding.", +"id": "AdcApplication", +"properties": { +"attributes": { +"$ref": "GoogleCloudSecuritycenterV1ResourceApplicationAttributes", +"description": "Consumer provided attributes for the AppHub application." +}, +"name": { +"description": "The resource name of an ADC Application. Format: projects/{project}/locations/{location}/spaces/{space}/applications/{application}", +"type": "string" +} +}, +"type": "object" +}, +"AdcApplicationTemplateRevision": { +"description": "Represents an ADC template associated with the finding.", +"id": "AdcApplicationTemplateRevision", +"properties": { +"name": { +"description": "The resource name of an ADC Application Template Revision. Format: projects/{project}/locations/{location}/spaces/{space}/applicationTemplates/{application_template}/revisions/{revision}", +"type": "string" +} +}, +"type": "object" +}, +"AdcSharedTemplateRevision": { +"description": "Represents an ADC shared template associated with the finding.", +"id": "AdcSharedTemplateRevision", +"properties": { +"name": { +"description": "The resource name of an ADC Shared Template Revision. Format: projects/{project}/locations/{location}/spaces/{space}/applicationTemplates/{application_template}/revisions/{revision}", +"type": "string" +} +}, +"type": "object" +}, +"AffectedResources": { +"description": "Details about resources affected by this finding.", +"id": "AffectedResources", +"properties": { +"count": { +"description": "The count of resources affected by the finding.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"AiModel": { +"description": "Contains information about the AI model associated with the finding.", +"id": "AiModel", +"properties": { +"deploymentPlatform": { +"description": "The platform on which the model is deployed.", +"enum": [ +"DEPLOYMENT_PLATFORM_UNSPECIFIED", +"VERTEX_AI", +"GKE", +"GCE", +"FINE_TUNED_MODEL" +], +"enumDescriptions": [ +"Unspecified deployment platform.", +"Vertex AI.", +"Google Kubernetes Engine.", +"Google Compute Engine.", +"Fine tuned model." +], +"type": "string" +}, +"displayName": { +"description": "The user defined display name of model. Ex. baseline-classification-model", +"type": "string" +}, +"domain": { +"description": "The domain of the model, for example, \u201cimage-classification\u201d.", +"type": "string" +}, +"library": { +"description": "The name of the model library, for example, \u201ctransformers\u201d.", +"type": "string" +}, +"location": { +"description": "The region in which the model is used, for example, \u201cus-central1\u201d.", +"type": "string" +}, +"name": { +"description": "The name of the AI model, for example, \"gemini:1.0.0\".", +"type": "string" +}, +"publisher": { +"description": "The publisher of the model, for example, \u201cgoogle\u201d or \u201cnvidia\u201d.", +"type": "string" +}, +"usageCategory": { +"description": "The purpose of the model, for example, \"Inteference\" or \"Training\".", +"type": "string" +} +}, +"type": "object" +}, +"Allowed": { +"description": "Allowed IP rule.", +"id": "Allowed", +"properties": { +"ipRules": { +"description": "Optional. Optional list of allowed IP rules.", +"items": { +"$ref": "IpRule" +}, +"type": "array" +} +}, +"type": "object" +}, +"Application": { +"description": "Represents an application associated with a finding.", +"id": "Application", +"properties": { +"baseUri": { +"description": "The base URI that identifies the network location of the application in which the vulnerability was detected. For example, `http://example.com`.", +"type": "string" +}, +"fullUri": { +"description": "The full URI with payload that can be used to reproduce the vulnerability. For example, `http://example.com?p=aMmYgI6H`.", +"type": "string" +} +}, +"type": "object" +}, +"ArtifactGuardPolicies": { +"description": "Represents the result of evaluating artifact guard policies.", +"id": "ArtifactGuardPolicies", +"properties": { +"failingPolicies": { +"description": "A list of failing policies.", +"items": { +"$ref": "ArtifactGuardPolicy" +}, +"type": "array" +}, +"resourceId": { +"description": "The ID of the resource that has policies configured for it.", +"type": "string" +} +}, +"type": "object" +}, +"ArtifactGuardPolicy": { +"description": "Represents an artifact guard policy.", +"id": "ArtifactGuardPolicy", +"properties": { +"failureReason": { +"description": "The reason for the policy failure, for example, \"severity=HIGH AND max_vuln_count=2\".", +"type": "string" +}, +"policyId": { +"description": "The ID of the failing policy, for example, \"organizations/3392779/locations/global/policies/prod-policy\".", +"type": "string" +}, +"type": { +"description": "The type of the policy evaluation.", +"enum": [ +"ARTIFACT_GUARD_POLICY_TYPE_UNSPECIFIED", +"VULNERABILITY" +], +"enumDescriptions": [ +"Default value. This value is unused.", +"Vulnerability type." +], +"type": "string" +} +}, +"type": "object" +}, +"Asset": { +"description": "Security Command Center representation of a Google Cloud resource. The Asset is a Security Command Center resource that captures information about a single Google Cloud resource. All modifications to an Asset are only within the context of Security Command Center and don't affect the referenced Google Cloud resource.", +"id": "Asset", +"properties": { +"canonicalName": { +"description": "The canonical name of the resource. It's either \"organizations/{organization_id}/assets/{asset_id}\", \"folders/{folder_id}/assets/{asset_id}\" or \"projects/{project_number}/assets/{asset_id}\", depending on the closest CRM ancestor of the resource.", +"type": "string" +}, +"createTime": { +"description": "The time at which the asset was created in Security Command Center.", +"format": "google-datetime", +"type": "string" +}, +"iamPolicy": { +"$ref": "IamPolicy", +"description": "Cloud IAM Policy information associated with the Google Cloud resource described by the Security Command Center asset. This information is managed and defined by the Google Cloud resource and cannot be modified by the user." +}, +"name": { +"description": "The relative resource name of this asset. See: https://cloud.google.com/apis/design/resource_names#relative_resource_name Example: \"organizations/{organization_id}/assets/{asset_id}\".", +"type": "string" +}, +"resourceProperties": { +"additionalProperties": { +"type": "any" +}, +"description": "Resource managed properties. These properties are managed and defined by the Google Cloud resource and cannot be modified by the user.", +"type": "object" +}, +"securityCenterProperties": { +"$ref": "SecurityCenterProperties", +"description": "Security Command Center managed properties. These properties are managed by Security Command Center and cannot be modified by the user." +}, +"securityMarks": { +"$ref": "SecurityMarks", +"description": "User specified security marks. These marks are entirely managed by the user and come from the SecurityMarks resource that belongs to the asset." +}, +"updateTime": { +"description": "The time at which the asset was last updated or added in Cloud SCC.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"AssetDiscoveryConfig": { +"description": "The configuration used for Asset Discovery runs.", +"id": "AssetDiscoveryConfig", +"properties": { +"folderIds": { +"description": "The folder ids to use for filtering asset discovery. It consists of only digits, e.g., 756619654966.", +"items": { +"type": "string" +}, +"type": "array" +}, +"inclusionMode": { +"description": "The mode to use for filtering asset discovery.", +"enum": [ +"INCLUSION_MODE_UNSPECIFIED", +"INCLUDE_ONLY", +"EXCLUDE" +], +"enumDescriptions": [ +"Unspecified. Setting the mode with this value will disable inclusion/exclusion filtering for Asset Discovery.", +"Asset Discovery will capture only the resources within the projects specified. All other resources will be ignored.", +"Asset Discovery will ignore all resources under the projects specified. All other resources will be retrieved." +], +"type": "string" +}, +"projectIds": { +"description": "The project ids to use for filtering asset discovery.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"Attack": { +"description": "Information about DDoS attack volume and classification.", +"id": "Attack", +"properties": { +"classification": { +"description": "Type of attack, for example, 'SYN-flood', 'NTP-udp', or 'CHARGEN-udp'.", +"type": "string" +}, +"volumeBps": { +"deprecated": true, +"description": "Total BPS (bytes per second) volume of attack. Deprecated - refer to volume_bps_long instead.", +"format": "int32", +"type": "integer" +}, +"volumeBpsLong": { +"description": "Total BPS (bytes per second) volume of attack.", +"format": "int64", +"type": "string" +}, +"volumePps": { +"deprecated": true, +"description": "Total PPS (packets per second) volume of attack. Deprecated - refer to volume_pps_long instead.", +"format": "int32", +"type": "integer" +}, +"volumePpsLong": { +"description": "Total PPS (packets per second) volume of attack.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"AttackExposure": { +"description": "An attack exposure contains the results of an attack path simulation run.", +"id": "AttackExposure", +"properties": { +"attackExposureResult": { +"description": "The resource name of the attack path simulation result that contains the details regarding this attack exposure score. Example: `organizations/123/simulations/456/attackExposureResults/789`", +"type": "string" +}, +"exposedHighValueResourcesCount": { +"description": "The number of high value resources that are exposed as a result of this finding.", +"format": "int32", +"type": "integer" +}, +"exposedLowValueResourcesCount": { +"description": "The number of high value resources that are exposed as a result of this finding.", +"format": "int32", +"type": "integer" +}, +"exposedMediumValueResourcesCount": { +"description": "The number of medium value resources that are exposed as a result of this finding.", +"format": "int32", +"type": "integer" +}, +"latestCalculationTime": { +"description": "The most recent time the attack exposure was updated on this finding.", +"format": "google-datetime", +"type": "string" +}, +"score": { +"description": "A number between 0 (inclusive) and infinity that represents how important this finding is to remediate. The higher the score, the more important it is to remediate.", +"format": "double", +"type": "number" +}, +"state": { +"description": "What state this AttackExposure is in. This captures whether or not an attack exposure has been calculated or not.", +"enum": [ +"STATE_UNSPECIFIED", +"CALCULATED", +"NOT_CALCULATED" +], +"enumDescriptions": [ +"The state is not specified.", +"The attack exposure has been calculated.", +"The attack exposure has not been calculated." +], +"type": "string" +} +}, +"type": "object" +}, +"AttackPath": { +"description": "A path that an attacker could take to reach an exposed resource.", +"id": "AttackPath", +"properties": { +"edges": { +"description": "A list of the edges between nodes in this attack path.", +"items": { +"$ref": "AttackPathEdge" +}, +"type": "array" +}, +"name": { +"description": "The attack path name, for example, `organizations/12/simulation/34/valuedResources/56/attackPaths/78`", +"type": "string" +}, +"pathNodes": { +"description": "A list of nodes that exist in this attack path.", +"items": { +"$ref": "AttackPathNode" +}, +"type": "array" +} +}, +"type": "object" +}, +"AttackPathEdge": { +"description": "Represents a connection between a source node and a destination node in this attack path.", +"id": "AttackPathEdge", +"properties": { +"destination": { +"description": "The attack node uuid of the destination node.", +"type": "string" +}, +"source": { +"description": "The attack node uuid of the source node.", +"type": "string" +} +}, +"type": "object" +}, +"AttackPathNode": { +"description": "Represents one point that an attacker passes through in this attack path.", +"id": "AttackPathNode", +"properties": { +"associatedFindings": { +"description": "The findings associated with this node in the attack path.", +"items": { +"$ref": "PathNodeAssociatedFinding" +}, +"type": "array" +}, +"attackSteps": { +"description": "A list of attack step nodes that exist in this attack path node.", +"items": { +"$ref": "AttackStepNode" +}, +"type": "array" +}, +"displayName": { +"description": "Human-readable name of this resource.", +"type": "string" +}, +"resource": { +"description": "The name of the resource at this point in the attack path. The format of the name follows the Cloud Asset Inventory [resource name format](https://cloud.google.com/asset-inventory/docs/resource-name-format)", +"type": "string" +}, +"resourceType": { +"description": "The [supported resource type](https://cloud.google.com/asset-inventory/docs/supported-asset-types)", +"type": "string" +}, +"uuid": { +"description": "Unique id of the attack path node.", +"type": "string" +} +}, +"type": "object" +}, +"AttackStepNode": { +"description": "Detailed steps the attack can take between path nodes.", +"id": "AttackStepNode", +"properties": { +"description": { +"description": "Attack step description", +"type": "string" +}, +"displayName": { +"description": "User friendly name of the attack step", +"type": "string" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Attack step labels for metadata", +"type": "object" +}, +"type": { +"description": "Attack step type. Can be either AND, OR or DEFENSE", +"enum": [ +"NODE_TYPE_UNSPECIFIED", +"NODE_TYPE_AND", +"NODE_TYPE_OR", +"NODE_TYPE_DEFENSE", +"NODE_TYPE_ATTACKER" +], +"enumDescriptions": [ +"Type not specified", +"Incoming edge joined with AND", +"Incoming edge joined with OR", +"Incoming edge is defense", +"Incoming edge is attacker" +], +"type": "string" +}, +"uuid": { +"description": "Unique ID for one Node", +"type": "string" +} +}, +"type": "object" +}, +"AuditConfig": { +"description": "Specifies the audit configuration for a service. The configuration determines which permission types are logged, and what identities, if any, are exempted from logging. An AuditConfig must have one or more AuditLogConfigs. If there are AuditConfigs for both `allServices` and a specific service, the union of the two AuditConfigs is used for that service: the log_types specified in each AuditConfig are enabled, and the exempted_members in each AuditLogConfig are exempted. Example Policy with multiple AuditConfigs: { \"audit_configs\": [ { \"service\": \"allServices\", \"audit_log_configs\": [ { \"log_type\": \"DATA_READ\", \"exempted_members\": [ \"user:jose@example.com\" ] }, { \"log_type\": \"DATA_WRITE\" }, { \"log_type\": \"ADMIN_READ\" } ] }, { \"service\": \"sampleservice.googleapis.com\", \"audit_log_configs\": [ { \"log_type\": \"DATA_READ\" }, { \"log_type\": \"DATA_WRITE\", \"exempted_members\": [ \"user:aliya@example.com\" ] } ] } ] } For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also exempts `jose@example.com` from DATA_READ logging, and `aliya@example.com` from DATA_WRITE logging.", +"id": "AuditConfig", +"properties": { +"auditLogConfigs": { +"description": "The configuration for logging of each type of permission.", +"items": { +"$ref": "AuditLogConfig" +}, +"type": "array" +}, +"service": { +"description": "Specifies a service that will be enabled for audit logging. For example, `storage.googleapis.com`, `cloudsql.googleapis.com`. `allServices` is a special value that covers all services.", +"type": "string" +} +}, +"type": "object" +}, +"AuditLogConfig": { +"description": "Provides the configuration for logging a type of permissions. Example: { \"audit_log_configs\": [ { \"log_type\": \"DATA_READ\", \"exempted_members\": [ \"user:jose@example.com\" ] }, { \"log_type\": \"DATA_WRITE\" } ] } This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting jose@example.com from DATA_READ logging.", +"id": "AuditLogConfig", +"properties": { +"exemptedMembers": { +"description": "Specifies the identities that do not cause logging for this type of permission. Follows the same format of Binding.members.", +"items": { +"type": "string" +}, +"type": "array" +}, +"logType": { +"description": "The log type that this config enables.", +"enum": [ +"LOG_TYPE_UNSPECIFIED", +"ADMIN_READ", +"DATA_WRITE", +"DATA_READ" +], +"enumDescriptions": [ +"Default case. Should never be this.", +"Admin reads. Example: CloudIAM getIamPolicy", +"Data writes. Example: CloudSQL Users create", +"Data reads. Example: CloudSQL Users list" +], +"type": "string" +} +}, +"type": "object" +}, +"AwsAccount": { +"description": "An AWS account that is a member of an organization.", +"id": "AwsAccount", +"properties": { +"id": { +"description": "The unique identifier (ID) of the account, containing exactly 12 digits.", +"type": "string" +}, +"name": { +"description": "The friendly name of this account.", +"type": "string" +} +}, +"type": "object" +}, +"AwsMetadata": { +"description": "AWS metadata associated with the resource, only applicable if the finding's cloud provider is Amazon Web Services.", +"id": "AwsMetadata", +"properties": { +"account": { +"$ref": "AwsAccount", +"description": "The AWS account associated with the resource." +}, +"organization": { +"$ref": "AwsOrganization", +"description": "The AWS organization associated with the resource." +}, +"organizationalUnits": { +"description": "A list of AWS organizational units associated with the resource, ordered from lowest level (closest to the account) to highest level.", +"items": { +"$ref": "AwsOrganizationalUnit" +}, +"type": "array" +} +}, +"type": "object" +}, +"AwsOrganization": { +"description": "An organization is a collection of accounts that are centrally managed together using consolidated billing, organized hierarchically with organizational units (OUs), and controlled with policies.", +"id": "AwsOrganization", +"properties": { +"id": { +"description": "The unique identifier (ID) for the organization. The regex pattern for an organization ID string requires \"o-\" followed by from 10 to 32 lowercase letters or digits.", +"type": "string" +} +}, +"type": "object" +}, +"AwsOrganizationalUnit": { +"description": "An Organizational Unit (OU) is a container of AWS accounts within a root of an organization. Policies that are attached to an OU apply to all accounts contained in that OU and in any child OUs.", +"id": "AwsOrganizationalUnit", +"properties": { +"id": { +"description": "The unique identifier (ID) associated with this OU. The regex pattern for an organizational unit ID string requires \"ou-\" followed by from 4 to 32 lowercase letters or digits (the ID of the root that contains the OU). This string is followed by a second \"-\" dash and from 8 to 32 additional lowercase letters or digits. For example, \"ou-ab12-cd34ef56\".", +"type": "string" +}, +"name": { +"description": "The friendly name of the OU.", +"type": "string" +} +}, +"type": "object" +}, +"AzureManagementGroup": { +"description": "Represents an Azure management group.", +"id": "AzureManagementGroup", +"properties": { +"displayName": { +"description": "The display name of the Azure management group.", +"type": "string" +}, +"id": { +"description": "The UUID of the Azure management group, for example, `20000000-0001-0000-0000-000000000000`.", +"type": "string" +} +}, +"type": "object" +}, +"AzureMetadata": { +"description": "Azure metadata associated with the resource, only applicable if the finding's cloud provider is Microsoft Azure.", +"id": "AzureMetadata", +"properties": { +"managementGroups": { +"description": "A list of Azure management groups associated with the resource, ordered from lowest level (closest to the subscription) to highest level.", +"items": { +"$ref": "AzureManagementGroup" +}, +"type": "array" +}, +"resourceGroup": { +"$ref": "AzureResourceGroup", +"description": "The Azure resource group associated with the resource." +}, +"subscription": { +"$ref": "AzureSubscription", +"description": "The Azure subscription associated with the resource." +}, +"tenant": { +"$ref": "AzureTenant", +"description": "The Azure Entra tenant associated with the resource." +} +}, +"type": "object" +}, +"AzureResourceGroup": { +"description": "Represents an Azure resource group.", +"id": "AzureResourceGroup", +"properties": { +"id": { +"description": "The ID of the Azure resource group.", +"type": "string" +}, +"name": { +"description": "The name of the Azure resource group. This is not a UUID.", +"type": "string" +} +}, +"type": "object" +}, +"AzureSubscription": { +"description": "Represents an Azure subscription.", +"id": "AzureSubscription", +"properties": { +"displayName": { +"description": "The display name of the Azure subscription.", +"type": "string" +}, +"id": { +"description": "The UUID of the Azure subscription, for example, `291bba3f-e0a5-47bc-a099-3bdcb2a50a05`.", +"type": "string" +} +}, +"type": "object" +}, +"AzureTenant": { +"description": "Represents a Microsoft Entra tenant.", +"id": "AzureTenant", +"properties": { +"displayName": { +"description": "The display name of the Azure tenant.", +"type": "string" +}, +"id": { +"description": "The ID of the Microsoft Entra tenant, for example, \"a11aaa11-aa11-1aa1-11aa-1aaa11a\".", +"type": "string" +} +}, +"type": "object" +}, +"BackupDisasterRecovery": { +"description": "Information related to Google Cloud Backup and DR Service findings.", +"id": "BackupDisasterRecovery", +"properties": { +"appliance": { +"description": "The name of the Backup and DR appliance that captures, moves, and manages the lifecycle of backup data. For example, `backup-server-57137`.", +"type": "string" +}, +"applications": { +"description": "The names of Backup and DR applications. An application is a VM, database, or file system on a managed host monitored by a backup and recovery appliance. For example, `centos7-01-vol00`, `centos7-01-vol01`, `centos7-01-vol02`.", +"items": { +"type": "string" +}, +"type": "array" +}, +"backupCreateTime": { +"description": "The timestamp at which the Backup and DR backup was created.", +"format": "google-datetime", +"type": "string" +}, +"backupTemplate": { +"description": "The name of a Backup and DR template which comprises one or more backup policies. See the [Backup and DR documentation](https://cloud.google.com/backup-disaster-recovery/docs/concepts/backup-plan#temp) for more information. For example, `snap-ov`.", +"type": "string" +}, +"backupType": { +"description": "The backup type of the Backup and DR image. For example, `Snapshot`, `Remote Snapshot`, `OnVault`.", +"type": "string" +}, +"host": { +"description": "The name of a Backup and DR host, which is managed by the backup and recovery appliance and known to the management console. The host can be of type Generic (for example, Compute Engine, SQL Server, Oracle DB, SMB file system, etc.), vCenter, or an ESX server. See the [Backup and DR documentation on hosts](https://cloud.google.com/backup-disaster-recovery/docs/configuration/manage-hosts-and-their-applications) for more information. For example, `centos7-01`.", +"type": "string" +}, +"policies": { +"description": "The names of Backup and DR policies that are associated with a template and that define when to run a backup, how frequently to run a backup, and how long to retain the backup image. For example, `onvaults`.", +"items": { +"type": "string" +}, +"type": "array" +}, +"policyOptions": { +"description": "The names of Backup and DR advanced policy options of a policy applying to an application. See the [Backup and DR documentation on policy options](https://cloud.google.com/backup-disaster-recovery/docs/create-plan/policy-settings). For example, `skipofflineappsincongrp, nounmap`.", +"items": { +"type": "string" +}, +"type": "array" +}, +"profile": { +"description": "The name of the Backup and DR resource profile that specifies the storage media for backups of application and VM data. See the [Backup and DR documentation on profiles](https://cloud.google.com/backup-disaster-recovery/docs/concepts/backup-plan#profile). For example, `GCP`.", +"type": "string" +}, +"storagePool": { +"description": "The name of the Backup and DR storage pool that the backup and recovery appliance is storing data in. The storage pool could be of type Cloud, Primary, Snapshot, or OnVault. See the [Backup and DR documentation on storage pools](https://cloud.google.com/backup-disaster-recovery/docs/concepts/storage-pools). For example, `DiskPoolOne`.", +"type": "string" +} +}, +"type": "object" +}, +"BatchCreateResourceValueConfigsRequest": { +"description": "Request message to create multiple resource value configs", +"id": "BatchCreateResourceValueConfigsRequest", +"properties": { +"requests": { +"description": "Required. The resource value configs to be created.", +"items": { +"$ref": "CreateResourceValueConfigRequest" +}, +"type": "array" +} +}, +"type": "object" +}, +"BatchCreateResourceValueConfigsResponse": { +"description": "Response message for BatchCreateResourceValueConfigs", +"id": "BatchCreateResourceValueConfigsResponse", +"properties": { +"resourceValueConfigs": { +"description": "The resource value configs created", +"items": { +"$ref": "GoogleCloudSecuritycenterV1ResourceValueConfig" +}, +"type": "array" +} +}, +"type": "object" +}, +"BigQueryDestination": { +"description": "The destination BigQuery dataset to export findings to.", +"id": "BigQueryDestination", +"properties": { +"dataset": { +"description": "Required. The relative resource name of the destination dataset, in the form projects/{projectId}/datasets/{datasetId}.", +"type": "string" +} +}, +"type": "object" +}, +"Binding": { +"description": "Associates `members`, or principals, with a `role`.", +"id": "Binding", +"properties": { +"condition": { +"$ref": "Expr", +"description": "The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies)." +}, +"members": { +"description": "Specifies the principals requesting access for a Google Cloud resource. `members` can have the following values: * `allUsers`: A special identifier that represents anyone who is on the internet; with or without a Google account. * `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service account. Does not include identities that come from external identity providers (IdPs) through identity federation. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `group:{emailid}`: An email address that represents a Google group. For example, `admins@example.com`. * `domain:{domain}`: The G Suite domain (primary) that represents all the users of that domain. For example, `google.com` or `example.com`. * `principal://iam.googleapis.com/locations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}`: A single identity in a workforce identity pool. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/group/{group_id}`: All workforce identities in a group. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/attribute.{attribute_name}/{attribute_value}`: All workforce identities with a specific attribute value. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/*`: All identities in a workforce identity pool. * `principal://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/subject/{subject_attribute_value}`: A single identity in a workload identity pool. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/group/{group_id}`: A workload identity pool group. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/attribute.{attribute_name}/{attribute_value}`: All identities in a workload identity pool with a certain attribute. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/*`: All identities in a workload identity pool. * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a user that has been recently deleted. For example, `alice@example.com?uid=123456789012345678901`. If the user is recovered, this value reverts to `user:{emailid}` and the recovered user retains the role in the binding. * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a service account that has been recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the service account is undeleted, this value reverts to `serviceAccount:{emailid}` and the undeleted service account retains the role in the binding. * `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a Google group that has been recently deleted. For example, `admins@example.com?uid=123456789012345678901`. If the group is recovered, this value reverts to `group:{emailid}` and the recovered group retains the role in the binding. * `deleted:principal://iam.googleapis.com/locations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}`: Deleted single identity in a workforce identity pool. For example, `deleted:principal://iam.googleapis.com/locations/global/workforcePools/my-pool-id/subject/my-subject-attribute-value`.", +"items": { +"type": "string" +}, +"type": "array" +}, +"role": { +"description": "Role that is assigned to the list of `members`, or principals. For example, `roles/viewer`, `roles/editor`, or `roles/owner`. For an overview of the IAM roles and permissions, see the [IAM documentation](https://cloud.google.com/iam/docs/roles-overview). For a list of the available pre-defined roles, see [here](https://cloud.google.com/iam/docs/understanding-roles).", +"type": "string" +} +}, +"type": "object" +}, +"BulkMuteFindingsRequest": { +"description": "Request message for bulk findings update. Note: 1. If multiple bulk update requests match the same resource, the order in which they get executed is not defined. 2. Once a bulk operation is started, there is no way to stop it.", +"id": "BulkMuteFindingsRequest", +"properties": { +"filter": { +"description": "Expression that identifies findings that should be updated. The expression is a list of zero or more restrictions combined via logical operators `AND` and `OR`. Parentheses are supported, and `OR` has higher precedence than `AND`. Restrictions have the form ` ` and may have a `-` character in front of them to indicate negation. The fields map to those defined in the corresponding resource. The supported operators are: * `=` for all value types. * `>`, `<`, `>=`, `<=` for integer values. * `:`, meaning substring matching, for strings. The supported value types are: * string literals in quotes. * integer literals without quotes. * boolean literals `true` and `false` without quotes.", +"type": "string" +}, +"muteAnnotation": { +"deprecated": true, +"description": "This can be a mute configuration name or any identifier for mute/unmute of findings based on the filter.", +"type": "string" +}, +"muteState": { +"description": "Optional. All findings matching the given filter will have their mute state set to this value. The default value is `MUTED`. Setting this to `UNDEFINED` will clear the mute state on all matching findings.", +"enum": [ +"MUTE_STATE_UNSPECIFIED", +"MUTED", +"UNDEFINED" +], +"enumDescriptions": [ +"Unused.", +"Matching findings will be muted (default).", +"Matching findings will have their mute state cleared." +], +"type": "string" +} +}, +"type": "object" +}, +"Chokepoint": { +"description": "Contains details about a chokepoint, which is a resource or resource group where high-risk attack paths converge, based on [attack path simulations] (https://cloud.google.com/security-command-center/docs/attack-exposure-learn#attack_path_simulations).", +"id": "Chokepoint", +"properties": { +"relatedFindings": { +"description": "List of resource names of findings associated with this chokepoint. For example, organizations/123/sources/456/findings/789. This list will have at most 100 findings.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"CloudArmor": { +"description": "Fields related to Google Cloud Armor findings.", +"id": "CloudArmor", +"properties": { +"adaptiveProtection": { +"$ref": "AdaptiveProtection", +"description": "Information about potential Layer 7 DDoS attacks identified by [Google Cloud Armor Adaptive Protection](https://cloud.google.com/armor/docs/adaptive-protection-overview)." +}, +"attack": { +"$ref": "Attack", +"description": "Information about DDoS attack volume and classification." +}, +"duration": { +"description": "Duration of attack from the start until the current moment (updated every 5 minutes).", +"format": "google-duration", +"type": "string" +}, +"requests": { +"$ref": "Requests", +"description": "Information about incoming requests evaluated by [Google Cloud Armor security policies](https://cloud.google.com/armor/docs/security-policy-overview)." +}, +"securityPolicy": { +"$ref": "SecurityPolicy", +"description": "Information about the [Google Cloud Armor security policy](https://cloud.google.com/armor/docs/security-policy-overview) relevant to the finding." +}, +"threatVector": { +"description": "Distinguish between volumetric & protocol DDoS attack and application layer attacks. For example, \"L3_4\" for Layer 3 and Layer 4 DDoS attacks, or \"L_7\" for Layer 7 DDoS attacks.", +"type": "string" +} +}, +"type": "object" +}, +"CloudControl": { +"description": "CloudControl associated with the finding.", +"id": "CloudControl", +"properties": { +"cloudControlName": { +"description": "Name of the CloudControl associated with the finding.", +"type": "string" +}, +"policyType": { +"description": "Policy type of the CloudControl", +"type": "string" +}, +"type": { +"description": "Type of cloud control.", +"enum": [ +"CLOUD_CONTROL_TYPE_UNSPECIFIED", +"BUILT_IN", +"CUSTOM" +], +"enumDescriptions": [ +"Unspecified.", +"Built in Cloud Control.", +"Custom Cloud Control." +], +"type": "string" +}, +"version": { +"description": "Version of the Cloud Control", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"CloudDlpDataProfile": { +"description": "The [data profile](https://cloud.google.com/dlp/docs/data-profiles) associated with the finding.", +"id": "CloudDlpDataProfile", +"properties": { +"dataProfile": { +"description": "Name of the data profile, for example, `projects/123/locations/europe/tableProfiles/8383929`.", +"type": "string" +}, +"infoTypes": { +"description": "Type of information detected by SDP. Info type includes name, version and sensitivity of the detected information type.", +"items": { +"$ref": "InfoType" +}, +"type": "array" +}, +"parentType": { +"description": "The resource hierarchy level at which the data profile was generated.", +"enum": [ +"PARENT_TYPE_UNSPECIFIED", +"ORGANIZATION", +"PROJECT" +], +"enumDescriptions": [ +"Unspecified parent type.", +"Organization-level configurations.", +"Project-level configurations." +], +"type": "string" +} +}, +"type": "object" +}, +"CloudDlpInspection": { +"description": "Details about the Cloud Data Loss Prevention (Cloud DLP) [inspection job](https://cloud.google.com/dlp/docs/concepts-job-triggers) that produced the finding.", +"id": "CloudDlpInspection", +"properties": { +"fullScan": { +"description": "Whether Cloud DLP scanned the complete resource or a sampled subset.", +"type": "boolean" +}, +"infoType": { +"description": "The type of information (or *[infoType](https://cloud.google.com/dlp/docs/infotypes-reference)*) found, for example, `EMAIL_ADDRESS` or `STREET_ADDRESS`.", +"type": "string" +}, +"infoTypeCount": { +"description": "The number of times Cloud DLP found this infoType within this job and resource.", +"format": "int64", +"type": "string" +}, +"inspectJob": { +"description": "Name of the inspection job, for example, `projects/123/locations/europe/dlpJobs/i-8383929`.", +"type": "string" +} +}, +"type": "object" +}, +"CloudLoggingEntry": { +"description": "Metadata taken from a [Cloud Logging LogEntry](https://cloud.google.com/logging/docs/reference/v2/rest/v2/LogEntry)", +"id": "CloudLoggingEntry", +"properties": { +"insertId": { +"description": "A unique identifier for the log entry.", +"type": "string" +}, +"logId": { +"description": "The type of the log (part of `log_name`. `log_name` is the resource name of the log to which this log entry belongs). For example: `cloudresourcemanager.googleapis.com/activity`. Note that this field is not URL-encoded, unlike the `LOG_ID` field in `LogEntry`.", +"type": "string" +}, +"resourceContainer": { +"description": "The organization, folder, or project of the monitored resource that produced this log entry.", +"type": "string" +}, +"timestamp": { +"description": "The time the event described by the log entry occurred.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"Compliance": { +"description": "Contains compliance information about a security standard indicating unmet recommendations.", +"id": "Compliance", +"properties": { +"ids": { +"description": "Policies within the standard or benchmark, for example, A.12.4.1", +"items": { +"type": "string" +}, +"type": "array" +}, +"standard": { +"description": "Industry-wide compliance standards or benchmarks, such as CIS, PCI, and OWASP.", +"type": "string" +}, +"version": { +"description": "Version of the standard or benchmark, for example, 1.1", +"type": "string" +} +}, +"type": "object" +}, +"ComplianceDetails": { +"description": "Compliance Details associated with the finding.", +"id": "ComplianceDetails", +"properties": { +"cloudControl": { +"$ref": "CloudControl", +"description": "CloudControl associated with the finding" +}, +"cloudControlDeploymentNames": { +"description": "Cloud Control Deployments associated with the finding. For example, organizations/123/locations/global/cloudControlDeployments/deploymentIdentifier", +"items": { +"type": "string" +}, +"type": "array" +}, +"frameworks": { +"description": "Details of Frameworks associated with the finding", +"items": { +"$ref": "Framework" +}, +"type": "array" +} +}, +"type": "object" +}, +"Connection": { +"description": "Contains information about the IP connection associated with the finding.", +"id": "Connection", +"properties": { +"destinationIp": { +"description": "Destination IP address. Not present for sockets that are listening and not connected.", +"type": "string" +}, +"destinationPort": { +"description": "Destination port. Not present for sockets that are listening and not connected.", +"format": "int32", +"type": "integer" +}, +"protocol": { +"description": "IANA Internet Protocol Number such as TCP(6) and UDP(17).", +"enum": [ +"PROTOCOL_UNSPECIFIED", +"ICMP", +"TCP", +"UDP", +"GRE", +"ESP" +], +"enumDescriptions": [ +"Unspecified protocol (not HOPOPT).", +"Internet Control Message Protocol.", +"Transmission Control Protocol.", +"User Datagram Protocol.", +"Generic Routing Encapsulation.", +"Encap Security Payload." +], +"type": "string" +}, +"sourceIp": { +"description": "Source IP address.", +"type": "string" +}, +"sourcePort": { +"description": "Source port.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"Contact": { +"description": "The email address of a contact.", +"id": "Contact", +"properties": { +"email": { +"description": "An email address. For example, \"`person123@company.com`\".", +"type": "string" +} +}, +"type": "object" +}, +"ContactDetails": { +"description": "Details about specific contacts", +"id": "ContactDetails", +"properties": { +"contacts": { +"description": "A list of contacts", +"items": { +"$ref": "Contact" +}, +"type": "array" +} +}, +"type": "object" +}, +"Container": { +"description": "Container associated with the finding.", +"id": "Container", +"properties": { +"createTime": { +"description": "The time that the container was created.", +"format": "google-datetime", +"type": "string" +}, +"imageId": { +"description": "Optional container image ID, if provided by the container runtime. Uniquely identifies the container image launched using a container image digest.", +"type": "string" +}, +"labels": { +"description": "Container labels, as provided by the container runtime.", +"items": { +"$ref": "Label" +}, +"type": "array" +}, +"name": { +"description": "Name of the container.", +"type": "string" +}, +"uri": { +"description": "Container image URI provided when configuring a pod or container. This string can identify a container image version using mutable tags.", +"type": "string" +} +}, +"type": "object" +}, +"Control": { +"description": "Compliance control associated with the finding.", +"id": "Control", +"properties": { +"controlName": { +"description": "Name of the Control", +"type": "string" +}, +"displayName": { +"description": "Display name of the control. For example, AU-02.", +"type": "string" +} +}, +"type": "object" +}, +"CreateResourceValueConfigRequest": { +"description": "Request message to create single resource value config", +"id": "CreateResourceValueConfigRequest", +"properties": { +"parent": { +"description": "Required. Resource name of the new ResourceValueConfig's parent.", +"type": "string" +}, +"resourceValueConfig": { +"$ref": "GoogleCloudSecuritycenterV1ResourceValueConfig", +"description": "Required. The resource value config being created." +} +}, +"type": "object" +}, +"CustomModuleValidationError": { +"description": "An error encountered while validating the uploaded configuration of an Event Threat Detection Custom Module.", +"id": "CustomModuleValidationError", +"properties": { +"description": { +"description": "A description of the error, suitable for human consumption. Required.", +"type": "string" +}, +"end": { +"$ref": "Position", +"description": "The end position of the error in the uploaded text version of the module. This field may be omitted if no specific position applies, or if one could not be computed." +}, +"fieldPath": { +"description": "The path, in RFC 8901 JSON Pointer format, to the field that failed validation. This may be left empty if no specific field is affected.", +"type": "string" +}, +"start": { +"$ref": "Position", +"description": "The initial position of the error in the uploaded text version of the module. This field may be omitted if no specific position applies, or if one could not be computed." +} +}, +"type": "object" +}, +"CustomModuleValidationErrors": { +"description": "A list of zero or more errors encountered while validating the uploaded configuration of an Event Threat Detection Custom Module.", +"id": "CustomModuleValidationErrors", +"properties": { +"errors": { +"description": "The list of errors.", +"items": { +"$ref": "CustomModuleValidationError" +}, +"type": "array" +} +}, +"type": "object" +}, +"Cve": { +"description": "CVE stands for Common Vulnerabilities and Exposures. Information from the [CVE record](https://www.cve.org/ResourcesSupport/Glossary) that describes this vulnerability.", +"id": "Cve", +"properties": { +"cvssv3": { +"$ref": "Cvssv3", +"description": "Describe Common Vulnerability Scoring System specified at https://www.first.org/cvss/v3.1/specification-document" +}, +"exploitReleaseDate": { +"description": "Date the first publicly available exploit or PoC was released.", +"format": "google-datetime", +"type": "string" +}, +"exploitationActivity": { +"description": "The exploitation activity of the vulnerability in the wild.", +"enum": [ +"EXPLOITATION_ACTIVITY_UNSPECIFIED", +"WIDE", +"CONFIRMED", +"AVAILABLE", +"ANTICIPATED", +"NO_KNOWN" +], +"enumDescriptions": [ +"Invalid or empty value.", +"Exploitation has been reported or confirmed to widely occur.", +"Limited reported or confirmed exploitation activities.", +"Exploit is publicly available.", +"No known exploitation activity, but has a high potential for exploitation.", +"No known exploitation activity." +], +"type": "string" +}, +"firstExploitationDate": { +"description": "Date of the earliest known exploitation.", +"format": "google-datetime", +"type": "string" +}, +"id": { +"description": "The unique identifier for the vulnerability. e.g. CVE-2021-34527", +"type": "string" +}, +"impact": { +"description": "The potential impact of the vulnerability if it was to be exploited.", +"enum": [ +"RISK_RATING_UNSPECIFIED", +"LOW", +"MEDIUM", +"HIGH", +"CRITICAL" +], +"enumDescriptions": [ +"Invalid or empty value.", +"Exploitation would have little to no security impact.", +"Exploitation would enable attackers to perform activities, or could allow attackers to have a direct impact, but would require additional steps.", +"Exploitation would enable attackers to have a notable direct impact without needing to overcome any major mitigating factors.", +"Exploitation would fundamentally undermine the security of affected systems, enable actors to perform significant attacks with minimal effort, with little to no mitigating factors to overcome." +], +"type": "string" +}, +"observedInTheWild": { +"description": "Whether or not the vulnerability has been observed in the wild.", +"type": "boolean" +}, +"references": { +"description": "Additional information about the CVE. e.g. https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-34527", +"items": { +"$ref": "Reference" +}, +"type": "array" +}, +"upstreamFixAvailable": { +"description": "Whether upstream fix is available for the CVE.", +"type": "boolean" +}, +"zeroDay": { +"description": "Whether or not the vulnerability was zero day when the finding was published.", +"type": "boolean" +} +}, +"type": "object" +}, +"Cvssv3": { +"description": "Common Vulnerability Scoring System version 3.", +"id": "Cvssv3", +"properties": { +"attackComplexity": { +"description": "This metric describes the conditions beyond the attacker's control that must exist in order to exploit the vulnerability.", +"enum": [ +"ATTACK_COMPLEXITY_UNSPECIFIED", +"ATTACK_COMPLEXITY_LOW", +"ATTACK_COMPLEXITY_HIGH" +], +"enumDescriptions": [ +"Invalid value.", +"Specialized access conditions or extenuating circumstances do not exist. An attacker can expect repeatable success when attacking the vulnerable component.", +"A successful attack depends on conditions beyond the attacker's control. That is, a successful attack cannot be accomplished at will, but requires the attacker to invest in some measurable amount of effort in preparation or execution against the vulnerable component before a successful attack can be expected." +], +"type": "string" +}, +"attackVector": { +"description": "Base Metrics Represents the intrinsic characteristics of a vulnerability that are constant over time and across user environments. This metric reflects the context by which vulnerability exploitation is possible.", +"enum": [ +"ATTACK_VECTOR_UNSPECIFIED", +"ATTACK_VECTOR_NETWORK", +"ATTACK_VECTOR_ADJACENT", +"ATTACK_VECTOR_LOCAL", +"ATTACK_VECTOR_PHYSICAL" +], +"enumDescriptions": [ +"Invalid value.", +"The vulnerable component is bound to the network stack and the set of possible attackers extends beyond the other options listed below, up to and including the entire Internet.", +"The vulnerable component is bound to the network stack, but the attack is limited at the protocol level to a logically adjacent topology.", +"The vulnerable component is not bound to the network stack and the attacker's path is via read/write/execute capabilities.", +"The attack requires the attacker to physically touch or manipulate the vulnerable component." +], +"type": "string" +}, +"availabilityImpact": { +"description": "This metric measures the impact to the availability of the impacted component resulting from a successfully exploited vulnerability.", +"enum": [ +"IMPACT_UNSPECIFIED", +"IMPACT_HIGH", +"IMPACT_LOW", +"IMPACT_NONE" +], +"enumDescriptions": [ +"Invalid value.", +"High impact.", +"Low impact.", +"No impact." +], +"type": "string" +}, +"baseScore": { +"description": "The base score is a function of the base metric scores.", +"format": "double", +"type": "number" +}, +"confidentialityImpact": { +"description": "This metric measures the impact to the confidentiality of the information resources managed by a software component due to a successfully exploited vulnerability.", +"enum": [ +"IMPACT_UNSPECIFIED", +"IMPACT_HIGH", +"IMPACT_LOW", +"IMPACT_NONE" +], +"enumDescriptions": [ +"Invalid value.", +"High impact.", +"Low impact.", +"No impact." +], +"type": "string" +}, +"integrityImpact": { +"description": "This metric measures the impact to integrity of a successfully exploited vulnerability.", +"enum": [ +"IMPACT_UNSPECIFIED", +"IMPACT_HIGH", +"IMPACT_LOW", +"IMPACT_NONE" +], +"enumDescriptions": [ +"Invalid value.", +"High impact.", +"Low impact.", +"No impact." +], +"type": "string" +}, +"privilegesRequired": { +"description": "This metric describes the level of privileges an attacker must possess before successfully exploiting the vulnerability.", +"enum": [ +"PRIVILEGES_REQUIRED_UNSPECIFIED", +"PRIVILEGES_REQUIRED_NONE", +"PRIVILEGES_REQUIRED_LOW", +"PRIVILEGES_REQUIRED_HIGH" +], +"enumDescriptions": [ +"Invalid value.", +"The attacker is unauthorized prior to attack, and therefore does not require any access to settings or files of the vulnerable system to carry out an attack.", +"The attacker requires privileges that provide basic user capabilities that could normally affect only settings and files owned by a user. Alternatively, an attacker with Low privileges has the ability to access only non-sensitive resources.", +"The attacker requires privileges that provide significant (e.g., administrative) control over the vulnerable component allowing access to component-wide settings and files." +], +"type": "string" +}, +"scope": { +"description": "The Scope metric captures whether a vulnerability in one vulnerable component impacts resources in components beyond its security scope.", +"enum": [ +"SCOPE_UNSPECIFIED", +"SCOPE_UNCHANGED", +"SCOPE_CHANGED" +], +"enumDescriptions": [ +"Invalid value.", +"An exploited vulnerability can only affect resources managed by the same security authority.", +"An exploited vulnerability can affect resources beyond the security scope managed by the security authority of the vulnerable component." +], +"type": "string" +}, +"userInteraction": { +"description": "This metric captures the requirement for a human user, other than the attacker, to participate in the successful compromise of the vulnerable component.", +"enum": [ +"USER_INTERACTION_UNSPECIFIED", +"USER_INTERACTION_NONE", +"USER_INTERACTION_REQUIRED" +], +"enumDescriptions": [ +"Invalid value.", +"The vulnerable system can be exploited without interaction from any user.", +"Successful exploitation of this vulnerability requires a user to take some action before the vulnerability can be exploited." +], +"type": "string" +} +}, +"type": "object" +}, +"Cwe": { +"description": "CWE stands for Common Weakness Enumeration. Information about this weakness, as described by [CWE](https://cwe.mitre.org/).", +"id": "Cwe", +"properties": { +"id": { +"description": "The CWE identifier, e.g. CWE-94", +"type": "string" +}, +"references": { +"description": "Any reference to the details on the CWE, for example, https://cwe.mitre.org/data/definitions/94.html", +"items": { +"$ref": "Reference" +}, +"type": "array" +} +}, +"type": "object" +}, +"DataAccessEvent": { +"description": "Details about a data access attempt made by a principal not authorized under applicable data security policy.", +"id": "DataAccessEvent", +"properties": { +"eventId": { +"description": "Unique identifier for data access event.", +"type": "string" +}, +"eventTime": { +"description": "Timestamp of data access event.", +"format": "google-datetime", +"type": "string" +}, +"operation": { +"description": "The operation performed by the principal to access the data.", +"enum": [ +"OPERATION_UNSPECIFIED", +"READ", +"MOVE", +"COPY" +], +"enumDescriptions": [ +"The operation is unspecified.", +"Represents a read operation.", +"Represents a move operation.", +"Represents a copy operation." +], +"type": "string" +}, +"principalEmail": { +"description": "The email address of the principal that accessed the data. The principal could be a user account, service account, Google group, or other.", +"type": "string" +} +}, +"type": "object" +}, +"DataFlowEvent": { +"description": "Details about a data flow event, in which either the data is moved to or is accessed from a non-compliant geo-location, as defined in the applicable data security policy.", +"id": "DataFlowEvent", +"properties": { +"eventId": { +"description": "Unique identifier for data flow event.", +"type": "string" +}, +"eventTime": { +"description": "Timestamp of data flow event.", +"format": "google-datetime", +"type": "string" +}, +"operation": { +"description": "The operation performed by the principal for the data flow event.", +"enum": [ +"OPERATION_UNSPECIFIED", +"READ", +"MOVE", +"COPY" +], +"enumDescriptions": [ +"The operation is unspecified.", +"Represents a read operation.", +"Represents a move operation.", +"Represents a copy operation." +], +"type": "string" +}, +"principalEmail": { +"description": "The email address of the principal that initiated the data flow event. The principal could be a user account, service account, Google group, or other.", +"type": "string" +}, +"violatedLocation": { +"description": "Non-compliant location of the principal or the data destination.", +"type": "string" +} +}, +"type": "object" +}, +"DataRetentionDeletionEvent": { +"description": "Details about data retention deletion violations, in which the data is non-compliant based on their retention or deletion time, as defined in the applicable data security policy. The Data Retention Deletion (DRD) control is a control of the DSPM (Data Security Posture Management) suite that enables organizations to manage data retention and deletion policies in compliance with regulations, such as GDPR and CRPA. DRD supports two primary policy types: maximum storage length (max TTL) and minimum storage length (min TTL). Both are aimed at helping organizations meet regulatory and data management commitments.", +"id": "DataRetentionDeletionEvent", +"properties": { +"dataObjectCount": { +"description": "Number of objects that violated the policy for this resource. If the number is less than 1,000, then the value of this field is the exact number. If the number of objects that violated the policy is greater than or equal to 1,000, then the value of this field is 1000.", +"format": "int64", +"type": "string" +}, +"eventDetectionTime": { +"description": "Timestamp indicating when the event was detected.", +"format": "google-datetime", +"type": "string" +}, +"eventType": { +"description": "Type of the DRD event.", +"enum": [ +"EVENT_TYPE_UNSPECIFIED", +"EVENT_TYPE_MAX_TTL_EXCEEDED", +"EVENT_TYPE_MAX_TTL_FROM_CREATION", +"EVENT_TYPE_MAX_TTL_FROM_LAST_MODIFICATION", +"EVENT_TYPE_MIN_TTL_FROM_CREATION" +], +"enumDeprecated": [ +false, +true, +false, +false, +false +], +"enumDescriptions": [ +"Unspecified event type.", +"Deprecated: This field is pending removal. Use EVENT_TYPE_MAX_TTL_FROM_CREATION or EVENT_TYPE_MAX_TTL_FROM_LAST_MODIFICATION instead.", +"Max TTL from the asset's creation time.", +"Max TTL from the asset's last modification time.", +"Min TTL from the asset's creation time." +], +"type": "string" +}, +"maxRetentionAllowed": { +"description": "Maximum duration of retention allowed from the DRD control. This comes from the DRD control where users set a max TTL for their data. For example, suppose that a user sets the max TTL for a Cloud Storage bucket to 90 days. However, an object in that bucket is 100 days old. In this case, a DataRetentionDeletionEvent will be generated for that Cloud Storage bucket, and the max_retention_allowed is 90 days.", +"format": "google-duration", +"type": "string" +}, +"minRetentionAllowed": { +"description": "Min duration of retention allowed from the DSPM retention control. This field is only populated when event type is set to EVENT_TYPE_MIN_TTL_FROM_CREATION.", +"format": "google-duration", +"type": "string" +} +}, +"type": "object" +}, +"Database": { +"description": "Represents database access information, such as queries. A database may be a sub-resource of an instance (as in the case of Cloud SQL instances or Cloud Spanner instances), or the database instance itself. Some database resources might not have the [full resource name](https://google.aip.dev/122#full-resource-names) populated because these resource types, such as Cloud SQL databases, are not yet supported by Cloud Asset Inventory. In these cases only the display name is provided.", +"id": "Database", +"properties": { +"displayName": { +"description": "The human-readable name of the database that the user connected to.", +"type": "string" +}, +"grantees": { +"description": "The target usernames, roles, or groups of an SQL privilege grant, which is not an IAM policy change.", +"items": { +"type": "string" +}, +"type": "array" +}, +"name": { +"description": "Some database resources may not have the [full resource name](https://google.aip.dev/122#full-resource-names) populated because these resource types are not yet supported by Cloud Asset Inventory (e.g. Cloud SQL databases). In these cases only the display name will be provided. The [full resource name](https://google.aip.dev/122#full-resource-names) of the database that the user connected to, if it is supported by Cloud Asset Inventory.", +"type": "string" +}, +"query": { +"description": "The SQL statement that is associated with the database access.", +"type": "string" +}, +"userName": { +"description": "The username used to connect to the database. The username might not be an IAM principal and does not have a set format.", +"type": "string" +}, +"version": { +"description": "The version of the database, for example, POSTGRES_14. See [the complete list](https://cloud.google.com/sql/docs/mysql/admin-api/rest/v1/SqlDatabaseVersion).", +"type": "string" +} +}, +"type": "object" +}, +"Dataset": { +"description": "Vertex AI dataset associated with the finding.", +"id": "Dataset", +"properties": { +"displayName": { +"description": "The user defined display name of dataset, e.g. plants-dataset", +"type": "string" +}, +"name": { +"description": "Resource name of the dataset, e.g. projects/{project}/locations/{location}/datasets/2094040236064505856", +"type": "string" +}, +"source": { +"description": "Data source, such as BigQuery source URI, e.g. bq://scc-nexus-test.AIPPtest.gsod", +"type": "string" +} +}, +"type": "object" +}, +"Denied": { +"description": "Denied IP rule.", +"id": "Denied", +"properties": { +"ipRules": { +"description": "Optional. Optional list of denied IP rules.", +"items": { +"$ref": "IpRule" +}, +"type": "array" +} +}, +"type": "object" +}, +"Detection": { +"description": "Memory hash detection contributing to the binary family match.", +"id": "Detection", +"properties": { +"binary": { +"description": "The name of the binary associated with the memory hash signature detection.", +"type": "string" +}, +"percentPagesMatched": { +"description": "The percentage of memory page hashes in the signature that were matched.", +"format": "double", +"type": "number" +} +}, +"type": "object" +}, +"Disk": { +"description": "Contains information about the disk associated with the finding.", +"id": "Disk", +"properties": { +"name": { +"description": "The name of the disk, for example, \"https://www.googleapis.com/compute/v1/projects/{project-id}/zones/{zone-id}/disks/{disk-id}\".", +"type": "string" +} +}, +"type": "object" +}, +"DiskPath": { +"description": "Path of the file in terms of underlying disk/partition identifiers.", +"id": "DiskPath", +"properties": { +"partitionUuid": { +"description": "UUID of the partition (format https://wiki.archlinux.org/title/persistent_block_device_naming#by-uuid)", +"type": "string" +}, +"relativePath": { +"description": "Relative path of the file in the partition as a JSON encoded string. Example: /home/user1/executable_file.sh", +"type": "string" +} +}, +"type": "object" +}, +"DynamicMuteRecord": { +"description": "The record of a dynamic mute rule that matches the finding.", +"id": "DynamicMuteRecord", +"properties": { +"matchTime": { +"description": "When the dynamic mute rule first matched the finding.", +"format": "google-datetime", +"type": "string" +}, +"muteConfig": { +"description": "The relative resource name of the mute rule, represented by a mute config, that created this record, for example `organizations/123/muteConfigs/mymuteconfig` or `organizations/123/locations/global/muteConfigs/mymuteconfig`.", +"type": "string" +} +}, +"type": "object" +}, +"EffectiveEventThreatDetectionCustomModule": { +"description": "An EffectiveEventThreatDetectionCustomModule is the representation of an Event Threat Detection custom module at a specified level of the resource hierarchy: organization, folder, or project. If a custom module is inherited from a parent organization or folder, the value of the `enablement_state` property in EffectiveEventThreatDetectionCustomModule is set to the value that is effective in the parent, instead of `INHERITED`. For example, if the module is enabled in a parent organization or folder, the effective `enablement_state` for the module in all child folders or projects is also `enabled`. EffectiveEventThreatDetectionCustomModule is read-only.", +"id": "EffectiveEventThreatDetectionCustomModule", +"properties": { +"cloudProvider": { +"description": "The cloud provider of the custom module.", +"enum": [ +"CLOUD_PROVIDER_UNSPECIFIED", +"GOOGLE_CLOUD_PLATFORM", +"AMAZON_WEB_SERVICES", +"MICROSOFT_AZURE" +], +"enumDescriptions": [ +"Unspecified cloud provider.", +"Google Cloud.", +"Amazon Web Services.", +"Microsoft Azure." +], +"type": "string" +}, +"config": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"description": "Output only. Config for the effective module.", +"readOnly": true, +"type": "object" +}, +"description": { +"description": "Output only. The description for the module.", +"readOnly": true, +"type": "string" +}, +"displayName": { +"description": "Output only. The human readable name to be displayed for the module.", +"readOnly": true, +"type": "string" +}, +"enablementState": { +"description": "Output only. The effective state of enablement for the module at the given level of the hierarchy.", +"enum": [ +"ENABLEMENT_STATE_UNSPECIFIED", +"ENABLED", +"DISABLED" +], +"enumDescriptions": [ +"Unspecified enablement state.", +"The module is enabled at the given level.", +"The module is disabled at the given level." +], +"readOnly": true, +"type": "string" +}, +"name": { +"description": "Output only. The resource name of the effective ETD custom module. Its format is: * `organizations/{organization}/eventThreatDetectionSettings/effectiveCustomModules/{module}`. * `folders/{folder}/eventThreatDetectionSettings/effectiveCustomModules/{module}`. * `projects/{project}/eventThreatDetectionSettings/effectiveCustomModules/{module}`.", +"readOnly": true, +"type": "string" +}, +"type": { +"description": "Output only. Type for the module. e.g. CONFIGURABLE_BAD_IP.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"Empty": { +"description": "A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }", +"id": "Empty", +"properties": {}, +"type": "object" +}, +"EnvironmentVariable": { +"description": "A name-value pair representing an environment variable used in an operating system process.", +"id": "EnvironmentVariable", +"properties": { +"name": { +"description": "Environment variable name as a JSON encoded string.", +"type": "string" +}, +"val": { +"description": "Environment variable value as a JSON encoded string.", +"type": "string" +} +}, +"type": "object" +}, +"EventThreatDetectionCustomModule": { +"description": "Represents an instance of an Event Threat Detection custom module, including its full module name, display name, enablement state, and last updated time. You can create a custom module at the organization, folder, or project level. Custom modules that you create at the organization or folder level are inherited by child folders and projects.", +"id": "EventThreatDetectionCustomModule", +"properties": { +"ancestorModule": { +"description": "Output only. The closest ancestor module that this module inherits the enablement state from. The format is the same as the EventThreatDetectionCustomModule resource name.", +"readOnly": true, +"type": "string" +}, +"cloudProvider": { +"description": "The cloud provider of the custom module.", +"enum": [ +"CLOUD_PROVIDER_UNSPECIFIED", +"GOOGLE_CLOUD_PLATFORM", +"AMAZON_WEB_SERVICES", +"MICROSOFT_AZURE" +], +"enumDescriptions": [ +"Unspecified cloud provider.", +"Google Cloud.", +"Amazon Web Services (AWS).", +"Microsoft Azure." +], +"type": "string" +}, +"config": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"description": "Config for the module. For the resident module, its config value is defined at this level. For the inherited module, its config value is inherited from the ancestor module.", +"type": "object" +}, +"description": { +"description": "The description for the module.", +"type": "string" +}, +"displayName": { +"description": "The human readable name to be displayed for the module.", +"type": "string" +}, +"enablementState": { +"description": "The state of enablement for the module at the given level of the hierarchy.", +"enum": [ +"ENABLEMENT_STATE_UNSPECIFIED", +"ENABLED", +"DISABLED", +"INHERITED" +], +"enumDescriptions": [ +"Unspecified enablement state.", +"The module is enabled at the given level.", +"The module is disabled at the given level.", +"When the enablement state is inherited." +], +"type": "string" +}, +"lastEditor": { +"description": "Output only. The editor the module was last updated by.", +"readOnly": true, +"type": "string" +}, +"name": { +"description": "Immutable. The resource name of the Event Threat Detection custom module. Its format is: * `organizations/{organization}/eventThreatDetectionSettings/customModules/{module}`. * `folders/{folder}/eventThreatDetectionSettings/customModules/{module}`. * `projects/{project}/eventThreatDetectionSettings/customModules/{module}`.", +"type": "string" +}, +"type": { +"description": "Type for the module. e.g. CONFIGURABLE_BAD_IP.", +"type": "string" +}, +"updateTime": { +"description": "Output only. The time the module was last updated.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"ExfilResource": { +"description": "Resource where data was exfiltrated from or exfiltrated to.", +"id": "ExfilResource", +"properties": { +"components": { +"description": "Subcomponents of the asset that was exfiltrated, like URIs used during exfiltration, table names, databases, and filenames. For example, multiple tables might have been exfiltrated from the same Cloud SQL instance, or multiple files might have been exfiltrated from the same Cloud Storage bucket.", +"items": { +"type": "string" +}, +"type": "array" +}, +"name": { +"description": "The resource's [full resource name](https://cloud.google.com/apis/design/resource_names#full_resource_name).", +"type": "string" +} +}, +"type": "object" +}, +"Exfiltration": { +"description": "Exfiltration represents a data exfiltration attempt from one or more sources to one or more targets. The `sources` attribute lists the sources of the exfiltrated data. The `targets` attribute lists the destinations the data was copied to.", +"id": "Exfiltration", +"properties": { +"sources": { +"description": "If there are multiple sources, then the data is considered \"joined\" between them. For instance, BigQuery can join multiple tables, and each table would be considered a source.", +"items": { +"$ref": "ExfilResource" +}, +"type": "array" +}, +"targets": { +"description": "If there are multiple targets, each target would get a complete copy of the \"joined\" source data.", +"items": { +"$ref": "ExfilResource" +}, +"type": "array" +}, +"totalExfiltratedBytes": { +"description": "Total exfiltrated bytes processed for the entire job.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"ExportFindingsMetadata": { +"description": "The LRO metadata for a ExportFindings request.", +"id": "ExportFindingsMetadata", +"properties": { +"bigQueryDestination": { +"$ref": "BigQueryDestination", +"description": "Required. The destination BigQuery dataset to export findings to." +}, +"exportStartTime": { +"description": "Optional. Timestamp at which export was started", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"ExportFindingsResponse": { +"description": "The response to a ExportFindings request. Contains the LRO information.", +"id": "ExportFindingsResponse", +"properties": {}, +"type": "object" +}, +"Expr": { +"description": "Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: \"Summary size limit\" description: \"Determines if a summary is less than 100 chars\" expression: \"document.summary.size() < 100\" Example (Equality): title: \"Requestor is owner\" description: \"Determines if requestor is the document owner\" expression: \"document.owner == request.auth.claims.email\" Example (Logic): title: \"Public documents\" description: \"Determine whether the document should be publicly visible\" expression: \"document.type != 'private' && document.type != 'internal'\" Example (Data Manipulation): title: \"Notification string\" description: \"Create a notification string with a timestamp.\" expression: \"'New message received at ' + string(document.create_time)\" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information.", +"id": "Expr", +"properties": { +"description": { +"description": "Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI.", +"type": "string" +}, +"expression": { +"description": "Textual representation of an expression in Common Expression Language syntax.", +"type": "string" +}, +"location": { +"description": "Optional. String indicating the location of the expression for error reporting, e.g. a file name and a position in the file.", +"type": "string" +}, +"title": { +"description": "Optional. Title for the expression, i.e. a short string describing its purpose. This can be used e.g. in UIs which allow to enter the expression.", +"type": "string" +} +}, +"type": "object" +}, +"ExternalExposure": { +"description": "Details about the externally exposed resource associated with the finding.", +"id": "ExternalExposure", +"properties": { +"backendService": { +"description": "The full resource name of load balancer backend service, for example, \"//compute.googleapis.com/projects/{project-id}/global/backendServices/{name}\".", +"type": "string" +}, +"exposedEndpoint": { +"description": "The resource which is running the exposed service, for example, \"//compute.googleapis.com/projects/{project-id}/zones/{zone}/instances/{instance}.\u201d", +"type": "string" +}, +"exposedService": { +"description": "The name and version of the service, for example, \"Jupyter Notebook 6.14.0\".", +"type": "string" +}, +"forwardingRule": { +"description": "The full resource name of the forwarding rule, for example, \"//compute.googleapis.com/projects/{project-id}/global/forwardingRules/{forwarding-rule-name}\".", +"type": "string" +}, +"instanceGroup": { +"description": "The full resource name of the instance group, for example, \"//compute.googleapis.com/projects/{project-id}/global/instanceGroups/{name}\".", +"type": "string" +}, +"loadBalancerFirewallPolicy": { +"description": "The full resource name of the load balancer firewall policy, for example, \"//compute.googleapis.com/projects/{project-id}/global/firewallPolicies/{policy-name}\".", +"type": "string" +}, +"networkEndpointGroup": { +"description": "The full resource name of the network endpoint group, for example, \"//compute.googleapis.com/projects/{project-id}/global/networkEndpointGroups/{name}\".", +"type": "string" +}, +"privateIpAddress": { +"description": "Private IP address of the exposed endpoint.", +"type": "string" +}, +"privatePort": { +"description": "Port number associated with private IP address.", +"type": "string" +}, +"publicIpAddress": { +"description": "Public IP address of the exposed endpoint.", +"type": "string" +}, +"publicPort": { +"description": "Public port number of the exposed endpoint.", +"type": "string" +}, +"serviceFirewallPolicy": { +"description": "The full resource name of the firewall policy of the exposed service, for example, \"//compute.googleapis.com/projects/{project-id}/global/firewallPolicies/{policy-name}\".", +"type": "string" +} +}, +"type": "object" +}, +"File": { +"description": "File information about the related binary/library used by an executable, or the script used by a script interpreter", +"id": "File", +"properties": { +"contents": { +"description": "Prefix of the file contents as a JSON-encoded string.", +"type": "string" +}, +"diskPath": { +"$ref": "DiskPath", +"description": "Path of the file in terms of underlying disk/partition identifiers." +}, +"fileLoadState": { +"description": "The load state of the file.", +"enum": [ +"FILE_LOAD_STATE_UNSPECIFIED", +"LOADED_BY_PROCESS", +"NOT_LOADED_BY_PROCESS" +], +"enumDescriptions": [ +"The file state is unspecified.", +"The file is being used by an active process at the time of scanning.", +"The file is not being used by any active process at the time of scanning." +], +"type": "string" +}, +"hashedSize": { +"description": "The length in bytes of the file prefix that was hashed. If hashed_size == size, any hashes reported represent the entire file.", +"format": "int64", +"type": "string" +}, +"operations": { +"description": "Operation(s) performed on a file.", +"items": { +"$ref": "FileOperation" +}, +"type": "array" +}, +"partiallyHashed": { +"description": "True when the hash covers only a prefix of the file.", +"type": "boolean" +}, +"path": { +"description": "Absolute path of the file as a JSON encoded string.", +"type": "string" +}, +"sha256": { +"description": "SHA256 hash of the first hashed_size bytes of the file encoded as a hex string. If hashed_size == size, sha256 represents the SHA256 hash of the entire file.", +"type": "string" +}, +"size": { +"description": "Size of the file in bytes.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"FileOperation": { +"description": "Operation(s) performed on a file.", +"id": "FileOperation", +"properties": { +"type": { +"description": "The type of the operation", +"enum": [ +"OPERATION_TYPE_UNSPECIFIED", +"OPEN", +"READ", +"RENAME", +"WRITE", +"EXECUTE" +], +"enumDescriptions": [ +"The operation is unspecified.", +"Represents an open operation.", +"Represents a read operation.", +"Represents a rename operation.", +"Represents a write operation.", +"Represents an execute operation." +], +"type": "string" +} +}, +"type": "object" +}, +"Finding": { +"description": "Security Command Center finding. A finding is a record of assessment data like security, risk, health, or privacy, that is ingested into Security Command Center for presentation, notification, analysis, policy testing, and enforcement. For example, a cross-site scripting (XSS) vulnerability in an App Engine application is a finding.", +"id": "Finding", +"properties": { +"access": { +"$ref": "Access", +"description": "Access details associated with the finding, such as more information on the caller, which method was accessed, and from where." +}, +"affectedResources": { +"$ref": "AffectedResources", +"description": "AffectedResources associated with the finding." +}, +"aiModel": { +"$ref": "AiModel", +"description": "The AI model associated with the finding." +}, +"application": { +"$ref": "Application", +"description": "Represents an application associated with the finding." +}, +"artifactGuardPolicies": { +"$ref": "ArtifactGuardPolicies", +"description": "ArtifactGuardPolicies associated with the finding." +}, +"attackExposure": { +"$ref": "AttackExposure", +"description": "The results of an attack path simulation relevant to this finding." +}, +"backupDisasterRecovery": { +"$ref": "BackupDisasterRecovery", +"description": "Fields related to Backup and DR findings." +}, +"canonicalName": { +"description": "The canonical name of the finding. It's either \"organizations/{organization_id}/sources/{source_id}/findings/{finding_id}\", \"folders/{folder_id}/sources/{source_id}/findings/{finding_id}\" or \"projects/{project_number}/sources/{source_id}/findings/{finding_id}\", depending on the closest CRM ancestor of the resource associated with the finding.", +"type": "string" +}, +"category": { +"description": "The additional taxonomy group within findings from a given source. This field is immutable after creation time. Example: \"XSS_FLASH_INJECTION\"", +"type": "string" +}, +"chokepoint": { +"$ref": "Chokepoint", +"description": "Contains details about a chokepoint, which is a resource or resource group where high-risk attack paths converge, based on [attack path simulations] (https://cloud.google.com/security-command-center/docs/attack-exposure-learn#attack_path_simulations). This field cannot be updated. Its value is ignored in all update requests." +}, +"cloudArmor": { +"$ref": "CloudArmor", +"description": "Fields related to Cloud Armor findings." +}, +"cloudDlpDataProfile": { +"$ref": "CloudDlpDataProfile", +"description": "Cloud DLP data profile that is associated with the finding." +}, +"cloudDlpInspection": { +"$ref": "CloudDlpInspection", +"description": "Cloud Data Loss Prevention (Cloud DLP) inspection results that are associated with the finding." +}, +"complianceDetails": { +"$ref": "ComplianceDetails", +"description": "Details about the compliance implications of the finding." +}, +"compliances": { +"description": "Contains compliance information for security standards associated to the finding.", +"items": { +"$ref": "Compliance" +}, +"type": "array" +}, +"connections": { +"description": "Contains information about the IP connection associated with the finding.", +"items": { +"$ref": "Connection" +}, +"type": "array" +}, +"contacts": { +"additionalProperties": { +"$ref": "ContactDetails" +}, +"description": "Output only. Map containing the points of contact for the given finding. The key represents the type of contact, while the value contains a list of all the contacts that pertain. Please refer to: https://cloud.google.com/resource-manager/docs/managing-notification-contacts#notification-categories { \"security\": { \"contacts\": [ { \"email\": \"person1@company.com\" }, { \"email\": \"person2@company.com\" } ] } }", +"readOnly": true, +"type": "object" +}, +"containers": { +"description": "Containers associated with the finding. This field provides information for both Kubernetes and non-Kubernetes containers.", +"items": { +"$ref": "Container" +}, +"type": "array" +}, +"createTime": { +"description": "The time at which the finding was created in Security Command Center.", +"format": "google-datetime", +"type": "string" +}, +"dataAccessEvents": { +"description": "Data access events associated with the finding.", +"items": { +"$ref": "DataAccessEvent" +}, +"type": "array" +}, +"dataFlowEvents": { +"description": "Data flow events associated with the finding.", +"items": { +"$ref": "DataFlowEvent" +}, +"type": "array" +}, +"dataRetentionDeletionEvents": { +"description": "Data retention deletion events associated with the finding.", +"items": { +"$ref": "DataRetentionDeletionEvent" +}, +"type": "array" +}, +"database": { +"$ref": "Database", +"description": "Database associated with the finding." +}, +"description": { +"description": "Contains more details about the finding.", +"type": "string" +}, +"disk": { +"$ref": "Disk", +"description": "Disk associated with the finding." +}, +"eventTime": { +"description": "The time the finding was first detected. If an existing finding is updated, then this is the time the update occurred. For example, if the finding represents an open firewall, this property captures the time the detector believes the firewall became open. The accuracy is determined by the detector. If the finding is later resolved, then this time reflects when the finding was resolved. This must not be set to a value greater than the current timestamp.", +"format": "google-datetime", +"type": "string" +}, +"exfiltration": { +"$ref": "Exfiltration", +"description": "Represents exfiltrations associated with the finding." +}, +"externalExposure": { +"$ref": "ExternalExposure", +"description": "External exposure associated with the finding." +}, +"externalSystems": { +"additionalProperties": { +"$ref": "GoogleCloudSecuritycenterV1ExternalSystem" +}, +"description": "Output only. Third party SIEM/SOAR fields within SCC, contains external system information and external system finding fields.", +"readOnly": true, +"type": "object" +}, +"externalUri": { +"description": "The URI that, if available, points to a web page outside of Security Command Center where additional information about the finding can be found. This field is guaranteed to be either empty or a well formed URL.", +"type": "string" +}, +"files": { +"description": "File associated with the finding.", +"items": { +"$ref": "File" +}, +"type": "array" +}, +"findingClass": { +"description": "The class of the finding.", +"enum": [ +"FINDING_CLASS_UNSPECIFIED", +"THREAT", +"VULNERABILITY", +"MISCONFIGURATION", +"OBSERVATION", +"SCC_ERROR", +"POSTURE_VIOLATION", +"TOXIC_COMBINATION", +"SENSITIVE_DATA_RISK", +"CHOKEPOINT", +"EXTERNAL_EXPOSURE" +], +"enumDescriptions": [ +"Unspecified finding class.", +"Describes unwanted or malicious activity.", +"Describes a potential weakness in software that increases risk to Confidentiality & Integrity & Availability.", +"Describes a potential weakness in cloud resource/asset configuration that increases risk.", +"Describes a security observation that is for informational purposes.", +"Describes an error that prevents some SCC functionality.", +"Describes a potential security risk due to a change in the security posture.", +"Describes a group of security issues that, when the issues occur together, represent a greater risk than when the issues occur independently. A group of such issues is referred to as a toxic combination.", +"Describes a potential security risk to data assets that contain sensitive data.", +"Describes a resource or resource group where high risk attack paths converge, based on attack path simulations (APS).", +"Describes a potential security risk due to the resource being exposed to the internet." +], +"type": "string" +}, +"groupMemberships": { +"description": "Contains details about groups of which this finding is a member. A group is a collection of findings that are related in some way. This field cannot be updated. Its value is ignored in all update requests.", +"items": { +"$ref": "GroupMembership" +}, +"type": "array" +}, +"iamBindings": { +"description": "Represents IAM bindings associated with the finding.", +"items": { +"$ref": "IamBinding" +}, +"type": "array" +}, +"indicator": { +"$ref": "Indicator", +"description": "Represents what's commonly known as an *indicator of compromise* (IoC) in computer forensics. This is an artifact observed on a network or in an operating system that, with high confidence, indicates a computer intrusion. For more information, see [Indicator of compromise](https://en.wikipedia.org/wiki/Indicator_of_compromise)." +}, +"ipRules": { +"$ref": "IpRules", +"description": "IP rules associated with the finding." +}, +"job": { +"$ref": "Job", +"description": "Job associated with the finding." +}, +"kernelRootkit": { +"$ref": "KernelRootkit", +"description": "Signature of the kernel rootkit." +}, +"kubernetes": { +"$ref": "Kubernetes", +"description": "Kubernetes resources associated with the finding." +}, +"loadBalancers": { +"description": "The load balancers associated with the finding.", +"items": { +"$ref": "LoadBalancer" +}, +"type": "array" +}, +"logEntries": { +"description": "Log entries that are relevant to the finding.", +"items": { +"$ref": "LogEntry" +}, +"type": "array" +}, +"mitreAttack": { +"$ref": "MitreAttack", +"description": "MITRE ATT&CK tactics and techniques related to this finding. See: https://attack.mitre.org" +}, +"moduleName": { +"description": "Unique identifier of the module which generated the finding. Example: folders/598186756061/securityHealthAnalyticsSettings/customModules/56799441161885", +"type": "string" +}, +"mute": { +"description": "Indicates the mute state of a finding (either muted, unmuted or undefined). Unlike other attributes of a finding, a finding provider shouldn't set the value of mute.", +"enum": [ +"MUTE_UNSPECIFIED", +"MUTED", +"UNMUTED", +"UNDEFINED" +], +"enumDescriptions": [ +"Unspecified.", +"Finding has been muted.", +"Finding has been unmuted.", +"Finding has never been muted/unmuted." +], +"type": "string" +}, +"muteInfo": { +"$ref": "MuteInfo", +"description": "Output only. The mute information regarding this finding.", +"readOnly": true +}, +"muteInitiator": { +"description": "Records additional information about the mute operation, for example, the [mute configuration](/security-command-center/docs/how-to-mute-findings) that muted the finding and the user who muted the finding.", +"type": "string" +}, +"muteUpdateTime": { +"description": "Output only. The most recent time this finding was muted or unmuted.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"name": { +"description": "The [relative resource name](https://cloud.google.com/apis/design/resource_names#relative_resource_name) of the finding. Example: \"organizations/{organization_id}/sources/{source_id}/findings/{finding_id}\", \"folders/{folder_id}/sources/{source_id}/findings/{finding_id}\", \"projects/{project_id}/sources/{source_id}/findings/{finding_id}\".", +"type": "string" +}, +"networks": { +"description": "Represents the VPC networks that the resource is attached to.", +"items": { +"$ref": "Network" +}, +"type": "array" +}, +"nextSteps": { +"description": "Steps to address the finding.", +"type": "string" +}, +"notebook": { +"$ref": "Notebook", +"description": "Notebook associated with the finding." +}, +"orgPolicies": { +"description": "Contains information about the org policies associated with the finding.", +"items": { +"$ref": "OrgPolicy" +}, +"type": "array" +}, +"parent": { +"description": "The relative resource name of the source the finding belongs to. See: https://cloud.google.com/apis/design/resource_names#relative_resource_name This field is immutable after creation time. For example: \"organizations/{organization_id}/sources/{source_id}\"", +"type": "string" +}, +"parentDisplayName": { +"description": "Output only. The human readable display name of the finding source such as \"Event Threat Detection\" or \"Security Health Analytics\".", +"readOnly": true, +"type": "string" +}, +"processes": { +"description": "Represents operating system processes associated with the Finding.", +"items": { +"$ref": "Process" +}, +"type": "array" +}, +"resourceName": { +"description": "For findings on Google Cloud resources, the full resource name of the Google Cloud resource this finding is for. See: https://cloud.google.com/apis/design/resource_names#full_resource_name When the finding is for a non-Google Cloud resource, the resourceName can be a customer or partner defined string. This field is immutable after creation time.", +"type": "string" +}, +"secret": { +"$ref": "Secret", +"description": "Secret associated with the finding." +}, +"securityMarks": { +"$ref": "SecurityMarks", +"description": "Output only. User specified security marks. These marks are entirely managed by the user and come from the SecurityMarks resource that belongs to the finding.", +"readOnly": true +}, +"securityPosture": { +"$ref": "SecurityPosture", +"description": "The security posture associated with the finding." +}, +"severity": { +"description": "The severity of the finding. This field is managed by the source that writes the finding.", +"enum": [ +"SEVERITY_UNSPECIFIED", +"CRITICAL", +"HIGH", +"MEDIUM", +"LOW" +], +"enumDescriptions": [ +"This value is used for findings when a source doesn't write a severity value.", +"Vulnerability: A critical vulnerability is easily discoverable by an external actor, exploitable, and results in the direct ability to execute arbitrary code, exfiltrate data, and otherwise gain additional access and privileges to cloud resources and workloads. Examples include publicly accessible unprotected user data and public SSH access with weak or no passwords. Threat: Indicates a threat that is able to access, modify, or delete data or execute unauthorized code within existing resources.", +"Vulnerability: A high risk vulnerability can be easily discovered and exploited in combination with other vulnerabilities in order to gain direct access and the ability to execute arbitrary code, exfiltrate data, and otherwise gain additional access and privileges to cloud resources and workloads. An example is a database with weak or no passwords that is only accessible internally. This database could easily be compromised by an actor that had access to the internal network. Threat: Indicates a threat that is able to create new computational resources in an environment but not able to access data or execute code in existing resources.", +"Vulnerability: A medium risk vulnerability could be used by an actor to gain access to resources or privileges that enable them to eventually (through multiple steps or a complex exploit) gain access and the ability to execute arbitrary code or exfiltrate data. An example is a service account with access to more projects than it should have. If an actor gains access to the service account, they could potentially use that access to manipulate a project the service account was not intended to. Threat: Indicates a threat that is able to cause operational impact but may not access data or execute unauthorized code.", +"Vulnerability: A low risk vulnerability hampers a security organization's ability to detect vulnerabilities or active threats in their deployment, or prevents the root cause investigation of security issues. An example is monitoring and logs being disabled for resource configurations and access. Threat: Indicates a threat that has obtained minimal access to an environment but is not able to access data, execute code, or create resources." +], +"type": "string" +}, +"sourceProperties": { +"additionalProperties": { +"type": "any" +}, +"description": "Source specific properties. These properties are managed by the source that writes the finding. The key names in the source_properties map must be between 1 and 255 characters, and must start with a letter and contain alphanumeric characters or underscores only.", +"type": "object" +}, +"state": { +"description": "The state of the finding.", +"enum": [ +"STATE_UNSPECIFIED", +"ACTIVE", +"INACTIVE" +], +"enumDescriptions": [ +"Unspecified state.", +"The finding requires attention and has not been addressed yet.", +"The finding has been fixed, triaged as a non-issue or otherwise addressed and is no longer active." +], +"type": "string" +}, +"toxicCombination": { +"$ref": "ToxicCombination", +"description": "Contains details about a group of security issues that, when the issues occur together, represent a greater risk than when the issues occur independently. A group of such issues is referred to as a toxic combination. This field cannot be updated. Its value is ignored in all update requests." +}, +"vertexAi": { +"$ref": "VertexAi", +"description": "VertexAi associated with the finding." +}, +"vulnerability": { +"$ref": "Vulnerability", +"description": "Represents vulnerability-specific fields like CVE and CVSS scores. CVE stands for Common Vulnerabilities and Exposures (https://cve.mitre.org/about/)" +} +}, +"type": "object" +}, +"Folder": { +"description": "Message that contains the resource name and display name of a folder resource.", +"id": "Folder", +"properties": { +"resourceFolder": { +"description": "Full resource name of this folder. See: https://cloud.google.com/apis/design/resource_names#full_resource_name", +"type": "string" +}, +"resourceFolderDisplayName": { +"description": "The user defined display name for this folder.", +"type": "string" +} +}, +"type": "object" +}, +"Framework": { +"description": "Compliance framework associated with the finding.", +"id": "Framework", +"properties": { +"category": { +"description": "Category of the framework associated with the finding. E.g. Security Benchmark, or Assured Workloads", +"items": { +"enum": [ +"FRAMEWORK_CATEGORY_UNSPECIFIED", +"SECURITY_BENCHMARKS", +"ASSURED_WORKLOADS", +"DATA_SECURITY", +"GOOGLE_BEST_PRACTICES", +"CUSTOM_FRAMEWORK" +], +"enumDescriptions": [ +"Default value. This value is unused.", +"Security Benchmarks framework", +"Assured Workloads framework", +"Data Security framework", +"Google Best Practices framework", +"A user-created framework" +], +"type": "string" +}, +"type": "array" +}, +"controls": { +"description": "The controls associated with the framework.", +"items": { +"$ref": "Control" +}, +"type": "array" +}, +"displayName": { +"description": "Display name of the framework. For a standard framework, this will look like e.g. PCI DSS 3.2.1, whereas for a custom framework it can be a user defined string like MyFramework", +"type": "string" +}, +"name": { +"description": "Name of the framework associated with the finding", +"type": "string" +}, +"type": { +"description": "Type of the framework associated with the finding, to specify whether the framework is built-in (pre-defined and immutable) or a custom framework defined by the customer (equivalent to security posture)", +"enum": [ +"FRAMEWORK_TYPE_UNSPECIFIED", +"FRAMEWORK_TYPE_BUILT_IN", +"FRAMEWORK_TYPE_CUSTOM" +], +"enumDescriptions": [ +"Default value. This value is unused.", +"The framework is a built-in framework if it is created and managed by GCP.", +"The framework is a custom framework if it is created and managed by the user." +], +"type": "string" +} +}, +"type": "object" +}, +"GcpMetadata": { +"description": "Google Cloud metadata associated with the resource. Only applicable if the finding's cloud provider is Google Cloud.", +"id": "GcpMetadata", +"properties": { +"folders": { +"description": "Output only. Contains a Folder message for each folder in the assets ancestry. The first folder is the deepest nested folder, and the last folder is the folder directly under the Organization.", +"items": { +"$ref": "GoogleCloudSecuritycenterV2Folder" +}, +"readOnly": true, +"type": "array" +}, +"organization": { +"description": "The name of the organization that the resource belongs to.", +"type": "string" +}, +"parent": { +"description": "The full resource name of resource's parent.", +"type": "string" +}, +"parentDisplayName": { +"description": "The human readable name of resource's parent.", +"type": "string" +}, +"project": { +"description": "The full resource name of project that the resource belongs to.", +"type": "string" +}, +"projectDisplayName": { +"description": "The project ID that the resource belongs to.", +"type": "string" +} +}, +"type": "object" +}, +"Geolocation": { +"description": "Represents a geographical location for a given access.", +"id": "Geolocation", +"properties": { +"regionCode": { +"description": "A CLDR.", +"type": "string" +} +}, +"type": "object" +}, +"GetIamPolicyRequest": { +"description": "Request message for `GetIamPolicy` method.", +"id": "GetIamPolicyRequest", +"properties": { +"options": { +"$ref": "GetPolicyOptions", +"description": "OPTIONAL: A `GetPolicyOptions` object for specifying options to `GetIamPolicy`." +} +}, +"type": "object" +}, +"GetPolicyOptions": { +"description": "Encapsulates settings provided to GetIamPolicy.", +"id": "GetPolicyOptions", +"properties": { +"requestedPolicyVersion": { +"description": "Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV1BigQueryExport": { +"description": "Configures how to deliver Findings to BigQuery Instance.", +"id": "GoogleCloudSecuritycenterV1BigQueryExport", +"properties": { +"createTime": { +"description": "Output only. The time at which the BigQuery export was created. This field is set by the server and will be ignored if provided on export on creation.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"dataset": { +"description": "The dataset to write findings' updates to. Its format is \"projects/[project_id]/datasets/[bigquery_dataset_id]\". BigQuery Dataset unique ID must contain only letters (a-z, A-Z), numbers (0-9), or underscores (_).", +"type": "string" +}, +"description": { +"description": "The description of the export (max of 1024 characters).", +"type": "string" +}, +"filter": { +"description": "Expression that defines the filter to apply across create/update events of findings. The expression is a list of zero or more restrictions combined via logical operators `AND` and `OR`. Parentheses are supported, and `OR` has higher precedence than `AND`. Restrictions have the form ` ` and may have a `-` character in front of them to indicate negation. The fields map to those defined in the corresponding resource. The supported operators are: * `=` for all value types. * `>`, `<`, `>=`, `<=` for integer values. * `:`, meaning substring matching, for strings. The supported value types are: * string literals in quotes. * integer literals without quotes. * boolean literals `true` and `false` without quotes.", +"type": "string" +}, +"mostRecentEditor": { +"description": "Output only. Email address of the user who last edited the BigQuery export. This field is set by the server and will be ignored if provided on export creation or update.", +"readOnly": true, +"type": "string" +}, +"name": { +"description": "The relative resource name of this export. See: https://cloud.google.com/apis/design/resource_names#relative_resource_name. Example format: \"organizations/{organization_id}/bigQueryExports/{export_id}\" Example format: \"folders/{folder_id}/bigQueryExports/{export_id}\" Example format: \"projects/{project_id}/bigQueryExports/{export_id}\" This field is provided in responses, and is ignored when provided in create requests.", +"type": "string" +}, +"principal": { +"description": "Output only. The service account that needs permission to create table and upload data to the BigQuery dataset.", +"readOnly": true, +"type": "string" +}, +"updateTime": { +"description": "Output only. The most recent time at which the BigQuery export was updated. This field is set by the server and will be ignored if provided on export creation or update.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV1Binding": { +"description": "Represents a Kubernetes RoleBinding or ClusterRoleBinding.", +"id": "GoogleCloudSecuritycenterV1Binding", +"properties": { +"name": { +"description": "Name for the binding.", +"type": "string" +}, +"ns": { +"description": "Namespace for the binding.", +"type": "string" +}, +"role": { +"$ref": "Role", +"description": "The Role or ClusterRole referenced by the binding." +}, +"subjects": { +"description": "Represents one or more subjects that are bound to the role. Not always available for PATCH requests.", +"items": { +"$ref": "Subject" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV1BulkMuteFindingsResponse": { +"description": "The response to a BulkMute request. Contains the LRO information.", +"id": "GoogleCloudSecuritycenterV1BulkMuteFindingsResponse", +"properties": {}, +"type": "object" +}, +"GoogleCloudSecuritycenterV1CustomConfig": { +"description": "Defines the properties in a custom module configuration for Security Health Analytics. Use the custom module configuration to create custom detectors that generate custom findings for resources that you specify.", +"id": "GoogleCloudSecuritycenterV1CustomConfig", +"properties": { +"customOutput": { +"$ref": "GoogleCloudSecuritycenterV1CustomOutputSpec", +"description": "Custom output properties." +}, +"description": { +"description": "Text that describes the vulnerability or misconfiguration that the custom module detects. This explanation is returned with each finding instance to help investigators understand the detected issue. The text must be enclosed in quotation marks.", +"type": "string" +}, +"predicate": { +"$ref": "Expr", +"description": "The CEL expression to evaluate to produce findings. When the expression evaluates to true against a resource, a finding is generated." +}, +"recommendation": { +"description": "An explanation of the recommended steps that security teams can take to resolve the detected issue. This explanation is returned with each finding generated by this module in the `nextSteps` property of the finding JSON.", +"type": "string" +}, +"resourceSelector": { +"$ref": "GoogleCloudSecuritycenterV1ResourceSelector", +"description": "The resource types that the custom module operates on. Each custom module can specify up to 5 resource types." +}, +"severity": { +"description": "The severity to assign to findings generated by the module.", +"enum": [ +"SEVERITY_UNSPECIFIED", +"CRITICAL", +"HIGH", +"MEDIUM", +"LOW" +], +"enumDescriptions": [ +"Unspecified severity.", +"Critical severity.", +"High severity.", +"Medium severity.", +"Low severity." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV1CustomOutputSpec": { +"description": "A set of optional name-value pairs that define custom source properties to return with each finding that is generated by the custom module. The custom source properties that are defined here are included in the finding JSON under `sourceProperties`.", +"id": "GoogleCloudSecuritycenterV1CustomOutputSpec", +"properties": { +"properties": { +"description": "A list of custom output properties to add to the finding.", +"items": { +"$ref": "GoogleCloudSecuritycenterV1Property" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV1EffectiveSecurityHealthAnalyticsCustomModule": { +"description": "An EffectiveSecurityHealthAnalyticsCustomModule is the representation of a Security Health Analytics custom module at a specified level of the resource hierarchy: organization, folder, or project. If a custom module is inherited from a parent organization or folder, the value of the `enablementState` property in EffectiveSecurityHealthAnalyticsCustomModule is set to the value that is effective in the parent, instead of `INHERITED`. For example, if the module is enabled in a parent organization or folder, the effective enablement_state for the module in all child folders or projects is also `enabled`. EffectiveSecurityHealthAnalyticsCustomModule is read-only.", +"id": "GoogleCloudSecuritycenterV1EffectiveSecurityHealthAnalyticsCustomModule", +"properties": { +"cloudProvider": { +"description": "The cloud provider of the custom module.", +"enum": [ +"CLOUD_PROVIDER_UNSPECIFIED", +"GOOGLE_CLOUD_PLATFORM", +"AMAZON_WEB_SERVICES", +"MICROSOFT_AZURE" +], +"enumDescriptions": [ +"Unspecified cloud provider.", +"Google Cloud.", +"Amazon Web Services.", +"Microsoft Azure." +], +"type": "string" +}, +"customConfig": { +"$ref": "GoogleCloudSecuritycenterV1CustomConfig", +"description": "Output only. The user-specified configuration for the module.", +"readOnly": true +}, +"displayName": { +"description": "Output only. The display name for the custom module. The name must be between 1 and 128 characters, start with a lowercase letter, and contain alphanumeric characters or underscores only.", +"readOnly": true, +"type": "string" +}, +"enablementState": { +"description": "Output only. The effective state of enablement for the module at the given level of the hierarchy.", +"enum": [ +"ENABLEMENT_STATE_UNSPECIFIED", +"ENABLED", +"DISABLED" +], +"enumDescriptions": [ +"Unspecified enablement state.", +"The module is enabled at the given level.", +"The module is disabled at the given level." +], +"readOnly": true, +"type": "string" +}, +"name": { +"description": "Output only. The resource name of the custom module. Its format is \"organizations/{organization}/securityHealthAnalyticsSettings/effectiveCustomModules/{customModule}\", or \"folders/{folder}/securityHealthAnalyticsSettings/effectiveCustomModules/{customModule}\", or \"projects/{project}/securityHealthAnalyticsSettings/effectiveCustomModules/{customModule}\"", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV1ExternalSystem": { +"description": "Representation of third party SIEM/SOAR fields within SCC.", +"id": "GoogleCloudSecuritycenterV1ExternalSystem", +"properties": { +"assignees": { +"description": "References primary/secondary etc assignees in the external system.", +"items": { +"type": "string" +}, +"type": "array" +}, +"caseCloseTime": { +"description": "The time when the case was closed, as reported by the external system.", +"format": "google-datetime", +"type": "string" +}, +"caseCreateTime": { +"description": "The time when the case was created, as reported by the external system.", +"format": "google-datetime", +"type": "string" +}, +"casePriority": { +"description": "The priority of the finding's corresponding case in the external system.", +"type": "string" +}, +"caseSla": { +"description": "The SLA of the finding's corresponding case in the external system.", +"format": "google-datetime", +"type": "string" +}, +"caseUri": { +"description": "The link to the finding's corresponding case in the external system.", +"type": "string" +}, +"externalSystemUpdateTime": { +"description": "The time when the case was last updated, as reported by the external system.", +"format": "google-datetime", +"type": "string" +}, +"externalUid": { +"description": "The identifier that's used to track the finding's corresponding case in the external system.", +"type": "string" +}, +"name": { +"description": "Full resource name of the external system, for example: \"organizations/1234/sources/5678/findings/123456/externalSystems/jira\", \"folders/1234/sources/5678/findings/123456/externalSystems/jira\", \"projects/1234/sources/5678/findings/123456/externalSystems/jira\"", +"type": "string" +}, +"status": { +"description": "The most recent status of the finding's corresponding case, as reported by the external system.", +"type": "string" +}, +"ticketInfo": { +"$ref": "TicketInfo", +"description": "Information about the ticket, if any, that is being used to track the resolution of the issue that is identified by this finding." +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV1MuteConfig": { +"description": "A mute config is a Cloud SCC resource that contains the configuration to mute create/update events of findings.", +"id": "GoogleCloudSecuritycenterV1MuteConfig", +"properties": { +"createTime": { +"description": "Output only. The time at which the mute config was created. This field is set by the server and will be ignored if provided on config creation.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"description": { +"description": "A description of the mute config.", +"type": "string" +}, +"displayName": { +"deprecated": true, +"description": "The human readable name to be displayed for the mute config.", +"type": "string" +}, +"expiryTime": { +"description": "Optional. The expiry of the mute config. Only applicable for dynamic configs. If the expiry is set, when the config expires, it is removed from all findings.", +"format": "google-datetime", +"type": "string" +}, +"filter": { +"description": "Required. An expression that defines the filter to apply across create/update events of findings. While creating a filter string, be mindful of the scope in which the mute configuration is being created. E.g., If a filter contains project = X but is created under the project = Y scope, it might not match any findings. The following field and operator combinations are supported: * severity: `=`, `:` * category: `=`, `:` * resource.name: `=`, `:` * resource.project_name: `=`, `:` * resource.project_display_name: `=`, `:` * resource.folders.resource_folder: `=`, `:` * resource.parent_name: `=`, `:` * resource.parent_display_name: `=`, `:` * resource.type: `=`, `:` * finding_class: `=`, `:` * indicator.ip_addresses: `=`, `:` * indicator.domains: `=`, `:`", +"type": "string" +}, +"mostRecentEditor": { +"description": "Output only. Email address of the user who last edited the mute config. This field is set by the server and will be ignored if provided on config creation or update.", +"readOnly": true, +"type": "string" +}, +"name": { +"description": "This field will be ignored if provided on config creation. Format `organizations/{organization}/muteConfigs/{mute_config}` `folders/{folder}/muteConfigs/{mute_config}` `projects/{project}/muteConfigs/{mute_config}` `organizations/{organization}/locations/global/muteConfigs/{mute_config}` `folders/{folder}/locations/global/muteConfigs/{mute_config}` `projects/{project}/locations/global/muteConfigs/{mute_config}`", +"type": "string" +}, +"type": { +"description": "Optional. The type of the mute config, which determines what type of mute state the config affects. The static mute state takes precedence over the dynamic mute state. Immutable after creation. STATIC by default if not set during creation.", +"enum": [ +"MUTE_CONFIG_TYPE_UNSPECIFIED", +"STATIC", +"DYNAMIC" +], +"enumDescriptions": [ +"Unused.", +"A static mute config, which sets the static mute state of future matching findings to muted. Once the static mute state has been set, finding or config modifications will not affect the state.", +"A dynamic mute config, which is applied to existing and future matching findings, setting their dynamic mute state to \"muted\". If the config is updated or deleted, or a matching finding is updated, such that the finding doesn't match the config, the config will be removed from the finding, and the finding's dynamic mute state may become \"unmuted\" (unless other configs still match)." +], +"type": "string" +}, +"updateTime": { +"description": "Output only. The most recent time at which the mute config was updated. This field is set by the server and will be ignored if provided on config creation or update.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV1NotificationMessage": { +"description": "Cloud SCC's Notification", +"id": "GoogleCloudSecuritycenterV1NotificationMessage", +"properties": { +"finding": { +"$ref": "Finding", +"description": "If it's a Finding based notification config, this field will be populated." +}, +"notificationConfigName": { +"description": "Name of the notification config that generated current notification.", +"type": "string" +}, +"resource": { +"$ref": "GoogleCloudSecuritycenterV1Resource", +"description": "The Cloud resource tied to this notification's Finding." +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV1Property": { +"description": "An individual name-value pair that defines a custom source property.", +"id": "GoogleCloudSecuritycenterV1Property", +"properties": { +"name": { +"description": "Name of the property for the custom output.", +"type": "string" +}, +"valueExpression": { +"$ref": "Expr", +"description": "The CEL expression for the custom output. A resource property can be specified to return the value of the property or a text string enclosed in quotation marks." +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV1Resource": { +"description": "Information related to the Google Cloud resource.", +"id": "GoogleCloudSecuritycenterV1Resource", +"properties": { +"adcApplication": { +"$ref": "AdcApplication", +"description": "The ADC application associated with the finding." +}, +"adcApplicationTemplate": { +"$ref": "AdcApplicationTemplateRevision", +"description": "The ADC template associated with the finding." +}, +"adcSharedTemplate": { +"$ref": "AdcSharedTemplateRevision", +"description": "The ADC shared template associated with the finding." +}, +"application": { +"$ref": "GoogleCloudSecuritycenterV1ResourceApplication", +"description": "The App Hub application this resource belongs to." +}, +"awsMetadata": { +"$ref": "AwsMetadata", +"description": "The AWS metadata associated with the finding." +}, +"azureMetadata": { +"$ref": "AzureMetadata", +"description": "The Azure metadata associated with the finding." +}, +"cloudProvider": { +"description": "Indicates which cloud provider the resource resides in.", +"enum": [ +"CLOUD_PROVIDER_UNSPECIFIED", +"GOOGLE_CLOUD_PLATFORM", +"AMAZON_WEB_SERVICES", +"MICROSOFT_AZURE" +], +"enumDescriptions": [ +"The cloud provider is unspecified.", +"The cloud provider is Google Cloud.", +"The cloud provider is Amazon Web Services.", +"The cloud provider is Microsoft Azure." +], +"type": "string" +}, +"displayName": { +"description": "The human readable name of the resource.", +"type": "string" +}, +"folders": { +"description": "Output only. Contains a Folder message for each folder in the assets ancestry. The first folder is the deepest nested folder, and the last folder is the folder directly under the Organization.", +"items": { +"$ref": "Folder" +}, +"readOnly": true, +"type": "array" +}, +"location": { +"description": "The region or location of the service (if applicable).", +"type": "string" +}, +"name": { +"description": "The full resource name of the resource. See: https://cloud.google.com/apis/design/resource_names#full_resource_name", +"type": "string" +}, +"organization": { +"description": "Indicates which organization or tenant in the cloud provider the finding applies to.", +"type": "string" +}, +"parent": { +"description": "The full resource name of resource's parent.", +"type": "string" +}, +"parentDisplayName": { +"description": "The human readable name of resource's parent.", +"type": "string" +}, +"project": { +"description": "The full resource name of project that the resource belongs to.", +"type": "string" +}, +"projectDisplayName": { +"description": "The project ID that the resource belongs to.", +"type": "string" +}, +"resourcePath": { +"$ref": "ResourcePath", +"description": "Provides the path to the resource within the resource hierarchy." +}, +"resourcePathString": { +"description": "A string representation of the resource path. For Google Cloud, it has the format of `organizations/{organization_id}/folders/{folder_id}/folders/{folder_id}/projects/{project_id}` where there can be any number of folders. For AWS, it has the format of `org/{organization_id}/ou/{organizational_unit_id}/ou/{organizational_unit_id}/account/{account_id}` where there can be any number of organizational units. For Azure, it has the format of `mg/{management_group_id}/mg/{management_group_id}/subscription/{subscription_id}/rg/{resource_group_name}` where there can be any number of management groups.", +"type": "string" +}, +"service": { +"description": "The parent service or product from which the resource is provided, for example, GKE or SNS.", +"type": "string" +}, +"type": { +"description": "The full resource type of the resource.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV1ResourceApplication": { +"description": "The App Hub Application associated with the finding's resource.", +"id": "GoogleCloudSecuritycenterV1ResourceApplication", +"properties": { +"attributes": { +"$ref": "GoogleCloudSecuritycenterV1ResourceApplicationAttributes", +"description": "Consumer provided attributes for the application" +}, +"name": { +"description": "The resource name of an Application. Format: `projects/{host-project-id}/locations/{location}/applications/{application-id}`", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV1ResourceApplicationAttributes": { +"description": "Consumer provided attributes for the application", +"id": "GoogleCloudSecuritycenterV1ResourceApplicationAttributes", +"properties": { +"businessOwners": { +"description": "Business team that ensures user needs are met and value is delivered", +"items": { +"$ref": "GoogleCloudSecuritycenterV1ResourceApplicationAttributesContactInfo" +}, +"type": "array" +}, +"criticality": { +"$ref": "GoogleCloudSecuritycenterV1ResourceApplicationAttributesCriticality", +"description": "User-defined criticality information." +}, +"developerOwners": { +"description": "Developer team that owns development and coding.", +"items": { +"$ref": "GoogleCloudSecuritycenterV1ResourceApplicationAttributesContactInfo" +}, +"type": "array" +}, +"environment": { +"$ref": "GoogleCloudSecuritycenterV1ResourceApplicationAttributesEnvironment", +"description": "User-defined environment information." +}, +"operatorOwners": { +"description": "Operator team that ensures runtime and operations.", +"items": { +"$ref": "GoogleCloudSecuritycenterV1ResourceApplicationAttributesContactInfo" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV1ResourceApplicationAttributesContactInfo": { +"description": "Contact information of stakeholders.", +"id": "GoogleCloudSecuritycenterV1ResourceApplicationAttributesContactInfo", +"properties": { +"email": { +"description": "Email address of the contacts.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV1ResourceApplicationAttributesCriticality": { +"description": "Criticality of the Application, Service, or Workload", +"id": "GoogleCloudSecuritycenterV1ResourceApplicationAttributesCriticality", +"properties": { +"type": { +"description": "Criticality Type.", +"enum": [ +"CRITICALITY_TYPE_UNSPECIFIED", +"MISSION_CRITICAL", +"HIGH", +"MEDIUM", +"LOW" +], +"enumDescriptions": [ +"Unspecified type.", +"Mission critical service, application or workload.", +"High impact.", +"Medium impact.", +"Low impact." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV1ResourceApplicationAttributesEnvironment": { +"description": "Environment of the Application, Service, or Workload", +"id": "GoogleCloudSecuritycenterV1ResourceApplicationAttributesEnvironment", +"properties": { +"type": { +"description": "Environment Type.", +"enum": [ +"ENVIRONMENT_TYPE_UNSPECIFIED", +"PRODUCTION", +"STAGING", +"TEST", +"DEVELOPMENT" +], +"enumDescriptions": [ +"Unspecified type.", +"Production environment.", +"Staging environment.", +"Test environment.", +"Development environment." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV1ResourceSelector": { +"description": "Resource for selecting resource type.", +"id": "GoogleCloudSecuritycenterV1ResourceSelector", +"properties": { +"resourceTypes": { +"description": "The resource types to run the detector on.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV1ResourceValueConfig": { +"description": "A resource value configuration (RVC) is a mapping configuration of user's resources to resource values. Used in Attack path simulations.", +"id": "GoogleCloudSecuritycenterV1ResourceValueConfig", +"properties": { +"cloudProvider": { +"description": "Cloud provider this configuration applies to", +"enum": [ +"CLOUD_PROVIDER_UNSPECIFIED", +"GOOGLE_CLOUD_PLATFORM", +"AMAZON_WEB_SERVICES", +"MICROSOFT_AZURE" +], +"enumDescriptions": [ +"The cloud provider is unspecified.", +"The cloud provider is Google Cloud.", +"The cloud provider is Amazon Web Services.", +"The cloud provider is Microsoft Azure." +], +"type": "string" +}, +"createTime": { +"description": "Output only. Timestamp this resource value configuration was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"description": { +"description": "Description of the resource value configuration.", +"type": "string" +}, +"name": { +"description": "Name for the resource value configuration", +"type": "string" +}, +"resourceLabelsSelector": { +"additionalProperties": { +"type": "string" +}, +"description": "List of resource labels to search for, evaluated with `AND`. For example, `\"resource_labels_selector\": {\"key\": \"value\", \"env\": \"prod\"}` will match resources with labels \"key\": \"value\" `AND` \"env\": \"prod\" https://cloud.google.com/resource-manager/docs/creating-managing-labels", +"type": "object" +}, +"resourceType": { +"description": "Apply resource_value only to resources that match resource_type. resource_type will be checked with `AND` of other resources. For example, \"storage.googleapis.com/Bucket\" with resource_value \"HIGH\" will apply \"HIGH\" value only to \"storage.googleapis.com/Bucket\" resources.", +"type": "string" +}, +"resourceValue": { +"description": "Required. Resource value level this expression represents", +"enum": [ +"RESOURCE_VALUE_UNSPECIFIED", +"HIGH", +"MEDIUM", +"LOW", +"NONE" +], +"enumDescriptions": [ +"Unspecific value", +"High resource value", +"Medium resource value", +"Low resource value", +"No resource value, e.g. ignore these resources" +], +"type": "string" +}, +"scope": { +"description": "Project or folder to scope this configuration to. For example, \"project/456\" would apply this configuration only to resources in \"project/456\" scope will be checked with `AND` of other resources.", +"type": "string" +}, +"sensitiveDataProtectionMapping": { +"$ref": "GoogleCloudSecuritycenterV1SensitiveDataProtectionMapping", +"description": "A mapping of the sensitivity on Sensitive Data Protection finding to resource values. This mapping can only be used in combination with a resource_type that is related to BigQuery, e.g. \"bigquery.googleapis.com/Dataset\"." +}, +"tagValues": { +"description": "Required. Tag values combined with `AND` to check against. For Google Cloud resources, they are tag value IDs in the form of \"tagValues/123\". Example: `[ \"tagValues/123\", \"tagValues/456\", \"tagValues/789\" ]` https://cloud.google.com/resource-manager/docs/tags/tags-creating-and-managing", +"items": { +"type": "string" +}, +"type": "array" +}, +"updateTime": { +"description": "Output only. Timestamp this resource value configuration was last updated.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV1RunAssetDiscoveryResponse": { +"description": "Response of asset discovery run", +"id": "GoogleCloudSecuritycenterV1RunAssetDiscoveryResponse", +"properties": { +"duration": { +"description": "The duration between asset discovery run start and end", +"format": "google-duration", +"type": "string" +}, +"state": { +"description": "The state of an asset discovery run.", +"enum": [ +"STATE_UNSPECIFIED", +"COMPLETED", +"SUPERSEDED", +"TERMINATED" +], +"enumDescriptions": [ +"Asset discovery run state was unspecified.", +"Asset discovery run completed successfully.", +"Asset discovery run was cancelled with tasks still pending, as another run for the same organization was started with a higher priority.", +"Asset discovery run was killed and terminated." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV1SecurityHealthAnalyticsCustomModule": { +"description": "Represents an instance of a Security Health Analytics custom module, including its full module name, display name, enablement state, and last updated time. You can create a custom module at the organization, folder, or project level. Custom modules that you create at the organization or folder level are inherited by the child folders and projects.", +"id": "GoogleCloudSecuritycenterV1SecurityHealthAnalyticsCustomModule", +"properties": { +"ancestorModule": { +"description": "Output only. If empty, indicates that the custom module was created in the organization, folder, or project in which you are viewing the custom module. Otherwise, `ancestor_module` specifies the organization or folder from which the custom module is inherited.", +"readOnly": true, +"type": "string" +}, +"cloudProvider": { +"description": "The cloud provider of the custom module.", +"enum": [ +"CLOUD_PROVIDER_UNSPECIFIED", +"GOOGLE_CLOUD_PLATFORM", +"AMAZON_WEB_SERVICES", +"MICROSOFT_AZURE" +], +"enumDescriptions": [ +"Unspecified cloud provider.", +"Google Cloud.", +"Amazon Web Services (AWS).", +"Microsoft Azure." +], +"type": "string" +}, +"customConfig": { +"$ref": "GoogleCloudSecuritycenterV1CustomConfig", +"description": "The user specified custom configuration for the module." +}, +"displayName": { +"description": "The display name of the Security Health Analytics custom module. This display name becomes the finding category for all findings that are returned by this custom module. The display name must be between 1 and 128 characters, start with a lowercase letter, and contain alphanumeric characters or underscores only.", +"type": "string" +}, +"enablementState": { +"description": "The enablement state of the custom module.", +"enum": [ +"ENABLEMENT_STATE_UNSPECIFIED", +"ENABLED", +"DISABLED", +"INHERITED" +], +"enumDescriptions": [ +"Unspecified enablement state.", +"The module is enabled at the given CRM resource.", +"The module is disabled at the given CRM resource.", +"State is inherited from an ancestor module. The module will either be effectively ENABLED or DISABLED based on its closest non-inherited ancestor module in the CRM hierarchy." +], +"type": "string" +}, +"lastEditor": { +"description": "Output only. The editor that last updated the custom module.", +"readOnly": true, +"type": "string" +}, +"name": { +"description": "Immutable. The resource name of the custom module. Its format is \"organizations/{organization}/securityHealthAnalyticsSettings/customModules/{customModule}\", or \"folders/{folder}/securityHealthAnalyticsSettings/customModules/{customModule}\", or \"projects/{project}/securityHealthAnalyticsSettings/customModules/{customModule}\" The id {customModule} is server-generated and is not user settable. It will be a numeric id containing 1-20 digits.", +"type": "string" +}, +"updateTime": { +"description": "Output only. The time at which the custom module was last updated.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV1SensitiveDataProtectionMapping": { +"description": "Resource value mapping for Sensitive Data Protection findings. If any of these mappings have a resource value that is not unspecified, the resource_value field will be ignored when reading this configuration.", +"id": "GoogleCloudSecuritycenterV1SensitiveDataProtectionMapping", +"properties": { +"highSensitivityMapping": { +"description": "Resource value mapping for high-sensitivity Sensitive Data Protection findings", +"enum": [ +"RESOURCE_VALUE_UNSPECIFIED", +"HIGH", +"MEDIUM", +"LOW", +"NONE" +], +"enumDescriptions": [ +"Unspecific value", +"High resource value", +"Medium resource value", +"Low resource value", +"No resource value, e.g. ignore these resources" +], +"type": "string" +}, +"mediumSensitivityMapping": { +"description": "Resource value mapping for medium-sensitivity Sensitive Data Protection findings", +"enum": [ +"RESOURCE_VALUE_UNSPECIFIED", +"HIGH", +"MEDIUM", +"LOW", +"NONE" +], +"enumDescriptions": [ +"Unspecific value", +"High resource value", +"Medium resource value", +"Low resource value", +"No resource value, e.g. ignore these resources" +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV1beta1RunAssetDiscoveryResponse": { +"description": "Response of asset discovery run", +"id": "GoogleCloudSecuritycenterV1beta1RunAssetDiscoveryResponse", +"properties": { +"duration": { +"description": "The duration between asset discovery run start and end", +"format": "google-duration", +"type": "string" +}, +"state": { +"description": "The state of an asset discovery run.", +"enum": [ +"STATE_UNSPECIFIED", +"COMPLETED", +"SUPERSEDED", +"TERMINATED" +], +"enumDescriptions": [ +"Asset discovery run state was unspecified.", +"Asset discovery run completed successfully.", +"Asset discovery run was cancelled with tasks still pending, as another run for the same organization was started with a higher priority.", +"Asset discovery run was killed and terminated." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV1p1beta1Finding": { +"description": "Security Command Center finding. A finding is a record of assessment data (security, risk, health or privacy) ingested into Security Command Center for presentation, notification, analysis, policy testing, and enforcement. For example, an XSS vulnerability in an App Engine application is a finding.", +"id": "GoogleCloudSecuritycenterV1p1beta1Finding", +"properties": { +"canonicalName": { +"description": "The canonical name of the finding. It's either \"organizations/{organization_id}/sources/{source_id}/findings/{finding_id}\", \"folders/{folder_id}/sources/{source_id}/findings/{finding_id}\" or \"projects/{project_number}/sources/{source_id}/findings/{finding_id}\", depending on the closest CRM ancestor of the resource associated with the finding.", +"type": "string" +}, +"category": { +"description": "The additional taxonomy group within findings from a given source. This field is immutable after creation time. Example: \"XSS_FLASH_INJECTION\"", +"type": "string" +}, +"createTime": { +"description": "The time at which the finding was created in Security Command Center.", +"format": "google-datetime", +"type": "string" +}, +"eventTime": { +"description": "The time at which the event took place, or when an update to the finding occurred. For example, if the finding represents an open firewall it would capture the time the detector believes the firewall became open. The accuracy is determined by the detector. If the finding were to be resolved afterward, this time would reflect when the finding was resolved. Must not be set to a value greater than the current timestamp.", +"format": "google-datetime", +"type": "string" +}, +"externalUri": { +"description": "The URI that, if available, points to a web page outside of Security Command Center where additional information about the finding can be found. This field is guaranteed to be either empty or a well formed URL.", +"type": "string" +}, +"name": { +"description": "The relative resource name of this finding. See: https://cloud.google.com/apis/design/resource_names#relative_resource_name Example: \"organizations/{organization_id}/sources/{source_id}/findings/{finding_id}\"", +"type": "string" +}, +"parent": { +"description": "The relative resource name of the source the finding belongs to. See: https://cloud.google.com/apis/design/resource_names#relative_resource_name This field is immutable after creation time. For example: \"organizations/{organization_id}/sources/{source_id}\"", +"type": "string" +}, +"resourceName": { +"description": "For findings on Google Cloud resources, the full resource name of the Google Cloud resource this finding is for. See: https://cloud.google.com/apis/design/resource_names#full_resource_name When the finding is for a non-Google Cloud resource, the resourceName can be a customer or partner defined string. This field is immutable after creation time.", +"type": "string" +}, +"securityMarks": { +"$ref": "GoogleCloudSecuritycenterV1p1beta1SecurityMarks", +"description": "Output only. User specified security marks. These marks are entirely managed by the user and come from the SecurityMarks resource that belongs to the finding.", +"readOnly": true +}, +"severity": { +"description": "The severity of the finding. This field is managed by the source that writes the finding.", +"enum": [ +"SEVERITY_UNSPECIFIED", +"CRITICAL", +"HIGH", +"MEDIUM", +"LOW" +], +"enumDescriptions": [ +"No severity specified. The default value.", +"Critical severity.", +"High severity.", +"Medium severity.", +"Low severity." +], +"type": "string" +}, +"sourceProperties": { +"additionalProperties": { +"type": "any" +}, +"description": "Source specific properties. These properties are managed by the source that writes the finding. The key names in the source_properties map must be between 1 and 255 characters, and must start with a letter and contain alphanumeric characters or underscores only.", +"type": "object" +}, +"state": { +"description": "The state of the finding.", +"enum": [ +"STATE_UNSPECIFIED", +"ACTIVE", +"INACTIVE" +], +"enumDescriptions": [ +"Unspecified state.", +"The finding requires attention and has not been addressed yet.", +"The finding has been fixed, triaged as a non-issue or otherwise addressed and is no longer active." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV1p1beta1Folder": { +"description": "Message that contains the resource name and display name of a folder resource.", +"id": "GoogleCloudSecuritycenterV1p1beta1Folder", +"properties": { +"resourceFolder": { +"description": "Full resource name of this folder. See: https://cloud.google.com/apis/design/resource_names#full_resource_name", +"type": "string" +}, +"resourceFolderDisplayName": { +"description": "The user defined display name for this folder.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV1p1beta1NotificationMessage": { +"description": "Security Command Center's Notification", +"id": "GoogleCloudSecuritycenterV1p1beta1NotificationMessage", +"properties": { +"finding": { +"$ref": "GoogleCloudSecuritycenterV1p1beta1Finding", +"description": "If it's a Finding based notification config, this field will be populated." +}, +"notificationConfigName": { +"description": "Name of the notification config that generated current notification.", +"type": "string" +}, +"resource": { +"$ref": "GoogleCloudSecuritycenterV1p1beta1Resource", +"description": "The Cloud resource tied to the notification." +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV1p1beta1Resource": { +"description": "Information related to the Google Cloud resource.", +"id": "GoogleCloudSecuritycenterV1p1beta1Resource", +"properties": { +"folders": { +"description": "Output only. Contains a Folder message for each folder in the assets ancestry. The first folder is the deepest nested folder, and the last folder is the folder directly under the Organization.", +"items": { +"$ref": "GoogleCloudSecuritycenterV1p1beta1Folder" +}, +"readOnly": true, +"type": "array" +}, +"name": { +"description": "The full resource name of the resource. See: https://cloud.google.com/apis/design/resource_names#full_resource_name", +"type": "string" +}, +"parent": { +"description": "The full resource name of resource's parent.", +"type": "string" +}, +"parentDisplayName": { +"description": "The human readable name of resource's parent.", +"type": "string" +}, +"project": { +"description": "The full resource name of project that the resource belongs to.", +"type": "string" +}, +"projectDisplayName": { +"description": "The project id that the resource belongs to.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV1p1beta1RunAssetDiscoveryResponse": { +"description": "Response of asset discovery run", +"id": "GoogleCloudSecuritycenterV1p1beta1RunAssetDiscoveryResponse", +"properties": { +"duration": { +"description": "The duration between asset discovery run start and end", +"format": "google-duration", +"type": "string" +}, +"state": { +"description": "The state of an asset discovery run.", +"enum": [ +"STATE_UNSPECIFIED", +"COMPLETED", +"SUPERSEDED", +"TERMINATED" +], +"enumDescriptions": [ +"Asset discovery run state was unspecified.", +"Asset discovery run completed successfully.", +"Asset discovery run was cancelled with tasks still pending, as another run for the same organization was started with a higher priority.", +"Asset discovery run was killed and terminated." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV1p1beta1SecurityMarks": { +"description": "User specified security marks that are attached to the parent Security Command Center resource. Security marks are scoped within a Security Command Center organization -- they can be modified and viewed by all users who have proper permissions on the organization.", +"id": "GoogleCloudSecuritycenterV1p1beta1SecurityMarks", +"properties": { +"canonicalName": { +"description": "The canonical name of the marks. Examples: \"organizations/{organization_id}/assets/{asset_id}/securityMarks\" \"folders/{folder_id}/assets/{asset_id}/securityMarks\" \"projects/{project_number}/assets/{asset_id}/securityMarks\" \"organizations/{organization_id}/sources/{source_id}/findings/{finding_id}/securityMarks\" \"folders/{folder_id}/sources/{source_id}/findings/{finding_id}/securityMarks\" \"projects/{project_number}/sources/{source_id}/findings/{finding_id}/securityMarks\"", +"type": "string" +}, +"marks": { +"additionalProperties": { +"type": "string" +}, +"description": "Mutable user specified security marks belonging to the parent resource. Constraints are as follows: * Keys and values are treated as case insensitive * Keys must be between 1 - 256 characters (inclusive) * Keys must be letters, numbers, underscores, or dashes * Values have leading and trailing whitespace trimmed, remaining characters must be between 1 - 4096 characters (inclusive)", +"type": "object" +}, +"name": { +"description": "The relative resource name of the SecurityMarks. See: https://cloud.google.com/apis/design/resource_names#relative_resource_name Examples: \"organizations/{organization_id}/assets/{asset_id}/securityMarks\" \"organizations/{organization_id}/sources/{source_id}/findings/{finding_id}/securityMarks\".", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2Access": { +"description": "Represents an access event.", +"id": "GoogleCloudSecuritycenterV2Access", +"properties": { +"callerIp": { +"description": "Caller's IP address, such as \"1.1.1.1\".", +"type": "string" +}, +"callerIpGeo": { +"$ref": "GoogleCloudSecuritycenterV2Geolocation", +"description": "The caller IP's geolocation, which identifies where the call came from." +}, +"methodName": { +"description": "The method that the service account called, e.g. \"SetIamPolicy\".", +"type": "string" +}, +"principalEmail": { +"description": "Associated email, such as \"foo@google.com\". The email address of the authenticated user or a service account acting on behalf of a third party principal making the request. For third party identity callers, the `principal_subject` field is populated instead of this field. For privacy reasons, the principal email address is sometimes redacted. For more information, see [Caller identities in audit logs](https://cloud.google.com/logging/docs/audit#user-id).", +"type": "string" +}, +"principalSubject": { +"description": "A string that represents the principal_subject that is associated with the identity. Unlike `principal_email`, `principal_subject` supports principals that aren't associated with email addresses, such as third party principals. For most identities, the format is `principal://iam.googleapis.com/{identity pool name}/subject/{subject}`. Some GKE identities, such as GKE_WORKLOAD, FREEFORM, and GKE_HUB_WORKLOAD, still use the legacy format `serviceAccount:{identity pool name}[{subject}]`.", +"type": "string" +}, +"serviceAccountDelegationInfo": { +"description": "The identity delegation history of an authenticated service account that made the request. The `serviceAccountDelegationInfo[]` object contains information about the real authorities that try to access Google Cloud resources by delegating on a service account. When multiple authorities are present, they are guaranteed to be sorted based on the original ordering of the identity delegation events.", +"items": { +"$ref": "GoogleCloudSecuritycenterV2ServiceAccountDelegationInfo" +}, +"type": "array" +}, +"serviceAccountKeyName": { +"description": "The name of the service account key that was used to create or exchange credentials when authenticating the service account that made the request. This is a scheme-less URI full resource name. For example: \"//iam.googleapis.com/projects/{PROJECT_ID}/serviceAccounts/{ACCOUNT}/keys/{key}\". ", +"type": "string" +}, +"serviceName": { +"description": "This is the API service that the service account made a call to, e.g. \"iam.googleapis.com\"", +"type": "string" +}, +"userAgent": { +"description": "The caller's user agent string associated with the finding.", +"type": "string" +}, +"userAgentFamily": { +"description": "Type of user agent associated with the finding. For example, an operating system shell or an embedded or standalone application.", +"type": "string" +}, +"userName": { +"description": "A string that represents a username. The username provided depends on the type of the finding and is likely not an IAM principal. For example, this can be a system username if the finding is related to a virtual machine, or it can be an application login username.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2AccessReview": { +"description": "Conveys information about a Kubernetes access review (such as one returned by a [`kubectl auth can-i`](https://kubernetes.io/docs/reference/access-authn-authz/authorization/#checking-api-access) command) that was involved in a finding.", +"id": "GoogleCloudSecuritycenterV2AccessReview", +"properties": { +"group": { +"description": "The API group of the resource. \"*\" means all.", +"type": "string" +}, +"name": { +"description": "The name of the resource being requested. Empty means all.", +"type": "string" +}, +"ns": { +"description": "Namespace of the action being requested. Currently, there is no distinction between no namespace and all namespaces. Both are represented by \"\" (empty).", +"type": "string" +}, +"resource": { +"description": "The optional resource type requested. \"*\" means all.", +"type": "string" +}, +"subresource": { +"description": "The optional subresource type.", +"type": "string" +}, +"verb": { +"description": "A Kubernetes resource API verb, like get, list, watch, create, update, delete, proxy. \"*\" means all.", +"type": "string" +}, +"version": { +"description": "The API version of the resource. \"*\" means all.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2AdaptiveProtection": { +"description": "Information about [Google Cloud Armor Adaptive Protection](https://cloud.google.com/armor/docs/cloud-armor-overview#google-cloud-armor-adaptive-protection).", +"id": "GoogleCloudSecuritycenterV2AdaptiveProtection", +"properties": { +"confidence": { +"description": "A score of 0 means that there is low confidence that the detected event is an actual attack. A score of 1 means that there is high confidence that the detected event is an attack. See the [Adaptive Protection documentation](https://cloud.google.com/armor/docs/adaptive-protection-overview#configure-alert-tuning) for further explanation.", +"format": "double", +"type": "number" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2AdcApplication": { +"description": "Represents an ADC application associated with the finding.", +"id": "GoogleCloudSecuritycenterV2AdcApplication", +"properties": { +"attributes": { +"$ref": "GoogleCloudSecuritycenterV2ResourceApplicationAttributes", +"description": "Consumer provided attributes for the AppHub application." +}, +"name": { +"description": "The resource name of an ADC Application. Format: projects/{project}/locations/{location}/spaces/{space}/applications/{application}", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2AdcApplicationTemplateRevision": { +"description": "Represents an ADC template associated with the finding.", +"id": "GoogleCloudSecuritycenterV2AdcApplicationTemplateRevision", +"properties": { +"name": { +"description": "The resource name of an ADC Application Template Revision. Format: projects/{project}/locations/{location}/spaces/{space}/applicationTemplates/{application_template}/revisions/{revision}", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2AdcSharedTemplateRevision": { +"description": "Represents an ADC shared template associated with the finding.", +"id": "GoogleCloudSecuritycenterV2AdcSharedTemplateRevision", +"properties": { +"name": { +"description": "The resource name of an ADC Shared Template Revision. Format: projects/{project}/locations/{location}/spaces/{space}/applicationTemplates/{application_template}/revisions/{revision}", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2AffectedResources": { +"description": "Details about resources affected by this finding.", +"id": "GoogleCloudSecuritycenterV2AffectedResources", +"properties": { +"count": { +"description": "The count of resources affected by the finding.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2AiModel": { +"description": "Contains information about the AI model associated with the finding.", +"id": "GoogleCloudSecuritycenterV2AiModel", +"properties": { +"deploymentPlatform": { +"description": "The platform on which the model is deployed.", +"enum": [ +"DEPLOYMENT_PLATFORM_UNSPECIFIED", +"VERTEX_AI", +"GKE", +"GCE", +"FINE_TUNED_MODEL" +], +"enumDescriptions": [ +"Unspecified deployment platform.", +"Vertex AI.", +"Google Kubernetes Engine.", +"Google Compute Engine.", +"Fine tuned model." +], +"type": "string" +}, +"displayName": { +"description": "The user defined display name of model. Ex. baseline-classification-model", +"type": "string" +}, +"domain": { +"description": "The domain of the model, for example, \u201cimage-classification\u201d.", +"type": "string" +}, +"library": { +"description": "The name of the model library, for example, \u201ctransformers\u201d.", +"type": "string" +}, +"location": { +"description": "The region in which the model is used, for example, \u201cus-central1\u201d.", +"type": "string" +}, +"name": { +"description": "The name of the AI model, for example, \"gemini:1.0.0\".", +"type": "string" +}, +"publisher": { +"description": "The publisher of the model, for example, \u201cgoogle\u201d or \u201cnvidia\u201d.", +"type": "string" +}, +"usageCategory": { +"description": "The purpose of the model, for example, \"Inteference\" or \"Training\".", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2Allowed": { +"description": "Allowed IP rule.", +"id": "GoogleCloudSecuritycenterV2Allowed", +"properties": { +"ipRules": { +"description": "Optional. Optional list of allowed IP rules.", +"items": { +"$ref": "GoogleCloudSecuritycenterV2IpRule" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2Application": { +"description": "Represents an application associated with a finding.", +"id": "GoogleCloudSecuritycenterV2Application", +"properties": { +"baseUri": { +"description": "The base URI that identifies the network location of the application in which the vulnerability was detected. For example, `http://example.com`.", +"type": "string" +}, +"fullUri": { +"description": "The full URI with payload that could be used to reproduce the vulnerability. For example, `http://example.com?p=aMmYgI6H`.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2ArtifactGuardPolicies": { +"description": "Represents the result of evaluating artifact guard policies.", +"id": "GoogleCloudSecuritycenterV2ArtifactGuardPolicies", +"properties": { +"failingPolicies": { +"description": "A list of failing policies.", +"items": { +"$ref": "GoogleCloudSecuritycenterV2ArtifactGuardPolicy" +}, +"type": "array" +}, +"resourceId": { +"description": "The ID of the resource that has policies configured for it.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2ArtifactGuardPolicy": { +"description": "Represents an artifact guard policy.", +"id": "GoogleCloudSecuritycenterV2ArtifactGuardPolicy", +"properties": { +"failureReason": { +"description": "The reason for the policy failure, for example, \"severity=HIGH AND max_vuln_count=2\".", +"type": "string" +}, +"policyId": { +"description": "The ID of the failing policy, for example, \"organizations/3392779/locations/global/policies/prod-policy\".", +"type": "string" +}, +"type": { +"description": "The type of the policy evaluation.", +"enum": [ +"ARTIFACT_GUARD_POLICY_TYPE_UNSPECIFIED", +"VULNERABILITY" +], +"enumDescriptions": [ +"Default value. This value is unused.", +"Vulnerability type." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2Attack": { +"description": "Information about DDoS attack volume and classification.", +"id": "GoogleCloudSecuritycenterV2Attack", +"properties": { +"classification": { +"description": "Type of attack, for example, 'SYN-flood', 'NTP-udp', or 'CHARGEN-udp'.", +"type": "string" +}, +"volumeBps": { +"deprecated": true, +"description": "Total BPS (bytes per second) volume of attack. Deprecated - refer to volume_bps_long instead.", +"format": "int32", +"type": "integer" +}, +"volumeBpsLong": { +"description": "Total BPS (bytes per second) volume of attack.", +"format": "int64", +"type": "string" +}, +"volumePps": { +"deprecated": true, +"description": "Total PPS (packets per second) volume of attack. Deprecated - refer to volume_pps_long instead.", +"format": "int32", +"type": "integer" +}, +"volumePpsLong": { +"description": "Total PPS (packets per second) volume of attack.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2AttackExposure": { +"description": "An attack exposure contains the results of an attack path simulation run.", +"id": "GoogleCloudSecuritycenterV2AttackExposure", +"properties": { +"attackExposureResult": { +"description": "The resource name of the attack path simulation result that contains the details regarding this attack exposure score. Example: `organizations/123/simulations/456/attackExposureResults/789`", +"type": "string" +}, +"exposedHighValueResourcesCount": { +"description": "The number of high value resources that are exposed as a result of this finding.", +"format": "int32", +"type": "integer" +}, +"exposedLowValueResourcesCount": { +"description": "The number of high value resources that are exposed as a result of this finding.", +"format": "int32", +"type": "integer" +}, +"exposedMediumValueResourcesCount": { +"description": "The number of medium value resources that are exposed as a result of this finding.", +"format": "int32", +"type": "integer" +}, +"latestCalculationTime": { +"description": "The most recent time the attack exposure was updated on this finding.", +"format": "google-datetime", +"type": "string" +}, +"score": { +"description": "A number between 0 (inclusive) and infinity that represents how important this finding is to remediate. The higher the score, the more important it is to remediate.", +"format": "double", +"type": "number" +}, +"state": { +"description": "Output only. What state this AttackExposure is in. This captures whether or not an attack exposure has been calculated or not.", +"enum": [ +"STATE_UNSPECIFIED", +"CALCULATED", +"NOT_CALCULATED" +], +"enumDescriptions": [ +"The state is not specified.", +"The attack exposure has been calculated.", +"The attack exposure has not been calculated." +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2AwsAccount": { +"description": "An AWS account that is a member of an organization.", +"id": "GoogleCloudSecuritycenterV2AwsAccount", +"properties": { +"id": { +"description": "The unique identifier (ID) of the account, containing exactly 12 digits.", +"type": "string" +}, +"name": { +"description": "The friendly name of this account.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2AwsMetadata": { +"description": "AWS metadata associated with the resource, only applicable if the finding's cloud provider is Amazon Web Services.", +"id": "GoogleCloudSecuritycenterV2AwsMetadata", +"properties": { +"account": { +"$ref": "GoogleCloudSecuritycenterV2AwsAccount", +"description": "The AWS account associated with the resource." +}, +"organization": { +"$ref": "GoogleCloudSecuritycenterV2AwsOrganization", +"description": "The AWS organization associated with the resource." +}, +"organizationalUnits": { +"description": "A list of AWS organizational units associated with the resource, ordered from lowest level (closest to the account) to highest level.", +"items": { +"$ref": "GoogleCloudSecuritycenterV2AwsOrganizationalUnit" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2AwsOrganization": { +"description": "An organization is a collection of accounts that are centrally managed together using consolidated billing, organized hierarchically with organizational units (OUs), and controlled with policies.", +"id": "GoogleCloudSecuritycenterV2AwsOrganization", +"properties": { +"id": { +"description": "The unique identifier (ID) for the organization. The regex pattern for an organization ID string requires \"o-\" followed by from 10 to 32 lowercase letters or digits.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2AwsOrganizationalUnit": { +"description": "An Organizational Unit (OU) is a container of AWS accounts within a root of an organization. Policies that are attached to an OU apply to all accounts contained in that OU and in any child OUs.", +"id": "GoogleCloudSecuritycenterV2AwsOrganizationalUnit", +"properties": { +"id": { +"description": "The unique identifier (ID) associated with this OU. The regex pattern for an organizational unit ID string requires \"ou-\" followed by from 4 to 32 lowercase letters or digits (the ID of the root that contains the OU). This string is followed by a second \"-\" dash and from 8 to 32 additional lowercase letters or digits. For example, \"ou-ab12-cd34ef56\".", +"type": "string" +}, +"name": { +"description": "The friendly name of the OU.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2AzureManagementGroup": { +"description": "Represents an Azure management group.", +"id": "GoogleCloudSecuritycenterV2AzureManagementGroup", +"properties": { +"displayName": { +"description": "The display name of the Azure management group.", +"type": "string" +}, +"id": { +"description": "The UUID of the Azure management group, for example, `20000000-0001-0000-0000-000000000000`.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2AzureMetadata": { +"description": "Azure metadata associated with the resource, only applicable if the finding's cloud provider is Microsoft Azure.", +"id": "GoogleCloudSecuritycenterV2AzureMetadata", +"properties": { +"managementGroups": { +"description": "A list of Azure management groups associated with the resource, ordered from lowest level (closest to the subscription) to highest level.", +"items": { +"$ref": "GoogleCloudSecuritycenterV2AzureManagementGroup" +}, +"type": "array" +}, +"resourceGroup": { +"$ref": "GoogleCloudSecuritycenterV2AzureResourceGroup", +"description": "The Azure resource group associated with the resource." +}, +"subscription": { +"$ref": "GoogleCloudSecuritycenterV2AzureSubscription", +"description": "The Azure subscription associated with the resource." +}, +"tenant": { +"$ref": "GoogleCloudSecuritycenterV2AzureTenant", +"description": "The Azure Entra tenant associated with the resource." +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2AzureResourceGroup": { +"description": "Represents an Azure resource group.", +"id": "GoogleCloudSecuritycenterV2AzureResourceGroup", +"properties": { +"id": { +"description": "The ID of the Azure resource group.", +"type": "string" +}, +"name": { +"description": "The name of the Azure resource group. This is not a UUID.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2AzureSubscription": { +"description": "Represents an Azure subscription.", +"id": "GoogleCloudSecuritycenterV2AzureSubscription", +"properties": { +"displayName": { +"description": "The display name of the Azure subscription.", +"type": "string" +}, +"id": { +"description": "The UUID of the Azure subscription, for example, `291bba3f-e0a5-47bc-a099-3bdcb2a50a05`.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2AzureTenant": { +"description": "Represents a Microsoft Entra tenant.", +"id": "GoogleCloudSecuritycenterV2AzureTenant", +"properties": { +"displayName": { +"description": "The display name of the Azure tenant.", +"type": "string" +}, +"id": { +"description": "The ID of the Microsoft Entra tenant, for example, \"a11aaa11-aa11-1aa1-11aa-1aaa11a\".", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2BackupDisasterRecovery": { +"description": "Information related to Google Cloud Backup and DR Service findings.", +"id": "GoogleCloudSecuritycenterV2BackupDisasterRecovery", +"properties": { +"appliance": { +"description": "The name of the Backup and DR appliance that captures, moves, and manages the lifecycle of backup data. For example, `backup-server-57137`.", +"type": "string" +}, +"applications": { +"description": "The names of Backup and DR applications. An application is a VM, database, or file system on a managed host monitored by a backup and recovery appliance. For example, `centos7-01-vol00`, `centos7-01-vol01`, `centos7-01-vol02`.", +"items": { +"type": "string" +}, +"type": "array" +}, +"backupCreateTime": { +"description": "The timestamp at which the Backup and DR backup was created.", +"format": "google-datetime", +"type": "string" +}, +"backupTemplate": { +"description": "The name of a Backup and DR template which comprises one or more backup policies. See the [Backup and DR documentation](https://cloud.google.com/backup-disaster-recovery/docs/concepts/backup-plan#temp) for more information. For example, `snap-ov`.", +"type": "string" +}, +"backupType": { +"description": "The backup type of the Backup and DR image. For example, `Snapshot`, `Remote Snapshot`, `OnVault`.", +"type": "string" +}, +"host": { +"description": "The name of a Backup and DR host, which is managed by the backup and recovery appliance and known to the management console. The host can be of type Generic (for example, Compute Engine, SQL Server, Oracle DB, SMB file system, etc.), vCenter, or an ESX server. See the [Backup and DR documentation on hosts](https://cloud.google.com/backup-disaster-recovery/docs/configuration/manage-hosts-and-their-applications) for more information. For example, `centos7-01`.", +"type": "string" +}, +"policies": { +"description": "The names of Backup and DR policies that are associated with a template and that define when to run a backup, how frequently to run a backup, and how long to retain the backup image. For example, `onvaults`.", +"items": { +"type": "string" +}, +"type": "array" +}, +"policyOptions": { +"description": "The names of Backup and DR advanced policy options of a policy applying to an application. See the [Backup and DR documentation on policy options](https://cloud.google.com/backup-disaster-recovery/docs/create-plan/policy-settings). For example, `skipofflineappsincongrp, nounmap`.", +"items": { +"type": "string" +}, +"type": "array" +}, +"profile": { +"description": "The name of the Backup and DR resource profile that specifies the storage media for backups of application and VM data. See the [Backup and DR documentation on profiles](https://cloud.google.com/backup-disaster-recovery/docs/concepts/backup-plan#profile). For example, `GCP`.", +"type": "string" +}, +"storagePool": { +"description": "The name of the Backup and DR storage pool that the backup and recovery appliance is storing data in. The storage pool could be of type Cloud, Primary, Snapshot, or OnVault. See the [Backup and DR documentation on storage pools](https://cloud.google.com/backup-disaster-recovery/docs/concepts/storage-pools). For example, `DiskPoolOne`.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2BigQueryExport": { +"description": "Configures how to deliver Findings to BigQuery Instance.", +"id": "GoogleCloudSecuritycenterV2BigQueryExport", +"properties": { +"createTime": { +"description": "Output only. The time at which the BigQuery export was created. This field is set by the server and will be ignored if provided on export on creation.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"cryptoKeyName": { +"description": "Output only. The resource name of the Cloud KMS `CryptoKey` used to protect this configuration's data, if configured during Security Command Center activation.", +"readOnly": true, +"type": "string" +}, +"dataset": { +"description": "The dataset to write findings' updates to. Its format is \"projects/[project_id]/datasets/[bigquery_dataset_id]\". BigQuery dataset unique ID must contain only letters (a-z, A-Z), numbers (0-9), or underscores (_).", +"type": "string" +}, +"description": { +"description": "The description of the export (max of 1024 characters).", +"type": "string" +}, +"filter": { +"description": "Expression that defines the filter to apply across create/update events of findings. The expression is a list of zero or more restrictions combined via logical operators `AND` and `OR`. Parentheses are supported, and `OR` has higher precedence than `AND`. Restrictions have the form ` ` and may have a `-` character in front of them to indicate negation. The fields map to those defined in the corresponding resource. The supported operators are: * `=` for all value types. * `>`, `<`, `>=`, `<=` for integer values. * `:`, meaning substring matching, for strings. The supported value types are: * string literals in quotes. * integer literals without quotes. * boolean literals `true` and `false` without quotes.", +"type": "string" +}, +"mostRecentEditor": { +"description": "Output only. Email address of the user who last edited the BigQuery export. This field is set by the server and will be ignored if provided on export creation or update.", +"readOnly": true, +"type": "string" +}, +"name": { +"description": "Identifier. The relative resource name of this export. See: https://cloud.google.com/apis/design/resource_names#relative_resource_name. The following list shows some examples: + `organizations/{organization_id}/locations/{location_id}/bigQueryExports/{export_id}` + `folders/{folder_id}/locations/{location_id}/bigQueryExports/{export_id}` + `projects/{project_id}/locations/{location_id}/bigQueryExports/{export_id}` This field is provided in responses, and is ignored when provided in create requests.", +"type": "string" +}, +"principal": { +"description": "Output only. The service account that needs permission to create table and upload data to the BigQuery dataset.", +"readOnly": true, +"type": "string" +}, +"updateTime": { +"description": "Output only. The most recent time at which the BigQuery export was updated. This field is set by the server and will be ignored if provided on export creation or update.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2Binding": { +"description": "Represents a Kubernetes RoleBinding or ClusterRoleBinding.", +"id": "GoogleCloudSecuritycenterV2Binding", +"properties": { +"name": { +"description": "Name for the binding.", +"type": "string" +}, +"ns": { +"description": "Namespace for the binding.", +"type": "string" +}, +"role": { +"$ref": "GoogleCloudSecuritycenterV2Role", +"description": "The Role or ClusterRole referenced by the binding." +}, +"subjects": { +"description": "Represents one or more subjects that are bound to the role. Not always available for PATCH requests.", +"items": { +"$ref": "GoogleCloudSecuritycenterV2Subject" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2BulkMuteFindingsResponse": { +"description": "The response to a BulkMute request. Contains the LRO information.", +"id": "GoogleCloudSecuritycenterV2BulkMuteFindingsResponse", +"properties": {}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2Chokepoint": { +"description": "Contains details about a chokepoint, which is a resource or resource group where high-risk attack paths converge, based on [attack path simulations] (https://cloud.google.com/security-command-center/docs/attack-exposure-learn#attack_path_simulations).", +"id": "GoogleCloudSecuritycenterV2Chokepoint", +"properties": { +"relatedFindings": { +"description": "List of resource names of findings associated with this chokepoint. For example, organizations/123/sources/456/findings/789. This list will have at most 100 findings.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2CloudArmor": { +"description": "Fields related to Google Cloud Armor findings.", +"id": "GoogleCloudSecuritycenterV2CloudArmor", +"properties": { +"adaptiveProtection": { +"$ref": "GoogleCloudSecuritycenterV2AdaptiveProtection", +"description": "Information about potential Layer 7 DDoS attacks identified by [Google Cloud Armor Adaptive Protection](https://cloud.google.com/armor/docs/adaptive-protection-overview)." +}, +"attack": { +"$ref": "GoogleCloudSecuritycenterV2Attack", +"description": "Information about DDoS attack volume and classification." +}, +"duration": { +"description": "Duration of attack from the start until the current moment (updated every 5 minutes).", +"format": "google-duration", +"type": "string" +}, +"requests": { +"$ref": "GoogleCloudSecuritycenterV2Requests", +"description": "Information about incoming requests evaluated by [Google Cloud Armor security policies](https://cloud.google.com/armor/docs/security-policy-overview)." +}, +"securityPolicy": { +"$ref": "GoogleCloudSecuritycenterV2SecurityPolicy", +"description": "Information about the [Google Cloud Armor security policy](https://cloud.google.com/armor/docs/security-policy-overview) relevant to the finding." +}, +"threatVector": { +"description": "Distinguish between volumetric & protocol DDoS attack and application layer attacks. For example, \"L3_4\" for Layer 3 and Layer 4 DDoS attacks, or \"L_7\" for Layer 7 DDoS attacks.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2CloudControl": { +"description": "CloudControl associated with the finding.", +"id": "GoogleCloudSecuritycenterV2CloudControl", +"properties": { +"cloudControlName": { +"description": "Name of the CloudControl associated with the finding.", +"type": "string" +}, +"policyType": { +"description": "Policy type of the CloudControl", +"type": "string" +}, +"type": { +"description": "Type of cloud control.", +"enum": [ +"CLOUD_CONTROL_TYPE_UNSPECIFIED", +"BUILT_IN", +"CUSTOM" +], +"enumDescriptions": [ +"Unspecified.", +"Built in Cloud Control.", +"Custom Cloud Control." +], +"type": "string" +}, +"version": { +"description": "Version of the Cloud Control", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2CloudDlpDataProfile": { +"description": "The [data profile](https://cloud.google.com/dlp/docs/data-profiles) associated with the finding.", +"id": "GoogleCloudSecuritycenterV2CloudDlpDataProfile", +"properties": { +"dataProfile": { +"description": "Name of the data profile, for example, `projects/123/locations/europe/tableProfiles/8383929`.", +"type": "string" +}, +"infoTypes": { +"description": "Type of information detected by SDP. Info type includes name, version and sensitivity of the detected information type.", +"items": { +"$ref": "GoogleCloudSecuritycenterV2InfoType" +}, +"type": "array" +}, +"parentType": { +"description": "The resource hierarchy level at which the data profile was generated.", +"enum": [ +"PARENT_TYPE_UNSPECIFIED", +"ORGANIZATION", +"PROJECT" +], +"enumDescriptions": [ +"Unspecified parent type.", +"Organization-level configurations.", +"Project-level configurations." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2CloudDlpInspection": { +"description": "Details about the Cloud Data Loss Prevention (Cloud DLP) [inspection job](https://cloud.google.com/dlp/docs/concepts-job-triggers) that produced the finding.", +"id": "GoogleCloudSecuritycenterV2CloudDlpInspection", +"properties": { +"fullScan": { +"description": "Whether Cloud DLP scanned the complete resource or a sampled subset.", +"type": "boolean" +}, +"infoType": { +"description": "The type of information (or *[infoType](https://cloud.google.com/dlp/docs/infotypes-reference)*) found, for example, `EMAIL_ADDRESS` or `STREET_ADDRESS`.", +"type": "string" +}, +"infoTypeCount": { +"description": "The number of times Cloud DLP found this infoType within this job and resource.", +"format": "int64", +"type": "string" +}, +"inspectJob": { +"description": "Name of the inspection job, for example, `projects/123/locations/europe/dlpJobs/i-8383929`.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2CloudLoggingEntry": { +"description": "Metadata taken from a [Cloud Logging LogEntry](https://cloud.google.com/logging/docs/reference/v2/rest/v2/LogEntry)", +"id": "GoogleCloudSecuritycenterV2CloudLoggingEntry", +"properties": { +"insertId": { +"description": "A unique identifier for the log entry.", +"type": "string" +}, +"logId": { +"description": "The type of the log (part of `log_name`. `log_name` is the resource name of the log to which this log entry belongs). For example: `cloudresourcemanager.googleapis.com/activity` Note that this field is not URL-encoded, unlike in `LogEntry`.", +"type": "string" +}, +"resourceContainer": { +"description": "The organization, folder, or project of the monitored resource that produced this log entry.", +"type": "string" +}, +"timestamp": { +"description": "The time the event described by the log entry occurred.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2Compliance": { +"description": "Contains compliance information about a security standard indicating unmet recommendations.", +"id": "GoogleCloudSecuritycenterV2Compliance", +"properties": { +"ids": { +"description": "Policies within the standard or benchmark, for example, A.12.4.1", +"items": { +"type": "string" +}, +"type": "array" +}, +"standard": { +"description": "Industry-wide compliance standards or benchmarks, such as CIS, PCI, and OWASP.", +"type": "string" +}, +"version": { +"description": "Version of the standard or benchmark, for example, 1.1", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2ComplianceDetails": { +"description": "Compliance Details associated with the finding.", +"id": "GoogleCloudSecuritycenterV2ComplianceDetails", +"properties": { +"cloudControl": { +"$ref": "GoogleCloudSecuritycenterV2CloudControl", +"description": "CloudControl associated with the finding" +}, +"cloudControlDeploymentNames": { +"description": "Cloud Control Deployments associated with the finding. For example, organizations/123/locations/global/cloudControlDeployments/deploymentIdentifier", +"items": { +"type": "string" +}, +"type": "array" +}, +"frameworks": { +"description": "Details of Frameworks associated with the finding", +"items": { +"$ref": "GoogleCloudSecuritycenterV2Framework" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2Connection": { +"description": "Contains information about the IP connection associated with the finding.", +"id": "GoogleCloudSecuritycenterV2Connection", +"properties": { +"destinationIp": { +"description": "Destination IP address. Not present for sockets that are listening and not connected.", +"type": "string" +}, +"destinationPort": { +"description": "Destination port. Not present for sockets that are listening and not connected.", +"format": "int32", +"type": "integer" +}, +"protocol": { +"description": "IANA Internet Protocol Number such as TCP(6) and UDP(17).", +"enum": [ +"PROTOCOL_UNSPECIFIED", +"ICMP", +"TCP", +"UDP", +"GRE", +"ESP" +], +"enumDescriptions": [ +"Unspecified protocol (not HOPOPT).", +"Internet Control Message Protocol.", +"Transmission Control Protocol.", +"User Datagram Protocol.", +"Generic Routing Encapsulation.", +"Encap Security Payload." +], +"type": "string" +}, +"sourceIp": { +"description": "Source IP address.", +"type": "string" +}, +"sourcePort": { +"description": "Source port.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2Contact": { +"description": "The email address of a contact.", +"id": "GoogleCloudSecuritycenterV2Contact", +"properties": { +"email": { +"description": "An email address. For example, \"`person123@company.com`\".", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2ContactDetails": { +"description": "Details about specific contacts", +"id": "GoogleCloudSecuritycenterV2ContactDetails", +"properties": { +"contacts": { +"description": "A list of contacts", +"items": { +"$ref": "GoogleCloudSecuritycenterV2Contact" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2Container": { +"description": "Container associated with the finding.", +"id": "GoogleCloudSecuritycenterV2Container", +"properties": { +"createTime": { +"description": "The time that the container was created.", +"format": "google-datetime", +"type": "string" +}, +"imageId": { +"description": "Optional container image ID, if provided by the container runtime. Uniquely identifies the container image launched using a container image digest.", +"type": "string" +}, +"labels": { +"description": "Container labels, as provided by the container runtime.", +"items": { +"$ref": "GoogleCloudSecuritycenterV2Label" +}, +"type": "array" +}, +"name": { +"description": "Name of the container.", +"type": "string" +}, +"uri": { +"description": "Container image URI provided when configuring a pod or container. This string can identify a container image version using mutable tags.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2Control": { +"description": "Compliance control associated with the finding.", +"id": "GoogleCloudSecuritycenterV2Control", +"properties": { +"controlName": { +"description": "Name of the Control", +"type": "string" +}, +"displayName": { +"description": "Display name of the control. For example, AU-02.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2Cve": { +"description": "CVE stands for Common Vulnerabilities and Exposures. Information from the [CVE record](https://www.cve.org/ResourcesSupport/Glossary) that describes this vulnerability.", +"id": "GoogleCloudSecuritycenterV2Cve", +"properties": { +"cvssv3": { +"$ref": "GoogleCloudSecuritycenterV2Cvssv3", +"description": "Describe Common Vulnerability Scoring System specified at https://www.first.org/cvss/v3.1/specification-document" +}, +"exploitReleaseDate": { +"description": "Date the first publicly available exploit or PoC was released.", +"format": "google-datetime", +"type": "string" +}, +"exploitationActivity": { +"description": "The exploitation activity of the vulnerability in the wild.", +"enum": [ +"EXPLOITATION_ACTIVITY_UNSPECIFIED", +"WIDE", +"CONFIRMED", +"AVAILABLE", +"ANTICIPATED", +"NO_KNOWN" +], +"enumDescriptions": [ +"Invalid or empty value.", +"Exploitation has been reported or confirmed to widely occur.", +"Limited reported or confirmed exploitation activities.", +"Exploit is publicly available.", +"No known exploitation activity, but has a high potential for exploitation.", +"No known exploitation activity." +], +"type": "string" +}, +"firstExploitationDate": { +"description": "Date of the earliest known exploitation.", +"format": "google-datetime", +"type": "string" +}, +"id": { +"description": "The unique identifier for the vulnerability. e.g. CVE-2021-34527", +"type": "string" +}, +"impact": { +"description": "The potential impact of the vulnerability if it was to be exploited.", +"enum": [ +"RISK_RATING_UNSPECIFIED", +"LOW", +"MEDIUM", +"HIGH", +"CRITICAL" +], +"enumDescriptions": [ +"Invalid or empty value.", +"Exploitation would have little to no security impact.", +"Exploitation would enable attackers to perform activities, or could allow attackers to have a direct impact, but would require additional steps.", +"Exploitation would enable attackers to have a notable direct impact without needing to overcome any major mitigating factors.", +"Exploitation would fundamentally undermine the security of affected systems, enable actors to perform significant attacks with minimal effort, with little to no mitigating factors to overcome." +], +"type": "string" +}, +"observedInTheWild": { +"description": "Whether or not the vulnerability has been observed in the wild.", +"type": "boolean" +}, +"references": { +"description": "Additional information about the CVE. e.g. https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-34527", +"items": { +"$ref": "GoogleCloudSecuritycenterV2Reference" +}, +"type": "array" +}, +"upstreamFixAvailable": { +"description": "Whether upstream fix is available for the CVE.", +"type": "boolean" +}, +"zeroDay": { +"description": "Whether or not the vulnerability was zero day when the finding was published.", +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2Cvssv3": { +"description": "Common Vulnerability Scoring System version 3.", +"id": "GoogleCloudSecuritycenterV2Cvssv3", +"properties": { +"attackComplexity": { +"description": "This metric describes the conditions beyond the attacker's control that must exist in order to exploit the vulnerability.", +"enum": [ +"ATTACK_COMPLEXITY_UNSPECIFIED", +"ATTACK_COMPLEXITY_LOW", +"ATTACK_COMPLEXITY_HIGH" +], +"enumDescriptions": [ +"Invalid value.", +"Specialized access conditions or extenuating circumstances do not exist. An attacker can expect repeatable success when attacking the vulnerable component.", +"A successful attack depends on conditions beyond the attacker's control. That is, a successful attack cannot be accomplished at will, but requires the attacker to invest in some measurable amount of effort in preparation or execution against the vulnerable component before a successful attack can be expected." +], +"type": "string" +}, +"attackVector": { +"description": "Base Metrics Represents the intrinsic characteristics of a vulnerability that are constant over time and across user environments. This metric reflects the context by which vulnerability exploitation is possible.", +"enum": [ +"ATTACK_VECTOR_UNSPECIFIED", +"ATTACK_VECTOR_NETWORK", +"ATTACK_VECTOR_ADJACENT", +"ATTACK_VECTOR_LOCAL", +"ATTACK_VECTOR_PHYSICAL" +], +"enumDescriptions": [ +"Invalid value.", +"The vulnerable component is bound to the network stack and the set of possible attackers extends beyond the other options listed below, up to and including the entire Internet.", +"The vulnerable component is bound to the network stack, but the attack is limited at the protocol level to a logically adjacent topology.", +"The vulnerable component is not bound to the network stack and the attacker's path is via read/write/execute capabilities.", +"The attack requires the attacker to physically touch or manipulate the vulnerable component." +], +"type": "string" +}, +"availabilityImpact": { +"description": "This metric measures the impact to the availability of the impacted component resulting from a successfully exploited vulnerability.", +"enum": [ +"IMPACT_UNSPECIFIED", +"IMPACT_HIGH", +"IMPACT_LOW", +"IMPACT_NONE" +], +"enumDescriptions": [ +"Invalid value.", +"High impact.", +"Low impact.", +"No impact." +], +"type": "string" +}, +"baseScore": { +"description": "The base score is a function of the base metric scores.", +"format": "double", +"type": "number" +}, +"confidentialityImpact": { +"description": "This metric measures the impact to the confidentiality of the information resources managed by a software component due to a successfully exploited vulnerability.", +"enum": [ +"IMPACT_UNSPECIFIED", +"IMPACT_HIGH", +"IMPACT_LOW", +"IMPACT_NONE" +], +"enumDescriptions": [ +"Invalid value.", +"High impact.", +"Low impact.", +"No impact." +], +"type": "string" +}, +"integrityImpact": { +"description": "This metric measures the impact to integrity of a successfully exploited vulnerability.", +"enum": [ +"IMPACT_UNSPECIFIED", +"IMPACT_HIGH", +"IMPACT_LOW", +"IMPACT_NONE" +], +"enumDescriptions": [ +"Invalid value.", +"High impact.", +"Low impact.", +"No impact." +], +"type": "string" +}, +"privilegesRequired": { +"description": "This metric describes the level of privileges an attacker must possess before successfully exploiting the vulnerability.", +"enum": [ +"PRIVILEGES_REQUIRED_UNSPECIFIED", +"PRIVILEGES_REQUIRED_NONE", +"PRIVILEGES_REQUIRED_LOW", +"PRIVILEGES_REQUIRED_HIGH" +], +"enumDescriptions": [ +"Invalid value.", +"The attacker is unauthorized prior to attack, and therefore does not require any access to settings or files of the vulnerable system to carry out an attack.", +"The attacker requires privileges that provide basic user capabilities that could normally affect only settings and files owned by a user. Alternatively, an attacker with Low privileges has the ability to access only non-sensitive resources.", +"The attacker requires privileges that provide significant (e.g., administrative) control over the vulnerable component allowing access to component-wide settings and files." +], +"type": "string" +}, +"scope": { +"description": "The Scope metric captures whether a vulnerability in one vulnerable component impacts resources in components beyond its security scope.", +"enum": [ +"SCOPE_UNSPECIFIED", +"SCOPE_UNCHANGED", +"SCOPE_CHANGED" +], +"enumDescriptions": [ +"Invalid value.", +"An exploited vulnerability can only affect resources managed by the same security authority.", +"An exploited vulnerability can affect resources beyond the security scope managed by the security authority of the vulnerable component." +], +"type": "string" +}, +"userInteraction": { +"description": "This metric captures the requirement for a human user, other than the attacker, to participate in the successful compromise of the vulnerable component.", +"enum": [ +"USER_INTERACTION_UNSPECIFIED", +"USER_INTERACTION_NONE", +"USER_INTERACTION_REQUIRED" +], +"enumDescriptions": [ +"Invalid value.", +"The vulnerable system can be exploited without interaction from any user.", +"Successful exploitation of this vulnerability requires a user to take some action before the vulnerability can be exploited." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2Cwe": { +"description": "CWE stands for Common Weakness Enumeration. Information about this weakness, as described by [CWE](https://cwe.mitre.org/).", +"id": "GoogleCloudSecuritycenterV2Cwe", +"properties": { +"id": { +"description": "The CWE identifier, e.g. CWE-94", +"type": "string" +}, +"references": { +"description": "Any reference to the details on the CWE, for example, https://cwe.mitre.org/data/definitions/94.html", +"items": { +"$ref": "GoogleCloudSecuritycenterV2Reference" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2DataAccessEvent": { +"description": "Details about a data access attempt made by a principal not authorized under applicable data security policy.", +"id": "GoogleCloudSecuritycenterV2DataAccessEvent", +"properties": { +"eventId": { +"description": "Unique identifier for data access event.", +"type": "string" +}, +"eventTime": { +"description": "Timestamp of data access event.", +"format": "google-datetime", +"type": "string" +}, +"operation": { +"description": "The operation performed by the principal to access the data.", +"enum": [ +"OPERATION_UNSPECIFIED", +"READ", +"MOVE", +"COPY" +], +"enumDescriptions": [ +"The operation is unspecified.", +"Represents a read operation.", +"Represents a move operation.", +"Represents a copy operation." +], +"type": "string" +}, +"principalEmail": { +"description": "The email address of the principal that accessed the data. The principal could be a user account, service account, Google group, or other.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2DataFlowEvent": { +"description": "Details about a data flow event, in which either the data is moved to or is accessed from a non-compliant geo-location, as defined in the applicable data security policy.", +"id": "GoogleCloudSecuritycenterV2DataFlowEvent", +"properties": { +"eventId": { +"description": "Unique identifier for data flow event.", +"type": "string" +}, +"eventTime": { +"description": "Timestamp of data flow event.", +"format": "google-datetime", +"type": "string" +}, +"operation": { +"description": "The operation performed by the principal for the data flow event.", +"enum": [ +"OPERATION_UNSPECIFIED", +"READ", +"MOVE", +"COPY" +], +"enumDescriptions": [ +"The operation is unspecified.", +"Represents a read operation.", +"Represents a move operation.", +"Represents a copy operation." +], +"type": "string" +}, +"principalEmail": { +"description": "The email address of the principal that initiated the data flow event. The principal could be a user account, service account, Google group, or other.", +"type": "string" +}, +"violatedLocation": { +"description": "Non-compliant location of the principal or the data destination.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2DataRetentionDeletionEvent": { +"description": "Details about data retention deletion violations, in which the data is non-compliant based on their retention or deletion time, as defined in the applicable data security policy. The Data Retention Deletion (DRD) control is a control of the DSPM (Data Security Posture Management) suite that enables organizations to manage data retention and deletion policies in compliance with regulations, such as GDPR and CRPA. DRD supports two primary policy types: maximum storage length (max TTL) and minimum storage length (min TTL). Both are aimed at helping organizations meet regulatory and data management commitments.", +"id": "GoogleCloudSecuritycenterV2DataRetentionDeletionEvent", +"properties": { +"dataObjectCount": { +"description": "Number of objects that violated the policy for this resource. If the number is less than 1,000, then the value of this field is the exact number. If the number of objects that violated the policy is greater than or equal to 1,000, then the value of this field is 1000.", +"format": "int64", +"type": "string" +}, +"eventDetectionTime": { +"description": "Timestamp indicating when the event was detected.", +"format": "google-datetime", +"type": "string" +}, +"eventType": { +"description": "Type of the DRD event.", +"enum": [ +"EVENT_TYPE_UNSPECIFIED", +"EVENT_TYPE_MAX_TTL_EXCEEDED", +"EVENT_TYPE_MAX_TTL_FROM_CREATION", +"EVENT_TYPE_MAX_TTL_FROM_LAST_MODIFICATION", +"EVENT_TYPE_MIN_TTL_FROM_CREATION" +], +"enumDeprecated": [ +false, +true, +false, +false, +false +], +"enumDescriptions": [ +"Unspecified event type.", +"Deprecated: This field is pending removal. Use EVENT_TYPE_MAX_TTL_FROM_CREATION or EVENT_TYPE_MAX_TTL_FROM_LAST_MODIFICATION instead.", +"Max TTL from the asset's creation time.", +"Max TTL from the asset's last modification time.", +"Min TTL from the asset's creation time." +], +"type": "string" +}, +"maxRetentionAllowed": { +"description": "Maximum duration of retention allowed from the DRD control. This comes from the DRD control where users set a max TTL for their data. For example, suppose that a user sets the max TTL for a Cloud Storage bucket to 90 days. However, an object in that bucket is 100 days old. In this case, a DataRetentionDeletionEvent will be generated for that Cloud Storage bucket, and the max_retention_allowed is 90 days.", +"format": "google-duration", +"type": "string" +}, +"minRetentionAllowed": { +"description": "Min duration of retention allowed from the DSPM retention control. This field is only populated when event type is set to EVENT_TYPE_MIN_TTL_FROM_CREATION.", +"format": "google-duration", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2Database": { +"description": "Represents database access information, such as queries. A database may be a sub-resource of an instance (as in the case of Cloud SQL instances or Cloud Spanner instances), or the database instance itself. Some database resources might not have the [full resource name](https://google.aip.dev/122#full-resource-names) populated because these resource types, such as Cloud SQL databases, are not yet supported by Cloud Asset Inventory. In these cases only the display name is provided.", +"id": "GoogleCloudSecuritycenterV2Database", +"properties": { +"displayName": { +"description": "The human-readable name of the database that the user connected to.", +"type": "string" +}, +"grantees": { +"description": "The target usernames, roles, or groups of an SQL privilege grant, which is not an IAM policy change.", +"items": { +"type": "string" +}, +"type": "array" +}, +"name": { +"description": "Some database resources may not have the [full resource name](https://google.aip.dev/122#full-resource-names) populated because these resource types are not yet supported by Cloud Asset Inventory (e.g. Cloud SQL databases). In these cases only the display name will be provided. The [full resource name](https://google.aip.dev/122#full-resource-names) of the database that the user connected to, if it is supported by Cloud Asset Inventory.", +"type": "string" +}, +"query": { +"description": "The SQL statement that is associated with the database access.", +"type": "string" +}, +"userName": { +"description": "The username used to connect to the database. The username might not be an IAM principal and does not have a set format.", +"type": "string" +}, +"version": { +"description": "The version of the database, for example, POSTGRES_14. See [the complete list](https://cloud.google.com/sql/docs/mysql/admin-api/rest/v1/SqlDatabaseVersion).", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2Dataset": { +"description": "Vertex AI dataset associated with the finding.", +"id": "GoogleCloudSecuritycenterV2Dataset", +"properties": { +"displayName": { +"description": "The user defined display name of dataset, e.g. plants-dataset", +"type": "string" +}, +"name": { +"description": "Resource name of the dataset, e.g. projects/{project}/locations/{location}/datasets/2094040236064505856", +"type": "string" +}, +"source": { +"description": "Data source, such as a BigQuery source URI, e.g. bq://scc-nexus-test.AIPPtest.gsod", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2Denied": { +"description": "Denied IP rule.", +"id": "GoogleCloudSecuritycenterV2Denied", +"properties": { +"ipRules": { +"description": "Optional. Optional list of denied IP rules.", +"items": { +"$ref": "GoogleCloudSecuritycenterV2IpRule" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2Detection": { +"description": "Memory hash detection contributing to the binary family match.", +"id": "GoogleCloudSecuritycenterV2Detection", +"properties": { +"binary": { +"description": "The name of the binary associated with the memory hash signature detection.", +"type": "string" +}, +"percentPagesMatched": { +"description": "The percentage of memory page hashes in the signature that were matched.", +"format": "double", +"type": "number" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2Disk": { +"description": "Contains information about the disk associated with the finding.", +"id": "GoogleCloudSecuritycenterV2Disk", +"properties": { +"name": { +"description": "The name of the disk, for example, \"https://www.googleapis.com/compute/v1/projects/{project-id}/zones/{zone-id}/disks/{disk-id}\".", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2DiskPath": { +"description": "Path of the file in terms of underlying disk/partition identifiers.", +"id": "GoogleCloudSecuritycenterV2DiskPath", +"properties": { +"partitionUuid": { +"description": "UUID of the partition (format https://wiki.archlinux.org/title/persistent_block_device_naming#by-uuid)", +"type": "string" +}, +"relativePath": { +"description": "Relative path of the file in the partition as a JSON encoded string. Example: /home/user1/executable_file.sh", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2DynamicMuteRecord": { +"description": "The record of a dynamic mute rule that matches the finding.", +"id": "GoogleCloudSecuritycenterV2DynamicMuteRecord", +"properties": { +"matchTime": { +"description": "When the dynamic mute rule first matched the finding.", +"format": "google-datetime", +"type": "string" +}, +"muteConfig": { +"description": "The relative resource name of the mute rule, represented by a mute config, that created this record, for example `organizations/123/muteConfigs/mymuteconfig` or `organizations/123/locations/global/muteConfigs/mymuteconfig`.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2EnvironmentVariable": { +"description": "A name-value pair representing an environment variable used in an operating system process.", +"id": "GoogleCloudSecuritycenterV2EnvironmentVariable", +"properties": { +"name": { +"description": "Environment variable name as a JSON encoded string.", +"type": "string" +}, +"val": { +"description": "Environment variable value as a JSON encoded string.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2ExfilResource": { +"description": "Resource where data was exfiltrated from or exfiltrated to.", +"id": "GoogleCloudSecuritycenterV2ExfilResource", +"properties": { +"components": { +"description": "Subcomponents of the asset that was exfiltrated, like URIs used during exfiltration, table names, databases, and filenames. For example, multiple tables might have been exfiltrated from the same Cloud SQL instance, or multiple files might have been exfiltrated from the same Cloud Storage bucket.", +"items": { +"type": "string" +}, +"type": "array" +}, +"name": { +"description": "The resource's [full resource name](https://cloud.google.com/apis/design/resource_names#full_resource_name).", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2Exfiltration": { +"description": "Exfiltration represents a data exfiltration attempt from one or more sources to one or more targets. The `sources` attribute lists the sources of the exfiltrated data. The `targets` attribute lists the destinations the data was copied to.", +"id": "GoogleCloudSecuritycenterV2Exfiltration", +"properties": { +"sources": { +"description": "If there are multiple sources, then the data is considered \"joined\" between them. For instance, BigQuery can join multiple tables, and each table would be considered a source.", +"items": { +"$ref": "GoogleCloudSecuritycenterV2ExfilResource" +}, +"type": "array" +}, +"targets": { +"description": "If there are multiple targets, each target would get a complete copy of the \"joined\" source data.", +"items": { +"$ref": "GoogleCloudSecuritycenterV2ExfilResource" +}, +"type": "array" +}, +"totalExfiltratedBytes": { +"description": "Total exfiltrated bytes processed for the entire job.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2ExternalExposure": { +"description": "Details about the externally exposed resource associated with the finding.", +"id": "GoogleCloudSecuritycenterV2ExternalExposure", +"properties": { +"backendService": { +"description": "The full resource name of load balancer backend service, for example, \"//compute.googleapis.com/projects/{project-id}/global/backendServices/{name}\".", +"type": "string" +}, +"exposedEndpoint": { +"description": "The resource which is running the exposed service, for example, \"//compute.googleapis.com/projects/{project-id}/zones/{zone}/instances/{instance}.\u201d", +"type": "string" +}, +"exposedService": { +"description": "The name and version of the service, for example, \"Jupyter Notebook 6.14.0\".", +"type": "string" +}, +"forwardingRule": { +"description": "The full resource name of the forwarding rule, for example, \"//compute.googleapis.com/projects/{project-id}/global/forwardingRules/{forwarding-rule-name}\".", +"type": "string" +}, +"instanceGroup": { +"description": "The full resource name of the instance group, for example, \"//compute.googleapis.com/projects/{project-id}/global/instanceGroups/{name}\".", +"type": "string" +}, +"loadBalancerFirewallPolicy": { +"description": "The full resource name of the load balancer firewall policy, for example, \"//compute.googleapis.com/projects/{project-id}/global/firewallPolicies/{policy-name}\".", +"type": "string" +}, +"networkEndpointGroup": { +"description": "The full resource name of the network endpoint group, for example, \"//compute.googleapis.com/projects/{project-id}/global/networkEndpointGroups/{name}\".", +"type": "string" +}, +"privateIpAddress": { +"description": "Private IP address of the exposed endpoint.", +"type": "string" +}, +"privatePort": { +"description": "Port number associated with private IP address.", +"type": "string" +}, +"publicIpAddress": { +"description": "Public IP address of the exposed endpoint.", +"type": "string" +}, +"publicPort": { +"description": "Public port number of the exposed endpoint.", +"type": "string" +}, +"serviceFirewallPolicy": { +"description": "The full resource name of the firewall policy of the exposed service, for example, \"//compute.googleapis.com/projects/{project-id}/global/firewallPolicies/{policy-name}\".", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2ExternalSystem": { +"description": "Representation of third party SIEM/SOAR fields within SCC.", +"id": "GoogleCloudSecuritycenterV2ExternalSystem", +"properties": { +"assignees": { +"description": "References primary/secondary etc assignees in the external system.", +"items": { +"type": "string" +}, +"type": "array" +}, +"caseCloseTime": { +"description": "The time when the case was closed, as reported by the external system.", +"format": "google-datetime", +"type": "string" +}, +"caseCreateTime": { +"description": "The time when the case was created, as reported by the external system.", +"format": "google-datetime", +"type": "string" +}, +"casePriority": { +"description": "The priority of the finding's corresponding case in the external system.", +"type": "string" +}, +"caseSla": { +"description": "The SLA of the finding's corresponding case in the external system.", +"format": "google-datetime", +"type": "string" +}, +"caseUri": { +"description": "The link to the finding's corresponding case in the external system.", +"type": "string" +}, +"externalSystemUpdateTime": { +"description": "The time when the case was last updated, as reported by the external system.", +"format": "google-datetime", +"type": "string" +}, +"externalUid": { +"description": "The identifier that's used to track the finding's corresponding case in the external system.", +"type": "string" +}, +"name": { +"description": "Full resource name of the external system. The following list shows some examples: + `organizations/1234/sources/5678/findings/123456/externalSystems/jira` + `organizations/1234/sources/5678/locations/us/findings/123456/externalSystems/jira` + `folders/1234/sources/5678/findings/123456/externalSystems/jira` + `folders/1234/sources/5678/locations/us/findings/123456/externalSystems/jira` + `projects/1234/sources/5678/findings/123456/externalSystems/jira` + `projects/1234/sources/5678/locations/us/findings/123456/externalSystems/jira`", +"type": "string" +}, +"status": { +"description": "The most recent status of the finding's corresponding case, as reported by the external system.", +"type": "string" +}, +"ticketInfo": { +"$ref": "GoogleCloudSecuritycenterV2TicketInfo", +"description": "Information about the ticket, if any, that is being used to track the resolution of the issue that is identified by this finding." +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2File": { +"description": "File information about the related binary/library used by an executable, or the script used by a script interpreter", +"id": "GoogleCloudSecuritycenterV2File", +"properties": { +"contents": { +"description": "Prefix of the file contents as a JSON-encoded string.", +"type": "string" +}, +"diskPath": { +"$ref": "GoogleCloudSecuritycenterV2DiskPath", +"description": "Path of the file in terms of underlying disk/partition identifiers." +}, +"fileLoadState": { +"description": "The load state of the file.", +"enum": [ +"FILE_LOAD_STATE_UNSPECIFIED", +"LOADED_BY_PROCESS", +"NOT_LOADED_BY_PROCESS" +], +"enumDescriptions": [ +"The file state is unspecified.", +"The file is being used by an active process at the time of scanning.", +"The file is not being used by any active process at the time of scanning." +], +"type": "string" +}, +"hashedSize": { +"description": "The length in bytes of the file prefix that was hashed. If hashed_size == size, any hashes reported represent the entire file.", +"format": "int64", +"type": "string" +}, +"operations": { +"description": "Operation(s) performed on a file.", +"items": { +"$ref": "GoogleCloudSecuritycenterV2FileOperation" +}, +"type": "array" +}, +"partiallyHashed": { +"description": "True when the hash covers only a prefix of the file.", +"type": "boolean" +}, +"path": { +"description": "Absolute path of the file as a JSON encoded string.", +"type": "string" +}, +"sha256": { +"description": "SHA256 hash of the first hashed_size bytes of the file encoded as a hex string. If hashed_size == size, sha256 represents the SHA256 hash of the entire file.", +"type": "string" +}, +"size": { +"description": "Size of the file in bytes.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2FileOperation": { +"description": "Operation(s) performed on a file.", +"id": "GoogleCloudSecuritycenterV2FileOperation", +"properties": { +"type": { +"description": "The type of the operation", +"enum": [ +"OPERATION_TYPE_UNSPECIFIED", +"OPEN", +"READ", +"RENAME", +"WRITE", +"EXECUTE" +], +"enumDescriptions": [ +"The operation is unspecified.", +"Represents an open operation.", +"Represents a read operation.", +"Represents a rename operation.", +"Represents a write operation.", +"Represents an execute operation." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2Finding": { +"description": "Security Command Center finding. A finding is a record of assessment data like security, risk, health, or privacy, that is ingested into Security Command Center for presentation, notification, analysis, policy testing, and enforcement. For example, a cross-site scripting (XSS) vulnerability in an App Engine application is a finding.", +"id": "GoogleCloudSecuritycenterV2Finding", +"properties": { +"access": { +"$ref": "GoogleCloudSecuritycenterV2Access", +"description": "Access details associated with the finding, such as more information on the caller, which method was accessed, and from where." +}, +"affectedResources": { +"$ref": "GoogleCloudSecuritycenterV2AffectedResources", +"description": "AffectedResources associated with the finding." +}, +"aiModel": { +"$ref": "GoogleCloudSecuritycenterV2AiModel", +"description": "The AI model associated with the finding." +}, +"application": { +"$ref": "GoogleCloudSecuritycenterV2Application", +"description": "Represents an application associated with the finding." +}, +"artifactGuardPolicies": { +"$ref": "GoogleCloudSecuritycenterV2ArtifactGuardPolicies", +"description": "ArtifactGuardPolicies associated with the finding." +}, +"attackExposure": { +"$ref": "GoogleCloudSecuritycenterV2AttackExposure", +"description": "The results of an attack path simulation relevant to this finding." +}, +"backupDisasterRecovery": { +"$ref": "GoogleCloudSecuritycenterV2BackupDisasterRecovery", +"description": "Fields related to Backup and DR findings." +}, +"canonicalName": { +"description": "Output only. The canonical name of the finding. The following list shows some examples: + `organizations/{organization_id}/sources/{source_id}/locations/{location_id}/findings/{finding_id}` + `folders/{folder_id}/sources/{source_id}/locations/{location_id}/findings/{finding_id}` + `projects/{project_id}/sources/{source_id}/locations/{location_id}/findings/{finding_id}` The prefix is the closest CRM ancestor of the resource associated with the finding.", +"readOnly": true, +"type": "string" +}, +"category": { +"description": "Immutable. The additional taxonomy group within findings from a given source. Example: \"XSS_FLASH_INJECTION\"", +"type": "string" +}, +"chokepoint": { +"$ref": "GoogleCloudSecuritycenterV2Chokepoint", +"description": "Contains details about a chokepoint, which is a resource or resource group where high-risk attack paths converge, based on [attack path simulations] (https://cloud.google.com/security-command-center/docs/attack-exposure-learn#attack_path_simulations). This field cannot be updated. Its value is ignored in all update requests." +}, +"cloudArmor": { +"$ref": "GoogleCloudSecuritycenterV2CloudArmor", +"description": "Fields related to Cloud Armor findings." +}, +"cloudDlpDataProfile": { +"$ref": "GoogleCloudSecuritycenterV2CloudDlpDataProfile", +"description": "Cloud DLP data profile that is associated with the finding." +}, +"cloudDlpInspection": { +"$ref": "GoogleCloudSecuritycenterV2CloudDlpInspection", +"description": "Cloud Data Loss Prevention (Cloud DLP) inspection results that are associated with the finding." +}, +"complianceDetails": { +"$ref": "GoogleCloudSecuritycenterV2ComplianceDetails", +"description": "Details about the compliance implications of the finding." +}, +"compliances": { +"description": "Contains compliance information for security standards associated to the finding.", +"items": { +"$ref": "GoogleCloudSecuritycenterV2Compliance" +}, +"type": "array" +}, +"connections": { +"description": "Contains information about the IP connection associated with the finding.", +"items": { +"$ref": "GoogleCloudSecuritycenterV2Connection" +}, +"type": "array" +}, +"contacts": { +"additionalProperties": { +"$ref": "GoogleCloudSecuritycenterV2ContactDetails" +}, +"description": "Output only. Map containing the points of contact for the given finding. The key represents the type of contact, while the value contains a list of all the contacts that pertain. Please refer to: https://cloud.google.com/resource-manager/docs/managing-notification-contacts#notification-categories { \"security\": { \"contacts\": [ { \"email\": \"person1@company.com\" }, { \"email\": \"person2@company.com\" } ] } }", +"readOnly": true, +"type": "object" +}, +"containers": { +"description": "Containers associated with the finding. This field provides information for both Kubernetes and non-Kubernetes containers.", +"items": { +"$ref": "GoogleCloudSecuritycenterV2Container" +}, +"type": "array" +}, +"createTime": { +"description": "Output only. The time at which the finding was created in Security Command Center.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"cryptoKeyName": { +"description": "Output only. The name of the Cloud KMS key used to encrypt this finding, if any.", +"readOnly": true, +"type": "string" +}, +"dataAccessEvents": { +"description": "Data access events associated with the finding.", +"items": { +"$ref": "GoogleCloudSecuritycenterV2DataAccessEvent" +}, +"type": "array" +}, +"dataFlowEvents": { +"description": "Data flow events associated with the finding.", +"items": { +"$ref": "GoogleCloudSecuritycenterV2DataFlowEvent" +}, +"type": "array" +}, +"dataRetentionDeletionEvents": { +"description": "Data retention deletion events associated with the finding.", +"items": { +"$ref": "GoogleCloudSecuritycenterV2DataRetentionDeletionEvent" +}, +"type": "array" +}, +"database": { +"$ref": "GoogleCloudSecuritycenterV2Database", +"description": "Database associated with the finding." +}, +"description": { +"description": "Contains more details about the finding.", +"type": "string" +}, +"disk": { +"$ref": "GoogleCloudSecuritycenterV2Disk", +"description": "Disk associated with the finding." +}, +"eventTime": { +"description": "The time the finding was first detected. If an existing finding is updated, then this is the time the update occurred. For example, if the finding represents an open firewall, this property captures the time the detector believes the firewall became open. The accuracy is determined by the detector. If the finding is later resolved, then this time reflects when the finding was resolved. This must not be set to a value greater than the current timestamp.", +"format": "google-datetime", +"type": "string" +}, +"exfiltration": { +"$ref": "GoogleCloudSecuritycenterV2Exfiltration", +"description": "Represents exfiltrations associated with the finding." +}, +"externalExposure": { +"$ref": "GoogleCloudSecuritycenterV2ExternalExposure", +"description": "External exposure associated with the finding." +}, +"externalSystems": { +"additionalProperties": { +"$ref": "GoogleCloudSecuritycenterV2ExternalSystem" +}, +"description": "Output only. Third party SIEM/SOAR fields within SCC, contains external system information and external system finding fields.", +"readOnly": true, +"type": "object" +}, +"externalUri": { +"description": "The URI that, if available, points to a web page outside of Security Command Center where additional information about the finding can be found. This field is guaranteed to be either empty or a well formed URL.", +"type": "string" +}, +"files": { +"description": "File associated with the finding.", +"items": { +"$ref": "GoogleCloudSecuritycenterV2File" +}, +"type": "array" +}, +"findingClass": { +"description": "The class of the finding.", +"enum": [ +"FINDING_CLASS_UNSPECIFIED", +"THREAT", +"VULNERABILITY", +"MISCONFIGURATION", +"OBSERVATION", +"SCC_ERROR", +"POSTURE_VIOLATION", +"TOXIC_COMBINATION", +"SENSITIVE_DATA_RISK", +"CHOKEPOINT", +"EXTERNAL_EXPOSURE" +], +"enumDescriptions": [ +"Unspecified finding class.", +"Describes unwanted or malicious activity.", +"Describes a potential weakness in software that increases risk to Confidentiality & Integrity & Availability.", +"Describes a potential weakness in cloud resource/asset configuration that increases risk.", +"Describes a security observation that is for informational purposes.", +"Describes an error that prevents some SCC functionality.", +"Describes a potential security risk due to a change in the security posture.", +"Describes a combination of security issues that represent a more severe security problem when taken together.", +"Describes a potential security risk to data assets that contain sensitive data.", +"Describes a resource or resource group where high risk attack paths converge, based on attack path simulations (APS).", +"Describes a potential security risk due to the resource being exposed to the internet." +], +"type": "string" +}, +"groupMemberships": { +"description": "Contains details about groups of which this finding is a member. A group is a collection of findings that are related in some way. This field cannot be updated. Its value is ignored in all update requests.", +"items": { +"$ref": "GoogleCloudSecuritycenterV2GroupMembership" +}, +"type": "array" +}, +"iamBindings": { +"description": "Represents IAM bindings associated with the finding.", +"items": { +"$ref": "GoogleCloudSecuritycenterV2IamBinding" +}, +"type": "array" +}, +"indicator": { +"$ref": "GoogleCloudSecuritycenterV2Indicator", +"description": "Represents what's commonly known as an *indicator of compromise* (IoC) in computer forensics. This is an artifact observed on a network or in an operating system that, with high confidence, indicates a computer intrusion. For more information, see [Indicator of compromise](https://en.wikipedia.org/wiki/Indicator_of_compromise)." +}, +"ipRules": { +"$ref": "GoogleCloudSecuritycenterV2IpRules", +"description": "IP rules associated with the finding." +}, +"job": { +"$ref": "GoogleCloudSecuritycenterV2Job", +"description": "Job associated with the finding." +}, +"kernelRootkit": { +"$ref": "GoogleCloudSecuritycenterV2KernelRootkit", +"description": "Signature of the kernel rootkit." +}, +"kubernetes": { +"$ref": "GoogleCloudSecuritycenterV2Kubernetes", +"description": "Kubernetes resources associated with the finding." +}, +"loadBalancers": { +"description": "The load balancers associated with the finding.", +"items": { +"$ref": "GoogleCloudSecuritycenterV2LoadBalancer" +}, +"type": "array" +}, +"logEntries": { +"description": "Log entries that are relevant to the finding.", +"items": { +"$ref": "GoogleCloudSecuritycenterV2LogEntry" +}, +"type": "array" +}, +"mitreAttack": { +"$ref": "GoogleCloudSecuritycenterV2MitreAttack", +"description": "MITRE ATT&CK tactics and techniques related to this finding. See: https://attack.mitre.org" +}, +"moduleName": { +"description": "Unique identifier of the module which generated the finding. Example: folders/598186756061/securityHealthAnalyticsSettings/customModules/56799441161885", +"type": "string" +}, +"mute": { +"description": "Indicates the mute state of a finding (either muted, unmuted or undefined). Unlike other attributes of a finding, a finding provider shouldn't set the value of mute.", +"enum": [ +"MUTE_UNSPECIFIED", +"MUTED", +"UNMUTED", +"UNDEFINED" +], +"enumDescriptions": [ +"Unspecified.", +"Finding has been muted.", +"Finding has been unmuted.", +"Finding has never been muted/unmuted." +], +"type": "string" +}, +"muteInfo": { +"$ref": "GoogleCloudSecuritycenterV2MuteInfo", +"description": "Output only. The mute information regarding this finding.", +"readOnly": true +}, +"muteInitiator": { +"description": "Records additional information about the mute operation, for example, the [mute configuration](https://cloud.google.com/security-command-center/docs/how-to-mute-findings) that muted the finding and the user who muted the finding.", +"type": "string" +}, +"muteUpdateTime": { +"description": "Output only. The most recent time this finding was muted or unmuted.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"name": { +"description": "Identifier. The [relative resource name](https://cloud.google.com/apis/design/resource_names#relative_resource_name) of the finding. The following list shows some examples: + `organizations/{organization_id}/sources/{source_id}/findings/{finding_id}` + `organizations/{organization_id}/sources/{source_id}/locations/{location_id}/findings/{finding_id}` + `folders/{folder_id}/sources/{source_id}/findings/{finding_id}` + `folders/{folder_id}/sources/{source_id}/locations/{location_id}/findings/{finding_id}` + `projects/{project_id}/sources/{source_id}/findings/{finding_id}` + `projects/{project_id}/sources/{source_id}/locations/{location_id}/findings/{finding_id}`", +"type": "string" +}, +"networks": { +"description": "Represents the VPC networks that the resource is attached to.", +"items": { +"$ref": "GoogleCloudSecuritycenterV2Network" +}, +"type": "array" +}, +"nextSteps": { +"description": "Steps to address the finding.", +"type": "string" +}, +"notebook": { +"$ref": "GoogleCloudSecuritycenterV2Notebook", +"description": "Notebook associated with the finding." +}, +"orgPolicies": { +"description": "Contains information about the org policies associated with the finding.", +"items": { +"$ref": "GoogleCloudSecuritycenterV2OrgPolicy" +}, +"type": "array" +}, +"parent": { +"description": "The relative resource name of the source and location the finding belongs to. See: https://cloud.google.com/apis/design/resource_names#relative_resource_name This field is immutable after creation time. The following list shows some examples: + `organizations/{organization_id}/sources/{source_id}` + `folders/{folders_id}/sources/{source_id}` + `projects/{projects_id}/sources/{source_id}` + `organizations/{organization_id}/sources/{source_id}/locations/{location_id}` + `folders/{folders_id}/sources/{source_id}/locations/{location_id}` + `projects/{projects_id}/sources/{source_id}/locations/{location_id}`", +"type": "string" +}, +"parentDisplayName": { +"description": "Output only. The human readable display name of the finding source such as \"Event Threat Detection\" or \"Security Health Analytics\".", +"readOnly": true, +"type": "string" +}, +"processes": { +"description": "Represents operating system processes associated with the Finding.", +"items": { +"$ref": "GoogleCloudSecuritycenterV2Process" +}, +"type": "array" +}, +"resourceName": { +"description": "Immutable. For findings on Google Cloud resources, the full resource name of the Google Cloud resource this finding is for. See: https://cloud.google.com/apis/design/resource_names#full_resource_name When the finding is for a non-Google Cloud resource, the resourceName can be a customer or partner defined string.", +"type": "string" +}, +"secret": { +"$ref": "GoogleCloudSecuritycenterV2Secret", +"description": "Secret associated with the finding." +}, +"securityMarks": { +"$ref": "GoogleCloudSecuritycenterV2SecurityMarks", +"description": "Output only. User specified security marks. These marks are entirely managed by the user and come from the SecurityMarks resource that belongs to the finding.", +"readOnly": true +}, +"securityPosture": { +"$ref": "GoogleCloudSecuritycenterV2SecurityPosture", +"description": "The security posture associated with the finding." +}, +"severity": { +"description": "The severity of the finding. This field is managed by the source that writes the finding.", +"enum": [ +"SEVERITY_UNSPECIFIED", +"CRITICAL", +"HIGH", +"MEDIUM", +"LOW" +], +"enumDescriptions": [ +"This value is used for findings when a source doesn't write a severity value.", +"Vulnerability: A critical vulnerability is easily discoverable by an external actor, exploitable, and results in the direct ability to execute arbitrary code, exfiltrate data, and otherwise gain additional access and privileges to cloud resources and workloads. Examples include publicly accessible unprotected user data and public SSH access with weak or no passwords. Threat: Indicates a threat that is able to access, modify, or delete data or execute unauthorized code within existing resources.", +"Vulnerability: A high risk vulnerability can be easily discovered and exploited in combination with other vulnerabilities in order to gain direct access and the ability to execute arbitrary code, exfiltrate data, and otherwise gain additional access and privileges to cloud resources and workloads. An example is a database with weak or no passwords that is only accessible internally. This database could easily be compromised by an actor that had access to the internal network. Threat: Indicates a threat that is able to create new computational resources in an environment but not able to access data or execute code in existing resources.", +"Vulnerability: A medium risk vulnerability could be used by an actor to gain access to resources or privileges that enable them to eventually (through multiple steps or a complex exploit) gain access and the ability to execute arbitrary code or exfiltrate data. An example is a service account with access to more projects than it should have. If an actor gains access to the service account, they could potentially use that access to manipulate a project the service account was not intended to. Threat: Indicates a threat that is able to cause operational impact but may not access data or execute unauthorized code.", +"Vulnerability: A low risk vulnerability hampers a security organization's ability to detect vulnerabilities or active threats in their deployment, or prevents the root cause investigation of security issues. An example is monitoring and logs being disabled for resource configurations and access. Threat: Indicates a threat that has obtained minimal access to an environment but is not able to access data, execute code, or create resources." +], +"type": "string" +}, +"sourceProperties": { +"additionalProperties": { +"type": "any" +}, +"description": "Source specific properties. These properties are managed by the source that writes the finding. The key names in the source_properties map must be between 1 and 255 characters, and must start with a letter and contain alphanumeric characters or underscores only.", +"type": "object" +}, +"state": { +"description": "Output only. The state of the finding.", +"enum": [ +"STATE_UNSPECIFIED", +"ACTIVE", +"INACTIVE" +], +"enumDescriptions": [ +"Unspecified state.", +"The finding requires attention and has not been addressed yet.", +"The finding has been fixed, triaged as a non-issue or otherwise addressed and is no longer active." +], +"readOnly": true, +"type": "string" +}, +"toxicCombination": { +"$ref": "GoogleCloudSecuritycenterV2ToxicCombination", +"description": "Contains details about a group of security issues that, when the issues occur together, represent a greater risk than when the issues occur independently. A group of such issues is referred to as a toxic combination. This field cannot be updated. Its value is ignored in all update requests." +}, +"vertexAi": { +"$ref": "GoogleCloudSecuritycenterV2VertexAi", +"description": "VertexAi associated with the finding." +}, +"vulnerability": { +"$ref": "GoogleCloudSecuritycenterV2Vulnerability", +"description": "Represents vulnerability-specific fields like CVE and CVSS scores. CVE stands for Common Vulnerabilities and Exposures (https://cve.mitre.org/about/)" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2Folder": { +"description": "Message that contains the resource name and display name of a folder resource.", +"id": "GoogleCloudSecuritycenterV2Folder", +"properties": { +"resourceFolder": { +"description": "Full resource name of this folder. See: https://cloud.google.com/apis/design/resource_names#full_resource_name", +"type": "string" +}, +"resourceFolderDisplayName": { +"description": "The user defined display name for this folder.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2Framework": { +"description": "Compliance framework associated with the finding.", +"id": "GoogleCloudSecuritycenterV2Framework", +"properties": { +"category": { +"description": "Category of the framework associated with the finding. E.g. Security Benchmark, or Assured Workloads", +"items": { +"enum": [ +"FRAMEWORK_CATEGORY_UNSPECIFIED", +"SECURITY_BENCHMARKS", +"ASSURED_WORKLOADS", +"DATA_SECURITY", +"GOOGLE_BEST_PRACTICES", +"CUSTOM_FRAMEWORK" +], +"enumDescriptions": [ +"Default value. This value is unused.", +"Security Benchmarks framework", +"Assured Workloads framework", +"Data Security framework", +"Google Best Practices framework", +"A user-created framework" +], +"type": "string" +}, +"type": "array" +}, +"controls": { +"description": "The controls associated with the framework.", +"items": { +"$ref": "GoogleCloudSecuritycenterV2Control" +}, +"type": "array" +}, +"displayName": { +"description": "Display name of the framework. For a standard framework, this will look like e.g. PCI DSS 3.2.1, whereas for a custom framework it can be a user defined string like MyFramework", +"type": "string" +}, +"name": { +"description": "Name of the framework associated with the finding", +"type": "string" +}, +"type": { +"description": "Type of the framework associated with the finding, to specify whether the framework is built-in (pre-defined and immutable) or a custom framework defined by the customer (equivalent to security posture)", +"enum": [ +"FRAMEWORK_TYPE_UNSPECIFIED", +"FRAMEWORK_TYPE_BUILT_IN", +"FRAMEWORK_TYPE_CUSTOM" +], +"enumDescriptions": [ +"Default value. This value is unused.", +"The framework is a built-in framework if it is created and managed by GCP.", +"The framework is a custom framework if it is created and managed by the user." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2Geolocation": { +"description": "Represents a geographical location for a given access.", +"id": "GoogleCloudSecuritycenterV2Geolocation", +"properties": { +"regionCode": { +"description": "A CLDR.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2GroupMembership": { +"description": "Contains details about groups of which this finding is a member. A group is a collection of findings that are related in some way.", +"id": "GoogleCloudSecuritycenterV2GroupMembership", +"properties": { +"groupId": { +"description": "ID of the group.", +"type": "string" +}, +"groupType": { +"description": "Type of group.", +"enum": [ +"GROUP_TYPE_UNSPECIFIED", +"GROUP_TYPE_TOXIC_COMBINATION", +"GROUP_TYPE_CHOKEPOINT" +], +"enumDescriptions": [ +"Default value.", +"Group represents a toxic combination.", +"Group represents a chokepoint." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2IamBinding": { +"description": "Represents a particular IAM binding, which captures a member's role addition, removal, or state.", +"id": "GoogleCloudSecuritycenterV2IamBinding", +"properties": { +"action": { +"description": "The action that was performed on a Binding.", +"enum": [ +"ACTION_UNSPECIFIED", +"ADD", +"REMOVE" +], +"enumDescriptions": [ +"Unspecified.", +"Addition of a Binding.", +"Removal of a Binding." +], +"type": "string" +}, +"member": { +"description": "A single identity requesting access for a Cloud Platform resource, for example, \"foo@google.com\".", +"type": "string" +}, +"role": { +"description": "Role that is assigned to \"members\". For example, \"roles/viewer\", \"roles/editor\", or \"roles/owner\".", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2Indicator": { +"description": "Represents what's commonly known as an _indicator of compromise_ (IoC) in computer forensics. This is an artifact observed on a network or in an operating system that, with high confidence, indicates a computer intrusion. For more information, see [Indicator of compromise](https://en.wikipedia.org/wiki/Indicator_of_compromise).", +"id": "GoogleCloudSecuritycenterV2Indicator", +"properties": { +"domains": { +"description": "List of domains associated to the Finding.", +"items": { +"type": "string" +}, +"type": "array" +}, +"ipAddresses": { +"description": "The list of IP addresses that are associated with the finding.", +"items": { +"type": "string" +}, +"type": "array" +}, +"signatures": { +"description": "The list of matched signatures indicating that the given process is present in the environment.", +"items": { +"$ref": "GoogleCloudSecuritycenterV2ProcessSignature" +}, +"type": "array" +}, +"uris": { +"description": "The list of URIs associated to the Findings.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2InfoType": { +"description": "Type of information detected by the API.", +"id": "GoogleCloudSecuritycenterV2InfoType", +"properties": { +"name": { +"description": "Name of the information type. Either a name of your choosing when creating a CustomInfoType, or one of the names listed at https://cloud.google.com/sensitive-data-protection/docs/infotypes-reference when specifying a built-in type. When sending Cloud DLP results to Data Catalog, infoType names should conform to the pattern `[A-Za-z0-9$_-]{1,64}`.", +"type": "string" +}, +"sensitivityScore": { +"$ref": "GoogleCloudSecuritycenterV2SensitivityScore", +"description": "Optional custom sensitivity for this InfoType. This only applies to data profiling." +}, +"version": { +"description": "Optional version name for this InfoType.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2IpRule": { +"description": "IP rule information.", +"id": "GoogleCloudSecuritycenterV2IpRule", +"properties": { +"portRanges": { +"description": "Optional. An optional list of ports to which this rule applies. This field is only applicable for the UDP or (S)TCP protocols. Each entry must be either an integer or a range including a min and max port number.", +"items": { +"$ref": "GoogleCloudSecuritycenterV2PortRange" +}, +"type": "array" +}, +"protocol": { +"description": "The IP protocol this rule applies to. This value can either be one of the following well known protocol strings (TCP, UDP, ICMP, ESP, AH, IPIP, SCTP) or a string representation of the integer value.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2IpRules": { +"description": "IP rules associated with the finding.", +"id": "GoogleCloudSecuritycenterV2IpRules", +"properties": { +"allowed": { +"$ref": "GoogleCloudSecuritycenterV2Allowed", +"description": "Tuple with allowed rules." +}, +"denied": { +"$ref": "GoogleCloudSecuritycenterV2Denied", +"description": "Tuple with denied rules." +}, +"destinationIpRanges": { +"description": "If destination IP ranges are specified, the firewall rule applies only to traffic that has a destination IP address in these ranges. These ranges must be expressed in CIDR format. Only supports IPv4.", +"items": { +"type": "string" +}, +"type": "array" +}, +"direction": { +"description": "The direction that the rule is applicable to, one of ingress or egress.", +"enum": [ +"DIRECTION_UNSPECIFIED", +"INGRESS", +"EGRESS" +], +"enumDescriptions": [ +"Unspecified direction value.", +"Ingress direction value.", +"Egress direction value." +], +"type": "string" +}, +"exposedServices": { +"description": "Name of the network protocol service, such as FTP, that is exposed by the open port. Follows the naming convention available at: https://www.iana.org/assignments/service-names-port-numbers/service-names-port-numbers.xhtml.", +"items": { +"type": "string" +}, +"type": "array" +}, +"sourceIpRanges": { +"description": "If source IP ranges are specified, the firewall rule applies only to traffic that has a source IP address in these ranges. These ranges must be expressed in CIDR format. Only supports IPv4.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2Issue": { +"description": "Security Command Center Issue.", +"id": "GoogleCloudSecuritycenterV2Issue", +"properties": { +"createTime": { +"description": "Output only. The time the issue was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"description": { +"description": "The description of the issue in Markdown format.", +"type": "string" +}, +"detection": { +"description": "The finding category or rule name that generated the issue.", +"type": "string" +}, +"domains": { +"description": "The domains of the issue.", +"items": { +"$ref": "GoogleCloudSecuritycenterV2IssueDomain" +}, +"type": "array" +}, +"exposureScore": { +"description": "The exposure score of the issue.", +"format": "double", +"type": "number" +}, +"issueType": { +"description": "The type of the issue.", +"enum": [ +"ISSUE_TYPE_UNSPECIFIED", +"CHOKEPOINT", +"TOXIC_COMBINATION", +"INSIGHT" +], +"enumDescriptions": [ +"Unspecified issue type.", +"Chokepoint issue type.", +"Toxic combination issue type.", +"Insight issue type." +], +"type": "string" +}, +"lastObservationTime": { +"description": "The time the issue was last observed.", +"format": "google-datetime", +"type": "string" +}, +"mute": { +"$ref": "GoogleCloudSecuritycenterV2IssueMute", +"description": "The mute information of the issue." +}, +"name": { +"description": "Identifier. The name of the issue. Format: organizations/{organization}/locations/{location}/issues/{issue}", +"type": "string" +}, +"primaryResource": { +"$ref": "GoogleCloudSecuritycenterV2IssueResource", +"description": "The primary resource associated with the issue." +}, +"relatedFindings": { +"description": "The findings related to the issue.", +"items": { +"$ref": "GoogleCloudSecuritycenterV2IssueFinding" +}, +"type": "array" +}, +"remediations": { +"description": "Approaches to remediate the issue in Markdown format.", +"items": { +"type": "string" +}, +"type": "array" +}, +"secondaryResources": { +"description": "Additional resources associated with the issue.", +"items": { +"$ref": "GoogleCloudSecuritycenterV2IssueResource" +}, +"type": "array" +}, +"securityContexts": { +"description": "The security context of the issue.", +"items": { +"$ref": "GoogleCloudSecuritycenterV2IssueSecurityContext" +}, +"type": "array" +}, +"severity": { +"description": "The severity of the issue.", +"enum": [ +"SEVERITY_UNSPECIFIED", +"CRITICAL", +"HIGH", +"MEDIUM", +"LOW" +], +"enumDescriptions": [ +"Unspecified severity.", +"Critical severity.", +"High severity.", +"Medium severity.", +"Low severity." +], +"type": "string" +}, +"state": { +"description": "Output only. The state of the issue.", +"enum": [ +"STATE_UNSPECIFIED", +"ACTIVE", +"INACTIVE" +], +"enumDescriptions": [ +"Unspecified state.", +"Active state.", +"Inactive state." +], +"readOnly": true, +"type": "string" +}, +"updateTime": { +"description": "Output only. The time the issue was last updated.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2IssueDomain": { +"description": "The domains of an issue.", +"id": "GoogleCloudSecuritycenterV2IssueDomain", +"properties": { +"domainCategory": { +"description": "The domain category of the issue.", +"enum": [ +"DOMAIN_CATEGORY_UNSPECIFIED", +"AI", +"CODE", +"CONTAINER", +"DATA", +"IDENTITY_AND_ACCESS", +"VULNERABILITY", +"THREAT" +], +"enumDescriptions": [ +"Unspecified domain category.", +"Issues in the AI domain.", +"Issues in the code domain.", +"Issues in the container domain.", +"Issues in the data domain.", +"Issues in the identity and access domain.", +"Issues in the vulnerability domain.", +"Issues in the threat domain." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2IssueFinding": { +"description": "Finding related to an issue.", +"id": "GoogleCloudSecuritycenterV2IssueFinding", +"properties": { +"cve": { +"$ref": "GoogleCloudSecuritycenterV2IssueFindingCve", +"description": "The CVE of the finding." +}, +"name": { +"description": "The name of the finding.", +"type": "string" +}, +"securityBulletin": { +"$ref": "GoogleCloudSecuritycenterV2IssueFindingSecurityBulletin", +"description": "The security bulletin of the finding." +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2IssueFindingCve": { +"description": "The CVE of the finding.", +"id": "GoogleCloudSecuritycenterV2IssueFindingCve", +"properties": { +"name": { +"description": "The CVE name.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2IssueFindingSecurityBulletin": { +"description": "The security bulletin of the finding.", +"id": "GoogleCloudSecuritycenterV2IssueFindingSecurityBulletin", +"properties": { +"name": { +"description": "The security bulletin name.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2IssueMute": { +"description": "The mute information of the issue.", +"id": "GoogleCloudSecuritycenterV2IssueMute", +"properties": { +"muteInitiator": { +"description": "The email address of the user who last changed the mute state of the issue.", +"type": "string" +}, +"muteReason": { +"description": "The user-provided reason for muting the issue.", +"type": "string" +}, +"muteState": { +"description": "Output only. The mute state of the issue.", +"enum": [ +"MUTE_STATE_UNSPECIFIED", +"NOT_MUTED", +"MUTED" +], +"enumDescriptions": [ +"Unspecified mute state.", +"Not muted.", +"Muted." +], +"readOnly": true, +"type": "string" +}, +"muteUpdateTime": { +"description": "The time the issue was muted.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2IssueResource": { +"description": "A resource associated with the an issue.", +"id": "GoogleCloudSecuritycenterV2IssueResource", +"properties": { +"adcApplication": { +"$ref": "GoogleCloudSecuritycenterV2IssueResourceAdcApplication", +"description": "The ADC application associated with the finding." +}, +"adcApplicationTemplate": { +"$ref": "GoogleCloudSecuritycenterV2IssueResourceAdcApplicationTemplateRevision", +"description": "The ADC template associated with the finding." +}, +"adcSharedTemplate": { +"$ref": "GoogleCloudSecuritycenterV2IssueResourceAdcSharedTemplateRevision", +"description": "The ADC shared template associated with the finding." +}, +"application": { +"$ref": "GoogleCloudSecuritycenterV2IssueResourceApplication", +"description": "The AppHub application associated with the resource, if any. Only populated for the primary resource." +}, +"awsMetadata": { +"$ref": "GoogleCloudSecuritycenterV2IssueResourceAwsMetadata", +"description": "The AWS metadata of the resource associated with the issue. Only populated for AWS resources." +}, +"azureMetadata": { +"$ref": "GoogleCloudSecuritycenterV2IssueResourceAzureMetadata", +"description": "The Azure metadata of the resource associated with the issue. Only populated for Azure resources." +}, +"cloudProvider": { +"description": "The cloud provider of the resource associated with the issue.", +"enum": [ +"CLOUD_PROVIDER_UNSPECIFIED", +"GOOGLE_CLOUD", +"AMAZON_WEB_SERVICES", +"MICROSOFT_AZURE" +], +"enumDescriptions": [ +"Unspecified cloud provider.", +"Google Cloud.", +"Amazon Web Services.", +"Microsoft Azure." +], +"type": "string" +}, +"displayName": { +"description": "The resource-type specific display name of the resource associated with the issue.", +"type": "string" +}, +"googleCloudMetadata": { +"$ref": "GoogleCloudSecuritycenterV2IssueResourceGoogleCloudMetadata", +"description": "The Google Cloud metadata of the resource associated with the issue. Only populated for Google Cloud resources." +}, +"name": { +"description": "The full resource name of the resource associated with the issue.", +"type": "string" +}, +"type": { +"description": "The type of the resource associated with the issue.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2IssueResourceAdcApplication": { +"description": "Represents an ADC application associated with the finding.", +"id": "GoogleCloudSecuritycenterV2IssueResourceAdcApplication", +"properties": { +"attributes": { +"$ref": "GoogleCloudSecuritycenterV2IssueResourceApplicationAttributes", +"description": "Consumer provided attributes for the AppHub application." +}, +"name": { +"description": "The resource name of an ADC Application. Format: projects/{project}/locations/{location}/spaces/{space}/applications/{application}", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2IssueResourceAdcApplicationTemplateRevision": { +"description": "Represents an ADC template associated with the finding.", +"id": "GoogleCloudSecuritycenterV2IssueResourceAdcApplicationTemplateRevision", +"properties": { +"name": { +"description": "The resource name of an ADC Application Template Revision. Format: projects/{project}/locations/{location}/spaces/{space}/applicationTemplates/{application_template}/revisions/{revision}", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2IssueResourceAdcSharedTemplateRevision": { +"description": "Represents an ADC shared template associated with the finding.", +"id": "GoogleCloudSecuritycenterV2IssueResourceAdcSharedTemplateRevision", +"properties": { +"name": { +"description": "The resource name of an ADC Shared Template Revision. Format: projects/{project}/locations/{location}/spaces/{space}/applicationTemplates/{application_template}/revisions/{revision}", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2IssueResourceApplication": { +"description": "The AppHub application associated with the resource, if any.", +"id": "GoogleCloudSecuritycenterV2IssueResourceApplication", +"properties": { +"attributes": { +"$ref": "GoogleCloudSecuritycenterV2IssueResourceApplicationAttributes", +"description": "Consumer provided attributes for the application" +}, +"name": { +"description": "The resource name of an Application. Format: `projects/{host-project-id}/locations/{location}/applications/{application-id}`", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2IssueResourceApplicationAttributes": { +"description": "Consumer provided attributes for the application", +"id": "GoogleCloudSecuritycenterV2IssueResourceApplicationAttributes", +"properties": { +"businessOwners": { +"description": "Business team that ensures user needs are met and value is delivered", +"items": { +"$ref": "GoogleCloudSecuritycenterV2IssueResourceApplicationAttributesContactInfo" +}, +"type": "array" +}, +"criticality": { +"$ref": "GoogleCloudSecuritycenterV2IssueResourceApplicationAttributesCriticality", +"description": "User-defined criticality information." +}, +"developerOwners": { +"description": "Developer team that owns development and coding.", +"items": { +"$ref": "GoogleCloudSecuritycenterV2IssueResourceApplicationAttributesContactInfo" +}, +"type": "array" +}, +"environment": { +"$ref": "GoogleCloudSecuritycenterV2IssueResourceApplicationAttributesEnvironment", +"description": "User-defined environment information." +}, +"operatorOwners": { +"description": "Operator team that ensures runtime and operations.", +"items": { +"$ref": "GoogleCloudSecuritycenterV2IssueResourceApplicationAttributesContactInfo" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2IssueResourceApplicationAttributesContactInfo": { +"description": "Contact information of stakeholders.", +"id": "GoogleCloudSecuritycenterV2IssueResourceApplicationAttributesContactInfo", +"properties": { +"email": { +"description": "Email address of the contacts.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2IssueResourceApplicationAttributesCriticality": { +"description": "Criticality of the Application, Service, or Workload", +"id": "GoogleCloudSecuritycenterV2IssueResourceApplicationAttributesCriticality", +"properties": { +"type": { +"description": "Criticality Type.", +"enum": [ +"CRITICALITY_TYPE_UNSPECIFIED", +"MISSION_CRITICAL", +"HIGH", +"MEDIUM", +"LOW" +], +"enumDescriptions": [ +"Unspecified type.", +"Mission critical service, application or workload.", +"High impact.", +"Medium impact.", +"Low impact." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2IssueResourceApplicationAttributesEnvironment": { +"description": "Environment of the Application, Service, or Workload", +"id": "GoogleCloudSecuritycenterV2IssueResourceApplicationAttributesEnvironment", +"properties": { +"type": { +"description": "Environment Type.", +"enum": [ +"ENVIRONMENT_TYPE_UNSPECIFIED", +"PRODUCTION", +"STAGING", +"TEST", +"DEVELOPMENT" +], +"enumDescriptions": [ +"Unspecified type.", +"Production environment.", +"Staging environment.", +"Test environment.", +"Development environment." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2IssueResourceAwsMetadata": { +"description": "The AWS metadata of a resource associated with an issue.", +"id": "GoogleCloudSecuritycenterV2IssueResourceAwsMetadata", +"properties": { +"account": { +"$ref": "GoogleCloudSecuritycenterV2IssueResourceAwsMetadataAwsAccount", +"description": "The AWS account of the resource associated with the issue." +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2IssueResourceAwsMetadataAwsAccount": { +"description": "The AWS account of the resource associated with the issue.", +"id": "GoogleCloudSecuritycenterV2IssueResourceAwsMetadataAwsAccount", +"properties": { +"id": { +"description": "The AWS account ID of the resource associated with the issue.", +"type": "string" +}, +"name": { +"description": "The AWS account name of the resource associated with the issue.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2IssueResourceAzureMetadata": { +"description": "The Azure metadata of a resource associated with an issue.", +"id": "GoogleCloudSecuritycenterV2IssueResourceAzureMetadata", +"properties": { +"subscription": { +"$ref": "GoogleCloudSecuritycenterV2IssueResourceAzureMetadataAzureSubscription", +"description": "The Azure subscription of the resource associated with the issue." +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2IssueResourceAzureMetadataAzureSubscription": { +"description": "The Azure subscription of the resource associated with the issue.", +"id": "GoogleCloudSecuritycenterV2IssueResourceAzureMetadataAzureSubscription", +"properties": { +"displayName": { +"description": "The Azure subscription display name of the resource associated with the issue.", +"type": "string" +}, +"id": { +"description": "The Azure subscription ID of the resource associated with the issue.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2IssueResourceGoogleCloudMetadata": { +"description": "Google Cloud metadata of a resource associated with an issue.", +"id": "GoogleCloudSecuritycenterV2IssueResourceGoogleCloudMetadata", +"properties": { +"projectId": { +"description": "The project ID that the resource associated with the issue belongs to.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2IssueSecurityContext": { +"description": "Security context associated with an issue.", +"id": "GoogleCloudSecuritycenterV2IssueSecurityContext", +"properties": { +"aggregatedCount": { +"$ref": "GoogleCloudSecuritycenterV2IssueSecurityContextAggregatedCount", +"description": "The aggregated count of the security context." +}, +"context": { +"$ref": "GoogleCloudSecuritycenterV2IssueSecurityContextContext", +"description": "The context of the security context." +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2IssueSecurityContextAggregatedCount": { +"description": "Aggregated count of a security context.", +"id": "GoogleCloudSecuritycenterV2IssueSecurityContextAggregatedCount", +"properties": { +"key": { +"description": "Aggregation key.", +"type": "string" +}, +"value": { +"description": "Aggregation value.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2IssueSecurityContextContext": { +"description": "Context of a security context.", +"id": "GoogleCloudSecuritycenterV2IssueSecurityContextContext", +"properties": { +"type": { +"description": "Context type.", +"type": "string" +}, +"values": { +"description": "Context values.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2Job": { +"description": "Describes a job", +"id": "GoogleCloudSecuritycenterV2Job", +"properties": { +"errorCode": { +"description": "Optional. If the job did not complete successfully, this field describes why.", +"format": "int32", +"type": "integer" +}, +"location": { +"description": "Optional. Gives the location where the job ran, such as `US` or `europe-west1`", +"type": "string" +}, +"name": { +"description": "The fully-qualified name for a job. e.g. `projects//jobs/`", +"type": "string" +}, +"state": { +"description": "Output only. State of the job, such as `RUNNING` or `PENDING`.", +"enum": [ +"JOB_STATE_UNSPECIFIED", +"PENDING", +"RUNNING", +"SUCCEEDED", +"FAILED" +], +"enumDescriptions": [ +"Unspecified represents an unknown state and should not be used.", +"Job is scheduled and pending for run", +"Job in progress", +"Job has completed with success", +"Job has completed but with failure" +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2KernelRootkit": { +"description": "Kernel mode rootkit signatures.", +"id": "GoogleCloudSecuritycenterV2KernelRootkit", +"properties": { +"name": { +"description": "Rootkit name, when available.", +"type": "string" +}, +"unexpectedCodeModification": { +"description": "True if unexpected modifications of kernel code memory are present.", +"type": "boolean" +}, +"unexpectedFtraceHandler": { +"description": "True if `ftrace` points are present with callbacks pointing to regions that are not in the expected kernel or module code range.", +"type": "boolean" +}, +"unexpectedInterruptHandler": { +"description": "True if interrupt handlers that are are not in the expected kernel or module code regions are present.", +"type": "boolean" +}, +"unexpectedKernelCodePages": { +"description": "True if kernel code pages that are not in the expected kernel or module code regions are present.", +"type": "boolean" +}, +"unexpectedKprobeHandler": { +"description": "True if `kprobe` points are present with callbacks pointing to regions that are not in the expected kernel or module code range.", +"type": "boolean" +}, +"unexpectedProcessesInRunqueue": { +"description": "True if unexpected processes in the scheduler run queue are present. Such processes are in the run queue, but not in the process task list.", +"type": "boolean" +}, +"unexpectedReadOnlyDataModification": { +"description": "True if unexpected modifications of kernel read-only data memory are present.", +"type": "boolean" +}, +"unexpectedSystemCallHandler": { +"description": "True if system call handlers that are are not in the expected kernel or module code regions are present.", +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2Kubernetes": { +"description": "Kubernetes-related attributes.", +"id": "GoogleCloudSecuritycenterV2Kubernetes", +"properties": { +"accessReviews": { +"description": "Provides information on any Kubernetes access reviews (privilege checks) relevant to the finding.", +"items": { +"$ref": "GoogleCloudSecuritycenterV2AccessReview" +}, +"type": "array" +}, +"bindings": { +"description": "Provides Kubernetes role binding information for findings that involve [RoleBindings or ClusterRoleBindings](https://cloud.google.com/kubernetes-engine/docs/how-to/role-based-access-control).", +"items": { +"$ref": "GoogleCloudSecuritycenterV2Binding" +}, +"type": "array" +}, +"nodePools": { +"description": "GKE [node pools](https://cloud.google.com/kubernetes-engine/docs/concepts/node-pools) associated with the finding. This field contains node pool information for each node, when it is available.", +"items": { +"$ref": "GoogleCloudSecuritycenterV2NodePool" +}, +"type": "array" +}, +"nodes": { +"description": "Provides Kubernetes [node](https://cloud.google.com/kubernetes-engine/docs/concepts/cluster-architecture#nodes) information.", +"items": { +"$ref": "GoogleCloudSecuritycenterV2Node" +}, +"type": "array" +}, +"objects": { +"description": "Kubernetes objects related to the finding.", +"items": { +"$ref": "GoogleCloudSecuritycenterV2Object" +}, +"type": "array" +}, +"pods": { +"description": "Kubernetes [Pods](https://cloud.google.com/kubernetes-engine/docs/concepts/pod) associated with the finding. This field contains Pod records for each container that is owned by a Pod.", +"items": { +"$ref": "GoogleCloudSecuritycenterV2Pod" +}, +"type": "array" +}, +"roles": { +"description": "Provides Kubernetes role information for findings that involve [Roles or ClusterRoles](https://cloud.google.com/kubernetes-engine/docs/how-to/role-based-access-control).", +"items": { +"$ref": "GoogleCloudSecuritycenterV2Role" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2Label": { +"description": "Represents a generic name-value label. A label has separate name and value fields to support filtering with the `contains()` function. For more information, see [Filtering on array-type fields](https://cloud.google.com/security-command-center/docs/how-to-api-list-findings#array-contains-filtering).", +"id": "GoogleCloudSecuritycenterV2Label", +"properties": { +"name": { +"description": "Name of the label.", +"type": "string" +}, +"value": { +"description": "Value that corresponds to the label's name.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2LoadBalancer": { +"description": "Contains information related to the load balancer associated with the finding.", +"id": "GoogleCloudSecuritycenterV2LoadBalancer", +"properties": { +"name": { +"description": "The name of the load balancer associated with the finding.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2LogEntry": { +"description": "An individual entry in a log.", +"id": "GoogleCloudSecuritycenterV2LogEntry", +"properties": { +"cloudLoggingEntry": { +"$ref": "GoogleCloudSecuritycenterV2CloudLoggingEntry", +"description": "An individual entry in a log stored in Cloud Logging." +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2MemoryHashSignature": { +"description": "A signature corresponding to memory page hashes.", +"id": "GoogleCloudSecuritycenterV2MemoryHashSignature", +"properties": { +"binaryFamily": { +"description": "The binary family.", +"type": "string" +}, +"detections": { +"description": "The list of memory hash detections contributing to the binary family match.", +"items": { +"$ref": "GoogleCloudSecuritycenterV2Detection" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2MitreAttack": { +"description": "MITRE ATT&CK tactics and techniques related to this finding. See: https://attack.mitre.org", +"id": "GoogleCloudSecuritycenterV2MitreAttack", +"properties": { +"additionalTactics": { +"description": "Additional MITRE ATT&CK tactics related to this finding, if any.", +"items": { +"enum": [ +"TACTIC_UNSPECIFIED", +"RECONNAISSANCE", +"RESOURCE_DEVELOPMENT", +"INITIAL_ACCESS", +"EXECUTION", +"PERSISTENCE", +"PRIVILEGE_ESCALATION", +"DEFENSE_EVASION", +"CREDENTIAL_ACCESS", +"DISCOVERY", +"LATERAL_MOVEMENT", +"COLLECTION", +"COMMAND_AND_CONTROL", +"EXFILTRATION", +"IMPACT" +], +"enumDescriptions": [ +"Unspecified value.", +"TA0043", +"TA0042", +"TA0001", +"TA0002", +"TA0003", +"TA0004", +"TA0005", +"TA0006", +"TA0007", +"TA0008", +"TA0009", +"TA0011", +"TA0010", +"TA0040" +], +"type": "string" +}, +"type": "array" +}, +"additionalTechniques": { +"description": "Additional MITRE ATT&CK techniques related to this finding, if any, along with any of their respective parent techniques.", +"items": { +"enum": [ +"TECHNIQUE_UNSPECIFIED", +"DATA_OBFUSCATION", +"DATA_OBFUSCATION_STEGANOGRAPHY", +"OS_CREDENTIAL_DUMPING", +"OS_CREDENTIAL_DUMPING_PROC_FILESYSTEM", +"OS_CREDENTIAL_DUMPING_ETC_PASSWORD_AND_ETC_SHADOW", +"DATA_FROM_LOCAL_SYSTEM", +"AUTOMATED_EXFILTRATION", +"OBFUSCATED_FILES_OR_INFO", +"STEGANOGRAPHY", +"COMPILE_AFTER_DELIVERY", +"COMMAND_OBFUSCATION", +"SCHEDULED_TRANSFER", +"SYSTEM_OWNER_USER_DISCOVERY", +"MASQUERADING", +"MATCH_LEGITIMATE_NAME_OR_LOCATION", +"BOOT_OR_LOGON_INITIALIZATION_SCRIPTS", +"STARTUP_ITEMS", +"NETWORK_SERVICE_DISCOVERY", +"SCHEDULED_TASK_JOB", +"SCHEDULED_TASK_JOB_CRON", +"CONTAINER_ORCHESTRATION_JOB", +"PROCESS_INJECTION", +"INPUT_CAPTURE", +"INPUT_CAPTURE_KEYLOGGING", +"PROCESS_DISCOVERY", +"COMMAND_AND_SCRIPTING_INTERPRETER", +"UNIX_SHELL", +"PYTHON", +"EXPLOITATION_FOR_PRIVILEGE_ESCALATION", +"PERMISSION_GROUPS_DISCOVERY", +"CLOUD_GROUPS", +"INDICATOR_REMOVAL", +"INDICATOR_REMOVAL_CLEAR_LINUX_OR_MAC_SYSTEM_LOGS", +"INDICATOR_REMOVAL_CLEAR_COMMAND_HISTORY", +"INDICATOR_REMOVAL_FILE_DELETION", +"INDICATOR_REMOVAL_TIMESTOMP", +"INDICATOR_REMOVAL_CLEAR_MAILBOX_DATA", +"APPLICATION_LAYER_PROTOCOL", +"DNS", +"SOFTWARE_DEPLOYMENT_TOOLS", +"VALID_ACCOUNTS", +"DEFAULT_ACCOUNTS", +"LOCAL_ACCOUNTS", +"CLOUD_ACCOUNTS", +"FILE_AND_DIRECTORY_DISCOVERY", +"ACCOUNT_DISCOVERY_LOCAL_ACCOUNT", +"PROXY", +"EXTERNAL_PROXY", +"MULTI_HOP_PROXY", +"ACCOUNT_MANIPULATION", +"ADDITIONAL_CLOUD_CREDENTIALS", +"ADDITIONAL_CLOUD_ROLES", +"SSH_AUTHORIZED_KEYS", +"ADDITIONAL_CONTAINER_CLUSTER_ROLES", +"MULTI_STAGE_CHANNELS", +"INGRESS_TOOL_TRANSFER", +"NATIVE_API", +"BRUTE_FORCE", +"AUTOMATED_COLLECTION", +"SHARED_MODULES", +"DATA_ENCODING", +"STANDARD_ENCODING", +"ACCESS_TOKEN_MANIPULATION", +"TOKEN_IMPERSONATION_OR_THEFT", +"CREATE_ACCOUNT", +"LOCAL_ACCOUNT", +"DEOBFUSCATE_DECODE_FILES_OR_INFO", +"EXPLOIT_PUBLIC_FACING_APPLICATION", +"SUPPLY_CHAIN_COMPROMISE", +"COMPROMISE_SOFTWARE_DEPENDENCIES_AND_DEVELOPMENT_TOOLS", +"EXPLOITATION_FOR_CLIENT_EXECUTION", +"USER_EXECUTION", +"EXPLOITATION_FOR_CREDENTIAL_ACCESS", +"LINUX_AND_MAC_FILE_AND_DIRECTORY_PERMISSIONS_MODIFICATION", +"DOMAIN_POLICY_MODIFICATION", +"DATA_DESTRUCTION", +"DATA_ENCRYPTED_FOR_IMPACT", +"SERVICE_STOP", +"INHIBIT_SYSTEM_RECOVERY", +"FIRMWARE_CORRUPTION", +"RESOURCE_HIJACKING", +"NETWORK_DENIAL_OF_SERVICE", +"CLOUD_SERVICE_DISCOVERY", +"STEAL_APPLICATION_ACCESS_TOKEN", +"ACCOUNT_ACCESS_REMOVAL", +"TRANSFER_DATA_TO_CLOUD_ACCOUNT", +"STEAL_WEB_SESSION_COOKIE", +"CREATE_OR_MODIFY_SYSTEM_PROCESS", +"EVENT_TRIGGERED_EXECUTION", +"BOOT_OR_LOGON_AUTOSTART_EXECUTION", +"KERNEL_MODULES_AND_EXTENSIONS", +"SHORTCUT_MODIFICATION", +"ABUSE_ELEVATION_CONTROL_MECHANISM", +"ABUSE_ELEVATION_CONTROL_MECHANISM_SETUID_AND_SETGID", +"ABUSE_ELEVATION_CONTROL_MECHANISM_SUDO_AND_SUDO_CACHING", +"UNSECURED_CREDENTIALS", +"CREDENTIALS_IN_FILES", +"BASH_HISTORY", +"PRIVATE_KEYS", +"SUBVERT_TRUST_CONTROL", +"INSTALL_ROOT_CERTIFICATE", +"COMPROMISE_HOST_SOFTWARE_BINARY", +"CREDENTIALS_FROM_PASSWORD_STORES", +"MODIFY_AUTHENTICATION_PROCESS", +"PLUGGABLE_AUTHENTICATION_MODULES", +"MULTI_FACTOR_AUTHENTICATION", +"IMPAIR_DEFENSES", +"DISABLE_OR_MODIFY_TOOLS", +"INDICATOR_BLOCKING", +"DISABLE_OR_MODIFY_LINUX_AUDIT_SYSTEM", +"HIDE_ARTIFACTS", +"HIDDEN_FILES_AND_DIRECTORIES", +"HIDDEN_USERS", +"EXFILTRATION_OVER_WEB_SERVICE", +"EXFILTRATION_TO_CLOUD_STORAGE", +"DYNAMIC_RESOLUTION", +"LATERAL_TOOL_TRANSFER", +"HIJACK_EXECUTION_FLOW", +"HIJACK_EXECUTION_FLOW_DYNAMIC_LINKER_HIJACKING", +"MODIFY_CLOUD_COMPUTE_INFRASTRUCTURE", +"CREATE_SNAPSHOT", +"CLOUD_INFRASTRUCTURE_DISCOVERY", +"DEVELOP_CAPABILITIES", +"DEVELOP_CAPABILITIES_MALWARE", +"OBTAIN_CAPABILITIES", +"OBTAIN_CAPABILITIES_MALWARE", +"OBTAIN_CAPABILITIES_VULNERABILITIES", +"ACTIVE_SCANNING", +"SCANNING_IP_BLOCKS", +"STAGE_CAPABILITIES", +"UPLOAD_MALWARE", +"CONTAINER_ADMINISTRATION_COMMAND", +"DEPLOY_CONTAINER", +"ESCAPE_TO_HOST", +"CONTAINER_AND_RESOURCE_DISCOVERY", +"REFLECTIVE_CODE_LOADING", +"STEAL_OR_FORGE_AUTHENTICATION_CERTIFICATES", +"FINANCIAL_THEFT" +], +"enumDescriptions": [ +"Unspecified value.", +"T1001", +"T1001.002", +"T1003", +"T1003.007", +"T1003.008", +"T1005", +"T1020", +"T1027", +"T1027.003", +"T1027.004", +"T1027.010", +"T1029", +"T1033", +"T1036", +"T1036.005", +"T1037", +"T1037.005", +"T1046", +"T1053", +"T1053.003", +"T1053.007", +"T1055", +"T1056", +"T1056.001", +"T1057", +"T1059", +"T1059.004", +"T1059.006", +"T1068", +"T1069", +"T1069.003", +"T1070", +"T1070.002", +"T1070.003", +"T1070.004", +"T1070.006", +"T1070.008", +"T1071", +"T1071.004", +"T1072", +"T1078", +"T1078.001", +"T1078.003", +"T1078.004", +"T1083", +"T1087.001", +"T1090", +"T1090.002", +"T1090.003", +"T1098", +"T1098.001", +"T1098.003", +"T1098.004", +"T1098.006", +"T1104", +"T1105", +"T1106", +"T1110", +"T1119", +"T1129", +"T1132", +"T1132.001", +"T1134", +"T1134.001", +"T1136", +"T1136.001", +"T1140", +"T1190", +"T1195", +"T1195.001", +"T1203", +"T1204", +"T1212", +"T1222.002", +"T1484", +"T1485", +"T1486", +"T1489", +"T1490", +"T1495", +"T1496", +"T1498", +"T1526", +"T1528", +"T1531", +"T1537", +"T1539", +"T1543", +"T1546", +"T1547", +"T1547.006", +"T1547.009", +"T1548", +"T1548.001", +"T1548.003", +"T1552", +"T1552.001", +"T1552.003", +"T1552.004", +"T1553", +"T1553.004", +"T1554", +"T1555", +"T1556", +"T1556.003", +"T1556.006", +"T1562", +"T1562.001", +"T1562.006", +"T1562.012", +"T1564", +"T1564.001", +"T1564.002", +"T1567", +"T1567.002", +"T1568", +"T1570", +"T1574", +"T1574.006", +"T1578", +"T1578.001", +"T1580", +"T1587", +"T1587.001", +"T1588", +"T1588.001", +"T1588.006", +"T1595", +"T1595.001", +"T1608", +"T1608.001", +"T1609", +"T1610", +"T1611", +"T1613", +"T1620", +"T1649", +"T1657" +], +"type": "string" +}, +"type": "array" +}, +"primaryTactic": { +"description": "The MITRE ATT&CK tactic most closely represented by this finding, if any.", +"enum": [ +"TACTIC_UNSPECIFIED", +"RECONNAISSANCE", +"RESOURCE_DEVELOPMENT", +"INITIAL_ACCESS", +"EXECUTION", +"PERSISTENCE", +"PRIVILEGE_ESCALATION", +"DEFENSE_EVASION", +"CREDENTIAL_ACCESS", +"DISCOVERY", +"LATERAL_MOVEMENT", +"COLLECTION", +"COMMAND_AND_CONTROL", +"EXFILTRATION", +"IMPACT" +], +"enumDescriptions": [ +"Unspecified value.", +"TA0043", +"TA0042", +"TA0001", +"TA0002", +"TA0003", +"TA0004", +"TA0005", +"TA0006", +"TA0007", +"TA0008", +"TA0009", +"TA0011", +"TA0010", +"TA0040" +], +"type": "string" +}, +"primaryTechniques": { +"description": "The MITRE ATT&CK technique most closely represented by this finding, if any. primary_techniques is a repeated field because there are multiple levels of MITRE ATT&CK techniques. If the technique most closely represented by this finding is a sub-technique (e.g. `SCANNING_IP_BLOCKS`), both the sub-technique and its parent technique(s) will be listed (e.g. `SCANNING_IP_BLOCKS`, `ACTIVE_SCANNING`).", +"items": { +"enum": [ +"TECHNIQUE_UNSPECIFIED", +"DATA_OBFUSCATION", +"DATA_OBFUSCATION_STEGANOGRAPHY", +"OS_CREDENTIAL_DUMPING", +"OS_CREDENTIAL_DUMPING_PROC_FILESYSTEM", +"OS_CREDENTIAL_DUMPING_ETC_PASSWORD_AND_ETC_SHADOW", +"DATA_FROM_LOCAL_SYSTEM", +"AUTOMATED_EXFILTRATION", +"OBFUSCATED_FILES_OR_INFO", +"STEGANOGRAPHY", +"COMPILE_AFTER_DELIVERY", +"COMMAND_OBFUSCATION", +"SCHEDULED_TRANSFER", +"SYSTEM_OWNER_USER_DISCOVERY", +"MASQUERADING", +"MATCH_LEGITIMATE_NAME_OR_LOCATION", +"BOOT_OR_LOGON_INITIALIZATION_SCRIPTS", +"STARTUP_ITEMS", +"NETWORK_SERVICE_DISCOVERY", +"SCHEDULED_TASK_JOB", +"SCHEDULED_TASK_JOB_CRON", +"CONTAINER_ORCHESTRATION_JOB", +"PROCESS_INJECTION", +"INPUT_CAPTURE", +"INPUT_CAPTURE_KEYLOGGING", +"PROCESS_DISCOVERY", +"COMMAND_AND_SCRIPTING_INTERPRETER", +"UNIX_SHELL", +"PYTHON", +"EXPLOITATION_FOR_PRIVILEGE_ESCALATION", +"PERMISSION_GROUPS_DISCOVERY", +"CLOUD_GROUPS", +"INDICATOR_REMOVAL", +"INDICATOR_REMOVAL_CLEAR_LINUX_OR_MAC_SYSTEM_LOGS", +"INDICATOR_REMOVAL_CLEAR_COMMAND_HISTORY", +"INDICATOR_REMOVAL_FILE_DELETION", +"INDICATOR_REMOVAL_TIMESTOMP", +"INDICATOR_REMOVAL_CLEAR_MAILBOX_DATA", +"APPLICATION_LAYER_PROTOCOL", +"DNS", +"SOFTWARE_DEPLOYMENT_TOOLS", +"VALID_ACCOUNTS", +"DEFAULT_ACCOUNTS", +"LOCAL_ACCOUNTS", +"CLOUD_ACCOUNTS", +"FILE_AND_DIRECTORY_DISCOVERY", +"ACCOUNT_DISCOVERY_LOCAL_ACCOUNT", +"PROXY", +"EXTERNAL_PROXY", +"MULTI_HOP_PROXY", +"ACCOUNT_MANIPULATION", +"ADDITIONAL_CLOUD_CREDENTIALS", +"ADDITIONAL_CLOUD_ROLES", +"SSH_AUTHORIZED_KEYS", +"ADDITIONAL_CONTAINER_CLUSTER_ROLES", +"MULTI_STAGE_CHANNELS", +"INGRESS_TOOL_TRANSFER", +"NATIVE_API", +"BRUTE_FORCE", +"AUTOMATED_COLLECTION", +"SHARED_MODULES", +"DATA_ENCODING", +"STANDARD_ENCODING", +"ACCESS_TOKEN_MANIPULATION", +"TOKEN_IMPERSONATION_OR_THEFT", +"CREATE_ACCOUNT", +"LOCAL_ACCOUNT", +"DEOBFUSCATE_DECODE_FILES_OR_INFO", +"EXPLOIT_PUBLIC_FACING_APPLICATION", +"SUPPLY_CHAIN_COMPROMISE", +"COMPROMISE_SOFTWARE_DEPENDENCIES_AND_DEVELOPMENT_TOOLS", +"EXPLOITATION_FOR_CLIENT_EXECUTION", +"USER_EXECUTION", +"EXPLOITATION_FOR_CREDENTIAL_ACCESS", +"LINUX_AND_MAC_FILE_AND_DIRECTORY_PERMISSIONS_MODIFICATION", +"DOMAIN_POLICY_MODIFICATION", +"DATA_DESTRUCTION", +"DATA_ENCRYPTED_FOR_IMPACT", +"SERVICE_STOP", +"INHIBIT_SYSTEM_RECOVERY", +"FIRMWARE_CORRUPTION", +"RESOURCE_HIJACKING", +"NETWORK_DENIAL_OF_SERVICE", +"CLOUD_SERVICE_DISCOVERY", +"STEAL_APPLICATION_ACCESS_TOKEN", +"ACCOUNT_ACCESS_REMOVAL", +"TRANSFER_DATA_TO_CLOUD_ACCOUNT", +"STEAL_WEB_SESSION_COOKIE", +"CREATE_OR_MODIFY_SYSTEM_PROCESS", +"EVENT_TRIGGERED_EXECUTION", +"BOOT_OR_LOGON_AUTOSTART_EXECUTION", +"KERNEL_MODULES_AND_EXTENSIONS", +"SHORTCUT_MODIFICATION", +"ABUSE_ELEVATION_CONTROL_MECHANISM", +"ABUSE_ELEVATION_CONTROL_MECHANISM_SETUID_AND_SETGID", +"ABUSE_ELEVATION_CONTROL_MECHANISM_SUDO_AND_SUDO_CACHING", +"UNSECURED_CREDENTIALS", +"CREDENTIALS_IN_FILES", +"BASH_HISTORY", +"PRIVATE_KEYS", +"SUBVERT_TRUST_CONTROL", +"INSTALL_ROOT_CERTIFICATE", +"COMPROMISE_HOST_SOFTWARE_BINARY", +"CREDENTIALS_FROM_PASSWORD_STORES", +"MODIFY_AUTHENTICATION_PROCESS", +"PLUGGABLE_AUTHENTICATION_MODULES", +"MULTI_FACTOR_AUTHENTICATION", +"IMPAIR_DEFENSES", +"DISABLE_OR_MODIFY_TOOLS", +"INDICATOR_BLOCKING", +"DISABLE_OR_MODIFY_LINUX_AUDIT_SYSTEM", +"HIDE_ARTIFACTS", +"HIDDEN_FILES_AND_DIRECTORIES", +"HIDDEN_USERS", +"EXFILTRATION_OVER_WEB_SERVICE", +"EXFILTRATION_TO_CLOUD_STORAGE", +"DYNAMIC_RESOLUTION", +"LATERAL_TOOL_TRANSFER", +"HIJACK_EXECUTION_FLOW", +"HIJACK_EXECUTION_FLOW_DYNAMIC_LINKER_HIJACKING", +"MODIFY_CLOUD_COMPUTE_INFRASTRUCTURE", +"CREATE_SNAPSHOT", +"CLOUD_INFRASTRUCTURE_DISCOVERY", +"DEVELOP_CAPABILITIES", +"DEVELOP_CAPABILITIES_MALWARE", +"OBTAIN_CAPABILITIES", +"OBTAIN_CAPABILITIES_MALWARE", +"OBTAIN_CAPABILITIES_VULNERABILITIES", +"ACTIVE_SCANNING", +"SCANNING_IP_BLOCKS", +"STAGE_CAPABILITIES", +"UPLOAD_MALWARE", +"CONTAINER_ADMINISTRATION_COMMAND", +"DEPLOY_CONTAINER", +"ESCAPE_TO_HOST", +"CONTAINER_AND_RESOURCE_DISCOVERY", +"REFLECTIVE_CODE_LOADING", +"STEAL_OR_FORGE_AUTHENTICATION_CERTIFICATES", +"FINANCIAL_THEFT" +], +"enumDescriptions": [ +"Unspecified value.", +"T1001", +"T1001.002", +"T1003", +"T1003.007", +"T1003.008", +"T1005", +"T1020", +"T1027", +"T1027.003", +"T1027.004", +"T1027.010", +"T1029", +"T1033", +"T1036", +"T1036.005", +"T1037", +"T1037.005", +"T1046", +"T1053", +"T1053.003", +"T1053.007", +"T1055", +"T1056", +"T1056.001", +"T1057", +"T1059", +"T1059.004", +"T1059.006", +"T1068", +"T1069", +"T1069.003", +"T1070", +"T1070.002", +"T1070.003", +"T1070.004", +"T1070.006", +"T1070.008", +"T1071", +"T1071.004", +"T1072", +"T1078", +"T1078.001", +"T1078.003", +"T1078.004", +"T1083", +"T1087.001", +"T1090", +"T1090.002", +"T1090.003", +"T1098", +"T1098.001", +"T1098.003", +"T1098.004", +"T1098.006", +"T1104", +"T1105", +"T1106", +"T1110", +"T1119", +"T1129", +"T1132", +"T1132.001", +"T1134", +"T1134.001", +"T1136", +"T1136.001", +"T1140", +"T1190", +"T1195", +"T1195.001", +"T1203", +"T1204", +"T1212", +"T1222.002", +"T1484", +"T1485", +"T1486", +"T1489", +"T1490", +"T1495", +"T1496", +"T1498", +"T1526", +"T1528", +"T1531", +"T1537", +"T1539", +"T1543", +"T1546", +"T1547", +"T1547.006", +"T1547.009", +"T1548", +"T1548.001", +"T1548.003", +"T1552", +"T1552.001", +"T1552.003", +"T1552.004", +"T1553", +"T1553.004", +"T1554", +"T1555", +"T1556", +"T1556.003", +"T1556.006", +"T1562", +"T1562.001", +"T1562.006", +"T1562.012", +"T1564", +"T1564.001", +"T1564.002", +"T1567", +"T1567.002", +"T1568", +"T1570", +"T1574", +"T1574.006", +"T1578", +"T1578.001", +"T1580", +"T1587", +"T1587.001", +"T1588", +"T1588.001", +"T1588.006", +"T1595", +"T1595.001", +"T1608", +"T1608.001", +"T1609", +"T1610", +"T1611", +"T1613", +"T1620", +"T1649", +"T1657" +], +"type": "string" +}, +"type": "array" +}, +"version": { +"description": "The MITRE ATT&CK version referenced by the above fields. E.g. \"8\".", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2MuteConfig": { +"description": "A mute config is a Cloud SCC resource that contains the configuration to mute create/update events of findings.", +"id": "GoogleCloudSecuritycenterV2MuteConfig", +"properties": { +"createTime": { +"description": "Output only. The time at which the mute config was created. This field is set by the server and will be ignored if provided on config creation.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"cryptoKeyName": { +"description": "Output only. The resource name of the Cloud KMS `CryptoKey` used to encrypt this configuration data, if CMEK was enabled during Security Command Center activation.", +"readOnly": true, +"type": "string" +}, +"description": { +"description": "A description of the mute config.", +"type": "string" +}, +"expiryTime": { +"description": "Optional. The expiry of the mute config. Only applicable for dynamic configs. If the expiry is set, when the config expires, it is removed from all findings.", +"format": "google-datetime", +"type": "string" +}, +"filter": { +"description": "Required. An expression that defines the filter to apply across create/update events of findings. While creating a filter string, be mindful of the scope in which the mute configuration is being created. E.g., If a filter contains project = X but is created under the project = Y scope, it might not match any findings. The following field and operator combinations are supported: * severity: `=`, `:` * category: `=`, `:` * resource.name: `=`, `:` * resource.project_name: `=`, `:` * resource.project_display_name: `=`, `:` * resource.folders.resource_folder: `=`, `:` * resource.parent_name: `=`, `:` * resource.parent_display_name: `=`, `:` * resource.type: `=`, `:` * finding_class: `=`, `:` * indicator.ip_addresses: `=`, `:` * indicator.domains: `=`, `:`", +"type": "string" +}, +"mostRecentEditor": { +"description": "Output only. Email address of the user who last edited the mute config. This field is set by the server and will be ignored if provided on config creation or update.", +"readOnly": true, +"type": "string" +}, +"name": { +"description": "Identifier. This field will be ignored if provided on config creation. The following list shows some examples of the format: + `organizations/{organization}/muteConfigs/{mute_config}` + `organizations/{organization}locations/{location}//muteConfigs/{mute_config}` + `folders/{folder}/muteConfigs/{mute_config}` + `folders/{folder}/locations/{location}/muteConfigs/{mute_config}` + `projects/{project}/muteConfigs/{mute_config}` + `projects/{project}/locations/{location}/muteConfigs/{mute_config}`", +"type": "string" +}, +"type": { +"description": "Required. The type of the mute config, which determines what type of mute state the config affects. Immutable after creation.", +"enum": [ +"MUTE_CONFIG_TYPE_UNSPECIFIED", +"STATIC", +"DYNAMIC" +], +"enumDescriptions": [ +"Unused.", +"A static mute config, which sets the static mute state of future matching findings to muted. Once the static mute state has been set, finding or config modifications will not affect the state.", +"A dynamic mute config, which is applied to existing and future matching findings, setting their dynamic mute state to \"muted\". If the config is updated or deleted, or a matching finding is updated, such that the finding doesn't match the config, the config will be removed from the finding, and the finding's dynamic mute state may become \"unmuted\" (unless other configs still match)." +], +"type": "string" +}, +"updateTime": { +"description": "Output only. The most recent time at which the mute config was updated. This field is set by the server and will be ignored if provided on config creation or update.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2MuteInfo": { +"description": "Mute information about the finding, including whether the finding has a static mute or any matching dynamic mute rules.", +"id": "GoogleCloudSecuritycenterV2MuteInfo", +"properties": { +"dynamicMuteRecords": { +"description": "The list of dynamic mute rules that currently match the finding.", +"items": { +"$ref": "GoogleCloudSecuritycenterV2DynamicMuteRecord" +}, +"type": "array" +}, +"staticMute": { +"$ref": "GoogleCloudSecuritycenterV2StaticMute", +"description": "If set, the static mute applied to this finding. Static mutes override dynamic mutes. If unset, there is no static mute." +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2Network": { +"description": "Contains information about a VPC network associated with the finding.", +"id": "GoogleCloudSecuritycenterV2Network", +"properties": { +"name": { +"description": "The name of the VPC network resource, for example, `//compute.googleapis.com/projects/my-project/global/networks/my-network`.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2Node": { +"description": "Kubernetes nodes associated with the finding.", +"id": "GoogleCloudSecuritycenterV2Node", +"properties": { +"name": { +"description": "[Full resource name](https://google.aip.dev/122#full-resource-names) of the Compute Engine VM running the cluster node.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2NodePool": { +"description": "Provides GKE node pool information.", +"id": "GoogleCloudSecuritycenterV2NodePool", +"properties": { +"name": { +"description": "Kubernetes node pool name.", +"type": "string" +}, +"nodes": { +"description": "Nodes associated with the finding.", +"items": { +"$ref": "GoogleCloudSecuritycenterV2Node" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2Notebook": { +"description": "Represents a Jupyter notebook IPYNB file, such as a [Colab Enterprise notebook](https://cloud.google.com/colab/docs/introduction) file, that is associated with a finding.", +"id": "GoogleCloudSecuritycenterV2Notebook", +"properties": { +"lastAuthor": { +"description": "The user ID of the latest author to modify the notebook.", +"type": "string" +}, +"name": { +"description": "The name of the notebook.", +"type": "string" +}, +"notebookUpdateTime": { +"description": "The most recent time the notebook was updated.", +"format": "google-datetime", +"type": "string" +}, +"service": { +"description": "The source notebook service, for example, \"Colab Enterprise\".", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2NotificationMessage": { +"description": "Cloud SCC's Notification", +"id": "GoogleCloudSecuritycenterV2NotificationMessage", +"properties": { +"finding": { +"$ref": "GoogleCloudSecuritycenterV2Finding", +"description": "If it's a Finding based notification config, this field will be populated." +}, +"notificationConfigName": { +"description": "Name of the notification config that generated current notification.", +"type": "string" +}, +"resource": { +"$ref": "GoogleCloudSecuritycenterV2Resource", +"description": "The Cloud resource tied to this notification's Finding." +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2Object": { +"description": "Kubernetes object related to the finding, uniquely identified by GKNN. Used if the object Kind is not one of Pod, Node, NodePool, Binding, or AccessReview.", +"id": "GoogleCloudSecuritycenterV2Object", +"properties": { +"containers": { +"description": "Pod containers associated with this finding, if any.", +"items": { +"$ref": "GoogleCloudSecuritycenterV2Container" +}, +"type": "array" +}, +"group": { +"description": "Kubernetes object group, such as \"policy.k8s.io/v1\".", +"type": "string" +}, +"kind": { +"description": "Kubernetes object kind, such as \"Namespace\".", +"type": "string" +}, +"name": { +"description": "Kubernetes object name. For details see https://kubernetes.io/docs/concepts/overview/working-with-objects/names/.", +"type": "string" +}, +"ns": { +"description": "Kubernetes object namespace. Must be a valid DNS label. Named \"ns\" to avoid collision with C++ namespace keyword. For details see https://kubernetes.io/docs/tasks/administer-cluster/namespaces/.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2OrgPolicy": { +"description": "Contains information about the org policies associated with the finding.", +"id": "GoogleCloudSecuritycenterV2OrgPolicy", +"properties": { +"name": { +"description": "Identifier. The resource name of the org policy. Example: \"organizations/{organization_id}/policies/{constraint_name}\"", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2Package": { +"description": "Package is a generic definition of a package.", +"id": "GoogleCloudSecuritycenterV2Package", +"properties": { +"cpeUri": { +"description": "The CPE URI where the vulnerability was detected.", +"type": "string" +}, +"packageName": { +"description": "The name of the package where the vulnerability was detected.", +"type": "string" +}, +"packageType": { +"description": "Type of package, for example, os, maven, or go.", +"type": "string" +}, +"packageVersion": { +"description": "The version of the package.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2Pipeline": { +"description": "Vertex AI training pipeline associated with the finding.", +"id": "GoogleCloudSecuritycenterV2Pipeline", +"properties": { +"displayName": { +"description": "The user-defined display name of pipeline, e.g. plants-classification", +"type": "string" +}, +"name": { +"description": "Resource name of the pipeline, e.g. projects/{project}/locations/{location}/trainingPipelines/5253428229225578496", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2Pod": { +"description": "A Kubernetes Pod.", +"id": "GoogleCloudSecuritycenterV2Pod", +"properties": { +"containers": { +"description": "Pod containers associated with this finding, if any.", +"items": { +"$ref": "GoogleCloudSecuritycenterV2Container" +}, +"type": "array" +}, +"labels": { +"description": "Pod labels. For Kubernetes containers, these are applied to the container.", +"items": { +"$ref": "GoogleCloudSecuritycenterV2Label" +}, +"type": "array" +}, +"name": { +"description": "Kubernetes Pod name.", +"type": "string" +}, +"ns": { +"description": "Kubernetes Pod namespace.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2PolicyDriftDetails": { +"description": "The policy field that violates the deployed posture and its expected and detected values.", +"id": "GoogleCloudSecuritycenterV2PolicyDriftDetails", +"properties": { +"detectedValue": { +"description": "The detected value that violates the deployed posture, for example, `false` or `allowed_values={\"projects/22831892\"}`.", +"type": "string" +}, +"expectedValue": { +"description": "The value of this field that was configured in a posture, for example, `true` or `allowed_values={\"projects/29831892\"}`.", +"type": "string" +}, +"field": { +"description": "The name of the updated field, for example constraint.implementation.policy_rules[0].enforce", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2PortRange": { +"description": "A port range which is inclusive of the min and max values. Values are between 0 and 2^16-1. The max can be equal / must be not smaller than the min value. If min and max are equal this indicates that it is a single port.", +"id": "GoogleCloudSecuritycenterV2PortRange", +"properties": { +"max": { +"description": "Maximum port value.", +"format": "int64", +"type": "string" +}, +"min": { +"description": "Minimum port value.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2Process": { +"description": "Represents an operating system process.", +"id": "GoogleCloudSecuritycenterV2Process", +"properties": { +"args": { +"description": "Process arguments as JSON encoded strings.", +"items": { +"type": "string" +}, +"type": "array" +}, +"argumentsTruncated": { +"description": "True if `args` is incomplete.", +"type": "boolean" +}, +"binary": { +"$ref": "GoogleCloudSecuritycenterV2File", +"description": "File information for the process executable." +}, +"envVariables": { +"description": "Process environment variables.", +"items": { +"$ref": "GoogleCloudSecuritycenterV2EnvironmentVariable" +}, +"type": "array" +}, +"envVariablesTruncated": { +"description": "True if `env_variables` is incomplete.", +"type": "boolean" +}, +"libraries": { +"description": "File information for libraries loaded by the process.", +"items": { +"$ref": "GoogleCloudSecuritycenterV2File" +}, +"type": "array" +}, +"name": { +"description": "The process name, as displayed in utilities like `top` and `ps`. This name can be accessed through `/proc/[pid]/comm` and changed with `prctl(PR_SET_NAME)`.", +"type": "string" +}, +"parentPid": { +"description": "The parent process ID.", +"format": "int64", +"type": "string" +}, +"pid": { +"description": "The process ID.", +"format": "int64", +"type": "string" +}, +"script": { +"$ref": "GoogleCloudSecuritycenterV2File", +"description": "When the process represents the invocation of a script, `binary` provides information about the interpreter, while `script` provides information about the script file provided to the interpreter." +}, +"userId": { +"description": "The ID of the user that executed the process. E.g. If this is the root user this will always be 0.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2ProcessSignature": { +"description": "Indicates what signature matched this process.", +"id": "GoogleCloudSecuritycenterV2ProcessSignature", +"properties": { +"memoryHashSignature": { +"$ref": "GoogleCloudSecuritycenterV2MemoryHashSignature", +"description": "Signature indicating that a binary family was matched." +}, +"signatureType": { +"description": "Describes the type of resource associated with the signature.", +"enum": [ +"SIGNATURE_TYPE_UNSPECIFIED", +"SIGNATURE_TYPE_PROCESS", +"SIGNATURE_TYPE_FILE" +], +"enumDescriptions": [ +"The default signature type.", +"Used for signatures concerning processes.", +"Used for signatures concerning disks." +], +"type": "string" +}, +"yaraRuleSignature": { +"$ref": "GoogleCloudSecuritycenterV2YaraRuleSignature", +"description": "Signature indicating that a YARA rule was matched." +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2Reference": { +"description": "Additional Links", +"id": "GoogleCloudSecuritycenterV2Reference", +"properties": { +"source": { +"description": "Source of the reference e.g. NVD", +"type": "string" +}, +"uri": { +"description": "Uri for the mentioned source e.g. https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-34527.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2Requests": { +"description": "Information about the requests relevant to the finding.", +"id": "GoogleCloudSecuritycenterV2Requests", +"properties": { +"longTermAllowed": { +"description": "Allowed RPS (requests per second) over the long term.", +"format": "int32", +"type": "integer" +}, +"longTermDenied": { +"description": "Denied RPS (requests per second) over the long term.", +"format": "int32", +"type": "integer" +}, +"ratio": { +"description": "For 'Increasing deny ratio', the ratio is the denied traffic divided by the allowed traffic. For 'Allowed traffic spike', the ratio is the allowed traffic in the short term divided by allowed traffic in the long term.", +"format": "double", +"type": "number" +}, +"shortTermAllowed": { +"description": "Allowed RPS (requests per second) in the short term.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2Resource": { +"description": "Information related to the Google Cloud resource.", +"id": "GoogleCloudSecuritycenterV2Resource", +"properties": { +"adcApplication": { +"$ref": "GoogleCloudSecuritycenterV2AdcApplication", +"description": "The ADC application associated with the finding." +}, +"adcApplicationTemplate": { +"$ref": "GoogleCloudSecuritycenterV2AdcApplicationTemplateRevision", +"description": "The ADC template associated with the finding." +}, +"adcSharedTemplate": { +"$ref": "GoogleCloudSecuritycenterV2AdcSharedTemplateRevision", +"description": "The ADC shared template associated with the finding." +}, +"application": { +"$ref": "GoogleCloudSecuritycenterV2ResourceApplication", +"description": "The App Hub application this resource belongs to." +}, +"awsMetadata": { +"$ref": "GoogleCloudSecuritycenterV2AwsMetadata", +"description": "The AWS metadata associated with the finding." +}, +"azureMetadata": { +"$ref": "GoogleCloudSecuritycenterV2AzureMetadata", +"description": "The Azure metadata associated with the finding." +}, +"cloudProvider": { +"description": "Indicates which cloud provider the finding is from.", +"enum": [ +"CLOUD_PROVIDER_UNSPECIFIED", +"GOOGLE_CLOUD_PLATFORM", +"AMAZON_WEB_SERVICES", +"MICROSOFT_AZURE" +], +"enumDescriptions": [ +"The cloud provider is unspecified.", +"The cloud provider is Google Cloud.", +"The cloud provider is Amazon Web Services.", +"The cloud provider is Microsoft Azure." +], +"type": "string" +}, +"displayName": { +"description": "The human readable name of the resource.", +"type": "string" +}, +"gcpMetadata": { +"$ref": "GcpMetadata", +"description": "The Google Cloud metadata associated with the finding." +}, +"location": { +"description": "The region or location of the service (if applicable).", +"type": "string" +}, +"name": { +"description": "The full resource name of the resource. See: https://cloud.google.com/apis/design/resource_names#full_resource_name", +"type": "string" +}, +"resourcePath": { +"$ref": "GoogleCloudSecuritycenterV2ResourcePath", +"description": "Provides the path to the resource within the resource hierarchy." +}, +"resourcePathString": { +"description": "A string representation of the resource path. For Google Cloud, it has the format of `organizations/{organization_id}/folders/{folder_id}/folders/{folder_id}/projects/{project_id}` where there can be any number of folders. For AWS, it has the format of `org/{organization_id}/ou/{organizational_unit_id}/ou/{organizational_unit_id}/account/{account_id}` where there can be any number of organizational units. For Azure, it has the format of `mg/{management_group_id}/mg/{management_group_id}/subscription/{subscription_id}/rg/{resource_group_name}` where there can be any number of management groups.", +"type": "string" +}, +"service": { +"description": "The service or resource provider associated with the resource.", +"type": "string" +}, +"type": { +"description": "The full resource type of the resource.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2ResourceApplication": { +"description": "The App Hub Application associated with the finding's resource.", +"id": "GoogleCloudSecuritycenterV2ResourceApplication", +"properties": { +"attributes": { +"$ref": "GoogleCloudSecuritycenterV2ResourceApplicationAttributes", +"description": "Consumer provided attributes for the application" +}, +"name": { +"description": "The resource name of an Application. Format: `projects/{host-project-id}/locations/{location}/applications/{application-id}`", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2ResourceApplicationAttributes": { +"description": "Consumer provided attributes for the application", +"id": "GoogleCloudSecuritycenterV2ResourceApplicationAttributes", +"properties": { +"businessOwners": { +"description": "Business team that ensures user needs are met and value is delivered", +"items": { +"$ref": "GoogleCloudSecuritycenterV2ResourceApplicationAttributesContactInfo" +}, +"type": "array" +}, +"criticality": { +"$ref": "GoogleCloudSecuritycenterV2ResourceApplicationAttributesCriticality", +"description": "User-defined criticality information." +}, +"developerOwners": { +"description": "Developer team that owns development and coding.", +"items": { +"$ref": "GoogleCloudSecuritycenterV2ResourceApplicationAttributesContactInfo" +}, +"type": "array" +}, +"environment": { +"$ref": "GoogleCloudSecuritycenterV2ResourceApplicationAttributesEnvironment", +"description": "User-defined environment information." +}, +"operatorOwners": { +"description": "Operator team that ensures runtime and operations.", +"items": { +"$ref": "GoogleCloudSecuritycenterV2ResourceApplicationAttributesContactInfo" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2ResourceApplicationAttributesContactInfo": { +"description": "Contact information of stakeholders.", +"id": "GoogleCloudSecuritycenterV2ResourceApplicationAttributesContactInfo", +"properties": { +"email": { +"description": "Email address of the contacts.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2ResourceApplicationAttributesCriticality": { +"description": "Criticality of the Application, Service, or Workload", +"id": "GoogleCloudSecuritycenterV2ResourceApplicationAttributesCriticality", +"properties": { +"type": { +"description": "Criticality Type.", +"enum": [ +"CRITICALITY_TYPE_UNSPECIFIED", +"MISSION_CRITICAL", +"HIGH", +"MEDIUM", +"LOW" +], +"enumDescriptions": [ +"Unspecified type.", +"Mission critical service, application or workload.", +"High impact.", +"Medium impact.", +"Low impact." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2ResourceApplicationAttributesEnvironment": { +"description": "Environment of the Application, Service, or Workload", +"id": "GoogleCloudSecuritycenterV2ResourceApplicationAttributesEnvironment", +"properties": { +"type": { +"description": "Environment Type.", +"enum": [ +"ENVIRONMENT_TYPE_UNSPECIFIED", +"PRODUCTION", +"STAGING", +"TEST", +"DEVELOPMENT" +], +"enumDescriptions": [ +"Unspecified type.", +"Production environment.", +"Staging environment.", +"Test environment.", +"Development environment." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2ResourcePath": { +"description": "Represents the path of resources leading up to the resource this finding is about.", +"id": "GoogleCloudSecuritycenterV2ResourcePath", +"properties": { +"nodes": { +"description": "The list of nodes that make the up resource path, ordered from lowest level to highest level.", +"items": { +"$ref": "GoogleCloudSecuritycenterV2ResourcePathNode" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2ResourcePathNode": { +"description": "A node within the resource path. Each node represents a resource within the resource hierarchy.", +"id": "GoogleCloudSecuritycenterV2ResourcePathNode", +"properties": { +"displayName": { +"description": "The display name of the resource this node represents.", +"type": "string" +}, +"id": { +"description": "The ID of the resource this node represents.", +"type": "string" +}, +"nodeType": { +"description": "The type of resource this node represents.", +"enum": [ +"RESOURCE_PATH_NODE_TYPE_UNSPECIFIED", +"GCP_ORGANIZATION", +"GCP_FOLDER", +"GCP_PROJECT", +"AWS_ORGANIZATION", +"AWS_ORGANIZATIONAL_UNIT", +"AWS_ACCOUNT", +"AZURE_MANAGEMENT_GROUP", +"AZURE_SUBSCRIPTION", +"AZURE_RESOURCE_GROUP" +], +"enumDescriptions": [ +"Node type is unspecified.", +"The node represents a Google Cloud organization.", +"The node represents a Google Cloud folder.", +"The node represents a Google Cloud project.", +"The node represents an AWS organization.", +"The node represents an AWS organizational unit.", +"The node represents an AWS account.", +"The node represents an Azure management group.", +"The node represents an Azure subscription.", +"The node represents an Azure resource group." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2ResourceValueConfig": { +"description": "A resource value configuration (RVC) is a mapping configuration of user's resources to resource values. Used in Attack path simulations.", +"id": "GoogleCloudSecuritycenterV2ResourceValueConfig", +"properties": { +"cloudProvider": { +"description": "Cloud provider this configuration applies to", +"enum": [ +"CLOUD_PROVIDER_UNSPECIFIED", +"GOOGLE_CLOUD_PLATFORM", +"AMAZON_WEB_SERVICES", +"MICROSOFT_AZURE" +], +"enumDescriptions": [ +"The cloud provider is unspecified.", +"The cloud provider is Google Cloud.", +"The cloud provider is Amazon Web Services.", +"The cloud provider is Microsoft Azure." +], +"type": "string" +}, +"createTime": { +"description": "Output only. Timestamp this resource value configuration was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"description": { +"description": "Description of the resource value configuration.", +"type": "string" +}, +"name": { +"description": "Identifier. Name for the resource value configuration", +"type": "string" +}, +"resourceLabelsSelector": { +"additionalProperties": { +"type": "string" +}, +"description": "List of resource labels to search for, evaluated with `AND`. For example, \"resource_labels_selector\": {\"key\": \"value\", \"env\": \"prod\"} will match resources with labels \"key\": \"value\" `AND` \"env\": \"prod\" https://cloud.google.com/resource-manager/docs/creating-managing-labels", +"type": "object" +}, +"resourceType": { +"description": "Apply resource_value only to resources that match resource_type. resource_type will be checked with `AND` of other resources. For example, \"storage.googleapis.com/Bucket\" with resource_value \"HIGH\" will apply \"HIGH\" value only to \"storage.googleapis.com/Bucket\" resources.", +"type": "string" +}, +"resourceValue": { +"description": "Resource value level this expression represents Only required when there is no Sensitive Data Protection mapping in the request", +"enum": [ +"RESOURCE_VALUE_UNSPECIFIED", +"HIGH", +"MEDIUM", +"LOW", +"NONE" +], +"enumDescriptions": [ +"Unspecific value", +"High resource value", +"Medium resource value", +"Low resource value", +"No resource value, e.g. ignore these resources" +], +"type": "string" +}, +"scope": { +"description": "Project or folder to scope this configuration to. For example, \"project/456\" would apply this configuration only to resources in \"project/456\" scope and will be checked with `AND` of other resources.", +"type": "string" +}, +"sensitiveDataProtectionMapping": { +"$ref": "GoogleCloudSecuritycenterV2SensitiveDataProtectionMapping", +"description": "A mapping of the sensitivity on Sensitive Data Protection finding to resource values. This mapping can only be used in combination with a resource_type that is related to BigQuery, e.g. \"bigquery.googleapis.com/Dataset\"." +}, +"tagValues": { +"description": "Tag values combined with `AND` to check against. For Google Cloud resources, they are tag value IDs in the form of \"tagValues/123\". Example: `[ \"tagValues/123\", \"tagValues/456\", \"tagValues/789\" ]` https://cloud.google.com/resource-manager/docs/tags/tags-creating-and-managing", +"items": { +"type": "string" +}, +"type": "array" +}, +"updateTime": { +"description": "Output only. Timestamp this resource value configuration was last updated.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2Role": { +"description": "Kubernetes Role or ClusterRole.", +"id": "GoogleCloudSecuritycenterV2Role", +"properties": { +"kind": { +"description": "Role type.", +"enum": [ +"KIND_UNSPECIFIED", +"ROLE", +"CLUSTER_ROLE" +], +"enumDescriptions": [ +"Role type is not specified.", +"Kubernetes Role.", +"Kubernetes ClusterRole." +], +"type": "string" +}, +"name": { +"description": "Role name.", +"type": "string" +}, +"ns": { +"description": "Role namespace.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2Secret": { +"description": "Details about a secret or credential associated with the finding.", +"id": "GoogleCloudSecuritycenterV2Secret", +"properties": { +"environmentVariable": { +"$ref": "GoogleCloudSecuritycenterV2SecretEnvironmentVariable", +"description": "The environment variable containing the secret." +}, +"filePath": { +"$ref": "GoogleCloudSecuritycenterV2SecretFilePath", +"description": "The file containing the secret." +}, +"status": { +"$ref": "GoogleCloudSecuritycenterV2SecretStatus", +"description": "The status of the secret." +}, +"type": { +"description": "The type of secret, for example, GCP_API_KEY.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2SecretEnvironmentVariable": { +"description": "Environment variable containing the secret.", +"id": "GoogleCloudSecuritycenterV2SecretEnvironmentVariable", +"properties": { +"key": { +"description": "Environment variable name as a JSON encoded string. Note that value is not included since the value contains the secret data, which is sensitive core content.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2SecretFilePath": { +"description": "File path containing the secret.", +"id": "GoogleCloudSecuritycenterV2SecretFilePath", +"properties": { +"path": { +"description": "Path to the file.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2SecretStatus": { +"description": "The status of the secret.", +"id": "GoogleCloudSecuritycenterV2SecretStatus", +"properties": { +"lastUpdatedTime": { +"description": "Time that the secret was found.", +"format": "google-datetime", +"type": "string" +}, +"validity": { +"description": "The validity of the secret.", +"enum": [ +"SECRET_VALIDITY_UNSPECIFIED", +"SECRET_VALIDITY_UNSUPPORTED", +"SECRET_VALIDITY_FAILED", +"SECRET_VALIDITY_INVALID", +"SECRET_VALIDITY_VALID" +], +"enumDescriptions": [ +"Default value; no validation was attempted.", +"There is no mechanism to validate the secret.", +"Validation is supported but the validation failed.", +"The secret is confirmed to be invalid.", +"The secret is confirmed to be valid." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2SecurityBulletin": { +"description": "SecurityBulletin are notifications of vulnerabilities of Google products.", +"id": "GoogleCloudSecuritycenterV2SecurityBulletin", +"properties": { +"bulletinId": { +"description": "ID of the bulletin corresponding to the vulnerability.", +"type": "string" +}, +"submissionTime": { +"description": "Submission time of this Security Bulletin.", +"format": "google-datetime", +"type": "string" +}, +"suggestedUpgradeVersion": { +"description": "This represents a version that the cluster receiving this notification should be upgraded to, based on its current version. For example, 1.15.0", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2SecurityMarks": { +"description": "User specified security marks that are attached to the parent Security Command Center resource. Security marks are scoped within a Security Command Center organization -- they can be modified and viewed by all users who have proper permissions on the organization.", +"id": "GoogleCloudSecuritycenterV2SecurityMarks", +"properties": { +"canonicalName": { +"description": "The canonical name of the marks. The following list shows some examples: + `organizations/{organization_id}/assets/{asset_id}/securityMarks` + `organizations/{organization_id}/sources/{source_id}/findings/{finding_id}/securityMarks` + `organizations/{organization_id}/sources/{source_id}/locations/{location}/findings/{finding_id}/securityMarks` + `folders/{folder_id}/assets/{asset_id}/securityMarks` + `folders/{folder_id}/sources/{source_id}/findings/{finding_id}/securityMarks` + `folders/{folder_id}/sources/{source_id}/locations/{location}/findings/{finding_id}/securityMarks` + `projects/{project_number}/assets/{asset_id}/securityMarks` + `projects/{project_number}/sources/{source_id}/findings/{finding_id}/securityMarks` + `projects/{project_number}/sources/{source_id}/locations/{location}/findings/{finding_id}/securityMarks`", +"type": "string" +}, +"marks": { +"additionalProperties": { +"type": "string" +}, +"description": "Mutable user specified security marks belonging to the parent resource. Constraints are as follows: * Keys and values are treated as case insensitive * Keys must be between 1 - 256 characters (inclusive) * Keys must be letters, numbers, underscores, or dashes * Values have leading and trailing whitespace trimmed, remaining characters must be between 1 - 4096 characters (inclusive)", +"type": "object" +}, +"name": { +"description": "The relative resource name of the SecurityMarks. See: https://cloud.google.com/apis/design/resource_names#relative_resource_name The following list shows some examples: + `organizations/{organization_id}/assets/{asset_id}/securityMarks` + `organizations/{organization_id}/sources/{source_id}/findings/{finding_id}/securityMarks` + `organizations/{organization_id}/sources/{source_id}/locations/{location}/findings/{finding_id}/securityMarks`", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2SecurityPolicy": { +"description": "Information about the [Google Cloud Armor security policy](https://cloud.google.com/armor/docs/security-policy-overview) relevant to the finding.", +"id": "GoogleCloudSecuritycenterV2SecurityPolicy", +"properties": { +"name": { +"description": "The name of the Google Cloud Armor security policy, for example, \"my-security-policy\".", +"type": "string" +}, +"preview": { +"description": "Whether or not the associated rule or policy is in preview mode.", +"type": "boolean" +}, +"type": { +"description": "The type of Google Cloud Armor security policy for example, 'backend security policy', 'edge security policy', 'network edge security policy', or 'always-on DDoS protection'.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2SecurityPosture": { +"description": "Represents a posture that is deployed on Google Cloud by the Security Command Center Posture Management service. A posture contains one or more policy sets. A policy set is a group of policies that enforce a set of security rules on Google Cloud.", +"id": "GoogleCloudSecuritycenterV2SecurityPosture", +"properties": { +"changedPolicy": { +"description": "The name of the updated policy, for example, `projects/{project_id}/policies/{constraint_name}`.", +"type": "string" +}, +"name": { +"description": "Name of the posture, for example, `CIS-Posture`.", +"type": "string" +}, +"policy": { +"description": "The ID of the updated policy, for example, `compute-policy-1`.", +"type": "string" +}, +"policyDriftDetails": { +"description": "The details about a change in an updated policy that violates the deployed posture.", +"items": { +"$ref": "GoogleCloudSecuritycenterV2PolicyDriftDetails" +}, +"type": "array" +}, +"policySet": { +"description": "The name of the updated policy set, for example, `cis-policyset`.", +"type": "string" +}, +"postureDeployment": { +"description": "The name of the posture deployment, for example, `organizations/{org_id}/posturedeployments/{posture_deployment_id}`.", +"type": "string" +}, +"postureDeploymentResource": { +"description": "The project, folder, or organization on which the posture is deployed, for example, `projects/{project_number}`.", +"type": "string" +}, +"revisionId": { +"description": "The version of the posture, for example, `c7cfa2a8`.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2SensitiveDataProtectionMapping": { +"description": "Resource value mapping for Sensitive Data Protection findings If any of these mappings have a resource value that is not unspecified, the resource_value field will be ignored when reading this configuration.", +"id": "GoogleCloudSecuritycenterV2SensitiveDataProtectionMapping", +"properties": { +"highSensitivityMapping": { +"description": "Resource value mapping for high-sensitivity Sensitive Data Protection findings", +"enum": [ +"RESOURCE_VALUE_UNSPECIFIED", +"HIGH", +"MEDIUM", +"LOW", +"NONE" +], +"enumDescriptions": [ +"Unspecific value", +"High resource value", +"Medium resource value", +"Low resource value", +"No resource value, e.g. ignore these resources" +], +"type": "string" +}, +"mediumSensitivityMapping": { +"description": "Resource value mapping for medium-sensitivity Sensitive Data Protection findings", +"enum": [ +"RESOURCE_VALUE_UNSPECIFIED", +"HIGH", +"MEDIUM", +"LOW", +"NONE" +], +"enumDescriptions": [ +"Unspecific value", +"High resource value", +"Medium resource value", +"Low resource value", +"No resource value, e.g. ignore these resources" +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2SensitivityScore": { +"description": "Score is calculated from of all elements in the data profile. A higher level means the data is more sensitive.", +"id": "GoogleCloudSecuritycenterV2SensitivityScore", +"properties": { +"score": { +"description": "The sensitivity score applied to the resource.", +"enum": [ +"SENSITIVITY_SCORE_LEVEL_UNSPECIFIED", +"SENSITIVITY_LOW", +"SENSITIVITY_UNKNOWN", +"SENSITIVITY_MODERATE", +"SENSITIVITY_HIGH" +], +"enumDescriptions": [ +"Unused.", +"No sensitive information detected. The resource isn't publicly accessible.", +"Unable to determine sensitivity.", +"Medium risk. Contains personally identifiable information (PII), potentially sensitive data, or fields with free-text data that are at a higher risk of having intermittent sensitive data. Consider limiting access.", +"High risk. Sensitive personally identifiable information (SPII) can be present. Exfiltration of data can lead to user data loss. Re-identification of users might be possible. Consider limiting usage and or removing SPII." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2ServiceAccountDelegationInfo": { +"description": "Identity delegation history of an authenticated service account.", +"id": "GoogleCloudSecuritycenterV2ServiceAccountDelegationInfo", +"properties": { +"principalEmail": { +"description": "The email address of a Google account.", +"type": "string" +}, +"principalSubject": { +"description": "A string representing the principal_subject associated with the identity. As compared to `principal_email`, supports principals that aren't associated with email addresses, such as third party principals. For most identities, the format will be `principal://iam.googleapis.com/{identity pool name}/subjects/{subject}` except for some GKE identities (GKE_WORKLOAD, FREEFORM, GKE_HUB_WORKLOAD) that are still in the legacy format `serviceAccount:{identity pool name}[{subject}]`", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2StaticMute": { +"description": "Information about the static mute state. A static mute state overrides any dynamic mute rules that apply to this finding. The static mute state can be set by a static mute rule or by muting the finding directly.", +"id": "GoogleCloudSecuritycenterV2StaticMute", +"properties": { +"applyTime": { +"description": "When the static mute was applied.", +"format": "google-datetime", +"type": "string" +}, +"state": { +"description": "The static mute state. If the value is `MUTED` or `UNMUTED`, then the finding's overall mute state will have the same value.", +"enum": [ +"MUTE_UNSPECIFIED", +"MUTED", +"UNMUTED", +"UNDEFINED" +], +"enumDescriptions": [ +"Unspecified.", +"Finding has been muted.", +"Finding has been unmuted.", +"Finding has never been muted/unmuted." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2Subject": { +"description": "Represents a Kubernetes subject.", +"id": "GoogleCloudSecuritycenterV2Subject", +"properties": { +"kind": { +"description": "Authentication type for the subject.", +"enum": [ +"AUTH_TYPE_UNSPECIFIED", +"USER", +"SERVICEACCOUNT", +"GROUP" +], +"enumDescriptions": [ +"Authentication is not specified.", +"User with valid certificate.", +"Users managed by Kubernetes API with credentials stored as secrets.", +"Collection of users." +], +"type": "string" +}, +"name": { +"description": "Name for the subject.", +"type": "string" +}, +"ns": { +"description": "Namespace for the subject.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2TicketInfo": { +"description": "Information about the ticket, if any, that is being used to track the resolution of the issue that is identified by this finding.", +"id": "GoogleCloudSecuritycenterV2TicketInfo", +"properties": { +"assignee": { +"description": "The assignee of the ticket in the ticket system.", +"type": "string" +}, +"description": { +"description": "The description of the ticket in the ticket system.", +"type": "string" +}, +"id": { +"description": "The identifier of the ticket in the ticket system.", +"type": "string" +}, +"status": { +"description": "The latest status of the ticket, as reported by the ticket system.", +"type": "string" +}, +"updateTime": { +"description": "The time when the ticket was last updated, as reported by the ticket system.", +"format": "google-datetime", +"type": "string" +}, +"uri": { +"description": "The link to the ticket in the ticket system.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2ToxicCombination": { +"description": "Contains details about a group of security issues that, when the issues occur together, represent a greater risk than when the issues occur independently. A group of such issues is referred to as a toxic combination.", +"id": "GoogleCloudSecuritycenterV2ToxicCombination", +"properties": { +"attackExposureScore": { +"description": "The [Attack exposure score](https://cloud.google.com/security-command-center/docs/attack-exposure-learn#attack_exposure_scores) of this toxic combination. The score is a measure of how much this toxic combination exposes one or more high-value resources to potential attack.", +"format": "double", +"type": "number" +}, +"relatedFindings": { +"description": "List of resource names of findings associated with this toxic combination. For example, `organizations/123/sources/456/findings/789`.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2VertexAi": { +"description": "Vertex AI-related information associated with the finding.", +"id": "GoogleCloudSecuritycenterV2VertexAi", +"properties": { +"datasets": { +"description": "Datasets associated with the finding.", +"items": { +"$ref": "GoogleCloudSecuritycenterV2Dataset" +}, +"type": "array" +}, +"pipelines": { +"description": "Pipelines associated with the finding.", +"items": { +"$ref": "GoogleCloudSecuritycenterV2Pipeline" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2Vulnerability": { +"description": "Refers to common vulnerability fields e.g. cve, cvss, cwe etc.", +"id": "GoogleCloudSecuritycenterV2Vulnerability", +"properties": { +"cve": { +"$ref": "GoogleCloudSecuritycenterV2Cve", +"description": "CVE stands for Common Vulnerabilities and Exposures (https://cve.mitre.org/about/)" +}, +"cwes": { +"description": "Represents one or more Common Weakness Enumeration (CWE) information on this vulnerability.", +"items": { +"$ref": "GoogleCloudSecuritycenterV2Cwe" +}, +"type": "array" +}, +"fixedPackage": { +"$ref": "GoogleCloudSecuritycenterV2Package", +"description": "The fixed package is relevant to the finding." +}, +"offendingPackage": { +"$ref": "GoogleCloudSecuritycenterV2Package", +"description": "The offending package is relevant to the finding." +}, +"providerRiskScore": { +"description": "Provider provided risk_score based on multiple factors. The higher the risk score, the more risky the vulnerability is.", +"format": "int64", +"type": "string" +}, +"reachable": { +"description": "Represents whether the vulnerability is reachable (detected via static analysis)", +"type": "boolean" +}, +"securityBulletin": { +"$ref": "GoogleCloudSecuritycenterV2SecurityBulletin", +"description": "The security bulletin is relevant to this finding." +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2YaraRuleSignature": { +"description": "A signature corresponding to a YARA rule.", +"id": "GoogleCloudSecuritycenterV2YaraRuleSignature", +"properties": { +"yaraRule": { +"description": "The name of the YARA rule.", +"type": "string" +} +}, +"type": "object" +}, +"GroupAssetsRequest": { +"description": "Request message for grouping by assets.", +"id": "GroupAssetsRequest", +"properties": { +"compareDuration": { +"description": "When compare_duration is set, the GroupResult's \"state_change\" property is updated to indicate whether the asset was added, removed, or remained present during the compare_duration period of time that precedes the read_time. This is the time between (read_time - compare_duration) and read_time. The state change value is derived based on the presence of the asset at the two points in time. Intermediate state changes between the two times don't affect the result. For example, the results aren't affected if the asset is removed and re-created again. Possible \"state_change\" values when compare_duration is specified: * \"ADDED\": indicates that the asset was not present at the start of compare_duration, but present at reference_time. * \"REMOVED\": indicates that the asset was present at the start of compare_duration, but not present at reference_time. * \"ACTIVE\": indicates that the asset was present at both the start and the end of the time period defined by compare_duration and reference_time. If compare_duration is not specified, then the only possible state_change is \"UNUSED\", which will be the state_change set for all assets present at read_time. If this field is set then `state_change` must be a specified field in `group_by`.", +"format": "google-duration", +"type": "string" +}, +"filter": { +"description": "Expression that defines the filter to apply across assets. The expression is a list of zero or more restrictions combined via logical operators `AND` and `OR`. Parentheses are supported, and `OR` has higher precedence than `AND`. Restrictions have the form ` ` and may have a `-` character in front of them to indicate negation. The fields map to those defined in the Asset resource. Examples include: * name * security_center_properties.resource_name * resource_properties.a_property * security_marks.marks.marka The supported operators are: * `=` for all value types. * `>`, `<`, `>=`, `<=` for integer values. * `:`, meaning substring matching, for strings. The supported value types are: * string literals in quotes. * integer literals without quotes. * boolean literals `true` and `false` without quotes. The following field and operator combinations are supported: * name: `=` * update_time: `=`, `>`, `<`, `>=`, `<=` Usage: This should be milliseconds since epoch or an RFC3339 string. Examples: `update_time = \"2019-06-10T16:07:18-07:00\"` `update_time = 1560208038000` * create_time: `=`, `>`, `<`, `>=`, `<=` Usage: This should be milliseconds since epoch or an RFC3339 string. Examples: `create_time = \"2019-06-10T16:07:18-07:00\"` `create_time = 1560208038000` * iam_policy.policy_blob: `=`, `:` * resource_properties: `=`, `:`, `>`, `<`, `>=`, `<=` * security_marks.marks: `=`, `:` * security_center_properties.resource_name: `=`, `:` * security_center_properties.resource_display_name: `=`, `:` * security_center_properties.resource_type: `=`, `:` * security_center_properties.resource_parent: `=`, `:` * security_center_properties.resource_parent_display_name: `=`, `:` * security_center_properties.resource_project: `=`, `:` * security_center_properties.resource_project_display_name: `=`, `:` * security_center_properties.resource_owners: `=`, `:` For example, `resource_properties.size = 100` is a valid filter string. Use a partial match on the empty string to filter based on a property existing: `resource_properties.my_property : \"\"` Use a negated partial match on the empty string to filter based on a property not existing: `-resource_properties.my_property : \"\"`", +"type": "string" +}, +"groupBy": { +"description": "Required. Expression that defines what assets fields to use for grouping. The string value should follow SQL syntax: comma separated list of fields. For example: \"security_center_properties.resource_project,security_center_properties.project\". The following fields are supported when compare_duration is not set: * security_center_properties.resource_project * security_center_properties.resource_project_display_name * security_center_properties.resource_type * security_center_properties.resource_parent * security_center_properties.resource_parent_display_name The following fields are supported when compare_duration is set: * security_center_properties.resource_type * security_center_properties.resource_project_display_name * security_center_properties.resource_parent_display_name", +"type": "string" +}, +"pageSize": { +"description": "The maximum number of results to return in a single response. Default is 10, minimum is 1, maximum is 1000.", +"format": "int32", +"type": "integer" +}, +"pageToken": { +"description": "The value returned by the last `GroupAssetsResponse`; indicates that this is a continuation of a prior `GroupAssets` call, and that the system should return the next page of data.", +"type": "string" +}, +"readTime": { +"description": "Time used as a reference point when filtering assets. The filter is limited to assets existing at the supplied time and their values are those at that specific time. Absence of this field will default to the API's version of NOW.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"GroupAssetsResponse": { +"description": "Response message for grouping by assets.", +"id": "GroupAssetsResponse", +"properties": { +"groupByResults": { +"description": "Group results. There exists an element for each existing unique combination of property/values. The element contains a count for the number of times those specific property/values appear.", +"items": { +"$ref": "GroupResult" +}, +"type": "array" +}, +"nextPageToken": { +"description": "Token to retrieve the next page of results, or empty if there are no more results.", +"type": "string" +}, +"readTime": { +"description": "Time used for executing the groupBy request.", +"format": "google-datetime", +"type": "string" +}, +"totalSize": { +"description": "The total number of results matching the query.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"GroupFindingsRequest": { +"description": "Request message for grouping by findings.", +"id": "GroupFindingsRequest", +"properties": { +"compareDuration": { +"deprecated": true, +"description": "When compare_duration is set, the GroupResult's \"state_change\" attribute is updated to indicate whether the finding had its state changed, the finding's state remained unchanged, or if the finding was added during the compare_duration period of time that precedes the read_time. This is the time between (read_time - compare_duration) and read_time. The state_change value is derived based on the presence and state of the finding at the two points in time. Intermediate state changes between the two times don't affect the result. For example, the results aren't affected if the finding is made inactive and then active again. Possible \"state_change\" values when compare_duration is specified: * \"CHANGED\": indicates that the finding was present and matched the given filter at the start of compare_duration, but changed its state at read_time. * \"UNCHANGED\": indicates that the finding was present and matched the given filter at the start of compare_duration and did not change state at read_time. * \"ADDED\": indicates that the finding did not match the given filter or was not present at the start of compare_duration, but was present at read_time. * \"REMOVED\": indicates that the finding was present and matched the filter at the start of compare_duration, but did not match the filter at read_time. If compare_duration is not specified, then the only possible state_change is \"UNUSED\", which will be the state_change set for all findings present at read_time. If this field is set then `state_change` must be a specified field in `group_by`.", +"format": "google-duration", +"type": "string" +}, +"filter": { +"description": "Expression that defines the filter to apply across findings. The expression is a list of one or more restrictions combined via logical operators `AND` and `OR`. Parentheses are supported, and `OR` has higher precedence than `AND`. Restrictions have the form ` ` and may have a `-` character in front of them to indicate negation. Examples include: * name * source_properties.a_property * security_marks.marks.marka The supported operators are: * `=` for all value types. * `>`, `<`, `>=`, `<=` for integer values. * `:`, meaning substring matching, for strings. The supported value types are: * string literals in quotes. * integer literals without quotes. * boolean literals `true` and `false` without quotes. The following field and operator combinations are supported: * name: `=` * parent: `=`, `:` * resource_name: `=`, `:` * state: `=`, `:` * category: `=`, `:` * external_uri: `=`, `:` * event_time: `=`, `>`, `<`, `>=`, `<=` Usage: This should be milliseconds since epoch or an RFC3339 string. Examples: `event_time = \"2019-06-10T16:07:18-07:00\"` `event_time = 1560208038000` * severity: `=`, `:` * workflow_state: `=`, `:` * security_marks.marks: `=`, `:` * source_properties: `=`, `:`, `>`, `<`, `>=`, `<=` For example, `source_properties.size = 100` is a valid filter string. Use a partial match on the empty string to filter based on a property existing: `source_properties.my_property : \"\"` Use a negated partial match on the empty string to filter based on a property not existing: `-source_properties.my_property : \"\"` * resource: * resource.name: `=`, `:` * resource.parent_name: `=`, `:` * resource.parent_display_name: `=`, `:` * resource.project_name: `=`, `:` * resource.project_display_name: `=`, `:` * resource.type: `=`, `:`", +"type": "string" +}, +"groupBy": { +"description": "Required. Expression that defines what assets fields to use for grouping (including `state_change`). The string value should follow SQL syntax: comma separated list of fields. For example: \"parent,resource_name\". The following fields are supported when compare_duration is set: * state_change", +"type": "string" +}, +"pageSize": { +"description": "The maximum number of results to return in a single response. Default is 10, minimum is 1, maximum is 1000.", +"format": "int32", +"type": "integer" +}, +"pageToken": { +"description": "The value returned by the last `GroupFindingsResponse`; indicates that this is a continuation of a prior `GroupFindings` call, and that the system should return the next page of data.", +"type": "string" +}, +"readTime": { +"deprecated": true, +"description": "Time used as a reference point when filtering findings. The filter is limited to findings existing at the supplied time and their values are those at that specific time. Absence of this field will default to the API's version of NOW.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"GroupFindingsResponse": { +"description": "Response message for group by findings.", +"id": "GroupFindingsResponse", +"properties": { +"groupByResults": { +"description": "Group results. There exists an element for each existing unique combination of property/values. The element contains a count for the number of times those specific property/values appear.", +"items": { +"$ref": "GroupResult" +}, +"type": "array" +}, +"nextPageToken": { +"description": "Token to retrieve the next page of results, or empty if there are no more results.", +"type": "string" +}, +"readTime": { +"description": "Time used for executing the groupBy request.", +"format": "google-datetime", +"type": "string" +}, +"totalSize": { +"description": "The total number of results matching the query.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"GroupMembership": { +"description": "Contains details about groups of which this finding is a member. A group is a collection of findings that are related in some way.", +"id": "GroupMembership", +"properties": { +"groupId": { +"description": "ID of the group.", +"type": "string" +}, +"groupType": { +"description": "Type of group.", +"enum": [ +"GROUP_TYPE_UNSPECIFIED", +"GROUP_TYPE_TOXIC_COMBINATION", +"GROUP_TYPE_CHOKEPOINT" +], +"enumDescriptions": [ +"Default value.", +"Group represents a toxic combination.", +"Group represents a chokepoint." +], +"type": "string" +} +}, +"type": "object" +}, +"GroupResult": { +"description": "Result containing the properties and count of a groupBy request.", +"id": "GroupResult", +"properties": { +"count": { +"description": "Total count of resources for the given properties.", +"format": "int64", +"type": "string" +}, +"properties": { +"additionalProperties": { +"type": "any" +}, +"description": "Properties matching the groupBy fields in the request.", +"type": "object" +} +}, +"type": "object" +}, +"IamBinding": { +"description": "Represents a particular IAM binding, which captures a member's role addition, removal, or state.", +"id": "IamBinding", +"properties": { +"action": { +"description": "The action that was performed on a Binding.", +"enum": [ +"ACTION_UNSPECIFIED", +"ADD", +"REMOVE" +], +"enumDescriptions": [ +"Unspecified.", +"Addition of a Binding.", +"Removal of a Binding." +], +"type": "string" +}, +"member": { +"description": "A single identity requesting access for a Cloud Platform resource, for example, \"foo@google.com\".", +"type": "string" +}, +"role": { +"description": "Role that is assigned to \"members\". For example, \"roles/viewer\", \"roles/editor\", or \"roles/owner\".", +"type": "string" +} +}, +"type": "object" +}, +"IamPolicy": { +"description": "Cloud IAM Policy information associated with the Google Cloud resource described by the Security Command Center asset. This information is managed and defined by the Google Cloud resource and cannot be modified by the user.", +"id": "IamPolicy", +"properties": { +"policyBlob": { +"description": "The JSON representation of the Policy associated with the asset. See https://cloud.google.com/iam/reference/rest/v1/Policy for format details.", +"type": "string" +} +}, +"type": "object" +}, +"Indicator": { +"description": "Represents what's commonly known as an _indicator of compromise_ (IoC) in computer forensics. This is an artifact observed on a network or in an operating system that, with high confidence, indicates a computer intrusion. For more information, see [Indicator of compromise](https://en.wikipedia.org/wiki/Indicator_of_compromise).", +"id": "Indicator", +"properties": { +"domains": { +"description": "List of domains associated to the Finding.", +"items": { +"type": "string" +}, +"type": "array" +}, +"ipAddresses": { +"description": "The list of IP addresses that are associated with the finding.", +"items": { +"type": "string" +}, +"type": "array" +}, +"signatures": { +"description": "The list of matched signatures indicating that the given process is present in the environment.", +"items": { +"$ref": "ProcessSignature" +}, +"type": "array" +}, +"uris": { +"description": "The list of URIs associated to the Findings.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"InfoType": { +"description": "Type of information detected by the API.", +"id": "InfoType", +"properties": { +"name": { +"description": "Name of the information type. Either a name of your choosing when creating a CustomInfoType, or one of the names listed at https://cloud.google.com/sensitive-data-protection/docs/infotypes-reference when specifying a built-in type. When sending Cloud DLP results to Data Catalog, infoType names should conform to the pattern `[A-Za-z0-9$_-]{1,64}`.", +"type": "string" +}, +"sensitivityScore": { +"$ref": "SensitivityScore", +"description": "Optional custom sensitivity for this InfoType. This only applies to data profiling." +}, +"version": { +"description": "Optional version name for this InfoType.", +"type": "string" +} +}, +"type": "object" +}, +"IpRule": { +"description": "IP rule information.", +"id": "IpRule", +"properties": { +"portRanges": { +"description": "Optional. An optional list of ports to which this rule applies. This field is only applicable for the UDP or (S)TCP protocols. Each entry must be either an integer or a range including a min and max port number.", +"items": { +"$ref": "PortRange" +}, +"type": "array" +}, +"protocol": { +"description": "The IP protocol this rule applies to. This value can either be one of the following well known protocol strings (TCP, UDP, ICMP, ESP, AH, IPIP, SCTP) or a string representation of the integer value.", +"type": "string" +} +}, +"type": "object" +}, +"IpRules": { +"description": "IP rules associated with the finding.", +"id": "IpRules", +"properties": { +"allowed": { +"$ref": "Allowed", +"description": "Tuple with allowed rules." +}, +"denied": { +"$ref": "Denied", +"description": "Tuple with denied rules." +}, +"destinationIpRanges": { +"description": "If destination IP ranges are specified, the firewall rule applies only to traffic that has a destination IP address in these ranges. These ranges must be expressed in CIDR format. Only supports IPv4.", +"items": { +"type": "string" +}, +"type": "array" +}, +"direction": { +"description": "The direction that the rule is applicable to, one of ingress or egress.", +"enum": [ +"DIRECTION_UNSPECIFIED", +"INGRESS", +"EGRESS" +], +"enumDescriptions": [ +"Unspecified direction value.", +"Ingress direction value.", +"Egress direction value." +], +"type": "string" +}, +"exposedServices": { +"description": "Name of the network protocol service, such as FTP, that is exposed by the open port. Follows the naming convention available at: https://www.iana.org/assignments/service-names-port-numbers/service-names-port-numbers.xhtml.", +"items": { +"type": "string" +}, +"type": "array" +}, +"sourceIpRanges": { +"description": "If source IP ranges are specified, the firewall rule applies only to traffic that has a source IP address in these ranges. These ranges must be expressed in CIDR format. Only supports IPv4.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"Job": { +"description": "Describes a job", +"id": "Job", +"properties": { +"errorCode": { +"description": "Optional. If the job did not complete successfully, this field describes why.", +"format": "int32", +"type": "integer" +}, +"location": { +"description": "Optional. Gives the location where the job ran, such as `US` or `europe-west1`", +"type": "string" +}, +"name": { +"description": "The fully-qualified name for a job. e.g. `projects//jobs/`", +"type": "string" +}, +"state": { +"description": "Output only. State of the job, such as `RUNNING` or `PENDING`.", +"enum": [ +"JOB_STATE_UNSPECIFIED", +"PENDING", +"RUNNING", +"SUCCEEDED", +"FAILED" +], +"enumDescriptions": [ +"Unspecified represents an unknown state and should not be used.", +"Job is scheduled and pending for run", +"Job in progress", +"Job has completed with success", +"Job has completed but with failure" +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"KernelRootkit": { +"description": "Kernel mode rootkit signatures.", +"id": "KernelRootkit", +"properties": { +"name": { +"description": "Rootkit name, when available.", +"type": "string" +}, +"unexpectedCodeModification": { +"description": "True if unexpected modifications of kernel code memory are present.", +"type": "boolean" +}, +"unexpectedFtraceHandler": { +"description": "True if `ftrace` points are present with callbacks pointing to regions that are not in the expected kernel or module code range.", +"type": "boolean" +}, +"unexpectedInterruptHandler": { +"description": "True if interrupt handlers that are are not in the expected kernel or module code regions are present.", +"type": "boolean" +}, +"unexpectedKernelCodePages": { +"description": "True if kernel code pages that are not in the expected kernel or module code regions are present.", +"type": "boolean" +}, +"unexpectedKprobeHandler": { +"description": "True if `kprobe` points are present with callbacks pointing to regions that are not in the expected kernel or module code range.", +"type": "boolean" +}, +"unexpectedProcessesInRunqueue": { +"description": "True if unexpected processes in the scheduler run queue are present. Such processes are in the run queue, but not in the process task list.", +"type": "boolean" +}, +"unexpectedReadOnlyDataModification": { +"description": "True if unexpected modifications of kernel read-only data memory are present.", +"type": "boolean" +}, +"unexpectedSystemCallHandler": { +"description": "True if system call handlers that are are not in the expected kernel or module code regions are present.", +"type": "boolean" +} +}, +"type": "object" +}, +"Kubernetes": { +"description": "Kubernetes-related attributes.", +"id": "Kubernetes", +"properties": { +"accessReviews": { +"description": "Provides information on any Kubernetes access reviews (privilege checks) relevant to the finding.", +"items": { +"$ref": "AccessReview" +}, +"type": "array" +}, +"bindings": { +"description": "Provides Kubernetes role binding information for findings that involve [RoleBindings or ClusterRoleBindings](https://cloud.google.com/kubernetes-engine/docs/how-to/role-based-access-control).", +"items": { +"$ref": "GoogleCloudSecuritycenterV1Binding" +}, +"type": "array" +}, +"nodePools": { +"description": "GKE [node pools](https://cloud.google.com/kubernetes-engine/docs/concepts/node-pools) associated with the finding. This field contains node pool information for each node, when it is available.", +"items": { +"$ref": "NodePool" +}, +"type": "array" +}, +"nodes": { +"description": "Provides Kubernetes [node](https://cloud.google.com/kubernetes-engine/docs/concepts/cluster-architecture#nodes) information.", +"items": { +"$ref": "Node" +}, +"type": "array" +}, +"objects": { +"description": "Kubernetes objects related to the finding.", +"items": { +"$ref": "Object" +}, +"type": "array" +}, +"pods": { +"description": "Kubernetes [Pods](https://cloud.google.com/kubernetes-engine/docs/concepts/pod) associated with the finding. This field contains Pod records for each container that is owned by a Pod.", +"items": { +"$ref": "Pod" +}, +"type": "array" +}, +"roles": { +"description": "Provides Kubernetes role information for findings that involve [Roles or ClusterRoles](https://cloud.google.com/kubernetes-engine/docs/how-to/role-based-access-control).", +"items": { +"$ref": "Role" +}, +"type": "array" +} +}, +"type": "object" +}, +"Label": { +"description": "Represents a generic name-value label. A label has separate name and value fields to support filtering with the `contains()` function. For more information, see [Filtering on array-type fields](https://cloud.google.com/security-command-center/docs/how-to-api-list-findings#array-contains-filtering).", +"id": "Label", +"properties": { +"name": { +"description": "Name of the label.", +"type": "string" +}, +"value": { +"description": "Value that corresponds to the label's name.", +"type": "string" +} +}, +"type": "object" +}, +"ListAssetsResponse": { +"description": "Response message for listing assets.", +"id": "ListAssetsResponse", +"properties": { +"listAssetsResults": { +"description": "Assets matching the list request.", +"items": { +"$ref": "ListAssetsResult" +}, +"type": "array" +}, +"nextPageToken": { +"description": "Token to retrieve the next page of results, or empty if there are no more results.", +"type": "string" +}, +"readTime": { +"description": "Time used for executing the list request.", +"format": "google-datetime", +"type": "string" +}, +"totalSize": { +"description": "The total number of assets matching the query.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"ListAssetsResult": { +"description": "Result containing the Asset and its State.", +"id": "ListAssetsResult", +"properties": { +"asset": { +"$ref": "Asset", +"description": "Asset matching the search request." +}, +"stateChange": { +"description": "State change of the asset between the points in time.", +"enum": [ +"UNUSED", +"ADDED", +"REMOVED", +"ACTIVE" +], +"enumDescriptions": [ +"State change is unused, this is the canonical default for this enum.", +"Asset was added between the points in time.", +"Asset was removed between the points in time.", +"Asset was present at both point(s) in time." +], +"type": "string" +} +}, +"type": "object" +}, +"ListAttackPathsResponse": { +"description": "Response message for listing the attack paths for a given simulation or valued resource.", +"id": "ListAttackPathsResponse", +"properties": { +"attackPaths": { +"description": "The attack paths that the attack path simulation identified.", +"items": { +"$ref": "AttackPath" +}, +"type": "array" +}, +"nextPageToken": { +"description": "Token to retrieve the next page of results, or empty if there are no more results.", +"type": "string" +} +}, +"type": "object" +}, +"ListBigQueryExportsResponse": { +"description": "Response message for listing BigQuery exports.", +"id": "ListBigQueryExportsResponse", +"properties": { +"bigQueryExports": { +"description": "The BigQuery exports from the specified parent.", +"items": { +"$ref": "GoogleCloudSecuritycenterV1BigQueryExport" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.", +"type": "string" +} +}, +"type": "object" +}, +"ListDescendantEventThreatDetectionCustomModulesResponse": { +"description": "Response for listing current and descendant resident Event Threat Detection custom modules.", +"id": "ListDescendantEventThreatDetectionCustomModulesResponse", +"properties": { +"eventThreatDetectionCustomModules": { +"description": "Custom modules belonging to the requested parent.", +"items": { +"$ref": "EventThreatDetectionCustomModule" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.", +"type": "string" +} +}, +"type": "object" +}, +"ListDescendantSecurityHealthAnalyticsCustomModulesResponse": { +"description": "Response message for listing descendant Security Health Analytics custom modules.", +"id": "ListDescendantSecurityHealthAnalyticsCustomModulesResponse", +"properties": { +"nextPageToken": { +"description": "If not empty, indicates that there may be more custom modules to be returned.", +"type": "string" +}, +"securityHealthAnalyticsCustomModules": { +"description": "Custom modules belonging to the requested parent and its descendants.", +"items": { +"$ref": "GoogleCloudSecuritycenterV1SecurityHealthAnalyticsCustomModule" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListEffectiveEventThreatDetectionCustomModulesResponse": { +"description": "Response for listing EffectiveEventThreatDetectionCustomModules.", +"id": "ListEffectiveEventThreatDetectionCustomModulesResponse", +"properties": { +"effectiveEventThreatDetectionCustomModules": { +"description": "Effective custom modules belonging to the requested parent.", +"items": { +"$ref": "EffectiveEventThreatDetectionCustomModule" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.", +"type": "string" +} +}, +"type": "object" +}, +"ListEffectiveSecurityHealthAnalyticsCustomModulesResponse": { +"description": "Response message for listing effective Security Health Analytics custom modules.", +"id": "ListEffectiveSecurityHealthAnalyticsCustomModulesResponse", +"properties": { +"effectiveSecurityHealthAnalyticsCustomModules": { +"description": "Effective custom modules belonging to the requested parent.", +"items": { +"$ref": "GoogleCloudSecuritycenterV1EffectiveSecurityHealthAnalyticsCustomModule" +}, +"type": "array" +}, +"nextPageToken": { +"description": "If not empty, indicates that there may be more effective custom modules to be returned.", +"type": "string" +} +}, +"type": "object" +}, +"ListEventThreatDetectionCustomModulesResponse": { +"description": "Response for listing Event Threat Detection custom modules.", +"id": "ListEventThreatDetectionCustomModulesResponse", +"properties": { +"eventThreatDetectionCustomModules": { +"description": "Custom modules belonging to the requested parent.", +"items": { +"$ref": "EventThreatDetectionCustomModule" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.", +"type": "string" +} +}, +"type": "object" +}, +"ListFindingsResponse": { +"description": "Response message for listing findings.", +"id": "ListFindingsResponse", +"properties": { +"listFindingsResults": { +"description": "Findings matching the list request.", +"items": { +"$ref": "ListFindingsResult" +}, +"type": "array" +}, +"nextPageToken": { +"description": "Token to retrieve the next page of results, or empty if there are no more results.", +"type": "string" +}, +"readTime": { +"description": "Time used for executing the list request.", +"format": "google-datetime", +"type": "string" +}, +"totalSize": { +"description": "The total number of findings matching the query.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"ListFindingsResult": { +"description": "Result containing the Finding and its StateChange.", +"id": "ListFindingsResult", +"properties": { +"finding": { +"$ref": "Finding", +"description": "Finding matching the search request." +}, +"resource": { +"$ref": "Resource", +"description": "Output only. Resource that is associated with this finding.", +"readOnly": true +}, +"stateChange": { +"description": "State change of the finding between the points in time.", +"enum": [ +"UNUSED", +"CHANGED", +"UNCHANGED", +"ADDED", +"REMOVED" +], +"enumDescriptions": [ +"State change is unused, this is the canonical default for this enum.", +"The finding has changed state in some way between the points in time and existed at both points.", +"The finding has not changed state between the points in time and existed at both points.", +"The finding was created between the points in time.", +"The finding at timestamp does not match the filter specified, but it did at timestamp - compare_duration." +], +"type": "string" +} +}, +"type": "object" +}, +"ListMuteConfigsResponse": { +"description": "Response message for listing mute configs.", +"id": "ListMuteConfigsResponse", +"properties": { +"muteConfigs": { +"description": "The mute configs from the specified parent.", +"items": { +"$ref": "GoogleCloudSecuritycenterV1MuteConfig" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.", +"type": "string" +} +}, +"type": "object" +}, +"ListNotificationConfigsResponse": { +"description": "Response message for listing notification configs.", +"id": "ListNotificationConfigsResponse", +"properties": { +"nextPageToken": { +"description": "Token to retrieve the next page of results, or empty if there are no more results.", +"type": "string" +}, +"notificationConfigs": { +"description": "Notification configs belonging to the requested parent.", +"items": { +"$ref": "NotificationConfig" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListOperationsResponse": { +"description": "The response message for Operations.ListOperations.", +"id": "ListOperationsResponse", +"properties": { +"nextPageToken": { +"description": "The standard List next-page token.", +"type": "string" +}, +"operations": { +"description": "A list of operations that matches the specified filter in the request.", +"items": { +"$ref": "Operation" +}, +"type": "array" +}, +"unreachable": { +"description": "Unordered list. Unreachable resources. Populated when the request sets `ListOperationsRequest.return_partial_success` and reads across collections. For example, when attempting to list all resources across all supported locations.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListResourceValueConfigsResponse": { +"description": "Response message to list resource value configs", +"id": "ListResourceValueConfigsResponse", +"properties": { +"nextPageToken": { +"description": "A token, which can be sent as `page_token` to retrieve the next page. If this field is empty, there are no subsequent pages.", +"type": "string" +}, +"resourceValueConfigs": { +"description": "The resource value configs from the specified parent.", +"items": { +"$ref": "GoogleCloudSecuritycenterV1ResourceValueConfig" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListSecurityHealthAnalyticsCustomModulesResponse": { +"description": "Response message for listing Security Health Analytics custom modules.", +"id": "ListSecurityHealthAnalyticsCustomModulesResponse", +"properties": { +"nextPageToken": { +"description": "If not empty, indicates that there may be more custom modules to be returned.", +"type": "string" +}, +"securityHealthAnalyticsCustomModules": { +"description": "Custom modules belonging to the requested parent.", +"items": { +"$ref": "GoogleCloudSecuritycenterV1SecurityHealthAnalyticsCustomModule" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListSourcesResponse": { +"description": "Response message for listing sources.", +"id": "ListSourcesResponse", +"properties": { +"nextPageToken": { +"description": "Token to retrieve the next page of results, or empty if there are no more results.", +"type": "string" +}, +"sources": { +"description": "Sources belonging to the requested parent.", +"items": { +"$ref": "Source" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListValuedResourcesResponse": { +"description": "Response message for listing the valued resources for a given simulation.", +"id": "ListValuedResourcesResponse", +"properties": { +"nextPageToken": { +"description": "Token to retrieve the next page of results, or empty if there are no more results.", +"type": "string" +}, +"totalSize": { +"description": "The estimated total number of results matching the query.", +"format": "int32", +"type": "integer" +}, +"valuedResources": { +"description": "The valued resources that the attack path simulation identified.", +"items": { +"$ref": "ValuedResource" +}, +"type": "array" +} +}, +"type": "object" +}, +"LoadBalancer": { +"description": "Contains information related to the load balancer associated with the finding.", +"id": "LoadBalancer", +"properties": { +"name": { +"description": "The name of the load balancer associated with the finding.", +"type": "string" +} +}, +"type": "object" +}, +"LogEntry": { +"description": "An individual entry in a log.", +"id": "LogEntry", +"properties": { +"cloudLoggingEntry": { +"$ref": "CloudLoggingEntry", +"description": "An individual entry in a log stored in Cloud Logging." +} +}, +"type": "object" +}, +"MemoryHashSignature": { +"description": "A signature corresponding to memory page hashes.", +"id": "MemoryHashSignature", +"properties": { +"binaryFamily": { +"description": "The binary family.", +"type": "string" +}, +"detections": { +"description": "The list of memory hash detections contributing to the binary family match.", +"items": { +"$ref": "Detection" +}, +"type": "array" +} +}, +"type": "object" +}, +"MitreAttack": { +"description": "MITRE ATT&CK tactics and techniques related to this finding. See: https://attack.mitre.org", +"id": "MitreAttack", +"properties": { +"additionalTactics": { +"description": "Additional MITRE ATT&CK tactics related to this finding, if any.", +"items": { +"enum": [ +"TACTIC_UNSPECIFIED", +"RECONNAISSANCE", +"RESOURCE_DEVELOPMENT", +"INITIAL_ACCESS", +"EXECUTION", +"PERSISTENCE", +"PRIVILEGE_ESCALATION", +"DEFENSE_EVASION", +"CREDENTIAL_ACCESS", +"DISCOVERY", +"LATERAL_MOVEMENT", +"COLLECTION", +"COMMAND_AND_CONTROL", +"EXFILTRATION", +"IMPACT" +], +"enumDescriptions": [ +"Unspecified value.", +"TA0043", +"TA0042", +"TA0001", +"TA0002", +"TA0003", +"TA0004", +"TA0005", +"TA0006", +"TA0007", +"TA0008", +"TA0009", +"TA0011", +"TA0010", +"TA0040" +], +"type": "string" +}, +"type": "array" +}, +"additionalTechniques": { +"description": "Additional MITRE ATT&CK techniques related to this finding, if any, along with any of their respective parent techniques.", +"items": { +"enum": [ +"TECHNIQUE_UNSPECIFIED", +"DATA_OBFUSCATION", +"DATA_OBFUSCATION_STEGANOGRAPHY", +"OS_CREDENTIAL_DUMPING", +"OS_CREDENTIAL_DUMPING_PROC_FILESYSTEM", +"OS_CREDENTIAL_DUMPING_ETC_PASSWORD_AND_ETC_SHADOW", +"DATA_FROM_LOCAL_SYSTEM", +"AUTOMATED_EXFILTRATION", +"OBFUSCATED_FILES_OR_INFO", +"STEGANOGRAPHY", +"COMPILE_AFTER_DELIVERY", +"COMMAND_OBFUSCATION", +"SCHEDULED_TRANSFER", +"SYSTEM_OWNER_USER_DISCOVERY", +"MASQUERADING", +"MATCH_LEGITIMATE_NAME_OR_LOCATION", +"BOOT_OR_LOGON_INITIALIZATION_SCRIPTS", +"STARTUP_ITEMS", +"NETWORK_SERVICE_DISCOVERY", +"SCHEDULED_TASK_JOB", +"SCHEDULED_TASK_JOB_CRON", +"CONTAINER_ORCHESTRATION_JOB", +"PROCESS_INJECTION", +"INPUT_CAPTURE", +"INPUT_CAPTURE_KEYLOGGING", +"PROCESS_DISCOVERY", +"COMMAND_AND_SCRIPTING_INTERPRETER", +"UNIX_SHELL", +"PYTHON", +"EXPLOITATION_FOR_PRIVILEGE_ESCALATION", +"PERMISSION_GROUPS_DISCOVERY", +"CLOUD_GROUPS", +"INDICATOR_REMOVAL", +"INDICATOR_REMOVAL_CLEAR_LINUX_OR_MAC_SYSTEM_LOGS", +"INDICATOR_REMOVAL_CLEAR_COMMAND_HISTORY", +"INDICATOR_REMOVAL_FILE_DELETION", +"INDICATOR_REMOVAL_TIMESTOMP", +"INDICATOR_REMOVAL_CLEAR_MAILBOX_DATA", +"APPLICATION_LAYER_PROTOCOL", +"DNS", +"SOFTWARE_DEPLOYMENT_TOOLS", +"VALID_ACCOUNTS", +"DEFAULT_ACCOUNTS", +"LOCAL_ACCOUNTS", +"CLOUD_ACCOUNTS", +"FILE_AND_DIRECTORY_DISCOVERY", +"ACCOUNT_DISCOVERY_LOCAL_ACCOUNT", +"PROXY", +"EXTERNAL_PROXY", +"MULTI_HOP_PROXY", +"ACCOUNT_MANIPULATION", +"ADDITIONAL_CLOUD_CREDENTIALS", +"ADDITIONAL_CLOUD_ROLES", +"SSH_AUTHORIZED_KEYS", +"ADDITIONAL_CONTAINER_CLUSTER_ROLES", +"MULTI_STAGE_CHANNELS", +"INGRESS_TOOL_TRANSFER", +"NATIVE_API", +"BRUTE_FORCE", +"AUTOMATED_COLLECTION", +"SHARED_MODULES", +"DATA_ENCODING", +"STANDARD_ENCODING", +"ACCESS_TOKEN_MANIPULATION", +"TOKEN_IMPERSONATION_OR_THEFT", +"CREATE_ACCOUNT", +"LOCAL_ACCOUNT", +"DEOBFUSCATE_DECODE_FILES_OR_INFO", +"EXPLOIT_PUBLIC_FACING_APPLICATION", +"SUPPLY_CHAIN_COMPROMISE", +"COMPROMISE_SOFTWARE_DEPENDENCIES_AND_DEVELOPMENT_TOOLS", +"EXPLOITATION_FOR_CLIENT_EXECUTION", +"USER_EXECUTION", +"EXPLOITATION_FOR_CREDENTIAL_ACCESS", +"LINUX_AND_MAC_FILE_AND_DIRECTORY_PERMISSIONS_MODIFICATION", +"DOMAIN_POLICY_MODIFICATION", +"DATA_DESTRUCTION", +"DATA_ENCRYPTED_FOR_IMPACT", +"SERVICE_STOP", +"INHIBIT_SYSTEM_RECOVERY", +"FIRMWARE_CORRUPTION", +"RESOURCE_HIJACKING", +"NETWORK_DENIAL_OF_SERVICE", +"CLOUD_SERVICE_DISCOVERY", +"STEAL_APPLICATION_ACCESS_TOKEN", +"ACCOUNT_ACCESS_REMOVAL", +"TRANSFER_DATA_TO_CLOUD_ACCOUNT", +"STEAL_WEB_SESSION_COOKIE", +"CREATE_OR_MODIFY_SYSTEM_PROCESS", +"EVENT_TRIGGERED_EXECUTION", +"BOOT_OR_LOGON_AUTOSTART_EXECUTION", +"KERNEL_MODULES_AND_EXTENSIONS", +"SHORTCUT_MODIFICATION", +"ABUSE_ELEVATION_CONTROL_MECHANISM", +"ABUSE_ELEVATION_CONTROL_MECHANISM_SETUID_AND_SETGID", +"ABUSE_ELEVATION_CONTROL_MECHANISM_SUDO_AND_SUDO_CACHING", +"UNSECURED_CREDENTIALS", +"CREDENTIALS_IN_FILES", +"BASH_HISTORY", +"PRIVATE_KEYS", +"SUBVERT_TRUST_CONTROL", +"INSTALL_ROOT_CERTIFICATE", +"COMPROMISE_HOST_SOFTWARE_BINARY", +"CREDENTIALS_FROM_PASSWORD_STORES", +"MODIFY_AUTHENTICATION_PROCESS", +"PLUGGABLE_AUTHENTICATION_MODULES", +"MULTI_FACTOR_AUTHENTICATION", +"IMPAIR_DEFENSES", +"DISABLE_OR_MODIFY_TOOLS", +"INDICATOR_BLOCKING", +"DISABLE_OR_MODIFY_LINUX_AUDIT_SYSTEM", +"HIDE_ARTIFACTS", +"HIDDEN_FILES_AND_DIRECTORIES", +"HIDDEN_USERS", +"EXFILTRATION_OVER_WEB_SERVICE", +"EXFILTRATION_TO_CLOUD_STORAGE", +"DYNAMIC_RESOLUTION", +"LATERAL_TOOL_TRANSFER", +"HIJACK_EXECUTION_FLOW", +"HIJACK_EXECUTION_FLOW_DYNAMIC_LINKER_HIJACKING", +"MODIFY_CLOUD_COMPUTE_INFRASTRUCTURE", +"CREATE_SNAPSHOT", +"CLOUD_INFRASTRUCTURE_DISCOVERY", +"DEVELOP_CAPABILITIES", +"DEVELOP_CAPABILITIES_MALWARE", +"OBTAIN_CAPABILITIES", +"OBTAIN_CAPABILITIES_MALWARE", +"OBTAIN_CAPABILITIES_VULNERABILITIES", +"ACTIVE_SCANNING", +"SCANNING_IP_BLOCKS", +"STAGE_CAPABILITIES", +"UPLOAD_MALWARE", +"CONTAINER_ADMINISTRATION_COMMAND", +"DEPLOY_CONTAINER", +"ESCAPE_TO_HOST", +"CONTAINER_AND_RESOURCE_DISCOVERY", +"REFLECTIVE_CODE_LOADING", +"STEAL_OR_FORGE_AUTHENTICATION_CERTIFICATES", +"FINANCIAL_THEFT" +], +"enumDescriptions": [ +"Unspecified value.", +"T1001", +"T1001.002", +"T1003", +"T1003.007", +"T1003.008", +"T1005", +"T1020", +"T1027", +"T1027.003", +"T1027.004", +"T1027.010", +"T1029", +"T1033", +"T1036", +"T1036.005", +"T1037", +"T1037.005", +"T1046", +"T1053", +"T1053.003", +"T1053.007", +"T1055", +"T1056", +"T1056.001", +"T1057", +"T1059", +"T1059.004", +"T1059.006", +"T1068", +"T1069", +"T1069.003", +"T1070", +"T1070.002", +"T1070.003", +"T1070.004", +"T1070.006", +"T1070.008", +"T1071", +"T1071.004", +"T1072", +"T1078", +"T1078.001", +"T1078.003", +"T1078.004", +"T1083", +"T1087.001", +"T1090", +"T1090.002", +"T1090.003", +"T1098", +"T1098.001", +"T1098.003", +"T1098.004", +"T1098.006", +"T1104", +"T1105", +"T1106", +"T1110", +"T1119", +"T1129", +"T1132", +"T1132.001", +"T1134", +"T1134.001", +"T1136", +"T1136.001", +"T1140", +"T1190", +"T1195", +"T1195.001", +"T1203", +"T1204", +"T1212", +"T1222.002", +"T1484", +"T1485", +"T1486", +"T1489", +"T1490", +"T1495", +"T1496", +"T1498", +"T1526", +"T1528", +"T1531", +"T1537", +"T1539", +"T1543", +"T1546", +"T1547", +"T1547.006", +"T1547.009", +"T1548", +"T1548.001", +"T1548.003", +"T1552", +"T1552.001", +"T1552.003", +"T1552.004", +"T1553", +"T1553.004", +"T1554", +"T1555", +"T1556", +"T1556.003", +"T1556.006", +"T1562", +"T1562.001", +"T1562.006", +"T1562.012", +"T1564", +"T1564.001", +"T1564.002", +"T1567", +"T1567.002", +"T1568", +"T1570", +"T1574", +"T1574.006", +"T1578", +"T1578.001", +"T1580", +"T1587", +"T1587.001", +"T1588", +"T1588.001", +"T1588.006", +"T1595", +"T1595.001", +"T1608", +"T1608.001", +"T1609", +"T1610", +"T1611", +"T1613", +"T1620", +"T1649", +"T1657" +], +"type": "string" +}, +"type": "array" +}, +"primaryTactic": { +"description": "The MITRE ATT&CK tactic most closely represented by this finding, if any.", +"enum": [ +"TACTIC_UNSPECIFIED", +"RECONNAISSANCE", +"RESOURCE_DEVELOPMENT", +"INITIAL_ACCESS", +"EXECUTION", +"PERSISTENCE", +"PRIVILEGE_ESCALATION", +"DEFENSE_EVASION", +"CREDENTIAL_ACCESS", +"DISCOVERY", +"LATERAL_MOVEMENT", +"COLLECTION", +"COMMAND_AND_CONTROL", +"EXFILTRATION", +"IMPACT" +], +"enumDescriptions": [ +"Unspecified value.", +"TA0043", +"TA0042", +"TA0001", +"TA0002", +"TA0003", +"TA0004", +"TA0005", +"TA0006", +"TA0007", +"TA0008", +"TA0009", +"TA0011", +"TA0010", +"TA0040" +], +"type": "string" +}, +"primaryTechniques": { +"description": "The MITRE ATT&CK technique most closely represented by this finding, if any. primary_techniques is a repeated field because there are multiple levels of MITRE ATT&CK techniques. If the technique most closely represented by this finding is a sub-technique (e.g. `SCANNING_IP_BLOCKS`), both the sub-technique and its parent technique(s) will be listed (e.g. `SCANNING_IP_BLOCKS`, `ACTIVE_SCANNING`).", +"items": { +"enum": [ +"TECHNIQUE_UNSPECIFIED", +"DATA_OBFUSCATION", +"DATA_OBFUSCATION_STEGANOGRAPHY", +"OS_CREDENTIAL_DUMPING", +"OS_CREDENTIAL_DUMPING_PROC_FILESYSTEM", +"OS_CREDENTIAL_DUMPING_ETC_PASSWORD_AND_ETC_SHADOW", +"DATA_FROM_LOCAL_SYSTEM", +"AUTOMATED_EXFILTRATION", +"OBFUSCATED_FILES_OR_INFO", +"STEGANOGRAPHY", +"COMPILE_AFTER_DELIVERY", +"COMMAND_OBFUSCATION", +"SCHEDULED_TRANSFER", +"SYSTEM_OWNER_USER_DISCOVERY", +"MASQUERADING", +"MATCH_LEGITIMATE_NAME_OR_LOCATION", +"BOOT_OR_LOGON_INITIALIZATION_SCRIPTS", +"STARTUP_ITEMS", +"NETWORK_SERVICE_DISCOVERY", +"SCHEDULED_TASK_JOB", +"SCHEDULED_TASK_JOB_CRON", +"CONTAINER_ORCHESTRATION_JOB", +"PROCESS_INJECTION", +"INPUT_CAPTURE", +"INPUT_CAPTURE_KEYLOGGING", +"PROCESS_DISCOVERY", +"COMMAND_AND_SCRIPTING_INTERPRETER", +"UNIX_SHELL", +"PYTHON", +"EXPLOITATION_FOR_PRIVILEGE_ESCALATION", +"PERMISSION_GROUPS_DISCOVERY", +"CLOUD_GROUPS", +"INDICATOR_REMOVAL", +"INDICATOR_REMOVAL_CLEAR_LINUX_OR_MAC_SYSTEM_LOGS", +"INDICATOR_REMOVAL_CLEAR_COMMAND_HISTORY", +"INDICATOR_REMOVAL_FILE_DELETION", +"INDICATOR_REMOVAL_TIMESTOMP", +"INDICATOR_REMOVAL_CLEAR_MAILBOX_DATA", +"APPLICATION_LAYER_PROTOCOL", +"DNS", +"SOFTWARE_DEPLOYMENT_TOOLS", +"VALID_ACCOUNTS", +"DEFAULT_ACCOUNTS", +"LOCAL_ACCOUNTS", +"CLOUD_ACCOUNTS", +"FILE_AND_DIRECTORY_DISCOVERY", +"ACCOUNT_DISCOVERY_LOCAL_ACCOUNT", +"PROXY", +"EXTERNAL_PROXY", +"MULTI_HOP_PROXY", +"ACCOUNT_MANIPULATION", +"ADDITIONAL_CLOUD_CREDENTIALS", +"ADDITIONAL_CLOUD_ROLES", +"SSH_AUTHORIZED_KEYS", +"ADDITIONAL_CONTAINER_CLUSTER_ROLES", +"MULTI_STAGE_CHANNELS", +"INGRESS_TOOL_TRANSFER", +"NATIVE_API", +"BRUTE_FORCE", +"AUTOMATED_COLLECTION", +"SHARED_MODULES", +"DATA_ENCODING", +"STANDARD_ENCODING", +"ACCESS_TOKEN_MANIPULATION", +"TOKEN_IMPERSONATION_OR_THEFT", +"CREATE_ACCOUNT", +"LOCAL_ACCOUNT", +"DEOBFUSCATE_DECODE_FILES_OR_INFO", +"EXPLOIT_PUBLIC_FACING_APPLICATION", +"SUPPLY_CHAIN_COMPROMISE", +"COMPROMISE_SOFTWARE_DEPENDENCIES_AND_DEVELOPMENT_TOOLS", +"EXPLOITATION_FOR_CLIENT_EXECUTION", +"USER_EXECUTION", +"EXPLOITATION_FOR_CREDENTIAL_ACCESS", +"LINUX_AND_MAC_FILE_AND_DIRECTORY_PERMISSIONS_MODIFICATION", +"DOMAIN_POLICY_MODIFICATION", +"DATA_DESTRUCTION", +"DATA_ENCRYPTED_FOR_IMPACT", +"SERVICE_STOP", +"INHIBIT_SYSTEM_RECOVERY", +"FIRMWARE_CORRUPTION", +"RESOURCE_HIJACKING", +"NETWORK_DENIAL_OF_SERVICE", +"CLOUD_SERVICE_DISCOVERY", +"STEAL_APPLICATION_ACCESS_TOKEN", +"ACCOUNT_ACCESS_REMOVAL", +"TRANSFER_DATA_TO_CLOUD_ACCOUNT", +"STEAL_WEB_SESSION_COOKIE", +"CREATE_OR_MODIFY_SYSTEM_PROCESS", +"EVENT_TRIGGERED_EXECUTION", +"BOOT_OR_LOGON_AUTOSTART_EXECUTION", +"KERNEL_MODULES_AND_EXTENSIONS", +"SHORTCUT_MODIFICATION", +"ABUSE_ELEVATION_CONTROL_MECHANISM", +"ABUSE_ELEVATION_CONTROL_MECHANISM_SETUID_AND_SETGID", +"ABUSE_ELEVATION_CONTROL_MECHANISM_SUDO_AND_SUDO_CACHING", +"UNSECURED_CREDENTIALS", +"CREDENTIALS_IN_FILES", +"BASH_HISTORY", +"PRIVATE_KEYS", +"SUBVERT_TRUST_CONTROL", +"INSTALL_ROOT_CERTIFICATE", +"COMPROMISE_HOST_SOFTWARE_BINARY", +"CREDENTIALS_FROM_PASSWORD_STORES", +"MODIFY_AUTHENTICATION_PROCESS", +"PLUGGABLE_AUTHENTICATION_MODULES", +"MULTI_FACTOR_AUTHENTICATION", +"IMPAIR_DEFENSES", +"DISABLE_OR_MODIFY_TOOLS", +"INDICATOR_BLOCKING", +"DISABLE_OR_MODIFY_LINUX_AUDIT_SYSTEM", +"HIDE_ARTIFACTS", +"HIDDEN_FILES_AND_DIRECTORIES", +"HIDDEN_USERS", +"EXFILTRATION_OVER_WEB_SERVICE", +"EXFILTRATION_TO_CLOUD_STORAGE", +"DYNAMIC_RESOLUTION", +"LATERAL_TOOL_TRANSFER", +"HIJACK_EXECUTION_FLOW", +"HIJACK_EXECUTION_FLOW_DYNAMIC_LINKER_HIJACKING", +"MODIFY_CLOUD_COMPUTE_INFRASTRUCTURE", +"CREATE_SNAPSHOT", +"CLOUD_INFRASTRUCTURE_DISCOVERY", +"DEVELOP_CAPABILITIES", +"DEVELOP_CAPABILITIES_MALWARE", +"OBTAIN_CAPABILITIES", +"OBTAIN_CAPABILITIES_MALWARE", +"OBTAIN_CAPABILITIES_VULNERABILITIES", +"ACTIVE_SCANNING", +"SCANNING_IP_BLOCKS", +"STAGE_CAPABILITIES", +"UPLOAD_MALWARE", +"CONTAINER_ADMINISTRATION_COMMAND", +"DEPLOY_CONTAINER", +"ESCAPE_TO_HOST", +"CONTAINER_AND_RESOURCE_DISCOVERY", +"REFLECTIVE_CODE_LOADING", +"STEAL_OR_FORGE_AUTHENTICATION_CERTIFICATES", +"FINANCIAL_THEFT" +], +"enumDescriptions": [ +"Unspecified value.", +"T1001", +"T1001.002", +"T1003", +"T1003.007", +"T1003.008", +"T1005", +"T1020", +"T1027", +"T1027.003", +"T1027.004", +"T1027.010", +"T1029", +"T1033", +"T1036", +"T1036.005", +"T1037", +"T1037.005", +"T1046", +"T1053", +"T1053.003", +"T1053.007", +"T1055", +"T1056", +"T1056.001", +"T1057", +"T1059", +"T1059.004", +"T1059.006", +"T1068", +"T1069", +"T1069.003", +"T1070", +"T1070.002", +"T1070.003", +"T1070.004", +"T1070.006", +"T1070.008", +"T1071", +"T1071.004", +"T1072", +"T1078", +"T1078.001", +"T1078.003", +"T1078.004", +"T1083", +"T1087.001", +"T1090", +"T1090.002", +"T1090.003", +"T1098", +"T1098.001", +"T1098.003", +"T1098.004", +"T1098.006", +"T1104", +"T1105", +"T1106", +"T1110", +"T1119", +"T1129", +"T1132", +"T1132.001", +"T1134", +"T1134.001", +"T1136", +"T1136.001", +"T1140", +"T1190", +"T1195", +"T1195.001", +"T1203", +"T1204", +"T1212", +"T1222.002", +"T1484", +"T1485", +"T1486", +"T1489", +"T1490", +"T1495", +"T1496", +"T1498", +"T1526", +"T1528", +"T1531", +"T1537", +"T1539", +"T1543", +"T1546", +"T1547", +"T1547.006", +"T1547.009", +"T1548", +"T1548.001", +"T1548.003", +"T1552", +"T1552.001", +"T1552.003", +"T1552.004", +"T1553", +"T1553.004", +"T1554", +"T1555", +"T1556", +"T1556.003", +"T1556.006", +"T1562", +"T1562.001", +"T1562.006", +"T1562.012", +"T1564", +"T1564.001", +"T1564.002", +"T1567", +"T1567.002", +"T1568", +"T1570", +"T1574", +"T1574.006", +"T1578", +"T1578.001", +"T1580", +"T1587", +"T1587.001", +"T1588", +"T1588.001", +"T1588.006", +"T1595", +"T1595.001", +"T1608", +"T1608.001", +"T1609", +"T1610", +"T1611", +"T1613", +"T1620", +"T1649", +"T1657" +], +"type": "string" +}, +"type": "array" +}, +"version": { +"description": "The MITRE ATT&CK version referenced by the above fields. E.g. \"8\".", +"type": "string" +} +}, +"type": "object" +}, +"MuteInfo": { +"description": "Mute information about the finding, including whether the finding has a static mute or any matching dynamic mute rules.", +"id": "MuteInfo", +"properties": { +"dynamicMuteRecords": { +"description": "The list of dynamic mute rules that currently match the finding.", +"items": { +"$ref": "DynamicMuteRecord" +}, +"type": "array" +}, +"staticMute": { +"$ref": "StaticMute", +"description": "If set, the static mute applied to this finding. Static mutes override dynamic mutes. If unset, there is no static mute." +} +}, +"type": "object" +}, +"Network": { +"description": "Contains information about a VPC network associated with the finding.", +"id": "Network", +"properties": { +"name": { +"description": "The name of the VPC network resource, for example, `//compute.googleapis.com/projects/my-project/global/networks/my-network`.", +"type": "string" +} +}, +"type": "object" +}, +"Node": { +"description": "Kubernetes nodes associated with the finding.", +"id": "Node", +"properties": { +"name": { +"description": "[Full resource name](https://google.aip.dev/122#full-resource-names) of the Compute Engine VM running the cluster node.", +"type": "string" +} +}, +"type": "object" +}, +"NodePool": { +"description": "Provides GKE node pool information.", +"id": "NodePool", +"properties": { +"name": { +"description": "Kubernetes node pool name.", +"type": "string" +}, +"nodes": { +"description": "Nodes associated with the finding.", +"items": { +"$ref": "Node" +}, +"type": "array" +} +}, +"type": "object" +}, +"Notebook": { +"description": "Represents a Jupyter notebook IPYNB file, such as a [Colab Enterprise notebook](https://cloud.google.com/colab/docs/introduction) file, that is associated with a finding.", +"id": "Notebook", +"properties": { +"lastAuthor": { +"description": "The user ID of the latest author to modify the notebook.", +"type": "string" +}, +"name": { +"description": "The name of the notebook.", +"type": "string" +}, +"notebookUpdateTime": { +"description": "The most recent time the notebook was updated.", +"format": "google-datetime", +"type": "string" +}, +"service": { +"description": "The source notebook service, for example, \"Colab Enterprise\".", +"type": "string" +} +}, +"type": "object" +}, +"NotificationConfig": { +"description": "Cloud Security Command Center (Cloud SCC) notification configs. A notification config is a Cloud SCC resource that contains the configuration to send notifications for create/update events of findings, assets and etc.", +"id": "NotificationConfig", +"properties": { +"description": { +"description": "The description of the notification config (max of 1024 characters).", +"type": "string" +}, +"name": { +"description": "The relative resource name of this notification config. See: https://cloud.google.com/apis/design/resource_names#relative_resource_name Example: \"organizations/{organization_id}/notificationConfigs/notify_public_bucket\", \"folders/{folder_id}/notificationConfigs/notify_public_bucket\", or \"projects/{project_id}/notificationConfigs/notify_public_bucket\".", +"type": "string" +}, +"pubsubTopic": { +"description": "The Pub/Sub topic to send notifications to. Its format is \"projects/[project_id]/topics/[topic]\".", +"type": "string" +}, +"serviceAccount": { +"description": "Output only. The service account that needs \"pubsub.topics.publish\" permission to publish to the Pub/Sub topic.", +"readOnly": true, +"type": "string" +}, +"streamingConfig": { +"$ref": "StreamingConfig", +"description": "The config for triggering streaming-based notifications." +} +}, +"type": "object" +}, +"Object": { +"description": "Kubernetes object related to the finding, uniquely identified by GKNN. Used if the object Kind is not one of Pod, Node, NodePool, Binding, or AccessReview.", +"id": "Object", +"properties": { +"containers": { +"description": "Pod containers associated with this finding, if any.", +"items": { +"$ref": "Container" +}, +"type": "array" +}, +"group": { +"description": "Kubernetes object group, such as \"policy.k8s.io/v1\".", +"type": "string" +}, +"kind": { +"description": "Kubernetes object kind, such as \"Namespace\".", +"type": "string" +}, +"name": { +"description": "Kubernetes object name. For details see https://kubernetes.io/docs/concepts/overview/working-with-objects/names/.", +"type": "string" +}, +"ns": { +"description": "Kubernetes object namespace. Must be a valid DNS label. Named \"ns\" to avoid collision with C++ namespace keyword. For details see https://kubernetes.io/docs/tasks/administer-cluster/namespaces/.", +"type": "string" +} +}, +"type": "object" +}, +"Operation": { +"description": "This resource represents a long-running operation that is the result of a network API call.", +"id": "Operation", +"properties": { +"done": { +"description": "If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.", +"type": "boolean" +}, +"error": { +"$ref": "Status", +"description": "The error result of the operation in case of failure or cancellation." +}, +"metadata": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.", +"type": "object" +}, +"name": { +"description": "The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.", +"type": "string" +}, +"response": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "The normal, successful response of the operation. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.", +"type": "object" +} +}, +"type": "object" +}, +"OrgPolicy": { +"description": "Contains information about the org policies associated with the finding.", +"id": "OrgPolicy", +"properties": { +"name": { +"description": "The resource name of the org policy. Example: \"organizations/{organization_id}/policies/{constraint_name}\"", +"type": "string" +} +}, +"type": "object" +}, +"OrganizationSettings": { +"description": "User specified settings that are attached to the Security Command Center organization.", +"id": "OrganizationSettings", +"properties": { +"assetDiscoveryConfig": { +"$ref": "AssetDiscoveryConfig", +"description": "The configuration used for Asset Discovery runs." +}, +"enableAssetDiscovery": { +"description": "A flag that indicates if Asset Discovery should be enabled. If the flag is set to `true`, then discovery of assets will occur. If it is set to `false`, all historical assets will remain, but discovery of future assets will not occur.", +"type": "boolean" +}, +"name": { +"description": "The relative resource name of the settings. See: https://cloud.google.com/apis/design/resource_names#relative_resource_name Example: \"organizations/{organization_id}/organizationSettings\".", +"type": "string" +} +}, +"type": "object" +}, +"Package": { +"description": "Package is a generic definition of a package.", +"id": "Package", +"properties": { +"cpeUri": { +"description": "The CPE URI where the vulnerability was detected.", +"type": "string" +}, +"packageName": { +"description": "The name of the package where the vulnerability was detected.", +"type": "string" +}, +"packageType": { +"description": "Type of package, for example, os, maven, or go.", +"type": "string" +}, +"packageVersion": { +"description": "The version of the package.", +"type": "string" +} +}, +"type": "object" +}, +"PathNodeAssociatedFinding": { +"description": "A finding that is associated with this node in the attack path.", +"id": "PathNodeAssociatedFinding", +"properties": { +"canonicalFinding": { +"description": "Canonical name of the associated findings. Example: `organizations/123/sources/456/findings/789`", +"type": "string" +}, +"findingCategory": { +"description": "The additional taxonomy group within findings from a given source.", +"type": "string" +}, +"name": { +"description": "Full resource name of the finding.", +"type": "string" +} +}, +"type": "object" +}, +"Pipeline": { +"description": "Vertex AI training pipeline associated with the finding.", +"id": "Pipeline", +"properties": { +"displayName": { +"description": "The user defined display name of pipeline, e.g. plants-classification", +"type": "string" +}, +"name": { +"description": "Resource name of the pipeline, e.g. projects/{project}/locations/{location}/trainingPipelines/5253428229225578496", +"type": "string" +} +}, +"type": "object" +}, +"Pod": { +"description": "A Kubernetes Pod.", +"id": "Pod", +"properties": { +"containers": { +"description": "Pod containers associated with this finding, if any.", +"items": { +"$ref": "Container" +}, +"type": "array" +}, +"labels": { +"description": "Pod labels. For Kubernetes containers, these are applied to the container.", +"items": { +"$ref": "Label" +}, +"type": "array" +}, +"name": { +"description": "Kubernetes Pod name.", +"type": "string" +}, +"ns": { +"description": "Kubernetes Pod namespace.", +"type": "string" +} +}, +"type": "object" +}, +"Policy": { +"description": "An Identity and Access Management (IAM) policy, which specifies access controls for Google Cloud resources. A `Policy` is a collection of `bindings`. A `binding` binds one or more `members`, or principals, to a single `role`. Principals can be user accounts, service accounts, Google groups, and domains (such as G Suite). A `role` is a named list of permissions; each `role` can be an IAM predefined role or a user-created custom role. For some types of Google Cloud resources, a `binding` can also specify a `condition`, which is a logical expression that allows access to a resource only if the expression evaluates to `true`. A condition can add constraints based on attributes of the request, the resource, or both. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). **JSON example:** ``` { \"bindings\": [ { \"role\": \"roles/resourcemanager.organizationAdmin\", \"members\": [ \"user:mike@example.com\", \"group:admins@example.com\", \"domain:google.com\", \"serviceAccount:my-project-id@appspot.gserviceaccount.com\" ] }, { \"role\": \"roles/resourcemanager.organizationViewer\", \"members\": [ \"user:eve@example.com\" ], \"condition\": { \"title\": \"expirable access\", \"description\": \"Does not grant access after Sep 2020\", \"expression\": \"request.time < timestamp('2020-10-01T00:00:00.000Z')\", } } ], \"etag\": \"BwWWja0YfJA=\", \"version\": 3 } ``` **YAML example:** ``` bindings: - members: - user:mike@example.com - group:admins@example.com - domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.com role: roles/resourcemanager.organizationViewer condition: title: expirable access description: Does not grant access after Sep 2020 expression: request.time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 ``` For a description of IAM and its features, see the [IAM documentation](https://cloud.google.com/iam/docs/).", +"id": "Policy", +"properties": { +"auditConfigs": { +"description": "Specifies cloud audit logging configuration for this policy.", +"items": { +"$ref": "AuditConfig" +}, +"type": "array" +}, +"bindings": { +"description": "Associates a list of `members`, or principals, with a `role`. Optionally, may specify a `condition` that determines how and when the `bindings` are applied. Each of the `bindings` must contain at least one principal. The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250 of these principals can be Google groups. Each occurrence of a principal counts towards these limits. For example, if the `bindings` grant 50 different roles to `user:alice@example.com`, and not to any other principal, then you can add another 1,450 principals to the `bindings` in the `Policy`.", +"items": { +"$ref": "Binding" +}, +"type": "array" +}, +"etag": { +"description": "`etag` is used for optimistic concurrency control as a way to help prevent simultaneous updates of a policy from overwriting each other. It is strongly suggested that systems make use of the `etag` in the read-modify-write cycle to perform policy updates in order to avoid race conditions: An `etag` is returned in the response to `getIamPolicy`, and systems are expected to put that etag in the request to `setIamPolicy` to ensure that their change will be applied to the same version of the policy. **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost.", +"format": "byte", +"type": "string" +}, +"version": { +"description": "Specifies the format of the policy. Valid values are `0`, `1`, and `3`. Requests that specify an invalid value are rejected. Any operation that affects conditional role bindings must specify version `3`. This requirement applies to the following operations: * Getting a policy that includes a conditional role binding * Adding a conditional role binding to a policy * Changing a conditional role binding in a policy * Removing any role binding, with or without a condition, from a policy that includes conditions **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost. If a policy does not include any conditions, operations on that policy may specify any valid version or leave the field unset. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"PolicyDriftDetails": { +"description": "The policy field that violates the deployed posture and its expected and detected values.", +"id": "PolicyDriftDetails", +"properties": { +"detectedValue": { +"description": "The detected value that violates the deployed posture, for example, `false` or `allowed_values={\"projects/22831892\"}`.", +"type": "string" +}, +"expectedValue": { +"description": "The value of this field that was configured in a posture, for example, `true` or `allowed_values={\"projects/29831892\"}`.", +"type": "string" +}, +"field": { +"description": "The name of the updated field, for example constraint.implementation.policy_rules[0].enforce", +"type": "string" +} +}, +"type": "object" +}, +"PortRange": { +"description": "A port range which is inclusive of the min and max values. Values are between 0 and 2^16-1. The max can be equal / must be not smaller than the min value. If min and max are equal this indicates that it is a single port.", +"id": "PortRange", +"properties": { +"max": { +"description": "Maximum port value.", +"format": "int64", +"type": "string" +}, +"min": { +"description": "Minimum port value.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"Position": { +"description": "A position in the uploaded text version of a module.", +"id": "Position", +"properties": { +"columnNumber": { +"description": "The column number.", +"format": "int32", +"type": "integer" +}, +"lineNumber": { +"description": "The line number.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"Process": { +"description": "Represents an operating system process.", +"id": "Process", +"properties": { +"args": { +"description": "Process arguments as JSON encoded strings.", +"items": { +"type": "string" +}, +"type": "array" +}, +"argumentsTruncated": { +"description": "True if `args` is incomplete.", +"type": "boolean" +}, +"binary": { +"$ref": "File", +"description": "File information for the process executable." +}, +"envVariables": { +"description": "Process environment variables.", +"items": { +"$ref": "EnvironmentVariable" +}, +"type": "array" +}, +"envVariablesTruncated": { +"description": "True if `env_variables` is incomplete.", +"type": "boolean" +}, +"libraries": { +"description": "File information for libraries loaded by the process.", +"items": { +"$ref": "File" +}, +"type": "array" +}, +"name": { +"description": "The process name, as displayed in utilities like `top` and `ps`. This name can be accessed through `/proc/[pid]/comm` and changed with `prctl(PR_SET_NAME)`.", +"type": "string" +}, +"parentPid": { +"description": "The parent process ID.", +"format": "int64", +"type": "string" +}, +"pid": { +"description": "The process ID.", +"format": "int64", +"type": "string" +}, +"script": { +"$ref": "File", +"description": "When the process represents the invocation of a script, `binary` provides information about the interpreter, while `script` provides information about the script file provided to the interpreter." +}, +"userId": { +"description": "The ID of the user that executed the process. E.g. If this is the root user this will always be 0.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"ProcessSignature": { +"description": "Indicates what signature matched this process.", +"id": "ProcessSignature", +"properties": { +"memoryHashSignature": { +"$ref": "MemoryHashSignature", +"description": "Signature indicating that a binary family was matched." +}, +"signatureType": { +"description": "Describes the type of resource associated with the signature.", +"enum": [ +"SIGNATURE_TYPE_UNSPECIFIED", +"SIGNATURE_TYPE_PROCESS", +"SIGNATURE_TYPE_FILE" +], +"enumDescriptions": [ +"The default signature type.", +"Used for signatures concerning processes.", +"Used for signatures concerning disks." +], +"type": "string" +}, +"yaraRuleSignature": { +"$ref": "YaraRuleSignature", +"description": "Signature indicating that a YARA rule was matched." +} +}, +"type": "object" +}, +"Reference": { +"description": "Additional Links", +"id": "Reference", +"properties": { +"source": { +"description": "Source of the reference e.g. NVD", +"type": "string" +}, +"uri": { +"description": "Uri for the mentioned source e.g. https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-34527.", +"type": "string" +} +}, +"type": "object" +}, +"Requests": { +"description": "Information about the requests relevant to the finding.", +"id": "Requests", +"properties": { +"longTermAllowed": { +"description": "Allowed RPS (requests per second) over the long term.", +"format": "int32", +"type": "integer" +}, +"longTermDenied": { +"description": "Denied RPS (requests per second) over the long term.", +"format": "int32", +"type": "integer" +}, +"ratio": { +"description": "For 'Increasing deny ratio', the ratio is the denied traffic divided by the allowed traffic. For 'Allowed traffic spike', the ratio is the allowed traffic in the short term divided by allowed traffic in the long term.", +"format": "double", +"type": "number" +}, +"shortTermAllowed": { +"description": "Allowed RPS (requests per second) in the short term.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"Resource": { +"description": "Information related to the Google Cloud resource that is associated with this finding.", +"id": "Resource", +"properties": { +"adcApplication": { +"$ref": "AdcApplication", +"description": "The ADC application associated with the finding." +}, +"adcApplicationTemplate": { +"$ref": "AdcApplicationTemplateRevision", +"description": "The ADC template associated with the finding." +}, +"adcSharedTemplate": { +"$ref": "AdcSharedTemplateRevision", +"description": "The ADC shared template associated with the finding." +}, +"application": { +"$ref": "GoogleCloudSecuritycenterV1ResourceApplication", +"description": "The App Hub application this resource belongs to." +}, +"awsMetadata": { +"$ref": "AwsMetadata", +"description": "The AWS metadata associated with the finding." +}, +"azureMetadata": { +"$ref": "AzureMetadata", +"description": "The Azure metadata associated with the finding." +}, +"cloudProvider": { +"description": "Indicates which cloud provider the finding is from.", +"enum": [ +"CLOUD_PROVIDER_UNSPECIFIED", +"GOOGLE_CLOUD_PLATFORM", +"AMAZON_WEB_SERVICES", +"MICROSOFT_AZURE" +], +"enumDescriptions": [ +"The cloud provider is unspecified.", +"The cloud provider is Google Cloud.", +"The cloud provider is Amazon Web Services.", +"The cloud provider is Microsoft Azure." +], +"type": "string" +}, +"displayName": { +"description": "The human readable name of the resource.", +"type": "string" +}, +"folders": { +"description": "Contains a Folder message for each folder in the assets ancestry. The first folder is the deepest nested folder, and the last folder is the folder directly under the Organization.", +"items": { +"$ref": "Folder" +}, +"type": "array" +}, +"location": { +"description": "The region or location of the service (if applicable).", +"type": "string" +}, +"name": { +"description": "The full resource name of the resource. See: https://cloud.google.com/apis/design/resource_names#full_resource_name", +"type": "string" +}, +"organization": { +"description": "Indicates which organization / tenant the finding is for.", +"type": "string" +}, +"parentDisplayName": { +"description": "The human readable name of resource's parent.", +"type": "string" +}, +"parentName": { +"description": "The full resource name of resource's parent.", +"type": "string" +}, +"projectDisplayName": { +"description": "The project ID that the resource belongs to.", +"type": "string" +}, +"projectName": { +"description": "The full resource name of project that the resource belongs to.", +"type": "string" +}, +"resourcePath": { +"$ref": "ResourcePath", +"description": "Provides the path to the resource within the resource hierarchy." +}, +"resourcePathString": { +"description": "A string representation of the resource path. For Google Cloud, it has the format of `org/{organization_id}/folder/{folder_id}/folder/{folder_id}/project/{project_id}` where there can be any number of folders. For AWS, it has the format of `org/{organization_id}/ou/{organizational_unit_id}/ou/{organizational_unit_id}/account/{account_id}` where there can be any number of organizational units. For Azure, it has the format of `mg/{management_group_id}/mg/{management_group_id}/subscription/{subscription_id}/rg/{resource_group_name}` where there can be any number of management groups.", +"type": "string" +}, +"service": { +"description": "The service or resource provider associated with the resource.", +"type": "string" +}, +"type": { +"description": "The full resource type of the resource.", +"type": "string" +} +}, +"type": "object" +}, +"ResourcePath": { +"description": "Represents the path of resources leading up to the resource this finding is about.", +"id": "ResourcePath", +"properties": { +"nodes": { +"description": "The list of nodes that make the up resource path, ordered from lowest level to highest level.", +"items": { +"$ref": "ResourcePathNode" +}, +"type": "array" +} +}, +"type": "object" +}, +"ResourcePathNode": { +"description": "A node within the resource path. Each node represents a resource within the resource hierarchy.", +"id": "ResourcePathNode", +"properties": { +"displayName": { +"description": "The display name of the resource this node represents.", +"type": "string" +}, +"id": { +"description": "The ID of the resource this node represents.", +"type": "string" +}, +"nodeType": { +"description": "The type of resource this node represents.", +"enum": [ +"RESOURCE_PATH_NODE_TYPE_UNSPECIFIED", +"GCP_ORGANIZATION", +"GCP_FOLDER", +"GCP_PROJECT", +"AWS_ORGANIZATION", +"AWS_ORGANIZATIONAL_UNIT", +"AWS_ACCOUNT", +"AZURE_MANAGEMENT_GROUP", +"AZURE_SUBSCRIPTION", +"AZURE_RESOURCE_GROUP" +], +"enumDescriptions": [ +"Node type is unspecified.", +"The node represents a Google Cloud organization.", +"The node represents a Google Cloud folder.", +"The node represents a Google Cloud project.", +"The node represents an AWS organization.", +"The node represents an AWS organizational unit.", +"The node represents an AWS account.", +"The node represents an Azure management group.", +"The node represents an Azure subscription.", +"The node represents an Azure resource group." +], +"type": "string" +} +}, +"type": "object" +}, +"ResourceValueConfigMetadata": { +"description": "Metadata about a ResourceValueConfig. For example, id and name.", +"id": "ResourceValueConfigMetadata", +"properties": { +"name": { +"description": "Resource value config name", +"type": "string" +} +}, +"type": "object" +}, +"Role": { +"description": "Kubernetes Role or ClusterRole.", +"id": "Role", +"properties": { +"kind": { +"description": "Role type.", +"enum": [ +"KIND_UNSPECIFIED", +"ROLE", +"CLUSTER_ROLE" +], +"enumDescriptions": [ +"Role type is not specified.", +"Kubernetes Role.", +"Kubernetes ClusterRole." +], +"type": "string" +}, +"name": { +"description": "Role name.", +"type": "string" +}, +"ns": { +"description": "Role namespace.", +"type": "string" +} +}, +"type": "object" +}, +"RunAssetDiscoveryRequest": { +"description": "Request message for running asset discovery for an organization.", +"id": "RunAssetDiscoveryRequest", +"properties": {}, +"type": "object" +}, +"Secret": { +"description": "Details about a secret or credential associated with the finding.", +"id": "Secret", +"properties": { +"environmentVariable": { +"$ref": "SecretEnvironmentVariable", +"description": "The environment variable containing the secret." +}, +"filePath": { +"$ref": "SecretFilePath", +"description": "The file containing the secret." +}, +"status": { +"$ref": "SecretStatus", +"description": "The status of the secret." +}, +"type": { +"description": "The type of secret, for example, GCP_API_KEY.", +"type": "string" +} +}, +"type": "object" +}, +"SecretEnvironmentVariable": { +"description": "Environment variable containing the secret.", +"id": "SecretEnvironmentVariable", +"properties": { +"key": { +"description": "Environment variable name as a JSON encoded string. Note that value is not included since the value contains the secret data, which is sensitive core content.", +"type": "string" +} +}, +"type": "object" +}, +"SecretFilePath": { +"description": "File path containing the secret.", +"id": "SecretFilePath", +"properties": { +"path": { +"description": "Path to the file.", +"type": "string" +} +}, +"type": "object" +}, +"SecretStatus": { +"description": "The status of the secret.", +"id": "SecretStatus", +"properties": { +"lastUpdatedTime": { +"description": "Time that the secret was found.", +"format": "google-datetime", +"type": "string" +}, +"validity": { +"description": "The validity of the secret.", +"enum": [ +"SECRET_VALIDITY_UNSPECIFIED", +"SECRET_VALIDITY_UNSUPPORTED", +"SECRET_VALIDITY_FAILED", +"SECRET_VALIDITY_INVALID", +"SECRET_VALIDITY_VALID" +], +"enumDescriptions": [ +"Default value; no validation was attempted.", +"There is no mechanism to validate the secret.", +"Validation is supported but the validation failed.", +"The secret is confirmed to be invalid.", +"The secret is confirmed to be valid." +], +"type": "string" +} +}, +"type": "object" +}, +"SecurityBulletin": { +"description": "SecurityBulletin are notifications of vulnerabilities of Google products.", +"id": "SecurityBulletin", +"properties": { +"bulletinId": { +"description": "ID of the bulletin corresponding to the vulnerability.", +"type": "string" +}, +"submissionTime": { +"description": "Submission time of this Security Bulletin.", +"format": "google-datetime", +"type": "string" +}, +"suggestedUpgradeVersion": { +"description": "This represents a version that the cluster receiving this notification should be upgraded to, based on its current version. For example, 1.15.0", +"type": "string" +} +}, +"type": "object" +}, +"SecurityCenterProperties": { +"description": "Security Command Center managed properties. These properties are managed by Security Command Center and cannot be modified by the user.", +"id": "SecurityCenterProperties", +"properties": { +"folders": { +"description": "Contains a Folder message for each folder in the assets ancestry. The first folder is the deepest nested folder, and the last folder is the folder directly under the Organization.", +"items": { +"$ref": "Folder" +}, +"type": "array" +}, +"resourceDisplayName": { +"description": "The user defined display name for this resource.", +"type": "string" +}, +"resourceName": { +"description": "The full resource name of the Google Cloud resource this asset represents. This field is immutable after create time. See: https://cloud.google.com/apis/design/resource_names#full_resource_name", +"type": "string" +}, +"resourceOwners": { +"description": "Owners of the Google Cloud resource.", +"items": { +"type": "string" +}, +"type": "array" +}, +"resourceParent": { +"description": "The full resource name of the immediate parent of the resource. See: https://cloud.google.com/apis/design/resource_names#full_resource_name", +"type": "string" +}, +"resourceParentDisplayName": { +"description": "The user defined display name for the parent of this resource.", +"type": "string" +}, +"resourceProject": { +"description": "The full resource name of the project the resource belongs to. See: https://cloud.google.com/apis/design/resource_names#full_resource_name", +"type": "string" +}, +"resourceProjectDisplayName": { +"description": "The user defined display name for the project of this resource.", +"type": "string" +}, +"resourceType": { +"description": "The type of the Google Cloud resource. Examples include: APPLICATION, PROJECT, and ORGANIZATION. This is a case insensitive field defined by Security Command Center and/or the producer of the resource and is immutable after create time.", +"type": "string" +} +}, +"type": "object" +}, +"SecurityMarks": { +"description": "User specified security marks that are attached to the parent Security Command Center resource. Security marks are scoped within a Security Command Center organization -- they can be modified and viewed by all users who have proper permissions on the organization.", +"id": "SecurityMarks", +"properties": { +"canonicalName": { +"description": "The canonical name of the marks. Examples: \"organizations/{organization_id}/assets/{asset_id}/securityMarks\" \"folders/{folder_id}/assets/{asset_id}/securityMarks\" \"projects/{project_number}/assets/{asset_id}/securityMarks\" \"organizations/{organization_id}/sources/{source_id}/findings/{finding_id}/securityMarks\" \"folders/{folder_id}/sources/{source_id}/findings/{finding_id}/securityMarks\" \"projects/{project_number}/sources/{source_id}/findings/{finding_id}/securityMarks\"", +"type": "string" +}, +"marks": { +"additionalProperties": { +"type": "string" +}, +"description": "Mutable user specified security marks belonging to the parent resource. Constraints are as follows: * Keys and values are treated as case insensitive * Keys must be between 1 - 256 characters (inclusive) * Keys must be letters, numbers, underscores, or dashes * Values have leading and trailing whitespace trimmed, remaining characters must be between 1 - 4096 characters (inclusive)", +"type": "object" +}, +"name": { +"description": "The relative resource name of the SecurityMarks. See: https://cloud.google.com/apis/design/resource_names#relative_resource_name Examples: \"organizations/{organization_id}/assets/{asset_id}/securityMarks\" \"organizations/{organization_id}/sources/{source_id}/findings/{finding_id}/securityMarks\".", +"type": "string" +} +}, +"type": "object" +}, +"SecurityPolicy": { +"description": "Information about the [Google Cloud Armor security policy](https://cloud.google.com/armor/docs/security-policy-overview) relevant to the finding.", +"id": "SecurityPolicy", +"properties": { +"name": { +"description": "The name of the Google Cloud Armor security policy, for example, \"my-security-policy\".", +"type": "string" +}, +"preview": { +"description": "Whether or not the associated rule or policy is in preview mode.", +"type": "boolean" +}, +"type": { +"description": "The type of Google Cloud Armor security policy for example, 'backend security policy', 'edge security policy', 'network edge security policy', or 'always-on DDoS protection'.", +"type": "string" +} +}, +"type": "object" +}, +"SecurityPosture": { +"description": "Represents a posture that is deployed on Google Cloud by the Security Command Center Posture Management service. A posture contains one or more policy sets. A policy set is a group of policies that enforce a set of security rules on Google Cloud.", +"id": "SecurityPosture", +"properties": { +"changedPolicy": { +"description": "The name of the updated policy, for example, `projects/{project_id}/policies/{constraint_name}`.", +"type": "string" +}, +"name": { +"description": "Name of the posture, for example, `CIS-Posture`.", +"type": "string" +}, +"policy": { +"description": "The ID of the updated policy, for example, `compute-policy-1`.", +"type": "string" +}, +"policyDriftDetails": { +"description": "The details about a change in an updated policy that violates the deployed posture.", +"items": { +"$ref": "PolicyDriftDetails" +}, +"type": "array" +}, +"policySet": { +"description": "The name of the updated policyset, for example, `cis-policyset`.", +"type": "string" +}, +"postureDeployment": { +"description": "The name of the posture deployment, for example, `organizations/{org_id}/posturedeployments/{posture_deployment_id}`.", +"type": "string" +}, +"postureDeploymentResource": { +"description": "The project, folder, or organization on which the posture is deployed, for example, `projects/{project_number}`.", +"type": "string" +}, +"revisionId": { +"description": "The version of the posture, for example, `c7cfa2a8`.", +"type": "string" +} +}, +"type": "object" +}, +"SensitivityScore": { +"description": "Score is calculated from of all elements in the data profile. A higher level means the data is more sensitive.", +"id": "SensitivityScore", +"properties": { +"score": { +"description": "The sensitivity score applied to the resource.", +"enum": [ +"SENSITIVITY_SCORE_LEVEL_UNSPECIFIED", +"SENSITIVITY_LOW", +"SENSITIVITY_UNKNOWN", +"SENSITIVITY_MODERATE", +"SENSITIVITY_HIGH" +], +"enumDescriptions": [ +"Unused.", +"No sensitive information detected. The resource isn't publicly accessible.", +"Unable to determine sensitivity.", +"Medium risk. Contains personally identifiable information (PII), potentially sensitive data, or fields with free-text data that are at a higher risk of having intermittent sensitive data. Consider limiting access.", +"High risk. Sensitive personally identifiable information (SPII) can be present. Exfiltration of data can lead to user data loss. Re-identification of users might be possible. Consider limiting usage and or removing SPII." +], +"type": "string" +} +}, +"type": "object" +}, +"ServiceAccountDelegationInfo": { +"description": "Identity delegation history of an authenticated service account.", +"id": "ServiceAccountDelegationInfo", +"properties": { +"principalEmail": { +"description": "The email address of a Google account.", +"type": "string" +}, +"principalSubject": { +"description": "A string representing the principal_subject associated with the identity. As compared to `principal_email`, supports principals that aren't associated with email addresses, such as third party principals. For most identities, the format will be `principal://iam.googleapis.com/{identity pool name}/subjects/{subject}` except for some GKE identities (GKE_WORKLOAD, FREEFORM, GKE_HUB_WORKLOAD) that are still in the legacy format `serviceAccount:{identity pool name}[{subject}]`", +"type": "string" +} +}, +"type": "object" +}, +"SetFindingStateRequest": { +"description": "Request message for updating a finding's state.", +"id": "SetFindingStateRequest", +"properties": { +"startTime": { +"deprecated": true, +"description": "Optional. The time at which the updated state takes effect. If unset, defaults to the request time.", +"format": "google-datetime", +"type": "string" +}, +"state": { +"description": "Required. The desired State of the finding.", +"enum": [ +"STATE_UNSPECIFIED", +"ACTIVE", +"INACTIVE" +], +"enumDescriptions": [ +"Unspecified state.", +"The finding requires attention and has not been addressed yet.", +"The finding has been fixed, triaged as a non-issue or otherwise addressed and is no longer active." +], +"type": "string" +} +}, +"type": "object" +}, +"SetIamPolicyRequest": { +"description": "Request message for `SetIamPolicy` method.", +"id": "SetIamPolicyRequest", +"properties": { +"policy": { +"$ref": "Policy", +"description": "REQUIRED: The complete policy to be applied to the `resource`. The size of the policy is limited to a few 10s of KB. An empty policy is a valid policy but certain Google Cloud services (such as Projects) might reject them." +}, +"updateMask": { +"description": "OPTIONAL: A FieldMask specifying which fields of the policy to modify. Only the fields in the mask will be modified. If no mask is provided, the following default mask is used: `paths: \"bindings, etag\"`", +"format": "google-fieldmask", +"type": "string" +} +}, +"type": "object" +}, +"SetMuteRequest": { +"description": "Request message for updating a finding's mute status.", +"id": "SetMuteRequest", +"properties": { +"mute": { +"description": "Required. The desired state of the Mute.", +"enum": [ +"MUTE_UNSPECIFIED", +"MUTED", +"UNMUTED", +"UNDEFINED" +], +"enumDescriptions": [ +"Unspecified.", +"Finding has been muted.", +"Finding has been unmuted.", +"Finding has never been muted/unmuted." +], +"type": "string" +} +}, +"type": "object" +}, +"SimulateSecurityHealthAnalyticsCustomModuleRequest": { +"description": "Request message to simulate a CustomConfig against a given test resource. Maximum size of the request is 4 MB by default.", +"id": "SimulateSecurityHealthAnalyticsCustomModuleRequest", +"properties": { +"customConfig": { +"$ref": "GoogleCloudSecuritycenterV1CustomConfig", +"description": "Required. The custom configuration that you need to test." +}, +"resource": { +"$ref": "SimulatedResource", +"description": "Required. Resource data to simulate custom module against." +} +}, +"type": "object" +}, +"SimulateSecurityHealthAnalyticsCustomModuleResponse": { +"description": "Response message for simulating a `SecurityHealthAnalyticsCustomModule` against a given resource.", +"id": "SimulateSecurityHealthAnalyticsCustomModuleResponse", +"properties": { +"result": { +"$ref": "SimulatedResult", +"description": "Result for test case in the corresponding request." +} +}, +"type": "object" +}, +"SimulatedResource": { +"description": "Manually constructed resource name. If the custom module evaluates against only the resource data, you can omit the `iam_policy_data` field. If it evaluates only the `iam_policy_data` field, you can omit the resource data.", +"id": "SimulatedResource", +"properties": { +"iamPolicyData": { +"$ref": "Policy", +"description": "Optional. A representation of the IAM policy." +}, +"resourceData": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"description": "Optional. A representation of the Google Cloud resource. Should match the Google Cloud resource JSON format.", +"type": "object" +}, +"resourceType": { +"description": "Required. The type of the resource, for example, `compute.googleapis.com/Disk`.", +"type": "string" +} +}, +"type": "object" +}, +"SimulatedResult": { +"description": "Possible test result.", +"id": "SimulatedResult", +"properties": { +"error": { +"$ref": "Status", +"description": "Error encountered during the test." +}, +"finding": { +"$ref": "Finding", +"description": "Finding that would be published for the test case, if a violation is detected." +}, +"noViolation": { +"$ref": "Empty", +"description": "Indicates that the test case does not trigger any violation." +} +}, +"type": "object" +}, +"Simulation": { +"description": "Attack path simulation", +"id": "Simulation", +"properties": { +"cloudProvider": { +"description": "Indicates which cloud provider was used in this simulation.", +"enum": [ +"CLOUD_PROVIDER_UNSPECIFIED", +"GOOGLE_CLOUD_PLATFORM", +"AMAZON_WEB_SERVICES", +"MICROSOFT_AZURE" +], +"enumDescriptions": [ +"The cloud provider is unspecified.", +"The cloud provider is Google Cloud.", +"The cloud provider is Amazon Web Services.", +"The cloud provider is Microsoft Azure." +], +"type": "string" +}, +"createTime": { +"description": "Output only. Time simulation was created", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"name": { +"description": "Full resource name of the Simulation: `organizations/123/simulations/456`", +"type": "string" +}, +"resourceValueConfigsMetadata": { +"description": "Resource value configurations' metadata used in this simulation. Maximum of 100.", +"items": { +"$ref": "ResourceValueConfigMetadata" +}, +"type": "array" +} +}, +"type": "object" +}, +"Source": { +"description": "Security Command Center finding source. A finding source is an entity or a mechanism that can produce a finding. A source is like a container of findings that come from the same scanner, logger, monitor, and other tools.", +"id": "Source", +"properties": { +"canonicalName": { +"description": "The canonical name of the finding source. It's either \"organizations/{organization_id}/sources/{source_id}\", \"folders/{folder_id}/sources/{source_id}\", or \"projects/{project_number}/sources/{source_id}\", depending on the closest CRM ancestor of the resource associated with the finding.", +"type": "string" +}, +"description": { +"description": "The description of the source (max of 1024 characters). Example: \"Web Security Scanner is a web security scanner for common vulnerabilities in App Engine applications. It can automatically scan and detect four common vulnerabilities, including cross-site-scripting (XSS), Flash injection, mixed content (HTTP in HTTPS), and outdated or insecure libraries.\"", +"type": "string" +}, +"displayName": { +"description": "The source's display name. A source's display name must be unique amongst its siblings, for example, two sources with the same parent can't share the same display name. The display name must have a length between 1 and 64 characters (inclusive).", +"type": "string" +}, +"name": { +"description": "The relative resource name of this source. See: https://cloud.google.com/apis/design/resource_names#relative_resource_name Example: \"organizations/{organization_id}/sources/{source_id}\"", +"type": "string" +} +}, +"type": "object" +}, +"StaticMute": { +"description": "Information about the static mute state. A static mute state overrides any dynamic mute rules that apply to this finding. The static mute state can be set by a static mute rule or by muting the finding directly.", +"id": "StaticMute", +"properties": { +"applyTime": { +"description": "When the static mute was applied.", +"format": "google-datetime", +"type": "string" +}, +"state": { +"description": "The static mute state. If the value is `MUTED` or `UNMUTED`, then the finding's overall mute state will have the same value.", +"enum": [ +"MUTE_UNSPECIFIED", +"MUTED", +"UNMUTED", +"UNDEFINED" +], +"enumDescriptions": [ +"Unspecified.", +"Finding has been muted.", +"Finding has been unmuted.", +"Finding has never been muted/unmuted." +], +"type": "string" +} +}, +"type": "object" +}, +"Status": { +"description": "The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors).", +"id": "Status", +"properties": { +"code": { +"description": "The status code, which should be an enum value of google.rpc.Code.", +"format": "int32", +"type": "integer" +}, +"details": { +"description": "A list of messages that carry the error details. There is a common set of message types for APIs to use.", +"items": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.", +"type": "string" +} +}, +"type": "object" +}, +"StreamingConfig": { +"description": "The config for streaming-based notifications, which send each event as soon as it is detected.", +"id": "StreamingConfig", +"properties": { +"filter": { +"description": "Expression that defines the filter to apply across create/update events of assets or findings as specified by the event type. The expression is a list of zero or more restrictions combined via logical operators `AND` and `OR`. Parentheses are supported, and `OR` has higher precedence than `AND`. Restrictions have the form ` ` and may have a `-` character in front of them to indicate negation. The fields map to those defined in the corresponding resource. The supported operators are: * `=` for all value types. * `>`, `<`, `>=`, `<=` for integer values. * `:`, meaning substring matching, for strings. The supported value types are: * string literals in quotes. * integer literals without quotes. * boolean literals `true` and `false` without quotes.", +"type": "string" +} +}, +"type": "object" +}, +"Subject": { +"description": "Represents a Kubernetes subject.", +"id": "Subject", +"properties": { +"kind": { +"description": "Authentication type for the subject.", +"enum": [ +"AUTH_TYPE_UNSPECIFIED", +"USER", +"SERVICEACCOUNT", +"GROUP" +], +"enumDescriptions": [ +"Authentication is not specified.", +"User with valid certificate.", +"Users managed by Kubernetes API with credentials stored as secrets.", +"Collection of users." +], +"type": "string" +}, +"name": { +"description": "Name for the subject.", +"type": "string" +}, +"ns": { +"description": "Namespace for the subject.", +"type": "string" +} +}, +"type": "object" +}, +"TestIamPermissionsRequest": { +"description": "Request message for `TestIamPermissions` method.", +"id": "TestIamPermissionsRequest", +"properties": { +"permissions": { +"description": "The set of permissions to check for the `resource`. Permissions with wildcards (such as `*` or `storage.*`) are not allowed. For more information see [IAM Overview](https://cloud.google.com/iam/docs/overview#permissions).", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"TestIamPermissionsResponse": { +"description": "Response message for `TestIamPermissions` method.", +"id": "TestIamPermissionsResponse", +"properties": { +"permissions": { +"description": "A subset of `TestPermissionsRequest.permissions` that the caller is allowed.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"TicketInfo": { +"description": "Information about the ticket, if any, that is being used to track the resolution of the issue that is identified by this finding.", +"id": "TicketInfo", +"properties": { +"assignee": { +"description": "The assignee of the ticket in the ticket system.", +"type": "string" +}, +"description": { +"description": "The description of the ticket in the ticket system.", +"type": "string" +}, +"id": { +"description": "The identifier of the ticket in the ticket system.", +"type": "string" +}, +"status": { +"description": "The latest status of the ticket, as reported by the ticket system.", +"type": "string" +}, +"updateTime": { +"description": "The time when the ticket was last updated, as reported by the ticket system.", +"format": "google-datetime", +"type": "string" +}, +"uri": { +"description": "The link to the ticket in the ticket system.", +"type": "string" +} +}, +"type": "object" +}, +"ToxicCombination": { +"description": "Contains details about a group of security issues that, when the issues occur together, represent a greater risk than when the issues occur independently. A group of such issues is referred to as a toxic combination.", +"id": "ToxicCombination", +"properties": { +"attackExposureScore": { +"description": "The [Attack exposure score](https://cloud.google.com/security-command-center/docs/attack-exposure-learn#attack_exposure_scores) of this toxic combination. The score is a measure of how much this toxic combination exposes one or more high-value resources to potential attack.", +"format": "double", +"type": "number" +}, +"relatedFindings": { +"description": "List of resource names of findings associated with this toxic combination. For example, `organizations/123/sources/456/findings/789`.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ValidateEventThreatDetectionCustomModuleRequest": { +"description": "Request to validate an Event Threat Detection custom module.", +"id": "ValidateEventThreatDetectionCustomModuleRequest", +"properties": { +"rawText": { +"description": "Required. The raw text of the module's contents. Used to generate error messages.", +"type": "string" +}, +"type": { +"description": "Required. The type of the module (e.g. CONFIGURABLE_BAD_IP).", +"type": "string" +} +}, +"type": "object" +}, +"ValidateEventThreatDetectionCustomModuleResponse": { +"description": "Response to validating an Event Threat Detection custom module.", +"id": "ValidateEventThreatDetectionCustomModuleResponse", +"properties": { +"errors": { +"$ref": "CustomModuleValidationErrors", +"description": "A list of errors returned by the validator. If the list is empty, there were no errors." +} +}, +"type": "object" +}, +"ValuedResource": { +"description": "A resource that is determined to have value to a user's system", +"id": "ValuedResource", +"properties": { +"displayName": { +"description": "Human-readable name of the valued resource.", +"type": "string" +}, +"exposedScore": { +"description": "Exposed score for this valued resource. A value of 0 means no exposure was detected exposure.", +"format": "double", +"type": "number" +}, +"name": { +"description": "Valued resource name, for example, e.g.: `organizations/123/simulations/456/valuedResources/789`", +"type": "string" +}, +"resource": { +"description": "The [full resource name](https://cloud.google.com/apis/design/resource_names#full_resource_name) of the valued resource.", +"type": "string" +}, +"resourceType": { +"description": "The [resource type](https://cloud.google.com/asset-inventory/docs/supported-asset-types) of the valued resource.", +"type": "string" +}, +"resourceValue": { +"description": "How valuable this resource is.", +"enum": [ +"RESOURCE_VALUE_UNSPECIFIED", +"RESOURCE_VALUE_LOW", +"RESOURCE_VALUE_MEDIUM", +"RESOURCE_VALUE_HIGH" +], +"enumDescriptions": [ +"The resource value isn't specified.", +"This is a low-value resource.", +"This is a medium-value resource.", +"This is a high-value resource." +], +"type": "string" +}, +"resourceValueConfigsUsed": { +"description": "List of resource value configurations' metadata used to determine the value of this resource. Maximum of 100.", +"items": { +"$ref": "ResourceValueConfigMetadata" +}, +"type": "array" +} +}, +"type": "object" +}, +"VertexAi": { +"description": "Vertex AI-related information associated with the finding.", +"id": "VertexAi", +"properties": { +"datasets": { +"description": "Datasets associated with the finding.", +"items": { +"$ref": "Dataset" +}, +"type": "array" +}, +"pipelines": { +"description": "Pipelines associated with the finding.", +"items": { +"$ref": "Pipeline" +}, +"type": "array" +} +}, +"type": "object" +}, +"Vulnerability": { +"description": "Refers to common vulnerability fields e.g. cve, cvss, cwe etc.", +"id": "Vulnerability", +"properties": { +"cve": { +"$ref": "Cve", +"description": "CVE stands for Common Vulnerabilities and Exposures (https://cve.mitre.org/about/)" +}, +"cwes": { +"description": "Represents one or more Common Weakness Enumeration (CWE) information on this vulnerability.", +"items": { +"$ref": "Cwe" +}, +"type": "array" +}, +"fixedPackage": { +"$ref": "Package", +"description": "The fixed package is relevant to the finding." +}, +"offendingPackage": { +"$ref": "Package", +"description": "The offending package is relevant to the finding." +}, +"providerRiskScore": { +"description": "Provider provided risk_score based on multiple factors. The higher the risk score, the more risky the vulnerability is.", +"format": "int64", +"type": "string" +}, +"reachable": { +"description": "Represents whether the vulnerability is reachable (detected via static analysis)", +"type": "boolean" +}, +"securityBulletin": { +"$ref": "SecurityBulletin", +"description": "The security bulletin is relevant to this finding." +} +}, +"type": "object" +}, +"VulnerabilityCountBySeverity": { +"description": "Vulnerability count by severity.", +"id": "VulnerabilityCountBySeverity", +"properties": { +"severityToFindingCount": { +"additionalProperties": { +"format": "int64", +"type": "string" +}, +"description": "Key is the Severity enum.", +"type": "object" +} +}, +"type": "object" +}, +"VulnerabilitySnapshot": { +"description": "Result containing the properties and count of a VulnerabilitySnapshot request.", +"id": "VulnerabilitySnapshot", +"properties": { +"cloudProvider": { +"description": "The cloud provider for the vulnerability snapshot.", +"enum": [ +"CLOUD_PROVIDER_UNSPECIFIED", +"GOOGLE_CLOUD_PLATFORM", +"AMAZON_WEB_SERVICES", +"MICROSOFT_AZURE" +], +"enumDescriptions": [ +"The cloud provider is unspecified.", +"The cloud provider is Google Cloud.", +"The cloud provider is Amazon Web Services.", +"The cloud provider is Microsoft Azure." +], +"type": "string" +}, +"findingCount": { +"$ref": "VulnerabilityCountBySeverity", +"description": "The vulnerability count by severity." +}, +"name": { +"description": "Identifier. The vulnerability snapshot name. Format: //locations//vulnerabilitySnapshots/", +"type": "string" +}, +"snapshotTime": { +"description": "The time that the snapshot was taken.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"YaraRuleSignature": { +"description": "A signature corresponding to a YARA rule.", +"id": "YaraRuleSignature", +"properties": { +"yaraRule": { +"description": "The name of the YARA rule.", +"type": "string" +} +}, +"type": "object" +} +}, +"servicePath": "", +"title": "Security Command Center API", +"version": "v1", +"version_module": true +} \ No newline at end of file diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/securitycenter.v1beta2.json b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/securitycenter.v1beta2.json new file mode 100644 index 0000000000000000000000000000000000000000..677b6ea608358f071e4eaa77d676878524a97a9a --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/securitycenter.v1beta2.json @@ -0,0 +1,12548 @@ +{ +"auth": { +"oauth2": { +"scopes": { +"https://www.googleapis.com/auth/cloud-platform": { +"description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." +} +} +} +}, +"basePath": "", +"baseUrl": "https://securitycenter.googleapis.com/", +"batchPath": "batch", +"canonicalName": "Security Command Center", +"description": "Security Command Center API provides access to temporal views of assets and findings within an organization.", +"discoveryVersion": "v1", +"documentationLink": "https://cloud.google.com/security-command-center", +"endpoints": [ +{ +"description": "Regional Endpoint", +"endpointUrl": "https://securitycenter.me-central2.rep.googleapis.com/", +"location": "me-central2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://securitycenter.us.rep.googleapis.com/", +"location": "us" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://securitycenter.eu.rep.googleapis.com/", +"location": "eu" +} +], +"fullyEncodeReservedExpansion": true, +"icons": { +"x16": "http://www.google.com/images/icons/product/search-16.gif", +"x32": "http://www.google.com/images/icons/product/search-32.gif" +}, +"id": "securitycenter:v1beta2", +"kind": "discovery#restDescription", +"mtlsRootUrl": "https://securitycenter.mtls.googleapis.com/", +"name": "securitycenter", +"ownerDomain": "google.com", +"ownerName": "Google", +"parameters": { +"$.xgafv": { +"description": "V1 error format.", +"enum": [ +"1", +"2" +], +"enumDescriptions": [ +"v1 error format", +"v2 error format" +], +"location": "query", +"type": "string" +}, +"access_token": { +"description": "OAuth access token.", +"location": "query", +"type": "string" +}, +"alt": { +"default": "json", +"description": "Data format for response.", +"enum": [ +"json", +"media", +"proto" +], +"enumDescriptions": [ +"Responses with Content-Type of application/json", +"Media download with context-dependent Content-Type", +"Responses with Content-Type of application/x-protobuf" +], +"location": "query", +"type": "string" +}, +"callback": { +"description": "JSONP", +"location": "query", +"type": "string" +}, +"fields": { +"description": "Selector specifying which fields to include in a partial response.", +"location": "query", +"type": "string" +}, +"key": { +"description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", +"location": "query", +"type": "string" +}, +"oauth_token": { +"description": "OAuth 2.0 token for the current user.", +"location": "query", +"type": "string" +}, +"prettyPrint": { +"default": "true", +"description": "Returns response with indentations and line breaks.", +"location": "query", +"type": "boolean" +}, +"quotaUser": { +"description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.", +"location": "query", +"type": "string" +}, +"uploadType": { +"description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", +"location": "query", +"type": "string" +}, +"upload_protocol": { +"description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", +"location": "query", +"type": "string" +} +}, +"protocol": "rest", +"resources": { +"folders": { +"methods": { +"getContainerThreatDetectionSettings": { +"description": "Get the ContainerThreatDetectionSettings resource. In the returned settings response, a missing field only indicates that it was not explicitly set, so no assumption should be made about these fields. In other words, GetContainerThreatDetectionSettings does not calculate the effective service settings for the resource, which accounts for inherited settings and defaults. Instead, use CalculateContainerThreatDetectionSettings for this purpose.", +"flatPath": "v1beta2/folders/{foldersId}/containerThreatDetectionSettings", +"httpMethod": "GET", +"id": "securitycenter.folders.getContainerThreatDetectionSettings", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the ContainerThreatDetectionSettings to retrieve. Formats: * organizations/{organization}/containerThreatDetectionSettings * folders/{folder}/containerThreatDetectionSettings * projects/{project}/containerThreatDetectionSettings * projects/{project}/locations/{location}/clusters/{cluster}/containerThreatDetectionSettings", +"location": "path", +"pattern": "^folders/[^/]+/containerThreatDetectionSettings$", +"required": true, +"type": "string" +} +}, +"path": "v1beta2/{+name}", +"response": { +"$ref": "ContainerThreatDetectionSettings" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"getEventThreatDetectionSettings": { +"description": "Get the EventThreatDetectionSettings resource. In the returned settings response, a missing field only indicates that it was not explicitly set, so no assumption should be made about these fields. In other words, GetEventThreatDetectionSettings does not calculate the effective service settings for the resource, which accounts for inherited settings and defaults. Instead, use CalculateEventThreatDetectionSettings for this purpose.", +"flatPath": "v1beta2/folders/{foldersId}/eventThreatDetectionSettings", +"httpMethod": "GET", +"id": "securitycenter.folders.getEventThreatDetectionSettings", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the EventThreatDetectionSettings to retrieve. Formats: * organizations/{organization}/eventThreatDetectionSettings * folders/{folder}/eventThreatDetectionSettings * projects/{project}/eventThreatDetectionSettings", +"location": "path", +"pattern": "^folders/[^/]+/eventThreatDetectionSettings$", +"required": true, +"type": "string" +} +}, +"path": "v1beta2/{+name}", +"response": { +"$ref": "EventThreatDetectionSettings" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"getRapidVulnerabilityDetectionSettings": { +"description": "Get the RapidVulnerabilityDetectionSettings resource. In the returned settings response, a missing field only indicates that it was not explicitly set, so no assumption should be made about these fields. In other words, GetRapidVulnerabilityDetectionSettings does not calculate the effective service settings for the resource, which accounts for inherited settings and defaults. Instead, use CalculateRapidVulnerabilityDetectionSettings for this purpose.", +"flatPath": "v1beta2/folders/{foldersId}/rapidVulnerabilityDetectionSettings", +"httpMethod": "GET", +"id": "securitycenter.folders.getRapidVulnerabilityDetectionSettings", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the RapidVulnerabilityDetectionSettings to retrieve. Formats: * organizations/{organization}/rapidVulnerabilityDetectionSettings * folders/{folder}/rapidVulnerabilityDetectionSettings * projects/{project}/rapidVulnerabilityDetectionSettings", +"location": "path", +"pattern": "^folders/[^/]+/rapidVulnerabilityDetectionSettings$", +"required": true, +"type": "string" +} +}, +"path": "v1beta2/{+name}", +"response": { +"$ref": "RapidVulnerabilityDetectionSettings" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"getSecurityCenterSettings": { +"description": "Get the SecurityCenterSettings resource.", +"flatPath": "v1beta2/folders/{foldersId}/securityCenterSettings", +"httpMethod": "GET", +"id": "securitycenter.folders.getSecurityCenterSettings", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the SecurityCenterSettings to retrieve. Format: organizations/{organization}/securityCenterSettings Format: folders/{folder}/securityCenterSettings Format: projects/{project}/securityCenterSettings", +"location": "path", +"pattern": "^folders/[^/]+/securityCenterSettings$", +"required": true, +"type": "string" +} +}, +"path": "v1beta2/{+name}", +"response": { +"$ref": "SecurityCenterSettings" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"getSecurityHealthAnalyticsSettings": { +"description": "Get the SecurityHealthAnalyticsSettings resource. In the returned settings response, a missing field only indicates that it was not explicitly set, so no assumption should be made about these fields. In other words, GetSecurityHealthAnalyticsSettings does not calculate the effective service settings for the resource, which accounts for inherited settings and defaults. Instead, use CalculateSecurityHealthAnalyticsSettings for this purpose.", +"flatPath": "v1beta2/folders/{foldersId}/securityHealthAnalyticsSettings", +"httpMethod": "GET", +"id": "securitycenter.folders.getSecurityHealthAnalyticsSettings", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the SecurityHealthAnalyticsSettings to retrieve. Formats: * organizations/{organization}/securityHealthAnalyticsSettings * folders/{folder}/securityHealthAnalyticsSettings * projects/{project}/securityHealthAnalyticsSettings", +"location": "path", +"pattern": "^folders/[^/]+/securityHealthAnalyticsSettings$", +"required": true, +"type": "string" +} +}, +"path": "v1beta2/{+name}", +"response": { +"$ref": "SecurityHealthAnalyticsSettings" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"getVirtualMachineThreatDetectionSettings": { +"description": "Get the VirtualMachineThreatDetectionSettings resource. In the returned settings response, a missing field only indicates that it was not explicitly set, so no assumption should be made about these fields. In other words, GetVirtualMachineThreatDetectionSettings does not calculate the effective service settings for the resource, which accounts for inherited settings and defaults. Instead, use CalculateVirtualMachineThreatDetectionSettings for this purpose.", +"flatPath": "v1beta2/folders/{foldersId}/virtualMachineThreatDetectionSettings", +"httpMethod": "GET", +"id": "securitycenter.folders.getVirtualMachineThreatDetectionSettings", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the VirtualMachineThreatDetectionSettings to retrieve. Formats: * organizations/{organization}/virtualMachineThreatDetectionSettings * folders/{folder}/virtualMachineThreatDetectionSettings * projects/{project}/virtualMachineThreatDetectionSettings", +"location": "path", +"pattern": "^folders/[^/]+/virtualMachineThreatDetectionSettings$", +"required": true, +"type": "string" +} +}, +"path": "v1beta2/{+name}", +"response": { +"$ref": "VirtualMachineThreatDetectionSettings" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"getWebSecurityScannerSettings": { +"description": "Get the WebSecurityScannerSettings resource. In the returned settings response, a missing field only indicates that it was not explicitly set, so no assumption should be made about these fields. In other words, GetWebSecurityScannerSettings does not calculate the effective service settings for the resource, which accounts for inherited settings and defaults. Instead, use CalculateWebSecurityScannerSettings for this purpose.", +"flatPath": "v1beta2/folders/{foldersId}/webSecurityScannerSettings", +"httpMethod": "GET", +"id": "securitycenter.folders.getWebSecurityScannerSettings", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the WebSecurityScannerSettings to retrieve. Formats: * organizations/{organization}/webSecurityScannerSettings * folders/{folder}/webSecurityScannerSettings * projects/{project}/webSecurityScannerSettings", +"location": "path", +"pattern": "^folders/[^/]+/webSecurityScannerSettings$", +"required": true, +"type": "string" +} +}, +"path": "v1beta2/{+name}", +"response": { +"$ref": "WebSecurityScannerSettings" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"updateContainerThreatDetectionSettings": { +"description": "Update the ContainerThreatDetectionSettings resource.", +"flatPath": "v1beta2/folders/{foldersId}/containerThreatDetectionSettings", +"httpMethod": "PATCH", +"id": "securitycenter.folders.updateContainerThreatDetectionSettings", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Identifier. The resource name of the ContainerThreatDetectionSettings. Formats: * organizations/{organization}/containerThreatDetectionSettings * folders/{folder}/containerThreatDetectionSettings * projects/{project}/containerThreatDetectionSettings * projects/{project}/locations/{location}/clusters/{cluster}/containerThreatDetectionSettings", +"location": "path", +"pattern": "^folders/[^/]+/containerThreatDetectionSettings$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "The list of fields to be updated.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1beta2/{+name}", +"request": { +"$ref": "ContainerThreatDetectionSettings" +}, +"response": { +"$ref": "ContainerThreatDetectionSettings" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"updateEventThreatDetectionSettings": { +"description": "Update the EventThreatDetectionSettings resource.", +"flatPath": "v1beta2/folders/{foldersId}/eventThreatDetectionSettings", +"httpMethod": "PATCH", +"id": "securitycenter.folders.updateEventThreatDetectionSettings", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Identifier. The resource name of the EventThreatDetectionSettings. Formats: * organizations/{organization}/eventThreatDetectionSettings * folders/{folder}/eventThreatDetectionSettings * projects/{project}/eventThreatDetectionSettings", +"location": "path", +"pattern": "^folders/[^/]+/eventThreatDetectionSettings$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "The list of fields to be updated.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1beta2/{+name}", +"request": { +"$ref": "EventThreatDetectionSettings" +}, +"response": { +"$ref": "EventThreatDetectionSettings" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"updateRapidVulnerabilityDetectionSettings": { +"description": "Update the RapidVulnerabilityDetectionSettings resource.", +"flatPath": "v1beta2/folders/{foldersId}/rapidVulnerabilityDetectionSettings", +"httpMethod": "PATCH", +"id": "securitycenter.folders.updateRapidVulnerabilityDetectionSettings", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The resource name of the RapidVulnerabilityDetectionSettings. Formats: * organizations/{organization}/rapidVulnerabilityDetectionSettings * folders/{folder}/rapidVulnerabilityDetectionSettings * projects/{project}/rapidVulnerabilityDetectionSettings", +"location": "path", +"pattern": "^folders/[^/]+/rapidVulnerabilityDetectionSettings$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "The list of fields to be updated.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1beta2/{+name}", +"request": { +"$ref": "RapidVulnerabilityDetectionSettings" +}, +"response": { +"$ref": "RapidVulnerabilityDetectionSettings" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"updateSecurityHealthAnalyticsSettings": { +"description": "Update the SecurityHealthAnalyticsSettings resource.", +"flatPath": "v1beta2/folders/{foldersId}/securityHealthAnalyticsSettings", +"httpMethod": "PATCH", +"id": "securitycenter.folders.updateSecurityHealthAnalyticsSettings", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Identifier. The resource name of the SecurityHealthAnalyticsSettings. Formats: * organizations/{organization}/securityHealthAnalyticsSettings * folders/{folder}/securityHealthAnalyticsSettings * projects/{project}/securityHealthAnalyticsSettings", +"location": "path", +"pattern": "^folders/[^/]+/securityHealthAnalyticsSettings$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "The list of fields to be updated.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1beta2/{+name}", +"request": { +"$ref": "SecurityHealthAnalyticsSettings" +}, +"response": { +"$ref": "SecurityHealthAnalyticsSettings" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"updateVirtualMachineThreatDetectionSettings": { +"description": "Update the VirtualMachineThreatDetectionSettings resource.", +"flatPath": "v1beta2/folders/{foldersId}/virtualMachineThreatDetectionSettings", +"httpMethod": "PATCH", +"id": "securitycenter.folders.updateVirtualMachineThreatDetectionSettings", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Identifier. The resource name of the VirtualMachineThreatDetectionSettings. Formats: * organizations/{organization}/virtualMachineThreatDetectionSettings * folders/{folder}/virtualMachineThreatDetectionSettings * projects/{project}/virtualMachineThreatDetectionSettings", +"location": "path", +"pattern": "^folders/[^/]+/virtualMachineThreatDetectionSettings$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "The list of fields to be updated.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1beta2/{+name}", +"request": { +"$ref": "VirtualMachineThreatDetectionSettings" +}, +"response": { +"$ref": "VirtualMachineThreatDetectionSettings" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"updateWebSecurityScannerSettings": { +"description": "Update the WebSecurityScannerSettings resource.", +"flatPath": "v1beta2/folders/{foldersId}/webSecurityScannerSettings", +"httpMethod": "PATCH", +"id": "securitycenter.folders.updateWebSecurityScannerSettings", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Identifier. The resource name of the WebSecurityScannerSettings. Formats: * organizations/{organization}/webSecurityScannerSettings * folders/{folder}/webSecurityScannerSettings * projects/{project}/webSecurityScannerSettings", +"location": "path", +"pattern": "^folders/[^/]+/webSecurityScannerSettings$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "The list of fields to be updated.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1beta2/{+name}", +"request": { +"$ref": "WebSecurityScannerSettings" +}, +"response": { +"$ref": "WebSecurityScannerSettings" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"containerThreatDetectionSettings": { +"methods": { +"calculate": { +"description": "Calculates the effective ContainerThreatDetectionSettings based on its level in the resource hierarchy and its settings. Settings provided closer to the target resource take precedence over those further away (e.g. folder will override organization level settings). The default SCC setting for the detector service defaults can be overridden at organization, folder and project levels. No assumptions should be made about the SCC defaults as it is considered an internal implementation detail.", +"flatPath": "v1beta2/folders/{foldersId}/containerThreatDetectionSettings:calculate", +"httpMethod": "GET", +"id": "securitycenter.folders.containerThreatDetectionSettings.calculate", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the ContainerThreatDetectionSettings to calculate. Formats: * organizations/{organization}/containerThreatDetectionSettings * folders/{folder}/containerThreatDetectionSettings * projects/{project}/containerThreatDetectionSettings * projects/{project}/locations/{location}/clusters/{cluster}/containerThreatDetectionSettings", +"location": "path", +"pattern": "^folders/[^/]+/containerThreatDetectionSettings$", +"required": true, +"type": "string" +}, +"showEligibleModulesOnly": { +"description": "Optional. When set, will only retrieve the modules that are in scope. By default, all modules will be shown.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1beta2/{+name}:calculate", +"response": { +"$ref": "ContainerThreatDetectionSettings" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"eventThreatDetectionSettings": { +"methods": { +"calculate": { +"description": "Calculates the effective EventThreatDetectionSettings based on its level in the resource hierarchy and its settings. Settings provided closer to the target resource take precedence over those further away (e.g. folder will override organization level settings). The default SCC setting for the detector service defaults can be overridden at organization, folder and project levels. No assumptions should be made about the SCC defaults as it is considered an internal implementation detail.", +"flatPath": "v1beta2/folders/{foldersId}/eventThreatDetectionSettings:calculate", +"httpMethod": "GET", +"id": "securitycenter.folders.eventThreatDetectionSettings.calculate", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the EventThreatDetectionSettings to calculate. Formats: * organizations/{organization}/eventThreatDetectionSettings * folders/{folder}/eventThreatDetectionSettings * projects/{project}/eventThreatDetectionSettings", +"location": "path", +"pattern": "^folders/[^/]+/eventThreatDetectionSettings$", +"required": true, +"type": "string" +}, +"showEligibleModulesOnly": { +"description": "Optional. When set, will only retrieve the modules that are in scope. By default, all modules will be shown.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1beta2/{+name}:calculate", +"response": { +"$ref": "EventThreatDetectionSettings" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"rapidVulnerabilityDetectionSettings": { +"methods": { +"calculate": { +"description": "Calculates the effective RapidVulnerabilityDetectionSettings based on its level in the resource hierarchy and its settings. Settings provided closer to the target resource take precedence over those further away (e.g. folder will override organization level settings). The default SCC setting for the detector service defaults can be overridden at organization, folder and project levels. No assumptions should be made about the SCC defaults as it is considered an internal implementation detail.", +"flatPath": "v1beta2/folders/{foldersId}/rapidVulnerabilityDetectionSettings:calculate", +"httpMethod": "GET", +"id": "securitycenter.folders.rapidVulnerabilityDetectionSettings.calculate", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the RapidVulnerabilityDetectionSettings to calculate. Formats: * organizations/{organization}/rapidVulnerabilityDetectionSettings * folders/{folder}/rapidVulnerabilityDetectionSettings * projects/{project}/rapidVulnerabilityDetectionSettings", +"location": "path", +"pattern": "^folders/[^/]+/rapidVulnerabilityDetectionSettings$", +"required": true, +"type": "string" +} +}, +"path": "v1beta2/{+name}:calculate", +"response": { +"$ref": "RapidVulnerabilityDetectionSettings" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"securityHealthAnalyticsSettings": { +"methods": { +"calculate": { +"description": "Calculates the effective SecurityHealthAnalyticsSettings based on its level in the resource hierarchy and its settings. Settings provided closer to the target resource take precedence over those further away (e.g. folder will override organization level settings). The default SCC setting for the detector service defaults can be overridden at organization, folder and project levels. No assumptions should be made about the SCC defaults as it is considered an internal implementation detail.", +"flatPath": "v1beta2/folders/{foldersId}/securityHealthAnalyticsSettings:calculate", +"httpMethod": "GET", +"id": "securitycenter.folders.securityHealthAnalyticsSettings.calculate", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the SecurityHealthAnalyticsSettings to calculate. Formats: * organizations/{organization}/securityHealthAnalyticsSettings * folders/{folder}/securityHealthAnalyticsSettings * projects/{project}/securityHealthAnalyticsSettings", +"location": "path", +"pattern": "^folders/[^/]+/securityHealthAnalyticsSettings$", +"required": true, +"type": "string" +}, +"showEligibleModulesOnly": { +"description": "Optional. When set, will only retrieve the modules that are in scope. By default, all modules will be shown.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1beta2/{+name}:calculate", +"response": { +"$ref": "SecurityHealthAnalyticsSettings" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"virtualMachineThreatDetectionSettings": { +"methods": { +"calculate": { +"description": "Calculates the effective VirtualMachineThreatDetectionSettings based on its level in the resource hierarchy and its settings. Settings provided closer to the target resource take precedence over those further away (e.g. folder will override organization level settings). The default SCC setting for the detector service defaults can be overridden at organization, folder and project levels. No assumptions should be made about the SCC defaults as it is considered an internal implementation detail.", +"flatPath": "v1beta2/folders/{foldersId}/virtualMachineThreatDetectionSettings:calculate", +"httpMethod": "GET", +"id": "securitycenter.folders.virtualMachineThreatDetectionSettings.calculate", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the VirtualMachineThreatDetectionSettings to calculate. Formats: * organizations/{organization}/virtualMachineThreatDetectionSettings * folders/{folder}/virtualMachineThreatDetectionSettings * projects/{project}/virtualMachineThreatDetectionSettings", +"location": "path", +"pattern": "^folders/[^/]+/virtualMachineThreatDetectionSettings$", +"required": true, +"type": "string" +}, +"showEligibleModulesOnly": { +"description": "Optional. When set, will only retrieve the modules that are in scope. By default, all modules will be shown.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1beta2/{+name}:calculate", +"response": { +"$ref": "VirtualMachineThreatDetectionSettings" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"webSecurityScannerSettings": { +"methods": { +"calculate": { +"description": "Calculates the effective WebSecurityScannerSettings based on its level in the resource hierarchy and its settings. Settings provided closer to the target resource take precedence over those further away (e.g. folder will override organization level settings). The default SCC setting for the detector service defaults can be overridden at organization, folder and project levels. No assumptions should be made about the SCC defaults as it is considered an internal implementation detail.", +"flatPath": "v1beta2/folders/{foldersId}/webSecurityScannerSettings:calculate", +"httpMethod": "GET", +"id": "securitycenter.folders.webSecurityScannerSettings.calculate", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the WebSecurityScannerSettings to calculate. Formats: * organizations/{organization}/webSecurityScannerSettings * folders/{folder}/webSecurityScannerSettings * projects/{project}/webSecurityScannerSettings", +"location": "path", +"pattern": "^folders/[^/]+/webSecurityScannerSettings$", +"required": true, +"type": "string" +}, +"showEligibleModulesOnly": { +"description": "Optional. When set, will only retrieve the modules that are in scope. By default, all modules will be shown.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1beta2/{+name}:calculate", +"response": { +"$ref": "WebSecurityScannerSettings" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +}, +"organizations": { +"methods": { +"getContainerThreatDetectionSettings": { +"description": "Get the ContainerThreatDetectionSettings resource. In the returned settings response, a missing field only indicates that it was not explicitly set, so no assumption should be made about these fields. In other words, GetContainerThreatDetectionSettings does not calculate the effective service settings for the resource, which accounts for inherited settings and defaults. Instead, use CalculateContainerThreatDetectionSettings for this purpose.", +"flatPath": "v1beta2/organizations/{organizationsId}/containerThreatDetectionSettings", +"httpMethod": "GET", +"id": "securitycenter.organizations.getContainerThreatDetectionSettings", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the ContainerThreatDetectionSettings to retrieve. Formats: * organizations/{organization}/containerThreatDetectionSettings * folders/{folder}/containerThreatDetectionSettings * projects/{project}/containerThreatDetectionSettings * projects/{project}/locations/{location}/clusters/{cluster}/containerThreatDetectionSettings", +"location": "path", +"pattern": "^organizations/[^/]+/containerThreatDetectionSettings$", +"required": true, +"type": "string" +} +}, +"path": "v1beta2/{+name}", +"response": { +"$ref": "ContainerThreatDetectionSettings" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"getEventThreatDetectionSettings": { +"description": "Get the EventThreatDetectionSettings resource. In the returned settings response, a missing field only indicates that it was not explicitly set, so no assumption should be made about these fields. In other words, GetEventThreatDetectionSettings does not calculate the effective service settings for the resource, which accounts for inherited settings and defaults. Instead, use CalculateEventThreatDetectionSettings for this purpose.", +"flatPath": "v1beta2/organizations/{organizationsId}/eventThreatDetectionSettings", +"httpMethod": "GET", +"id": "securitycenter.organizations.getEventThreatDetectionSettings", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the EventThreatDetectionSettings to retrieve. Formats: * organizations/{organization}/eventThreatDetectionSettings * folders/{folder}/eventThreatDetectionSettings * projects/{project}/eventThreatDetectionSettings", +"location": "path", +"pattern": "^organizations/[^/]+/eventThreatDetectionSettings$", +"required": true, +"type": "string" +} +}, +"path": "v1beta2/{+name}", +"response": { +"$ref": "EventThreatDetectionSettings" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"getRapidVulnerabilityDetectionSettings": { +"description": "Get the RapidVulnerabilityDetectionSettings resource. In the returned settings response, a missing field only indicates that it was not explicitly set, so no assumption should be made about these fields. In other words, GetRapidVulnerabilityDetectionSettings does not calculate the effective service settings for the resource, which accounts for inherited settings and defaults. Instead, use CalculateRapidVulnerabilityDetectionSettings for this purpose.", +"flatPath": "v1beta2/organizations/{organizationsId}/rapidVulnerabilityDetectionSettings", +"httpMethod": "GET", +"id": "securitycenter.organizations.getRapidVulnerabilityDetectionSettings", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the RapidVulnerabilityDetectionSettings to retrieve. Formats: * organizations/{organization}/rapidVulnerabilityDetectionSettings * folders/{folder}/rapidVulnerabilityDetectionSettings * projects/{project}/rapidVulnerabilityDetectionSettings", +"location": "path", +"pattern": "^organizations/[^/]+/rapidVulnerabilityDetectionSettings$", +"required": true, +"type": "string" +} +}, +"path": "v1beta2/{+name}", +"response": { +"$ref": "RapidVulnerabilityDetectionSettings" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"getSecurityCenterSettings": { +"description": "Get the SecurityCenterSettings resource.", +"flatPath": "v1beta2/organizations/{organizationsId}/securityCenterSettings", +"httpMethod": "GET", +"id": "securitycenter.organizations.getSecurityCenterSettings", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the SecurityCenterSettings to retrieve. Format: organizations/{organization}/securityCenterSettings Format: folders/{folder}/securityCenterSettings Format: projects/{project}/securityCenterSettings", +"location": "path", +"pattern": "^organizations/[^/]+/securityCenterSettings$", +"required": true, +"type": "string" +} +}, +"path": "v1beta2/{+name}", +"response": { +"$ref": "SecurityCenterSettings" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"getSecurityHealthAnalyticsSettings": { +"description": "Get the SecurityHealthAnalyticsSettings resource. In the returned settings response, a missing field only indicates that it was not explicitly set, so no assumption should be made about these fields. In other words, GetSecurityHealthAnalyticsSettings does not calculate the effective service settings for the resource, which accounts for inherited settings and defaults. Instead, use CalculateSecurityHealthAnalyticsSettings for this purpose.", +"flatPath": "v1beta2/organizations/{organizationsId}/securityHealthAnalyticsSettings", +"httpMethod": "GET", +"id": "securitycenter.organizations.getSecurityHealthAnalyticsSettings", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the SecurityHealthAnalyticsSettings to retrieve. Formats: * organizations/{organization}/securityHealthAnalyticsSettings * folders/{folder}/securityHealthAnalyticsSettings * projects/{project}/securityHealthAnalyticsSettings", +"location": "path", +"pattern": "^organizations/[^/]+/securityHealthAnalyticsSettings$", +"required": true, +"type": "string" +} +}, +"path": "v1beta2/{+name}", +"response": { +"$ref": "SecurityHealthAnalyticsSettings" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"getSubscription": { +"description": "Get the Subscription resource.", +"flatPath": "v1beta2/organizations/{organizationsId}/subscription", +"httpMethod": "GET", +"id": "securitycenter.organizations.getSubscription", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the subscription to retrieve. Format: organizations/{organization}/subscription", +"location": "path", +"pattern": "^organizations/[^/]+/subscription$", +"required": true, +"type": "string" +} +}, +"path": "v1beta2/{+name}", +"response": { +"$ref": "Subscription" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"getVirtualMachineThreatDetectionSettings": { +"description": "Get the VirtualMachineThreatDetectionSettings resource. In the returned settings response, a missing field only indicates that it was not explicitly set, so no assumption should be made about these fields. In other words, GetVirtualMachineThreatDetectionSettings does not calculate the effective service settings for the resource, which accounts for inherited settings and defaults. Instead, use CalculateVirtualMachineThreatDetectionSettings for this purpose.", +"flatPath": "v1beta2/organizations/{organizationsId}/virtualMachineThreatDetectionSettings", +"httpMethod": "GET", +"id": "securitycenter.organizations.getVirtualMachineThreatDetectionSettings", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the VirtualMachineThreatDetectionSettings to retrieve. Formats: * organizations/{organization}/virtualMachineThreatDetectionSettings * folders/{folder}/virtualMachineThreatDetectionSettings * projects/{project}/virtualMachineThreatDetectionSettings", +"location": "path", +"pattern": "^organizations/[^/]+/virtualMachineThreatDetectionSettings$", +"required": true, +"type": "string" +} +}, +"path": "v1beta2/{+name}", +"response": { +"$ref": "VirtualMachineThreatDetectionSettings" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"getWebSecurityScannerSettings": { +"description": "Get the WebSecurityScannerSettings resource. In the returned settings response, a missing field only indicates that it was not explicitly set, so no assumption should be made about these fields. In other words, GetWebSecurityScannerSettings does not calculate the effective service settings for the resource, which accounts for inherited settings and defaults. Instead, use CalculateWebSecurityScannerSettings for this purpose.", +"flatPath": "v1beta2/organizations/{organizationsId}/webSecurityScannerSettings", +"httpMethod": "GET", +"id": "securitycenter.organizations.getWebSecurityScannerSettings", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the WebSecurityScannerSettings to retrieve. Formats: * organizations/{organization}/webSecurityScannerSettings * folders/{folder}/webSecurityScannerSettings * projects/{project}/webSecurityScannerSettings", +"location": "path", +"pattern": "^organizations/[^/]+/webSecurityScannerSettings$", +"required": true, +"type": "string" +} +}, +"path": "v1beta2/{+name}", +"response": { +"$ref": "WebSecurityScannerSettings" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"updateContainerThreatDetectionSettings": { +"description": "Update the ContainerThreatDetectionSettings resource.", +"flatPath": "v1beta2/organizations/{organizationsId}/containerThreatDetectionSettings", +"httpMethod": "PATCH", +"id": "securitycenter.organizations.updateContainerThreatDetectionSettings", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Identifier. The resource name of the ContainerThreatDetectionSettings. Formats: * organizations/{organization}/containerThreatDetectionSettings * folders/{folder}/containerThreatDetectionSettings * projects/{project}/containerThreatDetectionSettings * projects/{project}/locations/{location}/clusters/{cluster}/containerThreatDetectionSettings", +"location": "path", +"pattern": "^organizations/[^/]+/containerThreatDetectionSettings$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "The list of fields to be updated.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1beta2/{+name}", +"request": { +"$ref": "ContainerThreatDetectionSettings" +}, +"response": { +"$ref": "ContainerThreatDetectionSettings" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"updateEventThreatDetectionSettings": { +"description": "Update the EventThreatDetectionSettings resource.", +"flatPath": "v1beta2/organizations/{organizationsId}/eventThreatDetectionSettings", +"httpMethod": "PATCH", +"id": "securitycenter.organizations.updateEventThreatDetectionSettings", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Identifier. The resource name of the EventThreatDetectionSettings. Formats: * organizations/{organization}/eventThreatDetectionSettings * folders/{folder}/eventThreatDetectionSettings * projects/{project}/eventThreatDetectionSettings", +"location": "path", +"pattern": "^organizations/[^/]+/eventThreatDetectionSettings$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "The list of fields to be updated.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1beta2/{+name}", +"request": { +"$ref": "EventThreatDetectionSettings" +}, +"response": { +"$ref": "EventThreatDetectionSettings" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"updateRapidVulnerabilityDetectionSettings": { +"description": "Update the RapidVulnerabilityDetectionSettings resource.", +"flatPath": "v1beta2/organizations/{organizationsId}/rapidVulnerabilityDetectionSettings", +"httpMethod": "PATCH", +"id": "securitycenter.organizations.updateRapidVulnerabilityDetectionSettings", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The resource name of the RapidVulnerabilityDetectionSettings. Formats: * organizations/{organization}/rapidVulnerabilityDetectionSettings * folders/{folder}/rapidVulnerabilityDetectionSettings * projects/{project}/rapidVulnerabilityDetectionSettings", +"location": "path", +"pattern": "^organizations/[^/]+/rapidVulnerabilityDetectionSettings$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "The list of fields to be updated.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1beta2/{+name}", +"request": { +"$ref": "RapidVulnerabilityDetectionSettings" +}, +"response": { +"$ref": "RapidVulnerabilityDetectionSettings" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"updateSecurityHealthAnalyticsSettings": { +"description": "Update the SecurityHealthAnalyticsSettings resource.", +"flatPath": "v1beta2/organizations/{organizationsId}/securityHealthAnalyticsSettings", +"httpMethod": "PATCH", +"id": "securitycenter.organizations.updateSecurityHealthAnalyticsSettings", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Identifier. The resource name of the SecurityHealthAnalyticsSettings. Formats: * organizations/{organization}/securityHealthAnalyticsSettings * folders/{folder}/securityHealthAnalyticsSettings * projects/{project}/securityHealthAnalyticsSettings", +"location": "path", +"pattern": "^organizations/[^/]+/securityHealthAnalyticsSettings$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "The list of fields to be updated.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1beta2/{+name}", +"request": { +"$ref": "SecurityHealthAnalyticsSettings" +}, +"response": { +"$ref": "SecurityHealthAnalyticsSettings" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"updateVirtualMachineThreatDetectionSettings": { +"description": "Update the VirtualMachineThreatDetectionSettings resource.", +"flatPath": "v1beta2/organizations/{organizationsId}/virtualMachineThreatDetectionSettings", +"httpMethod": "PATCH", +"id": "securitycenter.organizations.updateVirtualMachineThreatDetectionSettings", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Identifier. The resource name of the VirtualMachineThreatDetectionSettings. Formats: * organizations/{organization}/virtualMachineThreatDetectionSettings * folders/{folder}/virtualMachineThreatDetectionSettings * projects/{project}/virtualMachineThreatDetectionSettings", +"location": "path", +"pattern": "^organizations/[^/]+/virtualMachineThreatDetectionSettings$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "The list of fields to be updated.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1beta2/{+name}", +"request": { +"$ref": "VirtualMachineThreatDetectionSettings" +}, +"response": { +"$ref": "VirtualMachineThreatDetectionSettings" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"updateWebSecurityScannerSettings": { +"description": "Update the WebSecurityScannerSettings resource.", +"flatPath": "v1beta2/organizations/{organizationsId}/webSecurityScannerSettings", +"httpMethod": "PATCH", +"id": "securitycenter.organizations.updateWebSecurityScannerSettings", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Identifier. The resource name of the WebSecurityScannerSettings. Formats: * organizations/{organization}/webSecurityScannerSettings * folders/{folder}/webSecurityScannerSettings * projects/{project}/webSecurityScannerSettings", +"location": "path", +"pattern": "^organizations/[^/]+/webSecurityScannerSettings$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "The list of fields to be updated.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1beta2/{+name}", +"request": { +"$ref": "WebSecurityScannerSettings" +}, +"response": { +"$ref": "WebSecurityScannerSettings" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"containerThreatDetectionSettings": { +"methods": { +"calculate": { +"description": "Calculates the effective ContainerThreatDetectionSettings based on its level in the resource hierarchy and its settings. Settings provided closer to the target resource take precedence over those further away (e.g. folder will override organization level settings). The default SCC setting for the detector service defaults can be overridden at organization, folder and project levels. No assumptions should be made about the SCC defaults as it is considered an internal implementation detail.", +"flatPath": "v1beta2/organizations/{organizationsId}/containerThreatDetectionSettings:calculate", +"httpMethod": "GET", +"id": "securitycenter.organizations.containerThreatDetectionSettings.calculate", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the ContainerThreatDetectionSettings to calculate. Formats: * organizations/{organization}/containerThreatDetectionSettings * folders/{folder}/containerThreatDetectionSettings * projects/{project}/containerThreatDetectionSettings * projects/{project}/locations/{location}/clusters/{cluster}/containerThreatDetectionSettings", +"location": "path", +"pattern": "^organizations/[^/]+/containerThreatDetectionSettings$", +"required": true, +"type": "string" +}, +"showEligibleModulesOnly": { +"description": "Optional. When set, will only retrieve the modules that are in scope. By default, all modules will be shown.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1beta2/{+name}:calculate", +"response": { +"$ref": "ContainerThreatDetectionSettings" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"eventThreatDetectionSettings": { +"methods": { +"calculate": { +"description": "Calculates the effective EventThreatDetectionSettings based on its level in the resource hierarchy and its settings. Settings provided closer to the target resource take precedence over those further away (e.g. folder will override organization level settings). The default SCC setting for the detector service defaults can be overridden at organization, folder and project levels. No assumptions should be made about the SCC defaults as it is considered an internal implementation detail.", +"flatPath": "v1beta2/organizations/{organizationsId}/eventThreatDetectionSettings:calculate", +"httpMethod": "GET", +"id": "securitycenter.organizations.eventThreatDetectionSettings.calculate", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the EventThreatDetectionSettings to calculate. Formats: * organizations/{organization}/eventThreatDetectionSettings * folders/{folder}/eventThreatDetectionSettings * projects/{project}/eventThreatDetectionSettings", +"location": "path", +"pattern": "^organizations/[^/]+/eventThreatDetectionSettings$", +"required": true, +"type": "string" +}, +"showEligibleModulesOnly": { +"description": "Optional. When set, will only retrieve the modules that are in scope. By default, all modules will be shown.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1beta2/{+name}:calculate", +"response": { +"$ref": "EventThreatDetectionSettings" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"rapidVulnerabilityDetectionSettings": { +"methods": { +"calculate": { +"description": "Calculates the effective RapidVulnerabilityDetectionSettings based on its level in the resource hierarchy and its settings. Settings provided closer to the target resource take precedence over those further away (e.g. folder will override organization level settings). The default SCC setting for the detector service defaults can be overridden at organization, folder and project levels. No assumptions should be made about the SCC defaults as it is considered an internal implementation detail.", +"flatPath": "v1beta2/organizations/{organizationsId}/rapidVulnerabilityDetectionSettings:calculate", +"httpMethod": "GET", +"id": "securitycenter.organizations.rapidVulnerabilityDetectionSettings.calculate", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the RapidVulnerabilityDetectionSettings to calculate. Formats: * organizations/{organization}/rapidVulnerabilityDetectionSettings * folders/{folder}/rapidVulnerabilityDetectionSettings * projects/{project}/rapidVulnerabilityDetectionSettings", +"location": "path", +"pattern": "^organizations/[^/]+/rapidVulnerabilityDetectionSettings$", +"required": true, +"type": "string" +} +}, +"path": "v1beta2/{+name}:calculate", +"response": { +"$ref": "RapidVulnerabilityDetectionSettings" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"securityHealthAnalyticsSettings": { +"methods": { +"calculate": { +"description": "Calculates the effective SecurityHealthAnalyticsSettings based on its level in the resource hierarchy and its settings. Settings provided closer to the target resource take precedence over those further away (e.g. folder will override organization level settings). The default SCC setting for the detector service defaults can be overridden at organization, folder and project levels. No assumptions should be made about the SCC defaults as it is considered an internal implementation detail.", +"flatPath": "v1beta2/organizations/{organizationsId}/securityHealthAnalyticsSettings:calculate", +"httpMethod": "GET", +"id": "securitycenter.organizations.securityHealthAnalyticsSettings.calculate", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the SecurityHealthAnalyticsSettings to calculate. Formats: * organizations/{organization}/securityHealthAnalyticsSettings * folders/{folder}/securityHealthAnalyticsSettings * projects/{project}/securityHealthAnalyticsSettings", +"location": "path", +"pattern": "^organizations/[^/]+/securityHealthAnalyticsSettings$", +"required": true, +"type": "string" +}, +"showEligibleModulesOnly": { +"description": "Optional. When set, will only retrieve the modules that are in scope. By default, all modules will be shown.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1beta2/{+name}:calculate", +"response": { +"$ref": "SecurityHealthAnalyticsSettings" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"virtualMachineThreatDetectionSettings": { +"methods": { +"calculate": { +"description": "Calculates the effective VirtualMachineThreatDetectionSettings based on its level in the resource hierarchy and its settings. Settings provided closer to the target resource take precedence over those further away (e.g. folder will override organization level settings). The default SCC setting for the detector service defaults can be overridden at organization, folder and project levels. No assumptions should be made about the SCC defaults as it is considered an internal implementation detail.", +"flatPath": "v1beta2/organizations/{organizationsId}/virtualMachineThreatDetectionSettings:calculate", +"httpMethod": "GET", +"id": "securitycenter.organizations.virtualMachineThreatDetectionSettings.calculate", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the VirtualMachineThreatDetectionSettings to calculate. Formats: * organizations/{organization}/virtualMachineThreatDetectionSettings * folders/{folder}/virtualMachineThreatDetectionSettings * projects/{project}/virtualMachineThreatDetectionSettings", +"location": "path", +"pattern": "^organizations/[^/]+/virtualMachineThreatDetectionSettings$", +"required": true, +"type": "string" +}, +"showEligibleModulesOnly": { +"description": "Optional. When set, will only retrieve the modules that are in scope. By default, all modules will be shown.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1beta2/{+name}:calculate", +"response": { +"$ref": "VirtualMachineThreatDetectionSettings" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"webSecurityScannerSettings": { +"methods": { +"calculate": { +"description": "Calculates the effective WebSecurityScannerSettings based on its level in the resource hierarchy and its settings. Settings provided closer to the target resource take precedence over those further away (e.g. folder will override organization level settings). The default SCC setting for the detector service defaults can be overridden at organization, folder and project levels. No assumptions should be made about the SCC defaults as it is considered an internal implementation detail.", +"flatPath": "v1beta2/organizations/{organizationsId}/webSecurityScannerSettings:calculate", +"httpMethod": "GET", +"id": "securitycenter.organizations.webSecurityScannerSettings.calculate", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the WebSecurityScannerSettings to calculate. Formats: * organizations/{organization}/webSecurityScannerSettings * folders/{folder}/webSecurityScannerSettings * projects/{project}/webSecurityScannerSettings", +"location": "path", +"pattern": "^organizations/[^/]+/webSecurityScannerSettings$", +"required": true, +"type": "string" +}, +"showEligibleModulesOnly": { +"description": "Optional. When set, will only retrieve the modules that are in scope. By default, all modules will be shown.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1beta2/{+name}:calculate", +"response": { +"$ref": "WebSecurityScannerSettings" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +}, +"projects": { +"methods": { +"getContainerThreatDetectionSettings": { +"description": "Get the ContainerThreatDetectionSettings resource. In the returned settings response, a missing field only indicates that it was not explicitly set, so no assumption should be made about these fields. In other words, GetContainerThreatDetectionSettings does not calculate the effective service settings for the resource, which accounts for inherited settings and defaults. Instead, use CalculateContainerThreatDetectionSettings for this purpose.", +"flatPath": "v1beta2/projects/{projectsId}/containerThreatDetectionSettings", +"httpMethod": "GET", +"id": "securitycenter.projects.getContainerThreatDetectionSettings", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the ContainerThreatDetectionSettings to retrieve. Formats: * organizations/{organization}/containerThreatDetectionSettings * folders/{folder}/containerThreatDetectionSettings * projects/{project}/containerThreatDetectionSettings * projects/{project}/locations/{location}/clusters/{cluster}/containerThreatDetectionSettings", +"location": "path", +"pattern": "^projects/[^/]+/containerThreatDetectionSettings$", +"required": true, +"type": "string" +} +}, +"path": "v1beta2/{+name}", +"response": { +"$ref": "ContainerThreatDetectionSettings" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"getEventThreatDetectionSettings": { +"description": "Get the EventThreatDetectionSettings resource. In the returned settings response, a missing field only indicates that it was not explicitly set, so no assumption should be made about these fields. In other words, GetEventThreatDetectionSettings does not calculate the effective service settings for the resource, which accounts for inherited settings and defaults. Instead, use CalculateEventThreatDetectionSettings for this purpose.", +"flatPath": "v1beta2/projects/{projectsId}/eventThreatDetectionSettings", +"httpMethod": "GET", +"id": "securitycenter.projects.getEventThreatDetectionSettings", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the EventThreatDetectionSettings to retrieve. Formats: * organizations/{organization}/eventThreatDetectionSettings * folders/{folder}/eventThreatDetectionSettings * projects/{project}/eventThreatDetectionSettings", +"location": "path", +"pattern": "^projects/[^/]+/eventThreatDetectionSettings$", +"required": true, +"type": "string" +} +}, +"path": "v1beta2/{+name}", +"response": { +"$ref": "EventThreatDetectionSettings" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"getRapidVulnerabilityDetectionSettings": { +"description": "Get the RapidVulnerabilityDetectionSettings resource. In the returned settings response, a missing field only indicates that it was not explicitly set, so no assumption should be made about these fields. In other words, GetRapidVulnerabilityDetectionSettings does not calculate the effective service settings for the resource, which accounts for inherited settings and defaults. Instead, use CalculateRapidVulnerabilityDetectionSettings for this purpose.", +"flatPath": "v1beta2/projects/{projectsId}/rapidVulnerabilityDetectionSettings", +"httpMethod": "GET", +"id": "securitycenter.projects.getRapidVulnerabilityDetectionSettings", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the RapidVulnerabilityDetectionSettings to retrieve. Formats: * organizations/{organization}/rapidVulnerabilityDetectionSettings * folders/{folder}/rapidVulnerabilityDetectionSettings * projects/{project}/rapidVulnerabilityDetectionSettings", +"location": "path", +"pattern": "^projects/[^/]+/rapidVulnerabilityDetectionSettings$", +"required": true, +"type": "string" +} +}, +"path": "v1beta2/{+name}", +"response": { +"$ref": "RapidVulnerabilityDetectionSettings" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"getSecurityCenterSettings": { +"description": "Get the SecurityCenterSettings resource.", +"flatPath": "v1beta2/projects/{projectsId}/securityCenterSettings", +"httpMethod": "GET", +"id": "securitycenter.projects.getSecurityCenterSettings", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the SecurityCenterSettings to retrieve. Format: organizations/{organization}/securityCenterSettings Format: folders/{folder}/securityCenterSettings Format: projects/{project}/securityCenterSettings", +"location": "path", +"pattern": "^projects/[^/]+/securityCenterSettings$", +"required": true, +"type": "string" +} +}, +"path": "v1beta2/{+name}", +"response": { +"$ref": "SecurityCenterSettings" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"getSecurityHealthAnalyticsSettings": { +"description": "Get the SecurityHealthAnalyticsSettings resource. In the returned settings response, a missing field only indicates that it was not explicitly set, so no assumption should be made about these fields. In other words, GetSecurityHealthAnalyticsSettings does not calculate the effective service settings for the resource, which accounts for inherited settings and defaults. Instead, use CalculateSecurityHealthAnalyticsSettings for this purpose.", +"flatPath": "v1beta2/projects/{projectsId}/securityHealthAnalyticsSettings", +"httpMethod": "GET", +"id": "securitycenter.projects.getSecurityHealthAnalyticsSettings", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the SecurityHealthAnalyticsSettings to retrieve. Formats: * organizations/{organization}/securityHealthAnalyticsSettings * folders/{folder}/securityHealthAnalyticsSettings * projects/{project}/securityHealthAnalyticsSettings", +"location": "path", +"pattern": "^projects/[^/]+/securityHealthAnalyticsSettings$", +"required": true, +"type": "string" +} +}, +"path": "v1beta2/{+name}", +"response": { +"$ref": "SecurityHealthAnalyticsSettings" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"getVirtualMachineThreatDetectionSettings": { +"description": "Get the VirtualMachineThreatDetectionSettings resource. In the returned settings response, a missing field only indicates that it was not explicitly set, so no assumption should be made about these fields. In other words, GetVirtualMachineThreatDetectionSettings does not calculate the effective service settings for the resource, which accounts for inherited settings and defaults. Instead, use CalculateVirtualMachineThreatDetectionSettings for this purpose.", +"flatPath": "v1beta2/projects/{projectsId}/virtualMachineThreatDetectionSettings", +"httpMethod": "GET", +"id": "securitycenter.projects.getVirtualMachineThreatDetectionSettings", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the VirtualMachineThreatDetectionSettings to retrieve. Formats: * organizations/{organization}/virtualMachineThreatDetectionSettings * folders/{folder}/virtualMachineThreatDetectionSettings * projects/{project}/virtualMachineThreatDetectionSettings", +"location": "path", +"pattern": "^projects/[^/]+/virtualMachineThreatDetectionSettings$", +"required": true, +"type": "string" +} +}, +"path": "v1beta2/{+name}", +"response": { +"$ref": "VirtualMachineThreatDetectionSettings" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"getWebSecurityScannerSettings": { +"description": "Get the WebSecurityScannerSettings resource. In the returned settings response, a missing field only indicates that it was not explicitly set, so no assumption should be made about these fields. In other words, GetWebSecurityScannerSettings does not calculate the effective service settings for the resource, which accounts for inherited settings and defaults. Instead, use CalculateWebSecurityScannerSettings for this purpose.", +"flatPath": "v1beta2/projects/{projectsId}/webSecurityScannerSettings", +"httpMethod": "GET", +"id": "securitycenter.projects.getWebSecurityScannerSettings", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the WebSecurityScannerSettings to retrieve. Formats: * organizations/{organization}/webSecurityScannerSettings * folders/{folder}/webSecurityScannerSettings * projects/{project}/webSecurityScannerSettings", +"location": "path", +"pattern": "^projects/[^/]+/webSecurityScannerSettings$", +"required": true, +"type": "string" +} +}, +"path": "v1beta2/{+name}", +"response": { +"$ref": "WebSecurityScannerSettings" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"updateContainerThreatDetectionSettings": { +"description": "Update the ContainerThreatDetectionSettings resource.", +"flatPath": "v1beta2/projects/{projectsId}/containerThreatDetectionSettings", +"httpMethod": "PATCH", +"id": "securitycenter.projects.updateContainerThreatDetectionSettings", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Identifier. The resource name of the ContainerThreatDetectionSettings. Formats: * organizations/{organization}/containerThreatDetectionSettings * folders/{folder}/containerThreatDetectionSettings * projects/{project}/containerThreatDetectionSettings * projects/{project}/locations/{location}/clusters/{cluster}/containerThreatDetectionSettings", +"location": "path", +"pattern": "^projects/[^/]+/containerThreatDetectionSettings$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "The list of fields to be updated.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1beta2/{+name}", +"request": { +"$ref": "ContainerThreatDetectionSettings" +}, +"response": { +"$ref": "ContainerThreatDetectionSettings" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"updateEventThreatDetectionSettings": { +"description": "Update the EventThreatDetectionSettings resource.", +"flatPath": "v1beta2/projects/{projectsId}/eventThreatDetectionSettings", +"httpMethod": "PATCH", +"id": "securitycenter.projects.updateEventThreatDetectionSettings", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Identifier. The resource name of the EventThreatDetectionSettings. Formats: * organizations/{organization}/eventThreatDetectionSettings * folders/{folder}/eventThreatDetectionSettings * projects/{project}/eventThreatDetectionSettings", +"location": "path", +"pattern": "^projects/[^/]+/eventThreatDetectionSettings$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "The list of fields to be updated.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1beta2/{+name}", +"request": { +"$ref": "EventThreatDetectionSettings" +}, +"response": { +"$ref": "EventThreatDetectionSettings" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"updateRapidVulnerabilityDetectionSettings": { +"description": "Update the RapidVulnerabilityDetectionSettings resource.", +"flatPath": "v1beta2/projects/{projectsId}/rapidVulnerabilityDetectionSettings", +"httpMethod": "PATCH", +"id": "securitycenter.projects.updateRapidVulnerabilityDetectionSettings", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The resource name of the RapidVulnerabilityDetectionSettings. Formats: * organizations/{organization}/rapidVulnerabilityDetectionSettings * folders/{folder}/rapidVulnerabilityDetectionSettings * projects/{project}/rapidVulnerabilityDetectionSettings", +"location": "path", +"pattern": "^projects/[^/]+/rapidVulnerabilityDetectionSettings$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "The list of fields to be updated.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1beta2/{+name}", +"request": { +"$ref": "RapidVulnerabilityDetectionSettings" +}, +"response": { +"$ref": "RapidVulnerabilityDetectionSettings" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"updateSecurityHealthAnalyticsSettings": { +"description": "Update the SecurityHealthAnalyticsSettings resource.", +"flatPath": "v1beta2/projects/{projectsId}/securityHealthAnalyticsSettings", +"httpMethod": "PATCH", +"id": "securitycenter.projects.updateSecurityHealthAnalyticsSettings", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Identifier. The resource name of the SecurityHealthAnalyticsSettings. Formats: * organizations/{organization}/securityHealthAnalyticsSettings * folders/{folder}/securityHealthAnalyticsSettings * projects/{project}/securityHealthAnalyticsSettings", +"location": "path", +"pattern": "^projects/[^/]+/securityHealthAnalyticsSettings$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "The list of fields to be updated.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1beta2/{+name}", +"request": { +"$ref": "SecurityHealthAnalyticsSettings" +}, +"response": { +"$ref": "SecurityHealthAnalyticsSettings" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"updateVirtualMachineThreatDetectionSettings": { +"description": "Update the VirtualMachineThreatDetectionSettings resource.", +"flatPath": "v1beta2/projects/{projectsId}/virtualMachineThreatDetectionSettings", +"httpMethod": "PATCH", +"id": "securitycenter.projects.updateVirtualMachineThreatDetectionSettings", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Identifier. The resource name of the VirtualMachineThreatDetectionSettings. Formats: * organizations/{organization}/virtualMachineThreatDetectionSettings * folders/{folder}/virtualMachineThreatDetectionSettings * projects/{project}/virtualMachineThreatDetectionSettings", +"location": "path", +"pattern": "^projects/[^/]+/virtualMachineThreatDetectionSettings$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "The list of fields to be updated.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1beta2/{+name}", +"request": { +"$ref": "VirtualMachineThreatDetectionSettings" +}, +"response": { +"$ref": "VirtualMachineThreatDetectionSettings" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"updateWebSecurityScannerSettings": { +"description": "Update the WebSecurityScannerSettings resource.", +"flatPath": "v1beta2/projects/{projectsId}/webSecurityScannerSettings", +"httpMethod": "PATCH", +"id": "securitycenter.projects.updateWebSecurityScannerSettings", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Identifier. The resource name of the WebSecurityScannerSettings. Formats: * organizations/{organization}/webSecurityScannerSettings * folders/{folder}/webSecurityScannerSettings * projects/{project}/webSecurityScannerSettings", +"location": "path", +"pattern": "^projects/[^/]+/webSecurityScannerSettings$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "The list of fields to be updated.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1beta2/{+name}", +"request": { +"$ref": "WebSecurityScannerSettings" +}, +"response": { +"$ref": "WebSecurityScannerSettings" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"containerThreatDetectionSettings": { +"methods": { +"calculate": { +"description": "Calculates the effective ContainerThreatDetectionSettings based on its level in the resource hierarchy and its settings. Settings provided closer to the target resource take precedence over those further away (e.g. folder will override organization level settings). The default SCC setting for the detector service defaults can be overridden at organization, folder and project levels. No assumptions should be made about the SCC defaults as it is considered an internal implementation detail.", +"flatPath": "v1beta2/projects/{projectsId}/containerThreatDetectionSettings:calculate", +"httpMethod": "GET", +"id": "securitycenter.projects.containerThreatDetectionSettings.calculate", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the ContainerThreatDetectionSettings to calculate. Formats: * organizations/{organization}/containerThreatDetectionSettings * folders/{folder}/containerThreatDetectionSettings * projects/{project}/containerThreatDetectionSettings * projects/{project}/locations/{location}/clusters/{cluster}/containerThreatDetectionSettings", +"location": "path", +"pattern": "^projects/[^/]+/containerThreatDetectionSettings$", +"required": true, +"type": "string" +}, +"showEligibleModulesOnly": { +"description": "Optional. When set, will only retrieve the modules that are in scope. By default, all modules will be shown.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1beta2/{+name}:calculate", +"response": { +"$ref": "ContainerThreatDetectionSettings" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"eventThreatDetectionSettings": { +"methods": { +"calculate": { +"description": "Calculates the effective EventThreatDetectionSettings based on its level in the resource hierarchy and its settings. Settings provided closer to the target resource take precedence over those further away (e.g. folder will override organization level settings). The default SCC setting for the detector service defaults can be overridden at organization, folder and project levels. No assumptions should be made about the SCC defaults as it is considered an internal implementation detail.", +"flatPath": "v1beta2/projects/{projectsId}/eventThreatDetectionSettings:calculate", +"httpMethod": "GET", +"id": "securitycenter.projects.eventThreatDetectionSettings.calculate", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the EventThreatDetectionSettings to calculate. Formats: * organizations/{organization}/eventThreatDetectionSettings * folders/{folder}/eventThreatDetectionSettings * projects/{project}/eventThreatDetectionSettings", +"location": "path", +"pattern": "^projects/[^/]+/eventThreatDetectionSettings$", +"required": true, +"type": "string" +}, +"showEligibleModulesOnly": { +"description": "Optional. When set, will only retrieve the modules that are in scope. By default, all modules will be shown.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1beta2/{+name}:calculate", +"response": { +"$ref": "EventThreatDetectionSettings" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"locations": { +"resources": { +"clusters": { +"methods": { +"getContainerThreatDetectionSettings": { +"description": "Get the ContainerThreatDetectionSettings resource. In the returned settings response, a missing field only indicates that it was not explicitly set, so no assumption should be made about these fields. In other words, GetContainerThreatDetectionSettings does not calculate the effective service settings for the resource, which accounts for inherited settings and defaults. Instead, use CalculateContainerThreatDetectionSettings for this purpose.", +"flatPath": "v1beta2/projects/{projectsId}/locations/{locationsId}/clusters/{clustersId}/containerThreatDetectionSettings", +"httpMethod": "GET", +"id": "securitycenter.projects.locations.clusters.getContainerThreatDetectionSettings", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the ContainerThreatDetectionSettings to retrieve. Formats: * organizations/{organization}/containerThreatDetectionSettings * folders/{folder}/containerThreatDetectionSettings * projects/{project}/containerThreatDetectionSettings * projects/{project}/locations/{location}/clusters/{cluster}/containerThreatDetectionSettings", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/clusters/[^/]+/containerThreatDetectionSettings$", +"required": true, +"type": "string" +} +}, +"path": "v1beta2/{+name}", +"response": { +"$ref": "ContainerThreatDetectionSettings" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"updateContainerThreatDetectionSettings": { +"description": "Update the ContainerThreatDetectionSettings resource.", +"flatPath": "v1beta2/projects/{projectsId}/locations/{locationsId}/clusters/{clustersId}/containerThreatDetectionSettings", +"httpMethod": "PATCH", +"id": "securitycenter.projects.locations.clusters.updateContainerThreatDetectionSettings", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Identifier. The resource name of the ContainerThreatDetectionSettings. Formats: * organizations/{organization}/containerThreatDetectionSettings * folders/{folder}/containerThreatDetectionSettings * projects/{project}/containerThreatDetectionSettings * projects/{project}/locations/{location}/clusters/{cluster}/containerThreatDetectionSettings", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/clusters/[^/]+/containerThreatDetectionSettings$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "The list of fields to be updated.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1beta2/{+name}", +"request": { +"$ref": "ContainerThreatDetectionSettings" +}, +"response": { +"$ref": "ContainerThreatDetectionSettings" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"containerThreatDetectionSettings": { +"methods": { +"calculate": { +"description": "Calculates the effective ContainerThreatDetectionSettings based on its level in the resource hierarchy and its settings. Settings provided closer to the target resource take precedence over those further away (e.g. folder will override organization level settings). The default SCC setting for the detector service defaults can be overridden at organization, folder and project levels. No assumptions should be made about the SCC defaults as it is considered an internal implementation detail.", +"flatPath": "v1beta2/projects/{projectsId}/locations/{locationsId}/clusters/{clustersId}/containerThreatDetectionSettings:calculate", +"httpMethod": "GET", +"id": "securitycenter.projects.locations.clusters.containerThreatDetectionSettings.calculate", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the ContainerThreatDetectionSettings to calculate. Formats: * organizations/{organization}/containerThreatDetectionSettings * folders/{folder}/containerThreatDetectionSettings * projects/{project}/containerThreatDetectionSettings * projects/{project}/locations/{location}/clusters/{cluster}/containerThreatDetectionSettings", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/clusters/[^/]+/containerThreatDetectionSettings$", +"required": true, +"type": "string" +}, +"showEligibleModulesOnly": { +"description": "Optional. When set, will only retrieve the modules that are in scope. By default, all modules will be shown.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1beta2/{+name}:calculate", +"response": { +"$ref": "ContainerThreatDetectionSettings" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +} +} +}, +"rapidVulnerabilityDetectionSettings": { +"methods": { +"calculate": { +"description": "Calculates the effective RapidVulnerabilityDetectionSettings based on its level in the resource hierarchy and its settings. Settings provided closer to the target resource take precedence over those further away (e.g. folder will override organization level settings). The default SCC setting for the detector service defaults can be overridden at organization, folder and project levels. No assumptions should be made about the SCC defaults as it is considered an internal implementation detail.", +"flatPath": "v1beta2/projects/{projectsId}/rapidVulnerabilityDetectionSettings:calculate", +"httpMethod": "GET", +"id": "securitycenter.projects.rapidVulnerabilityDetectionSettings.calculate", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the RapidVulnerabilityDetectionSettings to calculate. Formats: * organizations/{organization}/rapidVulnerabilityDetectionSettings * folders/{folder}/rapidVulnerabilityDetectionSettings * projects/{project}/rapidVulnerabilityDetectionSettings", +"location": "path", +"pattern": "^projects/[^/]+/rapidVulnerabilityDetectionSettings$", +"required": true, +"type": "string" +} +}, +"path": "v1beta2/{+name}:calculate", +"response": { +"$ref": "RapidVulnerabilityDetectionSettings" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"securityHealthAnalyticsSettings": { +"methods": { +"calculate": { +"description": "Calculates the effective SecurityHealthAnalyticsSettings based on its level in the resource hierarchy and its settings. Settings provided closer to the target resource take precedence over those further away (e.g. folder will override organization level settings). The default SCC setting for the detector service defaults can be overridden at organization, folder and project levels. No assumptions should be made about the SCC defaults as it is considered an internal implementation detail.", +"flatPath": "v1beta2/projects/{projectsId}/securityHealthAnalyticsSettings:calculate", +"httpMethod": "GET", +"id": "securitycenter.projects.securityHealthAnalyticsSettings.calculate", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the SecurityHealthAnalyticsSettings to calculate. Formats: * organizations/{organization}/securityHealthAnalyticsSettings * folders/{folder}/securityHealthAnalyticsSettings * projects/{project}/securityHealthAnalyticsSettings", +"location": "path", +"pattern": "^projects/[^/]+/securityHealthAnalyticsSettings$", +"required": true, +"type": "string" +}, +"showEligibleModulesOnly": { +"description": "Optional. When set, will only retrieve the modules that are in scope. By default, all modules will be shown.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1beta2/{+name}:calculate", +"response": { +"$ref": "SecurityHealthAnalyticsSettings" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"virtualMachineThreatDetectionSettings": { +"methods": { +"calculate": { +"description": "Calculates the effective VirtualMachineThreatDetectionSettings based on its level in the resource hierarchy and its settings. Settings provided closer to the target resource take precedence over those further away (e.g. folder will override organization level settings). The default SCC setting for the detector service defaults can be overridden at organization, folder and project levels. No assumptions should be made about the SCC defaults as it is considered an internal implementation detail.", +"flatPath": "v1beta2/projects/{projectsId}/virtualMachineThreatDetectionSettings:calculate", +"httpMethod": "GET", +"id": "securitycenter.projects.virtualMachineThreatDetectionSettings.calculate", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the VirtualMachineThreatDetectionSettings to calculate. Formats: * organizations/{organization}/virtualMachineThreatDetectionSettings * folders/{folder}/virtualMachineThreatDetectionSettings * projects/{project}/virtualMachineThreatDetectionSettings", +"location": "path", +"pattern": "^projects/[^/]+/virtualMachineThreatDetectionSettings$", +"required": true, +"type": "string" +}, +"showEligibleModulesOnly": { +"description": "Optional. When set, will only retrieve the modules that are in scope. By default, all modules will be shown.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1beta2/{+name}:calculate", +"response": { +"$ref": "VirtualMachineThreatDetectionSettings" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"webSecurityScannerSettings": { +"methods": { +"calculate": { +"description": "Calculates the effective WebSecurityScannerSettings based on its level in the resource hierarchy and its settings. Settings provided closer to the target resource take precedence over those further away (e.g. folder will override organization level settings). The default SCC setting for the detector service defaults can be overridden at organization, folder and project levels. No assumptions should be made about the SCC defaults as it is considered an internal implementation detail.", +"flatPath": "v1beta2/projects/{projectsId}/webSecurityScannerSettings:calculate", +"httpMethod": "GET", +"id": "securitycenter.projects.webSecurityScannerSettings.calculate", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the WebSecurityScannerSettings to calculate. Formats: * organizations/{organization}/webSecurityScannerSettings * folders/{folder}/webSecurityScannerSettings * projects/{project}/webSecurityScannerSettings", +"location": "path", +"pattern": "^projects/[^/]+/webSecurityScannerSettings$", +"required": true, +"type": "string" +}, +"showEligibleModulesOnly": { +"description": "Optional. When set, will only retrieve the modules that are in scope. By default, all modules will be shown.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1beta2/{+name}:calculate", +"response": { +"$ref": "WebSecurityScannerSettings" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +} +}, +"revision": "20260223", +"rootUrl": "https://securitycenter.googleapis.com/", +"schemas": { +"Access": { +"description": "Represents an access event.", +"id": "Access", +"properties": { +"callerIp": { +"description": "Caller's IP address, such as \"1.1.1.1\".", +"type": "string" +}, +"callerIpGeo": { +"$ref": "Geolocation", +"description": "The caller IP's geolocation, which identifies where the call came from." +}, +"methodName": { +"description": "The method that the service account called, e.g. \"SetIamPolicy\".", +"type": "string" +}, +"principalEmail": { +"description": "Associated email, such as \"foo@google.com\". The email address of the authenticated user or a service account acting on behalf of a third party principal making the request. For third party identity callers, the `principal_subject` field is populated instead of this field. For privacy reasons, the principal email address is sometimes redacted. For more information, see [Caller identities in audit logs](https://cloud.google.com/logging/docs/audit#user-id).", +"type": "string" +}, +"principalSubject": { +"description": "A string that represents the principal_subject that is associated with the identity. Unlike `principal_email`, `principal_subject` supports principals that aren't associated with email addresses, such as third party principals. For most identities, the format is `principal://iam.googleapis.com/{identity pool name}/subject/{subject}`. Some GKE identities, such as GKE_WORKLOAD, FREEFORM, and GKE_HUB_WORKLOAD, still use the legacy format `serviceAccount:{identity pool name}[{subject}]`.", +"type": "string" +}, +"serviceAccountDelegationInfo": { +"description": "The identity delegation history of an authenticated service account that made the request. The `serviceAccountDelegationInfo[]` object contains information about the real authorities that try to access Google Cloud resources by delegating on a service account. When multiple authorities are present, they are guaranteed to be sorted based on the original ordering of the identity delegation events.", +"items": { +"$ref": "ServiceAccountDelegationInfo" +}, +"type": "array" +}, +"serviceAccountKeyName": { +"description": "The name of the service account key that was used to create or exchange credentials when authenticating the service account that made the request. This is a scheme-less URI full resource name. For example: \"//iam.googleapis.com/projects/{PROJECT_ID}/serviceAccounts/{ACCOUNT}/keys/{key}\". ", +"type": "string" +}, +"serviceName": { +"description": "This is the API service that the service account made a call to, e.g. \"iam.googleapis.com\"", +"type": "string" +}, +"userAgent": { +"description": "The caller's user agent string associated with the finding.", +"type": "string" +}, +"userAgentFamily": { +"description": "Type of user agent associated with the finding. For example, an operating system shell or an embedded or standalone application.", +"type": "string" +}, +"userName": { +"description": "A string that represents a username. The username provided depends on the type of the finding and is likely not an IAM principal. For example, this can be a system username if the finding is related to a virtual machine, or it can be an application login username.", +"type": "string" +} +}, +"type": "object" +}, +"AccessReview": { +"description": "Conveys information about a Kubernetes access review (such as one returned by a [`kubectl auth can-i`](https://kubernetes.io/docs/reference/access-authn-authz/authorization/#checking-api-access) command) that was involved in a finding.", +"id": "AccessReview", +"properties": { +"group": { +"description": "The API group of the resource. \"*\" means all.", +"type": "string" +}, +"name": { +"description": "The name of the resource being requested. Empty means all.", +"type": "string" +}, +"ns": { +"description": "Namespace of the action being requested. Currently, there is no distinction between no namespace and all namespaces. Both are represented by \"\" (empty).", +"type": "string" +}, +"resource": { +"description": "The optional resource type requested. \"*\" means all.", +"type": "string" +}, +"subresource": { +"description": "The optional subresource type.", +"type": "string" +}, +"verb": { +"description": "A Kubernetes resource API verb, like get, list, watch, create, update, delete, proxy. \"*\" means all.", +"type": "string" +}, +"version": { +"description": "The API version of the resource. \"*\" means all.", +"type": "string" +} +}, +"type": "object" +}, +"AdaptiveProtection": { +"description": "Information about [Google Cloud Armor Adaptive Protection](https://cloud.google.com/armor/docs/cloud-armor-overview#google-cloud-armor-adaptive-protection).", +"id": "AdaptiveProtection", +"properties": { +"confidence": { +"description": "A score of 0 means that there is low confidence that the detected event is an actual attack. A score of 1 means that there is high confidence that the detected event is an attack. See the [Adaptive Protection documentation](https://cloud.google.com/armor/docs/adaptive-protection-overview#configure-alert-tuning) for further explanation.", +"format": "double", +"type": "number" +} +}, +"type": "object" +}, +"AdcApplication": { +"description": "Represents an ADC application associated with the finding.", +"id": "AdcApplication", +"properties": { +"attributes": { +"$ref": "GoogleCloudSecuritycenterV1ResourceApplicationAttributes", +"description": "Consumer provided attributes for the AppHub application." +}, +"name": { +"description": "The resource name of an ADC Application. Format: projects/{project}/locations/{location}/spaces/{space}/applications/{application}", +"type": "string" +} +}, +"type": "object" +}, +"AdcApplicationTemplateRevision": { +"description": "Represents an ADC template associated with the finding.", +"id": "AdcApplicationTemplateRevision", +"properties": { +"name": { +"description": "The resource name of an ADC Application Template Revision. Format: projects/{project}/locations/{location}/spaces/{space}/applicationTemplates/{application_template}/revisions/{revision}", +"type": "string" +} +}, +"type": "object" +}, +"AdcSharedTemplateRevision": { +"description": "Represents an ADC shared template associated with the finding.", +"id": "AdcSharedTemplateRevision", +"properties": { +"name": { +"description": "The resource name of an ADC Shared Template Revision. Format: projects/{project}/locations/{location}/spaces/{space}/applicationTemplates/{application_template}/revisions/{revision}", +"type": "string" +} +}, +"type": "object" +}, +"AffectedResources": { +"description": "Details about resources affected by this finding.", +"id": "AffectedResources", +"properties": { +"count": { +"description": "The count of resources affected by the finding.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"AiModel": { +"description": "Contains information about the AI model associated with the finding.", +"id": "AiModel", +"properties": { +"deploymentPlatform": { +"description": "The platform on which the model is deployed.", +"enum": [ +"DEPLOYMENT_PLATFORM_UNSPECIFIED", +"VERTEX_AI", +"GKE", +"GCE", +"FINE_TUNED_MODEL" +], +"enumDescriptions": [ +"Unspecified deployment platform.", +"Vertex AI.", +"Google Kubernetes Engine.", +"Google Compute Engine.", +"Fine tuned model." +], +"type": "string" +}, +"displayName": { +"description": "The user defined display name of model. Ex. baseline-classification-model", +"type": "string" +}, +"domain": { +"description": "The domain of the model, for example, \u201cimage-classification\u201d.", +"type": "string" +}, +"library": { +"description": "The name of the model library, for example, \u201ctransformers\u201d.", +"type": "string" +}, +"location": { +"description": "The region in which the model is used, for example, \u201cus-central1\u201d.", +"type": "string" +}, +"name": { +"description": "The name of the AI model, for example, \"gemini:1.0.0\".", +"type": "string" +}, +"publisher": { +"description": "The publisher of the model, for example, \u201cgoogle\u201d or \u201cnvidia\u201d.", +"type": "string" +}, +"usageCategory": { +"description": "The purpose of the model, for example, \"Inteference\" or \"Training\".", +"type": "string" +} +}, +"type": "object" +}, +"Allowed": { +"description": "Allowed IP rule.", +"id": "Allowed", +"properties": { +"ipRules": { +"description": "Optional. Optional list of allowed IP rules.", +"items": { +"$ref": "IpRule" +}, +"type": "array" +} +}, +"type": "object" +}, +"Application": { +"description": "Represents an application associated with a finding.", +"id": "Application", +"properties": { +"baseUri": { +"description": "The base URI that identifies the network location of the application in which the vulnerability was detected. For example, `http://example.com`.", +"type": "string" +}, +"fullUri": { +"description": "The full URI with payload that can be used to reproduce the vulnerability. For example, `http://example.com?p=aMmYgI6H`.", +"type": "string" +} +}, +"type": "object" +}, +"ArtifactGuardPolicies": { +"description": "Represents the result of evaluating artifact guard policies.", +"id": "ArtifactGuardPolicies", +"properties": { +"failingPolicies": { +"description": "A list of failing policies.", +"items": { +"$ref": "ArtifactGuardPolicy" +}, +"type": "array" +}, +"resourceId": { +"description": "The ID of the resource that has policies configured for it.", +"type": "string" +} +}, +"type": "object" +}, +"ArtifactGuardPolicy": { +"description": "Represents an artifact guard policy.", +"id": "ArtifactGuardPolicy", +"properties": { +"failureReason": { +"description": "The reason for the policy failure, for example, \"severity=HIGH AND max_vuln_count=2\".", +"type": "string" +}, +"policyId": { +"description": "The ID of the failing policy, for example, \"organizations/3392779/locations/global/policies/prod-policy\".", +"type": "string" +}, +"type": { +"description": "The type of the policy evaluation.", +"enum": [ +"ARTIFACT_GUARD_POLICY_TYPE_UNSPECIFIED", +"VULNERABILITY" +], +"enumDescriptions": [ +"Default value. This value is unused.", +"Vulnerability type." +], +"type": "string" +} +}, +"type": "object" +}, +"Attack": { +"description": "Information about DDoS attack volume and classification.", +"id": "Attack", +"properties": { +"classification": { +"description": "Type of attack, for example, 'SYN-flood', 'NTP-udp', or 'CHARGEN-udp'.", +"type": "string" +}, +"volumeBps": { +"deprecated": true, +"description": "Total BPS (bytes per second) volume of attack. Deprecated - refer to volume_bps_long instead.", +"format": "int32", +"type": "integer" +}, +"volumeBpsLong": { +"description": "Total BPS (bytes per second) volume of attack.", +"format": "int64", +"type": "string" +}, +"volumePps": { +"deprecated": true, +"description": "Total PPS (packets per second) volume of attack. Deprecated - refer to volume_pps_long instead.", +"format": "int32", +"type": "integer" +}, +"volumePpsLong": { +"description": "Total PPS (packets per second) volume of attack.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"AttackExposure": { +"description": "An attack exposure contains the results of an attack path simulation run.", +"id": "AttackExposure", +"properties": { +"attackExposureResult": { +"description": "The resource name of the attack path simulation result that contains the details regarding this attack exposure score. Example: `organizations/123/simulations/456/attackExposureResults/789`", +"type": "string" +}, +"exposedHighValueResourcesCount": { +"description": "The number of high value resources that are exposed as a result of this finding.", +"format": "int32", +"type": "integer" +}, +"exposedLowValueResourcesCount": { +"description": "The number of high value resources that are exposed as a result of this finding.", +"format": "int32", +"type": "integer" +}, +"exposedMediumValueResourcesCount": { +"description": "The number of medium value resources that are exposed as a result of this finding.", +"format": "int32", +"type": "integer" +}, +"latestCalculationTime": { +"description": "The most recent time the attack exposure was updated on this finding.", +"format": "google-datetime", +"type": "string" +}, +"score": { +"description": "A number between 0 (inclusive) and infinity that represents how important this finding is to remediate. The higher the score, the more important it is to remediate.", +"format": "double", +"type": "number" +}, +"state": { +"description": "What state this AttackExposure is in. This captures whether or not an attack exposure has been calculated or not.", +"enum": [ +"STATE_UNSPECIFIED", +"CALCULATED", +"NOT_CALCULATED" +], +"enumDescriptions": [ +"The state is not specified.", +"The attack exposure has been calculated.", +"The attack exposure has not been calculated." +], +"type": "string" +} +}, +"type": "object" +}, +"AwsAccount": { +"description": "An AWS account that is a member of an organization.", +"id": "AwsAccount", +"properties": { +"id": { +"description": "The unique identifier (ID) of the account, containing exactly 12 digits.", +"type": "string" +}, +"name": { +"description": "The friendly name of this account.", +"type": "string" +} +}, +"type": "object" +}, +"AwsMetadata": { +"description": "AWS metadata associated with the resource, only applicable if the finding's cloud provider is Amazon Web Services.", +"id": "AwsMetadata", +"properties": { +"account": { +"$ref": "AwsAccount", +"description": "The AWS account associated with the resource." +}, +"organization": { +"$ref": "AwsOrganization", +"description": "The AWS organization associated with the resource." +}, +"organizationalUnits": { +"description": "A list of AWS organizational units associated with the resource, ordered from lowest level (closest to the account) to highest level.", +"items": { +"$ref": "AwsOrganizationalUnit" +}, +"type": "array" +} +}, +"type": "object" +}, +"AwsOrganization": { +"description": "An organization is a collection of accounts that are centrally managed together using consolidated billing, organized hierarchically with organizational units (OUs), and controlled with policies.", +"id": "AwsOrganization", +"properties": { +"id": { +"description": "The unique identifier (ID) for the organization. The regex pattern for an organization ID string requires \"o-\" followed by from 10 to 32 lowercase letters or digits.", +"type": "string" +} +}, +"type": "object" +}, +"AwsOrganizationalUnit": { +"description": "An Organizational Unit (OU) is a container of AWS accounts within a root of an organization. Policies that are attached to an OU apply to all accounts contained in that OU and in any child OUs.", +"id": "AwsOrganizationalUnit", +"properties": { +"id": { +"description": "The unique identifier (ID) associated with this OU. The regex pattern for an organizational unit ID string requires \"ou-\" followed by from 4 to 32 lowercase letters or digits (the ID of the root that contains the OU). This string is followed by a second \"-\" dash and from 8 to 32 additional lowercase letters or digits. For example, \"ou-ab12-cd34ef56\".", +"type": "string" +}, +"name": { +"description": "The friendly name of the OU.", +"type": "string" +} +}, +"type": "object" +}, +"AzureManagementGroup": { +"description": "Represents an Azure management group.", +"id": "AzureManagementGroup", +"properties": { +"displayName": { +"description": "The display name of the Azure management group.", +"type": "string" +}, +"id": { +"description": "The UUID of the Azure management group, for example, `20000000-0001-0000-0000-000000000000`.", +"type": "string" +} +}, +"type": "object" +}, +"AzureMetadata": { +"description": "Azure metadata associated with the resource, only applicable if the finding's cloud provider is Microsoft Azure.", +"id": "AzureMetadata", +"properties": { +"managementGroups": { +"description": "A list of Azure management groups associated with the resource, ordered from lowest level (closest to the subscription) to highest level.", +"items": { +"$ref": "AzureManagementGroup" +}, +"type": "array" +}, +"resourceGroup": { +"$ref": "AzureResourceGroup", +"description": "The Azure resource group associated with the resource." +}, +"subscription": { +"$ref": "AzureSubscription", +"description": "The Azure subscription associated with the resource." +}, +"tenant": { +"$ref": "AzureTenant", +"description": "The Azure Entra tenant associated with the resource." +} +}, +"type": "object" +}, +"AzureResourceGroup": { +"description": "Represents an Azure resource group.", +"id": "AzureResourceGroup", +"properties": { +"id": { +"description": "The ID of the Azure resource group.", +"type": "string" +}, +"name": { +"description": "The name of the Azure resource group. This is not a UUID.", +"type": "string" +} +}, +"type": "object" +}, +"AzureSubscription": { +"description": "Represents an Azure subscription.", +"id": "AzureSubscription", +"properties": { +"displayName": { +"description": "The display name of the Azure subscription.", +"type": "string" +}, +"id": { +"description": "The UUID of the Azure subscription, for example, `291bba3f-e0a5-47bc-a099-3bdcb2a50a05`.", +"type": "string" +} +}, +"type": "object" +}, +"AzureTenant": { +"description": "Represents a Microsoft Entra tenant.", +"id": "AzureTenant", +"properties": { +"displayName": { +"description": "The display name of the Azure tenant.", +"type": "string" +}, +"id": { +"description": "The ID of the Microsoft Entra tenant, for example, \"a11aaa11-aa11-1aa1-11aa-1aaa11a\".", +"type": "string" +} +}, +"type": "object" +}, +"BackupDisasterRecovery": { +"description": "Information related to Google Cloud Backup and DR Service findings.", +"id": "BackupDisasterRecovery", +"properties": { +"appliance": { +"description": "The name of the Backup and DR appliance that captures, moves, and manages the lifecycle of backup data. For example, `backup-server-57137`.", +"type": "string" +}, +"applications": { +"description": "The names of Backup and DR applications. An application is a VM, database, or file system on a managed host monitored by a backup and recovery appliance. For example, `centos7-01-vol00`, `centos7-01-vol01`, `centos7-01-vol02`.", +"items": { +"type": "string" +}, +"type": "array" +}, +"backupCreateTime": { +"description": "The timestamp at which the Backup and DR backup was created.", +"format": "google-datetime", +"type": "string" +}, +"backupTemplate": { +"description": "The name of a Backup and DR template which comprises one or more backup policies. See the [Backup and DR documentation](https://cloud.google.com/backup-disaster-recovery/docs/concepts/backup-plan#temp) for more information. For example, `snap-ov`.", +"type": "string" +}, +"backupType": { +"description": "The backup type of the Backup and DR image. For example, `Snapshot`, `Remote Snapshot`, `OnVault`.", +"type": "string" +}, +"host": { +"description": "The name of a Backup and DR host, which is managed by the backup and recovery appliance and known to the management console. The host can be of type Generic (for example, Compute Engine, SQL Server, Oracle DB, SMB file system, etc.), vCenter, or an ESX server. See the [Backup and DR documentation on hosts](https://cloud.google.com/backup-disaster-recovery/docs/configuration/manage-hosts-and-their-applications) for more information. For example, `centos7-01`.", +"type": "string" +}, +"policies": { +"description": "The names of Backup and DR policies that are associated with a template and that define when to run a backup, how frequently to run a backup, and how long to retain the backup image. For example, `onvaults`.", +"items": { +"type": "string" +}, +"type": "array" +}, +"policyOptions": { +"description": "The names of Backup and DR advanced policy options of a policy applying to an application. See the [Backup and DR documentation on policy options](https://cloud.google.com/backup-disaster-recovery/docs/create-plan/policy-settings). For example, `skipofflineappsincongrp, nounmap`.", +"items": { +"type": "string" +}, +"type": "array" +}, +"profile": { +"description": "The name of the Backup and DR resource profile that specifies the storage media for backups of application and VM data. See the [Backup and DR documentation on profiles](https://cloud.google.com/backup-disaster-recovery/docs/concepts/backup-plan#profile). For example, `GCP`.", +"type": "string" +}, +"storagePool": { +"description": "The name of the Backup and DR storage pool that the backup and recovery appliance is storing data in. The storage pool could be of type Cloud, Primary, Snapshot, or OnVault. See the [Backup and DR documentation on storage pools](https://cloud.google.com/backup-disaster-recovery/docs/concepts/storage-pools). For example, `DiskPoolOne`.", +"type": "string" +} +}, +"type": "object" +}, +"BigQueryDestination": { +"description": "The destination BigQuery dataset to export findings to.", +"id": "BigQueryDestination", +"properties": { +"dataset": { +"description": "Required. The relative resource name of the destination dataset, in the form projects/{projectId}/datasets/{datasetId}.", +"type": "string" +} +}, +"type": "object" +}, +"Chokepoint": { +"description": "Contains details about a chokepoint, which is a resource or resource group where high-risk attack paths converge, based on [attack path simulations] (https://cloud.google.com/security-command-center/docs/attack-exposure-learn#attack_path_simulations).", +"id": "Chokepoint", +"properties": { +"relatedFindings": { +"description": "List of resource names of findings associated with this chokepoint. For example, organizations/123/sources/456/findings/789. This list will have at most 100 findings.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"CloudArmor": { +"description": "Fields related to Google Cloud Armor findings.", +"id": "CloudArmor", +"properties": { +"adaptiveProtection": { +"$ref": "AdaptiveProtection", +"description": "Information about potential Layer 7 DDoS attacks identified by [Google Cloud Armor Adaptive Protection](https://cloud.google.com/armor/docs/adaptive-protection-overview)." +}, +"attack": { +"$ref": "Attack", +"description": "Information about DDoS attack volume and classification." +}, +"duration": { +"description": "Duration of attack from the start until the current moment (updated every 5 minutes).", +"format": "google-duration", +"type": "string" +}, +"requests": { +"$ref": "Requests", +"description": "Information about incoming requests evaluated by [Google Cloud Armor security policies](https://cloud.google.com/armor/docs/security-policy-overview)." +}, +"securityPolicy": { +"$ref": "SecurityPolicy", +"description": "Information about the [Google Cloud Armor security policy](https://cloud.google.com/armor/docs/security-policy-overview) relevant to the finding." +}, +"threatVector": { +"description": "Distinguish between volumetric & protocol DDoS attack and application layer attacks. For example, \"L3_4\" for Layer 3 and Layer 4 DDoS attacks, or \"L_7\" for Layer 7 DDoS attacks.", +"type": "string" +} +}, +"type": "object" +}, +"CloudControl": { +"description": "CloudControl associated with the finding.", +"id": "CloudControl", +"properties": { +"cloudControlName": { +"description": "Name of the CloudControl associated with the finding.", +"type": "string" +}, +"policyType": { +"description": "Policy type of the CloudControl", +"type": "string" +}, +"type": { +"description": "Type of cloud control.", +"enum": [ +"CLOUD_CONTROL_TYPE_UNSPECIFIED", +"BUILT_IN", +"CUSTOM" +], +"enumDescriptions": [ +"Unspecified.", +"Built in Cloud Control.", +"Custom Cloud Control." +], +"type": "string" +}, +"version": { +"description": "Version of the Cloud Control", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"CloudDlpDataProfile": { +"description": "The [data profile](https://cloud.google.com/dlp/docs/data-profiles) associated with the finding.", +"id": "CloudDlpDataProfile", +"properties": { +"dataProfile": { +"description": "Name of the data profile, for example, `projects/123/locations/europe/tableProfiles/8383929`.", +"type": "string" +}, +"infoTypes": { +"description": "Type of information detected by SDP. Info type includes name, version and sensitivity of the detected information type.", +"items": { +"$ref": "InfoType" +}, +"type": "array" +}, +"parentType": { +"description": "The resource hierarchy level at which the data profile was generated.", +"enum": [ +"PARENT_TYPE_UNSPECIFIED", +"ORGANIZATION", +"PROJECT" +], +"enumDescriptions": [ +"Unspecified parent type.", +"Organization-level configurations.", +"Project-level configurations." +], +"type": "string" +} +}, +"type": "object" +}, +"CloudDlpInspection": { +"description": "Details about the Cloud Data Loss Prevention (Cloud DLP) [inspection job](https://cloud.google.com/dlp/docs/concepts-job-triggers) that produced the finding.", +"id": "CloudDlpInspection", +"properties": { +"fullScan": { +"description": "Whether Cloud DLP scanned the complete resource or a sampled subset.", +"type": "boolean" +}, +"infoType": { +"description": "The type of information (or *[infoType](https://cloud.google.com/dlp/docs/infotypes-reference)*) found, for example, `EMAIL_ADDRESS` or `STREET_ADDRESS`.", +"type": "string" +}, +"infoTypeCount": { +"description": "The number of times Cloud DLP found this infoType within this job and resource.", +"format": "int64", +"type": "string" +}, +"inspectJob": { +"description": "Name of the inspection job, for example, `projects/123/locations/europe/dlpJobs/i-8383929`.", +"type": "string" +} +}, +"type": "object" +}, +"CloudLoggingEntry": { +"description": "Metadata taken from a [Cloud Logging LogEntry](https://cloud.google.com/logging/docs/reference/v2/rest/v2/LogEntry)", +"id": "CloudLoggingEntry", +"properties": { +"insertId": { +"description": "A unique identifier for the log entry.", +"type": "string" +}, +"logId": { +"description": "The type of the log (part of `log_name`. `log_name` is the resource name of the log to which this log entry belongs). For example: `cloudresourcemanager.googleapis.com/activity`. Note that this field is not URL-encoded, unlike the `LOG_ID` field in `LogEntry`.", +"type": "string" +}, +"resourceContainer": { +"description": "The organization, folder, or project of the monitored resource that produced this log entry.", +"type": "string" +}, +"timestamp": { +"description": "The time the event described by the log entry occurred.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"Compliance": { +"description": "Contains compliance information about a security standard indicating unmet recommendations.", +"id": "Compliance", +"properties": { +"ids": { +"description": "Policies within the standard or benchmark, for example, A.12.4.1", +"items": { +"type": "string" +}, +"type": "array" +}, +"standard": { +"description": "Industry-wide compliance standards or benchmarks, such as CIS, PCI, and OWASP.", +"type": "string" +}, +"version": { +"description": "Version of the standard or benchmark, for example, 1.1", +"type": "string" +} +}, +"type": "object" +}, +"ComplianceDetails": { +"description": "Compliance Details associated with the finding.", +"id": "ComplianceDetails", +"properties": { +"cloudControl": { +"$ref": "CloudControl", +"description": "CloudControl associated with the finding" +}, +"cloudControlDeploymentNames": { +"description": "Cloud Control Deployments associated with the finding. For example, organizations/123/locations/global/cloudControlDeployments/deploymentIdentifier", +"items": { +"type": "string" +}, +"type": "array" +}, +"frameworks": { +"description": "Details of Frameworks associated with the finding", +"items": { +"$ref": "Framework" +}, +"type": "array" +} +}, +"type": "object" +}, +"Config": { +"description": "Configuration of a module.", +"id": "Config", +"properties": { +"moduleEnablementState": { +"description": "The state of enablement for the module at its level of the resource hierarchy.", +"enum": [ +"ENABLEMENT_STATE_UNSPECIFIED", +"INHERITED", +"ENABLED", +"DISABLED" +], +"enumDescriptions": [ +"Default value. This value is unused.", +"State is inherited from the parent resource.", +"State is enabled.", +"State is disabled." +], +"type": "string" +}, +"value": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"description": "The configuration value for the module. The absence of this field implies its inheritance from the parent.", +"type": "object" +} +}, +"type": "object" +}, +"Connection": { +"description": "Contains information about the IP connection associated with the finding.", +"id": "Connection", +"properties": { +"destinationIp": { +"description": "Destination IP address. Not present for sockets that are listening and not connected.", +"type": "string" +}, +"destinationPort": { +"description": "Destination port. Not present for sockets that are listening and not connected.", +"format": "int32", +"type": "integer" +}, +"protocol": { +"description": "IANA Internet Protocol Number such as TCP(6) and UDP(17).", +"enum": [ +"PROTOCOL_UNSPECIFIED", +"ICMP", +"TCP", +"UDP", +"GRE", +"ESP" +], +"enumDescriptions": [ +"Unspecified protocol (not HOPOPT).", +"Internet Control Message Protocol.", +"Transmission Control Protocol.", +"User Datagram Protocol.", +"Generic Routing Encapsulation.", +"Encap Security Payload." +], +"type": "string" +}, +"sourceIp": { +"description": "Source IP address.", +"type": "string" +}, +"sourcePort": { +"description": "Source port.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"Contact": { +"description": "The email address of a contact.", +"id": "Contact", +"properties": { +"email": { +"description": "An email address. For example, \"`person123@company.com`\".", +"type": "string" +} +}, +"type": "object" +}, +"ContactDetails": { +"description": "Details about specific contacts", +"id": "ContactDetails", +"properties": { +"contacts": { +"description": "A list of contacts", +"items": { +"$ref": "Contact" +}, +"type": "array" +} +}, +"type": "object" +}, +"Container": { +"description": "Container associated with the finding.", +"id": "Container", +"properties": { +"createTime": { +"description": "The time that the container was created.", +"format": "google-datetime", +"type": "string" +}, +"imageId": { +"description": "Optional container image ID, if provided by the container runtime. Uniquely identifies the container image launched using a container image digest.", +"type": "string" +}, +"labels": { +"description": "Container labels, as provided by the container runtime.", +"items": { +"$ref": "Label" +}, +"type": "array" +}, +"name": { +"description": "Name of the container.", +"type": "string" +}, +"uri": { +"description": "Container image URI provided when configuring a pod or container. This string can identify a container image version using mutable tags.", +"type": "string" +} +}, +"type": "object" +}, +"ContainerThreatDetectionSettings": { +"description": "Resource capturing the settings for the Container Threat Detection service.", +"id": "ContainerThreatDetectionSettings", +"properties": { +"modules": { +"additionalProperties": { +"$ref": "Config" +}, +"description": "The configurations including the state of enablement for the service's different modules. The absence of a module in the map implies its configuration is inherited from its parent's configuration.", +"type": "object" +}, +"name": { +"description": "Identifier. The resource name of the ContainerThreatDetectionSettings. Formats: * organizations/{organization}/containerThreatDetectionSettings * folders/{folder}/containerThreatDetectionSettings * projects/{project}/containerThreatDetectionSettings * projects/{project}/locations/{location}/clusters/{cluster}/containerThreatDetectionSettings", +"type": "string" +}, +"serviceAccount": { +"description": "Output only. The service account used by Container Threat Detection for scanning. Service accounts are scoped at the project level meaning this field will be empty at any level above a project.", +"readOnly": true, +"type": "string" +}, +"serviceEnablementState": { +"description": "The state of enablement for the service at its level of the resource hierarchy. A DISABLED state will override all module enablement_states to DISABLED.", +"enum": [ +"ENABLEMENT_STATE_UNSPECIFIED", +"INHERITED", +"ENABLED", +"DISABLED" +], +"enumDescriptions": [ +"Default value. This value is unused.", +"State is inherited from the parent resource.", +"State is enabled.", +"State is disabled." +], +"type": "string" +}, +"updateTime": { +"description": "Output only. The time the settings were last updated.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"Control": { +"description": "Compliance control associated with the finding.", +"id": "Control", +"properties": { +"controlName": { +"description": "Name of the Control", +"type": "string" +}, +"displayName": { +"description": "Display name of the control. For example, AU-02.", +"type": "string" +} +}, +"type": "object" +}, +"Cve": { +"description": "CVE stands for Common Vulnerabilities and Exposures. Information from the [CVE record](https://www.cve.org/ResourcesSupport/Glossary) that describes this vulnerability.", +"id": "Cve", +"properties": { +"cvssv3": { +"$ref": "Cvssv3", +"description": "Describe Common Vulnerability Scoring System specified at https://www.first.org/cvss/v3.1/specification-document" +}, +"exploitReleaseDate": { +"description": "Date the first publicly available exploit or PoC was released.", +"format": "google-datetime", +"type": "string" +}, +"exploitationActivity": { +"description": "The exploitation activity of the vulnerability in the wild.", +"enum": [ +"EXPLOITATION_ACTIVITY_UNSPECIFIED", +"WIDE", +"CONFIRMED", +"AVAILABLE", +"ANTICIPATED", +"NO_KNOWN" +], +"enumDescriptions": [ +"Invalid or empty value.", +"Exploitation has been reported or confirmed to widely occur.", +"Limited reported or confirmed exploitation activities.", +"Exploit is publicly available.", +"No known exploitation activity, but has a high potential for exploitation.", +"No known exploitation activity." +], +"type": "string" +}, +"firstExploitationDate": { +"description": "Date of the earliest known exploitation.", +"format": "google-datetime", +"type": "string" +}, +"id": { +"description": "The unique identifier for the vulnerability. e.g. CVE-2021-34527", +"type": "string" +}, +"impact": { +"description": "The potential impact of the vulnerability if it was to be exploited.", +"enum": [ +"RISK_RATING_UNSPECIFIED", +"LOW", +"MEDIUM", +"HIGH", +"CRITICAL" +], +"enumDescriptions": [ +"Invalid or empty value.", +"Exploitation would have little to no security impact.", +"Exploitation would enable attackers to perform activities, or could allow attackers to have a direct impact, but would require additional steps.", +"Exploitation would enable attackers to have a notable direct impact without needing to overcome any major mitigating factors.", +"Exploitation would fundamentally undermine the security of affected systems, enable actors to perform significant attacks with minimal effort, with little to no mitigating factors to overcome." +], +"type": "string" +}, +"observedInTheWild": { +"description": "Whether or not the vulnerability has been observed in the wild.", +"type": "boolean" +}, +"references": { +"description": "Additional information about the CVE. e.g. https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-34527", +"items": { +"$ref": "Reference" +}, +"type": "array" +}, +"upstreamFixAvailable": { +"description": "Whether upstream fix is available for the CVE.", +"type": "boolean" +}, +"zeroDay": { +"description": "Whether or not the vulnerability was zero day when the finding was published.", +"type": "boolean" +} +}, +"type": "object" +}, +"Cvssv3": { +"description": "Common Vulnerability Scoring System version 3.", +"id": "Cvssv3", +"properties": { +"attackComplexity": { +"description": "This metric describes the conditions beyond the attacker's control that must exist in order to exploit the vulnerability.", +"enum": [ +"ATTACK_COMPLEXITY_UNSPECIFIED", +"ATTACK_COMPLEXITY_LOW", +"ATTACK_COMPLEXITY_HIGH" +], +"enumDescriptions": [ +"Invalid value.", +"Specialized access conditions or extenuating circumstances do not exist. An attacker can expect repeatable success when attacking the vulnerable component.", +"A successful attack depends on conditions beyond the attacker's control. That is, a successful attack cannot be accomplished at will, but requires the attacker to invest in some measurable amount of effort in preparation or execution against the vulnerable component before a successful attack can be expected." +], +"type": "string" +}, +"attackVector": { +"description": "Base Metrics Represents the intrinsic characteristics of a vulnerability that are constant over time and across user environments. This metric reflects the context by which vulnerability exploitation is possible.", +"enum": [ +"ATTACK_VECTOR_UNSPECIFIED", +"ATTACK_VECTOR_NETWORK", +"ATTACK_VECTOR_ADJACENT", +"ATTACK_VECTOR_LOCAL", +"ATTACK_VECTOR_PHYSICAL" +], +"enumDescriptions": [ +"Invalid value.", +"The vulnerable component is bound to the network stack and the set of possible attackers extends beyond the other options listed below, up to and including the entire Internet.", +"The vulnerable component is bound to the network stack, but the attack is limited at the protocol level to a logically adjacent topology.", +"The vulnerable component is not bound to the network stack and the attacker's path is via read/write/execute capabilities.", +"The attack requires the attacker to physically touch or manipulate the vulnerable component." +], +"type": "string" +}, +"availabilityImpact": { +"description": "This metric measures the impact to the availability of the impacted component resulting from a successfully exploited vulnerability.", +"enum": [ +"IMPACT_UNSPECIFIED", +"IMPACT_HIGH", +"IMPACT_LOW", +"IMPACT_NONE" +], +"enumDescriptions": [ +"Invalid value.", +"High impact.", +"Low impact.", +"No impact." +], +"type": "string" +}, +"baseScore": { +"description": "The base score is a function of the base metric scores.", +"format": "double", +"type": "number" +}, +"confidentialityImpact": { +"description": "This metric measures the impact to the confidentiality of the information resources managed by a software component due to a successfully exploited vulnerability.", +"enum": [ +"IMPACT_UNSPECIFIED", +"IMPACT_HIGH", +"IMPACT_LOW", +"IMPACT_NONE" +], +"enumDescriptions": [ +"Invalid value.", +"High impact.", +"Low impact.", +"No impact." +], +"type": "string" +}, +"integrityImpact": { +"description": "This metric measures the impact to integrity of a successfully exploited vulnerability.", +"enum": [ +"IMPACT_UNSPECIFIED", +"IMPACT_HIGH", +"IMPACT_LOW", +"IMPACT_NONE" +], +"enumDescriptions": [ +"Invalid value.", +"High impact.", +"Low impact.", +"No impact." +], +"type": "string" +}, +"privilegesRequired": { +"description": "This metric describes the level of privileges an attacker must possess before successfully exploiting the vulnerability.", +"enum": [ +"PRIVILEGES_REQUIRED_UNSPECIFIED", +"PRIVILEGES_REQUIRED_NONE", +"PRIVILEGES_REQUIRED_LOW", +"PRIVILEGES_REQUIRED_HIGH" +], +"enumDescriptions": [ +"Invalid value.", +"The attacker is unauthorized prior to attack, and therefore does not require any access to settings or files of the vulnerable system to carry out an attack.", +"The attacker requires privileges that provide basic user capabilities that could normally affect only settings and files owned by a user. Alternatively, an attacker with Low privileges has the ability to access only non-sensitive resources.", +"The attacker requires privileges that provide significant (e.g., administrative) control over the vulnerable component allowing access to component-wide settings and files." +], +"type": "string" +}, +"scope": { +"description": "The Scope metric captures whether a vulnerability in one vulnerable component impacts resources in components beyond its security scope.", +"enum": [ +"SCOPE_UNSPECIFIED", +"SCOPE_UNCHANGED", +"SCOPE_CHANGED" +], +"enumDescriptions": [ +"Invalid value.", +"An exploited vulnerability can only affect resources managed by the same security authority.", +"An exploited vulnerability can affect resources beyond the security scope managed by the security authority of the vulnerable component." +], +"type": "string" +}, +"userInteraction": { +"description": "This metric captures the requirement for a human user, other than the attacker, to participate in the successful compromise of the vulnerable component.", +"enum": [ +"USER_INTERACTION_UNSPECIFIED", +"USER_INTERACTION_NONE", +"USER_INTERACTION_REQUIRED" +], +"enumDescriptions": [ +"Invalid value.", +"The vulnerable system can be exploited without interaction from any user.", +"Successful exploitation of this vulnerability requires a user to take some action before the vulnerability can be exploited." +], +"type": "string" +} +}, +"type": "object" +}, +"Cwe": { +"description": "CWE stands for Common Weakness Enumeration. Information about this weakness, as described by [CWE](https://cwe.mitre.org/).", +"id": "Cwe", +"properties": { +"id": { +"description": "The CWE identifier, e.g. CWE-94", +"type": "string" +}, +"references": { +"description": "Any reference to the details on the CWE, for example, https://cwe.mitre.org/data/definitions/94.html", +"items": { +"$ref": "Reference" +}, +"type": "array" +} +}, +"type": "object" +}, +"DataAccessEvent": { +"description": "Details about a data access attempt made by a principal not authorized under applicable data security policy.", +"id": "DataAccessEvent", +"properties": { +"eventId": { +"description": "Unique identifier for data access event.", +"type": "string" +}, +"eventTime": { +"description": "Timestamp of data access event.", +"format": "google-datetime", +"type": "string" +}, +"operation": { +"description": "The operation performed by the principal to access the data.", +"enum": [ +"OPERATION_UNSPECIFIED", +"READ", +"MOVE", +"COPY" +], +"enumDescriptions": [ +"The operation is unspecified.", +"Represents a read operation.", +"Represents a move operation.", +"Represents a copy operation." +], +"type": "string" +}, +"principalEmail": { +"description": "The email address of the principal that accessed the data. The principal could be a user account, service account, Google group, or other.", +"type": "string" +} +}, +"type": "object" +}, +"DataFlowEvent": { +"description": "Details about a data flow event, in which either the data is moved to or is accessed from a non-compliant geo-location, as defined in the applicable data security policy.", +"id": "DataFlowEvent", +"properties": { +"eventId": { +"description": "Unique identifier for data flow event.", +"type": "string" +}, +"eventTime": { +"description": "Timestamp of data flow event.", +"format": "google-datetime", +"type": "string" +}, +"operation": { +"description": "The operation performed by the principal for the data flow event.", +"enum": [ +"OPERATION_UNSPECIFIED", +"READ", +"MOVE", +"COPY" +], +"enumDescriptions": [ +"The operation is unspecified.", +"Represents a read operation.", +"Represents a move operation.", +"Represents a copy operation." +], +"type": "string" +}, +"principalEmail": { +"description": "The email address of the principal that initiated the data flow event. The principal could be a user account, service account, Google group, or other.", +"type": "string" +}, +"violatedLocation": { +"description": "Non-compliant location of the principal or the data destination.", +"type": "string" +} +}, +"type": "object" +}, +"DataRetentionDeletionEvent": { +"description": "Details about data retention deletion violations, in which the data is non-compliant based on their retention or deletion time, as defined in the applicable data security policy. The Data Retention Deletion (DRD) control is a control of the DSPM (Data Security Posture Management) suite that enables organizations to manage data retention and deletion policies in compliance with regulations, such as GDPR and CRPA. DRD supports two primary policy types: maximum storage length (max TTL) and minimum storage length (min TTL). Both are aimed at helping organizations meet regulatory and data management commitments.", +"id": "DataRetentionDeletionEvent", +"properties": { +"dataObjectCount": { +"description": "Number of objects that violated the policy for this resource. If the number is less than 1,000, then the value of this field is the exact number. If the number of objects that violated the policy is greater than or equal to 1,000, then the value of this field is 1000.", +"format": "int64", +"type": "string" +}, +"eventDetectionTime": { +"description": "Timestamp indicating when the event was detected.", +"format": "google-datetime", +"type": "string" +}, +"eventType": { +"description": "Type of the DRD event.", +"enum": [ +"EVENT_TYPE_UNSPECIFIED", +"EVENT_TYPE_MAX_TTL_EXCEEDED", +"EVENT_TYPE_MAX_TTL_FROM_CREATION", +"EVENT_TYPE_MAX_TTL_FROM_LAST_MODIFICATION", +"EVENT_TYPE_MIN_TTL_FROM_CREATION" +], +"enumDeprecated": [ +false, +true, +false, +false, +false +], +"enumDescriptions": [ +"Unspecified event type.", +"Deprecated: This field is pending removal. Use EVENT_TYPE_MAX_TTL_FROM_CREATION or EVENT_TYPE_MAX_TTL_FROM_LAST_MODIFICATION instead.", +"Max TTL from the asset's creation time.", +"Max TTL from the asset's last modification time.", +"Min TTL from the asset's creation time." +], +"type": "string" +}, +"maxRetentionAllowed": { +"description": "Maximum duration of retention allowed from the DRD control. This comes from the DRD control where users set a max TTL for their data. For example, suppose that a user sets the max TTL for a Cloud Storage bucket to 90 days. However, an object in that bucket is 100 days old. In this case, a DataRetentionDeletionEvent will be generated for that Cloud Storage bucket, and the max_retention_allowed is 90 days.", +"format": "google-duration", +"type": "string" +}, +"minRetentionAllowed": { +"description": "Min duration of retention allowed from the DSPM retention control. This field is only populated when event type is set to EVENT_TYPE_MIN_TTL_FROM_CREATION.", +"format": "google-duration", +"type": "string" +} +}, +"type": "object" +}, +"Database": { +"description": "Represents database access information, such as queries. A database may be a sub-resource of an instance (as in the case of Cloud SQL instances or Cloud Spanner instances), or the database instance itself. Some database resources might not have the [full resource name](https://google.aip.dev/122#full-resource-names) populated because these resource types, such as Cloud SQL databases, are not yet supported by Cloud Asset Inventory. In these cases only the display name is provided.", +"id": "Database", +"properties": { +"displayName": { +"description": "The human-readable name of the database that the user connected to.", +"type": "string" +}, +"grantees": { +"description": "The target usernames, roles, or groups of an SQL privilege grant, which is not an IAM policy change.", +"items": { +"type": "string" +}, +"type": "array" +}, +"name": { +"description": "Some database resources may not have the [full resource name](https://google.aip.dev/122#full-resource-names) populated because these resource types are not yet supported by Cloud Asset Inventory (e.g. Cloud SQL databases). In these cases only the display name will be provided. The [full resource name](https://google.aip.dev/122#full-resource-names) of the database that the user connected to, if it is supported by Cloud Asset Inventory.", +"type": "string" +}, +"query": { +"description": "The SQL statement that is associated with the database access.", +"type": "string" +}, +"userName": { +"description": "The username used to connect to the database. The username might not be an IAM principal and does not have a set format.", +"type": "string" +}, +"version": { +"description": "The version of the database, for example, POSTGRES_14. See [the complete list](https://cloud.google.com/sql/docs/mysql/admin-api/rest/v1/SqlDatabaseVersion).", +"type": "string" +} +}, +"type": "object" +}, +"Dataset": { +"description": "Vertex AI dataset associated with the finding.", +"id": "Dataset", +"properties": { +"displayName": { +"description": "The user defined display name of dataset, e.g. plants-dataset", +"type": "string" +}, +"name": { +"description": "Resource name of the dataset, e.g. projects/{project}/locations/{location}/datasets/2094040236064505856", +"type": "string" +}, +"source": { +"description": "Data source, such as BigQuery source URI, e.g. bq://scc-nexus-test.AIPPtest.gsod", +"type": "string" +} +}, +"type": "object" +}, +"Denied": { +"description": "Denied IP rule.", +"id": "Denied", +"properties": { +"ipRules": { +"description": "Optional. Optional list of denied IP rules.", +"items": { +"$ref": "IpRule" +}, +"type": "array" +} +}, +"type": "object" +}, +"Details": { +"description": "Details of a subscription.", +"id": "Details", +"properties": { +"endTime": { +"description": "The time the subscription has or will end.", +"format": "google-datetime", +"type": "string" +}, +"startTime": { +"description": "The time the subscription has or will start.", +"format": "google-datetime", +"type": "string" +}, +"type": { +"description": "The type of subscription", +"enum": [ +"TYPE_UNSPECIFIED", +"STANDARD", +"TRIAL", +"ALPHA", +"DEMO", +"PAY_AS_YOU_GO" +], +"enumDescriptions": [ +"Default value. This value is unused.", +"The standard subscription.", +"The trial subscription.", +"The alpha subscription.", +"The demo subscription for channel partners.", +"Pay-as-you-go subscription." +], +"type": "string" +} +}, +"type": "object" +}, +"Detection": { +"description": "Memory hash detection contributing to the binary family match.", +"id": "Detection", +"properties": { +"binary": { +"description": "The name of the binary associated with the memory hash signature detection.", +"type": "string" +}, +"percentPagesMatched": { +"description": "The percentage of memory page hashes in the signature that were matched.", +"format": "double", +"type": "number" +} +}, +"type": "object" +}, +"Disk": { +"description": "Contains information about the disk associated with the finding.", +"id": "Disk", +"properties": { +"name": { +"description": "The name of the disk, for example, \"https://www.googleapis.com/compute/v1/projects/{project-id}/zones/{zone-id}/disks/{disk-id}\".", +"type": "string" +} +}, +"type": "object" +}, +"DiskPath": { +"description": "Path of the file in terms of underlying disk/partition identifiers.", +"id": "DiskPath", +"properties": { +"partitionUuid": { +"description": "UUID of the partition (format https://wiki.archlinux.org/title/persistent_block_device_naming#by-uuid)", +"type": "string" +}, +"relativePath": { +"description": "Relative path of the file in the partition as a JSON encoded string. Example: /home/user1/executable_file.sh", +"type": "string" +} +}, +"type": "object" +}, +"DynamicMuteRecord": { +"description": "The record of a dynamic mute rule that matches the finding.", +"id": "DynamicMuteRecord", +"properties": { +"matchTime": { +"description": "When the dynamic mute rule first matched the finding.", +"format": "google-datetime", +"type": "string" +}, +"muteConfig": { +"description": "The relative resource name of the mute rule, represented by a mute config, that created this record, for example `organizations/123/muteConfigs/mymuteconfig` or `organizations/123/locations/global/muteConfigs/mymuteconfig`.", +"type": "string" +} +}, +"type": "object" +}, +"EnvironmentVariable": { +"description": "A name-value pair representing an environment variable used in an operating system process.", +"id": "EnvironmentVariable", +"properties": { +"name": { +"description": "Environment variable name as a JSON encoded string.", +"type": "string" +}, +"val": { +"description": "Environment variable value as a JSON encoded string.", +"type": "string" +} +}, +"type": "object" +}, +"EventThreatDetectionSettings": { +"description": "Resource capturing the settings for the Event Threat Detection service.", +"id": "EventThreatDetectionSettings", +"properties": { +"modules": { +"additionalProperties": { +"$ref": "Config" +}, +"description": "The configurations including the state of enablement for the service's different modules. The absence of a module in the map implies its configuration is inherited from its parent's configuration.", +"type": "object" +}, +"name": { +"description": "Identifier. The resource name of the EventThreatDetectionSettings. Formats: * organizations/{organization}/eventThreatDetectionSettings * folders/{folder}/eventThreatDetectionSettings * projects/{project}/eventThreatDetectionSettings", +"type": "string" +}, +"serviceEnablementState": { +"description": "The state of enablement for the service at its level of the resource hierarchy. A DISABLED state will override all module enablement_states to DISABLED.", +"enum": [ +"ENABLEMENT_STATE_UNSPECIFIED", +"INHERITED", +"ENABLED", +"DISABLED" +], +"enumDescriptions": [ +"Default value. This value is unused.", +"State is inherited from the parent resource.", +"State is enabled.", +"State is disabled." +], +"type": "string" +}, +"updateTime": { +"description": "Output only. The time the settings were last updated.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"ExfilResource": { +"description": "Resource where data was exfiltrated from or exfiltrated to.", +"id": "ExfilResource", +"properties": { +"components": { +"description": "Subcomponents of the asset that was exfiltrated, like URIs used during exfiltration, table names, databases, and filenames. For example, multiple tables might have been exfiltrated from the same Cloud SQL instance, or multiple files might have been exfiltrated from the same Cloud Storage bucket.", +"items": { +"type": "string" +}, +"type": "array" +}, +"name": { +"description": "The resource's [full resource name](https://cloud.google.com/apis/design/resource_names#full_resource_name).", +"type": "string" +} +}, +"type": "object" +}, +"Exfiltration": { +"description": "Exfiltration represents a data exfiltration attempt from one or more sources to one or more targets. The `sources` attribute lists the sources of the exfiltrated data. The `targets` attribute lists the destinations the data was copied to.", +"id": "Exfiltration", +"properties": { +"sources": { +"description": "If there are multiple sources, then the data is considered \"joined\" between them. For instance, BigQuery can join multiple tables, and each table would be considered a source.", +"items": { +"$ref": "ExfilResource" +}, +"type": "array" +}, +"targets": { +"description": "If there are multiple targets, each target would get a complete copy of the \"joined\" source data.", +"items": { +"$ref": "ExfilResource" +}, +"type": "array" +}, +"totalExfiltratedBytes": { +"description": "Total exfiltrated bytes processed for the entire job.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"ExportFindingsMetadata": { +"description": "The LRO metadata for a ExportFindings request.", +"id": "ExportFindingsMetadata", +"properties": { +"bigQueryDestination": { +"$ref": "BigQueryDestination", +"description": "Required. The destination BigQuery dataset to export findings to." +}, +"exportStartTime": { +"description": "Optional. Timestamp at which export was started", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"ExportFindingsResponse": { +"description": "The response to a ExportFindings request. Contains the LRO information.", +"id": "ExportFindingsResponse", +"properties": {}, +"type": "object" +}, +"Expr": { +"description": "Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: \"Summary size limit\" description: \"Determines if a summary is less than 100 chars\" expression: \"document.summary.size() < 100\" Example (Equality): title: \"Requestor is owner\" description: \"Determines if requestor is the document owner\" expression: \"document.owner == request.auth.claims.email\" Example (Logic): title: \"Public documents\" description: \"Determine whether the document should be publicly visible\" expression: \"document.type != 'private' && document.type != 'internal'\" Example (Data Manipulation): title: \"Notification string\" description: \"Create a notification string with a timestamp.\" expression: \"'New message received at ' + string(document.create_time)\" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information.", +"id": "Expr", +"properties": { +"description": { +"description": "Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI.", +"type": "string" +}, +"expression": { +"description": "Textual representation of an expression in Common Expression Language syntax.", +"type": "string" +}, +"location": { +"description": "Optional. String indicating the location of the expression for error reporting, e.g. a file name and a position in the file.", +"type": "string" +}, +"title": { +"description": "Optional. Title for the expression, i.e. a short string describing its purpose. This can be used e.g. in UIs which allow to enter the expression.", +"type": "string" +} +}, +"type": "object" +}, +"ExternalExposure": { +"description": "Details about the externally exposed resource associated with the finding.", +"id": "ExternalExposure", +"properties": { +"backendService": { +"description": "The full resource name of load balancer backend service, for example, \"//compute.googleapis.com/projects/{project-id}/global/backendServices/{name}\".", +"type": "string" +}, +"exposedEndpoint": { +"description": "The resource which is running the exposed service, for example, \"//compute.googleapis.com/projects/{project-id}/zones/{zone}/instances/{instance}.\u201d", +"type": "string" +}, +"exposedService": { +"description": "The name and version of the service, for example, \"Jupyter Notebook 6.14.0\".", +"type": "string" +}, +"forwardingRule": { +"description": "The full resource name of the forwarding rule, for example, \"//compute.googleapis.com/projects/{project-id}/global/forwardingRules/{forwarding-rule-name}\".", +"type": "string" +}, +"instanceGroup": { +"description": "The full resource name of the instance group, for example, \"//compute.googleapis.com/projects/{project-id}/global/instanceGroups/{name}\".", +"type": "string" +}, +"loadBalancerFirewallPolicy": { +"description": "The full resource name of the load balancer firewall policy, for example, \"//compute.googleapis.com/projects/{project-id}/global/firewallPolicies/{policy-name}\".", +"type": "string" +}, +"networkEndpointGroup": { +"description": "The full resource name of the network endpoint group, for example, \"//compute.googleapis.com/projects/{project-id}/global/networkEndpointGroups/{name}\".", +"type": "string" +}, +"privateIpAddress": { +"description": "Private IP address of the exposed endpoint.", +"type": "string" +}, +"privatePort": { +"description": "Port number associated with private IP address.", +"type": "string" +}, +"publicIpAddress": { +"description": "Public IP address of the exposed endpoint.", +"type": "string" +}, +"publicPort": { +"description": "Public port number of the exposed endpoint.", +"type": "string" +}, +"serviceFirewallPolicy": { +"description": "The full resource name of the firewall policy of the exposed service, for example, \"//compute.googleapis.com/projects/{project-id}/global/firewallPolicies/{policy-name}\".", +"type": "string" +} +}, +"type": "object" +}, +"File": { +"description": "File information about the related binary/library used by an executable, or the script used by a script interpreter", +"id": "File", +"properties": { +"contents": { +"description": "Prefix of the file contents as a JSON-encoded string.", +"type": "string" +}, +"diskPath": { +"$ref": "DiskPath", +"description": "Path of the file in terms of underlying disk/partition identifiers." +}, +"fileLoadState": { +"description": "The load state of the file.", +"enum": [ +"FILE_LOAD_STATE_UNSPECIFIED", +"LOADED_BY_PROCESS", +"NOT_LOADED_BY_PROCESS" +], +"enumDescriptions": [ +"The file state is unspecified.", +"The file is being used by an active process at the time of scanning.", +"The file is not being used by any active process at the time of scanning." +], +"type": "string" +}, +"hashedSize": { +"description": "The length in bytes of the file prefix that was hashed. If hashed_size == size, any hashes reported represent the entire file.", +"format": "int64", +"type": "string" +}, +"operations": { +"description": "Operation(s) performed on a file.", +"items": { +"$ref": "FileOperation" +}, +"type": "array" +}, +"partiallyHashed": { +"description": "True when the hash covers only a prefix of the file.", +"type": "boolean" +}, +"path": { +"description": "Absolute path of the file as a JSON encoded string.", +"type": "string" +}, +"sha256": { +"description": "SHA256 hash of the first hashed_size bytes of the file encoded as a hex string. If hashed_size == size, sha256 represents the SHA256 hash of the entire file.", +"type": "string" +}, +"size": { +"description": "Size of the file in bytes.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"FileOperation": { +"description": "Operation(s) performed on a file.", +"id": "FileOperation", +"properties": { +"type": { +"description": "The type of the operation", +"enum": [ +"OPERATION_TYPE_UNSPECIFIED", +"OPEN", +"READ", +"RENAME", +"WRITE", +"EXECUTE" +], +"enumDescriptions": [ +"The operation is unspecified.", +"Represents an open operation.", +"Represents a read operation.", +"Represents a rename operation.", +"Represents a write operation.", +"Represents an execute operation." +], +"type": "string" +} +}, +"type": "object" +}, +"Finding": { +"description": "Security Command Center finding. A finding is a record of assessment data like security, risk, health, or privacy, that is ingested into Security Command Center for presentation, notification, analysis, policy testing, and enforcement. For example, a cross-site scripting (XSS) vulnerability in an App Engine application is a finding.", +"id": "Finding", +"properties": { +"access": { +"$ref": "Access", +"description": "Access details associated with the finding, such as more information on the caller, which method was accessed, and from where." +}, +"affectedResources": { +"$ref": "AffectedResources", +"description": "AffectedResources associated with the finding." +}, +"aiModel": { +"$ref": "AiModel", +"description": "The AI model associated with the finding." +}, +"application": { +"$ref": "Application", +"description": "Represents an application associated with the finding." +}, +"artifactGuardPolicies": { +"$ref": "ArtifactGuardPolicies", +"description": "ArtifactGuardPolicies associated with the finding." +}, +"attackExposure": { +"$ref": "AttackExposure", +"description": "The results of an attack path simulation relevant to this finding." +}, +"backupDisasterRecovery": { +"$ref": "BackupDisasterRecovery", +"description": "Fields related to Backup and DR findings." +}, +"canonicalName": { +"description": "The canonical name of the finding. It's either \"organizations/{organization_id}/sources/{source_id}/findings/{finding_id}\", \"folders/{folder_id}/sources/{source_id}/findings/{finding_id}\" or \"projects/{project_number}/sources/{source_id}/findings/{finding_id}\", depending on the closest CRM ancestor of the resource associated with the finding.", +"type": "string" +}, +"category": { +"description": "The additional taxonomy group within findings from a given source. This field is immutable after creation time. Example: \"XSS_FLASH_INJECTION\"", +"type": "string" +}, +"chokepoint": { +"$ref": "Chokepoint", +"description": "Contains details about a chokepoint, which is a resource or resource group where high-risk attack paths converge, based on [attack path simulations] (https://cloud.google.com/security-command-center/docs/attack-exposure-learn#attack_path_simulations). This field cannot be updated. Its value is ignored in all update requests." +}, +"cloudArmor": { +"$ref": "CloudArmor", +"description": "Fields related to Cloud Armor findings." +}, +"cloudDlpDataProfile": { +"$ref": "CloudDlpDataProfile", +"description": "Cloud DLP data profile that is associated with the finding." +}, +"cloudDlpInspection": { +"$ref": "CloudDlpInspection", +"description": "Cloud Data Loss Prevention (Cloud DLP) inspection results that are associated with the finding." +}, +"complianceDetails": { +"$ref": "ComplianceDetails", +"description": "Details about the compliance implications of the finding." +}, +"compliances": { +"description": "Contains compliance information for security standards associated to the finding.", +"items": { +"$ref": "Compliance" +}, +"type": "array" +}, +"connections": { +"description": "Contains information about the IP connection associated with the finding.", +"items": { +"$ref": "Connection" +}, +"type": "array" +}, +"contacts": { +"additionalProperties": { +"$ref": "ContactDetails" +}, +"description": "Output only. Map containing the points of contact for the given finding. The key represents the type of contact, while the value contains a list of all the contacts that pertain. Please refer to: https://cloud.google.com/resource-manager/docs/managing-notification-contacts#notification-categories { \"security\": { \"contacts\": [ { \"email\": \"person1@company.com\" }, { \"email\": \"person2@company.com\" } ] } }", +"readOnly": true, +"type": "object" +}, +"containers": { +"description": "Containers associated with the finding. This field provides information for both Kubernetes and non-Kubernetes containers.", +"items": { +"$ref": "Container" +}, +"type": "array" +}, +"createTime": { +"description": "The time at which the finding was created in Security Command Center.", +"format": "google-datetime", +"type": "string" +}, +"dataAccessEvents": { +"description": "Data access events associated with the finding.", +"items": { +"$ref": "DataAccessEvent" +}, +"type": "array" +}, +"dataFlowEvents": { +"description": "Data flow events associated with the finding.", +"items": { +"$ref": "DataFlowEvent" +}, +"type": "array" +}, +"dataRetentionDeletionEvents": { +"description": "Data retention deletion events associated with the finding.", +"items": { +"$ref": "DataRetentionDeletionEvent" +}, +"type": "array" +}, +"database": { +"$ref": "Database", +"description": "Database associated with the finding." +}, +"description": { +"description": "Contains more details about the finding.", +"type": "string" +}, +"disk": { +"$ref": "Disk", +"description": "Disk associated with the finding." +}, +"eventTime": { +"description": "The time the finding was first detected. If an existing finding is updated, then this is the time the update occurred. For example, if the finding represents an open firewall, this property captures the time the detector believes the firewall became open. The accuracy is determined by the detector. If the finding is later resolved, then this time reflects when the finding was resolved. This must not be set to a value greater than the current timestamp.", +"format": "google-datetime", +"type": "string" +}, +"exfiltration": { +"$ref": "Exfiltration", +"description": "Represents exfiltrations associated with the finding." +}, +"externalExposure": { +"$ref": "ExternalExposure", +"description": "External exposure associated with the finding." +}, +"externalSystems": { +"additionalProperties": { +"$ref": "GoogleCloudSecuritycenterV1ExternalSystem" +}, +"description": "Output only. Third party SIEM/SOAR fields within SCC, contains external system information and external system finding fields.", +"readOnly": true, +"type": "object" +}, +"externalUri": { +"description": "The URI that, if available, points to a web page outside of Security Command Center where additional information about the finding can be found. This field is guaranteed to be either empty or a well formed URL.", +"type": "string" +}, +"files": { +"description": "File associated with the finding.", +"items": { +"$ref": "File" +}, +"type": "array" +}, +"findingClass": { +"description": "The class of the finding.", +"enum": [ +"FINDING_CLASS_UNSPECIFIED", +"THREAT", +"VULNERABILITY", +"MISCONFIGURATION", +"OBSERVATION", +"SCC_ERROR", +"POSTURE_VIOLATION", +"TOXIC_COMBINATION", +"SENSITIVE_DATA_RISK", +"CHOKEPOINT", +"EXTERNAL_EXPOSURE" +], +"enumDescriptions": [ +"Unspecified finding class.", +"Describes unwanted or malicious activity.", +"Describes a potential weakness in software that increases risk to Confidentiality & Integrity & Availability.", +"Describes a potential weakness in cloud resource/asset configuration that increases risk.", +"Describes a security observation that is for informational purposes.", +"Describes an error that prevents some SCC functionality.", +"Describes a potential security risk due to a change in the security posture.", +"Describes a group of security issues that, when the issues occur together, represent a greater risk than when the issues occur independently. A group of such issues is referred to as a toxic combination.", +"Describes a potential security risk to data assets that contain sensitive data.", +"Describes a resource or resource group where high risk attack paths converge, based on attack path simulations (APS).", +"Describes a potential security risk due to the resource being exposed to the internet." +], +"type": "string" +}, +"groupMemberships": { +"description": "Contains details about groups of which this finding is a member. A group is a collection of findings that are related in some way. This field cannot be updated. Its value is ignored in all update requests.", +"items": { +"$ref": "GroupMembership" +}, +"type": "array" +}, +"iamBindings": { +"description": "Represents IAM bindings associated with the finding.", +"items": { +"$ref": "IamBinding" +}, +"type": "array" +}, +"indicator": { +"$ref": "Indicator", +"description": "Represents what's commonly known as an *indicator of compromise* (IoC) in computer forensics. This is an artifact observed on a network or in an operating system that, with high confidence, indicates a computer intrusion. For more information, see [Indicator of compromise](https://en.wikipedia.org/wiki/Indicator_of_compromise)." +}, +"ipRules": { +"$ref": "IpRules", +"description": "IP rules associated with the finding." +}, +"job": { +"$ref": "Job", +"description": "Job associated with the finding." +}, +"kernelRootkit": { +"$ref": "KernelRootkit", +"description": "Signature of the kernel rootkit." +}, +"kubernetes": { +"$ref": "Kubernetes", +"description": "Kubernetes resources associated with the finding." +}, +"loadBalancers": { +"description": "The load balancers associated with the finding.", +"items": { +"$ref": "LoadBalancer" +}, +"type": "array" +}, +"logEntries": { +"description": "Log entries that are relevant to the finding.", +"items": { +"$ref": "LogEntry" +}, +"type": "array" +}, +"mitreAttack": { +"$ref": "MitreAttack", +"description": "MITRE ATT&CK tactics and techniques related to this finding. See: https://attack.mitre.org" +}, +"moduleName": { +"description": "Unique identifier of the module which generated the finding. Example: folders/598186756061/securityHealthAnalyticsSettings/customModules/56799441161885", +"type": "string" +}, +"mute": { +"description": "Indicates the mute state of a finding (either muted, unmuted or undefined). Unlike other attributes of a finding, a finding provider shouldn't set the value of mute.", +"enum": [ +"MUTE_UNSPECIFIED", +"MUTED", +"UNMUTED", +"UNDEFINED" +], +"enumDescriptions": [ +"Unspecified.", +"Finding has been muted.", +"Finding has been unmuted.", +"Finding has never been muted/unmuted." +], +"type": "string" +}, +"muteInfo": { +"$ref": "MuteInfo", +"description": "Output only. The mute information regarding this finding.", +"readOnly": true +}, +"muteInitiator": { +"description": "Records additional information about the mute operation, for example, the [mute configuration](/security-command-center/docs/how-to-mute-findings) that muted the finding and the user who muted the finding.", +"type": "string" +}, +"muteUpdateTime": { +"description": "Output only. The most recent time this finding was muted or unmuted.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"name": { +"description": "The [relative resource name](https://cloud.google.com/apis/design/resource_names#relative_resource_name) of the finding. Example: \"organizations/{organization_id}/sources/{source_id}/findings/{finding_id}\", \"folders/{folder_id}/sources/{source_id}/findings/{finding_id}\", \"projects/{project_id}/sources/{source_id}/findings/{finding_id}\".", +"type": "string" +}, +"networks": { +"description": "Represents the VPC networks that the resource is attached to.", +"items": { +"$ref": "Network" +}, +"type": "array" +}, +"nextSteps": { +"description": "Steps to address the finding.", +"type": "string" +}, +"notebook": { +"$ref": "Notebook", +"description": "Notebook associated with the finding." +}, +"orgPolicies": { +"description": "Contains information about the org policies associated with the finding.", +"items": { +"$ref": "OrgPolicy" +}, +"type": "array" +}, +"parent": { +"description": "The relative resource name of the source the finding belongs to. See: https://cloud.google.com/apis/design/resource_names#relative_resource_name This field is immutable after creation time. For example: \"organizations/{organization_id}/sources/{source_id}\"", +"type": "string" +}, +"parentDisplayName": { +"description": "Output only. The human readable display name of the finding source such as \"Event Threat Detection\" or \"Security Health Analytics\".", +"readOnly": true, +"type": "string" +}, +"processes": { +"description": "Represents operating system processes associated with the Finding.", +"items": { +"$ref": "Process" +}, +"type": "array" +}, +"resourceName": { +"description": "For findings on Google Cloud resources, the full resource name of the Google Cloud resource this finding is for. See: https://cloud.google.com/apis/design/resource_names#full_resource_name When the finding is for a non-Google Cloud resource, the resourceName can be a customer or partner defined string. This field is immutable after creation time.", +"type": "string" +}, +"secret": { +"$ref": "Secret", +"description": "Secret associated with the finding." +}, +"securityMarks": { +"$ref": "SecurityMarks", +"description": "Output only. User specified security marks. These marks are entirely managed by the user and come from the SecurityMarks resource that belongs to the finding.", +"readOnly": true +}, +"securityPosture": { +"$ref": "SecurityPosture", +"description": "The security posture associated with the finding." +}, +"severity": { +"description": "The severity of the finding. This field is managed by the source that writes the finding.", +"enum": [ +"SEVERITY_UNSPECIFIED", +"CRITICAL", +"HIGH", +"MEDIUM", +"LOW" +], +"enumDescriptions": [ +"This value is used for findings when a source doesn't write a severity value.", +"Vulnerability: A critical vulnerability is easily discoverable by an external actor, exploitable, and results in the direct ability to execute arbitrary code, exfiltrate data, and otherwise gain additional access and privileges to cloud resources and workloads. Examples include publicly accessible unprotected user data and public SSH access with weak or no passwords. Threat: Indicates a threat that is able to access, modify, or delete data or execute unauthorized code within existing resources.", +"Vulnerability: A high risk vulnerability can be easily discovered and exploited in combination with other vulnerabilities in order to gain direct access and the ability to execute arbitrary code, exfiltrate data, and otherwise gain additional access and privileges to cloud resources and workloads. An example is a database with weak or no passwords that is only accessible internally. This database could easily be compromised by an actor that had access to the internal network. Threat: Indicates a threat that is able to create new computational resources in an environment but not able to access data or execute code in existing resources.", +"Vulnerability: A medium risk vulnerability could be used by an actor to gain access to resources or privileges that enable them to eventually (through multiple steps or a complex exploit) gain access and the ability to execute arbitrary code or exfiltrate data. An example is a service account with access to more projects than it should have. If an actor gains access to the service account, they could potentially use that access to manipulate a project the service account was not intended to. Threat: Indicates a threat that is able to cause operational impact but may not access data or execute unauthorized code.", +"Vulnerability: A low risk vulnerability hampers a security organization's ability to detect vulnerabilities or active threats in their deployment, or prevents the root cause investigation of security issues. An example is monitoring and logs being disabled for resource configurations and access. Threat: Indicates a threat that has obtained minimal access to an environment but is not able to access data, execute code, or create resources." +], +"type": "string" +}, +"sourceProperties": { +"additionalProperties": { +"type": "any" +}, +"description": "Source specific properties. These properties are managed by the source that writes the finding. The key names in the source_properties map must be between 1 and 255 characters, and must start with a letter and contain alphanumeric characters or underscores only.", +"type": "object" +}, +"state": { +"description": "The state of the finding.", +"enum": [ +"STATE_UNSPECIFIED", +"ACTIVE", +"INACTIVE" +], +"enumDescriptions": [ +"Unspecified state.", +"The finding requires attention and has not been addressed yet.", +"The finding has been fixed, triaged as a non-issue or otherwise addressed and is no longer active." +], +"type": "string" +}, +"toxicCombination": { +"$ref": "ToxicCombination", +"description": "Contains details about a group of security issues that, when the issues occur together, represent a greater risk than when the issues occur independently. A group of such issues is referred to as a toxic combination. This field cannot be updated. Its value is ignored in all update requests." +}, +"vertexAi": { +"$ref": "VertexAi", +"description": "VertexAi associated with the finding." +}, +"vulnerability": { +"$ref": "Vulnerability", +"description": "Represents vulnerability-specific fields like CVE and CVSS scores. CVE stands for Common Vulnerabilities and Exposures (https://cve.mitre.org/about/)" +} +}, +"type": "object" +}, +"Folder": { +"description": "Message that contains the resource name and display name of a folder resource.", +"id": "Folder", +"properties": { +"resourceFolder": { +"description": "Full resource name of this folder. See: https://cloud.google.com/apis/design/resource_names#full_resource_name", +"type": "string" +}, +"resourceFolderDisplayName": { +"description": "The user defined display name for this folder.", +"type": "string" +} +}, +"type": "object" +}, +"Framework": { +"description": "Compliance framework associated with the finding.", +"id": "Framework", +"properties": { +"category": { +"description": "Category of the framework associated with the finding. E.g. Security Benchmark, or Assured Workloads", +"items": { +"enum": [ +"FRAMEWORK_CATEGORY_UNSPECIFIED", +"SECURITY_BENCHMARKS", +"ASSURED_WORKLOADS", +"DATA_SECURITY", +"GOOGLE_BEST_PRACTICES", +"CUSTOM_FRAMEWORK" +], +"enumDescriptions": [ +"Default value. This value is unused.", +"Security Benchmarks framework", +"Assured Workloads framework", +"Data Security framework", +"Google Best Practices framework", +"A user-created framework" +], +"type": "string" +}, +"type": "array" +}, +"controls": { +"description": "The controls associated with the framework.", +"items": { +"$ref": "Control" +}, +"type": "array" +}, +"displayName": { +"description": "Display name of the framework. For a standard framework, this will look like e.g. PCI DSS 3.2.1, whereas for a custom framework it can be a user defined string like MyFramework", +"type": "string" +}, +"name": { +"description": "Name of the framework associated with the finding", +"type": "string" +}, +"type": { +"description": "Type of the framework associated with the finding, to specify whether the framework is built-in (pre-defined and immutable) or a custom framework defined by the customer (equivalent to security posture)", +"enum": [ +"FRAMEWORK_TYPE_UNSPECIFIED", +"FRAMEWORK_TYPE_BUILT_IN", +"FRAMEWORK_TYPE_CUSTOM" +], +"enumDescriptions": [ +"Default value. This value is unused.", +"The framework is a built-in framework if it is created and managed by GCP.", +"The framework is a custom framework if it is created and managed by the user." +], +"type": "string" +} +}, +"type": "object" +}, +"GcpMetadata": { +"description": "Google Cloud metadata associated with the resource. Only applicable if the finding's cloud provider is Google Cloud.", +"id": "GcpMetadata", +"properties": { +"folders": { +"description": "Output only. Contains a Folder message for each folder in the assets ancestry. The first folder is the deepest nested folder, and the last folder is the folder directly under the Organization.", +"items": { +"$ref": "GoogleCloudSecuritycenterV2Folder" +}, +"readOnly": true, +"type": "array" +}, +"organization": { +"description": "The name of the organization that the resource belongs to.", +"type": "string" +}, +"parent": { +"description": "The full resource name of resource's parent.", +"type": "string" +}, +"parentDisplayName": { +"description": "The human readable name of resource's parent.", +"type": "string" +}, +"project": { +"description": "The full resource name of project that the resource belongs to.", +"type": "string" +}, +"projectDisplayName": { +"description": "The project ID that the resource belongs to.", +"type": "string" +} +}, +"type": "object" +}, +"Geolocation": { +"description": "Represents a geographical location for a given access.", +"id": "Geolocation", +"properties": { +"regionCode": { +"description": "A CLDR.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV1BigQueryExport": { +"description": "Configures how to deliver Findings to BigQuery Instance.", +"id": "GoogleCloudSecuritycenterV1BigQueryExport", +"properties": { +"createTime": { +"description": "Output only. The time at which the BigQuery export was created. This field is set by the server and will be ignored if provided on export on creation.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"dataset": { +"description": "The dataset to write findings' updates to. Its format is \"projects/[project_id]/datasets/[bigquery_dataset_id]\". BigQuery Dataset unique ID must contain only letters (a-z, A-Z), numbers (0-9), or underscores (_).", +"type": "string" +}, +"description": { +"description": "The description of the export (max of 1024 characters).", +"type": "string" +}, +"filter": { +"description": "Expression that defines the filter to apply across create/update events of findings. The expression is a list of zero or more restrictions combined via logical operators `AND` and `OR`. Parentheses are supported, and `OR` has higher precedence than `AND`. Restrictions have the form ` ` and may have a `-` character in front of them to indicate negation. The fields map to those defined in the corresponding resource. The supported operators are: * `=` for all value types. * `>`, `<`, `>=`, `<=` for integer values. * `:`, meaning substring matching, for strings. The supported value types are: * string literals in quotes. * integer literals without quotes. * boolean literals `true` and `false` without quotes.", +"type": "string" +}, +"mostRecentEditor": { +"description": "Output only. Email address of the user who last edited the BigQuery export. This field is set by the server and will be ignored if provided on export creation or update.", +"readOnly": true, +"type": "string" +}, +"name": { +"description": "The relative resource name of this export. See: https://cloud.google.com/apis/design/resource_names#relative_resource_name. Example format: \"organizations/{organization_id}/bigQueryExports/{export_id}\" Example format: \"folders/{folder_id}/bigQueryExports/{export_id}\" Example format: \"projects/{project_id}/bigQueryExports/{export_id}\" This field is provided in responses, and is ignored when provided in create requests.", +"type": "string" +}, +"principal": { +"description": "Output only. The service account that needs permission to create table and upload data to the BigQuery dataset.", +"readOnly": true, +"type": "string" +}, +"updateTime": { +"description": "Output only. The most recent time at which the BigQuery export was updated. This field is set by the server and will be ignored if provided on export creation or update.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV1Binding": { +"description": "Represents a Kubernetes RoleBinding or ClusterRoleBinding.", +"id": "GoogleCloudSecuritycenterV1Binding", +"properties": { +"name": { +"description": "Name for the binding.", +"type": "string" +}, +"ns": { +"description": "Namespace for the binding.", +"type": "string" +}, +"role": { +"$ref": "Role", +"description": "The Role or ClusterRole referenced by the binding." +}, +"subjects": { +"description": "Represents one or more subjects that are bound to the role. Not always available for PATCH requests.", +"items": { +"$ref": "Subject" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV1BulkMuteFindingsResponse": { +"description": "The response to a BulkMute request. Contains the LRO information.", +"id": "GoogleCloudSecuritycenterV1BulkMuteFindingsResponse", +"properties": {}, +"type": "object" +}, +"GoogleCloudSecuritycenterV1CustomConfig": { +"description": "Defines the properties in a custom module configuration for Security Health Analytics. Use the custom module configuration to create custom detectors that generate custom findings for resources that you specify.", +"id": "GoogleCloudSecuritycenterV1CustomConfig", +"properties": { +"customOutput": { +"$ref": "GoogleCloudSecuritycenterV1CustomOutputSpec", +"description": "Custom output properties." +}, +"description": { +"description": "Text that describes the vulnerability or misconfiguration that the custom module detects. This explanation is returned with each finding instance to help investigators understand the detected issue. The text must be enclosed in quotation marks.", +"type": "string" +}, +"predicate": { +"$ref": "Expr", +"description": "The CEL expression to evaluate to produce findings. When the expression evaluates to true against a resource, a finding is generated." +}, +"recommendation": { +"description": "An explanation of the recommended steps that security teams can take to resolve the detected issue. This explanation is returned with each finding generated by this module in the `nextSteps` property of the finding JSON.", +"type": "string" +}, +"resourceSelector": { +"$ref": "GoogleCloudSecuritycenterV1ResourceSelector", +"description": "The resource types that the custom module operates on. Each custom module can specify up to 5 resource types." +}, +"severity": { +"description": "The severity to assign to findings generated by the module.", +"enum": [ +"SEVERITY_UNSPECIFIED", +"CRITICAL", +"HIGH", +"MEDIUM", +"LOW" +], +"enumDescriptions": [ +"Unspecified severity.", +"Critical severity.", +"High severity.", +"Medium severity.", +"Low severity." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV1CustomOutputSpec": { +"description": "A set of optional name-value pairs that define custom source properties to return with each finding that is generated by the custom module. The custom source properties that are defined here are included in the finding JSON under `sourceProperties`.", +"id": "GoogleCloudSecuritycenterV1CustomOutputSpec", +"properties": { +"properties": { +"description": "A list of custom output properties to add to the finding.", +"items": { +"$ref": "GoogleCloudSecuritycenterV1Property" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV1EffectiveSecurityHealthAnalyticsCustomModule": { +"description": "An EffectiveSecurityHealthAnalyticsCustomModule is the representation of a Security Health Analytics custom module at a specified level of the resource hierarchy: organization, folder, or project. If a custom module is inherited from a parent organization or folder, the value of the `enablementState` property in EffectiveSecurityHealthAnalyticsCustomModule is set to the value that is effective in the parent, instead of `INHERITED`. For example, if the module is enabled in a parent organization or folder, the effective enablement_state for the module in all child folders or projects is also `enabled`. EffectiveSecurityHealthAnalyticsCustomModule is read-only.", +"id": "GoogleCloudSecuritycenterV1EffectiveSecurityHealthAnalyticsCustomModule", +"properties": { +"cloudProvider": { +"description": "The cloud provider of the custom module.", +"enum": [ +"CLOUD_PROVIDER_UNSPECIFIED", +"GOOGLE_CLOUD_PLATFORM", +"AMAZON_WEB_SERVICES", +"MICROSOFT_AZURE" +], +"enumDescriptions": [ +"Unspecified cloud provider.", +"Google Cloud.", +"Amazon Web Services.", +"Microsoft Azure." +], +"type": "string" +}, +"customConfig": { +"$ref": "GoogleCloudSecuritycenterV1CustomConfig", +"description": "Output only. The user-specified configuration for the module.", +"readOnly": true +}, +"displayName": { +"description": "Output only. The display name for the custom module. The name must be between 1 and 128 characters, start with a lowercase letter, and contain alphanumeric characters or underscores only.", +"readOnly": true, +"type": "string" +}, +"enablementState": { +"description": "Output only. The effective state of enablement for the module at the given level of the hierarchy.", +"enum": [ +"ENABLEMENT_STATE_UNSPECIFIED", +"ENABLED", +"DISABLED" +], +"enumDescriptions": [ +"Unspecified enablement state.", +"The module is enabled at the given level.", +"The module is disabled at the given level." +], +"readOnly": true, +"type": "string" +}, +"name": { +"description": "Output only. The resource name of the custom module. Its format is \"organizations/{organization}/securityHealthAnalyticsSettings/effectiveCustomModules/{customModule}\", or \"folders/{folder}/securityHealthAnalyticsSettings/effectiveCustomModules/{customModule}\", or \"projects/{project}/securityHealthAnalyticsSettings/effectiveCustomModules/{customModule}\"", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV1ExternalSystem": { +"description": "Representation of third party SIEM/SOAR fields within SCC.", +"id": "GoogleCloudSecuritycenterV1ExternalSystem", +"properties": { +"assignees": { +"description": "References primary/secondary etc assignees in the external system.", +"items": { +"type": "string" +}, +"type": "array" +}, +"caseCloseTime": { +"description": "The time when the case was closed, as reported by the external system.", +"format": "google-datetime", +"type": "string" +}, +"caseCreateTime": { +"description": "The time when the case was created, as reported by the external system.", +"format": "google-datetime", +"type": "string" +}, +"casePriority": { +"description": "The priority of the finding's corresponding case in the external system.", +"type": "string" +}, +"caseSla": { +"description": "The SLA of the finding's corresponding case in the external system.", +"format": "google-datetime", +"type": "string" +}, +"caseUri": { +"description": "The link to the finding's corresponding case in the external system.", +"type": "string" +}, +"externalSystemUpdateTime": { +"description": "The time when the case was last updated, as reported by the external system.", +"format": "google-datetime", +"type": "string" +}, +"externalUid": { +"description": "The identifier that's used to track the finding's corresponding case in the external system.", +"type": "string" +}, +"name": { +"description": "Full resource name of the external system, for example: \"organizations/1234/sources/5678/findings/123456/externalSystems/jira\", \"folders/1234/sources/5678/findings/123456/externalSystems/jira\", \"projects/1234/sources/5678/findings/123456/externalSystems/jira\"", +"type": "string" +}, +"status": { +"description": "The most recent status of the finding's corresponding case, as reported by the external system.", +"type": "string" +}, +"ticketInfo": { +"$ref": "TicketInfo", +"description": "Information about the ticket, if any, that is being used to track the resolution of the issue that is identified by this finding." +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV1MuteConfig": { +"description": "A mute config is a Cloud SCC resource that contains the configuration to mute create/update events of findings.", +"id": "GoogleCloudSecuritycenterV1MuteConfig", +"properties": { +"createTime": { +"description": "Output only. The time at which the mute config was created. This field is set by the server and will be ignored if provided on config creation.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"description": { +"description": "A description of the mute config.", +"type": "string" +}, +"displayName": { +"deprecated": true, +"description": "The human readable name to be displayed for the mute config.", +"type": "string" +}, +"expiryTime": { +"description": "Optional. The expiry of the mute config. Only applicable for dynamic configs. If the expiry is set, when the config expires, it is removed from all findings.", +"format": "google-datetime", +"type": "string" +}, +"filter": { +"description": "Required. An expression that defines the filter to apply across create/update events of findings. While creating a filter string, be mindful of the scope in which the mute configuration is being created. E.g., If a filter contains project = X but is created under the project = Y scope, it might not match any findings. The following field and operator combinations are supported: * severity: `=`, `:` * category: `=`, `:` * resource.name: `=`, `:` * resource.project_name: `=`, `:` * resource.project_display_name: `=`, `:` * resource.folders.resource_folder: `=`, `:` * resource.parent_name: `=`, `:` * resource.parent_display_name: `=`, `:` * resource.type: `=`, `:` * finding_class: `=`, `:` * indicator.ip_addresses: `=`, `:` * indicator.domains: `=`, `:`", +"type": "string" +}, +"mostRecentEditor": { +"description": "Output only. Email address of the user who last edited the mute config. This field is set by the server and will be ignored if provided on config creation or update.", +"readOnly": true, +"type": "string" +}, +"name": { +"description": "This field will be ignored if provided on config creation. Format `organizations/{organization}/muteConfigs/{mute_config}` `folders/{folder}/muteConfigs/{mute_config}` `projects/{project}/muteConfigs/{mute_config}` `organizations/{organization}/locations/global/muteConfigs/{mute_config}` `folders/{folder}/locations/global/muteConfigs/{mute_config}` `projects/{project}/locations/global/muteConfigs/{mute_config}`", +"type": "string" +}, +"type": { +"description": "Optional. The type of the mute config, which determines what type of mute state the config affects. The static mute state takes precedence over the dynamic mute state. Immutable after creation. STATIC by default if not set during creation.", +"enum": [ +"MUTE_CONFIG_TYPE_UNSPECIFIED", +"STATIC", +"DYNAMIC" +], +"enumDescriptions": [ +"Unused.", +"A static mute config, which sets the static mute state of future matching findings to muted. Once the static mute state has been set, finding or config modifications will not affect the state.", +"A dynamic mute config, which is applied to existing and future matching findings, setting their dynamic mute state to \"muted\". If the config is updated or deleted, or a matching finding is updated, such that the finding doesn't match the config, the config will be removed from the finding, and the finding's dynamic mute state may become \"unmuted\" (unless other configs still match)." +], +"type": "string" +}, +"updateTime": { +"description": "Output only. The most recent time at which the mute config was updated. This field is set by the server and will be ignored if provided on config creation or update.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV1NotificationMessage": { +"description": "Cloud SCC's Notification", +"id": "GoogleCloudSecuritycenterV1NotificationMessage", +"properties": { +"finding": { +"$ref": "Finding", +"description": "If it's a Finding based notification config, this field will be populated." +}, +"notificationConfigName": { +"description": "Name of the notification config that generated current notification.", +"type": "string" +}, +"resource": { +"$ref": "GoogleCloudSecuritycenterV1Resource", +"description": "The Cloud resource tied to this notification's Finding." +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV1Property": { +"description": "An individual name-value pair that defines a custom source property.", +"id": "GoogleCloudSecuritycenterV1Property", +"properties": { +"name": { +"description": "Name of the property for the custom output.", +"type": "string" +}, +"valueExpression": { +"$ref": "Expr", +"description": "The CEL expression for the custom output. A resource property can be specified to return the value of the property or a text string enclosed in quotation marks." +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV1Resource": { +"description": "Information related to the Google Cloud resource.", +"id": "GoogleCloudSecuritycenterV1Resource", +"properties": { +"adcApplication": { +"$ref": "AdcApplication", +"description": "The ADC application associated with the finding." +}, +"adcApplicationTemplate": { +"$ref": "AdcApplicationTemplateRevision", +"description": "The ADC template associated with the finding." +}, +"adcSharedTemplate": { +"$ref": "AdcSharedTemplateRevision", +"description": "The ADC shared template associated with the finding." +}, +"application": { +"$ref": "GoogleCloudSecuritycenterV1ResourceApplication", +"description": "The App Hub application this resource belongs to." +}, +"awsMetadata": { +"$ref": "AwsMetadata", +"description": "The AWS metadata associated with the finding." +}, +"azureMetadata": { +"$ref": "AzureMetadata", +"description": "The Azure metadata associated with the finding." +}, +"cloudProvider": { +"description": "Indicates which cloud provider the resource resides in.", +"enum": [ +"CLOUD_PROVIDER_UNSPECIFIED", +"GOOGLE_CLOUD_PLATFORM", +"AMAZON_WEB_SERVICES", +"MICROSOFT_AZURE" +], +"enumDescriptions": [ +"The cloud provider is unspecified.", +"The cloud provider is Google Cloud.", +"The cloud provider is Amazon Web Services.", +"The cloud provider is Microsoft Azure." +], +"type": "string" +}, +"displayName": { +"description": "The human readable name of the resource.", +"type": "string" +}, +"folders": { +"description": "Output only. Contains a Folder message for each folder in the assets ancestry. The first folder is the deepest nested folder, and the last folder is the folder directly under the Organization.", +"items": { +"$ref": "Folder" +}, +"readOnly": true, +"type": "array" +}, +"location": { +"description": "The region or location of the service (if applicable).", +"type": "string" +}, +"name": { +"description": "The full resource name of the resource. See: https://cloud.google.com/apis/design/resource_names#full_resource_name", +"type": "string" +}, +"organization": { +"description": "Indicates which organization or tenant in the cloud provider the finding applies to.", +"type": "string" +}, +"parent": { +"description": "The full resource name of resource's parent.", +"type": "string" +}, +"parentDisplayName": { +"description": "The human readable name of resource's parent.", +"type": "string" +}, +"project": { +"description": "The full resource name of project that the resource belongs to.", +"type": "string" +}, +"projectDisplayName": { +"description": "The project ID that the resource belongs to.", +"type": "string" +}, +"resourcePath": { +"$ref": "ResourcePath", +"description": "Provides the path to the resource within the resource hierarchy." +}, +"resourcePathString": { +"description": "A string representation of the resource path. For Google Cloud, it has the format of `organizations/{organization_id}/folders/{folder_id}/folders/{folder_id}/projects/{project_id}` where there can be any number of folders. For AWS, it has the format of `org/{organization_id}/ou/{organizational_unit_id}/ou/{organizational_unit_id}/account/{account_id}` where there can be any number of organizational units. For Azure, it has the format of `mg/{management_group_id}/mg/{management_group_id}/subscription/{subscription_id}/rg/{resource_group_name}` where there can be any number of management groups.", +"type": "string" +}, +"service": { +"description": "The parent service or product from which the resource is provided, for example, GKE or SNS.", +"type": "string" +}, +"type": { +"description": "The full resource type of the resource.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV1ResourceApplication": { +"description": "The App Hub Application associated with the finding's resource.", +"id": "GoogleCloudSecuritycenterV1ResourceApplication", +"properties": { +"attributes": { +"$ref": "GoogleCloudSecuritycenterV1ResourceApplicationAttributes", +"description": "Consumer provided attributes for the application" +}, +"name": { +"description": "The resource name of an Application. Format: `projects/{host-project-id}/locations/{location}/applications/{application-id}`", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV1ResourceApplicationAttributes": { +"description": "Consumer provided attributes for the application", +"id": "GoogleCloudSecuritycenterV1ResourceApplicationAttributes", +"properties": { +"businessOwners": { +"description": "Business team that ensures user needs are met and value is delivered", +"items": { +"$ref": "GoogleCloudSecuritycenterV1ResourceApplicationAttributesContactInfo" +}, +"type": "array" +}, +"criticality": { +"$ref": "GoogleCloudSecuritycenterV1ResourceApplicationAttributesCriticality", +"description": "User-defined criticality information." +}, +"developerOwners": { +"description": "Developer team that owns development and coding.", +"items": { +"$ref": "GoogleCloudSecuritycenterV1ResourceApplicationAttributesContactInfo" +}, +"type": "array" +}, +"environment": { +"$ref": "GoogleCloudSecuritycenterV1ResourceApplicationAttributesEnvironment", +"description": "User-defined environment information." +}, +"operatorOwners": { +"description": "Operator team that ensures runtime and operations.", +"items": { +"$ref": "GoogleCloudSecuritycenterV1ResourceApplicationAttributesContactInfo" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV1ResourceApplicationAttributesContactInfo": { +"description": "Contact information of stakeholders.", +"id": "GoogleCloudSecuritycenterV1ResourceApplicationAttributesContactInfo", +"properties": { +"email": { +"description": "Email address of the contacts.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV1ResourceApplicationAttributesCriticality": { +"description": "Criticality of the Application, Service, or Workload", +"id": "GoogleCloudSecuritycenterV1ResourceApplicationAttributesCriticality", +"properties": { +"type": { +"description": "Criticality Type.", +"enum": [ +"CRITICALITY_TYPE_UNSPECIFIED", +"MISSION_CRITICAL", +"HIGH", +"MEDIUM", +"LOW" +], +"enumDescriptions": [ +"Unspecified type.", +"Mission critical service, application or workload.", +"High impact.", +"Medium impact.", +"Low impact." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV1ResourceApplicationAttributesEnvironment": { +"description": "Environment of the Application, Service, or Workload", +"id": "GoogleCloudSecuritycenterV1ResourceApplicationAttributesEnvironment", +"properties": { +"type": { +"description": "Environment Type.", +"enum": [ +"ENVIRONMENT_TYPE_UNSPECIFIED", +"PRODUCTION", +"STAGING", +"TEST", +"DEVELOPMENT" +], +"enumDescriptions": [ +"Unspecified type.", +"Production environment.", +"Staging environment.", +"Test environment.", +"Development environment." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV1ResourceSelector": { +"description": "Resource for selecting resource type.", +"id": "GoogleCloudSecuritycenterV1ResourceSelector", +"properties": { +"resourceTypes": { +"description": "The resource types to run the detector on.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV1ResourceValueConfig": { +"description": "A resource value configuration (RVC) is a mapping configuration of user's resources to resource values. Used in Attack path simulations.", +"id": "GoogleCloudSecuritycenterV1ResourceValueConfig", +"properties": { +"cloudProvider": { +"description": "Cloud provider this configuration applies to", +"enum": [ +"CLOUD_PROVIDER_UNSPECIFIED", +"GOOGLE_CLOUD_PLATFORM", +"AMAZON_WEB_SERVICES", +"MICROSOFT_AZURE" +], +"enumDescriptions": [ +"The cloud provider is unspecified.", +"The cloud provider is Google Cloud.", +"The cloud provider is Amazon Web Services.", +"The cloud provider is Microsoft Azure." +], +"type": "string" +}, +"createTime": { +"description": "Output only. Timestamp this resource value configuration was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"description": { +"description": "Description of the resource value configuration.", +"type": "string" +}, +"name": { +"description": "Name for the resource value configuration", +"type": "string" +}, +"resourceLabelsSelector": { +"additionalProperties": { +"type": "string" +}, +"description": "List of resource labels to search for, evaluated with `AND`. For example, `\"resource_labels_selector\": {\"key\": \"value\", \"env\": \"prod\"}` will match resources with labels \"key\": \"value\" `AND` \"env\": \"prod\" https://cloud.google.com/resource-manager/docs/creating-managing-labels", +"type": "object" +}, +"resourceType": { +"description": "Apply resource_value only to resources that match resource_type. resource_type will be checked with `AND` of other resources. For example, \"storage.googleapis.com/Bucket\" with resource_value \"HIGH\" will apply \"HIGH\" value only to \"storage.googleapis.com/Bucket\" resources.", +"type": "string" +}, +"resourceValue": { +"description": "Required. Resource value level this expression represents", +"enum": [ +"RESOURCE_VALUE_UNSPECIFIED", +"HIGH", +"MEDIUM", +"LOW", +"NONE" +], +"enumDescriptions": [ +"Unspecific value", +"High resource value", +"Medium resource value", +"Low resource value", +"No resource value, e.g. ignore these resources" +], +"type": "string" +}, +"scope": { +"description": "Project or folder to scope this configuration to. For example, \"project/456\" would apply this configuration only to resources in \"project/456\" scope will be checked with `AND` of other resources.", +"type": "string" +}, +"sensitiveDataProtectionMapping": { +"$ref": "GoogleCloudSecuritycenterV1SensitiveDataProtectionMapping", +"description": "A mapping of the sensitivity on Sensitive Data Protection finding to resource values. This mapping can only be used in combination with a resource_type that is related to BigQuery, e.g. \"bigquery.googleapis.com/Dataset\"." +}, +"tagValues": { +"description": "Required. Tag values combined with `AND` to check against. For Google Cloud resources, they are tag value IDs in the form of \"tagValues/123\". Example: `[ \"tagValues/123\", \"tagValues/456\", \"tagValues/789\" ]` https://cloud.google.com/resource-manager/docs/tags/tags-creating-and-managing", +"items": { +"type": "string" +}, +"type": "array" +}, +"updateTime": { +"description": "Output only. Timestamp this resource value configuration was last updated.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV1RunAssetDiscoveryResponse": { +"description": "Response of asset discovery run", +"id": "GoogleCloudSecuritycenterV1RunAssetDiscoveryResponse", +"properties": { +"duration": { +"description": "The duration between asset discovery run start and end", +"format": "google-duration", +"type": "string" +}, +"state": { +"description": "The state of an asset discovery run.", +"enum": [ +"STATE_UNSPECIFIED", +"COMPLETED", +"SUPERSEDED", +"TERMINATED" +], +"enumDescriptions": [ +"Asset discovery run state was unspecified.", +"Asset discovery run completed successfully.", +"Asset discovery run was cancelled with tasks still pending, as another run for the same organization was started with a higher priority.", +"Asset discovery run was killed and terminated." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV1SecurityHealthAnalyticsCustomModule": { +"description": "Represents an instance of a Security Health Analytics custom module, including its full module name, display name, enablement state, and last updated time. You can create a custom module at the organization, folder, or project level. Custom modules that you create at the organization or folder level are inherited by the child folders and projects.", +"id": "GoogleCloudSecuritycenterV1SecurityHealthAnalyticsCustomModule", +"properties": { +"ancestorModule": { +"description": "Output only. If empty, indicates that the custom module was created in the organization, folder, or project in which you are viewing the custom module. Otherwise, `ancestor_module` specifies the organization or folder from which the custom module is inherited.", +"readOnly": true, +"type": "string" +}, +"cloudProvider": { +"description": "The cloud provider of the custom module.", +"enum": [ +"CLOUD_PROVIDER_UNSPECIFIED", +"GOOGLE_CLOUD_PLATFORM", +"AMAZON_WEB_SERVICES", +"MICROSOFT_AZURE" +], +"enumDescriptions": [ +"Unspecified cloud provider.", +"Google Cloud.", +"Amazon Web Services (AWS).", +"Microsoft Azure." +], +"type": "string" +}, +"customConfig": { +"$ref": "GoogleCloudSecuritycenterV1CustomConfig", +"description": "The user specified custom configuration for the module." +}, +"displayName": { +"description": "The display name of the Security Health Analytics custom module. This display name becomes the finding category for all findings that are returned by this custom module. The display name must be between 1 and 128 characters, start with a lowercase letter, and contain alphanumeric characters or underscores only.", +"type": "string" +}, +"enablementState": { +"description": "The enablement state of the custom module.", +"enum": [ +"ENABLEMENT_STATE_UNSPECIFIED", +"ENABLED", +"DISABLED", +"INHERITED" +], +"enumDescriptions": [ +"Unspecified enablement state.", +"The module is enabled at the given CRM resource.", +"The module is disabled at the given CRM resource.", +"State is inherited from an ancestor module. The module will either be effectively ENABLED or DISABLED based on its closest non-inherited ancestor module in the CRM hierarchy." +], +"type": "string" +}, +"lastEditor": { +"description": "Output only. The editor that last updated the custom module.", +"readOnly": true, +"type": "string" +}, +"name": { +"description": "Immutable. The resource name of the custom module. Its format is \"organizations/{organization}/securityHealthAnalyticsSettings/customModules/{customModule}\", or \"folders/{folder}/securityHealthAnalyticsSettings/customModules/{customModule}\", or \"projects/{project}/securityHealthAnalyticsSettings/customModules/{customModule}\" The id {customModule} is server-generated and is not user settable. It will be a numeric id containing 1-20 digits.", +"type": "string" +}, +"updateTime": { +"description": "Output only. The time at which the custom module was last updated.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV1SensitiveDataProtectionMapping": { +"description": "Resource value mapping for Sensitive Data Protection findings. If any of these mappings have a resource value that is not unspecified, the resource_value field will be ignored when reading this configuration.", +"id": "GoogleCloudSecuritycenterV1SensitiveDataProtectionMapping", +"properties": { +"highSensitivityMapping": { +"description": "Resource value mapping for high-sensitivity Sensitive Data Protection findings", +"enum": [ +"RESOURCE_VALUE_UNSPECIFIED", +"HIGH", +"MEDIUM", +"LOW", +"NONE" +], +"enumDescriptions": [ +"Unspecific value", +"High resource value", +"Medium resource value", +"Low resource value", +"No resource value, e.g. ignore these resources" +], +"type": "string" +}, +"mediumSensitivityMapping": { +"description": "Resource value mapping for medium-sensitivity Sensitive Data Protection findings", +"enum": [ +"RESOURCE_VALUE_UNSPECIFIED", +"HIGH", +"MEDIUM", +"LOW", +"NONE" +], +"enumDescriptions": [ +"Unspecific value", +"High resource value", +"Medium resource value", +"Low resource value", +"No resource value, e.g. ignore these resources" +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV1beta1RunAssetDiscoveryResponse": { +"description": "Response of asset discovery run", +"id": "GoogleCloudSecuritycenterV1beta1RunAssetDiscoveryResponse", +"properties": { +"duration": { +"description": "The duration between asset discovery run start and end", +"format": "google-duration", +"type": "string" +}, +"state": { +"description": "The state of an asset discovery run.", +"enum": [ +"STATE_UNSPECIFIED", +"COMPLETED", +"SUPERSEDED", +"TERMINATED" +], +"enumDescriptions": [ +"Asset discovery run state was unspecified.", +"Asset discovery run completed successfully.", +"Asset discovery run was cancelled with tasks still pending, as another run for the same organization was started with a higher priority.", +"Asset discovery run was killed and terminated." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV1p1beta1Finding": { +"description": "Security Command Center finding. A finding is a record of assessment data (security, risk, health or privacy) ingested into Security Command Center for presentation, notification, analysis, policy testing, and enforcement. For example, an XSS vulnerability in an App Engine application is a finding.", +"id": "GoogleCloudSecuritycenterV1p1beta1Finding", +"properties": { +"canonicalName": { +"description": "The canonical name of the finding. It's either \"organizations/{organization_id}/sources/{source_id}/findings/{finding_id}\", \"folders/{folder_id}/sources/{source_id}/findings/{finding_id}\" or \"projects/{project_number}/sources/{source_id}/findings/{finding_id}\", depending on the closest CRM ancestor of the resource associated with the finding.", +"type": "string" +}, +"category": { +"description": "The additional taxonomy group within findings from a given source. This field is immutable after creation time. Example: \"XSS_FLASH_INJECTION\"", +"type": "string" +}, +"createTime": { +"description": "The time at which the finding was created in Security Command Center.", +"format": "google-datetime", +"type": "string" +}, +"eventTime": { +"description": "The time at which the event took place, or when an update to the finding occurred. For example, if the finding represents an open firewall it would capture the time the detector believes the firewall became open. The accuracy is determined by the detector. If the finding were to be resolved afterward, this time would reflect when the finding was resolved. Must not be set to a value greater than the current timestamp.", +"format": "google-datetime", +"type": "string" +}, +"externalUri": { +"description": "The URI that, if available, points to a web page outside of Security Command Center where additional information about the finding can be found. This field is guaranteed to be either empty or a well formed URL.", +"type": "string" +}, +"name": { +"description": "The relative resource name of this finding. See: https://cloud.google.com/apis/design/resource_names#relative_resource_name Example: \"organizations/{organization_id}/sources/{source_id}/findings/{finding_id}\"", +"type": "string" +}, +"parent": { +"description": "The relative resource name of the source the finding belongs to. See: https://cloud.google.com/apis/design/resource_names#relative_resource_name This field is immutable after creation time. For example: \"organizations/{organization_id}/sources/{source_id}\"", +"type": "string" +}, +"resourceName": { +"description": "For findings on Google Cloud resources, the full resource name of the Google Cloud resource this finding is for. See: https://cloud.google.com/apis/design/resource_names#full_resource_name When the finding is for a non-Google Cloud resource, the resourceName can be a customer or partner defined string. This field is immutable after creation time.", +"type": "string" +}, +"securityMarks": { +"$ref": "GoogleCloudSecuritycenterV1p1beta1SecurityMarks", +"description": "Output only. User specified security marks. These marks are entirely managed by the user and come from the SecurityMarks resource that belongs to the finding.", +"readOnly": true +}, +"severity": { +"description": "The severity of the finding. This field is managed by the source that writes the finding.", +"enum": [ +"SEVERITY_UNSPECIFIED", +"CRITICAL", +"HIGH", +"MEDIUM", +"LOW" +], +"enumDescriptions": [ +"No severity specified. The default value.", +"Critical severity.", +"High severity.", +"Medium severity.", +"Low severity." +], +"type": "string" +}, +"sourceProperties": { +"additionalProperties": { +"type": "any" +}, +"description": "Source specific properties. These properties are managed by the source that writes the finding. The key names in the source_properties map must be between 1 and 255 characters, and must start with a letter and contain alphanumeric characters or underscores only.", +"type": "object" +}, +"state": { +"description": "The state of the finding.", +"enum": [ +"STATE_UNSPECIFIED", +"ACTIVE", +"INACTIVE" +], +"enumDescriptions": [ +"Unspecified state.", +"The finding requires attention and has not been addressed yet.", +"The finding has been fixed, triaged as a non-issue or otherwise addressed and is no longer active." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV1p1beta1Folder": { +"description": "Message that contains the resource name and display name of a folder resource.", +"id": "GoogleCloudSecuritycenterV1p1beta1Folder", +"properties": { +"resourceFolder": { +"description": "Full resource name of this folder. See: https://cloud.google.com/apis/design/resource_names#full_resource_name", +"type": "string" +}, +"resourceFolderDisplayName": { +"description": "The user defined display name for this folder.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV1p1beta1NotificationMessage": { +"description": "Security Command Center's Notification", +"id": "GoogleCloudSecuritycenterV1p1beta1NotificationMessage", +"properties": { +"finding": { +"$ref": "GoogleCloudSecuritycenterV1p1beta1Finding", +"description": "If it's a Finding based notification config, this field will be populated." +}, +"notificationConfigName": { +"description": "Name of the notification config that generated current notification.", +"type": "string" +}, +"resource": { +"$ref": "GoogleCloudSecuritycenterV1p1beta1Resource", +"description": "The Cloud resource tied to the notification." +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV1p1beta1Resource": { +"description": "Information related to the Google Cloud resource.", +"id": "GoogleCloudSecuritycenterV1p1beta1Resource", +"properties": { +"folders": { +"description": "Output only. Contains a Folder message for each folder in the assets ancestry. The first folder is the deepest nested folder, and the last folder is the folder directly under the Organization.", +"items": { +"$ref": "GoogleCloudSecuritycenterV1p1beta1Folder" +}, +"readOnly": true, +"type": "array" +}, +"name": { +"description": "The full resource name of the resource. See: https://cloud.google.com/apis/design/resource_names#full_resource_name", +"type": "string" +}, +"parent": { +"description": "The full resource name of resource's parent.", +"type": "string" +}, +"parentDisplayName": { +"description": "The human readable name of resource's parent.", +"type": "string" +}, +"project": { +"description": "The full resource name of project that the resource belongs to.", +"type": "string" +}, +"projectDisplayName": { +"description": "The project id that the resource belongs to.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV1p1beta1RunAssetDiscoveryResponse": { +"description": "Response of asset discovery run", +"id": "GoogleCloudSecuritycenterV1p1beta1RunAssetDiscoveryResponse", +"properties": { +"duration": { +"description": "The duration between asset discovery run start and end", +"format": "google-duration", +"type": "string" +}, +"state": { +"description": "The state of an asset discovery run.", +"enum": [ +"STATE_UNSPECIFIED", +"COMPLETED", +"SUPERSEDED", +"TERMINATED" +], +"enumDescriptions": [ +"Asset discovery run state was unspecified.", +"Asset discovery run completed successfully.", +"Asset discovery run was cancelled with tasks still pending, as another run for the same organization was started with a higher priority.", +"Asset discovery run was killed and terminated." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV1p1beta1SecurityMarks": { +"description": "User specified security marks that are attached to the parent Security Command Center resource. Security marks are scoped within a Security Command Center organization -- they can be modified and viewed by all users who have proper permissions on the organization.", +"id": "GoogleCloudSecuritycenterV1p1beta1SecurityMarks", +"properties": { +"canonicalName": { +"description": "The canonical name of the marks. Examples: \"organizations/{organization_id}/assets/{asset_id}/securityMarks\" \"folders/{folder_id}/assets/{asset_id}/securityMarks\" \"projects/{project_number}/assets/{asset_id}/securityMarks\" \"organizations/{organization_id}/sources/{source_id}/findings/{finding_id}/securityMarks\" \"folders/{folder_id}/sources/{source_id}/findings/{finding_id}/securityMarks\" \"projects/{project_number}/sources/{source_id}/findings/{finding_id}/securityMarks\"", +"type": "string" +}, +"marks": { +"additionalProperties": { +"type": "string" +}, +"description": "Mutable user specified security marks belonging to the parent resource. Constraints are as follows: * Keys and values are treated as case insensitive * Keys must be between 1 - 256 characters (inclusive) * Keys must be letters, numbers, underscores, or dashes * Values have leading and trailing whitespace trimmed, remaining characters must be between 1 - 4096 characters (inclusive)", +"type": "object" +}, +"name": { +"description": "The relative resource name of the SecurityMarks. See: https://cloud.google.com/apis/design/resource_names#relative_resource_name Examples: \"organizations/{organization_id}/assets/{asset_id}/securityMarks\" \"organizations/{organization_id}/sources/{source_id}/findings/{finding_id}/securityMarks\".", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2Access": { +"description": "Represents an access event.", +"id": "GoogleCloudSecuritycenterV2Access", +"properties": { +"callerIp": { +"description": "Caller's IP address, such as \"1.1.1.1\".", +"type": "string" +}, +"callerIpGeo": { +"$ref": "GoogleCloudSecuritycenterV2Geolocation", +"description": "The caller IP's geolocation, which identifies where the call came from." +}, +"methodName": { +"description": "The method that the service account called, e.g. \"SetIamPolicy\".", +"type": "string" +}, +"principalEmail": { +"description": "Associated email, such as \"foo@google.com\". The email address of the authenticated user or a service account acting on behalf of a third party principal making the request. For third party identity callers, the `principal_subject` field is populated instead of this field. For privacy reasons, the principal email address is sometimes redacted. For more information, see [Caller identities in audit logs](https://cloud.google.com/logging/docs/audit#user-id).", +"type": "string" +}, +"principalSubject": { +"description": "A string that represents the principal_subject that is associated with the identity. Unlike `principal_email`, `principal_subject` supports principals that aren't associated with email addresses, such as third party principals. For most identities, the format is `principal://iam.googleapis.com/{identity pool name}/subject/{subject}`. Some GKE identities, such as GKE_WORKLOAD, FREEFORM, and GKE_HUB_WORKLOAD, still use the legacy format `serviceAccount:{identity pool name}[{subject}]`.", +"type": "string" +}, +"serviceAccountDelegationInfo": { +"description": "The identity delegation history of an authenticated service account that made the request. The `serviceAccountDelegationInfo[]` object contains information about the real authorities that try to access Google Cloud resources by delegating on a service account. When multiple authorities are present, they are guaranteed to be sorted based on the original ordering of the identity delegation events.", +"items": { +"$ref": "GoogleCloudSecuritycenterV2ServiceAccountDelegationInfo" +}, +"type": "array" +}, +"serviceAccountKeyName": { +"description": "The name of the service account key that was used to create or exchange credentials when authenticating the service account that made the request. This is a scheme-less URI full resource name. For example: \"//iam.googleapis.com/projects/{PROJECT_ID}/serviceAccounts/{ACCOUNT}/keys/{key}\". ", +"type": "string" +}, +"serviceName": { +"description": "This is the API service that the service account made a call to, e.g. \"iam.googleapis.com\"", +"type": "string" +}, +"userAgent": { +"description": "The caller's user agent string associated with the finding.", +"type": "string" +}, +"userAgentFamily": { +"description": "Type of user agent associated with the finding. For example, an operating system shell or an embedded or standalone application.", +"type": "string" +}, +"userName": { +"description": "A string that represents a username. The username provided depends on the type of the finding and is likely not an IAM principal. For example, this can be a system username if the finding is related to a virtual machine, or it can be an application login username.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2AccessReview": { +"description": "Conveys information about a Kubernetes access review (such as one returned by a [`kubectl auth can-i`](https://kubernetes.io/docs/reference/access-authn-authz/authorization/#checking-api-access) command) that was involved in a finding.", +"id": "GoogleCloudSecuritycenterV2AccessReview", +"properties": { +"group": { +"description": "The API group of the resource. \"*\" means all.", +"type": "string" +}, +"name": { +"description": "The name of the resource being requested. Empty means all.", +"type": "string" +}, +"ns": { +"description": "Namespace of the action being requested. Currently, there is no distinction between no namespace and all namespaces. Both are represented by \"\" (empty).", +"type": "string" +}, +"resource": { +"description": "The optional resource type requested. \"*\" means all.", +"type": "string" +}, +"subresource": { +"description": "The optional subresource type.", +"type": "string" +}, +"verb": { +"description": "A Kubernetes resource API verb, like get, list, watch, create, update, delete, proxy. \"*\" means all.", +"type": "string" +}, +"version": { +"description": "The API version of the resource. \"*\" means all.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2AdaptiveProtection": { +"description": "Information about [Google Cloud Armor Adaptive Protection](https://cloud.google.com/armor/docs/cloud-armor-overview#google-cloud-armor-adaptive-protection).", +"id": "GoogleCloudSecuritycenterV2AdaptiveProtection", +"properties": { +"confidence": { +"description": "A score of 0 means that there is low confidence that the detected event is an actual attack. A score of 1 means that there is high confidence that the detected event is an attack. See the [Adaptive Protection documentation](https://cloud.google.com/armor/docs/adaptive-protection-overview#configure-alert-tuning) for further explanation.", +"format": "double", +"type": "number" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2AdcApplication": { +"description": "Represents an ADC application associated with the finding.", +"id": "GoogleCloudSecuritycenterV2AdcApplication", +"properties": { +"attributes": { +"$ref": "GoogleCloudSecuritycenterV2ResourceApplicationAttributes", +"description": "Consumer provided attributes for the AppHub application." +}, +"name": { +"description": "The resource name of an ADC Application. Format: projects/{project}/locations/{location}/spaces/{space}/applications/{application}", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2AdcApplicationTemplateRevision": { +"description": "Represents an ADC template associated with the finding.", +"id": "GoogleCloudSecuritycenterV2AdcApplicationTemplateRevision", +"properties": { +"name": { +"description": "The resource name of an ADC Application Template Revision. Format: projects/{project}/locations/{location}/spaces/{space}/applicationTemplates/{application_template}/revisions/{revision}", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2AdcSharedTemplateRevision": { +"description": "Represents an ADC shared template associated with the finding.", +"id": "GoogleCloudSecuritycenterV2AdcSharedTemplateRevision", +"properties": { +"name": { +"description": "The resource name of an ADC Shared Template Revision. Format: projects/{project}/locations/{location}/spaces/{space}/applicationTemplates/{application_template}/revisions/{revision}", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2AffectedResources": { +"description": "Details about resources affected by this finding.", +"id": "GoogleCloudSecuritycenterV2AffectedResources", +"properties": { +"count": { +"description": "The count of resources affected by the finding.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2AiModel": { +"description": "Contains information about the AI model associated with the finding.", +"id": "GoogleCloudSecuritycenterV2AiModel", +"properties": { +"deploymentPlatform": { +"description": "The platform on which the model is deployed.", +"enum": [ +"DEPLOYMENT_PLATFORM_UNSPECIFIED", +"VERTEX_AI", +"GKE", +"GCE", +"FINE_TUNED_MODEL" +], +"enumDescriptions": [ +"Unspecified deployment platform.", +"Vertex AI.", +"Google Kubernetes Engine.", +"Google Compute Engine.", +"Fine tuned model." +], +"type": "string" +}, +"displayName": { +"description": "The user defined display name of model. Ex. baseline-classification-model", +"type": "string" +}, +"domain": { +"description": "The domain of the model, for example, \u201cimage-classification\u201d.", +"type": "string" +}, +"library": { +"description": "The name of the model library, for example, \u201ctransformers\u201d.", +"type": "string" +}, +"location": { +"description": "The region in which the model is used, for example, \u201cus-central1\u201d.", +"type": "string" +}, +"name": { +"description": "The name of the AI model, for example, \"gemini:1.0.0\".", +"type": "string" +}, +"publisher": { +"description": "The publisher of the model, for example, \u201cgoogle\u201d or \u201cnvidia\u201d.", +"type": "string" +}, +"usageCategory": { +"description": "The purpose of the model, for example, \"Inteference\" or \"Training\".", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2Allowed": { +"description": "Allowed IP rule.", +"id": "GoogleCloudSecuritycenterV2Allowed", +"properties": { +"ipRules": { +"description": "Optional. Optional list of allowed IP rules.", +"items": { +"$ref": "GoogleCloudSecuritycenterV2IpRule" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2Application": { +"description": "Represents an application associated with a finding.", +"id": "GoogleCloudSecuritycenterV2Application", +"properties": { +"baseUri": { +"description": "The base URI that identifies the network location of the application in which the vulnerability was detected. For example, `http://example.com`.", +"type": "string" +}, +"fullUri": { +"description": "The full URI with payload that could be used to reproduce the vulnerability. For example, `http://example.com?p=aMmYgI6H`.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2ArtifactGuardPolicies": { +"description": "Represents the result of evaluating artifact guard policies.", +"id": "GoogleCloudSecuritycenterV2ArtifactGuardPolicies", +"properties": { +"failingPolicies": { +"description": "A list of failing policies.", +"items": { +"$ref": "GoogleCloudSecuritycenterV2ArtifactGuardPolicy" +}, +"type": "array" +}, +"resourceId": { +"description": "The ID of the resource that has policies configured for it.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2ArtifactGuardPolicy": { +"description": "Represents an artifact guard policy.", +"id": "GoogleCloudSecuritycenterV2ArtifactGuardPolicy", +"properties": { +"failureReason": { +"description": "The reason for the policy failure, for example, \"severity=HIGH AND max_vuln_count=2\".", +"type": "string" +}, +"policyId": { +"description": "The ID of the failing policy, for example, \"organizations/3392779/locations/global/policies/prod-policy\".", +"type": "string" +}, +"type": { +"description": "The type of the policy evaluation.", +"enum": [ +"ARTIFACT_GUARD_POLICY_TYPE_UNSPECIFIED", +"VULNERABILITY" +], +"enumDescriptions": [ +"Default value. This value is unused.", +"Vulnerability type." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2Attack": { +"description": "Information about DDoS attack volume and classification.", +"id": "GoogleCloudSecuritycenterV2Attack", +"properties": { +"classification": { +"description": "Type of attack, for example, 'SYN-flood', 'NTP-udp', or 'CHARGEN-udp'.", +"type": "string" +}, +"volumeBps": { +"deprecated": true, +"description": "Total BPS (bytes per second) volume of attack. Deprecated - refer to volume_bps_long instead.", +"format": "int32", +"type": "integer" +}, +"volumeBpsLong": { +"description": "Total BPS (bytes per second) volume of attack.", +"format": "int64", +"type": "string" +}, +"volumePps": { +"deprecated": true, +"description": "Total PPS (packets per second) volume of attack. Deprecated - refer to volume_pps_long instead.", +"format": "int32", +"type": "integer" +}, +"volumePpsLong": { +"description": "Total PPS (packets per second) volume of attack.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2AttackExposure": { +"description": "An attack exposure contains the results of an attack path simulation run.", +"id": "GoogleCloudSecuritycenterV2AttackExposure", +"properties": { +"attackExposureResult": { +"description": "The resource name of the attack path simulation result that contains the details regarding this attack exposure score. Example: `organizations/123/simulations/456/attackExposureResults/789`", +"type": "string" +}, +"exposedHighValueResourcesCount": { +"description": "The number of high value resources that are exposed as a result of this finding.", +"format": "int32", +"type": "integer" +}, +"exposedLowValueResourcesCount": { +"description": "The number of high value resources that are exposed as a result of this finding.", +"format": "int32", +"type": "integer" +}, +"exposedMediumValueResourcesCount": { +"description": "The number of medium value resources that are exposed as a result of this finding.", +"format": "int32", +"type": "integer" +}, +"latestCalculationTime": { +"description": "The most recent time the attack exposure was updated on this finding.", +"format": "google-datetime", +"type": "string" +}, +"score": { +"description": "A number between 0 (inclusive) and infinity that represents how important this finding is to remediate. The higher the score, the more important it is to remediate.", +"format": "double", +"type": "number" +}, +"state": { +"description": "Output only. What state this AttackExposure is in. This captures whether or not an attack exposure has been calculated or not.", +"enum": [ +"STATE_UNSPECIFIED", +"CALCULATED", +"NOT_CALCULATED" +], +"enumDescriptions": [ +"The state is not specified.", +"The attack exposure has been calculated.", +"The attack exposure has not been calculated." +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2AwsAccount": { +"description": "An AWS account that is a member of an organization.", +"id": "GoogleCloudSecuritycenterV2AwsAccount", +"properties": { +"id": { +"description": "The unique identifier (ID) of the account, containing exactly 12 digits.", +"type": "string" +}, +"name": { +"description": "The friendly name of this account.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2AwsMetadata": { +"description": "AWS metadata associated with the resource, only applicable if the finding's cloud provider is Amazon Web Services.", +"id": "GoogleCloudSecuritycenterV2AwsMetadata", +"properties": { +"account": { +"$ref": "GoogleCloudSecuritycenterV2AwsAccount", +"description": "The AWS account associated with the resource." +}, +"organization": { +"$ref": "GoogleCloudSecuritycenterV2AwsOrganization", +"description": "The AWS organization associated with the resource." +}, +"organizationalUnits": { +"description": "A list of AWS organizational units associated with the resource, ordered from lowest level (closest to the account) to highest level.", +"items": { +"$ref": "GoogleCloudSecuritycenterV2AwsOrganizationalUnit" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2AwsOrganization": { +"description": "An organization is a collection of accounts that are centrally managed together using consolidated billing, organized hierarchically with organizational units (OUs), and controlled with policies.", +"id": "GoogleCloudSecuritycenterV2AwsOrganization", +"properties": { +"id": { +"description": "The unique identifier (ID) for the organization. The regex pattern for an organization ID string requires \"o-\" followed by from 10 to 32 lowercase letters or digits.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2AwsOrganizationalUnit": { +"description": "An Organizational Unit (OU) is a container of AWS accounts within a root of an organization. Policies that are attached to an OU apply to all accounts contained in that OU and in any child OUs.", +"id": "GoogleCloudSecuritycenterV2AwsOrganizationalUnit", +"properties": { +"id": { +"description": "The unique identifier (ID) associated with this OU. The regex pattern for an organizational unit ID string requires \"ou-\" followed by from 4 to 32 lowercase letters or digits (the ID of the root that contains the OU). This string is followed by a second \"-\" dash and from 8 to 32 additional lowercase letters or digits. For example, \"ou-ab12-cd34ef56\".", +"type": "string" +}, +"name": { +"description": "The friendly name of the OU.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2AzureManagementGroup": { +"description": "Represents an Azure management group.", +"id": "GoogleCloudSecuritycenterV2AzureManagementGroup", +"properties": { +"displayName": { +"description": "The display name of the Azure management group.", +"type": "string" +}, +"id": { +"description": "The UUID of the Azure management group, for example, `20000000-0001-0000-0000-000000000000`.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2AzureMetadata": { +"description": "Azure metadata associated with the resource, only applicable if the finding's cloud provider is Microsoft Azure.", +"id": "GoogleCloudSecuritycenterV2AzureMetadata", +"properties": { +"managementGroups": { +"description": "A list of Azure management groups associated with the resource, ordered from lowest level (closest to the subscription) to highest level.", +"items": { +"$ref": "GoogleCloudSecuritycenterV2AzureManagementGroup" +}, +"type": "array" +}, +"resourceGroup": { +"$ref": "GoogleCloudSecuritycenterV2AzureResourceGroup", +"description": "The Azure resource group associated with the resource." +}, +"subscription": { +"$ref": "GoogleCloudSecuritycenterV2AzureSubscription", +"description": "The Azure subscription associated with the resource." +}, +"tenant": { +"$ref": "GoogleCloudSecuritycenterV2AzureTenant", +"description": "The Azure Entra tenant associated with the resource." +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2AzureResourceGroup": { +"description": "Represents an Azure resource group.", +"id": "GoogleCloudSecuritycenterV2AzureResourceGroup", +"properties": { +"id": { +"description": "The ID of the Azure resource group.", +"type": "string" +}, +"name": { +"description": "The name of the Azure resource group. This is not a UUID.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2AzureSubscription": { +"description": "Represents an Azure subscription.", +"id": "GoogleCloudSecuritycenterV2AzureSubscription", +"properties": { +"displayName": { +"description": "The display name of the Azure subscription.", +"type": "string" +}, +"id": { +"description": "The UUID of the Azure subscription, for example, `291bba3f-e0a5-47bc-a099-3bdcb2a50a05`.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2AzureTenant": { +"description": "Represents a Microsoft Entra tenant.", +"id": "GoogleCloudSecuritycenterV2AzureTenant", +"properties": { +"displayName": { +"description": "The display name of the Azure tenant.", +"type": "string" +}, +"id": { +"description": "The ID of the Microsoft Entra tenant, for example, \"a11aaa11-aa11-1aa1-11aa-1aaa11a\".", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2BackupDisasterRecovery": { +"description": "Information related to Google Cloud Backup and DR Service findings.", +"id": "GoogleCloudSecuritycenterV2BackupDisasterRecovery", +"properties": { +"appliance": { +"description": "The name of the Backup and DR appliance that captures, moves, and manages the lifecycle of backup data. For example, `backup-server-57137`.", +"type": "string" +}, +"applications": { +"description": "The names of Backup and DR applications. An application is a VM, database, or file system on a managed host monitored by a backup and recovery appliance. For example, `centos7-01-vol00`, `centos7-01-vol01`, `centos7-01-vol02`.", +"items": { +"type": "string" +}, +"type": "array" +}, +"backupCreateTime": { +"description": "The timestamp at which the Backup and DR backup was created.", +"format": "google-datetime", +"type": "string" +}, +"backupTemplate": { +"description": "The name of a Backup and DR template which comprises one or more backup policies. See the [Backup and DR documentation](https://cloud.google.com/backup-disaster-recovery/docs/concepts/backup-plan#temp) for more information. For example, `snap-ov`.", +"type": "string" +}, +"backupType": { +"description": "The backup type of the Backup and DR image. For example, `Snapshot`, `Remote Snapshot`, `OnVault`.", +"type": "string" +}, +"host": { +"description": "The name of a Backup and DR host, which is managed by the backup and recovery appliance and known to the management console. The host can be of type Generic (for example, Compute Engine, SQL Server, Oracle DB, SMB file system, etc.), vCenter, or an ESX server. See the [Backup and DR documentation on hosts](https://cloud.google.com/backup-disaster-recovery/docs/configuration/manage-hosts-and-their-applications) for more information. For example, `centos7-01`.", +"type": "string" +}, +"policies": { +"description": "The names of Backup and DR policies that are associated with a template and that define when to run a backup, how frequently to run a backup, and how long to retain the backup image. For example, `onvaults`.", +"items": { +"type": "string" +}, +"type": "array" +}, +"policyOptions": { +"description": "The names of Backup and DR advanced policy options of a policy applying to an application. See the [Backup and DR documentation on policy options](https://cloud.google.com/backup-disaster-recovery/docs/create-plan/policy-settings). For example, `skipofflineappsincongrp, nounmap`.", +"items": { +"type": "string" +}, +"type": "array" +}, +"profile": { +"description": "The name of the Backup and DR resource profile that specifies the storage media for backups of application and VM data. See the [Backup and DR documentation on profiles](https://cloud.google.com/backup-disaster-recovery/docs/concepts/backup-plan#profile). For example, `GCP`.", +"type": "string" +}, +"storagePool": { +"description": "The name of the Backup and DR storage pool that the backup and recovery appliance is storing data in. The storage pool could be of type Cloud, Primary, Snapshot, or OnVault. See the [Backup and DR documentation on storage pools](https://cloud.google.com/backup-disaster-recovery/docs/concepts/storage-pools). For example, `DiskPoolOne`.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2BigQueryExport": { +"description": "Configures how to deliver Findings to BigQuery Instance.", +"id": "GoogleCloudSecuritycenterV2BigQueryExport", +"properties": { +"createTime": { +"description": "Output only. The time at which the BigQuery export was created. This field is set by the server and will be ignored if provided on export on creation.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"cryptoKeyName": { +"description": "Output only. The resource name of the Cloud KMS `CryptoKey` used to protect this configuration's data, if configured during Security Command Center activation.", +"readOnly": true, +"type": "string" +}, +"dataset": { +"description": "The dataset to write findings' updates to. Its format is \"projects/[project_id]/datasets/[bigquery_dataset_id]\". BigQuery dataset unique ID must contain only letters (a-z, A-Z), numbers (0-9), or underscores (_).", +"type": "string" +}, +"description": { +"description": "The description of the export (max of 1024 characters).", +"type": "string" +}, +"filter": { +"description": "Expression that defines the filter to apply across create/update events of findings. The expression is a list of zero or more restrictions combined via logical operators `AND` and `OR`. Parentheses are supported, and `OR` has higher precedence than `AND`. Restrictions have the form ` ` and may have a `-` character in front of them to indicate negation. The fields map to those defined in the corresponding resource. The supported operators are: * `=` for all value types. * `>`, `<`, `>=`, `<=` for integer values. * `:`, meaning substring matching, for strings. The supported value types are: * string literals in quotes. * integer literals without quotes. * boolean literals `true` and `false` without quotes.", +"type": "string" +}, +"mostRecentEditor": { +"description": "Output only. Email address of the user who last edited the BigQuery export. This field is set by the server and will be ignored if provided on export creation or update.", +"readOnly": true, +"type": "string" +}, +"name": { +"description": "Identifier. The relative resource name of this export. See: https://cloud.google.com/apis/design/resource_names#relative_resource_name. The following list shows some examples: + `organizations/{organization_id}/locations/{location_id}/bigQueryExports/{export_id}` + `folders/{folder_id}/locations/{location_id}/bigQueryExports/{export_id}` + `projects/{project_id}/locations/{location_id}/bigQueryExports/{export_id}` This field is provided in responses, and is ignored when provided in create requests.", +"type": "string" +}, +"principal": { +"description": "Output only. The service account that needs permission to create table and upload data to the BigQuery dataset.", +"readOnly": true, +"type": "string" +}, +"updateTime": { +"description": "Output only. The most recent time at which the BigQuery export was updated. This field is set by the server and will be ignored if provided on export creation or update.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2Binding": { +"description": "Represents a Kubernetes RoleBinding or ClusterRoleBinding.", +"id": "GoogleCloudSecuritycenterV2Binding", +"properties": { +"name": { +"description": "Name for the binding.", +"type": "string" +}, +"ns": { +"description": "Namespace for the binding.", +"type": "string" +}, +"role": { +"$ref": "GoogleCloudSecuritycenterV2Role", +"description": "The Role or ClusterRole referenced by the binding." +}, +"subjects": { +"description": "Represents one or more subjects that are bound to the role. Not always available for PATCH requests.", +"items": { +"$ref": "GoogleCloudSecuritycenterV2Subject" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2BulkMuteFindingsResponse": { +"description": "The response to a BulkMute request. Contains the LRO information.", +"id": "GoogleCloudSecuritycenterV2BulkMuteFindingsResponse", +"properties": {}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2Chokepoint": { +"description": "Contains details about a chokepoint, which is a resource or resource group where high-risk attack paths converge, based on [attack path simulations] (https://cloud.google.com/security-command-center/docs/attack-exposure-learn#attack_path_simulations).", +"id": "GoogleCloudSecuritycenterV2Chokepoint", +"properties": { +"relatedFindings": { +"description": "List of resource names of findings associated with this chokepoint. For example, organizations/123/sources/456/findings/789. This list will have at most 100 findings.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2CloudArmor": { +"description": "Fields related to Google Cloud Armor findings.", +"id": "GoogleCloudSecuritycenterV2CloudArmor", +"properties": { +"adaptiveProtection": { +"$ref": "GoogleCloudSecuritycenterV2AdaptiveProtection", +"description": "Information about potential Layer 7 DDoS attacks identified by [Google Cloud Armor Adaptive Protection](https://cloud.google.com/armor/docs/adaptive-protection-overview)." +}, +"attack": { +"$ref": "GoogleCloudSecuritycenterV2Attack", +"description": "Information about DDoS attack volume and classification." +}, +"duration": { +"description": "Duration of attack from the start until the current moment (updated every 5 minutes).", +"format": "google-duration", +"type": "string" +}, +"requests": { +"$ref": "GoogleCloudSecuritycenterV2Requests", +"description": "Information about incoming requests evaluated by [Google Cloud Armor security policies](https://cloud.google.com/armor/docs/security-policy-overview)." +}, +"securityPolicy": { +"$ref": "GoogleCloudSecuritycenterV2SecurityPolicy", +"description": "Information about the [Google Cloud Armor security policy](https://cloud.google.com/armor/docs/security-policy-overview) relevant to the finding." +}, +"threatVector": { +"description": "Distinguish between volumetric & protocol DDoS attack and application layer attacks. For example, \"L3_4\" for Layer 3 and Layer 4 DDoS attacks, or \"L_7\" for Layer 7 DDoS attacks.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2CloudControl": { +"description": "CloudControl associated with the finding.", +"id": "GoogleCloudSecuritycenterV2CloudControl", +"properties": { +"cloudControlName": { +"description": "Name of the CloudControl associated with the finding.", +"type": "string" +}, +"policyType": { +"description": "Policy type of the CloudControl", +"type": "string" +}, +"type": { +"description": "Type of cloud control.", +"enum": [ +"CLOUD_CONTROL_TYPE_UNSPECIFIED", +"BUILT_IN", +"CUSTOM" +], +"enumDescriptions": [ +"Unspecified.", +"Built in Cloud Control.", +"Custom Cloud Control." +], +"type": "string" +}, +"version": { +"description": "Version of the Cloud Control", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2CloudDlpDataProfile": { +"description": "The [data profile](https://cloud.google.com/dlp/docs/data-profiles) associated with the finding.", +"id": "GoogleCloudSecuritycenterV2CloudDlpDataProfile", +"properties": { +"dataProfile": { +"description": "Name of the data profile, for example, `projects/123/locations/europe/tableProfiles/8383929`.", +"type": "string" +}, +"infoTypes": { +"description": "Type of information detected by SDP. Info type includes name, version and sensitivity of the detected information type.", +"items": { +"$ref": "GoogleCloudSecuritycenterV2InfoType" +}, +"type": "array" +}, +"parentType": { +"description": "The resource hierarchy level at which the data profile was generated.", +"enum": [ +"PARENT_TYPE_UNSPECIFIED", +"ORGANIZATION", +"PROJECT" +], +"enumDescriptions": [ +"Unspecified parent type.", +"Organization-level configurations.", +"Project-level configurations." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2CloudDlpInspection": { +"description": "Details about the Cloud Data Loss Prevention (Cloud DLP) [inspection job](https://cloud.google.com/dlp/docs/concepts-job-triggers) that produced the finding.", +"id": "GoogleCloudSecuritycenterV2CloudDlpInspection", +"properties": { +"fullScan": { +"description": "Whether Cloud DLP scanned the complete resource or a sampled subset.", +"type": "boolean" +}, +"infoType": { +"description": "The type of information (or *[infoType](https://cloud.google.com/dlp/docs/infotypes-reference)*) found, for example, `EMAIL_ADDRESS` or `STREET_ADDRESS`.", +"type": "string" +}, +"infoTypeCount": { +"description": "The number of times Cloud DLP found this infoType within this job and resource.", +"format": "int64", +"type": "string" +}, +"inspectJob": { +"description": "Name of the inspection job, for example, `projects/123/locations/europe/dlpJobs/i-8383929`.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2CloudLoggingEntry": { +"description": "Metadata taken from a [Cloud Logging LogEntry](https://cloud.google.com/logging/docs/reference/v2/rest/v2/LogEntry)", +"id": "GoogleCloudSecuritycenterV2CloudLoggingEntry", +"properties": { +"insertId": { +"description": "A unique identifier for the log entry.", +"type": "string" +}, +"logId": { +"description": "The type of the log (part of `log_name`. `log_name` is the resource name of the log to which this log entry belongs). For example: `cloudresourcemanager.googleapis.com/activity` Note that this field is not URL-encoded, unlike in `LogEntry`.", +"type": "string" +}, +"resourceContainer": { +"description": "The organization, folder, or project of the monitored resource that produced this log entry.", +"type": "string" +}, +"timestamp": { +"description": "The time the event described by the log entry occurred.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2Compliance": { +"description": "Contains compliance information about a security standard indicating unmet recommendations.", +"id": "GoogleCloudSecuritycenterV2Compliance", +"properties": { +"ids": { +"description": "Policies within the standard or benchmark, for example, A.12.4.1", +"items": { +"type": "string" +}, +"type": "array" +}, +"standard": { +"description": "Industry-wide compliance standards or benchmarks, such as CIS, PCI, and OWASP.", +"type": "string" +}, +"version": { +"description": "Version of the standard or benchmark, for example, 1.1", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2ComplianceDetails": { +"description": "Compliance Details associated with the finding.", +"id": "GoogleCloudSecuritycenterV2ComplianceDetails", +"properties": { +"cloudControl": { +"$ref": "GoogleCloudSecuritycenterV2CloudControl", +"description": "CloudControl associated with the finding" +}, +"cloudControlDeploymentNames": { +"description": "Cloud Control Deployments associated with the finding. For example, organizations/123/locations/global/cloudControlDeployments/deploymentIdentifier", +"items": { +"type": "string" +}, +"type": "array" +}, +"frameworks": { +"description": "Details of Frameworks associated with the finding", +"items": { +"$ref": "GoogleCloudSecuritycenterV2Framework" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2Connection": { +"description": "Contains information about the IP connection associated with the finding.", +"id": "GoogleCloudSecuritycenterV2Connection", +"properties": { +"destinationIp": { +"description": "Destination IP address. Not present for sockets that are listening and not connected.", +"type": "string" +}, +"destinationPort": { +"description": "Destination port. Not present for sockets that are listening and not connected.", +"format": "int32", +"type": "integer" +}, +"protocol": { +"description": "IANA Internet Protocol Number such as TCP(6) and UDP(17).", +"enum": [ +"PROTOCOL_UNSPECIFIED", +"ICMP", +"TCP", +"UDP", +"GRE", +"ESP" +], +"enumDescriptions": [ +"Unspecified protocol (not HOPOPT).", +"Internet Control Message Protocol.", +"Transmission Control Protocol.", +"User Datagram Protocol.", +"Generic Routing Encapsulation.", +"Encap Security Payload." +], +"type": "string" +}, +"sourceIp": { +"description": "Source IP address.", +"type": "string" +}, +"sourcePort": { +"description": "Source port.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2Contact": { +"description": "The email address of a contact.", +"id": "GoogleCloudSecuritycenterV2Contact", +"properties": { +"email": { +"description": "An email address. For example, \"`person123@company.com`\".", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2ContactDetails": { +"description": "Details about specific contacts", +"id": "GoogleCloudSecuritycenterV2ContactDetails", +"properties": { +"contacts": { +"description": "A list of contacts", +"items": { +"$ref": "GoogleCloudSecuritycenterV2Contact" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2Container": { +"description": "Container associated with the finding.", +"id": "GoogleCloudSecuritycenterV2Container", +"properties": { +"createTime": { +"description": "The time that the container was created.", +"format": "google-datetime", +"type": "string" +}, +"imageId": { +"description": "Optional container image ID, if provided by the container runtime. Uniquely identifies the container image launched using a container image digest.", +"type": "string" +}, +"labels": { +"description": "Container labels, as provided by the container runtime.", +"items": { +"$ref": "GoogleCloudSecuritycenterV2Label" +}, +"type": "array" +}, +"name": { +"description": "Name of the container.", +"type": "string" +}, +"uri": { +"description": "Container image URI provided when configuring a pod or container. This string can identify a container image version using mutable tags.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2Control": { +"description": "Compliance control associated with the finding.", +"id": "GoogleCloudSecuritycenterV2Control", +"properties": { +"controlName": { +"description": "Name of the Control", +"type": "string" +}, +"displayName": { +"description": "Display name of the control. For example, AU-02.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2Cve": { +"description": "CVE stands for Common Vulnerabilities and Exposures. Information from the [CVE record](https://www.cve.org/ResourcesSupport/Glossary) that describes this vulnerability.", +"id": "GoogleCloudSecuritycenterV2Cve", +"properties": { +"cvssv3": { +"$ref": "GoogleCloudSecuritycenterV2Cvssv3", +"description": "Describe Common Vulnerability Scoring System specified at https://www.first.org/cvss/v3.1/specification-document" +}, +"exploitReleaseDate": { +"description": "Date the first publicly available exploit or PoC was released.", +"format": "google-datetime", +"type": "string" +}, +"exploitationActivity": { +"description": "The exploitation activity of the vulnerability in the wild.", +"enum": [ +"EXPLOITATION_ACTIVITY_UNSPECIFIED", +"WIDE", +"CONFIRMED", +"AVAILABLE", +"ANTICIPATED", +"NO_KNOWN" +], +"enumDescriptions": [ +"Invalid or empty value.", +"Exploitation has been reported or confirmed to widely occur.", +"Limited reported or confirmed exploitation activities.", +"Exploit is publicly available.", +"No known exploitation activity, but has a high potential for exploitation.", +"No known exploitation activity." +], +"type": "string" +}, +"firstExploitationDate": { +"description": "Date of the earliest known exploitation.", +"format": "google-datetime", +"type": "string" +}, +"id": { +"description": "The unique identifier for the vulnerability. e.g. CVE-2021-34527", +"type": "string" +}, +"impact": { +"description": "The potential impact of the vulnerability if it was to be exploited.", +"enum": [ +"RISK_RATING_UNSPECIFIED", +"LOW", +"MEDIUM", +"HIGH", +"CRITICAL" +], +"enumDescriptions": [ +"Invalid or empty value.", +"Exploitation would have little to no security impact.", +"Exploitation would enable attackers to perform activities, or could allow attackers to have a direct impact, but would require additional steps.", +"Exploitation would enable attackers to have a notable direct impact without needing to overcome any major mitigating factors.", +"Exploitation would fundamentally undermine the security of affected systems, enable actors to perform significant attacks with minimal effort, with little to no mitigating factors to overcome." +], +"type": "string" +}, +"observedInTheWild": { +"description": "Whether or not the vulnerability has been observed in the wild.", +"type": "boolean" +}, +"references": { +"description": "Additional information about the CVE. e.g. https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-34527", +"items": { +"$ref": "GoogleCloudSecuritycenterV2Reference" +}, +"type": "array" +}, +"upstreamFixAvailable": { +"description": "Whether upstream fix is available for the CVE.", +"type": "boolean" +}, +"zeroDay": { +"description": "Whether or not the vulnerability was zero day when the finding was published.", +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2Cvssv3": { +"description": "Common Vulnerability Scoring System version 3.", +"id": "GoogleCloudSecuritycenterV2Cvssv3", +"properties": { +"attackComplexity": { +"description": "This metric describes the conditions beyond the attacker's control that must exist in order to exploit the vulnerability.", +"enum": [ +"ATTACK_COMPLEXITY_UNSPECIFIED", +"ATTACK_COMPLEXITY_LOW", +"ATTACK_COMPLEXITY_HIGH" +], +"enumDescriptions": [ +"Invalid value.", +"Specialized access conditions or extenuating circumstances do not exist. An attacker can expect repeatable success when attacking the vulnerable component.", +"A successful attack depends on conditions beyond the attacker's control. That is, a successful attack cannot be accomplished at will, but requires the attacker to invest in some measurable amount of effort in preparation or execution against the vulnerable component before a successful attack can be expected." +], +"type": "string" +}, +"attackVector": { +"description": "Base Metrics Represents the intrinsic characteristics of a vulnerability that are constant over time and across user environments. This metric reflects the context by which vulnerability exploitation is possible.", +"enum": [ +"ATTACK_VECTOR_UNSPECIFIED", +"ATTACK_VECTOR_NETWORK", +"ATTACK_VECTOR_ADJACENT", +"ATTACK_VECTOR_LOCAL", +"ATTACK_VECTOR_PHYSICAL" +], +"enumDescriptions": [ +"Invalid value.", +"The vulnerable component is bound to the network stack and the set of possible attackers extends beyond the other options listed below, up to and including the entire Internet.", +"The vulnerable component is bound to the network stack, but the attack is limited at the protocol level to a logically adjacent topology.", +"The vulnerable component is not bound to the network stack and the attacker's path is via read/write/execute capabilities.", +"The attack requires the attacker to physically touch or manipulate the vulnerable component." +], +"type": "string" +}, +"availabilityImpact": { +"description": "This metric measures the impact to the availability of the impacted component resulting from a successfully exploited vulnerability.", +"enum": [ +"IMPACT_UNSPECIFIED", +"IMPACT_HIGH", +"IMPACT_LOW", +"IMPACT_NONE" +], +"enumDescriptions": [ +"Invalid value.", +"High impact.", +"Low impact.", +"No impact." +], +"type": "string" +}, +"baseScore": { +"description": "The base score is a function of the base metric scores.", +"format": "double", +"type": "number" +}, +"confidentialityImpact": { +"description": "This metric measures the impact to the confidentiality of the information resources managed by a software component due to a successfully exploited vulnerability.", +"enum": [ +"IMPACT_UNSPECIFIED", +"IMPACT_HIGH", +"IMPACT_LOW", +"IMPACT_NONE" +], +"enumDescriptions": [ +"Invalid value.", +"High impact.", +"Low impact.", +"No impact." +], +"type": "string" +}, +"integrityImpact": { +"description": "This metric measures the impact to integrity of a successfully exploited vulnerability.", +"enum": [ +"IMPACT_UNSPECIFIED", +"IMPACT_HIGH", +"IMPACT_LOW", +"IMPACT_NONE" +], +"enumDescriptions": [ +"Invalid value.", +"High impact.", +"Low impact.", +"No impact." +], +"type": "string" +}, +"privilegesRequired": { +"description": "This metric describes the level of privileges an attacker must possess before successfully exploiting the vulnerability.", +"enum": [ +"PRIVILEGES_REQUIRED_UNSPECIFIED", +"PRIVILEGES_REQUIRED_NONE", +"PRIVILEGES_REQUIRED_LOW", +"PRIVILEGES_REQUIRED_HIGH" +], +"enumDescriptions": [ +"Invalid value.", +"The attacker is unauthorized prior to attack, and therefore does not require any access to settings or files of the vulnerable system to carry out an attack.", +"The attacker requires privileges that provide basic user capabilities that could normally affect only settings and files owned by a user. Alternatively, an attacker with Low privileges has the ability to access only non-sensitive resources.", +"The attacker requires privileges that provide significant (e.g., administrative) control over the vulnerable component allowing access to component-wide settings and files." +], +"type": "string" +}, +"scope": { +"description": "The Scope metric captures whether a vulnerability in one vulnerable component impacts resources in components beyond its security scope.", +"enum": [ +"SCOPE_UNSPECIFIED", +"SCOPE_UNCHANGED", +"SCOPE_CHANGED" +], +"enumDescriptions": [ +"Invalid value.", +"An exploited vulnerability can only affect resources managed by the same security authority.", +"An exploited vulnerability can affect resources beyond the security scope managed by the security authority of the vulnerable component." +], +"type": "string" +}, +"userInteraction": { +"description": "This metric captures the requirement for a human user, other than the attacker, to participate in the successful compromise of the vulnerable component.", +"enum": [ +"USER_INTERACTION_UNSPECIFIED", +"USER_INTERACTION_NONE", +"USER_INTERACTION_REQUIRED" +], +"enumDescriptions": [ +"Invalid value.", +"The vulnerable system can be exploited without interaction from any user.", +"Successful exploitation of this vulnerability requires a user to take some action before the vulnerability can be exploited." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2Cwe": { +"description": "CWE stands for Common Weakness Enumeration. Information about this weakness, as described by [CWE](https://cwe.mitre.org/).", +"id": "GoogleCloudSecuritycenterV2Cwe", +"properties": { +"id": { +"description": "The CWE identifier, e.g. CWE-94", +"type": "string" +}, +"references": { +"description": "Any reference to the details on the CWE, for example, https://cwe.mitre.org/data/definitions/94.html", +"items": { +"$ref": "GoogleCloudSecuritycenterV2Reference" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2DataAccessEvent": { +"description": "Details about a data access attempt made by a principal not authorized under applicable data security policy.", +"id": "GoogleCloudSecuritycenterV2DataAccessEvent", +"properties": { +"eventId": { +"description": "Unique identifier for data access event.", +"type": "string" +}, +"eventTime": { +"description": "Timestamp of data access event.", +"format": "google-datetime", +"type": "string" +}, +"operation": { +"description": "The operation performed by the principal to access the data.", +"enum": [ +"OPERATION_UNSPECIFIED", +"READ", +"MOVE", +"COPY" +], +"enumDescriptions": [ +"The operation is unspecified.", +"Represents a read operation.", +"Represents a move operation.", +"Represents a copy operation." +], +"type": "string" +}, +"principalEmail": { +"description": "The email address of the principal that accessed the data. The principal could be a user account, service account, Google group, or other.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2DataFlowEvent": { +"description": "Details about a data flow event, in which either the data is moved to or is accessed from a non-compliant geo-location, as defined in the applicable data security policy.", +"id": "GoogleCloudSecuritycenterV2DataFlowEvent", +"properties": { +"eventId": { +"description": "Unique identifier for data flow event.", +"type": "string" +}, +"eventTime": { +"description": "Timestamp of data flow event.", +"format": "google-datetime", +"type": "string" +}, +"operation": { +"description": "The operation performed by the principal for the data flow event.", +"enum": [ +"OPERATION_UNSPECIFIED", +"READ", +"MOVE", +"COPY" +], +"enumDescriptions": [ +"The operation is unspecified.", +"Represents a read operation.", +"Represents a move operation.", +"Represents a copy operation." +], +"type": "string" +}, +"principalEmail": { +"description": "The email address of the principal that initiated the data flow event. The principal could be a user account, service account, Google group, or other.", +"type": "string" +}, +"violatedLocation": { +"description": "Non-compliant location of the principal or the data destination.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2DataRetentionDeletionEvent": { +"description": "Details about data retention deletion violations, in which the data is non-compliant based on their retention or deletion time, as defined in the applicable data security policy. The Data Retention Deletion (DRD) control is a control of the DSPM (Data Security Posture Management) suite that enables organizations to manage data retention and deletion policies in compliance with regulations, such as GDPR and CRPA. DRD supports two primary policy types: maximum storage length (max TTL) and minimum storage length (min TTL). Both are aimed at helping organizations meet regulatory and data management commitments.", +"id": "GoogleCloudSecuritycenterV2DataRetentionDeletionEvent", +"properties": { +"dataObjectCount": { +"description": "Number of objects that violated the policy for this resource. If the number is less than 1,000, then the value of this field is the exact number. If the number of objects that violated the policy is greater than or equal to 1,000, then the value of this field is 1000.", +"format": "int64", +"type": "string" +}, +"eventDetectionTime": { +"description": "Timestamp indicating when the event was detected.", +"format": "google-datetime", +"type": "string" +}, +"eventType": { +"description": "Type of the DRD event.", +"enum": [ +"EVENT_TYPE_UNSPECIFIED", +"EVENT_TYPE_MAX_TTL_EXCEEDED", +"EVENT_TYPE_MAX_TTL_FROM_CREATION", +"EVENT_TYPE_MAX_TTL_FROM_LAST_MODIFICATION", +"EVENT_TYPE_MIN_TTL_FROM_CREATION" +], +"enumDeprecated": [ +false, +true, +false, +false, +false +], +"enumDescriptions": [ +"Unspecified event type.", +"Deprecated: This field is pending removal. Use EVENT_TYPE_MAX_TTL_FROM_CREATION or EVENT_TYPE_MAX_TTL_FROM_LAST_MODIFICATION instead.", +"Max TTL from the asset's creation time.", +"Max TTL from the asset's last modification time.", +"Min TTL from the asset's creation time." +], +"type": "string" +}, +"maxRetentionAllowed": { +"description": "Maximum duration of retention allowed from the DRD control. This comes from the DRD control where users set a max TTL for their data. For example, suppose that a user sets the max TTL for a Cloud Storage bucket to 90 days. However, an object in that bucket is 100 days old. In this case, a DataRetentionDeletionEvent will be generated for that Cloud Storage bucket, and the max_retention_allowed is 90 days.", +"format": "google-duration", +"type": "string" +}, +"minRetentionAllowed": { +"description": "Min duration of retention allowed from the DSPM retention control. This field is only populated when event type is set to EVENT_TYPE_MIN_TTL_FROM_CREATION.", +"format": "google-duration", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2Database": { +"description": "Represents database access information, such as queries. A database may be a sub-resource of an instance (as in the case of Cloud SQL instances or Cloud Spanner instances), or the database instance itself. Some database resources might not have the [full resource name](https://google.aip.dev/122#full-resource-names) populated because these resource types, such as Cloud SQL databases, are not yet supported by Cloud Asset Inventory. In these cases only the display name is provided.", +"id": "GoogleCloudSecuritycenterV2Database", +"properties": { +"displayName": { +"description": "The human-readable name of the database that the user connected to.", +"type": "string" +}, +"grantees": { +"description": "The target usernames, roles, or groups of an SQL privilege grant, which is not an IAM policy change.", +"items": { +"type": "string" +}, +"type": "array" +}, +"name": { +"description": "Some database resources may not have the [full resource name](https://google.aip.dev/122#full-resource-names) populated because these resource types are not yet supported by Cloud Asset Inventory (e.g. Cloud SQL databases). In these cases only the display name will be provided. The [full resource name](https://google.aip.dev/122#full-resource-names) of the database that the user connected to, if it is supported by Cloud Asset Inventory.", +"type": "string" +}, +"query": { +"description": "The SQL statement that is associated with the database access.", +"type": "string" +}, +"userName": { +"description": "The username used to connect to the database. The username might not be an IAM principal and does not have a set format.", +"type": "string" +}, +"version": { +"description": "The version of the database, for example, POSTGRES_14. See [the complete list](https://cloud.google.com/sql/docs/mysql/admin-api/rest/v1/SqlDatabaseVersion).", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2Dataset": { +"description": "Vertex AI dataset associated with the finding.", +"id": "GoogleCloudSecuritycenterV2Dataset", +"properties": { +"displayName": { +"description": "The user defined display name of dataset, e.g. plants-dataset", +"type": "string" +}, +"name": { +"description": "Resource name of the dataset, e.g. projects/{project}/locations/{location}/datasets/2094040236064505856", +"type": "string" +}, +"source": { +"description": "Data source, such as a BigQuery source URI, e.g. bq://scc-nexus-test.AIPPtest.gsod", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2Denied": { +"description": "Denied IP rule.", +"id": "GoogleCloudSecuritycenterV2Denied", +"properties": { +"ipRules": { +"description": "Optional. Optional list of denied IP rules.", +"items": { +"$ref": "GoogleCloudSecuritycenterV2IpRule" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2Detection": { +"description": "Memory hash detection contributing to the binary family match.", +"id": "GoogleCloudSecuritycenterV2Detection", +"properties": { +"binary": { +"description": "The name of the binary associated with the memory hash signature detection.", +"type": "string" +}, +"percentPagesMatched": { +"description": "The percentage of memory page hashes in the signature that were matched.", +"format": "double", +"type": "number" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2Disk": { +"description": "Contains information about the disk associated with the finding.", +"id": "GoogleCloudSecuritycenterV2Disk", +"properties": { +"name": { +"description": "The name of the disk, for example, \"https://www.googleapis.com/compute/v1/projects/{project-id}/zones/{zone-id}/disks/{disk-id}\".", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2DiskPath": { +"description": "Path of the file in terms of underlying disk/partition identifiers.", +"id": "GoogleCloudSecuritycenterV2DiskPath", +"properties": { +"partitionUuid": { +"description": "UUID of the partition (format https://wiki.archlinux.org/title/persistent_block_device_naming#by-uuid)", +"type": "string" +}, +"relativePath": { +"description": "Relative path of the file in the partition as a JSON encoded string. Example: /home/user1/executable_file.sh", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2DynamicMuteRecord": { +"description": "The record of a dynamic mute rule that matches the finding.", +"id": "GoogleCloudSecuritycenterV2DynamicMuteRecord", +"properties": { +"matchTime": { +"description": "When the dynamic mute rule first matched the finding.", +"format": "google-datetime", +"type": "string" +}, +"muteConfig": { +"description": "The relative resource name of the mute rule, represented by a mute config, that created this record, for example `organizations/123/muteConfigs/mymuteconfig` or `organizations/123/locations/global/muteConfigs/mymuteconfig`.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2EnvironmentVariable": { +"description": "A name-value pair representing an environment variable used in an operating system process.", +"id": "GoogleCloudSecuritycenterV2EnvironmentVariable", +"properties": { +"name": { +"description": "Environment variable name as a JSON encoded string.", +"type": "string" +}, +"val": { +"description": "Environment variable value as a JSON encoded string.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2ExfilResource": { +"description": "Resource where data was exfiltrated from or exfiltrated to.", +"id": "GoogleCloudSecuritycenterV2ExfilResource", +"properties": { +"components": { +"description": "Subcomponents of the asset that was exfiltrated, like URIs used during exfiltration, table names, databases, and filenames. For example, multiple tables might have been exfiltrated from the same Cloud SQL instance, or multiple files might have been exfiltrated from the same Cloud Storage bucket.", +"items": { +"type": "string" +}, +"type": "array" +}, +"name": { +"description": "The resource's [full resource name](https://cloud.google.com/apis/design/resource_names#full_resource_name).", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2Exfiltration": { +"description": "Exfiltration represents a data exfiltration attempt from one or more sources to one or more targets. The `sources` attribute lists the sources of the exfiltrated data. The `targets` attribute lists the destinations the data was copied to.", +"id": "GoogleCloudSecuritycenterV2Exfiltration", +"properties": { +"sources": { +"description": "If there are multiple sources, then the data is considered \"joined\" between them. For instance, BigQuery can join multiple tables, and each table would be considered a source.", +"items": { +"$ref": "GoogleCloudSecuritycenterV2ExfilResource" +}, +"type": "array" +}, +"targets": { +"description": "If there are multiple targets, each target would get a complete copy of the \"joined\" source data.", +"items": { +"$ref": "GoogleCloudSecuritycenterV2ExfilResource" +}, +"type": "array" +}, +"totalExfiltratedBytes": { +"description": "Total exfiltrated bytes processed for the entire job.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2ExternalExposure": { +"description": "Details about the externally exposed resource associated with the finding.", +"id": "GoogleCloudSecuritycenterV2ExternalExposure", +"properties": { +"backendService": { +"description": "The full resource name of load balancer backend service, for example, \"//compute.googleapis.com/projects/{project-id}/global/backendServices/{name}\".", +"type": "string" +}, +"exposedEndpoint": { +"description": "The resource which is running the exposed service, for example, \"//compute.googleapis.com/projects/{project-id}/zones/{zone}/instances/{instance}.\u201d", +"type": "string" +}, +"exposedService": { +"description": "The name and version of the service, for example, \"Jupyter Notebook 6.14.0\".", +"type": "string" +}, +"forwardingRule": { +"description": "The full resource name of the forwarding rule, for example, \"//compute.googleapis.com/projects/{project-id}/global/forwardingRules/{forwarding-rule-name}\".", +"type": "string" +}, +"instanceGroup": { +"description": "The full resource name of the instance group, for example, \"//compute.googleapis.com/projects/{project-id}/global/instanceGroups/{name}\".", +"type": "string" +}, +"loadBalancerFirewallPolicy": { +"description": "The full resource name of the load balancer firewall policy, for example, \"//compute.googleapis.com/projects/{project-id}/global/firewallPolicies/{policy-name}\".", +"type": "string" +}, +"networkEndpointGroup": { +"description": "The full resource name of the network endpoint group, for example, \"//compute.googleapis.com/projects/{project-id}/global/networkEndpointGroups/{name}\".", +"type": "string" +}, +"privateIpAddress": { +"description": "Private IP address of the exposed endpoint.", +"type": "string" +}, +"privatePort": { +"description": "Port number associated with private IP address.", +"type": "string" +}, +"publicIpAddress": { +"description": "Public IP address of the exposed endpoint.", +"type": "string" +}, +"publicPort": { +"description": "Public port number of the exposed endpoint.", +"type": "string" +}, +"serviceFirewallPolicy": { +"description": "The full resource name of the firewall policy of the exposed service, for example, \"//compute.googleapis.com/projects/{project-id}/global/firewallPolicies/{policy-name}\".", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2ExternalSystem": { +"description": "Representation of third party SIEM/SOAR fields within SCC.", +"id": "GoogleCloudSecuritycenterV2ExternalSystem", +"properties": { +"assignees": { +"description": "References primary/secondary etc assignees in the external system.", +"items": { +"type": "string" +}, +"type": "array" +}, +"caseCloseTime": { +"description": "The time when the case was closed, as reported by the external system.", +"format": "google-datetime", +"type": "string" +}, +"caseCreateTime": { +"description": "The time when the case was created, as reported by the external system.", +"format": "google-datetime", +"type": "string" +}, +"casePriority": { +"description": "The priority of the finding's corresponding case in the external system.", +"type": "string" +}, +"caseSla": { +"description": "The SLA of the finding's corresponding case in the external system.", +"format": "google-datetime", +"type": "string" +}, +"caseUri": { +"description": "The link to the finding's corresponding case in the external system.", +"type": "string" +}, +"externalSystemUpdateTime": { +"description": "The time when the case was last updated, as reported by the external system.", +"format": "google-datetime", +"type": "string" +}, +"externalUid": { +"description": "The identifier that's used to track the finding's corresponding case in the external system.", +"type": "string" +}, +"name": { +"description": "Full resource name of the external system. The following list shows some examples: + `organizations/1234/sources/5678/findings/123456/externalSystems/jira` + `organizations/1234/sources/5678/locations/us/findings/123456/externalSystems/jira` + `folders/1234/sources/5678/findings/123456/externalSystems/jira` + `folders/1234/sources/5678/locations/us/findings/123456/externalSystems/jira` + `projects/1234/sources/5678/findings/123456/externalSystems/jira` + `projects/1234/sources/5678/locations/us/findings/123456/externalSystems/jira`", +"type": "string" +}, +"status": { +"description": "The most recent status of the finding's corresponding case, as reported by the external system.", +"type": "string" +}, +"ticketInfo": { +"$ref": "GoogleCloudSecuritycenterV2TicketInfo", +"description": "Information about the ticket, if any, that is being used to track the resolution of the issue that is identified by this finding." +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2File": { +"description": "File information about the related binary/library used by an executable, or the script used by a script interpreter", +"id": "GoogleCloudSecuritycenterV2File", +"properties": { +"contents": { +"description": "Prefix of the file contents as a JSON-encoded string.", +"type": "string" +}, +"diskPath": { +"$ref": "GoogleCloudSecuritycenterV2DiskPath", +"description": "Path of the file in terms of underlying disk/partition identifiers." +}, +"fileLoadState": { +"description": "The load state of the file.", +"enum": [ +"FILE_LOAD_STATE_UNSPECIFIED", +"LOADED_BY_PROCESS", +"NOT_LOADED_BY_PROCESS" +], +"enumDescriptions": [ +"The file state is unspecified.", +"The file is being used by an active process at the time of scanning.", +"The file is not being used by any active process at the time of scanning." +], +"type": "string" +}, +"hashedSize": { +"description": "The length in bytes of the file prefix that was hashed. If hashed_size == size, any hashes reported represent the entire file.", +"format": "int64", +"type": "string" +}, +"operations": { +"description": "Operation(s) performed on a file.", +"items": { +"$ref": "GoogleCloudSecuritycenterV2FileOperation" +}, +"type": "array" +}, +"partiallyHashed": { +"description": "True when the hash covers only a prefix of the file.", +"type": "boolean" +}, +"path": { +"description": "Absolute path of the file as a JSON encoded string.", +"type": "string" +}, +"sha256": { +"description": "SHA256 hash of the first hashed_size bytes of the file encoded as a hex string. If hashed_size == size, sha256 represents the SHA256 hash of the entire file.", +"type": "string" +}, +"size": { +"description": "Size of the file in bytes.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2FileOperation": { +"description": "Operation(s) performed on a file.", +"id": "GoogleCloudSecuritycenterV2FileOperation", +"properties": { +"type": { +"description": "The type of the operation", +"enum": [ +"OPERATION_TYPE_UNSPECIFIED", +"OPEN", +"READ", +"RENAME", +"WRITE", +"EXECUTE" +], +"enumDescriptions": [ +"The operation is unspecified.", +"Represents an open operation.", +"Represents a read operation.", +"Represents a rename operation.", +"Represents a write operation.", +"Represents an execute operation." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2Finding": { +"description": "Security Command Center finding. A finding is a record of assessment data like security, risk, health, or privacy, that is ingested into Security Command Center for presentation, notification, analysis, policy testing, and enforcement. For example, a cross-site scripting (XSS) vulnerability in an App Engine application is a finding.", +"id": "GoogleCloudSecuritycenterV2Finding", +"properties": { +"access": { +"$ref": "GoogleCloudSecuritycenterV2Access", +"description": "Access details associated with the finding, such as more information on the caller, which method was accessed, and from where." +}, +"affectedResources": { +"$ref": "GoogleCloudSecuritycenterV2AffectedResources", +"description": "AffectedResources associated with the finding." +}, +"aiModel": { +"$ref": "GoogleCloudSecuritycenterV2AiModel", +"description": "The AI model associated with the finding." +}, +"application": { +"$ref": "GoogleCloudSecuritycenterV2Application", +"description": "Represents an application associated with the finding." +}, +"artifactGuardPolicies": { +"$ref": "GoogleCloudSecuritycenterV2ArtifactGuardPolicies", +"description": "ArtifactGuardPolicies associated with the finding." +}, +"attackExposure": { +"$ref": "GoogleCloudSecuritycenterV2AttackExposure", +"description": "The results of an attack path simulation relevant to this finding." +}, +"backupDisasterRecovery": { +"$ref": "GoogleCloudSecuritycenterV2BackupDisasterRecovery", +"description": "Fields related to Backup and DR findings." +}, +"canonicalName": { +"description": "Output only. The canonical name of the finding. The following list shows some examples: + `organizations/{organization_id}/sources/{source_id}/locations/{location_id}/findings/{finding_id}` + `folders/{folder_id}/sources/{source_id}/locations/{location_id}/findings/{finding_id}` + `projects/{project_id}/sources/{source_id}/locations/{location_id}/findings/{finding_id}` The prefix is the closest CRM ancestor of the resource associated with the finding.", +"readOnly": true, +"type": "string" +}, +"category": { +"description": "Immutable. The additional taxonomy group within findings from a given source. Example: \"XSS_FLASH_INJECTION\"", +"type": "string" +}, +"chokepoint": { +"$ref": "GoogleCloudSecuritycenterV2Chokepoint", +"description": "Contains details about a chokepoint, which is a resource or resource group where high-risk attack paths converge, based on [attack path simulations] (https://cloud.google.com/security-command-center/docs/attack-exposure-learn#attack_path_simulations). This field cannot be updated. Its value is ignored in all update requests." +}, +"cloudArmor": { +"$ref": "GoogleCloudSecuritycenterV2CloudArmor", +"description": "Fields related to Cloud Armor findings." +}, +"cloudDlpDataProfile": { +"$ref": "GoogleCloudSecuritycenterV2CloudDlpDataProfile", +"description": "Cloud DLP data profile that is associated with the finding." +}, +"cloudDlpInspection": { +"$ref": "GoogleCloudSecuritycenterV2CloudDlpInspection", +"description": "Cloud Data Loss Prevention (Cloud DLP) inspection results that are associated with the finding." +}, +"complianceDetails": { +"$ref": "GoogleCloudSecuritycenterV2ComplianceDetails", +"description": "Details about the compliance implications of the finding." +}, +"compliances": { +"description": "Contains compliance information for security standards associated to the finding.", +"items": { +"$ref": "GoogleCloudSecuritycenterV2Compliance" +}, +"type": "array" +}, +"connections": { +"description": "Contains information about the IP connection associated with the finding.", +"items": { +"$ref": "GoogleCloudSecuritycenterV2Connection" +}, +"type": "array" +}, +"contacts": { +"additionalProperties": { +"$ref": "GoogleCloudSecuritycenterV2ContactDetails" +}, +"description": "Output only. Map containing the points of contact for the given finding. The key represents the type of contact, while the value contains a list of all the contacts that pertain. Please refer to: https://cloud.google.com/resource-manager/docs/managing-notification-contacts#notification-categories { \"security\": { \"contacts\": [ { \"email\": \"person1@company.com\" }, { \"email\": \"person2@company.com\" } ] } }", +"readOnly": true, +"type": "object" +}, +"containers": { +"description": "Containers associated with the finding. This field provides information for both Kubernetes and non-Kubernetes containers.", +"items": { +"$ref": "GoogleCloudSecuritycenterV2Container" +}, +"type": "array" +}, +"createTime": { +"description": "Output only. The time at which the finding was created in Security Command Center.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"cryptoKeyName": { +"description": "Output only. The name of the Cloud KMS key used to encrypt this finding, if any.", +"readOnly": true, +"type": "string" +}, +"dataAccessEvents": { +"description": "Data access events associated with the finding.", +"items": { +"$ref": "GoogleCloudSecuritycenterV2DataAccessEvent" +}, +"type": "array" +}, +"dataFlowEvents": { +"description": "Data flow events associated with the finding.", +"items": { +"$ref": "GoogleCloudSecuritycenterV2DataFlowEvent" +}, +"type": "array" +}, +"dataRetentionDeletionEvents": { +"description": "Data retention deletion events associated with the finding.", +"items": { +"$ref": "GoogleCloudSecuritycenterV2DataRetentionDeletionEvent" +}, +"type": "array" +}, +"database": { +"$ref": "GoogleCloudSecuritycenterV2Database", +"description": "Database associated with the finding." +}, +"description": { +"description": "Contains more details about the finding.", +"type": "string" +}, +"disk": { +"$ref": "GoogleCloudSecuritycenterV2Disk", +"description": "Disk associated with the finding." +}, +"eventTime": { +"description": "The time the finding was first detected. If an existing finding is updated, then this is the time the update occurred. For example, if the finding represents an open firewall, this property captures the time the detector believes the firewall became open. The accuracy is determined by the detector. If the finding is later resolved, then this time reflects when the finding was resolved. This must not be set to a value greater than the current timestamp.", +"format": "google-datetime", +"type": "string" +}, +"exfiltration": { +"$ref": "GoogleCloudSecuritycenterV2Exfiltration", +"description": "Represents exfiltrations associated with the finding." +}, +"externalExposure": { +"$ref": "GoogleCloudSecuritycenterV2ExternalExposure", +"description": "External exposure associated with the finding." +}, +"externalSystems": { +"additionalProperties": { +"$ref": "GoogleCloudSecuritycenterV2ExternalSystem" +}, +"description": "Output only. Third party SIEM/SOAR fields within SCC, contains external system information and external system finding fields.", +"readOnly": true, +"type": "object" +}, +"externalUri": { +"description": "The URI that, if available, points to a web page outside of Security Command Center where additional information about the finding can be found. This field is guaranteed to be either empty or a well formed URL.", +"type": "string" +}, +"files": { +"description": "File associated with the finding.", +"items": { +"$ref": "GoogleCloudSecuritycenterV2File" +}, +"type": "array" +}, +"findingClass": { +"description": "The class of the finding.", +"enum": [ +"FINDING_CLASS_UNSPECIFIED", +"THREAT", +"VULNERABILITY", +"MISCONFIGURATION", +"OBSERVATION", +"SCC_ERROR", +"POSTURE_VIOLATION", +"TOXIC_COMBINATION", +"SENSITIVE_DATA_RISK", +"CHOKEPOINT", +"EXTERNAL_EXPOSURE" +], +"enumDescriptions": [ +"Unspecified finding class.", +"Describes unwanted or malicious activity.", +"Describes a potential weakness in software that increases risk to Confidentiality & Integrity & Availability.", +"Describes a potential weakness in cloud resource/asset configuration that increases risk.", +"Describes a security observation that is for informational purposes.", +"Describes an error that prevents some SCC functionality.", +"Describes a potential security risk due to a change in the security posture.", +"Describes a combination of security issues that represent a more severe security problem when taken together.", +"Describes a potential security risk to data assets that contain sensitive data.", +"Describes a resource or resource group where high risk attack paths converge, based on attack path simulations (APS).", +"Describes a potential security risk due to the resource being exposed to the internet." +], +"type": "string" +}, +"groupMemberships": { +"description": "Contains details about groups of which this finding is a member. A group is a collection of findings that are related in some way. This field cannot be updated. Its value is ignored in all update requests.", +"items": { +"$ref": "GoogleCloudSecuritycenterV2GroupMembership" +}, +"type": "array" +}, +"iamBindings": { +"description": "Represents IAM bindings associated with the finding.", +"items": { +"$ref": "GoogleCloudSecuritycenterV2IamBinding" +}, +"type": "array" +}, +"indicator": { +"$ref": "GoogleCloudSecuritycenterV2Indicator", +"description": "Represents what's commonly known as an *indicator of compromise* (IoC) in computer forensics. This is an artifact observed on a network or in an operating system that, with high confidence, indicates a computer intrusion. For more information, see [Indicator of compromise](https://en.wikipedia.org/wiki/Indicator_of_compromise)." +}, +"ipRules": { +"$ref": "GoogleCloudSecuritycenterV2IpRules", +"description": "IP rules associated with the finding." +}, +"job": { +"$ref": "GoogleCloudSecuritycenterV2Job", +"description": "Job associated with the finding." +}, +"kernelRootkit": { +"$ref": "GoogleCloudSecuritycenterV2KernelRootkit", +"description": "Signature of the kernel rootkit." +}, +"kubernetes": { +"$ref": "GoogleCloudSecuritycenterV2Kubernetes", +"description": "Kubernetes resources associated with the finding." +}, +"loadBalancers": { +"description": "The load balancers associated with the finding.", +"items": { +"$ref": "GoogleCloudSecuritycenterV2LoadBalancer" +}, +"type": "array" +}, +"logEntries": { +"description": "Log entries that are relevant to the finding.", +"items": { +"$ref": "GoogleCloudSecuritycenterV2LogEntry" +}, +"type": "array" +}, +"mitreAttack": { +"$ref": "GoogleCloudSecuritycenterV2MitreAttack", +"description": "MITRE ATT&CK tactics and techniques related to this finding. See: https://attack.mitre.org" +}, +"moduleName": { +"description": "Unique identifier of the module which generated the finding. Example: folders/598186756061/securityHealthAnalyticsSettings/customModules/56799441161885", +"type": "string" +}, +"mute": { +"description": "Indicates the mute state of a finding (either muted, unmuted or undefined). Unlike other attributes of a finding, a finding provider shouldn't set the value of mute.", +"enum": [ +"MUTE_UNSPECIFIED", +"MUTED", +"UNMUTED", +"UNDEFINED" +], +"enumDescriptions": [ +"Unspecified.", +"Finding has been muted.", +"Finding has been unmuted.", +"Finding has never been muted/unmuted." +], +"type": "string" +}, +"muteInfo": { +"$ref": "GoogleCloudSecuritycenterV2MuteInfo", +"description": "Output only. The mute information regarding this finding.", +"readOnly": true +}, +"muteInitiator": { +"description": "Records additional information about the mute operation, for example, the [mute configuration](https://cloud.google.com/security-command-center/docs/how-to-mute-findings) that muted the finding and the user who muted the finding.", +"type": "string" +}, +"muteUpdateTime": { +"description": "Output only. The most recent time this finding was muted or unmuted.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"name": { +"description": "Identifier. The [relative resource name](https://cloud.google.com/apis/design/resource_names#relative_resource_name) of the finding. The following list shows some examples: + `organizations/{organization_id}/sources/{source_id}/findings/{finding_id}` + `organizations/{organization_id}/sources/{source_id}/locations/{location_id}/findings/{finding_id}` + `folders/{folder_id}/sources/{source_id}/findings/{finding_id}` + `folders/{folder_id}/sources/{source_id}/locations/{location_id}/findings/{finding_id}` + `projects/{project_id}/sources/{source_id}/findings/{finding_id}` + `projects/{project_id}/sources/{source_id}/locations/{location_id}/findings/{finding_id}`", +"type": "string" +}, +"networks": { +"description": "Represents the VPC networks that the resource is attached to.", +"items": { +"$ref": "GoogleCloudSecuritycenterV2Network" +}, +"type": "array" +}, +"nextSteps": { +"description": "Steps to address the finding.", +"type": "string" +}, +"notebook": { +"$ref": "GoogleCloudSecuritycenterV2Notebook", +"description": "Notebook associated with the finding." +}, +"orgPolicies": { +"description": "Contains information about the org policies associated with the finding.", +"items": { +"$ref": "GoogleCloudSecuritycenterV2OrgPolicy" +}, +"type": "array" +}, +"parent": { +"description": "The relative resource name of the source and location the finding belongs to. See: https://cloud.google.com/apis/design/resource_names#relative_resource_name This field is immutable after creation time. The following list shows some examples: + `organizations/{organization_id}/sources/{source_id}` + `folders/{folders_id}/sources/{source_id}` + `projects/{projects_id}/sources/{source_id}` + `organizations/{organization_id}/sources/{source_id}/locations/{location_id}` + `folders/{folders_id}/sources/{source_id}/locations/{location_id}` + `projects/{projects_id}/sources/{source_id}/locations/{location_id}`", +"type": "string" +}, +"parentDisplayName": { +"description": "Output only. The human readable display name of the finding source such as \"Event Threat Detection\" or \"Security Health Analytics\".", +"readOnly": true, +"type": "string" +}, +"processes": { +"description": "Represents operating system processes associated with the Finding.", +"items": { +"$ref": "GoogleCloudSecuritycenterV2Process" +}, +"type": "array" +}, +"resourceName": { +"description": "Immutable. For findings on Google Cloud resources, the full resource name of the Google Cloud resource this finding is for. See: https://cloud.google.com/apis/design/resource_names#full_resource_name When the finding is for a non-Google Cloud resource, the resourceName can be a customer or partner defined string.", +"type": "string" +}, +"secret": { +"$ref": "GoogleCloudSecuritycenterV2Secret", +"description": "Secret associated with the finding." +}, +"securityMarks": { +"$ref": "GoogleCloudSecuritycenterV2SecurityMarks", +"description": "Output only. User specified security marks. These marks are entirely managed by the user and come from the SecurityMarks resource that belongs to the finding.", +"readOnly": true +}, +"securityPosture": { +"$ref": "GoogleCloudSecuritycenterV2SecurityPosture", +"description": "The security posture associated with the finding." +}, +"severity": { +"description": "The severity of the finding. This field is managed by the source that writes the finding.", +"enum": [ +"SEVERITY_UNSPECIFIED", +"CRITICAL", +"HIGH", +"MEDIUM", +"LOW" +], +"enumDescriptions": [ +"This value is used for findings when a source doesn't write a severity value.", +"Vulnerability: A critical vulnerability is easily discoverable by an external actor, exploitable, and results in the direct ability to execute arbitrary code, exfiltrate data, and otherwise gain additional access and privileges to cloud resources and workloads. Examples include publicly accessible unprotected user data and public SSH access with weak or no passwords. Threat: Indicates a threat that is able to access, modify, or delete data or execute unauthorized code within existing resources.", +"Vulnerability: A high risk vulnerability can be easily discovered and exploited in combination with other vulnerabilities in order to gain direct access and the ability to execute arbitrary code, exfiltrate data, and otherwise gain additional access and privileges to cloud resources and workloads. An example is a database with weak or no passwords that is only accessible internally. This database could easily be compromised by an actor that had access to the internal network. Threat: Indicates a threat that is able to create new computational resources in an environment but not able to access data or execute code in existing resources.", +"Vulnerability: A medium risk vulnerability could be used by an actor to gain access to resources or privileges that enable them to eventually (through multiple steps or a complex exploit) gain access and the ability to execute arbitrary code or exfiltrate data. An example is a service account with access to more projects than it should have. If an actor gains access to the service account, they could potentially use that access to manipulate a project the service account was not intended to. Threat: Indicates a threat that is able to cause operational impact but may not access data or execute unauthorized code.", +"Vulnerability: A low risk vulnerability hampers a security organization's ability to detect vulnerabilities or active threats in their deployment, or prevents the root cause investigation of security issues. An example is monitoring and logs being disabled for resource configurations and access. Threat: Indicates a threat that has obtained minimal access to an environment but is not able to access data, execute code, or create resources." +], +"type": "string" +}, +"sourceProperties": { +"additionalProperties": { +"type": "any" +}, +"description": "Source specific properties. These properties are managed by the source that writes the finding. The key names in the source_properties map must be between 1 and 255 characters, and must start with a letter and contain alphanumeric characters or underscores only.", +"type": "object" +}, +"state": { +"description": "Output only. The state of the finding.", +"enum": [ +"STATE_UNSPECIFIED", +"ACTIVE", +"INACTIVE" +], +"enumDescriptions": [ +"Unspecified state.", +"The finding requires attention and has not been addressed yet.", +"The finding has been fixed, triaged as a non-issue or otherwise addressed and is no longer active." +], +"readOnly": true, +"type": "string" +}, +"toxicCombination": { +"$ref": "GoogleCloudSecuritycenterV2ToxicCombination", +"description": "Contains details about a group of security issues that, when the issues occur together, represent a greater risk than when the issues occur independently. A group of such issues is referred to as a toxic combination. This field cannot be updated. Its value is ignored in all update requests." +}, +"vertexAi": { +"$ref": "GoogleCloudSecuritycenterV2VertexAi", +"description": "VertexAi associated with the finding." +}, +"vulnerability": { +"$ref": "GoogleCloudSecuritycenterV2Vulnerability", +"description": "Represents vulnerability-specific fields like CVE and CVSS scores. CVE stands for Common Vulnerabilities and Exposures (https://cve.mitre.org/about/)" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2Folder": { +"description": "Message that contains the resource name and display name of a folder resource.", +"id": "GoogleCloudSecuritycenterV2Folder", +"properties": { +"resourceFolder": { +"description": "Full resource name of this folder. See: https://cloud.google.com/apis/design/resource_names#full_resource_name", +"type": "string" +}, +"resourceFolderDisplayName": { +"description": "The user defined display name for this folder.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2Framework": { +"description": "Compliance framework associated with the finding.", +"id": "GoogleCloudSecuritycenterV2Framework", +"properties": { +"category": { +"description": "Category of the framework associated with the finding. E.g. Security Benchmark, or Assured Workloads", +"items": { +"enum": [ +"FRAMEWORK_CATEGORY_UNSPECIFIED", +"SECURITY_BENCHMARKS", +"ASSURED_WORKLOADS", +"DATA_SECURITY", +"GOOGLE_BEST_PRACTICES", +"CUSTOM_FRAMEWORK" +], +"enumDescriptions": [ +"Default value. This value is unused.", +"Security Benchmarks framework", +"Assured Workloads framework", +"Data Security framework", +"Google Best Practices framework", +"A user-created framework" +], +"type": "string" +}, +"type": "array" +}, +"controls": { +"description": "The controls associated with the framework.", +"items": { +"$ref": "GoogleCloudSecuritycenterV2Control" +}, +"type": "array" +}, +"displayName": { +"description": "Display name of the framework. For a standard framework, this will look like e.g. PCI DSS 3.2.1, whereas for a custom framework it can be a user defined string like MyFramework", +"type": "string" +}, +"name": { +"description": "Name of the framework associated with the finding", +"type": "string" +}, +"type": { +"description": "Type of the framework associated with the finding, to specify whether the framework is built-in (pre-defined and immutable) or a custom framework defined by the customer (equivalent to security posture)", +"enum": [ +"FRAMEWORK_TYPE_UNSPECIFIED", +"FRAMEWORK_TYPE_BUILT_IN", +"FRAMEWORK_TYPE_CUSTOM" +], +"enumDescriptions": [ +"Default value. This value is unused.", +"The framework is a built-in framework if it is created and managed by GCP.", +"The framework is a custom framework if it is created and managed by the user." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2Geolocation": { +"description": "Represents a geographical location for a given access.", +"id": "GoogleCloudSecuritycenterV2Geolocation", +"properties": { +"regionCode": { +"description": "A CLDR.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2GroupMembership": { +"description": "Contains details about groups of which this finding is a member. A group is a collection of findings that are related in some way.", +"id": "GoogleCloudSecuritycenterV2GroupMembership", +"properties": { +"groupId": { +"description": "ID of the group.", +"type": "string" +}, +"groupType": { +"description": "Type of group.", +"enum": [ +"GROUP_TYPE_UNSPECIFIED", +"GROUP_TYPE_TOXIC_COMBINATION", +"GROUP_TYPE_CHOKEPOINT" +], +"enumDescriptions": [ +"Default value.", +"Group represents a toxic combination.", +"Group represents a chokepoint." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2IamBinding": { +"description": "Represents a particular IAM binding, which captures a member's role addition, removal, or state.", +"id": "GoogleCloudSecuritycenterV2IamBinding", +"properties": { +"action": { +"description": "The action that was performed on a Binding.", +"enum": [ +"ACTION_UNSPECIFIED", +"ADD", +"REMOVE" +], +"enumDescriptions": [ +"Unspecified.", +"Addition of a Binding.", +"Removal of a Binding." +], +"type": "string" +}, +"member": { +"description": "A single identity requesting access for a Cloud Platform resource, for example, \"foo@google.com\".", +"type": "string" +}, +"role": { +"description": "Role that is assigned to \"members\". For example, \"roles/viewer\", \"roles/editor\", or \"roles/owner\".", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2Indicator": { +"description": "Represents what's commonly known as an _indicator of compromise_ (IoC) in computer forensics. This is an artifact observed on a network or in an operating system that, with high confidence, indicates a computer intrusion. For more information, see [Indicator of compromise](https://en.wikipedia.org/wiki/Indicator_of_compromise).", +"id": "GoogleCloudSecuritycenterV2Indicator", +"properties": { +"domains": { +"description": "List of domains associated to the Finding.", +"items": { +"type": "string" +}, +"type": "array" +}, +"ipAddresses": { +"description": "The list of IP addresses that are associated with the finding.", +"items": { +"type": "string" +}, +"type": "array" +}, +"signatures": { +"description": "The list of matched signatures indicating that the given process is present in the environment.", +"items": { +"$ref": "GoogleCloudSecuritycenterV2ProcessSignature" +}, +"type": "array" +}, +"uris": { +"description": "The list of URIs associated to the Findings.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2InfoType": { +"description": "Type of information detected by the API.", +"id": "GoogleCloudSecuritycenterV2InfoType", +"properties": { +"name": { +"description": "Name of the information type. Either a name of your choosing when creating a CustomInfoType, or one of the names listed at https://cloud.google.com/sensitive-data-protection/docs/infotypes-reference when specifying a built-in type. When sending Cloud DLP results to Data Catalog, infoType names should conform to the pattern `[A-Za-z0-9$_-]{1,64}`.", +"type": "string" +}, +"sensitivityScore": { +"$ref": "GoogleCloudSecuritycenterV2SensitivityScore", +"description": "Optional custom sensitivity for this InfoType. This only applies to data profiling." +}, +"version": { +"description": "Optional version name for this InfoType.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2IpRule": { +"description": "IP rule information.", +"id": "GoogleCloudSecuritycenterV2IpRule", +"properties": { +"portRanges": { +"description": "Optional. An optional list of ports to which this rule applies. This field is only applicable for the UDP or (S)TCP protocols. Each entry must be either an integer or a range including a min and max port number.", +"items": { +"$ref": "GoogleCloudSecuritycenterV2PortRange" +}, +"type": "array" +}, +"protocol": { +"description": "The IP protocol this rule applies to. This value can either be one of the following well known protocol strings (TCP, UDP, ICMP, ESP, AH, IPIP, SCTP) or a string representation of the integer value.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2IpRules": { +"description": "IP rules associated with the finding.", +"id": "GoogleCloudSecuritycenterV2IpRules", +"properties": { +"allowed": { +"$ref": "GoogleCloudSecuritycenterV2Allowed", +"description": "Tuple with allowed rules." +}, +"denied": { +"$ref": "GoogleCloudSecuritycenterV2Denied", +"description": "Tuple with denied rules." +}, +"destinationIpRanges": { +"description": "If destination IP ranges are specified, the firewall rule applies only to traffic that has a destination IP address in these ranges. These ranges must be expressed in CIDR format. Only supports IPv4.", +"items": { +"type": "string" +}, +"type": "array" +}, +"direction": { +"description": "The direction that the rule is applicable to, one of ingress or egress.", +"enum": [ +"DIRECTION_UNSPECIFIED", +"INGRESS", +"EGRESS" +], +"enumDescriptions": [ +"Unspecified direction value.", +"Ingress direction value.", +"Egress direction value." +], +"type": "string" +}, +"exposedServices": { +"description": "Name of the network protocol service, such as FTP, that is exposed by the open port. Follows the naming convention available at: https://www.iana.org/assignments/service-names-port-numbers/service-names-port-numbers.xhtml.", +"items": { +"type": "string" +}, +"type": "array" +}, +"sourceIpRanges": { +"description": "If source IP ranges are specified, the firewall rule applies only to traffic that has a source IP address in these ranges. These ranges must be expressed in CIDR format. Only supports IPv4.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2Issue": { +"description": "Security Command Center Issue.", +"id": "GoogleCloudSecuritycenterV2Issue", +"properties": { +"createTime": { +"description": "Output only. The time the issue was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"description": { +"description": "The description of the issue in Markdown format.", +"type": "string" +}, +"detection": { +"description": "The finding category or rule name that generated the issue.", +"type": "string" +}, +"domains": { +"description": "The domains of the issue.", +"items": { +"$ref": "GoogleCloudSecuritycenterV2IssueDomain" +}, +"type": "array" +}, +"exposureScore": { +"description": "The exposure score of the issue.", +"format": "double", +"type": "number" +}, +"issueType": { +"description": "The type of the issue.", +"enum": [ +"ISSUE_TYPE_UNSPECIFIED", +"CHOKEPOINT", +"TOXIC_COMBINATION", +"INSIGHT" +], +"enumDescriptions": [ +"Unspecified issue type.", +"Chokepoint issue type.", +"Toxic combination issue type.", +"Insight issue type." +], +"type": "string" +}, +"lastObservationTime": { +"description": "The time the issue was last observed.", +"format": "google-datetime", +"type": "string" +}, +"mute": { +"$ref": "GoogleCloudSecuritycenterV2IssueMute", +"description": "The mute information of the issue." +}, +"name": { +"description": "Identifier. The name of the issue. Format: organizations/{organization}/locations/{location}/issues/{issue}", +"type": "string" +}, +"primaryResource": { +"$ref": "GoogleCloudSecuritycenterV2IssueResource", +"description": "The primary resource associated with the issue." +}, +"relatedFindings": { +"description": "The findings related to the issue.", +"items": { +"$ref": "GoogleCloudSecuritycenterV2IssueFinding" +}, +"type": "array" +}, +"remediations": { +"description": "Approaches to remediate the issue in Markdown format.", +"items": { +"type": "string" +}, +"type": "array" +}, +"secondaryResources": { +"description": "Additional resources associated with the issue.", +"items": { +"$ref": "GoogleCloudSecuritycenterV2IssueResource" +}, +"type": "array" +}, +"securityContexts": { +"description": "The security context of the issue.", +"items": { +"$ref": "GoogleCloudSecuritycenterV2IssueSecurityContext" +}, +"type": "array" +}, +"severity": { +"description": "The severity of the issue.", +"enum": [ +"SEVERITY_UNSPECIFIED", +"CRITICAL", +"HIGH", +"MEDIUM", +"LOW" +], +"enumDescriptions": [ +"Unspecified severity.", +"Critical severity.", +"High severity.", +"Medium severity.", +"Low severity." +], +"type": "string" +}, +"state": { +"description": "Output only. The state of the issue.", +"enum": [ +"STATE_UNSPECIFIED", +"ACTIVE", +"INACTIVE" +], +"enumDescriptions": [ +"Unspecified state.", +"Active state.", +"Inactive state." +], +"readOnly": true, +"type": "string" +}, +"updateTime": { +"description": "Output only. The time the issue was last updated.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2IssueDomain": { +"description": "The domains of an issue.", +"id": "GoogleCloudSecuritycenterV2IssueDomain", +"properties": { +"domainCategory": { +"description": "The domain category of the issue.", +"enum": [ +"DOMAIN_CATEGORY_UNSPECIFIED", +"AI", +"CODE", +"CONTAINER", +"DATA", +"IDENTITY_AND_ACCESS", +"VULNERABILITY", +"THREAT" +], +"enumDescriptions": [ +"Unspecified domain category.", +"Issues in the AI domain.", +"Issues in the code domain.", +"Issues in the container domain.", +"Issues in the data domain.", +"Issues in the identity and access domain.", +"Issues in the vulnerability domain.", +"Issues in the threat domain." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2IssueFinding": { +"description": "Finding related to an issue.", +"id": "GoogleCloudSecuritycenterV2IssueFinding", +"properties": { +"cve": { +"$ref": "GoogleCloudSecuritycenterV2IssueFindingCve", +"description": "The CVE of the finding." +}, +"name": { +"description": "The name of the finding.", +"type": "string" +}, +"securityBulletin": { +"$ref": "GoogleCloudSecuritycenterV2IssueFindingSecurityBulletin", +"description": "The security bulletin of the finding." +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2IssueFindingCve": { +"description": "The CVE of the finding.", +"id": "GoogleCloudSecuritycenterV2IssueFindingCve", +"properties": { +"name": { +"description": "The CVE name.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2IssueFindingSecurityBulletin": { +"description": "The security bulletin of the finding.", +"id": "GoogleCloudSecuritycenterV2IssueFindingSecurityBulletin", +"properties": { +"name": { +"description": "The security bulletin name.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2IssueMute": { +"description": "The mute information of the issue.", +"id": "GoogleCloudSecuritycenterV2IssueMute", +"properties": { +"muteInitiator": { +"description": "The email address of the user who last changed the mute state of the issue.", +"type": "string" +}, +"muteReason": { +"description": "The user-provided reason for muting the issue.", +"type": "string" +}, +"muteState": { +"description": "Output only. The mute state of the issue.", +"enum": [ +"MUTE_STATE_UNSPECIFIED", +"NOT_MUTED", +"MUTED" +], +"enumDescriptions": [ +"Unspecified mute state.", +"Not muted.", +"Muted." +], +"readOnly": true, +"type": "string" +}, +"muteUpdateTime": { +"description": "The time the issue was muted.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2IssueResource": { +"description": "A resource associated with the an issue.", +"id": "GoogleCloudSecuritycenterV2IssueResource", +"properties": { +"adcApplication": { +"$ref": "GoogleCloudSecuritycenterV2IssueResourceAdcApplication", +"description": "The ADC application associated with the finding." +}, +"adcApplicationTemplate": { +"$ref": "GoogleCloudSecuritycenterV2IssueResourceAdcApplicationTemplateRevision", +"description": "The ADC template associated with the finding." +}, +"adcSharedTemplate": { +"$ref": "GoogleCloudSecuritycenterV2IssueResourceAdcSharedTemplateRevision", +"description": "The ADC shared template associated with the finding." +}, +"application": { +"$ref": "GoogleCloudSecuritycenterV2IssueResourceApplication", +"description": "The AppHub application associated with the resource, if any. Only populated for the primary resource." +}, +"awsMetadata": { +"$ref": "GoogleCloudSecuritycenterV2IssueResourceAwsMetadata", +"description": "The AWS metadata of the resource associated with the issue. Only populated for AWS resources." +}, +"azureMetadata": { +"$ref": "GoogleCloudSecuritycenterV2IssueResourceAzureMetadata", +"description": "The Azure metadata of the resource associated with the issue. Only populated for Azure resources." +}, +"cloudProvider": { +"description": "The cloud provider of the resource associated with the issue.", +"enum": [ +"CLOUD_PROVIDER_UNSPECIFIED", +"GOOGLE_CLOUD", +"AMAZON_WEB_SERVICES", +"MICROSOFT_AZURE" +], +"enumDescriptions": [ +"Unspecified cloud provider.", +"Google Cloud.", +"Amazon Web Services.", +"Microsoft Azure." +], +"type": "string" +}, +"displayName": { +"description": "The resource-type specific display name of the resource associated with the issue.", +"type": "string" +}, +"googleCloudMetadata": { +"$ref": "GoogleCloudSecuritycenterV2IssueResourceGoogleCloudMetadata", +"description": "The Google Cloud metadata of the resource associated with the issue. Only populated for Google Cloud resources." +}, +"name": { +"description": "The full resource name of the resource associated with the issue.", +"type": "string" +}, +"type": { +"description": "The type of the resource associated with the issue.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2IssueResourceAdcApplication": { +"description": "Represents an ADC application associated with the finding.", +"id": "GoogleCloudSecuritycenterV2IssueResourceAdcApplication", +"properties": { +"attributes": { +"$ref": "GoogleCloudSecuritycenterV2IssueResourceApplicationAttributes", +"description": "Consumer provided attributes for the AppHub application." +}, +"name": { +"description": "The resource name of an ADC Application. Format: projects/{project}/locations/{location}/spaces/{space}/applications/{application}", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2IssueResourceAdcApplicationTemplateRevision": { +"description": "Represents an ADC template associated with the finding.", +"id": "GoogleCloudSecuritycenterV2IssueResourceAdcApplicationTemplateRevision", +"properties": { +"name": { +"description": "The resource name of an ADC Application Template Revision. Format: projects/{project}/locations/{location}/spaces/{space}/applicationTemplates/{application_template}/revisions/{revision}", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2IssueResourceAdcSharedTemplateRevision": { +"description": "Represents an ADC shared template associated with the finding.", +"id": "GoogleCloudSecuritycenterV2IssueResourceAdcSharedTemplateRevision", +"properties": { +"name": { +"description": "The resource name of an ADC Shared Template Revision. Format: projects/{project}/locations/{location}/spaces/{space}/applicationTemplates/{application_template}/revisions/{revision}", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2IssueResourceApplication": { +"description": "The AppHub application associated with the resource, if any.", +"id": "GoogleCloudSecuritycenterV2IssueResourceApplication", +"properties": { +"attributes": { +"$ref": "GoogleCloudSecuritycenterV2IssueResourceApplicationAttributes", +"description": "Consumer provided attributes for the application" +}, +"name": { +"description": "The resource name of an Application. Format: `projects/{host-project-id}/locations/{location}/applications/{application-id}`", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2IssueResourceApplicationAttributes": { +"description": "Consumer provided attributes for the application", +"id": "GoogleCloudSecuritycenterV2IssueResourceApplicationAttributes", +"properties": { +"businessOwners": { +"description": "Business team that ensures user needs are met and value is delivered", +"items": { +"$ref": "GoogleCloudSecuritycenterV2IssueResourceApplicationAttributesContactInfo" +}, +"type": "array" +}, +"criticality": { +"$ref": "GoogleCloudSecuritycenterV2IssueResourceApplicationAttributesCriticality", +"description": "User-defined criticality information." +}, +"developerOwners": { +"description": "Developer team that owns development and coding.", +"items": { +"$ref": "GoogleCloudSecuritycenterV2IssueResourceApplicationAttributesContactInfo" +}, +"type": "array" +}, +"environment": { +"$ref": "GoogleCloudSecuritycenterV2IssueResourceApplicationAttributesEnvironment", +"description": "User-defined environment information." +}, +"operatorOwners": { +"description": "Operator team that ensures runtime and operations.", +"items": { +"$ref": "GoogleCloudSecuritycenterV2IssueResourceApplicationAttributesContactInfo" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2IssueResourceApplicationAttributesContactInfo": { +"description": "Contact information of stakeholders.", +"id": "GoogleCloudSecuritycenterV2IssueResourceApplicationAttributesContactInfo", +"properties": { +"email": { +"description": "Email address of the contacts.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2IssueResourceApplicationAttributesCriticality": { +"description": "Criticality of the Application, Service, or Workload", +"id": "GoogleCloudSecuritycenterV2IssueResourceApplicationAttributesCriticality", +"properties": { +"type": { +"description": "Criticality Type.", +"enum": [ +"CRITICALITY_TYPE_UNSPECIFIED", +"MISSION_CRITICAL", +"HIGH", +"MEDIUM", +"LOW" +], +"enumDescriptions": [ +"Unspecified type.", +"Mission critical service, application or workload.", +"High impact.", +"Medium impact.", +"Low impact." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2IssueResourceApplicationAttributesEnvironment": { +"description": "Environment of the Application, Service, or Workload", +"id": "GoogleCloudSecuritycenterV2IssueResourceApplicationAttributesEnvironment", +"properties": { +"type": { +"description": "Environment Type.", +"enum": [ +"ENVIRONMENT_TYPE_UNSPECIFIED", +"PRODUCTION", +"STAGING", +"TEST", +"DEVELOPMENT" +], +"enumDescriptions": [ +"Unspecified type.", +"Production environment.", +"Staging environment.", +"Test environment.", +"Development environment." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2IssueResourceAwsMetadata": { +"description": "The AWS metadata of a resource associated with an issue.", +"id": "GoogleCloudSecuritycenterV2IssueResourceAwsMetadata", +"properties": { +"account": { +"$ref": "GoogleCloudSecuritycenterV2IssueResourceAwsMetadataAwsAccount", +"description": "The AWS account of the resource associated with the issue." +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2IssueResourceAwsMetadataAwsAccount": { +"description": "The AWS account of the resource associated with the issue.", +"id": "GoogleCloudSecuritycenterV2IssueResourceAwsMetadataAwsAccount", +"properties": { +"id": { +"description": "The AWS account ID of the resource associated with the issue.", +"type": "string" +}, +"name": { +"description": "The AWS account name of the resource associated with the issue.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2IssueResourceAzureMetadata": { +"description": "The Azure metadata of a resource associated with an issue.", +"id": "GoogleCloudSecuritycenterV2IssueResourceAzureMetadata", +"properties": { +"subscription": { +"$ref": "GoogleCloudSecuritycenterV2IssueResourceAzureMetadataAzureSubscription", +"description": "The Azure subscription of the resource associated with the issue." +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2IssueResourceAzureMetadataAzureSubscription": { +"description": "The Azure subscription of the resource associated with the issue.", +"id": "GoogleCloudSecuritycenterV2IssueResourceAzureMetadataAzureSubscription", +"properties": { +"displayName": { +"description": "The Azure subscription display name of the resource associated with the issue.", +"type": "string" +}, +"id": { +"description": "The Azure subscription ID of the resource associated with the issue.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2IssueResourceGoogleCloudMetadata": { +"description": "Google Cloud metadata of a resource associated with an issue.", +"id": "GoogleCloudSecuritycenterV2IssueResourceGoogleCloudMetadata", +"properties": { +"projectId": { +"description": "The project ID that the resource associated with the issue belongs to.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2IssueSecurityContext": { +"description": "Security context associated with an issue.", +"id": "GoogleCloudSecuritycenterV2IssueSecurityContext", +"properties": { +"aggregatedCount": { +"$ref": "GoogleCloudSecuritycenterV2IssueSecurityContextAggregatedCount", +"description": "The aggregated count of the security context." +}, +"context": { +"$ref": "GoogleCloudSecuritycenterV2IssueSecurityContextContext", +"description": "The context of the security context." +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2IssueSecurityContextAggregatedCount": { +"description": "Aggregated count of a security context.", +"id": "GoogleCloudSecuritycenterV2IssueSecurityContextAggregatedCount", +"properties": { +"key": { +"description": "Aggregation key.", +"type": "string" +}, +"value": { +"description": "Aggregation value.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2IssueSecurityContextContext": { +"description": "Context of a security context.", +"id": "GoogleCloudSecuritycenterV2IssueSecurityContextContext", +"properties": { +"type": { +"description": "Context type.", +"type": "string" +}, +"values": { +"description": "Context values.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2Job": { +"description": "Describes a job", +"id": "GoogleCloudSecuritycenterV2Job", +"properties": { +"errorCode": { +"description": "Optional. If the job did not complete successfully, this field describes why.", +"format": "int32", +"type": "integer" +}, +"location": { +"description": "Optional. Gives the location where the job ran, such as `US` or `europe-west1`", +"type": "string" +}, +"name": { +"description": "The fully-qualified name for a job. e.g. `projects//jobs/`", +"type": "string" +}, +"state": { +"description": "Output only. State of the job, such as `RUNNING` or `PENDING`.", +"enum": [ +"JOB_STATE_UNSPECIFIED", +"PENDING", +"RUNNING", +"SUCCEEDED", +"FAILED" +], +"enumDescriptions": [ +"Unspecified represents an unknown state and should not be used.", +"Job is scheduled and pending for run", +"Job in progress", +"Job has completed with success", +"Job has completed but with failure" +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2KernelRootkit": { +"description": "Kernel mode rootkit signatures.", +"id": "GoogleCloudSecuritycenterV2KernelRootkit", +"properties": { +"name": { +"description": "Rootkit name, when available.", +"type": "string" +}, +"unexpectedCodeModification": { +"description": "True if unexpected modifications of kernel code memory are present.", +"type": "boolean" +}, +"unexpectedFtraceHandler": { +"description": "True if `ftrace` points are present with callbacks pointing to regions that are not in the expected kernel or module code range.", +"type": "boolean" +}, +"unexpectedInterruptHandler": { +"description": "True if interrupt handlers that are are not in the expected kernel or module code regions are present.", +"type": "boolean" +}, +"unexpectedKernelCodePages": { +"description": "True if kernel code pages that are not in the expected kernel or module code regions are present.", +"type": "boolean" +}, +"unexpectedKprobeHandler": { +"description": "True if `kprobe` points are present with callbacks pointing to regions that are not in the expected kernel or module code range.", +"type": "boolean" +}, +"unexpectedProcessesInRunqueue": { +"description": "True if unexpected processes in the scheduler run queue are present. Such processes are in the run queue, but not in the process task list.", +"type": "boolean" +}, +"unexpectedReadOnlyDataModification": { +"description": "True if unexpected modifications of kernel read-only data memory are present.", +"type": "boolean" +}, +"unexpectedSystemCallHandler": { +"description": "True if system call handlers that are are not in the expected kernel or module code regions are present.", +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2Kubernetes": { +"description": "Kubernetes-related attributes.", +"id": "GoogleCloudSecuritycenterV2Kubernetes", +"properties": { +"accessReviews": { +"description": "Provides information on any Kubernetes access reviews (privilege checks) relevant to the finding.", +"items": { +"$ref": "GoogleCloudSecuritycenterV2AccessReview" +}, +"type": "array" +}, +"bindings": { +"description": "Provides Kubernetes role binding information for findings that involve [RoleBindings or ClusterRoleBindings](https://cloud.google.com/kubernetes-engine/docs/how-to/role-based-access-control).", +"items": { +"$ref": "GoogleCloudSecuritycenterV2Binding" +}, +"type": "array" +}, +"nodePools": { +"description": "GKE [node pools](https://cloud.google.com/kubernetes-engine/docs/concepts/node-pools) associated with the finding. This field contains node pool information for each node, when it is available.", +"items": { +"$ref": "GoogleCloudSecuritycenterV2NodePool" +}, +"type": "array" +}, +"nodes": { +"description": "Provides Kubernetes [node](https://cloud.google.com/kubernetes-engine/docs/concepts/cluster-architecture#nodes) information.", +"items": { +"$ref": "GoogleCloudSecuritycenterV2Node" +}, +"type": "array" +}, +"objects": { +"description": "Kubernetes objects related to the finding.", +"items": { +"$ref": "GoogleCloudSecuritycenterV2Object" +}, +"type": "array" +}, +"pods": { +"description": "Kubernetes [Pods](https://cloud.google.com/kubernetes-engine/docs/concepts/pod) associated with the finding. This field contains Pod records for each container that is owned by a Pod.", +"items": { +"$ref": "GoogleCloudSecuritycenterV2Pod" +}, +"type": "array" +}, +"roles": { +"description": "Provides Kubernetes role information for findings that involve [Roles or ClusterRoles](https://cloud.google.com/kubernetes-engine/docs/how-to/role-based-access-control).", +"items": { +"$ref": "GoogleCloudSecuritycenterV2Role" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2Label": { +"description": "Represents a generic name-value label. A label has separate name and value fields to support filtering with the `contains()` function. For more information, see [Filtering on array-type fields](https://cloud.google.com/security-command-center/docs/how-to-api-list-findings#array-contains-filtering).", +"id": "GoogleCloudSecuritycenterV2Label", +"properties": { +"name": { +"description": "Name of the label.", +"type": "string" +}, +"value": { +"description": "Value that corresponds to the label's name.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2LoadBalancer": { +"description": "Contains information related to the load balancer associated with the finding.", +"id": "GoogleCloudSecuritycenterV2LoadBalancer", +"properties": { +"name": { +"description": "The name of the load balancer associated with the finding.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2LogEntry": { +"description": "An individual entry in a log.", +"id": "GoogleCloudSecuritycenterV2LogEntry", +"properties": { +"cloudLoggingEntry": { +"$ref": "GoogleCloudSecuritycenterV2CloudLoggingEntry", +"description": "An individual entry in a log stored in Cloud Logging." +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2MemoryHashSignature": { +"description": "A signature corresponding to memory page hashes.", +"id": "GoogleCloudSecuritycenterV2MemoryHashSignature", +"properties": { +"binaryFamily": { +"description": "The binary family.", +"type": "string" +}, +"detections": { +"description": "The list of memory hash detections contributing to the binary family match.", +"items": { +"$ref": "GoogleCloudSecuritycenterV2Detection" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2MitreAttack": { +"description": "MITRE ATT&CK tactics and techniques related to this finding. See: https://attack.mitre.org", +"id": "GoogleCloudSecuritycenterV2MitreAttack", +"properties": { +"additionalTactics": { +"description": "Additional MITRE ATT&CK tactics related to this finding, if any.", +"items": { +"enum": [ +"TACTIC_UNSPECIFIED", +"RECONNAISSANCE", +"RESOURCE_DEVELOPMENT", +"INITIAL_ACCESS", +"EXECUTION", +"PERSISTENCE", +"PRIVILEGE_ESCALATION", +"DEFENSE_EVASION", +"CREDENTIAL_ACCESS", +"DISCOVERY", +"LATERAL_MOVEMENT", +"COLLECTION", +"COMMAND_AND_CONTROL", +"EXFILTRATION", +"IMPACT" +], +"enumDescriptions": [ +"Unspecified value.", +"TA0043", +"TA0042", +"TA0001", +"TA0002", +"TA0003", +"TA0004", +"TA0005", +"TA0006", +"TA0007", +"TA0008", +"TA0009", +"TA0011", +"TA0010", +"TA0040" +], +"type": "string" +}, +"type": "array" +}, +"additionalTechniques": { +"description": "Additional MITRE ATT&CK techniques related to this finding, if any, along with any of their respective parent techniques.", +"items": { +"enum": [ +"TECHNIQUE_UNSPECIFIED", +"DATA_OBFUSCATION", +"DATA_OBFUSCATION_STEGANOGRAPHY", +"OS_CREDENTIAL_DUMPING", +"OS_CREDENTIAL_DUMPING_PROC_FILESYSTEM", +"OS_CREDENTIAL_DUMPING_ETC_PASSWORD_AND_ETC_SHADOW", +"DATA_FROM_LOCAL_SYSTEM", +"AUTOMATED_EXFILTRATION", +"OBFUSCATED_FILES_OR_INFO", +"STEGANOGRAPHY", +"COMPILE_AFTER_DELIVERY", +"COMMAND_OBFUSCATION", +"SCHEDULED_TRANSFER", +"SYSTEM_OWNER_USER_DISCOVERY", +"MASQUERADING", +"MATCH_LEGITIMATE_NAME_OR_LOCATION", +"BOOT_OR_LOGON_INITIALIZATION_SCRIPTS", +"STARTUP_ITEMS", +"NETWORK_SERVICE_DISCOVERY", +"SCHEDULED_TASK_JOB", +"SCHEDULED_TASK_JOB_CRON", +"CONTAINER_ORCHESTRATION_JOB", +"PROCESS_INJECTION", +"INPUT_CAPTURE", +"INPUT_CAPTURE_KEYLOGGING", +"PROCESS_DISCOVERY", +"COMMAND_AND_SCRIPTING_INTERPRETER", +"UNIX_SHELL", +"PYTHON", +"EXPLOITATION_FOR_PRIVILEGE_ESCALATION", +"PERMISSION_GROUPS_DISCOVERY", +"CLOUD_GROUPS", +"INDICATOR_REMOVAL", +"INDICATOR_REMOVAL_CLEAR_LINUX_OR_MAC_SYSTEM_LOGS", +"INDICATOR_REMOVAL_CLEAR_COMMAND_HISTORY", +"INDICATOR_REMOVAL_FILE_DELETION", +"INDICATOR_REMOVAL_TIMESTOMP", +"INDICATOR_REMOVAL_CLEAR_MAILBOX_DATA", +"APPLICATION_LAYER_PROTOCOL", +"DNS", +"SOFTWARE_DEPLOYMENT_TOOLS", +"VALID_ACCOUNTS", +"DEFAULT_ACCOUNTS", +"LOCAL_ACCOUNTS", +"CLOUD_ACCOUNTS", +"FILE_AND_DIRECTORY_DISCOVERY", +"ACCOUNT_DISCOVERY_LOCAL_ACCOUNT", +"PROXY", +"EXTERNAL_PROXY", +"MULTI_HOP_PROXY", +"ACCOUNT_MANIPULATION", +"ADDITIONAL_CLOUD_CREDENTIALS", +"ADDITIONAL_CLOUD_ROLES", +"SSH_AUTHORIZED_KEYS", +"ADDITIONAL_CONTAINER_CLUSTER_ROLES", +"MULTI_STAGE_CHANNELS", +"INGRESS_TOOL_TRANSFER", +"NATIVE_API", +"BRUTE_FORCE", +"AUTOMATED_COLLECTION", +"SHARED_MODULES", +"DATA_ENCODING", +"STANDARD_ENCODING", +"ACCESS_TOKEN_MANIPULATION", +"TOKEN_IMPERSONATION_OR_THEFT", +"CREATE_ACCOUNT", +"LOCAL_ACCOUNT", +"DEOBFUSCATE_DECODE_FILES_OR_INFO", +"EXPLOIT_PUBLIC_FACING_APPLICATION", +"SUPPLY_CHAIN_COMPROMISE", +"COMPROMISE_SOFTWARE_DEPENDENCIES_AND_DEVELOPMENT_TOOLS", +"EXPLOITATION_FOR_CLIENT_EXECUTION", +"USER_EXECUTION", +"EXPLOITATION_FOR_CREDENTIAL_ACCESS", +"LINUX_AND_MAC_FILE_AND_DIRECTORY_PERMISSIONS_MODIFICATION", +"DOMAIN_POLICY_MODIFICATION", +"DATA_DESTRUCTION", +"DATA_ENCRYPTED_FOR_IMPACT", +"SERVICE_STOP", +"INHIBIT_SYSTEM_RECOVERY", +"FIRMWARE_CORRUPTION", +"RESOURCE_HIJACKING", +"NETWORK_DENIAL_OF_SERVICE", +"CLOUD_SERVICE_DISCOVERY", +"STEAL_APPLICATION_ACCESS_TOKEN", +"ACCOUNT_ACCESS_REMOVAL", +"TRANSFER_DATA_TO_CLOUD_ACCOUNT", +"STEAL_WEB_SESSION_COOKIE", +"CREATE_OR_MODIFY_SYSTEM_PROCESS", +"EVENT_TRIGGERED_EXECUTION", +"BOOT_OR_LOGON_AUTOSTART_EXECUTION", +"KERNEL_MODULES_AND_EXTENSIONS", +"SHORTCUT_MODIFICATION", +"ABUSE_ELEVATION_CONTROL_MECHANISM", +"ABUSE_ELEVATION_CONTROL_MECHANISM_SETUID_AND_SETGID", +"ABUSE_ELEVATION_CONTROL_MECHANISM_SUDO_AND_SUDO_CACHING", +"UNSECURED_CREDENTIALS", +"CREDENTIALS_IN_FILES", +"BASH_HISTORY", +"PRIVATE_KEYS", +"SUBVERT_TRUST_CONTROL", +"INSTALL_ROOT_CERTIFICATE", +"COMPROMISE_HOST_SOFTWARE_BINARY", +"CREDENTIALS_FROM_PASSWORD_STORES", +"MODIFY_AUTHENTICATION_PROCESS", +"PLUGGABLE_AUTHENTICATION_MODULES", +"MULTI_FACTOR_AUTHENTICATION", +"IMPAIR_DEFENSES", +"DISABLE_OR_MODIFY_TOOLS", +"INDICATOR_BLOCKING", +"DISABLE_OR_MODIFY_LINUX_AUDIT_SYSTEM", +"HIDE_ARTIFACTS", +"HIDDEN_FILES_AND_DIRECTORIES", +"HIDDEN_USERS", +"EXFILTRATION_OVER_WEB_SERVICE", +"EXFILTRATION_TO_CLOUD_STORAGE", +"DYNAMIC_RESOLUTION", +"LATERAL_TOOL_TRANSFER", +"HIJACK_EXECUTION_FLOW", +"HIJACK_EXECUTION_FLOW_DYNAMIC_LINKER_HIJACKING", +"MODIFY_CLOUD_COMPUTE_INFRASTRUCTURE", +"CREATE_SNAPSHOT", +"CLOUD_INFRASTRUCTURE_DISCOVERY", +"DEVELOP_CAPABILITIES", +"DEVELOP_CAPABILITIES_MALWARE", +"OBTAIN_CAPABILITIES", +"OBTAIN_CAPABILITIES_MALWARE", +"OBTAIN_CAPABILITIES_VULNERABILITIES", +"ACTIVE_SCANNING", +"SCANNING_IP_BLOCKS", +"STAGE_CAPABILITIES", +"UPLOAD_MALWARE", +"CONTAINER_ADMINISTRATION_COMMAND", +"DEPLOY_CONTAINER", +"ESCAPE_TO_HOST", +"CONTAINER_AND_RESOURCE_DISCOVERY", +"REFLECTIVE_CODE_LOADING", +"STEAL_OR_FORGE_AUTHENTICATION_CERTIFICATES", +"FINANCIAL_THEFT" +], +"enumDescriptions": [ +"Unspecified value.", +"T1001", +"T1001.002", +"T1003", +"T1003.007", +"T1003.008", +"T1005", +"T1020", +"T1027", +"T1027.003", +"T1027.004", +"T1027.010", +"T1029", +"T1033", +"T1036", +"T1036.005", +"T1037", +"T1037.005", +"T1046", +"T1053", +"T1053.003", +"T1053.007", +"T1055", +"T1056", +"T1056.001", +"T1057", +"T1059", +"T1059.004", +"T1059.006", +"T1068", +"T1069", +"T1069.003", +"T1070", +"T1070.002", +"T1070.003", +"T1070.004", +"T1070.006", +"T1070.008", +"T1071", +"T1071.004", +"T1072", +"T1078", +"T1078.001", +"T1078.003", +"T1078.004", +"T1083", +"T1087.001", +"T1090", +"T1090.002", +"T1090.003", +"T1098", +"T1098.001", +"T1098.003", +"T1098.004", +"T1098.006", +"T1104", +"T1105", +"T1106", +"T1110", +"T1119", +"T1129", +"T1132", +"T1132.001", +"T1134", +"T1134.001", +"T1136", +"T1136.001", +"T1140", +"T1190", +"T1195", +"T1195.001", +"T1203", +"T1204", +"T1212", +"T1222.002", +"T1484", +"T1485", +"T1486", +"T1489", +"T1490", +"T1495", +"T1496", +"T1498", +"T1526", +"T1528", +"T1531", +"T1537", +"T1539", +"T1543", +"T1546", +"T1547", +"T1547.006", +"T1547.009", +"T1548", +"T1548.001", +"T1548.003", +"T1552", +"T1552.001", +"T1552.003", +"T1552.004", +"T1553", +"T1553.004", +"T1554", +"T1555", +"T1556", +"T1556.003", +"T1556.006", +"T1562", +"T1562.001", +"T1562.006", +"T1562.012", +"T1564", +"T1564.001", +"T1564.002", +"T1567", +"T1567.002", +"T1568", +"T1570", +"T1574", +"T1574.006", +"T1578", +"T1578.001", +"T1580", +"T1587", +"T1587.001", +"T1588", +"T1588.001", +"T1588.006", +"T1595", +"T1595.001", +"T1608", +"T1608.001", +"T1609", +"T1610", +"T1611", +"T1613", +"T1620", +"T1649", +"T1657" +], +"type": "string" +}, +"type": "array" +}, +"primaryTactic": { +"description": "The MITRE ATT&CK tactic most closely represented by this finding, if any.", +"enum": [ +"TACTIC_UNSPECIFIED", +"RECONNAISSANCE", +"RESOURCE_DEVELOPMENT", +"INITIAL_ACCESS", +"EXECUTION", +"PERSISTENCE", +"PRIVILEGE_ESCALATION", +"DEFENSE_EVASION", +"CREDENTIAL_ACCESS", +"DISCOVERY", +"LATERAL_MOVEMENT", +"COLLECTION", +"COMMAND_AND_CONTROL", +"EXFILTRATION", +"IMPACT" +], +"enumDescriptions": [ +"Unspecified value.", +"TA0043", +"TA0042", +"TA0001", +"TA0002", +"TA0003", +"TA0004", +"TA0005", +"TA0006", +"TA0007", +"TA0008", +"TA0009", +"TA0011", +"TA0010", +"TA0040" +], +"type": "string" +}, +"primaryTechniques": { +"description": "The MITRE ATT&CK technique most closely represented by this finding, if any. primary_techniques is a repeated field because there are multiple levels of MITRE ATT&CK techniques. If the technique most closely represented by this finding is a sub-technique (e.g. `SCANNING_IP_BLOCKS`), both the sub-technique and its parent technique(s) will be listed (e.g. `SCANNING_IP_BLOCKS`, `ACTIVE_SCANNING`).", +"items": { +"enum": [ +"TECHNIQUE_UNSPECIFIED", +"DATA_OBFUSCATION", +"DATA_OBFUSCATION_STEGANOGRAPHY", +"OS_CREDENTIAL_DUMPING", +"OS_CREDENTIAL_DUMPING_PROC_FILESYSTEM", +"OS_CREDENTIAL_DUMPING_ETC_PASSWORD_AND_ETC_SHADOW", +"DATA_FROM_LOCAL_SYSTEM", +"AUTOMATED_EXFILTRATION", +"OBFUSCATED_FILES_OR_INFO", +"STEGANOGRAPHY", +"COMPILE_AFTER_DELIVERY", +"COMMAND_OBFUSCATION", +"SCHEDULED_TRANSFER", +"SYSTEM_OWNER_USER_DISCOVERY", +"MASQUERADING", +"MATCH_LEGITIMATE_NAME_OR_LOCATION", +"BOOT_OR_LOGON_INITIALIZATION_SCRIPTS", +"STARTUP_ITEMS", +"NETWORK_SERVICE_DISCOVERY", +"SCHEDULED_TASK_JOB", +"SCHEDULED_TASK_JOB_CRON", +"CONTAINER_ORCHESTRATION_JOB", +"PROCESS_INJECTION", +"INPUT_CAPTURE", +"INPUT_CAPTURE_KEYLOGGING", +"PROCESS_DISCOVERY", +"COMMAND_AND_SCRIPTING_INTERPRETER", +"UNIX_SHELL", +"PYTHON", +"EXPLOITATION_FOR_PRIVILEGE_ESCALATION", +"PERMISSION_GROUPS_DISCOVERY", +"CLOUD_GROUPS", +"INDICATOR_REMOVAL", +"INDICATOR_REMOVAL_CLEAR_LINUX_OR_MAC_SYSTEM_LOGS", +"INDICATOR_REMOVAL_CLEAR_COMMAND_HISTORY", +"INDICATOR_REMOVAL_FILE_DELETION", +"INDICATOR_REMOVAL_TIMESTOMP", +"INDICATOR_REMOVAL_CLEAR_MAILBOX_DATA", +"APPLICATION_LAYER_PROTOCOL", +"DNS", +"SOFTWARE_DEPLOYMENT_TOOLS", +"VALID_ACCOUNTS", +"DEFAULT_ACCOUNTS", +"LOCAL_ACCOUNTS", +"CLOUD_ACCOUNTS", +"FILE_AND_DIRECTORY_DISCOVERY", +"ACCOUNT_DISCOVERY_LOCAL_ACCOUNT", +"PROXY", +"EXTERNAL_PROXY", +"MULTI_HOP_PROXY", +"ACCOUNT_MANIPULATION", +"ADDITIONAL_CLOUD_CREDENTIALS", +"ADDITIONAL_CLOUD_ROLES", +"SSH_AUTHORIZED_KEYS", +"ADDITIONAL_CONTAINER_CLUSTER_ROLES", +"MULTI_STAGE_CHANNELS", +"INGRESS_TOOL_TRANSFER", +"NATIVE_API", +"BRUTE_FORCE", +"AUTOMATED_COLLECTION", +"SHARED_MODULES", +"DATA_ENCODING", +"STANDARD_ENCODING", +"ACCESS_TOKEN_MANIPULATION", +"TOKEN_IMPERSONATION_OR_THEFT", +"CREATE_ACCOUNT", +"LOCAL_ACCOUNT", +"DEOBFUSCATE_DECODE_FILES_OR_INFO", +"EXPLOIT_PUBLIC_FACING_APPLICATION", +"SUPPLY_CHAIN_COMPROMISE", +"COMPROMISE_SOFTWARE_DEPENDENCIES_AND_DEVELOPMENT_TOOLS", +"EXPLOITATION_FOR_CLIENT_EXECUTION", +"USER_EXECUTION", +"EXPLOITATION_FOR_CREDENTIAL_ACCESS", +"LINUX_AND_MAC_FILE_AND_DIRECTORY_PERMISSIONS_MODIFICATION", +"DOMAIN_POLICY_MODIFICATION", +"DATA_DESTRUCTION", +"DATA_ENCRYPTED_FOR_IMPACT", +"SERVICE_STOP", +"INHIBIT_SYSTEM_RECOVERY", +"FIRMWARE_CORRUPTION", +"RESOURCE_HIJACKING", +"NETWORK_DENIAL_OF_SERVICE", +"CLOUD_SERVICE_DISCOVERY", +"STEAL_APPLICATION_ACCESS_TOKEN", +"ACCOUNT_ACCESS_REMOVAL", +"TRANSFER_DATA_TO_CLOUD_ACCOUNT", +"STEAL_WEB_SESSION_COOKIE", +"CREATE_OR_MODIFY_SYSTEM_PROCESS", +"EVENT_TRIGGERED_EXECUTION", +"BOOT_OR_LOGON_AUTOSTART_EXECUTION", +"KERNEL_MODULES_AND_EXTENSIONS", +"SHORTCUT_MODIFICATION", +"ABUSE_ELEVATION_CONTROL_MECHANISM", +"ABUSE_ELEVATION_CONTROL_MECHANISM_SETUID_AND_SETGID", +"ABUSE_ELEVATION_CONTROL_MECHANISM_SUDO_AND_SUDO_CACHING", +"UNSECURED_CREDENTIALS", +"CREDENTIALS_IN_FILES", +"BASH_HISTORY", +"PRIVATE_KEYS", +"SUBVERT_TRUST_CONTROL", +"INSTALL_ROOT_CERTIFICATE", +"COMPROMISE_HOST_SOFTWARE_BINARY", +"CREDENTIALS_FROM_PASSWORD_STORES", +"MODIFY_AUTHENTICATION_PROCESS", +"PLUGGABLE_AUTHENTICATION_MODULES", +"MULTI_FACTOR_AUTHENTICATION", +"IMPAIR_DEFENSES", +"DISABLE_OR_MODIFY_TOOLS", +"INDICATOR_BLOCKING", +"DISABLE_OR_MODIFY_LINUX_AUDIT_SYSTEM", +"HIDE_ARTIFACTS", +"HIDDEN_FILES_AND_DIRECTORIES", +"HIDDEN_USERS", +"EXFILTRATION_OVER_WEB_SERVICE", +"EXFILTRATION_TO_CLOUD_STORAGE", +"DYNAMIC_RESOLUTION", +"LATERAL_TOOL_TRANSFER", +"HIJACK_EXECUTION_FLOW", +"HIJACK_EXECUTION_FLOW_DYNAMIC_LINKER_HIJACKING", +"MODIFY_CLOUD_COMPUTE_INFRASTRUCTURE", +"CREATE_SNAPSHOT", +"CLOUD_INFRASTRUCTURE_DISCOVERY", +"DEVELOP_CAPABILITIES", +"DEVELOP_CAPABILITIES_MALWARE", +"OBTAIN_CAPABILITIES", +"OBTAIN_CAPABILITIES_MALWARE", +"OBTAIN_CAPABILITIES_VULNERABILITIES", +"ACTIVE_SCANNING", +"SCANNING_IP_BLOCKS", +"STAGE_CAPABILITIES", +"UPLOAD_MALWARE", +"CONTAINER_ADMINISTRATION_COMMAND", +"DEPLOY_CONTAINER", +"ESCAPE_TO_HOST", +"CONTAINER_AND_RESOURCE_DISCOVERY", +"REFLECTIVE_CODE_LOADING", +"STEAL_OR_FORGE_AUTHENTICATION_CERTIFICATES", +"FINANCIAL_THEFT" +], +"enumDescriptions": [ +"Unspecified value.", +"T1001", +"T1001.002", +"T1003", +"T1003.007", +"T1003.008", +"T1005", +"T1020", +"T1027", +"T1027.003", +"T1027.004", +"T1027.010", +"T1029", +"T1033", +"T1036", +"T1036.005", +"T1037", +"T1037.005", +"T1046", +"T1053", +"T1053.003", +"T1053.007", +"T1055", +"T1056", +"T1056.001", +"T1057", +"T1059", +"T1059.004", +"T1059.006", +"T1068", +"T1069", +"T1069.003", +"T1070", +"T1070.002", +"T1070.003", +"T1070.004", +"T1070.006", +"T1070.008", +"T1071", +"T1071.004", +"T1072", +"T1078", +"T1078.001", +"T1078.003", +"T1078.004", +"T1083", +"T1087.001", +"T1090", +"T1090.002", +"T1090.003", +"T1098", +"T1098.001", +"T1098.003", +"T1098.004", +"T1098.006", +"T1104", +"T1105", +"T1106", +"T1110", +"T1119", +"T1129", +"T1132", +"T1132.001", +"T1134", +"T1134.001", +"T1136", +"T1136.001", +"T1140", +"T1190", +"T1195", +"T1195.001", +"T1203", +"T1204", +"T1212", +"T1222.002", +"T1484", +"T1485", +"T1486", +"T1489", +"T1490", +"T1495", +"T1496", +"T1498", +"T1526", +"T1528", +"T1531", +"T1537", +"T1539", +"T1543", +"T1546", +"T1547", +"T1547.006", +"T1547.009", +"T1548", +"T1548.001", +"T1548.003", +"T1552", +"T1552.001", +"T1552.003", +"T1552.004", +"T1553", +"T1553.004", +"T1554", +"T1555", +"T1556", +"T1556.003", +"T1556.006", +"T1562", +"T1562.001", +"T1562.006", +"T1562.012", +"T1564", +"T1564.001", +"T1564.002", +"T1567", +"T1567.002", +"T1568", +"T1570", +"T1574", +"T1574.006", +"T1578", +"T1578.001", +"T1580", +"T1587", +"T1587.001", +"T1588", +"T1588.001", +"T1588.006", +"T1595", +"T1595.001", +"T1608", +"T1608.001", +"T1609", +"T1610", +"T1611", +"T1613", +"T1620", +"T1649", +"T1657" +], +"type": "string" +}, +"type": "array" +}, +"version": { +"description": "The MITRE ATT&CK version referenced by the above fields. E.g. \"8\".", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2MuteConfig": { +"description": "A mute config is a Cloud SCC resource that contains the configuration to mute create/update events of findings.", +"id": "GoogleCloudSecuritycenterV2MuteConfig", +"properties": { +"createTime": { +"description": "Output only. The time at which the mute config was created. This field is set by the server and will be ignored if provided on config creation.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"cryptoKeyName": { +"description": "Output only. The resource name of the Cloud KMS `CryptoKey` used to encrypt this configuration data, if CMEK was enabled during Security Command Center activation.", +"readOnly": true, +"type": "string" +}, +"description": { +"description": "A description of the mute config.", +"type": "string" +}, +"expiryTime": { +"description": "Optional. The expiry of the mute config. Only applicable for dynamic configs. If the expiry is set, when the config expires, it is removed from all findings.", +"format": "google-datetime", +"type": "string" +}, +"filter": { +"description": "Required. An expression that defines the filter to apply across create/update events of findings. While creating a filter string, be mindful of the scope in which the mute configuration is being created. E.g., If a filter contains project = X but is created under the project = Y scope, it might not match any findings. The following field and operator combinations are supported: * severity: `=`, `:` * category: `=`, `:` * resource.name: `=`, `:` * resource.project_name: `=`, `:` * resource.project_display_name: `=`, `:` * resource.folders.resource_folder: `=`, `:` * resource.parent_name: `=`, `:` * resource.parent_display_name: `=`, `:` * resource.type: `=`, `:` * finding_class: `=`, `:` * indicator.ip_addresses: `=`, `:` * indicator.domains: `=`, `:`", +"type": "string" +}, +"mostRecentEditor": { +"description": "Output only. Email address of the user who last edited the mute config. This field is set by the server and will be ignored if provided on config creation or update.", +"readOnly": true, +"type": "string" +}, +"name": { +"description": "Identifier. This field will be ignored if provided on config creation. The following list shows some examples of the format: + `organizations/{organization}/muteConfigs/{mute_config}` + `organizations/{organization}locations/{location}//muteConfigs/{mute_config}` + `folders/{folder}/muteConfigs/{mute_config}` + `folders/{folder}/locations/{location}/muteConfigs/{mute_config}` + `projects/{project}/muteConfigs/{mute_config}` + `projects/{project}/locations/{location}/muteConfigs/{mute_config}`", +"type": "string" +}, +"type": { +"description": "Required. The type of the mute config, which determines what type of mute state the config affects. Immutable after creation.", +"enum": [ +"MUTE_CONFIG_TYPE_UNSPECIFIED", +"STATIC", +"DYNAMIC" +], +"enumDescriptions": [ +"Unused.", +"A static mute config, which sets the static mute state of future matching findings to muted. Once the static mute state has been set, finding or config modifications will not affect the state.", +"A dynamic mute config, which is applied to existing and future matching findings, setting their dynamic mute state to \"muted\". If the config is updated or deleted, or a matching finding is updated, such that the finding doesn't match the config, the config will be removed from the finding, and the finding's dynamic mute state may become \"unmuted\" (unless other configs still match)." +], +"type": "string" +}, +"updateTime": { +"description": "Output only. The most recent time at which the mute config was updated. This field is set by the server and will be ignored if provided on config creation or update.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2MuteInfo": { +"description": "Mute information about the finding, including whether the finding has a static mute or any matching dynamic mute rules.", +"id": "GoogleCloudSecuritycenterV2MuteInfo", +"properties": { +"dynamicMuteRecords": { +"description": "The list of dynamic mute rules that currently match the finding.", +"items": { +"$ref": "GoogleCloudSecuritycenterV2DynamicMuteRecord" +}, +"type": "array" +}, +"staticMute": { +"$ref": "GoogleCloudSecuritycenterV2StaticMute", +"description": "If set, the static mute applied to this finding. Static mutes override dynamic mutes. If unset, there is no static mute." +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2Network": { +"description": "Contains information about a VPC network associated with the finding.", +"id": "GoogleCloudSecuritycenterV2Network", +"properties": { +"name": { +"description": "The name of the VPC network resource, for example, `//compute.googleapis.com/projects/my-project/global/networks/my-network`.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2Node": { +"description": "Kubernetes nodes associated with the finding.", +"id": "GoogleCloudSecuritycenterV2Node", +"properties": { +"name": { +"description": "[Full resource name](https://google.aip.dev/122#full-resource-names) of the Compute Engine VM running the cluster node.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2NodePool": { +"description": "Provides GKE node pool information.", +"id": "GoogleCloudSecuritycenterV2NodePool", +"properties": { +"name": { +"description": "Kubernetes node pool name.", +"type": "string" +}, +"nodes": { +"description": "Nodes associated with the finding.", +"items": { +"$ref": "GoogleCloudSecuritycenterV2Node" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2Notebook": { +"description": "Represents a Jupyter notebook IPYNB file, such as a [Colab Enterprise notebook](https://cloud.google.com/colab/docs/introduction) file, that is associated with a finding.", +"id": "GoogleCloudSecuritycenterV2Notebook", +"properties": { +"lastAuthor": { +"description": "The user ID of the latest author to modify the notebook.", +"type": "string" +}, +"name": { +"description": "The name of the notebook.", +"type": "string" +}, +"notebookUpdateTime": { +"description": "The most recent time the notebook was updated.", +"format": "google-datetime", +"type": "string" +}, +"service": { +"description": "The source notebook service, for example, \"Colab Enterprise\".", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2NotificationMessage": { +"description": "Cloud SCC's Notification", +"id": "GoogleCloudSecuritycenterV2NotificationMessage", +"properties": { +"finding": { +"$ref": "GoogleCloudSecuritycenterV2Finding", +"description": "If it's a Finding based notification config, this field will be populated." +}, +"notificationConfigName": { +"description": "Name of the notification config that generated current notification.", +"type": "string" +}, +"resource": { +"$ref": "GoogleCloudSecuritycenterV2Resource", +"description": "The Cloud resource tied to this notification's Finding." +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2Object": { +"description": "Kubernetes object related to the finding, uniquely identified by GKNN. Used if the object Kind is not one of Pod, Node, NodePool, Binding, or AccessReview.", +"id": "GoogleCloudSecuritycenterV2Object", +"properties": { +"containers": { +"description": "Pod containers associated with this finding, if any.", +"items": { +"$ref": "GoogleCloudSecuritycenterV2Container" +}, +"type": "array" +}, +"group": { +"description": "Kubernetes object group, such as \"policy.k8s.io/v1\".", +"type": "string" +}, +"kind": { +"description": "Kubernetes object kind, such as \"Namespace\".", +"type": "string" +}, +"name": { +"description": "Kubernetes object name. For details see https://kubernetes.io/docs/concepts/overview/working-with-objects/names/.", +"type": "string" +}, +"ns": { +"description": "Kubernetes object namespace. Must be a valid DNS label. Named \"ns\" to avoid collision with C++ namespace keyword. For details see https://kubernetes.io/docs/tasks/administer-cluster/namespaces/.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2OrgPolicy": { +"description": "Contains information about the org policies associated with the finding.", +"id": "GoogleCloudSecuritycenterV2OrgPolicy", +"properties": { +"name": { +"description": "Identifier. The resource name of the org policy. Example: \"organizations/{organization_id}/policies/{constraint_name}\"", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2Package": { +"description": "Package is a generic definition of a package.", +"id": "GoogleCloudSecuritycenterV2Package", +"properties": { +"cpeUri": { +"description": "The CPE URI where the vulnerability was detected.", +"type": "string" +}, +"packageName": { +"description": "The name of the package where the vulnerability was detected.", +"type": "string" +}, +"packageType": { +"description": "Type of package, for example, os, maven, or go.", +"type": "string" +}, +"packageVersion": { +"description": "The version of the package.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2Pipeline": { +"description": "Vertex AI training pipeline associated with the finding.", +"id": "GoogleCloudSecuritycenterV2Pipeline", +"properties": { +"displayName": { +"description": "The user-defined display name of pipeline, e.g. plants-classification", +"type": "string" +}, +"name": { +"description": "Resource name of the pipeline, e.g. projects/{project}/locations/{location}/trainingPipelines/5253428229225578496", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2Pod": { +"description": "A Kubernetes Pod.", +"id": "GoogleCloudSecuritycenterV2Pod", +"properties": { +"containers": { +"description": "Pod containers associated with this finding, if any.", +"items": { +"$ref": "GoogleCloudSecuritycenterV2Container" +}, +"type": "array" +}, +"labels": { +"description": "Pod labels. For Kubernetes containers, these are applied to the container.", +"items": { +"$ref": "GoogleCloudSecuritycenterV2Label" +}, +"type": "array" +}, +"name": { +"description": "Kubernetes Pod name.", +"type": "string" +}, +"ns": { +"description": "Kubernetes Pod namespace.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2PolicyDriftDetails": { +"description": "The policy field that violates the deployed posture and its expected and detected values.", +"id": "GoogleCloudSecuritycenterV2PolicyDriftDetails", +"properties": { +"detectedValue": { +"description": "The detected value that violates the deployed posture, for example, `false` or `allowed_values={\"projects/22831892\"}`.", +"type": "string" +}, +"expectedValue": { +"description": "The value of this field that was configured in a posture, for example, `true` or `allowed_values={\"projects/29831892\"}`.", +"type": "string" +}, +"field": { +"description": "The name of the updated field, for example constraint.implementation.policy_rules[0].enforce", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2PortRange": { +"description": "A port range which is inclusive of the min and max values. Values are between 0 and 2^16-1. The max can be equal / must be not smaller than the min value. If min and max are equal this indicates that it is a single port.", +"id": "GoogleCloudSecuritycenterV2PortRange", +"properties": { +"max": { +"description": "Maximum port value.", +"format": "int64", +"type": "string" +}, +"min": { +"description": "Minimum port value.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2Process": { +"description": "Represents an operating system process.", +"id": "GoogleCloudSecuritycenterV2Process", +"properties": { +"args": { +"description": "Process arguments as JSON encoded strings.", +"items": { +"type": "string" +}, +"type": "array" +}, +"argumentsTruncated": { +"description": "True if `args` is incomplete.", +"type": "boolean" +}, +"binary": { +"$ref": "GoogleCloudSecuritycenterV2File", +"description": "File information for the process executable." +}, +"envVariables": { +"description": "Process environment variables.", +"items": { +"$ref": "GoogleCloudSecuritycenterV2EnvironmentVariable" +}, +"type": "array" +}, +"envVariablesTruncated": { +"description": "True if `env_variables` is incomplete.", +"type": "boolean" +}, +"libraries": { +"description": "File information for libraries loaded by the process.", +"items": { +"$ref": "GoogleCloudSecuritycenterV2File" +}, +"type": "array" +}, +"name": { +"description": "The process name, as displayed in utilities like `top` and `ps`. This name can be accessed through `/proc/[pid]/comm` and changed with `prctl(PR_SET_NAME)`.", +"type": "string" +}, +"parentPid": { +"description": "The parent process ID.", +"format": "int64", +"type": "string" +}, +"pid": { +"description": "The process ID.", +"format": "int64", +"type": "string" +}, +"script": { +"$ref": "GoogleCloudSecuritycenterV2File", +"description": "When the process represents the invocation of a script, `binary` provides information about the interpreter, while `script` provides information about the script file provided to the interpreter." +}, +"userId": { +"description": "The ID of the user that executed the process. E.g. If this is the root user this will always be 0.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2ProcessSignature": { +"description": "Indicates what signature matched this process.", +"id": "GoogleCloudSecuritycenterV2ProcessSignature", +"properties": { +"memoryHashSignature": { +"$ref": "GoogleCloudSecuritycenterV2MemoryHashSignature", +"description": "Signature indicating that a binary family was matched." +}, +"signatureType": { +"description": "Describes the type of resource associated with the signature.", +"enum": [ +"SIGNATURE_TYPE_UNSPECIFIED", +"SIGNATURE_TYPE_PROCESS", +"SIGNATURE_TYPE_FILE" +], +"enumDescriptions": [ +"The default signature type.", +"Used for signatures concerning processes.", +"Used for signatures concerning disks." +], +"type": "string" +}, +"yaraRuleSignature": { +"$ref": "GoogleCloudSecuritycenterV2YaraRuleSignature", +"description": "Signature indicating that a YARA rule was matched." +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2Reference": { +"description": "Additional Links", +"id": "GoogleCloudSecuritycenterV2Reference", +"properties": { +"source": { +"description": "Source of the reference e.g. NVD", +"type": "string" +}, +"uri": { +"description": "Uri for the mentioned source e.g. https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-34527.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2Requests": { +"description": "Information about the requests relevant to the finding.", +"id": "GoogleCloudSecuritycenterV2Requests", +"properties": { +"longTermAllowed": { +"description": "Allowed RPS (requests per second) over the long term.", +"format": "int32", +"type": "integer" +}, +"longTermDenied": { +"description": "Denied RPS (requests per second) over the long term.", +"format": "int32", +"type": "integer" +}, +"ratio": { +"description": "For 'Increasing deny ratio', the ratio is the denied traffic divided by the allowed traffic. For 'Allowed traffic spike', the ratio is the allowed traffic in the short term divided by allowed traffic in the long term.", +"format": "double", +"type": "number" +}, +"shortTermAllowed": { +"description": "Allowed RPS (requests per second) in the short term.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2Resource": { +"description": "Information related to the Google Cloud resource.", +"id": "GoogleCloudSecuritycenterV2Resource", +"properties": { +"adcApplication": { +"$ref": "GoogleCloudSecuritycenterV2AdcApplication", +"description": "The ADC application associated with the finding." +}, +"adcApplicationTemplate": { +"$ref": "GoogleCloudSecuritycenterV2AdcApplicationTemplateRevision", +"description": "The ADC template associated with the finding." +}, +"adcSharedTemplate": { +"$ref": "GoogleCloudSecuritycenterV2AdcSharedTemplateRevision", +"description": "The ADC shared template associated with the finding." +}, +"application": { +"$ref": "GoogleCloudSecuritycenterV2ResourceApplication", +"description": "The App Hub application this resource belongs to." +}, +"awsMetadata": { +"$ref": "GoogleCloudSecuritycenterV2AwsMetadata", +"description": "The AWS metadata associated with the finding." +}, +"azureMetadata": { +"$ref": "GoogleCloudSecuritycenterV2AzureMetadata", +"description": "The Azure metadata associated with the finding." +}, +"cloudProvider": { +"description": "Indicates which cloud provider the finding is from.", +"enum": [ +"CLOUD_PROVIDER_UNSPECIFIED", +"GOOGLE_CLOUD_PLATFORM", +"AMAZON_WEB_SERVICES", +"MICROSOFT_AZURE" +], +"enumDescriptions": [ +"The cloud provider is unspecified.", +"The cloud provider is Google Cloud.", +"The cloud provider is Amazon Web Services.", +"The cloud provider is Microsoft Azure." +], +"type": "string" +}, +"displayName": { +"description": "The human readable name of the resource.", +"type": "string" +}, +"gcpMetadata": { +"$ref": "GcpMetadata", +"description": "The Google Cloud metadata associated with the finding." +}, +"location": { +"description": "The region or location of the service (if applicable).", +"type": "string" +}, +"name": { +"description": "The full resource name of the resource. See: https://cloud.google.com/apis/design/resource_names#full_resource_name", +"type": "string" +}, +"resourcePath": { +"$ref": "GoogleCloudSecuritycenterV2ResourcePath", +"description": "Provides the path to the resource within the resource hierarchy." +}, +"resourcePathString": { +"description": "A string representation of the resource path. For Google Cloud, it has the format of `organizations/{organization_id}/folders/{folder_id}/folders/{folder_id}/projects/{project_id}` where there can be any number of folders. For AWS, it has the format of `org/{organization_id}/ou/{organizational_unit_id}/ou/{organizational_unit_id}/account/{account_id}` where there can be any number of organizational units. For Azure, it has the format of `mg/{management_group_id}/mg/{management_group_id}/subscription/{subscription_id}/rg/{resource_group_name}` where there can be any number of management groups.", +"type": "string" +}, +"service": { +"description": "The service or resource provider associated with the resource.", +"type": "string" +}, +"type": { +"description": "The full resource type of the resource.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2ResourceApplication": { +"description": "The App Hub Application associated with the finding's resource.", +"id": "GoogleCloudSecuritycenterV2ResourceApplication", +"properties": { +"attributes": { +"$ref": "GoogleCloudSecuritycenterV2ResourceApplicationAttributes", +"description": "Consumer provided attributes for the application" +}, +"name": { +"description": "The resource name of an Application. Format: `projects/{host-project-id}/locations/{location}/applications/{application-id}`", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2ResourceApplicationAttributes": { +"description": "Consumer provided attributes for the application", +"id": "GoogleCloudSecuritycenterV2ResourceApplicationAttributes", +"properties": { +"businessOwners": { +"description": "Business team that ensures user needs are met and value is delivered", +"items": { +"$ref": "GoogleCloudSecuritycenterV2ResourceApplicationAttributesContactInfo" +}, +"type": "array" +}, +"criticality": { +"$ref": "GoogleCloudSecuritycenterV2ResourceApplicationAttributesCriticality", +"description": "User-defined criticality information." +}, +"developerOwners": { +"description": "Developer team that owns development and coding.", +"items": { +"$ref": "GoogleCloudSecuritycenterV2ResourceApplicationAttributesContactInfo" +}, +"type": "array" +}, +"environment": { +"$ref": "GoogleCloudSecuritycenterV2ResourceApplicationAttributesEnvironment", +"description": "User-defined environment information." +}, +"operatorOwners": { +"description": "Operator team that ensures runtime and operations.", +"items": { +"$ref": "GoogleCloudSecuritycenterV2ResourceApplicationAttributesContactInfo" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2ResourceApplicationAttributesContactInfo": { +"description": "Contact information of stakeholders.", +"id": "GoogleCloudSecuritycenterV2ResourceApplicationAttributesContactInfo", +"properties": { +"email": { +"description": "Email address of the contacts.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2ResourceApplicationAttributesCriticality": { +"description": "Criticality of the Application, Service, or Workload", +"id": "GoogleCloudSecuritycenterV2ResourceApplicationAttributesCriticality", +"properties": { +"type": { +"description": "Criticality Type.", +"enum": [ +"CRITICALITY_TYPE_UNSPECIFIED", +"MISSION_CRITICAL", +"HIGH", +"MEDIUM", +"LOW" +], +"enumDescriptions": [ +"Unspecified type.", +"Mission critical service, application or workload.", +"High impact.", +"Medium impact.", +"Low impact." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2ResourceApplicationAttributesEnvironment": { +"description": "Environment of the Application, Service, or Workload", +"id": "GoogleCloudSecuritycenterV2ResourceApplicationAttributesEnvironment", +"properties": { +"type": { +"description": "Environment Type.", +"enum": [ +"ENVIRONMENT_TYPE_UNSPECIFIED", +"PRODUCTION", +"STAGING", +"TEST", +"DEVELOPMENT" +], +"enumDescriptions": [ +"Unspecified type.", +"Production environment.", +"Staging environment.", +"Test environment.", +"Development environment." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2ResourcePath": { +"description": "Represents the path of resources leading up to the resource this finding is about.", +"id": "GoogleCloudSecuritycenterV2ResourcePath", +"properties": { +"nodes": { +"description": "The list of nodes that make the up resource path, ordered from lowest level to highest level.", +"items": { +"$ref": "GoogleCloudSecuritycenterV2ResourcePathNode" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2ResourcePathNode": { +"description": "A node within the resource path. Each node represents a resource within the resource hierarchy.", +"id": "GoogleCloudSecuritycenterV2ResourcePathNode", +"properties": { +"displayName": { +"description": "The display name of the resource this node represents.", +"type": "string" +}, +"id": { +"description": "The ID of the resource this node represents.", +"type": "string" +}, +"nodeType": { +"description": "The type of resource this node represents.", +"enum": [ +"RESOURCE_PATH_NODE_TYPE_UNSPECIFIED", +"GCP_ORGANIZATION", +"GCP_FOLDER", +"GCP_PROJECT", +"AWS_ORGANIZATION", +"AWS_ORGANIZATIONAL_UNIT", +"AWS_ACCOUNT", +"AZURE_MANAGEMENT_GROUP", +"AZURE_SUBSCRIPTION", +"AZURE_RESOURCE_GROUP" +], +"enumDescriptions": [ +"Node type is unspecified.", +"The node represents a Google Cloud organization.", +"The node represents a Google Cloud folder.", +"The node represents a Google Cloud project.", +"The node represents an AWS organization.", +"The node represents an AWS organizational unit.", +"The node represents an AWS account.", +"The node represents an Azure management group.", +"The node represents an Azure subscription.", +"The node represents an Azure resource group." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2ResourceValueConfig": { +"description": "A resource value configuration (RVC) is a mapping configuration of user's resources to resource values. Used in Attack path simulations.", +"id": "GoogleCloudSecuritycenterV2ResourceValueConfig", +"properties": { +"cloudProvider": { +"description": "Cloud provider this configuration applies to", +"enum": [ +"CLOUD_PROVIDER_UNSPECIFIED", +"GOOGLE_CLOUD_PLATFORM", +"AMAZON_WEB_SERVICES", +"MICROSOFT_AZURE" +], +"enumDescriptions": [ +"The cloud provider is unspecified.", +"The cloud provider is Google Cloud.", +"The cloud provider is Amazon Web Services.", +"The cloud provider is Microsoft Azure." +], +"type": "string" +}, +"createTime": { +"description": "Output only. Timestamp this resource value configuration was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"description": { +"description": "Description of the resource value configuration.", +"type": "string" +}, +"name": { +"description": "Identifier. Name for the resource value configuration", +"type": "string" +}, +"resourceLabelsSelector": { +"additionalProperties": { +"type": "string" +}, +"description": "List of resource labels to search for, evaluated with `AND`. For example, \"resource_labels_selector\": {\"key\": \"value\", \"env\": \"prod\"} will match resources with labels \"key\": \"value\" `AND` \"env\": \"prod\" https://cloud.google.com/resource-manager/docs/creating-managing-labels", +"type": "object" +}, +"resourceType": { +"description": "Apply resource_value only to resources that match resource_type. resource_type will be checked with `AND` of other resources. For example, \"storage.googleapis.com/Bucket\" with resource_value \"HIGH\" will apply \"HIGH\" value only to \"storage.googleapis.com/Bucket\" resources.", +"type": "string" +}, +"resourceValue": { +"description": "Resource value level this expression represents Only required when there is no Sensitive Data Protection mapping in the request", +"enum": [ +"RESOURCE_VALUE_UNSPECIFIED", +"HIGH", +"MEDIUM", +"LOW", +"NONE" +], +"enumDescriptions": [ +"Unspecific value", +"High resource value", +"Medium resource value", +"Low resource value", +"No resource value, e.g. ignore these resources" +], +"type": "string" +}, +"scope": { +"description": "Project or folder to scope this configuration to. For example, \"project/456\" would apply this configuration only to resources in \"project/456\" scope and will be checked with `AND` of other resources.", +"type": "string" +}, +"sensitiveDataProtectionMapping": { +"$ref": "GoogleCloudSecuritycenterV2SensitiveDataProtectionMapping", +"description": "A mapping of the sensitivity on Sensitive Data Protection finding to resource values. This mapping can only be used in combination with a resource_type that is related to BigQuery, e.g. \"bigquery.googleapis.com/Dataset\"." +}, +"tagValues": { +"description": "Tag values combined with `AND` to check against. For Google Cloud resources, they are tag value IDs in the form of \"tagValues/123\". Example: `[ \"tagValues/123\", \"tagValues/456\", \"tagValues/789\" ]` https://cloud.google.com/resource-manager/docs/tags/tags-creating-and-managing", +"items": { +"type": "string" +}, +"type": "array" +}, +"updateTime": { +"description": "Output only. Timestamp this resource value configuration was last updated.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2Role": { +"description": "Kubernetes Role or ClusterRole.", +"id": "GoogleCloudSecuritycenterV2Role", +"properties": { +"kind": { +"description": "Role type.", +"enum": [ +"KIND_UNSPECIFIED", +"ROLE", +"CLUSTER_ROLE" +], +"enumDescriptions": [ +"Role type is not specified.", +"Kubernetes Role.", +"Kubernetes ClusterRole." +], +"type": "string" +}, +"name": { +"description": "Role name.", +"type": "string" +}, +"ns": { +"description": "Role namespace.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2Secret": { +"description": "Details about a secret or credential associated with the finding.", +"id": "GoogleCloudSecuritycenterV2Secret", +"properties": { +"environmentVariable": { +"$ref": "GoogleCloudSecuritycenterV2SecretEnvironmentVariable", +"description": "The environment variable containing the secret." +}, +"filePath": { +"$ref": "GoogleCloudSecuritycenterV2SecretFilePath", +"description": "The file containing the secret." +}, +"status": { +"$ref": "GoogleCloudSecuritycenterV2SecretStatus", +"description": "The status of the secret." +}, +"type": { +"description": "The type of secret, for example, GCP_API_KEY.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2SecretEnvironmentVariable": { +"description": "Environment variable containing the secret.", +"id": "GoogleCloudSecuritycenterV2SecretEnvironmentVariable", +"properties": { +"key": { +"description": "Environment variable name as a JSON encoded string. Note that value is not included since the value contains the secret data, which is sensitive core content.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2SecretFilePath": { +"description": "File path containing the secret.", +"id": "GoogleCloudSecuritycenterV2SecretFilePath", +"properties": { +"path": { +"description": "Path to the file.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2SecretStatus": { +"description": "The status of the secret.", +"id": "GoogleCloudSecuritycenterV2SecretStatus", +"properties": { +"lastUpdatedTime": { +"description": "Time that the secret was found.", +"format": "google-datetime", +"type": "string" +}, +"validity": { +"description": "The validity of the secret.", +"enum": [ +"SECRET_VALIDITY_UNSPECIFIED", +"SECRET_VALIDITY_UNSUPPORTED", +"SECRET_VALIDITY_FAILED", +"SECRET_VALIDITY_INVALID", +"SECRET_VALIDITY_VALID" +], +"enumDescriptions": [ +"Default value; no validation was attempted.", +"There is no mechanism to validate the secret.", +"Validation is supported but the validation failed.", +"The secret is confirmed to be invalid.", +"The secret is confirmed to be valid." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2SecurityBulletin": { +"description": "SecurityBulletin are notifications of vulnerabilities of Google products.", +"id": "GoogleCloudSecuritycenterV2SecurityBulletin", +"properties": { +"bulletinId": { +"description": "ID of the bulletin corresponding to the vulnerability.", +"type": "string" +}, +"submissionTime": { +"description": "Submission time of this Security Bulletin.", +"format": "google-datetime", +"type": "string" +}, +"suggestedUpgradeVersion": { +"description": "This represents a version that the cluster receiving this notification should be upgraded to, based on its current version. For example, 1.15.0", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2SecurityMarks": { +"description": "User specified security marks that are attached to the parent Security Command Center resource. Security marks are scoped within a Security Command Center organization -- they can be modified and viewed by all users who have proper permissions on the organization.", +"id": "GoogleCloudSecuritycenterV2SecurityMarks", +"properties": { +"canonicalName": { +"description": "The canonical name of the marks. The following list shows some examples: + `organizations/{organization_id}/assets/{asset_id}/securityMarks` + `organizations/{organization_id}/sources/{source_id}/findings/{finding_id}/securityMarks` + `organizations/{organization_id}/sources/{source_id}/locations/{location}/findings/{finding_id}/securityMarks` + `folders/{folder_id}/assets/{asset_id}/securityMarks` + `folders/{folder_id}/sources/{source_id}/findings/{finding_id}/securityMarks` + `folders/{folder_id}/sources/{source_id}/locations/{location}/findings/{finding_id}/securityMarks` + `projects/{project_number}/assets/{asset_id}/securityMarks` + `projects/{project_number}/sources/{source_id}/findings/{finding_id}/securityMarks` + `projects/{project_number}/sources/{source_id}/locations/{location}/findings/{finding_id}/securityMarks`", +"type": "string" +}, +"marks": { +"additionalProperties": { +"type": "string" +}, +"description": "Mutable user specified security marks belonging to the parent resource. Constraints are as follows: * Keys and values are treated as case insensitive * Keys must be between 1 - 256 characters (inclusive) * Keys must be letters, numbers, underscores, or dashes * Values have leading and trailing whitespace trimmed, remaining characters must be between 1 - 4096 characters (inclusive)", +"type": "object" +}, +"name": { +"description": "The relative resource name of the SecurityMarks. See: https://cloud.google.com/apis/design/resource_names#relative_resource_name The following list shows some examples: + `organizations/{organization_id}/assets/{asset_id}/securityMarks` + `organizations/{organization_id}/sources/{source_id}/findings/{finding_id}/securityMarks` + `organizations/{organization_id}/sources/{source_id}/locations/{location}/findings/{finding_id}/securityMarks`", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2SecurityPolicy": { +"description": "Information about the [Google Cloud Armor security policy](https://cloud.google.com/armor/docs/security-policy-overview) relevant to the finding.", +"id": "GoogleCloudSecuritycenterV2SecurityPolicy", +"properties": { +"name": { +"description": "The name of the Google Cloud Armor security policy, for example, \"my-security-policy\".", +"type": "string" +}, +"preview": { +"description": "Whether or not the associated rule or policy is in preview mode.", +"type": "boolean" +}, +"type": { +"description": "The type of Google Cloud Armor security policy for example, 'backend security policy', 'edge security policy', 'network edge security policy', or 'always-on DDoS protection'.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2SecurityPosture": { +"description": "Represents a posture that is deployed on Google Cloud by the Security Command Center Posture Management service. A posture contains one or more policy sets. A policy set is a group of policies that enforce a set of security rules on Google Cloud.", +"id": "GoogleCloudSecuritycenterV2SecurityPosture", +"properties": { +"changedPolicy": { +"description": "The name of the updated policy, for example, `projects/{project_id}/policies/{constraint_name}`.", +"type": "string" +}, +"name": { +"description": "Name of the posture, for example, `CIS-Posture`.", +"type": "string" +}, +"policy": { +"description": "The ID of the updated policy, for example, `compute-policy-1`.", +"type": "string" +}, +"policyDriftDetails": { +"description": "The details about a change in an updated policy that violates the deployed posture.", +"items": { +"$ref": "GoogleCloudSecuritycenterV2PolicyDriftDetails" +}, +"type": "array" +}, +"policySet": { +"description": "The name of the updated policy set, for example, `cis-policyset`.", +"type": "string" +}, +"postureDeployment": { +"description": "The name of the posture deployment, for example, `organizations/{org_id}/posturedeployments/{posture_deployment_id}`.", +"type": "string" +}, +"postureDeploymentResource": { +"description": "The project, folder, or organization on which the posture is deployed, for example, `projects/{project_number}`.", +"type": "string" +}, +"revisionId": { +"description": "The version of the posture, for example, `c7cfa2a8`.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2SensitiveDataProtectionMapping": { +"description": "Resource value mapping for Sensitive Data Protection findings If any of these mappings have a resource value that is not unspecified, the resource_value field will be ignored when reading this configuration.", +"id": "GoogleCloudSecuritycenterV2SensitiveDataProtectionMapping", +"properties": { +"highSensitivityMapping": { +"description": "Resource value mapping for high-sensitivity Sensitive Data Protection findings", +"enum": [ +"RESOURCE_VALUE_UNSPECIFIED", +"HIGH", +"MEDIUM", +"LOW", +"NONE" +], +"enumDescriptions": [ +"Unspecific value", +"High resource value", +"Medium resource value", +"Low resource value", +"No resource value, e.g. ignore these resources" +], +"type": "string" +}, +"mediumSensitivityMapping": { +"description": "Resource value mapping for medium-sensitivity Sensitive Data Protection findings", +"enum": [ +"RESOURCE_VALUE_UNSPECIFIED", +"HIGH", +"MEDIUM", +"LOW", +"NONE" +], +"enumDescriptions": [ +"Unspecific value", +"High resource value", +"Medium resource value", +"Low resource value", +"No resource value, e.g. ignore these resources" +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2SensitivityScore": { +"description": "Score is calculated from of all elements in the data profile. A higher level means the data is more sensitive.", +"id": "GoogleCloudSecuritycenterV2SensitivityScore", +"properties": { +"score": { +"description": "The sensitivity score applied to the resource.", +"enum": [ +"SENSITIVITY_SCORE_LEVEL_UNSPECIFIED", +"SENSITIVITY_LOW", +"SENSITIVITY_UNKNOWN", +"SENSITIVITY_MODERATE", +"SENSITIVITY_HIGH" +], +"enumDescriptions": [ +"Unused.", +"No sensitive information detected. The resource isn't publicly accessible.", +"Unable to determine sensitivity.", +"Medium risk. Contains personally identifiable information (PII), potentially sensitive data, or fields with free-text data that are at a higher risk of having intermittent sensitive data. Consider limiting access.", +"High risk. Sensitive personally identifiable information (SPII) can be present. Exfiltration of data can lead to user data loss. Re-identification of users might be possible. Consider limiting usage and or removing SPII." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2ServiceAccountDelegationInfo": { +"description": "Identity delegation history of an authenticated service account.", +"id": "GoogleCloudSecuritycenterV2ServiceAccountDelegationInfo", +"properties": { +"principalEmail": { +"description": "The email address of a Google account.", +"type": "string" +}, +"principalSubject": { +"description": "A string representing the principal_subject associated with the identity. As compared to `principal_email`, supports principals that aren't associated with email addresses, such as third party principals. For most identities, the format will be `principal://iam.googleapis.com/{identity pool name}/subjects/{subject}` except for some GKE identities (GKE_WORKLOAD, FREEFORM, GKE_HUB_WORKLOAD) that are still in the legacy format `serviceAccount:{identity pool name}[{subject}]`", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2StaticMute": { +"description": "Information about the static mute state. A static mute state overrides any dynamic mute rules that apply to this finding. The static mute state can be set by a static mute rule or by muting the finding directly.", +"id": "GoogleCloudSecuritycenterV2StaticMute", +"properties": { +"applyTime": { +"description": "When the static mute was applied.", +"format": "google-datetime", +"type": "string" +}, +"state": { +"description": "The static mute state. If the value is `MUTED` or `UNMUTED`, then the finding's overall mute state will have the same value.", +"enum": [ +"MUTE_UNSPECIFIED", +"MUTED", +"UNMUTED", +"UNDEFINED" +], +"enumDescriptions": [ +"Unspecified.", +"Finding has been muted.", +"Finding has been unmuted.", +"Finding has never been muted/unmuted." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2Subject": { +"description": "Represents a Kubernetes subject.", +"id": "GoogleCloudSecuritycenterV2Subject", +"properties": { +"kind": { +"description": "Authentication type for the subject.", +"enum": [ +"AUTH_TYPE_UNSPECIFIED", +"USER", +"SERVICEACCOUNT", +"GROUP" +], +"enumDescriptions": [ +"Authentication is not specified.", +"User with valid certificate.", +"Users managed by Kubernetes API with credentials stored as secrets.", +"Collection of users." +], +"type": "string" +}, +"name": { +"description": "Name for the subject.", +"type": "string" +}, +"ns": { +"description": "Namespace for the subject.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2TicketInfo": { +"description": "Information about the ticket, if any, that is being used to track the resolution of the issue that is identified by this finding.", +"id": "GoogleCloudSecuritycenterV2TicketInfo", +"properties": { +"assignee": { +"description": "The assignee of the ticket in the ticket system.", +"type": "string" +}, +"description": { +"description": "The description of the ticket in the ticket system.", +"type": "string" +}, +"id": { +"description": "The identifier of the ticket in the ticket system.", +"type": "string" +}, +"status": { +"description": "The latest status of the ticket, as reported by the ticket system.", +"type": "string" +}, +"updateTime": { +"description": "The time when the ticket was last updated, as reported by the ticket system.", +"format": "google-datetime", +"type": "string" +}, +"uri": { +"description": "The link to the ticket in the ticket system.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2ToxicCombination": { +"description": "Contains details about a group of security issues that, when the issues occur together, represent a greater risk than when the issues occur independently. A group of such issues is referred to as a toxic combination.", +"id": "GoogleCloudSecuritycenterV2ToxicCombination", +"properties": { +"attackExposureScore": { +"description": "The [Attack exposure score](https://cloud.google.com/security-command-center/docs/attack-exposure-learn#attack_exposure_scores) of this toxic combination. The score is a measure of how much this toxic combination exposes one or more high-value resources to potential attack.", +"format": "double", +"type": "number" +}, +"relatedFindings": { +"description": "List of resource names of findings associated with this toxic combination. For example, `organizations/123/sources/456/findings/789`.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2VertexAi": { +"description": "Vertex AI-related information associated with the finding.", +"id": "GoogleCloudSecuritycenterV2VertexAi", +"properties": { +"datasets": { +"description": "Datasets associated with the finding.", +"items": { +"$ref": "GoogleCloudSecuritycenterV2Dataset" +}, +"type": "array" +}, +"pipelines": { +"description": "Pipelines associated with the finding.", +"items": { +"$ref": "GoogleCloudSecuritycenterV2Pipeline" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2Vulnerability": { +"description": "Refers to common vulnerability fields e.g. cve, cvss, cwe etc.", +"id": "GoogleCloudSecuritycenterV2Vulnerability", +"properties": { +"cve": { +"$ref": "GoogleCloudSecuritycenterV2Cve", +"description": "CVE stands for Common Vulnerabilities and Exposures (https://cve.mitre.org/about/)" +}, +"cwes": { +"description": "Represents one or more Common Weakness Enumeration (CWE) information on this vulnerability.", +"items": { +"$ref": "GoogleCloudSecuritycenterV2Cwe" +}, +"type": "array" +}, +"fixedPackage": { +"$ref": "GoogleCloudSecuritycenterV2Package", +"description": "The fixed package is relevant to the finding." +}, +"offendingPackage": { +"$ref": "GoogleCloudSecuritycenterV2Package", +"description": "The offending package is relevant to the finding." +}, +"providerRiskScore": { +"description": "Provider provided risk_score based on multiple factors. The higher the risk score, the more risky the vulnerability is.", +"format": "int64", +"type": "string" +}, +"reachable": { +"description": "Represents whether the vulnerability is reachable (detected via static analysis)", +"type": "boolean" +}, +"securityBulletin": { +"$ref": "GoogleCloudSecuritycenterV2SecurityBulletin", +"description": "The security bulletin is relevant to this finding." +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2YaraRuleSignature": { +"description": "A signature corresponding to a YARA rule.", +"id": "GoogleCloudSecuritycenterV2YaraRuleSignature", +"properties": { +"yaraRule": { +"description": "The name of the YARA rule.", +"type": "string" +} +}, +"type": "object" +}, +"GroupMembership": { +"description": "Contains details about groups of which this finding is a member. A group is a collection of findings that are related in some way.", +"id": "GroupMembership", +"properties": { +"groupId": { +"description": "ID of the group.", +"type": "string" +}, +"groupType": { +"description": "Type of group.", +"enum": [ +"GROUP_TYPE_UNSPECIFIED", +"GROUP_TYPE_TOXIC_COMBINATION", +"GROUP_TYPE_CHOKEPOINT" +], +"enumDescriptions": [ +"Default value.", +"Group represents a toxic combination.", +"Group represents a chokepoint." +], +"type": "string" +} +}, +"type": "object" +}, +"IamBinding": { +"description": "Represents a particular IAM binding, which captures a member's role addition, removal, or state.", +"id": "IamBinding", +"properties": { +"action": { +"description": "The action that was performed on a Binding.", +"enum": [ +"ACTION_UNSPECIFIED", +"ADD", +"REMOVE" +], +"enumDescriptions": [ +"Unspecified.", +"Addition of a Binding.", +"Removal of a Binding." +], +"type": "string" +}, +"member": { +"description": "A single identity requesting access for a Cloud Platform resource, for example, \"foo@google.com\".", +"type": "string" +}, +"role": { +"description": "Role that is assigned to \"members\". For example, \"roles/viewer\", \"roles/editor\", or \"roles/owner\".", +"type": "string" +} +}, +"type": "object" +}, +"Indicator": { +"description": "Represents what's commonly known as an _indicator of compromise_ (IoC) in computer forensics. This is an artifact observed on a network or in an operating system that, with high confidence, indicates a computer intrusion. For more information, see [Indicator of compromise](https://en.wikipedia.org/wiki/Indicator_of_compromise).", +"id": "Indicator", +"properties": { +"domains": { +"description": "List of domains associated to the Finding.", +"items": { +"type": "string" +}, +"type": "array" +}, +"ipAddresses": { +"description": "The list of IP addresses that are associated with the finding.", +"items": { +"type": "string" +}, +"type": "array" +}, +"signatures": { +"description": "The list of matched signatures indicating that the given process is present in the environment.", +"items": { +"$ref": "ProcessSignature" +}, +"type": "array" +}, +"uris": { +"description": "The list of URIs associated to the Findings.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"InfoType": { +"description": "Type of information detected by the API.", +"id": "InfoType", +"properties": { +"name": { +"description": "Name of the information type. Either a name of your choosing when creating a CustomInfoType, or one of the names listed at https://cloud.google.com/sensitive-data-protection/docs/infotypes-reference when specifying a built-in type. When sending Cloud DLP results to Data Catalog, infoType names should conform to the pattern `[A-Za-z0-9$_-]{1,64}`.", +"type": "string" +}, +"sensitivityScore": { +"$ref": "SensitivityScore", +"description": "Optional custom sensitivity for this InfoType. This only applies to data profiling." +}, +"version": { +"description": "Optional version name for this InfoType.", +"type": "string" +} +}, +"type": "object" +}, +"IpRule": { +"description": "IP rule information.", +"id": "IpRule", +"properties": { +"portRanges": { +"description": "Optional. An optional list of ports to which this rule applies. This field is only applicable for the UDP or (S)TCP protocols. Each entry must be either an integer or a range including a min and max port number.", +"items": { +"$ref": "PortRange" +}, +"type": "array" +}, +"protocol": { +"description": "The IP protocol this rule applies to. This value can either be one of the following well known protocol strings (TCP, UDP, ICMP, ESP, AH, IPIP, SCTP) or a string representation of the integer value.", +"type": "string" +} +}, +"type": "object" +}, +"IpRules": { +"description": "IP rules associated with the finding.", +"id": "IpRules", +"properties": { +"allowed": { +"$ref": "Allowed", +"description": "Tuple with allowed rules." +}, +"denied": { +"$ref": "Denied", +"description": "Tuple with denied rules." +}, +"destinationIpRanges": { +"description": "If destination IP ranges are specified, the firewall rule applies only to traffic that has a destination IP address in these ranges. These ranges must be expressed in CIDR format. Only supports IPv4.", +"items": { +"type": "string" +}, +"type": "array" +}, +"direction": { +"description": "The direction that the rule is applicable to, one of ingress or egress.", +"enum": [ +"DIRECTION_UNSPECIFIED", +"INGRESS", +"EGRESS" +], +"enumDescriptions": [ +"Unspecified direction value.", +"Ingress direction value.", +"Egress direction value." +], +"type": "string" +}, +"exposedServices": { +"description": "Name of the network protocol service, such as FTP, that is exposed by the open port. Follows the naming convention available at: https://www.iana.org/assignments/service-names-port-numbers/service-names-port-numbers.xhtml.", +"items": { +"type": "string" +}, +"type": "array" +}, +"sourceIpRanges": { +"description": "If source IP ranges are specified, the firewall rule applies only to traffic that has a source IP address in these ranges. These ranges must be expressed in CIDR format. Only supports IPv4.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"Job": { +"description": "Describes a job", +"id": "Job", +"properties": { +"errorCode": { +"description": "Optional. If the job did not complete successfully, this field describes why.", +"format": "int32", +"type": "integer" +}, +"location": { +"description": "Optional. Gives the location where the job ran, such as `US` or `europe-west1`", +"type": "string" +}, +"name": { +"description": "The fully-qualified name for a job. e.g. `projects//jobs/`", +"type": "string" +}, +"state": { +"description": "Output only. State of the job, such as `RUNNING` or `PENDING`.", +"enum": [ +"JOB_STATE_UNSPECIFIED", +"PENDING", +"RUNNING", +"SUCCEEDED", +"FAILED" +], +"enumDescriptions": [ +"Unspecified represents an unknown state and should not be used.", +"Job is scheduled and pending for run", +"Job in progress", +"Job has completed with success", +"Job has completed but with failure" +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"KernelRootkit": { +"description": "Kernel mode rootkit signatures.", +"id": "KernelRootkit", +"properties": { +"name": { +"description": "Rootkit name, when available.", +"type": "string" +}, +"unexpectedCodeModification": { +"description": "True if unexpected modifications of kernel code memory are present.", +"type": "boolean" +}, +"unexpectedFtraceHandler": { +"description": "True if `ftrace` points are present with callbacks pointing to regions that are not in the expected kernel or module code range.", +"type": "boolean" +}, +"unexpectedInterruptHandler": { +"description": "True if interrupt handlers that are are not in the expected kernel or module code regions are present.", +"type": "boolean" +}, +"unexpectedKernelCodePages": { +"description": "True if kernel code pages that are not in the expected kernel or module code regions are present.", +"type": "boolean" +}, +"unexpectedKprobeHandler": { +"description": "True if `kprobe` points are present with callbacks pointing to regions that are not in the expected kernel or module code range.", +"type": "boolean" +}, +"unexpectedProcessesInRunqueue": { +"description": "True if unexpected processes in the scheduler run queue are present. Such processes are in the run queue, but not in the process task list.", +"type": "boolean" +}, +"unexpectedReadOnlyDataModification": { +"description": "True if unexpected modifications of kernel read-only data memory are present.", +"type": "boolean" +}, +"unexpectedSystemCallHandler": { +"description": "True if system call handlers that are are not in the expected kernel or module code regions are present.", +"type": "boolean" +} +}, +"type": "object" +}, +"Kubernetes": { +"description": "Kubernetes-related attributes.", +"id": "Kubernetes", +"properties": { +"accessReviews": { +"description": "Provides information on any Kubernetes access reviews (privilege checks) relevant to the finding.", +"items": { +"$ref": "AccessReview" +}, +"type": "array" +}, +"bindings": { +"description": "Provides Kubernetes role binding information for findings that involve [RoleBindings or ClusterRoleBindings](https://cloud.google.com/kubernetes-engine/docs/how-to/role-based-access-control).", +"items": { +"$ref": "GoogleCloudSecuritycenterV1Binding" +}, +"type": "array" +}, +"nodePools": { +"description": "GKE [node pools](https://cloud.google.com/kubernetes-engine/docs/concepts/node-pools) associated with the finding. This field contains node pool information for each node, when it is available.", +"items": { +"$ref": "NodePool" +}, +"type": "array" +}, +"nodes": { +"description": "Provides Kubernetes [node](https://cloud.google.com/kubernetes-engine/docs/concepts/cluster-architecture#nodes) information.", +"items": { +"$ref": "Node" +}, +"type": "array" +}, +"objects": { +"description": "Kubernetes objects related to the finding.", +"items": { +"$ref": "Object" +}, +"type": "array" +}, +"pods": { +"description": "Kubernetes [Pods](https://cloud.google.com/kubernetes-engine/docs/concepts/pod) associated with the finding. This field contains Pod records for each container that is owned by a Pod.", +"items": { +"$ref": "Pod" +}, +"type": "array" +}, +"roles": { +"description": "Provides Kubernetes role information for findings that involve [Roles or ClusterRoles](https://cloud.google.com/kubernetes-engine/docs/how-to/role-based-access-control).", +"items": { +"$ref": "Role" +}, +"type": "array" +} +}, +"type": "object" +}, +"Label": { +"description": "Represents a generic name-value label. A label has separate name and value fields to support filtering with the `contains()` function. For more information, see [Filtering on array-type fields](https://cloud.google.com/security-command-center/docs/how-to-api-list-findings#array-contains-filtering).", +"id": "Label", +"properties": { +"name": { +"description": "Name of the label.", +"type": "string" +}, +"value": { +"description": "Value that corresponds to the label's name.", +"type": "string" +} +}, +"type": "object" +}, +"LoadBalancer": { +"description": "Contains information related to the load balancer associated with the finding.", +"id": "LoadBalancer", +"properties": { +"name": { +"description": "The name of the load balancer associated with the finding.", +"type": "string" +} +}, +"type": "object" +}, +"LogEntry": { +"description": "An individual entry in a log.", +"id": "LogEntry", +"properties": { +"cloudLoggingEntry": { +"$ref": "CloudLoggingEntry", +"description": "An individual entry in a log stored in Cloud Logging." +} +}, +"type": "object" +}, +"MemoryHashSignature": { +"description": "A signature corresponding to memory page hashes.", +"id": "MemoryHashSignature", +"properties": { +"binaryFamily": { +"description": "The binary family.", +"type": "string" +}, +"detections": { +"description": "The list of memory hash detections contributing to the binary family match.", +"items": { +"$ref": "Detection" +}, +"type": "array" +} +}, +"type": "object" +}, +"MitreAttack": { +"description": "MITRE ATT&CK tactics and techniques related to this finding. See: https://attack.mitre.org", +"id": "MitreAttack", +"properties": { +"additionalTactics": { +"description": "Additional MITRE ATT&CK tactics related to this finding, if any.", +"items": { +"enum": [ +"TACTIC_UNSPECIFIED", +"RECONNAISSANCE", +"RESOURCE_DEVELOPMENT", +"INITIAL_ACCESS", +"EXECUTION", +"PERSISTENCE", +"PRIVILEGE_ESCALATION", +"DEFENSE_EVASION", +"CREDENTIAL_ACCESS", +"DISCOVERY", +"LATERAL_MOVEMENT", +"COLLECTION", +"COMMAND_AND_CONTROL", +"EXFILTRATION", +"IMPACT" +], +"enumDescriptions": [ +"Unspecified value.", +"TA0043", +"TA0042", +"TA0001", +"TA0002", +"TA0003", +"TA0004", +"TA0005", +"TA0006", +"TA0007", +"TA0008", +"TA0009", +"TA0011", +"TA0010", +"TA0040" +], +"type": "string" +}, +"type": "array" +}, +"additionalTechniques": { +"description": "Additional MITRE ATT&CK techniques related to this finding, if any, along with any of their respective parent techniques.", +"items": { +"enum": [ +"TECHNIQUE_UNSPECIFIED", +"DATA_OBFUSCATION", +"DATA_OBFUSCATION_STEGANOGRAPHY", +"OS_CREDENTIAL_DUMPING", +"OS_CREDENTIAL_DUMPING_PROC_FILESYSTEM", +"OS_CREDENTIAL_DUMPING_ETC_PASSWORD_AND_ETC_SHADOW", +"DATA_FROM_LOCAL_SYSTEM", +"AUTOMATED_EXFILTRATION", +"OBFUSCATED_FILES_OR_INFO", +"STEGANOGRAPHY", +"COMPILE_AFTER_DELIVERY", +"COMMAND_OBFUSCATION", +"SCHEDULED_TRANSFER", +"SYSTEM_OWNER_USER_DISCOVERY", +"MASQUERADING", +"MATCH_LEGITIMATE_NAME_OR_LOCATION", +"BOOT_OR_LOGON_INITIALIZATION_SCRIPTS", +"STARTUP_ITEMS", +"NETWORK_SERVICE_DISCOVERY", +"SCHEDULED_TASK_JOB", +"SCHEDULED_TASK_JOB_CRON", +"CONTAINER_ORCHESTRATION_JOB", +"PROCESS_INJECTION", +"INPUT_CAPTURE", +"INPUT_CAPTURE_KEYLOGGING", +"PROCESS_DISCOVERY", +"COMMAND_AND_SCRIPTING_INTERPRETER", +"UNIX_SHELL", +"PYTHON", +"EXPLOITATION_FOR_PRIVILEGE_ESCALATION", +"PERMISSION_GROUPS_DISCOVERY", +"CLOUD_GROUPS", +"INDICATOR_REMOVAL", +"INDICATOR_REMOVAL_CLEAR_LINUX_OR_MAC_SYSTEM_LOGS", +"INDICATOR_REMOVAL_CLEAR_COMMAND_HISTORY", +"INDICATOR_REMOVAL_FILE_DELETION", +"INDICATOR_REMOVAL_TIMESTOMP", +"INDICATOR_REMOVAL_CLEAR_MAILBOX_DATA", +"APPLICATION_LAYER_PROTOCOL", +"DNS", +"SOFTWARE_DEPLOYMENT_TOOLS", +"VALID_ACCOUNTS", +"DEFAULT_ACCOUNTS", +"LOCAL_ACCOUNTS", +"CLOUD_ACCOUNTS", +"FILE_AND_DIRECTORY_DISCOVERY", +"ACCOUNT_DISCOVERY_LOCAL_ACCOUNT", +"PROXY", +"EXTERNAL_PROXY", +"MULTI_HOP_PROXY", +"ACCOUNT_MANIPULATION", +"ADDITIONAL_CLOUD_CREDENTIALS", +"ADDITIONAL_CLOUD_ROLES", +"SSH_AUTHORIZED_KEYS", +"ADDITIONAL_CONTAINER_CLUSTER_ROLES", +"MULTI_STAGE_CHANNELS", +"INGRESS_TOOL_TRANSFER", +"NATIVE_API", +"BRUTE_FORCE", +"AUTOMATED_COLLECTION", +"SHARED_MODULES", +"DATA_ENCODING", +"STANDARD_ENCODING", +"ACCESS_TOKEN_MANIPULATION", +"TOKEN_IMPERSONATION_OR_THEFT", +"CREATE_ACCOUNT", +"LOCAL_ACCOUNT", +"DEOBFUSCATE_DECODE_FILES_OR_INFO", +"EXPLOIT_PUBLIC_FACING_APPLICATION", +"SUPPLY_CHAIN_COMPROMISE", +"COMPROMISE_SOFTWARE_DEPENDENCIES_AND_DEVELOPMENT_TOOLS", +"EXPLOITATION_FOR_CLIENT_EXECUTION", +"USER_EXECUTION", +"EXPLOITATION_FOR_CREDENTIAL_ACCESS", +"LINUX_AND_MAC_FILE_AND_DIRECTORY_PERMISSIONS_MODIFICATION", +"DOMAIN_POLICY_MODIFICATION", +"DATA_DESTRUCTION", +"DATA_ENCRYPTED_FOR_IMPACT", +"SERVICE_STOP", +"INHIBIT_SYSTEM_RECOVERY", +"FIRMWARE_CORRUPTION", +"RESOURCE_HIJACKING", +"NETWORK_DENIAL_OF_SERVICE", +"CLOUD_SERVICE_DISCOVERY", +"STEAL_APPLICATION_ACCESS_TOKEN", +"ACCOUNT_ACCESS_REMOVAL", +"TRANSFER_DATA_TO_CLOUD_ACCOUNT", +"STEAL_WEB_SESSION_COOKIE", +"CREATE_OR_MODIFY_SYSTEM_PROCESS", +"EVENT_TRIGGERED_EXECUTION", +"BOOT_OR_LOGON_AUTOSTART_EXECUTION", +"KERNEL_MODULES_AND_EXTENSIONS", +"SHORTCUT_MODIFICATION", +"ABUSE_ELEVATION_CONTROL_MECHANISM", +"ABUSE_ELEVATION_CONTROL_MECHANISM_SETUID_AND_SETGID", +"ABUSE_ELEVATION_CONTROL_MECHANISM_SUDO_AND_SUDO_CACHING", +"UNSECURED_CREDENTIALS", +"CREDENTIALS_IN_FILES", +"BASH_HISTORY", +"PRIVATE_KEYS", +"SUBVERT_TRUST_CONTROL", +"INSTALL_ROOT_CERTIFICATE", +"COMPROMISE_HOST_SOFTWARE_BINARY", +"CREDENTIALS_FROM_PASSWORD_STORES", +"MODIFY_AUTHENTICATION_PROCESS", +"PLUGGABLE_AUTHENTICATION_MODULES", +"MULTI_FACTOR_AUTHENTICATION", +"IMPAIR_DEFENSES", +"DISABLE_OR_MODIFY_TOOLS", +"INDICATOR_BLOCKING", +"DISABLE_OR_MODIFY_LINUX_AUDIT_SYSTEM", +"HIDE_ARTIFACTS", +"HIDDEN_FILES_AND_DIRECTORIES", +"HIDDEN_USERS", +"EXFILTRATION_OVER_WEB_SERVICE", +"EXFILTRATION_TO_CLOUD_STORAGE", +"DYNAMIC_RESOLUTION", +"LATERAL_TOOL_TRANSFER", +"HIJACK_EXECUTION_FLOW", +"HIJACK_EXECUTION_FLOW_DYNAMIC_LINKER_HIJACKING", +"MODIFY_CLOUD_COMPUTE_INFRASTRUCTURE", +"CREATE_SNAPSHOT", +"CLOUD_INFRASTRUCTURE_DISCOVERY", +"DEVELOP_CAPABILITIES", +"DEVELOP_CAPABILITIES_MALWARE", +"OBTAIN_CAPABILITIES", +"OBTAIN_CAPABILITIES_MALWARE", +"OBTAIN_CAPABILITIES_VULNERABILITIES", +"ACTIVE_SCANNING", +"SCANNING_IP_BLOCKS", +"STAGE_CAPABILITIES", +"UPLOAD_MALWARE", +"CONTAINER_ADMINISTRATION_COMMAND", +"DEPLOY_CONTAINER", +"ESCAPE_TO_HOST", +"CONTAINER_AND_RESOURCE_DISCOVERY", +"REFLECTIVE_CODE_LOADING", +"STEAL_OR_FORGE_AUTHENTICATION_CERTIFICATES", +"FINANCIAL_THEFT" +], +"enumDescriptions": [ +"Unspecified value.", +"T1001", +"T1001.002", +"T1003", +"T1003.007", +"T1003.008", +"T1005", +"T1020", +"T1027", +"T1027.003", +"T1027.004", +"T1027.010", +"T1029", +"T1033", +"T1036", +"T1036.005", +"T1037", +"T1037.005", +"T1046", +"T1053", +"T1053.003", +"T1053.007", +"T1055", +"T1056", +"T1056.001", +"T1057", +"T1059", +"T1059.004", +"T1059.006", +"T1068", +"T1069", +"T1069.003", +"T1070", +"T1070.002", +"T1070.003", +"T1070.004", +"T1070.006", +"T1070.008", +"T1071", +"T1071.004", +"T1072", +"T1078", +"T1078.001", +"T1078.003", +"T1078.004", +"T1083", +"T1087.001", +"T1090", +"T1090.002", +"T1090.003", +"T1098", +"T1098.001", +"T1098.003", +"T1098.004", +"T1098.006", +"T1104", +"T1105", +"T1106", +"T1110", +"T1119", +"T1129", +"T1132", +"T1132.001", +"T1134", +"T1134.001", +"T1136", +"T1136.001", +"T1140", +"T1190", +"T1195", +"T1195.001", +"T1203", +"T1204", +"T1212", +"T1222.002", +"T1484", +"T1485", +"T1486", +"T1489", +"T1490", +"T1495", +"T1496", +"T1498", +"T1526", +"T1528", +"T1531", +"T1537", +"T1539", +"T1543", +"T1546", +"T1547", +"T1547.006", +"T1547.009", +"T1548", +"T1548.001", +"T1548.003", +"T1552", +"T1552.001", +"T1552.003", +"T1552.004", +"T1553", +"T1553.004", +"T1554", +"T1555", +"T1556", +"T1556.003", +"T1556.006", +"T1562", +"T1562.001", +"T1562.006", +"T1562.012", +"T1564", +"T1564.001", +"T1564.002", +"T1567", +"T1567.002", +"T1568", +"T1570", +"T1574", +"T1574.006", +"T1578", +"T1578.001", +"T1580", +"T1587", +"T1587.001", +"T1588", +"T1588.001", +"T1588.006", +"T1595", +"T1595.001", +"T1608", +"T1608.001", +"T1609", +"T1610", +"T1611", +"T1613", +"T1620", +"T1649", +"T1657" +], +"type": "string" +}, +"type": "array" +}, +"primaryTactic": { +"description": "The MITRE ATT&CK tactic most closely represented by this finding, if any.", +"enum": [ +"TACTIC_UNSPECIFIED", +"RECONNAISSANCE", +"RESOURCE_DEVELOPMENT", +"INITIAL_ACCESS", +"EXECUTION", +"PERSISTENCE", +"PRIVILEGE_ESCALATION", +"DEFENSE_EVASION", +"CREDENTIAL_ACCESS", +"DISCOVERY", +"LATERAL_MOVEMENT", +"COLLECTION", +"COMMAND_AND_CONTROL", +"EXFILTRATION", +"IMPACT" +], +"enumDescriptions": [ +"Unspecified value.", +"TA0043", +"TA0042", +"TA0001", +"TA0002", +"TA0003", +"TA0004", +"TA0005", +"TA0006", +"TA0007", +"TA0008", +"TA0009", +"TA0011", +"TA0010", +"TA0040" +], +"type": "string" +}, +"primaryTechniques": { +"description": "The MITRE ATT&CK technique most closely represented by this finding, if any. primary_techniques is a repeated field because there are multiple levels of MITRE ATT&CK techniques. If the technique most closely represented by this finding is a sub-technique (e.g. `SCANNING_IP_BLOCKS`), both the sub-technique and its parent technique(s) will be listed (e.g. `SCANNING_IP_BLOCKS`, `ACTIVE_SCANNING`).", +"items": { +"enum": [ +"TECHNIQUE_UNSPECIFIED", +"DATA_OBFUSCATION", +"DATA_OBFUSCATION_STEGANOGRAPHY", +"OS_CREDENTIAL_DUMPING", +"OS_CREDENTIAL_DUMPING_PROC_FILESYSTEM", +"OS_CREDENTIAL_DUMPING_ETC_PASSWORD_AND_ETC_SHADOW", +"DATA_FROM_LOCAL_SYSTEM", +"AUTOMATED_EXFILTRATION", +"OBFUSCATED_FILES_OR_INFO", +"STEGANOGRAPHY", +"COMPILE_AFTER_DELIVERY", +"COMMAND_OBFUSCATION", +"SCHEDULED_TRANSFER", +"SYSTEM_OWNER_USER_DISCOVERY", +"MASQUERADING", +"MATCH_LEGITIMATE_NAME_OR_LOCATION", +"BOOT_OR_LOGON_INITIALIZATION_SCRIPTS", +"STARTUP_ITEMS", +"NETWORK_SERVICE_DISCOVERY", +"SCHEDULED_TASK_JOB", +"SCHEDULED_TASK_JOB_CRON", +"CONTAINER_ORCHESTRATION_JOB", +"PROCESS_INJECTION", +"INPUT_CAPTURE", +"INPUT_CAPTURE_KEYLOGGING", +"PROCESS_DISCOVERY", +"COMMAND_AND_SCRIPTING_INTERPRETER", +"UNIX_SHELL", +"PYTHON", +"EXPLOITATION_FOR_PRIVILEGE_ESCALATION", +"PERMISSION_GROUPS_DISCOVERY", +"CLOUD_GROUPS", +"INDICATOR_REMOVAL", +"INDICATOR_REMOVAL_CLEAR_LINUX_OR_MAC_SYSTEM_LOGS", +"INDICATOR_REMOVAL_CLEAR_COMMAND_HISTORY", +"INDICATOR_REMOVAL_FILE_DELETION", +"INDICATOR_REMOVAL_TIMESTOMP", +"INDICATOR_REMOVAL_CLEAR_MAILBOX_DATA", +"APPLICATION_LAYER_PROTOCOL", +"DNS", +"SOFTWARE_DEPLOYMENT_TOOLS", +"VALID_ACCOUNTS", +"DEFAULT_ACCOUNTS", +"LOCAL_ACCOUNTS", +"CLOUD_ACCOUNTS", +"FILE_AND_DIRECTORY_DISCOVERY", +"ACCOUNT_DISCOVERY_LOCAL_ACCOUNT", +"PROXY", +"EXTERNAL_PROXY", +"MULTI_HOP_PROXY", +"ACCOUNT_MANIPULATION", +"ADDITIONAL_CLOUD_CREDENTIALS", +"ADDITIONAL_CLOUD_ROLES", +"SSH_AUTHORIZED_KEYS", +"ADDITIONAL_CONTAINER_CLUSTER_ROLES", +"MULTI_STAGE_CHANNELS", +"INGRESS_TOOL_TRANSFER", +"NATIVE_API", +"BRUTE_FORCE", +"AUTOMATED_COLLECTION", +"SHARED_MODULES", +"DATA_ENCODING", +"STANDARD_ENCODING", +"ACCESS_TOKEN_MANIPULATION", +"TOKEN_IMPERSONATION_OR_THEFT", +"CREATE_ACCOUNT", +"LOCAL_ACCOUNT", +"DEOBFUSCATE_DECODE_FILES_OR_INFO", +"EXPLOIT_PUBLIC_FACING_APPLICATION", +"SUPPLY_CHAIN_COMPROMISE", +"COMPROMISE_SOFTWARE_DEPENDENCIES_AND_DEVELOPMENT_TOOLS", +"EXPLOITATION_FOR_CLIENT_EXECUTION", +"USER_EXECUTION", +"EXPLOITATION_FOR_CREDENTIAL_ACCESS", +"LINUX_AND_MAC_FILE_AND_DIRECTORY_PERMISSIONS_MODIFICATION", +"DOMAIN_POLICY_MODIFICATION", +"DATA_DESTRUCTION", +"DATA_ENCRYPTED_FOR_IMPACT", +"SERVICE_STOP", +"INHIBIT_SYSTEM_RECOVERY", +"FIRMWARE_CORRUPTION", +"RESOURCE_HIJACKING", +"NETWORK_DENIAL_OF_SERVICE", +"CLOUD_SERVICE_DISCOVERY", +"STEAL_APPLICATION_ACCESS_TOKEN", +"ACCOUNT_ACCESS_REMOVAL", +"TRANSFER_DATA_TO_CLOUD_ACCOUNT", +"STEAL_WEB_SESSION_COOKIE", +"CREATE_OR_MODIFY_SYSTEM_PROCESS", +"EVENT_TRIGGERED_EXECUTION", +"BOOT_OR_LOGON_AUTOSTART_EXECUTION", +"KERNEL_MODULES_AND_EXTENSIONS", +"SHORTCUT_MODIFICATION", +"ABUSE_ELEVATION_CONTROL_MECHANISM", +"ABUSE_ELEVATION_CONTROL_MECHANISM_SETUID_AND_SETGID", +"ABUSE_ELEVATION_CONTROL_MECHANISM_SUDO_AND_SUDO_CACHING", +"UNSECURED_CREDENTIALS", +"CREDENTIALS_IN_FILES", +"BASH_HISTORY", +"PRIVATE_KEYS", +"SUBVERT_TRUST_CONTROL", +"INSTALL_ROOT_CERTIFICATE", +"COMPROMISE_HOST_SOFTWARE_BINARY", +"CREDENTIALS_FROM_PASSWORD_STORES", +"MODIFY_AUTHENTICATION_PROCESS", +"PLUGGABLE_AUTHENTICATION_MODULES", +"MULTI_FACTOR_AUTHENTICATION", +"IMPAIR_DEFENSES", +"DISABLE_OR_MODIFY_TOOLS", +"INDICATOR_BLOCKING", +"DISABLE_OR_MODIFY_LINUX_AUDIT_SYSTEM", +"HIDE_ARTIFACTS", +"HIDDEN_FILES_AND_DIRECTORIES", +"HIDDEN_USERS", +"EXFILTRATION_OVER_WEB_SERVICE", +"EXFILTRATION_TO_CLOUD_STORAGE", +"DYNAMIC_RESOLUTION", +"LATERAL_TOOL_TRANSFER", +"HIJACK_EXECUTION_FLOW", +"HIJACK_EXECUTION_FLOW_DYNAMIC_LINKER_HIJACKING", +"MODIFY_CLOUD_COMPUTE_INFRASTRUCTURE", +"CREATE_SNAPSHOT", +"CLOUD_INFRASTRUCTURE_DISCOVERY", +"DEVELOP_CAPABILITIES", +"DEVELOP_CAPABILITIES_MALWARE", +"OBTAIN_CAPABILITIES", +"OBTAIN_CAPABILITIES_MALWARE", +"OBTAIN_CAPABILITIES_VULNERABILITIES", +"ACTIVE_SCANNING", +"SCANNING_IP_BLOCKS", +"STAGE_CAPABILITIES", +"UPLOAD_MALWARE", +"CONTAINER_ADMINISTRATION_COMMAND", +"DEPLOY_CONTAINER", +"ESCAPE_TO_HOST", +"CONTAINER_AND_RESOURCE_DISCOVERY", +"REFLECTIVE_CODE_LOADING", +"STEAL_OR_FORGE_AUTHENTICATION_CERTIFICATES", +"FINANCIAL_THEFT" +], +"enumDescriptions": [ +"Unspecified value.", +"T1001", +"T1001.002", +"T1003", +"T1003.007", +"T1003.008", +"T1005", +"T1020", +"T1027", +"T1027.003", +"T1027.004", +"T1027.010", +"T1029", +"T1033", +"T1036", +"T1036.005", +"T1037", +"T1037.005", +"T1046", +"T1053", +"T1053.003", +"T1053.007", +"T1055", +"T1056", +"T1056.001", +"T1057", +"T1059", +"T1059.004", +"T1059.006", +"T1068", +"T1069", +"T1069.003", +"T1070", +"T1070.002", +"T1070.003", +"T1070.004", +"T1070.006", +"T1070.008", +"T1071", +"T1071.004", +"T1072", +"T1078", +"T1078.001", +"T1078.003", +"T1078.004", +"T1083", +"T1087.001", +"T1090", +"T1090.002", +"T1090.003", +"T1098", +"T1098.001", +"T1098.003", +"T1098.004", +"T1098.006", +"T1104", +"T1105", +"T1106", +"T1110", +"T1119", +"T1129", +"T1132", +"T1132.001", +"T1134", +"T1134.001", +"T1136", +"T1136.001", +"T1140", +"T1190", +"T1195", +"T1195.001", +"T1203", +"T1204", +"T1212", +"T1222.002", +"T1484", +"T1485", +"T1486", +"T1489", +"T1490", +"T1495", +"T1496", +"T1498", +"T1526", +"T1528", +"T1531", +"T1537", +"T1539", +"T1543", +"T1546", +"T1547", +"T1547.006", +"T1547.009", +"T1548", +"T1548.001", +"T1548.003", +"T1552", +"T1552.001", +"T1552.003", +"T1552.004", +"T1553", +"T1553.004", +"T1554", +"T1555", +"T1556", +"T1556.003", +"T1556.006", +"T1562", +"T1562.001", +"T1562.006", +"T1562.012", +"T1564", +"T1564.001", +"T1564.002", +"T1567", +"T1567.002", +"T1568", +"T1570", +"T1574", +"T1574.006", +"T1578", +"T1578.001", +"T1580", +"T1587", +"T1587.001", +"T1588", +"T1588.001", +"T1588.006", +"T1595", +"T1595.001", +"T1608", +"T1608.001", +"T1609", +"T1610", +"T1611", +"T1613", +"T1620", +"T1649", +"T1657" +], +"type": "string" +}, +"type": "array" +}, +"version": { +"description": "The MITRE ATT&CK version referenced by the above fields. E.g. \"8\".", +"type": "string" +} +}, +"type": "object" +}, +"MuteInfo": { +"description": "Mute information about the finding, including whether the finding has a static mute or any matching dynamic mute rules.", +"id": "MuteInfo", +"properties": { +"dynamicMuteRecords": { +"description": "The list of dynamic mute rules that currently match the finding.", +"items": { +"$ref": "DynamicMuteRecord" +}, +"type": "array" +}, +"staticMute": { +"$ref": "StaticMute", +"description": "If set, the static mute applied to this finding. Static mutes override dynamic mutes. If unset, there is no static mute." +} +}, +"type": "object" +}, +"Network": { +"description": "Contains information about a VPC network associated with the finding.", +"id": "Network", +"properties": { +"name": { +"description": "The name of the VPC network resource, for example, `//compute.googleapis.com/projects/my-project/global/networks/my-network`.", +"type": "string" +} +}, +"type": "object" +}, +"Node": { +"description": "Kubernetes nodes associated with the finding.", +"id": "Node", +"properties": { +"name": { +"description": "[Full resource name](https://google.aip.dev/122#full-resource-names) of the Compute Engine VM running the cluster node.", +"type": "string" +} +}, +"type": "object" +}, +"NodePool": { +"description": "Provides GKE node pool information.", +"id": "NodePool", +"properties": { +"name": { +"description": "Kubernetes node pool name.", +"type": "string" +}, +"nodes": { +"description": "Nodes associated with the finding.", +"items": { +"$ref": "Node" +}, +"type": "array" +} +}, +"type": "object" +}, +"Notebook": { +"description": "Represents a Jupyter notebook IPYNB file, such as a [Colab Enterprise notebook](https://cloud.google.com/colab/docs/introduction) file, that is associated with a finding.", +"id": "Notebook", +"properties": { +"lastAuthor": { +"description": "The user ID of the latest author to modify the notebook.", +"type": "string" +}, +"name": { +"description": "The name of the notebook.", +"type": "string" +}, +"notebookUpdateTime": { +"description": "The most recent time the notebook was updated.", +"format": "google-datetime", +"type": "string" +}, +"service": { +"description": "The source notebook service, for example, \"Colab Enterprise\".", +"type": "string" +} +}, +"type": "object" +}, +"Object": { +"description": "Kubernetes object related to the finding, uniquely identified by GKNN. Used if the object Kind is not one of Pod, Node, NodePool, Binding, or AccessReview.", +"id": "Object", +"properties": { +"containers": { +"description": "Pod containers associated with this finding, if any.", +"items": { +"$ref": "Container" +}, +"type": "array" +}, +"group": { +"description": "Kubernetes object group, such as \"policy.k8s.io/v1\".", +"type": "string" +}, +"kind": { +"description": "Kubernetes object kind, such as \"Namespace\".", +"type": "string" +}, +"name": { +"description": "Kubernetes object name. For details see https://kubernetes.io/docs/concepts/overview/working-with-objects/names/.", +"type": "string" +}, +"ns": { +"description": "Kubernetes object namespace. Must be a valid DNS label. Named \"ns\" to avoid collision with C++ namespace keyword. For details see https://kubernetes.io/docs/tasks/administer-cluster/namespaces/.", +"type": "string" +} +}, +"type": "object" +}, +"OrgPolicy": { +"description": "Contains information about the org policies associated with the finding.", +"id": "OrgPolicy", +"properties": { +"name": { +"description": "The resource name of the org policy. Example: \"organizations/{organization_id}/policies/{constraint_name}\"", +"type": "string" +} +}, +"type": "object" +}, +"Package": { +"description": "Package is a generic definition of a package.", +"id": "Package", +"properties": { +"cpeUri": { +"description": "The CPE URI where the vulnerability was detected.", +"type": "string" +}, +"packageName": { +"description": "The name of the package where the vulnerability was detected.", +"type": "string" +}, +"packageType": { +"description": "Type of package, for example, os, maven, or go.", +"type": "string" +}, +"packageVersion": { +"description": "The version of the package.", +"type": "string" +} +}, +"type": "object" +}, +"Pipeline": { +"description": "Vertex AI training pipeline associated with the finding.", +"id": "Pipeline", +"properties": { +"displayName": { +"description": "The user defined display name of pipeline, e.g. plants-classification", +"type": "string" +}, +"name": { +"description": "Resource name of the pipeline, e.g. projects/{project}/locations/{location}/trainingPipelines/5253428229225578496", +"type": "string" +} +}, +"type": "object" +}, +"Pod": { +"description": "A Kubernetes Pod.", +"id": "Pod", +"properties": { +"containers": { +"description": "Pod containers associated with this finding, if any.", +"items": { +"$ref": "Container" +}, +"type": "array" +}, +"labels": { +"description": "Pod labels. For Kubernetes containers, these are applied to the container.", +"items": { +"$ref": "Label" +}, +"type": "array" +}, +"name": { +"description": "Kubernetes Pod name.", +"type": "string" +}, +"ns": { +"description": "Kubernetes Pod namespace.", +"type": "string" +} +}, +"type": "object" +}, +"PolicyDriftDetails": { +"description": "The policy field that violates the deployed posture and its expected and detected values.", +"id": "PolicyDriftDetails", +"properties": { +"detectedValue": { +"description": "The detected value that violates the deployed posture, for example, `false` or `allowed_values={\"projects/22831892\"}`.", +"type": "string" +}, +"expectedValue": { +"description": "The value of this field that was configured in a posture, for example, `true` or `allowed_values={\"projects/29831892\"}`.", +"type": "string" +}, +"field": { +"description": "The name of the updated field, for example constraint.implementation.policy_rules[0].enforce", +"type": "string" +} +}, +"type": "object" +}, +"PortRange": { +"description": "A port range which is inclusive of the min and max values. Values are between 0 and 2^16-1. The max can be equal / must be not smaller than the min value. If min and max are equal this indicates that it is a single port.", +"id": "PortRange", +"properties": { +"max": { +"description": "Maximum port value.", +"format": "int64", +"type": "string" +}, +"min": { +"description": "Minimum port value.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"Process": { +"description": "Represents an operating system process.", +"id": "Process", +"properties": { +"args": { +"description": "Process arguments as JSON encoded strings.", +"items": { +"type": "string" +}, +"type": "array" +}, +"argumentsTruncated": { +"description": "True if `args` is incomplete.", +"type": "boolean" +}, +"binary": { +"$ref": "File", +"description": "File information for the process executable." +}, +"envVariables": { +"description": "Process environment variables.", +"items": { +"$ref": "EnvironmentVariable" +}, +"type": "array" +}, +"envVariablesTruncated": { +"description": "True if `env_variables` is incomplete.", +"type": "boolean" +}, +"libraries": { +"description": "File information for libraries loaded by the process.", +"items": { +"$ref": "File" +}, +"type": "array" +}, +"name": { +"description": "The process name, as displayed in utilities like `top` and `ps`. This name can be accessed through `/proc/[pid]/comm` and changed with `prctl(PR_SET_NAME)`.", +"type": "string" +}, +"parentPid": { +"description": "The parent process ID.", +"format": "int64", +"type": "string" +}, +"pid": { +"description": "The process ID.", +"format": "int64", +"type": "string" +}, +"script": { +"$ref": "File", +"description": "When the process represents the invocation of a script, `binary` provides information about the interpreter, while `script` provides information about the script file provided to the interpreter." +}, +"userId": { +"description": "The ID of the user that executed the process. E.g. If this is the root user this will always be 0.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"ProcessSignature": { +"description": "Indicates what signature matched this process.", +"id": "ProcessSignature", +"properties": { +"memoryHashSignature": { +"$ref": "MemoryHashSignature", +"description": "Signature indicating that a binary family was matched." +}, +"signatureType": { +"description": "Describes the type of resource associated with the signature.", +"enum": [ +"SIGNATURE_TYPE_UNSPECIFIED", +"SIGNATURE_TYPE_PROCESS", +"SIGNATURE_TYPE_FILE" +], +"enumDescriptions": [ +"The default signature type.", +"Used for signatures concerning processes.", +"Used for signatures concerning disks." +], +"type": "string" +}, +"yaraRuleSignature": { +"$ref": "YaraRuleSignature", +"description": "Signature indicating that a YARA rule was matched." +} +}, +"type": "object" +}, +"RapidVulnerabilityDetectionSettings": { +"description": "Resource capturing the settings for the Rapid Vulnerability Detection service.", +"id": "RapidVulnerabilityDetectionSettings", +"properties": { +"modules": { +"additionalProperties": { +"$ref": "Config" +}, +"description": "The configurations including the state of enablement for the service's different modules. The absence of a module in the map implies its configuration is inherited from its parent's.", +"type": "object" +}, +"name": { +"description": "The resource name of the RapidVulnerabilityDetectionSettings. Formats: * organizations/{organization}/rapidVulnerabilityDetectionSettings * folders/{folder}/rapidVulnerabilityDetectionSettings * projects/{project}/rapidVulnerabilityDetectionSettings", +"type": "string" +}, +"serviceEnablementState": { +"description": "The state of enablement for the service at its level of the resource hierarchy. A DISABLED state will override all module enablement_states to DISABLED.", +"enum": [ +"ENABLEMENT_STATE_UNSPECIFIED", +"INHERITED", +"ENABLED", +"DISABLED" +], +"enumDescriptions": [ +"Default value. This value is unused.", +"State is inherited from the parent resource.", +"State is enabled.", +"State is disabled." +], +"type": "string" +}, +"updateTime": { +"description": "Output only. The time the settings were last updated.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"Reference": { +"description": "Additional Links", +"id": "Reference", +"properties": { +"source": { +"description": "Source of the reference e.g. NVD", +"type": "string" +}, +"uri": { +"description": "Uri for the mentioned source e.g. https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-34527.", +"type": "string" +} +}, +"type": "object" +}, +"Requests": { +"description": "Information about the requests relevant to the finding.", +"id": "Requests", +"properties": { +"longTermAllowed": { +"description": "Allowed RPS (requests per second) over the long term.", +"format": "int32", +"type": "integer" +}, +"longTermDenied": { +"description": "Denied RPS (requests per second) over the long term.", +"format": "int32", +"type": "integer" +}, +"ratio": { +"description": "For 'Increasing deny ratio', the ratio is the denied traffic divided by the allowed traffic. For 'Allowed traffic spike', the ratio is the allowed traffic in the short term divided by allowed traffic in the long term.", +"format": "double", +"type": "number" +}, +"shortTermAllowed": { +"description": "Allowed RPS (requests per second) in the short term.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"ResourcePath": { +"description": "Represents the path of resources leading up to the resource this finding is about.", +"id": "ResourcePath", +"properties": { +"nodes": { +"description": "The list of nodes that make the up resource path, ordered from lowest level to highest level.", +"items": { +"$ref": "ResourcePathNode" +}, +"type": "array" +} +}, +"type": "object" +}, +"ResourcePathNode": { +"description": "A node within the resource path. Each node represents a resource within the resource hierarchy.", +"id": "ResourcePathNode", +"properties": { +"displayName": { +"description": "The display name of the resource this node represents.", +"type": "string" +}, +"id": { +"description": "The ID of the resource this node represents.", +"type": "string" +}, +"nodeType": { +"description": "The type of resource this node represents.", +"enum": [ +"RESOURCE_PATH_NODE_TYPE_UNSPECIFIED", +"GCP_ORGANIZATION", +"GCP_FOLDER", +"GCP_PROJECT", +"AWS_ORGANIZATION", +"AWS_ORGANIZATIONAL_UNIT", +"AWS_ACCOUNT", +"AZURE_MANAGEMENT_GROUP", +"AZURE_SUBSCRIPTION", +"AZURE_RESOURCE_GROUP" +], +"enumDescriptions": [ +"Node type is unspecified.", +"The node represents a Google Cloud organization.", +"The node represents a Google Cloud folder.", +"The node represents a Google Cloud project.", +"The node represents an AWS organization.", +"The node represents an AWS organizational unit.", +"The node represents an AWS account.", +"The node represents an Azure management group.", +"The node represents an Azure subscription.", +"The node represents an Azure resource group." +], +"type": "string" +} +}, +"type": "object" +}, +"Role": { +"description": "Kubernetes Role or ClusterRole.", +"id": "Role", +"properties": { +"kind": { +"description": "Role type.", +"enum": [ +"KIND_UNSPECIFIED", +"ROLE", +"CLUSTER_ROLE" +], +"enumDescriptions": [ +"Role type is not specified.", +"Kubernetes Role.", +"Kubernetes ClusterRole." +], +"type": "string" +}, +"name": { +"description": "Role name.", +"type": "string" +}, +"ns": { +"description": "Role namespace.", +"type": "string" +} +}, +"type": "object" +}, +"Secret": { +"description": "Details about a secret or credential associated with the finding.", +"id": "Secret", +"properties": { +"environmentVariable": { +"$ref": "SecretEnvironmentVariable", +"description": "The environment variable containing the secret." +}, +"filePath": { +"$ref": "SecretFilePath", +"description": "The file containing the secret." +}, +"status": { +"$ref": "SecretStatus", +"description": "The status of the secret." +}, +"type": { +"description": "The type of secret, for example, GCP_API_KEY.", +"type": "string" +} +}, +"type": "object" +}, +"SecretEnvironmentVariable": { +"description": "Environment variable containing the secret.", +"id": "SecretEnvironmentVariable", +"properties": { +"key": { +"description": "Environment variable name as a JSON encoded string. Note that value is not included since the value contains the secret data, which is sensitive core content.", +"type": "string" +} +}, +"type": "object" +}, +"SecretFilePath": { +"description": "File path containing the secret.", +"id": "SecretFilePath", +"properties": { +"path": { +"description": "Path to the file.", +"type": "string" +} +}, +"type": "object" +}, +"SecretStatus": { +"description": "The status of the secret.", +"id": "SecretStatus", +"properties": { +"lastUpdatedTime": { +"description": "Time that the secret was found.", +"format": "google-datetime", +"type": "string" +}, +"validity": { +"description": "The validity of the secret.", +"enum": [ +"SECRET_VALIDITY_UNSPECIFIED", +"SECRET_VALIDITY_UNSUPPORTED", +"SECRET_VALIDITY_FAILED", +"SECRET_VALIDITY_INVALID", +"SECRET_VALIDITY_VALID" +], +"enumDescriptions": [ +"Default value; no validation was attempted.", +"There is no mechanism to validate the secret.", +"Validation is supported but the validation failed.", +"The secret is confirmed to be invalid.", +"The secret is confirmed to be valid." +], +"type": "string" +} +}, +"type": "object" +}, +"SecurityBulletin": { +"description": "SecurityBulletin are notifications of vulnerabilities of Google products.", +"id": "SecurityBulletin", +"properties": { +"bulletinId": { +"description": "ID of the bulletin corresponding to the vulnerability.", +"type": "string" +}, +"submissionTime": { +"description": "Submission time of this Security Bulletin.", +"format": "google-datetime", +"type": "string" +}, +"suggestedUpgradeVersion": { +"description": "This represents a version that the cluster receiving this notification should be upgraded to, based on its current version. For example, 1.15.0", +"type": "string" +} +}, +"type": "object" +}, +"SecurityCenterSettings": { +"description": "Resource capturing the settings for Security Center.", +"id": "SecurityCenterSettings", +"properties": { +"cryptoKeyName": { +"description": "The KMS key name used for CMEK encryption. Format: projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{key_name}", +"type": "string" +}, +"logSinkProject": { +"description": "The resource name of the project to send logs to. This project must be part of the organization this resource resides in. The format is `projects/{project_id}`. An empty value disables logging. This value is only referenced by services that support log sink. Please refer to the documentation for an updated list of compatible services. This may only be specified for organization level onboarding.", +"type": "string" +}, +"name": { +"description": "The resource name of the SecurityCenterSettings. Format: organizations/{organization}/securityCenterSettings Format: folders/{folder}/securityCenterSettings Format: projects/{project}/securityCenterSettings", +"type": "string" +}, +"onboardingTime": { +"description": "Output only. Timestamp of when the customer organization was onboarded to SCC.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"orgServiceAccount": { +"description": "Output only. The organization level service account to be used for security center components.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"SecurityHealthAnalyticsSettings": { +"description": "Resource capturing the settings for the Security Health Analytics service.", +"id": "SecurityHealthAnalyticsSettings", +"properties": { +"modules": { +"additionalProperties": { +"$ref": "Config" +}, +"description": "The configurations including the state of enablement for the service's different modules. The absence of a module in the map implies its configuration is inherited from its parent's configuration.", +"type": "object" +}, +"name": { +"description": "Identifier. The resource name of the SecurityHealthAnalyticsSettings. Formats: * organizations/{organization}/securityHealthAnalyticsSettings * folders/{folder}/securityHealthAnalyticsSettings * projects/{project}/securityHealthAnalyticsSettings", +"type": "string" +}, +"serviceAccount": { +"description": "Output only. The service account used by Security Health Analytics detectors.", +"readOnly": true, +"type": "string" +}, +"serviceEnablementState": { +"description": "The state of enablement for the service at its level of the resource hierarchy. A DISABLED state will override all module enablement_states to DISABLED.", +"enum": [ +"ENABLEMENT_STATE_UNSPECIFIED", +"INHERITED", +"ENABLED", +"DISABLED" +], +"enumDescriptions": [ +"Default value. This value is unused.", +"State is inherited from the parent resource.", +"State is enabled.", +"State is disabled." +], +"type": "string" +}, +"updateTime": { +"description": "Output only. The time the settings were last updated.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"SecurityMarks": { +"description": "User specified security marks that are attached to the parent Security Command Center resource. Security marks are scoped within a Security Command Center organization -- they can be modified and viewed by all users who have proper permissions on the organization.", +"id": "SecurityMarks", +"properties": { +"canonicalName": { +"description": "The canonical name of the marks. Examples: \"organizations/{organization_id}/assets/{asset_id}/securityMarks\" \"folders/{folder_id}/assets/{asset_id}/securityMarks\" \"projects/{project_number}/assets/{asset_id}/securityMarks\" \"organizations/{organization_id}/sources/{source_id}/findings/{finding_id}/securityMarks\" \"folders/{folder_id}/sources/{source_id}/findings/{finding_id}/securityMarks\" \"projects/{project_number}/sources/{source_id}/findings/{finding_id}/securityMarks\"", +"type": "string" +}, +"marks": { +"additionalProperties": { +"type": "string" +}, +"description": "Mutable user specified security marks belonging to the parent resource. Constraints are as follows: * Keys and values are treated as case insensitive * Keys must be between 1 - 256 characters (inclusive) * Keys must be letters, numbers, underscores, or dashes * Values have leading and trailing whitespace trimmed, remaining characters must be between 1 - 4096 characters (inclusive)", +"type": "object" +}, +"name": { +"description": "The relative resource name of the SecurityMarks. See: https://cloud.google.com/apis/design/resource_names#relative_resource_name Examples: \"organizations/{organization_id}/assets/{asset_id}/securityMarks\" \"organizations/{organization_id}/sources/{source_id}/findings/{finding_id}/securityMarks\".", +"type": "string" +} +}, +"type": "object" +}, +"SecurityPolicy": { +"description": "Information about the [Google Cloud Armor security policy](https://cloud.google.com/armor/docs/security-policy-overview) relevant to the finding.", +"id": "SecurityPolicy", +"properties": { +"name": { +"description": "The name of the Google Cloud Armor security policy, for example, \"my-security-policy\".", +"type": "string" +}, +"preview": { +"description": "Whether or not the associated rule or policy is in preview mode.", +"type": "boolean" +}, +"type": { +"description": "The type of Google Cloud Armor security policy for example, 'backend security policy', 'edge security policy', 'network edge security policy', or 'always-on DDoS protection'.", +"type": "string" +} +}, +"type": "object" +}, +"SecurityPosture": { +"description": "Represents a posture that is deployed on Google Cloud by the Security Command Center Posture Management service. A posture contains one or more policy sets. A policy set is a group of policies that enforce a set of security rules on Google Cloud.", +"id": "SecurityPosture", +"properties": { +"changedPolicy": { +"description": "The name of the updated policy, for example, `projects/{project_id}/policies/{constraint_name}`.", +"type": "string" +}, +"name": { +"description": "Name of the posture, for example, `CIS-Posture`.", +"type": "string" +}, +"policy": { +"description": "The ID of the updated policy, for example, `compute-policy-1`.", +"type": "string" +}, +"policyDriftDetails": { +"description": "The details about a change in an updated policy that violates the deployed posture.", +"items": { +"$ref": "PolicyDriftDetails" +}, +"type": "array" +}, +"policySet": { +"description": "The name of the updated policyset, for example, `cis-policyset`.", +"type": "string" +}, +"postureDeployment": { +"description": "The name of the posture deployment, for example, `organizations/{org_id}/posturedeployments/{posture_deployment_id}`.", +"type": "string" +}, +"postureDeploymentResource": { +"description": "The project, folder, or organization on which the posture is deployed, for example, `projects/{project_number}`.", +"type": "string" +}, +"revisionId": { +"description": "The version of the posture, for example, `c7cfa2a8`.", +"type": "string" +} +}, +"type": "object" +}, +"SensitivityScore": { +"description": "Score is calculated from of all elements in the data profile. A higher level means the data is more sensitive.", +"id": "SensitivityScore", +"properties": { +"score": { +"description": "The sensitivity score applied to the resource.", +"enum": [ +"SENSITIVITY_SCORE_LEVEL_UNSPECIFIED", +"SENSITIVITY_LOW", +"SENSITIVITY_UNKNOWN", +"SENSITIVITY_MODERATE", +"SENSITIVITY_HIGH" +], +"enumDescriptions": [ +"Unused.", +"No sensitive information detected. The resource isn't publicly accessible.", +"Unable to determine sensitivity.", +"Medium risk. Contains personally identifiable information (PII), potentially sensitive data, or fields with free-text data that are at a higher risk of having intermittent sensitive data. Consider limiting access.", +"High risk. Sensitive personally identifiable information (SPII) can be present. Exfiltration of data can lead to user data loss. Re-identification of users might be possible. Consider limiting usage and or removing SPII." +], +"type": "string" +} +}, +"type": "object" +}, +"ServiceAccountDelegationInfo": { +"description": "Identity delegation history of an authenticated service account.", +"id": "ServiceAccountDelegationInfo", +"properties": { +"principalEmail": { +"description": "The email address of a Google account.", +"type": "string" +}, +"principalSubject": { +"description": "A string representing the principal_subject associated with the identity. As compared to `principal_email`, supports principals that aren't associated with email addresses, such as third party principals. For most identities, the format will be `principal://iam.googleapis.com/{identity pool name}/subjects/{subject}` except for some GKE identities (GKE_WORKLOAD, FREEFORM, GKE_HUB_WORKLOAD) that are still in the legacy format `serviceAccount:{identity pool name}[{subject}]`", +"type": "string" +} +}, +"type": "object" +}, +"StaticMute": { +"description": "Information about the static mute state. A static mute state overrides any dynamic mute rules that apply to this finding. The static mute state can be set by a static mute rule or by muting the finding directly.", +"id": "StaticMute", +"properties": { +"applyTime": { +"description": "When the static mute was applied.", +"format": "google-datetime", +"type": "string" +}, +"state": { +"description": "The static mute state. If the value is `MUTED` or `UNMUTED`, then the finding's overall mute state will have the same value.", +"enum": [ +"MUTE_UNSPECIFIED", +"MUTED", +"UNMUTED", +"UNDEFINED" +], +"enumDescriptions": [ +"Unspecified.", +"Finding has been muted.", +"Finding has been unmuted.", +"Finding has never been muted/unmuted." +], +"type": "string" +} +}, +"type": "object" +}, +"Subject": { +"description": "Represents a Kubernetes subject.", +"id": "Subject", +"properties": { +"kind": { +"description": "Authentication type for the subject.", +"enum": [ +"AUTH_TYPE_UNSPECIFIED", +"USER", +"SERVICEACCOUNT", +"GROUP" +], +"enumDescriptions": [ +"Authentication is not specified.", +"User with valid certificate.", +"Users managed by Kubernetes API with credentials stored as secrets.", +"Collection of users." +], +"type": "string" +}, +"name": { +"description": "Name for the subject.", +"type": "string" +}, +"ns": { +"description": "Namespace for the subject.", +"type": "string" +} +}, +"type": "object" +}, +"Subscription": { +"description": "Resource capturing the state of an organization's subscription.", +"id": "Subscription", +"properties": { +"details": { +"$ref": "Details", +"description": "The details of the most recent active subscription. If there has never been a subscription this will be empty." +}, +"name": { +"description": "The resource name of the subscription. Format: organizations/{organization}/subscription", +"type": "string" +}, +"tier": { +"description": "The tier of SCC features this organization currently has access to.", +"enum": [ +"TIER_UNSPECIFIED", +"STANDARD", +"PREMIUM", +"ENTERPRISE", +"ENTERPRISE_MC" +], +"enumDescriptions": [ +"Default value. This value is unused.", +"The standard tier.", +"The premium tier.", +"The enterprise tier.", +"The enterprise MC tier." +], +"type": "string" +} +}, +"type": "object" +}, +"TicketInfo": { +"description": "Information about the ticket, if any, that is being used to track the resolution of the issue that is identified by this finding.", +"id": "TicketInfo", +"properties": { +"assignee": { +"description": "The assignee of the ticket in the ticket system.", +"type": "string" +}, +"description": { +"description": "The description of the ticket in the ticket system.", +"type": "string" +}, +"id": { +"description": "The identifier of the ticket in the ticket system.", +"type": "string" +}, +"status": { +"description": "The latest status of the ticket, as reported by the ticket system.", +"type": "string" +}, +"updateTime": { +"description": "The time when the ticket was last updated, as reported by the ticket system.", +"format": "google-datetime", +"type": "string" +}, +"uri": { +"description": "The link to the ticket in the ticket system.", +"type": "string" +} +}, +"type": "object" +}, +"ToxicCombination": { +"description": "Contains details about a group of security issues that, when the issues occur together, represent a greater risk than when the issues occur independently. A group of such issues is referred to as a toxic combination.", +"id": "ToxicCombination", +"properties": { +"attackExposureScore": { +"description": "The [Attack exposure score](https://cloud.google.com/security-command-center/docs/attack-exposure-learn#attack_exposure_scores) of this toxic combination. The score is a measure of how much this toxic combination exposes one or more high-value resources to potential attack.", +"format": "double", +"type": "number" +}, +"relatedFindings": { +"description": "List of resource names of findings associated with this toxic combination. For example, `organizations/123/sources/456/findings/789`.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"VertexAi": { +"description": "Vertex AI-related information associated with the finding.", +"id": "VertexAi", +"properties": { +"datasets": { +"description": "Datasets associated with the finding.", +"items": { +"$ref": "Dataset" +}, +"type": "array" +}, +"pipelines": { +"description": "Pipelines associated with the finding.", +"items": { +"$ref": "Pipeline" +}, +"type": "array" +} +}, +"type": "object" +}, +"VirtualMachineThreatDetectionSettings": { +"description": "Resource capturing the settings for the Virtual Machine Threat Detection service.", +"id": "VirtualMachineThreatDetectionSettings", +"properties": { +"modules": { +"additionalProperties": { +"$ref": "Config" +}, +"description": "The configurations including the state of enablement for the service's different modules. The absence of a module in the map implies its configuration is inherited from its parent's configuration.", +"type": "object" +}, +"name": { +"description": "Identifier. The resource name of the VirtualMachineThreatDetectionSettings. Formats: * organizations/{organization}/virtualMachineThreatDetectionSettings * folders/{folder}/virtualMachineThreatDetectionSettings * projects/{project}/virtualMachineThreatDetectionSettings", +"type": "string" +}, +"serviceAccount": { +"description": "Output only. The service account used by Virtual Machine Threat Detection detectors.", +"readOnly": true, +"type": "string" +}, +"serviceEnablementState": { +"description": "The state of enablement for the service at its level of the resource hierarchy. A DISABLED state will override all module enablement_states to DISABLED.", +"enum": [ +"ENABLEMENT_STATE_UNSPECIFIED", +"INHERITED", +"ENABLED", +"DISABLED" +], +"enumDescriptions": [ +"Default value. This value is unused.", +"State is inherited from the parent resource.", +"State is enabled.", +"State is disabled." +], +"type": "string" +}, +"updateTime": { +"description": "Output only. The time the settings were last updated.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"Vulnerability": { +"description": "Refers to common vulnerability fields e.g. cve, cvss, cwe etc.", +"id": "Vulnerability", +"properties": { +"cve": { +"$ref": "Cve", +"description": "CVE stands for Common Vulnerabilities and Exposures (https://cve.mitre.org/about/)" +}, +"cwes": { +"description": "Represents one or more Common Weakness Enumeration (CWE) information on this vulnerability.", +"items": { +"$ref": "Cwe" +}, +"type": "array" +}, +"fixedPackage": { +"$ref": "Package", +"description": "The fixed package is relevant to the finding." +}, +"offendingPackage": { +"$ref": "Package", +"description": "The offending package is relevant to the finding." +}, +"providerRiskScore": { +"description": "Provider provided risk_score based on multiple factors. The higher the risk score, the more risky the vulnerability is.", +"format": "int64", +"type": "string" +}, +"reachable": { +"description": "Represents whether the vulnerability is reachable (detected via static analysis)", +"type": "boolean" +}, +"securityBulletin": { +"$ref": "SecurityBulletin", +"description": "The security bulletin is relevant to this finding." +} +}, +"type": "object" +}, +"VulnerabilityCountBySeverity": { +"description": "Vulnerability count by severity.", +"id": "VulnerabilityCountBySeverity", +"properties": { +"severityToFindingCount": { +"additionalProperties": { +"format": "int64", +"type": "string" +}, +"description": "Key is the Severity enum.", +"type": "object" +} +}, +"type": "object" +}, +"VulnerabilitySnapshot": { +"description": "Result containing the properties and count of a VulnerabilitySnapshot request.", +"id": "VulnerabilitySnapshot", +"properties": { +"cloudProvider": { +"description": "The cloud provider for the vulnerability snapshot.", +"enum": [ +"CLOUD_PROVIDER_UNSPECIFIED", +"GOOGLE_CLOUD_PLATFORM", +"AMAZON_WEB_SERVICES", +"MICROSOFT_AZURE" +], +"enumDescriptions": [ +"The cloud provider is unspecified.", +"The cloud provider is Google Cloud.", +"The cloud provider is Amazon Web Services.", +"The cloud provider is Microsoft Azure." +], +"type": "string" +}, +"findingCount": { +"$ref": "VulnerabilityCountBySeverity", +"description": "The vulnerability count by severity." +}, +"name": { +"description": "Identifier. The vulnerability snapshot name. Format: //locations//vulnerabilitySnapshots/", +"type": "string" +}, +"snapshotTime": { +"description": "The time that the snapshot was taken.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"WebSecurityScannerSettings": { +"description": "Resource capturing the settings for the Web Security Scanner service.", +"id": "WebSecurityScannerSettings", +"properties": { +"modules": { +"additionalProperties": { +"$ref": "Config" +}, +"description": "The configurations including the state of enablement for the service's different modules. The absence of a module in the map implies its configuration is inherited from its parent's configuration.", +"type": "object" +}, +"name": { +"description": "Identifier. The resource name of the WebSecurityScannerSettings. Formats: * organizations/{organization}/webSecurityScannerSettings * folders/{folder}/webSecurityScannerSettings * projects/{project}/webSecurityScannerSettings", +"type": "string" +}, +"serviceEnablementState": { +"description": "The state of enablement for the service at its level of the resource hierarchy. A DISABLED state will override all module enablement_states to DISABLED.", +"enum": [ +"ENABLEMENT_STATE_UNSPECIFIED", +"INHERITED", +"ENABLED", +"DISABLED" +], +"enumDescriptions": [ +"Default value. This value is unused.", +"State is inherited from the parent resource.", +"State is enabled.", +"State is disabled." +], +"type": "string" +}, +"updateTime": { +"description": "Output only. The time the settings were last updated.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"YaraRuleSignature": { +"description": "A signature corresponding to a YARA rule.", +"id": "YaraRuleSignature", +"properties": { +"yaraRule": { +"description": "The name of the YARA rule.", +"type": "string" +} +}, +"type": "object" +} +}, +"servicePath": "", +"title": "Security Command Center API", +"version": "v1beta2", +"version_module": true +} \ No newline at end of file diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/securityposture.v1.json b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/securityposture.v1.json new file mode 100644 index 0000000000000000000000000000000000000000..60be0bb3fd50a71f4c6d661ba696bf3bf71150a5 --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/securityposture.v1.json @@ -0,0 +1,2218 @@ +{ +"auth": { +"oauth2": { +"scopes": { +"https://www.googleapis.com/auth/cloud-platform": { +"description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." +} +} +} +}, +"basePath": "", +"baseUrl": "https://securityposture.googleapis.com/", +"batchPath": "batch", +"canonicalName": "Security Posture", +"description": "Defines, assesses, and monitors the overall status of your security in Google Cloud. You can use security postures to evaluate your current cloud security against defined benchmarks and help maintain the level of security that your organization requires. ", +"discoveryVersion": "v1", +"documentationLink": "https://cloud.google.com/security-command-center", +"fullyEncodeReservedExpansion": true, +"icons": { +"x16": "http://www.google.com/images/icons/product/search-16.gif", +"x32": "http://www.google.com/images/icons/product/search-32.gif" +}, +"id": "securityposture:v1", +"kind": "discovery#restDescription", +"mtlsRootUrl": "https://securityposture.mtls.googleapis.com/", +"name": "securityposture", +"ownerDomain": "google.com", +"ownerName": "Google", +"parameters": { +"$.xgafv": { +"description": "V1 error format.", +"enum": [ +"1", +"2" +], +"enumDescriptions": [ +"v1 error format", +"v2 error format" +], +"location": "query", +"type": "string" +}, +"access_token": { +"description": "OAuth access token.", +"location": "query", +"type": "string" +}, +"alt": { +"default": "json", +"description": "Data format for response.", +"enum": [ +"json", +"media", +"proto" +], +"enumDescriptions": [ +"Responses with Content-Type of application/json", +"Media download with context-dependent Content-Type", +"Responses with Content-Type of application/x-protobuf" +], +"location": "query", +"type": "string" +}, +"callback": { +"description": "JSONP", +"location": "query", +"type": "string" +}, +"fields": { +"description": "Selector specifying which fields to include in a partial response.", +"location": "query", +"type": "string" +}, +"key": { +"description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", +"location": "query", +"type": "string" +}, +"oauth_token": { +"description": "OAuth 2.0 token for the current user.", +"location": "query", +"type": "string" +}, +"prettyPrint": { +"default": "true", +"description": "Returns response with indentations and line breaks.", +"location": "query", +"type": "boolean" +}, +"quotaUser": { +"description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.", +"location": "query", +"type": "string" +}, +"uploadType": { +"description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", +"location": "query", +"type": "string" +}, +"upload_protocol": { +"description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", +"location": "query", +"type": "string" +} +}, +"protocol": "rest", +"resources": { +"organizations": { +"resources": { +"locations": { +"resources": { +"operations": { +"methods": { +"cancel": { +"description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.", +"flatPath": "v1/organizations/{organizationsId}/locations/{locationsId}/operations/{operationsId}:cancel", +"httpMethod": "POST", +"id": "securityposture.organizations.locations.operations.cancel", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be cancelled.", +"location": "path", +"pattern": "^organizations/[^/]+/locations/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:cancel", +"request": { +"$ref": "CancelOperationRequest" +}, +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.", +"flatPath": "v1/organizations/{organizationsId}/locations/{locationsId}/operations/{operationsId}", +"httpMethod": "DELETE", +"id": "securityposture.organizations.locations.operations.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be deleted.", +"location": "path", +"pattern": "^organizations/[^/]+/locations/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", +"flatPath": "v1/organizations/{organizationsId}/locations/{locationsId}/operations/{operationsId}", +"httpMethod": "GET", +"id": "securityposture.organizations.locations.operations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource.", +"location": "path", +"pattern": "^organizations/[^/]+/locations/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.", +"flatPath": "v1/organizations/{organizationsId}/locations/{locationsId}/operations", +"httpMethod": "GET", +"id": "securityposture.organizations.locations.operations.list", +"parameterOrder": [ +"name" +], +"parameters": { +"filter": { +"description": "The standard list filter.", +"location": "query", +"type": "string" +}, +"name": { +"description": "The name of the operation's parent resource.", +"location": "path", +"pattern": "^organizations/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The standard list page size.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The standard list page token.", +"location": "query", +"type": "string" +}, +"returnPartialSuccess": { +"description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `\"projects/example/locations/-\"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1/{+name}/operations", +"response": { +"$ref": "ListOperationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"postureDeployments": { +"methods": { +"create": { +"description": "Creates a new PostureDeployment in a given project and location.", +"flatPath": "v1/organizations/{organizationsId}/locations/{locationsId}/postureDeployments", +"httpMethod": "POST", +"id": "securityposture.organizations.locations.postureDeployments.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The parent resource name, in the format `organizations/{organization}/locations/global`.", +"location": "path", +"pattern": "^organizations/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +}, +"postureDeploymentId": { +"description": "Required. An identifier for the posture deployment.", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+parent}/postureDeployments", +"request": { +"$ref": "PostureDeployment" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a PostureDeployment.", +"flatPath": "v1/organizations/{organizationsId}/locations/{locationsId}/postureDeployments/{postureDeploymentsId}", +"httpMethod": "DELETE", +"id": "securityposture.organizations.locations.postureDeployments.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"etag": { +"description": "Optional. An opaque identifier for the current version of the posture deployment. If you provide this value, then it must match the existing value. If the values don't match, then the request fails with an ABORTED error. If you omit this value, then the posture deployment is deleted regardless of its current `etag` value.", +"location": "query", +"type": "string" +}, +"name": { +"description": "Required. The name of the posture deployment, in the format `organizations/{organization}/locations/global/postureDeployments/{posture_id}`.", +"location": "path", +"pattern": "^organizations/[^/]+/locations/[^/]+/postureDeployments/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets details for a PostureDeployment.", +"flatPath": "v1/organizations/{organizationsId}/locations/{locationsId}/postureDeployments/{postureDeploymentsId}", +"httpMethod": "GET", +"id": "securityposture.organizations.locations.postureDeployments.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the PostureDeployment, in the format `organizations/{organization}/locations/global/postureDeployments/{posture_deployment_id}`.", +"location": "path", +"pattern": "^organizations/[^/]+/locations/[^/]+/postureDeployments/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "PostureDeployment" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists every PostureDeployment in a project and location.", +"flatPath": "v1/organizations/{organizationsId}/locations/{locationsId}/postureDeployments", +"httpMethod": "GET", +"id": "securityposture.organizations.locations.postureDeployments.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Optional. A filter to apply to the list of postures, in the format defined in [AIP-160: Filtering](https://google.aip.dev/160).", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Optional. The maximum number of posture deployments to return. The default value is `500`. If you exceed the maximum value of `1000`, then the service uses the maximum value.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. A pagination token returned from a previous request to list posture deployments. Provide this token to retrieve the next page of results.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent resource name, in the format `organizations/{organization}/locations/global`.", +"location": "path", +"pattern": "^organizations/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/postureDeployments", +"response": { +"$ref": "ListPostureDeploymentsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates an existing PostureDeployment. To prevent concurrent updates from overwriting each other, always follow the read-modify-write pattern when you update a posture deployment: 1. Call GetPostureDeployment to get the current version of the deployment. 2. Update the fields in the deployment as needed. 3. Call UpdatePostureDeployment to update the deployment. Ensure that your request includes the `etag` value from the GetPostureDeployment response. **Important:** If you omit the `etag` when you call UpdatePostureDeployment, then the updated deployment unconditionally overwrites the existing deployment.", +"flatPath": "v1/organizations/{organizationsId}/locations/{locationsId}/postureDeployments/{postureDeploymentsId}", +"httpMethod": "PATCH", +"id": "securityposture.organizations.locations.postureDeployments.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Identifier. The name of the posture deployment, in the format `organizations/{organization}/locations/global/postureDeployments/{deployment_id}`.", +"location": "path", +"pattern": "^organizations/[^/]+/locations/[^/]+/postureDeployments/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Required. The fields in the PostureDeployment to update. You can update only the following fields: * PostureDeployment.posture_id * PostureDeployment.posture_revision_id", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "PostureDeployment" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"postureTemplates": { +"methods": { +"get": { +"description": "Gets a single revision of a PostureTemplate.", +"flatPath": "v1/organizations/{organizationsId}/locations/{locationsId}/postureTemplates/{postureTemplatesId}", +"httpMethod": "GET", +"id": "securityposture.organizations.locations.postureTemplates.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the PostureTemplate, in the format `organizations/{organization}/locations/global/postureTemplates/{posture_template}`.", +"location": "path", +"pattern": "^organizations/[^/]+/locations/[^/]+/postureTemplates/[^/]+$", +"required": true, +"type": "string" +}, +"revisionId": { +"description": "Optional. The posture template revision to retrieve. If not specified, the most recently updated revision is retrieved.", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "PostureTemplate" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists every PostureTemplate in a given organization and location.", +"flatPath": "v1/organizations/{organizationsId}/locations/{locationsId}/postureTemplates", +"httpMethod": "GET", +"id": "securityposture.organizations.locations.postureTemplates.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Optional. A filter to apply to the list of postures, in the format defined in [AIP-160: Filtering](https://google.aip.dev/160).", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Optional. The maximum number of posture templates to return. The default value is `500`. If you exceed the maximum value of `1000`, then the service uses the maximum value.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. A pagination token returned from a previous request to list posture templates. Provide this token to retrieve the next page of results.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent resource name, in the format `organizations/{organization}/locations/global`.", +"location": "path", +"pattern": "^organizations/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/postureTemplates", +"response": { +"$ref": "ListPostureTemplatesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"postures": { +"methods": { +"create": { +"description": "Creates a new Posture.", +"flatPath": "v1/organizations/{organizationsId}/locations/{locationsId}/postures", +"httpMethod": "POST", +"id": "securityposture.organizations.locations.postures.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The parent resource name, in the format `organizations/{organization}/locations/global`.", +"location": "path", +"pattern": "^organizations/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +}, +"postureId": { +"description": "Required. An identifier for the posture.", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+parent}/postures", +"request": { +"$ref": "Posture" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes all revisions of a Posture. You can only delete a posture if none of its revisions are deployed.", +"flatPath": "v1/organizations/{organizationsId}/locations/{locationsId}/postures/{posturesId}", +"httpMethod": "DELETE", +"id": "securityposture.organizations.locations.postures.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"etag": { +"description": "Optional. An opaque identifier for the current version of the posture. If you provide this value, then it must match the existing value. If the values don't match, then the request fails with an ABORTED error. If you omit this value, then the posture is deleted regardless of its current `etag` value.", +"location": "query", +"type": "string" +}, +"name": { +"description": "Required. The name of the Posture, in the format `organizations/{organization}/locations/global/postures/{posture_id}`.", +"location": "path", +"pattern": "^organizations/[^/]+/locations/[^/]+/postures/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"extract": { +"description": "Extracts existing policies from an organization, folder, or project, and applies them to another organization, folder, or project as a Posture. If the other organization, folder, or project already has a posture, then the result of the long-running operation is an ALREADY_EXISTS error.", +"flatPath": "v1/organizations/{organizationsId}/locations/{locationsId}/postures:extract", +"httpMethod": "POST", +"id": "securityposture.organizations.locations.postures.extract", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The parent resource name, in the format `organizations/{organization}/locations/global`.", +"location": "path", +"pattern": "^organizations/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/postures:extract", +"request": { +"$ref": "ExtractPostureRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets a single revision of a Posture.", +"flatPath": "v1/organizations/{organizationsId}/locations/{locationsId}/postures/{posturesId}", +"httpMethod": "GET", +"id": "securityposture.organizations.locations.postures.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the Posture, in the format `organizations/{organization}/locations/global/postures/{posture_id}`.", +"location": "path", +"pattern": "^organizations/[^/]+/locations/[^/]+/postures/[^/]+$", +"required": true, +"type": "string" +}, +"revisionId": { +"description": "Optional. The posture revision to retrieve. If not specified, the most recently updated revision is retrieved.", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Posture" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists the most recent revisions of all Posture resources in a specified organization and location.", +"flatPath": "v1/organizations/{organizationsId}/locations/{locationsId}/postures", +"httpMethod": "GET", +"id": "securityposture.organizations.locations.postures.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Optional. A filter to apply to the list of postures, in the format defined in [AIP-160: Filtering](https://google.aip.dev/160).", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "The maximum number of postures to return. The default value is `500`. If you exceed the maximum value of `1000`, then the service uses the maximum value.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A pagination token returned from a previous request to list postures. Provide this token to retrieve the next page of results.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent resource name, in the format `organizations/{organization}/locations/global`.", +"location": "path", +"pattern": "^organizations/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/postures", +"response": { +"$ref": "ListPosturesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"listRevisions": { +"description": "Lists all revisions of a single Posture.", +"flatPath": "v1/organizations/{organizationsId}/locations/{locationsId}/postures/{posturesId}:listRevisions", +"httpMethod": "GET", +"id": "securityposture.organizations.locations.postures.listRevisions", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the Posture, in the format `organizations/{organization}/locations/global/postures/{posture_id}`.", +"location": "path", +"pattern": "^organizations/[^/]+/locations/[^/]+/postures/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "Optional. The maximum number of posture revisions to return. The default value is `500`. If you exceed the maximum value of `1000`, then the service uses the maximum value.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. A pagination token from a previous request to list posture revisions. Provide this token to retrieve the next page of results.", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}:listRevisions", +"response": { +"$ref": "ListPostureRevisionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates a revision of an existing Posture. If the posture revision that you update is currently deployed, then a new revision of the posture is created. To prevent concurrent updates from overwriting each other, always follow the read-modify-write pattern when you update a posture: 1. Call GetPosture to get the current version of the posture. 2. Update the fields in the posture as needed. 3. Call UpdatePosture to update the posture. Ensure that your request includes the `etag` value from the GetPosture response. **Important:** If you omit the `etag` when you call UpdatePosture, then the updated posture unconditionally overwrites the existing posture.", +"flatPath": "v1/organizations/{organizationsId}/locations/{locationsId}/postures/{posturesId}", +"httpMethod": "PATCH", +"id": "securityposture.organizations.locations.postures.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Identifier. The name of the posture, in the format `organizations/{organization}/locations/global/postures/{posture_id}`.", +"location": "path", +"pattern": "^organizations/[^/]+/locations/[^/]+/postures/[^/]+$", +"required": true, +"type": "string" +}, +"revisionId": { +"description": "Required. The revision ID of the posture to update. If the posture revision that you update is currently deployed, then a new revision of the posture is created.", +"location": "query", +"type": "string" +}, +"updateMask": { +"description": "Required. The fields in the Posture to update. You can update only the following fields: * Posture.description * Posture.policy_sets * Posture.state", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "Posture" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"reports": { +"methods": { +"createIaCValidationReport": { +"description": "Validates a specified infrastructure-as-code (IaC) configuration, and creates a Report with the validation results. Only Terraform configurations are supported. Only modified assets are validated.", +"flatPath": "v1/organizations/{organizationsId}/locations/{locationsId}/reports:createIaCValidationReport", +"httpMethod": "POST", +"id": "securityposture.organizations.locations.reports.createIaCValidationReport", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The parent resource name, in the format `organizations/{organization}/locations/global`.", +"location": "path", +"pattern": "^organizations/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/reports:createIaCValidationReport", +"request": { +"$ref": "CreateIaCValidationReportRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets details for a Report.", +"flatPath": "v1/organizations/{organizationsId}/locations/{locationsId}/reports/{reportsId}", +"httpMethod": "GET", +"id": "securityposture.organizations.locations.reports.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the report, in the format `organizations/{organization}/locations/global/reports/{report_id}`.", +"location": "path", +"pattern": "^organizations/[^/]+/locations/[^/]+/reports/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Report" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists every Report in a given organization and location.", +"flatPath": "v1/organizations/{organizationsId}/locations/{locationsId}/reports", +"httpMethod": "GET", +"id": "securityposture.organizations.locations.reports.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Optional. A filter to apply to the list of reports, in the format defined in [AIP-160: Filtering](https://google.aip.dev/160).", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Optional. The maximum number of reports to return. The default value is `500`. If you exceed the maximum value of `1000`, then the service uses the maximum value.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. A pagination token returned from a previous request to list reports. Provide this token to retrieve the next page of results.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent resource name, in the format `organizations/{organization}/locations/global`.", +"location": "path", +"pattern": "^organizations/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/reports", +"response": { +"$ref": "ListReportsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +} +} +}, +"projects": { +"resources": { +"locations": { +"methods": { +"get": { +"description": "Gets information about a location.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}", +"httpMethod": "GET", +"id": "securityposture.projects.locations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Resource name for the location.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Location" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists information about the supported locations for this service. This method can be called in two ways: * **List all public locations:** Use the path `GET /v1/locations`. * **List project-visible locations:** Use the path `GET /v1/projects/{project_id}/locations`. This may include public locations as well as private or other locations specifically visible to the project.", +"flatPath": "v1/projects/{projectsId}/locations", +"httpMethod": "GET", +"id": "securityposture.projects.locations.list", +"parameterOrder": [ +"name" +], +"parameters": { +"extraLocationTypes": { +"description": "Optional. Do not use this field. It is unsupported and is ignored unless explicitly documented otherwise. This is primarily for internal usage.", +"location": "query", +"repeated": true, +"type": "string" +}, +"filter": { +"description": "A filter to narrow down results to a preferred subset. The filtering language accepts strings like `\"displayName=tokyo\"`, and is documented in more detail in [AIP-160](https://google.aip.dev/160).", +"location": "query", +"type": "string" +}, +"name": { +"description": "The resource that owns the locations collection, if applicable.", +"location": "path", +"pattern": "^projects/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The maximum number of results to return. If not set, the service selects a default.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A page token received from the `next_page_token` field in the response. Send that page token to receive the subsequent page.", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}/locations", +"response": { +"$ref": "ListLocationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +} +}, +"revision": "20260205", +"rootUrl": "https://securityposture.googleapis.com/", +"schemas": { +"AssetDetails": { +"description": "Details of a Cloud Asset Inventory asset that caused a violation.", +"id": "AssetDetails", +"properties": { +"asset": { +"description": "Information about the Cloud Asset Inventory asset that violated a policy. The format of this information can change at any time without prior notice. Your application must not depend on this information in any way.", +"type": "string" +}, +"assetType": { +"description": "The type of Cloud Asset Inventory asset. For a list of asset types, see [Supported asset types](https://cloud.google.com/asset-inventory/docs/supported-asset-types).", +"type": "string" +} +}, +"type": "object" +}, +"CancelOperationRequest": { +"description": "The request message for Operations.CancelOperation.", +"id": "CancelOperationRequest", +"properties": {}, +"type": "object" +}, +"ComplianceStandard": { +"description": "Information about a compliance standard that the policy helps enforce.", +"id": "ComplianceStandard", +"properties": { +"control": { +"description": "Optional. The control in the compliance standard that the policy helps enforce. For example, `AC-3`.", +"type": "string" +}, +"standard": { +"description": "Optional. The compliance standard that the policy helps enforce. For example, `NIST SP 800-53`.", +"type": "string" +} +}, +"type": "object" +}, +"Constraint": { +"description": "Metadata for a constraint in a Policy.", +"id": "Constraint", +"properties": { +"orgPolicyConstraint": { +"$ref": "OrgPolicyConstraint", +"description": "Optional. A predefined organization policy constraint." +}, +"orgPolicyConstraintCustom": { +"$ref": "OrgPolicyConstraintCustom", +"description": "Optional. A custom organization policy constraint." +}, +"securityHealthAnalyticsCustomModule": { +"$ref": "SecurityHealthAnalyticsCustomModule", +"description": "Optional. A custom module for Security Health Analytics." +}, +"securityHealthAnalyticsModule": { +"$ref": "SecurityHealthAnalyticsModule", +"description": "Optional. A built-in detector for Security Health Analytics." +} +}, +"type": "object" +}, +"CreateIaCValidationReportRequest": { +"description": "Request message for CreateIaCValidationReport.", +"id": "CreateIaCValidationReportRequest", +"properties": { +"iac": { +"$ref": "IaC", +"description": "Required. The infrastructure-as-code (IaC) configuration to validate." +} +}, +"type": "object" +}, +"CustomConfig": { +"description": "A custom module configuration for Security Health Analytics. Use `CustomConfig` to create custom detectors that generate custom findings for resources that you specify.", +"id": "CustomConfig", +"properties": { +"customOutput": { +"$ref": "CustomOutputSpec", +"description": "Optional. Definitions of custom source properties to include in findings." +}, +"description": { +"description": "Optional. A description of the vulnerability or misconfiguration that the custom module detects. The description appears in each finding. Provide enough information to help an investigator understand the finding. The value must be enclosed in quotation marks.", +"type": "string" +}, +"predicate": { +"$ref": "Expr", +"description": "Required. The Common Expression Language (CEL) expression to evaluate. When the expression evaluates to `true` for a resource, a finding is generated." +}, +"recommendation": { +"description": "Required. An explanation of the steps that security teams can take to resolve the detected issue. The explanation appears in each finding.", +"type": "string" +}, +"resourceSelector": { +"$ref": "ResourceSelector", +"description": "Required. The resource types that the custom module operates on." +}, +"severity": { +"description": "Required. The severity of findings generated by the custom module.", +"enum": [ +"SEVERITY_UNSPECIFIED", +"CRITICAL", +"HIGH", +"MEDIUM", +"LOW" +], +"enumDescriptions": [ +"Default value. This value is unused.", +"Critical severity.", +"High severity.", +"Medium severity.", +"Low severity." +], +"type": "string" +} +}, +"type": "object" +}, +"CustomOutputSpec": { +"description": "Definitions of custom source properties that can appear in findings.", +"id": "CustomOutputSpec", +"properties": { +"properties": { +"description": "Optional. The custom source properties that can appear in findings.", +"items": { +"$ref": "Property" +}, +"type": "array" +} +}, +"type": "object" +}, +"Empty": { +"description": "A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }", +"id": "Empty", +"properties": {}, +"type": "object" +}, +"Expr": { +"description": "Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: \"Summary size limit\" description: \"Determines if a summary is less than 100 chars\" expression: \"document.summary.size() < 100\" Example (Equality): title: \"Requestor is owner\" description: \"Determines if requestor is the document owner\" expression: \"document.owner == request.auth.claims.email\" Example (Logic): title: \"Public documents\" description: \"Determine whether the document should be publicly visible\" expression: \"document.type != 'private' && document.type != 'internal'\" Example (Data Manipulation): title: \"Notification string\" description: \"Create a notification string with a timestamp.\" expression: \"'New message received at ' + string(document.create_time)\" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information.", +"id": "Expr", +"properties": { +"description": { +"description": "Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI.", +"type": "string" +}, +"expression": { +"description": "Textual representation of an expression in Common Expression Language syntax.", +"type": "string" +}, +"location": { +"description": "Optional. String indicating the location of the expression for error reporting, e.g. a file name and a position in the file.", +"type": "string" +}, +"title": { +"description": "Optional. Title for the expression, i.e. a short string describing its purpose. This can be used e.g. in UIs which allow to enter the expression.", +"type": "string" +} +}, +"type": "object" +}, +"ExtractPostureRequest": { +"description": "Request message for ExtractPosture.", +"id": "ExtractPostureRequest", +"properties": { +"postureId": { +"description": "Required. An identifier for the posture.", +"type": "string" +}, +"workload": { +"description": "Required. The organization, folder, or project from which policies are extracted. Must be within the organization defined in parent. Use one of the following formats: * `organization/{organization_number}` * `folder/{folder_number}` * `project/{project_number}`", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritypostureV1CustomConstraint": { +"description": "A custom, user-defined constraint. You can apply the constraint only to the resource types specified in the constraint, and only within the organization where the constraint is defined. _When you create a custom constraint, it is not enforced automatically._ You must use an organization policy to [enforce the constraint](https://cloud.google.com/resource-manager/help/organization-policy/constraints/enforce).", +"id": "GoogleCloudSecuritypostureV1CustomConstraint", +"properties": { +"actionType": { +"description": "Whether to allow or deny the action.", +"enum": [ +"ACTION_TYPE_UNSPECIFIED", +"ALLOW", +"DENY" +], +"enumDescriptions": [ +"Default value. This value is unused.", +"Allow the action.", +"Deny the action." +], +"type": "string" +}, +"condition": { +"description": "A Common Expression Language (CEL) condition expression that must evaluate to `true` for the constraint to be enforced. The maximum length is 1000 characters. For example: + `resource.instanceName.matches('(production|test)_(.+_)?[\\d]+')`: Evaluates to `true` if the resource's `instanceName` attribute contains the following: + The prefix `production` or `test` + An underscore (`_`) + Optional: One or more characters, followed by an underscore (`_`) + One or more digits + `resource.management.auto_upgrade == true`: Evaluates to `true` if the resource's `management.auto_upgrade` attribute is `true`.", +"type": "string" +}, +"description": { +"description": "A description of the constraint. The maximum length is 2000 characters.", +"type": "string" +}, +"displayName": { +"description": "A display name for the constraint. The maximum length is 200 characters.", +"type": "string" +}, +"methodTypes": { +"description": "The types of operations that the constraint applies to.", +"items": { +"enum": [ +"METHOD_TYPE_UNSPECIFIED", +"CREATE", +"UPDATE", +"DELETE" +], +"enumDescriptions": [ +"Default value. This value is unused.", +"Constraint applied when creating the resource.", +"Constraint applied when updating the resource.", +"Not supported. Constraint applied when deleting the resource." +], +"type": "string" +}, +"type": "array" +}, +"name": { +"description": "Immutable. The name of the constraint, in the format `organizations/{organization_id}/customConstraints/custom.{custom_constraint_id}`. For example, `organizations/123456789012/customConstraints/custom.createOnlyE2TypeVms`. Must contain 1 to 62 characters, excluding the prefix `organizations/{organization_id}/customConstraints/custom.`.", +"type": "string" +}, +"resourceTypes": { +"description": "Immutable. The resource type that the constraint applies to, in the format `{canonical_service_name}/{resource_type_name}`. For example, `compute.googleapis.com/Instance`.", +"items": { +"type": "string" +}, +"type": "array" +}, +"updateTime": { +"description": "Output only. The last time at which the constraint was updated or created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritypostureV1PolicyRule": { +"description": "A rule that defines the allowed and denied values for an organization policy constraint.", +"id": "GoogleCloudSecuritypostureV1PolicyRule", +"properties": { +"allowAll": { +"description": "Whether to allow any value for a list constraint. Valid only for list constraints.", +"type": "boolean" +}, +"condition": { +"$ref": "Expr", +"description": "A condition that determines whether this rule is used to evaluate the policy. When set, the google.type.Expr.expression field must contain 1 to 10 subexpressions, joined by the `||` or `&&` operators. Each subexpression must use the `resource.matchTag()`, `resource.matchTagId()`, `resource.hasTagKey()`, or `resource.hasTagKeyId()` Common Expression Language (CEL) function. The `resource.matchTag()` function takes the following arguments: * `key_name`: the namespaced name of the tag key, with the organization ID and a slash (`/`) as a prefix; for example, `123456789012/environment` * `value_name`: the short name of the tag value For example: `resource.matchTag('123456789012/environment, 'prod')` The `resource.matchTagId()` function takes the following arguments: * `key_id`: the permanent ID of the tag key; for example, `tagKeys/123456789012` * `value_id`: the permanent ID of the tag value; for example, `tagValues/567890123456` For example: `resource.matchTagId('tagKeys/123456789012', 'tagValues/567890123456')` The `resource.hasTagKey()` function takes the following argument: * `key_name`: the namespaced name of the tag key, with the organization ID and a slash (`/`) as a prefix; for example, `123456789012/environment` For example: `resource.hasTagKey('123456789012/environment')` The `resource.hasTagKeyId()` function takes the following arguments: * `key_id`: the permanent ID of the tag key; for example, `tagKeys/123456789012` For example: `resource.hasTagKeyId('tagKeys/123456789012')`" +}, +"denyAll": { +"description": "Whether to deny all values for a list constraint. Valid only for list constraints.", +"type": "boolean" +}, +"enforce": { +"description": "Whether to enforce the constraint. Valid only for boolean constraints.", +"type": "boolean" +}, +"parameters": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"description": "Optional. Required for managed constraints if parameters are defined. Passes parameter values when policy enforcement is enabled. Ensure that parameter value types match those defined in the constraint definition. For example: ``` { \"allowedLocations\": [\"us-east1\", \"us-west1\"], \"allowAll\": true } ```", +"type": "object" +}, +"resourceTypes": { +"$ref": "ResourceTypes", +"description": "Optional. The resource types policies can support, only used for managed constraints. Method type is `GOVERN_TAGS`." +}, +"values": { +"$ref": "GoogleCloudSecuritypostureV1PolicyRuleStringValues", +"description": "The allowed and denied values for a list constraint. Valid only for list constraints." +} +}, +"type": "object" +}, +"GoogleCloudSecuritypostureV1PolicyRuleStringValues": { +"description": "The allowed and denied values for a list constraint. For all constraints, these fields can contain literal values. Optionally, you can add the `is:` prefix to these values. If the value contains a colon (`:`), then the `is:` prefix is required. Some constraints allow you to specify a portion of the resource hierarchy, known as a [_hierarchy subtree_](https://cloud.google.com/resource-manager/help/organization-policy/hierarchy-subtree), that the constraint applies to. To specify a hierarchy subtree, use the `under:` prefix, followed by a value with one of these formats: - `projects/{project_id}` (for example, `projects/tokyo-rain-123`) - `folders/{folder_id}` (for example, `folders/1234567890123`) - `organizations/{organization_id}` (for example, `organizations/123456789012`) A constraint's `supports_under` field indicates whether you can specify a hierarchy subtree. To learn which predefined constraints let you specify a hierarchy subtree, see the [constraints reference](https://cloud.google.com/resource-manager/help/organization-policy/constraints/reference).", +"id": "GoogleCloudSecuritypostureV1PolicyRuleStringValues", +"properties": { +"allowedValues": { +"description": "The allowed values for the constraint.", +"items": { +"type": "string" +}, +"type": "array" +}, +"deniedValues": { +"description": "The denied values for the constraint.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"IaC": { +"description": "Details of an infrastructure-as-code (IaC) configuration.", +"id": "IaC", +"properties": { +"tfPlan": { +"description": "Optional. A Terraform plan file, formatted as a stringified JSON object. To learn how to generate a Terraform plan file in JSON format, see [JSON output format](https://developer.hashicorp.com/terraform/internals/json-format) in the Terraform documentation.", +"format": "byte", +"type": "string" +} +}, +"type": "object" +}, +"IaCValidationReport": { +"description": "Details of an infrastructure-as-code (IaC) validation report.", +"id": "IaCValidationReport", +"properties": { +"note": { +"description": "Additional information about the report.", +"type": "string" +}, +"violations": { +"description": "A list of every Violation found in the IaC configuration.", +"items": { +"$ref": "Violation" +}, +"type": "array" +} +}, +"type": "object" +}, +"IacValidationFailureCriteria": { +"description": "Represents the criteria for considering an IaC validation as a failure.", +"id": "IacValidationFailureCriteria", +"properties": { +"createTime": { +"description": "Output only. The time at which the resource was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"etag": { +"description": "Optional. The etag for optimistic concurrency.", +"type": "string" +}, +"name": { +"description": "Identifier. The resource name of the IacValidationFailureCriteria. Format: organizations/{organization}/locations/{location}/iacValidationFailureCriteria", +"type": "string" +}, +"severityCountThresholds": { +"description": "Optional. A list of severity thresholds. An IaC validation fails if any threshold is exceeded.", +"items": { +"$ref": "SeverityCountThreshold" +}, +"type": "array" +}, +"updateTime": { +"description": "Output only. The time at which the resource was last updated.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"ListLocationsResponse": { +"description": "The response message for Locations.ListLocations.", +"id": "ListLocationsResponse", +"properties": { +"locations": { +"description": "A list of locations that matches the specified filter in the request.", +"items": { +"$ref": "Location" +}, +"type": "array" +}, +"nextPageToken": { +"description": "The standard List next-page token.", +"type": "string" +} +}, +"type": "object" +}, +"ListOperationsResponse": { +"description": "The response message for Operations.ListOperations.", +"id": "ListOperationsResponse", +"properties": { +"nextPageToken": { +"description": "The standard List next-page token.", +"type": "string" +}, +"operations": { +"description": "A list of operations that matches the specified filter in the request.", +"items": { +"$ref": "Operation" +}, +"type": "array" +}, +"unreachable": { +"description": "Unordered list. Unreachable resources. Populated when the request sets `ListOperationsRequest.return_partial_success` and reads across collections. For example, when attempting to list all resources across all supported locations.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListPostureDeploymentsResponse": { +"description": "Response message for ListPostureDeployments.", +"id": "ListPostureDeploymentsResponse", +"properties": { +"nextPageToken": { +"description": "A pagination token. To retrieve the next page of results, call the method again with this token.", +"type": "string" +}, +"postureDeployments": { +"description": "The list of PostureDeployment resources.", +"items": { +"$ref": "PostureDeployment" +}, +"type": "array" +}, +"unreachable": { +"description": "Locations that were temporarily unavailable and could not be reached.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListPostureRevisionsResponse": { +"description": "Response message for ListPostureRevisions.", +"id": "ListPostureRevisionsResponse", +"properties": { +"nextPageToken": { +"description": "A pagination token. To retrieve the next page of results, call the method again with this token.", +"type": "string" +}, +"revisions": { +"description": "The list of revisions for the Posture.", +"items": { +"$ref": "Posture" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListPostureTemplatesResponse": { +"description": "Response message for ListPostureTemplates.", +"id": "ListPostureTemplatesResponse", +"properties": { +"nextPageToken": { +"description": "A pagination token. To retrieve the next page of results, call the method again with this token.", +"type": "string" +}, +"postureTemplates": { +"description": "The list of PostureTemplate resources.", +"items": { +"$ref": "PostureTemplate" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListPosturesResponse": { +"description": "Response message for ListPostures.", +"id": "ListPosturesResponse", +"properties": { +"nextPageToken": { +"description": "A pagination token. To retrieve the next page of results, call the method again with this token.", +"type": "string" +}, +"postures": { +"description": "The list of Posture resources.", +"items": { +"$ref": "Posture" +}, +"type": "array" +}, +"unreachable": { +"description": "Locations that were temporarily unavailable and could not be reached.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListReportsResponse": { +"description": "Response message for ListReports.", +"id": "ListReportsResponse", +"properties": { +"nextPageToken": { +"description": "A pagination token. To retrieve the next page of results, call the method again with this token.", +"type": "string" +}, +"reports": { +"description": "The list of Report resources.", +"items": { +"$ref": "Report" +}, +"type": "array" +}, +"unreachable": { +"description": "Locations that were temporarily unavailable and could not be reached.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"Location": { +"description": "A resource that represents a Google Cloud location.", +"id": "Location", +"properties": { +"displayName": { +"description": "The friendly name for this location, typically a nearby city name. For example, \"Tokyo\".", +"type": "string" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Cross-service attributes for the location. For example {\"cloud.googleapis.com/region\": \"us-east1\"}", +"type": "object" +}, +"locationId": { +"description": "The canonical id for this location. For example: `\"us-east1\"`.", +"type": "string" +}, +"metadata": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "Service-specific metadata. For example the available capacity at the given location.", +"type": "object" +}, +"name": { +"description": "Resource name for the location, which may vary between implementations. For example: `\"projects/example-project/locations/us-east1\"`", +"type": "string" +} +}, +"type": "object" +}, +"Operation": { +"description": "This resource represents a long-running operation that is the result of a network API call.", +"id": "Operation", +"properties": { +"done": { +"description": "If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.", +"type": "boolean" +}, +"error": { +"$ref": "Status", +"description": "The error result of the operation in case of failure or cancellation." +}, +"metadata": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.", +"type": "object" +}, +"name": { +"description": "The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.", +"type": "string" +}, +"response": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "The normal, successful response of the operation. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.", +"type": "object" +} +}, +"type": "object" +}, +"OperationMetadata": { +"description": "Metadata for an Operation.", +"id": "OperationMetadata", +"properties": { +"apiVersion": { +"description": "Output only. The API version used to start the operation.", +"readOnly": true, +"type": "string" +}, +"createTime": { +"description": "Output only. The time at which the operation was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"endTime": { +"description": "Output only. The time at which the operation finished running.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"errorMessage": { +"description": "Output only. An error message. Returned when a PostureDeployment enters a failure state like UPDATE_FAILED.", +"readOnly": true, +"type": "string" +}, +"requestedCancellation": { +"description": "Output only. Whether a request to cancel the operation has been received. For operations that have been cancelled successfully, the Operation.error field contains the error code CANCELLED.", +"readOnly": true, +"type": "boolean" +}, +"statusMessage": { +"description": "Output only. The status of the operation, if any.", +"readOnly": true, +"type": "string" +}, +"target": { +"description": "Output only. The server-defined resource path for the target of the operation.", +"readOnly": true, +"type": "string" +}, +"verb": { +"description": "Output only. The name of the action executed by the operation.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"OrgPolicyConstraint": { +"description": "A predefined organization policy constraint.", +"id": "OrgPolicyConstraint", +"properties": { +"cannedConstraintId": { +"description": "Required. A unique identifier for the constraint.", +"type": "string" +}, +"policyRules": { +"description": "Required. The rules enforced by the constraint.", +"items": { +"$ref": "GoogleCloudSecuritypostureV1PolicyRule" +}, +"type": "array" +} +}, +"type": "object" +}, +"OrgPolicyConstraintCustom": { +"description": "A custom organization policy constraint.", +"id": "OrgPolicyConstraintCustom", +"properties": { +"customConstraint": { +"$ref": "GoogleCloudSecuritypostureV1CustomConstraint", +"description": "Required. Metadata for the constraint." +}, +"policyRules": { +"description": "Required. The rules enforced by the constraint.", +"items": { +"$ref": "GoogleCloudSecuritypostureV1PolicyRule" +}, +"type": "array" +} +}, +"type": "object" +}, +"Policy": { +"description": "The details of a policy, including the constraints that it includes.", +"id": "Policy", +"properties": { +"complianceStandards": { +"description": "Optional. The compliance standards that the policy helps enforce.", +"items": { +"$ref": "ComplianceStandard" +}, +"type": "array" +}, +"constraint": { +"$ref": "Constraint", +"description": "Required. The constraints that the policy includes." +}, +"description": { +"description": "Optional. A description of the policy.", +"type": "string" +}, +"policyId": { +"description": "Required. A user-specified identifier for the policy. In a PolicySet, each policy must have a unique identifier.", +"type": "string" +} +}, +"type": "object" +}, +"PolicyDetails": { +"description": "Details of a policy that was violated.", +"id": "PolicyDetails", +"properties": { +"complianceStandards": { +"description": "The compliance standards that the policy maps to. For example, `CIS-2.0 1.15`.", +"items": { +"type": "string" +}, +"type": "array" +}, +"constraint": { +"description": "Information about the constraint that was violated. The format of this information can change at any time without prior notice. Your application must not depend on this information in any way.", +"type": "string" +}, +"constraintType": { +"description": "The type of constraint that was violated.", +"enum": [ +"CONSTRAINT_TYPE_UNSPECIFIED", +"SECURITY_HEALTH_ANALYTICS_CUSTOM_MODULE", +"ORG_POLICY_CUSTOM", +"SECURITY_HEALTH_ANALYTICS_MODULE", +"ORG_POLICY", +"REGO_POLICY" +], +"enumDescriptions": [ +"Default value. This value is unused.", +"A custom module for Security Health Analytics.", +"A custom organization policy constraint.", +"A built-in detector for Security Health Analytics.", +"A predefined organization policy constraint.", +"A custom rego policy constraint." +], +"type": "string" +}, +"description": { +"description": "A description of the policy.", +"type": "string" +} +}, +"type": "object" +}, +"PolicySet": { +"description": "A group of one or more Policy resources.", +"id": "PolicySet", +"properties": { +"description": { +"description": "Optional. A description of the policy set.", +"type": "string" +}, +"policies": { +"description": "Required. The Policy resources in the policy set. Each policy must have a policy_id that's unique within the policy set.", +"items": { +"$ref": "Policy" +}, +"type": "array" +}, +"policySetId": { +"description": "Required. An identifier for the policy set.", +"type": "string" +} +}, +"type": "object" +}, +"Posture": { +"description": "The details of a posture.", +"id": "Posture", +"properties": { +"annotations": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. The user-specified annotations for the posture. For details about the values you can use in an annotation, see [AIP-148: Standard fields](https://google.aip.dev/148#annotations).", +"type": "object" +}, +"categories": { +"description": "Output only. The categories that the posture belongs to, as determined by the Security Posture API.", +"items": { +"enum": [ +"CATEGORY_UNSPECIFIED", +"AI", +"AWS", +"GCP", +"AZURE" +], +"enumDescriptions": [ +"Default value. This value is unused.", +"Artificial intelligence (AI).", +"Amazon Web Services (AWS) policies.", +"Google Cloud policies.", +"Microsoft Azure policies." +], +"type": "string" +}, +"readOnly": true, +"type": "array" +}, +"createTime": { +"description": "Output only. The time at which the posture was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"description": { +"description": "Optional. A description of the posture.", +"type": "string" +}, +"etag": { +"description": "Optional. An opaque identifier for the current version of the posture at the specified `revision_id`. To prevent concurrent updates from overwriting each other, always provide the `etag` when you update a posture. You can also provide the `etag` when you delete a posture, to help ensure that you're deleting the intended version of the posture.", +"type": "string" +}, +"name": { +"description": "Required. Identifier. The name of the posture, in the format `organizations/{organization}/locations/global/postures/{posture_id}`.", +"type": "string" +}, +"policySets": { +"description": "Required. The PolicySet resources that the posture includes.", +"items": { +"$ref": "PolicySet" +}, +"type": "array" +}, +"reconciling": { +"description": "Output only. Whether the posture is in the process of being updated.", +"readOnly": true, +"type": "boolean" +}, +"revisionId": { +"description": "Output only. Immutable. An opaque eight-character string that identifies the revision of the posture. A posture can have multiple revisions; when you deploy a posture, you deploy a specific revision of the posture.", +"readOnly": true, +"type": "string" +}, +"state": { +"description": "Required. The state of the posture at the specified `revision_id`.", +"enum": [ +"STATE_UNSPECIFIED", +"DEPRECATED", +"DRAFT", +"ACTIVE" +], +"enumDescriptions": [ +"Default value. This value is unused.", +"The posture is deprecated and can no longer be deployed.", +"The posture is a draft and is not ready to deploy.", +"The posture is complete and ready to deploy." +], +"type": "string" +}, +"updateTime": { +"description": "Output only. The time at which the posture was last updated.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"PostureDeployment": { +"description": "Details for a Posture deployment on an organization, folder, or project. You can deploy at most one posture to each organization, folder, or project. The parent resource for a posture deployment is always the organization, even if the deployment applies to a folder or project.", +"id": "PostureDeployment", +"properties": { +"annotations": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. The user-specified annotations for the posture deployment. For details about the values you can use in an annotation, see [AIP-148: Standard fields](https://google.aip.dev/148#annotations).", +"type": "object" +}, +"categories": { +"description": "Output only. The categories that the posture deployment belongs to, as determined by the Security Posture API.", +"items": { +"enum": [ +"CATEGORY_UNSPECIFIED", +"AI", +"AWS", +"GCP", +"AZURE" +], +"enumDescriptions": [ +"Default value. This value is unused.", +"Artificial intelligence (AI).", +"Amazon Web Services (AWS) policies.", +"Google Cloud policies.", +"Microsoft Azure policies." +], +"type": "string" +}, +"readOnly": true, +"type": "array" +}, +"createTime": { +"description": "Output only. The time at which the posture deployment was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"description": { +"description": "Optional. A description of the posture deployment.", +"type": "string" +}, +"desiredPostureId": { +"description": "Output only. The posture ID that was specified for the deployment. Present only if the posture deployment is in a failed state.", +"readOnly": true, +"type": "string" +}, +"desiredPostureRevisionId": { +"description": "Output only. The revision ID of the posture that was specified for the deployment. Present only if the deployment is in a failed state.", +"readOnly": true, +"type": "string" +}, +"etag": { +"description": "Optional. An opaque identifier for the current version of the posture deployment. To prevent concurrent updates from overwriting each other, always provide the `etag` when you update a posture deployment. You can also provide the `etag` when you delete a posture deployment, to help ensure that you're deleting the intended posture deployment.", +"type": "string" +}, +"failureMessage": { +"description": "Output only. A description of why the posture deployment failed. Present only if the deployment is in a failed state.", +"readOnly": true, +"type": "string" +}, +"name": { +"description": "Required. Identifier. The name of the posture deployment, in the format `organizations/{organization}/locations/global/postureDeployments/{deployment_id}`.", +"type": "string" +}, +"postureId": { +"description": "Required. The posture used in the deployment, in the format `organizations/{organization}/locations/global/postures/{posture_id}`.", +"type": "string" +}, +"postureRevisionId": { +"description": "Required. The revision ID of the posture used in the deployment.", +"type": "string" +}, +"reconciling": { +"description": "Output only. Whether the posture deployment is in the process of being updated.", +"readOnly": true, +"type": "boolean" +}, +"state": { +"description": "Output only. The state of the posture deployment.", +"enum": [ +"STATE_UNSPECIFIED", +"CREATING", +"DELETING", +"UPDATING", +"ACTIVE", +"CREATE_FAILED", +"UPDATE_FAILED", +"DELETE_FAILED" +], +"enumDescriptions": [ +"Default value. This value is unused.", +"The posture deployment is being created.", +"The posture deployment is being deleted.", +"The posture deployment is being updated.", +"The posture deployment is active and in use.", +"The posture deployment could not be created.", +"The posture deployment could not be updated.", +"The posture deployment could not be deleted." +], +"readOnly": true, +"type": "string" +}, +"targetResource": { +"description": "Required. The organization, folder, or project where the posture is deployed. Uses one of the following formats: * `organizations/{organization_number}` * `folders/{folder_number}` * `projects/{project_number}`", +"type": "string" +}, +"updateTime": { +"description": "Output only. The time at which the posture deployment was last updated.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"PostureDetails": { +"description": "Details of a posture deployment.", +"id": "PostureDetails", +"properties": { +"policySet": { +"description": "The identifier for the PolicySet that the relevant policy belongs to.", +"type": "string" +}, +"posture": { +"description": "The posture used in the deployment, in the format `organizations/{organization}/locations/global/postures/{posture_id}`.", +"type": "string" +}, +"postureDeployment": { +"description": "The name of the posture deployment, in the format `organizations/{organization}/locations/global/postureDeployments/{deployment_id}`.", +"type": "string" +}, +"postureDeploymentTargetResource": { +"description": "The organization, folder, or project where the posture is deployed. Uses one of the following formats: * `organizations/{organization_number}` * `folders/{folder_number}` * `projects/{project_number}`", +"type": "string" +}, +"postureRevisionId": { +"description": "The revision ID of the posture used in the deployment.", +"type": "string" +} +}, +"type": "object" +}, +"PostureTemplate": { +"description": "The details of a posture template.", +"id": "PostureTemplate", +"properties": { +"categories": { +"description": "Output only. The categories that the posture template belongs to, as determined by the Security Posture API.", +"items": { +"enum": [ +"CATEGORY_UNSPECIFIED", +"AI", +"AWS", +"GCP", +"AZURE" +], +"enumDescriptions": [ +"Default value. This value is unused.", +"Artificial intelligence (AI).", +"Amazon Web Services (AWS) policies.", +"Google Cloud policies.", +"Microsoft Azure policies." +], +"type": "string" +}, +"readOnly": true, +"type": "array" +}, +"description": { +"description": "Output only. A description of the posture template.", +"readOnly": true, +"type": "string" +}, +"name": { +"description": "Output only. Identifier. The name of the posture template, in the format `organizations/{organization}/locations/global/postureTemplates/{posture_template}`.", +"readOnly": true, +"type": "string" +}, +"policySets": { +"description": "Output only. The PolicySet resources that the posture template includes.", +"items": { +"$ref": "PolicySet" +}, +"readOnly": true, +"type": "array" +}, +"revisionId": { +"description": "Output only. A string that identifies the revision of the posture template.", +"readOnly": true, +"type": "string" +}, +"state": { +"description": "Output only. The state of the posture template at the specified `revision_id`.", +"enum": [ +"STATE_UNSPECIFIED", +"ACTIVE", +"DEPRECATED" +], +"enumDescriptions": [ +"Default value. This value is unused.", +"The posture template follows the latest controls and standards.", +"The posture template uses outdated controls and standards. We recommend that you use a newer revision of the posture template." +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"Property": { +"description": "A name-value pair used as a custom source property.", +"id": "Property", +"properties": { +"name": { +"description": "Required. The name of the custom source property.", +"type": "string" +}, +"valueExpression": { +"$ref": "Expr", +"description": "Optional. The CEL expression for the value of the custom source property. For resource properties, you can return the value of the property or a string enclosed in quotation marks." +} +}, +"type": "object" +}, +"Report": { +"description": "Details of a report.", +"id": "Report", +"properties": { +"createTime": { +"description": "Output only. The time at which the report was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"iacValidationReport": { +"$ref": "IaCValidationReport", +"description": "Output only. An infrastructure-as-code (IaC) validation report.", +"readOnly": true +}, +"name": { +"description": "Required. The name of the report, in the format `organizations/{organization}/locations/global/reports/{report_id}`.", +"type": "string" +}, +"updateTime": { +"description": "Output only. The time at which the report was last updated.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"ResourceSelector": { +"description": "A selector for the resource types to run the detector on.", +"id": "ResourceSelector", +"properties": { +"resourceTypes": { +"description": "Required. The resource types to run the detector on. Each custom module can specify up to 5 resource types.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ResourceTypes": { +"description": "Set multiple resource types for one policy, for example: ``` resourceTypes: included: - compute.googleapis.com/Instance - compute.googleapis.com/Disk ``` Constraint definition contains an empty resource type in order to support multiple resource types in the policy. Only supports managed constraints. Method type is `GOVERN_TAGS`.", +"id": "ResourceTypes", +"properties": { +"included": { +"description": "Optional. The resource types we currently support.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"SecurityHealthAnalyticsCustomModule": { +"description": "A custom module for Security Health Analytics.", +"id": "SecurityHealthAnalyticsCustomModule", +"properties": { +"config": { +"$ref": "CustomConfig", +"description": "Required. Configuration settings for the custom module." +}, +"displayName": { +"description": "Optional. The display name of the custom module. This value is used as the finding category for all the asset violation findings that the custom module returns. The display name must contain between 1 and 128 alphanumeric characters or underscores, and it must start with a lowercase letter.", +"type": "string" +}, +"id": { +"description": "Output only. Immutable. The unique identifier for the custom module. Contains 1 to 20 digits.", +"readOnly": true, +"type": "string" +}, +"moduleEnablementState": { +"description": "Whether the custom module is enabled at a specified level of the resource hierarchy.", +"enum": [ +"ENABLEMENT_STATE_UNSPECIFIED", +"ENABLED", +"DISABLED" +], +"enumDescriptions": [ +"Default value. This value is unused.", +"The detector or custom module is enabled.", +"The detector or custom module is disabled." +], +"type": "string" +} +}, +"type": "object" +}, +"SecurityHealthAnalyticsModule": { +"description": "A built-in detector for Security Health Analytics.", +"id": "SecurityHealthAnalyticsModule", +"properties": { +"moduleEnablementState": { +"description": "Whether the detector is enabled at a specified level of the resource hierarchy.", +"enum": [ +"ENABLEMENT_STATE_UNSPECIFIED", +"ENABLED", +"DISABLED" +], +"enumDescriptions": [ +"Default value. This value is unused.", +"The detector or custom module is enabled.", +"The detector or custom module is disabled." +], +"type": "string" +}, +"moduleName": { +"description": "Required. The name of the detector. For example, `BIGQUERY_TABLE_CMEK_DISABLED`. This field is also used as the finding category for all the asset violation findings that the detector returns.", +"type": "string" +} +}, +"type": "object" +}, +"SeverityCountThreshold": { +"description": "Represents a threshold for a specific severity.", +"id": "SeverityCountThreshold", +"properties": { +"severity": { +"description": "Optional. The severity level, reusing the existing Violation.Severity.", +"enum": [ +"SEVERITY_UNSPECIFIED", +"CRITICAL", +"HIGH", +"MEDIUM", +"LOW" +], +"enumDescriptions": [ +"Default value. This value is unused.", +"Critical severity.", +"High severity.", +"Medium severity.", +"Low severity." +], +"type": "string" +}, +"thresholdCount": { +"description": "Optional. If violation count meets or exceeds this threshold, validation fails.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"Status": { +"description": "The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors).", +"id": "Status", +"properties": { +"code": { +"description": "The status code, which should be an enum value of google.rpc.Code.", +"format": "int32", +"type": "integer" +}, +"details": { +"description": "A list of messages that carry the error details. There is a common set of message types for APIs to use.", +"items": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.", +"type": "string" +} +}, +"type": "object" +}, +"Violation": { +"description": "Details of a violation.", +"id": "Violation", +"properties": { +"assetId": { +"description": "The full resource name of the asset that caused the violation. For details about the format of the full resource name for each asset type, see [Resource name format](https://cloud.google.com/asset-inventory/docs/resource-name-format).", +"type": "string" +}, +"nextSteps": { +"description": "A description of the steps that you can take to fix the violation.", +"type": "string" +}, +"policyId": { +"description": "The policy that was violated.", +"type": "string" +}, +"severity": { +"description": "The severity of the violation.", +"enum": [ +"SEVERITY_UNSPECIFIED", +"CRITICAL", +"HIGH", +"MEDIUM", +"LOW" +], +"enumDescriptions": [ +"Default value. This value is unused.", +"Critical severity.", +"High severity.", +"Medium severity.", +"Low severity." +], +"type": "string" +}, +"violatedAsset": { +"$ref": "AssetDetails", +"description": "Details of the Cloud Asset Inventory asset that caused the violation." +}, +"violatedPolicy": { +"$ref": "PolicyDetails", +"description": "Details of the policy that was violated." +}, +"violatedPosture": { +"$ref": "PostureDetails", +"description": "Details for the posture that was violated. This field is present only if the violated policy belongs to a deployed posture." +} +}, +"type": "object" +} +}, +"servicePath": "", +"title": "Security Posture API", +"version": "v1", +"version_module": true +} \ No newline at end of file diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/serviceconsumermanagement.v1.json b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/serviceconsumermanagement.v1.json new file mode 100644 index 0000000000000000000000000000000000000000..9692602277d31403efab8e425eca13540625a9c1 --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/serviceconsumermanagement.v1.json @@ -0,0 +1,3521 @@ +{ +"auth": { +"oauth2": { +"scopes": { +"https://www.googleapis.com/auth/cloud-platform": { +"description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." +} +} +} +}, +"basePath": "", +"baseUrl": "https://serviceconsumermanagement.googleapis.com/", +"batchPath": "batch", +"canonicalName": "Service Consumer Management", +"description": "Manages the service consumers of a Service Infrastructure service.", +"discoveryVersion": "v1", +"documentationLink": "https://cloud.google.com/service-consumer-management/docs/overview", +"fullyEncodeReservedExpansion": true, +"icons": { +"x16": "http://www.google.com/images/icons/product/search-16.gif", +"x32": "http://www.google.com/images/icons/product/search-32.gif" +}, +"id": "serviceconsumermanagement:v1", +"kind": "discovery#restDescription", +"mtlsRootUrl": "https://serviceconsumermanagement.mtls.googleapis.com/", +"name": "serviceconsumermanagement", +"ownerDomain": "google.com", +"ownerName": "Google", +"parameters": { +"$.xgafv": { +"description": "V1 error format.", +"enum": [ +"1", +"2" +], +"enumDescriptions": [ +"v1 error format", +"v2 error format" +], +"location": "query", +"type": "string" +}, +"access_token": { +"description": "OAuth access token.", +"location": "query", +"type": "string" +}, +"alt": { +"default": "json", +"description": "Data format for response.", +"enum": [ +"json", +"media", +"proto" +], +"enumDescriptions": [ +"Responses with Content-Type of application/json", +"Media download with context-dependent Content-Type", +"Responses with Content-Type of application/x-protobuf" +], +"location": "query", +"type": "string" +}, +"callback": { +"description": "JSONP", +"location": "query", +"type": "string" +}, +"fields": { +"description": "Selector specifying which fields to include in a partial response.", +"location": "query", +"type": "string" +}, +"key": { +"description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", +"location": "query", +"type": "string" +}, +"oauth_token": { +"description": "OAuth 2.0 token for the current user.", +"location": "query", +"type": "string" +}, +"prettyPrint": { +"default": "true", +"description": "Returns response with indentations and line breaks.", +"location": "query", +"type": "boolean" +}, +"quotaUser": { +"description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.", +"location": "query", +"type": "string" +}, +"uploadType": { +"description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", +"location": "query", +"type": "string" +}, +"upload_protocol": { +"description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", +"location": "query", +"type": "string" +} +}, +"protocol": "rest", +"resources": { +"operations": { +"methods": { +"cancel": { +"description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.", +"flatPath": "v1/operations/{operationsId}:cancel", +"httpMethod": "POST", +"id": "serviceconsumermanagement.operations.cancel", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be cancelled.", +"location": "path", +"pattern": "^operations/.*$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:cancel", +"request": { +"$ref": "CancelOperationRequest" +}, +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.", +"flatPath": "v1/operations/{operationsId}", +"httpMethod": "DELETE", +"id": "serviceconsumermanagement.operations.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be deleted.", +"location": "path", +"pattern": "^operations/.*$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", +"flatPath": "v1/operations/{operationsId}", +"httpMethod": "GET", +"id": "serviceconsumermanagement.operations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource.", +"location": "path", +"pattern": "^operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.", +"flatPath": "v1/operations", +"httpMethod": "GET", +"id": "serviceconsumermanagement.operations.list", +"parameterOrder": [ +"name" +], +"parameters": { +"filter": { +"description": "The standard list filter.", +"location": "query", +"type": "string" +}, +"name": { +"description": "The name of the operation's parent resource.", +"location": "path", +"pattern": "^operations$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The standard list page size.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The standard list page token.", +"location": "query", +"type": "string" +}, +"returnPartialSuccess": { +"description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `\"projects/example/locations/-\"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "ListOperationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"services": { +"methods": { +"search": { +"description": "Search tenancy units for a managed service.", +"flatPath": "v1/services/{servicesId}:search", +"httpMethod": "GET", +"id": "serviceconsumermanagement.services.search", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "Optional. The maximum number of results returned by this request. Currently, the default maximum is set to 256. If `page_size` <= 256, the request proceeds. Else, the request fails with an `TU_INVALID_PAGE_SIZE` error.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. The continuation token, which is used to page through large result sets. To get the next page of results, set this parameter to the value of `nextPageToken` from the previous response.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. Service for which search is performed. services/{service} {service} the name of a service, for example 'service.googleapis.com'.", +"location": "path", +"pattern": "^services/[^/]+$", +"required": true, +"type": "string" +}, +"query": { +"description": "Optional. Set a query `{expression}` for querying tenancy units. Your `{expression}` must be in the format: `field_name=literal_string`. The `field_name` is the name of the field you want to compare. Supported fields are `tenant_resources.tag` and `tenant_resources.resource`. For example, to search tenancy units that contain at least one tenant resource with a given tag 'xyz', use the query `tenant_resources.tag=xyz`. To search tenancy units that contain at least one tenant resource with a given resource name 'projects/123456', use the query `tenant_resources.resource=projects/123456`. Multiple expressions can be joined with `AND`s. Tenancy units must match all expressions to be included in the result set. For example, `tenant_resources.tag=xyz AND tenant_resources.resource=projects/123456`", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+parent}:search", +"response": { +"$ref": "SearchTenancyUnitsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"tenancyUnits": { +"methods": { +"addProject": { +"description": "Add a new tenant project to the tenancy unit. There can be a maximum of 1024 tenant projects in a tenancy unit. If there are previously failed `AddTenantProject` calls, you might need to call `RemoveTenantProject` first to resolve them before you can make another call to `AddTenantProject` with the same tag. Operation.", +"flatPath": "v1/services/{servicesId}/{servicesId1}/{servicesId2}/tenancyUnits/{tenancyUnitsId}:addProject", +"httpMethod": "POST", +"id": "serviceconsumermanagement.services.tenancyUnits.addProject", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. Name of the tenancy unit. Such as 'services/service.googleapis.com/projects/12345/tenancyUnits/abcd'.", +"location": "path", +"pattern": "^services/[^/]+/[^/]+/[^/]+/tenancyUnits/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}:addProject", +"request": { +"$ref": "AddTenantProjectRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"applyProjectConfig": { +"description": "Apply a configuration to an existing tenant project. This project must exist in an active state and have the original owner account. The caller must have permission to add a project to the given tenancy unit. The configuration is applied, but any existing settings on the project aren't modified. Specified policy bindings are applied. Existing bindings aren't modified. Specified services are activated. No service is deactivated. If specified, new billing configuration is applied. Omit a billing configuration to keep the existing one. A service account in the project is created if previously non existed. Specified labels will be appended to tenant project, note that the value of existing label key will be updated if the same label key is requested. The specified folder is ignored, as moving a tenant project to a different folder isn't supported. The operation fails if any of the steps fail, but no rollback of already applied configuration changes is attempted. Operation.", +"flatPath": "v1/services/{servicesId}/{servicesId1}/{servicesId2}/tenancyUnits/{tenancyUnitsId}:applyProjectConfig", +"httpMethod": "POST", +"id": "serviceconsumermanagement.services.tenancyUnits.applyProjectConfig", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of the tenancy unit. Such as 'services/service.googleapis.com/projects/12345/tenancyUnits/abcd'.", +"location": "path", +"pattern": "^services/[^/]+/[^/]+/[^/]+/tenancyUnits/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:applyProjectConfig", +"request": { +"$ref": "ApplyTenantProjectConfigRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"attachProject": { +"description": "Attach an existing project to the tenancy unit as a new tenant resource. The project could either be the tenant project reserved by calling `AddTenantProject` under a tenancy unit of a service producer's project of a managed service, or from a separate project. The caller is checked against a set of permissions as if calling `AddTenantProject` on the same service consumer. To trigger the attachment, the targeted tenant project must be in a folder. Make sure the ServiceConsumerManagement service account is the owner of that project. These two requirements are already met if the project is reserved by calling `AddTenantProject`. Operation.", +"flatPath": "v1/services/{servicesId}/{servicesId1}/{servicesId2}/tenancyUnits/{tenancyUnitsId}:attachProject", +"httpMethod": "POST", +"id": "serviceconsumermanagement.services.tenancyUnits.attachProject", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of the tenancy unit that the project will be attached to. Such as 'services/service.googleapis.com/projects/12345/tenancyUnits/abcd'.", +"location": "path", +"pattern": "^services/[^/]+/[^/]+/[^/]+/tenancyUnits/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:attachProject", +"request": { +"$ref": "AttachTenantProjectRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"create": { +"description": "Creates a tenancy unit with no tenant resources. If tenancy unit already exists, it will be returned, however, in this case, returned TenancyUnit does not have tenant_resources field set and ListTenancyUnits has to be used to get a complete TenancyUnit with all fields populated.", +"flatPath": "v1/services/{servicesId}/{servicesId1}/{servicesId2}/tenancyUnits", +"httpMethod": "POST", +"id": "serviceconsumermanagement.services.tenancyUnits.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. services/{service}/{collection id}/{resource id} {collection id} is the cloud resource collection type representing the service consumer, for example 'projects', or 'organizations'. {resource id} is the consumer numeric id, such as project number: '123456'. {service} the name of a managed service, such as 'service.googleapis.com'. Enables service binding using the new tenancy unit.", +"location": "path", +"pattern": "^services/[^/]+/[^/]+/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/tenancyUnits", +"request": { +"$ref": "CreateTenancyUnitRequest" +}, +"response": { +"$ref": "TenancyUnit" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Delete a tenancy unit. Before you delete the tenancy unit, there should be no tenant resources in it that aren't in a DELETED state. Operation.", +"flatPath": "v1/services/{servicesId}/{servicesId1}/{servicesId2}/tenancyUnits/{tenancyUnitsId}", +"httpMethod": "DELETE", +"id": "serviceconsumermanagement.services.tenancyUnits.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of the tenancy unit to be deleted.", +"location": "path", +"pattern": "^services/[^/]+/[^/]+/[^/]+/tenancyUnits/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"deleteProject": { +"description": "Deletes the specified project resource identified by a tenant resource tag. The mothod removes a project lien with a 'TenantManager' origin if that was added. It will then attempt to delete the project. If that operation fails, this method also fails. After the project has been deleted, the tenant resource state is set to DELETED. To permanently remove resource metadata, call the `RemoveTenantProject` method. New resources with the same tag can't be added if there are existing resources in a DELETED state. Operation.", +"flatPath": "v1/services/{servicesId}/{servicesId1}/{servicesId2}/tenancyUnits/{tenancyUnitsId}:deleteProject", +"httpMethod": "POST", +"id": "serviceconsumermanagement.services.tenancyUnits.deleteProject", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of the tenancy unit. Such as 'services/service.googleapis.com/projects/12345/tenancyUnits/abcd'.", +"location": "path", +"pattern": "^services/[^/]+/[^/]+/[^/]+/tenancyUnits/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:deleteProject", +"request": { +"$ref": "DeleteTenantProjectRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Find the tenancy unit for a managed service and service consumer. This method shouldn't be used in a service producer's runtime path, for example to find the tenant project number when creating VMs. Service producers must persist the tenant project's information after the project is created.", +"flatPath": "v1/services/{servicesId}/{servicesId1}/{servicesId2}/tenancyUnits", +"httpMethod": "GET", +"id": "serviceconsumermanagement.services.tenancyUnits.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Optional. Filter expression over tenancy resources field. Optional.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Optional. The maximum number of results returned by this request.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. The continuation token, which is used to page through large result sets. To get the next page of results, set this parameter to the value of `nextPageToken` from the previous response.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. Managed service and service consumer. Required. services/{service}/{collection id}/{resource id} {collection id} is the cloud resource collection type representing the service consumer, for example 'projects', or 'organizations'. {resource id} is the consumer numeric id, such as project number: '123456'. {service} the name of a service, such as 'service.googleapis.com'.", +"location": "path", +"pattern": "^services/[^/]+/[^/]+/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/tenancyUnits", +"response": { +"$ref": "ListTenancyUnitsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"removeProject": { +"description": "Removes the specified project resource identified by a tenant resource tag. The method removes the project lien with 'TenantManager' origin if that was added. It then attempts to delete the project. If that operation fails, this method also fails. Calls to remove already removed or non-existent tenant project succeed. After the project has been deleted, or if was already in a DELETED state, resource metadata is permanently removed from the tenancy unit. Operation.", +"flatPath": "v1/services/{servicesId}/{servicesId1}/{servicesId2}/tenancyUnits/{tenancyUnitsId}:removeProject", +"httpMethod": "POST", +"id": "serviceconsumermanagement.services.tenancyUnits.removeProject", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of the tenancy unit. Such as 'services/service.googleapis.com/projects/12345/tenancyUnits/abcd'.", +"location": "path", +"pattern": "^services/[^/]+/[^/]+/[^/]+/tenancyUnits/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:removeProject", +"request": { +"$ref": "RemoveTenantProjectRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"undeleteProject": { +"description": "Attempts to undelete a previously deleted tenant project. The project must be in a DELETED state. There are no guarantees that an undeleted project will be in a fully restored and functional state. Call the `ApplyTenantProjectConfig` method to update its configuration and then validate all managed service resources. Operation.", +"flatPath": "v1/services/{servicesId}/{servicesId1}/{servicesId2}/tenancyUnits/{tenancyUnitsId}:undeleteProject", +"httpMethod": "POST", +"id": "serviceconsumermanagement.services.tenancyUnits.undeleteProject", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of the tenancy unit. Such as 'services/service.googleapis.com/projects/12345/tenancyUnits/abcd'.", +"location": "path", +"pattern": "^services/[^/]+/[^/]+/[^/]+/tenancyUnits/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:undeleteProject", +"request": { +"$ref": "UndeleteTenantProjectRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +} +}, +"revision": "20260210", +"rootUrl": "https://serviceconsumermanagement.googleapis.com/", +"schemas": { +"AddTenantProjectRequest": { +"description": "Request to add a newly created and configured tenant project to a tenancy unit.", +"id": "AddTenantProjectRequest", +"properties": { +"projectConfig": { +"$ref": "TenantProjectConfig", +"description": "Configuration of the new tenant project to be added to tenancy unit resources." +}, +"tag": { +"description": "Required. Tag of the added project. Must be less than 128 characters. Required.", +"type": "string" +} +}, +"type": "object" +}, +"Api": { +"description": "Api is a light-weight descriptor for an API Interface. Interfaces are also described as \"protocol buffer services\" in some contexts, such as by the \"service\" keyword in a .proto file, but they are different from API Services, which represent a concrete implementation of an interface as opposed to simply a description of methods and bindings. They are also sometimes simply referred to as \"APIs\" in other contexts, such as the name of this message itself. See https://cloud.google.com/apis/design/glossary for detailed terminology. New usages of this message as an alternative to ServiceDescriptorProto are strongly discouraged. This message does not reliability preserve all information necessary to model the schema and preserve semantics. Instead make use of FileDescriptorSet which preserves the necessary information.", +"id": "Api", +"properties": { +"edition": { +"description": "The source edition string, only valid when syntax is SYNTAX_EDITIONS.", +"type": "string" +}, +"methods": { +"description": "The methods of this interface, in unspecified order.", +"items": { +"$ref": "Method" +}, +"type": "array" +}, +"mixins": { +"description": "Included interfaces. See Mixin.", +"items": { +"$ref": "Mixin" +}, +"type": "array" +}, +"name": { +"description": "The fully qualified name of this interface, including package name followed by the interface's simple name.", +"type": "string" +}, +"options": { +"description": "Any metadata attached to the interface.", +"items": { +"$ref": "Option" +}, +"type": "array" +}, +"sourceContext": { +"$ref": "SourceContext", +"description": "Source context for the protocol buffer service represented by this message." +}, +"syntax": { +"description": "The source syntax of the service.", +"enum": [ +"SYNTAX_PROTO2", +"SYNTAX_PROTO3", +"SYNTAX_EDITIONS" +], +"enumDescriptions": [ +"Syntax `proto2`.", +"Syntax `proto3`.", +"Syntax `editions`." +], +"type": "string" +}, +"version": { +"description": "A version string for this interface. If specified, must have the form `major-version.minor-version`, as in `1.10`. If the minor version is omitted, it defaults to zero. If the entire version field is empty, the major version is derived from the package name, as outlined below. If the field is not empty, the version in the package name will be verified to be consistent with what is provided here. The versioning schema uses [semantic versioning](http://semver.org) where the major version number indicates a breaking change and the minor version an additive, non-breaking change. Both version numbers are signals to users what to expect from different versions, and should be carefully chosen based on the product plan. The major version is also reflected in the package name of the interface, which must end in `v`, as in `google.feature.v1`. For major versions 0 and 1, the suffix can be omitted. Zero major versions must only be used for experimental, non-GA interfaces. ", +"type": "string" +} +}, +"type": "object" +}, +"ApplyTenantProjectConfigRequest": { +"description": "Request to apply configuration to an existing tenant project.", +"id": "ApplyTenantProjectConfigRequest", +"properties": { +"projectConfig": { +"$ref": "TenantProjectConfig", +"description": "Configuration that should be applied to the existing tenant project." +}, +"tag": { +"description": "Required. Tag of the project. Must be less than 128 characters. Required.", +"type": "string" +} +}, +"type": "object" +}, +"Aspect": { +"description": "Aspect represents Generic aspect. It is used to configure an aspect without making direct changes to service.proto", +"id": "Aspect", +"properties": { +"kind": { +"description": "The type of this aspect configuration.", +"type": "string" +}, +"rules": { +"description": "Optional. Rules of the Configuration.", +"items": { +"$ref": "AspectRule" +}, +"type": "array" +}, +"spec": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"description": "Content of the configuration. The underlying schema should be defined by Aspect owners as protobuf message under `google/api/configaspects/proto`.", +"type": "object" +} +}, +"type": "object" +}, +"AspectRule": { +"description": "Rule-based configuration for an aspect.", +"id": "AspectRule", +"properties": { +"config": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"description": "Required. Rules of the configuration. The underlying schema should be defined by Aspect owners as protobuf message under `google/api/configaspects/proto`.", +"type": "object" +}, +"selector": { +"description": "Required. Selects the RPC methods to which this rule applies. Refer to selector for syntax details.", +"type": "string" +} +}, +"type": "object" +}, +"AttachTenantProjectRequest": { +"description": "Request to attach an existing project to the tenancy unit as a new tenant resource.", +"id": "AttachTenantProjectRequest", +"properties": { +"externalResource": { +"description": "When attaching an external project, this is in the format of `projects/{project_number}`.", +"type": "string" +}, +"reservedResource": { +"description": "When attaching a reserved project already in tenancy units, this is the tag of a tenant resource under the tenancy unit for the managed service's service producer project. The reserved tenant resource must be in an active state.", +"type": "string" +}, +"tag": { +"description": "Required. Tag of the tenant resource after attachment. Must be less than 128 characters. Required.", +"type": "string" +} +}, +"type": "object" +}, +"AuthProvider": { +"description": "Configuration for an authentication provider, including support for [JSON Web Token (JWT)](https://tools.ietf.org/html/draft-ietf-oauth-json-web-token-32).", +"id": "AuthProvider", +"properties": { +"audiences": { +"description": "The list of JWT [audiences](https://tools.ietf.org/html/draft-ietf-oauth-json-web-token-32#section-4.1.3). that are allowed to access. A JWT containing any of these audiences will be accepted. When this setting is absent, JWTs with audiences: - \"https://[service.name]/[google.protobuf.Api.name]\" - \"https://[service.name]/\" will be accepted. For example, if no audiences are in the setting, LibraryService API will accept JWTs with the following audiences: - https://library-example.googleapis.com/google.example.library.v1.LibraryService - https://library-example.googleapis.com/ Example: audiences: bookstore_android.apps.googleusercontent.com, bookstore_web.apps.googleusercontent.com", +"type": "string" +}, +"authorizationUrl": { +"description": "Redirect URL if JWT token is required but not present or is expired. Implement authorizationUrl of securityDefinitions in OpenAPI spec.", +"type": "string" +}, +"id": { +"description": "The unique identifier of the auth provider. It will be referred to by `AuthRequirement.provider_id`. Example: \"bookstore_auth\".", +"type": "string" +}, +"issuer": { +"description": "Identifies the principal that issued the JWT. See https://tools.ietf.org/html/draft-ietf-oauth-json-web-token-32#section-4.1.1 Usually a URL or an email address. Example: https://securetoken.google.com Example: 1234567-compute@developer.gserviceaccount.com", +"type": "string" +}, +"jwksUri": { +"description": "URL of the provider's public key set to validate signature of the JWT. See [OpenID Discovery](https://openid.net/specs/openid-connect-discovery-1_0.html#ProviderMetadata). Optional if the key set document: - can be retrieved from [OpenID Discovery](https://openid.net/specs/openid-connect-discovery-1_0.html) of the issuer. - can be inferred from the email domain of the issuer (e.g. a Google service account). Example: https://www.googleapis.com/oauth2/v1/certs", +"type": "string" +}, +"jwtLocations": { +"description": "Defines the locations to extract the JWT. For now it is only used by the Cloud Endpoints to store the OpenAPI extension [x-google-jwt-locations] (https://cloud.google.com/endpoints/docs/openapi/openapi-extensions#x-google-jwt-locations) JWT locations can be one of HTTP headers, URL query parameters or cookies. The rule is that the first match wins. If not specified, default to use following 3 locations: 1) Authorization: Bearer 2) x-goog-iap-jwt-assertion 3) access_token query parameter Default locations can be specified as followings: jwt_locations: - header: Authorization value_prefix: \"Bearer \" - header: x-goog-iap-jwt-assertion - query: access_token", +"items": { +"$ref": "JwtLocation" +}, +"type": "array" +} +}, +"type": "object" +}, +"AuthRequirement": { +"description": "User-defined authentication requirements, including support for [JSON Web Token (JWT)](https://tools.ietf.org/html/draft-ietf-oauth-json-web-token-32).", +"id": "AuthRequirement", +"properties": { +"audiences": { +"description": "NOTE: This will be deprecated soon, once AuthProvider.audiences is implemented and accepted in all the runtime components. The list of JWT [audiences](https://tools.ietf.org/html/draft-ietf-oauth-json-web-token-32#section-4.1.3). that are allowed to access. A JWT containing any of these audiences will be accepted. When this setting is absent, only JWTs with audience \"https://Service_name/API_name\" will be accepted. For example, if no audiences are in the setting, LibraryService API will only accept JWTs with the following audience \"https://library-example.googleapis.com/google.example.library.v1.LibraryService\". Example: audiences: bookstore_android.apps.googleusercontent.com, bookstore_web.apps.googleusercontent.com", +"type": "string" +}, +"providerId": { +"description": "id from authentication provider. Example: provider_id: bookstore_auth", +"type": "string" +} +}, +"type": "object" +}, +"Authentication": { +"description": "`Authentication` defines the authentication configuration for API methods provided by an API service. Example: name: calendar.googleapis.com authentication: providers: - id: google_calendar_auth jwks_uri: https://www.googleapis.com/oauth2/v1/certs issuer: https://securetoken.google.com rules: - selector: \"*\" requirements: provider_id: google_calendar_auth - selector: google.calendar.Delegate oauth: canonical_scopes: https://www.googleapis.com/auth/calendar.read", +"id": "Authentication", +"properties": { +"providers": { +"description": "Defines a set of authentication providers that a service supports.", +"items": { +"$ref": "AuthProvider" +}, +"type": "array" +}, +"rules": { +"description": "A list of authentication rules that apply to individual API methods. **NOTE:** All service configuration rules follow \"last one wins\" order.", +"items": { +"$ref": "AuthenticationRule" +}, +"type": "array" +} +}, +"type": "object" +}, +"AuthenticationRule": { +"description": "Authentication rules for the service. By default, if a method has any authentication requirements, every request must include a valid credential matching one of the requirements. It's an error to include more than one kind of credential in a single request. If a method doesn't have any auth requirements, request credentials will be ignored.", +"id": "AuthenticationRule", +"properties": { +"allowWithoutCredential": { +"description": "If true, the service accepts API keys without any other credential. This flag only applies to HTTP and gRPC requests.", +"type": "boolean" +}, +"oauth": { +"$ref": "OAuthRequirements", +"description": "The requirements for OAuth credentials." +}, +"requirements": { +"description": "Requirements for additional authentication providers.", +"items": { +"$ref": "AuthRequirement" +}, +"type": "array" +}, +"selector": { +"description": "Selects the methods to which this rule applies. Refer to selector for syntax details.", +"type": "string" +} +}, +"type": "object" +}, +"Backend": { +"description": "`Backend` defines the backend configuration for a service.", +"id": "Backend", +"properties": { +"rules": { +"description": "A list of API backend rules that apply to individual API methods. **NOTE:** All service configuration rules follow \"last one wins\" order.", +"items": { +"$ref": "BackendRule" +}, +"type": "array" +} +}, +"type": "object" +}, +"BackendRule": { +"description": "A backend rule provides configuration for an individual API element.", +"id": "BackendRule", +"properties": { +"address": { +"description": "The address of the API backend. The scheme is used to determine the backend protocol and security. The following schemes are accepted: SCHEME PROTOCOL SECURITY http:// HTTP None https:// HTTP TLS grpc:// gRPC None grpcs:// gRPC TLS It is recommended to explicitly include a scheme. Leaving out the scheme may cause constrasting behaviors across platforms. If the port is unspecified, the default is: - 80 for schemes without TLS - 443 for schemes with TLS For HTTP backends, use protocol to specify the protocol version.", +"type": "string" +}, +"deadline": { +"description": "The number of seconds to wait for a response from a request. The default varies based on the request protocol and deployment environment.", +"format": "double", +"type": "number" +}, +"disableAuth": { +"description": "When disable_auth is true, a JWT ID token won't be generated and the original \"Authorization\" HTTP header will be preserved. If the header is used to carry the original token and is expected by the backend, this field must be set to true to preserve the header.", +"type": "boolean" +}, +"jwtAudience": { +"description": "The JWT audience is used when generating a JWT ID token for the backend. This ID token will be added in the HTTP \"authorization\" header, and sent to the backend.", +"type": "string" +}, +"loadBalancingPolicy": { +"description": "The load balancing policy used for connection to the application backend. Defined as an arbitrary string to accomondate custom load balancing policies supported by the underlying channel, but suggest most users use one of the standard policies, such as the default, \"RoundRobin\".", +"type": "string" +}, +"minDeadline": { +"deprecated": true, +"description": "Deprecated, do not use.", +"format": "double", +"type": "number" +}, +"operationDeadline": { +"description": "The number of seconds to wait for the completion of a long running operation. The default is no deadline.", +"format": "double", +"type": "number" +}, +"overridesByRequestProtocol": { +"additionalProperties": { +"$ref": "BackendRule" +}, +"description": "The map between request protocol and the backend address.", +"type": "object" +}, +"pathTranslation": { +"description": "no-lint", +"enum": [ +"PATH_TRANSLATION_UNSPECIFIED", +"CONSTANT_ADDRESS", +"APPEND_PATH_TO_ADDRESS" +], +"enumDescriptions": [ +"", +"Use the backend address as-is, with no modification to the path. If the URL pattern contains variables, the variable names and values will be appended to the query string. If a query string parameter and a URL pattern variable have the same name, this may result in duplicate keys in the query string. # Examples Given the following operation config: Method path: /api/company/{cid}/user/{uid} Backend address: https://example.cloudfunctions.net/getUser Requests to the following request paths will call the backend at the translated path: Request path: /api/company/widgetworks/user/johndoe Translated: https://example.cloudfunctions.net/getUser?cid=widgetworks&uid=johndoe Request path: /api/company/widgetworks/user/johndoe?timezone=EST Translated: https://example.cloudfunctions.net/getUser?timezone=EST&cid=widgetworks&uid=johndoe", +"The request path will be appended to the backend address. # Examples Given the following operation config: Method path: /api/company/{cid}/user/{uid} Backend address: https://example.appspot.com Requests to the following request paths will call the backend at the translated path: Request path: /api/company/widgetworks/user/johndoe Translated: https://example.appspot.com/api/company/widgetworks/user/johndoe Request path: /api/company/widgetworks/user/johndoe?timezone=EST Translated: https://example.appspot.com/api/company/widgetworks/user/johndoe?timezone=EST" +], +"type": "string" +}, +"protocol": { +"description": "The protocol used for sending a request to the backend. The supported values are \"http/1.1\" and \"h2\". The default value is inferred from the scheme in the address field: SCHEME PROTOCOL http:// http/1.1 https:// http/1.1 grpc:// h2 grpcs:// h2 For secure HTTP backends (https://) that support HTTP/2, set this field to \"h2\" for improved performance. Configuring this field to non-default values is only supported for secure HTTP backends. This field will be ignored for all other backends. See https://www.iana.org/assignments/tls-extensiontype-values/tls-extensiontype-values.xhtml#alpn-protocol-ids for more details on the supported values.", +"type": "string" +}, +"selector": { +"description": "Selects the methods to which this rule applies. Refer to selector for syntax details.", +"type": "string" +} +}, +"type": "object" +}, +"BatchingConfigProto": { +"description": "`BatchingConfigProto` defines the batching configuration for an API method.", +"id": "BatchingConfigProto", +"properties": { +"batchDescriptor": { +"$ref": "BatchingDescriptorProto", +"description": "The request and response fields used in batching." +}, +"thresholds": { +"$ref": "BatchingSettingsProto", +"description": "The thresholds which trigger a batched request to be sent." +} +}, +"type": "object" +}, +"BatchingDescriptorProto": { +"description": "`BatchingDescriptorProto` specifies the fields of the request message to be used for batching, and, optionally, the fields of the response message to be used for demultiplexing.", +"id": "BatchingDescriptorProto", +"properties": { +"batchedField": { +"description": "The repeated field in the request message to be aggregated by batching.", +"type": "string" +}, +"discriminatorFields": { +"description": "A list of the fields in the request message. Two requests will be batched together only if the values of every field specified in `request_discriminator_fields` is equal between the two requests.", +"items": { +"type": "string" +}, +"type": "array" +}, +"subresponseField": { +"description": "Optional. When present, indicates the field in the response message to be used to demultiplex the response into multiple response messages, in correspondence with the multiple request messages originally batched together.", +"type": "string" +} +}, +"type": "object" +}, +"BatchingSettingsProto": { +"description": "`BatchingSettingsProto` specifies a set of batching thresholds, each of which acts as a trigger to send a batch of messages as a request. At least one threshold must be positive nonzero.", +"id": "BatchingSettingsProto", +"properties": { +"delayThreshold": { +"description": "The duration after which a batch should be sent, starting from the addition of the first message to that batch.", +"format": "google-duration", +"type": "string" +}, +"elementCountLimit": { +"description": "The maximum number of elements collected in a batch that could be accepted by server.", +"format": "int32", +"type": "integer" +}, +"elementCountThreshold": { +"description": "The number of elements of a field collected into a batch which, if exceeded, causes the batch to be sent.", +"format": "int32", +"type": "integer" +}, +"flowControlByteLimit": { +"description": "The maximum size of data allowed by flow control.", +"format": "int32", +"type": "integer" +}, +"flowControlElementLimit": { +"description": "The maximum number of elements allowed by flow control.", +"format": "int32", +"type": "integer" +}, +"flowControlLimitExceededBehavior": { +"description": "The behavior to take when the flow control limit is exceeded.", +"enum": [ +"UNSET_BEHAVIOR", +"THROW_EXCEPTION", +"BLOCK", +"IGNORE" +], +"enumDescriptions": [ +"Default behavior, system-defined.", +"Stop operation, raise error.", +"Pause operation until limit clears.", +"Continue operation, disregard limit." +], +"type": "string" +}, +"requestByteLimit": { +"description": "The maximum size of the request that could be accepted by server.", +"format": "int32", +"type": "integer" +}, +"requestByteThreshold": { +"description": "The aggregated size of the batched field which, if exceeded, causes the batch to be sent. This size is computed by aggregating the sizes of the request field to be batched, not of the entire request message.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"Billing": { +"description": "Billing related configuration of the service. The following example shows how to configure monitored resources and metrics for billing, `consumer_destinations` is the only supported destination and the monitored resources need at least one label key `cloud.googleapis.com/location` to indicate the location of the billing usage, using different monitored resources between monitoring and billing is recommended so they can be evolved independently: monitored_resources: - type: library.googleapis.com/billing_branch labels: - key: cloud.googleapis.com/location description: | Predefined label to support billing location restriction. - key: city description: | Custom label to define the city where the library branch is located in. - key: name description: Custom label to define the name of the library branch. metrics: - name: library.googleapis.com/book/borrowed_count metric_kind: DELTA value_type: INT64 unit: \"1\" billing: consumer_destinations: - monitored_resource: library.googleapis.com/billing_branch metrics: - library.googleapis.com/book/borrowed_count", +"id": "Billing", +"properties": { +"consumerDestinations": { +"description": "Billing configurations for sending metrics to the consumer project. There can be multiple consumer destinations per service, each one must have a different monitored resource type. A metric can be used in at most one consumer destination.", +"items": { +"$ref": "BillingDestination" +}, +"type": "array" +} +}, +"type": "object" +}, +"BillingConfig": { +"description": "Describes the billing configuration for a new tenant project.", +"id": "BillingConfig", +"properties": { +"billingAccount": { +"description": "Name of the billing account. For example `billingAccounts/012345-567890-ABCDEF`.", +"type": "string" +} +}, +"type": "object" +}, +"BillingDestination": { +"description": "Configuration of a specific billing destination (Currently only support bill against consumer project).", +"id": "BillingDestination", +"properties": { +"metrics": { +"description": "Names of the metrics to report to this billing destination. Each name must be defined in Service.metrics section.", +"items": { +"type": "string" +}, +"type": "array" +}, +"monitoredResource": { +"description": "The monitored resource type. The type must be defined in Service.monitored_resources section.", +"type": "string" +} +}, +"type": "object" +}, +"CancelOperationRequest": { +"description": "The request message for Operations.CancelOperation.", +"id": "CancelOperationRequest", +"properties": {}, +"type": "object" +}, +"ClientLibrarySettings": { +"description": "Details about how and where to publish client libraries.", +"id": "ClientLibrarySettings", +"properties": { +"cppSettings": { +"$ref": "CppSettings", +"description": "Settings for C++ client libraries." +}, +"dotnetSettings": { +"$ref": "DotnetSettings", +"description": "Settings for .NET client libraries." +}, +"goSettings": { +"$ref": "GoSettings", +"description": "Settings for Go client libraries." +}, +"javaSettings": { +"$ref": "JavaSettings", +"description": "Settings for legacy Java features, supported in the Service YAML." +}, +"launchStage": { +"description": "Launch stage of this version of the API.", +"enum": [ +"LAUNCH_STAGE_UNSPECIFIED", +"UNIMPLEMENTED", +"PRELAUNCH", +"EARLY_ACCESS", +"ALPHA", +"BETA", +"GA", +"DEPRECATED" +], +"enumDescriptions": [ +"Do not use this default value.", +"The feature is not yet implemented. Users can not use it.", +"Prelaunch features are hidden from users and are only visible internally.", +"Early Access features are limited to a closed group of testers. To use these features, you must sign up in advance and sign a Trusted Tester agreement (which includes confidentiality provisions). These features may be unstable, changed in backward-incompatible ways, and are not guaranteed to be released.", +"Alpha is a limited availability test for releases before they are cleared for widespread use. By Alpha, all significant design issues are resolved and we are in the process of verifying functionality. Alpha customers need to apply for access, agree to applicable terms, and have their projects allowlisted. Alpha releases don't have to be feature complete, no SLAs are provided, and there are no technical support obligations, but they will be far enough along that customers can actually use them in test environments or for limited-use tests -- just like they would in normal production cases.", +"Beta is the point at which we are ready to open a release for any customer to use. There are no SLA or technical support obligations in a Beta release. Products will be complete from a feature perspective, but may have some open outstanding issues. Beta releases are suitable for limited production use cases.", +"GA features are open to all developers and are considered stable and fully qualified for production use.", +"Deprecated features are scheduled to be shut down and removed. For more information, see the \"Deprecation Policy\" section of our [Terms of Service](https://cloud.google.com/terms/) and the [Google Cloud Platform Subject to the Deprecation Policy](https://cloud.google.com/terms/deprecation) documentation." +], +"type": "string" +}, +"nodeSettings": { +"$ref": "NodeSettings", +"description": "Settings for Node client libraries." +}, +"phpSettings": { +"$ref": "PhpSettings", +"description": "Settings for PHP client libraries." +}, +"pythonSettings": { +"$ref": "PythonSettings", +"description": "Settings for Python client libraries." +}, +"restNumericEnums": { +"description": "When using transport=rest, the client request will encode enums as numbers rather than strings.", +"type": "boolean" +}, +"rubySettings": { +"$ref": "RubySettings", +"description": "Settings for Ruby client libraries." +}, +"version": { +"description": "Version of the API to apply these settings to. This is the full protobuf package for the API, ending in the version element. Examples: \"google.cloud.speech.v1\" and \"google.spanner.admin.database.v1\".", +"type": "string" +} +}, +"type": "object" +}, +"CommonLanguageSettings": { +"description": "Required information for every language.", +"id": "CommonLanguageSettings", +"properties": { +"destinations": { +"description": "The destination where API teams want this client library to be published.", +"items": { +"enum": [ +"CLIENT_LIBRARY_DESTINATION_UNSPECIFIED", +"GITHUB", +"PACKAGE_MANAGER" +], +"enumDescriptions": [ +"Client libraries will neither be generated nor published to package managers.", +"Generate the client library in a repo under github.com/googleapis, but don't publish it to package managers.", +"Publish the library to package managers like nuget.org and npmjs.com." +], +"type": "string" +}, +"type": "array" +}, +"referenceDocsUri": { +"deprecated": true, +"description": "Link to automatically generated reference documentation. Example: https://cloud.google.com/nodejs/docs/reference/asset/latest", +"type": "string" +}, +"selectiveGapicGeneration": { +"$ref": "SelectiveGapicGeneration", +"description": "Configuration for which RPCs should be generated in the GAPIC client." +} +}, +"type": "object" +}, +"Context": { +"description": "`Context` defines which contexts an API requests. Example: context: rules: - selector: \"*\" requested: - google.rpc.context.ProjectContext - google.rpc.context.OriginContext The above specifies that all methods in the API request `google.rpc.context.ProjectContext` and `google.rpc.context.OriginContext`. Available context types are defined in package `google.rpc.context`. This also provides mechanism to allowlist any protobuf message extension that can be sent in grpc metadata using \u201cx-goog-ext--bin\u201d and \u201cx-goog-ext--jspb\u201d format. For example, list any service specific protobuf types that can appear in grpc metadata as follows in your yaml file: Example: context: rules: - selector: \"google.example.library.v1.LibraryService.CreateBook\" allowed_request_extensions: - google.foo.v1.NewExtension allowed_response_extensions: - google.foo.v1.NewExtension You can also specify extension ID instead of fully qualified extension name here.", +"id": "Context", +"properties": { +"rules": { +"description": "A list of RPC context rules that apply to individual API methods. **NOTE:** All service configuration rules follow \"last one wins\" order.", +"items": { +"$ref": "ContextRule" +}, +"type": "array" +} +}, +"type": "object" +}, +"ContextRule": { +"description": "A context rule provides information about the context for an individual API element.", +"id": "ContextRule", +"properties": { +"allowedRequestExtensions": { +"description": "A list of full type names or extension IDs of extensions allowed in grpc side channel from client to backend.", +"items": { +"type": "string" +}, +"type": "array" +}, +"allowedResponseExtensions": { +"description": "A list of full type names or extension IDs of extensions allowed in grpc side channel from backend to client.", +"items": { +"type": "string" +}, +"type": "array" +}, +"provided": { +"description": "A list of full type names of provided contexts. It is used to support propagating HTTP headers and ETags from the response extension.", +"items": { +"type": "string" +}, +"type": "array" +}, +"requested": { +"description": "A list of full type names of requested contexts, only the requested context will be made available to the backend.", +"items": { +"type": "string" +}, +"type": "array" +}, +"selector": { +"description": "Selects the methods to which this rule applies. Refer to selector for syntax details.", +"type": "string" +} +}, +"type": "object" +}, +"Control": { +"description": "Selects and configures the service controller used by the service. Example: control: environment: servicecontrol.googleapis.com", +"id": "Control", +"properties": { +"environment": { +"description": "The service controller environment to use. If empty, no control plane features (like quota and billing) will be enabled. The recommended value for most services is servicecontrol.googleapis.com.", +"type": "string" +}, +"methodPolicies": { +"description": "Defines policies applying to the API methods of the service.", +"items": { +"$ref": "MethodPolicy" +}, +"type": "array" +} +}, +"type": "object" +}, +"CppSettings": { +"description": "Settings for C++ client libraries.", +"id": "CppSettings", +"properties": { +"common": { +"$ref": "CommonLanguageSettings", +"description": "Some settings." +} +}, +"type": "object" +}, +"CreateTenancyUnitRequest": { +"description": "Request to create a tenancy unit for a service consumer of a managed service.", +"id": "CreateTenancyUnitRequest", +"properties": { +"tenancyUnitId": { +"description": "Optional. Optional service producer-provided identifier of the tenancy unit. Must be no longer than 40 characters and preferably URI friendly. If it isn't provided, a UID for the tenancy unit is automatically generated. The identifier must be unique across a managed service. If the tenancy unit already exists for the managed service and service consumer pair, calling `CreateTenancyUnit` returns the existing tenancy unit if the provided identifier is identical or empty, otherwise the call fails.", +"type": "string" +} +}, +"type": "object" +}, +"CustomError": { +"description": "Customize service error responses. For example, list any service specific protobuf types that can appear in error detail lists of error responses. Example: custom_error: types: - google.foo.v1.CustomError - google.foo.v1.AnotherError", +"id": "CustomError", +"properties": { +"rules": { +"description": "The list of custom error rules that apply to individual API messages. **NOTE:** All service configuration rules follow \"last one wins\" order.", +"items": { +"$ref": "CustomErrorRule" +}, +"type": "array" +}, +"types": { +"description": "The list of custom error detail types, e.g. 'google.foo.v1.CustomError'.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"CustomErrorRule": { +"description": "A custom error rule.", +"id": "CustomErrorRule", +"properties": { +"isErrorType": { +"description": "Mark this message as possible payload in error response. Otherwise, objects of this type will be filtered when they appear in error payload.", +"type": "boolean" +}, +"selector": { +"description": "Selects messages to which this rule applies. Refer to selector for syntax details.", +"type": "string" +} +}, +"type": "object" +}, +"CustomHttpPattern": { +"description": "A custom pattern is used for defining custom HTTP verb.", +"id": "CustomHttpPattern", +"properties": { +"kind": { +"description": "The name of this custom HTTP verb.", +"type": "string" +}, +"path": { +"description": "The path matched by this custom verb.", +"type": "string" +} +}, +"type": "object" +}, +"DeleteTenantProjectRequest": { +"description": "Request message to delete tenant project resource from the tenancy unit.", +"id": "DeleteTenantProjectRequest", +"properties": { +"tag": { +"description": "Required. Tag of the resource within the tenancy unit.", +"type": "string" +} +}, +"type": "object" +}, +"Documentation": { +"description": "`Documentation` provides the information for describing a service. Example: documentation: summary: > The Google Calendar API gives access to most calendar features. pages: - name: Overview content: (== include google/foo/overview.md ==) - name: Tutorial content: (== include google/foo/tutorial.md ==) subpages: - name: Java content: (== include google/foo/tutorial_java.md ==) rules: - selector: google.calendar.Calendar.Get description: > ... - selector: google.calendar.Calendar.Put description: > ... Documentation is provided in markdown syntax. In addition to standard markdown features, definition lists, tables and fenced code blocks are supported. Section headers can be provided and are interpreted relative to the section nesting of the context where a documentation fragment is embedded. Documentation from the IDL is merged with documentation defined via the config at normalization time, where documentation provided by config rules overrides IDL provided. A number of constructs specific to the API platform are supported in documentation text. In order to reference a proto element, the following notation can be used: [fully.qualified.proto.name][] To override the display text used for the link, this can be used: [display text][fully.qualified.proto.name] Text can be excluded from doc using the following notation: (-- internal comment --) A few directives are available in documentation. Note that directives must appear on a single line to be properly identified. The `include` directive includes a markdown file from an external source: (== include path/to/file ==) The `resource_for` directive marks a message to be the resource of a collection in REST view. If it is not specified, tools attempt to infer the resource from the operations in a collection: (== resource_for v1.shelves.books ==) The directive `suppress_warning` does not directly affect documentation and is documented together with service config validation.", +"id": "Documentation", +"properties": { +"additionalIamInfo": { +"description": "Optional information about the IAM configuration. This is typically used to link to documentation about a product's IAM roles and permissions.", +"type": "string" +}, +"documentationRootUrl": { +"description": "The URL to the root of documentation.", +"type": "string" +}, +"overview": { +"description": "Declares a single overview page. For example: documentation: summary: ... overview: (== include overview.md ==) This is a shortcut for the following declaration (using pages style): documentation: summary: ... pages: - name: Overview content: (== include overview.md ==) Note: you cannot specify both `overview` field and `pages` field.", +"type": "string" +}, +"pages": { +"description": "The top level pages for the documentation set.", +"items": { +"$ref": "Page" +}, +"type": "array" +}, +"rules": { +"description": "A list of documentation rules that apply to individual API elements. **NOTE:** All service configuration rules follow \"last one wins\" order.", +"items": { +"$ref": "DocumentationRule" +}, +"type": "array" +}, +"sectionOverrides": { +"description": "Specifies section and content to override the boilerplate content. Currently overrides following sections: 1. rest.service.client_libraries", +"items": { +"$ref": "Page" +}, +"type": "array" +}, +"serviceRootUrl": { +"description": "Specifies the service root url if the default one (the service name from the yaml file) is not suitable. This can be seen in any fully specified service urls as well as sections that show a base that other urls are relative to.", +"type": "string" +}, +"summary": { +"description": "A short description of what the service does. The summary must be plain text. It becomes the overview of the service displayed in Google Cloud Console. NOTE: This field is equivalent to the standard field `description`.", +"type": "string" +} +}, +"type": "object" +}, +"DocumentationRule": { +"description": "A documentation rule provides information about individual API elements.", +"id": "DocumentationRule", +"properties": { +"deprecationDescription": { +"description": "Deprecation description of the selected element(s). It can be provided if an element is marked as `deprecated`.", +"type": "string" +}, +"description": { +"description": "Description of the selected proto element (e.g. a message, a method, a 'service' definition, or a field). Defaults to leading & trailing comments taken from the proto source definition of the proto element.", +"type": "string" +}, +"disableReplacementWords": { +"description": "String of comma or space separated case-sensitive words for which method/field name replacement will be disabled.", +"type": "string" +}, +"selector": { +"description": "The selector is a comma-separated list of patterns for any element such as a method, a field, an enum value. Each pattern is a qualified name of the element which may end in \"*\", indicating a wildcard. Wildcards are only allowed at the end and for a whole component of the qualified name, i.e. \"foo.*\" is ok, but not \"foo.b*\" or \"foo.*.bar\". A wildcard will match one or more components. To specify a default for all applicable elements, the whole pattern \"*\" is used.", +"type": "string" +} +}, +"type": "object" +}, +"DotnetSettings": { +"description": "Settings for Dotnet client libraries.", +"id": "DotnetSettings", +"properties": { +"common": { +"$ref": "CommonLanguageSettings", +"description": "Some settings." +}, +"forcedNamespaceAliases": { +"description": "Namespaces which must be aliased in snippets due to a known (but non-generator-predictable) naming collision", +"items": { +"type": "string" +}, +"type": "array" +}, +"handwrittenSignatures": { +"description": "Method signatures (in the form \"service.method(signature)\") which are provided separately, so shouldn't be generated. Snippets *calling* these methods are still generated, however.", +"items": { +"type": "string" +}, +"type": "array" +}, +"ignoredResources": { +"description": "List of full resource types to ignore during generation. This is typically used for API-specific Location resources, which should be handled by the generator as if they were actually the common Location resources. Example entry: \"documentai.googleapis.com/Location\"", +"items": { +"type": "string" +}, +"type": "array" +}, +"renamedResources": { +"additionalProperties": { +"type": "string" +}, +"description": "Map from full resource types to the effective short name for the resource. This is used when otherwise resource named from different services would cause naming collisions. Example entry: \"datalabeling.googleapis.com/Dataset\": \"DataLabelingDataset\"", +"type": "object" +}, +"renamedServices": { +"additionalProperties": { +"type": "string" +}, +"description": "Map from original service names to renamed versions. This is used when the default generated types would cause a naming conflict. (Neither name is fully-qualified.) Example: Subscriber to SubscriberServiceApi.", +"type": "object" +} +}, +"type": "object" +}, +"Empty": { +"description": "A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }", +"id": "Empty", +"properties": {}, +"type": "object" +}, +"Endpoint": { +"description": "`Endpoint` describes a network address of a service that serves a set of APIs. It is commonly known as a service endpoint. A service may expose any number of service endpoints, and all service endpoints share the same service definition, such as quota limits and monitoring metrics. Example: type: google.api.Service name: library-example.googleapis.com endpoints: # Declares network address `https://library-example.googleapis.com` # for service `library-example.googleapis.com`. The `https` scheme # is implicit for all service endpoints. Other schemes may be # supported in the future. - name: library-example.googleapis.com allow_cors: false - name: content-staging-library-example.googleapis.com # Allows HTTP OPTIONS calls to be passed to the API frontend, for it # to decide whether the subsequent cross-origin request is allowed # to proceed. allow_cors: true", +"id": "Endpoint", +"properties": { +"aliases": { +"description": "Aliases for this endpoint, these will be served by the same UrlMap as the parent endpoint, and will be provisioned in the GCP stack for the Regional Endpoints.", +"items": { +"type": "string" +}, +"type": "array" +}, +"allowCors": { +"description": "Allowing [CORS](https://en.wikipedia.org/wiki/Cross-origin_resource_sharing), aka cross-domain traffic, would allow the backends served from this endpoint to receive and respond to HTTP OPTIONS requests. The response will be used by the browser to determine whether the subsequent cross-origin request is allowed to proceed.", +"type": "boolean" +}, +"name": { +"description": "The canonical name of this endpoint.", +"type": "string" +}, +"target": { +"description": "The specification of an Internet routable address of API frontend that will handle requests to this [API Endpoint](https://cloud.google.com/apis/design/glossary). It should be either a valid IPv4 address or a fully-qualified domain name. For example, \"8.8.8.8\" or \"myservice.appspot.com\".", +"type": "string" +} +}, +"type": "object" +}, +"Enum": { +"description": "Enum type definition. New usages of this message as an alternative to EnumDescriptorProto are strongly discouraged. This message does not reliability preserve all information necessary to model the schema and preserve semantics. Instead make use of FileDescriptorSet which preserves the necessary information.", +"id": "Enum", +"properties": { +"edition": { +"description": "The source edition string, only valid when syntax is SYNTAX_EDITIONS.", +"type": "string" +}, +"enumvalue": { +"description": "Enum value definitions.", +"items": { +"$ref": "EnumValue" +}, +"type": "array" +}, +"name": { +"description": "Enum type name.", +"type": "string" +}, +"options": { +"description": "Protocol buffer options.", +"items": { +"$ref": "Option" +}, +"type": "array" +}, +"sourceContext": { +"$ref": "SourceContext", +"description": "The source context." +}, +"syntax": { +"description": "The source syntax.", +"enum": [ +"SYNTAX_PROTO2", +"SYNTAX_PROTO3", +"SYNTAX_EDITIONS" +], +"enumDescriptions": [ +"Syntax `proto2`.", +"Syntax `proto3`.", +"Syntax `editions`." +], +"type": "string" +} +}, +"type": "object" +}, +"EnumValue": { +"description": "Enum value definition. New usages of this message as an alternative to EnumValueDescriptorProto are strongly discouraged. This message does not reliability preserve all information necessary to model the schema and preserve semantics. Instead make use of FileDescriptorSet which preserves the necessary information.", +"id": "EnumValue", +"properties": { +"name": { +"description": "Enum value name.", +"type": "string" +}, +"number": { +"description": "Enum value number.", +"format": "int32", +"type": "integer" +}, +"options": { +"description": "Protocol buffer options.", +"items": { +"$ref": "Option" +}, +"type": "array" +} +}, +"type": "object" +}, +"ExperimentalFeatures": { +"description": "Experimental features to be included during client library generation. These fields will be deprecated once the feature graduates and is enabled by default.", +"id": "ExperimentalFeatures", +"properties": { +"protobufPythonicTypesEnabled": { +"description": "Enables generation of protobuf code using new types that are more Pythonic which are included in `protobuf>=5.29.x`. This feature will be enabled by default 1 month after launching the feature in preview packages.", +"type": "boolean" +}, +"restAsyncIoEnabled": { +"description": "Enables generation of asynchronous REST clients if `rest` transport is enabled. By default, asynchronous REST clients will not be generated. This feature will be enabled by default 1 month after launching the feature in preview packages.", +"type": "boolean" +}, +"unversionedPackageDisabled": { +"description": "Disables generation of an unversioned Python package for this client library. This means that the module names will need to be versioned in import statements. For example `import google.cloud.library_v2` instead of `import google.cloud.library`.", +"type": "boolean" +} +}, +"type": "object" +}, +"Field": { +"description": "A single field of a message type. New usages of this message as an alternative to FieldDescriptorProto are strongly discouraged. This message does not reliability preserve all information necessary to model the schema and preserve semantics. Instead make use of FileDescriptorSet which preserves the necessary information.", +"id": "Field", +"properties": { +"cardinality": { +"description": "The field cardinality.", +"enum": [ +"CARDINALITY_UNKNOWN", +"CARDINALITY_OPTIONAL", +"CARDINALITY_REQUIRED", +"CARDINALITY_REPEATED" +], +"enumDescriptions": [ +"For fields with unknown cardinality.", +"For optional fields.", +"For required fields. Proto2 syntax only.", +"For repeated fields." +], +"type": "string" +}, +"defaultValue": { +"description": "The string value of the default value of this field. Proto2 syntax only.", +"type": "string" +}, +"jsonName": { +"description": "The field JSON name.", +"type": "string" +}, +"kind": { +"description": "The field type.", +"enum": [ +"TYPE_UNKNOWN", +"TYPE_DOUBLE", +"TYPE_FLOAT", +"TYPE_INT64", +"TYPE_UINT64", +"TYPE_INT32", +"TYPE_FIXED64", +"TYPE_FIXED32", +"TYPE_BOOL", +"TYPE_STRING", +"TYPE_GROUP", +"TYPE_MESSAGE", +"TYPE_BYTES", +"TYPE_UINT32", +"TYPE_ENUM", +"TYPE_SFIXED32", +"TYPE_SFIXED64", +"TYPE_SINT32", +"TYPE_SINT64" +], +"enumDescriptions": [ +"Field type unknown.", +"Field type double.", +"Field type float.", +"Field type int64.", +"Field type uint64.", +"Field type int32.", +"Field type fixed64.", +"Field type fixed32.", +"Field type bool.", +"Field type string.", +"Field type group. Proto2 syntax only, and deprecated.", +"Field type message.", +"Field type bytes.", +"Field type uint32.", +"Field type enum.", +"Field type sfixed32.", +"Field type sfixed64.", +"Field type sint32.", +"Field type sint64." +], +"type": "string" +}, +"name": { +"description": "The field name.", +"type": "string" +}, +"number": { +"description": "The field number.", +"format": "int32", +"type": "integer" +}, +"oneofIndex": { +"description": "The index of the field type in `Type.oneofs`, for message or enumeration types. The first type has index 1; zero means the type is not in the list.", +"format": "int32", +"type": "integer" +}, +"options": { +"description": "The protocol buffer options.", +"items": { +"$ref": "Option" +}, +"type": "array" +}, +"packed": { +"description": "Whether to use alternative packed wire representation.", +"type": "boolean" +}, +"typeUrl": { +"description": "The field type URL, without the scheme, for message or enumeration types. Example: `\"type.googleapis.com/google.protobuf.Timestamp\"`.", +"type": "string" +} +}, +"type": "object" +}, +"FieldPolicy": { +"description": "Google API Policy Annotation This message defines a simple API policy annotation that can be used to annotate API request and response message fields with applicable policies. One field may have multiple applicable policies that must all be satisfied before a request can be processed. This policy annotation is used to generate the overall policy that will be used for automatic runtime policy enforcement and documentation generation.", +"id": "FieldPolicy", +"properties": { +"resourcePermission": { +"description": "Specifies the required permission(s) for the resource referred to by the field. It requires the field contains a valid resource reference, and the request must pass the permission checks to proceed. For example, \"resourcemanager.projects.get\".", +"type": "string" +}, +"resourceType": { +"description": "Specifies the resource type for the resource referred to by the field.", +"type": "string" +}, +"selector": { +"description": "Selects one or more request or response message fields to apply this `FieldPolicy`. When a `FieldPolicy` is used in proto annotation, the selector must be left as empty. The service config generator will automatically fill the correct value. When a `FieldPolicy` is used in service config, the selector must be a comma-separated string with valid request or response field paths, such as \"foo.bar\" or \"foo.bar,foo.baz\".", +"type": "string" +} +}, +"type": "object" +}, +"GoSettings": { +"description": "Settings for Go client libraries.", +"id": "GoSettings", +"properties": { +"common": { +"$ref": "CommonLanguageSettings", +"description": "Some settings." +}, +"renamedServices": { +"additionalProperties": { +"type": "string" +}, +"description": "Map of service names to renamed services. Keys are the package relative service names and values are the name to be used for the service client and call options. Example: publishing: go_settings: renamed_services: Publisher: TopicAdmin", +"type": "object" +} +}, +"type": "object" +}, +"Http": { +"description": "Defines the HTTP configuration for an API service. It contains a list of HttpRule, each specifying the mapping of an RPC method to one or more HTTP REST API methods.", +"id": "Http", +"properties": { +"fullyDecodeReservedExpansion": { +"description": "When set to true, URL path parameters will be fully URI-decoded except in cases of single segment matches in reserved expansion, where \"%2F\" will be left encoded. The default behavior is to not decode RFC 6570 reserved characters in multi segment matches.", +"type": "boolean" +}, +"rules": { +"description": "A list of HTTP configuration rules that apply to individual API methods. **NOTE:** All service configuration rules follow \"last one wins\" order.", +"items": { +"$ref": "HttpRule" +}, +"type": "array" +} +}, +"type": "object" +}, +"HttpRule": { +"description": "gRPC Transcoding gRPC Transcoding is a feature for mapping between a gRPC method and one or more HTTP REST endpoints. It allows developers to build a single API service that supports both gRPC APIs and REST APIs. Many systems, including [Google APIs](https://github.com/googleapis/googleapis), [Cloud Endpoints](https://cloud.google.com/endpoints), [gRPC Gateway](https://github.com/grpc-ecosystem/grpc-gateway), and [Envoy](https://github.com/envoyproxy/envoy) proxy support this feature and use it for large scale production services. `HttpRule` defines the schema of the gRPC/REST mapping. The mapping specifies how different portions of the gRPC request message are mapped to the URL path, URL query parameters, and HTTP request body. It also controls how the gRPC response message is mapped to the HTTP response body. `HttpRule` is typically specified as an `google.api.http` annotation on the gRPC method. Each mapping specifies a URL path template and an HTTP method. The path template may refer to one or more fields in the gRPC request message, as long as each field is a non-repeated field with a primitive (non-message) type. The path template controls how fields of the request message are mapped to the URL path. Example: service Messaging { rpc GetMessage(GetMessageRequest) returns (Message) { option (google.api.http) = { get: \"/v1/{name=messages/*}\" }; } } message GetMessageRequest { string name = 1; // Mapped to URL path. } message Message { string text = 1; // The resource content. } This enables an HTTP REST to gRPC mapping as below: - HTTP: `GET /v1/messages/123456` - gRPC: `GetMessage(name: \"messages/123456\")` Any fields in the request message which are not bound by the path template automatically become HTTP query parameters if there is no HTTP request body. For example: service Messaging { rpc GetMessage(GetMessageRequest) returns (Message) { option (google.api.http) = { get:\"/v1/messages/{message_id}\" }; } } message GetMessageRequest { message SubMessage { string subfield = 1; } string message_id = 1; // Mapped to URL path. int64 revision = 2; // Mapped to URL query parameter `revision`. SubMessage sub = 3; // Mapped to URL query parameter `sub.subfield`. } This enables a HTTP JSON to RPC mapping as below: - HTTP: `GET /v1/messages/123456?revision=2&sub.subfield=foo` - gRPC: `GetMessage(message_id: \"123456\" revision: 2 sub: SubMessage(subfield: \"foo\"))` Note that fields which are mapped to URL query parameters must have a primitive type or a repeated primitive type or a non-repeated message type. In the case of a repeated type, the parameter can be repeated in the URL as `...?param=A¶m=B`. In the case of a message type, each field of the message is mapped to a separate parameter, such as `...?foo.a=A&foo.b=B&foo.c=C`. For HTTP methods that allow a request body, the `body` field specifies the mapping. Consider a REST update method on the message resource collection: service Messaging { rpc UpdateMessage(UpdateMessageRequest) returns (Message) { option (google.api.http) = { patch: \"/v1/messages/{message_id}\" body: \"message\" }; } } message UpdateMessageRequest { string message_id = 1; // mapped to the URL Message message = 2; // mapped to the body } The following HTTP JSON to RPC mapping is enabled, where the representation of the JSON in the request body is determined by protos JSON encoding: - HTTP: `PATCH /v1/messages/123456 { \"text\": \"Hi!\" }` - gRPC: `UpdateMessage(message_id: \"123456\" message { text: \"Hi!\" })` The special name `*` can be used in the body mapping to define that every field not bound by the path template should be mapped to the request body. This enables the following alternative definition of the update method: service Messaging { rpc UpdateMessage(Message) returns (Message) { option (google.api.http) = { patch: \"/v1/messages/{message_id}\" body: \"*\" }; } } message Message { string message_id = 1; string text = 2; } The following HTTP JSON to RPC mapping is enabled: - HTTP: `PATCH /v1/messages/123456 { \"text\": \"Hi!\" }` - gRPC: `UpdateMessage(message_id: \"123456\" text: \"Hi!\")` Note that when using `*` in the body mapping, it is not possible to have HTTP parameters, as all fields not bound by the path end in the body. This makes this option more rarely used in practice when defining REST APIs. The common usage of `*` is in custom methods which don't use the URL at all for transferring data. It is possible to define multiple HTTP methods for one RPC by using the `additional_bindings` option. Example: service Messaging { rpc GetMessage(GetMessageRequest) returns (Message) { option (google.api.http) = { get: \"/v1/messages/{message_id}\" additional_bindings { get: \"/v1/users/{user_id}/messages/{message_id}\" } }; } } message GetMessageRequest { string message_id = 1; string user_id = 2; } This enables the following two alternative HTTP JSON to RPC mappings: - HTTP: `GET /v1/messages/123456` - gRPC: `GetMessage(message_id: \"123456\")` - HTTP: `GET /v1/users/me/messages/123456` - gRPC: `GetMessage(user_id: \"me\" message_id: \"123456\")` Rules for HTTP mapping 1. Leaf request fields (recursive expansion nested messages in the request message) are classified into three categories: - Fields referred by the path template. They are passed via the URL path. - Fields referred by the HttpRule.body. They are passed via the HTTP request body. - All other fields are passed via the URL query parameters, and the parameter name is the field path in the request message. A repeated field can be represented as multiple query parameters under the same name. 2. If HttpRule.body is \"*\", there is no URL query parameter, all fields are passed via URL path and HTTP request body. 3. If HttpRule.body is omitted, there is no HTTP request body, all fields are passed via URL path and URL query parameters. Path template syntax Template = \"/\" Segments [ Verb ] ; Segments = Segment { \"/\" Segment } ; Segment = \"*\" | \"**\" | LITERAL | Variable ; Variable = \"{\" FieldPath [ \"=\" Segments ] \"}\" ; FieldPath = IDENT { \".\" IDENT } ; Verb = \":\" LITERAL ; The syntax `*` matches a single URL path segment. The syntax `**` matches zero or more URL path segments, which must be the last part of the URL path except the `Verb`. The syntax `Variable` matches part of the URL path as specified by its template. A variable template must not contain other variables. If a variable matches a single path segment, its template may be omitted, e.g. `{var}` is equivalent to `{var=*}`. The syntax `LITERAL` matches literal text in the URL path. If the `LITERAL` contains any reserved character, such characters should be percent-encoded before the matching. If a variable contains exactly one path segment, such as `\"{var}\"` or `\"{var=*}\"`, when such a variable is expanded into a URL path on the client side, all characters except `[-_.~0-9a-zA-Z]` are percent-encoded. The server side does the reverse decoding. Such variables show up in the [Discovery Document](https://developers.google.com/discovery/v1/reference/apis) as `{var}`. If a variable contains multiple path segments, such as `\"{var=foo/*}\"` or `\"{var=**}\"`, when such a variable is expanded into a URL path on the client side, all characters except `[-_.~/0-9a-zA-Z]` are percent-encoded. The server side does the reverse decoding, except \"%2F\" and \"%2f\" are left unchanged. Such variables show up in the [Discovery Document](https://developers.google.com/discovery/v1/reference/apis) as `{+var}`. Using gRPC API Service Configuration gRPC API Service Configuration (service config) is a configuration language for configuring a gRPC service to become a user-facing product. The service config is simply the YAML representation of the `google.api.Service` proto message. As an alternative to annotating your proto file, you can configure gRPC transcoding in your service config YAML files. You do this by specifying a `HttpRule` that maps the gRPC method to a REST endpoint, achieving the same effect as the proto annotation. This can be particularly useful if you have a proto that is reused in multiple services. Note that any transcoding specified in the service config will override any matching transcoding configuration in the proto. The following example selects a gRPC method and applies an `HttpRule` to it: http: rules: - selector: example.v1.Messaging.GetMessage get: /v1/messages/{message_id}/{sub.subfield} Special notes When gRPC Transcoding is used to map a gRPC to JSON REST endpoints, the proto to JSON conversion must follow the [proto3 specification](https://developers.google.com/protocol-buffers/docs/proto3#json). While the single segment variable follows the semantics of [RFC 6570](https://tools.ietf.org/html/rfc6570) Section 3.2.2 Simple String Expansion, the multi segment variable **does not** follow RFC 6570 Section 3.2.3 Reserved Expansion. The reason is that the Reserved Expansion does not expand special characters like `?` and `#`, which would lead to invalid URLs. As the result, gRPC Transcoding uses a custom encoding for multi segment variables. The path variables **must not** refer to any repeated or mapped field, because client libraries are not capable of handling such variable expansion. The path variables **must not** capture the leading \"/\" character. The reason is that the most common use case \"{var}\" does not capture the leading \"/\" character. For consistency, all path variables must share the same behavior. Repeated message fields must not be mapped to URL query parameters, because no client library can support such complicated mapping. If an API needs to use a JSON array for request or response body, it can map the request or response body to a repeated field. However, some gRPC Transcoding implementations may not support this feature.", +"id": "HttpRule", +"properties": { +"additionalBindings": { +"description": "Additional HTTP bindings for the selector. Nested bindings must not contain an `additional_bindings` field themselves (that is, the nesting may only be one level deep).", +"items": { +"$ref": "HttpRule" +}, +"type": "array" +}, +"body": { +"description": "The name of the request field whose value is mapped to the HTTP request body, or `*` for mapping all request fields not captured by the path pattern to the HTTP body, or omitted for not having any HTTP request body. NOTE: the referred field must be present at the top-level of the request message type.", +"type": "string" +}, +"custom": { +"$ref": "CustomHttpPattern", +"description": "The custom pattern is used for specifying an HTTP method that is not included in the `pattern` field, such as HEAD, or \"*\" to leave the HTTP method unspecified for this rule. The wild-card rule is useful for services that provide content to Web (HTML) clients." +}, +"delete": { +"description": "Maps to HTTP DELETE. Used for deleting a resource.", +"type": "string" +}, +"get": { +"description": "Maps to HTTP GET. Used for listing and getting information about resources.", +"type": "string" +}, +"patch": { +"description": "Maps to HTTP PATCH. Used for updating a resource.", +"type": "string" +}, +"post": { +"description": "Maps to HTTP POST. Used for creating a resource or performing an action.", +"type": "string" +}, +"put": { +"description": "Maps to HTTP PUT. Used for replacing a resource.", +"type": "string" +}, +"responseBody": { +"description": "Optional. The name of the response field whose value is mapped to the HTTP response body. When omitted, the entire response message will be used as the HTTP response body. NOTE: The referred field must be present at the top-level of the response message type.", +"type": "string" +}, +"selector": { +"description": "Selects a method to which this rule applies. Refer to selector for syntax details.", +"type": "string" +} +}, +"type": "object" +}, +"JavaSettings": { +"description": "Settings for Java client libraries.", +"id": "JavaSettings", +"properties": { +"common": { +"$ref": "CommonLanguageSettings", +"description": "Some settings." +}, +"libraryPackage": { +"description": "The package name to use in Java. Clobbers the java_package option set in the protobuf. This should be used **only** by APIs who have already set the language_settings.java.package_name\" field in gapic.yaml. API teams should use the protobuf java_package option where possible. Example of a YAML configuration:: publishing: library_settings: java_settings: library_package: com.google.cloud.pubsub.v1", +"type": "string" +}, +"serviceClassNames": { +"additionalProperties": { +"type": "string" +}, +"description": "Configure the Java class name to use instead of the service's for its corresponding generated GAPIC client. Keys are fully-qualified service names as they appear in the protobuf (including the full the language_settings.java.interface_names\" field in gapic.yaml. API teams should otherwise use the service name as it appears in the protobuf. Example of a YAML configuration:: publishing: java_settings: service_class_names: - google.pubsub.v1.Publisher: TopicAdmin - google.pubsub.v1.Subscriber: SubscriptionAdmin", +"type": "object" +} +}, +"type": "object" +}, +"JwtLocation": { +"description": "Specifies a location to extract JWT from an API request.", +"id": "JwtLocation", +"properties": { +"cookie": { +"description": "Specifies cookie name to extract JWT token.", +"type": "string" +}, +"header": { +"description": "Specifies HTTP header name to extract JWT token.", +"type": "string" +}, +"query": { +"description": "Specifies URL query parameter name to extract JWT token.", +"type": "string" +}, +"valuePrefix": { +"description": "The value prefix. The value format is \"value_prefix{token}\" Only applies to \"in\" header type. Must be empty for \"in\" query type. If not empty, the header value has to match (case sensitive) this prefix. If not matched, JWT will not be extracted. If matched, JWT will be extracted after the prefix is removed. For example, for \"Authorization: Bearer {JWT}\", value_prefix=\"Bearer \" with a space at the end.", +"type": "string" +} +}, +"type": "object" +}, +"LabelDescriptor": { +"description": "A description of a label.", +"id": "LabelDescriptor", +"properties": { +"description": { +"description": "A human-readable description for the label.", +"type": "string" +}, +"key": { +"description": "The label key.", +"type": "string" +}, +"valueType": { +"description": "The type of data that can be assigned to the label.", +"enum": [ +"STRING", +"BOOL", +"INT64" +], +"enumDescriptions": [ +"A variable-length string. This is the default.", +"Boolean; true or false.", +"A 64-bit signed integer." +], +"type": "string" +} +}, +"type": "object" +}, +"ListOperationsResponse": { +"description": "The response message for Operations.ListOperations.", +"id": "ListOperationsResponse", +"properties": { +"nextPageToken": { +"description": "The standard List next-page token.", +"type": "string" +}, +"operations": { +"description": "A list of operations that matches the specified filter in the request.", +"items": { +"$ref": "Operation" +}, +"type": "array" +}, +"unreachable": { +"description": "Unordered list. Unreachable resources. Populated when the request sets `ListOperationsRequest.return_partial_success` and reads across collections. For example, when attempting to list all resources across all supported locations.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListTenancyUnitsResponse": { +"description": "Response for the list request.", +"id": "ListTenancyUnitsResponse", +"properties": { +"nextPageToken": { +"description": "Pagination token for large results.", +"type": "string" +}, +"tenancyUnits": { +"description": "Tenancy units matching the request.", +"items": { +"$ref": "TenancyUnit" +}, +"type": "array" +} +}, +"type": "object" +}, +"LogDescriptor": { +"description": "A description of a log type. Example in YAML format: - name: library.googleapis.com/activity_history description: The history of borrowing and returning library items. display_name: Activity labels: - key: /customer_id description: Identifier of a library customer", +"id": "LogDescriptor", +"properties": { +"description": { +"description": "A human-readable description of this log. This information appears in the documentation and can contain details.", +"type": "string" +}, +"displayName": { +"description": "The human-readable name for this log. This information appears on the user interface and should be concise.", +"type": "string" +}, +"labels": { +"description": "The set of labels that are available to describe a specific log entry. Runtime requests that contain labels not specified here are considered invalid.", +"items": { +"$ref": "LabelDescriptor" +}, +"type": "array" +}, +"name": { +"description": "The name of the log. It must be less than 512 characters long and can include the following characters: upper- and lower-case alphanumeric characters [A-Za-z0-9], and punctuation characters including slash, underscore, hyphen, period [/_-.].", +"type": "string" +} +}, +"type": "object" +}, +"Logging": { +"description": "Logging configuration of the service. The following example shows how to configure logs to be sent to the producer and consumer projects. In the example, the `activity_history` log is sent to both the producer and consumer projects, whereas the `purchase_history` log is only sent to the producer project. monitored_resources: - type: library.googleapis.com/branch labels: - key: /city description: The city where the library branch is located in. - key: /name description: The name of the branch. logs: - name: activity_history labels: - key: /customer_id - name: purchase_history logging: producer_destinations: - monitored_resource: library.googleapis.com/branch logs: - activity_history - purchase_history consumer_destinations: - monitored_resource: library.googleapis.com/branch logs: - activity_history", +"id": "Logging", +"properties": { +"consumerDestinations": { +"description": "Logging configurations for sending logs to the consumer project. There can be multiple consumer destinations, each one must have a different monitored resource type. A log can be used in at most one consumer destination.", +"items": { +"$ref": "LoggingDestination" +}, +"type": "array" +}, +"producerDestinations": { +"description": "Logging configurations for sending logs to the producer project. There can be multiple producer destinations, each one must have a different monitored resource type. A log can be used in at most one producer destination.", +"items": { +"$ref": "LoggingDestination" +}, +"type": "array" +} +}, +"type": "object" +}, +"LoggingDestination": { +"description": "Configuration of a specific logging destination (the producer project or the consumer project).", +"id": "LoggingDestination", +"properties": { +"logs": { +"description": "Names of the logs to be sent to this destination. Each name must be defined in the Service.logs section. If the log name is not a domain scoped name, it will be automatically prefixed with the service name followed by \"/\".", +"items": { +"type": "string" +}, +"type": "array" +}, +"monitoredResource": { +"description": "The monitored resource type. The type must be defined in the Service.monitored_resources section.", +"type": "string" +} +}, +"type": "object" +}, +"LongRunning": { +"description": "Describes settings to use when generating API methods that use the long-running operation pattern. All default values below are from those used in the client library generators (e.g. [Java](https://github.com/googleapis/gapic-generator-java/blob/04c2faa191a9b5a10b92392fe8482279c4404803/src/main/java/com/google/api/generator/gapic/composer/common/RetrySettingsComposer.java)).", +"id": "LongRunning", +"properties": { +"initialPollDelay": { +"description": "Initial delay after which the first poll request will be made. Default value: 5 seconds.", +"format": "google-duration", +"type": "string" +}, +"maxPollDelay": { +"description": "Maximum time between two subsequent poll requests. Default value: 45 seconds.", +"format": "google-duration", +"type": "string" +}, +"pollDelayMultiplier": { +"description": "Multiplier to gradually increase delay between subsequent polls until it reaches max_poll_delay. Default value: 1.5.", +"format": "float", +"type": "number" +}, +"totalPollTimeout": { +"description": "Total polling timeout. Default value: 5 minutes.", +"format": "google-duration", +"type": "string" +} +}, +"type": "object" +}, +"Method": { +"description": "Method represents a method of an API interface. New usages of this message as an alternative to MethodDescriptorProto are strongly discouraged. This message does not reliability preserve all information necessary to model the schema and preserve semantics. Instead make use of FileDescriptorSet which preserves the necessary information.", +"id": "Method", +"properties": { +"edition": { +"deprecated": true, +"description": "The source edition string, only valid when syntax is SYNTAX_EDITIONS. This field should be ignored, instead the edition should be inherited from Api. This is similar to Field and EnumValue.", +"type": "string" +}, +"name": { +"description": "The simple name of this method.", +"type": "string" +}, +"options": { +"description": "Any metadata attached to the method.", +"items": { +"$ref": "Option" +}, +"type": "array" +}, +"requestStreaming": { +"description": "If true, the request is streamed.", +"type": "boolean" +}, +"requestTypeUrl": { +"description": "A URL of the input message type.", +"type": "string" +}, +"responseStreaming": { +"description": "If true, the response is streamed.", +"type": "boolean" +}, +"responseTypeUrl": { +"description": "The URL of the output message type.", +"type": "string" +}, +"syntax": { +"deprecated": true, +"description": "The source syntax of this method. This field should be ignored, instead the syntax should be inherited from Api. This is similar to Field and EnumValue.", +"enum": [ +"SYNTAX_PROTO2", +"SYNTAX_PROTO3", +"SYNTAX_EDITIONS" +], +"enumDescriptions": [ +"Syntax `proto2`.", +"Syntax `proto3`.", +"Syntax `editions`." +], +"type": "string" +} +}, +"type": "object" +}, +"MethodPolicy": { +"description": "Defines policies applying to an RPC method.", +"id": "MethodPolicy", +"properties": { +"requestPolicies": { +"description": "Policies that are applicable to the request message.", +"items": { +"$ref": "FieldPolicy" +}, +"type": "array" +}, +"selector": { +"description": "Selects a method to which these policies should be enforced, for example, \"google.pubsub.v1.Subscriber.CreateSubscription\". Refer to selector for syntax details. NOTE: This field must not be set in the proto annotation. It will be automatically filled by the service config compiler .", +"type": "string" +} +}, +"type": "object" +}, +"MethodSettings": { +"description": "Describes the generator configuration for a method.", +"id": "MethodSettings", +"properties": { +"autoPopulatedFields": { +"description": "List of top-level fields of the request message, that should be automatically populated by the client libraries based on their (google.api.field_info).format. Currently supported format: UUID4. Example of a YAML configuration: publishing: method_settings: - selector: google.example.v1.ExampleService.CreateExample auto_populated_fields: - request_id", +"items": { +"type": "string" +}, +"type": "array" +}, +"batching": { +"$ref": "BatchingConfigProto", +"description": "Batching configuration for an API method in client libraries. Example of a YAML configuration: publishing: method_settings: - selector: google.example.v1.ExampleService.BatchCreateExample batching: element_count_threshold: 1000 request_byte_threshold: 100000000 delay_threshold_millis: 10" +}, +"longRunning": { +"$ref": "LongRunning", +"description": "Describes settings to use for long-running operations when generating API methods for RPCs. Complements RPCs that use the annotations in google/longrunning/operations.proto. Example of a YAML configuration:: publishing: method_settings: - selector: google.cloud.speech.v2.Speech.BatchRecognize long_running: initial_poll_delay: 60s # 1 minute poll_delay_multiplier: 1.5 max_poll_delay: 360s # 6 minutes total_poll_timeout: 54000s # 90 minutes" +}, +"selector": { +"description": "The fully qualified name of the method, for which the options below apply. This is used to find the method to apply the options. Example: publishing: method_settings: - selector: google.storage.control.v2.StorageControl.CreateFolder # method settings for CreateFolder...", +"type": "string" +} +}, +"type": "object" +}, +"MetricDescriptor": { +"description": "Defines a metric type and its schema. Once a metric descriptor is created, deleting or altering it stops data collection and makes the metric type's existing data unusable. ", +"id": "MetricDescriptor", +"properties": { +"description": { +"description": "A detailed description of the metric, which can be used in documentation.", +"type": "string" +}, +"displayName": { +"description": "A concise name for the metric, which can be displayed in user interfaces. Use sentence case without an ending period, for example \"Request count\". This field is optional but it is recommended to be set for any metrics associated with user-visible concepts, such as Quota.", +"type": "string" +}, +"labels": { +"description": "The set of labels that can be used to describe a specific instance of this metric type. For example, the `appengine.googleapis.com/http/server/response_latencies` metric type has a label for the HTTP response code, `response_code`, so you can look at latencies for successful responses or just for responses that failed.", +"items": { +"$ref": "LabelDescriptor" +}, +"type": "array" +}, +"launchStage": { +"description": "Optional. The launch stage of the metric definition.", +"enum": [ +"LAUNCH_STAGE_UNSPECIFIED", +"UNIMPLEMENTED", +"PRELAUNCH", +"EARLY_ACCESS", +"ALPHA", +"BETA", +"GA", +"DEPRECATED" +], +"enumDescriptions": [ +"Do not use this default value.", +"The feature is not yet implemented. Users can not use it.", +"Prelaunch features are hidden from users and are only visible internally.", +"Early Access features are limited to a closed group of testers. To use these features, you must sign up in advance and sign a Trusted Tester agreement (which includes confidentiality provisions). These features may be unstable, changed in backward-incompatible ways, and are not guaranteed to be released.", +"Alpha is a limited availability test for releases before they are cleared for widespread use. By Alpha, all significant design issues are resolved and we are in the process of verifying functionality. Alpha customers need to apply for access, agree to applicable terms, and have their projects allowlisted. Alpha releases don't have to be feature complete, no SLAs are provided, and there are no technical support obligations, but they will be far enough along that customers can actually use them in test environments or for limited-use tests -- just like they would in normal production cases.", +"Beta is the point at which we are ready to open a release for any customer to use. There are no SLA or technical support obligations in a Beta release. Products will be complete from a feature perspective, but may have some open outstanding issues. Beta releases are suitable for limited production use cases.", +"GA features are open to all developers and are considered stable and fully qualified for production use.", +"Deprecated features are scheduled to be shut down and removed. For more information, see the \"Deprecation Policy\" section of our [Terms of Service](https://cloud.google.com/terms/) and the [Google Cloud Platform Subject to the Deprecation Policy](https://cloud.google.com/terms/deprecation) documentation." +], +"type": "string" +}, +"metadata": { +"$ref": "MetricDescriptorMetadata", +"description": "Optional. Metadata which can be used to guide usage of the metric." +}, +"metricKind": { +"description": "Whether the metric records instantaneous values, changes to a value, etc. Some combinations of `metric_kind` and `value_type` might not be supported.", +"enum": [ +"METRIC_KIND_UNSPECIFIED", +"GAUGE", +"DELTA", +"CUMULATIVE" +], +"enumDescriptions": [ +"Do not use this default value.", +"An instantaneous measurement of a value.", +"The change in a value during a time interval.", +"A value accumulated over a time interval. Cumulative measurements in a time series should have the same start time and increasing end times, until an event resets the cumulative value to zero and sets a new start time for the following points." +], +"type": "string" +}, +"monitoredResourceTypes": { +"description": "Read-only. If present, then a time series, which is identified partially by a metric type and a MonitoredResourceDescriptor, that is associated with this metric type can only be associated with one of the monitored resource types listed here.", +"items": { +"type": "string" +}, +"type": "array" +}, +"name": { +"description": "The resource name of the metric descriptor.", +"type": "string" +}, +"type": { +"description": "The metric type, including its DNS name prefix. The type is not URL-encoded. All user-defined metric types have the DNS name `custom.googleapis.com` or `external.googleapis.com`. Metric types should use a natural hierarchical grouping. For example: \"custom.googleapis.com/invoice/paid/amount\" \"external.googleapis.com/prometheus/up\" \"appengine.googleapis.com/http/server/response_latencies\"", +"type": "string" +}, +"unit": { +"description": "The units in which the metric value is reported. It is only applicable if the `value_type` is `INT64`, `DOUBLE`, or `DISTRIBUTION`. The `unit` defines the representation of the stored metric values. Different systems might scale the values to be more easily displayed (so a value of `0.02kBy` _might_ be displayed as `20By`, and a value of `3523kBy` _might_ be displayed as `3.5MBy`). However, if the `unit` is `kBy`, then the value of the metric is always in thousands of bytes, no matter how it might be displayed. If you want a custom metric to record the exact number of CPU-seconds used by a job, you can create an `INT64 CUMULATIVE` metric whose `unit` is `s{CPU}` (or equivalently `1s{CPU}` or just `s`). If the job uses 12,005 CPU-seconds, then the value is written as `12005`. Alternatively, if you want a custom metric to record data in a more granular way, you can create a `DOUBLE CUMULATIVE` metric whose `unit` is `ks{CPU}`, and then write the value `12.005` (which is `12005/1000`), or use `Kis{CPU}` and write `11.723` (which is `12005/1024`). The supported units are a subset of [The Unified Code for Units of Measure](https://unitsofmeasure.org/ucum.html) standard: **Basic units (UNIT)** * `bit` bit * `By` byte * `s` second * `min` minute * `h` hour * `d` day * `1` dimensionless **Prefixes (PREFIX)** * `k` kilo (10^3) * `M` mega (10^6) * `G` giga (10^9) * `T` tera (10^12) * `P` peta (10^15) * `E` exa (10^18) * `Z` zetta (10^21) * `Y` yotta (10^24) * `m` milli (10^-3) * `u` micro (10^-6) * `n` nano (10^-9) * `p` pico (10^-12) * `f` femto (10^-15) * `a` atto (10^-18) * `z` zepto (10^-21) * `y` yocto (10^-24) * `Ki` kibi (2^10) * `Mi` mebi (2^20) * `Gi` gibi (2^30) * `Ti` tebi (2^40) * `Pi` pebi (2^50) **Grammar** The grammar also includes these connectors: * `/` division or ratio (as an infix operator). For examples, `kBy/{email}` or `MiBy/10ms` (although you should almost never have `/s` in a metric `unit`; rates should always be computed at query time from the underlying cumulative or delta value). * `.` multiplication or composition (as an infix operator). For examples, `GBy.d` or `k{watt}.h`. The grammar for a unit is as follows: Expression = Component { \".\" Component } { \"/\" Component } ; Component = ( [ PREFIX ] UNIT | \"%\" ) [ Annotation ] | Annotation | \"1\" ; Annotation = \"{\" NAME \"}\" ; Notes: * `Annotation` is just a comment if it follows a `UNIT`. If the annotation is used alone, then the unit is equivalent to `1`. For examples, `{request}/s == 1/s`, `By{transmitted}/s == By/s`. * `NAME` is a sequence of non-blank printable ASCII characters not containing `{` or `}`. * `1` represents a unitary [dimensionless unit](https://en.wikipedia.org/wiki/Dimensionless_quantity) of 1, such as in `1/s`. It is typically used when none of the basic units are appropriate. For example, \"new users per day\" can be represented as `1/d` or `{new-users}/d` (and a metric value `5` would mean \"5 new users). Alternatively, \"thousands of page views per day\" would be represented as `1000/d` or `k1/d` or `k{page_views}/d` (and a metric value of `5.3` would mean \"5300 page views per day\"). * `%` represents dimensionless value of 1/100, and annotates values giving a percentage (so the metric values are typically in the range of 0..100, and a metric value `3` means \"3 percent\"). * `10^2.%` indicates a metric contains a ratio, typically in the range 0..1, that will be multiplied by 100 and displayed as a percentage (so a metric value `0.03` means \"3 percent\").", +"type": "string" +}, +"valueType": { +"description": "Whether the measurement is an integer, a floating-point number, etc. Some combinations of `metric_kind` and `value_type` might not be supported.", +"enum": [ +"VALUE_TYPE_UNSPECIFIED", +"BOOL", +"INT64", +"DOUBLE", +"STRING", +"DISTRIBUTION", +"MONEY" +], +"enumDescriptions": [ +"Do not use this default value.", +"The value is a boolean. This value type can be used only if the metric kind is `GAUGE`.", +"The value is a signed 64-bit integer.", +"The value is a double precision floating point number.", +"The value is a text string. This value type can be used only if the metric kind is `GAUGE`.", +"The value is a `Distribution`.", +"The value is money." +], +"type": "string" +} +}, +"type": "object" +}, +"MetricDescriptorMetadata": { +"description": "Additional annotations that can be used to guide the usage of a metric.", +"id": "MetricDescriptorMetadata", +"properties": { +"ingestDelay": { +"description": "The delay of data points caused by ingestion. Data points older than this age are guaranteed to be ingested and available to be read, excluding data loss due to errors.", +"format": "google-duration", +"type": "string" +}, +"launchStage": { +"deprecated": true, +"description": "Deprecated. Must use the MetricDescriptor.launch_stage instead.", +"enum": [ +"LAUNCH_STAGE_UNSPECIFIED", +"UNIMPLEMENTED", +"PRELAUNCH", +"EARLY_ACCESS", +"ALPHA", +"BETA", +"GA", +"DEPRECATED" +], +"enumDescriptions": [ +"Do not use this default value.", +"The feature is not yet implemented. Users can not use it.", +"Prelaunch features are hidden from users and are only visible internally.", +"Early Access features are limited to a closed group of testers. To use these features, you must sign up in advance and sign a Trusted Tester agreement (which includes confidentiality provisions). These features may be unstable, changed in backward-incompatible ways, and are not guaranteed to be released.", +"Alpha is a limited availability test for releases before they are cleared for widespread use. By Alpha, all significant design issues are resolved and we are in the process of verifying functionality. Alpha customers need to apply for access, agree to applicable terms, and have their projects allowlisted. Alpha releases don't have to be feature complete, no SLAs are provided, and there are no technical support obligations, but they will be far enough along that customers can actually use them in test environments or for limited-use tests -- just like they would in normal production cases.", +"Beta is the point at which we are ready to open a release for any customer to use. There are no SLA or technical support obligations in a Beta release. Products will be complete from a feature perspective, but may have some open outstanding issues. Beta releases are suitable for limited production use cases.", +"GA features are open to all developers and are considered stable and fully qualified for production use.", +"Deprecated features are scheduled to be shut down and removed. For more information, see the \"Deprecation Policy\" section of our [Terms of Service](https://cloud.google.com/terms/) and the [Google Cloud Platform Subject to the Deprecation Policy](https://cloud.google.com/terms/deprecation) documentation." +], +"type": "string" +}, +"samplePeriod": { +"description": "The sampling period of metric data points. For metrics which are written periodically, consecutive data points are stored at this time interval, excluding data loss due to errors. Metrics with a higher granularity have a smaller sampling period.", +"format": "google-duration", +"type": "string" +}, +"timeSeriesResourceHierarchyLevel": { +"description": "The scope of the timeseries data of the metric.", +"items": { +"enum": [ +"TIME_SERIES_RESOURCE_HIERARCHY_LEVEL_UNSPECIFIED", +"PROJECT", +"ORGANIZATION", +"FOLDER" +], +"enumDescriptions": [ +"Do not use this default value.", +"Scopes a metric to a project.", +"Scopes a metric to an organization.", +"Scopes a metric to a folder." +], +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"MetricRule": { +"description": "Bind API methods to metrics. Binding a method to a metric causes that metric's configured quota behaviors to apply to the method call.", +"id": "MetricRule", +"properties": { +"metricCosts": { +"additionalProperties": { +"format": "int64", +"type": "string" +}, +"description": "Metrics to update when the selected methods are called, and the associated cost applied to each metric. The key of the map is the metric name, and the values are the amount increased for the metric against which the quota limits are defined. The value must not be negative.", +"type": "object" +}, +"selector": { +"description": "Selects the methods to which this rule applies. Refer to selector for syntax details.", +"type": "string" +} +}, +"type": "object" +}, +"Mixin": { +"description": "Declares an API Interface to be included in this interface. The including interface must redeclare all the methods from the included interface, but documentation and options are inherited as follows: - If after comment and whitespace stripping, the documentation string of the redeclared method is empty, it will be inherited from the original method. - Each annotation belonging to the service config (http, visibility) which is not set in the redeclared method will be inherited. - If an http annotation is inherited, the path pattern will be modified as follows. Any version prefix will be replaced by the version of the including interface plus the root path if specified. Example of a simple mixin: package google.acl.v1; service AccessControl { // Get the underlying ACL object. rpc GetAcl(GetAclRequest) returns (Acl) { option (google.api.http).get = \"/v1/{resource=**}:getAcl\"; } } package google.storage.v2; service Storage { // rpc GetAcl(GetAclRequest) returns (Acl); // Get a data record. rpc GetData(GetDataRequest) returns (Data) { option (google.api.http).get = \"/v2/{resource=**}\"; } } Example of a mixin configuration: apis: - name: google.storage.v2.Storage mixins: - name: google.acl.v1.AccessControl The mixin construct implies that all methods in `AccessControl` are also declared with same name and request/response types in `Storage`. A documentation generator or annotation processor will see the effective `Storage.GetAcl` method after inheriting documentation and annotations as follows: service Storage { // Get the underlying ACL object. rpc GetAcl(GetAclRequest) returns (Acl) { option (google.api.http).get = \"/v2/{resource=**}:getAcl\"; } ... } Note how the version in the path pattern changed from `v1` to `v2`. If the `root` field in the mixin is specified, it should be a relative path under which inherited HTTP paths are placed. Example: apis: - name: google.storage.v2.Storage mixins: - name: google.acl.v1.AccessControl root: acls This implies the following inherited HTTP annotation: service Storage { // Get the underlying ACL object. rpc GetAcl(GetAclRequest) returns (Acl) { option (google.api.http).get = \"/v2/acls/{resource=**}:getAcl\"; } ... }", +"id": "Mixin", +"properties": { +"name": { +"description": "The fully qualified name of the interface which is included.", +"type": "string" +}, +"root": { +"description": "If non-empty specifies a path under which inherited HTTP paths are rooted.", +"type": "string" +} +}, +"type": "object" +}, +"MonitoredResourceDescriptor": { +"description": "An object that describes the schema of a MonitoredResource object using a type name and a set of labels. For example, the monitored resource descriptor for Google Compute Engine VM instances has a type of `\"gce_instance\"` and specifies the use of the labels `\"instance_id\"` and `\"zone\"` to identify particular VM instances. Different APIs can support different monitored resource types. APIs generally provide a `list` method that returns the monitored resource descriptors used by the API. ", +"id": "MonitoredResourceDescriptor", +"properties": { +"description": { +"description": "Optional. A detailed description of the monitored resource type that might be used in documentation.", +"type": "string" +}, +"displayName": { +"description": "Optional. A concise name for the monitored resource type that might be displayed in user interfaces. It should be a Title Cased Noun Phrase, without any article or other determiners. For example, `\"Google Cloud SQL Database\"`.", +"type": "string" +}, +"labels": { +"description": "Required. A set of labels used to describe instances of this monitored resource type. For example, an individual Google Cloud SQL database is identified by values for the labels `\"database_id\"` and `\"zone\"`.", +"items": { +"$ref": "LabelDescriptor" +}, +"type": "array" +}, +"launchStage": { +"description": "Optional. The launch stage of the monitored resource definition.", +"enum": [ +"LAUNCH_STAGE_UNSPECIFIED", +"UNIMPLEMENTED", +"PRELAUNCH", +"EARLY_ACCESS", +"ALPHA", +"BETA", +"GA", +"DEPRECATED" +], +"enumDescriptions": [ +"Do not use this default value.", +"The feature is not yet implemented. Users can not use it.", +"Prelaunch features are hidden from users and are only visible internally.", +"Early Access features are limited to a closed group of testers. To use these features, you must sign up in advance and sign a Trusted Tester agreement (which includes confidentiality provisions). These features may be unstable, changed in backward-incompatible ways, and are not guaranteed to be released.", +"Alpha is a limited availability test for releases before they are cleared for widespread use. By Alpha, all significant design issues are resolved and we are in the process of verifying functionality. Alpha customers need to apply for access, agree to applicable terms, and have their projects allowlisted. Alpha releases don't have to be feature complete, no SLAs are provided, and there are no technical support obligations, but they will be far enough along that customers can actually use them in test environments or for limited-use tests -- just like they would in normal production cases.", +"Beta is the point at which we are ready to open a release for any customer to use. There are no SLA or technical support obligations in a Beta release. Products will be complete from a feature perspective, but may have some open outstanding issues. Beta releases are suitable for limited production use cases.", +"GA features are open to all developers and are considered stable and fully qualified for production use.", +"Deprecated features are scheduled to be shut down and removed. For more information, see the \"Deprecation Policy\" section of our [Terms of Service](https://cloud.google.com/terms/) and the [Google Cloud Platform Subject to the Deprecation Policy](https://cloud.google.com/terms/deprecation) documentation." +], +"type": "string" +}, +"name": { +"description": "Optional. The resource name of the monitored resource descriptor: `\"projects/{project_id}/monitoredResourceDescriptors/{type}\"` where {type} is the value of the `type` field in this object and {project_id} is a project ID that provides API-specific context for accessing the type. APIs that do not use project information can use the resource name format `\"monitoredResourceDescriptors/{type}\"`.", +"type": "string" +}, +"type": { +"description": "Required. The monitored resource type. For example, the type `\"cloudsql_database\"` represents databases in Google Cloud SQL. For a list of types, see [Monitored resource types](https://cloud.google.com/monitoring/api/resources) and [Logging resource types](https://cloud.google.com/logging/docs/api/v2/resource-list).", +"type": "string" +} +}, +"type": "object" +}, +"Monitoring": { +"description": "Monitoring configuration of the service. The example below shows how to configure monitored resources and metrics for monitoring. In the example, a monitored resource and two metrics are defined. The `library.googleapis.com/book/returned_count` metric is sent to both producer and consumer projects, whereas the `library.googleapis.com/book/num_overdue` metric is only sent to the consumer project. monitored_resources: - type: library.googleapis.com/Branch display_name: \"Library Branch\" description: \"A branch of a library.\" launch_stage: GA labels: - key: resource_container description: \"The Cloud container (ie. project id) for the Branch.\" - key: location description: \"The location of the library branch.\" - key: branch_id description: \"The id of the branch.\" metrics: - name: library.googleapis.com/book/returned_count display_name: \"Books Returned\" description: \"The count of books that have been returned.\" launch_stage: GA metric_kind: DELTA value_type: INT64 unit: \"1\" labels: - key: customer_id description: \"The id of the customer.\" - name: library.googleapis.com/book/num_overdue display_name: \"Books Overdue\" description: \"The current number of overdue books.\" launch_stage: GA metric_kind: GAUGE value_type: INT64 unit: \"1\" labels: - key: customer_id description: \"The id of the customer.\" monitoring: producer_destinations: - monitored_resource: library.googleapis.com/Branch metrics: - library.googleapis.com/book/returned_count consumer_destinations: - monitored_resource: library.googleapis.com/Branch metrics: - library.googleapis.com/book/returned_count - library.googleapis.com/book/num_overdue", +"id": "Monitoring", +"properties": { +"consumerDestinations": { +"description": "Monitoring configurations for sending metrics to the consumer project. There can be multiple consumer destinations. A monitored resource type may appear in multiple monitoring destinations if different aggregations are needed for different sets of metrics associated with that monitored resource type. A monitored resource and metric pair may only be used once in the Monitoring configuration.", +"items": { +"$ref": "MonitoringDestination" +}, +"type": "array" +}, +"producerDestinations": { +"description": "Monitoring configurations for sending metrics to the producer project. There can be multiple producer destinations. A monitored resource type may appear in multiple monitoring destinations if different aggregations are needed for different sets of metrics associated with that monitored resource type. A monitored resource and metric pair may only be used once in the Monitoring configuration.", +"items": { +"$ref": "MonitoringDestination" +}, +"type": "array" +} +}, +"type": "object" +}, +"MonitoringDestination": { +"description": "Configuration of a specific monitoring destination (the producer project or the consumer project).", +"id": "MonitoringDestination", +"properties": { +"metrics": { +"description": "Types of the metrics to report to this monitoring destination. Each type must be defined in Service.metrics section.", +"items": { +"type": "string" +}, +"type": "array" +}, +"monitoredResource": { +"description": "The monitored resource type. The type must be defined in Service.monitored_resources section.", +"type": "string" +} +}, +"type": "object" +}, +"NodeSettings": { +"description": "Settings for Node client libraries.", +"id": "NodeSettings", +"properties": { +"common": { +"$ref": "CommonLanguageSettings", +"description": "Some settings." +} +}, +"type": "object" +}, +"OAuthRequirements": { +"description": "OAuth scopes are a way to define data and permissions on data. For example, there are scopes defined for \"Read-only access to Google Calendar\" and \"Access to Cloud Platform\". Users can consent to a scope for an application, giving it permission to access that data on their behalf. OAuth scope specifications should be fairly coarse grained; a user will need to see and understand the text description of what your scope means. In most cases: use one or at most two OAuth scopes for an entire family of products. If your product has multiple APIs, you should probably be sharing the OAuth scope across all of those APIs. When you need finer grained OAuth consent screens: talk with your product management about how developers will use them in practice. Please note that even though each of the canonical scopes is enough for a request to be accepted and passed to the backend, a request can still fail due to the backend requiring additional scopes or permissions.", +"id": "OAuthRequirements", +"properties": { +"canonicalScopes": { +"description": "The list of publicly documented OAuth scopes that are allowed access. An OAuth token containing any of these scopes will be accepted. Example: canonical_scopes: https://www.googleapis.com/auth/calendar, https://www.googleapis.com/auth/calendar.read", +"type": "string" +} +}, +"type": "object" +}, +"Operation": { +"description": "This resource represents a long-running operation that is the result of a network API call.", +"id": "Operation", +"properties": { +"done": { +"description": "If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.", +"type": "boolean" +}, +"error": { +"$ref": "Status", +"description": "The error result of the operation in case of failure or cancellation." +}, +"metadata": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.", +"type": "object" +}, +"name": { +"description": "The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.", +"type": "string" +}, +"response": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "The normal, successful response of the operation. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.", +"type": "object" +} +}, +"type": "object" +}, +"Option": { +"description": "A protocol buffer option, which can be attached to a message, field, enumeration, etc. New usages of this message as an alternative to FileOptions, MessageOptions, FieldOptions, EnumOptions, EnumValueOptions, ServiceOptions, or MethodOptions are strongly discouraged.", +"id": "Option", +"properties": { +"name": { +"description": "The option's name. For protobuf built-in options (options defined in descriptor.proto), this is the short name. For example, `\"map_entry\"`. For custom options, it should be the fully-qualified name. For example, `\"google.api.http\"`.", +"type": "string" +}, +"value": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "The option's value packed in an Any message. If the value is a primitive, the corresponding wrapper type defined in google/protobuf/wrappers.proto should be used. If the value is an enum, it should be stored as an int32 value using the google.protobuf.Int32Value type.", +"type": "object" +} +}, +"type": "object" +}, +"Page": { +"description": "Represents a documentation page. A page can contain subpages to represent nested documentation set structure.", +"id": "Page", +"properties": { +"content": { +"description": "The Markdown content of the page. You can use ```(== include {path} ==)``` to include content from a Markdown file. The content can be used to produce the documentation page such as HTML format page.", +"type": "string" +}, +"name": { +"description": "The name of the page. It will be used as an identity of the page to generate URI of the page, text of the link to this page in navigation, etc. The full page name (start from the root page name to this page concatenated with `.`) can be used as reference to the page in your documentation. For example: pages: - name: Tutorial content: (== include tutorial.md ==) subpages: - name: Java content: (== include tutorial_java.md ==) You can reference `Java` page using Markdown reference link syntax: `Java`.", +"type": "string" +}, +"subpages": { +"description": "Subpages of this page. The order of subpages specified here will be honored in the generated docset.", +"items": { +"$ref": "Page" +}, +"type": "array" +} +}, +"type": "object" +}, +"PhpSettings": { +"description": "Settings for Php client libraries.", +"id": "PhpSettings", +"properties": { +"common": { +"$ref": "CommonLanguageSettings", +"description": "Some settings." +}, +"libraryPackage": { +"description": "The package name to use in Php. Clobbers the php_namespace option set in the protobuf. This should be used **only** by APIs who have already set the language_settings.php.package_name\" field in gapic.yaml. API teams should use the protobuf php_namespace option where possible. Example of a YAML configuration:: publishing: library_settings: php_settings: library_package: Google\\Cloud\\PubSub\\V1", +"type": "string" +} +}, +"type": "object" +}, +"PolicyBinding": { +"description": "Translates to IAM Policy bindings (without auditing at this level)", +"id": "PolicyBinding", +"properties": { +"members": { +"description": "Uses the same format as in IAM policy. `member` must include both a prefix and ID. For example, `user:{emailId}`, `serviceAccount:{emailId}`, `group:{emailId}`.", +"items": { +"type": "string" +}, +"type": "array" +}, +"role": { +"description": "Role. (https://cloud.google.com/iam/docs/understanding-roles) For example, `roles/viewer`, `roles/editor`, or `roles/owner`.", +"type": "string" +} +}, +"type": "object" +}, +"Publishing": { +"description": "This message configures the settings for publishing [Google Cloud Client libraries](https://cloud.google.com/apis/docs/cloud-client-libraries) generated from the service config.", +"id": "Publishing", +"properties": { +"apiShortName": { +"description": "Used as a tracking tag when collecting data about the APIs developer relations artifacts like docs, packages delivered to package managers, etc. Example: \"speech\".", +"type": "string" +}, +"codeownerGithubTeams": { +"description": "GitHub teams to be added to CODEOWNERS in the directory in GitHub containing source code for the client libraries for this API.", +"items": { +"type": "string" +}, +"type": "array" +}, +"docTagPrefix": { +"description": "A prefix used in sample code when demarking regions to be included in documentation.", +"type": "string" +}, +"documentationUri": { +"description": "Link to product home page. Example: https://cloud.google.com/asset-inventory/docs/overview", +"type": "string" +}, +"githubLabel": { +"description": "GitHub label to apply to issues and pull requests opened for this API.", +"type": "string" +}, +"librarySettings": { +"description": "Client library settings. If the same version string appears multiple times in this list, then the last one wins. Settings from earlier settings with the same version string are discarded.", +"items": { +"$ref": "ClientLibrarySettings" +}, +"type": "array" +}, +"methodSettings": { +"description": "A list of API method settings, e.g. the behavior for methods that use the long-running operation pattern.", +"items": { +"$ref": "MethodSettings" +}, +"type": "array" +}, +"newIssueUri": { +"description": "Link to a *public* URI where users can report issues. Example: https://issuetracker.google.com/issues/new?component=190865&template=1161103", +"type": "string" +}, +"organization": { +"description": "For whom the client library is being published.", +"enum": [ +"CLIENT_LIBRARY_ORGANIZATION_UNSPECIFIED", +"CLOUD", +"ADS", +"PHOTOS", +"STREET_VIEW", +"SHOPPING", +"GEO", +"GENERATIVE_AI" +], +"enumDescriptions": [ +"Not useful.", +"Google Cloud Platform Org.", +"Ads (Advertising) Org.", +"Photos Org.", +"Street View Org.", +"Shopping Org.", +"Geo Org.", +"Generative AI - https://developers.generativeai.google" +], +"type": "string" +}, +"protoReferenceDocumentationUri": { +"description": "Optional link to proto reference documentation. Example: https://cloud.google.com/pubsub/lite/docs/reference/rpc", +"type": "string" +}, +"restReferenceDocumentationUri": { +"description": "Optional link to REST reference documentation. Example: https://cloud.google.com/pubsub/lite/docs/reference/rest", +"type": "string" +} +}, +"type": "object" +}, +"PythonSettings": { +"description": "Settings for Python client libraries.", +"id": "PythonSettings", +"properties": { +"common": { +"$ref": "CommonLanguageSettings", +"description": "Some settings." +}, +"experimentalFeatures": { +"$ref": "ExperimentalFeatures", +"description": "Experimental features to be included during client library generation." +} +}, +"type": "object" +}, +"Quota": { +"description": "Quota configuration helps to achieve fairness and budgeting in service usage. The metric based quota configuration works this way: - The service configuration defines a set of metrics. - For API calls, the quota.metric_rules maps methods to metrics with corresponding costs. - The quota.limits defines limits on the metrics, which will be used for quota checks at runtime. An example quota configuration in yaml format: quota: limits: - name: apiWriteQpsPerProject metric: library.googleapis.com/write_calls unit: \"1/min/{project}\" # rate limit for consumer projects values: STANDARD: 10000 (The metric rules bind all methods to the read_calls metric, except for the UpdateBook and DeleteBook methods. These two methods are mapped to the write_calls metric, with the UpdateBook method consuming at twice rate as the DeleteBook method.) metric_rules: - selector: \"*\" metric_costs: library.googleapis.com/read_calls: 1 - selector: google.example.library.v1.LibraryService.UpdateBook metric_costs: library.googleapis.com/write_calls: 2 - selector: google.example.library.v1.LibraryService.DeleteBook metric_costs: library.googleapis.com/write_calls: 1 Corresponding Metric definition: metrics: - name: library.googleapis.com/read_calls display_name: Read requests metric_kind: DELTA value_type: INT64 - name: library.googleapis.com/write_calls display_name: Write requests metric_kind: DELTA value_type: INT64 ", +"id": "Quota", +"properties": { +"limits": { +"description": "List of QuotaLimit definitions for the service.", +"items": { +"$ref": "QuotaLimit" +}, +"type": "array" +}, +"metricRules": { +"description": "List of MetricRule definitions, each one mapping a selected method to one or more metrics.", +"items": { +"$ref": "MetricRule" +}, +"type": "array" +} +}, +"type": "object" +}, +"QuotaLimit": { +"description": "`QuotaLimit` defines a specific limit that applies over a specified duration for a limit type. There can be at most one limit for a duration and limit type combination defined within a `QuotaGroup`.", +"id": "QuotaLimit", +"properties": { +"defaultLimit": { +"description": "Default number of tokens that can be consumed during the specified duration. This is the number of tokens assigned when a client application developer activates the service for his/her project. Specifying a value of 0 will block all requests. This can be used if you are provisioning quota to selected consumers and blocking others. Similarly, a value of -1 will indicate an unlimited quota. No other negative values are allowed. Used by group-based quotas only.", +"format": "int64", +"type": "string" +}, +"description": { +"description": "Optional. User-visible, extended description for this quota limit. Should be used only when more context is needed to understand this limit than provided by the limit's display name (see: `display_name`).", +"type": "string" +}, +"displayName": { +"description": "User-visible display name for this limit. Optional. If not set, the UI will provide a default display name based on the quota configuration. This field can be used to override the default display name generated from the configuration.", +"type": "string" +}, +"duration": { +"description": "Duration of this limit in textual notation. Must be \"100s\" or \"1d\". Used by group-based quotas only.", +"type": "string" +}, +"freeTier": { +"description": "Free tier value displayed in the Developers Console for this limit. The free tier is the number of tokens that will be subtracted from the billed amount when billing is enabled. This field can only be set on a limit with duration \"1d\", in a billable group; it is invalid on any other limit. If this field is not set, it defaults to 0, indicating that there is no free tier for this service. Used by group-based quotas only.", +"format": "int64", +"type": "string" +}, +"maxLimit": { +"description": "Maximum number of tokens that can be consumed during the specified duration. Client application developers can override the default limit up to this maximum. If specified, this value cannot be set to a value less than the default limit. If not specified, it is set to the default limit. To allow clients to apply overrides with no upper bound, set this to -1, indicating unlimited maximum quota. Used by group-based quotas only.", +"format": "int64", +"type": "string" +}, +"metric": { +"description": "The name of the metric this quota limit applies to. The quota limits with the same metric will be checked together during runtime. The metric must be defined within the service config.", +"type": "string" +}, +"name": { +"description": "Name of the quota limit. The name must be provided, and it must be unique within the service. The name can only include alphanumeric characters as well as '-'. The maximum length of the limit name is 64 characters.", +"type": "string" +}, +"unit": { +"description": "Specify the unit of the quota limit. It uses the same syntax as MetricDescriptor.unit. The supported unit kinds are determined by the quota backend system. Here are some examples: * \"1/min/{project}\" for quota per minute per project. Note: the order of unit components is insignificant. The \"1\" at the beginning is required to follow the metric unit syntax.", +"type": "string" +}, +"values": { +"additionalProperties": { +"format": "int64", +"type": "string" +}, +"description": "Tiered limit values. You must specify this as a key:value pair, with an integer value that is the maximum number of requests allowed for the specified unit. Currently only STANDARD is supported.", +"type": "object" +} +}, +"type": "object" +}, +"RemoveTenantProjectRequest": { +"description": "Request message to remove a tenant project resource from the tenancy unit.", +"id": "RemoveTenantProjectRequest", +"properties": { +"tag": { +"description": "Required. Tag of the resource within the tenancy unit.", +"type": "string" +} +}, +"type": "object" +}, +"RubySettings": { +"description": "Settings for Ruby client libraries.", +"id": "RubySettings", +"properties": { +"common": { +"$ref": "CommonLanguageSettings", +"description": "Some settings." +} +}, +"type": "object" +}, +"SearchTenancyUnitsResponse": { +"description": "Response for the search query.", +"id": "SearchTenancyUnitsResponse", +"properties": { +"nextPageToken": { +"description": "Pagination token for large results.", +"type": "string" +}, +"tenancyUnits": { +"description": "Tenancy Units matching the request.", +"items": { +"$ref": "TenancyUnit" +}, +"type": "array" +} +}, +"type": "object" +}, +"SelectiveGapicGeneration": { +"description": "This message is used to configure the generation of a subset of the RPCs in a service for client libraries.", +"id": "SelectiveGapicGeneration", +"properties": { +"generateOmittedAsInternal": { +"description": "Setting this to true indicates to the client generators that methods that would be excluded from the generation should instead be generated in a way that indicates these methods should not be consumed by end users. How this is expressed is up to individual language implementations to decide. Some examples may be: added annotations, obfuscated identifiers, or other language idiomatic patterns.", +"type": "boolean" +}, +"methods": { +"description": "An allowlist of the fully qualified names of RPCs that should be included on public client surfaces.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"Service": { +"description": "`Service` is the root object of Google API service configuration (service config). It describes the basic information about a logical service, such as the service name and the user-facing title, and delegates other aspects to sub-sections. Each sub-section is either a proto message or a repeated proto message that configures a specific aspect, such as auth. For more information, see each proto message definition. Example: type: google.api.Service name: calendar.googleapis.com title: Google Calendar API apis: - name: google.calendar.v3.Calendar visibility: rules: - selector: \"google.calendar.v3.*\" restriction: PREVIEW backend: rules: - selector: \"google.calendar.v3.*\" address: calendar.example.com authentication: providers: - id: google_calendar_auth jwks_uri: https://www.googleapis.com/oauth2/v1/certs issuer: https://securetoken.google.com rules: - selector: \"*\" requirements: provider_id: google_calendar_auth", +"id": "Service", +"properties": { +"apis": { +"description": "A list of API interfaces exported by this service. Only the `name` field of the google.protobuf.Api needs to be provided by the configuration author, as the remaining fields will be derived from the IDL during the normalization process. It is an error to specify an API interface here which cannot be resolved against the associated IDL files.", +"items": { +"$ref": "Api" +}, +"type": "array" +}, +"aspects": { +"description": "Configuration aspects. This is a repeated field to allow multiple aspects to be configured. The kind field in each ConfigAspect specifies the type of aspect. The spec field contains the configuration for that aspect. The schema for the spec field is defined by the backend service owners.", +"items": { +"$ref": "Aspect" +}, +"type": "array" +}, +"authentication": { +"$ref": "Authentication", +"description": "Auth configuration." +}, +"backend": { +"$ref": "Backend", +"description": "API backend configuration." +}, +"billing": { +"$ref": "Billing", +"description": "Billing configuration." +}, +"configVersion": { +"description": "Obsolete. Do not use. This field has no semantic meaning. The service config compiler always sets this field to `3`.", +"format": "uint32", +"type": "integer" +}, +"context": { +"$ref": "Context", +"description": "Context configuration." +}, +"control": { +"$ref": "Control", +"description": "Configuration for the service control plane." +}, +"customError": { +"$ref": "CustomError", +"description": "Custom error configuration." +}, +"documentation": { +"$ref": "Documentation", +"description": "Additional API documentation." +}, +"endpoints": { +"description": "Configuration for network endpoints. If this is empty, then an endpoint with the same name as the service is automatically generated to service all defined APIs. WARNING: Defining any entries in the `endpoints` list disables the automatic generation of default endpoint variations (e.g., `{service}.clients6.google.com`, `content-{service}.googleapis.com`, and mTLS variants like `{service}.mtls.googleapis.com`). To retain these default variations, you are required to explicitly include your main service endpoint (e.g., `myservice.googleapis.com`) in this list alongside any other custom endpoints (like REP, GFE, etc.).", +"items": { +"$ref": "Endpoint" +}, +"type": "array" +}, +"enums": { +"description": "A list of all enum types included in this API service. Enums referenced directly or indirectly by the `apis` are automatically included. Enums which are not referenced but shall be included should be listed here by name by the configuration author. Example: enums: - name: google.someapi.v1.SomeEnum", +"items": { +"$ref": "Enum" +}, +"type": "array" +}, +"http": { +"$ref": "Http", +"description": "HTTP configuration." +}, +"id": { +"description": "A unique ID for a specific instance of this message, typically assigned by the client for tracking purpose. Must be no longer than 63 characters and only lower case letters, digits, '.', '_' and '-' are allowed. If empty, the server may choose to generate one instead.", +"type": "string" +}, +"logging": { +"$ref": "Logging", +"description": "Logging configuration." +}, +"logs": { +"description": "Defines the logs used by this service.", +"items": { +"$ref": "LogDescriptor" +}, +"type": "array" +}, +"metrics": { +"description": "Defines the metrics used by this service.", +"items": { +"$ref": "MetricDescriptor" +}, +"type": "array" +}, +"monitoredResources": { +"description": "Defines the monitored resources used by this service. This is required by the `Service.monitoring` and `Service.logging` configurations.", +"items": { +"$ref": "MonitoredResourceDescriptor" +}, +"type": "array" +}, +"monitoring": { +"$ref": "Monitoring", +"description": "Monitoring configuration." +}, +"name": { +"description": "The service name, which is a DNS-like logical identifier for the service, such as `calendar.googleapis.com`. The service name typically goes through DNS verification to make sure the owner of the service also owns the DNS name.", +"type": "string" +}, +"producerProjectId": { +"description": "The Google project that owns this service.", +"type": "string" +}, +"publishing": { +"$ref": "Publishing", +"description": "Settings for [Google Cloud Client libraries](https://cloud.google.com/apis/docs/cloud-client-libraries) generated from APIs defined as protocol buffers." +}, +"quota": { +"$ref": "Quota", +"description": "Quota configuration." +}, +"sourceInfo": { +"$ref": "SourceInfo", +"description": "Output only. The source information for this configuration if available." +}, +"systemParameters": { +"$ref": "SystemParameters", +"description": "System parameter configuration." +}, +"systemTypes": { +"description": "A list of all proto message types included in this API service. It serves similar purpose as [google.api.Service.types], except that these types are not needed by user-defined APIs. Therefore, they will not show up in the generated discovery doc. This field should only be used to define system APIs in ESF.", +"items": { +"$ref": "Type" +}, +"type": "array" +}, +"title": { +"description": "The product title for this service, it is the name displayed in Google Cloud Console.", +"type": "string" +}, +"types": { +"description": "A list of all proto message types included in this API service. Types referenced directly or indirectly by the `apis` are automatically included. Messages which are not referenced but shall be included, such as types used by the `google.protobuf.Any` type, should be listed here by name by the configuration author. Example: types: - name: google.protobuf.Int32", +"items": { +"$ref": "Type" +}, +"type": "array" +}, +"usage": { +"$ref": "Usage", +"description": "Configuration controlling usage of this service." +} +}, +"type": "object" +}, +"ServiceAccountConfig": { +"description": "Describes the service account configuration for the tenant project.", +"id": "ServiceAccountConfig", +"properties": { +"accountId": { +"description": "ID of the IAM service account to be created in tenant project. The email format of the service account is \"@.iam.gserviceaccount.com\". This account ID must be unique within tenant project and service producers have to guarantee it. The ID must be 6-30 characters long, and match the following regular expression: `[a-z]([-a-z0-9]*[a-z0-9])`.", +"type": "string" +}, +"tenantProjectRoles": { +"description": "Roles for the associated service account for the tenant project.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"SourceContext": { +"description": "`SourceContext` represents information about the source of a protobuf element, like the file in which it is defined.", +"id": "SourceContext", +"properties": { +"fileName": { +"description": "The path-qualified name of the .proto file that contained the associated protobuf element. For example: `\"google/protobuf/source_context.proto\"`.", +"type": "string" +} +}, +"type": "object" +}, +"SourceInfo": { +"description": "Source information used to create a Service Config", +"id": "SourceInfo", +"properties": { +"sourceFiles": { +"description": "All files used during config generation.", +"items": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"type": "object" +}, +"type": "array" +} +}, +"type": "object" +}, +"Status": { +"description": "The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors).", +"id": "Status", +"properties": { +"code": { +"description": "The status code, which should be an enum value of google.rpc.Code.", +"format": "int32", +"type": "integer" +}, +"details": { +"description": "A list of messages that carry the error details. There is a common set of message types for APIs to use.", +"items": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.", +"type": "string" +} +}, +"type": "object" +}, +"SystemParameter": { +"description": "Define a parameter's name and location. The parameter may be passed as either an HTTP header or a URL query parameter, and if both are passed the behavior is implementation-dependent.", +"id": "SystemParameter", +"properties": { +"httpHeader": { +"description": "Define the HTTP header name to use for the parameter. It is case insensitive.", +"type": "string" +}, +"name": { +"description": "Define the name of the parameter, such as \"api_key\" . It is case sensitive.", +"type": "string" +}, +"urlQueryParameter": { +"description": "Define the URL query parameter name to use for the parameter. It is case sensitive.", +"type": "string" +} +}, +"type": "object" +}, +"SystemParameterRule": { +"description": "Define a system parameter rule mapping system parameter definitions to methods.", +"id": "SystemParameterRule", +"properties": { +"parameters": { +"description": "Define parameters. Multiple names may be defined for a parameter. For a given method call, only one of them should be used. If multiple names are used the behavior is implementation-dependent. If none of the specified names are present the behavior is parameter-dependent.", +"items": { +"$ref": "SystemParameter" +}, +"type": "array" +}, +"selector": { +"description": "Selects the methods to which this rule applies. Use '*' to indicate all methods in all APIs. Refer to selector for syntax details.", +"type": "string" +} +}, +"type": "object" +}, +"SystemParameters": { +"description": "### System parameter configuration A system parameter is a special kind of parameter defined by the API system, not by an individual API. It is typically mapped to an HTTP header and/or a URL query parameter. This configuration specifies which methods change the names of the system parameters.", +"id": "SystemParameters", +"properties": { +"rules": { +"description": "Define system parameters. The parameters defined here will override the default parameters implemented by the system. If this field is missing from the service config, default system parameters will be used. Default system parameters and names is implementation-dependent. Example: define api key for all methods system_parameters rules: - selector: \"*\" parameters: - name: api_key url_query_parameter: api_key Example: define 2 api key names for a specific method. system_parameters rules: - selector: \"/ListShelves\" parameters: - name: api_key http_header: Api-Key1 - name: api_key http_header: Api-Key2 **NOTE:** All service configuration rules follow \"last one wins\" order.", +"items": { +"$ref": "SystemParameterRule" +}, +"type": "array" +} +}, +"type": "object" +}, +"TenancyUnit": { +"description": "Representation of a tenancy unit.", +"id": "TenancyUnit", +"properties": { +"consumer": { +"description": "Output only. @OutputOnly Cloud resource name of the consumer of this service. For example 'projects/123456'.", +"readOnly": true, +"type": "string" +}, +"createTime": { +"description": "Output only. @OutputOnly The time this tenancy unit was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"name": { +"description": "Globally unique identifier of this tenancy unit \"services/{service}/{collection id}/{resource id}/tenancyUnits/{unit}\"", +"type": "string" +}, +"service": { +"description": "Output only. Google Cloud API name of the managed service owning this tenancy unit. For example 'serviceconsumermanagement.googleapis.com'.", +"readOnly": true, +"type": "string" +}, +"tenantResources": { +"description": "Resources constituting the tenancy unit. There can be at most 512 tenant resources in a tenancy unit.", +"items": { +"$ref": "TenantResource" +}, +"type": "array" +} +}, +"type": "object" +}, +"TenantProjectConfig": { +"description": "This structure defines a tenant project to be added to the specified tenancy unit and its initial configuration and properties. A project lien is created for the tenant project to prevent the tenant project from being deleted accidentally. The lien is deleted as part of tenant project removal.", +"id": "TenantProjectConfig", +"properties": { +"billingConfig": { +"$ref": "BillingConfig", +"description": "Billing account properties. The billing account must be specified." +}, +"folder": { +"description": "Folder where project in this tenancy unit must be located This folder must have been previously created with the required permissions for the caller to create and configure a project in it. Valid folder resource names have the format `folders/{folder_number}` (for example, `folders/123456`).", +"type": "string" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Labels that are applied to this project.", +"type": "object" +}, +"serviceAccountConfig": { +"$ref": "ServiceAccountConfig", +"description": "Configuration for the IAM service account on the tenant project." +}, +"services": { +"description": "Google Cloud API names of services that are activated on this project during provisioning. If any of these services can't be activated, the request fails. For example: 'compute.googleapis.com','cloudfunctions.googleapis.com'", +"items": { +"type": "string" +}, +"type": "array" +}, +"tenantProjectPolicy": { +"$ref": "TenantProjectPolicy", +"description": "Describes ownership and policies for the new tenant project." +} +}, +"type": "object" +}, +"TenantProjectPolicy": { +"description": "Describes policy settings that can be applied to a newly created tenant project.", +"id": "TenantProjectPolicy", +"properties": { +"policyBindings": { +"description": "Policy bindings to be applied to the tenant project, in addition to the 'roles/owner' role granted to the Service Consumer Management service account.", +"items": { +"$ref": "PolicyBinding" +}, +"type": "array" +} +}, +"type": "object" +}, +"TenantResource": { +"description": "Resource constituting the TenancyUnit.", +"id": "TenantResource", +"properties": { +"migratedTenantProject": { +"description": "Output only. The newly created regional resource name of the tenant project that has been migrated from a global service. This field is only set for migrated tenant projects. Format: `services//{collection_id}/{RESOURCE_ID}/locations/{LOCATION}/tenantProjects/{TENANT_ID}`.", +"readOnly": true, +"type": "string" +}, +"resource": { +"description": "Output only. @OutputOnly Identifier of the tenant resource. For cloud projects, it is in the form 'projects/{number}'. For example 'projects/123456'.", +"readOnly": true, +"type": "string" +}, +"status": { +"description": "Status of tenant resource.", +"enum": [ +"STATUS_UNSPECIFIED", +"PENDING_CREATE", +"ACTIVE", +"PENDING_DELETE", +"FAILED", +"DELETED" +], +"enumDescriptions": [ +"Unspecified status is the default unset value.", +"Creation of the tenant resource is ongoing.", +"Active resource.", +"Deletion of the resource is ongoing.", +"Tenant resource creation or deletion has failed.", +"Tenant resource has been deleted." +], +"type": "string" +}, +"tag": { +"description": "Unique per single tenancy unit.", +"type": "string" +} +}, +"type": "object" +}, +"Type": { +"description": "A protocol buffer message type. New usages of this message as an alternative to DescriptorProto are strongly discouraged. This message does not reliability preserve all information necessary to model the schema and preserve semantics. Instead make use of FileDescriptorSet which preserves the necessary information.", +"id": "Type", +"properties": { +"edition": { +"description": "The source edition string, only valid when syntax is SYNTAX_EDITIONS.", +"type": "string" +}, +"fields": { +"description": "The list of fields.", +"items": { +"$ref": "Field" +}, +"type": "array" +}, +"name": { +"description": "The fully qualified message name.", +"type": "string" +}, +"oneofs": { +"description": "The list of types appearing in `oneof` definitions in this type.", +"items": { +"type": "string" +}, +"type": "array" +}, +"options": { +"description": "The protocol buffer options.", +"items": { +"$ref": "Option" +}, +"type": "array" +}, +"sourceContext": { +"$ref": "SourceContext", +"description": "The source context." +}, +"syntax": { +"description": "The source syntax.", +"enum": [ +"SYNTAX_PROTO2", +"SYNTAX_PROTO3", +"SYNTAX_EDITIONS" +], +"enumDescriptions": [ +"Syntax `proto2`.", +"Syntax `proto3`.", +"Syntax `editions`." +], +"type": "string" +} +}, +"type": "object" +}, +"UndeleteTenantProjectRequest": { +"description": "Request message to undelete tenant project resource previously deleted from the tenancy unit.", +"id": "UndeleteTenantProjectRequest", +"properties": { +"tag": { +"description": "Required. Tag of the resource within the tenancy unit.", +"type": "string" +} +}, +"type": "object" +}, +"Usage": { +"description": "Configuration controlling usage of a service.", +"id": "Usage", +"properties": { +"producerNotificationChannel": { +"description": "The full resource name of a channel used for sending notifications to the service producer. Google Service Management currently only supports [Google Cloud Pub/Sub](https://cloud.google.com/pubsub) as a notification channel. To use Google Cloud Pub/Sub as the channel, this must be the name of a Cloud Pub/Sub topic that uses the Cloud Pub/Sub topic name format documented in https://cloud.google.com/pubsub/docs/overview.", +"type": "string" +}, +"requirements": { +"description": "Requirements that must be satisfied before a consumer project can use the service. Each requirement is of the form /; for example 'serviceusage.googleapis.com/billing-enabled'. For Google APIs, a Terms of Service requirement must be included here. Google Cloud APIs must include \"serviceusage.googleapis.com/tos/cloud\". Other Google APIs should include \"serviceusage.googleapis.com/tos/universal\". Additional ToS can be included based on the business needs.", +"items": { +"type": "string" +}, +"type": "array" +}, +"rules": { +"description": "A list of usage rules that apply to individual API methods. **NOTE:** All service configuration rules follow \"last one wins\" order.", +"items": { +"$ref": "UsageRule" +}, +"type": "array" +} +}, +"type": "object" +}, +"UsageRule": { +"description": "Usage configuration rules for the service.", +"id": "UsageRule", +"properties": { +"allowUnregisteredCalls": { +"description": " Use this rule to configure unregistered calls for the service. Unregistered calls are calls that do not contain consumer project identity. (Example: calls that do not contain an API key). WARNING: By default, API methods do not allow unregistered calls, and each method call must be identified by a consumer project identity.", +"type": "boolean" +}, +"selector": { +"description": "Selects the methods to which this rule applies. Use '*' to indicate all methods in all APIs. Refer to selector for syntax details.", +"type": "string" +}, +"skipServiceControl": { +"description": "If true, the selected method should skip service control and the control plane features, such as quota and billing, will not be available. This flag is used by Google Cloud Endpoints to bypass checks for internal methods, such as service health check methods.", +"type": "boolean" +} +}, +"type": "object" +}, +"V1AddVisibilityLabelsResponse": { +"description": "Response message for the `AddVisibilityLabels` method. This response message is assigned to the `response` field of the returned Operation when that operation is done.", +"id": "V1AddVisibilityLabelsResponse", +"properties": { +"labels": { +"description": "The updated set of visibility labels for this consumer on this service.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"V1Beta1BatchCreateProducerOverridesResponse": { +"description": "Response message for BatchCreateProducerOverrides", +"id": "V1Beta1BatchCreateProducerOverridesResponse", +"properties": { +"overrides": { +"description": "The overrides that were created.", +"items": { +"$ref": "V1Beta1QuotaOverride" +}, +"type": "array" +} +}, +"type": "object" +}, +"V1Beta1DisableConsumerResponse": { +"description": "Response message for the `DisableConsumer` method. This response message is assigned to the `response` field of the returned Operation when that operation is done.", +"id": "V1Beta1DisableConsumerResponse", +"properties": {}, +"type": "object" +}, +"V1Beta1EnableConsumerResponse": { +"description": "Response message for the `EnableConsumer` method. This response message is assigned to the `response` field of the returned Operation when that operation is done.", +"id": "V1Beta1EnableConsumerResponse", +"properties": {}, +"type": "object" +}, +"V1Beta1GenerateServiceIdentityResponse": { +"description": "Response message for the `GenerateServiceIdentity` method. This response message is assigned to the `response` field of the returned Operation when that operation is done.", +"id": "V1Beta1GenerateServiceIdentityResponse", +"properties": { +"identity": { +"$ref": "V1Beta1ServiceIdentity", +"description": "ServiceIdentity that was created or retrieved." +} +}, +"type": "object" +}, +"V1Beta1ImportProducerOverridesResponse": { +"description": "Response message for ImportProducerOverrides", +"id": "V1Beta1ImportProducerOverridesResponse", +"properties": { +"overrides": { +"description": "The overrides that were created from the imported data.", +"items": { +"$ref": "V1Beta1QuotaOverride" +}, +"type": "array" +} +}, +"type": "object" +}, +"V1Beta1ImportProducerQuotaPoliciesResponse": { +"description": "Response message for ImportProducerQuotaPolicies", +"id": "V1Beta1ImportProducerQuotaPoliciesResponse", +"properties": { +"policies": { +"description": "The policies that were created from the imported data.", +"items": { +"$ref": "V1Beta1ProducerQuotaPolicy" +}, +"type": "array" +} +}, +"type": "object" +}, +"V1Beta1ProducerQuotaPolicy": { +"description": "Quota policy created by service producer.", +"id": "V1Beta1ProducerQuotaPolicy", +"properties": { +"container": { +"description": "The cloud resource container at which the quota policy is created. The format is {container_type}/{container_number}", +"type": "string" +}, +"dimensions": { +"additionalProperties": { +"type": "string" +}, +"description": " If this map is nonempty, then this policy applies only to specific values for dimensions defined in the limit unit. For example, a policy on a limit with the unit 1/{project}/{region} could contain an entry with the key \"region\" and the value \"us-east-1\"; the policy is only applied to quota consumed in that region. This map has the following restrictions: * Keys that are not defined in the limit's unit are not valid keys. Any string appearing in {brackets} in the unit (besides {project} or {user}) is a defined key. * \"project\" is not a valid key; the project is already specified in the parent resource name. * \"user\" is not a valid key; the API does not support quota polcies 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.", +"type": "object" +}, +"metric": { +"description": "The name of the metric to which this policy applies. An example name would be: `compute.googleapis.com/cpus`", +"type": "string" +}, +"name": { +"description": "The resource name of the producer policy. An example name would be: `services/compute.googleapis.com/organizations/123/consumerQuotaMetrics/compute.googleapis.com%2Fcpus/limits/%2Fproject%2Fregion/producerQuotaPolicies/4a3f2c1d`", +"type": "string" +}, +"policyValue": { +"description": "The quota policy value. Can be any nonnegative integer, or -1 (unlimited quota).", +"format": "int64", +"type": "string" +}, +"unit": { +"description": "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.", +"type": "string" +} +}, +"type": "object" +}, +"V1Beta1QuotaOverride": { +"description": "A quota override", +"id": "V1Beta1QuotaOverride", +"properties": { +"adminOverrideAncestor": { +"description": "The resource name of the ancestor that requested the override. For example: \"organizations/12345\" or \"folders/67890\". Used by admin overrides only.", +"type": "string" +}, +"dimensions": { +"additionalProperties": { +"type": "string" +}, +"description": " 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.", +"type": "object" +}, +"metric": { +"description": "The name of the metric to which this override applies. An example name would be: `compute.googleapis.com/cpus`", +"type": "string" +}, +"name": { +"description": "The resource name of the producer override. An example name would be: `services/compute.googleapis.com/projects/123/consumerQuotaMetrics/compute.googleapis.com%2Fcpus/limits/%2Fproject%2Fregion/producerOverrides/4a3f2c1d`", +"type": "string" +}, +"overrideValue": { +"description": "The overriding quota limit value. Can be any nonnegative integer, or -1 (unlimited quota).", +"format": "int64", +"type": "string" +}, +"unit": { +"description": "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.", +"type": "string" +} +}, +"type": "object" +}, +"V1Beta1RefreshConsumerResponse": { +"description": "Response message for the `RefreshConsumer` method. This response message is assigned to the `response` field of the returned Operation when that operation is done.", +"id": "V1Beta1RefreshConsumerResponse", +"properties": {}, +"type": "object" +}, +"V1Beta1ServiceIdentity": { +"description": "A service identity in the Identity and Access Management API.", +"id": "V1Beta1ServiceIdentity", +"properties": { +"email": { +"description": "The email address of the service identity.", +"type": "string" +}, +"name": { +"description": "P4 service identity resource name. An example name would be: `services/serviceconsumermanagement.googleapis.com/projects/123/serviceIdentities/default`", +"type": "string" +}, +"projectRole": { +"description": "The project-level IAM role defined in the service agent's grant configuration. This is the standard role intended for this service agent. This field is populated regardless of the `skip_role_attach` option in the request. If `skip_role_attach` is true, the caller can use this value to know which role they are responsible for granting.", +"type": "string" +}, +"tag": { +"description": "The P4 service identity configuration tag. This must be defined in activation_grants. If not specified when creating the account, the tag is set to \"default\".", +"type": "string" +}, +"uniqueId": { +"description": "The unique and stable id of the service identity.", +"type": "string" +} +}, +"type": "object" +}, +"V1DefaultIdentity": { +"description": "A default identity in the Identity and Access Management API.", +"id": "V1DefaultIdentity", +"properties": { +"email": { +"description": "The email address of the default identity. Calling GenerateDefaultIdentity with a deleted or purged default identity should expect does_not_exist@invalid-project.iam.gserviceaccount.com placeholder email.", +"type": "string" +}, +"name": { +"description": "Default identity resource name. An example name would be: `services/serviceconsumermanagement.googleapis.com/projects/123/defaultIdentity`", +"type": "string" +}, +"tag": { +"description": "The Default Identity tag. If specified when creating the account, the tag must be present in activation_grants. If not specified when creating the account, the tag is set to the tag specified in activation_grants.", +"type": "string" +}, +"uniqueId": { +"description": "The unique and stable id of the default identity.", +"type": "string" +} +}, +"type": "object" +}, +"V1DisableConsumerResponse": { +"description": "Response message for the `DisableConsumer` method. This response message is assigned to the `response` field of the returned Operation when that operation is done.", +"id": "V1DisableConsumerResponse", +"properties": {}, +"type": "object" +}, +"V1EnableConsumerResponse": { +"description": "Response message for the `EnableConsumer` method. This response message is assigned to the `response` field of the returned Operation when that operation is done.", +"id": "V1EnableConsumerResponse", +"properties": {}, +"type": "object" +}, +"V1GenerateDefaultIdentityResponse": { +"description": "Response message for the `GenerateDefaultIdentity` method. This response message is assigned to the `response` field of the returned Operation when that operation is done.", +"id": "V1GenerateDefaultIdentityResponse", +"properties": { +"attachStatus": { +"description": "Status of the role attachment. Under development (go/si-attach-role), currently always return ATTACH_STATUS_UNSPECIFIED)", +"enum": [ +"ATTACH_STATUS_UNSPECIFIED", +"ATTACHED", +"ATTACH_SKIPPED", +"PREVIOUSLY_ATTACHED", +"ATTACH_DENIED_BY_ORG_POLICY" +], +"enumDescriptions": [ +"Indicates that the AttachStatus was not set.", +"The default identity was attached to a role successfully in this request.", +"The request specified that no attempt should be made to attach the role.", +"Role was attached to the consumer project at some point in time. Tenant manager doesn't make assertion about the current state of the identity with respect to the consumer. Role attachment should happen only once after activation and cannot be reattached after customer removes it. (go/si-attach-role)", +"Role attachment was denied in this request by customer set org policy. (go/si-attach-role)" +], +"type": "string" +}, +"identity": { +"$ref": "V1DefaultIdentity", +"description": "DefaultIdentity that was created or retrieved." +}, +"role": { +"description": "Role attached to consumer project. Empty if not attached in this request. (Under development, currently always return empty.)", +"type": "string" +} +}, +"type": "object" +}, +"V1GenerateServiceAccountResponse": { +"description": "Response message for the `GenerateServiceAccount` method. This response message is assigned to the `response` field of the returned Operation when that operation is done.", +"id": "V1GenerateServiceAccountResponse", +"properties": { +"account": { +"$ref": "V1ServiceAccount", +"description": "ServiceAccount that was created or retrieved." +} +}, +"type": "object" +}, +"V1RefreshConsumerResponse": { +"description": "Response message for the `RefreshConsumer` method. This response message is assigned to the `response` field of the returned Operation when that operation is done.", +"id": "V1RefreshConsumerResponse", +"properties": {}, +"type": "object" +}, +"V1RemoveVisibilityLabelsResponse": { +"description": "Response message for the `RemoveVisibilityLabels` method. This response message is assigned to the `response` field of the returned Operation when that operation is done.", +"id": "V1RemoveVisibilityLabelsResponse", +"properties": { +"labels": { +"description": "The updated set of visibility labels for this consumer on this service.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"V1ServiceAccount": { +"description": "A service account in the Identity and Access Management API.", +"id": "V1ServiceAccount", +"properties": { +"email": { +"description": "The email address of the service account.", +"type": "string" +}, +"iamAccountName": { +"deprecated": true, +"description": "Deprecated. See b/136209818.", +"type": "string" +}, +"name": { +"description": "P4 SA resource name. An example name would be: `services/serviceconsumermanagement.googleapis.com/projects/123/serviceAccounts/default`", +"type": "string" +}, +"tag": { +"description": "The P4 SA configuration tag. This must be defined in activation_grants. If not specified when creating the account, the tag is set to \"default\".", +"type": "string" +}, +"uniqueId": { +"description": "The unique and stable id of the service account.", +"type": "string" +} +}, +"type": "object" +} +}, +"servicePath": "", +"title": "Service Consumer Management API", +"version": "v1", +"version_module": true +} \ No newline at end of file diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/serviceconsumermanagement.v1beta1.json b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/serviceconsumermanagement.v1beta1.json new file mode 100644 index 0000000000000000000000000000000000000000..14d01f4c70f22ba6870541fe2c3533c6637ca04e --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/serviceconsumermanagement.v1beta1.json @@ -0,0 +1,3642 @@ +{ +"auth": { +"oauth2": { +"scopes": { +"https://www.googleapis.com/auth/cloud-platform": { +"description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." +} +} +} +}, +"basePath": "", +"baseUrl": "https://serviceconsumermanagement.googleapis.com/", +"batchPath": "batch", +"canonicalName": "Service Consumer Management", +"description": "Manages the service consumers of a Service Infrastructure service.", +"discoveryVersion": "v1", +"documentationLink": "https://cloud.google.com/service-consumer-management/docs/overview", +"fullyEncodeReservedExpansion": true, +"icons": { +"x16": "http://www.google.com/images/icons/product/search-16.gif", +"x32": "http://www.google.com/images/icons/product/search-32.gif" +}, +"id": "serviceconsumermanagement:v1beta1", +"kind": "discovery#restDescription", +"mtlsRootUrl": "https://serviceconsumermanagement.mtls.googleapis.com/", +"name": "serviceconsumermanagement", +"ownerDomain": "google.com", +"ownerName": "Google", +"parameters": { +"$.xgafv": { +"description": "V1 error format.", +"enum": [ +"1", +"2" +], +"enumDescriptions": [ +"v1 error format", +"v2 error format" +], +"location": "query", +"type": "string" +}, +"access_token": { +"description": "OAuth access token.", +"location": "query", +"type": "string" +}, +"alt": { +"default": "json", +"description": "Data format for response.", +"enum": [ +"json", +"media", +"proto" +], +"enumDescriptions": [ +"Responses with Content-Type of application/json", +"Media download with context-dependent Content-Type", +"Responses with Content-Type of application/x-protobuf" +], +"location": "query", +"type": "string" +}, +"callback": { +"description": "JSONP", +"location": "query", +"type": "string" +}, +"fields": { +"description": "Selector specifying which fields to include in a partial response.", +"location": "query", +"type": "string" +}, +"key": { +"description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", +"location": "query", +"type": "string" +}, +"oauth_token": { +"description": "OAuth 2.0 token for the current user.", +"location": "query", +"type": "string" +}, +"prettyPrint": { +"default": "true", +"description": "Returns response with indentations and line breaks.", +"location": "query", +"type": "boolean" +}, +"quotaUser": { +"description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.", +"location": "query", +"type": "string" +}, +"uploadType": { +"description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", +"location": "query", +"type": "string" +}, +"upload_protocol": { +"description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", +"location": "query", +"type": "string" +} +}, +"protocol": "rest", +"resources": { +"operations": { +"methods": { +"get": { +"description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", +"flatPath": "v1beta1/operations/{operationsId}", +"httpMethod": "GET", +"id": "serviceconsumermanagement.operations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource.", +"location": "path", +"pattern": "^operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"services": { +"resources": { +"consumerQuotaMetrics": { +"methods": { +"get": { +"description": "Retrieves a summary of quota information for a specific quota metric.", +"flatPath": "v1beta1/services/{servicesId}/{servicesId1}/{servicesId2}/consumerQuotaMetrics/{consumerQuotaMetricsId}", +"httpMethod": "GET", +"id": "serviceconsumermanagement.services.consumerQuotaMetrics.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The resource name of the quota metric, returned by a ListConsumerQuotaMetrics call. An example name would be: `services/compute.googleapis.com/projects/123/consumerQuotaMetrics/compute.googleapis.com%2Fcpus`", +"location": "path", +"pattern": "^services/[^/]+/[^/]+/[^/]+/consumerQuotaMetrics/[^/]+$", +"required": true, +"type": "string" +}, +"view": { +"description": "Specifies the level of detail for quota information in the response.", +"enum": [ +"QUOTA_VIEW_UNSPECIFIED", +"BASIC", +"FULL" +], +"enumDescriptions": [ +"No quota view specified. Requests that do not specify a quota view will typically default to the BASIC view.", +"Only buckets with overrides are shown in the response.", +"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." +], +"location": "query", +"type": "string" +} +}, +"path": "v1beta1/{+name}", +"response": { +"$ref": "V1Beta1ConsumerQuotaMetric" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"importProducerOverrides": { +"description": "Create or update multiple producer 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.", +"flatPath": "v1beta1/services/{servicesId}/{servicesId1}/{servicesId2}/consumerQuotaMetrics:importProducerOverrides", +"httpMethod": "POST", +"id": "serviceconsumermanagement.services.consumerQuotaMetrics.importProducerOverrides", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "The resource name of the consumer. An example name would be: `services/compute.googleapis.com/projects/123`", +"location": "path", +"pattern": "^services/[^/]+/[^/]+/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+parent}/consumerQuotaMetrics:importProducerOverrides", +"request": { +"$ref": "V1Beta1ImportProducerOverridesRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"importProducerQuotaPolicies": { +"description": "Create or update multiple producer quota policies atomically, all on the same ancestor, but on many different metrics or limits. The name field in the quota policy message should not be set.", +"flatPath": "v1beta1/services/{servicesId}/{servicesId1}/{servicesId2}/consumerQuotaMetrics:importProducerQuotaPolicies", +"httpMethod": "POST", +"id": "serviceconsumermanagement.services.consumerQuotaMetrics.importProducerQuotaPolicies", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "The resource name of the consumer. An example name would be: `services/compute.googleapis.com/organizations/123`", +"location": "path", +"pattern": "^services/[^/]+/[^/]+/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+parent}/consumerQuotaMetrics:importProducerQuotaPolicies", +"request": { +"$ref": "V1Beta1ImportProducerQuotaPoliciesRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Retrieves a summary of all quota information about this consumer that is visible to the service producer, for each quota metric defined by the service. 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.", +"flatPath": "v1beta1/services/{servicesId}/{servicesId1}/{servicesId2}/consumerQuotaMetrics", +"httpMethod": "GET", +"id": "serviceconsumermanagement.services.consumerQuotaMetrics.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "Requested size of the next page of data.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Token identifying which result to start with; returned by a previous list call.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Parent of the quotas resource. An example parent would be: `services/serviceconsumermanagement.googleapis.com/projects/123`", +"location": "path", +"pattern": "^services/[^/]+/[^/]+/[^/]+$", +"required": true, +"type": "string" +}, +"view": { +"description": "Specifies the level of detail for quota information in the response.", +"enum": [ +"QUOTA_VIEW_UNSPECIFIED", +"BASIC", +"FULL" +], +"enumDescriptions": [ +"No quota view specified. Requests that do not specify a quota view will typically default to the BASIC view.", +"Only buckets with overrides are shown in the response.", +"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." +], +"location": "query", +"type": "string" +} +}, +"path": "v1beta1/{+parent}/consumerQuotaMetrics", +"response": { +"$ref": "V1Beta1ListConsumerQuotaMetricsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"limits": { +"methods": { +"get": { +"description": "Retrieves a summary of quota information for a specific quota limit.", +"flatPath": "v1beta1/services/{servicesId}/{servicesId1}/{servicesId2}/consumerQuotaMetrics/{consumerQuotaMetricsId}/limits/{limitsId}", +"httpMethod": "GET", +"id": "serviceconsumermanagement.services.consumerQuotaMetrics.limits.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The resource name of the quota limit, returned by a ListConsumerQuotaMetrics or GetConsumerQuotaMetric call. An example name would be: `services/compute.googleapis.com/projects/123/consumerQuotaMetrics/compute.googleapis.com%2Fcpus/limits/%2Fproject%2Fregion`", +"location": "path", +"pattern": "^services/[^/]+/[^/]+/[^/]+/consumerQuotaMetrics/[^/]+/limits/[^/]+$", +"required": true, +"type": "string" +}, +"view": { +"description": "Specifies the level of detail for quota information in the response.", +"enum": [ +"QUOTA_VIEW_UNSPECIFIED", +"BASIC", +"FULL" +], +"enumDescriptions": [ +"No quota view specified. Requests that do not specify a quota view will typically default to the BASIC view.", +"Only buckets with overrides are shown in the response.", +"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." +], +"location": "query", +"type": "string" +} +}, +"path": "v1beta1/{+name}", +"response": { +"$ref": "V1Beta1ConsumerQuotaLimit" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"producerOverrides": { +"methods": { +"create": { +"description": "Creates a producer override. A producer override is applied by the owner or administrator of a service to increase or decrease the amount of quota a consumer of the service is allowed to use. To create multiple overrides at once, use ImportProducerOverrides instead. If an override with the specified dimensions already exists, this call will fail. To overwrite an existing override if one is already present (\"upsert\" semantics), use ImportProducerOverrides instead.", +"flatPath": "v1beta1/services/{servicesId}/{servicesId1}/{servicesId2}/consumerQuotaMetrics/{consumerQuotaMetricsId}/limits/{limitsId}/producerOverrides", +"httpMethod": "POST", +"id": "serviceconsumermanagement.services.consumerQuotaMetrics.limits.producerOverrides.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"force": { +"deprecated": true, +"description": "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.", +"location": "query", +"type": "boolean" +}, +"forceJustification": { +"deprecated": true, +"description": "If force option is set to true, force_justification is suggested to be set to log the reason in audit logs.", +"location": "query", +"type": "string" +}, +"forceOnly": { +"deprecated": true, +"description": "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.", +"enum": [ +"QUOTA_SAFETY_CHECK_UNSPECIFIED", +"LIMIT_DECREASE_BELOW_USAGE", +"LIMIT_DECREASE_PERCENTAGE_TOO_HIGH" +], +"enumDescriptions": [ +"Unspecified quota safety check.", +"Validates that a quota mutation would not cause the consumer's effective limit to be lower than the consumer's quota usage.", +"Validates that a quota mutation would not cause the consumer's effective limit to decrease by more than 10 percent." +], +"location": "query", +"repeated": true, +"type": "string" +}, +"parent": { +"description": "The resource name of the parent quota limit, returned by a ListConsumerQuotaMetrics or GetConsumerQuotaMetric call. An example name would be: `services/compute.googleapis.com/projects/123/consumerQuotaMetrics/compute.googleapis.com%2Fcpus/limits/%2Fproject%2Fregion`", +"location": "path", +"pattern": "^services/[^/]+/[^/]+/[^/]+/consumerQuotaMetrics/[^/]+/limits/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+parent}/producerOverrides", +"request": { +"$ref": "V1Beta1QuotaOverride" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a producer override.", +"flatPath": "v1beta1/services/{servicesId}/{servicesId1}/{servicesId2}/consumerQuotaMetrics/{consumerQuotaMetricsId}/limits/{limitsId}/producerOverrides/{producerOverridesId}", +"httpMethod": "DELETE", +"id": "serviceconsumermanagement.services.consumerQuotaMetrics.limits.producerOverrides.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"force": { +"deprecated": true, +"description": "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.", +"location": "query", +"type": "boolean" +}, +"forceJustification": { +"deprecated": true, +"description": "If force option is set to true, force_justification is suggested to be set to log the reason in audit logs.", +"location": "query", +"type": "string" +}, +"forceOnly": { +"deprecated": true, +"description": "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.", +"enum": [ +"QUOTA_SAFETY_CHECK_UNSPECIFIED", +"LIMIT_DECREASE_BELOW_USAGE", +"LIMIT_DECREASE_PERCENTAGE_TOO_HIGH" +], +"enumDescriptions": [ +"Unspecified quota safety check.", +"Validates that a quota mutation would not cause the consumer's effective limit to be lower than the consumer's quota usage.", +"Validates that a quota mutation would not cause the consumer's effective limit to decrease by more than 10 percent." +], +"location": "query", +"repeated": true, +"type": "string" +}, +"name": { +"description": "The resource name of the override to delete. An example name would be: `services/compute.googleapis.com/projects/123/consumerQuotaMetrics/compute.googleapis.com%2Fcpus/limits/%2Fproject%2Fregion/producerOverrides/4a3f2c1d`", +"location": "path", +"pattern": "^services/[^/]+/[^/]+/[^/]+/consumerQuotaMetrics/[^/]+/limits/[^/]+/producerOverrides/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists all producer overrides on this limit.", +"flatPath": "v1beta1/services/{servicesId}/{servicesId1}/{servicesId2}/consumerQuotaMetrics/{consumerQuotaMetricsId}/limits/{limitsId}/producerOverrides", +"httpMethod": "GET", +"id": "serviceconsumermanagement.services.consumerQuotaMetrics.limits.producerOverrides.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "Requested size of the next page of data.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Token identifying which result to start with; returned by a previous list call.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "The resource name of the parent quota limit, returned by a ListConsumerQuotaMetrics or GetConsumerQuotaMetric call. An example name would be: `services/compute.googleapis.com/projects/123/consumerQuotaMetrics/compute.googleapis.com%2Fcpus/limits/%2Fproject%2Fregion`", +"location": "path", +"pattern": "^services/[^/]+/[^/]+/[^/]+/consumerQuotaMetrics/[^/]+/limits/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+parent}/producerOverrides", +"response": { +"$ref": "V1Beta1ListProducerOverridesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates a producer override.", +"flatPath": "v1beta1/services/{servicesId}/{servicesId1}/{servicesId2}/consumerQuotaMetrics/{consumerQuotaMetricsId}/limits/{limitsId}/producerOverrides/{producerOverridesId}", +"httpMethod": "PATCH", +"id": "serviceconsumermanagement.services.consumerQuotaMetrics.limits.producerOverrides.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"force": { +"deprecated": true, +"description": "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.", +"location": "query", +"type": "boolean" +}, +"forceJustification": { +"deprecated": true, +"description": "If force option is set to true, force_justification is suggested to be set to log the reason in audit logs.", +"location": "query", +"type": "string" +}, +"forceOnly": { +"deprecated": true, +"description": "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.", +"enum": [ +"QUOTA_SAFETY_CHECK_UNSPECIFIED", +"LIMIT_DECREASE_BELOW_USAGE", +"LIMIT_DECREASE_PERCENTAGE_TOO_HIGH" +], +"enumDescriptions": [ +"Unspecified quota safety check.", +"Validates that a quota mutation would not cause the consumer's effective limit to be lower than the consumer's quota usage.", +"Validates that a quota mutation would not cause the consumer's effective limit to decrease by more than 10 percent." +], +"location": "query", +"repeated": true, +"type": "string" +}, +"name": { +"description": "The resource name of the override to update. An example name would be: `services/compute.googleapis.com/projects/123/consumerQuotaMetrics/compute.googleapis.com%2Fcpus/limits/%2Fproject%2Fregion/producerOverrides/4a3f2c1d`", +"location": "path", +"pattern": "^services/[^/]+/[^/]+/[^/]+/consumerQuotaMetrics/[^/]+/limits/[^/]+/producerOverrides/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Update only the specified fields. If unset, all modifiable fields will be updated.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1beta1/{+name}", +"request": { +"$ref": "V1Beta1QuotaOverride" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"producerQuotaPolicies": { +"methods": { +"create": { +"description": "Creates a producer quota policy. A producer quota policy is applied by the owner or administrator of a service at an org or folder node to set the default quota limit for all consumers under the node where the policy is created. To create multiple policies at once, use ImportProducerQuotaPolicies instead. If a policy with the specified dimensions already exists, this call will fail. To overwrite an existing policy if one is already present (\"upsert\" semantics), use ImportProducerQuotaPolicies instead.", +"flatPath": "v1beta1/services/{servicesId}/{servicesId1}/{servicesId2}/consumerQuotaMetrics/{consumerQuotaMetricsId}/limits/{limitsId}/producerQuotaPolicies", +"httpMethod": "POST", +"id": "serviceconsumermanagement.services.consumerQuotaMetrics.limits.producerQuotaPolicies.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"force": { +"description": "Whether to force the creation of the quota policy. If the policy creation would decrease the default limit of any consumer tier by more than 10 percent, the call is rejected, as a safety measure to avoid accidentally decreasing quota too quickly. Setting the force parameter to true ignores this restriction.", +"location": "query", +"type": "boolean" +}, +"forceJustification": { +"description": "If force option is set to true, force_justification is suggested to be set to log the reason in audit logs.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The resource name of the parent quota limit. An example name would be: `services/compute.googleapis.com/organizations/123/consumerQuotaMetrics/compute.googleapis.com%2Fcpus/limits/%2Fproject%2Fregion`", +"location": "path", +"pattern": "^services/[^/]+/[^/]+/[^/]+/consumerQuotaMetrics/[^/]+/limits/[^/]+$", +"required": true, +"type": "string" +}, +"validateOnly": { +"description": "If set to true, validate the request, but do not actually update.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1beta1/{+parent}/producerQuotaPolicies", +"request": { +"$ref": "V1Beta1ProducerQuotaPolicy" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a producer quota policy.", +"flatPath": "v1beta1/services/{servicesId}/{servicesId1}/{servicesId2}/consumerQuotaMetrics/{consumerQuotaMetricsId}/limits/{limitsId}/producerQuotaPolicies/{producerQuotaPoliciesId}", +"httpMethod": "DELETE", +"id": "serviceconsumermanagement.services.consumerQuotaMetrics.limits.producerQuotaPolicies.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"force": { +"description": "Whether to force the deletion of the quota policy. If the policy deletion would decrease the default limit of any consumer tier by more than 10 percent, the call is rejected, as a safety measure to avoid accidentally decreasing quota too quickly. Setting the force parameter to true ignores this restriction.", +"location": "query", +"type": "boolean" +}, +"forceJustification": { +"description": "If force option is set to true, force_justification is suggested to be set to log the reason in audit logs.", +"location": "query", +"type": "string" +}, +"name": { +"description": "Required. The resource name of the policy to delete. An example name would be: `services/compute.googleapis.com/organizations/123/consumerQuotaMetrics/compute.googleapis.com%2Fcpus/limits/%2Fproject%2Fregion/producerQuotaPolicies/4a3f2c1d`", +"location": "path", +"pattern": "^services/[^/]+/[^/]+/[^/]+/consumerQuotaMetrics/[^/]+/limits/[^/]+/producerQuotaPolicies/[^/]+$", +"required": true, +"type": "string" +}, +"validateOnly": { +"description": "If set to true, validate the request, but do not actually update.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1beta1/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists all producer policies created at current consumer node for a limit.", +"flatPath": "v1beta1/services/{servicesId}/{servicesId1}/{servicesId2}/consumerQuotaMetrics/{consumerQuotaMetricsId}/limits/{limitsId}/producerQuotaPolicies", +"httpMethod": "GET", +"id": "serviceconsumermanagement.services.consumerQuotaMetrics.limits.producerQuotaPolicies.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "Requested size of the next page of data.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Token identifying which result to start with; returned by a previous list call.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The resource name of the parent quota limit. An example name would be: `services/compute.googleapis.com/organizations/123/consumerQuotaMetrics/compute.googleapis.com%2Fcpus/limits/%2Fproject%2Fregion`", +"location": "path", +"pattern": "^services/[^/]+/[^/]+/[^/]+/consumerQuotaMetrics/[^/]+/limits/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+parent}/producerQuotaPolicies", +"response": { +"$ref": "V1Beta1ListProducerQuotaPoliciesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates a producer quota policy.", +"flatPath": "v1beta1/services/{servicesId}/{servicesId1}/{servicesId2}/consumerQuotaMetrics/{consumerQuotaMetricsId}/limits/{limitsId}/producerQuotaPolicies/{producerQuotaPoliciesId}", +"httpMethod": "PATCH", +"id": "serviceconsumermanagement.services.consumerQuotaMetrics.limits.producerQuotaPolicies.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"force": { +"description": "Whether to force the update of the quota policy. If the policy update would decrease the default limit of any consumer tier by more than 10 percent, the call is rejected, as a safety measure to avoid accidentally decreasing quota too quickly. Setting the force parameter to true ignores this restriction.", +"location": "query", +"type": "boolean" +}, +"forceJustification": { +"description": "If force option is set to true, force_justification is suggested to be set to log the reason in audit logs.", +"location": "query", +"type": "string" +}, +"name": { +"description": "The resource name of the producer policy. An example name would be: `services/compute.googleapis.com/organizations/123/consumerQuotaMetrics/compute.googleapis.com%2Fcpus/limits/%2Fproject%2Fregion/producerQuotaPolicies/4a3f2c1d`", +"location": "path", +"pattern": "^services/[^/]+/[^/]+/[^/]+/consumerQuotaMetrics/[^/]+/limits/[^/]+/producerQuotaPolicies/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Update only the specified fields. If unset, all modifiable fields will be updated.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +}, +"validateOnly": { +"description": "If set to true, validate the request, but do not actually update.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1beta1/{+name}", +"request": { +"$ref": "V1Beta1ProducerQuotaPolicy" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +} +} +} +} +} +}, +"revision": "20260210", +"rootUrl": "https://serviceconsumermanagement.googleapis.com/", +"schemas": { +"Api": { +"description": "Api is a light-weight descriptor for an API Interface. Interfaces are also described as \"protocol buffer services\" in some contexts, such as by the \"service\" keyword in a .proto file, but they are different from API Services, which represent a concrete implementation of an interface as opposed to simply a description of methods and bindings. They are also sometimes simply referred to as \"APIs\" in other contexts, such as the name of this message itself. See https://cloud.google.com/apis/design/glossary for detailed terminology. New usages of this message as an alternative to ServiceDescriptorProto are strongly discouraged. This message does not reliability preserve all information necessary to model the schema and preserve semantics. Instead make use of FileDescriptorSet which preserves the necessary information.", +"id": "Api", +"properties": { +"edition": { +"description": "The source edition string, only valid when syntax is SYNTAX_EDITIONS.", +"type": "string" +}, +"methods": { +"description": "The methods of this interface, in unspecified order.", +"items": { +"$ref": "Method" +}, +"type": "array" +}, +"mixins": { +"description": "Included interfaces. See Mixin.", +"items": { +"$ref": "Mixin" +}, +"type": "array" +}, +"name": { +"description": "The fully qualified name of this interface, including package name followed by the interface's simple name.", +"type": "string" +}, +"options": { +"description": "Any metadata attached to the interface.", +"items": { +"$ref": "Option" +}, +"type": "array" +}, +"sourceContext": { +"$ref": "SourceContext", +"description": "Source context for the protocol buffer service represented by this message." +}, +"syntax": { +"description": "The source syntax of the service.", +"enum": [ +"SYNTAX_PROTO2", +"SYNTAX_PROTO3", +"SYNTAX_EDITIONS" +], +"enumDescriptions": [ +"Syntax `proto2`.", +"Syntax `proto3`.", +"Syntax `editions`." +], +"type": "string" +}, +"version": { +"description": "A version string for this interface. If specified, must have the form `major-version.minor-version`, as in `1.10`. If the minor version is omitted, it defaults to zero. If the entire version field is empty, the major version is derived from the package name, as outlined below. If the field is not empty, the version in the package name will be verified to be consistent with what is provided here. The versioning schema uses [semantic versioning](http://semver.org) where the major version number indicates a breaking change and the minor version an additive, non-breaking change. Both version numbers are signals to users what to expect from different versions, and should be carefully chosen based on the product plan. The major version is also reflected in the package name of the interface, which must end in `v`, as in `google.feature.v1`. For major versions 0 and 1, the suffix can be omitted. Zero major versions must only be used for experimental, non-GA interfaces. ", +"type": "string" +} +}, +"type": "object" +}, +"Aspect": { +"description": "Aspect represents Generic aspect. It is used to configure an aspect without making direct changes to service.proto", +"id": "Aspect", +"properties": { +"kind": { +"description": "The type of this aspect configuration.", +"type": "string" +}, +"rules": { +"description": "Optional. Rules of the Configuration.", +"items": { +"$ref": "AspectRule" +}, +"type": "array" +}, +"spec": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"description": "Content of the configuration. The underlying schema should be defined by Aspect owners as protobuf message under `google/api/configaspects/proto`.", +"type": "object" +} +}, +"type": "object" +}, +"AspectRule": { +"description": "Rule-based configuration for an aspect.", +"id": "AspectRule", +"properties": { +"config": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"description": "Required. Rules of the configuration. The underlying schema should be defined by Aspect owners as protobuf message under `google/api/configaspects/proto`.", +"type": "object" +}, +"selector": { +"description": "Required. Selects the RPC methods to which this rule applies. Refer to selector for syntax details.", +"type": "string" +} +}, +"type": "object" +}, +"AuthProvider": { +"description": "Configuration for an authentication provider, including support for [JSON Web Token (JWT)](https://tools.ietf.org/html/draft-ietf-oauth-json-web-token-32).", +"id": "AuthProvider", +"properties": { +"audiences": { +"description": "The list of JWT [audiences](https://tools.ietf.org/html/draft-ietf-oauth-json-web-token-32#section-4.1.3). that are allowed to access. A JWT containing any of these audiences will be accepted. When this setting is absent, JWTs with audiences: - \"https://[service.name]/[google.protobuf.Api.name]\" - \"https://[service.name]/\" will be accepted. For example, if no audiences are in the setting, LibraryService API will accept JWTs with the following audiences: - https://library-example.googleapis.com/google.example.library.v1.LibraryService - https://library-example.googleapis.com/ Example: audiences: bookstore_android.apps.googleusercontent.com, bookstore_web.apps.googleusercontent.com", +"type": "string" +}, +"authorizationUrl": { +"description": "Redirect URL if JWT token is required but not present or is expired. Implement authorizationUrl of securityDefinitions in OpenAPI spec.", +"type": "string" +}, +"id": { +"description": "The unique identifier of the auth provider. It will be referred to by `AuthRequirement.provider_id`. Example: \"bookstore_auth\".", +"type": "string" +}, +"issuer": { +"description": "Identifies the principal that issued the JWT. See https://tools.ietf.org/html/draft-ietf-oauth-json-web-token-32#section-4.1.1 Usually a URL or an email address. Example: https://securetoken.google.com Example: 1234567-compute@developer.gserviceaccount.com", +"type": "string" +}, +"jwksUri": { +"description": "URL of the provider's public key set to validate signature of the JWT. See [OpenID Discovery](https://openid.net/specs/openid-connect-discovery-1_0.html#ProviderMetadata). Optional if the key set document: - can be retrieved from [OpenID Discovery](https://openid.net/specs/openid-connect-discovery-1_0.html) of the issuer. - can be inferred from the email domain of the issuer (e.g. a Google service account). Example: https://www.googleapis.com/oauth2/v1/certs", +"type": "string" +}, +"jwtLocations": { +"description": "Defines the locations to extract the JWT. For now it is only used by the Cloud Endpoints to store the OpenAPI extension [x-google-jwt-locations] (https://cloud.google.com/endpoints/docs/openapi/openapi-extensions#x-google-jwt-locations) JWT locations can be one of HTTP headers, URL query parameters or cookies. The rule is that the first match wins. If not specified, default to use following 3 locations: 1) Authorization: Bearer 2) x-goog-iap-jwt-assertion 3) access_token query parameter Default locations can be specified as followings: jwt_locations: - header: Authorization value_prefix: \"Bearer \" - header: x-goog-iap-jwt-assertion - query: access_token", +"items": { +"$ref": "JwtLocation" +}, +"type": "array" +} +}, +"type": "object" +}, +"AuthRequirement": { +"description": "User-defined authentication requirements, including support for [JSON Web Token (JWT)](https://tools.ietf.org/html/draft-ietf-oauth-json-web-token-32).", +"id": "AuthRequirement", +"properties": { +"audiences": { +"description": "NOTE: This will be deprecated soon, once AuthProvider.audiences is implemented and accepted in all the runtime components. The list of JWT [audiences](https://tools.ietf.org/html/draft-ietf-oauth-json-web-token-32#section-4.1.3). that are allowed to access. A JWT containing any of these audiences will be accepted. When this setting is absent, only JWTs with audience \"https://Service_name/API_name\" will be accepted. For example, if no audiences are in the setting, LibraryService API will only accept JWTs with the following audience \"https://library-example.googleapis.com/google.example.library.v1.LibraryService\". Example: audiences: bookstore_android.apps.googleusercontent.com, bookstore_web.apps.googleusercontent.com", +"type": "string" +}, +"providerId": { +"description": "id from authentication provider. Example: provider_id: bookstore_auth", +"type": "string" +} +}, +"type": "object" +}, +"Authentication": { +"description": "`Authentication` defines the authentication configuration for API methods provided by an API service. Example: name: calendar.googleapis.com authentication: providers: - id: google_calendar_auth jwks_uri: https://www.googleapis.com/oauth2/v1/certs issuer: https://securetoken.google.com rules: - selector: \"*\" requirements: provider_id: google_calendar_auth - selector: google.calendar.Delegate oauth: canonical_scopes: https://www.googleapis.com/auth/calendar.read", +"id": "Authentication", +"properties": { +"providers": { +"description": "Defines a set of authentication providers that a service supports.", +"items": { +"$ref": "AuthProvider" +}, +"type": "array" +}, +"rules": { +"description": "A list of authentication rules that apply to individual API methods. **NOTE:** All service configuration rules follow \"last one wins\" order.", +"items": { +"$ref": "AuthenticationRule" +}, +"type": "array" +} +}, +"type": "object" +}, +"AuthenticationRule": { +"description": "Authentication rules for the service. By default, if a method has any authentication requirements, every request must include a valid credential matching one of the requirements. It's an error to include more than one kind of credential in a single request. If a method doesn't have any auth requirements, request credentials will be ignored.", +"id": "AuthenticationRule", +"properties": { +"allowWithoutCredential": { +"description": "If true, the service accepts API keys without any other credential. This flag only applies to HTTP and gRPC requests.", +"type": "boolean" +}, +"oauth": { +"$ref": "OAuthRequirements", +"description": "The requirements for OAuth credentials." +}, +"requirements": { +"description": "Requirements for additional authentication providers.", +"items": { +"$ref": "AuthRequirement" +}, +"type": "array" +}, +"selector": { +"description": "Selects the methods to which this rule applies. Refer to selector for syntax details.", +"type": "string" +} +}, +"type": "object" +}, +"Backend": { +"description": "`Backend` defines the backend configuration for a service.", +"id": "Backend", +"properties": { +"rules": { +"description": "A list of API backend rules that apply to individual API methods. **NOTE:** All service configuration rules follow \"last one wins\" order.", +"items": { +"$ref": "BackendRule" +}, +"type": "array" +} +}, +"type": "object" +}, +"BackendRule": { +"description": "A backend rule provides configuration for an individual API element.", +"id": "BackendRule", +"properties": { +"address": { +"description": "The address of the API backend. The scheme is used to determine the backend protocol and security. The following schemes are accepted: SCHEME PROTOCOL SECURITY http:// HTTP None https:// HTTP TLS grpc:// gRPC None grpcs:// gRPC TLS It is recommended to explicitly include a scheme. Leaving out the scheme may cause constrasting behaviors across platforms. If the port is unspecified, the default is: - 80 for schemes without TLS - 443 for schemes with TLS For HTTP backends, use protocol to specify the protocol version.", +"type": "string" +}, +"deadline": { +"description": "The number of seconds to wait for a response from a request. The default varies based on the request protocol and deployment environment.", +"format": "double", +"type": "number" +}, +"disableAuth": { +"description": "When disable_auth is true, a JWT ID token won't be generated and the original \"Authorization\" HTTP header will be preserved. If the header is used to carry the original token and is expected by the backend, this field must be set to true to preserve the header.", +"type": "boolean" +}, +"jwtAudience": { +"description": "The JWT audience is used when generating a JWT ID token for the backend. This ID token will be added in the HTTP \"authorization\" header, and sent to the backend.", +"type": "string" +}, +"loadBalancingPolicy": { +"description": "The load balancing policy used for connection to the application backend. Defined as an arbitrary string to accomondate custom load balancing policies supported by the underlying channel, but suggest most users use one of the standard policies, such as the default, \"RoundRobin\".", +"type": "string" +}, +"minDeadline": { +"deprecated": true, +"description": "Deprecated, do not use.", +"format": "double", +"type": "number" +}, +"operationDeadline": { +"description": "The number of seconds to wait for the completion of a long running operation. The default is no deadline.", +"format": "double", +"type": "number" +}, +"overridesByRequestProtocol": { +"additionalProperties": { +"$ref": "BackendRule" +}, +"description": "The map between request protocol and the backend address.", +"type": "object" +}, +"pathTranslation": { +"description": "no-lint", +"enum": [ +"PATH_TRANSLATION_UNSPECIFIED", +"CONSTANT_ADDRESS", +"APPEND_PATH_TO_ADDRESS" +], +"enumDescriptions": [ +"", +"Use the backend address as-is, with no modification to the path. If the URL pattern contains variables, the variable names and values will be appended to the query string. If a query string parameter and a URL pattern variable have the same name, this may result in duplicate keys in the query string. # Examples Given the following operation config: Method path: /api/company/{cid}/user/{uid} Backend address: https://example.cloudfunctions.net/getUser Requests to the following request paths will call the backend at the translated path: Request path: /api/company/widgetworks/user/johndoe Translated: https://example.cloudfunctions.net/getUser?cid=widgetworks&uid=johndoe Request path: /api/company/widgetworks/user/johndoe?timezone=EST Translated: https://example.cloudfunctions.net/getUser?timezone=EST&cid=widgetworks&uid=johndoe", +"The request path will be appended to the backend address. # Examples Given the following operation config: Method path: /api/company/{cid}/user/{uid} Backend address: https://example.appspot.com Requests to the following request paths will call the backend at the translated path: Request path: /api/company/widgetworks/user/johndoe Translated: https://example.appspot.com/api/company/widgetworks/user/johndoe Request path: /api/company/widgetworks/user/johndoe?timezone=EST Translated: https://example.appspot.com/api/company/widgetworks/user/johndoe?timezone=EST" +], +"type": "string" +}, +"protocol": { +"description": "The protocol used for sending a request to the backend. The supported values are \"http/1.1\" and \"h2\". The default value is inferred from the scheme in the address field: SCHEME PROTOCOL http:// http/1.1 https:// http/1.1 grpc:// h2 grpcs:// h2 For secure HTTP backends (https://) that support HTTP/2, set this field to \"h2\" for improved performance. Configuring this field to non-default values is only supported for secure HTTP backends. This field will be ignored for all other backends. See https://www.iana.org/assignments/tls-extensiontype-values/tls-extensiontype-values.xhtml#alpn-protocol-ids for more details on the supported values.", +"type": "string" +}, +"selector": { +"description": "Selects the methods to which this rule applies. Refer to selector for syntax details.", +"type": "string" +} +}, +"type": "object" +}, +"BatchingConfigProto": { +"description": "`BatchingConfigProto` defines the batching configuration for an API method.", +"id": "BatchingConfigProto", +"properties": { +"batchDescriptor": { +"$ref": "BatchingDescriptorProto", +"description": "The request and response fields used in batching." +}, +"thresholds": { +"$ref": "BatchingSettingsProto", +"description": "The thresholds which trigger a batched request to be sent." +} +}, +"type": "object" +}, +"BatchingDescriptorProto": { +"description": "`BatchingDescriptorProto` specifies the fields of the request message to be used for batching, and, optionally, the fields of the response message to be used for demultiplexing.", +"id": "BatchingDescriptorProto", +"properties": { +"batchedField": { +"description": "The repeated field in the request message to be aggregated by batching.", +"type": "string" +}, +"discriminatorFields": { +"description": "A list of the fields in the request message. Two requests will be batched together only if the values of every field specified in `request_discriminator_fields` is equal between the two requests.", +"items": { +"type": "string" +}, +"type": "array" +}, +"subresponseField": { +"description": "Optional. When present, indicates the field in the response message to be used to demultiplex the response into multiple response messages, in correspondence with the multiple request messages originally batched together.", +"type": "string" +} +}, +"type": "object" +}, +"BatchingSettingsProto": { +"description": "`BatchingSettingsProto` specifies a set of batching thresholds, each of which acts as a trigger to send a batch of messages as a request. At least one threshold must be positive nonzero.", +"id": "BatchingSettingsProto", +"properties": { +"delayThreshold": { +"description": "The duration after which a batch should be sent, starting from the addition of the first message to that batch.", +"format": "google-duration", +"type": "string" +}, +"elementCountLimit": { +"description": "The maximum number of elements collected in a batch that could be accepted by server.", +"format": "int32", +"type": "integer" +}, +"elementCountThreshold": { +"description": "The number of elements of a field collected into a batch which, if exceeded, causes the batch to be sent.", +"format": "int32", +"type": "integer" +}, +"flowControlByteLimit": { +"description": "The maximum size of data allowed by flow control.", +"format": "int32", +"type": "integer" +}, +"flowControlElementLimit": { +"description": "The maximum number of elements allowed by flow control.", +"format": "int32", +"type": "integer" +}, +"flowControlLimitExceededBehavior": { +"description": "The behavior to take when the flow control limit is exceeded.", +"enum": [ +"UNSET_BEHAVIOR", +"THROW_EXCEPTION", +"BLOCK", +"IGNORE" +], +"enumDescriptions": [ +"Default behavior, system-defined.", +"Stop operation, raise error.", +"Pause operation until limit clears.", +"Continue operation, disregard limit." +], +"type": "string" +}, +"requestByteLimit": { +"description": "The maximum size of the request that could be accepted by server.", +"format": "int32", +"type": "integer" +}, +"requestByteThreshold": { +"description": "The aggregated size of the batched field which, if exceeded, causes the batch to be sent. This size is computed by aggregating the sizes of the request field to be batched, not of the entire request message.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"Billing": { +"description": "Billing related configuration of the service. The following example shows how to configure monitored resources and metrics for billing, `consumer_destinations` is the only supported destination and the monitored resources need at least one label key `cloud.googleapis.com/location` to indicate the location of the billing usage, using different monitored resources between monitoring and billing is recommended so they can be evolved independently: monitored_resources: - type: library.googleapis.com/billing_branch labels: - key: cloud.googleapis.com/location description: | Predefined label to support billing location restriction. - key: city description: | Custom label to define the city where the library branch is located in. - key: name description: Custom label to define the name of the library branch. metrics: - name: library.googleapis.com/book/borrowed_count metric_kind: DELTA value_type: INT64 unit: \"1\" billing: consumer_destinations: - monitored_resource: library.googleapis.com/billing_branch metrics: - library.googleapis.com/book/borrowed_count", +"id": "Billing", +"properties": { +"consumerDestinations": { +"description": "Billing configurations for sending metrics to the consumer project. There can be multiple consumer destinations per service, each one must have a different monitored resource type. A metric can be used in at most one consumer destination.", +"items": { +"$ref": "BillingDestination" +}, +"type": "array" +} +}, +"type": "object" +}, +"BillingDestination": { +"description": "Configuration of a specific billing destination (Currently only support bill against consumer project).", +"id": "BillingDestination", +"properties": { +"metrics": { +"description": "Names of the metrics to report to this billing destination. Each name must be defined in Service.metrics section.", +"items": { +"type": "string" +}, +"type": "array" +}, +"monitoredResource": { +"description": "The monitored resource type. The type must be defined in Service.monitored_resources section.", +"type": "string" +} +}, +"type": "object" +}, +"ClientLibrarySettings": { +"description": "Details about how and where to publish client libraries.", +"id": "ClientLibrarySettings", +"properties": { +"cppSettings": { +"$ref": "CppSettings", +"description": "Settings for C++ client libraries." +}, +"dotnetSettings": { +"$ref": "DotnetSettings", +"description": "Settings for .NET client libraries." +}, +"goSettings": { +"$ref": "GoSettings", +"description": "Settings for Go client libraries." +}, +"javaSettings": { +"$ref": "JavaSettings", +"description": "Settings for legacy Java features, supported in the Service YAML." +}, +"launchStage": { +"description": "Launch stage of this version of the API.", +"enum": [ +"LAUNCH_STAGE_UNSPECIFIED", +"UNIMPLEMENTED", +"PRELAUNCH", +"EARLY_ACCESS", +"ALPHA", +"BETA", +"GA", +"DEPRECATED" +], +"enumDescriptions": [ +"Do not use this default value.", +"The feature is not yet implemented. Users can not use it.", +"Prelaunch features are hidden from users and are only visible internally.", +"Early Access features are limited to a closed group of testers. To use these features, you must sign up in advance and sign a Trusted Tester agreement (which includes confidentiality provisions). These features may be unstable, changed in backward-incompatible ways, and are not guaranteed to be released.", +"Alpha is a limited availability test for releases before they are cleared for widespread use. By Alpha, all significant design issues are resolved and we are in the process of verifying functionality. Alpha customers need to apply for access, agree to applicable terms, and have their projects allowlisted. Alpha releases don't have to be feature complete, no SLAs are provided, and there are no technical support obligations, but they will be far enough along that customers can actually use them in test environments or for limited-use tests -- just like they would in normal production cases.", +"Beta is the point at which we are ready to open a release for any customer to use. There are no SLA or technical support obligations in a Beta release. Products will be complete from a feature perspective, but may have some open outstanding issues. Beta releases are suitable for limited production use cases.", +"GA features are open to all developers and are considered stable and fully qualified for production use.", +"Deprecated features are scheduled to be shut down and removed. For more information, see the \"Deprecation Policy\" section of our [Terms of Service](https://cloud.google.com/terms/) and the [Google Cloud Platform Subject to the Deprecation Policy](https://cloud.google.com/terms/deprecation) documentation." +], +"type": "string" +}, +"nodeSettings": { +"$ref": "NodeSettings", +"description": "Settings for Node client libraries." +}, +"phpSettings": { +"$ref": "PhpSettings", +"description": "Settings for PHP client libraries." +}, +"pythonSettings": { +"$ref": "PythonSettings", +"description": "Settings for Python client libraries." +}, +"restNumericEnums": { +"description": "When using transport=rest, the client request will encode enums as numbers rather than strings.", +"type": "boolean" +}, +"rubySettings": { +"$ref": "RubySettings", +"description": "Settings for Ruby client libraries." +}, +"version": { +"description": "Version of the API to apply these settings to. This is the full protobuf package for the API, ending in the version element. Examples: \"google.cloud.speech.v1\" and \"google.spanner.admin.database.v1\".", +"type": "string" +} +}, +"type": "object" +}, +"CommonLanguageSettings": { +"description": "Required information for every language.", +"id": "CommonLanguageSettings", +"properties": { +"destinations": { +"description": "The destination where API teams want this client library to be published.", +"items": { +"enum": [ +"CLIENT_LIBRARY_DESTINATION_UNSPECIFIED", +"GITHUB", +"PACKAGE_MANAGER" +], +"enumDescriptions": [ +"Client libraries will neither be generated nor published to package managers.", +"Generate the client library in a repo under github.com/googleapis, but don't publish it to package managers.", +"Publish the library to package managers like nuget.org and npmjs.com." +], +"type": "string" +}, +"type": "array" +}, +"referenceDocsUri": { +"deprecated": true, +"description": "Link to automatically generated reference documentation. Example: https://cloud.google.com/nodejs/docs/reference/asset/latest", +"type": "string" +}, +"selectiveGapicGeneration": { +"$ref": "SelectiveGapicGeneration", +"description": "Configuration for which RPCs should be generated in the GAPIC client." +} +}, +"type": "object" +}, +"Context": { +"description": "`Context` defines which contexts an API requests. Example: context: rules: - selector: \"*\" requested: - google.rpc.context.ProjectContext - google.rpc.context.OriginContext The above specifies that all methods in the API request `google.rpc.context.ProjectContext` and `google.rpc.context.OriginContext`. Available context types are defined in package `google.rpc.context`. This also provides mechanism to allowlist any protobuf message extension that can be sent in grpc metadata using \u201cx-goog-ext--bin\u201d and \u201cx-goog-ext--jspb\u201d format. For example, list any service specific protobuf types that can appear in grpc metadata as follows in your yaml file: Example: context: rules: - selector: \"google.example.library.v1.LibraryService.CreateBook\" allowed_request_extensions: - google.foo.v1.NewExtension allowed_response_extensions: - google.foo.v1.NewExtension You can also specify extension ID instead of fully qualified extension name here.", +"id": "Context", +"properties": { +"rules": { +"description": "A list of RPC context rules that apply to individual API methods. **NOTE:** All service configuration rules follow \"last one wins\" order.", +"items": { +"$ref": "ContextRule" +}, +"type": "array" +} +}, +"type": "object" +}, +"ContextRule": { +"description": "A context rule provides information about the context for an individual API element.", +"id": "ContextRule", +"properties": { +"allowedRequestExtensions": { +"description": "A list of full type names or extension IDs of extensions allowed in grpc side channel from client to backend.", +"items": { +"type": "string" +}, +"type": "array" +}, +"allowedResponseExtensions": { +"description": "A list of full type names or extension IDs of extensions allowed in grpc side channel from backend to client.", +"items": { +"type": "string" +}, +"type": "array" +}, +"provided": { +"description": "A list of full type names of provided contexts. It is used to support propagating HTTP headers and ETags from the response extension.", +"items": { +"type": "string" +}, +"type": "array" +}, +"requested": { +"description": "A list of full type names of requested contexts, only the requested context will be made available to the backend.", +"items": { +"type": "string" +}, +"type": "array" +}, +"selector": { +"description": "Selects the methods to which this rule applies. Refer to selector for syntax details.", +"type": "string" +} +}, +"type": "object" +}, +"Control": { +"description": "Selects and configures the service controller used by the service. Example: control: environment: servicecontrol.googleapis.com", +"id": "Control", +"properties": { +"environment": { +"description": "The service controller environment to use. If empty, no control plane features (like quota and billing) will be enabled. The recommended value for most services is servicecontrol.googleapis.com.", +"type": "string" +}, +"methodPolicies": { +"description": "Defines policies applying to the API methods of the service.", +"items": { +"$ref": "MethodPolicy" +}, +"type": "array" +} +}, +"type": "object" +}, +"CppSettings": { +"description": "Settings for C++ client libraries.", +"id": "CppSettings", +"properties": { +"common": { +"$ref": "CommonLanguageSettings", +"description": "Some settings." +} +}, +"type": "object" +}, +"CustomError": { +"description": "Customize service error responses. For example, list any service specific protobuf types that can appear in error detail lists of error responses. Example: custom_error: types: - google.foo.v1.CustomError - google.foo.v1.AnotherError", +"id": "CustomError", +"properties": { +"rules": { +"description": "The list of custom error rules that apply to individual API messages. **NOTE:** All service configuration rules follow \"last one wins\" order.", +"items": { +"$ref": "CustomErrorRule" +}, +"type": "array" +}, +"types": { +"description": "The list of custom error detail types, e.g. 'google.foo.v1.CustomError'.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"CustomErrorRule": { +"description": "A custom error rule.", +"id": "CustomErrorRule", +"properties": { +"isErrorType": { +"description": "Mark this message as possible payload in error response. Otherwise, objects of this type will be filtered when they appear in error payload.", +"type": "boolean" +}, +"selector": { +"description": "Selects messages to which this rule applies. Refer to selector for syntax details.", +"type": "string" +} +}, +"type": "object" +}, +"CustomHttpPattern": { +"description": "A custom pattern is used for defining custom HTTP verb.", +"id": "CustomHttpPattern", +"properties": { +"kind": { +"description": "The name of this custom HTTP verb.", +"type": "string" +}, +"path": { +"description": "The path matched by this custom verb.", +"type": "string" +} +}, +"type": "object" +}, +"Documentation": { +"description": "`Documentation` provides the information for describing a service. Example: documentation: summary: > The Google Calendar API gives access to most calendar features. pages: - name: Overview content: (== include google/foo/overview.md ==) - name: Tutorial content: (== include google/foo/tutorial.md ==) subpages: - name: Java content: (== include google/foo/tutorial_java.md ==) rules: - selector: google.calendar.Calendar.Get description: > ... - selector: google.calendar.Calendar.Put description: > ... Documentation is provided in markdown syntax. In addition to standard markdown features, definition lists, tables and fenced code blocks are supported. Section headers can be provided and are interpreted relative to the section nesting of the context where a documentation fragment is embedded. Documentation from the IDL is merged with documentation defined via the config at normalization time, where documentation provided by config rules overrides IDL provided. A number of constructs specific to the API platform are supported in documentation text. In order to reference a proto element, the following notation can be used: [fully.qualified.proto.name][] To override the display text used for the link, this can be used: [display text][fully.qualified.proto.name] Text can be excluded from doc using the following notation: (-- internal comment --) A few directives are available in documentation. Note that directives must appear on a single line to be properly identified. The `include` directive includes a markdown file from an external source: (== include path/to/file ==) The `resource_for` directive marks a message to be the resource of a collection in REST view. If it is not specified, tools attempt to infer the resource from the operations in a collection: (== resource_for v1.shelves.books ==) The directive `suppress_warning` does not directly affect documentation and is documented together with service config validation.", +"id": "Documentation", +"properties": { +"additionalIamInfo": { +"description": "Optional information about the IAM configuration. This is typically used to link to documentation about a product's IAM roles and permissions.", +"type": "string" +}, +"documentationRootUrl": { +"description": "The URL to the root of documentation.", +"type": "string" +}, +"overview": { +"description": "Declares a single overview page. For example: documentation: summary: ... overview: (== include overview.md ==) This is a shortcut for the following declaration (using pages style): documentation: summary: ... pages: - name: Overview content: (== include overview.md ==) Note: you cannot specify both `overview` field and `pages` field.", +"type": "string" +}, +"pages": { +"description": "The top level pages for the documentation set.", +"items": { +"$ref": "Page" +}, +"type": "array" +}, +"rules": { +"description": "A list of documentation rules that apply to individual API elements. **NOTE:** All service configuration rules follow \"last one wins\" order.", +"items": { +"$ref": "DocumentationRule" +}, +"type": "array" +}, +"sectionOverrides": { +"description": "Specifies section and content to override the boilerplate content. Currently overrides following sections: 1. rest.service.client_libraries", +"items": { +"$ref": "Page" +}, +"type": "array" +}, +"serviceRootUrl": { +"description": "Specifies the service root url if the default one (the service name from the yaml file) is not suitable. This can be seen in any fully specified service urls as well as sections that show a base that other urls are relative to.", +"type": "string" +}, +"summary": { +"description": "A short description of what the service does. The summary must be plain text. It becomes the overview of the service displayed in Google Cloud Console. NOTE: This field is equivalent to the standard field `description`.", +"type": "string" +} +}, +"type": "object" +}, +"DocumentationRule": { +"description": "A documentation rule provides information about individual API elements.", +"id": "DocumentationRule", +"properties": { +"deprecationDescription": { +"description": "Deprecation description of the selected element(s). It can be provided if an element is marked as `deprecated`.", +"type": "string" +}, +"description": { +"description": "Description of the selected proto element (e.g. a message, a method, a 'service' definition, or a field). Defaults to leading & trailing comments taken from the proto source definition of the proto element.", +"type": "string" +}, +"disableReplacementWords": { +"description": "String of comma or space separated case-sensitive words for which method/field name replacement will be disabled.", +"type": "string" +}, +"selector": { +"description": "The selector is a comma-separated list of patterns for any element such as a method, a field, an enum value. Each pattern is a qualified name of the element which may end in \"*\", indicating a wildcard. Wildcards are only allowed at the end and for a whole component of the qualified name, i.e. \"foo.*\" is ok, but not \"foo.b*\" or \"foo.*.bar\". A wildcard will match one or more components. To specify a default for all applicable elements, the whole pattern \"*\" is used.", +"type": "string" +} +}, +"type": "object" +}, +"DotnetSettings": { +"description": "Settings for Dotnet client libraries.", +"id": "DotnetSettings", +"properties": { +"common": { +"$ref": "CommonLanguageSettings", +"description": "Some settings." +}, +"forcedNamespaceAliases": { +"description": "Namespaces which must be aliased in snippets due to a known (but non-generator-predictable) naming collision", +"items": { +"type": "string" +}, +"type": "array" +}, +"handwrittenSignatures": { +"description": "Method signatures (in the form \"service.method(signature)\") which are provided separately, so shouldn't be generated. Snippets *calling* these methods are still generated, however.", +"items": { +"type": "string" +}, +"type": "array" +}, +"ignoredResources": { +"description": "List of full resource types to ignore during generation. This is typically used for API-specific Location resources, which should be handled by the generator as if they were actually the common Location resources. Example entry: \"documentai.googleapis.com/Location\"", +"items": { +"type": "string" +}, +"type": "array" +}, +"renamedResources": { +"additionalProperties": { +"type": "string" +}, +"description": "Map from full resource types to the effective short name for the resource. This is used when otherwise resource named from different services would cause naming collisions. Example entry: \"datalabeling.googleapis.com/Dataset\": \"DataLabelingDataset\"", +"type": "object" +}, +"renamedServices": { +"additionalProperties": { +"type": "string" +}, +"description": "Map from original service names to renamed versions. This is used when the default generated types would cause a naming conflict. (Neither name is fully-qualified.) Example: Subscriber to SubscriberServiceApi.", +"type": "object" +} +}, +"type": "object" +}, +"Empty": { +"description": "A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }", +"id": "Empty", +"properties": {}, +"type": "object" +}, +"Endpoint": { +"description": "`Endpoint` describes a network address of a service that serves a set of APIs. It is commonly known as a service endpoint. A service may expose any number of service endpoints, and all service endpoints share the same service definition, such as quota limits and monitoring metrics. Example: type: google.api.Service name: library-example.googleapis.com endpoints: # Declares network address `https://library-example.googleapis.com` # for service `library-example.googleapis.com`. The `https` scheme # is implicit for all service endpoints. Other schemes may be # supported in the future. - name: library-example.googleapis.com allow_cors: false - name: content-staging-library-example.googleapis.com # Allows HTTP OPTIONS calls to be passed to the API frontend, for it # to decide whether the subsequent cross-origin request is allowed # to proceed. allow_cors: true", +"id": "Endpoint", +"properties": { +"aliases": { +"description": "Aliases for this endpoint, these will be served by the same UrlMap as the parent endpoint, and will be provisioned in the GCP stack for the Regional Endpoints.", +"items": { +"type": "string" +}, +"type": "array" +}, +"allowCors": { +"description": "Allowing [CORS](https://en.wikipedia.org/wiki/Cross-origin_resource_sharing), aka cross-domain traffic, would allow the backends served from this endpoint to receive and respond to HTTP OPTIONS requests. The response will be used by the browser to determine whether the subsequent cross-origin request is allowed to proceed.", +"type": "boolean" +}, +"name": { +"description": "The canonical name of this endpoint.", +"type": "string" +}, +"target": { +"description": "The specification of an Internet routable address of API frontend that will handle requests to this [API Endpoint](https://cloud.google.com/apis/design/glossary). It should be either a valid IPv4 address or a fully-qualified domain name. For example, \"8.8.8.8\" or \"myservice.appspot.com\".", +"type": "string" +} +}, +"type": "object" +}, +"Enum": { +"description": "Enum type definition. New usages of this message as an alternative to EnumDescriptorProto are strongly discouraged. This message does not reliability preserve all information necessary to model the schema and preserve semantics. Instead make use of FileDescriptorSet which preserves the necessary information.", +"id": "Enum", +"properties": { +"edition": { +"description": "The source edition string, only valid when syntax is SYNTAX_EDITIONS.", +"type": "string" +}, +"enumvalue": { +"description": "Enum value definitions.", +"items": { +"$ref": "EnumValue" +}, +"type": "array" +}, +"name": { +"description": "Enum type name.", +"type": "string" +}, +"options": { +"description": "Protocol buffer options.", +"items": { +"$ref": "Option" +}, +"type": "array" +}, +"sourceContext": { +"$ref": "SourceContext", +"description": "The source context." +}, +"syntax": { +"description": "The source syntax.", +"enum": [ +"SYNTAX_PROTO2", +"SYNTAX_PROTO3", +"SYNTAX_EDITIONS" +], +"enumDescriptions": [ +"Syntax `proto2`.", +"Syntax `proto3`.", +"Syntax `editions`." +], +"type": "string" +} +}, +"type": "object" +}, +"EnumValue": { +"description": "Enum value definition. New usages of this message as an alternative to EnumValueDescriptorProto are strongly discouraged. This message does not reliability preserve all information necessary to model the schema and preserve semantics. Instead make use of FileDescriptorSet which preserves the necessary information.", +"id": "EnumValue", +"properties": { +"name": { +"description": "Enum value name.", +"type": "string" +}, +"number": { +"description": "Enum value number.", +"format": "int32", +"type": "integer" +}, +"options": { +"description": "Protocol buffer options.", +"items": { +"$ref": "Option" +}, +"type": "array" +} +}, +"type": "object" +}, +"ExperimentalFeatures": { +"description": "Experimental features to be included during client library generation. These fields will be deprecated once the feature graduates and is enabled by default.", +"id": "ExperimentalFeatures", +"properties": { +"protobufPythonicTypesEnabled": { +"description": "Enables generation of protobuf code using new types that are more Pythonic which are included in `protobuf>=5.29.x`. This feature will be enabled by default 1 month after launching the feature in preview packages.", +"type": "boolean" +}, +"restAsyncIoEnabled": { +"description": "Enables generation of asynchronous REST clients if `rest` transport is enabled. By default, asynchronous REST clients will not be generated. This feature will be enabled by default 1 month after launching the feature in preview packages.", +"type": "boolean" +}, +"unversionedPackageDisabled": { +"description": "Disables generation of an unversioned Python package for this client library. This means that the module names will need to be versioned in import statements. For example `import google.cloud.library_v2` instead of `import google.cloud.library`.", +"type": "boolean" +} +}, +"type": "object" +}, +"Field": { +"description": "A single field of a message type. New usages of this message as an alternative to FieldDescriptorProto are strongly discouraged. This message does not reliability preserve all information necessary to model the schema and preserve semantics. Instead make use of FileDescriptorSet which preserves the necessary information.", +"id": "Field", +"properties": { +"cardinality": { +"description": "The field cardinality.", +"enum": [ +"CARDINALITY_UNKNOWN", +"CARDINALITY_OPTIONAL", +"CARDINALITY_REQUIRED", +"CARDINALITY_REPEATED" +], +"enumDescriptions": [ +"For fields with unknown cardinality.", +"For optional fields.", +"For required fields. Proto2 syntax only.", +"For repeated fields." +], +"type": "string" +}, +"defaultValue": { +"description": "The string value of the default value of this field. Proto2 syntax only.", +"type": "string" +}, +"jsonName": { +"description": "The field JSON name.", +"type": "string" +}, +"kind": { +"description": "The field type.", +"enum": [ +"TYPE_UNKNOWN", +"TYPE_DOUBLE", +"TYPE_FLOAT", +"TYPE_INT64", +"TYPE_UINT64", +"TYPE_INT32", +"TYPE_FIXED64", +"TYPE_FIXED32", +"TYPE_BOOL", +"TYPE_STRING", +"TYPE_GROUP", +"TYPE_MESSAGE", +"TYPE_BYTES", +"TYPE_UINT32", +"TYPE_ENUM", +"TYPE_SFIXED32", +"TYPE_SFIXED64", +"TYPE_SINT32", +"TYPE_SINT64" +], +"enumDescriptions": [ +"Field type unknown.", +"Field type double.", +"Field type float.", +"Field type int64.", +"Field type uint64.", +"Field type int32.", +"Field type fixed64.", +"Field type fixed32.", +"Field type bool.", +"Field type string.", +"Field type group. Proto2 syntax only, and deprecated.", +"Field type message.", +"Field type bytes.", +"Field type uint32.", +"Field type enum.", +"Field type sfixed32.", +"Field type sfixed64.", +"Field type sint32.", +"Field type sint64." +], +"type": "string" +}, +"name": { +"description": "The field name.", +"type": "string" +}, +"number": { +"description": "The field number.", +"format": "int32", +"type": "integer" +}, +"oneofIndex": { +"description": "The index of the field type in `Type.oneofs`, for message or enumeration types. The first type has index 1; zero means the type is not in the list.", +"format": "int32", +"type": "integer" +}, +"options": { +"description": "The protocol buffer options.", +"items": { +"$ref": "Option" +}, +"type": "array" +}, +"packed": { +"description": "Whether to use alternative packed wire representation.", +"type": "boolean" +}, +"typeUrl": { +"description": "The field type URL, without the scheme, for message or enumeration types. Example: `\"type.googleapis.com/google.protobuf.Timestamp\"`.", +"type": "string" +} +}, +"type": "object" +}, +"FieldPolicy": { +"description": "Google API Policy Annotation This message defines a simple API policy annotation that can be used to annotate API request and response message fields with applicable policies. One field may have multiple applicable policies that must all be satisfied before a request can be processed. This policy annotation is used to generate the overall policy that will be used for automatic runtime policy enforcement and documentation generation.", +"id": "FieldPolicy", +"properties": { +"resourcePermission": { +"description": "Specifies the required permission(s) for the resource referred to by the field. It requires the field contains a valid resource reference, and the request must pass the permission checks to proceed. For example, \"resourcemanager.projects.get\".", +"type": "string" +}, +"resourceType": { +"description": "Specifies the resource type for the resource referred to by the field.", +"type": "string" +}, +"selector": { +"description": "Selects one or more request or response message fields to apply this `FieldPolicy`. When a `FieldPolicy` is used in proto annotation, the selector must be left as empty. The service config generator will automatically fill the correct value. When a `FieldPolicy` is used in service config, the selector must be a comma-separated string with valid request or response field paths, such as \"foo.bar\" or \"foo.bar,foo.baz\".", +"type": "string" +} +}, +"type": "object" +}, +"GoSettings": { +"description": "Settings for Go client libraries.", +"id": "GoSettings", +"properties": { +"common": { +"$ref": "CommonLanguageSettings", +"description": "Some settings." +}, +"renamedServices": { +"additionalProperties": { +"type": "string" +}, +"description": "Map of service names to renamed services. Keys are the package relative service names and values are the name to be used for the service client and call options. Example: publishing: go_settings: renamed_services: Publisher: TopicAdmin", +"type": "object" +} +}, +"type": "object" +}, +"Http": { +"description": "Defines the HTTP configuration for an API service. It contains a list of HttpRule, each specifying the mapping of an RPC method to one or more HTTP REST API methods.", +"id": "Http", +"properties": { +"fullyDecodeReservedExpansion": { +"description": "When set to true, URL path parameters will be fully URI-decoded except in cases of single segment matches in reserved expansion, where \"%2F\" will be left encoded. The default behavior is to not decode RFC 6570 reserved characters in multi segment matches.", +"type": "boolean" +}, +"rules": { +"description": "A list of HTTP configuration rules that apply to individual API methods. **NOTE:** All service configuration rules follow \"last one wins\" order.", +"items": { +"$ref": "HttpRule" +}, +"type": "array" +} +}, +"type": "object" +}, +"HttpRule": { +"description": "gRPC Transcoding gRPC Transcoding is a feature for mapping between a gRPC method and one or more HTTP REST endpoints. It allows developers to build a single API service that supports both gRPC APIs and REST APIs. Many systems, including [Google APIs](https://github.com/googleapis/googleapis), [Cloud Endpoints](https://cloud.google.com/endpoints), [gRPC Gateway](https://github.com/grpc-ecosystem/grpc-gateway), and [Envoy](https://github.com/envoyproxy/envoy) proxy support this feature and use it for large scale production services. `HttpRule` defines the schema of the gRPC/REST mapping. The mapping specifies how different portions of the gRPC request message are mapped to the URL path, URL query parameters, and HTTP request body. It also controls how the gRPC response message is mapped to the HTTP response body. `HttpRule` is typically specified as an `google.api.http` annotation on the gRPC method. Each mapping specifies a URL path template and an HTTP method. The path template may refer to one or more fields in the gRPC request message, as long as each field is a non-repeated field with a primitive (non-message) type. The path template controls how fields of the request message are mapped to the URL path. Example: service Messaging { rpc GetMessage(GetMessageRequest) returns (Message) { option (google.api.http) = { get: \"/v1/{name=messages/*}\" }; } } message GetMessageRequest { string name = 1; // Mapped to URL path. } message Message { string text = 1; // The resource content. } This enables an HTTP REST to gRPC mapping as below: - HTTP: `GET /v1/messages/123456` - gRPC: `GetMessage(name: \"messages/123456\")` Any fields in the request message which are not bound by the path template automatically become HTTP query parameters if there is no HTTP request body. For example: service Messaging { rpc GetMessage(GetMessageRequest) returns (Message) { option (google.api.http) = { get:\"/v1/messages/{message_id}\" }; } } message GetMessageRequest { message SubMessage { string subfield = 1; } string message_id = 1; // Mapped to URL path. int64 revision = 2; // Mapped to URL query parameter `revision`. SubMessage sub = 3; // Mapped to URL query parameter `sub.subfield`. } This enables a HTTP JSON to RPC mapping as below: - HTTP: `GET /v1/messages/123456?revision=2&sub.subfield=foo` - gRPC: `GetMessage(message_id: \"123456\" revision: 2 sub: SubMessage(subfield: \"foo\"))` Note that fields which are mapped to URL query parameters must have a primitive type or a repeated primitive type or a non-repeated message type. In the case of a repeated type, the parameter can be repeated in the URL as `...?param=A¶m=B`. In the case of a message type, each field of the message is mapped to a separate parameter, such as `...?foo.a=A&foo.b=B&foo.c=C`. For HTTP methods that allow a request body, the `body` field specifies the mapping. Consider a REST update method on the message resource collection: service Messaging { rpc UpdateMessage(UpdateMessageRequest) returns (Message) { option (google.api.http) = { patch: \"/v1/messages/{message_id}\" body: \"message\" }; } } message UpdateMessageRequest { string message_id = 1; // mapped to the URL Message message = 2; // mapped to the body } The following HTTP JSON to RPC mapping is enabled, where the representation of the JSON in the request body is determined by protos JSON encoding: - HTTP: `PATCH /v1/messages/123456 { \"text\": \"Hi!\" }` - gRPC: `UpdateMessage(message_id: \"123456\" message { text: \"Hi!\" })` The special name `*` can be used in the body mapping to define that every field not bound by the path template should be mapped to the request body. This enables the following alternative definition of the update method: service Messaging { rpc UpdateMessage(Message) returns (Message) { option (google.api.http) = { patch: \"/v1/messages/{message_id}\" body: \"*\" }; } } message Message { string message_id = 1; string text = 2; } The following HTTP JSON to RPC mapping is enabled: - HTTP: `PATCH /v1/messages/123456 { \"text\": \"Hi!\" }` - gRPC: `UpdateMessage(message_id: \"123456\" text: \"Hi!\")` Note that when using `*` in the body mapping, it is not possible to have HTTP parameters, as all fields not bound by the path end in the body. This makes this option more rarely used in practice when defining REST APIs. The common usage of `*` is in custom methods which don't use the URL at all for transferring data. It is possible to define multiple HTTP methods for one RPC by using the `additional_bindings` option. Example: service Messaging { rpc GetMessage(GetMessageRequest) returns (Message) { option (google.api.http) = { get: \"/v1/messages/{message_id}\" additional_bindings { get: \"/v1/users/{user_id}/messages/{message_id}\" } }; } } message GetMessageRequest { string message_id = 1; string user_id = 2; } This enables the following two alternative HTTP JSON to RPC mappings: - HTTP: `GET /v1/messages/123456` - gRPC: `GetMessage(message_id: \"123456\")` - HTTP: `GET /v1/users/me/messages/123456` - gRPC: `GetMessage(user_id: \"me\" message_id: \"123456\")` Rules for HTTP mapping 1. Leaf request fields (recursive expansion nested messages in the request message) are classified into three categories: - Fields referred by the path template. They are passed via the URL path. - Fields referred by the HttpRule.body. They are passed via the HTTP request body. - All other fields are passed via the URL query parameters, and the parameter name is the field path in the request message. A repeated field can be represented as multiple query parameters under the same name. 2. If HttpRule.body is \"*\", there is no URL query parameter, all fields are passed via URL path and HTTP request body. 3. If HttpRule.body is omitted, there is no HTTP request body, all fields are passed via URL path and URL query parameters. Path template syntax Template = \"/\" Segments [ Verb ] ; Segments = Segment { \"/\" Segment } ; Segment = \"*\" | \"**\" | LITERAL | Variable ; Variable = \"{\" FieldPath [ \"=\" Segments ] \"}\" ; FieldPath = IDENT { \".\" IDENT } ; Verb = \":\" LITERAL ; The syntax `*` matches a single URL path segment. The syntax `**` matches zero or more URL path segments, which must be the last part of the URL path except the `Verb`. The syntax `Variable` matches part of the URL path as specified by its template. A variable template must not contain other variables. If a variable matches a single path segment, its template may be omitted, e.g. `{var}` is equivalent to `{var=*}`. The syntax `LITERAL` matches literal text in the URL path. If the `LITERAL` contains any reserved character, such characters should be percent-encoded before the matching. If a variable contains exactly one path segment, such as `\"{var}\"` or `\"{var=*}\"`, when such a variable is expanded into a URL path on the client side, all characters except `[-_.~0-9a-zA-Z]` are percent-encoded. The server side does the reverse decoding. Such variables show up in the [Discovery Document](https://developers.google.com/discovery/v1/reference/apis) as `{var}`. If a variable contains multiple path segments, such as `\"{var=foo/*}\"` or `\"{var=**}\"`, when such a variable is expanded into a URL path on the client side, all characters except `[-_.~/0-9a-zA-Z]` are percent-encoded. The server side does the reverse decoding, except \"%2F\" and \"%2f\" are left unchanged. Such variables show up in the [Discovery Document](https://developers.google.com/discovery/v1/reference/apis) as `{+var}`. Using gRPC API Service Configuration gRPC API Service Configuration (service config) is a configuration language for configuring a gRPC service to become a user-facing product. The service config is simply the YAML representation of the `google.api.Service` proto message. As an alternative to annotating your proto file, you can configure gRPC transcoding in your service config YAML files. You do this by specifying a `HttpRule` that maps the gRPC method to a REST endpoint, achieving the same effect as the proto annotation. This can be particularly useful if you have a proto that is reused in multiple services. Note that any transcoding specified in the service config will override any matching transcoding configuration in the proto. The following example selects a gRPC method and applies an `HttpRule` to it: http: rules: - selector: example.v1.Messaging.GetMessage get: /v1/messages/{message_id}/{sub.subfield} Special notes When gRPC Transcoding is used to map a gRPC to JSON REST endpoints, the proto to JSON conversion must follow the [proto3 specification](https://developers.google.com/protocol-buffers/docs/proto3#json). While the single segment variable follows the semantics of [RFC 6570](https://tools.ietf.org/html/rfc6570) Section 3.2.2 Simple String Expansion, the multi segment variable **does not** follow RFC 6570 Section 3.2.3 Reserved Expansion. The reason is that the Reserved Expansion does not expand special characters like `?` and `#`, which would lead to invalid URLs. As the result, gRPC Transcoding uses a custom encoding for multi segment variables. The path variables **must not** refer to any repeated or mapped field, because client libraries are not capable of handling such variable expansion. The path variables **must not** capture the leading \"/\" character. The reason is that the most common use case \"{var}\" does not capture the leading \"/\" character. For consistency, all path variables must share the same behavior. Repeated message fields must not be mapped to URL query parameters, because no client library can support such complicated mapping. If an API needs to use a JSON array for request or response body, it can map the request or response body to a repeated field. However, some gRPC Transcoding implementations may not support this feature.", +"id": "HttpRule", +"properties": { +"additionalBindings": { +"description": "Additional HTTP bindings for the selector. Nested bindings must not contain an `additional_bindings` field themselves (that is, the nesting may only be one level deep).", +"items": { +"$ref": "HttpRule" +}, +"type": "array" +}, +"body": { +"description": "The name of the request field whose value is mapped to the HTTP request body, or `*` for mapping all request fields not captured by the path pattern to the HTTP body, or omitted for not having any HTTP request body. NOTE: the referred field must be present at the top-level of the request message type.", +"type": "string" +}, +"custom": { +"$ref": "CustomHttpPattern", +"description": "The custom pattern is used for specifying an HTTP method that is not included in the `pattern` field, such as HEAD, or \"*\" to leave the HTTP method unspecified for this rule. The wild-card rule is useful for services that provide content to Web (HTML) clients." +}, +"delete": { +"description": "Maps to HTTP DELETE. Used for deleting a resource.", +"type": "string" +}, +"get": { +"description": "Maps to HTTP GET. Used for listing and getting information about resources.", +"type": "string" +}, +"patch": { +"description": "Maps to HTTP PATCH. Used for updating a resource.", +"type": "string" +}, +"post": { +"description": "Maps to HTTP POST. Used for creating a resource or performing an action.", +"type": "string" +}, +"put": { +"description": "Maps to HTTP PUT. Used for replacing a resource.", +"type": "string" +}, +"responseBody": { +"description": "Optional. The name of the response field whose value is mapped to the HTTP response body. When omitted, the entire response message will be used as the HTTP response body. NOTE: The referred field must be present at the top-level of the response message type.", +"type": "string" +}, +"selector": { +"description": "Selects a method to which this rule applies. Refer to selector for syntax details.", +"type": "string" +} +}, +"type": "object" +}, +"JavaSettings": { +"description": "Settings for Java client libraries.", +"id": "JavaSettings", +"properties": { +"common": { +"$ref": "CommonLanguageSettings", +"description": "Some settings." +}, +"libraryPackage": { +"description": "The package name to use in Java. Clobbers the java_package option set in the protobuf. This should be used **only** by APIs who have already set the language_settings.java.package_name\" field in gapic.yaml. API teams should use the protobuf java_package option where possible. Example of a YAML configuration:: publishing: library_settings: java_settings: library_package: com.google.cloud.pubsub.v1", +"type": "string" +}, +"serviceClassNames": { +"additionalProperties": { +"type": "string" +}, +"description": "Configure the Java class name to use instead of the service's for its corresponding generated GAPIC client. Keys are fully-qualified service names as they appear in the protobuf (including the full the language_settings.java.interface_names\" field in gapic.yaml. API teams should otherwise use the service name as it appears in the protobuf. Example of a YAML configuration:: publishing: java_settings: service_class_names: - google.pubsub.v1.Publisher: TopicAdmin - google.pubsub.v1.Subscriber: SubscriptionAdmin", +"type": "object" +} +}, +"type": "object" +}, +"JwtLocation": { +"description": "Specifies a location to extract JWT from an API request.", +"id": "JwtLocation", +"properties": { +"cookie": { +"description": "Specifies cookie name to extract JWT token.", +"type": "string" +}, +"header": { +"description": "Specifies HTTP header name to extract JWT token.", +"type": "string" +}, +"query": { +"description": "Specifies URL query parameter name to extract JWT token.", +"type": "string" +}, +"valuePrefix": { +"description": "The value prefix. The value format is \"value_prefix{token}\" Only applies to \"in\" header type. Must be empty for \"in\" query type. If not empty, the header value has to match (case sensitive) this prefix. If not matched, JWT will not be extracted. If matched, JWT will be extracted after the prefix is removed. For example, for \"Authorization: Bearer {JWT}\", value_prefix=\"Bearer \" with a space at the end.", +"type": "string" +} +}, +"type": "object" +}, +"LabelDescriptor": { +"description": "A description of a label.", +"id": "LabelDescriptor", +"properties": { +"description": { +"description": "A human-readable description for the label.", +"type": "string" +}, +"key": { +"description": "The label key.", +"type": "string" +}, +"valueType": { +"description": "The type of data that can be assigned to the label.", +"enum": [ +"STRING", +"BOOL", +"INT64" +], +"enumDescriptions": [ +"A variable-length string. This is the default.", +"Boolean; true or false.", +"A 64-bit signed integer." +], +"type": "string" +} +}, +"type": "object" +}, +"LogDescriptor": { +"description": "A description of a log type. Example in YAML format: - name: library.googleapis.com/activity_history description: The history of borrowing and returning library items. display_name: Activity labels: - key: /customer_id description: Identifier of a library customer", +"id": "LogDescriptor", +"properties": { +"description": { +"description": "A human-readable description of this log. This information appears in the documentation and can contain details.", +"type": "string" +}, +"displayName": { +"description": "The human-readable name for this log. This information appears on the user interface and should be concise.", +"type": "string" +}, +"labels": { +"description": "The set of labels that are available to describe a specific log entry. Runtime requests that contain labels not specified here are considered invalid.", +"items": { +"$ref": "LabelDescriptor" +}, +"type": "array" +}, +"name": { +"description": "The name of the log. It must be less than 512 characters long and can include the following characters: upper- and lower-case alphanumeric characters [A-Za-z0-9], and punctuation characters including slash, underscore, hyphen, period [/_-.].", +"type": "string" +} +}, +"type": "object" +}, +"Logging": { +"description": "Logging configuration of the service. The following example shows how to configure logs to be sent to the producer and consumer projects. In the example, the `activity_history` log is sent to both the producer and consumer projects, whereas the `purchase_history` log is only sent to the producer project. monitored_resources: - type: library.googleapis.com/branch labels: - key: /city description: The city where the library branch is located in. - key: /name description: The name of the branch. logs: - name: activity_history labels: - key: /customer_id - name: purchase_history logging: producer_destinations: - monitored_resource: library.googleapis.com/branch logs: - activity_history - purchase_history consumer_destinations: - monitored_resource: library.googleapis.com/branch logs: - activity_history", +"id": "Logging", +"properties": { +"consumerDestinations": { +"description": "Logging configurations for sending logs to the consumer project. There can be multiple consumer destinations, each one must have a different monitored resource type. A log can be used in at most one consumer destination.", +"items": { +"$ref": "LoggingDestination" +}, +"type": "array" +}, +"producerDestinations": { +"description": "Logging configurations for sending logs to the producer project. There can be multiple producer destinations, each one must have a different monitored resource type. A log can be used in at most one producer destination.", +"items": { +"$ref": "LoggingDestination" +}, +"type": "array" +} +}, +"type": "object" +}, +"LoggingDestination": { +"description": "Configuration of a specific logging destination (the producer project or the consumer project).", +"id": "LoggingDestination", +"properties": { +"logs": { +"description": "Names of the logs to be sent to this destination. Each name must be defined in the Service.logs section. If the log name is not a domain scoped name, it will be automatically prefixed with the service name followed by \"/\".", +"items": { +"type": "string" +}, +"type": "array" +}, +"monitoredResource": { +"description": "The monitored resource type. The type must be defined in the Service.monitored_resources section.", +"type": "string" +} +}, +"type": "object" +}, +"LongRunning": { +"description": "Describes settings to use when generating API methods that use the long-running operation pattern. All default values below are from those used in the client library generators (e.g. [Java](https://github.com/googleapis/gapic-generator-java/blob/04c2faa191a9b5a10b92392fe8482279c4404803/src/main/java/com/google/api/generator/gapic/composer/common/RetrySettingsComposer.java)).", +"id": "LongRunning", +"properties": { +"initialPollDelay": { +"description": "Initial delay after which the first poll request will be made. Default value: 5 seconds.", +"format": "google-duration", +"type": "string" +}, +"maxPollDelay": { +"description": "Maximum time between two subsequent poll requests. Default value: 45 seconds.", +"format": "google-duration", +"type": "string" +}, +"pollDelayMultiplier": { +"description": "Multiplier to gradually increase delay between subsequent polls until it reaches max_poll_delay. Default value: 1.5.", +"format": "float", +"type": "number" +}, +"totalPollTimeout": { +"description": "Total polling timeout. Default value: 5 minutes.", +"format": "google-duration", +"type": "string" +} +}, +"type": "object" +}, +"Method": { +"description": "Method represents a method of an API interface. New usages of this message as an alternative to MethodDescriptorProto are strongly discouraged. This message does not reliability preserve all information necessary to model the schema and preserve semantics. Instead make use of FileDescriptorSet which preserves the necessary information.", +"id": "Method", +"properties": { +"edition": { +"deprecated": true, +"description": "The source edition string, only valid when syntax is SYNTAX_EDITIONS. This field should be ignored, instead the edition should be inherited from Api. This is similar to Field and EnumValue.", +"type": "string" +}, +"name": { +"description": "The simple name of this method.", +"type": "string" +}, +"options": { +"description": "Any metadata attached to the method.", +"items": { +"$ref": "Option" +}, +"type": "array" +}, +"requestStreaming": { +"description": "If true, the request is streamed.", +"type": "boolean" +}, +"requestTypeUrl": { +"description": "A URL of the input message type.", +"type": "string" +}, +"responseStreaming": { +"description": "If true, the response is streamed.", +"type": "boolean" +}, +"responseTypeUrl": { +"description": "The URL of the output message type.", +"type": "string" +}, +"syntax": { +"deprecated": true, +"description": "The source syntax of this method. This field should be ignored, instead the syntax should be inherited from Api. This is similar to Field and EnumValue.", +"enum": [ +"SYNTAX_PROTO2", +"SYNTAX_PROTO3", +"SYNTAX_EDITIONS" +], +"enumDescriptions": [ +"Syntax `proto2`.", +"Syntax `proto3`.", +"Syntax `editions`." +], +"type": "string" +} +}, +"type": "object" +}, +"MethodPolicy": { +"description": "Defines policies applying to an RPC method.", +"id": "MethodPolicy", +"properties": { +"requestPolicies": { +"description": "Policies that are applicable to the request message.", +"items": { +"$ref": "FieldPolicy" +}, +"type": "array" +}, +"selector": { +"description": "Selects a method to which these policies should be enforced, for example, \"google.pubsub.v1.Subscriber.CreateSubscription\". Refer to selector for syntax details. NOTE: This field must not be set in the proto annotation. It will be automatically filled by the service config compiler .", +"type": "string" +} +}, +"type": "object" +}, +"MethodSettings": { +"description": "Describes the generator configuration for a method.", +"id": "MethodSettings", +"properties": { +"autoPopulatedFields": { +"description": "List of top-level fields of the request message, that should be automatically populated by the client libraries based on their (google.api.field_info).format. Currently supported format: UUID4. Example of a YAML configuration: publishing: method_settings: - selector: google.example.v1.ExampleService.CreateExample auto_populated_fields: - request_id", +"items": { +"type": "string" +}, +"type": "array" +}, +"batching": { +"$ref": "BatchingConfigProto", +"description": "Batching configuration for an API method in client libraries. Example of a YAML configuration: publishing: method_settings: - selector: google.example.v1.ExampleService.BatchCreateExample batching: element_count_threshold: 1000 request_byte_threshold: 100000000 delay_threshold_millis: 10" +}, +"longRunning": { +"$ref": "LongRunning", +"description": "Describes settings to use for long-running operations when generating API methods for RPCs. Complements RPCs that use the annotations in google/longrunning/operations.proto. Example of a YAML configuration:: publishing: method_settings: - selector: google.cloud.speech.v2.Speech.BatchRecognize long_running: initial_poll_delay: 60s # 1 minute poll_delay_multiplier: 1.5 max_poll_delay: 360s # 6 minutes total_poll_timeout: 54000s # 90 minutes" +}, +"selector": { +"description": "The fully qualified name of the method, for which the options below apply. This is used to find the method to apply the options. Example: publishing: method_settings: - selector: google.storage.control.v2.StorageControl.CreateFolder # method settings for CreateFolder...", +"type": "string" +} +}, +"type": "object" +}, +"MetricDescriptor": { +"description": "Defines a metric type and its schema. Once a metric descriptor is created, deleting or altering it stops data collection and makes the metric type's existing data unusable. ", +"id": "MetricDescriptor", +"properties": { +"description": { +"description": "A detailed description of the metric, which can be used in documentation.", +"type": "string" +}, +"displayName": { +"description": "A concise name for the metric, which can be displayed in user interfaces. Use sentence case without an ending period, for example \"Request count\". This field is optional but it is recommended to be set for any metrics associated with user-visible concepts, such as Quota.", +"type": "string" +}, +"labels": { +"description": "The set of labels that can be used to describe a specific instance of this metric type. For example, the `appengine.googleapis.com/http/server/response_latencies` metric type has a label for the HTTP response code, `response_code`, so you can look at latencies for successful responses or just for responses that failed.", +"items": { +"$ref": "LabelDescriptor" +}, +"type": "array" +}, +"launchStage": { +"description": "Optional. The launch stage of the metric definition.", +"enum": [ +"LAUNCH_STAGE_UNSPECIFIED", +"UNIMPLEMENTED", +"PRELAUNCH", +"EARLY_ACCESS", +"ALPHA", +"BETA", +"GA", +"DEPRECATED" +], +"enumDescriptions": [ +"Do not use this default value.", +"The feature is not yet implemented. Users can not use it.", +"Prelaunch features are hidden from users and are only visible internally.", +"Early Access features are limited to a closed group of testers. To use these features, you must sign up in advance and sign a Trusted Tester agreement (which includes confidentiality provisions). These features may be unstable, changed in backward-incompatible ways, and are not guaranteed to be released.", +"Alpha is a limited availability test for releases before they are cleared for widespread use. By Alpha, all significant design issues are resolved and we are in the process of verifying functionality. Alpha customers need to apply for access, agree to applicable terms, and have their projects allowlisted. Alpha releases don't have to be feature complete, no SLAs are provided, and there are no technical support obligations, but they will be far enough along that customers can actually use them in test environments or for limited-use tests -- just like they would in normal production cases.", +"Beta is the point at which we are ready to open a release for any customer to use. There are no SLA or technical support obligations in a Beta release. Products will be complete from a feature perspective, but may have some open outstanding issues. Beta releases are suitable for limited production use cases.", +"GA features are open to all developers and are considered stable and fully qualified for production use.", +"Deprecated features are scheduled to be shut down and removed. For more information, see the \"Deprecation Policy\" section of our [Terms of Service](https://cloud.google.com/terms/) and the [Google Cloud Platform Subject to the Deprecation Policy](https://cloud.google.com/terms/deprecation) documentation." +], +"type": "string" +}, +"metadata": { +"$ref": "MetricDescriptorMetadata", +"description": "Optional. Metadata which can be used to guide usage of the metric." +}, +"metricKind": { +"description": "Whether the metric records instantaneous values, changes to a value, etc. Some combinations of `metric_kind` and `value_type` might not be supported.", +"enum": [ +"METRIC_KIND_UNSPECIFIED", +"GAUGE", +"DELTA", +"CUMULATIVE" +], +"enumDescriptions": [ +"Do not use this default value.", +"An instantaneous measurement of a value.", +"The change in a value during a time interval.", +"A value accumulated over a time interval. Cumulative measurements in a time series should have the same start time and increasing end times, until an event resets the cumulative value to zero and sets a new start time for the following points." +], +"type": "string" +}, +"monitoredResourceTypes": { +"description": "Read-only. If present, then a time series, which is identified partially by a metric type and a MonitoredResourceDescriptor, that is associated with this metric type can only be associated with one of the monitored resource types listed here.", +"items": { +"type": "string" +}, +"type": "array" +}, +"name": { +"description": "The resource name of the metric descriptor.", +"type": "string" +}, +"type": { +"description": "The metric type, including its DNS name prefix. The type is not URL-encoded. All user-defined metric types have the DNS name `custom.googleapis.com` or `external.googleapis.com`. Metric types should use a natural hierarchical grouping. For example: \"custom.googleapis.com/invoice/paid/amount\" \"external.googleapis.com/prometheus/up\" \"appengine.googleapis.com/http/server/response_latencies\"", +"type": "string" +}, +"unit": { +"description": "The units in which the metric value is reported. It is only applicable if the `value_type` is `INT64`, `DOUBLE`, or `DISTRIBUTION`. The `unit` defines the representation of the stored metric values. Different systems might scale the values to be more easily displayed (so a value of `0.02kBy` _might_ be displayed as `20By`, and a value of `3523kBy` _might_ be displayed as `3.5MBy`). However, if the `unit` is `kBy`, then the value of the metric is always in thousands of bytes, no matter how it might be displayed. If you want a custom metric to record the exact number of CPU-seconds used by a job, you can create an `INT64 CUMULATIVE` metric whose `unit` is `s{CPU}` (or equivalently `1s{CPU}` or just `s`). If the job uses 12,005 CPU-seconds, then the value is written as `12005`. Alternatively, if you want a custom metric to record data in a more granular way, you can create a `DOUBLE CUMULATIVE` metric whose `unit` is `ks{CPU}`, and then write the value `12.005` (which is `12005/1000`), or use `Kis{CPU}` and write `11.723` (which is `12005/1024`). The supported units are a subset of [The Unified Code for Units of Measure](https://unitsofmeasure.org/ucum.html) standard: **Basic units (UNIT)** * `bit` bit * `By` byte * `s` second * `min` minute * `h` hour * `d` day * `1` dimensionless **Prefixes (PREFIX)** * `k` kilo (10^3) * `M` mega (10^6) * `G` giga (10^9) * `T` tera (10^12) * `P` peta (10^15) * `E` exa (10^18) * `Z` zetta (10^21) * `Y` yotta (10^24) * `m` milli (10^-3) * `u` micro (10^-6) * `n` nano (10^-9) * `p` pico (10^-12) * `f` femto (10^-15) * `a` atto (10^-18) * `z` zepto (10^-21) * `y` yocto (10^-24) * `Ki` kibi (2^10) * `Mi` mebi (2^20) * `Gi` gibi (2^30) * `Ti` tebi (2^40) * `Pi` pebi (2^50) **Grammar** The grammar also includes these connectors: * `/` division or ratio (as an infix operator). For examples, `kBy/{email}` or `MiBy/10ms` (although you should almost never have `/s` in a metric `unit`; rates should always be computed at query time from the underlying cumulative or delta value). * `.` multiplication or composition (as an infix operator). For examples, `GBy.d` or `k{watt}.h`. The grammar for a unit is as follows: Expression = Component { \".\" Component } { \"/\" Component } ; Component = ( [ PREFIX ] UNIT | \"%\" ) [ Annotation ] | Annotation | \"1\" ; Annotation = \"{\" NAME \"}\" ; Notes: * `Annotation` is just a comment if it follows a `UNIT`. If the annotation is used alone, then the unit is equivalent to `1`. For examples, `{request}/s == 1/s`, `By{transmitted}/s == By/s`. * `NAME` is a sequence of non-blank printable ASCII characters not containing `{` or `}`. * `1` represents a unitary [dimensionless unit](https://en.wikipedia.org/wiki/Dimensionless_quantity) of 1, such as in `1/s`. It is typically used when none of the basic units are appropriate. For example, \"new users per day\" can be represented as `1/d` or `{new-users}/d` (and a metric value `5` would mean \"5 new users). Alternatively, \"thousands of page views per day\" would be represented as `1000/d` or `k1/d` or `k{page_views}/d` (and a metric value of `5.3` would mean \"5300 page views per day\"). * `%` represents dimensionless value of 1/100, and annotates values giving a percentage (so the metric values are typically in the range of 0..100, and a metric value `3` means \"3 percent\"). * `10^2.%` indicates a metric contains a ratio, typically in the range 0..1, that will be multiplied by 100 and displayed as a percentage (so a metric value `0.03` means \"3 percent\").", +"type": "string" +}, +"valueType": { +"description": "Whether the measurement is an integer, a floating-point number, etc. Some combinations of `metric_kind` and `value_type` might not be supported.", +"enum": [ +"VALUE_TYPE_UNSPECIFIED", +"BOOL", +"INT64", +"DOUBLE", +"STRING", +"DISTRIBUTION", +"MONEY" +], +"enumDescriptions": [ +"Do not use this default value.", +"The value is a boolean. This value type can be used only if the metric kind is `GAUGE`.", +"The value is a signed 64-bit integer.", +"The value is a double precision floating point number.", +"The value is a text string. This value type can be used only if the metric kind is `GAUGE`.", +"The value is a `Distribution`.", +"The value is money." +], +"type": "string" +} +}, +"type": "object" +}, +"MetricDescriptorMetadata": { +"description": "Additional annotations that can be used to guide the usage of a metric.", +"id": "MetricDescriptorMetadata", +"properties": { +"ingestDelay": { +"description": "The delay of data points caused by ingestion. Data points older than this age are guaranteed to be ingested and available to be read, excluding data loss due to errors.", +"format": "google-duration", +"type": "string" +}, +"launchStage": { +"deprecated": true, +"description": "Deprecated. Must use the MetricDescriptor.launch_stage instead.", +"enum": [ +"LAUNCH_STAGE_UNSPECIFIED", +"UNIMPLEMENTED", +"PRELAUNCH", +"EARLY_ACCESS", +"ALPHA", +"BETA", +"GA", +"DEPRECATED" +], +"enumDescriptions": [ +"Do not use this default value.", +"The feature is not yet implemented. Users can not use it.", +"Prelaunch features are hidden from users and are only visible internally.", +"Early Access features are limited to a closed group of testers. To use these features, you must sign up in advance and sign a Trusted Tester agreement (which includes confidentiality provisions). These features may be unstable, changed in backward-incompatible ways, and are not guaranteed to be released.", +"Alpha is a limited availability test for releases before they are cleared for widespread use. By Alpha, all significant design issues are resolved and we are in the process of verifying functionality. Alpha customers need to apply for access, agree to applicable terms, and have their projects allowlisted. Alpha releases don't have to be feature complete, no SLAs are provided, and there are no technical support obligations, but they will be far enough along that customers can actually use them in test environments or for limited-use tests -- just like they would in normal production cases.", +"Beta is the point at which we are ready to open a release for any customer to use. There are no SLA or technical support obligations in a Beta release. Products will be complete from a feature perspective, but may have some open outstanding issues. Beta releases are suitable for limited production use cases.", +"GA features are open to all developers and are considered stable and fully qualified for production use.", +"Deprecated features are scheduled to be shut down and removed. For more information, see the \"Deprecation Policy\" section of our [Terms of Service](https://cloud.google.com/terms/) and the [Google Cloud Platform Subject to the Deprecation Policy](https://cloud.google.com/terms/deprecation) documentation." +], +"type": "string" +}, +"samplePeriod": { +"description": "The sampling period of metric data points. For metrics which are written periodically, consecutive data points are stored at this time interval, excluding data loss due to errors. Metrics with a higher granularity have a smaller sampling period.", +"format": "google-duration", +"type": "string" +}, +"timeSeriesResourceHierarchyLevel": { +"description": "The scope of the timeseries data of the metric.", +"items": { +"enum": [ +"TIME_SERIES_RESOURCE_HIERARCHY_LEVEL_UNSPECIFIED", +"PROJECT", +"ORGANIZATION", +"FOLDER" +], +"enumDescriptions": [ +"Do not use this default value.", +"Scopes a metric to a project.", +"Scopes a metric to an organization.", +"Scopes a metric to a folder." +], +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"MetricRule": { +"description": "Bind API methods to metrics. Binding a method to a metric causes that metric's configured quota behaviors to apply to the method call.", +"id": "MetricRule", +"properties": { +"metricCosts": { +"additionalProperties": { +"format": "int64", +"type": "string" +}, +"description": "Metrics to update when the selected methods are called, and the associated cost applied to each metric. The key of the map is the metric name, and the values are the amount increased for the metric against which the quota limits are defined. The value must not be negative.", +"type": "object" +}, +"selector": { +"description": "Selects the methods to which this rule applies. Refer to selector for syntax details.", +"type": "string" +} +}, +"type": "object" +}, +"Mixin": { +"description": "Declares an API Interface to be included in this interface. The including interface must redeclare all the methods from the included interface, but documentation and options are inherited as follows: - If after comment and whitespace stripping, the documentation string of the redeclared method is empty, it will be inherited from the original method. - Each annotation belonging to the service config (http, visibility) which is not set in the redeclared method will be inherited. - If an http annotation is inherited, the path pattern will be modified as follows. Any version prefix will be replaced by the version of the including interface plus the root path if specified. Example of a simple mixin: package google.acl.v1; service AccessControl { // Get the underlying ACL object. rpc GetAcl(GetAclRequest) returns (Acl) { option (google.api.http).get = \"/v1/{resource=**}:getAcl\"; } } package google.storage.v2; service Storage { // rpc GetAcl(GetAclRequest) returns (Acl); // Get a data record. rpc GetData(GetDataRequest) returns (Data) { option (google.api.http).get = \"/v2/{resource=**}\"; } } Example of a mixin configuration: apis: - name: google.storage.v2.Storage mixins: - name: google.acl.v1.AccessControl The mixin construct implies that all methods in `AccessControl` are also declared with same name and request/response types in `Storage`. A documentation generator or annotation processor will see the effective `Storage.GetAcl` method after inheriting documentation and annotations as follows: service Storage { // Get the underlying ACL object. rpc GetAcl(GetAclRequest) returns (Acl) { option (google.api.http).get = \"/v2/{resource=**}:getAcl\"; } ... } Note how the version in the path pattern changed from `v1` to `v2`. If the `root` field in the mixin is specified, it should be a relative path under which inherited HTTP paths are placed. Example: apis: - name: google.storage.v2.Storage mixins: - name: google.acl.v1.AccessControl root: acls This implies the following inherited HTTP annotation: service Storage { // Get the underlying ACL object. rpc GetAcl(GetAclRequest) returns (Acl) { option (google.api.http).get = \"/v2/acls/{resource=**}:getAcl\"; } ... }", +"id": "Mixin", +"properties": { +"name": { +"description": "The fully qualified name of the interface which is included.", +"type": "string" +}, +"root": { +"description": "If non-empty specifies a path under which inherited HTTP paths are rooted.", +"type": "string" +} +}, +"type": "object" +}, +"MonitoredResourceDescriptor": { +"description": "An object that describes the schema of a MonitoredResource object using a type name and a set of labels. For example, the monitored resource descriptor for Google Compute Engine VM instances has a type of `\"gce_instance\"` and specifies the use of the labels `\"instance_id\"` and `\"zone\"` to identify particular VM instances. Different APIs can support different monitored resource types. APIs generally provide a `list` method that returns the monitored resource descriptors used by the API. ", +"id": "MonitoredResourceDescriptor", +"properties": { +"description": { +"description": "Optional. A detailed description of the monitored resource type that might be used in documentation.", +"type": "string" +}, +"displayName": { +"description": "Optional. A concise name for the monitored resource type that might be displayed in user interfaces. It should be a Title Cased Noun Phrase, without any article or other determiners. For example, `\"Google Cloud SQL Database\"`.", +"type": "string" +}, +"labels": { +"description": "Required. A set of labels used to describe instances of this monitored resource type. For example, an individual Google Cloud SQL database is identified by values for the labels `\"database_id\"` and `\"zone\"`.", +"items": { +"$ref": "LabelDescriptor" +}, +"type": "array" +}, +"launchStage": { +"description": "Optional. The launch stage of the monitored resource definition.", +"enum": [ +"LAUNCH_STAGE_UNSPECIFIED", +"UNIMPLEMENTED", +"PRELAUNCH", +"EARLY_ACCESS", +"ALPHA", +"BETA", +"GA", +"DEPRECATED" +], +"enumDescriptions": [ +"Do not use this default value.", +"The feature is not yet implemented. Users can not use it.", +"Prelaunch features are hidden from users and are only visible internally.", +"Early Access features are limited to a closed group of testers. To use these features, you must sign up in advance and sign a Trusted Tester agreement (which includes confidentiality provisions). These features may be unstable, changed in backward-incompatible ways, and are not guaranteed to be released.", +"Alpha is a limited availability test for releases before they are cleared for widespread use. By Alpha, all significant design issues are resolved and we are in the process of verifying functionality. Alpha customers need to apply for access, agree to applicable terms, and have their projects allowlisted. Alpha releases don't have to be feature complete, no SLAs are provided, and there are no technical support obligations, but they will be far enough along that customers can actually use them in test environments or for limited-use tests -- just like they would in normal production cases.", +"Beta is the point at which we are ready to open a release for any customer to use. There are no SLA or technical support obligations in a Beta release. Products will be complete from a feature perspective, but may have some open outstanding issues. Beta releases are suitable for limited production use cases.", +"GA features are open to all developers and are considered stable and fully qualified for production use.", +"Deprecated features are scheduled to be shut down and removed. For more information, see the \"Deprecation Policy\" section of our [Terms of Service](https://cloud.google.com/terms/) and the [Google Cloud Platform Subject to the Deprecation Policy](https://cloud.google.com/terms/deprecation) documentation." +], +"type": "string" +}, +"name": { +"description": "Optional. The resource name of the monitored resource descriptor: `\"projects/{project_id}/monitoredResourceDescriptors/{type}\"` where {type} is the value of the `type` field in this object and {project_id} is a project ID that provides API-specific context for accessing the type. APIs that do not use project information can use the resource name format `\"monitoredResourceDescriptors/{type}\"`.", +"type": "string" +}, +"type": { +"description": "Required. The monitored resource type. For example, the type `\"cloudsql_database\"` represents databases in Google Cloud SQL. For a list of types, see [Monitored resource types](https://cloud.google.com/monitoring/api/resources) and [Logging resource types](https://cloud.google.com/logging/docs/api/v2/resource-list).", +"type": "string" +} +}, +"type": "object" +}, +"Monitoring": { +"description": "Monitoring configuration of the service. The example below shows how to configure monitored resources and metrics for monitoring. In the example, a monitored resource and two metrics are defined. The `library.googleapis.com/book/returned_count` metric is sent to both producer and consumer projects, whereas the `library.googleapis.com/book/num_overdue` metric is only sent to the consumer project. monitored_resources: - type: library.googleapis.com/Branch display_name: \"Library Branch\" description: \"A branch of a library.\" launch_stage: GA labels: - key: resource_container description: \"The Cloud container (ie. project id) for the Branch.\" - key: location description: \"The location of the library branch.\" - key: branch_id description: \"The id of the branch.\" metrics: - name: library.googleapis.com/book/returned_count display_name: \"Books Returned\" description: \"The count of books that have been returned.\" launch_stage: GA metric_kind: DELTA value_type: INT64 unit: \"1\" labels: - key: customer_id description: \"The id of the customer.\" - name: library.googleapis.com/book/num_overdue display_name: \"Books Overdue\" description: \"The current number of overdue books.\" launch_stage: GA metric_kind: GAUGE value_type: INT64 unit: \"1\" labels: - key: customer_id description: \"The id of the customer.\" monitoring: producer_destinations: - monitored_resource: library.googleapis.com/Branch metrics: - library.googleapis.com/book/returned_count consumer_destinations: - monitored_resource: library.googleapis.com/Branch metrics: - library.googleapis.com/book/returned_count - library.googleapis.com/book/num_overdue", +"id": "Monitoring", +"properties": { +"consumerDestinations": { +"description": "Monitoring configurations for sending metrics to the consumer project. There can be multiple consumer destinations. A monitored resource type may appear in multiple monitoring destinations if different aggregations are needed for different sets of metrics associated with that monitored resource type. A monitored resource and metric pair may only be used once in the Monitoring configuration.", +"items": { +"$ref": "MonitoringDestination" +}, +"type": "array" +}, +"producerDestinations": { +"description": "Monitoring configurations for sending metrics to the producer project. There can be multiple producer destinations. A monitored resource type may appear in multiple monitoring destinations if different aggregations are needed for different sets of metrics associated with that monitored resource type. A monitored resource and metric pair may only be used once in the Monitoring configuration.", +"items": { +"$ref": "MonitoringDestination" +}, +"type": "array" +} +}, +"type": "object" +}, +"MonitoringDestination": { +"description": "Configuration of a specific monitoring destination (the producer project or the consumer project).", +"id": "MonitoringDestination", +"properties": { +"metrics": { +"description": "Types of the metrics to report to this monitoring destination. Each type must be defined in Service.metrics section.", +"items": { +"type": "string" +}, +"type": "array" +}, +"monitoredResource": { +"description": "The monitored resource type. The type must be defined in Service.monitored_resources section.", +"type": "string" +} +}, +"type": "object" +}, +"NodeSettings": { +"description": "Settings for Node client libraries.", +"id": "NodeSettings", +"properties": { +"common": { +"$ref": "CommonLanguageSettings", +"description": "Some settings." +} +}, +"type": "object" +}, +"OAuthRequirements": { +"description": "OAuth scopes are a way to define data and permissions on data. For example, there are scopes defined for \"Read-only access to Google Calendar\" and \"Access to Cloud Platform\". Users can consent to a scope for an application, giving it permission to access that data on their behalf. OAuth scope specifications should be fairly coarse grained; a user will need to see and understand the text description of what your scope means. In most cases: use one or at most two OAuth scopes for an entire family of products. If your product has multiple APIs, you should probably be sharing the OAuth scope across all of those APIs. When you need finer grained OAuth consent screens: talk with your product management about how developers will use them in practice. Please note that even though each of the canonical scopes is enough for a request to be accepted and passed to the backend, a request can still fail due to the backend requiring additional scopes or permissions.", +"id": "OAuthRequirements", +"properties": { +"canonicalScopes": { +"description": "The list of publicly documented OAuth scopes that are allowed access. An OAuth token containing any of these scopes will be accepted. Example: canonical_scopes: https://www.googleapis.com/auth/calendar, https://www.googleapis.com/auth/calendar.read", +"type": "string" +} +}, +"type": "object" +}, +"Operation": { +"description": "This resource represents a long-running operation that is the result of a network API call.", +"id": "Operation", +"properties": { +"done": { +"description": "If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.", +"type": "boolean" +}, +"error": { +"$ref": "Status", +"description": "The error result of the operation in case of failure or cancellation." +}, +"metadata": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.", +"type": "object" +}, +"name": { +"description": "The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.", +"type": "string" +}, +"response": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "The normal, successful response of the operation. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.", +"type": "object" +} +}, +"type": "object" +}, +"Option": { +"description": "A protocol buffer option, which can be attached to a message, field, enumeration, etc. New usages of this message as an alternative to FileOptions, MessageOptions, FieldOptions, EnumOptions, EnumValueOptions, ServiceOptions, or MethodOptions are strongly discouraged.", +"id": "Option", +"properties": { +"name": { +"description": "The option's name. For protobuf built-in options (options defined in descriptor.proto), this is the short name. For example, `\"map_entry\"`. For custom options, it should be the fully-qualified name. For example, `\"google.api.http\"`.", +"type": "string" +}, +"value": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "The option's value packed in an Any message. If the value is a primitive, the corresponding wrapper type defined in google/protobuf/wrappers.proto should be used. If the value is an enum, it should be stored as an int32 value using the google.protobuf.Int32Value type.", +"type": "object" +} +}, +"type": "object" +}, +"Page": { +"description": "Represents a documentation page. A page can contain subpages to represent nested documentation set structure.", +"id": "Page", +"properties": { +"content": { +"description": "The Markdown content of the page. You can use ```(== include {path} ==)``` to include content from a Markdown file. The content can be used to produce the documentation page such as HTML format page.", +"type": "string" +}, +"name": { +"description": "The name of the page. It will be used as an identity of the page to generate URI of the page, text of the link to this page in navigation, etc. The full page name (start from the root page name to this page concatenated with `.`) can be used as reference to the page in your documentation. For example: pages: - name: Tutorial content: (== include tutorial.md ==) subpages: - name: Java content: (== include tutorial_java.md ==) You can reference `Java` page using Markdown reference link syntax: `Java`.", +"type": "string" +}, +"subpages": { +"description": "Subpages of this page. The order of subpages specified here will be honored in the generated docset.", +"items": { +"$ref": "Page" +}, +"type": "array" +} +}, +"type": "object" +}, +"PhpSettings": { +"description": "Settings for Php client libraries.", +"id": "PhpSettings", +"properties": { +"common": { +"$ref": "CommonLanguageSettings", +"description": "Some settings." +}, +"libraryPackage": { +"description": "The package name to use in Php. Clobbers the php_namespace option set in the protobuf. This should be used **only** by APIs who have already set the language_settings.php.package_name\" field in gapic.yaml. API teams should use the protobuf php_namespace option where possible. Example of a YAML configuration:: publishing: library_settings: php_settings: library_package: Google\\Cloud\\PubSub\\V1", +"type": "string" +} +}, +"type": "object" +}, +"Publishing": { +"description": "This message configures the settings for publishing [Google Cloud Client libraries](https://cloud.google.com/apis/docs/cloud-client-libraries) generated from the service config.", +"id": "Publishing", +"properties": { +"apiShortName": { +"description": "Used as a tracking tag when collecting data about the APIs developer relations artifacts like docs, packages delivered to package managers, etc. Example: \"speech\".", +"type": "string" +}, +"codeownerGithubTeams": { +"description": "GitHub teams to be added to CODEOWNERS in the directory in GitHub containing source code for the client libraries for this API.", +"items": { +"type": "string" +}, +"type": "array" +}, +"docTagPrefix": { +"description": "A prefix used in sample code when demarking regions to be included in documentation.", +"type": "string" +}, +"documentationUri": { +"description": "Link to product home page. Example: https://cloud.google.com/asset-inventory/docs/overview", +"type": "string" +}, +"githubLabel": { +"description": "GitHub label to apply to issues and pull requests opened for this API.", +"type": "string" +}, +"librarySettings": { +"description": "Client library settings. If the same version string appears multiple times in this list, then the last one wins. Settings from earlier settings with the same version string are discarded.", +"items": { +"$ref": "ClientLibrarySettings" +}, +"type": "array" +}, +"methodSettings": { +"description": "A list of API method settings, e.g. the behavior for methods that use the long-running operation pattern.", +"items": { +"$ref": "MethodSettings" +}, +"type": "array" +}, +"newIssueUri": { +"description": "Link to a *public* URI where users can report issues. Example: https://issuetracker.google.com/issues/new?component=190865&template=1161103", +"type": "string" +}, +"organization": { +"description": "For whom the client library is being published.", +"enum": [ +"CLIENT_LIBRARY_ORGANIZATION_UNSPECIFIED", +"CLOUD", +"ADS", +"PHOTOS", +"STREET_VIEW", +"SHOPPING", +"GEO", +"GENERATIVE_AI" +], +"enumDescriptions": [ +"Not useful.", +"Google Cloud Platform Org.", +"Ads (Advertising) Org.", +"Photos Org.", +"Street View Org.", +"Shopping Org.", +"Geo Org.", +"Generative AI - https://developers.generativeai.google" +], +"type": "string" +}, +"protoReferenceDocumentationUri": { +"description": "Optional link to proto reference documentation. Example: https://cloud.google.com/pubsub/lite/docs/reference/rpc", +"type": "string" +}, +"restReferenceDocumentationUri": { +"description": "Optional link to REST reference documentation. Example: https://cloud.google.com/pubsub/lite/docs/reference/rest", +"type": "string" +} +}, +"type": "object" +}, +"PythonSettings": { +"description": "Settings for Python client libraries.", +"id": "PythonSettings", +"properties": { +"common": { +"$ref": "CommonLanguageSettings", +"description": "Some settings." +}, +"experimentalFeatures": { +"$ref": "ExperimentalFeatures", +"description": "Experimental features to be included during client library generation." +} +}, +"type": "object" +}, +"Quota": { +"description": "Quota configuration helps to achieve fairness and budgeting in service usage. The metric based quota configuration works this way: - The service configuration defines a set of metrics. - For API calls, the quota.metric_rules maps methods to metrics with corresponding costs. - The quota.limits defines limits on the metrics, which will be used for quota checks at runtime. An example quota configuration in yaml format: quota: limits: - name: apiWriteQpsPerProject metric: library.googleapis.com/write_calls unit: \"1/min/{project}\" # rate limit for consumer projects values: STANDARD: 10000 (The metric rules bind all methods to the read_calls metric, except for the UpdateBook and DeleteBook methods. These two methods are mapped to the write_calls metric, with the UpdateBook method consuming at twice rate as the DeleteBook method.) metric_rules: - selector: \"*\" metric_costs: library.googleapis.com/read_calls: 1 - selector: google.example.library.v1.LibraryService.UpdateBook metric_costs: library.googleapis.com/write_calls: 2 - selector: google.example.library.v1.LibraryService.DeleteBook metric_costs: library.googleapis.com/write_calls: 1 Corresponding Metric definition: metrics: - name: library.googleapis.com/read_calls display_name: Read requests metric_kind: DELTA value_type: INT64 - name: library.googleapis.com/write_calls display_name: Write requests metric_kind: DELTA value_type: INT64 ", +"id": "Quota", +"properties": { +"limits": { +"description": "List of QuotaLimit definitions for the service.", +"items": { +"$ref": "QuotaLimit" +}, +"type": "array" +}, +"metricRules": { +"description": "List of MetricRule definitions, each one mapping a selected method to one or more metrics.", +"items": { +"$ref": "MetricRule" +}, +"type": "array" +} +}, +"type": "object" +}, +"QuotaLimit": { +"description": "`QuotaLimit` defines a specific limit that applies over a specified duration for a limit type. There can be at most one limit for a duration and limit type combination defined within a `QuotaGroup`.", +"id": "QuotaLimit", +"properties": { +"defaultLimit": { +"description": "Default number of tokens that can be consumed during the specified duration. This is the number of tokens assigned when a client application developer activates the service for his/her project. Specifying a value of 0 will block all requests. This can be used if you are provisioning quota to selected consumers and blocking others. Similarly, a value of -1 will indicate an unlimited quota. No other negative values are allowed. Used by group-based quotas only.", +"format": "int64", +"type": "string" +}, +"description": { +"description": "Optional. User-visible, extended description for this quota limit. Should be used only when more context is needed to understand this limit than provided by the limit's display name (see: `display_name`).", +"type": "string" +}, +"displayName": { +"description": "User-visible display name for this limit. Optional. If not set, the UI will provide a default display name based on the quota configuration. This field can be used to override the default display name generated from the configuration.", +"type": "string" +}, +"duration": { +"description": "Duration of this limit in textual notation. Must be \"100s\" or \"1d\". Used by group-based quotas only.", +"type": "string" +}, +"freeTier": { +"description": "Free tier value displayed in the Developers Console for this limit. The free tier is the number of tokens that will be subtracted from the billed amount when billing is enabled. This field can only be set on a limit with duration \"1d\", in a billable group; it is invalid on any other limit. If this field is not set, it defaults to 0, indicating that there is no free tier for this service. Used by group-based quotas only.", +"format": "int64", +"type": "string" +}, +"maxLimit": { +"description": "Maximum number of tokens that can be consumed during the specified duration. Client application developers can override the default limit up to this maximum. If specified, this value cannot be set to a value less than the default limit. If not specified, it is set to the default limit. To allow clients to apply overrides with no upper bound, set this to -1, indicating unlimited maximum quota. Used by group-based quotas only.", +"format": "int64", +"type": "string" +}, +"metric": { +"description": "The name of the metric this quota limit applies to. The quota limits with the same metric will be checked together during runtime. The metric must be defined within the service config.", +"type": "string" +}, +"name": { +"description": "Name of the quota limit. The name must be provided, and it must be unique within the service. The name can only include alphanumeric characters as well as '-'. The maximum length of the limit name is 64 characters.", +"type": "string" +}, +"unit": { +"description": "Specify the unit of the quota limit. It uses the same syntax as MetricDescriptor.unit. The supported unit kinds are determined by the quota backend system. Here are some examples: * \"1/min/{project}\" for quota per minute per project. Note: the order of unit components is insignificant. The \"1\" at the beginning is required to follow the metric unit syntax.", +"type": "string" +}, +"values": { +"additionalProperties": { +"format": "int64", +"type": "string" +}, +"description": "Tiered limit values. You must specify this as a key:value pair, with an integer value that is the maximum number of requests allowed for the specified unit. Currently only STANDARD is supported.", +"type": "object" +} +}, +"type": "object" +}, +"RubySettings": { +"description": "Settings for Ruby client libraries.", +"id": "RubySettings", +"properties": { +"common": { +"$ref": "CommonLanguageSettings", +"description": "Some settings." +} +}, +"type": "object" +}, +"SelectiveGapicGeneration": { +"description": "This message is used to configure the generation of a subset of the RPCs in a service for client libraries.", +"id": "SelectiveGapicGeneration", +"properties": { +"generateOmittedAsInternal": { +"description": "Setting this to true indicates to the client generators that methods that would be excluded from the generation should instead be generated in a way that indicates these methods should not be consumed by end users. How this is expressed is up to individual language implementations to decide. Some examples may be: added annotations, obfuscated identifiers, or other language idiomatic patterns.", +"type": "boolean" +}, +"methods": { +"description": "An allowlist of the fully qualified names of RPCs that should be included on public client surfaces.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"Service": { +"description": "`Service` is the root object of Google API service configuration (service config). It describes the basic information about a logical service, such as the service name and the user-facing title, and delegates other aspects to sub-sections. Each sub-section is either a proto message or a repeated proto message that configures a specific aspect, such as auth. For more information, see each proto message definition. Example: type: google.api.Service name: calendar.googleapis.com title: Google Calendar API apis: - name: google.calendar.v3.Calendar visibility: rules: - selector: \"google.calendar.v3.*\" restriction: PREVIEW backend: rules: - selector: \"google.calendar.v3.*\" address: calendar.example.com authentication: providers: - id: google_calendar_auth jwks_uri: https://www.googleapis.com/oauth2/v1/certs issuer: https://securetoken.google.com rules: - selector: \"*\" requirements: provider_id: google_calendar_auth", +"id": "Service", +"properties": { +"apis": { +"description": "A list of API interfaces exported by this service. Only the `name` field of the google.protobuf.Api needs to be provided by the configuration author, as the remaining fields will be derived from the IDL during the normalization process. It is an error to specify an API interface here which cannot be resolved against the associated IDL files.", +"items": { +"$ref": "Api" +}, +"type": "array" +}, +"aspects": { +"description": "Configuration aspects. This is a repeated field to allow multiple aspects to be configured. The kind field in each ConfigAspect specifies the type of aspect. The spec field contains the configuration for that aspect. The schema for the spec field is defined by the backend service owners.", +"items": { +"$ref": "Aspect" +}, +"type": "array" +}, +"authentication": { +"$ref": "Authentication", +"description": "Auth configuration." +}, +"backend": { +"$ref": "Backend", +"description": "API backend configuration." +}, +"billing": { +"$ref": "Billing", +"description": "Billing configuration." +}, +"configVersion": { +"description": "Obsolete. Do not use. This field has no semantic meaning. The service config compiler always sets this field to `3`.", +"format": "uint32", +"type": "integer" +}, +"context": { +"$ref": "Context", +"description": "Context configuration." +}, +"control": { +"$ref": "Control", +"description": "Configuration for the service control plane." +}, +"customError": { +"$ref": "CustomError", +"description": "Custom error configuration." +}, +"documentation": { +"$ref": "Documentation", +"description": "Additional API documentation." +}, +"endpoints": { +"description": "Configuration for network endpoints. If this is empty, then an endpoint with the same name as the service is automatically generated to service all defined APIs. WARNING: Defining any entries in the `endpoints` list disables the automatic generation of default endpoint variations (e.g., `{service}.clients6.google.com`, `content-{service}.googleapis.com`, and mTLS variants like `{service}.mtls.googleapis.com`). To retain these default variations, you are required to explicitly include your main service endpoint (e.g., `myservice.googleapis.com`) in this list alongside any other custom endpoints (like REP, GFE, etc.).", +"items": { +"$ref": "Endpoint" +}, +"type": "array" +}, +"enums": { +"description": "A list of all enum types included in this API service. Enums referenced directly or indirectly by the `apis` are automatically included. Enums which are not referenced but shall be included should be listed here by name by the configuration author. Example: enums: - name: google.someapi.v1.SomeEnum", +"items": { +"$ref": "Enum" +}, +"type": "array" +}, +"http": { +"$ref": "Http", +"description": "HTTP configuration." +}, +"id": { +"description": "A unique ID for a specific instance of this message, typically assigned by the client for tracking purpose. Must be no longer than 63 characters and only lower case letters, digits, '.', '_' and '-' are allowed. If empty, the server may choose to generate one instead.", +"type": "string" +}, +"logging": { +"$ref": "Logging", +"description": "Logging configuration." +}, +"logs": { +"description": "Defines the logs used by this service.", +"items": { +"$ref": "LogDescriptor" +}, +"type": "array" +}, +"metrics": { +"description": "Defines the metrics used by this service.", +"items": { +"$ref": "MetricDescriptor" +}, +"type": "array" +}, +"monitoredResources": { +"description": "Defines the monitored resources used by this service. This is required by the `Service.monitoring` and `Service.logging` configurations.", +"items": { +"$ref": "MonitoredResourceDescriptor" +}, +"type": "array" +}, +"monitoring": { +"$ref": "Monitoring", +"description": "Monitoring configuration." +}, +"name": { +"description": "The service name, which is a DNS-like logical identifier for the service, such as `calendar.googleapis.com`. The service name typically goes through DNS verification to make sure the owner of the service also owns the DNS name.", +"type": "string" +}, +"producerProjectId": { +"description": "The Google project that owns this service.", +"type": "string" +}, +"publishing": { +"$ref": "Publishing", +"description": "Settings for [Google Cloud Client libraries](https://cloud.google.com/apis/docs/cloud-client-libraries) generated from APIs defined as protocol buffers." +}, +"quota": { +"$ref": "Quota", +"description": "Quota configuration." +}, +"sourceInfo": { +"$ref": "SourceInfo", +"description": "Output only. The source information for this configuration if available." +}, +"systemParameters": { +"$ref": "SystemParameters", +"description": "System parameter configuration." +}, +"systemTypes": { +"description": "A list of all proto message types included in this API service. It serves similar purpose as [google.api.Service.types], except that these types are not needed by user-defined APIs. Therefore, they will not show up in the generated discovery doc. This field should only be used to define system APIs in ESF.", +"items": { +"$ref": "Type" +}, +"type": "array" +}, +"title": { +"description": "The product title for this service, it is the name displayed in Google Cloud Console.", +"type": "string" +}, +"types": { +"description": "A list of all proto message types included in this API service. Types referenced directly or indirectly by the `apis` are automatically included. Messages which are not referenced but shall be included, such as types used by the `google.protobuf.Any` type, should be listed here by name by the configuration author. Example: types: - name: google.protobuf.Int32", +"items": { +"$ref": "Type" +}, +"type": "array" +}, +"usage": { +"$ref": "Usage", +"description": "Configuration controlling usage of this service." +} +}, +"type": "object" +}, +"SourceContext": { +"description": "`SourceContext` represents information about the source of a protobuf element, like the file in which it is defined.", +"id": "SourceContext", +"properties": { +"fileName": { +"description": "The path-qualified name of the .proto file that contained the associated protobuf element. For example: `\"google/protobuf/source_context.proto\"`.", +"type": "string" +} +}, +"type": "object" +}, +"SourceInfo": { +"description": "Source information used to create a Service Config", +"id": "SourceInfo", +"properties": { +"sourceFiles": { +"description": "All files used during config generation.", +"items": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"type": "object" +}, +"type": "array" +} +}, +"type": "object" +}, +"Status": { +"description": "The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors).", +"id": "Status", +"properties": { +"code": { +"description": "The status code, which should be an enum value of google.rpc.Code.", +"format": "int32", +"type": "integer" +}, +"details": { +"description": "A list of messages that carry the error details. There is a common set of message types for APIs to use.", +"items": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.", +"type": "string" +} +}, +"type": "object" +}, +"SystemParameter": { +"description": "Define a parameter's name and location. The parameter may be passed as either an HTTP header or a URL query parameter, and if both are passed the behavior is implementation-dependent.", +"id": "SystemParameter", +"properties": { +"httpHeader": { +"description": "Define the HTTP header name to use for the parameter. It is case insensitive.", +"type": "string" +}, +"name": { +"description": "Define the name of the parameter, such as \"api_key\" . It is case sensitive.", +"type": "string" +}, +"urlQueryParameter": { +"description": "Define the URL query parameter name to use for the parameter. It is case sensitive.", +"type": "string" +} +}, +"type": "object" +}, +"SystemParameterRule": { +"description": "Define a system parameter rule mapping system parameter definitions to methods.", +"id": "SystemParameterRule", +"properties": { +"parameters": { +"description": "Define parameters. Multiple names may be defined for a parameter. For a given method call, only one of them should be used. If multiple names are used the behavior is implementation-dependent. If none of the specified names are present the behavior is parameter-dependent.", +"items": { +"$ref": "SystemParameter" +}, +"type": "array" +}, +"selector": { +"description": "Selects the methods to which this rule applies. Use '*' to indicate all methods in all APIs. Refer to selector for syntax details.", +"type": "string" +} +}, +"type": "object" +}, +"SystemParameters": { +"description": "### System parameter configuration A system parameter is a special kind of parameter defined by the API system, not by an individual API. It is typically mapped to an HTTP header and/or a URL query parameter. This configuration specifies which methods change the names of the system parameters.", +"id": "SystemParameters", +"properties": { +"rules": { +"description": "Define system parameters. The parameters defined here will override the default parameters implemented by the system. If this field is missing from the service config, default system parameters will be used. Default system parameters and names is implementation-dependent. Example: define api key for all methods system_parameters rules: - selector: \"*\" parameters: - name: api_key url_query_parameter: api_key Example: define 2 api key names for a specific method. system_parameters rules: - selector: \"/ListShelves\" parameters: - name: api_key http_header: Api-Key1 - name: api_key http_header: Api-Key2 **NOTE:** All service configuration rules follow \"last one wins\" order.", +"items": { +"$ref": "SystemParameterRule" +}, +"type": "array" +} +}, +"type": "object" +}, +"Type": { +"description": "A protocol buffer message type. New usages of this message as an alternative to DescriptorProto are strongly discouraged. This message does not reliability preserve all information necessary to model the schema and preserve semantics. Instead make use of FileDescriptorSet which preserves the necessary information.", +"id": "Type", +"properties": { +"edition": { +"description": "The source edition string, only valid when syntax is SYNTAX_EDITIONS.", +"type": "string" +}, +"fields": { +"description": "The list of fields.", +"items": { +"$ref": "Field" +}, +"type": "array" +}, +"name": { +"description": "The fully qualified message name.", +"type": "string" +}, +"oneofs": { +"description": "The list of types appearing in `oneof` definitions in this type.", +"items": { +"type": "string" +}, +"type": "array" +}, +"options": { +"description": "The protocol buffer options.", +"items": { +"$ref": "Option" +}, +"type": "array" +}, +"sourceContext": { +"$ref": "SourceContext", +"description": "The source context." +}, +"syntax": { +"description": "The source syntax.", +"enum": [ +"SYNTAX_PROTO2", +"SYNTAX_PROTO3", +"SYNTAX_EDITIONS" +], +"enumDescriptions": [ +"Syntax `proto2`.", +"Syntax `proto3`.", +"Syntax `editions`." +], +"type": "string" +} +}, +"type": "object" +}, +"Usage": { +"description": "Configuration controlling usage of a service.", +"id": "Usage", +"properties": { +"producerNotificationChannel": { +"description": "The full resource name of a channel used for sending notifications to the service producer. Google Service Management currently only supports [Google Cloud Pub/Sub](https://cloud.google.com/pubsub) as a notification channel. To use Google Cloud Pub/Sub as the channel, this must be the name of a Cloud Pub/Sub topic that uses the Cloud Pub/Sub topic name format documented in https://cloud.google.com/pubsub/docs/overview.", +"type": "string" +}, +"requirements": { +"description": "Requirements that must be satisfied before a consumer project can use the service. Each requirement is of the form /; for example 'serviceusage.googleapis.com/billing-enabled'. For Google APIs, a Terms of Service requirement must be included here. Google Cloud APIs must include \"serviceusage.googleapis.com/tos/cloud\". Other Google APIs should include \"serviceusage.googleapis.com/tos/universal\". Additional ToS can be included based on the business needs.", +"items": { +"type": "string" +}, +"type": "array" +}, +"rules": { +"description": "A list of usage rules that apply to individual API methods. **NOTE:** All service configuration rules follow \"last one wins\" order.", +"items": { +"$ref": "UsageRule" +}, +"type": "array" +} +}, +"type": "object" +}, +"UsageRule": { +"description": "Usage configuration rules for the service.", +"id": "UsageRule", +"properties": { +"allowUnregisteredCalls": { +"description": " Use this rule to configure unregistered calls for the service. Unregistered calls are calls that do not contain consumer project identity. (Example: calls that do not contain an API key). WARNING: By default, API methods do not allow unregistered calls, and each method call must be identified by a consumer project identity.", +"type": "boolean" +}, +"selector": { +"description": "Selects the methods to which this rule applies. Use '*' to indicate all methods in all APIs. Refer to selector for syntax details.", +"type": "string" +}, +"skipServiceControl": { +"description": "If true, the selected method should skip service control and the control plane features, such as quota and billing, will not be available. This flag is used by Google Cloud Endpoints to bypass checks for internal methods, such as service health check methods.", +"type": "boolean" +} +}, +"type": "object" +}, +"V1Beta1BatchCreateProducerOverridesResponse": { +"description": "Response message for BatchCreateProducerOverrides", +"id": "V1Beta1BatchCreateProducerOverridesResponse", +"properties": { +"overrides": { +"description": "The overrides that were created.", +"items": { +"$ref": "V1Beta1QuotaOverride" +}, +"type": "array" +} +}, +"type": "object" +}, +"V1Beta1ConsumerQuotaLimit": { +"description": "Consumer quota settings for a quota limit.", +"id": "V1Beta1ConsumerQuotaLimit", +"properties": { +"isPrecise": { +"description": "Whether this limit is precise or imprecise.", +"type": "boolean" +}, +"metric": { +"description": "The name of the parent metric of this limit. An example name would be: `compute.googleapis.com/cpus`", +"type": "string" +}, +"name": { +"description": "The resource name of the quota limit. An example name would be: `services/compute.googleapis.com/projects/123/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.", +"type": "string" +}, +"quotaBuckets": { +"description": "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).", +"items": { +"$ref": "V1Beta1QuotaBucket" +}, +"type": "array" +}, +"supportedLocations": { +"description": "List of all supported locations. This field is present only if the limit has a {region} or {zone} dimension.", +"items": { +"type": "string" +}, +"type": "array" +}, +"unit": { +"description": "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.", +"type": "string" +} +}, +"type": "object" +}, +"V1Beta1ConsumerQuotaMetric": { +"description": "Consumer quota settings for a quota metric.", +"id": "V1Beta1ConsumerQuotaMetric", +"properties": { +"consumerQuotaLimits": { +"description": "The consumer quota for each quota limit defined on the metric.", +"items": { +"$ref": "V1Beta1ConsumerQuotaLimit" +}, +"type": "array" +}, +"descendantConsumerQuotaLimits": { +"description": "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.", +"items": { +"$ref": "V1Beta1ConsumerQuotaLimit" +}, +"type": "array" +}, +"displayName": { +"description": "The display name of the metric. An example name would be: \"CPUs\"", +"type": "string" +}, +"metric": { +"description": "The name of the metric. An example name would be: `compute.googleapis.com/cpus`", +"type": "string" +}, +"name": { +"description": "The resource name of the quota settings on this metric for this consumer. An example name would be: `services/serviceconsumermanagement.googleapis.com/projects/123/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.", +"type": "string" +}, +"unit": { +"description": "The units in which the metric value is reported.", +"type": "string" +} +}, +"type": "object" +}, +"V1Beta1DisableConsumerResponse": { +"description": "Response message for the `DisableConsumer` method. This response message is assigned to the `response` field of the returned Operation when that operation is done.", +"id": "V1Beta1DisableConsumerResponse", +"properties": {}, +"type": "object" +}, +"V1Beta1EnableConsumerResponse": { +"description": "Response message for the `EnableConsumer` method. This response message is assigned to the `response` field of the returned Operation when that operation is done.", +"id": "V1Beta1EnableConsumerResponse", +"properties": {}, +"type": "object" +}, +"V1Beta1GenerateServiceIdentityResponse": { +"description": "Response message for the `GenerateServiceIdentity` method. This response message is assigned to the `response` field of the returned Operation when that operation is done.", +"id": "V1Beta1GenerateServiceIdentityResponse", +"properties": { +"identity": { +"$ref": "V1Beta1ServiceIdentity", +"description": "ServiceIdentity that was created or retrieved." +} +}, +"type": "object" +}, +"V1Beta1ImportProducerOverridesRequest": { +"description": "Request message for ImportProducerOverrides", +"id": "V1Beta1ImportProducerOverridesRequest", +"properties": { +"force": { +"deprecated": true, +"description": "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.", +"type": "boolean" +}, +"forceJustification": { +"deprecated": true, +"description": "If force option is set to true, force_justification is suggested to be set to log the reason in audit logs.", +"type": "string" +}, +"forceOnly": { +"deprecated": true, +"description": "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.", +"items": { +"enum": [ +"QUOTA_SAFETY_CHECK_UNSPECIFIED", +"LIMIT_DECREASE_BELOW_USAGE", +"LIMIT_DECREASE_PERCENTAGE_TOO_HIGH" +], +"enumDescriptions": [ +"Unspecified quota safety check.", +"Validates that a quota mutation would not cause the consumer's effective limit to be lower than the consumer's quota usage.", +"Validates that a quota mutation would not cause the consumer's effective limit to decrease by more than 10 percent." +], +"type": "string" +}, +"type": "array" +}, +"inlineSource": { +"$ref": "V1Beta1OverrideInlineSource", +"description": "The import data is specified in the request message itself" +} +}, +"type": "object" +}, +"V1Beta1ImportProducerOverridesResponse": { +"description": "Response message for ImportProducerOverrides", +"id": "V1Beta1ImportProducerOverridesResponse", +"properties": { +"overrides": { +"description": "The overrides that were created from the imported data.", +"items": { +"$ref": "V1Beta1QuotaOverride" +}, +"type": "array" +} +}, +"type": "object" +}, +"V1Beta1ImportProducerQuotaPoliciesRequest": { +"description": "Request message for ImportProducerQuotaPolicies", +"id": "V1Beta1ImportProducerQuotaPoliciesRequest", +"properties": { +"force": { +"description": "Whether quota policy can result in a decrease of effective limit. Don't allow any decreases if force is not specified. If force is specified, then don't allow any decreases below 120% of the 7d quota usage, or for cases where usage cannot be examined (custom dimensions/ per user/per resource), only allow a 10% decrease.", +"type": "boolean" +}, +"forceJustification": { +"description": "If force or force_skip_quota_usage_check option is set to true, force_justification is suggested to be set to log the reason in audit logs.", +"type": "string" +}, +"forceSkipQuotaUsageCheck": { +"description": "If set to true, skip the quota usage check. This field is only used when the effective limit can be decreased. If the force field is not set, this field will be ignored.", +"type": "boolean" +}, +"inlineSource": { +"$ref": "V1Beta1PolicyInlineSource", +"description": "The import data is specified in the request message itself" +}, +"validateOnly": { +"description": "If set to true, validate the request, but do not actually update.", +"type": "boolean" +} +}, +"type": "object" +}, +"V1Beta1ImportProducerQuotaPoliciesResponse": { +"description": "Response message for ImportProducerQuotaPolicies", +"id": "V1Beta1ImportProducerQuotaPoliciesResponse", +"properties": { +"policies": { +"description": "The policies that were created from the imported data.", +"items": { +"$ref": "V1Beta1ProducerQuotaPolicy" +}, +"type": "array" +} +}, +"type": "object" +}, +"V1Beta1ListConsumerQuotaMetricsResponse": { +"description": "Response message for ListConsumerQuotaMetrics.", +"id": "V1Beta1ListConsumerQuotaMetricsResponse", +"properties": { +"metrics": { +"description": "Quota settings for the consumer, organized by quota metric.", +"items": { +"$ref": "V1Beta1ConsumerQuotaMetric" +}, +"type": "array" +}, +"nextPageToken": { +"description": "Token identifying which result to start with; returned by a previous list call.", +"type": "string" +} +}, +"type": "object" +}, +"V1Beta1ListProducerOverridesResponse": { +"description": "Response message for ListProducerOverrides.", +"id": "V1Beta1ListProducerOverridesResponse", +"properties": { +"nextPageToken": { +"description": "Token identifying which result to start with; returned by a previous list call.", +"type": "string" +}, +"overrides": { +"description": "Producer overrides on this limit.", +"items": { +"$ref": "V1Beta1QuotaOverride" +}, +"type": "array" +} +}, +"type": "object" +}, +"V1Beta1ListProducerQuotaPoliciesResponse": { +"description": "Response message for ListProducerQuotaPolicies.", +"id": "V1Beta1ListProducerQuotaPoliciesResponse", +"properties": { +"nextPageToken": { +"description": "Token identifying which result to start with; returned by a previous list call.", +"type": "string" +}, +"producerQuotaPolicies": { +"description": "Producer policies on this limit.", +"items": { +"$ref": "V1Beta1ProducerQuotaPolicy" +}, +"type": "array" +} +}, +"type": "object" +}, +"V1Beta1OverrideInlineSource": { +"description": "Import data embedded in the request message", +"id": "V1Beta1OverrideInlineSource", +"properties": { +"overrides": { +"description": "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.", +"items": { +"$ref": "V1Beta1QuotaOverride" +}, +"type": "array" +} +}, +"type": "object" +}, +"V1Beta1PolicyInlineSource": { +"description": "Import data embedded in the request message", +"id": "V1Beta1PolicyInlineSource", +"properties": { +"policies": { +"description": "The policies to create. Each policy must have a value for 'metric' and 'unit', to specify which metric and which limit the policy should be applied to.", +"items": { +"$ref": "V1Beta1ProducerQuotaPolicy" +}, +"type": "array" +} +}, +"type": "object" +}, +"V1Beta1ProducerQuotaPolicy": { +"description": "Quota policy created by service producer.", +"id": "V1Beta1ProducerQuotaPolicy", +"properties": { +"container": { +"description": "The cloud resource container at which the quota policy is created. The format is {container_type}/{container_number}", +"type": "string" +}, +"dimensions": { +"additionalProperties": { +"type": "string" +}, +"description": " If this map is nonempty, then this policy applies only to specific values for dimensions defined in the limit unit. For example, a policy on a limit with the unit 1/{project}/{region} could contain an entry with the key \"region\" and the value \"us-east-1\"; the policy is only applied to quota consumed in that region. This map has the following restrictions: * Keys that are not defined in the limit's unit are not valid keys. Any string appearing in {brackets} in the unit (besides {project} or {user}) is a defined key. * \"project\" is not a valid key; the project is already specified in the parent resource name. * \"user\" is not a valid key; the API does not support quota polcies 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.", +"type": "object" +}, +"metric": { +"description": "The name of the metric to which this policy applies. An example name would be: `compute.googleapis.com/cpus`", +"type": "string" +}, +"name": { +"description": "The resource name of the producer policy. An example name would be: `services/compute.googleapis.com/organizations/123/consumerQuotaMetrics/compute.googleapis.com%2Fcpus/limits/%2Fproject%2Fregion/producerQuotaPolicies/4a3f2c1d`", +"type": "string" +}, +"policyValue": { +"description": "The quota policy value. Can be any nonnegative integer, or -1 (unlimited quota).", +"format": "int64", +"type": "string" +}, +"unit": { +"description": "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.", +"type": "string" +} +}, +"type": "object" +}, +"V1Beta1QuotaBucket": { +"description": "A quota bucket is a quota provisioning unit for a specific set of dimensions.", +"id": "V1Beta1QuotaBucket", +"properties": { +"adminOverride": { +"$ref": "V1Beta1QuotaOverride", +"description": "Admin override on this quota bucket." +}, +"consumerOverride": { +"$ref": "V1Beta1QuotaOverride", +"description": "Consumer override on this quota bucket." +}, +"defaultLimit": { +"description": "The default limit of this quota bucket, as specified by the service configuration.", +"format": "int64", +"type": "string" +}, +"dimensions": { +"additionalProperties": { +"type": "string" +}, +"description": "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.", +"type": "object" +}, +"effectiveLimit": { +"description": "The effective limit of this quota bucket. Equal to default_limit if there are no overrides.", +"format": "int64", +"type": "string" +}, +"producerOverride": { +"$ref": "V1Beta1QuotaOverride", +"description": "Producer override on this quota bucket." +}, +"producerQuotaPolicy": { +"$ref": "V1Beta1ProducerQuotaPolicy", +"description": "Producer policy inherited from the closet ancestor of the current consumer." +}, +"rolloutInfo": { +"$ref": "V1Beta1RolloutInfo", +"description": "Rollout information of this quota bucket. This field is present only if the effective limit will change due to the ongoing rollout of the service config." +} +}, +"type": "object" +}, +"V1Beta1QuotaOverride": { +"description": "A quota override", +"id": "V1Beta1QuotaOverride", +"properties": { +"adminOverrideAncestor": { +"description": "The resource name of the ancestor that requested the override. For example: \"organizations/12345\" or \"folders/67890\". Used by admin overrides only.", +"type": "string" +}, +"dimensions": { +"additionalProperties": { +"type": "string" +}, +"description": " 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.", +"type": "object" +}, +"metric": { +"description": "The name of the metric to which this override applies. An example name would be: `compute.googleapis.com/cpus`", +"type": "string" +}, +"name": { +"description": "The resource name of the producer override. An example name would be: `services/compute.googleapis.com/projects/123/consumerQuotaMetrics/compute.googleapis.com%2Fcpus/limits/%2Fproject%2Fregion/producerOverrides/4a3f2c1d`", +"type": "string" +}, +"overrideValue": { +"description": "The overriding quota limit value. Can be any nonnegative integer, or -1 (unlimited quota).", +"format": "int64", +"type": "string" +}, +"unit": { +"description": "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.", +"type": "string" +} +}, +"type": "object" +}, +"V1Beta1RefreshConsumerResponse": { +"description": "Response message for the `RefreshConsumer` method. This response message is assigned to the `response` field of the returned Operation when that operation is done.", +"id": "V1Beta1RefreshConsumerResponse", +"properties": {}, +"type": "object" +}, +"V1Beta1RolloutInfo": { +"description": "[Output only] Rollout information of a quota.", +"id": "V1Beta1RolloutInfo", +"properties": { +"defaultLimitOngoingRollout": { +"description": "Whether there is an ongoing rollout for the default limit or not.", +"type": "boolean" +} +}, +"type": "object" +}, +"V1Beta1ServiceIdentity": { +"description": "A service identity in the Identity and Access Management API.", +"id": "V1Beta1ServiceIdentity", +"properties": { +"email": { +"description": "The email address of the service identity.", +"type": "string" +}, +"name": { +"description": "P4 service identity resource name. An example name would be: `services/serviceconsumermanagement.googleapis.com/projects/123/serviceIdentities/default`", +"type": "string" +}, +"projectRole": { +"description": "The project-level IAM role defined in the service agent's grant configuration. This is the standard role intended for this service agent. This field is populated regardless of the `skip_role_attach` option in the request. If `skip_role_attach` is true, the caller can use this value to know which role they are responsible for granting.", +"type": "string" +}, +"tag": { +"description": "The P4 service identity configuration tag. This must be defined in activation_grants. If not specified when creating the account, the tag is set to \"default\".", +"type": "string" +}, +"uniqueId": { +"description": "The unique and stable id of the service identity.", +"type": "string" +} +}, +"type": "object" +}, +"V1beta1AddVisibilityLabelsResponse": { +"description": "Response message for the `AddVisibilityLabels` method. This response message is assigned to the `response` field of the returned Operation when that operation is done.", +"id": "V1beta1AddVisibilityLabelsResponse", +"properties": { +"labels": { +"description": "The updated set of visibility labels for this consumer on this service.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"V1beta1DefaultIdentity": { +"description": "A default identity in the Identity and Access Management API.", +"id": "V1beta1DefaultIdentity", +"properties": { +"email": { +"description": "The email address of the default identity. Calling GenerateDefaultIdentity with a deleted or purged default identity should expect does_not_exist@invalid-project.iam.gserviceaccount.com placeholder email.", +"type": "string" +}, +"name": { +"description": "Default identity resource name. An example name would be: `services/serviceconsumermanagement.googleapis.com/projects/123/defaultIdentity`", +"type": "string" +}, +"tag": { +"description": "The Default Identity tag. If specified when creating the account, the tag must be present in activation_grants. If not specified when creating the account, the tag is set to the tag specified in activation_grants.", +"type": "string" +}, +"uniqueId": { +"description": "The unique and stable id of the default identity.", +"type": "string" +} +}, +"type": "object" +}, +"V1beta1DisableConsumerResponse": { +"description": "Response message for the `DisableConsumer` method. This response message is assigned to the `response` field of the returned Operation when that operation is done.", +"id": "V1beta1DisableConsumerResponse", +"properties": {}, +"type": "object" +}, +"V1beta1EnableConsumerResponse": { +"description": "Response message for the `EnableConsumer` method. This response message is assigned to the `response` field of the returned Operation when that operation is done.", +"id": "V1beta1EnableConsumerResponse", +"properties": {}, +"type": "object" +}, +"V1beta1GenerateDefaultIdentityResponse": { +"description": "Response message for the `GenerateDefaultIdentity` method. This response message is assigned to the `response` field of the returned Operation when that operation is done.", +"id": "V1beta1GenerateDefaultIdentityResponse", +"properties": { +"attachStatus": { +"description": "Status of the role attachment. Under development (go/si-attach-role), currently always return ATTACH_STATUS_UNSPECIFIED)", +"enum": [ +"ATTACH_STATUS_UNSPECIFIED", +"ATTACHED", +"ATTACH_SKIPPED", +"PREVIOUSLY_ATTACHED", +"ATTACH_DENIED_BY_ORG_POLICY" +], +"enumDescriptions": [ +"Indicates that the AttachStatus was not set.", +"The default identity was attached to a role successfully in this request.", +"The request specified that no attempt should be made to attach the role.", +"Role was attached to the consumer project at some point in time. Tenant manager doesn't make assertion about the current state of the identity with respect to the consumer. Role attachment should happen only once after activation and cannot be reattached after customer removes it. (go/si-attach-role)", +"Role attachment was denied in this request by customer set org policy. (go/si-attach-role)" +], +"type": "string" +}, +"identity": { +"$ref": "V1beta1DefaultIdentity", +"description": "DefaultIdentity that was created or retrieved." +}, +"role": { +"description": "Role attached to consumer project. Empty if not attached in this request. (Under development, currently always return empty.)", +"type": "string" +} +}, +"type": "object" +}, +"V1beta1GenerateServiceAccountResponse": { +"description": "Response message for the `GenerateServiceAccount` method. This response message is assigned to the `response` field of the returned Operation when that operation is done.", +"id": "V1beta1GenerateServiceAccountResponse", +"properties": { +"account": { +"$ref": "V1beta1ServiceAccount", +"description": "ServiceAccount that was created or retrieved." +} +}, +"type": "object" +}, +"V1beta1RefreshConsumerResponse": { +"description": "Response message for the `RefreshConsumer` method. This response message is assigned to the `response` field of the returned Operation when that operation is done.", +"id": "V1beta1RefreshConsumerResponse", +"properties": {}, +"type": "object" +}, +"V1beta1RemoveVisibilityLabelsResponse": { +"description": "Response message for the `RemoveVisibilityLabels` method. This response message is assigned to the `response` field of the returned Operation when that operation is done.", +"id": "V1beta1RemoveVisibilityLabelsResponse", +"properties": { +"labels": { +"description": "The updated set of visibility labels for this consumer on this service.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"V1beta1ServiceAccount": { +"description": "A service account in the Identity and Access Management API.", +"id": "V1beta1ServiceAccount", +"properties": { +"email": { +"description": "The email address of the service account.", +"type": "string" +}, +"iamAccountName": { +"deprecated": true, +"description": "Deprecated. See b/136209818.", +"type": "string" +}, +"name": { +"description": "P4 SA resource name. An example name would be: `services/serviceconsumermanagement.googleapis.com/projects/123/serviceAccounts/default`", +"type": "string" +}, +"tag": { +"description": "The P4 SA configuration tag. This must be defined in activation_grants. If not specified when creating the account, the tag is set to \"default\".", +"type": "string" +}, +"uniqueId": { +"description": "The unique and stable id of the service account.", +"type": "string" +} +}, +"type": "object" +} +}, +"servicePath": "", +"title": "Service Consumer Management API", +"version": "v1beta1", +"version_module": true +} \ No newline at end of file diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/servicecontrol.v1.json b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/servicecontrol.v1.json new file mode 100644 index 0000000000000000000000000000000000000000..f613ec60ac407340ce50368e5eef1b12285f7ba4 --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/servicecontrol.v1.json @@ -0,0 +1,2346 @@ +{ +"auth": { +"oauth2": { +"scopes": { +"https://www.googleapis.com/auth/cloud-platform": { +"description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." +}, +"https://www.googleapis.com/auth/servicecontrol": { +"description": "Manage your Google Service Control data" +} +} +} +}, +"basePath": "", +"baseUrl": "https://servicecontrol.googleapis.com/", +"batchPath": "batch", +"canonicalName": "Service Control", +"description": "Provides admission control and telemetry reporting for services integrated with Service Infrastructure. ", +"discoveryVersion": "v1", +"documentationLink": "https://cloud.google.com/service-control/", +"fullyEncodeReservedExpansion": true, +"icons": { +"x16": "http://www.google.com/images/icons/product/search-16.gif", +"x32": "http://www.google.com/images/icons/product/search-32.gif" +}, +"id": "servicecontrol:v1", +"kind": "discovery#restDescription", +"mtlsRootUrl": "https://servicecontrol.mtls.googleapis.com/", +"name": "servicecontrol", +"ownerDomain": "google.com", +"ownerName": "Google", +"parameters": { +"$.xgafv": { +"description": "V1 error format.", +"enum": [ +"1", +"2" +], +"enumDescriptions": [ +"v1 error format", +"v2 error format" +], +"location": "query", +"type": "string" +}, +"access_token": { +"description": "OAuth access token.", +"location": "query", +"type": "string" +}, +"alt": { +"default": "json", +"description": "Data format for response.", +"enum": [ +"json", +"media", +"proto" +], +"enumDescriptions": [ +"Responses with Content-Type of application/json", +"Media download with context-dependent Content-Type", +"Responses with Content-Type of application/x-protobuf" +], +"location": "query", +"type": "string" +}, +"callback": { +"description": "JSONP", +"location": "query", +"type": "string" +}, +"fields": { +"description": "Selector specifying which fields to include in a partial response.", +"location": "query", +"type": "string" +}, +"key": { +"description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", +"location": "query", +"type": "string" +}, +"oauth_token": { +"description": "OAuth 2.0 token for the current user.", +"location": "query", +"type": "string" +}, +"prettyPrint": { +"default": "true", +"description": "Returns response with indentations and line breaks.", +"location": "query", +"type": "boolean" +}, +"quotaUser": { +"description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.", +"location": "query", +"type": "string" +}, +"uploadType": { +"description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", +"location": "query", +"type": "string" +}, +"upload_protocol": { +"description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", +"location": "query", +"type": "string" +} +}, +"protocol": "rest", +"resources": { +"services": { +"methods": { +"allocateQuota": { +"description": "Attempts to allocate quota for the specified consumer. It should be called before the operation is executed. This method requires the `servicemanagement.services.quota` permission on the specified service. For more information, see [Cloud IAM](https://cloud.google.com/iam). **NOTE:** The client **must** fail-open on server errors `INTERNAL`, `UNKNOWN`, `DEADLINE_EXCEEDED`, and `UNAVAILABLE`. To ensure system reliability, the server may inject these errors to prohibit any hard dependency on the quota functionality.", +"flatPath": "v1/services/{serviceName}:allocateQuota", +"httpMethod": "POST", +"id": "servicecontrol.services.allocateQuota", +"parameterOrder": [ +"serviceName" +], +"parameters": { +"serviceName": { +"description": "Name of the service as specified in the service configuration. For example, `\"pubsub.googleapis.com\"`. See google.api.Service for the definition of a service name.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v1/services/{serviceName}:allocateQuota", +"request": { +"$ref": "AllocateQuotaRequest" +}, +"response": { +"$ref": "AllocateQuotaResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/servicecontrol" +] +}, +"check": { +"description": "Checks whether an operation on a service should be allowed to proceed based on the configuration of the service and related policies. It must be called before the operation is executed. If feasible, the client should cache the check results and reuse them for 60 seconds. In case of any server errors, the client should rely on the cached results for much longer time to avoid outage. WARNING: There is general 60s delay for the configuration and policy propagation, therefore callers MUST NOT depend on the `Check` method having the latest policy information. NOTE: the CheckRequest has the size limit (wire-format byte size) of 1MB. This method requires the `servicemanagement.services.check` permission on the specified service. For more information, see [Cloud IAM](https://cloud.google.com/iam).", +"flatPath": "v1/services/{serviceName}:check", +"httpMethod": "POST", +"id": "servicecontrol.services.check", +"parameterOrder": [ +"serviceName" +], +"parameters": { +"serviceName": { +"description": "The service name as specified in its service configuration. For example, `\"pubsub.googleapis.com\"`. See [google.api.Service](https://cloud.google.com/service-management/reference/rpc/google.api#google.api.Service) for the definition of a service name.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v1/services/{serviceName}:check", +"request": { +"$ref": "CheckRequest" +}, +"response": { +"$ref": "CheckResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/servicecontrol" +] +}, +"report": { +"description": "Reports operation results to Google Service Control, such as logs and metrics. It should be called after an operation is completed. If feasible, the client should aggregate reporting data for up to 5 seconds to reduce API traffic. Limiting aggregation to 5 seconds is to reduce data loss during client crashes. Clients should carefully choose the aggregation time window to avoid data loss risk more than 0.01% for business and compliance reasons. NOTE: the ReportRequest has the size limit (wire-format byte size) of 1MB. This method requires the `servicemanagement.services.report` permission on the specified service. For more information, see [Google Cloud IAM](https://cloud.google.com/iam).", +"flatPath": "v1/services/{serviceName}:report", +"httpMethod": "POST", +"id": "servicecontrol.services.report", +"parameterOrder": [ +"serviceName" +], +"parameters": { +"serviceName": { +"description": "The service name as specified in its service configuration. For example, `\"pubsub.googleapis.com\"`. See [google.api.Service](https://cloud.google.com/service-management/reference/rpc/google.api#google.api.Service) for the definition of a service name.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v1/services/{serviceName}:report", +"request": { +"$ref": "ReportRequest" +}, +"response": { +"$ref": "ReportResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/servicecontrol" +] +} +} +} +}, +"revision": "20251229", +"rootUrl": "https://servicecontrol.googleapis.com/", +"schemas": { +"AllocateInfo": { +"id": "AllocateInfo", +"properties": { +"unusedArguments": { +"description": "A list of label keys that were unused by the server in processing the request. Thus, for similar requests repeated in a certain future time window, the caller can choose to ignore these labels in the requests to achieve better client-side cache hits and quota aggregation for rate quota. This field is not populated for allocation quota checks.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"AllocateQuotaRequest": { +"description": "Request message for the AllocateQuota method.", +"id": "AllocateQuotaRequest", +"properties": { +"allocateOperation": { +"$ref": "QuotaOperation", +"description": "Operation that describes the quota allocation." +}, +"serviceConfigId": { +"description": "Specifies which version of service configuration should be used to process the request. If unspecified or no matching version can be found, the latest one will be used.", +"type": "string" +} +}, +"type": "object" +}, +"AllocateQuotaResponse": { +"description": "Response message for the AllocateQuota method.", +"id": "AllocateQuotaResponse", +"properties": { +"allocateErrors": { +"description": "Indicates the decision of the allocate.", +"items": { +"$ref": "QuotaError" +}, +"type": "array" +}, +"allocateInfo": { +"$ref": "AllocateInfo", +"description": "WARNING: DO NOT use this field until this warning message is removed." +}, +"operationId": { +"description": "The same operation_id value used in the AllocateQuotaRequest. Used for logging and diagnostics purposes.", +"type": "string" +}, +"quotaMetrics": { +"description": "Quota metrics to indicate the result of allocation. Depending on the request, one or more of the following metrics will be included: 1. Per quota group or per quota metric incremental usage will be specified using the following delta metric : \"serviceruntime.googleapis.com/api/consumer/quota_used_count\" 2. The quota limit reached condition will be specified using the following boolean metric : \"serviceruntime.googleapis.com/quota/exceeded\"", +"items": { +"$ref": "MetricValueSet" +}, +"type": "array" +}, +"serviceConfigId": { +"description": "ID of the actual config used to process the request.", +"type": "string" +} +}, +"type": "object" +}, +"AttributeValue": { +"description": "The allowed types for [VALUE] in a `[KEY]:[VALUE]` attribute.", +"id": "AttributeValue", +"properties": { +"boolValue": { +"description": "A Boolean value represented by `true` or `false`.", +"type": "boolean" +}, +"intValue": { +"description": "A 64-bit signed integer.", +"format": "int64", +"type": "string" +}, +"stringValue": { +"$ref": "TruncatableString", +"description": "A string up to 256 bytes long." +} +}, +"type": "object" +}, +"Attributes": { +"description": "A set of attributes, each in the format `[KEY]:[VALUE]`.", +"id": "Attributes", +"properties": { +"attributeMap": { +"additionalProperties": { +"$ref": "AttributeValue" +}, +"description": "The set of attributes. Each attribute's key can be up to 128 bytes long. The value can be a string up to 256 bytes, a signed 64-bit integer, or the Boolean values `true` and `false`. For example: \"/instance_id\": \"my-instance\" \"/http/user_agent\": \"\" \"/http/request_bytes\": 300 \"example.com/myattribute\": true", +"type": "object" +}, +"droppedAttributesCount": { +"description": "The number of attributes that were discarded. Attributes can be discarded because their keys are too long or because there are too many attributes. If this value is 0 then all attributes are valid.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"AuditLog": { +"description": "Common audit log format for Google Cloud Platform API operations. ", +"id": "AuditLog", +"properties": { +"authenticationInfo": { +"$ref": "AuthenticationInfo", +"description": "Authentication information." +}, +"authorizationInfo": { +"description": "Authorization information. If there are multiple resources or permissions involved, then there is one AuthorizationInfo element for each {resource, permission} tuple.", +"items": { +"$ref": "AuthorizationInfo" +}, +"type": "array" +}, +"metadata": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"description": "Other service-specific data about the request, response, and other information associated with the current audited event.", +"type": "object" +}, +"methodName": { +"description": "The name of the service method or operation. For API calls, this should be the name of the API method. For example, \"google.cloud.bigquery.v2.TableService.InsertTable\" \"google.logging.v2.ConfigServiceV2.CreateSink\"", +"type": "string" +}, +"numResponseItems": { +"description": "The number of items returned from a List or Query API method, if applicable.", +"format": "int64", +"type": "string" +}, +"policyViolationInfo": { +"$ref": "PolicyViolationInfo", +"description": "Indicates the policy violations for this request. If the request is denied by the policy, violation information will be logged here." +}, +"request": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"description": "The operation request. This may not include all request parameters, such as those that are too large, privacy-sensitive, or duplicated elsewhere in the log record. It should never include user-generated data, such as file contents. When the JSON object represented here has a proto equivalent, the proto name will be indicated in the `@type` property.", +"type": "object" +}, +"requestMetadata": { +"$ref": "RequestMetadata", +"description": "Metadata about the operation." +}, +"resourceLocation": { +"$ref": "ResourceLocation", +"description": "The resource location information." +}, +"resourceName": { +"description": "The resource or collection that is the target of the operation. The name is a scheme-less URI, not including the API service name. For example: \"projects/PROJECT_ID/zones/us-central1-a/instances\" \"projects/PROJECT_ID/datasets/DATASET_ID\"", +"type": "string" +}, +"resourceOriginalState": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"description": "The resource's original state before mutation. Present only for operations which have successfully modified the targeted resource(s). In general, this field should contain all changed fields, except those that are already been included in `request`, `response`, `metadata` or `service_data` fields. When the JSON object represented here has a proto equivalent, the proto name will be indicated in the `@type` property.", +"type": "object" +}, +"response": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"description": "The operation response. This may not include all response elements, such as those that are too large, privacy-sensitive, or duplicated elsewhere in the log record. It should never include user-generated data, such as file contents. When the JSON object represented here has a proto equivalent, the proto name will be indicated in the `@type` property.", +"type": "object" +}, +"serviceData": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"deprecated": true, +"description": "Deprecated. Use the `metadata` field instead. Other service-specific data about the request, response, and other activities.", +"type": "object" +}, +"serviceName": { +"description": "The name of the API service performing the operation. For example, `\"compute.googleapis.com\"`.", +"type": "string" +}, +"status": { +"$ref": "Status", +"description": "The status of the overall operation." +} +}, +"type": "object" +}, +"Auth": { +"description": "This message defines request authentication attributes. Terminology is based on the JSON Web Token (JWT) standard, but the terms also correlate to concepts in other standards.", +"id": "Auth", +"properties": { +"accessLevels": { +"description": "A list of access level resource names that allow resources to be accessed by authenticated requester. It is part of Secure GCP processing for the incoming request. An access level string has the format: \"//{api_service_name}/accessPolicies/{policy_id}/accessLevels/{short_name}\" Example: \"//accesscontextmanager.googleapis.com/accessPolicies/MY_POLICY_ID/accessLevels/MY_LEVEL\"", +"items": { +"type": "string" +}, +"type": "array" +}, +"audiences": { +"description": "The intended audience(s) for this authentication information. Reflects the audience (`aud`) claim within a JWT. The audience value(s) depends on the `issuer`, but typically include one or more of the following pieces of information: * The services intended to receive the credential. For example, [\"https://pubsub.googleapis.com/\", \"https://storage.googleapis.com/\"]. * A set of service-based scopes. For example, [\"https://www.googleapis.com/auth/cloud-platform\"]. * The client id of an app, such as the Firebase project id for JWTs from Firebase Auth. Consult the documentation for the credential issuer to determine the information provided.", +"items": { +"type": "string" +}, +"type": "array" +}, +"claims": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"description": "Structured claims presented with the credential. JWTs include `{key: value}` pairs for standard and private claims. The following is a subset of the standard required and optional claims that would typically be presented for a Google-based JWT: {'iss': 'accounts.google.com', 'sub': '113289723416554971153', 'aud': ['123456789012', 'pubsub.googleapis.com'], 'azp': '123456789012.apps.googleusercontent.com', 'email': 'jsmith@example.com', 'iat': 1353601026, 'exp': 1353604926} SAML assertions are similarly specified, but with an identity provider dependent structure.", +"type": "object" +}, +"oauth": { +"$ref": "Oauth", +"description": "Attributes of the OAuth token associated with the request." +}, +"presenter": { +"description": "The authorized presenter of the credential. Reflects the optional Authorized Presenter (`azp`) claim within a JWT or the OAuth client id. For example, a Google Cloud Platform client id looks as follows: \"123456789012.apps.googleusercontent.com\".", +"type": "string" +}, +"principal": { +"description": "The authenticated principal. Reflects the issuer (`iss`) and subject (`sub`) claims within a JWT. The issuer and subject should be `/` delimited, with `/` percent-encoded within the subject fragment. For Google accounts, the principal format is: \"https://accounts.google.com/{id}\"", +"type": "string" +} +}, +"type": "object" +}, +"AuthenticationInfo": { +"description": "Authentication information for the operation.", +"id": "AuthenticationInfo", +"properties": { +"authoritySelector": { +"description": "The authority selector specified by the requestor, if any. It is not guaranteed that the principal was allowed to use this authority.", +"type": "string" +}, +"loggableShortLivedCredential": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"description": "Converted from \"identity_cloudgaia.AuditLoggableShortLivedCredential\" proto. This message will be used by security, detection and response team. For context please refer to go/cg:short-lived-credential-logging. When the JSON object represented here has a proto equivalent, the proto name will be indicated in the `@type` property.", +"type": "object" +}, +"oauthInfo": { +"$ref": "OAuthInfo", +"description": "OAuth authentication information such as the OAuth client ID." +}, +"principalEmail": { +"description": "The email address of the authenticated user (or service account on behalf of third party principal) making the request. For third party identity callers, the `principal_subject` field is populated instead of this field. For privacy reasons, the principal email address is sometimes redacted. For more information, see [Caller identities in audit logs](https://cloud.google.com/logging/docs/audit#user-id).", +"type": "string" +}, +"principalSubject": { +"description": "String representation of identity of requesting party. Populated for both first and third party identities.", +"type": "string" +}, +"serviceAccountDelegationInfo": { +"description": "Identity delegation history of an authenticated service account that makes the request. It contains information on the real authorities that try to access GCP resources by delegating on a service account. When multiple authorities present, they are guaranteed to be sorted based on the original ordering of the identity delegation events.", +"items": { +"$ref": "ServiceAccountDelegationInfo" +}, +"type": "array" +}, +"serviceAccountKeyName": { +"description": "The name of the service account key used to create or exchange credentials for authenticating the service account making the request. This is a scheme-less URI full resource name. For example: \"//iam.googleapis.com/projects/{PROJECT_ID}/serviceAccounts/{ACCOUNT}/keys/{key}\"", +"type": "string" +}, +"serviceDelegationHistory": { +"$ref": "ServiceDelegationHistory", +"description": "Records the history of delegated resource access across Google services." +}, +"thirdPartyPrincipal": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"description": "The third party identification (if any) of the authenticated user making the request. When the JSON object represented here has a proto equivalent, the proto name will be indicated in the `@type` property.", +"type": "object" +} +}, +"type": "object" +}, +"AuthorizationInfo": { +"description": "Authorization information for the operation.", +"id": "AuthorizationInfo", +"properties": { +"granted": { +"description": "Whether or not authorization for `resource` and `permission` was granted.", +"type": "boolean" +}, +"permission": { +"description": "The required IAM permission.", +"type": "string" +}, +"permissionType": { +"description": "The type of the permission that was checked. For data access audit logs this corresponds with the permission type that must be enabled in the project/folder/organization IAM policy in order for the log to be written.", +"enum": [ +"PERMISSION_TYPE_UNSPECIFIED", +"ADMIN_READ", +"ADMIN_WRITE", +"DATA_READ", +"DATA_WRITE" +], +"enumDescriptions": [ +"Default. Should not be used.", +"Permissions that gate reading resource configuration or metadata.", +"Permissions that gate modification of resource configuration or metadata.", +"Permissions that gate reading user-provided data.", +"Permissions that gate writing user-provided data." +], +"type": "string" +}, +"resource": { +"description": "The resource being accessed, as a REST-style or cloud resource string. For example: bigquery.googleapis.com/projects/PROJECTID/datasets/DATASETID or projects/PROJECTID/datasets/DATASETID", +"type": "string" +}, +"resourceAttributes": { +"$ref": "Resource", +"description": "Resource attributes used in IAM condition evaluation. This field contains resource attributes like resource type and resource name. To get the whole view of the attributes used in IAM condition evaluation, the user must also look into `AuditLog.request_metadata.request_attributes`." +} +}, +"type": "object" +}, +"CheckError": { +"description": "Defines the errors to be returned in google.api.servicecontrol.v1.CheckResponse.check_errors.", +"id": "CheckError", +"properties": { +"code": { +"description": "The error code.", +"enum": [ +"ERROR_CODE_UNSPECIFIED", +"NOT_FOUND", +"PERMISSION_DENIED", +"RESOURCE_EXHAUSTED", +"BUDGET_EXCEEDED", +"DENIAL_OF_SERVICE_DETECTED", +"LOAD_SHEDDING", +"ABUSER_DETECTED", +"SERVICE_NOT_ACTIVATED", +"VISIBILITY_DENIED", +"BILLING_DISABLED", +"PROJECT_DELETED", +"PROJECT_INVALID", +"CONSUMER_INVALID", +"IP_ADDRESS_BLOCKED", +"REFERER_BLOCKED", +"CLIENT_APP_BLOCKED", +"API_TARGET_BLOCKED", +"API_KEY_INVALID", +"API_KEY_EXPIRED", +"API_KEY_NOT_FOUND", +"SPATULA_HEADER_INVALID", +"LOAS_ROLE_INVALID", +"NO_LOAS_PROJECT", +"LOAS_PROJECT_DISABLED", +"SECURITY_POLICY_VIOLATED", +"INVALID_CREDENTIAL", +"LOCATION_POLICY_VIOLATED", +"NAMESPACE_LOOKUP_UNAVAILABLE", +"SERVICE_STATUS_UNAVAILABLE", +"BILLING_STATUS_UNAVAILABLE", +"QUOTA_CHECK_UNAVAILABLE", +"LOAS_PROJECT_LOOKUP_UNAVAILABLE", +"CLOUD_RESOURCE_MANAGER_BACKEND_UNAVAILABLE", +"SECURITY_POLICY_BACKEND_UNAVAILABLE", +"LOCATION_POLICY_BACKEND_UNAVAILABLE", +"INJECTED_ERROR" +], +"enumDescriptions": [ +"This is the default value if error code is not explicitly set. It should not be used directly.", +"The consumer's project id, network container, or resource container was not found. Same as google.rpc.Code.NOT_FOUND.", +"The consumer doesn't have access to the specified resource. Same as google.rpc.Code.PERMISSION_DENIED.", +"Quota check failed. Same as google.rpc.Code.RESOURCE_EXHAUSTED.", +"Budget check failed.", +"The consumer's request has been flagged as a DoS attack.", +"The consumer's request should be rejected in order to protect the service from being overloaded.", +"The consumer has been flagged as an abuser.", +"The consumer hasn't activated the service.", +"The consumer cannot access the service due to visibility configuration.", +"The consumer cannot access the service because billing is disabled.", +"The consumer's project has been marked as deleted (soft deletion).", +"The consumer's project number or id does not represent a valid project.", +"The input consumer info does not represent a valid consumer folder or organization.", +"The IP address of the consumer is invalid for the specific consumer project.", +"The referer address of the consumer request is invalid for the specific consumer project.", +"The client application of the consumer request is invalid for the specific consumer project.", +"The API targeted by this request is invalid for the specified consumer project.", +"The consumer's API key is invalid.", +"The consumer's API Key has expired.", +"The consumer's API Key was not found in config record.", +"The consumer's spatula header is invalid.", +"The consumer's LOAS role is invalid.", +"The consumer's LOAS role has no associated project.", +"The consumer's LOAS project is not `ACTIVE` in LoquatV2.", +"Request is not allowed as per security policies defined in Org Policy.", +"The credential in the request can not be verified.", +"Request is not allowed as per location policies defined in Org Policy.", +"The backend server for looking up project id/number is unavailable.", +"The backend server for checking service status is unavailable.", +"The backend server for checking billing status is unavailable.", +"The backend server for checking quota limits is unavailable.", +"The Spanner for looking up LOAS project is unavailable.", +"Cloud Resource Manager backend server is unavailable.", +"NOTE: for customers in the scope of Beta/GA of https://cloud.google.com/vpc-service-controls, this error is no longer returned. If the security backend is unavailable: For Fail open requests, error is ignored and request is allowed. For Fail close requests, rpc UNAVAILABLE status will be returned instead. It should be ignored and should not be used to reject client requests.", +"Backend server for evaluating location policy is unavailable.", +"Part of the project of fault injection: go/chemist-slo-validation. To distinguish between artificially injected errors and organic ones, this value will be exported for the per_service_check_error_count streamz. http://google3/apiserving/servicecontrol/server/controller_service.cc;l=196 Rpcinjectz2 works by injecting errors early in the rpc life cycle, before any of the chemist business logic runs." +], +"type": "string" +}, +"detail": { +"description": "Free-form text providing details on the error cause of the error.", +"type": "string" +}, +"status": { +"$ref": "Status", +"description": "Contains public information about the check error. If available, `status.code` will be non zero and client can propagate it out as public error." +}, +"subject": { +"description": "Subject to whom this error applies. See the specific code enum for more details on this field. For example: - \"project:\" - \"folder:\" - \"organization:\"", +"type": "string" +} +}, +"type": "object" +}, +"CheckInfo": { +"description": "Contains additional information about the check operation.", +"id": "CheckInfo", +"properties": { +"apiKeyUid": { +"description": "The unique id of the api key in the format of \"apikey:\". This field will be populated when the consumer passed to Chemist is an API key and all the API key related validations are successful.", +"type": "string" +}, +"consumerInfo": { +"$ref": "ConsumerInfo", +"description": "Consumer info of this check." +}, +"ignoreApiKeyUidAsCredentialId": { +"description": "Whether or not the api key should be ignored in the credential_id during reporting.", +"type": "boolean" +}, +"unusedArguments": { +"description": "A list of fields and label keys that are ignored by the server. The client doesn't need to send them for following requests to improve performance and allow better aggregation.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"CheckRequest": { +"description": "Request message for the Check method.", +"id": "CheckRequest", +"properties": { +"operation": { +"$ref": "Operation", +"description": "The operation to be checked." +}, +"requestProjectSettings": { +"description": "Requests the project settings to be returned as part of the check response.", +"type": "boolean" +}, +"serviceConfigId": { +"description": "Specifies which version of service configuration should be used to process the request. If unspecified or no matching version can be found, the latest one will be used.", +"type": "string" +}, +"skipActivationCheck": { +"description": "Indicates if service activation check should be skipped for this request. Default behavior is to perform the check and apply relevant quota. WARNING: Setting this flag to \"true\" will disable quota enforcement.", +"type": "boolean" +} +}, +"type": "object" +}, +"CheckResponse": { +"description": "Response message for the Check method.", +"id": "CheckResponse", +"properties": { +"checkErrors": { +"description": "Indicate the decision of the check. If no check errors are present, the service should process the operation. Otherwise the service should use the list of errors to determine the appropriate action.", +"items": { +"$ref": "CheckError" +}, +"type": "array" +}, +"checkInfo": { +"$ref": "CheckInfo", +"description": "Feedback data returned from the server during processing a Check request." +}, +"operationId": { +"description": "The same operation_id value used in the CheckRequest. Used for logging and diagnostics purposes.", +"type": "string" +}, +"quotaInfo": { +"$ref": "QuotaInfo", +"description": "Quota information for the check request associated with this response. " +}, +"serviceConfigId": { +"description": "The actual config id used to process the request.", +"type": "string" +}, +"serviceRolloutId": { +"description": "The current service rollout id used to process the request.", +"type": "string" +} +}, +"type": "object" +}, +"ConsumerInfo": { +"description": "`ConsumerInfo` provides information about the consumer.", +"id": "ConsumerInfo", +"properties": { +"consumerNumber": { +"description": "The consumer identity number, can be Google cloud project number, folder number or organization number e.g. 1234567890. A value of 0 indicates no consumer number is found.", +"format": "int64", +"type": "string" +}, +"projectNumber": { +"description": "The Google cloud project number, e.g. 1234567890. A value of 0 indicates no project number is found. NOTE: This field is deprecated after Chemist support flexible consumer id. New code should not depend on this field anymore.", +"format": "int64", +"type": "string" +}, +"type": { +"description": "The type of the consumer which should have been defined in [Google Resource Manager](https://cloud.google.com/resource-manager/).", +"enum": [ +"CONSUMER_TYPE_UNSPECIFIED", +"PROJECT", +"FOLDER", +"ORGANIZATION", +"SERVICE_SPECIFIC" +], +"enumDescriptions": [ +"This is never used.", +"The consumer is a Google Cloud Project.", +"The consumer is a Google Cloud Folder.", +"The consumer is a Google Cloud Organization.", +"Service-specific resource container which is defined by the service producer to offer their users the ability to manage service control functionalities at a finer level of granularity than the PROJECT." +], +"type": "string" +} +}, +"type": "object" +}, +"Distribution": { +"description": "Distribution represents a frequency distribution of double-valued sample points. It contains the size of the population of sample points plus additional optional information: * the arithmetic mean of the samples * the minimum and maximum of the samples * the sum-squared-deviation of the samples, used to compute variance * a histogram of the values of the sample points", +"id": "Distribution", +"properties": { +"bucketCounts": { +"description": "The number of samples in each histogram bucket. `bucket_counts` are optional. If present, they must sum to the `count` value. The buckets are defined below in `bucket_option`. There are N buckets. `bucket_counts[0]` is the number of samples in the underflow bucket. `bucket_counts[1]` to `bucket_counts[N-1]` are the numbers of samples in each of the finite buckets. And `bucket_counts[N]` is the number of samples in the overflow bucket. See the comments of `bucket_option` below for more details. Any suffix of trailing zeros may be omitted.", +"items": { +"format": "int64", +"type": "string" +}, +"type": "array" +}, +"count": { +"description": "The total number of samples in the distribution. Must be >= 0.", +"format": "int64", +"type": "string" +}, +"exemplars": { +"description": "Example points. Must be in increasing order of `value` field.", +"items": { +"$ref": "Exemplar" +}, +"type": "array" +}, +"explicitBuckets": { +"$ref": "ExplicitBuckets", +"description": "Buckets with arbitrary user-provided width." +}, +"exponentialBuckets": { +"$ref": "ExponentialBuckets", +"description": "Buckets with exponentially growing width." +}, +"linearBuckets": { +"$ref": "LinearBuckets", +"description": "Buckets with constant width." +}, +"maximum": { +"description": "The maximum of the population of values. Ignored if `count` is zero.", +"format": "double", +"type": "number" +}, +"mean": { +"description": "The arithmetic mean of the samples in the distribution. If `count` is zero then this field must be zero.", +"format": "double", +"type": "number" +}, +"minimum": { +"description": "The minimum of the population of values. Ignored if `count` is zero.", +"format": "double", +"type": "number" +}, +"sumOfSquaredDeviation": { +"description": "The sum of squared deviations from the mean: Sum[i=1..count]((x_i - mean)^2) where each x_i is a sample values. If `count` is zero then this field must be zero, otherwise validation of the request fails.", +"format": "double", +"type": "number" +} +}, +"type": "object" +}, +"Exemplar": { +"description": "Exemplars are example points that may be used to annotate aggregated distribution values. They are metadata that gives information about a particular value added to a Distribution bucket, such as a trace ID that was active when a value was added. They may contain further information, such as a example values and timestamps, origin, etc.", +"id": "Exemplar", +"properties": { +"attachments": { +"description": "Contextual information about the example value. Examples are: Trace: type.googleapis.com/google.monitoring.v3.SpanContext Literal string: type.googleapis.com/google.protobuf.StringValue Labels dropped during aggregation: type.googleapis.com/google.monitoring.v3.DroppedLabels There may be only a single attachment of any given message type in a single exemplar, and this is enforced by the system.", +"items": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"type": "object" +}, +"type": "array" +}, +"timestamp": { +"description": "The observation (sampling) time of the above value.", +"format": "google-datetime", +"type": "string" +}, +"value": { +"description": "Value of the exemplar point. This value determines to which bucket the exemplar belongs.", +"format": "double", +"type": "number" +} +}, +"type": "object" +}, +"ExplicitBuckets": { +"description": "Describing buckets with arbitrary user-provided width.", +"id": "ExplicitBuckets", +"properties": { +"bounds": { +"description": "'bound' is a list of strictly increasing boundaries between buckets. Note that a list of length N-1 defines N buckets because of fenceposting. See comments on `bucket_options` for details. The i'th finite bucket covers the interval [bound[i-1], bound[i]) where i ranges from 1 to bound_size() - 1. Note that there are no finite buckets at all if 'bound' only contains a single element; in that special case the single bound defines the boundary between the underflow and overflow buckets. bucket number lower bound upper bound i == 0 (underflow) -inf bound[i] 0 < i < bound_size() bound[i-1] bound[i] i == bound_size() (overflow) bound[i-1] +inf", +"items": { +"format": "double", +"type": "number" +}, +"type": "array" +} +}, +"type": "object" +}, +"ExponentialBuckets": { +"description": "Describing buckets with exponentially growing width.", +"id": "ExponentialBuckets", +"properties": { +"growthFactor": { +"description": "The i'th exponential bucket covers the interval [scale * growth_factor^(i-1), scale * growth_factor^i) where i ranges from 1 to num_finite_buckets inclusive. Must be larger than 1.0.", +"format": "double", +"type": "number" +}, +"numFiniteBuckets": { +"description": "The number of finite buckets. With the underflow and overflow buckets, the total number of buckets is `num_finite_buckets` + 2. See comments on `bucket_options` for details.", +"format": "int32", +"type": "integer" +}, +"scale": { +"description": "The i'th exponential bucket covers the interval [scale * growth_factor^(i-1), scale * growth_factor^i) where i ranges from 1 to num_finite_buckets inclusive. Must be > 0.", +"format": "double", +"type": "number" +} +}, +"type": "object" +}, +"FirstPartyPrincipal": { +"description": "First party identity principal.", +"id": "FirstPartyPrincipal", +"properties": { +"principalEmail": { +"description": "The email address of a Google account. .", +"type": "string" +}, +"serviceMetadata": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"description": "Metadata about the service that uses the service account. .", +"type": "object" +} +}, +"type": "object" +}, +"HttpRequest": { +"description": "A common proto for logging HTTP requests. Only contains semantics defined by the HTTP specification. Product-specific logging information MUST be defined in a separate message.", +"id": "HttpRequest", +"properties": { +"cacheFillBytes": { +"description": "The number of HTTP response bytes inserted into cache. Set only when a cache fill was attempted.", +"format": "int64", +"type": "string" +}, +"cacheHit": { +"description": "Whether or not an entity was served from cache (with or without validation).", +"type": "boolean" +}, +"cacheLookup": { +"description": "Whether or not a cache lookup was attempted.", +"type": "boolean" +}, +"cacheValidatedWithOriginServer": { +"description": "Whether or not the response was validated with the origin server before being served from cache. This field is only meaningful if `cache_hit` is True.", +"type": "boolean" +}, +"latency": { +"description": "The request processing latency on the server, from the time the request was received until the response was sent.", +"format": "google-duration", +"type": "string" +}, +"protocol": { +"description": "Protocol used for the request. Examples: \"HTTP/1.1\", \"HTTP/2\", \"websocket\"", +"type": "string" +}, +"referer": { +"description": "The referer URL of the request, as defined in [HTTP/1.1 Header Field Definitions](https://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html).", +"type": "string" +}, +"remoteIp": { +"description": "The IP address (IPv4 or IPv6) of the client that issued the HTTP request. Examples: `\"192.168.1.1\"`, `\"FE80::0202:B3FF:FE1E:8329\"`.", +"type": "string" +}, +"requestMethod": { +"description": "The request method. Examples: `\"GET\"`, `\"HEAD\"`, `\"PUT\"`, `\"POST\"`.", +"type": "string" +}, +"requestSize": { +"description": "The size of the HTTP request message in bytes, including the request headers and the request body.", +"format": "int64", +"type": "string" +}, +"requestUrl": { +"description": "The scheme (http, https), the host name, the path, and the query portion of the URL that was requested. Example: `\"http://example.com/some/info?color=red\"`.", +"type": "string" +}, +"responseSize": { +"description": "The size of the HTTP response message sent back to the client, in bytes, including the response headers and the response body.", +"format": "int64", +"type": "string" +}, +"serverIp": { +"description": "The IP address (IPv4 or IPv6) of the origin server that the request was sent to.", +"type": "string" +}, +"status": { +"description": "The response code indicating the status of the response. Examples: 200, 404.", +"format": "int32", +"type": "integer" +}, +"userAgent": { +"description": "The user agent sent by the client. Example: `\"Mozilla/4.0 (compatible; MSIE 6.0; Windows 98; Q312461; .NET CLR 1.0.3705)\"`.", +"type": "string" +} +}, +"type": "object" +}, +"LinearBuckets": { +"description": "Describing buckets with constant width.", +"id": "LinearBuckets", +"properties": { +"numFiniteBuckets": { +"description": "The number of finite buckets. With the underflow and overflow buckets, the total number of buckets is `num_finite_buckets` + 2. See comments on `bucket_options` for details.", +"format": "int32", +"type": "integer" +}, +"offset": { +"description": "The i'th linear bucket covers the interval [offset + (i-1) * width, offset + i * width) where i ranges from 1 to num_finite_buckets, inclusive.", +"format": "double", +"type": "number" +}, +"width": { +"description": "The i'th linear bucket covers the interval [offset + (i-1) * width, offset + i * width) where i ranges from 1 to num_finite_buckets, inclusive. Must be strictly positive.", +"format": "double", +"type": "number" +} +}, +"type": "object" +}, +"LogEntry": { +"description": "An individual log entry.", +"id": "LogEntry", +"properties": { +"httpRequest": { +"$ref": "HttpRequest", +"description": "Optional. Information about the HTTP request associated with this log entry, if applicable." +}, +"insertId": { +"description": "A unique ID for the log entry used for deduplication. If omitted, the implementation will generate one based on operation_id.", +"type": "string" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "A set of user-defined (key, value) data that provides additional information about the log entry.", +"type": "object" +}, +"name": { +"description": "Required. The log to which this log entry belongs. Examples: `\"syslog\"`, `\"book_log\"`.", +"type": "string" +}, +"operation": { +"$ref": "LogEntryOperation", +"description": "Optional. Information about an operation associated with the log entry, if applicable." +}, +"protoPayload": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "The log entry payload, represented as a protocol buffer that is expressed as a JSON object. The only accepted type currently is AuditLog.", +"type": "object" +}, +"severity": { +"description": "The severity of the log entry. The default value is `LogSeverity.DEFAULT`.", +"enum": [ +"DEFAULT", +"DEBUG", +"INFO", +"NOTICE", +"WARNING", +"ERROR", +"CRITICAL", +"ALERT", +"EMERGENCY" +], +"enumDescriptions": [ +"(0) The log entry has no assigned severity level.", +"(100) Debug or trace information.", +"(200) Routine information, such as ongoing status or performance.", +"(300) Normal but significant events, such as start up, shut down, or a configuration change.", +"(400) Warning events might cause problems.", +"(500) Error events are likely to cause problems.", +"(600) Critical events cause more severe problems or outages.", +"(700) A person must take an action immediately.", +"(800) One or more systems are unusable." +], +"type": "string" +}, +"sourceLocation": { +"$ref": "LogEntrySourceLocation", +"description": "Optional. Source code location information associated with the log entry, if any." +}, +"structPayload": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"description": "The log entry payload, represented as a structure that is expressed as a JSON object.", +"type": "object" +}, +"textPayload": { +"description": "The log entry payload, represented as a Unicode string (UTF-8).", +"type": "string" +}, +"timestamp": { +"description": "The time the event described by the log entry occurred. If omitted, defaults to operation start time.", +"format": "google-datetime", +"type": "string" +}, +"trace": { +"description": "Optional. Resource name of the trace associated with the log entry, if any. If this field contains a relative resource name, you can assume the name is relative to `//tracing.googleapis.com`. Example: `projects/my-projectid/traces/06796866738c859f2f19b7cfb3214824`", +"type": "string" +} +}, +"type": "object" +}, +"LogEntryOperation": { +"description": "Additional information about a potentially long-running operation with which a log entry is associated.", +"id": "LogEntryOperation", +"properties": { +"first": { +"description": "Optional. Set this to True if this is the first log entry in the operation.", +"type": "boolean" +}, +"id": { +"description": "Optional. An arbitrary operation identifier. Log entries with the same identifier are assumed to be part of the same operation.", +"type": "string" +}, +"last": { +"description": "Optional. Set this to True if this is the last log entry in the operation.", +"type": "boolean" +}, +"producer": { +"description": "Optional. An arbitrary producer identifier. The combination of `id` and `producer` must be globally unique. Examples for `producer`: `\"MyDivision.MyBigCompany.com\"`, `\"github.com/MyProject/MyApplication\"`.", +"type": "string" +} +}, +"type": "object" +}, +"LogEntrySourceLocation": { +"description": "Additional information about the source code location that produced the log entry.", +"id": "LogEntrySourceLocation", +"properties": { +"file": { +"description": "Optional. Source file name. Depending on the runtime environment, this might be a simple name or a fully-qualified name.", +"type": "string" +}, +"function": { +"description": "Optional. Human-readable name of the function or method being invoked, with optional context such as the class or package name. This information may be used in contexts such as the logs viewer, where a file and line number are less meaningful. The format can vary by language. For example: `qual.if.ied.Class.method` (Java), `dir/package.func` (Go), `function` (Python).", +"type": "string" +}, +"line": { +"description": "Optional. Line within the source file. 1-based; 0 indicates no line number available.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"MetricValue": { +"description": "Represents a single metric value.", +"id": "MetricValue", +"properties": { +"boolValue": { +"description": "A boolean value.", +"type": "boolean" +}, +"distributionValue": { +"$ref": "Distribution", +"description": "A distribution value." +}, +"doubleValue": { +"description": "A double precision floating point value.", +"format": "double", +"type": "number" +}, +"endTime": { +"description": "The end of the time period over which this metric value's measurement applies. If not specified, google.api.servicecontrol.v1.Operation.end_time will be used.", +"format": "google-datetime", +"type": "string" +}, +"int64Value": { +"description": "A signed 64-bit integer value.", +"format": "int64", +"type": "string" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "The labels describing the metric value. See comments on google.api.servicecontrol.v1.Operation.labels for the overriding relationship. Note that this map must not contain monitored resource labels.", +"type": "object" +}, +"moneyValue": { +"$ref": "Money", +"description": "A money value." +}, +"startTime": { +"description": "The start of the time period over which this metric value's measurement applies. The time period has different semantics for different metric types (cumulative, delta, and gauge). See the metric definition documentation in the service configuration for details. If not specified, google.api.servicecontrol.v1.Operation.start_time will be used.", +"format": "google-datetime", +"type": "string" +}, +"stringValue": { +"description": "A text string value.", +"type": "string" +} +}, +"type": "object" +}, +"MetricValueSet": { +"description": "Represents a set of metric values in the same metric. Each metric value in the set should have a unique combination of start time, end time, and label values.", +"id": "MetricValueSet", +"properties": { +"metricName": { +"description": "The metric name defined in the service configuration.", +"type": "string" +}, +"metricValues": { +"description": "The values in this metric.", +"items": { +"$ref": "MetricValue" +}, +"type": "array" +} +}, +"type": "object" +}, +"Money": { +"description": "Represents an amount of money with its currency type.", +"id": "Money", +"properties": { +"currencyCode": { +"description": "The three-letter currency code defined in ISO 4217.", +"type": "string" +}, +"nanos": { +"description": "Number of nano (10^-9) units of the amount. The value must be between -999,999,999 and +999,999,999 inclusive. If `units` is positive, `nanos` must be positive or zero. If `units` is zero, `nanos` can be positive, zero, or negative. If `units` is negative, `nanos` must be negative or zero. For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000.", +"format": "int32", +"type": "integer" +}, +"units": { +"description": "The whole units of the amount. For example if `currencyCode` is `\"USD\"`, then 1 unit is one US dollar.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"OAuthInfo": { +"description": "OAuth related information about the request.", +"id": "OAuthInfo", +"properties": { +"oauthClientId": { +"description": "The OAuth client ID of the 1P or 3P application acting on behalf of the user.", +"type": "string" +} +}, +"type": "object" +}, +"Oauth": { +"description": "This message defines attributes associated with OAuth credentials.", +"id": "Oauth", +"properties": { +"clientId": { +"description": "The optional OAuth client ID. This is the unique public identifier issued by an authorization server to a registered client application. Empty string is equivalent to no oauth client id. WARNING: This is for MCP tools/call and tools/list authorization and not for general use.", +"type": "string" +} +}, +"type": "object" +}, +"Operation": { +"description": "Represents information regarding an operation.", +"id": "Operation", +"properties": { +"consumerId": { +"description": "Identity of the consumer who is using the service. This field should be filled in for the operations initiated by a consumer, but not for service-initiated operations that are not related to a specific consumer. - This can be in one of the following formats: - project:PROJECT_ID, - project`_`number:PROJECT_NUMBER, - projects/PROJECT_ID or PROJECT_NUMBER, - folders/FOLDER_NUMBER, - organizations/ORGANIZATION_NUMBER, - api`_`key:API_KEY.", +"type": "string" +}, +"endTime": { +"description": "End time of the operation. Required when the operation is used in ServiceController.Report, but optional when the operation is used in ServiceController.Check.", +"format": "google-datetime", +"type": "string" +}, +"importance": { +"description": "DO NOT USE. This is an experimental field.", +"enum": [ +"LOW", +"HIGH", +"DEBUG", +"PROMOTED" +], +"enumDescriptions": [ +"Allows data caching, batching, and aggregation. It provides higher performance with higher data loss risk.", +"Disables data aggregation to minimize data loss. It is for operations that contains significant monetary value or audit trail. This feature only applies to the client libraries.", +"Deprecated. Do not use. Disables data aggregation and enables additional validation logic. It should only be used during the onboarding process. It is only available to Google internal services, and the service must be approved by chemist-dev@google.com in order to use this level.", +"Used internally by Chemist." +], +"type": "string" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Labels describing the operation. Only the following labels are allowed: - Labels describing monitored resources as defined in the service configuration. - Default labels of metric values. When specified, labels defined in the metric value override these default. - The following labels defined by Google Cloud Platform: - `cloud.googleapis.com/location` describing the location where the operation happened, - `servicecontrol.googleapis.com/user_agent` describing the user agent of the API request, - `servicecontrol.googleapis.com/service_agent` describing the service used to handle the API request (e.g. ESP), - `servicecontrol.googleapis.com/platform` describing the platform where the API is served, such as App Engine, Compute Engine, or Kubernetes Engine.", +"type": "object" +}, +"logEntries": { +"description": "Represents information to be logged.", +"items": { +"$ref": "LogEntry" +}, +"type": "array" +}, +"metricValueSets": { +"description": "Represents information about this operation. Each MetricValueSet corresponds to a metric defined in the service configuration. The data type used in the MetricValueSet must agree with the data type specified in the metric definition. Within a single operation, it is not allowed to have more than one MetricValue instances that have the same metric names and identical label value combinations. If a request has such duplicated MetricValue instances, the entire request is rejected with an invalid argument error.", +"items": { +"$ref": "MetricValueSet" +}, +"type": "array" +}, +"operationId": { +"description": "Identity of the operation. This must be unique within the scope of the service that generated the operation. If the service calls Check() and Report() on the same operation, the two calls should carry the same id. UUID version 4 is recommended, though not required. In scenarios where an operation is computed from existing information and an idempotent id is desirable for deduplication purpose, UUID version 5 is recommended. See RFC 4122 for details.", +"type": "string" +}, +"operationName": { +"description": "Fully qualified name of the operation. Reserved for future use.", +"type": "string" +}, +"quotaProperties": { +"$ref": "QuotaProperties", +"description": "Represents the properties needed for quota check. Applicable only if this operation is for a quota check request. If this is not specified, no quota check will be performed." +}, +"resources": { +"description": "The resources that are involved in the operation. The maximum supported number of entries in this field is 100.", +"items": { +"$ref": "ResourceInfo" +}, +"type": "array" +}, +"startTime": { +"description": "Required. Start time of the operation.", +"format": "google-datetime", +"type": "string" +}, +"traceSpans": { +"description": "Unimplemented. A list of Cloud Trace spans. The span names shall contain the id of the destination project which can be either the produce or the consumer project.", +"items": { +"$ref": "TraceSpan" +}, +"type": "array" +}, +"userLabels": { +"additionalProperties": { +"type": "string" +}, +"description": "Private Preview. This feature is only available for approved services. User defined labels for the resource that this operation is associated with.", +"type": "object" +} +}, +"type": "object" +}, +"OrgPolicyViolationInfo": { +"description": "Represents OrgPolicy Violation information.", +"id": "OrgPolicyViolationInfo", +"properties": { +"payload": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"deprecated": true, +"description": "Optional. Deprecated. Resource payload that is currently in scope and is subjected to orgpolicy conditions. This payload may be the subset of the actual Resource that may come in the request.", +"type": "object" +}, +"resourceTags": { +"additionalProperties": { +"type": "string" +}, +"deprecated": true, +"description": "Optional. Deprecated. Tags referenced on the resource at the time of evaluation.", +"type": "object" +}, +"resourceType": { +"description": "Optional. Resource type that the orgpolicy is checked against. Example: compute.googleapis.com/Instance, store.googleapis.com/bucket", +"type": "string" +}, +"violationInfo": { +"description": "Optional. Policy violations", +"items": { +"$ref": "ViolationInfo" +}, +"type": "array" +} +}, +"type": "object" +}, +"Peer": { +"description": "This message defines attributes for a node that handles a network request. The node can be either a service or an application that sends, forwards, or receives the request. Service peers should fill in `principal` and `labels` as appropriate.", +"id": "Peer", +"properties": { +"ip": { +"description": "The IP address of the peer.", +"type": "string" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "The labels associated with the peer.", +"type": "object" +}, +"port": { +"description": "The network port of the peer.", +"format": "int64", +"type": "string" +}, +"principal": { +"description": "The identity of this peer. Similar to `Request.auth.principal`, but relative to the peer instead of the request. For example, the identity associated with a load balancer that forwarded the request.", +"type": "string" +}, +"regionCode": { +"description": "The CLDR country/region code associated with the above IP address. If the IP address is private, the `region_code` should reflect the physical location where this peer is running.", +"type": "string" +} +}, +"type": "object" +}, +"PolicyViolationInfo": { +"description": "Information related to policy violations for this request.", +"id": "PolicyViolationInfo", +"properties": { +"orgPolicyViolationInfo": { +"$ref": "OrgPolicyViolationInfo", +"description": "Indicates the orgpolicy violations for this resource." +} +}, +"type": "object" +}, +"QuotaError": { +"description": "Represents error information for QuotaOperation.", +"id": "QuotaError", +"properties": { +"code": { +"description": "Error code.", +"enum": [ +"UNSPECIFIED", +"RESOURCE_EXHAUSTED", +"OUT_OF_RANGE", +"BILLING_NOT_ACTIVE", +"PROJECT_DELETED", +"API_KEY_INVALID", +"API_KEY_EXPIRED", +"SPATULA_HEADER_INVALID", +"LOAS_ROLE_INVALID", +"NO_LOAS_PROJECT", +"PROJECT_STATUS_UNAVAILABLE", +"SERVICE_STATUS_UNAVAILABLE", +"BILLING_STATUS_UNAVAILABLE", +"QUOTA_SYSTEM_UNAVAILABLE" +], +"enumDescriptions": [ +"This is never used.", +"Quota allocation failed. Same as google.rpc.Code.RESOURCE_EXHAUSTED.", +"Quota release failed. This error is ONLY returned on a NORMAL release. More formally: if a user requests a release of 10 tokens, but only 5 tokens were previously allocated, in a BEST_EFFORT release, this will be considered a success, 5 tokens will be released, and the result will be \"Ok\". If this is done in NORMAL mode, no tokens will be released, and an OUT_OF_RANGE error will be returned. Same as google.rpc.Code.OUT_OF_RANGE.", +"Consumer cannot access the service because the service requires active billing.", +"Consumer's project has been marked as deleted (soft deletion).", +"Specified API key is invalid.", +"Specified API Key has expired.", +"Consumer's spatula header is invalid.", +"The consumer's LOAS role is invalid.", +"The consumer's LOAS role has no associated project.", +"The backend server for looking up project id/number is unavailable.", +"The backend server for checking service status is unavailable.", +"The backend server for checking billing status is unavailable.", +"The backend server for checking quota limits is unavailable." +], +"type": "string" +}, +"description": { +"description": "Free-form text that provides details on the cause of the error.", +"type": "string" +}, +"status": { +"$ref": "Status", +"description": "Contains additional information about the quota error. If available, `status.code` will be non zero." +}, +"subject": { +"description": "Subject to whom this error applies. See the specific enum for more details on this field. For example, \"clientip:\" or \"project:\".", +"type": "string" +} +}, +"type": "object" +}, +"QuotaInfo": { +"description": "Contains the quota information for a quota check response.", +"id": "QuotaInfo", +"properties": { +"limitExceeded": { +"deprecated": true, +"description": "Quota Metrics that have exceeded quota limits. For QuotaGroup-based quota, this is QuotaGroup.name For QuotaLimit-based quota, this is QuotaLimit.name See: google.api.Quota Deprecated: Use quota_metrics to get per quota group limit exceeded status.", +"items": { +"type": "string" +}, +"type": "array" +}, +"quotaConsumed": { +"additionalProperties": { +"format": "int32", +"type": "integer" +}, +"description": "Map of quota group name to the actual number of tokens consumed. If the quota check was not successful, then this will not be populated due to no quota consumption. We are not merging this field with 'quota_metrics' field because of the complexity of scaling in Chemist client code base. For simplicity, we will keep this field for Castor (that scales quota usage) and 'quota_metrics' for SuperQuota (that doesn't scale quota usage). ", +"type": "object" +}, +"quotaExtractionState": { +"description": "Output only. Indicates the state of the quota extraction.", +"enum": [ +"QUOTA_EXTRACTION_STATE_UNSPECIFIED", +"QUOTA_EXTRACTION_STATE_DARK_LAUNCH", +"QUOTA_EXTRACTION_STATE_TRAFFIC_MIGRATION" +], +"enumDescriptions": [ +"Indicates the quota extraction has not started.", +"Indicates the quota extraction is in dark launch and verifying quota enforcement.", +"Indicates the quota extraction traffic migration is in progress." +], +"readOnly": true, +"type": "string" +}, +"quotaMetrics": { +"description": "Quota metrics to indicate the usage. Depending on the check request, one or more of the following metrics will be included: 1. For rate quota, per quota group or per quota metric incremental usage will be specified using the following delta metric: \"serviceruntime.googleapis.com/api/consumer/quota_used_count\" 2. For allocation quota, per quota metric total usage will be specified using the following gauge metric: \"serviceruntime.googleapis.com/allocation/consumer/quota_used_count\" 3. For both rate quota and allocation quota, the quota limit reached condition will be specified using the following boolean metric: \"serviceruntime.googleapis.com/quota/exceeded\"", +"items": { +"$ref": "MetricValueSet" +}, +"type": "array" +} +}, +"type": "object" +}, +"QuotaOperation": { +"description": "Represents information regarding a quota operation.", +"id": "QuotaOperation", +"properties": { +"consumerId": { +"description": "Identity of the consumer for whom this quota operation is being performed. This can be in one of the following formats: project:, project_number:, api_key:.", +"type": "string" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Labels describing the operation.", +"type": "object" +}, +"methodName": { +"description": "Fully qualified name of the API method for which this quota operation is requested. This name is used for matching quota rules or metric rules and billing status rules defined in service configuration. This field should not be set if any of the following is true: (1) the quota operation is performed on non-API resources. (2) quota_metrics is set because the caller is doing quota override. Example of an RPC method name: google.example.library.v1.LibraryService.CreateShelf", +"type": "string" +}, +"operationId": { +"description": "Identity of the operation. For Allocation Quota, this is expected to be unique within the scope of the service that generated the operation, and guarantees idempotency in case of retries. In order to ensure best performance and latency in the Quota backends, operation_ids are optimally associated with time, so that related operations can be accessed fast in storage. For this reason, the recommended token for services that intend to operate at a high QPS is Unix time in nanos + UUID", +"type": "string" +}, +"quotaMetrics": { +"description": "Represents information about this operation. Each MetricValueSet corresponds to a metric defined in the service configuration. The data type used in the MetricValueSet must agree with the data type specified in the metric definition. Within a single operation, it is not allowed to have more than one MetricValue instances that have the same metric names and identical label value combinations. If a request has such duplicated MetricValue instances, the entire request is rejected with an invalid argument error. This field is mutually exclusive with method_name.", +"items": { +"$ref": "MetricValueSet" +}, +"type": "array" +}, +"quotaMode": { +"description": "Quota mode for this operation.", +"enum": [ +"UNSPECIFIED", +"NORMAL", +"BEST_EFFORT", +"CHECK_ONLY", +"ADJUST_ONLY" +], +"enumDescriptions": [ +"Guard against implicit default. Must not be used.", +"For AllocateQuota request, allocates quota for the amount specified in the service configuration or specified using the quota metrics. If the amount is higher than the available quota, allocation error will be returned and no quota will be allocated. If multiple quotas are part of the request, and one fails, none of the quotas are allocated or released.", +"The operation allocates quota for the amount specified in the service configuration or specified using the quota metrics. If the amount is higher than the available quota, request does not fail but all available quota will be allocated. For rate quota, BEST_EFFORT will continue to deduct from other groups even if one does not have enough quota. For allocation, it will find the minimum available amount across all groups and deduct that amount from all the affected groups.", +"For AllocateQuota request, only checks if there is enough quota available and does not change the available quota. No lock is placed on the available quota either.", +"The operation allocates quota for the amount specified in the service configuration or specified using the quota metrics. If the requested amount is higher than the available quota, request does not fail and remaining quota would become negative (going over the limit). Not supported for Rate Quota." +], +"type": "string" +} +}, +"type": "object" +}, +"QuotaProperties": { +"description": "Represents the properties needed for quota operations.", +"id": "QuotaProperties", +"properties": { +"quotaMode": { +"description": "Quota mode for this operation.", +"enum": [ +"ACQUIRE", +"ACQUIRE_BEST_EFFORT", +"CHECK" +], +"enumDescriptions": [ +"Decreases available quota by the cost specified for the operation. If cost is higher than available quota, operation fails and returns error.", +"Decreases available quota by the cost specified for the operation. If cost is higher than available quota, operation does not fail and available quota goes down to zero but it returns error.", +"Does not change any available quota. Only checks if there is enough quota. No lock is placed on the checked tokens neither." +], +"type": "string" +} +}, +"type": "object" +}, +"ReportError": { +"description": "Represents the processing error of one Operation in the request.", +"id": "ReportError", +"properties": { +"operationId": { +"description": "The Operation.operation_id value from the request.", +"type": "string" +}, +"status": { +"$ref": "Status", +"description": "Details of the error when processing the Operation." +} +}, +"type": "object" +}, +"ReportRequest": { +"description": "Request message for the Report method.", +"id": "ReportRequest", +"properties": { +"operations": { +"description": "Operations to be reported. Typically the service should report one operation per request. Putting multiple operations into a single request is allowed, but should be used only when multiple operations are natually available at the time of the report. There is no limit on the number of operations in the same ReportRequest, however the ReportRequest size should be no larger than 1MB. See ReportResponse.report_errors for partial failure behavior.", +"items": { +"$ref": "Operation" +}, +"type": "array" +}, +"serviceConfigId": { +"description": "Specifies which version of service config should be used to process the request. If unspecified or no matching version can be found, the latest one will be used.", +"type": "string" +} +}, +"type": "object" +}, +"ReportResponse": { +"description": "Response message for the Report method.", +"id": "ReportResponse", +"properties": { +"reportErrors": { +"description": "Partial failures, one for each `Operation` in the request that failed processing. There are three possible combinations of the RPC status: 1. The combination of a successful RPC status and an empty `report_errors` list indicates a complete success where all `Operations` in the request are processed successfully. 2. The combination of a successful RPC status and a non-empty `report_errors` list indicates a partial success where some `Operations` in the request succeeded. Each `Operation` that failed processing has a corresponding item in this list. 3. A failed RPC status indicates a general non-deterministic failure. When this happens, it's impossible to know which of the 'Operations' in the request succeeded or failed.", +"items": { +"$ref": "ReportError" +}, +"type": "array" +}, +"serviceConfigId": { +"description": "The actual config id used to process the request.", +"type": "string" +}, +"serviceRolloutId": { +"description": "The current service rollout id used to process the request.", +"type": "string" +} +}, +"type": "object" +}, +"Request": { +"description": "This message defines attributes for an HTTP request. If the actual request is not an HTTP request, the runtime system should try to map the actual request to an equivalent HTTP request.", +"id": "Request", +"properties": { +"auth": { +"$ref": "Auth", +"description": "The request authentication. May be absent for unauthenticated requests. Derived from the HTTP request `Authorization` header or equivalent." +}, +"headers": { +"additionalProperties": { +"type": "string" +}, +"description": "The HTTP request headers. If multiple headers share the same key, they must be merged according to the HTTP spec. All header keys must be lowercased, because HTTP header keys are case-insensitive.", +"type": "object" +}, +"host": { +"description": "The HTTP request `Host` header value.", +"type": "string" +}, +"id": { +"description": "The unique ID for a request, which can be propagated to downstream systems. The ID should have low probability of collision within a single day for a specific service.", +"type": "string" +}, +"method": { +"description": "The HTTP request method, such as `GET`, `POST`.", +"type": "string" +}, +"origin": { +"description": "The values from Origin header from the HTTP request, such as \"https://console.cloud.google.com\". Modern browsers can only have one origin. Special browsers and/or HTTP clients may require multiple origins.", +"type": "string" +}, +"path": { +"description": "The HTTP URL path, excluding the query parameters.", +"type": "string" +}, +"protocol": { +"description": "The network protocol used with the request, such as \"http/1.1\", \"spdy/3\", \"h2\", \"h2c\", \"webrtc\", \"tcp\", \"udp\", \"quic\". See https://www.iana.org/assignments/tls-extensiontype-values/tls-extensiontype-values.xhtml#alpn-protocol-ids for details.", +"type": "string" +}, +"query": { +"description": "The HTTP URL query in the format of `name1=value1&name2=value2`, as it appears in the first line of the HTTP request. No decoding is performed.", +"type": "string" +}, +"reason": { +"description": "A special parameter for request reason. It is used by security systems to associate auditing information with a request.", +"type": "string" +}, +"scheme": { +"description": "The HTTP URL scheme, such as `http` and `https`.", +"type": "string" +}, +"size": { +"description": "The HTTP request size in bytes. If unknown, it must be -1.", +"format": "int64", +"type": "string" +}, +"time": { +"description": "The timestamp when the `destination` service receives the last byte of the request.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"RequestMetadata": { +"description": "Metadata about the request.", +"id": "RequestMetadata", +"properties": { +"callerIp": { +"description": "The IP address of the caller. For a caller from the internet, this will be the public IPv4 or IPv6 address. For calls made from inside Google's internal production network from one GCP service to another, `caller_ip` will be redacted to \"private\". For a caller from a Compute Engine VM with a external IP address, `caller_ip` will be the VM's external IP address. For a caller from a Compute Engine VM without a external IP address, if the VM is in the same organization (or project) as the accessed resource, `caller_ip` will be the VM's internal IPv4 address, otherwise `caller_ip` will be redacted to \"gce-internal-ip\". See https://cloud.google.com/compute/docs/vpc/ for more information.", +"type": "string" +}, +"callerNetwork": { +"description": "The network of the caller. Set only if the network host project is part of the same GCP organization (or project) as the accessed resource. See https://cloud.google.com/compute/docs/vpc/ for more information. This is a scheme-less URI full resource name. For example: \"//compute.googleapis.com/projects/PROJECT_ID/global/networks/NETWORK_ID\"", +"type": "string" +}, +"callerSuppliedUserAgent": { +"description": "The user agent of the caller. This information is not authenticated and should be treated accordingly. For example: + `google-api-python-client/1.4.0`: The request was made by the Google API client for Python. + `Cloud SDK Command Line Tool apitools-client/1.0 gcloud/0.9.62`: The request was made by the Google Cloud SDK CLI (gcloud). + `AppEngine-Google; (+http://code.google.com/appengine; appid: s~my-project`: The request was made from the `my-project` App Engine app.", +"type": "string" +}, +"destinationAttributes": { +"$ref": "Peer", +"description": "The destination of a network activity, such as accepting a TCP connection. In a multi hop network activity, the destination represents the receiver of the last hop. Only two fields are used in this message, Peer.port and Peer.ip. These fields are optionally populated by those services utilizing the IAM condition feature." +}, +"requestAttributes": { +"$ref": "Request", +"description": "Request attributes used in IAM condition evaluation. This field contains request attributes like request time and access levels associated with the request. To get the whole view of the attributes used in IAM condition evaluation, the user must also look into `AuditLog.authentication_info.resource_attributes`." +} +}, +"type": "object" +}, +"Resource": { +"description": "This message defines core attributes for a resource. A resource is an addressable (named) entity provided by the destination service. For example, a file stored on a network storage service.", +"id": "Resource", +"properties": { +"annotations": { +"additionalProperties": { +"type": "string" +}, +"description": "Annotations is an unstructured key-value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/", +"type": "object" +}, +"createTime": { +"description": "Output only. The timestamp when the resource was created. This may be either the time creation was initiated or when it was completed.", +"format": "google-datetime", +"type": "string" +}, +"deleteTime": { +"description": "Output only. The timestamp when the resource was deleted. If the resource is not deleted, this must be empty.", +"format": "google-datetime", +"type": "string" +}, +"displayName": { +"description": "Mutable. The display name set by clients. Must be <= 63 characters.", +"type": "string" +}, +"etag": { +"description": "Output only. An opaque value that uniquely identifies a version or generation of a resource. It can be used to confirm that the client and server agree on the ordering of a resource being written.", +"type": "string" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "The labels or tags on the resource, such as AWS resource tags and Kubernetes resource labels.", +"type": "object" +}, +"location": { +"description": "Immutable. The location of the resource. The location encoding is specific to the service provider, and new encoding may be introduced as the service evolves. For Google Cloud products, the encoding is what is used by Google Cloud APIs, such as `us-east1`, `aws-us-east-1`, and `azure-eastus2`. The semantics of `location` is identical to the `cloud.googleapis.com/location` label used by some Google Cloud APIs.", +"type": "string" +}, +"name": { +"description": "The stable identifier (name) of a resource on the `service`. A resource can be logically identified as \"//{resource.service}/{resource.name}\". The differences between a resource name and a URI are: * Resource name is a logical identifier, independent of network protocol and API version. For example, `//pubsub.googleapis.com/projects/123/topics/news-feed`. * URI often includes protocol and version information, so it can be used directly by applications. For example, `https://pubsub.googleapis.com/v1/projects/123/topics/news-feed`. See https://cloud.google.com/apis/design/resource_names for details.", +"type": "string" +}, +"service": { +"description": "The name of the service that this resource belongs to, such as `pubsub.googleapis.com`. The service may be different from the DNS hostname that actually serves the request.", +"type": "string" +}, +"type": { +"description": "The type of the resource. The syntax is platform-specific because different platforms define their resources differently. For Google APIs, the type format must be \"{service}/{kind}\", such as \"pubsub.googleapis.com/Topic\".", +"type": "string" +}, +"uid": { +"description": "The unique identifier of the resource. UID is unique in the time and space for this resource within the scope of the service. It is typically generated by the server on successful creation of a resource and must not be changed. UID is used to uniquely identify resources with resource name reuses. This should be a UUID4.", +"type": "string" +}, +"updateTime": { +"description": "Output only. The timestamp when the resource was last updated. Any change to the resource made by users must refresh this value. Changes to a resource made by the service should refresh this value.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"ResourceInfo": { +"description": "Describes a resource associated with this operation.", +"id": "ResourceInfo", +"properties": { +"permission": { +"description": "The resource permission required for this request.", +"type": "string" +}, +"resourceContainer": { +"description": "The identifier of the parent of this resource instance. Must be in one of the following formats: - `projects/` - `folders/` - `organizations/`", +"type": "string" +}, +"resourceLocation": { +"description": "The location of the resource. If not empty, the resource will be checked against location policy. The value must be a valid zone, region or multiregion. For example: \"europe-west4\" or \"northamerica-northeast1-a\"", +"type": "string" +}, +"resourceName": { +"description": "Name of the resource. This is used for auditing purposes.", +"type": "string" +} +}, +"type": "object" +}, +"ResourceLocation": { +"description": "Location information about a resource.", +"id": "ResourceLocation", +"properties": { +"currentLocations": { +"description": "The locations of a resource after the execution of the operation. Requests to create or delete a location based resource must populate the 'current_locations' field and not the 'original_locations' field. For example: \"europe-west1-a\" \"us-east1\" \"nam3\"", +"items": { +"type": "string" +}, +"type": "array" +}, +"originalLocations": { +"description": "The locations of a resource prior to the execution of the operation. Requests that mutate the resource's location must populate both the 'original_locations' as well as the 'current_locations' fields. For example: \"europe-west1-a\" \"us-east1\" \"nam3\"", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ServiceAccountDelegationInfo": { +"description": "Identity delegation history of an authenticated service account.", +"id": "ServiceAccountDelegationInfo", +"properties": { +"firstPartyPrincipal": { +"$ref": "FirstPartyPrincipal", +"description": "First party (Google) identity as the real authority." +}, +"principalSubject": { +"description": "A string representing the principal_subject associated with the identity. For most identities, the format will be `principal://iam.googleapis.com/{identity pool name}/subject/{subject)` except for some GKE identities (GKE_WORKLOAD, FREEFORM, GKE_HUB_WORKLOAD) that are still in the legacy format `serviceAccount:{identity pool name}[{subject}]`", +"type": "string" +}, +"thirdPartyPrincipal": { +"$ref": "ThirdPartyPrincipal", +"description": "Third party identity as the real authority." +} +}, +"type": "object" +}, +"ServiceDelegationHistory": { +"description": "The history of delegation across multiple services as the result of the original user's action. Such as \"service A uses its own account to do something for user B\". This differs from ServiceAccountDelegationInfo, which only tracks the history of direct token exchanges (impersonation).", +"id": "ServiceDelegationHistory", +"properties": { +"originalPrincipal": { +"description": "The original end user who initiated the request to GCP.", +"type": "string" +}, +"serviceMetadata": { +"description": "Data identifying the service specific jobs or units of work that were involved in a chain of service calls.", +"items": { +"$ref": "ServiceMetadata" +}, +"type": "array" +} +}, +"type": "object" +}, +"ServiceMetadata": { +"description": "Metadata describing the service and additional service specific information used to identify the job or unit of work at hand.", +"id": "ServiceMetadata", +"properties": { +"jobMetadata": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"description": "Additional metadata provided by service teams to describe service specific job information that was triggered by the original principal.", +"type": "object" +}, +"principalSubject": { +"description": "A string representing the principal_subject associated with the identity. For most identities, the format will be `principal://iam.googleapis.com/{identity pool name}/subject/{subject)` except for some GKE identities (GKE_WORKLOAD, FREEFORM, GKE_HUB_WORKLOAD) that are still in the legacy format `serviceAccount:{identity pool name}[{subject}]` If the identity is a Google account (e.g. workspace user account or service account), this will be the email of the prefixed by `serviceAccount:`. For example: `serviceAccount:my-service-account@project-1.iam.gserviceaccount.com`. If the identity is an individual user, the identity will be formatted as: `user:user_ABC@email.com`.", +"type": "string" +}, +"serviceDomain": { +"description": "The service's fully qualified domain name, e.g. \"dataproc.googleapis.com\".", +"type": "string" +} +}, +"type": "object" +}, +"SpanContext": { +"description": "The context of a span. This is attached to an Exemplar in Distribution values during aggregation. It contains the name of a span with format: projects/[PROJECT_ID_OR_NUMBER]/traces/[TRACE_ID]/spans/[SPAN_ID]", +"id": "SpanContext", +"properties": { +"spanName": { +"description": "The resource name of the span. The format is: projects/[PROJECT_ID_OR_NUMBER]/traces/[TRACE_ID]/spans/[SPAN_ID] `[TRACE_ID]` is a unique identifier for a trace within a project; it is a 32-character hexadecimal encoding of a 16-byte array. `[SPAN_ID]` is a unique identifier for a span within a trace; it is a 16-character hexadecimal encoding of an 8-byte array.", +"type": "string" +} +}, +"type": "object" +}, +"Status": { +"description": "The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors).", +"id": "Status", +"properties": { +"code": { +"description": "The status code, which should be an enum value of google.rpc.Code.", +"format": "int32", +"type": "integer" +}, +"details": { +"description": "A list of messages that carry the error details. There is a common set of message types for APIs to use.", +"items": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.", +"type": "string" +} +}, +"type": "object" +}, +"ThirdPartyPrincipal": { +"description": "Third party identity principal.", +"id": "ThirdPartyPrincipal", +"properties": { +"thirdPartyClaims": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"description": "Metadata about third party identity.", +"type": "object" +} +}, +"type": "object" +}, +"TraceSpan": { +"description": "A span represents a single operation within a trace. Spans can be nested to form a trace tree. Often, a trace contains a root span that describes the end-to-end latency, and one or more subspans for its sub-operations. A trace can also contain multiple root spans, or none at all. Spans do not need to be contiguous\u2014there may be gaps or overlaps between spans in a trace.", +"id": "TraceSpan", +"properties": { +"attributes": { +"$ref": "Attributes", +"description": "A set of attributes on the span. You can have up to 32 attributes per span." +}, +"childSpanCount": { +"description": "An optional number of child spans that were generated while this span was active. If set, allows implementation to detect missing child spans.", +"format": "int32", +"type": "integer" +}, +"displayName": { +"$ref": "TruncatableString", +"description": "A description of the span's operation (up to 128 bytes). Stackdriver Trace displays the description in the Google Cloud Platform Console. For example, the display name can be a qualified method name or a file name and a line number where the operation is called. A best practice is to use the same display name within an application and at the same call point. This makes it easier to correlate spans in different traces." +}, +"endTime": { +"description": "The end time of the span. On the client side, this is the time kept by the local machine where the span execution ends. On the server side, this is the time when the server application handler stops running.", +"format": "google-datetime", +"type": "string" +}, +"name": { +"description": "The resource name of the span in the following format: projects/[PROJECT_ID]/traces/[TRACE_ID]/spans/SPAN_ID is a unique identifier for a trace within a project; it is a 32-character hexadecimal encoding of a 16-byte array. [SPAN_ID] is a unique identifier for a span within a trace; it is a 16-character hexadecimal encoding of an 8-byte array.", +"type": "string" +}, +"parentSpanId": { +"description": "The [SPAN_ID] of this span's parent span. If this is a root span, then this field must be empty.", +"type": "string" +}, +"sameProcessAsParentSpan": { +"description": "(Optional) Set this parameter to indicate whether this span is in the same process as its parent. If you do not set this parameter, Stackdriver Trace is unable to take advantage of this helpful information.", +"type": "boolean" +}, +"spanId": { +"description": "The [SPAN_ID] portion of the span's resource name.", +"type": "string" +}, +"spanKind": { +"description": "Distinguishes between spans generated in a particular context. For example, two spans with the same name may be distinguished using `CLIENT` (caller) and `SERVER` (callee) to identify an RPC call.", +"enum": [ +"SPAN_KIND_UNSPECIFIED", +"INTERNAL", +"SERVER", +"CLIENT", +"PRODUCER", +"CONSUMER" +], +"enumDescriptions": [ +"Unspecified. Do NOT use as default. Implementations MAY assume SpanKind.INTERNAL to be default.", +"Indicates that the span is used internally. Default value.", +"Indicates that the span covers server-side handling of an RPC or other remote network request.", +"Indicates that the span covers the client-side wrapper around an RPC or other remote request.", +"Indicates that the span describes producer sending a message to a broker. Unlike client and server, there is no direct critical path latency relationship between producer and consumer spans (e.g. publishing a message to a pubsub service).", +"Indicates that the span describes consumer receiving a message from a broker. Unlike client and server, there is no direct critical path latency relationship between producer and consumer spans (e.g. receiving a message from a pubsub service subscription)." +], +"type": "string" +}, +"startTime": { +"description": "The start time of the span. On the client side, this is the time kept by the local machine where the span execution starts. On the server side, this is the time when the server's application handler starts running.", +"format": "google-datetime", +"type": "string" +}, +"status": { +"$ref": "Status", +"description": "An optional final status for this span." +} +}, +"type": "object" +}, +"TruncatableString": { +"description": "Represents a string that might be shortened to a specified length.", +"id": "TruncatableString", +"properties": { +"truncatedByteCount": { +"description": "The number of bytes removed from the original string. If this value is 0, then the string was not shortened.", +"format": "int32", +"type": "integer" +}, +"value": { +"description": "The shortened string. For example, if the original string is 500 bytes long and the limit of the string is 128 bytes, then `value` contains the first 128 bytes of the 500-byte string. Truncation always happens on a UTF8 character boundary. If there are multi-byte characters in the string, then the length of the shortened string might be less than the size limit.", +"type": "string" +} +}, +"type": "object" +}, +"V1HttpRequest": { +"description": "A common proto for logging HTTP requests. Only contains semantics defined by the HTTP specification. Product-specific logging information MUST be defined in a separate message.", +"id": "V1HttpRequest", +"properties": { +"cacheFillBytes": { +"description": "The number of HTTP response bytes inserted into cache. Set only when a cache fill was attempted.", +"format": "int64", +"type": "string" +}, +"cacheHit": { +"description": "Whether or not an entity was served from cache (with or without validation).", +"type": "boolean" +}, +"cacheLookup": { +"description": "Whether or not a cache lookup was attempted.", +"type": "boolean" +}, +"cacheValidatedWithOriginServer": { +"description": "Whether or not the response was validated with the origin server before being served from cache. This field is only meaningful if `cache_hit` is True.", +"type": "boolean" +}, +"latency": { +"description": "The request processing latency on the server, from the time the request was received until the response was sent.", +"format": "google-duration", +"type": "string" +}, +"protocol": { +"description": "Protocol used for the request. Examples: \"HTTP/1.1\", \"HTTP/2\", \"websocket\"", +"type": "string" +}, +"referer": { +"description": "The referer URL of the request, as defined in [HTTP/1.1 Header Field Definitions](https://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html).", +"type": "string" +}, +"remoteIp": { +"description": "The IP address (IPv4 or IPv6) of the client that issued the HTTP request. Examples: `\"192.168.1.1\"`, `\"FE80::0202:B3FF:FE1E:8329\"`.", +"type": "string" +}, +"requestMethod": { +"description": "The request method. Examples: `\"GET\"`, `\"HEAD\"`, `\"PUT\"`, `\"POST\"`.", +"type": "string" +}, +"requestSize": { +"description": "The size of the HTTP request message in bytes, including the request headers and the request body.", +"format": "int64", +"type": "string" +}, +"requestUrl": { +"description": "The scheme (http, https), the host name, the path, and the query portion of the URL that was requested. Example: `\"http://example.com/some/info?color=red\"`.", +"type": "string" +}, +"responseSize": { +"description": "The size of the HTTP response message sent back to the client, in bytes, including the response headers and the response body.", +"format": "int64", +"type": "string" +}, +"serverIp": { +"description": "The IP address (IPv4 or IPv6) of the origin server that the request was sent to.", +"type": "string" +}, +"status": { +"description": "The response code indicating the status of the response. Examples: 200, 404.", +"format": "int32", +"type": "integer" +}, +"userAgent": { +"description": "The user agent sent by the client. Example: `\"Mozilla/4.0 (compatible; MSIE 6.0; Windows 98; Q312461; .NET CLR 1.0.3705)\"`.", +"type": "string" +} +}, +"type": "object" +}, +"V1LogEntry": { +"description": "An individual log entry.", +"id": "V1LogEntry", +"properties": { +"httpRequest": { +"$ref": "V1HttpRequest", +"description": "Optional. Information about the HTTP request associated with this log entry, if applicable." +}, +"insertId": { +"description": "A unique ID for the log entry used for deduplication. If omitted, the implementation will generate one based on operation_id.", +"type": "string" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "A set of user-defined (key, value) data that provides additional information about the log entry.", +"type": "object" +}, +"monitoredResourceLabels": { +"additionalProperties": { +"type": "string" +}, +"description": "A set of user-defined (key, value) data that provides additional information about the moniotored resource that the log entry belongs to.", +"type": "object" +}, +"name": { +"description": "Required. The log to which this log entry belongs. Examples: `\"syslog\"`, `\"book_log\"`.", +"type": "string" +}, +"operation": { +"$ref": "V1LogEntryOperation", +"description": "Optional. Information about an operation associated with the log entry, if applicable." +}, +"protoPayload": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "The log entry payload, represented as a protocol buffer that is expressed as a JSON object. The only accepted type currently is AuditLog.", +"type": "object" +}, +"severity": { +"description": "The severity of the log entry. The default value is `LogSeverity.DEFAULT`.", +"enum": [ +"DEFAULT", +"DEBUG", +"INFO", +"NOTICE", +"WARNING", +"ERROR", +"CRITICAL", +"ALERT", +"EMERGENCY" +], +"enumDescriptions": [ +"(0) The log entry has no assigned severity level.", +"(100) Debug or trace information.", +"(200) Routine information, such as ongoing status or performance.", +"(300) Normal but significant events, such as start up, shut down, or a configuration change.", +"(400) Warning events might cause problems.", +"(500) Error events are likely to cause problems.", +"(600) Critical events cause more severe problems or outages.", +"(700) A person must take an action immediately.", +"(800) One or more systems are unusable." +], +"type": "string" +}, +"sourceLocation": { +"$ref": "V1LogEntrySourceLocation", +"description": "Optional. Source code location information associated with the log entry, if any." +}, +"structPayload": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"description": "The log entry payload, represented as a structure that is expressed as a JSON object.", +"type": "object" +}, +"textPayload": { +"description": "The log entry payload, represented as a Unicode string (UTF-8).", +"type": "string" +}, +"timestamp": { +"description": "The time the event described by the log entry occurred. If omitted, defaults to operation start time.", +"format": "google-datetime", +"type": "string" +}, +"trace": { +"description": "Optional. Resource name of the trace associated with the log entry, if any. If this field contains a relative resource name, you can assume the name is relative to `//tracing.googleapis.com`. Example: `projects/my-projectid/traces/06796866738c859f2f19b7cfb3214824`", +"type": "string" +} +}, +"type": "object" +}, +"V1LogEntryOperation": { +"description": "Additional information about a potentially long-running operation with which a log entry is associated.", +"id": "V1LogEntryOperation", +"properties": { +"first": { +"description": "Optional. Set this to True if this is the first log entry in the operation.", +"type": "boolean" +}, +"id": { +"description": "Optional. An arbitrary operation identifier. Log entries with the same identifier are assumed to be part of the same operation.", +"type": "string" +}, +"last": { +"description": "Optional. Set this to True if this is the last log entry in the operation.", +"type": "boolean" +}, +"producer": { +"description": "Optional. An arbitrary producer identifier. The combination of `id` and `producer` must be globally unique. Examples for `producer`: `\"MyDivision.MyBigCompany.com\"`, `\"github.com/MyProject/MyApplication\"`.", +"type": "string" +} +}, +"type": "object" +}, +"V1LogEntrySourceLocation": { +"description": "Additional information about the source code location that produced the log entry.", +"id": "V1LogEntrySourceLocation", +"properties": { +"file": { +"description": "Optional. Source file name. Depending on the runtime environment, this might be a simple name or a fully-qualified name.", +"type": "string" +}, +"function": { +"description": "Optional. Human-readable name of the function or method being invoked, with optional context such as the class or package name. This information may be used in contexts such as the logs viewer, where a file and line number are less meaningful. The format can vary by language. For example: `qual.if.ied.Class.method` (Java), `dir/package.func` (Go), `function` (Python).", +"type": "string" +}, +"line": { +"description": "Optional. Line within the source file. 1-based; 0 indicates no line number available.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"V1ResourceEvent": { +"description": "Report v2 extension proto for passing the resource metadata associated with a resource create/update/delete/undelete event from ESF to Chemist. ResourceEvent proto should be serialized into the ReportRequest.operations.extensions.", +"id": "V1ResourceEvent", +"properties": { +"contextId": { +"description": "The ESF unique context id of the api request, from which this resource event originated. This field is only needed for CAIS integration via api annotation. See go/cais-lro-delete for more details.", +"format": "int64", +"type": "string" +}, +"destinations": { +"description": "The destinations field determines which backend services should handle the event. This should be specified as a comma-delimited string.", +"type": "string" +}, +"parent": { +"$ref": "Resource", +"description": "The parent resource for the resource." +}, +"path": { +"description": "The api path the resource event was created in. This should match the source of the `payload` field. For direct integrations with Chemist, this should generally be the RESPONSE. go/resource-event-pipeline-type", +"enum": [ +"API_PATH_UNSPECIFIED", +"REQUEST", +"RESPONSE" +], +"enumDescriptions": [ +"Default value. Do not use.", +"The request path.", +"The response path." +], +"type": "string" +}, +"payload": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "The payload contains metadata associated with the resource event. A ResourceEventPayloadStatus is provided instead if the original payload cannot be returned due to a limitation (e.g. size limit).", +"type": "object" +}, +"resource": { +"$ref": "Resource", +"description": "The resource associated with the event." +}, +"type": { +"description": "The resource event type determines how the backend service should process the event.", +"enum": [ +"TYPE_UNSPECIFIED", +"CREATE", +"UPDATE", +"DELETE", +"UNDELETE" +], +"enumDescriptions": [ +"The resource event type is unclear. We do not expect any events to fall into this category.", +"The resource is created/inserted.", +"The resource is updated.", +"The resource is deleted.", +"The resource is un-deleted." +], +"type": "string" +} +}, +"type": "object" +}, +"ViolationInfo": { +"description": "Provides information about the Policy violation info for this request.", +"id": "ViolationInfo", +"properties": { +"checkedValue": { +"description": "Optional. Value that is being checked for the policy. This could be in encrypted form (if pii sensitive). This field will only be emitted in LIST_POLICY types", +"type": "string" +}, +"constraint": { +"description": "Optional. Constraint name", +"type": "string" +}, +"constraintViolationInfo": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"description": "Optional. Provides extra information for the specific violated constraint. See the constraint's documentation to determine if this field is populated and what the structure of the message should be.", +"type": "object" +}, +"errorMessage": { +"description": "Optional. Error message that policy is indicating.", +"type": "string" +}, +"policyType": { +"description": "Optional. Indicates the type of the policy.", +"enum": [ +"POLICY_TYPE_UNSPECIFIED", +"BOOLEAN_CONSTRAINT", +"LIST_CONSTRAINT", +"CUSTOM_CONSTRAINT" +], +"enumDescriptions": [ +"Default value. This value should not be used.", +"Indicates boolean policy constraint", +"Indicates list policy constraint", +"Indicates custom policy constraint" +], +"type": "string" +} +}, +"type": "object" +} +}, +"servicePath": "", +"title": "Service Control API", +"version": "v1", +"version_module": true +} \ No newline at end of file diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/servicedirectory.v1.json b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/servicedirectory.v1.json new file mode 100644 index 0000000000000000000000000000000000000000..ed9ffe7c933bf824baccba125954a9706db6247a --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/servicedirectory.v1.json @@ -0,0 +1,1259 @@ +{ +"auth": { +"oauth2": { +"scopes": { +"https://www.googleapis.com/auth/cloud-platform": { +"description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." +} +} +} +}, +"basePath": "", +"baseUrl": "https://servicedirectory.googleapis.com/", +"batchPath": "batch", +"canonicalName": "Service Directory", +"description": "Service Directory is a platform for discovering, publishing, and connecting services. ", +"discoveryVersion": "v1", +"documentationLink": "https://cloud.google.com/service-directory", +"fullyEncodeReservedExpansion": true, +"icons": { +"x16": "http://www.google.com/images/icons/product/search-16.gif", +"x32": "http://www.google.com/images/icons/product/search-32.gif" +}, +"id": "servicedirectory:v1", +"kind": "discovery#restDescription", +"mtlsRootUrl": "https://servicedirectory.mtls.googleapis.com/", +"name": "servicedirectory", +"ownerDomain": "google.com", +"ownerName": "Google", +"parameters": { +"$.xgafv": { +"description": "V1 error format.", +"enum": [ +"1", +"2" +], +"enumDescriptions": [ +"v1 error format", +"v2 error format" +], +"location": "query", +"type": "string" +}, +"access_token": { +"description": "OAuth access token.", +"location": "query", +"type": "string" +}, +"alt": { +"default": "json", +"description": "Data format for response.", +"enum": [ +"json", +"media", +"proto" +], +"enumDescriptions": [ +"Responses with Content-Type of application/json", +"Media download with context-dependent Content-Type", +"Responses with Content-Type of application/x-protobuf" +], +"location": "query", +"type": "string" +}, +"callback": { +"description": "JSONP", +"location": "query", +"type": "string" +}, +"fields": { +"description": "Selector specifying which fields to include in a partial response.", +"location": "query", +"type": "string" +}, +"key": { +"description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", +"location": "query", +"type": "string" +}, +"oauth_token": { +"description": "OAuth 2.0 token for the current user.", +"location": "query", +"type": "string" +}, +"prettyPrint": { +"default": "true", +"description": "Returns response with indentations and line breaks.", +"location": "query", +"type": "boolean" +}, +"quotaUser": { +"description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.", +"location": "query", +"type": "string" +}, +"uploadType": { +"description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", +"location": "query", +"type": "string" +}, +"upload_protocol": { +"description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", +"location": "query", +"type": "string" +} +}, +"protocol": "rest", +"resources": { +"projects": { +"resources": { +"locations": { +"methods": { +"get": { +"description": "Gets information about a location.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}", +"httpMethod": "GET", +"id": "servicedirectory.projects.locations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Resource name for the location.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Location" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists information about the supported locations for this service. This method can be called in two ways: * **List all public locations:** Use the path `GET /v1/locations`. * **List project-visible locations:** Use the path `GET /v1/projects/{project_id}/locations`. This may include public locations as well as private or other locations specifically visible to the project.", +"flatPath": "v1/projects/{projectsId}/locations", +"httpMethod": "GET", +"id": "servicedirectory.projects.locations.list", +"parameterOrder": [ +"name" +], +"parameters": { +"extraLocationTypes": { +"description": "Optional. Do not use this field. It is unsupported and is ignored unless explicitly documented otherwise. This is primarily for internal usage.", +"location": "query", +"repeated": true, +"type": "string" +}, +"filter": { +"description": "A filter to narrow down results to a preferred subset. The filtering language accepts strings like `\"displayName=tokyo\"`, and is documented in more detail in [AIP-160](https://google.aip.dev/160).", +"location": "query", +"type": "string" +}, +"name": { +"description": "The resource that owns the locations collection, if applicable.", +"location": "path", +"pattern": "^projects/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The maximum number of results to return. If not set, the service selects a default.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A page token received from the `next_page_token` field in the response. Send that page token to receive the subsequent page.", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}/locations", +"response": { +"$ref": "ListLocationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"namespaces": { +"methods": { +"create": { +"description": "Creates a namespace, and returns the new namespace.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/namespaces", +"httpMethod": "POST", +"id": "servicedirectory.projects.locations.namespaces.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"namespaceId": { +"description": "Required. The Resource ID must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The resource name of the project and location the namespace will be created in.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/namespaces", +"request": { +"$ref": "Namespace" +}, +"response": { +"$ref": "Namespace" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a namespace. This also deletes all services and endpoints in the namespace.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/namespaces/{namespacesId}", +"httpMethod": "DELETE", +"id": "servicedirectory.projects.locations.namespaces.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the namespace to delete.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/namespaces/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets a namespace.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/namespaces/{namespacesId}", +"httpMethod": "GET", +"id": "servicedirectory.projects.locations.namespaces.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the namespace to retrieve.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/namespaces/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Namespace" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"getIamPolicy": { +"description": "Gets the IAM Policy for a resource (namespace or service only).", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/namespaces/{namespacesId}:getIamPolicy", +"httpMethod": "POST", +"id": "servicedirectory.projects.locations.namespaces.getIamPolicy", +"parameterOrder": [ +"resource" +], +"parameters": { +"resource": { +"description": "REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/namespaces/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+resource}:getIamPolicy", +"request": { +"$ref": "GetIamPolicyRequest" +}, +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists all namespaces.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/namespaces", +"httpMethod": "GET", +"id": "servicedirectory.projects.locations.namespaces.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Optional. The filter to list results by. General `filter` string syntax: ` ()` * `` can be `name` or `labels.` for map field * `` can be `<`, `>`, `<=`, `>=`, `!=`, `=`, `:`. Of which `:` means `HAS`, and is roughly the same as `=` * `` must be the same data type as field * `` can be `AND`, `OR`, `NOT` Examples of valid filters: * `labels.owner` returns namespaces that have a label with the key `owner`, this is the same as `labels:owner` * `labels.owner=sd` returns namespaces that have key/value `owner=sd` * `name>projects/my-project/locations/us-east1/namespaces/namespace-c` returns namespaces that have name that is alphabetically later than the string, so \"namespace-e\" is returned but \"namespace-a\" is not * `labels.owner!=sd AND labels.foo=bar` returns namespaces that have `owner` in label key but value is not `sd` AND have key/value `foo=bar` * `doesnotexist.foo=bar` returns an empty list. Note that namespace doesn't have a field called \"doesnotexist\". Since the filter does not match any namespaces, it returns no results For more information about filtering, see [API Filtering](https://aip.dev/160).", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "Optional. The order to list results by. General `order_by` string syntax: ` () (,)` * `` allows value: `name` * `` ascending or descending order by ``. If this is left blank, `asc` is used Note that an empty `order_by` string results in default order, which is order by `name` in ascending order.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Optional. The maximum number of items to return.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. The next_page_token value returned from a previous List request, if any.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The resource name of the project and location whose namespaces you'd like to list.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/namespaces", +"response": { +"$ref": "ListNamespacesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates a namespace.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/namespaces/{namespacesId}", +"httpMethod": "PATCH", +"id": "servicedirectory.projects.locations.namespaces.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Immutable. The resource name for the namespace in the format `projects/*/locations/*/namespaces/*`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/namespaces/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Required. List of fields to be updated in this request.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "Namespace" +}, +"response": { +"$ref": "Namespace" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"setIamPolicy": { +"description": "Sets the IAM Policy for a resource (namespace or service only).", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/namespaces/{namespacesId}:setIamPolicy", +"httpMethod": "POST", +"id": "servicedirectory.projects.locations.namespaces.setIamPolicy", +"parameterOrder": [ +"resource" +], +"parameters": { +"resource": { +"description": "REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/namespaces/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+resource}:setIamPolicy", +"request": { +"$ref": "SetIamPolicyRequest" +}, +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"testIamPermissions": { +"description": "Tests IAM permissions for a resource (namespace or service only).", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/namespaces/{namespacesId}:testIamPermissions", +"httpMethod": "POST", +"id": "servicedirectory.projects.locations.namespaces.testIamPermissions", +"parameterOrder": [ +"resource" +], +"parameters": { +"resource": { +"description": "REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/namespaces/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+resource}:testIamPermissions", +"request": { +"$ref": "TestIamPermissionsRequest" +}, +"response": { +"$ref": "TestIamPermissionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"services": { +"methods": { +"create": { +"description": "Creates a service, and returns the new service.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/namespaces/{namespacesId}/services", +"httpMethod": "POST", +"id": "servicedirectory.projects.locations.namespaces.services.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The resource name of the namespace this service will belong to.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/namespaces/[^/]+$", +"required": true, +"type": "string" +}, +"serviceId": { +"description": "Required. The Resource ID must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+parent}/services", +"request": { +"$ref": "Service" +}, +"response": { +"$ref": "Service" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a service. This also deletes all endpoints associated with the service.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/namespaces/{namespacesId}/services/{servicesId}", +"httpMethod": "DELETE", +"id": "servicedirectory.projects.locations.namespaces.services.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the service to delete.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/namespaces/[^/]+/services/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets a service.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/namespaces/{namespacesId}/services/{servicesId}", +"httpMethod": "GET", +"id": "servicedirectory.projects.locations.namespaces.services.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the service to get.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/namespaces/[^/]+/services/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Service" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"getIamPolicy": { +"description": "Gets the IAM Policy for a resource (namespace or service only).", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/namespaces/{namespacesId}/services/{servicesId}:getIamPolicy", +"httpMethod": "POST", +"id": "servicedirectory.projects.locations.namespaces.services.getIamPolicy", +"parameterOrder": [ +"resource" +], +"parameters": { +"resource": { +"description": "REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/namespaces/[^/]+/services/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+resource}:getIamPolicy", +"request": { +"$ref": "GetIamPolicyRequest" +}, +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists all services belonging to a namespace.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/namespaces/{namespacesId}/services", +"httpMethod": "GET", +"id": "servicedirectory.projects.locations.namespaces.services.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Optional. The filter to list results by. General `filter` string syntax: ` ()` * `` can be `name` or `annotations.` for map field * `` can be `<`, `>`, `<=`, `>=`, `!=`, `=`, `:`. Of which `:` means `HAS`, and is roughly the same as `=` * `` must be the same data type as field * `` can be `AND`, `OR`, `NOT` Examples of valid filters: * `annotations.owner` returns services that have a annotation with the key `owner`, this is the same as `annotations:owner` * `annotations.protocol=gRPC` returns services that have key/value `protocol=gRPC` * `name>projects/my-project/locations/us-east1/namespaces/my-namespace/services/service-c` returns services that have name that is alphabetically later than the string, so \"service-e\" is returned but \"service-a\" is not * `annotations.owner!=sd AND annotations.foo=bar` returns services that have `owner` in annotation key but value is not `sd` AND have key/value `foo=bar` * `doesnotexist.foo=bar` returns an empty list. Note that service doesn't have a field called \"doesnotexist\". Since the filter does not match any services, it returns no results For more information about filtering, see [API Filtering](https://aip.dev/160).", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "Optional. The order to list results by. General `order_by` string syntax: ` () (,)` * `` allows value: `name` * `` ascending or descending order by ``. If this is left blank, `asc` is used Note that an empty `order_by` string results in default order, which is order by `name` in ascending order.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Optional. The maximum number of items to return.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. The next_page_token value returned from a previous List request, if any.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The resource name of the namespace whose services you'd like to list.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/namespaces/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/services", +"response": { +"$ref": "ListServicesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates a service.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/namespaces/{namespacesId}/services/{servicesId}", +"httpMethod": "PATCH", +"id": "servicedirectory.projects.locations.namespaces.services.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Immutable. The resource name for the service in the format `projects/*/locations/*/namespaces/*/services/*`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/namespaces/[^/]+/services/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Required. List of fields to be updated in this request.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "Service" +}, +"response": { +"$ref": "Service" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"resolve": { +"description": "Returns a service and its associated endpoints. Resolving a service is not considered an active developer method.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/namespaces/{namespacesId}/services/{servicesId}:resolve", +"httpMethod": "POST", +"id": "servicedirectory.projects.locations.namespaces.services.resolve", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the service to resolve.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/namespaces/[^/]+/services/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:resolve", +"request": { +"$ref": "ResolveServiceRequest" +}, +"response": { +"$ref": "ResolveServiceResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"setIamPolicy": { +"description": "Sets the IAM Policy for a resource (namespace or service only).", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/namespaces/{namespacesId}/services/{servicesId}:setIamPolicy", +"httpMethod": "POST", +"id": "servicedirectory.projects.locations.namespaces.services.setIamPolicy", +"parameterOrder": [ +"resource" +], +"parameters": { +"resource": { +"description": "REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/namespaces/[^/]+/services/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+resource}:setIamPolicy", +"request": { +"$ref": "SetIamPolicyRequest" +}, +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"testIamPermissions": { +"description": "Tests IAM permissions for a resource (namespace or service only).", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/namespaces/{namespacesId}/services/{servicesId}:testIamPermissions", +"httpMethod": "POST", +"id": "servicedirectory.projects.locations.namespaces.services.testIamPermissions", +"parameterOrder": [ +"resource" +], +"parameters": { +"resource": { +"description": "REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/namespaces/[^/]+/services/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+resource}:testIamPermissions", +"request": { +"$ref": "TestIamPermissionsRequest" +}, +"response": { +"$ref": "TestIamPermissionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"endpoints": { +"methods": { +"create": { +"description": "Creates an endpoint, and returns the new endpoint.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/namespaces/{namespacesId}/services/{servicesId}/endpoints", +"httpMethod": "POST", +"id": "servicedirectory.projects.locations.namespaces.services.endpoints.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"endpointId": { +"description": "Required. The Resource ID must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The resource name of the service that this endpoint provides.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/namespaces/[^/]+/services/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/endpoints", +"request": { +"$ref": "Endpoint" +}, +"response": { +"$ref": "Endpoint" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes an endpoint.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/namespaces/{namespacesId}/services/{servicesId}/endpoints/{endpointsId}", +"httpMethod": "DELETE", +"id": "servicedirectory.projects.locations.namespaces.services.endpoints.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the endpoint to delete.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/namespaces/[^/]+/services/[^/]+/endpoints/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets an endpoint.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/namespaces/{namespacesId}/services/{servicesId}/endpoints/{endpointsId}", +"httpMethod": "GET", +"id": "servicedirectory.projects.locations.namespaces.services.endpoints.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the endpoint to get.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/namespaces/[^/]+/services/[^/]+/endpoints/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Endpoint" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists all endpoints.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/namespaces/{namespacesId}/services/{servicesId}/endpoints", +"httpMethod": "GET", +"id": "servicedirectory.projects.locations.namespaces.services.endpoints.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Optional. The filter to list results by. General `filter` string syntax: ` ()` * `` can be `name`, `address`, `port`, or `annotations.` for map field * `` can be `<`, `>`, `<=`, `>=`, `!=`, `=`, `:`. Of which `:` means `HAS`, and is roughly the same as `=` * `` must be the same data type as field * `` can be `AND`, `OR`, `NOT` Examples of valid filters: * `annotations.owner` returns endpoints that have a annotation with the key `owner`, this is the same as `annotations:owner` * `annotations.protocol=gRPC` returns endpoints that have key/value `protocol=gRPC` * `address=192.108.1.105` returns endpoints that have this address * `port>8080` returns endpoints that have port number larger than 8080 * `name>projects/my-project/locations/us-east1/namespaces/my-namespace/services/my-service/endpoints/endpoint-c` returns endpoints that have name that is alphabetically later than the string, so \"endpoint-e\" is returned but \"endpoint-a\" is not * `annotations.owner!=sd AND annotations.foo=bar` returns endpoints that have `owner` in annotation key but value is not `sd` AND have key/value `foo=bar` * `doesnotexist.foo=bar` returns an empty list. Note that endpoint doesn't have a field called \"doesnotexist\". Since the filter does not match any endpoints, it returns no results For more information about filtering, see [API Filtering](https://aip.dev/160).", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "Optional. The order to list results by. General `order_by` string syntax: ` () (,)` * `` allows values: `name`, `address`, `port` * `` ascending or descending order by ``. If this is left blank, `asc` is used Note that an empty `order_by` string results in default order, which is order by `name` in ascending order.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Optional. The maximum number of items to return.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. The next_page_token value returned from a previous List request, if any.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The resource name of the service whose endpoints you'd like to list.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/namespaces/[^/]+/services/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/endpoints", +"response": { +"$ref": "ListEndpointsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates an endpoint.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/namespaces/{namespacesId}/services/{servicesId}/endpoints/{endpointsId}", +"httpMethod": "PATCH", +"id": "servicedirectory.projects.locations.namespaces.services.endpoints.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Immutable. The resource name for the endpoint in the format `projects/*/locations/*/namespaces/*/services/*/endpoints/*`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/namespaces/[^/]+/services/[^/]+/endpoints/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Required. List of fields to be updated in this request.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "Endpoint" +}, +"response": { +"$ref": "Endpoint" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +} +} +} +} +} +} +} +}, +"revision": "20260217", +"rootUrl": "https://servicedirectory.googleapis.com/", +"schemas": { +"Binding": { +"description": "Associates `members`, or principals, with a `role`.", +"id": "Binding", +"properties": { +"condition": { +"$ref": "Expr", +"description": "The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies)." +}, +"members": { +"description": "Specifies the principals requesting access for a Google Cloud resource. `members` can have the following values: * `allUsers`: A special identifier that represents anyone who is on the internet; with or without a Google account. * `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service account. Does not include identities that come from external identity providers (IdPs) through identity federation. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `group:{emailid}`: An email address that represents a Google group. For example, `admins@example.com`. * `domain:{domain}`: The G Suite domain (primary) that represents all the users of that domain. For example, `google.com` or `example.com`. * `principal://iam.googleapis.com/locations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}`: A single identity in a workforce identity pool. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/group/{group_id}`: All workforce identities in a group. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/attribute.{attribute_name}/{attribute_value}`: All workforce identities with a specific attribute value. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/*`: All identities in a workforce identity pool. * `principal://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/subject/{subject_attribute_value}`: A single identity in a workload identity pool. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/group/{group_id}`: A workload identity pool group. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/attribute.{attribute_name}/{attribute_value}`: All identities in a workload identity pool with a certain attribute. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/*`: All identities in a workload identity pool. * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a user that has been recently deleted. For example, `alice@example.com?uid=123456789012345678901`. If the user is recovered, this value reverts to `user:{emailid}` and the recovered user retains the role in the binding. * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a service account that has been recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the service account is undeleted, this value reverts to `serviceAccount:{emailid}` and the undeleted service account retains the role in the binding. * `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a Google group that has been recently deleted. For example, `admins@example.com?uid=123456789012345678901`. If the group is recovered, this value reverts to `group:{emailid}` and the recovered group retains the role in the binding. * `deleted:principal://iam.googleapis.com/locations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}`: Deleted single identity in a workforce identity pool. For example, `deleted:principal://iam.googleapis.com/locations/global/workforcePools/my-pool-id/subject/my-subject-attribute-value`.", +"items": { +"type": "string" +}, +"type": "array" +}, +"role": { +"description": "Role that is assigned to the list of `members`, or principals. For example, `roles/viewer`, `roles/editor`, or `roles/owner`. For an overview of the IAM roles and permissions, see the [IAM documentation](https://cloud.google.com/iam/docs/roles-overview). For a list of the available pre-defined roles, see [here](https://cloud.google.com/iam/docs/understanding-roles).", +"type": "string" +} +}, +"type": "object" +}, +"Empty": { +"description": "A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }", +"id": "Empty", +"properties": {}, +"type": "object" +}, +"Endpoint": { +"description": "An individual endpoint that provides a service. The service must already exist to create an endpoint.", +"id": "Endpoint", +"properties": { +"address": { +"description": "Optional. An IPv4 or IPv6 address. Service Directory rejects bad addresses like: * `8.8.8` * `8.8.8.8:53` * `test:bad:address` * `[::1]` * `[::1]:8080` Limited to 45 characters.", +"type": "string" +}, +"annotations": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. Annotations for the endpoint. This data can be consumed by service clients. Restrictions: * The entire annotations dictionary may contain up to 512 characters, spread accoss all key-value pairs. Annotations that go beyond this limit are rejected * Valid annotation keys have two segments: an optional prefix and name, separated by a slash (/). The name segment is required and must be 63 characters or less, beginning and ending with an alphanumeric character ([a-z0-9A-Z]) with dashes (-), underscores (_), dots (.), and alphanumerics between. The prefix is optional. If specified, the prefix must be a DNS subdomain: a series of DNS labels separated by dots (.), not longer than 253 characters in total, followed by a slash (/) Annotations that fails to meet these requirements are rejected. Note: This field is equivalent to the `metadata` field in the v1beta1 API. They have the same syntax and read/write to the same location in Service Directory.", +"type": "object" +}, +"name": { +"description": "Immutable. The resource name for the endpoint in the format `projects/*/locations/*/namespaces/*/services/*/endpoints/*`.", +"type": "string" +}, +"network": { +"description": "Immutable. The Google Compute Engine network (VPC) of the endpoint in the format `projects//locations/global/networks/*`. The project must be specified by project number (project id is rejected). Incorrectly formatted networks are rejected, we also check to make sure that you have the servicedirectory.networks.attach permission on the project specified.", +"type": "string" +}, +"port": { +"description": "Optional. Service Directory rejects values outside of `[0, 65535]`.", +"format": "int32", +"type": "integer" +}, +"uid": { +"description": "Output only. The globally unique identifier of the endpoint in the UUID4 format.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"Expr": { +"description": "Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: \"Summary size limit\" description: \"Determines if a summary is less than 100 chars\" expression: \"document.summary.size() < 100\" Example (Equality): title: \"Requestor is owner\" description: \"Determines if requestor is the document owner\" expression: \"document.owner == request.auth.claims.email\" Example (Logic): title: \"Public documents\" description: \"Determine whether the document should be publicly visible\" expression: \"document.type != 'private' && document.type != 'internal'\" Example (Data Manipulation): title: \"Notification string\" description: \"Create a notification string with a timestamp.\" expression: \"'New message received at ' + string(document.create_time)\" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information.", +"id": "Expr", +"properties": { +"description": { +"description": "Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI.", +"type": "string" +}, +"expression": { +"description": "Textual representation of an expression in Common Expression Language syntax.", +"type": "string" +}, +"location": { +"description": "Optional. String indicating the location of the expression for error reporting, e.g. a file name and a position in the file.", +"type": "string" +}, +"title": { +"description": "Optional. Title for the expression, i.e. a short string describing its purpose. This can be used e.g. in UIs which allow to enter the expression.", +"type": "string" +} +}, +"type": "object" +}, +"GetIamPolicyRequest": { +"description": "Request message for `GetIamPolicy` method.", +"id": "GetIamPolicyRequest", +"properties": { +"options": { +"$ref": "GetPolicyOptions", +"description": "OPTIONAL: A `GetPolicyOptions` object for specifying options to `GetIamPolicy`." +} +}, +"type": "object" +}, +"GetPolicyOptions": { +"description": "Encapsulates settings provided to GetIamPolicy.", +"id": "GetPolicyOptions", +"properties": { +"requestedPolicyVersion": { +"description": "Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"ListEndpointsResponse": { +"description": "The response message for RegistrationService.ListEndpoints.", +"id": "ListEndpointsResponse", +"properties": { +"endpoints": { +"description": "The list of endpoints.", +"items": { +"$ref": "Endpoint" +}, +"type": "array" +}, +"nextPageToken": { +"description": "Token to retrieve the next page of results, or empty if there are no more results in the list.", +"type": "string" +} +}, +"type": "object" +}, +"ListLocationsResponse": { +"description": "The response message for Locations.ListLocations.", +"id": "ListLocationsResponse", +"properties": { +"locations": { +"description": "A list of locations that matches the specified filter in the request.", +"items": { +"$ref": "Location" +}, +"type": "array" +}, +"nextPageToken": { +"description": "The standard List next-page token.", +"type": "string" +} +}, +"type": "object" +}, +"ListNamespacesResponse": { +"description": "The response message for RegistrationService.ListNamespaces.", +"id": "ListNamespacesResponse", +"properties": { +"namespaces": { +"description": "The list of namespaces.", +"items": { +"$ref": "Namespace" +}, +"type": "array" +}, +"nextPageToken": { +"description": "Token to retrieve the next page of results, or empty if there are no more results in the list.", +"type": "string" +} +}, +"type": "object" +}, +"ListServicesResponse": { +"description": "The response message for RegistrationService.ListServices.", +"id": "ListServicesResponse", +"properties": { +"nextPageToken": { +"description": "Token to retrieve the next page of results, or empty if there are no more results in the list.", +"type": "string" +}, +"services": { +"description": "The list of services.", +"items": { +"$ref": "Service" +}, +"type": "array" +} +}, +"type": "object" +}, +"Location": { +"description": "A resource that represents a Google Cloud location.", +"id": "Location", +"properties": { +"displayName": { +"description": "The friendly name for this location, typically a nearby city name. For example, \"Tokyo\".", +"type": "string" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Cross-service attributes for the location. For example {\"cloud.googleapis.com/region\": \"us-east1\"}", +"type": "object" +}, +"locationId": { +"description": "The canonical id for this location. For example: `\"us-east1\"`.", +"type": "string" +}, +"metadata": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "Service-specific metadata. For example the available capacity at the given location.", +"type": "object" +}, +"name": { +"description": "Resource name for the location, which may vary between implementations. For example: `\"projects/example-project/locations/us-east1\"`", +"type": "string" +} +}, +"type": "object" +}, +"Namespace": { +"description": "A container for services. Namespaces allow administrators to group services together and define permissions for a collection of services.", +"id": "Namespace", +"properties": { +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. Resource labels associated with this namespace. No more than 64 user labels can be associated with a given resource. Label keys and values can be no longer than 63 characters.", +"type": "object" +}, +"name": { +"description": "Immutable. The resource name for the namespace in the format `projects/*/locations/*/namespaces/*`.", +"type": "string" +}, +"uid": { +"description": "Output only. The globally unique identifier of the namespace in the UUID4 format.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"Policy": { +"description": "An Identity and Access Management (IAM) policy, which specifies access controls for Google Cloud resources. A `Policy` is a collection of `bindings`. A `binding` binds one or more `members`, or principals, to a single `role`. Principals can be user accounts, service accounts, Google groups, and domains (such as G Suite). A `role` is a named list of permissions; each `role` can be an IAM predefined role or a user-created custom role. For some types of Google Cloud resources, a `binding` can also specify a `condition`, which is a logical expression that allows access to a resource only if the expression evaluates to `true`. A condition can add constraints based on attributes of the request, the resource, or both. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). **JSON example:** ``` { \"bindings\": [ { \"role\": \"roles/resourcemanager.organizationAdmin\", \"members\": [ \"user:mike@example.com\", \"group:admins@example.com\", \"domain:google.com\", \"serviceAccount:my-project-id@appspot.gserviceaccount.com\" ] }, { \"role\": \"roles/resourcemanager.organizationViewer\", \"members\": [ \"user:eve@example.com\" ], \"condition\": { \"title\": \"expirable access\", \"description\": \"Does not grant access after Sep 2020\", \"expression\": \"request.time < timestamp('2020-10-01T00:00:00.000Z')\", } } ], \"etag\": \"BwWWja0YfJA=\", \"version\": 3 } ``` **YAML example:** ``` bindings: - members: - user:mike@example.com - group:admins@example.com - domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.com role: roles/resourcemanager.organizationViewer condition: title: expirable access description: Does not grant access after Sep 2020 expression: request.time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 ``` For a description of IAM and its features, see the [IAM documentation](https://cloud.google.com/iam/docs/).", +"id": "Policy", +"properties": { +"bindings": { +"description": "Associates a list of `members`, or principals, with a `role`. Optionally, may specify a `condition` that determines how and when the `bindings` are applied. Each of the `bindings` must contain at least one principal. The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250 of these principals can be Google groups. Each occurrence of a principal counts towards these limits. For example, if the `bindings` grant 50 different roles to `user:alice@example.com`, and not to any other principal, then you can add another 1,450 principals to the `bindings` in the `Policy`.", +"items": { +"$ref": "Binding" +}, +"type": "array" +}, +"etag": { +"description": "`etag` is used for optimistic concurrency control as a way to help prevent simultaneous updates of a policy from overwriting each other. It is strongly suggested that systems make use of the `etag` in the read-modify-write cycle to perform policy updates in order to avoid race conditions: An `etag` is returned in the response to `getIamPolicy`, and systems are expected to put that etag in the request to `setIamPolicy` to ensure that their change will be applied to the same version of the policy. **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost.", +"format": "byte", +"type": "string" +}, +"version": { +"description": "Specifies the format of the policy. Valid values are `0`, `1`, and `3`. Requests that specify an invalid value are rejected. Any operation that affects conditional role bindings must specify version `3`. This requirement applies to the following operations: * Getting a policy that includes a conditional role binding * Adding a conditional role binding to a policy * Changing a conditional role binding in a policy * Removing any role binding, with or without a condition, from a policy that includes conditions **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost. If a policy does not include any conditions, operations on that policy may specify any valid version or leave the field unset. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"ResolveServiceRequest": { +"description": "The request message for LookupService.ResolveService. Looks up a service by its name, returns the service and its endpoints.", +"id": "ResolveServiceRequest", +"properties": { +"endpointFilter": { +"description": "Optional. The filter applied to the endpoints of the resolved service. General `filter` string syntax: ` ()` * `` can be `name`, `address`, `port`, or `annotations.` for map field * `` can be `<`, `>`, `<=`, `>=`, `!=`, `=`, `:`. Of which `:` means `HAS`, and is roughly the same as `=` * `` must be the same data type as field * `` can be `AND`, `OR`, `NOT` Examples of valid filters: * `annotations.owner` returns endpoints that have a annotation with the key `owner`, this is the same as `annotations:owner` * `annotations.protocol=gRPC` returns endpoints that have key/value `protocol=gRPC` * `address=192.108.1.105` returns endpoints that have this address * `port>8080` returns endpoints that have port number larger than 8080 * `name>projects/my-project/locations/us-east1/namespaces/my-namespace/services/my-service/endpoints/endpoint-c` returns endpoints that have name that is alphabetically later than the string, so \"endpoint-e\" is returned but \"endpoint-a\" is not * `name=projects/my-project/locations/us-central1/namespaces/my-namespace/services/my-service/endpoints/ep-1` returns the endpoint that has an endpoint_id equal to `ep-1` * `annotations.owner!=sd AND annotations.foo=bar` returns endpoints that have `owner` in annotation key but value is not `sd` AND have key/value `foo=bar` * `doesnotexist.foo=bar` returns an empty list. Note that endpoint doesn't have a field called \"doesnotexist\". Since the filter does not match any endpoint, it returns no results For more information about filtering, see [API Filtering](https://aip.dev/160).", +"type": "string" +}, +"maxEndpoints": { +"description": "Optional. The maximum number of endpoints to return. Defaults to 25. Maximum is 100. If a value less than one is specified, the Default is used. If a value greater than the Maximum is specified, the Maximum is used.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"ResolveServiceResponse": { +"description": "The response message for LookupService.ResolveService.", +"id": "ResolveServiceResponse", +"properties": { +"service": { +"$ref": "Service" +} +}, +"type": "object" +}, +"Service": { +"description": "An individual service. A service contains a name and optional metadata. A service must exist before endpoints can be added to it.", +"id": "Service", +"properties": { +"annotations": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. Annotations for the service. This data can be consumed by service clients. Restrictions: * The entire annotations dictionary may contain up to 2000 characters, spread accoss all key-value pairs. Annotations that go beyond this limit are rejected * Valid annotation keys have two segments: an optional prefix and name, separated by a slash (/). The name segment is required and must be 63 characters or less, beginning and ending with an alphanumeric character ([a-z0-9A-Z]) with dashes (-), underscores (_), dots (.), and alphanumerics between. The prefix is optional. If specified, the prefix must be a DNS subdomain: a series of DNS labels separated by dots (.), not longer than 253 characters in total, followed by a slash (/). Annotations that fails to meet these requirements are rejected Note: This field is equivalent to the `metadata` field in the v1beta1 API. They have the same syntax and read/write to the same location in Service Directory.", +"type": "object" +}, +"endpoints": { +"description": "Output only. Endpoints associated with this service. Returned on LookupService.ResolveService. Control plane clients should use RegistrationService.ListEndpoints.", +"items": { +"$ref": "Endpoint" +}, +"readOnly": true, +"type": "array" +}, +"name": { +"description": "Immutable. The resource name for the service in the format `projects/*/locations/*/namespaces/*/services/*`.", +"type": "string" +}, +"uid": { +"description": "Output only. The globally unique identifier of the service in the UUID4 format.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"SetIamPolicyRequest": { +"description": "Request message for `SetIamPolicy` method.", +"id": "SetIamPolicyRequest", +"properties": { +"policy": { +"$ref": "Policy", +"description": "REQUIRED: The complete policy to be applied to the `resource`. The size of the policy is limited to a few 10s of KB. An empty policy is a valid policy but certain Google Cloud services (such as Projects) might reject them." +} +}, +"type": "object" +}, +"TestIamPermissionsRequest": { +"description": "Request message for `TestIamPermissions` method.", +"id": "TestIamPermissionsRequest", +"properties": { +"permissions": { +"description": "The set of permissions to check for the `resource`. Permissions with wildcards (such as `*` or `storage.*`) are not allowed. For more information see [IAM Overview](https://cloud.google.com/iam/docs/overview#permissions).", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"TestIamPermissionsResponse": { +"description": "Response message for `TestIamPermissions` method.", +"id": "TestIamPermissionsResponse", +"properties": { +"permissions": { +"description": "A subset of `TestPermissionsRequest.permissions` that the caller is allowed.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +} +}, +"servicePath": "", +"title": "Service Directory API", +"version": "v1", +"version_module": true +} \ No newline at end of file diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/sourcerepo.v1.json b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/sourcerepo.v1.json new file mode 100644 index 0000000000000000000000000000000000000000..5eb61633573dccc3c48dcbb4db22a696bf57c631 --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/sourcerepo.v1.json @@ -0,0 +1,879 @@ +{ +"auth": { +"oauth2": { +"scopes": { +"https://www.googleapis.com/auth/cloud-platform": { +"description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." +}, +"https://www.googleapis.com/auth/source.full_control": { +"description": "Manage your source code repositories" +}, +"https://www.googleapis.com/auth/source.read_only": { +"description": "View the contents of your source code repositories" +}, +"https://www.googleapis.com/auth/source.read_write": { +"description": "Manage the contents of your source code repositories" +} +} +} +}, +"basePath": "", +"baseUrl": "https://sourcerepo.googleapis.com/", +"batchPath": "batch", +"canonicalName": "Cloud Source Repositories", +"description": "Accesses source code repositories hosted by Google. Important: Cloud Source Repositories is scheduled for end of sales starting June 17, 2024. Customers who have enabled the API prior to this date will not be affected and can continue to use Cloud Source Repositories. Organizations or projects who have not previously enabled the API cannot use Cloud Source Repositories after this date. View Cloud Source Repositories documentation for more info. ", +"discoveryVersion": "v1", +"documentationLink": "https://cloud.google.com/source-repositories/docs", +"fullyEncodeReservedExpansion": true, +"icons": { +"x16": "http://www.google.com/images/icons/product/search-16.gif", +"x32": "http://www.google.com/images/icons/product/search-32.gif" +}, +"id": "sourcerepo:v1", +"kind": "discovery#restDescription", +"mtlsRootUrl": "https://sourcerepo.mtls.googleapis.com/", +"name": "sourcerepo", +"ownerDomain": "google.com", +"ownerName": "Google", +"parameters": { +"$.xgafv": { +"description": "V1 error format.", +"enum": [ +"1", +"2" +], +"enumDescriptions": [ +"v1 error format", +"v2 error format" +], +"location": "query", +"type": "string" +}, +"access_token": { +"description": "OAuth access token.", +"location": "query", +"type": "string" +}, +"alt": { +"default": "json", +"description": "Data format for response.", +"enum": [ +"json", +"media", +"proto" +], +"enumDescriptions": [ +"Responses with Content-Type of application/json", +"Media download with context-dependent Content-Type", +"Responses with Content-Type of application/x-protobuf" +], +"location": "query", +"type": "string" +}, +"callback": { +"description": "JSONP", +"location": "query", +"type": "string" +}, +"fields": { +"description": "Selector specifying which fields to include in a partial response.", +"location": "query", +"type": "string" +}, +"key": { +"description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", +"location": "query", +"type": "string" +}, +"oauth_token": { +"description": "OAuth 2.0 token for the current user.", +"location": "query", +"type": "string" +}, +"prettyPrint": { +"default": "true", +"description": "Returns response with indentations and line breaks.", +"location": "query", +"type": "boolean" +}, +"quotaUser": { +"description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.", +"location": "query", +"type": "string" +}, +"uploadType": { +"description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", +"location": "query", +"type": "string" +}, +"upload_protocol": { +"description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", +"location": "query", +"type": "string" +} +}, +"protocol": "rest", +"resources": { +"projects": { +"methods": { +"getConfig": { +"description": "Returns the Cloud Source Repositories configuration of the project.", +"flatPath": "v1/projects/{projectsId}/config", +"httpMethod": "GET", +"id": "sourcerepo.projects.getConfig", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the requested project. Values are of the form `projects/`.", +"location": "path", +"pattern": "^projects/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}/config", +"response": { +"$ref": "ProjectConfig" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"updateConfig": { +"description": "Updates the Cloud Source Repositories configuration of the project.", +"flatPath": "v1/projects/{projectsId}/config", +"httpMethod": "PATCH", +"id": "sourcerepo.projects.updateConfig", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the requested project. Values are of the form `projects/`.", +"location": "path", +"pattern": "^projects/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}/config", +"request": { +"$ref": "UpdateProjectConfigRequest" +}, +"response": { +"$ref": "ProjectConfig" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"repos": { +"methods": { +"create": { +"description": "Creates a repo in the given project with the given name. If the named repository already exists, `CreateRepo` returns `ALREADY_EXISTS`.", +"flatPath": "v1/projects/{projectsId}/repos", +"httpMethod": "POST", +"id": "sourcerepo.projects.repos.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "The project in which to create the repo. Values are of the form `projects/`.", +"location": "path", +"pattern": "^projects/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/repos", +"request": { +"$ref": "Repo" +}, +"response": { +"$ref": "Repo" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/source.full_control" +] +}, +"delete": { +"description": "Deletes a repo.", +"flatPath": "v1/projects/{projectsId}/repos/{reposId}", +"httpMethod": "DELETE", +"id": "sourcerepo.projects.repos.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the repo to delete. Values are of the form `projects//repos/`.", +"location": "path", +"pattern": "^projects/[^/]+/repos/.*$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/source.full_control" +] +}, +"get": { +"description": "Returns information about a repo.", +"flatPath": "v1/projects/{projectsId}/repos/{reposId}", +"httpMethod": "GET", +"id": "sourcerepo.projects.repos.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the requested repository. Values are of the form `projects//repos/`.", +"location": "path", +"pattern": "^projects/[^/]+/repos/.*$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Repo" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/source.full_control", +"https://www.googleapis.com/auth/source.read_only", +"https://www.googleapis.com/auth/source.read_write" +] +}, +"getIamPolicy": { +"description": "Gets the IAM policy policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.", +"flatPath": "v1/projects/{projectsId}/repos/{reposId}:getIamPolicy", +"httpMethod": "GET", +"id": "sourcerepo.projects.repos.getIamPolicy", +"parameterOrder": [ +"resource" +], +"parameters": { +"options.requestedPolicyVersion": { +"description": "Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).", +"format": "int32", +"location": "query", +"type": "integer" +}, +"resource": { +"description": "REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", +"location": "path", +"pattern": "^projects/[^/]+/repos/.*$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+resource}:getIamPolicy", +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/source.full_control", +"https://www.googleapis.com/auth/source.read_only", +"https://www.googleapis.com/auth/source.read_write" +] +}, +"list": { +"description": "Returns all repos belonging to a project. The sizes of the repos are not set by ListRepos. To get the size of a repo, use GetRepo.", +"flatPath": "v1/projects/{projectsId}/repos", +"httpMethod": "GET", +"id": "sourcerepo.projects.repos.list", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The project ID whose repos should be listed. Values are of the form `projects/`.", +"location": "path", +"pattern": "^projects/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "Maximum number of repositories to return; between 1 and 500. If not set or zero, defaults to 100 at the server.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Resume listing repositories where a prior ListReposResponse left off. This is an opaque token that must be obtained from a recent, prior ListReposResponse's next_page_token field.", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}/repos", +"response": { +"$ref": "ListReposResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/source.full_control", +"https://www.googleapis.com/auth/source.read_only", +"https://www.googleapis.com/auth/source.read_write" +] +}, +"patch": { +"description": "Updates information about a repo.", +"flatPath": "v1/projects/{projectsId}/repos/{reposId}", +"httpMethod": "PATCH", +"id": "sourcerepo.projects.repos.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the requested repository. Values are of the form `projects//repos/`.", +"location": "path", +"pattern": "^projects/[^/]+/repos/.*$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "UpdateRepoRequest" +}, +"response": { +"$ref": "Repo" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"setIamPolicy": { +"description": "Sets the IAM policy on the specified resource. Replaces any existing policy.", +"flatPath": "v1/projects/{projectsId}/repos/{reposId}:setIamPolicy", +"httpMethod": "POST", +"id": "sourcerepo.projects.repos.setIamPolicy", +"parameterOrder": [ +"resource" +], +"parameters": { +"resource": { +"description": "REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", +"location": "path", +"pattern": "^projects/[^/]+/repos/.*$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+resource}:setIamPolicy", +"request": { +"$ref": "SetIamPolicyRequest" +}, +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/source.full_control" +] +}, +"sync": { +"description": "Synchronize a connected repo. The response contains SyncRepoMetadata in the metadata field.", +"flatPath": "v1/projects/{projectsId}/repos/{reposId}:sync", +"httpMethod": "POST", +"id": "sourcerepo.projects.repos.sync", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the repo to synchronize. Values are of the form `projects//repos/`.", +"location": "path", +"pattern": "^projects/[^/]+/repos/.*$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:sync", +"request": { +"$ref": "SyncRepoRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"testIamPermissions": { +"description": "Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a NOT_FOUND error.", +"flatPath": "v1/projects/{projectsId}/repos/{reposId}:testIamPermissions", +"httpMethod": "POST", +"id": "sourcerepo.projects.repos.testIamPermissions", +"parameterOrder": [ +"resource" +], +"parameters": { +"resource": { +"description": "REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", +"location": "path", +"pattern": "^projects/[^/]+/repos/.*$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+resource}:testIamPermissions", +"request": { +"$ref": "TestIamPermissionsRequest" +}, +"response": { +"$ref": "TestIamPermissionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/source.full_control", +"https://www.googleapis.com/auth/source.read_only", +"https://www.googleapis.com/auth/source.read_write" +] +} +} +} +} +} +}, +"revision": "20240617", +"rootUrl": "https://sourcerepo.googleapis.com/", +"schemas": { +"AuditConfig": { +"description": "Specifies the audit configuration for a service. The configuration determines which permission types are logged, and what identities, if any, are exempted from logging. An AuditConfig must have one or more AuditLogConfigs. If there are AuditConfigs for both `allServices` and a specific service, the union of the two AuditConfigs is used for that service: the log_types specified in each AuditConfig are enabled, and the exempted_members in each AuditLogConfig are exempted. Example Policy with multiple AuditConfigs: { \"audit_configs\": [ { \"service\": \"allServices\", \"audit_log_configs\": [ { \"log_type\": \"DATA_READ\", \"exempted_members\": [ \"user:jose@example.com\" ] }, { \"log_type\": \"DATA_WRITE\" }, { \"log_type\": \"ADMIN_READ\" } ] }, { \"service\": \"sampleservice.googleapis.com\", \"audit_log_configs\": [ { \"log_type\": \"DATA_READ\" }, { \"log_type\": \"DATA_WRITE\", \"exempted_members\": [ \"user:aliya@example.com\" ] } ] } ] } For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also exempts `jose@example.com` from DATA_READ logging, and `aliya@example.com` from DATA_WRITE logging.", +"id": "AuditConfig", +"properties": { +"auditLogConfigs": { +"description": "The configuration for logging of each type of permission.", +"items": { +"$ref": "AuditLogConfig" +}, +"type": "array" +}, +"service": { +"description": "Specifies a service that will be enabled for audit logging. For example, `storage.googleapis.com`, `cloudsql.googleapis.com`. `allServices` is a special value that covers all services.", +"type": "string" +} +}, +"type": "object" +}, +"AuditLogConfig": { +"description": "Provides the configuration for logging a type of permissions. Example: { \"audit_log_configs\": [ { \"log_type\": \"DATA_READ\", \"exempted_members\": [ \"user:jose@example.com\" ] }, { \"log_type\": \"DATA_WRITE\" } ] } This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting jose@example.com from DATA_READ logging.", +"id": "AuditLogConfig", +"properties": { +"exemptedMembers": { +"description": "Specifies the identities that do not cause logging for this type of permission. Follows the same format of Binding.members.", +"items": { +"type": "string" +}, +"type": "array" +}, +"logType": { +"description": "The log type that this config enables.", +"enum": [ +"LOG_TYPE_UNSPECIFIED", +"ADMIN_READ", +"DATA_WRITE", +"DATA_READ" +], +"enumDescriptions": [ +"Default case. Should never be this.", +"Admin reads. Example: CloudIAM getIamPolicy", +"Data writes. Example: CloudSQL Users create", +"Data reads. Example: CloudSQL Users list" +], +"type": "string" +} +}, +"type": "object" +}, +"Binding": { +"description": "Associates `members`, or principals, with a `role`.", +"id": "Binding", +"properties": { +"condition": { +"$ref": "Expr", +"description": "The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies)." +}, +"members": { +"description": "Specifies the principals requesting access for a Google Cloud resource. `members` can have the following values: * `allUsers`: A special identifier that represents anyone who is on the internet; with or without a Google account. * `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service account. Does not include identities that come from external identity providers (IdPs) through identity federation. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `group:{emailid}`: An email address that represents a Google group. For example, `admins@example.com`. * `domain:{domain}`: The G Suite domain (primary) that represents all the users of that domain. For example, `google.com` or `example.com`. * `principal://iam.googleapis.com/locations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}`: A single identity in a workforce identity pool. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/group/{group_id}`: All workforce identities in a group. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/attribute.{attribute_name}/{attribute_value}`: All workforce identities with a specific attribute value. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/*`: All identities in a workforce identity pool. * `principal://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/subject/{subject_attribute_value}`: A single identity in a workload identity pool. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/group/{group_id}`: A workload identity pool group. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/attribute.{attribute_name}/{attribute_value}`: All identities in a workload identity pool with a certain attribute. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/*`: All identities in a workload identity pool. * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a user that has been recently deleted. For example, `alice@example.com?uid=123456789012345678901`. If the user is recovered, this value reverts to `user:{emailid}` and the recovered user retains the role in the binding. * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a service account that has been recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the service account is undeleted, this value reverts to `serviceAccount:{emailid}` and the undeleted service account retains the role in the binding. * `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a Google group that has been recently deleted. For example, `admins@example.com?uid=123456789012345678901`. If the group is recovered, this value reverts to `group:{emailid}` and the recovered group retains the role in the binding. * `deleted:principal://iam.googleapis.com/locations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}`: Deleted single identity in a workforce identity pool. For example, `deleted:principal://iam.googleapis.com/locations/global/workforcePools/my-pool-id/subject/my-subject-attribute-value`.", +"items": { +"type": "string" +}, +"type": "array" +}, +"role": { +"description": "Role that is assigned to the list of `members`, or principals. For example, `roles/viewer`, `roles/editor`, or `roles/owner`. For an overview of the IAM roles and permissions, see the [IAM documentation](https://cloud.google.com/iam/docs/roles-overview). For a list of the available pre-defined roles, see [here](https://cloud.google.com/iam/docs/understanding-roles).", +"type": "string" +} +}, +"type": "object" +}, +"Empty": { +"description": "A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }", +"id": "Empty", +"properties": {}, +"type": "object" +}, +"Expr": { +"description": "Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: \"Summary size limit\" description: \"Determines if a summary is less than 100 chars\" expression: \"document.summary.size() < 100\" Example (Equality): title: \"Requestor is owner\" description: \"Determines if requestor is the document owner\" expression: \"document.owner == request.auth.claims.email\" Example (Logic): title: \"Public documents\" description: \"Determine whether the document should be publicly visible\" expression: \"document.type != 'private' && document.type != 'internal'\" Example (Data Manipulation): title: \"Notification string\" description: \"Create a notification string with a timestamp.\" expression: \"'New message received at ' + string(document.create_time)\" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information.", +"id": "Expr", +"properties": { +"description": { +"description": "Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI.", +"type": "string" +}, +"expression": { +"description": "Textual representation of an expression in Common Expression Language syntax.", +"type": "string" +}, +"location": { +"description": "Optional. String indicating the location of the expression for error reporting, e.g. a file name and a position in the file.", +"type": "string" +}, +"title": { +"description": "Optional. Title for the expression, i.e. a short string describing its purpose. This can be used e.g. in UIs which allow to enter the expression.", +"type": "string" +} +}, +"type": "object" +}, +"ListReposResponse": { +"description": "Response for ListRepos. The size is not set in the returned repositories.", +"id": "ListReposResponse", +"properties": { +"nextPageToken": { +"description": "If non-empty, additional repositories exist within the project. These can be retrieved by including this value in the next ListReposRequest's page_token field.", +"type": "string" +}, +"repos": { +"description": "The listed repos.", +"items": { +"$ref": "Repo" +}, +"type": "array" +} +}, +"type": "object" +}, +"MirrorConfig": { +"description": "Configuration to automatically mirror a repository from another hosting service, for example GitHub or Bitbucket.", +"id": "MirrorConfig", +"properties": { +"deployKeyId": { +"description": "ID of the SSH deploy key at the other hosting service. Removing this key from the other service would deauthorize Google Cloud Source Repositories from mirroring.", +"type": "string" +}, +"url": { +"description": "URL of the main repository at the other hosting service.", +"type": "string" +}, +"webhookId": { +"description": "ID of the webhook listening to updates to trigger mirroring. Removing this webhook from the other hosting service will stop Google Cloud Source Repositories from receiving notifications, and thereby disabling mirroring.", +"type": "string" +} +}, +"type": "object" +}, +"Operation": { +"description": "This resource represents a long-running operation that is the result of a network API call.", +"id": "Operation", +"properties": { +"done": { +"description": "If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.", +"type": "boolean" +}, +"error": { +"$ref": "Status", +"description": "The error result of the operation in case of failure or cancellation." +}, +"metadata": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.", +"type": "object" +}, +"name": { +"description": "The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.", +"type": "string" +}, +"response": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "The normal, successful response of the operation. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.", +"type": "object" +} +}, +"type": "object" +}, +"Policy": { +"description": "An Identity and Access Management (IAM) policy, which specifies access controls for Google Cloud resources. A `Policy` is a collection of `bindings`. A `binding` binds one or more `members`, or principals, to a single `role`. Principals can be user accounts, service accounts, Google groups, and domains (such as G Suite). A `role` is a named list of permissions; each `role` can be an IAM predefined role or a user-created custom role. For some types of Google Cloud resources, a `binding` can also specify a `condition`, which is a logical expression that allows access to a resource only if the expression evaluates to `true`. A condition can add constraints based on attributes of the request, the resource, or both. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). **JSON example:** ``` { \"bindings\": [ { \"role\": \"roles/resourcemanager.organizationAdmin\", \"members\": [ \"user:mike@example.com\", \"group:admins@example.com\", \"domain:google.com\", \"serviceAccount:my-project-id@appspot.gserviceaccount.com\" ] }, { \"role\": \"roles/resourcemanager.organizationViewer\", \"members\": [ \"user:eve@example.com\" ], \"condition\": { \"title\": \"expirable access\", \"description\": \"Does not grant access after Sep 2020\", \"expression\": \"request.time < timestamp('2020-10-01T00:00:00.000Z')\", } } ], \"etag\": \"BwWWja0YfJA=\", \"version\": 3 } ``` **YAML example:** ``` bindings: - members: - user:mike@example.com - group:admins@example.com - domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.com role: roles/resourcemanager.organizationViewer condition: title: expirable access description: Does not grant access after Sep 2020 expression: request.time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 ``` For a description of IAM and its features, see the [IAM documentation](https://cloud.google.com/iam/docs/).", +"id": "Policy", +"properties": { +"auditConfigs": { +"description": "Specifies cloud audit logging configuration for this policy.", +"items": { +"$ref": "AuditConfig" +}, +"type": "array" +}, +"bindings": { +"description": "Associates a list of `members`, or principals, with a `role`. Optionally, may specify a `condition` that determines how and when the `bindings` are applied. Each of the `bindings` must contain at least one principal. The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250 of these principals can be Google groups. Each occurrence of a principal counts towards these limits. For example, if the `bindings` grant 50 different roles to `user:alice@example.com`, and not to any other principal, then you can add another 1,450 principals to the `bindings` in the `Policy`.", +"items": { +"$ref": "Binding" +}, +"type": "array" +}, +"etag": { +"description": "`etag` is used for optimistic concurrency control as a way to help prevent simultaneous updates of a policy from overwriting each other. It is strongly suggested that systems make use of the `etag` in the read-modify-write cycle to perform policy updates in order to avoid race conditions: An `etag` is returned in the response to `getIamPolicy`, and systems are expected to put that etag in the request to `setIamPolicy` to ensure that their change will be applied to the same version of the policy. **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost.", +"format": "byte", +"type": "string" +}, +"version": { +"description": "Specifies the format of the policy. Valid values are `0`, `1`, and `3`. Requests that specify an invalid value are rejected. Any operation that affects conditional role bindings must specify version `3`. This requirement applies to the following operations: * Getting a policy that includes a conditional role binding * Adding a conditional role binding to a policy * Changing a conditional role binding in a policy * Removing any role binding, with or without a condition, from a policy that includes conditions **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost. If a policy does not include any conditions, operations on that policy may specify any valid version or leave the field unset. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"ProjectConfig": { +"description": "Cloud Source Repositories configuration of a project.", +"id": "ProjectConfig", +"properties": { +"enablePrivateKeyCheck": { +"description": "Reject a Git push that contains a private key.", +"type": "boolean" +}, +"name": { +"description": "The name of the project. Values are of the form `projects/`.", +"type": "string" +}, +"pubsubConfigs": { +"additionalProperties": { +"$ref": "PubsubConfig" +}, +"description": "How this project publishes a change in the repositories through Cloud Pub/Sub. Keyed by the topic names.", +"type": "object" +} +}, +"type": "object" +}, +"PubsubConfig": { +"description": "Configuration to publish a Cloud Pub/Sub message.", +"id": "PubsubConfig", +"properties": { +"messageFormat": { +"description": "The format of the Cloud Pub/Sub messages.", +"enum": [ +"MESSAGE_FORMAT_UNSPECIFIED", +"PROTOBUF", +"JSON" +], +"enumDescriptions": [ +"Unspecified.", +"The message payload is a serialized protocol buffer of SourceRepoEvent.", +"The message payload is a JSON string of SourceRepoEvent." +], +"type": "string" +}, +"serviceAccountEmail": { +"description": "Email address of the service account used for publishing Cloud Pub/Sub messages. This service account needs to be in the same project as the PubsubConfig. When added, the caller needs to have iam.serviceAccounts.actAs permission on this service account. If unspecified, it defaults to the compute engine default service account.", +"type": "string" +}, +"topic": { +"description": "A topic of Cloud Pub/Sub. Values are of the form `projects//topics/`. The project needs to be the same project as this config is in.", +"type": "string" +} +}, +"type": "object" +}, +"Repo": { +"description": "A repository (or repo) is a Git repository storing versioned source content.", +"id": "Repo", +"properties": { +"mirrorConfig": { +"$ref": "MirrorConfig", +"description": "How this repository mirrors a repository managed by another service. Read-only field." +}, +"name": { +"description": "Resource name of the repository, of the form `projects//repos/`. The repo name may contain slashes. eg, `projects/myproject/repos/name/with/slash`", +"type": "string" +}, +"pubsubConfigs": { +"additionalProperties": { +"$ref": "PubsubConfig" +}, +"description": "How this repository publishes a change in the repository through Cloud Pub/Sub. Keyed by the topic names.", +"type": "object" +}, +"size": { +"description": "The disk usage of the repo, in bytes. Read-only field. Size is only returned by GetRepo.", +"format": "int64", +"type": "string" +}, +"url": { +"description": "URL to clone the repository from Google Cloud Source Repositories. Read-only field.", +"type": "string" +} +}, +"type": "object" +}, +"SetIamPolicyRequest": { +"description": "Request message for `SetIamPolicy` method.", +"id": "SetIamPolicyRequest", +"properties": { +"policy": { +"$ref": "Policy", +"description": "REQUIRED: The complete policy to be applied to the `resource`. The size of the policy is limited to a few 10s of KB. An empty policy is a valid policy but certain Google Cloud services (such as Projects) might reject them." +}, +"updateMask": { +"description": "OPTIONAL: A FieldMask specifying which fields of the policy to modify. Only the fields in the mask will be modified. If no mask is provided, the following default mask is used: `paths: \"bindings, etag\"`", +"format": "google-fieldmask", +"type": "string" +} +}, +"type": "object" +}, +"Status": { +"description": "The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors).", +"id": "Status", +"properties": { +"code": { +"description": "The status code, which should be an enum value of google.rpc.Code.", +"format": "int32", +"type": "integer" +}, +"details": { +"description": "A list of messages that carry the error details. There is a common set of message types for APIs to use.", +"items": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.", +"type": "string" +} +}, +"type": "object" +}, +"SyncRepoMetadata": { +"description": "Metadata of SyncRepo. This message is in the metadata field of Operation.", +"id": "SyncRepoMetadata", +"properties": { +"name": { +"description": "The name of the repo being synchronized. Values are of the form `projects//repos/`.", +"type": "string" +}, +"startTime": { +"description": "The time this operation is started.", +"format": "google-datetime", +"type": "string" +}, +"statusMessage": { +"description": "The latest status message on syncing the repository.", +"type": "string" +}, +"updateTime": { +"description": "The time this operation's status message is updated.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"SyncRepoRequest": { +"description": "Request for SyncRepo.", +"id": "SyncRepoRequest", +"properties": {}, +"type": "object" +}, +"TestIamPermissionsRequest": { +"description": "Request message for `TestIamPermissions` method.", +"id": "TestIamPermissionsRequest", +"properties": { +"permissions": { +"description": "The set of permissions to check for the `resource`. Permissions with wildcards (such as `*` or `storage.*`) are not allowed. For more information see [IAM Overview](https://cloud.google.com/iam/docs/overview#permissions).", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"TestIamPermissionsResponse": { +"description": "Response message for `TestIamPermissions` method.", +"id": "TestIamPermissionsResponse", +"properties": { +"permissions": { +"description": "A subset of `TestPermissionsRequest.permissions` that the caller is allowed.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"UpdateProjectConfigRequest": { +"description": "Request for UpdateProjectConfig.", +"id": "UpdateProjectConfigRequest", +"properties": { +"projectConfig": { +"$ref": "ProjectConfig", +"description": "The new configuration for the project." +}, +"updateMask": { +"description": "A FieldMask specifying which fields of the project_config to modify. Only the fields in the mask will be modified. If no mask is provided, this request is no-op.", +"format": "google-fieldmask", +"type": "string" +} +}, +"type": "object" +}, +"UpdateRepoRequest": { +"description": "Request for UpdateRepo.", +"id": "UpdateRepoRequest", +"properties": { +"repo": { +"$ref": "Repo", +"description": "The new configuration for the repository." +}, +"updateMask": { +"description": "A FieldMask specifying which fields of the repo to modify. Only the fields in the mask will be modified. If no mask is provided, this request is no-op.", +"format": "google-fieldmask", +"type": "string" +} +}, +"type": "object" +} +}, +"servicePath": "", +"title": "Cloud Source Repositories API", +"version": "v1", +"version_module": true +} \ No newline at end of file diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/spanner.v1.json b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/spanner.v1.json new file mode 100644 index 0000000000000000000000000000000000000000..1abb87d9d26e4d81d83b0e921381f3d4c4cb4c7e --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/spanner.v1.json @@ -0,0 +1,8241 @@ +{ +"auth": { +"oauth2": { +"scopes": { +"https://www.googleapis.com/auth/cloud-platform": { +"description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." +}, +"https://www.googleapis.com/auth/spanner.admin": { +"description": "Administer your Spanner databases" +}, +"https://www.googleapis.com/auth/spanner.data": { +"description": "See, edit, configure, and delete your Google Cloud Spanner data and see the email address for your Google Account" +} +} +} +}, +"basePath": "", +"baseUrl": "https://spanner.googleapis.com/", +"batchPath": "batch", +"canonicalName": "Spanner", +"description": "Cloud Spanner is a managed, mission-critical, globally consistent and scalable relational database service.", +"discoveryVersion": "v1", +"documentationLink": "https://cloud.google.com/spanner/", +"endpoints": [ +{ +"description": "Regional Endpoint", +"endpointUrl": "https://spanner.europe-west8.rep.googleapis.com/", +"location": "europe-west8" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://spanner.me-central2.rep.googleapis.com/", +"location": "me-central2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://spanner.us-central1.rep.googleapis.com/", +"location": "us-central1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://spanner.us-central2.rep.googleapis.com/", +"location": "us-central2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://spanner.us-east1.rep.googleapis.com/", +"location": "us-east1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://spanner.us-east4.rep.googleapis.com/", +"location": "us-east4" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://spanner.us-east5.rep.googleapis.com/", +"location": "us-east5" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://spanner.us-south1.rep.googleapis.com/", +"location": "us-south1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://spanner.us-west1.rep.googleapis.com/", +"location": "us-west1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://spanner.us-west2.rep.googleapis.com/", +"location": "us-west2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://spanner.us-west3.rep.googleapis.com/", +"location": "us-west3" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://spanner.us-west4.rep.googleapis.com/", +"location": "us-west4" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://spanner.us-west8.rep.googleapis.com/", +"location": "us-west8" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://spanner.us-east7.rep.googleapis.com/", +"location": "us-east7" +} +], +"fullyEncodeReservedExpansion": true, +"icons": { +"x16": "http://www.google.com/images/icons/product/search-16.gif", +"x32": "http://www.google.com/images/icons/product/search-32.gif" +}, +"id": "spanner:v1", +"kind": "discovery#restDescription", +"mtlsRootUrl": "https://spanner.mtls.googleapis.com/", +"name": "spanner", +"ownerDomain": "google.com", +"ownerName": "Google", +"parameters": { +"$.xgafv": { +"description": "V1 error format.", +"enum": [ +"1", +"2" +], +"enumDescriptions": [ +"v1 error format", +"v2 error format" +], +"location": "query", +"type": "string" +}, +"access_token": { +"description": "OAuth access token.", +"location": "query", +"type": "string" +}, +"alt": { +"default": "json", +"description": "Data format for response.", +"enum": [ +"json", +"media", +"proto" +], +"enumDescriptions": [ +"Responses with Content-Type of application/json", +"Media download with context-dependent Content-Type", +"Responses with Content-Type of application/x-protobuf" +], +"location": "query", +"type": "string" +}, +"callback": { +"description": "JSONP", +"location": "query", +"type": "string" +}, +"fields": { +"description": "Selector specifying which fields to include in a partial response.", +"location": "query", +"type": "string" +}, +"key": { +"description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", +"location": "query", +"type": "string" +}, +"oauth_token": { +"description": "OAuth 2.0 token for the current user.", +"location": "query", +"type": "string" +}, +"prettyPrint": { +"default": "true", +"description": "Returns response with indentations and line breaks.", +"location": "query", +"type": "boolean" +}, +"quotaUser": { +"description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.", +"location": "query", +"type": "string" +}, +"uploadType": { +"description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", +"location": "query", +"type": "string" +}, +"upload_protocol": { +"description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", +"location": "query", +"type": "string" +} +}, +"protocol": "rest", +"resources": { +"projects": { +"resources": { +"instanceConfigOperations": { +"methods": { +"list": { +"description": "Lists the user-managed instance configuration long-running operations in the given project. An instance configuration operation has a name of the form `projects//instanceConfigs//operations/`. The long-running operation metadata field type `metadata.type_url` describes the type of the metadata. Operations returned include those that have completed/failed/canceled within the last 7 days, and pending operations. Operations returned are ordered by `operation.metadata.value.start_time` in descending order starting from the most recently started operation.", +"flatPath": "v1/projects/{projectsId}/instanceConfigOperations", +"httpMethod": "GET", +"id": "spanner.projects.instanceConfigOperations.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "An expression that filters the list of returned operations. A filter expression consists of a field name, a comparison operator, and a value for filtering. The value must be a string, a number, or a boolean. The comparison operator must be one of: `<`, `>`, `<=`, `>=`, `!=`, `=`, or `:`. Colon `:` is the contains operator. Filter rules are not case sensitive. The following fields in the Operation are eligible for filtering: * `name` - The name of the long-running operation * `done` - False if the operation is in progress, else true. * `metadata.@type` - the type of metadata. For example, the type string for CreateInstanceConfigMetadata is `type.googleapis.com/google.spanner.admin.instance.v1.CreateInstanceConfigMetadata`. * `metadata.` - any field in metadata.value. `metadata.@type` must be specified first, if filtering on metadata fields. * `error` - Error associated with the long-running operation. * `response.@type` - the type of response. * `response.` - any field in response.value. You can combine multiple expressions by enclosing each expression in parentheses. By default, expressions are combined with AND logic. However, you can specify AND, OR, and NOT logic explicitly. Here are a few examples: * `done:true` - The operation is complete. * `(metadata.@type=` \\ `type.googleapis.com/google.spanner.admin.instance.v1.CreateInstanceConfigMetadata) AND` \\ `(metadata.instance_config.name:custom-config) AND` \\ `(metadata.progress.start_time < \\\"2021-03-28T14:50:00Z\\\") AND` \\ `(error:*)` - Return operations where: * The operation's metadata type is CreateInstanceConfigMetadata. * The instance configuration name contains \"custom-config\". * The operation started before 2021-03-28T14:50:00Z. * The operation resulted in an error.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Number of operations to be returned in the response. If 0 or less, defaults to the server's maximum allowed page size.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "If non-empty, `page_token` should contain a next_page_token from a previous ListInstanceConfigOperationsResponse to the same `parent` and with the same `filter`.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The project of the instance configuration operations. Values are of the form `projects/`.", +"location": "path", +"pattern": "^projects/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/instanceConfigOperations", +"response": { +"$ref": "ListInstanceConfigOperationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/spanner.admin" +] +} +} +}, +"instanceConfigs": { +"methods": { +"create": { +"description": "Creates an instance configuration and begins preparing it to be used. The returned long-running operation can be used to track the progress of preparing the new instance configuration. The instance configuration name is assigned by the caller. If the named instance configuration already exists, `CreateInstanceConfig` returns `ALREADY_EXISTS`. Immediately after the request returns: * The instance configuration is readable via the API, with all requested attributes. The instance configuration's reconciling field is set to true. Its state is `CREATING`. While the operation is pending: * Cancelling the operation renders the instance configuration immediately unreadable via the API. * Except for deleting the creating resource, all other attempts to modify the instance configuration are rejected. Upon completion of the returned operation: * Instances can be created using the instance configuration. * The instance configuration's reconciling field becomes false. Its state becomes `READY`. The returned long-running operation will have a name of the format `/operations/` and can be used to track creation of the instance configuration. The metadata field type is CreateInstanceConfigMetadata. The response field type is InstanceConfig, if successful. Authorization requires `spanner.instanceConfigs.create` permission on the resource parent.", +"flatPath": "v1/projects/{projectsId}/instanceConfigs", +"httpMethod": "POST", +"id": "spanner.projects.instanceConfigs.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The name of the project in which to create the instance configuration. Values are of the form `projects/`.", +"location": "path", +"pattern": "^projects/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/instanceConfigs", +"request": { +"$ref": "CreateInstanceConfigRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/spanner.admin" +] +}, +"delete": { +"description": "Deletes the instance configuration. Deletion is only allowed when no instances are using the configuration. If any instances are using the configuration, returns `FAILED_PRECONDITION`. Only user-managed configurations can be deleted. Authorization requires `spanner.instanceConfigs.delete` permission on the resource name.", +"flatPath": "v1/projects/{projectsId}/instanceConfigs/{instanceConfigsId}", +"httpMethod": "DELETE", +"id": "spanner.projects.instanceConfigs.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"etag": { +"description": "Used for optimistic concurrency control as a way to help prevent simultaneous deletes of an instance configuration from overwriting each other. If not empty, the API only deletes the instance configuration when the etag provided matches the current status of the requested instance configuration. Otherwise, deletes the instance configuration without checking the current status of the requested instance configuration.", +"location": "query", +"type": "string" +}, +"name": { +"description": "Required. The name of the instance configuration to be deleted. Values are of the form `projects//instanceConfigs/`", +"location": "path", +"pattern": "^projects/[^/]+/instanceConfigs/[^/]+$", +"required": true, +"type": "string" +}, +"validateOnly": { +"description": "An option to validate, but not actually execute, a request, and provide the same response.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/spanner.admin" +] +}, +"get": { +"description": "Gets information about a particular instance configuration.", +"flatPath": "v1/projects/{projectsId}/instanceConfigs/{instanceConfigsId}", +"httpMethod": "GET", +"id": "spanner.projects.instanceConfigs.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the requested instance configuration. Values are of the form `projects//instanceConfigs/`.", +"location": "path", +"pattern": "^projects/[^/]+/instanceConfigs/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "InstanceConfig" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/spanner.admin" +] +}, +"list": { +"description": "Lists the supported instance configurations for a given project. Returns both Google-managed configurations and user-managed configurations.", +"flatPath": "v1/projects/{projectsId}/instanceConfigs", +"httpMethod": "GET", +"id": "spanner.projects.instanceConfigs.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "Number of instance configurations to be returned in the response. If 0 or less, defaults to the server's maximum allowed page size.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "If non-empty, `page_token` should contain a next_page_token from a previous ListInstanceConfigsResponse.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The name of the project for which a list of supported instance configurations is requested. Values are of the form `projects/`.", +"location": "path", +"pattern": "^projects/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/instanceConfigs", +"response": { +"$ref": "ListInstanceConfigsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/spanner.admin" +] +}, +"patch": { +"description": "Updates an instance configuration. The returned long-running operation can be used to track the progress of updating the instance. If the named instance configuration does not exist, returns `NOT_FOUND`. Only user-managed configurations can be updated. Immediately after the request returns: * The instance configuration's reconciling field is set to true. While the operation is pending: * Cancelling the operation sets its metadata's cancel_time. The operation is guaranteed to succeed at undoing all changes, after which point it terminates with a `CANCELLED` status. * All other attempts to modify the instance configuration are rejected. * Reading the instance configuration via the API continues to give the pre-request values. Upon completion of the returned operation: * Creating instances using the instance configuration uses the new values. * The new values of the instance configuration are readable via the API. * The instance configuration's reconciling field becomes false. The returned long-running operation will have a name of the format `/operations/` and can be used to track the instance configuration modification. The metadata field type is UpdateInstanceConfigMetadata. The response field type is InstanceConfig, if successful. Authorization requires `spanner.instanceConfigs.update` permission on the resource name.", +"flatPath": "v1/projects/{projectsId}/instanceConfigs/{instanceConfigsId}", +"httpMethod": "PATCH", +"id": "spanner.projects.instanceConfigs.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "A unique identifier for the instance configuration. Values are of the form `projects//instanceConfigs/a-z*`. User instance configuration must start with `custom-`.", +"location": "path", +"pattern": "^projects/[^/]+/instanceConfigs/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "UpdateInstanceConfigRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/spanner.admin" +] +} +}, +"resources": { +"operations": { +"methods": { +"cancel": { +"description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.", +"flatPath": "v1/projects/{projectsId}/instanceConfigs/{instanceConfigsId}/operations/{operationsId}:cancel", +"httpMethod": "POST", +"id": "spanner.projects.instanceConfigs.operations.cancel", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be cancelled.", +"location": "path", +"pattern": "^projects/[^/]+/instanceConfigs/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:cancel", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/spanner.admin" +] +}, +"delete": { +"description": "Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.", +"flatPath": "v1/projects/{projectsId}/instanceConfigs/{instanceConfigsId}/operations/{operationsId}", +"httpMethod": "DELETE", +"id": "spanner.projects.instanceConfigs.operations.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be deleted.", +"location": "path", +"pattern": "^projects/[^/]+/instanceConfigs/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/spanner.admin" +] +}, +"get": { +"description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", +"flatPath": "v1/projects/{projectsId}/instanceConfigs/{instanceConfigsId}/operations/{operationsId}", +"httpMethod": "GET", +"id": "spanner.projects.instanceConfigs.operations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource.", +"location": "path", +"pattern": "^projects/[^/]+/instanceConfigs/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/spanner.admin" +] +}, +"list": { +"description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.", +"flatPath": "v1/projects/{projectsId}/instanceConfigs/{instanceConfigsId}/operations", +"httpMethod": "GET", +"id": "spanner.projects.instanceConfigs.operations.list", +"parameterOrder": [ +"name" +], +"parameters": { +"filter": { +"description": "The standard list filter.", +"location": "query", +"type": "string" +}, +"name": { +"description": "The name of the operation's parent resource.", +"location": "path", +"pattern": "^projects/[^/]+/instanceConfigs/[^/]+/operations$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The standard list page size.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The standard list page token.", +"location": "query", +"type": "string" +}, +"returnPartialSuccess": { +"description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `\"projects/example/locations/-\"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "ListOperationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/spanner.admin" +] +} +} +}, +"ssdCaches": { +"resources": { +"operations": { +"methods": { +"cancel": { +"description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.", +"flatPath": "v1/projects/{projectsId}/instanceConfigs/{instanceConfigsId}/ssdCaches/{ssdCachesId}/operations/{operationsId}:cancel", +"httpMethod": "POST", +"id": "spanner.projects.instanceConfigs.ssdCaches.operations.cancel", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be cancelled.", +"location": "path", +"pattern": "^projects/[^/]+/instanceConfigs/[^/]+/ssdCaches/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:cancel", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/spanner.admin" +] +}, +"delete": { +"description": "Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.", +"flatPath": "v1/projects/{projectsId}/instanceConfigs/{instanceConfigsId}/ssdCaches/{ssdCachesId}/operations/{operationsId}", +"httpMethod": "DELETE", +"id": "spanner.projects.instanceConfigs.ssdCaches.operations.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be deleted.", +"location": "path", +"pattern": "^projects/[^/]+/instanceConfigs/[^/]+/ssdCaches/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/spanner.admin" +] +}, +"get": { +"description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", +"flatPath": "v1/projects/{projectsId}/instanceConfigs/{instanceConfigsId}/ssdCaches/{ssdCachesId}/operations/{operationsId}", +"httpMethod": "GET", +"id": "spanner.projects.instanceConfigs.ssdCaches.operations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource.", +"location": "path", +"pattern": "^projects/[^/]+/instanceConfigs/[^/]+/ssdCaches/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/spanner.admin" +] +}, +"list": { +"description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.", +"flatPath": "v1/projects/{projectsId}/instanceConfigs/{instanceConfigsId}/ssdCaches/{ssdCachesId}/operations", +"httpMethod": "GET", +"id": "spanner.projects.instanceConfigs.ssdCaches.operations.list", +"parameterOrder": [ +"name" +], +"parameters": { +"filter": { +"description": "The standard list filter.", +"location": "query", +"type": "string" +}, +"name": { +"description": "The name of the operation's parent resource.", +"location": "path", +"pattern": "^projects/[^/]+/instanceConfigs/[^/]+/ssdCaches/[^/]+/operations$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The standard list page size.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The standard list page token.", +"location": "query", +"type": "string" +}, +"returnPartialSuccess": { +"description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `\"projects/example/locations/-\"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "ListOperationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/spanner.admin" +] +} +} +} +} +} +} +}, +"instances": { +"methods": { +"create": { +"description": "Creates an instance and begins preparing it to begin serving. The returned long-running operation can be used to track the progress of preparing the new instance. The instance name is assigned by the caller. If the named instance already exists, `CreateInstance` returns `ALREADY_EXISTS`. Immediately upon completion of this request: * The instance is readable via the API, with all requested attributes but no allocated resources. Its state is `CREATING`. Until completion of the returned operation: * Cancelling the operation renders the instance immediately unreadable via the API. * The instance can be deleted. * All other attempts to modify the instance are rejected. Upon completion of the returned operation: * Billing for all successfully-allocated resources begins (some types may have lower than the requested levels). * Databases can be created in the instance. * The instance's allocated resource levels are readable via the API. * The instance's state becomes `READY`. The returned long-running operation will have a name of the format `/operations/` and can be used to track creation of the instance. The metadata field type is CreateInstanceMetadata. The response field type is Instance, if successful.", +"flatPath": "v1/projects/{projectsId}/instances", +"httpMethod": "POST", +"id": "spanner.projects.instances.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The name of the project in which to create the instance. Values are of the form `projects/`.", +"location": "path", +"pattern": "^projects/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/instances", +"request": { +"$ref": "CreateInstanceRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/spanner.admin" +] +}, +"delete": { +"description": "Deletes an instance. Immediately upon completion of the request: * Billing ceases for all of the instance's reserved resources. Soon afterward: * The instance and *all of its databases* immediately and irrevocably disappear from the API. All data in the databases is permanently deleted.", +"flatPath": "v1/projects/{projectsId}/instances/{instancesId}", +"httpMethod": "DELETE", +"id": "spanner.projects.instances.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the instance to be deleted. Values are of the form `projects//instances/`", +"location": "path", +"pattern": "^projects/[^/]+/instances/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/spanner.admin" +] +}, +"get": { +"description": "Gets information about a particular instance.", +"flatPath": "v1/projects/{projectsId}/instances/{instancesId}", +"httpMethod": "GET", +"id": "spanner.projects.instances.get", +"parameterOrder": [ +"name" +], +"parameters": { +"fieldMask": { +"description": "If field_mask is present, specifies the subset of Instance fields that should be returned. If absent, all Instance fields are returned.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +}, +"name": { +"description": "Required. The name of the requested instance. Values are of the form `projects//instances/`.", +"location": "path", +"pattern": "^projects/[^/]+/instances/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Instance" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/spanner.admin" +] +}, +"getIamPolicy": { +"description": "Gets the access control policy for an instance resource. Returns an empty policy if an instance exists but does not have a policy set. Authorization requires `spanner.instances.getIamPolicy` on resource.", +"flatPath": "v1/projects/{projectsId}/instances/{instancesId}:getIamPolicy", +"httpMethod": "POST", +"id": "spanner.projects.instances.getIamPolicy", +"parameterOrder": [ +"resource" +], +"parameters": { +"resource": { +"description": "REQUIRED: The Cloud Spanner resource for which the policy is being retrieved. The format is `projects//instances/` for instance resources and `projects//instances//databases/` for database resources.", +"location": "path", +"pattern": "^projects/[^/]+/instances/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+resource}:getIamPolicy", +"request": { +"$ref": "GetIamPolicyRequest" +}, +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/spanner.admin" +] +}, +"list": { +"description": "Lists all instances in the given project.", +"flatPath": "v1/projects/{projectsId}/instances", +"httpMethod": "GET", +"id": "spanner.projects.instances.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "An expression for filtering the results of the request. Filter rules are case insensitive. The fields eligible for filtering are: * `name` * `display_name` * `labels.key` where key is the name of a label Some examples of using filters are: * `name:*` --> The instance has a name. * `name:Howl` --> The instance's name contains the string \"howl\". * `name:HOWL` --> Equivalent to above. * `NAME:howl` --> Equivalent to above. * `labels.env:*` --> The instance has the label \"env\". * `labels.env:dev` --> The instance has the label \"env\" and the value of the label contains the string \"dev\". * `name:howl labels.env:dev` --> The instance's name contains \"howl\" and it has the label \"env\" with its value containing \"dev\".", +"location": "query", +"type": "string" +}, +"instanceDeadline": { +"description": "Deadline used while retrieving metadata for instances. Instances whose metadata cannot be retrieved within this deadline will be added to unreachable in ListInstancesResponse.", +"format": "google-datetime", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Number of instances to be returned in the response. If 0 or less, defaults to the server's maximum allowed page size.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "If non-empty, `page_token` should contain a next_page_token from a previous ListInstancesResponse.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The name of the project for which a list of instances is requested. Values are of the form `projects/`.", +"location": "path", +"pattern": "^projects/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/instances", +"response": { +"$ref": "ListInstancesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/spanner.admin" +] +}, +"move": { +"description": "Moves an instance to the target instance configuration. You can use the returned long-running operation to track the progress of moving the instance. `MoveInstance` returns `FAILED_PRECONDITION` if the instance meets any of the following criteria: * Is undergoing a move to a different instance configuration * Has backups * Has an ongoing update * Contains any CMEK-enabled databases * Is a free trial instance While the operation is pending: * All other attempts to modify the instance, including changes to its compute capacity, are rejected. * The following database and backup admin operations are rejected: * `DatabaseAdmin.CreateDatabase` * `DatabaseAdmin.UpdateDatabaseDdl` (disabled if default_leader is specified in the request.) * `DatabaseAdmin.RestoreDatabase` * `DatabaseAdmin.CreateBackup` * `DatabaseAdmin.CopyBackup` * Both the source and target instance configurations are subject to hourly compute and storage charges. * The instance might experience higher read-write latencies and a higher transaction abort rate. However, moving an instance doesn't cause any downtime. The returned long-running operation has a name of the format `/operations/` and can be used to track the move instance operation. The metadata field type is MoveInstanceMetadata. The response field type is Instance, if successful. Cancelling the operation sets its metadata's cancel_time. Cancellation is not immediate because it involves moving any data previously moved to the target instance configuration back to the original instance configuration. You can use this operation to track the progress of the cancellation. Upon successful completion of the cancellation, the operation terminates with `CANCELLED` status. If not cancelled, upon completion of the returned operation: * The instance successfully moves to the target instance configuration. * You are billed for compute and storage in target instance configuration. Authorization requires the `spanner.instances.update` permission on the resource instance. For more details, see [Move an instance](https://cloud.google.com/spanner/docs/move-instance).", +"flatPath": "v1/projects/{projectsId}/instances/{instancesId}:move", +"httpMethod": "POST", +"id": "spanner.projects.instances.move", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The instance to move. Values are of the form `projects//instances/`.", +"location": "path", +"pattern": "^projects/[^/]+/instances/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:move", +"request": { +"$ref": "MoveInstanceRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/spanner.admin" +] +}, +"patch": { +"description": "Updates an instance, and begins allocating or releasing resources as requested. The returned long-running operation can be used to track the progress of updating the instance. If the named instance does not exist, returns `NOT_FOUND`. Immediately upon completion of this request: * For resource types for which a decrease in the instance's allocation has been requested, billing is based on the newly-requested level. Until completion of the returned operation: * Cancelling the operation sets its metadata's cancel_time, and begins restoring resources to their pre-request values. The operation is guaranteed to succeed at undoing all resource changes, after which point it terminates with a `CANCELLED` status. * All other attempts to modify the instance are rejected. * Reading the instance via the API continues to give the pre-request resource levels. Upon completion of the returned operation: * Billing begins for all successfully-allocated resources (some types may have lower than the requested levels). * All newly-reserved resources are available for serving the instance's tables. * The instance's new resource levels are readable via the API. The returned long-running operation will have a name of the format `/operations/` and can be used to track the instance modification. The metadata field type is UpdateInstanceMetadata. The response field type is Instance, if successful. Authorization requires `spanner.instances.update` permission on the resource name.", +"flatPath": "v1/projects/{projectsId}/instances/{instancesId}", +"httpMethod": "PATCH", +"id": "spanner.projects.instances.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. A unique identifier for the instance, which cannot be changed after the instance is created. Values are of the form `projects//instances/a-z*[a-z0-9]`. The final segment of the name must be between 2 and 64 characters in length.", +"location": "path", +"pattern": "^projects/[^/]+/instances/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "UpdateInstanceRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/spanner.admin" +] +}, +"setIamPolicy": { +"description": "Sets the access control policy on an instance resource. Replaces any existing policy. Authorization requires `spanner.instances.setIamPolicy` on resource.", +"flatPath": "v1/projects/{projectsId}/instances/{instancesId}:setIamPolicy", +"httpMethod": "POST", +"id": "spanner.projects.instances.setIamPolicy", +"parameterOrder": [ +"resource" +], +"parameters": { +"resource": { +"description": "REQUIRED: The Cloud Spanner resource for which the policy is being set. The format is `projects//instances/` for instance resources and `projects//instances//databases/` for databases resources.", +"location": "path", +"pattern": "^projects/[^/]+/instances/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+resource}:setIamPolicy", +"request": { +"$ref": "SetIamPolicyRequest" +}, +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/spanner.admin" +] +}, +"testIamPermissions": { +"description": "Returns permissions that the caller has on the specified instance resource. Attempting this RPC on a non-existent Cloud Spanner instance resource will result in a NOT_FOUND error if the user has `spanner.instances.list` permission on the containing Google Cloud Project. Otherwise returns an empty set of permissions.", +"flatPath": "v1/projects/{projectsId}/instances/{instancesId}:testIamPermissions", +"httpMethod": "POST", +"id": "spanner.projects.instances.testIamPermissions", +"parameterOrder": [ +"resource" +], +"parameters": { +"resource": { +"description": "REQUIRED: The Cloud Spanner resource for which permissions are being tested. The format is `projects//instances/` for instance resources and `projects//instances//databases/` for database resources.", +"location": "path", +"pattern": "^projects/[^/]+/instances/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+resource}:testIamPermissions", +"request": { +"$ref": "TestIamPermissionsRequest" +}, +"response": { +"$ref": "TestIamPermissionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/spanner.admin" +] +} +}, +"resources": { +"backupOperations": { +"methods": { +"list": { +"description": "Lists the backup long-running operations in the given instance. A backup operation has a name of the form `projects//instances//backups//operations/`. The long-running operation metadata field type `metadata.type_url` describes the type of the metadata. Operations returned include those that have completed/failed/canceled within the last 7 days, and pending operations. Operations returned are ordered by `operation.metadata.value.progress.start_time` in descending order starting from the most recently started operation.", +"flatPath": "v1/projects/{projectsId}/instances/{instancesId}/backupOperations", +"httpMethod": "GET", +"id": "spanner.projects.instances.backupOperations.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "An expression that filters the list of returned backup operations. A filter expression consists of a field name, a comparison operator, and a value for filtering. The value must be a string, a number, or a boolean. The comparison operator must be one of: `<`, `>`, `<=`, `>=`, `!=`, `=`, or `:`. Colon `:` is the contains operator. Filter rules are not case sensitive. The following fields in the operation are eligible for filtering: * `name` - The name of the long-running operation * `done` - False if the operation is in progress, else true. * `metadata.@type` - the type of metadata. For example, the type string for CreateBackupMetadata is `type.googleapis.com/google.spanner.admin.database.v1.CreateBackupMetadata`. * `metadata.` - any field in metadata.value. `metadata.@type` must be specified first if filtering on metadata fields. * `error` - Error associated with the long-running operation. * `response.@type` - the type of response. * `response.` - any field in response.value. You can combine multiple expressions by enclosing each expression in parentheses. By default, expressions are combined with AND logic, but you can specify AND, OR, and NOT logic explicitly. Here are a few examples: * `done:true` - The operation is complete. * `(metadata.@type=type.googleapis.com/google.spanner.admin.database.v1.CreateBackupMetadata) AND` \\ `metadata.database:prod` - Returns operations where: * The operation's metadata type is CreateBackupMetadata. * The source database name of backup contains the string \"prod\". * `(metadata.@type=type.googleapis.com/google.spanner.admin.database.v1.CreateBackupMetadata) AND` \\ `(metadata.name:howl) AND` \\ `(metadata.progress.start_time < \\\"2018-03-28T14:50:00Z\\\") AND` \\ `(error:*)` - Returns operations where: * The operation's metadata type is CreateBackupMetadata. * The backup name contains the string \"howl\". * The operation started before 2018-03-28T14:50:00Z. * The operation resulted in an error. * `(metadata.@type=type.googleapis.com/google.spanner.admin.database.v1.CopyBackupMetadata) AND` \\ `(metadata.source_backup:test) AND` \\ `(metadata.progress.start_time < \\\"2022-01-18T14:50:00Z\\\") AND` \\ `(error:*)` - Returns operations where: * The operation's metadata type is CopyBackupMetadata. * The source backup name contains the string \"test\". * The operation started before 2022-01-18T14:50:00Z. * The operation resulted in an error. * `((metadata.@type=type.googleapis.com/google.spanner.admin.database.v1.CreateBackupMetadata) AND` \\ `(metadata.database:test_db)) OR` \\ `((metadata.@type=type.googleapis.com/google.spanner.admin.database.v1.CopyBackupMetadata) AND` \\ `(metadata.source_backup:test_bkp)) AND` \\ `(error:*)` - Returns operations where: * The operation's metadata matches either of criteria: * The operation's metadata type is CreateBackupMetadata AND the source database name of the backup contains the string \"test_db\" * The operation's metadata type is CopyBackupMetadata AND the source backup name contains the string \"test_bkp\" * The operation resulted in an error.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Number of operations to be returned in the response. If 0 or less, defaults to the server's maximum allowed page size.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "If non-empty, `page_token` should contain a next_page_token from a previous ListBackupOperationsResponse to the same `parent` and with the same `filter`.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The instance of the backup operations. Values are of the form `projects//instances/`.", +"location": "path", +"pattern": "^projects/[^/]+/instances/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/backupOperations", +"response": { +"$ref": "ListBackupOperationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/spanner.admin" +] +} +} +}, +"backups": { +"methods": { +"copy": { +"description": "Starts copying a Cloud Spanner Backup. The returned backup long-running operation will have a name of the format `projects//instances//backups//operations/` and can be used to track copying of the backup. The operation is associated with the destination backup. The metadata field type is CopyBackupMetadata. The response field type is Backup, if successful. Cancelling the returned operation will stop the copying and delete the destination backup. Concurrent CopyBackup requests can run on the same source backup.", +"flatPath": "v1/projects/{projectsId}/instances/{instancesId}/backups:copy", +"httpMethod": "POST", +"id": "spanner.projects.instances.backups.copy", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The name of the destination instance that will contain the backup copy. Values are of the form: `projects//instances/`.", +"location": "path", +"pattern": "^projects/[^/]+/instances/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/backups:copy", +"request": { +"$ref": "CopyBackupRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/spanner.admin" +] +}, +"create": { +"description": "Starts creating a new Cloud Spanner Backup. The returned backup long-running operation will have a name of the format `projects//instances//backups//operations/` and can be used to track creation of the backup. The metadata field type is CreateBackupMetadata. The response field type is Backup, if successful. Cancelling the returned operation will stop the creation and delete the backup. There can be only one pending backup creation per database. Backup creation of different databases can run concurrently.", +"flatPath": "v1/projects/{projectsId}/instances/{instancesId}/backups", +"httpMethod": "POST", +"id": "spanner.projects.instances.backups.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"backupId": { +"description": "Required. The id of the backup to be created. The `backup_id` appended to `parent` forms the full backup name of the form `projects//instances//backups/`.", +"location": "query", +"type": "string" +}, +"encryptionConfig.encryptionType": { +"description": "Required. The encryption type of the backup.", +"enum": [ +"ENCRYPTION_TYPE_UNSPECIFIED", +"USE_DATABASE_ENCRYPTION", +"GOOGLE_DEFAULT_ENCRYPTION", +"CUSTOMER_MANAGED_ENCRYPTION" +], +"enumDescriptions": [ +"Unspecified. Do not use.", +"Use the same encryption configuration as the database. This is the default option when encryption_config is empty. For example, if the database is using `Customer_Managed_Encryption`, the backup will be using the same Cloud KMS key as the database.", +"Use Google default encryption.", +"Use customer managed encryption. If specified, `kms_key_name` must contain a valid Cloud KMS key." +], +"location": "query", +"type": "string" +}, +"encryptionConfig.kmsKeyName": { +"description": "Optional. This field is maintained for backwards compatibility. For new callers, we recommend using `kms_key_names` to specify the KMS key. Only use `kms_key_name` if the location of the KMS key matches the database instance's configuration (location) exactly. For example, if the KMS location is in `us-central1` or `nam3`, then the database instance must also be in `us-central1` or `nam3`. The Cloud KMS key that is used to encrypt and decrypt the restored database. Set this field only when encryption_type is `CUSTOMER_MANAGED_ENCRYPTION`. Values are of the form `projects//locations//keyRings//cryptoKeys/`.", +"location": "query", +"type": "string" +}, +"encryptionConfig.kmsKeyNames": { +"description": "Optional. Specifies the KMS configuration for the one or more keys used to protect the backup. Values are of the form `projects//locations//keyRings//cryptoKeys/`. The keys referenced by `kms_key_names` must fully cover all regions of the backup's instance configuration. Some examples: * For regional (single-region) instance configurations, specify a regional location KMS key. * For multi-region instance configurations of type `GOOGLE_MANAGED`, either specify a multi-region location KMS key or multiple regional location KMS keys that cover all regions in the instance configuration. * For an instance configuration of type `USER_MANAGED`, specify only regional location KMS keys to cover each region in the instance configuration. Multi-region location KMS keys aren't supported for `USER_MANAGED` type instance configurations.", +"location": "query", +"repeated": true, +"type": "string" +}, +"parent": { +"description": "Required. The name of the instance in which the backup is created. This must be the same instance that contains the database the backup is created from. The backup will be stored in the locations specified in the instance configuration of this instance. Values are of the form `projects//instances/`.", +"location": "path", +"pattern": "^projects/[^/]+/instances/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/backups", +"request": { +"$ref": "Backup" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/spanner.admin" +] +}, +"delete": { +"description": "Deletes a pending or completed Backup.", +"flatPath": "v1/projects/{projectsId}/instances/{instancesId}/backups/{backupsId}", +"httpMethod": "DELETE", +"id": "spanner.projects.instances.backups.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of the backup to delete. Values are of the form `projects//instances//backups/`.", +"location": "path", +"pattern": "^projects/[^/]+/instances/[^/]+/backups/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/spanner.admin" +] +}, +"get": { +"description": "Gets metadata on a pending or completed Backup.", +"flatPath": "v1/projects/{projectsId}/instances/{instancesId}/backups/{backupsId}", +"httpMethod": "GET", +"id": "spanner.projects.instances.backups.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of the backup. Values are of the form `projects//instances//backups/`.", +"location": "path", +"pattern": "^projects/[^/]+/instances/[^/]+/backups/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Backup" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/spanner.admin" +] +}, +"getIamPolicy": { +"description": "Gets the access control policy for a database or backup resource. Returns an empty policy if a database or backup exists but does not have a policy set. Authorization requires `spanner.databases.getIamPolicy` permission on resource. For backups, authorization requires `spanner.backups.getIamPolicy` permission on resource. For backup schedules, authorization requires `spanner.backupSchedules.getIamPolicy` permission on resource.", +"flatPath": "v1/projects/{projectsId}/instances/{instancesId}/backups/{backupsId}:getIamPolicy", +"httpMethod": "POST", +"id": "spanner.projects.instances.backups.getIamPolicy", +"parameterOrder": [ +"resource" +], +"parameters": { +"resource": { +"description": "REQUIRED: The Cloud Spanner resource for which the policy is being retrieved. The format is `projects//instances/` for instance resources and `projects//instances//databases/` for database resources.", +"location": "path", +"pattern": "^projects/[^/]+/instances/[^/]+/backups/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+resource}:getIamPolicy", +"request": { +"$ref": "GetIamPolicyRequest" +}, +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/spanner.admin" +] +}, +"list": { +"description": "Lists completed and pending backups. Backups returned are ordered by `create_time` in descending order, starting from the most recent `create_time`.", +"flatPath": "v1/projects/{projectsId}/instances/{instancesId}/backups", +"httpMethod": "GET", +"id": "spanner.projects.instances.backups.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "An expression that filters the list of returned backups. A filter expression consists of a field name, a comparison operator, and a value for filtering. The value must be a string, a number, or a boolean. The comparison operator must be one of: `<`, `>`, `<=`, `>=`, `!=`, `=`, or `:`. Colon `:` is the contains operator. Filter rules are not case sensitive. The following fields in the Backup are eligible for filtering: * `name` * `database` * `state` * `create_time` (and values are of the format YYYY-MM-DDTHH:MM:SSZ) * `expire_time` (and values are of the format YYYY-MM-DDTHH:MM:SSZ) * `version_time` (and values are of the format YYYY-MM-DDTHH:MM:SSZ) * `size_bytes` * `backup_schedules` You can combine multiple expressions by enclosing each expression in parentheses. By default, expressions are combined with AND logic, but you can specify AND, OR, and NOT logic explicitly. Here are a few examples: * `name:Howl` - The backup's name contains the string \"howl\". * `database:prod` - The database's name contains the string \"prod\". * `state:CREATING` - The backup is pending creation. * `state:READY` - The backup is fully created and ready for use. * `(name:howl) AND (create_time < \\\"2018-03-28T14:50:00Z\\\")` - The backup name contains the string \"howl\" and `create_time` of the backup is before 2018-03-28T14:50:00Z. * `expire_time < \\\"2018-03-28T14:50:00Z\\\"` - The backup `expire_time` is before 2018-03-28T14:50:00Z. * `size_bytes > 10000000000` - The backup's size is greater than 10GB * `backup_schedules:daily` - The backup is created from a schedule with \"daily\" in its name.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Number of backups to be returned in the response. If 0 or less, defaults to the server's maximum allowed page size.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "If non-empty, `page_token` should contain a next_page_token from a previous ListBackupsResponse to the same `parent` and with the same `filter`.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The instance to list backups from. Values are of the form `projects//instances/`.", +"location": "path", +"pattern": "^projects/[^/]+/instances/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/backups", +"response": { +"$ref": "ListBackupsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/spanner.admin" +] +}, +"patch": { +"description": "Updates a pending or completed Backup.", +"flatPath": "v1/projects/{projectsId}/instances/{instancesId}/backups/{backupsId}", +"httpMethod": "PATCH", +"id": "spanner.projects.instances.backups.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Output only for the CreateBackup operation. Required for the UpdateBackup operation. A globally unique identifier for the backup which cannot be changed. Values are of the form `projects//instances//backups/a-z*[a-z0-9]` The final segment of the name must be between 2 and 60 characters in length. The backup is stored in the location(s) specified in the instance configuration of the instance containing the backup, identified by the prefix of the backup name of the form `projects//instances/`.", +"location": "path", +"pattern": "^projects/[^/]+/instances/[^/]+/backups/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Required. A mask specifying which fields (for example, `expire_time`) in the backup resource should be updated. This mask is relative to the backup resource, not to the request message. The field mask must always be specified; this prevents any future fields from being erased accidentally by clients that do not know about them.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "Backup" +}, +"response": { +"$ref": "Backup" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/spanner.admin" +] +}, +"setIamPolicy": { +"description": "Sets the access control policy on a database or backup resource. Replaces any existing policy. Authorization requires `spanner.databases.setIamPolicy` permission on resource. For backups, authorization requires `spanner.backups.setIamPolicy` permission on resource. For backup schedules, authorization requires `spanner.backupSchedules.setIamPolicy` permission on resource.", +"flatPath": "v1/projects/{projectsId}/instances/{instancesId}/backups/{backupsId}:setIamPolicy", +"httpMethod": "POST", +"id": "spanner.projects.instances.backups.setIamPolicy", +"parameterOrder": [ +"resource" +], +"parameters": { +"resource": { +"description": "REQUIRED: The Cloud Spanner resource for which the policy is being set. The format is `projects//instances/` for instance resources and `projects//instances//databases/` for databases resources.", +"location": "path", +"pattern": "^projects/[^/]+/instances/[^/]+/backups/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+resource}:setIamPolicy", +"request": { +"$ref": "SetIamPolicyRequest" +}, +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/spanner.admin" +] +}, +"testIamPermissions": { +"description": "Returns permissions that the caller has on the specified database or backup resource. Attempting this RPC on a non-existent Cloud Spanner database will result in a NOT_FOUND error if the user has `spanner.databases.list` permission on the containing Cloud Spanner instance. Otherwise returns an empty set of permissions. Calling this method on a backup that does not exist will result in a NOT_FOUND error if the user has `spanner.backups.list` permission on the containing instance. Calling this method on a backup schedule that does not exist will result in a NOT_FOUND error if the user has `spanner.backupSchedules.list` permission on the containing database.", +"flatPath": "v1/projects/{projectsId}/instances/{instancesId}/backups/{backupsId}:testIamPermissions", +"httpMethod": "POST", +"id": "spanner.projects.instances.backups.testIamPermissions", +"parameterOrder": [ +"resource" +], +"parameters": { +"resource": { +"description": "REQUIRED: The Cloud Spanner resource for which permissions are being tested. The format is `projects//instances/` for instance resources and `projects//instances//databases/` for database resources.", +"location": "path", +"pattern": "^projects/[^/]+/instances/[^/]+/backups/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+resource}:testIamPermissions", +"request": { +"$ref": "TestIamPermissionsRequest" +}, +"response": { +"$ref": "TestIamPermissionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/spanner.admin" +] +} +}, +"resources": { +"operations": { +"methods": { +"cancel": { +"description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.", +"flatPath": "v1/projects/{projectsId}/instances/{instancesId}/backups/{backupsId}/operations/{operationsId}:cancel", +"httpMethod": "POST", +"id": "spanner.projects.instances.backups.operations.cancel", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be cancelled.", +"location": "path", +"pattern": "^projects/[^/]+/instances/[^/]+/backups/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:cancel", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/spanner.admin" +] +}, +"delete": { +"description": "Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.", +"flatPath": "v1/projects/{projectsId}/instances/{instancesId}/backups/{backupsId}/operations/{operationsId}", +"httpMethod": "DELETE", +"id": "spanner.projects.instances.backups.operations.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be deleted.", +"location": "path", +"pattern": "^projects/[^/]+/instances/[^/]+/backups/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/spanner.admin" +] +}, +"get": { +"description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", +"flatPath": "v1/projects/{projectsId}/instances/{instancesId}/backups/{backupsId}/operations/{operationsId}", +"httpMethod": "GET", +"id": "spanner.projects.instances.backups.operations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource.", +"location": "path", +"pattern": "^projects/[^/]+/instances/[^/]+/backups/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/spanner.admin" +] +}, +"list": { +"description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.", +"flatPath": "v1/projects/{projectsId}/instances/{instancesId}/backups/{backupsId}/operations", +"httpMethod": "GET", +"id": "spanner.projects.instances.backups.operations.list", +"parameterOrder": [ +"name" +], +"parameters": { +"filter": { +"description": "The standard list filter.", +"location": "query", +"type": "string" +}, +"name": { +"description": "The name of the operation's parent resource.", +"location": "path", +"pattern": "^projects/[^/]+/instances/[^/]+/backups/[^/]+/operations$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The standard list page size.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The standard list page token.", +"location": "query", +"type": "string" +}, +"returnPartialSuccess": { +"description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `\"projects/example/locations/-\"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "ListOperationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/spanner.admin" +] +} +} +} +} +}, +"databaseOperations": { +"methods": { +"list": { +"description": "Lists database longrunning-operations. A database operation has a name of the form `projects//instances//databases//operations/`. The long-running operation metadata field type `metadata.type_url` describes the type of the metadata. Operations returned include those that have completed/failed/canceled within the last 7 days, and pending operations.", +"flatPath": "v1/projects/{projectsId}/instances/{instancesId}/databaseOperations", +"httpMethod": "GET", +"id": "spanner.projects.instances.databaseOperations.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "An expression that filters the list of returned operations. A filter expression consists of a field name, a comparison operator, and a value for filtering. The value must be a string, a number, or a boolean. The comparison operator must be one of: `<`, `>`, `<=`, `>=`, `!=`, `=`, or `:`. Colon `:` is the contains operator. Filter rules are not case sensitive. The following fields in the operation are eligible for filtering: * `name` - The name of the long-running operation * `done` - False if the operation is in progress, else true. * `metadata.@type` - the type of metadata. For example, the type string for RestoreDatabaseMetadata is `type.googleapis.com/google.spanner.admin.database.v1.RestoreDatabaseMetadata`. * `metadata.` - any field in metadata.value. `metadata.@type` must be specified first, if filtering on metadata fields. * `error` - Error associated with the long-running operation. * `response.@type` - the type of response. * `response.` - any field in response.value. You can combine multiple expressions by enclosing each expression in parentheses. By default, expressions are combined with AND logic. However, you can specify AND, OR, and NOT logic explicitly. Here are a few examples: * `done:true` - The operation is complete. * `(metadata.@type=type.googleapis.com/google.spanner.admin.database.v1.RestoreDatabaseMetadata) AND` \\ `(metadata.source_type:BACKUP) AND` \\ `(metadata.backup_info.backup:backup_howl) AND` \\ `(metadata.name:restored_howl) AND` \\ `(metadata.progress.start_time < \\\"2018-03-28T14:50:00Z\\\") AND` \\ `(error:*)` - Return operations where: * The operation's metadata type is RestoreDatabaseMetadata. * The database is restored from a backup. * The backup name contains \"backup_howl\". * The restored database's name contains \"restored_howl\". * The operation started before 2018-03-28T14:50:00Z. * The operation resulted in an error.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Number of operations to be returned in the response. If 0 or less, defaults to the server's maximum allowed page size.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "If non-empty, `page_token` should contain a next_page_token from a previous ListDatabaseOperationsResponse to the same `parent` and with the same `filter`.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The instance of the database operations. Values are of the form `projects//instances/`.", +"location": "path", +"pattern": "^projects/[^/]+/instances/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/databaseOperations", +"response": { +"$ref": "ListDatabaseOperationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/spanner.admin" +] +} +} +}, +"databases": { +"methods": { +"addSplitPoints": { +"description": "Adds split points to specified tables and indexes of a database.", +"flatPath": "v1/projects/{projectsId}/instances/{instancesId}/databases/{databasesId}:addSplitPoints", +"httpMethod": "POST", +"id": "spanner.projects.instances.databases.addSplitPoints", +"parameterOrder": [ +"database" +], +"parameters": { +"database": { +"description": "Required. The database on whose tables or indexes the split points are to be added. Values are of the form `projects//instances//databases/`.", +"location": "path", +"pattern": "^projects/[^/]+/instances/[^/]+/databases/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+database}:addSplitPoints", +"request": { +"$ref": "AddSplitPointsRequest" +}, +"response": { +"$ref": "AddSplitPointsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/spanner.admin" +] +}, +"changequorum": { +"description": "`ChangeQuorum` is strictly restricted to databases that use dual-region instance configurations. Initiates a background operation to change the quorum of a database from dual-region mode to single-region mode or vice versa. The returned long-running operation has a name of the format `projects//instances//databases//operations/` and can be used to track execution of the `ChangeQuorum`. The metadata field type is ChangeQuorumMetadata. Authorization requires `spanner.databases.changequorum` permission on the resource database.", +"flatPath": "v1/projects/{projectsId}/instances/{instancesId}/databases/{databasesId}:changequorum", +"httpMethod": "POST", +"id": "spanner.projects.instances.databases.changequorum", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of the database in which to apply `ChangeQuorum`. Values are of the form `projects//instances//databases/`.", +"location": "path", +"pattern": "^projects/[^/]+/instances/[^/]+/databases/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:changequorum", +"request": { +"$ref": "ChangeQuorumRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/spanner.admin" +] +}, +"create": { +"description": "Creates a new Spanner database and starts to prepare it for serving. The returned long-running operation will have a name of the format `/operations/` and can be used to track preparation of the database. The metadata field type is CreateDatabaseMetadata. The response field type is Database, if successful.", +"flatPath": "v1/projects/{projectsId}/instances/{instancesId}/databases", +"httpMethod": "POST", +"id": "spanner.projects.instances.databases.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The name of the instance that will serve the new database. Values are of the form `projects//instances/`.", +"location": "path", +"pattern": "^projects/[^/]+/instances/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/databases", +"request": { +"$ref": "CreateDatabaseRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/spanner.admin" +] +}, +"dropDatabase": { +"description": "Drops (aka deletes) a Cloud Spanner database. Completed backups for the database will be retained according to their `expire_time`. Note: Cloud Spanner might continue to accept requests for a few seconds after the database has been deleted.", +"flatPath": "v1/projects/{projectsId}/instances/{instancesId}/databases/{databasesId}", +"httpMethod": "DELETE", +"id": "spanner.projects.instances.databases.dropDatabase", +"parameterOrder": [ +"database" +], +"parameters": { +"database": { +"description": "Required. The database to be dropped.", +"location": "path", +"pattern": "^projects/[^/]+/instances/[^/]+/databases/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+database}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/spanner.admin" +] +}, +"get": { +"description": "Gets the state of a Cloud Spanner database.", +"flatPath": "v1/projects/{projectsId}/instances/{instancesId}/databases/{databasesId}", +"httpMethod": "GET", +"id": "spanner.projects.instances.databases.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the requested database. Values are of the form `projects//instances//databases/`.", +"location": "path", +"pattern": "^projects/[^/]+/instances/[^/]+/databases/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Database" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/spanner.admin" +] +}, +"getDdl": { +"description": "Returns the schema of a Cloud Spanner database as a list of formatted DDL statements. This method does not show pending schema updates, those may be queried using the Operations API.", +"flatPath": "v1/projects/{projectsId}/instances/{instancesId}/databases/{databasesId}/ddl", +"httpMethod": "GET", +"id": "spanner.projects.instances.databases.getDdl", +"parameterOrder": [ +"database" +], +"parameters": { +"database": { +"description": "Required. The database whose schema we wish to get. Values are of the form `projects//instances//databases/`", +"location": "path", +"pattern": "^projects/[^/]+/instances/[^/]+/databases/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+database}/ddl", +"response": { +"$ref": "GetDatabaseDdlResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/spanner.admin" +] +}, +"getIamPolicy": { +"description": "Gets the access control policy for a database or backup resource. Returns an empty policy if a database or backup exists but does not have a policy set. Authorization requires `spanner.databases.getIamPolicy` permission on resource. For backups, authorization requires `spanner.backups.getIamPolicy` permission on resource. For backup schedules, authorization requires `spanner.backupSchedules.getIamPolicy` permission on resource.", +"flatPath": "v1/projects/{projectsId}/instances/{instancesId}/databases/{databasesId}:getIamPolicy", +"httpMethod": "POST", +"id": "spanner.projects.instances.databases.getIamPolicy", +"parameterOrder": [ +"resource" +], +"parameters": { +"resource": { +"description": "REQUIRED: The Cloud Spanner resource for which the policy is being retrieved. The format is `projects//instances/` for instance resources and `projects//instances//databases/` for database resources.", +"location": "path", +"pattern": "^projects/[^/]+/instances/[^/]+/databases/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+resource}:getIamPolicy", +"request": { +"$ref": "GetIamPolicyRequest" +}, +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/spanner.admin" +] +}, +"getScans": { +"description": "Request a specific scan with Database-specific data for Cloud Key Visualizer.", +"flatPath": "v1/projects/{projectsId}/instances/{instancesId}/databases/{databasesId}/scans", +"httpMethod": "GET", +"id": "spanner.projects.instances.databases.getScans", +"parameterOrder": [ +"name" +], +"parameters": { +"endTime": { +"description": "The upper bound for the time range to retrieve Scan data for.", +"format": "google-datetime", +"location": "query", +"type": "string" +}, +"name": { +"description": "Required. The unique name of the scan containing the requested information, specific to the Database service implementing this interface.", +"location": "path", +"pattern": "^projects/[^/]+/instances/[^/]+/databases/[^/]+$", +"required": true, +"type": "string" +}, +"startTime": { +"description": "These fields restrict the Database-specific information returned in the `Scan.data` field. If a `View` is provided that does not include the `Scan.data` field, these are ignored. This range of time must be entirely contained within the defined time range of the targeted scan. The lower bound for the time range to retrieve Scan data for.", +"format": "google-datetime", +"location": "query", +"type": "string" +}, +"view": { +"description": "Specifies which parts of the Scan should be returned in the response. Note, if left unspecified, the FULL view is assumed.", +"enum": [ +"VIEW_UNSPECIFIED", +"SUMMARY", +"FULL" +], +"enumDescriptions": [ +"Not specified, equivalent to SUMMARY.", +"Server responses only include `name`, `details`, `start_time` and `end_time`. The default value. Note, the ListScans method may only use this view type, others view types are not supported.", +"Full representation of the scan is returned in the server response, including `data`." +], +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}/scans", +"response": { +"$ref": "Scan" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/spanner.data" +] +}, +"list": { +"description": "Lists Cloud Spanner databases.", +"flatPath": "v1/projects/{projectsId}/instances/{instancesId}/databases", +"httpMethod": "GET", +"id": "spanner.projects.instances.databases.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "Number of databases to be returned in the response. If 0 or less, defaults to the server's maximum allowed page size.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "If non-empty, `page_token` should contain a next_page_token from a previous ListDatabasesResponse.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The instance whose databases should be listed. Values are of the form `projects//instances/`.", +"location": "path", +"pattern": "^projects/[^/]+/instances/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/databases", +"response": { +"$ref": "ListDatabasesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/spanner.admin" +] +}, +"patch": { +"description": "Updates a Cloud Spanner database. The returned long-running operation can be used to track the progress of updating the database. If the named database does not exist, returns `NOT_FOUND`. While the operation is pending: * The database's reconciling field is set to true. * Cancelling the operation is best-effort. If the cancellation succeeds, the operation metadata's cancel_time is set, the updates are reverted, and the operation terminates with a `CANCELLED` status. * New UpdateDatabase requests will return a `FAILED_PRECONDITION` error until the pending operation is done (returns successfully or with error). * Reading the database via the API continues to give the pre-request values. Upon completion of the returned operation: * The new values are in effect and readable via the API. * The database's reconciling field becomes false. The returned long-running operation will have a name of the format `projects//instances//databases//operations/` and can be used to track the database modification. The metadata field type is UpdateDatabaseMetadata. The response field type is Database, if successful.", +"flatPath": "v1/projects/{projectsId}/instances/{instancesId}/databases/{databasesId}", +"httpMethod": "PATCH", +"id": "spanner.projects.instances.databases.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the database. Values are of the form `projects//instances//databases/`, where `` is as specified in the `CREATE DATABASE` statement. This name can be passed to other API methods to identify the database.", +"location": "path", +"pattern": "^projects/[^/]+/instances/[^/]+/databases/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Required. The list of fields to update. Currently, only `enable_drop_protection` field can be updated.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "Database" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/spanner.admin" +] +}, +"restore": { +"description": "Create a new database by restoring from a completed backup. The new database must be in the same project and in an instance with the same instance configuration as the instance containing the backup. The returned database long-running operation has a name of the format `projects//instances//databases//operations/`, and can be used to track the progress of the operation, and to cancel it. The metadata field type is RestoreDatabaseMetadata. The response type is Database, if successful. Cancelling the returned operation will stop the restore and delete the database. There can be only one database being restored into an instance at a time. Once the restore operation completes, a new restore operation can be initiated, without waiting for the optimize operation associated with the first restore to complete.", +"flatPath": "v1/projects/{projectsId}/instances/{instancesId}/databases:restore", +"httpMethod": "POST", +"id": "spanner.projects.instances.databases.restore", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The name of the instance in which to create the restored database. This instance must be in the same project and have the same instance configuration as the instance containing the source backup. Values are of the form `projects//instances/`.", +"location": "path", +"pattern": "^projects/[^/]+/instances/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/databases:restore", +"request": { +"$ref": "RestoreDatabaseRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/spanner.admin" +] +}, +"setIamPolicy": { +"description": "Sets the access control policy on a database or backup resource. Replaces any existing policy. Authorization requires `spanner.databases.setIamPolicy` permission on resource. For backups, authorization requires `spanner.backups.setIamPolicy` permission on resource. For backup schedules, authorization requires `spanner.backupSchedules.setIamPolicy` permission on resource.", +"flatPath": "v1/projects/{projectsId}/instances/{instancesId}/databases/{databasesId}:setIamPolicy", +"httpMethod": "POST", +"id": "spanner.projects.instances.databases.setIamPolicy", +"parameterOrder": [ +"resource" +], +"parameters": { +"resource": { +"description": "REQUIRED: The Cloud Spanner resource for which the policy is being set. The format is `projects//instances/` for instance resources and `projects//instances//databases/` for databases resources.", +"location": "path", +"pattern": "^projects/[^/]+/instances/[^/]+/databases/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+resource}:setIamPolicy", +"request": { +"$ref": "SetIamPolicyRequest" +}, +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/spanner.admin" +] +}, +"testIamPermissions": { +"description": "Returns permissions that the caller has on the specified database or backup resource. Attempting this RPC on a non-existent Cloud Spanner database will result in a NOT_FOUND error if the user has `spanner.databases.list` permission on the containing Cloud Spanner instance. Otherwise returns an empty set of permissions. Calling this method on a backup that does not exist will result in a NOT_FOUND error if the user has `spanner.backups.list` permission on the containing instance. Calling this method on a backup schedule that does not exist will result in a NOT_FOUND error if the user has `spanner.backupSchedules.list` permission on the containing database.", +"flatPath": "v1/projects/{projectsId}/instances/{instancesId}/databases/{databasesId}:testIamPermissions", +"httpMethod": "POST", +"id": "spanner.projects.instances.databases.testIamPermissions", +"parameterOrder": [ +"resource" +], +"parameters": { +"resource": { +"description": "REQUIRED: The Cloud Spanner resource for which permissions are being tested. The format is `projects//instances/` for instance resources and `projects//instances//databases/` for database resources.", +"location": "path", +"pattern": "^projects/[^/]+/instances/[^/]+/databases/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+resource}:testIamPermissions", +"request": { +"$ref": "TestIamPermissionsRequest" +}, +"response": { +"$ref": "TestIamPermissionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/spanner.admin" +] +}, +"updateDdl": { +"description": "Updates the schema of a Cloud Spanner database by creating/altering/dropping tables, columns, indexes, etc. The returned long-running operation will have a name of the format `/operations/` and can be used to track execution of the schema changes. The metadata field type is UpdateDatabaseDdlMetadata. The operation has no response.", +"flatPath": "v1/projects/{projectsId}/instances/{instancesId}/databases/{databasesId}/ddl", +"httpMethod": "PATCH", +"id": "spanner.projects.instances.databases.updateDdl", +"parameterOrder": [ +"database" +], +"parameters": { +"database": { +"description": "Required. The database to update.", +"location": "path", +"pattern": "^projects/[^/]+/instances/[^/]+/databases/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+database}/ddl", +"request": { +"$ref": "UpdateDatabaseDdlRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/spanner.admin" +] +} +}, +"resources": { +"backupSchedules": { +"methods": { +"create": { +"description": "Creates a new backup schedule.", +"flatPath": "v1/projects/{projectsId}/instances/{instancesId}/databases/{databasesId}/backupSchedules", +"httpMethod": "POST", +"id": "spanner.projects.instances.databases.backupSchedules.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"backupScheduleId": { +"description": "Required. The Id to use for the backup schedule. The `backup_schedule_id` appended to `parent` forms the full backup schedule name of the form `projects//instances//databases//backupSchedules/`.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The name of the database that this backup schedule applies to.", +"location": "path", +"pattern": "^projects/[^/]+/instances/[^/]+/databases/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/backupSchedules", +"request": { +"$ref": "BackupSchedule" +}, +"response": { +"$ref": "BackupSchedule" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/spanner.admin" +] +}, +"delete": { +"description": "Deletes a backup schedule.", +"flatPath": "v1/projects/{projectsId}/instances/{instancesId}/databases/{databasesId}/backupSchedules/{backupSchedulesId}", +"httpMethod": "DELETE", +"id": "spanner.projects.instances.databases.backupSchedules.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the schedule to delete. Values are of the form `projects//instances//databases//backupSchedules/`.", +"location": "path", +"pattern": "^projects/[^/]+/instances/[^/]+/databases/[^/]+/backupSchedules/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/spanner.admin" +] +}, +"get": { +"description": "Gets backup schedule for the input schedule name.", +"flatPath": "v1/projects/{projectsId}/instances/{instancesId}/databases/{databasesId}/backupSchedules/{backupSchedulesId}", +"httpMethod": "GET", +"id": "spanner.projects.instances.databases.backupSchedules.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the schedule to retrieve. Values are of the form `projects//instances//databases//backupSchedules/`.", +"location": "path", +"pattern": "^projects/[^/]+/instances/[^/]+/databases/[^/]+/backupSchedules/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "BackupSchedule" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/spanner.admin" +] +}, +"getIamPolicy": { +"description": "Gets the access control policy for a database or backup resource. Returns an empty policy if a database or backup exists but does not have a policy set. Authorization requires `spanner.databases.getIamPolicy` permission on resource. For backups, authorization requires `spanner.backups.getIamPolicy` permission on resource. For backup schedules, authorization requires `spanner.backupSchedules.getIamPolicy` permission on resource.", +"flatPath": "v1/projects/{projectsId}/instances/{instancesId}/databases/{databasesId}/backupSchedules/{backupSchedulesId}:getIamPolicy", +"httpMethod": "POST", +"id": "spanner.projects.instances.databases.backupSchedules.getIamPolicy", +"parameterOrder": [ +"resource" +], +"parameters": { +"resource": { +"description": "REQUIRED: The Cloud Spanner resource for which the policy is being retrieved. The format is `projects//instances/` for instance resources and `projects//instances//databases/` for database resources.", +"location": "path", +"pattern": "^projects/[^/]+/instances/[^/]+/databases/[^/]+/backupSchedules/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+resource}:getIamPolicy", +"request": { +"$ref": "GetIamPolicyRequest" +}, +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/spanner.admin" +] +}, +"list": { +"description": "Lists all the backup schedules for the database.", +"flatPath": "v1/projects/{projectsId}/instances/{instancesId}/databases/{databasesId}/backupSchedules", +"httpMethod": "GET", +"id": "spanner.projects.instances.databases.backupSchedules.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "Optional. Number of backup schedules to be returned in the response. If 0 or less, defaults to the server's maximum allowed page size.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. If non-empty, `page_token` should contain a next_page_token from a previous ListBackupSchedulesResponse to the same `parent`.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. Database is the parent resource whose backup schedules should be listed. Values are of the form projects//instances//databases/", +"location": "path", +"pattern": "^projects/[^/]+/instances/[^/]+/databases/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/backupSchedules", +"response": { +"$ref": "ListBackupSchedulesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/spanner.admin" +] +}, +"patch": { +"description": "Updates a backup schedule.", +"flatPath": "v1/projects/{projectsId}/instances/{instancesId}/databases/{databasesId}/backupSchedules/{backupSchedulesId}", +"httpMethod": "PATCH", +"id": "spanner.projects.instances.databases.backupSchedules.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Identifier. Output only for the CreateBackupSchedule operation. Required for the UpdateBackupSchedule operation. A globally unique identifier for the backup schedule which cannot be changed. Values are of the form `projects//instances//databases//backupSchedules/a-z*[a-z0-9]` The final segment of the name must be between 2 and 60 characters in length.", +"location": "path", +"pattern": "^projects/[^/]+/instances/[^/]+/databases/[^/]+/backupSchedules/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Required. A mask specifying which fields in the BackupSchedule resource should be updated. This mask is relative to the BackupSchedule resource, not to the request message. The field mask must always be specified; this prevents any future fields from being erased accidentally.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "BackupSchedule" +}, +"response": { +"$ref": "BackupSchedule" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/spanner.admin" +] +}, +"setIamPolicy": { +"description": "Sets the access control policy on a database or backup resource. Replaces any existing policy. Authorization requires `spanner.databases.setIamPolicy` permission on resource. For backups, authorization requires `spanner.backups.setIamPolicy` permission on resource. For backup schedules, authorization requires `spanner.backupSchedules.setIamPolicy` permission on resource.", +"flatPath": "v1/projects/{projectsId}/instances/{instancesId}/databases/{databasesId}/backupSchedules/{backupSchedulesId}:setIamPolicy", +"httpMethod": "POST", +"id": "spanner.projects.instances.databases.backupSchedules.setIamPolicy", +"parameterOrder": [ +"resource" +], +"parameters": { +"resource": { +"description": "REQUIRED: The Cloud Spanner resource for which the policy is being set. The format is `projects//instances/` for instance resources and `projects//instances//databases/` for databases resources.", +"location": "path", +"pattern": "^projects/[^/]+/instances/[^/]+/databases/[^/]+/backupSchedules/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+resource}:setIamPolicy", +"request": { +"$ref": "SetIamPolicyRequest" +}, +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/spanner.admin" +] +}, +"testIamPermissions": { +"description": "Returns permissions that the caller has on the specified database or backup resource. Attempting this RPC on a non-existent Cloud Spanner database will result in a NOT_FOUND error if the user has `spanner.databases.list` permission on the containing Cloud Spanner instance. Otherwise returns an empty set of permissions. Calling this method on a backup that does not exist will result in a NOT_FOUND error if the user has `spanner.backups.list` permission on the containing instance. Calling this method on a backup schedule that does not exist will result in a NOT_FOUND error if the user has `spanner.backupSchedules.list` permission on the containing database.", +"flatPath": "v1/projects/{projectsId}/instances/{instancesId}/databases/{databasesId}/backupSchedules/{backupSchedulesId}:testIamPermissions", +"httpMethod": "POST", +"id": "spanner.projects.instances.databases.backupSchedules.testIamPermissions", +"parameterOrder": [ +"resource" +], +"parameters": { +"resource": { +"description": "REQUIRED: The Cloud Spanner resource for which permissions are being tested. The format is `projects//instances/` for instance resources and `projects//instances//databases/` for database resources.", +"location": "path", +"pattern": "^projects/[^/]+/instances/[^/]+/databases/[^/]+/backupSchedules/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+resource}:testIamPermissions", +"request": { +"$ref": "TestIamPermissionsRequest" +}, +"response": { +"$ref": "TestIamPermissionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/spanner.admin" +] +} +} +}, +"databaseRoles": { +"methods": { +"list": { +"description": "Lists Cloud Spanner database roles.", +"flatPath": "v1/projects/{projectsId}/instances/{instancesId}/databases/{databasesId}/databaseRoles", +"httpMethod": "GET", +"id": "spanner.projects.instances.databases.databaseRoles.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "Number of database roles to be returned in the response. If 0 or less, defaults to the server's maximum allowed page size.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "If non-empty, `page_token` should contain a next_page_token from a previous ListDatabaseRolesResponse.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The database whose roles should be listed. Values are of the form `projects//instances//databases/`.", +"location": "path", +"pattern": "^projects/[^/]+/instances/[^/]+/databases/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/databaseRoles", +"response": { +"$ref": "ListDatabaseRolesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/spanner.admin" +] +}, +"testIamPermissions": { +"description": "Returns permissions that the caller has on the specified database or backup resource. Attempting this RPC on a non-existent Cloud Spanner database will result in a NOT_FOUND error if the user has `spanner.databases.list` permission on the containing Cloud Spanner instance. Otherwise returns an empty set of permissions. Calling this method on a backup that does not exist will result in a NOT_FOUND error if the user has `spanner.backups.list` permission on the containing instance. Calling this method on a backup schedule that does not exist will result in a NOT_FOUND error if the user has `spanner.backupSchedules.list` permission on the containing database.", +"flatPath": "v1/projects/{projectsId}/instances/{instancesId}/databases/{databasesId}/databaseRoles/{databaseRolesId}:testIamPermissions", +"httpMethod": "POST", +"id": "spanner.projects.instances.databases.databaseRoles.testIamPermissions", +"parameterOrder": [ +"resource" +], +"parameters": { +"resource": { +"description": "REQUIRED: The Cloud Spanner resource for which permissions are being tested. The format is `projects//instances/` for instance resources and `projects//instances//databases/` for database resources.", +"location": "path", +"pattern": "^projects/[^/]+/instances/[^/]+/databases/[^/]+/databaseRoles/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+resource}:testIamPermissions", +"request": { +"$ref": "TestIamPermissionsRequest" +}, +"response": { +"$ref": "TestIamPermissionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/spanner.admin" +] +} +} +}, +"operations": { +"methods": { +"cancel": { +"description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.", +"flatPath": "v1/projects/{projectsId}/instances/{instancesId}/databases/{databasesId}/operations/{operationsId}:cancel", +"httpMethod": "POST", +"id": "spanner.projects.instances.databases.operations.cancel", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be cancelled.", +"location": "path", +"pattern": "^projects/[^/]+/instances/[^/]+/databases/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:cancel", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/spanner.admin" +] +}, +"delete": { +"description": "Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.", +"flatPath": "v1/projects/{projectsId}/instances/{instancesId}/databases/{databasesId}/operations/{operationsId}", +"httpMethod": "DELETE", +"id": "spanner.projects.instances.databases.operations.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be deleted.", +"location": "path", +"pattern": "^projects/[^/]+/instances/[^/]+/databases/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/spanner.admin" +] +}, +"get": { +"description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", +"flatPath": "v1/projects/{projectsId}/instances/{instancesId}/databases/{databasesId}/operations/{operationsId}", +"httpMethod": "GET", +"id": "spanner.projects.instances.databases.operations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource.", +"location": "path", +"pattern": "^projects/[^/]+/instances/[^/]+/databases/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/spanner.admin" +] +}, +"list": { +"description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.", +"flatPath": "v1/projects/{projectsId}/instances/{instancesId}/databases/{databasesId}/operations", +"httpMethod": "GET", +"id": "spanner.projects.instances.databases.operations.list", +"parameterOrder": [ +"name" +], +"parameters": { +"filter": { +"description": "The standard list filter.", +"location": "query", +"type": "string" +}, +"name": { +"description": "The name of the operation's parent resource.", +"location": "path", +"pattern": "^projects/[^/]+/instances/[^/]+/databases/[^/]+/operations$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The standard list page size.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The standard list page token.", +"location": "query", +"type": "string" +}, +"returnPartialSuccess": { +"description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `\"projects/example/locations/-\"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "ListOperationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/spanner.admin" +] +} +} +}, +"sessions": { +"methods": { +"adaptMessage": { +"description": "Handles a single message from the client and returns the result as a stream. The server will interpret the message frame and respond with message frames to the client.", +"flatPath": "v1/projects/{projectsId}/instances/{instancesId}/databases/{databasesId}/sessions/{sessionsId}:adaptMessage", +"httpMethod": "POST", +"id": "spanner.projects.instances.databases.sessions.adaptMessage", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The database session in which the adapter request is processed.", +"location": "path", +"pattern": "^projects/[^/]+/instances/[^/]+/databases/[^/]+/sessions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:adaptMessage", +"request": { +"$ref": "AdaptMessageRequest" +}, +"response": { +"$ref": "AdaptMessageResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/spanner.data" +] +}, +"adapter": { +"description": "Creates a new session to be used for requests made by the adapter. A session identifies a specific incarnation of a database resource and is meant to be reused across many `AdaptMessage` calls.", +"flatPath": "v1/projects/{projectsId}/instances/{instancesId}/databases/{databasesId}/sessions:adapter", +"httpMethod": "POST", +"id": "spanner.projects.instances.databases.sessions.adapter", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The database in which the new session is created.", +"location": "path", +"pattern": "^projects/[^/]+/instances/[^/]+/databases/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/sessions:adapter", +"request": { +"$ref": "AdapterSession" +}, +"response": { +"$ref": "AdapterSession" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/spanner.data" +] +}, +"batchCreate": { +"description": "Creates multiple new sessions. This API can be used to initialize a session cache on the clients. See https://goo.gl/TgSFN2 for best practices on session cache management.", +"flatPath": "v1/projects/{projectsId}/instances/{instancesId}/databases/{databasesId}/sessions:batchCreate", +"httpMethod": "POST", +"id": "spanner.projects.instances.databases.sessions.batchCreate", +"parameterOrder": [ +"database" +], +"parameters": { +"database": { +"description": "Required. The database in which the new sessions are created.", +"location": "path", +"pattern": "^projects/[^/]+/instances/[^/]+/databases/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+database}/sessions:batchCreate", +"request": { +"$ref": "BatchCreateSessionsRequest" +}, +"response": { +"$ref": "BatchCreateSessionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/spanner.data" +] +}, +"batchWrite": { +"description": "Batches the supplied mutation groups in a collection of efficient transactions. All mutations in a group are committed atomically. However, mutations across groups can be committed non-atomically in an unspecified order and thus, they must be independent of each other. Partial failure is possible, that is, some groups might have been committed successfully, while some might have failed. The results of individual batches are streamed into the response as the batches are applied. `BatchWrite` requests are not replay protected, meaning that each mutation group can be applied more than once. Replays of non-idempotent mutations can have undesirable effects. For example, replays of an insert mutation can produce an already exists error or if you use generated or commit timestamp-based keys, it can result in additional rows being added to the mutation's table. We recommend structuring your mutation groups to be idempotent to avoid this issue.", +"flatPath": "v1/projects/{projectsId}/instances/{instancesId}/databases/{databasesId}/sessions/{sessionsId}:batchWrite", +"httpMethod": "POST", +"id": "spanner.projects.instances.databases.sessions.batchWrite", +"parameterOrder": [ +"session" +], +"parameters": { +"session": { +"description": "Required. The session in which the batch request is to be run.", +"location": "path", +"pattern": "^projects/[^/]+/instances/[^/]+/databases/[^/]+/sessions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+session}:batchWrite", +"request": { +"$ref": "BatchWriteRequest" +}, +"response": { +"$ref": "BatchWriteResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/spanner.data" +] +}, +"beginTransaction": { +"description": "Begins a new transaction. This step can often be skipped: Read, ExecuteSql and Commit can begin a new transaction as a side-effect.", +"flatPath": "v1/projects/{projectsId}/instances/{instancesId}/databases/{databasesId}/sessions/{sessionsId}:beginTransaction", +"httpMethod": "POST", +"id": "spanner.projects.instances.databases.sessions.beginTransaction", +"parameterOrder": [ +"session" +], +"parameters": { +"session": { +"description": "Required. The session in which the transaction runs.", +"location": "path", +"pattern": "^projects/[^/]+/instances/[^/]+/databases/[^/]+/sessions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+session}:beginTransaction", +"request": { +"$ref": "BeginTransactionRequest" +}, +"response": { +"$ref": "Transaction" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/spanner.data" +] +}, +"commit": { +"description": "Commits a transaction. The request includes the mutations to be applied to rows in the database. `Commit` might return an `ABORTED` error. This can occur at any time; commonly, the cause is conflicts with concurrent transactions. However, it can also happen for a variety of other reasons. If `Commit` returns `ABORTED`, the caller should retry the transaction from the beginning, reusing the same session. On very rare occasions, `Commit` might return `UNKNOWN`. This can happen, for example, if the client job experiences a 1+ hour networking failure. At that point, Cloud Spanner has lost track of the transaction outcome and we recommend that you perform another read from the database to see the state of things as they are now.", +"flatPath": "v1/projects/{projectsId}/instances/{instancesId}/databases/{databasesId}/sessions/{sessionsId}:commit", +"httpMethod": "POST", +"id": "spanner.projects.instances.databases.sessions.commit", +"parameterOrder": [ +"session" +], +"parameters": { +"session": { +"description": "Required. The session in which the transaction to be committed is running.", +"location": "path", +"pattern": "^projects/[^/]+/instances/[^/]+/databases/[^/]+/sessions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+session}:commit", +"request": { +"$ref": "CommitRequest" +}, +"response": { +"$ref": "CommitResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/spanner.data" +] +}, +"create": { +"description": "Creates a new session. A session can be used to perform transactions that read and/or modify data in a Cloud Spanner database. Sessions are meant to be reused for many consecutive transactions. Sessions can only execute one transaction at a time. To execute multiple concurrent read-write/write-only transactions, create multiple sessions. Note that standalone reads and queries use a transaction internally, and count toward the one transaction limit. Active sessions use additional server resources, so it's a good idea to delete idle and unneeded sessions. Aside from explicit deletes, Cloud Spanner can delete sessions when no operations are sent for more than an hour. If a session is deleted, requests to it return `NOT_FOUND`. Idle sessions can be kept alive by sending a trivial SQL query periodically, for example, `\"SELECT 1\"`.", +"flatPath": "v1/projects/{projectsId}/instances/{instancesId}/databases/{databasesId}/sessions", +"httpMethod": "POST", +"id": "spanner.projects.instances.databases.sessions.create", +"parameterOrder": [ +"database" +], +"parameters": { +"database": { +"description": "Required. The database in which the new session is created.", +"location": "path", +"pattern": "^projects/[^/]+/instances/[^/]+/databases/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+database}/sessions", +"request": { +"$ref": "CreateSessionRequest" +}, +"response": { +"$ref": "Session" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/spanner.data" +] +}, +"delete": { +"description": "Ends a session, releasing server resources associated with it. This asynchronously triggers the cancellation of any operations that are running with this session.", +"flatPath": "v1/projects/{projectsId}/instances/{instancesId}/databases/{databasesId}/sessions/{sessionsId}", +"httpMethod": "DELETE", +"id": "spanner.projects.instances.databases.sessions.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the session to delete.", +"location": "path", +"pattern": "^projects/[^/]+/instances/[^/]+/databases/[^/]+/sessions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/spanner.data" +] +}, +"executeBatchDml": { +"description": "Executes a batch of SQL DML statements. This method allows many statements to be run with lower latency than submitting them sequentially with ExecuteSql. Statements are executed in sequential order. A request can succeed even if a statement fails. The ExecuteBatchDmlResponse.status field in the response provides information about the statement that failed. Clients must inspect this field to determine whether an error occurred. Execution stops after the first failed statement; the remaining statements are not executed.", +"flatPath": "v1/projects/{projectsId}/instances/{instancesId}/databases/{databasesId}/sessions/{sessionsId}:executeBatchDml", +"httpMethod": "POST", +"id": "spanner.projects.instances.databases.sessions.executeBatchDml", +"parameterOrder": [ +"session" +], +"parameters": { +"session": { +"description": "Required. The session in which the DML statements should be performed.", +"location": "path", +"pattern": "^projects/[^/]+/instances/[^/]+/databases/[^/]+/sessions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+session}:executeBatchDml", +"request": { +"$ref": "ExecuteBatchDmlRequest" +}, +"response": { +"$ref": "ExecuteBatchDmlResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/spanner.data" +] +}, +"executeSql": { +"description": "Executes an SQL statement, returning all results in a single reply. This method can't be used to return a result set larger than 10 MiB; if the query yields more data than that, the query fails with a `FAILED_PRECONDITION` error. Operations inside read-write transactions might return `ABORTED`. If this occurs, the application should restart the transaction from the beginning. See Transaction for more details. Larger result sets can be fetched in streaming fashion by calling ExecuteStreamingSql instead. The query string can be SQL or [Graph Query Language (GQL)](https://cloud.google.com/spanner/docs/reference/standard-sql/graph-intro).", +"flatPath": "v1/projects/{projectsId}/instances/{instancesId}/databases/{databasesId}/sessions/{sessionsId}:executeSql", +"httpMethod": "POST", +"id": "spanner.projects.instances.databases.sessions.executeSql", +"parameterOrder": [ +"session" +], +"parameters": { +"session": { +"description": "Required. The session in which the SQL query should be performed.", +"location": "path", +"pattern": "^projects/[^/]+/instances/[^/]+/databases/[^/]+/sessions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+session}:executeSql", +"request": { +"$ref": "ExecuteSqlRequest" +}, +"response": { +"$ref": "ResultSet" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/spanner.data" +] +}, +"executeStreamingSql": { +"description": "Like ExecuteSql, except returns the result set as a stream. Unlike ExecuteSql, there is no limit on the size of the returned result set. However, no individual row in the result set can exceed 100 MiB, and no column value can exceed 10 MiB. The query string can be SQL or [Graph Query Language (GQL)](https://cloud.google.com/spanner/docs/reference/standard-sql/graph-intro).", +"flatPath": "v1/projects/{projectsId}/instances/{instancesId}/databases/{databasesId}/sessions/{sessionsId}:executeStreamingSql", +"httpMethod": "POST", +"id": "spanner.projects.instances.databases.sessions.executeStreamingSql", +"parameterOrder": [ +"session" +], +"parameters": { +"session": { +"description": "Required. The session in which the SQL query should be performed.", +"location": "path", +"pattern": "^projects/[^/]+/instances/[^/]+/databases/[^/]+/sessions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+session}:executeStreamingSql", +"request": { +"$ref": "ExecuteSqlRequest" +}, +"response": { +"$ref": "PartialResultSet" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/spanner.data" +] +}, +"get": { +"description": "Gets a session. Returns `NOT_FOUND` if the session doesn't exist. This is mainly useful for determining whether a session is still alive.", +"flatPath": "v1/projects/{projectsId}/instances/{instancesId}/databases/{databasesId}/sessions/{sessionsId}", +"httpMethod": "GET", +"id": "spanner.projects.instances.databases.sessions.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the session to retrieve.", +"location": "path", +"pattern": "^projects/[^/]+/instances/[^/]+/databases/[^/]+/sessions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Session" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/spanner.data" +] +}, +"list": { +"description": "Lists all sessions in a given database.", +"flatPath": "v1/projects/{projectsId}/instances/{instancesId}/databases/{databasesId}/sessions", +"httpMethod": "GET", +"id": "spanner.projects.instances.databases.sessions.list", +"parameterOrder": [ +"database" +], +"parameters": { +"database": { +"description": "Required. The database in which to list sessions.", +"location": "path", +"pattern": "^projects/[^/]+/instances/[^/]+/databases/[^/]+$", +"required": true, +"type": "string" +}, +"filter": { +"description": "An expression for filtering the results of the request. Filter rules are case insensitive. The fields eligible for filtering are: * `labels.key` where key is the name of a label Some examples of using filters are: * `labels.env:*` --> The session has the label \"env\". * `labels.env:dev` --> The session has the label \"env\" and the value of the label contains the string \"dev\".", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Number of sessions to be returned in the response. If 0 or less, defaults to the server's maximum allowed page size.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "If non-empty, `page_token` should contain a next_page_token from a previous ListSessionsResponse.", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+database}/sessions", +"response": { +"$ref": "ListSessionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/spanner.data" +] +}, +"partitionQuery": { +"description": "Creates a set of partition tokens that can be used to execute a query operation in parallel. Each of the returned partition tokens can be used by ExecuteStreamingSql to specify a subset of the query result to read. The same session and read-only transaction must be used by the `PartitionQueryRequest` used to create the partition tokens and the `ExecuteSqlRequests` that use the partition tokens. Partition tokens become invalid when the session used to create them is deleted, is idle for too long, begins a new transaction, or becomes too old. When any of these happen, it isn't possible to resume the query, and the whole operation must be restarted from the beginning.", +"flatPath": "v1/projects/{projectsId}/instances/{instancesId}/databases/{databasesId}/sessions/{sessionsId}:partitionQuery", +"httpMethod": "POST", +"id": "spanner.projects.instances.databases.sessions.partitionQuery", +"parameterOrder": [ +"session" +], +"parameters": { +"session": { +"description": "Required. The session used to create the partitions.", +"location": "path", +"pattern": "^projects/[^/]+/instances/[^/]+/databases/[^/]+/sessions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+session}:partitionQuery", +"request": { +"$ref": "PartitionQueryRequest" +}, +"response": { +"$ref": "PartitionResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/spanner.data" +] +}, +"partitionRead": { +"description": "Creates a set of partition tokens that can be used to execute a read operation in parallel. Each of the returned partition tokens can be used by StreamingRead to specify a subset of the read result to read. The same session and read-only transaction must be used by the `PartitionReadRequest` used to create the partition tokens and the `ReadRequests` that use the partition tokens. There are no ordering guarantees on rows returned among the returned partition tokens, or even within each individual `StreamingRead` call issued with a `partition_token`. Partition tokens become invalid when the session used to create them is deleted, is idle for too long, begins a new transaction, or becomes too old. When any of these happen, it isn't possible to resume the read, and the whole operation must be restarted from the beginning.", +"flatPath": "v1/projects/{projectsId}/instances/{instancesId}/databases/{databasesId}/sessions/{sessionsId}:partitionRead", +"httpMethod": "POST", +"id": "spanner.projects.instances.databases.sessions.partitionRead", +"parameterOrder": [ +"session" +], +"parameters": { +"session": { +"description": "Required. The session used to create the partitions.", +"location": "path", +"pattern": "^projects/[^/]+/instances/[^/]+/databases/[^/]+/sessions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+session}:partitionRead", +"request": { +"$ref": "PartitionReadRequest" +}, +"response": { +"$ref": "PartitionResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/spanner.data" +] +}, +"read": { +"description": "Reads rows from the database using key lookups and scans, as a simple key/value style alternative to ExecuteSql. This method can't be used to return a result set larger than 10 MiB; if the read matches more data than that, the read fails with a `FAILED_PRECONDITION` error. Reads inside read-write transactions might return `ABORTED`. If this occurs, the application should restart the transaction from the beginning. See Transaction for more details. Larger result sets can be yielded in streaming fashion by calling StreamingRead instead.", +"flatPath": "v1/projects/{projectsId}/instances/{instancesId}/databases/{databasesId}/sessions/{sessionsId}:read", +"httpMethod": "POST", +"id": "spanner.projects.instances.databases.sessions.read", +"parameterOrder": [ +"session" +], +"parameters": { +"session": { +"description": "Required. The session in which the read should be performed.", +"location": "path", +"pattern": "^projects/[^/]+/instances/[^/]+/databases/[^/]+/sessions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+session}:read", +"request": { +"$ref": "ReadRequest" +}, +"response": { +"$ref": "ResultSet" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/spanner.data" +] +}, +"rollback": { +"description": "Rolls back a transaction, releasing any locks it holds. It's a good idea to call this for any transaction that includes one or more Read or ExecuteSql requests and ultimately decides not to commit. `Rollback` returns `OK` if it successfully aborts the transaction, the transaction was already aborted, or the transaction isn't found. `Rollback` never returns `ABORTED`.", +"flatPath": "v1/projects/{projectsId}/instances/{instancesId}/databases/{databasesId}/sessions/{sessionsId}:rollback", +"httpMethod": "POST", +"id": "spanner.projects.instances.databases.sessions.rollback", +"parameterOrder": [ +"session" +], +"parameters": { +"session": { +"description": "Required. The session in which the transaction to roll back is running.", +"location": "path", +"pattern": "^projects/[^/]+/instances/[^/]+/databases/[^/]+/sessions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+session}:rollback", +"request": { +"$ref": "RollbackRequest" +}, +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/spanner.data" +] +}, +"streamingRead": { +"description": "Like Read, except returns the result set as a stream. Unlike Read, there is no limit on the size of the returned result set. However, no individual row in the result set can exceed 100 MiB, and no column value can exceed 10 MiB.", +"flatPath": "v1/projects/{projectsId}/instances/{instancesId}/databases/{databasesId}/sessions/{sessionsId}:streamingRead", +"httpMethod": "POST", +"id": "spanner.projects.instances.databases.sessions.streamingRead", +"parameterOrder": [ +"session" +], +"parameters": { +"session": { +"description": "Required. The session in which the read should be performed.", +"location": "path", +"pattern": "^projects/[^/]+/instances/[^/]+/databases/[^/]+/sessions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+session}:streamingRead", +"request": { +"$ref": "ReadRequest" +}, +"response": { +"$ref": "PartialResultSet" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/spanner.data" +] +} +} +} +} +}, +"instancePartitionOperations": { +"methods": { +"list": { +"description": "Lists instance partition long-running operations in the given instance. An instance partition operation has a name of the form `projects//instances//instancePartitions//operations/`. The long-running operation metadata field type `metadata.type_url` describes the type of the metadata. Operations returned include those that have completed/failed/canceled within the last 7 days, and pending operations. Operations returned are ordered by `operation.metadata.value.start_time` in descending order starting from the most recently started operation. Authorization requires `spanner.instancePartitionOperations.list` permission on the resource parent.", +"flatPath": "v1/projects/{projectsId}/instances/{instancesId}/instancePartitionOperations", +"httpMethod": "GET", +"id": "spanner.projects.instances.instancePartitionOperations.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Optional. An expression that filters the list of returned operations. A filter expression consists of a field name, a comparison operator, and a value for filtering. The value must be a string, a number, or a boolean. The comparison operator must be one of: `<`, `>`, `<=`, `>=`, `!=`, `=`, or `:`. Colon `:` is the contains operator. Filter rules are not case sensitive. The following fields in the Operation are eligible for filtering: * `name` - The name of the long-running operation * `done` - False if the operation is in progress, else true. * `metadata.@type` - the type of metadata. For example, the type string for CreateInstancePartitionMetadata is `type.googleapis.com/google.spanner.admin.instance.v1.CreateInstancePartitionMetadata`. * `metadata.` - any field in metadata.value. `metadata.@type` must be specified first, if filtering on metadata fields. * `error` - Error associated with the long-running operation. * `response.@type` - the type of response. * `response.` - any field in response.value. You can combine multiple expressions by enclosing each expression in parentheses. By default, expressions are combined with AND logic. However, you can specify AND, OR, and NOT logic explicitly. Here are a few examples: * `done:true` - The operation is complete. * `(metadata.@type=` \\ `type.googleapis.com/google.spanner.admin.instance.v1.CreateInstancePartitionMetadata) AND` \\ `(metadata.instance_partition.name:custom-instance-partition) AND` \\ `(metadata.start_time < \\\"2021-03-28T14:50:00Z\\\") AND` \\ `(error:*)` - Return operations where: * The operation's metadata type is CreateInstancePartitionMetadata. * The instance partition name contains \"custom-instance-partition\". * The operation started before 2021-03-28T14:50:00Z. * The operation resulted in an error.", +"location": "query", +"type": "string" +}, +"instancePartitionDeadline": { +"description": "Optional. Deadline used while retrieving metadata for instance partition operations. Instance partitions whose operation metadata cannot be retrieved within this deadline will be added to unreachable_instance_partitions in ListInstancePartitionOperationsResponse.", +"format": "google-datetime", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Optional. Number of operations to be returned in the response. If 0 or less, defaults to the server's maximum allowed page size.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. If non-empty, `page_token` should contain a next_page_token from a previous ListInstancePartitionOperationsResponse to the same `parent` and with the same `filter`.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent instance of the instance partition operations. Values are of the form `projects//instances/`.", +"location": "path", +"pattern": "^projects/[^/]+/instances/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/instancePartitionOperations", +"response": { +"$ref": "ListInstancePartitionOperationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/spanner.admin" +] +} +} +}, +"instancePartitions": { +"methods": { +"create": { +"description": "Creates an instance partition and begins preparing it to be used. The returned long-running operation can be used to track the progress of preparing the new instance partition. The instance partition name is assigned by the caller. If the named instance partition already exists, `CreateInstancePartition` returns `ALREADY_EXISTS`. Immediately upon completion of this request: * The instance partition is readable via the API, with all requested attributes but no allocated resources. Its state is `CREATING`. Until completion of the returned operation: * Cancelling the operation renders the instance partition immediately unreadable via the API. * The instance partition can be deleted. * All other attempts to modify the instance partition are rejected. Upon completion of the returned operation: * Billing for all successfully-allocated resources begins (some types may have lower than the requested levels). * Databases can start using this instance partition. * The instance partition's allocated resource levels are readable via the API. * The instance partition's state becomes `READY`. The returned long-running operation will have a name of the format `/operations/` and can be used to track creation of the instance partition. The metadata field type is CreateInstancePartitionMetadata. The response field type is InstancePartition, if successful.", +"flatPath": "v1/projects/{projectsId}/instances/{instancesId}/instancePartitions", +"httpMethod": "POST", +"id": "spanner.projects.instances.instancePartitions.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The name of the instance in which to create the instance partition. Values are of the form `projects//instances/`.", +"location": "path", +"pattern": "^projects/[^/]+/instances/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/instancePartitions", +"request": { +"$ref": "CreateInstancePartitionRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/spanner.admin" +] +}, +"delete": { +"description": "Deletes an existing instance partition. Requires that the instance partition is not used by any database or backup and is not the default instance partition of an instance. Authorization requires `spanner.instancePartitions.delete` permission on the resource name.", +"flatPath": "v1/projects/{projectsId}/instances/{instancesId}/instancePartitions/{instancePartitionsId}", +"httpMethod": "DELETE", +"id": "spanner.projects.instances.instancePartitions.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"etag": { +"description": "Optional. If not empty, the API only deletes the instance partition when the etag provided matches the current status of the requested instance partition. Otherwise, deletes the instance partition without checking the current status of the requested instance partition.", +"location": "query", +"type": "string" +}, +"name": { +"description": "Required. The name of the instance partition to be deleted. Values are of the form `projects/{project}/instances/{instance}/instancePartitions/{instance_partition}`", +"location": "path", +"pattern": "^projects/[^/]+/instances/[^/]+/instancePartitions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/spanner.admin" +] +}, +"get": { +"description": "Gets information about a particular instance partition.", +"flatPath": "v1/projects/{projectsId}/instances/{instancesId}/instancePartitions/{instancePartitionsId}", +"httpMethod": "GET", +"id": "spanner.projects.instances.instancePartitions.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the requested instance partition. Values are of the form `projects/{project}/instances/{instance}/instancePartitions/{instance_partition}`.", +"location": "path", +"pattern": "^projects/[^/]+/instances/[^/]+/instancePartitions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "InstancePartition" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/spanner.admin" +] +}, +"list": { +"description": "Lists all instance partitions for the given instance.", +"flatPath": "v1/projects/{projectsId}/instances/{instancesId}/instancePartitions", +"httpMethod": "GET", +"id": "spanner.projects.instances.instancePartitions.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"instancePartitionDeadline": { +"description": "Optional. Deadline used while retrieving metadata for instance partitions. Instance partitions whose metadata cannot be retrieved within this deadline will be added to unreachable in ListInstancePartitionsResponse.", +"format": "google-datetime", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Number of instance partitions to be returned in the response. If 0 or less, defaults to the server's maximum allowed page size.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "If non-empty, `page_token` should contain a next_page_token from a previous ListInstancePartitionsResponse.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The instance whose instance partitions should be listed. Values are of the form `projects//instances/`. Use `{instance} = '-'` to list instance partitions for all Instances in a project, e.g., `projects/myproject/instances/-`.", +"location": "path", +"pattern": "^projects/[^/]+/instances/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/instancePartitions", +"response": { +"$ref": "ListInstancePartitionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/spanner.admin" +] +}, +"patch": { +"description": "Updates an instance partition, and begins allocating or releasing resources as requested. The returned long-running operation can be used to track the progress of updating the instance partition. If the named instance partition does not exist, returns `NOT_FOUND`. Immediately upon completion of this request: * For resource types for which a decrease in the instance partition's allocation has been requested, billing is based on the newly-requested level. Until completion of the returned operation: * Cancelling the operation sets its metadata's cancel_time, and begins restoring resources to their pre-request values. The operation is guaranteed to succeed at undoing all resource changes, after which point it terminates with a `CANCELLED` status. * All other attempts to modify the instance partition are rejected. * Reading the instance partition via the API continues to give the pre-request resource levels. Upon completion of the returned operation: * Billing begins for all successfully-allocated resources (some types may have lower than the requested levels). * All newly-reserved resources are available for serving the instance partition's tables. * The instance partition's new resource levels are readable via the API. The returned long-running operation will have a name of the format `/operations/` and can be used to track the instance partition modification. The metadata field type is UpdateInstancePartitionMetadata. The response field type is InstancePartition, if successful. Authorization requires `spanner.instancePartitions.update` permission on the resource name.", +"flatPath": "v1/projects/{projectsId}/instances/{instancesId}/instancePartitions/{instancePartitionsId}", +"httpMethod": "PATCH", +"id": "spanner.projects.instances.instancePartitions.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. A unique identifier for the instance partition. Values are of the form `projects//instances//instancePartitions/a-z*[a-z0-9]`. The final segment of the name must be between 2 and 64 characters in length. An instance partition's name cannot be changed after the instance partition is created.", +"location": "path", +"pattern": "^projects/[^/]+/instances/[^/]+/instancePartitions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "UpdateInstancePartitionRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/spanner.admin" +] +} +}, +"resources": { +"operations": { +"methods": { +"cancel": { +"description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.", +"flatPath": "v1/projects/{projectsId}/instances/{instancesId}/instancePartitions/{instancePartitionsId}/operations/{operationsId}:cancel", +"httpMethod": "POST", +"id": "spanner.projects.instances.instancePartitions.operations.cancel", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be cancelled.", +"location": "path", +"pattern": "^projects/[^/]+/instances/[^/]+/instancePartitions/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:cancel", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/spanner.admin" +] +}, +"delete": { +"description": "Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.", +"flatPath": "v1/projects/{projectsId}/instances/{instancesId}/instancePartitions/{instancePartitionsId}/operations/{operationsId}", +"httpMethod": "DELETE", +"id": "spanner.projects.instances.instancePartitions.operations.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be deleted.", +"location": "path", +"pattern": "^projects/[^/]+/instances/[^/]+/instancePartitions/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/spanner.admin" +] +}, +"get": { +"description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", +"flatPath": "v1/projects/{projectsId}/instances/{instancesId}/instancePartitions/{instancePartitionsId}/operations/{operationsId}", +"httpMethod": "GET", +"id": "spanner.projects.instances.instancePartitions.operations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource.", +"location": "path", +"pattern": "^projects/[^/]+/instances/[^/]+/instancePartitions/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/spanner.admin" +] +}, +"list": { +"description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.", +"flatPath": "v1/projects/{projectsId}/instances/{instancesId}/instancePartitions/{instancePartitionsId}/operations", +"httpMethod": "GET", +"id": "spanner.projects.instances.instancePartitions.operations.list", +"parameterOrder": [ +"name" +], +"parameters": { +"filter": { +"description": "The standard list filter.", +"location": "query", +"type": "string" +}, +"name": { +"description": "The name of the operation's parent resource.", +"location": "path", +"pattern": "^projects/[^/]+/instances/[^/]+/instancePartitions/[^/]+/operations$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The standard list page size.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The standard list page token.", +"location": "query", +"type": "string" +}, +"returnPartialSuccess": { +"description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `\"projects/example/locations/-\"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "ListOperationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/spanner.admin" +] +} +} +} +} +}, +"operations": { +"methods": { +"cancel": { +"description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.", +"flatPath": "v1/projects/{projectsId}/instances/{instancesId}/operations/{operationsId}:cancel", +"httpMethod": "POST", +"id": "spanner.projects.instances.operations.cancel", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be cancelled.", +"location": "path", +"pattern": "^projects/[^/]+/instances/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:cancel", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/spanner.admin" +] +}, +"delete": { +"description": "Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.", +"flatPath": "v1/projects/{projectsId}/instances/{instancesId}/operations/{operationsId}", +"httpMethod": "DELETE", +"id": "spanner.projects.instances.operations.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be deleted.", +"location": "path", +"pattern": "^projects/[^/]+/instances/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/spanner.admin" +] +}, +"get": { +"description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", +"flatPath": "v1/projects/{projectsId}/instances/{instancesId}/operations/{operationsId}", +"httpMethod": "GET", +"id": "spanner.projects.instances.operations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource.", +"location": "path", +"pattern": "^projects/[^/]+/instances/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/spanner.admin" +] +}, +"list": { +"description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.", +"flatPath": "v1/projects/{projectsId}/instances/{instancesId}/operations", +"httpMethod": "GET", +"id": "spanner.projects.instances.operations.list", +"parameterOrder": [ +"name" +], +"parameters": { +"filter": { +"description": "The standard list filter.", +"location": "query", +"type": "string" +}, +"name": { +"description": "The name of the operation's parent resource.", +"location": "path", +"pattern": "^projects/[^/]+/instances/[^/]+/operations$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The standard list page size.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The standard list page token.", +"location": "query", +"type": "string" +}, +"returnPartialSuccess": { +"description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `\"projects/example/locations/-\"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "ListOperationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/spanner.admin" +] +} +} +} +} +} +} +}, +"scans": { +"methods": { +"list": { +"description": "Return available scans given a Database-specific resource name.", +"flatPath": "v1/scans", +"httpMethod": "GET", +"id": "spanner.scans.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "A filter expression to restrict the results based on information present in the available Scan collection. The filter applies to all fields within the Scan message except for `data`.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "The maximum number of items to return.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The next_page_token value returned from a previous List request, if any.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The unique name of the parent resource, specific to the Database service implementing this interface.", +"location": "path", +"pattern": "^scans$", +"required": true, +"type": "string" +}, +"view": { +"description": "Specifies which parts of the Scan should be returned in the response. Note, only the SUMMARY view (the default) is currently supported for ListScans.", +"enum": [ +"VIEW_UNSPECIFIED", +"SUMMARY", +"FULL" +], +"enumDescriptions": [ +"Not specified, equivalent to SUMMARY.", +"Server responses only include `name`, `details`, `start_time` and `end_time`. The default value. Note, the ListScans method may only use this view type, others view types are not supported.", +"Full representation of the scan is returned in the server response, including `data`." +], +"location": "query", +"type": "string" +} +}, +"path": "v1/{+parent}", +"response": { +"$ref": "ListScansResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/spanner.data" +] +} +} +} +}, +"revision": "20260213", +"rootUrl": "https://spanner.googleapis.com/", +"schemas": { +"Ack": { +"description": "Arguments to ack operations.", +"id": "Ack", +"properties": { +"ignoreNotFound": { +"description": "By default, an attempt to ack a message that does not exist will fail with a `NOT_FOUND` error. With `ignore_not_found` set to true, the ack will succeed even if the message does not exist. This is useful for unconditionally acking a message, even if it is missing or has already been acked.", +"type": "boolean" +}, +"key": { +"description": "Required. The primary key of the message to be acked.", +"items": { +"type": "any" +}, +"type": "array" +}, +"queue": { +"description": "Required. The queue where the message to be acked is stored.", +"type": "string" +} +}, +"type": "object" +}, +"AdaptMessageRequest": { +"description": "Message sent by the client to the adapter.", +"id": "AdaptMessageRequest", +"properties": { +"attachments": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. Opaque request state passed by the client to the server.", +"type": "object" +}, +"payload": { +"description": "Optional. Uninterpreted bytes from the underlying wire protocol.", +"format": "byte", +"type": "string" +}, +"protocol": { +"description": "Required. Identifier for the underlying wire protocol.", +"type": "string" +} +}, +"type": "object" +}, +"AdaptMessageResponse": { +"description": "Message sent by the adapter to the client.", +"id": "AdaptMessageResponse", +"properties": { +"last": { +"description": "Optional. Indicates whether this is the last AdaptMessageResponse in the stream. This field may be optionally set by the server. Clients should not rely on this field being set in all cases.", +"type": "boolean" +}, +"payload": { +"description": "Optional. Uninterpreted bytes from the underlying wire protocol.", +"format": "byte", +"type": "string" +}, +"stateUpdates": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. Opaque state updates to be applied by the client.", +"type": "object" +} +}, +"type": "object" +}, +"AdapterSession": { +"description": "A session in the Cloud Spanner Adapter API.", +"id": "AdapterSession", +"properties": { +"name": { +"description": "Identifier. The name of the session. This is always system-assigned.", +"type": "string" +} +}, +"type": "object" +}, +"AddSplitPointsRequest": { +"description": "The request for AddSplitPoints.", +"id": "AddSplitPointsRequest", +"properties": { +"initiator": { +"description": "Optional. A user-supplied tag associated with the split points. For example, \"initial_data_load\", \"special_event_1\". Defaults to \"CloudAddSplitPointsAPI\" if not specified. The length of the tag must not exceed 50 characters, or else it is trimmed. Only valid UTF8 characters are allowed.", +"type": "string" +}, +"splitPoints": { +"description": "Required. The split points to add.", +"items": { +"$ref": "SplitPoints" +}, +"type": "array" +} +}, +"type": "object" +}, +"AddSplitPointsResponse": { +"description": "The response for AddSplitPoints.", +"id": "AddSplitPointsResponse", +"properties": {}, +"type": "object" +}, +"AsymmetricAutoscalingOption": { +"description": "AsymmetricAutoscalingOption specifies the scaling of replicas identified by the given selection.", +"id": "AsymmetricAutoscalingOption", +"properties": { +"overrides": { +"$ref": "AutoscalingConfigOverrides", +"description": "Optional. Overrides applied to the top-level autoscaling configuration for the selected replicas." +}, +"replicaSelection": { +"$ref": "InstanceReplicaSelection", +"description": "Required. Selects the replicas to which this AsymmetricAutoscalingOption applies. Only read-only replicas are supported." +} +}, +"type": "object" +}, +"AutoscalingConfig": { +"description": "Autoscaling configuration for an instance.", +"id": "AutoscalingConfig", +"properties": { +"asymmetricAutoscalingOptions": { +"description": "Optional. Optional asymmetric autoscaling options. Replicas matching the replica selection criteria will be autoscaled independently from other replicas. The autoscaler will scale the replicas based on the utilization of replicas identified by the replica selection. Replica selections should not overlap with each other. Other replicas (those do not match any replica selection) will be autoscaled together and will have the same compute capacity allocated to them.", +"items": { +"$ref": "AsymmetricAutoscalingOption" +}, +"type": "array" +}, +"autoscalingLimits": { +"$ref": "AutoscalingLimits", +"description": "Required. Autoscaling limits for an instance." +}, +"autoscalingTargets": { +"$ref": "AutoscalingTargets", +"description": "Required. The autoscaling targets for an instance." +} +}, +"type": "object" +}, +"AutoscalingConfigOverrides": { +"description": "Overrides the top-level autoscaling configuration for the replicas identified by `replica_selection`. All fields in this message are optional. Any unspecified fields will use the corresponding values from the top-level autoscaling configuration.", +"id": "AutoscalingConfigOverrides", +"properties": { +"autoscalingLimits": { +"$ref": "AutoscalingLimits", +"description": "Optional. If specified, overrides the min/max limit in the top-level autoscaling configuration for the selected replicas." +}, +"autoscalingTargetHighPriorityCpuUtilizationPercent": { +"description": "Optional. If specified, overrides the autoscaling target high_priority_cpu_utilization_percent in the top-level autoscaling configuration for the selected replicas.", +"format": "int32", +"type": "integer" +}, +"autoscalingTargetTotalCpuUtilizationPercent": { +"description": "Optional. If specified, overrides the autoscaling target `total_cpu_utilization_percent` in the top-level autoscaling configuration for the selected replicas.", +"format": "int32", +"type": "integer" +}, +"disableHighPriorityCpuAutoscaling": { +"description": "Optional. If true, disables high priority CPU autoscaling for the selected replicas and ignores high_priority_cpu_utilization_percent in the top-level autoscaling configuration. When setting this field to true, setting autoscaling_target_high_priority_cpu_utilization_percent field to a non-zero value for the same replica is not supported. If false, the autoscaling_target_high_priority_cpu_utilization_percent field in the replica will be used if set to a non-zero value. Otherwise, the high_priority_cpu_utilization_percent field in the top-level autoscaling configuration will be used. Setting both disable_high_priority_cpu_autoscaling and disable_total_cpu_autoscaling to true for the same replica is not supported.", +"type": "boolean" +}, +"disableTotalCpuAutoscaling": { +"description": "Optional. If true, disables total CPU autoscaling for the selected replicas and ignores total_cpu_utilization_percent in the top-level autoscaling configuration. When setting this field to true, setting autoscaling_target_total_cpu_utilization_percent field to a non-zero value for the same replica is not supported. If false, the autoscaling_target_total_cpu_utilization_percent field in the replica will be used if set to a non-zero value. Otherwise, the total_cpu_utilization_percent field in the top-level autoscaling configuration will be used. Setting both disable_high_priority_cpu_autoscaling and disable_total_cpu_autoscaling to true for the same replica is not supported.", +"type": "boolean" +} +}, +"type": "object" +}, +"AutoscalingLimits": { +"description": "The autoscaling limits for the instance. Users can define the minimum and maximum compute capacity allocated to the instance, and the autoscaler will only scale within that range. Users can either use nodes or processing units to specify the limits, but should use the same unit to set both the min_limit and max_limit.", +"id": "AutoscalingLimits", +"properties": { +"maxNodes": { +"description": "Maximum number of nodes allocated to the instance. If set, this number should be greater than or equal to min_nodes.", +"format": "int32", +"type": "integer" +}, +"maxProcessingUnits": { +"description": "Maximum number of processing units allocated to the instance. If set, this number should be multiples of 1000 and be greater than or equal to min_processing_units.", +"format": "int32", +"type": "integer" +}, +"minNodes": { +"description": "Minimum number of nodes allocated to the instance. If set, this number should be greater than or equal to 1.", +"format": "int32", +"type": "integer" +}, +"minProcessingUnits": { +"description": "Minimum number of processing units allocated to the instance. If set, this number should be multiples of 1000.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"AutoscalingTargets": { +"description": "The autoscaling targets for an instance.", +"id": "AutoscalingTargets", +"properties": { +"highPriorityCpuUtilizationPercent": { +"description": "Optional. The target high priority cpu utilization percentage that the autoscaler should be trying to achieve for the instance. This number is on a scale from 0 (no utilization) to 100 (full utilization). The valid range is [10, 90] inclusive. If not specified or set to 0, the autoscaler skips scaling based on high priority CPU utilization.", +"format": "int32", +"type": "integer" +}, +"storageUtilizationPercent": { +"description": "Required. The target storage utilization percentage that the autoscaler should be trying to achieve for the instance. This number is on a scale from 0 (no utilization) to 100 (full utilization). The valid range is [10, 99] inclusive.", +"format": "int32", +"type": "integer" +}, +"totalCpuUtilizationPercent": { +"description": "Optional. The target total CPU utilization percentage that the autoscaler should be trying to achieve for the instance. This number is on a scale from 0 (no utilization) to 100 (full utilization). The valid range is [10, 90] inclusive. If not specified or set to 0, the autoscaler skips scaling based on total CPU utilization. If both `high_priority_cpu_utilization_percent` and `total_cpu_utilization_percent` are specified, the autoscaler provisions the larger of the two required compute capacities to satisfy both targets.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"Backup": { +"description": "A backup of a Cloud Spanner database.", +"id": "Backup", +"properties": { +"backupSchedules": { +"description": "Output only. List of backup schedule URIs that are associated with creating this backup. This is only applicable for scheduled backups, and is empty for on-demand backups. To optimize for storage, whenever possible, multiple schedules are collapsed together to create one backup. In such cases, this field captures the list of all backup schedule URIs that are associated with creating this backup. If collapsing is not done, then this field captures the single backup schedule URI associated with creating this backup.", +"items": { +"type": "string" +}, +"readOnly": true, +"type": "array" +}, +"createTime": { +"description": "Output only. The time the CreateBackup request is received. If the request does not specify `version_time`, the `version_time` of the backup will be equivalent to the `create_time`.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"database": { +"description": "Required for the CreateBackup operation. Name of the database from which this backup was created. This needs to be in the same instance as the backup. Values are of the form `projects//instances//databases/`.", +"type": "string" +}, +"databaseDialect": { +"description": "Output only. The database dialect information for the backup.", +"enum": [ +"DATABASE_DIALECT_UNSPECIFIED", +"GOOGLE_STANDARD_SQL", +"POSTGRESQL" +], +"enumDescriptions": [ +"Default value. This value will create a database with the GOOGLE_STANDARD_SQL dialect.", +"GoogleSQL supported SQL.", +"PostgreSQL supported SQL." +], +"readOnly": true, +"type": "string" +}, +"encryptionInfo": { +"$ref": "EncryptionInfo", +"description": "Output only. The encryption information for the backup.", +"readOnly": true +}, +"encryptionInformation": { +"description": "Output only. The encryption information for the backup, whether it is protected by one or more KMS keys. The information includes all Cloud KMS key versions used to encrypt the backup. The `encryption_status` field inside of each `EncryptionInfo` is not populated. At least one of the key versions must be available for the backup to be restored. If a key version is revoked in the middle of a restore, the restore behavior is undefined.", +"items": { +"$ref": "EncryptionInfo" +}, +"readOnly": true, +"type": "array" +}, +"exclusiveSizeBytes": { +"description": "Output only. For a backup in an incremental backup chain, this is the storage space needed to keep the data that has changed since the previous backup. For all other backups, this is always the size of the backup. This value may change if backups on the same chain get deleted or expired. This field can be used to calculate the total storage space used by a set of backups. For example, the total space used by all backups of a database can be computed by summing up this field.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"expireTime": { +"description": "Required for the CreateBackup operation. The expiration time of the backup, with microseconds granularity that must be at least 6 hours and at most 366 days from the time the CreateBackup request is processed. Once the `expire_time` has passed, the backup is eligible to be automatically deleted by Cloud Spanner to free the resources used by the backup.", +"format": "google-datetime", +"type": "string" +}, +"freeableSizeBytes": { +"description": "Output only. The number of bytes that will be freed by deleting this backup. This value will be zero if, for example, this backup is part of an incremental backup chain and younger backups in the chain require that we keep its data. For backups not in an incremental backup chain, this is always the size of the backup. This value may change if backups on the same chain get created, deleted or expired.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"incrementalBackupChainId": { +"description": "Output only. Populated only for backups in an incremental backup chain. Backups share the same chain id if and only if they belong to the same incremental backup chain. Use this field to determine which backups are part of the same incremental backup chain. The ordering of backups in the chain can be determined by ordering the backup `version_time`.", +"readOnly": true, +"type": "string" +}, +"instancePartitions": { +"description": "Output only. The instance partition storing the backup. This is the same as the list of the instance partitions that the database recorded at the backup's `version_time`.", +"items": { +"$ref": "BackupInstancePartition" +}, +"readOnly": true, +"type": "array" +}, +"maxExpireTime": { +"description": "Output only. The max allowed expiration time of the backup, with microseconds granularity. A backup's expiration time can be configured in multiple APIs: CreateBackup, UpdateBackup, CopyBackup. When updating or copying an existing backup, the expiration time specified must be less than `Backup.max_expire_time`.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"minimumRestorableEdition": { +"description": "Output only. The minimum edition required to successfully restore the backup. Populated only if the edition is Enterprise or Enterprise Plus.", +"enum": [ +"EDITION_UNSPECIFIED", +"STANDARD", +"ENTERPRISE", +"ENTERPRISE_PLUS" +], +"enumDescriptions": [ +"Edition not specified.", +"Standard edition.", +"Enterprise edition.", +"Enterprise Plus edition." +], +"readOnly": true, +"type": "string" +}, +"name": { +"description": "Output only for the CreateBackup operation. Required for the UpdateBackup operation. A globally unique identifier for the backup which cannot be changed. Values are of the form `projects//instances//backups/a-z*[a-z0-9]` The final segment of the name must be between 2 and 60 characters in length. The backup is stored in the location(s) specified in the instance configuration of the instance containing the backup, identified by the prefix of the backup name of the form `projects//instances/`.", +"type": "string" +}, +"oldestVersionTime": { +"description": "Output only. Data deleted at a time older than this is guaranteed not to be retained in order to support this backup. For a backup in an incremental backup chain, this is the version time of the oldest backup that exists or ever existed in the chain. For all other backups, this is the version time of the backup. This field can be used to understand what data is being retained by the backup system.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"referencingBackups": { +"description": "Output only. The names of the destination backups being created by copying this source backup. The backup names are of the form `projects//instances//backups/`. Referencing backups may exist in different instances. The existence of any referencing backup prevents the backup from being deleted. When the copy operation is done (either successfully completed or cancelled or the destination backup is deleted), the reference to the backup is removed.", +"items": { +"type": "string" +}, +"readOnly": true, +"type": "array" +}, +"referencingDatabases": { +"description": "Output only. The names of the restored databases that reference the backup. The database names are of the form `projects//instances//databases/`. Referencing databases may exist in different instances. The existence of any referencing database prevents the backup from being deleted. When a restored database from the backup enters the `READY` state, the reference to the backup is removed.", +"items": { +"type": "string" +}, +"readOnly": true, +"type": "array" +}, +"sizeBytes": { +"description": "Output only. Size of the backup in bytes. For a backup in an incremental backup chain, this is the sum of the `exclusive_size_bytes` of itself and all older backups in the chain.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"state": { +"description": "Output only. The current state of the backup.", +"enum": [ +"STATE_UNSPECIFIED", +"CREATING", +"READY" +], +"enumDescriptions": [ +"Not specified.", +"The pending backup is still being created. Operations on the backup may fail with `FAILED_PRECONDITION` in this state.", +"The backup is complete and ready for use." +], +"readOnly": true, +"type": "string" +}, +"versionTime": { +"description": "The backup will contain an externally consistent copy of the database at the timestamp specified by `version_time`. If `version_time` is not specified, the system will set `version_time` to the `create_time` of the backup.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"BackupInfo": { +"description": "Information about a backup.", +"id": "BackupInfo", +"properties": { +"backup": { +"description": "Name of the backup.", +"type": "string" +}, +"createTime": { +"description": "The time the CreateBackup request was received.", +"format": "google-datetime", +"type": "string" +}, +"sourceDatabase": { +"description": "Name of the database the backup was created from.", +"type": "string" +}, +"versionTime": { +"description": "The backup contains an externally consistent copy of `source_database` at the timestamp specified by `version_time`. If the CreateBackup request did not specify `version_time`, the `version_time` of the backup is equivalent to the `create_time`.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"BackupInstancePartition": { +"description": "Instance partition information for the backup.", +"id": "BackupInstancePartition", +"properties": { +"instancePartition": { +"description": "A unique identifier for the instance partition. Values are of the form `projects//instances//instancePartitions/`", +"type": "string" +} +}, +"type": "object" +}, +"BackupSchedule": { +"description": "BackupSchedule expresses the automated backup creation specification for a Spanner database.", +"id": "BackupSchedule", +"properties": { +"encryptionConfig": { +"$ref": "CreateBackupEncryptionConfig", +"description": "Optional. The encryption configuration that is used to encrypt the backup. If this field is not specified, the backup uses the same encryption configuration as the database." +}, +"fullBackupSpec": { +"$ref": "FullBackupSpec", +"description": "The schedule creates only full backups." +}, +"incrementalBackupSpec": { +"$ref": "IncrementalBackupSpec", +"description": "The schedule creates incremental backup chains." +}, +"name": { +"description": "Identifier. Output only for the CreateBackupSchedule operation. Required for the UpdateBackupSchedule operation. A globally unique identifier for the backup schedule which cannot be changed. Values are of the form `projects//instances//databases//backupSchedules/a-z*[a-z0-9]` The final segment of the name must be between 2 and 60 characters in length.", +"type": "string" +}, +"retentionDuration": { +"description": "Optional. The retention duration of a backup that must be at least 6 hours and at most 366 days. The backup is eligible to be automatically deleted once the retention period has elapsed.", +"format": "google-duration", +"type": "string" +}, +"spec": { +"$ref": "BackupScheduleSpec", +"description": "Optional. The schedule specification based on which the backup creations are triggered." +}, +"updateTime": { +"description": "Output only. The timestamp at which the schedule was last updated. If the schedule has never been updated, this field contains the timestamp when the schedule was first created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"BackupScheduleSpec": { +"description": "Defines specifications of the backup schedule.", +"id": "BackupScheduleSpec", +"properties": { +"cronSpec": { +"$ref": "CrontabSpec", +"description": "Cron style schedule specification." +} +}, +"type": "object" +}, +"BatchCreateSessionsRequest": { +"description": "The request for BatchCreateSessions.", +"id": "BatchCreateSessionsRequest", +"properties": { +"sessionCount": { +"description": "Required. The number of sessions to be created in this batch call. At least one session is created. The API can return fewer than the requested number of sessions. If a specific number of sessions are desired, the client can make additional calls to `BatchCreateSessions` (adjusting session_count as necessary).", +"format": "int32", +"type": "integer" +}, +"sessionTemplate": { +"$ref": "Session", +"description": "Parameters to apply to each created session." +} +}, +"type": "object" +}, +"BatchCreateSessionsResponse": { +"description": "The response for BatchCreateSessions.", +"id": "BatchCreateSessionsResponse", +"properties": { +"session": { +"description": "The freshly created sessions.", +"items": { +"$ref": "Session" +}, +"type": "array" +} +}, +"type": "object" +}, +"BatchWriteRequest": { +"description": "The request for BatchWrite.", +"id": "BatchWriteRequest", +"properties": { +"excludeTxnFromChangeStreams": { +"description": "Optional. If you don't set the `exclude_txn_from_change_streams` option or if it's set to `false`, then any change streams monitoring columns modified by transactions will capture the updates made within that transaction.", +"type": "boolean" +}, +"mutationGroups": { +"description": "Required. The groups of mutations to be applied.", +"items": { +"$ref": "MutationGroup" +}, +"type": "array" +}, +"requestOptions": { +"$ref": "RequestOptions", +"description": "Common options for this request." +} +}, +"type": "object" +}, +"BatchWriteResponse": { +"description": "The result of applying a batch of mutations.", +"id": "BatchWriteResponse", +"properties": { +"commitTimestamp": { +"description": "The commit timestamp of the transaction that applied this batch. Present if status is OK and the mutation groups were applied, absent otherwise. For mutation groups with conditions, a status=OK and missing commit_timestamp means that the mutation groups were not applied due to the condition not being satisfied after evaluation.", +"format": "google-datetime", +"type": "string" +}, +"indexes": { +"description": "The mutation groups applied in this batch. The values index into the `mutation_groups` field in the corresponding `BatchWriteRequest`.", +"items": { +"format": "int32", +"type": "integer" +}, +"type": "array" +}, +"status": { +"$ref": "Status", +"description": "An `OK` status indicates success. Any other status indicates a failure." +} +}, +"type": "object" +}, +"BeginTransactionRequest": { +"description": "The request for BeginTransaction.", +"id": "BeginTransactionRequest", +"properties": { +"mutationKey": { +"$ref": "Mutation", +"description": "Optional. Required for read-write transactions on a multiplexed session that commit mutations but don't perform any reads or queries. You must randomly select one of the mutations from the mutation set and send it as a part of this request." +}, +"options": { +"$ref": "TransactionOptions", +"description": "Required. Options for the new transaction." +}, +"requestOptions": { +"$ref": "RequestOptions", +"description": "Common options for this request. Priority is ignored for this request. Setting the priority in this `request_options` struct doesn't do anything. To set the priority for a transaction, set it on the reads and writes that are part of this transaction instead." +} +}, +"type": "object" +}, +"Binding": { +"description": "Associates `members`, or principals, with a `role`.", +"id": "Binding", +"properties": { +"condition": { +"$ref": "Expr", +"description": "The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies)." +}, +"members": { +"description": "Specifies the principals requesting access for a Google Cloud resource. `members` can have the following values: * `allUsers`: A special identifier that represents anyone who is on the internet; with or without a Google account. * `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service account. Does not include identities that come from external identity providers (IdPs) through identity federation. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `group:{emailid}`: An email address that represents a Google group. For example, `admins@example.com`. * `domain:{domain}`: The G Suite domain (primary) that represents all the users of that domain. For example, `google.com` or `example.com`. * `principal://iam.googleapis.com/locations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}`: A single identity in a workforce identity pool. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/group/{group_id}`: All workforce identities in a group. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/attribute.{attribute_name}/{attribute_value}`: All workforce identities with a specific attribute value. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/*`: All identities in a workforce identity pool. * `principal://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/subject/{subject_attribute_value}`: A single identity in a workload identity pool. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/group/{group_id}`: A workload identity pool group. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/attribute.{attribute_name}/{attribute_value}`: All identities in a workload identity pool with a certain attribute. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/*`: All identities in a workload identity pool. * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a user that has been recently deleted. For example, `alice@example.com?uid=123456789012345678901`. If the user is recovered, this value reverts to `user:{emailid}` and the recovered user retains the role in the binding. * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a service account that has been recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the service account is undeleted, this value reverts to `serviceAccount:{emailid}` and the undeleted service account retains the role in the binding. * `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a Google group that has been recently deleted. For example, `admins@example.com?uid=123456789012345678901`. If the group is recovered, this value reverts to `group:{emailid}` and the recovered group retains the role in the binding. * `deleted:principal://iam.googleapis.com/locations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}`: Deleted single identity in a workforce identity pool. For example, `deleted:principal://iam.googleapis.com/locations/global/workforcePools/my-pool-id/subject/my-subject-attribute-value`.", +"items": { +"type": "string" +}, +"type": "array" +}, +"role": { +"description": "Role that is assigned to the list of `members`, or principals. For example, `roles/viewer`, `roles/editor`, or `roles/owner`. For an overview of the IAM roles and permissions, see the [IAM documentation](https://cloud.google.com/iam/docs/roles-overview). For a list of the available pre-defined roles, see [here](https://cloud.google.com/iam/docs/understanding-roles).", +"type": "string" +} +}, +"type": "object" +}, +"ChangeQuorumMetadata": { +"description": "Metadata type for the long-running operation returned by ChangeQuorum.", +"id": "ChangeQuorumMetadata", +"properties": { +"endTime": { +"description": "If set, the time at which this operation failed or was completed successfully.", +"format": "google-datetime", +"type": "string" +}, +"request": { +"$ref": "ChangeQuorumRequest", +"description": "The request for ChangeQuorum." +}, +"startTime": { +"description": "Time the request was received.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"ChangeQuorumRequest": { +"description": "The request for ChangeQuorum.", +"id": "ChangeQuorumRequest", +"properties": { +"etag": { +"description": "Optional. The etag is the hash of the `QuorumInfo`. The `ChangeQuorum` operation is only performed if the etag matches that of the `QuorumInfo` in the current database resource. Otherwise the API returns an `ABORTED` error. The etag is used for optimistic concurrency control as a way to help prevent simultaneous change quorum requests that could create a race condition.", +"type": "string" +}, +"name": { +"description": "Required. Name of the database in which to apply `ChangeQuorum`. Values are of the form `projects//instances//databases/`.", +"type": "string" +}, +"quorumType": { +"$ref": "QuorumType", +"description": "Required. The type of this quorum." +} +}, +"type": "object" +}, +"ChangeStreamRecord": { +"description": "Spanner Change Streams enable customers to capture and stream out changes to their Spanner databases in real-time. A change stream can be created with option partition_mode='IMMUTABLE_KEY_RANGE' or partition_mode='MUTABLE_KEY_RANGE'. This message is only used in Change Streams created with the option partition_mode='MUTABLE_KEY_RANGE'. Spanner automatically creates a special Table-Valued Function (TVF) along with each Change Streams. The function provides access to the change stream's records. The function is named READ_ (where is the name of the change stream), and it returns a table with only one column called ChangeRecord.", +"id": "ChangeStreamRecord", +"properties": { +"dataChangeRecord": { +"$ref": "DataChangeRecord", +"description": "Data change record describing a data change for a change stream partition." +}, +"heartbeatRecord": { +"$ref": "HeartbeatRecord", +"description": "Heartbeat record describing a heartbeat for a change stream partition." +}, +"partitionEndRecord": { +"$ref": "PartitionEndRecord", +"description": "Partition end record describing a terminated change stream partition." +}, +"partitionEventRecord": { +"$ref": "PartitionEventRecord", +"description": "Partition event record describing key range changes for a change stream partition." +}, +"partitionStartRecord": { +"$ref": "PartitionStartRecord", +"description": "Partition start record describing a new change stream partition." +} +}, +"type": "object" +}, +"ChildLink": { +"description": "Metadata associated with a parent-child relationship appearing in a PlanNode.", +"id": "ChildLink", +"properties": { +"childIndex": { +"description": "The node to which the link points.", +"format": "int32", +"type": "integer" +}, +"type": { +"description": "The type of the link. For example, in Hash Joins this could be used to distinguish between the build child and the probe child, or in the case of the child being an output variable, to represent the tag associated with the output variable.", +"type": "string" +}, +"variable": { +"description": "Only present if the child node is SCALAR and corresponds to an output variable of the parent node. The field carries the name of the output variable. For example, a `TableScan` operator that reads rows from a table will have child links to the `SCALAR` nodes representing the output variables created for each column that is read by the operator. The corresponding `variable` fields will be set to the variable names assigned to the columns.", +"type": "string" +} +}, +"type": "object" +}, +"ClientContext": { +"description": "Container for various pieces of client-owned context attached to a request.", +"id": "ClientContext", +"properties": { +"secureContext": { +"additionalProperties": { +"type": "any" +}, +"description": "Optional. Map of parameter name to value for this request. These values will be returned by any SECURE_CONTEXT() calls invoked by this request (e.g., by queries against Parameterized Secure Views).", +"type": "object" +} +}, +"type": "object" +}, +"ColumnMetadata": { +"description": "Metadata for a column.", +"id": "ColumnMetadata", +"properties": { +"isPrimaryKey": { +"description": "Indicates whether the column is a primary key column.", +"type": "boolean" +}, +"name": { +"description": "Name of the column.", +"type": "string" +}, +"ordinalPosition": { +"description": "Ordinal position of the column based on the original table definition in the schema starting with a value of 1.", +"format": "int64", +"type": "string" +}, +"type": { +"$ref": "Type", +"description": "Type of the column." +} +}, +"type": "object" +}, +"CommitRequest": { +"description": "The request for Commit.", +"id": "CommitRequest", +"properties": { +"maxCommitDelay": { +"description": "Optional. The amount of latency this request is configured to incur in order to improve throughput. If this field isn't set, Spanner assumes requests are relatively latency sensitive and automatically determines an appropriate delay time. You can specify a commit delay value between 0 and 500 ms.", +"format": "google-duration", +"type": "string" +}, +"mutations": { +"description": "The mutations to be executed when this transaction commits. All mutations are applied atomically, in the order they appear in this list.", +"items": { +"$ref": "Mutation" +}, +"type": "array" +}, +"precommitToken": { +"$ref": "MultiplexedSessionPrecommitToken", +"description": "Optional. If the read-write transaction was executed on a multiplexed session, then you must include the precommit token with the highest sequence number received in this transaction attempt. Failing to do so results in a `FailedPrecondition` error." +}, +"requestOptions": { +"$ref": "RequestOptions", +"description": "Common options for this request." +}, +"returnCommitStats": { +"description": "If `true`, then statistics related to the transaction is included in the CommitResponse. Default value is `false`.", +"type": "boolean" +}, +"singleUseTransaction": { +"$ref": "TransactionOptions", +"description": "Execute mutations in a temporary transaction. Note that unlike commit of a previously-started transaction, commit with a temporary transaction is non-idempotent. That is, if the `CommitRequest` is sent to Cloud Spanner more than once (for instance, due to retries in the application, or in the transport library), it's possible that the mutations are executed more than once. If this is undesirable, use BeginTransaction and Commit instead." +}, +"transactionId": { +"description": "Commit a previously-started transaction.", +"format": "byte", +"type": "string" +} +}, +"type": "object" +}, +"CommitResponse": { +"description": "The response for Commit.", +"id": "CommitResponse", +"properties": { +"commitStats": { +"$ref": "CommitStats", +"description": "The statistics about this `Commit`. Not returned by default. For more information, see CommitRequest.return_commit_stats." +}, +"commitTimestamp": { +"description": "The Cloud Spanner timestamp at which the transaction committed.", +"format": "google-datetime", +"type": "string" +}, +"precommitToken": { +"$ref": "MultiplexedSessionPrecommitToken", +"description": "If specified, transaction has not committed yet. You must retry the commit with the new precommit token." +}, +"snapshotTimestamp": { +"description": "If `TransactionOptions.isolation_level` is set to `IsolationLevel.REPEATABLE_READ`, then the snapshot timestamp is the timestamp at which all reads in the transaction ran. This timestamp is never returned.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"CommitStats": { +"description": "Additional statistics about a commit.", +"id": "CommitStats", +"properties": { +"mutationCount": { +"description": "The total number of mutations for the transaction. Knowing the `mutation_count` value can help you maximize the number of mutations in a transaction and minimize the number of API round trips. You can also monitor this value to prevent transactions from exceeding the system [limit](https://cloud.google.com/spanner/quotas#limits_for_creating_reading_updating_and_deleting_data). If the number of mutations exceeds the limit, the server returns [INVALID_ARGUMENT](https://cloud.google.com/spanner/docs/reference/rest/v1/Code#ENUM_VALUES.INVALID_ARGUMENT).", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"CompactDatabaseMetadata": { +"description": "Metadata type for the long-running operation returned by `CALL compact_all()`, which can be executed using ExecuteSql or ExecuteStreamingSql APIs.", +"id": "CompactDatabaseMetadata", +"properties": { +"cancelTime": { +"description": "Output only. The time at which cancellation of this operation was received. Operations.CancelOperation starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"database": { +"description": "Output only. The database being compacted.", +"readOnly": true, +"type": "string" +}, +"progress": { +"$ref": "OperationProgress", +"description": "Output only. The progress of the compaction operation.", +"readOnly": true +} +}, +"type": "object" +}, +"ContextValue": { +"description": "A message representing context for a KeyRangeInfo, including a label, value, unit, and severity.", +"id": "ContextValue", +"properties": { +"label": { +"$ref": "LocalizedString", +"description": "The label for the context value. e.g. \"latency\"." +}, +"severity": { +"description": "The severity of this context.", +"enum": [ +"SEVERITY_UNSPECIFIED", +"INFO", +"WARNING", +"ERROR", +"FATAL" +], +"enumDescriptions": [ +"Required default value.", +"Lowest severity level \"Info\".", +"Middle severity level \"Warning\".", +"Severity level signaling an error \"Error\"", +"Severity level signaling a non recoverable error \"Fatal\"" +], +"type": "string" +}, +"unit": { +"description": "The unit of the context value.", +"type": "string" +}, +"value": { +"description": "The value for the context.", +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"CopyBackupEncryptionConfig": { +"description": "Encryption configuration for the copied backup.", +"id": "CopyBackupEncryptionConfig", +"properties": { +"encryptionType": { +"description": "Required. The encryption type of the backup.", +"enum": [ +"ENCRYPTION_TYPE_UNSPECIFIED", +"USE_CONFIG_DEFAULT_OR_BACKUP_ENCRYPTION", +"GOOGLE_DEFAULT_ENCRYPTION", +"CUSTOMER_MANAGED_ENCRYPTION" +], +"enumDescriptions": [ +"Unspecified. Do not use.", +"This is the default option for CopyBackup when encryption_config is not specified. For example, if the source backup is using `Customer_Managed_Encryption`, the backup will be using the same Cloud KMS key as the source backup.", +"Use Google default encryption.", +"Use customer managed encryption. If specified, either `kms_key_name` or `kms_key_names` must contain valid Cloud KMS keys." +], +"type": "string" +}, +"kmsKeyName": { +"description": "Optional. This field is maintained for backwards compatibility. For new callers, we recommend using `kms_key_names` to specify the KMS key. Only use `kms_key_name` if the location of the KMS key matches the database instance's configuration (location) exactly. For example, if the KMS location is in `us-central1` or `nam3`, then the database instance must also be in `us-central1` or `nam3`. The Cloud KMS key that is used to encrypt and decrypt the restored database. Set this field only when encryption_type is `CUSTOMER_MANAGED_ENCRYPTION`. Values are of the form `projects//locations//keyRings//cryptoKeys/`.", +"type": "string" +}, +"kmsKeyNames": { +"description": "Optional. Specifies the KMS configuration for the one or more keys used to protect the backup. Values are of the form `projects//locations//keyRings//cryptoKeys/`. KMS keys specified can be in any order. The keys referenced by `kms_key_names` must fully cover all regions of the backup's instance configuration. Some examples: * For regional (single-region) instance configurations, specify a regional location KMS key. * For multi-region instance configurations of type `GOOGLE_MANAGED`, either specify a multi-region location KMS key or multiple regional location KMS keys that cover all regions in the instance configuration. * For an instance configuration of type `USER_MANAGED`, specify only regional location KMS keys to cover each region in the instance configuration. Multi-region location KMS keys aren't supported for `USER_MANAGED` type instance configurations.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"CopyBackupMetadata": { +"description": "Metadata type for the operation returned by CopyBackup.", +"id": "CopyBackupMetadata", +"properties": { +"cancelTime": { +"description": "The time at which cancellation of CopyBackup operation was received. Operations.CancelOperation starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.", +"format": "google-datetime", +"type": "string" +}, +"name": { +"description": "The name of the backup being created through the copy operation. Values are of the form `projects//instances//backups/`.", +"type": "string" +}, +"progress": { +"$ref": "OperationProgress", +"description": "The progress of the CopyBackup operation." +}, +"sourceBackup": { +"description": "The name of the source backup that is being copied. Values are of the form `projects//instances//backups/`.", +"type": "string" +} +}, +"type": "object" +}, +"CopyBackupRequest": { +"description": "The request for CopyBackup.", +"id": "CopyBackupRequest", +"properties": { +"backupId": { +"description": "Required. The id of the backup copy. The `backup_id` appended to `parent` forms the full backup_uri of the form `projects//instances//backups/`.", +"type": "string" +}, +"encryptionConfig": { +"$ref": "CopyBackupEncryptionConfig", +"description": "Optional. The encryption configuration used to encrypt the backup. If this field is not specified, the backup will use the same encryption configuration as the source backup by default, namely encryption_type = `USE_CONFIG_DEFAULT_OR_BACKUP_ENCRYPTION`." +}, +"expireTime": { +"description": "Required. The expiration time of the backup in microsecond granularity. The expiration time must be at least 6 hours and at most 366 days from the `create_time` of the source backup. Once the `expire_time` has passed, the backup is eligible to be automatically deleted by Cloud Spanner to free the resources used by the backup.", +"format": "google-datetime", +"type": "string" +}, +"sourceBackup": { +"description": "Required. The source backup to be copied. The source backup needs to be in READY state for it to be copied. Once CopyBackup is in progress, the source backup cannot be deleted or cleaned up on expiration until CopyBackup is finished. Values are of the form: `projects//instances//backups/`.", +"type": "string" +} +}, +"type": "object" +}, +"CreateBackupEncryptionConfig": { +"description": "Encryption configuration for the backup to create.", +"id": "CreateBackupEncryptionConfig", +"properties": { +"encryptionType": { +"description": "Required. The encryption type of the backup.", +"enum": [ +"ENCRYPTION_TYPE_UNSPECIFIED", +"USE_DATABASE_ENCRYPTION", +"GOOGLE_DEFAULT_ENCRYPTION", +"CUSTOMER_MANAGED_ENCRYPTION" +], +"enumDescriptions": [ +"Unspecified. Do not use.", +"Use the same encryption configuration as the database. This is the default option when encryption_config is empty. For example, if the database is using `Customer_Managed_Encryption`, the backup will be using the same Cloud KMS key as the database.", +"Use Google default encryption.", +"Use customer managed encryption. If specified, `kms_key_name` must contain a valid Cloud KMS key." +], +"type": "string" +}, +"kmsKeyName": { +"description": "Optional. This field is maintained for backwards compatibility. For new callers, we recommend using `kms_key_names` to specify the KMS key. Only use `kms_key_name` if the location of the KMS key matches the database instance's configuration (location) exactly. For example, if the KMS location is in `us-central1` or `nam3`, then the database instance must also be in `us-central1` or `nam3`. The Cloud KMS key that is used to encrypt and decrypt the restored database. Set this field only when encryption_type is `CUSTOMER_MANAGED_ENCRYPTION`. Values are of the form `projects//locations//keyRings//cryptoKeys/`.", +"type": "string" +}, +"kmsKeyNames": { +"description": "Optional. Specifies the KMS configuration for the one or more keys used to protect the backup. Values are of the form `projects//locations//keyRings//cryptoKeys/`. The keys referenced by `kms_key_names` must fully cover all regions of the backup's instance configuration. Some examples: * For regional (single-region) instance configurations, specify a regional location KMS key. * For multi-region instance configurations of type `GOOGLE_MANAGED`, either specify a multi-region location KMS key or multiple regional location KMS keys that cover all regions in the instance configuration. * For an instance configuration of type `USER_MANAGED`, specify only regional location KMS keys to cover each region in the instance configuration. Multi-region location KMS keys aren't supported for `USER_MANAGED` type instance configurations.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"CreateBackupMetadata": { +"description": "Metadata type for the operation returned by CreateBackup.", +"id": "CreateBackupMetadata", +"properties": { +"cancelTime": { +"description": "The time at which cancellation of this operation was received. Operations.CancelOperation starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.", +"format": "google-datetime", +"type": "string" +}, +"database": { +"description": "The name of the database the backup is created from.", +"type": "string" +}, +"name": { +"description": "The name of the backup being created.", +"type": "string" +}, +"progress": { +"$ref": "OperationProgress", +"description": "The progress of the CreateBackup operation." +} +}, +"type": "object" +}, +"CreateDatabaseMetadata": { +"description": "Metadata type for the operation returned by CreateDatabase.", +"id": "CreateDatabaseMetadata", +"properties": { +"database": { +"description": "The database being created.", +"type": "string" +} +}, +"type": "object" +}, +"CreateDatabaseRequest": { +"description": "The request for CreateDatabase.", +"id": "CreateDatabaseRequest", +"properties": { +"createStatement": { +"description": "Required. A `CREATE DATABASE` statement, which specifies the ID of the new database. The database ID must conform to the regular expression `a-z*[a-z0-9]` and be between 2 and 30 characters in length. If the database ID is a reserved word or if it contains a hyphen, the database ID must be enclosed in backticks (`` ` ``).", +"type": "string" +}, +"databaseDialect": { +"description": "Optional. The dialect of the Cloud Spanner Database.", +"enum": [ +"DATABASE_DIALECT_UNSPECIFIED", +"GOOGLE_STANDARD_SQL", +"POSTGRESQL" +], +"enumDescriptions": [ +"Default value. This value will create a database with the GOOGLE_STANDARD_SQL dialect.", +"GoogleSQL supported SQL.", +"PostgreSQL supported SQL." +], +"type": "string" +}, +"encryptionConfig": { +"$ref": "EncryptionConfig", +"description": "Optional. The encryption configuration for the database. If this field is not specified, Cloud Spanner will encrypt/decrypt all data at rest using Google default encryption." +}, +"extraStatements": { +"description": "Optional. A list of DDL statements to run inside the newly created database. Statements can create tables, indexes, etc. These statements execute atomically with the creation of the database: if there is an error in any statement, the database is not created.", +"items": { +"type": "string" +}, +"type": "array" +}, +"protoDescriptors": { +"description": "Optional. Proto descriptors used by `CREATE/ALTER PROTO BUNDLE` statements in 'extra_statements'. Contains a protobuf-serialized [`google.protobuf.FileDescriptorSet`](https://github.com/protocolbuffers/protobuf/blob/main/src/google/protobuf/descriptor.proto) descriptor set. To generate it, [install](https://grpc.io/docs/protoc-installation/) and run `protoc` with --include_imports and --descriptor_set_out. For example, to generate for moon/shot/app.proto, run ``` $protoc --proto_path=/app_path --proto_path=/lib_path \\ --include_imports \\ --descriptor_set_out=descriptors.data \\ moon/shot/app.proto ``` For more details, see protobuffer [self description](https://developers.google.com/protocol-buffers/docs/techniques#self-description).", +"format": "byte", +"type": "string" +} +}, +"type": "object" +}, +"CreateInstanceConfigMetadata": { +"description": "Metadata type for the operation returned by CreateInstanceConfig.", +"id": "CreateInstanceConfigMetadata", +"properties": { +"cancelTime": { +"description": "The time at which this operation was cancelled.", +"format": "google-datetime", +"type": "string" +}, +"instanceConfig": { +"$ref": "InstanceConfig", +"description": "The target instance configuration end state." +}, +"progress": { +"$ref": "InstanceOperationProgress", +"description": "The progress of the CreateInstanceConfig operation." +} +}, +"type": "object" +}, +"CreateInstanceConfigRequest": { +"description": "The request for CreateInstanceConfig.", +"id": "CreateInstanceConfigRequest", +"properties": { +"instanceConfig": { +"$ref": "InstanceConfig", +"description": "Required. The `InstanceConfig` proto of the configuration to create. `instance_config.name` must be `/instanceConfigs/`. `instance_config.base_config` must be a Google-managed configuration name, e.g. /instanceConfigs/us-east1, /instanceConfigs/nam3." +}, +"instanceConfigId": { +"description": "Required. The ID of the instance configuration to create. Valid identifiers are of the form `custom-[-a-z0-9]*[a-z0-9]` and must be between 2 and 64 characters in length. The `custom-` prefix is required to avoid name conflicts with Google-managed configurations.", +"type": "string" +}, +"validateOnly": { +"description": "An option to validate, but not actually execute, a request, and provide the same response.", +"type": "boolean" +} +}, +"type": "object" +}, +"CreateInstanceMetadata": { +"description": "Metadata type for the operation returned by CreateInstance.", +"id": "CreateInstanceMetadata", +"properties": { +"cancelTime": { +"description": "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.", +"format": "google-datetime", +"type": "string" +}, +"endTime": { +"description": "The time at which this operation failed or was completed successfully.", +"format": "google-datetime", +"type": "string" +}, +"expectedFulfillmentPeriod": { +"description": "The expected fulfillment period of this create operation.", +"enum": [ +"FULFILLMENT_PERIOD_UNSPECIFIED", +"FULFILLMENT_PERIOD_NORMAL", +"FULFILLMENT_PERIOD_EXTENDED" +], +"enumDescriptions": [ +"Not specified.", +"Normal fulfillment period. The operation is expected to complete within minutes.", +"Extended fulfillment period. It can take up to an hour for the operation to complete." +], +"type": "string" +}, +"instance": { +"$ref": "Instance", +"description": "The instance being created." +}, +"startTime": { +"description": "The time at which the CreateInstance request was received.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"CreateInstancePartitionMetadata": { +"description": "Metadata type for the operation returned by CreateInstancePartition.", +"id": "CreateInstancePartitionMetadata", +"properties": { +"cancelTime": { +"description": "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.", +"format": "google-datetime", +"type": "string" +}, +"endTime": { +"description": "The time at which this operation failed or was completed successfully.", +"format": "google-datetime", +"type": "string" +}, +"instancePartition": { +"$ref": "InstancePartition", +"description": "The instance partition being created." +}, +"startTime": { +"description": "The time at which the CreateInstancePartition request was received.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"CreateInstancePartitionRequest": { +"description": "The request for CreateInstancePartition.", +"id": "CreateInstancePartitionRequest", +"properties": { +"instancePartition": { +"$ref": "InstancePartition", +"description": "Required. The instance partition to create. The instance_partition.name may be omitted, but if specified must be `/instancePartitions/`." +}, +"instancePartitionId": { +"description": "Required. The ID of the instance partition to create. Valid identifiers are of the form `a-z*[a-z0-9]` and must be between 2 and 64 characters in length.", +"type": "string" +} +}, +"type": "object" +}, +"CreateInstanceRequest": { +"description": "The request for CreateInstance.", +"id": "CreateInstanceRequest", +"properties": { +"instance": { +"$ref": "Instance", +"description": "Required. The instance to create. The name may be omitted, but if specified must be `/instances/`." +}, +"instanceId": { +"description": "Required. The ID of the instance to create. Valid identifiers are of the form `a-z*[a-z0-9]` and must be between 2 and 64 characters in length.", +"type": "string" +} +}, +"type": "object" +}, +"CreateSessionRequest": { +"description": "The request for CreateSession.", +"id": "CreateSessionRequest", +"properties": { +"session": { +"$ref": "Session", +"description": "Required. The session to create." +} +}, +"type": "object" +}, +"CrontabSpec": { +"description": "CrontabSpec can be used to specify the version time and frequency at which the backup is created.", +"id": "CrontabSpec", +"properties": { +"creationWindow": { +"description": "Output only. Scheduled backups contain an externally consistent copy of the database at the version time specified in `schedule_spec.cron_spec`. However, Spanner might not initiate the creation of the scheduled backups at that version time. Spanner initiates the creation of scheduled backups within the time window bounded by the version_time specified in `schedule_spec.cron_spec` and version_time + `creation_window`.", +"format": "google-duration", +"readOnly": true, +"type": "string" +}, +"text": { +"description": "Required. Textual representation of the crontab. User can customize the backup frequency and the backup version time using the cron expression. The version time must be in UTC timezone. The backup will contain an externally consistent copy of the database at the version time. Full backups must be scheduled a minimum of 12 hours apart and incremental backups must be scheduled a minimum of 4 hours apart. Examples of valid cron specifications: * `0 2/12 * * *` : every 12 hours at (2, 14) hours past midnight in UTC. * `0 2,14 * * *` : every 12 hours at (2, 14) hours past midnight in UTC. * `0 */4 * * *` : (incremental backups only) every 4 hours at (0, 4, 8, 12, 16, 20) hours past midnight in UTC. * `0 2 * * *` : once a day at 2 past midnight in UTC. * `0 2 * * 0` : once a week every Sunday at 2 past midnight in UTC. * `0 2 8 * *` : once a month on 8th day at 2 past midnight in UTC.", +"type": "string" +}, +"timeZone": { +"description": "Output only. The time zone of the times in `CrontabSpec.text`. Currently, only UTC is supported.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"DataChangeRecord": { +"description": "A data change record contains a set of changes to a table with the same modification type (insert, update, or delete) committed at the same commit timestamp in one change stream partition for the same transaction. Multiple data change records can be returned for the same transaction across multiple change stream partitions.", +"id": "DataChangeRecord", +"properties": { +"columnMetadata": { +"description": "Provides metadata describing the columns associated with the mods listed below.", +"items": { +"$ref": "ColumnMetadata" +}, +"type": "array" +}, +"commitTimestamp": { +"description": "Indicates the timestamp in which the change was committed. DataChangeRecord.commit_timestamps, PartitionStartRecord.start_timestamps, PartitionEventRecord.commit_timestamps, and PartitionEndRecord.end_timestamps can have the same value in the same partition.", +"format": "google-datetime", +"type": "string" +}, +"isLastRecordInTransactionInPartition": { +"description": "Indicates whether this is the last record for a transaction in the current partition. Clients can use this field to determine when all records for a transaction in the current partition have been received.", +"type": "boolean" +}, +"isSystemTransaction": { +"description": "Indicates whether the transaction is a system transaction. System transactions include those issued by time-to-live (TTL), column backfill, etc.", +"type": "boolean" +}, +"modType": { +"description": "Describes the type of change.", +"enum": [ +"MOD_TYPE_UNSPECIFIED", +"INSERT", +"UPDATE", +"DELETE" +], +"enumDescriptions": [ +"Not specified.", +"Indicates data was inserted.", +"Indicates existing data was updated.", +"Indicates existing data was deleted." +], +"type": "string" +}, +"mods": { +"description": "Describes the changes that were made.", +"items": { +"$ref": "Mod" +}, +"type": "array" +}, +"numberOfPartitionsInTransaction": { +"description": "Indicates the number of partitions that return data change records for this transaction. This value can be helpful in assembling all records associated with a particular transaction.", +"format": "int32", +"type": "integer" +}, +"numberOfRecordsInTransaction": { +"description": "Indicates the number of data change records that are part of this transaction across all change stream partitions. This value can be used to assemble all the records associated with a particular transaction.", +"format": "int32", +"type": "integer" +}, +"recordSequence": { +"description": "Record sequence numbers are unique and monotonically increasing (but not necessarily contiguous) for a specific timestamp across record types in the same partition. To guarantee ordered processing, the reader should process records (of potentially different types) in record_sequence order for a specific timestamp in the same partition. The record sequence number ordering across partitions is only meaningful in the context of a specific transaction. Record sequence numbers are unique across partitions for a specific transaction. Sort the DataChangeRecords for the same server_transaction_id by record_sequence to reconstruct the ordering of the changes within the transaction.", +"type": "string" +}, +"serverTransactionId": { +"description": "Provides a globally unique string that represents the transaction in which the change was committed. Multiple transactions can have the same commit timestamp, but each transaction has a unique server_transaction_id.", +"type": "string" +}, +"table": { +"description": "Name of the table affected by the change.", +"type": "string" +}, +"transactionTag": { +"description": "Indicates the transaction tag associated with this transaction.", +"type": "string" +}, +"valueCaptureType": { +"description": "Describes the value capture type that was specified in the change stream configuration when this change was captured.", +"enum": [ +"VALUE_CAPTURE_TYPE_UNSPECIFIED", +"OLD_AND_NEW_VALUES", +"NEW_VALUES", +"NEW_ROW", +"NEW_ROW_AND_OLD_VALUES" +], +"enumDescriptions": [ +"Not specified.", +"Records both old and new values of the modified watched columns.", +"Records only new values of the modified watched columns.", +"Records new values of all watched columns, including modified and unmodified columns.", +"Records the new values of all watched columns, including modified and unmodified columns. Also records the old values of the modified columns." +], +"type": "string" +} +}, +"type": "object" +}, +"Database": { +"description": "A Cloud Spanner database.", +"id": "Database", +"properties": { +"createTime": { +"description": "Output only. If exists, the time at which the database creation started.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"databaseDialect": { +"description": "Output only. The dialect of the Cloud Spanner Database.", +"enum": [ +"DATABASE_DIALECT_UNSPECIFIED", +"GOOGLE_STANDARD_SQL", +"POSTGRESQL" +], +"enumDescriptions": [ +"Default value. This value will create a database with the GOOGLE_STANDARD_SQL dialect.", +"GoogleSQL supported SQL.", +"PostgreSQL supported SQL." +], +"readOnly": true, +"type": "string" +}, +"defaultLeader": { +"description": "Output only. The read-write region which contains the database's leader replicas. This is the same as the value of default_leader database option set using DatabaseAdmin.CreateDatabase or DatabaseAdmin.UpdateDatabaseDdl. If not explicitly set, this is empty.", +"readOnly": true, +"type": "string" +}, +"earliestVersionTime": { +"description": "Output only. Earliest timestamp at which older versions of the data can be read. This value is continuously updated by Cloud Spanner and becomes stale the moment it is queried. If you are using this value to recover data, make sure to account for the time from the moment when the value is queried to the moment when you initiate the recovery.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"enableDropProtection": { +"description": "Optional. Whether drop protection is enabled for this database. Defaults to false, if not set. For more details, please see how to [prevent accidental database deletion](https://cloud.google.com/spanner/docs/prevent-database-deletion).", +"type": "boolean" +}, +"encryptionConfig": { +"$ref": "EncryptionConfig", +"description": "Output only. For databases that are using customer managed encryption, this field contains the encryption configuration for the database. For databases that are using Google default or other types of encryption, this field is empty.", +"readOnly": true +}, +"encryptionInfo": { +"description": "Output only. For databases that are using customer managed encryption, this field contains the encryption information for the database, such as all Cloud KMS key versions that are in use. The `encryption_status` field inside of each `EncryptionInfo` is not populated. For databases that are using Google default or other types of encryption, this field is empty. This field is propagated lazily from the backend. There might be a delay from when a key version is being used and when it appears in this field.", +"items": { +"$ref": "EncryptionInfo" +}, +"readOnly": true, +"type": "array" +}, +"name": { +"description": "Required. The name of the database. Values are of the form `projects//instances//databases/`, where `` is as specified in the `CREATE DATABASE` statement. This name can be passed to other API methods to identify the database.", +"type": "string" +}, +"quorumInfo": { +"$ref": "QuorumInfo", +"description": "Output only. Applicable only for databases that use dual-region instance configurations. Contains information about the quorum.", +"readOnly": true +}, +"reconciling": { +"description": "Output only. If true, the database is being updated. If false, there are no ongoing update operations for the database.", +"readOnly": true, +"type": "boolean" +}, +"restoreInfo": { +"$ref": "RestoreInfo", +"description": "Output only. Applicable only for restored databases. Contains information about the restore source.", +"readOnly": true +}, +"state": { +"description": "Output only. The current database state.", +"enum": [ +"STATE_UNSPECIFIED", +"CREATING", +"READY", +"READY_OPTIMIZING" +], +"enumDescriptions": [ +"Not specified.", +"The database is still being created. Operations on the database may fail with `FAILED_PRECONDITION` in this state.", +"The database is fully created and ready for use.", +"The database is fully created and ready for use, but is still being optimized for performance and cannot handle full load. In this state, the database still references the backup it was restore from, preventing the backup from being deleted. When optimizations are complete, the full performance of the database will be restored, and the database will transition to `READY` state." +], +"readOnly": true, +"type": "string" +}, +"versionRetentionPeriod": { +"description": "Output only. The period in which Cloud Spanner retains all versions of data for the database. This is the same as the value of version_retention_period database option set using UpdateDatabaseDdl. Defaults to 1 hour, if not set.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"DatabaseMoveConfig": { +"description": "The configuration for each database in the target instance configuration.", +"id": "DatabaseMoveConfig", +"properties": { +"databaseId": { +"description": "Required. The unique identifier of the database resource in the Instance. For example, if the database uri is `projects/foo/instances/bar/databases/baz`, then the id to supply here is baz.", +"type": "string" +}, +"encryptionConfig": { +"$ref": "InstanceEncryptionConfig", +"description": "Optional. Encryption configuration to be used for the database in the target configuration. The encryption configuration must be specified for every database which currently uses CMEK encryption. If a database currently uses Google-managed encryption and a target encryption configuration is not specified, then the database defaults to Google-managed encryption. If a database currently uses Google-managed encryption and a target CMEK encryption is specified, the request is rejected. If a database currently uses CMEK encryption, then a target encryption configuration must be specified. You can't move a CMEK database to a Google-managed encryption database using the MoveInstance API." +} +}, +"type": "object" +}, +"DatabaseRole": { +"description": "A Cloud Spanner database role.", +"id": "DatabaseRole", +"properties": { +"name": { +"description": "Required. The name of the database role. Values are of the form `projects//instances//databases//databaseRoles/` where `` is as specified in the `CREATE ROLE` DDL statement.", +"type": "string" +} +}, +"type": "object" +}, +"DdlStatementActionInfo": { +"description": "Action information extracted from a DDL statement. This proto is used to display the brief info of the DDL statement for the operation UpdateDatabaseDdl.", +"id": "DdlStatementActionInfo", +"properties": { +"action": { +"description": "The action for the DDL statement, for example, CREATE, ALTER, DROP, GRANT, etc. This field is a non-empty string.", +"type": "string" +}, +"entityNames": { +"description": "The entity names being operated on the DDL statement. For example, 1. For statement \"CREATE TABLE t1(...)\", `entity_names` = [\"t1\"]. 2. For statement \"GRANT ROLE r1, r2 ...\", `entity_names` = [\"r1\", \"r2\"]. 3. For statement \"ANALYZE\", `entity_names` = [].", +"items": { +"type": "string" +}, +"type": "array" +}, +"entityType": { +"description": "The entity type for the DDL statement, for example, TABLE, INDEX, VIEW, etc. This field can be empty string for some DDL statement, for example, for statement \"ANALYZE\", `entity_type` = \"\".", +"type": "string" +} +}, +"type": "object" +}, +"Delete": { +"description": "Arguments to delete operations.", +"id": "Delete", +"properties": { +"keySet": { +"$ref": "KeySet", +"description": "Required. The primary keys of the rows within table to delete. The primary keys must be specified in the order in which they appear in the `PRIMARY KEY()` clause of the table's equivalent DDL statement (the DDL statement used to create the table). Delete is idempotent. The transaction will succeed even if some or all rows do not exist." +}, +"table": { +"description": "Required. The table whose rows will be deleted.", +"type": "string" +} +}, +"type": "object" +}, +"DerivedMetric": { +"description": "A message representing a derived metric.", +"id": "DerivedMetric", +"properties": { +"denominator": { +"$ref": "LocalizedString", +"description": "The name of the denominator metric. e.g. \"rows\"." +}, +"numerator": { +"$ref": "LocalizedString", +"description": "The name of the numerator metric. e.g. \"latency\"." +} +}, +"type": "object" +}, +"DiagnosticMessage": { +"description": "A message representing the key visualizer diagnostic messages.", +"id": "DiagnosticMessage", +"properties": { +"info": { +"$ref": "LocalizedString", +"description": "Information about this diagnostic information." +}, +"metric": { +"$ref": "LocalizedString", +"description": "The metric." +}, +"metricSpecific": { +"description": "Whether this message is specific only for the current metric. By default Diagnostics are shown for all metrics, regardless which metric is the currently selected metric in the UI. However occasionally a metric will generate so many messages that the resulting visual clutter becomes overwhelming. In this case setting this to true, will show the diagnostic messages for that metric only if it is the currently selected metric.", +"type": "boolean" +}, +"severity": { +"description": "The severity of the diagnostic message.", +"enum": [ +"SEVERITY_UNSPECIFIED", +"INFO", +"WARNING", +"ERROR", +"FATAL" +], +"enumDescriptions": [ +"Required default value.", +"Lowest severity level \"Info\".", +"Middle severity level \"Warning\".", +"Severity level signaling an error \"Error\"", +"Severity level signaling a non recoverable error \"Fatal\"" +], +"type": "string" +}, +"shortMessage": { +"$ref": "LocalizedString", +"description": "The short message." +} +}, +"type": "object" +}, +"DirectedReadOptions": { +"description": "The `DirectedReadOptions` can be used to indicate which replicas or regions should be used for non-transactional reads or queries. `DirectedReadOptions` can only be specified for a read-only transaction, otherwise the API returns an `INVALID_ARGUMENT` error.", +"id": "DirectedReadOptions", +"properties": { +"excludeReplicas": { +"$ref": "ExcludeReplicas", +"description": "`Exclude_replicas` indicates that specified replicas should be excluded from serving requests. Spanner doesn't route requests to the replicas in this list." +}, +"includeReplicas": { +"$ref": "IncludeReplicas", +"description": "`Include_replicas` indicates the order of replicas (as they appear in this list) to process the request. If `auto_failover_disabled` is set to `true` and all replicas are exhausted without finding a healthy replica, Spanner waits for a replica in the list to become available, requests might fail due to `DEADLINE_EXCEEDED` errors." +} +}, +"type": "object" +}, +"DualRegionQuorum": { +"description": "Message type for a dual-region quorum. Currently this type has no options.", +"id": "DualRegionQuorum", +"properties": {}, +"type": "object" +}, +"Empty": { +"description": "A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }", +"id": "Empty", +"properties": {}, +"type": "object" +}, +"EncryptionConfig": { +"description": "Encryption configuration for a Cloud Spanner database.", +"id": "EncryptionConfig", +"properties": { +"kmsKeyName": { +"description": "The Cloud KMS key to be used for encrypting and decrypting the database. Values are of the form `projects//locations//keyRings//cryptoKeys/`.", +"type": "string" +}, +"kmsKeyNames": { +"description": "Specifies the KMS configuration for one or more keys used to encrypt the database. Values are of the form `projects//locations//keyRings//cryptoKeys/`. The keys referenced by `kms_key_names` must fully cover all regions of the database's instance configuration. Some examples: * For regional (single-region) instance configurations, specify a regional location KMS key. * For multi-region instance configurations of type `GOOGLE_MANAGED`, either specify a multi-region location KMS key or multiple regional location KMS keys that cover all regions in the instance configuration. * For an instance configuration of type `USER_MANAGED`, specify only regional location KMS keys to cover each region in the instance configuration. Multi-region location KMS keys aren't supported for `USER_MANAGED` type instance configurations.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"EncryptionInfo": { +"description": "Encryption information for a Cloud Spanner database or backup.", +"id": "EncryptionInfo", +"properties": { +"encryptionStatus": { +"$ref": "Status", +"description": "Output only. If present, the status of a recent encrypt/decrypt call on underlying data for this database or backup. Regardless of status, data is always encrypted at rest.", +"readOnly": true +}, +"encryptionType": { +"description": "Output only. The type of encryption.", +"enum": [ +"TYPE_UNSPECIFIED", +"GOOGLE_DEFAULT_ENCRYPTION", +"CUSTOMER_MANAGED_ENCRYPTION" +], +"enumDescriptions": [ +"Encryption type was not specified, though data at rest remains encrypted.", +"The data is encrypted at rest with a key that is fully managed by Google. No key version or status will be populated. This is the default state.", +"The data is encrypted at rest with a key that is managed by the customer. The active version of the key. `kms_key_version` will be populated, and `encryption_status` may be populated." +], +"readOnly": true, +"type": "string" +}, +"kmsKeyVersion": { +"description": "Output only. A Cloud KMS key version that is being used to protect the database or backup.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"ExcludeReplicas": { +"description": "An ExcludeReplicas contains a repeated set of ReplicaSelection that should be excluded from serving requests.", +"id": "ExcludeReplicas", +"properties": { +"replicaSelections": { +"description": "The directed read replica selector.", +"items": { +"$ref": "ReplicaSelection" +}, +"type": "array" +} +}, +"type": "object" +}, +"ExecuteBatchDmlRequest": { +"description": "The request for ExecuteBatchDml.", +"id": "ExecuteBatchDmlRequest", +"properties": { +"lastStatements": { +"description": "Optional. If set to `true`, this request marks the end of the transaction. After these statements execute, you must commit or abort the transaction. Attempts to execute any other requests against this transaction (including reads and queries) are rejected. Setting this option might cause some error reporting to be deferred until commit time (for example, validation of unique constraints). Given this, successful execution of statements shouldn't be assumed until a subsequent `Commit` call completes successfully.", +"type": "boolean" +}, +"requestOptions": { +"$ref": "RequestOptions", +"description": "Common options for this request." +}, +"seqno": { +"description": "Required. A per-transaction sequence number used to identify this request. This field makes each request idempotent such that if the request is received multiple times, at most one succeeds. The sequence number must be monotonically increasing within the transaction. If a request arrives for the first time with an out-of-order sequence number, the transaction might be aborted. Replays of previously handled requests yield the same response as the first execution.", +"format": "int64", +"type": "string" +}, +"statements": { +"description": "Required. The list of statements to execute in this batch. Statements are executed serially, such that the effects of statement `i` are visible to statement `i+1`. Each statement must be a DML statement. Execution stops at the first failed statement; the remaining statements are not executed. Callers must provide at least one statement.", +"items": { +"$ref": "Statement" +}, +"type": "array" +}, +"transaction": { +"$ref": "TransactionSelector", +"description": "Required. The transaction to use. Must be a read-write transaction. To protect against replays, single-use transactions are not supported. The caller must either supply an existing transaction ID or begin a new transaction." +} +}, +"type": "object" +}, +"ExecuteBatchDmlResponse": { +"description": "The response for ExecuteBatchDml. Contains a list of ResultSet messages, one for each DML statement that has successfully executed, in the same order as the statements in the request. If a statement fails, the status in the response body identifies the cause of the failure. To check for DML statements that failed, use the following approach: 1. Check the status in the response message. The google.rpc.Code enum value `OK` indicates that all statements were executed successfully. 2. If the status was not `OK`, check the number of result sets in the response. If the response contains `N` ResultSet messages, then statement `N+1` in the request failed. Example 1: * Request: 5 DML statements, all executed successfully. * Response: 5 ResultSet messages, with the status `OK`. Example 2: * Request: 5 DML statements. The third statement has a syntax error. * Response: 2 ResultSet messages, and a syntax error (`INVALID_ARGUMENT`) status. The number of ResultSet messages indicates that the third statement failed, and the fourth and fifth statements were not executed.", +"id": "ExecuteBatchDmlResponse", +"properties": { +"precommitToken": { +"$ref": "MultiplexedSessionPrecommitToken", +"description": "Optional. A precommit token is included if the read-write transaction is on a multiplexed session. Pass the precommit token with the highest sequence number from this transaction attempt should be passed to the Commit request for this transaction." +}, +"resultSets": { +"description": "One ResultSet for each statement in the request that ran successfully, in the same order as the statements in the request. Each ResultSet does not contain any rows. The ResultSetStats in each ResultSet contain the number of rows modified by the statement. Only the first ResultSet in the response contains valid ResultSetMetadata.", +"items": { +"$ref": "ResultSet" +}, +"type": "array" +}, +"status": { +"$ref": "Status", +"description": "If all DML statements are executed successfully, the status is `OK`. Otherwise, the error status of the first failed statement." +} +}, +"type": "object" +}, +"ExecuteSqlRequest": { +"description": "The request for ExecuteSql and ExecuteStreamingSql.", +"id": "ExecuteSqlRequest", +"properties": { +"dataBoostEnabled": { +"description": "If this is for a partitioned query and this field is set to `true`, the request is executed with Spanner Data Boost independent compute resources. If the field is set to `true` but the request doesn't set `partition_token`, the API returns an `INVALID_ARGUMENT` error.", +"type": "boolean" +}, +"directedReadOptions": { +"$ref": "DirectedReadOptions", +"description": "Directed read options for this request." +}, +"lastStatement": { +"description": "Optional. If set to `true`, this statement marks the end of the transaction. After this statement executes, you must commit or abort the transaction. Attempts to execute any other requests against this transaction (including reads and queries) are rejected. For DML statements, setting this option might cause some error reporting to be deferred until commit time (for example, validation of unique constraints). Given this, successful execution of a DML statement shouldn't be assumed until a subsequent `Commit` call completes successfully.", +"type": "boolean" +}, +"paramTypes": { +"additionalProperties": { +"$ref": "Type" +}, +"description": "It isn't always possible for Cloud Spanner to infer the right SQL type from a JSON value. For example, values of type `BYTES` and values of type `STRING` both appear in params as JSON strings. In these cases, you can use `param_types` to specify the exact SQL type for some or all of the SQL statement parameters. See the definition of Type for more information about SQL types.", +"type": "object" +}, +"params": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"description": "Parameter names and values that bind to placeholders in the SQL string. A parameter placeholder consists of the `@` character followed by the parameter name (for example, `@firstName`). Parameter names must conform to the naming requirements of identifiers as specified at https://cloud.google.com/spanner/docs/lexical#identifiers. Parameters can appear anywhere that a literal value is expected. The same parameter name can be used more than once, for example: `\"WHERE id > @msg_id AND id < @msg_id + 100\"` It's an error to execute a SQL statement with unbound parameters.", +"type": "object" +}, +"partitionToken": { +"description": "If present, results are restricted to the specified partition previously created using `PartitionQuery`. There must be an exact match for the values of fields common to this message and the `PartitionQueryRequest` message used to create this `partition_token`.", +"format": "byte", +"type": "string" +}, +"queryMode": { +"description": "Used to control the amount of debugging information returned in ResultSetStats. If partition_token is set, query_mode can only be set to QueryMode.NORMAL.", +"enum": [ +"NORMAL", +"PLAN", +"PROFILE", +"WITH_STATS", +"WITH_PLAN_AND_STATS" +], +"enumDescriptions": [ +"The default mode. Only the statement results are returned.", +"This mode returns only the query plan, without any results or execution statistics information.", +"This mode returns the query plan, overall execution statistics, operator level execution statistics along with the results. This has a performance overhead compared to the other modes. It isn't recommended to use this mode for production traffic.", +"This mode returns the overall (but not operator-level) execution statistics along with the results.", +"This mode returns the query plan, overall (but not operator-level) execution statistics along with the results." +], +"type": "string" +}, +"queryOptions": { +"$ref": "QueryOptions", +"description": "Query optimizer configuration to use for the given query." +}, +"requestOptions": { +"$ref": "RequestOptions", +"description": "Common options for this request." +}, +"resumeToken": { +"description": "If this request is resuming a previously interrupted SQL statement execution, `resume_token` should be copied from the last PartialResultSet yielded before the interruption. Doing this enables the new SQL statement execution to resume where the last one left off. The rest of the request parameters must exactly match the request that yielded this token.", +"format": "byte", +"type": "string" +}, +"seqno": { +"description": "A per-transaction sequence number used to identify this request. This field makes each request idempotent such that if the request is received multiple times, at most one succeeds. The sequence number must be monotonically increasing within the transaction. If a request arrives for the first time with an out-of-order sequence number, the transaction can be aborted. Replays of previously handled requests yield the same response as the first execution. Required for DML statements. Ignored for queries.", +"format": "int64", +"type": "string" +}, +"sql": { +"description": "Required. The SQL string.", +"type": "string" +}, +"transaction": { +"$ref": "TransactionSelector", +"description": "The transaction to use. For queries, if none is provided, the default is a temporary read-only transaction with strong concurrency. Standard DML statements require a read-write transaction. To protect against replays, single-use transactions are not supported. The caller must either supply an existing transaction ID or begin a new transaction. Partitioned DML requires an existing Partitioned DML transaction ID." +} +}, +"type": "object" +}, +"Expr": { +"description": "Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: \"Summary size limit\" description: \"Determines if a summary is less than 100 chars\" expression: \"document.summary.size() < 100\" Example (Equality): title: \"Requestor is owner\" description: \"Determines if requestor is the document owner\" expression: \"document.owner == request.auth.claims.email\" Example (Logic): title: \"Public documents\" description: \"Determine whether the document should be publicly visible\" expression: \"document.type != 'private' && document.type != 'internal'\" Example (Data Manipulation): title: \"Notification string\" description: \"Create a notification string with a timestamp.\" expression: \"'New message received at ' + string(document.create_time)\" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information.", +"id": "Expr", +"properties": { +"description": { +"description": "Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI.", +"type": "string" +}, +"expression": { +"description": "Textual representation of an expression in Common Expression Language syntax.", +"type": "string" +}, +"location": { +"description": "Optional. String indicating the location of the expression for error reporting, e.g. a file name and a position in the file.", +"type": "string" +}, +"title": { +"description": "Optional. Title for the expression, i.e. a short string describing its purpose. This can be used e.g. in UIs which allow to enter the expression.", +"type": "string" +} +}, +"type": "object" +}, +"Field": { +"description": "Message representing a single field of a struct.", +"id": "Field", +"properties": { +"name": { +"description": "The name of the field. For reads, this is the column name. For SQL queries, it is the column alias (e.g., `\"Word\"` in the query `\"SELECT 'hello' AS Word\"`), or the column name (e.g., `\"ColName\"` in the query `\"SELECT ColName FROM Table\"`). Some columns might have an empty name (e.g., `\"SELECT UPPER(ColName)\"`). Note that a query result can contain multiple fields with the same name.", +"type": "string" +}, +"type": { +"$ref": "Type", +"description": "The type of the field." +} +}, +"type": "object" +}, +"FreeInstanceMetadata": { +"description": "Free instance specific metadata that is kept even after an instance has been upgraded for tracking purposes.", +"id": "FreeInstanceMetadata", +"properties": { +"expireBehavior": { +"description": "Specifies the expiration behavior of a free instance. The default of ExpireBehavior is `REMOVE_AFTER_GRACE_PERIOD`. This can be modified during or after creation, and before expiration.", +"enum": [ +"EXPIRE_BEHAVIOR_UNSPECIFIED", +"FREE_TO_PROVISIONED", +"REMOVE_AFTER_GRACE_PERIOD" +], +"enumDescriptions": [ +"Not specified.", +"When the free instance expires, upgrade the instance to a provisioned instance.", +"When the free instance expires, disable the instance, and delete it after the grace period passes if it has not been upgraded." +], +"type": "string" +}, +"expireTime": { +"description": "Output only. Timestamp after which the instance will either be upgraded or scheduled for deletion after a grace period. ExpireBehavior is used to choose between upgrading or scheduling the free instance for deletion. This timestamp is set during the creation of a free instance.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"upgradeTime": { +"description": "Output only. If present, the timestamp at which the free instance was upgraded to a provisioned instance.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"FullBackupSpec": { +"description": "The specification for full backups. A full backup stores the entire contents of the database at a given version time.", +"id": "FullBackupSpec", +"properties": {}, +"type": "object" +}, +"GetDatabaseDdlResponse": { +"description": "The response for GetDatabaseDdl.", +"id": "GetDatabaseDdlResponse", +"properties": { +"protoDescriptors": { +"description": "Proto descriptors stored in the database. Contains a protobuf-serialized [google.protobuf.FileDescriptorSet](https://github.com/protocolbuffers/protobuf/blob/main/src/google/protobuf/descriptor.proto). For more details, see protobuffer [self description](https://developers.google.com/protocol-buffers/docs/techniques#self-description).", +"format": "byte", +"type": "string" +}, +"statements": { +"description": "A list of formatted DDL statements defining the schema of the database specified in the request.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GetIamPolicyRequest": { +"description": "Request message for `GetIamPolicy` method.", +"id": "GetIamPolicyRequest", +"properties": { +"options": { +"$ref": "GetPolicyOptions", +"description": "OPTIONAL: A `GetPolicyOptions` object for specifying options to `GetIamPolicy`." +} +}, +"type": "object" +}, +"GetPolicyOptions": { +"description": "Encapsulates settings provided to GetIamPolicy.", +"id": "GetPolicyOptions", +"properties": { +"requestedPolicyVersion": { +"description": "Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"HeartbeatRecord": { +"description": "A heartbeat record is returned as a progress indicator, when there are no data changes or any other partition record types in the change stream partition.", +"id": "HeartbeatRecord", +"properties": { +"timestamp": { +"description": "Indicates the timestamp at which the query has returned all the records in the change stream partition with timestamp <= heartbeat timestamp. The heartbeat timestamp will not be the same as the timestamps of other record types in the same partition.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"IncludeReplicas": { +"description": "An `IncludeReplicas` contains a repeated set of `ReplicaSelection` which indicates the order in which replicas should be considered.", +"id": "IncludeReplicas", +"properties": { +"autoFailoverDisabled": { +"description": "If `true`, Spanner doesn't route requests to a replica outside the <`include_replicas` list when all of the specified replicas are unavailable or unhealthy. Default value is `false`.", +"type": "boolean" +}, +"replicaSelections": { +"description": "The directed read replica selector.", +"items": { +"$ref": "ReplicaSelection" +}, +"type": "array" +} +}, +"type": "object" +}, +"IncrementalBackupSpec": { +"description": "The specification for incremental backup chains. An incremental backup stores the delta of changes between a previous backup and the database contents at a given version time. An incremental backup chain consists of a full backup and zero or more successive incremental backups. The first backup created for an incremental backup chain is always a full backup.", +"id": "IncrementalBackupSpec", +"properties": {}, +"type": "object" +}, +"IndexAdvice": { +"description": "Recommendation to add new indexes to run queries more efficiently.", +"id": "IndexAdvice", +"properties": { +"ddl": { +"description": "Optional. DDL statements to add new indexes that will improve the query.", +"items": { +"type": "string" +}, +"type": "array" +}, +"improvementFactor": { +"description": "Optional. Estimated latency improvement factor. For example if the query currently takes 500 ms to run and the estimated latency with new indexes is 100 ms this field will be 5.", +"format": "double", +"type": "number" +} +}, +"type": "object" +}, +"IndexedHotKey": { +"description": "A message representing a (sparse) collection of hot keys for specific key buckets.", +"id": "IndexedHotKey", +"properties": { +"sparseHotKeys": { +"additionalProperties": { +"format": "int32", +"type": "integer" +}, +"description": "A (sparse) mapping from key bucket index to the index of the specific hot row key for that key bucket. The index of the hot row key can be translated to the actual row key via the ScanData.VisualizationData.indexed_keys repeated field.", +"type": "object" +} +}, +"type": "object" +}, +"IndexedKeyRangeInfos": { +"description": "A message representing a (sparse) collection of KeyRangeInfos for specific key buckets.", +"id": "IndexedKeyRangeInfos", +"properties": { +"keyRangeInfos": { +"additionalProperties": { +"$ref": "KeyRangeInfos" +}, +"description": "A (sparse) mapping from key bucket index to the KeyRangeInfos for that key bucket.", +"type": "object" +} +}, +"type": "object" +}, +"Instance": { +"description": "An isolated set of Cloud Spanner resources on which databases can be hosted.", +"id": "Instance", +"properties": { +"autoscalingConfig": { +"$ref": "AutoscalingConfig", +"description": "Optional. The autoscaling configuration. Autoscaling is enabled if this field is set. When autoscaling is enabled, node_count and processing_units are treated as OUTPUT_ONLY fields and reflect the current compute capacity allocated to the instance." +}, +"config": { +"description": "Required. The name of the instance's configuration. Values are of the form `projects//instanceConfigs/`. See also InstanceConfig and ListInstanceConfigs.", +"type": "string" +}, +"createTime": { +"description": "Output only. The time at which the instance was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"defaultBackupScheduleType": { +"description": "Optional. Controls the default backup schedule behavior for new databases within the instance. By default, a backup schedule is created automatically when a new database is created in a new instance. Note that the `AUTOMATIC` value isn't permitted for free instances, as backups and backup schedules aren't supported for free instances. In the `GetInstance` or `ListInstances` response, if the value of `default_backup_schedule_type` isn't set, or set to `NONE`, Spanner doesn't create a default backup schedule for new databases in the instance.", +"enum": [ +"DEFAULT_BACKUP_SCHEDULE_TYPE_UNSPECIFIED", +"NONE", +"AUTOMATIC" +], +"enumDescriptions": [ +"Not specified.", +"A default backup schedule isn't created automatically when a new database is created in the instance.", +"A default backup schedule is created automatically when a new database is created in the instance. The default backup schedule creates a full backup every 24 hours. These full backups are retained for 7 days. You can edit or delete the default backup schedule once it's created." +], +"type": "string" +}, +"displayName": { +"description": "Required. The descriptive name for this instance as it appears in UIs. Must be unique per project and between 4 and 30 characters in length.", +"type": "string" +}, +"edition": { +"description": "Optional. The `Edition` of the current instance.", +"enum": [ +"EDITION_UNSPECIFIED", +"STANDARD", +"ENTERPRISE", +"ENTERPRISE_PLUS" +], +"enumDescriptions": [ +"Edition not specified.", +"Standard edition.", +"Enterprise edition.", +"Enterprise Plus edition." +], +"type": "string" +}, +"endpointUris": { +"description": "Deprecated. This field is not populated.", +"items": { +"type": "string" +}, +"type": "array" +}, +"freeInstanceMetadata": { +"$ref": "FreeInstanceMetadata", +"description": "Free instance metadata. Only populated for free instances." +}, +"instanceType": { +"description": "The `InstanceType` of the current instance.", +"enum": [ +"INSTANCE_TYPE_UNSPECIFIED", +"PROVISIONED", +"FREE_INSTANCE" +], +"enumDescriptions": [ +"Not specified.", +"Provisioned instances have dedicated resources, standard usage limits and support.", +"Free instances provide no guarantee for dedicated resources, [node_count, processing_units] should be 0. They come with stricter usage limits and limited support." +], +"type": "string" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Cloud Labels are a flexible and lightweight mechanism for organizing cloud resources into groups that reflect a customer's organizational needs and deployment strategies. Cloud Labels can be used to filter collections of resources. They can be used to control how resource metrics are aggregated. And they can be used as arguments to policy management rules (e.g. route, firewall, load balancing, etc.). * Label keys must be between 1 and 63 characters long and must conform to the following regular expression: `a-z{0,62}`. * Label values must be between 0 and 63 characters long and must conform to the regular expression `[a-z0-9_-]{0,63}`. * No more than 64 labels can be associated with a given resource. See https://goo.gl/xmQnxf for more information on and examples of labels. If you plan to use labels in your own code, please note that additional characters may be allowed in the future. And so you are advised to use an internal label representation, such as JSON, which doesn't rely upon specific characters being disallowed. For example, representing labels as the string: name + \"_\" + value would prove problematic if we were to allow \"_\" in a future release.", +"type": "object" +}, +"name": { +"description": "Required. A unique identifier for the instance, which cannot be changed after the instance is created. Values are of the form `projects//instances/a-z*[a-z0-9]`. The final segment of the name must be between 2 and 64 characters in length.", +"type": "string" +}, +"nodeCount": { +"description": "The number of nodes allocated to this instance. At most, one of either `node_count` or `processing_units` should be present in the message. Users can set the `node_count` field to specify the target number of nodes allocated to the instance. If autoscaling is enabled, `node_count` is treated as an `OUTPUT_ONLY` field and reflects the current number of nodes allocated to the instance. This might be zero in API responses for instances that are not yet in the `READY` state. If the instance has varying node count across replicas (achieved by setting `asymmetric_autoscaling_options` in the autoscaling configuration), the `node_count` set here is the maximum node count across all replicas. For more information, see [Compute capacity, nodes, and processing units](https://cloud.google.com/spanner/docs/compute-capacity).", +"format": "int32", +"type": "integer" +}, +"processingUnits": { +"description": "The number of processing units allocated to this instance. At most, one of either `processing_units` or `node_count` should be present in the message. Users can set the `processing_units` field to specify the target number of processing units allocated to the instance. If autoscaling is enabled, `processing_units` is treated as an `OUTPUT_ONLY` field and reflects the current number of processing units allocated to the instance. This might be zero in API responses for instances that are not yet in the `READY` state. If the instance has varying processing units per replica (achieved by setting `asymmetric_autoscaling_options` in the autoscaling configuration), the `processing_units` set here is the maximum processing units across all replicas. For more information, see [Compute capacity, nodes and processing units](https://cloud.google.com/spanner/docs/compute-capacity).", +"format": "int32", +"type": "integer" +}, +"replicaComputeCapacity": { +"description": "Output only. Lists the compute capacity per ReplicaSelection. A replica selection identifies a set of replicas with common properties. Replicas identified by a ReplicaSelection are scaled with the same compute capacity.", +"items": { +"$ref": "ReplicaComputeCapacity" +}, +"readOnly": true, +"type": "array" +}, +"state": { +"description": "Output only. The current instance state. For CreateInstance, the state must be either omitted or set to `CREATING`. For UpdateInstance, the state must be either omitted or set to `READY`.", +"enum": [ +"STATE_UNSPECIFIED", +"CREATING", +"READY" +], +"enumDescriptions": [ +"Not specified.", +"The instance is still being created. Resources may not be available yet, and operations such as database creation may not work.", +"The instance is fully created and ready to do work such as creating databases." +], +"readOnly": true, +"type": "string" +}, +"updateTime": { +"description": "Output only. The time at which the instance was most recently updated.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"InstanceConfig": { +"description": "A possible configuration for a Cloud Spanner instance. Configurations define the geographic placement of nodes and their replication.", +"id": "InstanceConfig", +"properties": { +"baseConfig": { +"description": "Base configuration name, e.g. projects//instanceConfigs/nam3, based on which this configuration is created. Only set for user-managed configurations. `base_config` must refer to a configuration of type `GOOGLE_MANAGED` in the same project as this configuration.", +"type": "string" +}, +"configType": { +"description": "Output only. Whether this instance configuration is a Google-managed or user-managed configuration.", +"enum": [ +"TYPE_UNSPECIFIED", +"GOOGLE_MANAGED", +"USER_MANAGED" +], +"enumDescriptions": [ +"Unspecified.", +"Google-managed configuration.", +"User-managed configuration." +], +"readOnly": true, +"type": "string" +}, +"displayName": { +"description": "The name of this instance configuration as it appears in UIs.", +"type": "string" +}, +"etag": { +"description": "etag is used for optimistic concurrency control as a way to help prevent simultaneous updates of a instance configuration from overwriting each other. It is strongly suggested that systems make use of the etag in the read-modify-write cycle to perform instance configuration updates in order to avoid race conditions: An etag is returned in the response which contains instance configurations, and systems are expected to put that etag in the request to update instance configuration to ensure that their change is applied to the same version of the instance configuration. If no etag is provided in the call to update the instance configuration, then the existing instance configuration is overwritten blindly.", +"type": "string" +}, +"freeInstanceAvailability": { +"description": "Output only. Describes whether free instances are available to be created in this instance configuration.", +"enum": [ +"FREE_INSTANCE_AVAILABILITY_UNSPECIFIED", +"AVAILABLE", +"UNSUPPORTED", +"DISABLED", +"QUOTA_EXCEEDED" +], +"enumDescriptions": [ +"Not specified.", +"Indicates that free instances are available to be created in this instance configuration.", +"Indicates that free instances are not supported in this instance configuration.", +"Indicates that free instances are currently not available to be created in this instance configuration.", +"Indicates that additional free instances cannot be created in this instance configuration because the project has reached its limit of free instances." +], +"readOnly": true, +"type": "string" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Cloud Labels are a flexible and lightweight mechanism for organizing cloud resources into groups that reflect a customer's organizational needs and deployment strategies. Cloud Labels can be used to filter collections of resources. They can be used to control how resource metrics are aggregated. And they can be used as arguments to policy management rules (e.g. route, firewall, load balancing, etc.). * Label keys must be between 1 and 63 characters long and must conform to the following regular expression: `a-z{0,62}`. * Label values must be between 0 and 63 characters long and must conform to the regular expression `[a-z0-9_-]{0,63}`. * No more than 64 labels can be associated with a given resource. See https://goo.gl/xmQnxf for more information on and examples of labels. If you plan to use labels in your own code, please note that additional characters may be allowed in the future. Therefore, you are advised to use an internal label representation, such as JSON, which doesn't rely upon specific characters being disallowed. For example, representing labels as the string: name + \"_\" + value would prove problematic if we were to allow \"_\" in a future release.", +"type": "object" +}, +"leaderOptions": { +"description": "Allowed values of the \"default_leader\" schema option for databases in instances that use this instance configuration.", +"items": { +"type": "string" +}, +"type": "array" +}, +"name": { +"description": "A unique identifier for the instance configuration. Values are of the form `projects//instanceConfigs/a-z*`. User instance configuration must start with `custom-`.", +"type": "string" +}, +"optionalReplicas": { +"description": "Output only. The available optional replicas to choose from for user-managed configurations. Populated for Google-managed configurations.", +"items": { +"$ref": "ReplicaInfo" +}, +"readOnly": true, +"type": "array" +}, +"quorumType": { +"description": "Output only. The `QuorumType` of the instance configuration.", +"enum": [ +"QUORUM_TYPE_UNSPECIFIED", +"REGION", +"DUAL_REGION", +"MULTI_REGION" +], +"enumDescriptions": [ +"Quorum type not specified.", +"An instance configuration tagged with `REGION` quorum type forms a write quorum in a single region.", +"An instance configuration tagged with the `DUAL_REGION` quorum type forms a write quorum with exactly two read-write regions in a multi-region configuration. This instance configuration requires failover in the event of regional failures.", +"An instance configuration tagged with the `MULTI_REGION` quorum type forms a write quorum from replicas that are spread across more than one region in a multi-region configuration." +], +"readOnly": true, +"type": "string" +}, +"reconciling": { +"description": "Output only. If true, the instance configuration is being created or updated. If false, there are no ongoing operations for the instance configuration.", +"readOnly": true, +"type": "boolean" +}, +"replicas": { +"description": "The geographic placement of nodes in this instance configuration and their replication properties. To create user-managed configurations, input `replicas` must include all replicas in `replicas` of the `base_config` and include one or more replicas in the `optional_replicas` of the `base_config`.", +"items": { +"$ref": "ReplicaInfo" +}, +"type": "array" +}, +"state": { +"description": "Output only. The current instance configuration state. Applicable only for `USER_MANAGED` configurations.", +"enum": [ +"STATE_UNSPECIFIED", +"CREATING", +"READY" +], +"enumDescriptions": [ +"Not specified.", +"The instance configuration is still being created.", +"The instance configuration is fully created and ready to be used to create instances." +], +"readOnly": true, +"type": "string" +}, +"storageLimitPerProcessingUnit": { +"description": "Output only. The storage limit in bytes per processing unit.", +"format": "int64", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"InstanceEncryptionConfig": { +"description": "Encryption configuration for a Cloud Spanner database.", +"id": "InstanceEncryptionConfig", +"properties": { +"kmsKeyName": { +"description": "Optional. This field is maintained for backwards compatibility. For new callers, we recommend using `kms_key_names` to specify the KMS key. Only use `kms_key_name` if the location of the KMS key matches the database instance's configuration (location) exactly. For example, if the KMS location is in `us-central1` or `nam3`, then the database instance must also be in `us-central1` or `nam3`. The Cloud KMS key that is used to encrypt and decrypt the restored database. Values are of the form `projects//locations//keyRings//cryptoKeys/`.", +"type": "string" +}, +"kmsKeyNames": { +"description": "Optional. Specifies the KMS configuration for one or more keys used to encrypt the database. Values are of the form `projects//locations//keyRings//cryptoKeys/`. The keys referenced by `kms_key_names` must fully cover all regions of the database's instance configuration. Some examples: * For regional (single-region) instance configurations, specify a regional location KMS key. * For multi-region instance configurations of type `GOOGLE_MANAGED`, either specify a multi-region location KMS key or multiple regional location KMS keys that cover all regions in the instance configuration. * For an instance configuration of type `USER_MANAGED`, specify only regional location KMS keys to cover each region in the instance configuration. Multi-region location KMS keys aren't supported for `USER_MANAGED` type instance configurations.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"InstanceOperationProgress": { +"description": "Encapsulates progress related information for a Cloud Spanner long running instance operations.", +"id": "InstanceOperationProgress", +"properties": { +"endTime": { +"description": "If set, the time at which this operation failed or was completed successfully.", +"format": "google-datetime", +"type": "string" +}, +"progressPercent": { +"description": "Percent completion of the operation. Values are between 0 and 100 inclusive.", +"format": "int32", +"type": "integer" +}, +"startTime": { +"description": "Time the request was received.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"InstancePartition": { +"description": "An isolated set of Cloud Spanner resources that databases can define placements on.", +"id": "InstancePartition", +"properties": { +"autoscalingConfig": { +"$ref": "AutoscalingConfig", +"description": "Optional. The autoscaling configuration. Autoscaling is enabled if this field is set. When autoscaling is enabled, fields in compute_capacity are treated as OUTPUT_ONLY fields and reflect the current compute capacity allocated to the instance partition." +}, +"config": { +"description": "Required. The name of the instance partition's configuration. Values are of the form `projects//instanceConfigs/`. See also InstanceConfig and ListInstanceConfigs.", +"type": "string" +}, +"createTime": { +"description": "Output only. The time at which the instance partition was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"displayName": { +"description": "Required. The descriptive name for this instance partition as it appears in UIs. Must be unique per project and between 4 and 30 characters in length.", +"type": "string" +}, +"etag": { +"description": "Used for optimistic concurrency control as a way to help prevent simultaneous updates of a instance partition from overwriting each other. It is strongly suggested that systems make use of the etag in the read-modify-write cycle to perform instance partition updates in order to avoid race conditions: An etag is returned in the response which contains instance partitions, and systems are expected to put that etag in the request to update instance partitions to ensure that their change will be applied to the same version of the instance partition. If no etag is provided in the call to update instance partition, then the existing instance partition is overwritten blindly.", +"type": "string" +}, +"name": { +"description": "Required. A unique identifier for the instance partition. Values are of the form `projects//instances//instancePartitions/a-z*[a-z0-9]`. The final segment of the name must be between 2 and 64 characters in length. An instance partition's name cannot be changed after the instance partition is created.", +"type": "string" +}, +"nodeCount": { +"description": "The number of nodes allocated to this instance partition. Users can set the `node_count` field to specify the target number of nodes allocated to the instance partition. This may be zero in API responses for instance partitions that are not yet in state `READY`.", +"format": "int32", +"type": "integer" +}, +"processingUnits": { +"description": "The number of processing units allocated to this instance partition. Users can set the `processing_units` field to specify the target number of processing units allocated to the instance partition. This might be zero in API responses for instance partitions that are not yet in the `READY` state.", +"format": "int32", +"type": "integer" +}, +"referencingBackups": { +"deprecated": true, +"description": "Output only. Deprecated: This field is not populated. Output only. The names of the backups that reference this instance partition. Referencing backups should share the parent instance. The existence of any referencing backup prevents the instance partition from being deleted.", +"items": { +"type": "string" +}, +"readOnly": true, +"type": "array" +}, +"referencingDatabases": { +"description": "Output only. The names of the databases that reference this instance partition. Referencing databases should share the parent instance. The existence of any referencing database prevents the instance partition from being deleted.", +"items": { +"type": "string" +}, +"readOnly": true, +"type": "array" +}, +"state": { +"description": "Output only. The current instance partition state.", +"enum": [ +"STATE_UNSPECIFIED", +"CREATING", +"READY" +], +"enumDescriptions": [ +"Not specified.", +"The instance partition is still being created. Resources may not be available yet, and operations such as creating placements using this instance partition may not work.", +"The instance partition is fully created and ready to do work such as creating placements and using in databases." +], +"readOnly": true, +"type": "string" +}, +"updateTime": { +"description": "Output only. The time at which the instance partition was most recently updated.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"InstanceReplicaSelection": { +"description": "ReplicaSelection identifies replicas with common properties.", +"id": "InstanceReplicaSelection", +"properties": { +"location": { +"description": "Required. Name of the location of the replicas (for example, \"us-central1\").", +"type": "string" +} +}, +"type": "object" +}, +"Key": { +"description": "A split key.", +"id": "Key", +"properties": { +"keyParts": { +"description": "Required. The column values making up the split key.", +"items": { +"type": "any" +}, +"type": "array" +} +}, +"type": "object" +}, +"KeyRange": { +"description": "KeyRange represents a range of rows in a table or index. A range has a start key and an end key. These keys can be open or closed, indicating if the range includes rows with that key. Keys are represented by lists, where the ith value in the list corresponds to the ith component of the table or index primary key. Individual values are encoded as described here. For example, consider the following table definition: CREATE TABLE UserEvents ( UserName STRING(MAX), EventDate STRING(10) ) PRIMARY KEY(UserName, EventDate); The following keys name rows in this table: \"Bob\", \"2014-09-23\" Since the `UserEvents` table's `PRIMARY KEY` clause names two columns, each `UserEvents` key has two elements; the first is the `UserName`, and the second is the `EventDate`. Key ranges with multiple components are interpreted lexicographically by component using the table or index key's declared sort order. For example, the following range returns all events for user `\"Bob\"` that occurred in the year 2015: \"start_closed\": [\"Bob\", \"2015-01-01\"] \"end_closed\": [\"Bob\", \"2015-12-31\"] Start and end keys can omit trailing key components. This affects the inclusion and exclusion of rows that exactly match the provided key components: if the key is closed, then rows that exactly match the provided components are included; if the key is open, then rows that exactly match are not included. For example, the following range includes all events for `\"Bob\"` that occurred during and after the year 2000: \"start_closed\": [\"Bob\", \"2000-01-01\"] \"end_closed\": [\"Bob\"] The next example retrieves all events for `\"Bob\"`: \"start_closed\": [\"Bob\"] \"end_closed\": [\"Bob\"] To retrieve events before the year 2000: \"start_closed\": [\"Bob\"] \"end_open\": [\"Bob\", \"2000-01-01\"] The following range includes all rows in the table: \"start_closed\": [] \"end_closed\": [] This range returns all users whose `UserName` begins with any character from A to C: \"start_closed\": [\"A\"] \"end_open\": [\"D\"] This range returns all users whose `UserName` begins with B: \"start_closed\": [\"B\"] \"end_open\": [\"C\"] Key ranges honor column sort order. For example, suppose a table is defined as follows: CREATE TABLE DescendingSortedTable { Key INT64, ... ) PRIMARY KEY(Key DESC); The following range retrieves all rows with key values between 1 and 100 inclusive: \"start_closed\": [\"100\"] \"end_closed\": [\"1\"] Note that 100 is passed as the start, and 1 is passed as the end, because `Key` is a descending column in the schema.", +"id": "KeyRange", +"properties": { +"endClosed": { +"description": "If the end is closed, then the range includes all rows whose first `len(end_closed)` key columns exactly match `end_closed`.", +"items": { +"type": "any" +}, +"type": "array" +}, +"endOpen": { +"description": "If the end is open, then the range excludes rows whose first `len(end_open)` key columns exactly match `end_open`.", +"items": { +"type": "any" +}, +"type": "array" +}, +"startClosed": { +"description": "If the start is closed, then the range includes all rows whose first `len(start_closed)` key columns exactly match `start_closed`.", +"items": { +"type": "any" +}, +"type": "array" +}, +"startOpen": { +"description": "If the start is open, then the range excludes rows whose first `len(start_open)` key columns exactly match `start_open`.", +"items": { +"type": "any" +}, +"type": "array" +} +}, +"type": "object" +}, +"KeyRangeInfo": { +"description": "A message representing information for a key range (possibly one key).", +"id": "KeyRangeInfo", +"properties": { +"contextValues": { +"description": "The list of context values for this key range.", +"items": { +"$ref": "ContextValue" +}, +"type": "array" +}, +"endKeyIndex": { +"description": "The index of the end key in indexed_keys.", +"format": "int32", +"type": "integer" +}, +"info": { +"$ref": "LocalizedString", +"description": "Information about this key range, for all metrics." +}, +"keysCount": { +"description": "The number of keys this range covers.", +"format": "int64", +"type": "string" +}, +"metric": { +"$ref": "LocalizedString", +"description": "The name of the metric. e.g. \"latency\"." +}, +"startKeyIndex": { +"description": "The index of the start key in indexed_keys.", +"format": "int32", +"type": "integer" +}, +"timeOffset": { +"description": "The time offset. This is the time since the start of the time interval.", +"format": "google-duration", +"type": "string" +}, +"unit": { +"$ref": "LocalizedString", +"description": "The unit of the metric. This is an unstructured field and will be mapped as is to the user." +}, +"value": { +"description": "The value of the metric.", +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"KeyRangeInfos": { +"description": "A message representing a list of specific information for multiple key ranges.", +"id": "KeyRangeInfos", +"properties": { +"infos": { +"description": "The list individual KeyRangeInfos.", +"items": { +"$ref": "KeyRangeInfo" +}, +"type": "array" +}, +"totalSize": { +"description": "The total size of the list of all KeyRangeInfos. This may be larger than the number of repeated messages above. If that is the case, this number may be used to determine how many are not being shown.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"KeySet": { +"description": "`KeySet` defines a collection of Cloud Spanner keys and/or key ranges. All the keys are expected to be in the same table or index. The keys need not be sorted in any particular way. If the same key is specified multiple times in the set (for example if two ranges, two keys, or a key and a range overlap), Cloud Spanner behaves as if the key were only specified once.", +"id": "KeySet", +"properties": { +"all": { +"description": "For convenience `all` can be set to `true` to indicate that this `KeySet` matches all keys in the table or index. Note that any keys specified in `keys` or `ranges` are only yielded once.", +"type": "boolean" +}, +"keys": { +"description": "A list of specific keys. Entries in `keys` should have exactly as many elements as there are columns in the primary or index key with which this `KeySet` is used. Individual key values are encoded as described here.", +"items": { +"items": { +"type": "any" +}, +"type": "array" +}, +"type": "array" +}, +"ranges": { +"description": "A list of key ranges. See KeyRange for more information about key range specifications.", +"items": { +"$ref": "KeyRange" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListBackupOperationsResponse": { +"description": "The response for ListBackupOperations.", +"id": "ListBackupOperationsResponse", +"properties": { +"nextPageToken": { +"description": "`next_page_token` can be sent in a subsequent ListBackupOperations call to fetch more of the matching metadata.", +"type": "string" +}, +"operations": { +"description": "The list of matching backup long-running operations. Each operation's name will be prefixed by the backup's name. The operation's metadata field type `metadata.type_url` describes the type of the metadata. Operations returned include those that are pending or have completed/failed/canceled within the last 7 days. Operations returned are ordered by `operation.metadata.value.progress.start_time` in descending order starting from the most recently started operation.", +"items": { +"$ref": "Operation" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListBackupSchedulesResponse": { +"description": "The response for ListBackupSchedules.", +"id": "ListBackupSchedulesResponse", +"properties": { +"backupSchedules": { +"description": "The list of backup schedules for a database.", +"items": { +"$ref": "BackupSchedule" +}, +"type": "array" +}, +"nextPageToken": { +"description": "`next_page_token` can be sent in a subsequent ListBackupSchedules call to fetch more of the schedules.", +"type": "string" +} +}, +"type": "object" +}, +"ListBackupsResponse": { +"description": "The response for ListBackups.", +"id": "ListBackupsResponse", +"properties": { +"backups": { +"description": "The list of matching backups. Backups returned are ordered by `create_time` in descending order, starting from the most recent `create_time`.", +"items": { +"$ref": "Backup" +}, +"type": "array" +}, +"nextPageToken": { +"description": "`next_page_token` can be sent in a subsequent ListBackups call to fetch more of the matching backups.", +"type": "string" +} +}, +"type": "object" +}, +"ListDatabaseOperationsResponse": { +"description": "The response for ListDatabaseOperations.", +"id": "ListDatabaseOperationsResponse", +"properties": { +"nextPageToken": { +"description": "`next_page_token` can be sent in a subsequent ListDatabaseOperations call to fetch more of the matching metadata.", +"type": "string" +}, +"operations": { +"description": "The list of matching database long-running operations. Each operation's name will be prefixed by the database's name. The operation's metadata field type `metadata.type_url` describes the type of the metadata.", +"items": { +"$ref": "Operation" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListDatabaseRolesResponse": { +"description": "The response for ListDatabaseRoles.", +"id": "ListDatabaseRolesResponse", +"properties": { +"databaseRoles": { +"description": "Database roles that matched the request.", +"items": { +"$ref": "DatabaseRole" +}, +"type": "array" +}, +"nextPageToken": { +"description": "`next_page_token` can be sent in a subsequent ListDatabaseRoles call to fetch more of the matching roles.", +"type": "string" +} +}, +"type": "object" +}, +"ListDatabasesResponse": { +"description": "The response for ListDatabases.", +"id": "ListDatabasesResponse", +"properties": { +"databases": { +"description": "Databases that matched the request.", +"items": { +"$ref": "Database" +}, +"type": "array" +}, +"nextPageToken": { +"description": "`next_page_token` can be sent in a subsequent ListDatabases call to fetch more of the matching databases.", +"type": "string" +} +}, +"type": "object" +}, +"ListInstanceConfigOperationsResponse": { +"description": "The response for ListInstanceConfigOperations.", +"id": "ListInstanceConfigOperationsResponse", +"properties": { +"nextPageToken": { +"description": "`next_page_token` can be sent in a subsequent ListInstanceConfigOperations call to fetch more of the matching metadata.", +"type": "string" +}, +"operations": { +"description": "The list of matching instance configuration long-running operations. Each operation's name will be prefixed by the name of the instance configuration. The operation's metadata field type `metadata.type_url` describes the type of the metadata.", +"items": { +"$ref": "Operation" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListInstanceConfigsResponse": { +"description": "The response for ListInstanceConfigs.", +"id": "ListInstanceConfigsResponse", +"properties": { +"instanceConfigs": { +"description": "The list of requested instance configurations.", +"items": { +"$ref": "InstanceConfig" +}, +"type": "array" +}, +"nextPageToken": { +"description": "`next_page_token` can be sent in a subsequent ListInstanceConfigs call to fetch more of the matching instance configurations.", +"type": "string" +} +}, +"type": "object" +}, +"ListInstancePartitionOperationsResponse": { +"description": "The response for ListInstancePartitionOperations.", +"id": "ListInstancePartitionOperationsResponse", +"properties": { +"nextPageToken": { +"description": "`next_page_token` can be sent in a subsequent ListInstancePartitionOperations call to fetch more of the matching metadata.", +"type": "string" +}, +"operations": { +"description": "The list of matching instance partition long-running operations. Each operation's name will be prefixed by the instance partition's name. The operation's metadata field type `metadata.type_url` describes the type of the metadata.", +"items": { +"$ref": "Operation" +}, +"type": "array" +}, +"unreachableInstancePartitions": { +"description": "The list of unreachable instance partitions. It includes the names of instance partitions whose operation metadata could not be retrieved within instance_partition_deadline.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListInstancePartitionsResponse": { +"description": "The response for ListInstancePartitions.", +"id": "ListInstancePartitionsResponse", +"properties": { +"instancePartitions": { +"description": "The list of requested instancePartitions.", +"items": { +"$ref": "InstancePartition" +}, +"type": "array" +}, +"nextPageToken": { +"description": "`next_page_token` can be sent in a subsequent ListInstancePartitions call to fetch more of the matching instance partitions.", +"type": "string" +}, +"unreachable": { +"description": "The list of unreachable instances or instance partitions. It includes the names of instances or instance partitions whose metadata could not be retrieved within instance_partition_deadline.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListInstancesResponse": { +"description": "The response for ListInstances.", +"id": "ListInstancesResponse", +"properties": { +"instances": { +"description": "The list of requested instances.", +"items": { +"$ref": "Instance" +}, +"type": "array" +}, +"nextPageToken": { +"description": "`next_page_token` can be sent in a subsequent ListInstances call to fetch more of the matching instances.", +"type": "string" +}, +"unreachable": { +"description": "The list of unreachable instances. It includes the names of instances whose metadata could not be retrieved within instance_deadline.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListOperationsResponse": { +"description": "The response message for Operations.ListOperations.", +"id": "ListOperationsResponse", +"properties": { +"nextPageToken": { +"description": "The standard List next-page token.", +"type": "string" +}, +"operations": { +"description": "A list of operations that matches the specified filter in the request.", +"items": { +"$ref": "Operation" +}, +"type": "array" +}, +"unreachable": { +"description": "Unordered list. Unreachable resources. Populated when the request sets `ListOperationsRequest.return_partial_success` and reads across collections. For example, when attempting to list all resources across all supported locations.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListScansResponse": { +"description": "Response method from the ListScans method.", +"id": "ListScansResponse", +"properties": { +"nextPageToken": { +"description": "Token to retrieve the next page of results, or empty if there are no more results in the list.", +"type": "string" +}, +"scans": { +"description": "Available scans based on the list query parameters.", +"items": { +"$ref": "Scan" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListSessionsResponse": { +"description": "The response for ListSessions.", +"id": "ListSessionsResponse", +"properties": { +"nextPageToken": { +"description": "`next_page_token` can be sent in a subsequent ListSessions call to fetch more of the matching sessions.", +"type": "string" +}, +"sessions": { +"description": "The list of requested sessions.", +"items": { +"$ref": "Session" +}, +"type": "array" +} +}, +"type": "object" +}, +"LocalizedString": { +"description": "A message representing a user-facing string whose value may need to be translated before being displayed.", +"id": "LocalizedString", +"properties": { +"args": { +"additionalProperties": { +"type": "string" +}, +"description": "A map of arguments used when creating the localized message. Keys represent parameter names which may be used by the localized version when substituting dynamic values.", +"type": "object" +}, +"message": { +"description": "The canonical English version of this message. If no token is provided or the front-end has no message associated with the token, this text will be displayed as-is.", +"type": "string" +}, +"token": { +"description": "The token identifying the message, e.g. 'METRIC_READ_CPU'. This should be unique within the service.", +"type": "string" +} +}, +"type": "object" +}, +"Metric": { +"description": "A message representing the actual monitoring data, values for each key bucket over time, of a metric.", +"id": "Metric", +"properties": { +"aggregation": { +"description": "The aggregation function used to aggregate each key bucket", +"enum": [ +"AGGREGATION_UNSPECIFIED", +"MAX", +"SUM" +], +"enumDescriptions": [ +"Required default value.", +"Use the maximum of all values.", +"Use the sum of all values." +], +"type": "string" +}, +"category": { +"$ref": "LocalizedString", +"description": "The category of the metric, e.g. \"Activity\", \"Alerts\", \"Reads\", etc." +}, +"derived": { +"$ref": "DerivedMetric", +"description": "The references to numerator and denominator metrics for a derived metric." +}, +"displayLabel": { +"$ref": "LocalizedString", +"description": "The displayed label of the metric." +}, +"hasNonzeroData": { +"description": "Whether the metric has any non-zero data.", +"type": "boolean" +}, +"hotValue": { +"description": "The value that is considered hot for the metric. On a per metric basis hotness signals high utilization and something that might potentially be a cause for concern by the end user. hot_value is used to calibrate and scale visual color scales.", +"format": "float", +"type": "number" +}, +"indexedHotKeys": { +"additionalProperties": { +"$ref": "IndexedHotKey" +}, +"description": "The (sparse) mapping from time index to an IndexedHotKey message, representing those time intervals for which there are hot keys.", +"type": "object" +}, +"indexedKeyRangeInfos": { +"additionalProperties": { +"$ref": "IndexedKeyRangeInfos" +}, +"description": "The (sparse) mapping from time interval index to an IndexedKeyRangeInfos message, representing those time intervals for which there are informational messages concerning key ranges.", +"type": "object" +}, +"info": { +"$ref": "LocalizedString", +"description": "Information about the metric." +}, +"matrix": { +"$ref": "MetricMatrix", +"description": "The data for the metric as a matrix." +}, +"unit": { +"$ref": "LocalizedString", +"description": "The unit of the metric." +}, +"visible": { +"description": "Whether the metric is visible to the end user.", +"type": "boolean" +} +}, +"type": "object" +}, +"MetricMatrix": { +"description": "A message representing a matrix of floats.", +"id": "MetricMatrix", +"properties": { +"rows": { +"description": "The rows of the matrix.", +"items": { +"$ref": "MetricMatrixRow" +}, +"type": "array" +} +}, +"type": "object" +}, +"MetricMatrixRow": { +"description": "A message representing a row of a matrix of floats.", +"id": "MetricMatrixRow", +"properties": { +"cols": { +"description": "The columns of the row.", +"items": { +"format": "float", +"type": "number" +}, +"type": "array" +} +}, +"type": "object" +}, +"Mod": { +"description": "A mod describes all data changes in a watched table row.", +"id": "Mod", +"properties": { +"keys": { +"description": "Returns the value of the primary key of the modified row.", +"items": { +"$ref": "ModValue" +}, +"type": "array" +}, +"newValues": { +"description": "Returns the new values after the change for the modified columns. Always empty for DELETE.", +"items": { +"$ref": "ModValue" +}, +"type": "array" +}, +"oldValues": { +"description": "Returns the old values before the change for the modified columns. Always empty for INSERT, or if old values are not being captured specified by value_capture_type.", +"items": { +"$ref": "ModValue" +}, +"type": "array" +} +}, +"type": "object" +}, +"ModValue": { +"description": "Returns the value and associated metadata for a particular field of the Mod.", +"id": "ModValue", +"properties": { +"columnMetadataIndex": { +"description": "Index within the repeated column_metadata field, to obtain the column metadata for the column that was modified.", +"format": "int32", +"type": "integer" +}, +"value": { +"description": "The value of the column.", +"type": "any" +} +}, +"type": "object" +}, +"MoveInEvent": { +"description": "Describes move-in of the key ranges into the change stream partition identified by partition_token. To maintain processing the changes for a particular key in timestamp order, the query processing the change stream partition identified by partition_token should not advance beyond the partition event record commit timestamp until the queries processing the source change stream partitions have processed all change stream records with timestamps <= the partition event record commit timestamp.", +"id": "MoveInEvent", +"properties": { +"sourcePartitionToken": { +"description": "An unique partition identifier describing the source change stream partition that recorded changes for the key range that is moving into this partition.", +"type": "string" +} +}, +"type": "object" +}, +"MoveInstanceRequest": { +"description": "The request for MoveInstance.", +"id": "MoveInstanceRequest", +"properties": { +"targetConfig": { +"description": "Required. The target instance configuration where to move the instance. Values are of the form `projects//instanceConfigs/`.", +"type": "string" +}, +"targetDatabaseMoveConfigs": { +"description": "Optional. The configuration for each database in the target instance configuration.", +"items": { +"$ref": "DatabaseMoveConfig" +}, +"type": "array" +} +}, +"type": "object" +}, +"MoveOutEvent": { +"description": "Describes move-out of the key ranges out of the change stream partition identified by partition_token. To maintain processing the changes for a particular key in timestamp order, the query processing the MoveOutEvent in the partition identified by partition_token should inform the queries processing the destination partitions that they can unblock and proceed processing records past the commit_timestamp.", +"id": "MoveOutEvent", +"properties": { +"destinationPartitionToken": { +"description": "An unique partition identifier describing the destination change stream partition that will record changes for the key range that is moving out of this partition.", +"type": "string" +} +}, +"type": "object" +}, +"MultiplexedSessionPrecommitToken": { +"description": "When a read-write transaction is executed on a multiplexed session, this precommit token is sent back to the client as a part of the Transaction message in the BeginTransaction response and also as a part of the ResultSet and PartialResultSet responses.", +"id": "MultiplexedSessionPrecommitToken", +"properties": { +"precommitToken": { +"description": "Opaque precommit token.", +"format": "byte", +"type": "string" +}, +"seqNum": { +"description": "An incrementing seq number is generated on every precommit token that is returned. Clients should remember the precommit token with the highest sequence number from the current transaction attempt.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"Mutation": { +"description": "A modification to one or more Cloud Spanner rows. Mutations can be applied to a Cloud Spanner database by sending them in a Commit call.", +"id": "Mutation", +"properties": { +"ack": { +"$ref": "Ack", +"description": "Ack a message from a queue." +}, +"delete": { +"$ref": "Delete", +"description": "Delete rows from a table. Succeeds whether or not the named rows were present." +}, +"insert": { +"$ref": "Write", +"description": "Insert new rows in a table. If any of the rows already exist, the write or transaction fails with error `ALREADY_EXISTS`." +}, +"insertOrUpdate": { +"$ref": "Write", +"description": "Like insert, except that if the row already exists, then its column values are overwritten with the ones provided. Any column values not explicitly written are preserved. When using insert_or_update, just as when using insert, all `NOT NULL` columns in the table must be given a value. This holds true even when the row already exists and will therefore actually be updated." +}, +"replace": { +"$ref": "Write", +"description": "Like insert, except that if the row already exists, it is deleted, and the column values provided are inserted instead. Unlike insert_or_update, this means any values not explicitly written become `NULL`. In an interleaved table, if you create the child table with the `ON DELETE CASCADE` annotation, then replacing a parent row also deletes the child rows. Otherwise, you must delete the child rows before you replace the parent row." +}, +"send": { +"$ref": "Send", +"description": "Send a message to a queue." +}, +"update": { +"$ref": "Write", +"description": "Update existing rows in a table. If any of the rows does not already exist, the transaction fails with error `NOT_FOUND`." +} +}, +"type": "object" +}, +"MutationGroup": { +"description": "A group of mutations to be committed together. Related mutations should be placed in a group. For example, two mutations inserting rows with the same primary key prefix in both parent and child tables are related.", +"id": "MutationGroup", +"properties": { +"mutations": { +"description": "Required. The mutations in this group.", +"items": { +"$ref": "Mutation" +}, +"type": "array" +} +}, +"type": "object" +}, +"Operation": { +"description": "This resource represents a long-running operation that is the result of a network API call.", +"id": "Operation", +"properties": { +"done": { +"description": "If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.", +"type": "boolean" +}, +"error": { +"$ref": "Status", +"description": "The error result of the operation in case of failure or cancellation." +}, +"metadata": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.", +"type": "object" +}, +"name": { +"description": "The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.", +"type": "string" +}, +"response": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "The normal, successful response of the operation. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.", +"type": "object" +} +}, +"type": "object" +}, +"OperationProgress": { +"description": "Encapsulates progress related information for a Cloud Spanner long running operation.", +"id": "OperationProgress", +"properties": { +"endTime": { +"description": "If set, the time at which this operation failed or was completed successfully.", +"format": "google-datetime", +"type": "string" +}, +"progressPercent": { +"description": "Percent completion of the operation. Values are between 0 and 100 inclusive.", +"format": "int32", +"type": "integer" +}, +"startTime": { +"description": "Time the request was received.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"OptimizeRestoredDatabaseMetadata": { +"description": "Metadata type for the long-running operation used to track the progress of optimizations performed on a newly restored database. This long-running operation is automatically created by the system after the successful completion of a database restore, and cannot be cancelled.", +"id": "OptimizeRestoredDatabaseMetadata", +"properties": { +"name": { +"description": "Name of the restored database being optimized.", +"type": "string" +}, +"progress": { +"$ref": "OperationProgress", +"description": "The progress of the post-restore optimizations." +} +}, +"type": "object" +}, +"PartialResultSet": { +"description": "Partial results from a streaming read or SQL query. Streaming reads and SQL queries better tolerate large result sets, large rows, and large values, but are a little trickier to consume.", +"id": "PartialResultSet", +"properties": { +"chunkedValue": { +"description": "If true, then the final value in values is chunked, and must be combined with more values from subsequent `PartialResultSet`s to obtain a complete field value.", +"type": "boolean" +}, +"last": { +"description": "Optional. Indicates whether this is the last `PartialResultSet` in the stream. The server might optionally set this field. Clients shouldn't rely on this field being set in all cases.", +"type": "boolean" +}, +"metadata": { +"$ref": "ResultSetMetadata", +"description": "Metadata about the result set, such as row type information. Only present in the first response." +}, +"precommitToken": { +"$ref": "MultiplexedSessionPrecommitToken", +"description": "Optional. A precommit token is included if the read-write transaction has multiplexed sessions enabled. Pass the precommit token with the highest sequence number from this transaction attempt to the Commit request for this transaction." +}, +"resumeToken": { +"description": "Streaming calls might be interrupted for a variety of reasons, such as TCP connection loss. If this occurs, the stream of results can be resumed by re-sending the original request and including `resume_token`. Note that executing any other transaction in the same session invalidates the token.", +"format": "byte", +"type": "string" +}, +"stats": { +"$ref": "ResultSetStats", +"description": "Query plan and execution statistics for the statement that produced this streaming result set. These can be requested by setting ExecuteSqlRequest.query_mode and are sent only once with the last response in the stream. This field is also present in the last response for DML statements." +}, +"values": { +"description": "A streamed result set consists of a stream of values, which might be split into many `PartialResultSet` messages to accommodate large rows and/or large values. Every N complete values defines a row, where N is equal to the number of entries in metadata.row_type.fields. Most values are encoded based on type as described here. It's possible that the last value in values is \"chunked\", meaning that the rest of the value is sent in subsequent `PartialResultSet`(s). This is denoted by the chunked_value field. Two or more chunked values can be merged to form a complete value as follows: * `bool/number/null`: can't be chunked * `string`: concatenate the strings * `list`: concatenate the lists. If the last element in a list is a `string`, `list`, or `object`, merge it with the first element in the next list by applying these rules recursively. * `object`: concatenate the (field name, field value) pairs. If a field name is duplicated, then apply these rules recursively to merge the field values. Some examples of merging: Strings are concatenated. \"foo\", \"bar\" => \"foobar\" Lists of non-strings are concatenated. [2, 3], [4] => [2, 3, 4] Lists are concatenated, but the last and first elements are merged because they are strings. [\"a\", \"b\"], [\"c\", \"d\"] => [\"a\", \"bc\", \"d\"] Lists are concatenated, but the last and first elements are merged because they are lists. Recursively, the last and first elements of the inner lists are merged because they are strings. [\"a\", [\"b\", \"c\"]], [[\"d\"], \"e\"] => [\"a\", [\"b\", \"cd\"], \"e\"] Non-overlapping object fields are combined. {\"a\": \"1\"}, {\"b\": \"2\"} => {\"a\": \"1\", \"b\": 2\"} Overlapping object fields are merged. {\"a\": \"1\"}, {\"a\": \"2\"} => {\"a\": \"12\"} Examples of merging objects containing lists of strings. {\"a\": [\"1\"]}, {\"a\": [\"2\"]} => {\"a\": [\"12\"]} For a more complete example, suppose a streaming SQL query is yielding a result set whose rows contain a single string field. The following `PartialResultSet`s might be yielded: { \"metadata\": { ... } \"values\": [\"Hello\", \"W\"] \"chunked_value\": true \"resume_token\": \"Af65...\" } { \"values\": [\"orl\"] \"chunked_value\": true } { \"values\": [\"d\"] \"resume_token\": \"Zx1B...\" } This sequence of `PartialResultSet`s encodes two rows, one containing the field value `\"Hello\"`, and a second containing the field value `\"World\" = \"W\" + \"orl\" + \"d\"`. Not all `PartialResultSet`s contain a `resume_token`. Execution can only be resumed from a previously yielded `resume_token`. For the above sequence of `PartialResultSet`s, resuming the query with `\"resume_token\": \"Af65...\"` yields results from the `PartialResultSet` with value \"orl\".", +"items": { +"type": "any" +}, +"type": "array" +} +}, +"type": "object" +}, +"Partition": { +"description": "Information returned for each partition returned in a PartitionResponse.", +"id": "Partition", +"properties": { +"partitionToken": { +"description": "This token can be passed to `Read`, `StreamingRead`, `ExecuteSql`, or `ExecuteStreamingSql` requests to restrict the results to those identified by this partition token.", +"format": "byte", +"type": "string" +} +}, +"type": "object" +}, +"PartitionEndRecord": { +"description": "A partition end record serves as a notification that the client should stop reading the partition. No further records are expected to be retrieved on it.", +"id": "PartitionEndRecord", +"properties": { +"endTimestamp": { +"description": "End timestamp at which the change stream partition is terminated. All changes generated by this partition will have timestamps <= end_timestamp. DataChangeRecord.commit_timestamps, PartitionStartRecord.start_timestamps, PartitionEventRecord.commit_timestamps, and PartitionEndRecord.end_timestamps can have the same value in the same partition. PartitionEndRecord is the last record returned for a partition.", +"format": "google-datetime", +"type": "string" +}, +"partitionToken": { +"description": "Unique partition identifier describing the terminated change stream partition. partition_token is equal to the partition token of the change stream partition currently queried to return this PartitionEndRecord.", +"type": "string" +}, +"recordSequence": { +"description": "Record sequence numbers are unique and monotonically increasing (but not necessarily contiguous) for a specific timestamp across record types in the same partition. To guarantee ordered processing, the reader should process records (of potentially different types) in record_sequence order for a specific timestamp in the same partition.", +"type": "string" +} +}, +"type": "object" +}, +"PartitionEventRecord": { +"description": "A partition event record describes key range changes for a change stream partition. The changes to a row defined by its primary key can be captured in one change stream partition for a specific time range, and then be captured in a different change stream partition for a different time range. This movement of key ranges across change stream partitions is a reflection of activities, such as Spanner's dynamic splitting and load balancing, etc. Processing this event is needed if users want to guarantee processing of the changes for any key in timestamp order. If time ordered processing of changes for a primary key is not needed, this event can be ignored. To guarantee time ordered processing for each primary key, if the event describes move-ins, the reader of this partition needs to wait until the readers of the source partitions have processed all records with timestamps <= this PartitionEventRecord.commit_timestamp, before advancing beyond this PartitionEventRecord. If the event describes move-outs, the reader can notify the readers of the destination partitions that they can continue processing.", +"id": "PartitionEventRecord", +"properties": { +"commitTimestamp": { +"description": "Indicates the commit timestamp at which the key range change occurred. DataChangeRecord.commit_timestamps, PartitionStartRecord.start_timestamps, PartitionEventRecord.commit_timestamps, and PartitionEndRecord.end_timestamps can have the same value in the same partition.", +"format": "google-datetime", +"type": "string" +}, +"moveInEvents": { +"description": "Set when one or more key ranges are moved into the change stream partition identified by partition_token. Example: Two key ranges are moved into partition (P1) from partition (P2) and partition (P3) in a single transaction at timestamp T. The PartitionEventRecord returned in P1 will reflect the move as: PartitionEventRecord { commit_timestamp: T partition_token: \"P1\" move_in_events { source_partition_token: \"P2\" } move_in_events { source_partition_token: \"P3\" } } The PartitionEventRecord returned in P2 will reflect the move as: PartitionEventRecord { commit_timestamp: T partition_token: \"P2\" move_out_events { destination_partition_token: \"P1\" } } The PartitionEventRecord returned in P3 will reflect the move as: PartitionEventRecord { commit_timestamp: T partition_token: \"P3\" move_out_events { destination_partition_token: \"P1\" } }", +"items": { +"$ref": "MoveInEvent" +}, +"type": "array" +}, +"moveOutEvents": { +"description": "Set when one or more key ranges are moved out of the change stream partition identified by partition_token. Example: Two key ranges are moved out of partition (P1) to partition (P2) and partition (P3) in a single transaction at timestamp T. The PartitionEventRecord returned in P1 will reflect the move as: PartitionEventRecord { commit_timestamp: T partition_token: \"P1\" move_out_events { destination_partition_token: \"P2\" } move_out_events { destination_partition_token: \"P3\" } } The PartitionEventRecord returned in P2 will reflect the move as: PartitionEventRecord { commit_timestamp: T partition_token: \"P2\" move_in_events { source_partition_token: \"P1\" } } The PartitionEventRecord returned in P3 will reflect the move as: PartitionEventRecord { commit_timestamp: T partition_token: \"P3\" move_in_events { source_partition_token: \"P1\" } }", +"items": { +"$ref": "MoveOutEvent" +}, +"type": "array" +}, +"partitionToken": { +"description": "Unique partition identifier describing the partition this event occurred on. partition_token is equal to the partition token of the change stream partition currently queried to return this PartitionEventRecord.", +"type": "string" +}, +"recordSequence": { +"description": "Record sequence numbers are unique and monotonically increasing (but not necessarily contiguous) for a specific timestamp across record types in the same partition. To guarantee ordered processing, the reader should process records (of potentially different types) in record_sequence order for a specific timestamp in the same partition.", +"type": "string" +} +}, +"type": "object" +}, +"PartitionOptions": { +"description": "Options for a `PartitionQueryRequest` and `PartitionReadRequest`.", +"id": "PartitionOptions", +"properties": { +"maxPartitions": { +"description": "**Note:** This hint is currently ignored by `PartitionQuery` and `PartitionRead` requests. The desired maximum number of partitions to return. For example, this might be set to the number of workers available. The default for this option is currently 10,000. The maximum value is currently 200,000. This is only a hint. The actual number of partitions returned can be smaller or larger than this maximum count request.", +"format": "int64", +"type": "string" +}, +"partitionSizeBytes": { +"description": "**Note:** This hint is currently ignored by `PartitionQuery` and `PartitionRead` requests. The desired data size for each partition generated. The default for this option is currently 1 GiB. This is only a hint. The actual size of each partition can be smaller or larger than this size request.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"PartitionQueryRequest": { +"description": "The request for PartitionQuery", +"id": "PartitionQueryRequest", +"properties": { +"paramTypes": { +"additionalProperties": { +"$ref": "Type" +}, +"description": "Optional. It isn't always possible for Cloud Spanner to infer the right SQL type from a JSON value. For example, values of type `BYTES` and values of type `STRING` both appear in params as JSON strings. In these cases, `param_types` can be used to specify the exact SQL type for some or all of the SQL query parameters. See the definition of Type for more information about SQL types.", +"type": "object" +}, +"params": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"description": "Optional. Parameter names and values that bind to placeholders in the SQL string. A parameter placeholder consists of the `@` character followed by the parameter name (for example, `@firstName`). Parameter names can contain letters, numbers, and underscores. Parameters can appear anywhere that a literal value is expected. The same parameter name can be used more than once, for example: `\"WHERE id > @msg_id AND id < @msg_id + 100\"` It's an error to execute a SQL statement with unbound parameters.", +"type": "object" +}, +"partitionOptions": { +"$ref": "PartitionOptions", +"description": "Additional options that affect how many partitions are created." +}, +"sql": { +"description": "Required. The query request to generate partitions for. The request fails if the query isn't root partitionable. For a query to be root partitionable, it needs to satisfy a few conditions. For example, if the query execution plan contains a distributed union operator, then it must be the first operator in the plan. For more information about other conditions, see [Read data in parallel](https://cloud.google.com/spanner/docs/reads#read_data_in_parallel). The query request must not contain DML commands, such as `INSERT`, `UPDATE`, or `DELETE`. Use `ExecuteStreamingSql` with a `PartitionedDml` transaction for large, partition-friendly DML operations.", +"type": "string" +}, +"transaction": { +"$ref": "TransactionSelector", +"description": "Read-only snapshot transactions are supported, read and write and single-use transactions are not." +} +}, +"type": "object" +}, +"PartitionReadRequest": { +"description": "The request for PartitionRead", +"id": "PartitionReadRequest", +"properties": { +"columns": { +"description": "The columns of table to be returned for each row matching this request.", +"items": { +"type": "string" +}, +"type": "array" +}, +"index": { +"description": "If non-empty, the name of an index on table. This index is used instead of the table primary key when interpreting key_set and sorting result rows. See key_set for further information.", +"type": "string" +}, +"keySet": { +"$ref": "KeySet", +"description": "Required. `key_set` identifies the rows to be yielded. `key_set` names the primary keys of the rows in table to be yielded, unless index is present. If index is present, then key_set instead names index keys in index. It isn't an error for the `key_set` to name rows that don't exist in the database. Read yields nothing for nonexistent rows." +}, +"partitionOptions": { +"$ref": "PartitionOptions", +"description": "Additional options that affect how many partitions are created." +}, +"table": { +"description": "Required. The name of the table in the database to be read.", +"type": "string" +}, +"transaction": { +"$ref": "TransactionSelector", +"description": "Read only snapshot transactions are supported, read/write and single use transactions are not." +} +}, +"type": "object" +}, +"PartitionResponse": { +"description": "The response for PartitionQuery or PartitionRead", +"id": "PartitionResponse", +"properties": { +"partitions": { +"description": "Partitions created by this request.", +"items": { +"$ref": "Partition" +}, +"type": "array" +}, +"transaction": { +"$ref": "Transaction", +"description": "Transaction created by this request." +} +}, +"type": "object" +}, +"PartitionStartRecord": { +"description": "A partition start record serves as a notification that the client should schedule the partitions to be queried. PartitionStartRecord returns information about one or more partitions.", +"id": "PartitionStartRecord", +"properties": { +"partitionTokens": { +"description": "Unique partition identifiers to be used in queries.", +"items": { +"type": "string" +}, +"type": "array" +}, +"recordSequence": { +"description": "Record sequence numbers are unique and monotonically increasing (but not necessarily contiguous) for a specific timestamp across record types in the same partition. To guarantee ordered processing, the reader should process records (of potentially different types) in record_sequence order for a specific timestamp in the same partition.", +"type": "string" +}, +"startTimestamp": { +"description": "Start timestamp at which the partitions should be queried to return change stream records with timestamps >= start_timestamp. DataChangeRecord.commit_timestamps, PartitionStartRecord.start_timestamps, PartitionEventRecord.commit_timestamps, and PartitionEndRecord.end_timestamps can have the same value in the same partition.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"PartitionedDml": { +"description": "Message type to initiate a Partitioned DML transaction.", +"id": "PartitionedDml", +"properties": {}, +"type": "object" +}, +"PlanNode": { +"description": "Node information for nodes appearing in a QueryPlan.plan_nodes.", +"id": "PlanNode", +"properties": { +"childLinks": { +"description": "List of child node `index`es and their relationship to this parent.", +"items": { +"$ref": "ChildLink" +}, +"type": "array" +}, +"displayName": { +"description": "The display name for the node.", +"type": "string" +}, +"executionStats": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"description": "The execution statistics associated with the node, contained in a group of key-value pairs. Only present if the plan was returned as a result of a profile query. For example, number of executions, number of rows/time per execution etc.", +"type": "object" +}, +"index": { +"description": "The `PlanNode`'s index in node list.", +"format": "int32", +"type": "integer" +}, +"kind": { +"description": "Used to determine the type of node. May be needed for visualizing different kinds of nodes differently. For example, If the node is a SCALAR node, it will have a condensed representation which can be used to directly embed a description of the node in its parent.", +"enum": [ +"KIND_UNSPECIFIED", +"RELATIONAL", +"SCALAR" +], +"enumDescriptions": [ +"Not specified.", +"Denotes a Relational operator node in the expression tree. Relational operators represent iterative processing of rows during query execution. For example, a `TableScan` operation that reads rows from a table.", +"Denotes a Scalar node in the expression tree. Scalar nodes represent non-iterable entities in the query plan. For example, constants or arithmetic operators appearing inside predicate expressions or references to column names." +], +"type": "string" +}, +"metadata": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"description": "Attributes relevant to the node contained in a group of key-value pairs. For example, a Parameter Reference node could have the following information in its metadata: { \"parameter_reference\": \"param1\", \"parameter_type\": \"array\" }", +"type": "object" +}, +"shortRepresentation": { +"$ref": "ShortRepresentation", +"description": "Condensed representation for SCALAR nodes." +} +}, +"type": "object" +}, +"Policy": { +"description": "An Identity and Access Management (IAM) policy, which specifies access controls for Google Cloud resources. A `Policy` is a collection of `bindings`. A `binding` binds one or more `members`, or principals, to a single `role`. Principals can be user accounts, service accounts, Google groups, and domains (such as G Suite). A `role` is a named list of permissions; each `role` can be an IAM predefined role or a user-created custom role. For some types of Google Cloud resources, a `binding` can also specify a `condition`, which is a logical expression that allows access to a resource only if the expression evaluates to `true`. A condition can add constraints based on attributes of the request, the resource, or both. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). **JSON example:** ``` { \"bindings\": [ { \"role\": \"roles/resourcemanager.organizationAdmin\", \"members\": [ \"user:mike@example.com\", \"group:admins@example.com\", \"domain:google.com\", \"serviceAccount:my-project-id@appspot.gserviceaccount.com\" ] }, { \"role\": \"roles/resourcemanager.organizationViewer\", \"members\": [ \"user:eve@example.com\" ], \"condition\": { \"title\": \"expirable access\", \"description\": \"Does not grant access after Sep 2020\", \"expression\": \"request.time < timestamp('2020-10-01T00:00:00.000Z')\", } } ], \"etag\": \"BwWWja0YfJA=\", \"version\": 3 } ``` **YAML example:** ``` bindings: - members: - user:mike@example.com - group:admins@example.com - domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.com role: roles/resourcemanager.organizationViewer condition: title: expirable access description: Does not grant access after Sep 2020 expression: request.time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 ``` For a description of IAM and its features, see the [IAM documentation](https://cloud.google.com/iam/docs/).", +"id": "Policy", +"properties": { +"bindings": { +"description": "Associates a list of `members`, or principals, with a `role`. Optionally, may specify a `condition` that determines how and when the `bindings` are applied. Each of the `bindings` must contain at least one principal. The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250 of these principals can be Google groups. Each occurrence of a principal counts towards these limits. For example, if the `bindings` grant 50 different roles to `user:alice@example.com`, and not to any other principal, then you can add another 1,450 principals to the `bindings` in the `Policy`.", +"items": { +"$ref": "Binding" +}, +"type": "array" +}, +"etag": { +"description": "`etag` is used for optimistic concurrency control as a way to help prevent simultaneous updates of a policy from overwriting each other. It is strongly suggested that systems make use of the `etag` in the read-modify-write cycle to perform policy updates in order to avoid race conditions: An `etag` is returned in the response to `getIamPolicy`, and systems are expected to put that etag in the request to `setIamPolicy` to ensure that their change will be applied to the same version of the policy. **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost.", +"format": "byte", +"type": "string" +}, +"version": { +"description": "Specifies the format of the policy. Valid values are `0`, `1`, and `3`. Requests that specify an invalid value are rejected. Any operation that affects conditional role bindings must specify version `3`. This requirement applies to the following operations: * Getting a policy that includes a conditional role binding * Adding a conditional role binding to a policy * Changing a conditional role binding in a policy * Removing any role binding, with or without a condition, from a policy that includes conditions **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost. If a policy does not include any conditions, operations on that policy may specify any valid version or leave the field unset. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"PrefixNode": { +"description": "A message representing a key prefix node in the key prefix hierarchy. for eg. Bigtable keyspaces are lexicographically ordered mappings of keys to values. Keys often have a shared prefix structure where users use the keys to organize data. Eg ///employee In this case Keysight will possibly use one node for a company and reuse it for all employees that fall under the company. Doing so improves legibility in the UI.", +"id": "PrefixNode", +"properties": { +"dataSourceNode": { +"description": "Whether this corresponds to a data_source name.", +"type": "boolean" +}, +"depth": { +"description": "The depth in the prefix hierarchy.", +"format": "int32", +"type": "integer" +}, +"endIndex": { +"description": "The index of the end key bucket of the range that this node spans.", +"format": "int32", +"type": "integer" +}, +"startIndex": { +"description": "The index of the start key bucket of the range that this node spans.", +"format": "int32", +"type": "integer" +}, +"word": { +"description": "The string represented by the prefix node.", +"type": "string" +} +}, +"type": "object" +}, +"QueryAdvisorResult": { +"description": "Output of query advisor analysis.", +"id": "QueryAdvisorResult", +"properties": { +"indexAdvice": { +"description": "Optional. Index Recommendation for a query. This is an optional field and the recommendation will only be available when the recommendation guarantees significant improvement in query performance.", +"items": { +"$ref": "IndexAdvice" +}, +"type": "array" +} +}, +"type": "object" +}, +"QueryOptions": { +"description": "Query optimizer configuration.", +"id": "QueryOptions", +"properties": { +"optimizerStatisticsPackage": { +"description": "An option to control the selection of optimizer statistics package. This parameter allows individual queries to use a different query optimizer statistics package. Specifying `latest` as a value instructs Cloud Spanner to use the latest generated statistics package. If not specified, Cloud Spanner uses the statistics package set at the database level options, or the latest package if the database option isn't set. The statistics package requested by the query has to be exempt from garbage collection. This can be achieved with the following DDL statement: ```sql ALTER STATISTICS SET OPTIONS (allow_gc=false) ``` The list of available statistics packages can be queried from `INFORMATION_SCHEMA.SPANNER_STATISTICS`. Executing a SQL statement with an invalid optimizer statistics package or with a statistics package that allows garbage collection fails with an `INVALID_ARGUMENT` error.", +"type": "string" +}, +"optimizerVersion": { +"description": "An option to control the selection of optimizer version. This parameter allows individual queries to pick different query optimizer versions. Specifying `latest` as a value instructs Cloud Spanner to use the latest supported query optimizer version. If not specified, Cloud Spanner uses the optimizer version set at the database level options. Any other positive integer (from the list of supported optimizer versions) overrides the default optimizer version for query execution. The list of supported optimizer versions can be queried from `SPANNER_SYS.SUPPORTED_OPTIMIZER_VERSIONS`. Executing a SQL statement with an invalid optimizer version fails with an `INVALID_ARGUMENT` error. See https://cloud.google.com/spanner/docs/query-optimizer/manage-query-optimizer for more information on managing the query optimizer. The `optimizer_version` statement hint has precedence over this setting.", +"type": "string" +} +}, +"type": "object" +}, +"QueryPlan": { +"description": "Contains an ordered list of nodes appearing in the query plan.", +"id": "QueryPlan", +"properties": { +"planNodes": { +"description": "The nodes in the query plan. Plan nodes are returned in pre-order starting with the plan root. Each PlanNode's `id` corresponds to its index in `plan_nodes`.", +"items": { +"$ref": "PlanNode" +}, +"type": "array" +}, +"queryAdvice": { +"$ref": "QueryAdvisorResult", +"description": "Optional. The advise/recommendations for a query. Currently this field will be serving index recommendations for a query." +} +}, +"type": "object" +}, +"QuorumInfo": { +"description": "Information about the dual-region quorum.", +"id": "QuorumInfo", +"properties": { +"etag": { +"description": "Output only. The etag is used for optimistic concurrency control as a way to help prevent simultaneous `ChangeQuorum` requests that might create a race condition.", +"readOnly": true, +"type": "string" +}, +"initiator": { +"description": "Output only. Whether this `ChangeQuorum` is Google or User initiated.", +"enum": [ +"INITIATOR_UNSPECIFIED", +"GOOGLE", +"USER" +], +"enumDescriptions": [ +"Unspecified.", +"`ChangeQuorum` initiated by Google.", +"`ChangeQuorum` initiated by User." +], +"readOnly": true, +"type": "string" +}, +"quorumType": { +"$ref": "QuorumType", +"description": "Output only. The type of this quorum. See QuorumType for more information about quorum type specifications.", +"readOnly": true +}, +"startTime": { +"description": "Output only. The timestamp when the request was triggered.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"QuorumType": { +"description": "Information about the database quorum type. This only applies to dual-region instance configs.", +"id": "QuorumType", +"properties": { +"dualRegion": { +"$ref": "DualRegionQuorum", +"description": "Dual-region quorum type." +}, +"singleRegion": { +"$ref": "SingleRegionQuorum", +"description": "Single-region quorum type." +} +}, +"type": "object" +}, +"ReadOnly": { +"description": "Message type to initiate a read-only transaction.", +"id": "ReadOnly", +"properties": { +"exactStaleness": { +"description": "Executes all reads at a timestamp that is `exact_staleness` old. The timestamp is chosen soon after the read is started. Guarantees that all writes that have committed more than the specified number of seconds ago are visible. Because Cloud Spanner chooses the exact timestamp, this mode works even if the client's local clock is substantially skewed from Cloud Spanner commit timestamps. Useful for reading at nearby replicas without the distributed timestamp negotiation overhead of `max_staleness`.", +"format": "google-duration", +"type": "string" +}, +"maxStaleness": { +"description": "Read data at a timestamp >= `NOW - max_staleness` seconds. Guarantees that all writes that have committed more than the specified number of seconds ago are visible. Because Cloud Spanner chooses the exact timestamp, this mode works even if the client's local clock is substantially skewed from Cloud Spanner commit timestamps. Useful for reading the freshest data available at a nearby replica, while bounding the possible staleness if the local replica has fallen behind. Note that this option can only be used in single-use transactions.", +"format": "google-duration", +"type": "string" +}, +"minReadTimestamp": { +"description": "Executes all reads at a timestamp >= `min_read_timestamp`. This is useful for requesting fresher data than some previous read, or data that is fresh enough to observe the effects of some previously committed transaction whose timestamp is known. Note that this option can only be used in single-use transactions. A timestamp in RFC3339 UTC \\\"Zulu\\\" format, accurate to nanoseconds. Example: `\"2014-10-02T15:01:23.045123456Z\"`.", +"format": "google-datetime", +"type": "string" +}, +"readTimestamp": { +"description": "Executes all reads at the given timestamp. Unlike other modes, reads at a specific timestamp are repeatable; the same read at the same timestamp always returns the same data. If the timestamp is in the future, the read is blocked until the specified timestamp, modulo the read's deadline. Useful for large scale consistent reads such as mapreduces, or for coordinating many reads against a consistent snapshot of the data. A timestamp in RFC3339 UTC \\\"Zulu\\\" format, accurate to nanoseconds. Example: `\"2014-10-02T15:01:23.045123456Z\"`.", +"format": "google-datetime", +"type": "string" +}, +"returnReadTimestamp": { +"description": "If true, the Cloud Spanner-selected read timestamp is included in the Transaction message that describes the transaction.", +"type": "boolean" +}, +"strong": { +"description": "Read at a timestamp where all previously committed transactions are visible.", +"type": "boolean" +} +}, +"type": "object" +}, +"ReadRequest": { +"description": "The request for Read and StreamingRead.", +"id": "ReadRequest", +"properties": { +"columns": { +"description": "Required. The columns of table to be returned for each row matching this request.", +"items": { +"type": "string" +}, +"type": "array" +}, +"dataBoostEnabled": { +"description": "If this is for a partitioned read and this field is set to `true`, the request is executed with Spanner Data Boost independent compute resources. If the field is set to `true` but the request doesn't set `partition_token`, the API returns an `INVALID_ARGUMENT` error.", +"type": "boolean" +}, +"directedReadOptions": { +"$ref": "DirectedReadOptions", +"description": "Directed read options for this request." +}, +"index": { +"description": "If non-empty, the name of an index on table. This index is used instead of the table primary key when interpreting key_set and sorting result rows. See key_set for further information.", +"type": "string" +}, +"keySet": { +"$ref": "KeySet", +"description": "Required. `key_set` identifies the rows to be yielded. `key_set` names the primary keys of the rows in table to be yielded, unless index is present. If index is present, then key_set instead names index keys in index. If the partition_token field is empty, rows are yielded in table primary key order (if index is empty) or index key order (if index is non-empty). If the partition_token field isn't empty, rows are yielded in an unspecified order. It isn't an error for the `key_set` to name rows that don't exist in the database. Read yields nothing for nonexistent rows." +}, +"limit": { +"description": "If greater than zero, only the first `limit` rows are yielded. If `limit` is zero, the default is no limit. A limit can't be specified if `partition_token` is set.", +"format": "int64", +"type": "string" +}, +"lockHint": { +"description": "Optional. Lock Hint for the request, it can only be used with read-write transactions.", +"enum": [ +"LOCK_HINT_UNSPECIFIED", +"LOCK_HINT_SHARED", +"LOCK_HINT_EXCLUSIVE" +], +"enumDescriptions": [ +"Default value. `LOCK_HINT_UNSPECIFIED` is equivalent to `LOCK_HINT_SHARED`.", +"Acquire shared locks. By default when you perform a read as part of a read-write transaction, Spanner acquires shared read locks, which allows other reads to still access the data until your transaction is ready to commit. When your transaction is committing and writes are being applied, the transaction attempts to upgrade to an exclusive lock for any data you are writing. For more information about locks, see [Lock modes](https://cloud.google.com/spanner/docs/introspection/lock-statistics#explain-lock-modes).", +"Acquire exclusive locks. Requesting exclusive locks is beneficial if you observe high write contention, which means you notice that multiple transactions are concurrently trying to read and write to the same data, resulting in a large number of aborts. This problem occurs when two transactions initially acquire shared locks and then both try to upgrade to exclusive locks at the same time. In this situation both transactions are waiting for the other to give up their lock, resulting in a deadlocked situation. Spanner is able to detect this occurring and force one of the transactions to abort. However, this is a slow and expensive operation and results in lower performance. In this case it makes sense to acquire exclusive locks at the start of the transaction because then when multiple transactions try to act on the same data, they automatically get serialized. Each transaction waits its turn to acquire the lock and avoids getting into deadlock situations. Because the exclusive lock hint is just a hint, it shouldn't be considered equivalent to a mutex. In other words, you shouldn't use Spanner exclusive locks as a mutual exclusion mechanism for the execution of code outside of Spanner. **Note:** Request exclusive locks judiciously because they block others from reading that data for the entire transaction, rather than just when the writes are being performed. Unless you observe high write contention, you should use the default of shared read locks so you don't prematurely block other clients from reading the data that you're writing to." +], +"type": "string" +}, +"orderBy": { +"description": "Optional. Order for the returned rows. By default, Spanner returns result rows in primary key order except for PartitionRead requests. For applications that don't require rows to be returned in primary key (`ORDER_BY_PRIMARY_KEY`) order, setting `ORDER_BY_NO_ORDER` option allows Spanner to optimize row retrieval, resulting in lower latencies in certain cases (for example, bulk point lookups).", +"enum": [ +"ORDER_BY_UNSPECIFIED", +"ORDER_BY_PRIMARY_KEY", +"ORDER_BY_NO_ORDER" +], +"enumDescriptions": [ +"Default value. `ORDER_BY_UNSPECIFIED` is equivalent to `ORDER_BY_PRIMARY_KEY`.", +"Read rows are returned in primary key order. In the event that this option is used in conjunction with the `partition_token` field, the API returns an `INVALID_ARGUMENT` error.", +"Read rows are returned in any order." +], +"type": "string" +}, +"partitionToken": { +"description": "If present, results are restricted to the specified partition previously created using `PartitionRead`. There must be an exact match for the values of fields common to this message and the PartitionReadRequest message used to create this partition_token.", +"format": "byte", +"type": "string" +}, +"requestOptions": { +"$ref": "RequestOptions", +"description": "Common options for this request." +}, +"resumeToken": { +"description": "If this request is resuming a previously interrupted read, `resume_token` should be copied from the last PartialResultSet yielded before the interruption. Doing this enables the new read to resume where the last read left off. The rest of the request parameters must exactly match the request that yielded this token.", +"format": "byte", +"type": "string" +}, +"table": { +"description": "Required. The name of the table in the database to be read.", +"type": "string" +}, +"transaction": { +"$ref": "TransactionSelector", +"description": "The transaction to use. If none is provided, the default is a temporary read-only transaction with strong concurrency." +} +}, +"type": "object" +}, +"ReadWrite": { +"description": "Message type to initiate a read-write transaction. Currently this transaction type has no options.", +"id": "ReadWrite", +"properties": { +"multiplexedSessionPreviousTransactionId": { +"description": "Optional. Clients should pass the transaction ID of the previous transaction attempt that was aborted if this transaction is being executed on a multiplexed session.", +"format": "byte", +"type": "string" +}, +"readLockMode": { +"description": "Read lock mode for the transaction.", +"enum": [ +"READ_LOCK_MODE_UNSPECIFIED", +"PESSIMISTIC", +"OPTIMISTIC" +], +"enumDescriptions": [ +"Default value. * If isolation level is REPEATABLE_READ, then it is an error to specify `read_lock_mode`. Locking semantics default to `OPTIMISTIC`. No validation checks are done for reads, except to validate that the data that was served at the snapshot time is unchanged at commit time in the following cases: 1. reads done as part of queries that use `SELECT FOR UPDATE` 2. reads done as part of statements with a `LOCK_SCANNED_RANGES` hint 3. reads done as part of DML statements * At all other isolation levels, if `read_lock_mode` is the default value, then pessimistic read locks are used.", +"Pessimistic lock mode. Read locks are acquired immediately on read. Semantics described only applies to SERIALIZABLE isolation.", +"Optimistic lock mode. Locks for reads within the transaction are not acquired on read. Instead the locks are acquired on a commit to validate that read/queried data has not changed since the transaction started. Semantics described only applies to SERIALIZABLE isolation." +], +"type": "string" +} +}, +"type": "object" +}, +"ReplicaComputeCapacity": { +"description": "ReplicaComputeCapacity describes the amount of server resources that are allocated to each replica identified by the replica selection.", +"id": "ReplicaComputeCapacity", +"properties": { +"nodeCount": { +"description": "The number of nodes allocated to each replica. This may be zero in API responses for instances that are not yet in state `READY`.", +"format": "int32", +"type": "integer" +}, +"processingUnits": { +"description": "The number of processing units allocated to each replica. This may be zero in API responses for instances that are not yet in state `READY`.", +"format": "int32", +"type": "integer" +}, +"replicaSelection": { +"$ref": "InstanceReplicaSelection", +"description": "Required. Identifies replicas by specified properties. All replicas in the selection have the same amount of compute capacity." +} +}, +"type": "object" +}, +"ReplicaInfo": { +"id": "ReplicaInfo", +"properties": { +"defaultLeaderLocation": { +"description": "If true, this location is designated as the default leader location where leader replicas are placed. See the [region types documentation](https://cloud.google.com/spanner/docs/instances#region_types) for more details.", +"type": "boolean" +}, +"location": { +"description": "The location of the serving resources, e.g., \"us-central1\".", +"type": "string" +}, +"type": { +"description": "The type of replica.", +"enum": [ +"TYPE_UNSPECIFIED", +"READ_WRITE", +"READ_ONLY", +"WITNESS" +], +"enumDescriptions": [ +"Not specified.", +"Read-write replicas support both reads and writes. These replicas: * Maintain a full copy of your data. * Serve reads. * Can vote whether to commit a write. * Participate in leadership election. * Are eligible to become a leader.", +"Read-only replicas only support reads (not writes). Read-only replicas: * Maintain a full copy of your data. * Serve reads. * Do not participate in voting to commit writes. * Are not eligible to become a leader.", +"Witness replicas don't support reads but do participate in voting to commit writes. Witness replicas: * Do not maintain a full copy of data. * Do not serve reads. * Vote whether to commit writes. * Participate in leader election but are not eligible to become leader." +], +"type": "string" +} +}, +"type": "object" +}, +"ReplicaSelection": { +"description": "The directed read replica selector. Callers must provide one or more of the following fields for replica selection: * `location` - The location must be one of the regions within the multi-region configuration of your database. * `type` - The type of the replica. Some examples of using replica_selectors are: * `location:us-east1` --> The \"us-east1\" replica(s) of any available type is used to process the request. * `type:READ_ONLY` --> The \"READ_ONLY\" type replica(s) in the nearest available location are used to process the request. * `location:us-east1 type:READ_ONLY` --> The \"READ_ONLY\" type replica(s) in location \"us-east1\" is used to process the request.", +"id": "ReplicaSelection", +"properties": { +"location": { +"description": "The location or region of the serving requests, for example, \"us-east1\".", +"type": "string" +}, +"type": { +"description": "The type of replica.", +"enum": [ +"TYPE_UNSPECIFIED", +"READ_WRITE", +"READ_ONLY" +], +"enumDescriptions": [ +"Not specified.", +"Read-write replicas support both reads and writes.", +"Read-only replicas only support reads (not writes)." +], +"type": "string" +} +}, +"type": "object" +}, +"RequestOptions": { +"description": "Common request options for various APIs.", +"id": "RequestOptions", +"properties": { +"clientContext": { +"$ref": "ClientContext", +"description": "Optional. Optional context that may be needed for some requests." +}, +"priority": { +"description": "Priority for the request.", +"enum": [ +"PRIORITY_UNSPECIFIED", +"PRIORITY_LOW", +"PRIORITY_MEDIUM", +"PRIORITY_HIGH" +], +"enumDescriptions": [ +"`PRIORITY_UNSPECIFIED` is equivalent to `PRIORITY_HIGH`.", +"This specifies that the request is low priority.", +"This specifies that the request is medium priority.", +"This specifies that the request is high priority." +], +"type": "string" +}, +"requestTag": { +"description": "A per-request tag which can be applied to queries or reads, used for statistics collection. Both `request_tag` and `transaction_tag` can be specified for a read or query that belongs to a transaction. This field is ignored for requests where it's not applicable (for example, `CommitRequest`). Legal characters for `request_tag` values are all printable characters (ASCII 32 - 126) and the length of a request_tag is limited to 50 characters. Values that exceed this limit are truncated. Any leading underscore (_) characters are removed from the string.", +"type": "string" +}, +"transactionTag": { +"description": "A tag used for statistics collection about this transaction. Both `request_tag` and `transaction_tag` can be specified for a read or query that belongs to a transaction. To enable tagging on a transaction, `transaction_tag` must be set to the same value for all requests belonging to the same transaction, including BeginTransaction. If this request doesn't belong to any transaction, `transaction_tag` is ignored. Legal characters for `transaction_tag` values are all printable characters (ASCII 32 - 126) and the length of a `transaction_tag` is limited to 50 characters. Values that exceed this limit are truncated. Any leading underscore (_) characters are removed from the string.", +"type": "string" +} +}, +"type": "object" +}, +"RestoreDatabaseEncryptionConfig": { +"description": "Encryption configuration for the restored database.", +"id": "RestoreDatabaseEncryptionConfig", +"properties": { +"encryptionType": { +"description": "Required. The encryption type of the restored database.", +"enum": [ +"ENCRYPTION_TYPE_UNSPECIFIED", +"USE_CONFIG_DEFAULT_OR_BACKUP_ENCRYPTION", +"GOOGLE_DEFAULT_ENCRYPTION", +"CUSTOMER_MANAGED_ENCRYPTION" +], +"enumDescriptions": [ +"Unspecified. Do not use.", +"This is the default option when encryption_config is not specified.", +"Use Google default encryption.", +"Use customer managed encryption. If specified, `kms_key_name` must must contain a valid Cloud KMS key." +], +"type": "string" +}, +"kmsKeyName": { +"description": "Optional. This field is maintained for backwards compatibility. For new callers, we recommend using `kms_key_names` to specify the KMS key. Only use `kms_key_name` if the location of the KMS key matches the database instance's configuration (location) exactly. For example, if the KMS location is in `us-central1` or `nam3`, then the database instance must also be in `us-central1` or `nam3`. The Cloud KMS key that is used to encrypt and decrypt the restored database. Set this field only when encryption_type is `CUSTOMER_MANAGED_ENCRYPTION`. Values are of the form `projects//locations//keyRings//cryptoKeys/`.", +"type": "string" +}, +"kmsKeyNames": { +"description": "Optional. Specifies the KMS configuration for one or more keys used to encrypt the database. Values have the form `projects//locations//keyRings//cryptoKeys/`. The keys referenced by `kms_key_names` must fully cover all regions of the database's instance configuration. Some examples: * For regional (single-region) instance configurations, specify a regional location KMS key. * For multi-region instance configurations of type `GOOGLE_MANAGED`, either specify a multi-region location KMS key or multiple regional location KMS keys that cover all regions in the instance configuration. * For an instance configuration of type `USER_MANAGED`, specify only regional location KMS keys to cover each region in the instance configuration. Multi-region location KMS keys aren't supported for `USER_MANAGED` type instance configurations.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"RestoreDatabaseMetadata": { +"description": "Metadata type for the long-running operation returned by RestoreDatabase.", +"id": "RestoreDatabaseMetadata", +"properties": { +"backupInfo": { +"$ref": "BackupInfo", +"description": "Information about the backup used to restore the database." +}, +"cancelTime": { +"description": "The time at which cancellation of this operation was received. Operations.CancelOperation starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.", +"format": "google-datetime", +"type": "string" +}, +"name": { +"description": "Name of the database being created and restored to.", +"type": "string" +}, +"optimizeDatabaseOperationName": { +"description": "If exists, the name of the long-running operation that will be used to track the post-restore optimization process to optimize the performance of the restored database, and remove the dependency on the restore source. The name is of the form `projects//instances//databases//operations/` where the is the name of database being created and restored to. The metadata type of the long-running operation is OptimizeRestoredDatabaseMetadata. This long-running operation will be automatically created by the system after the RestoreDatabase long-running operation completes successfully. This operation will not be created if the restore was not successful.", +"type": "string" +}, +"progress": { +"$ref": "OperationProgress", +"description": "The progress of the RestoreDatabase operation." +}, +"sourceType": { +"description": "The type of the restore source.", +"enum": [ +"TYPE_UNSPECIFIED", +"BACKUP" +], +"enumDescriptions": [ +"No restore associated.", +"A backup was used as the source of the restore." +], +"type": "string" +} +}, +"type": "object" +}, +"RestoreDatabaseRequest": { +"description": "The request for RestoreDatabase.", +"id": "RestoreDatabaseRequest", +"properties": { +"backup": { +"description": "Name of the backup from which to restore. Values are of the form `projects//instances//backups/`.", +"type": "string" +}, +"databaseId": { +"description": "Required. The id of the database to create and restore to. This database must not already exist. The `database_id` appended to `parent` forms the full database name of the form `projects//instances//databases/`.", +"type": "string" +}, +"encryptionConfig": { +"$ref": "RestoreDatabaseEncryptionConfig", +"description": "Optional. An encryption configuration describing the encryption type and key resources in Cloud KMS used to encrypt/decrypt the database to restore to. If this field is not specified, the restored database will use the same encryption configuration as the backup by default, namely encryption_type = `USE_CONFIG_DEFAULT_OR_BACKUP_ENCRYPTION`." +} +}, +"type": "object" +}, +"RestoreInfo": { +"description": "Information about the database restore.", +"id": "RestoreInfo", +"properties": { +"backupInfo": { +"$ref": "BackupInfo", +"description": "Information about the backup used to restore the database. The backup may no longer exist." +}, +"sourceType": { +"description": "The type of the restore source.", +"enum": [ +"TYPE_UNSPECIFIED", +"BACKUP" +], +"enumDescriptions": [ +"No restore associated.", +"A backup was used as the source of the restore." +], +"type": "string" +} +}, +"type": "object" +}, +"ResultSet": { +"description": "Results from Read or ExecuteSql.", +"id": "ResultSet", +"properties": { +"metadata": { +"$ref": "ResultSetMetadata", +"description": "Metadata about the result set, such as row type information." +}, +"precommitToken": { +"$ref": "MultiplexedSessionPrecommitToken", +"description": "Optional. A precommit token is included if the read-write transaction is on a multiplexed session. Pass the precommit token with the highest sequence number from this transaction attempt to the Commit request for this transaction." +}, +"rows": { +"description": "Each element in `rows` is a row whose format is defined by metadata.row_type. The ith element in each row matches the ith field in metadata.row_type. Elements are encoded based on type as described here.", +"items": { +"items": { +"type": "any" +}, +"type": "array" +}, +"type": "array" +}, +"stats": { +"$ref": "ResultSetStats", +"description": "Query plan and execution statistics for the SQL statement that produced this result set. These can be requested by setting ExecuteSqlRequest.query_mode. DML statements always produce stats containing the number of rows modified, unless executed using the ExecuteSqlRequest.QueryMode.PLAN ExecuteSqlRequest.query_mode. Other fields might or might not be populated, based on the ExecuteSqlRequest.query_mode." +} +}, +"type": "object" +}, +"ResultSetMetadata": { +"description": "Metadata about a ResultSet or PartialResultSet.", +"id": "ResultSetMetadata", +"properties": { +"rowType": { +"$ref": "StructType", +"description": "Indicates the field names and types for the rows in the result set. For example, a SQL query like `\"SELECT UserId, UserName FROM Users\"` could return a `row_type` value like: \"fields\": [ { \"name\": \"UserId\", \"type\": { \"code\": \"INT64\" } }, { \"name\": \"UserName\", \"type\": { \"code\": \"STRING\" } }, ]" +}, +"transaction": { +"$ref": "Transaction", +"description": "If the read or SQL query began a transaction as a side-effect, the information about the new transaction is yielded here." +}, +"undeclaredParameters": { +"$ref": "StructType", +"description": "A SQL query can be parameterized. In PLAN mode, these parameters can be undeclared. This indicates the field names and types for those undeclared parameters in the SQL query. For example, a SQL query like `\"SELECT * FROM Users where UserId = @userId and UserName = @userName \"` could return a `undeclared_parameters` value like: \"fields\": [ { \"name\": \"UserId\", \"type\": { \"code\": \"INT64\" } }, { \"name\": \"UserName\", \"type\": { \"code\": \"STRING\" } }, ]" +} +}, +"type": "object" +}, +"ResultSetStats": { +"description": "Additional statistics about a ResultSet or PartialResultSet.", +"id": "ResultSetStats", +"properties": { +"queryPlan": { +"$ref": "QueryPlan", +"description": "QueryPlan for the query associated with this result." +}, +"queryStats": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"description": "Aggregated statistics from the execution of the query. Only present when the query is profiled. For example, a query could return the statistics as follows: { \"rows_returned\": \"3\", \"elapsed_time\": \"1.22 secs\", \"cpu_time\": \"1.19 secs\" }", +"type": "object" +}, +"rowCountExact": { +"description": "Standard DML returns an exact count of rows that were modified.", +"format": "int64", +"type": "string" +}, +"rowCountLowerBound": { +"description": "Partitioned DML doesn't offer exactly-once semantics, so it returns a lower bound of the rows modified.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"RollbackRequest": { +"description": "The request for Rollback.", +"id": "RollbackRequest", +"properties": { +"transactionId": { +"description": "Required. The transaction to roll back.", +"format": "byte", +"type": "string" +} +}, +"type": "object" +}, +"Scan": { +"description": "Scan is a structure which describes Cloud Key Visualizer scan information.", +"id": "Scan", +"properties": { +"details": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "Additional information provided by the implementer.", +"type": "object" +}, +"endTime": { +"description": "The upper bound for when the scan is defined.", +"format": "google-datetime", +"type": "string" +}, +"name": { +"description": "The unique name of the scan, specific to the Database service implementing this interface.", +"type": "string" +}, +"scanData": { +"$ref": "ScanData", +"description": "Output only. Cloud Key Visualizer scan data. Note, this field is not available to the ListScans method.", +"readOnly": true +}, +"startTime": { +"description": "A range of time (inclusive) for when the scan is defined. The lower bound for when the scan is defined.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"ScanData": { +"description": "ScanData contains Cloud Key Visualizer scan data used by the caller to construct a visualization.", +"id": "ScanData", +"properties": { +"data": { +"$ref": "VisualizationData", +"description": "Cloud Key Visualizer scan data. The range of time this information covers is captured via the above time range fields. Note, this field is not available to the ListScans method." +}, +"endTime": { +"description": "The upper bound for when the contained data is defined.", +"format": "google-datetime", +"type": "string" +}, +"startTime": { +"description": "A range of time (inclusive) for when the contained data is defined. The lower bound for when the contained data is defined.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"Send": { +"description": "Arguments to send operations.", +"id": "Send", +"properties": { +"deliverTime": { +"description": "The time at which Spanner will begin attempting to deliver the message. If `deliver_time` is not set, Spanner will deliver the message immediately. If `deliver_time` is in the past, Spanner will replace it with a value closer to the current time.", +"format": "google-datetime", +"type": "string" +}, +"key": { +"description": "Required. The primary key of the message to be sent.", +"items": { +"type": "any" +}, +"type": "array" +}, +"payload": { +"description": "The payload of the message.", +"type": "any" +}, +"queue": { +"description": "Required. The queue to which the message will be sent.", +"type": "string" +} +}, +"type": "object" +}, +"Session": { +"description": "A session in the Cloud Spanner API.", +"id": "Session", +"properties": { +"approximateLastUseTime": { +"description": "Output only. The approximate timestamp when the session is last used. It's typically earlier than the actual last use time.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"createTime": { +"description": "Output only. The timestamp when the session is created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"creatorRole": { +"description": "The database role which created this session.", +"type": "string" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "The labels for the session. * Label keys must be between 1 and 63 characters long and must conform to the following regular expression: `[a-z]([-a-z0-9]*[a-z0-9])?`. * Label values must be between 0 and 63 characters long and must conform to the regular expression `([a-z]([-a-z0-9]*[a-z0-9])?)?`. * No more than 64 labels can be associated with a given session. See https://goo.gl/xmQnxf for more information on and examples of labels.", +"type": "object" +}, +"multiplexed": { +"description": "Optional. If `true`, specifies a multiplexed session. Use a multiplexed session for multiple, concurrent operations including any combination of read-only and read-write transactions. Use `sessions.create` to create multiplexed sessions. Don't use BatchCreateSessions to create a multiplexed session. You can't delete or list multiplexed sessions.", +"type": "boolean" +}, +"name": { +"description": "Output only. The name of the session. This is always system-assigned.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"SetIamPolicyRequest": { +"description": "Request message for `SetIamPolicy` method.", +"id": "SetIamPolicyRequest", +"properties": { +"policy": { +"$ref": "Policy", +"description": "REQUIRED: The complete policy to be applied to the `resource`. The size of the policy is limited to a few 10s of KB. An empty policy is a valid policy but certain Google Cloud services (such as Projects) might reject them." +} +}, +"type": "object" +}, +"ShortRepresentation": { +"description": "Condensed representation of a node and its subtree. Only present for `SCALAR` PlanNode(s).", +"id": "ShortRepresentation", +"properties": { +"description": { +"description": "A string representation of the expression subtree rooted at this node.", +"type": "string" +}, +"subqueries": { +"additionalProperties": { +"format": "int32", +"type": "integer" +}, +"description": "A mapping of (subquery variable name) -> (subquery node id) for cases where the `description` string of this node references a `SCALAR` subquery contained in the expression subtree rooted at this node. The referenced `SCALAR` subquery may not necessarily be a direct child of this node.", +"type": "object" +} +}, +"type": "object" +}, +"SingleRegionQuorum": { +"description": "Message type for a single-region quorum.", +"id": "SingleRegionQuorum", +"properties": { +"servingLocation": { +"description": "Required. The location of the serving region, for example, \"us-central1\". The location must be one of the regions within the dual-region instance configuration of your database. The list of valid locations is available using the GetInstanceConfig API. This should only be used if you plan to change quorum to the single-region quorum type.", +"type": "string" +} +}, +"type": "object" +}, +"SplitPoints": { +"description": "The split points of a table or an index.", +"id": "SplitPoints", +"properties": { +"expireTime": { +"description": "Optional. The expiration timestamp of the split points. A timestamp in the past means immediate expiration. The maximum value can be 30 days in the future. Defaults to 10 days in the future if not specified.", +"format": "google-datetime", +"type": "string" +}, +"index": { +"description": "The index to split. If specified, the `table` field must refer to the index's base table.", +"type": "string" +}, +"keys": { +"description": "Required. The list of split keys. In essence, the split boundaries.", +"items": { +"$ref": "Key" +}, +"type": "array" +}, +"table": { +"description": "The table to split.", +"type": "string" +} +}, +"type": "object" +}, +"Statement": { +"description": "A single DML statement.", +"id": "Statement", +"properties": { +"paramTypes": { +"additionalProperties": { +"$ref": "Type" +}, +"description": "It isn't always possible for Cloud Spanner to infer the right SQL type from a JSON value. For example, values of type `BYTES` and values of type `STRING` both appear in params as JSON strings. In these cases, `param_types` can be used to specify the exact SQL type for some or all of the SQL statement parameters. See the definition of Type for more information about SQL types.", +"type": "object" +}, +"params": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"description": "Parameter names and values that bind to placeholders in the DML string. A parameter placeholder consists of the `@` character followed by the parameter name (for example, `@firstName`). Parameter names can contain letters, numbers, and underscores. Parameters can appear anywhere that a literal value is expected. The same parameter name can be used more than once, for example: `\"WHERE id > @msg_id AND id < @msg_id + 100\"` It's an error to execute a SQL statement with unbound parameters.", +"type": "object" +}, +"sql": { +"description": "Required. The DML string.", +"type": "string" +} +}, +"type": "object" +}, +"Status": { +"description": "The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors).", +"id": "Status", +"properties": { +"code": { +"description": "The status code, which should be an enum value of google.rpc.Code.", +"format": "int32", +"type": "integer" +}, +"details": { +"description": "A list of messages that carry the error details. There is a common set of message types for APIs to use.", +"items": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.", +"type": "string" +} +}, +"type": "object" +}, +"StructType": { +"description": "`StructType` defines the fields of a STRUCT type.", +"id": "StructType", +"properties": { +"fields": { +"description": "The list of fields that make up this struct. Order is significant, because values of this struct type are represented as lists, where the order of field values matches the order of fields in the StructType. In turn, the order of fields matches the order of columns in a read request, or the order of fields in the `SELECT` clause of a query.", +"items": { +"$ref": "Field" +}, +"type": "array" +} +}, +"type": "object" +}, +"TestIamPermissionsRequest": { +"description": "Request message for `TestIamPermissions` method.", +"id": "TestIamPermissionsRequest", +"properties": { +"permissions": { +"description": "REQUIRED: The set of permissions to check for 'resource'. Permissions with wildcards (such as '*', 'spanner.*', 'spanner.instances.*') are not allowed.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"TestIamPermissionsResponse": { +"description": "Response message for `TestIamPermissions` method.", +"id": "TestIamPermissionsResponse", +"properties": { +"permissions": { +"description": "A subset of `TestPermissionsRequest.permissions` that the caller is allowed.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"Transaction": { +"description": "A transaction.", +"id": "Transaction", +"properties": { +"id": { +"description": "`id` may be used to identify the transaction in subsequent Read, ExecuteSql, Commit, or Rollback calls. Single-use read-only transactions do not have IDs, because single-use transactions do not support multiple requests.", +"format": "byte", +"type": "string" +}, +"precommitToken": { +"$ref": "MultiplexedSessionPrecommitToken", +"description": "A precommit token is included in the response of a BeginTransaction request if the read-write transaction is on a multiplexed session and a mutation_key was specified in the BeginTransaction. The precommit token with the highest sequence number from this transaction attempt should be passed to the Commit request for this transaction." +}, +"readTimestamp": { +"description": "For snapshot read-only transactions, the read timestamp chosen for the transaction. Not returned by default: see TransactionOptions.ReadOnly.return_read_timestamp. A timestamp in RFC3339 UTC \\\"Zulu\\\" format, accurate to nanoseconds. Example: `\"2014-10-02T15:01:23.045123456Z\"`.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"TransactionOptions": { +"description": "Options to use for transactions.", +"id": "TransactionOptions", +"properties": { +"excludeTxnFromChangeStreams": { +"description": "When `exclude_txn_from_change_streams` is set to `true`, it prevents read or write transactions from being tracked in change streams. * If the DDL option `allow_txn_exclusion` is set to `true`, then the updates made within this transaction aren't recorded in the change stream. * If you don't set the DDL option `allow_txn_exclusion` or if it's set to `false`, then the updates made within this transaction are recorded in the change stream. When `exclude_txn_from_change_streams` is set to `false` or not set, modifications from this transaction are recorded in all change streams that are tracking columns modified by these transactions. The `exclude_txn_from_change_streams` option can only be specified for read-write or partitioned DML transactions, otherwise the API returns an `INVALID_ARGUMENT` error.", +"type": "boolean" +}, +"isolationLevel": { +"description": "Isolation level for the transaction.", +"enum": [ +"ISOLATION_LEVEL_UNSPECIFIED", +"SERIALIZABLE", +"REPEATABLE_READ" +], +"enumDescriptions": [ +"Default value. If the value is not specified, the `SERIALIZABLE` isolation level is used.", +"All transactions appear as if they executed in a serial order, even if some of the reads, writes, and other operations of distinct transactions actually occurred in parallel. Spanner assigns commit timestamps that reflect the order of committed transactions to implement this property. Spanner offers a stronger guarantee than serializability called external consistency. For more information, see [TrueTime and external consistency](https://cloud.google.com/spanner/docs/true-time-external-consistency#serializability).", +"All reads performed during the transaction observe a consistent snapshot of the database, and the transaction is only successfully committed in the absence of conflicts between its updates and any concurrent updates that have occurred since that snapshot. Consequently, in contrast to `SERIALIZABLE` transactions, only write-write conflicts are detected in snapshot transactions. This isolation level does not support read-only and partitioned DML transactions. When `REPEATABLE_READ` is specified on a read-write transaction, the locking semantics default to `OPTIMISTIC`." +], +"type": "string" +}, +"partitionedDml": { +"$ref": "PartitionedDml", +"description": "Partitioned DML transaction. Authorization to begin a Partitioned DML transaction requires `spanner.databases.beginPartitionedDmlTransaction` permission on the `session` resource." +}, +"readOnly": { +"$ref": "ReadOnly", +"description": "Transaction does not write. Authorization to begin a read-only transaction requires `spanner.databases.beginReadOnlyTransaction` permission on the `session` resource." +}, +"readWrite": { +"$ref": "ReadWrite", +"description": "Transaction may write. Authorization to begin a read-write transaction requires `spanner.databases.beginOrRollbackReadWriteTransaction` permission on the `session` resource." +} +}, +"type": "object" +}, +"TransactionSelector": { +"description": "This message is used to select the transaction in which a Read or ExecuteSql call runs. See TransactionOptions for more information about transactions.", +"id": "TransactionSelector", +"properties": { +"begin": { +"$ref": "TransactionOptions", +"description": "Begin a new transaction and execute this read or SQL query in it. The transaction ID of the new transaction is returned in ResultSetMetadata.transaction, which is a Transaction." +}, +"id": { +"description": "Execute the read or SQL query in a previously-started transaction.", +"format": "byte", +"type": "string" +}, +"singleUse": { +"$ref": "TransactionOptions", +"description": "Execute the read or SQL query in a temporary transaction. This is the most efficient way to execute a transaction that consists of a single SQL query." +} +}, +"type": "object" +}, +"Type": { +"description": "`Type` indicates the type of a Cloud Spanner value, as might be stored in a table cell or returned from an SQL query.", +"id": "Type", +"properties": { +"arrayElementType": { +"$ref": "Type", +"description": "If code == ARRAY, then `array_element_type` is the type of the array elements." +}, +"code": { +"description": "Required. The TypeCode for this type.", +"enum": [ +"TYPE_CODE_UNSPECIFIED", +"BOOL", +"INT64", +"FLOAT64", +"FLOAT32", +"TIMESTAMP", +"DATE", +"STRING", +"BYTES", +"ARRAY", +"STRUCT", +"NUMERIC", +"JSON", +"PROTO", +"ENUM", +"INTERVAL", +"UUID" +], +"enumDescriptions": [ +"Not specified.", +"Encoded as JSON `true` or `false`.", +"Encoded as `string`, in decimal format.", +"Encoded as `number`, or the strings `\"NaN\"`, `\"Infinity\"`, or `\"-Infinity\"`.", +"Encoded as `number`, or the strings `\"NaN\"`, `\"Infinity\"`, or `\"-Infinity\"`.", +"Encoded as `string` in RFC 3339 timestamp format. The time zone must be present, and must be `\"Z\"`. If the schema has the column option `allow_commit_timestamp=true`, the placeholder string `\"spanner.commit_timestamp()\"` can be used to instruct the system to insert the commit timestamp associated with the transaction commit.", +"Encoded as `string` in RFC 3339 date format.", +"Encoded as `string`.", +"Encoded as a base64-encoded `string`, as described in RFC 4648, section 4.", +"Encoded as `list`, where the list elements are represented according to array_element_type.", +"Encoded as `list`, where list element `i` is represented according to [struct_type.fields[i]][google.spanner.v1.StructType.fields].", +"Encoded as `string`, in decimal format or scientific notation format. Decimal format: `[+-]Digits[.[Digits]]` or `+-.Digits` Scientific notation: `[+-]Digits[.[Digits]][ExponentIndicator[+-]Digits]` or `+-.Digits[ExponentIndicator[+-]Digits]` (ExponentIndicator is `\"e\"` or `\"E\"`)", +"Encoded as a JSON-formatted `string` as described in RFC 7159. The following rules are applied when parsing JSON input: - Whitespace characters are not preserved. - If a JSON object has duplicate keys, only the first key is preserved. - Members of a JSON object are not guaranteed to have their order preserved. - JSON array elements will have their order preserved.", +"Encoded as a base64-encoded `string`, as described in RFC 4648, section 4.", +"Encoded as `string`, in decimal format.", +"Encoded as `string`, in `ISO8601` duration format - `P[n]Y[n]M[n]DT[n]H[n]M[n[.fraction]]S` where `n` is an integer. For example, `P1Y2M3DT4H5M6.5S` represents time duration of 1 year, 2 months, 3 days, 4 hours, 5 minutes, and 6.5 seconds.", +"Encoded as `string`, in lower-case hexa-decimal format, as described in RFC 9562, section 4." +], +"type": "string" +}, +"protoTypeFqn": { +"description": "If code == PROTO or code == ENUM, then `proto_type_fqn` is the fully qualified name of the proto type representing the proto/enum definition.", +"type": "string" +}, +"structType": { +"$ref": "StructType", +"description": "If code == STRUCT, then `struct_type` provides type information for the struct's fields." +}, +"typeAnnotation": { +"description": "The TypeAnnotationCode that disambiguates SQL type that Spanner will use to represent values of this type during query processing. This is necessary for some type codes because a single TypeCode can be mapped to different SQL types depending on the SQL dialect. type_annotation typically is not needed to process the content of a value (it doesn't affect serialization) and clients can ignore it on the read path.", +"enum": [ +"TYPE_ANNOTATION_CODE_UNSPECIFIED", +"PG_NUMERIC", +"PG_JSONB", +"PG_OID" +], +"enumDescriptions": [ +"Not specified.", +"PostgreSQL compatible NUMERIC type. This annotation needs to be applied to Type instances having NUMERIC type code to specify that values of this type should be treated as PostgreSQL NUMERIC values. Currently this annotation is always needed for NUMERIC when a client interacts with PostgreSQL-enabled Spanner databases.", +"PostgreSQL compatible JSONB type. This annotation needs to be applied to Type instances having JSON type code to specify that values of this type should be treated as PostgreSQL JSONB values. Currently this annotation is always needed for JSON when a client interacts with PostgreSQL-enabled Spanner databases.", +"PostgreSQL compatible OID type. This annotation can be used by a client interacting with PostgreSQL-enabled Spanner database to specify that a value should be treated using the semantics of the OID type." +], +"type": "string" +} +}, +"type": "object" +}, +"UpdateDatabaseDdlMetadata": { +"description": "Metadata type for the operation returned by UpdateDatabaseDdl.", +"id": "UpdateDatabaseDdlMetadata", +"properties": { +"actions": { +"description": "The brief action info for the DDL statements. `actions[i]` is the brief info for `statements[i]`.", +"items": { +"$ref": "DdlStatementActionInfo" +}, +"type": "array" +}, +"commitTimestamps": { +"description": "Reports the commit timestamps of all statements that have succeeded so far, where `commit_timestamps[i]` is the commit timestamp for the statement `statements[i]`.", +"items": { +"format": "google-datetime", +"type": "string" +}, +"type": "array" +}, +"database": { +"description": "The database being modified.", +"type": "string" +}, +"progress": { +"description": "The progress of the UpdateDatabaseDdl operations. All DDL statements will have continuously updating progress, and `progress[i]` is the operation progress for `statements[i]`. Also, `progress[i]` will have start time and end time populated with commit timestamp of operation, as well as a progress of 100% once the operation has completed.", +"items": { +"$ref": "OperationProgress" +}, +"type": "array" +}, +"statements": { +"description": "For an update this list contains all the statements. For an individual statement, this list contains only that statement.", +"items": { +"type": "string" +}, +"type": "array" +}, +"throttled": { +"description": "Output only. When true, indicates that the operation is throttled, for example, due to resource constraints. When resources become available the operation will resume and this field will be false again.", +"readOnly": true, +"type": "boolean" +} +}, +"type": "object" +}, +"UpdateDatabaseDdlRequest": { +"description": "Enqueues the given DDL statements to be applied, in order but not necessarily all at once, to the database schema at some point (or points) in the future. The server checks that the statements are executable (syntactically valid, name tables that exist, etc.) before enqueueing them, but they may still fail upon later execution (for example, if a statement from another batch of statements is applied first and it conflicts in some way, or if there is some data-related problem like a `NULL` value in a column to which `NOT NULL` would be added). If a statement fails, all subsequent statements in the batch are automatically cancelled. Each batch of statements is assigned a name which can be used with the Operations API to monitor progress. See the operation_id field for more details.", +"id": "UpdateDatabaseDdlRequest", +"properties": { +"operationId": { +"description": "If empty, the new update request is assigned an automatically-generated operation ID. Otherwise, `operation_id` is used to construct the name of the resulting Operation. Specifying an explicit operation ID simplifies determining whether the statements were executed in the event that the UpdateDatabaseDdl call is replayed, or the return value is otherwise lost: the database and `operation_id` fields can be combined to form the `name` of the resulting longrunning.Operation: `/operations/`. `operation_id` should be unique within the database, and must be a valid identifier: `a-z*`. Note that automatically-generated operation IDs always begin with an underscore. If the named operation already exists, UpdateDatabaseDdl returns `ALREADY_EXISTS`.", +"type": "string" +}, +"protoDescriptors": { +"description": "Optional. Proto descriptors used by CREATE/ALTER PROTO BUNDLE statements. Contains a protobuf-serialized [google.protobuf.FileDescriptorSet](https://github.com/protocolbuffers/protobuf/blob/main/src/google/protobuf/descriptor.proto). To generate it, [install](https://grpc.io/docs/protoc-installation/) and run `protoc` with --include_imports and --descriptor_set_out. For example, to generate for moon/shot/app.proto, run ``` $protoc --proto_path=/app_path --proto_path=/lib_path \\ --include_imports \\ --descriptor_set_out=descriptors.data \\ moon/shot/app.proto ``` For more details, see protobuffer [self description](https://developers.google.com/protocol-buffers/docs/techniques#self-description).", +"format": "byte", +"type": "string" +}, +"statements": { +"description": "Required. DDL statements to be applied to the database.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"UpdateDatabaseMetadata": { +"description": "Metadata type for the operation returned by UpdateDatabase.", +"id": "UpdateDatabaseMetadata", +"properties": { +"cancelTime": { +"description": "The time at which this operation was cancelled. If set, this operation is in the process of undoing itself (which is best-effort).", +"format": "google-datetime", +"type": "string" +}, +"progress": { +"$ref": "OperationProgress", +"description": "The progress of the UpdateDatabase operation." +}, +"request": { +"$ref": "UpdateDatabaseRequest", +"description": "The request for UpdateDatabase." +} +}, +"type": "object" +}, +"UpdateDatabaseRequest": { +"description": "The request for UpdateDatabase.", +"id": "UpdateDatabaseRequest", +"properties": { +"database": { +"$ref": "Database", +"description": "Required. The database to update. The `name` field of the database is of the form `projects//instances//databases/`." +}, +"updateMask": { +"description": "Required. The list of fields to update. Currently, only `enable_drop_protection` field can be updated.", +"format": "google-fieldmask", +"type": "string" +} +}, +"type": "object" +}, +"UpdateInstanceConfigMetadata": { +"description": "Metadata type for the operation returned by UpdateInstanceConfig.", +"id": "UpdateInstanceConfigMetadata", +"properties": { +"cancelTime": { +"description": "The time at which this operation was cancelled.", +"format": "google-datetime", +"type": "string" +}, +"instanceConfig": { +"$ref": "InstanceConfig", +"description": "The desired instance configuration after updating." +}, +"progress": { +"$ref": "InstanceOperationProgress", +"description": "The progress of the UpdateInstanceConfig operation." +} +}, +"type": "object" +}, +"UpdateInstanceConfigRequest": { +"description": "The request for UpdateInstanceConfig.", +"id": "UpdateInstanceConfigRequest", +"properties": { +"instanceConfig": { +"$ref": "InstanceConfig", +"description": "Required. The user instance configuration to update, which must always include the instance configuration name. Otherwise, only fields mentioned in update_mask need be included. To prevent conflicts of concurrent updates, etag can be used." +}, +"updateMask": { +"description": "Required. A mask specifying which fields in InstanceConfig should be updated. The field mask must always be specified; this prevents any future fields in InstanceConfig from being erased accidentally by clients that do not know about them. Only display_name and labels can be updated.", +"format": "google-fieldmask", +"type": "string" +}, +"validateOnly": { +"description": "An option to validate, but not actually execute, a request, and provide the same response.", +"type": "boolean" +} +}, +"type": "object" +}, +"UpdateInstanceMetadata": { +"description": "Metadata type for the operation returned by UpdateInstance.", +"id": "UpdateInstanceMetadata", +"properties": { +"cancelTime": { +"description": "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.", +"format": "google-datetime", +"type": "string" +}, +"endTime": { +"description": "The time at which this operation failed or was completed successfully.", +"format": "google-datetime", +"type": "string" +}, +"expectedFulfillmentPeriod": { +"description": "The expected fulfillment period of this update operation.", +"enum": [ +"FULFILLMENT_PERIOD_UNSPECIFIED", +"FULFILLMENT_PERIOD_NORMAL", +"FULFILLMENT_PERIOD_EXTENDED" +], +"enumDescriptions": [ +"Not specified.", +"Normal fulfillment period. The operation is expected to complete within minutes.", +"Extended fulfillment period. It can take up to an hour for the operation to complete." +], +"type": "string" +}, +"instance": { +"$ref": "Instance", +"description": "The desired end state of the update." +}, +"startTime": { +"description": "The time at which UpdateInstance request was received.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"UpdateInstancePartitionMetadata": { +"description": "Metadata type for the operation returned by UpdateInstancePartition.", +"id": "UpdateInstancePartitionMetadata", +"properties": { +"cancelTime": { +"description": "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.", +"format": "google-datetime", +"type": "string" +}, +"endTime": { +"description": "The time at which this operation failed or was completed successfully.", +"format": "google-datetime", +"type": "string" +}, +"instancePartition": { +"$ref": "InstancePartition", +"description": "The desired end state of the update." +}, +"startTime": { +"description": "The time at which UpdateInstancePartition request was received.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"UpdateInstancePartitionRequest": { +"description": "The request for UpdateInstancePartition.", +"id": "UpdateInstancePartitionRequest", +"properties": { +"fieldMask": { +"description": "Required. A mask specifying which fields in InstancePartition should be updated. The field mask must always be specified; this prevents any future fields in InstancePartition from being erased accidentally by clients that do not know about them.", +"format": "google-fieldmask", +"type": "string" +}, +"instancePartition": { +"$ref": "InstancePartition", +"description": "Required. The instance partition to update, which must always include the instance partition name. Otherwise, only fields mentioned in field_mask need be included." +} +}, +"type": "object" +}, +"UpdateInstanceRequest": { +"description": "The request for UpdateInstance.", +"id": "UpdateInstanceRequest", +"properties": { +"fieldMask": { +"description": "Required. A mask specifying which fields in Instance should be updated. The field mask must always be specified; this prevents any future fields in Instance from being erased accidentally by clients that do not know about them.", +"format": "google-fieldmask", +"type": "string" +}, +"instance": { +"$ref": "Instance", +"description": "Required. The instance to update, which must always include the instance name. Otherwise, only fields mentioned in field_mask need be included." +} +}, +"type": "object" +}, +"VisualizationData": { +"id": "VisualizationData", +"properties": { +"dataSourceEndToken": { +"description": "The token signifying the end of a data_source.", +"type": "string" +}, +"dataSourceSeparatorToken": { +"description": "The token delimiting a datasource name from the rest of a key in a data_source.", +"type": "string" +}, +"diagnosticMessages": { +"description": "The list of messages (info, alerts, ...)", +"items": { +"$ref": "DiagnosticMessage" +}, +"type": "array" +}, +"endKeyStrings": { +"description": "We discretize the entire keyspace into buckets. Assuming each bucket has an inclusive keyrange and covers keys from k(i) ... k(n). In this case k(n) would be an end key for a given range. end_key_string is the collection of all such end keys", +"items": { +"type": "string" +}, +"type": "array" +}, +"hasPii": { +"description": "Whether this scan contains PII.", +"type": "boolean" +}, +"indexedKeys": { +"description": "Keys of key ranges that contribute significantly to a given metric Can be thought of as heavy hitters.", +"items": { +"type": "string" +}, +"type": "array" +}, +"keySeparator": { +"description": "The token delimiting the key prefixes.", +"type": "string" +}, +"keyUnit": { +"description": "The unit for the key: e.g. 'key' or 'chunk'.", +"enum": [ +"KEY_UNIT_UNSPECIFIED", +"KEY", +"CHUNK" +], +"enumDescriptions": [ +"Required default value", +"Each entry corresponds to one key", +"Each entry corresponds to a chunk of keys" +], +"type": "string" +}, +"metrics": { +"description": "The list of data objects for each metric.", +"items": { +"$ref": "Metric" +}, +"type": "array" +}, +"prefixNodes": { +"description": "The list of extracted key prefix nodes used in the key prefix hierarchy.", +"items": { +"$ref": "PrefixNode" +}, +"type": "array" +} +}, +"type": "object" +}, +"Write": { +"description": "Arguments to insert, update, insert_or_update, and replace operations.", +"id": "Write", +"properties": { +"columns": { +"description": "The names of the columns in table to be written. The list of columns must contain enough columns to allow Cloud Spanner to derive values for all primary key columns in the row(s) to be modified.", +"items": { +"type": "string" +}, +"type": "array" +}, +"table": { +"description": "Required. The table whose rows will be written.", +"type": "string" +}, +"values": { +"description": "The values to be written. `values` can contain more than one list of values. If it does, then multiple rows are written, one for each entry in `values`. Each list in `values` must have exactly as many entries as there are entries in columns above. Sending multiple lists is equivalent to sending multiple `Mutation`s, each containing one `values` entry and repeating table and columns. Individual values in each list are encoded as described here.", +"items": { +"items": { +"type": "any" +}, +"type": "array" +}, +"type": "array" +} +}, +"type": "object" +} +}, +"servicePath": "", +"title": "Cloud Spanner API", +"version": "v1", +"version_module": true +} \ No newline at end of file diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/speech.v1p1beta1.json b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/speech.v1p1beta1.json new file mode 100644 index 0000000000000000000000000000000000000000..60fc50d859a5c955a6f108ffd173efec5626b5cb --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/speech.v1p1beta1.json @@ -0,0 +1,1571 @@ +{ +"auth": { +"oauth2": { +"scopes": { +"https://www.googleapis.com/auth/cloud-platform": { +"description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." +} +} +} +}, +"basePath": "", +"baseUrl": "https://speech.googleapis.com/", +"batchPath": "batch", +"canonicalName": "Speech", +"description": "Converts audio to text by applying powerful neural network models.", +"discoveryVersion": "v1", +"documentationLink": "https://cloud.google.com/speech-to-text/docs/quickstart-protocol", +"endpoints": [ +{ +"description": "Regional Endpoint", +"endpointUrl": "https://speech.us-central1.rep.googleapis.com/", +"location": "us-central1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://speech.us-west1.rep.googleapis.com/", +"location": "us-west1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://speech.me-west1.rep.googleapis.com/", +"location": "me-west1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://speech.europe-west1.rep.googleapis.com/", +"location": "europe-west1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://speech.europe-west2.rep.googleapis.com/", +"location": "europe-west2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://speech.europe-west3.rep.googleapis.com/", +"location": "europe-west3" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://speech.europe-west4.rep.googleapis.com/", +"location": "europe-west4" +} +], +"fullyEncodeReservedExpansion": true, +"icons": { +"x16": "http://www.google.com/images/icons/product/search-16.gif", +"x32": "http://www.google.com/images/icons/product/search-32.gif" +}, +"id": "speech:v1p1beta1", +"kind": "discovery#restDescription", +"mtlsRootUrl": "https://speech.mtls.googleapis.com/", +"name": "speech", +"ownerDomain": "google.com", +"ownerName": "Google", +"parameters": { +"$.xgafv": { +"description": "V1 error format.", +"enum": [ +"1", +"2" +], +"enumDescriptions": [ +"v1 error format", +"v2 error format" +], +"location": "query", +"type": "string" +}, +"access_token": { +"description": "OAuth access token.", +"location": "query", +"type": "string" +}, +"alt": { +"default": "json", +"description": "Data format for response.", +"enum": [ +"json", +"media", +"proto" +], +"enumDescriptions": [ +"Responses with Content-Type of application/json", +"Media download with context-dependent Content-Type", +"Responses with Content-Type of application/x-protobuf" +], +"location": "query", +"type": "string" +}, +"callback": { +"description": "JSONP", +"location": "query", +"type": "string" +}, +"fields": { +"description": "Selector specifying which fields to include in a partial response.", +"location": "query", +"type": "string" +}, +"key": { +"description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", +"location": "query", +"type": "string" +}, +"oauth_token": { +"description": "OAuth 2.0 token for the current user.", +"location": "query", +"type": "string" +}, +"prettyPrint": { +"default": "true", +"description": "Returns response with indentations and line breaks.", +"location": "query", +"type": "boolean" +}, +"quotaUser": { +"description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.", +"location": "query", +"type": "string" +}, +"uploadType": { +"description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", +"location": "query", +"type": "string" +}, +"upload_protocol": { +"description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", +"location": "query", +"type": "string" +} +}, +"protocol": "rest", +"resources": { +"operations": { +"methods": { +"get": { +"description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", +"flatPath": "v1p1beta1/operations/{operationsId}", +"httpMethod": "GET", +"id": "speech.operations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource.", +"location": "path", +"pattern": "^.*$", +"required": true, +"type": "string" +} +}, +"path": "v1p1beta1/operations/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.", +"flatPath": "v1p1beta1/operations", +"httpMethod": "GET", +"id": "speech.operations.list", +"parameterOrder": [], +"parameters": { +"filter": { +"description": "The standard list filter.", +"location": "query", +"type": "string" +}, +"name": { +"description": "The name of the operation's parent resource.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "The standard list page size.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The standard list page token.", +"location": "query", +"type": "string" +}, +"returnPartialSuccess": { +"description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `\"projects/example/locations/-\"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1p1beta1/operations", +"response": { +"$ref": "ListOperationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"projects": { +"resources": { +"locations": { +"resources": { +"customClasses": { +"methods": { +"create": { +"description": "Create a custom class.", +"flatPath": "v1p1beta1/projects/{projectsId}/locations/{locationsId}/customClasses", +"httpMethod": "POST", +"id": "speech.projects.locations.customClasses.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The parent resource where this custom class will be created. Format: `projects/{project}/locations/{location}/customClasses` Speech-to-Text supports three locations: `global`, `us` (US North America), and `eu` (Europe). If you are calling the `speech.googleapis.com` endpoint, use the `global` location. To specify a region, use a [regional endpoint](https://cloud.google.com/speech-to-text/docs/endpoints) with matching `us` or `eu` location value.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1p1beta1/{+parent}/customClasses", +"request": { +"$ref": "CreateCustomClassRequest" +}, +"response": { +"$ref": "CustomClass" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Delete a custom class.", +"flatPath": "v1p1beta1/projects/{projectsId}/locations/{locationsId}/customClasses/{customClassesId}", +"httpMethod": "DELETE", +"id": "speech.projects.locations.customClasses.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the custom class to delete. Format: `projects/{project}/locations/{location}/customClasses/{custom_class}` Speech-to-Text supports three locations: `global`, `us` (US North America), and `eu` (Europe). If you are calling the `speech.googleapis.com` endpoint, use the `global` location. To specify a region, use a [regional endpoint](https://cloud.google.com/speech-to-text/docs/endpoints) with matching `us` or `eu` location value.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/customClasses/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1p1beta1/{+name}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Get a custom class.", +"flatPath": "v1p1beta1/projects/{projectsId}/locations/{locationsId}/customClasses/{customClassesId}", +"httpMethod": "GET", +"id": "speech.projects.locations.customClasses.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the custom class to retrieve. Format: `projects/{project}/locations/{location}/customClasses/{custom_class}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/customClasses/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1p1beta1/{+name}", +"response": { +"$ref": "CustomClass" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "List custom classes.", +"flatPath": "v1p1beta1/projects/{projectsId}/locations/{locationsId}/customClasses", +"httpMethod": "GET", +"id": "speech.projects.locations.customClasses.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "The maximum number of custom classes to return. The service may return fewer than this value. If unspecified, at most 50 custom classes will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A page token, received from a previous `ListCustomClass` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListCustomClass` must match the call that provided the page token.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent, which owns this collection of custom classes. Format: `projects/{project}/locations/{location}/customClasses` Speech-to-Text supports three locations: `global`, `us` (US North America), and `eu` (Europe). If you are calling the `speech.googleapis.com` endpoint, use the `global` location. To specify a region, use a [regional endpoint](https://cloud.google.com/speech-to-text/docs/endpoints) with matching `us` or `eu` location value.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1p1beta1/{+parent}/customClasses", +"response": { +"$ref": "ListCustomClassesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Update a custom class.", +"flatPath": "v1p1beta1/projects/{projectsId}/locations/{locationsId}/customClasses/{customClassesId}", +"httpMethod": "PATCH", +"id": "speech.projects.locations.customClasses.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The resource name of the custom class.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/customClasses/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "The list of fields to be updated.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1p1beta1/{+name}", +"request": { +"$ref": "CustomClass" +}, +"response": { +"$ref": "CustomClass" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"phraseSets": { +"methods": { +"create": { +"description": "Create a set of phrase hints. Each item in the set can be a single word or a multi-word phrase. The items in the PhraseSet are favored by the recognition model when you send a call that includes the PhraseSet.", +"flatPath": "v1p1beta1/projects/{projectsId}/locations/{locationsId}/phraseSets", +"httpMethod": "POST", +"id": "speech.projects.locations.phraseSets.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The parent resource where this phrase set will be created. Format: `projects/{project}/locations/{location}` Speech-to-Text supports three locations: `global`, `us` (US North America), and `eu` (Europe). If you are calling the `speech.googleapis.com` endpoint, use the `global` location. To specify a region, use a [regional endpoint](https://cloud.google.com/speech-to-text/docs/endpoints) with matching `us` or `eu` location value.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1p1beta1/{+parent}/phraseSets", +"request": { +"$ref": "CreatePhraseSetRequest" +}, +"response": { +"$ref": "PhraseSet" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Delete a phrase set.", +"flatPath": "v1p1beta1/projects/{projectsId}/locations/{locationsId}/phraseSets/{phraseSetsId}", +"httpMethod": "DELETE", +"id": "speech.projects.locations.phraseSets.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the phrase set to delete. Format: `projects/{project}/locations/{location}/phraseSets/{phrase_set}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/phraseSets/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1p1beta1/{+name}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Get a phrase set.", +"flatPath": "v1p1beta1/projects/{projectsId}/locations/{locationsId}/phraseSets/{phraseSetsId}", +"httpMethod": "GET", +"id": "speech.projects.locations.phraseSets.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the phrase set to retrieve. Format: `projects/{project}/locations/{location}/phraseSets/{phrase_set}` Speech-to-Text supports three locations: `global`, `us` (US North America), and `eu` (Europe). If you are calling the `speech.googleapis.com` endpoint, use the `global` location. To specify a region, use a [regional endpoint](https://cloud.google.com/speech-to-text/docs/endpoints) with matching `us` or `eu` location value.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/phraseSets/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1p1beta1/{+name}", +"response": { +"$ref": "PhraseSet" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "List phrase sets.", +"flatPath": "v1p1beta1/projects/{projectsId}/locations/{locationsId}/phraseSets", +"httpMethod": "GET", +"id": "speech.projects.locations.phraseSets.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "The maximum number of phrase sets to return. The service may return fewer than this value. If unspecified, at most 50 phrase sets will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A page token, received from a previous `ListPhraseSet` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListPhraseSet` must match the call that provided the page token.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent, which owns this collection of phrase set. Format: `projects/{project}/locations/{location}` Speech-to-Text supports three locations: `global`, `us` (US North America), and `eu` (Europe). If you are calling the `speech.googleapis.com` endpoint, use the `global` location. To specify a region, use a [regional endpoint](https://cloud.google.com/speech-to-text/docs/endpoints) with matching `us` or `eu` location value.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1p1beta1/{+parent}/phraseSets", +"response": { +"$ref": "ListPhraseSetResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Update a phrase set.", +"flatPath": "v1p1beta1/projects/{projectsId}/locations/{locationsId}/phraseSets/{phraseSetsId}", +"httpMethod": "PATCH", +"id": "speech.projects.locations.phraseSets.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The resource name of the phrase set.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/phraseSets/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "The list of fields to be updated.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1p1beta1/{+name}", +"request": { +"$ref": "PhraseSet" +}, +"response": { +"$ref": "PhraseSet" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +} +} +}, +"speech": { +"methods": { +"longrunningrecognize": { +"description": "Performs asynchronous speech recognition: receive results via the google.longrunning.Operations interface. Returns either an `Operation.error` or an `Operation.response` which contains a `LongRunningRecognizeResponse` message. For more information on asynchronous speech recognition, see the [how-to](https://cloud.google.com/speech-to-text/docs/async-recognize).", +"flatPath": "v1p1beta1/speech:longrunningrecognize", +"httpMethod": "POST", +"id": "speech.speech.longrunningrecognize", +"parameterOrder": [], +"parameters": {}, +"path": "v1p1beta1/speech:longrunningrecognize", +"request": { +"$ref": "LongRunningRecognizeRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"recognize": { +"description": "Performs synchronous speech recognition: receive results after all audio has been sent and processed.", +"flatPath": "v1p1beta1/speech:recognize", +"httpMethod": "POST", +"id": "speech.speech.recognize", +"parameterOrder": [], +"parameters": {}, +"path": "v1p1beta1/speech:recognize", +"request": { +"$ref": "RecognizeRequest" +}, +"response": { +"$ref": "RecognizeResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +}, +"revision": "20251201", +"rootUrl": "https://speech.googleapis.com/", +"schemas": { +"ABNFGrammar": { +"id": "ABNFGrammar", +"properties": { +"abnfStrings": { +"description": "All declarations and rules of an ABNF grammar broken up into multiple strings that will end up concatenated.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ClassItem": { +"description": "An item of the class.", +"id": "ClassItem", +"properties": { +"value": { +"description": "The class item's value.", +"type": "string" +} +}, +"type": "object" +}, +"CreateCustomClassRequest": { +"description": "Message sent by the client for the `CreateCustomClass` method.", +"id": "CreateCustomClassRequest", +"properties": { +"customClass": { +"$ref": "CustomClass", +"description": "Required. The custom class to create." +}, +"customClassId": { +"description": "Required. The ID to use for the custom class, which will become the final component of the custom class' resource name. This value should restrict to letters, numbers, and hyphens, with the first character a letter, the last a letter or a number, and be 4-63 characters.", +"type": "string" +} +}, +"type": "object" +}, +"CreatePhraseSetRequest": { +"description": "Message sent by the client for the `CreatePhraseSet` method.", +"id": "CreatePhraseSetRequest", +"properties": { +"phraseSet": { +"$ref": "PhraseSet", +"description": "Required. The phrase set to create." +}, +"phraseSetId": { +"description": "Required. The ID to use for the phrase set, which will become the final component of the phrase set's resource name. This value should restrict to letters, numbers, and hyphens, with the first character a letter, the last a letter or a number, and be 4-63 characters.", +"type": "string" +} +}, +"type": "object" +}, +"CustomClass": { +"description": "A set of words or phrases that represents a common concept likely to appear in your audio, for example a list of passenger ship names. CustomClass items can be substituted into placeholders that you set in PhraseSet phrases.", +"id": "CustomClass", +"properties": { +"annotations": { +"additionalProperties": { +"type": "string" +}, +"description": "Output only. Allows users to store small amounts of arbitrary data. Both the key and the value must be 63 characters or less each. At most 100 annotations. This field is not used.", +"readOnly": true, +"type": "object" +}, +"customClassId": { +"description": "If this custom class is a resource, the custom_class_id is the resource id of the CustomClass. Case sensitive.", +"type": "string" +}, +"deleteTime": { +"description": "Output only. The time at which this resource was requested for deletion. This field is not used.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"displayName": { +"description": "Output only. User-settable, human-readable name for the CustomClass. Must be 63 characters or less. This field is not used.", +"readOnly": true, +"type": "string" +}, +"etag": { +"description": "Output only. This checksum is computed by the server based on the value of other fields. This may be sent on update, undelete, and delete requests to ensure the client has an up-to-date value before proceeding. This field is not used.", +"readOnly": true, +"type": "string" +}, +"expireTime": { +"description": "Output only. The time at which this resource will be purged. This field is not used.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"items": { +"description": "A collection of class items.", +"items": { +"$ref": "ClassItem" +}, +"type": "array" +}, +"kmsKeyName": { +"description": "Output only. The [KMS key name](https://cloud.google.com/kms/docs/resource-hierarchy#keys) with which the content of the ClassItem is encrypted. The expected format is `projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}`.", +"readOnly": true, +"type": "string" +}, +"kmsKeyVersionName": { +"description": "Output only. The [KMS key version name](https://cloud.google.com/kms/docs/resource-hierarchy#key_versions) with which content of the ClassItem is encrypted. The expected format is `projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}/cryptoKeyVersions/{crypto_key_version}`.", +"readOnly": true, +"type": "string" +}, +"name": { +"description": "The resource name of the custom class.", +"type": "string" +}, +"reconciling": { +"description": "Output only. Whether or not this CustomClass is in the process of being updated. This field is not used.", +"readOnly": true, +"type": "boolean" +}, +"state": { +"description": "Output only. The CustomClass lifecycle state. This field is not used.", +"enum": [ +"STATE_UNSPECIFIED", +"ACTIVE", +"DELETED" +], +"enumDescriptions": [ +"Unspecified state. This is only used/useful for distinguishing unset values.", +"The normal and active state.", +"This CustomClass has been deleted." +], +"readOnly": true, +"type": "string" +}, +"uid": { +"description": "Output only. System-assigned unique identifier for the CustomClass. This field is not used.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"Empty": { +"description": "A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }", +"id": "Empty", +"properties": {}, +"type": "object" +}, +"Entry": { +"description": "A single replacement configuration.", +"id": "Entry", +"properties": { +"caseSensitive": { +"description": "Whether the search is case sensitive.", +"type": "boolean" +}, +"replace": { +"description": "What to replace with. Max length is 100 characters.", +"type": "string" +}, +"search": { +"description": "What to replace. Max length is 100 characters.", +"type": "string" +} +}, +"type": "object" +}, +"ListCustomClassesResponse": { +"description": "Message returned to the client by the `ListCustomClasses` method.", +"id": "ListCustomClassesResponse", +"properties": { +"customClasses": { +"description": "The custom classes.", +"items": { +"$ref": "CustomClass" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.", +"type": "string" +} +}, +"type": "object" +}, +"ListOperationsResponse": { +"description": "The response message for Operations.ListOperations.", +"id": "ListOperationsResponse", +"properties": { +"nextPageToken": { +"description": "The standard List next-page token.", +"type": "string" +}, +"operations": { +"description": "A list of operations that matches the specified filter in the request.", +"items": { +"$ref": "Operation" +}, +"type": "array" +}, +"unreachable": { +"description": "Unordered list. Unreachable resources. Populated when the request sets `ListOperationsRequest.return_partial_success` and reads across collections. For example, when attempting to list all resources across all supported locations.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListPhraseSetResponse": { +"description": "Message returned to the client by the `ListPhraseSet` method.", +"id": "ListPhraseSetResponse", +"properties": { +"nextPageToken": { +"description": "A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.", +"type": "string" +}, +"phraseSets": { +"description": "The phrase set.", +"items": { +"$ref": "PhraseSet" +}, +"type": "array" +} +}, +"type": "object" +}, +"LongRunningRecognizeMetadata": { +"description": "Describes the progress of a long-running `LongRunningRecognize` call. It is included in the `metadata` field of the `Operation` returned by the `GetOperation` call of the `google::longrunning::Operations` service.", +"id": "LongRunningRecognizeMetadata", +"properties": { +"lastUpdateTime": { +"description": "Time of the most recent processing update.", +"format": "google-datetime", +"type": "string" +}, +"outputConfig": { +"$ref": "TranscriptOutputConfig", +"description": "Output only. A copy of the TranscriptOutputConfig if it was set in the request.", +"readOnly": true +}, +"progressPercent": { +"description": "Approximate percentage of audio processed thus far. Guaranteed to be 100 when the audio is fully processed and the results are available.", +"format": "int32", +"type": "integer" +}, +"startTime": { +"description": "Time when the request was received.", +"format": "google-datetime", +"type": "string" +}, +"uri": { +"description": "Output only. The URI of the audio file being transcribed. Empty if the audio was sent as byte content.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"LongRunningRecognizeRequest": { +"description": "The top-level message sent by the client for the `LongRunningRecognize` method.", +"id": "LongRunningRecognizeRequest", +"properties": { +"audio": { +"$ref": "RecognitionAudio", +"description": "Required. The audio data to be recognized." +}, +"config": { +"$ref": "RecognitionConfig", +"description": "Required. Provides information to the recognizer that specifies how to process the request." +}, +"outputConfig": { +"$ref": "TranscriptOutputConfig", +"description": "Optional. Specifies an optional destination for the recognition results." +} +}, +"type": "object" +}, +"LongRunningRecognizeResponse": { +"description": "The only message returned to the client by the `LongRunningRecognize` method. It contains the result as zero or more sequential `SpeechRecognitionResult` messages. It is included in the `result.response` field of the `Operation` returned by the `GetOperation` call of the `google::longrunning::Operations` service.", +"id": "LongRunningRecognizeResponse", +"properties": { +"outputConfig": { +"$ref": "TranscriptOutputConfig", +"description": "Original output config if present in the request." +}, +"outputError": { +"$ref": "Status", +"description": "If the transcript output fails this field contains the relevant error." +}, +"requestId": { +"description": "The ID associated with the request. This is a unique ID specific only to the given request.", +"format": "int64", +"type": "string" +}, +"results": { +"description": "Sequential list of transcription results corresponding to sequential portions of audio.", +"items": { +"$ref": "SpeechRecognitionResult" +}, +"type": "array" +}, +"speechAdaptationInfo": { +"$ref": "SpeechAdaptationInfo", +"description": "Provides information on speech adaptation behavior in response" +}, +"totalBilledTime": { +"description": "When available, billed audio seconds for the corresponding request.", +"format": "google-duration", +"type": "string" +} +}, +"type": "object" +}, +"Operation": { +"description": "This resource represents a long-running operation that is the result of a network API call.", +"id": "Operation", +"properties": { +"done": { +"description": "If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.", +"type": "boolean" +}, +"error": { +"$ref": "Status", +"description": "The error result of the operation in case of failure or cancellation." +}, +"metadata": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.", +"type": "object" +}, +"name": { +"description": "The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.", +"type": "string" +}, +"response": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "The normal, successful response of the operation. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.", +"type": "object" +} +}, +"type": "object" +}, +"Phrase": { +"description": "A phrases containing words and phrase \"hints\" so that the speech recognition is more likely to recognize them. This can be used to improve the accuracy for specific words and phrases, for example, if specific commands are typically spoken by the user. This can also be used to add additional words to the vocabulary of the recognizer. See [usage limits](https://cloud.google.com/speech-to-text/quotas#content). List items can also include pre-built or custom classes containing groups of words that represent common concepts that occur in natural language. For example, rather than providing a phrase hint for every month of the year (e.g. \"i was born in january\", \"i was born in febuary\", ...), use the pre-built `$MONTH` class improves the likelihood of correctly transcribing audio that includes months (e.g. \"i was born in $month\"). To refer to pre-built classes, use the class' symbol prepended with `$` e.g. `$MONTH`. To refer to custom classes that were defined inline in the request, set the class's `custom_class_id` to a string unique to all class resources and inline classes. Then use the class' id wrapped in $`{...}` e.g. \"${my-months}\". To refer to custom classes resources, use the class' id wrapped in `${}` (e.g. `${my-months}`). Speech-to-Text supports three locations: `global`, `us` (US North America), and `eu` (Europe). If you are calling the `speech.googleapis.com` endpoint, use the `global` location. To specify a region, use a [regional endpoint](https://cloud.google.com/speech-to-text/docs/endpoints) with matching `us` or `eu` location value.", +"id": "Phrase", +"properties": { +"boost": { +"description": "Hint Boost. Overrides the boost set at the phrase set level. Positive value will increase the probability that a specific phrase will be recognized over other similar sounding phrases. The higher the boost, the higher the chance of false positive recognition as well. Negative boost will simply be ignored. Though `boost` can accept a wide range of positive values, most use cases are best served with values between 0 and 20. We recommend using a binary search approach to finding the optimal value for your use case as well as adding phrases both with and without boost to your requests.", +"format": "float", +"type": "number" +}, +"value": { +"description": "The phrase itself.", +"type": "string" +} +}, +"type": "object" +}, +"PhraseSet": { +"description": "Provides \"hints\" to the speech recognizer to favor specific words and phrases in the results.", +"id": "PhraseSet", +"properties": { +"annotations": { +"additionalProperties": { +"type": "string" +}, +"description": "Output only. Allows users to store small amounts of arbitrary data. Both the key and the value must be 63 characters or less each. At most 100 annotations. This field is not used.", +"readOnly": true, +"type": "object" +}, +"boost": { +"description": "Hint Boost. Positive value will increase the probability that a specific phrase will be recognized over other similar sounding phrases. The higher the boost, the higher the chance of false positive recognition as well. Negative boost values would correspond to anti-biasing. Anti-biasing is not enabled, so negative boost will simply be ignored. Though `boost` can accept a wide range of positive values, most use cases are best served with values between 0 (exclusive) and 20. We recommend using a binary search approach to finding the optimal value for your use case as well as adding phrases both with and without boost to your requests.", +"format": "float", +"type": "number" +}, +"deleteTime": { +"description": "Output only. The time at which this resource was requested for deletion. This field is not used.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"displayName": { +"description": "Output only. User-settable, human-readable name for the PhraseSet. Must be 63 characters or less. This field is not used.", +"readOnly": true, +"type": "string" +}, +"etag": { +"description": "Output only. This checksum is computed by the server based on the value of other fields. This may be sent on update, undelete, and delete requests to ensure the client has an up-to-date value before proceeding. This field is not used.", +"readOnly": true, +"type": "string" +}, +"expireTime": { +"description": "Output only. The time at which this resource will be purged. This field is not used.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"kmsKeyName": { +"description": "Output only. The [KMS key name](https://cloud.google.com/kms/docs/resource-hierarchy#keys) with which the content of the PhraseSet is encrypted. The expected format is `projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}`.", +"readOnly": true, +"type": "string" +}, +"kmsKeyVersionName": { +"description": "Output only. The [KMS key version name](https://cloud.google.com/kms/docs/resource-hierarchy#key_versions) with which content of the PhraseSet is encrypted. The expected format is `projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}/cryptoKeyVersions/{crypto_key_version}`.", +"readOnly": true, +"type": "string" +}, +"name": { +"description": "The resource name of the phrase set.", +"type": "string" +}, +"phrases": { +"description": "A list of word and phrases.", +"items": { +"$ref": "Phrase" +}, +"type": "array" +}, +"reconciling": { +"description": "Output only. Whether or not this PhraseSet is in the process of being updated. This field is not used.", +"readOnly": true, +"type": "boolean" +}, +"state": { +"description": "Output only. The CustomClass lifecycle state. This field is not used.", +"enum": [ +"STATE_UNSPECIFIED", +"ACTIVE", +"DELETED" +], +"enumDescriptions": [ +"Unspecified state. This is only used/useful for distinguishing unset values.", +"The normal and active state.", +"This CustomClass has been deleted." +], +"readOnly": true, +"type": "string" +}, +"uid": { +"description": "Output only. System-assigned unique identifier for the PhraseSet. This field is not used.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"RecognitionAudio": { +"description": "Contains audio data in the encoding specified in the `RecognitionConfig`. Either `content` or `uri` must be supplied. Supplying both or neither returns google.rpc.Code.INVALID_ARGUMENT. See [content limits](https://cloud.google.com/speech-to-text/quotas#content).", +"id": "RecognitionAudio", +"properties": { +"content": { +"description": "The audio data bytes encoded as specified in `RecognitionConfig`. Note: as with all bytes fields, proto buffers use a pure binary representation, whereas JSON representations use base64.", +"format": "byte", +"type": "string" +}, +"uri": { +"description": "URI that points to a file that contains audio data bytes as specified in `RecognitionConfig`. The file must not be compressed (for example, gzip). Currently, only Google Cloud Storage URIs are supported, which must be specified in the following format: `gs://bucket_name/object_name` (other URI formats return google.rpc.Code.INVALID_ARGUMENT). For more information, see [Request URIs](https://cloud.google.com/storage/docs/reference-uris).", +"type": "string" +} +}, +"type": "object" +}, +"RecognitionConfig": { +"description": "Provides information to the recognizer that specifies how to process the request.", +"id": "RecognitionConfig", +"properties": { +"adaptation": { +"$ref": "SpeechAdaptation", +"description": "Speech adaptation configuration improves the accuracy of speech recognition. For more information, see the [speech adaptation](https://cloud.google.com/speech-to-text/docs/adaptation) documentation. When speech adaptation is set it supersedes the `speech_contexts` field." +}, +"alternativeLanguageCodes": { +"description": "A list of up to 3 additional [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tags, listing possible alternative languages of the supplied audio. See [Language Support](https://cloud.google.com/speech-to-text/docs/languages) for a list of the currently supported language codes. If alternative languages are listed, recognition result will contain recognition in the most likely language detected including the main language_code. The recognition result will include the language tag of the language detected in the audio. Note: This feature is only supported for Voice Command and Voice Search use cases and performance may vary for other use cases (e.g., phone call transcription).", +"items": { +"type": "string" +}, +"type": "array" +}, +"audioChannelCount": { +"description": "The number of channels in the input audio data. ONLY set this for MULTI-CHANNEL recognition. Valid values for LINEAR16, OGG_OPUS and FLAC are `1`-`8`. Valid value for MULAW, AMR, AMR_WB and SPEEX_WITH_HEADER_BYTE is only `1`. If `0` or omitted, defaults to one channel (mono). Note: We only recognize the first channel by default. To perform independent recognition on each channel set `enable_separate_recognition_per_channel` to 'true'.", +"format": "int32", +"type": "integer" +}, +"diarizationConfig": { +"$ref": "SpeakerDiarizationConfig", +"description": "Config to enable speaker diarization and set additional parameters to make diarization better suited for your application. Note: When this is enabled, we send all the words from the beginning of the audio for the top alternative in every consecutive STREAMING responses. This is done in order to improve our speaker tags as our models learn to identify the speakers in the conversation over time. For non-streaming requests, the diarization results will be provided only in the top alternative of the FINAL SpeechRecognitionResult." +}, +"diarizationSpeakerCount": { +"deprecated": true, +"description": "If set, specifies the estimated number of speakers in the conversation. Defaults to '2'. Ignored unless enable_speaker_diarization is set to true. Note: Use diarization_config instead.", +"format": "int32", +"type": "integer" +}, +"enableAutomaticPunctuation": { +"description": "If 'true', adds punctuation to recognition result hypotheses. This feature is only available in select languages. Setting this for requests in other languages has no effect at all. The default 'false' value does not add punctuation to result hypotheses.", +"type": "boolean" +}, +"enableSeparateRecognitionPerChannel": { +"description": "This needs to be set to `true` explicitly and `audio_channel_count` > 1 to get each channel recognized separately. The recognition result will contain a `channel_tag` field to state which channel that result belongs to. If this is not true, we will only recognize the first channel. The request is billed cumulatively for all channels recognized: `audio_channel_count` multiplied by the length of the audio.", +"type": "boolean" +}, +"enableSpeakerDiarization": { +"deprecated": true, +"description": "If 'true', enables speaker detection for each recognized word in the top alternative of the recognition result using a speaker_label provided in the WordInfo. Note: Use diarization_config instead.", +"type": "boolean" +}, +"enableSpokenEmojis": { +"description": "The spoken emoji behavior for the call If not set, uses default behavior based on model of choice If 'true', adds spoken emoji formatting for the request. This will replace spoken emojis with the corresponding Unicode symbols in the final transcript. If 'false', spoken emojis are not replaced.", +"type": "boolean" +}, +"enableSpokenPunctuation": { +"description": "The spoken punctuation behavior for the call If not set, uses default behavior based on model of choice e.g. command_and_search will enable spoken punctuation by default If 'true', replaces spoken punctuation with the corresponding symbols in the request. For example, \"how are you question mark\" becomes \"how are you?\". See https://cloud.google.com/speech-to-text/docs/spoken-punctuation for support. If 'false', spoken punctuation is not replaced.", +"type": "boolean" +}, +"enableWordConfidence": { +"description": "If `true`, the top result includes a list of words and the confidence for those words. If `false`, no word-level confidence information is returned. The default is `false`.", +"type": "boolean" +}, +"enableWordTimeOffsets": { +"description": "If `true`, the top result includes a list of words and the start and end time offsets (timestamps) for those words. If `false`, no word-level time offset information is returned. The default is `false`.", +"type": "boolean" +}, +"encoding": { +"description": "Encoding of audio data sent in all `RecognitionAudio` messages. This field is optional for `FLAC` and `WAV` audio files and required for all other audio formats. For details, see AudioEncoding.", +"enum": [ +"ENCODING_UNSPECIFIED", +"LINEAR16", +"FLAC", +"MULAW", +"AMR", +"AMR_WB", +"OGG_OPUS", +"SPEEX_WITH_HEADER_BYTE", +"MP3", +"WEBM_OPUS", +"ALAW" +], +"enumDescriptions": [ +"Not specified.", +"Uncompressed 16-bit signed little-endian samples (Linear PCM).", +"`FLAC` (Free Lossless Audio Codec) is the recommended encoding because it is lossless--therefore recognition is not compromised--and requires only about half the bandwidth of `LINEAR16`. `FLAC` stream encoding supports 16-bit and 24-bit samples, however, not all fields in `STREAMINFO` are supported.", +"8-bit samples that compand 14-bit audio samples using G.711 PCMU/mu-law.", +"Adaptive Multi-Rate Narrowband codec. `sample_rate_hertz` must be 8000.", +"Adaptive Multi-Rate Wideband codec. `sample_rate_hertz` must be 16000.", +"Opus encoded audio frames in Ogg container ([OggOpus](https://wiki.xiph.org/OggOpus)). `sample_rate_hertz` must be one of 8000, 12000, 16000, 24000, or 48000.", +"Although the use of lossy encodings is not recommended, if a very low bitrate encoding is required, `OGG_OPUS` is highly preferred over Speex encoding. The [Speex](https://speex.org/) encoding supported by Cloud Speech API has a header byte in each block, as in MIME type `audio/x-speex-with-header-byte`. It is a variant of the RTP Speex encoding defined in [RFC 5574](https://tools.ietf.org/html/rfc5574). The stream is a sequence of blocks, one block per RTP packet. Each block starts with a byte containing the length of the block, in bytes, followed by one or more frames of Speex data, padded to an integral number of bytes (octets) as specified in RFC 5574. In other words, each RTP header is replaced with a single byte containing the block length. Only Speex wideband is supported. `sample_rate_hertz` must be 16000.", +"MP3 audio. MP3 encoding is a Beta feature and only available in v1p1beta1. Support all standard MP3 bitrates (which range from 32-320 kbps). When using this encoding, `sample_rate_hertz` has to match the sample rate of the file being used.", +"Opus encoded audio frames in WebM container ([WebM](https://www.webmproject.org/docs/container/)). `sample_rate_hertz` must be one of 8000, 12000, 16000, 24000, or 48000.", +"8-bit samples that compand 13-bit audio samples using G.711 PCMU/a-law." +], +"type": "string" +}, +"languageCode": { +"description": "Required. The language of the supplied audio as a [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag. Example: \"en-US\". See [Language Support](https://cloud.google.com/speech-to-text/docs/languages) for a list of the currently supported language codes.", +"type": "string" +}, +"maxAlternatives": { +"description": "Maximum number of recognition hypotheses to be returned. Specifically, the maximum number of `SpeechRecognitionAlternative` messages within each `SpeechRecognitionResult`. The server may return fewer than `max_alternatives`. Valid values are `0`-`30`. A value of `0` or `1` will return a maximum of one. If omitted, will return a maximum of one.", +"format": "int32", +"type": "integer" +}, +"metadata": { +"$ref": "RecognitionMetadata", +"description": "Metadata regarding this request." +}, +"model": { +"description": "Which model to select for the given request. Select the model best suited to your domain to get best results. If a model is not explicitly specified, then we auto-select a model based on the parameters in the RecognitionConfig. *Model* *Description* latest_long Best for long form content like media or conversation. latest_short Best for short form content like commands or single shot directed speech. command_and_search Best for short queries such as voice commands or voice search. phone_call Best for audio that originated from a phone call (typically recorded at an 8khz sampling rate). video Best for audio that originated from video or includes multiple speakers. Ideally the audio is recorded at a 16khz or greater sampling rate. This is a premium model that costs more than the standard rate. default Best for audio that is not one of the specific audio models. For example, long-form audio. Ideally the audio is high-fidelity, recorded at a 16khz or greater sampling rate. medical_conversation Best for audio that originated from a conversation between a medical provider and patient. medical_dictation Best for audio that originated from dictation notes by a medical provider. ", +"type": "string" +}, +"profanityFilter": { +"description": "If set to `true`, the server will attempt to filter out profanities, replacing all but the initial character in each filtered word with asterisks, e.g. \"f***\". If set to `false` or omitted, profanities won't be filtered out.", +"type": "boolean" +}, +"sampleRateHertz": { +"description": "Sample rate in Hertz of the audio data sent in all `RecognitionAudio` messages. Valid values are: 8000-48000. 16000 is optimal. For best results, set the sampling rate of the audio source to 16000 Hz. If that's not possible, use the native sample rate of the audio source (instead of re-sampling). This field is optional for FLAC and WAV audio files, but is required for all other audio formats. For details, see AudioEncoding.", +"format": "int32", +"type": "integer" +}, +"speechContexts": { +"description": "Array of SpeechContext. A means to provide context to assist the speech recognition. For more information, see [speech adaptation](https://cloud.google.com/speech-to-text/docs/adaptation).", +"items": { +"$ref": "SpeechContext" +}, +"type": "array" +}, +"transcriptNormalization": { +"$ref": "TranscriptNormalization", +"description": "Optional. Use transcription normalization to automatically replace parts of the transcript with phrases of your choosing. For StreamingRecognize, this normalization only applies to stable partial transcripts (stability > 0.8) and final transcripts." +}, +"useEnhanced": { +"description": "Set to true to use an enhanced model for speech recognition. If `use_enhanced` is set to true and the `model` field is not set, then an appropriate enhanced model is chosen if an enhanced model exists for the audio. If `use_enhanced` is true and an enhanced version of the specified model does not exist, then the speech is recognized using the standard version of the specified model.", +"type": "boolean" +} +}, +"type": "object" +}, +"RecognitionMetadata": { +"deprecated": true, +"description": "Description of audio data to be recognized.", +"id": "RecognitionMetadata", +"properties": { +"audioTopic": { +"description": "Description of the content. Eg. \"Recordings of federal supreme court hearings from 2012\".", +"type": "string" +}, +"industryNaicsCodeOfAudio": { +"description": "The industry vertical to which this speech recognition request most closely applies. This is most indicative of the topics contained in the audio. Use the 6-digit NAICS code to identify the industry vertical - see https://www.naics.com/search/.", +"format": "uint32", +"type": "integer" +}, +"interactionType": { +"description": "The use case most closely describing the audio content to be recognized.", +"enum": [ +"INTERACTION_TYPE_UNSPECIFIED", +"DISCUSSION", +"PRESENTATION", +"PHONE_CALL", +"VOICEMAIL", +"PROFESSIONALLY_PRODUCED", +"VOICE_SEARCH", +"VOICE_COMMAND", +"DICTATION" +], +"enumDescriptions": [ +"Use case is either unknown or is something other than one of the other values below.", +"Multiple people in a conversation or discussion. For example in a meeting with two or more people actively participating. Typically all the primary people speaking would be in the same room (if not, see PHONE_CALL)", +"One or more persons lecturing or presenting to others, mostly uninterrupted.", +"A phone-call or video-conference in which two or more people, who are not in the same room, are actively participating.", +"A recorded message intended for another person to listen to.", +"Professionally produced audio (eg. TV Show, Podcast).", +"Transcribe spoken questions and queries into text.", +"Transcribe voice commands, such as for controlling a device.", +"Transcribe speech to text to create a written document, such as a text-message, email or report." +], +"type": "string" +}, +"microphoneDistance": { +"description": "The audio type that most closely describes the audio being recognized.", +"enum": [ +"MICROPHONE_DISTANCE_UNSPECIFIED", +"NEARFIELD", +"MIDFIELD", +"FARFIELD" +], +"enumDescriptions": [ +"Audio type is not known.", +"The audio was captured from a closely placed microphone. Eg. phone, dictaphone, or handheld microphone. Generally if there speaker is within 1 meter of the microphone.", +"The speaker if within 3 meters of the microphone.", +"The speaker is more than 3 meters away from the microphone." +], +"type": "string" +}, +"obfuscatedId": { +"deprecated": true, +"description": "Obfuscated (privacy-protected) ID of the user, to identify number of unique users using the service.", +"format": "int64", +"type": "string" +}, +"originalMediaType": { +"description": "The original media the speech was recorded on.", +"enum": [ +"ORIGINAL_MEDIA_TYPE_UNSPECIFIED", +"AUDIO", +"VIDEO" +], +"enumDescriptions": [ +"Unknown original media type.", +"The speech data is an audio recording.", +"The speech data originally recorded on a video." +], +"type": "string" +}, +"originalMimeType": { +"description": "Mime type of the original audio file. For example `audio/m4a`, `audio/x-alaw-basic`, `audio/mp3`, `audio/3gpp`. A list of possible audio mime types is maintained at http://www.iana.org/assignments/media-types/media-types.xhtml#audio", +"type": "string" +}, +"recordingDeviceName": { +"description": "The device used to make the recording. Examples 'Nexus 5X' or 'Polycom SoundStation IP 6000' or 'POTS' or 'VoIP' or 'Cardioid Microphone'.", +"type": "string" +}, +"recordingDeviceType": { +"description": "The type of device the speech was recorded with.", +"enum": [ +"RECORDING_DEVICE_TYPE_UNSPECIFIED", +"SMARTPHONE", +"PC", +"PHONE_LINE", +"VEHICLE", +"OTHER_OUTDOOR_DEVICE", +"OTHER_INDOOR_DEVICE" +], +"enumDescriptions": [ +"The recording device is unknown.", +"Speech was recorded on a smartphone.", +"Speech was recorded using a personal computer or tablet.", +"Speech was recorded over a phone line.", +"Speech was recorded in a vehicle.", +"Speech was recorded outdoors.", +"Speech was recorded indoors." +], +"type": "string" +} +}, +"type": "object" +}, +"RecognizeRequest": { +"description": "The top-level message sent by the client for the `Recognize` method.", +"id": "RecognizeRequest", +"properties": { +"audio": { +"$ref": "RecognitionAudio", +"description": "Required. The audio data to be recognized." +}, +"config": { +"$ref": "RecognitionConfig", +"description": "Required. Provides information to the recognizer that specifies how to process the request." +} +}, +"type": "object" +}, +"RecognizeResponse": { +"description": "The only message returned to the client by the `Recognize` method. It contains the result as zero or more sequential `SpeechRecognitionResult` messages.", +"id": "RecognizeResponse", +"properties": { +"requestId": { +"description": "The ID associated with the request. This is a unique ID specific only to the given request.", +"format": "int64", +"type": "string" +}, +"results": { +"description": "Sequential list of transcription results corresponding to sequential portions of audio.", +"items": { +"$ref": "SpeechRecognitionResult" +}, +"type": "array" +}, +"speechAdaptationInfo": { +"$ref": "SpeechAdaptationInfo", +"description": "Provides information on adaptation behavior in response" +}, +"totalBilledTime": { +"description": "When available, billed audio seconds for the corresponding request.", +"format": "google-duration", +"type": "string" +}, +"usingLegacyModels": { +"description": "Whether request used legacy asr models (was not automatically migrated to use conformer models).", +"type": "boolean" +} +}, +"type": "object" +}, +"SpeakerDiarizationConfig": { +"description": "Config to enable speaker diarization.", +"id": "SpeakerDiarizationConfig", +"properties": { +"enableSpeakerDiarization": { +"description": "If 'true', enables speaker detection for each recognized word in the top alternative of the recognition result using a speaker_label provided in the WordInfo.", +"type": "boolean" +}, +"maxSpeakerCount": { +"description": "Maximum number of speakers in the conversation. This range gives you more flexibility by allowing the system to automatically determine the correct number of speakers. If not set, the default value is 6.", +"format": "int32", +"type": "integer" +}, +"minSpeakerCount": { +"description": "Minimum number of speakers in the conversation. This range gives you more flexibility by allowing the system to automatically determine the correct number of speakers. If not set, the default value is 2.", +"format": "int32", +"type": "integer" +}, +"speakerTag": { +"deprecated": true, +"description": "Output only. Unused.", +"format": "int32", +"readOnly": true, +"type": "integer" +} +}, +"type": "object" +}, +"SpeechAdaptation": { +"description": "Speech adaptation configuration.", +"id": "SpeechAdaptation", +"properties": { +"abnfGrammar": { +"$ref": "ABNFGrammar", +"description": "Augmented Backus-Naur form (ABNF) is a standardized grammar notation comprised by a set of derivation rules. See specifications: https://www.w3.org/TR/speech-grammar" +}, +"customClasses": { +"description": "A collection of custom classes. To specify the classes inline, leave the class' `name` blank and fill in the rest of its fields, giving it a unique `custom_class_id`. Refer to the inline defined class in phrase hints by its `custom_class_id`.", +"items": { +"$ref": "CustomClass" +}, +"type": "array" +}, +"phraseSetReferences": { +"description": "A collection of phrase set resource names to use.", +"items": { +"type": "string" +}, +"type": "array" +}, +"phraseSets": { +"description": "A collection of phrase sets. To specify the hints inline, leave the phrase set's `name` blank and fill in the rest of its fields. Any phrase set can use any custom class.", +"items": { +"$ref": "PhraseSet" +}, +"type": "array" +} +}, +"type": "object" +}, +"SpeechAdaptationInfo": { +"description": "Information on speech adaptation use in results", +"id": "SpeechAdaptationInfo", +"properties": { +"adaptationTimeout": { +"description": "Whether there was a timeout when applying speech adaptation. If true, adaptation had no effect in the response transcript.", +"type": "boolean" +}, +"timeoutMessage": { +"description": "If set, returns a message specifying which part of the speech adaptation request timed out.", +"type": "string" +} +}, +"type": "object" +}, +"SpeechContext": { +"description": "Provides \"hints\" to the speech recognizer to favor specific words and phrases in the results.", +"id": "SpeechContext", +"properties": { +"boost": { +"description": "Hint Boost. Positive value will increase the probability that a specific phrase will be recognized over other similar sounding phrases. The higher the boost, the higher the chance of false positive recognition as well. Negative boost values would correspond to anti-biasing. Anti-biasing is not enabled, so negative boost will simply be ignored. Though `boost` can accept a wide range of positive values, most use cases are best served with values between 0 and 20. We recommend using a binary search approach to finding the optimal value for your use case.", +"format": "float", +"type": "number" +}, +"phrases": { +"description": "A list of strings containing words and phrases \"hints\" so that the speech recognition is more likely to recognize them. This can be used to improve the accuracy for specific words and phrases, for example, if specific commands are typically spoken by the user. This can also be used to add additional words to the vocabulary of the recognizer. See [usage limits](https://cloud.google.com/speech-to-text/quotas#content). List items can also be set to classes for groups of words that represent common concepts that occur in natural language. For example, rather than providing phrase hints for every month of the year, using the $MONTH class improves the likelihood of correctly transcribing audio that includes months.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"SpeechRecognitionAlternative": { +"description": "Alternative hypotheses (a.k.a. n-best list).", +"id": "SpeechRecognitionAlternative", +"properties": { +"confidence": { +"description": "The confidence estimate between 0.0 and 1.0. A higher number indicates an estimated greater likelihood that the recognized words are correct. This field is set only for the top alternative of a non-streaming result or, of a streaming result where `is_final=true`. This field is not guaranteed to be accurate and users should not rely on it to be always provided. The default of 0.0 is a sentinel value indicating `confidence` was not set.", +"format": "float", +"type": "number" +}, +"transcript": { +"description": "Transcript text representing the words that the user spoke. In languages that use spaces to separate words, the transcript might have a leading space if it isn't the first result. You can concatenate each result to obtain the full transcript without using a separator.", +"type": "string" +}, +"words": { +"description": "A list of word-specific information for each recognized word. Note: When `enable_speaker_diarization` is true, you will see all the words from the beginning of the audio.", +"items": { +"$ref": "WordInfo" +}, +"type": "array" +} +}, +"type": "object" +}, +"SpeechRecognitionResult": { +"description": "A speech recognition result corresponding to a portion of the audio.", +"id": "SpeechRecognitionResult", +"properties": { +"alternatives": { +"description": "May contain one or more recognition hypotheses (up to the maximum specified in `max_alternatives`). These alternatives are ordered in terms of accuracy, with the top (first) alternative being the most probable, as ranked by the recognizer.", +"items": { +"$ref": "SpeechRecognitionAlternative" +}, +"type": "array" +}, +"channelTag": { +"description": "For multi-channel audio, this is the channel number corresponding to the recognized result for the audio from that channel. For audio_channel_count = N, its output values can range from '1' to 'N'.", +"format": "int32", +"type": "integer" +}, +"languageCode": { +"description": "Output only. The [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag of the language in this result. This language code was detected to have the most likelihood of being spoken in the audio.", +"readOnly": true, +"type": "string" +}, +"resultEndTime": { +"description": "Time offset of the end of this result relative to the beginning of the audio.", +"format": "google-duration", +"type": "string" +} +}, +"type": "object" +}, +"Status": { +"description": "The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors).", +"id": "Status", +"properties": { +"code": { +"description": "The status code, which should be an enum value of google.rpc.Code.", +"format": "int32", +"type": "integer" +}, +"details": { +"description": "A list of messages that carry the error details. There is a common set of message types for APIs to use.", +"items": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.", +"type": "string" +} +}, +"type": "object" +}, +"TranscriptNormalization": { +"description": "Transcription normalization configuration. Use transcription normalization to automatically replace parts of the transcript with phrases of your choosing. For StreamingRecognize, this normalization only applies to stable partial transcripts (stability > 0.8) and final transcripts.", +"id": "TranscriptNormalization", +"properties": { +"entries": { +"description": "A list of replacement entries. We will perform replacement with one entry at a time. For example, the second entry in [\"cat\" => \"dog\", \"mountain cat\" => \"mountain dog\"] will never be applied because we will always process the first entry before it. At most 100 entries.", +"items": { +"$ref": "Entry" +}, +"type": "array" +} +}, +"type": "object" +}, +"TranscriptOutputConfig": { +"description": "Specifies an optional destination for the recognition results.", +"id": "TranscriptOutputConfig", +"properties": { +"gcsUri": { +"description": "Specifies a Cloud Storage URI for the recognition results. Must be specified in the format: `gs://bucket_name/object_name`, and the bucket must already exist.", +"type": "string" +} +}, +"type": "object" +}, +"WordInfo": { +"description": "Word-specific information for recognized words.", +"id": "WordInfo", +"properties": { +"confidence": { +"description": "The confidence estimate between 0.0 and 1.0. A higher number indicates an estimated greater likelihood that the recognized words are correct. This field is set only for the top alternative of a non-streaming result or, of a streaming result where `is_final=true`. This field is not guaranteed to be accurate and users should not rely on it to be always provided. The default of 0.0 is a sentinel value indicating `confidence` was not set.", +"format": "float", +"type": "number" +}, +"endTime": { +"description": "Time offset relative to the beginning of the audio, and corresponding to the end of the spoken word. This field is only set if `enable_word_time_offsets=true` and only in the top hypothesis. This is an experimental feature and the accuracy of the time offset can vary.", +"format": "google-duration", +"type": "string" +}, +"speakerLabel": { +"description": "Output only. A label value assigned for every unique speaker within the audio. This field specifies which speaker was detected to have spoken this word. For some models, like medical_conversation this can be actual speaker role, for example \"patient\" or \"provider\", but generally this would be a number identifying a speaker. This field is only set if enable_speaker_diarization = 'true' and only for the top alternative.", +"readOnly": true, +"type": "string" +}, +"speakerTag": { +"deprecated": true, +"description": "Output only. A distinct integer value is assigned for every speaker within the audio. This field specifies which one of those speakers was detected to have spoken this word. Value ranges from '1' to diarization_speaker_count. speaker_tag is set if enable_speaker_diarization = 'true' and only for the top alternative. Note: Use speaker_label instead.", +"format": "int32", +"readOnly": true, +"type": "integer" +}, +"startTime": { +"description": "Time offset relative to the beginning of the audio, and corresponding to the start of the spoken word. This field is only set if `enable_word_time_offsets=true` and only in the top hypothesis. This is an experimental feature and the accuracy of the time offset can vary.", +"format": "google-duration", +"type": "string" +}, +"word": { +"description": "The word corresponding to this set of information.", +"type": "string" +} +}, +"type": "object" +} +}, +"servicePath": "", +"title": "Cloud Speech-to-Text API", +"version": "v1p1beta1", +"version_module": true +} \ No newline at end of file diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/speech.v2beta1.json b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/speech.v2beta1.json new file mode 100644 index 0000000000000000000000000000000000000000..7f7e753e91ef6a7d08cb292fcc32dd35e2e35928 --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/speech.v2beta1.json @@ -0,0 +1,407 @@ +{ + "auth": { + "oauth2": { + "scopes": { + "https://www.googleapis.com/auth/cloud-platform": { + "description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." + } + } + } + }, + "basePath": "", + "baseUrl": "https://speech.googleapis.com/", + "batchPath": "batch", + "canonicalName": "Speech", + "description": "Converts audio to text by applying powerful neural network models.", + "discoveryVersion": "v1", + "documentationLink": "https://cloud.google.com/speech-to-text/docs/quickstart-protocol", + "fullyEncodeReservedExpansion": true, + "icons": { + "x16": "http://www.google.com/images/icons/product/search-16.gif", + "x32": "http://www.google.com/images/icons/product/search-32.gif" + }, + "id": "speech:v2beta1", + "kind": "discovery#restDescription", + "mtlsRootUrl": "https://speech.mtls.googleapis.com/", + "name": "speech", + "ownerDomain": "google.com", + "ownerName": "Google", + "parameters": { + "$.xgafv": { + "description": "V1 error format.", + "enum": [ + "1", + "2" + ], + "enumDescriptions": [ + "v1 error format", + "v2 error format" + ], + "location": "query", + "type": "string" + }, + "access_token": { + "description": "OAuth access token.", + "location": "query", + "type": "string" + }, + "alt": { + "default": "json", + "description": "Data format for response.", + "enum": [ + "json", + "media", + "proto" + ], + "enumDescriptions": [ + "Responses with Content-Type of application/json", + "Media download with context-dependent Content-Type", + "Responses with Content-Type of application/x-protobuf" + ], + "location": "query", + "type": "string" + }, + "callback": { + "description": "JSONP", + "location": "query", + "type": "string" + }, + "fields": { + "description": "Selector specifying which fields to include in a partial response.", + "location": "query", + "type": "string" + }, + "key": { + "description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", + "location": "query", + "type": "string" + }, + "oauth_token": { + "description": "OAuth 2.0 token for the current user.", + "location": "query", + "type": "string" + }, + "prettyPrint": { + "default": "true", + "description": "Returns response with indentations and line breaks.", + "location": "query", + "type": "boolean" + }, + "quotaUser": { + "description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.", + "location": "query", + "type": "string" + }, + "uploadType": { + "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", + "location": "query", + "type": "string" + }, + "upload_protocol": { + "description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", + "location": "query", + "type": "string" + } + }, + "protocol": "rest", + "resources": { + "projects": { + "resources": { + "locations": { + "resources": { + "operations": { + "methods": { + "get": { + "description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", + "flatPath": "v2beta1/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}", + "httpMethod": "GET", + "id": "speech.projects.locations.operations.get", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "The name of the operation resource.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v2beta1/{+name}", + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "list": { + "description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`. NOTE: the `name` binding allows API services to override the binding to use different resource name schemes, such as `users/*/operations`. To override the binding, API services can add a binding such as `\"/v1/{name=users/*}/operations\"` to their service configuration. For backwards compatibility, the default name includes the operations collection id, however overriding users must ensure the name binding is the parent resource, without the operations collection id.", + "flatPath": "v2beta1/projects/{projectsId}/locations/{locationsId}/operations", + "httpMethod": "GET", + "id": "speech.projects.locations.operations.list", + "parameterOrder": [ + "name" + ], + "parameters": { + "filter": { + "description": "The standard list filter.", + "location": "query", + "type": "string" + }, + "name": { + "description": "The name of the operation's parent resource.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+$", + "required": true, + "type": "string" + }, + "pageSize": { + "description": "The standard list page size.", + "format": "int32", + "location": "query", + "type": "integer" + }, + "pageToken": { + "description": "The standard list page token.", + "location": "query", + "type": "string" + } + }, + "path": "v2beta1/{+name}/operations", + "response": { + "$ref": "ListOperationsResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + } + } + } + } + } + } + } + }, + "revision": "20220728", + "rootUrl": "https://speech.googleapis.com/", + "schemas": { + "ListOperationsResponse": { + "description": "The response message for Operations.ListOperations.", + "id": "ListOperationsResponse", + "properties": { + "nextPageToken": { + "description": "The standard List next-page token.", + "type": "string" + }, + "operations": { + "description": "A list of operations that matches the specified filter in the request.", + "items": { + "$ref": "Operation" + }, + "type": "array" + } + }, + "type": "object" + }, + "LongRunningRecognizeMetadata": { + "description": "Describes the progress of a long-running `LongRunningRecognize` call. It is included in the `metadata` field of the `Operation` returned by the `GetOperation` call of the `google::longrunning::Operations` service.", + "id": "LongRunningRecognizeMetadata", + "properties": { + "lastUpdateTime": { + "description": "Output only. Time of the most recent processing update.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + }, + "progressPercent": { + "description": "Output only. Approximate percentage of audio processed thus far. Guaranteed to be 100 when the audio is fully processed and the results are available.", + "format": "int32", + "readOnly": true, + "type": "integer" + }, + "startTime": { + "description": "Output only. Time when the request was received.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + }, + "uri": { + "description": "The URI of the audio file being transcribed. Empty if the audio was sent as byte content.", + "type": "string" + } + }, + "type": "object" + }, + "LongRunningRecognizeResponse": { + "description": "The only message returned to the client by the `LongRunningRecognize` method. It contains the result as zero or more sequential SpeechRecognitionResult messages. It is included in the `result.response` field of the `Operation` returned by the `GetOperation` call of the `google::longrunning::Operations` service.", + "id": "LongRunningRecognizeResponse", + "properties": { + "results": { + "description": "Output only. Sequential list of transcription results corresponding to sequential portions of audio.", + "items": { + "$ref": "SpeechRecognitionResult" + }, + "readOnly": true, + "type": "array" + } + }, + "type": "object" + }, + "Operation": { + "description": "This resource represents a long-running operation that is the result of a network API call.", + "id": "Operation", + "properties": { + "done": { + "description": "If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.", + "type": "boolean" + }, + "error": { + "$ref": "Status", + "description": "The error result of the operation in case of failure or cancellation." + }, + "metadata": { + "additionalProperties": { + "description": "Properties of the object. Contains field @type with type URL.", + "type": "any" + }, + "description": "Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.", + "type": "object" + }, + "name": { + "description": "The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.", + "type": "string" + }, + "response": { + "additionalProperties": { + "description": "Properties of the object. Contains field @type with type URL.", + "type": "any" + }, + "description": "The normal response of the operation in case of success. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.", + "type": "object" + } + }, + "type": "object" + }, + "SpeechRecognitionAlternative": { + "description": "Alternative hypotheses (a.k.a. n-best list).", + "id": "SpeechRecognitionAlternative", + "properties": { + "confidence": { + "description": "Output only. The confidence estimate between 0.0 and 1.0. A higher number indicates an estimated greater likelihood that the recognized words are correct. This field is set only for the top alternative of a non-streaming result or, of a streaming result where `is_final=true`. This field is not guaranteed to be accurate and users should not rely on it to be always provided. The default of 0.0 is a sentinel value indicating `confidence` was not set.", + "format": "float", + "readOnly": true, + "type": "number" + }, + "transcript": { + "description": "Output only. Transcript text representing the words that the user spoke.", + "readOnly": true, + "type": "string" + }, + "words": { + "description": "Output only. A list of word-specific information for each recognized word. Note: When `enable_speaker_diarization` is true, you will see all the words from the beginning of the audio.", + "items": { + "$ref": "WordInfo" + }, + "readOnly": true, + "type": "array" + } + }, + "type": "object" + }, + "SpeechRecognitionResult": { + "description": "A speech recognition result corresponding to a portion of the audio.", + "id": "SpeechRecognitionResult", + "properties": { + "alternatives": { + "description": "Output only. May contain one or more recognition hypotheses (up to the maximum specified in `max_alternatives`). These alternatives are ordered in terms of accuracy, with the top (first) alternative being the most probable, as ranked by the recognizer.", + "items": { + "$ref": "SpeechRecognitionAlternative" + }, + "readOnly": true, + "type": "array" + }, + "channelTag": { + "description": "Output only. For multi-channel audio, this is the channel number corresponding to the recognized result for the audio from that channel. For `audio_channel_count` = N, its output values can range from `1` to `N`.", + "format": "int32", + "readOnly": true, + "type": "integer" + }, + "languageCode": { + "description": "Output only. The [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag of the language in this result. This language code was detected to have the most likelihood of being spoken in the audio.", + "readOnly": true, + "type": "string" + } + }, + "type": "object" + }, + "Status": { + "description": "The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors).", + "id": "Status", + "properties": { + "code": { + "description": "The status code, which should be an enum value of google.rpc.Code.", + "format": "int32", + "type": "integer" + }, + "details": { + "description": "A list of messages that carry the error details. There is a common set of message types for APIs to use.", + "items": { + "additionalProperties": { + "description": "Properties of the object. Contains field @type with type URL.", + "type": "any" + }, + "type": "object" + }, + "type": "array" + }, + "message": { + "description": "A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.", + "type": "string" + } + }, + "type": "object" + }, + "WordInfo": { + "description": "Word-specific information for recognized words.", + "id": "WordInfo", + "properties": { + "confidence": { + "description": "Output only. The confidence estimate between 0.0 and 1.0. A higher number indicates an estimated greater likelihood that the recognized words are correct. This field is set only for the top alternative of a non-streaming result or, of a streaming result where `is_final=true`. This field is not guaranteed to be accurate and users should not rely on it to be always provided. The default of 0.0 is a sentinel value indicating `confidence` was not set.", + "format": "float", + "readOnly": true, + "type": "number" + }, + "endOffset": { + "description": "Output only. Time offset relative to the beginning of the audio, and corresponding to the end of the spoken word. This field is only set if `enable_word_time_offsets=true` and only in the top hypothesis. This is an experimental feature and the accuracy of the time offset can vary.", + "format": "google-duration", + "readOnly": true, + "type": "string" + }, + "speakerTag": { + "description": "Output only. A distinct integer value is assigned for every speaker within the audio. This field specifies which one of those speakers was detected to have spoken this word. Value ranges from `1` to `diarization_config.max_speaker_count` . `speaker_tag` is set if `diarization_config.enable_speaker_diarization` = `true` and only in the top alternative.", + "format": "int32", + "readOnly": true, + "type": "integer" + }, + "startOffset": { + "description": "Output only. Time offset relative to the beginning of the audio, and corresponding to the start of the spoken word. This field is only set if `enable_word_time_offsets=true` and only in the top hypothesis. This is an experimental feature and the accuracy of the time offset can vary.", + "format": "google-duration", + "readOnly": true, + "type": "string" + }, + "word": { + "description": "Output only. The word corresponding to this set of information.", + "readOnly": true, + "type": "string" + } + }, + "type": "object" + } + }, + "servicePath": "", + "title": "Cloud Speech-to-Text API", + "version": "v2beta1", + "version_module": true +} \ No newline at end of file diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/sqladmin.v1.json b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/sqladmin.v1.json new file mode 100644 index 0000000000000000000000000000000000000000..18b1b8a86cfa9b7762307f5addb45fb5cf4db260 --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/sqladmin.v1.json @@ -0,0 +1,9013 @@ +{ +"auth": { +"oauth2": { +"scopes": { +"https://www.googleapis.com/auth/cloud-platform": { +"description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." +}, +"https://www.googleapis.com/auth/sqlservice.admin": { +"description": "Manage your Google SQL Service instances" +} +} +} +}, +"basePath": "", +"baseUrl": "https://sqladmin.googleapis.com/", +"batchPath": "batch", +"canonicalName": "SQL Admin", +"description": "API for Cloud SQL database instance management", +"discoveryVersion": "v1", +"documentationLink": "https://cloud.google.com/sql/docs", +"fullyEncodeReservedExpansion": true, +"icons": { +"x16": "http://www.google.com/images/icons/product/search-16.gif", +"x32": "http://www.google.com/images/icons/product/search-32.gif" +}, +"id": "sqladmin:v1", +"kind": "discovery#restDescription", +"mtlsRootUrl": "https://sqladmin.mtls.googleapis.com/", +"name": "sqladmin", +"ownerDomain": "google.com", +"ownerName": "Google", +"parameters": { +"$.xgafv": { +"description": "V1 error format.", +"enum": [ +"1", +"2" +], +"enumDescriptions": [ +"v1 error format", +"v2 error format" +], +"location": "query", +"type": "string" +}, +"access_token": { +"description": "OAuth access token.", +"location": "query", +"type": "string" +}, +"alt": { +"default": "json", +"description": "Data format for response.", +"enum": [ +"json", +"media", +"proto" +], +"enumDescriptions": [ +"Responses with Content-Type of application/json", +"Media download with context-dependent Content-Type", +"Responses with Content-Type of application/x-protobuf" +], +"location": "query", +"type": "string" +}, +"callback": { +"description": "JSONP", +"location": "query", +"type": "string" +}, +"fields": { +"description": "Selector specifying which fields to include in a partial response.", +"location": "query", +"type": "string" +}, +"key": { +"description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", +"location": "query", +"type": "string" +}, +"oauth_token": { +"description": "OAuth 2.0 token for the current user.", +"location": "query", +"type": "string" +}, +"prettyPrint": { +"default": "true", +"description": "Returns response with indentations and line breaks.", +"location": "query", +"type": "boolean" +}, +"quotaUser": { +"description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.", +"location": "query", +"type": "string" +}, +"uploadType": { +"description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", +"location": "query", +"type": "string" +}, +"upload_protocol": { +"description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", +"location": "query", +"type": "string" +} +}, +"protocol": "rest", +"resources": { +"Backups": { +"methods": { +"CreateBackup": { +"description": "Creates a backup for a Cloud SQL instance. This API can be used only to create on-demand backups.", +"flatPath": "v1/projects/{projectsId}/backups", +"httpMethod": "POST", +"id": "sql.Backups.CreateBackup", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The parent resource where this backup is created. Format: projects/{project}", +"location": "path", +"pattern": "^projects/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/backups", +"request": { +"$ref": "Backup" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/sqlservice.admin" +] +}, +"DeleteBackup": { +"description": "Deletes the backup.", +"flatPath": "v1/projects/{projectsId}/backups/{backupsId}", +"httpMethod": "DELETE", +"id": "sql.Backups.DeleteBackup", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the backup to delete. Format: projects/{project}/backups/{backup}", +"location": "path", +"pattern": "^projects/[^/]+/backups/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/sqlservice.admin" +] +}, +"GetBackup": { +"description": "Retrieves a resource containing information about a backup.", +"flatPath": "v1/projects/{projectsId}/backups/{backupsId}", +"httpMethod": "GET", +"id": "sql.Backups.GetBackup", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the backup to retrieve. Format: projects/{project}/backups/{backup}", +"location": "path", +"pattern": "^projects/[^/]+/backups/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Backup" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/sqlservice.admin" +] +}, +"ListBackups": { +"description": "Lists all backups associated with the project.", +"flatPath": "v1/projects/{projectsId}/backups", +"httpMethod": "GET", +"id": "sql.Backups.ListBackups", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Multiple filter queries are separated by spaces. For example, 'instance:abc AND type:FINAL, 'location:us', 'backupInterval.startTime>=1950-01-01T01:01:25.771Z'. You can filter by type, instance, backupInterval.startTime (creation time), or location.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "The maximum number of backups to return per response. The service might return fewer backups than this value. If a value for this parameter isn't specified, then, at most, 500 backups are returned. The maximum value is 2,000. Any values that you set, which are greater than 2,000, are changed to 2,000.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A page token, received from a previous `ListBackups` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListBackups` must match the call that provided the page token.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent that owns this collection of backups. Format: projects/{project}", +"location": "path", +"pattern": "^projects/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/backups", +"response": { +"$ref": "ListBackupsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/sqlservice.admin" +] +}, +"UpdateBackup": { +"description": "Updates the retention period and description of the backup. You can use this API to update final backups only.", +"flatPath": "v1/projects/{projectsId}/backups/{backupsId}", +"httpMethod": "PATCH", +"id": "sql.Backups.UpdateBackup", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Output only. The resource name of the backup. Format: projects/{project}/backups/{backup}.", +"location": "path", +"pattern": "^projects/[^/]+/backups/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "The list of fields that you can update. You can update only the description and retention period of the final backup.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "Backup" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/sqlservice.admin" +] +} +} +}, +"backupRuns": { +"methods": { +"delete": { +"description": "Deletes the backup taken by a backup run.", +"flatPath": "v1/projects/{project}/instances/{instance}/backupRuns/{id}", +"httpMethod": "DELETE", +"id": "sql.backupRuns.delete", +"parameterOrder": [ +"project", +"instance", +"id" +], +"parameters": { +"id": { +"description": "The ID of the backup run to delete. To find a backup run ID, use the [list](https://cloud.google.com/sql/docs/mysql/admin-api/rest/v1/backupRuns/list) method.", +"format": "int64", +"location": "path", +"required": true, +"type": "string" +}, +"instance": { +"description": "Cloud SQL instance ID. This does not include the project ID.", +"location": "path", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID of the project that contains the instance.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v1/projects/{project}/instances/{instance}/backupRuns/{id}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/sqlservice.admin" +] +}, +"get": { +"description": "Retrieves a resource containing information about a backup run.", +"flatPath": "v1/projects/{project}/instances/{instance}/backupRuns/{id}", +"httpMethod": "GET", +"id": "sql.backupRuns.get", +"parameterOrder": [ +"project", +"instance", +"id" +], +"parameters": { +"id": { +"description": "The ID of this backup run.", +"format": "int64", +"location": "path", +"required": true, +"type": "string" +}, +"instance": { +"description": "Cloud SQL instance ID. This does not include the project ID.", +"location": "path", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID of the project that contains the instance.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v1/projects/{project}/instances/{instance}/backupRuns/{id}", +"response": { +"$ref": "BackupRun" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/sqlservice.admin" +] +}, +"insert": { +"description": "Creates a new backup run on demand.", +"flatPath": "v1/projects/{project}/instances/{instance}/backupRuns", +"httpMethod": "POST", +"id": "sql.backupRuns.insert", +"parameterOrder": [ +"project", +"instance" +], +"parameters": { +"instance": { +"description": "Cloud SQL instance ID. This does not include the project ID.", +"location": "path", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID of the project that contains the instance.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v1/projects/{project}/instances/{instance}/backupRuns", +"request": { +"$ref": "BackupRun" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/sqlservice.admin" +] +}, +"list": { +"description": "Lists all backup runs associated with the project or a given instance and configuration in the reverse chronological order of the backup initiation time.", +"flatPath": "v1/projects/{project}/instances/{instance}/backupRuns", +"httpMethod": "GET", +"id": "sql.backupRuns.list", +"parameterOrder": [ +"project", +"instance" +], +"parameters": { +"instance": { +"description": "Cloud SQL instance ID, or \"-\" for all instances. This does not include the project ID.", +"location": "path", +"required": true, +"type": "string" +}, +"maxResults": { +"description": "Maximum number of backup runs per response.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A previously-returned page token representing part of the larger set of results to view.", +"location": "query", +"type": "string" +}, +"project": { +"description": "Project ID of the project that contains the instance.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v1/projects/{project}/instances/{instance}/backupRuns", +"response": { +"$ref": "BackupRunsListResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/sqlservice.admin" +] +} +} +}, +"connect": { +"methods": { +"generateEphemeralCert": { +"description": "Generates a short-lived X509 certificate containing the provided public key and signed by a private key specific to the target instance. Users may use the certificate to authenticate as themselves when connecting to the database.", +"flatPath": "v1/projects/{project}/instances/{instance}:generateEphemeralCert", +"httpMethod": "POST", +"id": "sql.connect.generateEphemeral", +"parameterOrder": [ +"project", +"instance" +], +"parameters": { +"instance": { +"description": "Cloud SQL instance ID. This does not include the project ID.", +"location": "path", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID of the project that contains the instance.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v1/projects/{project}/instances/{instance}:generateEphemeralCert", +"request": { +"$ref": "GenerateEphemeralCertRequest" +}, +"response": { +"$ref": "GenerateEphemeralCertResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/sqlservice.admin" +] +}, +"get": { +"description": "Retrieves connect settings about a Cloud SQL instance.", +"flatPath": "v1/projects/{project}/instances/{instance}/connectSettings", +"httpMethod": "GET", +"id": "sql.connect.get", +"parameterOrder": [ +"project", +"instance" +], +"parameters": { +"instance": { +"description": "Cloud SQL instance ID. This does not include the project ID.", +"location": "path", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID of the project that contains the instance.", +"location": "path", +"required": true, +"type": "string" +}, +"readTime": { +"description": "Optional. Optional snapshot read timestamp to trade freshness for performance.", +"format": "google-datetime", +"location": "query", +"type": "string" +} +}, +"path": "v1/projects/{project}/instances/{instance}/connectSettings", +"response": { +"$ref": "ConnectSettings" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/sqlservice.admin" +] +} +} +}, +"databases": { +"methods": { +"delete": { +"description": "Deletes a database from a Cloud SQL instance.", +"flatPath": "v1/projects/{project}/instances/{instance}/databases/{database}", +"httpMethod": "DELETE", +"id": "sql.databases.delete", +"parameterOrder": [ +"project", +"instance", +"database" +], +"parameters": { +"database": { +"description": "Name of the database to be deleted in the instance.", +"location": "path", +"required": true, +"type": "string" +}, +"instance": { +"description": "Database instance ID. This does not include the project ID.", +"location": "path", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID of the project that contains the instance.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v1/projects/{project}/instances/{instance}/databases/{database}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/sqlservice.admin" +] +}, +"get": { +"description": "Retrieves a resource containing information about a database inside a Cloud SQL instance.", +"flatPath": "v1/projects/{project}/instances/{instance}/databases/{database}", +"httpMethod": "GET", +"id": "sql.databases.get", +"parameterOrder": [ +"project", +"instance", +"database" +], +"parameters": { +"database": { +"description": "Name of the database in the instance.", +"location": "path", +"required": true, +"type": "string" +}, +"instance": { +"description": "Database instance ID. This does not include the project ID.", +"location": "path", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID of the project that contains the instance.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v1/projects/{project}/instances/{instance}/databases/{database}", +"response": { +"$ref": "Database" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/sqlservice.admin" +] +}, +"insert": { +"description": "Inserts a resource containing information about a database inside a Cloud SQL instance. **Note:** You can't modify the default character set and collation.", +"flatPath": "v1/projects/{project}/instances/{instance}/databases", +"httpMethod": "POST", +"id": "sql.databases.insert", +"parameterOrder": [ +"project", +"instance" +], +"parameters": { +"instance": { +"description": "Database instance ID. This does not include the project ID.", +"location": "path", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID of the project that contains the instance.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v1/projects/{project}/instances/{instance}/databases", +"request": { +"$ref": "Database" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/sqlservice.admin" +] +}, +"list": { +"description": "Lists databases in the specified Cloud SQL instance.", +"flatPath": "v1/projects/{project}/instances/{instance}/databases", +"httpMethod": "GET", +"id": "sql.databases.list", +"parameterOrder": [ +"project", +"instance" +], +"parameters": { +"instance": { +"description": "Cloud SQL instance ID. This does not include the project ID.", +"location": "path", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID of the project that contains the instance.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v1/projects/{project}/instances/{instance}/databases", +"response": { +"$ref": "DatabasesListResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/sqlservice.admin" +] +}, +"patch": { +"description": "Partially updates a resource containing information about a database inside a Cloud SQL instance. This method supports patch semantics.", +"flatPath": "v1/projects/{project}/instances/{instance}/databases/{database}", +"httpMethod": "PATCH", +"id": "sql.databases.patch", +"parameterOrder": [ +"project", +"instance", +"database" +], +"parameters": { +"database": { +"description": "Name of the database to be updated in the instance.", +"location": "path", +"required": true, +"type": "string" +}, +"instance": { +"description": "Database instance ID. This does not include the project ID.", +"location": "path", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID of the project that contains the instance.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v1/projects/{project}/instances/{instance}/databases/{database}", +"request": { +"$ref": "Database" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/sqlservice.admin" +] +}, +"update": { +"description": "Updates a resource containing information about a database inside a Cloud SQL instance.", +"flatPath": "v1/projects/{project}/instances/{instance}/databases/{database}", +"httpMethod": "PUT", +"id": "sql.databases.update", +"parameterOrder": [ +"project", +"instance", +"database" +], +"parameters": { +"database": { +"description": "Name of the database to be updated in the instance.", +"location": "path", +"required": true, +"type": "string" +}, +"instance": { +"description": "Database instance ID. This does not include the project ID.", +"location": "path", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID of the project that contains the instance.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v1/projects/{project}/instances/{instance}/databases/{database}", +"request": { +"$ref": "Database" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/sqlservice.admin" +] +} +} +}, +"flags": { +"methods": { +"list": { +"description": "Lists all available database flags for Cloud SQL instances.", +"flatPath": "v1/flags", +"httpMethod": "GET", +"id": "sql.flags.list", +"parameterOrder": [], +"parameters": { +"databaseVersion": { +"description": "Database type and version you want to retrieve flags for. By default, this method returns flags for all database types and versions.", +"location": "query", +"type": "string" +}, +"flagScope": { +"description": "Optional. Specify the scope of flags to be returned by SqlFlagsListService. Return list of database flags if unspecified.", +"enum": [ +"SQL_FLAG_SCOPE_UNSPECIFIED", +"SQL_FLAG_SCOPE_DATABASE", +"SQL_FLAG_SCOPE_CONNECTION_POOL" +], +"enumDescriptions": [ +"Assume database flags if unspecified", +"database flags", +"connection pool configuration flags" +], +"location": "query", +"type": "string" +} +}, +"path": "v1/flags", +"response": { +"$ref": "FlagsListResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/sqlservice.admin" +] +} +} +}, +"instances": { +"methods": { +"ListEntraIdCertificates": { +"description": "Lists all versions of EntraID certificates for the specified instance. There can be up to three sets of certificates listed: the certificate that is currently in use, a future that has been added but not yet used to sign a certificate, and a certificate that has been rotated out.", +"flatPath": "v1/projects/{project}/instances/{instance}/listEntraIdCertificates", +"httpMethod": "GET", +"id": "sql.instances.ListEntraIdCertificates", +"parameterOrder": [ +"project", +"instance" +], +"parameters": { +"instance": { +"description": "Required. Cloud SQL instance ID. This does not include the project ID.", +"location": "path", +"required": true, +"type": "string" +}, +"project": { +"description": "Required. Project ID of the project that contains the instance.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v1/projects/{project}/instances/{instance}/listEntraIdCertificates", +"response": { +"$ref": "InstancesListEntraIdCertificatesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/sqlservice.admin" +] +}, +"ListServerCertificates": { +"description": "Lists all versions of server certificates and certificate authorities (CAs) for the specified instance. There can be up to three sets of certs listed: the certificate that is currently in use, a future that has been added but not yet used to sign a certificate, and a certificate that has been rotated out. For instances not using Certificate Authority Service (CAS) server CA, use ListServerCas instead.", +"flatPath": "v1/projects/{project}/instances/{instance}/listServerCertificates", +"httpMethod": "GET", +"id": "sql.instances.ListServerCertificates", +"parameterOrder": [ +"project", +"instance" +], +"parameters": { +"instance": { +"description": "Required. Cloud SQL instance ID. This does not include the project ID.", +"location": "path", +"required": true, +"type": "string" +}, +"project": { +"description": "Required. Project ID of the project that contains the instance.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v1/projects/{project}/instances/{instance}/listServerCertificates", +"response": { +"$ref": "InstancesListServerCertificatesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/sqlservice.admin" +] +}, +"RotateEntraIdCertificate": { +"description": "Rotates the server certificate version to one previously added with the addEntraIdCertificate method.", +"flatPath": "v1/projects/{project}/instances/{instance}/rotateEntraIdCertificate", +"httpMethod": "POST", +"id": "sql.instances.RotateEntraIdCertificate", +"parameterOrder": [ +"project", +"instance" +], +"parameters": { +"instance": { +"description": "Required. Cloud SQL instance ID. This does not include the project ID.", +"location": "path", +"required": true, +"type": "string" +}, +"project": { +"description": "Required. Project ID of the project that contains the instance.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v1/projects/{project}/instances/{instance}/rotateEntraIdCertificate", +"request": { +"$ref": "InstancesRotateEntraIdCertificateRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/sqlservice.admin" +] +}, +"RotateServerCertificate": { +"description": "Rotates the server certificate version to one previously added with the addServerCertificate method. For instances not using Certificate Authority Service (CAS) server CA, use RotateServerCa instead.", +"flatPath": "v1/projects/{project}/instances/{instance}/rotateServerCertificate", +"httpMethod": "POST", +"id": "sql.instances.RotateServerCertificate", +"parameterOrder": [ +"project", +"instance" +], +"parameters": { +"instance": { +"description": "Required. Cloud SQL instance ID. This does not include the project ID.", +"location": "path", +"required": true, +"type": "string" +}, +"project": { +"description": "Required. Project ID of the project that contains the instance.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v1/projects/{project}/instances/{instance}/rotateServerCertificate", +"request": { +"$ref": "InstancesRotateServerCertificateRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/sqlservice.admin" +] +}, +"acquireSsrsLease": { +"description": "Acquire a lease for the setup of SQL Server Reporting Services (SSRS).", +"flatPath": "v1/projects/{project}/instances/{instance}/acquireSsrsLease", +"httpMethod": "POST", +"id": "sql.instances.acquireSsrsLease", +"parameterOrder": [ +"project", +"instance" +], +"parameters": { +"instance": { +"description": "Required. Cloud SQL instance ID. This doesn't include the project ID. It's composed of lowercase letters, numbers, and hyphens, and it must start with a letter. The total length must be 98 characters or less (Example: instance-id).", +"location": "path", +"required": true, +"type": "string" +}, +"project": { +"description": "Required. Project ID of the project that contains the instance (Example: project-id).", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v1/projects/{project}/instances/{instance}/acquireSsrsLease", +"request": { +"$ref": "InstancesAcquireSsrsLeaseRequest" +}, +"response": { +"$ref": "SqlInstancesAcquireSsrsLeaseResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/sqlservice.admin" +] +}, +"addEntraIdCertificate": { +"description": "Adds a new Entra ID certificate for the specified instance. If an Entra ID certificate was previously added but never used in a certificate rotation, this operation replaces that version.", +"flatPath": "v1/projects/{project}/instances/{instance}/addEntraIdCertificate", +"httpMethod": "POST", +"id": "sql.instances.addEntraIdCertificate", +"parameterOrder": [ +"project", +"instance" +], +"parameters": { +"instance": { +"description": "Required. Cloud SQL instance ID. This does not include the project ID.", +"location": "path", +"required": true, +"type": "string" +}, +"project": { +"description": "Required. Project ID of the project that contains the instance.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v1/projects/{project}/instances/{instance}/addEntraIdCertificate", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/sqlservice.admin" +] +}, +"addServerCa": { +"description": "Adds a new trusted Certificate Authority (CA) version for the specified instance. Required to prepare for a certificate rotation. If a CA version was previously added but never used in a certificate rotation, this operation replaces that version. There cannot be more than one CA version waiting to be rotated in. For instances that have enabled Certificate Authority Service (CAS) based server CA, use AddServerCertificate to add a new server certificate.", +"flatPath": "v1/projects/{project}/instances/{instance}/addServerCa", +"httpMethod": "POST", +"id": "sql.instances.addServerCa", +"parameterOrder": [ +"project", +"instance" +], +"parameters": { +"instance": { +"description": "Cloud SQL instance ID. This does not include the project ID.", +"location": "path", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID of the project that contains the instance.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v1/projects/{project}/instances/{instance}/addServerCa", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/sqlservice.admin" +] +}, +"addServerCertificate": { +"description": "Add a new trusted server certificate version for the specified instance using Certificate Authority Service (CAS) server CA. Required to prepare for a certificate rotation. If a server certificate version was previously added but never used in a certificate rotation, this operation replaces that version. There cannot be more than one certificate version waiting to be rotated in. For instances not using CAS server CA, use AddServerCa instead.", +"flatPath": "v1/projects/{project}/instances/{instance}/addServerCertificate", +"httpMethod": "POST", +"id": "sql.instances.addServerCertificate", +"parameterOrder": [ +"project", +"instance" +], +"parameters": { +"instance": { +"description": "Cloud SQL instance ID. This does not include the project ID.", +"location": "path", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID of the project that contains the instance.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v1/projects/{project}/instances/{instance}/addServerCertificate", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/sqlservice.admin" +] +}, +"clone": { +"description": "Creates a Cloud SQL instance as a clone of the source instance. Using this operation might cause your instance to restart.", +"flatPath": "v1/projects/{project}/instances/{instance}/clone", +"httpMethod": "POST", +"id": "sql.instances.clone", +"parameterOrder": [ +"project", +"instance" +], +"parameters": { +"instance": { +"description": "Required. The ID of the Cloud SQL instance to be cloned (source). This does not include the project ID.", +"location": "path", +"required": true, +"type": "string" +}, +"project": { +"description": "Required. Project ID of the source as well as the clone Cloud SQL instance.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v1/projects/{project}/instances/{instance}/clone", +"request": { +"$ref": "InstancesCloneRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/sqlservice.admin" +] +}, +"delete": { +"description": "Deletes a Cloud SQL instance.", +"flatPath": "v1/projects/{project}/instances/{instance}", +"httpMethod": "DELETE", +"id": "sql.instances.delete", +"parameterOrder": [ +"project", +"instance" +], +"parameters": { +"enableFinalBackup": { +"description": "Flag to opt-in for final backup. By default, it is turned off.", +"location": "query", +"type": "boolean" +}, +"finalBackupDescription": { +"description": "Optional. The description of the final backup.", +"location": "query", +"type": "string" +}, +"finalBackupExpiryTime": { +"description": "Optional. Final Backup expiration time. Timestamp in UTC of when this resource is considered expired.", +"format": "google-datetime", +"location": "query", +"type": "string" +}, +"finalBackupTtlDays": { +"description": "Optional. Retention period of the final backup.", +"format": "int64", +"location": "query", +"type": "string" +}, +"instance": { +"description": "Cloud SQL instance ID. This does not include the project ID.", +"location": "path", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID of the project that contains the instance to be deleted.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v1/projects/{project}/instances/{instance}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/sqlservice.admin" +] +}, +"demote": { +"description": "Demotes an existing standalone instance to be a Cloud SQL read replica for an external database server.", +"flatPath": "v1/projects/{project}/instances/{instance}/demote", +"httpMethod": "POST", +"id": "sql.instances.demote", +"parameterOrder": [ +"project", +"instance" +], +"parameters": { +"instance": { +"description": "Required. Cloud SQL instance name.", +"location": "path", +"required": true, +"type": "string" +}, +"project": { +"description": "Required. ID of the project that contains the instance.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v1/projects/{project}/instances/{instance}/demote", +"request": { +"$ref": "InstancesDemoteRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/sqlservice.admin" +] +}, +"demoteMaster": { +"description": "Demotes the stand-alone instance to be a Cloud SQL read replica for an external database server.", +"flatPath": "v1/projects/{project}/instances/{instance}/demoteMaster", +"httpMethod": "POST", +"id": "sql.instances.demoteMaster", +"parameterOrder": [ +"project", +"instance" +], +"parameters": { +"instance": { +"description": "Cloud SQL instance name.", +"location": "path", +"required": true, +"type": "string" +}, +"project": { +"description": "ID of the project that contains the instance.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v1/projects/{project}/instances/{instance}/demoteMaster", +"request": { +"$ref": "InstancesDemoteMasterRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/sqlservice.admin" +] +}, +"executeSql": { +"description": "Execute SQL statements.", +"flatPath": "v1/projects/{project}/instances/{instance}/executeSql", +"httpMethod": "POST", +"id": "sql.instances.executeSql", +"parameterOrder": [ +"project", +"instance" +], +"parameters": { +"instance": { +"description": "Required. Database instance ID. This does not include the project ID.", +"location": "path", +"required": true, +"type": "string" +}, +"project": { +"description": "Required. Project ID of the project that contains the instance.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v1/projects/{project}/instances/{instance}/executeSql", +"request": { +"$ref": "ExecuteSqlPayload" +}, +"response": { +"$ref": "SqlInstancesExecuteSqlResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/sqlservice.admin" +] +}, +"export": { +"description": "Exports data from a Cloud SQL instance to a Cloud Storage bucket as a SQL dump or CSV file.", +"flatPath": "v1/projects/{project}/instances/{instance}/export", +"httpMethod": "POST", +"id": "sql.instances.export", +"parameterOrder": [ +"project", +"instance" +], +"parameters": { +"instance": { +"description": "Cloud SQL instance ID. This does not include the project ID.", +"location": "path", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID of the project that contains the instance to be exported.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v1/projects/{project}/instances/{instance}/export", +"request": { +"$ref": "InstancesExportRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"failover": { +"description": "Initiates a manual failover of a high availability (HA) primary instance to a standby instance, which becomes the primary instance. Users are then rerouted to the new primary. For more information, see the [Overview of high availability](https://cloud.google.com/sql/docs/mysql/high-availability) page in the Cloud SQL documentation. If using Legacy HA (MySQL only), this causes the instance to failover to its failover replica instance.", +"flatPath": "v1/projects/{project}/instances/{instance}/failover", +"httpMethod": "POST", +"id": "sql.instances.failover", +"parameterOrder": [ +"project", +"instance" +], +"parameters": { +"instance": { +"description": "Cloud SQL instance ID. This does not include the project ID.", +"location": "path", +"required": true, +"type": "string" +}, +"project": { +"description": "ID of the project that contains the read replica.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v1/projects/{project}/instances/{instance}/failover", +"request": { +"$ref": "InstancesFailoverRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/sqlservice.admin" +] +}, +"get": { +"description": "Retrieves a resource containing information about a Cloud SQL instance.", +"flatPath": "v1/projects/{project}/instances/{instance}", +"httpMethod": "GET", +"id": "sql.instances.get", +"parameterOrder": [ +"project", +"instance" +], +"parameters": { +"instance": { +"description": "Required. Database instance ID. This does not include the project ID.", +"location": "path", +"required": true, +"type": "string" +}, +"project": { +"description": "Required. Project ID of the project that contains the instance.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v1/projects/{project}/instances/{instance}", +"response": { +"$ref": "DatabaseInstance" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/sqlservice.admin" +] +}, +"import": { +"description": "Imports data into a Cloud SQL instance from a SQL dump or CSV file in Cloud Storage.", +"flatPath": "v1/projects/{project}/instances/{instance}/import", +"httpMethod": "POST", +"id": "sql.instances.import", +"parameterOrder": [ +"project", +"instance" +], +"parameters": { +"instance": { +"description": "Cloud SQL instance ID. This does not include the project ID.", +"location": "path", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID of the project that contains the instance.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v1/projects/{project}/instances/{instance}/import", +"request": { +"$ref": "InstancesImportRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"insert": { +"description": "Creates a new Cloud SQL instance.", +"flatPath": "v1/projects/{project}/instances", +"httpMethod": "POST", +"id": "sql.instances.insert", +"parameterOrder": [ +"project" +], +"parameters": { +"project": { +"description": "Project ID of the project to which the newly created Cloud SQL instances should belong.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v1/projects/{project}/instances", +"request": { +"$ref": "DatabaseInstance" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/sqlservice.admin" +] +}, +"list": { +"description": "Lists instances under a given project.", +"flatPath": "v1/projects/{project}/instances", +"httpMethod": "GET", +"id": "sql.instances.list", +"parameterOrder": [ +"project" +], +"parameters": { +"filter": { +"description": "A filter expression that filters resources listed in the response. The expression is in the form of field:value. For example, 'instanceType:CLOUD_SQL_INSTANCE'. Fields can be nested as needed as per their JSON representation, such as 'settings.userLabels.auto_start:true'. Multiple filter queries are space-separated. For example. 'state:RUNNABLE instanceType:CLOUD_SQL_INSTANCE'. By default, each expression is an AND expression. However, you can include AND and OR expressions explicitly.", +"location": "query", +"type": "string" +}, +"maxResults": { +"description": "The maximum number of instances to return. The service may return fewer than this value. If unspecified, at most 500 instances are returned. The maximum value is 1000; values above 1000 are coerced to 1000.", +"format": "uint32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A previously-returned page token representing part of the larger set of results to view.", +"location": "query", +"type": "string" +}, +"project": { +"description": "Project ID of the project for which to list Cloud SQL instances.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v1/projects/{project}/instances", +"response": { +"$ref": "InstancesListResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/sqlservice.admin" +] +}, +"listServerCas": { +"description": "Lists all of the trusted Certificate Authorities (CAs) for the specified instance. There can be up to three CAs listed: the CA that was used to sign the certificate that is currently in use, a CA that has been added but not yet used to sign a certificate, and a CA used to sign a certificate that has previously rotated out.", +"flatPath": "v1/projects/{project}/instances/{instance}/listServerCas", +"httpMethod": "GET", +"id": "sql.instances.listServerCas", +"parameterOrder": [ +"project", +"instance" +], +"parameters": { +"instance": { +"description": "Cloud SQL instance ID. This does not include the project ID.", +"location": "path", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID of the project that contains the instance.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v1/projects/{project}/instances/{instance}/listServerCas", +"response": { +"$ref": "InstancesListServerCasResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/sqlservice.admin" +] +}, +"patch": { +"description": "Partially updates settings of a Cloud SQL instance by merging the request with the current configuration. This method supports patch semantics.", +"flatPath": "v1/projects/{project}/instances/{instance}", +"httpMethod": "PATCH", +"id": "sql.instances.patch", +"parameterOrder": [ +"project", +"instance" +], +"parameters": { +"instance": { +"description": "Cloud SQL instance ID. This does not include the project ID.", +"location": "path", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID of the project that contains the instance.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v1/projects/{project}/instances/{instance}", +"request": { +"$ref": "DatabaseInstance" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/sqlservice.admin" +] +}, +"pointInTimeRestore": { +"description": "Point in time restore for an instance managed by Google Cloud Backup and Disaster Recovery.", +"flatPath": "v1/projects/{projectsId}:pointInTimeRestore", +"httpMethod": "POST", +"id": "sql.instances.pointInTimeRestore", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The parent resource where you created this instance. Format: projects/{project}", +"location": "path", +"pattern": "^projects/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}:pointInTimeRestore", +"request": { +"$ref": "PointInTimeRestoreContext" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/sqlservice.admin" +] +}, +"preCheckMajorVersionUpgrade": { +"description": "Execute MVU Pre-checks", +"flatPath": "v1/projects/{project}/instances/{instance}/preCheckMajorVersionUpgrade", +"httpMethod": "POST", +"id": "sql.instances.preCheckMajorVersionUpgrade", +"parameterOrder": [ +"project", +"instance" +], +"parameters": { +"instance": { +"description": "Required. Cloud SQL instance ID. This does not include the project ID.", +"location": "path", +"required": true, +"type": "string" +}, +"project": { +"description": "Required. Project ID of the project that contains the instance.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v1/projects/{project}/instances/{instance}/preCheckMajorVersionUpgrade", +"request": { +"$ref": "InstancesPreCheckMajorVersionUpgradeRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/sqlservice.admin" +] +}, +"promoteReplica": { +"description": "Promotes the read replica instance to be an independent Cloud SQL primary instance. Using this operation might cause your instance to restart.", +"flatPath": "v1/projects/{project}/instances/{instance}/promoteReplica", +"httpMethod": "POST", +"id": "sql.instances.promoteReplica", +"parameterOrder": [ +"project", +"instance" +], +"parameters": { +"failover": { +"description": "Set to true to invoke a replica failover to the DR replica. As part of replica failover, the promote operation attempts to add the original primary instance as a replica of the promoted DR replica when the original primary instance comes back online. If set to false or not specified, then the original primary instance becomes an independent Cloud SQL primary instance.", +"location": "query", +"type": "boolean" +}, +"instance": { +"description": "Cloud SQL read replica instance name.", +"location": "path", +"required": true, +"type": "string" +}, +"project": { +"description": "ID of the project that contains the read replica.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v1/projects/{project}/instances/{instance}/promoteReplica", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/sqlservice.admin" +] +}, +"reencrypt": { +"description": "Reencrypt CMEK instance with latest key version.", +"flatPath": "v1/projects/{project}/instances/{instance}/reencrypt", +"httpMethod": "POST", +"id": "sql.instances.reencrypt", +"parameterOrder": [ +"project", +"instance" +], +"parameters": { +"instance": { +"description": "Cloud SQL instance ID. This does not include the project ID.", +"location": "path", +"required": true, +"type": "string" +}, +"project": { +"description": "ID of the project that contains the instance.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v1/projects/{project}/instances/{instance}/reencrypt", +"request": { +"$ref": "InstancesReencryptRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/sqlservice.admin" +] +}, +"releaseSsrsLease": { +"description": "Release a lease for the setup of SQL Server Reporting Services (SSRS).", +"flatPath": "v1/projects/{project}/instances/{instance}/releaseSsrsLease", +"httpMethod": "POST", +"id": "sql.instances.releaseSsrsLease", +"parameterOrder": [ +"project", +"instance" +], +"parameters": { +"instance": { +"description": "Required. The Cloud SQL instance ID. This doesn't include the project ID. The instance ID contains lowercase letters, numbers, and hyphens, and it must start with a letter. This ID can have a maximum length of 98 characters.", +"location": "path", +"required": true, +"type": "string" +}, +"project": { +"description": "Required. The project ID that contains the instance.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v1/projects/{project}/instances/{instance}/releaseSsrsLease", +"response": { +"$ref": "SqlInstancesReleaseSsrsLeaseResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/sqlservice.admin" +] +}, +"resetSslConfig": { +"description": "Deletes all client certificates and generates a new server SSL certificate for the instance.", +"flatPath": "v1/projects/{project}/instances/{instance}/resetSslConfig", +"httpMethod": "POST", +"id": "sql.instances.resetSslConfig", +"parameterOrder": [ +"project", +"instance" +], +"parameters": { +"instance": { +"description": "Cloud SQL instance ID. This does not include the project ID.", +"location": "path", +"required": true, +"type": "string" +}, +"mode": { +"description": "Optional. Reset SSL mode to use.", +"enum": [ +"RESET_SSL_MODE_UNSPECIFIED", +"ALL", +"SYNC_FROM_PRIMARY" +], +"enumDescriptions": [ +"Reset SSL mode is not specified.", +"Refresh all TLS configs. This is the default behaviour.", +"Refreshes the replication-related TLS configuration settings provided by the primary instance. Not applicable to on-premises replication instances." +], +"location": "query", +"type": "string" +}, +"project": { +"description": "Project ID of the project that contains the instance.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v1/projects/{project}/instances/{instance}/resetSslConfig", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/sqlservice.admin" +] +}, +"restart": { +"description": "Restarts a Cloud SQL instance.", +"flatPath": "v1/projects/{project}/instances/{instance}/restart", +"httpMethod": "POST", +"id": "sql.instances.restart", +"parameterOrder": [ +"project", +"instance" +], +"parameters": { +"instance": { +"description": "Cloud SQL instance ID. This does not include the project ID.", +"location": "path", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID of the project that contains the instance to be restarted.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v1/projects/{project}/instances/{instance}/restart", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/sqlservice.admin" +] +}, +"restoreBackup": { +"description": "Restores a backup of a Cloud SQL instance. Using this operation might cause your instance to restart.", +"flatPath": "v1/projects/{project}/instances/{instance}/restoreBackup", +"httpMethod": "POST", +"id": "sql.instances.restoreBackup", +"parameterOrder": [ +"project", +"instance" +], +"parameters": { +"instance": { +"description": "Cloud SQL instance ID. This does not include the project ID.", +"location": "path", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID of the project that contains the instance.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v1/projects/{project}/instances/{instance}/restoreBackup", +"request": { +"$ref": "InstancesRestoreBackupRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/sqlservice.admin" +] +}, +"rotateServerCa": { +"description": "Rotates the server certificate to one signed by the Certificate Authority (CA) version previously added with the addServerCA method. For instances that have enabled Certificate Authority Service (CAS) based server CA, use RotateServerCertificate to rotate the server certificate.", +"flatPath": "v1/projects/{project}/instances/{instance}/rotateServerCa", +"httpMethod": "POST", +"id": "sql.instances.rotateServerCa", +"parameterOrder": [ +"project", +"instance" +], +"parameters": { +"instance": { +"description": "Cloud SQL instance ID. This does not include the project ID.", +"location": "path", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID of the project that contains the instance.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v1/projects/{project}/instances/{instance}/rotateServerCa", +"request": { +"$ref": "InstancesRotateServerCaRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/sqlservice.admin" +] +}, +"startReplica": { +"description": "Starts the replication in the read replica instance.", +"flatPath": "v1/projects/{project}/instances/{instance}/startReplica", +"httpMethod": "POST", +"id": "sql.instances.startReplica", +"parameterOrder": [ +"project", +"instance" +], +"parameters": { +"instance": { +"description": "Cloud SQL read replica instance name.", +"location": "path", +"required": true, +"type": "string" +}, +"project": { +"description": "ID of the project that contains the read replica.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v1/projects/{project}/instances/{instance}/startReplica", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/sqlservice.admin" +] +}, +"stopReplica": { +"description": "Stops the replication in the read replica instance.", +"flatPath": "v1/projects/{project}/instances/{instance}/stopReplica", +"httpMethod": "POST", +"id": "sql.instances.stopReplica", +"parameterOrder": [ +"project", +"instance" +], +"parameters": { +"instance": { +"description": "Cloud SQL read replica instance name.", +"location": "path", +"required": true, +"type": "string" +}, +"project": { +"description": "ID of the project that contains the read replica.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v1/projects/{project}/instances/{instance}/stopReplica", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/sqlservice.admin" +] +}, +"switchover": { +"description": "Switches over from the primary instance to the DR replica instance.", +"flatPath": "v1/projects/{project}/instances/{instance}/switchover", +"httpMethod": "POST", +"id": "sql.instances.switchover", +"parameterOrder": [ +"project", +"instance" +], +"parameters": { +"dbTimeout": { +"description": "Optional. (MySQL and PostgreSQL only) Cloud SQL instance operations timeout, which is a sum of all database operations. Default value is 10 minutes and can be modified to a maximum value of 24 hours.", +"format": "google-duration", +"location": "query", +"type": "string" +}, +"instance": { +"description": "Cloud SQL read replica instance name.", +"location": "path", +"required": true, +"type": "string" +}, +"project": { +"description": "ID of the project that contains the replica.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v1/projects/{project}/instances/{instance}/switchover", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/sqlservice.admin" +] +}, +"truncateLog": { +"description": "Truncate MySQL general and slow query log tables MySQL only.", +"flatPath": "v1/projects/{project}/instances/{instance}/truncateLog", +"httpMethod": "POST", +"id": "sql.instances.truncateLog", +"parameterOrder": [ +"project", +"instance" +], +"parameters": { +"instance": { +"description": "Cloud SQL instance ID. This does not include the project ID.", +"location": "path", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID of the Cloud SQL project.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v1/projects/{project}/instances/{instance}/truncateLog", +"request": { +"$ref": "InstancesTruncateLogRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/sqlservice.admin" +] +}, +"update": { +"description": "Updates settings of a Cloud SQL instance. Using this operation might cause your instance to restart.", +"flatPath": "v1/projects/{project}/instances/{instance}", +"httpMethod": "PUT", +"id": "sql.instances.update", +"parameterOrder": [ +"project", +"instance" +], +"parameters": { +"instance": { +"description": "Cloud SQL instance ID. This does not include the project ID.", +"location": "path", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID of the project that contains the instance.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v1/projects/{project}/instances/{instance}", +"request": { +"$ref": "DatabaseInstance" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/sqlservice.admin" +] +} +} +}, +"operations": { +"methods": { +"cancel": { +"description": "Cancels an instance operation that has been performed on an instance.", +"flatPath": "v1/projects/{project}/operations/{operation}/cancel", +"httpMethod": "POST", +"id": "sql.operations.cancel", +"parameterOrder": [ +"project", +"operation" +], +"parameters": { +"operation": { +"description": "Instance operation ID.", +"location": "path", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID of the project that contains the instance.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v1/projects/{project}/operations/{operation}/cancel", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/sqlservice.admin" +] +}, +"get": { +"description": "Retrieves an instance operation that has been performed on an instance.", +"flatPath": "v1/projects/{project}/operations/{operation}", +"httpMethod": "GET", +"id": "sql.operations.get", +"parameterOrder": [ +"project", +"operation" +], +"parameters": { +"operation": { +"description": "Required. Instance operation ID.", +"location": "path", +"required": true, +"type": "string" +}, +"project": { +"description": "Required. Project ID of the project that contains the instance.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v1/projects/{project}/operations/{operation}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/sqlservice.admin" +] +}, +"list": { +"description": "Lists all instance operations that have been performed on the given Cloud SQL instance in the reverse chronological order of the start time.", +"flatPath": "v1/projects/{project}/operations", +"httpMethod": "GET", +"id": "sql.operations.list", +"parameterOrder": [ +"project" +], +"parameters": { +"instance": { +"description": "Cloud SQL instance ID. This does not include the project ID.", +"location": "query", +"type": "string" +}, +"maxResults": { +"description": "Maximum number of operations per response.", +"format": "uint32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A previously-returned page token representing part of the larger set of results to view.", +"location": "query", +"type": "string" +}, +"project": { +"description": "Project ID of the project that contains the instance.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v1/projects/{project}/operations", +"response": { +"$ref": "OperationsListResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/sqlservice.admin" +] +} +} +}, +"projects": { +"resources": { +"instances": { +"methods": { +"getDiskShrinkConfig": { +"description": "Get Disk Shrink Config for a given instance.", +"flatPath": "v1/projects/{project}/instances/{instance}/getDiskShrinkConfig", +"httpMethod": "GET", +"id": "sql.projects.instances.getDiskShrinkConfig", +"parameterOrder": [ +"project", +"instance" +], +"parameters": { +"instance": { +"description": "Cloud SQL instance ID. This does not include the project ID.", +"location": "path", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID of the project that contains the instance.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v1/projects/{project}/instances/{instance}/getDiskShrinkConfig", +"response": { +"$ref": "SqlInstancesGetDiskShrinkConfigResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/sqlservice.admin" +] +}, +"getLatestRecoveryTime": { +"description": "Get Latest Recovery Time for a given instance.", +"flatPath": "v1/projects/{project}/instances/{instance}/getLatestRecoveryTime", +"httpMethod": "GET", +"id": "sql.projects.instances.getLatestRecoveryTime", +"parameterOrder": [ +"project", +"instance" +], +"parameters": { +"instance": { +"description": "Cloud SQL instance ID. This does not include the project ID.", +"location": "path", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID of the project that contains the instance.", +"location": "path", +"required": true, +"type": "string" +}, +"sourceInstanceDeletionTime": { +"description": "The timestamp used to identify the time when the source instance is deleted. If this instance is deleted, then you must set the timestamp.", +"format": "google-datetime", +"location": "query", +"type": "string" +} +}, +"path": "v1/projects/{project}/instances/{instance}/getLatestRecoveryTime", +"response": { +"$ref": "SqlInstancesGetLatestRecoveryTimeResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/sqlservice.admin" +] +}, +"performDiskShrink": { +"description": "Perform Disk Shrink on primary instance.", +"flatPath": "v1/projects/{project}/instances/{instance}/performDiskShrink", +"httpMethod": "POST", +"id": "sql.projects.instances.performDiskShrink", +"parameterOrder": [ +"project", +"instance" +], +"parameters": { +"instance": { +"description": "Cloud SQL instance ID. This does not include the project ID.", +"location": "path", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID of the project that contains the instance.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v1/projects/{project}/instances/{instance}/performDiskShrink", +"request": { +"$ref": "PerformDiskShrinkContext" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/sqlservice.admin" +] +}, +"rescheduleMaintenance": { +"description": "Reschedules the maintenance on the given instance.", +"flatPath": "v1/projects/{project}/instances/{instance}/rescheduleMaintenance", +"httpMethod": "POST", +"id": "sql.projects.instances.rescheduleMaintenance", +"parameterOrder": [ +"project", +"instance" +], +"parameters": { +"instance": { +"description": "Cloud SQL instance ID. This does not include the project ID.", +"location": "path", +"required": true, +"type": "string" +}, +"project": { +"description": "ID of the project that contains the instance.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v1/projects/{project}/instances/{instance}/rescheduleMaintenance", +"request": { +"$ref": "SqlInstancesRescheduleMaintenanceRequestBody" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/sqlservice.admin" +] +}, +"resetReplicaSize": { +"description": "Reset Replica Size to primary instance disk size.", +"flatPath": "v1/projects/{project}/instances/{instance}/resetReplicaSize", +"httpMethod": "POST", +"id": "sql.projects.instances.resetReplicaSize", +"parameterOrder": [ +"project", +"instance" +], +"parameters": { +"instance": { +"description": "Cloud SQL read replica instance name.", +"location": "path", +"required": true, +"type": "string" +}, +"project": { +"description": "ID of the project that contains the read replica.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v1/projects/{project}/instances/{instance}/resetReplicaSize", +"request": { +"$ref": "SqlInstancesResetReplicaSizeRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/sqlservice.admin" +] +}, +"startExternalSync": { +"description": "Start External primary instance migration.", +"flatPath": "v1/projects/{project}/instances/{instance}/startExternalSync", +"httpMethod": "POST", +"id": "sql.projects.instances.startExternalSync", +"parameterOrder": [ +"project", +"instance" +], +"parameters": { +"instance": { +"description": "Cloud SQL instance ID. This does not include the project ID.", +"location": "path", +"required": true, +"type": "string" +}, +"project": { +"description": "ID of the project that contains the instance.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v1/projects/{project}/instances/{instance}/startExternalSync", +"request": { +"$ref": "SqlInstancesStartExternalSyncRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/sqlservice.admin" +] +}, +"verifyExternalSyncSettings": { +"description": "Verify External primary instance external sync settings.", +"flatPath": "v1/projects/{project}/instances/{instance}/verifyExternalSyncSettings", +"httpMethod": "POST", +"id": "sql.projects.instances.verifyExternalSyncSettings", +"parameterOrder": [ +"project", +"instance" +], +"parameters": { +"instance": { +"description": "Cloud SQL instance ID. This does not include the project ID.", +"location": "path", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID of the project that contains the instance.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v1/projects/{project}/instances/{instance}/verifyExternalSyncSettings", +"request": { +"$ref": "SqlInstancesVerifyExternalSyncSettingsRequest" +}, +"response": { +"$ref": "SqlInstancesVerifyExternalSyncSettingsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/sqlservice.admin" +] +} +} +} +} +}, +"sslCerts": { +"methods": { +"createEphemeral": { +"description": "Generates a short-lived X509 certificate containing the provided public key and signed by a private key specific to the target instance. Users may use the certificate to authenticate as themselves when connecting to the database.", +"flatPath": "v1/projects/{project}/instances/{instance}/createEphemeral", +"httpMethod": "POST", +"id": "sql.sslCerts.createEphemeral", +"parameterOrder": [ +"project", +"instance" +], +"parameters": { +"instance": { +"description": "Cloud SQL instance ID. This does not include the project ID.", +"location": "path", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID of the Cloud SQL project.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v1/projects/{project}/instances/{instance}/createEphemeral", +"request": { +"$ref": "SslCertsCreateEphemeralRequest" +}, +"response": { +"$ref": "SslCert" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/sqlservice.admin" +] +}, +"delete": { +"description": "Deletes the SSL certificate. For First Generation instances, the certificate remains valid until the instance is restarted.", +"flatPath": "v1/projects/{project}/instances/{instance}/sslCerts/{sha1Fingerprint}", +"httpMethod": "DELETE", +"id": "sql.sslCerts.delete", +"parameterOrder": [ +"project", +"instance", +"sha1Fingerprint" +], +"parameters": { +"instance": { +"description": "Cloud SQL instance ID. This does not include the project ID.", +"location": "path", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID of the project that contains the instance.", +"location": "path", +"required": true, +"type": "string" +}, +"sha1Fingerprint": { +"description": "Sha1 FingerPrint.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v1/projects/{project}/instances/{instance}/sslCerts/{sha1Fingerprint}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/sqlservice.admin" +] +}, +"get": { +"description": "Retrieves a particular SSL certificate. Does not include the private key (required for usage). The private key must be saved from the response to initial creation.", +"flatPath": "v1/projects/{project}/instances/{instance}/sslCerts/{sha1Fingerprint}", +"httpMethod": "GET", +"id": "sql.sslCerts.get", +"parameterOrder": [ +"project", +"instance", +"sha1Fingerprint" +], +"parameters": { +"instance": { +"description": "Cloud SQL instance ID. This does not include the project ID.", +"location": "path", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID of the project that contains the instance.", +"location": "path", +"required": true, +"type": "string" +}, +"sha1Fingerprint": { +"description": "Sha1 FingerPrint.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v1/projects/{project}/instances/{instance}/sslCerts/{sha1Fingerprint}", +"response": { +"$ref": "SslCert" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/sqlservice.admin" +] +}, +"insert": { +"description": "Creates an SSL certificate and returns it along with the private key and server certificate authority. The new certificate will not be usable until the instance is restarted.", +"flatPath": "v1/projects/{project}/instances/{instance}/sslCerts", +"httpMethod": "POST", +"id": "sql.sslCerts.insert", +"parameterOrder": [ +"project", +"instance" +], +"parameters": { +"instance": { +"description": "Cloud SQL instance ID. This does not include the project ID.", +"location": "path", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID of the project that contains the instance.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v1/projects/{project}/instances/{instance}/sslCerts", +"request": { +"$ref": "SslCertsInsertRequest" +}, +"response": { +"$ref": "SslCertsInsertResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/sqlservice.admin" +] +}, +"list": { +"description": "Lists all of the current SSL certificates for the instance.", +"flatPath": "v1/projects/{project}/instances/{instance}/sslCerts", +"httpMethod": "GET", +"id": "sql.sslCerts.list", +"parameterOrder": [ +"project", +"instance" +], +"parameters": { +"instance": { +"description": "Cloud SQL instance ID. This does not include the project ID.", +"location": "path", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID of the project that contains the instance.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v1/projects/{project}/instances/{instance}/sslCerts", +"response": { +"$ref": "SslCertsListResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/sqlservice.admin" +] +} +} +}, +"tiers": { +"methods": { +"list": { +"description": "Lists all available machine types (tiers) for Cloud SQL, for example, `db-custom-1-3840`. For more information, see https://cloud.google.com/sql/pricing.", +"flatPath": "v1/projects/{project}/tiers", +"httpMethod": "GET", +"id": "sql.tiers.list", +"parameterOrder": [ +"project" +], +"parameters": { +"project": { +"description": "Project ID of the project for which to list tiers.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v1/projects/{project}/tiers", +"response": { +"$ref": "TiersListResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/sqlservice.admin" +] +} +} +}, +"users": { +"methods": { +"delete": { +"description": "Deletes a user from a Cloud SQL instance.", +"flatPath": "v1/projects/{project}/instances/{instance}/users", +"httpMethod": "DELETE", +"id": "sql.users.delete", +"parameterOrder": [ +"project", +"instance" +], +"parameters": { +"host": { +"description": "Host of the user in the instance.", +"location": "query", +"type": "string" +}, +"instance": { +"description": "Database instance ID. This does not include the project ID.", +"location": "path", +"required": true, +"type": "string" +}, +"name": { +"description": "Name of the user in the instance.", +"location": "query", +"type": "string" +}, +"project": { +"description": "Project ID of the project that contains the instance.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v1/projects/{project}/instances/{instance}/users", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/sqlservice.admin" +] +}, +"get": { +"description": "Retrieves a resource containing information about a user.", +"flatPath": "v1/projects/{project}/instances/{instance}/users/{name}", +"httpMethod": "GET", +"id": "sql.users.get", +"parameterOrder": [ +"project", +"instance", +"name" +], +"parameters": { +"host": { +"description": "Host of a user of the instance.", +"location": "query", +"type": "string" +}, +"instance": { +"description": "Database instance ID. This does not include the project ID.", +"location": "path", +"required": true, +"type": "string" +}, +"name": { +"description": "User of the instance.", +"location": "path", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID of the project that contains the instance.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v1/projects/{project}/instances/{instance}/users/{name}", +"response": { +"$ref": "User" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/sqlservice.admin" +] +}, +"insert": { +"description": "Creates a new user in a Cloud SQL instance.", +"flatPath": "v1/projects/{project}/instances/{instance}/users", +"httpMethod": "POST", +"id": "sql.users.insert", +"parameterOrder": [ +"project", +"instance" +], +"parameters": { +"instance": { +"description": "Database instance ID. This does not include the project ID.", +"location": "path", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID of the project that contains the instance.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v1/projects/{project}/instances/{instance}/users", +"request": { +"$ref": "User" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/sqlservice.admin" +] +}, +"list": { +"description": "Lists users in the specified Cloud SQL instance.", +"flatPath": "v1/projects/{project}/instances/{instance}/users", +"httpMethod": "GET", +"id": "sql.users.list", +"parameterOrder": [ +"project", +"instance" +], +"parameters": { +"instance": { +"description": "Database instance ID. This does not include the project ID.", +"location": "path", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID of the project that contains the instance.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v1/projects/{project}/instances/{instance}/users", +"response": { +"$ref": "UsersListResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/sqlservice.admin" +] +}, +"update": { +"description": "Updates an existing user in a Cloud SQL instance.", +"flatPath": "v1/projects/{project}/instances/{instance}/users", +"httpMethod": "PUT", +"id": "sql.users.update", +"parameterOrder": [ +"project", +"instance" +], +"parameters": { +"databaseRoles": { +"description": "Optional. List of database roles to grant to the user. body.database_roles will be ignored for update request.", +"location": "query", +"repeated": true, +"type": "string" +}, +"host": { +"description": "Optional. Host of the user in the instance.", +"location": "query", +"type": "string" +}, +"instance": { +"description": "Database instance ID. This does not include the project ID.", +"location": "path", +"required": true, +"type": "string" +}, +"name": { +"description": "Name of the user in the instance.", +"location": "query", +"type": "string" +}, +"project": { +"description": "Project ID of the project that contains the instance.", +"location": "path", +"required": true, +"type": "string" +}, +"revokeExistingRoles": { +"description": "Optional. Specifies whether to revoke existing roles that are not present in the `database_roles` field. If `false` or unset, the database roles specified in `database_roles` are added to the user's existing roles.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1/projects/{project}/instances/{instance}/users", +"request": { +"$ref": "User" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/sqlservice.admin" +] +} +} +} +}, +"revision": "20260222", +"rootUrl": "https://sqladmin.googleapis.com/", +"schemas": { +"AclEntry": { +"description": "An entry for an Access Control list.", +"id": "AclEntry", +"properties": { +"expirationTime": { +"description": "The time when this access control entry expires in [RFC 3339](https://tools.ietf.org/html/rfc3339) format, for example `2012-11-15T16:19:00.094Z`.", +"format": "google-datetime", +"type": "string" +}, +"kind": { +"description": "This is always `sql#aclEntry`.", +"type": "string" +}, +"name": { +"description": "Optional. A label to identify this entry.", +"type": "string" +}, +"value": { +"description": "The allowlisted value for the access control list.", +"type": "string" +} +}, +"type": "object" +}, +"AcquireSsrsLeaseContext": { +"description": "Acquire SSRS lease context.", +"id": "AcquireSsrsLeaseContext", +"properties": { +"duration": { +"description": "Lease duration needed for SSRS setup.", +"format": "google-duration", +"type": "string" +}, +"reportDatabase": { +"description": "The report database to be used for SSRS setup.", +"type": "string" +}, +"serviceLogin": { +"description": "The username to be used as the service login to connect to the report database for SSRS setup.", +"type": "string" +}, +"setupLogin": { +"description": "The username to be used as the setup login to connect to the database server for SSRS setup.", +"type": "string" +} +}, +"type": "object" +}, +"AdvancedMachineFeatures": { +"description": "Specifies options for controlling advanced machine features.", +"id": "AdvancedMachineFeatures", +"properties": { +"threadsPerCore": { +"description": "The number of threads per physical core.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"ApiWarning": { +"description": "An Admin API warning message.", +"id": "ApiWarning", +"properties": { +"code": { +"description": "Code to uniquely identify the warning type.", +"enum": [ +"SQL_API_WARNING_CODE_UNSPECIFIED", +"REGION_UNREACHABLE", +"MAX_RESULTS_EXCEEDS_LIMIT", +"COMPROMISED_CREDENTIALS", +"INTERNAL_STATE_FAILURE" +], +"enumDescriptions": [ +"An unknown or unset warning type from Cloud SQL API.", +"Warning when one or more regions are not reachable. The returned result set may be incomplete.", +"Warning when user provided maxResults parameter exceeds the limit. The returned result set may be incomplete.", +"Warning when user tries to create/update a user with credentials that have previously been compromised by a public data breach.", +"Warning when the operation succeeds but some non-critical workflow state failed." +], +"type": "string" +}, +"message": { +"description": "The warning message.", +"type": "string" +}, +"region": { +"description": "The region name for REGION_UNREACHABLE warning.", +"type": "string" +} +}, +"type": "object" +}, +"AvailableDatabaseVersion": { +"description": "An available database version. It can be a major or a minor version.", +"id": "AvailableDatabaseVersion", +"properties": { +"displayName": { +"description": "The database version's display name.", +"type": "string" +}, +"majorVersion": { +"description": "The version's major version name.", +"type": "string" +}, +"name": { +"description": "The database version name. For MySQL 8.0, this string provides the database major and minor version.", +"type": "string" +} +}, +"type": "object" +}, +"Backup": { +"description": "A backup resource.", +"id": "Backup", +"properties": { +"backupInterval": { +"$ref": "Interval", +"description": "Output only. This output contains the following values: start_time: All database writes up to this time are available. end_time: Any database writes after this time aren't available.", +"readOnly": true +}, +"backupKind": { +"description": "Output only. Specifies the kind of backup, PHYSICAL or DEFAULT_SNAPSHOT.", +"enum": [ +"SQL_BACKUP_KIND_UNSPECIFIED", +"SNAPSHOT", +"PHYSICAL" +], +"enumDescriptions": [ +"This is an unknown BackupKind.", +"Snapshot-based backups.", +"Physical backups." +], +"readOnly": true, +"type": "string" +}, +"backupRun": { +"description": "Output only. The mapping to backup run resource used for IAM validations.", +"readOnly": true, +"type": "string" +}, +"databaseVersion": { +"description": "Output only. The database version of the instance of at the time this backup was made.", +"enum": [ +"SQL_DATABASE_VERSION_UNSPECIFIED", +"MYSQL_5_1", +"MYSQL_5_5", +"MYSQL_5_6", +"MYSQL_5_7", +"MYSQL_8_0", +"MYSQL_8_0_18", +"MYSQL_8_0_26", +"MYSQL_8_0_27", +"MYSQL_8_0_28", +"MYSQL_8_0_29", +"MYSQL_8_0_30", +"MYSQL_8_0_31", +"MYSQL_8_0_32", +"MYSQL_8_0_33", +"MYSQL_8_0_34", +"MYSQL_8_0_35", +"MYSQL_8_0_36", +"MYSQL_8_0_37", +"MYSQL_8_0_39", +"MYSQL_8_0_40", +"MYSQL_8_0_41", +"MYSQL_8_0_42", +"MYSQL_8_0_43", +"MYSQL_8_0_44", +"MYSQL_8_0_45", +"MYSQL_8_0_46", +"MYSQL_8_4", +"MYSQL_9_7", +"SQLSERVER_2017_STANDARD", +"SQLSERVER_2017_ENTERPRISE", +"SQLSERVER_2017_EXPRESS", +"SQLSERVER_2017_WEB", +"POSTGRES_9_6", +"POSTGRES_10", +"POSTGRES_11", +"POSTGRES_12", +"POSTGRES_13", +"POSTGRES_14", +"POSTGRES_15", +"POSTGRES_16", +"POSTGRES_17", +"POSTGRES_18", +"SQLSERVER_2019_STANDARD", +"SQLSERVER_2019_ENTERPRISE", +"SQLSERVER_2019_EXPRESS", +"SQLSERVER_2019_WEB", +"SQLSERVER_2022_STANDARD", +"SQLSERVER_2022_ENTERPRISE", +"SQLSERVER_2022_EXPRESS", +"SQLSERVER_2022_WEB", +"SQLSERVER_2025_STANDARD", +"SQLSERVER_2025_ENTERPRISE", +"SQLSERVER_2025_EXPRESS" +], +"enumDeprecated": [ +false, +true, +true, +false, +false, +false, +false, +false, +false, +false, +true, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false +], +"enumDescriptions": [ +"This is an unknown database version.", +"The database version is MySQL 5.1.", +"The database version is MySQL 5.5.", +"The database version is MySQL 5.6.", +"The database version is MySQL 5.7.", +"The database version is MySQL 8.", +"The database major version is MySQL 8.0 and the minor version is 18.", +"The database major version is MySQL 8.0 and the minor version is 26.", +"The database major version is MySQL 8.0 and the minor version is 27.", +"The database major version is MySQL 8.0 and the minor version is 28.", +"The database major version is MySQL 8.0 and the minor version is 29.", +"The database major version is MySQL 8.0 and the minor version is 30.", +"The database major version is MySQL 8.0 and the minor version is 31.", +"The database major version is MySQL 8.0 and the minor version is 32.", +"The database major version is MySQL 8.0 and the minor version is 33.", +"The database major version is MySQL 8.0 and the minor version is 34.", +"The database major version is MySQL 8.0 and the minor version is 35.", +"The database major version is MySQL 8.0 and the minor version is 36.", +"The database major version is MySQL 8.0 and the minor version is 37.", +"The database major version is MySQL 8.0 and the minor version is 39.", +"The database major version is MySQL 8.0 and the minor version is 40.", +"The database major version is MySQL 8.0 and the minor version is 41.", +"The database major version is MySQL 8.0 and the minor version is 42.", +"The database major version is MySQL 8.0 and the minor version is 43.", +"The database major version is MySQL 8.0 and the minor version is 44.", +"The database major version is MySQL 8.0 and the minor version is 45.", +"The database major version is MySQL 8.0 and the minor version is 46.", +"The database version is MySQL 8.4.", +"The database version is MySQL 9.7.", +"The database version is SQL Server 2017 Standard.", +"The database version is SQL Server 2017 Enterprise.", +"The database version is SQL Server 2017 Express.", +"The database version is SQL Server 2017 Web.", +"The database version is PostgreSQL 9.6.", +"The database version is PostgreSQL 10.", +"The database version is PostgreSQL 11.", +"The database version is PostgreSQL 12.", +"The database version is PostgreSQL 13.", +"The database version is PostgreSQL 14.", +"The database version is PostgreSQL 15.", +"The database version is PostgreSQL 16.", +"The database version is PostgreSQL 17.", +"The database version is PostgreSQL 18.", +"The database version is SQL Server 2019 Standard.", +"The database version is SQL Server 2019 Enterprise.", +"The database version is SQL Server 2019 Express.", +"The database version is SQL Server 2019 Web.", +"The database version is SQL Server 2022 Standard.", +"The database version is SQL Server 2022 Enterprise.", +"The database version is SQL Server 2022 Express.", +"The database version is SQL Server 2022 Web.", +"The database version is SQL Server 2025 Standard.", +"The database version is SQL Server 2025 Enterprise.", +"The database version is SQL Server 2025 Express." +], +"readOnly": true, +"type": "string" +}, +"description": { +"description": "The description of this backup.", +"type": "string" +}, +"error": { +"$ref": "OperationError", +"description": "Output only. Information about why the backup operation fails (for example, when the backup state fails).", +"readOnly": true +}, +"expiryTime": { +"description": "Backup expiration time. A UTC timestamp of when this backup expired.", +"format": "google-datetime", +"type": "string" +}, +"instance": { +"description": "The name of the source database instance.", +"type": "string" +}, +"instanceDeletionTime": { +"description": "Optional. Output only. Timestamp in UTC of when the instance associated with this backup is deleted.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"instanceSettings": { +"$ref": "DatabaseInstance", +"description": "Optional. Output only. The instance setting of the source instance that's associated with this backup.", +"readOnly": true +}, +"kind": { +"description": "Output only. This is always `sql#backup`.", +"readOnly": true, +"type": "string" +}, +"kmsKey": { +"description": "Output only. This output contains the encryption configuration for a backup and the resource name of the KMS key for disk encryption.", +"readOnly": true, +"type": "string" +}, +"kmsKeyVersion": { +"description": "Output only. This output contains the encryption status for a backup and the version of the KMS key that's used to encrypt the Cloud SQL instance.", +"readOnly": true, +"type": "string" +}, +"location": { +"description": "The storage location of the backups. The location can be multi-regional.", +"type": "string" +}, +"maxChargeableBytes": { +"description": "Output only. The maximum chargeable bytes for the backup.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"name": { +"description": "Output only. The resource name of the backup. Format: projects/{project}/backups/{backup}.", +"readOnly": true, +"type": "string" +}, +"satisfiesPzi": { +"description": "Output only. This status indicates whether the backup satisfies PZI. The status is reserved for future use.", +"readOnly": true, +"type": "boolean" +}, +"satisfiesPzs": { +"description": "Output only. This status indicates whether the backup satisfies PZS. The status is reserved for future use.", +"readOnly": true, +"type": "boolean" +}, +"selfLink": { +"description": "Output only. The URI of this resource.", +"readOnly": true, +"type": "string" +}, +"state": { +"description": "Output only. The status of this backup.", +"enum": [ +"SQL_BACKUP_STATE_UNSPECIFIED", +"ENQUEUED", +"RUNNING", +"FAILED", +"SUCCESSFUL", +"DELETING", +"DELETION_FAILED" +], +"enumDescriptions": [ +"The state of the backup is unknown.", +"The backup that's added to a queue.", +"The backup is in progress.", +"The backup failed.", +"The backup is successful.", +"The backup is being deleted.", +"Deletion of the backup failed." +], +"readOnly": true, +"type": "string" +}, +"timeZone": { +"description": "Output only. This output contains a backup time zone. If a Cloud SQL for SQL Server instance has a different time zone from the backup's time zone, then the restore to the instance doesn't happen.", +"readOnly": true, +"type": "string" +}, +"ttlDays": { +"description": "Input only. The time-to-live (TTL) interval for this resource (in days). For example: ttlDays:7, means 7 days from the current time. The expiration time can't exceed 365 days from the time that the backup is created.", +"format": "int64", +"type": "string" +}, +"type": { +"description": "Output only. The type of this backup. The type can be \"AUTOMATED\", \"ON_DEMAND\" or \u201cFINAL\u201d.", +"enum": [ +"SQL_BACKUP_TYPE_UNSPECIFIED", +"AUTOMATED", +"ON_DEMAND", +"FINAL" +], +"enumDescriptions": [ +"This is an unknown backup type.", +"The backup schedule triggers a backup automatically.", +"The user triggers a backup manually.", +"The backup created when instance is deleted." +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"BackupConfiguration": { +"description": "Database instance backup configuration.", +"id": "BackupConfiguration", +"properties": { +"backupRetentionSettings": { +"$ref": "BackupRetentionSettings", +"description": "Backup retention settings." +}, +"backupTier": { +"description": "Output only. Backup tier that manages the backups for the instance.", +"enum": [ +"BACKUP_TIER_UNSPECIFIED", +"STANDARD", +"ADVANCED", +"ENHANCED" +], +"enumDeprecated": [ +false, +false, +true, +false +], +"enumDescriptions": [ +"Unspecified.", +"Instance is managed by Cloud SQL.", +"Deprecated: ADVANCED is deprecated. Please use ENHANCED instead.", +"Instance is managed by Google Cloud Backup and DR Service." +], +"readOnly": true, +"type": "string" +}, +"binaryLogEnabled": { +"description": "(MySQL only) Whether binary log is enabled. If backup configuration is disabled, binarylog must be disabled as well.", +"type": "boolean" +}, +"enabled": { +"description": "Whether this configuration is enabled.", +"type": "boolean" +}, +"kind": { +"description": "This is always `sql#backupConfiguration`.", +"type": "string" +}, +"location": { +"description": "Location of the backup", +"type": "string" +}, +"pointInTimeRecoveryEnabled": { +"description": "Whether point in time recovery is enabled.", +"type": "boolean" +}, +"replicationLogArchivingEnabled": { +"description": "Reserved for future use.", +"type": "boolean" +}, +"startTime": { +"description": "Start time for the daily backup configuration in UTC timezone in the 24 hour format - `HH:MM`.", +"type": "string" +}, +"transactionLogRetentionDays": { +"description": "The number of days of transaction logs we retain for point in time restore, from 1-7.", +"format": "int32", +"type": "integer" +}, +"transactionalLogStorageState": { +"description": "Output only. This value contains the storage location of transactional logs used to perform point-in-time recovery (PITR) for the database.", +"enum": [ +"TRANSACTIONAL_LOG_STORAGE_STATE_UNSPECIFIED", +"DISK", +"SWITCHING_TO_CLOUD_STORAGE", +"SWITCHED_TO_CLOUD_STORAGE", +"CLOUD_STORAGE" +], +"enumDescriptions": [ +"Unspecified.", +"The transaction logs used for PITR for the instance are stored on a data disk.", +"The transaction logs used for PITR for the instance are switching from being stored on a data disk to being stored in Cloud Storage. Only applicable to MySQL.", +"The transaction logs used for PITR for the instance are now stored in Cloud Storage. Previously, they were stored on a data disk. Only applicable to MySQL.", +"The transaction logs used for PITR for the instance are stored in Cloud Storage. Only applicable to MySQL and PostgreSQL." +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"BackupContext": { +"description": "Backup context.", +"id": "BackupContext", +"properties": { +"backupId": { +"description": "The identifier of the backup.", +"format": "int64", +"type": "string" +}, +"kind": { +"description": "This is always `sql#backupContext`.", +"type": "string" +}, +"name": { +"description": "The name of the backup. Format: projects/{project}/backups/{backup}", +"type": "string" +} +}, +"type": "object" +}, +"BackupReencryptionConfig": { +"description": "Backup Reencryption Config", +"id": "BackupReencryptionConfig", +"properties": { +"backupLimit": { +"description": "Backup re-encryption limit", +"format": "int32", +"type": "integer" +}, +"backupType": { +"description": "Type of backups users want to re-encrypt.", +"enum": [ +"BACKUP_TYPE_UNSPECIFIED", +"AUTOMATED", +"ON_DEMAND" +], +"enumDescriptions": [ +"Unknown backup type, will be defaulted to AUTOMATIC backup type", +"Reencrypt automatic backups", +"Reencrypt on-demand backups" +], +"type": "string" +} +}, +"type": "object" +}, +"BackupRetentionSettings": { +"description": "We currently only support backup retention by specifying the number of backups we will retain.", +"id": "BackupRetentionSettings", +"properties": { +"retainedBackups": { +"description": "Depending on the value of retention_unit, this is used to determine if a backup needs to be deleted. If retention_unit is 'COUNT', we will retain this many backups.", +"format": "int32", +"type": "integer" +}, +"retentionUnit": { +"description": "The unit that 'retained_backups' represents.", +"enum": [ +"RETENTION_UNIT_UNSPECIFIED", +"COUNT" +], +"enumDescriptions": [ +"Backup retention unit is unspecified, will be treated as COUNT.", +"Retention will be by count, eg. \"retain the most recent 7 backups\"." +], +"type": "string" +} +}, +"type": "object" +}, +"BackupRun": { +"description": "A BackupRun resource.", +"id": "BackupRun", +"properties": { +"backupKind": { +"description": "Specifies the kind of backup, PHYSICAL or DEFAULT_SNAPSHOT.", +"enum": [ +"SQL_BACKUP_KIND_UNSPECIFIED", +"SNAPSHOT", +"PHYSICAL" +], +"enumDescriptions": [ +"This is an unknown BackupKind.", +"Snapshot-based backups.", +"Physical backups." +], +"type": "string" +}, +"databaseVersion": { +"description": "Output only. The instance database version at the time this backup was made.", +"enum": [ +"SQL_DATABASE_VERSION_UNSPECIFIED", +"MYSQL_5_1", +"MYSQL_5_5", +"MYSQL_5_6", +"MYSQL_5_7", +"MYSQL_8_0", +"MYSQL_8_0_18", +"MYSQL_8_0_26", +"MYSQL_8_0_27", +"MYSQL_8_0_28", +"MYSQL_8_0_29", +"MYSQL_8_0_30", +"MYSQL_8_0_31", +"MYSQL_8_0_32", +"MYSQL_8_0_33", +"MYSQL_8_0_34", +"MYSQL_8_0_35", +"MYSQL_8_0_36", +"MYSQL_8_0_37", +"MYSQL_8_0_39", +"MYSQL_8_0_40", +"MYSQL_8_0_41", +"MYSQL_8_0_42", +"MYSQL_8_0_43", +"MYSQL_8_0_44", +"MYSQL_8_0_45", +"MYSQL_8_0_46", +"MYSQL_8_4", +"MYSQL_9_7", +"SQLSERVER_2017_STANDARD", +"SQLSERVER_2017_ENTERPRISE", +"SQLSERVER_2017_EXPRESS", +"SQLSERVER_2017_WEB", +"POSTGRES_9_6", +"POSTGRES_10", +"POSTGRES_11", +"POSTGRES_12", +"POSTGRES_13", +"POSTGRES_14", +"POSTGRES_15", +"POSTGRES_16", +"POSTGRES_17", +"POSTGRES_18", +"SQLSERVER_2019_STANDARD", +"SQLSERVER_2019_ENTERPRISE", +"SQLSERVER_2019_EXPRESS", +"SQLSERVER_2019_WEB", +"SQLSERVER_2022_STANDARD", +"SQLSERVER_2022_ENTERPRISE", +"SQLSERVER_2022_EXPRESS", +"SQLSERVER_2022_WEB", +"SQLSERVER_2025_STANDARD", +"SQLSERVER_2025_ENTERPRISE", +"SQLSERVER_2025_EXPRESS" +], +"enumDeprecated": [ +false, +true, +true, +false, +false, +false, +false, +false, +false, +false, +true, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false +], +"enumDescriptions": [ +"This is an unknown database version.", +"The database version is MySQL 5.1.", +"The database version is MySQL 5.5.", +"The database version is MySQL 5.6.", +"The database version is MySQL 5.7.", +"The database version is MySQL 8.", +"The database major version is MySQL 8.0 and the minor version is 18.", +"The database major version is MySQL 8.0 and the minor version is 26.", +"The database major version is MySQL 8.0 and the minor version is 27.", +"The database major version is MySQL 8.0 and the minor version is 28.", +"The database major version is MySQL 8.0 and the minor version is 29.", +"The database major version is MySQL 8.0 and the minor version is 30.", +"The database major version is MySQL 8.0 and the minor version is 31.", +"The database major version is MySQL 8.0 and the minor version is 32.", +"The database major version is MySQL 8.0 and the minor version is 33.", +"The database major version is MySQL 8.0 and the minor version is 34.", +"The database major version is MySQL 8.0 and the minor version is 35.", +"The database major version is MySQL 8.0 and the minor version is 36.", +"The database major version is MySQL 8.0 and the minor version is 37.", +"The database major version is MySQL 8.0 and the minor version is 39.", +"The database major version is MySQL 8.0 and the minor version is 40.", +"The database major version is MySQL 8.0 and the minor version is 41.", +"The database major version is MySQL 8.0 and the minor version is 42.", +"The database major version is MySQL 8.0 and the minor version is 43.", +"The database major version is MySQL 8.0 and the minor version is 44.", +"The database major version is MySQL 8.0 and the minor version is 45.", +"The database major version is MySQL 8.0 and the minor version is 46.", +"The database version is MySQL 8.4.", +"The database version is MySQL 9.7.", +"The database version is SQL Server 2017 Standard.", +"The database version is SQL Server 2017 Enterprise.", +"The database version is SQL Server 2017 Express.", +"The database version is SQL Server 2017 Web.", +"The database version is PostgreSQL 9.6.", +"The database version is PostgreSQL 10.", +"The database version is PostgreSQL 11.", +"The database version is PostgreSQL 12.", +"The database version is PostgreSQL 13.", +"The database version is PostgreSQL 14.", +"The database version is PostgreSQL 15.", +"The database version is PostgreSQL 16.", +"The database version is PostgreSQL 17.", +"The database version is PostgreSQL 18.", +"The database version is SQL Server 2019 Standard.", +"The database version is SQL Server 2019 Enterprise.", +"The database version is SQL Server 2019 Express.", +"The database version is SQL Server 2019 Web.", +"The database version is SQL Server 2022 Standard.", +"The database version is SQL Server 2022 Enterprise.", +"The database version is SQL Server 2022 Express.", +"The database version is SQL Server 2022 Web.", +"The database version is SQL Server 2025 Standard.", +"The database version is SQL Server 2025 Enterprise.", +"The database version is SQL Server 2025 Express." +], +"readOnly": true, +"type": "string" +}, +"description": { +"description": "The description of this run, only applicable to on-demand backups.", +"type": "string" +}, +"diskEncryptionConfiguration": { +"$ref": "DiskEncryptionConfiguration", +"description": "Encryption configuration specific to a backup." +}, +"diskEncryptionStatus": { +"$ref": "DiskEncryptionStatus", +"description": "Encryption status specific to a backup." +}, +"endTime": { +"description": "The time the backup operation completed in UTC timezone in [RFC 3339](https://tools.ietf.org/html/rfc3339) format, for example `2012-11-15T16:19:00.094Z`.", +"format": "google-datetime", +"type": "string" +}, +"enqueuedTime": { +"description": "The time the run was enqueued in UTC timezone in [RFC 3339](https://tools.ietf.org/html/rfc3339) format, for example `2012-11-15T16:19:00.094Z`.", +"format": "google-datetime", +"type": "string" +}, +"error": { +"$ref": "OperationError", +"description": "Information about why the backup operation failed. This is only present if the run has the FAILED status." +}, +"id": { +"description": "The identifier for this backup run. Unique only for a specific Cloud SQL instance.", +"format": "int64", +"type": "string" +}, +"instance": { +"description": "Name of the database instance.", +"type": "string" +}, +"kind": { +"description": "This is always `sql#backupRun`.", +"type": "string" +}, +"location": { +"description": "Location of the backups.", +"type": "string" +}, +"maxChargeableBytes": { +"description": "Output only. The maximum chargeable bytes for the backup.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"selfLink": { +"description": "The URI of this resource.", +"type": "string" +}, +"startTime": { +"description": "The time the backup operation actually started in UTC timezone in [RFC 3339](https://tools.ietf.org/html/rfc3339) format, for example `2012-11-15T16:19:00.094Z`.", +"format": "google-datetime", +"type": "string" +}, +"status": { +"description": "The status of this run.", +"enum": [ +"SQL_BACKUP_RUN_STATUS_UNSPECIFIED", +"ENQUEUED", +"OVERDUE", +"RUNNING", +"FAILED", +"SUCCESSFUL", +"SKIPPED", +"DELETION_PENDING", +"DELETION_FAILED", +"DELETED" +], +"enumDescriptions": [ +"The status of the run is unknown.", +"The backup operation was enqueued.", +"The backup is overdue across a given backup window. Indicates a problem. Example: Long-running operation in progress during the whole window.", +"The backup is in progress.", +"The backup failed.", +"The backup was successful.", +"The backup was skipped (without problems) for a given backup window. Example: Instance was idle.", +"The backup is about to be deleted.", +"The backup deletion failed.", +"The backup has been deleted." +], +"type": "string" +}, +"timeZone": { +"description": "Backup time zone to prevent restores to an instance with a different time zone. Now relevant only for SQL Server.", +"type": "string" +}, +"type": { +"description": "The type of this run; can be either \"AUTOMATED\" or \"ON_DEMAND\" or \"FINAL\". This field defaults to \"ON_DEMAND\" and is ignored, when specified for insert requests.", +"enum": [ +"SQL_BACKUP_RUN_TYPE_UNSPECIFIED", +"AUTOMATED", +"ON_DEMAND" +], +"enumDescriptions": [ +"This is an unknown BackupRun type.", +"The backup schedule automatically triggers a backup.", +"The user manually triggers a backup." +], +"type": "string" +}, +"windowStartTime": { +"description": "The start time of the backup window during which this the backup was attempted in [RFC 3339](https://tools.ietf.org/html/rfc3339) format, for example `2012-11-15T16:19:00.094Z`.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"BackupRunsListResponse": { +"description": "Backup run list results.", +"id": "BackupRunsListResponse", +"properties": { +"items": { +"description": "A list of backup runs in reverse chronological order of the enqueued time.", +"items": { +"$ref": "BackupRun" +}, +"type": "array" +}, +"kind": { +"description": "This is always `sql#backupRunsList`.", +"type": "string" +}, +"nextPageToken": { +"description": "The continuation token, used to page through large result sets. Provide this value in a subsequent request to return the next page of results.", +"type": "string" +} +}, +"type": "object" +}, +"BinLogCoordinates": { +"description": "Binary log coordinates.", +"id": "BinLogCoordinates", +"properties": { +"binLogFileName": { +"description": "Name of the binary log file for a Cloud SQL instance.", +"type": "string" +}, +"binLogPosition": { +"description": "Position (offset) within the binary log file.", +"format": "int64", +"type": "string" +}, +"kind": { +"description": "This is always `sql#binLogCoordinates`.", +"type": "string" +} +}, +"type": "object" +}, +"CloneContext": { +"description": "Database instance clone context.", +"id": "CloneContext", +"properties": { +"allocatedIpRange": { +"description": "The name of the allocated ip range for the private ip Cloud SQL instance. For example: \"google-managed-services-default\". If set, the cloned instance ip will be created in the allocated range. The range name must comply with [RFC 1035](https://tools.ietf.org/html/rfc1035). Specifically, the name must be 1-63 characters long and match the regular expression [a-z]([-a-z0-9]*[a-z0-9])?. Reserved for future use.", +"type": "string" +}, +"binLogCoordinates": { +"$ref": "BinLogCoordinates", +"description": "Binary log coordinates, if specified, identify the position up to which the source instance is cloned. If not specified, the source instance is cloned up to the most recent binary log coordinates." +}, +"databaseNames": { +"description": "(SQL Server only) Clone only the specified databases from the source instance. Clone all databases if empty.", +"items": { +"type": "string" +}, +"type": "array" +}, +"destinationInstanceName": { +"description": "Required. Name of the Cloud SQL instance to be created as a clone.", +"type": "string" +}, +"destinationNetwork": { +"description": "Optional. The fully qualified URI of the VPC network to which the cloned instance will be connected via Private Services Access for private IP. For example:`projects/my-network-project/global/networks/my-network`. This field is only required for cross-project cloning.", +"type": "string" +}, +"destinationProject": { +"description": "Optional. The project ID of the destination project where the cloned instance will be created. To perform a cross-project clone, this field is required. If not specified, the clone is created in the same project as the source instance.", +"type": "string" +}, +"kind": { +"description": "This is always `sql#cloneContext`.", +"type": "string" +}, +"pitrTimestampMs": { +"description": "Reserved for future use.", +"format": "int64", +"type": "string" +}, +"pointInTime": { +"description": "Timestamp, if specified, identifies the time to which the source instance is cloned.", +"format": "google-datetime", +"type": "string" +}, +"preferredSecondaryZone": { +"description": "Optional. Copy clone and point-in-time recovery clone of a regional instance in the specified zones. If not specified, clone to the same secondary zone as the source instance. This value cannot be the same as the preferred_zone field. This field applies to all DB types.", +"type": "string" +}, +"preferredZone": { +"description": "Optional. Copy clone and point-in-time recovery clone of an instance to the specified zone. If no zone is specified, clone to the same primary zone as the source instance. This field applies to all DB types.", +"type": "string" +}, +"sourceInstanceDeletionTime": { +"description": "The timestamp used to identify the time when the source instance is deleted. If this instance is deleted, then you must set the timestamp.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"Column": { +"description": "Contains the name and datatype of a column.", +"id": "Column", +"properties": { +"name": { +"description": "Name of the column.", +"type": "string" +}, +"type": { +"description": "Datatype of the column.", +"type": "string" +} +}, +"type": "object" +}, +"ConnectPoolNodeConfig": { +"description": "Details of a single read pool node of a read pool.", +"id": "ConnectPoolNodeConfig", +"properties": { +"dnsName": { +"description": "Output only. The DNS name of the read pool node.", +"readOnly": true, +"type": "string" +}, +"dnsNames": { +"description": "Output only. The list of DNS names used by this read pool node.", +"items": { +"$ref": "DnsNameMapping" +}, +"readOnly": true, +"type": "array" +}, +"ipAddresses": { +"description": "Output only. Mappings containing IP addresses that can be used to connect to the read pool node.", +"items": { +"$ref": "IpMapping" +}, +"readOnly": true, +"type": "array" +}, +"name": { +"description": "Output only. The name of the read pool node. Doesn't include the project ID.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"ConnectSettings": { +"description": "Connect settings retrieval response.", +"id": "ConnectSettings", +"properties": { +"backendType": { +"description": "`SECOND_GEN`: Cloud SQL database instance. `EXTERNAL`: A database server that is not managed by Google. This property is read-only; use the `tier` property in the `settings` object to determine the database type.", +"enum": [ +"SQL_BACKEND_TYPE_UNSPECIFIED", +"FIRST_GEN", +"SECOND_GEN", +"EXTERNAL" +], +"enumDeprecated": [ +false, +true, +false, +false +], +"enumDescriptions": [ +"This is an unknown backend type for instance.", +"V1 speckle instance.", +"V2 speckle instance.", +"On premises instance." +], +"type": "string" +}, +"customSubjectAlternativeNames": { +"description": "Custom subject alternative names for the server certificate.", +"items": { +"type": "string" +}, +"type": "array" +}, +"databaseVersion": { +"description": "The database engine type and version. The `databaseVersion` field cannot be changed after instance creation. MySQL instances: `MYSQL_8_0`, `MYSQL_5_7` (default), or `MYSQL_5_6`. PostgreSQL instances: `POSTGRES_9_6`, `POSTGRES_10`, `POSTGRES_11`, `POSTGRES_12` (default), `POSTGRES_13`, or `POSTGRES_14`. SQL Server instances: `SQLSERVER_2017_STANDARD` (default), `SQLSERVER_2017_ENTERPRISE`, `SQLSERVER_2017_EXPRESS`, `SQLSERVER_2017_WEB`, `SQLSERVER_2019_STANDARD`, `SQLSERVER_2019_ENTERPRISE`, `SQLSERVER_2019_EXPRESS`, or `SQLSERVER_2019_WEB`.", +"enum": [ +"SQL_DATABASE_VERSION_UNSPECIFIED", +"MYSQL_5_1", +"MYSQL_5_5", +"MYSQL_5_6", +"MYSQL_5_7", +"MYSQL_8_0", +"MYSQL_8_0_18", +"MYSQL_8_0_26", +"MYSQL_8_0_27", +"MYSQL_8_0_28", +"MYSQL_8_0_29", +"MYSQL_8_0_30", +"MYSQL_8_0_31", +"MYSQL_8_0_32", +"MYSQL_8_0_33", +"MYSQL_8_0_34", +"MYSQL_8_0_35", +"MYSQL_8_0_36", +"MYSQL_8_0_37", +"MYSQL_8_0_39", +"MYSQL_8_0_40", +"MYSQL_8_0_41", +"MYSQL_8_0_42", +"MYSQL_8_0_43", +"MYSQL_8_0_44", +"MYSQL_8_0_45", +"MYSQL_8_0_46", +"MYSQL_8_4", +"MYSQL_9_7", +"SQLSERVER_2017_STANDARD", +"SQLSERVER_2017_ENTERPRISE", +"SQLSERVER_2017_EXPRESS", +"SQLSERVER_2017_WEB", +"POSTGRES_9_6", +"POSTGRES_10", +"POSTGRES_11", +"POSTGRES_12", +"POSTGRES_13", +"POSTGRES_14", +"POSTGRES_15", +"POSTGRES_16", +"POSTGRES_17", +"POSTGRES_18", +"SQLSERVER_2019_STANDARD", +"SQLSERVER_2019_ENTERPRISE", +"SQLSERVER_2019_EXPRESS", +"SQLSERVER_2019_WEB", +"SQLSERVER_2022_STANDARD", +"SQLSERVER_2022_ENTERPRISE", +"SQLSERVER_2022_EXPRESS", +"SQLSERVER_2022_WEB", +"SQLSERVER_2025_STANDARD", +"SQLSERVER_2025_ENTERPRISE", +"SQLSERVER_2025_EXPRESS" +], +"enumDeprecated": [ +false, +true, +true, +false, +false, +false, +false, +false, +false, +false, +true, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false +], +"enumDescriptions": [ +"This is an unknown database version.", +"The database version is MySQL 5.1.", +"The database version is MySQL 5.5.", +"The database version is MySQL 5.6.", +"The database version is MySQL 5.7.", +"The database version is MySQL 8.", +"The database major version is MySQL 8.0 and the minor version is 18.", +"The database major version is MySQL 8.0 and the minor version is 26.", +"The database major version is MySQL 8.0 and the minor version is 27.", +"The database major version is MySQL 8.0 and the minor version is 28.", +"The database major version is MySQL 8.0 and the minor version is 29.", +"The database major version is MySQL 8.0 and the minor version is 30.", +"The database major version is MySQL 8.0 and the minor version is 31.", +"The database major version is MySQL 8.0 and the minor version is 32.", +"The database major version is MySQL 8.0 and the minor version is 33.", +"The database major version is MySQL 8.0 and the minor version is 34.", +"The database major version is MySQL 8.0 and the minor version is 35.", +"The database major version is MySQL 8.0 and the minor version is 36.", +"The database major version is MySQL 8.0 and the minor version is 37.", +"The database major version is MySQL 8.0 and the minor version is 39.", +"The database major version is MySQL 8.0 and the minor version is 40.", +"The database major version is MySQL 8.0 and the minor version is 41.", +"The database major version is MySQL 8.0 and the minor version is 42.", +"The database major version is MySQL 8.0 and the minor version is 43.", +"The database major version is MySQL 8.0 and the minor version is 44.", +"The database major version is MySQL 8.0 and the minor version is 45.", +"The database major version is MySQL 8.0 and the minor version is 46.", +"The database version is MySQL 8.4.", +"The database version is MySQL 9.7.", +"The database version is SQL Server 2017 Standard.", +"The database version is SQL Server 2017 Enterprise.", +"The database version is SQL Server 2017 Express.", +"The database version is SQL Server 2017 Web.", +"The database version is PostgreSQL 9.6.", +"The database version is PostgreSQL 10.", +"The database version is PostgreSQL 11.", +"The database version is PostgreSQL 12.", +"The database version is PostgreSQL 13.", +"The database version is PostgreSQL 14.", +"The database version is PostgreSQL 15.", +"The database version is PostgreSQL 16.", +"The database version is PostgreSQL 17.", +"The database version is PostgreSQL 18.", +"The database version is SQL Server 2019 Standard.", +"The database version is SQL Server 2019 Enterprise.", +"The database version is SQL Server 2019 Express.", +"The database version is SQL Server 2019 Web.", +"The database version is SQL Server 2022 Standard.", +"The database version is SQL Server 2022 Enterprise.", +"The database version is SQL Server 2022 Express.", +"The database version is SQL Server 2022 Web.", +"The database version is SQL Server 2025 Standard.", +"The database version is SQL Server 2025 Enterprise.", +"The database version is SQL Server 2025 Express." +], +"type": "string" +}, +"dnsName": { +"description": "The dns name of the instance.", +"type": "string" +}, +"dnsNames": { +"description": "Output only. The list of DNS names used by this instance.", +"items": { +"$ref": "DnsNameMapping" +}, +"readOnly": true, +"type": "array" +}, +"ipAddresses": { +"description": "The assigned IP addresses for the instance.", +"items": { +"$ref": "IpMapping" +}, +"type": "array" +}, +"kind": { +"description": "This is always `sql#connectSettings`.", +"type": "string" +}, +"mdxProtocolSupport": { +"description": "Optional. Output only. mdx_protocol_support controls how the client uses metadata exchange when connecting to the instance. The values in the list representing parts of the MDX protocol that are supported by this instance. When the list is empty, the instance does not support MDX, so the client must not send an MDX request. The default is empty.", +"items": { +"enum": [ +"MDX_PROTOCOL_SUPPORT_UNSPECIFIED", +"CLIENT_PROTOCOL_TYPE" +], +"enumDescriptions": [ +"Not specified.", +"Client should send the client protocol type in the MDX request." +], +"type": "string" +}, +"readOnly": true, +"type": "array" +}, +"nodeCount": { +"description": "The number of read pool nodes in a read pool.", +"format": "int32", +"type": "integer" +}, +"nodes": { +"description": "Output only. Entries containing information about each read pool node of the read pool.", +"items": { +"$ref": "ConnectPoolNodeConfig" +}, +"readOnly": true, +"type": "array" +}, +"pscEnabled": { +"description": "Whether PSC connectivity is enabled for this instance.", +"type": "boolean" +}, +"region": { +"description": "The cloud region for the instance. For example, `us-central1`, `europe-west1`. The region cannot be changed after instance creation.", +"type": "string" +}, +"serverCaCert": { +"$ref": "SslCert", +"description": "SSL configuration." +}, +"serverCaMode": { +"description": "Specify what type of CA is used for the server certificate.", +"enum": [ +"CA_MODE_UNSPECIFIED", +"GOOGLE_MANAGED_INTERNAL_CA", +"GOOGLE_MANAGED_CAS_CA", +"CUSTOMER_MANAGED_CAS_CA" +], +"enumDescriptions": [ +"CA mode is unknown.", +"Google-managed self-signed internal CA.", +"Google-managed regional CA part of root CA hierarchy hosted on Google Cloud's Certificate Authority Service (CAS).", +"Customer-managed CA hosted on Google Cloud's Certificate Authority Service (CAS)." +], +"type": "string" +} +}, +"type": "object" +}, +"ConnectionPoolConfig": { +"description": "The managed connection pooling configuration.", +"id": "ConnectionPoolConfig", +"properties": { +"connectionPoolingEnabled": { +"description": "Whether managed connection pooling is enabled.", +"type": "boolean" +}, +"flags": { +"description": "Optional. List of connection pool configuration flags.", +"items": { +"$ref": "ConnectionPoolFlags" +}, +"type": "array" +}, +"poolerCount": { +"description": "Output only. Number of connection poolers.", +"format": "int32", +"readOnly": true, +"type": "integer" +} +}, +"type": "object" +}, +"ConnectionPoolFlags": { +"description": "Connection pool flags for Cloud SQL instances managed connection pool configuration.", +"id": "ConnectionPoolFlags", +"properties": { +"name": { +"description": "Required. The name of the flag.", +"type": "string" +}, +"value": { +"description": "Required. The value of the flag. Boolean flags are set to `on` for true and `off` for false. This field must be omitted if the flag doesn't take a value.", +"type": "string" +} +}, +"type": "object" +}, +"DataCacheConfig": { +"description": "Data cache configurations.", +"id": "DataCacheConfig", +"properties": { +"dataCacheEnabled": { +"description": "Whether data cache is enabled for the instance.", +"type": "boolean" +} +}, +"type": "object" +}, +"Database": { +"description": "Represents a SQL database on the Cloud SQL instance.", +"id": "Database", +"properties": { +"charset": { +"description": "The Cloud SQL charset value.", +"type": "string" +}, +"collation": { +"description": "The Cloud SQL collation value.", +"type": "string" +}, +"etag": { +"description": "This field is deprecated and will be removed from a future version of the API.", +"type": "string" +}, +"instance": { +"description": "The name of the Cloud SQL instance. This does not include the project ID.", +"type": "string" +}, +"kind": { +"description": "This is always `sql#database`.", +"type": "string" +}, +"name": { +"description": "The name of the database in the Cloud SQL instance. This does not include the project ID or instance name.", +"type": "string" +}, +"project": { +"description": "The project ID of the project containing the Cloud SQL database. The Google apps domain is prefixed if applicable.", +"type": "string" +}, +"selfLink": { +"description": "The URI of this resource.", +"type": "string" +}, +"sqlserverDatabaseDetails": { +"$ref": "SqlServerDatabaseDetails" +} +}, +"type": "object" +}, +"DatabaseFlags": { +"description": "Database flags for Cloud SQL instances.", +"id": "DatabaseFlags", +"properties": { +"name": { +"description": "The name of the flag. These flags are passed at instance startup, so include both server options and system variables. Flags are specified with underscores, not hyphens. For more information, see [Configuring Database Flags](https://cloud.google.com/sql/docs/mysql/flags) in the Cloud SQL documentation.", +"type": "string" +}, +"value": { +"description": "The value of the flag. Boolean flags are set to `on` for true and `off` for false. This field must be omitted if the flag doesn't take a value.", +"type": "string" +} +}, +"type": "object" +}, +"DatabaseInstance": { +"description": "A Cloud SQL instance resource.", +"id": "DatabaseInstance", +"properties": { +"availableMaintenanceVersions": { +"description": "Output only. List all maintenance versions applicable on the instance", +"items": { +"type": "string" +}, +"readOnly": true, +"type": "array" +}, +"backendType": { +"description": "The backend type. `SECOND_GEN`: Cloud SQL database instance. `EXTERNAL`: A database server that is not managed by Google. This property is read-only; use the `tier` property in the `settings` object to determine the database type.", +"enum": [ +"SQL_BACKEND_TYPE_UNSPECIFIED", +"FIRST_GEN", +"SECOND_GEN", +"EXTERNAL" +], +"enumDeprecated": [ +false, +true, +false, +false +], +"enumDescriptions": [ +"This is an unknown backend type for instance.", +"V1 speckle instance.", +"V2 speckle instance.", +"On premises instance." +], +"type": "string" +}, +"connectionName": { +"description": "Connection name of the Cloud SQL instance used in connection strings.", +"type": "string" +}, +"createTime": { +"description": "Output only. The time when the instance was created in [RFC 3339](https://tools.ietf.org/html/rfc3339) format, for example `2012-11-15T16:19:00.094Z`.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"currentDiskSize": { +"deprecated": true, +"description": "The current disk usage of the instance in bytes. This property has been deprecated. Use the \"cloudsql.googleapis.com/database/disk/bytes_used\" metric in Cloud Monitoring API instead. Please see [this announcement](https://groups.google.com/d/msg/google-cloud-sql-announce/I_7-F9EBhT0/BtvFtdFeAgAJ) for details.", +"format": "int64", +"type": "string" +}, +"databaseInstalledVersion": { +"description": "Output only. Stores the current database version running on the instance including minor version such as `MYSQL_8_0_18`.", +"readOnly": true, +"type": "string" +}, +"databaseVersion": { +"description": "The database engine type and version. The `databaseVersion` field cannot be changed after instance creation.", +"enum": [ +"SQL_DATABASE_VERSION_UNSPECIFIED", +"MYSQL_5_1", +"MYSQL_5_5", +"MYSQL_5_6", +"MYSQL_5_7", +"MYSQL_8_0", +"MYSQL_8_0_18", +"MYSQL_8_0_26", +"MYSQL_8_0_27", +"MYSQL_8_0_28", +"MYSQL_8_0_29", +"MYSQL_8_0_30", +"MYSQL_8_0_31", +"MYSQL_8_0_32", +"MYSQL_8_0_33", +"MYSQL_8_0_34", +"MYSQL_8_0_35", +"MYSQL_8_0_36", +"MYSQL_8_0_37", +"MYSQL_8_0_39", +"MYSQL_8_0_40", +"MYSQL_8_0_41", +"MYSQL_8_0_42", +"MYSQL_8_0_43", +"MYSQL_8_0_44", +"MYSQL_8_0_45", +"MYSQL_8_0_46", +"MYSQL_8_4", +"MYSQL_9_7", +"SQLSERVER_2017_STANDARD", +"SQLSERVER_2017_ENTERPRISE", +"SQLSERVER_2017_EXPRESS", +"SQLSERVER_2017_WEB", +"POSTGRES_9_6", +"POSTGRES_10", +"POSTGRES_11", +"POSTGRES_12", +"POSTGRES_13", +"POSTGRES_14", +"POSTGRES_15", +"POSTGRES_16", +"POSTGRES_17", +"POSTGRES_18", +"SQLSERVER_2019_STANDARD", +"SQLSERVER_2019_ENTERPRISE", +"SQLSERVER_2019_EXPRESS", +"SQLSERVER_2019_WEB", +"SQLSERVER_2022_STANDARD", +"SQLSERVER_2022_ENTERPRISE", +"SQLSERVER_2022_EXPRESS", +"SQLSERVER_2022_WEB", +"SQLSERVER_2025_STANDARD", +"SQLSERVER_2025_ENTERPRISE", +"SQLSERVER_2025_EXPRESS" +], +"enumDeprecated": [ +false, +true, +true, +false, +false, +false, +false, +false, +false, +false, +true, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false +], +"enumDescriptions": [ +"This is an unknown database version.", +"The database version is MySQL 5.1.", +"The database version is MySQL 5.5.", +"The database version is MySQL 5.6.", +"The database version is MySQL 5.7.", +"The database version is MySQL 8.", +"The database major version is MySQL 8.0 and the minor version is 18.", +"The database major version is MySQL 8.0 and the minor version is 26.", +"The database major version is MySQL 8.0 and the minor version is 27.", +"The database major version is MySQL 8.0 and the minor version is 28.", +"The database major version is MySQL 8.0 and the minor version is 29.", +"The database major version is MySQL 8.0 and the minor version is 30.", +"The database major version is MySQL 8.0 and the minor version is 31.", +"The database major version is MySQL 8.0 and the minor version is 32.", +"The database major version is MySQL 8.0 and the minor version is 33.", +"The database major version is MySQL 8.0 and the minor version is 34.", +"The database major version is MySQL 8.0 and the minor version is 35.", +"The database major version is MySQL 8.0 and the minor version is 36.", +"The database major version is MySQL 8.0 and the minor version is 37.", +"The database major version is MySQL 8.0 and the minor version is 39.", +"The database major version is MySQL 8.0 and the minor version is 40.", +"The database major version is MySQL 8.0 and the minor version is 41.", +"The database major version is MySQL 8.0 and the minor version is 42.", +"The database major version is MySQL 8.0 and the minor version is 43.", +"The database major version is MySQL 8.0 and the minor version is 44.", +"The database major version is MySQL 8.0 and the minor version is 45.", +"The database major version is MySQL 8.0 and the minor version is 46.", +"The database version is MySQL 8.4.", +"The database version is MySQL 9.7.", +"The database version is SQL Server 2017 Standard.", +"The database version is SQL Server 2017 Enterprise.", +"The database version is SQL Server 2017 Express.", +"The database version is SQL Server 2017 Web.", +"The database version is PostgreSQL 9.6.", +"The database version is PostgreSQL 10.", +"The database version is PostgreSQL 11.", +"The database version is PostgreSQL 12.", +"The database version is PostgreSQL 13.", +"The database version is PostgreSQL 14.", +"The database version is PostgreSQL 15.", +"The database version is PostgreSQL 16.", +"The database version is PostgreSQL 17.", +"The database version is PostgreSQL 18.", +"The database version is SQL Server 2019 Standard.", +"The database version is SQL Server 2019 Enterprise.", +"The database version is SQL Server 2019 Express.", +"The database version is SQL Server 2019 Web.", +"The database version is SQL Server 2022 Standard.", +"The database version is SQL Server 2022 Enterprise.", +"The database version is SQL Server 2022 Express.", +"The database version is SQL Server 2022 Web.", +"The database version is SQL Server 2025 Standard.", +"The database version is SQL Server 2025 Enterprise.", +"The database version is SQL Server 2025 Express." +], +"type": "string" +}, +"diskEncryptionConfiguration": { +"$ref": "DiskEncryptionConfiguration", +"description": "Disk encryption configuration specific to an instance." +}, +"diskEncryptionStatus": { +"$ref": "DiskEncryptionStatus", +"description": "Disk encryption status specific to an instance." +}, +"dnsName": { +"description": "Output only. The dns name of the instance.", +"readOnly": true, +"type": "string" +}, +"dnsNames": { +"description": "Output only. The list of DNS names used by this instance.", +"items": { +"$ref": "DnsNameMapping" +}, +"readOnly": true, +"type": "array" +}, +"etag": { +"description": "This field is deprecated and will be removed from a future version of the API. Use the `settings.settingsVersion` field instead.", +"type": "string" +}, +"failoverReplica": { +"description": "The name and status of the failover replica.", +"properties": { +"available": { +"description": "The availability status of the failover replica. A false status indicates that the failover replica is out of sync. The primary instance can only failover to the failover replica when the status is true.", +"type": "boolean" +}, +"name": { +"description": "The name of the failover replica. If specified at instance creation, a failover replica is created for the instance. The name doesn't include the project ID.", +"type": "string" +} +}, +"type": "object" +}, +"gceZone": { +"description": "The Compute Engine zone that the instance is currently serving from. This value could be different from the zone that was specified when the instance was created if the instance has failed over to its secondary zone. WARNING: Changing this might restart the instance.", +"type": "string" +}, +"geminiConfig": { +"$ref": "GeminiInstanceConfig", +"description": "Gemini instance configuration." +}, +"includeReplicasForMajorVersionUpgrade": { +"description": "Input only. Determines whether an in-place major version upgrade of replicas happens when an in-place major version upgrade of a primary instance is initiated.", +"type": "boolean" +}, +"instanceType": { +"description": "The instance type.", +"enum": [ +"SQL_INSTANCE_TYPE_UNSPECIFIED", +"CLOUD_SQL_INSTANCE", +"ON_PREMISES_INSTANCE", +"READ_REPLICA_INSTANCE", +"READ_POOL_INSTANCE" +], +"enumDescriptions": [ +"This is an unknown Cloud SQL instance type.", +"A regular Cloud SQL instance that is not replicating from a primary instance.", +"An instance running on the customer's premises that is not managed by Cloud SQL.", +"A Cloud SQL instance acting as a read-replica.", +"A Cloud SQL read pool." +], +"type": "string" +}, +"ipAddresses": { +"description": "The assigned IP addresses for the instance.", +"items": { +"$ref": "IpMapping" +}, +"type": "array" +}, +"ipv6Address": { +"deprecated": true, +"description": "The IPv6 address assigned to the instance. (Deprecated) This property was applicable only to First Generation instances.", +"type": "string" +}, +"kind": { +"description": "This is always `sql#instance`.", +"type": "string" +}, +"maintenanceVersion": { +"description": "The current software version on the instance.", +"type": "string" +}, +"masterInstanceName": { +"description": "The name of the instance which will act as primary in the replication setup.", +"type": "string" +}, +"maxDiskSize": { +"deprecated": true, +"description": "The maximum disk size of the instance in bytes.", +"format": "int64", +"type": "string" +}, +"name": { +"description": "Name of the Cloud SQL instance. This does not include the project ID.", +"type": "string" +}, +"nodeCount": { +"description": "The number of read pool nodes in a read pool.", +"format": "int32", +"type": "integer" +}, +"nodes": { +"description": "Output only. Entries containing information about each read pool node of the read pool.", +"items": { +"$ref": "PoolNodeConfig" +}, +"readOnly": true, +"type": "array" +}, +"onPremisesConfiguration": { +"$ref": "OnPremisesConfiguration", +"description": "Configuration specific to on-premises instances." +}, +"outOfDiskReport": { +"$ref": "SqlOutOfDiskReport", +"description": "This field represents the report generated by the proactive database wellness job for OutOfDisk issues. * Writers: * the proactive database wellness job for OOD. * Readers: * the proactive database wellness job" +}, +"primaryDnsName": { +"deprecated": true, +"description": "Output only. DEPRECATED: please use write_endpoint instead.", +"readOnly": true, +"type": "string" +}, +"project": { +"description": "The project ID of the project containing the Cloud SQL instance. The Google apps domain is prefixed if applicable.", +"type": "string" +}, +"pscServiceAttachmentLink": { +"description": "Output only. The link to service attachment of PSC instance.", +"readOnly": true, +"type": "string" +}, +"region": { +"description": "The geographical region of the Cloud SQL instance. It can be one of the [regions](https://cloud.google.com/sql/docs/mysql/locations#location-r) where Cloud SQL operates: For example, `asia-east1`, `europe-west1`, and `us-central1`. The default value is `us-central1`.", +"type": "string" +}, +"replicaConfiguration": { +"$ref": "ReplicaConfiguration", +"description": "Configuration specific to failover replicas and read replicas." +}, +"replicaNames": { +"description": "The replicas of the instance.", +"items": { +"type": "string" +}, +"type": "array" +}, +"replicationCluster": { +"$ref": "ReplicationCluster", +"description": "Optional. A primary instance and disaster recovery (DR) replica pair. A DR replica is a cross-region replica that you designate for failover in the event that the primary instance experiences regional failure. Applicable to MySQL and PostgreSQL." +}, +"rootPassword": { +"description": "Initial root password. Use only on creation. You must set root passwords before you can connect to PostgreSQL instances.", +"type": "string" +}, +"satisfiesPzi": { +"description": "Output only. This status indicates whether the instance satisfies PZI. The status is reserved for future use.", +"readOnly": true, +"type": "boolean" +}, +"satisfiesPzs": { +"description": "This status indicates whether the instance satisfies PZS. The status is reserved for future use.", +"type": "boolean" +}, +"scheduledMaintenance": { +"$ref": "SqlScheduledMaintenance", +"description": "The start time of any upcoming scheduled maintenance for this instance." +}, +"secondaryGceZone": { +"description": "The Compute Engine zone that the failover instance is currently serving from for a regional instance. This value could be different from the zone that was specified when the instance was created if the instance has failed over to its secondary/failover zone.", +"type": "string" +}, +"selfLink": { +"description": "The URI of this resource.", +"type": "string" +}, +"serverCaCert": { +"$ref": "SslCert", +"description": "SSL configuration." +}, +"serviceAccountEmailAddress": { +"description": "The service account email address assigned to the instance.\\This property is read-only.", +"type": "string" +}, +"settings": { +"$ref": "Settings", +"description": "The user settings." +}, +"sqlNetworkArchitecture": { +"enum": [ +"SQL_NETWORK_ARCHITECTURE_UNSPECIFIED", +"NEW_NETWORK_ARCHITECTURE", +"OLD_NETWORK_ARCHITECTURE" +], +"enumDescriptions": [ +"", +"The instance uses the new network architecture.", +"The instance uses the old network architecture." +], +"type": "string" +}, +"state": { +"description": "The current serving state of the Cloud SQL instance.", +"enum": [ +"SQL_INSTANCE_STATE_UNSPECIFIED", +"RUNNABLE", +"SUSPENDED", +"PENDING_DELETE", +"PENDING_CREATE", +"MAINTENANCE", +"FAILED", +"ONLINE_MAINTENANCE", +"REPAIRING" +], +"enumDeprecated": [ +false, +false, +false, +false, +false, +false, +false, +true, +false +], +"enumDescriptions": [ +"The state of the instance is unknown.", +"The instance is running, or has been stopped by owner.", +"The instance is not available, for example due to problems with billing.", +"The instance is being deleted.", +"The instance is being created.", +"The instance is down for maintenance.", +"The creation of the instance failed or a fatal error occurred during maintenance.", +"Deprecated", +"(Applicable to read pool nodes only.) The read pool node needs to be repaired. The database might be unavailable." +], +"type": "string" +}, +"suspensionReason": { +"description": "If the instance state is SUSPENDED, the reason for the suspension.", +"items": { +"enum": [ +"SQL_SUSPENSION_REASON_UNSPECIFIED", +"BILLING_ISSUE", +"LEGAL_ISSUE", +"OPERATIONAL_ISSUE", +"KMS_KEY_ISSUE" +], +"enumDescriptions": [ +"This is an unknown suspension reason.", +"The instance is suspended due to billing issues (for example:, account issue)", +"The instance is suspended due to illegal content (for example:, child pornography, copyrighted material, etc.).", +"The instance is causing operational issues (for example:, causing the database to crash).", +"The KMS key used by the instance is either revoked or denied access to" +], +"type": "string" +}, +"type": "array" +}, +"switchTransactionLogsToCloudStorageEnabled": { +"description": "Input only. Whether Cloud SQL is enabled to switch storing point-in-time recovery log files from a data disk to Cloud Storage.", +"type": "boolean" +}, +"tags": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. Input only. Immutable. Tag keys and tag values that are bound to this instance. You must represent each item in the map as: `\"\" : \"\"`. For example, a single resource can have the following tags: ``` \"123/environment\": \"production\", \"123/costCenter\": \"marketing\", ``` For more information on tag creation and management, see https://cloud.google.com/resource-manager/docs/tags/tags-overview.", +"type": "object" +}, +"upgradableDatabaseVersions": { +"description": "Output only. All database versions that are available for upgrade.", +"items": { +"$ref": "AvailableDatabaseVersion" +}, +"readOnly": true, +"type": "array" +}, +"writeEndpoint": { +"description": "Output only. The dns name of the primary instance in a replication group.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"DatabasesListResponse": { +"description": "Database list response.", +"id": "DatabasesListResponse", +"properties": { +"items": { +"description": "List of database resources in the instance.", +"items": { +"$ref": "Database" +}, +"type": "array" +}, +"kind": { +"description": "This is always `sql#databasesList`.", +"type": "string" +} +}, +"type": "object" +}, +"DemoteContext": { +"description": "This context is used to demote an existing standalone instance to be a Cloud SQL read replica for an external database server.", +"id": "DemoteContext", +"properties": { +"kind": { +"description": "This is always `sql#demoteContext`.", +"type": "string" +}, +"sourceRepresentativeInstanceName": { +"description": "Required. The name of the instance which acts as the on-premises primary instance in the replication setup.", +"type": "string" +} +}, +"type": "object" +}, +"DemoteMasterConfiguration": { +"description": "Read-replica configuration for connecting to the on-premises primary instance.", +"id": "DemoteMasterConfiguration", +"properties": { +"kind": { +"description": "This is always `sql#demoteMasterConfiguration`.", +"type": "string" +}, +"mysqlReplicaConfiguration": { +"$ref": "DemoteMasterMySqlReplicaConfiguration", +"description": "MySQL specific configuration when replicating from a MySQL on-premises primary instance. Replication configuration information such as the username, password, certificates, and keys are not stored in the instance metadata. The configuration information is used only to set up the replication connection and is stored by MySQL in a file named `master.info` in the data directory." +} +}, +"type": "object" +}, +"DemoteMasterContext": { +"description": "Database instance demote primary instance context.", +"id": "DemoteMasterContext", +"properties": { +"kind": { +"description": "This is always `sql#demoteMasterContext`.", +"type": "string" +}, +"masterInstanceName": { +"description": "The name of the instance which will act as on-premises primary instance in the replication setup.", +"type": "string" +}, +"replicaConfiguration": { +"$ref": "DemoteMasterConfiguration", +"description": "Configuration specific to read-replicas replicating from the on-premises primary instance." +}, +"skipReplicationSetup": { +"description": "Flag to skip replication setup on the instance.", +"type": "boolean" +}, +"verifyGtidConsistency": { +"description": "Verify the GTID consistency for demote operation. Default value: `True`. Setting this flag to `false` enables you to bypass the GTID consistency check between on-premises primary instance and Cloud SQL instance during the demotion operation but also exposes you to the risk of future replication failures. Change the value only if you know the reason for the GTID divergence and are confident that doing so will not cause any replication issues.", +"type": "boolean" +} +}, +"type": "object" +}, +"DemoteMasterMySqlReplicaConfiguration": { +"description": "Read-replica configuration specific to MySQL databases.", +"id": "DemoteMasterMySqlReplicaConfiguration", +"properties": { +"caCertificate": { +"description": "PEM representation of the trusted CA's x509 certificate.", +"type": "string" +}, +"clientCertificate": { +"description": "PEM representation of the replica's x509 certificate.", +"type": "string" +}, +"clientKey": { +"description": "PEM representation of the replica's private key. The corresponding public key is encoded in the client's certificate. The format of the replica's private key can be either PKCS #1 or PKCS #8.", +"type": "string" +}, +"kind": { +"description": "This is always `sql#demoteMasterMysqlReplicaConfiguration`.", +"type": "string" +}, +"password": { +"description": "The password for the replication connection.", +"type": "string" +}, +"username": { +"description": "The username for the replication connection.", +"type": "string" +} +}, +"type": "object" +}, +"DenyMaintenancePeriod": { +"description": "Deny maintenance Periods. This specifies a date range during when all CSA rollout will be denied.", +"id": "DenyMaintenancePeriod", +"properties": { +"endDate": { +"description": "\"deny maintenance period\" end date. If the year of the end date is empty, the year of the start date also must be empty. In this case, it means the no maintenance interval recurs every year. The date is in format yyyy-mm-dd i.e., 2020-11-01, or mm-dd, i.e., 11-01", +"type": "string" +}, +"startDate": { +"description": "\"deny maintenance period\" start date. If the year of the start date is empty, the year of the end date also must be empty. In this case, it means the deny maintenance period recurs every year. The date is in format yyyy-mm-dd i.e., 2020-11-01, or mm-dd, i.e., 11-01", +"type": "string" +}, +"time": { +"description": "Time in UTC when the \"deny maintenance period\" starts on start_date and ends on end_date. The time is in format: HH:mm:SS, i.e., 00:00:00", +"type": "string" +} +}, +"type": "object" +}, +"DiskEncryptionConfiguration": { +"description": "Disk encryption configuration for an instance.", +"id": "DiskEncryptionConfiguration", +"properties": { +"kind": { +"description": "This is always `sql#diskEncryptionConfiguration`.", +"type": "string" +}, +"kmsKeyName": { +"description": "Resource name of KMS key for disk encryption", +"type": "string" +} +}, +"type": "object" +}, +"DiskEncryptionStatus": { +"description": "Disk encryption status for an instance.", +"id": "DiskEncryptionStatus", +"properties": { +"kind": { +"description": "This is always `sql#diskEncryptionStatus`.", +"type": "string" +}, +"kmsKeyVersionName": { +"description": "KMS key version used to encrypt the Cloud SQL instance resource", +"type": "string" +} +}, +"type": "object" +}, +"DnsNameMapping": { +"description": "DNS metadata.", +"id": "DnsNameMapping", +"properties": { +"connectionType": { +"description": "Output only. The connection type of the DNS name.", +"enum": [ +"CONNECTION_TYPE_UNSPECIFIED", +"PUBLIC", +"PRIVATE_SERVICES_ACCESS", +"PRIVATE_SERVICE_CONNECT" +], +"enumDescriptions": [ +"Unknown connection type.", +"Public IP.", +"Private services access (private IP).", +"Private Service Connect." +], +"readOnly": true, +"type": "string" +}, +"dnsScope": { +"description": "Output only. The scope that the DNS name applies to.", +"enum": [ +"DNS_SCOPE_UNSPECIFIED", +"INSTANCE", +"CLUSTER" +], +"enumDescriptions": [ +"DNS scope not set. This value should not be used.", +"Indicates an instance-level DNS name.", +"Indicates a cluster-level DNS name." +], +"readOnly": true, +"type": "string" +}, +"name": { +"description": "Output only. The DNS name.", +"readOnly": true, +"type": "string" +}, +"recordManager": { +"description": "Output only. The manager for this DNS record.", +"enum": [ +"RECORD_MANAGER_UNSPECIFIED", +"CUSTOMER", +"CLOUD_SQL_AUTOMATION" +], +"enumDescriptions": [ +"Record manager not set. This value should not be used.", +"The record may be managed by the customer. It is not automatically managed by Cloud SQL automation.", +"The record is managed by Cloud SQL, which will create, update, and delete the DNS records for the zone automatically when the Cloud SQL database instance is created or updated." +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"Empty": { +"description": "A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }", +"id": "Empty", +"properties": {}, +"type": "object" +}, +"ExecuteSqlPayload": { +"description": "The request payload used to execute SQL statements.", +"id": "ExecuteSqlPayload", +"properties": { +"application": { +"description": "Optional. Specifies the name of the application that is making the request. This field is used for telemetry. Only alphanumeric characters, dashes, and underscores are allowed. The maximum length is 32 characters.", +"type": "string" +}, +"autoIamAuthn": { +"description": "Optional. When set to true, the API caller identity associated with the request is used for database authentication. The API caller must be an IAM user in the database.", +"type": "boolean" +}, +"database": { +"description": "Optional. Name of the database on which the statement will be executed.", +"type": "string" +}, +"partialResultMode": { +"description": "Optional. Controls how the API should respond when the SQL execution result is incomplete due to the size limit or another error. The default mode is to throw an error.", +"enum": [ +"PARTIAL_RESULT_MODE_UNSPECIFIED", +"FAIL_PARTIAL_RESULT", +"ALLOW_PARTIAL_RESULT" +], +"enumDescriptions": [ +"Unspecified mode, effectively the same as `FAIL_PARTIAL_RESULT`.", +"Throw an error if the result exceeds 10 MB or if only a partial result can be retrieved. Don't return the result.", +"Return a truncated result and set `partial_result` to true if the result exceeds 10 MB or if only a partial result can be retrieved due to error. Don't throw an error." +], +"type": "string" +}, +"rowLimit": { +"description": "Optional. The maximum number of rows returned per SQL statement.", +"format": "int64", +"type": "string" +}, +"sqlStatement": { +"description": "Required. SQL statements to run on the database. It can be a single statement or a sequence of statements separated by semicolons.", +"type": "string" +}, +"user": { +"description": "Optional. The name of an existing database user to connect to the database. When `auto_iam_authn` is set to true, this field is ignored and the API caller's IAM user is used.", +"type": "string" +} +}, +"type": "object" +}, +"ExportContext": { +"description": "Database instance export context.", +"id": "ExportContext", +"properties": { +"bakExportOptions": { +"description": "Options for exporting BAK files (SQL Server-only)", +"properties": { +"bakType": { +"description": "Type of this bak file will be export, FULL or DIFF, SQL Server only", +"enum": [ +"BAK_TYPE_UNSPECIFIED", +"FULL", +"DIFF", +"TLOG" +], +"enumDescriptions": [ +"Default type.", +"Full backup.", +"Differential backup.", +"Transaction Log backup" +], +"type": "string" +}, +"copyOnly": { +"deprecated": true, +"description": "Deprecated: copy_only is deprecated. Use differential_base instead", +"type": "boolean" +}, +"differentialBase": { +"description": "Whether or not the backup can be used as a differential base copy_only backup can not be served as differential base", +"type": "boolean" +}, +"exportLogEndTime": { +"description": "Optional. The end timestamp when transaction log will be included in the export operation. [RFC 3339](https://tools.ietf.org/html/rfc3339) format (for example, `2023-10-01T16:19:00.094`) in UTC. When omitted, all available logs until current time will be included. Only applied to Cloud SQL for SQL Server.", +"format": "google-datetime", +"type": "string" +}, +"exportLogStartTime": { +"description": "Optional. The begin timestamp when transaction log will be included in the export operation. [RFC 3339](https://tools.ietf.org/html/rfc3339) format (for example, `2023-10-01T16:19:00.094`) in UTC. When omitted, all available logs from the beginning of retention period will be included. Only applied to Cloud SQL for SQL Server.", +"format": "google-datetime", +"type": "string" +}, +"stripeCount": { +"description": "Option for specifying how many stripes to use for the export. If blank, and the value of the striped field is true, the number of stripes is automatically chosen.", +"format": "int32", +"type": "integer" +}, +"striped": { +"description": "Whether or not the export should be striped.", +"type": "boolean" +} +}, +"type": "object" +}, +"csvExportOptions": { +"description": "Options for exporting data as CSV. `MySQL` and `PostgreSQL` instances only.", +"properties": { +"escapeCharacter": { +"description": "Specifies the character that should appear before a data character that needs to be escaped.", +"type": "string" +}, +"fieldsTerminatedBy": { +"description": "Specifies the character that separates columns within each row (line) of the file.", +"type": "string" +}, +"linesTerminatedBy": { +"description": "This is used to separate lines. If a line does not contain all fields, the rest of the columns are set to their default values.", +"type": "string" +}, +"quoteCharacter": { +"description": "Specifies the quoting character to be used when a data value is quoted.", +"type": "string" +}, +"selectQuery": { +"description": "The select query used to extract the data.", +"type": "string" +} +}, +"type": "object" +}, +"databases": { +"description": "Databases to be exported. `MySQL instances:` If `fileType` is `SQL` and no database is specified, all databases are exported, except for the `mysql` system database. If `fileType` is `CSV`, you can specify one database, either by using this property or by using the `csvExportOptions.selectQuery` property, which takes precedence over this property. `PostgreSQL instances:` If you don't specify a database by name, all user databases in the instance are exported. This excludes system databases and Cloud SQL databases used to manage internal operations. Exporting all user databases is only available for directory-formatted parallel export. If `fileType` is `CSV`, this database must match the one specified in the `csvExportOptions.selectQuery` property. `SQL Server instances:` You must specify one database to be exported, and the `fileType` must be `BAK`.", +"items": { +"type": "string" +}, +"type": "array" +}, +"fileType": { +"description": "The file type for the specified uri.", +"enum": [ +"SQL_FILE_TYPE_UNSPECIFIED", +"SQL", +"CSV", +"BAK", +"TDE" +], +"enumDescriptions": [ +"Unknown file type.", +"File containing SQL statements.", +"File in CSV format.", +"", +"TDE certificate." +], +"type": "string" +}, +"kind": { +"description": "This is always `sql#exportContext`.", +"type": "string" +}, +"offload": { +"description": "Whether to perform a serverless export.", +"type": "boolean" +}, +"sqlExportOptions": { +"description": "Options for exporting data as SQL statements.", +"properties": { +"mysqlExportOptions": { +"description": "Options for exporting from MySQL.", +"properties": { +"masterData": { +"description": "Option to include SQL statement required to set up replication. If set to `1`, the dump file includes a CHANGE MASTER TO statement with the binary log coordinates, and --set-gtid-purged is set to ON. If set to `2`, the CHANGE MASTER TO statement is written as a SQL comment and has no effect. If set to any value other than `1`, --set-gtid-purged is set to OFF.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"parallel": { +"description": "Optional. Whether or not the export should be parallel.", +"type": "boolean" +}, +"postgresExportOptions": { +"description": "Options for exporting from a Cloud SQL for PostgreSQL instance.", +"properties": { +"clean": { +"description": "Optional. Use this option to include DROP SQL statements. Use these statements to delete database objects before running the import operation.", +"type": "boolean" +}, +"ifExists": { +"description": "Optional. Option to include an IF EXISTS SQL statement with each DROP statement produced by clean.", +"type": "boolean" +} +}, +"type": "object" +}, +"schemaOnly": { +"description": "Export only schemas.", +"type": "boolean" +}, +"tables": { +"description": "Tables to export, or that were exported, from the specified database. If you specify tables, specify one and only one database. For PostgreSQL instances, you can specify only one table.", +"items": { +"type": "string" +}, +"type": "array" +}, +"threads": { +"description": "Optional. The number of threads to use for parallel export.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"tdeExportOptions": { +"description": "Optional. Export parameters specific to SQL Server TDE certificates", +"properties": { +"certificatePath": { +"description": "Required. Path to the TDE certificate public key in the form gs://bucketName/fileName. The instance must have write access to the bucket. Applicable only for SQL Server instances.", +"type": "string" +}, +"name": { +"description": "Required. Certificate name. Applicable only for SQL Server instances.", +"type": "string" +}, +"privateKeyPassword": { +"description": "Required. Password that encrypts the private key.", +"type": "string" +}, +"privateKeyPath": { +"description": "Required. Path to the TDE certificate private key in the form gs://bucketName/fileName. The instance must have write access to the location. Applicable only for SQL Server instances.", +"type": "string" +} +}, +"type": "object" +}, +"uri": { +"description": "The path to the file in Google Cloud Storage where the export will be stored. The URI is in the form `gs://bucketName/fileName`. If the file already exists, the request succeeds, but the operation fails. If `fileType` is `SQL` and the filename ends with .gz, the contents are compressed.", +"type": "string" +} +}, +"type": "object" +}, +"ExternalSyncSelectedObject": { +"description": "The selected object that Cloud SQL migrates.", +"id": "ExternalSyncSelectedObject", +"properties": { +"database": { +"description": "The name of the database that Cloud SQL migrates.", +"type": "string" +} +}, +"type": "object" +}, +"FailoverContext": { +"description": "Database instance failover context.", +"id": "FailoverContext", +"properties": { +"kind": { +"description": "This is always `sql#failoverContext`.", +"type": "string" +}, +"settingsVersion": { +"description": "The current settings version of this instance. Request will be rejected if this version doesn't match the current settings version.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"FinalBackupConfig": { +"description": "Config used to determine the final backup settings for the instance.", +"id": "FinalBackupConfig", +"properties": { +"enabled": { +"description": "Whether the final backup is enabled for the instance.", +"type": "boolean" +}, +"retentionDays": { +"description": "The number of days to retain the final backup after the instance deletion. The final backup will be purged at (time_of_instance_deletion + retention_days).", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"Flag": { +"description": "A flag resource.", +"id": "Flag", +"properties": { +"allowedIntValues": { +"description": "Use this field if only certain integers are accepted. Can be combined with min_value and max_value to add additional values.", +"items": { +"format": "int64", +"type": "string" +}, +"type": "array" +}, +"allowedStringValues": { +"description": "For `STRING` flags, a list of strings that the value can be set to.", +"items": { +"type": "string" +}, +"type": "array" +}, +"appliesTo": { +"description": "The database version this flag applies to. Can be MySQL instances: `MYSQL_8_0`, `MYSQL_8_0_18`, `MYSQL_8_0_26`, `MYSQL_5_7`, or `MYSQL_5_6`. PostgreSQL instances: `POSTGRES_9_6`, `POSTGRES_10`, `POSTGRES_11` or `POSTGRES_12`. SQL Server instances: `SQLSERVER_2017_STANDARD`, `SQLSERVER_2017_ENTERPRISE`, `SQLSERVER_2017_EXPRESS`, `SQLSERVER_2017_WEB`, `SQLSERVER_2019_STANDARD`, `SQLSERVER_2019_ENTERPRISE`, `SQLSERVER_2019_EXPRESS`, or `SQLSERVER_2019_WEB`. See [the complete list](/sql/docs/mysql/admin-api/rest/v1/SqlDatabaseVersion).", +"items": { +"enum": [ +"SQL_DATABASE_VERSION_UNSPECIFIED", +"MYSQL_5_1", +"MYSQL_5_5", +"MYSQL_5_6", +"MYSQL_5_7", +"MYSQL_8_0", +"MYSQL_8_0_18", +"MYSQL_8_0_26", +"MYSQL_8_0_27", +"MYSQL_8_0_28", +"MYSQL_8_0_29", +"MYSQL_8_0_30", +"MYSQL_8_0_31", +"MYSQL_8_0_32", +"MYSQL_8_0_33", +"MYSQL_8_0_34", +"MYSQL_8_0_35", +"MYSQL_8_0_36", +"MYSQL_8_0_37", +"MYSQL_8_0_39", +"MYSQL_8_0_40", +"MYSQL_8_0_41", +"MYSQL_8_0_42", +"MYSQL_8_0_43", +"MYSQL_8_0_44", +"MYSQL_8_0_45", +"MYSQL_8_0_46", +"MYSQL_8_4", +"MYSQL_9_7", +"SQLSERVER_2017_STANDARD", +"SQLSERVER_2017_ENTERPRISE", +"SQLSERVER_2017_EXPRESS", +"SQLSERVER_2017_WEB", +"POSTGRES_9_6", +"POSTGRES_10", +"POSTGRES_11", +"POSTGRES_12", +"POSTGRES_13", +"POSTGRES_14", +"POSTGRES_15", +"POSTGRES_16", +"POSTGRES_17", +"POSTGRES_18", +"SQLSERVER_2019_STANDARD", +"SQLSERVER_2019_ENTERPRISE", +"SQLSERVER_2019_EXPRESS", +"SQLSERVER_2019_WEB", +"SQLSERVER_2022_STANDARD", +"SQLSERVER_2022_ENTERPRISE", +"SQLSERVER_2022_EXPRESS", +"SQLSERVER_2022_WEB", +"SQLSERVER_2025_STANDARD", +"SQLSERVER_2025_ENTERPRISE", +"SQLSERVER_2025_EXPRESS" +], +"enumDeprecated": [ +false, +true, +true, +false, +false, +false, +false, +false, +false, +false, +true, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false +], +"enumDescriptions": [ +"This is an unknown database version.", +"The database version is MySQL 5.1.", +"The database version is MySQL 5.5.", +"The database version is MySQL 5.6.", +"The database version is MySQL 5.7.", +"The database version is MySQL 8.", +"The database major version is MySQL 8.0 and the minor version is 18.", +"The database major version is MySQL 8.0 and the minor version is 26.", +"The database major version is MySQL 8.0 and the minor version is 27.", +"The database major version is MySQL 8.0 and the minor version is 28.", +"The database major version is MySQL 8.0 and the minor version is 29.", +"The database major version is MySQL 8.0 and the minor version is 30.", +"The database major version is MySQL 8.0 and the minor version is 31.", +"The database major version is MySQL 8.0 and the minor version is 32.", +"The database major version is MySQL 8.0 and the minor version is 33.", +"The database major version is MySQL 8.0 and the minor version is 34.", +"The database major version is MySQL 8.0 and the minor version is 35.", +"The database major version is MySQL 8.0 and the minor version is 36.", +"The database major version is MySQL 8.0 and the minor version is 37.", +"The database major version is MySQL 8.0 and the minor version is 39.", +"The database major version is MySQL 8.0 and the minor version is 40.", +"The database major version is MySQL 8.0 and the minor version is 41.", +"The database major version is MySQL 8.0 and the minor version is 42.", +"The database major version is MySQL 8.0 and the minor version is 43.", +"The database major version is MySQL 8.0 and the minor version is 44.", +"The database major version is MySQL 8.0 and the minor version is 45.", +"The database major version is MySQL 8.0 and the minor version is 46.", +"The database version is MySQL 8.4.", +"The database version is MySQL 9.7.", +"The database version is SQL Server 2017 Standard.", +"The database version is SQL Server 2017 Enterprise.", +"The database version is SQL Server 2017 Express.", +"The database version is SQL Server 2017 Web.", +"The database version is PostgreSQL 9.6.", +"The database version is PostgreSQL 10.", +"The database version is PostgreSQL 11.", +"The database version is PostgreSQL 12.", +"The database version is PostgreSQL 13.", +"The database version is PostgreSQL 14.", +"The database version is PostgreSQL 15.", +"The database version is PostgreSQL 16.", +"The database version is PostgreSQL 17.", +"The database version is PostgreSQL 18.", +"The database version is SQL Server 2019 Standard.", +"The database version is SQL Server 2019 Enterprise.", +"The database version is SQL Server 2019 Express.", +"The database version is SQL Server 2019 Web.", +"The database version is SQL Server 2022 Standard.", +"The database version is SQL Server 2022 Enterprise.", +"The database version is SQL Server 2022 Express.", +"The database version is SQL Server 2022 Web.", +"The database version is SQL Server 2025 Standard.", +"The database version is SQL Server 2025 Enterprise.", +"The database version is SQL Server 2025 Express." +], +"type": "string" +}, +"type": "array" +}, +"flagScope": { +"description": "Scope of flag.", +"enum": [ +"SQL_FLAG_SCOPE_UNSPECIFIED", +"SQL_FLAG_SCOPE_DATABASE", +"SQL_FLAG_SCOPE_CONNECTION_POOL" +], +"enumDescriptions": [ +"Assume database flags if unspecified", +"database flags", +"connection pool configuration flags" +], +"type": "string" +}, +"inBeta": { +"description": "Whether or not the flag is considered in beta.", +"type": "boolean" +}, +"kind": { +"description": "This is always `sql#flag`.", +"type": "string" +}, +"maxValue": { +"description": "For `INTEGER` flags, the maximum allowed value.", +"format": "int64", +"type": "string" +}, +"minValue": { +"description": "For `INTEGER` flags, the minimum allowed value.", +"format": "int64", +"type": "string" +}, +"name": { +"description": "This is the name of the flag. Flag names always use underscores, not hyphens, for example: `max_allowed_packet`", +"type": "string" +}, +"recommendedIntValue": { +"description": "Recommended int value in integer format for UI display.", +"format": "int64", +"type": "string" +}, +"recommendedStringValue": { +"description": "Recommended string value in string format for UI display.", +"type": "string" +}, +"requiresRestart": { +"description": "Indicates whether changing this flag will trigger a database restart. Only applicable to Second Generation instances.", +"type": "boolean" +}, +"type": { +"description": "The type of the flag. Flags are typed to being `BOOLEAN`, `STRING`, `INTEGER` or `NONE`. `NONE` is used for flags that do not take a value, such as `skip_grant_tables`.", +"enum": [ +"SQL_FLAG_TYPE_UNSPECIFIED", +"BOOLEAN", +"STRING", +"INTEGER", +"NONE", +"MYSQL_TIMEZONE_OFFSET", +"FLOAT", +"REPEATED_STRING" +], +"enumDescriptions": [ +"This is an unknown flag type.", +"Boolean type flag.", +"String type flag.", +"Integer type flag.", +"Flag type used for a server startup option.", +"Type introduced specially for MySQL TimeZone offset. Accept a string value with the format [-12:59, 13:00].", +"Float type flag.", +"Comma-separated list of the strings in a SqlFlagType enum." +], +"type": "string" +} +}, +"type": "object" +}, +"FlagsListResponse": { +"description": "Flags list response.", +"id": "FlagsListResponse", +"properties": { +"items": { +"description": "List of flags.", +"items": { +"$ref": "Flag" +}, +"type": "array" +}, +"kind": { +"description": "This is always `sql#flagsList`.", +"type": "string" +} +}, +"type": "object" +}, +"GeminiInstanceConfig": { +"description": "Gemini instance configuration.", +"id": "GeminiInstanceConfig", +"properties": { +"activeQueryEnabled": { +"description": "Output only. Whether the active query is enabled.", +"readOnly": true, +"type": "boolean" +}, +"entitled": { +"description": "Output only. Whether Gemini is enabled.", +"readOnly": true, +"type": "boolean" +}, +"flagRecommenderEnabled": { +"description": "Output only. Whether the flag recommender is enabled.", +"readOnly": true, +"type": "boolean" +}, +"googleVacuumMgmtEnabled": { +"description": "Output only. Whether the vacuum management is enabled.", +"readOnly": true, +"type": "boolean" +}, +"indexAdvisorEnabled": { +"description": "Output only. Whether the index advisor is enabled.", +"readOnly": true, +"type": "boolean" +}, +"oomSessionCancelEnabled": { +"description": "Output only. Whether canceling the out-of-memory (OOM) session is enabled.", +"readOnly": true, +"type": "boolean" +} +}, +"type": "object" +}, +"GenerateEphemeralCertRequest": { +"description": "Ephemeral certificate creation request.", +"id": "GenerateEphemeralCertRequest", +"properties": { +"access_token": { +"description": "Optional. Access token to include in the signed certificate.", +"type": "string" +}, +"public_key": { +"description": "PEM encoded public key to include in the signed certificate.", +"type": "string" +}, +"readTime": { +"description": "Optional. Optional snapshot read timestamp to trade freshness for performance.", +"format": "google-datetime", +"type": "string" +}, +"validDuration": { +"description": "Optional. If set, it will contain the cert valid duration.", +"format": "google-duration", +"type": "string" +} +}, +"type": "object" +}, +"GenerateEphemeralCertResponse": { +"description": "Ephemeral certificate creation request.", +"id": "GenerateEphemeralCertResponse", +"properties": { +"ephemeralCert": { +"$ref": "SslCert", +"description": "Generated cert" +} +}, +"type": "object" +}, +"ImportContext": { +"description": "Database instance import context.", +"id": "ImportContext", +"properties": { +"bakImportOptions": { +"description": "Import parameters specific to SQL Server .BAK files", +"properties": { +"bakType": { +"description": "Type of the bak content, FULL or DIFF", +"enum": [ +"BAK_TYPE_UNSPECIFIED", +"FULL", +"DIFF", +"TLOG" +], +"enumDescriptions": [ +"Default type.", +"Full backup.", +"Differential backup.", +"Transaction Log backup" +], +"type": "string" +}, +"encryptionOptions": { +"properties": { +"certPath": { +"description": "Path to the Certificate (.cer) in Cloud Storage, in the form `gs://bucketName/fileName`. The instance must have write permissions to the bucket and read access to the file.", +"type": "string" +}, +"keepEncrypted": { +"description": "Optional. Whether the imported file remains encrypted.", +"type": "boolean" +}, +"pvkPassword": { +"description": "Password that encrypts the private key", +"type": "string" +}, +"pvkPath": { +"description": "Path to the Certificate Private Key (.pvk) in Cloud Storage, in the form `gs://bucketName/fileName`. The instance must have write permissions to the bucket and read access to the file.", +"type": "string" +} +}, +"type": "object" +}, +"noRecovery": { +"description": "Whether or not the backup importing will restore database with NORECOVERY option. Applies only to Cloud SQL for SQL Server.", +"type": "boolean" +}, +"recoveryOnly": { +"description": "Whether or not the backup importing request will just bring database online without downloading Bak content only one of \"no_recovery\" and \"recovery_only\" can be true otherwise error will return. Applies only to Cloud SQL for SQL Server.", +"type": "boolean" +}, +"stopAt": { +"description": "Optional. The timestamp when the import should stop. This timestamp is in the [RFC 3339](https://tools.ietf.org/html/rfc3339) format (for example, `2023-10-01T16:19:00.094`). This field is equivalent to the STOPAT keyword and applies to Cloud SQL for SQL Server only.", +"format": "google-datetime", +"type": "string" +}, +"stopAtMark": { +"description": "Optional. The marked transaction where the import should stop. This field is equivalent to the STOPATMARK keyword and applies to Cloud SQL for SQL Server only.", +"type": "string" +}, +"striped": { +"description": "Whether or not the backup set being restored is striped. Applies only to Cloud SQL for SQL Server.", +"type": "boolean" +} +}, +"type": "object" +}, +"csvImportOptions": { +"description": "Options for importing data as CSV.", +"properties": { +"columns": { +"description": "The columns to which CSV data is imported. If not specified, all columns of the database table are loaded with CSV data.", +"items": { +"type": "string" +}, +"type": "array" +}, +"escapeCharacter": { +"description": "Specifies the character that should appear before a data character that needs to be escaped.", +"type": "string" +}, +"fieldsTerminatedBy": { +"description": "Specifies the character that separates columns within each row (line) of the file.", +"type": "string" +}, +"linesTerminatedBy": { +"description": "This is used to separate lines. If a line does not contain all fields, the rest of the columns are set to their default values.", +"type": "string" +}, +"quoteCharacter": { +"description": "Specifies the quoting character to be used when a data value is quoted.", +"type": "string" +}, +"table": { +"description": "The table to which CSV data is imported.", +"type": "string" +} +}, +"type": "object" +}, +"database": { +"description": "The target database for the import. If `fileType` is `SQL`, this field is required only if the import file does not specify a database, and is overridden by any database specification in the import file. For entire instance parallel import operations, the database is overridden by the database name stored in subdirectory name. If `fileType` is `CSV`, one database must be specified.", +"type": "string" +}, +"fileType": { +"description": "The file type for the specified uri.\\`SQL`: The file contains SQL statements. \\`CSV`: The file contains CSV data.", +"enum": [ +"SQL_FILE_TYPE_UNSPECIFIED", +"SQL", +"CSV", +"BAK", +"TDE" +], +"enumDescriptions": [ +"Unknown file type.", +"File containing SQL statements.", +"File in CSV format.", +"", +"TDE certificate." +], +"type": "string" +}, +"importUser": { +"description": "The PostgreSQL user for this import operation. PostgreSQL instances only.", +"type": "string" +}, +"kind": { +"description": "This is always `sql#importContext`.", +"type": "string" +}, +"sqlImportOptions": { +"description": "Optional. Options for importing data from SQL statements.", +"properties": { +"parallel": { +"description": "Optional. Whether or not the import should be parallel.", +"type": "boolean" +}, +"postgresImportOptions": { +"description": "Optional. Options for importing from a Cloud SQL for PostgreSQL instance.", +"properties": { +"clean": { +"description": "Optional. The --clean flag for the pg_restore utility. This flag applies only if you enabled Cloud SQL to import files in parallel.", +"type": "boolean" +}, +"ifExists": { +"description": "Optional. The --if-exists flag for the pg_restore utility. This flag applies only if you enabled Cloud SQL to import files in parallel.", +"type": "boolean" +} +}, +"type": "object" +}, +"threads": { +"description": "Optional. The number of threads to use for parallel import.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"tdeImportOptions": { +"description": "Optional. Import parameters specific to SQL Server TDE certificates", +"properties": { +"certificatePath": { +"description": "Required. Path to the TDE certificate public key in the form gs://bucketName/fileName. The instance must have read access to the file. Applicable only for SQL Server instances.", +"type": "string" +}, +"name": { +"description": "Required. Certificate name. Applicable only for SQL Server instances.", +"type": "string" +}, +"privateKeyPassword": { +"description": "Required. Password that encrypts the private key.", +"type": "string" +}, +"privateKeyPath": { +"description": "Required. Path to the TDE certificate private key in the form gs://bucketName/fileName. The instance must have read access to the file. Applicable only for SQL Server instances.", +"type": "string" +} +}, +"type": "object" +}, +"uri": { +"description": "Path to the import file in Cloud Storage, in the form `gs://bucketName/fileName`. Compressed gzip files (.gz) are supported when `fileType` is `SQL`. The instance must have write permissions to the bucket and read access to the file.", +"type": "string" +} +}, +"type": "object" +}, +"InsightsConfig": { +"description": "Insights configuration. This specifies when Cloud SQL Insights feature is enabled and optional configuration.", +"id": "InsightsConfig", +"properties": { +"enhancedQueryInsightsEnabled": { +"description": "Optional. Whether enhanced query insights feature is enabled.", +"type": "boolean" +}, +"queryInsightsEnabled": { +"description": "Whether Query Insights feature is enabled.", +"type": "boolean" +}, +"queryPlansPerMinute": { +"description": "Number of query execution plans captured by Insights per minute for all queries combined. Default is 5.", +"format": "int32", +"type": "integer" +}, +"queryStringLength": { +"description": "Maximum query length stored in bytes. Default value: 1024 bytes. Range: 256-4500 bytes. Query lengths greater than this field value will be truncated to this value. When unset, query length will be the default value. Changing query length will restart the database.", +"format": "int32", +"type": "integer" +}, +"recordApplicationTags": { +"description": "Whether Query Insights will record application tags from query when enabled.", +"type": "boolean" +}, +"recordClientAddress": { +"description": "Whether Query Insights will record client address when enabled.", +"type": "boolean" +} +}, +"type": "object" +}, +"InstanceReference": { +"description": "Reference to another Cloud SQL instance.", +"id": "InstanceReference", +"properties": { +"name": { +"description": "The name of the Cloud SQL instance being referenced. This does not include the project ID.", +"type": "string" +}, +"project": { +"description": "The project ID of the Cloud SQL instance being referenced. The default is the same project ID as the instance references it.", +"type": "string" +}, +"region": { +"description": "The region of the Cloud SQL instance being referenced.", +"type": "string" +} +}, +"type": "object" +}, +"InstancesAcquireSsrsLeaseRequest": { +"description": "Request to acquire a lease for SSRS.", +"id": "InstancesAcquireSsrsLeaseRequest", +"properties": { +"acquireSsrsLeaseContext": { +"$ref": "AcquireSsrsLeaseContext", +"description": "Contains details about the acquire SSRS lease operation." +} +}, +"type": "object" +}, +"InstancesCloneRequest": { +"description": "Database instance clone request.", +"id": "InstancesCloneRequest", +"properties": { +"cloneContext": { +"$ref": "CloneContext", +"description": "Required. Contains details about the clone operation." +} +}, +"type": "object" +}, +"InstancesDemoteMasterRequest": { +"description": "Database demote primary instance request.", +"id": "InstancesDemoteMasterRequest", +"properties": { +"demoteMasterContext": { +"$ref": "DemoteMasterContext", +"description": "Contains details about the demoteMaster operation." +} +}, +"type": "object" +}, +"InstancesDemoteRequest": { +"description": "This request is used to demote an existing standalone instance to be a Cloud SQL read replica for an external database server.", +"id": "InstancesDemoteRequest", +"properties": { +"demoteContext": { +"$ref": "DemoteContext", +"description": "Required. Contains details about the demote operation." +} +}, +"type": "object" +}, +"InstancesExportRequest": { +"description": "Database instance export request.", +"id": "InstancesExportRequest", +"properties": { +"exportContext": { +"$ref": "ExportContext", +"description": "Contains details about the export operation." +} +}, +"type": "object" +}, +"InstancesFailoverRequest": { +"description": "Instance failover request.", +"id": "InstancesFailoverRequest", +"properties": { +"failoverContext": { +"$ref": "FailoverContext", +"description": "Failover Context." +} +}, +"type": "object" +}, +"InstancesImportRequest": { +"description": "Database instance import request.", +"id": "InstancesImportRequest", +"properties": { +"importContext": { +"$ref": "ImportContext", +"description": "Contains details about the import operation." +} +}, +"type": "object" +}, +"InstancesListEntraIdCertificatesResponse": { +"description": "Instances ListEntraIdCertificates response.", +"id": "InstancesListEntraIdCertificatesResponse", +"properties": { +"activeVersion": { +"description": "The `sha1_fingerprint` of the active certificate from `certs`.", +"type": "string" +}, +"certs": { +"description": "List of Entra ID certificates for the instance.", +"items": { +"$ref": "SslCert" +}, +"type": "array" +}, +"kind": { +"description": "This is always `sql#instancesListEntraIdCertificates`.", +"type": "string" +} +}, +"type": "object" +}, +"InstancesListResponse": { +"description": "Database instances list response.", +"id": "InstancesListResponse", +"properties": { +"items": { +"description": "List of database instance resources.", +"items": { +"$ref": "DatabaseInstance" +}, +"type": "array" +}, +"kind": { +"description": "This is always `sql#instancesList`.", +"type": "string" +}, +"nextPageToken": { +"description": "The continuation token, used to page through large result sets. Provide this value in a subsequent request to return the next page of results.", +"type": "string" +}, +"warnings": { +"description": "List of warnings that occurred while handling the request.", +"items": { +"$ref": "ApiWarning" +}, +"type": "array" +} +}, +"type": "object" +}, +"InstancesListServerCasResponse": { +"description": "Instances ListServerCas response.", +"id": "InstancesListServerCasResponse", +"properties": { +"activeVersion": { +"type": "string" +}, +"certs": { +"description": "List of server CA certificates for the instance.", +"items": { +"$ref": "SslCert" +}, +"type": "array" +}, +"kind": { +"description": "This is always `sql#instancesListServerCas`.", +"type": "string" +} +}, +"type": "object" +}, +"InstancesListServerCertificatesResponse": { +"description": "Instances ListServerCertificates response.", +"id": "InstancesListServerCertificatesResponse", +"properties": { +"activeVersion": { +"description": "The `sha1_fingerprint` of the active certificate from `server_certs`.", +"type": "string" +}, +"caCerts": { +"description": "List of server CA certificates for the instance.", +"items": { +"$ref": "SslCert" +}, +"type": "array" +}, +"kind": { +"description": "This is always `sql#instancesListServerCertificates`.", +"type": "string" +}, +"serverCerts": { +"description": "List of server certificates for the instance, signed by the corresponding CA from the `ca_certs` list.", +"items": { +"$ref": "SslCert" +}, +"type": "array" +} +}, +"type": "object" +}, +"InstancesPreCheckMajorVersionUpgradeRequest": { +"description": "Request for Pre-checks for MVU", +"id": "InstancesPreCheckMajorVersionUpgradeRequest", +"properties": { +"preCheckMajorVersionUpgradeContext": { +"$ref": "PreCheckMajorVersionUpgradeContext", +"description": "Required. Contains details about the pre-check major version upgrade operation." +} +}, +"type": "object" +}, +"InstancesReencryptRequest": { +"description": "Database Instance reencrypt request.", +"id": "InstancesReencryptRequest", +"properties": { +"backupReencryptionConfig": { +"$ref": "BackupReencryptionConfig", +"description": "Configuration specific to backup re-encryption" +} +}, +"type": "object" +}, +"InstancesRestoreBackupRequest": { +"description": "Database instance restore backup request.", +"id": "InstancesRestoreBackupRequest", +"properties": { +"backup": { +"description": "The name of the backup that's used to restore a Cloud SQL instance: Format: projects/{project-id}/backups/{backup-uid}. Only one of restore_backup_context, backup, backupdr_backup can be passed to the input.", +"type": "string" +}, +"backupdrBackup": { +"description": "The name of the backup that's used to restore a Cloud SQL instance: Format: \"projects/{project-id}/locations/{location}/backupVaults/{backupvault}/dataSources/{datasource}/backups/{backup-uid}\". Only one of restore_backup_context, backup, backupdr_backup can be passed to the input.", +"type": "string" +}, +"restoreBackupContext": { +"$ref": "RestoreBackupContext", +"description": "Parameters required to perform the restore backup operation." +}, +"restoreInstanceClearOverridesFieldNames": { +"description": "Optional. This field has the same purpose as restore_instance_settings, changes any instance settings stored in the backup you are restoring from. With the difference that these fields are cleared in the settings.", +"items": { +"type": "string" +}, +"type": "array" +}, +"restoreInstanceSettings": { +"$ref": "DatabaseInstance", +"description": "Optional. By using this parameter, Cloud SQL overrides any instance settings stored in the backup you are restoring from. You can't change the instance's major database version and you can only increase the disk size. You can use this field to restore new instances only. This field is not applicable for restore to existing instances." +} +}, +"type": "object" +}, +"InstancesRotateEntraIdCertificateRequest": { +"description": "Rotate Entra ID certificate request.", +"id": "InstancesRotateEntraIdCertificateRequest", +"properties": { +"rotateEntraIdCertificateContext": { +"$ref": "RotateEntraIdCertificateContext", +"description": "Optional. Contains details about the rotate server certificate operation." +} +}, +"type": "object" +}, +"InstancesRotateServerCaRequest": { +"description": "Rotate server CA request.", +"id": "InstancesRotateServerCaRequest", +"properties": { +"rotateServerCaContext": { +"$ref": "RotateServerCaContext", +"description": "Contains details about the rotate server CA operation." +} +}, +"type": "object" +}, +"InstancesRotateServerCertificateRequest": { +"description": "Rotate server certificate request.", +"id": "InstancesRotateServerCertificateRequest", +"properties": { +"rotateServerCertificateContext": { +"$ref": "RotateServerCertificateContext", +"description": "Optional. Contains details about the rotate server certificate operation." +} +}, +"type": "object" +}, +"InstancesTruncateLogRequest": { +"description": "Instance truncate log request.", +"id": "InstancesTruncateLogRequest", +"properties": { +"truncateLogContext": { +"$ref": "TruncateLogContext", +"description": "Contains details about the truncate log operation." +} +}, +"type": "object" +}, +"Interval": { +"description": "Represents a time interval, encoded as a Timestamp start (inclusive) and a Timestamp end (exclusive). The start must be less than or equal to the end. When the start equals the end, the interval is empty (matches no time). When both start and end are unspecified, the interval matches any time.", +"id": "Interval", +"properties": { +"endTime": { +"description": "Optional. Exclusive end of the interval. If specified, a Timestamp matching this interval will have to be before the end.", +"format": "google-datetime", +"type": "string" +}, +"startTime": { +"description": "Optional. Inclusive start of the interval. If specified, a Timestamp matching this interval will have to be the same or after the start.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"IpConfiguration": { +"description": "IP Management configuration.", +"id": "IpConfiguration", +"properties": { +"allocatedIpRange": { +"description": "The name of the allocated ip range for the private ip Cloud SQL instance. For example: \"google-managed-services-default\". If set, the instance ip will be created in the allocated range. The range name must comply with [RFC 1035](https://tools.ietf.org/html/rfc1035). Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?.`", +"type": "string" +}, +"authorizedNetworks": { +"description": "The list of external networks that are allowed to connect to the instance using the IP. In 'CIDR' notation, also known as 'slash' notation (for example: `157.197.200.0/24`).", +"items": { +"$ref": "AclEntry" +}, +"type": "array" +}, +"customSubjectAlternativeNames": { +"description": "Optional. Custom Subject Alternative Name(SAN)s for a Cloud SQL instance.", +"items": { +"type": "string" +}, +"type": "array" +}, +"enablePrivatePathForGoogleCloudServices": { +"description": "Controls connectivity to private IP instances from Google services, such as BigQuery.", +"type": "boolean" +}, +"ipv4Enabled": { +"description": "Whether the instance is assigned a public IP address or not.", +"type": "boolean" +}, +"privateNetwork": { +"description": "The resource link for the VPC network from which the Cloud SQL instance is accessible for private IP. For example, `/projects/myProject/global/networks/default`. This setting can be updated, but it cannot be removed after it is set.", +"type": "string" +}, +"pscConfig": { +"$ref": "PscConfig", +"description": "PSC settings for this instance." +}, +"requireSsl": { +"description": "Use `ssl_mode` instead. Whether SSL/TLS connections over IP are enforced. If set to false, then allow both non-SSL/non-TLS and SSL/TLS connections. For SSL/TLS connections, the client certificate won't be verified. If set to true, then only allow connections encrypted with SSL/TLS and with valid client certificates. If you want to enforce SSL/TLS without enforcing the requirement for valid client certificates, then use the `ssl_mode` flag instead of the `require_ssl` flag.", +"type": "boolean" +}, +"serverCaMode": { +"description": "Specify what type of CA is used for the server certificate.", +"enum": [ +"CA_MODE_UNSPECIFIED", +"GOOGLE_MANAGED_INTERNAL_CA", +"GOOGLE_MANAGED_CAS_CA", +"CUSTOMER_MANAGED_CAS_CA" +], +"enumDescriptions": [ +"CA mode is unspecified. It is effectively the same as `GOOGLE_MANAGED_INTERNAL_CA`.", +"Google-managed self-signed internal CA.", +"Google-managed regional CA part of root CA hierarchy hosted on Google Cloud's Certificate Authority Service (CAS).", +"Customer-managed CA hosted on Google Cloud's Certificate Authority Service (CAS)." +], +"type": "string" +}, +"serverCaPool": { +"description": "Optional. The resource name of the server CA pool for an instance with `CUSTOMER_MANAGED_CAS_CA` as the `server_ca_mode`. Format: projects/{PROJECT}/locations/{REGION}/caPools/{CA_POOL_ID}", +"type": "string" +}, +"serverCertificateRotationMode": { +"description": "Optional. Controls the automatic server certificate rotation feature. This feature is disabled by default. When enabled, the server certificate will be automatically rotated during Cloud SQL scheduled maintenance or self-service maintenance updates up to six months before it expires. This setting can only be set if server_ca_mode is either GOOGLE_MANAGED_CAS_CA or CUSTOMER_MANAGED_CAS_CA.", +"enum": [ +"SERVER_CERTIFICATE_ROTATION_MODE_UNSPECIFIED", +"NO_AUTOMATIC_ROTATION", +"AUTOMATIC_ROTATION_DURING_MAINTENANCE" +], +"enumDescriptions": [ +"Unspecified: no automatic server certificate rotation.", +"No automatic server certificate rotation. The user must [manage server certificate rotation](/sql/docs/mysql/manage-ssl-instance#rotate-server-certificate-cas) on their side.", +"Automatic server certificate rotation during Cloud SQL scheduled maintenance or self-service maintenance updates. Requires `server_ca_mode` to be `GOOGLE_MANAGED_CAS_CA` or `CUSTOMER_MANAGED_CAS_CA`." +], +"type": "string" +}, +"sslMode": { +"description": "Specify how SSL/TLS is enforced in database connections. If you must use the `require_ssl` flag for backward compatibility, then only the following value pairs are valid: For PostgreSQL and MySQL: * `ssl_mode=ALLOW_UNENCRYPTED_AND_ENCRYPTED` and `require_ssl=false` * `ssl_mode=ENCRYPTED_ONLY` and `require_ssl=false` * `ssl_mode=TRUSTED_CLIENT_CERTIFICATE_REQUIRED` and `require_ssl=true` For SQL Server: * `ssl_mode=ALLOW_UNENCRYPTED_AND_ENCRYPTED` and `require_ssl=false` * `ssl_mode=ENCRYPTED_ONLY` and `require_ssl=true` The value of `ssl_mode` has priority over the value of `require_ssl`. For example, for the pair `ssl_mode=ENCRYPTED_ONLY` and `require_ssl=false`, `ssl_mode=ENCRYPTED_ONLY` means accept only SSL connections, while `require_ssl=false` means accept both non-SSL and SSL connections. In this case, MySQL and PostgreSQL databases respect `ssl_mode` and accepts only SSL connections.", +"enum": [ +"SSL_MODE_UNSPECIFIED", +"ALLOW_UNENCRYPTED_AND_ENCRYPTED", +"ENCRYPTED_ONLY", +"TRUSTED_CLIENT_CERTIFICATE_REQUIRED" +], +"enumDescriptions": [ +"The SSL mode is unknown.", +"Allow non-SSL/non-TLS and SSL/TLS connections. For SSL connections to MySQL and PostgreSQL, the client certificate isn't verified. When this value is used, the legacy `require_ssl` flag must be false or cleared to avoid a conflict between the values of the two flags.", +"Only allow connections encrypted with SSL/TLS. For SSL connections to MySQL and PostgreSQL, the client certificate isn't verified. When this value is used, the legacy `require_ssl` flag must be false or cleared to avoid a conflict between the values of the two flags.", +"Only allow connections encrypted with SSL/TLS and with valid client certificates. When this value is used, the legacy `require_ssl` flag must be true or cleared to avoid the conflict between values of two flags. PostgreSQL clients or users that connect using IAM database authentication must use either the [Cloud SQL Auth Proxy](https://cloud.google.com/sql/docs/postgres/connect-auth-proxy) or [Cloud SQL Connectors](https://cloud.google.com/sql/docs/postgres/connect-connectors) to enforce client identity verification. Only applicable to MySQL and PostgreSQL. Not applicable to SQL Server." +], +"type": "string" +} +}, +"type": "object" +}, +"IpMapping": { +"description": "Database instance IP mapping", +"id": "IpMapping", +"properties": { +"ipAddress": { +"description": "The IP address assigned.", +"type": "string" +}, +"timeToRetire": { +"description": "The due time for this IP to be retired in [RFC 3339](https://tools.ietf.org/html/rfc3339) format, for example `2012-11-15T16:19:00.094Z`. This field is only available when the IP is scheduled to be retired.", +"format": "google-datetime", +"type": "string" +}, +"type": { +"description": "The type of this IP address. A `PRIMARY` address is a public address that can accept incoming connections. A `PRIVATE` address is a private address that can accept incoming connections. An `OUTGOING` address is the source address of connections originating from the instance, if supported.", +"enum": [ +"SQL_IP_ADDRESS_TYPE_UNSPECIFIED", +"PRIMARY", +"OUTGOING", +"PRIVATE", +"MIGRATED_1ST_GEN" +], +"enumDescriptions": [ +"This is an unknown IP address type.", +"IP address the customer is supposed to connect to. Usually this is the load balancer's IP address", +"Source IP address of the connection a read replica establishes to its external primary instance. This IP address can be allowlisted by the customer in case it has a firewall that filters incoming connection to its on premises primary instance.", +"Private IP used when using private IPs and network peering.", +"V1 IP of a migrated instance. We want the user to decommission this IP as soon as the migration is complete. Note: V1 instances with V1 ip addresses will be counted as PRIMARY." +], +"type": "string" +} +}, +"type": "object" +}, +"ListBackupsResponse": { +"description": "The response payload containing a list of the backups.", +"id": "ListBackupsResponse", +"properties": { +"backups": { +"description": "A list of backups.", +"items": { +"$ref": "Backup" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, then there aren't subsequent pages.", +"type": "string" +}, +"warnings": { +"description": "If a region isn't unavailable or if an unknown error occurs, then a warning message is returned.", +"items": { +"$ref": "ApiWarning" +}, +"type": "array" +} +}, +"type": "object" +}, +"LocationPreference": { +"description": "Preferred location. This specifies where a Cloud SQL instance is located. Note that if the preferred location is not available, the instance will be located as close as possible within the region. Only one location may be specified.", +"id": "LocationPreference", +"properties": { +"followGaeApplication": { +"deprecated": true, +"description": "The App Engine application to follow, it must be in the same region as the Cloud SQL instance. WARNING: Changing this might restart the instance.", +"type": "string" +}, +"kind": { +"description": "This is always `sql#locationPreference`.", +"type": "string" +}, +"secondaryZone": { +"description": "The preferred Compute Engine zone for the secondary/failover (for example: us-central1-a, us-central1-b, etc.). To disable this field, set it to 'no_secondary_zone'.", +"type": "string" +}, +"zone": { +"description": "The preferred Compute Engine zone (for example: us-central1-a, us-central1-b, etc.). WARNING: Changing this might restart the instance.", +"type": "string" +} +}, +"type": "object" +}, +"MaintenanceWindow": { +"description": "Maintenance window. This specifies when a Cloud SQL instance is restarted for system maintenance purposes.", +"id": "MaintenanceWindow", +"properties": { +"day": { +"description": "Day of week - `MONDAY`, `TUESDAY`, `WEDNESDAY`, `THURSDAY`, `FRIDAY`, `SATURDAY`, or `SUNDAY`. Specify in the UTC time zone. Returned in output as an integer, 1 to 7, where `1` equals Monday.", +"format": "int32", +"type": "integer" +}, +"hour": { +"description": "Hour of day - 0 to 23. Specify in the UTC time zone.", +"format": "int32", +"type": "integer" +}, +"kind": { +"description": "This is always `sql#maintenanceWindow`.", +"type": "string" +}, +"updateTrack": { +"description": "Maintenance timing settings: `canary`, `stable`, or `week5`. For more information, see [About maintenance on Cloud SQL instances](https://cloud.google.com/sql/docs/mysql/maintenance).", +"enum": [ +"SQL_UPDATE_TRACK_UNSPECIFIED", +"canary", +"stable", +"week5" +], +"enumDescriptions": [ +"This is an unknown maintenance timing preference.", +"For an instance with a scheduled maintenance window, this maintenance timing indicates that the maintenance update is scheduled 7 to 14 days after the notification is sent out. Also referred to as `Week 1` (Console) and `preview` (gcloud CLI).", +"For an instance with a scheduled maintenance window, this maintenance timing indicates that the maintenance update is scheduled 15 to 21 days after the notification is sent out. Also referred to as `Week 2` (Console) and `production` (gcloud CLI).", +"For instance with a scheduled maintenance window, this maintenance timing indicates that the maintenance update is scheduled 35 to 42 days after the notification is sent out." +], +"type": "string" +} +}, +"type": "object" +}, +"Message": { +"description": "Represents a notice or warning message from the database.", +"id": "Message", +"properties": { +"message": { +"description": "The full message string. For PostgreSQL, this is a formatted string that may include severity, code, and the notice/warning message. For MySQL, this contains the warning message.", +"type": "string" +}, +"severity": { +"description": "The severity of the message (e.g., \"NOTICE\" for PostgreSQL, \"WARNING\" for MySQL).", +"type": "string" +} +}, +"type": "object" +}, +"Metadata": { +"description": "The additional metadata information regarding the execution of the SQL statements.", +"id": "Metadata", +"properties": { +"sqlStatementExecutionTime": { +"description": "The time taken to execute the SQL statements.", +"format": "google-duration", +"type": "string" +} +}, +"type": "object" +}, +"MySqlReplicaConfiguration": { +"description": "Read-replica configuration specific to MySQL databases.", +"id": "MySqlReplicaConfiguration", +"properties": { +"caCertificate": { +"description": "PEM representation of the trusted CA's x509 certificate.", +"type": "string" +}, +"clientCertificate": { +"description": "PEM representation of the replica's x509 certificate.", +"type": "string" +}, +"clientKey": { +"description": "PEM representation of the replica's private key. The corresponding public key is encoded in the client's certificate.", +"type": "string" +}, +"connectRetryInterval": { +"description": "Seconds to wait between connect retries. MySQL's default is 60 seconds.", +"format": "int32", +"type": "integer" +}, +"dumpFilePath": { +"description": "Path to a SQL dump file in Google Cloud Storage from which the replica instance is to be created. The URI is in the form gs://bucketName/fileName. Compressed gzip files (.gz) are also supported. Dumps have the binlog co-ordinates from which replication begins. This can be accomplished by setting --master-data to 1 when using mysqldump.", +"type": "string" +}, +"kind": { +"description": "This is always `sql#mysqlReplicaConfiguration`.", +"type": "string" +}, +"masterHeartbeatPeriod": { +"description": "Interval in milliseconds between replication heartbeats.", +"format": "int64", +"type": "string" +}, +"password": { +"description": "The password for the replication connection.", +"type": "string" +}, +"sslCipher": { +"description": "A list of permissible ciphers to use for SSL encryption.", +"type": "string" +}, +"username": { +"description": "The username for the replication connection.", +"type": "string" +}, +"verifyServerCertificate": { +"description": "Whether or not to check the primary instance's Common Name value in the certificate that it sends during the SSL handshake.", +"type": "boolean" +} +}, +"type": "object" +}, +"MySqlSyncConfig": { +"description": "MySQL-specific external server sync settings.", +"id": "MySqlSyncConfig", +"properties": { +"initialSyncFlags": { +"description": "Flags to use for the initial dump.", +"items": { +"$ref": "SyncFlags" +}, +"type": "array" +} +}, +"type": "object" +}, +"OnPremisesConfiguration": { +"description": "On-premises instance configuration.", +"id": "OnPremisesConfiguration", +"properties": { +"caCertificate": { +"description": "PEM representation of the trusted CA's x509 certificate.", +"type": "string" +}, +"clientCertificate": { +"description": "PEM representation of the replica's x509 certificate.", +"type": "string" +}, +"clientKey": { +"description": "PEM representation of the replica's private key. The corresponding public key is encoded in the client's certificate.", +"type": "string" +}, +"dumpFilePath": { +"description": "The dump file to create the Cloud SQL replica.", +"type": "string" +}, +"hostPort": { +"description": "The host and port of the on-premises instance in host:port format", +"type": "string" +}, +"kind": { +"description": "This is always `sql#onPremisesConfiguration`.", +"type": "string" +}, +"password": { +"description": "The password for connecting to on-premises instance.", +"type": "string" +}, +"selectedObjects": { +"description": "Optional. A list of objects that the user selects for replication from an external source instance.", +"items": { +"$ref": "SelectedObjects" +}, +"type": "array" +}, +"sourceInstance": { +"$ref": "InstanceReference", +"description": "The reference to Cloud SQL instance if the source is Cloud SQL." +}, +"sslOption": { +"description": "Optional. SSL option for replica connection to the on-premises source.", +"enum": [ +"SSL_OPTION_UNSPECIFIED", +"DISABLE", +"REQUIRE", +"VERIFY_CA" +], +"enumDescriptions": [ +"Unknown SSL option i.e. SSL option not specified by user.", +"SSL is not used for replica connection to the on-premises source.", +"SSL is required for replica connection to the on-premises source.", +"Verify CA is required for replica connection to the on-premises source." +], +"type": "string" +}, +"username": { +"description": "The username for connecting to on-premises instance.", +"type": "string" +} +}, +"type": "object" +}, +"Operation": { +"description": "An Operation resource. For successful operations that return an Operation resource, only the fields relevant to the operation are populated in the resource.", +"id": "Operation", +"properties": { +"acquireSsrsLeaseContext": { +"$ref": "AcquireSsrsLeaseContext", +"description": "The context for acquire SSRS lease operation, if applicable." +}, +"apiWarning": { +"$ref": "ApiWarning", +"description": "An Admin API warning message." +}, +"backupContext": { +"$ref": "BackupContext", +"description": "The context for backup operation, if applicable." +}, +"endTime": { +"description": "The time this operation finished in UTC timezone in [RFC 3339](https://tools.ietf.org/html/rfc3339) format, for example `2012-11-15T16:19:00.094Z`.", +"format": "google-datetime", +"type": "string" +}, +"error": { +"$ref": "OperationErrors", +"description": "If errors occurred during processing of this operation, this field will be populated." +}, +"exportContext": { +"$ref": "ExportContext", +"description": "The context for export operation, if applicable." +}, +"importContext": { +"$ref": "ImportContext", +"description": "The context for import operation, if applicable." +}, +"insertTime": { +"description": "The time this operation was enqueued in UTC timezone in [RFC 3339](https://tools.ietf.org/html/rfc3339) format, for example `2012-11-15T16:19:00.094Z`.", +"format": "google-datetime", +"type": "string" +}, +"kind": { +"description": "This is always `sql#operation`.", +"type": "string" +}, +"name": { +"description": "An identifier that uniquely identifies the operation. You can use this identifier to retrieve the Operations resource that has information about the operation.", +"type": "string" +}, +"operationType": { +"description": "The type of the operation. Valid values are: * `CREATE` * `DELETE` * `UPDATE` * `RESTART` * `IMPORT` * `EXPORT` * `BACKUP_VOLUME` * `RESTORE_VOLUME` * `CREATE_USER` * `DELETE_USER` * `CREATE_DATABASE` * `DELETE_DATABASE`", +"enum": [ +"SQL_OPERATION_TYPE_UNSPECIFIED", +"IMPORT", +"EXPORT", +"CREATE", +"UPDATE", +"DELETE", +"RESTART", +"BACKUP", +"SNAPSHOT", +"BACKUP_VOLUME", +"DELETE_VOLUME", +"RESTORE_VOLUME", +"INJECT_USER", +"CLONE", +"STOP_REPLICA", +"START_REPLICA", +"PROMOTE_REPLICA", +"CREATE_REPLICA", +"CREATE_USER", +"DELETE_USER", +"UPDATE_USER", +"CREATE_DATABASE", +"DELETE_DATABASE", +"UPDATE_DATABASE", +"FAILOVER", +"DELETE_BACKUP", +"RECREATE_REPLICA", +"TRUNCATE_LOG", +"DEMOTE_MASTER", +"MAINTENANCE", +"ENABLE_PRIVATE_IP", +"DEFER_MAINTENANCE", +"CREATE_CLONE", +"RESCHEDULE_MAINTENANCE", +"START_EXTERNAL_SYNC", +"LOG_CLEANUP", +"AUTO_RESTART", +"REENCRYPT", +"SWITCHOVER", +"UPDATE_BACKUP", +"ACQUIRE_SSRS_LEASE", +"RELEASE_SSRS_LEASE", +"RECONFIGURE_OLD_PRIMARY", +"CLUSTER_MAINTENANCE", +"SELF_SERVICE_MAINTENANCE", +"SWITCHOVER_TO_REPLICA", +"MAJOR_VERSION_UPGRADE", +"ADVANCED_BACKUP", +"MANAGE_BACKUP", +"ENHANCED_BACKUP", +"REPAIR_READ_POOL", +"CREATE_READ_POOL" +], +"enumDeprecated": [ +false, +false, +false, +false, +false, +false, +false, +true, +true, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +true, +true, +true, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +true, +true, +false, +false, +true, +false, +false, +false, +false +], +"enumDescriptions": [ +"Unknown operation type.", +"Imports data into a Cloud SQL instance.", +"Exports data from a Cloud SQL instance to a Cloud Storage bucket.", +"Creates a new Cloud SQL instance.", +"Updates the settings of a Cloud SQL instance.", +"Deletes a Cloud SQL instance.", +"Restarts the Cloud SQL instance.", +"", +"", +"Performs instance backup.", +"Deletes an instance backup.", +"Restores an instance backup.", +"Injects a privileged user in mysql for MOB instances.", +"Clones a Cloud SQL instance.", +"Stops replication on a Cloud SQL read replica instance.", +"Starts replication on a Cloud SQL read replica instance.", +"Promotes a Cloud SQL replica instance.", +"Creates a Cloud SQL replica instance.", +"Creates a new user in a Cloud SQL instance.", +"Deletes a user from a Cloud SQL instance.", +"Updates an existing user in a Cloud SQL instance. If a user with the specified username doesn't exist, a new user is created.", +"Creates a database in the Cloud SQL instance.", +"Deletes a database in the Cloud SQL instance.", +"Updates a database in the Cloud SQL instance.", +"Performs failover of an HA-enabled Cloud SQL failover replica.", +"Deletes the backup taken by a backup run.", +"", +"Truncates a general or slow log table in MySQL.", +"Demotes the stand-alone instance to be a Cloud SQL read replica for an external database server.", +"Indicates that the instance is currently in maintenance. Maintenance typically causes the instance to be unavailable for 1-3 minutes.", +"This field is deprecated, and will be removed in future version of API.", +"", +"Creates clone instance.", +"Reschedule maintenance to another time.", +"Starts external sync of a Cloud SQL EM replica to an external primary instance.", +"Recovers logs from an instance's old data disk.", +"Performs auto-restart of an HA-enabled Cloud SQL database for auto recovery.", +"Re-encrypts CMEK instances with latest key version.", +"Switches the roles of the primary and replica pair. The target instance should be the replica.", +"Update a backup.", +"Acquire a lease for the setup of SQL Server Reporting Services (SSRS).", +"Release a lease for the setup of SQL Server Reporting Services (SSRS).", +"Reconfigures old primary after a promote replica operation. Effect of a promote operation to the old primary is executed in this operation, asynchronously from the promote replica operation executed to the replica.", +"Indicates that the instance, its read replicas, and its cascading replicas are in maintenance. Maintenance typically gets initiated on groups of replicas first, followed by the primary instance. For each instance, maintenance typically causes the instance to be unavailable for 1-3 minutes.", +"Indicates that the instance (and any of its replicas) are currently in maintenance. This is initiated as a self-service request by using SSM. Maintenance typically causes the instance to be unavailable for 1-3 minutes.", +"Switches a primary instance to a replica. This operation runs as part of a switchover operation to the original primary instance.", +"Updates the major version of a Cloud SQL instance.", +"Deprecated: ADVANCED_BACKUP is deprecated. Use ENHANCED_BACKUP instead.", +"Changes the BackupTier of a Cloud SQL instance.", +"Creates a backup for an Enhanced BackupTier Cloud SQL instance.", +"Repairs entire read pool or specified read pool nodes in the read pool.", +"Creates a Cloud SQL read pool instance." +], +"type": "string" +}, +"preCheckMajorVersionUpgradeContext": { +"$ref": "PreCheckMajorVersionUpgradeContext", +"description": "This field is only populated when the operation_type is PRE_CHECK_MAJOR_VERSION_UPGRADE. The PreCheckMajorVersionUpgradeContext message itself contains the details for that pre-check, such as the target database version for the upgrade and the results of the check (including any warnings or errors found)." +}, +"selfLink": { +"description": "The URI of this resource.", +"type": "string" +}, +"startTime": { +"description": "The time this operation actually started in UTC timezone in [RFC 3339](https://tools.ietf.org/html/rfc3339) format, for example `2012-11-15T16:19:00.094Z`.", +"format": "google-datetime", +"type": "string" +}, +"status": { +"description": "The status of an operation.", +"enum": [ +"SQL_OPERATION_STATUS_UNSPECIFIED", +"PENDING", +"RUNNING", +"DONE" +], +"enumDescriptions": [ +"The state of the operation is unknown.", +"The operation has been queued, but has not started yet.", +"The operation is running.", +"The operation completed." +], +"type": "string" +}, +"subOperationType": { +"$ref": "SqlSubOperationType", +"description": "Optional. The sub operation based on the operation type." +}, +"targetId": { +"description": "Name of the resource on which this operation runs.", +"type": "string" +}, +"targetLink": { +"type": "string" +}, +"targetProject": { +"description": "The project ID of the target instance related to this operation.", +"type": "string" +}, +"user": { +"description": "The email address of the user who initiated this operation.", +"type": "string" +} +}, +"type": "object" +}, +"OperationError": { +"description": "Database instance operation error.", +"id": "OperationError", +"properties": { +"code": { +"description": "Identifies the specific error that occurred.", +"type": "string" +}, +"kind": { +"description": "This is always `sql#operationError`.", +"type": "string" +}, +"message": { +"description": "Additional information about the error encountered.", +"type": "string" +} +}, +"type": "object" +}, +"OperationErrors": { +"description": "Database instance operation errors list wrapper.", +"id": "OperationErrors", +"properties": { +"errors": { +"description": "The list of errors encountered while processing this operation.", +"items": { +"$ref": "OperationError" +}, +"type": "array" +}, +"kind": { +"description": "This is always `sql#operationErrors`.", +"type": "string" +} +}, +"type": "object" +}, +"OperationMetadata": { +"description": "Represents the metadata of the long-running operation.", +"id": "OperationMetadata", +"properties": { +"apiVersion": { +"description": "Output only. API version used to start the operation.", +"readOnly": true, +"type": "string" +}, +"cancelRequested": { +"description": "Output only. Identifies whether the user has requested cancellation of the operation. Operations that have been cancelled successfully have google.longrunning.Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.", +"readOnly": true, +"type": "boolean" +}, +"createTime": { +"description": "Output only. The time the operation was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"endTime": { +"description": "Output only. The time the operation finished running.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"statusDetail": { +"description": "Output only. Human-readable status of the operation, if any.", +"readOnly": true, +"type": "string" +}, +"target": { +"description": "Output only. Server-defined resource path for the target of the operation.", +"readOnly": true, +"type": "string" +}, +"verb": { +"description": "Output only. Name of the verb executed by the operation.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"OperationsListResponse": { +"description": "Operations list response.", +"id": "OperationsListResponse", +"properties": { +"items": { +"description": "List of operation resources.", +"items": { +"$ref": "Operation" +}, +"type": "array" +}, +"kind": { +"description": "This is always `sql#operationsList`.", +"type": "string" +}, +"nextPageToken": { +"description": "The continuation token, used to page through large result sets. Provide this value in a subsequent request to return the next page of results.", +"type": "string" +} +}, +"type": "object" +}, +"PasswordStatus": { +"description": "Read-only password status.", +"id": "PasswordStatus", +"properties": { +"locked": { +"description": "If true, user does not have login privileges.", +"type": "boolean" +}, +"passwordExpirationTime": { +"description": "The expiration time of the current password.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"PasswordValidationPolicy": { +"description": "Database instance local user password validation policy. This message defines the password policy for local database users. When enabled, it enforces constraints on password complexity, length, and reuse. Keep this policy enabled to help prevent unauthorized access.", +"id": "PasswordValidationPolicy", +"properties": { +"complexity": { +"description": "The complexity of the password.", +"enum": [ +"COMPLEXITY_UNSPECIFIED", +"COMPLEXITY_DEFAULT" +], +"enumDescriptions": [ +"Complexity check is not specified.", +"A combination of lowercase, uppercase, numeric, and non-alphanumeric characters." +], +"type": "string" +}, +"disallowCompromisedCredentials": { +"deprecated": true, +"description": "This field is deprecated and will be removed in a future version of the API.", +"type": "boolean" +}, +"disallowUsernameSubstring": { +"description": "Disallow username as a part of the password.", +"type": "boolean" +}, +"enablePasswordPolicy": { +"description": "Whether to enable the password policy or not. When enabled, passwords must meet complexity requirements. Keep this policy enabled to help prevent unauthorized access. Disabling this policy allows weak passwords.", +"type": "boolean" +}, +"minLength": { +"description": "Minimum number of characters allowed.", +"format": "int32", +"type": "integer" +}, +"passwordChangeInterval": { +"description": "Minimum interval after which the password can be changed. This flag is only supported for PostgreSQL.", +"format": "google-duration", +"type": "string" +}, +"reuseInterval": { +"description": "Number of previous passwords that cannot be reused.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"PerformDiskShrinkContext": { +"description": "Perform disk shrink context.", +"id": "PerformDiskShrinkContext", +"properties": { +"targetSizeGb": { +"description": "The target disk shrink size in GigaBytes.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"PerformanceCaptureConfig": { +"description": "Performance Capture configuration.", +"id": "PerformanceCaptureConfig", +"properties": { +"enabled": { +"description": "Optional. Enable or disable the Performance Capture feature.", +"type": "boolean" +}, +"probeThreshold": { +"description": "Optional. The minimum number of consecutive readings above threshold that triggers instance state capture.", +"format": "int32", +"type": "integer" +}, +"probingIntervalSeconds": { +"description": "Optional. The time interval in seconds between any two probes.", +"format": "int32", +"type": "integer" +}, +"runningThreadsThreshold": { +"description": "Optional. The minimum number of server threads running to trigger the capture on primary.", +"format": "int32", +"type": "integer" +}, +"secondsBehindSourceThreshold": { +"description": "Optional. The minimum number of seconds replica must be lagging behind primary to trigger capture on replica.", +"format": "int32", +"type": "integer" +}, +"transactionDurationThreshold": { +"description": "Optional. The amount of time in seconds that a transaction needs to have been open before the watcher starts recording it.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"PointInTimeRestoreContext": { +"description": "The context to perform a point-in-time recovery of an instance managed by Backup and Disaster Recovery (DR) Service.", +"id": "PointInTimeRestoreContext", +"properties": { +"allocatedIpRange": { +"description": "Optional. The name of the allocated IP range for the internal IP Cloud SQL instance. For example: \"google-managed-services-default\". If you set this, then Cloud SQL creates the IP address for the cloned instance in the allocated range. This range must comply with [RFC 1035](https://tools.ietf.org/html/rfc1035) standards. Specifically, the name must be 1-63 characters long and match the regular expression [a-z]([-a-z0-9]*[a-z0-9])?. Reserved for future use.", +"type": "string" +}, +"datasource": { +"description": "The Backup and Disaster Recovery (DR) Service Datasource URI. Format: projects/{project}/locations/{region}/backupVaults/{backupvault}/dataSources/{datasource}.", +"type": "string" +}, +"pointInTime": { +"description": "Required. The date and time to which you want to restore the instance.", +"format": "google-datetime", +"type": "string" +}, +"preferredSecondaryZone": { +"description": "Optional. Point-in-time recovery of a regional instance in the specified zones. If not specified, clone to the same secondary zone as the source instance. This value cannot be the same as the preferred_zone field.", +"type": "string" +}, +"preferredZone": { +"description": "Optional. Point-in-time recovery of an instance to the specified zone. If no zone is specified, then clone to the same primary zone as the source instance.", +"type": "string" +}, +"privateNetwork": { +"description": "Optional. The resource link for the VPC network from which the Cloud SQL instance is accessible for private IP. For example, `/projects/myProject/global/networks/default`.", +"type": "string" +}, +"targetInstance": { +"description": "Target instance name.", +"type": "string" +} +}, +"type": "object" +}, +"PoolNodeConfig": { +"description": "Details of a single read pool node of a read pool.", +"id": "PoolNodeConfig", +"properties": { +"dnsName": { +"description": "Output only. The DNS name of the read pool node.", +"readOnly": true, +"type": "string" +}, +"dnsNames": { +"description": "Output only. The list of DNS names used by this read pool node.", +"items": { +"$ref": "DnsNameMapping" +}, +"readOnly": true, +"type": "array" +}, +"gceZone": { +"description": "Output only. The zone of the read pool node.", +"readOnly": true, +"type": "string" +}, +"ipAddresses": { +"description": "Output only. Mappings containing IP addresses that can be used to connect to the read pool node.", +"items": { +"$ref": "IpMapping" +}, +"readOnly": true, +"type": "array" +}, +"name": { +"description": "Output only. The name of the read pool node, to be used for retrieving metrics and logs.", +"readOnly": true, +"type": "string" +}, +"pscAutoConnections": { +"description": "Output only. The list of settings for requested automatically-setup Private Service Connect (PSC) consumer endpoints that can be used to connect to this read pool node.", +"items": { +"$ref": "PscAutoConnectionConfig" +}, +"readOnly": true, +"type": "array" +}, +"pscServiceAttachmentLink": { +"description": "Output only. The Private Service Connect (PSC) service attachment of the read pool node.", +"readOnly": true, +"type": "string" +}, +"state": { +"description": "Output only. The current state of the read pool node.", +"enum": [ +"SQL_INSTANCE_STATE_UNSPECIFIED", +"RUNNABLE", +"SUSPENDED", +"PENDING_DELETE", +"PENDING_CREATE", +"MAINTENANCE", +"FAILED", +"ONLINE_MAINTENANCE", +"REPAIRING" +], +"enumDeprecated": [ +false, +false, +false, +false, +false, +false, +false, +true, +false +], +"enumDescriptions": [ +"The state of the instance is unknown.", +"The instance is running, or has been stopped by owner.", +"The instance is not available, for example due to problems with billing.", +"The instance is being deleted.", +"The instance is being created.", +"The instance is down for maintenance.", +"The creation of the instance failed or a fatal error occurred during maintenance.", +"Deprecated", +"(Applicable to read pool nodes only.) The read pool node needs to be repaired. The database might be unavailable." +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"PreCheckMajorVersionUpgradeContext": { +"description": "Pre-check major version upgrade context.", +"id": "PreCheckMajorVersionUpgradeContext", +"properties": { +"kind": { +"description": "Optional. This is always `sql#preCheckMajorVersionUpgradeContext`.", +"type": "string" +}, +"preCheckResponse": { +"description": "Output only. The responses from the precheck operation.", +"items": { +"$ref": "PreCheckResponse" +}, +"readOnly": true, +"type": "array" +}, +"targetDatabaseVersion": { +"description": "Required. The target database version to upgrade to.", +"enum": [ +"SQL_DATABASE_VERSION_UNSPECIFIED", +"MYSQL_5_1", +"MYSQL_5_5", +"MYSQL_5_6", +"MYSQL_5_7", +"MYSQL_8_0", +"MYSQL_8_0_18", +"MYSQL_8_0_26", +"MYSQL_8_0_27", +"MYSQL_8_0_28", +"MYSQL_8_0_29", +"MYSQL_8_0_30", +"MYSQL_8_0_31", +"MYSQL_8_0_32", +"MYSQL_8_0_33", +"MYSQL_8_0_34", +"MYSQL_8_0_35", +"MYSQL_8_0_36", +"MYSQL_8_0_37", +"MYSQL_8_0_39", +"MYSQL_8_0_40", +"MYSQL_8_0_41", +"MYSQL_8_0_42", +"MYSQL_8_0_43", +"MYSQL_8_0_44", +"MYSQL_8_0_45", +"MYSQL_8_0_46", +"MYSQL_8_4", +"MYSQL_9_7", +"SQLSERVER_2017_STANDARD", +"SQLSERVER_2017_ENTERPRISE", +"SQLSERVER_2017_EXPRESS", +"SQLSERVER_2017_WEB", +"POSTGRES_9_6", +"POSTGRES_10", +"POSTGRES_11", +"POSTGRES_12", +"POSTGRES_13", +"POSTGRES_14", +"POSTGRES_15", +"POSTGRES_16", +"POSTGRES_17", +"POSTGRES_18", +"SQLSERVER_2019_STANDARD", +"SQLSERVER_2019_ENTERPRISE", +"SQLSERVER_2019_EXPRESS", +"SQLSERVER_2019_WEB", +"SQLSERVER_2022_STANDARD", +"SQLSERVER_2022_ENTERPRISE", +"SQLSERVER_2022_EXPRESS", +"SQLSERVER_2022_WEB", +"SQLSERVER_2025_STANDARD", +"SQLSERVER_2025_ENTERPRISE", +"SQLSERVER_2025_EXPRESS" +], +"enumDeprecated": [ +false, +true, +true, +false, +false, +false, +false, +false, +false, +false, +true, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false +], +"enumDescriptions": [ +"This is an unknown database version.", +"The database version is MySQL 5.1.", +"The database version is MySQL 5.5.", +"The database version is MySQL 5.6.", +"The database version is MySQL 5.7.", +"The database version is MySQL 8.", +"The database major version is MySQL 8.0 and the minor version is 18.", +"The database major version is MySQL 8.0 and the minor version is 26.", +"The database major version is MySQL 8.0 and the minor version is 27.", +"The database major version is MySQL 8.0 and the minor version is 28.", +"The database major version is MySQL 8.0 and the minor version is 29.", +"The database major version is MySQL 8.0 and the minor version is 30.", +"The database major version is MySQL 8.0 and the minor version is 31.", +"The database major version is MySQL 8.0 and the minor version is 32.", +"The database major version is MySQL 8.0 and the minor version is 33.", +"The database major version is MySQL 8.0 and the minor version is 34.", +"The database major version is MySQL 8.0 and the minor version is 35.", +"The database major version is MySQL 8.0 and the minor version is 36.", +"The database major version is MySQL 8.0 and the minor version is 37.", +"The database major version is MySQL 8.0 and the minor version is 39.", +"The database major version is MySQL 8.0 and the minor version is 40.", +"The database major version is MySQL 8.0 and the minor version is 41.", +"The database major version is MySQL 8.0 and the minor version is 42.", +"The database major version is MySQL 8.0 and the minor version is 43.", +"The database major version is MySQL 8.0 and the minor version is 44.", +"The database major version is MySQL 8.0 and the minor version is 45.", +"The database major version is MySQL 8.0 and the minor version is 46.", +"The database version is MySQL 8.4.", +"The database version is MySQL 9.7.", +"The database version is SQL Server 2017 Standard.", +"The database version is SQL Server 2017 Enterprise.", +"The database version is SQL Server 2017 Express.", +"The database version is SQL Server 2017 Web.", +"The database version is PostgreSQL 9.6.", +"The database version is PostgreSQL 10.", +"The database version is PostgreSQL 11.", +"The database version is PostgreSQL 12.", +"The database version is PostgreSQL 13.", +"The database version is PostgreSQL 14.", +"The database version is PostgreSQL 15.", +"The database version is PostgreSQL 16.", +"The database version is PostgreSQL 17.", +"The database version is PostgreSQL 18.", +"The database version is SQL Server 2019 Standard.", +"The database version is SQL Server 2019 Enterprise.", +"The database version is SQL Server 2019 Express.", +"The database version is SQL Server 2019 Web.", +"The database version is SQL Server 2022 Standard.", +"The database version is SQL Server 2022 Enterprise.", +"The database version is SQL Server 2022 Express.", +"The database version is SQL Server 2022 Web.", +"The database version is SQL Server 2025 Standard.", +"The database version is SQL Server 2025 Enterprise.", +"The database version is SQL Server 2025 Express." +], +"type": "string" +} +}, +"type": "object" +}, +"PreCheckResponse": { +"description": "Structured PreCheckResponse containing message, type, and required actions.", +"id": "PreCheckResponse", +"properties": { +"actionsRequired": { +"description": "The actions that the user needs to take. Use repeated for multiple actions.", +"items": { +"type": "string" +}, +"type": "array" +}, +"message": { +"description": "The message to be displayed to the user.", +"type": "string" +}, +"messageType": { +"description": "The type of message whether it is an info, warning, or error.", +"enum": [ +"MESSAGE_TYPE_UNSPECIFIED", +"INFO", +"WARNING", +"ERROR" +], +"enumDescriptions": [ +"Default unspecified value to prevent unintended behavior changes.", +"General informational messages that don't require action.", +"Warnings that might impact the upgrade but don't block it.", +"Errors that a user must resolve before proceeding with the upgrade." +], +"type": "string" +} +}, +"type": "object" +}, +"PscAutoConnectionConfig": { +"description": "Settings for an automatically-setup Private Service Connect consumer endpoint that is used to connect to a Cloud SQL instance.", +"id": "PscAutoConnectionConfig", +"properties": { +"consumerNetwork": { +"description": "Optional. The consumer network of this consumer endpoint. This must be a resource path that includes both the host project and the network name. For example, `projects/project1/global/networks/network1`. The consumer host project of this network might be different from the consumer service project.", +"type": "string" +}, +"consumerNetworkStatus": { +"description": "The connection policy status of the consumer network.", +"type": "string" +}, +"consumerProject": { +"description": "Optional. This is the project ID of consumer service project of this consumer endpoint. Optional. This is only applicable if consumer_network is a shared vpc network.", +"type": "string" +}, +"ipAddress": { +"description": "The IP address of the consumer endpoint.", +"type": "string" +}, +"status": { +"description": "The connection status of the consumer endpoint.", +"type": "string" +} +}, +"type": "object" +}, +"PscConfig": { +"description": "PSC settings for a Cloud SQL instance.", +"id": "PscConfig", +"properties": { +"allowedConsumerProjects": { +"description": "Optional. The list of consumer projects that are allow-listed for PSC connections to this instance. This instance can be connected to with PSC from any network in these projects. Each consumer project in this list may be represented by a project number (numeric) or by a project id (alphanumeric).", +"items": { +"type": "string" +}, +"type": "array" +}, +"networkAttachmentUri": { +"description": "Optional. The network attachment of the consumer network that the Private Service Connect enabled Cloud SQL instance is authorized to connect via PSC interface. format: projects/PROJECT/regions/REGION/networkAttachments/ID", +"type": "string" +}, +"pscAutoConnections": { +"description": "Optional. The list of settings for requested Private Service Connect consumer endpoints that can be used to connect to this Cloud SQL instance.", +"items": { +"$ref": "PscAutoConnectionConfig" +}, +"type": "array" +}, +"pscEnabled": { +"description": "Whether PSC connectivity is enabled for this instance.", +"type": "boolean" +} +}, +"type": "object" +}, +"QueryResult": { +"description": "QueryResult contains the result of executing a single SQL statement.", +"id": "QueryResult", +"properties": { +"columns": { +"description": "List of columns included in the result. This also includes the data type of the column.", +"items": { +"$ref": "Column" +}, +"type": "array" +}, +"message": { +"description": "Message related to the SQL execution result.", +"type": "string" +}, +"partialResult": { +"description": "Set to true if the SQL execution's result is truncated due to size limits or an error retrieving results.", +"type": "boolean" +}, +"rows": { +"description": "Rows returned by the SQL statement.", +"items": { +"$ref": "Row" +}, +"type": "array" +}, +"status": { +"$ref": "Status", +"description": "If results were truncated due to an error, details of that error." +} +}, +"type": "object" +}, +"ReadPoolAutoScaleConfig": { +"description": "The read pool auto-scale configuration.", +"id": "ReadPoolAutoScaleConfig", +"properties": { +"disableScaleIn": { +"description": "Indicates whether read pool auto scaling supports scale in operations (removing nodes).", +"type": "boolean" +}, +"enabled": { +"description": "Indicates whether read pool auto scaling is enabled.", +"type": "boolean" +}, +"maxNodeCount": { +"description": "Maximum number of read pool nodes to be maintained.", +"format": "int32", +"type": "integer" +}, +"minNodeCount": { +"description": "Minimum number of read pool nodes to be maintained.", +"format": "int32", +"type": "integer" +}, +"scaleInCooldownSeconds": { +"description": "The cooldown period for scale-in operations.", +"format": "int32", +"type": "integer" +}, +"scaleOutCooldownSeconds": { +"description": "The cooldown period for scale-out operations.", +"format": "int32", +"type": "integer" +}, +"targetMetrics": { +"description": "Optional. Target metrics for read pool auto scaling.", +"items": { +"$ref": "TargetMetric" +}, +"type": "array" +} +}, +"type": "object" +}, +"ReplicaConfiguration": { +"description": "Read-replica configuration for connecting to the primary instance.", +"id": "ReplicaConfiguration", +"properties": { +"cascadableReplica": { +"description": "Optional. Specifies if a SQL Server replica is a cascadable replica. A cascadable replica is a SQL Server cross region replica that supports replica(s) under it.", +"type": "boolean" +}, +"failoverTarget": { +"description": "Specifies if the replica is the failover target. If the field is set to `true`, the replica will be designated as a failover replica. In case the primary instance fails, the replica instance will be promoted as the new primary instance. Only one replica can be specified as failover target, and the replica has to be in different zone with the primary instance.", +"type": "boolean" +}, +"kind": { +"description": "This is always `sql#replicaConfiguration`.", +"type": "string" +}, +"mysqlReplicaConfiguration": { +"$ref": "MySqlReplicaConfiguration", +"description": "MySQL specific configuration when replicating from a MySQL on-premises primary instance. Replication configuration information such as the username, password, certificates, and keys are not stored in the instance metadata. The configuration information is used only to set up the replication connection and is stored by MySQL in a file named `master.info` in the data directory." +} +}, +"type": "object" +}, +"ReplicationCluster": { +"description": "A primary instance and disaster recovery (DR) replica pair. A DR replica is a cross-region replica that you designate for failover in the event that the primary instance experiences regional failure. Applicable to MySQL and PostgreSQL.", +"id": "ReplicationCluster", +"properties": { +"drReplica": { +"description": "Output only. Read-only field that indicates whether the replica is a DR replica. This field is not set if the instance is a primary instance.", +"readOnly": true, +"type": "boolean" +}, +"failoverDrReplicaName": { +"description": "Optional. If the instance is a primary instance, then this field identifies the disaster recovery (DR) replica. A DR replica is an optional configuration for Enterprise Plus edition instances. If the instance is a read replica, then the field is not set. Set this field to a replica name to designate a DR replica for a primary instance. Remove the replica name to remove the DR replica designation.", +"type": "string" +}, +"psaWriteEndpoint": { +"description": "Output only. If set, this field indicates this instance has a private service access (PSA) DNS endpoint that is pointing to the primary instance of the cluster. If this instance is the primary, then the DNS endpoint points to this instance. After a switchover or replica failover operation, this DNS endpoint points to the promoted instance. This is a read-only field, returned to the user as information. This field can exist even if a standalone instance doesn't have a DR replica yet or the DR replica is deleted.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"Reschedule": { +"id": "Reschedule", +"properties": { +"rescheduleType": { +"description": "Required. The type of the reschedule.", +"enum": [ +"RESCHEDULE_TYPE_UNSPECIFIED", +"IMMEDIATE", +"NEXT_AVAILABLE_WINDOW", +"SPECIFIC_TIME" +], +"enumDescriptions": [ +"", +"Reschedules maintenance to happen now (within 5 minutes).", +"Reschedules maintenance to occur within one week from the originally scheduled day and time.", +"Reschedules maintenance to a specific time and day." +], +"type": "string" +}, +"scheduleTime": { +"description": "Optional. Timestamp when the maintenance shall be rescheduled to if reschedule_type=SPECIFIC_TIME, in [RFC 3339](https://tools.ietf.org/html/rfc3339) format, for example `2012-11-15T16:19:00.094Z`.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"RestoreBackupContext": { +"description": "Database instance restore from backup context. Backup context contains source instance id and project id.", +"id": "RestoreBackupContext", +"properties": { +"backupRunId": { +"description": "The ID of the backup run to restore from.", +"format": "int64", +"type": "string" +}, +"instanceId": { +"description": "The ID of the instance that the backup was taken from.", +"type": "string" +}, +"kind": { +"description": "This is always `sql#restoreBackupContext`.", +"type": "string" +}, +"project": { +"description": "The full project ID of the source instance.", +"type": "string" +} +}, +"type": "object" +}, +"RotateEntraIdCertificateContext": { +"description": "Instance rotate Entra ID certificate context.", +"id": "RotateEntraIdCertificateContext", +"properties": { +"kind": { +"description": "Optional. This is always `sql#rotateEntraIdCertificateContext`.", +"type": "string" +}, +"nextVersion": { +"description": "Optional. The fingerprint of the next version to be rotated to. If left unspecified, will be rotated to the most recently added server certificate version.", +"type": "string" +} +}, +"type": "object" +}, +"RotateServerCaContext": { +"description": "Instance rotate server CA context.", +"id": "RotateServerCaContext", +"properties": { +"kind": { +"description": "This is always `sql#rotateServerCaContext`.", +"type": "string" +}, +"nextVersion": { +"description": "The fingerprint of the next version to be rotated to. If left unspecified, will be rotated to the most recently added server CA version.", +"type": "string" +} +}, +"type": "object" +}, +"RotateServerCertificateContext": { +"description": "Instance rotate server certificate context.", +"id": "RotateServerCertificateContext", +"properties": { +"kind": { +"description": "Optional. This is always `sql#rotateServerCertificateContext`.", +"type": "string" +}, +"nextVersion": { +"description": "The fingerprint of the next version to be rotated to. If left unspecified, will be rotated to the most recently added server certificate version.", +"type": "string" +} +}, +"type": "object" +}, +"Row": { +"description": "Contains the values for a row.", +"id": "Row", +"properties": { +"values": { +"description": "The values for the row.", +"items": { +"$ref": "Value" +}, +"type": "array" +} +}, +"type": "object" +}, +"SelectedObjects": { +"description": "A list of objects that the user selects for replication from an external source instance.", +"id": "SelectedObjects", +"properties": { +"database": { +"description": "Required. The name of the database to migrate.", +"type": "string" +} +}, +"type": "object" +}, +"Settings": { +"description": "Database instance settings.", +"id": "Settings", +"properties": { +"acceleratedReplicaMode": { +"description": "Optional. Whether the replica is in accelerated mode. This feature is in private preview and requires allowlisting to take effect.", +"type": "boolean" +}, +"activationPolicy": { +"description": "The activation policy specifies when the instance is activated; it is applicable only when the instance state is RUNNABLE. Valid values: * `ALWAYS`: The instance is on, and remains so even in the absence of connection requests. * `NEVER`: The instance is off; it is not activated, even if a connection request arrives.", +"enum": [ +"SQL_ACTIVATION_POLICY_UNSPECIFIED", +"ALWAYS", +"NEVER", +"ON_DEMAND" +], +"enumDeprecated": [ +false, +false, +false, +true +], +"enumDescriptions": [ +"Unknown activation plan.", +"The instance is always up and running.", +"The instance never starts.", +"The instance starts upon receiving requests." +], +"type": "string" +}, +"activeDirectoryConfig": { +"$ref": "SqlActiveDirectoryConfig", +"description": "Active Directory configuration, relevant only for Cloud SQL for SQL Server." +}, +"advancedMachineFeatures": { +"$ref": "AdvancedMachineFeatures", +"description": "Specifies advanced machine configuration for the instances relevant only for SQL Server." +}, +"authorizedGaeApplications": { +"deprecated": true, +"description": "The App Engine app IDs that can access this instance. (Deprecated) Applied to First Generation instances only.", +"items": { +"type": "string" +}, +"type": "array" +}, +"autoUpgradeEnabled": { +"description": "Optional. Cloud SQL for MySQL auto-upgrade configuration. When this parameter is set to true, auto-upgrade is enabled for MySQL 8.0 minor versions. The MySQL version must be 8.0.35 or higher.", +"type": "boolean" +}, +"availabilityType": { +"description": "Availability type. Potential values: * `ZONAL`: The instance serves data from only one zone. Outages in that zone affect data accessibility. * `REGIONAL`: The instance can serve data from more than one zone in a region (it is highly available)./ For more information, see [Overview of the High Availability Configuration](https://cloud.google.com/sql/docs/mysql/high-availability).", +"enum": [ +"SQL_AVAILABILITY_TYPE_UNSPECIFIED", +"ZONAL", +"REGIONAL" +], +"enumDescriptions": [ +"This is an unknown Availability type.", +"Zonal available instance.", +"Regional available instance." +], +"type": "string" +}, +"backupConfiguration": { +"$ref": "BackupConfiguration", +"description": "The daily backup configuration for the instance." +}, +"collation": { +"description": "The name of server Instance collation.", +"type": "string" +}, +"connectionPoolConfig": { +"$ref": "ConnectionPoolConfig", +"description": "Optional. The managed connection pooling configuration for the instance." +}, +"connectorEnforcement": { +"description": "Specifies if connections must use Cloud SQL connectors. Option values include the following: `NOT_REQUIRED` (Cloud SQL instances can be connected without Cloud SQL Connectors) and `REQUIRED` (Only allow connections that use Cloud SQL Connectors). Note that using REQUIRED disables all existing authorized networks. If this field is not specified when creating a new instance, NOT_REQUIRED is used. If this field is not specified when patching or updating an existing instance, it is left unchanged in the instance.", +"enum": [ +"CONNECTOR_ENFORCEMENT_UNSPECIFIED", +"NOT_REQUIRED", +"REQUIRED" +], +"enumDescriptions": [ +"The requirement for Cloud SQL connectors is unknown.", +"Do not require Cloud SQL connectors.", +"Require all connections to use Cloud SQL connectors, including the Cloud SQL Auth Proxy and Cloud SQL Java, Python, and Go connectors. Note: This disables all existing authorized networks." +], +"type": "string" +}, +"crashSafeReplicationEnabled": { +"deprecated": true, +"description": "Configuration specific to read replica instances. Indicates whether database flags for crash-safe replication are enabled. This property was only applicable to First Generation instances.", +"type": "boolean" +}, +"dataApiAccess": { +"description": "This parameter controls whether to allow using ExecuteSql API to connect to the instance. Not allowed by default.", +"enum": [ +"DATA_API_ACCESS_UNSPECIFIED", +"DISALLOW_DATA_API", +"ALLOW_DATA_API" +], +"enumDescriptions": [ +"Unspecified, effectively the same as `DISALLOW_DATA_API`.", +"Disallow using ExecuteSql API to connect to the instance.", +"Allow using ExecuteSql API to connect to the instance. For private IP instances, this allows authorized users to access the instance from the public internet using ExecuteSql API." +], +"type": "string" +}, +"dataCacheConfig": { +"$ref": "DataCacheConfig", +"description": "Configuration for data cache." +}, +"dataDiskProvisionedIops": { +"description": "Optional. Provisioned number of I/O operations per second for the data disk. This field is only used for hyperdisk-balanced disk types.", +"format": "int64", +"type": "string" +}, +"dataDiskProvisionedThroughput": { +"description": "Optional. Provisioned throughput measured in MiB per second for the data disk. This field is only used for hyperdisk-balanced disk types.", +"format": "int64", +"type": "string" +}, +"dataDiskSizeGb": { +"description": "The size of data disk, in GB. The data disk size minimum is 10GB.", +"format": "int64", +"type": "string" +}, +"dataDiskType": { +"description": "The type of data disk: `PD_SSD` (default) or `PD_HDD`. Not used for First Generation instances.", +"enum": [ +"SQL_DATA_DISK_TYPE_UNSPECIFIED", +"PD_SSD", +"PD_HDD", +"OBSOLETE_LOCAL_SSD", +"HYPERDISK_BALANCED" +], +"enumDeprecated": [ +false, +false, +false, +true, +false +], +"enumDescriptions": [ +"This is an unknown data disk type.", +"An SSD data disk.", +"An HDD data disk.", +"This field is deprecated and will be removed from a future version of the API.", +"A Hyperdisk Balanced data disk." +], +"type": "string" +}, +"databaseFlags": { +"description": "The database flags passed to the instance at startup.", +"items": { +"$ref": "DatabaseFlags" +}, +"type": "array" +}, +"databaseReplicationEnabled": { +"description": "Configuration specific to read replica instances. Indicates whether replication is enabled or not. WARNING: Changing this restarts the instance.", +"type": "boolean" +}, +"deletionProtectionEnabled": { +"description": "Configuration to protect against accidental instance deletion.", +"type": "boolean" +}, +"denyMaintenancePeriods": { +"description": "Deny maintenance periods", +"items": { +"$ref": "DenyMaintenancePeriod" +}, +"type": "array" +}, +"edition": { +"description": "Optional. The edition of the instance.", +"enum": [ +"EDITION_UNSPECIFIED", +"ENTERPRISE", +"ENTERPRISE_PLUS" +], +"enumDescriptions": [ +"The instance did not specify the edition.", +"The instance is an enterprise edition.", +"The instance is an Enterprise Plus edition." +], +"type": "string" +}, +"enableDataplexIntegration": { +"description": "Optional. By default, Cloud SQL instances have schema extraction disabled for Dataplex. When this parameter is set to true, schema extraction for Dataplex on Cloud SQL instances is activated.", +"type": "boolean" +}, +"enableGoogleMlIntegration": { +"description": "Optional. When this parameter is set to true, Cloud SQL instances can connect to Vertex AI to pass requests for real-time predictions and insights to the AI. The default value is false. This applies only to Cloud SQL for MySQL and Cloud SQL for PostgreSQL instances.", +"type": "boolean" +}, +"entraidConfig": { +"$ref": "SqlServerEntraIdConfig", +"description": "Optional. The Microsoft Entra ID configuration for the SQL Server instance." +}, +"finalBackupConfig": { +"$ref": "FinalBackupConfig", +"description": "Optional. The final backup configuration for the instance." +}, +"insightsConfig": { +"$ref": "InsightsConfig", +"description": "Insights configuration, for now relevant only for Postgres." +}, +"ipConfiguration": { +"$ref": "IpConfiguration", +"description": "The settings for IP Management. This allows to enable or disable the instance IP and manage which external networks can connect to the instance. The IPv4 address cannot be disabled for Second Generation instances." +}, +"kind": { +"description": "This is always `sql#settings`.", +"type": "string" +}, +"locationPreference": { +"$ref": "LocationPreference", +"description": "The location preference settings. This allows the instance to be located as near as possible to either an App Engine app or Compute Engine zone for better performance. App Engine co-location was only applicable to First Generation instances." +}, +"maintenanceWindow": { +"$ref": "MaintenanceWindow", +"description": "The maintenance window for this instance. This specifies when the instance can be restarted for maintenance purposes." +}, +"passwordValidationPolicy": { +"$ref": "PasswordValidationPolicy", +"description": "The local user password validation policy of the instance." +}, +"performanceCaptureConfig": { +"$ref": "PerformanceCaptureConfig", +"description": "Optional. Configuration for Performance Capture, provides diagnostic metrics during high load situations." +}, +"pricingPlan": { +"description": "The pricing plan for this instance. This can be either `PER_USE` or `PACKAGE`. Only `PER_USE` is supported for Second Generation instances.", +"enum": [ +"SQL_PRICING_PLAN_UNSPECIFIED", +"PACKAGE", +"PER_USE" +], +"enumDescriptions": [ +"This is an unknown pricing plan for this instance.", +"The instance is billed at a monthly flat rate.", +"The instance is billed per usage." +], +"type": "string" +}, +"readPoolAutoScaleConfig": { +"$ref": "ReadPoolAutoScaleConfig", +"description": "Optional. The read pool auto-scale configuration for the instance." +}, +"replicationLagMaxSeconds": { +"description": "Optional. Configuration value for recreation of replica after certain replication lag", +"format": "int32", +"type": "integer" +}, +"replicationType": { +"deprecated": true, +"description": "The type of replication this instance uses. This can be either `ASYNCHRONOUS` or `SYNCHRONOUS`. (Deprecated) This property was only applicable to First Generation instances.", +"enum": [ +"SQL_REPLICATION_TYPE_UNSPECIFIED", +"SYNCHRONOUS", +"ASYNCHRONOUS" +], +"enumDescriptions": [ +"This is an unknown replication type for a Cloud SQL instance.", +"The synchronous replication mode for First Generation instances. It is the default value.", +"The asynchronous replication mode for First Generation instances. It provides a slight performance gain, but if an outage occurs while this option is set to asynchronous, you can lose up to a few seconds of updates to your data." +], +"type": "string" +}, +"retainBackupsOnDelete": { +"description": "Optional. When this parameter is set to true, Cloud SQL retains backups of the instance even after the instance is deleted. The ON_DEMAND backup will be retained until customer deletes the backup or the project. The AUTOMATED backup will be retained based on the backups retention setting.", +"type": "boolean" +}, +"settingsVersion": { +"description": "The version of instance settings. This is a required field for update method to make sure concurrent updates are handled properly. During update, use the most recent settingsVersion value for this instance and do not try to update this value.", +"format": "int64", +"type": "string" +}, +"sqlServerAuditConfig": { +"$ref": "SqlServerAuditConfig", +"description": "SQL Server specific audit configuration." +}, +"storageAutoResize": { +"description": "Configuration to increase storage size automatically. The default value is true.", +"type": "boolean" +}, +"storageAutoResizeLimit": { +"description": "The maximum size to which storage capacity can be automatically increased. The default value is 0, which specifies that there is no limit.", +"format": "int64", +"type": "string" +}, +"tier": { +"description": "The tier (or machine type) for this instance, for example `db-custom-1-3840`. WARNING: Changing this restarts the instance.", +"type": "string" +}, +"timeZone": { +"description": "Server timezone, relevant only for Cloud SQL for SQL Server.", +"type": "string" +}, +"userLabels": { +"additionalProperties": { +"type": "string" +}, +"description": "User-provided labels, represented as a dictionary where each label is a single key value pair.", +"type": "object" +} +}, +"type": "object" +}, +"SqlActiveDirectoryConfig": { +"description": "Active Directory configuration, relevant only for Cloud SQL for SQL Server.", +"id": "SqlActiveDirectoryConfig", +"properties": { +"adminCredentialSecretName": { +"description": "Optional. The secret manager key storing the administrator credential. (e.g., projects/{project}/secrets/{secret}).", +"type": "string" +}, +"dnsServers": { +"description": "Optional. Domain controller IPv4 addresses used to bootstrap Active Directory.", +"items": { +"type": "string" +}, +"type": "array" +}, +"domain": { +"description": "The name of the domain (e.g., mydomain.com).", +"type": "string" +}, +"kind": { +"description": "This is always sql#activeDirectoryConfig.", +"type": "string" +}, +"mode": { +"description": "Optional. The mode of the Active Directory configuration.", +"enum": [ +"ACTIVE_DIRECTORY_MODE_UNSPECIFIED", +"MANAGED_ACTIVE_DIRECTORY", +"SELF_MANAGED_ACTIVE_DIRECTORY", +"CUSTOMER_MANAGED_ACTIVE_DIRECTORY" +], +"enumDeprecated": [ +false, +false, +true, +false +], +"enumDescriptions": [ +"Unspecified mode. Will default to MANAGED_ACTIVE_DIRECTORY if the mode is not specified to maintain backward compatibility.", +"Managed Active Directory mode.", +"Deprecated: Use CUSTOMER_MANAGED_ACTIVE_DIRECTORY instead.", +"Customer-managed Active Directory mode." +], +"type": "string" +}, +"organizationalUnit": { +"description": "Optional. The organizational unit distinguished name. This is the full hierarchical path to the organizational unit.", +"type": "string" +} +}, +"type": "object" +}, +"SqlExternalSyncSettingError": { +"description": "External primary instance migration setting error/warning.", +"id": "SqlExternalSyncSettingError", +"properties": { +"detail": { +"description": "Additional information about the error encountered.", +"type": "string" +}, +"kind": { +"description": "Can be `sql#externalSyncSettingError` or `sql#externalSyncSettingWarning`.", +"type": "string" +}, +"type": { +"description": "Identifies the specific error that occurred.", +"enum": [ +"SQL_EXTERNAL_SYNC_SETTING_ERROR_TYPE_UNSPECIFIED", +"CONNECTION_FAILURE", +"BINLOG_NOT_ENABLED", +"INCOMPATIBLE_DATABASE_VERSION", +"REPLICA_ALREADY_SETUP", +"INSUFFICIENT_PRIVILEGE", +"UNSUPPORTED_MIGRATION_TYPE", +"NO_PGLOGICAL_INSTALLED", +"PGLOGICAL_NODE_ALREADY_EXISTS", +"INVALID_WAL_LEVEL", +"INVALID_SHARED_PRELOAD_LIBRARY", +"INSUFFICIENT_MAX_REPLICATION_SLOTS", +"INSUFFICIENT_MAX_WAL_SENDERS", +"INSUFFICIENT_MAX_WORKER_PROCESSES", +"UNSUPPORTED_EXTENSIONS", +"INVALID_RDS_LOGICAL_REPLICATION", +"INVALID_LOGGING_SETUP", +"INVALID_DB_PARAM", +"UNSUPPORTED_GTID_MODE", +"SQLSERVER_AGENT_NOT_RUNNING", +"UNSUPPORTED_TABLE_DEFINITION", +"UNSUPPORTED_DEFINER", +"SQLSERVER_SERVERNAME_MISMATCH", +"PRIMARY_ALREADY_SETUP", +"UNSUPPORTED_BINLOG_FORMAT", +"BINLOG_RETENTION_SETTING", +"UNSUPPORTED_STORAGE_ENGINE", +"LIMITED_SUPPORT_TABLES", +"EXISTING_DATA_IN_REPLICA", +"MISSING_OPTIONAL_PRIVILEGES", +"RISKY_BACKUP_ADMIN_PRIVILEGE", +"INSUFFICIENT_GCS_PERMISSIONS", +"INVALID_FILE_INFO", +"UNSUPPORTED_DATABASE_SETTINGS", +"MYSQL_PARALLEL_IMPORT_INSUFFICIENT_PRIVILEGE", +"LOCAL_INFILE_OFF", +"TURN_ON_PITR_AFTER_PROMOTE", +"INCOMPATIBLE_DATABASE_MINOR_VERSION", +"SOURCE_MAX_SUBSCRIPTIONS", +"UNABLE_TO_VERIFY_DEFINERS", +"SUBSCRIPTION_CALCULATION_STATUS", +"PG_SUBSCRIPTION_COUNT", +"PG_SYNC_PARALLEL_LEVEL", +"INSUFFICIENT_DISK_SIZE", +"INSUFFICIENT_MACHINE_TIER", +"UNSUPPORTED_EXTENSIONS_NOT_MIGRATED", +"EXTENSIONS_NOT_MIGRATED", +"PG_CRON_FLAG_ENABLED_IN_REPLICA", +"EXTENSIONS_NOT_ENABLED_IN_REPLICA", +"UNSUPPORTED_COLUMNS", +"USERS_NOT_CREATED_IN_REPLICA", +"UNSUPPORTED_SYSTEM_OBJECTS", +"UNSUPPORTED_TABLES_WITH_REPLICA_IDENTITY", +"SELECTED_OBJECTS_NOT_EXIST_ON_SOURCE", +"PSC_ONLY_INSTANCE_WITH_NO_NETWORK_ATTACHMENT_URI", +"SELECTED_OBJECTS_REFERENCE_UNSELECTED_OBJECTS", +"PROMPT_DELETE_EXISTING", +"WILL_DELETE_EXISTING", +"PG_DDL_REPLICATION_INSUFFICIENT_PRIVILEGE" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"The replication user is missing privileges that are required.", +"Unsupported migration type.", +"No pglogical extension installed on databases, applicable for postgres.", +"pglogical node already exists on databases, applicable for postgres.", +"The value of parameter wal_level is not set to logical.", +"The value of parameter shared_preload_libraries does not include pglogical.", +"The value of parameter max_replication_slots is not sufficient.", +"The value of parameter max_wal_senders is not sufficient.", +"The value of parameter max_worker_processes is not sufficient.", +"Extensions installed are either not supported or having unsupported versions.", +"The value of parameter rds.logical_replication is not set to 1.", +"The primary instance logging setup doesn't allow EM sync.", +"The primary instance database parameter setup doesn't allow EM sync.", +"The gtid_mode is not supported, applicable for MySQL.", +"SQL Server Agent is not running.", +"The table definition is not support due to missing primary key or replica identity, applicable for postgres. Note that this is a warning and won't block the migration.", +"The customer has a definer that will break EM setup.", +"SQL Server @@SERVERNAME does not match actual host name.", +"The primary instance has been setup and will fail the setup.", +"The primary instance has unsupported binary log format.", +"The primary instance's binary log retention setting.", +"The primary instance has tables with unsupported storage engine.", +"Source has tables with limited support eg: PostgreSQL tables without primary keys.", +"The replica instance contains existing data.", +"The replication user is missing privileges that are optional.", +"Additional BACKUP_ADMIN privilege is granted to the replication user which may lock source MySQL 8 instance for DDLs during initial sync.", +"The Cloud Storage bucket is missing necessary permissions.", +"The Cloud Storage bucket has an error in the file or contains invalid file information.", +"The source instance has unsupported database settings for migration.", +"The replication user is missing parallel import specific privileges. (e.g. LOCK TABLES) for MySQL.", +"The global variable local_infile is off on external server replica.", +"This code instructs customers to turn on point-in-time recovery manually for the instance after promoting the Cloud SQL for PostgreSQL instance.", +"The minor version of replica database is incompatible with the source.", +"This warning message indicates that Cloud SQL uses the maximum number of subscriptions to migrate data from the source to the destination.", +"Unable to verify definers on the source for MySQL.", +"If a time out occurs while the subscription counts are calculated, then this value is set to 1. Otherwise, this value is set to 2.", +"Count of subscriptions needed to sync source data for PostgreSQL database.", +"Final parallel level that is used to do migration.", +"The disk size of the replica instance is smaller than the data size of the source instance.", +"The data size of the source instance is greater than 1 TB, the number of cores of the replica instance is less than 8, and the memory of the replica is less than 32 GB.", +"The warning message indicates the unsupported extensions will not be migrated to the destination.", +"The warning message indicates the pg_cron extension and settings will not be migrated to the destination.", +"The error message indicates that pg_cron flags are enabled on the destination which is not supported during the migration.", +"This error message indicates that the specified extensions are not enabled on destination instance. For example, before you can migrate data to the destination instance, you must enable the PGAudit extension on the instance.", +"The source database has generated columns that can't be migrated. Please change them to regular columns before migration.", +"The source database has users that aren't created in the replica. First, create all users, which are in the pg_user_mappings table of the source database, in the destination instance. Then, perform the migration.", +"The selected objects include system objects that aren't supported for migration.", +"The source database has tables with the FULL or NOTHING replica identity. Before starting your migration, either remove the identity or change it to DEFAULT. Note that this is an error and will block the migration.", +"The selected objects don't exist on the source instance.", +"PSC only destination instance does not have a network attachment URI.", +"Selected objects reference unselected objects. Based on their object type (foreign key constraint or view), selected objects will fail during migration.", +"The migration will delete existing data in the replica; set replica_overwrite_enabled in the request to acknowledge this. This is an error. MySQL only.", +"The migration will delete existing data in the replica; replica_overwrite_enabled was set in the request acknowledging this. This is a warning rather than an error. MySQL only.", +"The replication user is missing specific privileges to setup DDL replication. (e.g. CREATE EVENT TRIGGER, CREATE SCHEMA) for PostgreSQL." +], +"type": "string" +} +}, +"type": "object" +}, +"SqlInstancesAcquireSsrsLeaseResponse": { +"description": "Response for the acquire SSRS lease request.", +"id": "SqlInstancesAcquireSsrsLeaseResponse", +"properties": { +"operationId": { +"description": "The unique identifier for this operation.", +"type": "string" +} +}, +"type": "object" +}, +"SqlInstancesExecuteSqlResponse": { +"description": "Execute SQL statements response.", +"id": "SqlInstancesExecuteSqlResponse", +"properties": { +"messages": { +"description": "A list of notices and warnings generated during query execution. For PostgreSQL, this includes all notices and warnings. For MySQL, this includes warnings generated by the last executed statement. To retrieve all warnings for a multi-statement query, `SHOW WARNINGS` must be executed after each statement.", +"items": { +"$ref": "Message" +}, +"type": "array" +}, +"metadata": { +"$ref": "Metadata", +"description": "The additional metadata information regarding the execution of the SQL statements." +}, +"results": { +"description": "The list of results after executing all the SQL statements.", +"items": { +"$ref": "QueryResult" +}, +"type": "array" +}, +"status": { +"$ref": "Status", +"description": "Contains the error from the database if the SQL execution failed." +} +}, +"type": "object" +}, +"SqlInstancesGetDiskShrinkConfigResponse": { +"description": "Instance get disk shrink config response.", +"id": "SqlInstancesGetDiskShrinkConfigResponse", +"properties": { +"kind": { +"description": "This is always `sql#getDiskShrinkConfig`.", +"type": "string" +}, +"message": { +"description": "Additional message to customers.", +"type": "string" +}, +"minimalTargetSizeGb": { +"description": "The minimum size to which a disk can be shrunk in GigaBytes.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"SqlInstancesGetLatestRecoveryTimeResponse": { +"description": "Instance get latest recovery time response.", +"id": "SqlInstancesGetLatestRecoveryTimeResponse", +"properties": { +"earliestRecoveryTime": { +"description": "Timestamp, identifies the earliest recovery time of the source instance.", +"format": "google-datetime", +"type": "string" +}, +"kind": { +"description": "This is always `sql#getLatestRecoveryTime`.", +"type": "string" +}, +"latestRecoveryTime": { +"description": "Timestamp, identifies the latest recovery time of the source instance.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"SqlInstancesReleaseSsrsLeaseResponse": { +"description": "Response for the release SSRS lease request.", +"id": "SqlInstancesReleaseSsrsLeaseResponse", +"properties": { +"operationId": { +"description": "The unique identifier for this operation.", +"type": "string" +} +}, +"type": "object" +}, +"SqlInstancesRescheduleMaintenanceRequestBody": { +"description": "Reschedule options for maintenance windows.", +"id": "SqlInstancesRescheduleMaintenanceRequestBody", +"properties": { +"reschedule": { +"$ref": "Reschedule", +"description": "Required. The type of the reschedule the user wants." +} +}, +"type": "object" +}, +"SqlInstancesResetReplicaSizeRequest": { +"description": "Instance reset replica size request.", +"id": "SqlInstancesResetReplicaSizeRequest", +"properties": {}, +"type": "object" +}, +"SqlInstancesStartExternalSyncRequest": { +"description": "Instance start external sync request.", +"id": "SqlInstancesStartExternalSyncRequest", +"properties": { +"migrationType": { +"description": "Optional. MigrationType configures the migration to use physical files or logical dump files. If not set, then the logical dump file configuration is used. Valid values are `LOGICAL` or `PHYSICAL`. Only applicable to MySQL.", +"enum": [ +"MIGRATION_TYPE_UNSPECIFIED", +"LOGICAL", +"PHYSICAL" +], +"enumDescriptions": [ +"Default value is a logical dump file-based migration", +"Logical dump file-based migration", +"Physical file-based migration" +], +"type": "string" +}, +"mysqlSyncConfig": { +"$ref": "MySqlSyncConfig", +"description": "MySQL-specific settings for start external sync." +}, +"replicaOverwriteEnabled": { +"description": "Optional. MySQL only. True if end-user has confirmed that this SES call will wipe replica databases overlapping with the proposed selected_objects. If this field is not set and there are both overlapping and additional databases proposed, an error will be returned.", +"type": "boolean" +}, +"skipVerification": { +"description": "Whether to skip the verification step (VESS).", +"type": "boolean" +}, +"syncMode": { +"description": "External sync mode.", +"enum": [ +"EXTERNAL_SYNC_MODE_UNSPECIFIED", +"ONLINE", +"OFFLINE" +], +"enumDescriptions": [ +"Unknown external sync mode, will be defaulted to ONLINE mode", +"Online external sync will set up replication after initial data external sync", +"Offline external sync only dumps and loads a one-time snapshot of the primary instance's data" +], +"type": "string" +}, +"syncParallelLevel": { +"description": "Optional. Parallel level for initial data sync. Currently only applicable for MySQL.", +"enum": [ +"EXTERNAL_SYNC_PARALLEL_LEVEL_UNSPECIFIED", +"MIN", +"OPTIMAL", +"MAX" +], +"enumDescriptions": [ +"Unknown sync parallel level. Will be defaulted to OPTIMAL.", +"Minimal parallel level.", +"Optimal parallel level.", +"Maximum parallel level." +], +"type": "string" +} +}, +"type": "object" +}, +"SqlInstancesVerifyExternalSyncSettingsRequest": { +"description": "Instance verify external sync settings request.", +"id": "SqlInstancesVerifyExternalSyncSettingsRequest", +"properties": { +"migrationType": { +"description": "Optional. MigrationType configures the migration to use physical files or logical dump files. If not set, then the logical dump file configuration is used. Valid values are `LOGICAL` or `PHYSICAL`. Only applicable to MySQL.", +"enum": [ +"MIGRATION_TYPE_UNSPECIFIED", +"LOGICAL", +"PHYSICAL" +], +"enumDescriptions": [ +"Default value is a logical dump file-based migration", +"Logical dump file-based migration", +"Physical file-based migration" +], +"type": "string" +}, +"mysqlSyncConfig": { +"$ref": "MySqlSyncConfig", +"description": "Optional. MySQL-specific settings for start external sync." +}, +"selectedObjects": { +"description": "Optional. Migrate only the specified objects from the source instance. If this field is empty, then migrate all objects.", +"items": { +"$ref": "ExternalSyncSelectedObject" +}, +"type": "array" +}, +"syncMode": { +"description": "External sync mode", +"enum": [ +"EXTERNAL_SYNC_MODE_UNSPECIFIED", +"ONLINE", +"OFFLINE" +], +"enumDescriptions": [ +"Unknown external sync mode, will be defaulted to ONLINE mode", +"Online external sync will set up replication after initial data external sync", +"Offline external sync only dumps and loads a one-time snapshot of the primary instance's data" +], +"type": "string" +}, +"syncParallelLevel": { +"description": "Optional. Parallel level for initial data sync. Only applicable for PostgreSQL.", +"enum": [ +"EXTERNAL_SYNC_PARALLEL_LEVEL_UNSPECIFIED", +"MIN", +"OPTIMAL", +"MAX" +], +"enumDescriptions": [ +"Unknown sync parallel level. Will be defaulted to OPTIMAL.", +"Minimal parallel level.", +"Optimal parallel level.", +"Maximum parallel level." +], +"type": "string" +}, +"verifyConnectionOnly": { +"description": "Flag to enable verifying connection only", +"type": "boolean" +}, +"verifyReplicationOnly": { +"description": "Optional. Flag to verify settings required by replication setup only", +"type": "boolean" +} +}, +"type": "object" +}, +"SqlInstancesVerifyExternalSyncSettingsResponse": { +"description": "Instance verify external sync settings response.", +"id": "SqlInstancesVerifyExternalSyncSettingsResponse", +"properties": { +"errors": { +"description": "List of migration violations.", +"items": { +"$ref": "SqlExternalSyncSettingError" +}, +"type": "array" +}, +"kind": { +"description": "This is always `sql#migrationSettingErrorList`.", +"type": "string" +}, +"warnings": { +"description": "List of migration warnings.", +"items": { +"$ref": "SqlExternalSyncSettingError" +}, +"type": "array" +} +}, +"type": "object" +}, +"SqlOutOfDiskReport": { +"description": "This message wraps up the information written by out-of-disk detection job.", +"id": "SqlOutOfDiskReport", +"properties": { +"sqlMinRecommendedIncreaseSizeGb": { +"description": "The minimum recommended increase size in GigaBytes This field is consumed by the frontend * Writers: * the proactive database wellness job for OOD. * Readers:", +"format": "int32", +"type": "integer" +}, +"sqlOutOfDiskState": { +"description": "This field represents the state generated by the proactive database wellness job for OutOfDisk issues. * Writers: * the proactive database wellness job for OOD. * Readers: * the proactive database wellness job", +"enum": [ +"SQL_OUT_OF_DISK_STATE_UNSPECIFIED", +"NORMAL", +"SOFT_SHUTDOWN" +], +"enumDescriptions": [ +"Unspecified state", +"The instance has plenty space on data disk", +"Data disk is almost used up. It is shutdown to prevent data corruption." +], +"type": "string" +} +}, +"type": "object" +}, +"SqlScheduledMaintenance": { +"description": "Any scheduled maintenance for this instance.", +"id": "SqlScheduledMaintenance", +"properties": { +"canDefer": { +"deprecated": true, +"type": "boolean" +}, +"canReschedule": { +"description": "If the scheduled maintenance can be rescheduled.", +"type": "boolean" +}, +"scheduleDeadlineTime": { +"description": "Maintenance cannot be rescheduled to start beyond this deadline.", +"format": "google-datetime", +"type": "string" +}, +"startTime": { +"description": "The start time of any upcoming scheduled maintenance for this instance.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"SqlServerAuditConfig": { +"description": "SQL Server specific audit configuration.", +"id": "SqlServerAuditConfig", +"properties": { +"bucket": { +"description": "The name of the destination bucket (e.g., gs://mybucket).", +"type": "string" +}, +"kind": { +"description": "This is always sql#sqlServerAuditConfig", +"type": "string" +}, +"retentionInterval": { +"description": "How long to keep generated audit files.", +"format": "google-duration", +"type": "string" +}, +"uploadInterval": { +"description": "How often to upload generated audit files.", +"format": "google-duration", +"type": "string" +} +}, +"type": "object" +}, +"SqlServerDatabaseDetails": { +"description": "Represents a Sql Server database on the Cloud SQL instance.", +"id": "SqlServerDatabaseDetails", +"properties": { +"compatibilityLevel": { +"description": "The version of SQL Server with which the database is to be made compatible", +"format": "int32", +"type": "integer" +}, +"recoveryModel": { +"description": "The recovery model of a SQL Server database", +"type": "string" +} +}, +"type": "object" +}, +"SqlServerEntraIdConfig": { +"description": "SQL Server Entra ID configuration.", +"id": "SqlServerEntraIdConfig", +"properties": { +"applicationId": { +"description": "Optional. The application ID for the Entra ID configuration.", +"type": "string" +}, +"kind": { +"description": "Output only. This is always sql#sqlServerEntraIdConfig", +"readOnly": true, +"type": "string" +}, +"tenantId": { +"description": "Optional. The tenant ID for the Entra ID configuration.", +"type": "string" +} +}, +"type": "object" +}, +"SqlServerUserDetails": { +"description": "Represents a Sql Server user on the Cloud SQL instance.", +"id": "SqlServerUserDetails", +"properties": { +"disabled": { +"description": "If the user has been disabled", +"type": "boolean" +}, +"serverRoles": { +"description": "The server roles for this user", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"SqlSubOperationType": { +"description": "The sub operation type based on the operation type.", +"id": "SqlSubOperationType", +"properties": { +"maintenanceType": { +"description": "The type of maintenance to be performed on the instance.", +"enum": [ +"SQL_MAINTENANCE_TYPE_UNSPECIFIED", +"INSTANCE_MAINTENANCE", +"REPLICA_INCLUDED_MAINTENANCE", +"INSTANCE_SELF_SERVICE_MAINTENANCE", +"REPLICA_INCLUDED_SELF_SERVICE_MAINTENANCE" +], +"enumDescriptions": [ +"Maintenance type is unspecified.", +"Indicates that a standalone instance is undergoing maintenance. The instance can be either a primary instance or a replica.", +"Indicates that the primary instance and all of its replicas, including cascading replicas, are undergoing maintenance. Maintenance is performed on groups of replicas first, followed by the primary instance.", +"Indicates that the standalone instance is undergoing maintenance, initiated by self-service. The instance can be either a primary instance or a replica.", +"Indicates that the primary instance and all of its replicas are undergoing maintenance, initiated by self-service. Maintenance is performed on groups of replicas first, followed by the primary instance." +], +"type": "string" +} +}, +"type": "object" +}, +"SslCert": { +"description": "SslCerts Resource", +"id": "SslCert", +"properties": { +"cert": { +"description": "PEM representation.", +"type": "string" +}, +"certSerialNumber": { +"description": "Serial number, as extracted from the certificate.", +"type": "string" +}, +"commonName": { +"description": "User supplied name. Constrained to [a-zA-Z.-_ ]+.", +"type": "string" +}, +"createTime": { +"description": "The time when the certificate was created in [RFC 3339](https://tools.ietf.org/html/rfc3339) format, for example `2012-11-15T16:19:00.094Z`", +"format": "google-datetime", +"type": "string" +}, +"expirationTime": { +"description": "The time when the certificate expires in [RFC 3339](https://tools.ietf.org/html/rfc3339) format, for example `2012-11-15T16:19:00.094Z`.", +"format": "google-datetime", +"type": "string" +}, +"instance": { +"description": "Name of the database instance.", +"type": "string" +}, +"kind": { +"description": "This is always `sql#sslCert`.", +"type": "string" +}, +"selfLink": { +"description": "The URI of this resource.", +"type": "string" +}, +"sha1Fingerprint": { +"description": "Sha1 Fingerprint.", +"type": "string" +} +}, +"type": "object" +}, +"SslCertDetail": { +"description": "SslCertDetail.", +"id": "SslCertDetail", +"properties": { +"certInfo": { +"$ref": "SslCert", +"description": "The public information about the cert." +}, +"certPrivateKey": { +"description": "The private key for the client cert, in pem format. Keep private in order to protect your security.", +"type": "string" +} +}, +"type": "object" +}, +"SslCertsCreateEphemeralRequest": { +"description": "SslCerts create ephemeral certificate request.", +"id": "SslCertsCreateEphemeralRequest", +"properties": { +"access_token": { +"description": "Access token to include in the signed certificate.", +"type": "string" +}, +"public_key": { +"description": "PEM encoded public key to include in the signed certificate.", +"type": "string" +} +}, +"type": "object" +}, +"SslCertsInsertRequest": { +"description": "SslCerts insert request.", +"id": "SslCertsInsertRequest", +"properties": { +"commonName": { +"description": "User supplied name. Must be a distinct name from the other certificates for this instance.", +"type": "string" +} +}, +"type": "object" +}, +"SslCertsInsertResponse": { +"description": "SslCert insert response.", +"id": "SslCertsInsertResponse", +"properties": { +"clientCert": { +"$ref": "SslCertDetail", +"description": "The new client certificate and private key." +}, +"kind": { +"description": "This is always `sql#sslCertsInsert`.", +"type": "string" +}, +"operation": { +"$ref": "Operation", +"description": "The operation to track the ssl certs insert request." +}, +"serverCaCert": { +"$ref": "SslCert", +"description": "The server Certificate Authority's certificate. If this is missing you can force a new one to be generated by calling resetSslConfig method on instances resource." +} +}, +"type": "object" +}, +"SslCertsListResponse": { +"description": "SslCerts list response.", +"id": "SslCertsListResponse", +"properties": { +"items": { +"description": "List of client certificates for the instance.", +"items": { +"$ref": "SslCert" +}, +"type": "array" +}, +"kind": { +"description": "This is always `sql#sslCertsList`.", +"type": "string" +} +}, +"type": "object" +}, +"Status": { +"description": "The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors).", +"id": "Status", +"properties": { +"code": { +"description": "The status code, which should be an enum value of google.rpc.Code.", +"format": "int32", +"type": "integer" +}, +"details": { +"description": "A list of messages that carry the error details. There is a common set of message types for APIs to use.", +"items": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.", +"type": "string" +} +}, +"type": "object" +}, +"SyncFlags": { +"description": "Initial sync flags for certain Cloud SQL APIs. Currently used for the MySQL external server initial dump.", +"id": "SyncFlags", +"properties": { +"name": { +"description": "The name of the flag.", +"type": "string" +}, +"value": { +"description": "The value of the flag. This field must be omitted if the flag doesn't take a value.", +"type": "string" +} +}, +"type": "object" +}, +"TargetMetric": { +"description": "Target metric for read pool auto scaling.", +"id": "TargetMetric", +"properties": { +"metric": { +"description": "The metric name to be used for auto scaling.", +"type": "string" +}, +"targetValue": { +"description": "The target value for the metric.", +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"Tier": { +"description": "A Google Cloud SQL service tier resource.", +"id": "Tier", +"properties": { +"DiskQuota": { +"description": "The maximum disk size of this tier in bytes.", +"format": "int64", +"type": "string" +}, +"RAM": { +"description": "The maximum RAM usage of this tier in bytes.", +"format": "int64", +"type": "string" +}, +"kind": { +"description": "This is always `sql#tier`.", +"type": "string" +}, +"region": { +"description": "The applicable regions for this tier.", +"items": { +"type": "string" +}, +"type": "array" +}, +"tier": { +"description": "An identifier for the machine type, for example, `db-custom-1-3840`. For related information, see [Pricing](/sql/pricing).", +"type": "string" +} +}, +"type": "object" +}, +"TiersListResponse": { +"description": "Tiers list response.", +"id": "TiersListResponse", +"properties": { +"items": { +"description": "List of tiers.", +"items": { +"$ref": "Tier" +}, +"type": "array" +}, +"kind": { +"description": "This is always `sql#tiersList`.", +"type": "string" +} +}, +"type": "object" +}, +"TruncateLogContext": { +"description": "Database Instance truncate log context.", +"id": "TruncateLogContext", +"properties": { +"kind": { +"description": "This is always `sql#truncateLogContext`.", +"type": "string" +}, +"logType": { +"description": "The type of log to truncate. Valid values are `MYSQL_GENERAL_TABLE` and `MYSQL_SLOW_TABLE`.", +"type": "string" +} +}, +"type": "object" +}, +"User": { +"description": "A Cloud SQL user resource.", +"id": "User", +"properties": { +"databaseRoles": { +"description": "Optional. Role memberships of the user", +"items": { +"type": "string" +}, +"type": "array" +}, +"dualPasswordType": { +"description": "Dual password status for the user.", +"enum": [ +"DUAL_PASSWORD_TYPE_UNSPECIFIED", +"NO_MODIFY_DUAL_PASSWORD", +"NO_DUAL_PASSWORD", +"DUAL_PASSWORD" +], +"enumDescriptions": [ +"The default value.", +"Do not update the user's dual password status.", +"No dual password usable for connecting using this user.", +"Dual password usable for connecting using this user." +], +"type": "string" +}, +"etag": { +"description": "This field is deprecated and will be removed from a future version of the API.", +"type": "string" +}, +"host": { +"description": "Optional. The host from which the user can connect. For `insert` operations, host defaults to an empty string. For `update` operations, host is specified as part of the request URL. The host name cannot be updated after insertion. For a MySQL instance, it's required; for a PostgreSQL or SQL Server instance, it's optional.", +"type": "string" +}, +"iamEmail": { +"description": "Optional. The full email for an IAM user. For normal database users, this will not be filled. Only applicable to MySQL database users.", +"type": "string" +}, +"iamStatus": { +"description": "Indicates if a group is active or inactive for IAM database authentication.", +"enum": [ +"IAM_STATUS_UNSPECIFIED", +"INACTIVE", +"ACTIVE" +], +"enumDescriptions": [ +"The default value for users that are not of type CLOUD_IAM_GROUP. Only CLOUD_IAM_GROUP users will be inactive or active. Users with an IamStatus of IAM_STATUS_UNSPECIFIED will not display whether they are active or inactive as that is not applicable to them.", +"INACTIVE indicates a group is not available for IAM database authentication.", +"ACTIVE indicates a group is available for IAM database authentication." +], +"type": "string" +}, +"instance": { +"description": "The name of the Cloud SQL instance. This does not include the project ID. Can be omitted for `update` because it is already specified on the URL.", +"type": "string" +}, +"kind": { +"description": "This is always `sql#user`.", +"type": "string" +}, +"name": { +"description": "The name of the user in the Cloud SQL instance. Can be omitted for `update` because it is already specified in the URL.", +"type": "string" +}, +"password": { +"description": "The password for the user.", +"type": "string" +}, +"passwordPolicy": { +"$ref": "UserPasswordValidationPolicy", +"description": "User level password validation policy." +}, +"project": { +"description": "The project ID of the project containing the Cloud SQL database. The Google apps domain is prefixed if applicable. Can be omitted for `update` because it is already specified on the URL.", +"type": "string" +}, +"sqlserverUserDetails": { +"$ref": "SqlServerUserDetails" +}, +"type": { +"description": "The user type. It determines the method to authenticate the user during login. The default is the database's built-in user type.", +"enum": [ +"BUILT_IN", +"CLOUD_IAM_USER", +"CLOUD_IAM_SERVICE_ACCOUNT", +"CLOUD_IAM_GROUP", +"CLOUD_IAM_GROUP_USER", +"CLOUD_IAM_GROUP_SERVICE_ACCOUNT", +"ENTRAID_USER" +], +"enumDescriptions": [ +"The database's built-in user type.", +"Cloud IAM user.", +"Cloud IAM service account.", +"Cloud IAM group. Not used for login.", +"Read-only. Login for a user that belongs to the Cloud IAM group.", +"Read-only. Login for a service account that belongs to the Cloud IAM group.", +"Microsoft Entra ID user." +], +"type": "string" +} +}, +"type": "object" +}, +"UserPasswordValidationPolicy": { +"description": "User level password validation policy.", +"id": "UserPasswordValidationPolicy", +"properties": { +"allowedFailedAttempts": { +"description": "Number of failed login attempts allowed before user get locked.", +"format": "int32", +"type": "integer" +}, +"enableFailedAttemptsCheck": { +"description": "If true, failed login attempts check will be enabled.", +"type": "boolean" +}, +"enablePasswordVerification": { +"description": "If true, the user must specify the current password before changing the password. This flag is supported only for MySQL.", +"type": "boolean" +}, +"passwordExpirationDuration": { +"description": "Expiration duration after password is updated.", +"format": "google-duration", +"type": "string" +}, +"status": { +"$ref": "PasswordStatus", +"description": "Output only. Read-only password status.", +"readOnly": true +} +}, +"type": "object" +}, +"UsersListResponse": { +"description": "User list response.", +"id": "UsersListResponse", +"properties": { +"items": { +"description": "List of user resources in the instance.", +"items": { +"$ref": "User" +}, +"type": "array" +}, +"kind": { +"description": "This is always `sql#usersList`.", +"type": "string" +}, +"nextPageToken": { +"deprecated": true, +"description": "Unused.", +"type": "string" +} +}, +"type": "object" +}, +"Value": { +"description": "The cell value of the table.", +"id": "Value", +"properties": { +"nullValue": { +"description": "If cell value is null, then this flag will be set to true.", +"type": "boolean" +}, +"value": { +"description": "The cell value in string format.", +"type": "string" +} +}, +"type": "object" +} +}, +"servicePath": "", +"title": "Cloud SQL Admin API", +"version": "v1" +} \ No newline at end of file diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/sqladmin.v1beta4.json b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/sqladmin.v1beta4.json new file mode 100644 index 0000000000000000000000000000000000000000..3c060d92fe9ffa13ee412d0a5db669997e26d5c8 --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/sqladmin.v1beta4.json @@ -0,0 +1,9012 @@ +{ +"auth": { +"oauth2": { +"scopes": { +"https://www.googleapis.com/auth/cloud-platform": { +"description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." +}, +"https://www.googleapis.com/auth/sqlservice.admin": { +"description": "Manage your Google SQL Service instances" +} +} +} +}, +"basePath": "", +"baseUrl": "https://sqladmin.googleapis.com/", +"batchPath": "batch", +"canonicalName": "SQL Admin", +"description": "API for Cloud SQL database instance management", +"discoveryVersion": "v1", +"documentationLink": "https://cloud.google.com/sql/docs", +"fullyEncodeReservedExpansion": true, +"icons": { +"x16": "http://www.google.com/images/icons/product/search-16.gif", +"x32": "http://www.google.com/images/icons/product/search-32.gif" +}, +"id": "sqladmin:v1beta4", +"kind": "discovery#restDescription", +"mtlsRootUrl": "https://sqladmin.mtls.googleapis.com/", +"name": "sqladmin", +"ownerDomain": "google.com", +"ownerName": "Google", +"parameters": { +"$.xgafv": { +"description": "V1 error format.", +"enum": [ +"1", +"2" +], +"enumDescriptions": [ +"v1 error format", +"v2 error format" +], +"location": "query", +"type": "string" +}, +"access_token": { +"description": "OAuth access token.", +"location": "query", +"type": "string" +}, +"alt": { +"default": "json", +"description": "Data format for response.", +"enum": [ +"json", +"media", +"proto" +], +"enumDescriptions": [ +"Responses with Content-Type of application/json", +"Media download with context-dependent Content-Type", +"Responses with Content-Type of application/x-protobuf" +], +"location": "query", +"type": "string" +}, +"callback": { +"description": "JSONP", +"location": "query", +"type": "string" +}, +"fields": { +"description": "Selector specifying which fields to include in a partial response.", +"location": "query", +"type": "string" +}, +"key": { +"description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", +"location": "query", +"type": "string" +}, +"oauth_token": { +"description": "OAuth 2.0 token for the current user.", +"location": "query", +"type": "string" +}, +"prettyPrint": { +"default": "true", +"description": "Returns response with indentations and line breaks.", +"location": "query", +"type": "boolean" +}, +"quotaUser": { +"description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.", +"location": "query", +"type": "string" +}, +"uploadType": { +"description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", +"location": "query", +"type": "string" +}, +"upload_protocol": { +"description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", +"location": "query", +"type": "string" +} +}, +"protocol": "rest", +"resources": { +"backupRuns": { +"methods": { +"delete": { +"description": "Deletes the backup taken by a backup run.", +"flatPath": "sql/v1beta4/projects/{project}/instances/{instance}/backupRuns/{id}", +"httpMethod": "DELETE", +"id": "sql.backupRuns.delete", +"parameterOrder": [ +"project", +"instance", +"id" +], +"parameters": { +"id": { +"description": "The ID of the backup run to delete. To find a backup run ID, use the [list](https://cloud.google.com/sql/docs/mysql/admin-api/rest/v1beta4/backupRuns/list) method.", +"format": "int64", +"location": "path", +"required": true, +"type": "string" +}, +"instance": { +"description": "Cloud SQL instance ID. This does not include the project ID.", +"location": "path", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID of the project that contains the instance.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "sql/v1beta4/projects/{project}/instances/{instance}/backupRuns/{id}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/sqlservice.admin" +] +}, +"get": { +"description": "Retrieves a resource containing information about a backup run.", +"flatPath": "sql/v1beta4/projects/{project}/instances/{instance}/backupRuns/{id}", +"httpMethod": "GET", +"id": "sql.backupRuns.get", +"parameterOrder": [ +"project", +"instance", +"id" +], +"parameters": { +"id": { +"description": "The ID of this backup run.", +"format": "int64", +"location": "path", +"required": true, +"type": "string" +}, +"instance": { +"description": "Cloud SQL instance ID. This does not include the project ID.", +"location": "path", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID of the project that contains the instance.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "sql/v1beta4/projects/{project}/instances/{instance}/backupRuns/{id}", +"response": { +"$ref": "BackupRun" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/sqlservice.admin" +] +}, +"insert": { +"description": "Creates a new backup run on demand.", +"flatPath": "sql/v1beta4/projects/{project}/instances/{instance}/backupRuns", +"httpMethod": "POST", +"id": "sql.backupRuns.insert", +"parameterOrder": [ +"project", +"instance" +], +"parameters": { +"instance": { +"description": "Cloud SQL instance ID. This does not include the project ID.", +"location": "path", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID of the project that contains the instance.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "sql/v1beta4/projects/{project}/instances/{instance}/backupRuns", +"request": { +"$ref": "BackupRun" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/sqlservice.admin" +] +}, +"list": { +"description": "Lists all backup runs associated with the project or a given instance and configuration in the reverse chronological order of the backup initiation time.", +"flatPath": "sql/v1beta4/projects/{project}/instances/{instance}/backupRuns", +"httpMethod": "GET", +"id": "sql.backupRuns.list", +"parameterOrder": [ +"project", +"instance" +], +"parameters": { +"instance": { +"description": "Cloud SQL instance ID, or \"-\" for all instances. This does not include the project ID.", +"location": "path", +"required": true, +"type": "string" +}, +"maxResults": { +"description": "Maximum number of backup runs per response.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A previously-returned page token representing part of the larger set of results to view.", +"location": "query", +"type": "string" +}, +"project": { +"description": "Project ID of the project that contains the instance.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "sql/v1beta4/projects/{project}/instances/{instance}/backupRuns", +"response": { +"$ref": "BackupRunsListResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/sqlservice.admin" +] +} +} +}, +"backups": { +"methods": { +"createBackup": { +"description": "Creates a backup for a Cloud SQL instance. This API can be used only to create on-demand backups.", +"flatPath": "sql/v1beta4/projects/{projectsId}/backups", +"httpMethod": "POST", +"id": "sql.backups.createBackup", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The parent resource where this backup is created. Format: projects/{project}", +"location": "path", +"pattern": "^projects/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "sql/v1beta4/{+parent}/backups", +"request": { +"$ref": "Backup" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/sqlservice.admin" +] +}, +"deleteBackup": { +"description": "Deletes the backup.", +"flatPath": "sql/v1beta4/projects/{projectsId}/backups/{backupsId}", +"httpMethod": "DELETE", +"id": "sql.backups.deleteBackup", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the backup to delete. Format: projects/{project}/backups/{backup}", +"location": "path", +"pattern": "^projects/[^/]+/backups/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "sql/v1beta4/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/sqlservice.admin" +] +}, +"getBackup": { +"description": "Retrieves a resource containing information about a backup.", +"flatPath": "sql/v1beta4/projects/{projectsId}/backups/{backupsId}", +"httpMethod": "GET", +"id": "sql.backups.getBackup", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the backup to retrieve. Format: projects/{project}/backups/{backup}", +"location": "path", +"pattern": "^projects/[^/]+/backups/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "sql/v1beta4/{+name}", +"response": { +"$ref": "Backup" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/sqlservice.admin" +] +}, +"listBackups": { +"description": "Lists all backups associated with the project.", +"flatPath": "sql/v1beta4/projects/{projectsId}/backups", +"httpMethod": "GET", +"id": "sql.backups.listBackups", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Multiple filter queries are separated by spaces. For example, 'instance:abc AND type:FINAL, 'location:us', 'backupInterval.startTime>=1950-01-01T01:01:25.771Z'. You can filter by type, instance, backupInterval.startTime (creation time), or location.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "The maximum number of backups to return per response. The service might return fewer backups than this value. If a value for this parameter isn't specified, then, at most, 500 backups are returned. The maximum value is 2,000. Any values that you set, which are greater than 2,000, are changed to 2,000.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A page token, received from a previous `ListBackups` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListBackups` must match the call that provided the page token.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent that owns this collection of backups. Format: projects/{project}", +"location": "path", +"pattern": "^projects/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "sql/v1beta4/{+parent}/backups", +"response": { +"$ref": "ListBackupsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/sqlservice.admin" +] +}, +"updateBackup": { +"description": "Updates the retention period and the description of the backup. You can use this API to update final backups only.", +"flatPath": "sql/v1beta4/projects/{projectsId}/backups/{backupsId}", +"httpMethod": "PATCH", +"id": "sql.backups.updateBackup", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Output only. The resource name of the backup. Format: projects/{project}/backups/{backup}.", +"location": "path", +"pattern": "^projects/[^/]+/backups/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "The list of fields that you can update. You can update only the description and retention period of the final backup.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "sql/v1beta4/{+name}", +"request": { +"$ref": "Backup" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/sqlservice.admin" +] +} +} +}, +"connect": { +"methods": { +"generateEphemeralCert": { +"description": "Generates a short-lived X509 certificate containing the provided public key and signed by a private key specific to the target instance. Users may use the certificate to authenticate as themselves when connecting to the database.", +"flatPath": "sql/v1beta4/projects/{project}/instances/{instance}:generateEphemeralCert", +"httpMethod": "POST", +"id": "sql.connect.generateEphemeral", +"parameterOrder": [ +"project", +"instance" +], +"parameters": { +"instance": { +"description": "Cloud SQL instance ID. This does not include the project ID.", +"location": "path", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID of the project that contains the instance.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "sql/v1beta4/projects/{project}/instances/{instance}:generateEphemeralCert", +"request": { +"$ref": "GenerateEphemeralCertRequest" +}, +"response": { +"$ref": "GenerateEphemeralCertResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/sqlservice.admin" +] +}, +"get": { +"description": "Retrieves connect settings about a Cloud SQL instance.", +"flatPath": "sql/v1beta4/projects/{project}/instances/{instance}/connectSettings", +"httpMethod": "GET", +"id": "sql.connect.get", +"parameterOrder": [ +"project", +"instance" +], +"parameters": { +"instance": { +"description": "Cloud SQL instance ID. This does not include the project ID.", +"location": "path", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID of the project that contains the instance.", +"location": "path", +"required": true, +"type": "string" +}, +"readTime": { +"description": "Optional. Optional snapshot read timestamp to trade freshness for performance.", +"format": "google-datetime", +"location": "query", +"type": "string" +} +}, +"path": "sql/v1beta4/projects/{project}/instances/{instance}/connectSettings", +"response": { +"$ref": "ConnectSettings" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/sqlservice.admin" +] +} +} +}, +"databases": { +"methods": { +"delete": { +"description": "Deletes a database from a Cloud SQL instance.", +"flatPath": "sql/v1beta4/projects/{project}/instances/{instance}/databases/{database}", +"httpMethod": "DELETE", +"id": "sql.databases.delete", +"parameterOrder": [ +"project", +"instance", +"database" +], +"parameters": { +"database": { +"description": "Name of the database to be deleted in the instance.", +"location": "path", +"required": true, +"type": "string" +}, +"instance": { +"description": "Database instance ID. This does not include the project ID.", +"location": "path", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID of the project that contains the instance.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "sql/v1beta4/projects/{project}/instances/{instance}/databases/{database}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/sqlservice.admin" +] +}, +"get": { +"description": "Retrieves a resource containing information about a database inside a Cloud SQL instance.", +"flatPath": "sql/v1beta4/projects/{project}/instances/{instance}/databases/{database}", +"httpMethod": "GET", +"id": "sql.databases.get", +"parameterOrder": [ +"project", +"instance", +"database" +], +"parameters": { +"database": { +"description": "Name of the database in the instance.", +"location": "path", +"required": true, +"type": "string" +}, +"instance": { +"description": "Database instance ID. This does not include the project ID.", +"location": "path", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID of the project that contains the instance.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "sql/v1beta4/projects/{project}/instances/{instance}/databases/{database}", +"response": { +"$ref": "Database" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/sqlservice.admin" +] +}, +"insert": { +"description": "Inserts a resource containing information about a database inside a Cloud SQL instance. **Note:** You can't modify the default character set and collation.", +"flatPath": "sql/v1beta4/projects/{project}/instances/{instance}/databases", +"httpMethod": "POST", +"id": "sql.databases.insert", +"parameterOrder": [ +"project", +"instance" +], +"parameters": { +"instance": { +"description": "Database instance ID. This does not include the project ID.", +"location": "path", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID of the project that contains the instance.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "sql/v1beta4/projects/{project}/instances/{instance}/databases", +"request": { +"$ref": "Database" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/sqlservice.admin" +] +}, +"list": { +"description": "Lists databases in the specified Cloud SQL instance.", +"flatPath": "sql/v1beta4/projects/{project}/instances/{instance}/databases", +"httpMethod": "GET", +"id": "sql.databases.list", +"parameterOrder": [ +"project", +"instance" +], +"parameters": { +"instance": { +"description": "Cloud SQL instance ID. This does not include the project ID.", +"location": "path", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID of the project that contains the instance.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "sql/v1beta4/projects/{project}/instances/{instance}/databases", +"response": { +"$ref": "DatabasesListResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/sqlservice.admin" +] +}, +"patch": { +"description": "Partially updates a resource containing information about a database inside a Cloud SQL instance. This method supports patch semantics.", +"flatPath": "sql/v1beta4/projects/{project}/instances/{instance}/databases/{database}", +"httpMethod": "PATCH", +"id": "sql.databases.patch", +"parameterOrder": [ +"project", +"instance", +"database" +], +"parameters": { +"database": { +"description": "Name of the database to be updated in the instance.", +"location": "path", +"required": true, +"type": "string" +}, +"instance": { +"description": "Database instance ID. This does not include the project ID.", +"location": "path", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID of the project that contains the instance.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "sql/v1beta4/projects/{project}/instances/{instance}/databases/{database}", +"request": { +"$ref": "Database" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/sqlservice.admin" +] +}, +"update": { +"description": "Updates a resource containing information about a database inside a Cloud SQL instance.", +"flatPath": "sql/v1beta4/projects/{project}/instances/{instance}/databases/{database}", +"httpMethod": "PUT", +"id": "sql.databases.update", +"parameterOrder": [ +"project", +"instance", +"database" +], +"parameters": { +"database": { +"description": "Name of the database to be updated in the instance.", +"location": "path", +"required": true, +"type": "string" +}, +"instance": { +"description": "Database instance ID. This does not include the project ID.", +"location": "path", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID of the project that contains the instance.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "sql/v1beta4/projects/{project}/instances/{instance}/databases/{database}", +"request": { +"$ref": "Database" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/sqlservice.admin" +] +} +} +}, +"flags": { +"methods": { +"list": { +"description": "Lists all available database flags for Cloud SQL instances.", +"flatPath": "sql/v1beta4/flags", +"httpMethod": "GET", +"id": "sql.flags.list", +"parameterOrder": [], +"parameters": { +"databaseVersion": { +"description": "Database type and version you want to retrieve flags for. By default, this method returns flags for all database types and versions.", +"location": "query", +"type": "string" +}, +"flagScope": { +"description": "Optional. Specify the scope of flags to be returned by SqlFlagsListService. Return list of database flags if unspecified.", +"enum": [ +"SQL_FLAG_SCOPE_UNSPECIFIED", +"SQL_FLAG_SCOPE_DATABASE", +"SQL_FLAG_SCOPE_CONNECTION_POOL" +], +"enumDescriptions": [ +"Assume database flags if unspecified", +"database flags", +"connection pool configuration flags" +], +"location": "query", +"type": "string" +} +}, +"path": "sql/v1beta4/flags", +"response": { +"$ref": "FlagsListResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/sqlservice.admin" +] +} +} +}, +"instances": { +"methods": { +"ListEntraIdCertificates": { +"description": "Lists all versions of EntraID certificates for the specified instance. There can be up to three sets of certificates listed: the certificate that is currently in use, a future that has been added but not yet used to sign a certificate, and a certificate that has been rotated out.", +"flatPath": "sql/v1beta4/projects/{project}/instances/{instance}/listEntraIdCertificates", +"httpMethod": "GET", +"id": "sql.instances.ListEntraIdCertificates", +"parameterOrder": [ +"project", +"instance" +], +"parameters": { +"instance": { +"description": "Required. Cloud SQL instance ID. This does not include the project ID.", +"location": "path", +"required": true, +"type": "string" +}, +"project": { +"description": "Required. Project ID of the project that contains the instance.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "sql/v1beta4/projects/{project}/instances/{instance}/listEntraIdCertificates", +"response": { +"$ref": "InstancesListEntraIdCertificatesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/sqlservice.admin" +] +}, +"ListServerCertificates": { +"description": "Lists all versions of server certificates and certificate authorities (CAs) for the specified instance. There can be up to three sets of certs listed: the certificate that is currently in use, a future that has been added but not yet used to sign a certificate, and a certificate that has been rotated out. For instances not using Certificate Authority Service (CAS) server CA, use ListServerCas instead.", +"flatPath": "sql/v1beta4/projects/{project}/instances/{instance}/listServerCertificates", +"httpMethod": "GET", +"id": "sql.instances.ListServerCertificates", +"parameterOrder": [ +"project", +"instance" +], +"parameters": { +"instance": { +"description": "Required. Cloud SQL instance ID. This does not include the project ID.", +"location": "path", +"required": true, +"type": "string" +}, +"project": { +"description": "Required. Project ID of the project that contains the instance.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "sql/v1beta4/projects/{project}/instances/{instance}/listServerCertificates", +"response": { +"$ref": "InstancesListServerCertificatesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/sqlservice.admin" +] +}, +"RotateEntraIdCertificate": { +"description": "Rotates the Entra Id certificate version to one previously added with the addEntraIdCertificate method.", +"flatPath": "sql/v1beta4/projects/{project}/instances/{instance}/rotateEntraIdCertificate", +"httpMethod": "POST", +"id": "sql.instances.RotateEntraIdCertificate", +"parameterOrder": [ +"project", +"instance" +], +"parameters": { +"instance": { +"description": "Required. Cloud SQL instance ID. This does not include the project ID.", +"location": "path", +"required": true, +"type": "string" +}, +"project": { +"description": "Required. Project ID of the project that contains the instance.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "sql/v1beta4/projects/{project}/instances/{instance}/rotateEntraIdCertificate", +"request": { +"$ref": "InstancesRotateEntraIdCertificateRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/sqlservice.admin" +] +}, +"RotateServerCertificate": { +"description": "Rotates the server certificate version to one previously added with the addServerCertificate method. For instances not using Certificate Authority Service (CAS) server CA, use RotateServerCa instead.", +"flatPath": "sql/v1beta4/projects/{project}/instances/{instance}/rotateServerCertificate", +"httpMethod": "POST", +"id": "sql.instances.RotateServerCertificate", +"parameterOrder": [ +"project", +"instance" +], +"parameters": { +"instance": { +"description": "Required. Cloud SQL instance ID. This does not include the project ID.", +"location": "path", +"required": true, +"type": "string" +}, +"project": { +"description": "Required. Project ID of the project that contains the instance.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "sql/v1beta4/projects/{project}/instances/{instance}/rotateServerCertificate", +"request": { +"$ref": "InstancesRotateServerCertificateRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/sqlservice.admin" +] +}, +"acquireSsrsLease": { +"description": "Acquire a lease for the setup of SQL Server Reporting Services (SSRS).", +"flatPath": "sql/v1beta4/projects/{project}/instances/{instance}/acquireSsrsLease", +"httpMethod": "POST", +"id": "sql.instances.acquireSsrsLease", +"parameterOrder": [ +"project", +"instance" +], +"parameters": { +"instance": { +"description": "Required. Cloud SQL instance ID. This doesn't include the project ID. It's composed of lowercase letters, numbers, and hyphens, and it must start with a letter. The total length must be 98 characters or less (Example: instance-id).", +"location": "path", +"required": true, +"type": "string" +}, +"project": { +"description": "Required. ID of the project that contains the instance (Example: project-id).", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "sql/v1beta4/projects/{project}/instances/{instance}/acquireSsrsLease", +"request": { +"$ref": "InstancesAcquireSsrsLeaseRequest" +}, +"response": { +"$ref": "SqlInstancesAcquireSsrsLeaseResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/sqlservice.admin" +] +}, +"addEntraIdCertificate": { +"description": "Adds a new Entra ID certificate for the specified instance. If an Entra ID certificate was previously added but never used in a certificate rotation, this operation replaces that version.", +"flatPath": "sql/v1beta4/projects/{project}/instances/{instance}/addEntraIdCertificate", +"httpMethod": "POST", +"id": "sql.instances.addEntraIdCertificate", +"parameterOrder": [ +"project", +"instance" +], +"parameters": { +"instance": { +"description": "Required. Cloud SQL instance ID. This does not include the project ID.", +"location": "path", +"required": true, +"type": "string" +}, +"project": { +"description": "Required. Project ID of the project that contains the instance.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "sql/v1beta4/projects/{project}/instances/{instance}/addEntraIdCertificate", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/sqlservice.admin" +] +}, +"addServerCa": { +"description": "Add a new trusted Certificate Authority (CA) version for the specified instance. Required to prepare for a certificate rotation. If a CA version was previously added but never used in a certificate rotation, this operation replaces that version. There cannot be more than one CA version waiting to be rotated in. For instances that have enabled Certificate Authority Service (CAS) based server CA, use AddServerCertificate to add a new server certificate.", +"flatPath": "sql/v1beta4/projects/{project}/instances/{instance}/addServerCa", +"httpMethod": "POST", +"id": "sql.instances.addServerCa", +"parameterOrder": [ +"project", +"instance" +], +"parameters": { +"instance": { +"description": "Cloud SQL instance ID. This does not include the project ID.", +"location": "path", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID of the project that contains the instance.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "sql/v1beta4/projects/{project}/instances/{instance}/addServerCa", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/sqlservice.admin" +] +}, +"addServerCertificate": { +"description": "Add a new trusted server certificate version for the specified instance using Certificate Authority Service (CAS) server CA. Required to prepare for a certificate rotation. If a server certificate version was previously added but never used in a certificate rotation, this operation replaces that version. There cannot be more than one certificate version waiting to be rotated in. For instances not using CAS server CA, use AddServerCa instead.", +"flatPath": "sql/v1beta4/projects/{project}/instances/{instance}/addServerCertificate", +"httpMethod": "POST", +"id": "sql.instances.addServerCertificate", +"parameterOrder": [ +"project", +"instance" +], +"parameters": { +"instance": { +"description": "Required. Cloud SQL instance ID. This does not include the project ID.", +"location": "path", +"required": true, +"type": "string" +}, +"project": { +"description": "Required. Project ID of the project that contains the instance.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "sql/v1beta4/projects/{project}/instances/{instance}/addServerCertificate", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/sqlservice.admin" +] +}, +"clone": { +"description": "Creates a Cloud SQL instance as a clone of the source instance. Using this operation might cause your instance to restart.", +"flatPath": "sql/v1beta4/projects/{project}/instances/{instance}/clone", +"httpMethod": "POST", +"id": "sql.instances.clone", +"parameterOrder": [ +"project", +"instance" +], +"parameters": { +"instance": { +"description": "The ID of the Cloud SQL instance to be cloned (source). This does not include the project ID.", +"location": "path", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID of the source as well as the clone Cloud SQL instance.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "sql/v1beta4/projects/{project}/instances/{instance}/clone", +"request": { +"$ref": "InstancesCloneRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/sqlservice.admin" +] +}, +"delete": { +"description": "Deletes a Cloud SQL instance.", +"flatPath": "sql/v1beta4/projects/{project}/instances/{instance}", +"httpMethod": "DELETE", +"id": "sql.instances.delete", +"parameterOrder": [ +"project", +"instance" +], +"parameters": { +"enableFinalBackup": { +"description": "Flag to opt-in for final backup. By default, it is turned off.", +"location": "query", +"type": "boolean" +}, +"finalBackupDescription": { +"description": "Optional. The description of the final backup.", +"location": "query", +"type": "string" +}, +"finalBackupExpiryTime": { +"description": "Optional. Final Backup expiration time. Timestamp in UTC of when this resource is considered expired.", +"format": "google-datetime", +"location": "query", +"type": "string" +}, +"finalBackupTtlDays": { +"description": "Optional. Retention period of the final backup.", +"format": "int64", +"location": "query", +"type": "string" +}, +"instance": { +"description": "Cloud SQL instance ID. This does not include the project ID.", +"location": "path", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID of the project that contains the instance to be deleted.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "sql/v1beta4/projects/{project}/instances/{instance}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/sqlservice.admin" +] +}, +"demote": { +"description": "Demotes an existing standalone instance to be a Cloud SQL read replica for an external database server.", +"flatPath": "sql/v1beta4/projects/{project}/instances/{instance}/demote", +"httpMethod": "POST", +"id": "sql.instances.demote", +"parameterOrder": [ +"project", +"instance" +], +"parameters": { +"instance": { +"description": "Required. The name of the Cloud SQL instance.", +"location": "path", +"required": true, +"type": "string" +}, +"project": { +"description": "Required. The project ID of the project that contains the instance.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "sql/v1beta4/projects/{project}/instances/{instance}/demote", +"request": { +"$ref": "InstancesDemoteRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/sqlservice.admin" +] +}, +"demoteMaster": { +"description": "Demotes the stand-alone instance to be a Cloud SQL read replica for an external database server.", +"flatPath": "sql/v1beta4/projects/{project}/instances/{instance}/demoteMaster", +"httpMethod": "POST", +"id": "sql.instances.demoteMaster", +"parameterOrder": [ +"project", +"instance" +], +"parameters": { +"instance": { +"description": "Cloud SQL instance name.", +"location": "path", +"required": true, +"type": "string" +}, +"project": { +"description": "ID of the project that contains the instance.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "sql/v1beta4/projects/{project}/instances/{instance}/demoteMaster", +"request": { +"$ref": "InstancesDemoteMasterRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/sqlservice.admin" +] +}, +"executeSql": { +"description": "Execute SQL statements.", +"flatPath": "sql/v1beta4/projects/{project}/instances/{instance}/executeSql", +"httpMethod": "POST", +"id": "sql.instances.executeSql", +"parameterOrder": [ +"project", +"instance" +], +"parameters": { +"instance": { +"description": "Required. Database instance ID. This does not include the project ID.", +"location": "path", +"required": true, +"type": "string" +}, +"project": { +"description": "Required. Project ID of the project that contains the instance.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "sql/v1beta4/projects/{project}/instances/{instance}/executeSql", +"request": { +"$ref": "ExecuteSqlPayload" +}, +"response": { +"$ref": "SqlInstancesExecuteSqlResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/sqlservice.admin" +] +}, +"export": { +"description": "Exports data from a Cloud SQL instance to a Cloud Storage bucket as a SQL dump or CSV file.", +"flatPath": "sql/v1beta4/projects/{project}/instances/{instance}/export", +"httpMethod": "POST", +"id": "sql.instances.export", +"parameterOrder": [ +"project", +"instance" +], +"parameters": { +"instance": { +"description": "The Cloud SQL instance ID. This doesn't include the project ID.", +"location": "path", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID of the project that contains the instance to be exported.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "sql/v1beta4/projects/{project}/instances/{instance}/export", +"request": { +"$ref": "InstancesExportRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"failover": { +"description": "Initiates a manual failover of a high availability (HA) primary instance to a standby instance, which becomes the primary instance. Users are then rerouted to the new primary. For more information, see the [Overview of high availability](https://cloud.google.com/sql/docs/mysql/high-availability) page in the Cloud SQL documentation. If using Legacy HA (MySQL only), this causes the instance to failover to its failover replica instance.", +"flatPath": "sql/v1beta4/projects/{project}/instances/{instance}/failover", +"httpMethod": "POST", +"id": "sql.instances.failover", +"parameterOrder": [ +"project", +"instance" +], +"parameters": { +"instance": { +"description": "Cloud SQL instance ID. This does not include the project ID.", +"location": "path", +"required": true, +"type": "string" +}, +"project": { +"description": "ID of the project that contains the read replica.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "sql/v1beta4/projects/{project}/instances/{instance}/failover", +"request": { +"$ref": "InstancesFailoverRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/sqlservice.admin" +] +}, +"get": { +"description": "Retrieves a resource containing information about a Cloud SQL instance.", +"flatPath": "sql/v1beta4/projects/{project}/instances/{instance}", +"httpMethod": "GET", +"id": "sql.instances.get", +"parameterOrder": [ +"project", +"instance" +], +"parameters": { +"instance": { +"description": "Database instance ID. This does not include the project ID.", +"location": "path", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID of the project that contains the instance.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "sql/v1beta4/projects/{project}/instances/{instance}", +"response": { +"$ref": "DatabaseInstance" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/sqlservice.admin" +] +}, +"import": { +"description": "Imports data into a Cloud SQL instance from a SQL dump or CSV file in Cloud Storage.", +"flatPath": "sql/v1beta4/projects/{project}/instances/{instance}/import", +"httpMethod": "POST", +"id": "sql.instances.import", +"parameterOrder": [ +"project", +"instance" +], +"parameters": { +"instance": { +"description": "Cloud SQL instance ID. This does not include the project ID.", +"location": "path", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID of the project that contains the instance.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "sql/v1beta4/projects/{project}/instances/{instance}/import", +"request": { +"$ref": "InstancesImportRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"insert": { +"description": "Creates a new Cloud SQL instance.", +"flatPath": "sql/v1beta4/projects/{project}/instances", +"httpMethod": "POST", +"id": "sql.instances.insert", +"parameterOrder": [ +"project" +], +"parameters": { +"project": { +"description": "Project ID of the project to which the newly created Cloud SQL instances should belong.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "sql/v1beta4/projects/{project}/instances", +"request": { +"$ref": "DatabaseInstance" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/sqlservice.admin" +] +}, +"list": { +"description": "Lists instances under a given project.", +"flatPath": "sql/v1beta4/projects/{project}/instances", +"httpMethod": "GET", +"id": "sql.instances.list", +"parameterOrder": [ +"project" +], +"parameters": { +"filter": { +"description": "A filter expression that filters resources listed in the response. The expression is in the form of field:value. For example, 'instanceType:CLOUD_SQL_INSTANCE'. Fields can be nested as needed as per their JSON representation, such as 'settings.userLabels.auto_start:true'. Multiple filter queries are space-separated. For example. 'state:RUNNABLE instanceType:CLOUD_SQL_INSTANCE'. By default, each expression is an AND expression. However, you can include AND and OR expressions explicitly.", +"location": "query", +"type": "string" +}, +"maxResults": { +"description": "The maximum number of instances to return. The service may return fewer than this value. If unspecified, at most 500 instances are returned. The maximum value is 1000; values above 1000 are coerced to 1000.", +"format": "uint32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A previously-returned page token representing part of the larger set of results to view.", +"location": "query", +"type": "string" +}, +"project": { +"description": "Project ID of the project for which to list Cloud SQL instances.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "sql/v1beta4/projects/{project}/instances", +"response": { +"$ref": "InstancesListResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/sqlservice.admin" +] +}, +"listServerCas": { +"description": "Lists all of the trusted Certificate Authorities (CAs) for the specified instance. There can be up to three CAs listed: the CA that was used to sign the certificate that is currently in use, a CA that has been added but not yet used to sign a certificate, and a CA used to sign a certificate that has previously rotated out.", +"flatPath": "sql/v1beta4/projects/{project}/instances/{instance}/listServerCas", +"httpMethod": "GET", +"id": "sql.instances.listServerCas", +"parameterOrder": [ +"project", +"instance" +], +"parameters": { +"instance": { +"description": "Cloud SQL instance ID. This does not include the project ID.", +"location": "path", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID of the project that contains the instance.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "sql/v1beta4/projects/{project}/instances/{instance}/listServerCas", +"response": { +"$ref": "InstancesListServerCasResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/sqlservice.admin" +] +}, +"patch": { +"description": "Partially updates settings of a Cloud SQL instance by merging the request with the current configuration. This method supports patch semantics.", +"flatPath": "sql/v1beta4/projects/{project}/instances/{instance}", +"httpMethod": "PATCH", +"id": "sql.instances.patch", +"parameterOrder": [ +"project", +"instance" +], +"parameters": { +"instance": { +"description": "Cloud SQL instance ID. This does not include the project ID.", +"location": "path", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID of the project that contains the instance.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "sql/v1beta4/projects/{project}/instances/{instance}", +"request": { +"$ref": "DatabaseInstance" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/sqlservice.admin" +] +}, +"pointInTimeRestore": { +"description": "Point in time restore for an instance managed by Google Cloud Backup and Disaster Recovery.", +"flatPath": "sql/v1beta4/projects/{projectsId}:pointInTimeRestore", +"httpMethod": "POST", +"id": "sql.instances.pointInTimeRestore", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The parent resource where you created this instance. Format: projects/{project}", +"location": "path", +"pattern": "^projects/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "sql/v1beta4/{+parent}:pointInTimeRestore", +"request": { +"$ref": "PointInTimeRestoreContext" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/sqlservice.admin" +] +}, +"preCheckMajorVersionUpgrade": { +"description": "Execute MVU Pre-checks", +"flatPath": "sql/v1beta4/projects/{project}/instances/{instance}/preCheckMajorVersionUpgrade", +"httpMethod": "POST", +"id": "sql.instances.preCheckMajorVersionUpgrade", +"parameterOrder": [ +"project", +"instance" +], +"parameters": { +"instance": { +"description": "Required. Cloud SQL instance ID. This does not include the project ID.", +"location": "path", +"required": true, +"type": "string" +}, +"project": { +"description": "Required. Project ID of the project that contains the instance.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "sql/v1beta4/projects/{project}/instances/{instance}/preCheckMajorVersionUpgrade", +"request": { +"$ref": "InstancesPreCheckMajorVersionUpgradeRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/sqlservice.admin" +] +}, +"promoteReplica": { +"description": "Promotes the read replica instance to be an independent Cloud SQL primary instance. Using this operation might cause your instance to restart.", +"flatPath": "sql/v1beta4/projects/{project}/instances/{instance}/promoteReplica", +"httpMethod": "POST", +"id": "sql.instances.promoteReplica", +"parameterOrder": [ +"project", +"instance" +], +"parameters": { +"failover": { +"description": "Set to true to invoke a replica failover to the DR replica. As part of replica failover, the promote operation attempts to add the original primary instance as a replica of the promoted DR replica when the original primary instance comes back online. If set to false or not specified, then the original primary instance becomes an independent Cloud SQL primary instance.", +"location": "query", +"type": "boolean" +}, +"instance": { +"description": "Cloud SQL read replica instance name.", +"location": "path", +"required": true, +"type": "string" +}, +"project": { +"description": "ID of the project that contains the read replica.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "sql/v1beta4/projects/{project}/instances/{instance}/promoteReplica", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/sqlservice.admin" +] +}, +"reencrypt": { +"description": "Reencrypt CMEK instance with latest key version.", +"flatPath": "sql/v1beta4/projects/{project}/instances/{instance}/reencrypt", +"httpMethod": "POST", +"id": "sql.instances.reencrypt", +"parameterOrder": [ +"project", +"instance" +], +"parameters": { +"instance": { +"description": "Cloud SQL instance ID. This does not include the project ID.", +"location": "path", +"required": true, +"type": "string" +}, +"project": { +"description": "ID of the project that contains the instance.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "sql/v1beta4/projects/{project}/instances/{instance}/reencrypt", +"request": { +"$ref": "InstancesReencryptRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/sqlservice.admin" +] +}, +"releaseSsrsLease": { +"description": "Release a lease for the setup of SQL Server Reporting Services (SSRS).", +"flatPath": "sql/v1beta4/projects/{project}/instances/{instance}/releaseSsrsLease", +"httpMethod": "POST", +"id": "sql.instances.releaseSsrsLease", +"parameterOrder": [ +"project", +"instance" +], +"parameters": { +"instance": { +"description": "Required. The Cloud SQL instance ID. This doesn't include the project ID. It's composed of lowercase letters, numbers, and hyphens, and it must start with a letter. The total length must be 98 characters or less (Example: instance-id).", +"location": "path", +"required": true, +"type": "string" +}, +"project": { +"description": "Required. The ID of the project that contains the instance (Example: project-id).", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "sql/v1beta4/projects/{project}/instances/{instance}/releaseSsrsLease", +"response": { +"$ref": "SqlInstancesReleaseSsrsLeaseResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/sqlservice.admin" +] +}, +"resetSslConfig": { +"description": "Deletes all client certificates and generates a new server SSL certificate for the instance.", +"flatPath": "sql/v1beta4/projects/{project}/instances/{instance}/resetSslConfig", +"httpMethod": "POST", +"id": "sql.instances.resetSslConfig", +"parameterOrder": [ +"project", +"instance" +], +"parameters": { +"instance": { +"description": "Cloud SQL instance ID. This does not include the project ID.", +"location": "path", +"required": true, +"type": "string" +}, +"mode": { +"description": "Optional. Reset SSL mode to use.", +"enum": [ +"RESET_SSL_MODE_UNSPECIFIED", +"ALL", +"SYNC_FROM_PRIMARY" +], +"enumDescriptions": [ +"Reset SSL mode is not specified.", +"Refresh all TLS configs. This is the default behaviour.", +"Refreshes the replication-related TLS configuration settings provided by the primary instance. Not applicable to on-premises replication instances." +], +"location": "query", +"type": "string" +}, +"project": { +"description": "Project ID of the project that contains the instance.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "sql/v1beta4/projects/{project}/instances/{instance}/resetSslConfig", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/sqlservice.admin" +] +}, +"restart": { +"description": "Restarts a Cloud SQL instance.", +"flatPath": "sql/v1beta4/projects/{project}/instances/{instance}/restart", +"httpMethod": "POST", +"id": "sql.instances.restart", +"parameterOrder": [ +"project", +"instance" +], +"parameters": { +"instance": { +"description": "Cloud SQL instance ID. This does not include the project ID.", +"location": "path", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID of the project that contains the instance to be restarted.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "sql/v1beta4/projects/{project}/instances/{instance}/restart", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/sqlservice.admin" +] +}, +"restoreBackup": { +"description": "Restores a backup of a Cloud SQL instance. Using this operation might cause your instance to restart.", +"flatPath": "sql/v1beta4/projects/{project}/instances/{instance}/restoreBackup", +"httpMethod": "POST", +"id": "sql.instances.restoreBackup", +"parameterOrder": [ +"project", +"instance" +], +"parameters": { +"instance": { +"description": "Cloud SQL instance ID. This does not include the project ID.", +"location": "path", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID of the project that contains the instance.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "sql/v1beta4/projects/{project}/instances/{instance}/restoreBackup", +"request": { +"$ref": "InstancesRestoreBackupRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/sqlservice.admin" +] +}, +"rotateServerCa": { +"description": "Rotates the server certificate to one signed by the Certificate Authority (CA) version previously added with the addServerCA method. For instances that have enabled Certificate Authority Service (CAS) based server CA, use RotateServerCertificate to rotate the server certificate.", +"flatPath": "sql/v1beta4/projects/{project}/instances/{instance}/rotateServerCa", +"httpMethod": "POST", +"id": "sql.instances.rotateServerCa", +"parameterOrder": [ +"project", +"instance" +], +"parameters": { +"instance": { +"description": "Cloud SQL instance ID. This does not include the project ID.", +"location": "path", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID of the project that contains the instance.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "sql/v1beta4/projects/{project}/instances/{instance}/rotateServerCa", +"request": { +"$ref": "InstancesRotateServerCaRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/sqlservice.admin" +] +}, +"startReplica": { +"description": "Starts the replication in the read replica instance.", +"flatPath": "sql/v1beta4/projects/{project}/instances/{instance}/startReplica", +"httpMethod": "POST", +"id": "sql.instances.startReplica", +"parameterOrder": [ +"project", +"instance" +], +"parameters": { +"instance": { +"description": "Cloud SQL read replica instance name.", +"location": "path", +"required": true, +"type": "string" +}, +"project": { +"description": "ID of the project that contains the read replica.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "sql/v1beta4/projects/{project}/instances/{instance}/startReplica", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/sqlservice.admin" +] +}, +"stopReplica": { +"description": "Stops the replication in the read replica instance.", +"flatPath": "sql/v1beta4/projects/{project}/instances/{instance}/stopReplica", +"httpMethod": "POST", +"id": "sql.instances.stopReplica", +"parameterOrder": [ +"project", +"instance" +], +"parameters": { +"instance": { +"description": "Cloud SQL read replica instance name.", +"location": "path", +"required": true, +"type": "string" +}, +"project": { +"description": "ID of the project that contains the read replica.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "sql/v1beta4/projects/{project}/instances/{instance}/stopReplica", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/sqlservice.admin" +] +}, +"switchover": { +"description": "Switches over from the primary instance to the DR replica instance.", +"flatPath": "sql/v1beta4/projects/{project}/instances/{instance}/switchover", +"httpMethod": "POST", +"id": "sql.instances.switchover", +"parameterOrder": [ +"project", +"instance" +], +"parameters": { +"dbTimeout": { +"description": "Optional. (MySQL and PostgreSQL only) Cloud SQL instance operations timeout, which is a sum of all database operations. Default value is 10 minutes and can be modified to a maximum value of 24 hours.", +"format": "google-duration", +"location": "query", +"type": "string" +}, +"instance": { +"description": "Cloud SQL read replica instance name.", +"location": "path", +"required": true, +"type": "string" +}, +"project": { +"description": "ID of the project that contains the replica.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "sql/v1beta4/projects/{project}/instances/{instance}/switchover", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/sqlservice.admin" +] +}, +"truncateLog": { +"description": "Truncate MySQL general and slow query log tables MySQL only.", +"flatPath": "sql/v1beta4/projects/{project}/instances/{instance}/truncateLog", +"httpMethod": "POST", +"id": "sql.instances.truncateLog", +"parameterOrder": [ +"project", +"instance" +], +"parameters": { +"instance": { +"description": "Cloud SQL instance ID. This does not include the project ID.", +"location": "path", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID of the Cloud SQL project.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "sql/v1beta4/projects/{project}/instances/{instance}/truncateLog", +"request": { +"$ref": "InstancesTruncateLogRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/sqlservice.admin" +] +}, +"update": { +"description": "Updates settings of a Cloud SQL instance. Using this operation might cause your instance to restart.", +"flatPath": "sql/v1beta4/projects/{project}/instances/{instance}", +"httpMethod": "PUT", +"id": "sql.instances.update", +"parameterOrder": [ +"project", +"instance" +], +"parameters": { +"instance": { +"description": "Cloud SQL instance ID. This does not include the project ID.", +"location": "path", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID of the project that contains the instance.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "sql/v1beta4/projects/{project}/instances/{instance}", +"request": { +"$ref": "DatabaseInstance" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/sqlservice.admin" +] +} +} +}, +"operations": { +"methods": { +"cancel": { +"description": "Cancels an instance operation that has been performed on an instance. Ordinarily, this method name should be `CancelSqlOperation`.", +"flatPath": "sql/v1beta4/projects/{project}/operations/{operation}/cancel", +"httpMethod": "POST", +"id": "sql.operations.cancel", +"parameterOrder": [ +"project", +"operation" +], +"parameters": { +"operation": { +"description": "Instance operation ID.", +"location": "path", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID of the project that contains the instance.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "sql/v1beta4/projects/{project}/operations/{operation}/cancel", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/sqlservice.admin" +] +}, +"get": { +"description": "Retrieves an instance operation that has been performed on an instance.", +"flatPath": "sql/v1beta4/projects/{project}/operations/{operation}", +"httpMethod": "GET", +"id": "sql.operations.get", +"parameterOrder": [ +"project", +"operation" +], +"parameters": { +"operation": { +"description": "Instance operation ID.", +"location": "path", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID of the project that contains the instance.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "sql/v1beta4/projects/{project}/operations/{operation}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/sqlservice.admin" +] +}, +"list": { +"description": "Lists all instance operations that have been performed on the given Cloud SQL instance in the reverse chronological order of the start time.", +"flatPath": "sql/v1beta4/projects/{project}/operations", +"httpMethod": "GET", +"id": "sql.operations.list", +"parameterOrder": [ +"project" +], +"parameters": { +"instance": { +"description": "Cloud SQL instance ID. This does not include the project ID.", +"location": "query", +"type": "string" +}, +"maxResults": { +"description": "Maximum number of operations per response.", +"format": "uint32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A previously-returned page token representing part of the larger set of results to view.", +"location": "query", +"type": "string" +}, +"project": { +"description": "Project ID of the project that contains the instance.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "sql/v1beta4/projects/{project}/operations", +"response": { +"$ref": "OperationsListResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/sqlservice.admin" +] +} +} +}, +"projects": { +"resources": { +"instances": { +"methods": { +"getDiskShrinkConfig": { +"description": "Get Disk Shrink Config for a given instance.", +"flatPath": "sql/v1beta4/projects/{project}/instances/{instance}/getDiskShrinkConfig", +"httpMethod": "GET", +"id": "sql.projects.instances.getDiskShrinkConfig", +"parameterOrder": [ +"project", +"instance" +], +"parameters": { +"instance": { +"description": "Cloud SQL instance ID. This does not include the project ID.", +"location": "path", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID of the project that contains the instance.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "sql/v1beta4/projects/{project}/instances/{instance}/getDiskShrinkConfig", +"response": { +"$ref": "SqlInstancesGetDiskShrinkConfigResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/sqlservice.admin" +] +}, +"getLatestRecoveryTime": { +"description": "Get Latest Recovery Time for a given instance.", +"flatPath": "sql/v1beta4/projects/{project}/instances/{instance}/getLatestRecoveryTime", +"httpMethod": "GET", +"id": "sql.projects.instances.getLatestRecoveryTime", +"parameterOrder": [ +"project", +"instance" +], +"parameters": { +"instance": { +"description": "Cloud SQL instance ID. This does not include the project ID.", +"location": "path", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID of the project that contains the instance.", +"location": "path", +"required": true, +"type": "string" +}, +"sourceInstanceDeletionTime": { +"description": "The timestamp used to identify the time when the source instance is deleted. If this instance is deleted, then you must set the timestamp.", +"format": "google-datetime", +"location": "query", +"type": "string" +} +}, +"path": "sql/v1beta4/projects/{project}/instances/{instance}/getLatestRecoveryTime", +"response": { +"$ref": "SqlInstancesGetLatestRecoveryTimeResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/sqlservice.admin" +] +}, +"performDiskShrink": { +"description": "Perform Disk Shrink on primary instance.", +"flatPath": "sql/v1beta4/projects/{project}/instances/{instance}/performDiskShrink", +"httpMethod": "POST", +"id": "sql.projects.instances.performDiskShrink", +"parameterOrder": [ +"project", +"instance" +], +"parameters": { +"instance": { +"description": "Cloud SQL instance ID. This does not include the project ID.", +"location": "path", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID of the project that contains the instance.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "sql/v1beta4/projects/{project}/instances/{instance}/performDiskShrink", +"request": { +"$ref": "PerformDiskShrinkContext" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/sqlservice.admin" +] +}, +"rescheduleMaintenance": { +"description": "Reschedules the maintenance on the given instance.", +"flatPath": "sql/v1beta4/projects/{project}/instances/{instance}/rescheduleMaintenance", +"httpMethod": "POST", +"id": "sql.projects.instances.rescheduleMaintenance", +"parameterOrder": [ +"project", +"instance" +], +"parameters": { +"instance": { +"description": "Cloud SQL instance ID. This does not include the project ID.", +"location": "path", +"required": true, +"type": "string" +}, +"project": { +"description": "ID of the project that contains the instance.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "sql/v1beta4/projects/{project}/instances/{instance}/rescheduleMaintenance", +"request": { +"$ref": "SqlInstancesRescheduleMaintenanceRequestBody" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/sqlservice.admin" +] +}, +"resetReplicaSize": { +"description": "Reset Replica Size to primary instance disk size.", +"flatPath": "sql/v1beta4/projects/{project}/instances/{instance}/resetReplicaSize", +"httpMethod": "POST", +"id": "sql.projects.instances.resetReplicaSize", +"parameterOrder": [ +"project", +"instance" +], +"parameters": { +"instance": { +"description": "Cloud SQL read replica instance name.", +"location": "path", +"required": true, +"type": "string" +}, +"project": { +"description": "ID of the project that contains the read replica.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "sql/v1beta4/projects/{project}/instances/{instance}/resetReplicaSize", +"request": { +"$ref": "SqlInstancesResetReplicaSizeRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/sqlservice.admin" +] +}, +"startExternalSync": { +"description": "Start External primary instance migration.", +"flatPath": "sql/v1beta4/projects/{project}/instances/{instance}/startExternalSync", +"httpMethod": "POST", +"id": "sql.projects.instances.startExternalSync", +"parameterOrder": [ +"project", +"instance" +], +"parameters": { +"instance": { +"description": "Cloud SQL instance ID. This does not include the project ID.", +"location": "path", +"required": true, +"type": "string" +}, +"project": { +"description": "ID of the project that contains the instance.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "sql/v1beta4/projects/{project}/instances/{instance}/startExternalSync", +"request": { +"$ref": "SqlInstancesStartExternalSyncRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/sqlservice.admin" +] +}, +"verifyExternalSyncSettings": { +"description": "Verify External primary instance external sync settings.", +"flatPath": "sql/v1beta4/projects/{project}/instances/{instance}/verifyExternalSyncSettings", +"httpMethod": "POST", +"id": "sql.projects.instances.verifyExternalSyncSettings", +"parameterOrder": [ +"project", +"instance" +], +"parameters": { +"instance": { +"description": "Cloud SQL instance ID. This does not include the project ID.", +"location": "path", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID of the project that contains the instance.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "sql/v1beta4/projects/{project}/instances/{instance}/verifyExternalSyncSettings", +"request": { +"$ref": "SqlInstancesVerifyExternalSyncSettingsRequest" +}, +"response": { +"$ref": "SqlInstancesVerifyExternalSyncSettingsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/sqlservice.admin" +] +} +} +} +} +}, +"sslCerts": { +"methods": { +"createEphemeral": { +"description": "Generates a short-lived X509 certificate containing the provided public key and signed by a private key specific to the target instance. Users may use the certificate to authenticate as themselves when connecting to the database.", +"flatPath": "sql/v1beta4/projects/{project}/instances/{instance}/createEphemeral", +"httpMethod": "POST", +"id": "sql.sslCerts.createEphemeral", +"parameterOrder": [ +"project", +"instance" +], +"parameters": { +"instance": { +"description": "Cloud SQL instance ID. This does not include the project ID.", +"location": "path", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID of the Cloud SQL project.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "sql/v1beta4/projects/{project}/instances/{instance}/createEphemeral", +"request": { +"$ref": "SslCertsCreateEphemeralRequest" +}, +"response": { +"$ref": "SslCert" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/sqlservice.admin" +] +}, +"delete": { +"description": "Deletes the SSL certificate. For First Generation instances, the certificate remains valid until the instance is restarted.", +"flatPath": "sql/v1beta4/projects/{project}/instances/{instance}/sslCerts/{sha1Fingerprint}", +"httpMethod": "DELETE", +"id": "sql.sslCerts.delete", +"parameterOrder": [ +"project", +"instance", +"sha1Fingerprint" +], +"parameters": { +"instance": { +"description": "Cloud SQL instance ID. This does not include the project ID.", +"location": "path", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID of the project that contains the instance.", +"location": "path", +"required": true, +"type": "string" +}, +"sha1Fingerprint": { +"description": "Sha1 FingerPrint.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "sql/v1beta4/projects/{project}/instances/{instance}/sslCerts/{sha1Fingerprint}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/sqlservice.admin" +] +}, +"get": { +"description": "Retrieves a particular SSL certificate. Does not include the private key (required for usage). The private key must be saved from the response to initial creation.", +"flatPath": "sql/v1beta4/projects/{project}/instances/{instance}/sslCerts/{sha1Fingerprint}", +"httpMethod": "GET", +"id": "sql.sslCerts.get", +"parameterOrder": [ +"project", +"instance", +"sha1Fingerprint" +], +"parameters": { +"instance": { +"description": "Cloud SQL instance ID. This does not include the project ID.", +"location": "path", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID of the project that contains the instance.", +"location": "path", +"required": true, +"type": "string" +}, +"sha1Fingerprint": { +"description": "Sha1 FingerPrint.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "sql/v1beta4/projects/{project}/instances/{instance}/sslCerts/{sha1Fingerprint}", +"response": { +"$ref": "SslCert" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/sqlservice.admin" +] +}, +"insert": { +"description": "Creates an SSL certificate and returns it along with the private key and server certificate authority. The new certificate will not be usable until the instance is restarted.", +"flatPath": "sql/v1beta4/projects/{project}/instances/{instance}/sslCerts", +"httpMethod": "POST", +"id": "sql.sslCerts.insert", +"parameterOrder": [ +"project", +"instance" +], +"parameters": { +"instance": { +"description": "Cloud SQL instance ID. This does not include the project ID.", +"location": "path", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID of the project that contains the instance.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "sql/v1beta4/projects/{project}/instances/{instance}/sslCerts", +"request": { +"$ref": "SslCertsInsertRequest" +}, +"response": { +"$ref": "SslCertsInsertResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/sqlservice.admin" +] +}, +"list": { +"description": "Lists all of the current SSL certificates for the instance.", +"flatPath": "sql/v1beta4/projects/{project}/instances/{instance}/sslCerts", +"httpMethod": "GET", +"id": "sql.sslCerts.list", +"parameterOrder": [ +"project", +"instance" +], +"parameters": { +"instance": { +"description": "Cloud SQL instance ID. This does not include the project ID.", +"location": "path", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID of the project that contains the instance.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "sql/v1beta4/projects/{project}/instances/{instance}/sslCerts", +"response": { +"$ref": "SslCertsListResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/sqlservice.admin" +] +} +} +}, +"tiers": { +"methods": { +"list": { +"description": "Lists all available machine types (tiers) for Cloud SQL, for example, `db-custom-1-3840`. For related information, see [Pricing](/sql/pricing).", +"flatPath": "sql/v1beta4/projects/{project}/tiers", +"httpMethod": "GET", +"id": "sql.tiers.list", +"parameterOrder": [ +"project" +], +"parameters": { +"project": { +"description": "Project ID of the project for which to list tiers.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "sql/v1beta4/projects/{project}/tiers", +"response": { +"$ref": "TiersListResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/sqlservice.admin" +] +} +} +}, +"users": { +"methods": { +"delete": { +"description": "Deletes a user from a Cloud SQL instance.", +"flatPath": "sql/v1beta4/projects/{project}/instances/{instance}/users", +"httpMethod": "DELETE", +"id": "sql.users.delete", +"parameterOrder": [ +"project", +"instance" +], +"parameters": { +"host": { +"description": "Host of the user in the instance.", +"location": "query", +"type": "string" +}, +"instance": { +"description": "Database instance ID. This does not include the project ID.", +"location": "path", +"required": true, +"type": "string" +}, +"name": { +"description": "Name of the user in the instance.", +"location": "query", +"type": "string" +}, +"project": { +"description": "Project ID of the project that contains the instance.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "sql/v1beta4/projects/{project}/instances/{instance}/users", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/sqlservice.admin" +] +}, +"get": { +"description": "Retrieves a resource containing information about a user.", +"flatPath": "sql/v1beta4/projects/{project}/instances/{instance}/users/{name}", +"httpMethod": "GET", +"id": "sql.users.get", +"parameterOrder": [ +"project", +"instance", +"name" +], +"parameters": { +"host": { +"description": "Host of a user of the instance.", +"location": "query", +"type": "string" +}, +"instance": { +"description": "Database instance ID. This does not include the project ID.", +"location": "path", +"required": true, +"type": "string" +}, +"name": { +"description": "User of the instance.", +"location": "path", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID of the project that contains the instance.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "sql/v1beta4/projects/{project}/instances/{instance}/users/{name}", +"response": { +"$ref": "User" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/sqlservice.admin" +] +}, +"insert": { +"description": "Creates a new user in a Cloud SQL instance.", +"flatPath": "sql/v1beta4/projects/{project}/instances/{instance}/users", +"httpMethod": "POST", +"id": "sql.users.insert", +"parameterOrder": [ +"project", +"instance" +], +"parameters": { +"instance": { +"description": "Database instance ID. This does not include the project ID.", +"location": "path", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID of the project that contains the instance.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "sql/v1beta4/projects/{project}/instances/{instance}/users", +"request": { +"$ref": "User" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/sqlservice.admin" +] +}, +"list": { +"description": "Lists users in the specified Cloud SQL instance.", +"flatPath": "sql/v1beta4/projects/{project}/instances/{instance}/users", +"httpMethod": "GET", +"id": "sql.users.list", +"parameterOrder": [ +"project", +"instance" +], +"parameters": { +"instance": { +"description": "Database instance ID. This does not include the project ID.", +"location": "path", +"required": true, +"type": "string" +}, +"project": { +"description": "Project ID of the project that contains the instance.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "sql/v1beta4/projects/{project}/instances/{instance}/users", +"response": { +"$ref": "UsersListResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/sqlservice.admin" +] +}, +"update": { +"description": "Updates an existing user in a Cloud SQL instance.", +"flatPath": "sql/v1beta4/projects/{project}/instances/{instance}/users", +"httpMethod": "PUT", +"id": "sql.users.update", +"parameterOrder": [ +"project", +"instance" +], +"parameters": { +"databaseRoles": { +"description": "Optional. List of database roles to grant to the user. body.database_roles will be ignored for update request.", +"location": "query", +"repeated": true, +"type": "string" +}, +"host": { +"description": "Optional. Host of the user in the instance.", +"location": "query", +"type": "string" +}, +"instance": { +"description": "Database instance ID. This does not include the project ID.", +"location": "path", +"required": true, +"type": "string" +}, +"name": { +"description": "Name of the user in the instance.", +"location": "query", +"type": "string" +}, +"project": { +"description": "Project ID of the project that contains the instance.", +"location": "path", +"required": true, +"type": "string" +}, +"revokeExistingRoles": { +"description": "Optional. Specifies whether to revoke existing roles that are not present in the `database_roles` field. If `false` or unset, the database roles specified in `database_roles` are added to the user's existing roles.", +"location": "query", +"type": "boolean" +} +}, +"path": "sql/v1beta4/projects/{project}/instances/{instance}/users", +"request": { +"$ref": "User" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/sqlservice.admin" +] +} +} +} +}, +"revision": "20260222", +"rootUrl": "https://sqladmin.googleapis.com/", +"schemas": { +"AclEntry": { +"description": "An entry for an Access Control list.", +"id": "AclEntry", +"properties": { +"expirationTime": { +"description": "The time when this access control entry expires in [RFC 3339](https://tools.ietf.org/html/rfc3339) format, for example `2012-11-15T16:19:00.094Z`.", +"format": "google-datetime", +"type": "string" +}, +"kind": { +"description": "This is always `sql#aclEntry`.", +"type": "string" +}, +"name": { +"description": "Optional. A label to identify this entry.", +"type": "string" +}, +"value": { +"description": "The allowlisted value for the access control list.", +"type": "string" +} +}, +"type": "object" +}, +"AcquireSsrsLeaseContext": { +"description": "Acquire SSRS lease context.", +"id": "AcquireSsrsLeaseContext", +"properties": { +"duration": { +"description": "Lease duration needed for the SSRS setup.", +"format": "google-duration", +"type": "string" +}, +"reportDatabase": { +"description": "The report database to be used for the SSRS setup.", +"type": "string" +}, +"serviceLogin": { +"description": "The username to be used as the service login to connect to the report database for SSRS setup.", +"type": "string" +}, +"setupLogin": { +"description": "The username to be used as the setup login to connect to the database server for SSRS setup.", +"type": "string" +} +}, +"type": "object" +}, +"AdvancedMachineFeatures": { +"description": "Specifies options for controlling advanced machine features.", +"id": "AdvancedMachineFeatures", +"properties": { +"threadsPerCore": { +"description": "The number of threads per physical core.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"ApiWarning": { +"description": "An Admin API warning message.", +"id": "ApiWarning", +"properties": { +"code": { +"description": "Code to uniquely identify the warning type.", +"enum": [ +"SQL_API_WARNING_CODE_UNSPECIFIED", +"REGION_UNREACHABLE", +"MAX_RESULTS_EXCEEDS_LIMIT", +"COMPROMISED_CREDENTIALS", +"INTERNAL_STATE_FAILURE" +], +"enumDescriptions": [ +"An unknown or unset warning type from Cloud SQL API.", +"Warning when one or more regions are not reachable. The returned result set may be incomplete.", +"Warning when user provided maxResults parameter exceeds the limit. The returned result set may be incomplete.", +"Warning when user tries to create/update a user with credentials that have previously been compromised by a public data breach.", +"Warning when the operation succeeds but some non-critical workflow state failed." +], +"type": "string" +}, +"message": { +"description": "The warning message.", +"type": "string" +}, +"region": { +"description": "The region name for REGION_UNREACHABLE warning.", +"type": "string" +} +}, +"type": "object" +}, +"AvailableDatabaseVersion": { +"description": "An available database version. It can be a major or a minor version.", +"id": "AvailableDatabaseVersion", +"properties": { +"displayName": { +"description": "The database version's display name.", +"type": "string" +}, +"majorVersion": { +"description": "The version's major version name.", +"type": "string" +}, +"name": { +"description": "The database version name. For MySQL 8.0, this string provides the database major and minor version.", +"type": "string" +} +}, +"type": "object" +}, +"Backup": { +"description": "A backup resource.", +"id": "Backup", +"properties": { +"backupInterval": { +"$ref": "Interval", +"description": "Output only. This output contains the following values: start_time: All database writes up to this time are available. end_time: Any database writes after this time aren't available.", +"readOnly": true +}, +"backupKind": { +"description": "Output only. Specifies the kind of backup, PHYSICAL or DEFAULT_SNAPSHOT.", +"enum": [ +"SQL_BACKUP_KIND_UNSPECIFIED", +"SNAPSHOT", +"PHYSICAL" +], +"enumDescriptions": [ +"This is an unknown BackupKind.", +"Snapshot-based backups.", +"Physical backups." +], +"readOnly": true, +"type": "string" +}, +"backupRun": { +"description": "Output only. The mapping to backup run resource used for IAM validations.", +"readOnly": true, +"type": "string" +}, +"databaseVersion": { +"description": "Output only. The database version of the instance of at the time this backup was made.", +"enum": [ +"SQL_DATABASE_VERSION_UNSPECIFIED", +"MYSQL_5_1", +"MYSQL_5_5", +"MYSQL_5_6", +"MYSQL_5_7", +"MYSQL_8_0", +"MYSQL_8_0_18", +"MYSQL_8_0_26", +"MYSQL_8_0_27", +"MYSQL_8_0_28", +"MYSQL_8_0_29", +"MYSQL_8_0_30", +"MYSQL_8_0_31", +"MYSQL_8_0_32", +"MYSQL_8_0_33", +"MYSQL_8_0_34", +"MYSQL_8_0_35", +"MYSQL_8_0_36", +"MYSQL_8_0_37", +"MYSQL_8_0_39", +"MYSQL_8_0_40", +"MYSQL_8_0_41", +"MYSQL_8_0_42", +"MYSQL_8_0_43", +"MYSQL_8_0_44", +"MYSQL_8_0_45", +"MYSQL_8_0_46", +"MYSQL_8_4", +"MYSQL_9_7", +"SQLSERVER_2017_STANDARD", +"SQLSERVER_2017_ENTERPRISE", +"SQLSERVER_2017_EXPRESS", +"SQLSERVER_2017_WEB", +"POSTGRES_9_6", +"POSTGRES_10", +"POSTGRES_11", +"POSTGRES_12", +"POSTGRES_13", +"POSTGRES_14", +"POSTGRES_15", +"POSTGRES_16", +"POSTGRES_17", +"POSTGRES_18", +"SQLSERVER_2019_STANDARD", +"SQLSERVER_2019_ENTERPRISE", +"SQLSERVER_2019_EXPRESS", +"SQLSERVER_2019_WEB", +"SQLSERVER_2022_STANDARD", +"SQLSERVER_2022_ENTERPRISE", +"SQLSERVER_2022_EXPRESS", +"SQLSERVER_2022_WEB", +"SQLSERVER_2025_STANDARD", +"SQLSERVER_2025_ENTERPRISE", +"SQLSERVER_2025_EXPRESS" +], +"enumDeprecated": [ +false, +true, +true, +false, +false, +false, +false, +false, +false, +false, +true, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false +], +"enumDescriptions": [ +"This is an unknown database version.", +"The database version is MySQL 5.1.", +"The database version is MySQL 5.5.", +"The database version is MySQL 5.6.", +"The database version is MySQL 5.7.", +"The database version is MySQL 8.", +"The database major version is MySQL 8.0 and the minor version is 18.", +"The database major version is MySQL 8.0 and the minor version is 26.", +"The database major version is MySQL 8.0 and the minor version is 27.", +"The database major version is MySQL 8.0 and the minor version is 28.", +"The database major version is MySQL 8.0 and the minor version is 29.", +"The database major version is MySQL 8.0 and the minor version is 30.", +"The database major version is MySQL 8.0 and the minor version is 31.", +"The database major version is MySQL 8.0 and the minor version is 32.", +"The database major version is MySQL 8.0 and the minor version is 33.", +"The database major version is MySQL 8.0 and the minor version is 34.", +"The database major version is MySQL 8.0 and the minor version is 35.", +"The database major version is MySQL 8.0 and the minor version is 36.", +"The database major version is MySQL 8.0 and the minor version is 37.", +"The database major version is MySQL 8.0 and the minor version is 39.", +"The database major version is MySQL 8.0 and the minor version is 40.", +"The database major version is MySQL 8.0 and the minor version is 41.", +"The database major version is MySQL 8.0 and the minor version is 42.", +"The database major version is MySQL 8.0 and the minor version is 43.", +"The database major version is MySQL 8.0 and the minor version is 44.", +"The database major version is MySQL 8.0 and the minor version is 45.", +"The database major version is MySQL 8.0 and the minor version is 46.", +"The database version is MySQL 8.4.", +"The database version is MySQL 9.7.", +"The database version is SQL Server 2017 Standard.", +"The database version is SQL Server 2017 Enterprise.", +"The database version is SQL Server 2017 Express.", +"The database version is SQL Server 2017 Web.", +"The database version is PostgreSQL 9.6.", +"The database version is PostgreSQL 10.", +"The database version is PostgreSQL 11.", +"The database version is PostgreSQL 12.", +"The database version is PostgreSQL 13.", +"The database version is PostgreSQL 14.", +"The database version is PostgreSQL 15.", +"The database version is PostgreSQL 16.", +"The database version is PostgreSQL 17.", +"The database version is PostgreSQL 18.", +"The database version is SQL Server 2019 Standard.", +"The database version is SQL Server 2019 Enterprise.", +"The database version is SQL Server 2019 Express.", +"The database version is SQL Server 2019 Web.", +"The database version is SQL Server 2022 Standard.", +"The database version is SQL Server 2022 Enterprise.", +"The database version is SQL Server 2022 Express.", +"The database version is SQL Server 2022 Web.", +"The database version is SQL Server 2025 Standard.", +"The database version is SQL Server 2025 Enterprise.", +"The database version is SQL Server 2025 Express." +], +"readOnly": true, +"type": "string" +}, +"description": { +"description": "The description of this backup.", +"type": "string" +}, +"error": { +"$ref": "OperationError", +"description": "Output only. Information about why the backup operation fails (for example, when the backup state fails).", +"readOnly": true +}, +"expiryTime": { +"description": "Backup expiration time. A UTC timestamp of when this resource expired.", +"format": "google-datetime", +"type": "string" +}, +"instance": { +"description": "The name of the database instance.", +"type": "string" +}, +"instanceDeletionTime": { +"description": "Optional. Output only. Timestamp in UTC of when the instance associated with this backup is deleted.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"instanceSettings": { +"$ref": "DatabaseInstance", +"description": "Optional. Output only. Instance setting of the source instance that's associated with this backup.", +"readOnly": true +}, +"kind": { +"description": "Output only. This is always `sql#backup`.", +"readOnly": true, +"type": "string" +}, +"kmsKey": { +"description": "Output only. This output contains the encryption configuration for a backup and the resource name of the KMS key for disk encryption.", +"readOnly": true, +"type": "string" +}, +"kmsKeyVersion": { +"description": "Output only. This output contains the encryption status for a backup and the version of the KMS key that's used to encrypt the Cloud SQL instance.", +"readOnly": true, +"type": "string" +}, +"location": { +"description": "The storage location of the backups. The location can be multi-regional.", +"type": "string" +}, +"maxChargeableBytes": { +"description": "Output only. The maximum chargeable bytes for the backup.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"name": { +"description": "Output only. The resource name of the backup. Format: projects/{project}/backups/{backup}.", +"readOnly": true, +"type": "string" +}, +"satisfiesPzi": { +"description": "Output only. This status indicates whether the backup satisfies PZI. The status is reserved for future use.", +"readOnly": true, +"type": "boolean" +}, +"satisfiesPzs": { +"description": "Output only. This status indicates whether the backup satisfies PZS. The status is reserved for future use.", +"readOnly": true, +"type": "boolean" +}, +"selfLink": { +"description": "Output only. The URI of this resource.", +"readOnly": true, +"type": "string" +}, +"state": { +"description": "Output only. The state of this backup.", +"enum": [ +"SQL_BACKUP_STATE_UNSPECIFIED", +"ENQUEUED", +"RUNNING", +"FAILED", +"SUCCESSFUL", +"DELETING", +"DELETION_FAILED" +], +"enumDescriptions": [ +"The state of the backup is unknown.", +"The backup that's added to a queue.", +"The backup is in progress.", +"The backup failed.", +"The backup is successful.", +"The backup is being deleted.", +"Deletion of the backup failed." +], +"readOnly": true, +"type": "string" +}, +"timeZone": { +"description": "Output only. This output contains a backup time zone. If a Cloud SQL for SQL Server instance has a different time zone from the backup's time zone, then the restore to the instance doesn't happen.", +"readOnly": true, +"type": "string" +}, +"ttlDays": { +"description": "Input only. The time-to-live (TTL) interval for this resource (in days). For example: ttlDays:7, means 7 days from the current time. The expiration time can't exceed 365 days from the time that the backup is created.", +"format": "int64", +"type": "string" +}, +"type": { +"description": "Output only. The type of this backup. The type can be \"AUTOMATED\", \"ON_DEMAND\", or \u201cFINAL\u201d.", +"enum": [ +"SQL_BACKUP_TYPE_UNSPECIFIED", +"AUTOMATED", +"ON_DEMAND", +"FINAL" +], +"enumDescriptions": [ +"This is an unknown backup type.", +"The backup schedule triggers a backup automatically.", +"The user triggers a backup manually.", +"The backup that's created when the instance is deleted." +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"BackupConfiguration": { +"description": "Database instance backup configuration.", +"id": "BackupConfiguration", +"properties": { +"backupRetentionSettings": { +"$ref": "BackupRetentionSettings", +"description": "Backup retention settings." +}, +"backupTier": { +"description": "Output only. Backup tier that manages the backups for the instance.", +"enum": [ +"BACKUP_TIER_UNSPECIFIED", +"STANDARD", +"ADVANCED", +"ENHANCED" +], +"enumDeprecated": [ +false, +false, +true, +false +], +"enumDescriptions": [ +"Unspecified.", +"Instance is managed by Cloud SQL.", +"Deprecated: ADVANCED is deprecated. Please use ENHANCED instead.", +"Instance is managed by Google Cloud Backup and DR Service." +], +"readOnly": true, +"type": "string" +}, +"binaryLogEnabled": { +"description": "(MySQL only) Whether binary log is enabled. If backup configuration is disabled, binarylog must be disabled as well.", +"type": "boolean" +}, +"enabled": { +"description": "Whether this configuration is enabled.", +"type": "boolean" +}, +"kind": { +"description": "This is always `sql#backupConfiguration`.", +"type": "string" +}, +"location": { +"description": "Location of the backup", +"type": "string" +}, +"pointInTimeRecoveryEnabled": { +"description": "Whether point in time recovery is enabled.", +"type": "boolean" +}, +"replicationLogArchivingEnabled": { +"description": "Reserved for future use.", +"type": "boolean" +}, +"startTime": { +"description": "Start time for the daily backup configuration in UTC timezone in the 24 hour format - `HH:MM`.", +"type": "string" +}, +"transactionLogRetentionDays": { +"description": "The number of days of transaction logs we retain for point in time restore, from 1-7.", +"format": "int32", +"type": "integer" +}, +"transactionalLogStorageState": { +"description": "Output only. This value contains the storage location of transactional logs for the database for point-in-time recovery.", +"enum": [ +"TRANSACTIONAL_LOG_STORAGE_STATE_UNSPECIFIED", +"DISK", +"SWITCHING_TO_CLOUD_STORAGE", +"SWITCHED_TO_CLOUD_STORAGE", +"CLOUD_STORAGE" +], +"enumDescriptions": [ +"Unspecified.", +"The transaction logs used for PITR for the instance are stored on a data disk.", +"The transaction logs used for PITR for the instance are switching from being stored on a data disk to being stored in Cloud Storage. Only applicable to MySQL.", +"The transaction logs used for PITR for the instance are now stored in Cloud Storage. Previously, they were stored on a data disk. Only applicable to MySQL.", +"The transaction logs used for PITR for the instance are stored in Cloud Storage. Only applicable to MySQL and PostgreSQL." +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"BackupContext": { +"description": "Backup context.", +"id": "BackupContext", +"properties": { +"backupId": { +"description": "The identifier of the backup.", +"format": "int64", +"type": "string" +}, +"kind": { +"description": "This is always `sql#backupContext`.", +"type": "string" +}, +"name": { +"description": "The name of the backup. Format: projects/{project}/backups/{backup}", +"type": "string" +} +}, +"type": "object" +}, +"BackupReencryptionConfig": { +"description": "Backup Reencryption Config", +"id": "BackupReencryptionConfig", +"properties": { +"backupLimit": { +"description": "Backup re-encryption limit", +"format": "int32", +"type": "integer" +}, +"backupType": { +"description": "Type of backups users want to re-encrypt.", +"enum": [ +"BACKUP_TYPE_UNSPECIFIED", +"AUTOMATED", +"ON_DEMAND" +], +"enumDescriptions": [ +"Unknown backup type, will be defaulted to AUTOMATIC backup type", +"Reencrypt automatic backups", +"Reencrypt on-demand backups" +], +"type": "string" +} +}, +"type": "object" +}, +"BackupRetentionSettings": { +"description": "We currently only support backup retention by specifying the number of backups we will retain.", +"id": "BackupRetentionSettings", +"properties": { +"retainedBackups": { +"description": "Depending on the value of retention_unit, this is used to determine if a backup needs to be deleted. If retention_unit is 'COUNT', we will retain this many backups.", +"format": "int32", +"type": "integer" +}, +"retentionUnit": { +"description": "The unit that 'retained_backups' represents.", +"enum": [ +"RETENTION_UNIT_UNSPECIFIED", +"COUNT" +], +"enumDescriptions": [ +"Backup retention unit is unspecified, will be treated as COUNT.", +"Retention will be by count, eg. \"retain the most recent 7 backups\"." +], +"type": "string" +} +}, +"type": "object" +}, +"BackupRun": { +"description": "A BackupRun resource.", +"id": "BackupRun", +"properties": { +"backupKind": { +"description": "Specifies the kind of backup, PHYSICAL or DEFAULT_SNAPSHOT.", +"enum": [ +"SQL_BACKUP_KIND_UNSPECIFIED", +"SNAPSHOT", +"PHYSICAL" +], +"enumDescriptions": [ +"This is an unknown BackupKind.", +"Snapshot-based backups.", +"Physical backups." +], +"type": "string" +}, +"databaseVersion": { +"description": "Output only. The instance database version at the time this backup was made.", +"enum": [ +"SQL_DATABASE_VERSION_UNSPECIFIED", +"MYSQL_5_1", +"MYSQL_5_5", +"MYSQL_5_6", +"MYSQL_5_7", +"MYSQL_8_0", +"MYSQL_8_0_18", +"MYSQL_8_0_26", +"MYSQL_8_0_27", +"MYSQL_8_0_28", +"MYSQL_8_0_29", +"MYSQL_8_0_30", +"MYSQL_8_0_31", +"MYSQL_8_0_32", +"MYSQL_8_0_33", +"MYSQL_8_0_34", +"MYSQL_8_0_35", +"MYSQL_8_0_36", +"MYSQL_8_0_37", +"MYSQL_8_0_39", +"MYSQL_8_0_40", +"MYSQL_8_0_41", +"MYSQL_8_0_42", +"MYSQL_8_0_43", +"MYSQL_8_0_44", +"MYSQL_8_0_45", +"MYSQL_8_0_46", +"MYSQL_8_4", +"MYSQL_9_7", +"SQLSERVER_2017_STANDARD", +"SQLSERVER_2017_ENTERPRISE", +"SQLSERVER_2017_EXPRESS", +"SQLSERVER_2017_WEB", +"POSTGRES_9_6", +"POSTGRES_10", +"POSTGRES_11", +"POSTGRES_12", +"POSTGRES_13", +"POSTGRES_14", +"POSTGRES_15", +"POSTGRES_16", +"POSTGRES_17", +"POSTGRES_18", +"SQLSERVER_2019_STANDARD", +"SQLSERVER_2019_ENTERPRISE", +"SQLSERVER_2019_EXPRESS", +"SQLSERVER_2019_WEB", +"SQLSERVER_2022_STANDARD", +"SQLSERVER_2022_ENTERPRISE", +"SQLSERVER_2022_EXPRESS", +"SQLSERVER_2022_WEB", +"SQLSERVER_2025_STANDARD", +"SQLSERVER_2025_ENTERPRISE", +"SQLSERVER_2025_EXPRESS" +], +"enumDeprecated": [ +false, +true, +true, +false, +false, +false, +false, +false, +false, +false, +true, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false +], +"enumDescriptions": [ +"This is an unknown database version.", +"The database version is MySQL 5.1.", +"The database version is MySQL 5.5.", +"The database version is MySQL 5.6.", +"The database version is MySQL 5.7.", +"The database version is MySQL 8.", +"The database major version is MySQL 8.0 and the minor version is 18.", +"The database major version is MySQL 8.0 and the minor version is 26.", +"The database major version is MySQL 8.0 and the minor version is 27.", +"The database major version is MySQL 8.0 and the minor version is 28.", +"The database major version is MySQL 8.0 and the minor version is 29.", +"The database major version is MySQL 8.0 and the minor version is 30.", +"The database major version is MySQL 8.0 and the minor version is 31.", +"The database major version is MySQL 8.0 and the minor version is 32.", +"The database major version is MySQL 8.0 and the minor version is 33.", +"The database major version is MySQL 8.0 and the minor version is 34.", +"The database major version is MySQL 8.0 and the minor version is 35.", +"The database major version is MySQL 8.0 and the minor version is 36.", +"The database major version is MySQL 8.0 and the minor version is 37.", +"The database major version is MySQL 8.0 and the minor version is 39.", +"The database major version is MySQL 8.0 and the minor version is 40.", +"The database major version is MySQL 8.0 and the minor version is 41.", +"The database major version is MySQL 8.0 and the minor version is 42.", +"The database major version is MySQL 8.0 and the minor version is 43.", +"The database major version is MySQL 8.0 and the minor version is 44.", +"The database major version is MySQL 8.0 and the minor version is 45.", +"The database major version is MySQL 8.0 and the minor version is 46.", +"The database version is MySQL 8.4.", +"The database version is MySQL 9.7.", +"The database version is SQL Server 2017 Standard.", +"The database version is SQL Server 2017 Enterprise.", +"The database version is SQL Server 2017 Express.", +"The database version is SQL Server 2017 Web.", +"The database version is PostgreSQL 9.6.", +"The database version is PostgreSQL 10.", +"The database version is PostgreSQL 11.", +"The database version is PostgreSQL 12.", +"The database version is PostgreSQL 13.", +"The database version is PostgreSQL 14.", +"The database version is PostgreSQL 15.", +"The database version is PostgreSQL 16.", +"The database version is PostgreSQL 17.", +"The database version is PostgreSQL 18.", +"The database version is SQL Server 2019 Standard.", +"The database version is SQL Server 2019 Enterprise.", +"The database version is SQL Server 2019 Express.", +"The database version is SQL Server 2019 Web.", +"The database version is SQL Server 2022 Standard.", +"The database version is SQL Server 2022 Enterprise.", +"The database version is SQL Server 2022 Express.", +"The database version is SQL Server 2022 Web.", +"The database version is SQL Server 2025 Standard.", +"The database version is SQL Server 2025 Enterprise.", +"The database version is SQL Server 2025 Express." +], +"readOnly": true, +"type": "string" +}, +"description": { +"description": "The description of this run, only applicable to on-demand backups.", +"type": "string" +}, +"diskEncryptionConfiguration": { +"$ref": "DiskEncryptionConfiguration", +"description": "Encryption configuration specific to a backup." +}, +"diskEncryptionStatus": { +"$ref": "DiskEncryptionStatus", +"description": "Encryption status specific to a backup." +}, +"endTime": { +"description": "The time the backup operation completed in UTC timezone in [RFC 3339](https://tools.ietf.org/html/rfc3339) format, for example `2012-11-15T16:19:00.094Z`.", +"format": "google-datetime", +"type": "string" +}, +"enqueuedTime": { +"description": "The time the run was enqueued in UTC timezone in [RFC 3339](https://tools.ietf.org/html/rfc3339) format, for example `2012-11-15T16:19:00.094Z`.", +"format": "google-datetime", +"type": "string" +}, +"error": { +"$ref": "OperationError", +"description": "Information about why the backup operation failed. This is only present if the run has the FAILED status." +}, +"id": { +"description": "The identifier for this backup run. Unique only for a specific Cloud SQL instance.", +"format": "int64", +"type": "string" +}, +"instance": { +"description": "Name of the database instance.", +"type": "string" +}, +"kind": { +"description": "This is always `sql#backupRun`.", +"type": "string" +}, +"location": { +"description": "Location of the backups.", +"type": "string" +}, +"maxChargeableBytes": { +"description": "Output only. The maximum chargeable bytes for the backup.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"selfLink": { +"description": "The URI of this resource.", +"type": "string" +}, +"startTime": { +"description": "The time the backup operation actually started in UTC timezone in [RFC 3339](https://tools.ietf.org/html/rfc3339) format, for example `2012-11-15T16:19:00.094Z`.", +"format": "google-datetime", +"type": "string" +}, +"status": { +"description": "The status of this run.", +"enum": [ +"SQL_BACKUP_RUN_STATUS_UNSPECIFIED", +"ENQUEUED", +"OVERDUE", +"RUNNING", +"FAILED", +"SUCCESSFUL", +"SKIPPED", +"DELETION_PENDING", +"DELETION_FAILED", +"DELETED" +], +"enumDescriptions": [ +"The status of the run is unknown.", +"The backup operation was enqueued.", +"The backup is overdue across a given backup window. Indicates a problem. Example: Long-running operation in progress during the whole window.", +"The backup is in progress.", +"The backup failed.", +"The backup was successful.", +"The backup was skipped (without problems) for a given backup window. Example: Instance was idle.", +"The backup is about to be deleted.", +"The backup deletion failed.", +"The backup has been deleted." +], +"type": "string" +}, +"timeZone": { +"description": "Backup time zone to prevent restores to an instance with a different time zone. Now relevant only for SQL Server.", +"type": "string" +}, +"type": { +"description": "The type of this run; can be either \"AUTOMATED\" or \"ON_DEMAND\" or \"FINAL\". This field defaults to \"ON_DEMAND\" and is ignored, when specified for insert requests.", +"enum": [ +"SQL_BACKUP_RUN_TYPE_UNSPECIFIED", +"AUTOMATED", +"ON_DEMAND" +], +"enumDescriptions": [ +"This is an unknown BackupRun type.", +"The backup schedule automatically triggers a backup.", +"The user manually triggers a backup." +], +"type": "string" +}, +"windowStartTime": { +"description": "The start time of the backup window during which this the backup was attempted in [RFC 3339](https://tools.ietf.org/html/rfc3339) format, for example `2012-11-15T16:19:00.094Z`.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"BackupRunsListResponse": { +"description": "Backup run list results.", +"id": "BackupRunsListResponse", +"properties": { +"items": { +"description": "A list of backup runs in reverse chronological order of the enqueued time.", +"items": { +"$ref": "BackupRun" +}, +"type": "array" +}, +"kind": { +"description": "This is always `sql#backupRunsList`.", +"type": "string" +}, +"nextPageToken": { +"description": "The continuation token, used to page through large result sets. Provide this value in a subsequent request to return the next page of results.", +"type": "string" +} +}, +"type": "object" +}, +"BinLogCoordinates": { +"description": "Binary log coordinates.", +"id": "BinLogCoordinates", +"properties": { +"binLogFileName": { +"description": "Name of the binary log file for a Cloud SQL instance.", +"type": "string" +}, +"binLogPosition": { +"description": "Position (offset) within the binary log file.", +"format": "int64", +"type": "string" +}, +"kind": { +"description": "This is always `sql#binLogCoordinates`.", +"type": "string" +} +}, +"type": "object" +}, +"CloneContext": { +"description": "Database instance clone context.", +"id": "CloneContext", +"properties": { +"allocatedIpRange": { +"description": "The name of the allocated ip range for the private ip Cloud SQL instance. For example: \"google-managed-services-default\". If set, the cloned instance ip will be created in the allocated range. The range name must comply with [RFC 1035](https://tools.ietf.org/html/rfc1035). Specifically, the name must be 1-63 characters long and match the regular expression [a-z]([-a-z0-9]*[a-z0-9])?. Reserved for future use.", +"type": "string" +}, +"binLogCoordinates": { +"$ref": "BinLogCoordinates", +"description": "Binary log coordinates, if specified, identify the position up to which the source instance is cloned. If not specified, the source instance is cloned up to the most recent binary log coordinates." +}, +"databaseNames": { +"description": "(SQL Server only) Clone only the specified databases from the source instance. Clone all databases if empty.", +"items": { +"type": "string" +}, +"type": "array" +}, +"destinationInstanceName": { +"description": "Name of the Cloud SQL instance to be created as a clone.", +"type": "string" +}, +"destinationNetwork": { +"description": "Optional. The fully qualified URI of the VPC network to which the cloned instance will be connected via Private Services Access for private IP. For example:`projects/my-network-project/global/networks/my-network`. This field is only required for cross-project cloning.", +"type": "string" +}, +"destinationProject": { +"description": "Optional. The project ID of the destination project where the cloned instance will be created. To perform a cross-project clone, this field is required. If not specified, the clone is created in the same project as the source instance.", +"type": "string" +}, +"kind": { +"description": "This is always `sql#cloneContext`.", +"type": "string" +}, +"pitrTimestampMs": { +"description": "Reserved for future use.", +"format": "int64", +"type": "string" +}, +"pointInTime": { +"description": "Timestamp, if specified, identifies the time to which the source instance is cloned.", +"format": "google-datetime", +"type": "string" +}, +"preferredSecondaryZone": { +"description": "Optional. Copy clone and point-in-time recovery clone of a regional instance in the specified zones. If not specified, clone to the same secondary zone as the source instance. This value cannot be the same as the preferred_zone field.", +"type": "string" +}, +"preferredZone": { +"description": "Optional. Copy clone and point-in-time recovery clone of an instance to the specified zone. If no zone is specified, clone to the same primary zone as the source instance.", +"type": "string" +}, +"sourceInstanceDeletionTime": { +"description": "The timestamp used to identify the time when the source instance is deleted. If this instance is deleted, then you must set the timestamp.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"Column": { +"description": "Contains the name and datatype of a column.", +"id": "Column", +"properties": { +"name": { +"description": "Name of the column.", +"type": "string" +}, +"type": { +"description": "Datatype of the column.", +"type": "string" +} +}, +"type": "object" +}, +"ConnectPoolNodeConfig": { +"description": "Details of a single read pool node of a read pool.", +"id": "ConnectPoolNodeConfig", +"properties": { +"dnsName": { +"description": "Output only. The DNS name of the read pool node.", +"readOnly": true, +"type": "string" +}, +"dnsNames": { +"description": "Output only. The list of DNS names used by this read pool node.", +"items": { +"$ref": "DnsNameMapping" +}, +"readOnly": true, +"type": "array" +}, +"ipAddresses": { +"description": "Output only. Mappings containing IP addresses that can be used to connect to the read pool node.", +"items": { +"$ref": "IpMapping" +}, +"readOnly": true, +"type": "array" +}, +"name": { +"description": "Output only. The name of the read pool node. Doesn't include the project ID.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"ConnectSettings": { +"description": "Connect settings retrieval response.", +"id": "ConnectSettings", +"properties": { +"backendType": { +"description": "`SECOND_GEN`: Cloud SQL database instance. `EXTERNAL`: A database server that is not managed by Google. This property is read-only; use the `tier` property in the `settings` object to determine the database type.", +"enum": [ +"SQL_BACKEND_TYPE_UNSPECIFIED", +"FIRST_GEN", +"SECOND_GEN", +"EXTERNAL" +], +"enumDeprecated": [ +false, +true, +false, +false +], +"enumDescriptions": [ +"This is an unknown backend type for instance.", +"V1 speckle instance.", +"V2 speckle instance.", +"On premises instance." +], +"type": "string" +}, +"customSubjectAlternativeNames": { +"description": "Custom subject alternative names for the server certificate.", +"items": { +"type": "string" +}, +"type": "array" +}, +"databaseVersion": { +"description": "The database engine type and version. The `databaseVersion` field cannot be changed after instance creation. MySQL instances: `MYSQL_8_0`, `MYSQL_5_7` (default), or `MYSQL_5_6`. PostgreSQL instances: `POSTGRES_9_6`, `POSTGRES_10`, `POSTGRES_11` or `POSTGRES_12` (default), `POSTGRES_13`, or `POSTGRES_14`. SQL Server instances: `SQLSERVER_2017_STANDARD` (default), `SQLSERVER_2017_ENTERPRISE`, `SQLSERVER_2017_EXPRESS`, `SQLSERVER_2017_WEB`, `SQLSERVER_2019_STANDARD`, `SQLSERVER_2019_ENTERPRISE`, `SQLSERVER_2019_EXPRESS`, or `SQLSERVER_2019_WEB`.", +"enum": [ +"SQL_DATABASE_VERSION_UNSPECIFIED", +"MYSQL_5_1", +"MYSQL_5_5", +"MYSQL_5_6", +"MYSQL_5_7", +"MYSQL_8_0", +"MYSQL_8_0_18", +"MYSQL_8_0_26", +"MYSQL_8_0_27", +"MYSQL_8_0_28", +"MYSQL_8_0_29", +"MYSQL_8_0_30", +"MYSQL_8_0_31", +"MYSQL_8_0_32", +"MYSQL_8_0_33", +"MYSQL_8_0_34", +"MYSQL_8_0_35", +"MYSQL_8_0_36", +"MYSQL_8_0_37", +"MYSQL_8_0_39", +"MYSQL_8_0_40", +"MYSQL_8_0_41", +"MYSQL_8_0_42", +"MYSQL_8_0_43", +"MYSQL_8_0_44", +"MYSQL_8_0_45", +"MYSQL_8_0_46", +"MYSQL_8_4", +"MYSQL_9_7", +"SQLSERVER_2017_STANDARD", +"SQLSERVER_2017_ENTERPRISE", +"SQLSERVER_2017_EXPRESS", +"SQLSERVER_2017_WEB", +"POSTGRES_9_6", +"POSTGRES_10", +"POSTGRES_11", +"POSTGRES_12", +"POSTGRES_13", +"POSTGRES_14", +"POSTGRES_15", +"POSTGRES_16", +"POSTGRES_17", +"POSTGRES_18", +"SQLSERVER_2019_STANDARD", +"SQLSERVER_2019_ENTERPRISE", +"SQLSERVER_2019_EXPRESS", +"SQLSERVER_2019_WEB", +"SQLSERVER_2022_STANDARD", +"SQLSERVER_2022_ENTERPRISE", +"SQLSERVER_2022_EXPRESS", +"SQLSERVER_2022_WEB", +"SQLSERVER_2025_STANDARD", +"SQLSERVER_2025_ENTERPRISE", +"SQLSERVER_2025_EXPRESS" +], +"enumDeprecated": [ +false, +true, +true, +false, +false, +false, +false, +false, +false, +false, +true, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false +], +"enumDescriptions": [ +"This is an unknown database version.", +"The database version is MySQL 5.1.", +"The database version is MySQL 5.5.", +"The database version is MySQL 5.6.", +"The database version is MySQL 5.7.", +"The database version is MySQL 8.", +"The database major version is MySQL 8.0 and the minor version is 18.", +"The database major version is MySQL 8.0 and the minor version is 26.", +"The database major version is MySQL 8.0 and the minor version is 27.", +"The database major version is MySQL 8.0 and the minor version is 28.", +"The database major version is MySQL 8.0 and the minor version is 29.", +"The database major version is MySQL 8.0 and the minor version is 30.", +"The database major version is MySQL 8.0 and the minor version is 31.", +"The database major version is MySQL 8.0 and the minor version is 32.", +"The database major version is MySQL 8.0 and the minor version is 33.", +"The database major version is MySQL 8.0 and the minor version is 34.", +"The database major version is MySQL 8.0 and the minor version is 35.", +"The database major version is MySQL 8.0 and the minor version is 36.", +"The database major version is MySQL 8.0 and the minor version is 37.", +"The database major version is MySQL 8.0 and the minor version is 39.", +"The database major version is MySQL 8.0 and the minor version is 40.", +"The database major version is MySQL 8.0 and the minor version is 41.", +"The database major version is MySQL 8.0 and the minor version is 42.", +"The database major version is MySQL 8.0 and the minor version is 43.", +"The database major version is MySQL 8.0 and the minor version is 44.", +"The database major version is MySQL 8.0 and the minor version is 45.", +"The database major version is MySQL 8.0 and the minor version is 46.", +"The database version is MySQL 8.4.", +"The database version is MySQL 9.7.", +"The database version is SQL Server 2017 Standard.", +"The database version is SQL Server 2017 Enterprise.", +"The database version is SQL Server 2017 Express.", +"The database version is SQL Server 2017 Web.", +"The database version is PostgreSQL 9.6.", +"The database version is PostgreSQL 10.", +"The database version is PostgreSQL 11.", +"The database version is PostgreSQL 12.", +"The database version is PostgreSQL 13.", +"The database version is PostgreSQL 14.", +"The database version is PostgreSQL 15.", +"The database version is PostgreSQL 16.", +"The database version is PostgreSQL 17.", +"The database version is PostgreSQL 18.", +"The database version is SQL Server 2019 Standard.", +"The database version is SQL Server 2019 Enterprise.", +"The database version is SQL Server 2019 Express.", +"The database version is SQL Server 2019 Web.", +"The database version is SQL Server 2022 Standard.", +"The database version is SQL Server 2022 Enterprise.", +"The database version is SQL Server 2022 Express.", +"The database version is SQL Server 2022 Web.", +"The database version is SQL Server 2025 Standard.", +"The database version is SQL Server 2025 Enterprise.", +"The database version is SQL Server 2025 Express." +], +"type": "string" +}, +"dnsName": { +"description": "The dns name of the instance.", +"type": "string" +}, +"dnsNames": { +"description": "Output only. The list of DNS names used by this instance.", +"items": { +"$ref": "DnsNameMapping" +}, +"readOnly": true, +"type": "array" +}, +"ipAddresses": { +"description": "The assigned IP addresses for the instance.", +"items": { +"$ref": "IpMapping" +}, +"type": "array" +}, +"kind": { +"description": "This is always `sql#connectSettings`.", +"type": "string" +}, +"mdxProtocolSupport": { +"description": "Optional. Output only. mdx_protocol_support controls how the client uses metadata exchange when connecting to the instance. The values in the list representing parts of the MDX protocol that are supported by this instance. When the list is empty, the instance does not support MDX, so the client must not send an MDX request. The default is empty.", +"items": { +"enum": [ +"MDX_PROTOCOL_SUPPORT_UNSPECIFIED", +"CLIENT_PROTOCOL_TYPE" +], +"enumDescriptions": [ +"Not specified.", +"Client should send the client protocol type in the MDX request." +], +"type": "string" +}, +"readOnly": true, +"type": "array" +}, +"nodeCount": { +"description": "The number of read pool nodes in a read pool.", +"format": "int32", +"type": "integer" +}, +"nodes": { +"description": "Output only. Entries containing information about each read pool node of the read pool.", +"items": { +"$ref": "ConnectPoolNodeConfig" +}, +"readOnly": true, +"type": "array" +}, +"pscEnabled": { +"description": "Whether PSC connectivity is enabled for this instance.", +"type": "boolean" +}, +"region": { +"description": "The cloud region for the instance. e.g. `us-central1`, `europe-west1`. The region cannot be changed after instance creation.", +"type": "string" +}, +"serverCaCert": { +"$ref": "SslCert", +"description": "SSL configuration." +}, +"serverCaMode": { +"description": "Specify what type of CA is used for the server certificate.", +"enum": [ +"CA_MODE_UNSPECIFIED", +"GOOGLE_MANAGED_INTERNAL_CA", +"GOOGLE_MANAGED_CAS_CA", +"CUSTOMER_MANAGED_CAS_CA" +], +"enumDescriptions": [ +"CA mode is unspecified. It is effectively the same as `GOOGLE_MANAGED_INTERNAL_CA`.", +"Google-managed self-signed internal CA.", +"Google-managed regional CA part of root CA hierarchy hosted on Google Cloud's Certificate Authority Service (CAS).", +"Customer-managed CA hosted on Google Cloud's Certificate Authority Service (CAS)." +], +"type": "string" +} +}, +"type": "object" +}, +"ConnectionPoolConfig": { +"description": "The managed connection pooling configuration.", +"id": "ConnectionPoolConfig", +"properties": { +"connectionPoolingEnabled": { +"description": "Whether managed connection pooling is enabled.", +"type": "boolean" +}, +"flags": { +"description": "Optional. List of connection pool configuration flags.", +"items": { +"$ref": "ConnectionPoolFlags" +}, +"type": "array" +}, +"poolerCount": { +"description": "Output only. Number of connection poolers.", +"format": "int32", +"readOnly": true, +"type": "integer" +} +}, +"type": "object" +}, +"ConnectionPoolFlags": { +"description": "Connection pool flags for Cloud SQL instances managed connection pool configuration.", +"id": "ConnectionPoolFlags", +"properties": { +"name": { +"description": "Required. The name of the flag.", +"type": "string" +}, +"value": { +"description": "Required. The value of the flag. Boolean flags are set to `on` for true and `off` for false. This field must be omitted if the flag doesn't take a value.", +"type": "string" +} +}, +"type": "object" +}, +"DataCacheConfig": { +"description": "Data cache configurations.", +"id": "DataCacheConfig", +"properties": { +"dataCacheEnabled": { +"description": "Whether data cache is enabled for the instance.", +"type": "boolean" +} +}, +"type": "object" +}, +"Database": { +"description": "Represents a SQL database on the Cloud SQL instance.", +"id": "Database", +"properties": { +"charset": { +"description": "The Cloud SQL charset value.", +"type": "string" +}, +"collation": { +"description": "The Cloud SQL collation value.", +"type": "string" +}, +"etag": { +"description": "This field is deprecated and will be removed from a future version of the API.", +"type": "string" +}, +"instance": { +"description": "The name of the Cloud SQL instance. This does not include the project ID.", +"type": "string" +}, +"kind": { +"description": "This is always `sql#database`.", +"type": "string" +}, +"name": { +"description": "The name of the database in the Cloud SQL instance. This does not include the project ID or instance name.", +"type": "string" +}, +"project": { +"description": "The project ID of the project containing the Cloud SQL database. The Google apps domain is prefixed if applicable.", +"type": "string" +}, +"selfLink": { +"description": "The URI of this resource.", +"type": "string" +}, +"sqlserverDatabaseDetails": { +"$ref": "SqlServerDatabaseDetails" +} +}, +"type": "object" +}, +"DatabaseFlags": { +"description": "Database flags for Cloud SQL instances.", +"id": "DatabaseFlags", +"properties": { +"name": { +"description": "The name of the flag. These flags are passed at instance startup, so include both server options and system variables. Flags are specified with underscores, not hyphens. For more information, see [Configuring Database Flags](https://cloud.google.com/sql/docs/mysql/flags) in the Cloud SQL documentation.", +"type": "string" +}, +"value": { +"description": "The value of the flag. Boolean flags are set to `on` for true and `off` for false. This field must be omitted if the flag doesn't take a value.", +"type": "string" +} +}, +"type": "object" +}, +"DatabaseInstance": { +"description": "A Cloud SQL instance resource.", +"id": "DatabaseInstance", +"properties": { +"availableMaintenanceVersions": { +"description": "Output only. List all maintenance versions applicable on the instance", +"items": { +"type": "string" +}, +"readOnly": true, +"type": "array" +}, +"backendType": { +"description": "The backend type. `SECOND_GEN`: Cloud SQL database instance. `EXTERNAL`: A database server that is not managed by Google. This property is read-only; use the `tier` property in the `settings` object to determine the database type.", +"enum": [ +"SQL_BACKEND_TYPE_UNSPECIFIED", +"FIRST_GEN", +"SECOND_GEN", +"EXTERNAL" +], +"enumDeprecated": [ +false, +true, +false, +false +], +"enumDescriptions": [ +"This is an unknown backend type for instance.", +"V1 speckle instance.", +"V2 speckle instance.", +"On premises instance." +], +"type": "string" +}, +"connectionName": { +"description": "Connection name of the Cloud SQL instance used in connection strings.", +"type": "string" +}, +"createTime": { +"description": "Output only. The time when the instance was created in [RFC 3339](https://tools.ietf.org/html/rfc3339) format, for example `2012-11-15T16:19:00.094Z`.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"currentDiskSize": { +"deprecated": true, +"description": "The current disk usage of the instance in bytes. This property has been deprecated. Use the \"cloudsql.googleapis.com/database/disk/bytes_used\" metric in Cloud Monitoring API instead. Please see [this announcement](https://groups.google.com/d/msg/google-cloud-sql-announce/I_7-F9EBhT0/BtvFtdFeAgAJ) for details.", +"format": "int64", +"type": "string" +}, +"databaseInstalledVersion": { +"description": "Output only. Stores the current database version running on the instance including minor version such as `MYSQL_8_0_18`.", +"readOnly": true, +"type": "string" +}, +"databaseVersion": { +"description": "The database engine type and version. The `databaseVersion` field cannot be changed after instance creation.", +"enum": [ +"SQL_DATABASE_VERSION_UNSPECIFIED", +"MYSQL_5_1", +"MYSQL_5_5", +"MYSQL_5_6", +"MYSQL_5_7", +"MYSQL_8_0", +"MYSQL_8_0_18", +"MYSQL_8_0_26", +"MYSQL_8_0_27", +"MYSQL_8_0_28", +"MYSQL_8_0_29", +"MYSQL_8_0_30", +"MYSQL_8_0_31", +"MYSQL_8_0_32", +"MYSQL_8_0_33", +"MYSQL_8_0_34", +"MYSQL_8_0_35", +"MYSQL_8_0_36", +"MYSQL_8_0_37", +"MYSQL_8_0_39", +"MYSQL_8_0_40", +"MYSQL_8_0_41", +"MYSQL_8_0_42", +"MYSQL_8_0_43", +"MYSQL_8_0_44", +"MYSQL_8_0_45", +"MYSQL_8_0_46", +"MYSQL_8_4", +"MYSQL_9_7", +"SQLSERVER_2017_STANDARD", +"SQLSERVER_2017_ENTERPRISE", +"SQLSERVER_2017_EXPRESS", +"SQLSERVER_2017_WEB", +"POSTGRES_9_6", +"POSTGRES_10", +"POSTGRES_11", +"POSTGRES_12", +"POSTGRES_13", +"POSTGRES_14", +"POSTGRES_15", +"POSTGRES_16", +"POSTGRES_17", +"POSTGRES_18", +"SQLSERVER_2019_STANDARD", +"SQLSERVER_2019_ENTERPRISE", +"SQLSERVER_2019_EXPRESS", +"SQLSERVER_2019_WEB", +"SQLSERVER_2022_STANDARD", +"SQLSERVER_2022_ENTERPRISE", +"SQLSERVER_2022_EXPRESS", +"SQLSERVER_2022_WEB", +"SQLSERVER_2025_STANDARD", +"SQLSERVER_2025_ENTERPRISE", +"SQLSERVER_2025_EXPRESS" +], +"enumDeprecated": [ +false, +true, +true, +false, +false, +false, +false, +false, +false, +false, +true, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false +], +"enumDescriptions": [ +"This is an unknown database version.", +"The database version is MySQL 5.1.", +"The database version is MySQL 5.5.", +"The database version is MySQL 5.6.", +"The database version is MySQL 5.7.", +"The database version is MySQL 8.", +"The database major version is MySQL 8.0 and the minor version is 18.", +"The database major version is MySQL 8.0 and the minor version is 26.", +"The database major version is MySQL 8.0 and the minor version is 27.", +"The database major version is MySQL 8.0 and the minor version is 28.", +"The database major version is MySQL 8.0 and the minor version is 29.", +"The database major version is MySQL 8.0 and the minor version is 30.", +"The database major version is MySQL 8.0 and the minor version is 31.", +"The database major version is MySQL 8.0 and the minor version is 32.", +"The database major version is MySQL 8.0 and the minor version is 33.", +"The database major version is MySQL 8.0 and the minor version is 34.", +"The database major version is MySQL 8.0 and the minor version is 35.", +"The database major version is MySQL 8.0 and the minor version is 36.", +"The database major version is MySQL 8.0 and the minor version is 37.", +"The database major version is MySQL 8.0 and the minor version is 39.", +"The database major version is MySQL 8.0 and the minor version is 40.", +"The database major version is MySQL 8.0 and the minor version is 41.", +"The database major version is MySQL 8.0 and the minor version is 42.", +"The database major version is MySQL 8.0 and the minor version is 43.", +"The database major version is MySQL 8.0 and the minor version is 44.", +"The database major version is MySQL 8.0 and the minor version is 45.", +"The database major version is MySQL 8.0 and the minor version is 46.", +"The database version is MySQL 8.4.", +"The database version is MySQL 9.7.", +"The database version is SQL Server 2017 Standard.", +"The database version is SQL Server 2017 Enterprise.", +"The database version is SQL Server 2017 Express.", +"The database version is SQL Server 2017 Web.", +"The database version is PostgreSQL 9.6.", +"The database version is PostgreSQL 10.", +"The database version is PostgreSQL 11.", +"The database version is PostgreSQL 12.", +"The database version is PostgreSQL 13.", +"The database version is PostgreSQL 14.", +"The database version is PostgreSQL 15.", +"The database version is PostgreSQL 16.", +"The database version is PostgreSQL 17.", +"The database version is PostgreSQL 18.", +"The database version is SQL Server 2019 Standard.", +"The database version is SQL Server 2019 Enterprise.", +"The database version is SQL Server 2019 Express.", +"The database version is SQL Server 2019 Web.", +"The database version is SQL Server 2022 Standard.", +"The database version is SQL Server 2022 Enterprise.", +"The database version is SQL Server 2022 Express.", +"The database version is SQL Server 2022 Web.", +"The database version is SQL Server 2025 Standard.", +"The database version is SQL Server 2025 Enterprise.", +"The database version is SQL Server 2025 Express." +], +"type": "string" +}, +"diskEncryptionConfiguration": { +"$ref": "DiskEncryptionConfiguration", +"description": "Disk encryption configuration specific to an instance." +}, +"diskEncryptionStatus": { +"$ref": "DiskEncryptionStatus", +"description": "Disk encryption status specific to an instance." +}, +"dnsName": { +"description": "Output only. The dns name of the instance.", +"readOnly": true, +"type": "string" +}, +"dnsNames": { +"description": "Output only. The list of DNS names used by this instance.", +"items": { +"$ref": "DnsNameMapping" +}, +"readOnly": true, +"type": "array" +}, +"etag": { +"description": "This field is deprecated and will be removed from a future version of the API. Use the `settings.settingsVersion` field instead.", +"type": "string" +}, +"failoverReplica": { +"description": "The name and status of the failover replica.", +"properties": { +"available": { +"description": "The availability status of the failover replica. A false status indicates that the failover replica is out of sync. The primary instance can only failover to the failover replica when the status is true.", +"type": "boolean" +}, +"name": { +"description": "The name of the failover replica. If specified at instance creation, a failover replica is created for the instance. The name doesn't include the project ID.", +"type": "string" +} +}, +"type": "object" +}, +"gceZone": { +"description": "The Compute Engine zone that the instance is currently serving from. This value could be different from the zone that was specified when the instance was created if the instance has failed over to its secondary zone. WARNING: Changing this might restart the instance.", +"type": "string" +}, +"geminiConfig": { +"$ref": "GeminiInstanceConfig", +"description": "Gemini instance configuration." +}, +"includeReplicasForMajorVersionUpgrade": { +"description": "Input only. Determines whether an in-place major version upgrade of replicas happens when an in-place major version upgrade of a primary instance is initiated.", +"type": "boolean" +}, +"instanceType": { +"description": "The instance type.", +"enum": [ +"SQL_INSTANCE_TYPE_UNSPECIFIED", +"CLOUD_SQL_INSTANCE", +"ON_PREMISES_INSTANCE", +"READ_REPLICA_INSTANCE", +"READ_POOL_INSTANCE" +], +"enumDescriptions": [ +"This is an unknown Cloud SQL instance type.", +"A regular Cloud SQL instance that is not replicating from a primary instance.", +"An instance running on the customer's premises that is not managed by Cloud SQL.", +"A Cloud SQL instance acting as a read-replica.", +"A Cloud SQL read pool." +], +"type": "string" +}, +"ipAddresses": { +"description": "The assigned IP addresses for the instance.", +"items": { +"$ref": "IpMapping" +}, +"type": "array" +}, +"ipv6Address": { +"deprecated": true, +"description": "The IPv6 address assigned to the instance. (Deprecated) This property was applicable only to First Generation instances.", +"type": "string" +}, +"kind": { +"description": "This is always `sql#instance`.", +"type": "string" +}, +"maintenanceVersion": { +"description": "The current software version on the instance.", +"type": "string" +}, +"masterInstanceName": { +"description": "The name of the instance which will act as primary in the replication setup.", +"type": "string" +}, +"maxDiskSize": { +"deprecated": true, +"description": "The maximum disk size of the instance in bytes.", +"format": "int64", +"type": "string" +}, +"name": { +"description": "Name of the Cloud SQL instance. This does not include the project ID.", +"type": "string" +}, +"nodeCount": { +"description": "The number of read pool nodes in a read pool.", +"format": "int32", +"type": "integer" +}, +"nodes": { +"description": "Output only. Entries containing information about each read pool node of the read pool.", +"items": { +"$ref": "PoolNodeConfig" +}, +"readOnly": true, +"type": "array" +}, +"onPremisesConfiguration": { +"$ref": "OnPremisesConfiguration", +"description": "Configuration specific to on-premises instances." +}, +"outOfDiskReport": { +"$ref": "SqlOutOfDiskReport", +"description": "This field represents the report generated by the proactive database wellness job for OutOfDisk issues. * Writers: * the proactive database wellness job for OOD. * Readers: * the proactive database wellness job" +}, +"primaryDnsName": { +"deprecated": true, +"description": "Output only. DEPRECATED: please use write_endpoint instead.", +"readOnly": true, +"type": "string" +}, +"project": { +"description": "The project ID of the project containing the Cloud SQL instance. The Google apps domain is prefixed if applicable.", +"type": "string" +}, +"pscServiceAttachmentLink": { +"description": "Output only. The link to service attachment of PSC instance.", +"readOnly": true, +"type": "string" +}, +"region": { +"description": "The geographical region of the Cloud SQL instance. It can be one of the [regions](https://cloud.google.com/sql/docs/mysql/locations#location-r) where Cloud SQL operates: For example, `asia-east1`, `europe-west1`, and `us-central1`. The default value is `us-central1`.", +"type": "string" +}, +"replicaConfiguration": { +"$ref": "ReplicaConfiguration", +"description": "Configuration specific to failover replicas and read replicas." +}, +"replicaNames": { +"description": "The replicas of the instance.", +"items": { +"type": "string" +}, +"type": "array" +}, +"replicationCluster": { +"$ref": "ReplicationCluster", +"description": "A primary instance and disaster recovery (DR) replica pair. A DR replica is a cross-region replica that you designate for failover in the event that the primary instance experiences regional failure. Applicable to MySQL and PostgreSQL." +}, +"rootPassword": { +"description": "Initial root password. Use only on creation. You must set root passwords before you can connect to PostgreSQL instances.", +"type": "string" +}, +"satisfiesPzi": { +"description": "Output only. This status indicates whether the instance satisfies PZI. The status is reserved for future use.", +"readOnly": true, +"type": "boolean" +}, +"satisfiesPzs": { +"description": "This status indicates whether the instance satisfies PZS. The status is reserved for future use.", +"type": "boolean" +}, +"scheduledMaintenance": { +"$ref": "SqlScheduledMaintenance", +"description": "The start time of any upcoming scheduled maintenance for this instance." +}, +"secondaryGceZone": { +"description": "The Compute Engine zone that the failover instance is currently serving from for a regional instance. This value could be different from the zone that was specified when the instance was created if the instance has failed over to its secondary/failover zone.", +"type": "string" +}, +"selfLink": { +"description": "The URI of this resource.", +"type": "string" +}, +"serverCaCert": { +"$ref": "SslCert", +"description": "SSL configuration." +}, +"serviceAccountEmailAddress": { +"description": "The service account email address assigned to the instance. \\This property is read-only.", +"type": "string" +}, +"settings": { +"$ref": "Settings", +"description": "The user settings." +}, +"sqlNetworkArchitecture": { +"description": "The SQL network architecture for the instance.", +"enum": [ +"SQL_NETWORK_ARCHITECTURE_UNSPECIFIED", +"NEW_NETWORK_ARCHITECTURE", +"OLD_NETWORK_ARCHITECTURE" +], +"enumDescriptions": [ +"", +"The instance uses the new network architecture.", +"The instance uses the old network architecture." +], +"type": "string" +}, +"state": { +"description": "The current serving state of the Cloud SQL instance.", +"enum": [ +"SQL_INSTANCE_STATE_UNSPECIFIED", +"RUNNABLE", +"SUSPENDED", +"PENDING_DELETE", +"PENDING_CREATE", +"MAINTENANCE", +"FAILED", +"ONLINE_MAINTENANCE", +"REPAIRING" +], +"enumDeprecated": [ +false, +false, +false, +false, +false, +false, +false, +true, +false +], +"enumDescriptions": [ +"The state of the instance is unknown.", +"The instance is running, or has been stopped by owner.", +"The instance is not available, for example due to problems with billing.", +"The instance is being deleted.", +"The instance is being created.", +"The instance is down for maintenance.", +"The creation of the instance failed or a fatal error occurred during maintenance.", +"Deprecated", +"(Applicable to read pool nodes only.) The read pool node needs to be repaired. The database might be unavailable." +], +"type": "string" +}, +"suspensionReason": { +"description": "If the instance state is SUSPENDED, the reason for the suspension.", +"items": { +"enum": [ +"SQL_SUSPENSION_REASON_UNSPECIFIED", +"BILLING_ISSUE", +"LEGAL_ISSUE", +"OPERATIONAL_ISSUE", +"KMS_KEY_ISSUE" +], +"enumDescriptions": [ +"This is an unknown suspension reason.", +"The instance is suspended due to billing issues (for example:, account issue)", +"The instance is suspended due to illegal content (for example:, child pornography, copyrighted material, etc.).", +"The instance is causing operational issues (for example:, causing the database to crash).", +"The KMS key used by the instance is either revoked or denied access to" +], +"type": "string" +}, +"type": "array" +}, +"switchTransactionLogsToCloudStorageEnabled": { +"description": "Input only. Whether Cloud SQL is enabled to switch storing point-in-time recovery log files from a data disk to Cloud Storage.", +"type": "boolean" +}, +"tags": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. Input only. Immutable. Tag keys and tag values that are bound to this instance. You must represent each item in the map as: `\"\" : \"\"`. For example, a single resource can have the following tags: ``` \"123/environment\": \"production\", \"123/costCenter\": \"marketing\", ``` For more information on tag creation and management, see https://cloud.google.com/resource-manager/docs/tags/tags-overview.", +"type": "object" +}, +"upgradableDatabaseVersions": { +"description": "Output only. All database versions that are available for upgrade.", +"items": { +"$ref": "AvailableDatabaseVersion" +}, +"readOnly": true, +"type": "array" +}, +"writeEndpoint": { +"description": "Output only. The dns name of the primary instance in a replication group.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"DatabasesListResponse": { +"description": "Database list response.", +"id": "DatabasesListResponse", +"properties": { +"items": { +"description": "List of database resources in the instance.", +"items": { +"$ref": "Database" +}, +"type": "array" +}, +"kind": { +"description": "This is always `sql#databasesList`.", +"type": "string" +} +}, +"type": "object" +}, +"DemoteContext": { +"description": "This context is used to demote an existing standalone instance to be a Cloud SQL read replica for an external database server.", +"id": "DemoteContext", +"properties": { +"kind": { +"description": "This is always `sql#demoteContext`.", +"type": "string" +}, +"sourceRepresentativeInstanceName": { +"description": "Required. The name of the instance which acts as an on-premises primary instance in the replication setup.", +"type": "string" +} +}, +"type": "object" +}, +"DemoteMasterConfiguration": { +"description": "Read-replica configuration for connecting to the on-premises primary instance.", +"id": "DemoteMasterConfiguration", +"properties": { +"kind": { +"description": "This is always `sql#demoteMasterConfiguration`.", +"type": "string" +}, +"mysqlReplicaConfiguration": { +"$ref": "DemoteMasterMySqlReplicaConfiguration", +"description": "MySQL specific configuration when replicating from a MySQL on-premises primary instance. Replication configuration information such as the username, password, certificates, and keys are not stored in the instance metadata. The configuration information is used only to set up the replication connection and is stored by MySQL in a file named `master.info` in the data directory." +} +}, +"type": "object" +}, +"DemoteMasterContext": { +"description": "Database instance demote primary instance context.", +"id": "DemoteMasterContext", +"properties": { +"kind": { +"description": "This is always `sql#demoteMasterContext`.", +"type": "string" +}, +"masterInstanceName": { +"description": "The name of the instance which will act as on-premises primary instance in the replication setup.", +"type": "string" +}, +"replicaConfiguration": { +"$ref": "DemoteMasterConfiguration", +"description": "Configuration specific to read-replicas replicating from the on-premises primary instance." +}, +"skipReplicationSetup": { +"description": "Flag to skip replication setup on the instance.", +"type": "boolean" +}, +"verifyGtidConsistency": { +"description": "Verify the GTID consistency for demote operation. Default value: `True`. Setting this flag to `false` enables you to bypass the GTID consistency check between on-premises primary instance and Cloud SQL instance during the demotion operation but also exposes you to the risk of future replication failures. Change the value only if you know the reason for the GTID divergence and are confident that doing so will not cause any replication issues.", +"type": "boolean" +} +}, +"type": "object" +}, +"DemoteMasterMySqlReplicaConfiguration": { +"description": "Read-replica configuration specific to MySQL databases.", +"id": "DemoteMasterMySqlReplicaConfiguration", +"properties": { +"caCertificate": { +"description": "PEM representation of the trusted CA's x509 certificate.", +"type": "string" +}, +"clientCertificate": { +"description": "PEM representation of the replica's x509 certificate.", +"type": "string" +}, +"clientKey": { +"description": "PEM representation of the replica's private key. The corresponding public key is encoded in the client's certificate. The format of the replica's private key can be either PKCS #1 or PKCS #8.", +"type": "string" +}, +"kind": { +"description": "This is always `sql#demoteMasterMysqlReplicaConfiguration`.", +"type": "string" +}, +"password": { +"description": "The password for the replication connection.", +"type": "string" +}, +"username": { +"description": "The username for the replication connection.", +"type": "string" +} +}, +"type": "object" +}, +"DenyMaintenancePeriod": { +"description": "Deny Maintenance Periods. This specifies a date range during when all CSA rollout will be denied.", +"id": "DenyMaintenancePeriod", +"properties": { +"endDate": { +"description": "\"deny maintenance period\" end date. If the year of the end date is empty, the year of the start date also must be empty. In this case, it means the deny maintenance period recurs every year. The date is in format yyyy-mm-dd i.e., 2020-11-01, or mm-dd, i.e., 11-01", +"type": "string" +}, +"startDate": { +"description": "\"deny maintenance period\" start date. If the year of the start date is empty, the year of the end date also must be empty. In this case, it means the deny maintenance period recurs every year. The date is in format yyyy-mm-dd i.e., 2020-11-01, or mm-dd, i.e., 11-01", +"type": "string" +}, +"time": { +"description": "Time in UTC when the \"deny maintenance period\" starts on start_date and ends on end_date. The time is in format: HH:mm:SS, i.e., 00:00:00", +"type": "string" +} +}, +"type": "object" +}, +"DiskEncryptionConfiguration": { +"description": "Disk encryption configuration for an instance.", +"id": "DiskEncryptionConfiguration", +"properties": { +"kind": { +"description": "This is always `sql#diskEncryptionConfiguration`.", +"type": "string" +}, +"kmsKeyName": { +"description": "Resource name of KMS key for disk encryption", +"type": "string" +} +}, +"type": "object" +}, +"DiskEncryptionStatus": { +"description": "Disk encryption status for an instance.", +"id": "DiskEncryptionStatus", +"properties": { +"kind": { +"description": "This is always `sql#diskEncryptionStatus`.", +"type": "string" +}, +"kmsKeyVersionName": { +"description": "KMS key version used to encrypt the Cloud SQL instance resource", +"type": "string" +} +}, +"type": "object" +}, +"DnsNameMapping": { +"description": "DNS metadata.", +"id": "DnsNameMapping", +"properties": { +"connectionType": { +"description": "Output only. The connection type of the DNS name.", +"enum": [ +"CONNECTION_TYPE_UNSPECIFIED", +"PUBLIC", +"PRIVATE_SERVICES_ACCESS", +"PRIVATE_SERVICE_CONNECT" +], +"enumDescriptions": [ +"Unknown connection type.", +"Public IP.", +"Private services access (private IP).", +"Private Service Connect." +], +"readOnly": true, +"type": "string" +}, +"dnsScope": { +"description": "Output only. The scope that the DNS name applies to.", +"enum": [ +"DNS_SCOPE_UNSPECIFIED", +"INSTANCE", +"CLUSTER" +], +"enumDescriptions": [ +"DNS scope not set. This value should not be used.", +"Indicates an instance-level DNS name.", +"Indicates a cluster-level DNS name." +], +"readOnly": true, +"type": "string" +}, +"name": { +"description": "Output only. The DNS name.", +"readOnly": true, +"type": "string" +}, +"recordManager": { +"description": "Output only. The manager for this DNS record.", +"enum": [ +"RECORD_MANAGER_UNSPECIFIED", +"CUSTOMER", +"CLOUD_SQL_AUTOMATION" +], +"enumDescriptions": [ +"Record manager not set. This value should not be used.", +"The record may be managed by the customer. It is not automatically managed by Cloud SQL automation.", +"The record is managed by Cloud SQL, which will create, update, and delete the DNS records for the zone automatically when the Cloud SQL database instance is created or updated." +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"Empty": { +"description": "A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }", +"id": "Empty", +"properties": {}, +"type": "object" +}, +"ExecuteSqlPayload": { +"description": "The request payload used to execute SQL statements.", +"id": "ExecuteSqlPayload", +"properties": { +"application": { +"description": "Optional. Specifies the name of the application that is making the request. This field is used for telemetry. Only alphanumeric characters, dashes, and underscores are allowed. The maximum length is 32 characters.", +"type": "string" +}, +"autoIamAuthn": { +"description": "Optional. When set to true, the API caller identity associated with the request is used for database authentication. The API caller must be an IAM user in the database.", +"type": "boolean" +}, +"database": { +"description": "Optional. Name of the database on which the statement will be executed.", +"type": "string" +}, +"partialResultMode": { +"description": "Optional. Controls how the API should respond when the SQL execution result is incomplete due to the size limit or another error. The default mode is to throw an error.", +"enum": [ +"PARTIAL_RESULT_MODE_UNSPECIFIED", +"FAIL_PARTIAL_RESULT", +"ALLOW_PARTIAL_RESULT" +], +"enumDescriptions": [ +"Unspecified mode, effectively the same as `FAIL_PARTIAL_RESULT`.", +"Throw an error if the result exceeds 10 MB or if only a partial result can be retrieved. Don't return the result.", +"Return a truncated result and set `partial_result` to true if the result exceeds 10 MB or if only a partial result can be retrieved due to error. Don't throw an error." +], +"type": "string" +}, +"rowLimit": { +"description": "Optional. The maximum number of rows returned per SQL statement.", +"format": "int64", +"type": "string" +}, +"sqlStatement": { +"description": "Required. SQL statements to run on the database. It can be a single statement or a sequence of statements separated by semicolons.", +"type": "string" +}, +"user": { +"description": "Optional. The name of an existing database user to connect to the database. When `auto_iam_authn` is set to true, this field is ignored and the API caller's IAM user is used.", +"type": "string" +} +}, +"type": "object" +}, +"ExportContext": { +"description": "Database instance export context.", +"id": "ExportContext", +"properties": { +"bakExportOptions": { +"description": "Options for exporting BAK files (SQL Server-only)", +"properties": { +"bakType": { +"description": "Type of this bak file will be export, FULL or DIFF, SQL Server only", +"enum": [ +"BAK_TYPE_UNSPECIFIED", +"FULL", +"DIFF", +"TLOG" +], +"enumDescriptions": [ +"Default type.", +"Full backup.", +"Differential backup.", +"SQL Server Transaction Log" +], +"type": "string" +}, +"copyOnly": { +"deprecated": true, +"description": "Deprecated: copy_only is deprecated. Use differential_base instead", +"type": "boolean" +}, +"differentialBase": { +"description": "Whether or not the backup can be used as a differential base copy_only backup can not be served as differential base", +"type": "boolean" +}, +"exportLogEndTime": { +"description": "Optional. The end timestamp when transaction log will be included in the export operation. [RFC 3339](https://tools.ietf.org/html/rfc3339) format (for example, `2023-10-01T16:19:00.094`) in UTC. When omitted, all available logs until current time will be included. Only applied to Cloud SQL for SQL Server.", +"format": "google-datetime", +"type": "string" +}, +"exportLogStartTime": { +"description": "Optional. The begin timestamp when transaction log will be included in the export operation. [RFC 3339](https://tools.ietf.org/html/rfc3339) format (for example, `2023-10-01T16:19:00.094`) in UTC. When omitted, all available logs from the beginning of retention period will be included. Only applied to Cloud SQL for SQL Server.", +"format": "google-datetime", +"type": "string" +}, +"stripeCount": { +"description": "Option for specifying how many stripes to use for the export. If blank, and the value of the striped field is true, the number of stripes is automatically chosen.", +"format": "int32", +"type": "integer" +}, +"striped": { +"description": "Whether or not the export should be striped.", +"type": "boolean" +} +}, +"type": "object" +}, +"csvExportOptions": { +"description": "Options for exporting data as CSV. `MySQL` and `PostgreSQL` instances only.", +"properties": { +"escapeCharacter": { +"description": "Specifies the character that should appear before a data character that needs to be escaped.", +"type": "string" +}, +"fieldsTerminatedBy": { +"description": "Specifies the character that separates columns within each row (line) of the file.", +"type": "string" +}, +"linesTerminatedBy": { +"description": "This is used to separate lines. If a line does not contain all fields, the rest of the columns are set to their default values.", +"type": "string" +}, +"quoteCharacter": { +"description": "Specifies the quoting character to be used when a data value is quoted.", +"type": "string" +}, +"selectQuery": { +"description": "The select query used to extract the data.", +"type": "string" +} +}, +"type": "object" +}, +"databases": { +"description": "Databases to be exported. `MySQL instances:` If `fileType` is `SQL` and no database is specified, all databases are exported, except for the `mysql` system database. If `fileType` is `CSV`, you can specify one database, either by using this property or by using the `csvExportOptions.selectQuery` property, which takes precedence over this property. `PostgreSQL instances:` If you don't specify a database by name, all user databases in the instance are exported. This excludes system databases and Cloud SQL databases used to manage internal operations. Exporting all user databases is only available for directory-formatted parallel export. If `fileType` is `CSV`, this database must match the one specified in the `csvExportOptions.selectQuery` property. `SQL Server instances:` You must specify one database to be exported, and the `fileType` must be `BAK`.", +"items": { +"type": "string" +}, +"type": "array" +}, +"fileType": { +"description": "The file type for the specified uri.", +"enum": [ +"SQL_FILE_TYPE_UNSPECIFIED", +"SQL", +"CSV", +"BAK", +"TDE" +], +"enumDescriptions": [ +"Unknown file type.", +"File containing SQL statements.", +"File in CSV format.", +"", +"TDE certificate." +], +"type": "string" +}, +"kind": { +"description": "This is always `sql#exportContext`.", +"type": "string" +}, +"offload": { +"description": "Whether to perform a serverless export.", +"type": "boolean" +}, +"sqlExportOptions": { +"description": "Options for exporting data as SQL statements.", +"properties": { +"mysqlExportOptions": { +"description": "Options for exporting from MySQL.", +"properties": { +"masterData": { +"description": "Option to include SQL statement required to set up replication. If set to `1`, the dump file includes a CHANGE MASTER TO statement with the binary log coordinates, and --set-gtid-purged is set to ON. If set to `2`, the CHANGE MASTER TO statement is written as a SQL comment and has no effect. If set to any value other than `1`, --set-gtid-purged is set to OFF.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"parallel": { +"description": "Optional. Whether or not the export should be parallel.", +"type": "boolean" +}, +"postgresExportOptions": { +"description": "Options for exporting from a Cloud SQL for PostgreSQL instance.", +"properties": { +"clean": { +"description": "Optional. Use this option to include DROP SQL statements. Use these statements to delete database objects before running the import operation.", +"type": "boolean" +}, +"ifExists": { +"description": "Optional. Option to include an IF EXISTS SQL statement with each DROP statement produced by clean.", +"type": "boolean" +} +}, +"type": "object" +}, +"schemaOnly": { +"description": "Export only schemas.", +"type": "boolean" +}, +"tables": { +"description": "Tables to export, or that were exported, from the specified database. If you specify tables, specify one and only one database. For PostgreSQL instances, you can specify only one table.", +"items": { +"type": "string" +}, +"type": "array" +}, +"threads": { +"description": "Optional. The number of threads to use for parallel export.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"tdeExportOptions": { +"description": "Optional. Export parameters specific to SQL Server TDE certificates", +"properties": { +"certificatePath": { +"description": "Required. Path to the TDE certificate public key in the form gs://bucketName/fileName. The instance must have write access to the location. Applicable only for SQL Server instances.", +"type": "string" +}, +"name": { +"description": "Required. Certificate name. Applicable only for SQL Server instances.", +"type": "string" +}, +"privateKeyPassword": { +"description": "Required. Password that encrypts the private key.", +"type": "string" +}, +"privateKeyPath": { +"description": "Required. Path to the TDE certificate private key in the form gs://bucketName/fileName. The instance must have write access to the location. Applicable only for SQL Server instances.", +"type": "string" +} +}, +"type": "object" +}, +"uri": { +"description": "The path to the file in Google Cloud Storage where the export will be stored. The URI is in the form `gs://bucketName/fileName`. If the file already exists, the request succeeds, but the operation fails. If `fileType` is `SQL` and the filename ends with .gz, the contents are compressed.", +"type": "string" +} +}, +"type": "object" +}, +"ExternalSyncSelectedObject": { +"description": "The selected object that Cloud SQL migrates.", +"id": "ExternalSyncSelectedObject", +"properties": { +"database": { +"description": "The name of the database that Cloud SQL migrates.", +"type": "string" +} +}, +"type": "object" +}, +"FailoverContext": { +"description": "Database instance failover context.", +"id": "FailoverContext", +"properties": { +"kind": { +"description": "This is always `sql#failoverContext`.", +"type": "string" +}, +"settingsVersion": { +"description": "The current settings version of this instance. Request will be rejected if this version doesn't match the current settings version.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"FinalBackupConfig": { +"description": "Config used to determine the final backup settings for the instance.", +"id": "FinalBackupConfig", +"properties": { +"enabled": { +"description": "Whether the final backup is enabled for the instance.", +"type": "boolean" +}, +"retentionDays": { +"description": "The number of days to retain the final backup after the instance deletion. The final backup will be purged at (time_of_instance_deletion + retention_days).", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"Flag": { +"description": "A flag resource.", +"id": "Flag", +"properties": { +"allowedIntValues": { +"description": "Use this field if only certain integers are accepted. Can be combined with min_value and max_value to add additional values.", +"items": { +"format": "int64", +"type": "string" +}, +"type": "array" +}, +"allowedStringValues": { +"description": "For `STRING` flags, a list of strings that the value can be set to.", +"items": { +"type": "string" +}, +"type": "array" +}, +"appliesTo": { +"description": "The database version this flag applies to. Can be MySQL instances: `MYSQL_8_0`, `MYSQL_8_0_18`, `MYSQL_8_0_26`, `MYSQL_5_7`, or `MYSQL_5_6`. PostgreSQL instances: `POSTGRES_9_6`, `POSTGRES_10`, `POSTGRES_11` or `POSTGRES_12`. SQL Server instances: `SQLSERVER_2017_STANDARD`, `SQLSERVER_2017_ENTERPRISE`, `SQLSERVER_2017_EXPRESS`, `SQLSERVER_2017_WEB`, `SQLSERVER_2019_STANDARD`, `SQLSERVER_2019_ENTERPRISE`, `SQLSERVER_2019_EXPRESS`, or `SQLSERVER_2019_WEB`. See [the complete list](/sql/docs/mysql/admin-api/rest/v1/SqlDatabaseVersion).", +"items": { +"enum": [ +"SQL_DATABASE_VERSION_UNSPECIFIED", +"MYSQL_5_1", +"MYSQL_5_5", +"MYSQL_5_6", +"MYSQL_5_7", +"MYSQL_8_0", +"MYSQL_8_0_18", +"MYSQL_8_0_26", +"MYSQL_8_0_27", +"MYSQL_8_0_28", +"MYSQL_8_0_29", +"MYSQL_8_0_30", +"MYSQL_8_0_31", +"MYSQL_8_0_32", +"MYSQL_8_0_33", +"MYSQL_8_0_34", +"MYSQL_8_0_35", +"MYSQL_8_0_36", +"MYSQL_8_0_37", +"MYSQL_8_0_39", +"MYSQL_8_0_40", +"MYSQL_8_0_41", +"MYSQL_8_0_42", +"MYSQL_8_0_43", +"MYSQL_8_0_44", +"MYSQL_8_0_45", +"MYSQL_8_0_46", +"MYSQL_8_4", +"MYSQL_9_7", +"SQLSERVER_2017_STANDARD", +"SQLSERVER_2017_ENTERPRISE", +"SQLSERVER_2017_EXPRESS", +"SQLSERVER_2017_WEB", +"POSTGRES_9_6", +"POSTGRES_10", +"POSTGRES_11", +"POSTGRES_12", +"POSTGRES_13", +"POSTGRES_14", +"POSTGRES_15", +"POSTGRES_16", +"POSTGRES_17", +"POSTGRES_18", +"SQLSERVER_2019_STANDARD", +"SQLSERVER_2019_ENTERPRISE", +"SQLSERVER_2019_EXPRESS", +"SQLSERVER_2019_WEB", +"SQLSERVER_2022_STANDARD", +"SQLSERVER_2022_ENTERPRISE", +"SQLSERVER_2022_EXPRESS", +"SQLSERVER_2022_WEB", +"SQLSERVER_2025_STANDARD", +"SQLSERVER_2025_ENTERPRISE", +"SQLSERVER_2025_EXPRESS" +], +"enumDeprecated": [ +false, +true, +true, +false, +false, +false, +false, +false, +false, +false, +true, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false +], +"enumDescriptions": [ +"This is an unknown database version.", +"The database version is MySQL 5.1.", +"The database version is MySQL 5.5.", +"The database version is MySQL 5.6.", +"The database version is MySQL 5.7.", +"The database version is MySQL 8.", +"The database major version is MySQL 8.0 and the minor version is 18.", +"The database major version is MySQL 8.0 and the minor version is 26.", +"The database major version is MySQL 8.0 and the minor version is 27.", +"The database major version is MySQL 8.0 and the minor version is 28.", +"The database major version is MySQL 8.0 and the minor version is 29.", +"The database major version is MySQL 8.0 and the minor version is 30.", +"The database major version is MySQL 8.0 and the minor version is 31.", +"The database major version is MySQL 8.0 and the minor version is 32.", +"The database major version is MySQL 8.0 and the minor version is 33.", +"The database major version is MySQL 8.0 and the minor version is 34.", +"The database major version is MySQL 8.0 and the minor version is 35.", +"The database major version is MySQL 8.0 and the minor version is 36.", +"The database major version is MySQL 8.0 and the minor version is 37.", +"The database major version is MySQL 8.0 and the minor version is 39.", +"The database major version is MySQL 8.0 and the minor version is 40.", +"The database major version is MySQL 8.0 and the minor version is 41.", +"The database major version is MySQL 8.0 and the minor version is 42.", +"The database major version is MySQL 8.0 and the minor version is 43.", +"The database major version is MySQL 8.0 and the minor version is 44.", +"The database major version is MySQL 8.0 and the minor version is 45.", +"The database major version is MySQL 8.0 and the minor version is 46.", +"The database version is MySQL 8.4.", +"The database version is MySQL 9.7.", +"The database version is SQL Server 2017 Standard.", +"The database version is SQL Server 2017 Enterprise.", +"The database version is SQL Server 2017 Express.", +"The database version is SQL Server 2017 Web.", +"The database version is PostgreSQL 9.6.", +"The database version is PostgreSQL 10.", +"The database version is PostgreSQL 11.", +"The database version is PostgreSQL 12.", +"The database version is PostgreSQL 13.", +"The database version is PostgreSQL 14.", +"The database version is PostgreSQL 15.", +"The database version is PostgreSQL 16.", +"The database version is PostgreSQL 17.", +"The database version is PostgreSQL 18.", +"The database version is SQL Server 2019 Standard.", +"The database version is SQL Server 2019 Enterprise.", +"The database version is SQL Server 2019 Express.", +"The database version is SQL Server 2019 Web.", +"The database version is SQL Server 2022 Standard.", +"The database version is SQL Server 2022 Enterprise.", +"The database version is SQL Server 2022 Express.", +"The database version is SQL Server 2022 Web.", +"The database version is SQL Server 2025 Standard.", +"The database version is SQL Server 2025 Enterprise.", +"The database version is SQL Server 2025 Express." +], +"type": "string" +}, +"type": "array" +}, +"flagScope": { +"description": "Scope of flag.", +"enum": [ +"SQL_FLAG_SCOPE_UNSPECIFIED", +"SQL_FLAG_SCOPE_DATABASE", +"SQL_FLAG_SCOPE_CONNECTION_POOL" +], +"enumDescriptions": [ +"Assume database flags if unspecified", +"database flags", +"connection pool configuration flags" +], +"type": "string" +}, +"inBeta": { +"description": "Whether or not the flag is considered in beta.", +"type": "boolean" +}, +"kind": { +"description": "This is always `sql#flag`.", +"type": "string" +}, +"maxValue": { +"description": "For `INTEGER` flags, the maximum allowed value.", +"format": "int64", +"type": "string" +}, +"minValue": { +"description": "For `INTEGER` flags, the minimum allowed value.", +"format": "int64", +"type": "string" +}, +"name": { +"description": "This is the name of the flag. Flag names always use underscores, not hyphens, for example: `max_allowed_packet`", +"type": "string" +}, +"recommendedIntValue": { +"description": "Recommended flag value in integer format for UI display.", +"format": "int64", +"type": "string" +}, +"recommendedStringValue": { +"description": "Recommended flag value in string format for UI display.", +"type": "string" +}, +"requiresRestart": { +"description": "Indicates whether changing this flag will trigger a database restart. Only applicable to Second Generation instances.", +"type": "boolean" +}, +"type": { +"description": "The type of the flag. Flags are typed to being `BOOLEAN`, `STRING`, `INTEGER` or `NONE`. `NONE` is used for flags which do not take a value, such as `skip_grant_tables`.", +"enum": [ +"SQL_FLAG_TYPE_UNSPECIFIED", +"BOOLEAN", +"STRING", +"INTEGER", +"NONE", +"MYSQL_TIMEZONE_OFFSET", +"FLOAT", +"REPEATED_STRING" +], +"enumDescriptions": [ +"This is an unknown flag type.", +"Boolean type flag.", +"String type flag.", +"Integer type flag.", +"Flag type used for a server startup option.", +"Type introduced specially for MySQL TimeZone offset. Accept a string value with the format [-12:59, 13:00].", +"Float type flag.", +"Comma-separated list of the strings in a SqlFlagType enum." +], +"type": "string" +} +}, +"type": "object" +}, +"FlagsListResponse": { +"description": "Flags list response.", +"id": "FlagsListResponse", +"properties": { +"items": { +"description": "List of flags.", +"items": { +"$ref": "Flag" +}, +"type": "array" +}, +"kind": { +"description": "This is always `sql#flagsList`.", +"type": "string" +} +}, +"type": "object" +}, +"GeminiInstanceConfig": { +"description": "Gemini instance configuration.", +"id": "GeminiInstanceConfig", +"properties": { +"activeQueryEnabled": { +"description": "Output only. Whether the active query is enabled.", +"readOnly": true, +"type": "boolean" +}, +"entitled": { +"description": "Output only. Whether Gemini is enabled.", +"readOnly": true, +"type": "boolean" +}, +"flagRecommenderEnabled": { +"description": "Output only. Whether the flag recommender is enabled.", +"readOnly": true, +"type": "boolean" +}, +"googleVacuumMgmtEnabled": { +"description": "Output only. Whether the vacuum management is enabled.", +"readOnly": true, +"type": "boolean" +}, +"indexAdvisorEnabled": { +"description": "Output only. Whether the index advisor is enabled.", +"readOnly": true, +"type": "boolean" +}, +"oomSessionCancelEnabled": { +"description": "Output only. Whether canceling the out-of-memory (OOM) session is enabled.", +"readOnly": true, +"type": "boolean" +} +}, +"type": "object" +}, +"GenerateEphemeralCertRequest": { +"description": "Ephemeral certificate creation request.", +"id": "GenerateEphemeralCertRequest", +"properties": { +"access_token": { +"description": "Optional. Access token to include in the signed certificate.", +"type": "string" +}, +"public_key": { +"description": "PEM encoded public key to include in the signed certificate.", +"type": "string" +}, +"readTime": { +"description": "Optional. Optional snapshot read timestamp to trade freshness for performance.", +"format": "google-datetime", +"type": "string" +}, +"validDuration": { +"description": "Optional. If set, it will contain the cert valid duration.", +"format": "google-duration", +"type": "string" +} +}, +"type": "object" +}, +"GenerateEphemeralCertResponse": { +"description": "Ephemeral certificate creation request.", +"id": "GenerateEphemeralCertResponse", +"properties": { +"ephemeralCert": { +"$ref": "SslCert", +"description": "Generated cert" +} +}, +"type": "object" +}, +"ImportContext": { +"description": "Database instance import context.", +"id": "ImportContext", +"properties": { +"bakImportOptions": { +"description": "Import parameters specific to SQL Server .BAK files", +"properties": { +"bakType": { +"description": "Type of the bak content, FULL or DIFF.", +"enum": [ +"BAK_TYPE_UNSPECIFIED", +"FULL", +"DIFF", +"TLOG" +], +"enumDescriptions": [ +"Default type.", +"Full backup.", +"Differential backup.", +"SQL Server Transaction Log" +], +"type": "string" +}, +"encryptionOptions": { +"properties": { +"certPath": { +"description": "Path to the Certificate (.cer) in Cloud Storage, in the form `gs://bucketName/fileName`. The instance must have write permissions to the bucket and read access to the file.", +"type": "string" +}, +"keepEncrypted": { +"description": "Optional. Whether the imported file remains encrypted.", +"type": "boolean" +}, +"pvkPassword": { +"description": "Password that encrypts the private key", +"type": "string" +}, +"pvkPath": { +"description": "Path to the Certificate Private Key (.pvk) in Cloud Storage, in the form `gs://bucketName/fileName`. The instance must have write permissions to the bucket and read access to the file.", +"type": "string" +} +}, +"type": "object" +}, +"noRecovery": { +"description": "Whether or not the backup importing will restore database with NORECOVERY option. Applies only to Cloud SQL for SQL Server.", +"type": "boolean" +}, +"recoveryOnly": { +"description": "Whether or not the backup importing request will just bring database online without downloading Bak content only one of \"no_recovery\" and \"recovery_only\" can be true otherwise error will return. Applies only to Cloud SQL for SQL Server.", +"type": "boolean" +}, +"stopAt": { +"description": "Optional. The timestamp when the import should stop. This timestamp is in the [RFC 3339](https://tools.ietf.org/html/rfc3339) format (for example, `2023-10-01T16:19:00.094`). This field is equivalent to the STOPAT keyword and applies to Cloud SQL for SQL Server only.", +"format": "google-datetime", +"type": "string" +}, +"stopAtMark": { +"description": "Optional. The marked transaction where the import should stop. This field is equivalent to the STOPATMARK keyword and applies to Cloud SQL for SQL Server only.", +"type": "string" +}, +"striped": { +"description": "Whether or not the backup set being restored is striped. Applies only to Cloud SQL for SQL Server.", +"type": "boolean" +} +}, +"type": "object" +}, +"csvImportOptions": { +"description": "Options for importing data as CSV.", +"properties": { +"columns": { +"description": "The columns to which CSV data is imported. If not specified, all columns of the database table are loaded with CSV data.", +"items": { +"type": "string" +}, +"type": "array" +}, +"escapeCharacter": { +"description": "Specifies the character that should appear before a data character that needs to be escaped.", +"type": "string" +}, +"fieldsTerminatedBy": { +"description": "Specifies the character that separates columns within each row (line) of the file.", +"type": "string" +}, +"linesTerminatedBy": { +"description": "This is used to separate lines. If a line does not contain all fields, the rest of the columns are set to their default values.", +"type": "string" +}, +"quoteCharacter": { +"description": "Specifies the quoting character to be used when a data value is quoted.", +"type": "string" +}, +"table": { +"description": "The table to which CSV data is imported.", +"type": "string" +} +}, +"type": "object" +}, +"database": { +"description": "The target database for the import. If `fileType` is `SQL`, this field is required only if the import file does not specify a database, and is overridden by any database specification in the import file. For entire instance parallel import operations, the database is overridden by the database name stored in subdirectory name. If `fileType` is `CSV`, one database must be specified.", +"type": "string" +}, +"fileType": { +"description": "The file type for the specified uri. * `SQL`: The file contains SQL statements. * `CSV`: The file contains CSV data. * `BAK`: The file contains backup data for a SQL Server instance.", +"enum": [ +"SQL_FILE_TYPE_UNSPECIFIED", +"SQL", +"CSV", +"BAK", +"TDE" +], +"enumDescriptions": [ +"Unknown file type.", +"File containing SQL statements.", +"File in CSV format.", +"", +"TDE certificate." +], +"type": "string" +}, +"importUser": { +"description": "The PostgreSQL user for this import operation. PostgreSQL instances only.", +"type": "string" +}, +"kind": { +"description": "This is always `sql#importContext`.", +"type": "string" +}, +"sqlImportOptions": { +"description": "Optional. Options for importing data from SQL statements.", +"properties": { +"parallel": { +"description": "Optional. Whether or not the import should be parallel.", +"type": "boolean" +}, +"postgresImportOptions": { +"description": "Optional. Options for importing from a Cloud SQL for PostgreSQL instance.", +"properties": { +"clean": { +"description": "Optional. The --clean flag for the pg_restore utility. This flag applies only if you enabled Cloud SQL to import files in parallel.", +"type": "boolean" +}, +"ifExists": { +"description": "Optional. The --if-exists flag for the pg_restore utility. This flag applies only if you enabled Cloud SQL to import files in parallel.", +"type": "boolean" +} +}, +"type": "object" +}, +"threads": { +"description": "Optional. The number of threads to use for parallel import.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"tdeImportOptions": { +"description": "Optional. Import parameters specific to SQL Server .TDE files Import parameters specific to SQL Server TDE certificates", +"properties": { +"certificatePath": { +"description": "Required. Path to the TDE certificate public key in the form gs://bucketName/fileName. The instance must have read access to the file. Applicable only for SQL Server instances.", +"type": "string" +}, +"name": { +"description": "Required. Certificate name. Applicable only for SQL Server instances.", +"type": "string" +}, +"privateKeyPassword": { +"description": "Required. Password that encrypts the private key.", +"type": "string" +}, +"privateKeyPath": { +"description": "Required. Path to the TDE certificate private key in the form gs://bucketName/fileName. The instance must have read access to the file. Applicable only for SQL Server instances.", +"type": "string" +} +}, +"type": "object" +}, +"uri": { +"description": "Path to the import file in Cloud Storage, in the form `gs://bucketName/fileName`. Compressed gzip files (.gz) are supported when `fileType` is `SQL`. The instance must have write permissions to the bucket and read access to the file.", +"type": "string" +} +}, +"type": "object" +}, +"InsightsConfig": { +"description": "Insights configuration. This specifies when Cloud SQL Insights feature is enabled and optional configuration.", +"id": "InsightsConfig", +"properties": { +"enhancedQueryInsightsEnabled": { +"description": "Optional. Whether enhanced query insights feature is enabled.", +"type": "boolean" +}, +"queryInsightsEnabled": { +"description": "Whether Query Insights feature is enabled.", +"type": "boolean" +}, +"queryPlansPerMinute": { +"description": "Number of query execution plans captured by Insights per minute for all queries combined. Default is 5.", +"format": "int32", +"type": "integer" +}, +"queryStringLength": { +"description": "Maximum query length stored in bytes. Default value: 1024 bytes. Range: 256-4500 bytes. Query lengths greater than this field value will be truncated to this value. When unset, query length will be the default value. Changing query length will restart the database.", +"format": "int32", +"type": "integer" +}, +"recordApplicationTags": { +"description": "Whether Query Insights will record application tags from query when enabled.", +"type": "boolean" +}, +"recordClientAddress": { +"description": "Whether Query Insights will record client address when enabled.", +"type": "boolean" +} +}, +"type": "object" +}, +"InstanceReference": { +"description": "Reference to another Cloud SQL instance.", +"id": "InstanceReference", +"properties": { +"name": { +"description": "The name of the Cloud SQL instance being referenced. This does not include the project ID.", +"type": "string" +}, +"project": { +"description": "The project ID of the Cloud SQL instance being referenced. The default is the same project ID as the instance references it.", +"type": "string" +}, +"region": { +"description": "The region of the Cloud SQL instance being referenced.", +"type": "string" +} +}, +"type": "object" +}, +"InstancesAcquireSsrsLeaseRequest": { +"description": "Request to acquire an SSRS lease for an instance.", +"id": "InstancesAcquireSsrsLeaseRequest", +"properties": { +"acquireSsrsLeaseContext": { +"$ref": "AcquireSsrsLeaseContext", +"description": "Contains details about the acquire SSRS lease operation." +} +}, +"type": "object" +}, +"InstancesCloneRequest": { +"description": "Database instance clone request.", +"id": "InstancesCloneRequest", +"properties": { +"cloneContext": { +"$ref": "CloneContext", +"description": "Contains details about the clone operation." +} +}, +"type": "object" +}, +"InstancesDemoteMasterRequest": { +"description": "Database demote primary instance request.", +"id": "InstancesDemoteMasterRequest", +"properties": { +"demoteMasterContext": { +"$ref": "DemoteMasterContext", +"description": "Contains details about the demoteMaster operation." +} +}, +"type": "object" +}, +"InstancesDemoteRequest": { +"description": "This request is used to demote an existing standalone instance to be a Cloud SQL read replica for an external database server.", +"id": "InstancesDemoteRequest", +"properties": { +"demoteContext": { +"$ref": "DemoteContext", +"description": "Required. This context is used to demote an existing standalone instance to be a Cloud SQL read replica for an external database server." +} +}, +"type": "object" +}, +"InstancesExportRequest": { +"description": "Database instance export request.", +"id": "InstancesExportRequest", +"properties": { +"exportContext": { +"$ref": "ExportContext", +"description": "Contains details about the export operation." +} +}, +"type": "object" +}, +"InstancesFailoverRequest": { +"description": "Instance failover request.", +"id": "InstancesFailoverRequest", +"properties": { +"failoverContext": { +"$ref": "FailoverContext", +"description": "Failover Context." +} +}, +"type": "object" +}, +"InstancesImportRequest": { +"description": "Database instance import request.", +"id": "InstancesImportRequest", +"properties": { +"importContext": { +"$ref": "ImportContext", +"description": "Contains details about the import operation." +} +}, +"type": "object" +}, +"InstancesListEntraIdCertificatesResponse": { +"description": "Instances ListEntraIdCertificates response.", +"id": "InstancesListEntraIdCertificatesResponse", +"properties": { +"activeVersion": { +"description": "The `sha1_fingerprint` of the active certificate from `certs`.", +"type": "string" +}, +"certs": { +"description": "List of Entra ID certificates for the instance.", +"items": { +"$ref": "SslCert" +}, +"type": "array" +}, +"kind": { +"description": "This is always `sql#instancesListEntraIdCertificates`.", +"type": "string" +} +}, +"type": "object" +}, +"InstancesListResponse": { +"description": "Database instances list response.", +"id": "InstancesListResponse", +"properties": { +"items": { +"description": "List of database instance resources.", +"items": { +"$ref": "DatabaseInstance" +}, +"type": "array" +}, +"kind": { +"description": "This is always `sql#instancesList`.", +"type": "string" +}, +"nextPageToken": { +"description": "The continuation token, used to page through large result sets. Provide this value in a subsequent request to return the next page of results.", +"type": "string" +}, +"warnings": { +"description": "List of warnings that occurred while handling the request.", +"items": { +"$ref": "ApiWarning" +}, +"type": "array" +} +}, +"type": "object" +}, +"InstancesListServerCasResponse": { +"description": "Instances ListServerCas response.", +"id": "InstancesListServerCasResponse", +"properties": { +"activeVersion": { +"type": "string" +}, +"certs": { +"description": "List of server CA certificates for the instance.", +"items": { +"$ref": "SslCert" +}, +"type": "array" +}, +"kind": { +"description": "This is always `sql#instancesListServerCas`.", +"type": "string" +} +}, +"type": "object" +}, +"InstancesListServerCertificatesResponse": { +"description": "Instances ListServerCertificatess response.", +"id": "InstancesListServerCertificatesResponse", +"properties": { +"activeVersion": { +"description": "The `sha1_fingerprint` of the active certificate from `server_certs`.", +"type": "string" +}, +"caCerts": { +"description": "List of server CA certificates for the instance.", +"items": { +"$ref": "SslCert" +}, +"type": "array" +}, +"kind": { +"description": "This is always `sql#instancesListServerCertificates`.", +"type": "string" +}, +"serverCerts": { +"description": "List of server certificates for the instance, signed by the corresponding CA from the `ca_certs` list.", +"items": { +"$ref": "SslCert" +}, +"type": "array" +} +}, +"type": "object" +}, +"InstancesPreCheckMajorVersionUpgradeRequest": { +"description": "Request for Pre-checks for MVU", +"id": "InstancesPreCheckMajorVersionUpgradeRequest", +"properties": { +"preCheckMajorVersionUpgradeContext": { +"$ref": "PreCheckMajorVersionUpgradeContext", +"description": "Required. Contains details about the pre-check major version upgrade operation." +} +}, +"type": "object" +}, +"InstancesReencryptRequest": { +"description": "Database Instance reencrypt request.", +"id": "InstancesReencryptRequest", +"properties": { +"backupReencryptionConfig": { +"$ref": "BackupReencryptionConfig", +"description": "Configuration specific to backup re-encryption" +} +}, +"type": "object" +}, +"InstancesRestoreBackupRequest": { +"description": "Database instance restore backup request.", +"id": "InstancesRestoreBackupRequest", +"properties": { +"backup": { +"description": "The name of the backup that's used to restore a Cloud SQL instance: Format: projects/{project-id}/backups/{backup-uid}. Only one of restore_backup_context, backup, backupdr_backup can be passed to the input.", +"type": "string" +}, +"backupdrBackup": { +"description": "The name of the backup that's used to restore a Cloud SQL instance: Format: \"projects/{project-id}/locations/{location}/backupVaults/{backupvault}/dataSources/{datasource}/backups/{backup-uid}\". Only one of restore_backup_context, backup, backupdr_backup can be passed to the input.", +"type": "string" +}, +"restoreBackupContext": { +"$ref": "RestoreBackupContext", +"description": "Parameters required to perform the restore backup operation." +}, +"restoreInstanceClearOverridesFieldNames": { +"description": "Optional. This field has the same purpose as restore_instance_settings, changes any instance settings stored in the backup you are restoring from. With the difference that these fields are cleared in the settings.", +"items": { +"type": "string" +}, +"type": "array" +}, +"restoreInstanceSettings": { +"$ref": "DatabaseInstance", +"description": "Optional. By using this parameter, Cloud SQL overrides any instance settings stored in the backup you are restoring from. You can't change the instance's major database version and you can only increase the disk size. You can use this field to restore new instances only. This field is not applicable for restore to existing instances." +} +}, +"type": "object" +}, +"InstancesRotateEntraIdCertificateRequest": { +"description": "Rotate Entra ID Certificate request.", +"id": "InstancesRotateEntraIdCertificateRequest", +"properties": { +"rotateEntraIdCertificateContext": { +"$ref": "RotateEntraIdCertificateContext", +"description": "Optional. Contains details about the rotate Entra ID certificate operation." +} +}, +"type": "object" +}, +"InstancesRotateServerCaRequest": { +"description": "Rotate Server CA request.", +"id": "InstancesRotateServerCaRequest", +"properties": { +"rotateServerCaContext": { +"$ref": "RotateServerCaContext", +"description": "Contains details about the rotate server CA operation." +} +}, +"type": "object" +}, +"InstancesRotateServerCertificateRequest": { +"description": "Rotate Server Certificate request.", +"id": "InstancesRotateServerCertificateRequest", +"properties": { +"rotateServerCertificateContext": { +"$ref": "RotateServerCertificateContext", +"description": "Optional. Contains details about the rotate server CA operation." +} +}, +"type": "object" +}, +"InstancesTruncateLogRequest": { +"description": "Instance truncate log request.", +"id": "InstancesTruncateLogRequest", +"properties": { +"truncateLogContext": { +"$ref": "TruncateLogContext", +"description": "Contains details about the truncate log operation." +} +}, +"type": "object" +}, +"Interval": { +"description": "Represents a time interval, encoded as a Timestamp start (inclusive) and a Timestamp end (exclusive). The start must be less than or equal to the end. When the start equals the end, the interval is empty (matches no time). When both start and end are unspecified, the interval matches any time.", +"id": "Interval", +"properties": { +"endTime": { +"description": "Optional. Exclusive end of the interval. If specified, a Timestamp matching this interval will have to be before the end.", +"format": "google-datetime", +"type": "string" +}, +"startTime": { +"description": "Optional. Inclusive start of the interval. If specified, a Timestamp matching this interval will have to be the same or after the start.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"IpConfiguration": { +"description": "IP Management configuration.", +"id": "IpConfiguration", +"properties": { +"allocatedIpRange": { +"description": "The name of the allocated ip range for the private ip Cloud SQL instance. For example: \"google-managed-services-default\". If set, the instance ip will be created in the allocated range. The range name must comply with [RFC 1035](https://tools.ietf.org/html/rfc1035). Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?.`", +"type": "string" +}, +"authorizedNetworks": { +"description": "The list of external networks that are allowed to connect to the instance using the IP. In 'CIDR' notation, also known as 'slash' notation (for example: `157.197.200.0/24`).", +"items": { +"$ref": "AclEntry" +}, +"type": "array" +}, +"customSubjectAlternativeNames": { +"description": "Optional. Custom Subject Alternative Name(SAN)s for a Cloud SQL instance.", +"items": { +"type": "string" +}, +"type": "array" +}, +"enablePrivatePathForGoogleCloudServices": { +"description": "Controls connectivity to private IP instances from Google services, such as BigQuery.", +"type": "boolean" +}, +"ipv4Enabled": { +"description": "Whether the instance is assigned a public IP address or not.", +"type": "boolean" +}, +"privateNetwork": { +"description": "The resource link for the VPC network from which the Cloud SQL instance is accessible for private IP. For example, `/projects/myProject/global/networks/default`. This setting can be updated, but it cannot be removed after it is set.", +"type": "string" +}, +"pscConfig": { +"$ref": "PscConfig", +"description": "PSC settings for this instance." +}, +"requireSsl": { +"description": "Use `ssl_mode` instead. Whether SSL/TLS connections over IP are enforced. If set to false, then allow both non-SSL/non-TLS and SSL/TLS connections. For SSL/TLS connections, the client certificate won't be verified. If set to true, then only allow connections encrypted with SSL/TLS and with valid client certificates. If you want to enforce SSL/TLS without enforcing the requirement for valid client certificates, then use the `ssl_mode` flag instead of the legacy `require_ssl` flag.", +"type": "boolean" +}, +"serverCaMode": { +"description": "Specify what type of CA is used for the server certificate.", +"enum": [ +"CA_MODE_UNSPECIFIED", +"GOOGLE_MANAGED_INTERNAL_CA", +"GOOGLE_MANAGED_CAS_CA", +"CUSTOMER_MANAGED_CAS_CA" +], +"enumDescriptions": [ +"CA mode is unspecified. It is effectively the same as `GOOGLE_MANAGED_INTERNAL_CA`.", +"Google-managed self-signed internal CA.", +"Google-managed regional CA part of root CA hierarchy hosted on Google Cloud's Certificate Authority Service (CAS).", +"Customer-managed CA hosted on Google Cloud's Certificate Authority Service (CAS)." +], +"type": "string" +}, +"serverCaPool": { +"description": "Optional. The resource name of the server CA pool for an instance with `CUSTOMER_MANAGED_CAS_CA` as the `server_ca_mode`. Format: projects/{PROJECT}/locations/{REGION}/caPools/{CA_POOL_ID}", +"type": "string" +}, +"serverCertificateRotationMode": { +"description": "Optional. Controls the automatic server certificate rotation feature. This feature is disabled by default. When enabled, the server certificate will be automatically rotated during Cloud SQL scheduled maintenance or self-service maintenance updates up to six months before it expires. This setting can only be set if server_ca_mode is either GOOGLE_MANAGED_CAS_CA or CUSTOMER_MANAGED_CAS_CA.", +"enum": [ +"SERVER_CERTIFICATE_ROTATION_MODE_UNSPECIFIED", +"NO_AUTOMATIC_ROTATION", +"AUTOMATIC_ROTATION_DURING_MAINTENANCE" +], +"enumDescriptions": [ +"Unspecified: no automatic server certificate rotation.", +"No automatic server certificate rotation. The user must [manage server certificate rotation](/sql/docs/mysql/manage-ssl-instance#rotate-server-certificate-cas) on their side.", +"Automatic server certificate rotation during Cloud SQL scheduled maintenance or self-service maintenance updates. Requires `server_ca_mode` to be `GOOGLE_MANAGED_CAS_CA` or `CUSTOMER_MANAGED_CAS_CA`." +], +"type": "string" +}, +"sslMode": { +"description": "Specify how SSL/TLS is enforced in database connections. If you must use the `require_ssl` flag for backward compatibility, then only the following value pairs are valid: For PostgreSQL and MySQL: * `ssl_mode=ALLOW_UNENCRYPTED_AND_ENCRYPTED` and `require_ssl=false` * `ssl_mode=ENCRYPTED_ONLY` and `require_ssl=false` * `ssl_mode=TRUSTED_CLIENT_CERTIFICATE_REQUIRED` and `require_ssl=true` For SQL Server: * `ssl_mode=ALLOW_UNENCRYPTED_AND_ENCRYPTED` and `require_ssl=false` * `ssl_mode=ENCRYPTED_ONLY` and `require_ssl=true` The value of `ssl_mode` has priority over the value of `require_ssl`. For example, for the pair `ssl_mode=ENCRYPTED_ONLY` and `require_ssl=false`, `ssl_mode=ENCRYPTED_ONLY` means accept only SSL connections, while `require_ssl=false` means accept both non-SSL and SSL connections. In this case, MySQL and PostgreSQL databases respect `ssl_mode` and accepts only SSL connections.", +"enum": [ +"SSL_MODE_UNSPECIFIED", +"ALLOW_UNENCRYPTED_AND_ENCRYPTED", +"ENCRYPTED_ONLY", +"TRUSTED_CLIENT_CERTIFICATE_REQUIRED" +], +"enumDescriptions": [ +"The SSL mode is unknown.", +"Allow non-SSL/non-TLS and SSL/TLS connections. For SSL connections to MySQL and PostgreSQL, the client certificate isn't verified. When this value is used, the legacy `require_ssl` flag must be false or cleared to avoid a conflict between the values of the two flags.", +"Only allow connections encrypted with SSL/TLS. For SSL connections to MySQL and PostgreSQL, the client certificate isn't verified. When this value is used, the legacy `require_ssl` flag must be false or cleared to avoid a conflict between the values of the two flags.", +"Only allow connections encrypted with SSL/TLS and with valid client certificates. When this value is used, the legacy `require_ssl` flag must be true or cleared to avoid the conflict between values of two flags. PostgreSQL clients or users that connect using IAM database authentication must use either the [Cloud SQL Auth Proxy](https://cloud.google.com/sql/docs/postgres/connect-auth-proxy) or [Cloud SQL Connectors](https://cloud.google.com/sql/docs/postgres/connect-connectors) to enforce client identity verification. Only applicable to MySQL and PostgreSQL. Not applicable to SQL Server." +], +"type": "string" +} +}, +"type": "object" +}, +"IpMapping": { +"description": "Database instance IP mapping", +"id": "IpMapping", +"properties": { +"ipAddress": { +"description": "The IP address assigned.", +"type": "string" +}, +"timeToRetire": { +"description": "The due time for this IP to be retired in [RFC 3339](https://tools.ietf.org/html/rfc3339) format, for example `2012-11-15T16:19:00.094Z`. This field is only available when the IP is scheduled to be retired.", +"format": "google-datetime", +"type": "string" +}, +"type": { +"description": "The type of this IP address. A `PRIMARY` address is a public address that can accept incoming connections. A `PRIVATE` address is a private address that can accept incoming connections. An `OUTGOING` address is the source address of connections originating from the instance, if supported.", +"enum": [ +"SQL_IP_ADDRESS_TYPE_UNSPECIFIED", +"PRIMARY", +"OUTGOING", +"PRIVATE", +"MIGRATED_1ST_GEN" +], +"enumDescriptions": [ +"This is an unknown IP address type.", +"IP address the customer is supposed to connect to. Usually this is the load balancer's IP address", +"Source IP address of the connection a read replica establishes to its external primary instance. This IP address can be allowlisted by the customer in case it has a firewall that filters incoming connection to its on premises primary instance.", +"Private IP used when using private IPs and network peering.", +"V1 IP of a migrated instance. We want the user to decommission this IP as soon as the migration is complete. Note: V1 instances with V1 ip addresses will be counted as PRIMARY." +], +"type": "string" +} +}, +"type": "object" +}, +"ListBackupsResponse": { +"description": "The response payload containing a list of the backups.", +"id": "ListBackupsResponse", +"properties": { +"backups": { +"description": "A list of backups.", +"items": { +"$ref": "Backup" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, then there aren't subsequent pages.", +"type": "string" +}, +"warnings": { +"description": "If a region isn't unavailable or if an unknown error occurs, then a warning message is returned.", +"items": { +"$ref": "ApiWarning" +}, +"type": "array" +} +}, +"type": "object" +}, +"LocationPreference": { +"description": "Preferred location. This specifies where a Cloud SQL instance is located. Note that if the preferred location is not available, the instance will be located as close as possible within the region. Only one location may be specified.", +"id": "LocationPreference", +"properties": { +"followGaeApplication": { +"deprecated": true, +"description": "The App Engine application to follow, it must be in the same region as the Cloud SQL instance. WARNING: Changing this might restart the instance.", +"type": "string" +}, +"kind": { +"description": "This is always `sql#locationPreference`.", +"type": "string" +}, +"secondaryZone": { +"description": "The preferred Compute Engine zone for the secondary/failover (for example: us-central1-a, us-central1-b, etc.). To disable this field, set it to 'no_secondary_zone'.", +"type": "string" +}, +"zone": { +"description": "The preferred Compute Engine zone (for example: us-central1-a, us-central1-b, etc.). WARNING: Changing this might restart the instance.", +"type": "string" +} +}, +"type": "object" +}, +"MaintenanceWindow": { +"description": "Maintenance window. This specifies when a Cloud SQL instance is restarted for system maintenance purposes.", +"id": "MaintenanceWindow", +"properties": { +"day": { +"description": "Day of week - `MONDAY`, `TUESDAY`, `WEDNESDAY`, `THURSDAY`, `FRIDAY`, `SATURDAY`, or `SUNDAY`. Specify in the UTC time zone. Returned in output as an integer, 1 to 7, where `1` equals Monday.", +"format": "int32", +"type": "integer" +}, +"hour": { +"description": "Hour of day - 0 to 23. Specify in the UTC time zone.", +"format": "int32", +"type": "integer" +}, +"kind": { +"description": "This is always `sql#maintenanceWindow`.", +"type": "string" +}, +"updateTrack": { +"description": "Maintenance timing settings: `canary`, `stable`, or `week5`. For more information, see [About maintenance on Cloud SQL instances](https://cloud.google.com/sql/docs/mysql/maintenance).", +"enum": [ +"SQL_UPDATE_TRACK_UNSPECIFIED", +"canary", +"stable", +"week5" +], +"enumDescriptions": [ +"This is an unknown maintenance timing preference.", +"For an instance with a scheduled maintenance window, this maintenance timing indicates that the maintenance update is scheduled 7 to 14 days after the notification is sent out. Also referred to as `Week 1` (Console) and `preview` (gcloud CLI).", +"For an instance with a scheduled maintenance window, this maintenance timing indicates that the maintenance update is scheduled 15 to 21 days after the notification is sent out. Also referred to as `Week 2` (Console) and `production` (gcloud CLI).", +"For instance with a scheduled maintenance window, this maintenance timing indicates that the maintenance update is scheduled 35 to 42 days after the notification is sent out." +], +"type": "string" +} +}, +"type": "object" +}, +"Message": { +"description": "Represents a notice or warning message from the database.", +"id": "Message", +"properties": { +"message": { +"description": "The full message string. For PostgreSQL, this is a formatted string that may include severity, code, and the notice/warning message. For MySQL, this contains the warning message.", +"type": "string" +}, +"severity": { +"description": "The severity of the message (e.g., \"NOTICE\" for PostgreSQL, \"WARNING\" for MySQL).", +"type": "string" +} +}, +"type": "object" +}, +"Metadata": { +"description": "The additional metadata information regarding the execution of the SQL statements.", +"id": "Metadata", +"properties": { +"sqlStatementExecutionTime": { +"description": "The time taken to execute the SQL statements.", +"format": "google-duration", +"type": "string" +} +}, +"type": "object" +}, +"MySqlReplicaConfiguration": { +"description": "Read-replica configuration specific to MySQL databases.", +"id": "MySqlReplicaConfiguration", +"properties": { +"caCertificate": { +"description": "PEM representation of the trusted CA's x509 certificate.", +"type": "string" +}, +"clientCertificate": { +"description": "PEM representation of the replica's x509 certificate.", +"type": "string" +}, +"clientKey": { +"description": "PEM representation of the replica's private key. The corresponding public key is encoded in the client's certificate.", +"type": "string" +}, +"connectRetryInterval": { +"description": "Seconds to wait between connect retries. MySQL's default is 60 seconds.", +"format": "int32", +"type": "integer" +}, +"dumpFilePath": { +"description": "Path to a SQL dump file in Google Cloud Storage from which the replica instance is to be created. The URI is in the form gs://bucketName/fileName. Compressed gzip files (.gz) are also supported. Dumps have the binlog co-ordinates from which replication begins. This can be accomplished by setting --master-data to 1 when using mysqldump.", +"type": "string" +}, +"kind": { +"description": "This is always `sql#mysqlReplicaConfiguration`.", +"type": "string" +}, +"masterHeartbeatPeriod": { +"description": "Interval in milliseconds between replication heartbeats.", +"format": "int64", +"type": "string" +}, +"password": { +"description": "The password for the replication connection.", +"type": "string" +}, +"sslCipher": { +"description": "A list of permissible ciphers to use for SSL encryption.", +"type": "string" +}, +"username": { +"description": "The username for the replication connection.", +"type": "string" +}, +"verifyServerCertificate": { +"description": "Whether or not to check the primary instance's Common Name value in the certificate that it sends during the SSL handshake.", +"type": "boolean" +} +}, +"type": "object" +}, +"MySqlSyncConfig": { +"description": "MySQL-specific external server sync settings.", +"id": "MySqlSyncConfig", +"properties": { +"initialSyncFlags": { +"description": "Flags to use for the initial dump.", +"items": { +"$ref": "SyncFlags" +}, +"type": "array" +} +}, +"type": "object" +}, +"OnPremisesConfiguration": { +"description": "On-premises instance configuration.", +"id": "OnPremisesConfiguration", +"properties": { +"caCertificate": { +"description": "PEM representation of the trusted CA's x509 certificate.", +"type": "string" +}, +"clientCertificate": { +"description": "PEM representation of the replica's x509 certificate.", +"type": "string" +}, +"clientKey": { +"description": "PEM representation of the replica's private key. The corresponding public key is encoded in the client's certificate.", +"type": "string" +}, +"dumpFilePath": { +"description": "The dump file to create the Cloud SQL replica.", +"type": "string" +}, +"hostPort": { +"description": "The host and port of the on-premises instance in host:port format", +"type": "string" +}, +"kind": { +"description": "This is always `sql#onPremisesConfiguration`.", +"type": "string" +}, +"password": { +"description": "The password for connecting to on-premises instance.", +"type": "string" +}, +"selectedObjects": { +"description": "Optional. A list of objects that the user selects for replication from an external source instance.", +"items": { +"$ref": "SelectedObjects" +}, +"type": "array" +}, +"sourceInstance": { +"$ref": "InstanceReference", +"description": "The reference to Cloud SQL instance if the source is Cloud SQL." +}, +"sslOption": { +"description": "Optional. SslOption for replica connection to the on-premises source.", +"enum": [ +"SSL_OPTION_UNSPECIFIED", +"DISABLE", +"REQUIRE", +"VERIFY_CA" +], +"enumDescriptions": [ +"Unknown SSL option i.e. SSL option not specified by user.", +"SSL is disabled for replica connection to the on-premises source.", +"SSL is required for replica connection to the on-premises source.", +"Verify CA is required for replica connection to the on-premises source." +], +"type": "string" +}, +"username": { +"description": "The username for connecting to on-premises instance.", +"type": "string" +} +}, +"type": "object" +}, +"Operation": { +"description": "An Operation resource. For successful operations that return an Operation resource, only the fields relevant to the operation are populated in the resource.", +"id": "Operation", +"properties": { +"acquireSsrsLeaseContext": { +"$ref": "AcquireSsrsLeaseContext", +"description": "The context for acquire SSRS lease operation, if applicable." +}, +"apiWarning": { +"$ref": "ApiWarning", +"description": "An Admin API warning message." +}, +"backupContext": { +"$ref": "BackupContext", +"description": "The context for backup operation, if applicable." +}, +"endTime": { +"description": "The time this operation finished in UTC timezone in [RFC 3339](https://tools.ietf.org/html/rfc3339) format, for example `2012-11-15T16:19:00.094Z`.", +"format": "google-datetime", +"type": "string" +}, +"error": { +"$ref": "OperationErrors", +"description": "If errors occurred during processing of this operation, this field will be populated." +}, +"exportContext": { +"$ref": "ExportContext", +"description": "The context for export operation, if applicable." +}, +"importContext": { +"$ref": "ImportContext", +"description": "The context for import operation, if applicable." +}, +"insertTime": { +"description": "The time this operation was enqueued in UTC timezone in [RFC 3339](https://tools.ietf.org/html/rfc3339) format, for example `2012-11-15T16:19:00.094Z`.", +"format": "google-datetime", +"type": "string" +}, +"kind": { +"description": "This is always `sql#operation`.", +"type": "string" +}, +"name": { +"description": "An identifier that uniquely identifies the operation. You can use this identifier to retrieve the Operations resource that has information about the operation.", +"type": "string" +}, +"operationType": { +"description": "The type of the operation. Valid values are: * `CREATE` * `DELETE` * `UPDATE` * `RESTART` * `IMPORT` * `EXPORT` * `BACKUP_VOLUME` * `RESTORE_VOLUME` * `CREATE_USER` * `DELETE_USER` * `CREATE_DATABASE` * `DELETE_DATABASE`", +"enum": [ +"SQL_OPERATION_TYPE_UNSPECIFIED", +"IMPORT", +"EXPORT", +"CREATE", +"UPDATE", +"DELETE", +"RESTART", +"BACKUP", +"SNAPSHOT", +"BACKUP_VOLUME", +"DELETE_VOLUME", +"RESTORE_VOLUME", +"INJECT_USER", +"CLONE", +"STOP_REPLICA", +"START_REPLICA", +"PROMOTE_REPLICA", +"CREATE_REPLICA", +"CREATE_USER", +"DELETE_USER", +"UPDATE_USER", +"CREATE_DATABASE", +"DELETE_DATABASE", +"UPDATE_DATABASE", +"FAILOVER", +"DELETE_BACKUP", +"RECREATE_REPLICA", +"TRUNCATE_LOG", +"DEMOTE_MASTER", +"MAINTENANCE", +"ENABLE_PRIVATE_IP", +"DEFER_MAINTENANCE", +"CREATE_CLONE", +"RESCHEDULE_MAINTENANCE", +"START_EXTERNAL_SYNC", +"LOG_CLEANUP", +"AUTO_RESTART", +"REENCRYPT", +"SWITCHOVER", +"UPDATE_BACKUP", +"ACQUIRE_SSRS_LEASE", +"RELEASE_SSRS_LEASE", +"RECONFIGURE_OLD_PRIMARY", +"CLUSTER_MAINTENANCE", +"SELF_SERVICE_MAINTENANCE", +"SWITCHOVER_TO_REPLICA", +"MAJOR_VERSION_UPGRADE", +"ADVANCED_BACKUP", +"MANAGE_BACKUP", +"ENHANCED_BACKUP", +"REPAIR_READ_POOL", +"CREATE_READ_POOL" +], +"enumDeprecated": [ +false, +false, +false, +false, +false, +false, +false, +true, +true, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +true, +true, +true, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +true, +true, +false, +false, +true, +false, +false, +false, +false +], +"enumDescriptions": [ +"Unknown operation type.", +"Imports data into a Cloud SQL instance.", +"Exports data from a Cloud SQL instance to a Cloud Storage bucket.", +"Creates a new Cloud SQL instance.", +"Updates the settings of a Cloud SQL instance.", +"Deletes a Cloud SQL instance.", +"Restarts the Cloud SQL instance.", +"", +"", +"Performs instance backup.", +"Deletes an instance backup.", +"Restores an instance backup.", +"Injects a privileged user in mysql for MOB instances.", +"Clones a Cloud SQL instance.", +"Stops replication on a Cloud SQL read replica instance.", +"Starts replication on a Cloud SQL read replica instance.", +"Promotes a Cloud SQL replica instance.", +"Creates a Cloud SQL replica instance.", +"Creates a new user in a Cloud SQL instance.", +"Deletes a user from a Cloud SQL instance.", +"Updates an existing user in a Cloud SQL instance. If a user with the specified username doesn't exist, a new user is created.", +"Creates a database in the Cloud SQL instance.", +"Deletes a database in the Cloud SQL instance.", +"Updates a database in the Cloud SQL instance.", +"Performs failover of an HA-enabled Cloud SQL failover replica.", +"Deletes the backup taken by a backup run.", +"", +"Truncates a general or slow log table in MySQL.", +"Demotes the stand-alone instance to be a Cloud SQL read replica for an external database server.", +"Indicates that the instance is currently in maintenance. Maintenance typically causes the instance to be unavailable for 1-3 minutes.", +"This field is deprecated, and will be removed in future version of API.", +"", +"Creates clone instance.", +"Reschedule maintenance to another time.", +"Starts external sync of a Cloud SQL EM replica to an external primary instance.", +"Recovers logs from an instance's old data disk.", +"Performs auto-restart of an HA-enabled Cloud SQL database for auto recovery.", +"Re-encrypts CMEK instances with latest key version.", +"Switches the roles of the primary and replica pair. The target instance should be the replica.", +"Update a backup.", +"Acquire a lease for the setup of SQL Server Reporting Services (SSRS).", +"Release a lease for the setup of SQL Server Reporting Services (SSRS).", +"Reconfigures old primary after a promote replica operation. Effect of a promote operation to the old primary is executed in this operation, asynchronously from the promote replica operation executed to the replica.", +"Indicates that the instance, its read replicas, and its cascading replicas are in maintenance. Maintenance typically gets initiated on groups of replicas first, followed by the primary instance. For each instance, maintenance typically causes the instance to be unavailable for 1-3 minutes.", +"Indicates that the instance (and any of its replicas) are currently in maintenance. This is initiated as a self-service request by using SSM. Maintenance typically causes the instance to be unavailable for 1-3 minutes.", +"Switches a primary instance to a replica. This operation runs as part of a switchover operation to the original primary instance.", +"Updates the major version of a Cloud SQL instance.", +"Deprecated: ADVANCED_BACKUP is deprecated. Use ENHANCED_BACKUP instead.", +"Changes the BackupTier of a Cloud SQL instance.", +"Creates a backup for an Enhanced BackupTier Cloud SQL instance.", +"Repairs entire read pool or specified read pool nodes in the read pool.", +"Creates a Cloud SQL read pool instance." +], +"type": "string" +}, +"preCheckMajorVersionUpgradeContext": { +"$ref": "PreCheckMajorVersionUpgradeContext", +"description": "The context for pre-check major version upgrade operation, if applicable. This field is only populated when the operation_type is PRE_CHECK_MAJOR_VERSION_UPGRADE. The PreCheckMajorVersionUpgradeContext message itself contains the details for that pre-check, such as the target database version for the upgrade and the results of the check (including any warnings or errors found)." +}, +"selfLink": { +"description": "The URI of this resource.", +"type": "string" +}, +"startTime": { +"description": "The time this operation actually started in UTC timezone in [RFC 3339](https://tools.ietf.org/html/rfc3339) format, for example `2012-11-15T16:19:00.094Z`.", +"format": "google-datetime", +"type": "string" +}, +"status": { +"description": "The status of an operation.", +"enum": [ +"SQL_OPERATION_STATUS_UNSPECIFIED", +"PENDING", +"RUNNING", +"DONE" +], +"enumDescriptions": [ +"The state of the operation is unknown.", +"The operation has been queued, but has not started yet.", +"The operation is running.", +"The operation completed." +], +"type": "string" +}, +"subOperationType": { +"$ref": "SqlSubOperationType", +"description": "Optional. The sub operation based on the operation type." +}, +"targetId": { +"description": "Name of the resource on which this operation runs.", +"type": "string" +}, +"targetLink": { +"type": "string" +}, +"targetProject": { +"description": "The project ID of the target instance related to this operation.", +"type": "string" +}, +"user": { +"description": "The email address of the user who initiated this operation.", +"type": "string" +} +}, +"type": "object" +}, +"OperationError": { +"description": "Database instance operation error.", +"id": "OperationError", +"properties": { +"code": { +"description": "Identifies the specific error that occurred.", +"type": "string" +}, +"kind": { +"description": "This is always `sql#operationError`.", +"type": "string" +}, +"message": { +"description": "Additional information about the error encountered.", +"type": "string" +} +}, +"type": "object" +}, +"OperationErrors": { +"description": "Database instance operation errors list wrapper.", +"id": "OperationErrors", +"properties": { +"errors": { +"description": "The list of errors encountered while processing this operation.", +"items": { +"$ref": "OperationError" +}, +"type": "array" +}, +"kind": { +"description": "This is always `sql#operationErrors`.", +"type": "string" +} +}, +"type": "object" +}, +"OperationMetadata": { +"description": "Represents the metadata of the long-running operation.", +"id": "OperationMetadata", +"properties": { +"apiVersion": { +"description": "Output only. API version used to start the operation.", +"readOnly": true, +"type": "string" +}, +"cancelRequested": { +"description": "Output only. Identifies whether the user has requested cancellation of the operation. Operations that have been cancelled successfully have google.longrunning.Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.", +"readOnly": true, +"type": "boolean" +}, +"createTime": { +"description": "Output only. The time the operation was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"endTime": { +"description": "Output only. The time the operation finished running.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"statusDetail": { +"description": "Output only. Human-readable status of the operation, if any.", +"readOnly": true, +"type": "string" +}, +"target": { +"description": "Output only. Server-defined resource path for the target of the operation.", +"readOnly": true, +"type": "string" +}, +"verb": { +"description": "Output only. Name of the verb executed by the operation.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"OperationsListResponse": { +"description": "Operations list response.", +"id": "OperationsListResponse", +"properties": { +"items": { +"description": "List of operation resources.", +"items": { +"$ref": "Operation" +}, +"type": "array" +}, +"kind": { +"description": "This is always `sql#operationsList`.", +"type": "string" +}, +"nextPageToken": { +"description": "The continuation token, used to page through large result sets. Provide this value in a subsequent request to return the next page of results.", +"type": "string" +} +}, +"type": "object" +}, +"PasswordStatus": { +"description": "Read-only password status.", +"id": "PasswordStatus", +"properties": { +"locked": { +"description": "If true, user does not have login privileges.", +"type": "boolean" +}, +"passwordExpirationTime": { +"description": "The expiration time of the current password.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"PasswordValidationPolicy": { +"description": "Database instance local user password validation policy. This message defines the password policy for local database users. When enabled, it enforces constraints on password complexity, length, and reuse. Keep this policy enabled to help prevent unauthorized access.", +"id": "PasswordValidationPolicy", +"properties": { +"complexity": { +"description": "The complexity of the password.", +"enum": [ +"COMPLEXITY_UNSPECIFIED", +"COMPLEXITY_DEFAULT" +], +"enumDescriptions": [ +"Complexity check is not specified.", +"A combination of lowercase, uppercase, numeric, and non-alphanumeric characters." +], +"type": "string" +}, +"disallowCompromisedCredentials": { +"deprecated": true, +"description": "This field is deprecated and will be removed in a future version of the API.", +"type": "boolean" +}, +"disallowUsernameSubstring": { +"description": "Disallow username as a part of the password.", +"type": "boolean" +}, +"enablePasswordPolicy": { +"description": "Whether to enable the password policy or not. When enabled, passwords must meet complexity requirements. Keep this policy enabled to help prevent unauthorized access. Disabling this policy allows weak passwords.", +"type": "boolean" +}, +"minLength": { +"description": "Minimum number of characters allowed.", +"format": "int32", +"type": "integer" +}, +"passwordChangeInterval": { +"description": "Minimum interval after which the password can be changed. This flag is only supported for PostgreSQL.", +"format": "google-duration", +"type": "string" +}, +"reuseInterval": { +"description": "Number of previous passwords that cannot be reused.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"PerformDiskShrinkContext": { +"description": "Perform disk shrink context.", +"id": "PerformDiskShrinkContext", +"properties": { +"targetSizeGb": { +"description": "The target disk shrink size in GigaBytes.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"PerformanceCaptureConfig": { +"description": "Performance Capture configuration.", +"id": "PerformanceCaptureConfig", +"properties": { +"enabled": { +"description": "Optional. Enable or disable the Performance Capture.", +"type": "boolean" +}, +"probeThreshold": { +"description": "Optional. The minimum number of consecutive readings above threshold that triggers instance state capture.", +"format": "int32", +"type": "integer" +}, +"probingIntervalSeconds": { +"description": "Optional. The time interval in seconds between any two probes.", +"format": "int32", +"type": "integer" +}, +"runningThreadsThreshold": { +"description": "Optional. The minimum number of server threads running to trigger the capture on primary.", +"format": "int32", +"type": "integer" +}, +"secondsBehindSourceThreshold": { +"description": "Optional. The minimum number of seconds replica must be lagging behind primary to trigger capture on replica.", +"format": "int32", +"type": "integer" +}, +"transactionDurationThreshold": { +"description": "Optional. The amount of time in seconds that a transaction needs to have been open before the watcher starts recording it.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"PointInTimeRestoreContext": { +"description": "Context to perform a point-in-time restore of an instance managed by Backup and Disaster Recovery (DR) Service.", +"id": "PointInTimeRestoreContext", +"properties": { +"allocatedIpRange": { +"description": "Optional. The name of the allocated IP range for the internal IP Cloud SQL instance. For example: \"google-managed-services-default\". If you set this, then Cloud SQL creates the IP address for the cloned instance in the allocated range. This range must comply with [RFC 1035](https://tools.ietf.org/html/rfc1035) standards. Specifically, the name must be 1-63 characters long and match the regular expression [a-z]([-a-z0-9]*[a-z0-9])?. Reserved for future use.", +"type": "string" +}, +"datasource": { +"description": "The Backup and Disaster Recovery (DR) Service Datasource URI. Format: projects/{project}/locations/{region}/backupVaults/{backupvault}/dataSources/{datasource}.", +"type": "string" +}, +"pointInTime": { +"description": "Required. The date and time to which you want to restore the instance.", +"format": "google-datetime", +"type": "string" +}, +"preferredSecondaryZone": { +"description": "Optional. Point-in-time recovery of a regional instance in the specified zones. If not specified, clone to the same secondary zone as the source instance. This value cannot be the same as the preferred_zone field.", +"type": "string" +}, +"preferredZone": { +"description": "Optional. Point-in-time recovery of an instance to the specified zone. If no zone is specified, then clone to the same primary zone as the source instance.", +"type": "string" +}, +"privateNetwork": { +"description": "Optional. The resource link for the VPC network from which the Cloud SQL instance is accessible for private IP. For example, `/projects/myProject/global/networks/default`.", +"type": "string" +}, +"targetInstance": { +"description": "Target instance name.", +"type": "string" +} +}, +"type": "object" +}, +"PoolNodeConfig": { +"description": "Details of a single read pool node of a read pool.", +"id": "PoolNodeConfig", +"properties": { +"dnsName": { +"description": "Output only. The DNS name of the read pool node.", +"readOnly": true, +"type": "string" +}, +"dnsNames": { +"description": "Output only. The list of DNS names used by this read pool node.", +"items": { +"$ref": "DnsNameMapping" +}, +"readOnly": true, +"type": "array" +}, +"gceZone": { +"description": "Output only. The zone of the read pool node.", +"readOnly": true, +"type": "string" +}, +"ipAddresses": { +"description": "Output only. Mappings containing IP addresses that can be used to connect to the read pool node.", +"items": { +"$ref": "IpMapping" +}, +"readOnly": true, +"type": "array" +}, +"name": { +"description": "Output only. The name of the read pool node, to be used for retrieving metrics and logs.", +"readOnly": true, +"type": "string" +}, +"pscAutoConnections": { +"description": "Output only. The list of settings for requested automatically-setup Private Service Connect (PSC) consumer endpoints that can be used to connect to this read pool node.", +"items": { +"$ref": "PscAutoConnectionConfig" +}, +"readOnly": true, +"type": "array" +}, +"pscServiceAttachmentLink": { +"description": "Output only. The Private Service Connect (PSC) service attachment of the read pool node.", +"readOnly": true, +"type": "string" +}, +"state": { +"description": "Output only. The current state of the read pool node.", +"enum": [ +"SQL_INSTANCE_STATE_UNSPECIFIED", +"RUNNABLE", +"SUSPENDED", +"PENDING_DELETE", +"PENDING_CREATE", +"MAINTENANCE", +"FAILED", +"ONLINE_MAINTENANCE", +"REPAIRING" +], +"enumDeprecated": [ +false, +false, +false, +false, +false, +false, +false, +true, +false +], +"enumDescriptions": [ +"The state of the instance is unknown.", +"The instance is running, or has been stopped by owner.", +"The instance is not available, for example due to problems with billing.", +"The instance is being deleted.", +"The instance is being created.", +"The instance is down for maintenance.", +"The creation of the instance failed or a fatal error occurred during maintenance.", +"Deprecated", +"(Applicable to read pool nodes only.) The read pool node needs to be repaired. The database might be unavailable." +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"PreCheckMajorVersionUpgradeContext": { +"description": "Pre-check major version upgrade context.", +"id": "PreCheckMajorVersionUpgradeContext", +"properties": { +"kind": { +"description": "Optional. This is always `sql#preCheckMajorVersionUpgradeContext`.", +"type": "string" +}, +"preCheckResponse": { +"description": "Output only. The responses from the precheck operation.", +"items": { +"$ref": "PreCheckResponse" +}, +"readOnly": true, +"type": "array" +}, +"targetDatabaseVersion": { +"description": "Required. The target database version to upgrade to.", +"enum": [ +"SQL_DATABASE_VERSION_UNSPECIFIED", +"MYSQL_5_1", +"MYSQL_5_5", +"MYSQL_5_6", +"MYSQL_5_7", +"MYSQL_8_0", +"MYSQL_8_0_18", +"MYSQL_8_0_26", +"MYSQL_8_0_27", +"MYSQL_8_0_28", +"MYSQL_8_0_29", +"MYSQL_8_0_30", +"MYSQL_8_0_31", +"MYSQL_8_0_32", +"MYSQL_8_0_33", +"MYSQL_8_0_34", +"MYSQL_8_0_35", +"MYSQL_8_0_36", +"MYSQL_8_0_37", +"MYSQL_8_0_39", +"MYSQL_8_0_40", +"MYSQL_8_0_41", +"MYSQL_8_0_42", +"MYSQL_8_0_43", +"MYSQL_8_0_44", +"MYSQL_8_0_45", +"MYSQL_8_0_46", +"MYSQL_8_4", +"MYSQL_9_7", +"SQLSERVER_2017_STANDARD", +"SQLSERVER_2017_ENTERPRISE", +"SQLSERVER_2017_EXPRESS", +"SQLSERVER_2017_WEB", +"POSTGRES_9_6", +"POSTGRES_10", +"POSTGRES_11", +"POSTGRES_12", +"POSTGRES_13", +"POSTGRES_14", +"POSTGRES_15", +"POSTGRES_16", +"POSTGRES_17", +"POSTGRES_18", +"SQLSERVER_2019_STANDARD", +"SQLSERVER_2019_ENTERPRISE", +"SQLSERVER_2019_EXPRESS", +"SQLSERVER_2019_WEB", +"SQLSERVER_2022_STANDARD", +"SQLSERVER_2022_ENTERPRISE", +"SQLSERVER_2022_EXPRESS", +"SQLSERVER_2022_WEB", +"SQLSERVER_2025_STANDARD", +"SQLSERVER_2025_ENTERPRISE", +"SQLSERVER_2025_EXPRESS" +], +"enumDeprecated": [ +false, +true, +true, +false, +false, +false, +false, +false, +false, +false, +true, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false +], +"enumDescriptions": [ +"This is an unknown database version.", +"The database version is MySQL 5.1.", +"The database version is MySQL 5.5.", +"The database version is MySQL 5.6.", +"The database version is MySQL 5.7.", +"The database version is MySQL 8.", +"The database major version is MySQL 8.0 and the minor version is 18.", +"The database major version is MySQL 8.0 and the minor version is 26.", +"The database major version is MySQL 8.0 and the minor version is 27.", +"The database major version is MySQL 8.0 and the minor version is 28.", +"The database major version is MySQL 8.0 and the minor version is 29.", +"The database major version is MySQL 8.0 and the minor version is 30.", +"The database major version is MySQL 8.0 and the minor version is 31.", +"The database major version is MySQL 8.0 and the minor version is 32.", +"The database major version is MySQL 8.0 and the minor version is 33.", +"The database major version is MySQL 8.0 and the minor version is 34.", +"The database major version is MySQL 8.0 and the minor version is 35.", +"The database major version is MySQL 8.0 and the minor version is 36.", +"The database major version is MySQL 8.0 and the minor version is 37.", +"The database major version is MySQL 8.0 and the minor version is 39.", +"The database major version is MySQL 8.0 and the minor version is 40.", +"The database major version is MySQL 8.0 and the minor version is 41.", +"The database major version is MySQL 8.0 and the minor version is 42.", +"The database major version is MySQL 8.0 and the minor version is 43.", +"The database major version is MySQL 8.0 and the minor version is 44.", +"The database major version is MySQL 8.0 and the minor version is 45.", +"The database major version is MySQL 8.0 and the minor version is 46.", +"The database version is MySQL 8.4.", +"The database version is MySQL 9.7.", +"The database version is SQL Server 2017 Standard.", +"The database version is SQL Server 2017 Enterprise.", +"The database version is SQL Server 2017 Express.", +"The database version is SQL Server 2017 Web.", +"The database version is PostgreSQL 9.6.", +"The database version is PostgreSQL 10.", +"The database version is PostgreSQL 11.", +"The database version is PostgreSQL 12.", +"The database version is PostgreSQL 13.", +"The database version is PostgreSQL 14.", +"The database version is PostgreSQL 15.", +"The database version is PostgreSQL 16.", +"The database version is PostgreSQL 17.", +"The database version is PostgreSQL 18.", +"The database version is SQL Server 2019 Standard.", +"The database version is SQL Server 2019 Enterprise.", +"The database version is SQL Server 2019 Express.", +"The database version is SQL Server 2019 Web.", +"The database version is SQL Server 2022 Standard.", +"The database version is SQL Server 2022 Enterprise.", +"The database version is SQL Server 2022 Express.", +"The database version is SQL Server 2022 Web.", +"The database version is SQL Server 2025 Standard.", +"The database version is SQL Server 2025 Enterprise.", +"The database version is SQL Server 2025 Express." +], +"type": "string" +} +}, +"type": "object" +}, +"PreCheckResponse": { +"description": "Structured PreCheckResponse containing message, type, and required actions.", +"id": "PreCheckResponse", +"properties": { +"actionsRequired": { +"description": "The actions that the user needs to take. Use repeated for multiple actions.", +"items": { +"type": "string" +}, +"type": "array" +}, +"message": { +"description": "The message to be displayed to the user.", +"type": "string" +}, +"messageType": { +"description": "The type of message whether it is an info, warning, or error.", +"enum": [ +"MESSAGE_TYPE_UNSPECIFIED", +"INFO", +"WARNING", +"ERROR" +], +"enumDescriptions": [ +"Default unspecified value to prevent unintended behavior changes.", +"General informational messages that don't require action.", +"Warnings that might impact the upgrade but don't block it.", +"Errors that a user must resolve before proceeding with the upgrade." +], +"type": "string" +} +}, +"type": "object" +}, +"PscAutoConnectionConfig": { +"description": "Settings for an automatically-setup Private Service Connect consumer endpoint that is used to connect to a Cloud SQL instance.", +"id": "PscAutoConnectionConfig", +"properties": { +"consumerNetwork": { +"description": "Optional. The consumer network of this consumer endpoint. This must be a resource path that includes both the host project and the network name. For example, `projects/project1/global/networks/network1`. The consumer host project of this network might be different from the consumer service project.", +"type": "string" +}, +"consumerNetworkStatus": { +"description": "The connection policy status of the consumer network.", +"type": "string" +}, +"consumerProject": { +"description": "Optional. This is the project ID of consumer service project of this consumer endpoint. Optional. This is only applicable if consumer_network is a shared vpc network.", +"type": "string" +}, +"ipAddress": { +"description": "The IP address of the consumer endpoint.", +"type": "string" +}, +"status": { +"description": "The connection status of the consumer endpoint.", +"type": "string" +} +}, +"type": "object" +}, +"PscConfig": { +"description": "PSC settings for a Cloud SQL instance.", +"id": "PscConfig", +"properties": { +"allowedConsumerProjects": { +"description": "Optional. The list of consumer projects that are allow-listed for PSC connections to this instance. This instance can be connected to with PSC from any network in these projects. Each consumer project in this list may be represented by a project number (numeric) or by a project id (alphanumeric).", +"items": { +"type": "string" +}, +"type": "array" +}, +"networkAttachmentUri": { +"description": "Optional. The network attachment of the consumer network that the Private Service Connect enabled Cloud SQL instance is authorized to connect via PSC interface. format: projects/PROJECT/regions/REGION/networkAttachments/ID", +"type": "string" +}, +"pscAutoConnections": { +"description": "Optional. The list of settings for requested Private Service Connect consumer endpoints that can be used to connect to this Cloud SQL instance.", +"items": { +"$ref": "PscAutoConnectionConfig" +}, +"type": "array" +}, +"pscEnabled": { +"description": "Whether PSC connectivity is enabled for this instance.", +"type": "boolean" +} +}, +"type": "object" +}, +"QueryResult": { +"description": "QueryResult contains the result of executing a single SQL statement.", +"id": "QueryResult", +"properties": { +"columns": { +"description": "List of columns included in the result. This also includes the data type of the column.", +"items": { +"$ref": "Column" +}, +"type": "array" +}, +"message": { +"description": "Message related to the SQL execution result.", +"type": "string" +}, +"partialResult": { +"description": "Set to true if the SQL execution's result is truncated due to size limits or an error retrieving results.", +"type": "boolean" +}, +"rows": { +"description": "Rows returned by the SQL statement.", +"items": { +"$ref": "Row" +}, +"type": "array" +}, +"status": { +"$ref": "Status", +"description": "If results were truncated due to an error, details of that error." +} +}, +"type": "object" +}, +"ReadPoolAutoScaleConfig": { +"description": "The read pool auto-scale configuration.", +"id": "ReadPoolAutoScaleConfig", +"properties": { +"disableScaleIn": { +"description": "Indicates whether read pool auto scaling supports scale in operations (removing nodes).", +"type": "boolean" +}, +"enabled": { +"description": "Indicates whether read pool auto scaling is enabled.", +"type": "boolean" +}, +"maxNodeCount": { +"description": "Maximum number of read pool nodes to be maintained.", +"format": "int32", +"type": "integer" +}, +"minNodeCount": { +"description": "Minimum number of read pool nodes to be maintained.", +"format": "int32", +"type": "integer" +}, +"scaleInCooldownSeconds": { +"description": "The cooldown period for scale in operations.", +"format": "int32", +"type": "integer" +}, +"scaleOutCooldownSeconds": { +"description": "The cooldown period for scale out operations.", +"format": "int32", +"type": "integer" +}, +"targetMetrics": { +"description": "Optional. Target metrics for read pool auto scaling.", +"items": { +"$ref": "TargetMetric" +}, +"type": "array" +} +}, +"type": "object" +}, +"ReplicaConfiguration": { +"description": "Read-replica configuration for connecting to the primary instance.", +"id": "ReplicaConfiguration", +"properties": { +"cascadableReplica": { +"description": "Optional. Specifies if a SQL Server replica is a cascadable replica. A cascadable replica is a SQL Server cross region replica that supports replica(s) under it.", +"type": "boolean" +}, +"failoverTarget": { +"description": "Specifies if the replica is the failover target. If the field is set to `true` the replica will be designated as a failover replica. In case the primary instance fails, the replica instance will be promoted as the new primary instance. Only one replica can be specified as failover target, and the replica has to be in different zone with the primary instance.", +"type": "boolean" +}, +"kind": { +"description": "This is always `sql#replicaConfiguration`.", +"type": "string" +}, +"mysqlReplicaConfiguration": { +"$ref": "MySqlReplicaConfiguration", +"description": "MySQL specific configuration when replicating from a MySQL on-premises primary instance. Replication configuration information such as the username, password, certificates, and keys are not stored in the instance metadata. The configuration information is used only to set up the replication connection and is stored by MySQL in a file named `master.info` in the data directory." +} +}, +"type": "object" +}, +"ReplicationCluster": { +"description": "A primary instance and disaster recovery (DR) replica pair. A DR replica is a cross-region replica that you designate for failover in the event that the primary instance has regional failure. Applicable to MySQL and PostgreSQL.", +"id": "ReplicationCluster", +"properties": { +"drReplica": { +"description": "Output only. Read-only field that indicates whether the replica is a DR replica. This field is not set if the instance is a primary instance.", +"readOnly": true, +"type": "boolean" +}, +"failoverDrReplicaName": { +"description": "Optional. If the instance is a primary instance, then this field identifies the disaster recovery (DR) replica. A DR replica is an optional configuration for Enterprise Plus edition instances. If the instance is a read replica, then the field is not set. Set this field to a replica name to designate a DR replica for a primary instance. Remove the replica name to remove the DR replica designation.", +"type": "string" +}, +"psaWriteEndpoint": { +"description": "Output only. If set, this field indicates this instance has a private service access (PSA) DNS endpoint that is pointing to the primary instance of the cluster. If this instance is the primary, then the DNS endpoint points to this instance. After a switchover or replica failover operation, this DNS endpoint points to the promoted instance. This is a read-only field, returned to the user as information. This field can exist even if a standalone instance doesn't have a DR replica yet or the DR replica is deleted.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"Reschedule": { +"id": "Reschedule", +"properties": { +"rescheduleType": { +"description": "Required. The type of the reschedule.", +"enum": [ +"RESCHEDULE_TYPE_UNSPECIFIED", +"IMMEDIATE", +"NEXT_AVAILABLE_WINDOW", +"SPECIFIC_TIME" +], +"enumDescriptions": [ +"", +"Reschedules maintenance to happen now (within 5 minutes).", +"Reschedules maintenance to occur within one week from the originally scheduled day and time.", +"Reschedules maintenance to a specific time and day." +], +"type": "string" +}, +"scheduleTime": { +"description": "Optional. Timestamp when the maintenance shall be rescheduled to if reschedule_type=SPECIFIC_TIME, in [RFC 3339](https://tools.ietf.org/html/rfc3339) format, for example `2012-11-15T16:19:00.094Z`.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"RestoreBackupContext": { +"description": "Database instance restore from backup context. Backup context contains source instance id and project id.", +"id": "RestoreBackupContext", +"properties": { +"backupRunId": { +"description": "The ID of the backup run to restore from.", +"format": "int64", +"type": "string" +}, +"instanceId": { +"description": "The ID of the instance that the backup was taken from.", +"type": "string" +}, +"kind": { +"description": "This is always `sql#restoreBackupContext`.", +"type": "string" +}, +"project": { +"description": "The full project ID of the source instance.", +"type": "string" +} +}, +"type": "object" +}, +"RotateEntraIdCertificateContext": { +"description": "Instance rotate Entra ID certificate context.", +"id": "RotateEntraIdCertificateContext", +"properties": { +"kind": { +"description": "Optional. This is always `sql#rotateEntraIdCertificateContext`.", +"type": "string" +}, +"nextVersion": { +"description": "Optional. The fingerprint of the next version to be rotated to. If left unspecified, will be rotated to the most recently added Entra ID certificate version.", +"type": "string" +} +}, +"type": "object" +}, +"RotateServerCaContext": { +"description": "Instance rotate server CA context.", +"id": "RotateServerCaContext", +"properties": { +"kind": { +"description": "This is always `sql#rotateServerCaContext`.", +"type": "string" +}, +"nextVersion": { +"description": "The fingerprint of the next version to be rotated to. If left unspecified, will be rotated to the most recently added server CA version.", +"type": "string" +} +}, +"type": "object" +}, +"RotateServerCertificateContext": { +"description": "Instance rotate server certificate context.", +"id": "RotateServerCertificateContext", +"properties": { +"kind": { +"description": "Optional. This is always `sql#rotateServerCertificateContext`.", +"type": "string" +}, +"nextVersion": { +"description": "Optional. The fingerprint of the next version to be rotated to. If left unspecified, will be rotated to the most recently added server certificate version.", +"type": "string" +} +}, +"type": "object" +}, +"Row": { +"description": "Contains the values for a row.", +"id": "Row", +"properties": { +"values": { +"description": "The values for the row.", +"items": { +"$ref": "Value" +}, +"type": "array" +} +}, +"type": "object" +}, +"SelectedObjects": { +"description": "A list of objects that the user selects for replication from an external source instance.", +"id": "SelectedObjects", +"properties": { +"database": { +"description": "Required. The name of the database to migrate.", +"type": "string" +} +}, +"type": "object" +}, +"Settings": { +"description": "Database instance settings.", +"id": "Settings", +"properties": { +"acceleratedReplicaMode": { +"description": "Optional. Configures whether the replica is in accelerated mode. This feature is in private preview and requires allowlisting to take effect.", +"type": "boolean" +}, +"activationPolicy": { +"description": "The activation policy specifies when the instance is activated; it is applicable only when the instance state is RUNNABLE. Valid values: * `ALWAYS`: The instance is on, and remains so even in the absence of connection requests. * `NEVER`: The instance is off; it is not activated, even if a connection request arrives.", +"enum": [ +"SQL_ACTIVATION_POLICY_UNSPECIFIED", +"ALWAYS", +"NEVER", +"ON_DEMAND" +], +"enumDeprecated": [ +false, +false, +false, +true +], +"enumDescriptions": [ +"Unknown activation plan.", +"The instance is always up and running.", +"The instance never starts.", +"The instance starts upon receiving requests." +], +"type": "string" +}, +"activeDirectoryConfig": { +"$ref": "SqlActiveDirectoryConfig", +"description": "Active Directory configuration, relevant only for Cloud SQL for SQL Server." +}, +"advancedMachineFeatures": { +"$ref": "AdvancedMachineFeatures", +"description": "Specifies advanced machine configuration for the instances relevant only for SQL Server." +}, +"authorizedGaeApplications": { +"deprecated": true, +"description": "The App Engine app IDs that can access this instance. (Deprecated) Applied to First Generation instances only.", +"items": { +"type": "string" +}, +"type": "array" +}, +"autoUpgradeEnabled": { +"description": "Optional. Cloud SQL for MySQL auto-upgrade configuration. When this parameter is set to true, auto-upgrade is enabled for MySQL 8.0 minor versions. The MySQL version must be 8.0.35 or higher.", +"type": "boolean" +}, +"availabilityType": { +"description": "Availability type. Potential values: * `ZONAL`: The instance serves data from only one zone. Outages in that zone affect data accessibility. * `REGIONAL`: The instance can serve data from more than one zone in a region (it is highly available)./ For more information, see [Overview of the High Availability Configuration](https://cloud.google.com/sql/docs/mysql/high-availability).", +"enum": [ +"SQL_AVAILABILITY_TYPE_UNSPECIFIED", +"ZONAL", +"REGIONAL" +], +"enumDescriptions": [ +"This is an unknown Availability type.", +"Zonal available instance.", +"Regional available instance." +], +"type": "string" +}, +"backupConfiguration": { +"$ref": "BackupConfiguration", +"description": "The daily backup configuration for the instance." +}, +"collation": { +"description": "The name of server Instance collation.", +"type": "string" +}, +"connectionPoolConfig": { +"$ref": "ConnectionPoolConfig", +"description": "Optional. The managed connection pooling configuration for the instance." +}, +"connectorEnforcement": { +"description": "Specifies if connections must use Cloud SQL connectors. Option values include the following: `NOT_REQUIRED` (Cloud SQL instances can be connected without Cloud SQL Connectors) and `REQUIRED` (Only allow connections that use Cloud SQL Connectors) Note that using REQUIRED disables all existing authorized networks. If this field is not specified when creating a new instance, NOT_REQUIRED is used. If this field is not specified when patching or updating an existing instance, it is left unchanged in the instance.", +"enum": [ +"CONNECTOR_ENFORCEMENT_UNSPECIFIED", +"NOT_REQUIRED", +"REQUIRED" +], +"enumDescriptions": [ +"The requirement for Cloud SQL connectors is unknown.", +"Do not require Cloud SQL connectors.", +"Require all connections to use Cloud SQL connectors, including the Cloud SQL Auth Proxy and Cloud SQL Java, Python, and Go connectors. Note: This disables all existing authorized networks." +], +"type": "string" +}, +"crashSafeReplicationEnabled": { +"deprecated": true, +"description": "Configuration specific to read replica instances. Indicates whether database flags for crash-safe replication are enabled. This property was only applicable to First Generation instances.", +"type": "boolean" +}, +"dataApiAccess": { +"description": "This parameter controls whether to allow using ExecuteSql API to connect to the instance. Not allowed by default.", +"enum": [ +"DATA_API_ACCESS_UNSPECIFIED", +"DISALLOW_DATA_API", +"ALLOW_DATA_API" +], +"enumDescriptions": [ +"Unspecified, effectively the same as `DISALLOW_DATA_API`.", +"Disallow using ExecuteSql API to connect to the instance.", +"Allow using ExecuteSql API to connect to the instance. For private IP instances, this allows authorized users to access the instance from the public internet using ExecuteSql API." +], +"type": "string" +}, +"dataCacheConfig": { +"$ref": "DataCacheConfig", +"description": "Configuration for data cache." +}, +"dataDiskProvisionedIops": { +"description": "Optional. Provisioned number of I/O operations per second for the data disk. This field is only used for hyperdisk-balanced disk types.", +"format": "int64", +"type": "string" +}, +"dataDiskProvisionedThroughput": { +"description": "Optional. Provisioned throughput measured in MiB per second for the data disk. This field is only used for hyperdisk-balanced disk types.", +"format": "int64", +"type": "string" +}, +"dataDiskSizeGb": { +"description": "The size of data disk, in GB. The data disk size minimum is 10GB.", +"format": "int64", +"type": "string" +}, +"dataDiskType": { +"description": "The type of data disk: `PD_SSD` (default) or `PD_HDD`. Not used for First Generation instances.", +"enum": [ +"SQL_DATA_DISK_TYPE_UNSPECIFIED", +"PD_SSD", +"PD_HDD", +"OBSOLETE_LOCAL_SSD", +"HYPERDISK_BALANCED" +], +"enumDeprecated": [ +false, +false, +false, +true, +false +], +"enumDescriptions": [ +"This is an unknown data disk type.", +"An SSD data disk.", +"An HDD data disk.", +"This field is deprecated and will be removed from a future version of the API.", +"A Hyperdisk Balanced data disk." +], +"type": "string" +}, +"databaseFlags": { +"description": "The database flags passed to the instance at startup.", +"items": { +"$ref": "DatabaseFlags" +}, +"type": "array" +}, +"databaseReplicationEnabled": { +"description": "Configuration specific to read replica instances. Indicates whether replication is enabled or not. WARNING: Changing this restarts the instance.", +"type": "boolean" +}, +"deletionProtectionEnabled": { +"description": "Configuration to protect against accidental instance deletion.", +"type": "boolean" +}, +"denyMaintenancePeriods": { +"description": "Deny maintenance periods", +"items": { +"$ref": "DenyMaintenancePeriod" +}, +"type": "array" +}, +"edition": { +"description": "Optional. The edition of the instance.", +"enum": [ +"EDITION_UNSPECIFIED", +"ENTERPRISE", +"ENTERPRISE_PLUS" +], +"enumDescriptions": [ +"The instance did not specify the edition.", +"The instance is an enterprise edition.", +"The instance is an Enterprise Plus edition." +], +"type": "string" +}, +"enableDataplexIntegration": { +"description": "Optional. By default, Cloud SQL instances have schema extraction disabled for Dataplex. When this parameter is set to true, schema extraction for Dataplex on Cloud SQL instances is activated.", +"type": "boolean" +}, +"enableGoogleMlIntegration": { +"description": "Optional. When this parameter is set to true, Cloud SQL instances can connect to Vertex AI to pass requests for real-time predictions and insights to the AI. The default value is false. This applies only to Cloud SQL for MySQL and Cloud SQL for PostgreSQL instances.", +"type": "boolean" +}, +"entraidConfig": { +"$ref": "SqlServerEntraIdConfig", +"description": "Optional. The Microsoft Entra ID configuration for the SQL Server instance." +}, +"finalBackupConfig": { +"$ref": "FinalBackupConfig", +"description": "Optional. The final backup configuration for the instance." +}, +"insightsConfig": { +"$ref": "InsightsConfig", +"description": "Insights configuration, for now relevant only for Postgres." +}, +"ipConfiguration": { +"$ref": "IpConfiguration", +"description": "The settings for IP Management. This allows to enable or disable the instance IP and manage which external networks can connect to the instance. The IPv4 address cannot be disabled for Second Generation instances." +}, +"kind": { +"description": "This is always `sql#settings`.", +"type": "string" +}, +"locationPreference": { +"$ref": "LocationPreference", +"description": "The location preference settings. This allows the instance to be located as near as possible to either an App Engine app or Compute Engine zone for better performance. App Engine co-location was only applicable to First Generation instances." +}, +"maintenanceWindow": { +"$ref": "MaintenanceWindow", +"description": "The maintenance window for this instance. This specifies when the instance can be restarted for maintenance purposes." +}, +"passwordValidationPolicy": { +"$ref": "PasswordValidationPolicy", +"description": "The local user password validation policy of the instance." +}, +"performanceCaptureConfig": { +"$ref": "PerformanceCaptureConfig", +"description": "Optional. Configuration for Performance Capture, provides diagnostic metrics during high load situations." +}, +"pricingPlan": { +"description": "The pricing plan for this instance. This can be either `PER_USE` or `PACKAGE`. Only `PER_USE` is supported for Second Generation instances.", +"enum": [ +"SQL_PRICING_PLAN_UNSPECIFIED", +"PACKAGE", +"PER_USE" +], +"enumDescriptions": [ +"This is an unknown pricing plan for this instance.", +"The instance is billed at a monthly flat rate.", +"The instance is billed per usage." +], +"type": "string" +}, +"readPoolAutoScaleConfig": { +"$ref": "ReadPoolAutoScaleConfig", +"description": "Optional. The read pool auto-scale configuration for the instance." +}, +"replicationLagMaxSeconds": { +"description": "Optional. Configuration value for recreation of replica after certain replication lag.", +"format": "int32", +"type": "integer" +}, +"replicationType": { +"deprecated": true, +"description": "The type of replication this instance uses. This can be either `ASYNCHRONOUS` or `SYNCHRONOUS`. (Deprecated) This property was only applicable to First Generation instances.", +"enum": [ +"SQL_REPLICATION_TYPE_UNSPECIFIED", +"SYNCHRONOUS", +"ASYNCHRONOUS" +], +"enumDescriptions": [ +"This is an unknown replication type for a Cloud SQL instance.", +"The synchronous replication mode for First Generation instances. It is the default value.", +"The asynchronous replication mode for First Generation instances. It provides a slight performance gain, but if an outage occurs while this option is set to asynchronous, you can lose up to a few seconds of updates to your data." +], +"type": "string" +}, +"retainBackupsOnDelete": { +"description": "Optional. When this parameter is set to true, Cloud SQL retains backups of the instance even after the instance is deleted. The ON_DEMAND backup will be retained until customer deletes the backup or the project. The AUTOMATED backup will be retained based on the backups retention setting.", +"type": "boolean" +}, +"settingsVersion": { +"description": "The version of instance settings. This is a required field for update method to make sure concurrent updates are handled properly. During update, use the most recent settingsVersion value for this instance and do not try to update this value.", +"format": "int64", +"type": "string" +}, +"sqlServerAuditConfig": { +"$ref": "SqlServerAuditConfig", +"description": "SQL Server specific audit configuration." +}, +"storageAutoResize": { +"description": "Configuration to increase storage size automatically. The default value is true.", +"type": "boolean" +}, +"storageAutoResizeLimit": { +"description": "The maximum size to which storage capacity can be automatically increased. The default value is 0, which specifies that there is no limit.", +"format": "int64", +"type": "string" +}, +"tier": { +"description": "The tier (or machine type) for this instance, for example `db-custom-1-3840`. WARNING: Changing this restarts the instance.", +"type": "string" +}, +"timeZone": { +"description": "Server timezone, relevant only for Cloud SQL for SQL Server.", +"type": "string" +}, +"userLabels": { +"additionalProperties": { +"type": "string" +}, +"description": "User-provided labels, represented as a dictionary where each label is a single key value pair.", +"type": "object" +} +}, +"type": "object" +}, +"SqlActiveDirectoryConfig": { +"description": "Active Directory configuration, relevant only for Cloud SQL for SQL Server.", +"id": "SqlActiveDirectoryConfig", +"properties": { +"adminCredentialSecretName": { +"description": "Optional. The secret manager key storing the administrator credential. (e.g., projects/{project}/secrets/{secret}).", +"type": "string" +}, +"dnsServers": { +"description": "Optional. Domain controller IPv4 addresses used to bootstrap Active Directory.", +"items": { +"type": "string" +}, +"type": "array" +}, +"domain": { +"description": "The name of the domain (e.g., mydomain.com).", +"type": "string" +}, +"kind": { +"description": "This is always sql#activeDirectoryConfig.", +"type": "string" +}, +"mode": { +"description": "Optional. The mode of the Active Directory configuration.", +"enum": [ +"ACTIVE_DIRECTORY_MODE_UNSPECIFIED", +"MANAGED_ACTIVE_DIRECTORY", +"SELF_MANAGED_ACTIVE_DIRECTORY", +"CUSTOMER_MANAGED_ACTIVE_DIRECTORY" +], +"enumDeprecated": [ +false, +false, +true, +false +], +"enumDescriptions": [ +"Unspecified mode.", +"Managed Active Directory mode. This is the fallback option to maintain backward compatibility.", +"Deprecated: Use CUSTOMER_MANAGED_ACTIVE_DIRECTORY instead.", +"Customer-managed Active Directory mode." +], +"type": "string" +}, +"organizationalUnit": { +"description": "Optional. The organizational unit distinguished name. This is the full hierarchical path to the organizational unit.", +"type": "string" +} +}, +"type": "object" +}, +"SqlExternalSyncSettingError": { +"description": "External primary instance migration setting error/warning.", +"id": "SqlExternalSyncSettingError", +"properties": { +"detail": { +"description": "Additional information about the error encountered.", +"type": "string" +}, +"kind": { +"description": "Can be `sql#externalSyncSettingError` or `sql#externalSyncSettingWarning`.", +"type": "string" +}, +"type": { +"description": "Identifies the specific error that occurred.", +"enum": [ +"SQL_EXTERNAL_SYNC_SETTING_ERROR_TYPE_UNSPECIFIED", +"CONNECTION_FAILURE", +"BINLOG_NOT_ENABLED", +"INCOMPATIBLE_DATABASE_VERSION", +"REPLICA_ALREADY_SETUP", +"INSUFFICIENT_PRIVILEGE", +"UNSUPPORTED_MIGRATION_TYPE", +"NO_PGLOGICAL_INSTALLED", +"PGLOGICAL_NODE_ALREADY_EXISTS", +"INVALID_WAL_LEVEL", +"INVALID_SHARED_PRELOAD_LIBRARY", +"INSUFFICIENT_MAX_REPLICATION_SLOTS", +"INSUFFICIENT_MAX_WAL_SENDERS", +"INSUFFICIENT_MAX_WORKER_PROCESSES", +"UNSUPPORTED_EXTENSIONS", +"INVALID_RDS_LOGICAL_REPLICATION", +"INVALID_LOGGING_SETUP", +"INVALID_DB_PARAM", +"UNSUPPORTED_GTID_MODE", +"SQLSERVER_AGENT_NOT_RUNNING", +"UNSUPPORTED_TABLE_DEFINITION", +"UNSUPPORTED_DEFINER", +"SQLSERVER_SERVERNAME_MISMATCH", +"PRIMARY_ALREADY_SETUP", +"UNSUPPORTED_BINLOG_FORMAT", +"BINLOG_RETENTION_SETTING", +"UNSUPPORTED_STORAGE_ENGINE", +"LIMITED_SUPPORT_TABLES", +"EXISTING_DATA_IN_REPLICA", +"MISSING_OPTIONAL_PRIVILEGES", +"RISKY_BACKUP_ADMIN_PRIVILEGE", +"INSUFFICIENT_GCS_PERMISSIONS", +"INVALID_FILE_INFO", +"UNSUPPORTED_DATABASE_SETTINGS", +"MYSQL_PARALLEL_IMPORT_INSUFFICIENT_PRIVILEGE", +"LOCAL_INFILE_OFF", +"TURN_ON_PITR_AFTER_PROMOTE", +"INCOMPATIBLE_DATABASE_MINOR_VERSION", +"SOURCE_MAX_SUBSCRIPTIONS", +"UNABLE_TO_VERIFY_DEFINERS", +"SUBSCRIPTION_CALCULATION_STATUS", +"PG_SUBSCRIPTION_COUNT", +"PG_SYNC_PARALLEL_LEVEL", +"INSUFFICIENT_DISK_SIZE", +"INSUFFICIENT_MACHINE_TIER", +"UNSUPPORTED_EXTENSIONS_NOT_MIGRATED", +"EXTENSIONS_NOT_MIGRATED", +"PG_CRON_FLAG_ENABLED_IN_REPLICA", +"EXTENSIONS_NOT_ENABLED_IN_REPLICA", +"UNSUPPORTED_COLUMNS", +"USERS_NOT_CREATED_IN_REPLICA", +"UNSUPPORTED_SYSTEM_OBJECTS", +"UNSUPPORTED_TABLES_WITH_REPLICA_IDENTITY", +"SELECTED_OBJECTS_NOT_EXIST_ON_SOURCE", +"PSC_ONLY_INSTANCE_WITH_NO_NETWORK_ATTACHMENT_URI", +"SELECTED_OBJECTS_REFERENCE_UNSELECTED_OBJECTS", +"PROMPT_DELETE_EXISTING", +"WILL_DELETE_EXISTING", +"PG_DDL_REPLICATION_INSUFFICIENT_PRIVILEGE" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"The replication user is missing privileges that are required.", +"Unsupported migration type.", +"No pglogical extension installed on databases, applicable for postgres.", +"pglogical node already exists on databases, applicable for postgres.", +"The value of parameter wal_level is not set to logical.", +"The value of parameter shared_preload_libraries does not include pglogical.", +"The value of parameter max_replication_slots is not sufficient.", +"The value of parameter max_wal_senders is not sufficient.", +"The value of parameter max_worker_processes is not sufficient.", +"Extensions installed are either not supported or having unsupported versions", +"The value of parameter rds.logical_replication is not set to 1.", +"The primary instance logging setup doesn't allow EM sync.", +"The primary instance database parameter setup doesn't allow EM sync.", +"The gtid_mode is not supported, applicable for MySQL.", +"SQL Server Agent is not running.", +"The table definition is not support due to missing primary key or replica identity, applicable for postgres. Note that this is a warning and won't block the migration.", +"The customer has a definer that will break EM setup.", +"SQL Server @@SERVERNAME does not match actual host name.", +"The primary instance has been setup and will fail the setup.", +"The primary instance has unsupported binary log format.", +"The primary instance's binary log retention setting.", +"The primary instance has tables with unsupported storage engine.", +"Source has tables with limited support eg: PostgreSQL tables without primary keys.", +"The replica instance contains existing data.", +"The replication user is missing privileges that are optional.", +"Additional BACKUP_ADMIN privilege is granted to the replication user which may lock source MySQL 8 instance for DDLs during initial sync.", +"The Cloud Storage bucket is missing necessary permissions.", +"The Cloud Storage bucket has an error in the file or contains invalid file information.", +"The source instance has unsupported database settings for migration.", +"The replication user is missing parallel import specific privileges. (e.g. LOCK TABLES) for MySQL.", +"The global variable local_infile is off on external server replica.", +"This code instructs customers to turn on point-in-time recovery manually for the instance after promoting the Cloud SQL for PostgreSQL instance.", +"The minor version of replica database is incompatible with the source.", +"This warning message indicates that Cloud SQL uses the maximum number of subscriptions to migrate data from the source to the destination.", +"Unable to verify definers on the source for MySQL.", +"If a time out occurs while the subscription counts are calculated, then this value is set to 1. Otherwise, this value is set to 2.", +"Count of subscriptions needed to sync source data for PostgreSQL database.", +"Final parallel level that is used to do migration.", +"The disk size of the replica instance is smaller than the data size of the source instance.", +"The data size of the source instance is greater than 1 TB, the number of cores of the replica instance is less than 8, and the memory of the replica is less than 32 GB.", +"The warning message indicates the unsupported extensions will not be migrated to the destination.", +"The warning message indicates the pg_cron extension and settings will not be migrated to the destination.", +"The error message indicates that pg_cron flags are enabled on the destination which is not supported during the migration.", +"This error message indicates that the specified extensions are not enabled on destination instance. For example, before you can migrate data to the destination instance, you must enable the PGAudit extension on the instance.", +"The source database has generated columns that can't be migrated. Please change them to regular columns before migration.", +"The source database has users that aren't created in the replica. First, create all users, which are in the pg_user_mappings table of the source database, in the destination instance. Then, perform the migration.", +"The selected objects include system objects that aren't supported for migration.", +"The source database has tables with the FULL or NOTHING replica identity. Before starting your migration, either remove the identity or change it to DEFAULT. Note that this is an error and will block the migration.", +"The selected objects don't exist on the source instance.", +"PSC only destination instance does not have a network attachment URI.", +"Selected objects reference unselected objects. Based on their object type (foreign key constraint or view), selected objects will fail during migration.", +"The migration will delete existing data in the replica; set replica_overwrite_enabled in the request to acknowledge this. This is an error. MySQL only.", +"The migration will delete existing data in the replica; replica_overwrite_enabled was set in the request acknowledging this. This is a warning rather than an error. MySQL only.", +"The replication user is missing specific privileges to setup DDL replication. (e.g. CREATE EVENT TRIGGER, CREATE SCHEMA) for PostgreSQL." +], +"type": "string" +} +}, +"type": "object" +}, +"SqlInstancesAcquireSsrsLeaseResponse": { +"description": "Acquire SSRS lease response.", +"id": "SqlInstancesAcquireSsrsLeaseResponse", +"properties": { +"operationId": { +"description": "The unique identifier for this operation.", +"type": "string" +} +}, +"type": "object" +}, +"SqlInstancesExecuteSqlResponse": { +"description": "Execute SQL statements response.", +"id": "SqlInstancesExecuteSqlResponse", +"properties": { +"messages": { +"description": "A list of notices and warnings generated during query execution. For PostgreSQL, this includes all notices and warnings. For MySQL, this includes warnings generated by the last executed statement. To retrieve all warnings for a multi-statement query, `SHOW WARNINGS` must be executed after each statement.", +"items": { +"$ref": "Message" +}, +"type": "array" +}, +"metadata": { +"$ref": "Metadata", +"description": "The additional metadata information regarding the execution of the SQL statements." +}, +"results": { +"description": "The list of results after executing all the SQL statements.", +"items": { +"$ref": "QueryResult" +}, +"type": "array" +}, +"status": { +"$ref": "Status", +"description": "Contains the error from the database if the SQL execution failed." +} +}, +"type": "object" +}, +"SqlInstancesGetDiskShrinkConfigResponse": { +"description": "Instance get disk shrink config response.", +"id": "SqlInstancesGetDiskShrinkConfigResponse", +"properties": { +"kind": { +"description": "This is always `sql#getDiskShrinkConfig`.", +"type": "string" +}, +"message": { +"description": "Additional message to customers.", +"type": "string" +}, +"minimalTargetSizeGb": { +"description": "The minimum size to which a disk can be shrunk in GigaBytes.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"SqlInstancesGetLatestRecoveryTimeResponse": { +"description": "Instance get latest recovery time response.", +"id": "SqlInstancesGetLatestRecoveryTimeResponse", +"properties": { +"earliestRecoveryTime": { +"description": "Timestamp, identifies the earliest recovery time of the source instance.", +"format": "google-datetime", +"type": "string" +}, +"kind": { +"description": "This is always `sql#getLatestRecoveryTime`.", +"type": "string" +}, +"latestRecoveryTime": { +"description": "Timestamp, identifies the latest recovery time of the source instance.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"SqlInstancesReleaseSsrsLeaseResponse": { +"description": "The response for the release of the SSRS lease.", +"id": "SqlInstancesReleaseSsrsLeaseResponse", +"properties": { +"operationId": { +"description": "The operation ID.", +"type": "string" +} +}, +"type": "object" +}, +"SqlInstancesRescheduleMaintenanceRequestBody": { +"description": "Reschedule options for maintenance windows.", +"id": "SqlInstancesRescheduleMaintenanceRequestBody", +"properties": { +"reschedule": { +"$ref": "Reschedule", +"description": "Required. The type of the reschedule the user wants." +} +}, +"type": "object" +}, +"SqlInstancesResetReplicaSizeRequest": { +"description": "Instance reset replica size request.", +"id": "SqlInstancesResetReplicaSizeRequest", +"properties": {}, +"type": "object" +}, +"SqlInstancesStartExternalSyncRequest": { +"id": "SqlInstancesStartExternalSyncRequest", +"properties": { +"migrationType": { +"description": "Optional. MigrationType configures the migration to use physical files or logical dump files. If not set, then the logical dump file configuration is used. Valid values are `LOGICAL` or `PHYSICAL`. Only applicable to MySQL.", +"enum": [ +"MIGRATION_TYPE_UNSPECIFIED", +"LOGICAL", +"PHYSICAL" +], +"enumDescriptions": [ +"Default value is a logical dump file-based migration", +"Logical dump file-based migration", +"Physical file-based migration" +], +"type": "string" +}, +"mysqlSyncConfig": { +"$ref": "MySqlSyncConfig", +"description": "MySQL-specific settings for start external sync." +}, +"replicaOverwriteEnabled": { +"description": "Optional. MySQL only. True if end-user has confirmed that this SES call will wipe replica databases overlapping with the proposed selected_objects. If this field is not set and there are both overlapping and additional databases proposed, an error will be returned.", +"type": "boolean" +}, +"skipVerification": { +"description": "Whether to skip the verification step (VESS).", +"type": "boolean" +}, +"syncMode": { +"description": "External sync mode.", +"enum": [ +"EXTERNAL_SYNC_MODE_UNSPECIFIED", +"ONLINE", +"OFFLINE" +], +"enumDescriptions": [ +"Unknown external sync mode, will be defaulted to ONLINE mode", +"Online external sync will set up replication after initial data external sync", +"Offline external sync only dumps and loads a one-time snapshot of the primary instance's data" +], +"type": "string" +}, +"syncParallelLevel": { +"description": "Optional. Parallel level for initial data sync. Currently only applicable for MySQL.", +"enum": [ +"EXTERNAL_SYNC_PARALLEL_LEVEL_UNSPECIFIED", +"MIN", +"OPTIMAL", +"MAX" +], +"enumDescriptions": [ +"Unknown sync parallel level. Will be defaulted to OPTIMAL.", +"Minimal parallel level.", +"Optimal parallel level.", +"Maximum parallel level." +], +"type": "string" +} +}, +"type": "object" +}, +"SqlInstancesVerifyExternalSyncSettingsRequest": { +"id": "SqlInstancesVerifyExternalSyncSettingsRequest", +"properties": { +"migrationType": { +"description": "Optional. MigrationType configures the migration to use physical files or logical dump files. If not set, then the logical dump file configuration is used. Valid values are `LOGICAL` or `PHYSICAL`. Only applicable to MySQL.", +"enum": [ +"MIGRATION_TYPE_UNSPECIFIED", +"LOGICAL", +"PHYSICAL" +], +"enumDescriptions": [ +"Default value is a logical dump file-based migration", +"Logical dump file-based migration", +"Physical file-based migration" +], +"type": "string" +}, +"mysqlSyncConfig": { +"$ref": "MySqlSyncConfig", +"description": "Optional. MySQL-specific settings for start external sync." +}, +"selectedObjects": { +"description": "Optional. Migrate only the specified objects from the source instance. If this field is empty, then migrate all objects.", +"items": { +"$ref": "ExternalSyncSelectedObject" +}, +"type": "array" +}, +"syncMode": { +"description": "External sync mode", +"enum": [ +"EXTERNAL_SYNC_MODE_UNSPECIFIED", +"ONLINE", +"OFFLINE" +], +"enumDescriptions": [ +"Unknown external sync mode, will be defaulted to ONLINE mode", +"Online external sync will set up replication after initial data external sync", +"Offline external sync only dumps and loads a one-time snapshot of the primary instance's data" +], +"type": "string" +}, +"syncParallelLevel": { +"description": "Optional. Parallel level for initial data sync. Only applicable for PostgreSQL.", +"enum": [ +"EXTERNAL_SYNC_PARALLEL_LEVEL_UNSPECIFIED", +"MIN", +"OPTIMAL", +"MAX" +], +"enumDescriptions": [ +"Unknown sync parallel level. Will be defaulted to OPTIMAL.", +"Minimal parallel level.", +"Optimal parallel level.", +"Maximum parallel level." +], +"type": "string" +}, +"verifyConnectionOnly": { +"description": "Flag to enable verifying connection only", +"type": "boolean" +}, +"verifyReplicationOnly": { +"description": "Optional. Flag to verify settings required by replication setup only", +"type": "boolean" +} +}, +"type": "object" +}, +"SqlInstancesVerifyExternalSyncSettingsResponse": { +"description": "Instance verify external sync settings response.", +"id": "SqlInstancesVerifyExternalSyncSettingsResponse", +"properties": { +"errors": { +"description": "List of migration violations.", +"items": { +"$ref": "SqlExternalSyncSettingError" +}, +"type": "array" +}, +"kind": { +"description": "This is always `sql#migrationSettingErrorList`.", +"type": "string" +}, +"warnings": { +"description": "List of migration warnings.", +"items": { +"$ref": "SqlExternalSyncSettingError" +}, +"type": "array" +} +}, +"type": "object" +}, +"SqlOutOfDiskReport": { +"description": "This message wraps up the information written by out-of-disk detection job.", +"id": "SqlOutOfDiskReport", +"properties": { +"sqlMinRecommendedIncreaseSizeGb": { +"description": "The minimum recommended increase size in GigaBytes This field is consumed by the frontend * Writers: * the proactive database wellness job for OOD. * Readers:", +"format": "int32", +"type": "integer" +}, +"sqlOutOfDiskState": { +"description": "This field represents the state generated by the proactive database wellness job for OutOfDisk issues. * Writers: * the proactive database wellness job for OOD. * Readers: * the proactive database wellness job", +"enum": [ +"SQL_OUT_OF_DISK_STATE_UNSPECIFIED", +"NORMAL", +"SOFT_SHUTDOWN" +], +"enumDescriptions": [ +"Unspecified state", +"The instance has plenty space on data disk", +"Data disk is almost used up. It is shutdown to prevent data corruption." +], +"type": "string" +} +}, +"type": "object" +}, +"SqlScheduledMaintenance": { +"description": "Any scheduled maintenance for this instance.", +"id": "SqlScheduledMaintenance", +"properties": { +"canDefer": { +"deprecated": true, +"type": "boolean" +}, +"canReschedule": { +"description": "If the scheduled maintenance can be rescheduled.", +"type": "boolean" +}, +"scheduleDeadlineTime": { +"description": "Maintenance cannot be rescheduled to start beyond this deadline.", +"format": "google-datetime", +"type": "string" +}, +"startTime": { +"description": "The start time of any upcoming scheduled maintenance for this instance.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"SqlServerAuditConfig": { +"description": "SQL Server specific audit configuration.", +"id": "SqlServerAuditConfig", +"properties": { +"bucket": { +"description": "The name of the destination bucket (e.g., gs://mybucket).", +"type": "string" +}, +"kind": { +"description": "This is always sql#sqlServerAuditConfig", +"type": "string" +}, +"retentionInterval": { +"description": "How long to keep generated audit files.", +"format": "google-duration", +"type": "string" +}, +"uploadInterval": { +"description": "How often to upload generated audit files.", +"format": "google-duration", +"type": "string" +} +}, +"type": "object" +}, +"SqlServerDatabaseDetails": { +"description": "Represents a Sql Server database on the Cloud SQL instance.", +"id": "SqlServerDatabaseDetails", +"properties": { +"compatibilityLevel": { +"description": "The version of SQL Server with which the database is to be made compatible", +"format": "int32", +"type": "integer" +}, +"recoveryModel": { +"description": "The recovery model of a SQL Server database", +"type": "string" +} +}, +"type": "object" +}, +"SqlServerEntraIdConfig": { +"description": "SQL Server Entra ID configuration.", +"id": "SqlServerEntraIdConfig", +"properties": { +"applicationId": { +"description": "Optional. The application ID for the Entra ID configuration.", +"type": "string" +}, +"kind": { +"description": "Output only. This is always sql#sqlServerEntraIdConfig", +"readOnly": true, +"type": "string" +}, +"tenantId": { +"description": "Optional. The tenant ID for the Entra ID configuration.", +"type": "string" +} +}, +"type": "object" +}, +"SqlServerUserDetails": { +"description": "Represents a Sql Server user on the Cloud SQL instance.", +"id": "SqlServerUserDetails", +"properties": { +"disabled": { +"description": "If the user has been disabled", +"type": "boolean" +}, +"serverRoles": { +"description": "The server roles for this user", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"SqlSubOperationType": { +"description": "The sub operation type based on the operation type.", +"id": "SqlSubOperationType", +"properties": { +"maintenanceType": { +"description": "The type of maintenance to be performed on the instance.", +"enum": [ +"SQL_MAINTENANCE_TYPE_UNSPECIFIED", +"INSTANCE_MAINTENANCE", +"REPLICA_INCLUDED_MAINTENANCE", +"INSTANCE_SELF_SERVICE_MAINTENANCE", +"REPLICA_INCLUDED_SELF_SERVICE_MAINTENANCE" +], +"enumDescriptions": [ +"Maintenance type is unspecified.", +"Indicates that a standalone instance is undergoing maintenance. The instance can be either a primary instance or a replica.", +"Indicates that the primary instance and all of its replicas, including cascading replicas, are undergoing maintenance. Maintenance is performed on groups of replicas first, followed by the primary instance.", +"Indicates that the standalone instance is undergoing maintenance, initiated by self-service. The instance can be either a primary instance or a replica.", +"Indicates that the primary instance and all of its replicas are undergoing maintenance, initiated by self-service. Maintenance is performed on groups of replicas first, followed by the primary instance." +], +"type": "string" +} +}, +"type": "object" +}, +"SslCert": { +"description": "SslCerts Resource", +"id": "SslCert", +"properties": { +"cert": { +"description": "PEM representation.", +"type": "string" +}, +"certSerialNumber": { +"description": "Serial number, as extracted from the certificate.", +"type": "string" +}, +"commonName": { +"description": "User supplied name. Constrained to [a-zA-Z.-_ ]+.", +"type": "string" +}, +"createTime": { +"description": "The time when the certificate was created in [RFC 3339](https://tools.ietf.org/html/rfc3339) format, for example `2012-11-15T16:19:00.094Z`.", +"format": "google-datetime", +"type": "string" +}, +"expirationTime": { +"description": "The time when the certificate expires in [RFC 3339](https://tools.ietf.org/html/rfc3339) format, for example `2012-11-15T16:19:00.094Z`.", +"format": "google-datetime", +"type": "string" +}, +"instance": { +"description": "Name of the database instance.", +"type": "string" +}, +"kind": { +"description": "This is always `sql#sslCert`.", +"type": "string" +}, +"selfLink": { +"description": "The URI of this resource.", +"type": "string" +}, +"sha1Fingerprint": { +"description": "Sha1 Fingerprint.", +"type": "string" +} +}, +"type": "object" +}, +"SslCertDetail": { +"description": "SslCertDetail.", +"id": "SslCertDetail", +"properties": { +"certInfo": { +"$ref": "SslCert", +"description": "The public information about the cert." +}, +"certPrivateKey": { +"description": "The private key for the client cert, in pem format. Keep private in order to protect your security.", +"type": "string" +} +}, +"type": "object" +}, +"SslCertsCreateEphemeralRequest": { +"description": "SslCerts create ephemeral certificate request.", +"id": "SslCertsCreateEphemeralRequest", +"properties": { +"access_token": { +"description": "Access token to include in the signed certificate.", +"type": "string" +}, +"public_key": { +"description": "PEM encoded public key to include in the signed certificate.", +"type": "string" +} +}, +"type": "object" +}, +"SslCertsInsertRequest": { +"description": "SslCerts insert request.", +"id": "SslCertsInsertRequest", +"properties": { +"commonName": { +"description": "User supplied name. Must be a distinct name from the other certificates for this instance.", +"type": "string" +} +}, +"type": "object" +}, +"SslCertsInsertResponse": { +"description": "SslCert insert response.", +"id": "SslCertsInsertResponse", +"properties": { +"clientCert": { +"$ref": "SslCertDetail", +"description": "The new client certificate and private key." +}, +"kind": { +"description": "This is always `sql#sslCertsInsert`.", +"type": "string" +}, +"operation": { +"$ref": "Operation", +"description": "The operation to track the ssl certs insert request." +}, +"serverCaCert": { +"$ref": "SslCert", +"description": "The server Certificate Authority's certificate. If this is missing you can force a new one to be generated by calling resetSslConfig method on instances resource." +} +}, +"type": "object" +}, +"SslCertsListResponse": { +"description": "SslCerts list response.", +"id": "SslCertsListResponse", +"properties": { +"items": { +"description": "List of client certificates for the instance.", +"items": { +"$ref": "SslCert" +}, +"type": "array" +}, +"kind": { +"description": "This is always `sql#sslCertsList`.", +"type": "string" +} +}, +"type": "object" +}, +"Status": { +"description": "The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors).", +"id": "Status", +"properties": { +"code": { +"description": "The status code, which should be an enum value of google.rpc.Code.", +"format": "int32", +"type": "integer" +}, +"details": { +"description": "A list of messages that carry the error details. There is a common set of message types for APIs to use.", +"items": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.", +"type": "string" +} +}, +"type": "object" +}, +"SyncFlags": { +"description": "Initial sync flags for certain Cloud SQL APIs. Currently used for the MySQL external server initial dump.", +"id": "SyncFlags", +"properties": { +"name": { +"description": "The name of the flag.", +"type": "string" +}, +"value": { +"description": "The value of the flag. This field must be omitted if the flag doesn't take a value.", +"type": "string" +} +}, +"type": "object" +}, +"TargetMetric": { +"description": "Target metric for read pool auto scaling.", +"id": "TargetMetric", +"properties": { +"metric": { +"description": "The metric name to be used for auto scaling.", +"type": "string" +}, +"targetValue": { +"description": "The target value for the metric.", +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"Tier": { +"description": "A Google Cloud SQL service tier resource.", +"id": "Tier", +"properties": { +"DiskQuota": { +"description": "The maximum disk size of this tier in bytes.", +"format": "int64", +"type": "string" +}, +"RAM": { +"description": "The maximum RAM usage of this tier in bytes.", +"format": "int64", +"type": "string" +}, +"kind": { +"description": "This is always `sql#tier`.", +"type": "string" +}, +"region": { +"description": "The applicable regions for this tier.", +"items": { +"type": "string" +}, +"type": "array" +}, +"tier": { +"description": "An identifier for the machine type, for example, `db-custom-1-3840`. For related information, see [Pricing](/sql/pricing).", +"type": "string" +} +}, +"type": "object" +}, +"TiersListResponse": { +"description": "Tiers list response.", +"id": "TiersListResponse", +"properties": { +"items": { +"description": "List of tiers.", +"items": { +"$ref": "Tier" +}, +"type": "array" +}, +"kind": { +"description": "This is always `sql#tiersList`.", +"type": "string" +} +}, +"type": "object" +}, +"TruncateLogContext": { +"description": "Database Instance truncate log context.", +"id": "TruncateLogContext", +"properties": { +"kind": { +"description": "This is always `sql#truncateLogContext`.", +"type": "string" +}, +"logType": { +"description": "The type of log to truncate. Valid values are `MYSQL_GENERAL_TABLE` and `MYSQL_SLOW_TABLE`.", +"type": "string" +} +}, +"type": "object" +}, +"User": { +"description": "A Cloud SQL user resource.", +"id": "User", +"properties": { +"databaseRoles": { +"description": "Optional. Role memberships of the user", +"items": { +"type": "string" +}, +"type": "array" +}, +"dualPasswordType": { +"description": "Dual password status for the user.", +"enum": [ +"DUAL_PASSWORD_TYPE_UNSPECIFIED", +"NO_MODIFY_DUAL_PASSWORD", +"NO_DUAL_PASSWORD", +"DUAL_PASSWORD" +], +"enumDescriptions": [ +"The default value.", +"Do not update the user's dual password status.", +"No dual password usable for connecting using this user.", +"Dual password usable for connecting using this user." +], +"type": "string" +}, +"etag": { +"description": "This field is deprecated and will be removed from a future version of the API.", +"type": "string" +}, +"host": { +"description": "Optional. The host from which the user can connect. For `insert` operations, host defaults to an empty string. For `update` operations, host is specified as part of the request URL. The host name cannot be updated after insertion. For a MySQL instance, it's required; for a PostgreSQL or SQL Server instance, it's optional.", +"type": "string" +}, +"iamEmail": { +"description": "Optional. The full email for an IAM user. For normal database users, this will not be filled. Only applicable to MySQL database users.", +"type": "string" +}, +"iamStatus": { +"description": "Indicates if a group is active or inactive for IAM database authentication.", +"enum": [ +"IAM_STATUS_UNSPECIFIED", +"INACTIVE", +"ACTIVE" +], +"enumDescriptions": [ +"The default value for users that are not of type CLOUD_IAM_GROUP. Only CLOUD_IAM_GROUP users will be inactive or active. Users with an IamStatus of IAM_STATUS_UNSPECIFIED will not display whether they are active or inactive as that is not applicable to them.", +"INACTIVE indicates a group is not available for IAM database authentication.", +"ACTIVE indicates a group is available for IAM database authentication." +], +"type": "string" +}, +"instance": { +"description": "The name of the Cloud SQL instance. This does not include the project ID. Can be omitted for *update* because it is already specified on the URL.", +"type": "string" +}, +"kind": { +"description": "This is always `sql#user`.", +"type": "string" +}, +"name": { +"description": "The name of the user in the Cloud SQL instance. Can be omitted for `update` because it is already specified in the URL.", +"type": "string" +}, +"password": { +"description": "The password for the user.", +"type": "string" +}, +"passwordPolicy": { +"$ref": "UserPasswordValidationPolicy", +"description": "User level password validation policy." +}, +"project": { +"description": "The project ID of the project containing the Cloud SQL database. The Google apps domain is prefixed if applicable. Can be omitted for *update* because it is already specified on the URL.", +"type": "string" +}, +"sqlserverUserDetails": { +"$ref": "SqlServerUserDetails" +}, +"type": { +"description": "The user type. It determines the method to authenticate the user during login. The default is the database's built-in user type.", +"enum": [ +"BUILT_IN", +"CLOUD_IAM_USER", +"CLOUD_IAM_SERVICE_ACCOUNT", +"CLOUD_IAM_GROUP", +"CLOUD_IAM_GROUP_USER", +"CLOUD_IAM_GROUP_SERVICE_ACCOUNT", +"ENTRAID_USER" +], +"enumDescriptions": [ +"The database's built-in user type.", +"Cloud IAM user.", +"Cloud IAM service account.", +"Cloud IAM group. Not used for login.", +"Read-only. Login for a user that belongs to the Cloud IAM group.", +"Read-only. Login for a service account that belongs to the Cloud IAM group.", +"Microsoft Entra ID user." +], +"type": "string" +} +}, +"type": "object" +}, +"UserPasswordValidationPolicy": { +"description": "User level password validation policy.", +"id": "UserPasswordValidationPolicy", +"properties": { +"allowedFailedAttempts": { +"description": "Number of failed login attempts allowed before user get locked.", +"format": "int32", +"type": "integer" +}, +"enableFailedAttemptsCheck": { +"description": "If true, failed login attempts check will be enabled.", +"type": "boolean" +}, +"enablePasswordVerification": { +"description": "If true, the user must specify the current password before changing the password. This flag is supported only for MySQL.", +"type": "boolean" +}, +"passwordExpirationDuration": { +"description": "Expiration duration after password is updated.", +"format": "google-duration", +"type": "string" +}, +"status": { +"$ref": "PasswordStatus", +"description": "Output only. Read-only password status.", +"readOnly": true +} +}, +"type": "object" +}, +"UsersListResponse": { +"description": "User list response.", +"id": "UsersListResponse", +"properties": { +"items": { +"description": "List of user resources in the instance.", +"items": { +"$ref": "User" +}, +"type": "array" +}, +"kind": { +"description": "This is always *sql#usersList*.", +"type": "string" +}, +"nextPageToken": { +"deprecated": true, +"description": "Unused.", +"type": "string" +} +}, +"type": "object" +}, +"Value": { +"description": "The cell value of the table.", +"id": "Value", +"properties": { +"nullValue": { +"description": "If cell value is null, then this flag will be set to true.", +"type": "boolean" +}, +"value": { +"description": "The cell value represented in string format.", +"type": "string" +} +}, +"type": "object" +} +}, +"servicePath": "", +"title": "Cloud SQL Admin API", +"version": "v1beta4" +} \ No newline at end of file diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/storage.v1.json b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/storage.v1.json new file mode 100644 index 0000000000000000000000000000000000000000..8446cd489ede12c8ce1a3a26464fa853b39239f5 --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/storage.v1.json @@ -0,0 +1,6601 @@ +{ +"auth": { +"oauth2": { +"scopes": { +"https://www.googleapis.com/auth/cloud-platform": { +"description": "View and manage your data across Google Cloud Platform services" +}, +"https://www.googleapis.com/auth/cloud-platform.read-only": { +"description": "View your data across Google Cloud Platform services" +}, +"https://www.googleapis.com/auth/devstorage.full_control": { +"description": "Manage your data and permissions in Google Cloud Storage" +}, +"https://www.googleapis.com/auth/devstorage.read_only": { +"description": "View your data in Google Cloud Storage" +}, +"https://www.googleapis.com/auth/devstorage.read_write": { +"description": "Manage your data in Google Cloud Storage" +} +} +} +}, +"basePath": "/storage/v1/", +"baseUrl": "https://storage.googleapis.com/storage/v1/", +"batchPath": "batch/storage/v1", +"description": "Stores and retrieves potentially large, immutable data objects.", +"discoveryVersion": "v1", +"documentationLink": "https://developers.google.com/storage/docs/json_api/", +"endpoints": [ +{ +"description": "Regional Endpoint", +"endpointUrl": "https://storage.africa-south1.rep.googleapis.com/", +"location": "africa-south1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://storage.asia-east1.rep.googleapis.com/", +"location": "asia-east1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://storage.asia-east2.rep.googleapis.com/", +"location": "asia-east2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://storage.asia-northeast1.rep.googleapis.com/", +"location": "asia-northeast1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://storage.asia-northeast2.rep.googleapis.com/", +"location": "asia-northeast2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://storage.asia-northeast3.rep.googleapis.com/", +"location": "asia-northeast3" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://storage.asia-south1.rep.googleapis.com/", +"location": "asia-south1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://storage.asia-south2.rep.googleapis.com/", +"location": "asia-south2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://storage.asia-southeast1.rep.googleapis.com/", +"location": "asia-southeast1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://storage.asia-southeast2.rep.googleapis.com/", +"location": "asia-southeast2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://storage.australia-southeast1.rep.googleapis.com/", +"location": "australia-southeast1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://storage.australia-southeast2.rep.googleapis.com/", +"location": "australia-southeast2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://storage.eu.rep.googleapis.com/", +"location": "eu" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://storage.europe-central2.rep.googleapis.com/", +"location": "europe-central2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://storage.europe-north1.rep.googleapis.com/", +"location": "europe-north1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://storage.europe-southwest1.rep.googleapis.com/", +"location": "europe-southwest1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://storage.europe-west1.rep.googleapis.com/", +"location": "europe-west1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://storage.europe-west2.rep.googleapis.com/", +"location": "europe-west2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://storage.europe-west3.rep.googleapis.com/", +"location": "europe-west3" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://storage.europe-west4.rep.googleapis.com/", +"location": "europe-west4" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://storage.europe-west6.rep.googleapis.com/", +"location": "europe-west6" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://storage.europe-west8.rep.googleapis.com/", +"location": "europe-west8" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://storage.europe-west9.rep.googleapis.com/", +"location": "europe-west9" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://storage.europe-west10.rep.googleapis.com/", +"location": "europe-west10" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://storage.europe-west12.rep.googleapis.com/", +"location": "europe-west12" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://storage.me-central2.rep.googleapis.com/", +"location": "me-central2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://storage.me-west1.rep.googleapis.com/", +"location": "me-west1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://storage.us.rep.googleapis.com/", +"location": "us" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://storage.us-central1.rep.googleapis.com/", +"location": "us-central1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://storage.us-east1.rep.googleapis.com/", +"location": "us-east1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://storage.us-east4.rep.googleapis.com/", +"location": "us-east4" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://storage.us-east5.rep.googleapis.com/", +"location": "us-east5" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://storage.us-south1.rep.googleapis.com/", +"location": "us-south1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://storage.us-west1.rep.googleapis.com/", +"location": "us-west1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://storage.us-west2.rep.googleapis.com/", +"location": "us-west2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://storage.us-west3.rep.googleapis.com/", +"location": "us-west3" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://storage.us-west4.rep.googleapis.com/", +"location": "us-west4" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://storage.northamerica-northeast2.rep.googleapis.com/", +"location": "northamerica-northeast2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://storage.southamerica-east1.rep.googleapis.com/", +"location": "southamerica-east1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://storage.southamerica-west1.rep.googleapis.com/", +"location": "southamerica-west1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://storage.me-central1.rep.googleapis.com/", +"location": "me-central1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://storage.northamerica-northeast1.rep.googleapis.com/", +"location": "northamerica-northeast1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://storage.europe-north2.rep.googleapis.com/", +"location": "europe-north2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://storage.us-west8.rep.googleapis.com/", +"location": "us-west8" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://storage.northamerica-south1.rep.googleapis.com/", +"location": "northamerica-south1" +} +], +"etag": "\"31363539393037303230303637393438373935\"", +"icons": { +"x16": "https://www.google.com/images/icons/product/cloud_storage-16.png", +"x32": "https://www.google.com/images/icons/product/cloud_storage-32.png" +}, +"id": "storage:v1", +"kind": "discovery#restDescription", +"labels": [ +"labs" +], +"mtlsRootUrl": "https://storage.mtls.googleapis.com/", +"name": "storage", +"ownerDomain": "google.com", +"ownerName": "Google", +"parameters": { +"alt": { +"default": "json", +"description": "Data format for the response.", +"enum": [ +"json", +"media" +], +"enumDescriptions": [ +"Responses with Content-Type of application/json", +"Responses containing object data" +], +"location": "query", +"type": "string" +}, +"fields": { +"description": "Selector specifying which fields to include in a partial response.", +"location": "query", +"type": "string" +}, +"key": { +"description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", +"location": "query", +"type": "string" +}, +"oauth_token": { +"description": "OAuth 2.0 token for the current user.", +"location": "query", +"type": "string" +}, +"prettyPrint": { +"default": "true", +"description": "Returns response with indentations and line breaks.", +"location": "query", +"type": "boolean" +}, +"quotaUser": { +"description": "An opaque string that represents a user for quota purposes. Must not exceed 40 characters.", +"location": "query", +"type": "string" +}, +"uploadType": { +"description": "Upload protocol for media (e.g. \"media\", \"multipart\", \"resumable\").", +"location": "query", +"type": "string" +}, +"userIp": { +"description": "Deprecated. Please use quotaUser instead.", +"location": "query", +"type": "string" +} +}, +"protocol": "rest", +"resources": { +"anywhereCaches": { +"methods": { +"disable": { +"description": "Disables an Anywhere Cache instance.", +"httpMethod": "POST", +"id": "storage.anywhereCaches.disable", +"parameterOrder": [ +"bucket", +"anywhereCacheId" +], +"parameters": { +"anywhereCacheId": { +"description": "The ID of requested Anywhere Cache instance.", +"location": "path", +"required": true, +"type": "string" +}, +"bucket": { +"description": "Name of the parent bucket.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "b/{bucket}/anywhereCaches/{anywhereCacheId}/disable", +"response": { +"$ref": "AnywhereCache" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/devstorage.full_control", +"https://www.googleapis.com/auth/devstorage.read_write" +] +}, +"get": { +"description": "Returns the metadata of an Anywhere Cache instance.", +"httpMethod": "GET", +"id": "storage.anywhereCaches.get", +"parameterOrder": [ +"bucket", +"anywhereCacheId" +], +"parameters": { +"anywhereCacheId": { +"description": "The ID of requested Anywhere Cache instance.", +"location": "path", +"required": true, +"type": "string" +}, +"bucket": { +"description": "Name of the parent bucket.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "b/{bucket}/anywhereCaches/{anywhereCacheId}", +"response": { +"$ref": "AnywhereCache" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only", +"https://www.googleapis.com/auth/devstorage.full_control", +"https://www.googleapis.com/auth/devstorage.read_only", +"https://www.googleapis.com/auth/devstorage.read_write" +] +}, +"insert": { +"description": "Creates an Anywhere Cache instance.", +"httpMethod": "POST", +"id": "storage.anywhereCaches.insert", +"parameterOrder": [ +"bucket" +], +"parameters": { +"bucket": { +"description": "Name of the parent bucket.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "b/{bucket}/anywhereCaches", +"request": { +"$ref": "AnywhereCache" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/devstorage.full_control", +"https://www.googleapis.com/auth/devstorage.read_write" +] +}, +"list": { +"description": "Returns a list of Anywhere Cache instances of the bucket matching the criteria.", +"httpMethod": "GET", +"id": "storage.anywhereCaches.list", +"parameterOrder": [ +"bucket" +], +"parameters": { +"bucket": { +"description": "Name of the parent bucket.", +"location": "path", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "Maximum number of items to return in a single page of responses. Maximum 1000.", +"format": "int32", +"location": "query", +"minimum": "0", +"type": "integer" +}, +"pageToken": { +"description": "A previously-returned page token representing part of the larger set of results to view.", +"location": "query", +"type": "string" +} +}, +"path": "b/{bucket}/anywhereCaches", +"response": { +"$ref": "AnywhereCaches" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only", +"https://www.googleapis.com/auth/devstorage.full_control", +"https://www.googleapis.com/auth/devstorage.read_only", +"https://www.googleapis.com/auth/devstorage.read_write" +] +}, +"pause": { +"description": "Pauses an Anywhere Cache instance.", +"httpMethod": "POST", +"id": "storage.anywhereCaches.pause", +"parameterOrder": [ +"bucket", +"anywhereCacheId" +], +"parameters": { +"anywhereCacheId": { +"description": "The ID of requested Anywhere Cache instance.", +"location": "path", +"required": true, +"type": "string" +}, +"bucket": { +"description": "Name of the parent bucket.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "b/{bucket}/anywhereCaches/{anywhereCacheId}/pause", +"response": { +"$ref": "AnywhereCache" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/devstorage.full_control", +"https://www.googleapis.com/auth/devstorage.read_write" +] +}, +"resume": { +"description": "Resumes a paused or disabled Anywhere Cache instance.", +"httpMethod": "POST", +"id": "storage.anywhereCaches.resume", +"parameterOrder": [ +"bucket", +"anywhereCacheId" +], +"parameters": { +"anywhereCacheId": { +"description": "The ID of requested Anywhere Cache instance.", +"location": "path", +"required": true, +"type": "string" +}, +"bucket": { +"description": "Name of the parent bucket.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "b/{bucket}/anywhereCaches/{anywhereCacheId}/resume", +"response": { +"$ref": "AnywhereCache" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/devstorage.full_control", +"https://www.googleapis.com/auth/devstorage.read_write" +] +}, +"update": { +"description": "Updates the config(ttl and admissionPolicy) of an Anywhere Cache instance.", +"httpMethod": "PATCH", +"id": "storage.anywhereCaches.update", +"parameterOrder": [ +"bucket", +"anywhereCacheId" +], +"parameters": { +"anywhereCacheId": { +"description": "The ID of requested Anywhere Cache instance.", +"location": "path", +"required": true, +"type": "string" +}, +"bucket": { +"description": "Name of the parent bucket.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "b/{bucket}/anywhereCaches/{anywhereCacheId}", +"request": { +"$ref": "AnywhereCache" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/devstorage.full_control", +"https://www.googleapis.com/auth/devstorage.read_write" +] +} +} +}, +"bucketAccessControls": { +"methods": { +"delete": { +"description": "Permanently deletes the ACL entry for the specified entity on the specified bucket.", +"httpMethod": "DELETE", +"id": "storage.bucketAccessControls.delete", +"parameterOrder": [ +"bucket", +"entity" +], +"parameters": { +"bucket": { +"description": "Name of a bucket.", +"location": "path", +"required": true, +"type": "string" +}, +"entity": { +"description": "The entity holding the permission. Can be user-userId, user-emailAddress, group-groupId, group-emailAddress, allUsers, or allAuthenticatedUsers.", +"location": "path", +"required": true, +"type": "string" +}, +"userProject": { +"description": "The project to be billed for this request. Required for Requester Pays buckets.", +"location": "query", +"type": "string" +} +}, +"path": "b/{bucket}/acl/{entity}", +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/devstorage.full_control" +] +}, +"get": { +"description": "Returns the ACL entry for the specified entity on the specified bucket.", +"httpMethod": "GET", +"id": "storage.bucketAccessControls.get", +"parameterOrder": [ +"bucket", +"entity" +], +"parameters": { +"bucket": { +"description": "Name of a bucket.", +"location": "path", +"required": true, +"type": "string" +}, +"entity": { +"description": "The entity holding the permission. Can be user-userId, user-emailAddress, group-groupId, group-emailAddress, allUsers, or allAuthenticatedUsers.", +"location": "path", +"required": true, +"type": "string" +}, +"userProject": { +"description": "The project to be billed for this request. Required for Requester Pays buckets.", +"location": "query", +"type": "string" +} +}, +"path": "b/{bucket}/acl/{entity}", +"response": { +"$ref": "BucketAccessControl" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/devstorage.full_control" +] +}, +"insert": { +"description": "Creates a new ACL entry on the specified bucket.", +"httpMethod": "POST", +"id": "storage.bucketAccessControls.insert", +"parameterOrder": [ +"bucket" +], +"parameters": { +"bucket": { +"description": "Name of a bucket.", +"location": "path", +"required": true, +"type": "string" +}, +"userProject": { +"description": "The project to be billed for this request. Required for Requester Pays buckets.", +"location": "query", +"type": "string" +} +}, +"path": "b/{bucket}/acl", +"request": { +"$ref": "BucketAccessControl" +}, +"response": { +"$ref": "BucketAccessControl" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/devstorage.full_control" +] +}, +"list": { +"description": "Retrieves ACL entries on the specified bucket.", +"httpMethod": "GET", +"id": "storage.bucketAccessControls.list", +"parameterOrder": [ +"bucket" +], +"parameters": { +"bucket": { +"description": "Name of a bucket.", +"location": "path", +"required": true, +"type": "string" +}, +"userProject": { +"description": "The project to be billed for this request. Required for Requester Pays buckets.", +"location": "query", +"type": "string" +} +}, +"path": "b/{bucket}/acl", +"response": { +"$ref": "BucketAccessControls" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/devstorage.full_control" +] +}, +"patch": { +"description": "Patches an ACL entry on the specified bucket.", +"httpMethod": "PATCH", +"id": "storage.bucketAccessControls.patch", +"parameterOrder": [ +"bucket", +"entity" +], +"parameters": { +"bucket": { +"description": "Name of a bucket.", +"location": "path", +"required": true, +"type": "string" +}, +"entity": { +"description": "The entity holding the permission. Can be user-userId, user-emailAddress, group-groupId, group-emailAddress, allUsers, or allAuthenticatedUsers.", +"location": "path", +"required": true, +"type": "string" +}, +"userProject": { +"description": "The project to be billed for this request. Required for Requester Pays buckets.", +"location": "query", +"type": "string" +} +}, +"path": "b/{bucket}/acl/{entity}", +"request": { +"$ref": "BucketAccessControl" +}, +"response": { +"$ref": "BucketAccessControl" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/devstorage.full_control" +] +}, +"update": { +"description": "Updates an ACL entry on the specified bucket.", +"httpMethod": "PUT", +"id": "storage.bucketAccessControls.update", +"parameterOrder": [ +"bucket", +"entity" +], +"parameters": { +"bucket": { +"description": "Name of a bucket.", +"location": "path", +"required": true, +"type": "string" +}, +"entity": { +"description": "The entity holding the permission. Can be user-userId, user-emailAddress, group-groupId, group-emailAddress, allUsers, or allAuthenticatedUsers.", +"location": "path", +"required": true, +"type": "string" +}, +"userProject": { +"description": "The project to be billed for this request. Required for Requester Pays buckets.", +"location": "query", +"type": "string" +} +}, +"path": "b/{bucket}/acl/{entity}", +"request": { +"$ref": "BucketAccessControl" +}, +"response": { +"$ref": "BucketAccessControl" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/devstorage.full_control" +] +} +} +}, +"buckets": { +"methods": { +"delete": { +"description": "Deletes an empty bucket. Deletions are permanent unless soft delete is enabled on the bucket.", +"httpMethod": "DELETE", +"id": "storage.buckets.delete", +"parameterOrder": [ +"bucket" +], +"parameters": { +"bucket": { +"description": "Name of a bucket.", +"location": "path", +"required": true, +"type": "string" +}, +"ifMetagenerationMatch": { +"description": "If set, only deletes the bucket if its metageneration matches this value.", +"format": "int64", +"location": "query", +"type": "string" +}, +"ifMetagenerationNotMatch": { +"description": "If set, only deletes the bucket if its metageneration does not match this value.", +"format": "int64", +"location": "query", +"type": "string" +}, +"userProject": { +"description": "The project to be billed for this request. Required for Requester Pays buckets.", +"location": "query", +"type": "string" +} +}, +"path": "b/{bucket}", +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/devstorage.full_control", +"https://www.googleapis.com/auth/devstorage.read_write" +] +}, +"get": { +"description": "Returns metadata for the specified bucket.", +"httpMethod": "GET", +"id": "storage.buckets.get", +"parameterOrder": [ +"bucket" +], +"parameters": { +"bucket": { +"description": "Name of a bucket.", +"location": "path", +"required": true, +"type": "string" +}, +"generation": { +"description": "If present, specifies the generation of the bucket. This is required if softDeleted is true.", +"format": "int64", +"location": "query", +"type": "string" +}, +"ifMetagenerationMatch": { +"description": "Makes the return of the bucket metadata conditional on whether the bucket's current metageneration matches the given value.", +"format": "int64", +"location": "query", +"type": "string" +}, +"ifMetagenerationNotMatch": { +"description": "Makes the return of the bucket metadata conditional on whether the bucket's current metageneration does not match the given value.", +"format": "int64", +"location": "query", +"type": "string" +}, +"projection": { +"description": "Set of properties to return. Defaults to noAcl.", +"enum": [ +"full", +"noAcl" +], +"enumDescriptions": [ +"Include all properties.", +"Omit owner, acl and defaultObjectAcl properties." +], +"location": "query", +"type": "string" +}, +"softDeleted": { +"description": "If true, return the soft-deleted version of this bucket. The default is false. For more information, see [Soft Delete](https://cloud.google.com/storage/docs/soft-delete).", +"location": "query", +"type": "boolean" +}, +"userProject": { +"description": "The project to be billed for this request. Required for Requester Pays buckets.", +"location": "query", +"type": "string" +} +}, +"path": "b/{bucket}", +"response": { +"$ref": "Bucket" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only", +"https://www.googleapis.com/auth/devstorage.full_control", +"https://www.googleapis.com/auth/devstorage.read_only", +"https://www.googleapis.com/auth/devstorage.read_write" +] +}, +"getIamPolicy": { +"description": "Returns an IAM policy for the specified bucket.", +"httpMethod": "GET", +"id": "storage.buckets.getIamPolicy", +"parameterOrder": [ +"bucket" +], +"parameters": { +"bucket": { +"description": "Name of a bucket.", +"location": "path", +"required": true, +"type": "string" +}, +"optionsRequestedPolicyVersion": { +"description": "The IAM policy format version to be returned. If the optionsRequestedPolicyVersion is for an older version that doesn't support part of the requested IAM policy, the request fails.", +"format": "int32", +"location": "query", +"minimum": "1", +"type": "integer" +}, +"userProject": { +"description": "The project to be billed for this request. Required for Requester Pays buckets.", +"location": "query", +"type": "string" +} +}, +"path": "b/{bucket}/iam", +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/devstorage.full_control" +] +}, +"getStorageLayout": { +"description": "Returns the storage layout configuration for the specified bucket. Note that this operation requires storage.objects.list permission.", +"httpMethod": "GET", +"id": "storage.buckets.getStorageLayout", +"parameterOrder": [ +"bucket" +], +"parameters": { +"bucket": { +"description": "Name of a bucket.", +"location": "path", +"required": true, +"type": "string" +}, +"prefix": { +"description": "An optional prefix used for permission check. It is useful when the caller only has storage.objects.list permission under a specific prefix.", +"location": "query", +"type": "string" +} +}, +"path": "b/{bucket}/storageLayout", +"response": { +"$ref": "BucketStorageLayout" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only", +"https://www.googleapis.com/auth/devstorage.full_control", +"https://www.googleapis.com/auth/devstorage.read_only", +"https://www.googleapis.com/auth/devstorage.read_write" +] +}, +"insert": { +"description": "Creates a new bucket.", +"httpMethod": "POST", +"id": "storage.buckets.insert", +"parameterOrder": [ +"project" +], +"parameters": { +"enableObjectRetention": { +"default": "false", +"description": "When set to true, object retention is enabled for this bucket.", +"location": "query", +"type": "boolean" +}, +"predefinedAcl": { +"description": "Apply a predefined set of access controls to this bucket.", +"enum": [ +"authenticatedRead", +"private", +"projectPrivate", +"publicRead", +"publicReadWrite" +], +"enumDescriptions": [ +"Project team owners get OWNER access, and allAuthenticatedUsers get READER access.", +"Project team owners get OWNER access.", +"Project team members get access according to their roles.", +"Project team owners get OWNER access, and allUsers get READER access.", +"Project team owners get OWNER access, and allUsers get WRITER access." +], +"location": "query", +"type": "string" +}, +"predefinedDefaultObjectAcl": { +"description": "Apply a predefined set of default object access controls to this bucket.", +"enum": [ +"authenticatedRead", +"bucketOwnerFullControl", +"bucketOwnerRead", +"private", +"projectPrivate", +"publicRead" +], +"enumDescriptions": [ +"Object owner gets OWNER access, and allAuthenticatedUsers get READER access.", +"Object owner gets OWNER access, and project team owners get OWNER access.", +"Object owner gets OWNER access, and project team owners get READER access.", +"Object owner gets OWNER access.", +"Object owner gets OWNER access, and project team members get access according to their roles.", +"Object owner gets OWNER access, and allUsers get READER access." +], +"location": "query", +"type": "string" +}, +"project": { +"description": "A valid API project identifier.", +"location": "query", +"required": true, +"type": "string" +}, +"projection": { +"description": "Set of properties to return. Defaults to noAcl, unless the bucket resource specifies acl or defaultObjectAcl properties, when it defaults to full.", +"enum": [ +"full", +"noAcl" +], +"enumDescriptions": [ +"Include all properties.", +"Omit owner, acl and defaultObjectAcl properties." +], +"location": "query", +"type": "string" +}, +"userProject": { +"description": "The project to be billed for this request.", +"location": "query", +"type": "string" +} +}, +"path": "b", +"request": { +"$ref": "Bucket" +}, +"response": { +"$ref": "Bucket" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/devstorage.full_control", +"https://www.googleapis.com/auth/devstorage.read_write" +] +}, +"list": { +"description": "Retrieves a list of buckets for a given project.", +"httpMethod": "GET", +"id": "storage.buckets.list", +"parameterOrder": [ +"project" +], +"parameters": { +"maxResults": { +"default": "1000", +"description": "Maximum number of buckets to return in a single response. The service will use this parameter or 1,000 items, whichever is smaller.", +"format": "uint32", +"location": "query", +"minimum": "0", +"type": "integer" +}, +"pageToken": { +"description": "A previously-returned page token representing part of the larger set of results to view.", +"location": "query", +"type": "string" +}, +"prefix": { +"description": "Filter results to buckets whose names begin with this prefix.", +"location": "query", +"type": "string" +}, +"project": { +"description": "A valid API project identifier.", +"location": "query", +"required": true, +"type": "string" +}, +"projection": { +"description": "Set of properties to return. Defaults to noAcl.", +"enum": [ +"full", +"noAcl" +], +"enumDescriptions": [ +"Include all properties.", +"Omit owner, acl and defaultObjectAcl properties." +], +"location": "query", +"type": "string" +}, +"returnPartialSuccess": { +"description": "If true, return a list of bucket resource names for buckets that are in unreachable locations.", +"location": "query", +"type": "boolean" +}, +"softDeleted": { +"description": "If true, only soft-deleted bucket versions will be returned. The default is false. For more information, see [Soft Delete](https://cloud.google.com/storage/docs/soft-delete).", +"location": "query", +"type": "boolean" +}, +"userProject": { +"description": "The project to be billed for this request.", +"location": "query", +"type": "string" +} +}, +"path": "b", +"response": { +"$ref": "Buckets" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only", +"https://www.googleapis.com/auth/devstorage.full_control", +"https://www.googleapis.com/auth/devstorage.read_only", +"https://www.googleapis.com/auth/devstorage.read_write" +] +}, +"lockRetentionPolicy": { +"description": "Locks retention policy on a bucket.", +"httpMethod": "POST", +"id": "storage.buckets.lockRetentionPolicy", +"parameterOrder": [ +"bucket", +"ifMetagenerationMatch" +], +"parameters": { +"bucket": { +"description": "Name of a bucket.", +"location": "path", +"required": true, +"type": "string" +}, +"ifMetagenerationMatch": { +"description": "Makes the operation conditional on whether bucket's current metageneration matches the given value.", +"format": "int64", +"location": "query", +"required": true, +"type": "string" +}, +"userProject": { +"description": "The project to be billed for this request. Required for Requester Pays buckets.", +"location": "query", +"type": "string" +} +}, +"path": "b/{bucket}/lockRetentionPolicy", +"response": { +"$ref": "Bucket" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/devstorage.full_control", +"https://www.googleapis.com/auth/devstorage.read_write" +] +}, +"patch": { +"description": "Patches a bucket. Changes to the bucket will be readable immediately after writing, but configuration changes may take time to propagate.", +"httpMethod": "PATCH", +"id": "storage.buckets.patch", +"parameterOrder": [ +"bucket" +], +"parameters": { +"bucket": { +"description": "Name of a bucket.", +"location": "path", +"required": true, +"type": "string" +}, +"ifMetagenerationMatch": { +"description": "Makes the return of the bucket metadata conditional on whether the bucket's current metageneration matches the given value.", +"format": "int64", +"location": "query", +"type": "string" +}, +"ifMetagenerationNotMatch": { +"description": "Makes the return of the bucket metadata conditional on whether the bucket's current metageneration does not match the given value.", +"format": "int64", +"location": "query", +"type": "string" +}, +"predefinedAcl": { +"description": "Apply a predefined set of access controls to this bucket.", +"enum": [ +"authenticatedRead", +"private", +"projectPrivate", +"publicRead", +"publicReadWrite" +], +"enumDescriptions": [ +"Project team owners get OWNER access, and allAuthenticatedUsers get READER access.", +"Project team owners get OWNER access.", +"Project team members get access according to their roles.", +"Project team owners get OWNER access, and allUsers get READER access.", +"Project team owners get OWNER access, and allUsers get WRITER access." +], +"location": "query", +"type": "string" +}, +"predefinedDefaultObjectAcl": { +"description": "Apply a predefined set of default object access controls to this bucket.", +"enum": [ +"authenticatedRead", +"bucketOwnerFullControl", +"bucketOwnerRead", +"private", +"projectPrivate", +"publicRead" +], +"enumDescriptions": [ +"Object owner gets OWNER access, and allAuthenticatedUsers get READER access.", +"Object owner gets OWNER access, and project team owners get OWNER access.", +"Object owner gets OWNER access, and project team owners get READER access.", +"Object owner gets OWNER access.", +"Object owner gets OWNER access, and project team members get access according to their roles.", +"Object owner gets OWNER access, and allUsers get READER access." +], +"location": "query", +"type": "string" +}, +"projection": { +"description": "Set of properties to return. Defaults to full.", +"enum": [ +"full", +"noAcl" +], +"enumDescriptions": [ +"Include all properties.", +"Omit owner, acl and defaultObjectAcl properties." +], +"location": "query", +"type": "string" +}, +"userProject": { +"description": "The project to be billed for this request. Required for Requester Pays buckets.", +"location": "query", +"type": "string" +} +}, +"path": "b/{bucket}", +"request": { +"$ref": "Bucket" +}, +"response": { +"$ref": "Bucket" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/devstorage.full_control" +] +}, +"relocate": { +"description": "Initiates a long-running Relocate Bucket operation on the specified bucket.", +"httpMethod": "POST", +"id": "storage.buckets.relocate", +"parameterOrder": [ +"bucket" +], +"parameters": { +"bucket": { +"description": "Name of the bucket to be moved.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "b/{bucket}/relocate", +"request": { +"$ref": "RelocateBucketRequest" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/devstorage.full_control", +"https://www.googleapis.com/auth/devstorage.read_write" +] +}, +"restore": { +"description": "Restores a soft-deleted bucket.", +"httpMethod": "POST", +"id": "storage.buckets.restore", +"parameterOrder": [ +"bucket", +"generation" +], +"parameters": { +"bucket": { +"description": "Name of a bucket.", +"location": "path", +"required": true, +"type": "string" +}, +"generation": { +"description": "Generation of a bucket.", +"format": "int64", +"location": "query", +"required": true, +"type": "string" +}, +"projection": { +"description": "Set of properties to return. Defaults to full.", +"enum": [ +"full", +"noAcl" +], +"enumDescriptions": [ +"Include all properties.", +"Omit owner, acl and defaultObjectAcl properties." +], +"location": "query", +"type": "string" +}, +"userProject": { +"description": "The project to be billed for this request. Required for Requester Pays buckets.", +"location": "query", +"type": "string" +} +}, +"path": "b/{bucket}/restore", +"response": { +"$ref": "Bucket" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/devstorage.full_control", +"https://www.googleapis.com/auth/devstorage.read_write" +] +}, +"setIamPolicy": { +"description": "Updates an IAM policy for the specified bucket.", +"httpMethod": "PUT", +"id": "storage.buckets.setIamPolicy", +"parameterOrder": [ +"bucket" +], +"parameters": { +"bucket": { +"description": "Name of a bucket.", +"location": "path", +"required": true, +"type": "string" +}, +"userProject": { +"description": "The project to be billed for this request. Required for Requester Pays buckets.", +"location": "query", +"type": "string" +} +}, +"path": "b/{bucket}/iam", +"request": { +"$ref": "Policy" +}, +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/devstorage.full_control" +] +}, +"testIamPermissions": { +"description": "Tests a set of permissions on the given bucket to see which, if any, are held by the caller.", +"httpMethod": "GET", +"id": "storage.buckets.testIamPermissions", +"parameterOrder": [ +"bucket", +"permissions" +], +"parameters": { +"bucket": { +"description": "Name of a bucket.", +"location": "path", +"required": true, +"type": "string" +}, +"permissions": { +"description": "Permissions to test.", +"location": "query", +"repeated": true, +"required": true, +"type": "string" +}, +"userProject": { +"description": "The project to be billed for this request. Required for Requester Pays buckets.", +"location": "query", +"type": "string" +} +}, +"path": "b/{bucket}/iam/testPermissions", +"response": { +"$ref": "TestIamPermissionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only", +"https://www.googleapis.com/auth/devstorage.full_control", +"https://www.googleapis.com/auth/devstorage.read_only", +"https://www.googleapis.com/auth/devstorage.read_write" +] +}, +"update": { +"description": "Updates a bucket. Changes to the bucket will be readable immediately after writing, but configuration changes may take time to propagate.", +"httpMethod": "PUT", +"id": "storage.buckets.update", +"parameterOrder": [ +"bucket" +], +"parameters": { +"bucket": { +"description": "Name of a bucket.", +"location": "path", +"required": true, +"type": "string" +}, +"ifMetagenerationMatch": { +"description": "Makes the return of the bucket metadata conditional on whether the bucket's current metageneration matches the given value.", +"format": "int64", +"location": "query", +"type": "string" +}, +"ifMetagenerationNotMatch": { +"description": "Makes the return of the bucket metadata conditional on whether the bucket's current metageneration does not match the given value.", +"format": "int64", +"location": "query", +"type": "string" +}, +"predefinedAcl": { +"description": "Apply a predefined set of access controls to this bucket.", +"enum": [ +"authenticatedRead", +"private", +"projectPrivate", +"publicRead", +"publicReadWrite" +], +"enumDescriptions": [ +"Project team owners get OWNER access, and allAuthenticatedUsers get READER access.", +"Project team owners get OWNER access.", +"Project team members get access according to their roles.", +"Project team owners get OWNER access, and allUsers get READER access.", +"Project team owners get OWNER access, and allUsers get WRITER access." +], +"location": "query", +"type": "string" +}, +"predefinedDefaultObjectAcl": { +"description": "Apply a predefined set of default object access controls to this bucket.", +"enum": [ +"authenticatedRead", +"bucketOwnerFullControl", +"bucketOwnerRead", +"private", +"projectPrivate", +"publicRead" +], +"enumDescriptions": [ +"Object owner gets OWNER access, and allAuthenticatedUsers get READER access.", +"Object owner gets OWNER access, and project team owners get OWNER access.", +"Object owner gets OWNER access, and project team owners get READER access.", +"Object owner gets OWNER access.", +"Object owner gets OWNER access, and project team members get access according to their roles.", +"Object owner gets OWNER access, and allUsers get READER access." +], +"location": "query", +"type": "string" +}, +"projection": { +"description": "Set of properties to return. Defaults to full.", +"enum": [ +"full", +"noAcl" +], +"enumDescriptions": [ +"Include all properties.", +"Omit owner, acl and defaultObjectAcl properties." +], +"location": "query", +"type": "string" +}, +"userProject": { +"description": "The project to be billed for this request. Required for Requester Pays buckets.", +"location": "query", +"type": "string" +} +}, +"path": "b/{bucket}", +"request": { +"$ref": "Bucket" +}, +"response": { +"$ref": "Bucket" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/devstorage.full_control" +] +} +} +}, +"channels": { +"methods": { +"stop": { +"description": "Stop watching resources through this channel", +"httpMethod": "POST", +"id": "storage.channels.stop", +"path": "channels/stop", +"request": { +"$ref": "Channel", +"parameterName": "resource" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only", +"https://www.googleapis.com/auth/devstorage.full_control", +"https://www.googleapis.com/auth/devstorage.read_only", +"https://www.googleapis.com/auth/devstorage.read_write" +] +} +} +}, +"defaultObjectAccessControls": { +"methods": { +"delete": { +"description": "Permanently deletes the default object ACL entry for the specified entity on the specified bucket.", +"httpMethod": "DELETE", +"id": "storage.defaultObjectAccessControls.delete", +"parameterOrder": [ +"bucket", +"entity" +], +"parameters": { +"bucket": { +"description": "Name of a bucket.", +"location": "path", +"required": true, +"type": "string" +}, +"entity": { +"description": "The entity holding the permission. Can be user-userId, user-emailAddress, group-groupId, group-emailAddress, allUsers, or allAuthenticatedUsers.", +"location": "path", +"required": true, +"type": "string" +}, +"userProject": { +"description": "The project to be billed for this request. Required for Requester Pays buckets.", +"location": "query", +"type": "string" +} +}, +"path": "b/{bucket}/defaultObjectAcl/{entity}", +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/devstorage.full_control" +] +}, +"get": { +"description": "Returns the default object ACL entry for the specified entity on the specified bucket.", +"httpMethod": "GET", +"id": "storage.defaultObjectAccessControls.get", +"parameterOrder": [ +"bucket", +"entity" +], +"parameters": { +"bucket": { +"description": "Name of a bucket.", +"location": "path", +"required": true, +"type": "string" +}, +"entity": { +"description": "The entity holding the permission. Can be user-userId, user-emailAddress, group-groupId, group-emailAddress, allUsers, or allAuthenticatedUsers.", +"location": "path", +"required": true, +"type": "string" +}, +"userProject": { +"description": "The project to be billed for this request. Required for Requester Pays buckets.", +"location": "query", +"type": "string" +} +}, +"path": "b/{bucket}/defaultObjectAcl/{entity}", +"response": { +"$ref": "ObjectAccessControl" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/devstorage.full_control" +] +}, +"insert": { +"description": "Creates a new default object ACL entry on the specified bucket.", +"httpMethod": "POST", +"id": "storage.defaultObjectAccessControls.insert", +"parameterOrder": [ +"bucket" +], +"parameters": { +"bucket": { +"description": "Name of a bucket.", +"location": "path", +"required": true, +"type": "string" +}, +"userProject": { +"description": "The project to be billed for this request. Required for Requester Pays buckets.", +"location": "query", +"type": "string" +} +}, +"path": "b/{bucket}/defaultObjectAcl", +"request": { +"$ref": "ObjectAccessControl" +}, +"response": { +"$ref": "ObjectAccessControl" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/devstorage.full_control" +] +}, +"list": { +"description": "Retrieves default object ACL entries on the specified bucket.", +"httpMethod": "GET", +"id": "storage.defaultObjectAccessControls.list", +"parameterOrder": [ +"bucket" +], +"parameters": { +"bucket": { +"description": "Name of a bucket.", +"location": "path", +"required": true, +"type": "string" +}, +"ifMetagenerationMatch": { +"description": "If present, only return default ACL listing if the bucket's current metageneration matches this value.", +"format": "int64", +"location": "query", +"type": "string" +}, +"ifMetagenerationNotMatch": { +"description": "If present, only return default ACL listing if the bucket's current metageneration does not match the given value.", +"format": "int64", +"location": "query", +"type": "string" +}, +"userProject": { +"description": "The project to be billed for this request. Required for Requester Pays buckets.", +"location": "query", +"type": "string" +} +}, +"path": "b/{bucket}/defaultObjectAcl", +"response": { +"$ref": "ObjectAccessControls" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/devstorage.full_control" +] +}, +"patch": { +"description": "Patches a default object ACL entry on the specified bucket.", +"httpMethod": "PATCH", +"id": "storage.defaultObjectAccessControls.patch", +"parameterOrder": [ +"bucket", +"entity" +], +"parameters": { +"bucket": { +"description": "Name of a bucket.", +"location": "path", +"required": true, +"type": "string" +}, +"entity": { +"description": "The entity holding the permission. Can be user-userId, user-emailAddress, group-groupId, group-emailAddress, allUsers, or allAuthenticatedUsers.", +"location": "path", +"required": true, +"type": "string" +}, +"userProject": { +"description": "The project to be billed for this request. Required for Requester Pays buckets.", +"location": "query", +"type": "string" +} +}, +"path": "b/{bucket}/defaultObjectAcl/{entity}", +"request": { +"$ref": "ObjectAccessControl" +}, +"response": { +"$ref": "ObjectAccessControl" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/devstorage.full_control" +] +}, +"update": { +"description": "Updates a default object ACL entry on the specified bucket.", +"httpMethod": "PUT", +"id": "storage.defaultObjectAccessControls.update", +"parameterOrder": [ +"bucket", +"entity" +], +"parameters": { +"bucket": { +"description": "Name of a bucket.", +"location": "path", +"required": true, +"type": "string" +}, +"entity": { +"description": "The entity holding the permission. Can be user-userId, user-emailAddress, group-groupId, group-emailAddress, allUsers, or allAuthenticatedUsers.", +"location": "path", +"required": true, +"type": "string" +}, +"userProject": { +"description": "The project to be billed for this request. Required for Requester Pays buckets.", +"location": "query", +"type": "string" +} +}, +"path": "b/{bucket}/defaultObjectAcl/{entity}", +"request": { +"$ref": "ObjectAccessControl" +}, +"response": { +"$ref": "ObjectAccessControl" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/devstorage.full_control" +] +} +} +}, +"folders": { +"methods": { +"delete": { +"description": "Permanently deletes a folder. Only applicable to buckets with hierarchical namespace enabled.", +"httpMethod": "DELETE", +"id": "storage.folders.delete", +"parameterOrder": [ +"bucket", +"folder" +], +"parameters": { +"bucket": { +"description": "Name of the bucket in which the folder resides.", +"location": "path", +"required": true, +"type": "string" +}, +"folder": { +"description": "Name of a folder.", +"location": "path", +"required": true, +"type": "string" +}, +"ifMetagenerationMatch": { +"description": "If set, only deletes the folder if its metageneration matches this value.", +"format": "int64", +"location": "query", +"type": "string" +}, +"ifMetagenerationNotMatch": { +"description": "If set, only deletes the folder if its metageneration does not match this value.", +"format": "int64", +"location": "query", +"type": "string" +} +}, +"path": "b/{bucket}/folders/{folder}", +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/devstorage.full_control", +"https://www.googleapis.com/auth/devstorage.read_write" +] +}, +"deleteRecursive": { +"description": "Deletes a folder recursively. Only applicable to buckets with hierarchical namespace enabled.", +"httpMethod": "POST", +"id": "storage.folders.deleteRecursive", +"parameterOrder": [ +"bucket", +"folder" +], +"parameters": { +"bucket": { +"description": "Name of the bucket in which the folder resides.", +"location": "path", +"required": true, +"type": "string" +}, +"folder": { +"description": "Name of a folder.", +"location": "path", +"required": true, +"type": "string" +}, +"ifMetagenerationMatch": { +"description": "If set, only deletes the folder if its metageneration matches this value.", +"format": "int64", +"location": "query", +"type": "string" +}, +"ifMetagenerationNotMatch": { +"description": "If set, only deletes the folder if its metageneration does not match this value.", +"format": "int64", +"location": "query", +"type": "string" +} +}, +"path": "b/{bucket}/folders/{folder}/deleteRecursive", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/devstorage.full_control", +"https://www.googleapis.com/auth/devstorage.read_write" +] +}, +"get": { +"description": "Returns metadata for the specified folder. Only applicable to buckets with hierarchical namespace enabled.", +"httpMethod": "GET", +"id": "storage.folders.get", +"parameterOrder": [ +"bucket", +"folder" +], +"parameters": { +"bucket": { +"description": "Name of the bucket in which the folder resides.", +"location": "path", +"required": true, +"type": "string" +}, +"folder": { +"description": "Name of a folder.", +"location": "path", +"required": true, +"type": "string" +}, +"ifMetagenerationMatch": { +"description": "Makes the return of the folder metadata conditional on whether the folder's current metageneration matches the given value.", +"format": "int64", +"location": "query", +"type": "string" +}, +"ifMetagenerationNotMatch": { +"description": "Makes the return of the folder metadata conditional on whether the folder's current metageneration does not match the given value.", +"format": "int64", +"location": "query", +"type": "string" +} +}, +"path": "b/{bucket}/folders/{folder}", +"response": { +"$ref": "Folder" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only", +"https://www.googleapis.com/auth/devstorage.full_control", +"https://www.googleapis.com/auth/devstorage.read_only", +"https://www.googleapis.com/auth/devstorage.read_write" +] +}, +"insert": { +"description": "Creates a new folder. Only applicable to buckets with hierarchical namespace enabled.", +"httpMethod": "POST", +"id": "storage.folders.insert", +"parameterOrder": [ +"bucket" +], +"parameters": { +"bucket": { +"description": "Name of the bucket in which the folder resides.", +"location": "path", +"required": true, +"type": "string" +}, +"recursive": { +"description": "If true, any parent folder which doesn't exist will be created automatically.", +"location": "query", +"type": "boolean" +} +}, +"path": "b/{bucket}/folders", +"request": { +"$ref": "Folder" +}, +"response": { +"$ref": "Folder" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/devstorage.full_control", +"https://www.googleapis.com/auth/devstorage.read_write" +] +}, +"list": { +"description": "Retrieves a list of folders matching the criteria. Only applicable to buckets with hierarchical namespace enabled.", +"httpMethod": "GET", +"id": "storage.folders.list", +"parameterOrder": [ +"bucket" +], +"parameters": { +"bucket": { +"description": "Name of the bucket in which to look for folders.", +"location": "path", +"required": true, +"type": "string" +}, +"delimiter": { +"description": "Returns results in a directory-like mode. The only supported value is '/'. If set, items will only contain folders that either exactly match the prefix, or are one level below the prefix.", +"location": "query", +"type": "string" +}, +"endOffset": { +"description": "Filter results to folders whose names are lexicographically before endOffset. If startOffset is also set, the folders listed will have names between startOffset (inclusive) and endOffset (exclusive).", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Maximum number of items to return in a single page of responses.", +"format": "int32", +"location": "query", +"minimum": "0", +"type": "integer" +}, +"pageToken": { +"description": "A previously-returned page token representing part of the larger set of results to view.", +"location": "query", +"type": "string" +}, +"prefix": { +"description": "Filter results to folders whose paths begin with this prefix. If set, the value must either be an empty string or end with a '/'.", +"location": "query", +"type": "string" +}, +"startOffset": { +"description": "Filter results to folders whose names are lexicographically equal to or after startOffset. If endOffset is also set, the folders listed will have names between startOffset (inclusive) and endOffset (exclusive).", +"location": "query", +"type": "string" +} +}, +"path": "b/{bucket}/folders", +"response": { +"$ref": "Folders" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only", +"https://www.googleapis.com/auth/devstorage.full_control", +"https://www.googleapis.com/auth/devstorage.read_only", +"https://www.googleapis.com/auth/devstorage.read_write" +] +}, +"rename": { +"description": "Renames a source folder to a destination folder. Only applicable to buckets with hierarchical namespace enabled.", +"httpMethod": "POST", +"id": "storage.folders.rename", +"parameterOrder": [ +"bucket", +"sourceFolder", +"destinationFolder" +], +"parameters": { +"bucket": { +"description": "Name of the bucket in which the folders are in.", +"location": "path", +"required": true, +"type": "string" +}, +"destinationFolder": { +"description": "Name of the destination folder.", +"location": "path", +"required": true, +"type": "string" +}, +"ifSourceMetagenerationMatch": { +"description": "Makes the operation conditional on whether the source object's current metageneration matches the given value.", +"format": "int64", +"location": "query", +"type": "string" +}, +"ifSourceMetagenerationNotMatch": { +"description": "Makes the operation conditional on whether the source object's current metageneration does not match the given value.", +"format": "int64", +"location": "query", +"type": "string" +}, +"sourceFolder": { +"description": "Name of the source folder.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "b/{bucket}/folders/{sourceFolder}/renameTo/folders/{destinationFolder}", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/devstorage.full_control", +"https://www.googleapis.com/auth/devstorage.read_write" +] +} +} +}, +"managedFolders": { +"methods": { +"delete": { +"description": "Permanently deletes a managed folder.", +"httpMethod": "DELETE", +"id": "storage.managedFolders.delete", +"parameterOrder": [ +"bucket", +"managedFolder" +], +"parameters": { +"allowNonEmpty": { +"description": "Allows the deletion of a managed folder even if it is not empty. A managed folder is empty if there are no objects or managed folders that it applies to. Callers must have storage.managedFolders.setIamPolicy permission.", +"location": "query", +"type": "boolean" +}, +"bucket": { +"description": "Name of the bucket containing the managed folder.", +"location": "path", +"required": true, +"type": "string" +}, +"ifMetagenerationMatch": { +"description": "If set, only deletes the managed folder if its metageneration matches this value.", +"format": "int64", +"location": "query", +"type": "string" +}, +"ifMetagenerationNotMatch": { +"description": "If set, only deletes the managed folder if its metageneration does not match this value.", +"format": "int64", +"location": "query", +"type": "string" +}, +"managedFolder": { +"description": "The managed folder name/path.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "b/{bucket}/managedFolders/{managedFolder}", +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/devstorage.full_control", +"https://www.googleapis.com/auth/devstorage.read_write" +] +}, +"get": { +"description": "Returns metadata of the specified managed folder.", +"httpMethod": "GET", +"id": "storage.managedFolders.get", +"parameterOrder": [ +"bucket", +"managedFolder" +], +"parameters": { +"bucket": { +"description": "Name of the bucket containing the managed folder.", +"location": "path", +"required": true, +"type": "string" +}, +"ifMetagenerationMatch": { +"description": "Makes the return of the managed folder metadata conditional on whether the managed folder's current metageneration matches the given value.", +"format": "int64", +"location": "query", +"type": "string" +}, +"ifMetagenerationNotMatch": { +"description": "Makes the return of the managed folder metadata conditional on whether the managed folder's current metageneration does not match the given value.", +"format": "int64", +"location": "query", +"type": "string" +}, +"managedFolder": { +"description": "The managed folder name/path.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "b/{bucket}/managedFolders/{managedFolder}", +"response": { +"$ref": "ManagedFolder" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only", +"https://www.googleapis.com/auth/devstorage.full_control", +"https://www.googleapis.com/auth/devstorage.read_only", +"https://www.googleapis.com/auth/devstorage.read_write" +] +}, +"getIamPolicy": { +"description": "Returns an IAM policy for the specified managed folder.", +"httpMethod": "GET", +"id": "storage.managedFolders.getIamPolicy", +"parameterOrder": [ +"bucket", +"managedFolder" +], +"parameters": { +"bucket": { +"description": "Name of the bucket containing the managed folder.", +"location": "path", +"required": true, +"type": "string" +}, +"managedFolder": { +"description": "The managed folder name/path.", +"location": "path", +"required": true, +"type": "string" +}, +"optionsRequestedPolicyVersion": { +"description": "The IAM policy format version to be returned. If the optionsRequestedPolicyVersion is for an older version that doesn't support part of the requested IAM policy, the request fails.", +"format": "int32", +"location": "query", +"minimum": "1", +"type": "integer" +}, +"userProject": { +"description": "The project to be billed for this request. Required for Requester Pays buckets.", +"location": "query", +"type": "string" +} +}, +"path": "b/{bucket}/managedFolders/{managedFolder}/iam", +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only", +"https://www.googleapis.com/auth/devstorage.full_control", +"https://www.googleapis.com/auth/devstorage.read_only", +"https://www.googleapis.com/auth/devstorage.read_write" +] +}, +"insert": { +"description": "Creates a new managed folder.", +"httpMethod": "POST", +"id": "storage.managedFolders.insert", +"parameterOrder": [ +"bucket" +], +"parameters": { +"bucket": { +"description": "Name of the bucket containing the managed folder.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "b/{bucket}/managedFolders", +"request": { +"$ref": "ManagedFolder" +}, +"response": { +"$ref": "ManagedFolder" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/devstorage.full_control", +"https://www.googleapis.com/auth/devstorage.read_write" +] +}, +"list": { +"description": "Lists managed folders in the given bucket.", +"httpMethod": "GET", +"id": "storage.managedFolders.list", +"parameterOrder": [ +"bucket" +], +"parameters": { +"bucket": { +"description": "Name of the bucket containing the managed folder.", +"location": "path", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "Maximum number of items to return in a single page of responses.", +"format": "int32", +"location": "query", +"minimum": "0", +"type": "integer" +}, +"pageToken": { +"description": "A previously-returned page token representing part of the larger set of results to view.", +"location": "query", +"type": "string" +}, +"prefix": { +"description": "The managed folder name/path prefix to filter the output list of results.", +"location": "query", +"type": "string" +} +}, +"path": "b/{bucket}/managedFolders", +"response": { +"$ref": "ManagedFolders" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only", +"https://www.googleapis.com/auth/devstorage.full_control", +"https://www.googleapis.com/auth/devstorage.read_only", +"https://www.googleapis.com/auth/devstorage.read_write" +] +}, +"setIamPolicy": { +"description": "Updates an IAM policy for the specified managed folder.", +"httpMethod": "PUT", +"id": "storage.managedFolders.setIamPolicy", +"parameterOrder": [ +"bucket", +"managedFolder" +], +"parameters": { +"bucket": { +"description": "Name of the bucket containing the managed folder.", +"location": "path", +"required": true, +"type": "string" +}, +"managedFolder": { +"description": "The managed folder name/path.", +"location": "path", +"required": true, +"type": "string" +}, +"userProject": { +"description": "The project to be billed for this request. Required for Requester Pays buckets.", +"location": "query", +"type": "string" +} +}, +"path": "b/{bucket}/managedFolders/{managedFolder}/iam", +"request": { +"$ref": "Policy" +}, +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/devstorage.full_control" +] +}, +"testIamPermissions": { +"description": "Tests a set of permissions on the given managed folder to see which, if any, are held by the caller.", +"httpMethod": "GET", +"id": "storage.managedFolders.testIamPermissions", +"parameterOrder": [ +"bucket", +"managedFolder", +"permissions" +], +"parameters": { +"bucket": { +"description": "Name of the bucket containing the managed folder.", +"location": "path", +"required": true, +"type": "string" +}, +"managedFolder": { +"description": "The managed folder name/path.", +"location": "path", +"required": true, +"type": "string" +}, +"permissions": { +"description": "Permissions to test.", +"location": "query", +"repeated": true, +"required": true, +"type": "string" +}, +"userProject": { +"description": "The project to be billed for this request. Required for Requester Pays buckets.", +"location": "query", +"type": "string" +} +}, +"path": "b/{bucket}/managedFolders/{managedFolder}/iam/testPermissions", +"response": { +"$ref": "TestIamPermissionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only", +"https://www.googleapis.com/auth/devstorage.full_control", +"https://www.googleapis.com/auth/devstorage.read_only", +"https://www.googleapis.com/auth/devstorage.read_write" +] +} +} +}, +"notifications": { +"methods": { +"delete": { +"description": "Permanently deletes a notification subscription.", +"httpMethod": "DELETE", +"id": "storage.notifications.delete", +"parameterOrder": [ +"bucket", +"notification" +], +"parameters": { +"bucket": { +"description": "The parent bucket of the notification.", +"location": "path", +"required": true, +"type": "string" +}, +"notification": { +"description": "ID of the notification to delete.", +"location": "path", +"required": true, +"type": "string" +}, +"userProject": { +"description": "The project to be billed for this request. Required for Requester Pays buckets.", +"location": "query", +"type": "string" +} +}, +"path": "b/{bucket}/notificationConfigs/{notification}", +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/devstorage.full_control", +"https://www.googleapis.com/auth/devstorage.read_write" +] +}, +"get": { +"description": "View a notification configuration.", +"httpMethod": "GET", +"id": "storage.notifications.get", +"parameterOrder": [ +"bucket", +"notification" +], +"parameters": { +"bucket": { +"description": "The parent bucket of the notification.", +"location": "path", +"required": true, +"type": "string" +}, +"notification": { +"description": "Notification ID", +"location": "path", +"required": true, +"type": "string" +}, +"userProject": { +"description": "The project to be billed for this request. Required for Requester Pays buckets.", +"location": "query", +"type": "string" +} +}, +"path": "b/{bucket}/notificationConfigs/{notification}", +"response": { +"$ref": "Notification" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only", +"https://www.googleapis.com/auth/devstorage.full_control", +"https://www.googleapis.com/auth/devstorage.read_only", +"https://www.googleapis.com/auth/devstorage.read_write" +] +}, +"insert": { +"description": "Creates a notification subscription for a given bucket.", +"httpMethod": "POST", +"id": "storage.notifications.insert", +"parameterOrder": [ +"bucket" +], +"parameters": { +"bucket": { +"description": "The parent bucket of the notification.", +"location": "path", +"required": true, +"type": "string" +}, +"userProject": { +"description": "The project to be billed for this request. Required for Requester Pays buckets.", +"location": "query", +"type": "string" +} +}, +"path": "b/{bucket}/notificationConfigs", +"request": { +"$ref": "Notification" +}, +"response": { +"$ref": "Notification" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/devstorage.full_control", +"https://www.googleapis.com/auth/devstorage.read_write" +] +}, +"list": { +"description": "Retrieves a list of notification subscriptions for a given bucket.", +"httpMethod": "GET", +"id": "storage.notifications.list", +"parameterOrder": [ +"bucket" +], +"parameters": { +"bucket": { +"description": "Name of a Google Cloud Storage bucket.", +"location": "path", +"required": true, +"type": "string" +}, +"userProject": { +"description": "The project to be billed for this request. Required for Requester Pays buckets.", +"location": "query", +"type": "string" +} +}, +"path": "b/{bucket}/notificationConfigs", +"response": { +"$ref": "Notifications" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only", +"https://www.googleapis.com/auth/devstorage.full_control", +"https://www.googleapis.com/auth/devstorage.read_only", +"https://www.googleapis.com/auth/devstorage.read_write" +] +} +} +}, +"objectAccessControls": { +"methods": { +"delete": { +"description": "Permanently deletes the ACL entry for the specified entity on the specified object.", +"httpMethod": "DELETE", +"id": "storage.objectAccessControls.delete", +"parameterOrder": [ +"bucket", +"object", +"entity" +], +"parameters": { +"bucket": { +"description": "Name of a bucket.", +"location": "path", +"required": true, +"type": "string" +}, +"entity": { +"description": "The entity holding the permission. Can be user-userId, user-emailAddress, group-groupId, group-emailAddress, allUsers, or allAuthenticatedUsers.", +"location": "path", +"required": true, +"type": "string" +}, +"generation": { +"description": "If present, selects a specific revision of this object (as opposed to the latest version, the default).", +"format": "int64", +"location": "query", +"type": "string" +}, +"object": { +"description": "Name of the object. For information about how to URL encode object names to be path safe, see [Encoding URI Path Parts](https://cloud.google.com/storage/docs/request-endpoints#encoding).", +"location": "path", +"required": true, +"type": "string" +}, +"userProject": { +"description": "The project to be billed for this request. Required for Requester Pays buckets.", +"location": "query", +"type": "string" +} +}, +"path": "b/{bucket}/o/{object}/acl/{entity}", +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/devstorage.full_control" +] +}, +"get": { +"description": "Returns the ACL entry for the specified entity on the specified object.", +"httpMethod": "GET", +"id": "storage.objectAccessControls.get", +"parameterOrder": [ +"bucket", +"object", +"entity" +], +"parameters": { +"bucket": { +"description": "Name of a bucket.", +"location": "path", +"required": true, +"type": "string" +}, +"entity": { +"description": "The entity holding the permission. Can be user-userId, user-emailAddress, group-groupId, group-emailAddress, allUsers, or allAuthenticatedUsers.", +"location": "path", +"required": true, +"type": "string" +}, +"generation": { +"description": "If present, selects a specific revision of this object (as opposed to the latest version, the default).", +"format": "int64", +"location": "query", +"type": "string" +}, +"object": { +"description": "Name of the object. For information about how to URL encode object names to be path safe, see [Encoding URI Path Parts](https://cloud.google.com/storage/docs/request-endpoints#encoding).", +"location": "path", +"required": true, +"type": "string" +}, +"userProject": { +"description": "The project to be billed for this request. Required for Requester Pays buckets.", +"location": "query", +"type": "string" +} +}, +"path": "b/{bucket}/o/{object}/acl/{entity}", +"response": { +"$ref": "ObjectAccessControl" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/devstorage.full_control" +] +}, +"insert": { +"description": "Creates a new ACL entry on the specified object.", +"httpMethod": "POST", +"id": "storage.objectAccessControls.insert", +"parameterOrder": [ +"bucket", +"object" +], +"parameters": { +"bucket": { +"description": "Name of a bucket.", +"location": "path", +"required": true, +"type": "string" +}, +"generation": { +"description": "If present, selects a specific revision of this object (as opposed to the latest version, the default).", +"format": "int64", +"location": "query", +"type": "string" +}, +"object": { +"description": "Name of the object. For information about how to URL encode object names to be path safe, see [Encoding URI Path Parts](https://cloud.google.com/storage/docs/request-endpoints#encoding).", +"location": "path", +"required": true, +"type": "string" +}, +"userProject": { +"description": "The project to be billed for this request. Required for Requester Pays buckets.", +"location": "query", +"type": "string" +} +}, +"path": "b/{bucket}/o/{object}/acl", +"request": { +"$ref": "ObjectAccessControl" +}, +"response": { +"$ref": "ObjectAccessControl" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/devstorage.full_control" +] +}, +"list": { +"description": "Retrieves ACL entries on the specified object.", +"httpMethod": "GET", +"id": "storage.objectAccessControls.list", +"parameterOrder": [ +"bucket", +"object" +], +"parameters": { +"bucket": { +"description": "Name of a bucket.", +"location": "path", +"required": true, +"type": "string" +}, +"generation": { +"description": "If present, selects a specific revision of this object (as opposed to the latest version, the default).", +"format": "int64", +"location": "query", +"type": "string" +}, +"object": { +"description": "Name of the object. For information about how to URL encode object names to be path safe, see [Encoding URI Path Parts](https://cloud.google.com/storage/docs/request-endpoints#encoding).", +"location": "path", +"required": true, +"type": "string" +}, +"userProject": { +"description": "The project to be billed for this request. Required for Requester Pays buckets.", +"location": "query", +"type": "string" +} +}, +"path": "b/{bucket}/o/{object}/acl", +"response": { +"$ref": "ObjectAccessControls" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/devstorage.full_control" +] +}, +"patch": { +"description": "Patches an ACL entry on the specified object.", +"httpMethod": "PATCH", +"id": "storage.objectAccessControls.patch", +"parameterOrder": [ +"bucket", +"object", +"entity" +], +"parameters": { +"bucket": { +"description": "Name of a bucket.", +"location": "path", +"required": true, +"type": "string" +}, +"entity": { +"description": "The entity holding the permission. Can be user-userId, user-emailAddress, group-groupId, group-emailAddress, allUsers, or allAuthenticatedUsers.", +"location": "path", +"required": true, +"type": "string" +}, +"generation": { +"description": "If present, selects a specific revision of this object (as opposed to the latest version, the default).", +"format": "int64", +"location": "query", +"type": "string" +}, +"object": { +"description": "Name of the object. For information about how to URL encode object names to be path safe, see [Encoding URI Path Parts](https://cloud.google.com/storage/docs/request-endpoints#encoding).", +"location": "path", +"required": true, +"type": "string" +}, +"userProject": { +"description": "The project to be billed for this request. Required for Requester Pays buckets.", +"location": "query", +"type": "string" +} +}, +"path": "b/{bucket}/o/{object}/acl/{entity}", +"request": { +"$ref": "ObjectAccessControl" +}, +"response": { +"$ref": "ObjectAccessControl" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/devstorage.full_control" +] +}, +"update": { +"description": "Updates an ACL entry on the specified object.", +"httpMethod": "PUT", +"id": "storage.objectAccessControls.update", +"parameterOrder": [ +"bucket", +"object", +"entity" +], +"parameters": { +"bucket": { +"description": "Name of a bucket.", +"location": "path", +"required": true, +"type": "string" +}, +"entity": { +"description": "The entity holding the permission. Can be user-userId, user-emailAddress, group-groupId, group-emailAddress, allUsers, or allAuthenticatedUsers.", +"location": "path", +"required": true, +"type": "string" +}, +"generation": { +"description": "If present, selects a specific revision of this object (as opposed to the latest version, the default).", +"format": "int64", +"location": "query", +"type": "string" +}, +"object": { +"description": "Name of the object. For information about how to URL encode object names to be path safe, see [Encoding URI Path Parts](https://cloud.google.com/storage/docs/request-endpoints#encoding).", +"location": "path", +"required": true, +"type": "string" +}, +"userProject": { +"description": "The project to be billed for this request. Required for Requester Pays buckets.", +"location": "query", +"type": "string" +} +}, +"path": "b/{bucket}/o/{object}/acl/{entity}", +"request": { +"$ref": "ObjectAccessControl" +}, +"response": { +"$ref": "ObjectAccessControl" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/devstorage.full_control" +] +} +} +}, +"objects": { +"methods": { +"bulkRestore": { +"description": "Initiates a long-running bulk restore operation on the specified bucket.", +"httpMethod": "POST", +"id": "storage.objects.bulkRestore", +"parameterOrder": [ +"bucket" +], +"parameters": { +"bucket": { +"description": "Name of the bucket in which the object resides.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "b/{bucket}/o/bulkRestore", +"request": { +"$ref": "BulkRestoreObjectsRequest" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/devstorage.full_control", +"https://www.googleapis.com/auth/devstorage.read_write" +] +}, +"compose": { +"description": "Concatenates a list of existing objects into a new object in the same bucket.", +"httpMethod": "POST", +"id": "storage.objects.compose", +"parameterOrder": [ +"destinationBucket", +"destinationObject" +], +"parameters": { +"destinationBucket": { +"description": "Name of the bucket containing the source objects. The destination object is stored in this bucket.", +"location": "path", +"required": true, +"type": "string" +}, +"destinationObject": { +"description": "Name of the new object. For information about how to URL encode object names to be path safe, see [Encoding URI Path Parts](https://cloud.google.com/storage/docs/request-endpoints#encoding).", +"location": "path", +"required": true, +"type": "string" +}, +"destinationPredefinedAcl": { +"description": "Apply a predefined set of access controls to the destination object.", +"enum": [ +"authenticatedRead", +"bucketOwnerFullControl", +"bucketOwnerRead", +"private", +"projectPrivate", +"publicRead" +], +"enumDescriptions": [ +"Object owner gets OWNER access, and allAuthenticatedUsers get READER access.", +"Object owner gets OWNER access, and project team owners get OWNER access.", +"Object owner gets OWNER access, and project team owners get READER access.", +"Object owner gets OWNER access.", +"Object owner gets OWNER access, and project team members get access according to their roles.", +"Object owner gets OWNER access, and allUsers get READER access." +], +"location": "query", +"type": "string" +}, +"dropContextGroups": { +"description": "Specifies which groups of Object Contexts from the source object(s) should be dropped from the destination object.", +"location": "query", +"repeated": true, +"type": "string" +}, +"ifGenerationMatch": { +"description": "Makes the operation conditional on whether the object's current generation matches the given value. Setting to 0 makes the operation succeed only if there are no live versions of the object.", +"format": "int64", +"location": "query", +"type": "string" +}, +"ifMetagenerationMatch": { +"description": "Makes the operation conditional on whether the object's current metageneration matches the given value.", +"format": "int64", +"location": "query", +"type": "string" +}, +"kmsKeyName": { +"description": "Resource name of the Cloud KMS key, of the form projects/my-project/locations/global/keyRings/my-kr/cryptoKeys/my-key, that will be used to encrypt the object. Overrides the object metadata's kms_key_name value, if any.", +"location": "query", +"type": "string" +}, +"userProject": { +"description": "The project to be billed for this request. Required for Requester Pays buckets.", +"location": "query", +"type": "string" +} +}, +"path": "b/{destinationBucket}/o/{destinationObject}/compose", +"request": { +"$ref": "ComposeRequest" +}, +"response": { +"$ref": "Object" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/devstorage.full_control", +"https://www.googleapis.com/auth/devstorage.read_write" +] +}, +"copy": { +"description": "Copies a source object to a destination object. Optionally overrides metadata.", +"httpMethod": "POST", +"id": "storage.objects.copy", +"parameterOrder": [ +"sourceBucket", +"sourceObject", +"destinationBucket", +"destinationObject" +], +"parameters": { +"destinationBucket": { +"description": "Name of the bucket in which to store the new object. Overrides the provided object metadata's bucket value, if any.For information about how to URL encode object names to be path safe, see [Encoding URI Path Parts](https://cloud.google.com/storage/docs/request-endpoints#encoding).", +"location": "path", +"required": true, +"type": "string" +}, +"destinationKmsKeyName": { +"description": "Resource name of the Cloud KMS key, of the form projects/my-project/locations/global/keyRings/my-kr/cryptoKeys/my-key, that will be used to encrypt the object. Overrides the object metadata's kms_key_name value, if any.", +"location": "query", +"type": "string" +}, +"destinationObject": { +"description": "Name of the new object. Required when the object metadata is not otherwise provided. Overrides the object metadata's name value, if any.", +"location": "path", +"required": true, +"type": "string" +}, +"destinationPredefinedAcl": { +"description": "Apply a predefined set of access controls to the destination object.", +"enum": [ +"authenticatedRead", +"bucketOwnerFullControl", +"bucketOwnerRead", +"private", +"projectPrivate", +"publicRead" +], +"enumDescriptions": [ +"Object owner gets OWNER access, and allAuthenticatedUsers get READER access.", +"Object owner gets OWNER access, and project team owners get OWNER access.", +"Object owner gets OWNER access, and project team owners get READER access.", +"Object owner gets OWNER access.", +"Object owner gets OWNER access, and project team members get access according to their roles.", +"Object owner gets OWNER access, and allUsers get READER access." +], +"location": "query", +"type": "string" +}, +"ifGenerationMatch": { +"description": "Makes the operation conditional on whether the destination object's current generation matches the given value. Setting to 0 makes the operation succeed only if there are no live versions of the object.", +"format": "int64", +"location": "query", +"type": "string" +}, +"ifGenerationNotMatch": { +"description": "Makes the operation conditional on whether the destination object's current generation does not match the given value. If no live object exists, the precondition fails. Setting to 0 makes the operation succeed only if there is a live version of the object.", +"format": "int64", +"location": "query", +"type": "string" +}, +"ifMetagenerationMatch": { +"description": "Makes the operation conditional on whether the destination object's current metageneration matches the given value.", +"format": "int64", +"location": "query", +"type": "string" +}, +"ifMetagenerationNotMatch": { +"description": "Makes the operation conditional on whether the destination object's current metageneration does not match the given value.", +"format": "int64", +"location": "query", +"type": "string" +}, +"ifSourceGenerationMatch": { +"description": "Makes the operation conditional on whether the source object's current generation matches the given value.", +"format": "int64", +"location": "query", +"type": "string" +}, +"ifSourceGenerationNotMatch": { +"description": "Makes the operation conditional on whether the source object's current generation does not match the given value.", +"format": "int64", +"location": "query", +"type": "string" +}, +"ifSourceMetagenerationMatch": { +"description": "Makes the operation conditional on whether the source object's current metageneration matches the given value.", +"format": "int64", +"location": "query", +"type": "string" +}, +"ifSourceMetagenerationNotMatch": { +"description": "Makes the operation conditional on whether the source object's current metageneration does not match the given value.", +"format": "int64", +"location": "query", +"type": "string" +}, +"projection": { +"description": "Set of properties to return. Defaults to noAcl, unless the object resource specifies the acl property, when it defaults to full.", +"enum": [ +"full", +"noAcl" +], +"enumDescriptions": [ +"Include all properties.", +"Omit the owner, acl property." +], +"location": "query", +"type": "string" +}, +"sourceBucket": { +"description": "Name of the bucket in which to find the source object.", +"location": "path", +"required": true, +"type": "string" +}, +"sourceGeneration": { +"description": "If present, selects a specific revision of the source object (as opposed to the latest version, the default).", +"format": "int64", +"location": "query", +"type": "string" +}, +"sourceObject": { +"description": "Name of the source object. For information about how to URL encode object names to be path safe, see [Encoding URI Path Parts](https://cloud.google.com/storage/docs/request-endpoints#encoding).", +"location": "path", +"required": true, +"type": "string" +}, +"userProject": { +"description": "The project to be billed for this request. Required for Requester Pays buckets.", +"location": "query", +"type": "string" +} +}, +"path": "b/{sourceBucket}/o/{sourceObject}/copyTo/b/{destinationBucket}/o/{destinationObject}", +"request": { +"$ref": "Object" +}, +"response": { +"$ref": "Object" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/devstorage.full_control", +"https://www.googleapis.com/auth/devstorage.read_write" +] +}, +"delete": { +"description": "Deletes an object and its metadata. Deletions are permanent if versioning is not enabled for the bucket, or if the generation parameter is used.", +"httpMethod": "DELETE", +"id": "storage.objects.delete", +"parameterOrder": [ +"bucket", +"object" +], +"parameters": { +"bucket": { +"description": "Name of the bucket in which the object resides.", +"location": "path", +"required": true, +"type": "string" +}, +"generation": { +"description": "If present, permanently deletes a specific revision of this object (as opposed to the latest version, the default).", +"format": "int64", +"location": "query", +"type": "string" +}, +"ifGenerationMatch": { +"description": "Makes the operation conditional on whether the object's current generation matches the given value. Setting to 0 makes the operation succeed only if there are no live versions of the object.", +"format": "int64", +"location": "query", +"type": "string" +}, +"ifGenerationNotMatch": { +"description": "Makes the operation conditional on whether the object's current generation does not match the given value. If no live object exists, the precondition fails. Setting to 0 makes the operation succeed only if there is a live version of the object.", +"format": "int64", +"location": "query", +"type": "string" +}, +"ifMetagenerationMatch": { +"description": "Makes the operation conditional on whether the object's current metageneration matches the given value.", +"format": "int64", +"location": "query", +"type": "string" +}, +"ifMetagenerationNotMatch": { +"description": "Makes the operation conditional on whether the object's current metageneration does not match the given value.", +"format": "int64", +"location": "query", +"type": "string" +}, +"object": { +"description": "Name of the object. For information about how to URL encode object names to be path safe, see [Encoding URI Path Parts](https://cloud.google.com/storage/docs/request-endpoints#encoding).", +"location": "path", +"required": true, +"type": "string" +}, +"userProject": { +"description": "The project to be billed for this request. Required for Requester Pays buckets.", +"location": "query", +"type": "string" +} +}, +"path": "b/{bucket}/o/{object}", +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/devstorage.full_control", +"https://www.googleapis.com/auth/devstorage.read_write" +] +}, +"get": { +"description": "Retrieves an object or its metadata.", +"httpMethod": "GET", +"id": "storage.objects.get", +"parameterOrder": [ +"bucket", +"object" +], +"parameters": { +"bucket": { +"description": "Name of the bucket in which the object resides.", +"location": "path", +"required": true, +"type": "string" +}, +"generation": { +"description": "If present, selects a specific revision of this object (as opposed to the latest version, the default).", +"format": "int64", +"location": "query", +"type": "string" +}, +"ifGenerationMatch": { +"description": "Makes the operation conditional on whether the object's current generation matches the given value. Setting to 0 makes the operation succeed only if there are no live versions of the object.", +"format": "int64", +"location": "query", +"type": "string" +}, +"ifGenerationNotMatch": { +"description": "Makes the operation conditional on whether the object's current generation does not match the given value. If no live object exists, the precondition fails. Setting to 0 makes the operation succeed only if there is a live version of the object.", +"format": "int64", +"location": "query", +"type": "string" +}, +"ifMetagenerationMatch": { +"description": "Makes the operation conditional on whether the object's current metageneration matches the given value.", +"format": "int64", +"location": "query", +"type": "string" +}, +"ifMetagenerationNotMatch": { +"description": "Makes the operation conditional on whether the object's current metageneration does not match the given value.", +"format": "int64", +"location": "query", +"type": "string" +}, +"object": { +"description": "Name of the object. For information about how to URL encode object names to be path safe, see [Encoding URI Path Parts](https://cloud.google.com/storage/docs/request-endpoints#encoding).", +"location": "path", +"required": true, +"type": "string" +}, +"projection": { +"description": "Set of properties to return. Defaults to noAcl.", +"enum": [ +"full", +"noAcl" +], +"enumDescriptions": [ +"Include all properties.", +"Omit the owner, acl property." +], +"location": "query", +"type": "string" +}, +"restoreToken": { +"description": "Restore token used to differentiate soft-deleted objects with the same name and generation. Only applicable for hierarchical namespace buckets and if softDeleted is set to true. This parameter is optional, and is only required in the rare case when there are multiple soft-deleted objects with the same name and generation.", +"location": "query", +"type": "string" +}, +"softDeleted": { +"description": "If true, only soft-deleted object versions will be listed. The default is false. For more information, see [Soft Delete](https://cloud.google.com/storage/docs/soft-delete).", +"location": "query", +"type": "boolean" +}, +"userProject": { +"description": "The project to be billed for this request. Required for Requester Pays buckets.", +"location": "query", +"type": "string" +} +}, +"path": "b/{bucket}/o/{object}", +"response": { +"$ref": "Object" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only", +"https://www.googleapis.com/auth/devstorage.full_control", +"https://www.googleapis.com/auth/devstorage.read_only", +"https://www.googleapis.com/auth/devstorage.read_write" +], +"supportsMediaDownload": true, +"useMediaDownloadService": true +}, +"getIamPolicy": { +"description": "Returns an IAM policy for the specified object.", +"httpMethod": "GET", +"id": "storage.objects.getIamPolicy", +"parameterOrder": [ +"bucket", +"object" +], +"parameters": { +"bucket": { +"description": "Name of the bucket in which the object resides.", +"location": "path", +"required": true, +"type": "string" +}, +"generation": { +"description": "If present, selects a specific revision of this object (as opposed to the latest version, the default).", +"format": "int64", +"location": "query", +"type": "string" +}, +"object": { +"description": "Name of the object. For information about how to URL encode object names to be path safe, see [Encoding URI Path Parts](https://cloud.google.com/storage/docs/request-endpoints#encoding).", +"location": "path", +"required": true, +"type": "string" +}, +"userProject": { +"description": "The project to be billed for this request. Required for Requester Pays buckets.", +"location": "query", +"type": "string" +} +}, +"path": "b/{bucket}/o/{object}/iam", +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only", +"https://www.googleapis.com/auth/devstorage.full_control", +"https://www.googleapis.com/auth/devstorage.read_only", +"https://www.googleapis.com/auth/devstorage.read_write" +] +}, +"insert": { +"description": "Stores a new object and metadata.", +"httpMethod": "POST", +"id": "storage.objects.insert", +"mediaUpload": { +"accept": [ +"*/*" +], +"protocols": { +"resumable": { +"multipart": true, +"path": "/resumable/upload/storage/v1/b/{bucket}/o" +}, +"simple": { +"multipart": true, +"path": "/upload/storage/v1/b/{bucket}/o" +} +} +}, +"parameterOrder": [ +"bucket" +], +"parameters": { +"bucket": { +"description": "Name of the bucket in which to store the new object. Overrides the provided object metadata's bucket value, if any.", +"location": "path", +"required": true, +"type": "string" +}, +"contentEncoding": { +"description": "If set, sets the contentEncoding property of the final object to this value. Setting this parameter is equivalent to setting the contentEncoding metadata property. This can be useful when uploading an object with uploadType=media to indicate the encoding of the content being uploaded.", +"location": "query", +"type": "string" +}, +"ifGenerationMatch": { +"description": "Makes the operation conditional on whether the object's current generation matches the given value. Setting to 0 makes the operation succeed only if there are no live versions of the object.", +"format": "int64", +"location": "query", +"type": "string" +}, +"ifGenerationNotMatch": { +"description": "Makes the operation conditional on whether the object's current generation does not match the given value. If no live object exists, the precondition fails. Setting to 0 makes the operation succeed only if there is a live version of the object.", +"format": "int64", +"location": "query", +"type": "string" +}, +"ifMetagenerationMatch": { +"description": "Makes the operation conditional on whether the object's current metageneration matches the given value.", +"format": "int64", +"location": "query", +"type": "string" +}, +"ifMetagenerationNotMatch": { +"description": "Makes the operation conditional on whether the object's current metageneration does not match the given value.", +"format": "int64", +"location": "query", +"type": "string" +}, +"kmsKeyName": { +"description": "Resource name of the Cloud KMS key, of the form projects/my-project/locations/global/keyRings/my-kr/cryptoKeys/my-key, that will be used to encrypt the object. Overrides the object metadata's kms_key_name value, if any.", +"location": "query", +"type": "string" +}, +"name": { +"description": "Name of the object. Required when the object metadata is not otherwise provided. Overrides the object metadata's name value, if any. For information about how to URL encode object names to be path safe, see [Encoding URI Path Parts](https://cloud.google.com/storage/docs/request-endpoints#encoding).", +"location": "query", +"type": "string" +}, +"predefinedAcl": { +"description": "Apply a predefined set of access controls to this object.", +"enum": [ +"authenticatedRead", +"bucketOwnerFullControl", +"bucketOwnerRead", +"private", +"projectPrivate", +"publicRead" +], +"enumDescriptions": [ +"Object owner gets OWNER access, and allAuthenticatedUsers get READER access.", +"Object owner gets OWNER access, and project team owners get OWNER access.", +"Object owner gets OWNER access, and project team owners get READER access.", +"Object owner gets OWNER access.", +"Object owner gets OWNER access, and project team members get access according to their roles.", +"Object owner gets OWNER access, and allUsers get READER access." +], +"location": "query", +"type": "string" +}, +"projection": { +"description": "Set of properties to return. Defaults to noAcl, unless the object resource specifies the acl property, when it defaults to full.", +"enum": [ +"full", +"noAcl" +], +"enumDescriptions": [ +"Include all properties.", +"Omit the owner, acl property." +], +"location": "query", +"type": "string" +}, +"userProject": { +"description": "The project to be billed for this request. Required for Requester Pays buckets.", +"location": "query", +"type": "string" +} +}, +"path": "b/{bucket}/o", +"request": { +"$ref": "Object" +}, +"response": { +"$ref": "Object" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/devstorage.full_control", +"https://www.googleapis.com/auth/devstorage.read_write" +], +"supportsMediaUpload": true +}, +"list": { +"description": "Retrieves a list of objects matching the criteria.", +"httpMethod": "GET", +"id": "storage.objects.list", +"parameterOrder": [ +"bucket" +], +"parameters": { +"bucket": { +"description": "Name of the bucket in which to look for objects.", +"location": "path", +"required": true, +"type": "string" +}, +"delimiter": { +"description": "Returns results in a directory-like mode. items will contain only objects whose names, aside from the prefix, do not contain delimiter. Objects whose names, aside from the prefix, contain delimiter will have their name, truncated after the delimiter, returned in prefixes. Duplicate prefixes are omitted.", +"location": "query", +"type": "string" +}, +"endOffset": { +"description": "Filter results to objects whose names are lexicographically before endOffset. If startOffset is also set, the objects listed will have names between startOffset (inclusive) and endOffset (exclusive).", +"location": "query", +"type": "string" +}, +"filter": { +"description": "Filter the returned objects. Currently only supported for the contexts field. If delimiter is set, the returned prefixes are exempt from this filter.", +"location": "query", +"type": "string" +}, +"includeFoldersAsPrefixes": { +"description": "Only applicable if delimiter is set to '/'. If true, will also include folders and managed folders (besides objects) in the returned prefixes.", +"location": "query", +"type": "boolean" +}, +"includeTrailingDelimiter": { +"description": "If true, objects that end in exactly one instance of delimiter will have their metadata included in items in addition to prefixes.", +"location": "query", +"type": "boolean" +}, +"matchGlob": { +"description": "Filter results to objects and prefixes that match this glob pattern.", +"location": "query", +"type": "string" +}, +"maxResults": { +"default": "1000", +"description": "Maximum number of items plus prefixes to return in a single page of responses. As duplicate prefixes are omitted, fewer total results may be returned than requested. The service will use this parameter or 1,000 items, whichever is smaller.", +"format": "uint32", +"location": "query", +"minimum": "0", +"type": "integer" +}, +"pageToken": { +"description": "A previously-returned page token representing part of the larger set of results to view.", +"location": "query", +"type": "string" +}, +"prefix": { +"description": "Filter results to objects whose names begin with this prefix.", +"location": "query", +"type": "string" +}, +"projection": { +"description": "Set of properties to return. Defaults to noAcl.", +"enum": [ +"full", +"noAcl" +], +"enumDescriptions": [ +"Include all properties.", +"Omit the owner, acl property." +], +"location": "query", +"type": "string" +}, +"softDeleted": { +"description": "If true, only soft-deleted object versions will be listed. The default is false. For more information, see [Soft Delete](https://cloud.google.com/storage/docs/soft-delete).", +"location": "query", +"type": "boolean" +}, +"startOffset": { +"description": "Filter results to objects whose names are lexicographically equal to or after startOffset. If endOffset is also set, the objects listed will have names between startOffset (inclusive) and endOffset (exclusive).", +"location": "query", +"type": "string" +}, +"userProject": { +"description": "The project to be billed for this request. Required for Requester Pays buckets.", +"location": "query", +"type": "string" +}, +"versions": { +"description": "If true, lists all versions of an object as distinct results. The default is false. For more information, see [Object Versioning](https://cloud.google.com/storage/docs/object-versioning).", +"location": "query", +"type": "boolean" +} +}, +"path": "b/{bucket}/o", +"response": { +"$ref": "Objects" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only", +"https://www.googleapis.com/auth/devstorage.full_control", +"https://www.googleapis.com/auth/devstorage.read_only", +"https://www.googleapis.com/auth/devstorage.read_write" +], +"supportsSubscription": true +}, +"move": { +"description": "Moves the source object to the destination object in the same bucket.", +"httpMethod": "POST", +"id": "storage.objects.move", +"parameterOrder": [ +"bucket", +"sourceObject", +"destinationObject" +], +"parameters": { +"bucket": { +"description": "Name of the bucket in which the object resides.", +"location": "path", +"required": true, +"type": "string" +}, +"destinationObject": { +"description": "Name of the destination object. For information about how to URL encode object names to be path safe, see [Encoding URI Path Parts](https://cloud.google.com/storage/docs/request-endpoints#encoding).", +"location": "path", +"required": true, +"type": "string" +}, +"ifGenerationMatch": { +"description": "Makes the operation conditional on whether the destination object's current generation matches the given value. Setting to 0 makes the operation succeed only if there are no live versions of the object. `ifGenerationMatch` and `ifGenerationNotMatch` conditions are mutually exclusive: it's an error for both of them to be set in the request.", +"format": "int64", +"location": "query", +"type": "string" +}, +"ifGenerationNotMatch": { +"description": "Makes the operation conditional on whether the destination object's current generation does not match the given value. If no live object exists, the precondition fails. Setting to 0 makes the operation succeed only if there is a live version of the object.`ifGenerationMatch` and `ifGenerationNotMatch` conditions are mutually exclusive: it's an error for both of them to be set in the request.", +"format": "int64", +"location": "query", +"type": "string" +}, +"ifMetagenerationMatch": { +"description": "Makes the operation conditional on whether the destination object's current metageneration matches the given value. `ifMetagenerationMatch` and `ifMetagenerationNotMatch` conditions are mutually exclusive: it's an error for both of them to be set in the request.", +"format": "int64", +"location": "query", +"type": "string" +}, +"ifMetagenerationNotMatch": { +"description": "Makes the operation conditional on whether the destination object's current metageneration does not match the given value. `ifMetagenerationMatch` and `ifMetagenerationNotMatch` conditions are mutually exclusive: it's an error for both of them to be set in the request.", +"format": "int64", +"location": "query", +"type": "string" +}, +"ifSourceGenerationMatch": { +"description": "Makes the operation conditional on whether the source object's current generation matches the given value. `ifSourceGenerationMatch` and `ifSourceGenerationNotMatch` conditions are mutually exclusive: it's an error for both of them to be set in the request.", +"format": "int64", +"location": "query", +"type": "string" +}, +"ifSourceGenerationNotMatch": { +"description": "Makes the operation conditional on whether the source object's current generation does not match the given value. `ifSourceGenerationMatch` and `ifSourceGenerationNotMatch` conditions are mutually exclusive: it's an error for both of them to be set in the request.", +"format": "int64", +"location": "query", +"type": "string" +}, +"ifSourceMetagenerationMatch": { +"description": "Makes the operation conditional on whether the source object's current metageneration matches the given value. `ifSourceMetagenerationMatch` and `ifSourceMetagenerationNotMatch` conditions are mutually exclusive: it's an error for both of them to be set in the request.", +"format": "int64", +"location": "query", +"type": "string" +}, +"ifSourceMetagenerationNotMatch": { +"description": "Makes the operation conditional on whether the source object's current metageneration does not match the given value. `ifSourceMetagenerationMatch` and `ifSourceMetagenerationNotMatch` conditions are mutually exclusive: it's an error for both of them to be set in the request.", +"format": "int64", +"location": "query", +"type": "string" +}, +"projection": { +"description": "Set of properties to return. Defaults to noAcl.", +"enum": [ +"full", +"noAcl" +], +"enumDescriptions": [ +"Include all properties.", +"Omit the owner, acl property." +], +"location": "query", +"type": "string" +}, +"sourceObject": { +"description": "Name of the source object. For information about how to URL encode object names to be path safe, see [Encoding URI Path Parts](https://cloud.google.com/storage/docs/request-endpoints#encoding).", +"location": "path", +"required": true, +"type": "string" +}, +"userProject": { +"description": "The project to be billed for this request. Required for Requester Pays buckets.", +"location": "query", +"type": "string" +} +}, +"path": "b/{bucket}/o/{sourceObject}/moveTo/o/{destinationObject}", +"response": { +"$ref": "Object" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/devstorage.full_control", +"https://www.googleapis.com/auth/devstorage.read_write" +] +}, +"patch": { +"description": "Patches an object's metadata.", +"httpMethod": "PATCH", +"id": "storage.objects.patch", +"parameterOrder": [ +"bucket", +"object" +], +"parameters": { +"bucket": { +"description": "Name of the bucket in which the object resides.", +"location": "path", +"required": true, +"type": "string" +}, +"generation": { +"description": "If present, selects a specific revision of this object (as opposed to the latest version, the default).", +"format": "int64", +"location": "query", +"type": "string" +}, +"ifGenerationMatch": { +"description": "Makes the operation conditional on whether the object's current generation matches the given value. Setting to 0 makes the operation succeed only if there are no live versions of the object.", +"format": "int64", +"location": "query", +"type": "string" +}, +"ifGenerationNotMatch": { +"description": "Makes the operation conditional on whether the object's current generation does not match the given value. If no live object exists, the precondition fails. Setting to 0 makes the operation succeed only if there is a live version of the object.", +"format": "int64", +"location": "query", +"type": "string" +}, +"ifMetagenerationMatch": { +"description": "Makes the operation conditional on whether the object's current metageneration matches the given value.", +"format": "int64", +"location": "query", +"type": "string" +}, +"ifMetagenerationNotMatch": { +"description": "Makes the operation conditional on whether the object's current metageneration does not match the given value.", +"format": "int64", +"location": "query", +"type": "string" +}, +"object": { +"description": "Name of the object. For information about how to URL encode object names to be path safe, see [Encoding URI Path Parts](https://cloud.google.com/storage/docs/request-endpoints#encoding).", +"location": "path", +"required": true, +"type": "string" +}, +"overrideUnlockedRetention": { +"description": "Must be true to remove the retention configuration, reduce its unlocked retention period, or change its mode from unlocked to locked.", +"location": "query", +"type": "boolean" +}, +"predefinedAcl": { +"description": "Apply a predefined set of access controls to this object.", +"enum": [ +"authenticatedRead", +"bucketOwnerFullControl", +"bucketOwnerRead", +"private", +"projectPrivate", +"publicRead" +], +"enumDescriptions": [ +"Object owner gets OWNER access, and allAuthenticatedUsers get READER access.", +"Object owner gets OWNER access, and project team owners get OWNER access.", +"Object owner gets OWNER access, and project team owners get READER access.", +"Object owner gets OWNER access.", +"Object owner gets OWNER access, and project team members get access according to their roles.", +"Object owner gets OWNER access, and allUsers get READER access." +], +"location": "query", +"type": "string" +}, +"projection": { +"description": "Set of properties to return. Defaults to full.", +"enum": [ +"full", +"noAcl" +], +"enumDescriptions": [ +"Include all properties.", +"Omit the owner, acl property." +], +"location": "query", +"type": "string" +}, +"userProject": { +"description": "The project to be billed for this request, for Requester Pays buckets.", +"location": "query", +"type": "string" +} +}, +"path": "b/{bucket}/o/{object}", +"request": { +"$ref": "Object" +}, +"response": { +"$ref": "Object" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/devstorage.full_control" +] +}, +"restore": { +"description": "Restores a soft-deleted object.", +"httpMethod": "POST", +"id": "storage.objects.restore", +"parameterOrder": [ +"bucket", +"object", +"generation" +], +"parameters": { +"bucket": { +"description": "Name of the bucket in which the object resides.", +"location": "path", +"required": true, +"type": "string" +}, +"copySourceAcl": { +"description": "If true, copies the source object's ACL; otherwise, uses the bucket's default object ACL. The default is false.", +"location": "query", +"type": "boolean" +}, +"generation": { +"description": "Selects a specific revision of this object.", +"format": "int64", +"location": "query", +"required": true, +"type": "string" +}, +"ifGenerationMatch": { +"description": "Makes the operation conditional on whether the object's one live generation matches the given value. Setting to 0 makes the operation succeed only if there are no live versions of the object.", +"format": "int64", +"location": "query", +"type": "string" +}, +"ifGenerationNotMatch": { +"description": "Makes the operation conditional on whether none of the object's live generations match the given value. If no live object exists, the precondition fails. Setting to 0 makes the operation succeed only if there is a live version of the object.", +"format": "int64", +"location": "query", +"type": "string" +}, +"ifMetagenerationMatch": { +"description": "Makes the operation conditional on whether the object's one live metageneration matches the given value.", +"format": "int64", +"location": "query", +"type": "string" +}, +"ifMetagenerationNotMatch": { +"description": "Makes the operation conditional on whether none of the object's live metagenerations match the given value.", +"format": "int64", +"location": "query", +"type": "string" +}, +"object": { +"description": "Name of the object. For information about how to URL encode object names to be path safe, see [Encoding URI Path Parts](https://cloud.google.com/storage/docs/request-endpoints#encoding).", +"location": "path", +"required": true, +"type": "string" +}, +"projection": { +"description": "Set of properties to return. Defaults to full.", +"enum": [ +"full", +"noAcl" +], +"enumDescriptions": [ +"Include all properties.", +"Omit the owner, acl property." +], +"location": "query", +"type": "string" +}, +"restoreToken": { +"description": "Restore token used to differentiate sof-deleted objects with the same name and generation. Only applicable for hierarchical namespace buckets. This parameter is optional, and is only required in the rare case when there are multiple soft-deleted objects with the same name and generation.", +"location": "query", +"type": "string" +}, +"userProject": { +"description": "The project to be billed for this request. Required for Requester Pays buckets.", +"location": "query", +"type": "string" +} +}, +"path": "b/{bucket}/o/{object}/restore", +"response": { +"$ref": "Object" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/devstorage.full_control" +] +}, +"rewrite": { +"description": "Rewrites a source object to a destination object. Optionally overrides metadata.", +"httpMethod": "POST", +"id": "storage.objects.rewrite", +"parameterOrder": [ +"sourceBucket", +"sourceObject", +"destinationBucket", +"destinationObject" +], +"parameters": { +"destinationBucket": { +"description": "Name of the bucket in which to store the new object. Overrides the provided object metadata's bucket value, if any.", +"location": "path", +"required": true, +"type": "string" +}, +"destinationKmsKeyName": { +"description": "Resource name of the Cloud KMS key, of the form projects/my-project/locations/global/keyRings/my-kr/cryptoKeys/my-key, that will be used to encrypt the object. Overrides the object metadata's kms_key_name value, if any.", +"location": "query", +"type": "string" +}, +"destinationObject": { +"description": "Name of the new object. Required when the object metadata is not otherwise provided. Overrides the object metadata's name value, if any. For information about how to URL encode object names to be path safe, see [Encoding URI Path Parts](https://cloud.google.com/storage/docs/request-endpoints#encoding).", +"location": "path", +"required": true, +"type": "string" +}, +"destinationPredefinedAcl": { +"description": "Apply a predefined set of access controls to the destination object.", +"enum": [ +"authenticatedRead", +"bucketOwnerFullControl", +"bucketOwnerRead", +"private", +"projectPrivate", +"publicRead" +], +"enumDescriptions": [ +"Object owner gets OWNER access, and allAuthenticatedUsers get READER access.", +"Object owner gets OWNER access, and project team owners get OWNER access.", +"Object owner gets OWNER access, and project team owners get READER access.", +"Object owner gets OWNER access.", +"Object owner gets OWNER access, and project team members get access according to their roles.", +"Object owner gets OWNER access, and allUsers get READER access." +], +"location": "query", +"type": "string" +}, +"dropContextGroups": { +"description": "Specifies which groups of Object Contexts from the source object should be dropped from the destination object.", +"location": "query", +"repeated": true, +"type": "string" +}, +"ifGenerationMatch": { +"description": "Makes the operation conditional on whether the object's current generation matches the given value. Setting to 0 makes the operation succeed only if there are no live versions of the object.", +"format": "int64", +"location": "query", +"type": "string" +}, +"ifGenerationNotMatch": { +"description": "Makes the operation conditional on whether the object's current generation does not match the given value. If no live object exists, the precondition fails. Setting to 0 makes the operation succeed only if there is a live version of the object.", +"format": "int64", +"location": "query", +"type": "string" +}, +"ifMetagenerationMatch": { +"description": "Makes the operation conditional on whether the destination object's current metageneration matches the given value.", +"format": "int64", +"location": "query", +"type": "string" +}, +"ifMetagenerationNotMatch": { +"description": "Makes the operation conditional on whether the destination object's current metageneration does not match the given value.", +"format": "int64", +"location": "query", +"type": "string" +}, +"ifSourceGenerationMatch": { +"description": "Makes the operation conditional on whether the source object's current generation matches the given value.", +"format": "int64", +"location": "query", +"type": "string" +}, +"ifSourceGenerationNotMatch": { +"description": "Makes the operation conditional on whether the source object's current generation does not match the given value.", +"format": "int64", +"location": "query", +"type": "string" +}, +"ifSourceMetagenerationMatch": { +"description": "Makes the operation conditional on whether the source object's current metageneration matches the given value.", +"format": "int64", +"location": "query", +"type": "string" +}, +"ifSourceMetagenerationNotMatch": { +"description": "Makes the operation conditional on whether the source object's current metageneration does not match the given value.", +"format": "int64", +"location": "query", +"type": "string" +}, +"maxBytesRewrittenPerCall": { +"description": "The maximum number of bytes that will be rewritten per rewrite request. Most callers shouldn't need to specify this parameter - it is primarily in place to support testing. If specified the value must be an integral multiple of 1 MiB (1048576). Also, this only applies to requests where the source and destination span locations and/or storage classes. Finally, this value must not change across rewrite calls else you'll get an error that the rewriteToken is invalid.", +"format": "int64", +"location": "query", +"type": "string" +}, +"projection": { +"description": "Set of properties to return. Defaults to noAcl, unless the object resource specifies the acl property, when it defaults to full.", +"enum": [ +"full", +"noAcl" +], +"enumDescriptions": [ +"Include all properties.", +"Omit the owner, acl property." +], +"location": "query", +"type": "string" +}, +"rewriteToken": { +"description": "Include this field (from the previous rewrite response) on each rewrite request after the first one, until the rewrite response 'done' flag is true. Calls that provide a rewriteToken can omit all other request fields, but if included those fields must match the values provided in the first rewrite request.", +"location": "query", +"type": "string" +}, +"sourceBucket": { +"description": "Name of the bucket in which to find the source object.", +"location": "path", +"required": true, +"type": "string" +}, +"sourceGeneration": { +"description": "If present, selects a specific revision of the source object (as opposed to the latest version, the default).", +"format": "int64", +"location": "query", +"type": "string" +}, +"sourceObject": { +"description": "Name of the source object. For information about how to URL encode object names to be path safe, see [Encoding URI Path Parts](https://cloud.google.com/storage/docs/request-endpoints#encoding).", +"location": "path", +"required": true, +"type": "string" +}, +"userProject": { +"description": "The project to be billed for this request. Required for Requester Pays buckets.", +"location": "query", +"type": "string" +} +}, +"path": "b/{sourceBucket}/o/{sourceObject}/rewriteTo/b/{destinationBucket}/o/{destinationObject}", +"request": { +"$ref": "Object" +}, +"response": { +"$ref": "RewriteResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/devstorage.full_control", +"https://www.googleapis.com/auth/devstorage.read_write" +] +}, +"setIamPolicy": { +"description": "Updates an IAM policy for the specified object.", +"httpMethod": "PUT", +"id": "storage.objects.setIamPolicy", +"parameterOrder": [ +"bucket", +"object" +], +"parameters": { +"bucket": { +"description": "Name of the bucket in which the object resides.", +"location": "path", +"required": true, +"type": "string" +}, +"generation": { +"description": "If present, selects a specific revision of this object (as opposed to the latest version, the default).", +"format": "int64", +"location": "query", +"type": "string" +}, +"object": { +"description": "Name of the object. For information about how to URL encode object names to be path safe, see [Encoding URI Path Parts](https://cloud.google.com/storage/docs/request-endpoints#encoding).", +"location": "path", +"required": true, +"type": "string" +}, +"userProject": { +"description": "The project to be billed for this request. Required for Requester Pays buckets.", +"location": "query", +"type": "string" +} +}, +"path": "b/{bucket}/o/{object}/iam", +"request": { +"$ref": "Policy" +}, +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/devstorage.full_control", +"https://www.googleapis.com/auth/devstorage.read_write" +] +}, +"testIamPermissions": { +"description": "Tests a set of permissions on the given object to see which, if any, are held by the caller.", +"httpMethod": "GET", +"id": "storage.objects.testIamPermissions", +"parameterOrder": [ +"bucket", +"object", +"permissions" +], +"parameters": { +"bucket": { +"description": "Name of the bucket in which the object resides.", +"location": "path", +"required": true, +"type": "string" +}, +"generation": { +"description": "If present, selects a specific revision of this object (as opposed to the latest version, the default).", +"format": "int64", +"location": "query", +"type": "string" +}, +"object": { +"description": "Name of the object. For information about how to URL encode object names to be path safe, see [Encoding URI Path Parts](https://cloud.google.com/storage/docs/request-endpoints#encoding).", +"location": "path", +"required": true, +"type": "string" +}, +"permissions": { +"description": "Permissions to test.", +"location": "query", +"repeated": true, +"required": true, +"type": "string" +}, +"userProject": { +"description": "The project to be billed for this request. Required for Requester Pays buckets.", +"location": "query", +"type": "string" +} +}, +"path": "b/{bucket}/o/{object}/iam/testPermissions", +"response": { +"$ref": "TestIamPermissionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only", +"https://www.googleapis.com/auth/devstorage.full_control", +"https://www.googleapis.com/auth/devstorage.read_only", +"https://www.googleapis.com/auth/devstorage.read_write" +] +}, +"update": { +"description": "Updates an object's metadata.", +"httpMethod": "PUT", +"id": "storage.objects.update", +"parameterOrder": [ +"bucket", +"object" +], +"parameters": { +"bucket": { +"description": "Name of the bucket in which the object resides.", +"location": "path", +"required": true, +"type": "string" +}, +"generation": { +"description": "If present, selects a specific revision of this object (as opposed to the latest version, the default).", +"format": "int64", +"location": "query", +"type": "string" +}, +"ifGenerationMatch": { +"description": "Makes the operation conditional on whether the object's current generation matches the given value. Setting to 0 makes the operation succeed only if there are no live versions of the object.", +"format": "int64", +"location": "query", +"type": "string" +}, +"ifGenerationNotMatch": { +"description": "Makes the operation conditional on whether the object's current generation does not match the given value. If no live object exists, the precondition fails. Setting to 0 makes the operation succeed only if there is a live version of the object.", +"format": "int64", +"location": "query", +"type": "string" +}, +"ifMetagenerationMatch": { +"description": "Makes the operation conditional on whether the object's current metageneration matches the given value.", +"format": "int64", +"location": "query", +"type": "string" +}, +"ifMetagenerationNotMatch": { +"description": "Makes the operation conditional on whether the object's current metageneration does not match the given value.", +"format": "int64", +"location": "query", +"type": "string" +}, +"object": { +"description": "Name of the object. For information about how to URL encode object names to be path safe, see [Encoding URI Path Parts](https://cloud.google.com/storage/docs/request-endpoints#encoding).", +"location": "path", +"required": true, +"type": "string" +}, +"overrideUnlockedRetention": { +"description": "Must be true to remove the retention configuration, reduce its unlocked retention period, or change its mode from unlocked to locked.", +"location": "query", +"type": "boolean" +}, +"predefinedAcl": { +"description": "Apply a predefined set of access controls to this object.", +"enum": [ +"authenticatedRead", +"bucketOwnerFullControl", +"bucketOwnerRead", +"private", +"projectPrivate", +"publicRead" +], +"enumDescriptions": [ +"Object owner gets OWNER access, and allAuthenticatedUsers get READER access.", +"Object owner gets OWNER access, and project team owners get OWNER access.", +"Object owner gets OWNER access, and project team owners get READER access.", +"Object owner gets OWNER access.", +"Object owner gets OWNER access, and project team members get access according to their roles.", +"Object owner gets OWNER access, and allUsers get READER access." +], +"location": "query", +"type": "string" +}, +"projection": { +"description": "Set of properties to return. Defaults to full.", +"enum": [ +"full", +"noAcl" +], +"enumDescriptions": [ +"Include all properties.", +"Omit the owner, acl property." +], +"location": "query", +"type": "string" +}, +"userProject": { +"description": "The project to be billed for this request. Required for Requester Pays buckets.", +"location": "query", +"type": "string" +} +}, +"path": "b/{bucket}/o/{object}", +"request": { +"$ref": "Object" +}, +"response": { +"$ref": "Object" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/devstorage.full_control" +] +}, +"watchAll": { +"description": "Watch for changes on all objects in a bucket.", +"httpMethod": "POST", +"id": "storage.objects.watchAll", +"parameterOrder": [ +"bucket" +], +"parameters": { +"bucket": { +"description": "Name of the bucket in which to look for objects.", +"location": "path", +"required": true, +"type": "string" +}, +"delimiter": { +"description": "Returns results in a directory-like mode. items will contain only objects whose names, aside from the prefix, do not contain delimiter. Objects whose names, aside from the prefix, contain delimiter will have their name, truncated after the delimiter, returned in prefixes. Duplicate prefixes are omitted.", +"location": "query", +"type": "string" +}, +"endOffset": { +"description": "Filter results to objects whose names are lexicographically before endOffset. If startOffset is also set, the objects listed will have names between startOffset (inclusive) and endOffset (exclusive).", +"location": "query", +"type": "string" +}, +"includeTrailingDelimiter": { +"description": "If true, objects that end in exactly one instance of delimiter will have their metadata included in items in addition to prefixes.", +"location": "query", +"type": "boolean" +}, +"maxResults": { +"default": "1000", +"description": "Maximum number of items plus prefixes to return in a single page of responses. As duplicate prefixes are omitted, fewer total results may be returned than requested. The service will use this parameter or 1,000 items, whichever is smaller.", +"format": "uint32", +"location": "query", +"minimum": "0", +"type": "integer" +}, +"pageToken": { +"description": "A previously-returned page token representing part of the larger set of results to view.", +"location": "query", +"type": "string" +}, +"prefix": { +"description": "Filter results to objects whose names begin with this prefix.", +"location": "query", +"type": "string" +}, +"projection": { +"description": "Set of properties to return. Defaults to noAcl.", +"enum": [ +"full", +"noAcl" +], +"enumDescriptions": [ +"Include all properties.", +"Omit the owner, acl property." +], +"location": "query", +"type": "string" +}, +"startOffset": { +"description": "Filter results to objects whose names are lexicographically equal to or after startOffset. If endOffset is also set, the objects listed will have names between startOffset (inclusive) and endOffset (exclusive).", +"location": "query", +"type": "string" +}, +"userProject": { +"description": "The project to be billed for this request. Required for Requester Pays buckets.", +"location": "query", +"type": "string" +}, +"versions": { +"description": "If true, lists all versions of an object as distinct results. The default is false. For more information, see [Object Versioning](https://cloud.google.com/storage/docs/object-versioning).", +"location": "query", +"type": "boolean" +} +}, +"path": "b/{bucket}/o/watch", +"request": { +"$ref": "Channel", +"parameterName": "resource" +}, +"response": { +"$ref": "Channel" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only", +"https://www.googleapis.com/auth/devstorage.full_control", +"https://www.googleapis.com/auth/devstorage.read_only", +"https://www.googleapis.com/auth/devstorage.read_write" +], +"supportsSubscription": true +} +} +}, +"operations": { +"methods": { +"advanceRelocateBucket": { +"description": "Starts asynchronous advancement of the relocate bucket operation in the case of required write downtime, to allow it to lock the bucket at the source location, and proceed with the bucket location swap. The server makes a best effort to advance the relocate bucket operation, but success is not guaranteed.", +"httpMethod": "POST", +"id": "storage.buckets.operations.advanceRelocateBucket", +"parameterOrder": [ +"bucket", +"operationId" +], +"parameters": { +"bucket": { +"description": "Name of the bucket to advance the relocate for.", +"location": "path", +"required": true, +"type": "string" +}, +"operationId": { +"description": "ID of the operation resource.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "b/{bucket}/operations/{operationId}/advanceRelocateBucket", +"request": { +"$ref": "AdvanceRelocateBucketOperationRequest" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/devstorage.full_control", +"https://www.googleapis.com/auth/devstorage.read_write" +] +}, +"cancel": { +"description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed.", +"httpMethod": "POST", +"id": "storage.buckets.operations.cancel", +"parameterOrder": [ +"bucket", +"operationId" +], +"parameters": { +"bucket": { +"description": "The parent bucket of the operation resource.", +"location": "path", +"required": true, +"type": "string" +}, +"operationId": { +"description": "The ID of the operation resource.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "b/{bucket}/operations/{operationId}/cancel", +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/devstorage.full_control", +"https://www.googleapis.com/auth/devstorage.read_write" +] +}, +"get": { +"description": "Gets the latest state of a long-running operation.", +"httpMethod": "GET", +"id": "storage.buckets.operations.get", +"parameterOrder": [ +"bucket", +"operationId" +], +"parameters": { +"bucket": { +"description": "The parent bucket of the operation resource.", +"location": "path", +"required": true, +"type": "string" +}, +"operationId": { +"description": "The ID of the operation resource.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "b/{bucket}/operations/{operationId}", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only", +"https://www.googleapis.com/auth/devstorage.full_control", +"https://www.googleapis.com/auth/devstorage.read_only", +"https://www.googleapis.com/auth/devstorage.read_write" +] +}, +"list": { +"description": "Lists operations that match the specified filter in the request.", +"httpMethod": "GET", +"id": "storage.buckets.operations.list", +"parameterOrder": [ +"bucket" +], +"parameters": { +"bucket": { +"description": "Name of the bucket in which to look for operations.", +"location": "path", +"required": true, +"type": "string" +}, +"filter": { +"description": "A filter to narrow down results to a preferred subset. The filtering language is documented in more detail in [AIP-160](https://google.aip.dev/160).", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Maximum number of items to return in a single page of responses. Fewer total results may be returned than requested. The service uses this parameter or 100 items, whichever is smaller.", +"format": "int32", +"location": "query", +"minimum": "0", +"type": "integer" +}, +"pageToken": { +"description": "A previously-returned page token representing part of the larger set of results to view.", +"location": "query", +"type": "string" +} +}, +"path": "b/{bucket}/operations", +"response": { +"$ref": "GoogleLongrunningListOperationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only", +"https://www.googleapis.com/auth/devstorage.full_control", +"https://www.googleapis.com/auth/devstorage.read_only", +"https://www.googleapis.com/auth/devstorage.read_write" +] +} +} +}, +"projects": { +"resources": { +"hmacKeys": { +"methods": { +"create": { +"description": "Creates a new HMAC key for the specified service account.", +"httpMethod": "POST", +"id": "storage.projects.hmacKeys.create", +"parameterOrder": [ +"projectId", +"serviceAccountEmail" +], +"parameters": { +"projectId": { +"description": "Project ID owning the service account.", +"location": "path", +"required": true, +"type": "string" +}, +"serviceAccountEmail": { +"description": "Email address of the service account.", +"location": "query", +"required": true, +"type": "string" +}, +"userProject": { +"description": "The project to be billed for this request.", +"location": "query", +"type": "string" +} +}, +"path": "projects/{projectId}/hmacKeys", +"response": { +"$ref": "HmacKey" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/devstorage.full_control" +] +}, +"delete": { +"description": "Deletes an HMAC key.", +"httpMethod": "DELETE", +"id": "storage.projects.hmacKeys.delete", +"parameterOrder": [ +"projectId", +"accessId" +], +"parameters": { +"accessId": { +"description": "Name of the HMAC key to be deleted.", +"location": "path", +"required": true, +"type": "string" +}, +"projectId": { +"description": "Project ID owning the requested key", +"location": "path", +"required": true, +"type": "string" +}, +"userProject": { +"description": "The project to be billed for this request.", +"location": "query", +"type": "string" +} +}, +"path": "projects/{projectId}/hmacKeys/{accessId}", +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/devstorage.full_control", +"https://www.googleapis.com/auth/devstorage.read_write" +] +}, +"get": { +"description": "Retrieves an HMAC key's metadata", +"httpMethod": "GET", +"id": "storage.projects.hmacKeys.get", +"parameterOrder": [ +"projectId", +"accessId" +], +"parameters": { +"accessId": { +"description": "Name of the HMAC key.", +"location": "path", +"required": true, +"type": "string" +}, +"projectId": { +"description": "Project ID owning the service account of the requested key.", +"location": "path", +"required": true, +"type": "string" +}, +"userProject": { +"description": "The project to be billed for this request.", +"location": "query", +"type": "string" +} +}, +"path": "projects/{projectId}/hmacKeys/{accessId}", +"response": { +"$ref": "HmacKeyMetadata" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only", +"https://www.googleapis.com/auth/devstorage.full_control", +"https://www.googleapis.com/auth/devstorage.read_only" +] +}, +"list": { +"description": "Retrieves a list of HMAC keys matching the criteria.", +"httpMethod": "GET", +"id": "storage.projects.hmacKeys.list", +"parameterOrder": [ +"projectId" +], +"parameters": { +"maxResults": { +"default": "250", +"description": "Maximum number of items to return in a single page of responses. The service uses this parameter or 250 items, whichever is smaller. The max number of items per page will also be limited by the number of distinct service accounts in the response. If the number of service accounts in a single response is too high, the page will truncated and a next page token will be returned.", +"format": "uint32", +"location": "query", +"minimum": "0", +"type": "integer" +}, +"pageToken": { +"description": "A previously-returned page token representing part of the larger set of results to view.", +"location": "query", +"type": "string" +}, +"projectId": { +"description": "Name of the project in which to look for HMAC keys.", +"location": "path", +"required": true, +"type": "string" +}, +"serviceAccountEmail": { +"description": "If present, only keys for the given service account are returned.", +"location": "query", +"type": "string" +}, +"showDeletedKeys": { +"description": "Whether or not to show keys in the DELETED state.", +"location": "query", +"type": "boolean" +}, +"userProject": { +"description": "The project to be billed for this request.", +"location": "query", +"type": "string" +} +}, +"path": "projects/{projectId}/hmacKeys", +"response": { +"$ref": "HmacKeysMetadata" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only", +"https://www.googleapis.com/auth/devstorage.full_control", +"https://www.googleapis.com/auth/devstorage.read_only" +] +}, +"update": { +"description": "Updates the state of an HMAC key. See the [HMAC Key resource descriptor](https://cloud.google.com/storage/docs/json_api/v1/projects/hmacKeys/update#request-body) for valid states.", +"httpMethod": "PUT", +"id": "storage.projects.hmacKeys.update", +"parameterOrder": [ +"projectId", +"accessId" +], +"parameters": { +"accessId": { +"description": "Name of the HMAC key being updated.", +"location": "path", +"required": true, +"type": "string" +}, +"projectId": { +"description": "Project ID owning the service account of the updated key.", +"location": "path", +"required": true, +"type": "string" +}, +"userProject": { +"description": "The project to be billed for this request.", +"location": "query", +"type": "string" +} +}, +"path": "projects/{projectId}/hmacKeys/{accessId}", +"request": { +"$ref": "HmacKeyMetadata" +}, +"response": { +"$ref": "HmacKeyMetadata" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/devstorage.full_control" +] +} +} +}, +"serviceAccount": { +"methods": { +"get": { +"description": "Get the email address of this project's Google Cloud Storage service account.", +"httpMethod": "GET", +"id": "storage.projects.serviceAccount.get", +"parameterOrder": [ +"projectId" +], +"parameters": { +"projectId": { +"description": "Project ID", +"location": "path", +"required": true, +"type": "string" +}, +"userProject": { +"description": "The project to be billed for this request.", +"location": "query", +"type": "string" +} +}, +"path": "projects/{projectId}/serviceAccount", +"response": { +"$ref": "ServiceAccount" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only", +"https://www.googleapis.com/auth/devstorage.full_control", +"https://www.googleapis.com/auth/devstorage.read_only", +"https://www.googleapis.com/auth/devstorage.read_write" +] +} +} +} +} +} +}, +"revision": "20260204", +"rootUrl": "https://storage.googleapis.com/", +"schemas": { +"AdvanceRelocateBucketOperationRequest": { +"description": "An AdvanceRelocateBucketOperation request.", +"id": "AdvanceRelocateBucketOperationRequest", +"properties": { +"expireTime": { +"description": "Specifies the time when the relocation will revert to the sync stage if the relocation hasn't succeeded.", +"format": "date-time", +"type": "string" +}, +"ttl": { +"description": "Specifies the duration after which the relocation will revert to the sync stage if the relocation hasn't succeeded. Optional, if not supplied, a default value of 12h will be used.", +"format": "google-duration", +"type": "string" +} +}, +"type": "object" +}, +"AnywhereCache": { +"description": "An Anywhere Cache instance.", +"id": "AnywhereCache", +"properties": { +"admissionPolicy": { +"description": "The cache-level entry admission policy.", +"type": "string" +}, +"anywhereCacheId": { +"description": "The ID of the Anywhere cache instance.", +"type": "string" +}, +"bucket": { +"description": "The name of the bucket containing this cache instance.", +"type": "string" +}, +"createTime": { +"description": "The creation time of the cache instance in RFC 3339 format.", +"format": "date-time", +"type": "string" +}, +"id": { +"description": "The ID of the resource, including the project number, bucket name and anywhere cache ID.", +"type": "string" +}, +"kind": { +"default": "storage#anywhereCache", +"description": "The kind of item this is. For Anywhere Cache, this is always storage#anywhereCache.", +"type": "string" +}, +"pendingUpdate": { +"description": "True if the cache instance has an active Update long-running operation.", +"type": "boolean" +}, +"selfLink": { +"description": "The link to this cache instance.", +"type": "string" +}, +"state": { +"description": "The current state of the cache instance.", +"type": "string" +}, +"ttl": { +"description": "The TTL of all cache entries in whole seconds. e.g., \"7200s\". ", +"format": "google-duration", +"type": "string" +}, +"updateTime": { +"description": "The modification time of the cache instance metadata in RFC 3339 format.", +"format": "date-time", +"type": "string" +}, +"zone": { +"description": "The zone in which the cache instance is running. For example, us-central1-a.", +"type": "string" +} +}, +"type": "object" +}, +"AnywhereCaches": { +"description": "A list of Anywhere Caches.", +"id": "AnywhereCaches", +"properties": { +"items": { +"description": "The list of items.", +"items": { +"$ref": "AnywhereCache" +}, +"type": "array" +}, +"kind": { +"default": "storage#anywhereCaches", +"description": "The kind of item this is. For lists of Anywhere Caches, this is always storage#anywhereCaches.", +"type": "string" +}, +"nextPageToken": { +"description": "The continuation token, used to page through large result sets. Provide this value in a subsequent request to return the next page of results.", +"type": "string" +} +}, +"type": "object" +}, +"Bucket": { +"description": "A bucket.", +"id": "Bucket", +"properties": { +"acl": { +"annotations": { +"required": [ +"storage.buckets.update" +] +}, +"description": "Access controls on the bucket.", +"items": { +"$ref": "BucketAccessControl" +}, +"type": "array" +}, +"autoclass": { +"description": "The bucket's Autoclass configuration.", +"properties": { +"enabled": { +"description": "Whether or not Autoclass is enabled on this bucket", +"type": "boolean" +}, +"terminalStorageClass": { +"description": "The storage class that objects in the bucket eventually transition to if they are not read for a certain length of time. Valid values are NEARLINE and ARCHIVE.", +"type": "string" +}, +"terminalStorageClassUpdateTime": { +"description": "A date and time in RFC 3339 format representing the time of the most recent update to \"terminalStorageClass\".", +"format": "date-time", +"type": "string" +}, +"toggleTime": { +"description": "A date and time in RFC 3339 format representing the instant at which \"enabled\" was last toggled.", +"format": "date-time", +"type": "string" +} +}, +"type": "object" +}, +"billing": { +"description": "The bucket's billing configuration.", +"properties": { +"requesterPays": { +"description": "When set to true, Requester Pays is enabled for this bucket.", +"type": "boolean" +} +}, +"type": "object" +}, +"cors": { +"description": "The bucket's Cross-Origin Resource Sharing (CORS) configuration.", +"items": { +"properties": { +"maxAgeSeconds": { +"description": "The value, in seconds, to return in the Access-Control-Max-Age header used in preflight responses.", +"format": "int32", +"type": "integer" +}, +"method": { +"description": "The list of HTTP methods on which to include CORS response headers, (GET, OPTIONS, POST, etc) Note: \"*\" is permitted in the list of methods, and means \"any method\".", +"items": { +"type": "string" +}, +"type": "array" +}, +"origin": { +"description": "The list of Origins eligible to receive CORS response headers. Note: \"*\" is permitted in the list of origins, and means \"any Origin\".", +"items": { +"type": "string" +}, +"type": "array" +}, +"responseHeader": { +"description": "The list of HTTP headers other than the simple response headers to give permission for the user-agent to share across domains.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"type": "array" +}, +"customPlacementConfig": { +"description": "The bucket's custom placement configuration for Custom Dual Regions.", +"properties": { +"dataLocations": { +"description": "The list of regional locations in which data is placed.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"defaultEventBasedHold": { +"description": "The default value for event-based hold on newly created objects in this bucket. Event-based hold is a way to retain objects indefinitely until an event occurs, signified by the hold's release. After being released, such objects will be subject to bucket-level retention (if any). One sample use case of this flag is for banks to hold loan documents for at least 3 years after loan is paid in full. Here, bucket-level retention is 3 years and the event is loan being paid in full. In this example, these objects will be held intact for any number of years until the event has occurred (event-based hold on the object is released) and then 3 more years after that. That means retention duration of the objects begins from the moment event-based hold transitioned from true to false. Objects under event-based hold cannot be deleted, overwritten or archived until the hold is removed.", +"type": "boolean" +}, +"defaultObjectAcl": { +"description": "Default access controls to apply to new objects when no ACL is provided.", +"items": { +"$ref": "ObjectAccessControl" +}, +"type": "array" +}, +"encryption": { +"description": "Encryption configuration for a bucket.", +"properties": { +"customerManagedEncryptionEnforcementConfig": { +"description": "If set, the new objects created in this bucket must comply with this enforcement config. Changing this has no effect on existing objects; it applies to new objects only. If omitted, the new objects are allowed to be encrypted with Customer Managed Encryption type by default.", +"properties": { +"effectiveTime": { +"description": "Server-determined value that indicates the time from which configuration was enforced and effective. This value is in RFC 3339 format.", +"format": "date-time", +"type": "string" +}, +"restrictionMode": { +"description": "Restriction mode for Customer-Managed Encryption Keys. Defaults to NotRestricted.", +"enum": [ +"NotRestricted", +"FullyRestricted" +], +"enumDescriptions": [ +"Creation of new objects with Customer-Managed Encryption is not restricted.", +"Creation of new objects with Customer-Managed Encryption is fully restricted." +], +"type": "string" +} +}, +"type": "object" +}, +"customerSuppliedEncryptionEnforcementConfig": { +"description": "If set, the new objects created in this bucket must comply with this enforcement config. Changing this has no effect on existing objects; it applies to new objects only. If omitted, the new objects are allowed to be encrypted with Customer Supplied Encryption type by default.", +"properties": { +"effectiveTime": { +"description": "Server-determined value that indicates the time from which configuration was enforced and effective. This value is in RFC 3339 format.", +"format": "date-time", +"type": "string" +}, +"restrictionMode": { +"description": "Restriction mode for Customer-Supplied Encryption Keys. Defaults to NotRestricted.", +"enum": [ +"NotRestricted", +"FullyRestricted" +], +"enumDescriptions": [ +"Creation of new objects with Customer-Supplied Encryption is not restricted.", +"Creation of new objects with Customer-Supplied Encryption is fully restricted." +], +"type": "string" +} +}, +"type": "object" +}, +"defaultKmsKeyName": { +"description": "A Cloud KMS key that will be used to encrypt objects inserted into this bucket, if no encryption method is specified.", +"type": "string" +}, +"googleManagedEncryptionEnforcementConfig": { +"description": "If set, the new objects created in this bucket must comply with this enforcement config. Changing this has no effect on existing objects; it applies to new objects only. If omitted, the new objects are allowed to be encrypted with Google Managed Encryption type by default.", +"properties": { +"effectiveTime": { +"description": "Server-determined value that indicates the time from which configuration was enforced and effective. This value is in RFC 3339 format.", +"format": "date-time", +"type": "string" +}, +"restrictionMode": { +"description": "Restriction mode for Google-Managed Encryption Keys. Defaults to NotRestricted.", +"enum": [ +"NotRestricted", +"FullyRestricted" +], +"enumDescriptions": [ +"Creation of new objects with Google Managed Encryption is not restricted.", +"Creation of new objects with Google Managed Encryption is fully restricted." +], +"type": "string" +} +}, +"type": "object" +} +}, +"type": "object" +}, +"etag": { +"description": "HTTP 1.1 Entity tag for the bucket.", +"type": "string" +}, +"generation": { +"description": "The generation of this bucket.", +"format": "int64", +"type": "string" +}, +"hardDeleteTime": { +"description": "The hard delete time of the bucket in RFC 3339 format.", +"format": "date-time", +"type": "string" +}, +"hierarchicalNamespace": { +"description": "The bucket's hierarchical namespace configuration.", +"properties": { +"enabled": { +"description": "When set to true, hierarchical namespace is enabled for this bucket.", +"type": "boolean" +} +}, +"type": "object" +}, +"iamConfiguration": { +"description": "The bucket's IAM configuration.", +"properties": { +"bucketPolicyOnly": { +"description": "The bucket's uniform bucket-level access configuration. The feature was formerly known as Bucket Policy Only. For backward compatibility, this field will be populated with identical information as the uniformBucketLevelAccess field. We recommend using the uniformBucketLevelAccess field to enable and disable the feature.", +"properties": { +"enabled": { +"description": "If set, access is controlled only by bucket-level or above IAM policies.", +"type": "boolean" +}, +"lockedTime": { +"description": "The deadline for changing iamConfiguration.bucketPolicyOnly.enabled from true to false in RFC 3339 format. iamConfiguration.bucketPolicyOnly.enabled may be changed from true to false until the locked time, after which the field is immutable.", +"format": "date-time", +"type": "string" +} +}, +"type": "object" +}, +"publicAccessPrevention": { +"description": "The bucket's Public Access Prevention configuration. Currently, 'inherited' and 'enforced' are supported.", +"type": "string" +}, +"uniformBucketLevelAccess": { +"description": "The bucket's uniform bucket-level access configuration.", +"properties": { +"enabled": { +"description": "If set, access is controlled only by bucket-level or above IAM policies.", +"type": "boolean" +}, +"lockedTime": { +"description": "The deadline for changing iamConfiguration.uniformBucketLevelAccess.enabled from true to false in RFC 3339 format. iamConfiguration.uniformBucketLevelAccess.enabled may be changed from true to false until the locked time, after which the field is immutable.", +"format": "date-time", +"type": "string" +} +}, +"type": "object" +} +}, +"type": "object" +}, +"id": { +"description": "The ID of the bucket. For buckets, the id and name properties are the same.", +"type": "string" +}, +"ipFilter": { +"description": "The bucket's IP filter configuration. Specifies the network sources that are allowed to access the operations on the bucket, as well as its underlying objects. Only enforced when the mode is set to 'Enabled'.", +"properties": { +"allowAllServiceAgentAccess": { +"description": "Whether to allow all service agents to access the bucket regardless of the IP filter configuration.", +"type": "boolean" +}, +"allowCrossOrgVpcs": { +"description": "Whether to allow cross-org VPCs in the bucket's IP filter configuration.", +"type": "boolean" +}, +"mode": { +"description": "The mode of the IP filter. Valid values are 'Enabled' and 'Disabled'.", +"type": "string" +}, +"publicNetworkSource": { +"description": "The public network source of the bucket's IP filter.", +"properties": { +"allowedIpCidrRanges": { +"description": "The list of public IPv4, IPv6 cidr ranges that are allowed to access the bucket.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"vpcNetworkSources": { +"description": "The list of [VPC network](https://cloud.google.com/vpc/docs/vpc) sources of the bucket's IP filter.", +"items": { +"properties": { +"allowedIpCidrRanges": { +"description": "The list of IPv4, IPv6 cidr ranges subnetworks that are allowed to access the bucket.", +"items": { +"type": "string" +}, +"type": "array" +}, +"network": { +"description": "Name of the network. Format: projects/{PROJECT_ID}/global/networks/{NETWORK_NAME}", +"type": "string" +} +}, +"type": "object" +}, +"type": "array" +} +}, +"type": "object" +}, +"kind": { +"default": "storage#bucket", +"description": "The kind of item this is. For buckets, this is always storage#bucket.", +"type": "string" +}, +"labels": { +"additionalProperties": { +"description": "An individual label entry.", +"type": "string" +}, +"description": "User-provided labels, in key/value pairs.", +"type": "object" +}, +"lifecycle": { +"description": "The bucket's lifecycle configuration. See [Lifecycle Management](https://cloud.google.com/storage/docs/lifecycle) for more information.", +"properties": { +"rule": { +"description": "A lifecycle management rule, which is made of an action to take and the condition(s) under which the action will be taken.", +"items": { +"properties": { +"action": { +"description": "The action to take.", +"properties": { +"storageClass": { +"description": "Target storage class. Required iff the type of the action is SetStorageClass.", +"type": "string" +}, +"type": { +"description": "Type of the action. Currently, only Delete, SetStorageClass, and AbortIncompleteMultipartUpload are supported.", +"type": "string" +} +}, +"type": "object" +}, +"condition": { +"description": "The condition(s) under which the action will be taken.", +"properties": { +"age": { +"description": "Age of an object (in days). This condition is satisfied when an object reaches the specified age.", +"format": "int32", +"type": "integer" +}, +"createdBefore": { +"description": "A date in RFC 3339 format with only the date part (for instance, \"2013-01-15\"). This condition is satisfied when an object is created before midnight of the specified date in UTC.", +"format": "date", +"type": "string" +}, +"customTimeBefore": { +"description": "A date in RFC 3339 format with only the date part (for instance, \"2013-01-15\"). This condition is satisfied when the custom time on an object is before this date in UTC.", +"format": "date", +"type": "string" +}, +"daysSinceCustomTime": { +"description": "Number of days elapsed since the user-specified timestamp set on an object. The condition is satisfied if the days elapsed is at least this number. If no custom timestamp is specified on an object, the condition does not apply.", +"format": "int32", +"type": "integer" +}, +"daysSinceNoncurrentTime": { +"description": "Number of days elapsed since the noncurrent timestamp of an object. The condition is satisfied if the days elapsed is at least this number. This condition is relevant only for versioned objects. The value of the field must be a nonnegative integer. If it's zero, the object version will become eligible for Lifecycle action as soon as it becomes noncurrent.", +"format": "int32", +"type": "integer" +}, +"isLive": { +"description": "Relevant only for versioned objects. If the value is true, this condition matches live objects; if the value is false, it matches archived objects.", +"type": "boolean" +}, +"matchesPattern": { +"description": "A regular expression that satisfies the RE2 syntax. This condition is satisfied when the name of the object matches the RE2 pattern. Note: This feature is currently in the \"Early Access\" launch stage and is only available to a whitelisted set of users; that means that this feature may be changed in backward-incompatible ways and that it is not guaranteed to be released.", +"type": "string" +}, +"matchesPrefix": { +"description": "List of object name prefixes. This condition will be satisfied when at least one of the prefixes exactly matches the beginning of the object name.", +"items": { +"type": "string" +}, +"type": "array" +}, +"matchesStorageClass": { +"description": "Objects having any of the storage classes specified by this condition will be matched. Values include MULTI_REGIONAL, REGIONAL, NEARLINE, COLDLINE, ARCHIVE, STANDARD, and DURABLE_REDUCED_AVAILABILITY.", +"items": { +"type": "string" +}, +"type": "array" +}, +"matchesSuffix": { +"description": "List of object name suffixes. This condition will be satisfied when at least one of the suffixes exactly matches the end of the object name.", +"items": { +"type": "string" +}, +"type": "array" +}, +"noncurrentTimeBefore": { +"description": "A date in RFC 3339 format with only the date part (for instance, \"2013-01-15\"). This condition is satisfied when the noncurrent time on an object is before this date in UTC. This condition is relevant only for versioned objects.", +"format": "date", +"type": "string" +}, +"numNewerVersions": { +"description": "Relevant only for versioned objects. If the value is N, this condition is satisfied when there are at least N versions (including the live version) newer than this version of the object.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +} +}, +"type": "object" +}, +"type": "array" +} +}, +"type": "object" +}, +"location": { +"description": "The location of the bucket. Object data for objects in the bucket resides in physical storage within this region. Defaults to US. See the [Developer's Guide](https://cloud.google.com/storage/docs/locations) for the authoritative list.", +"type": "string" +}, +"locationType": { +"description": "The type of the bucket location.", +"type": "string" +}, +"logging": { +"description": "The bucket's logging configuration, which defines the destination bucket and optional name prefix for the current bucket's logs.", +"properties": { +"logBucket": { +"description": "The destination bucket where the current bucket's logs should be placed.", +"type": "string" +}, +"logObjectPrefix": { +"description": "A prefix for log object names.", +"type": "string" +} +}, +"type": "object" +}, +"metageneration": { +"description": "The metadata generation of this bucket.", +"format": "int64", +"type": "string" +}, +"name": { +"annotations": { +"required": [ +"storage.buckets.insert" +] +}, +"description": "The name of the bucket.", +"type": "string" +}, +"objectRetention": { +"description": "The bucket's object retention config.", +"properties": { +"mode": { +"description": "The bucket's object retention mode. Can be Enabled.", +"type": "string" +} +}, +"type": "object" +}, +"owner": { +"description": "The owner of the bucket. This is always the project team's owner group.", +"properties": { +"entity": { +"description": "The entity, in the form project-owner-projectId.", +"type": "string" +}, +"entityId": { +"description": "The ID for the entity.", +"type": "string" +} +}, +"type": "object" +}, +"projectNumber": { +"description": "The project number of the project the bucket belongs to.", +"format": "uint64", +"type": "string" +}, +"retentionPolicy": { +"description": "The bucket's retention policy. The retention policy enforces a minimum retention time for all objects contained in the bucket, based on their creation time. Any attempt to overwrite or delete objects younger than the retention period will result in a PERMISSION_DENIED error. An unlocked retention policy can be modified or removed from the bucket via a storage.buckets.update operation. A locked retention policy cannot be removed or shortened in duration for the lifetime of the bucket. Attempting to remove or decrease period of a locked retention policy will result in a PERMISSION_DENIED error.", +"properties": { +"effectiveTime": { +"description": "Server-determined value that indicates the time from which policy was enforced and effective. This value is in RFC 3339 format.", +"format": "date-time", +"type": "string" +}, +"isLocked": { +"description": "Once locked, an object retention policy cannot be modified.", +"type": "boolean" +}, +"retentionPeriod": { +"description": "The duration in seconds that objects need to be retained. Retention duration must be greater than zero and less than 100 years. Note that enforcement of retention periods less than a day is not guaranteed. Such periods should only be used for testing purposes.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"rpo": { +"description": "The Recovery Point Objective (RPO) of this bucket. Set to ASYNC_TURBO to turn on Turbo Replication on a bucket.", +"type": "string" +}, +"satisfiesPZI": { +"description": "Reserved for future use.", +"type": "boolean" +}, +"satisfiesPZS": { +"description": "Reserved for future use.", +"type": "boolean" +}, +"selfLink": { +"description": "The URI of this bucket.", +"type": "string" +}, +"softDeletePolicy": { +"description": "The bucket's soft delete policy, which defines the period of time that soft-deleted objects will be retained, and cannot be permanently deleted.", +"properties": { +"effectiveTime": { +"description": "Server-determined value that indicates the time from which the policy, or one with a greater retention, was effective. This value is in RFC 3339 format.", +"format": "date-time", +"type": "string" +}, +"retentionDurationSeconds": { +"description": "The duration in seconds that soft-deleted objects in the bucket will be retained and cannot be permanently deleted.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"softDeleteTime": { +"description": "The soft delete time of the bucket in RFC 3339 format.", +"format": "date-time", +"type": "string" +}, +"storageClass": { +"description": "The bucket's default storage class, used whenever no storageClass is specified for a newly-created object. This defines how objects in the bucket are stored and determines the SLA and the cost of storage. Values include MULTI_REGIONAL, REGIONAL, STANDARD, NEARLINE, COLDLINE, ARCHIVE, and DURABLE_REDUCED_AVAILABILITY. If this value is not specified when the bucket is created, it will default to STANDARD. For more information, see [Storage Classes](https://cloud.google.com/storage/docs/storage-classes).", +"type": "string" +}, +"timeCreated": { +"description": "The creation time of the bucket in RFC 3339 format.", +"format": "date-time", +"type": "string" +}, +"updated": { +"description": "The modification time of the bucket in RFC 3339 format.", +"format": "date-time", +"type": "string" +}, +"versioning": { +"description": "The bucket's versioning configuration.", +"properties": { +"enabled": { +"description": "While set to true, versioning is fully enabled for this bucket.", +"type": "boolean" +} +}, +"type": "object" +}, +"website": { +"description": "The bucket's website configuration, controlling how the service behaves when accessing bucket contents as a web site. See the [Static Website Examples](https://cloud.google.com/storage/docs/static-website) for more information.", +"properties": { +"mainPageSuffix": { +"description": "If the requested object path is missing, the service will ensure the path has a trailing '/', append this suffix, and attempt to retrieve the resulting object. This allows the creation of index.html objects to represent directory pages.", +"type": "string" +}, +"notFoundPage": { +"description": "If the requested object path is missing, and any mainPageSuffix object is missing, if applicable, the service will return the named object from this bucket as the content for a 404 Not Found result.", +"type": "string" +} +}, +"type": "object" +} +}, +"type": "object" +}, +"BucketAccessControl": { +"description": "An access-control entry.", +"id": "BucketAccessControl", +"properties": { +"bucket": { +"description": "The name of the bucket.", +"type": "string" +}, +"domain": { +"description": "The domain associated with the entity, if any.", +"type": "string" +}, +"email": { +"description": "The email address associated with the entity, if any.", +"type": "string" +}, +"entity": { +"annotations": { +"required": [ +"storage.bucketAccessControls.insert" +] +}, +"description": "The entity holding the permission, in one of the following forms: \n- user-userId \n- user-email \n- group-groupId \n- group-email \n- domain-domain \n- project-team-projectId \n- allUsers \n- allAuthenticatedUsers Examples: \n- The user liz@example.com would be user-liz@example.com. \n- The group example@googlegroups.com would be group-example@googlegroups.com. \n- To refer to all members of the Google Apps for Business domain example.com, the entity would be domain-example.com.", +"type": "string" +}, +"entityId": { +"description": "The ID for the entity, if any.", +"type": "string" +}, +"etag": { +"description": "HTTP 1.1 Entity tag for the access-control entry.", +"type": "string" +}, +"id": { +"description": "The ID of the access-control entry.", +"type": "string" +}, +"kind": { +"default": "storage#bucketAccessControl", +"description": "The kind of item this is. For bucket access control entries, this is always storage#bucketAccessControl.", +"type": "string" +}, +"projectTeam": { +"description": "The project team associated with the entity, if any.", +"properties": { +"projectNumber": { +"description": "The project number.", +"type": "string" +}, +"team": { +"description": "The team.", +"type": "string" +} +}, +"type": "object" +}, +"role": { +"annotations": { +"required": [ +"storage.bucketAccessControls.insert" +] +}, +"description": "The access permission for the entity.", +"type": "string" +}, +"selfLink": { +"description": "The link to this access-control entry.", +"type": "string" +} +}, +"type": "object" +}, +"BucketAccessControls": { +"description": "An access-control list.", +"id": "BucketAccessControls", +"properties": { +"items": { +"description": "The list of items.", +"items": { +"$ref": "BucketAccessControl" +}, +"type": "array" +}, +"kind": { +"default": "storage#bucketAccessControls", +"description": "The kind of item this is. For lists of bucket access control entries, this is always storage#bucketAccessControls.", +"type": "string" +} +}, +"type": "object" +}, +"BucketStorageLayout": { +"description": "The storage layout configuration of a bucket.", +"id": "BucketStorageLayout", +"properties": { +"bucket": { +"description": "The name of the bucket.", +"type": "string" +}, +"customPlacementConfig": { +"description": "The bucket's custom placement configuration for Custom Dual Regions.", +"properties": { +"dataLocations": { +"description": "The list of regional locations in which data is placed.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"hierarchicalNamespace": { +"description": "The bucket's hierarchical namespace configuration.", +"properties": { +"enabled": { +"description": "When set to true, hierarchical namespace is enabled for this bucket.", +"type": "boolean" +} +}, +"type": "object" +}, +"kind": { +"default": "storage#storageLayout", +"description": "The kind of item this is. For storage layout, this is always storage#storageLayout.", +"type": "string" +}, +"location": { +"description": "The location of the bucket.", +"type": "string" +}, +"locationType": { +"description": "The type of the bucket location.", +"type": "string" +} +}, +"type": "object" +}, +"Buckets": { +"description": "A list of buckets.", +"id": "Buckets", +"properties": { +"items": { +"description": "The list of items.", +"items": { +"$ref": "Bucket" +}, +"type": "array" +}, +"kind": { +"default": "storage#buckets", +"description": "The kind of item this is. For lists of buckets, this is always storage#buckets.", +"type": "string" +}, +"nextPageToken": { +"description": "The continuation token, used to page through large result sets. Provide this value in a subsequent request to return the next page of results.", +"type": "string" +}, +"unreachable": { +"description": "The list of bucket resource names that could not be reached during the listing operation.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"BulkRestoreObjectsRequest": { +"description": "A bulk restore objects request.", +"id": "BulkRestoreObjectsRequest", +"properties": { +"allowOverwrite": { +"description": "If false (default), the restore will not overwrite live objects with the same name at the destination. This means some deleted objects may be skipped. If true, live objects will be overwritten resulting in a noncurrent object (if versioning is enabled). If versioning is not enabled, overwriting the object will result in a soft-deleted object. In either case, if a noncurrent object already exists with the same name, a live version can be written without issue.", +"type": "boolean" +}, +"copySourceAcl": { +"description": "If true, copies the source object's ACL; otherwise, uses the bucket's default object ACL. The default is false.", +"type": "boolean" +}, +"createdAfterTime": { +"description": "Restores only the objects that were created after this time.", +"format": "date-time", +"type": "string" +}, +"createdBeforeTime": { +"description": "Restores only the objects that were created before this time.", +"format": "date-time", +"type": "string" +}, +"matchGlobs": { +"description": "Restores only the objects matching any of the specified glob(s). If this parameter is not specified, all objects will be restored within the specified time range.", +"items": { +"type": "string" +}, +"type": "array" +}, +"softDeletedAfterTime": { +"description": "Restores only the objects that were soft-deleted after this time.", +"format": "date-time", +"type": "string" +}, +"softDeletedBeforeTime": { +"description": "Restores only the objects that were soft-deleted before this time.", +"format": "date-time", +"type": "string" +} +}, +"type": "object" +}, +"Channel": { +"description": "An notification channel used to watch for resource changes.", +"id": "Channel", +"properties": { +"address": { +"description": "The address where notifications are delivered for this channel.", +"type": "string" +}, +"expiration": { +"description": "Date and time of notification channel expiration, expressed as a Unix timestamp, in milliseconds. Optional.", +"format": "int64", +"type": "string" +}, +"id": { +"description": "A UUID or similar unique string that identifies this channel.", +"type": "string" +}, +"kind": { +"default": "api#channel", +"description": "Identifies this as a notification channel used to watch for changes to a resource, which is \"api#channel\".", +"type": "string" +}, +"params": { +"additionalProperties": { +"description": "Declares a new parameter by name.", +"type": "string" +}, +"description": "Additional parameters controlling delivery channel behavior. Optional.", +"type": "object" +}, +"payload": { +"description": "A Boolean value to indicate whether payload is wanted. Optional.", +"type": "boolean" +}, +"resourceId": { +"description": "An opaque ID that identifies the resource being watched on this channel. Stable across different API versions.", +"type": "string" +}, +"resourceUri": { +"description": "A version-specific identifier for the watched resource.", +"type": "string" +}, +"token": { +"description": "An arbitrary string delivered to the target address with each notification delivered over this channel. Optional.", +"type": "string" +}, +"type": { +"description": "The type of delivery mechanism used for this channel.", +"type": "string" +} +}, +"type": "object" +}, +"ComposeRequest": { +"description": "A Compose request.", +"id": "ComposeRequest", +"properties": { +"deleteSourceObjects": { +"description": "If true, the source objects will be deleted.", +"type": "boolean" +}, +"destination": { +"$ref": "Object", +"description": "Properties of the resulting object." +}, +"kind": { +"default": "storage#composeRequest", +"description": "The kind of item this is.", +"type": "string" +}, +"sourceObjects": { +"annotations": { +"required": [ +"storage.objects.compose" +] +}, +"description": "The list of source objects that will be concatenated into a single object.", +"items": { +"properties": { +"generation": { +"description": "The generation of this object to use as the source.", +"format": "int64", +"type": "string" +}, +"name": { +"annotations": { +"required": [ +"storage.objects.compose" +] +}, +"description": "The source object's name. All source objects must reside in the same bucket.", +"type": "string" +}, +"objectPreconditions": { +"description": "Conditions that must be met for this operation to execute.", +"properties": { +"ifGenerationMatch": { +"description": "Only perform the composition if the generation of the source object that would be used matches this value. If this value and a generation are both specified, they must be the same value or the call will fail.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +} +}, +"type": "object" +}, +"type": "array" +} +}, +"type": "object" +}, +"Expr": { +"description": "Represents an expression text. Example: title: \"User account presence\" description: \"Determines whether the request has a user account\" expression: \"size(request.user) > 0\"", +"id": "Expr", +"properties": { +"description": { +"description": "An optional description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI.", +"type": "string" +}, +"expression": { +"description": "Textual representation of an expression in Common Expression Language syntax. The application context of the containing message determines which well-known feature set of CEL is supported.", +"type": "string" +}, +"location": { +"description": "An optional string indicating the location of the expression for error reporting, e.g. a file name and a position in the file.", +"type": "string" +}, +"title": { +"description": "An optional title for the expression, i.e. a short string describing its purpose. This can be used e.g. in UIs which allow to enter the expression.", +"type": "string" +} +}, +"type": "object" +}, +"Folder": { +"description": "A folder. Only available in buckets with hierarchical namespace enabled.", +"id": "Folder", +"properties": { +"bucket": { +"description": "The name of the bucket containing this folder.", +"type": "string" +}, +"createTime": { +"description": "The creation time of the folder in RFC 3339 format.", +"format": "date-time", +"type": "string" +}, +"id": { +"description": "The ID of the folder, including the bucket name, folder name.", +"type": "string" +}, +"kind": { +"default": "storage#folder", +"description": "The kind of item this is. For folders, this is always storage#folder.", +"type": "string" +}, +"metageneration": { +"description": "The version of the metadata for this folder. Used for preconditions and for detecting changes in metadata.", +"format": "int64", +"type": "string" +}, +"name": { +"description": "The name of the folder. Required if not specified by URL parameter.", +"type": "string" +}, +"pendingRenameInfo": { +"description": "Only present if the folder is part of an ongoing rename folder operation. Contains information which can be used to query the operation status.", +"properties": { +"operationId": { +"description": "The ID of the rename folder operation.", +"type": "string" +} +}, +"type": "object" +}, +"selfLink": { +"description": "The link to this folder.", +"type": "string" +}, +"updateTime": { +"description": "The modification time of the folder metadata in RFC 3339 format.", +"format": "date-time", +"type": "string" +} +}, +"type": "object" +}, +"Folders": { +"description": "A list of folders.", +"id": "Folders", +"properties": { +"items": { +"description": "The list of items.", +"items": { +"$ref": "Folder" +}, +"type": "array" +}, +"kind": { +"default": "storage#folders", +"description": "The kind of item this is. For lists of folders, this is always storage#folders.", +"type": "string" +}, +"nextPageToken": { +"description": "The continuation token, used to page through large result sets. Provide this value in a subsequent request to return the next page of results.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleLongrunningListOperationsResponse": { +"description": "The response message for storage.buckets.operations.list.", +"id": "GoogleLongrunningListOperationsResponse", +"properties": { +"kind": { +"default": "storage#operations", +"description": "The kind of item this is. For lists of operations, this is always storage#operations.", +"type": "string" +}, +"nextPageToken": { +"description": "The continuation token, used to page through large result sets. Provide this value in a subsequent request to return the next page of results.", +"type": "string" +}, +"operations": { +"description": "A list of operations that matches the specified filter in the request.", +"items": { +"$ref": "GoogleLongrunningOperation" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleLongrunningOperation": { +"description": "This resource represents a long-running operation that is the result of a network API call.", +"id": "GoogleLongrunningOperation", +"properties": { +"done": { +"description": "If the value is \"false\", it means the operation is still in progress. If \"true\", the operation is completed, and either \"error\" or \"response\" is available.", +"type": "boolean" +}, +"error": { +"$ref": "GoogleRpcStatus", +"description": "The error result of the operation in case of failure or cancellation." +}, +"kind": { +"default": "storage#operation", +"description": "The kind of item this is. For operations, this is always storage#operation.", +"type": "string" +}, +"metadata": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.", +"type": "object" +}, +"name": { +"description": "The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the \"name\" should be a resource name ending with \"operations/{operationId}\".", +"type": "string" +}, +"response": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "The normal response of the operation in case of success. If the original method returns no data on success, such as \"Delete\", the response is google.protobuf.Empty. If the original method is standard Get/Create/Update, the response should be the resource. For other methods, the response should have the type \"XxxResponse\", where \"Xxx\" is the original method name. For example, if the original method name is \"TakeSnapshot()\", the inferred response type is \"TakeSnapshotResponse\".", +"type": "object" +}, +"selfLink": { +"description": "The link to this long running operation.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleRpcStatus": { +"description": "The \"Status\" type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each \"Status\" message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors).", +"id": "GoogleRpcStatus", +"properties": { +"code": { +"description": "The status code, which should be an enum value of google.rpc.Code.", +"format": "int32", +"type": "integer" +}, +"details": { +"description": "A list of messages that carry the error details. There is a common set of message types for APIs to use.", +"items": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "A developer-facing error message, which should be in English.", +"type": "string" +} +}, +"type": "object" +}, +"HmacKey": { +"description": "JSON template to produce a JSON-style HMAC Key resource for Create responses.", +"id": "HmacKey", +"properties": { +"kind": { +"default": "storage#hmacKey", +"description": "The kind of item this is. For HMAC keys, this is always storage#hmacKey.", +"type": "string" +}, +"metadata": { +"$ref": "HmacKeyMetadata", +"description": "Key metadata." +}, +"secret": { +"description": "HMAC secret key material.", +"type": "string" +} +}, +"type": "object" +}, +"HmacKeyMetadata": { +"description": "JSON template to produce a JSON-style HMAC Key metadata resource.", +"id": "HmacKeyMetadata", +"properties": { +"accessId": { +"description": "The ID of the HMAC Key.", +"type": "string" +}, +"etag": { +"description": "HTTP 1.1 Entity tag for the HMAC key.", +"type": "string" +}, +"id": { +"description": "The ID of the HMAC key, including the Project ID and the Access ID.", +"type": "string" +}, +"kind": { +"default": "storage#hmacKeyMetadata", +"description": "The kind of item this is. For HMAC Key metadata, this is always storage#hmacKeyMetadata.", +"type": "string" +}, +"projectId": { +"description": "Project ID owning the service account to which the key authenticates.", +"type": "string" +}, +"selfLink": { +"description": "The link to this resource.", +"type": "string" +}, +"serviceAccountEmail": { +"description": "The email address of the key's associated service account.", +"type": "string" +}, +"state": { +"description": "The state of the key. Can be one of ACTIVE, INACTIVE, or DELETED.", +"type": "string" +}, +"timeCreated": { +"description": "The creation time of the HMAC key in RFC 3339 format.", +"format": "date-time", +"type": "string" +}, +"updated": { +"description": "The last modification time of the HMAC key metadata in RFC 3339 format.", +"format": "date-time", +"type": "string" +} +}, +"type": "object" +}, +"HmacKeysMetadata": { +"description": "A list of hmacKeys.", +"id": "HmacKeysMetadata", +"properties": { +"items": { +"description": "The list of items.", +"items": { +"$ref": "HmacKeyMetadata" +}, +"type": "array" +}, +"kind": { +"default": "storage#hmacKeysMetadata", +"description": "The kind of item this is. For lists of hmacKeys, this is always storage#hmacKeysMetadata.", +"type": "string" +}, +"nextPageToken": { +"description": "The continuation token, used to page through large result sets. Provide this value in a subsequent request to return the next page of results.", +"type": "string" +} +}, +"type": "object" +}, +"ManagedFolder": { +"description": "A managed folder.", +"id": "ManagedFolder", +"properties": { +"bucket": { +"description": "The name of the bucket containing this managed folder.", +"type": "string" +}, +"createTime": { +"description": "The creation time of the managed folder in RFC 3339 format.", +"format": "date-time", +"type": "string" +}, +"id": { +"description": "The ID of the managed folder, including the bucket name and managed folder name.", +"type": "string" +}, +"kind": { +"default": "storage#managedFolder", +"description": "The kind of item this is. For managed folders, this is always storage#managedFolder.", +"type": "string" +}, +"metageneration": { +"description": "The version of the metadata for this managed folder. Used for preconditions and for detecting changes in metadata.", +"format": "int64", +"type": "string" +}, +"name": { +"description": "The name of the managed folder. Required if not specified by URL parameter.", +"type": "string" +}, +"selfLink": { +"description": "The link to this managed folder.", +"type": "string" +}, +"updateTime": { +"description": "The last update time of the managed folder metadata in RFC 3339 format.", +"format": "date-time", +"type": "string" +} +}, +"type": "object" +}, +"ManagedFolders": { +"description": "A list of managed folders.", +"id": "ManagedFolders", +"properties": { +"items": { +"description": "The list of items.", +"items": { +"$ref": "ManagedFolder" +}, +"type": "array" +}, +"kind": { +"default": "storage#managedFolders", +"description": "The kind of item this is. For lists of managed folders, this is always storage#managedFolders.", +"type": "string" +}, +"nextPageToken": { +"description": "The continuation token, used to page through large result sets. Provide this value in a subsequent request to return the next page of results.", +"type": "string" +} +}, +"type": "object" +}, +"Notification": { +"description": "A subscription to receive Google PubSub notifications.", +"id": "Notification", +"properties": { +"custom_attributes": { +"additionalProperties": { +"type": "string" +}, +"description": "An optional list of additional attributes to attach to each Cloud PubSub message published for this notification subscription.", +"type": "object" +}, +"etag": { +"description": "HTTP 1.1 Entity tag for this subscription notification.", +"type": "string" +}, +"event_types": { +"description": "If present, only send notifications about listed event types. If empty, sent notifications for all event types.", +"items": { +"type": "string" +}, +"type": "array" +}, +"id": { +"description": "The ID of the notification.", +"type": "string" +}, +"kind": { +"default": "storage#notification", +"description": "The kind of item this is. For notifications, this is always storage#notification.", +"type": "string" +}, +"object_name_prefix": { +"description": "If present, only apply this notification configuration to object names that begin with this prefix.", +"type": "string" +}, +"payload_format": { +"annotations": { +"required": [ +"storage.notifications.insert" +] +}, +"default": "JSON_API_V1", +"description": "The desired content of the Payload.", +"type": "string" +}, +"selfLink": { +"description": "The canonical URL of this notification.", +"type": "string" +}, +"topic": { +"annotations": { +"required": [ +"storage.notifications.insert" +] +}, +"description": "The Cloud PubSub topic to which this subscription publishes. Formatted as: '//pubsub.googleapis.com/projects/{project-identifier}/topics/{my-topic}'", +"type": "string" +} +}, +"type": "object" +}, +"Notifications": { +"description": "A list of notification subscriptions.", +"id": "Notifications", +"properties": { +"items": { +"description": "The list of items.", +"items": { +"$ref": "Notification" +}, +"type": "array" +}, +"kind": { +"default": "storage#notifications", +"description": "The kind of item this is. For lists of notifications, this is always storage#notifications.", +"type": "string" +} +}, +"type": "object" +}, +"Object": { +"description": "An object.", +"id": "Object", +"properties": { +"acl": { +"annotations": { +"required": [ +"storage.objects.update" +] +}, +"description": "Access controls on the object.", +"items": { +"$ref": "ObjectAccessControl" +}, +"type": "array" +}, +"bucket": { +"description": "The name of the bucket containing this object.", +"type": "string" +}, +"cacheControl": { +"description": "Cache-Control directive for the object data. If omitted, and the object is accessible to all anonymous users, the default will be public, max-age=3600.", +"type": "string" +}, +"componentCount": { +"description": "Number of underlying components that make up this object. Components are accumulated by compose operations.", +"format": "int32", +"type": "integer" +}, +"contentDisposition": { +"description": "Content-Disposition of the object data.", +"type": "string" +}, +"contentEncoding": { +"description": "Content-Encoding of the object data.", +"type": "string" +}, +"contentLanguage": { +"description": "Content-Language of the object data.", +"type": "string" +}, +"contentType": { +"description": "Content-Type of the object data. If an object is stored without a Content-Type, it is served as application/octet-stream.", +"type": "string" +}, +"contexts": { +"description": "User-defined or system-defined object contexts. Each object context is a key-payload pair, where the key provides the identification and the payload holds the associated value and additional metadata.", +"properties": { +"custom": { +"additionalProperties": { +"$ref": "ObjectCustomContextPayload", +"description": "A single user-defined object context." +}, +"description": "User-defined object contexts.", +"type": "object" +} +}, +"type": "object" +}, +"crc32c": { +"description": "CRC32c checksum, as described in RFC 4960, Appendix B; encoded using base64 in big-endian byte order. For more information about using the CRC32c checksum, see [Data Validation and Change Detection](https://cloud.google.com/storage/docs/data-validation).", +"type": "string" +}, +"customTime": { +"description": "A timestamp in RFC 3339 format specified by the user for an object.", +"format": "date-time", +"type": "string" +}, +"customerEncryption": { +"description": "Metadata of customer-supplied encryption key, if the object is encrypted by such a key.", +"properties": { +"encryptionAlgorithm": { +"description": "The encryption algorithm.", +"type": "string" +}, +"keySha256": { +"description": "SHA256 hash value of the encryption key.", +"type": "string" +} +}, +"type": "object" +}, +"etag": { +"description": "HTTP 1.1 Entity tag for the object.", +"type": "string" +}, +"eventBasedHold": { +"description": "Whether an object is under event-based hold. Event-based hold is a way to retain objects until an event occurs, which is signified by the hold's release (i.e. this value is set to false). After being released (set to false), such objects will be subject to bucket-level retention (if any). One sample use case of this flag is for banks to hold loan documents for at least 3 years after loan is paid in full. Here, bucket-level retention is 3 years and the event is the loan being paid in full. In this example, these objects will be held intact for any number of years until the event has occurred (event-based hold on the object is released) and then 3 more years after that. That means retention duration of the objects begins from the moment event-based hold transitioned from true to false.", +"type": "boolean" +}, +"generation": { +"description": "The content generation of this object. Used for object versioning.", +"format": "int64", +"type": "string" +}, +"hardDeleteTime": { +"description": "This is the time (in the future) when the soft-deleted object will no longer be restorable. It is equal to the soft delete time plus the current soft delete retention duration of the bucket.", +"format": "date-time", +"type": "string" +}, +"id": { +"description": "The ID of the object, including the bucket name, object name, and generation number.", +"type": "string" +}, +"kind": { +"default": "storage#object", +"description": "The kind of item this is. For objects, this is always storage#object.", +"type": "string" +}, +"kmsKeyName": { +"description": "Not currently supported. Specifying the parameter causes the request to fail with status code 400 - Bad Request.", +"type": "string" +}, +"md5Hash": { +"description": "MD5 hash of the data; encoded using base64. For more information about using the MD5 hash, see [Data Validation and Change Detection](https://cloud.google.com/storage/docs/data-validation).", +"type": "string" +}, +"mediaLink": { +"description": "Media download link.", +"type": "string" +}, +"metadata": { +"additionalProperties": { +"description": "An individual metadata entry.", +"type": "string" +}, +"description": "User-provided metadata, in key/value pairs.", +"type": "object" +}, +"metageneration": { +"description": "The version of the metadata for this object at this generation. Used for preconditions and for detecting changes in metadata. A metageneration number is only meaningful in the context of a particular generation of a particular object.", +"format": "int64", +"type": "string" +}, +"name": { +"description": "The name of the object. Required if not specified by URL parameter.", +"type": "string" +}, +"owner": { +"description": "The owner of the object. This will always be the uploader of the object.", +"properties": { +"entity": { +"description": "The entity, in the form user-userId.", +"type": "string" +}, +"entityId": { +"description": "The ID for the entity.", +"type": "string" +} +}, +"type": "object" +}, +"restoreToken": { +"description": "Restore token used to differentiate deleted objects with the same name and generation. This field is only returned for deleted objects in hierarchical namespace buckets.", +"type": "string" +}, +"retention": { +"description": "A collection of object level retention parameters.", +"properties": { +"mode": { +"description": "The bucket's object retention mode, can only be Unlocked or Locked.", +"type": "string" +}, +"retainUntilTime": { +"description": "A time in RFC 3339 format until which object retention protects this object.", +"format": "date-time", +"type": "string" +} +}, +"type": "object" +}, +"retentionExpirationTime": { +"description": "A server-determined value that specifies the earliest time that the object's retention period expires. This value is in RFC 3339 format. Note 1: This field is not provided for objects with an active event-based hold, since retention expiration is unknown until the hold is removed. Note 2: This value can be provided even when temporary hold is set (so that the user can reason about policy without having to first unset the temporary hold).", +"format": "date-time", +"type": "string" +}, +"selfLink": { +"description": "The link to this object.", +"type": "string" +}, +"size": { +"description": "Content-Length of the data in bytes.", +"format": "uint64", +"type": "string" +}, +"softDeleteTime": { +"description": "The time at which the object became soft-deleted in RFC 3339 format.", +"format": "date-time", +"type": "string" +}, +"storageClass": { +"description": "Storage class of the object.", +"type": "string" +}, +"temporaryHold": { +"description": "Whether an object is under temporary hold. While this flag is set to true, the object is protected against deletion and overwrites. A common use case of this flag is regulatory investigations where objects need to be retained while the investigation is ongoing. Note that unlike event-based hold, temporary hold does not impact retention expiration time of an object.", +"type": "boolean" +}, +"timeCreated": { +"description": "The creation time of the object in RFC 3339 format.", +"format": "date-time", +"type": "string" +}, +"timeDeleted": { +"description": "The time at which the object became noncurrent in RFC 3339 format. Will be returned if and only if this version of the object has been deleted.", +"format": "date-time", +"type": "string" +}, +"timeFinalized": { +"description": "The time when the object was finalized.", +"format": "date-time", +"type": "string" +}, +"timeStorageClassUpdated": { +"description": "The time at which the object's storage class was last changed. When the object is initially created, it will be set to timeCreated.", +"format": "date-time", +"type": "string" +}, +"updated": { +"description": "The modification time of the object metadata in RFC 3339 format. Set initially to object creation time and then updated whenever any metadata of the object changes. This includes changes made by a requester, such as modifying custom metadata, as well as changes made by Cloud Storage on behalf of a requester, such as changing the storage class based on an Object Lifecycle Configuration.", +"format": "date-time", +"type": "string" +} +}, +"type": "object" +}, +"ObjectAccessControl": { +"description": "An access-control entry.", +"id": "ObjectAccessControl", +"properties": { +"bucket": { +"description": "The name of the bucket.", +"type": "string" +}, +"domain": { +"description": "The domain associated with the entity, if any.", +"type": "string" +}, +"email": { +"description": "The email address associated with the entity, if any.", +"type": "string" +}, +"entity": { +"annotations": { +"required": [ +"storage.defaultObjectAccessControls.insert", +"storage.objectAccessControls.insert" +] +}, +"description": "The entity holding the permission, in one of the following forms: \n- user-userId \n- user-email \n- group-groupId \n- group-email \n- domain-domain \n- project-team-projectId \n- allUsers \n- allAuthenticatedUsers Examples: \n- The user liz@example.com would be user-liz@example.com. \n- The group example@googlegroups.com would be group-example@googlegroups.com. \n- To refer to all members of the Google Apps for Business domain example.com, the entity would be domain-example.com.", +"type": "string" +}, +"entityId": { +"description": "The ID for the entity, if any.", +"type": "string" +}, +"etag": { +"description": "HTTP 1.1 Entity tag for the access-control entry.", +"type": "string" +}, +"generation": { +"description": "The content generation of the object, if applied to an object.", +"format": "int64", +"type": "string" +}, +"id": { +"description": "The ID of the access-control entry.", +"type": "string" +}, +"kind": { +"default": "storage#objectAccessControl", +"description": "The kind of item this is. For object access control entries, this is always storage#objectAccessControl.", +"type": "string" +}, +"object": { +"description": "The name of the object, if applied to an object.", +"type": "string" +}, +"projectTeam": { +"description": "The project team associated with the entity, if any.", +"properties": { +"projectNumber": { +"description": "The project number.", +"type": "string" +}, +"team": { +"description": "The team.", +"type": "string" +} +}, +"type": "object" +}, +"role": { +"annotations": { +"required": [ +"storage.defaultObjectAccessControls.insert", +"storage.objectAccessControls.insert" +] +}, +"description": "The access permission for the entity.", +"type": "string" +}, +"selfLink": { +"description": "The link to this access-control entry.", +"type": "string" +} +}, +"type": "object" +}, +"ObjectAccessControls": { +"description": "An access-control list.", +"id": "ObjectAccessControls", +"properties": { +"items": { +"description": "The list of items.", +"items": { +"$ref": "ObjectAccessControl" +}, +"type": "array" +}, +"kind": { +"default": "storage#objectAccessControls", +"description": "The kind of item this is. For lists of object access control entries, this is always storage#objectAccessControls.", +"type": "string" +} +}, +"type": "object" +}, +"ObjectCustomContextPayload": { +"description": "The payload of a single user-defined object context.", +"id": "ObjectCustomContextPayload", +"properties": { +"createTime": { +"description": "The time at which the object context was created in RFC 3339 format.", +"format": "date-time", +"type": "string" +}, +"updateTime": { +"description": "The time at which the object context was last updated in RFC 3339 format.", +"format": "date-time", +"type": "string" +}, +"value": { +"description": "The value of the object context.", +"type": "string" +} +}, +"type": "object" +}, +"Objects": { +"description": "A list of objects.", +"id": "Objects", +"properties": { +"items": { +"description": "The list of items.", +"items": { +"$ref": "Object" +}, +"type": "array" +}, +"kind": { +"default": "storage#objects", +"description": "The kind of item this is. For lists of objects, this is always storage#objects.", +"type": "string" +}, +"nextPageToken": { +"description": "The continuation token, used to page through large result sets. Provide this value in a subsequent request to return the next page of results.", +"type": "string" +}, +"prefixes": { +"description": "The list of prefixes of objects matching-but-not-listed up to and including the requested delimiter.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"Policy": { +"description": "A bucket/object/managedFolder IAM policy.", +"id": "Policy", +"properties": { +"bindings": { +"annotations": { +"required": [ +"storage.buckets.setIamPolicy", +"storage.objects.setIamPolicy", +"storage.managedFolders.setIamPolicy" +] +}, +"description": "An association between a role, which comes with a set of permissions, and members who may assume that role.", +"items": { +"properties": { +"condition": { +"$ref": "Expr", +"description": "The condition that is associated with this binding. NOTE: an unsatisfied condition will not allow user access via current binding. Different bindings, including their conditions, are examined independently." +}, +"members": { +"annotations": { +"required": [ +"storage.buckets.setIamPolicy", +"storage.objects.setIamPolicy", +"storage.managedFolders.setIamPolicy" +] +}, +"description": "A collection of identifiers for members who may assume the provided role. Recognized identifiers are as follows: \n- allUsers - A special identifier that represents anyone on the internet; with or without a Google account. \n- allAuthenticatedUsers - A special identifier that represents anyone who is authenticated with a Google account or a service account. \n- user:emailid - An email address that represents a specific account. For example, user:alice@gmail.com or user:joe@example.com. \n- serviceAccount:emailid - An email address that represents a service account. For example, serviceAccount:my-other-app@appspot.gserviceaccount.com . \n- group:emailid - An email address that represents a Google group. For example, group:admins@example.com. \n- domain:domain - A Google Apps domain name that represents all the users of that domain. For example, domain:google.com or domain:example.com. \n- projectOwner:projectid - Owners of the given project. For example, projectOwner:my-example-project \n- projectEditor:projectid - Editors of the given project. For example, projectEditor:my-example-project \n- projectViewer:projectid - Viewers of the given project. For example, projectViewer:my-example-project", +"items": { +"type": "string" +}, +"type": "array" +}, +"role": { +"annotations": { +"required": [ +"storage.buckets.setIamPolicy", +"storage.objects.setIamPolicy", +"storage.managedFolders.setIamPolicy" +] +}, +"description": "The role to which members belong. Two types of roles are supported: new IAM roles, which grant permissions that do not map directly to those provided by ACLs, and legacy IAM roles, which do map directly to ACL permissions. All roles are of the format roles/storage.specificRole.\nThe new IAM roles are: \n- roles/storage.admin - Full control of Google Cloud Storage resources. \n- roles/storage.objectViewer - Read-Only access to Google Cloud Storage objects. \n- roles/storage.objectCreator - Access to create objects in Google Cloud Storage. \n- roles/storage.objectAdmin - Full control of Google Cloud Storage objects. The legacy IAM roles are: \n- roles/storage.legacyObjectReader - Read-only access to objects without listing. Equivalent to an ACL entry on an object with the READER role. \n- roles/storage.legacyObjectOwner - Read/write access to existing objects without listing. Equivalent to an ACL entry on an object with the OWNER role. \n- roles/storage.legacyBucketReader - Read access to buckets with object listing. Equivalent to an ACL entry on a bucket with the READER role. \n- roles/storage.legacyBucketWriter - Read access to buckets with object listing/creation/deletion. Equivalent to an ACL entry on a bucket with the WRITER role. \n- roles/storage.legacyBucketOwner - Read and write access to existing buckets with object listing/creation/deletion. Equivalent to an ACL entry on a bucket with the OWNER role.", +"type": "string" +} +}, +"type": "object" +}, +"type": "array" +}, +"etag": { +"description": "HTTP 1.1 Entity tag for the policy.", +"format": "byte", +"type": "string" +}, +"kind": { +"default": "storage#policy", +"description": "The kind of item this is. For policies, this is always storage#policy. This field is ignored on input.", +"type": "string" +}, +"resourceId": { +"description": "The ID of the resource to which this policy belongs. Will be of the form projects/_/buckets/bucket for buckets, projects/_/buckets/bucket/objects/object for objects, and projects/_/buckets/bucket/managedFolders/managedFolder. A specific generation may be specified by appending #generationNumber to the end of the object name, e.g. projects/_/buckets/my-bucket/objects/data.txt#17. The current generation can be denoted with #0. This field is ignored on input.", +"type": "string" +}, +"version": { +"description": "The IAM policy format version.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"RelocateBucketRequest": { +"description": "A Relocate Bucket request.", +"id": "RelocateBucketRequest", +"properties": { +"destinationCustomPlacementConfig": { +"description": "The bucket's new custom placement configuration if relocating to a Custom Dual Region.", +"properties": { +"dataLocations": { +"description": "The list of regional locations in which data is placed.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"destinationKmsKeyName": { +"description": "Resource name of a Cloud KMS key, of the form projects/my-project/locations/global/keyRings/my-kr/cryptoKeys/my-key. If set, is used to encrypt all objects in the destination bucket.", +"type": "string" +}, +"destinationLocation": { +"description": "The new location the bucket will be relocated to.", +"type": "string" +}, +"validateOnly": { +"description": "If true, validate the operation, but do not actually relocate the bucket.", +"type": "boolean" +} +}, +"type": "object" +}, +"RewriteResponse": { +"description": "A rewrite response.", +"id": "RewriteResponse", +"properties": { +"done": { +"description": "true if the copy is finished; otherwise, false if the copy is in progress. This property is always present in the response.", +"type": "boolean" +}, +"kind": { +"default": "storage#rewriteResponse", +"description": "The kind of item this is.", +"type": "string" +}, +"objectSize": { +"description": "The total size of the object being copied in bytes. This property is always present in the response.", +"format": "int64", +"type": "string" +}, +"resource": { +"$ref": "Object", +"description": "A resource containing the metadata for the copied-to object. This property is present in the response only when copying completes." +}, +"rewriteToken": { +"description": "A token to use in subsequent requests to continue copying data. This token is present in the response only when there is more data to copy.", +"type": "string" +}, +"totalBytesRewritten": { +"description": "The total bytes written so far, which can be used to provide a waiting user with a progress indicator. This property is always present in the response.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"ServiceAccount": { +"description": "A subscription to receive Google PubSub notifications.", +"id": "ServiceAccount", +"properties": { +"email_address": { +"description": "The ID of the notification.", +"type": "string" +}, +"kind": { +"default": "storage#serviceAccount", +"description": "The kind of item this is. For notifications, this is always storage#notification.", +"type": "string" +} +}, +"type": "object" +}, +"TestIamPermissionsResponse": { +"description": "A storage.(buckets|objects|managedFolders).testIamPermissions response.", +"id": "TestIamPermissionsResponse", +"properties": { +"kind": { +"default": "storage#testIamPermissionsResponse", +"description": "The kind of item this is.", +"type": "string" +}, +"permissions": { +"description": "The permissions held by the caller. Permissions are always of the format storage.resource.capability, where resource is one of buckets, objects, or managedFolders. The supported permissions are as follows: \n- storage.buckets.delete - Delete bucket. \n- storage.buckets.get - Read bucket metadata. \n- storage.buckets.getIamPolicy - Read bucket IAM policy. \n- storage.buckets.create - Create bucket. \n- storage.buckets.list - List buckets. \n- storage.buckets.setIamPolicy - Update bucket IAM policy. \n- storage.buckets.update - Update bucket metadata. \n- storage.objects.delete - Delete object. \n- storage.objects.get - Read object data and metadata. \n- storage.objects.getIamPolicy - Read object IAM policy. \n- storage.objects.create - Create object. \n- storage.objects.list - List objects. \n- storage.objects.setIamPolicy - Update object IAM policy. \n- storage.objects.update - Update object metadata. \n- storage.managedFolders.delete - Delete managed folder. \n- storage.managedFolders.get - Read managed folder metadata. \n- storage.managedFolders.getIamPolicy - Read managed folder IAM policy. \n- storage.managedFolders.create - Create managed folder. \n- storage.managedFolders.list - List managed folders. \n- storage.managedFolders.setIamPolicy - Update managed folder IAM policy.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +} +}, +"servicePath": "storage/v1/", +"title": "Cloud Storage JSON API", +"version": "v1" +} \ No newline at end of file diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/storagebatchoperations.v1.json b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/storagebatchoperations.v1.json new file mode 100644 index 0000000000000000000000000000000000000000..b8644896703cdf8c56a01218f8343bba6c103e80 --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/storagebatchoperations.v1.json @@ -0,0 +1,1416 @@ +{ +"auth": { +"oauth2": { +"scopes": { +"https://www.googleapis.com/auth/cloud-platform": { +"description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." +} +} +} +}, +"basePath": "", +"baseUrl": "https://storagebatchoperations.googleapis.com/", +"batchPath": "batch", +"canonicalName": "Storage Batch Operations", +"description": "", +"discoveryVersion": "v1", +"documentationLink": "https://cloud.google.com/storage/docs/batch-operations/overview", +"fullyEncodeReservedExpansion": true, +"icons": { +"x16": "http://www.google.com/images/icons/product/search-16.gif", +"x32": "http://www.google.com/images/icons/product/search-32.gif" +}, +"id": "storagebatchoperations:v1", +"kind": "discovery#restDescription", +"mtlsRootUrl": "https://storagebatchoperations.mtls.googleapis.com/", +"name": "storagebatchoperations", +"ownerDomain": "google.com", +"ownerName": "Google", +"parameters": { +"$.xgafv": { +"description": "V1 error format.", +"enum": [ +"1", +"2" +], +"enumDescriptions": [ +"v1 error format", +"v2 error format" +], +"location": "query", +"type": "string" +}, +"access_token": { +"description": "OAuth access token.", +"location": "query", +"type": "string" +}, +"alt": { +"default": "json", +"description": "Data format for response.", +"enum": [ +"json", +"media", +"proto" +], +"enumDescriptions": [ +"Responses with Content-Type of application/json", +"Media download with context-dependent Content-Type", +"Responses with Content-Type of application/x-protobuf" +], +"location": "query", +"type": "string" +}, +"callback": { +"description": "JSONP", +"location": "query", +"type": "string" +}, +"fields": { +"description": "Selector specifying which fields to include in a partial response.", +"location": "query", +"type": "string" +}, +"key": { +"description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", +"location": "query", +"type": "string" +}, +"oauth_token": { +"description": "OAuth 2.0 token for the current user.", +"location": "query", +"type": "string" +}, +"prettyPrint": { +"default": "true", +"description": "Returns response with indentations and line breaks.", +"location": "query", +"type": "boolean" +}, +"quotaUser": { +"description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.", +"location": "query", +"type": "string" +}, +"uploadType": { +"description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", +"location": "query", +"type": "string" +}, +"upload_protocol": { +"description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", +"location": "query", +"type": "string" +} +}, +"protocol": "rest", +"resources": { +"projects": { +"resources": { +"locations": { +"methods": { +"get": { +"description": "Gets information about a location.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}", +"httpMethod": "GET", +"id": "storagebatchoperations.projects.locations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Resource name for the location.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Location" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists information about the supported locations for this service. This method can be called in two ways: * **List all public locations:** Use the path `GET /v1/locations`. * **List project-visible locations:** Use the path `GET /v1/projects/{project_id}/locations`. This may include public locations as well as private or other locations specifically visible to the project.", +"flatPath": "v1/projects/{projectsId}/locations", +"httpMethod": "GET", +"id": "storagebatchoperations.projects.locations.list", +"parameterOrder": [ +"name" +], +"parameters": { +"extraLocationTypes": { +"description": "Optional. Do not use this field. It is unsupported and is ignored unless explicitly documented otherwise. This is primarily for internal usage.", +"location": "query", +"repeated": true, +"type": "string" +}, +"filter": { +"description": "A filter to narrow down results to a preferred subset. The filtering language accepts strings like `\"displayName=tokyo\"`, and is documented in more detail in [AIP-160](https://google.aip.dev/160).", +"location": "query", +"type": "string" +}, +"name": { +"description": "The resource that owns the locations collection, if applicable.", +"location": "path", +"pattern": "^projects/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The maximum number of results to return. If not set, the service selects a default.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A page token received from the `next_page_token` field in the response. Send that page token to receive the subsequent page.", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}/locations", +"response": { +"$ref": "ListLocationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"jobs": { +"methods": { +"cancel": { +"description": "Cancels a batch job.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/jobs/{jobsId}:cancel", +"httpMethod": "POST", +"id": "storagebatchoperations.projects.locations.jobs.cancel", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The `name` of the job to cancel. Format: projects/{project_id}/locations/global/jobs/{job_id}.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/jobs/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:cancel", +"request": { +"$ref": "CancelJobRequest" +}, +"response": { +"$ref": "CancelJobResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"create": { +"description": "Creates a batch job.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/jobs", +"httpMethod": "POST", +"id": "storagebatchoperations.projects.locations.jobs.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"jobId": { +"description": "Required. The optional `job_id` for this Job . If not specified, an id is generated. `job_id` should be no more than 128 characters and must include only characters available in DNS names, as defined by RFC-1123.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. Value for parent.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "Optional. An optional request ID to identify requests. Specify a unique request ID in case you need to retry your request. Requests with same `request_id` will be ignored for at least 60 minutes since the first request. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+parent}/jobs", +"request": { +"$ref": "Job" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a batch job.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/jobs/{jobsId}", +"httpMethod": "DELETE", +"id": "storagebatchoperations.projects.locations.jobs.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"force": { +"description": "Optional. If set to true, any child bucket operations of the job will also be deleted. Highly recommended to be set to true by all clients. Users cannot mutate bucket operations directly, so only the jobs.delete permission is required to delete a job (and its child bucket operations).", +"location": "query", +"type": "boolean" +}, +"name": { +"description": "Required. The `name` of the job to delete. Format: projects/{project_id}/locations/global/jobs/{job_id} .", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/jobs/[^/]+$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "Optional. An optional request ID to identify requests. Specify a unique request ID in case you need to retry your request. Requests with same `request_id` will be ignored for at least 60 minutes since the first request. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets a batch job.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/jobs/{jobsId}", +"httpMethod": "GET", +"id": "storagebatchoperations.projects.locations.jobs.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. `name` of the job to retrieve. Format: projects/{project_id}/locations/global/jobs/{job_id} .", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/jobs/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Job" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists Jobs in a given project.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/jobs", +"httpMethod": "GET", +"id": "storagebatchoperations.projects.locations.jobs.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Optional. Filters results as defined by https://google.aip.dev/160.", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "Optional. Field to sort by. Supported fields are name, create_time.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Optional. The list page size. default page size is 100.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. The list page token.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. Format: projects/{project_id}/locations/global.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/jobs", +"response": { +"$ref": "ListJobsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"bucketOperations": { +"methods": { +"get": { +"description": "Gets a BucketOperation.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/jobs/{jobsId}/bucketOperations/{bucketOperationsId}", +"httpMethod": "GET", +"id": "storagebatchoperations.projects.locations.jobs.bucketOperations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. `name` of the bucket operation to retrieve. Format: projects/{project_id}/locations/global/jobs/{job_id}/bucketOperations/{bucket_operation_id}.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/jobs/[^/]+/bucketOperations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "BucketOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists BucketOperations in a given project and job.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/jobs/{jobsId}/bucketOperations", +"httpMethod": "GET", +"id": "storagebatchoperations.projects.locations.jobs.bucketOperations.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Optional. Filters results as defined by https://google.aip.dev/160.", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "Optional. Field to sort by. Supported fields are name, create_time.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Optional. The list page size. Default page size is 100.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. The list page token.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. Format: projects/{project_id}/locations/global/jobs/{job_id}.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/jobs/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/bucketOperations", +"response": { +"$ref": "ListBucketOperationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +}, +"operations": { +"methods": { +"cancel": { +"description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}:cancel", +"httpMethod": "POST", +"id": "storagebatchoperations.projects.locations.operations.cancel", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be cancelled.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:cancel", +"request": { +"$ref": "CancelOperationRequest" +}, +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}", +"httpMethod": "DELETE", +"id": "storagebatchoperations.projects.locations.operations.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be deleted.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}", +"httpMethod": "GET", +"id": "storagebatchoperations.projects.locations.operations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/operations", +"httpMethod": "GET", +"id": "storagebatchoperations.projects.locations.operations.list", +"parameterOrder": [ +"name" +], +"parameters": { +"filter": { +"description": "The standard list filter.", +"location": "query", +"type": "string" +}, +"name": { +"description": "The name of the operation's parent resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The standard list page size.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The standard list page token.", +"location": "query", +"type": "string" +}, +"returnPartialSuccess": { +"description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `\"projects/example/locations/-\"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1/{+name}/operations", +"response": { +"$ref": "ListOperationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +} +} +} +}, +"revision": "20260218", +"rootUrl": "https://storagebatchoperations.googleapis.com/", +"schemas": { +"Bucket": { +"description": "Describes configuration of a single bucket and its objects to be transformed.", +"id": "Bucket", +"properties": { +"bucket": { +"description": "Required. Bucket name for the objects to be transformed.", +"type": "string" +}, +"manifest": { +"$ref": "Manifest", +"description": "Specifies objects in a manifest file." +}, +"prefixList": { +"$ref": "PrefixList", +"description": "Specifies objects matching a prefix set." +} +}, +"type": "object" +}, +"BucketList": { +"description": "Describes list of buckets and their objects to be transformed.", +"id": "BucketList", +"properties": { +"buckets": { +"description": "Required. List of buckets and their objects to be transformed. Currently, only one bucket configuration is supported. If multiple buckets are specified, an error will be returned.", +"items": { +"$ref": "Bucket" +}, +"type": "array" +} +}, +"type": "object" +}, +"BucketOperation": { +"description": "BucketOperation represents a bucket-level breakdown of a Job.", +"id": "BucketOperation", +"properties": { +"bucketName": { +"description": "The bucket name of the objects to be transformed in the BucketOperation.", +"type": "string" +}, +"completeTime": { +"description": "Output only. The time that the BucketOperation was completed.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"counters": { +"$ref": "Counters", +"description": "Output only. Information about the progress of the bucket operation.", +"readOnly": true +}, +"createTime": { +"description": "Output only. The time that the BucketOperation was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"deleteObject": { +"$ref": "DeleteObject", +"description": "Delete objects." +}, +"errorSummaries": { +"description": "Output only. Summarizes errors encountered with sample error log entries.", +"items": { +"$ref": "ErrorSummary" +}, +"readOnly": true, +"type": "array" +}, +"manifest": { +"$ref": "Manifest", +"description": "Specifies objects in a manifest file." +}, +"name": { +"description": "Identifier. The resource name of the BucketOperation. This is defined by the service. Format: projects/{project}/locations/global/jobs/{job_id}/bucketOperations/{bucket_operation}.", +"type": "string" +}, +"prefixList": { +"$ref": "PrefixList", +"description": "Specifies objects matching a prefix set." +}, +"putMetadata": { +"$ref": "PutMetadata", +"description": "Updates object metadata. Allows updating fixed-key and custom metadata and fixed-key metadata i.e. Cache-Control, Content-Disposition, Content-Encoding, Content-Language, Content-Type, Custom-Time." +}, +"putObjectHold": { +"$ref": "PutObjectHold", +"description": "Changes object hold status." +}, +"rewriteObject": { +"$ref": "RewriteObject", +"description": "Rewrite the object and updates metadata like KMS key." +}, +"startTime": { +"description": "Output only. The time that the BucketOperation was started.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"state": { +"description": "Output only. State of the BucketOperation.", +"enum": [ +"STATE_UNSPECIFIED", +"QUEUED", +"RUNNING", +"SUCCEEDED", +"CANCELED", +"FAILED" +], +"enumDescriptions": [ +"Default value. This value is unused.", +"Created but not yet started.", +"In progress.", +"Completed successfully.", +"Cancelled by the user.", +"Terminated due to an unrecoverable failure." +], +"readOnly": true, +"type": "string" +}, +"updateObjectCustomContext": { +"$ref": "UpdateObjectCustomContext", +"description": "Update object custom context." +} +}, +"type": "object" +}, +"CancelJobRequest": { +"description": "Message for Job to Cancel", +"id": "CancelJobRequest", +"properties": { +"requestId": { +"description": "Optional. An optional request ID to identify requests. Specify a unique request ID in case you need to retry your request. Requests with same `request_id` will be ignored for at least 60 minutes since the first request. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", +"type": "string" +} +}, +"type": "object" +}, +"CancelJobResponse": { +"description": "Message for response to cancel Job.", +"id": "CancelJobResponse", +"properties": {}, +"type": "object" +}, +"CancelOperationRequest": { +"description": "The request message for Operations.CancelOperation.", +"id": "CancelOperationRequest", +"properties": {}, +"type": "object" +}, +"Counters": { +"description": "Describes details about the progress of the job.", +"id": "Counters", +"properties": { +"failedObjectCount": { +"description": "Output only. Number of objects failed.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"succeededObjectCount": { +"description": "Output only. Number of objects completed.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"totalBytesFound": { +"description": "Output only. Number of bytes found from source. This field is only populated for jobs with a prefix list object configuration.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"totalObjectCount": { +"description": "Output only. Number of objects listed.", +"format": "int64", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"CustomContextUpdates": { +"description": "Describes a collection of updates to apply to custom contexts identified by key.", +"id": "CustomContextUpdates", +"properties": { +"keysToClear": { +"description": "Optional. Custom contexts to clear by key. A key cannot be present in both `updates` and `keys_to_clear`.", +"items": { +"type": "string" +}, +"type": "array" +}, +"updates": { +"additionalProperties": { +"$ref": "ObjectCustomContextPayload" +}, +"description": "Optional. Insert or update the existing custom contexts.", +"type": "object" +} +}, +"type": "object" +}, +"DeleteObject": { +"description": "Describes options to delete an object.", +"id": "DeleteObject", +"properties": { +"permanentObjectDeletionEnabled": { +"description": "Required. Controls deletion behavior when versioning is enabled for the object's bucket. If true both live and noncurrent objects will be permanently deleted. Otherwise live objects in versioned buckets will become noncurrent and objects that were already noncurrent will be skipped. This setting doesn't have any impact on the Soft Delete feature. All objects deleted by this service can be be restored for the duration of the Soft Delete retention duration if enabled. If enabled and the manifest doesn't specify an object's generation, a GetObjectMetadata call (a Class B operation) will be made to determine the live object generation.", +"type": "boolean" +} +}, +"type": "object" +}, +"Empty": { +"description": "A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }", +"id": "Empty", +"properties": {}, +"type": "object" +}, +"ErrorLogEntry": { +"description": "An entry describing an error that has occurred.", +"id": "ErrorLogEntry", +"properties": { +"errorDetails": { +"description": "Optional. Output only. At most 5 error log entries are recorded for a given error code for a job.", +"items": { +"type": "string" +}, +"readOnly": true, +"type": "array" +}, +"objectUri": { +"description": "Required. Output only. Object URL. e.g. gs://my_bucket/object.txt", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"ErrorSummary": { +"description": "A summary of errors by error code, plus a count and sample error log entries.", +"id": "ErrorSummary", +"properties": { +"errorCode": { +"description": "Required. The canonical error code.", +"enum": [ +"OK", +"CANCELLED", +"UNKNOWN", +"INVALID_ARGUMENT", +"DEADLINE_EXCEEDED", +"NOT_FOUND", +"ALREADY_EXISTS", +"PERMISSION_DENIED", +"UNAUTHENTICATED", +"RESOURCE_EXHAUSTED", +"FAILED_PRECONDITION", +"ABORTED", +"OUT_OF_RANGE", +"UNIMPLEMENTED", +"INTERNAL", +"UNAVAILABLE", +"DATA_LOSS" +], +"enumDescriptions": [ +"Not an error; returned on success. HTTP Mapping: 200 OK", +"The operation was cancelled, typically by the caller. HTTP Mapping: 499 Client Closed Request", +"Unknown error. For example, this error may be returned when a `Status` value received from another address space belongs to an error space that is not known in this address space. Also errors raised by APIs that do not return enough error information may be converted to this error. HTTP Mapping: 500 Internal Server Error", +"The client specified an invalid argument. Note that this differs from `FAILED_PRECONDITION`. `INVALID_ARGUMENT` indicates arguments that are problematic regardless of the state of the system (e.g., a malformed file name). HTTP Mapping: 400 Bad Request", +"The deadline expired before the operation could complete. For operations that change the state of the system, this error may be returned even if the operation has completed successfully. For example, a successful response from a server could have been delayed long enough for the deadline to expire. HTTP Mapping: 504 Gateway Timeout", +"Some requested entity (e.g., file or directory) was not found. Note to server developers: if a request is denied for an entire class of users, such as gradual feature rollout or undocumented allowlist, `NOT_FOUND` may be used. If a request is denied for some users within a class of users, such as user-based access control, `PERMISSION_DENIED` must be used. HTTP Mapping: 404 Not Found", +"The entity that a client attempted to create (e.g., file or directory) already exists. HTTP Mapping: 409 Conflict", +"The caller does not have permission to execute the specified operation. `PERMISSION_DENIED` must not be used for rejections caused by exhausting some resource (use `RESOURCE_EXHAUSTED` instead for those errors). `PERMISSION_DENIED` must not be used if the caller can not be identified (use `UNAUTHENTICATED` instead for those errors). This error code does not imply the request is valid or the requested entity exists or satisfies other pre-conditions. HTTP Mapping: 403 Forbidden", +"The request does not have valid authentication credentials for the operation. HTTP Mapping: 401 Unauthorized", +"Some resource has been exhausted, perhaps a per-user quota, or perhaps the entire file system is out of space. HTTP Mapping: 429 Too Many Requests", +"The operation was rejected because the system is not in a state required for the operation's execution. For example, the directory to be deleted is non-empty, an rmdir operation is applied to a non-directory, etc. Service implementors can use the following guidelines to decide between `FAILED_PRECONDITION`, `ABORTED`, and `UNAVAILABLE`: (a) Use `UNAVAILABLE` if the client can retry just the failing call. (b) Use `ABORTED` if the client should retry at a higher level. For example, when a client-specified test-and-set fails, indicating the client should restart a read-modify-write sequence. (c) Use `FAILED_PRECONDITION` if the client should not retry until the system state has been explicitly fixed. For example, if an \"rmdir\" fails because the directory is non-empty, `FAILED_PRECONDITION` should be returned since the client should not retry unless the files are deleted from the directory. HTTP Mapping: 400 Bad Request", +"The operation was aborted, typically due to a concurrency issue such as a sequencer check failure or transaction abort. See the guidelines above for deciding between `FAILED_PRECONDITION`, `ABORTED`, and `UNAVAILABLE`. HTTP Mapping: 409 Conflict", +"The operation was attempted past the valid range. E.g., seeking or reading past end-of-file. Unlike `INVALID_ARGUMENT`, this error indicates a problem that may be fixed if the system state changes. For example, a 32-bit file system will generate `INVALID_ARGUMENT` if asked to read at an offset that is not in the range [0,2^32-1], but it will generate `OUT_OF_RANGE` if asked to read from an offset past the current file size. There is a fair bit of overlap between `FAILED_PRECONDITION` and `OUT_OF_RANGE`. We recommend using `OUT_OF_RANGE` (the more specific error) when it applies so that callers who are iterating through a space can easily look for an `OUT_OF_RANGE` error to detect when they are done. HTTP Mapping: 400 Bad Request", +"The operation is not implemented or is not supported/enabled in this service. HTTP Mapping: 501 Not Implemented", +"Internal errors. This means that some invariants expected by the underlying system have been broken. This error code is reserved for serious errors. HTTP Mapping: 500 Internal Server Error", +"The service is currently unavailable. This is most likely a transient condition, which can be corrected by retrying with a backoff. Note that it is not always safe to retry non-idempotent operations. See the guidelines above for deciding between `FAILED_PRECONDITION`, `ABORTED`, and `UNAVAILABLE`. HTTP Mapping: 503 Service Unavailable", +"Unrecoverable data loss or corruption. HTTP Mapping: 500 Internal Server Error" +], +"type": "string" +}, +"errorCount": { +"description": "Required. Number of errors encountered per `error_code`.", +"format": "int64", +"type": "string" +}, +"errorLogEntries": { +"description": "Required. Sample error logs.", +"items": { +"$ref": "ErrorLogEntry" +}, +"type": "array" +} +}, +"type": "object" +}, +"Job": { +"description": "The Storage Batch Operations Job description.", +"id": "Job", +"properties": { +"bucketList": { +"$ref": "BucketList", +"description": "Specifies a list of buckets and their objects to be transformed." +}, +"completeTime": { +"description": "Output only. The time that the job was completed.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"counters": { +"$ref": "Counters", +"description": "Output only. Information about the progress of the job.", +"readOnly": true +}, +"createTime": { +"description": "Output only. The time that the job was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"deleteObject": { +"$ref": "DeleteObject", +"description": "Delete objects." +}, +"description": { +"description": "Optional. A description provided by the user for the job. Its max length is 1024 bytes when Unicode-encoded.", +"type": "string" +}, +"dryRun": { +"description": "Optional. If true, the job will run in dry run mode, returning the total object count and, if the object configuration is a prefix list, the bytes found from source. No transformations will be performed.", +"type": "boolean" +}, +"errorSummaries": { +"description": "Output only. Summarizes errors encountered with sample error log entries.", +"items": { +"$ref": "ErrorSummary" +}, +"readOnly": true, +"type": "array" +}, +"isMultiBucketJob": { +"description": "Output only. If true, this Job operates on multiple buckets. Multibucket jobs are subject to different quota limits than single-bucket jobs.", +"readOnly": true, +"type": "boolean" +}, +"loggingConfig": { +"$ref": "LoggingConfig", +"description": "Optional. Logging configuration." +}, +"name": { +"description": "Identifier. The resource name of the Job. job_id is unique within the project, that is either set by the customer or defined by the service. Format: projects/{project}/locations/global/jobs/{job_id} . For example: \"projects/123456/locations/global/jobs/job01\".", +"type": "string" +}, +"putMetadata": { +"$ref": "PutMetadata", +"description": "Updates object metadata. Allows updating fixed-key and custom metadata and fixed-key metadata i.e. Cache-Control, Content-Disposition, Content-Encoding, Content-Language, Content-Type, Custom-Time." +}, +"putObjectHold": { +"$ref": "PutObjectHold", +"description": "Changes object hold status." +}, +"rewriteObject": { +"$ref": "RewriteObject", +"description": "Rewrite the object and updates metadata like KMS key." +}, +"scheduleTime": { +"description": "Output only. The time that the job was scheduled.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"state": { +"description": "Output only. State of the job.", +"enum": [ +"STATE_UNSPECIFIED", +"RUNNING", +"SUCCEEDED", +"CANCELED", +"FAILED", +"QUEUED" +], +"enumDescriptions": [ +"Default value. This value is unused.", +"In progress.", +"Completed successfully.", +"Cancelled by the user.", +"Terminated due to an unrecoverable failure.", +"Queued but not yet started." +], +"readOnly": true, +"type": "string" +}, +"updateObjectCustomContext": { +"$ref": "UpdateObjectCustomContext", +"description": "Update object custom context." +} +}, +"type": "object" +}, +"ListBucketOperationsResponse": { +"description": "Message for response to listing BucketOperations", +"id": "ListBucketOperationsResponse", +"properties": { +"bucketOperations": { +"description": "A list of storage batch bucket operations.", +"items": { +"$ref": "BucketOperation" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A token identifying a page of results.", +"type": "string" +}, +"unreachable": { +"description": "Locations that could not be reached.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListJobsResponse": { +"description": "Message for response to listing Jobs", +"id": "ListJobsResponse", +"properties": { +"jobs": { +"description": "A list of storage batch jobs.", +"items": { +"$ref": "Job" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A token identifying a page of results.", +"type": "string" +}, +"unreachable": { +"description": "Locations that could not be reached.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListLocationsResponse": { +"description": "The response message for Locations.ListLocations.", +"id": "ListLocationsResponse", +"properties": { +"locations": { +"description": "A list of locations that matches the specified filter in the request.", +"items": { +"$ref": "Location" +}, +"type": "array" +}, +"nextPageToken": { +"description": "The standard List next-page token.", +"type": "string" +} +}, +"type": "object" +}, +"ListOperationsResponse": { +"description": "The response message for Operations.ListOperations.", +"id": "ListOperationsResponse", +"properties": { +"nextPageToken": { +"description": "The standard List next-page token.", +"type": "string" +}, +"operations": { +"description": "A list of operations that matches the specified filter in the request.", +"items": { +"$ref": "Operation" +}, +"type": "array" +}, +"unreachable": { +"description": "Unordered list. Unreachable resources. Populated when the request sets `ListOperationsRequest.return_partial_success` and reads across collections. For example, when attempting to list all resources across all supported locations.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"Location": { +"description": "A resource that represents a Google Cloud location.", +"id": "Location", +"properties": { +"displayName": { +"description": "The friendly name for this location, typically a nearby city name. For example, \"Tokyo\".", +"type": "string" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Cross-service attributes for the location. For example {\"cloud.googleapis.com/region\": \"us-east1\"}", +"type": "object" +}, +"locationId": { +"description": "The canonical id for this location. For example: `\"us-east1\"`.", +"type": "string" +}, +"metadata": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "Service-specific metadata. For example the available capacity at the given location.", +"type": "object" +}, +"name": { +"description": "Resource name for the location, which may vary between implementations. For example: `\"projects/example-project/locations/us-east1\"`", +"type": "string" +} +}, +"type": "object" +}, +"LoggingConfig": { +"description": "Specifies the Cloud Logging behavior.", +"id": "LoggingConfig", +"properties": { +"logActionStates": { +"description": "Required. States in which Action are logged.If empty, no logs are generated.", +"items": { +"enum": [ +"LOGGABLE_ACTION_STATE_UNSPECIFIED", +"SUCCEEDED", +"FAILED" +], +"enumDescriptions": [ +"Illegal value, to avoid allowing a default.", +"`LoggableAction` completed successfully. `SUCCEEDED` actions are logged as INFO.", +"`LoggableAction` terminated in an error state. `FAILED` actions are logged as ERROR." +], +"type": "string" +}, +"type": "array" +}, +"logActions": { +"description": "Required. Specifies the actions to be logged.", +"items": { +"enum": [ +"LOGGABLE_ACTION_UNSPECIFIED", +"TRANSFORM" +], +"enumDescriptions": [ +"Illegal value, to avoid allowing a default.", +"The corresponding transform action in this job." +], +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"Manifest": { +"description": "Describes list of objects to be transformed.", +"id": "Manifest", +"properties": { +"manifestLocation": { +"description": "Required. `manifest_location` must contain the manifest source file that is a CSV file in a Google Cloud Storage bucket. Each row in the file must include the object details i.e. BucketId and Name. Generation may optionally be specified. When it is not specified the live object is acted upon. `manifest_location` should either be 1) An absolute path to the object in the format of `gs://bucket_name/path/file_name.csv`. 2) An absolute path with a single wildcard character in the file name, for example `gs://bucket_name/path/file_name*.csv`. If manifest location is specified with a wildcard, objects in all manifest files matching the pattern will be acted upon.", +"type": "string" +} +}, +"type": "object" +}, +"ObjectCustomContextPayload": { +"description": "Describes the payload of a user defined object custom context.", +"id": "ObjectCustomContextPayload", +"properties": { +"value": { +"description": "The value of the object custom context. If set, `value` must NOT be an empty string since it is a required field in custom context. If unset, `value` will be ignored and no changes will be made to the `value` field of the custom context payload.", +"type": "string" +} +}, +"type": "object" +}, +"ObjectRetention": { +"description": "Describes options for object retention update.", +"id": "ObjectRetention", +"properties": { +"retainUntilTime": { +"description": "Required. The time when the object will be retained until. UNSET will clear the retention. Must be specified in RFC 3339 format e.g. YYYY-MM-DD'T'HH:MM:SS.SS'Z' or YYYY-MM-DD'T'HH:MM:SS'Z'.", +"type": "string" +}, +"retentionMode": { +"description": "Required. The retention mode of the object.", +"enum": [ +"RETENTION_MODE_UNSPECIFIED", +"LOCKED", +"UNLOCKED" +], +"enumDescriptions": [ +"If set and retain_until_time is empty, clears the retention.", +"Sets the retention mode to locked.", +"Sets the retention mode to unlocked." +], +"type": "string" +} +}, +"type": "object" +}, +"Operation": { +"description": "This resource represents a long-running operation that is the result of a network API call.", +"id": "Operation", +"properties": { +"done": { +"description": "If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.", +"type": "boolean" +}, +"error": { +"$ref": "Status", +"description": "The error result of the operation in case of failure or cancellation." +}, +"metadata": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.", +"type": "object" +}, +"name": { +"description": "The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.", +"type": "string" +}, +"response": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "The normal, successful response of the operation. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.", +"type": "object" +} +}, +"type": "object" +}, +"OperationMetadata": { +"description": "Represents the metadata of the long-running operation.", +"id": "OperationMetadata", +"properties": { +"apiVersion": { +"description": "Output only. API version used to start the operation.", +"readOnly": true, +"type": "string" +}, +"createTime": { +"description": "Output only. The time the operation was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"endTime": { +"description": "Output only. The time the operation finished running.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"job": { +"$ref": "Job", +"description": "Output only. The Job associated with the operation.", +"readOnly": true +}, +"operation": { +"description": "Output only. The unique operation resource name. Format: projects/{project}/locations/global/operations/{operation}.", +"readOnly": true, +"type": "string" +}, +"requestedCancellation": { +"description": "Output only. Identifies whether the user has requested cancellation of the operation. Operations that have been cancelled successfully have google.longrunning.Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.", +"readOnly": true, +"type": "boolean" +} +}, +"type": "object" +}, +"PrefixList": { +"description": "Describes prefixes of objects to be transformed.", +"id": "PrefixList", +"properties": { +"includedObjectPrefixes": { +"description": "Optional. Include prefixes of the objects to be transformed. * Supports full object name * Supports prefix of the object name * Wildcards are not supported * Supports empty string for all objects in a bucket.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"PutMetadata": { +"description": "Describes options for object metadata update.", +"id": "PutMetadata", +"properties": { +"cacheControl": { +"description": "Optional. Updates objects Cache-Control fixed metadata. Unset values will be ignored. Set empty values to clear the metadata. Additionally, the value for Custom-Time cannot decrease. Refer to documentation in https://cloud.google.com/storage/docs/metadata#caching_data.", +"type": "string" +}, +"contentDisposition": { +"description": "Optional. Updates objects Content-Disposition fixed metadata. Unset values will be ignored. Set empty values to clear the metadata. Refer https://cloud.google.com/storage/docs/metadata#content-disposition for additional documentation.", +"type": "string" +}, +"contentEncoding": { +"description": "Optional. Updates objects Content-Encoding fixed metadata. Unset values will be ignored. Set empty values to clear the metadata. Refer to documentation in https://cloud.google.com/storage/docs/metadata#content-encoding.", +"type": "string" +}, +"contentLanguage": { +"description": "Optional. Updates objects Content-Language fixed metadata. Refer to ISO 639-1 language codes for typical values of this metadata. Max length 100 characters. Unset values will be ignored. Set empty values to clear the metadata. Refer to documentation in https://cloud.google.com/storage/docs/metadata#content-language.", +"type": "string" +}, +"contentType": { +"description": "Optional. Updates objects Content-Type fixed metadata. Unset values will be ignored. Set empty values to clear the metadata. Refer to documentation in https://cloud.google.com/storage/docs/metadata#content-type", +"type": "string" +}, +"customMetadata": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. Updates objects custom metadata. Adds or sets individual custom metadata key value pairs on objects. Keys that are set with empty custom metadata values will have its value cleared. Existing custom metadata not specified with this flag is not changed. Refer to documentation in https://cloud.google.com/storage/docs/metadata#custom-metadata", +"type": "object" +}, +"customTime": { +"description": "Optional. Updates objects Custom-Time fixed metadata. Unset values will be ignored. Set empty values to clear the metadata. Refer to documentation in https://cloud.google.com/storage/docs/metadata#custom-time.", +"type": "string" +}, +"objectRetention": { +"$ref": "ObjectRetention", +"description": "Optional. Updates objects retention lock configuration. Unset values will be ignored. Set empty values to clear the retention for the object with existing `Unlocked` retention mode. Object with existing `Locked` retention mode cannot be cleared or reduce retain_until_time. Refer to documentation in https://cloud.google.com/storage/docs/object-lock" +} +}, +"type": "object" +}, +"PutObjectHold": { +"description": "Describes options to update object hold.", +"id": "PutObjectHold", +"properties": { +"eventBasedHold": { +"description": "Required. Updates object event based holds state. When object event based hold is set, object cannot be deleted or replaced. Resets object's time in the bucket for the purposes of the retention period.", +"enum": [ +"HOLD_STATUS_UNSPECIFIED", +"SET", +"UNSET" +], +"enumDescriptions": [ +"Default value, Object hold status will not be changed.", +"Places the hold.", +"Releases the hold." +], +"type": "string" +}, +"temporaryHold": { +"description": "Required. Updates object temporary holds state. When object temporary hold is set, object cannot be deleted or replaced.", +"enum": [ +"HOLD_STATUS_UNSPECIFIED", +"SET", +"UNSET" +], +"enumDescriptions": [ +"Default value, Object hold status will not be changed.", +"Places the hold.", +"Releases the hold." +], +"type": "string" +} +}, +"type": "object" +}, +"RewriteObject": { +"description": "Describes options for object rewrite.", +"id": "RewriteObject", +"properties": { +"kmsKey": { +"description": "Required. Resource name of the Cloud KMS key that will be used to encrypt the object. The Cloud KMS key must be located in same location as the object. Refer to https://cloud.google.com/storage/docs/encryption/using-customer-managed-keys#add-object-key for additional documentation. Format: projects/{project}/locations/{location}/keyRings/{keyring}/cryptoKeys/{key} For example: \"projects/123456/locations/us-central1/keyRings/my-keyring/cryptoKeys/my-key\". The object will be rewritten and set with the specified KMS key.", +"type": "string" +} +}, +"type": "object" +}, +"Status": { +"description": "The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors).", +"id": "Status", +"properties": { +"code": { +"description": "The status code, which should be an enum value of google.rpc.Code.", +"format": "int32", +"type": "integer" +}, +"details": { +"description": "A list of messages that carry the error details. There is a common set of message types for APIs to use.", +"items": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.", +"type": "string" +} +}, +"type": "object" +}, +"UpdateObjectCustomContext": { +"description": "Describes options to update object custom contexts.", +"id": "UpdateObjectCustomContext", +"properties": { +"clearAll": { +"description": "If set, must be set to true and all existing object custom contexts will be deleted.", +"type": "boolean" +}, +"customContextUpdates": { +"$ref": "CustomContextUpdates", +"description": "A collection of updates to apply to specific custom contexts. Use this to add, update or delete individual contexts by key." +} +}, +"type": "object" +} +}, +"servicePath": "", +"title": "Storage Batch Operations API", +"version": "v1", +"version_module": true +} \ No newline at end of file diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/sts.v1.json b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/sts.v1.json new file mode 100644 index 0000000000000000000000000000000000000000..311919a64a51af78786e58bbf569e63abccf439a --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/sts.v1.json @@ -0,0 +1,569 @@ +{ +"basePath": "", +"baseUrl": "https://sts.googleapis.com/", +"batchPath": "batch", +"canonicalName": "Cloud Security Token", +"description": "The Security Token Service exchanges Google or third-party credentials for a short-lived access token to Google Cloud resources.", +"discoveryVersion": "v1", +"documentationLink": "http://cloud.google.com/iam/docs/workload-identity-federation", +"endpoints": [ +{ +"description": "Regional Endpoint", +"endpointUrl": "https://sts.africa-south1.rep.googleapis.com/", +"location": "africa-south1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://sts.asia-east1.rep.googleapis.com/", +"location": "asia-east1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://sts.asia-east2.rep.googleapis.com/", +"location": "asia-east2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://sts.asia-northeast1.rep.googleapis.com/", +"location": "asia-northeast1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://sts.asia-northeast2.rep.googleapis.com/", +"location": "asia-northeast2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://sts.asia-northeast3.rep.googleapis.com/", +"location": "asia-northeast3" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://sts.asia-south1.rep.googleapis.com/", +"location": "asia-south1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://sts.asia-south2.rep.googleapis.com/", +"location": "asia-south2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://sts.asia-southeast1.rep.googleapis.com/", +"location": "asia-southeast1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://sts.asia-southeast2.rep.googleapis.com/", +"location": "asia-southeast2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://sts.australia-southeast1.rep.googleapis.com/", +"location": "australia-southeast1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://sts.australia-southeast2.rep.googleapis.com/", +"location": "australia-southeast2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://sts.europe-central2.rep.googleapis.com/", +"location": "europe-central2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://sts.europe-north1.rep.googleapis.com/", +"location": "europe-north1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://sts.europe-southwest1.rep.googleapis.com/", +"location": "europe-southwest1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://sts.europe-west1.rep.googleapis.com/", +"location": "europe-west1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://sts.europe-west10.rep.googleapis.com/", +"location": "europe-west10" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://sts.europe-west12.rep.googleapis.com/", +"location": "europe-west12" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://sts.europe-west15.rep.googleapis.com/", +"location": "europe-west15" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://sts.europe-west2.rep.googleapis.com/", +"location": "europe-west2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://sts.europe-west3.rep.googleapis.com/", +"location": "europe-west3" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://sts.europe-west4.rep.googleapis.com/", +"location": "europe-west4" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://sts.europe-west6.rep.googleapis.com/", +"location": "europe-west6" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://sts.europe-west8.rep.googleapis.com/", +"location": "europe-west8" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://sts.europe-west9.rep.googleapis.com/", +"location": "europe-west9" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://sts.me-central1.rep.googleapis.com/", +"location": "me-central1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://sts.me-central2.rep.googleapis.com/", +"location": "me-central2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://sts.me-west1.rep.googleapis.com/", +"location": "me-west1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://sts.northamerica-northeast1.rep.googleapis.com/", +"location": "northamerica-northeast1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://sts.northamerica-northeast2.rep.googleapis.com/", +"location": "northamerica-northeast2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://sts.northamerica-south1.rep.googleapis.com/", +"location": "northamerica-south1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://sts.southamerica-east1.rep.googleapis.com/", +"location": "southamerica-east1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://sts.southamerica-west1.rep.googleapis.com/", +"location": "southamerica-west1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://sts.us-central1.rep.googleapis.com/", +"location": "us-central1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://sts.us-central2.rep.googleapis.com/", +"location": "us-central2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://sts.us-east1.rep.googleapis.com/", +"location": "us-east1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://sts.us-east4.rep.googleapis.com/", +"location": "us-east4" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://sts.us-east5.rep.googleapis.com/", +"location": "us-east5" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://sts.us-east7.rep.googleapis.com/", +"location": "us-east7" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://sts.us-south1.rep.googleapis.com/", +"location": "us-south1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://sts.us-west1.rep.googleapis.com/", +"location": "us-west1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://sts.us-west2.rep.googleapis.com/", +"location": "us-west2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://sts.us-west3.rep.googleapis.com/", +"location": "us-west3" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://sts.us-west4.rep.googleapis.com/", +"location": "us-west4" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://sts.us-west8.rep.googleapis.com/", +"location": "us-west8" +} +], +"fullyEncodeReservedExpansion": true, +"icons": { +"x16": "http://www.google.com/images/icons/product/search-16.gif", +"x32": "http://www.google.com/images/icons/product/search-32.gif" +}, +"id": "sts:v1", +"kind": "discovery#restDescription", +"mtlsRootUrl": "https://sts.mtls.googleapis.com/", +"name": "sts", +"ownerDomain": "google.com", +"ownerName": "Google", +"parameters": { +"$.xgafv": { +"description": "V1 error format.", +"enum": [ +"1", +"2" +], +"enumDescriptions": [ +"v1 error format", +"v2 error format" +], +"location": "query", +"type": "string" +}, +"access_token": { +"description": "OAuth access token.", +"location": "query", +"type": "string" +}, +"alt": { +"default": "json", +"description": "Data format for response.", +"enum": [ +"json", +"media", +"proto" +], +"enumDescriptions": [ +"Responses with Content-Type of application/json", +"Media download with context-dependent Content-Type", +"Responses with Content-Type of application/x-protobuf" +], +"location": "query", +"type": "string" +}, +"callback": { +"description": "JSONP", +"location": "query", +"type": "string" +}, +"fields": { +"description": "Selector specifying which fields to include in a partial response.", +"location": "query", +"type": "string" +}, +"key": { +"description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", +"location": "query", +"type": "string" +}, +"oauth_token": { +"description": "OAuth 2.0 token for the current user.", +"location": "query", +"type": "string" +}, +"prettyPrint": { +"default": "true", +"description": "Returns response with indentations and line breaks.", +"location": "query", +"type": "boolean" +}, +"quotaUser": { +"description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.", +"location": "query", +"type": "string" +}, +"uploadType": { +"description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", +"location": "query", +"type": "string" +}, +"upload_protocol": { +"description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", +"location": "query", +"type": "string" +} +}, +"protocol": "rest", +"resources": { +"v1": { +"methods": { +"token": { +"description": "Exchanges a credential for a Google OAuth 2.0 access token. The token asserts an external identity within an identity pool, or it applies a Credential Access Boundary to a Google access token. Note that workforce pools do not support Credential Access Boundaries. When you call this method, do not send the `Authorization` HTTP header in the request. This method does not require the `Authorization` header, and using the header can cause the request to fail.", +"flatPath": "v1/token", +"httpMethod": "POST", +"id": "sts.token", +"parameterOrder": [], +"parameters": {}, +"path": "v1/token", +"request": { +"$ref": "GoogleIdentityStsV1ExchangeTokenRequest" +}, +"response": { +"$ref": "GoogleIdentityStsV1ExchangeTokenResponse" +} +} +} +} +}, +"revision": "20251203", +"rootUrl": "https://sts.googleapis.com/", +"schemas": { +"GoogleIamV1Binding": { +"description": "Associates `members`, or principals, with a `role`.", +"id": "GoogleIamV1Binding", +"properties": { +"condition": { +"$ref": "GoogleTypeExpr", +"description": "The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies)." +}, +"members": { +"description": "Specifies the principals requesting access for a Google Cloud resource. `members` can have the following values: * `allUsers`: A special identifier that represents anyone who is on the internet; with or without a Google account. * `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service account. Does not include identities that come from external identity providers (IdPs) through identity federation. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `group:{emailid}`: An email address that represents a Google group. For example, `admins@example.com`. * `domain:{domain}`: The G Suite domain (primary) that represents all the users of that domain. For example, `google.com` or `example.com`. * `principal://iam.googleapis.com/locations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}`: A single identity in a workforce identity pool. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/group/{group_id}`: All workforce identities in a group. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/attribute.{attribute_name}/{attribute_value}`: All workforce identities with a specific attribute value. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/*`: All identities in a workforce identity pool. * `principal://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/subject/{subject_attribute_value}`: A single identity in a workload identity pool. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/group/{group_id}`: A workload identity pool group. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/attribute.{attribute_name}/{attribute_value}`: All identities in a workload identity pool with a certain attribute. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/*`: All identities in a workload identity pool. * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a user that has been recently deleted. For example, `alice@example.com?uid=123456789012345678901`. If the user is recovered, this value reverts to `user:{emailid}` and the recovered user retains the role in the binding. * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a service account that has been recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the service account is undeleted, this value reverts to `serviceAccount:{emailid}` and the undeleted service account retains the role in the binding. * `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a Google group that has been recently deleted. For example, `admins@example.com?uid=123456789012345678901`. If the group is recovered, this value reverts to `group:{emailid}` and the recovered group retains the role in the binding. * `deleted:principal://iam.googleapis.com/locations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}`: Deleted single identity in a workforce identity pool. For example, `deleted:principal://iam.googleapis.com/locations/global/workforcePools/my-pool-id/subject/my-subject-attribute-value`.", +"items": { +"type": "string" +}, +"type": "array" +}, +"role": { +"description": "Role that is assigned to the list of `members`, or principals. For example, `roles/viewer`, `roles/editor`, or `roles/owner`. For an overview of the IAM roles and permissions, see the [IAM documentation](https://cloud.google.com/iam/docs/roles-overview). For a list of the available pre-defined roles, see [here](https://cloud.google.com/iam/docs/understanding-roles).", +"type": "string" +} +}, +"type": "object" +}, +"GoogleIdentityStsV1AccessBoundary": { +"description": "An access boundary defines the upper bound of what a principal may access. It includes a list of access boundary rules that each defines the resource that may be allowed as well as permissions that may be used on those resources.", +"id": "GoogleIdentityStsV1AccessBoundary", +"properties": { +"accessBoundaryRules": { +"description": "A list of access boundary rules which defines the upper bound of the permission a principal may carry. If multiple rules are specified, the effective access boundary is the union of all the access boundary rules attached. One access boundary can contain at most 10 rules.", +"items": { +"$ref": "GoogleIdentityStsV1AccessBoundaryRule" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleIdentityStsV1AccessBoundaryRule": { +"description": "An access boundary rule defines an upper bound of IAM permissions on a single resource.", +"id": "GoogleIdentityStsV1AccessBoundaryRule", +"properties": { +"availabilityCondition": { +"$ref": "GoogleTypeExpr", +"description": "The availability condition further constrains the access allowed by the access boundary rule. If the condition evaluates to `true`, then this access boundary rule will provide access to the specified resource, assuming the principal has the required permissions for the resource. If the condition does not evaluate to `true`, then access to the specified resource will not be available. Note that all access boundary rules in an access boundary are evaluated together as a union. As such, another access boundary rule may allow access to the resource, even if this access boundary rule does not allow access. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). The maximum length of the `expression` field is 2048 characters." +}, +"availablePermissions": { +"description": "A list of permissions that may be allowed for use on the specified resource. The only supported values in the list are IAM roles, following the format of google.iam.v1.Binding.role. Example value: `inRole:roles/logging.viewer` for predefined roles and `inRole:organizations/{ORGANIZATION_ID}/roles/logging.viewer` for custom roles.", +"items": { +"type": "string" +}, +"type": "array" +}, +"availableResource": { +"description": "The full resource name of a Google Cloud resource entity. The format definition is at https://cloud.google.com/apis/design/resource_names. Example value: `//cloudresourcemanager.googleapis.com/projects/my-project`.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleIdentityStsV1ExchangeTokenRequest": { +"description": "Request message for ExchangeToken.", +"id": "GoogleIdentityStsV1ExchangeTokenRequest", +"properties": { +"audience": { +"description": "The full resource name of the identity provider; for example: `//iam.googleapis.com/projects//locations/global/workloadIdentityPools//providers/` for workload identity pool providers, or `//iam.googleapis.com/locations/global/workforcePools//providers/` for workforce pool providers. Required when exchanging an external credential for a Google access token.", +"type": "string" +}, +"grantType": { +"description": "Required. The grant type. Must be `urn:ietf:params:oauth:grant-type:token-exchange`, which indicates a token exchange.", +"type": "string" +}, +"options": { +"description": "A set of features that Security Token Service supports, in addition to the standard OAuth 2.0 token exchange, formatted as a serialized JSON object of Options. The size of the parameter value must not exceed 4 * 1024 * 1024 characters (4 MB).", +"type": "string" +}, +"requestedTokenType": { +"description": "Required. An identifier for the type of requested security token. Can be `urn:ietf:params:oauth:token-type:access_token` or `urn:ietf:params:oauth:token-type:access_boundary_intermediary_token`.", +"type": "string" +}, +"scope": { +"description": "The OAuth 2.0 scopes to include on the resulting access token, formatted as a list of space-delimited, case-sensitive strings; for example, `https://www.googleapis.com/auth/cloud-platform`. Required when exchanging an external credential for a Google access token. For a list of OAuth 2.0 scopes, see [OAuth 2.0 Scopes for Google APIs](https://developers.google.com/identity/protocols/oauth2/scopes).", +"type": "string" +}, +"subjectToken": { +"description": "Required. The input token. This token is either an external credential issued by a workload identity pool provider, or a short-lived access token issued by Google. If the token is an OIDC JWT, it must use the JWT format defined in [RFC 7523](https://tools.ietf.org/html/rfc7523), and the `subject_token_type` must be either `urn:ietf:params:oauth:token-type:jwt` or `urn:ietf:params:oauth:token-type:id_token`. The following headers are required: - `kid`: The identifier of the signing key securing the JWT. - `alg`: The cryptographic algorithm securing the JWT. Must be `RS256` or `ES256`. The following payload fields are required. For more information, see [RFC 7523, Section 3](https://tools.ietf.org/html/rfc7523#section-3): - `iss`: The issuer of the token. The issuer must provide a discovery document at the URL `/.well-known/openid-configuration`, where `` is the value of this field. The document must be formatted according to section 4.2 of the [OIDC 1.0 Discovery specification](https://openid.net/specs/openid-connect-discovery-1_0.html#ProviderConfigurationResponse). - `iat`: The issue time, in seconds, since the Unix epoch. Must be in the past. - `exp`: The expiration time, in seconds, since the Unix epoch. Must be less than 48 hours after `iat`. Shorter expiration times are more secure. If possible, we recommend setting an expiration time less than 6 hours. - `sub`: The identity asserted in the JWT. - `aud`: For workload identity pools, this must be a value specified in the allowed audiences for the workload identity pool provider, or one of the audiences allowed by default if no audiences were specified. See https://cloud.google.com/iam/docs/reference/rest/v1/projects.locations.workloadIdentityPools.providers#oidc. For workforce pools, this must match the client ID specified in the provider configuration. See https://cloud.google.com/iam/docs/reference/rest/v1/locations.workforcePools.providers#oidc. Example header: ``` { \"alg\": \"RS256\", \"kid\": \"us-east-11\" } ``` Example payload: ``` { \"iss\": \"https://accounts.google.com\", \"iat\": 1517963104, \"exp\": 1517966704, \"aud\": \"//iam.googleapis.com/projects/1234567890123/locations/global/workloadIdentityPools/my-pool/providers/my-provider\", \"sub\": \"113475438248934895348\", \"my_claims\": { \"additional_claim\": \"value\" } } ``` If `subject_token` is for AWS, it must be a serialized `GetCallerIdentity` token. This token contains the same information as a request to the AWS [`GetCallerIdentity()`](https://docs.aws.amazon.com/STS/latest/APIReference/API_GetCallerIdentity) method, as well as the AWS [signature](https://docs.aws.amazon.com/general/latest/gr/signing_aws_api_requests.html) for the request information. Use Signature Version 4. Format the request as URL-encoded JSON, and set the `subject_token_type` parameter to `urn:ietf:params:aws:token-type:aws4_request`. The following parameters are required: - `url`: The URL of the AWS STS endpoint for `GetCallerIdentity()`, such as `https://sts.amazonaws.com?Action=GetCallerIdentity&Version=2011-06-15`. Regional endpoints are also supported. - `method`: The HTTP request method: `POST`. - `headers`: The HTTP request headers, which must include: - `Authorization`: The request signature. - `x-amz-date`: The time you will send the request, formatted as an [ISO8601 Basic](https://docs.aws.amazon.com/general/latest/gr/sigv4_elements.html#sigv4_elements_date) string. This value is typically set to the current time and is used to help prevent replay attacks. - `host`: The hostname of the `url` field; for example, `sts.amazonaws.com`. - `x-goog-cloud-target-resource`: The full, canonical resource name of the workload identity pool provider, with or without an `https:` prefix. To help ensure data integrity, we recommend including this header in the `SignedHeaders` field of the signed request. For example: //iam.googleapis.com/projects//locations/global/workloadIdentityPools//providers/ https://iam.googleapis.com/projects//locations/global/workloadIdentityPools//providers/ If you are using temporary security credentials provided by AWS, you must also include the header `x-amz-security-token`, with the value set to the session token. The following example shows a `GetCallerIdentity` token: ``` { \"headers\": [ {\"key\": \"x-amz-date\", \"value\": \"20200815T015049Z\"}, {\"key\": \"Authorization\", \"value\": \"AWS4-HMAC-SHA256+Credential=$credential,+SignedHeaders=host;x-amz-date;x-goog-cloud-target-resource,+Signature=$signature\"}, {\"key\": \"x-goog-cloud-target-resource\", \"value\": \"//iam.googleapis.com/projects//locations/global/workloadIdentityPools//providers/\"}, {\"key\": \"host\", \"value\": \"sts.amazonaws.com\"} . ], \"method\": \"POST\", \"url\": \"https://sts.amazonaws.com?Action=GetCallerIdentity&Version=2011-06-15\" } ``` If the token is a SAML 2.0 assertion, it must use the format defined in [the SAML 2.0 spec](https://docs.oasis-open.org/security/saml/Post2.0/sstc-saml-tech-overview-2.0-cd-02.pdf), and the `subject_token_type` must be `urn:ietf:params:oauth:token-type:saml2`. See [Verification of external credentials](https://cloud.google.com/iam/docs/using-workload-identity-federation#verification_of_external_credentials) for details on how SAML 2.0 assertions are validated during token exchanges. You can also use a Google-issued OAuth 2.0 access token with this field to obtain an access token with new security attributes applied, such as a Credential Access Boundary. In this case, set `subject_token_type` to `urn:ietf:params:oauth:token-type:access_token`. If an access token already contains security attributes, you cannot apply additional security attributes. If the request is for X.509 certificate-based authentication, the `subject_token` must be a JSON-formatted list of X.509 certificates in DER format, as defined in [RFC 7515](https://www.rfc-editor.org/rfc/rfc7515#section-4.1.6). `subject_token_type` must be `urn:ietf:params:oauth:token-type:mtls`. The following example shows a JSON-formatted list of X.509 certificate in DER format: ``` [\\\"MIIEYDCCA0i...\\\", \\\"MCIFFGAGTT0...\\\"] ```", +"type": "string" +}, +"subjectTokenType": { +"description": "Required. An identifier that indicates the type of the security token in the `subject_token` parameter. Supported values are `urn:ietf:params:oauth:token-type:jwt`, `urn:ietf:params:oauth:token-type:id_token`, `urn:ietf:params:aws:token-type:aws4_request`, `urn:ietf:params:oauth:token-type:access_token`, `urn:ietf:params:oauth:token-type:mtls`, and `urn:ietf:params:oauth:token-type:saml2`.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleIdentityStsV1ExchangeTokenResponse": { +"description": "Response message for ExchangeToken.", +"id": "GoogleIdentityStsV1ExchangeTokenResponse", +"properties": { +"access_boundary_session_key": { +"description": "The access boundary session key. This key is used along with the access boundary intermediary token to generate Credential Access Boundary tokens at client side. This field is absent when the `requested_token_type` from the request is not `urn:ietf:params:oauth:token-type:access_boundary_intermediary_token`.", +"format": "byte", +"type": "string" +}, +"access_token": { +"description": "An OAuth 2.0 security token, issued by Google, in response to the token exchange request. Tokens can vary in size, depending in part on the size of mapped claims, up to a maximum of 12288 bytes (12 KB). Google reserves the right to change the token size and the maximum length at any time.", +"type": "string" +}, +"expires_in": { +"description": "The amount of time, in seconds, between the time when the access token was issued and the time when the access token will expire. This field is absent when the `subject_token` in the request is a a short-lived access token for a Cloud Identity or Google Workspace user account. In this case, the access token has the same expiration time as the `subject_token`.", +"format": "int32", +"type": "integer" +}, +"issued_token_type": { +"description": "The token type. Always matches the value of `requested_token_type` from the request.", +"type": "string" +}, +"token_type": { +"description": "The type of access token. Always has the value `Bearer`.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleIdentityStsV1Options": { +"description": "An `Options` object configures features that the Security Token Service supports, but that are not supported by standard OAuth 2.0 token exchange endpoints, as defined in https://tools.ietf.org/html/rfc8693.", +"id": "GoogleIdentityStsV1Options", +"properties": { +"accessBoundary": { +"$ref": "GoogleIdentityStsV1AccessBoundary", +"description": "An access boundary that defines the upper bound of permissions the credential may have. The value should be a JSON object of AccessBoundary. The access boundary can include up to 10 rules. The size of the parameter value should not exceed 2048 characters." +}, +"bindCertFingerprint": { +"description": "The unpadded, base64url-encoded SHA-256 hash of the certificate's DER encoding and it must be 43 characters long. The resulting token will be bound to this value.", +"type": "string" +}, +"userProject": { +"description": "A Google project used for quota and billing purposes when the credential is used to access Google APIs. The provided project overrides the project bound to the credential. The value must be a project number or a project ID. Example: `my-sample-project-191923`. The maximum length is 32 characters.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleIdentityStsV1betaAccessBoundary": { +"description": "An access boundary defines the upper bound of what a principal may access. It includes a list of access boundary rules that each defines the resource that may be allowed as well as permissions that may be used on those resources.", +"id": "GoogleIdentityStsV1betaAccessBoundary", +"properties": { +"accessBoundaryRules": { +"description": "A list of access boundary rules which defines the upper bound of the permission a principal may carry. If multiple rules are specified, the effective access boundary is the union of all the access boundary rules attached. One access boundary can contain at most 10 rules.", +"items": { +"$ref": "GoogleIdentityStsV1betaAccessBoundaryRule" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleIdentityStsV1betaAccessBoundaryRule": { +"description": "An access boundary rule defines an upper bound of IAM permissions on a single resource.", +"id": "GoogleIdentityStsV1betaAccessBoundaryRule", +"properties": { +"availabilityCondition": { +"$ref": "GoogleTypeExpr", +"description": "The availability condition further constrains the access allowed by the access boundary rule. If the condition evaluates to `true`, then this access boundary rule will provide access to the specified resource, assuming the principal has the required permissions for the resource. If the condition does not evaluate to `true`, then access to the specified resource will not be available. Note that all access boundary rules in an access boundary are evaluated together as a union. As such, another access boundary rule may allow access to the resource, even if this access boundary rule does not allow access. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). The maximum length of the `expression` field is 2048 characters." +}, +"availablePermissions": { +"description": "A list of permissions that may be allowed for use on the specified resource. The only supported values in the list are IAM roles, following the format of google.iam.v1.Binding.role. Example value: `inRole:roles/logging.viewer` for predefined roles and `inRole:organizations/{ORGANIZATION_ID}/roles/logging.viewer` for custom roles.", +"items": { +"type": "string" +}, +"type": "array" +}, +"availableResource": { +"description": "The full resource name of a Google Cloud resource entity. The format definition is at https://cloud.google.com/apis/design/resource_names. Example value: `//cloudresourcemanager.googleapis.com/projects/my-project`.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleIdentityStsV1betaOptions": { +"description": "An `Options` object configures features that the Security Token Service supports, but that are not supported by standard OAuth 2.0 token exchange endpoints, as defined in https://tools.ietf.org/html/rfc8693.", +"id": "GoogleIdentityStsV1betaOptions", +"properties": { +"accessBoundary": { +"$ref": "GoogleIdentityStsV1betaAccessBoundary", +"description": "An access boundary that defines the upper bound of permissions the credential may have. The value should be a JSON object of AccessBoundary. The access boundary can include up to 10 rules. The size of the parameter value should not exceed 2048 characters." +}, +"userProject": { +"description": "A Google project used for quota and billing purposes when the credential is used to access Google APIs. The provided project overrides the project bound to the credential. The value must be a project number or a project ID. Example: `my-sample-project-191923`. The maximum length is 32 characters.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleTypeExpr": { +"description": "Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: \"Summary size limit\" description: \"Determines if a summary is less than 100 chars\" expression: \"document.summary.size() < 100\" Example (Equality): title: \"Requestor is owner\" description: \"Determines if requestor is the document owner\" expression: \"document.owner == request.auth.claims.email\" Example (Logic): title: \"Public documents\" description: \"Determine whether the document should be publicly visible\" expression: \"document.type != 'private' && document.type != 'internal'\" Example (Data Manipulation): title: \"Notification string\" description: \"Create a notification string with a timestamp.\" expression: \"'New message received at ' + string(document.create_time)\" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information.", +"id": "GoogleTypeExpr", +"properties": { +"description": { +"description": "Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI.", +"type": "string" +}, +"expression": { +"description": "Textual representation of an expression in Common Expression Language syntax.", +"type": "string" +}, +"location": { +"description": "Optional. String indicating the location of the expression for error reporting, e.g. a file name and a position in the file.", +"type": "string" +}, +"title": { +"description": "Optional. Title for the expression, i.e. a short string describing its purpose. This can be used e.g. in UIs which allow to enter the expression.", +"type": "string" +} +}, +"type": "object" +} +}, +"servicePath": "", +"title": "Security Token Service API", +"version": "v1", +"version_module": true +} \ No newline at end of file diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/sts.v1beta.json b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/sts.v1beta.json new file mode 100644 index 0000000000000000000000000000000000000000..a854517de438ff8a9bf95c10226973da73ff63fb --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/sts.v1beta.json @@ -0,0 +1,564 @@ +{ +"basePath": "", +"baseUrl": "https://sts.googleapis.com/", +"batchPath": "batch", +"canonicalName": "Cloud Security Token", +"description": "The Security Token Service exchanges Google or third-party credentials for a short-lived access token to Google Cloud resources.", +"discoveryVersion": "v1", +"documentationLink": "http://cloud.google.com/iam/docs/workload-identity-federation", +"endpoints": [ +{ +"description": "Regional Endpoint", +"endpointUrl": "https://sts.africa-south1.rep.googleapis.com/", +"location": "africa-south1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://sts.asia-east1.rep.googleapis.com/", +"location": "asia-east1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://sts.asia-east2.rep.googleapis.com/", +"location": "asia-east2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://sts.asia-northeast1.rep.googleapis.com/", +"location": "asia-northeast1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://sts.asia-northeast2.rep.googleapis.com/", +"location": "asia-northeast2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://sts.asia-northeast3.rep.googleapis.com/", +"location": "asia-northeast3" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://sts.asia-south1.rep.googleapis.com/", +"location": "asia-south1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://sts.asia-south2.rep.googleapis.com/", +"location": "asia-south2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://sts.asia-southeast1.rep.googleapis.com/", +"location": "asia-southeast1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://sts.asia-southeast2.rep.googleapis.com/", +"location": "asia-southeast2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://sts.australia-southeast1.rep.googleapis.com/", +"location": "australia-southeast1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://sts.australia-southeast2.rep.googleapis.com/", +"location": "australia-southeast2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://sts.europe-central2.rep.googleapis.com/", +"location": "europe-central2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://sts.europe-north1.rep.googleapis.com/", +"location": "europe-north1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://sts.europe-southwest1.rep.googleapis.com/", +"location": "europe-southwest1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://sts.europe-west1.rep.googleapis.com/", +"location": "europe-west1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://sts.europe-west10.rep.googleapis.com/", +"location": "europe-west10" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://sts.europe-west12.rep.googleapis.com/", +"location": "europe-west12" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://sts.europe-west15.rep.googleapis.com/", +"location": "europe-west15" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://sts.europe-west2.rep.googleapis.com/", +"location": "europe-west2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://sts.europe-west3.rep.googleapis.com/", +"location": "europe-west3" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://sts.europe-west4.rep.googleapis.com/", +"location": "europe-west4" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://sts.europe-west6.rep.googleapis.com/", +"location": "europe-west6" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://sts.europe-west8.rep.googleapis.com/", +"location": "europe-west8" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://sts.europe-west9.rep.googleapis.com/", +"location": "europe-west9" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://sts.me-central1.rep.googleapis.com/", +"location": "me-central1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://sts.me-central2.rep.googleapis.com/", +"location": "me-central2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://sts.me-west1.rep.googleapis.com/", +"location": "me-west1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://sts.northamerica-northeast1.rep.googleapis.com/", +"location": "northamerica-northeast1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://sts.northamerica-northeast2.rep.googleapis.com/", +"location": "northamerica-northeast2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://sts.northamerica-south1.rep.googleapis.com/", +"location": "northamerica-south1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://sts.southamerica-east1.rep.googleapis.com/", +"location": "southamerica-east1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://sts.southamerica-west1.rep.googleapis.com/", +"location": "southamerica-west1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://sts.us-central1.rep.googleapis.com/", +"location": "us-central1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://sts.us-central2.rep.googleapis.com/", +"location": "us-central2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://sts.us-east1.rep.googleapis.com/", +"location": "us-east1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://sts.us-east4.rep.googleapis.com/", +"location": "us-east4" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://sts.us-east5.rep.googleapis.com/", +"location": "us-east5" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://sts.us-east7.rep.googleapis.com/", +"location": "us-east7" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://sts.us-south1.rep.googleapis.com/", +"location": "us-south1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://sts.us-west1.rep.googleapis.com/", +"location": "us-west1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://sts.us-west2.rep.googleapis.com/", +"location": "us-west2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://sts.us-west3.rep.googleapis.com/", +"location": "us-west3" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://sts.us-west4.rep.googleapis.com/", +"location": "us-west4" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://sts.us-west8.rep.googleapis.com/", +"location": "us-west8" +} +], +"fullyEncodeReservedExpansion": true, +"icons": { +"x16": "http://www.google.com/images/icons/product/search-16.gif", +"x32": "http://www.google.com/images/icons/product/search-32.gif" +}, +"id": "sts:v1beta", +"kind": "discovery#restDescription", +"mtlsRootUrl": "https://sts.mtls.googleapis.com/", +"name": "sts", +"ownerDomain": "google.com", +"ownerName": "Google", +"parameters": { +"$.xgafv": { +"description": "V1 error format.", +"enum": [ +"1", +"2" +], +"enumDescriptions": [ +"v1 error format", +"v2 error format" +], +"location": "query", +"type": "string" +}, +"access_token": { +"description": "OAuth access token.", +"location": "query", +"type": "string" +}, +"alt": { +"default": "json", +"description": "Data format for response.", +"enum": [ +"json", +"media", +"proto" +], +"enumDescriptions": [ +"Responses with Content-Type of application/json", +"Media download with context-dependent Content-Type", +"Responses with Content-Type of application/x-protobuf" +], +"location": "query", +"type": "string" +}, +"callback": { +"description": "JSONP", +"location": "query", +"type": "string" +}, +"fields": { +"description": "Selector specifying which fields to include in a partial response.", +"location": "query", +"type": "string" +}, +"key": { +"description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", +"location": "query", +"type": "string" +}, +"oauth_token": { +"description": "OAuth 2.0 token for the current user.", +"location": "query", +"type": "string" +}, +"prettyPrint": { +"default": "true", +"description": "Returns response with indentations and line breaks.", +"location": "query", +"type": "boolean" +}, +"quotaUser": { +"description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.", +"location": "query", +"type": "string" +}, +"uploadType": { +"description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", +"location": "query", +"type": "string" +}, +"upload_protocol": { +"description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", +"location": "query", +"type": "string" +} +}, +"protocol": "rest", +"resources": { +"v1beta": { +"methods": { +"token": { +"description": "Exchanges a credential for a Google OAuth 2.0 access token. The token asserts an external identity within a workload identity pool, or it applies a Credential Access Boundary to a Google access token. When you call this method, do not send the `Authorization` HTTP header in the request. This method does not require the `Authorization` header, and using the header can cause the request to fail.", +"flatPath": "v1beta/token", +"httpMethod": "POST", +"id": "sts.token", +"parameterOrder": [], +"parameters": {}, +"path": "v1beta/token", +"request": { +"$ref": "GoogleIdentityStsV1betaExchangeTokenRequest" +}, +"response": { +"$ref": "GoogleIdentityStsV1betaExchangeTokenResponse" +} +} +} +} +}, +"revision": "20251203", +"rootUrl": "https://sts.googleapis.com/", +"schemas": { +"GoogleIamV1Binding": { +"description": "Associates `members`, or principals, with a `role`.", +"id": "GoogleIamV1Binding", +"properties": { +"condition": { +"$ref": "GoogleTypeExpr", +"description": "The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies)." +}, +"members": { +"description": "Specifies the principals requesting access for a Google Cloud resource. `members` can have the following values: * `allUsers`: A special identifier that represents anyone who is on the internet; with or without a Google account. * `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service account. Does not include identities that come from external identity providers (IdPs) through identity federation. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `group:{emailid}`: An email address that represents a Google group. For example, `admins@example.com`. * `domain:{domain}`: The G Suite domain (primary) that represents all the users of that domain. For example, `google.com` or `example.com`. * `principal://iam.googleapis.com/locations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}`: A single identity in a workforce identity pool. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/group/{group_id}`: All workforce identities in a group. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/attribute.{attribute_name}/{attribute_value}`: All workforce identities with a specific attribute value. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/*`: All identities in a workforce identity pool. * `principal://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/subject/{subject_attribute_value}`: A single identity in a workload identity pool. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/group/{group_id}`: A workload identity pool group. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/attribute.{attribute_name}/{attribute_value}`: All identities in a workload identity pool with a certain attribute. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/*`: All identities in a workload identity pool. * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a user that has been recently deleted. For example, `alice@example.com?uid=123456789012345678901`. If the user is recovered, this value reverts to `user:{emailid}` and the recovered user retains the role in the binding. * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a service account that has been recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the service account is undeleted, this value reverts to `serviceAccount:{emailid}` and the undeleted service account retains the role in the binding. * `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a Google group that has been recently deleted. For example, `admins@example.com?uid=123456789012345678901`. If the group is recovered, this value reverts to `group:{emailid}` and the recovered group retains the role in the binding. * `deleted:principal://iam.googleapis.com/locations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}`: Deleted single identity in a workforce identity pool. For example, `deleted:principal://iam.googleapis.com/locations/global/workforcePools/my-pool-id/subject/my-subject-attribute-value`.", +"items": { +"type": "string" +}, +"type": "array" +}, +"role": { +"description": "Role that is assigned to the list of `members`, or principals. For example, `roles/viewer`, `roles/editor`, or `roles/owner`. For an overview of the IAM roles and permissions, see the [IAM documentation](https://cloud.google.com/iam/docs/roles-overview). For a list of the available pre-defined roles, see [here](https://cloud.google.com/iam/docs/understanding-roles).", +"type": "string" +} +}, +"type": "object" +}, +"GoogleIdentityStsV1AccessBoundary": { +"description": "An access boundary defines the upper bound of what a principal may access. It includes a list of access boundary rules that each defines the resource that may be allowed as well as permissions that may be used on those resources.", +"id": "GoogleIdentityStsV1AccessBoundary", +"properties": { +"accessBoundaryRules": { +"description": "A list of access boundary rules which defines the upper bound of the permission a principal may carry. If multiple rules are specified, the effective access boundary is the union of all the access boundary rules attached. One access boundary can contain at most 10 rules.", +"items": { +"$ref": "GoogleIdentityStsV1AccessBoundaryRule" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleIdentityStsV1AccessBoundaryRule": { +"description": "An access boundary rule defines an upper bound of IAM permissions on a single resource.", +"id": "GoogleIdentityStsV1AccessBoundaryRule", +"properties": { +"availabilityCondition": { +"$ref": "GoogleTypeExpr", +"description": "The availability condition further constrains the access allowed by the access boundary rule. If the condition evaluates to `true`, then this access boundary rule will provide access to the specified resource, assuming the principal has the required permissions for the resource. If the condition does not evaluate to `true`, then access to the specified resource will not be available. Note that all access boundary rules in an access boundary are evaluated together as a union. As such, another access boundary rule may allow access to the resource, even if this access boundary rule does not allow access. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). The maximum length of the `expression` field is 2048 characters." +}, +"availablePermissions": { +"description": "A list of permissions that may be allowed for use on the specified resource. The only supported values in the list are IAM roles, following the format of google.iam.v1.Binding.role. Example value: `inRole:roles/logging.viewer` for predefined roles and `inRole:organizations/{ORGANIZATION_ID}/roles/logging.viewer` for custom roles.", +"items": { +"type": "string" +}, +"type": "array" +}, +"availableResource": { +"description": "The full resource name of a Google Cloud resource entity. The format definition is at https://cloud.google.com/apis/design/resource_names. Example value: `//cloudresourcemanager.googleapis.com/projects/my-project`.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleIdentityStsV1Options": { +"description": "An `Options` object configures features that the Security Token Service supports, but that are not supported by standard OAuth 2.0 token exchange endpoints, as defined in https://tools.ietf.org/html/rfc8693.", +"id": "GoogleIdentityStsV1Options", +"properties": { +"accessBoundary": { +"$ref": "GoogleIdentityStsV1AccessBoundary", +"description": "An access boundary that defines the upper bound of permissions the credential may have. The value should be a JSON object of AccessBoundary. The access boundary can include up to 10 rules. The size of the parameter value should not exceed 2048 characters." +}, +"bindCertFingerprint": { +"description": "The unpadded, base64url-encoded SHA-256 hash of the certificate's DER encoding and it must be 43 characters long. The resulting token will be bound to this value.", +"type": "string" +}, +"userProject": { +"description": "A Google project used for quota and billing purposes when the credential is used to access Google APIs. The provided project overrides the project bound to the credential. The value must be a project number or a project ID. Example: `my-sample-project-191923`. The maximum length is 32 characters.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleIdentityStsV1betaAccessBoundary": { +"description": "An access boundary defines the upper bound of what a principal may access. It includes a list of access boundary rules that each defines the resource that may be allowed as well as permissions that may be used on those resources.", +"id": "GoogleIdentityStsV1betaAccessBoundary", +"properties": { +"accessBoundaryRules": { +"description": "A list of access boundary rules which defines the upper bound of the permission a principal may carry. If multiple rules are specified, the effective access boundary is the union of all the access boundary rules attached. One access boundary can contain at most 10 rules.", +"items": { +"$ref": "GoogleIdentityStsV1betaAccessBoundaryRule" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleIdentityStsV1betaAccessBoundaryRule": { +"description": "An access boundary rule defines an upper bound of IAM permissions on a single resource.", +"id": "GoogleIdentityStsV1betaAccessBoundaryRule", +"properties": { +"availabilityCondition": { +"$ref": "GoogleTypeExpr", +"description": "The availability condition further constrains the access allowed by the access boundary rule. If the condition evaluates to `true`, then this access boundary rule will provide access to the specified resource, assuming the principal has the required permissions for the resource. If the condition does not evaluate to `true`, then access to the specified resource will not be available. Note that all access boundary rules in an access boundary are evaluated together as a union. As such, another access boundary rule may allow access to the resource, even if this access boundary rule does not allow access. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). The maximum length of the `expression` field is 2048 characters." +}, +"availablePermissions": { +"description": "A list of permissions that may be allowed for use on the specified resource. The only supported values in the list are IAM roles, following the format of google.iam.v1.Binding.role. Example value: `inRole:roles/logging.viewer` for predefined roles and `inRole:organizations/{ORGANIZATION_ID}/roles/logging.viewer` for custom roles.", +"items": { +"type": "string" +}, +"type": "array" +}, +"availableResource": { +"description": "The full resource name of a Google Cloud resource entity. The format definition is at https://cloud.google.com/apis/design/resource_names. Example value: `//cloudresourcemanager.googleapis.com/projects/my-project`.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleIdentityStsV1betaExchangeTokenRequest": { +"description": "Request message for ExchangeToken.", +"id": "GoogleIdentityStsV1betaExchangeTokenRequest", +"properties": { +"audience": { +"description": "The full resource name of the identity provider. For example, `//iam.googleapis.com/projects//locations/global/workloadIdentityPools//providers/`. Required when exchanging an external credential for a Google access token.", +"type": "string" +}, +"grantType": { +"description": "Required. The grant type. Must be `urn:ietf:params:oauth:grant-type:token-exchange`, which indicates a token exchange.", +"type": "string" +}, +"options": { +"description": "A set of features that Security Token Service supports, in addition to the standard OAuth 2.0 token exchange, formatted as a serialized JSON object of Options. The size of the parameter value must not exceed 4096 characters.", +"type": "string" +}, +"requestedTokenType": { +"description": "Required. The type of security token. Must be `urn:ietf:params:oauth:token-type:access_token`, which indicates an OAuth 2.0 access token.", +"type": "string" +}, +"scope": { +"description": "The OAuth 2.0 scopes to include on the resulting access token, formatted as a list of space-delimited, case-sensitive strings; for example, `https://www.googleapis.com/auth/cloud-platform`. Required when exchanging an external credential for a Google access token. For a list of OAuth 2.0 scopes, see [OAuth 2.0 Scopes for Google APIs](https://developers.google.com/identity/protocols/oauth2/scopes).", +"type": "string" +}, +"subjectToken": { +"description": "Required. The input token. This token is either an external credential issued by a workload identity pool provider, or a short-lived access token issued by Google. If the token is an OIDC JWT, it must use the JWT format defined in [RFC 7523](https://tools.ietf.org/html/rfc7523), and the `subject_token_type` must be either `urn:ietf:params:oauth:token-type:jwt` or `urn:ietf:params:oauth:token-type:id_token`. The following headers are required: - `kid`: The identifier of the signing key securing the JWT. - `alg`: The cryptographic algorithm securing the JWT. Must be `RS256` or `ES256`. The following payload fields are required. For more information, see [RFC 7523, Section 3](https://tools.ietf.org/html/rfc7523#section-3): - `iss`: The issuer of the token. The issuer must provide a discovery document at the URL `/.well-known/openid-configuration`, where `` is the value of this field. The document must be formatted according to section 4.2 of the [OIDC 1.0 Discovery specification](https://openid.net/specs/openid-connect-discovery-1_0.html#ProviderConfigurationResponse). - `iat`: The issue time, in seconds, since the Unix epoch. Must be in the past. - `exp`: The expiration time, in seconds, since the Unix epoch. Must be less than 48 hours after `iat`. Shorter expiration times are more secure. If possible, we recommend setting an expiration time less than 6 hours. - `sub`: The identity asserted in the JWT. - `aud`: For workload identity pools, this must be a value specified in the allowed audiences for the workload identity pool provider, or one of the audiences allowed by default if no audiences were specified. See https://cloud.google.com/iam/docs/reference/rest/v1/projects.locations.workloadIdentityPools.providers#oidc Example header: ``` { \"alg\": \"RS256\", \"kid\": \"us-east-11\" } ``` Example payload: ``` { \"iss\": \"https://accounts.google.com\", \"iat\": 1517963104, \"exp\": 1517966704, \"aud\": \"//iam.googleapis.com/projects/1234567890123/locations/global/workloadIdentityPools/my-pool/providers/my-provider\", \"sub\": \"113475438248934895348\", \"my_claims\": { \"additional_claim\": \"value\" } } ``` If `subject_token` is for AWS, it must be a serialized `GetCallerIdentity` token. This token contains the same information as a request to the AWS [`GetCallerIdentity()`](https://docs.aws.amazon.com/STS/latest/APIReference/API_GetCallerIdentity) method, as well as the AWS [signature](https://docs.aws.amazon.com/general/latest/gr/signing_aws_api_requests.html) for the request information. Use Signature Version 4. Format the request as URL-encoded JSON, and set the `subject_token_type` parameter to `urn:ietf:params:aws:token-type:aws4_request`. The following parameters are required: - `url`: The URL of the AWS STS endpoint for `GetCallerIdentity()`, such as `https://sts.amazonaws.com?Action=GetCallerIdentity&Version=2011-06-15`. Regional endpoints are also supported. - `method`: The HTTP request method: `POST`. - `headers`: The HTTP request headers, which must include: - `Authorization`: The request signature. - `x-amz-date`: The time you will send the request, formatted as an [ISO8601 Basic](https://docs.aws.amazon.com/general/latest/gr/sigv4_elements.html#sigv4_elements_date) string. This value is typically set to the current time and is used to help prevent replay attacks. - `host`: The hostname of the `url` field; for example, `sts.amazonaws.com`. - `x-goog-cloud-target-resource`: The full, canonical resource name of the workload identity pool provider, with or without an `https:` prefix. To help ensure data integrity, we recommend including this header in the `SignedHeaders` field of the signed request. For example: //iam.googleapis.com/projects//locations/global/workloadIdentityPools//providers/ https://iam.googleapis.com/projects//locations/global/workloadIdentityPools//providers/ If you are using temporary security credentials provided by AWS, you must also include the header `x-amz-security-token`, with the value set to the session token. The following example shows a `GetCallerIdentity` token: ``` { \"headers\": [ {\"key\": \"x-amz-date\", \"value\": \"20200815T015049Z\"}, {\"key\": \"Authorization\", \"value\": \"AWS4-HMAC-SHA256+Credential=$credential,+SignedHeaders=host;x-amz-date;x-goog-cloud-target-resource,+Signature=$signature\"}, {\"key\": \"x-goog-cloud-target-resource\", \"value\": \"//iam.googleapis.com/projects//locations/global/workloadIdentityPools//providers/\"}, {\"key\": \"host\", \"value\": \"sts.amazonaws.com\"} . ], \"method\": \"POST\", \"url\": \"https://sts.amazonaws.com?Action=GetCallerIdentity&Version=2011-06-15\" } ``` You can also use a Google-issued OAuth 2.0 access token with this field to obtain an access token with new security attributes applied, such as a Credential Access Boundary. In this case, set `subject_token_type` to `urn:ietf:params:oauth:token-type:access_token`. If an access token already contains security attributes, you cannot apply additional security attributes.", +"type": "string" +}, +"subjectTokenType": { +"description": "Required. An identifier that indicates the type of the security token in the `subject_token` parameter. Supported values are `urn:ietf:params:oauth:token-type:jwt`, `urn:ietf:params:oauth:token-type:id_token`, `urn:ietf:params:aws:token-type:aws4_request`, and `urn:ietf:params:oauth:token-type:access_token`.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleIdentityStsV1betaExchangeTokenResponse": { +"description": "Response message for ExchangeToken.", +"id": "GoogleIdentityStsV1betaExchangeTokenResponse", +"properties": { +"access_token": { +"description": "An OAuth 2.0 security token, issued by Google, in response to the token exchange request. Tokens can vary in size, depending in part on the size of mapped claims, up to a maximum of 12288 bytes (12 KB). Google reserves the right to change the token size and the maximum length at any time.", +"type": "string" +}, +"expires_in": { +"description": "The amount of time, in seconds, between the time when the access token was issued and the time when the access token will expire. This field is absent when the `subject_token` in the request is a Google-issued, short-lived access token. In this case, the access token has the same expiration time as the `subject_token`.", +"format": "int32", +"type": "integer" +}, +"issued_token_type": { +"description": "The token type. Always matches the value of `requested_token_type` from the request.", +"type": "string" +}, +"token_type": { +"description": "The type of access token. Always has the value `Bearer`.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleIdentityStsV1betaOptions": { +"description": "An `Options` object configures features that the Security Token Service supports, but that are not supported by standard OAuth 2.0 token exchange endpoints, as defined in https://tools.ietf.org/html/rfc8693.", +"id": "GoogleIdentityStsV1betaOptions", +"properties": { +"accessBoundary": { +"$ref": "GoogleIdentityStsV1betaAccessBoundary", +"description": "An access boundary that defines the upper bound of permissions the credential may have. The value should be a JSON object of AccessBoundary. The access boundary can include up to 10 rules. The size of the parameter value should not exceed 2048 characters." +}, +"userProject": { +"description": "A Google project used for quota and billing purposes when the credential is used to access Google APIs. The provided project overrides the project bound to the credential. The value must be a project number or a project ID. Example: `my-sample-project-191923`. The maximum length is 32 characters.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleTypeExpr": { +"description": "Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: \"Summary size limit\" description: \"Determines if a summary is less than 100 chars\" expression: \"document.summary.size() < 100\" Example (Equality): title: \"Requestor is owner\" description: \"Determines if requestor is the document owner\" expression: \"document.owner == request.auth.claims.email\" Example (Logic): title: \"Public documents\" description: \"Determine whether the document should be publicly visible\" expression: \"document.type != 'private' && document.type != 'internal'\" Example (Data Manipulation): title: \"Notification string\" description: \"Create a notification string with a timestamp.\" expression: \"'New message received at ' + string(document.create_time)\" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information.", +"id": "GoogleTypeExpr", +"properties": { +"description": { +"description": "Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI.", +"type": "string" +}, +"expression": { +"description": "Textual representation of an expression in Common Expression Language syntax.", +"type": "string" +}, +"location": { +"description": "Optional. String indicating the location of the expression for error reporting, e.g. a file name and a position in the file.", +"type": "string" +}, +"title": { +"description": "Optional. Title for the expression, i.e. a short string describing its purpose. This can be used e.g. in UIs which allow to enter the expression.", +"type": "string" +} +}, +"type": "object" +} +}, +"servicePath": "", +"title": "Security Token Service API", +"version": "v1beta", +"version_module": true +} \ No newline at end of file diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/tagmanager.v1.json b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/tagmanager.v1.json new file mode 100644 index 0000000000000000000000000000000000000000..ce3319dc48b223953a0c6614220045c1a17740db --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/tagmanager.v1.json @@ -0,0 +1,3241 @@ +{ +"auth": { +"oauth2": { +"scopes": { +"https://www.googleapis.com/auth/tagmanager.delete.containers": { +"description": "Delete your Google Tag Manager containers" +}, +"https://www.googleapis.com/auth/tagmanager.edit.containers": { +"description": "Manage your Google Tag Manager container and its subcomponents, excluding versioning and publishing" +}, +"https://www.googleapis.com/auth/tagmanager.edit.containerversions": { +"description": "Manage your Google Tag Manager container versions" +}, +"https://www.googleapis.com/auth/tagmanager.manage.accounts": { +"description": "View and manage your Google Tag Manager accounts" +}, +"https://www.googleapis.com/auth/tagmanager.manage.users": { +"description": "Manage user permissions of your Google Tag Manager account and container" +}, +"https://www.googleapis.com/auth/tagmanager.publish": { +"description": "Publish your Google Tag Manager container versions" +}, +"https://www.googleapis.com/auth/tagmanager.readonly": { +"description": "View your Google Tag Manager container and its subcomponents" +} +} +} +}, +"basePath": "", +"baseUrl": "https://tagmanager.googleapis.com/", +"batchPath": "batch", +"canonicalName": "Tag Manager", +"description": "This API allows clients to access and modify container and tag configuration.", +"discoveryVersion": "v1", +"documentationLink": "https://developers.google.com/tag-manager", +"icons": { +"x16": "http://www.google.com/images/icons/product/search-16.gif", +"x32": "http://www.google.com/images/icons/product/search-32.gif" +}, +"id": "tagmanager:v1", +"kind": "discovery#restDescription", +"mtlsRootUrl": "https://tagmanager.mtls.googleapis.com/", +"name": "tagmanager", +"ownerDomain": "google.com", +"ownerName": "Google", +"parameters": { +"$.xgafv": { +"description": "V1 error format.", +"enum": [ +"1", +"2" +], +"enumDescriptions": [ +"v1 error format", +"v2 error format" +], +"location": "query", +"type": "string" +}, +"access_token": { +"description": "OAuth access token.", +"location": "query", +"type": "string" +}, +"alt": { +"default": "json", +"description": "Data format for response.", +"enum": [ +"json", +"media", +"proto" +], +"enumDescriptions": [ +"Responses with Content-Type of application/json", +"Media download with context-dependent Content-Type", +"Responses with Content-Type of application/x-protobuf" +], +"location": "query", +"type": "string" +}, +"callback": { +"description": "JSONP", +"location": "query", +"type": "string" +}, +"fields": { +"description": "Selector specifying which fields to include in a partial response.", +"location": "query", +"type": "string" +}, +"key": { +"description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", +"location": "query", +"type": "string" +}, +"oauth_token": { +"description": "OAuth 2.0 token for the current user.", +"location": "query", +"type": "string" +}, +"prettyPrint": { +"default": "true", +"description": "Returns response with indentations and line breaks.", +"location": "query", +"type": "boolean" +}, +"quotaUser": { +"description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.", +"location": "query", +"type": "string" +}, +"uploadType": { +"description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", +"location": "query", +"type": "string" +}, +"upload_protocol": { +"description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", +"location": "query", +"type": "string" +} +}, +"protocol": "rest", +"resources": { +"accounts": { +"methods": { +"get": { +"description": "Gets a GTM Account.", +"flatPath": "tagmanager/v1/accounts/{accountId}", +"httpMethod": "GET", +"id": "tagmanager.accounts.get", +"parameterOrder": [ +"accountId" +], +"parameters": { +"accountId": { +"description": "The GTM Account ID.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "tagmanager/v1/accounts/{accountId}", +"response": { +"$ref": "Account" +}, +"scopes": [ +"https://www.googleapis.com/auth/tagmanager.edit.containers", +"https://www.googleapis.com/auth/tagmanager.manage.accounts", +"https://www.googleapis.com/auth/tagmanager.readonly" +] +}, +"list": { +"description": "Lists all GTM Accounts that a user has access to.", +"flatPath": "tagmanager/v1/accounts", +"httpMethod": "GET", +"id": "tagmanager.accounts.list", +"parameterOrder": [], +"parameters": {}, +"path": "tagmanager/v1/accounts", +"response": { +"$ref": "ListAccountsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/tagmanager.edit.containers", +"https://www.googleapis.com/auth/tagmanager.manage.accounts", +"https://www.googleapis.com/auth/tagmanager.readonly" +] +}, +"update": { +"description": "Updates a GTM Account.", +"flatPath": "tagmanager/v1/accounts/{accountId}", +"httpMethod": "PUT", +"id": "tagmanager.accounts.update", +"parameterOrder": [ +"accountId" +], +"parameters": { +"accountId": { +"description": "The GTM Account ID.", +"location": "path", +"required": true, +"type": "string" +}, +"fingerprint": { +"description": "When provided, this fingerprint must match the fingerprint of the account in storage.", +"location": "query", +"type": "string" +} +}, +"path": "tagmanager/v1/accounts/{accountId}", +"request": { +"$ref": "Account" +}, +"response": { +"$ref": "Account" +}, +"scopes": [ +"https://www.googleapis.com/auth/tagmanager.manage.accounts" +] +} +}, +"resources": { +"containers": { +"methods": { +"create": { +"description": "Creates a Container.", +"flatPath": "tagmanager/v1/accounts/{accountId}/containers", +"httpMethod": "POST", +"id": "tagmanager.accounts.containers.create", +"parameterOrder": [ +"accountId" +], +"parameters": { +"accountId": { +"description": "The GTM Account ID.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "tagmanager/v1/accounts/{accountId}/containers", +"request": { +"$ref": "Container" +}, +"response": { +"$ref": "Container" +}, +"scopes": [ +"https://www.googleapis.com/auth/tagmanager.edit.containers" +] +}, +"delete": { +"description": "Deletes a Container.", +"flatPath": "tagmanager/v1/accounts/{accountId}/containers/{containerId}", +"httpMethod": "DELETE", +"id": "tagmanager.accounts.containers.delete", +"parameterOrder": [ +"accountId", +"containerId" +], +"parameters": { +"accountId": { +"description": "The GTM Account ID.", +"location": "path", +"required": true, +"type": "string" +}, +"containerId": { +"description": "The GTM Container ID.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "tagmanager/v1/accounts/{accountId}/containers/{containerId}", +"scopes": [ +"https://www.googleapis.com/auth/tagmanager.delete.containers" +] +}, +"get": { +"description": "Gets a Container.", +"flatPath": "tagmanager/v1/accounts/{accountId}/containers/{containerId}", +"httpMethod": "GET", +"id": "tagmanager.accounts.containers.get", +"parameterOrder": [ +"accountId", +"containerId" +], +"parameters": { +"accountId": { +"description": "The GTM Account ID.", +"location": "path", +"required": true, +"type": "string" +}, +"containerId": { +"description": "The GTM Container ID.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "tagmanager/v1/accounts/{accountId}/containers/{containerId}", +"response": { +"$ref": "Container" +}, +"scopes": [ +"https://www.googleapis.com/auth/tagmanager.edit.containers", +"https://www.googleapis.com/auth/tagmanager.readonly" +] +}, +"list": { +"description": "Lists all Containers that belongs to a GTM Account.", +"flatPath": "tagmanager/v1/accounts/{accountId}/containers", +"httpMethod": "GET", +"id": "tagmanager.accounts.containers.list", +"parameterOrder": [ +"accountId" +], +"parameters": { +"accountId": { +"description": "The GTM Account ID.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "tagmanager/v1/accounts/{accountId}/containers", +"response": { +"$ref": "ListContainersResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/tagmanager.edit.containers", +"https://www.googleapis.com/auth/tagmanager.readonly" +] +}, +"update": { +"description": "Updates a Container.", +"flatPath": "tagmanager/v1/accounts/{accountId}/containers/{containerId}", +"httpMethod": "PUT", +"id": "tagmanager.accounts.containers.update", +"parameterOrder": [ +"accountId", +"containerId" +], +"parameters": { +"accountId": { +"description": "The GTM Account ID.", +"location": "path", +"required": true, +"type": "string" +}, +"containerId": { +"description": "The GTM Container ID.", +"location": "path", +"required": true, +"type": "string" +}, +"fingerprint": { +"description": "When provided, this fingerprint must match the fingerprint of the container in storage.", +"location": "query", +"type": "string" +} +}, +"path": "tagmanager/v1/accounts/{accountId}/containers/{containerId}", +"request": { +"$ref": "Container" +}, +"response": { +"$ref": "Container" +}, +"scopes": [ +"https://www.googleapis.com/auth/tagmanager.edit.containers" +] +} +}, +"resources": { +"environments": { +"methods": { +"create": { +"description": "Creates a GTM Environment.", +"flatPath": "tagmanager/v1/accounts/{accountId}/containers/{containerId}/environments", +"httpMethod": "POST", +"id": "tagmanager.accounts.containers.environments.create", +"parameterOrder": [ +"accountId", +"containerId" +], +"parameters": { +"accountId": { +"description": "The GTM Account ID.", +"location": "path", +"required": true, +"type": "string" +}, +"containerId": { +"description": "The GTM Container ID.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "tagmanager/v1/accounts/{accountId}/containers/{containerId}/environments", +"request": { +"$ref": "Environment" +}, +"response": { +"$ref": "Environment" +}, +"scopes": [ +"https://www.googleapis.com/auth/tagmanager.edit.containers" +] +}, +"delete": { +"description": "Deletes a GTM Environment.", +"flatPath": "tagmanager/v1/accounts/{accountId}/containers/{containerId}/environments/{environmentId}", +"httpMethod": "DELETE", +"id": "tagmanager.accounts.containers.environments.delete", +"parameterOrder": [ +"accountId", +"containerId", +"environmentId" +], +"parameters": { +"accountId": { +"description": "The GTM Account ID.", +"location": "path", +"required": true, +"type": "string" +}, +"containerId": { +"description": "The GTM Container ID.", +"location": "path", +"required": true, +"type": "string" +}, +"environmentId": { +"description": "The GTM Environment ID.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "tagmanager/v1/accounts/{accountId}/containers/{containerId}/environments/{environmentId}", +"scopes": [ +"https://www.googleapis.com/auth/tagmanager.edit.containers" +] +}, +"get": { +"description": "Gets a GTM Environment.", +"flatPath": "tagmanager/v1/accounts/{accountId}/containers/{containerId}/environments/{environmentId}", +"httpMethod": "GET", +"id": "tagmanager.accounts.containers.environments.get", +"parameterOrder": [ +"accountId", +"containerId", +"environmentId" +], +"parameters": { +"accountId": { +"description": "The GTM Account ID.", +"location": "path", +"required": true, +"type": "string" +}, +"containerId": { +"description": "The GTM Container ID.", +"location": "path", +"required": true, +"type": "string" +}, +"environmentId": { +"description": "The GTM Environment ID.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "tagmanager/v1/accounts/{accountId}/containers/{containerId}/environments/{environmentId}", +"response": { +"$ref": "Environment" +}, +"scopes": [ +"https://www.googleapis.com/auth/tagmanager.edit.containers", +"https://www.googleapis.com/auth/tagmanager.readonly" +] +}, +"list": { +"description": "Lists all GTM Environments of a GTM Container.", +"flatPath": "tagmanager/v1/accounts/{accountId}/containers/{containerId}/environments", +"httpMethod": "GET", +"id": "tagmanager.accounts.containers.environments.list", +"parameterOrder": [ +"accountId", +"containerId" +], +"parameters": { +"accountId": { +"description": "The GTM Account ID.", +"location": "path", +"required": true, +"type": "string" +}, +"containerId": { +"description": "The GTM Container ID.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "tagmanager/v1/accounts/{accountId}/containers/{containerId}/environments", +"response": { +"$ref": "ListEnvironmentsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/tagmanager.edit.containers", +"https://www.googleapis.com/auth/tagmanager.readonly" +] +}, +"update": { +"description": "Updates a GTM Environment.", +"flatPath": "tagmanager/v1/accounts/{accountId}/containers/{containerId}/environments/{environmentId}", +"httpMethod": "PUT", +"id": "tagmanager.accounts.containers.environments.update", +"parameterOrder": [ +"accountId", +"containerId", +"environmentId" +], +"parameters": { +"accountId": { +"description": "The GTM Account ID.", +"location": "path", +"required": true, +"type": "string" +}, +"containerId": { +"description": "The GTM Container ID.", +"location": "path", +"required": true, +"type": "string" +}, +"environmentId": { +"description": "The GTM Environment ID.", +"location": "path", +"required": true, +"type": "string" +}, +"fingerprint": { +"description": "When provided, this fingerprint must match the fingerprint of the environment in storage.", +"location": "query", +"type": "string" +} +}, +"path": "tagmanager/v1/accounts/{accountId}/containers/{containerId}/environments/{environmentId}", +"request": { +"$ref": "Environment" +}, +"response": { +"$ref": "Environment" +}, +"scopes": [ +"https://www.googleapis.com/auth/tagmanager.edit.containers" +] +} +} +}, +"folders": { +"methods": { +"create": { +"description": "Creates a GTM Folder.", +"flatPath": "tagmanager/v1/accounts/{accountId}/containers/{containerId}/folders", +"httpMethod": "POST", +"id": "tagmanager.accounts.containers.folders.create", +"parameterOrder": [ +"accountId", +"containerId" +], +"parameters": { +"accountId": { +"description": "The GTM Account ID.", +"location": "path", +"required": true, +"type": "string" +}, +"containerId": { +"description": "The GTM Container ID.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "tagmanager/v1/accounts/{accountId}/containers/{containerId}/folders", +"request": { +"$ref": "Folder" +}, +"response": { +"$ref": "Folder" +}, +"scopes": [ +"https://www.googleapis.com/auth/tagmanager.edit.containers" +] +}, +"delete": { +"description": "Deletes a GTM Folder.", +"flatPath": "tagmanager/v1/accounts/{accountId}/containers/{containerId}/folders/{folderId}", +"httpMethod": "DELETE", +"id": "tagmanager.accounts.containers.folders.delete", +"parameterOrder": [ +"accountId", +"containerId", +"folderId" +], +"parameters": { +"accountId": { +"description": "The GTM Account ID.", +"location": "path", +"required": true, +"type": "string" +}, +"containerId": { +"description": "The GTM Container ID.", +"location": "path", +"required": true, +"type": "string" +}, +"folderId": { +"description": "The GTM Folder ID.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "tagmanager/v1/accounts/{accountId}/containers/{containerId}/folders/{folderId}", +"scopes": [ +"https://www.googleapis.com/auth/tagmanager.edit.containers" +] +}, +"get": { +"description": "Gets a GTM Folder.", +"flatPath": "tagmanager/v1/accounts/{accountId}/containers/{containerId}/folders/{folderId}", +"httpMethod": "GET", +"id": "tagmanager.accounts.containers.folders.get", +"parameterOrder": [ +"accountId", +"containerId", +"folderId" +], +"parameters": { +"accountId": { +"description": "The GTM Account ID.", +"location": "path", +"required": true, +"type": "string" +}, +"containerId": { +"description": "The GTM Container ID.", +"location": "path", +"required": true, +"type": "string" +}, +"folderId": { +"description": "The GTM Folder ID.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "tagmanager/v1/accounts/{accountId}/containers/{containerId}/folders/{folderId}", +"response": { +"$ref": "Folder" +}, +"scopes": [ +"https://www.googleapis.com/auth/tagmanager.edit.containers", +"https://www.googleapis.com/auth/tagmanager.readonly" +] +}, +"list": { +"description": "Lists all GTM Folders of a Container.", +"flatPath": "tagmanager/v1/accounts/{accountId}/containers/{containerId}/folders", +"httpMethod": "GET", +"id": "tagmanager.accounts.containers.folders.list", +"parameterOrder": [ +"accountId", +"containerId" +], +"parameters": { +"accountId": { +"description": "The GTM Account ID.", +"location": "path", +"required": true, +"type": "string" +}, +"containerId": { +"description": "The GTM Container ID.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "tagmanager/v1/accounts/{accountId}/containers/{containerId}/folders", +"response": { +"$ref": "ListFoldersResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/tagmanager.edit.containers", +"https://www.googleapis.com/auth/tagmanager.readonly" +] +}, +"update": { +"description": "Updates a GTM Folder.", +"flatPath": "tagmanager/v1/accounts/{accountId}/containers/{containerId}/folders/{folderId}", +"httpMethod": "PUT", +"id": "tagmanager.accounts.containers.folders.update", +"parameterOrder": [ +"accountId", +"containerId", +"folderId" +], +"parameters": { +"accountId": { +"description": "The GTM Account ID.", +"location": "path", +"required": true, +"type": "string" +}, +"containerId": { +"description": "The GTM Container ID.", +"location": "path", +"required": true, +"type": "string" +}, +"fingerprint": { +"description": "When provided, this fingerprint must match the fingerprint of the folder in storage.", +"location": "query", +"type": "string" +}, +"folderId": { +"description": "The GTM Folder ID.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "tagmanager/v1/accounts/{accountId}/containers/{containerId}/folders/{folderId}", +"request": { +"$ref": "Folder" +}, +"response": { +"$ref": "Folder" +}, +"scopes": [ +"https://www.googleapis.com/auth/tagmanager.edit.containers" +] +} +}, +"resources": { +"entities": { +"methods": { +"list": { +"description": "List all entities in a GTM Folder.", +"flatPath": "tagmanager/v1/accounts/{accountId}/containers/{containerId}/folders/{folderId}/entities", +"httpMethod": "GET", +"id": "tagmanager.accounts.containers.folders.entities.list", +"parameterOrder": [ +"accountId", +"containerId", +"folderId" +], +"parameters": { +"accountId": { +"description": "The GTM Account ID.", +"location": "path", +"required": true, +"type": "string" +}, +"containerId": { +"description": "The GTM Container ID.", +"location": "path", +"required": true, +"type": "string" +}, +"folderId": { +"description": "The GTM Folder ID.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "tagmanager/v1/accounts/{accountId}/containers/{containerId}/folders/{folderId}/entities", +"response": { +"$ref": "FolderEntities" +}, +"scopes": [ +"https://www.googleapis.com/auth/tagmanager.edit.containers", +"https://www.googleapis.com/auth/tagmanager.readonly" +] +} +} +} +} +}, +"move_folders": { +"methods": { +"update": { +"description": "Moves entities to a GTM Folder.", +"flatPath": "tagmanager/v1/accounts/{accountId}/containers/{containerId}/move_folders/{folderId}", +"httpMethod": "PUT", +"id": "tagmanager.accounts.containers.move_folders.update", +"parameterOrder": [ +"accountId", +"containerId", +"folderId" +], +"parameters": { +"accountId": { +"description": "The GTM Account ID.", +"location": "path", +"required": true, +"type": "string" +}, +"containerId": { +"description": "The GTM Container ID.", +"location": "path", +"required": true, +"type": "string" +}, +"folderId": { +"description": "The GTM Folder ID.", +"location": "path", +"required": true, +"type": "string" +}, +"tagId": { +"description": "The tags to be moved to the folder.", +"location": "query", +"repeated": true, +"type": "string" +}, +"triggerId": { +"description": "The triggers to be moved to the folder.", +"location": "query", +"repeated": true, +"type": "string" +}, +"variableId": { +"description": "The variables to be moved to the folder.", +"location": "query", +"repeated": true, +"type": "string" +} +}, +"path": "tagmanager/v1/accounts/{accountId}/containers/{containerId}/move_folders/{folderId}", +"request": { +"$ref": "Folder" +}, +"scopes": [ +"https://www.googleapis.com/auth/tagmanager.edit.containers" +] +} +} +}, +"reauthorize_environments": { +"methods": { +"update": { +"description": "Re-generates the authorization code for a GTM Environment.", +"flatPath": "tagmanager/v1/accounts/{accountId}/containers/{containerId}/reauthorize_environments/{environmentId}", +"httpMethod": "PUT", +"id": "tagmanager.accounts.containers.reauthorize_environments.update", +"parameterOrder": [ +"accountId", +"containerId", +"environmentId" +], +"parameters": { +"accountId": { +"description": "The GTM Account ID.", +"location": "path", +"required": true, +"type": "string" +}, +"containerId": { +"description": "The GTM Container ID.", +"location": "path", +"required": true, +"type": "string" +}, +"environmentId": { +"description": "The GTM Environment ID.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "tagmanager/v1/accounts/{accountId}/containers/{containerId}/reauthorize_environments/{environmentId}", +"request": { +"$ref": "Environment" +}, +"response": { +"$ref": "Environment" +}, +"scopes": [ +"https://www.googleapis.com/auth/tagmanager.publish" +] +} +} +}, +"tags": { +"methods": { +"create": { +"description": "Creates a GTM Tag.", +"flatPath": "tagmanager/v1/accounts/{accountId}/containers/{containerId}/tags", +"httpMethod": "POST", +"id": "tagmanager.accounts.containers.tags.create", +"parameterOrder": [ +"accountId", +"containerId" +], +"parameters": { +"accountId": { +"description": "The GTM Account ID.", +"location": "path", +"required": true, +"type": "string" +}, +"containerId": { +"description": "The GTM Container ID.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "tagmanager/v1/accounts/{accountId}/containers/{containerId}/tags", +"request": { +"$ref": "Tag" +}, +"response": { +"$ref": "Tag" +}, +"scopes": [ +"https://www.googleapis.com/auth/tagmanager.edit.containers" +] +}, +"delete": { +"description": "Deletes a GTM Tag.", +"flatPath": "tagmanager/v1/accounts/{accountId}/containers/{containerId}/tags/{tagId}", +"httpMethod": "DELETE", +"id": "tagmanager.accounts.containers.tags.delete", +"parameterOrder": [ +"accountId", +"containerId", +"tagId" +], +"parameters": { +"accountId": { +"description": "The GTM Account ID.", +"location": "path", +"required": true, +"type": "string" +}, +"containerId": { +"description": "The GTM Container ID.", +"location": "path", +"required": true, +"type": "string" +}, +"tagId": { +"description": "The GTM Tag ID.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "tagmanager/v1/accounts/{accountId}/containers/{containerId}/tags/{tagId}", +"scopes": [ +"https://www.googleapis.com/auth/tagmanager.edit.containers" +] +}, +"get": { +"description": "Gets a GTM Tag.", +"flatPath": "tagmanager/v1/accounts/{accountId}/containers/{containerId}/tags/{tagId}", +"httpMethod": "GET", +"id": "tagmanager.accounts.containers.tags.get", +"parameterOrder": [ +"accountId", +"containerId", +"tagId" +], +"parameters": { +"accountId": { +"description": "The GTM Account ID.", +"location": "path", +"required": true, +"type": "string" +}, +"containerId": { +"description": "The GTM Container ID.", +"location": "path", +"required": true, +"type": "string" +}, +"tagId": { +"description": "The GTM Tag ID.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "tagmanager/v1/accounts/{accountId}/containers/{containerId}/tags/{tagId}", +"response": { +"$ref": "Tag" +}, +"scopes": [ +"https://www.googleapis.com/auth/tagmanager.edit.containers", +"https://www.googleapis.com/auth/tagmanager.readonly" +] +}, +"list": { +"description": "Lists all GTM Tags of a Container.", +"flatPath": "tagmanager/v1/accounts/{accountId}/containers/{containerId}/tags", +"httpMethod": "GET", +"id": "tagmanager.accounts.containers.tags.list", +"parameterOrder": [ +"accountId", +"containerId" +], +"parameters": { +"accountId": { +"description": "The GTM Account ID.", +"location": "path", +"required": true, +"type": "string" +}, +"containerId": { +"description": "The GTM Container ID.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "tagmanager/v1/accounts/{accountId}/containers/{containerId}/tags", +"response": { +"$ref": "ListTagsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/tagmanager.edit.containers", +"https://www.googleapis.com/auth/tagmanager.readonly" +] +}, +"update": { +"description": "Updates a GTM Tag.", +"flatPath": "tagmanager/v1/accounts/{accountId}/containers/{containerId}/tags/{tagId}", +"httpMethod": "PUT", +"id": "tagmanager.accounts.containers.tags.update", +"parameterOrder": [ +"accountId", +"containerId", +"tagId" +], +"parameters": { +"accountId": { +"description": "The GTM Account ID.", +"location": "path", +"required": true, +"type": "string" +}, +"containerId": { +"description": "The GTM Container ID.", +"location": "path", +"required": true, +"type": "string" +}, +"fingerprint": { +"description": "When provided, this fingerprint must match the fingerprint of the tag in storage.", +"location": "query", +"type": "string" +}, +"tagId": { +"description": "The GTM Tag ID.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "tagmanager/v1/accounts/{accountId}/containers/{containerId}/tags/{tagId}", +"request": { +"$ref": "Tag" +}, +"response": { +"$ref": "Tag" +}, +"scopes": [ +"https://www.googleapis.com/auth/tagmanager.edit.containers" +] +} +} +}, +"triggers": { +"methods": { +"create": { +"description": "Creates a GTM Trigger.", +"flatPath": "tagmanager/v1/accounts/{accountId}/containers/{containerId}/triggers", +"httpMethod": "POST", +"id": "tagmanager.accounts.containers.triggers.create", +"parameterOrder": [ +"accountId", +"containerId" +], +"parameters": { +"accountId": { +"description": "The GTM Account ID.", +"location": "path", +"required": true, +"type": "string" +}, +"containerId": { +"description": "The GTM Container ID.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "tagmanager/v1/accounts/{accountId}/containers/{containerId}/triggers", +"request": { +"$ref": "Trigger" +}, +"response": { +"$ref": "Trigger" +}, +"scopes": [ +"https://www.googleapis.com/auth/tagmanager.edit.containers" +] +}, +"delete": { +"description": "Deletes a GTM Trigger.", +"flatPath": "tagmanager/v1/accounts/{accountId}/containers/{containerId}/triggers/{triggerId}", +"httpMethod": "DELETE", +"id": "tagmanager.accounts.containers.triggers.delete", +"parameterOrder": [ +"accountId", +"containerId", +"triggerId" +], +"parameters": { +"accountId": { +"description": "The GTM Account ID.", +"location": "path", +"required": true, +"type": "string" +}, +"containerId": { +"description": "The GTM Container ID.", +"location": "path", +"required": true, +"type": "string" +}, +"triggerId": { +"description": "The GTM Trigger ID.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "tagmanager/v1/accounts/{accountId}/containers/{containerId}/triggers/{triggerId}", +"scopes": [ +"https://www.googleapis.com/auth/tagmanager.edit.containers" +] +}, +"get": { +"description": "Gets a GTM Trigger.", +"flatPath": "tagmanager/v1/accounts/{accountId}/containers/{containerId}/triggers/{triggerId}", +"httpMethod": "GET", +"id": "tagmanager.accounts.containers.triggers.get", +"parameterOrder": [ +"accountId", +"containerId", +"triggerId" +], +"parameters": { +"accountId": { +"description": "The GTM Account ID.", +"location": "path", +"required": true, +"type": "string" +}, +"containerId": { +"description": "The GTM Container ID.", +"location": "path", +"required": true, +"type": "string" +}, +"triggerId": { +"description": "The GTM Trigger ID.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "tagmanager/v1/accounts/{accountId}/containers/{containerId}/triggers/{triggerId}", +"response": { +"$ref": "Trigger" +}, +"scopes": [ +"https://www.googleapis.com/auth/tagmanager.edit.containers", +"https://www.googleapis.com/auth/tagmanager.readonly" +] +}, +"list": { +"description": "Lists all GTM Triggers of a Container.", +"flatPath": "tagmanager/v1/accounts/{accountId}/containers/{containerId}/triggers", +"httpMethod": "GET", +"id": "tagmanager.accounts.containers.triggers.list", +"parameterOrder": [ +"accountId", +"containerId" +], +"parameters": { +"accountId": { +"description": "The GTM Account ID.", +"location": "path", +"required": true, +"type": "string" +}, +"containerId": { +"description": "The GTM Container ID.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "tagmanager/v1/accounts/{accountId}/containers/{containerId}/triggers", +"response": { +"$ref": "ListTriggersResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/tagmanager.edit.containers", +"https://www.googleapis.com/auth/tagmanager.readonly" +] +}, +"update": { +"description": "Updates a GTM Trigger.", +"flatPath": "tagmanager/v1/accounts/{accountId}/containers/{containerId}/triggers/{triggerId}", +"httpMethod": "PUT", +"id": "tagmanager.accounts.containers.triggers.update", +"parameterOrder": [ +"accountId", +"containerId", +"triggerId" +], +"parameters": { +"accountId": { +"description": "The GTM Account ID.", +"location": "path", +"required": true, +"type": "string" +}, +"containerId": { +"description": "The GTM Container ID.", +"location": "path", +"required": true, +"type": "string" +}, +"fingerprint": { +"description": "When provided, this fingerprint must match the fingerprint of the trigger in storage.", +"location": "query", +"type": "string" +}, +"triggerId": { +"description": "The GTM Trigger ID.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "tagmanager/v1/accounts/{accountId}/containers/{containerId}/triggers/{triggerId}", +"request": { +"$ref": "Trigger" +}, +"response": { +"$ref": "Trigger" +}, +"scopes": [ +"https://www.googleapis.com/auth/tagmanager.edit.containers" +] +} +} +}, +"variables": { +"methods": { +"create": { +"description": "Creates a GTM Variable.", +"flatPath": "tagmanager/v1/accounts/{accountId}/containers/{containerId}/variables", +"httpMethod": "POST", +"id": "tagmanager.accounts.containers.variables.create", +"parameterOrder": [ +"accountId", +"containerId" +], +"parameters": { +"accountId": { +"description": "The GTM Account ID.", +"location": "path", +"required": true, +"type": "string" +}, +"containerId": { +"description": "The GTM Container ID.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "tagmanager/v1/accounts/{accountId}/containers/{containerId}/variables", +"request": { +"$ref": "Variable" +}, +"response": { +"$ref": "Variable" +}, +"scopes": [ +"https://www.googleapis.com/auth/tagmanager.edit.containers" +] +}, +"delete": { +"description": "Deletes a GTM Variable.", +"flatPath": "tagmanager/v1/accounts/{accountId}/containers/{containerId}/variables/{variableId}", +"httpMethod": "DELETE", +"id": "tagmanager.accounts.containers.variables.delete", +"parameterOrder": [ +"accountId", +"containerId", +"variableId" +], +"parameters": { +"accountId": { +"description": "The GTM Account ID.", +"location": "path", +"required": true, +"type": "string" +}, +"containerId": { +"description": "The GTM Container ID.", +"location": "path", +"required": true, +"type": "string" +}, +"variableId": { +"description": "The GTM Variable ID.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "tagmanager/v1/accounts/{accountId}/containers/{containerId}/variables/{variableId}", +"scopes": [ +"https://www.googleapis.com/auth/tagmanager.edit.containers" +] +}, +"get": { +"description": "Gets a GTM Variable.", +"flatPath": "tagmanager/v1/accounts/{accountId}/containers/{containerId}/variables/{variableId}", +"httpMethod": "GET", +"id": "tagmanager.accounts.containers.variables.get", +"parameterOrder": [ +"accountId", +"containerId", +"variableId" +], +"parameters": { +"accountId": { +"description": "The GTM Account ID.", +"location": "path", +"required": true, +"type": "string" +}, +"containerId": { +"description": "The GTM Container ID.", +"location": "path", +"required": true, +"type": "string" +}, +"variableId": { +"description": "The GTM Variable ID.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "tagmanager/v1/accounts/{accountId}/containers/{containerId}/variables/{variableId}", +"response": { +"$ref": "Variable" +}, +"scopes": [ +"https://www.googleapis.com/auth/tagmanager.edit.containers", +"https://www.googleapis.com/auth/tagmanager.readonly" +] +}, +"list": { +"description": "Lists all GTM Variables of a Container.", +"flatPath": "tagmanager/v1/accounts/{accountId}/containers/{containerId}/variables", +"httpMethod": "GET", +"id": "tagmanager.accounts.containers.variables.list", +"parameterOrder": [ +"accountId", +"containerId" +], +"parameters": { +"accountId": { +"description": "The GTM Account ID.", +"location": "path", +"required": true, +"type": "string" +}, +"containerId": { +"description": "The GTM Container ID.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "tagmanager/v1/accounts/{accountId}/containers/{containerId}/variables", +"response": { +"$ref": "ListVariablesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/tagmanager.edit.containers", +"https://www.googleapis.com/auth/tagmanager.readonly" +] +}, +"update": { +"description": "Updates a GTM Variable.", +"flatPath": "tagmanager/v1/accounts/{accountId}/containers/{containerId}/variables/{variableId}", +"httpMethod": "PUT", +"id": "tagmanager.accounts.containers.variables.update", +"parameterOrder": [ +"accountId", +"containerId", +"variableId" +], +"parameters": { +"accountId": { +"description": "The GTM Account ID.", +"location": "path", +"required": true, +"type": "string" +}, +"containerId": { +"description": "The GTM Container ID.", +"location": "path", +"required": true, +"type": "string" +}, +"fingerprint": { +"description": "When provided, this fingerprint must match the fingerprint of the variable in storage.", +"location": "query", +"type": "string" +}, +"variableId": { +"description": "The GTM Variable ID.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "tagmanager/v1/accounts/{accountId}/containers/{containerId}/variables/{variableId}", +"request": { +"$ref": "Variable" +}, +"response": { +"$ref": "Variable" +}, +"scopes": [ +"https://www.googleapis.com/auth/tagmanager.edit.containers" +] +} +} +}, +"versions": { +"methods": { +"create": { +"description": "Creates a Container Version.", +"flatPath": "tagmanager/v1/accounts/{accountId}/containers/{containerId}/versions", +"httpMethod": "POST", +"id": "tagmanager.accounts.containers.versions.create", +"parameterOrder": [ +"accountId", +"containerId" +], +"parameters": { +"accountId": { +"description": "The GTM Account ID.", +"location": "path", +"required": true, +"type": "string" +}, +"containerId": { +"description": "The GTM Container ID.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "tagmanager/v1/accounts/{accountId}/containers/{containerId}/versions", +"request": { +"$ref": "CreateContainerVersionRequestVersionOptions" +}, +"response": { +"$ref": "CreateContainerVersionResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/tagmanager.edit.containerversions" +] +}, +"delete": { +"description": "Deletes a Container Version.", +"flatPath": "tagmanager/v1/accounts/{accountId}/containers/{containerId}/versions/{containerVersionId}", +"httpMethod": "DELETE", +"id": "tagmanager.accounts.containers.versions.delete", +"parameterOrder": [ +"accountId", +"containerId", +"containerVersionId" +], +"parameters": { +"accountId": { +"description": "The GTM Account ID.", +"location": "path", +"required": true, +"type": "string" +}, +"containerId": { +"description": "The GTM Container ID.", +"location": "path", +"required": true, +"type": "string" +}, +"containerVersionId": { +"description": "The GTM Container Version ID.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "tagmanager/v1/accounts/{accountId}/containers/{containerId}/versions/{containerVersionId}", +"scopes": [ +"https://www.googleapis.com/auth/tagmanager.edit.containerversions" +] +}, +"get": { +"description": "Gets a Container Version.", +"flatPath": "tagmanager/v1/accounts/{accountId}/containers/{containerId}/versions/{containerVersionId}", +"httpMethod": "GET", +"id": "tagmanager.accounts.containers.versions.get", +"parameterOrder": [ +"accountId", +"containerId", +"containerVersionId" +], +"parameters": { +"accountId": { +"description": "The GTM Account ID.", +"location": "path", +"required": true, +"type": "string" +}, +"containerId": { +"description": "The GTM Container ID.", +"location": "path", +"required": true, +"type": "string" +}, +"containerVersionId": { +"description": "The GTM Container Version ID. Specify published to retrieve the currently published version.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "tagmanager/v1/accounts/{accountId}/containers/{containerId}/versions/{containerVersionId}", +"response": { +"$ref": "ContainerVersion" +}, +"scopes": [ +"https://www.googleapis.com/auth/tagmanager.edit.containers", +"https://www.googleapis.com/auth/tagmanager.edit.containerversions", +"https://www.googleapis.com/auth/tagmanager.readonly" +] +}, +"list": { +"description": "Lists all Container Versions of a GTM Container.", +"flatPath": "tagmanager/v1/accounts/{accountId}/containers/{containerId}/versions", +"httpMethod": "GET", +"id": "tagmanager.accounts.containers.versions.list", +"parameterOrder": [ +"accountId", +"containerId" +], +"parameters": { +"accountId": { +"description": "The GTM Account ID.", +"location": "path", +"required": true, +"type": "string" +}, +"containerId": { +"description": "The GTM Container ID.", +"location": "path", +"required": true, +"type": "string" +}, +"headers": { +"default": "false", +"description": "Retrieve headers only when true.", +"location": "query", +"type": "boolean" +}, +"includeDeleted": { +"default": "false", +"description": "Also retrieve deleted (archived) versions when true.", +"location": "query", +"type": "boolean" +} +}, +"path": "tagmanager/v1/accounts/{accountId}/containers/{containerId}/versions", +"response": { +"$ref": "ListContainerVersionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/tagmanager.edit.containers", +"https://www.googleapis.com/auth/tagmanager.edit.containerversions", +"https://www.googleapis.com/auth/tagmanager.readonly" +] +}, +"publish": { +"description": "Publishes a Container Version.", +"flatPath": "tagmanager/v1/accounts/{accountId}/containers/{containerId}/versions/{containerVersionId}/publish", +"httpMethod": "POST", +"id": "tagmanager.accounts.containers.versions.publish", +"parameterOrder": [ +"accountId", +"containerId", +"containerVersionId" +], +"parameters": { +"accountId": { +"description": "The GTM Account ID.", +"location": "path", +"required": true, +"type": "string" +}, +"containerId": { +"description": "The GTM Container ID.", +"location": "path", +"required": true, +"type": "string" +}, +"containerVersionId": { +"description": "The GTM Container Version ID.", +"location": "path", +"required": true, +"type": "string" +}, +"fingerprint": { +"description": "When provided, this fingerprint must match the fingerprint of the container version in storage.", +"location": "query", +"type": "string" +} +}, +"path": "tagmanager/v1/accounts/{accountId}/containers/{containerId}/versions/{containerVersionId}/publish", +"response": { +"$ref": "PublishContainerVersionResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/tagmanager.publish" +] +}, +"restore": { +"description": "Restores a Container Version. This will overwrite the container's current configuration (including its variables, triggers and tags). The operation will not have any effect on the version that is being served (i.e. the published version).", +"flatPath": "tagmanager/v1/accounts/{accountId}/containers/{containerId}/versions/{containerVersionId}/restore", +"httpMethod": "POST", +"id": "tagmanager.accounts.containers.versions.restore", +"parameterOrder": [ +"accountId", +"containerId", +"containerVersionId" +], +"parameters": { +"accountId": { +"description": "The GTM Account ID.", +"location": "path", +"required": true, +"type": "string" +}, +"containerId": { +"description": "The GTM Container ID.", +"location": "path", +"required": true, +"type": "string" +}, +"containerVersionId": { +"description": "The GTM Container Version ID.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "tagmanager/v1/accounts/{accountId}/containers/{containerId}/versions/{containerVersionId}/restore", +"response": { +"$ref": "ContainerVersion" +}, +"scopes": [ +"https://www.googleapis.com/auth/tagmanager.edit.containers" +] +}, +"undelete": { +"description": "Undeletes a Container Version.", +"flatPath": "tagmanager/v1/accounts/{accountId}/containers/{containerId}/versions/{containerVersionId}/undelete", +"httpMethod": "POST", +"id": "tagmanager.accounts.containers.versions.undelete", +"parameterOrder": [ +"accountId", +"containerId", +"containerVersionId" +], +"parameters": { +"accountId": { +"description": "The GTM Account ID.", +"location": "path", +"required": true, +"type": "string" +}, +"containerId": { +"description": "The GTM Container ID.", +"location": "path", +"required": true, +"type": "string" +}, +"containerVersionId": { +"description": "The GTM Container Version ID.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "tagmanager/v1/accounts/{accountId}/containers/{containerId}/versions/{containerVersionId}/undelete", +"response": { +"$ref": "ContainerVersion" +}, +"scopes": [ +"https://www.googleapis.com/auth/tagmanager.edit.containerversions" +] +}, +"update": { +"description": "Updates a Container Version.", +"flatPath": "tagmanager/v1/accounts/{accountId}/containers/{containerId}/versions/{containerVersionId}", +"httpMethod": "PUT", +"id": "tagmanager.accounts.containers.versions.update", +"parameterOrder": [ +"accountId", +"containerId", +"containerVersionId" +], +"parameters": { +"accountId": { +"description": "The GTM Account ID.", +"location": "path", +"required": true, +"type": "string" +}, +"containerId": { +"description": "The GTM Container ID.", +"location": "path", +"required": true, +"type": "string" +}, +"containerVersionId": { +"description": "The GTM Container Version ID.", +"location": "path", +"required": true, +"type": "string" +}, +"fingerprint": { +"description": "When provided, this fingerprint must match the fingerprint of the container version in storage.", +"location": "query", +"type": "string" +} +}, +"path": "tagmanager/v1/accounts/{accountId}/containers/{containerId}/versions/{containerVersionId}", +"request": { +"$ref": "ContainerVersion" +}, +"response": { +"$ref": "ContainerVersion" +}, +"scopes": [ +"https://www.googleapis.com/auth/tagmanager.edit.containerversions" +] +} +} +} +} +}, +"permissions": { +"methods": { +"create": { +"description": "Creates a user's Account & Container Permissions.", +"flatPath": "tagmanager/v1/accounts/{accountId}/permissions", +"httpMethod": "POST", +"id": "tagmanager.accounts.permissions.create", +"parameterOrder": [ +"accountId" +], +"parameters": { +"accountId": { +"description": "The GTM Account ID.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "tagmanager/v1/accounts/{accountId}/permissions", +"request": { +"$ref": "UserAccess" +}, +"response": { +"$ref": "UserAccess" +}, +"scopes": [ +"https://www.googleapis.com/auth/tagmanager.manage.users" +] +}, +"delete": { +"description": "Removes a user from the account, revoking access to it and all of its containers.", +"flatPath": "tagmanager/v1/accounts/{accountId}/permissions/{permissionId}", +"httpMethod": "DELETE", +"id": "tagmanager.accounts.permissions.delete", +"parameterOrder": [ +"accountId", +"permissionId" +], +"parameters": { +"accountId": { +"description": "The GTM Account ID.", +"location": "path", +"required": true, +"type": "string" +}, +"permissionId": { +"description": "The GTM User ID.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "tagmanager/v1/accounts/{accountId}/permissions/{permissionId}", +"scopes": [ +"https://www.googleapis.com/auth/tagmanager.manage.users" +] +}, +"get": { +"description": "Gets a user's Account & Container Permissions.", +"flatPath": "tagmanager/v1/accounts/{accountId}/permissions/{permissionId}", +"httpMethod": "GET", +"id": "tagmanager.accounts.permissions.get", +"parameterOrder": [ +"accountId", +"permissionId" +], +"parameters": { +"accountId": { +"description": "The GTM Account ID.", +"location": "path", +"required": true, +"type": "string" +}, +"permissionId": { +"description": "The GTM User ID.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "tagmanager/v1/accounts/{accountId}/permissions/{permissionId}", +"response": { +"$ref": "UserAccess" +}, +"scopes": [ +"https://www.googleapis.com/auth/tagmanager.manage.users" +] +}, +"list": { +"description": "List all users that have access to the account along with Account and Container Permissions granted to each of them.", +"flatPath": "tagmanager/v1/accounts/{accountId}/permissions", +"httpMethod": "GET", +"id": "tagmanager.accounts.permissions.list", +"parameterOrder": [ +"accountId" +], +"parameters": { +"accountId": { +"description": "The GTM Account ID.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "tagmanager/v1/accounts/{accountId}/permissions", +"response": { +"$ref": "ListAccountUsersResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/tagmanager.manage.users" +] +}, +"update": { +"description": "Updates a user's Account & Container Permissions.", +"flatPath": "tagmanager/v1/accounts/{accountId}/permissions/{permissionId}", +"httpMethod": "PUT", +"id": "tagmanager.accounts.permissions.update", +"parameterOrder": [ +"accountId", +"permissionId" +], +"parameters": { +"accountId": { +"description": "The GTM Account ID.", +"location": "path", +"required": true, +"type": "string" +}, +"permissionId": { +"description": "The GTM User ID.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "tagmanager/v1/accounts/{accountId}/permissions/{permissionId}", +"request": { +"$ref": "UserAccess" +}, +"response": { +"$ref": "UserAccess" +}, +"scopes": [ +"https://www.googleapis.com/auth/tagmanager.manage.users" +] +} +} +} +} +} +}, +"revision": "20250820", +"rootUrl": "https://tagmanager.googleapis.com/", +"schemas": { +"Account": { +"description": "Represents a Google Tag Manager Account.", +"id": "Account", +"properties": { +"accountId": { +"description": "The Account ID uniquely identifies the GTM Account.", +"type": "string" +}, +"fingerprint": { +"description": "The fingerprint of the GTM Account as computed at storage time. This value is recomputed whenever the account is modified.", +"type": "string" +}, +"name": { +"description": "Account display name.", +"type": "string" +}, +"shareData": { +"description": "Whether the account shares data anonymously with Google and others.", +"type": "boolean" +} +}, +"type": "object" +}, +"AccountAccess": { +"description": "Defines the Google Tag Manager Account access permissions.", +"id": "AccountAccess", +"properties": { +"permission": { +"description": "List of Account permissions. Valid account permissions are read and manage.", +"items": { +"enum": [ +"read", +"edit", +"publish", +"delete", +"manage", +"editWorkspace" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"" +], +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"Condition": { +"description": "Represents a predicate.", +"id": "Condition", +"properties": { +"parameter": { +"description": "A list of named parameters (key/value), depending on the condition's type. Notes: - For binary operators, include parameters named arg0 and arg1 for specifying the left and right operands, respectively. - At this time, the left operand (arg0) must be a reference to a variable. - For case-insensitive Regex matching, include a boolean parameter named ignore_case that is set to true. If not specified or set to any other value, the matching will be case sensitive. - To negate an operator, include a boolean parameter named negate boolean parameter that is set to true. ", +"items": { +"$ref": "Parameter" +}, +"type": "array" +}, +"type": { +"description": "The type of operator for this condition.", +"enum": [ +"equals", +"contains", +"startsWith", +"endsWith", +"matchRegex", +"greater", +"greaterOrEquals", +"less", +"lessOrEquals", +"cssSelector", +"urlMatches" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"" +], +"type": "string" +} +}, +"type": "object" +}, +"Container": { +"description": "Represents a Google Tag Manager Container.", +"id": "Container", +"properties": { +"accountId": { +"description": "GTM Account ID.", +"type": "string" +}, +"containerId": { +"description": "The Container ID uniquely identifies the GTM Container.", +"type": "string" +}, +"domainName": { +"description": "Optional list of domain names associated with the Container.", +"items": { +"type": "string" +}, +"type": "array" +}, +"enabledBuiltInVariable": { +"description": "List of enabled built-in variables. Valid values include: pageUrl, pageHostname, pagePath, referrer, event, clickElement, clickClasses, clickId, clickTarget, clickUrl, clickText, formElement, formClasses, formId, formTarget, formUrl, formText, errorMessage, errorUrl, errorLine, newHistoryFragment, oldHistoryFragment, newHistoryState, oldHistoryState, historySource, containerVersion, debugMode, randomNumber, containerId.", +"items": { +"enum": [ +"pageUrl", +"pageHostname", +"pagePath", +"referrer", +"event", +"clickElement", +"clickClasses", +"clickId", +"clickTarget", +"clickUrl", +"clickText", +"firstPartyServingUrl", +"formElement", +"formClasses", +"formId", +"formTarget", +"formUrl", +"formText", +"environmentName", +"errorMessage", +"errorUrl", +"errorLine", +"newHistoryUrl", +"oldHistoryUrl", +"newHistoryFragment", +"oldHistoryFragment", +"newHistoryState", +"oldHistoryState", +"historySource", +"containerVersion", +"debugMode", +"randomNumber", +"containerId", +"appId", +"appName", +"appVersionCode", +"appVersionName", +"language", +"osVersion", +"platform", +"sdkVersion", +"deviceName", +"resolution", +"advertiserId", +"advertisingTrackingEnabled", +"htmlId", +"ampBrowserLanguage", +"ampCanonicalPath", +"ampCanonicalUrl", +"ampCanonicalHost", +"ampReferrer", +"ampTitle", +"ampClientId", +"ampClientTimezone", +"ampClientTimestamp", +"ampClientScreenWidth", +"ampClientScreenHeight", +"ampClientScrollX", +"ampClientScrollY", +"ampClientMaxScrollX", +"ampClientMaxScrollY", +"ampTotalEngagedTime", +"ampPageViewId", +"ampPageLoadTime", +"ampPageDownloadTime", +"ampGtmEvent", +"eventName", +"firebaseEventParameterCampaign", +"firebaseEventParameterCampaignAclid", +"firebaseEventParameterCampaignAnid", +"firebaseEventParameterCampaignClickTimestamp", +"firebaseEventParameterCampaignContent", +"firebaseEventParameterCampaignCp1", +"firebaseEventParameterCampaignGclid", +"firebaseEventParameterCampaignSource", +"firebaseEventParameterCampaignTerm", +"firebaseEventParameterCurrency", +"firebaseEventParameterDynamicLinkAcceptTime", +"firebaseEventParameterDynamicLinkLinkid", +"firebaseEventParameterNotificationMessageDeviceTime", +"firebaseEventParameterNotificationMessageId", +"firebaseEventParameterNotificationMessageName", +"firebaseEventParameterNotificationMessageTime", +"firebaseEventParameterNotificationTopic", +"firebaseEventParameterPreviousAppVersion", +"firebaseEventParameterPreviousOsVersion", +"firebaseEventParameterPrice", +"firebaseEventParameterProductId", +"firebaseEventParameterQuantity", +"firebaseEventParameterValue", +"videoProvider", +"videoUrl", +"videoTitle", +"videoDuration", +"videoPercent", +"videoVisible", +"videoStatus", +"videoCurrentTime", +"scrollDepthThreshold", +"scrollDepthUnits", +"scrollDepthDirection", +"elementVisibilityRatio", +"elementVisibilityTime", +"elementVisibilityFirstTime", +"elementVisibilityRecentTime", +"analyticsClientId", +"analyticsSessionId", +"analyticsSessionNumber" +], +"enumDescriptions": [ +"", +"", +"", +"", +"For web or mobile.", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"For web or mobile.", +"", +"For web or mobile.", +"For web or mobile.", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"" +], +"type": "string" +}, +"type": "array" +}, +"fingerprint": { +"description": "The fingerprint of the GTM Container as computed at storage time. This value is recomputed whenever the account is modified.", +"type": "string" +}, +"name": { +"description": "Container display name.", +"type": "string" +}, +"notes": { +"description": "Container Notes.", +"type": "string" +}, +"publicId": { +"description": "Container Public ID.", +"type": "string" +}, +"timeZoneCountryId": { +"description": "Container Country ID.", +"type": "string" +}, +"timeZoneId": { +"description": "Container Time Zone ID.", +"type": "string" +}, +"usageContext": { +"description": "List of Usage Contexts for the Container. Valid values include: web, android, ios.", +"items": { +"enum": [ +"web", +"android", +"ios", +"androidSdk5", +"iosSdk5", +"amp" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"" +], +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ContainerAccess": { +"description": "Defines the Google Tag Manager Container access permissions.", +"id": "ContainerAccess", +"properties": { +"containerId": { +"description": "GTM Container ID.", +"type": "string" +}, +"permission": { +"description": "List of Container permissions. Valid container permissions are: read, edit, delete, publish.", +"items": { +"enum": [ +"read", +"edit", +"publish", +"delete", +"manage", +"editWorkspace" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"" +], +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ContainerVersion": { +"description": "Represents a Google Tag Manager Container Version.", +"id": "ContainerVersion", +"properties": { +"accountId": { +"description": "GTM Account ID.", +"type": "string" +}, +"container": { +"$ref": "Container", +"description": "The container that this version was taken from." +}, +"containerId": { +"description": "GTM Container ID.", +"type": "string" +}, +"containerVersionId": { +"description": "The Container Version ID uniquely identifies the GTM Container Version.", +"type": "string" +}, +"deleted": { +"description": "A value of true indicates this container version has been deleted.", +"type": "boolean" +}, +"fingerprint": { +"description": "The fingerprint of the GTM Container Version as computed at storage time. This value is recomputed whenever the container version is modified.", +"type": "string" +}, +"folder": { +"description": "The folders in the container that this version was taken from.", +"items": { +"$ref": "Folder" +}, +"type": "array" +}, +"name": { +"description": "Container version display name.", +"type": "string" +}, +"notes": { +"description": "User notes on how to apply this container version in the container.", +"type": "string" +}, +"tag": { +"description": "The tags in the container that this version was taken from.", +"items": { +"$ref": "Tag" +}, +"type": "array" +}, +"trigger": { +"description": "The triggers in the container that this version was taken from.", +"items": { +"$ref": "Trigger" +}, +"type": "array" +}, +"variable": { +"description": "The variables in the container that this version was taken from.", +"items": { +"$ref": "Variable" +}, +"type": "array" +} +}, +"type": "object" +}, +"ContainerVersionHeader": { +"description": "Represents a Google Tag Manager Container Version Header.", +"id": "ContainerVersionHeader", +"properties": { +"accountId": { +"description": "GTM Account ID.", +"type": "string" +}, +"containerId": { +"description": "GTM Container ID.", +"type": "string" +}, +"containerVersionId": { +"description": "The Container Version ID uniquely identifies the GTM Container Version.", +"type": "string" +}, +"deleted": { +"description": "A value of true indicates this container version has been deleted.", +"type": "boolean" +}, +"name": { +"description": "Container version display name.", +"type": "string" +}, +"numTags": { +"description": "Number of tags in the container version.", +"type": "string" +}, +"numTriggers": { +"description": "Number of triggers in the container version.", +"type": "string" +}, +"numVariables": { +"description": "Number of variables in the container version.", +"type": "string" +} +}, +"type": "object" +}, +"CreateContainerVersionRequestVersionOptions": { +"description": "Options for new container versions.", +"id": "CreateContainerVersionRequestVersionOptions", +"properties": { +"name": { +"description": "The name of the container version to be created.", +"type": "string" +}, +"notes": { +"description": "The notes of the container version to be created.", +"type": "string" +}, +"quickPreview": { +"description": "The creation of this version may be for quick preview and shouldn't be saved.", +"type": "boolean" +} +}, +"type": "object" +}, +"CreateContainerVersionResponse": { +"description": "Create container versions response.", +"id": "CreateContainerVersionResponse", +"properties": { +"compilerError": { +"description": "Compiler errors or not.", +"type": "boolean" +}, +"containerVersion": { +"$ref": "ContainerVersion", +"description": "The container version created." +} +}, +"type": "object" +}, +"Environment": { +"description": "Represents a Google Tag Manager Environment. Note that a user can create, delete and update environments of type USER, but can only update the enable_debug and url fields of environments of other types.", +"id": "Environment", +"properties": { +"accountId": { +"description": "GTM Account ID.", +"type": "string" +}, +"authorizationCode": { +"description": "The environment authorization code.", +"type": "string" +}, +"authorizationTimestampMs": { +"description": "The last update time-stamp for the authorization code.", +"format": "int64", +"type": "string" +}, +"containerId": { +"description": "GTM Container ID.", +"type": "string" +}, +"containerVersionId": { +"type": "string" +}, +"description": { +"description": "The environment description. Can be set or changed only on USER type environments.", +"type": "string" +}, +"enableDebug": { +"description": "Whether or not to enable debug by default on for the environment.", +"type": "boolean" +}, +"environmentId": { +"description": "GTM Environment ID uniquely identifies the GTM Environment.", +"type": "string" +}, +"fingerprint": { +"description": "The fingerprint of the GTM environment as computed at storage time. This value is recomputed whenever the environment is modified.", +"type": "string" +}, +"name": { +"description": "The environment display name. Can be set or changed only on USER type environments.", +"type": "string" +}, +"type": { +"description": "The type of this environment.", +"enum": [ +"user", +"live", +"latest", +"draft" +], +"enumDescriptions": [ +"Used for user defined environments.", +"Used for Live environment, which points to the live published container version.", +"Used for Latest environment, which points to the latest created container version.", +"Used for Draft environment, which points to the single draft in the container." +], +"type": "string" +}, +"url": { +"description": "Default preview page url for the environment.", +"type": "string" +} +}, +"type": "object" +}, +"Folder": { +"description": "Represents a Google Tag Manager Folder.", +"id": "Folder", +"properties": { +"accountId": { +"description": "GTM Account ID.", +"type": "string" +}, +"containerId": { +"description": "GTM Container ID.", +"type": "string" +}, +"fingerprint": { +"description": "The fingerprint of the GTM Folder as computed at storage time. This value is recomputed whenever the folder is modified.", +"type": "string" +}, +"folderId": { +"description": "The Folder ID uniquely identifies the GTM Folder.", +"type": "string" +}, +"name": { +"description": "Folder display name.", +"type": "string" +} +}, +"type": "object" +}, +"FolderEntities": { +"description": "Represents a Google Tag Manager Folder's contents.", +"id": "FolderEntities", +"properties": { +"tag": { +"description": "The list of tags inside the folder.", +"items": { +"$ref": "Tag" +}, +"type": "array" +}, +"trigger": { +"description": "The list of triggers inside the folder.", +"items": { +"$ref": "Trigger" +}, +"type": "array" +}, +"variable": { +"description": "The list of variables inside the folder.", +"items": { +"$ref": "Variable" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListAccountUsersResponse": { +"description": "List AccountUsers Response.", +"id": "ListAccountUsersResponse", +"properties": { +"userAccess": { +"description": "All GTM AccountUsers of a GTM Account.", +"items": { +"$ref": "UserAccess" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListAccountsResponse": { +"description": "List Accounts Response.", +"id": "ListAccountsResponse", +"properties": { +"accounts": { +"description": "List of GTM Accounts that a user has access to.", +"items": { +"$ref": "Account" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListContainerVersionsResponse": { +"description": "List container versions response.", +"id": "ListContainerVersionsResponse", +"properties": { +"containerVersion": { +"description": "All versions of a GTM Container.", +"items": { +"$ref": "ContainerVersion" +}, +"type": "array" +}, +"containerVersionHeader": { +"description": "All container version headers of a GTM Container.", +"items": { +"$ref": "ContainerVersionHeader" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListContainersResponse": { +"description": "List Containers Response.", +"id": "ListContainersResponse", +"properties": { +"containers": { +"description": "All Containers of a GTM Account.", +"items": { +"$ref": "Container" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListEnvironmentsResponse": { +"description": "List Environments Response.", +"id": "ListEnvironmentsResponse", +"properties": { +"environments": { +"description": "All Environments of a GTM Container.", +"items": { +"$ref": "Environment" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListFoldersResponse": { +"description": "List Folders Response.", +"id": "ListFoldersResponse", +"properties": { +"folders": { +"description": "All GTM Folders of a GTM Container.", +"items": { +"$ref": "Folder" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListTagsResponse": { +"description": "List Tags Response.", +"id": "ListTagsResponse", +"properties": { +"tags": { +"description": "All GTM Tags of a GTM Container.", +"items": { +"$ref": "Tag" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListTriggersResponse": { +"description": "List triggers response.", +"id": "ListTriggersResponse", +"properties": { +"triggers": { +"description": "All GTM Triggers of a GTM Container.", +"items": { +"$ref": "Trigger" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListVariablesResponse": { +"description": "List Variables Response.", +"id": "ListVariablesResponse", +"properties": { +"variables": { +"description": "All GTM Variables of a GTM Container.", +"items": { +"$ref": "Variable" +}, +"type": "array" +} +}, +"type": "object" +}, +"Parameter": { +"description": "Represents a Google Tag Manager Parameter.", +"id": "Parameter", +"properties": { +"key": { +"description": "The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values.", +"type": "string" +}, +"list": { +"description": "This list parameter's parameters (keys will be ignored).", +"items": { +"$ref": "Parameter" +}, +"type": "array" +}, +"map": { +"description": "This map parameter's parameters (must have keys; keys must be unique).", +"items": { +"$ref": "Parameter" +}, +"type": "array" +}, +"type": { +"description": "The parameter type. Valid values are: - boolean: The value represents a boolean, represented as 'true' or 'false' - integer: The value represents a 64-bit signed integer value, in base 10 - list: A list of parameters should be specified - map: A map of parameters should be specified - template: The value represents any text; this can include variable references (even variable references that might return non-string types) - trigger_reference: The value represents a trigger, represented as the trigger id - tag_reference: The value represents a tag, represented as the tag name ", +"enum": [ +"template", +"integer", +"boolean", +"list", +"map", +"triggerReference", +"tagReference" +], +"enumDescriptions": [ +"May include variable references.", +"", +"", +"", +"", +"", +"" +], +"type": "string" +}, +"value": { +"description": "A parameter's value (may contain variable references). as appropriate to the specified type.", +"type": "string" +} +}, +"type": "object" +}, +"PublishContainerVersionResponse": { +"description": "Publish container version response.", +"id": "PublishContainerVersionResponse", +"properties": { +"compilerError": { +"description": "Compiler errors or not.", +"type": "boolean" +}, +"containerVersion": { +"$ref": "ContainerVersion", +"description": "The container version created." +} +}, +"type": "object" +}, +"SetupTag": { +"id": "SetupTag", +"properties": { +"stopOnSetupFailure": { +"description": "If true, fire the main tag if and only if the setup tag fires successfully. If false, fire the main tag regardless of setup tag firing status.", +"type": "boolean" +}, +"tagName": { +"description": "The name of the setup tag.", +"type": "string" +} +}, +"type": "object" +}, +"Tag": { +"description": "Represents a Google Tag Manager Tag.", +"id": "Tag", +"properties": { +"accountId": { +"description": "GTM Account ID.", +"type": "string" +}, +"blockingTriggerId": { +"description": "Blocking trigger IDs. If any of the listed triggers evaluate to true, the tag will not fire.", +"items": { +"type": "string" +}, +"type": "array" +}, +"containerId": { +"description": "GTM Container ID.", +"type": "string" +}, +"fingerprint": { +"description": "The fingerprint of the GTM Tag as computed at storage time. This value is recomputed whenever the tag is modified.", +"type": "string" +}, +"firingTriggerId": { +"description": "Firing trigger IDs. A tag will fire when any of the listed triggers are true and all of its blockingTriggerIds (if any specified) are false.", +"items": { +"type": "string" +}, +"type": "array" +}, +"liveOnly": { +"description": "If set to true, this tag will only fire in the live environment (e.g. not in preview or debug mode).", +"type": "boolean" +}, +"name": { +"description": "Tag display name.", +"type": "string" +}, +"notes": { +"description": "User notes on how to apply this tag in the container.", +"type": "string" +}, +"parameter": { +"description": "The tag's parameters.", +"items": { +"$ref": "Parameter" +}, +"type": "array" +}, +"parentFolderId": { +"description": "Parent folder id.", +"type": "string" +}, +"paused": { +"description": "True if the tag is paused.", +"type": "boolean" +}, +"priority": { +"$ref": "Parameter", +"description": "User defined numeric priority of the tag. Tags are fired asynchronously in order of priority. Tags with higher numeric value fire first. A tag's priority can be a positive or negative value. The default value is 0." +}, +"scheduleEndMs": { +"description": "The end timestamp in milliseconds to schedule a tag.", +"format": "int64", +"type": "string" +}, +"scheduleStartMs": { +"description": "The start timestamp in milliseconds to schedule a tag.", +"format": "int64", +"type": "string" +}, +"setupTag": { +"description": "The list of setup tags. Currently we only allow one.", +"items": { +"$ref": "SetupTag" +}, +"type": "array" +}, +"tagFiringOption": { +"description": "Option to fire this tag.", +"enum": [ +"unlimited", +"oncePerEvent", +"oncePerLoad" +], +"enumDescriptions": [ +"Tag can be fired multiple times per event.", +"Tag can only be fired per event but can be fired multiple times per load (e.g., app load or page load).", +"Tag can only be fired per load (e.g., app load or page load)." +], +"type": "string" +}, +"tagId": { +"description": "The Tag ID uniquely identifies the GTM Tag.", +"type": "string" +}, +"teardownTag": { +"description": "The list of teardown tags. Currently we only allow one.", +"items": { +"$ref": "TeardownTag" +}, +"type": "array" +}, +"type": { +"description": "GTM Tag Type.", +"type": "string" +} +}, +"type": "object" +}, +"TeardownTag": { +"id": "TeardownTag", +"properties": { +"stopTeardownOnFailure": { +"description": "If true, fire the teardown tag if and only if the main tag fires successfully. If false, fire the teardown tag regardless of main tag firing status.", +"type": "boolean" +}, +"tagName": { +"description": "The name of the teardown tag.", +"type": "string" +} +}, +"type": "object" +}, +"Trigger": { +"description": "Represents a Google Tag Manager Trigger", +"id": "Trigger", +"properties": { +"accountId": { +"description": "GTM Account ID.", +"type": "string" +}, +"autoEventFilter": { +"description": "Used in the case of auto event tracking.", +"items": { +"$ref": "Condition" +}, +"type": "array" +}, +"checkValidation": { +"$ref": "Parameter", +"description": "Whether or not we should only fire tags if the form submit or link click event is not cancelled by some other event handler (e.g. because of validation). Only valid for Form Submission and Link Click triggers." +}, +"containerId": { +"description": "GTM Container ID.", +"type": "string" +}, +"continuousTimeMinMilliseconds": { +"$ref": "Parameter", +"description": "A visibility trigger minimum continuous visible time (in milliseconds). Only valid for AMP Visibility trigger." +}, +"customEventFilter": { +"description": "Used in the case of custom event, which is fired iff all Conditions are true.", +"items": { +"$ref": "Condition" +}, +"type": "array" +}, +"eventName": { +"$ref": "Parameter", +"description": "Name of the GTM event that is fired. Only valid for Timer triggers." +}, +"filter": { +"description": "The trigger will only fire iff all Conditions are true.", +"items": { +"$ref": "Condition" +}, +"type": "array" +}, +"fingerprint": { +"description": "The fingerprint of the GTM Trigger as computed at storage time. This value is recomputed whenever the trigger is modified.", +"type": "string" +}, +"horizontalScrollPercentageList": { +"$ref": "Parameter", +"description": "List of integer percentage values for scroll triggers. The trigger will fire when each percentage is reached when the view is scrolled horizontally. Only valid for AMP scroll triggers." +}, +"interval": { +"$ref": "Parameter", +"description": "Time between triggering recurring Timer Events (in milliseconds). Only valid for Timer triggers." +}, +"intervalSeconds": { +"$ref": "Parameter", +"description": "Time between Timer Events to fire (in seconds). Only valid for AMP Timer trigger." +}, +"limit": { +"$ref": "Parameter", +"description": "Limit of the number of GTM events this Timer Trigger will fire. If no limit is set, we will continue to fire GTM events until the user leaves the page. Only valid for Timer triggers." +}, +"maxTimerLengthSeconds": { +"$ref": "Parameter", +"description": "Max time to fire Timer Events (in seconds). Only valid for AMP Timer trigger." +}, +"name": { +"description": "Trigger display name.", +"type": "string" +}, +"parameter": { +"description": "Additional parameters.", +"items": { +"$ref": "Parameter" +}, +"type": "array" +}, +"parentFolderId": { +"description": "Parent folder id.", +"type": "string" +}, +"selector": { +"$ref": "Parameter", +"description": "A click trigger CSS selector (i.e. \"a\", \"button\" etc.). Only valid for AMP Click trigger." +}, +"totalTimeMinMilliseconds": { +"$ref": "Parameter", +"description": "A visibility trigger minimum total visible time (in milliseconds). Only valid for AMP Visibility trigger." +}, +"triggerId": { +"description": "The Trigger ID uniquely identifies the GTM Trigger.", +"type": "string" +}, +"type": { +"description": "Defines the data layer event that causes this trigger.", +"enum": [ +"pageview", +"domReady", +"windowLoaded", +"customEvent", +"triggerGroup", +"always", +"formSubmission", +"click", +"linkClick", +"jsError", +"historyChange", +"timer", +"ampClick", +"ampTimer", +"ampScroll", +"ampVisibility", +"youTubeVideo", +"scrollDepth", +"elementVisibility" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"" +], +"type": "string" +}, +"uniqueTriggerId": { +"$ref": "Parameter", +"description": "Globally unique id of the trigger that auto-generates this (a Form Submit, Link Click or Timer listener) if any. Used to make incompatible auto-events work together with trigger filtering based on trigger ids. This value is populated during output generation since the tags implied by triggers don't exist until then. Only valid for Form Submit, Link Click and Timer triggers." +}, +"verticalScrollPercentageList": { +"$ref": "Parameter", +"description": "List of integer percentage values for scroll triggers. The trigger will fire when each percentage is reached when the view is scrolled vertically. Only valid for AMP scroll triggers." +}, +"visibilitySelector": { +"$ref": "Parameter", +"description": "A visibility trigger CSS selector (i.e. \"#id\"). Only valid for AMP Visibility trigger." +}, +"visiblePercentageMax": { +"$ref": "Parameter", +"description": "A visibility trigger maximum percent visibility. Only valid for AMP Visibility trigger." +}, +"visiblePercentageMin": { +"$ref": "Parameter", +"description": "A visibility trigger minimum percent visibility. Only valid for AMP Visibility trigger." +}, +"waitForTags": { +"$ref": "Parameter", +"description": "Whether or not we should delay the form submissions or link opening until all of the tags have fired (by preventing the default action and later simulating the default action). Only valid for Form Submission and Link Click triggers." +}, +"waitForTagsTimeout": { +"$ref": "Parameter", +"description": "How long to wait (in milliseconds) for tags to fire when 'waits_for_tags' above evaluates to true. Only valid for Form Submission and Link Click triggers." +} +}, +"type": "object" +}, +"UserAccess": { +"description": "Represents a user's permissions to an account and its container.", +"id": "UserAccess", +"properties": { +"accountAccess": { +"$ref": "AccountAccess", +"description": "GTM Account access permissions." +}, +"accountId": { +"description": "GTM Account ID.", +"type": "string" +}, +"containerAccess": { +"description": "GTM Container access permissions.", +"items": { +"$ref": "ContainerAccess" +}, +"type": "array" +}, +"emailAddress": { +"description": "User's email address.", +"type": "string" +}, +"permissionId": { +"description": "Account Permission ID.", +"type": "string" +} +}, +"type": "object" +}, +"Variable": { +"description": "Represents a Google Tag Manager Variable.", +"id": "Variable", +"properties": { +"accountId": { +"description": "GTM Account ID.", +"type": "string" +}, +"containerId": { +"description": "GTM Container ID.", +"type": "string" +}, +"disablingTriggerId": { +"description": "For mobile containers only: A list of trigger IDs for disabling conditional variables; the variable is enabled if one of the enabling trigger is true while all the disabling trigger are false. Treated as an unordered set.", +"items": { +"type": "string" +}, +"type": "array" +}, +"enablingTriggerId": { +"description": "For mobile containers only: A list of trigger IDs for enabling conditional variables; the variable is enabled if one of the enabling triggers is true while all the disabling triggers are false. Treated as an unordered set.", +"items": { +"type": "string" +}, +"type": "array" +}, +"fingerprint": { +"description": "The fingerprint of the GTM Variable as computed at storage time. This value is recomputed whenever the variable is modified.", +"type": "string" +}, +"name": { +"description": "Variable display name.", +"type": "string" +}, +"notes": { +"description": "User notes on how to apply this variable in the container.", +"type": "string" +}, +"parameter": { +"description": "The variable's parameters.", +"items": { +"$ref": "Parameter" +}, +"type": "array" +}, +"parentFolderId": { +"description": "Parent folder id.", +"type": "string" +}, +"scheduleEndMs": { +"description": "The end timestamp in milliseconds to schedule a variable.", +"format": "int64", +"type": "string" +}, +"scheduleStartMs": { +"description": "The start timestamp in milliseconds to schedule a variable.", +"format": "int64", +"type": "string" +}, +"type": { +"description": "GTM Variable Type.", +"type": "string" +}, +"variableId": { +"description": "The Variable ID uniquely identifies the GTM Variable.", +"type": "string" +} +}, +"type": "object" +} +}, +"servicePath": "", +"title": "Tag Manager API", +"version": "v1" +} \ No newline at end of file diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/tasks.v1.json b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/tasks.v1.json new file mode 100644 index 0000000000000000000000000000000000000000..a150f042295bc209dd14684630b71f72197edd66 --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/tasks.v1.json @@ -0,0 +1,836 @@ +{ +"auth": { +"oauth2": { +"scopes": { +"https://www.googleapis.com/auth/tasks": { +"description": "Create, edit, organize, and delete all your tasks" +}, +"https://www.googleapis.com/auth/tasks.readonly": { +"description": "View your tasks" +} +} +} +}, +"basePath": "", +"baseUrl": "https://tasks.googleapis.com/", +"batchPath": "batch", +"canonicalName": "Tasks", +"description": "The Google Tasks API lets you manage your tasks and task lists.", +"discoveryVersion": "v1", +"documentationLink": "https://developers.google.com/workspace/tasks/", +"fullyEncodeReservedExpansion": true, +"icons": { +"x16": "http://www.google.com/images/icons/product/search-16.gif", +"x32": "http://www.google.com/images/icons/product/search-32.gif" +}, +"id": "tasks:v1", +"kind": "discovery#restDescription", +"mtlsRootUrl": "https://tasks.mtls.googleapis.com/", +"name": "tasks", +"ownerDomain": "google.com", +"ownerName": "Google", +"parameters": { +"$.xgafv": { +"description": "V1 error format.", +"enum": [ +"1", +"2" +], +"enumDescriptions": [ +"v1 error format", +"v2 error format" +], +"location": "query", +"type": "string" +}, +"access_token": { +"description": "OAuth access token.", +"location": "query", +"type": "string" +}, +"alt": { +"default": "json", +"description": "Data format for response.", +"enum": [ +"json", +"media", +"proto" +], +"enumDescriptions": [ +"Responses with Content-Type of application/json", +"Media download with context-dependent Content-Type", +"Responses with Content-Type of application/x-protobuf" +], +"location": "query", +"type": "string" +}, +"callback": { +"description": "JSONP", +"location": "query", +"type": "string" +}, +"fields": { +"description": "Selector specifying which fields to include in a partial response.", +"location": "query", +"type": "string" +}, +"key": { +"description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", +"location": "query", +"type": "string" +}, +"oauth_token": { +"description": "OAuth 2.0 token for the current user.", +"location": "query", +"type": "string" +}, +"prettyPrint": { +"default": "true", +"description": "Returns response with indentations and line breaks.", +"location": "query", +"type": "boolean" +}, +"quotaUser": { +"description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.", +"location": "query", +"type": "string" +}, +"uploadType": { +"description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", +"location": "query", +"type": "string" +}, +"upload_protocol": { +"description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", +"location": "query", +"type": "string" +} +}, +"protocol": "rest", +"resources": { +"tasklists": { +"methods": { +"delete": { +"description": "Deletes the authenticated user's specified task list. If the list contains assigned tasks, both the assigned tasks and the original tasks in the assignment surface (Docs, Chat Spaces) are deleted.", +"flatPath": "tasks/v1/users/@me/lists/{tasklist}", +"httpMethod": "DELETE", +"id": "tasks.tasklists.delete", +"parameterOrder": [ +"tasklist" +], +"parameters": { +"tasklist": { +"description": "Task list identifier.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "tasks/v1/users/@me/lists/{tasklist}", +"scopes": [ +"https://www.googleapis.com/auth/tasks" +] +}, +"get": { +"description": "Returns the authenticated user's specified task list.", +"flatPath": "tasks/v1/users/@me/lists/{tasklist}", +"httpMethod": "GET", +"id": "tasks.tasklists.get", +"parameterOrder": [ +"tasklist" +], +"parameters": { +"tasklist": { +"description": "Task list identifier.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "tasks/v1/users/@me/lists/{tasklist}", +"response": { +"$ref": "TaskList" +}, +"scopes": [ +"https://www.googleapis.com/auth/tasks", +"https://www.googleapis.com/auth/tasks.readonly" +] +}, +"insert": { +"description": "Creates a new task list and adds it to the authenticated user's task lists. A user can have up to 2000 lists at a time.", +"flatPath": "tasks/v1/users/@me/lists", +"httpMethod": "POST", +"id": "tasks.tasklists.insert", +"parameterOrder": [], +"parameters": {}, +"path": "tasks/v1/users/@me/lists", +"request": { +"$ref": "TaskList" +}, +"response": { +"$ref": "TaskList" +}, +"scopes": [ +"https://www.googleapis.com/auth/tasks" +] +}, +"list": { +"description": "Returns all the authenticated user's task lists. A user can have up to 2000 lists at a time.", +"flatPath": "tasks/v1/users/@me/lists", +"httpMethod": "GET", +"id": "tasks.tasklists.list", +"parameterOrder": [], +"parameters": { +"maxResults": { +"description": "Maximum number of task lists returned on one page. Optional. The default is 1000 (max allowed: 1000).", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Token specifying the result page to return. Optional.", +"location": "query", +"type": "string" +} +}, +"path": "tasks/v1/users/@me/lists", +"response": { +"$ref": "TaskLists" +}, +"scopes": [ +"https://www.googleapis.com/auth/tasks", +"https://www.googleapis.com/auth/tasks.readonly" +] +}, +"patch": { +"description": "Updates the authenticated user's specified task list. This method supports patch semantics.", +"flatPath": "tasks/v1/users/@me/lists/{tasklist}", +"httpMethod": "PATCH", +"id": "tasks.tasklists.patch", +"parameterOrder": [ +"tasklist" +], +"parameters": { +"tasklist": { +"description": "Task list identifier.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "tasks/v1/users/@me/lists/{tasklist}", +"request": { +"$ref": "TaskList" +}, +"response": { +"$ref": "TaskList" +}, +"scopes": [ +"https://www.googleapis.com/auth/tasks" +] +}, +"update": { +"description": "Updates the authenticated user's specified task list.", +"flatPath": "tasks/v1/users/@me/lists/{tasklist}", +"httpMethod": "PUT", +"id": "tasks.tasklists.update", +"parameterOrder": [ +"tasklist" +], +"parameters": { +"tasklist": { +"description": "Task list identifier.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "tasks/v1/users/@me/lists/{tasklist}", +"request": { +"$ref": "TaskList" +}, +"response": { +"$ref": "TaskList" +}, +"scopes": [ +"https://www.googleapis.com/auth/tasks" +] +} +} +}, +"tasks": { +"methods": { +"clear": { +"description": "Clears all completed tasks from the specified task list. The affected tasks will be marked as 'hidden' and no longer be returned by default when retrieving all tasks for a task list.", +"flatPath": "tasks/v1/lists/{tasklist}/clear", +"httpMethod": "POST", +"id": "tasks.tasks.clear", +"parameterOrder": [ +"tasklist" +], +"parameters": { +"tasklist": { +"description": "Task list identifier.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "tasks/v1/lists/{tasklist}/clear", +"scopes": [ +"https://www.googleapis.com/auth/tasks" +] +}, +"delete": { +"description": "Deletes the specified task from the task list. If the task is assigned, both the assigned task and the original task (in Docs, Chat Spaces) are deleted. To delete the assigned task only, navigate to the assignment surface and unassign the task from there.", +"flatPath": "tasks/v1/lists/{tasklist}/tasks/{task}", +"httpMethod": "DELETE", +"id": "tasks.tasks.delete", +"parameterOrder": [ +"tasklist", +"task" +], +"parameters": { +"task": { +"description": "Task identifier.", +"location": "path", +"required": true, +"type": "string" +}, +"tasklist": { +"description": "Task list identifier.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "tasks/v1/lists/{tasklist}/tasks/{task}", +"scopes": [ +"https://www.googleapis.com/auth/tasks" +] +}, +"get": { +"description": "Returns the specified task.", +"flatPath": "tasks/v1/lists/{tasklist}/tasks/{task}", +"httpMethod": "GET", +"id": "tasks.tasks.get", +"parameterOrder": [ +"tasklist", +"task" +], +"parameters": { +"task": { +"description": "Task identifier.", +"location": "path", +"required": true, +"type": "string" +}, +"tasklist": { +"description": "Task list identifier.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "tasks/v1/lists/{tasklist}/tasks/{task}", +"response": { +"$ref": "Task" +}, +"scopes": [ +"https://www.googleapis.com/auth/tasks", +"https://www.googleapis.com/auth/tasks.readonly" +] +}, +"insert": { +"description": "Creates a new task on the specified task list. Tasks assigned from Docs or Chat Spaces cannot be inserted from Tasks Public API; they can only be created by assigning them from Docs or Chat Spaces. A user can have up to 20,000 non-hidden tasks per list and up to 100,000 tasks in total at a time.", +"flatPath": "tasks/v1/lists/{tasklist}/tasks", +"httpMethod": "POST", +"id": "tasks.tasks.insert", +"parameterOrder": [ +"tasklist" +], +"parameters": { +"parent": { +"description": "Parent task identifier. If the task is created at the top level, this parameter is omitted. An assigned task cannot be a parent task, nor can it have a parent. Setting the parent to an assigned task results in failure of the request. Optional.", +"location": "query", +"type": "string" +}, +"previous": { +"description": "Previous sibling task identifier. If the task is created at the first position among its siblings, this parameter is omitted. Optional.", +"location": "query", +"type": "string" +}, +"tasklist": { +"description": "Task list identifier.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "tasks/v1/lists/{tasklist}/tasks", +"request": { +"$ref": "Task" +}, +"response": { +"$ref": "Task" +}, +"scopes": [ +"https://www.googleapis.com/auth/tasks" +] +}, +"list": { +"description": "Returns all tasks in the specified task list. Doesn't return assigned tasks by default (from Docs, Chat Spaces). A user can have up to 20,000 non-hidden tasks per list and up to 100,000 tasks in total at a time.", +"flatPath": "tasks/v1/lists/{tasklist}/tasks", +"httpMethod": "GET", +"id": "tasks.tasks.list", +"parameterOrder": [ +"tasklist" +], +"parameters": { +"completedMax": { +"description": "Upper bound for a task's completion date (as a RFC 3339 timestamp) to filter by. Optional. The default is not to filter by completion date.", +"location": "query", +"type": "string" +}, +"completedMin": { +"description": "Lower bound for a task's completion date (as a RFC 3339 timestamp) to filter by. Optional. The default is not to filter by completion date.", +"location": "query", +"type": "string" +}, +"dueMax": { +"description": "Upper bound for a task's due date (as a RFC 3339 timestamp) to filter by. Optional. The default is not to filter by due date.", +"location": "query", +"type": "string" +}, +"dueMin": { +"description": "Lower bound for a task's due date (as a RFC 3339 timestamp) to filter by. Optional. The default is not to filter by due date.", +"location": "query", +"type": "string" +}, +"maxResults": { +"description": "Maximum number of tasks returned on one page. Optional. The default is 20 (max allowed: 100).", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Token specifying the result page to return. Optional.", +"location": "query", +"type": "string" +}, +"showAssigned": { +"description": "Optional. Flag indicating whether tasks assigned to the current user are returned in the result. Optional. The default is False.", +"location": "query", +"type": "boolean" +}, +"showCompleted": { +"description": "Flag indicating whether completed tasks are returned in the result. Note that showHidden must also be True to show tasks completed in first party clients, such as the web UI and Google's mobile apps. Optional. The default is True.", +"location": "query", +"type": "boolean" +}, +"showDeleted": { +"description": "Flag indicating whether deleted tasks are returned in the result. Optional. The default is False.", +"location": "query", +"type": "boolean" +}, +"showHidden": { +"description": "Flag indicating whether hidden tasks are returned in the result. Optional. The default is False.", +"location": "query", +"type": "boolean" +}, +"tasklist": { +"description": "Task list identifier.", +"location": "path", +"required": true, +"type": "string" +}, +"updatedMin": { +"description": "Lower bound for a task's last modification time (as a RFC 3339 timestamp) to filter by. Optional. The default is not to filter by last modification time.", +"location": "query", +"type": "string" +} +}, +"path": "tasks/v1/lists/{tasklist}/tasks", +"response": { +"$ref": "Tasks" +}, +"scopes": [ +"https://www.googleapis.com/auth/tasks", +"https://www.googleapis.com/auth/tasks.readonly" +] +}, +"move": { +"description": "Moves the specified task to another position in the destination task list. If the destination list is not specified, the task is moved within its current list. This can include putting it as a child task under a new parent and/or move it to a different position among its sibling tasks. A user can have up to 2,000 subtasks per task.", +"flatPath": "tasks/v1/lists/{tasklist}/tasks/{task}/move", +"httpMethod": "POST", +"id": "tasks.tasks.move", +"parameterOrder": [ +"tasklist", +"task" +], +"parameters": { +"destinationTasklist": { +"description": "Optional. Destination task list identifier. If set, the task is moved from tasklist to the destinationTasklist list. Otherwise the task is moved within its current list. Recurrent tasks cannot currently be moved between lists.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Optional. New parent task identifier. If the task is moved to the top level, this parameter is omitted. The task set as parent must exist in the task list and can not be hidden. Exceptions: 1. Assigned and repeating tasks cannot be set as parent tasks (have subtasks), or be moved under a parent task (become subtasks). 2. Tasks that are both completed and hidden cannot be nested, so the parent field must be empty.", +"location": "query", +"type": "string" +}, +"previous": { +"description": "Optional. New previous sibling task identifier. If the task is moved to the first position among its siblings, this parameter is omitted. The task set as previous must exist in the task list and can not be hidden. Exceptions: 1. Tasks that are both completed and hidden can only be moved to position 0, so the previous field must be empty.", +"location": "query", +"type": "string" +}, +"task": { +"description": "Task identifier.", +"location": "path", +"required": true, +"type": "string" +}, +"tasklist": { +"description": "Task list identifier.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "tasks/v1/lists/{tasklist}/tasks/{task}/move", +"response": { +"$ref": "Task" +}, +"scopes": [ +"https://www.googleapis.com/auth/tasks" +] +}, +"patch": { +"description": "Updates the specified task. This method supports patch semantics.", +"flatPath": "tasks/v1/lists/{tasklist}/tasks/{task}", +"httpMethod": "PATCH", +"id": "tasks.tasks.patch", +"parameterOrder": [ +"tasklist", +"task" +], +"parameters": { +"task": { +"description": "Task identifier.", +"location": "path", +"required": true, +"type": "string" +}, +"tasklist": { +"description": "Task list identifier.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "tasks/v1/lists/{tasklist}/tasks/{task}", +"request": { +"$ref": "Task" +}, +"response": { +"$ref": "Task" +}, +"scopes": [ +"https://www.googleapis.com/auth/tasks" +] +}, +"update": { +"description": "Updates the specified task.", +"flatPath": "tasks/v1/lists/{tasklist}/tasks/{task}", +"httpMethod": "PUT", +"id": "tasks.tasks.update", +"parameterOrder": [ +"tasklist", +"task" +], +"parameters": { +"task": { +"description": "Task identifier.", +"location": "path", +"required": true, +"type": "string" +}, +"tasklist": { +"description": "Task list identifier.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "tasks/v1/lists/{tasklist}/tasks/{task}", +"request": { +"$ref": "Task" +}, +"response": { +"$ref": "Task" +}, +"scopes": [ +"https://www.googleapis.com/auth/tasks" +] +} +} +} +}, +"revision": "20251102", +"rootUrl": "https://tasks.googleapis.com/", +"schemas": { +"AssignmentInfo": { +"description": "Information about the source of the task assignment (Document, Chat Space).", +"id": "AssignmentInfo", +"properties": { +"driveResourceInfo": { +"$ref": "DriveResourceInfo", +"description": "Output only. Information about the Drive file where this task originates from. Currently, the Drive file can only be a document. This field is read-only.", +"readOnly": true +}, +"linkToTask": { +"description": "Output only. An absolute link to the original task in the surface of assignment (Docs, Chat spaces, etc.).", +"readOnly": true, +"type": "string" +}, +"spaceInfo": { +"$ref": "SpaceInfo", +"description": "Output only. Information about the Chat Space where this task originates from. This field is read-only.", +"readOnly": true +}, +"surfaceType": { +"description": "Output only. The type of surface this assigned task originates from. Currently limited to DOCUMENT or SPACE.", +"enum": [ +"CONTEXT_TYPE_UNSPECIFIED", +"GMAIL", +"DOCUMENT", +"SPACE" +], +"enumDescriptions": [ +"Unknown value for this task's context.", +"The task is created from Gmail.", +"The task is assigned from a document.", +"The task is assigned from a Chat Space." +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"DriveResourceInfo": { +"description": "Information about the Drive resource where a task was assigned from (the document, sheet, etc.).", +"id": "DriveResourceInfo", +"properties": { +"driveFileId": { +"description": "Output only. Identifier of the file in the Drive API.", +"readOnly": true, +"type": "string" +}, +"resourceKey": { +"description": "Output only. Resource key required to access files shared via a shared link. Not required for all files. See also developers.google.com/drive/api/guides/resource-keys.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"SpaceInfo": { +"description": "Information about the Chat Space where a task was assigned from.", +"id": "SpaceInfo", +"properties": { +"space": { +"description": "Output only. The Chat space where this task originates from. The format is \"spaces/{space}\".", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"Task": { +"id": "Task", +"properties": { +"assignmentInfo": { +"$ref": "AssignmentInfo", +"description": "Output only. Context information for assigned tasks. A task can be assigned to a user, currently possible from surfaces like Docs and Chat Spaces. This field is populated for tasks assigned to the current user and identifies where the task was assigned from. This field is read-only.", +"readOnly": true +}, +"completed": { +"description": "Completion date of the task (as a RFC 3339 timestamp). This field is omitted if the task has not been completed.", +"type": "string" +}, +"deleted": { +"description": "Flag indicating whether the task has been deleted. For assigned tasks this field is read-only. They can only be deleted by calling tasks.delete, in which case both the assigned task and the original task (in Docs or Chat Spaces) are deleted. To delete the assigned task only, navigate to the assignment surface and unassign the task from there. The default is False.", +"type": "boolean" +}, +"due": { +"description": "Scheduled date for the task (as an RFC 3339 timestamp). Optional. This represents the day that the task should be done, or that the task is visible on the calendar grid. It doesn't represent the deadline of the task. Only date information is recorded; the time portion of the timestamp is discarded when setting this field. It isn't possible to read or write the time that a task is scheduled for using the API.", +"type": "string" +}, +"etag": { +"description": "ETag of the resource.", +"type": "string" +}, +"hidden": { +"description": "Flag indicating whether the task is hidden. This is the case if the task had been marked completed when the task list was last cleared. The default is False. This field is read-only.", +"type": "boolean" +}, +"id": { +"description": "Task identifier.", +"type": "string" +}, +"kind": { +"description": "Output only. Type of the resource. This is always \"tasks#task\".", +"readOnly": true, +"type": "string" +}, +"links": { +"description": "Output only. Collection of links. This collection is read-only.", +"items": { +"properties": { +"description": { +"description": "The description (might be empty).", +"type": "string" +}, +"link": { +"description": "The URL.", +"type": "string" +}, +"type": { +"description": "Type of the link, e.g. \"email\", \"generic\", \"chat_message\", \"keep_note\".", +"type": "string" +} +}, +"type": "object" +}, +"readOnly": true, +"type": "array" +}, +"notes": { +"description": "Notes describing the task. Tasks assigned from Google Docs cannot have notes. Optional. Maximum length allowed: 8192 characters.", +"type": "string" +}, +"parent": { +"description": "Output only. Parent task identifier. This field is omitted if it is a top-level task. Use the \"move\" method to move the task under a different parent or to the top level. A parent task can never be an assigned task (from Chat Spaces, Docs). This field is read-only.", +"readOnly": true, +"type": "string" +}, +"position": { +"description": "Output only. String indicating the position of the task among its sibling tasks under the same parent task or at the top level. If this string is greater than another task's corresponding position string according to lexicographical ordering, the task is positioned after the other task under the same parent task (or at the top level). Use the \"move\" method to move the task to another position.", +"readOnly": true, +"type": "string" +}, +"selfLink": { +"description": "Output only. URL pointing to this task. Used to retrieve, update, or delete this task.", +"readOnly": true, +"type": "string" +}, +"status": { +"description": "Status of the task. This is either \"needsAction\" or \"completed\".", +"type": "string" +}, +"title": { +"description": "Title of the task. Maximum length allowed: 1024 characters.", +"type": "string" +}, +"updated": { +"description": "Output only. Last modification time of the task (as a RFC 3339 timestamp).", +"readOnly": true, +"type": "string" +}, +"webViewLink": { +"description": "Output only. An absolute link to the task in the Google Tasks Web UI.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"TaskList": { +"id": "TaskList", +"properties": { +"etag": { +"description": "ETag of the resource.", +"type": "string" +}, +"id": { +"description": "Task list identifier.", +"type": "string" +}, +"kind": { +"description": "Output only. Type of the resource. This is always \"tasks#taskList\".", +"readOnly": true, +"type": "string" +}, +"selfLink": { +"description": "Output only. URL pointing to this task list. Used to retrieve, update, or delete this task list.", +"readOnly": true, +"type": "string" +}, +"title": { +"description": "Title of the task list. Maximum length allowed: 1024 characters.", +"type": "string" +}, +"updated": { +"description": "Output only. Last modification time of the task list (as a RFC 3339 timestamp).", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"TaskLists": { +"id": "TaskLists", +"properties": { +"etag": { +"description": "ETag of the resource.", +"type": "string" +}, +"items": { +"description": "Collection of task lists.", +"items": { +"$ref": "TaskList" +}, +"type": "array" +}, +"kind": { +"description": "Type of the resource. This is always \"tasks#taskLists\".", +"type": "string" +}, +"nextPageToken": { +"description": "Token that can be used to request the next page of this result.", +"type": "string" +} +}, +"type": "object" +}, +"Tasks": { +"id": "Tasks", +"properties": { +"etag": { +"description": "ETag of the resource.", +"type": "string" +}, +"items": { +"description": "Collection of tasks.", +"items": { +"$ref": "Task" +}, +"type": "array" +}, +"kind": { +"description": "Type of the resource. This is always \"tasks#tasks\".", +"type": "string" +}, +"nextPageToken": { +"description": "Token used to access the next page of this result.", +"type": "string" +} +}, +"type": "object" +} +}, +"servicePath": "", +"title": "Google Tasks API", +"version": "v1" +} \ No newline at end of file diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/texttospeech.v1.json b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/texttospeech.v1.json new file mode 100644 index 0000000000000000000000000000000000000000..29345aac962dc24fdbe8f396365c0725d178c20d --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/texttospeech.v1.json @@ -0,0 +1,887 @@ +{ +"auth": { +"oauth2": { +"scopes": { +"https://www.googleapis.com/auth/cloud-platform": { +"description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." +} +} +} +}, +"basePath": "", +"baseUrl": "https://texttospeech.googleapis.com/", +"batchPath": "batch", +"canonicalName": "Texttospeech", +"description": "Synthesizes natural-sounding speech by applying powerful neural network models.", +"discoveryVersion": "v1", +"documentationLink": "https://cloud.google.com/text-to-speech/", +"fullyEncodeReservedExpansion": true, +"icons": { +"x16": "http://www.google.com/images/icons/product/search-16.gif", +"x32": "http://www.google.com/images/icons/product/search-32.gif" +}, +"id": "texttospeech:v1", +"kind": "discovery#restDescription", +"mtlsRootUrl": "https://texttospeech.mtls.googleapis.com/", +"name": "texttospeech", +"ownerDomain": "google.com", +"ownerName": "Google", +"parameters": { +"$.xgafv": { +"description": "V1 error format.", +"enum": [ +"1", +"2" +], +"enumDescriptions": [ +"v1 error format", +"v2 error format" +], +"location": "query", +"type": "string" +}, +"access_token": { +"description": "OAuth access token.", +"location": "query", +"type": "string" +}, +"alt": { +"default": "json", +"description": "Data format for response.", +"enum": [ +"json", +"media", +"proto" +], +"enumDescriptions": [ +"Responses with Content-Type of application/json", +"Media download with context-dependent Content-Type", +"Responses with Content-Type of application/x-protobuf" +], +"location": "query", +"type": "string" +}, +"callback": { +"description": "JSONP", +"location": "query", +"type": "string" +}, +"fields": { +"description": "Selector specifying which fields to include in a partial response.", +"location": "query", +"type": "string" +}, +"key": { +"description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", +"location": "query", +"type": "string" +}, +"oauth_token": { +"description": "OAuth 2.0 token for the current user.", +"location": "query", +"type": "string" +}, +"prettyPrint": { +"default": "true", +"description": "Returns response with indentations and line breaks.", +"location": "query", +"type": "boolean" +}, +"quotaUser": { +"description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.", +"location": "query", +"type": "string" +}, +"uploadType": { +"description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", +"location": "query", +"type": "string" +}, +"upload_protocol": { +"description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", +"location": "query", +"type": "string" +} +}, +"protocol": "rest", +"resources": { +"operations": { +"methods": { +"cancel": { +"description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.", +"flatPath": "v1/operations/{operationsId}:cancel", +"httpMethod": "POST", +"id": "texttospeech.operations.cancel", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be cancelled.", +"location": "path", +"pattern": "^operations/.*$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:cancel", +"request": { +"$ref": "CancelOperationRequest" +}, +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.", +"flatPath": "v1/operations/{operationsId}", +"httpMethod": "DELETE", +"id": "texttospeech.operations.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be deleted.", +"location": "path", +"pattern": "^operations/.*$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"projects": { +"resources": { +"locations": { +"methods": { +"synthesizeLongAudio": { +"description": "Synthesizes long form text asynchronously.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}:synthesizeLongAudio", +"httpMethod": "POST", +"id": "texttospeech.projects.locations.synthesizeLongAudio", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "The resource states of the request in the form of `projects/*/locations/*`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}:synthesizeLongAudio", +"request": { +"$ref": "SynthesizeLongAudioRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"operations": { +"methods": { +"get": { +"description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}", +"httpMethod": "GET", +"id": "texttospeech.projects.locations.operations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/operations", +"httpMethod": "GET", +"id": "texttospeech.projects.locations.operations.list", +"parameterOrder": [ +"name" +], +"parameters": { +"filter": { +"description": "The standard list filter.", +"location": "query", +"type": "string" +}, +"name": { +"description": "The name of the operation's parent resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The standard list page size.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The standard list page token.", +"location": "query", +"type": "string" +}, +"returnPartialSuccess": { +"description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `\"projects/example/locations/-\"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1/{+name}/operations", +"response": { +"$ref": "ListOperationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +} +} +}, +"text": { +"methods": { +"synthesize": { +"description": "Synthesizes speech synchronously: receive results after all text input has been processed.", +"flatPath": "v1/text:synthesize", +"httpMethod": "POST", +"id": "texttospeech.text.synthesize", +"parameterOrder": [], +"parameters": {}, +"path": "v1/text:synthesize", +"request": { +"$ref": "SynthesizeSpeechRequest" +}, +"response": { +"$ref": "SynthesizeSpeechResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"voices": { +"methods": { +"list": { +"description": "Returns a list of Voice supported for synthesis.", +"flatPath": "v1/voices", +"httpMethod": "GET", +"id": "texttospeech.voices.list", +"parameterOrder": [], +"parameters": { +"languageCode": { +"description": "Optional. Recommended. [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag. If not specified, the API will return all supported voices. If specified, the ListVoices call will only return voices that can be used to synthesize this language_code. For example, if you specify `\"en-NZ\"`, all `\"en-NZ\"` voices will be returned. If you specify `\"no\"`, both `\"no-\\*\"` (Norwegian) and `\"nb-\\*\"` (Norwegian Bokmal) voices will be returned.", +"location": "query", +"type": "string" +} +}, +"path": "v1/voices", +"response": { +"$ref": "ListVoicesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +}, +"revision": "20260123", +"rootUrl": "https://texttospeech.googleapis.com/", +"schemas": { +"AdvancedVoiceOptions": { +"description": "Used for advanced voice options.", +"id": "AdvancedVoiceOptions", +"properties": { +"enableTextnorm": { +"description": "Optional. If true, textnorm will be applied to text input. This feature is enabled by default. Only applies for Gemini TTS.", +"type": "boolean" +}, +"lowLatencyJourneySynthesis": { +"description": "Only for Journey voices. If false, the synthesis is context aware and has a higher latency.", +"type": "boolean" +}, +"relaxSafetyFilters": { +"description": "Optional. Input only. If true, relaxes safety filters for Gemini TTS. Only supported for accounts linked to Invoiced (Offline) Cloud billing accounts. Otherwise, will return result google.rpc.Code.INVALID_ARGUMENT.", +"type": "boolean" +} +}, +"type": "object" +}, +"AudioConfig": { +"description": "Description of audio data to be synthesized.", +"id": "AudioConfig", +"properties": { +"audioEncoding": { +"description": "Required. The format of the audio byte stream.", +"enum": [ +"AUDIO_ENCODING_UNSPECIFIED", +"LINEAR16", +"MP3", +"OGG_OPUS", +"MULAW", +"ALAW", +"PCM", +"M4A" +], +"enumDescriptions": [ +"Not specified. Only used by GenerateVoiceCloningKey. Otherwise, will return result google.rpc.Code.INVALID_ARGUMENT.", +"Uncompressed 16-bit signed little-endian samples (Linear PCM). Audio content returned as LINEAR16 also contains a WAV header.", +"MP3 audio at 32kbps.", +"Opus encoded audio wrapped in an ogg container. The result is a file which can be played natively on Android, and in browsers (at least Chrome and Firefox). The quality of the encoding is considerably higher than MP3 while using approximately the same bitrate.", +"8-bit samples that compand 14-bit audio samples using G.711 PCMU/mu-law. Audio content returned as MULAW also contains a WAV header.", +"8-bit samples that compand 14-bit audio samples using G.711 PCMU/A-law. Audio content returned as ALAW also contains a WAV header.", +"Uncompressed 16-bit signed little-endian samples (Linear PCM). Note that as opposed to LINEAR16, audio won't be wrapped in a WAV (or any other) header.", +"M4A audio." +], +"type": "string" +}, +"effectsProfileId": { +"description": "Optional. Input only. An identifier which selects 'audio effects' profiles that are applied on (post synthesized) text to speech. Effects are applied on top of each other in the order they are given. See [audio profiles](https://cloud.google.com/text-to-speech/docs/audio-profiles) for current supported profile ids.", +"items": { +"type": "string" +}, +"type": "array" +}, +"pitch": { +"description": "Optional. Input only. Speaking pitch, in the range [-20.0, 20.0]. 20 means increase 20 semitones from the original pitch. -20 means decrease 20 semitones from the original pitch.", +"format": "double", +"type": "number" +}, +"sampleRateHertz": { +"description": "Optional. The synthesis sample rate (in hertz) for this audio. When this is specified in SynthesizeSpeechRequest, if this is different from the voice's natural sample rate, then the synthesizer will honor this request by converting to the desired sample rate (which might result in worse audio quality), unless the specified sample rate is not supported for the encoding chosen, in which case it will fail the request and return google.rpc.Code.INVALID_ARGUMENT.", +"format": "int32", +"type": "integer" +}, +"speakingRate": { +"description": "Optional. Input only. Speaking rate/speed, in the range [0.25, 2.0]. 1.0 is the normal native speed supported by the specific voice. 2.0 is twice as fast, and 0.5 is half as fast. If unset(0.0), defaults to the native 1.0 speed. Any other values < 0.25 or > 2.0 will return an error.", +"format": "double", +"type": "number" +}, +"volumeGainDb": { +"description": "Optional. Input only. Volume gain (in dB) of the normal native volume supported by the specific voice, in the range [-96.0, 16.0]. If unset, or set to a value of 0.0 (dB), will play at normal native signal amplitude. A value of -6.0 (dB) will play at approximately half the amplitude of the normal native signal amplitude. A value of +6.0 (dB) will play at approximately twice the amplitude of the normal native signal amplitude. Strongly recommend not to exceed +10 (dB) as there's usually no effective increase in loudness for any value greater than that.", +"format": "double", +"type": "number" +} +}, +"type": "object" +}, +"CancelOperationRequest": { +"description": "The request message for Operations.CancelOperation.", +"id": "CancelOperationRequest", +"properties": {}, +"type": "object" +}, +"CustomPronunciationParams": { +"description": "Pronunciation customization for a phrase.", +"id": "CustomPronunciationParams", +"properties": { +"phoneticEncoding": { +"description": "The phonetic encoding of the phrase.", +"enum": [ +"PHONETIC_ENCODING_UNSPECIFIED", +"PHONETIC_ENCODING_IPA", +"PHONETIC_ENCODING_X_SAMPA", +"PHONETIC_ENCODING_JAPANESE_YOMIGANA", +"PHONETIC_ENCODING_PINYIN" +], +"enumDescriptions": [ +"Not specified.", +"IPA, such as apple -> \u02c8\u00e6p\u0259l. https://en.wikipedia.org/wiki/International_Phonetic_Alphabet", +"X-SAMPA, such as apple -> \"{p@l\". https://en.wikipedia.org/wiki/X-SAMPA", +"For reading-to-pron conversion to work well, the `pronunciation` field should only contain Kanji, Hiragana, and Katakana. The pronunciation can also contain pitch accents. The start of a pitch phrase is specified with `^` and the down-pitch position is specified with `!`, for example: phrase:\u7aef pronunciation:^\u306f\u3057 phrase:\u7bb8 pronunciation:^\u306f!\u3057 phrase:\u6a4b pronunciation:^\u306f\u3057! We currently only support the Tokyo dialect, which allows at most one down-pitch per phrase (i.e. at most one `!` between `^`).", +"Used to specify pronunciations for Mandarin words. See https://en.wikipedia.org/wiki/Pinyin. For example: \u671d\u9633, the pronunciation is \"chao2 yang2\". The number represents the tone, and there is a space between syllables. Neutral tones are represented by 5, for example \u5b69\u5b50 \"hai2 zi5\"." +], +"type": "string" +}, +"phrase": { +"description": "The phrase to which the customization is applied. The phrase can be multiple words, such as proper nouns, but shouldn't span the length of the sentence.", +"type": "string" +}, +"pronunciation": { +"description": "The pronunciation of the phrase. This must be in the phonetic encoding specified above.", +"type": "string" +} +}, +"type": "object" +}, +"CustomPronunciations": { +"description": "A collection of pronunciation customizations.", +"id": "CustomPronunciations", +"properties": { +"pronunciations": { +"description": "The pronunciation customizations are applied.", +"items": { +"$ref": "CustomPronunciationParams" +}, +"type": "array" +} +}, +"type": "object" +}, +"CustomVoiceParams": { +"description": "Description of the custom voice to be synthesized.", +"id": "CustomVoiceParams", +"properties": { +"model": { +"description": "Required. The name of the AutoML model that synthesizes the custom voice.", +"type": "string" +}, +"reportedUsage": { +"deprecated": true, +"description": "Optional. Deprecated. The usage of the synthesized audio to be reported.", +"enum": [ +"REPORTED_USAGE_UNSPECIFIED", +"REALTIME", +"OFFLINE" +], +"enumDescriptions": [ +"Request with reported usage unspecified will be rejected.", +"For scenarios where the synthesized audio is not downloadable and can only be used once. For example, real-time request in IVR system.", +"For scenarios where the synthesized audio is downloadable and can be reused. For example, the synthesized audio is downloaded, stored in customer service system and played repeatedly." +], +"type": "string" +} +}, +"type": "object" +}, +"Empty": { +"description": "A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }", +"id": "Empty", +"properties": {}, +"type": "object" +}, +"GoogleCloudTexttospeechV1SynthesizeLongAudioMetadata": { +"description": "Metadata for response returned by the `SynthesizeLongAudio` method.", +"id": "GoogleCloudTexttospeechV1SynthesizeLongAudioMetadata", +"properties": { +"lastUpdateTime": { +"deprecated": true, +"description": "Deprecated. Do not use.", +"format": "google-datetime", +"type": "string" +}, +"progressPercentage": { +"description": "The progress of the most recent processing update in percentage, ie. 70.0%.", +"format": "double", +"type": "number" +}, +"startTime": { +"description": "Time when the request was received.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"ListOperationsResponse": { +"description": "The response message for Operations.ListOperations.", +"id": "ListOperationsResponse", +"properties": { +"nextPageToken": { +"description": "The standard List next-page token.", +"type": "string" +}, +"operations": { +"description": "A list of operations that matches the specified filter in the request.", +"items": { +"$ref": "Operation" +}, +"type": "array" +}, +"unreachable": { +"description": "Unordered list. Unreachable resources. Populated when the request sets `ListOperationsRequest.return_partial_success` and reads across collections. For example, when attempting to list all resources across all supported locations.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListVoicesResponse": { +"description": "The message returned to the client by the `ListVoices` method.", +"id": "ListVoicesResponse", +"properties": { +"voices": { +"description": "The list of voices.", +"items": { +"$ref": "Voice" +}, +"type": "array" +} +}, +"type": "object" +}, +"MultiSpeakerMarkup": { +"description": "A collection of turns for multi-speaker synthesis.", +"id": "MultiSpeakerMarkup", +"properties": { +"turns": { +"description": "Required. Speaker turns.", +"items": { +"$ref": "Turn" +}, +"type": "array" +} +}, +"type": "object" +}, +"MultiSpeakerVoiceConfig": { +"description": "Configuration for a multi-speaker text-to-speech setup. Enables the use of up to two distinct voices in a single synthesis request.", +"id": "MultiSpeakerVoiceConfig", +"properties": { +"speakerVoiceConfigs": { +"description": "Required. A list of configurations for the voices of the speakers. Exactly two speaker voice configurations must be provided.", +"items": { +"$ref": "MultispeakerPrebuiltVoice" +}, +"type": "array" +} +}, +"type": "object" +}, +"MultispeakerPrebuiltVoice": { +"description": "Configuration for a single speaker in a Gemini TTS multi-speaker setup. Enables dialogue between two speakers.", +"id": "MultispeakerPrebuiltVoice", +"properties": { +"speakerAlias": { +"description": "Required. The speaker alias of the voice. This is the user-chosen speaker name that is used in the multispeaker text input, such as \"Speaker1\".", +"type": "string" +}, +"speakerId": { +"description": "Required. The speaker ID of the voice. See https://cloud.google.com/text-to-speech/docs/gemini-tts#voice_options for available values.", +"type": "string" +} +}, +"type": "object" +}, +"Operation": { +"description": "This resource represents a long-running operation that is the result of a network API call.", +"id": "Operation", +"properties": { +"done": { +"description": "If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.", +"type": "boolean" +}, +"error": { +"$ref": "Status", +"description": "The error result of the operation in case of failure or cancellation." +}, +"metadata": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.", +"type": "object" +}, +"name": { +"description": "The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.", +"type": "string" +}, +"response": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "The normal, successful response of the operation. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.", +"type": "object" +} +}, +"type": "object" +}, +"Status": { +"description": "The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors).", +"id": "Status", +"properties": { +"code": { +"description": "The status code, which should be an enum value of google.rpc.Code.", +"format": "int32", +"type": "integer" +}, +"details": { +"description": "A list of messages that carry the error details. There is a common set of message types for APIs to use.", +"items": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.", +"type": "string" +} +}, +"type": "object" +}, +"SynthesisInput": { +"description": "Contains text input to be synthesized. Either `text` or `ssml` must be supplied. Supplying both or neither returns google.rpc.Code.INVALID_ARGUMENT. The input size is limited to 5000 bytes.", +"id": "SynthesisInput", +"properties": { +"customPronunciations": { +"$ref": "CustomPronunciations", +"description": "Optional. The pronunciation customizations are applied to the input. If this is set, the input is synthesized using the given pronunciation customizations. The initial support is for en-us, with plans to expand to other locales in the future. Instant Clone voices aren't supported. In order to customize the pronunciation of a phrase, there must be an exact match of the phrase in the input types. If using SSML, the phrase must not be inside a phoneme tag." +}, +"markup": { +"description": "Markup for Chirp 3: HD voices specifically. This field may not be used with any other voices.", +"type": "string" +}, +"multiSpeakerMarkup": { +"$ref": "MultiSpeakerMarkup", +"description": "The multi-speaker input to be synthesized. Only applicable for multi-speaker synthesis." +}, +"prompt": { +"description": "This system instruction is supported only for controllable/promptable voice models. If this system instruction is used, we pass the unedited text to Gemini-TTS. Otherwise, a default system instruction is used. AI Studio calls this system instruction, Style Instructions.", +"type": "string" +}, +"ssml": { +"description": "The SSML document to be synthesized. The SSML document must be valid and well-formed. Otherwise the RPC will fail and return google.rpc.Code.INVALID_ARGUMENT. For more information, see [SSML](https://cloud.google.com/text-to-speech/docs/ssml).", +"type": "string" +}, +"text": { +"description": "The raw text to be synthesized.", +"type": "string" +} +}, +"type": "object" +}, +"SynthesizeLongAudioMetadata": { +"description": "Metadata for response returned by the `SynthesizeLongAudio` method.", +"id": "SynthesizeLongAudioMetadata", +"properties": { +"lastUpdateTime": { +"deprecated": true, +"description": "Deprecated. Do not use.", +"format": "google-datetime", +"type": "string" +}, +"progressPercentage": { +"description": "The progress of the most recent processing update in percentage, ie. 70.0%.", +"format": "double", +"type": "number" +}, +"startTime": { +"description": "Time when the request was received.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"SynthesizeLongAudioRequest": { +"description": "The top-level message sent by the client for the `SynthesizeLongAudio` method.", +"id": "SynthesizeLongAudioRequest", +"properties": { +"audioConfig": { +"$ref": "AudioConfig", +"description": "Required. The configuration of the synthesized audio." +}, +"input": { +"$ref": "SynthesisInput", +"description": "Required. The Synthesizer requires either plain text or SSML as input." +}, +"outputGcsUri": { +"description": "Required. Specifies a Cloud Storage URI for the synthesis results. Must be specified in the format: `gs://bucket_name/object_name`, and the bucket must already exist.", +"type": "string" +}, +"voice": { +"$ref": "VoiceSelectionParams", +"description": "Required. The desired voice of the synthesized audio." +} +}, +"type": "object" +}, +"SynthesizeSpeechRequest": { +"description": "The top-level message sent by the client for the `SynthesizeSpeech` method.", +"id": "SynthesizeSpeechRequest", +"properties": { +"advancedVoiceOptions": { +"$ref": "AdvancedVoiceOptions", +"description": "Optional. Advanced voice options." +}, +"audioConfig": { +"$ref": "AudioConfig", +"description": "Required. The configuration of the synthesized audio." +}, +"input": { +"$ref": "SynthesisInput", +"description": "Required. The Synthesizer requires either plain text or SSML as input." +}, +"voice": { +"$ref": "VoiceSelectionParams", +"description": "Required. The desired voice of the synthesized audio." +} +}, +"type": "object" +}, +"SynthesizeSpeechResponse": { +"description": "The message returned to the client by the `SynthesizeSpeech` method.", +"id": "SynthesizeSpeechResponse", +"properties": { +"audioContent": { +"description": "The audio data bytes encoded as specified in the request, including the header for encodings that are wrapped in containers (e.g. MP3, OGG_OPUS). For LINEAR16 audio, we include the WAV header. Note: as with all bytes fields, protobuffers use a pure binary representation, whereas JSON representations use base64.", +"format": "byte", +"type": "string" +} +}, +"type": "object" +}, +"Turn": { +"description": "A multi-speaker turn.", +"id": "Turn", +"properties": { +"speaker": { +"description": "Required. The speaker of the turn, for example, 'O' or 'Q'. Please refer to documentation for available speakers.", +"type": "string" +}, +"text": { +"description": "Required. The text to speak.", +"type": "string" +} +}, +"type": "object" +}, +"Voice": { +"description": "Description of a voice supported by the TTS service.", +"id": "Voice", +"properties": { +"languageCodes": { +"description": "The languages that this voice supports, expressed as [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tags (e.g. \"en-US\", \"es-419\", \"cmn-tw\").", +"items": { +"type": "string" +}, +"type": "array" +}, +"name": { +"description": "The name of this voice. Each distinct voice has a unique name.", +"type": "string" +}, +"naturalSampleRateHertz": { +"description": "The natural sample rate (in hertz) for this voice.", +"format": "int32", +"type": "integer" +}, +"ssmlGender": { +"description": "The gender of this voice.", +"enum": [ +"SSML_VOICE_GENDER_UNSPECIFIED", +"MALE", +"FEMALE", +"NEUTRAL" +], +"enumDescriptions": [ +"An unspecified gender. In VoiceSelectionParams, this means that the client doesn't care which gender the selected voice will have. In the Voice field of ListVoicesResponse, this may mean that the voice doesn't fit any of the other categories in this enum, or that the gender of the voice isn't known.", +"A male voice.", +"A female voice.", +"A gender-neutral voice. This voice is not yet supported." +], +"type": "string" +} +}, +"type": "object" +}, +"VoiceCloneParams": { +"description": "The configuration of Voice Clone feature.", +"id": "VoiceCloneParams", +"properties": { +"voiceCloningKey": { +"description": "Required. Created by GenerateVoiceCloningKey.", +"type": "string" +} +}, +"type": "object" +}, +"VoiceSelectionParams": { +"description": "Description of which voice to use for a synthesis request.", +"id": "VoiceSelectionParams", +"properties": { +"customVoice": { +"$ref": "CustomVoiceParams", +"description": "The configuration for a custom voice. If [CustomVoiceParams.model] is set, the service will choose the custom voice matching the specified configuration." +}, +"languageCode": { +"description": "Required. The language (and potentially also the region) of the voice expressed as a [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag, e.g. \"en-US\". This should not include a script tag (e.g. use \"cmn-cn\" rather than \"cmn-Hant-cn\"), because the script will be inferred from the input provided in the SynthesisInput. The TTS service will use this parameter to help choose an appropriate voice. Note that the TTS service may choose a voice with a slightly different language code than the one selected; it may substitute a different region (e.g. using en-US rather than en-CA if there isn't a Canadian voice available), or even a different language, e.g. using \"nb\" (Norwegian Bokmal) instead of \"no\" (Norwegian)\".", +"type": "string" +}, +"modelName": { +"description": "Optional. The name of the model. If set, the service will choose the model matching the specified configuration.", +"type": "string" +}, +"multiSpeakerVoiceConfig": { +"$ref": "MultiSpeakerVoiceConfig", +"description": "Optional. The configuration for a Gemini multi-speaker text-to-speech setup. Enables the use of two distinct voices in a single synthesis request." +}, +"name": { +"description": "The name of the voice. If both the name and the gender are not set, the service will choose a voice based on the other parameters such as language_code.", +"type": "string" +}, +"ssmlGender": { +"description": "The preferred gender of the voice. If not set, the service will choose a voice based on the other parameters such as language_code and name. Note that this is only a preference, not requirement; if a voice of the appropriate gender is not available, the synthesizer should substitute a voice with a different gender rather than failing the request.", +"enum": [ +"SSML_VOICE_GENDER_UNSPECIFIED", +"MALE", +"FEMALE", +"NEUTRAL" +], +"enumDescriptions": [ +"An unspecified gender. In VoiceSelectionParams, this means that the client doesn't care which gender the selected voice will have. In the Voice field of ListVoicesResponse, this may mean that the voice doesn't fit any of the other categories in this enum, or that the gender of the voice isn't known.", +"A male voice.", +"A female voice.", +"A gender-neutral voice. This voice is not yet supported." +], +"type": "string" +}, +"voiceClone": { +"$ref": "VoiceCloneParams", +"description": "Optional. The configuration for a voice clone. If [VoiceCloneParams.voice_clone_key] is set, the service chooses the voice clone matching the specified configuration." +} +}, +"type": "object" +} +}, +"servicePath": "", +"title": "Cloud Text-to-Speech API", +"version": "v1", +"version_module": true +} \ No newline at end of file diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/threatintelligence.v1beta.json b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/threatintelligence.v1beta.json new file mode 100644 index 0000000000000000000000000000000000000000..78cb8d160dc7e4ba1275ffb0fe7f238245bc4ed7 --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/threatintelligence.v1beta.json @@ -0,0 +1,2269 @@ +{ +"auth": { +"oauth2": { +"scopes": { +"https://www.googleapis.com/auth/cloud-platform": { +"description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." +} +} +} +}, +"basePath": "", +"baseUrl": "https://threatintelligence.googleapis.com/", +"batchPath": "batch", +"canonicalName": "Threat Intelligence Service", +"description": "threatintelligence.googleapis.com API.", +"discoveryVersion": "v1", +"documentationLink": "https://docs.cloud.google.com/threatintelligence/", +"endpoints": [ +{ +"description": "Regional Endpoint", +"endpointUrl": "https://threatintelligence.us-central1.rep.googleapis.com/", +"location": "us-central1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://threatintelligence.us-east5.rep.googleapis.com/", +"location": "us-east5" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://threatintelligence.us-west2.rep.googleapis.com/", +"location": "us-west2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://threatintelligence.us.rep.googleapis.com/", +"location": "us" +} +], +"fullyEncodeReservedExpansion": true, +"icons": { +"x16": "http://www.google.com/images/icons/product/search-16.gif", +"x32": "http://www.google.com/images/icons/product/search-32.gif" +}, +"id": "threatintelligence:v1beta", +"kind": "discovery#restDescription", +"mtlsRootUrl": "https://threatintelligence.mtls.googleapis.com/", +"name": "threatintelligence", +"ownerDomain": "google.com", +"ownerName": "Google", +"parameters": { +"$.xgafv": { +"description": "V1 error format.", +"enum": [ +"1", +"2" +], +"enumDescriptions": [ +"v1 error format", +"v2 error format" +], +"location": "query", +"type": "string" +}, +"access_token": { +"description": "OAuth access token.", +"location": "query", +"type": "string" +}, +"alt": { +"default": "json", +"description": "Data format for response.", +"enum": [ +"json", +"media", +"proto" +], +"enumDescriptions": [ +"Responses with Content-Type of application/json", +"Media download with context-dependent Content-Type", +"Responses with Content-Type of application/x-protobuf" +], +"location": "query", +"type": "string" +}, +"callback": { +"description": "JSONP", +"location": "query", +"type": "string" +}, +"fields": { +"description": "Selector specifying which fields to include in a partial response.", +"location": "query", +"type": "string" +}, +"key": { +"description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", +"location": "query", +"type": "string" +}, +"oauth_token": { +"description": "OAuth 2.0 token for the current user.", +"location": "query", +"type": "string" +}, +"prettyPrint": { +"default": "true", +"description": "Returns response with indentations and line breaks.", +"location": "query", +"type": "boolean" +}, +"quotaUser": { +"description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.", +"location": "query", +"type": "string" +}, +"uploadType": { +"description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", +"location": "query", +"type": "string" +}, +"upload_protocol": { +"description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", +"location": "query", +"type": "string" +} +}, +"protocol": "rest", +"resources": { +"projects": { +"methods": { +"generateOrgProfile": { +"description": "Triggers the generation of a Customer Profile for a project.", +"flatPath": "v1beta/projects/{projectsId}:generateOrgProfile", +"httpMethod": "POST", +"id": "threatintelligence.projects.generateOrgProfile", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the project to generate the profile for. Format: projects/{project}", +"location": "path", +"pattern": "^projects/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta/{+name}:generateOrgProfile", +"request": { +"$ref": "GenerateOrgProfileConfigurationRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"alerts": { +"methods": { +"benign": { +"description": "Marks an alert as benign - BENIGN.", +"flatPath": "v1beta/projects/{projectsId}/alerts/{alertsId}:benign", +"httpMethod": "POST", +"id": "threatintelligence.projects.alerts.benign", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of the alert to mark as a benign. Format: projects/{project}/alerts/{alert}", +"location": "path", +"pattern": "^projects/[^/]+/alerts/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta/{+name}:benign", +"request": { +"$ref": "MarkAlertAsBenignRequest" +}, +"response": { +"$ref": "Alert" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"duplicate": { +"description": "Marks an alert as a duplicate of another alert. - DUPLICATE.", +"flatPath": "v1beta/projects/{projectsId}/alerts/{alertsId}:duplicate", +"httpMethod": "POST", +"id": "threatintelligence.projects.alerts.duplicate", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of the alert to mark as a duplicate. Format: projects/{project}/alerts/{alert}", +"location": "path", +"pattern": "^projects/[^/]+/alerts/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta/{+name}:duplicate", +"request": { +"$ref": "MarkAlertAsDuplicateRequest" +}, +"response": { +"$ref": "Alert" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"enumerateFacets": { +"description": "EnumerateAlertFacets returns the facets and the number of alerts that meet the filter criteria and have that value for each facet.", +"flatPath": "v1beta/projects/{projectsId}/alerts:enumerateFacets", +"httpMethod": "GET", +"id": "threatintelligence.projects.alerts.enumerateFacets", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Optional. Filter on what alerts will be enumerated.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. Parent of the alerts.", +"location": "path", +"pattern": "^projects/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta/{+parent}/alerts:enumerateFacets", +"response": { +"$ref": "EnumerateAlertFacetsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"escalate": { +"description": "Marks an alert as escalated - ESCALATED.", +"flatPath": "v1beta/projects/{projectsId}/alerts/{alertsId}:escalate", +"httpMethod": "POST", +"id": "threatintelligence.projects.alerts.escalate", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of the alert to mark as escalated. Format: projects/{project}/alerts/{alert}", +"location": "path", +"pattern": "^projects/[^/]+/alerts/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta/{+name}:escalate", +"request": { +"$ref": "MarkAlertAsEscalatedRequest" +}, +"response": { +"$ref": "Alert" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"falsePositive": { +"description": "Marks an alert as a false positive - FALSE_POSITIVE.", +"flatPath": "v1beta/projects/{projectsId}/alerts/{alertsId}:falsePositive", +"httpMethod": "POST", +"id": "threatintelligence.projects.alerts.falsePositive", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of the alert to mark as a false positive. Format: projects/{project}/alerts/{alert}", +"location": "path", +"pattern": "^projects/[^/]+/alerts/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta/{+name}:falsePositive", +"request": { +"$ref": "MarkAlertAsFalsePositiveRequest" +}, +"response": { +"$ref": "Alert" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Get an alert by name.", +"flatPath": "v1beta/projects/{projectsId}/alerts/{alertsId}", +"httpMethod": "GET", +"id": "threatintelligence.projects.alerts.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of the alert to get. Format: projects/{project}/alerts/{alert}", +"location": "path", +"pattern": "^projects/[^/]+/alerts/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta/{+name}", +"response": { +"$ref": "Alert" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Get a list of alerts that meet the filter criteria.", +"flatPath": "v1beta/projects/{projectsId}/alerts", +"httpMethod": "GET", +"id": "threatintelligence.projects.alerts.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Optional. Filter criteria.", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "Optional. Order by criteria in the csv format: \"field1,field2 desc\" or \"field1,field2\" or \"field1 asc, field2\".", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Optional. Page size.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. Page token.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. Parent of the alerts. Format: projects/{project}", +"location": "path", +"pattern": "^projects/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta/{+parent}/alerts", +"response": { +"$ref": "ListAlertsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"notActionable": { +"description": "Marks an alert as not actionable - NOT_ACTIONABLE.", +"flatPath": "v1beta/projects/{projectsId}/alerts/{alertsId}:notActionable", +"httpMethod": "POST", +"id": "threatintelligence.projects.alerts.notActionable", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of the alert to mark as a not actionable. Format: projects/{project}/alerts/{alert}", +"location": "path", +"pattern": "^projects/[^/]+/alerts/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta/{+name}:notActionable", +"request": { +"$ref": "MarkAlertAsNotActionableRequest" +}, +"response": { +"$ref": "Alert" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"read": { +"description": "Marks an alert as read - READ.", +"flatPath": "v1beta/projects/{projectsId}/alerts/{alertsId}:read", +"httpMethod": "POST", +"id": "threatintelligence.projects.alerts.read", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of the alert to mark as read. Format: projects/{project}/alerts/{alert}", +"location": "path", +"pattern": "^projects/[^/]+/alerts/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta/{+name}:read", +"request": { +"$ref": "MarkAlertAsReadRequest" +}, +"response": { +"$ref": "Alert" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"resolve": { +"description": "Marks an alert to closed state - RESOLVED.", +"flatPath": "v1beta/projects/{projectsId}/alerts/{alertsId}:resolve", +"httpMethod": "POST", +"id": "threatintelligence.projects.alerts.resolve", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of the alert to mark as resolved. Format: projects/{project}/alerts/{alert}", +"location": "path", +"pattern": "^projects/[^/]+/alerts/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta/{+name}:resolve", +"request": { +"$ref": "MarkAlertAsResolvedRequest" +}, +"response": { +"$ref": "Alert" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"trackExternally": { +"description": "Marks an alert as tracked externally - TRACKED_EXTERNALLY.", +"flatPath": "v1beta/projects/{projectsId}/alerts/{alertsId}:trackExternally", +"httpMethod": "POST", +"id": "threatintelligence.projects.alerts.trackExternally", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of the alert to mark as tracked externally. Format: projects/{project}/alerts/{alert}", +"location": "path", +"pattern": "^projects/[^/]+/alerts/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta/{+name}:trackExternally", +"request": { +"$ref": "MarkAlertAsTrackedExternallyRequest" +}, +"response": { +"$ref": "Alert" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"triage": { +"description": "Marks an alert as triaged - TRIAGED.", +"flatPath": "v1beta/projects/{projectsId}/alerts/{alertsId}:triage", +"httpMethod": "POST", +"id": "threatintelligence.projects.alerts.triage", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of the alert to mark as a triaged. Format: projects/{project}/alerts/{alert}", +"location": "path", +"pattern": "^projects/[^/]+/alerts/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta/{+name}:triage", +"request": { +"$ref": "MarkAlertAsTriagedRequest" +}, +"response": { +"$ref": "Alert" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"documents": { +"methods": { +"get": { +"description": "Gets a specific document associated with an alert.", +"flatPath": "v1beta/projects/{projectsId}/alerts/{alertsId}/documents/{documentsId}", +"httpMethod": "GET", +"id": "threatintelligence.projects.alerts.documents.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of the alert document to get. Format: projects/{project}/alerts/{alert}/documents/{document}", +"location": "path", +"pattern": "^projects/[^/]+/alerts/[^/]+/documents/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta/{+name}", +"response": { +"$ref": "AlertDocument" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +}, +"configurations": { +"methods": { +"get": { +"description": "Get a configuration by name.", +"flatPath": "v1beta/projects/{projectsId}/configurations/{configurationsId}", +"httpMethod": "GET", +"id": "threatintelligence.projects.configurations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of the configuration to get. Format: vaults/{vault}/configurations/{configuration}", +"location": "path", +"pattern": "^projects/[^/]+/configurations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta/{+name}", +"response": { +"$ref": "Configuration" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Get a list of configurations that meet the filter criteria.", +"flatPath": "v1beta/projects/{projectsId}/configurations", +"httpMethod": "GET", +"id": "threatintelligence.projects.configurations.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Optional. Filter criteria.", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "Optional. Order by criteria in the csv format: \"field1,field2 desc\" or \"field1,field2\" or \"field1 asc, field2\".", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Optional. Page size.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. Page token.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. Parent of the configuration. Format: vaults/{vault}", +"location": "path", +"pattern": "^projects/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta/{+parent}/configurations", +"response": { +"$ref": "ListConfigurationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"upsert": { +"description": "Creates or updates a configuration.", +"flatPath": "v1beta/projects/{projectsId}/configurations:upsert", +"httpMethod": "POST", +"id": "threatintelligence.projects.configurations.upsert", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. Parent of the configuration.", +"location": "path", +"pattern": "^projects/[^/]+$", +"required": true, +"type": "string" +}, +"publishTime": { +"description": "Optional. Time that the configuration should be considered to have been published. This is an advanced feature used when onboarding and bulk loading data from other systems. Do not set this field without consulting with the API team.", +"format": "google-datetime", +"location": "query", +"type": "string" +} +}, +"path": "v1beta/{+parent}/configurations:upsert", +"request": { +"$ref": "Configuration" +}, +"response": { +"$ref": "UpsertConfigurationResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"revisions": { +"methods": { +"list": { +"description": "List configuration revisions that meet the filter criteria.", +"flatPath": "v1beta/projects/{projectsId}/configurations/{configurationsId}/revisions", +"httpMethod": "GET", +"id": "threatintelligence.projects.configurations.revisions.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Optional. An AIP-160 filter string", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "Optional. Specify ordering of response", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Optional. Page Size", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. A page token provided by the API", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The name of the Configuration to retrieve Revisions for", +"location": "path", +"pattern": "^projects/[^/]+/configurations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta/{+parent}/revisions", +"response": { +"$ref": "ListConfigurationRevisionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +}, +"findings": { +"methods": { +"get": { +"description": "Get a finding by name. The `name` field should have the format: `projects/{project}/findings/{finding}`", +"flatPath": "v1beta/projects/{projectsId}/findings/{findingsId}", +"httpMethod": "GET", +"id": "threatintelligence.projects.findings.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of the finding to get.", +"location": "path", +"pattern": "^projects/[^/]+/findings/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta/{+name}", +"response": { +"$ref": "Finding" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Get a list of findings that meet the filter criteria. The `parent` field in ListFindingsRequest should have the format: projects/{project}", +"flatPath": "v1beta/projects/{projectsId}/findings", +"httpMethod": "GET", +"id": "threatintelligence.projects.findings.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Optional. Filter criteria.", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "Optional. Order by criteria in the csv format: \"field1,field2 desc\" or \"field1,field2\" or \"field1 asc, field2\".", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Optional. Page size.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. Page token.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. Parent of the findings.", +"location": "path", +"pattern": "^projects/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta/{+parent}/findings", +"response": { +"$ref": "ListFindingsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"search": { +"description": "SearchFindings is a more powerful version of ListFindings that supports complex queries like \"findings for alerts\" using functions such as `has_alert` in the query string. The `parent` field in SearchFindingsRequest should have the format: projects/{project} Example to search for findings for a specific issue: `has_alert(\"name=\\\"projects/gti-12345/alerts/alert-12345\\\"\")`", +"flatPath": "v1beta/projects/{projectsId}/findings:search", +"httpMethod": "GET", +"id": "threatintelligence.projects.findings.search", +"parameterOrder": [ +"parent" +], +"parameters": { +"orderBy": { +"description": "Optional. Order by criteria in the csv format: \"field1,field2 desc\" or \"field1,field2\" or \"field1 asc, field2\".", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Optional. Page size.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. Page token.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. Parent of the findings. Format: vaults/{vault}", +"location": "path", +"pattern": "^projects/[^/]+$", +"required": true, +"type": "string" +}, +"query": { +"description": "Optional. Query on what findings will be returned. This supports the same filter criteria as FindingService.ListFindings as well as the following relationship query `has_alert`. Example: - `has_alert(\"name=\\\"projects/gti-12345/alerts/alert-12345\\\"\")`", +"location": "query", +"type": "string" +} +}, +"path": "v1beta/{+parent}/findings:search", +"response": { +"$ref": "SearchFindingsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +} +}, +"revision": "20260223", +"rootUrl": "https://threatintelligence.googleapis.com/", +"schemas": { +"Alert": { +"description": "Stateful object representing a group of Findings. Key feature to an Alert is that it expresses the user's intent towards the findings of that group, even those that haven't occurred yet.", +"id": "Alert", +"properties": { +"aiSummary": { +"description": "Optional. AI summary of the finding.", +"type": "string" +}, +"audit": { +"$ref": "Audit", +"description": "Output only. Audit information for the alert.", +"readOnly": true +}, +"configurations": { +"description": "Output only. The resource names of the Configurations bound to this alert. Format: projects/{project}/configurations/{configuration}", +"items": { +"type": "string" +}, +"readOnly": true, +"type": "array" +}, +"detail": { +"$ref": "AlertDetail", +"description": "Output only. Details object for the alert, not all alerts will have a details object.", +"readOnly": true +}, +"displayName": { +"description": "Output only. A short title for the alert.", +"readOnly": true, +"type": "string" +}, +"duplicateOf": { +"description": "Output only. alert name of the alert this alert is a duplicate of. Format: projects/{project}/alerts/{alert}", +"readOnly": true, +"type": "string" +}, +"duplicatedBy": { +"description": "Output only. alert names of the alerts that are duplicates of this alert. Format: projects/{project}/alerts/{alert}", +"items": { +"type": "string" +}, +"readOnly": true, +"type": "array" +}, +"etag": { +"description": "Optional. If included when updating an alert, this should be set to the current etag of the alert. If the etags do not match, the update will be rejected and an ABORTED error will be returned.", +"type": "string" +}, +"externalId": { +"description": "Output only. External ID for the alert. This is used internally to provide protection against out of order updates.", +"readOnly": true, +"type": "string" +}, +"findingCount": { +"description": "Output only. The number of findings associated with this alert.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"findings": { +"description": "Output only. Findings that are covered by this alert.", +"items": { +"type": "string" +}, +"readOnly": true, +"type": "array" +}, +"name": { +"description": "Identifier. Server generated name for the alert. format is projects/{project}/alerts/{alert}", +"type": "string" +}, +"priorityAnalysis": { +"$ref": "PriorityAnalysis", +"description": "Output only. High-Precision Priority Analysis for the alert.", +"readOnly": true +}, +"relevanceAnalysis": { +"$ref": "RelevanceAnalysis", +"description": "Output only. High-Precision Relevance Analysis verdict for the alert.", +"readOnly": true +}, +"severityAnalysis": { +"$ref": "SeverityAnalysis", +"description": "Output only. High-Precision Severity Analysis for the alert.", +"readOnly": true +}, +"state": { +"description": "Output only. State of the alert.", +"enum": [ +"STATE_UNSPECIFIED", +"NEW", +"READ", +"TRIAGED", +"ESCALATED", +"RESOLVED", +"DUPLICATE", +"FALSE_POSITIVE", +"NOT_ACTIONABLE", +"BENIGN", +"TRACKED_EXTERNALLY" +], +"enumDescriptions": [ +"Default value, should never be set.", +"alert is new.", +"alert was read by a human.", +"alert has been triaged.", +"alert has been escalated.", +"alert has been resolved.", +"alert is a duplicate of another alert.", +"alert is a false positive and should be ignored.", +"alert is not actionable.", +"alert is benign.", +"alert is tracked externally." +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"AlertDetail": { +"description": "Container for different types of alert details.", +"id": "AlertDetail", +"properties": { +"dataLeak": { +"$ref": "DataLeakAlertDetail", +"description": "Data Leak alert detail type." +}, +"detailType": { +"description": "Output only. Name of the detail type. Will be set by the server during creation to the name of the field that is set in the detail union.", +"readOnly": true, +"type": "string" +}, +"initialAccessBroker": { +"$ref": "InitialAccessBrokerAlertDetail", +"description": "Initial Access Broker alert detail type." +}, +"insiderThreat": { +"$ref": "InsiderThreatAlertDetail", +"description": "Insider Threat alert detail type." +} +}, +"type": "object" +}, +"AlertDocument": { +"description": "A document that is associated with an alert.", +"id": "AlertDocument", +"properties": { +"aiSummary": { +"description": "Output only. AI summary of the finding.", +"readOnly": true, +"type": "string" +}, +"author": { +"description": "Output only. The author of the document.", +"readOnly": true, +"type": "string" +}, +"collectionTime": { +"description": "Output only. Time when the origin source collected the intel.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"content": { +"description": "Output only. The content of the document.", +"readOnly": true, +"type": "string" +}, +"createTime": { +"description": "Output only. The time the document was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"ingestTime": { +"description": "Output only. Time when GTI received the intel.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"languageCode": { +"description": "Output only. The language code of the document.", +"readOnly": true, +"type": "string" +}, +"name": { +"description": "Identifier. Server generated name for the alert document. format is projects/{project}/alerts/{alert}/documents/{document}", +"type": "string" +}, +"source": { +"description": "Output only. Source of the intel item, e.g. DarkMarket.", +"readOnly": true, +"type": "string" +}, +"sourceUpdateTime": { +"description": "Output only. Time when the intel was last updated by the source.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"sourceUri": { +"description": "Output only. URI of the intel item from the source.", +"readOnly": true, +"type": "string" +}, +"title": { +"description": "Output only. The title of the document, if available.", +"readOnly": true, +"type": "string" +}, +"translation": { +"$ref": "AlertDocumentTranslation", +"description": "Output only. The translation of the document, if available.", +"readOnly": true +} +}, +"type": "object" +}, +"AlertDocumentTranslation": { +"description": "The translation of an alert document.", +"id": "AlertDocumentTranslation", +"properties": { +"translatedContent": { +"description": "Output only. The translated content of the document.", +"readOnly": true, +"type": "string" +}, +"translatedTitle": { +"description": "Output only. The translated title of the document.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"Audit": { +"description": "Tracks basic CRUD facts.", +"id": "Audit", +"properties": { +"createTime": { +"description": "Output only. Time of creation.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"creator": { +"description": "Output only. Agent that created or updated the record, could be a UserId or a JobId.", +"readOnly": true, +"type": "string" +}, +"updateTime": { +"description": "Output only. Time of creation or last update.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"updater": { +"description": "Output only. Agent that last updated the record, could be a UserId or a JobId.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"Configuration": { +"description": "A configuration represents a behavior an engine should follow when producing new findings.", +"id": "Configuration", +"properties": { +"audit": { +"$ref": "Audit", +"description": "Output only. Audit information for the configuration.", +"readOnly": true +}, +"description": { +"description": "Optional. A description of the configuration.", +"type": "string" +}, +"detail": { +"$ref": "ConfigurationDetail", +"description": "Required. Domain specific details for the configuration." +}, +"displayName": { +"description": "Output only. Human readable name for the configuration.", +"readOnly": true, +"type": "string" +}, +"name": { +"description": "Identifier. Server generated name for the configuration. format is projects/{project}/configurations/{configuration}", +"type": "string" +}, +"provider": { +"description": "Required. Name of the service that provides the configuration.", +"type": "string" +}, +"state": { +"description": "Optional. State of the configuration.", +"enum": [ +"STATE_UNSPECIFIED", +"ENABLED", +"DISABLED", +"DEPRECATED" +], +"enumDescriptions": [ +"Configuration state is unspecified. This is not expected to occur.", +"Configuration is enabled for the customer.", +"Configuration is disabled for the customer.", +"Configuration is deprecated, no new configs are allowed to be created." +], +"type": "string" +}, +"version": { +"description": "Optional. A user-manipulatable version. Does not adhere to a specific format", +"type": "string" +} +}, +"type": "object" +}, +"ConfigurationDetail": { +"description": "Wrapper class that contains the union struct for all the various configuration detail specific classes.", +"id": "ConfigurationDetail", +"properties": { +"customerProfile": { +"$ref": "CustomerProfileConfig", +"description": "Customer Profile detail config." +}, +"detailType": { +"description": "Output only. Name of the detail type. Will be set by the server during creation to the name of the field that is set in the detail union.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"ConfigurationRevision": { +"description": "A ConfigurationRevision is a snapshot of a Configuration at a point in time. It is immutable.", +"id": "ConfigurationRevision", +"properties": { +"createTime": { +"description": "Output only. The time the Revision was created", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"name": { +"description": "Identifier. The name of the ConfigurationRevision Format: projects//configurations//revisions/", +"type": "string" +}, +"snapshot": { +"$ref": "Configuration", +"description": "The snapshot of the configuration" +} +}, +"type": "object" +}, +"CustomerProfileCitation": { +"description": "Citation information for the customer profile.", +"id": "CustomerProfileCitation", +"properties": { +"citationId": { +"description": "Required. The citation id for the citation. Should be unique within the profile.", +"type": "string" +}, +"document": { +"description": "Required. The name of the document the citation is from.", +"type": "string" +}, +"retrievalTime": { +"description": "The time the citation was retrieved.", +"format": "google-datetime", +"type": "string" +}, +"source": { +"description": "Required. The source of the citation.", +"type": "string" +}, +"uri": { +"description": "Optional. The url of the citation.", +"type": "string" +} +}, +"type": "object" +}, +"CustomerProfileCitedString": { +"description": "A string with citation ids.", +"id": "CustomerProfileCitedString", +"properties": { +"citationIds": { +"description": "Optional. The citation ids for the string.", +"items": { +"type": "string" +}, +"type": "array" +}, +"value": { +"description": "Required. The value of the string.", +"type": "string" +} +}, +"type": "object" +}, +"CustomerProfileCompany": { +"description": "Company information for the customer profile.", +"id": "CustomerProfileCompany", +"properties": { +"citationIds": { +"description": "Optional. The citation ids for the company.", +"items": { +"type": "string" +}, +"type": "array" +}, +"company": { +"description": "Required. The name of the company.", +"type": "string" +} +}, +"type": "object" +}, +"CustomerProfileConfig": { +"description": "CustomerProfileConfig is the configuration for the customer profile.", +"id": "CustomerProfileConfig", +"properties": { +"citations": { +"description": "Optional. Citations for the organization profile.", +"items": { +"$ref": "CustomerProfileCitation" +}, +"type": "array" +}, +"contactInfo": { +"description": "Optional. Contact information for the organization.", +"items": { +"$ref": "CustomerProfileContactInfo" +}, +"type": "array" +}, +"executives": { +"description": "Optional. Executives of the organization.", +"items": { +"$ref": "CustomerProfilePerson" +}, +"type": "array" +}, +"industries": { +"description": "Optional. The industries the organization is involved in.", +"items": { +"$ref": "CustomerProfileIndustry" +}, +"type": "array" +}, +"locations": { +"description": "Optional. Locations the organization is present or conducts business in.", +"items": { +"$ref": "CustomerProfileLocation" +}, +"type": "array" +}, +"org": { +"description": "Required. The name of the organization.", +"type": "string" +}, +"orgSummary": { +"description": "Optional. A summary of the organization.", +"type": "string" +}, +"parentCompanies": { +"description": "Optional. The parent companies of the organization.", +"items": { +"$ref": "CustomerProfileCompany" +}, +"type": "array" +}, +"products": { +"description": "Optional. Product information for the organization.", +"items": { +"$ref": "CustomerProfileProduct" +}, +"type": "array" +}, +"securityConsiderations": { +"$ref": "CustomerProfileSecurityConsiderations", +"description": "Optional. Security considerations for the organization." +}, +"summary": { +"$ref": "CustomerProfileSummary", +"description": "Optional. A summarized version of the customer profile." +}, +"technologyPresence": { +"description": "Optional. Technology presence of the organization.", +"type": "string" +}, +"webPresences": { +"description": "Optional. Web presence of the organization.", +"items": { +"$ref": "CustomerProfileWebPresence" +}, +"type": "array" +} +}, +"type": "object" +}, +"CustomerProfileContactInfo": { +"description": "Contact information for the customer profile.", +"id": "CustomerProfileContactInfo", +"properties": { +"address": { +"description": "The address of the contact.", +"type": "string" +}, +"citationIds": { +"description": "Optional. The citation ids for the contact information.", +"items": { +"type": "string" +}, +"type": "array" +}, +"email": { +"description": "The email address of the contact.", +"type": "string" +}, +"label": { +"description": "Optional. The name of the contact.", +"type": "string" +}, +"other": { +"description": "The other contact information.", +"type": "string" +}, +"phone": { +"description": "The phone number of the contact.", +"type": "string" +} +}, +"type": "object" +}, +"CustomerProfileIndustry": { +"description": "Industry information for the customer profile.", +"id": "CustomerProfileIndustry", +"properties": { +"citationIds": { +"description": "Optional. The citation ids for the industry.", +"items": { +"type": "string" +}, +"type": "array" +}, +"industry": { +"description": "Required. The name of the industry.", +"type": "string" +} +}, +"type": "object" +}, +"CustomerProfileLocation": { +"description": "Location information for the customer profile.", +"id": "CustomerProfileLocation", +"properties": { +"address": { +"description": "Required. The address of the location.", +"type": "string" +}, +"brand": { +"description": "Required. The brand of the location.", +"type": "string" +}, +"citationIds": { +"description": "Optional. The citation ids for the location.", +"items": { +"type": "string" +}, +"type": "array" +}, +"facilityType": { +"description": "Optional. The type of location.", +"type": "string" +} +}, +"type": "object" +}, +"CustomerProfilePerson": { +"description": "Person information for the customer profile.", +"id": "CustomerProfilePerson", +"properties": { +"citationIds": { +"description": "Optional. The citation ids for the person.", +"items": { +"type": "string" +}, +"type": "array" +}, +"name": { +"description": "Required. The name of the person.", +"type": "string" +}, +"title": { +"description": "Optional. The title of the person.", +"type": "string" +} +}, +"type": "object" +}, +"CustomerProfileProduct": { +"description": "Product information for the customer profile.", +"id": "CustomerProfileProduct", +"properties": { +"brand": { +"description": "Required. The brand of the product.", +"type": "string" +}, +"citationIds": { +"description": "Optional. The citation ids for the product.", +"items": { +"type": "string" +}, +"type": "array" +}, +"product": { +"description": "Required. The name of the product.", +"type": "string" +} +}, +"type": "object" +}, +"CustomerProfileSecurityConsiderations": { +"description": "Security considerations for the customer profile.", +"id": "CustomerProfileSecurityConsiderations", +"properties": { +"considerations": { +"description": "Optional. A series of considerations for the security of the organization, such as \"high risk of compromise\" or \"vulnerable to cyberbullying\".", +"items": { +"type": "string" +}, +"type": "array" +}, +"note": { +"description": "Optional. A note about the security considerations.", +"type": "string" +} +}, +"type": "object" +}, +"CustomerProfileSummary": { +"description": "A summarized version of the customer profile. Generated by the backend.", +"id": "CustomerProfileSummary", +"properties": { +"areaServed": { +"$ref": "CustomerProfileCitedString", +"description": "Optional. The area the customer serves." +}, +"brands": { +"$ref": "CustomerProfileCitedString", +"description": "Optional. A narrative summary of brands." +}, +"entityType": { +"$ref": "CustomerProfileCitedString", +"description": "Optional. The entity type of the customer." +}, +"founded": { +"$ref": "CustomerProfileCitedString", +"description": "Optional. The date the customer was founded." +}, +"headquarters": { +"$ref": "CustomerProfileCitedString", +"description": "Optional. The headquarters of the customer." +}, +"industry": { +"$ref": "CustomerProfileCitedString", +"description": "Optional. The industry the customer is in." +}, +"keyPeopleSummary": { +"$ref": "CustomerProfileCitedString", +"description": "Optional. A narrative summary of key people." +}, +"parentCompany": { +"$ref": "CustomerProfileCitedString", +"description": "Optional. The parent company of the customer." +}, +"primaryWebsite": { +"$ref": "CustomerProfileCitedString", +"description": "Optional. The primary website of the customer." +}, +"productsSummary": { +"$ref": "CustomerProfileCitedString", +"description": "Optional. A narrative summary of products." +}, +"servicesSummary": { +"$ref": "CustomerProfileCitedString", +"description": "Optional. A narrative summary of services." +}, +"title": { +"$ref": "CustomerProfileCitedString", +"description": "Optional. The official name of the customer." +} +}, +"type": "object" +}, +"CustomerProfileWebPresence": { +"description": "Web presence information for the customer profile.", +"id": "CustomerProfileWebPresence", +"properties": { +"citationIds": { +"description": "Optional. The citation ids for the web presence.", +"items": { +"type": "string" +}, +"type": "array" +}, +"domain": { +"description": "Required. The domain name of the web presence.", +"type": "string" +} +}, +"type": "object" +}, +"DataLeakAlertDetail": { +"description": "Captures the specific details of Data Leak alert.", +"id": "DataLeakAlertDetail", +"properties": { +"discoveryDocumentIds": { +"description": "Required. Array of ids to accommodate multiple discovery documents", +"items": { +"type": "string" +}, +"type": "array" +}, +"severity": { +"description": "Required. Data Leak specific severity This will be the string representation of the DataLeakFindingDetail.Severityenum. (e.g., \"LOW\", \"MEDIUM\", \"HIGH\", \"CRITICAL\")", +"type": "string" +} +}, +"type": "object" +}, +"DataLeakFindingDetail": { +"description": "A detail object for a Data Leak finding.", +"id": "DataLeakFindingDetail", +"properties": { +"documentId": { +"description": "Required. The unique identifier of the document that triggered the Data Leak finding. This ID can be used to retrieve the content of the document for further analysis.", +"type": "string" +}, +"matchScore": { +"description": "Required. Reference to the match score of the Data Leak finding. This is a float value greater than 0 and less than or equal to 1 calculated by the matching engine based on the similarity of the document and the user provided configurations.", +"format": "float", +"type": "number" +}, +"severity": { +"description": "Required. The severity of the Data Leak finding. This indicates the potential impact of the threat.", +"enum": [ +"SEVERITY_UNSPECIFIED", +"LOW", +"MEDIUM", +"HIGH", +"CRITICAL" +], +"enumDescriptions": [ +"Default value, should never be set.", +"Low severity.", +"Medium severity.", +"High severity.", +"Critical severity." +], +"type": "string" +} +}, +"type": "object" +}, +"EnumerateAlertFacetsResponse": { +"description": "Response message for EnumerateAlertFacets.", +"id": "EnumerateAlertFacetsResponse", +"properties": { +"facets": { +"description": "List of facets and the counts.", +"items": { +"$ref": "Facet" +}, +"type": "array" +} +}, +"type": "object" +}, +"Evidence": { +"description": "Details the evidence used to determine the relevance verdict.", +"id": "Evidence", +"properties": { +"commonThemes": { +"description": "A list of semantic themes or concepts found to be common, related, or aligned between the sources, supporting the verdict.", +"items": { +"type": "string" +}, +"type": "array" +}, +"distinctThemes": { +"description": "A list of semantic themes or descriptions unique to one source or semantically distant.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"Facet": { +"description": "Facet represents a sub element of a resource for filtering. The results from this method are used to populate the filterable facets in the UI.", +"id": "Facet", +"properties": { +"facet": { +"description": "Name of the facet. This is also the string that needs to be used in the filtering expression.", +"type": "string" +}, +"facetCounts": { +"description": "List of counts for the facet (if categorical).", +"items": { +"$ref": "FacetCount" +}, +"type": "array" +}, +"facetType": { +"description": "The type of the facet. Options include \"string\", \"int\", \"float\", \"bool\", \"enum\", \"timestamp\", \"user\" and are useful to show the right sort of UI controls when building a AIP-160 style filtering string.", +"type": "string" +}, +"maxValue": { +"description": "Max value of the facet stringified based on type. Will be populated and formatted the same as min_value.", +"type": "string" +}, +"minValue": { +"description": "Min value of the facet stringified based on type. This is only populated for facets that have a clear ordering, for types like enum it will be left empty. Timestamps will be formatted using RFC3339.", +"type": "string" +}, +"totalCount": { +"description": "Total number of records that contain this facet with ANY value.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"FacetCount": { +"description": "FacetCount represents a count of records with each facet value.", +"id": "FacetCount", +"properties": { +"count": { +"description": "Count of records with the value.", +"format": "int32", +"type": "integer" +}, +"value": { +"description": "Value of the facet stringified. Timestamps will be formatted using RFC3339.", +"type": "string" +} +}, +"type": "object" +}, +"Finding": { +"description": "A \u2018stateless\u2019 and a point in time event that a check produced a result of interest.", +"id": "Finding", +"properties": { +"aiSummary": { +"description": "Optional. AI summary of the finding.", +"type": "string" +}, +"alert": { +"description": "Optional. Name of the alert that this finding is bound to.", +"type": "string" +}, +"audit": { +"$ref": "Audit", +"description": "Output only. Audit data about the finding.", +"readOnly": true +}, +"configurations": { +"description": "Optional. Configuration names that are bound to this finding.", +"items": { +"type": "string" +}, +"type": "array" +}, +"detail": { +"$ref": "FindingDetail", +"description": "Required. Holder of the domain specific details of the finding." +}, +"displayName": { +"description": "Required. A short descriptive title for the finding <= 250 chars. EX: \"Actor 'baddy' offering $1000 for credentials of 'goodguy'\".", +"type": "string" +}, +"name": { +"description": "Identifier. Server generated name for the finding (leave clear during creation). Format: projects/{project}/findings/{finding}", +"type": "string" +}, +"provider": { +"description": "Required. Logical source of this finding (name of the sub-engine).", +"type": "string" +}, +"relevanceAnalysis": { +"$ref": "RelevanceAnalysis", +"description": "Output only. High-Precision Relevance Analysis verdict for the finding.", +"readOnly": true +}, +"reoccurrenceTimes": { +"description": "Output only. When identical finding (same labels and same details) has re-occurred.", +"items": { +"format": "google-datetime", +"type": "string" +}, +"readOnly": true, +"type": "array" +}, +"severity": { +"deprecated": true, +"description": "Optional. Deprecated: Use the `severity_analysis` field instead. Base severity score from the finding source.", +"format": "float", +"type": "number" +}, +"severityAnalysis": { +"$ref": "SeverityAnalysis", +"description": "Output only. High-Precision Severity Analysis verdict for the finding.", +"readOnly": true +} +}, +"type": "object" +}, +"FindingDetail": { +"description": "Wrapper class that contains the union struct for all the various findings detail specific classes.", +"id": "FindingDetail", +"properties": { +"dataLeak": { +"$ref": "DataLeakFindingDetail", +"description": "Data Leak finding detail type." +}, +"detailType": { +"description": "Output only. Name of the detail type. Will be set by the server during creation to the name of the field that is set in the detail union.", +"readOnly": true, +"type": "string" +}, +"initialAccessBroker": { +"$ref": "InitialAccessBrokerFindingDetail", +"description": "Initial Access Broker finding detail type." +}, +"insiderThreat": { +"$ref": "InsiderThreatFindingDetail", +"description": "Insider Threat finding detail type." +} +}, +"type": "object" +}, +"GenerateOrgProfileConfigurationRequest": { +"description": "Request message for GenerateOrgProfileConfiguration.", +"id": "GenerateOrgProfileConfigurationRequest", +"properties": { +"displayName": { +"description": "Required. The display name of the organization to generate the profile for.", +"type": "string" +}, +"domain": { +"description": "Required. The domain of the organization to generate the profile for.", +"type": "string" +} +}, +"type": "object" +}, +"InitialAccessBrokerAlertDetail": { +"description": "Captures the specific details of InitialAccessBroker (IAB) alert.", +"id": "InitialAccessBrokerAlertDetail", +"properties": { +"discoveryDocumentIds": { +"description": "Required. Array of ids to accommodate multiple discovery documents", +"items": { +"type": "string" +}, +"type": "array" +}, +"severity": { +"description": "Required. IAB specific severity", +"type": "string" +} +}, +"type": "object" +}, +"InitialAccessBrokerFindingDetail": { +"description": "A detail object for an Initial Access Broker (IAB) finding.", +"id": "InitialAccessBrokerFindingDetail", +"properties": { +"documentId": { +"description": "Required. The unique identifier of the document that triggered the IAB finding. This ID can be used to retrieve the content of the document for further analysis.", +"type": "string" +}, +"matchScore": { +"description": "Required. Reference to the match score of the IAB finding. This is a float value between 0 and 1 calculated by the matching engine based on the similarity of the document and the user provided configurations.", +"format": "float", +"type": "number" +}, +"severity": { +"description": "Required. The severity of the IAB finding. This indicates the potential impact of the threat.", +"enum": [ +"SEVERITY_UNSPECIFIED", +"LOW", +"MEDIUM", +"HIGH", +"CRITICAL" +], +"enumDescriptions": [ +"", +"", +"", +"", +"" +], +"type": "string" +} +}, +"type": "object" +}, +"InsiderThreatAlertDetail": { +"description": "Captures the specific details of InsiderThreat alert.", +"id": "InsiderThreatAlertDetail", +"properties": { +"discoveryDocumentIds": { +"description": "Required. Array of ids to accommodate multiple discovery documents", +"items": { +"type": "string" +}, +"type": "array" +}, +"severity": { +"description": "Required. InsiderThreat specific severity This will be the string representation of the InsiderThreatFindingDetail.Severityenum. (e.g., \"LOW\", \"MEDIUM\", \"HIGH\", \"CRITICAL\")", +"type": "string" +} +}, +"type": "object" +}, +"InsiderThreatFindingDetail": { +"description": "A detail object for a InsiderThreat finding.", +"id": "InsiderThreatFindingDetail", +"properties": { +"documentId": { +"description": "Required. The unique identifier of the document that triggered the InsiderThreat finding. This ID can be used to retrieve the content of the document for further analysis.", +"type": "string" +}, +"matchScore": { +"description": "Required. Reference to the match score of the InsiderThreat finding. This is a float value greater than 0 and less than or equal to 1 calculated by the matching engine based on the similarity of the document and the user provided configurations.", +"format": "float", +"type": "number" +}, +"severity": { +"description": "Required. The severity of the InsiderThreat finding. This indicates the potential impact of the threat.", +"enum": [ +"SEVERITY_UNSPECIFIED", +"LOW", +"MEDIUM", +"HIGH", +"CRITICAL" +], +"enumDescriptions": [ +"Default value, should never be set.", +"Low severity.", +"Medium severity.", +"High severity.", +"Critical severity." +], +"type": "string" +} +}, +"type": "object" +}, +"ListAlertsResponse": { +"description": "Response message for ListAlerts.", +"id": "ListAlertsResponse", +"properties": { +"alerts": { +"description": "List of alerts.", +"items": { +"$ref": "Alert" +}, +"type": "array" +}, +"nextPageToken": { +"description": "Page token.", +"type": "string" +} +}, +"type": "object" +}, +"ListConfigurationRevisionsResponse": { +"description": "Response message for ListConfigurationRevisions.", +"id": "ListConfigurationRevisionsResponse", +"properties": { +"nextPageToken": { +"description": "A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.", +"type": "string" +}, +"revisions": { +"description": "The Configuration Revisions associated with the specified Configuration", +"items": { +"$ref": "ConfigurationRevision" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListConfigurationsResponse": { +"description": "Response message for ListConfigurations.", +"id": "ListConfigurationsResponse", +"properties": { +"configurations": { +"description": "List of configurations.", +"items": { +"$ref": "Configuration" +}, +"type": "array" +}, +"nextPageToken": { +"description": "Page token.", +"type": "string" +} +}, +"type": "object" +}, +"ListFindingsResponse": { +"description": "Response message for ListFindings.", +"id": "ListFindingsResponse", +"properties": { +"findings": { +"description": "List of findings.", +"items": { +"$ref": "Finding" +}, +"type": "array" +}, +"nextPageToken": { +"description": "Page token.", +"type": "string" +} +}, +"type": "object" +}, +"MarkAlertAsBenignRequest": { +"description": "Request message for MarkAlertAsBenign.", +"id": "MarkAlertAsBenignRequest", +"properties": {}, +"type": "object" +}, +"MarkAlertAsDuplicateRequest": { +"description": "Request message for MarkAlertAsDuplicate.", +"id": "MarkAlertAsDuplicateRequest", +"properties": { +"duplicateOf": { +"description": "Optional. Name of the alert to mark as a duplicate of. Format: projects/{project}/alerts/{alert}", +"type": "string" +} +}, +"type": "object" +}, +"MarkAlertAsEscalatedRequest": { +"description": "Request message for MarkAlertAsEscalated.", +"id": "MarkAlertAsEscalatedRequest", +"properties": {}, +"type": "object" +}, +"MarkAlertAsFalsePositiveRequest": { +"description": "Request message for MarkAlertAsFalsePositive.", +"id": "MarkAlertAsFalsePositiveRequest", +"properties": {}, +"type": "object" +}, +"MarkAlertAsNotActionableRequest": { +"description": "Request message for MarkAlertAsNotActionable.", +"id": "MarkAlertAsNotActionableRequest", +"properties": {}, +"type": "object" +}, +"MarkAlertAsReadRequest": { +"description": "Request message for MarkAlertAsRead.", +"id": "MarkAlertAsReadRequest", +"properties": {}, +"type": "object" +}, +"MarkAlertAsResolvedRequest": { +"description": "Request message for MarkAlertAsResolved.", +"id": "MarkAlertAsResolvedRequest", +"properties": {}, +"type": "object" +}, +"MarkAlertAsTrackedExternallyRequest": { +"description": "Request message for MarkAlertAsTrackedExternally.", +"id": "MarkAlertAsTrackedExternallyRequest", +"properties": {}, +"type": "object" +}, +"MarkAlertAsTriagedRequest": { +"description": "Request message for MarkAlertAsTriaged.", +"id": "MarkAlertAsTriagedRequest", +"properties": {}, +"type": "object" +}, +"Operation": { +"description": "This resource represents a long-running operation that is the result of a network API call.", +"id": "Operation", +"properties": { +"done": { +"description": "If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.", +"type": "boolean" +}, +"error": { +"$ref": "Status", +"description": "The error result of the operation in case of failure or cancellation." +}, +"metadata": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.", +"type": "object" +}, +"name": { +"description": "The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.", +"type": "string" +}, +"response": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "The normal, successful response of the operation. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.", +"type": "object" +} +}, +"type": "object" +}, +"PriorityAnalysis": { +"description": "Structured priority analysis for a threat.", +"id": "PriorityAnalysis", +"properties": { +"confidence": { +"description": "The level of confidence in the given verdict.", +"enum": [ +"CONFIDENCE_LEVEL_UNSPECIFIED", +"CONFIDENCE_LEVEL_LOW", +"CONFIDENCE_LEVEL_MEDIUM", +"CONFIDENCE_LEVEL_HIGH" +], +"enumDescriptions": [ +"Default value. Confidence level is not specified.", +"Low confidence in the verdict.", +"Medium confidence in the verdict.", +"High confidence in the verdict." +], +"type": "string" +}, +"priorityLevel": { +"description": "The level of Priority.", +"enum": [ +"PRIORITY_LEVEL_UNSPECIFIED", +"PRIORITY_LEVEL_LOW", +"PRIORITY_LEVEL_MEDIUM", +"PRIORITY_LEVEL_HIGH", +"PRIORITY_LEVEL_CRITICAL" +], +"enumDescriptions": [ +"Default value, should never be set.", +"Low Priority.", +"Medium Priority.", +"High Priority.", +"Critical Priority." +], +"type": "string" +}, +"reasoning": { +"description": "Human-readable explanation from the model, detailing why a particular result is considered to have a certain priority.", +"type": "string" +} +}, +"type": "object" +}, +"RelevanceAnalysis": { +"description": "Structured relevance analysis for a threat.", +"id": "RelevanceAnalysis", +"properties": { +"confidence": { +"description": "The level of confidence in the given verdict.", +"enum": [ +"CONFIDENCE_LEVEL_UNSPECIFIED", +"CONFIDENCE_LEVEL_LOW", +"CONFIDENCE_LEVEL_MEDIUM", +"CONFIDENCE_LEVEL_HIGH" +], +"enumDescriptions": [ +"Default value. Confidence level is not specified.", +"Low confidence in the verdict.", +"Medium confidence in the verdict.", +"High confidence in the verdict." +], +"type": "string" +}, +"evidence": { +"$ref": "Evidence", +"description": "Evidence supporting the verdict, including matched and unmatched items." +}, +"reasoning": { +"description": "Human-readable explanation from the matcher, detailing why a particular result is considered relevant or not relevant.", +"type": "string" +}, +"relevanceLevel": { +"description": "The level of relevance.", +"enum": [ +"RELEVANCE_LEVEL_UNSPECIFIED", +"RELEVANCE_LEVEL_LOW", +"RELEVANCE_LEVEL_MEDIUM", +"RELEVANCE_LEVEL_HIGH" +], +"enumDescriptions": [ +"Default value, should never be set.", +"Low Relevance.", +"Medium Relevance.", +"High Relevance." +], +"type": "string" +}, +"relevant": { +"description": "Indicates whether the threat is considered relevant.", +"type": "boolean" +} +}, +"type": "object" +}, +"SearchFindingsResponse": { +"description": "Response message for SearchFindings.", +"id": "SearchFindingsResponse", +"properties": { +"findings": { +"description": "List of findings.", +"items": { +"$ref": "Finding" +}, +"type": "array" +}, +"nextPageToken": { +"description": "Page token.", +"type": "string" +} +}, +"type": "object" +}, +"SeverityAnalysis": { +"description": "Structured severity analysis for a threat.", +"id": "SeverityAnalysis", +"properties": { +"confidence": { +"description": "The level of confidence in the given verdict.", +"enum": [ +"CONFIDENCE_LEVEL_UNSPECIFIED", +"CONFIDENCE_LEVEL_LOW", +"CONFIDENCE_LEVEL_MEDIUM", +"CONFIDENCE_LEVEL_HIGH" +], +"enumDescriptions": [ +"Default value. Confidence level is not specified.", +"Low confidence in the verdict.", +"Medium confidence in the verdict.", +"High confidence in the verdict." +], +"type": "string" +}, +"reasoning": { +"description": "Human-readable explanation from the model, detailing why a particular result is considered to have a certain severity.", +"type": "string" +}, +"severityLevel": { +"description": "The level of severity.", +"enum": [ +"SEVERITY_LEVEL_UNSPECIFIED", +"SEVERITY_LEVEL_LOW", +"SEVERITY_LEVEL_MEDIUM", +"SEVERITY_LEVEL_HIGH" +], +"enumDescriptions": [ +"Default value, should never be set.", +"Low Severity.", +"Medium Severity.", +"High Severity." +], +"type": "string" +} +}, +"type": "object" +}, +"Status": { +"description": "The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors).", +"id": "Status", +"properties": { +"code": { +"description": "The status code, which should be an enum value of google.rpc.Code.", +"format": "int32", +"type": "integer" +}, +"details": { +"description": "A list of messages that carry the error details. There is a common set of message types for APIs to use.", +"items": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.", +"type": "string" +} +}, +"type": "object" +}, +"UpsertConfigurationResponse": { +"description": "Response message for UpsertConfiguration.", +"id": "UpsertConfigurationResponse", +"properties": { +"configuration": { +"description": "Output only. Created configuration ID with server assigned id.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +} +}, +"servicePath": "", +"title": "Threat Intelligence API", +"version": "v1beta", +"version_module": true +} \ No newline at end of file diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/tpu.v1alpha1.json b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/tpu.v1alpha1.json new file mode 100644 index 0000000000000000000000000000000000000000..b852c111e4ee998c07dd2a98ca00d1981f94b1ac --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/tpu.v1alpha1.json @@ -0,0 +1,1268 @@ +{ +"auth": { +"oauth2": { +"scopes": { +"https://www.googleapis.com/auth/cloud-platform": { +"description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." +} +} +} +}, +"basePath": "", +"baseUrl": "https://tpu.googleapis.com/", +"batchPath": "batch", +"canonicalName": "TPU", +"description": "TPU API provides customers with access to Google TPU technology.", +"discoveryVersion": "v1", +"documentationLink": "https://cloud.google.com/tpu/", +"fullyEncodeReservedExpansion": true, +"icons": { +"x16": "http://www.google.com/images/icons/product/search-16.gif", +"x32": "http://www.google.com/images/icons/product/search-32.gif" +}, +"id": "tpu:v1alpha1", +"kind": "discovery#restDescription", +"mtlsRootUrl": "https://tpu.mtls.googleapis.com/", +"name": "tpu", +"ownerDomain": "google.com", +"ownerName": "Google", +"parameters": { +"$.xgafv": { +"description": "V1 error format.", +"enum": [ +"1", +"2" +], +"enumDescriptions": [ +"v1 error format", +"v2 error format" +], +"location": "query", +"type": "string" +}, +"access_token": { +"description": "OAuth access token.", +"location": "query", +"type": "string" +}, +"alt": { +"default": "json", +"description": "Data format for response.", +"enum": [ +"json", +"media", +"proto" +], +"enumDescriptions": [ +"Responses with Content-Type of application/json", +"Media download with context-dependent Content-Type", +"Responses with Content-Type of application/x-protobuf" +], +"location": "query", +"type": "string" +}, +"callback": { +"description": "JSONP", +"location": "query", +"type": "string" +}, +"fields": { +"description": "Selector specifying which fields to include in a partial response.", +"location": "query", +"type": "string" +}, +"key": { +"description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", +"location": "query", +"type": "string" +}, +"oauth_token": { +"description": "OAuth 2.0 token for the current user.", +"location": "query", +"type": "string" +}, +"prettyPrint": { +"default": "true", +"description": "Returns response with indentations and line breaks.", +"location": "query", +"type": "boolean" +}, +"quotaUser": { +"description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.", +"location": "query", +"type": "string" +}, +"uploadType": { +"description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", +"location": "query", +"type": "string" +}, +"upload_protocol": { +"description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", +"location": "query", +"type": "string" +} +}, +"protocol": "rest", +"resources": { +"projects": { +"resources": { +"locations": { +"methods": { +"get": { +"description": "Gets information about a location.", +"flatPath": "v1alpha1/projects/{projectsId}/locations/{locationsId}", +"httpMethod": "GET", +"id": "tpu.projects.locations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Resource name for the location.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha1/{+name}", +"response": { +"$ref": "Location" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists information about the supported locations for this service. This method can be called in two ways: * **List all public locations:** Use the path `GET /v1/locations`. * **List project-visible locations:** Use the path `GET /v1/projects/{project_id}/locations`. This may include public locations as well as private or other locations specifically visible to the project.", +"flatPath": "v1alpha1/projects/{projectsId}/locations", +"httpMethod": "GET", +"id": "tpu.projects.locations.list", +"parameterOrder": [ +"name" +], +"parameters": { +"extraLocationTypes": { +"description": "Optional. Do not use this field. It is unsupported and is ignored unless explicitly documented otherwise. This is primarily for internal usage.", +"location": "query", +"repeated": true, +"type": "string" +}, +"filter": { +"description": "A filter to narrow down results to a preferred subset. The filtering language accepts strings like `\"displayName=tokyo\"`, and is documented in more detail in [AIP-160](https://google.aip.dev/160).", +"location": "query", +"type": "string" +}, +"name": { +"description": "The resource that owns the locations collection, if applicable.", +"location": "path", +"pattern": "^projects/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The maximum number of results to return. If not set, the service selects a default.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A page token received from the `next_page_token` field in the response. Send that page token to receive the subsequent page.", +"location": "query", +"type": "string" +} +}, +"path": "v1alpha1/{+name}/locations", +"response": { +"$ref": "ListLocationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"acceleratorTypes": { +"deprecated": true, +"methods": { +"get": { +"deprecated": true, +"description": "Gets AcceleratorType.", +"flatPath": "v1alpha1/projects/{projectsId}/locations/{locationsId}/acceleratorTypes/{acceleratorTypesId}", +"httpMethod": "GET", +"id": "tpu.projects.locations.acceleratorTypes.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/acceleratorTypes/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha1/{+name}", +"response": { +"$ref": "AcceleratorType" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"deprecated": true, +"description": "Lists accelerator types supported by this API.", +"flatPath": "v1alpha1/projects/{projectsId}/locations/{locationsId}/acceleratorTypes", +"httpMethod": "GET", +"id": "tpu.projects.locations.acceleratorTypes.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "List filter.", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "Sort results.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "The maximum number of items to return.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The next_page_token value returned from a previous List request, if any.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent resource name.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha1/{+parent}/acceleratorTypes", +"response": { +"$ref": "ListAcceleratorTypesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"nodes": { +"deprecated": true, +"methods": { +"create": { +"deprecated": true, +"description": "Creates a node.", +"flatPath": "v1alpha1/projects/{projectsId}/locations/{locationsId}/nodes", +"httpMethod": "POST", +"id": "tpu.projects.locations.nodes.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"nodeId": { +"description": "The unqualified resource name.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent resource name.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "Idempotent request UUID.", +"location": "query", +"type": "string" +} +}, +"path": "v1alpha1/{+parent}/nodes", +"request": { +"$ref": "Node" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"deprecated": true, +"description": "Deletes a node.", +"flatPath": "v1alpha1/projects/{projectsId}/locations/{locationsId}/nodes/{nodesId}", +"httpMethod": "DELETE", +"id": "tpu.projects.locations.nodes.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/nodes/[^/]+$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "Idempotent request UUID.", +"location": "query", +"type": "string" +} +}, +"path": "v1alpha1/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"deprecated": true, +"description": "Gets the details of a node.", +"flatPath": "v1alpha1/projects/{projectsId}/locations/{locationsId}/nodes/{nodesId}", +"httpMethod": "GET", +"id": "tpu.projects.locations.nodes.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/nodes/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha1/{+name}", +"response": { +"$ref": "Node" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"deprecated": true, +"description": "Lists nodes.", +"flatPath": "v1alpha1/projects/{projectsId}/locations/{locationsId}/nodes", +"httpMethod": "GET", +"id": "tpu.projects.locations.nodes.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "The maximum number of items to return.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The next_page_token value returned from a previous List request, if any.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent resource name.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha1/{+parent}/nodes", +"response": { +"$ref": "ListNodesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"reimage": { +"deprecated": true, +"description": "Reimages a node's OS.", +"flatPath": "v1alpha1/projects/{projectsId}/locations/{locationsId}/nodes/{nodesId}:reimage", +"httpMethod": "POST", +"id": "tpu.projects.locations.nodes.reimage", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The resource name.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/nodes/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha1/{+name}:reimage", +"request": { +"$ref": "ReimageNodeRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"start": { +"deprecated": true, +"description": "Starts a node.", +"flatPath": "v1alpha1/projects/{projectsId}/locations/{locationsId}/nodes/{nodesId}:start", +"httpMethod": "POST", +"id": "tpu.projects.locations.nodes.start", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The resource name.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/nodes/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha1/{+name}:start", +"request": { +"$ref": "StartNodeRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"stop": { +"deprecated": true, +"description": "Stops a node. This operation is only available with single TPU nodes.", +"flatPath": "v1alpha1/projects/{projectsId}/locations/{locationsId}/nodes/{nodesId}:stop", +"httpMethod": "POST", +"id": "tpu.projects.locations.nodes.stop", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The resource name.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/nodes/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha1/{+name}:stop", +"request": { +"$ref": "StopNodeRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"operations": { +"methods": { +"cancel": { +"description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.", +"flatPath": "v1alpha1/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}:cancel", +"httpMethod": "POST", +"id": "tpu.projects.locations.operations.cancel", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be cancelled.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha1/{+name}:cancel", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.", +"flatPath": "v1alpha1/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}", +"httpMethod": "DELETE", +"id": "tpu.projects.locations.operations.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be deleted.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha1/{+name}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", +"flatPath": "v1alpha1/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}", +"httpMethod": "GET", +"id": "tpu.projects.locations.operations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha1/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.", +"flatPath": "v1alpha1/projects/{projectsId}/locations/{locationsId}/operations", +"httpMethod": "GET", +"id": "tpu.projects.locations.operations.list", +"parameterOrder": [ +"name" +], +"parameters": { +"filter": { +"description": "The standard list filter.", +"location": "query", +"type": "string" +}, +"name": { +"description": "The name of the operation's parent resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The standard list page size.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The standard list page token.", +"location": "query", +"type": "string" +}, +"returnPartialSuccess": { +"description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `\"projects/example/locations/-\"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1alpha1/{+name}/operations", +"response": { +"$ref": "ListOperationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"tensorflowVersions": { +"deprecated": true, +"methods": { +"get": { +"deprecated": true, +"description": "Gets TensorFlow Version.", +"flatPath": "v1alpha1/projects/{projectsId}/locations/{locationsId}/tensorflowVersions/{tensorflowVersionsId}", +"httpMethod": "GET", +"id": "tpu.projects.locations.tensorflowVersions.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/tensorflowVersions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha1/{+name}", +"response": { +"$ref": "TensorFlowVersion" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"deprecated": true, +"description": "Lists TensorFlow versions supported by this API.", +"flatPath": "v1alpha1/projects/{projectsId}/locations/{locationsId}/tensorflowVersions", +"httpMethod": "GET", +"id": "tpu.projects.locations.tensorflowVersions.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "List filter.", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "Sort results.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "The maximum number of items to return.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The next_page_token value returned from a previous List request, if any.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent resource name.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha1/{+parent}/tensorflowVersions", +"response": { +"$ref": "ListTensorFlowVersionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +} +} +} +}, +"revision": "20260127", +"rootUrl": "https://tpu.googleapis.com/", +"schemas": { +"AcceleratorType": { +"deprecated": true, +"description": "DEPRECATED: Please use TPU API v2alpha1 instead. A accelerator type that a Node can be configured with.", +"id": "AcceleratorType", +"properties": { +"name": { +"description": "The resource name.", +"type": "string" +}, +"type": { +"description": "the accelerator type.", +"type": "string" +} +}, +"type": "object" +}, +"Empty": { +"description": "A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }", +"id": "Empty", +"properties": {}, +"type": "object" +}, +"ListAcceleratorTypesResponse": { +"deprecated": true, +"description": "DEPRECATED: Please use TPU API v2alpha1 instead. Response for ListAcceleratorTypes.", +"id": "ListAcceleratorTypesResponse", +"properties": { +"acceleratorTypes": { +"description": "The listed nodes.", +"items": { +"$ref": "AcceleratorType" +}, +"type": "array" +}, +"nextPageToken": { +"description": "The next page token or empty if none.", +"type": "string" +}, +"unreachable": { +"description": "Locations that could not be reached.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListLocationsResponse": { +"description": "The response message for Locations.ListLocations.", +"id": "ListLocationsResponse", +"properties": { +"locations": { +"description": "A list of locations that matches the specified filter in the request.", +"items": { +"$ref": "Location" +}, +"type": "array" +}, +"nextPageToken": { +"description": "The standard List next-page token.", +"type": "string" +} +}, +"type": "object" +}, +"ListNodesResponse": { +"deprecated": true, +"description": "DEPRECATED: Please use TPU API v2alpha1 instead. Response for ListNodes.", +"id": "ListNodesResponse", +"properties": { +"nextPageToken": { +"description": "The next page token or empty if none.", +"type": "string" +}, +"nodes": { +"description": "The listed nodes.", +"items": { +"$ref": "Node" +}, +"type": "array" +}, +"unreachable": { +"description": "Locations that could not be reached.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListOperationsResponse": { +"description": "The response message for Operations.ListOperations.", +"id": "ListOperationsResponse", +"properties": { +"nextPageToken": { +"description": "The standard List next-page token.", +"type": "string" +}, +"operations": { +"description": "A list of operations that matches the specified filter in the request.", +"items": { +"$ref": "Operation" +}, +"type": "array" +}, +"unreachable": { +"description": "Unordered list. Unreachable resources. Populated when the request sets `ListOperationsRequest.return_partial_success` and reads across collections. For example, when attempting to list all resources across all supported locations.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListTensorFlowVersionsResponse": { +"deprecated": true, +"description": "DEPRECATED: Please use TPU API v2alpha1 instead. Response for ListTensorFlowVersions.", +"id": "ListTensorFlowVersionsResponse", +"properties": { +"nextPageToken": { +"description": "The next page token or empty if none.", +"type": "string" +}, +"tensorflowVersions": { +"description": "The listed nodes.", +"items": { +"$ref": "TensorFlowVersion" +}, +"type": "array" +}, +"unreachable": { +"description": "Locations that could not be reached.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"Location": { +"description": "A resource that represents a Google Cloud location.", +"id": "Location", +"properties": { +"displayName": { +"description": "The friendly name for this location, typically a nearby city name. For example, \"Tokyo\".", +"type": "string" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Cross-service attributes for the location. For example {\"cloud.googleapis.com/region\": \"us-east1\"}", +"type": "object" +}, +"locationId": { +"description": "The canonical id for this location. For example: `\"us-east1\"`.", +"type": "string" +}, +"metadata": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "Service-specific metadata. For example the available capacity at the given location.", +"type": "object" +}, +"name": { +"description": "Resource name for the location, which may vary between implementations. For example: `\"projects/example-project/locations/us-east1\"`", +"type": "string" +} +}, +"type": "object" +}, +"NetworkEndpoint": { +"deprecated": true, +"description": "DEPRECATED: Please use TPU API v2alpha1 instead. A network endpoint over which a TPU worker can be reached.", +"id": "NetworkEndpoint", +"properties": { +"ipAddress": { +"description": "The IP address of this network endpoint.", +"type": "string" +}, +"port": { +"description": "The port of this network endpoint.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"Node": { +"deprecated": true, +"description": "DEPRECATED: Please use TPU API v2alpha1 instead. A TPU instance.", +"id": "Node", +"properties": { +"acceleratorType": { +"description": "Required. The type of hardware accelerators associated with this node.", +"type": "string" +}, +"apiVersion": { +"description": "Output only. The API version that created this Node.", +"enum": [ +"API_VERSION_UNSPECIFIED", +"V1_ALPHA1", +"V1", +"V2_ALPHA1" +], +"enumDescriptions": [ +"API version is unknown.", +"TPU API V1Alpha1 version.", +"TPU API V1 version.", +"TPU API V2Alpha1 version." +], +"readOnly": true, +"type": "string" +}, +"cidrBlock": { +"description": "The CIDR block that the TPU node will use when selecting an IP address. This CIDR block must be a /29 block; the Compute Engine networks API forbids a smaller block, and using a larger block would be wasteful (a node can only consume one IP address). Errors will occur if the CIDR block has already been used for a currently existing TPU node, the CIDR block conflicts with any subnetworks in the user's provided network, or the provided network is peered with another network that is using that CIDR block.", +"type": "string" +}, +"createTime": { +"description": "Output only. The time when the node was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"description": { +"description": "The user-supplied description of the TPU. Maximum of 512 characters.", +"type": "string" +}, +"health": { +"description": "The health status of the TPU node.", +"enum": [ +"HEALTH_UNSPECIFIED", +"HEALTHY", +"DEPRECATED_UNHEALTHY", +"TIMEOUT", +"UNHEALTHY_TENSORFLOW", +"UNHEALTHY_MAINTENANCE" +], +"enumDescriptions": [ +"Health status is unknown: not initialized or failed to retrieve.", +"The resource is healthy.", +"The resource is unhealthy.", +"The resource is unresponsive.", +"The in-guest ML stack is unhealthy.", +"The node is under maintenance/priority boost caused rescheduling and will resume running once rescheduled." +], +"type": "string" +}, +"healthDescription": { +"description": "Output only. If this field is populated, it contains a description of why the TPU Node is unhealthy.", +"readOnly": true, +"type": "string" +}, +"ipAddress": { +"deprecated": true, +"description": "Output only. DEPRECATED! Use network_endpoints instead. The network address for the TPU Node as visible to Compute Engine instances.", +"type": "string" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Resource labels to represent user-provided metadata.", +"type": "object" +}, +"name": { +"description": "Output only. Immutable. The name of the TPU", +"readOnly": true, +"type": "string" +}, +"network": { +"description": "The name of a network they wish to peer the TPU node to. It must be a preexisting Compute Engine network inside of the project on which this API has been activated. If none is provided, \"default\" will be used.", +"type": "string" +}, +"networkEndpoints": { +"description": "Output only. The network endpoints where TPU workers can be accessed and sent work. It is recommended that Tensorflow clients of the node reach out to the 0th entry in this map first.", +"items": { +"$ref": "NetworkEndpoint" +}, +"readOnly": true, +"type": "array" +}, +"port": { +"deprecated": true, +"description": "Output only. DEPRECATED! Use network_endpoints instead. The network port for the TPU Node as visible to Compute Engine instances.", +"type": "string" +}, +"schedulingConfig": { +"$ref": "SchedulingConfig", +"description": "The scheduling options for this node." +}, +"serviceAccount": { +"description": "Output only. The service account used to run the tensor flow services within the node. To share resources, including Google Cloud Storage data, with the Tensorflow job running in the Node, this account must have permissions to that data.", +"readOnly": true, +"type": "string" +}, +"state": { +"description": "Output only. The current state for the TPU Node.", +"enum": [ +"STATE_UNSPECIFIED", +"CREATING", +"READY", +"RESTARTING", +"REIMAGING", +"DELETING", +"REPAIRING", +"STOPPED", +"STOPPING", +"STARTING", +"PREEMPTED", +"TERMINATED", +"HIDING", +"HIDDEN", +"UNHIDING", +"UNKNOWN" +], +"enumDescriptions": [ +"TPU node state is not known/set.", +"TPU node is being created.", +"TPU node has been created.", +"TPU node is restarting.", +"TPU node is undergoing reimaging.", +"TPU node is being deleted.", +"TPU node is being repaired and may be unusable. Details can be found in the `help_description` field.", +"TPU node is stopped.", +"TPU node is currently stopping.", +"TPU node is currently starting.", +"TPU node has been preempted. Only applies to Preemptible TPU Nodes.", +"TPU node has been terminated due to maintenance or has reached the end of its life cycle (for preemptible nodes).", +"TPU node is currently hiding.", +"TPU node has been hidden.", +"TPU node is currently unhiding.", +"TPU node has unknown state after a failed repair." +], +"readOnly": true, +"type": "string" +}, +"symptoms": { +"description": "Output only. The Symptoms that have occurred to the TPU Node.", +"items": { +"$ref": "Symptom" +}, +"readOnly": true, +"type": "array" +}, +"tensorflowVersion": { +"description": "Required. The version of Tensorflow running in the Node.", +"type": "string" +}, +"useServiceNetworking": { +"description": "Whether the VPC peering for the node is set up through Service Networking API. The VPC Peering should be set up before provisioning the node. If this field is set, cidr_block field should not be specified. If the network, that you want to peer the TPU Node to, is Shared VPC networks, the node must be created with this this field enabled.", +"type": "boolean" +} +}, +"type": "object" +}, +"Operation": { +"description": "This resource represents a long-running operation that is the result of a network API call.", +"id": "Operation", +"properties": { +"done": { +"description": "If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.", +"type": "boolean" +}, +"error": { +"$ref": "Status", +"description": "The error result of the operation in case of failure or cancellation." +}, +"metadata": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.", +"type": "object" +}, +"name": { +"description": "The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.", +"type": "string" +}, +"response": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "The normal, successful response of the operation. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.", +"type": "object" +} +}, +"type": "object" +}, +"OperationMetadata": { +"deprecated": true, +"description": "DEPRECATED: Please use TPU API v2alpha1 instead. Metadata describing an Operation", +"id": "OperationMetadata", +"properties": { +"apiVersion": { +"description": "API version.", +"type": "string" +}, +"cancelRequested": { +"description": "Specifies if cancellation was requested for the operation.", +"type": "boolean" +}, +"createTime": { +"description": "The time the operation was created.", +"format": "google-datetime", +"type": "string" +}, +"endTime": { +"description": "The time the operation finished running.", +"format": "google-datetime", +"type": "string" +}, +"statusDetail": { +"description": "Human-readable status of the operation, if any.", +"type": "string" +}, +"target": { +"description": "Target of the operation - for example projects/project-1/connectivityTests/test-1", +"type": "string" +}, +"verb": { +"description": "Name of the verb executed by the operation.", +"type": "string" +} +}, +"type": "object" +}, +"ReimageNodeRequest": { +"deprecated": true, +"description": "DEPRECATED: Please use TPU API v2alpha1 instead. Request for ReimageNode.", +"id": "ReimageNodeRequest", +"properties": { +"tensorflowVersion": { +"description": "The version for reimage to create.", +"type": "string" +} +}, +"type": "object" +}, +"SchedulingConfig": { +"deprecated": true, +"description": "DEPRECATED: Please use TPU API v2alpha1 instead. Sets the scheduling options for this node.", +"id": "SchedulingConfig", +"properties": { +"preemptible": { +"description": "Defines whether the node is preemptible.", +"type": "boolean" +}, +"reserved": { +"description": "Whether the node is created under a reservation.", +"type": "boolean" +} +}, +"type": "object" +}, +"StartNodeRequest": { +"deprecated": true, +"description": "DEPRECATED: Please use TPU API v2alpha1 instead. Request for StartNode.", +"id": "StartNodeRequest", +"properties": {}, +"type": "object" +}, +"Status": { +"description": "The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors).", +"id": "Status", +"properties": { +"code": { +"description": "The status code, which should be an enum value of google.rpc.Code.", +"format": "int32", +"type": "integer" +}, +"details": { +"description": "A list of messages that carry the error details. There is a common set of message types for APIs to use.", +"items": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.", +"type": "string" +} +}, +"type": "object" +}, +"StopNodeRequest": { +"deprecated": true, +"description": "DEPRECATED: Please use TPU API v2alpha1 instead. Request for StopNode.", +"id": "StopNodeRequest", +"properties": {}, +"type": "object" +}, +"Symptom": { +"deprecated": true, +"description": "DEPRECATED: Please use TPU API v2alpha1 instead. A Symptom instance.", +"id": "Symptom", +"properties": { +"createTime": { +"description": "Timestamp when the Symptom is created.", +"format": "google-datetime", +"type": "string" +}, +"details": { +"description": "Detailed information of the current Symptom.", +"type": "string" +}, +"symptomType": { +"description": "Type of the Symptom.", +"enum": [ +"SYMPTOM_TYPE_UNSPECIFIED", +"LOW_MEMORY", +"OUT_OF_MEMORY", +"EXECUTE_TIMED_OUT", +"MESH_BUILD_FAIL", +"HBM_OUT_OF_MEMORY", +"PROJECT_ABUSE" +], +"enumDescriptions": [ +"Unspecified symptom.", +"TPU VM memory is low.", +"TPU runtime is out of memory.", +"TPU runtime execution has timed out.", +"TPU runtime fails to construct a mesh that recognizes each TPU device's neighbors.", +"TPU HBM is out of memory.", +"Abusive behaviors have been identified on the current project." +], +"type": "string" +}, +"workerId": { +"description": "A string used to uniquely distinguish a worker within a TPU node.", +"type": "string" +} +}, +"type": "object" +}, +"TensorFlowVersion": { +"deprecated": true, +"description": "DEPRECATED: Please use TPU API v2alpha1 instead. A tensorflow version that a Node can be configured with.", +"id": "TensorFlowVersion", +"properties": { +"name": { +"description": "The resource name.", +"type": "string" +}, +"version": { +"description": "the tensorflow version.", +"type": "string" +} +}, +"type": "object" +} +}, +"servicePath": "", +"title": "Cloud TPU API", +"version": "v1alpha1", +"version_module": true +} \ No newline at end of file diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/trafficdirector.v3.json b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/trafficdirector.v3.json new file mode 100644 index 0000000000000000000000000000000000000000..1129cfc73346d3becaa35a1fb81643037169fe59 --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/trafficdirector.v3.json @@ -0,0 +1,1590 @@ +{ +"auth": { +"oauth2": { +"scopes": { +"https://www.googleapis.com/auth/cloud-platform": { +"description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." +} +} +} +}, +"basePath": "", +"baseUrl": "https://trafficdirector.googleapis.com/", +"batchPath": "batch", +"canonicalName": "Traffic Director Service", +"description": "", +"discoveryVersion": "v1", +"documentationLink": "https://cloud.google.com/traffic-director", +"endpoints": [ +{ +"description": "Regional Endpoint", +"endpointUrl": "https://trafficdirector.africa-south1.rep.googleapis.com/", +"location": "africa-south1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://trafficdirector.asia-east1.rep.googleapis.com/", +"location": "asia-east1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://trafficdirector.asia-east2.rep.googleapis.com/", +"location": "asia-east2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://trafficdirector.asia-northeast1.rep.googleapis.com/", +"location": "asia-northeast1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://trafficdirector.asia-northeast2.rep.googleapis.com/", +"location": "asia-northeast2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://trafficdirector.asia-northeast3.rep.googleapis.com/", +"location": "asia-northeast3" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://trafficdirector.asia-south1.rep.googleapis.com/", +"location": "asia-south1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://trafficdirector.asia-south2.rep.googleapis.com/", +"location": "asia-south2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://trafficdirector.asia-southeast1.rep.googleapis.com/", +"location": "asia-southeast1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://trafficdirector.asia-southeast2.rep.googleapis.com/", +"location": "asia-southeast2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://trafficdirector.australia-southeast1.rep.googleapis.com/", +"location": "australia-southeast1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://trafficdirector.australia-southeast2.rep.googleapis.com/", +"location": "australia-southeast2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://trafficdirector.europe-central2.rep.googleapis.com/", +"location": "europe-central2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://trafficdirector.europe-north1.rep.googleapis.com/", +"location": "europe-north1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://trafficdirector.europe-north2.rep.googleapis.com/", +"location": "europe-north2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://trafficdirector.europe-southwest1.rep.googleapis.com/", +"location": "europe-southwest1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://trafficdirector.europe-west1.rep.googleapis.com/", +"location": "europe-west1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://trafficdirector.europe-west10.rep.googleapis.com/", +"location": "europe-west10" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://trafficdirector.europe-west12.rep.googleapis.com/", +"location": "europe-west12" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://trafficdirector.europe-west2.rep.googleapis.com/", +"location": "europe-west2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://trafficdirector.europe-west3.rep.googleapis.com/", +"location": "europe-west3" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://trafficdirector.europe-west4.rep.googleapis.com/", +"location": "europe-west4" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://trafficdirector.europe-west6.rep.googleapis.com/", +"location": "europe-west6" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://trafficdirector.europe-west8.rep.googleapis.com/", +"location": "europe-west8" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://trafficdirector.europe-west9.rep.googleapis.com/", +"location": "europe-west9" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://trafficdirector.me-central1.rep.googleapis.com/", +"location": "me-central1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://trafficdirector.me-central2.rep.googleapis.com/", +"location": "me-central2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://trafficdirector.me-west1.rep.googleapis.com/", +"location": "me-west1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://trafficdirector.northamerica-northeast1.rep.googleapis.com/", +"location": "northamerica-northeast1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://trafficdirector.northamerica-northeast2.rep.googleapis.com/", +"location": "northamerica-northeast2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://trafficdirector.northamerica-south1.rep.googleapis.com/", +"location": "northamerica-south1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://trafficdirector.southamerica-east1.rep.googleapis.com/", +"location": "southamerica-east1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://trafficdirector.southamerica-west1.rep.googleapis.com/", +"location": "southamerica-west1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://trafficdirector.us-central1.rep.googleapis.com/", +"location": "us-central1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://trafficdirector.us-central2.rep.googleapis.com/", +"location": "us-central2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://trafficdirector.us-east1.rep.googleapis.com/", +"location": "us-east1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://trafficdirector.us-east4.rep.googleapis.com/", +"location": "us-east4" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://trafficdirector.us-east5.rep.googleapis.com/", +"location": "us-east5" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://trafficdirector.us-east7.rep.googleapis.com/", +"location": "us-east7" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://trafficdirector.us-south1.rep.googleapis.com/", +"location": "us-south1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://trafficdirector.us-west1.rep.googleapis.com/", +"location": "us-west1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://trafficdirector.us-west2.rep.googleapis.com/", +"location": "us-west2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://trafficdirector.us-west3.rep.googleapis.com/", +"location": "us-west3" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://trafficdirector.us-west4.rep.googleapis.com/", +"location": "us-west4" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://trafficdirector.us-west8.rep.googleapis.com/", +"location": "us-west8" +} +], +"fullyEncodeReservedExpansion": true, +"icons": { +"x16": "http://www.google.com/images/icons/product/search-16.gif", +"x32": "http://www.google.com/images/icons/product/search-32.gif" +}, +"id": "trafficdirector:v3", +"kind": "discovery#restDescription", +"mtlsRootUrl": "https://trafficdirector.mtls.googleapis.com/", +"name": "trafficdirector", +"ownerDomain": "google.com", +"ownerName": "Google", +"parameters": { +"$.xgafv": { +"description": "V1 error format.", +"enum": [ +"1", +"2" +], +"enumDescriptions": [ +"v1 error format", +"v2 error format" +], +"location": "query", +"type": "string" +}, +"access_token": { +"description": "OAuth access token.", +"location": "query", +"type": "string" +}, +"alt": { +"default": "json", +"description": "Data format for response.", +"enum": [ +"json", +"media", +"proto" +], +"enumDescriptions": [ +"Responses with Content-Type of application/json", +"Media download with context-dependent Content-Type", +"Responses with Content-Type of application/x-protobuf" +], +"location": "query", +"type": "string" +}, +"callback": { +"description": "JSONP", +"location": "query", +"type": "string" +}, +"fields": { +"description": "Selector specifying which fields to include in a partial response.", +"location": "query", +"type": "string" +}, +"key": { +"description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", +"location": "query", +"type": "string" +}, +"oauth_token": { +"description": "OAuth 2.0 token for the current user.", +"location": "query", +"type": "string" +}, +"prettyPrint": { +"default": "true", +"description": "Returns response with indentations and line breaks.", +"location": "query", +"type": "boolean" +}, +"quotaUser": { +"description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.", +"location": "query", +"type": "string" +}, +"uploadType": { +"description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", +"location": "query", +"type": "string" +}, +"upload_protocol": { +"description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", +"location": "query", +"type": "string" +} +}, +"protocol": "rest", +"resources": { +"discovery": { +"methods": { +"client_status": { +"description": "", +"flatPath": "v3/discovery:client_status", +"httpMethod": "POST", +"id": "trafficdirector.discovery.client_status", +"parameterOrder": [], +"parameters": {}, +"path": "v3/discovery:client_status", +"request": { +"$ref": "ClientStatusRequest" +}, +"response": { +"$ref": "ClientStatusResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +}, +"revision": "20251015", +"rootUrl": "https://trafficdirector.googleapis.com/", +"schemas": { +"Address": { +"description": "Addresses specify either a logical or physical address and port, which are used to tell Envoy where to bind/listen, connect to upstream and find management servers.", +"id": "Address", +"properties": { +"envoyInternalAddress": { +"$ref": "EnvoyInternalAddress", +"description": "Specifies a user-space address handled by :ref:`internal listeners `." +}, +"pipe": { +"$ref": "Pipe" +}, +"socketAddress": { +"$ref": "SocketAddress" +} +}, +"type": "object" +}, +"BuildVersion": { +"description": "BuildVersion combines SemVer version of extension with free-form build information (i.e. 'alpha', 'private-build') as a set of strings.", +"id": "BuildVersion", +"properties": { +"metadata": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"description": "Free-form build information. Envoy defines several well known keys in the source/common/version/version.h file", +"type": "object" +}, +"version": { +"$ref": "SemanticVersion", +"description": "SemVer version of extension." +} +}, +"type": "object" +}, +"ClientConfig": { +"description": "All xds configs for a particular client.", +"id": "ClientConfig", +"properties": { +"clientScope": { +"description": "For xDS clients, the scope in which the data is used. For example, gRPC indicates the data plane target or that the data is associated with gRPC server(s).", +"type": "string" +}, +"genericXdsConfigs": { +"description": "Represents generic xDS config and the exact config structure depends on the type URL (like Cluster if it is CDS)", +"items": { +"$ref": "GenericXdsConfig" +}, +"type": "array" +}, +"node": { +"$ref": "Node", +"description": "Node for a particular client." +}, +"xdsConfig": { +"deprecated": true, +"description": "This field is deprecated in favor of generic_xds_configs which is much simpler and uniform in structure.", +"items": { +"$ref": "PerXdsConfig" +}, +"type": "array" +} +}, +"type": "object" +}, +"ClientStatusRequest": { +"description": "Request for client status of clients identified by a list of NodeMatchers.", +"id": "ClientStatusRequest", +"properties": { +"excludeResourceContents": { +"description": "If true, the server will not include the resource contents in the response (i.e., the generic_xds_configs.xds_config field will not be populated). [#not-implemented-hide:]", +"type": "boolean" +}, +"node": { +"$ref": "Node", +"description": "The node making the csds request." +}, +"nodeMatchers": { +"description": "Management server can use these match criteria to identify clients. The match follows OR semantics.", +"items": { +"$ref": "NodeMatcher" +}, +"type": "array" +} +}, +"type": "object" +}, +"ClientStatusResponse": { +"id": "ClientStatusResponse", +"properties": { +"config": { +"description": "Client configs for the clients specified in the ClientStatusRequest.", +"items": { +"$ref": "ClientConfig" +}, +"type": "array" +} +}, +"type": "object" +}, +"ClustersConfigDump": { +"description": "Envoy's cluster manager fills this message with all currently known clusters. Cluster configuration information can be used to recreate an Envoy configuration by populating all clusters as static clusters or by returning them in a CDS response.", +"id": "ClustersConfigDump", +"properties": { +"dynamicActiveClusters": { +"description": "The dynamically loaded active clusters. These are clusters that are available to service data plane traffic.", +"items": { +"$ref": "DynamicCluster" +}, +"type": "array" +}, +"dynamicWarmingClusters": { +"description": "The dynamically loaded warming clusters. These are clusters that are currently undergoing warming in preparation to service data plane traffic. Note that if attempting to recreate an Envoy configuration from a configuration dump, the warming clusters should generally be discarded.", +"items": { +"$ref": "DynamicCluster" +}, +"type": "array" +}, +"staticClusters": { +"description": "The statically loaded cluster configs.", +"items": { +"$ref": "StaticCluster" +}, +"type": "array" +}, +"versionInfo": { +"description": "This is the :ref:`version_info ` in the last processed CDS discovery response. If there are only static bootstrap clusters, this field will be \"\".", +"type": "string" +} +}, +"type": "object" +}, +"ContextParams": { +"description": "Additional parameters that can be used to select resource variants. These include any global context parameters, per-resource type client feature capabilities and per-resource type functional attributes. All per-resource type attributes will be `xds.resource.` prefixed and some of these are documented below: `xds.resource.listening_address`: The value is \"IP:port\" (e.g. \"10.1.1.3:8080\") which is the listening address of a Listener. Used in a Listener resource query.", +"id": "ContextParams", +"properties": { +"params": { +"additionalProperties": { +"type": "string" +}, +"type": "object" +} +}, +"type": "object" +}, +"DoubleMatcher": { +"description": "Specifies the way to match a double value.", +"id": "DoubleMatcher", +"properties": { +"exact": { +"description": "If specified, the input double value must be equal to the value specified here.", +"format": "double", +"type": "number" +}, +"range": { +"$ref": "DoubleRange", +"description": "If specified, the input double value must be in the range specified here. Note: The range is using half-open interval semantics [start, end)." +} +}, +"type": "object" +}, +"DoubleRange": { +"description": "Specifies the double start and end of the range using half-open interval semantics [start, end).", +"id": "DoubleRange", +"properties": { +"end": { +"description": "end of the range (exclusive)", +"format": "double", +"type": "number" +}, +"start": { +"description": "start of the range (inclusive)", +"format": "double", +"type": "number" +} +}, +"type": "object" +}, +"DynamicCluster": { +"description": "Describes a dynamically loaded cluster via the CDS API. [#next-free-field: 6]", +"id": "DynamicCluster", +"properties": { +"clientStatus": { +"description": "The client status of this resource. [#not-implemented-hide:]", +"enum": [ +"UNKNOWN", +"REQUESTED", +"DOES_NOT_EXIST", +"ACKED", +"NACKED", +"RECEIVED_ERROR", +"TIMEOUT" +], +"enumDescriptions": [ +"Resource status is not available/unknown.", +"Client requested this resource but hasn't received any update from management server. The client will not fail requests, but will queue them until update arrives or the client times out waiting for the resource.", +"This resource has been requested by the client but has either not been delivered by the server or was previously delivered by the server and then subsequently removed from resources provided by the server. For more information, please refer to the :ref:`\"Knowing When a Requested Resource Does Not Exist\" ` section.", +"Client received this resource and replied with ACK.", +"Client received this resource and replied with NACK.", +"Client received an error from the control plane. The attached config dump is the most recent accepted one. If no config is accepted yet, the attached config dump will be empty.", +"Client timed out waiting for the resource from the control plane." +], +"type": "string" +}, +"cluster": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "The cluster config.", +"type": "object" +}, +"errorState": { +"$ref": "UpdateFailureState", +"description": "Set if the last update failed, cleared after the next successful update. The ``error_state`` field contains the rejected version of this particular resource along with the reason and timestamp. For successfully updated or acknowledged resource, this field should be empty. [#not-implemented-hide:]" +}, +"lastUpdated": { +"description": "The timestamp when the Cluster was last updated.", +"format": "google-datetime", +"type": "string" +}, +"versionInfo": { +"description": "This is the per-resource version information. This version is currently taken from the :ref:`version_info ` field at the time that the cluster was loaded. In the future, discrete per-cluster versions may be supported by the API.", +"type": "string" +} +}, +"type": "object" +}, +"DynamicEndpointConfig": { +"description": "[#next-free-field: 6]", +"id": "DynamicEndpointConfig", +"properties": { +"clientStatus": { +"description": "The client status of this resource. [#not-implemented-hide:]", +"enum": [ +"UNKNOWN", +"REQUESTED", +"DOES_NOT_EXIST", +"ACKED", +"NACKED", +"RECEIVED_ERROR", +"TIMEOUT" +], +"enumDescriptions": [ +"Resource status is not available/unknown.", +"Client requested this resource but hasn't received any update from management server. The client will not fail requests, but will queue them until update arrives or the client times out waiting for the resource.", +"This resource has been requested by the client but has either not been delivered by the server or was previously delivered by the server and then subsequently removed from resources provided by the server. For more information, please refer to the :ref:`\"Knowing When a Requested Resource Does Not Exist\" ` section.", +"Client received this resource and replied with ACK.", +"Client received this resource and replied with NACK.", +"Client received an error from the control plane. The attached config dump is the most recent accepted one. If no config is accepted yet, the attached config dump will be empty.", +"Client timed out waiting for the resource from the control plane." +], +"type": "string" +}, +"endpointConfig": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "The endpoint config.", +"type": "object" +}, +"errorState": { +"$ref": "UpdateFailureState", +"description": "Set if the last update failed, cleared after the next successful update. The ``error_state`` field contains the rejected version of this particular resource along with the reason and timestamp. For successfully updated or acknowledged resource, this field should be empty. [#not-implemented-hide:]" +}, +"lastUpdated": { +"description": "[#not-implemented-hide:] The timestamp when the Endpoint was last updated.", +"format": "google-datetime", +"type": "string" +}, +"versionInfo": { +"description": "[#not-implemented-hide:] This is the per-resource version information. This version is currently taken from the :ref:`version_info ` field at the time that the endpoint configuration was loaded.", +"type": "string" +} +}, +"type": "object" +}, +"DynamicListener": { +"description": "Describes a dynamically loaded listener via the LDS API. [#next-free-field: 7]", +"id": "DynamicListener", +"properties": { +"activeState": { +"$ref": "DynamicListenerState", +"description": "The listener state for any active listener by this name. These are listeners that are available to service data plane traffic." +}, +"clientStatus": { +"description": "The client status of this resource. [#not-implemented-hide:]", +"enum": [ +"UNKNOWN", +"REQUESTED", +"DOES_NOT_EXIST", +"ACKED", +"NACKED", +"RECEIVED_ERROR", +"TIMEOUT" +], +"enumDescriptions": [ +"Resource status is not available/unknown.", +"Client requested this resource but hasn't received any update from management server. The client will not fail requests, but will queue them until update arrives or the client times out waiting for the resource.", +"This resource has been requested by the client but has either not been delivered by the server or was previously delivered by the server and then subsequently removed from resources provided by the server. For more information, please refer to the :ref:`\"Knowing When a Requested Resource Does Not Exist\" ` section.", +"Client received this resource and replied with ACK.", +"Client received this resource and replied with NACK.", +"Client received an error from the control plane. The attached config dump is the most recent accepted one. If no config is accepted yet, the attached config dump will be empty.", +"Client timed out waiting for the resource from the control plane." +], +"type": "string" +}, +"drainingState": { +"$ref": "DynamicListenerState", +"description": "The listener state for any draining listener by this name. These are listeners that are currently undergoing draining in preparation to stop servicing data plane traffic. Note that if attempting to recreate an Envoy configuration from a configuration dump, the draining listeners should generally be discarded." +}, +"errorState": { +"$ref": "UpdateFailureState", +"description": "Set if the last update failed, cleared after the next successful update. The ``error_state`` field contains the rejected version of this particular resource along with the reason and timestamp. For successfully updated or acknowledged resource, this field should be empty." +}, +"name": { +"description": "The name or unique id of this listener, pulled from the DynamicListenerState config.", +"type": "string" +}, +"warmingState": { +"$ref": "DynamicListenerState", +"description": "The listener state for any warming listener by this name. These are listeners that are currently undergoing warming in preparation to service data plane traffic. Note that if attempting to recreate an Envoy configuration from a configuration dump, the warming listeners should generally be discarded." +} +}, +"type": "object" +}, +"DynamicListenerState": { +"id": "DynamicListenerState", +"properties": { +"lastUpdated": { +"description": "The timestamp when the Listener was last successfully updated.", +"format": "google-datetime", +"type": "string" +}, +"listener": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "The listener config.", +"type": "object" +}, +"versionInfo": { +"description": "This is the per-resource version information. This version is currently taken from the :ref:`version_info ` field at the time that the listener was loaded. In the future, discrete per-listener versions may be supported by the API.", +"type": "string" +} +}, +"type": "object" +}, +"DynamicRouteConfig": { +"description": "[#next-free-field: 6]", +"id": "DynamicRouteConfig", +"properties": { +"clientStatus": { +"description": "The client status of this resource. [#not-implemented-hide:]", +"enum": [ +"UNKNOWN", +"REQUESTED", +"DOES_NOT_EXIST", +"ACKED", +"NACKED", +"RECEIVED_ERROR", +"TIMEOUT" +], +"enumDescriptions": [ +"Resource status is not available/unknown.", +"Client requested this resource but hasn't received any update from management server. The client will not fail requests, but will queue them until update arrives or the client times out waiting for the resource.", +"This resource has been requested by the client but has either not been delivered by the server or was previously delivered by the server and then subsequently removed from resources provided by the server. For more information, please refer to the :ref:`\"Knowing When a Requested Resource Does Not Exist\" ` section.", +"Client received this resource and replied with ACK.", +"Client received this resource and replied with NACK.", +"Client received an error from the control plane. The attached config dump is the most recent accepted one. If no config is accepted yet, the attached config dump will be empty.", +"Client timed out waiting for the resource from the control plane." +], +"type": "string" +}, +"errorState": { +"$ref": "UpdateFailureState", +"description": "Set if the last update failed, cleared after the next successful update. The ``error_state`` field contains the rejected version of this particular resource along with the reason and timestamp. For successfully updated or acknowledged resource, this field should be empty. [#not-implemented-hide:]" +}, +"lastUpdated": { +"description": "The timestamp when the Route was last updated.", +"format": "google-datetime", +"type": "string" +}, +"routeConfig": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "The route config.", +"type": "object" +}, +"versionInfo": { +"description": "This is the per-resource version information. This version is currently taken from the :ref:`version_info ` field at the time that the route configuration was loaded.", +"type": "string" +} +}, +"type": "object" +}, +"DynamicScopedRouteConfigs": { +"description": "[#next-free-field: 7]", +"id": "DynamicScopedRouteConfigs", +"properties": { +"clientStatus": { +"description": "The client status of this resource. [#not-implemented-hide:]", +"enum": [ +"UNKNOWN", +"REQUESTED", +"DOES_NOT_EXIST", +"ACKED", +"NACKED", +"RECEIVED_ERROR", +"TIMEOUT" +], +"enumDescriptions": [ +"Resource status is not available/unknown.", +"Client requested this resource but hasn't received any update from management server. The client will not fail requests, but will queue them until update arrives or the client times out waiting for the resource.", +"This resource has been requested by the client but has either not been delivered by the server or was previously delivered by the server and then subsequently removed from resources provided by the server. For more information, please refer to the :ref:`\"Knowing When a Requested Resource Does Not Exist\" ` section.", +"Client received this resource and replied with ACK.", +"Client received this resource and replied with NACK.", +"Client received an error from the control plane. The attached config dump is the most recent accepted one. If no config is accepted yet, the attached config dump will be empty.", +"Client timed out waiting for the resource from the control plane." +], +"type": "string" +}, +"errorState": { +"$ref": "UpdateFailureState", +"description": "Set if the last update failed, cleared after the next successful update. The ``error_state`` field contains the rejected version of this particular resource along with the reason and timestamp. For successfully updated or acknowledged resource, this field should be empty. [#not-implemented-hide:]" +}, +"lastUpdated": { +"description": "The timestamp when the scoped route config set was last updated.", +"format": "google-datetime", +"type": "string" +}, +"name": { +"description": "The name assigned to the scoped route configurations.", +"type": "string" +}, +"scopedRouteConfigs": { +"description": "The scoped route configurations.", +"items": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"type": "object" +}, +"type": "array" +}, +"versionInfo": { +"description": "This is the per-resource version information. This version is currently taken from the :ref:`version_info ` field at the time that the scoped routes configuration was loaded.", +"type": "string" +} +}, +"type": "object" +}, +"EndpointsConfigDump": { +"description": "Envoy's admin fill this message with all currently known endpoints. Endpoint configuration information can be used to recreate an Envoy configuration by populating all endpoints as static endpoints or by returning them in an EDS response.", +"id": "EndpointsConfigDump", +"properties": { +"dynamicEndpointConfigs": { +"description": "The dynamically loaded endpoint configs.", +"items": { +"$ref": "DynamicEndpointConfig" +}, +"type": "array" +}, +"staticEndpointConfigs": { +"description": "The statically loaded endpoint configs.", +"items": { +"$ref": "StaticEndpointConfig" +}, +"type": "array" +} +}, +"type": "object" +}, +"EnvoyInternalAddress": { +"description": "The address represents an envoy internal listener. [#comment: ", +"id": "EnvoyInternalAddress", +"properties": { +"endpointId": { +"description": "Specifies an endpoint identifier to distinguish between multiple endpoints for the same internal listener in a single upstream pool. Only used in the upstream addresses for tracking changes to individual endpoints. This, for example, may be set to the final destination IP for the target internal listener.", +"type": "string" +}, +"serverListenerName": { +"description": "Specifies the :ref:`name ` of the internal listener.", +"type": "string" +} +}, +"type": "object" +}, +"Extension": { +"description": "Version and identification for an Envoy extension. [#next-free-field: 7]", +"id": "Extension", +"properties": { +"category": { +"description": "Category of the extension. Extension category names use reverse DNS notation. For instance \"envoy.filters.listener\" for Envoy's built-in listener filters or \"com.acme.filters.http\" for HTTP filters from acme.com vendor. [#comment:", +"type": "string" +}, +"disabled": { +"description": "Indicates that the extension is present but was disabled via dynamic configuration.", +"type": "boolean" +}, +"name": { +"description": "This is the name of the Envoy filter as specified in the Envoy configuration, e.g. envoy.filters.http.router, com.acme.widget.", +"type": "string" +}, +"typeDescriptor": { +"deprecated": true, +"description": "[#not-implemented-hide:] Type descriptor of extension configuration proto. [#comment:", +"type": "string" +}, +"typeUrls": { +"description": "Type URLs of extension configuration protos.", +"items": { +"type": "string" +}, +"type": "array" +}, +"version": { +"$ref": "BuildVersion", +"description": "The version is a property of the extension and maintained independently of other extensions and the Envoy API. This field is not set when extension did not provide version information." +} +}, +"type": "object" +}, +"GenericXdsConfig": { +"description": "GenericXdsConfig is used to specify the config status and the dump of any xDS resource identified by their type URL. It is the generalized version of the now deprecated ListenersConfigDump, ClustersConfigDump etc [#next-free-field: 10]", +"id": "GenericXdsConfig", +"properties": { +"clientStatus": { +"description": "Per xDS resource status from the view of a xDS client", +"enum": [ +"UNKNOWN", +"REQUESTED", +"DOES_NOT_EXIST", +"ACKED", +"NACKED", +"RECEIVED_ERROR", +"TIMEOUT" +], +"enumDescriptions": [ +"Resource status is not available/unknown.", +"Client requested this resource but hasn't received any update from management server. The client will not fail requests, but will queue them until update arrives or the client times out waiting for the resource.", +"This resource has been requested by the client but has either not been delivered by the server or was previously delivered by the server and then subsequently removed from resources provided by the server. For more information, please refer to the :ref:`\"Knowing When a Requested Resource Does Not Exist\" ` section.", +"Client received this resource and replied with ACK.", +"Client received this resource and replied with NACK.", +"Client received an error from the control plane. The attached config dump is the most recent accepted one. If no config is accepted yet, the attached config dump will be empty.", +"Client timed out waiting for the resource from the control plane." +], +"type": "string" +}, +"configStatus": { +"description": "Per xDS resource config status. It is generated by management servers. It will not be present if the CSDS server is an xDS client.", +"enum": [ +"UNKNOWN", +"SYNCED", +"NOT_SENT", +"STALE", +"ERROR" +], +"enumDescriptions": [ +"Status info is not available/unknown.", +"Management server has sent the config to client and received ACK.", +"Config is not sent.", +"Management server has sent the config to client but hasn\u2019t received ACK/NACK.", +"Management server has sent the config to client but received NACK. The attached config dump will be the latest config (the rejected one), since it is the persisted version in the management server." +], +"type": "string" +}, +"errorState": { +"$ref": "UpdateFailureState", +"description": "Set if the last update failed, cleared after the next successful update. The *error_state* field contains the rejected version of this particular resource along with the reason and timestamp. For successfully updated or acknowledged resource, this field should be empty. [#not-implemented-hide:]" +}, +"isStaticResource": { +"description": "Is static resource is true if it is specified in the config supplied through the file at the startup.", +"type": "boolean" +}, +"lastUpdated": { +"description": "Timestamp when the xDS resource was last updated", +"format": "google-datetime", +"type": "string" +}, +"name": { +"description": "Name of the xDS resource", +"type": "string" +}, +"typeUrl": { +"description": "Type_url represents the fully qualified name of xDS resource type like envoy.v3.Cluster, envoy.v3.ClusterLoadAssignment etc.", +"type": "string" +}, +"versionInfo": { +"description": "This is the :ref:`version_info ` in the last processed xDS discovery response. If there are only static bootstrap listeners, this field will be \"\"", +"type": "string" +}, +"xdsConfig": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "The xDS resource config. Actual content depends on the type", +"type": "object" +} +}, +"type": "object" +}, +"GoogleRE2": { +"description": "Google's `RE2 `_ regex engine. The regex string must adhere to the documented `syntax `_. The engine is designed to complete execution in linear time as well as limit the amount of memory used. Envoy supports program size checking via runtime. The runtime keys ``re2.max_program_size.error_level`` and ``re2.max_program_size.warn_level`` can be set to integers as the maximum program size or complexity that a compiled regex can have before an exception is thrown or a warning is logged, respectively. ``re2.max_program_size.error_level`` defaults to 100, and ``re2.max_program_size.warn_level`` has no default if unset (will not check/log a warning). Envoy emits two stats for tracking the program size of regexes: the histogram ``re2.program_size``, which records the program size, and the counter ``re2.exceeded_warn_level``, which is incremented each time the program size exceeds the warn level threshold.", +"id": "GoogleRE2", +"properties": { +"maxProgramSize": { +"deprecated": true, +"description": "This field controls the RE2 \"program size\" which is a rough estimate of how complex a compiled regex is to evaluate. A regex that has a program size greater than the configured value will fail to compile. In this case, the configured max program size can be increased or the regex can be simplified. If not specified, the default is 100. This field is deprecated; regexp validation should be performed on the management server instead of being done by each individual client. .. note:: Although this field is deprecated, the program size will still be checked against the global ``re2.max_program_size.error_level`` runtime value.", +"format": "uint32", +"type": "integer" +} +}, +"type": "object" +}, +"InlineScopedRouteConfigs": { +"id": "InlineScopedRouteConfigs", +"properties": { +"lastUpdated": { +"description": "The timestamp when the scoped route config set was last updated.", +"format": "google-datetime", +"type": "string" +}, +"name": { +"description": "The name assigned to the scoped route configurations.", +"type": "string" +}, +"scopedRouteConfigs": { +"description": "The scoped route configurations.", +"items": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"type": "object" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListMatcher": { +"description": "Specifies the way to match a list value.", +"id": "ListMatcher", +"properties": { +"oneOf": { +"$ref": "ValueMatcher", +"description": "If specified, at least one of the values in the list must match the value specified." +} +}, +"type": "object" +}, +"ListenersConfigDump": { +"description": "Envoy's listener manager fills this message with all currently known listeners. Listener configuration information can be used to recreate an Envoy configuration by populating all listeners as static listeners or by returning them in a LDS response.", +"id": "ListenersConfigDump", +"properties": { +"dynamicListeners": { +"description": "State for any warming, active, or draining listeners.", +"items": { +"$ref": "DynamicListener" +}, +"type": "array" +}, +"staticListeners": { +"description": "The statically loaded listener configs.", +"items": { +"$ref": "StaticListener" +}, +"type": "array" +}, +"versionInfo": { +"description": "This is the :ref:`version_info ` in the last processed LDS discovery response. If there are only static bootstrap listeners, this field will be \"\".", +"type": "string" +} +}, +"type": "object" +}, +"Locality": { +"description": "Identifies location of where either Envoy runs or where upstream hosts run.", +"id": "Locality", +"properties": { +"region": { +"description": "Region this :ref:`zone ` belongs to.", +"type": "string" +}, +"subZone": { +"description": "When used for locality of upstream hosts, this field further splits zone into smaller chunks of sub-zones so they can be load balanced independently.", +"type": "string" +}, +"zone": { +"description": "Defines the local service zone where Envoy is running. Though optional, it should be set if discovery service routing is used and the discovery service exposes :ref:`zone data `, either in this message or via :option:`--service-zone`. The meaning of zone is context dependent, e.g. `Availability Zone (AZ) `_ on AWS, `Zone `_ on GCP, etc.", +"type": "string" +} +}, +"type": "object" +}, +"Node": { +"description": "Identifies a specific Envoy instance. The node identifier is presented to the management server, which may use this identifier to distinguish per Envoy configuration for serving. [#next-free-field: 13]", +"id": "Node", +"properties": { +"clientFeatures": { +"description": "Client feature support list. These are well known features described in the Envoy API repository for a given major version of an API. Client features use reverse DNS naming scheme, for example ``com.acme.feature``. See :ref:`the list of features ` that xDS client may support.", +"items": { +"type": "string" +}, +"type": "array" +}, +"cluster": { +"description": "Defines the local service cluster name where Envoy is running. Though optional, it should be set if any of the following features are used: :ref:`statsd `, :ref:`health check cluster verification `, :ref:`runtime override directory `, :ref:`user agent addition `, :ref:`HTTP global rate limiting `, :ref:`CDS `, and :ref:`HTTP tracing `, either in this message or via :option:`--service-cluster`.", +"type": "string" +}, +"dynamicParameters": { +"additionalProperties": { +"$ref": "ContextParams" +}, +"description": "Map from xDS resource type URL to dynamic context parameters. These may vary at runtime (unlike other fields in this message). For example, the xDS client may have a shard identifier that changes during the lifetime of the xDS client. In Envoy, this would be achieved by updating the dynamic context on the Server::Instance's LocalInfo context provider. The shard ID dynamic parameter then appears in this field during future discovery requests.", +"type": "object" +}, +"extensions": { +"description": "List of extensions and their versions supported by the node.", +"items": { +"$ref": "Extension" +}, +"type": "array" +}, +"id": { +"description": "An opaque node identifier for the Envoy node. This also provides the local service node name. It should be set if any of the following features are used: :ref:`statsd `, :ref:`CDS `, and :ref:`HTTP tracing `, either in this message or via :option:`--service-node`.", +"type": "string" +}, +"listeningAddresses": { +"deprecated": true, +"description": "Known listening ports on the node as a generic hint to the management server for filtering :ref:`listeners ` to be returned. For example, if there is a listener bound to port 80, the list can optionally contain the SocketAddress ``(0.0.0.0,80)``. The field is optional and just a hint.", +"items": { +"$ref": "Address" +}, +"type": "array" +}, +"locality": { +"$ref": "Locality", +"description": "Locality specifying where the Envoy instance is running." +}, +"metadata": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"description": "Opaque metadata extending the node identifier. Envoy will pass this directly to the management server.", +"type": "object" +}, +"userAgentBuildVersion": { +"$ref": "BuildVersion", +"description": "Structured version of the entity requesting config." +}, +"userAgentName": { +"description": "Free-form string that identifies the entity requesting config. E.g. \"envoy\" or \"grpc\"", +"type": "string" +}, +"userAgentVersion": { +"description": "Free-form string that identifies the version of the entity requesting config. E.g. \"1.12.2\" or \"abcd1234\", or \"SpecialEnvoyBuild\"", +"type": "string" +} +}, +"type": "object" +}, +"NodeMatcher": { +"description": "Specifies the way to match a Node. The match follows AND semantics.", +"id": "NodeMatcher", +"properties": { +"nodeId": { +"$ref": "StringMatcher", +"description": "Specifies match criteria on the node id." +}, +"nodeMetadatas": { +"description": "Specifies match criteria on the node metadata.", +"items": { +"$ref": "StructMatcher" +}, +"type": "array" +} +}, +"type": "object" +}, +"NullMatch": { +"description": "NullMatch is an empty message to specify a null value.", +"id": "NullMatch", +"properties": {}, +"type": "object" +}, +"OrMatcher": { +"description": "Specifies a list of alternatives for the match.", +"id": "OrMatcher", +"properties": { +"valueMatchers": { +"items": { +"$ref": "ValueMatcher" +}, +"type": "array" +} +}, +"type": "object" +}, +"PathSegment": { +"description": "Specifies the segment in a path to retrieve value from Struct.", +"id": "PathSegment", +"properties": { +"key": { +"description": "If specified, use the key to retrieve the value in a Struct.", +"type": "string" +} +}, +"type": "object" +}, +"PerXdsConfig": { +"description": "Detailed config (per xDS) with status. [#next-free-field: 8]", +"id": "PerXdsConfig", +"properties": { +"clientStatus": { +"deprecated": true, +"description": "Client config status is populated by xDS clients. Will not be present if the CSDS server is an xDS server. No matter what the client config status is, xDS clients should always dump the most recent accepted xDS config. .. attention:: This field is deprecated. Use :ref:`ClientResourceStatus ` for per-resource config status instead.", +"enum": [ +"CLIENT_UNKNOWN", +"CLIENT_REQUESTED", +"CLIENT_ACKED", +"CLIENT_NACKED", +"CLIENT_RECEIVED_ERROR" +], +"enumDescriptions": [ +"Config status is not available/unknown.", +"Client requested the config but hasn't received any config from management server yet.", +"Client received the config and replied with ACK.", +"Client received the config and replied with NACK. Notably, the attached config dump is not the NACKed version, but the most recent accepted one. If no config is accepted yet, the attached config dump will be empty.", +"Client received an error from the control plane. The attached config dump is the most recent accepted one. If no config is accepted yet, the attached config dump will be empty." +], +"type": "string" +}, +"clusterConfig": { +"$ref": "ClustersConfigDump" +}, +"endpointConfig": { +"$ref": "EndpointsConfigDump" +}, +"listenerConfig": { +"$ref": "ListenersConfigDump" +}, +"routeConfig": { +"$ref": "RoutesConfigDump" +}, +"scopedRouteConfig": { +"$ref": "ScopedRoutesConfigDump" +}, +"status": { +"description": "Config status generated by management servers. Will not be present if the CSDS server is an xDS client.", +"enum": [ +"UNKNOWN", +"SYNCED", +"NOT_SENT", +"STALE", +"ERROR" +], +"enumDescriptions": [ +"Status info is not available/unknown.", +"Management server has sent the config to client and received ACK.", +"Config is not sent.", +"Management server has sent the config to client but hasn\u2019t received ACK/NACK.", +"Management server has sent the config to client but received NACK. The attached config dump will be the latest config (the rejected one), since it is the persisted version in the management server." +], +"type": "string" +} +}, +"type": "object" +}, +"Pipe": { +"id": "Pipe", +"properties": { +"mode": { +"description": "The mode for the Pipe. Not applicable for abstract sockets.", +"format": "uint32", +"type": "integer" +}, +"path": { +"description": "Unix Domain Socket path. On Linux, paths starting with '@' will use the abstract namespace. The starting '@' is replaced by a null byte by Envoy. Paths starting with '@' will result in an error in environments other than Linux.", +"type": "string" +} +}, +"type": "object" +}, +"RegexMatcher": { +"description": "A regex matcher designed for safety when used with untrusted input.", +"id": "RegexMatcher", +"properties": { +"googleRe2": { +"$ref": "GoogleRE2", +"deprecated": true, +"description": "Google's RE2 regex engine." +}, +"regex": { +"description": "The regex match string. The string must be supported by the configured engine. The regex is matched against the full string, not as a partial match.", +"type": "string" +} +}, +"type": "object" +}, +"RoutesConfigDump": { +"description": "Envoy's RDS implementation fills this message with all currently loaded routes, as described by their RouteConfiguration objects. Static routes that are either defined in the bootstrap configuration or defined inline while configuring listeners are separated from those configured dynamically via RDS. Route configuration information can be used to recreate an Envoy configuration by populating all routes as static routes or by returning them in RDS responses.", +"id": "RoutesConfigDump", +"properties": { +"dynamicRouteConfigs": { +"description": "The dynamically loaded route configs.", +"items": { +"$ref": "DynamicRouteConfig" +}, +"type": "array" +}, +"staticRouteConfigs": { +"description": "The statically loaded route configs.", +"items": { +"$ref": "StaticRouteConfig" +}, +"type": "array" +} +}, +"type": "object" +}, +"ScopedRoutesConfigDump": { +"description": "Envoy's scoped RDS implementation fills this message with all currently loaded route configuration scopes (defined via ScopedRouteConfigurationsSet protos). This message lists both the scopes defined inline with the higher order object (i.e., the HttpConnectionManager) and the dynamically obtained scopes via the SRDS API.", +"id": "ScopedRoutesConfigDump", +"properties": { +"dynamicScopedRouteConfigs": { +"description": "The dynamically loaded scoped route configs.", +"items": { +"$ref": "DynamicScopedRouteConfigs" +}, +"type": "array" +}, +"inlineScopedRouteConfigs": { +"description": "The statically loaded scoped route configs.", +"items": { +"$ref": "InlineScopedRouteConfigs" +}, +"type": "array" +} +}, +"type": "object" +}, +"SemanticVersion": { +"description": "Envoy uses SemVer (https://semver.org/). Major/minor versions indicate expected behaviors and APIs, the patch version field is used only for security fixes and can be generally ignored.", +"id": "SemanticVersion", +"properties": { +"majorNumber": { +"format": "uint32", +"type": "integer" +}, +"minorNumber": { +"format": "uint32", +"type": "integer" +}, +"patch": { +"format": "uint32", +"type": "integer" +} +}, +"type": "object" +}, +"SocketAddress": { +"description": "[#next-free-field: 8]", +"id": "SocketAddress", +"properties": { +"address": { +"description": "The address for this socket. :ref:`Listeners ` will bind to the address. An empty address is not allowed. Specify ``0.0.0.0`` or ``::`` to bind to any address. [#comment:TODO(zuercher) reinstate when implemented: It is possible to distinguish a Listener address via the prefix/suffix matching in :ref:`FilterChainMatch `.] When used within an upstream :ref:`BindConfig `, the address controls the source address of outbound connections. For :ref:`clusters `, the cluster type determines whether the address must be an IP (``STATIC`` or ``EDS`` clusters) or a hostname resolved by DNS (``STRICT_DNS`` or ``LOGICAL_DNS`` clusters). Address resolution can be customized via :ref:`resolver_name `.", +"type": "string" +}, +"ipv4Compat": { +"description": "When binding to an IPv6 address above, this enables `IPv4 compatibility `_. Binding to ``::`` will allow both IPv4 and IPv6 connections, with peer IPv4 addresses mapped into IPv6 space as ``::FFFF:``.", +"type": "boolean" +}, +"namedPort": { +"description": "This is only valid if :ref:`resolver_name ` is specified below and the named resolver is capable of named port resolution.", +"type": "string" +}, +"networkNamespaceFilepath": { +"description": "Filepath that specifies the Linux network namespace this socket will be created in (see ``man 7 network_namespaces``). If this field is set, Envoy will create the socket in the specified network namespace. .. note:: Setting this parameter requires Envoy to run with the ``CAP_NET_ADMIN`` capability. .. attention:: Network namespaces are only configurable on Linux. Otherwise, this field has no effect.", +"type": "string" +}, +"portValue": { +"format": "uint32", +"type": "integer" +}, +"protocol": { +"enum": [ +"TCP", +"UDP" +], +"enumDescriptions": [ +"", +"" +], +"type": "string" +}, +"resolverName": { +"description": "The name of the custom resolver. This must have been registered with Envoy. If this is empty, a context dependent default applies. If the address is a concrete IP address, no resolution will occur. If address is a hostname this should be set for resolution other than DNS. Specifying a custom resolver with ``STRICT_DNS`` or ``LOGICAL_DNS`` will generate an error at runtime.", +"type": "string" +} +}, +"type": "object" +}, +"StaticCluster": { +"description": "Describes a statically loaded cluster.", +"id": "StaticCluster", +"properties": { +"cluster": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "The cluster config.", +"type": "object" +}, +"lastUpdated": { +"description": "The timestamp when the Cluster was last updated.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"StaticEndpointConfig": { +"id": "StaticEndpointConfig", +"properties": { +"endpointConfig": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "The endpoint config.", +"type": "object" +}, +"lastUpdated": { +"description": "[#not-implemented-hide:] The timestamp when the Endpoint was last updated.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"StaticListener": { +"description": "Describes a statically loaded listener.", +"id": "StaticListener", +"properties": { +"lastUpdated": { +"description": "The timestamp when the Listener was last successfully updated.", +"format": "google-datetime", +"type": "string" +}, +"listener": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "The listener config.", +"type": "object" +} +}, +"type": "object" +}, +"StaticRouteConfig": { +"id": "StaticRouteConfig", +"properties": { +"lastUpdated": { +"description": "The timestamp when the Route was last updated.", +"format": "google-datetime", +"type": "string" +}, +"routeConfig": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "The route config.", +"type": "object" +} +}, +"type": "object" +}, +"StringMatcher": { +"description": "Specifies the way to match a string. [#next-free-field: 9]", +"id": "StringMatcher", +"properties": { +"contains": { +"description": "The input string must have the substring specified here. .. note:: Empty contains match is not allowed, please use ``safe_regex`` instead. Examples: * ``abc`` matches the value ``xyz.abc.def``", +"type": "string" +}, +"custom": { +"$ref": "TypedExtensionConfig", +"description": "Use an extension as the matcher type. [#extension-category: envoy.string_matcher]" +}, +"exact": { +"description": "The input string must match exactly the string specified here. Examples: * ``abc`` only matches the value ``abc``.", +"type": "string" +}, +"ignoreCase": { +"description": "If ``true``, indicates the exact/prefix/suffix/contains matching should be case insensitive. This has no effect for the ``safe_regex`` match. For example, the matcher ``data`` will match both input string ``Data`` and ``data`` if this option is set to ``true``.", +"type": "boolean" +}, +"prefix": { +"description": "The input string must have the prefix specified here. .. note:: Empty prefix match is not allowed, please use ``safe_regex`` instead. Examples: * ``abc`` matches the value ``abc.xyz``", +"type": "string" +}, +"safeRegex": { +"$ref": "RegexMatcher", +"description": "The input string must match the regular expression specified here." +}, +"suffix": { +"description": "The input string must have the suffix specified here. .. note:: Empty suffix match is not allowed, please use ``safe_regex`` instead. Examples: * ``abc`` matches the value ``xyz.abc``", +"type": "string" +} +}, +"type": "object" +}, +"StructMatcher": { +"description": "StructMatcher provides a general interface to check if a given value is matched in google.protobuf.Struct. It uses ``path`` to retrieve the value from the struct and then check if it's matched to the specified value. For example, for the following Struct: .. code-block:: yaml fields: a: struct_value: fields: b: struct_value: fields: c: string_value: pro t: list_value: values: - string_value: m - string_value: n The following MetadataMatcher is matched as the path [a, b, c] will retrieve a string value \"pro\" from the Metadata which is matched to the specified prefix match. .. code-block:: yaml path: - key: a - key: b - key: c value: string_match: prefix: pr The following StructMatcher is matched as the code will match one of the string values in the list at the path [a, t]. .. code-block:: yaml path: - key: a - key: t value: list_match: one_of: string_match: exact: m An example use of StructMatcher is to match metadata in envoy.v*.core.Node.", +"id": "StructMatcher", +"properties": { +"path": { +"description": "The path to retrieve the Value from the Struct.", +"items": { +"$ref": "PathSegment" +}, +"type": "array" +}, +"value": { +"$ref": "ValueMatcher", +"description": "The StructMatcher is matched if the value retrieved by path is matched to this value." +} +}, +"type": "object" +}, +"TypedExtensionConfig": { +"description": "Message type for extension configuration.", +"id": "TypedExtensionConfig", +"properties": { +"name": { +"description": "The name of an extension. This is not used to select the extension, instead it serves the role of an opaque identifier.", +"type": "string" +}, +"typedConfig": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "The typed config for the extension. The type URL will be used to identify the extension. In the case that the type URL is *xds.type.v3.TypedStruct* (or, for historical reasons, *udpa.type.v1.TypedStruct*), the inner type URL of *TypedStruct* will be utilized. See the :ref:`extension configuration overview ` for further details.", +"type": "object" +} +}, +"type": "object" +}, +"UpdateFailureState": { +"id": "UpdateFailureState", +"properties": { +"details": { +"description": "Details about the last failed update attempt.", +"type": "string" +}, +"failedConfiguration": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "What the component configuration would have been if the update had succeeded. This field may not be populated by xDS clients due to storage overhead.", +"type": "object" +}, +"lastUpdateAttempt": { +"description": "Time of the latest failed update attempt.", +"format": "google-datetime", +"type": "string" +}, +"versionInfo": { +"description": "This is the version of the rejected resource. [#not-implemented-hide:]", +"type": "string" +} +}, +"type": "object" +}, +"ValueMatcher": { +"description": "Specifies the way to match a Protobuf::Value. Primitive values and ListValue are supported. StructValue is not supported and is always not matched. [#next-free-field: 8]", +"id": "ValueMatcher", +"properties": { +"boolMatch": { +"description": "If specified, a match occurs if and only if the target value is a bool value and is equal to this field.", +"type": "boolean" +}, +"doubleMatch": { +"$ref": "DoubleMatcher", +"description": "If specified, a match occurs if and only if the target value is a double value and is matched to this field." +}, +"listMatch": { +"$ref": "ListMatcher", +"description": "If specified, a match occurs if and only if the target value is a list value and is matched to this field." +}, +"nullMatch": { +"$ref": "NullMatch", +"description": "If specified, a match occurs if and only if the target value is a NullValue." +}, +"orMatch": { +"$ref": "OrMatcher", +"description": "If specified, a match occurs if and only if any of the alternatives in the match accept the value." +}, +"presentMatch": { +"description": "If specified, value match will be performed based on whether the path is referring to a valid primitive value in the metadata. If the path is referring to a non-primitive value, the result is always not matched.", +"type": "boolean" +}, +"stringMatch": { +"$ref": "StringMatcher", +"description": "If specified, a match occurs if and only if the target value is a string value and is matched to this field." +} +}, +"type": "object" +} +}, +"servicePath": "", +"title": "Traffic Director API", +"version": "v3", +"version_module": true +} \ No newline at end of file diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/translate.v3beta1.json b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/translate.v3beta1.json new file mode 100644 index 0000000000000000000000000000000000000000..7e9288950e687048a895dcc5d19496709c6c2d70 --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/translate.v3beta1.json @@ -0,0 +1,1628 @@ +{ +"auth": { +"oauth2": { +"scopes": { +"https://www.googleapis.com/auth/cloud-platform": { +"description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." +}, +"https://www.googleapis.com/auth/cloud-translation": { +"description": "Translate text from one language to another using Google Translate" +} +} +} +}, +"basePath": "", +"baseUrl": "https://translation.googleapis.com/", +"batchPath": "batch", +"canonicalName": "Translate", +"description": "Integrates text translation into your website or application.", +"discoveryVersion": "v1", +"documentationLink": "https://cloud.google.com/translate/docs/quickstarts", +"fullyEncodeReservedExpansion": true, +"icons": { +"x16": "http://www.google.com/images/icons/product/search-16.gif", +"x32": "http://www.google.com/images/icons/product/search-32.gif" +}, +"id": "translate:v3beta1", +"kind": "discovery#restDescription", +"mtlsRootUrl": "https://translation.mtls.googleapis.com/", +"name": "translate", +"ownerDomain": "google.com", +"ownerName": "Google", +"parameters": { +"$.xgafv": { +"description": "V1 error format.", +"enum": [ +"1", +"2" +], +"enumDescriptions": [ +"v1 error format", +"v2 error format" +], +"location": "query", +"type": "string" +}, +"access_token": { +"description": "OAuth access token.", +"location": "query", +"type": "string" +}, +"alt": { +"default": "json", +"description": "Data format for response.", +"enum": [ +"json", +"media", +"proto" +], +"enumDescriptions": [ +"Responses with Content-Type of application/json", +"Media download with context-dependent Content-Type", +"Responses with Content-Type of application/x-protobuf" +], +"location": "query", +"type": "string" +}, +"callback": { +"description": "JSONP", +"location": "query", +"type": "string" +}, +"fields": { +"description": "Selector specifying which fields to include in a partial response.", +"location": "query", +"type": "string" +}, +"key": { +"description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", +"location": "query", +"type": "string" +}, +"oauth_token": { +"description": "OAuth 2.0 token for the current user.", +"location": "query", +"type": "string" +}, +"prettyPrint": { +"default": "true", +"description": "Returns response with indentations and line breaks.", +"location": "query", +"type": "boolean" +}, +"quotaUser": { +"description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.", +"location": "query", +"type": "string" +}, +"uploadType": { +"description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", +"location": "query", +"type": "string" +}, +"upload_protocol": { +"description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", +"location": "query", +"type": "string" +} +}, +"protocol": "rest", +"resources": { +"projects": { +"methods": { +"detectLanguage": { +"description": "Detects the language of text within a request.", +"flatPath": "v3beta1/projects/{projectsId}:detectLanguage", +"httpMethod": "POST", +"id": "translate.projects.detectLanguage", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. Project or location to make a call. Must refer to a caller's project. Format: `projects/{project-number-or-id}/locations/{location-id}` or `projects/{project-number-or-id}`. For global calls, use `projects/{project-number-or-id}/locations/global` or `projects/{project-number-or-id}`. Only models within the same region (has same location-id) can be used. Otherwise an INVALID_ARGUMENT (400) error is returned.", +"location": "path", +"pattern": "^projects/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3beta1/{+parent}:detectLanguage", +"request": { +"$ref": "DetectLanguageRequest" +}, +"response": { +"$ref": "DetectLanguageResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-translation" +] +}, +"getSupportedLanguages": { +"description": "Returns a list of supported languages for translation.", +"flatPath": "v3beta1/projects/{projectsId}/supportedLanguages", +"httpMethod": "GET", +"id": "translate.projects.getSupportedLanguages", +"parameterOrder": [ +"parent" +], +"parameters": { +"displayLanguageCode": { +"description": "Optional. The language to use to return localized, human readable names of supported languages. If missing, then display names are not returned in a response.", +"location": "query", +"type": "string" +}, +"model": { +"description": "Optional. Get supported languages of this model. The format depends on model type: - AutoML Translation models: `projects/{project-number-or-id}/locations/{location-id}/models/{model-id}` - General (built-in) models: `projects/{project-number-or-id}/locations/{location-id}/models/general/nmt`, Returns languages supported by the specified model. If missing, we get supported languages of Google general NMT model.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. Project or location to make a call. Must refer to a caller's project. Format: `projects/{project-number-or-id}` or `projects/{project-number-or-id}/locations/{location-id}`. For global calls, use `projects/{project-number-or-id}/locations/global` or `projects/{project-number-or-id}`. Non-global location is required for AutoML models. Only models within the same region (have same location-id) can be used, otherwise an INVALID_ARGUMENT (400) error is returned.", +"location": "path", +"pattern": "^projects/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3beta1/{+parent}/supportedLanguages", +"response": { +"$ref": "SupportedLanguages" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-translation" +] +}, +"translateText": { +"description": "Translates input text and returns translated text.", +"flatPath": "v3beta1/projects/{projectsId}:translateText", +"httpMethod": "POST", +"id": "translate.projects.translateText", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. Project or location to make a call. Must refer to a caller's project. Format: `projects/{project-number-or-id}` or `projects/{project-number-or-id}/locations/{location-id}`. For global calls, use `projects/{project-number-or-id}/locations/global` or `projects/{project-number-or-id}`. Non-global location is required for requests using AutoML models or custom glossaries. Models and glossaries must be within the same region (have same location-id), otherwise an INVALID_ARGUMENT (400) error is returned.", +"location": "path", +"pattern": "^projects/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3beta1/{+parent}:translateText", +"request": { +"$ref": "TranslateTextRequest" +}, +"response": { +"$ref": "TranslateTextResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-translation" +] +} +}, +"resources": { +"locations": { +"methods": { +"batchTranslateDocument": { +"description": "Translates a large volume of document in asynchronous batch mode. This function provides real-time output as the inputs are being processed. If caller cancels a request, the partial results (for an input file, it's all or nothing) may still be available on the specified output location. This call returns immediately and you can use google.longrunning.Operation.name to poll the status of the call.", +"flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}:batchTranslateDocument", +"httpMethod": "POST", +"id": "translate.projects.locations.batchTranslateDocument", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. Location to make a regional call. Format: `projects/{project-number-or-id}/locations/{location-id}`. The `global` location is not supported for batch translation. Only AutoML Translation models or glossaries within the same region (have the same location-id) can be used, otherwise an INVALID_ARGUMENT (400) error is returned.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3beta1/{+parent}:batchTranslateDocument", +"request": { +"$ref": "BatchTranslateDocumentRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-translation" +] +}, +"batchTranslateText": { +"description": "Translates a large volume of text in asynchronous batch mode. This function provides real-time output as the inputs are being processed. If caller cancels a request, the partial results (for an input file, it's all or nothing) may still be available on the specified output location. This call returns immediately and you can use google.longrunning.Operation.name to poll the status of the call.", +"flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}:batchTranslateText", +"httpMethod": "POST", +"id": "translate.projects.locations.batchTranslateText", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. Location to make a call. Must refer to a caller's project. Format: `projects/{project-number-or-id}/locations/{location-id}`. The `global` location is not supported for batch translation. Only AutoML Translation models or glossaries within the same region (have the same location-id) can be used, otherwise an INVALID_ARGUMENT (400) error is returned.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3beta1/{+parent}:batchTranslateText", +"request": { +"$ref": "BatchTranslateTextRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-translation" +] +}, +"detectLanguage": { +"description": "Detects the language of text within a request.", +"flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}:detectLanguage", +"httpMethod": "POST", +"id": "translate.projects.locations.detectLanguage", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. Project or location to make a call. Must refer to a caller's project. Format: `projects/{project-number-or-id}/locations/{location-id}` or `projects/{project-number-or-id}`. For global calls, use `projects/{project-number-or-id}/locations/global` or `projects/{project-number-or-id}`. Only models within the same region (has same location-id) can be used. Otherwise an INVALID_ARGUMENT (400) error is returned.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3beta1/{+parent}:detectLanguage", +"request": { +"$ref": "DetectLanguageRequest" +}, +"response": { +"$ref": "DetectLanguageResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-translation" +] +}, +"get": { +"description": "Gets information about a location.", +"flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}", +"httpMethod": "GET", +"id": "translate.projects.locations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Resource name for the location.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3beta1/{+name}", +"response": { +"$ref": "Location" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-translation" +] +}, +"getSupportedLanguages": { +"description": "Returns a list of supported languages for translation.", +"flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/supportedLanguages", +"httpMethod": "GET", +"id": "translate.projects.locations.getSupportedLanguages", +"parameterOrder": [ +"parent" +], +"parameters": { +"displayLanguageCode": { +"description": "Optional. The language to use to return localized, human readable names of supported languages. If missing, then display names are not returned in a response.", +"location": "query", +"type": "string" +}, +"model": { +"description": "Optional. Get supported languages of this model. The format depends on model type: - AutoML Translation models: `projects/{project-number-or-id}/locations/{location-id}/models/{model-id}` - General (built-in) models: `projects/{project-number-or-id}/locations/{location-id}/models/general/nmt`, Returns languages supported by the specified model. If missing, we get supported languages of Google general NMT model.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. Project or location to make a call. Must refer to a caller's project. Format: `projects/{project-number-or-id}` or `projects/{project-number-or-id}/locations/{location-id}`. For global calls, use `projects/{project-number-or-id}/locations/global` or `projects/{project-number-or-id}`. Non-global location is required for AutoML models. Only models within the same region (have same location-id) can be used, otherwise an INVALID_ARGUMENT (400) error is returned.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3beta1/{+parent}/supportedLanguages", +"response": { +"$ref": "SupportedLanguages" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-translation" +] +}, +"list": { +"description": "Lists information about the supported locations for this service. This method can be called in two ways: * **List all public locations:** Use the path `GET /v1/locations`. * **List project-visible locations:** Use the path `GET /v1/projects/{project_id}/locations`. This may include public locations as well as private or other locations specifically visible to the project.", +"flatPath": "v3beta1/projects/{projectsId}/locations", +"httpMethod": "GET", +"id": "translate.projects.locations.list", +"parameterOrder": [ +"name" +], +"parameters": { +"extraLocationTypes": { +"description": "Optional. Do not use this field. It is unsupported and is ignored unless explicitly documented otherwise. This is primarily for internal usage.", +"location": "query", +"repeated": true, +"type": "string" +}, +"filter": { +"description": "A filter to narrow down results to a preferred subset. The filtering language accepts strings like `\"displayName=tokyo\"`, and is documented in more detail in [AIP-160](https://google.aip.dev/160).", +"location": "query", +"type": "string" +}, +"name": { +"description": "The resource that owns the locations collection, if applicable.", +"location": "path", +"pattern": "^projects/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The maximum number of results to return. If not set, the service selects a default.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A page token received from the `next_page_token` field in the response. Send that page token to receive the subsequent page.", +"location": "query", +"type": "string" +} +}, +"path": "v3beta1/{+name}/locations", +"response": { +"$ref": "ListLocationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-translation" +] +}, +"refineText": { +"description": "Refines the input translated text to improve the quality.", +"flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}:refineText", +"httpMethod": "POST", +"id": "translate.projects.locations.refineText", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. Project or location to make a call. Must refer to a caller's project. Format: `projects/{project-number-or-id}/locations/{location-id}`. For global calls, use `projects/{project-number-or-id}/locations/global` or `projects/{project-number-or-id}`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3beta1/{+parent}:refineText", +"request": { +"$ref": "RefineTextRequest" +}, +"response": { +"$ref": "RefineTextResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-translation" +] +}, +"translateDocument": { +"description": "Translates documents in synchronous mode.", +"flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}:translateDocument", +"httpMethod": "POST", +"id": "translate.projects.locations.translateDocument", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. Location to make a regional call. Format: `projects/{project-number-or-id}/locations/{location-id}`. For global calls, use `projects/{project-number-or-id}/locations/global`. Non-global location is required for requests using AutoML models or custom glossaries. Models and glossaries must be within the same region (have the same location-id), otherwise an INVALID_ARGUMENT (400) error is returned.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3beta1/{+parent}:translateDocument", +"request": { +"$ref": "TranslateDocumentRequest" +}, +"response": { +"$ref": "TranslateDocumentResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-translation" +] +}, +"translateText": { +"description": "Translates input text and returns translated text.", +"flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}:translateText", +"httpMethod": "POST", +"id": "translate.projects.locations.translateText", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. Project or location to make a call. Must refer to a caller's project. Format: `projects/{project-number-or-id}` or `projects/{project-number-or-id}/locations/{location-id}`. For global calls, use `projects/{project-number-or-id}/locations/global` or `projects/{project-number-or-id}`. Non-global location is required for requests using AutoML models or custom glossaries. Models and glossaries must be within the same region (have same location-id), otherwise an INVALID_ARGUMENT (400) error is returned.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3beta1/{+parent}:translateText", +"request": { +"$ref": "TranslateTextRequest" +}, +"response": { +"$ref": "TranslateTextResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-translation" +] +} +}, +"resources": { +"glossaries": { +"methods": { +"create": { +"description": "Creates a glossary and returns the long-running operation. Returns NOT_FOUND, if the project doesn't exist.", +"flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/glossaries", +"httpMethod": "POST", +"id": "translate.projects.locations.glossaries.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The project name.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3beta1/{+parent}/glossaries", +"request": { +"$ref": "Glossary" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-translation" +] +}, +"delete": { +"description": "Deletes a glossary, or cancels glossary construction if the glossary isn't created yet. Returns NOT_FOUND, if the glossary doesn't exist.", +"flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/glossaries/{glossariesId}", +"httpMethod": "DELETE", +"id": "translate.projects.locations.glossaries.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the glossary to delete.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/glossaries/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3beta1/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-translation" +] +}, +"get": { +"description": "Gets a glossary. Returns NOT_FOUND, if the glossary doesn't exist.", +"flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/glossaries/{glossariesId}", +"httpMethod": "GET", +"id": "translate.projects.locations.glossaries.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the glossary to retrieve.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/glossaries/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3beta1/{+name}", +"response": { +"$ref": "Glossary" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-translation" +] +}, +"list": { +"description": "Lists glossaries in a project. Returns NOT_FOUND, if the project doesn't exist.", +"flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/glossaries", +"httpMethod": "GET", +"id": "translate.projects.locations.glossaries.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Optional. Filter specifying constraints of a list operation. Specify the constraint by the format of \"key=value\", where key must be \"src\" or \"tgt\", and the value must be a valid language code. For multiple restrictions, concatenate them by \"AND\" (uppercase only), such as: \"src=en-US AND tgt=zh-CN\". Notice that the exact match is used here, which means using 'en-US' and 'en' can lead to different results, which depends on the language code you used when you create the glossary. For the unidirectional glossaries, the \"src\" and \"tgt\" add restrictions on the source and target language code separately. For the equivalent term set glossaries, the \"src\" and/or \"tgt\" add restrictions on the term set. For example: \"src=en-US AND tgt=zh-CN\" will only pick the unidirectional glossaries which exactly match the source language code as \"en-US\" and the target language code \"zh-CN\", but all equivalent term set glossaries which contain \"en-US\" and \"zh-CN\" in their language set will be picked. If missing, no filtering is performed.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Optional. Requested page size. The server may return fewer glossaries than requested. If unspecified, the server picks an appropriate default.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. A token identifying a page of results the server should return. Typically, this is the value of [ListGlossariesResponse.next_page_token] returned from the previous call to `ListGlossaries` method. The first page is returned if `page_token`is empty or missing.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The name of the project from which to list all of the glossaries.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3beta1/{+parent}/glossaries", +"response": { +"$ref": "ListGlossariesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-translation" +] +} +} +}, +"operations": { +"methods": { +"cancel": { +"description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.", +"flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}:cancel", +"httpMethod": "POST", +"id": "translate.projects.locations.operations.cancel", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be cancelled.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3beta1/{+name}:cancel", +"request": { +"$ref": "CancelOperationRequest" +}, +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-translation" +] +}, +"delete": { +"description": "Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.", +"flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}", +"httpMethod": "DELETE", +"id": "translate.projects.locations.operations.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be deleted.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3beta1/{+name}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-translation" +] +}, +"get": { +"description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", +"flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}", +"httpMethod": "GET", +"id": "translate.projects.locations.operations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3beta1/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-translation" +] +}, +"list": { +"description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.", +"flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/operations", +"httpMethod": "GET", +"id": "translate.projects.locations.operations.list", +"parameterOrder": [ +"name" +], +"parameters": { +"filter": { +"description": "The standard list filter.", +"location": "query", +"type": "string" +}, +"name": { +"description": "The name of the operation's parent resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The standard list page size.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The standard list page token.", +"location": "query", +"type": "string" +}, +"returnPartialSuccess": { +"description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `\"projects/example/locations/-\"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", +"location": "query", +"type": "boolean" +} +}, +"path": "v3beta1/{+name}/operations", +"response": { +"$ref": "ListOperationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-translation" +] +}, +"wait": { +"description": "Waits until the specified long-running operation is done or reaches at most a specified timeout, returning the latest state. If the operation is already done, the latest state is immediately returned. If the timeout specified is greater than the default HTTP/RPC timeout, the HTTP/RPC timeout is used. If the server does not support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Note that this method is on a best-effort basis. It may return the latest state before the specified timeout (including immediately), meaning even an immediate response is no guarantee that the operation is done.", +"flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}:wait", +"httpMethod": "POST", +"id": "translate.projects.locations.operations.wait", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to wait on.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3beta1/{+name}:wait", +"request": { +"$ref": "WaitOperationRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-translation" +] +} +} +} +} +} +} +} +}, +"revision": "20260128", +"rootUrl": "https://translation.googleapis.com/", +"schemas": { +"BatchDocumentInputConfig": { +"description": "Input configuration for BatchTranslateDocument request.", +"id": "BatchDocumentInputConfig", +"properties": { +"gcsSource": { +"$ref": "GcsSource", +"description": "Google Cloud Storage location for the source input. This can be a single file (for example, `gs://translation-test/input.docx`) or a wildcard (for example, `gs://translation-test/*`). File mime type is determined based on extension. Supported mime type includes: - `pdf`, application/pdf - `docx`, application/vnd.openxmlformats-officedocument.wordprocessingml.document - `pptx`, application/vnd.openxmlformats-officedocument.presentationml.presentation - `xlsx`, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet The max file size to support for `.docx`, `.pptx` and `.xlsx` is 100MB. The max file size to support for `.pdf` is 1GB and the max page limit is 1000 pages. The max file size to support for all input documents is 1GB." +} +}, +"type": "object" +}, +"BatchDocumentOutputConfig": { +"description": "Output configuration for BatchTranslateDocument request.", +"id": "BatchDocumentOutputConfig", +"properties": { +"gcsDestination": { +"$ref": "GcsDestination", +"description": "Google Cloud Storage destination for output content. For every single input document (for example, gs://a/b/c.[extension]), we generate at most 2 * n output files. (n is the # of target_language_codes in the BatchTranslateDocumentRequest). While the input documents are being processed, we write/update an index file `index.csv` under `gcs_destination.output_uri_prefix` (for example, gs://translation_output/index.csv) The index file is generated/updated as new files are being translated. The format is: input_document,target_language_code,translation_output,error_output, glossary_translation_output,glossary_error_output `input_document` is one file we matched using gcs_source.input_uri. `target_language_code` is provided in the request. `translation_output` contains the translations. (details provided below) `error_output` contains the error message during processing of the file. Both translations_file and errors_file could be empty strings if we have no content to output. `glossary_translation_output` and `glossary_error_output` are the translated output/error when we apply glossaries. They could also be empty if we have no content to output. Once a row is present in index.csv, the input/output matching never changes. Callers should also expect all the content in input_file are processed and ready to be consumed (that is, no partial output file is written). Since index.csv will be keeping updated during the process, please make sure there is no custom retention policy applied on the output bucket that may avoid file updating. (https://cloud.google.com/storage/docs/bucket-lock#retention-policy) The naming format of translation output files follows (for target language code [trg]): `translation_output`: `gs://translation_output/a_b_c_[trg]_translation.[extension]` `glossary_translation_output`: `gs://translation_test/a_b_c_[trg]_glossary_translation.[extension]`. The output document will maintain the same file format as the input document. The naming format of error output files follows (for target language code [trg]): `error_output`: `gs://translation_test/a_b_c_[trg]_errors.txt` `glossary_error_output`: `gs://translation_test/a_b_c_[trg]_glossary_translation.txt` The error output is a txt file containing error details." +} +}, +"type": "object" +}, +"BatchTranslateDocumentRequest": { +"description": "The BatchTranslateDocument request.", +"id": "BatchTranslateDocumentRequest", +"properties": { +"customizedAttribution": { +"description": "Optional. This flag is to support user customized attribution. If not provided, the default is `Machine Translated by Google`. Customized attribution should follow rules in https://cloud.google.com/translate/attribution#attribution_and_logos", +"type": "string" +}, +"enableRotationCorrection": { +"description": "Optional. If true, enable auto rotation correction in DVS.", +"type": "boolean" +}, +"enableShadowRemovalNativePdf": { +"description": "Optional. If true, use the text removal server to remove the shadow text on background image for native pdf translation. Shadow removal feature can only be enabled when is_translate_native_pdf_only: false && pdf_native_only: false", +"type": "boolean" +}, +"formatConversions": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. File format conversion map to be applied to all input files. Map's key is the original mime_type. Map's value is the target mime_type of translated documents. Supported file format conversion includes: - `application/pdf` to `application/vnd.openxmlformats-officedocument.wordprocessingml.document` If nothing specified, output files will be in the same format as the original file.", +"type": "object" +}, +"glossaries": { +"additionalProperties": { +"$ref": "TranslateTextGlossaryConfig" +}, +"description": "Optional. Glossaries to be applied. It's keyed by target language code.", +"type": "object" +}, +"inputConfigs": { +"description": "Required. Input configurations. The total number of files matched should be <= 100. The total content size to translate should be <= 100M Unicode codepoints. The files must use UTF-8 encoding.", +"items": { +"$ref": "BatchDocumentInputConfig" +}, +"type": "array" +}, +"models": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. The models to use for translation. Map's key is target language code. Map's value is the model name. Value can be a built-in general model, or an AutoML Translation model. The value format depends on model type: - AutoML Translation models: `projects/{project-number-or-id}/locations/{location-id}/models/{model-id}` - General (built-in) models: `projects/{project-number-or-id}/locations/{location-id}/models/general/nmt`, If the map is empty or a specific model is not requested for a language pair, then default google model (nmt) is used.", +"type": "object" +}, +"outputConfig": { +"$ref": "BatchDocumentOutputConfig", +"description": "Required. Output configuration. If 2 input configs match to the same file (that is, same input path), we don't generate output for duplicate inputs." +}, +"pdfNativeOnly": { +"description": "Optional. If true, only native pdf pages will be translated.", +"type": "boolean" +}, +"sourceLanguageCode": { +"description": "Required. The BCP-47 language code of the input document if known, for example, \"en-US\" or \"sr-Latn\". Supported language codes are listed in [Language Support](https://cloud.google.com/translate/docs/languages).", +"type": "string" +}, +"targetLanguageCodes": { +"description": "Required. The BCP-47 language code to use for translation of the input document. Specify up to 10 language codes here. Supported language codes are listed in [Language Support](https://cloud.google.com/translate/docs/languages).", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"BatchTranslateTextRequest": { +"description": "The batch translation request.", +"id": "BatchTranslateTextRequest", +"properties": { +"glossaries": { +"additionalProperties": { +"$ref": "TranslateTextGlossaryConfig" +}, +"description": "Optional. Glossaries to be applied for translation. It's keyed by target language code.", +"type": "object" +}, +"inputConfigs": { +"description": "Required. Input configurations. The total number of files matched should be <= 100. The total content size should be <= 100M Unicode codepoints. The files must use UTF-8 encoding.", +"items": { +"$ref": "InputConfig" +}, +"type": "array" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. The labels with user-defined metadata for the request. Label keys and values can be no longer than 63 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. Label values are optional. Label keys must start with a letter. See https://cloud.google.com/translate/docs/labels for more information.", +"type": "object" +}, +"models": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. The models to use for translation. Map's key is target language code. Map's value is model name. Value can be a built-in general model, or an AutoML Translation model. The value format depends on model type: - AutoML Translation models: `projects/{project-number-or-id}/locations/{location-id}/models/{model-id}` - General (built-in) models: `projects/{project-number-or-id}/locations/{location-id}/models/general/nmt`, If the map is empty or a specific model is not requested for a language pair, then default google model (nmt) is used.", +"type": "object" +}, +"outputConfig": { +"$ref": "OutputConfig", +"description": "Required. Output configuration. If 2 input configs match to the same file (that is, same input path), we don't generate output for duplicate inputs." +}, +"sourceLanguageCode": { +"description": "Required. Source language code. Supported language codes are listed in [Language Support](https://cloud.google.com/translate/docs/languages).", +"type": "string" +}, +"targetLanguageCodes": { +"description": "Required. Specify up to 10 language codes here. Supported language codes are listed in [Language Support](https://cloud.google.com/translate/docs/languages).", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"CancelOperationRequest": { +"description": "The request message for Operations.CancelOperation.", +"id": "CancelOperationRequest", +"properties": {}, +"type": "object" +}, +"DetectLanguageRequest": { +"description": "The request message for language detection.", +"id": "DetectLanguageRequest", +"properties": { +"content": { +"description": "The content of the input stored as a string.", +"type": "string" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. The labels with user-defined metadata for the request. Label keys and values can be no longer than 63 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. Label values are optional. Label keys must start with a letter. See https://cloud.google.com/translate/docs/labels for more information.", +"type": "object" +}, +"mimeType": { +"description": "Optional. The format of the source text, for example, \"text/html\", \"text/plain\". If left blank, the MIME type defaults to \"text/html\".", +"type": "string" +}, +"model": { +"description": "Optional. The language detection model to be used. Format: `projects/{project-number-or-id}/locations/{location-id}/models/language-detection/{model-id}` Only one language detection model is currently supported: `projects/{project-number-or-id}/locations/{location-id}/models/language-detection/default`. If not specified, the default model is used.", +"type": "string" +} +}, +"type": "object" +}, +"DetectLanguageResponse": { +"description": "The response message for language detection.", +"id": "DetectLanguageResponse", +"properties": { +"languages": { +"description": "A list of detected languages sorted by detection confidence in descending order. The most probable language first.", +"items": { +"$ref": "DetectedLanguage" +}, +"type": "array" +} +}, +"type": "object" +}, +"DetectedLanguage": { +"description": "The response message for language detection.", +"id": "DetectedLanguage", +"properties": { +"confidence": { +"description": "The confidence of the detection result for this language.", +"format": "float", +"type": "number" +}, +"languageCode": { +"description": "The BCP-47 language code of source content in the request, detected automatically.", +"type": "string" +} +}, +"type": "object" +}, +"DocumentInputConfig": { +"description": "A document translation request input config.", +"id": "DocumentInputConfig", +"properties": { +"content": { +"description": "Document's content represented as a stream of bytes.", +"format": "byte", +"type": "string" +}, +"gcsSource": { +"$ref": "GcsSource", +"description": "Google Cloud Storage location. This must be a single file. For example: gs://example_bucket/example_file.pdf" +}, +"mimeType": { +"description": "Specifies the input document's mime_type. If not specified it will be determined using the file extension for gcs_source provided files. For a file provided through bytes content the mime_type must be provided. Currently supported mime types are: - application/pdf - application/vnd.openxmlformats-officedocument.wordprocessingml.document - application/vnd.openxmlformats-officedocument.presentationml.presentation - application/vnd.openxmlformats-officedocument.spreadsheetml.sheet", +"type": "string" +} +}, +"type": "object" +}, +"DocumentOutputConfig": { +"description": "A document translation request output config.", +"id": "DocumentOutputConfig", +"properties": { +"gcsDestination": { +"$ref": "GcsDestination", +"description": "Optional. Google Cloud Storage destination for the translation output, e.g., `gs://my_bucket/my_directory/`. The destination directory provided does not have to be empty, but the bucket must exist. If a file with the same name as the output file already exists in the destination an error will be returned. For a DocumentInputConfig.contents provided document, the output file will have the name \"output_[trg]_translations.[ext]\", where - [trg] corresponds to the translated file's language code, - [ext] corresponds to the translated file's extension according to its mime type. For a DocumentInputConfig.gcs_uri provided document, the output file will have a name according to its URI. For example: an input file with URI: `gs://a/b/c.[extension]` stored in a gcs_destination bucket with name \"my_bucket\" will have an output URI: `gs://my_bucket/a_b_c_[trg]_translations.[ext]`, where - [trg] corresponds to the translated file's language code, - [ext] corresponds to the translated file's extension according to its mime type. If the document was directly provided through the request, then the output document will have the format: `gs://my_bucket/translated_document_[trg]_translations.[ext]`, where - [trg] corresponds to the translated file's language code, - [ext] corresponds to the translated file's extension according to its mime type. If a glossary was provided, then the output URI for the glossary translation will be equal to the default output URI but have `glossary_translations` instead of `translations`. For the previous example, its glossary URI would be: `gs://my_bucket/a_b_c_[trg]_glossary_translations.[ext]`. Thus the max number of output files will be 2 (Translated document, Glossary translated document). Callers should expect no partial outputs. If there is any error during document translation, no output will be stored in the Cloud Storage bucket." +}, +"mimeType": { +"description": "Optional. Specifies the translated document's mime_type. If not specified, the translated file's mime type will be the same as the input file's mime type. Currently only support the output mime type to be the same as input mime type. - application/pdf - application/vnd.openxmlformats-officedocument.wordprocessingml.document - application/vnd.openxmlformats-officedocument.presentationml.presentation - application/vnd.openxmlformats-officedocument.spreadsheetml.sheet", +"type": "string" +} +}, +"type": "object" +}, +"DocumentTranslation": { +"description": "A translated document message.", +"id": "DocumentTranslation", +"properties": { +"byteStreamOutputs": { +"description": "The array of translated documents. It is expected to be size 1 for now. We may produce multiple translated documents in the future for other type of file formats.", +"items": { +"format": "byte", +"type": "string" +}, +"type": "array" +}, +"detectedLanguageCode": { +"description": "The detected language for the input document. If the user did not provide the source language for the input document, this field will have the language code automatically detected. If the source language was passed, auto-detection of the language does not occur and this field is empty.", +"type": "string" +}, +"mimeType": { +"description": "The translated document's mime type.", +"type": "string" +} +}, +"type": "object" +}, +"Empty": { +"description": "A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }", +"id": "Empty", +"properties": {}, +"type": "object" +}, +"GcsDestination": { +"description": "The Google Cloud Storage location for the output content.", +"id": "GcsDestination", +"properties": { +"outputUriPrefix": { +"description": "Required. There must be no files under 'output_uri_prefix'. 'output_uri_prefix' must end with \"/\" and start with \"gs://\", otherwise an INVALID_ARGUMENT (400) error is returned.", +"type": "string" +} +}, +"type": "object" +}, +"GcsSource": { +"description": "The Google Cloud Storage location for the input content.", +"id": "GcsSource", +"properties": { +"inputUri": { +"description": "Required. Source data URI. For example, `gs://my_bucket/my_object`.", +"type": "string" +} +}, +"type": "object" +}, +"Glossary": { +"description": "Represents a glossary built from user provided data.", +"id": "Glossary", +"properties": { +"endTime": { +"description": "Output only. When the glossary creation was finished.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"entryCount": { +"description": "Output only. The number of entries defined in the glossary.", +"format": "int32", +"readOnly": true, +"type": "integer" +}, +"inputConfig": { +"$ref": "GlossaryInputConfig", +"description": "Required. Provides examples to build the glossary from. Total glossary must not exceed 10M Unicode codepoints." +}, +"languageCodesSet": { +"$ref": "LanguageCodesSet", +"description": "Used with equivalent term set glossaries." +}, +"languagePair": { +"$ref": "LanguageCodePair", +"description": "Used with unidirectional glossaries." +}, +"name": { +"description": "Required. The resource name of the glossary. Glossary names have the form `projects/{project-number-or-id}/locations/{location-id}/glossaries/{glossary-id}`.", +"type": "string" +}, +"submitTime": { +"description": "Output only. When CreateGlossary was called.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GlossaryInputConfig": { +"description": "Input configuration for glossaries.", +"id": "GlossaryInputConfig", +"properties": { +"gcsSource": { +"$ref": "GcsSource", +"description": "Required. Google Cloud Storage location of glossary data. File format is determined based on the filename extension. API returns [google.rpc.Code.INVALID_ARGUMENT] for unsupported URI-s and file formats. Wildcards are not allowed. This must be a single file in one of the following formats: For unidirectional glossaries: - TSV/CSV (`.tsv`/`.csv`): 2 column file, tab- or comma-separated. The first column is source text. The second column is target text. The file must not contain headers. That is, the first row is data, not column names. - TMX (`.tmx`): TMX file with parallel data defining source/target term pairs. For equivalent term sets glossaries: - CSV (`.csv`): Multi-column CSV file defining equivalent glossary terms in multiple languages. See documentation for more information - [glossaries](https://cloud.google.com/translate/docs/advanced/glossary)." +} +}, +"type": "object" +}, +"InputConfig": { +"description": "Input configuration for BatchTranslateText request.", +"id": "InputConfig", +"properties": { +"gcsSource": { +"$ref": "GcsSource", +"description": "Required. Google Cloud Storage location for the source input. This can be a single file (for example, `gs://translation-test/input.tsv`) or a wildcard (for example, `gs://translation-test/*`). If a file extension is `.tsv`, it can contain either one or two columns. The first column (optional) is the id of the text request. If the first column is missing, we use the row number (0-based) from the input file as the ID in the output file. The second column is the actual text to be translated. We recommend each row be <= 10K Unicode codepoints, otherwise an error might be returned. Note that the input tsv must be RFC 4180 compliant. You could use https://github.com/Clever/csvlint to check potential formatting errors in your tsv file. csvlint --delimiter='\\t' your_input_file.tsv The other supported file extensions are `.txt` or `.html`, which is treated as a single large chunk of text." +}, +"mimeType": { +"description": "Optional. Can be \"text/plain\" or \"text/html\". For `.tsv`, \"text/html\" is used if mime_type is missing. For `.html`, this field must be \"text/html\" or empty. For `.txt`, this field must be \"text/plain\" or empty.", +"type": "string" +} +}, +"type": "object" +}, +"LanguageCodePair": { +"description": "Used with unidirectional glossaries.", +"id": "LanguageCodePair", +"properties": { +"sourceLanguageCode": { +"description": "Required. The BCP-47 language code of the input text, for example, \"en-US\". Expected to be an exact match for GlossaryTerm.language_code.", +"type": "string" +}, +"targetLanguageCode": { +"description": "Required. The BCP-47 language code for translation output, for example, \"zh-CN\". Expected to be an exact match for GlossaryTerm.language_code.", +"type": "string" +} +}, +"type": "object" +}, +"LanguageCodesSet": { +"description": "Used with equivalent term set glossaries.", +"id": "LanguageCodesSet", +"properties": { +"languageCodes": { +"description": "The BCP-47 language code(s) for terms defined in the glossary. All entries are unique. The list contains at least two entries. Expected to be an exact match for GlossaryTerm.language_code.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListGlossariesResponse": { +"description": "Response message for ListGlossaries.", +"id": "ListGlossariesResponse", +"properties": { +"glossaries": { +"description": "The list of glossaries for a project.", +"items": { +"$ref": "Glossary" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A token to retrieve a page of results. Pass this value in the [ListGlossariesRequest.page_token] field in the subsequent call to `ListGlossaries` method to retrieve the next page of results.", +"type": "string" +} +}, +"type": "object" +}, +"ListLocationsResponse": { +"description": "The response message for Locations.ListLocations.", +"id": "ListLocationsResponse", +"properties": { +"locations": { +"description": "A list of locations that matches the specified filter in the request.", +"items": { +"$ref": "Location" +}, +"type": "array" +}, +"nextPageToken": { +"description": "The standard List next-page token.", +"type": "string" +} +}, +"type": "object" +}, +"ListOperationsResponse": { +"description": "The response message for Operations.ListOperations.", +"id": "ListOperationsResponse", +"properties": { +"nextPageToken": { +"description": "The standard List next-page token.", +"type": "string" +}, +"operations": { +"description": "A list of operations that matches the specified filter in the request.", +"items": { +"$ref": "Operation" +}, +"type": "array" +}, +"unreachable": { +"description": "Unordered list. Unreachable resources. Populated when the request sets `ListOperationsRequest.return_partial_success` and reads across collections. For example, when attempting to list all resources across all supported locations.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"Location": { +"description": "A resource that represents a Google Cloud location.", +"id": "Location", +"properties": { +"displayName": { +"description": "The friendly name for this location, typically a nearby city name. For example, \"Tokyo\".", +"type": "string" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Cross-service attributes for the location. For example {\"cloud.googleapis.com/region\": \"us-east1\"}", +"type": "object" +}, +"locationId": { +"description": "The canonical id for this location. For example: `\"us-east1\"`.", +"type": "string" +}, +"metadata": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "Service-specific metadata. For example the available capacity at the given location.", +"type": "object" +}, +"name": { +"description": "Resource name for the location, which may vary between implementations. For example: `\"projects/example-project/locations/us-east1\"`", +"type": "string" +} +}, +"type": "object" +}, +"Operation": { +"description": "This resource represents a long-running operation that is the result of a network API call.", +"id": "Operation", +"properties": { +"done": { +"description": "If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.", +"type": "boolean" +}, +"error": { +"$ref": "Status", +"description": "The error result of the operation in case of failure or cancellation." +}, +"metadata": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.", +"type": "object" +}, +"name": { +"description": "The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.", +"type": "string" +}, +"response": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "The normal, successful response of the operation. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.", +"type": "object" +} +}, +"type": "object" +}, +"OutputConfig": { +"description": "Output configuration for BatchTranslateText request.", +"id": "OutputConfig", +"properties": { +"gcsDestination": { +"$ref": "GcsDestination", +"description": "Google Cloud Storage destination for output content. For every single input file (for example, gs://a/b/c.[extension]), we generate at most 2 * n output files. (n is the # of target_language_codes in the BatchTranslateTextRequest). Output files (tsv) generated are compliant with RFC 4180 except that record delimiters are '\\n' instead of '\\r\\n'. We don't provide any way to change record delimiters. While the input files are being processed, we write/update an index file 'index.csv' under 'output_uri_prefix' (for example, gs://translation-test/index.csv) The index file is generated/updated as new files are being translated. The format is: input_file,target_language_code,translations_file,errors_file, glossary_translations_file,glossary_errors_file input_file is one file we matched using gcs_source.input_uri. target_language_code is provided in the request. translations_file contains the translations. (details provided below) errors_file contains the errors during processing of the file. (details below). Both translations_file and errors_file could be empty strings if we have no content to output. glossary_translations_file and glossary_errors_file are always empty strings if the input_file is tsv. They could also be empty if we have no content to output. Once a row is present in index.csv, the input/output matching never changes. Callers should also expect all the content in input_file are processed and ready to be consumed (that is, no partial output file is written). Since index.csv will be keeping updated during the process, please make sure there is no custom retention policy applied on the output bucket that may avoid file updating. (https://cloud.google.com/storage/docs/bucket-lock#retention-policy) The format of translations_file (for target language code 'trg') is: `gs://translation_test/a_b_c_'trg'_translations.[extension]` If the input file extension is tsv, the output has the following columns: Column 1: ID of the request provided in the input, if it's not provided in the input, then the input row number is used (0-based). Column 2: source sentence. Column 3: translation without applying a glossary. Empty string if there is an error. Column 4 (only present if a glossary is provided in the request): translation after applying the glossary. Empty string if there is an error applying the glossary. Could be same string as column 3 if there is no glossary applied. If input file extension is a txt or html, the translation is directly written to the output file. If glossary is requested, a separate glossary_translations_file has format of `gs://translation_test/a_b_c_'trg'_glossary_translations.[extension]` The format of errors file (for target language code 'trg') is: `gs://translation_test/a_b_c_'trg'_errors.[extension]` If the input file extension is tsv, errors_file contains the following: Column 1: ID of the request provided in the input, if it's not provided in the input, then the input row number is used (0-based). Column 2: source sentence. Column 3: Error detail for the translation. Could be empty. Column 4 (only present if a glossary is provided in the request): Error when applying the glossary. If the input file extension is txt or html, glossary_error_file will be generated that contains error details. glossary_error_file has format of `gs://translation_test/a_b_c_'trg'_glossary_errors.[extension]`" +} +}, +"type": "object" +}, +"RefineTextRequest": { +"description": "Request message for RefineText.", +"id": "RefineTextRequest", +"properties": { +"refinementEntries": { +"description": "Required. The source texts and original translations in the source and target languages.", +"items": { +"$ref": "RefinementEntry" +}, +"type": "array" +}, +"sourceLanguageCode": { +"description": "Required. The BCP-47 language code of the source text in the request, for example, \"en-US\".", +"type": "string" +}, +"targetLanguageCode": { +"description": "Required. The BCP-47 language code for translation output, for example, \"zh-CN\".", +"type": "string" +} +}, +"type": "object" +}, +"RefineTextResponse": { +"description": "Response message for RefineText.", +"id": "RefineTextResponse", +"properties": { +"refinedTranslations": { +"description": "The refined translations obtained from the original translations.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"RefinementEntry": { +"description": "A single refinement entry for RefineTextRequest.", +"id": "RefinementEntry", +"properties": { +"originalTranslation": { +"description": "Required. The original translation of the source text.", +"type": "string" +}, +"sourceText": { +"description": "Required. The source text to be refined.", +"type": "string" +} +}, +"type": "object" +}, +"Status": { +"description": "The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors).", +"id": "Status", +"properties": { +"code": { +"description": "The status code, which should be an enum value of google.rpc.Code.", +"format": "int32", +"type": "integer" +}, +"details": { +"description": "A list of messages that carry the error details. There is a common set of message types for APIs to use.", +"items": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.", +"type": "string" +} +}, +"type": "object" +}, +"SupportedLanguage": { +"description": "A single supported language response corresponds to information related to one supported language.", +"id": "SupportedLanguage", +"properties": { +"displayName": { +"description": "Human readable name of the language localized in the display language specified in the request.", +"type": "string" +}, +"languageCode": { +"description": "Supported language code, generally consisting of its ISO 639-1 identifier, for example, 'en', 'ja'. In certain cases, BCP-47 codes including language and region identifiers are returned (for example, 'zh-TW' and 'zh-CN')", +"type": "string" +}, +"supportSource": { +"description": "Can be used as source language.", +"type": "boolean" +}, +"supportTarget": { +"description": "Can be used as target language.", +"type": "boolean" +} +}, +"type": "object" +}, +"SupportedLanguages": { +"description": "The response message for discovering supported languages.", +"id": "SupportedLanguages", +"properties": { +"languages": { +"description": "A list of supported language responses. This list contains an entry for each language the Translation API supports.", +"items": { +"$ref": "SupportedLanguage" +}, +"type": "array" +} +}, +"type": "object" +}, +"TranslateDocumentRequest": { +"description": "A document translation request.", +"id": "TranslateDocumentRequest", +"properties": { +"customizedAttribution": { +"description": "Optional. This flag is to support user customized attribution. If not provided, the default is `Machine Translated by Google`. Customized attribution should follow rules in https://cloud.google.com/translate/attribution#attribution_and_logos", +"type": "string" +}, +"documentInputConfig": { +"$ref": "DocumentInputConfig", +"description": "Required. Input configurations." +}, +"documentOutputConfig": { +"$ref": "DocumentOutputConfig", +"description": "Optional. Output configurations. Defines if the output file should be stored within Cloud Storage as well as the desired output format. If not provided the translated file will only be returned through a byte-stream and its output mime type will be the same as the input file's mime type." +}, +"enableRotationCorrection": { +"description": "Optional. If true, enable auto rotation correction in DVS.", +"type": "boolean" +}, +"enableShadowRemovalNativePdf": { +"description": "Optional. If true, use the text removal server to remove the shadow text on background image for native pdf translation. Shadow removal feature can only be enabled when is_translate_native_pdf_only: false && pdf_native_only: false", +"type": "boolean" +}, +"glossaryConfig": { +"$ref": "TranslateTextGlossaryConfig", +"description": "Optional. Glossary to be applied. The glossary must be within the same region (have the same location-id) as the model, otherwise an INVALID_ARGUMENT (400) error is returned." +}, +"isTranslateNativePdfOnly": { +"description": "Optional. is_translate_native_pdf_only field for external customers. If true, the page limit of online native pdf translation is 300 and only native pdf pages will be translated.", +"type": "boolean" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. The labels with user-defined metadata for the request. Label keys and values can be no longer than 63 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. Label values are optional. Label keys must start with a letter. See https://cloud.google.com/translate/docs/advanced/labels for more information.", +"type": "object" +}, +"model": { +"description": "Optional. The `model` type requested for this translation. The format depends on model type: - AutoML Translation models: `projects/{project-number-or-id}/locations/{location-id}/models/{model-id}` - General (built-in) models: `projects/{project-number-or-id}/locations/{location-id}/models/general/nmt`, If not provided, the default Google model (NMT) will be used for translation.", +"type": "string" +}, +"sourceLanguageCode": { +"description": "Optional. The BCP-47 language code of the input document if known, for example, \"en-US\" or \"sr-Latn\". Supported language codes are listed in [Language Support](https://cloud.google.com/translate/docs/languages). If the source language isn't specified, the API attempts to identify the source language automatically and returns the source language within the response. Source language must be specified if the request contains a glossary or a custom model.", +"type": "string" +}, +"targetLanguageCode": { +"description": "Required. The BCP-47 language code to use for translation of the input document, set to one of the language codes listed in [Language Support](https://cloud.google.com/translate/docs/languages).", +"type": "string" +} +}, +"type": "object" +}, +"TranslateDocumentResponse": { +"description": "A translated document response message.", +"id": "TranslateDocumentResponse", +"properties": { +"documentTranslation": { +"$ref": "DocumentTranslation", +"description": "Translated document." +}, +"glossaryConfig": { +"$ref": "TranslateTextGlossaryConfig", +"description": "The `glossary_config` used for this translation." +}, +"glossaryDocumentTranslation": { +"$ref": "DocumentTranslation", +"description": "The document's translation output if a glossary is provided in the request. This can be the same as [TranslateDocumentResponse.document_translation] if no glossary terms apply." +}, +"model": { +"description": "Only present when 'model' is present in the request. 'model' is normalized to have a project number. For example: If the 'model' field in TranslateDocumentRequest is: `projects/{project-id}/locations/{location-id}/models/general/nmt` then `model` here would be normalized to `projects/{project-number}/locations/{location-id}/models/general/nmt`.", +"type": "string" +} +}, +"type": "object" +}, +"TranslateTextGlossaryConfig": { +"description": "Configures which glossary should be used for a specific target language, and defines options for applying that glossary.", +"id": "TranslateTextGlossaryConfig", +"properties": { +"contextualTranslationEnabled": { +"description": "Optional. If set to true, the glossary will be used for contextual translation.", +"type": "boolean" +}, +"glossary": { +"description": "Required. Specifies the glossary used for this translation. Use this format: projects/*/locations/*/glossaries/*", +"type": "string" +}, +"ignoreCase": { +"description": "Optional. Indicates match is case-insensitive. Default value is false if missing.", +"type": "boolean" +} +}, +"type": "object" +}, +"TranslateTextRequest": { +"description": "The request message for synchronous translation.", +"id": "TranslateTextRequest", +"properties": { +"contents": { +"description": "Required. The content of the input in string format. We recommend the total content be less than 30k codepoints. The max length of this field is 1024. Use BatchTranslateText for larger text.", +"items": { +"type": "string" +}, +"type": "array" +}, +"glossaryConfig": { +"$ref": "TranslateTextGlossaryConfig", +"description": "Optional. Glossary to be applied. The glossary must be within the same region (have the same location-id) as the model, otherwise an INVALID_ARGUMENT (400) error is returned." +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. The labels with user-defined metadata for the request. Label keys and values can be no longer than 63 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. Label values are optional. Label keys must start with a letter. See https://cloud.google.com/translate/docs/labels for more information.", +"type": "object" +}, +"mimeType": { +"description": "Optional. The format of the source text, for example, \"text/html\", \"text/plain\". If left blank, the MIME type defaults to \"text/html\".", +"type": "string" +}, +"model": { +"description": "Optional. The `model` type requested for this translation. The format depends on model type: - AutoML Translation models: `projects/{project-number-or-id}/locations/{location-id}/models/{model-id}` - General (built-in) models: `projects/{project-number-or-id}/locations/{location-id}/models/general/nmt`, For global (non-regionalized) requests, use `location-id` `global`. For example, `projects/{project-number-or-id}/locations/global/models/general/nmt`. If not provided, the default Google model (NMT) will be used", +"type": "string" +}, +"sourceLanguageCode": { +"description": "Optional. The BCP-47 language code of the input text if known, for example, \"en-US\" or \"sr-Latn\". Supported language codes are listed in [Language Support](https://cloud.google.com/translate/docs/languages). If the source language isn't specified, the API attempts to identify the source language automatically and returns the source language within the response.", +"type": "string" +}, +"targetLanguageCode": { +"description": "Required. The BCP-47 language code to use for translation of the input text, set to one of the language codes listed in [Language Support](https://cloud.google.com/translate/docs/languages).", +"type": "string" +} +}, +"type": "object" +}, +"TranslateTextResponse": { +"id": "TranslateTextResponse", +"properties": { +"glossaryTranslations": { +"description": "Text translation responses if a glossary is provided in the request. This can be the same as `translations` if no terms apply. This field has the same length as `contents`.", +"items": { +"$ref": "Translation" +}, +"type": "array" +}, +"translations": { +"description": "Text translation responses with no glossary applied. This field has the same length as `contents`.", +"items": { +"$ref": "Translation" +}, +"type": "array" +} +}, +"type": "object" +}, +"Translation": { +"description": "A single translation response.", +"id": "Translation", +"properties": { +"detectedLanguageCode": { +"description": "The BCP-47 language code of source text in the initial request, detected automatically, if no source language was passed within the initial request. If the source language was passed, auto-detection of the language does not occur and this field is empty.", +"type": "string" +}, +"glossaryConfig": { +"$ref": "TranslateTextGlossaryConfig", +"description": "The `glossary_config` used for this translation." +}, +"model": { +"description": "Only present when `model` is present in the request. `model` here is normalized to have project number. For example: If the `model` requested in TranslationTextRequest is `projects/{project-id}/locations/{location-id}/models/general/nmt` then `model` here would be normalized to `projects/{project-number}/locations/{location-id}/models/general/nmt`.", +"type": "string" +}, +"translatedText": { +"description": "Text translated into the target language. If an error occurs during translation, this field might be excluded from the response.", +"type": "string" +} +}, +"type": "object" +}, +"WaitOperationRequest": { +"description": "The request message for Operations.WaitOperation.", +"id": "WaitOperationRequest", +"properties": { +"timeout": { +"description": "The maximum duration to wait before timing out. If left blank, the wait will be at most the time permitted by the underlying HTTP/RPC protocol. If RPC context deadline is also specified, the shorter one will be used.", +"format": "google-duration", +"type": "string" +} +}, +"type": "object" +} +}, +"servicePath": "", +"title": "Cloud Translation API", +"version": "v3beta1", +"version_module": true +} \ No newline at end of file diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/verifiedaccess.v1.json b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/verifiedaccess.v1.json new file mode 100644 index 0000000000000000000000000000000000000000..ec92cd89a12b09701282412bb1bdc1a1ce1b5a79 --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/verifiedaccess.v1.json @@ -0,0 +1,238 @@ +{ +"auth": { +"oauth2": { +"scopes": { +"https://www.googleapis.com/auth/verifiedaccess": { +"description": "Verify your enterprise credentials" +} +} +} +}, +"basePath": "", +"baseUrl": "https://verifiedaccess.googleapis.com/", +"batchPath": "batch", +"canonicalName": "verifiedaccess", +"description": "API for Verified Access chrome extension to provide credential verification for chrome devices connecting to an enterprise network", +"discoveryVersion": "v1", +"documentationLink": "https://developers.google.com/chrome/verified-access", +"fullyEncodeReservedExpansion": true, +"icons": { +"x16": "http://www.google.com/images/icons/product/search-16.gif", +"x32": "http://www.google.com/images/icons/product/search-32.gif" +}, +"id": "verifiedaccess:v1", +"kind": "discovery#restDescription", +"mtlsRootUrl": "https://verifiedaccess.mtls.googleapis.com/", +"name": "verifiedaccess", +"ownerDomain": "google.com", +"ownerName": "Google", +"parameters": { +"$.xgafv": { +"description": "V1 error format.", +"enum": [ +"1", +"2" +], +"enumDescriptions": [ +"v1 error format", +"v2 error format" +], +"location": "query", +"type": "string" +}, +"access_token": { +"description": "OAuth access token.", +"location": "query", +"type": "string" +}, +"alt": { +"default": "json", +"description": "Data format for response.", +"enum": [ +"json", +"media", +"proto" +], +"enumDescriptions": [ +"Responses with Content-Type of application/json", +"Media download with context-dependent Content-Type", +"Responses with Content-Type of application/x-protobuf" +], +"location": "query", +"type": "string" +}, +"callback": { +"description": "JSONP", +"location": "query", +"type": "string" +}, +"fields": { +"description": "Selector specifying which fields to include in a partial response.", +"location": "query", +"type": "string" +}, +"key": { +"description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", +"location": "query", +"type": "string" +}, +"oauth_token": { +"description": "OAuth 2.0 token for the current user.", +"location": "query", +"type": "string" +}, +"prettyPrint": { +"default": "true", +"description": "Returns response with indentations and line breaks.", +"location": "query", +"type": "boolean" +}, +"quotaUser": { +"description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.", +"location": "query", +"type": "string" +}, +"uploadType": { +"description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", +"location": "query", +"type": "string" +}, +"upload_protocol": { +"description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", +"location": "query", +"type": "string" +} +}, +"protocol": "rest", +"resources": { +"challenge": { +"methods": { +"create": { +"description": "CreateChallenge API", +"flatPath": "v1/challenge", +"httpMethod": "POST", +"id": "verifiedaccess.challenge.create", +"parameterOrder": [], +"parameters": {}, +"path": "v1/challenge", +"request": { +"$ref": "Empty" +}, +"response": { +"$ref": "Challenge" +}, +"scopes": [ +"https://www.googleapis.com/auth/verifiedaccess" +] +}, +"verify": { +"description": "VerifyChallengeResponse API", +"flatPath": "v1/challenge:verify", +"httpMethod": "POST", +"id": "verifiedaccess.challenge.verify", +"parameterOrder": [], +"parameters": {}, +"path": "v1/challenge:verify", +"request": { +"$ref": "VerifyChallengeResponseRequest" +}, +"response": { +"$ref": "VerifyChallengeResponseResult" +}, +"scopes": [ +"https://www.googleapis.com/auth/verifiedaccess" +] +} +} +} +}, +"revision": "20240702", +"rootUrl": "https://verifiedaccess.googleapis.com/", +"schemas": { +"Challenge": { +"description": "Result message for VerifiedAccess.CreateChallenge.", +"id": "Challenge", +"properties": { +"alternativeChallenge": { +"$ref": "SignedData", +"description": "Challenge generated with the old signing key (this will only be present during key rotation)" +}, +"challenge": { +"$ref": "SignedData", +"description": "Generated challenge" +} +}, +"type": "object" +}, +"Empty": { +"description": "A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }", +"id": "Empty", +"properties": {}, +"type": "object" +}, +"SignedData": { +"description": "The wrapper message of any data and its signature.", +"id": "SignedData", +"properties": { +"data": { +"description": "The data to be signed.", +"format": "byte", +"type": "string" +}, +"signature": { +"description": "The signature of the data field.", +"format": "byte", +"type": "string" +} +}, +"type": "object" +}, +"VerifyChallengeResponseRequest": { +"description": "signed ChallengeResponse", +"id": "VerifyChallengeResponseRequest", +"properties": { +"challengeResponse": { +"$ref": "SignedData", +"description": "The generated response to the challenge" +}, +"expectedIdentity": { +"description": "Service can optionally provide identity information about the device or user associated with the key. For an EMK, this value is the enrolled domain. For an EUK, this value is the user's email address. If present, this value will be checked against contents of the response, and verification will fail if there is no match.", +"type": "string" +} +}, +"type": "object" +}, +"VerifyChallengeResponseResult": { +"description": "Result message for VerifiedAccess.VerifyChallengeResponse.", +"id": "VerifyChallengeResponseResult", +"properties": { +"attestedDeviceId": { +"description": "Attested device id (ADID) of the device, read from the verified data.", +"type": "string" +}, +"deviceEnrollmentId": { +"description": "Device enrollment id is returned in this field (for the machine response only).", +"type": "string" +}, +"devicePermanentId": { +"description": "Device permanent id is returned in this field (for the machine response only).", +"type": "string" +}, +"signedPublicKeyAndChallenge": { +"description": "Certificate Signing Request (in the SPKAC format, base64 encoded) is returned in this field. This field will be set only if device has included CSR in its challenge response. (the option to include CSR is now available for both user and machine responses)", +"type": "string" +}, +"verificationOutput": { +"deprecated": true, +"description": "For EMCert check, device permanent id is returned here. For EUCert check, signed_public_key_and_challenge [base64 encoded] is returned if present, otherwise empty string is returned. This field is deprecated, please use device_permanent_id or signed_public_key_and_challenge fields.", +"type": "string" +} +}, +"type": "object" +} +}, +"servicePath": "", +"title": "Chrome Verified Access API", +"version": "v1", +"version_module": true +} \ No newline at end of file diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/versionhistory.v1.json b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/versionhistory.v1.json new file mode 100644 index 0000000000000000000000000000000000000000..ffd819b9a5694ec28aa29623a45064eaab74233c --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/versionhistory.v1.json @@ -0,0 +1,534 @@ +{ +"basePath": "", +"baseUrl": "https://versionhistory.googleapis.com/", +"batchPath": "batch", +"canonicalName": "Version History", +"description": "Version History API - Prod", +"discoveryVersion": "v1", +"documentationLink": "https://developer.chrome.com/docs/web-platform/versionhistory/guide", +"fullyEncodeReservedExpansion": true, +"icons": { +"x16": "http://www.google.com/images/icons/product/search-16.gif", +"x32": "http://www.google.com/images/icons/product/search-32.gif" +}, +"id": "versionhistory:v1", +"kind": "discovery#restDescription", +"mtlsRootUrl": "https://versionhistory.mtls.googleapis.com/", +"name": "versionhistory", +"ownerDomain": "google.com", +"ownerName": "Google", +"parameters": { +"$.xgafv": { +"description": "V1 error format.", +"enum": [ +"1", +"2" +], +"enumDescriptions": [ +"v1 error format", +"v2 error format" +], +"location": "query", +"type": "string" +}, +"access_token": { +"description": "OAuth access token.", +"location": "query", +"type": "string" +}, +"alt": { +"default": "json", +"description": "Data format for response.", +"enum": [ +"json", +"media", +"proto" +], +"enumDescriptions": [ +"Responses with Content-Type of application/json", +"Media download with context-dependent Content-Type", +"Responses with Content-Type of application/x-protobuf" +], +"location": "query", +"type": "string" +}, +"callback": { +"description": "JSONP", +"location": "query", +"type": "string" +}, +"fields": { +"description": "Selector specifying which fields to include in a partial response.", +"location": "query", +"type": "string" +}, +"key": { +"description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", +"location": "query", +"type": "string" +}, +"oauth_token": { +"description": "OAuth 2.0 token for the current user.", +"location": "query", +"type": "string" +}, +"prettyPrint": { +"default": "true", +"description": "Returns response with indentations and line breaks.", +"location": "query", +"type": "boolean" +}, +"quotaUser": { +"description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.", +"location": "query", +"type": "string" +}, +"uploadType": { +"description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", +"location": "query", +"type": "string" +}, +"upload_protocol": { +"description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", +"location": "query", +"type": "string" +} +}, +"protocol": "rest", +"resources": { +"platforms": { +"methods": { +"list": { +"description": "Returns list of platforms that are available for a given product. The resource \"product\" has no resource name in its name.", +"flatPath": "v1/{v1Id}/platforms", +"httpMethod": "GET", +"id": "versionhistory.platforms.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "Optional. Optional limit on the number of channels to include in the response. If unspecified, the server will pick an appropriate default.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. A page token, received from a previous `ListChannels` call. Provide this to retrieve the subsequent page.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The product, which owns this collection of platforms. Format: {product}", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/platforms", +"response": { +"$ref": "ListPlatformsResponse" +} +} +}, +"resources": { +"channels": { +"methods": { +"list": { +"description": "Returns list of channels that are available for a given platform.", +"flatPath": "v1/{v1Id}/platforms/{platformsId}/channels", +"httpMethod": "GET", +"id": "versionhistory.platforms.channels.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "Optional. Optional limit on the number of channels to include in the response. If unspecified, the server will pick an appropriate default.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. A page token, received from a previous `ListChannels` call. Provide this to retrieve the subsequent page.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The platform, which owns this collection of channels. Format: {product}/platforms/{platform}", +"location": "path", +"pattern": "^[^/]+/platforms/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/channels", +"response": { +"$ref": "ListChannelsResponse" +} +} +}, +"resources": { +"versions": { +"methods": { +"list": { +"description": "Returns list of version for the given platform/channel.", +"flatPath": "v1/{v1Id}/platforms/{platformsId}/channels/{channelsId}/versions", +"httpMethod": "GET", +"id": "versionhistory.platforms.channels.versions.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Optional. Filter string. Format is a comma separated list of All comma separated filter clauses are conjoined with a logical \"and\". Valid field_names are \"version\", \"name\", \"platform\", and \"channel\". Valid operators are \"<\", \"<=\", \"=\", \">=\", and \">\". Channel comparison is done by distance from stable. Ex) stable < beta, beta < dev, canary < canary_asan. Version comparison is done numerically. If version is not entirely written, the version will be appended with 0 in missing fields. Ex) version > 80 becoms version > 80.0.0.0 Name and platform are filtered by string comparison. Ex) \"...?filter=channel<=beta, version >= 80 Ex) \"...?filter=version > 80, version < 81", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "Optional. Ordering string. Valid order_by strings are \"version\", \"name\", \"platform\", and \"channel\". Optionally, you can append \" desc\" or \" asc\" to specify the sorting order. Multiple order_by strings can be used in a comma separated list. Ordering by channel will sort by distance from the stable channel (not alphabetically). A list of channels sorted in this order is: stable, beta, dev, canary, and canary_asan. Sorting by name may cause unexpected behaviour as it is a naive string sort. For example, 1.0.0.8 will be before 1.0.0.10 in descending order. If order_by is not specified the response will be sorted by version in descending order. Ex) \"...?order_by=version asc\" Ex) \"...?order_by=platform desc, channel, version\"", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Optional. Optional limit on the number of versions to include in the response. If unspecified, the server will pick an appropriate default.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. A page token, received from a previous `ListVersions` call. Provide this to retrieve the subsequent page.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The channel, which owns this collection of versions. Format: {product}/platforms/{platform}/channels/{channel}", +"location": "path", +"pattern": "^[^/]+/platforms/[^/]+/channels/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/versions", +"response": { +"$ref": "ListVersionsResponse" +} +} +}, +"resources": { +"releases": { +"methods": { +"list": { +"description": "Returns list of releases of the given version.", +"flatPath": "v1/{v1Id}/platforms/{platformsId}/channels/{channelsId}/versions/{versionsId}/releases", +"httpMethod": "GET", +"id": "versionhistory.platforms.channels.versions.releases.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Optional. Filter string. Format is a comma separated list of All comma separated filter clauses are conjoined with a logical \"and\". Valid field_names are \"version\", \"name\", \"platform\", \"channel\", \"fraction\" \"starttime\", and \"endtime\". Valid operators are \"<\", \"<=\", \"=\", \">=\", and \">\". Channel comparison is done by distance from stable. must be a valid channel when filtering by channel. Ex) stable < beta, beta < dev, canary < canary_asan. Version comparison is done numerically. Ex) 1.0.0.8 < 1.0.0.10. If version is not entirely written, the version will be appended with 0 for the missing fields. Ex) version > 80 becoms version > 80.0.0.0 When filtering by starttime or endtime, string must be in RFC 3339 date string format. Name and platform are filtered by string comparison. Ex) \"...?filter=channel<=beta, version >= 80 Ex) \"...?filter=version > 80, version < 81 Ex) \"...?filter=starttime>2020-01-01T00:00:00Z", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "Optional. Ordering string. Valid order_by strings are \"version\", \"name\", \"starttime\", \"endtime\", \"platform\", \"channel\", and \"fraction\". Optionally, you can append \"desc\" or \"asc\" to specify the sorting order. Multiple order_by strings can be used in a comma separated list. Ordering by channel will sort by distance from the stable channel (not alphabetically). A list of channels sorted in this order is: stable, beta, dev, canary, and canary_asan. Sorting by name may cause unexpected behaviour as it is a naive string sort. For example, 1.0.0.8 will be before 1.0.0.10 in descending order. If order_by is not specified the response will be sorted by starttime in descending order. Ex) \"...?order_by=starttime asc\" Ex) \"...?order_by=platform desc, channel, startime desc\"", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Optional. Optional limit on the number of releases to include in the response. If unspecified, the server will pick an appropriate default.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. A page token, received from a previous `ListReleases` call. Provide this to retrieve the subsequent page.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The version, which owns this collection of releases. Format: {product}/platforms/{platform}/channels/{channel}/versions/{version}", +"location": "path", +"pattern": "^[^/]+/platforms/[^/]+/channels/[^/]+/versions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/releases", +"response": { +"$ref": "ListReleasesResponse" +} +} +} +} +} +} +} +} +} +} +}, +"revision": "20250810", +"rootUrl": "https://versionhistory.googleapis.com/", +"schemas": { +"Channel": { +"description": "Each Channel is owned by a Platform and owns a collection of versions. Possible Channels are listed in the Channel enum below. Not all Channels are available for every Platform (e.g. CANARY does not exist for LINUX).", +"id": "Channel", +"properties": { +"channelType": { +"description": "Type of channel.", +"enum": [ +"CHANNEL_TYPE_UNSPECIFIED", +"STABLE", +"BETA", +"DEV", +"CANARY", +"CANARY_ASAN", +"ALL", +"EXTENDED", +"LTS", +"LTC" +], +"enumDescriptions": [ +"", +"The Stable channel.", +"The Beta channel.", +"The Dev channel.", +"The Canary channel.", +"The Canary channel for Chrome, with DCHECK/ASAN enabled.", +"", +"The Extended Stable channel for Chrome.", +"The Long-term support channel for ChromeOS.", +"The Long-term support candidate channel for ChromeOS." +], +"type": "string" +}, +"name": { +"description": "Channel name. Format is \"{product}/platforms/{platform}/channels/{channel}\"", +"type": "string" +} +}, +"type": "object" +}, +"Interval": { +"description": "Represents a time interval, encoded as a Timestamp start (inclusive) and a Timestamp end (exclusive). The start must be less than or equal to the end. When the start equals the end, the interval is empty (matches no time). When both start and end are unspecified, the interval matches any time.", +"id": "Interval", +"properties": { +"endTime": { +"description": "Optional. Exclusive end of the interval. If specified, a Timestamp matching this interval will have to be before the end.", +"format": "google-datetime", +"type": "string" +}, +"startTime": { +"description": "Optional. Inclusive start of the interval. If specified, a Timestamp matching this interval will have to be the same or after the start.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"ListChannelsResponse": { +"description": "Response message for ListChannels.", +"id": "ListChannelsResponse", +"properties": { +"channels": { +"description": "The list of channels.", +"items": { +"$ref": "Channel" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.", +"type": "string" +} +}, +"type": "object" +}, +"ListPlatformsResponse": { +"description": "Response message for ListPlatforms.", +"id": "ListPlatformsResponse", +"properties": { +"nextPageToken": { +"description": "A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.", +"type": "string" +}, +"platforms": { +"description": "The list of platforms.", +"items": { +"$ref": "Platform" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListReleasesResponse": { +"description": "Response message for ListReleases.", +"id": "ListReleasesResponse", +"properties": { +"nextPageToken": { +"description": "A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.", +"type": "string" +}, +"releases": { +"description": "The list of releases.", +"items": { +"$ref": "Release" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListVersionsResponse": { +"description": "Response message for ListVersions.", +"id": "ListVersionsResponse", +"properties": { +"nextPageToken": { +"description": "A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.", +"type": "string" +}, +"versions": { +"description": "The list of versions.", +"items": { +"$ref": "Version" +}, +"type": "array" +} +}, +"type": "object" +}, +"Platform": { +"description": "Each Platform is owned by a Product and owns a collection of channels. Available platforms are listed in Platform enum below. Not all Channels are available for every Platform (e.g. CANARY does not exist for LINUX).", +"id": "Platform", +"properties": { +"name": { +"description": "Platform name. Format is \"{product}/platforms/{platform}\"", +"type": "string" +}, +"platformType": { +"description": "Type of platform.", +"enum": [ +"PLATFORM_TYPE_UNSPECIFIED", +"WIN", +"WIN64", +"MAC", +"LINUX", +"ANDROID", +"WEBVIEW", +"IOS", +"ALL", +"MAC_ARM64", +"LACROS", +"LACROS_ARM32", +"CHROMEOS", +"LACROS_ARM64", +"FUCHSIA", +"WIN_ARM64" +], +"enumDescriptions": [ +"", +"Chrome Desktop for Windows (32-bit).", +"Chrome Desktop for Windows (x86_64).", +"Chrome Desktop for macOS (x86_64).", +"Chrome Desktop for Linux.", +"Chrome for Android.", +"WebView for Android.", +"Chrome for iOS.", +"", +"Chrome for macOS (ARM64).", +"ChromeOS Lacros (x86_64).", +"ChromeOS Lacros (ARM).", +"ChromeOS.", +"ChromeOS Lacros (ARM64).", +"Chrome for Fuchsia.", +"Chrome Desktop for Windows (ARM64)." +], +"type": "string" +} +}, +"type": "object" +}, +"Release": { +"description": "A Release is owned by a Version. A Release contains information about the release(s) of its parent version. This includes when the release began and ended, as well as what percentage it was released at. If the version is released again, or if the serving percentage changes, it will create another release under the version.", +"id": "Release", +"properties": { +"fraction": { +"description": "Rollout fraction. This fraction indicates the fraction of people that should receive this version in this release. If the fraction is not specified in ReleaseManager, the API will assume fraction is 1.", +"format": "double", +"type": "number" +}, +"fractionGroup": { +"description": "Rollout fraction group. Only fractions with the same fraction_group are statistically comparable: there may be non-fractional differences between different fraction groups.", +"format": "int64", +"type": "string" +}, +"name": { +"description": "Release name. Format is \"{product}/platforms/{platform}/channels/{channel}/versions/{version}/releases/{release}\"", +"type": "string" +}, +"pinnable": { +"description": "Whether or not the release was available for version pinning.", +"type": "boolean" +}, +"rolloutData": { +"description": "Rollout-related metadata. Some releases are part of one or more A/B rollouts. This field contains the names and data describing this release's role in any rollouts.", +"items": { +"$ref": "RolloutData" +}, +"type": "array" +}, +"serving": { +"$ref": "Interval", +"description": "Timestamp interval of when the release was live. If end_time is unspecified, the release is currently live." +}, +"version": { +"description": "String containing just the version number. e.g. \"84.0.4147.38\"", +"type": "string" +} +}, +"type": "object" +}, +"RolloutData": { +"description": "Rollout-related metadata for a release.", +"id": "RolloutData", +"properties": { +"rolloutName": { +"description": "The name of the rollout.", +"type": "string" +}, +"tag": { +"description": "Tags associated with a release's role in a rollout. Most rollouts will have at least one release with a \"rollout\" tag and another release with a \"control\" tag. Some rollouts may have additional named arms.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"Version": { +"description": "Each Version is owned by a Channel. A Version only displays the Version number (e.g. 84.0.4147.38). A Version owns a collection of releases.", +"id": "Version", +"properties": { +"name": { +"description": "Version name. Format is \"{product}/platforms/{platform}/channels/{channel}/versions/{version}\" e.g. \"chrome/platforms/win/channels/beta/versions/84.0.4147.38\"", +"type": "string" +}, +"version": { +"description": "String containing just the version number. e.g. \"84.0.4147.38\"", +"type": "string" +} +}, +"type": "object" +} +}, +"servicePath": "", +"title": "versionhistory.googleapis.com API", +"version": "v1", +"version_module": true +} \ No newline at end of file diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/videointelligence.v1.json b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/videointelligence.v1.json new file mode 100644 index 0000000000000000000000000000000000000000..a17318846ede2024a47dc03709787018c827b64f --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/videointelligence.v1.json @@ -0,0 +1,5182 @@ +{ +"auth": { +"oauth2": { +"scopes": { +"https://www.googleapis.com/auth/cloud-platform": { +"description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." +} +} +} +}, +"basePath": "", +"baseUrl": "https://videointelligence.googleapis.com/", +"batchPath": "batch", +"canonicalName": "Cloud Video Intelligence", +"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.", +"discoveryVersion": "v1", +"documentationLink": "https://cloud.google.com/video-intelligence/docs/", +"fullyEncodeReservedExpansion": true, +"icons": { +"x16": "http://www.google.com/images/icons/product/search-16.gif", +"x32": "http://www.google.com/images/icons/product/search-32.gif" +}, +"id": "videointelligence:v1", +"kind": "discovery#restDescription", +"mtlsRootUrl": "https://videointelligence.mtls.googleapis.com/", +"name": "videointelligence", +"ownerDomain": "google.com", +"ownerName": "Google", +"parameters": { +"$.xgafv": { +"description": "V1 error format.", +"enum": [ +"1", +"2" +], +"enumDescriptions": [ +"v1 error format", +"v2 error format" +], +"location": "query", +"type": "string" +}, +"access_token": { +"description": "OAuth access token.", +"location": "query", +"type": "string" +}, +"alt": { +"default": "json", +"description": "Data format for response.", +"enum": [ +"json", +"media", +"proto" +], +"enumDescriptions": [ +"Responses with Content-Type of application/json", +"Media download with context-dependent Content-Type", +"Responses with Content-Type of application/x-protobuf" +], +"location": "query", +"type": "string" +}, +"callback": { +"description": "JSONP", +"location": "query", +"type": "string" +}, +"fields": { +"description": "Selector specifying which fields to include in a partial response.", +"location": "query", +"type": "string" +}, +"key": { +"description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", +"location": "query", +"type": "string" +}, +"oauth_token": { +"description": "OAuth 2.0 token for the current user.", +"location": "query", +"type": "string" +}, +"prettyPrint": { +"default": "true", +"description": "Returns response with indentations and line breaks.", +"location": "query", +"type": "boolean" +}, +"quotaUser": { +"description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.", +"location": "query", +"type": "string" +}, +"uploadType": { +"description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", +"location": "query", +"type": "string" +}, +"upload_protocol": { +"description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", +"location": "query", +"type": "string" +} +}, +"protocol": "rest", +"resources": { +"operations": { +"resources": { +"projects": { +"resources": { +"locations": { +"resources": { +"operations": { +"methods": { +"cancel": { +"description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.", +"flatPath": "v1/operations/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}:cancel", +"httpMethod": "POST", +"id": "videointelligence.operations.projects.locations.operations.cancel", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be cancelled.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/operations/{+name}:cancel", +"response": { +"$ref": "GoogleProtobuf_Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.", +"flatPath": "v1/operations/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}", +"httpMethod": "DELETE", +"id": "videointelligence.operations.projects.locations.operations.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be deleted.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/operations/{+name}", +"response": { +"$ref": "GoogleProtobuf_Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", +"flatPath": "v1/operations/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}", +"httpMethod": "GET", +"id": "videointelligence.operations.projects.locations.operations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/operations/{+name}", +"response": { +"$ref": "GoogleLongrunning_Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +} +} +} +} +}, +"projects": { +"resources": { +"locations": { +"resources": { +"operations": { +"methods": { +"cancel": { +"description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}:cancel", +"httpMethod": "POST", +"id": "videointelligence.projects.locations.operations.cancel", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be cancelled.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:cancel", +"request": { +"$ref": "GoogleLongrunning_CancelOperationRequest" +}, +"response": { +"$ref": "GoogleProtobuf_Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}", +"httpMethod": "DELETE", +"id": "videointelligence.projects.locations.operations.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be deleted.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleProtobuf_Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}", +"httpMethod": "GET", +"id": "videointelligence.projects.locations.operations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleLongrunning_Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/operations", +"httpMethod": "GET", +"id": "videointelligence.projects.locations.operations.list", +"parameterOrder": [ +"name" +], +"parameters": { +"filter": { +"description": "The standard list filter.", +"location": "query", +"type": "string" +}, +"name": { +"description": "The name of the operation's parent resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The standard list page size.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The standard list page token.", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}/operations", +"response": { +"$ref": "GoogleLongrunning_ListOperationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +} +} +}, +"videos": { +"methods": { +"annotate": { +"description": "Performs asynchronous video annotation. Progress and results can be retrieved through the `google.longrunning.Operations` interface. `Operation.metadata` contains `AnnotateVideoProgress` (progress). `Operation.response` contains `AnnotateVideoResponse` (results).", +"flatPath": "v1/videos:annotate", +"httpMethod": "POST", +"id": "videointelligence.videos.annotate", +"parameterOrder": [], +"parameters": {}, +"path": "v1/videos:annotate", +"request": { +"$ref": "GoogleCloudVideointelligenceV1_AnnotateVideoRequest" +}, +"response": { +"$ref": "GoogleLongrunning_Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +}, +"revision": "20250724", +"rootUrl": "https://videointelligence.googleapis.com/", +"schemas": { +"GoogleCloudVideointelligenceV1_AnnotateVideoProgress": { +"description": "Video annotation progress. Included in the `metadata` field of the `Operation` returned by the `GetOperation` call of the `google::longrunning::Operations` service.", +"id": "GoogleCloudVideointelligenceV1_AnnotateVideoProgress", +"properties": { +"annotationProgress": { +"description": "Progress metadata for all videos specified in `AnnotateVideoRequest`.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1_VideoAnnotationProgress" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1_AnnotateVideoRequest": { +"description": "Video annotation request.", +"id": "GoogleCloudVideointelligenceV1_AnnotateVideoRequest", +"properties": { +"features": { +"description": "Required. Requested video annotation features.", +"items": { +"enum": [ +"FEATURE_UNSPECIFIED", +"LABEL_DETECTION", +"SHOT_CHANGE_DETECTION", +"EXPLICIT_CONTENT_DETECTION", +"FACE_DETECTION", +"SPEECH_TRANSCRIPTION", +"TEXT_DETECTION", +"OBJECT_TRACKING", +"LOGO_RECOGNITION", +"PERSON_DETECTION" +], +"enumDescriptions": [ +"Unspecified.", +"Label detection. Detect objects, such as dog or flower.", +"Shot change detection.", +"Explicit content detection.", +"Human face detection.", +"Speech transcription.", +"OCR text detection and tracking.", +"Object detection and tracking.", +"Logo detection, tracking, and recognition.", +"Person detection." +], +"type": "string" +}, +"type": "array" +}, +"inputContent": { +"description": "The video data bytes. If unset, the input video(s) should be specified via the `input_uri`. If set, `input_uri` must be unset.", +"format": "byte", +"type": "string" +}, +"inputUri": { +"description": "Input video location. Currently, only [Cloud Storage](https://cloud.google.com/storage/) URIs are supported. URIs must be specified in the following format: `gs://bucket-id/object-id` (other URI formats return google.rpc.Code.INVALID_ARGUMENT). For more information, see [Request URIs](https://cloud.google.com/storage/docs/request-endpoints). To identify multiple videos, a video URI may include wildcards in the `object-id`. Supported wildcards: '*' to match 0 or more characters; '?' to match 1 character. If unset, the input video should be embedded in the request as `input_content`. If set, `input_content` must be unset.", +"type": "string" +}, +"locationId": { +"description": "Optional. Cloud region where annotation should take place. Supported cloud regions are: `us-east1`, `us-west1`, `europe-west1`, `asia-east1`. If no region is specified, the region will be determined based on video file location.", +"type": "string" +}, +"outputUri": { +"description": "Optional. Location where the output (in JSON format) should be stored. Currently, only [Cloud Storage](https://cloud.google.com/storage/) URIs are supported. These must be specified in the following format: `gs://bucket-id/object-id` (other URI formats return google.rpc.Code.INVALID_ARGUMENT). For more information, see [Request URIs](https://cloud.google.com/storage/docs/request-endpoints).", +"type": "string" +}, +"videoContext": { +"$ref": "GoogleCloudVideointelligenceV1_VideoContext", +"description": "Additional video context and/or feature-specific parameters." +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1_AnnotateVideoResponse": { +"description": "Video annotation response. Included in the `response` field of the `Operation` returned by the `GetOperation` call of the `google::longrunning::Operations` service.", +"id": "GoogleCloudVideointelligenceV1_AnnotateVideoResponse", +"properties": { +"annotationResults": { +"description": "Annotation results for all videos specified in `AnnotateVideoRequest`.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1_VideoAnnotationResults" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1_DetectedAttribute": { +"description": "A generic detected attribute represented by name in string format.", +"id": "GoogleCloudVideointelligenceV1_DetectedAttribute", +"properties": { +"confidence": { +"description": "Detected attribute confidence. Range [0, 1].", +"format": "float", +"type": "number" +}, +"name": { +"description": "The name of the attribute, for example, glasses, dark_glasses, mouth_open. A full list of supported type names will be provided in the document.", +"type": "string" +}, +"value": { +"description": "Text value of the detection result. For example, the value for \"HairColor\" can be \"black\", \"blonde\", etc.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1_DetectedLandmark": { +"description": "A generic detected landmark represented by name in string format and a 2D location.", +"id": "GoogleCloudVideointelligenceV1_DetectedLandmark", +"properties": { +"confidence": { +"description": "The confidence score of the detected landmark. Range [0, 1].", +"format": "float", +"type": "number" +}, +"name": { +"description": "The name of this landmark, for example, left_hand, right_shoulder.", +"type": "string" +}, +"point": { +"$ref": "GoogleCloudVideointelligenceV1_NormalizedVertex", +"description": "The 2D point of the detected landmark using the normalized image coordinate system. The normalized coordinates have the range from 0 to 1." +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1_Entity": { +"description": "Detected entity from video analysis.", +"id": "GoogleCloudVideointelligenceV1_Entity", +"properties": { +"description": { +"description": "Textual description, e.g., `Fixed-gear bicycle`.", +"type": "string" +}, +"entityId": { +"description": "Opaque entity ID. Some IDs may be available in [Google Knowledge Graph Search API](https://developers.google.com/knowledge-graph/).", +"type": "string" +}, +"languageCode": { +"description": "Language code for `description` in BCP-47 format.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1_ExplicitContentAnnotation": { +"description": "Explicit content annotation (based on per-frame visual signals only). If no explicit content has been detected in a frame, no annotations are present for that frame.", +"id": "GoogleCloudVideointelligenceV1_ExplicitContentAnnotation", +"properties": { +"frames": { +"description": "All video frames where explicit content was detected.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1_ExplicitContentFrame" +}, +"type": "array" +}, +"version": { +"description": "Feature version.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1_ExplicitContentDetectionConfig": { +"description": "Config for EXPLICIT_CONTENT_DETECTION.", +"id": "GoogleCloudVideointelligenceV1_ExplicitContentDetectionConfig", +"properties": { +"model": { +"description": "Model to use for explicit content detection. Supported values: \"builtin/stable\" (the default if unset) and \"builtin/latest\".", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1_ExplicitContentFrame": { +"description": "Video frame level annotation results for explicit content.", +"id": "GoogleCloudVideointelligenceV1_ExplicitContentFrame", +"properties": { +"pornographyLikelihood": { +"description": "Likelihood of the pornography content..", +"enum": [ +"LIKELIHOOD_UNSPECIFIED", +"VERY_UNLIKELY", +"UNLIKELY", +"POSSIBLE", +"LIKELY", +"VERY_LIKELY" +], +"enumDescriptions": [ +"Unspecified likelihood.", +"Very unlikely.", +"Unlikely.", +"Possible.", +"Likely.", +"Very likely." +], +"type": "string" +}, +"timeOffset": { +"description": "Time-offset, relative to the beginning of the video, corresponding to the video frame for this location.", +"format": "google-duration", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1_ExportToOutputUriStatus": { +"description": "Status of exporting annotation response to user specified `output_uri`.", +"id": "GoogleCloudVideointelligenceV1_ExportToOutputUriStatus", +"properties": { +"state": { +"description": "Output only. State of the `output_uri` export.", +"enum": [ +"STATE_UNSPECIFIED", +"SUCCEEDED", +"FAILED" +], +"enumDescriptions": [ +"Default value.", +"Export succeeded.", +"Export failed." +], +"readOnly": true, +"type": "string" +}, +"status": { +"$ref": "GoogleRpc_Status", +"description": "Output only. Only set if state is FAILED.", +"readOnly": true +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1_FaceAnnotation": { +"deprecated": true, +"description": "Deprecated. No effect.", +"id": "GoogleCloudVideointelligenceV1_FaceAnnotation", +"properties": { +"frames": { +"description": "All video frames where a face was detected.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1_FaceFrame" +}, +"type": "array" +}, +"segments": { +"description": "All video segments where a face was detected.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1_FaceSegment" +}, +"type": "array" +}, +"thumbnail": { +"description": "Thumbnail of a representative face view (in JPEG format).", +"format": "byte", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1_FaceDetectionAnnotation": { +"description": "Face detection annotation.", +"id": "GoogleCloudVideointelligenceV1_FaceDetectionAnnotation", +"properties": { +"thumbnail": { +"description": "The thumbnail of a person's face.", +"format": "byte", +"type": "string" +}, +"tracks": { +"description": "The face tracks with attributes.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1_Track" +}, +"type": "array" +}, +"version": { +"description": "Feature version.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1_FaceDetectionConfig": { +"description": "Config for FACE_DETECTION.", +"id": "GoogleCloudVideointelligenceV1_FaceDetectionConfig", +"properties": { +"includeAttributes": { +"description": "Whether to enable face attributes detection, such as glasses, dark_glasses, mouth_open etc. Ignored if 'include_bounding_boxes' is set to false.", +"type": "boolean" +}, +"includeBoundingBoxes": { +"description": "Whether bounding boxes are included in the face annotation output.", +"type": "boolean" +}, +"model": { +"description": "Model to use for face detection. Supported values: \"builtin/stable\" (the default if unset) and \"builtin/latest\".", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1_FaceFrame": { +"deprecated": true, +"description": "Deprecated. No effect.", +"id": "GoogleCloudVideointelligenceV1_FaceFrame", +"properties": { +"normalizedBoundingBoxes": { +"description": "Normalized Bounding boxes in a frame. There can be more than one boxes if the same face is detected in multiple locations within the current frame.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1_NormalizedBoundingBox" +}, +"type": "array" +}, +"timeOffset": { +"description": "Time-offset, relative to the beginning of the video, corresponding to the video frame for this location.", +"format": "google-duration", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1_FaceSegment": { +"description": "Video segment level annotation results for face detection.", +"id": "GoogleCloudVideointelligenceV1_FaceSegment", +"properties": { +"segment": { +"$ref": "GoogleCloudVideointelligenceV1_VideoSegment", +"description": "Video segment where a face was detected." +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1_LabelAnnotation": { +"description": "Label annotation.", +"id": "GoogleCloudVideointelligenceV1_LabelAnnotation", +"properties": { +"categoryEntities": { +"description": "Common categories for the detected entity. For example, when the label is `Terrier`, the category is likely `dog`. And in some cases there might be more than one categories e.g., `Terrier` could also be a `pet`.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1_Entity" +}, +"type": "array" +}, +"entity": { +"$ref": "GoogleCloudVideointelligenceV1_Entity", +"description": "Detected entity." +}, +"frames": { +"description": "All video frames where a label was detected.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1_LabelFrame" +}, +"type": "array" +}, +"segments": { +"description": "All video segments where a label was detected.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1_LabelSegment" +}, +"type": "array" +}, +"version": { +"description": "Feature version.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1_LabelDetectionConfig": { +"description": "Config for LABEL_DETECTION.", +"id": "GoogleCloudVideointelligenceV1_LabelDetectionConfig", +"properties": { +"frameConfidenceThreshold": { +"description": "The confidence threshold we perform filtering on the labels from frame-level detection. If not set, it is set to 0.4 by default. The valid range for this threshold is [0.1, 0.9]. Any value set outside of this range will be clipped. Note: For best results, follow the default threshold. We will update the default threshold everytime when we release a new model.", +"format": "float", +"type": "number" +}, +"labelDetectionMode": { +"description": "What labels should be detected with LABEL_DETECTION, in addition to video-level labels or segment-level labels. If unspecified, defaults to `SHOT_MODE`.", +"enum": [ +"LABEL_DETECTION_MODE_UNSPECIFIED", +"SHOT_MODE", +"FRAME_MODE", +"SHOT_AND_FRAME_MODE" +], +"enumDescriptions": [ +"Unspecified.", +"Detect shot-level labels.", +"Detect frame-level labels.", +"Detect both shot-level and frame-level labels." +], +"type": "string" +}, +"model": { +"description": "Model to use for label detection. Supported values: \"builtin/stable\" (the default if unset) and \"builtin/latest\".", +"type": "string" +}, +"stationaryCamera": { +"description": "Whether the video has been shot from a stationary (i.e., non-moving) camera. When set to true, might improve detection accuracy for moving objects. Should be used with `SHOT_AND_FRAME_MODE` enabled.", +"type": "boolean" +}, +"videoConfidenceThreshold": { +"description": "The confidence threshold we perform filtering on the labels from video-level and shot-level detections. If not set, it's set to 0.3 by default. The valid range for this threshold is [0.1, 0.9]. Any value set outside of this range will be clipped. Note: For best results, follow the default threshold. We will update the default threshold everytime when we release a new model.", +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1_LabelFrame": { +"description": "Video frame level annotation results for label detection.", +"id": "GoogleCloudVideointelligenceV1_LabelFrame", +"properties": { +"confidence": { +"description": "Confidence that the label is accurate. Range: [0, 1].", +"format": "float", +"type": "number" +}, +"timeOffset": { +"description": "Time-offset, relative to the beginning of the video, corresponding to the video frame for this location.", +"format": "google-duration", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1_LabelSegment": { +"description": "Video segment level annotation results for label detection.", +"id": "GoogleCloudVideointelligenceV1_LabelSegment", +"properties": { +"confidence": { +"description": "Confidence that the label is accurate. Range: [0, 1].", +"format": "float", +"type": "number" +}, +"segment": { +"$ref": "GoogleCloudVideointelligenceV1_VideoSegment", +"description": "Video segment where a label was detected." +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1_LogoRecognitionAnnotation": { +"description": "Annotation corresponding to one detected, tracked and recognized logo class.", +"id": "GoogleCloudVideointelligenceV1_LogoRecognitionAnnotation", +"properties": { +"entity": { +"$ref": "GoogleCloudVideointelligenceV1_Entity", +"description": "Entity category information to specify the logo class that all the logo tracks within this LogoRecognitionAnnotation are recognized as." +}, +"segments": { +"description": "All video segments where the recognized logo appears. There might be multiple instances of the same logo class appearing in one VideoSegment.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1_VideoSegment" +}, +"type": "array" +}, +"tracks": { +"description": "All logo tracks where the recognized logo appears. Each track corresponds to one logo instance appearing in consecutive frames.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1_Track" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1_NormalizedBoundingBox": { +"description": "Normalized bounding box. The normalized vertex coordinates are relative to the original image. Range: [0, 1].", +"id": "GoogleCloudVideointelligenceV1_NormalizedBoundingBox", +"properties": { +"bottom": { +"description": "Bottom Y coordinate.", +"format": "float", +"type": "number" +}, +"left": { +"description": "Left X coordinate.", +"format": "float", +"type": "number" +}, +"right": { +"description": "Right X coordinate.", +"format": "float", +"type": "number" +}, +"top": { +"description": "Top Y coordinate.", +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1_NormalizedBoundingPoly": { +"description": "Normalized bounding polygon for text (that might not be aligned with axis). Contains list of the corner points in clockwise order starting from top-left corner. For example, for a rectangular bounding box: When the text is horizontal it might look like: 0----1 | | 3----2 When it's clockwise rotated 180 degrees around the top-left corner it becomes: 2----3 | | 1----0 and the vertex order will still be (0, 1, 2, 3). Note that values can be less than 0, or greater than 1 due to trigonometric calculations for location of the box.", +"id": "GoogleCloudVideointelligenceV1_NormalizedBoundingPoly", +"properties": { +"vertices": { +"description": "Normalized vertices of the bounding polygon.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1_NormalizedVertex" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1_NormalizedVertex": { +"description": "A vertex represents a 2D point in the image. NOTE: the normalized vertex coordinates are relative to the original image and range from 0 to 1.", +"id": "GoogleCloudVideointelligenceV1_NormalizedVertex", +"properties": { +"x": { +"description": "X coordinate.", +"format": "float", +"type": "number" +}, +"y": { +"description": "Y coordinate.", +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1_ObjectTrackingAnnotation": { +"description": "Annotations corresponding to one tracked object.", +"id": "GoogleCloudVideointelligenceV1_ObjectTrackingAnnotation", +"properties": { +"confidence": { +"description": "Object category's labeling confidence of this track.", +"format": "float", +"type": "number" +}, +"entity": { +"$ref": "GoogleCloudVideointelligenceV1_Entity", +"description": "Entity to specify the object category that this track is labeled as." +}, +"frames": { +"description": "Information corresponding to all frames where this object track appears. Non-streaming batch mode: it may be one or multiple ObjectTrackingFrame messages in frames. Streaming mode: it can only be one ObjectTrackingFrame message in frames.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1_ObjectTrackingFrame" +}, +"type": "array" +}, +"segment": { +"$ref": "GoogleCloudVideointelligenceV1_VideoSegment", +"description": "Non-streaming batch mode ONLY. Each object track corresponds to one video segment where it appears." +}, +"trackId": { +"description": "Streaming mode ONLY. In streaming mode, we do not know the end time of a tracked object before it is completed. Hence, there is no VideoSegment info returned. Instead, we provide a unique identifiable integer track_id so that the customers can correlate the results of the ongoing ObjectTrackAnnotation of the same track_id over time.", +"format": "int64", +"type": "string" +}, +"version": { +"description": "Feature version.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1_ObjectTrackingConfig": { +"description": "Config for OBJECT_TRACKING.", +"id": "GoogleCloudVideointelligenceV1_ObjectTrackingConfig", +"properties": { +"model": { +"description": "Model to use for object tracking. Supported values: \"builtin/stable\" (the default if unset) and \"builtin/latest\".", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1_ObjectTrackingFrame": { +"description": "Video frame level annotations for object detection and tracking. This field stores per frame location, time offset, and confidence.", +"id": "GoogleCloudVideointelligenceV1_ObjectTrackingFrame", +"properties": { +"normalizedBoundingBox": { +"$ref": "GoogleCloudVideointelligenceV1_NormalizedBoundingBox", +"description": "The normalized bounding box location of this object track for the frame." +}, +"timeOffset": { +"description": "The timestamp of the frame in microseconds.", +"format": "google-duration", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1_PersonDetectionAnnotation": { +"description": "Person detection annotation per video.", +"id": "GoogleCloudVideointelligenceV1_PersonDetectionAnnotation", +"properties": { +"tracks": { +"description": "The detected tracks of a person.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1_Track" +}, +"type": "array" +}, +"version": { +"description": "Feature version.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1_PersonDetectionConfig": { +"description": "Config for PERSON_DETECTION.", +"id": "GoogleCloudVideointelligenceV1_PersonDetectionConfig", +"properties": { +"includeAttributes": { +"description": "Whether to enable person attributes detection, such as cloth color (black, blue, etc), type (coat, dress, etc), pattern (plain, floral, etc), hair, etc. Ignored if 'include_bounding_boxes' is set to false.", +"type": "boolean" +}, +"includeBoundingBoxes": { +"description": "Whether bounding boxes are included in the person detection annotation output.", +"type": "boolean" +}, +"includePoseLandmarks": { +"description": "Whether to enable pose landmarks detection. Ignored if 'include_bounding_boxes' is set to false.", +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1_ShotChangeDetectionConfig": { +"description": "Config for SHOT_CHANGE_DETECTION.", +"id": "GoogleCloudVideointelligenceV1_ShotChangeDetectionConfig", +"properties": { +"model": { +"description": "Model to use for shot change detection. Supported values: \"builtin/stable\" (the default if unset), \"builtin/latest\", and \"builtin/legacy\".", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1_SpeechContext": { +"description": "Provides \"hints\" to the speech recognizer to favor specific words and phrases in the results.", +"id": "GoogleCloudVideointelligenceV1_SpeechContext", +"properties": { +"phrases": { +"description": "Optional. A list of strings containing words and phrases \"hints\" so that the speech recognition is more likely to recognize them. This can be used to improve the accuracy for specific words and phrases, for example, if specific commands are typically spoken by the user. This can also be used to add additional words to the vocabulary of the recognizer. See [usage limits](https://cloud.google.com/speech/limits#content).", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1_SpeechRecognitionAlternative": { +"description": "Alternative hypotheses (a.k.a. n-best list).", +"id": "GoogleCloudVideointelligenceV1_SpeechRecognitionAlternative", +"properties": { +"confidence": { +"description": "Output only. The confidence estimate between 0.0 and 1.0. A higher number indicates an estimated greater likelihood that the recognized words are correct. This field is set only for the top alternative. This field is not guaranteed to be accurate and users should not rely on it to be always provided. The default of 0.0 is a sentinel value indicating `confidence` was not set.", +"format": "float", +"readOnly": true, +"type": "number" +}, +"transcript": { +"description": "Transcript text representing the words that the user spoke.", +"type": "string" +}, +"words": { +"description": "Output only. A list of word-specific information for each recognized word. Note: When `enable_speaker_diarization` is set to true, you will see all the words from the beginning of the audio.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1_WordInfo" +}, +"readOnly": true, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1_SpeechTranscription": { +"description": "A speech recognition result corresponding to a portion of the audio.", +"id": "GoogleCloudVideointelligenceV1_SpeechTranscription", +"properties": { +"alternatives": { +"description": "May contain one or more recognition hypotheses (up to the maximum specified in `max_alternatives`). These alternatives are ordered in terms of accuracy, with the top (first) alternative being the most probable, as ranked by the recognizer.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1_SpeechRecognitionAlternative" +}, +"type": "array" +}, +"languageCode": { +"description": "Output only. The [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag of the language in this result. This language code was detected to have the most likelihood of being spoken in the audio.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1_SpeechTranscriptionConfig": { +"description": "Config for SPEECH_TRANSCRIPTION.", +"id": "GoogleCloudVideointelligenceV1_SpeechTranscriptionConfig", +"properties": { +"audioTracks": { +"description": "Optional. For file formats, such as MXF or MKV, supporting multiple audio tracks, specify up to two tracks. Default: track 0.", +"items": { +"format": "int32", +"type": "integer" +}, +"type": "array" +}, +"diarizationSpeakerCount": { +"description": "Optional. If set, specifies the estimated number of speakers in the conversation. If not set, defaults to '2'. Ignored unless enable_speaker_diarization is set to true.", +"format": "int32", +"type": "integer" +}, +"enableAutomaticPunctuation": { +"description": "Optional. If 'true', adds punctuation to recognition result hypotheses. This feature is only available in select languages. Setting this for requests in other languages has no effect at all. The default 'false' value does not add punctuation to result hypotheses. NOTE: \"This is currently offered as an experimental service, complimentary to all users. In the future this may be exclusively available as a premium feature.\"", +"type": "boolean" +}, +"enableSpeakerDiarization": { +"description": "Optional. If 'true', enables speaker detection for each recognized word in the top alternative of the recognition result using a speaker_tag provided in the WordInfo. Note: When this is true, we send all the words from the beginning of the audio for the top alternative in every consecutive response. This is done in order to improve our speaker tags as our models learn to identify the speakers in the conversation over time.", +"type": "boolean" +}, +"enableWordConfidence": { +"description": "Optional. If `true`, the top result includes a list of words and the confidence for those words. If `false`, no word-level confidence information is returned. The default is `false`.", +"type": "boolean" +}, +"filterProfanity": { +"description": "Optional. If set to `true`, the server will attempt to filter out profanities, replacing all but the initial character in each filtered word with asterisks, e.g. \"f***\". If set to `false` or omitted, profanities won't be filtered out.", +"type": "boolean" +}, +"languageCode": { +"description": "Required. *Required* The language of the supplied audio as a [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag. Example: \"en-US\". See [Language Support](https://cloud.google.com/speech/docs/languages) for a list of the currently supported language codes.", +"type": "string" +}, +"maxAlternatives": { +"description": "Optional. Maximum number of recognition hypotheses to be returned. Specifically, the maximum number of `SpeechRecognitionAlternative` messages within each `SpeechTranscription`. The server may return fewer than `max_alternatives`. Valid values are `0`-`30`. A value of `0` or `1` will return a maximum of one. If omitted, will return a maximum of one.", +"format": "int32", +"type": "integer" +}, +"speechContexts": { +"description": "Optional. A means to provide context to assist the speech recognition.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1_SpeechContext" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1_TextAnnotation": { +"description": "Annotations related to one detected OCR text snippet. This will contain the corresponding text, confidence value, and frame level information for each detection.", +"id": "GoogleCloudVideointelligenceV1_TextAnnotation", +"properties": { +"segments": { +"description": "All video segments where OCR detected text appears.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1_TextSegment" +}, +"type": "array" +}, +"text": { +"description": "The detected text.", +"type": "string" +}, +"version": { +"description": "Feature version.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1_TextDetectionConfig": { +"description": "Config for TEXT_DETECTION.", +"id": "GoogleCloudVideointelligenceV1_TextDetectionConfig", +"properties": { +"languageHints": { +"description": "Language hint can be specified if the language to be detected is known a priori. It can increase the accuracy of the detection. Language hint must be language code in BCP-47 format. Automatic language detection is performed if no hint is provided.", +"items": { +"type": "string" +}, +"type": "array" +}, +"model": { +"description": "Model to use for text detection. Supported values: \"builtin/stable\" (the default if unset) and \"builtin/latest\".", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1_TextFrame": { +"description": "Video frame level annotation results for text annotation (OCR). Contains information regarding timestamp and bounding box locations for the frames containing detected OCR text snippets.", +"id": "GoogleCloudVideointelligenceV1_TextFrame", +"properties": { +"rotatedBoundingBox": { +"$ref": "GoogleCloudVideointelligenceV1_NormalizedBoundingPoly", +"description": "Bounding polygon of the detected text for this frame." +}, +"timeOffset": { +"description": "Timestamp of this frame.", +"format": "google-duration", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1_TextSegment": { +"description": "Video segment level annotation results for text detection.", +"id": "GoogleCloudVideointelligenceV1_TextSegment", +"properties": { +"confidence": { +"description": "Confidence for the track of detected text. It is calculated as the highest over all frames where OCR detected text appears.", +"format": "float", +"type": "number" +}, +"frames": { +"description": "Information related to the frames where OCR detected text appears.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1_TextFrame" +}, +"type": "array" +}, +"segment": { +"$ref": "GoogleCloudVideointelligenceV1_VideoSegment", +"description": "Video segment where a text snippet was detected." +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1_TimestampedObject": { +"description": "For tracking related features. An object at time_offset with attributes, and located with normalized_bounding_box.", +"id": "GoogleCloudVideointelligenceV1_TimestampedObject", +"properties": { +"attributes": { +"description": "Optional. The attributes of the object in the bounding box.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1_DetectedAttribute" +}, +"type": "array" +}, +"landmarks": { +"description": "Optional. The detected landmarks.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1_DetectedLandmark" +}, +"type": "array" +}, +"normalizedBoundingBox": { +"$ref": "GoogleCloudVideointelligenceV1_NormalizedBoundingBox", +"description": "Normalized Bounding box in a frame, where the object is located." +}, +"timeOffset": { +"description": "Time-offset, relative to the beginning of the video, corresponding to the video frame for this object.", +"format": "google-duration", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1_Track": { +"description": "A track of an object instance.", +"id": "GoogleCloudVideointelligenceV1_Track", +"properties": { +"attributes": { +"description": "Optional. Attributes in the track level.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1_DetectedAttribute" +}, +"type": "array" +}, +"confidence": { +"description": "Optional. The confidence score of the tracked object.", +"format": "float", +"type": "number" +}, +"segment": { +"$ref": "GoogleCloudVideointelligenceV1_VideoSegment", +"description": "Video segment of a track." +}, +"timestampedObjects": { +"description": "The object with timestamp and attributes per frame in the track.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1_TimestampedObject" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1_VideoAnnotationProgress": { +"description": "Annotation progress for a single video.", +"id": "GoogleCloudVideointelligenceV1_VideoAnnotationProgress", +"properties": { +"exportStatus": { +"$ref": "GoogleCloudVideointelligenceV1_ExportToOutputUriStatus", +"description": "Status of exporting annotation response to user specified `output_uri`. Only set if `output_uri` is set in the request." +}, +"feature": { +"description": "Specifies which feature is being tracked if the request contains more than one feature.", +"enum": [ +"FEATURE_UNSPECIFIED", +"LABEL_DETECTION", +"SHOT_CHANGE_DETECTION", +"EXPLICIT_CONTENT_DETECTION", +"FACE_DETECTION", +"SPEECH_TRANSCRIPTION", +"TEXT_DETECTION", +"OBJECT_TRACKING", +"LOGO_RECOGNITION", +"PERSON_DETECTION" +], +"enumDescriptions": [ +"Unspecified.", +"Label detection. Detect objects, such as dog or flower.", +"Shot change detection.", +"Explicit content detection.", +"Human face detection.", +"Speech transcription.", +"OCR text detection and tracking.", +"Object detection and tracking.", +"Logo detection, tracking, and recognition.", +"Person detection." +], +"type": "string" +}, +"inputUri": { +"description": "Video file location in [Cloud Storage](https://cloud.google.com/storage/).", +"type": "string" +}, +"progressPercent": { +"description": "Approximate percentage processed thus far. Guaranteed to be 100 when fully processed.", +"format": "int32", +"type": "integer" +}, +"segment": { +"$ref": "GoogleCloudVideointelligenceV1_VideoSegment", +"description": "Specifies which segment is being tracked if the request contains more than one segment." +}, +"startTime": { +"description": "Time when the request was received.", +"format": "google-datetime", +"type": "string" +}, +"updateTime": { +"description": "Time of the most recent update.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1_VideoAnnotationResults": { +"description": "Annotation results for a single video.", +"id": "GoogleCloudVideointelligenceV1_VideoAnnotationResults", +"properties": { +"error": { +"$ref": "GoogleRpc_Status", +"description": "If set, indicates an error. Note that for a single `AnnotateVideoRequest` some videos may succeed and some may fail." +}, +"explicitAnnotation": { +"$ref": "GoogleCloudVideointelligenceV1_ExplicitContentAnnotation", +"description": "Explicit content annotation." +}, +"faceAnnotations": { +"deprecated": true, +"description": "Deprecated. Please use `face_detection_annotations` instead.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1_FaceAnnotation" +}, +"type": "array" +}, +"faceDetectionAnnotations": { +"description": "Face detection annotations.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1_FaceDetectionAnnotation" +}, +"type": "array" +}, +"frameLabelAnnotations": { +"description": "Label annotations on frame level. There is exactly one element for each unique label.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1_LabelAnnotation" +}, +"type": "array" +}, +"inputUri": { +"description": "Video file location in [Cloud Storage](https://cloud.google.com/storage/).", +"type": "string" +}, +"logoRecognitionAnnotations": { +"description": "Annotations for list of logos detected, tracked and recognized in video.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1_LogoRecognitionAnnotation" +}, +"type": "array" +}, +"objectAnnotations": { +"description": "Annotations for list of objects detected and tracked in video.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1_ObjectTrackingAnnotation" +}, +"type": "array" +}, +"personDetectionAnnotations": { +"description": "Person detection annotations.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1_PersonDetectionAnnotation" +}, +"type": "array" +}, +"segment": { +"$ref": "GoogleCloudVideointelligenceV1_VideoSegment", +"description": "Video segment on which the annotation is run." +}, +"segmentLabelAnnotations": { +"description": "Topical label annotations on video level or user-specified segment level. There is exactly one element for each unique label.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1_LabelAnnotation" +}, +"type": "array" +}, +"segmentPresenceLabelAnnotations": { +"description": "Presence label annotations on video level or user-specified segment level. There is exactly one element for each unique label. Compared to the existing topical `segment_label_annotations`, this field presents more fine-grained, segment-level labels detected in video content and is made available only when the client sets `LabelDetectionConfig.model` to \"builtin/latest\" in the request.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1_LabelAnnotation" +}, +"type": "array" +}, +"shotAnnotations": { +"description": "Shot annotations. Each shot is represented as a video segment.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1_VideoSegment" +}, +"type": "array" +}, +"shotLabelAnnotations": { +"description": "Topical label annotations on shot level. There is exactly one element for each unique label.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1_LabelAnnotation" +}, +"type": "array" +}, +"shotPresenceLabelAnnotations": { +"description": "Presence label annotations on shot level. There is exactly one element for each unique label. Compared to the existing topical `shot_label_annotations`, this field presents more fine-grained, shot-level labels detected in video content and is made available only when the client sets `LabelDetectionConfig.model` to \"builtin/latest\" in the request.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1_LabelAnnotation" +}, +"type": "array" +}, +"speechTranscriptions": { +"description": "Speech transcription.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1_SpeechTranscription" +}, +"type": "array" +}, +"textAnnotations": { +"description": "OCR text detection and tracking. Annotations for list of detected text snippets. Each will have list of frame information associated with it.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1_TextAnnotation" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1_VideoContext": { +"description": "Video context and/or feature-specific parameters.", +"id": "GoogleCloudVideointelligenceV1_VideoContext", +"properties": { +"explicitContentDetectionConfig": { +"$ref": "GoogleCloudVideointelligenceV1_ExplicitContentDetectionConfig", +"description": "Config for EXPLICIT_CONTENT_DETECTION." +}, +"faceDetectionConfig": { +"$ref": "GoogleCloudVideointelligenceV1_FaceDetectionConfig", +"description": "Config for FACE_DETECTION." +}, +"labelDetectionConfig": { +"$ref": "GoogleCloudVideointelligenceV1_LabelDetectionConfig", +"description": "Config for LABEL_DETECTION." +}, +"objectTrackingConfig": { +"$ref": "GoogleCloudVideointelligenceV1_ObjectTrackingConfig", +"description": "Config for OBJECT_TRACKING." +}, +"personDetectionConfig": { +"$ref": "GoogleCloudVideointelligenceV1_PersonDetectionConfig", +"description": "Config for PERSON_DETECTION." +}, +"segments": { +"description": "Video segments to annotate. The segments may overlap and are not required to be contiguous or span the whole video. If unspecified, each video is treated as a single segment.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1_VideoSegment" +}, +"type": "array" +}, +"shotChangeDetectionConfig": { +"$ref": "GoogleCloudVideointelligenceV1_ShotChangeDetectionConfig", +"description": "Config for SHOT_CHANGE_DETECTION." +}, +"speechTranscriptionConfig": { +"$ref": "GoogleCloudVideointelligenceV1_SpeechTranscriptionConfig", +"description": "Config for SPEECH_TRANSCRIPTION." +}, +"textDetectionConfig": { +"$ref": "GoogleCloudVideointelligenceV1_TextDetectionConfig", +"description": "Config for TEXT_DETECTION." +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1_VideoSegment": { +"description": "Video segment.", +"id": "GoogleCloudVideointelligenceV1_VideoSegment", +"properties": { +"endTimeOffset": { +"description": "Time-offset, relative to the beginning of the video, corresponding to the end of the segment (inclusive).", +"format": "google-duration", +"type": "string" +}, +"startTimeOffset": { +"description": "Time-offset, relative to the beginning of the video, corresponding to the start of the segment (inclusive).", +"format": "google-duration", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1_WordInfo": { +"description": "Word-specific information for recognized words. Word information is only included in the response when certain request parameters are set, such as `enable_word_time_offsets`.", +"id": "GoogleCloudVideointelligenceV1_WordInfo", +"properties": { +"confidence": { +"description": "Output only. The confidence estimate between 0.0 and 1.0. A higher number indicates an estimated greater likelihood that the recognized words are correct. This field is set only for the top alternative. This field is not guaranteed to be accurate and users should not rely on it to be always provided. The default of 0.0 is a sentinel value indicating `confidence` was not set.", +"format": "float", +"readOnly": true, +"type": "number" +}, +"endTime": { +"description": "Time offset relative to the beginning of the audio, and corresponding to the end of the spoken word. This field is only set if `enable_word_time_offsets=true` and only in the top hypothesis. This is an experimental feature and the accuracy of the time offset can vary.", +"format": "google-duration", +"type": "string" +}, +"speakerTag": { +"description": "Output only. A distinct integer value is assigned for every speaker within the audio. This field specifies which one of those speakers was detected to have spoken this word. Value ranges from 1 up to diarization_speaker_count, and is only set if speaker diarization is enabled.", +"format": "int32", +"readOnly": true, +"type": "integer" +}, +"startTime": { +"description": "Time offset relative to the beginning of the audio, and corresponding to the start of the spoken word. This field is only set if `enable_word_time_offsets=true` and only in the top hypothesis. This is an experimental feature and the accuracy of the time offset can vary.", +"format": "google-duration", +"type": "string" +}, +"word": { +"description": "The word corresponding to this set of information.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1beta2_AnnotateVideoProgress": { +"description": "Video annotation progress. Included in the `metadata` field of the `Operation` returned by the `GetOperation` call of the `google::longrunning::Operations` service.", +"id": "GoogleCloudVideointelligenceV1beta2_AnnotateVideoProgress", +"properties": { +"annotationProgress": { +"description": "Progress metadata for all videos specified in `AnnotateVideoRequest`.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1beta2_VideoAnnotationProgress" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1beta2_AnnotateVideoResponse": { +"description": "Video annotation response. Included in the `response` field of the `Operation` returned by the `GetOperation` call of the `google::longrunning::Operations` service.", +"id": "GoogleCloudVideointelligenceV1beta2_AnnotateVideoResponse", +"properties": { +"annotationResults": { +"description": "Annotation results for all videos specified in `AnnotateVideoRequest`.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1beta2_VideoAnnotationResults" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1beta2_DetectedAttribute": { +"description": "A generic detected attribute represented by name in string format.", +"id": "GoogleCloudVideointelligenceV1beta2_DetectedAttribute", +"properties": { +"confidence": { +"description": "Detected attribute confidence. Range [0, 1].", +"format": "float", +"type": "number" +}, +"name": { +"description": "The name of the attribute, for example, glasses, dark_glasses, mouth_open. A full list of supported type names will be provided in the document.", +"type": "string" +}, +"value": { +"description": "Text value of the detection result. For example, the value for \"HairColor\" can be \"black\", \"blonde\", etc.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1beta2_DetectedLandmark": { +"description": "A generic detected landmark represented by name in string format and a 2D location.", +"id": "GoogleCloudVideointelligenceV1beta2_DetectedLandmark", +"properties": { +"confidence": { +"description": "The confidence score of the detected landmark. Range [0, 1].", +"format": "float", +"type": "number" +}, +"name": { +"description": "The name of this landmark, for example, left_hand, right_shoulder.", +"type": "string" +}, +"point": { +"$ref": "GoogleCloudVideointelligenceV1beta2_NormalizedVertex", +"description": "The 2D point of the detected landmark using the normalized image coordinate system. The normalized coordinates have the range from 0 to 1." +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1beta2_Entity": { +"description": "Detected entity from video analysis.", +"id": "GoogleCloudVideointelligenceV1beta2_Entity", +"properties": { +"description": { +"description": "Textual description, e.g., `Fixed-gear bicycle`.", +"type": "string" +}, +"entityId": { +"description": "Opaque entity ID. Some IDs may be available in [Google Knowledge Graph Search API](https://developers.google.com/knowledge-graph/).", +"type": "string" +}, +"languageCode": { +"description": "Language code for `description` in BCP-47 format.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1beta2_ExplicitContentAnnotation": { +"description": "Explicit content annotation (based on per-frame visual signals only). If no explicit content has been detected in a frame, no annotations are present for that frame.", +"id": "GoogleCloudVideointelligenceV1beta2_ExplicitContentAnnotation", +"properties": { +"frames": { +"description": "All video frames where explicit content was detected.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1beta2_ExplicitContentFrame" +}, +"type": "array" +}, +"version": { +"description": "Feature version.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1beta2_ExplicitContentFrame": { +"description": "Video frame level annotation results for explicit content.", +"id": "GoogleCloudVideointelligenceV1beta2_ExplicitContentFrame", +"properties": { +"pornographyLikelihood": { +"description": "Likelihood of the pornography content..", +"enum": [ +"LIKELIHOOD_UNSPECIFIED", +"VERY_UNLIKELY", +"UNLIKELY", +"POSSIBLE", +"LIKELY", +"VERY_LIKELY" +], +"enumDescriptions": [ +"Unspecified likelihood.", +"Very unlikely.", +"Unlikely.", +"Possible.", +"Likely.", +"Very likely." +], +"type": "string" +}, +"timeOffset": { +"description": "Time-offset, relative to the beginning of the video, corresponding to the video frame for this location.", +"format": "google-duration", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1beta2_ExportToOutputUriStatus": { +"description": "Status of exporting annotation response to user specified `output_uri`.", +"id": "GoogleCloudVideointelligenceV1beta2_ExportToOutputUriStatus", +"properties": { +"state": { +"description": "Output only. State of the `output_uri` export.", +"enum": [ +"STATE_UNSPECIFIED", +"SUCCEEDED", +"FAILED" +], +"enumDescriptions": [ +"Default value.", +"Export succeeded.", +"Export failed." +], +"readOnly": true, +"type": "string" +}, +"status": { +"$ref": "GoogleRpc_Status", +"description": "Output only. Only set if state is FAILED.", +"readOnly": true +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1beta2_FaceAnnotation": { +"deprecated": true, +"description": "Deprecated. No effect.", +"id": "GoogleCloudVideointelligenceV1beta2_FaceAnnotation", +"properties": { +"frames": { +"description": "All video frames where a face was detected.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1beta2_FaceFrame" +}, +"type": "array" +}, +"segments": { +"description": "All video segments where a face was detected.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1beta2_FaceSegment" +}, +"type": "array" +}, +"thumbnail": { +"description": "Thumbnail of a representative face view (in JPEG format).", +"format": "byte", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1beta2_FaceDetectionAnnotation": { +"description": "Face detection annotation.", +"id": "GoogleCloudVideointelligenceV1beta2_FaceDetectionAnnotation", +"properties": { +"thumbnail": { +"description": "The thumbnail of a person's face.", +"format": "byte", +"type": "string" +}, +"tracks": { +"description": "The face tracks with attributes.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1beta2_Track" +}, +"type": "array" +}, +"version": { +"description": "Feature version.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1beta2_FaceFrame": { +"deprecated": true, +"description": "Deprecated. No effect.", +"id": "GoogleCloudVideointelligenceV1beta2_FaceFrame", +"properties": { +"normalizedBoundingBoxes": { +"description": "Normalized Bounding boxes in a frame. There can be more than one boxes if the same face is detected in multiple locations within the current frame.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1beta2_NormalizedBoundingBox" +}, +"type": "array" +}, +"timeOffset": { +"description": "Time-offset, relative to the beginning of the video, corresponding to the video frame for this location.", +"format": "google-duration", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1beta2_FaceSegment": { +"description": "Video segment level annotation results for face detection.", +"id": "GoogleCloudVideointelligenceV1beta2_FaceSegment", +"properties": { +"segment": { +"$ref": "GoogleCloudVideointelligenceV1beta2_VideoSegment", +"description": "Video segment where a face was detected." +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1beta2_LabelAnnotation": { +"description": "Label annotation.", +"id": "GoogleCloudVideointelligenceV1beta2_LabelAnnotation", +"properties": { +"categoryEntities": { +"description": "Common categories for the detected entity. For example, when the label is `Terrier`, the category is likely `dog`. And in some cases there might be more than one categories e.g., `Terrier` could also be a `pet`.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1beta2_Entity" +}, +"type": "array" +}, +"entity": { +"$ref": "GoogleCloudVideointelligenceV1beta2_Entity", +"description": "Detected entity." +}, +"frames": { +"description": "All video frames where a label was detected.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1beta2_LabelFrame" +}, +"type": "array" +}, +"segments": { +"description": "All video segments where a label was detected.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1beta2_LabelSegment" +}, +"type": "array" +}, +"version": { +"description": "Feature version.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1beta2_LabelFrame": { +"description": "Video frame level annotation results for label detection.", +"id": "GoogleCloudVideointelligenceV1beta2_LabelFrame", +"properties": { +"confidence": { +"description": "Confidence that the label is accurate. Range: [0, 1].", +"format": "float", +"type": "number" +}, +"timeOffset": { +"description": "Time-offset, relative to the beginning of the video, corresponding to the video frame for this location.", +"format": "google-duration", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1beta2_LabelSegment": { +"description": "Video segment level annotation results for label detection.", +"id": "GoogleCloudVideointelligenceV1beta2_LabelSegment", +"properties": { +"confidence": { +"description": "Confidence that the label is accurate. Range: [0, 1].", +"format": "float", +"type": "number" +}, +"segment": { +"$ref": "GoogleCloudVideointelligenceV1beta2_VideoSegment", +"description": "Video segment where a label was detected." +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1beta2_LogoRecognitionAnnotation": { +"description": "Annotation corresponding to one detected, tracked and recognized logo class.", +"id": "GoogleCloudVideointelligenceV1beta2_LogoRecognitionAnnotation", +"properties": { +"entity": { +"$ref": "GoogleCloudVideointelligenceV1beta2_Entity", +"description": "Entity category information to specify the logo class that all the logo tracks within this LogoRecognitionAnnotation are recognized as." +}, +"segments": { +"description": "All video segments where the recognized logo appears. There might be multiple instances of the same logo class appearing in one VideoSegment.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1beta2_VideoSegment" +}, +"type": "array" +}, +"tracks": { +"description": "All logo tracks where the recognized logo appears. Each track corresponds to one logo instance appearing in consecutive frames.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1beta2_Track" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1beta2_NormalizedBoundingBox": { +"description": "Normalized bounding box. The normalized vertex coordinates are relative to the original image. Range: [0, 1].", +"id": "GoogleCloudVideointelligenceV1beta2_NormalizedBoundingBox", +"properties": { +"bottom": { +"description": "Bottom Y coordinate.", +"format": "float", +"type": "number" +}, +"left": { +"description": "Left X coordinate.", +"format": "float", +"type": "number" +}, +"right": { +"description": "Right X coordinate.", +"format": "float", +"type": "number" +}, +"top": { +"description": "Top Y coordinate.", +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1beta2_NormalizedBoundingPoly": { +"description": "Normalized bounding polygon for text (that might not be aligned with axis). Contains list of the corner points in clockwise order starting from top-left corner. For example, for a rectangular bounding box: When the text is horizontal it might look like: 0----1 | | 3----2 When it's clockwise rotated 180 degrees around the top-left corner it becomes: 2----3 | | 1----0 and the vertex order will still be (0, 1, 2, 3). Note that values can be less than 0, or greater than 1 due to trigonometric calculations for location of the box.", +"id": "GoogleCloudVideointelligenceV1beta2_NormalizedBoundingPoly", +"properties": { +"vertices": { +"description": "Normalized vertices of the bounding polygon.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1beta2_NormalizedVertex" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1beta2_NormalizedVertex": { +"description": "A vertex represents a 2D point in the image. NOTE: the normalized vertex coordinates are relative to the original image and range from 0 to 1.", +"id": "GoogleCloudVideointelligenceV1beta2_NormalizedVertex", +"properties": { +"x": { +"description": "X coordinate.", +"format": "float", +"type": "number" +}, +"y": { +"description": "Y coordinate.", +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1beta2_ObjectTrackingAnnotation": { +"description": "Annotations corresponding to one tracked object.", +"id": "GoogleCloudVideointelligenceV1beta2_ObjectTrackingAnnotation", +"properties": { +"confidence": { +"description": "Object category's labeling confidence of this track.", +"format": "float", +"type": "number" +}, +"entity": { +"$ref": "GoogleCloudVideointelligenceV1beta2_Entity", +"description": "Entity to specify the object category that this track is labeled as." +}, +"frames": { +"description": "Information corresponding to all frames where this object track appears. Non-streaming batch mode: it may be one or multiple ObjectTrackingFrame messages in frames. Streaming mode: it can only be one ObjectTrackingFrame message in frames.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1beta2_ObjectTrackingFrame" +}, +"type": "array" +}, +"segment": { +"$ref": "GoogleCloudVideointelligenceV1beta2_VideoSegment", +"description": "Non-streaming batch mode ONLY. Each object track corresponds to one video segment where it appears." +}, +"trackId": { +"description": "Streaming mode ONLY. In streaming mode, we do not know the end time of a tracked object before it is completed. Hence, there is no VideoSegment info returned. Instead, we provide a unique identifiable integer track_id so that the customers can correlate the results of the ongoing ObjectTrackAnnotation of the same track_id over time.", +"format": "int64", +"type": "string" +}, +"version": { +"description": "Feature version.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1beta2_ObjectTrackingFrame": { +"description": "Video frame level annotations for object detection and tracking. This field stores per frame location, time offset, and confidence.", +"id": "GoogleCloudVideointelligenceV1beta2_ObjectTrackingFrame", +"properties": { +"normalizedBoundingBox": { +"$ref": "GoogleCloudVideointelligenceV1beta2_NormalizedBoundingBox", +"description": "The normalized bounding box location of this object track for the frame." +}, +"timeOffset": { +"description": "The timestamp of the frame in microseconds.", +"format": "google-duration", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1beta2_PersonDetectionAnnotation": { +"description": "Person detection annotation per video.", +"id": "GoogleCloudVideointelligenceV1beta2_PersonDetectionAnnotation", +"properties": { +"tracks": { +"description": "The detected tracks of a person.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1beta2_Track" +}, +"type": "array" +}, +"version": { +"description": "Feature version.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1beta2_SpeechRecognitionAlternative": { +"description": "Alternative hypotheses (a.k.a. n-best list).", +"id": "GoogleCloudVideointelligenceV1beta2_SpeechRecognitionAlternative", +"properties": { +"confidence": { +"description": "Output only. The confidence estimate between 0.0 and 1.0. A higher number indicates an estimated greater likelihood that the recognized words are correct. This field is set only for the top alternative. This field is not guaranteed to be accurate and users should not rely on it to be always provided. The default of 0.0 is a sentinel value indicating `confidence` was not set.", +"format": "float", +"readOnly": true, +"type": "number" +}, +"transcript": { +"description": "Transcript text representing the words that the user spoke.", +"type": "string" +}, +"words": { +"description": "Output only. A list of word-specific information for each recognized word. Note: When `enable_speaker_diarization` is set to true, you will see all the words from the beginning of the audio.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1beta2_WordInfo" +}, +"readOnly": true, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1beta2_SpeechTranscription": { +"description": "A speech recognition result corresponding to a portion of the audio.", +"id": "GoogleCloudVideointelligenceV1beta2_SpeechTranscription", +"properties": { +"alternatives": { +"description": "May contain one or more recognition hypotheses (up to the maximum specified in `max_alternatives`). These alternatives are ordered in terms of accuracy, with the top (first) alternative being the most probable, as ranked by the recognizer.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1beta2_SpeechRecognitionAlternative" +}, +"type": "array" +}, +"languageCode": { +"description": "Output only. The [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag of the language in this result. This language code was detected to have the most likelihood of being spoken in the audio.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1beta2_TextAnnotation": { +"description": "Annotations related to one detected OCR text snippet. This will contain the corresponding text, confidence value, and frame level information for each detection.", +"id": "GoogleCloudVideointelligenceV1beta2_TextAnnotation", +"properties": { +"segments": { +"description": "All video segments where OCR detected text appears.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1beta2_TextSegment" +}, +"type": "array" +}, +"text": { +"description": "The detected text.", +"type": "string" +}, +"version": { +"description": "Feature version.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1beta2_TextFrame": { +"description": "Video frame level annotation results for text annotation (OCR). Contains information regarding timestamp and bounding box locations for the frames containing detected OCR text snippets.", +"id": "GoogleCloudVideointelligenceV1beta2_TextFrame", +"properties": { +"rotatedBoundingBox": { +"$ref": "GoogleCloudVideointelligenceV1beta2_NormalizedBoundingPoly", +"description": "Bounding polygon of the detected text for this frame." +}, +"timeOffset": { +"description": "Timestamp of this frame.", +"format": "google-duration", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1beta2_TextSegment": { +"description": "Video segment level annotation results for text detection.", +"id": "GoogleCloudVideointelligenceV1beta2_TextSegment", +"properties": { +"confidence": { +"description": "Confidence for the track of detected text. It is calculated as the highest over all frames where OCR detected text appears.", +"format": "float", +"type": "number" +}, +"frames": { +"description": "Information related to the frames where OCR detected text appears.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1beta2_TextFrame" +}, +"type": "array" +}, +"segment": { +"$ref": "GoogleCloudVideointelligenceV1beta2_VideoSegment", +"description": "Video segment where a text snippet was detected." +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1beta2_TimestampedObject": { +"description": "For tracking related features. An object at time_offset with attributes, and located with normalized_bounding_box.", +"id": "GoogleCloudVideointelligenceV1beta2_TimestampedObject", +"properties": { +"attributes": { +"description": "Optional. The attributes of the object in the bounding box.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1beta2_DetectedAttribute" +}, +"type": "array" +}, +"landmarks": { +"description": "Optional. The detected landmarks.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1beta2_DetectedLandmark" +}, +"type": "array" +}, +"normalizedBoundingBox": { +"$ref": "GoogleCloudVideointelligenceV1beta2_NormalizedBoundingBox", +"description": "Normalized Bounding box in a frame, where the object is located." +}, +"timeOffset": { +"description": "Time-offset, relative to the beginning of the video, corresponding to the video frame for this object.", +"format": "google-duration", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1beta2_Track": { +"description": "A track of an object instance.", +"id": "GoogleCloudVideointelligenceV1beta2_Track", +"properties": { +"attributes": { +"description": "Optional. Attributes in the track level.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1beta2_DetectedAttribute" +}, +"type": "array" +}, +"confidence": { +"description": "Optional. The confidence score of the tracked object.", +"format": "float", +"type": "number" +}, +"segment": { +"$ref": "GoogleCloudVideointelligenceV1beta2_VideoSegment", +"description": "Video segment of a track." +}, +"timestampedObjects": { +"description": "The object with timestamp and attributes per frame in the track.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1beta2_TimestampedObject" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1beta2_VideoAnnotationProgress": { +"description": "Annotation progress for a single video.", +"id": "GoogleCloudVideointelligenceV1beta2_VideoAnnotationProgress", +"properties": { +"exportStatus": { +"$ref": "GoogleCloudVideointelligenceV1beta2_ExportToOutputUriStatus", +"description": "Status of exporting annotation response to user specified `output_uri`. Only set if `output_uri` is set in the request." +}, +"feature": { +"description": "Specifies which feature is being tracked if the request contains more than one feature.", +"enum": [ +"FEATURE_UNSPECIFIED", +"LABEL_DETECTION", +"SHOT_CHANGE_DETECTION", +"EXPLICIT_CONTENT_DETECTION", +"FACE_DETECTION", +"SPEECH_TRANSCRIPTION", +"TEXT_DETECTION", +"OBJECT_TRACKING", +"LOGO_RECOGNITION", +"PERSON_DETECTION" +], +"enumDescriptions": [ +"Unspecified.", +"Label detection. Detect objects, such as dog or flower.", +"Shot change detection.", +"Explicit content detection.", +"Human face detection.", +"Speech transcription.", +"OCR text detection and tracking.", +"Object detection and tracking.", +"Logo detection, tracking, and recognition.", +"Person detection." +], +"type": "string" +}, +"inputUri": { +"description": "Video file location in [Cloud Storage](https://cloud.google.com/storage/).", +"type": "string" +}, +"progressPercent": { +"description": "Approximate percentage processed thus far. Guaranteed to be 100 when fully processed.", +"format": "int32", +"type": "integer" +}, +"segment": { +"$ref": "GoogleCloudVideointelligenceV1beta2_VideoSegment", +"description": "Specifies which segment is being tracked if the request contains more than one segment." +}, +"startTime": { +"description": "Time when the request was received.", +"format": "google-datetime", +"type": "string" +}, +"updateTime": { +"description": "Time of the most recent update.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1beta2_VideoAnnotationResults": { +"description": "Annotation results for a single video.", +"id": "GoogleCloudVideointelligenceV1beta2_VideoAnnotationResults", +"properties": { +"error": { +"$ref": "GoogleRpc_Status", +"description": "If set, indicates an error. Note that for a single `AnnotateVideoRequest` some videos may succeed and some may fail." +}, +"explicitAnnotation": { +"$ref": "GoogleCloudVideointelligenceV1beta2_ExplicitContentAnnotation", +"description": "Explicit content annotation." +}, +"faceAnnotations": { +"deprecated": true, +"description": "Deprecated. Please use `face_detection_annotations` instead.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1beta2_FaceAnnotation" +}, +"type": "array" +}, +"faceDetectionAnnotations": { +"description": "Face detection annotations.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1beta2_FaceDetectionAnnotation" +}, +"type": "array" +}, +"frameLabelAnnotations": { +"description": "Label annotations on frame level. There is exactly one element for each unique label.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1beta2_LabelAnnotation" +}, +"type": "array" +}, +"inputUri": { +"description": "Video file location in [Cloud Storage](https://cloud.google.com/storage/).", +"type": "string" +}, +"logoRecognitionAnnotations": { +"description": "Annotations for list of logos detected, tracked and recognized in video.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1beta2_LogoRecognitionAnnotation" +}, +"type": "array" +}, +"objectAnnotations": { +"description": "Annotations for list of objects detected and tracked in video.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1beta2_ObjectTrackingAnnotation" +}, +"type": "array" +}, +"personDetectionAnnotations": { +"description": "Person detection annotations.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1beta2_PersonDetectionAnnotation" +}, +"type": "array" +}, +"segment": { +"$ref": "GoogleCloudVideointelligenceV1beta2_VideoSegment", +"description": "Video segment on which the annotation is run." +}, +"segmentLabelAnnotations": { +"description": "Topical label annotations on video level or user-specified segment level. There is exactly one element for each unique label.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1beta2_LabelAnnotation" +}, +"type": "array" +}, +"segmentPresenceLabelAnnotations": { +"description": "Presence label annotations on video level or user-specified segment level. There is exactly one element for each unique label. Compared to the existing topical `segment_label_annotations`, this field presents more fine-grained, segment-level labels detected in video content and is made available only when the client sets `LabelDetectionConfig.model` to \"builtin/latest\" in the request.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1beta2_LabelAnnotation" +}, +"type": "array" +}, +"shotAnnotations": { +"description": "Shot annotations. Each shot is represented as a video segment.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1beta2_VideoSegment" +}, +"type": "array" +}, +"shotLabelAnnotations": { +"description": "Topical label annotations on shot level. There is exactly one element for each unique label.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1beta2_LabelAnnotation" +}, +"type": "array" +}, +"shotPresenceLabelAnnotations": { +"description": "Presence label annotations on shot level. There is exactly one element for each unique label. Compared to the existing topical `shot_label_annotations`, this field presents more fine-grained, shot-level labels detected in video content and is made available only when the client sets `LabelDetectionConfig.model` to \"builtin/latest\" in the request.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1beta2_LabelAnnotation" +}, +"type": "array" +}, +"speechTranscriptions": { +"description": "Speech transcription.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1beta2_SpeechTranscription" +}, +"type": "array" +}, +"textAnnotations": { +"description": "OCR text detection and tracking. Annotations for list of detected text snippets. Each will have list of frame information associated with it.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1beta2_TextAnnotation" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1beta2_VideoSegment": { +"description": "Video segment.", +"id": "GoogleCloudVideointelligenceV1beta2_VideoSegment", +"properties": { +"endTimeOffset": { +"description": "Time-offset, relative to the beginning of the video, corresponding to the end of the segment (inclusive).", +"format": "google-duration", +"type": "string" +}, +"startTimeOffset": { +"description": "Time-offset, relative to the beginning of the video, corresponding to the start of the segment (inclusive).", +"format": "google-duration", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1beta2_WordInfo": { +"description": "Word-specific information for recognized words. Word information is only included in the response when certain request parameters are set, such as `enable_word_time_offsets`.", +"id": "GoogleCloudVideointelligenceV1beta2_WordInfo", +"properties": { +"confidence": { +"description": "Output only. The confidence estimate between 0.0 and 1.0. A higher number indicates an estimated greater likelihood that the recognized words are correct. This field is set only for the top alternative. This field is not guaranteed to be accurate and users should not rely on it to be always provided. The default of 0.0 is a sentinel value indicating `confidence` was not set.", +"format": "float", +"readOnly": true, +"type": "number" +}, +"endTime": { +"description": "Time offset relative to the beginning of the audio, and corresponding to the end of the spoken word. This field is only set if `enable_word_time_offsets=true` and only in the top hypothesis. This is an experimental feature and the accuracy of the time offset can vary.", +"format": "google-duration", +"type": "string" +}, +"speakerTag": { +"description": "Output only. A distinct integer value is assigned for every speaker within the audio. This field specifies which one of those speakers was detected to have spoken this word. Value ranges from 1 up to diarization_speaker_count, and is only set if speaker diarization is enabled.", +"format": "int32", +"readOnly": true, +"type": "integer" +}, +"startTime": { +"description": "Time offset relative to the beginning of the audio, and corresponding to the start of the spoken word. This field is only set if `enable_word_time_offsets=true` and only in the top hypothesis. This is an experimental feature and the accuracy of the time offset can vary.", +"format": "google-duration", +"type": "string" +}, +"word": { +"description": "The word corresponding to this set of information.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1p1beta1_AnnotateVideoProgress": { +"description": "Video annotation progress. Included in the `metadata` field of the `Operation` returned by the `GetOperation` call of the `google::longrunning::Operations` service.", +"id": "GoogleCloudVideointelligenceV1p1beta1_AnnotateVideoProgress", +"properties": { +"annotationProgress": { +"description": "Progress metadata for all videos specified in `AnnotateVideoRequest`.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1p1beta1_VideoAnnotationProgress" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1p1beta1_AnnotateVideoResponse": { +"description": "Video annotation response. Included in the `response` field of the `Operation` returned by the `GetOperation` call of the `google::longrunning::Operations` service.", +"id": "GoogleCloudVideointelligenceV1p1beta1_AnnotateVideoResponse", +"properties": { +"annotationResults": { +"description": "Annotation results for all videos specified in `AnnotateVideoRequest`.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1p1beta1_VideoAnnotationResults" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1p1beta1_DetectedAttribute": { +"description": "A generic detected attribute represented by name in string format.", +"id": "GoogleCloudVideointelligenceV1p1beta1_DetectedAttribute", +"properties": { +"confidence": { +"description": "Detected attribute confidence. Range [0, 1].", +"format": "float", +"type": "number" +}, +"name": { +"description": "The name of the attribute, for example, glasses, dark_glasses, mouth_open. A full list of supported type names will be provided in the document.", +"type": "string" +}, +"value": { +"description": "Text value of the detection result. For example, the value for \"HairColor\" can be \"black\", \"blonde\", etc.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1p1beta1_DetectedLandmark": { +"description": "A generic detected landmark represented by name in string format and a 2D location.", +"id": "GoogleCloudVideointelligenceV1p1beta1_DetectedLandmark", +"properties": { +"confidence": { +"description": "The confidence score of the detected landmark. Range [0, 1].", +"format": "float", +"type": "number" +}, +"name": { +"description": "The name of this landmark, for example, left_hand, right_shoulder.", +"type": "string" +}, +"point": { +"$ref": "GoogleCloudVideointelligenceV1p1beta1_NormalizedVertex", +"description": "The 2D point of the detected landmark using the normalized image coordinate system. The normalized coordinates have the range from 0 to 1." +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1p1beta1_Entity": { +"description": "Detected entity from video analysis.", +"id": "GoogleCloudVideointelligenceV1p1beta1_Entity", +"properties": { +"description": { +"description": "Textual description, e.g., `Fixed-gear bicycle`.", +"type": "string" +}, +"entityId": { +"description": "Opaque entity ID. Some IDs may be available in [Google Knowledge Graph Search API](https://developers.google.com/knowledge-graph/).", +"type": "string" +}, +"languageCode": { +"description": "Language code for `description` in BCP-47 format.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1p1beta1_ExplicitContentAnnotation": { +"description": "Explicit content annotation (based on per-frame visual signals only). If no explicit content has been detected in a frame, no annotations are present for that frame.", +"id": "GoogleCloudVideointelligenceV1p1beta1_ExplicitContentAnnotation", +"properties": { +"frames": { +"description": "All video frames where explicit content was detected.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1p1beta1_ExplicitContentFrame" +}, +"type": "array" +}, +"version": { +"description": "Feature version.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1p1beta1_ExplicitContentFrame": { +"description": "Video frame level annotation results for explicit content.", +"id": "GoogleCloudVideointelligenceV1p1beta1_ExplicitContentFrame", +"properties": { +"pornographyLikelihood": { +"description": "Likelihood of the pornography content..", +"enum": [ +"LIKELIHOOD_UNSPECIFIED", +"VERY_UNLIKELY", +"UNLIKELY", +"POSSIBLE", +"LIKELY", +"VERY_LIKELY" +], +"enumDescriptions": [ +"Unspecified likelihood.", +"Very unlikely.", +"Unlikely.", +"Possible.", +"Likely.", +"Very likely." +], +"type": "string" +}, +"timeOffset": { +"description": "Time-offset, relative to the beginning of the video, corresponding to the video frame for this location.", +"format": "google-duration", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1p1beta1_ExportToOutputUriStatus": { +"description": "Status of exporting annotation response to user specified `output_uri`.", +"id": "GoogleCloudVideointelligenceV1p1beta1_ExportToOutputUriStatus", +"properties": { +"state": { +"description": "Output only. State of the `output_uri` export.", +"enum": [ +"STATE_UNSPECIFIED", +"SUCCEEDED", +"FAILED" +], +"enumDescriptions": [ +"Default value.", +"Export succeeded.", +"Export failed." +], +"readOnly": true, +"type": "string" +}, +"status": { +"$ref": "GoogleRpc_Status", +"description": "Output only. Only set if state is FAILED.", +"readOnly": true +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1p1beta1_FaceAnnotation": { +"deprecated": true, +"description": "Deprecated. No effect.", +"id": "GoogleCloudVideointelligenceV1p1beta1_FaceAnnotation", +"properties": { +"frames": { +"description": "All video frames where a face was detected.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1p1beta1_FaceFrame" +}, +"type": "array" +}, +"segments": { +"description": "All video segments where a face was detected.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1p1beta1_FaceSegment" +}, +"type": "array" +}, +"thumbnail": { +"description": "Thumbnail of a representative face view (in JPEG format).", +"format": "byte", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1p1beta1_FaceDetectionAnnotation": { +"description": "Face detection annotation.", +"id": "GoogleCloudVideointelligenceV1p1beta1_FaceDetectionAnnotation", +"properties": { +"thumbnail": { +"description": "The thumbnail of a person's face.", +"format": "byte", +"type": "string" +}, +"tracks": { +"description": "The face tracks with attributes.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1p1beta1_Track" +}, +"type": "array" +}, +"version": { +"description": "Feature version.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1p1beta1_FaceFrame": { +"deprecated": true, +"description": "Deprecated. No effect.", +"id": "GoogleCloudVideointelligenceV1p1beta1_FaceFrame", +"properties": { +"normalizedBoundingBoxes": { +"description": "Normalized Bounding boxes in a frame. There can be more than one boxes if the same face is detected in multiple locations within the current frame.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1p1beta1_NormalizedBoundingBox" +}, +"type": "array" +}, +"timeOffset": { +"description": "Time-offset, relative to the beginning of the video, corresponding to the video frame for this location.", +"format": "google-duration", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1p1beta1_FaceSegment": { +"description": "Video segment level annotation results for face detection.", +"id": "GoogleCloudVideointelligenceV1p1beta1_FaceSegment", +"properties": { +"segment": { +"$ref": "GoogleCloudVideointelligenceV1p1beta1_VideoSegment", +"description": "Video segment where a face was detected." +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1p1beta1_LabelAnnotation": { +"description": "Label annotation.", +"id": "GoogleCloudVideointelligenceV1p1beta1_LabelAnnotation", +"properties": { +"categoryEntities": { +"description": "Common categories for the detected entity. For example, when the label is `Terrier`, the category is likely `dog`. And in some cases there might be more than one categories e.g., `Terrier` could also be a `pet`.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1p1beta1_Entity" +}, +"type": "array" +}, +"entity": { +"$ref": "GoogleCloudVideointelligenceV1p1beta1_Entity", +"description": "Detected entity." +}, +"frames": { +"description": "All video frames where a label was detected.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1p1beta1_LabelFrame" +}, +"type": "array" +}, +"segments": { +"description": "All video segments where a label was detected.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1p1beta1_LabelSegment" +}, +"type": "array" +}, +"version": { +"description": "Feature version.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1p1beta1_LabelFrame": { +"description": "Video frame level annotation results for label detection.", +"id": "GoogleCloudVideointelligenceV1p1beta1_LabelFrame", +"properties": { +"confidence": { +"description": "Confidence that the label is accurate. Range: [0, 1].", +"format": "float", +"type": "number" +}, +"timeOffset": { +"description": "Time-offset, relative to the beginning of the video, corresponding to the video frame for this location.", +"format": "google-duration", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1p1beta1_LabelSegment": { +"description": "Video segment level annotation results for label detection.", +"id": "GoogleCloudVideointelligenceV1p1beta1_LabelSegment", +"properties": { +"confidence": { +"description": "Confidence that the label is accurate. Range: [0, 1].", +"format": "float", +"type": "number" +}, +"segment": { +"$ref": "GoogleCloudVideointelligenceV1p1beta1_VideoSegment", +"description": "Video segment where a label was detected." +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1p1beta1_LogoRecognitionAnnotation": { +"description": "Annotation corresponding to one detected, tracked and recognized logo class.", +"id": "GoogleCloudVideointelligenceV1p1beta1_LogoRecognitionAnnotation", +"properties": { +"entity": { +"$ref": "GoogleCloudVideointelligenceV1p1beta1_Entity", +"description": "Entity category information to specify the logo class that all the logo tracks within this LogoRecognitionAnnotation are recognized as." +}, +"segments": { +"description": "All video segments where the recognized logo appears. There might be multiple instances of the same logo class appearing in one VideoSegment.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1p1beta1_VideoSegment" +}, +"type": "array" +}, +"tracks": { +"description": "All logo tracks where the recognized logo appears. Each track corresponds to one logo instance appearing in consecutive frames.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1p1beta1_Track" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1p1beta1_NormalizedBoundingBox": { +"description": "Normalized bounding box. The normalized vertex coordinates are relative to the original image. Range: [0, 1].", +"id": "GoogleCloudVideointelligenceV1p1beta1_NormalizedBoundingBox", +"properties": { +"bottom": { +"description": "Bottom Y coordinate.", +"format": "float", +"type": "number" +}, +"left": { +"description": "Left X coordinate.", +"format": "float", +"type": "number" +}, +"right": { +"description": "Right X coordinate.", +"format": "float", +"type": "number" +}, +"top": { +"description": "Top Y coordinate.", +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1p1beta1_NormalizedBoundingPoly": { +"description": "Normalized bounding polygon for text (that might not be aligned with axis). Contains list of the corner points in clockwise order starting from top-left corner. For example, for a rectangular bounding box: When the text is horizontal it might look like: 0----1 | | 3----2 When it's clockwise rotated 180 degrees around the top-left corner it becomes: 2----3 | | 1----0 and the vertex order will still be (0, 1, 2, 3). Note that values can be less than 0, or greater than 1 due to trigonometric calculations for location of the box.", +"id": "GoogleCloudVideointelligenceV1p1beta1_NormalizedBoundingPoly", +"properties": { +"vertices": { +"description": "Normalized vertices of the bounding polygon.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1p1beta1_NormalizedVertex" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1p1beta1_NormalizedVertex": { +"description": "A vertex represents a 2D point in the image. NOTE: the normalized vertex coordinates are relative to the original image and range from 0 to 1.", +"id": "GoogleCloudVideointelligenceV1p1beta1_NormalizedVertex", +"properties": { +"x": { +"description": "X coordinate.", +"format": "float", +"type": "number" +}, +"y": { +"description": "Y coordinate.", +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1p1beta1_ObjectTrackingAnnotation": { +"description": "Annotations corresponding to one tracked object.", +"id": "GoogleCloudVideointelligenceV1p1beta1_ObjectTrackingAnnotation", +"properties": { +"confidence": { +"description": "Object category's labeling confidence of this track.", +"format": "float", +"type": "number" +}, +"entity": { +"$ref": "GoogleCloudVideointelligenceV1p1beta1_Entity", +"description": "Entity to specify the object category that this track is labeled as." +}, +"frames": { +"description": "Information corresponding to all frames where this object track appears. Non-streaming batch mode: it may be one or multiple ObjectTrackingFrame messages in frames. Streaming mode: it can only be one ObjectTrackingFrame message in frames.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1p1beta1_ObjectTrackingFrame" +}, +"type": "array" +}, +"segment": { +"$ref": "GoogleCloudVideointelligenceV1p1beta1_VideoSegment", +"description": "Non-streaming batch mode ONLY. Each object track corresponds to one video segment where it appears." +}, +"trackId": { +"description": "Streaming mode ONLY. In streaming mode, we do not know the end time of a tracked object before it is completed. Hence, there is no VideoSegment info returned. Instead, we provide a unique identifiable integer track_id so that the customers can correlate the results of the ongoing ObjectTrackAnnotation of the same track_id over time.", +"format": "int64", +"type": "string" +}, +"version": { +"description": "Feature version.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1p1beta1_ObjectTrackingFrame": { +"description": "Video frame level annotations for object detection and tracking. This field stores per frame location, time offset, and confidence.", +"id": "GoogleCloudVideointelligenceV1p1beta1_ObjectTrackingFrame", +"properties": { +"normalizedBoundingBox": { +"$ref": "GoogleCloudVideointelligenceV1p1beta1_NormalizedBoundingBox", +"description": "The normalized bounding box location of this object track for the frame." +}, +"timeOffset": { +"description": "The timestamp of the frame in microseconds.", +"format": "google-duration", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1p1beta1_PersonDetectionAnnotation": { +"description": "Person detection annotation per video.", +"id": "GoogleCloudVideointelligenceV1p1beta1_PersonDetectionAnnotation", +"properties": { +"tracks": { +"description": "The detected tracks of a person.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1p1beta1_Track" +}, +"type": "array" +}, +"version": { +"description": "Feature version.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1p1beta1_SpeechRecognitionAlternative": { +"description": "Alternative hypotheses (a.k.a. n-best list).", +"id": "GoogleCloudVideointelligenceV1p1beta1_SpeechRecognitionAlternative", +"properties": { +"confidence": { +"description": "Output only. The confidence estimate between 0.0 and 1.0. A higher number indicates an estimated greater likelihood that the recognized words are correct. This field is set only for the top alternative. This field is not guaranteed to be accurate and users should not rely on it to be always provided. The default of 0.0 is a sentinel value indicating `confidence` was not set.", +"format": "float", +"readOnly": true, +"type": "number" +}, +"transcript": { +"description": "Transcript text representing the words that the user spoke.", +"type": "string" +}, +"words": { +"description": "Output only. A list of word-specific information for each recognized word. Note: When `enable_speaker_diarization` is set to true, you will see all the words from the beginning of the audio.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1p1beta1_WordInfo" +}, +"readOnly": true, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1p1beta1_SpeechTranscription": { +"description": "A speech recognition result corresponding to a portion of the audio.", +"id": "GoogleCloudVideointelligenceV1p1beta1_SpeechTranscription", +"properties": { +"alternatives": { +"description": "May contain one or more recognition hypotheses (up to the maximum specified in `max_alternatives`). These alternatives are ordered in terms of accuracy, with the top (first) alternative being the most probable, as ranked by the recognizer.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1p1beta1_SpeechRecognitionAlternative" +}, +"type": "array" +}, +"languageCode": { +"description": "Output only. The [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag of the language in this result. This language code was detected to have the most likelihood of being spoken in the audio.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1p1beta1_TextAnnotation": { +"description": "Annotations related to one detected OCR text snippet. This will contain the corresponding text, confidence value, and frame level information for each detection.", +"id": "GoogleCloudVideointelligenceV1p1beta1_TextAnnotation", +"properties": { +"segments": { +"description": "All video segments where OCR detected text appears.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1p1beta1_TextSegment" +}, +"type": "array" +}, +"text": { +"description": "The detected text.", +"type": "string" +}, +"version": { +"description": "Feature version.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1p1beta1_TextFrame": { +"description": "Video frame level annotation results for text annotation (OCR). Contains information regarding timestamp and bounding box locations for the frames containing detected OCR text snippets.", +"id": "GoogleCloudVideointelligenceV1p1beta1_TextFrame", +"properties": { +"rotatedBoundingBox": { +"$ref": "GoogleCloudVideointelligenceV1p1beta1_NormalizedBoundingPoly", +"description": "Bounding polygon of the detected text for this frame." +}, +"timeOffset": { +"description": "Timestamp of this frame.", +"format": "google-duration", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1p1beta1_TextSegment": { +"description": "Video segment level annotation results for text detection.", +"id": "GoogleCloudVideointelligenceV1p1beta1_TextSegment", +"properties": { +"confidence": { +"description": "Confidence for the track of detected text. It is calculated as the highest over all frames where OCR detected text appears.", +"format": "float", +"type": "number" +}, +"frames": { +"description": "Information related to the frames where OCR detected text appears.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1p1beta1_TextFrame" +}, +"type": "array" +}, +"segment": { +"$ref": "GoogleCloudVideointelligenceV1p1beta1_VideoSegment", +"description": "Video segment where a text snippet was detected." +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1p1beta1_TimestampedObject": { +"description": "For tracking related features. An object at time_offset with attributes, and located with normalized_bounding_box.", +"id": "GoogleCloudVideointelligenceV1p1beta1_TimestampedObject", +"properties": { +"attributes": { +"description": "Optional. The attributes of the object in the bounding box.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1p1beta1_DetectedAttribute" +}, +"type": "array" +}, +"landmarks": { +"description": "Optional. The detected landmarks.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1p1beta1_DetectedLandmark" +}, +"type": "array" +}, +"normalizedBoundingBox": { +"$ref": "GoogleCloudVideointelligenceV1p1beta1_NormalizedBoundingBox", +"description": "Normalized Bounding box in a frame, where the object is located." +}, +"timeOffset": { +"description": "Time-offset, relative to the beginning of the video, corresponding to the video frame for this object.", +"format": "google-duration", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1p1beta1_Track": { +"description": "A track of an object instance.", +"id": "GoogleCloudVideointelligenceV1p1beta1_Track", +"properties": { +"attributes": { +"description": "Optional. Attributes in the track level.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1p1beta1_DetectedAttribute" +}, +"type": "array" +}, +"confidence": { +"description": "Optional. The confidence score of the tracked object.", +"format": "float", +"type": "number" +}, +"segment": { +"$ref": "GoogleCloudVideointelligenceV1p1beta1_VideoSegment", +"description": "Video segment of a track." +}, +"timestampedObjects": { +"description": "The object with timestamp and attributes per frame in the track.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1p1beta1_TimestampedObject" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1p1beta1_VideoAnnotationProgress": { +"description": "Annotation progress for a single video.", +"id": "GoogleCloudVideointelligenceV1p1beta1_VideoAnnotationProgress", +"properties": { +"exportStatus": { +"$ref": "GoogleCloudVideointelligenceV1p1beta1_ExportToOutputUriStatus", +"description": "Status of exporting annotation response to user specified `output_uri`. Only set if `output_uri` is set in the request." +}, +"feature": { +"description": "Specifies which feature is being tracked if the request contains more than one feature.", +"enum": [ +"FEATURE_UNSPECIFIED", +"LABEL_DETECTION", +"SHOT_CHANGE_DETECTION", +"EXPLICIT_CONTENT_DETECTION", +"FACE_DETECTION", +"SPEECH_TRANSCRIPTION", +"TEXT_DETECTION", +"OBJECT_TRACKING", +"LOGO_RECOGNITION", +"PERSON_DETECTION" +], +"enumDescriptions": [ +"Unspecified.", +"Label detection. Detect objects, such as dog or flower.", +"Shot change detection.", +"Explicit content detection.", +"Human face detection.", +"Speech transcription.", +"OCR text detection and tracking.", +"Object detection and tracking.", +"Logo detection, tracking, and recognition.", +"Person detection." +], +"type": "string" +}, +"inputUri": { +"description": "Video file location in [Cloud Storage](https://cloud.google.com/storage/).", +"type": "string" +}, +"progressPercent": { +"description": "Approximate percentage processed thus far. Guaranteed to be 100 when fully processed.", +"format": "int32", +"type": "integer" +}, +"segment": { +"$ref": "GoogleCloudVideointelligenceV1p1beta1_VideoSegment", +"description": "Specifies which segment is being tracked if the request contains more than one segment." +}, +"startTime": { +"description": "Time when the request was received.", +"format": "google-datetime", +"type": "string" +}, +"updateTime": { +"description": "Time of the most recent update.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1p1beta1_VideoAnnotationResults": { +"description": "Annotation results for a single video.", +"id": "GoogleCloudVideointelligenceV1p1beta1_VideoAnnotationResults", +"properties": { +"error": { +"$ref": "GoogleRpc_Status", +"description": "If set, indicates an error. Note that for a single `AnnotateVideoRequest` some videos may succeed and some may fail." +}, +"explicitAnnotation": { +"$ref": "GoogleCloudVideointelligenceV1p1beta1_ExplicitContentAnnotation", +"description": "Explicit content annotation." +}, +"faceAnnotations": { +"deprecated": true, +"description": "Deprecated. Please use `face_detection_annotations` instead.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1p1beta1_FaceAnnotation" +}, +"type": "array" +}, +"faceDetectionAnnotations": { +"description": "Face detection annotations.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1p1beta1_FaceDetectionAnnotation" +}, +"type": "array" +}, +"frameLabelAnnotations": { +"description": "Label annotations on frame level. There is exactly one element for each unique label.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1p1beta1_LabelAnnotation" +}, +"type": "array" +}, +"inputUri": { +"description": "Video file location in [Cloud Storage](https://cloud.google.com/storage/).", +"type": "string" +}, +"logoRecognitionAnnotations": { +"description": "Annotations for list of logos detected, tracked and recognized in video.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1p1beta1_LogoRecognitionAnnotation" +}, +"type": "array" +}, +"objectAnnotations": { +"description": "Annotations for list of objects detected and tracked in video.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1p1beta1_ObjectTrackingAnnotation" +}, +"type": "array" +}, +"personDetectionAnnotations": { +"description": "Person detection annotations.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1p1beta1_PersonDetectionAnnotation" +}, +"type": "array" +}, +"segment": { +"$ref": "GoogleCloudVideointelligenceV1p1beta1_VideoSegment", +"description": "Video segment on which the annotation is run." +}, +"segmentLabelAnnotations": { +"description": "Topical label annotations on video level or user-specified segment level. There is exactly one element for each unique label.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1p1beta1_LabelAnnotation" +}, +"type": "array" +}, +"segmentPresenceLabelAnnotations": { +"description": "Presence label annotations on video level or user-specified segment level. There is exactly one element for each unique label. Compared to the existing topical `segment_label_annotations`, this field presents more fine-grained, segment-level labels detected in video content and is made available only when the client sets `LabelDetectionConfig.model` to \"builtin/latest\" in the request.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1p1beta1_LabelAnnotation" +}, +"type": "array" +}, +"shotAnnotations": { +"description": "Shot annotations. Each shot is represented as a video segment.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1p1beta1_VideoSegment" +}, +"type": "array" +}, +"shotLabelAnnotations": { +"description": "Topical label annotations on shot level. There is exactly one element for each unique label.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1p1beta1_LabelAnnotation" +}, +"type": "array" +}, +"shotPresenceLabelAnnotations": { +"description": "Presence label annotations on shot level. There is exactly one element for each unique label. Compared to the existing topical `shot_label_annotations`, this field presents more fine-grained, shot-level labels detected in video content and is made available only when the client sets `LabelDetectionConfig.model` to \"builtin/latest\" in the request.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1p1beta1_LabelAnnotation" +}, +"type": "array" +}, +"speechTranscriptions": { +"description": "Speech transcription.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1p1beta1_SpeechTranscription" +}, +"type": "array" +}, +"textAnnotations": { +"description": "OCR text detection and tracking. Annotations for list of detected text snippets. Each will have list of frame information associated with it.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1p1beta1_TextAnnotation" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1p1beta1_VideoSegment": { +"description": "Video segment.", +"id": "GoogleCloudVideointelligenceV1p1beta1_VideoSegment", +"properties": { +"endTimeOffset": { +"description": "Time-offset, relative to the beginning of the video, corresponding to the end of the segment (inclusive).", +"format": "google-duration", +"type": "string" +}, +"startTimeOffset": { +"description": "Time-offset, relative to the beginning of the video, corresponding to the start of the segment (inclusive).", +"format": "google-duration", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1p1beta1_WordInfo": { +"description": "Word-specific information for recognized words. Word information is only included in the response when certain request parameters are set, such as `enable_word_time_offsets`.", +"id": "GoogleCloudVideointelligenceV1p1beta1_WordInfo", +"properties": { +"confidence": { +"description": "Output only. The confidence estimate between 0.0 and 1.0. A higher number indicates an estimated greater likelihood that the recognized words are correct. This field is set only for the top alternative. This field is not guaranteed to be accurate and users should not rely on it to be always provided. The default of 0.0 is a sentinel value indicating `confidence` was not set.", +"format": "float", +"readOnly": true, +"type": "number" +}, +"endTime": { +"description": "Time offset relative to the beginning of the audio, and corresponding to the end of the spoken word. This field is only set if `enable_word_time_offsets=true` and only in the top hypothesis. This is an experimental feature and the accuracy of the time offset can vary.", +"format": "google-duration", +"type": "string" +}, +"speakerTag": { +"description": "Output only. A distinct integer value is assigned for every speaker within the audio. This field specifies which one of those speakers was detected to have spoken this word. Value ranges from 1 up to diarization_speaker_count, and is only set if speaker diarization is enabled.", +"format": "int32", +"readOnly": true, +"type": "integer" +}, +"startTime": { +"description": "Time offset relative to the beginning of the audio, and corresponding to the start of the spoken word. This field is only set if `enable_word_time_offsets=true` and only in the top hypothesis. This is an experimental feature and the accuracy of the time offset can vary.", +"format": "google-duration", +"type": "string" +}, +"word": { +"description": "The word corresponding to this set of information.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1p2beta1_AnnotateVideoProgress": { +"description": "Video annotation progress. Included in the `metadata` field of the `Operation` returned by the `GetOperation` call of the `google::longrunning::Operations` service.", +"id": "GoogleCloudVideointelligenceV1p2beta1_AnnotateVideoProgress", +"properties": { +"annotationProgress": { +"description": "Progress metadata for all videos specified in `AnnotateVideoRequest`.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1p2beta1_VideoAnnotationProgress" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1p2beta1_AnnotateVideoResponse": { +"description": "Video annotation response. Included in the `response` field of the `Operation` returned by the `GetOperation` call of the `google::longrunning::Operations` service.", +"id": "GoogleCloudVideointelligenceV1p2beta1_AnnotateVideoResponse", +"properties": { +"annotationResults": { +"description": "Annotation results for all videos specified in `AnnotateVideoRequest`.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1p2beta1_VideoAnnotationResults" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1p2beta1_DetectedAttribute": { +"description": "A generic detected attribute represented by name in string format.", +"id": "GoogleCloudVideointelligenceV1p2beta1_DetectedAttribute", +"properties": { +"confidence": { +"description": "Detected attribute confidence. Range [0, 1].", +"format": "float", +"type": "number" +}, +"name": { +"description": "The name of the attribute, for example, glasses, dark_glasses, mouth_open. A full list of supported type names will be provided in the document.", +"type": "string" +}, +"value": { +"description": "Text value of the detection result. For example, the value for \"HairColor\" can be \"black\", \"blonde\", etc.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1p2beta1_DetectedLandmark": { +"description": "A generic detected landmark represented by name in string format and a 2D location.", +"id": "GoogleCloudVideointelligenceV1p2beta1_DetectedLandmark", +"properties": { +"confidence": { +"description": "The confidence score of the detected landmark. Range [0, 1].", +"format": "float", +"type": "number" +}, +"name": { +"description": "The name of this landmark, for example, left_hand, right_shoulder.", +"type": "string" +}, +"point": { +"$ref": "GoogleCloudVideointelligenceV1p2beta1_NormalizedVertex", +"description": "The 2D point of the detected landmark using the normalized image coordinate system. The normalized coordinates have the range from 0 to 1." +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1p2beta1_Entity": { +"description": "Detected entity from video analysis.", +"id": "GoogleCloudVideointelligenceV1p2beta1_Entity", +"properties": { +"description": { +"description": "Textual description, e.g., `Fixed-gear bicycle`.", +"type": "string" +}, +"entityId": { +"description": "Opaque entity ID. Some IDs may be available in [Google Knowledge Graph Search API](https://developers.google.com/knowledge-graph/).", +"type": "string" +}, +"languageCode": { +"description": "Language code for `description` in BCP-47 format.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1p2beta1_ExplicitContentAnnotation": { +"description": "Explicit content annotation (based on per-frame visual signals only). If no explicit content has been detected in a frame, no annotations are present for that frame.", +"id": "GoogleCloudVideointelligenceV1p2beta1_ExplicitContentAnnotation", +"properties": { +"frames": { +"description": "All video frames where explicit content was detected.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1p2beta1_ExplicitContentFrame" +}, +"type": "array" +}, +"version": { +"description": "Feature version.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1p2beta1_ExplicitContentFrame": { +"description": "Video frame level annotation results for explicit content.", +"id": "GoogleCloudVideointelligenceV1p2beta1_ExplicitContentFrame", +"properties": { +"pornographyLikelihood": { +"description": "Likelihood of the pornography content..", +"enum": [ +"LIKELIHOOD_UNSPECIFIED", +"VERY_UNLIKELY", +"UNLIKELY", +"POSSIBLE", +"LIKELY", +"VERY_LIKELY" +], +"enumDescriptions": [ +"Unspecified likelihood.", +"Very unlikely.", +"Unlikely.", +"Possible.", +"Likely.", +"Very likely." +], +"type": "string" +}, +"timeOffset": { +"description": "Time-offset, relative to the beginning of the video, corresponding to the video frame for this location.", +"format": "google-duration", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1p2beta1_ExportToOutputUriStatus": { +"description": "Status of exporting annotation response to user specified `output_uri`.", +"id": "GoogleCloudVideointelligenceV1p2beta1_ExportToOutputUriStatus", +"properties": { +"state": { +"description": "Output only. State of the `output_uri` export.", +"enum": [ +"STATE_UNSPECIFIED", +"SUCCEEDED", +"FAILED" +], +"enumDescriptions": [ +"Default value.", +"Export succeeded.", +"Export failed." +], +"readOnly": true, +"type": "string" +}, +"status": { +"$ref": "GoogleRpc_Status", +"description": "Output only. Only set if state is FAILED.", +"readOnly": true +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1p2beta1_FaceAnnotation": { +"deprecated": true, +"description": "Deprecated. No effect.", +"id": "GoogleCloudVideointelligenceV1p2beta1_FaceAnnotation", +"properties": { +"frames": { +"description": "All video frames where a face was detected.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1p2beta1_FaceFrame" +}, +"type": "array" +}, +"segments": { +"description": "All video segments where a face was detected.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1p2beta1_FaceSegment" +}, +"type": "array" +}, +"thumbnail": { +"description": "Thumbnail of a representative face view (in JPEG format).", +"format": "byte", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1p2beta1_FaceDetectionAnnotation": { +"description": "Face detection annotation.", +"id": "GoogleCloudVideointelligenceV1p2beta1_FaceDetectionAnnotation", +"properties": { +"thumbnail": { +"description": "The thumbnail of a person's face.", +"format": "byte", +"type": "string" +}, +"tracks": { +"description": "The face tracks with attributes.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1p2beta1_Track" +}, +"type": "array" +}, +"version": { +"description": "Feature version.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1p2beta1_FaceFrame": { +"deprecated": true, +"description": "Deprecated. No effect.", +"id": "GoogleCloudVideointelligenceV1p2beta1_FaceFrame", +"properties": { +"normalizedBoundingBoxes": { +"description": "Normalized Bounding boxes in a frame. There can be more than one boxes if the same face is detected in multiple locations within the current frame.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1p2beta1_NormalizedBoundingBox" +}, +"type": "array" +}, +"timeOffset": { +"description": "Time-offset, relative to the beginning of the video, corresponding to the video frame for this location.", +"format": "google-duration", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1p2beta1_FaceSegment": { +"description": "Video segment level annotation results for face detection.", +"id": "GoogleCloudVideointelligenceV1p2beta1_FaceSegment", +"properties": { +"segment": { +"$ref": "GoogleCloudVideointelligenceV1p2beta1_VideoSegment", +"description": "Video segment where a face was detected." +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1p2beta1_LabelAnnotation": { +"description": "Label annotation.", +"id": "GoogleCloudVideointelligenceV1p2beta1_LabelAnnotation", +"properties": { +"categoryEntities": { +"description": "Common categories for the detected entity. For example, when the label is `Terrier`, the category is likely `dog`. And in some cases there might be more than one categories e.g., `Terrier` could also be a `pet`.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1p2beta1_Entity" +}, +"type": "array" +}, +"entity": { +"$ref": "GoogleCloudVideointelligenceV1p2beta1_Entity", +"description": "Detected entity." +}, +"frames": { +"description": "All video frames where a label was detected.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1p2beta1_LabelFrame" +}, +"type": "array" +}, +"segments": { +"description": "All video segments where a label was detected.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1p2beta1_LabelSegment" +}, +"type": "array" +}, +"version": { +"description": "Feature version.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1p2beta1_LabelFrame": { +"description": "Video frame level annotation results for label detection.", +"id": "GoogleCloudVideointelligenceV1p2beta1_LabelFrame", +"properties": { +"confidence": { +"description": "Confidence that the label is accurate. Range: [0, 1].", +"format": "float", +"type": "number" +}, +"timeOffset": { +"description": "Time-offset, relative to the beginning of the video, corresponding to the video frame for this location.", +"format": "google-duration", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1p2beta1_LabelSegment": { +"description": "Video segment level annotation results for label detection.", +"id": "GoogleCloudVideointelligenceV1p2beta1_LabelSegment", +"properties": { +"confidence": { +"description": "Confidence that the label is accurate. Range: [0, 1].", +"format": "float", +"type": "number" +}, +"segment": { +"$ref": "GoogleCloudVideointelligenceV1p2beta1_VideoSegment", +"description": "Video segment where a label was detected." +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1p2beta1_LogoRecognitionAnnotation": { +"description": "Annotation corresponding to one detected, tracked and recognized logo class.", +"id": "GoogleCloudVideointelligenceV1p2beta1_LogoRecognitionAnnotation", +"properties": { +"entity": { +"$ref": "GoogleCloudVideointelligenceV1p2beta1_Entity", +"description": "Entity category information to specify the logo class that all the logo tracks within this LogoRecognitionAnnotation are recognized as." +}, +"segments": { +"description": "All video segments where the recognized logo appears. There might be multiple instances of the same logo class appearing in one VideoSegment.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1p2beta1_VideoSegment" +}, +"type": "array" +}, +"tracks": { +"description": "All logo tracks where the recognized logo appears. Each track corresponds to one logo instance appearing in consecutive frames.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1p2beta1_Track" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1p2beta1_NormalizedBoundingBox": { +"description": "Normalized bounding box. The normalized vertex coordinates are relative to the original image. Range: [0, 1].", +"id": "GoogleCloudVideointelligenceV1p2beta1_NormalizedBoundingBox", +"properties": { +"bottom": { +"description": "Bottom Y coordinate.", +"format": "float", +"type": "number" +}, +"left": { +"description": "Left X coordinate.", +"format": "float", +"type": "number" +}, +"right": { +"description": "Right X coordinate.", +"format": "float", +"type": "number" +}, +"top": { +"description": "Top Y coordinate.", +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1p2beta1_NormalizedBoundingPoly": { +"description": "Normalized bounding polygon for text (that might not be aligned with axis). Contains list of the corner points in clockwise order starting from top-left corner. For example, for a rectangular bounding box: When the text is horizontal it might look like: 0----1 | | 3----2 When it's clockwise rotated 180 degrees around the top-left corner it becomes: 2----3 | | 1----0 and the vertex order will still be (0, 1, 2, 3). Note that values can be less than 0, or greater than 1 due to trigonometric calculations for location of the box.", +"id": "GoogleCloudVideointelligenceV1p2beta1_NormalizedBoundingPoly", +"properties": { +"vertices": { +"description": "Normalized vertices of the bounding polygon.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1p2beta1_NormalizedVertex" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1p2beta1_NormalizedVertex": { +"description": "A vertex represents a 2D point in the image. NOTE: the normalized vertex coordinates are relative to the original image and range from 0 to 1.", +"id": "GoogleCloudVideointelligenceV1p2beta1_NormalizedVertex", +"properties": { +"x": { +"description": "X coordinate.", +"format": "float", +"type": "number" +}, +"y": { +"description": "Y coordinate.", +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1p2beta1_ObjectTrackingAnnotation": { +"description": "Annotations corresponding to one tracked object.", +"id": "GoogleCloudVideointelligenceV1p2beta1_ObjectTrackingAnnotation", +"properties": { +"confidence": { +"description": "Object category's labeling confidence of this track.", +"format": "float", +"type": "number" +}, +"entity": { +"$ref": "GoogleCloudVideointelligenceV1p2beta1_Entity", +"description": "Entity to specify the object category that this track is labeled as." +}, +"frames": { +"description": "Information corresponding to all frames where this object track appears. Non-streaming batch mode: it may be one or multiple ObjectTrackingFrame messages in frames. Streaming mode: it can only be one ObjectTrackingFrame message in frames.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1p2beta1_ObjectTrackingFrame" +}, +"type": "array" +}, +"segment": { +"$ref": "GoogleCloudVideointelligenceV1p2beta1_VideoSegment", +"description": "Non-streaming batch mode ONLY. Each object track corresponds to one video segment where it appears." +}, +"trackId": { +"description": "Streaming mode ONLY. In streaming mode, we do not know the end time of a tracked object before it is completed. Hence, there is no VideoSegment info returned. Instead, we provide a unique identifiable integer track_id so that the customers can correlate the results of the ongoing ObjectTrackAnnotation of the same track_id over time.", +"format": "int64", +"type": "string" +}, +"version": { +"description": "Feature version.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1p2beta1_ObjectTrackingFrame": { +"description": "Video frame level annotations for object detection and tracking. This field stores per frame location, time offset, and confidence.", +"id": "GoogleCloudVideointelligenceV1p2beta1_ObjectTrackingFrame", +"properties": { +"normalizedBoundingBox": { +"$ref": "GoogleCloudVideointelligenceV1p2beta1_NormalizedBoundingBox", +"description": "The normalized bounding box location of this object track for the frame." +}, +"timeOffset": { +"description": "The timestamp of the frame in microseconds.", +"format": "google-duration", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1p2beta1_PersonDetectionAnnotation": { +"description": "Person detection annotation per video.", +"id": "GoogleCloudVideointelligenceV1p2beta1_PersonDetectionAnnotation", +"properties": { +"tracks": { +"description": "The detected tracks of a person.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1p2beta1_Track" +}, +"type": "array" +}, +"version": { +"description": "Feature version.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1p2beta1_SpeechRecognitionAlternative": { +"description": "Alternative hypotheses (a.k.a. n-best list).", +"id": "GoogleCloudVideointelligenceV1p2beta1_SpeechRecognitionAlternative", +"properties": { +"confidence": { +"description": "Output only. The confidence estimate between 0.0 and 1.0. A higher number indicates an estimated greater likelihood that the recognized words are correct. This field is set only for the top alternative. This field is not guaranteed to be accurate and users should not rely on it to be always provided. The default of 0.0 is a sentinel value indicating `confidence` was not set.", +"format": "float", +"readOnly": true, +"type": "number" +}, +"transcript": { +"description": "Transcript text representing the words that the user spoke.", +"type": "string" +}, +"words": { +"description": "Output only. A list of word-specific information for each recognized word. Note: When `enable_speaker_diarization` is set to true, you will see all the words from the beginning of the audio.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1p2beta1_WordInfo" +}, +"readOnly": true, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1p2beta1_SpeechTranscription": { +"description": "A speech recognition result corresponding to a portion of the audio.", +"id": "GoogleCloudVideointelligenceV1p2beta1_SpeechTranscription", +"properties": { +"alternatives": { +"description": "May contain one or more recognition hypotheses (up to the maximum specified in `max_alternatives`). These alternatives are ordered in terms of accuracy, with the top (first) alternative being the most probable, as ranked by the recognizer.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1p2beta1_SpeechRecognitionAlternative" +}, +"type": "array" +}, +"languageCode": { +"description": "Output only. The [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag of the language in this result. This language code was detected to have the most likelihood of being spoken in the audio.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1p2beta1_TextAnnotation": { +"description": "Annotations related to one detected OCR text snippet. This will contain the corresponding text, confidence value, and frame level information for each detection.", +"id": "GoogleCloudVideointelligenceV1p2beta1_TextAnnotation", +"properties": { +"segments": { +"description": "All video segments where OCR detected text appears.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1p2beta1_TextSegment" +}, +"type": "array" +}, +"text": { +"description": "The detected text.", +"type": "string" +}, +"version": { +"description": "Feature version.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1p2beta1_TextFrame": { +"description": "Video frame level annotation results for text annotation (OCR). Contains information regarding timestamp and bounding box locations for the frames containing detected OCR text snippets.", +"id": "GoogleCloudVideointelligenceV1p2beta1_TextFrame", +"properties": { +"rotatedBoundingBox": { +"$ref": "GoogleCloudVideointelligenceV1p2beta1_NormalizedBoundingPoly", +"description": "Bounding polygon of the detected text for this frame." +}, +"timeOffset": { +"description": "Timestamp of this frame.", +"format": "google-duration", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1p2beta1_TextSegment": { +"description": "Video segment level annotation results for text detection.", +"id": "GoogleCloudVideointelligenceV1p2beta1_TextSegment", +"properties": { +"confidence": { +"description": "Confidence for the track of detected text. It is calculated as the highest over all frames where OCR detected text appears.", +"format": "float", +"type": "number" +}, +"frames": { +"description": "Information related to the frames where OCR detected text appears.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1p2beta1_TextFrame" +}, +"type": "array" +}, +"segment": { +"$ref": "GoogleCloudVideointelligenceV1p2beta1_VideoSegment", +"description": "Video segment where a text snippet was detected." +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1p2beta1_TimestampedObject": { +"description": "For tracking related features. An object at time_offset with attributes, and located with normalized_bounding_box.", +"id": "GoogleCloudVideointelligenceV1p2beta1_TimestampedObject", +"properties": { +"attributes": { +"description": "Optional. The attributes of the object in the bounding box.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1p2beta1_DetectedAttribute" +}, +"type": "array" +}, +"landmarks": { +"description": "Optional. The detected landmarks.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1p2beta1_DetectedLandmark" +}, +"type": "array" +}, +"normalizedBoundingBox": { +"$ref": "GoogleCloudVideointelligenceV1p2beta1_NormalizedBoundingBox", +"description": "Normalized Bounding box in a frame, where the object is located." +}, +"timeOffset": { +"description": "Time-offset, relative to the beginning of the video, corresponding to the video frame for this object.", +"format": "google-duration", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1p2beta1_Track": { +"description": "A track of an object instance.", +"id": "GoogleCloudVideointelligenceV1p2beta1_Track", +"properties": { +"attributes": { +"description": "Optional. Attributes in the track level.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1p2beta1_DetectedAttribute" +}, +"type": "array" +}, +"confidence": { +"description": "Optional. The confidence score of the tracked object.", +"format": "float", +"type": "number" +}, +"segment": { +"$ref": "GoogleCloudVideointelligenceV1p2beta1_VideoSegment", +"description": "Video segment of a track." +}, +"timestampedObjects": { +"description": "The object with timestamp and attributes per frame in the track.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1p2beta1_TimestampedObject" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1p2beta1_VideoAnnotationProgress": { +"description": "Annotation progress for a single video.", +"id": "GoogleCloudVideointelligenceV1p2beta1_VideoAnnotationProgress", +"properties": { +"exportStatus": { +"$ref": "GoogleCloudVideointelligenceV1p2beta1_ExportToOutputUriStatus", +"description": "Status of exporting annotation response to user specified `output_uri`. Only set if `output_uri` is set in the request." +}, +"feature": { +"description": "Specifies which feature is being tracked if the request contains more than one feature.", +"enum": [ +"FEATURE_UNSPECIFIED", +"LABEL_DETECTION", +"SHOT_CHANGE_DETECTION", +"EXPLICIT_CONTENT_DETECTION", +"FACE_DETECTION", +"SPEECH_TRANSCRIPTION", +"TEXT_DETECTION", +"OBJECT_TRACKING", +"LOGO_RECOGNITION", +"PERSON_DETECTION" +], +"enumDescriptions": [ +"Unspecified.", +"Label detection. Detect objects, such as dog or flower.", +"Shot change detection.", +"Explicit content detection.", +"Human face detection.", +"Speech transcription.", +"OCR text detection and tracking.", +"Object detection and tracking.", +"Logo detection, tracking, and recognition.", +"Person detection." +], +"type": "string" +}, +"inputUri": { +"description": "Video file location in [Cloud Storage](https://cloud.google.com/storage/).", +"type": "string" +}, +"progressPercent": { +"description": "Approximate percentage processed thus far. Guaranteed to be 100 when fully processed.", +"format": "int32", +"type": "integer" +}, +"segment": { +"$ref": "GoogleCloudVideointelligenceV1p2beta1_VideoSegment", +"description": "Specifies which segment is being tracked if the request contains more than one segment." +}, +"startTime": { +"description": "Time when the request was received.", +"format": "google-datetime", +"type": "string" +}, +"updateTime": { +"description": "Time of the most recent update.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1p2beta1_VideoAnnotationResults": { +"description": "Annotation results for a single video.", +"id": "GoogleCloudVideointelligenceV1p2beta1_VideoAnnotationResults", +"properties": { +"error": { +"$ref": "GoogleRpc_Status", +"description": "If set, indicates an error. Note that for a single `AnnotateVideoRequest` some videos may succeed and some may fail." +}, +"explicitAnnotation": { +"$ref": "GoogleCloudVideointelligenceV1p2beta1_ExplicitContentAnnotation", +"description": "Explicit content annotation." +}, +"faceAnnotations": { +"deprecated": true, +"description": "Deprecated. Please use `face_detection_annotations` instead.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1p2beta1_FaceAnnotation" +}, +"type": "array" +}, +"faceDetectionAnnotations": { +"description": "Face detection annotations.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1p2beta1_FaceDetectionAnnotation" +}, +"type": "array" +}, +"frameLabelAnnotations": { +"description": "Label annotations on frame level. There is exactly one element for each unique label.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1p2beta1_LabelAnnotation" +}, +"type": "array" +}, +"inputUri": { +"description": "Video file location in [Cloud Storage](https://cloud.google.com/storage/).", +"type": "string" +}, +"logoRecognitionAnnotations": { +"description": "Annotations for list of logos detected, tracked and recognized in video.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1p2beta1_LogoRecognitionAnnotation" +}, +"type": "array" +}, +"objectAnnotations": { +"description": "Annotations for list of objects detected and tracked in video.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1p2beta1_ObjectTrackingAnnotation" +}, +"type": "array" +}, +"personDetectionAnnotations": { +"description": "Person detection annotations.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1p2beta1_PersonDetectionAnnotation" +}, +"type": "array" +}, +"segment": { +"$ref": "GoogleCloudVideointelligenceV1p2beta1_VideoSegment", +"description": "Video segment on which the annotation is run." +}, +"segmentLabelAnnotations": { +"description": "Topical label annotations on video level or user-specified segment level. There is exactly one element for each unique label.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1p2beta1_LabelAnnotation" +}, +"type": "array" +}, +"segmentPresenceLabelAnnotations": { +"description": "Presence label annotations on video level or user-specified segment level. There is exactly one element for each unique label. Compared to the existing topical `segment_label_annotations`, this field presents more fine-grained, segment-level labels detected in video content and is made available only when the client sets `LabelDetectionConfig.model` to \"builtin/latest\" in the request.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1p2beta1_LabelAnnotation" +}, +"type": "array" +}, +"shotAnnotations": { +"description": "Shot annotations. Each shot is represented as a video segment.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1p2beta1_VideoSegment" +}, +"type": "array" +}, +"shotLabelAnnotations": { +"description": "Topical label annotations on shot level. There is exactly one element for each unique label.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1p2beta1_LabelAnnotation" +}, +"type": "array" +}, +"shotPresenceLabelAnnotations": { +"description": "Presence label annotations on shot level. There is exactly one element for each unique label. Compared to the existing topical `shot_label_annotations`, this field presents more fine-grained, shot-level labels detected in video content and is made available only when the client sets `LabelDetectionConfig.model` to \"builtin/latest\" in the request.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1p2beta1_LabelAnnotation" +}, +"type": "array" +}, +"speechTranscriptions": { +"description": "Speech transcription.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1p2beta1_SpeechTranscription" +}, +"type": "array" +}, +"textAnnotations": { +"description": "OCR text detection and tracking. Annotations for list of detected text snippets. Each will have list of frame information associated with it.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1p2beta1_TextAnnotation" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1p2beta1_VideoSegment": { +"description": "Video segment.", +"id": "GoogleCloudVideointelligenceV1p2beta1_VideoSegment", +"properties": { +"endTimeOffset": { +"description": "Time-offset, relative to the beginning of the video, corresponding to the end of the segment (inclusive).", +"format": "google-duration", +"type": "string" +}, +"startTimeOffset": { +"description": "Time-offset, relative to the beginning of the video, corresponding to the start of the segment (inclusive).", +"format": "google-duration", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1p2beta1_WordInfo": { +"description": "Word-specific information for recognized words. Word information is only included in the response when certain request parameters are set, such as `enable_word_time_offsets`.", +"id": "GoogleCloudVideointelligenceV1p2beta1_WordInfo", +"properties": { +"confidence": { +"description": "Output only. The confidence estimate between 0.0 and 1.0. A higher number indicates an estimated greater likelihood that the recognized words are correct. This field is set only for the top alternative. This field is not guaranteed to be accurate and users should not rely on it to be always provided. The default of 0.0 is a sentinel value indicating `confidence` was not set.", +"format": "float", +"readOnly": true, +"type": "number" +}, +"endTime": { +"description": "Time offset relative to the beginning of the audio, and corresponding to the end of the spoken word. This field is only set if `enable_word_time_offsets=true` and only in the top hypothesis. This is an experimental feature and the accuracy of the time offset can vary.", +"format": "google-duration", +"type": "string" +}, +"speakerTag": { +"description": "Output only. A distinct integer value is assigned for every speaker within the audio. This field specifies which one of those speakers was detected to have spoken this word. Value ranges from 1 up to diarization_speaker_count, and is only set if speaker diarization is enabled.", +"format": "int32", +"readOnly": true, +"type": "integer" +}, +"startTime": { +"description": "Time offset relative to the beginning of the audio, and corresponding to the start of the spoken word. This field is only set if `enable_word_time_offsets=true` and only in the top hypothesis. This is an experimental feature and the accuracy of the time offset can vary.", +"format": "google-duration", +"type": "string" +}, +"word": { +"description": "The word corresponding to this set of information.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1p3beta1_AnnotateVideoProgress": { +"description": "Video annotation progress. Included in the `metadata` field of the `Operation` returned by the `GetOperation` call of the `google::longrunning::Operations` service.", +"id": "GoogleCloudVideointelligenceV1p3beta1_AnnotateVideoProgress", +"properties": { +"annotationProgress": { +"description": "Progress metadata for all videos specified in `AnnotateVideoRequest`.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1p3beta1_VideoAnnotationProgress" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1p3beta1_AnnotateVideoResponse": { +"description": "Video annotation response. Included in the `response` field of the `Operation` returned by the `GetOperation` call of the `google::longrunning::Operations` service.", +"id": "GoogleCloudVideointelligenceV1p3beta1_AnnotateVideoResponse", +"properties": { +"annotationResults": { +"description": "Annotation results for all videos specified in `AnnotateVideoRequest`.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1p3beta1_VideoAnnotationResults" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1p3beta1_Celebrity": { +"description": "Celebrity definition.", +"id": "GoogleCloudVideointelligenceV1p3beta1_Celebrity", +"properties": { +"description": { +"description": "Textual description of additional information about the celebrity, if applicable.", +"type": "string" +}, +"displayName": { +"description": "The celebrity name.", +"type": "string" +}, +"name": { +"description": "The resource name of the celebrity. Have the format `video-intelligence/kg-mid` indicates a celebrity from preloaded gallery. kg-mid is the id in Google knowledge graph, which is unique for the celebrity.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1p3beta1_CelebrityRecognitionAnnotation": { +"description": "Celebrity recognition annotation per video.", +"id": "GoogleCloudVideointelligenceV1p3beta1_CelebrityRecognitionAnnotation", +"properties": { +"celebrityTracks": { +"description": "The tracks detected from the input video, including recognized celebrities and other detected faces in the video.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1p3beta1_CelebrityTrack" +}, +"type": "array" +}, +"version": { +"description": "Feature version.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1p3beta1_CelebrityTrack": { +"description": "The annotation result of a celebrity face track. RecognizedCelebrity field could be empty if the face track does not have any matched celebrities.", +"id": "GoogleCloudVideointelligenceV1p3beta1_CelebrityTrack", +"properties": { +"celebrities": { +"description": "Top N match of the celebrities for the face in this track.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1p3beta1_RecognizedCelebrity" +}, +"type": "array" +}, +"faceTrack": { +"$ref": "GoogleCloudVideointelligenceV1p3beta1_Track", +"description": "A track of a person's face." +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1p3beta1_DetectedAttribute": { +"description": "A generic detected attribute represented by name in string format.", +"id": "GoogleCloudVideointelligenceV1p3beta1_DetectedAttribute", +"properties": { +"confidence": { +"description": "Detected attribute confidence. Range [0, 1].", +"format": "float", +"type": "number" +}, +"name": { +"description": "The name of the attribute, for example, glasses, dark_glasses, mouth_open. A full list of supported type names will be provided in the document.", +"type": "string" +}, +"value": { +"description": "Text value of the detection result. For example, the value for \"HairColor\" can be \"black\", \"blonde\", etc.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1p3beta1_DetectedLandmark": { +"description": "A generic detected landmark represented by name in string format and a 2D location.", +"id": "GoogleCloudVideointelligenceV1p3beta1_DetectedLandmark", +"properties": { +"confidence": { +"description": "The confidence score of the detected landmark. Range [0, 1].", +"format": "float", +"type": "number" +}, +"name": { +"description": "The name of this landmark, for example, left_hand, right_shoulder.", +"type": "string" +}, +"point": { +"$ref": "GoogleCloudVideointelligenceV1p3beta1_NormalizedVertex", +"description": "The 2D point of the detected landmark using the normalized image coordinate system. The normalized coordinates have the range from 0 to 1." +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1p3beta1_Entity": { +"description": "Detected entity from video analysis.", +"id": "GoogleCloudVideointelligenceV1p3beta1_Entity", +"properties": { +"description": { +"description": "Textual description, e.g., `Fixed-gear bicycle`.", +"type": "string" +}, +"entityId": { +"description": "Opaque entity ID. Some IDs may be available in [Google Knowledge Graph Search API](https://developers.google.com/knowledge-graph/).", +"type": "string" +}, +"languageCode": { +"description": "Language code for `description` in BCP-47 format.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1p3beta1_ExplicitContentAnnotation": { +"description": "Explicit content annotation (based on per-frame visual signals only). If no explicit content has been detected in a frame, no annotations are present for that frame.", +"id": "GoogleCloudVideointelligenceV1p3beta1_ExplicitContentAnnotation", +"properties": { +"frames": { +"description": "All video frames where explicit content was detected.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1p3beta1_ExplicitContentFrame" +}, +"type": "array" +}, +"version": { +"description": "Feature version.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1p3beta1_ExplicitContentFrame": { +"description": "Video frame level annotation results for explicit content.", +"id": "GoogleCloudVideointelligenceV1p3beta1_ExplicitContentFrame", +"properties": { +"pornographyLikelihood": { +"description": "Likelihood of the pornography content..", +"enum": [ +"LIKELIHOOD_UNSPECIFIED", +"VERY_UNLIKELY", +"UNLIKELY", +"POSSIBLE", +"LIKELY", +"VERY_LIKELY" +], +"enumDescriptions": [ +"Unspecified likelihood.", +"Very unlikely.", +"Unlikely.", +"Possible.", +"Likely.", +"Very likely." +], +"type": "string" +}, +"timeOffset": { +"description": "Time-offset, relative to the beginning of the video, corresponding to the video frame for this location.", +"format": "google-duration", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1p3beta1_ExportToOutputUriStatus": { +"description": "Status of exporting annotation response to user specified `output_uri`.", +"id": "GoogleCloudVideointelligenceV1p3beta1_ExportToOutputUriStatus", +"properties": { +"state": { +"description": "Output only. State of the `output_uri` export.", +"enum": [ +"STATE_UNSPECIFIED", +"SUCCEEDED", +"FAILED" +], +"enumDescriptions": [ +"Default value.", +"Export succeeded.", +"Export failed." +], +"readOnly": true, +"type": "string" +}, +"status": { +"$ref": "GoogleRpc_Status", +"description": "Output only. Only set if state is FAILED.", +"readOnly": true +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1p3beta1_FaceAnnotation": { +"deprecated": true, +"description": "Deprecated. No effect.", +"id": "GoogleCloudVideointelligenceV1p3beta1_FaceAnnotation", +"properties": { +"frames": { +"description": "All video frames where a face was detected.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1p3beta1_FaceFrame" +}, +"type": "array" +}, +"segments": { +"description": "All video segments where a face was detected.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1p3beta1_FaceSegment" +}, +"type": "array" +}, +"thumbnail": { +"description": "Thumbnail of a representative face view (in JPEG format).", +"format": "byte", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1p3beta1_FaceDetectionAnnotation": { +"description": "Face detection annotation.", +"id": "GoogleCloudVideointelligenceV1p3beta1_FaceDetectionAnnotation", +"properties": { +"thumbnail": { +"description": "The thumbnail of a person's face.", +"format": "byte", +"type": "string" +}, +"tracks": { +"description": "The face tracks with attributes.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1p3beta1_Track" +}, +"type": "array" +}, +"version": { +"description": "Feature version.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1p3beta1_FaceFrame": { +"deprecated": true, +"description": "Deprecated. No effect.", +"id": "GoogleCloudVideointelligenceV1p3beta1_FaceFrame", +"properties": { +"normalizedBoundingBoxes": { +"description": "Normalized Bounding boxes in a frame. There can be more than one boxes if the same face is detected in multiple locations within the current frame.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1p3beta1_NormalizedBoundingBox" +}, +"type": "array" +}, +"timeOffset": { +"description": "Time-offset, relative to the beginning of the video, corresponding to the video frame for this location.", +"format": "google-duration", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1p3beta1_FaceSegment": { +"description": "Video segment level annotation results for face detection.", +"id": "GoogleCloudVideointelligenceV1p3beta1_FaceSegment", +"properties": { +"segment": { +"$ref": "GoogleCloudVideointelligenceV1p3beta1_VideoSegment", +"description": "Video segment where a face was detected." +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1p3beta1_LabelAnnotation": { +"description": "Label annotation.", +"id": "GoogleCloudVideointelligenceV1p3beta1_LabelAnnotation", +"properties": { +"categoryEntities": { +"description": "Common categories for the detected entity. For example, when the label is `Terrier`, the category is likely `dog`. And in some cases there might be more than one categories e.g., `Terrier` could also be a `pet`.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1p3beta1_Entity" +}, +"type": "array" +}, +"entity": { +"$ref": "GoogleCloudVideointelligenceV1p3beta1_Entity", +"description": "Detected entity." +}, +"frames": { +"description": "All video frames where a label was detected.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1p3beta1_LabelFrame" +}, +"type": "array" +}, +"segments": { +"description": "All video segments where a label was detected.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1p3beta1_LabelSegment" +}, +"type": "array" +}, +"version": { +"description": "Feature version.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1p3beta1_LabelFrame": { +"description": "Video frame level annotation results for label detection.", +"id": "GoogleCloudVideointelligenceV1p3beta1_LabelFrame", +"properties": { +"confidence": { +"description": "Confidence that the label is accurate. Range: [0, 1].", +"format": "float", +"type": "number" +}, +"timeOffset": { +"description": "Time-offset, relative to the beginning of the video, corresponding to the video frame for this location.", +"format": "google-duration", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1p3beta1_LabelSegment": { +"description": "Video segment level annotation results for label detection.", +"id": "GoogleCloudVideointelligenceV1p3beta1_LabelSegment", +"properties": { +"confidence": { +"description": "Confidence that the label is accurate. Range: [0, 1].", +"format": "float", +"type": "number" +}, +"segment": { +"$ref": "GoogleCloudVideointelligenceV1p3beta1_VideoSegment", +"description": "Video segment where a label was detected." +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1p3beta1_LogoRecognitionAnnotation": { +"description": "Annotation corresponding to one detected, tracked and recognized logo class.", +"id": "GoogleCloudVideointelligenceV1p3beta1_LogoRecognitionAnnotation", +"properties": { +"entity": { +"$ref": "GoogleCloudVideointelligenceV1p3beta1_Entity", +"description": "Entity category information to specify the logo class that all the logo tracks within this LogoRecognitionAnnotation are recognized as." +}, +"segments": { +"description": "All video segments where the recognized logo appears. There might be multiple instances of the same logo class appearing in one VideoSegment.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1p3beta1_VideoSegment" +}, +"type": "array" +}, +"tracks": { +"description": "All logo tracks where the recognized logo appears. Each track corresponds to one logo instance appearing in consecutive frames.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1p3beta1_Track" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1p3beta1_NormalizedBoundingBox": { +"description": "Normalized bounding box. The normalized vertex coordinates are relative to the original image. Range: [0, 1].", +"id": "GoogleCloudVideointelligenceV1p3beta1_NormalizedBoundingBox", +"properties": { +"bottom": { +"description": "Bottom Y coordinate.", +"format": "float", +"type": "number" +}, +"left": { +"description": "Left X coordinate.", +"format": "float", +"type": "number" +}, +"right": { +"description": "Right X coordinate.", +"format": "float", +"type": "number" +}, +"top": { +"description": "Top Y coordinate.", +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1p3beta1_NormalizedBoundingPoly": { +"description": "Normalized bounding polygon for text (that might not be aligned with axis). Contains list of the corner points in clockwise order starting from top-left corner. For example, for a rectangular bounding box: When the text is horizontal it might look like: 0----1 | | 3----2 When it's clockwise rotated 180 degrees around the top-left corner it becomes: 2----3 | | 1----0 and the vertex order will still be (0, 1, 2, 3). Note that values can be less than 0, or greater than 1 due to trigonometric calculations for location of the box.", +"id": "GoogleCloudVideointelligenceV1p3beta1_NormalizedBoundingPoly", +"properties": { +"vertices": { +"description": "Normalized vertices of the bounding polygon.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1p3beta1_NormalizedVertex" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1p3beta1_NormalizedVertex": { +"description": "A vertex represents a 2D point in the image. NOTE: the normalized vertex coordinates are relative to the original image and range from 0 to 1.", +"id": "GoogleCloudVideointelligenceV1p3beta1_NormalizedVertex", +"properties": { +"x": { +"description": "X coordinate.", +"format": "float", +"type": "number" +}, +"y": { +"description": "Y coordinate.", +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1p3beta1_ObjectTrackingAnnotation": { +"description": "Annotations corresponding to one tracked object.", +"id": "GoogleCloudVideointelligenceV1p3beta1_ObjectTrackingAnnotation", +"properties": { +"confidence": { +"description": "Object category's labeling confidence of this track.", +"format": "float", +"type": "number" +}, +"entity": { +"$ref": "GoogleCloudVideointelligenceV1p3beta1_Entity", +"description": "Entity to specify the object category that this track is labeled as." +}, +"frames": { +"description": "Information corresponding to all frames where this object track appears. Non-streaming batch mode: it may be one or multiple ObjectTrackingFrame messages in frames. Streaming mode: it can only be one ObjectTrackingFrame message in frames.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1p3beta1_ObjectTrackingFrame" +}, +"type": "array" +}, +"segment": { +"$ref": "GoogleCloudVideointelligenceV1p3beta1_VideoSegment", +"description": "Non-streaming batch mode ONLY. Each object track corresponds to one video segment where it appears." +}, +"trackId": { +"description": "Streaming mode ONLY. In streaming mode, we do not know the end time of a tracked object before it is completed. Hence, there is no VideoSegment info returned. Instead, we provide a unique identifiable integer track_id so that the customers can correlate the results of the ongoing ObjectTrackAnnotation of the same track_id over time.", +"format": "int64", +"type": "string" +}, +"version": { +"description": "Feature version.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1p3beta1_ObjectTrackingFrame": { +"description": "Video frame level annotations for object detection and tracking. This field stores per frame location, time offset, and confidence.", +"id": "GoogleCloudVideointelligenceV1p3beta1_ObjectTrackingFrame", +"properties": { +"normalizedBoundingBox": { +"$ref": "GoogleCloudVideointelligenceV1p3beta1_NormalizedBoundingBox", +"description": "The normalized bounding box location of this object track for the frame." +}, +"timeOffset": { +"description": "The timestamp of the frame in microseconds.", +"format": "google-duration", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1p3beta1_PersonDetectionAnnotation": { +"description": "Person detection annotation per video.", +"id": "GoogleCloudVideointelligenceV1p3beta1_PersonDetectionAnnotation", +"properties": { +"tracks": { +"description": "The detected tracks of a person.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1p3beta1_Track" +}, +"type": "array" +}, +"version": { +"description": "Feature version.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1p3beta1_RecognizedCelebrity": { +"description": "The recognized celebrity with confidence score.", +"id": "GoogleCloudVideointelligenceV1p3beta1_RecognizedCelebrity", +"properties": { +"celebrity": { +"$ref": "GoogleCloudVideointelligenceV1p3beta1_Celebrity", +"description": "The recognized celebrity." +}, +"confidence": { +"description": "Recognition confidence. Range [0, 1].", +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1p3beta1_SpeechRecognitionAlternative": { +"description": "Alternative hypotheses (a.k.a. n-best list).", +"id": "GoogleCloudVideointelligenceV1p3beta1_SpeechRecognitionAlternative", +"properties": { +"confidence": { +"description": "Output only. The confidence estimate between 0.0 and 1.0. A higher number indicates an estimated greater likelihood that the recognized words are correct. This field is set only for the top alternative. This field is not guaranteed to be accurate and users should not rely on it to be always provided. The default of 0.0 is a sentinel value indicating `confidence` was not set.", +"format": "float", +"readOnly": true, +"type": "number" +}, +"transcript": { +"description": "Transcript text representing the words that the user spoke.", +"type": "string" +}, +"words": { +"description": "Output only. A list of word-specific information for each recognized word. Note: When `enable_speaker_diarization` is set to true, you will see all the words from the beginning of the audio.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1p3beta1_WordInfo" +}, +"readOnly": true, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1p3beta1_SpeechTranscription": { +"description": "A speech recognition result corresponding to a portion of the audio.", +"id": "GoogleCloudVideointelligenceV1p3beta1_SpeechTranscription", +"properties": { +"alternatives": { +"description": "May contain one or more recognition hypotheses (up to the maximum specified in `max_alternatives`). These alternatives are ordered in terms of accuracy, with the top (first) alternative being the most probable, as ranked by the recognizer.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1p3beta1_SpeechRecognitionAlternative" +}, +"type": "array" +}, +"languageCode": { +"description": "Output only. The [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag of the language in this result. This language code was detected to have the most likelihood of being spoken in the audio.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1p3beta1_StreamingAnnotateVideoResponse": { +"description": "`StreamingAnnotateVideoResponse` is the only message returned to the client by `StreamingAnnotateVideo`. A series of zero or more `StreamingAnnotateVideoResponse` messages are streamed back to the client.", +"id": "GoogleCloudVideointelligenceV1p3beta1_StreamingAnnotateVideoResponse", +"properties": { +"annotationResults": { +"$ref": "GoogleCloudVideointelligenceV1p3beta1_StreamingVideoAnnotationResults", +"description": "Streaming annotation results." +}, +"annotationResultsUri": { +"description": "Google Cloud Storage URI that stores annotation results of one streaming session in JSON format. It is the annotation_result_storage_directory from the request followed by '/cloud_project_number-session_id'.", +"type": "string" +}, +"error": { +"$ref": "GoogleRpc_Status", +"description": "If set, returns a google.rpc.Status message that specifies the error for the operation." +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1p3beta1_StreamingVideoAnnotationResults": { +"description": "Streaming annotation results corresponding to a portion of the video that is currently being processed. Only ONE type of annotation will be specified in the response.", +"id": "GoogleCloudVideointelligenceV1p3beta1_StreamingVideoAnnotationResults", +"properties": { +"explicitAnnotation": { +"$ref": "GoogleCloudVideointelligenceV1p3beta1_ExplicitContentAnnotation", +"description": "Explicit content annotation results." +}, +"frameTimestamp": { +"description": "Timestamp of the processed frame in microseconds.", +"format": "google-duration", +"type": "string" +}, +"labelAnnotations": { +"description": "Label annotation results.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1p3beta1_LabelAnnotation" +}, +"type": "array" +}, +"objectAnnotations": { +"description": "Object tracking results.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1p3beta1_ObjectTrackingAnnotation" +}, +"type": "array" +}, +"shotAnnotations": { +"description": "Shot annotation results. Each shot is represented as a video segment.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1p3beta1_VideoSegment" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1p3beta1_TextAnnotation": { +"description": "Annotations related to one detected OCR text snippet. This will contain the corresponding text, confidence value, and frame level information for each detection.", +"id": "GoogleCloudVideointelligenceV1p3beta1_TextAnnotation", +"properties": { +"segments": { +"description": "All video segments where OCR detected text appears.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1p3beta1_TextSegment" +}, +"type": "array" +}, +"text": { +"description": "The detected text.", +"type": "string" +}, +"version": { +"description": "Feature version.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1p3beta1_TextFrame": { +"description": "Video frame level annotation results for text annotation (OCR). Contains information regarding timestamp and bounding box locations for the frames containing detected OCR text snippets.", +"id": "GoogleCloudVideointelligenceV1p3beta1_TextFrame", +"properties": { +"rotatedBoundingBox": { +"$ref": "GoogleCloudVideointelligenceV1p3beta1_NormalizedBoundingPoly", +"description": "Bounding polygon of the detected text for this frame." +}, +"timeOffset": { +"description": "Timestamp of this frame.", +"format": "google-duration", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1p3beta1_TextSegment": { +"description": "Video segment level annotation results for text detection.", +"id": "GoogleCloudVideointelligenceV1p3beta1_TextSegment", +"properties": { +"confidence": { +"description": "Confidence for the track of detected text. It is calculated as the highest over all frames where OCR detected text appears.", +"format": "float", +"type": "number" +}, +"frames": { +"description": "Information related to the frames where OCR detected text appears.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1p3beta1_TextFrame" +}, +"type": "array" +}, +"segment": { +"$ref": "GoogleCloudVideointelligenceV1p3beta1_VideoSegment", +"description": "Video segment where a text snippet was detected." +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1p3beta1_TimestampedObject": { +"description": "For tracking related features. An object at time_offset with attributes, and located with normalized_bounding_box.", +"id": "GoogleCloudVideointelligenceV1p3beta1_TimestampedObject", +"properties": { +"attributes": { +"description": "Optional. The attributes of the object in the bounding box.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1p3beta1_DetectedAttribute" +}, +"type": "array" +}, +"landmarks": { +"description": "Optional. The detected landmarks.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1p3beta1_DetectedLandmark" +}, +"type": "array" +}, +"normalizedBoundingBox": { +"$ref": "GoogleCloudVideointelligenceV1p3beta1_NormalizedBoundingBox", +"description": "Normalized Bounding box in a frame, where the object is located." +}, +"timeOffset": { +"description": "Time-offset, relative to the beginning of the video, corresponding to the video frame for this object.", +"format": "google-duration", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1p3beta1_Track": { +"description": "A track of an object instance.", +"id": "GoogleCloudVideointelligenceV1p3beta1_Track", +"properties": { +"attributes": { +"description": "Optional. Attributes in the track level.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1p3beta1_DetectedAttribute" +}, +"type": "array" +}, +"confidence": { +"description": "Optional. The confidence score of the tracked object.", +"format": "float", +"type": "number" +}, +"segment": { +"$ref": "GoogleCloudVideointelligenceV1p3beta1_VideoSegment", +"description": "Video segment of a track." +}, +"timestampedObjects": { +"description": "The object with timestamp and attributes per frame in the track.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1p3beta1_TimestampedObject" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1p3beta1_VideoAnnotationProgress": { +"description": "Annotation progress for a single video.", +"id": "GoogleCloudVideointelligenceV1p3beta1_VideoAnnotationProgress", +"properties": { +"exportStatus": { +"$ref": "GoogleCloudVideointelligenceV1p3beta1_ExportToOutputUriStatus", +"description": "Status of exporting annotation response to user specified `output_uri`. Only set if `output_uri` is set in the request." +}, +"feature": { +"description": "Specifies which feature is being tracked if the request contains more than one feature.", +"enum": [ +"FEATURE_UNSPECIFIED", +"LABEL_DETECTION", +"SHOT_CHANGE_DETECTION", +"EXPLICIT_CONTENT_DETECTION", +"FACE_DETECTION", +"SPEECH_TRANSCRIPTION", +"TEXT_DETECTION", +"OBJECT_TRACKING", +"LOGO_RECOGNITION", +"CELEBRITY_RECOGNITION", +"PERSON_DETECTION" +], +"enumDescriptions": [ +"Unspecified.", +"Label detection. Detect objects, such as dog or flower.", +"Shot change detection.", +"Explicit content detection.", +"Human face detection.", +"Speech transcription.", +"OCR text detection and tracking.", +"Object detection and tracking.", +"Logo detection, tracking, and recognition.", +"Celebrity recognition.", +"Person detection." +], +"type": "string" +}, +"inputUri": { +"description": "Video file location in [Cloud Storage](https://cloud.google.com/storage/).", +"type": "string" +}, +"progressPercent": { +"description": "Approximate percentage processed thus far. Guaranteed to be 100 when fully processed.", +"format": "int32", +"type": "integer" +}, +"segment": { +"$ref": "GoogleCloudVideointelligenceV1p3beta1_VideoSegment", +"description": "Specifies which segment is being tracked if the request contains more than one segment." +}, +"startTime": { +"description": "Time when the request was received.", +"format": "google-datetime", +"type": "string" +}, +"updateTime": { +"description": "Time of the most recent update.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1p3beta1_VideoAnnotationResults": { +"description": "Annotation results for a single video.", +"id": "GoogleCloudVideointelligenceV1p3beta1_VideoAnnotationResults", +"properties": { +"celebrityRecognitionAnnotations": { +"$ref": "GoogleCloudVideointelligenceV1p3beta1_CelebrityRecognitionAnnotation", +"description": "Celebrity recognition annotations." +}, +"error": { +"$ref": "GoogleRpc_Status", +"description": "If set, indicates an error. Note that for a single `AnnotateVideoRequest` some videos may succeed and some may fail." +}, +"explicitAnnotation": { +"$ref": "GoogleCloudVideointelligenceV1p3beta1_ExplicitContentAnnotation", +"description": "Explicit content annotation." +}, +"faceAnnotations": { +"deprecated": true, +"description": "Deprecated. Please use `face_detection_annotations` instead.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1p3beta1_FaceAnnotation" +}, +"type": "array" +}, +"faceDetectionAnnotations": { +"description": "Face detection annotations.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1p3beta1_FaceDetectionAnnotation" +}, +"type": "array" +}, +"frameLabelAnnotations": { +"description": "Label annotations on frame level. There is exactly one element for each unique label.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1p3beta1_LabelAnnotation" +}, +"type": "array" +}, +"inputUri": { +"description": "Video file location in [Cloud Storage](https://cloud.google.com/storage/).", +"type": "string" +}, +"logoRecognitionAnnotations": { +"description": "Annotations for list of logos detected, tracked and recognized in video.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1p3beta1_LogoRecognitionAnnotation" +}, +"type": "array" +}, +"objectAnnotations": { +"description": "Annotations for list of objects detected and tracked in video.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1p3beta1_ObjectTrackingAnnotation" +}, +"type": "array" +}, +"personDetectionAnnotations": { +"description": "Person detection annotations.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1p3beta1_PersonDetectionAnnotation" +}, +"type": "array" +}, +"segment": { +"$ref": "GoogleCloudVideointelligenceV1p3beta1_VideoSegment", +"description": "Video segment on which the annotation is run." +}, +"segmentLabelAnnotations": { +"description": "Topical label annotations on video level or user-specified segment level. There is exactly one element for each unique label.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1p3beta1_LabelAnnotation" +}, +"type": "array" +}, +"segmentPresenceLabelAnnotations": { +"description": "Presence label annotations on video level or user-specified segment level. There is exactly one element for each unique label. Compared to the existing topical `segment_label_annotations`, this field presents more fine-grained, segment-level labels detected in video content and is made available only when the client sets `LabelDetectionConfig.model` to \"builtin/latest\" in the request.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1p3beta1_LabelAnnotation" +}, +"type": "array" +}, +"shotAnnotations": { +"description": "Shot annotations. Each shot is represented as a video segment.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1p3beta1_VideoSegment" +}, +"type": "array" +}, +"shotLabelAnnotations": { +"description": "Topical label annotations on shot level. There is exactly one element for each unique label.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1p3beta1_LabelAnnotation" +}, +"type": "array" +}, +"shotPresenceLabelAnnotations": { +"description": "Presence label annotations on shot level. There is exactly one element for each unique label. Compared to the existing topical `shot_label_annotations`, this field presents more fine-grained, shot-level labels detected in video content and is made available only when the client sets `LabelDetectionConfig.model` to \"builtin/latest\" in the request.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1p3beta1_LabelAnnotation" +}, +"type": "array" +}, +"speechTranscriptions": { +"description": "Speech transcription.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1p3beta1_SpeechTranscription" +}, +"type": "array" +}, +"textAnnotations": { +"description": "OCR text detection and tracking. Annotations for list of detected text snippets. Each will have list of frame information associated with it.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1p3beta1_TextAnnotation" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1p3beta1_VideoSegment": { +"description": "Video segment.", +"id": "GoogleCloudVideointelligenceV1p3beta1_VideoSegment", +"properties": { +"endTimeOffset": { +"description": "Time-offset, relative to the beginning of the video, corresponding to the end of the segment (inclusive).", +"format": "google-duration", +"type": "string" +}, +"startTimeOffset": { +"description": "Time-offset, relative to the beginning of the video, corresponding to the start of the segment (inclusive).", +"format": "google-duration", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1p3beta1_WordInfo": { +"description": "Word-specific information for recognized words. Word information is only included in the response when certain request parameters are set, such as `enable_word_time_offsets`.", +"id": "GoogleCloudVideointelligenceV1p3beta1_WordInfo", +"properties": { +"confidence": { +"description": "Output only. The confidence estimate between 0.0 and 1.0. A higher number indicates an estimated greater likelihood that the recognized words are correct. This field is set only for the top alternative. This field is not guaranteed to be accurate and users should not rely on it to be always provided. The default of 0.0 is a sentinel value indicating `confidence` was not set.", +"format": "float", +"readOnly": true, +"type": "number" +}, +"endTime": { +"description": "Time offset relative to the beginning of the audio, and corresponding to the end of the spoken word. This field is only set if `enable_word_time_offsets=true` and only in the top hypothesis. This is an experimental feature and the accuracy of the time offset can vary.", +"format": "google-duration", +"type": "string" +}, +"speakerTag": { +"description": "Output only. A distinct integer value is assigned for every speaker within the audio. This field specifies which one of those speakers was detected to have spoken this word. Value ranges from 1 up to diarization_speaker_count, and is only set if speaker diarization is enabled.", +"format": "int32", +"readOnly": true, +"type": "integer" +}, +"startTime": { +"description": "Time offset relative to the beginning of the audio, and corresponding to the start of the spoken word. This field is only set if `enable_word_time_offsets=true` and only in the top hypothesis. This is an experimental feature and the accuracy of the time offset can vary.", +"format": "google-duration", +"type": "string" +}, +"word": { +"description": "The word corresponding to this set of information.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleLongrunning_CancelOperationRequest": { +"description": "The request message for Operations.CancelOperation.", +"id": "GoogleLongrunning_CancelOperationRequest", +"properties": {}, +"type": "object" +}, +"GoogleLongrunning_ListOperationsResponse": { +"description": "The response message for Operations.ListOperations.", +"id": "GoogleLongrunning_ListOperationsResponse", +"properties": { +"nextPageToken": { +"description": "The standard List next-page token.", +"type": "string" +}, +"operations": { +"description": "A list of operations that matches the specified filter in the request.", +"items": { +"$ref": "GoogleLongrunning_Operation" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleLongrunning_Operation": { +"description": "This resource represents a long-running operation that is the result of a network API call.", +"id": "GoogleLongrunning_Operation", +"properties": { +"done": { +"description": "If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.", +"type": "boolean" +}, +"error": { +"$ref": "GoogleRpc_Status", +"description": "The error result of the operation in case of failure or cancellation." +}, +"metadata": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.", +"type": "object" +}, +"name": { +"description": "The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.", +"type": "string" +}, +"response": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "The normal, successful response of the operation. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.", +"type": "object" +} +}, +"type": "object" +}, +"GoogleProtobuf_Empty": { +"description": "A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }", +"id": "GoogleProtobuf_Empty", +"properties": {}, +"type": "object" +}, +"GoogleRpc_Status": { +"description": "The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors).", +"id": "GoogleRpc_Status", +"properties": { +"code": { +"description": "The status code, which should be an enum value of google.rpc.Code.", +"format": "int32", +"type": "integer" +}, +"details": { +"description": "A list of messages that carry the error details. There is a common set of message types for APIs to use.", +"items": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.", +"type": "string" +} +}, +"type": "object" +} +}, +"servicePath": "", +"title": "Cloud Video Intelligence API", +"version": "v1", +"version_module": true +} \ No newline at end of file diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/videointelligence.v1beta2.json b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/videointelligence.v1beta2.json new file mode 100644 index 0000000000000000000000000000000000000000..32a856609ab7ee7d72e8d0c3645ed51c5e6ba40c --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/videointelligence.v1beta2.json @@ -0,0 +1,4930 @@ +{ +"auth": { +"oauth2": { +"scopes": { +"https://www.googleapis.com/auth/cloud-platform": { +"description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." +} +} +} +}, +"basePath": "", +"baseUrl": "https://videointelligence.googleapis.com/", +"batchPath": "batch", +"canonicalName": "Cloud Video Intelligence", +"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.", +"discoveryVersion": "v1", +"documentationLink": "https://cloud.google.com/video-intelligence/docs/", +"fullyEncodeReservedExpansion": true, +"icons": { +"x16": "http://www.google.com/images/icons/product/search-16.gif", +"x32": "http://www.google.com/images/icons/product/search-32.gif" +}, +"id": "videointelligence:v1beta2", +"kind": "discovery#restDescription", +"mtlsRootUrl": "https://videointelligence.mtls.googleapis.com/", +"name": "videointelligence", +"ownerDomain": "google.com", +"ownerName": "Google", +"parameters": { +"$.xgafv": { +"description": "V1 error format.", +"enum": [ +"1", +"2" +], +"enumDescriptions": [ +"v1 error format", +"v2 error format" +], +"location": "query", +"type": "string" +}, +"access_token": { +"description": "OAuth access token.", +"location": "query", +"type": "string" +}, +"alt": { +"default": "json", +"description": "Data format for response.", +"enum": [ +"json", +"media", +"proto" +], +"enumDescriptions": [ +"Responses with Content-Type of application/json", +"Media download with context-dependent Content-Type", +"Responses with Content-Type of application/x-protobuf" +], +"location": "query", +"type": "string" +}, +"callback": { +"description": "JSONP", +"location": "query", +"type": "string" +}, +"fields": { +"description": "Selector specifying which fields to include in a partial response.", +"location": "query", +"type": "string" +}, +"key": { +"description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", +"location": "query", +"type": "string" +}, +"oauth_token": { +"description": "OAuth 2.0 token for the current user.", +"location": "query", +"type": "string" +}, +"prettyPrint": { +"default": "true", +"description": "Returns response with indentations and line breaks.", +"location": "query", +"type": "boolean" +}, +"quotaUser": { +"description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.", +"location": "query", +"type": "string" +}, +"uploadType": { +"description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", +"location": "query", +"type": "string" +}, +"upload_protocol": { +"description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", +"location": "query", +"type": "string" +} +}, +"protocol": "rest", +"resources": { +"videos": { +"methods": { +"annotate": { +"description": "Performs asynchronous video annotation. Progress and results can be retrieved through the `google.longrunning.Operations` interface. `Operation.metadata` contains `AnnotateVideoProgress` (progress). `Operation.response` contains `AnnotateVideoResponse` (results).", +"flatPath": "v1beta2/videos:annotate", +"httpMethod": "POST", +"id": "videointelligence.videos.annotate", +"parameterOrder": [], +"parameters": {}, +"path": "v1beta2/videos:annotate", +"request": { +"$ref": "GoogleCloudVideointelligenceV1beta2_AnnotateVideoRequest" +}, +"response": { +"$ref": "GoogleLongrunning_Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +}, +"revision": "20250724", +"rootUrl": "https://videointelligence.googleapis.com/", +"schemas": { +"GoogleCloudVideointelligenceV1_AnnotateVideoProgress": { +"description": "Video annotation progress. Included in the `metadata` field of the `Operation` returned by the `GetOperation` call of the `google::longrunning::Operations` service.", +"id": "GoogleCloudVideointelligenceV1_AnnotateVideoProgress", +"properties": { +"annotationProgress": { +"description": "Progress metadata for all videos specified in `AnnotateVideoRequest`.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1_VideoAnnotationProgress" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1_AnnotateVideoResponse": { +"description": "Video annotation response. Included in the `response` field of the `Operation` returned by the `GetOperation` call of the `google::longrunning::Operations` service.", +"id": "GoogleCloudVideointelligenceV1_AnnotateVideoResponse", +"properties": { +"annotationResults": { +"description": "Annotation results for all videos specified in `AnnotateVideoRequest`.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1_VideoAnnotationResults" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1_DetectedAttribute": { +"description": "A generic detected attribute represented by name in string format.", +"id": "GoogleCloudVideointelligenceV1_DetectedAttribute", +"properties": { +"confidence": { +"description": "Detected attribute confidence. Range [0, 1].", +"format": "float", +"type": "number" +}, +"name": { +"description": "The name of the attribute, for example, glasses, dark_glasses, mouth_open. A full list of supported type names will be provided in the document.", +"type": "string" +}, +"value": { +"description": "Text value of the detection result. For example, the value for \"HairColor\" can be \"black\", \"blonde\", etc.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1_DetectedLandmark": { +"description": "A generic detected landmark represented by name in string format and a 2D location.", +"id": "GoogleCloudVideointelligenceV1_DetectedLandmark", +"properties": { +"confidence": { +"description": "The confidence score of the detected landmark. Range [0, 1].", +"format": "float", +"type": "number" +}, +"name": { +"description": "The name of this landmark, for example, left_hand, right_shoulder.", +"type": "string" +}, +"point": { +"$ref": "GoogleCloudVideointelligenceV1_NormalizedVertex", +"description": "The 2D point of the detected landmark using the normalized image coordinate system. The normalized coordinates have the range from 0 to 1." +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1_Entity": { +"description": "Detected entity from video analysis.", +"id": "GoogleCloudVideointelligenceV1_Entity", +"properties": { +"description": { +"description": "Textual description, e.g., `Fixed-gear bicycle`.", +"type": "string" +}, +"entityId": { +"description": "Opaque entity ID. Some IDs may be available in [Google Knowledge Graph Search API](https://developers.google.com/knowledge-graph/).", +"type": "string" +}, +"languageCode": { +"description": "Language code for `description` in BCP-47 format.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1_ExplicitContentAnnotation": { +"description": "Explicit content annotation (based on per-frame visual signals only). If no explicit content has been detected in a frame, no annotations are present for that frame.", +"id": "GoogleCloudVideointelligenceV1_ExplicitContentAnnotation", +"properties": { +"frames": { +"description": "All video frames where explicit content was detected.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1_ExplicitContentFrame" +}, +"type": "array" +}, +"version": { +"description": "Feature version.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1_ExplicitContentFrame": { +"description": "Video frame level annotation results for explicit content.", +"id": "GoogleCloudVideointelligenceV1_ExplicitContentFrame", +"properties": { +"pornographyLikelihood": { +"description": "Likelihood of the pornography content..", +"enum": [ +"LIKELIHOOD_UNSPECIFIED", +"VERY_UNLIKELY", +"UNLIKELY", +"POSSIBLE", +"LIKELY", +"VERY_LIKELY" +], +"enumDescriptions": [ +"Unspecified likelihood.", +"Very unlikely.", +"Unlikely.", +"Possible.", +"Likely.", +"Very likely." +], +"type": "string" +}, +"timeOffset": { +"description": "Time-offset, relative to the beginning of the video, corresponding to the video frame for this location.", +"format": "google-duration", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1_ExportToOutputUriStatus": { +"description": "Status of exporting annotation response to user specified `output_uri`.", +"id": "GoogleCloudVideointelligenceV1_ExportToOutputUriStatus", +"properties": { +"state": { +"description": "Output only. State of the `output_uri` export.", +"enum": [ +"STATE_UNSPECIFIED", +"SUCCEEDED", +"FAILED" +], +"enumDescriptions": [ +"Default value.", +"Export succeeded.", +"Export failed." +], +"readOnly": true, +"type": "string" +}, +"status": { +"$ref": "GoogleRpc_Status", +"description": "Output only. Only set if state is FAILED.", +"readOnly": true +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1_FaceAnnotation": { +"deprecated": true, +"description": "Deprecated. No effect.", +"id": "GoogleCloudVideointelligenceV1_FaceAnnotation", +"properties": { +"frames": { +"description": "All video frames where a face was detected.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1_FaceFrame" +}, +"type": "array" +}, +"segments": { +"description": "All video segments where a face was detected.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1_FaceSegment" +}, +"type": "array" +}, +"thumbnail": { +"description": "Thumbnail of a representative face view (in JPEG format).", +"format": "byte", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1_FaceDetectionAnnotation": { +"description": "Face detection annotation.", +"id": "GoogleCloudVideointelligenceV1_FaceDetectionAnnotation", +"properties": { +"thumbnail": { +"description": "The thumbnail of a person's face.", +"format": "byte", +"type": "string" +}, +"tracks": { +"description": "The face tracks with attributes.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1_Track" +}, +"type": "array" +}, +"version": { +"description": "Feature version.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1_FaceFrame": { +"deprecated": true, +"description": "Deprecated. No effect.", +"id": "GoogleCloudVideointelligenceV1_FaceFrame", +"properties": { +"normalizedBoundingBoxes": { +"description": "Normalized Bounding boxes in a frame. There can be more than one boxes if the same face is detected in multiple locations within the current frame.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1_NormalizedBoundingBox" +}, +"type": "array" +}, +"timeOffset": { +"description": "Time-offset, relative to the beginning of the video, corresponding to the video frame for this location.", +"format": "google-duration", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1_FaceSegment": { +"description": "Video segment level annotation results for face detection.", +"id": "GoogleCloudVideointelligenceV1_FaceSegment", +"properties": { +"segment": { +"$ref": "GoogleCloudVideointelligenceV1_VideoSegment", +"description": "Video segment where a face was detected." +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1_LabelAnnotation": { +"description": "Label annotation.", +"id": "GoogleCloudVideointelligenceV1_LabelAnnotation", +"properties": { +"categoryEntities": { +"description": "Common categories for the detected entity. For example, when the label is `Terrier`, the category is likely `dog`. And in some cases there might be more than one categories e.g., `Terrier` could also be a `pet`.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1_Entity" +}, +"type": "array" +}, +"entity": { +"$ref": "GoogleCloudVideointelligenceV1_Entity", +"description": "Detected entity." +}, +"frames": { +"description": "All video frames where a label was detected.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1_LabelFrame" +}, +"type": "array" +}, +"segments": { +"description": "All video segments where a label was detected.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1_LabelSegment" +}, +"type": "array" +}, +"version": { +"description": "Feature version.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1_LabelFrame": { +"description": "Video frame level annotation results for label detection.", +"id": "GoogleCloudVideointelligenceV1_LabelFrame", +"properties": { +"confidence": { +"description": "Confidence that the label is accurate. Range: [0, 1].", +"format": "float", +"type": "number" +}, +"timeOffset": { +"description": "Time-offset, relative to the beginning of the video, corresponding to the video frame for this location.", +"format": "google-duration", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1_LabelSegment": { +"description": "Video segment level annotation results for label detection.", +"id": "GoogleCloudVideointelligenceV1_LabelSegment", +"properties": { +"confidence": { +"description": "Confidence that the label is accurate. Range: [0, 1].", +"format": "float", +"type": "number" +}, +"segment": { +"$ref": "GoogleCloudVideointelligenceV1_VideoSegment", +"description": "Video segment where a label was detected." +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1_LogoRecognitionAnnotation": { +"description": "Annotation corresponding to one detected, tracked and recognized logo class.", +"id": "GoogleCloudVideointelligenceV1_LogoRecognitionAnnotation", +"properties": { +"entity": { +"$ref": "GoogleCloudVideointelligenceV1_Entity", +"description": "Entity category information to specify the logo class that all the logo tracks within this LogoRecognitionAnnotation are recognized as." +}, +"segments": { +"description": "All video segments where the recognized logo appears. There might be multiple instances of the same logo class appearing in one VideoSegment.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1_VideoSegment" +}, +"type": "array" +}, +"tracks": { +"description": "All logo tracks where the recognized logo appears. Each track corresponds to one logo instance appearing in consecutive frames.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1_Track" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1_NormalizedBoundingBox": { +"description": "Normalized bounding box. The normalized vertex coordinates are relative to the original image. Range: [0, 1].", +"id": "GoogleCloudVideointelligenceV1_NormalizedBoundingBox", +"properties": { +"bottom": { +"description": "Bottom Y coordinate.", +"format": "float", +"type": "number" +}, +"left": { +"description": "Left X coordinate.", +"format": "float", +"type": "number" +}, +"right": { +"description": "Right X coordinate.", +"format": "float", +"type": "number" +}, +"top": { +"description": "Top Y coordinate.", +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1_NormalizedBoundingPoly": { +"description": "Normalized bounding polygon for text (that might not be aligned with axis). Contains list of the corner points in clockwise order starting from top-left corner. For example, for a rectangular bounding box: When the text is horizontal it might look like: 0----1 | | 3----2 When it's clockwise rotated 180 degrees around the top-left corner it becomes: 2----3 | | 1----0 and the vertex order will still be (0, 1, 2, 3). Note that values can be less than 0, or greater than 1 due to trigonometric calculations for location of the box.", +"id": "GoogleCloudVideointelligenceV1_NormalizedBoundingPoly", +"properties": { +"vertices": { +"description": "Normalized vertices of the bounding polygon.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1_NormalizedVertex" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1_NormalizedVertex": { +"description": "A vertex represents a 2D point in the image. NOTE: the normalized vertex coordinates are relative to the original image and range from 0 to 1.", +"id": "GoogleCloudVideointelligenceV1_NormalizedVertex", +"properties": { +"x": { +"description": "X coordinate.", +"format": "float", +"type": "number" +}, +"y": { +"description": "Y coordinate.", +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1_ObjectTrackingAnnotation": { +"description": "Annotations corresponding to one tracked object.", +"id": "GoogleCloudVideointelligenceV1_ObjectTrackingAnnotation", +"properties": { +"confidence": { +"description": "Object category's labeling confidence of this track.", +"format": "float", +"type": "number" +}, +"entity": { +"$ref": "GoogleCloudVideointelligenceV1_Entity", +"description": "Entity to specify the object category that this track is labeled as." +}, +"frames": { +"description": "Information corresponding to all frames where this object track appears. Non-streaming batch mode: it may be one or multiple ObjectTrackingFrame messages in frames. Streaming mode: it can only be one ObjectTrackingFrame message in frames.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1_ObjectTrackingFrame" +}, +"type": "array" +}, +"segment": { +"$ref": "GoogleCloudVideointelligenceV1_VideoSegment", +"description": "Non-streaming batch mode ONLY. Each object track corresponds to one video segment where it appears." +}, +"trackId": { +"description": "Streaming mode ONLY. In streaming mode, we do not know the end time of a tracked object before it is completed. Hence, there is no VideoSegment info returned. Instead, we provide a unique identifiable integer track_id so that the customers can correlate the results of the ongoing ObjectTrackAnnotation of the same track_id over time.", +"format": "int64", +"type": "string" +}, +"version": { +"description": "Feature version.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1_ObjectTrackingFrame": { +"description": "Video frame level annotations for object detection and tracking. This field stores per frame location, time offset, and confidence.", +"id": "GoogleCloudVideointelligenceV1_ObjectTrackingFrame", +"properties": { +"normalizedBoundingBox": { +"$ref": "GoogleCloudVideointelligenceV1_NormalizedBoundingBox", +"description": "The normalized bounding box location of this object track for the frame." +}, +"timeOffset": { +"description": "The timestamp of the frame in microseconds.", +"format": "google-duration", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1_PersonDetectionAnnotation": { +"description": "Person detection annotation per video.", +"id": "GoogleCloudVideointelligenceV1_PersonDetectionAnnotation", +"properties": { +"tracks": { +"description": "The detected tracks of a person.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1_Track" +}, +"type": "array" +}, +"version": { +"description": "Feature version.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1_SpeechRecognitionAlternative": { +"description": "Alternative hypotheses (a.k.a. n-best list).", +"id": "GoogleCloudVideointelligenceV1_SpeechRecognitionAlternative", +"properties": { +"confidence": { +"description": "Output only. The confidence estimate between 0.0 and 1.0. A higher number indicates an estimated greater likelihood that the recognized words are correct. This field is set only for the top alternative. This field is not guaranteed to be accurate and users should not rely on it to be always provided. The default of 0.0 is a sentinel value indicating `confidence` was not set.", +"format": "float", +"readOnly": true, +"type": "number" +}, +"transcript": { +"description": "Transcript text representing the words that the user spoke.", +"type": "string" +}, +"words": { +"description": "Output only. A list of word-specific information for each recognized word. Note: When `enable_speaker_diarization` is set to true, you will see all the words from the beginning of the audio.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1_WordInfo" +}, +"readOnly": true, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1_SpeechTranscription": { +"description": "A speech recognition result corresponding to a portion of the audio.", +"id": "GoogleCloudVideointelligenceV1_SpeechTranscription", +"properties": { +"alternatives": { +"description": "May contain one or more recognition hypotheses (up to the maximum specified in `max_alternatives`). These alternatives are ordered in terms of accuracy, with the top (first) alternative being the most probable, as ranked by the recognizer.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1_SpeechRecognitionAlternative" +}, +"type": "array" +}, +"languageCode": { +"description": "Output only. The [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag of the language in this result. This language code was detected to have the most likelihood of being spoken in the audio.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1_TextAnnotation": { +"description": "Annotations related to one detected OCR text snippet. This will contain the corresponding text, confidence value, and frame level information for each detection.", +"id": "GoogleCloudVideointelligenceV1_TextAnnotation", +"properties": { +"segments": { +"description": "All video segments where OCR detected text appears.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1_TextSegment" +}, +"type": "array" +}, +"text": { +"description": "The detected text.", +"type": "string" +}, +"version": { +"description": "Feature version.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1_TextFrame": { +"description": "Video frame level annotation results for text annotation (OCR). Contains information regarding timestamp and bounding box locations for the frames containing detected OCR text snippets.", +"id": "GoogleCloudVideointelligenceV1_TextFrame", +"properties": { +"rotatedBoundingBox": { +"$ref": "GoogleCloudVideointelligenceV1_NormalizedBoundingPoly", +"description": "Bounding polygon of the detected text for this frame." +}, +"timeOffset": { +"description": "Timestamp of this frame.", +"format": "google-duration", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1_TextSegment": { +"description": "Video segment level annotation results for text detection.", +"id": "GoogleCloudVideointelligenceV1_TextSegment", +"properties": { +"confidence": { +"description": "Confidence for the track of detected text. It is calculated as the highest over all frames where OCR detected text appears.", +"format": "float", +"type": "number" +}, +"frames": { +"description": "Information related to the frames where OCR detected text appears.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1_TextFrame" +}, +"type": "array" +}, +"segment": { +"$ref": "GoogleCloudVideointelligenceV1_VideoSegment", +"description": "Video segment where a text snippet was detected." +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1_TimestampedObject": { +"description": "For tracking related features. An object at time_offset with attributes, and located with normalized_bounding_box.", +"id": "GoogleCloudVideointelligenceV1_TimestampedObject", +"properties": { +"attributes": { +"description": "Optional. The attributes of the object in the bounding box.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1_DetectedAttribute" +}, +"type": "array" +}, +"landmarks": { +"description": "Optional. The detected landmarks.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1_DetectedLandmark" +}, +"type": "array" +}, +"normalizedBoundingBox": { +"$ref": "GoogleCloudVideointelligenceV1_NormalizedBoundingBox", +"description": "Normalized Bounding box in a frame, where the object is located." +}, +"timeOffset": { +"description": "Time-offset, relative to the beginning of the video, corresponding to the video frame for this object.", +"format": "google-duration", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1_Track": { +"description": "A track of an object instance.", +"id": "GoogleCloudVideointelligenceV1_Track", +"properties": { +"attributes": { +"description": "Optional. Attributes in the track level.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1_DetectedAttribute" +}, +"type": "array" +}, +"confidence": { +"description": "Optional. The confidence score of the tracked object.", +"format": "float", +"type": "number" +}, +"segment": { +"$ref": "GoogleCloudVideointelligenceV1_VideoSegment", +"description": "Video segment of a track." +}, +"timestampedObjects": { +"description": "The object with timestamp and attributes per frame in the track.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1_TimestampedObject" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1_VideoAnnotationProgress": { +"description": "Annotation progress for a single video.", +"id": "GoogleCloudVideointelligenceV1_VideoAnnotationProgress", +"properties": { +"exportStatus": { +"$ref": "GoogleCloudVideointelligenceV1_ExportToOutputUriStatus", +"description": "Status of exporting annotation response to user specified `output_uri`. Only set if `output_uri` is set in the request." +}, +"feature": { +"description": "Specifies which feature is being tracked if the request contains more than one feature.", +"enum": [ +"FEATURE_UNSPECIFIED", +"LABEL_DETECTION", +"SHOT_CHANGE_DETECTION", +"EXPLICIT_CONTENT_DETECTION", +"FACE_DETECTION", +"SPEECH_TRANSCRIPTION", +"TEXT_DETECTION", +"OBJECT_TRACKING", +"LOGO_RECOGNITION", +"PERSON_DETECTION" +], +"enumDescriptions": [ +"Unspecified.", +"Label detection. Detect objects, such as dog or flower.", +"Shot change detection.", +"Explicit content detection.", +"Human face detection.", +"Speech transcription.", +"OCR text detection and tracking.", +"Object detection and tracking.", +"Logo detection, tracking, and recognition.", +"Person detection." +], +"type": "string" +}, +"inputUri": { +"description": "Video file location in [Cloud Storage](https://cloud.google.com/storage/).", +"type": "string" +}, +"progressPercent": { +"description": "Approximate percentage processed thus far. Guaranteed to be 100 when fully processed.", +"format": "int32", +"type": "integer" +}, +"segment": { +"$ref": "GoogleCloudVideointelligenceV1_VideoSegment", +"description": "Specifies which segment is being tracked if the request contains more than one segment." +}, +"startTime": { +"description": "Time when the request was received.", +"format": "google-datetime", +"type": "string" +}, +"updateTime": { +"description": "Time of the most recent update.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1_VideoAnnotationResults": { +"description": "Annotation results for a single video.", +"id": "GoogleCloudVideointelligenceV1_VideoAnnotationResults", +"properties": { +"error": { +"$ref": "GoogleRpc_Status", +"description": "If set, indicates an error. Note that for a single `AnnotateVideoRequest` some videos may succeed and some may fail." +}, +"explicitAnnotation": { +"$ref": "GoogleCloudVideointelligenceV1_ExplicitContentAnnotation", +"description": "Explicit content annotation." +}, +"faceAnnotations": { +"deprecated": true, +"description": "Deprecated. Please use `face_detection_annotations` instead.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1_FaceAnnotation" +}, +"type": "array" +}, +"faceDetectionAnnotations": { +"description": "Face detection annotations.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1_FaceDetectionAnnotation" +}, +"type": "array" +}, +"frameLabelAnnotations": { +"description": "Label annotations on frame level. There is exactly one element for each unique label.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1_LabelAnnotation" +}, +"type": "array" +}, +"inputUri": { +"description": "Video file location in [Cloud Storage](https://cloud.google.com/storage/).", +"type": "string" +}, +"logoRecognitionAnnotations": { +"description": "Annotations for list of logos detected, tracked and recognized in video.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1_LogoRecognitionAnnotation" +}, +"type": "array" +}, +"objectAnnotations": { +"description": "Annotations for list of objects detected and tracked in video.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1_ObjectTrackingAnnotation" +}, +"type": "array" +}, +"personDetectionAnnotations": { +"description": "Person detection annotations.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1_PersonDetectionAnnotation" +}, +"type": "array" +}, +"segment": { +"$ref": "GoogleCloudVideointelligenceV1_VideoSegment", +"description": "Video segment on which the annotation is run." +}, +"segmentLabelAnnotations": { +"description": "Topical label annotations on video level or user-specified segment level. There is exactly one element for each unique label.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1_LabelAnnotation" +}, +"type": "array" +}, +"segmentPresenceLabelAnnotations": { +"description": "Presence label annotations on video level or user-specified segment level. There is exactly one element for each unique label. Compared to the existing topical `segment_label_annotations`, this field presents more fine-grained, segment-level labels detected in video content and is made available only when the client sets `LabelDetectionConfig.model` to \"builtin/latest\" in the request.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1_LabelAnnotation" +}, +"type": "array" +}, +"shotAnnotations": { +"description": "Shot annotations. Each shot is represented as a video segment.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1_VideoSegment" +}, +"type": "array" +}, +"shotLabelAnnotations": { +"description": "Topical label annotations on shot level. There is exactly one element for each unique label.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1_LabelAnnotation" +}, +"type": "array" +}, +"shotPresenceLabelAnnotations": { +"description": "Presence label annotations on shot level. There is exactly one element for each unique label. Compared to the existing topical `shot_label_annotations`, this field presents more fine-grained, shot-level labels detected in video content and is made available only when the client sets `LabelDetectionConfig.model` to \"builtin/latest\" in the request.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1_LabelAnnotation" +}, +"type": "array" +}, +"speechTranscriptions": { +"description": "Speech transcription.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1_SpeechTranscription" +}, +"type": "array" +}, +"textAnnotations": { +"description": "OCR text detection and tracking. Annotations for list of detected text snippets. Each will have list of frame information associated with it.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1_TextAnnotation" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1_VideoSegment": { +"description": "Video segment.", +"id": "GoogleCloudVideointelligenceV1_VideoSegment", +"properties": { +"endTimeOffset": { +"description": "Time-offset, relative to the beginning of the video, corresponding to the end of the segment (inclusive).", +"format": "google-duration", +"type": "string" +}, +"startTimeOffset": { +"description": "Time-offset, relative to the beginning of the video, corresponding to the start of the segment (inclusive).", +"format": "google-duration", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1_WordInfo": { +"description": "Word-specific information for recognized words. Word information is only included in the response when certain request parameters are set, such as `enable_word_time_offsets`.", +"id": "GoogleCloudVideointelligenceV1_WordInfo", +"properties": { +"confidence": { +"description": "Output only. The confidence estimate between 0.0 and 1.0. A higher number indicates an estimated greater likelihood that the recognized words are correct. This field is set only for the top alternative. This field is not guaranteed to be accurate and users should not rely on it to be always provided. The default of 0.0 is a sentinel value indicating `confidence` was not set.", +"format": "float", +"readOnly": true, +"type": "number" +}, +"endTime": { +"description": "Time offset relative to the beginning of the audio, and corresponding to the end of the spoken word. This field is only set if `enable_word_time_offsets=true` and only in the top hypothesis. This is an experimental feature and the accuracy of the time offset can vary.", +"format": "google-duration", +"type": "string" +}, +"speakerTag": { +"description": "Output only. A distinct integer value is assigned for every speaker within the audio. This field specifies which one of those speakers was detected to have spoken this word. Value ranges from 1 up to diarization_speaker_count, and is only set if speaker diarization is enabled.", +"format": "int32", +"readOnly": true, +"type": "integer" +}, +"startTime": { +"description": "Time offset relative to the beginning of the audio, and corresponding to the start of the spoken word. This field is only set if `enable_word_time_offsets=true` and only in the top hypothesis. This is an experimental feature and the accuracy of the time offset can vary.", +"format": "google-duration", +"type": "string" +}, +"word": { +"description": "The word corresponding to this set of information.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1beta2_AnnotateVideoProgress": { +"description": "Video annotation progress. Included in the `metadata` field of the `Operation` returned by the `GetOperation` call of the `google::longrunning::Operations` service.", +"id": "GoogleCloudVideointelligenceV1beta2_AnnotateVideoProgress", +"properties": { +"annotationProgress": { +"description": "Progress metadata for all videos specified in `AnnotateVideoRequest`.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1beta2_VideoAnnotationProgress" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1beta2_AnnotateVideoRequest": { +"description": "Video annotation request.", +"id": "GoogleCloudVideointelligenceV1beta2_AnnotateVideoRequest", +"properties": { +"features": { +"description": "Required. Requested video annotation features.", +"items": { +"enum": [ +"FEATURE_UNSPECIFIED", +"LABEL_DETECTION", +"SHOT_CHANGE_DETECTION", +"EXPLICIT_CONTENT_DETECTION", +"FACE_DETECTION", +"SPEECH_TRANSCRIPTION", +"TEXT_DETECTION", +"OBJECT_TRACKING", +"LOGO_RECOGNITION", +"PERSON_DETECTION" +], +"enumDescriptions": [ +"Unspecified.", +"Label detection. Detect objects, such as dog or flower.", +"Shot change detection.", +"Explicit content detection.", +"Human face detection.", +"Speech transcription.", +"OCR text detection and tracking.", +"Object detection and tracking.", +"Logo detection, tracking, and recognition.", +"Person detection." +], +"type": "string" +}, +"type": "array" +}, +"inputContent": { +"description": "The video data bytes. If unset, the input video(s) should be specified via the `input_uri`. If set, `input_uri` must be unset.", +"format": "byte", +"type": "string" +}, +"inputUri": { +"description": "Input video location. Currently, only [Cloud Storage](https://cloud.google.com/storage/) URIs are supported. URIs must be specified in the following format: `gs://bucket-id/object-id` (other URI formats return google.rpc.Code.INVALID_ARGUMENT). For more information, see [Request URIs](https://cloud.google.com/storage/docs/request-endpoints). To identify multiple videos, a video URI may include wildcards in the `object-id`. Supported wildcards: '*' to match 0 or more characters; '?' to match 1 character. If unset, the input video should be embedded in the request as `input_content`. If set, `input_content` must be unset.", +"type": "string" +}, +"locationId": { +"description": "Optional. Cloud region where annotation should take place. Supported cloud regions are: `us-east1`, `us-west1`, `europe-west1`, `asia-east1`. If no region is specified, the region will be determined based on video file location.", +"type": "string" +}, +"outputUri": { +"description": "Optional. Location where the output (in JSON format) should be stored. Currently, only [Cloud Storage](https://cloud.google.com/storage/) URIs are supported. These must be specified in the following format: `gs://bucket-id/object-id` (other URI formats return google.rpc.Code.INVALID_ARGUMENT). For more information, see [Request URIs](https://cloud.google.com/storage/docs/request-endpoints).", +"type": "string" +}, +"videoContext": { +"$ref": "GoogleCloudVideointelligenceV1beta2_VideoContext", +"description": "Additional video context and/or feature-specific parameters." +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1beta2_AnnotateVideoResponse": { +"description": "Video annotation response. Included in the `response` field of the `Operation` returned by the `GetOperation` call of the `google::longrunning::Operations` service.", +"id": "GoogleCloudVideointelligenceV1beta2_AnnotateVideoResponse", +"properties": { +"annotationResults": { +"description": "Annotation results for all videos specified in `AnnotateVideoRequest`.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1beta2_VideoAnnotationResults" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1beta2_DetectedAttribute": { +"description": "A generic detected attribute represented by name in string format.", +"id": "GoogleCloudVideointelligenceV1beta2_DetectedAttribute", +"properties": { +"confidence": { +"description": "Detected attribute confidence. Range [0, 1].", +"format": "float", +"type": "number" +}, +"name": { +"description": "The name of the attribute, for example, glasses, dark_glasses, mouth_open. A full list of supported type names will be provided in the document.", +"type": "string" +}, +"value": { +"description": "Text value of the detection result. For example, the value for \"HairColor\" can be \"black\", \"blonde\", etc.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1beta2_DetectedLandmark": { +"description": "A generic detected landmark represented by name in string format and a 2D location.", +"id": "GoogleCloudVideointelligenceV1beta2_DetectedLandmark", +"properties": { +"confidence": { +"description": "The confidence score of the detected landmark. Range [0, 1].", +"format": "float", +"type": "number" +}, +"name": { +"description": "The name of this landmark, for example, left_hand, right_shoulder.", +"type": "string" +}, +"point": { +"$ref": "GoogleCloudVideointelligenceV1beta2_NormalizedVertex", +"description": "The 2D point of the detected landmark using the normalized image coordinate system. The normalized coordinates have the range from 0 to 1." +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1beta2_Entity": { +"description": "Detected entity from video analysis.", +"id": "GoogleCloudVideointelligenceV1beta2_Entity", +"properties": { +"description": { +"description": "Textual description, e.g., `Fixed-gear bicycle`.", +"type": "string" +}, +"entityId": { +"description": "Opaque entity ID. Some IDs may be available in [Google Knowledge Graph Search API](https://developers.google.com/knowledge-graph/).", +"type": "string" +}, +"languageCode": { +"description": "Language code for `description` in BCP-47 format.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1beta2_ExplicitContentAnnotation": { +"description": "Explicit content annotation (based on per-frame visual signals only). If no explicit content has been detected in a frame, no annotations are present for that frame.", +"id": "GoogleCloudVideointelligenceV1beta2_ExplicitContentAnnotation", +"properties": { +"frames": { +"description": "All video frames where explicit content was detected.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1beta2_ExplicitContentFrame" +}, +"type": "array" +}, +"version": { +"description": "Feature version.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1beta2_ExplicitContentDetectionConfig": { +"description": "Config for EXPLICIT_CONTENT_DETECTION.", +"id": "GoogleCloudVideointelligenceV1beta2_ExplicitContentDetectionConfig", +"properties": { +"model": { +"description": "Model to use for explicit content detection. Supported values: \"builtin/stable\" (the default if unset) and \"builtin/latest\".", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1beta2_ExplicitContentFrame": { +"description": "Video frame level annotation results for explicit content.", +"id": "GoogleCloudVideointelligenceV1beta2_ExplicitContentFrame", +"properties": { +"pornographyLikelihood": { +"description": "Likelihood of the pornography content..", +"enum": [ +"LIKELIHOOD_UNSPECIFIED", +"VERY_UNLIKELY", +"UNLIKELY", +"POSSIBLE", +"LIKELY", +"VERY_LIKELY" +], +"enumDescriptions": [ +"Unspecified likelihood.", +"Very unlikely.", +"Unlikely.", +"Possible.", +"Likely.", +"Very likely." +], +"type": "string" +}, +"timeOffset": { +"description": "Time-offset, relative to the beginning of the video, corresponding to the video frame for this location.", +"format": "google-duration", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1beta2_ExportToOutputUriStatus": { +"description": "Status of exporting annotation response to user specified `output_uri`.", +"id": "GoogleCloudVideointelligenceV1beta2_ExportToOutputUriStatus", +"properties": { +"state": { +"description": "Output only. State of the `output_uri` export.", +"enum": [ +"STATE_UNSPECIFIED", +"SUCCEEDED", +"FAILED" +], +"enumDescriptions": [ +"Default value.", +"Export succeeded.", +"Export failed." +], +"readOnly": true, +"type": "string" +}, +"status": { +"$ref": "GoogleRpc_Status", +"description": "Output only. Only set if state is FAILED.", +"readOnly": true +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1beta2_FaceAnnotation": { +"deprecated": true, +"description": "Deprecated. No effect.", +"id": "GoogleCloudVideointelligenceV1beta2_FaceAnnotation", +"properties": { +"frames": { +"description": "All video frames where a face was detected.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1beta2_FaceFrame" +}, +"type": "array" +}, +"segments": { +"description": "All video segments where a face was detected.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1beta2_FaceSegment" +}, +"type": "array" +}, +"thumbnail": { +"description": "Thumbnail of a representative face view (in JPEG format).", +"format": "byte", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1beta2_FaceDetectionAnnotation": { +"description": "Face detection annotation.", +"id": "GoogleCloudVideointelligenceV1beta2_FaceDetectionAnnotation", +"properties": { +"thumbnail": { +"description": "The thumbnail of a person's face.", +"format": "byte", +"type": "string" +}, +"tracks": { +"description": "The face tracks with attributes.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1beta2_Track" +}, +"type": "array" +}, +"version": { +"description": "Feature version.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1beta2_FaceDetectionConfig": { +"description": "Config for FACE_DETECTION.", +"id": "GoogleCloudVideointelligenceV1beta2_FaceDetectionConfig", +"properties": { +"includeAttributes": { +"description": "Whether to enable face attributes detection, such as glasses, dark_glasses, mouth_open etc. Ignored if 'include_bounding_boxes' is set to false.", +"type": "boolean" +}, +"includeBoundingBoxes": { +"description": "Whether bounding boxes are included in the face annotation output.", +"type": "boolean" +}, +"model": { +"description": "Model to use for face detection. Supported values: \"builtin/stable\" (the default if unset) and \"builtin/latest\".", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1beta2_FaceFrame": { +"deprecated": true, +"description": "Deprecated. No effect.", +"id": "GoogleCloudVideointelligenceV1beta2_FaceFrame", +"properties": { +"normalizedBoundingBoxes": { +"description": "Normalized Bounding boxes in a frame. There can be more than one boxes if the same face is detected in multiple locations within the current frame.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1beta2_NormalizedBoundingBox" +}, +"type": "array" +}, +"timeOffset": { +"description": "Time-offset, relative to the beginning of the video, corresponding to the video frame for this location.", +"format": "google-duration", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1beta2_FaceSegment": { +"description": "Video segment level annotation results for face detection.", +"id": "GoogleCloudVideointelligenceV1beta2_FaceSegment", +"properties": { +"segment": { +"$ref": "GoogleCloudVideointelligenceV1beta2_VideoSegment", +"description": "Video segment where a face was detected." +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1beta2_LabelAnnotation": { +"description": "Label annotation.", +"id": "GoogleCloudVideointelligenceV1beta2_LabelAnnotation", +"properties": { +"categoryEntities": { +"description": "Common categories for the detected entity. For example, when the label is `Terrier`, the category is likely `dog`. And in some cases there might be more than one categories e.g., `Terrier` could also be a `pet`.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1beta2_Entity" +}, +"type": "array" +}, +"entity": { +"$ref": "GoogleCloudVideointelligenceV1beta2_Entity", +"description": "Detected entity." +}, +"frames": { +"description": "All video frames where a label was detected.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1beta2_LabelFrame" +}, +"type": "array" +}, +"segments": { +"description": "All video segments where a label was detected.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1beta2_LabelSegment" +}, +"type": "array" +}, +"version": { +"description": "Feature version.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1beta2_LabelDetectionConfig": { +"description": "Config for LABEL_DETECTION.", +"id": "GoogleCloudVideointelligenceV1beta2_LabelDetectionConfig", +"properties": { +"frameConfidenceThreshold": { +"description": "The confidence threshold we perform filtering on the labels from frame-level detection. If not set, it is set to 0.4 by default. The valid range for this threshold is [0.1, 0.9]. Any value set outside of this range will be clipped. Note: For best results, follow the default threshold. We will update the default threshold everytime when we release a new model.", +"format": "float", +"type": "number" +}, +"labelDetectionMode": { +"description": "What labels should be detected with LABEL_DETECTION, in addition to video-level labels or segment-level labels. If unspecified, defaults to `SHOT_MODE`.", +"enum": [ +"LABEL_DETECTION_MODE_UNSPECIFIED", +"SHOT_MODE", +"FRAME_MODE", +"SHOT_AND_FRAME_MODE" +], +"enumDescriptions": [ +"Unspecified.", +"Detect shot-level labels.", +"Detect frame-level labels.", +"Detect both shot-level and frame-level labels." +], +"type": "string" +}, +"model": { +"description": "Model to use for label detection. Supported values: \"builtin/stable\" (the default if unset) and \"builtin/latest\".", +"type": "string" +}, +"stationaryCamera": { +"description": "Whether the video has been shot from a stationary (i.e., non-moving) camera. When set to true, might improve detection accuracy for moving objects. Should be used with `SHOT_AND_FRAME_MODE` enabled.", +"type": "boolean" +}, +"videoConfidenceThreshold": { +"description": "The confidence threshold we perform filtering on the labels from video-level and shot-level detections. If not set, it's set to 0.3 by default. The valid range for this threshold is [0.1, 0.9]. Any value set outside of this range will be clipped. Note: For best results, follow the default threshold. We will update the default threshold everytime when we release a new model.", +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1beta2_LabelFrame": { +"description": "Video frame level annotation results for label detection.", +"id": "GoogleCloudVideointelligenceV1beta2_LabelFrame", +"properties": { +"confidence": { +"description": "Confidence that the label is accurate. Range: [0, 1].", +"format": "float", +"type": "number" +}, +"timeOffset": { +"description": "Time-offset, relative to the beginning of the video, corresponding to the video frame for this location.", +"format": "google-duration", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1beta2_LabelSegment": { +"description": "Video segment level annotation results for label detection.", +"id": "GoogleCloudVideointelligenceV1beta2_LabelSegment", +"properties": { +"confidence": { +"description": "Confidence that the label is accurate. Range: [0, 1].", +"format": "float", +"type": "number" +}, +"segment": { +"$ref": "GoogleCloudVideointelligenceV1beta2_VideoSegment", +"description": "Video segment where a label was detected." +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1beta2_LogoRecognitionAnnotation": { +"description": "Annotation corresponding to one detected, tracked and recognized logo class.", +"id": "GoogleCloudVideointelligenceV1beta2_LogoRecognitionAnnotation", +"properties": { +"entity": { +"$ref": "GoogleCloudVideointelligenceV1beta2_Entity", +"description": "Entity category information to specify the logo class that all the logo tracks within this LogoRecognitionAnnotation are recognized as." +}, +"segments": { +"description": "All video segments where the recognized logo appears. There might be multiple instances of the same logo class appearing in one VideoSegment.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1beta2_VideoSegment" +}, +"type": "array" +}, +"tracks": { +"description": "All logo tracks where the recognized logo appears. Each track corresponds to one logo instance appearing in consecutive frames.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1beta2_Track" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1beta2_NormalizedBoundingBox": { +"description": "Normalized bounding box. The normalized vertex coordinates are relative to the original image. Range: [0, 1].", +"id": "GoogleCloudVideointelligenceV1beta2_NormalizedBoundingBox", +"properties": { +"bottom": { +"description": "Bottom Y coordinate.", +"format": "float", +"type": "number" +}, +"left": { +"description": "Left X coordinate.", +"format": "float", +"type": "number" +}, +"right": { +"description": "Right X coordinate.", +"format": "float", +"type": "number" +}, +"top": { +"description": "Top Y coordinate.", +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1beta2_NormalizedBoundingPoly": { +"description": "Normalized bounding polygon for text (that might not be aligned with axis). Contains list of the corner points in clockwise order starting from top-left corner. For example, for a rectangular bounding box: When the text is horizontal it might look like: 0----1 | | 3----2 When it's clockwise rotated 180 degrees around the top-left corner it becomes: 2----3 | | 1----0 and the vertex order will still be (0, 1, 2, 3). Note that values can be less than 0, or greater than 1 due to trigonometric calculations for location of the box.", +"id": "GoogleCloudVideointelligenceV1beta2_NormalizedBoundingPoly", +"properties": { +"vertices": { +"description": "Normalized vertices of the bounding polygon.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1beta2_NormalizedVertex" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1beta2_NormalizedVertex": { +"description": "A vertex represents a 2D point in the image. NOTE: the normalized vertex coordinates are relative to the original image and range from 0 to 1.", +"id": "GoogleCloudVideointelligenceV1beta2_NormalizedVertex", +"properties": { +"x": { +"description": "X coordinate.", +"format": "float", +"type": "number" +}, +"y": { +"description": "Y coordinate.", +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1beta2_ObjectTrackingAnnotation": { +"description": "Annotations corresponding to one tracked object.", +"id": "GoogleCloudVideointelligenceV1beta2_ObjectTrackingAnnotation", +"properties": { +"confidence": { +"description": "Object category's labeling confidence of this track.", +"format": "float", +"type": "number" +}, +"entity": { +"$ref": "GoogleCloudVideointelligenceV1beta2_Entity", +"description": "Entity to specify the object category that this track is labeled as." +}, +"frames": { +"description": "Information corresponding to all frames where this object track appears. Non-streaming batch mode: it may be one or multiple ObjectTrackingFrame messages in frames. Streaming mode: it can only be one ObjectTrackingFrame message in frames.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1beta2_ObjectTrackingFrame" +}, +"type": "array" +}, +"segment": { +"$ref": "GoogleCloudVideointelligenceV1beta2_VideoSegment", +"description": "Non-streaming batch mode ONLY. Each object track corresponds to one video segment where it appears." +}, +"trackId": { +"description": "Streaming mode ONLY. In streaming mode, we do not know the end time of a tracked object before it is completed. Hence, there is no VideoSegment info returned. Instead, we provide a unique identifiable integer track_id so that the customers can correlate the results of the ongoing ObjectTrackAnnotation of the same track_id over time.", +"format": "int64", +"type": "string" +}, +"version": { +"description": "Feature version.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1beta2_ObjectTrackingConfig": { +"description": "Config for OBJECT_TRACKING.", +"id": "GoogleCloudVideointelligenceV1beta2_ObjectTrackingConfig", +"properties": { +"model": { +"description": "Model to use for object tracking. Supported values: \"builtin/stable\" (the default if unset) and \"builtin/latest\".", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1beta2_ObjectTrackingFrame": { +"description": "Video frame level annotations for object detection and tracking. This field stores per frame location, time offset, and confidence.", +"id": "GoogleCloudVideointelligenceV1beta2_ObjectTrackingFrame", +"properties": { +"normalizedBoundingBox": { +"$ref": "GoogleCloudVideointelligenceV1beta2_NormalizedBoundingBox", +"description": "The normalized bounding box location of this object track for the frame." +}, +"timeOffset": { +"description": "The timestamp of the frame in microseconds.", +"format": "google-duration", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1beta2_PersonDetectionAnnotation": { +"description": "Person detection annotation per video.", +"id": "GoogleCloudVideointelligenceV1beta2_PersonDetectionAnnotation", +"properties": { +"tracks": { +"description": "The detected tracks of a person.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1beta2_Track" +}, +"type": "array" +}, +"version": { +"description": "Feature version.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1beta2_PersonDetectionConfig": { +"description": "Config for PERSON_DETECTION.", +"id": "GoogleCloudVideointelligenceV1beta2_PersonDetectionConfig", +"properties": { +"includeAttributes": { +"description": "Whether to enable person attributes detection, such as cloth color (black, blue, etc), type (coat, dress, etc), pattern (plain, floral, etc), hair, etc. Ignored if 'include_bounding_boxes' is set to false.", +"type": "boolean" +}, +"includeBoundingBoxes": { +"description": "Whether bounding boxes are included in the person detection annotation output.", +"type": "boolean" +}, +"includePoseLandmarks": { +"description": "Whether to enable pose landmarks detection. Ignored if 'include_bounding_boxes' is set to false.", +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1beta2_ShotChangeDetectionConfig": { +"description": "Config for SHOT_CHANGE_DETECTION.", +"id": "GoogleCloudVideointelligenceV1beta2_ShotChangeDetectionConfig", +"properties": { +"model": { +"description": "Model to use for shot change detection. Supported values: \"builtin/stable\" (the default if unset), \"builtin/latest\", and \"builtin/legacy\".", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1beta2_SpeechContext": { +"description": "Provides \"hints\" to the speech recognizer to favor specific words and phrases in the results.", +"id": "GoogleCloudVideointelligenceV1beta2_SpeechContext", +"properties": { +"phrases": { +"description": "Optional. A list of strings containing words and phrases \"hints\" so that the speech recognition is more likely to recognize them. This can be used to improve the accuracy for specific words and phrases, for example, if specific commands are typically spoken by the user. This can also be used to add additional words to the vocabulary of the recognizer. See [usage limits](https://cloud.google.com/speech/limits#content).", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1beta2_SpeechRecognitionAlternative": { +"description": "Alternative hypotheses (a.k.a. n-best list).", +"id": "GoogleCloudVideointelligenceV1beta2_SpeechRecognitionAlternative", +"properties": { +"confidence": { +"description": "Output only. The confidence estimate between 0.0 and 1.0. A higher number indicates an estimated greater likelihood that the recognized words are correct. This field is set only for the top alternative. This field is not guaranteed to be accurate and users should not rely on it to be always provided. The default of 0.0 is a sentinel value indicating `confidence` was not set.", +"format": "float", +"readOnly": true, +"type": "number" +}, +"transcript": { +"description": "Transcript text representing the words that the user spoke.", +"type": "string" +}, +"words": { +"description": "Output only. A list of word-specific information for each recognized word. Note: When `enable_speaker_diarization` is set to true, you will see all the words from the beginning of the audio.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1beta2_WordInfo" +}, +"readOnly": true, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1beta2_SpeechTranscription": { +"description": "A speech recognition result corresponding to a portion of the audio.", +"id": "GoogleCloudVideointelligenceV1beta2_SpeechTranscription", +"properties": { +"alternatives": { +"description": "May contain one or more recognition hypotheses (up to the maximum specified in `max_alternatives`). These alternatives are ordered in terms of accuracy, with the top (first) alternative being the most probable, as ranked by the recognizer.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1beta2_SpeechRecognitionAlternative" +}, +"type": "array" +}, +"languageCode": { +"description": "Output only. The [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag of the language in this result. This language code was detected to have the most likelihood of being spoken in the audio.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1beta2_SpeechTranscriptionConfig": { +"description": "Config for SPEECH_TRANSCRIPTION.", +"id": "GoogleCloudVideointelligenceV1beta2_SpeechTranscriptionConfig", +"properties": { +"audioTracks": { +"description": "Optional. For file formats, such as MXF or MKV, supporting multiple audio tracks, specify up to two tracks. Default: track 0.", +"items": { +"format": "int32", +"type": "integer" +}, +"type": "array" +}, +"diarizationSpeakerCount": { +"description": "Optional. If set, specifies the estimated number of speakers in the conversation. If not set, defaults to '2'. Ignored unless enable_speaker_diarization is set to true.", +"format": "int32", +"type": "integer" +}, +"enableAutomaticPunctuation": { +"description": "Optional. If 'true', adds punctuation to recognition result hypotheses. This feature is only available in select languages. Setting this for requests in other languages has no effect at all. The default 'false' value does not add punctuation to result hypotheses. NOTE: \"This is currently offered as an experimental service, complimentary to all users. In the future this may be exclusively available as a premium feature.\"", +"type": "boolean" +}, +"enableSpeakerDiarization": { +"description": "Optional. If 'true', enables speaker detection for each recognized word in the top alternative of the recognition result using a speaker_tag provided in the WordInfo. Note: When this is true, we send all the words from the beginning of the audio for the top alternative in every consecutive response. This is done in order to improve our speaker tags as our models learn to identify the speakers in the conversation over time.", +"type": "boolean" +}, +"enableWordConfidence": { +"description": "Optional. If `true`, the top result includes a list of words and the confidence for those words. If `false`, no word-level confidence information is returned. The default is `false`.", +"type": "boolean" +}, +"filterProfanity": { +"description": "Optional. If set to `true`, the server will attempt to filter out profanities, replacing all but the initial character in each filtered word with asterisks, e.g. \"f***\". If set to `false` or omitted, profanities won't be filtered out.", +"type": "boolean" +}, +"languageCode": { +"description": "Required. *Required* The language of the supplied audio as a [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag. Example: \"en-US\". See [Language Support](https://cloud.google.com/speech/docs/languages) for a list of the currently supported language codes.", +"type": "string" +}, +"maxAlternatives": { +"description": "Optional. Maximum number of recognition hypotheses to be returned. Specifically, the maximum number of `SpeechRecognitionAlternative` messages within each `SpeechTranscription`. The server may return fewer than `max_alternatives`. Valid values are `0`-`30`. A value of `0` or `1` will return a maximum of one. If omitted, will return a maximum of one.", +"format": "int32", +"type": "integer" +}, +"speechContexts": { +"description": "Optional. A means to provide context to assist the speech recognition.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1beta2_SpeechContext" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1beta2_TextAnnotation": { +"description": "Annotations related to one detected OCR text snippet. This will contain the corresponding text, confidence value, and frame level information for each detection.", +"id": "GoogleCloudVideointelligenceV1beta2_TextAnnotation", +"properties": { +"segments": { +"description": "All video segments where OCR detected text appears.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1beta2_TextSegment" +}, +"type": "array" +}, +"text": { +"description": "The detected text.", +"type": "string" +}, +"version": { +"description": "Feature version.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1beta2_TextDetectionConfig": { +"description": "Config for TEXT_DETECTION.", +"id": "GoogleCloudVideointelligenceV1beta2_TextDetectionConfig", +"properties": { +"languageHints": { +"description": "Language hint can be specified if the language to be detected is known a priori. It can increase the accuracy of the detection. Language hint must be language code in BCP-47 format. Automatic language detection is performed if no hint is provided.", +"items": { +"type": "string" +}, +"type": "array" +}, +"model": { +"description": "Model to use for text detection. Supported values: \"builtin/stable\" (the default if unset) and \"builtin/latest\".", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1beta2_TextFrame": { +"description": "Video frame level annotation results for text annotation (OCR). Contains information regarding timestamp and bounding box locations for the frames containing detected OCR text snippets.", +"id": "GoogleCloudVideointelligenceV1beta2_TextFrame", +"properties": { +"rotatedBoundingBox": { +"$ref": "GoogleCloudVideointelligenceV1beta2_NormalizedBoundingPoly", +"description": "Bounding polygon of the detected text for this frame." +}, +"timeOffset": { +"description": "Timestamp of this frame.", +"format": "google-duration", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1beta2_TextSegment": { +"description": "Video segment level annotation results for text detection.", +"id": "GoogleCloudVideointelligenceV1beta2_TextSegment", +"properties": { +"confidence": { +"description": "Confidence for the track of detected text. It is calculated as the highest over all frames where OCR detected text appears.", +"format": "float", +"type": "number" +}, +"frames": { +"description": "Information related to the frames where OCR detected text appears.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1beta2_TextFrame" +}, +"type": "array" +}, +"segment": { +"$ref": "GoogleCloudVideointelligenceV1beta2_VideoSegment", +"description": "Video segment where a text snippet was detected." +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1beta2_TimestampedObject": { +"description": "For tracking related features. An object at time_offset with attributes, and located with normalized_bounding_box.", +"id": "GoogleCloudVideointelligenceV1beta2_TimestampedObject", +"properties": { +"attributes": { +"description": "Optional. The attributes of the object in the bounding box.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1beta2_DetectedAttribute" +}, +"type": "array" +}, +"landmarks": { +"description": "Optional. The detected landmarks.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1beta2_DetectedLandmark" +}, +"type": "array" +}, +"normalizedBoundingBox": { +"$ref": "GoogleCloudVideointelligenceV1beta2_NormalizedBoundingBox", +"description": "Normalized Bounding box in a frame, where the object is located." +}, +"timeOffset": { +"description": "Time-offset, relative to the beginning of the video, corresponding to the video frame for this object.", +"format": "google-duration", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1beta2_Track": { +"description": "A track of an object instance.", +"id": "GoogleCloudVideointelligenceV1beta2_Track", +"properties": { +"attributes": { +"description": "Optional. Attributes in the track level.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1beta2_DetectedAttribute" +}, +"type": "array" +}, +"confidence": { +"description": "Optional. The confidence score of the tracked object.", +"format": "float", +"type": "number" +}, +"segment": { +"$ref": "GoogleCloudVideointelligenceV1beta2_VideoSegment", +"description": "Video segment of a track." +}, +"timestampedObjects": { +"description": "The object with timestamp and attributes per frame in the track.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1beta2_TimestampedObject" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1beta2_VideoAnnotationProgress": { +"description": "Annotation progress for a single video.", +"id": "GoogleCloudVideointelligenceV1beta2_VideoAnnotationProgress", +"properties": { +"exportStatus": { +"$ref": "GoogleCloudVideointelligenceV1beta2_ExportToOutputUriStatus", +"description": "Status of exporting annotation response to user specified `output_uri`. Only set if `output_uri` is set in the request." +}, +"feature": { +"description": "Specifies which feature is being tracked if the request contains more than one feature.", +"enum": [ +"FEATURE_UNSPECIFIED", +"LABEL_DETECTION", +"SHOT_CHANGE_DETECTION", +"EXPLICIT_CONTENT_DETECTION", +"FACE_DETECTION", +"SPEECH_TRANSCRIPTION", +"TEXT_DETECTION", +"OBJECT_TRACKING", +"LOGO_RECOGNITION", +"PERSON_DETECTION" +], +"enumDescriptions": [ +"Unspecified.", +"Label detection. Detect objects, such as dog or flower.", +"Shot change detection.", +"Explicit content detection.", +"Human face detection.", +"Speech transcription.", +"OCR text detection and tracking.", +"Object detection and tracking.", +"Logo detection, tracking, and recognition.", +"Person detection." +], +"type": "string" +}, +"inputUri": { +"description": "Video file location in [Cloud Storage](https://cloud.google.com/storage/).", +"type": "string" +}, +"progressPercent": { +"description": "Approximate percentage processed thus far. Guaranteed to be 100 when fully processed.", +"format": "int32", +"type": "integer" +}, +"segment": { +"$ref": "GoogleCloudVideointelligenceV1beta2_VideoSegment", +"description": "Specifies which segment is being tracked if the request contains more than one segment." +}, +"startTime": { +"description": "Time when the request was received.", +"format": "google-datetime", +"type": "string" +}, +"updateTime": { +"description": "Time of the most recent update.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1beta2_VideoAnnotationResults": { +"description": "Annotation results for a single video.", +"id": "GoogleCloudVideointelligenceV1beta2_VideoAnnotationResults", +"properties": { +"error": { +"$ref": "GoogleRpc_Status", +"description": "If set, indicates an error. Note that for a single `AnnotateVideoRequest` some videos may succeed and some may fail." +}, +"explicitAnnotation": { +"$ref": "GoogleCloudVideointelligenceV1beta2_ExplicitContentAnnotation", +"description": "Explicit content annotation." +}, +"faceAnnotations": { +"deprecated": true, +"description": "Deprecated. Please use `face_detection_annotations` instead.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1beta2_FaceAnnotation" +}, +"type": "array" +}, +"faceDetectionAnnotations": { +"description": "Face detection annotations.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1beta2_FaceDetectionAnnotation" +}, +"type": "array" +}, +"frameLabelAnnotations": { +"description": "Label annotations on frame level. There is exactly one element for each unique label.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1beta2_LabelAnnotation" +}, +"type": "array" +}, +"inputUri": { +"description": "Video file location in [Cloud Storage](https://cloud.google.com/storage/).", +"type": "string" +}, +"logoRecognitionAnnotations": { +"description": "Annotations for list of logos detected, tracked and recognized in video.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1beta2_LogoRecognitionAnnotation" +}, +"type": "array" +}, +"objectAnnotations": { +"description": "Annotations for list of objects detected and tracked in video.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1beta2_ObjectTrackingAnnotation" +}, +"type": "array" +}, +"personDetectionAnnotations": { +"description": "Person detection annotations.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1beta2_PersonDetectionAnnotation" +}, +"type": "array" +}, +"segment": { +"$ref": "GoogleCloudVideointelligenceV1beta2_VideoSegment", +"description": "Video segment on which the annotation is run." +}, +"segmentLabelAnnotations": { +"description": "Topical label annotations on video level or user-specified segment level. There is exactly one element for each unique label.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1beta2_LabelAnnotation" +}, +"type": "array" +}, +"segmentPresenceLabelAnnotations": { +"description": "Presence label annotations on video level or user-specified segment level. There is exactly one element for each unique label. Compared to the existing topical `segment_label_annotations`, this field presents more fine-grained, segment-level labels detected in video content and is made available only when the client sets `LabelDetectionConfig.model` to \"builtin/latest\" in the request.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1beta2_LabelAnnotation" +}, +"type": "array" +}, +"shotAnnotations": { +"description": "Shot annotations. Each shot is represented as a video segment.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1beta2_VideoSegment" +}, +"type": "array" +}, +"shotLabelAnnotations": { +"description": "Topical label annotations on shot level. There is exactly one element for each unique label.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1beta2_LabelAnnotation" +}, +"type": "array" +}, +"shotPresenceLabelAnnotations": { +"description": "Presence label annotations on shot level. There is exactly one element for each unique label. Compared to the existing topical `shot_label_annotations`, this field presents more fine-grained, shot-level labels detected in video content and is made available only when the client sets `LabelDetectionConfig.model` to \"builtin/latest\" in the request.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1beta2_LabelAnnotation" +}, +"type": "array" +}, +"speechTranscriptions": { +"description": "Speech transcription.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1beta2_SpeechTranscription" +}, +"type": "array" +}, +"textAnnotations": { +"description": "OCR text detection and tracking. Annotations for list of detected text snippets. Each will have list of frame information associated with it.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1beta2_TextAnnotation" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1beta2_VideoContext": { +"description": "Video context and/or feature-specific parameters.", +"id": "GoogleCloudVideointelligenceV1beta2_VideoContext", +"properties": { +"explicitContentDetectionConfig": { +"$ref": "GoogleCloudVideointelligenceV1beta2_ExplicitContentDetectionConfig", +"description": "Config for EXPLICIT_CONTENT_DETECTION." +}, +"faceDetectionConfig": { +"$ref": "GoogleCloudVideointelligenceV1beta2_FaceDetectionConfig", +"description": "Config for FACE_DETECTION." +}, +"labelDetectionConfig": { +"$ref": "GoogleCloudVideointelligenceV1beta2_LabelDetectionConfig", +"description": "Config for LABEL_DETECTION." +}, +"objectTrackingConfig": { +"$ref": "GoogleCloudVideointelligenceV1beta2_ObjectTrackingConfig", +"description": "Config for OBJECT_TRACKING." +}, +"personDetectionConfig": { +"$ref": "GoogleCloudVideointelligenceV1beta2_PersonDetectionConfig", +"description": "Config for PERSON_DETECTION." +}, +"segments": { +"description": "Video segments to annotate. The segments may overlap and are not required to be contiguous or span the whole video. If unspecified, each video is treated as a single segment.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1beta2_VideoSegment" +}, +"type": "array" +}, +"shotChangeDetectionConfig": { +"$ref": "GoogleCloudVideointelligenceV1beta2_ShotChangeDetectionConfig", +"description": "Config for SHOT_CHANGE_DETECTION." +}, +"speechTranscriptionConfig": { +"$ref": "GoogleCloudVideointelligenceV1beta2_SpeechTranscriptionConfig", +"description": "Config for SPEECH_TRANSCRIPTION." +}, +"textDetectionConfig": { +"$ref": "GoogleCloudVideointelligenceV1beta2_TextDetectionConfig", +"description": "Config for TEXT_DETECTION." +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1beta2_VideoSegment": { +"description": "Video segment.", +"id": "GoogleCloudVideointelligenceV1beta2_VideoSegment", +"properties": { +"endTimeOffset": { +"description": "Time-offset, relative to the beginning of the video, corresponding to the end of the segment (inclusive).", +"format": "google-duration", +"type": "string" +}, +"startTimeOffset": { +"description": "Time-offset, relative to the beginning of the video, corresponding to the start of the segment (inclusive).", +"format": "google-duration", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1beta2_WordInfo": { +"description": "Word-specific information for recognized words. Word information is only included in the response when certain request parameters are set, such as `enable_word_time_offsets`.", +"id": "GoogleCloudVideointelligenceV1beta2_WordInfo", +"properties": { +"confidence": { +"description": "Output only. The confidence estimate between 0.0 and 1.0. A higher number indicates an estimated greater likelihood that the recognized words are correct. This field is set only for the top alternative. This field is not guaranteed to be accurate and users should not rely on it to be always provided. The default of 0.0 is a sentinel value indicating `confidence` was not set.", +"format": "float", +"readOnly": true, +"type": "number" +}, +"endTime": { +"description": "Time offset relative to the beginning of the audio, and corresponding to the end of the spoken word. This field is only set if `enable_word_time_offsets=true` and only in the top hypothesis. This is an experimental feature and the accuracy of the time offset can vary.", +"format": "google-duration", +"type": "string" +}, +"speakerTag": { +"description": "Output only. A distinct integer value is assigned for every speaker within the audio. This field specifies which one of those speakers was detected to have spoken this word. Value ranges from 1 up to diarization_speaker_count, and is only set if speaker diarization is enabled.", +"format": "int32", +"readOnly": true, +"type": "integer" +}, +"startTime": { +"description": "Time offset relative to the beginning of the audio, and corresponding to the start of the spoken word. This field is only set if `enable_word_time_offsets=true` and only in the top hypothesis. This is an experimental feature and the accuracy of the time offset can vary.", +"format": "google-duration", +"type": "string" +}, +"word": { +"description": "The word corresponding to this set of information.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1p1beta1_AnnotateVideoProgress": { +"description": "Video annotation progress. Included in the `metadata` field of the `Operation` returned by the `GetOperation` call of the `google::longrunning::Operations` service.", +"id": "GoogleCloudVideointelligenceV1p1beta1_AnnotateVideoProgress", +"properties": { +"annotationProgress": { +"description": "Progress metadata for all videos specified in `AnnotateVideoRequest`.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1p1beta1_VideoAnnotationProgress" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1p1beta1_AnnotateVideoResponse": { +"description": "Video annotation response. Included in the `response` field of the `Operation` returned by the `GetOperation` call of the `google::longrunning::Operations` service.", +"id": "GoogleCloudVideointelligenceV1p1beta1_AnnotateVideoResponse", +"properties": { +"annotationResults": { +"description": "Annotation results for all videos specified in `AnnotateVideoRequest`.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1p1beta1_VideoAnnotationResults" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1p1beta1_DetectedAttribute": { +"description": "A generic detected attribute represented by name in string format.", +"id": "GoogleCloudVideointelligenceV1p1beta1_DetectedAttribute", +"properties": { +"confidence": { +"description": "Detected attribute confidence. Range [0, 1].", +"format": "float", +"type": "number" +}, +"name": { +"description": "The name of the attribute, for example, glasses, dark_glasses, mouth_open. A full list of supported type names will be provided in the document.", +"type": "string" +}, +"value": { +"description": "Text value of the detection result. For example, the value for \"HairColor\" can be \"black\", \"blonde\", etc.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1p1beta1_DetectedLandmark": { +"description": "A generic detected landmark represented by name in string format and a 2D location.", +"id": "GoogleCloudVideointelligenceV1p1beta1_DetectedLandmark", +"properties": { +"confidence": { +"description": "The confidence score of the detected landmark. Range [0, 1].", +"format": "float", +"type": "number" +}, +"name": { +"description": "The name of this landmark, for example, left_hand, right_shoulder.", +"type": "string" +}, +"point": { +"$ref": "GoogleCloudVideointelligenceV1p1beta1_NormalizedVertex", +"description": "The 2D point of the detected landmark using the normalized image coordinate system. The normalized coordinates have the range from 0 to 1." +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1p1beta1_Entity": { +"description": "Detected entity from video analysis.", +"id": "GoogleCloudVideointelligenceV1p1beta1_Entity", +"properties": { +"description": { +"description": "Textual description, e.g., `Fixed-gear bicycle`.", +"type": "string" +}, +"entityId": { +"description": "Opaque entity ID. Some IDs may be available in [Google Knowledge Graph Search API](https://developers.google.com/knowledge-graph/).", +"type": "string" +}, +"languageCode": { +"description": "Language code for `description` in BCP-47 format.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1p1beta1_ExplicitContentAnnotation": { +"description": "Explicit content annotation (based on per-frame visual signals only). If no explicit content has been detected in a frame, no annotations are present for that frame.", +"id": "GoogleCloudVideointelligenceV1p1beta1_ExplicitContentAnnotation", +"properties": { +"frames": { +"description": "All video frames where explicit content was detected.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1p1beta1_ExplicitContentFrame" +}, +"type": "array" +}, +"version": { +"description": "Feature version.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1p1beta1_ExplicitContentFrame": { +"description": "Video frame level annotation results for explicit content.", +"id": "GoogleCloudVideointelligenceV1p1beta1_ExplicitContentFrame", +"properties": { +"pornographyLikelihood": { +"description": "Likelihood of the pornography content..", +"enum": [ +"LIKELIHOOD_UNSPECIFIED", +"VERY_UNLIKELY", +"UNLIKELY", +"POSSIBLE", +"LIKELY", +"VERY_LIKELY" +], +"enumDescriptions": [ +"Unspecified likelihood.", +"Very unlikely.", +"Unlikely.", +"Possible.", +"Likely.", +"Very likely." +], +"type": "string" +}, +"timeOffset": { +"description": "Time-offset, relative to the beginning of the video, corresponding to the video frame for this location.", +"format": "google-duration", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1p1beta1_ExportToOutputUriStatus": { +"description": "Status of exporting annotation response to user specified `output_uri`.", +"id": "GoogleCloudVideointelligenceV1p1beta1_ExportToOutputUriStatus", +"properties": { +"state": { +"description": "Output only. State of the `output_uri` export.", +"enum": [ +"STATE_UNSPECIFIED", +"SUCCEEDED", +"FAILED" +], +"enumDescriptions": [ +"Default value.", +"Export succeeded.", +"Export failed." +], +"readOnly": true, +"type": "string" +}, +"status": { +"$ref": "GoogleRpc_Status", +"description": "Output only. Only set if state is FAILED.", +"readOnly": true +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1p1beta1_FaceAnnotation": { +"deprecated": true, +"description": "Deprecated. No effect.", +"id": "GoogleCloudVideointelligenceV1p1beta1_FaceAnnotation", +"properties": { +"frames": { +"description": "All video frames where a face was detected.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1p1beta1_FaceFrame" +}, +"type": "array" +}, +"segments": { +"description": "All video segments where a face was detected.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1p1beta1_FaceSegment" +}, +"type": "array" +}, +"thumbnail": { +"description": "Thumbnail of a representative face view (in JPEG format).", +"format": "byte", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1p1beta1_FaceDetectionAnnotation": { +"description": "Face detection annotation.", +"id": "GoogleCloudVideointelligenceV1p1beta1_FaceDetectionAnnotation", +"properties": { +"thumbnail": { +"description": "The thumbnail of a person's face.", +"format": "byte", +"type": "string" +}, +"tracks": { +"description": "The face tracks with attributes.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1p1beta1_Track" +}, +"type": "array" +}, +"version": { +"description": "Feature version.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1p1beta1_FaceFrame": { +"deprecated": true, +"description": "Deprecated. No effect.", +"id": "GoogleCloudVideointelligenceV1p1beta1_FaceFrame", +"properties": { +"normalizedBoundingBoxes": { +"description": "Normalized Bounding boxes in a frame. There can be more than one boxes if the same face is detected in multiple locations within the current frame.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1p1beta1_NormalizedBoundingBox" +}, +"type": "array" +}, +"timeOffset": { +"description": "Time-offset, relative to the beginning of the video, corresponding to the video frame for this location.", +"format": "google-duration", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1p1beta1_FaceSegment": { +"description": "Video segment level annotation results for face detection.", +"id": "GoogleCloudVideointelligenceV1p1beta1_FaceSegment", +"properties": { +"segment": { +"$ref": "GoogleCloudVideointelligenceV1p1beta1_VideoSegment", +"description": "Video segment where a face was detected." +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1p1beta1_LabelAnnotation": { +"description": "Label annotation.", +"id": "GoogleCloudVideointelligenceV1p1beta1_LabelAnnotation", +"properties": { +"categoryEntities": { +"description": "Common categories for the detected entity. For example, when the label is `Terrier`, the category is likely `dog`. And in some cases there might be more than one categories e.g., `Terrier` could also be a `pet`.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1p1beta1_Entity" +}, +"type": "array" +}, +"entity": { +"$ref": "GoogleCloudVideointelligenceV1p1beta1_Entity", +"description": "Detected entity." +}, +"frames": { +"description": "All video frames where a label was detected.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1p1beta1_LabelFrame" +}, +"type": "array" +}, +"segments": { +"description": "All video segments where a label was detected.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1p1beta1_LabelSegment" +}, +"type": "array" +}, +"version": { +"description": "Feature version.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1p1beta1_LabelFrame": { +"description": "Video frame level annotation results for label detection.", +"id": "GoogleCloudVideointelligenceV1p1beta1_LabelFrame", +"properties": { +"confidence": { +"description": "Confidence that the label is accurate. Range: [0, 1].", +"format": "float", +"type": "number" +}, +"timeOffset": { +"description": "Time-offset, relative to the beginning of the video, corresponding to the video frame for this location.", +"format": "google-duration", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1p1beta1_LabelSegment": { +"description": "Video segment level annotation results for label detection.", +"id": "GoogleCloudVideointelligenceV1p1beta1_LabelSegment", +"properties": { +"confidence": { +"description": "Confidence that the label is accurate. Range: [0, 1].", +"format": "float", +"type": "number" +}, +"segment": { +"$ref": "GoogleCloudVideointelligenceV1p1beta1_VideoSegment", +"description": "Video segment where a label was detected." +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1p1beta1_LogoRecognitionAnnotation": { +"description": "Annotation corresponding to one detected, tracked and recognized logo class.", +"id": "GoogleCloudVideointelligenceV1p1beta1_LogoRecognitionAnnotation", +"properties": { +"entity": { +"$ref": "GoogleCloudVideointelligenceV1p1beta1_Entity", +"description": "Entity category information to specify the logo class that all the logo tracks within this LogoRecognitionAnnotation are recognized as." +}, +"segments": { +"description": "All video segments where the recognized logo appears. There might be multiple instances of the same logo class appearing in one VideoSegment.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1p1beta1_VideoSegment" +}, +"type": "array" +}, +"tracks": { +"description": "All logo tracks where the recognized logo appears. Each track corresponds to one logo instance appearing in consecutive frames.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1p1beta1_Track" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1p1beta1_NormalizedBoundingBox": { +"description": "Normalized bounding box. The normalized vertex coordinates are relative to the original image. Range: [0, 1].", +"id": "GoogleCloudVideointelligenceV1p1beta1_NormalizedBoundingBox", +"properties": { +"bottom": { +"description": "Bottom Y coordinate.", +"format": "float", +"type": "number" +}, +"left": { +"description": "Left X coordinate.", +"format": "float", +"type": "number" +}, +"right": { +"description": "Right X coordinate.", +"format": "float", +"type": "number" +}, +"top": { +"description": "Top Y coordinate.", +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1p1beta1_NormalizedBoundingPoly": { +"description": "Normalized bounding polygon for text (that might not be aligned with axis). Contains list of the corner points in clockwise order starting from top-left corner. For example, for a rectangular bounding box: When the text is horizontal it might look like: 0----1 | | 3----2 When it's clockwise rotated 180 degrees around the top-left corner it becomes: 2----3 | | 1----0 and the vertex order will still be (0, 1, 2, 3). Note that values can be less than 0, or greater than 1 due to trigonometric calculations for location of the box.", +"id": "GoogleCloudVideointelligenceV1p1beta1_NormalizedBoundingPoly", +"properties": { +"vertices": { +"description": "Normalized vertices of the bounding polygon.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1p1beta1_NormalizedVertex" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1p1beta1_NormalizedVertex": { +"description": "A vertex represents a 2D point in the image. NOTE: the normalized vertex coordinates are relative to the original image and range from 0 to 1.", +"id": "GoogleCloudVideointelligenceV1p1beta1_NormalizedVertex", +"properties": { +"x": { +"description": "X coordinate.", +"format": "float", +"type": "number" +}, +"y": { +"description": "Y coordinate.", +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1p1beta1_ObjectTrackingAnnotation": { +"description": "Annotations corresponding to one tracked object.", +"id": "GoogleCloudVideointelligenceV1p1beta1_ObjectTrackingAnnotation", +"properties": { +"confidence": { +"description": "Object category's labeling confidence of this track.", +"format": "float", +"type": "number" +}, +"entity": { +"$ref": "GoogleCloudVideointelligenceV1p1beta1_Entity", +"description": "Entity to specify the object category that this track is labeled as." +}, +"frames": { +"description": "Information corresponding to all frames where this object track appears. Non-streaming batch mode: it may be one or multiple ObjectTrackingFrame messages in frames. Streaming mode: it can only be one ObjectTrackingFrame message in frames.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1p1beta1_ObjectTrackingFrame" +}, +"type": "array" +}, +"segment": { +"$ref": "GoogleCloudVideointelligenceV1p1beta1_VideoSegment", +"description": "Non-streaming batch mode ONLY. Each object track corresponds to one video segment where it appears." +}, +"trackId": { +"description": "Streaming mode ONLY. In streaming mode, we do not know the end time of a tracked object before it is completed. Hence, there is no VideoSegment info returned. Instead, we provide a unique identifiable integer track_id so that the customers can correlate the results of the ongoing ObjectTrackAnnotation of the same track_id over time.", +"format": "int64", +"type": "string" +}, +"version": { +"description": "Feature version.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1p1beta1_ObjectTrackingFrame": { +"description": "Video frame level annotations for object detection and tracking. This field stores per frame location, time offset, and confidence.", +"id": "GoogleCloudVideointelligenceV1p1beta1_ObjectTrackingFrame", +"properties": { +"normalizedBoundingBox": { +"$ref": "GoogleCloudVideointelligenceV1p1beta1_NormalizedBoundingBox", +"description": "The normalized bounding box location of this object track for the frame." +}, +"timeOffset": { +"description": "The timestamp of the frame in microseconds.", +"format": "google-duration", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1p1beta1_PersonDetectionAnnotation": { +"description": "Person detection annotation per video.", +"id": "GoogleCloudVideointelligenceV1p1beta1_PersonDetectionAnnotation", +"properties": { +"tracks": { +"description": "The detected tracks of a person.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1p1beta1_Track" +}, +"type": "array" +}, +"version": { +"description": "Feature version.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1p1beta1_SpeechRecognitionAlternative": { +"description": "Alternative hypotheses (a.k.a. n-best list).", +"id": "GoogleCloudVideointelligenceV1p1beta1_SpeechRecognitionAlternative", +"properties": { +"confidence": { +"description": "Output only. The confidence estimate between 0.0 and 1.0. A higher number indicates an estimated greater likelihood that the recognized words are correct. This field is set only for the top alternative. This field is not guaranteed to be accurate and users should not rely on it to be always provided. The default of 0.0 is a sentinel value indicating `confidence` was not set.", +"format": "float", +"readOnly": true, +"type": "number" +}, +"transcript": { +"description": "Transcript text representing the words that the user spoke.", +"type": "string" +}, +"words": { +"description": "Output only. A list of word-specific information for each recognized word. Note: When `enable_speaker_diarization` is set to true, you will see all the words from the beginning of the audio.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1p1beta1_WordInfo" +}, +"readOnly": true, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1p1beta1_SpeechTranscription": { +"description": "A speech recognition result corresponding to a portion of the audio.", +"id": "GoogleCloudVideointelligenceV1p1beta1_SpeechTranscription", +"properties": { +"alternatives": { +"description": "May contain one or more recognition hypotheses (up to the maximum specified in `max_alternatives`). These alternatives are ordered in terms of accuracy, with the top (first) alternative being the most probable, as ranked by the recognizer.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1p1beta1_SpeechRecognitionAlternative" +}, +"type": "array" +}, +"languageCode": { +"description": "Output only. The [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag of the language in this result. This language code was detected to have the most likelihood of being spoken in the audio.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1p1beta1_TextAnnotation": { +"description": "Annotations related to one detected OCR text snippet. This will contain the corresponding text, confidence value, and frame level information for each detection.", +"id": "GoogleCloudVideointelligenceV1p1beta1_TextAnnotation", +"properties": { +"segments": { +"description": "All video segments where OCR detected text appears.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1p1beta1_TextSegment" +}, +"type": "array" +}, +"text": { +"description": "The detected text.", +"type": "string" +}, +"version": { +"description": "Feature version.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1p1beta1_TextFrame": { +"description": "Video frame level annotation results for text annotation (OCR). Contains information regarding timestamp and bounding box locations for the frames containing detected OCR text snippets.", +"id": "GoogleCloudVideointelligenceV1p1beta1_TextFrame", +"properties": { +"rotatedBoundingBox": { +"$ref": "GoogleCloudVideointelligenceV1p1beta1_NormalizedBoundingPoly", +"description": "Bounding polygon of the detected text for this frame." +}, +"timeOffset": { +"description": "Timestamp of this frame.", +"format": "google-duration", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1p1beta1_TextSegment": { +"description": "Video segment level annotation results for text detection.", +"id": "GoogleCloudVideointelligenceV1p1beta1_TextSegment", +"properties": { +"confidence": { +"description": "Confidence for the track of detected text. It is calculated as the highest over all frames where OCR detected text appears.", +"format": "float", +"type": "number" +}, +"frames": { +"description": "Information related to the frames where OCR detected text appears.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1p1beta1_TextFrame" +}, +"type": "array" +}, +"segment": { +"$ref": "GoogleCloudVideointelligenceV1p1beta1_VideoSegment", +"description": "Video segment where a text snippet was detected." +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1p1beta1_TimestampedObject": { +"description": "For tracking related features. An object at time_offset with attributes, and located with normalized_bounding_box.", +"id": "GoogleCloudVideointelligenceV1p1beta1_TimestampedObject", +"properties": { +"attributes": { +"description": "Optional. The attributes of the object in the bounding box.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1p1beta1_DetectedAttribute" +}, +"type": "array" +}, +"landmarks": { +"description": "Optional. The detected landmarks.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1p1beta1_DetectedLandmark" +}, +"type": "array" +}, +"normalizedBoundingBox": { +"$ref": "GoogleCloudVideointelligenceV1p1beta1_NormalizedBoundingBox", +"description": "Normalized Bounding box in a frame, where the object is located." +}, +"timeOffset": { +"description": "Time-offset, relative to the beginning of the video, corresponding to the video frame for this object.", +"format": "google-duration", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1p1beta1_Track": { +"description": "A track of an object instance.", +"id": "GoogleCloudVideointelligenceV1p1beta1_Track", +"properties": { +"attributes": { +"description": "Optional. Attributes in the track level.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1p1beta1_DetectedAttribute" +}, +"type": "array" +}, +"confidence": { +"description": "Optional. The confidence score of the tracked object.", +"format": "float", +"type": "number" +}, +"segment": { +"$ref": "GoogleCloudVideointelligenceV1p1beta1_VideoSegment", +"description": "Video segment of a track." +}, +"timestampedObjects": { +"description": "The object with timestamp and attributes per frame in the track.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1p1beta1_TimestampedObject" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1p1beta1_VideoAnnotationProgress": { +"description": "Annotation progress for a single video.", +"id": "GoogleCloudVideointelligenceV1p1beta1_VideoAnnotationProgress", +"properties": { +"exportStatus": { +"$ref": "GoogleCloudVideointelligenceV1p1beta1_ExportToOutputUriStatus", +"description": "Status of exporting annotation response to user specified `output_uri`. Only set if `output_uri` is set in the request." +}, +"feature": { +"description": "Specifies which feature is being tracked if the request contains more than one feature.", +"enum": [ +"FEATURE_UNSPECIFIED", +"LABEL_DETECTION", +"SHOT_CHANGE_DETECTION", +"EXPLICIT_CONTENT_DETECTION", +"FACE_DETECTION", +"SPEECH_TRANSCRIPTION", +"TEXT_DETECTION", +"OBJECT_TRACKING", +"LOGO_RECOGNITION", +"PERSON_DETECTION" +], +"enumDescriptions": [ +"Unspecified.", +"Label detection. Detect objects, such as dog or flower.", +"Shot change detection.", +"Explicit content detection.", +"Human face detection.", +"Speech transcription.", +"OCR text detection and tracking.", +"Object detection and tracking.", +"Logo detection, tracking, and recognition.", +"Person detection." +], +"type": "string" +}, +"inputUri": { +"description": "Video file location in [Cloud Storage](https://cloud.google.com/storage/).", +"type": "string" +}, +"progressPercent": { +"description": "Approximate percentage processed thus far. Guaranteed to be 100 when fully processed.", +"format": "int32", +"type": "integer" +}, +"segment": { +"$ref": "GoogleCloudVideointelligenceV1p1beta1_VideoSegment", +"description": "Specifies which segment is being tracked if the request contains more than one segment." +}, +"startTime": { +"description": "Time when the request was received.", +"format": "google-datetime", +"type": "string" +}, +"updateTime": { +"description": "Time of the most recent update.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1p1beta1_VideoAnnotationResults": { +"description": "Annotation results for a single video.", +"id": "GoogleCloudVideointelligenceV1p1beta1_VideoAnnotationResults", +"properties": { +"error": { +"$ref": "GoogleRpc_Status", +"description": "If set, indicates an error. Note that for a single `AnnotateVideoRequest` some videos may succeed and some may fail." +}, +"explicitAnnotation": { +"$ref": "GoogleCloudVideointelligenceV1p1beta1_ExplicitContentAnnotation", +"description": "Explicit content annotation." +}, +"faceAnnotations": { +"deprecated": true, +"description": "Deprecated. Please use `face_detection_annotations` instead.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1p1beta1_FaceAnnotation" +}, +"type": "array" +}, +"faceDetectionAnnotations": { +"description": "Face detection annotations.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1p1beta1_FaceDetectionAnnotation" +}, +"type": "array" +}, +"frameLabelAnnotations": { +"description": "Label annotations on frame level. There is exactly one element for each unique label.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1p1beta1_LabelAnnotation" +}, +"type": "array" +}, +"inputUri": { +"description": "Video file location in [Cloud Storage](https://cloud.google.com/storage/).", +"type": "string" +}, +"logoRecognitionAnnotations": { +"description": "Annotations for list of logos detected, tracked and recognized in video.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1p1beta1_LogoRecognitionAnnotation" +}, +"type": "array" +}, +"objectAnnotations": { +"description": "Annotations for list of objects detected and tracked in video.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1p1beta1_ObjectTrackingAnnotation" +}, +"type": "array" +}, +"personDetectionAnnotations": { +"description": "Person detection annotations.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1p1beta1_PersonDetectionAnnotation" +}, +"type": "array" +}, +"segment": { +"$ref": "GoogleCloudVideointelligenceV1p1beta1_VideoSegment", +"description": "Video segment on which the annotation is run." +}, +"segmentLabelAnnotations": { +"description": "Topical label annotations on video level or user-specified segment level. There is exactly one element for each unique label.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1p1beta1_LabelAnnotation" +}, +"type": "array" +}, +"segmentPresenceLabelAnnotations": { +"description": "Presence label annotations on video level or user-specified segment level. There is exactly one element for each unique label. Compared to the existing topical `segment_label_annotations`, this field presents more fine-grained, segment-level labels detected in video content and is made available only when the client sets `LabelDetectionConfig.model` to \"builtin/latest\" in the request.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1p1beta1_LabelAnnotation" +}, +"type": "array" +}, +"shotAnnotations": { +"description": "Shot annotations. Each shot is represented as a video segment.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1p1beta1_VideoSegment" +}, +"type": "array" +}, +"shotLabelAnnotations": { +"description": "Topical label annotations on shot level. There is exactly one element for each unique label.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1p1beta1_LabelAnnotation" +}, +"type": "array" +}, +"shotPresenceLabelAnnotations": { +"description": "Presence label annotations on shot level. There is exactly one element for each unique label. Compared to the existing topical `shot_label_annotations`, this field presents more fine-grained, shot-level labels detected in video content and is made available only when the client sets `LabelDetectionConfig.model` to \"builtin/latest\" in the request.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1p1beta1_LabelAnnotation" +}, +"type": "array" +}, +"speechTranscriptions": { +"description": "Speech transcription.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1p1beta1_SpeechTranscription" +}, +"type": "array" +}, +"textAnnotations": { +"description": "OCR text detection and tracking. Annotations for list of detected text snippets. Each will have list of frame information associated with it.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1p1beta1_TextAnnotation" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1p1beta1_VideoSegment": { +"description": "Video segment.", +"id": "GoogleCloudVideointelligenceV1p1beta1_VideoSegment", +"properties": { +"endTimeOffset": { +"description": "Time-offset, relative to the beginning of the video, corresponding to the end of the segment (inclusive).", +"format": "google-duration", +"type": "string" +}, +"startTimeOffset": { +"description": "Time-offset, relative to the beginning of the video, corresponding to the start of the segment (inclusive).", +"format": "google-duration", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1p1beta1_WordInfo": { +"description": "Word-specific information for recognized words. Word information is only included in the response when certain request parameters are set, such as `enable_word_time_offsets`.", +"id": "GoogleCloudVideointelligenceV1p1beta1_WordInfo", +"properties": { +"confidence": { +"description": "Output only. The confidence estimate between 0.0 and 1.0. A higher number indicates an estimated greater likelihood that the recognized words are correct. This field is set only for the top alternative. This field is not guaranteed to be accurate and users should not rely on it to be always provided. The default of 0.0 is a sentinel value indicating `confidence` was not set.", +"format": "float", +"readOnly": true, +"type": "number" +}, +"endTime": { +"description": "Time offset relative to the beginning of the audio, and corresponding to the end of the spoken word. This field is only set if `enable_word_time_offsets=true` and only in the top hypothesis. This is an experimental feature and the accuracy of the time offset can vary.", +"format": "google-duration", +"type": "string" +}, +"speakerTag": { +"description": "Output only. A distinct integer value is assigned for every speaker within the audio. This field specifies which one of those speakers was detected to have spoken this word. Value ranges from 1 up to diarization_speaker_count, and is only set if speaker diarization is enabled.", +"format": "int32", +"readOnly": true, +"type": "integer" +}, +"startTime": { +"description": "Time offset relative to the beginning of the audio, and corresponding to the start of the spoken word. This field is only set if `enable_word_time_offsets=true` and only in the top hypothesis. This is an experimental feature and the accuracy of the time offset can vary.", +"format": "google-duration", +"type": "string" +}, +"word": { +"description": "The word corresponding to this set of information.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1p2beta1_AnnotateVideoProgress": { +"description": "Video annotation progress. Included in the `metadata` field of the `Operation` returned by the `GetOperation` call of the `google::longrunning::Operations` service.", +"id": "GoogleCloudVideointelligenceV1p2beta1_AnnotateVideoProgress", +"properties": { +"annotationProgress": { +"description": "Progress metadata for all videos specified in `AnnotateVideoRequest`.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1p2beta1_VideoAnnotationProgress" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1p2beta1_AnnotateVideoResponse": { +"description": "Video annotation response. Included in the `response` field of the `Operation` returned by the `GetOperation` call of the `google::longrunning::Operations` service.", +"id": "GoogleCloudVideointelligenceV1p2beta1_AnnotateVideoResponse", +"properties": { +"annotationResults": { +"description": "Annotation results for all videos specified in `AnnotateVideoRequest`.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1p2beta1_VideoAnnotationResults" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1p2beta1_DetectedAttribute": { +"description": "A generic detected attribute represented by name in string format.", +"id": "GoogleCloudVideointelligenceV1p2beta1_DetectedAttribute", +"properties": { +"confidence": { +"description": "Detected attribute confidence. Range [0, 1].", +"format": "float", +"type": "number" +}, +"name": { +"description": "The name of the attribute, for example, glasses, dark_glasses, mouth_open. A full list of supported type names will be provided in the document.", +"type": "string" +}, +"value": { +"description": "Text value of the detection result. For example, the value for \"HairColor\" can be \"black\", \"blonde\", etc.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1p2beta1_DetectedLandmark": { +"description": "A generic detected landmark represented by name in string format and a 2D location.", +"id": "GoogleCloudVideointelligenceV1p2beta1_DetectedLandmark", +"properties": { +"confidence": { +"description": "The confidence score of the detected landmark. Range [0, 1].", +"format": "float", +"type": "number" +}, +"name": { +"description": "The name of this landmark, for example, left_hand, right_shoulder.", +"type": "string" +}, +"point": { +"$ref": "GoogleCloudVideointelligenceV1p2beta1_NormalizedVertex", +"description": "The 2D point of the detected landmark using the normalized image coordinate system. The normalized coordinates have the range from 0 to 1." +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1p2beta1_Entity": { +"description": "Detected entity from video analysis.", +"id": "GoogleCloudVideointelligenceV1p2beta1_Entity", +"properties": { +"description": { +"description": "Textual description, e.g., `Fixed-gear bicycle`.", +"type": "string" +}, +"entityId": { +"description": "Opaque entity ID. Some IDs may be available in [Google Knowledge Graph Search API](https://developers.google.com/knowledge-graph/).", +"type": "string" +}, +"languageCode": { +"description": "Language code for `description` in BCP-47 format.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1p2beta1_ExplicitContentAnnotation": { +"description": "Explicit content annotation (based on per-frame visual signals only). If no explicit content has been detected in a frame, no annotations are present for that frame.", +"id": "GoogleCloudVideointelligenceV1p2beta1_ExplicitContentAnnotation", +"properties": { +"frames": { +"description": "All video frames where explicit content was detected.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1p2beta1_ExplicitContentFrame" +}, +"type": "array" +}, +"version": { +"description": "Feature version.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1p2beta1_ExplicitContentFrame": { +"description": "Video frame level annotation results for explicit content.", +"id": "GoogleCloudVideointelligenceV1p2beta1_ExplicitContentFrame", +"properties": { +"pornographyLikelihood": { +"description": "Likelihood of the pornography content..", +"enum": [ +"LIKELIHOOD_UNSPECIFIED", +"VERY_UNLIKELY", +"UNLIKELY", +"POSSIBLE", +"LIKELY", +"VERY_LIKELY" +], +"enumDescriptions": [ +"Unspecified likelihood.", +"Very unlikely.", +"Unlikely.", +"Possible.", +"Likely.", +"Very likely." +], +"type": "string" +}, +"timeOffset": { +"description": "Time-offset, relative to the beginning of the video, corresponding to the video frame for this location.", +"format": "google-duration", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1p2beta1_ExportToOutputUriStatus": { +"description": "Status of exporting annotation response to user specified `output_uri`.", +"id": "GoogleCloudVideointelligenceV1p2beta1_ExportToOutputUriStatus", +"properties": { +"state": { +"description": "Output only. State of the `output_uri` export.", +"enum": [ +"STATE_UNSPECIFIED", +"SUCCEEDED", +"FAILED" +], +"enumDescriptions": [ +"Default value.", +"Export succeeded.", +"Export failed." +], +"readOnly": true, +"type": "string" +}, +"status": { +"$ref": "GoogleRpc_Status", +"description": "Output only. Only set if state is FAILED.", +"readOnly": true +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1p2beta1_FaceAnnotation": { +"deprecated": true, +"description": "Deprecated. No effect.", +"id": "GoogleCloudVideointelligenceV1p2beta1_FaceAnnotation", +"properties": { +"frames": { +"description": "All video frames where a face was detected.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1p2beta1_FaceFrame" +}, +"type": "array" +}, +"segments": { +"description": "All video segments where a face was detected.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1p2beta1_FaceSegment" +}, +"type": "array" +}, +"thumbnail": { +"description": "Thumbnail of a representative face view (in JPEG format).", +"format": "byte", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1p2beta1_FaceDetectionAnnotation": { +"description": "Face detection annotation.", +"id": "GoogleCloudVideointelligenceV1p2beta1_FaceDetectionAnnotation", +"properties": { +"thumbnail": { +"description": "The thumbnail of a person's face.", +"format": "byte", +"type": "string" +}, +"tracks": { +"description": "The face tracks with attributes.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1p2beta1_Track" +}, +"type": "array" +}, +"version": { +"description": "Feature version.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1p2beta1_FaceFrame": { +"deprecated": true, +"description": "Deprecated. No effect.", +"id": "GoogleCloudVideointelligenceV1p2beta1_FaceFrame", +"properties": { +"normalizedBoundingBoxes": { +"description": "Normalized Bounding boxes in a frame. There can be more than one boxes if the same face is detected in multiple locations within the current frame.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1p2beta1_NormalizedBoundingBox" +}, +"type": "array" +}, +"timeOffset": { +"description": "Time-offset, relative to the beginning of the video, corresponding to the video frame for this location.", +"format": "google-duration", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1p2beta1_FaceSegment": { +"description": "Video segment level annotation results for face detection.", +"id": "GoogleCloudVideointelligenceV1p2beta1_FaceSegment", +"properties": { +"segment": { +"$ref": "GoogleCloudVideointelligenceV1p2beta1_VideoSegment", +"description": "Video segment where a face was detected." +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1p2beta1_LabelAnnotation": { +"description": "Label annotation.", +"id": "GoogleCloudVideointelligenceV1p2beta1_LabelAnnotation", +"properties": { +"categoryEntities": { +"description": "Common categories for the detected entity. For example, when the label is `Terrier`, the category is likely `dog`. And in some cases there might be more than one categories e.g., `Terrier` could also be a `pet`.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1p2beta1_Entity" +}, +"type": "array" +}, +"entity": { +"$ref": "GoogleCloudVideointelligenceV1p2beta1_Entity", +"description": "Detected entity." +}, +"frames": { +"description": "All video frames where a label was detected.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1p2beta1_LabelFrame" +}, +"type": "array" +}, +"segments": { +"description": "All video segments where a label was detected.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1p2beta1_LabelSegment" +}, +"type": "array" +}, +"version": { +"description": "Feature version.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1p2beta1_LabelFrame": { +"description": "Video frame level annotation results for label detection.", +"id": "GoogleCloudVideointelligenceV1p2beta1_LabelFrame", +"properties": { +"confidence": { +"description": "Confidence that the label is accurate. Range: [0, 1].", +"format": "float", +"type": "number" +}, +"timeOffset": { +"description": "Time-offset, relative to the beginning of the video, corresponding to the video frame for this location.", +"format": "google-duration", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1p2beta1_LabelSegment": { +"description": "Video segment level annotation results for label detection.", +"id": "GoogleCloudVideointelligenceV1p2beta1_LabelSegment", +"properties": { +"confidence": { +"description": "Confidence that the label is accurate. Range: [0, 1].", +"format": "float", +"type": "number" +}, +"segment": { +"$ref": "GoogleCloudVideointelligenceV1p2beta1_VideoSegment", +"description": "Video segment where a label was detected." +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1p2beta1_LogoRecognitionAnnotation": { +"description": "Annotation corresponding to one detected, tracked and recognized logo class.", +"id": "GoogleCloudVideointelligenceV1p2beta1_LogoRecognitionAnnotation", +"properties": { +"entity": { +"$ref": "GoogleCloudVideointelligenceV1p2beta1_Entity", +"description": "Entity category information to specify the logo class that all the logo tracks within this LogoRecognitionAnnotation are recognized as." +}, +"segments": { +"description": "All video segments where the recognized logo appears. There might be multiple instances of the same logo class appearing in one VideoSegment.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1p2beta1_VideoSegment" +}, +"type": "array" +}, +"tracks": { +"description": "All logo tracks where the recognized logo appears. Each track corresponds to one logo instance appearing in consecutive frames.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1p2beta1_Track" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1p2beta1_NormalizedBoundingBox": { +"description": "Normalized bounding box. The normalized vertex coordinates are relative to the original image. Range: [0, 1].", +"id": "GoogleCloudVideointelligenceV1p2beta1_NormalizedBoundingBox", +"properties": { +"bottom": { +"description": "Bottom Y coordinate.", +"format": "float", +"type": "number" +}, +"left": { +"description": "Left X coordinate.", +"format": "float", +"type": "number" +}, +"right": { +"description": "Right X coordinate.", +"format": "float", +"type": "number" +}, +"top": { +"description": "Top Y coordinate.", +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1p2beta1_NormalizedBoundingPoly": { +"description": "Normalized bounding polygon for text (that might not be aligned with axis). Contains list of the corner points in clockwise order starting from top-left corner. For example, for a rectangular bounding box: When the text is horizontal it might look like: 0----1 | | 3----2 When it's clockwise rotated 180 degrees around the top-left corner it becomes: 2----3 | | 1----0 and the vertex order will still be (0, 1, 2, 3). Note that values can be less than 0, or greater than 1 due to trigonometric calculations for location of the box.", +"id": "GoogleCloudVideointelligenceV1p2beta1_NormalizedBoundingPoly", +"properties": { +"vertices": { +"description": "Normalized vertices of the bounding polygon.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1p2beta1_NormalizedVertex" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1p2beta1_NormalizedVertex": { +"description": "A vertex represents a 2D point in the image. NOTE: the normalized vertex coordinates are relative to the original image and range from 0 to 1.", +"id": "GoogleCloudVideointelligenceV1p2beta1_NormalizedVertex", +"properties": { +"x": { +"description": "X coordinate.", +"format": "float", +"type": "number" +}, +"y": { +"description": "Y coordinate.", +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1p2beta1_ObjectTrackingAnnotation": { +"description": "Annotations corresponding to one tracked object.", +"id": "GoogleCloudVideointelligenceV1p2beta1_ObjectTrackingAnnotation", +"properties": { +"confidence": { +"description": "Object category's labeling confidence of this track.", +"format": "float", +"type": "number" +}, +"entity": { +"$ref": "GoogleCloudVideointelligenceV1p2beta1_Entity", +"description": "Entity to specify the object category that this track is labeled as." +}, +"frames": { +"description": "Information corresponding to all frames where this object track appears. Non-streaming batch mode: it may be one or multiple ObjectTrackingFrame messages in frames. Streaming mode: it can only be one ObjectTrackingFrame message in frames.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1p2beta1_ObjectTrackingFrame" +}, +"type": "array" +}, +"segment": { +"$ref": "GoogleCloudVideointelligenceV1p2beta1_VideoSegment", +"description": "Non-streaming batch mode ONLY. Each object track corresponds to one video segment where it appears." +}, +"trackId": { +"description": "Streaming mode ONLY. In streaming mode, we do not know the end time of a tracked object before it is completed. Hence, there is no VideoSegment info returned. Instead, we provide a unique identifiable integer track_id so that the customers can correlate the results of the ongoing ObjectTrackAnnotation of the same track_id over time.", +"format": "int64", +"type": "string" +}, +"version": { +"description": "Feature version.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1p2beta1_ObjectTrackingFrame": { +"description": "Video frame level annotations for object detection and tracking. This field stores per frame location, time offset, and confidence.", +"id": "GoogleCloudVideointelligenceV1p2beta1_ObjectTrackingFrame", +"properties": { +"normalizedBoundingBox": { +"$ref": "GoogleCloudVideointelligenceV1p2beta1_NormalizedBoundingBox", +"description": "The normalized bounding box location of this object track for the frame." +}, +"timeOffset": { +"description": "The timestamp of the frame in microseconds.", +"format": "google-duration", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1p2beta1_PersonDetectionAnnotation": { +"description": "Person detection annotation per video.", +"id": "GoogleCloudVideointelligenceV1p2beta1_PersonDetectionAnnotation", +"properties": { +"tracks": { +"description": "The detected tracks of a person.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1p2beta1_Track" +}, +"type": "array" +}, +"version": { +"description": "Feature version.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1p2beta1_SpeechRecognitionAlternative": { +"description": "Alternative hypotheses (a.k.a. n-best list).", +"id": "GoogleCloudVideointelligenceV1p2beta1_SpeechRecognitionAlternative", +"properties": { +"confidence": { +"description": "Output only. The confidence estimate between 0.0 and 1.0. A higher number indicates an estimated greater likelihood that the recognized words are correct. This field is set only for the top alternative. This field is not guaranteed to be accurate and users should not rely on it to be always provided. The default of 0.0 is a sentinel value indicating `confidence` was not set.", +"format": "float", +"readOnly": true, +"type": "number" +}, +"transcript": { +"description": "Transcript text representing the words that the user spoke.", +"type": "string" +}, +"words": { +"description": "Output only. A list of word-specific information for each recognized word. Note: When `enable_speaker_diarization` is set to true, you will see all the words from the beginning of the audio.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1p2beta1_WordInfo" +}, +"readOnly": true, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1p2beta1_SpeechTranscription": { +"description": "A speech recognition result corresponding to a portion of the audio.", +"id": "GoogleCloudVideointelligenceV1p2beta1_SpeechTranscription", +"properties": { +"alternatives": { +"description": "May contain one or more recognition hypotheses (up to the maximum specified in `max_alternatives`). These alternatives are ordered in terms of accuracy, with the top (first) alternative being the most probable, as ranked by the recognizer.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1p2beta1_SpeechRecognitionAlternative" +}, +"type": "array" +}, +"languageCode": { +"description": "Output only. The [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag of the language in this result. This language code was detected to have the most likelihood of being spoken in the audio.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1p2beta1_TextAnnotation": { +"description": "Annotations related to one detected OCR text snippet. This will contain the corresponding text, confidence value, and frame level information for each detection.", +"id": "GoogleCloudVideointelligenceV1p2beta1_TextAnnotation", +"properties": { +"segments": { +"description": "All video segments where OCR detected text appears.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1p2beta1_TextSegment" +}, +"type": "array" +}, +"text": { +"description": "The detected text.", +"type": "string" +}, +"version": { +"description": "Feature version.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1p2beta1_TextFrame": { +"description": "Video frame level annotation results for text annotation (OCR). Contains information regarding timestamp and bounding box locations for the frames containing detected OCR text snippets.", +"id": "GoogleCloudVideointelligenceV1p2beta1_TextFrame", +"properties": { +"rotatedBoundingBox": { +"$ref": "GoogleCloudVideointelligenceV1p2beta1_NormalizedBoundingPoly", +"description": "Bounding polygon of the detected text for this frame." +}, +"timeOffset": { +"description": "Timestamp of this frame.", +"format": "google-duration", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1p2beta1_TextSegment": { +"description": "Video segment level annotation results for text detection.", +"id": "GoogleCloudVideointelligenceV1p2beta1_TextSegment", +"properties": { +"confidence": { +"description": "Confidence for the track of detected text. It is calculated as the highest over all frames where OCR detected text appears.", +"format": "float", +"type": "number" +}, +"frames": { +"description": "Information related to the frames where OCR detected text appears.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1p2beta1_TextFrame" +}, +"type": "array" +}, +"segment": { +"$ref": "GoogleCloudVideointelligenceV1p2beta1_VideoSegment", +"description": "Video segment where a text snippet was detected." +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1p2beta1_TimestampedObject": { +"description": "For tracking related features. An object at time_offset with attributes, and located with normalized_bounding_box.", +"id": "GoogleCloudVideointelligenceV1p2beta1_TimestampedObject", +"properties": { +"attributes": { +"description": "Optional. The attributes of the object in the bounding box.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1p2beta1_DetectedAttribute" +}, +"type": "array" +}, +"landmarks": { +"description": "Optional. The detected landmarks.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1p2beta1_DetectedLandmark" +}, +"type": "array" +}, +"normalizedBoundingBox": { +"$ref": "GoogleCloudVideointelligenceV1p2beta1_NormalizedBoundingBox", +"description": "Normalized Bounding box in a frame, where the object is located." +}, +"timeOffset": { +"description": "Time-offset, relative to the beginning of the video, corresponding to the video frame for this object.", +"format": "google-duration", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1p2beta1_Track": { +"description": "A track of an object instance.", +"id": "GoogleCloudVideointelligenceV1p2beta1_Track", +"properties": { +"attributes": { +"description": "Optional. Attributes in the track level.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1p2beta1_DetectedAttribute" +}, +"type": "array" +}, +"confidence": { +"description": "Optional. The confidence score of the tracked object.", +"format": "float", +"type": "number" +}, +"segment": { +"$ref": "GoogleCloudVideointelligenceV1p2beta1_VideoSegment", +"description": "Video segment of a track." +}, +"timestampedObjects": { +"description": "The object with timestamp and attributes per frame in the track.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1p2beta1_TimestampedObject" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1p2beta1_VideoAnnotationProgress": { +"description": "Annotation progress for a single video.", +"id": "GoogleCloudVideointelligenceV1p2beta1_VideoAnnotationProgress", +"properties": { +"exportStatus": { +"$ref": "GoogleCloudVideointelligenceV1p2beta1_ExportToOutputUriStatus", +"description": "Status of exporting annotation response to user specified `output_uri`. Only set if `output_uri` is set in the request." +}, +"feature": { +"description": "Specifies which feature is being tracked if the request contains more than one feature.", +"enum": [ +"FEATURE_UNSPECIFIED", +"LABEL_DETECTION", +"SHOT_CHANGE_DETECTION", +"EXPLICIT_CONTENT_DETECTION", +"FACE_DETECTION", +"SPEECH_TRANSCRIPTION", +"TEXT_DETECTION", +"OBJECT_TRACKING", +"LOGO_RECOGNITION", +"PERSON_DETECTION" +], +"enumDescriptions": [ +"Unspecified.", +"Label detection. Detect objects, such as dog or flower.", +"Shot change detection.", +"Explicit content detection.", +"Human face detection.", +"Speech transcription.", +"OCR text detection and tracking.", +"Object detection and tracking.", +"Logo detection, tracking, and recognition.", +"Person detection." +], +"type": "string" +}, +"inputUri": { +"description": "Video file location in [Cloud Storage](https://cloud.google.com/storage/).", +"type": "string" +}, +"progressPercent": { +"description": "Approximate percentage processed thus far. Guaranteed to be 100 when fully processed.", +"format": "int32", +"type": "integer" +}, +"segment": { +"$ref": "GoogleCloudVideointelligenceV1p2beta1_VideoSegment", +"description": "Specifies which segment is being tracked if the request contains more than one segment." +}, +"startTime": { +"description": "Time when the request was received.", +"format": "google-datetime", +"type": "string" +}, +"updateTime": { +"description": "Time of the most recent update.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1p2beta1_VideoAnnotationResults": { +"description": "Annotation results for a single video.", +"id": "GoogleCloudVideointelligenceV1p2beta1_VideoAnnotationResults", +"properties": { +"error": { +"$ref": "GoogleRpc_Status", +"description": "If set, indicates an error. Note that for a single `AnnotateVideoRequest` some videos may succeed and some may fail." +}, +"explicitAnnotation": { +"$ref": "GoogleCloudVideointelligenceV1p2beta1_ExplicitContentAnnotation", +"description": "Explicit content annotation." +}, +"faceAnnotations": { +"deprecated": true, +"description": "Deprecated. Please use `face_detection_annotations` instead.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1p2beta1_FaceAnnotation" +}, +"type": "array" +}, +"faceDetectionAnnotations": { +"description": "Face detection annotations.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1p2beta1_FaceDetectionAnnotation" +}, +"type": "array" +}, +"frameLabelAnnotations": { +"description": "Label annotations on frame level. There is exactly one element for each unique label.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1p2beta1_LabelAnnotation" +}, +"type": "array" +}, +"inputUri": { +"description": "Video file location in [Cloud Storage](https://cloud.google.com/storage/).", +"type": "string" +}, +"logoRecognitionAnnotations": { +"description": "Annotations for list of logos detected, tracked and recognized in video.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1p2beta1_LogoRecognitionAnnotation" +}, +"type": "array" +}, +"objectAnnotations": { +"description": "Annotations for list of objects detected and tracked in video.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1p2beta1_ObjectTrackingAnnotation" +}, +"type": "array" +}, +"personDetectionAnnotations": { +"description": "Person detection annotations.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1p2beta1_PersonDetectionAnnotation" +}, +"type": "array" +}, +"segment": { +"$ref": "GoogleCloudVideointelligenceV1p2beta1_VideoSegment", +"description": "Video segment on which the annotation is run." +}, +"segmentLabelAnnotations": { +"description": "Topical label annotations on video level or user-specified segment level. There is exactly one element for each unique label.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1p2beta1_LabelAnnotation" +}, +"type": "array" +}, +"segmentPresenceLabelAnnotations": { +"description": "Presence label annotations on video level or user-specified segment level. There is exactly one element for each unique label. Compared to the existing topical `segment_label_annotations`, this field presents more fine-grained, segment-level labels detected in video content and is made available only when the client sets `LabelDetectionConfig.model` to \"builtin/latest\" in the request.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1p2beta1_LabelAnnotation" +}, +"type": "array" +}, +"shotAnnotations": { +"description": "Shot annotations. Each shot is represented as a video segment.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1p2beta1_VideoSegment" +}, +"type": "array" +}, +"shotLabelAnnotations": { +"description": "Topical label annotations on shot level. There is exactly one element for each unique label.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1p2beta1_LabelAnnotation" +}, +"type": "array" +}, +"shotPresenceLabelAnnotations": { +"description": "Presence label annotations on shot level. There is exactly one element for each unique label. Compared to the existing topical `shot_label_annotations`, this field presents more fine-grained, shot-level labels detected in video content and is made available only when the client sets `LabelDetectionConfig.model` to \"builtin/latest\" in the request.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1p2beta1_LabelAnnotation" +}, +"type": "array" +}, +"speechTranscriptions": { +"description": "Speech transcription.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1p2beta1_SpeechTranscription" +}, +"type": "array" +}, +"textAnnotations": { +"description": "OCR text detection and tracking. Annotations for list of detected text snippets. Each will have list of frame information associated with it.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1p2beta1_TextAnnotation" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1p2beta1_VideoSegment": { +"description": "Video segment.", +"id": "GoogleCloudVideointelligenceV1p2beta1_VideoSegment", +"properties": { +"endTimeOffset": { +"description": "Time-offset, relative to the beginning of the video, corresponding to the end of the segment (inclusive).", +"format": "google-duration", +"type": "string" +}, +"startTimeOffset": { +"description": "Time-offset, relative to the beginning of the video, corresponding to the start of the segment (inclusive).", +"format": "google-duration", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1p2beta1_WordInfo": { +"description": "Word-specific information for recognized words. Word information is only included in the response when certain request parameters are set, such as `enable_word_time_offsets`.", +"id": "GoogleCloudVideointelligenceV1p2beta1_WordInfo", +"properties": { +"confidence": { +"description": "Output only. The confidence estimate between 0.0 and 1.0. A higher number indicates an estimated greater likelihood that the recognized words are correct. This field is set only for the top alternative. This field is not guaranteed to be accurate and users should not rely on it to be always provided. The default of 0.0 is a sentinel value indicating `confidence` was not set.", +"format": "float", +"readOnly": true, +"type": "number" +}, +"endTime": { +"description": "Time offset relative to the beginning of the audio, and corresponding to the end of the spoken word. This field is only set if `enable_word_time_offsets=true` and only in the top hypothesis. This is an experimental feature and the accuracy of the time offset can vary.", +"format": "google-duration", +"type": "string" +}, +"speakerTag": { +"description": "Output only. A distinct integer value is assigned for every speaker within the audio. This field specifies which one of those speakers was detected to have spoken this word. Value ranges from 1 up to diarization_speaker_count, and is only set if speaker diarization is enabled.", +"format": "int32", +"readOnly": true, +"type": "integer" +}, +"startTime": { +"description": "Time offset relative to the beginning of the audio, and corresponding to the start of the spoken word. This field is only set if `enable_word_time_offsets=true` and only in the top hypothesis. This is an experimental feature and the accuracy of the time offset can vary.", +"format": "google-duration", +"type": "string" +}, +"word": { +"description": "The word corresponding to this set of information.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1p3beta1_AnnotateVideoProgress": { +"description": "Video annotation progress. Included in the `metadata` field of the `Operation` returned by the `GetOperation` call of the `google::longrunning::Operations` service.", +"id": "GoogleCloudVideointelligenceV1p3beta1_AnnotateVideoProgress", +"properties": { +"annotationProgress": { +"description": "Progress metadata for all videos specified in `AnnotateVideoRequest`.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1p3beta1_VideoAnnotationProgress" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1p3beta1_AnnotateVideoResponse": { +"description": "Video annotation response. Included in the `response` field of the `Operation` returned by the `GetOperation` call of the `google::longrunning::Operations` service.", +"id": "GoogleCloudVideointelligenceV1p3beta1_AnnotateVideoResponse", +"properties": { +"annotationResults": { +"description": "Annotation results for all videos specified in `AnnotateVideoRequest`.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1p3beta1_VideoAnnotationResults" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1p3beta1_Celebrity": { +"description": "Celebrity definition.", +"id": "GoogleCloudVideointelligenceV1p3beta1_Celebrity", +"properties": { +"description": { +"description": "Textual description of additional information about the celebrity, if applicable.", +"type": "string" +}, +"displayName": { +"description": "The celebrity name.", +"type": "string" +}, +"name": { +"description": "The resource name of the celebrity. Have the format `video-intelligence/kg-mid` indicates a celebrity from preloaded gallery. kg-mid is the id in Google knowledge graph, which is unique for the celebrity.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1p3beta1_CelebrityRecognitionAnnotation": { +"description": "Celebrity recognition annotation per video.", +"id": "GoogleCloudVideointelligenceV1p3beta1_CelebrityRecognitionAnnotation", +"properties": { +"celebrityTracks": { +"description": "The tracks detected from the input video, including recognized celebrities and other detected faces in the video.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1p3beta1_CelebrityTrack" +}, +"type": "array" +}, +"version": { +"description": "Feature version.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1p3beta1_CelebrityTrack": { +"description": "The annotation result of a celebrity face track. RecognizedCelebrity field could be empty if the face track does not have any matched celebrities.", +"id": "GoogleCloudVideointelligenceV1p3beta1_CelebrityTrack", +"properties": { +"celebrities": { +"description": "Top N match of the celebrities for the face in this track.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1p3beta1_RecognizedCelebrity" +}, +"type": "array" +}, +"faceTrack": { +"$ref": "GoogleCloudVideointelligenceV1p3beta1_Track", +"description": "A track of a person's face." +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1p3beta1_DetectedAttribute": { +"description": "A generic detected attribute represented by name in string format.", +"id": "GoogleCloudVideointelligenceV1p3beta1_DetectedAttribute", +"properties": { +"confidence": { +"description": "Detected attribute confidence. Range [0, 1].", +"format": "float", +"type": "number" +}, +"name": { +"description": "The name of the attribute, for example, glasses, dark_glasses, mouth_open. A full list of supported type names will be provided in the document.", +"type": "string" +}, +"value": { +"description": "Text value of the detection result. For example, the value for \"HairColor\" can be \"black\", \"blonde\", etc.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1p3beta1_DetectedLandmark": { +"description": "A generic detected landmark represented by name in string format and a 2D location.", +"id": "GoogleCloudVideointelligenceV1p3beta1_DetectedLandmark", +"properties": { +"confidence": { +"description": "The confidence score of the detected landmark. Range [0, 1].", +"format": "float", +"type": "number" +}, +"name": { +"description": "The name of this landmark, for example, left_hand, right_shoulder.", +"type": "string" +}, +"point": { +"$ref": "GoogleCloudVideointelligenceV1p3beta1_NormalizedVertex", +"description": "The 2D point of the detected landmark using the normalized image coordinate system. The normalized coordinates have the range from 0 to 1." +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1p3beta1_Entity": { +"description": "Detected entity from video analysis.", +"id": "GoogleCloudVideointelligenceV1p3beta1_Entity", +"properties": { +"description": { +"description": "Textual description, e.g., `Fixed-gear bicycle`.", +"type": "string" +}, +"entityId": { +"description": "Opaque entity ID. Some IDs may be available in [Google Knowledge Graph Search API](https://developers.google.com/knowledge-graph/).", +"type": "string" +}, +"languageCode": { +"description": "Language code for `description` in BCP-47 format.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1p3beta1_ExplicitContentAnnotation": { +"description": "Explicit content annotation (based on per-frame visual signals only). If no explicit content has been detected in a frame, no annotations are present for that frame.", +"id": "GoogleCloudVideointelligenceV1p3beta1_ExplicitContentAnnotation", +"properties": { +"frames": { +"description": "All video frames where explicit content was detected.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1p3beta1_ExplicitContentFrame" +}, +"type": "array" +}, +"version": { +"description": "Feature version.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1p3beta1_ExplicitContentFrame": { +"description": "Video frame level annotation results for explicit content.", +"id": "GoogleCloudVideointelligenceV1p3beta1_ExplicitContentFrame", +"properties": { +"pornographyLikelihood": { +"description": "Likelihood of the pornography content..", +"enum": [ +"LIKELIHOOD_UNSPECIFIED", +"VERY_UNLIKELY", +"UNLIKELY", +"POSSIBLE", +"LIKELY", +"VERY_LIKELY" +], +"enumDescriptions": [ +"Unspecified likelihood.", +"Very unlikely.", +"Unlikely.", +"Possible.", +"Likely.", +"Very likely." +], +"type": "string" +}, +"timeOffset": { +"description": "Time-offset, relative to the beginning of the video, corresponding to the video frame for this location.", +"format": "google-duration", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1p3beta1_ExportToOutputUriStatus": { +"description": "Status of exporting annotation response to user specified `output_uri`.", +"id": "GoogleCloudVideointelligenceV1p3beta1_ExportToOutputUriStatus", +"properties": { +"state": { +"description": "Output only. State of the `output_uri` export.", +"enum": [ +"STATE_UNSPECIFIED", +"SUCCEEDED", +"FAILED" +], +"enumDescriptions": [ +"Default value.", +"Export succeeded.", +"Export failed." +], +"readOnly": true, +"type": "string" +}, +"status": { +"$ref": "GoogleRpc_Status", +"description": "Output only. Only set if state is FAILED.", +"readOnly": true +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1p3beta1_FaceAnnotation": { +"deprecated": true, +"description": "Deprecated. No effect.", +"id": "GoogleCloudVideointelligenceV1p3beta1_FaceAnnotation", +"properties": { +"frames": { +"description": "All video frames where a face was detected.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1p3beta1_FaceFrame" +}, +"type": "array" +}, +"segments": { +"description": "All video segments where a face was detected.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1p3beta1_FaceSegment" +}, +"type": "array" +}, +"thumbnail": { +"description": "Thumbnail of a representative face view (in JPEG format).", +"format": "byte", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1p3beta1_FaceDetectionAnnotation": { +"description": "Face detection annotation.", +"id": "GoogleCloudVideointelligenceV1p3beta1_FaceDetectionAnnotation", +"properties": { +"thumbnail": { +"description": "The thumbnail of a person's face.", +"format": "byte", +"type": "string" +}, +"tracks": { +"description": "The face tracks with attributes.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1p3beta1_Track" +}, +"type": "array" +}, +"version": { +"description": "Feature version.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1p3beta1_FaceFrame": { +"deprecated": true, +"description": "Deprecated. No effect.", +"id": "GoogleCloudVideointelligenceV1p3beta1_FaceFrame", +"properties": { +"normalizedBoundingBoxes": { +"description": "Normalized Bounding boxes in a frame. There can be more than one boxes if the same face is detected in multiple locations within the current frame.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1p3beta1_NormalizedBoundingBox" +}, +"type": "array" +}, +"timeOffset": { +"description": "Time-offset, relative to the beginning of the video, corresponding to the video frame for this location.", +"format": "google-duration", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1p3beta1_FaceSegment": { +"description": "Video segment level annotation results for face detection.", +"id": "GoogleCloudVideointelligenceV1p3beta1_FaceSegment", +"properties": { +"segment": { +"$ref": "GoogleCloudVideointelligenceV1p3beta1_VideoSegment", +"description": "Video segment where a face was detected." +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1p3beta1_LabelAnnotation": { +"description": "Label annotation.", +"id": "GoogleCloudVideointelligenceV1p3beta1_LabelAnnotation", +"properties": { +"categoryEntities": { +"description": "Common categories for the detected entity. For example, when the label is `Terrier`, the category is likely `dog`. And in some cases there might be more than one categories e.g., `Terrier` could also be a `pet`.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1p3beta1_Entity" +}, +"type": "array" +}, +"entity": { +"$ref": "GoogleCloudVideointelligenceV1p3beta1_Entity", +"description": "Detected entity." +}, +"frames": { +"description": "All video frames where a label was detected.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1p3beta1_LabelFrame" +}, +"type": "array" +}, +"segments": { +"description": "All video segments where a label was detected.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1p3beta1_LabelSegment" +}, +"type": "array" +}, +"version": { +"description": "Feature version.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1p3beta1_LabelFrame": { +"description": "Video frame level annotation results for label detection.", +"id": "GoogleCloudVideointelligenceV1p3beta1_LabelFrame", +"properties": { +"confidence": { +"description": "Confidence that the label is accurate. Range: [0, 1].", +"format": "float", +"type": "number" +}, +"timeOffset": { +"description": "Time-offset, relative to the beginning of the video, corresponding to the video frame for this location.", +"format": "google-duration", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1p3beta1_LabelSegment": { +"description": "Video segment level annotation results for label detection.", +"id": "GoogleCloudVideointelligenceV1p3beta1_LabelSegment", +"properties": { +"confidence": { +"description": "Confidence that the label is accurate. Range: [0, 1].", +"format": "float", +"type": "number" +}, +"segment": { +"$ref": "GoogleCloudVideointelligenceV1p3beta1_VideoSegment", +"description": "Video segment where a label was detected." +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1p3beta1_LogoRecognitionAnnotation": { +"description": "Annotation corresponding to one detected, tracked and recognized logo class.", +"id": "GoogleCloudVideointelligenceV1p3beta1_LogoRecognitionAnnotation", +"properties": { +"entity": { +"$ref": "GoogleCloudVideointelligenceV1p3beta1_Entity", +"description": "Entity category information to specify the logo class that all the logo tracks within this LogoRecognitionAnnotation are recognized as." +}, +"segments": { +"description": "All video segments where the recognized logo appears. There might be multiple instances of the same logo class appearing in one VideoSegment.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1p3beta1_VideoSegment" +}, +"type": "array" +}, +"tracks": { +"description": "All logo tracks where the recognized logo appears. Each track corresponds to one logo instance appearing in consecutive frames.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1p3beta1_Track" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1p3beta1_NormalizedBoundingBox": { +"description": "Normalized bounding box. The normalized vertex coordinates are relative to the original image. Range: [0, 1].", +"id": "GoogleCloudVideointelligenceV1p3beta1_NormalizedBoundingBox", +"properties": { +"bottom": { +"description": "Bottom Y coordinate.", +"format": "float", +"type": "number" +}, +"left": { +"description": "Left X coordinate.", +"format": "float", +"type": "number" +}, +"right": { +"description": "Right X coordinate.", +"format": "float", +"type": "number" +}, +"top": { +"description": "Top Y coordinate.", +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1p3beta1_NormalizedBoundingPoly": { +"description": "Normalized bounding polygon for text (that might not be aligned with axis). Contains list of the corner points in clockwise order starting from top-left corner. For example, for a rectangular bounding box: When the text is horizontal it might look like: 0----1 | | 3----2 When it's clockwise rotated 180 degrees around the top-left corner it becomes: 2----3 | | 1----0 and the vertex order will still be (0, 1, 2, 3). Note that values can be less than 0, or greater than 1 due to trigonometric calculations for location of the box.", +"id": "GoogleCloudVideointelligenceV1p3beta1_NormalizedBoundingPoly", +"properties": { +"vertices": { +"description": "Normalized vertices of the bounding polygon.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1p3beta1_NormalizedVertex" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1p3beta1_NormalizedVertex": { +"description": "A vertex represents a 2D point in the image. NOTE: the normalized vertex coordinates are relative to the original image and range from 0 to 1.", +"id": "GoogleCloudVideointelligenceV1p3beta1_NormalizedVertex", +"properties": { +"x": { +"description": "X coordinate.", +"format": "float", +"type": "number" +}, +"y": { +"description": "Y coordinate.", +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1p3beta1_ObjectTrackingAnnotation": { +"description": "Annotations corresponding to one tracked object.", +"id": "GoogleCloudVideointelligenceV1p3beta1_ObjectTrackingAnnotation", +"properties": { +"confidence": { +"description": "Object category's labeling confidence of this track.", +"format": "float", +"type": "number" +}, +"entity": { +"$ref": "GoogleCloudVideointelligenceV1p3beta1_Entity", +"description": "Entity to specify the object category that this track is labeled as." +}, +"frames": { +"description": "Information corresponding to all frames where this object track appears. Non-streaming batch mode: it may be one or multiple ObjectTrackingFrame messages in frames. Streaming mode: it can only be one ObjectTrackingFrame message in frames.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1p3beta1_ObjectTrackingFrame" +}, +"type": "array" +}, +"segment": { +"$ref": "GoogleCloudVideointelligenceV1p3beta1_VideoSegment", +"description": "Non-streaming batch mode ONLY. Each object track corresponds to one video segment where it appears." +}, +"trackId": { +"description": "Streaming mode ONLY. In streaming mode, we do not know the end time of a tracked object before it is completed. Hence, there is no VideoSegment info returned. Instead, we provide a unique identifiable integer track_id so that the customers can correlate the results of the ongoing ObjectTrackAnnotation of the same track_id over time.", +"format": "int64", +"type": "string" +}, +"version": { +"description": "Feature version.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1p3beta1_ObjectTrackingFrame": { +"description": "Video frame level annotations for object detection and tracking. This field stores per frame location, time offset, and confidence.", +"id": "GoogleCloudVideointelligenceV1p3beta1_ObjectTrackingFrame", +"properties": { +"normalizedBoundingBox": { +"$ref": "GoogleCloudVideointelligenceV1p3beta1_NormalizedBoundingBox", +"description": "The normalized bounding box location of this object track for the frame." +}, +"timeOffset": { +"description": "The timestamp of the frame in microseconds.", +"format": "google-duration", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1p3beta1_PersonDetectionAnnotation": { +"description": "Person detection annotation per video.", +"id": "GoogleCloudVideointelligenceV1p3beta1_PersonDetectionAnnotation", +"properties": { +"tracks": { +"description": "The detected tracks of a person.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1p3beta1_Track" +}, +"type": "array" +}, +"version": { +"description": "Feature version.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1p3beta1_RecognizedCelebrity": { +"description": "The recognized celebrity with confidence score.", +"id": "GoogleCloudVideointelligenceV1p3beta1_RecognizedCelebrity", +"properties": { +"celebrity": { +"$ref": "GoogleCloudVideointelligenceV1p3beta1_Celebrity", +"description": "The recognized celebrity." +}, +"confidence": { +"description": "Recognition confidence. Range [0, 1].", +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1p3beta1_SpeechRecognitionAlternative": { +"description": "Alternative hypotheses (a.k.a. n-best list).", +"id": "GoogleCloudVideointelligenceV1p3beta1_SpeechRecognitionAlternative", +"properties": { +"confidence": { +"description": "Output only. The confidence estimate between 0.0 and 1.0. A higher number indicates an estimated greater likelihood that the recognized words are correct. This field is set only for the top alternative. This field is not guaranteed to be accurate and users should not rely on it to be always provided. The default of 0.0 is a sentinel value indicating `confidence` was not set.", +"format": "float", +"readOnly": true, +"type": "number" +}, +"transcript": { +"description": "Transcript text representing the words that the user spoke.", +"type": "string" +}, +"words": { +"description": "Output only. A list of word-specific information for each recognized word. Note: When `enable_speaker_diarization` is set to true, you will see all the words from the beginning of the audio.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1p3beta1_WordInfo" +}, +"readOnly": true, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1p3beta1_SpeechTranscription": { +"description": "A speech recognition result corresponding to a portion of the audio.", +"id": "GoogleCloudVideointelligenceV1p3beta1_SpeechTranscription", +"properties": { +"alternatives": { +"description": "May contain one or more recognition hypotheses (up to the maximum specified in `max_alternatives`). These alternatives are ordered in terms of accuracy, with the top (first) alternative being the most probable, as ranked by the recognizer.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1p3beta1_SpeechRecognitionAlternative" +}, +"type": "array" +}, +"languageCode": { +"description": "Output only. The [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag of the language in this result. This language code was detected to have the most likelihood of being spoken in the audio.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1p3beta1_StreamingAnnotateVideoResponse": { +"description": "`StreamingAnnotateVideoResponse` is the only message returned to the client by `StreamingAnnotateVideo`. A series of zero or more `StreamingAnnotateVideoResponse` messages are streamed back to the client.", +"id": "GoogleCloudVideointelligenceV1p3beta1_StreamingAnnotateVideoResponse", +"properties": { +"annotationResults": { +"$ref": "GoogleCloudVideointelligenceV1p3beta1_StreamingVideoAnnotationResults", +"description": "Streaming annotation results." +}, +"annotationResultsUri": { +"description": "Google Cloud Storage URI that stores annotation results of one streaming session in JSON format. It is the annotation_result_storage_directory from the request followed by '/cloud_project_number-session_id'.", +"type": "string" +}, +"error": { +"$ref": "GoogleRpc_Status", +"description": "If set, returns a google.rpc.Status message that specifies the error for the operation." +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1p3beta1_StreamingVideoAnnotationResults": { +"description": "Streaming annotation results corresponding to a portion of the video that is currently being processed. Only ONE type of annotation will be specified in the response.", +"id": "GoogleCloudVideointelligenceV1p3beta1_StreamingVideoAnnotationResults", +"properties": { +"explicitAnnotation": { +"$ref": "GoogleCloudVideointelligenceV1p3beta1_ExplicitContentAnnotation", +"description": "Explicit content annotation results." +}, +"frameTimestamp": { +"description": "Timestamp of the processed frame in microseconds.", +"format": "google-duration", +"type": "string" +}, +"labelAnnotations": { +"description": "Label annotation results.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1p3beta1_LabelAnnotation" +}, +"type": "array" +}, +"objectAnnotations": { +"description": "Object tracking results.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1p3beta1_ObjectTrackingAnnotation" +}, +"type": "array" +}, +"shotAnnotations": { +"description": "Shot annotation results. Each shot is represented as a video segment.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1p3beta1_VideoSegment" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1p3beta1_TextAnnotation": { +"description": "Annotations related to one detected OCR text snippet. This will contain the corresponding text, confidence value, and frame level information for each detection.", +"id": "GoogleCloudVideointelligenceV1p3beta1_TextAnnotation", +"properties": { +"segments": { +"description": "All video segments where OCR detected text appears.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1p3beta1_TextSegment" +}, +"type": "array" +}, +"text": { +"description": "The detected text.", +"type": "string" +}, +"version": { +"description": "Feature version.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1p3beta1_TextFrame": { +"description": "Video frame level annotation results for text annotation (OCR). Contains information regarding timestamp and bounding box locations for the frames containing detected OCR text snippets.", +"id": "GoogleCloudVideointelligenceV1p3beta1_TextFrame", +"properties": { +"rotatedBoundingBox": { +"$ref": "GoogleCloudVideointelligenceV1p3beta1_NormalizedBoundingPoly", +"description": "Bounding polygon of the detected text for this frame." +}, +"timeOffset": { +"description": "Timestamp of this frame.", +"format": "google-duration", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1p3beta1_TextSegment": { +"description": "Video segment level annotation results for text detection.", +"id": "GoogleCloudVideointelligenceV1p3beta1_TextSegment", +"properties": { +"confidence": { +"description": "Confidence for the track of detected text. It is calculated as the highest over all frames where OCR detected text appears.", +"format": "float", +"type": "number" +}, +"frames": { +"description": "Information related to the frames where OCR detected text appears.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1p3beta1_TextFrame" +}, +"type": "array" +}, +"segment": { +"$ref": "GoogleCloudVideointelligenceV1p3beta1_VideoSegment", +"description": "Video segment where a text snippet was detected." +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1p3beta1_TimestampedObject": { +"description": "For tracking related features. An object at time_offset with attributes, and located with normalized_bounding_box.", +"id": "GoogleCloudVideointelligenceV1p3beta1_TimestampedObject", +"properties": { +"attributes": { +"description": "Optional. The attributes of the object in the bounding box.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1p3beta1_DetectedAttribute" +}, +"type": "array" +}, +"landmarks": { +"description": "Optional. The detected landmarks.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1p3beta1_DetectedLandmark" +}, +"type": "array" +}, +"normalizedBoundingBox": { +"$ref": "GoogleCloudVideointelligenceV1p3beta1_NormalizedBoundingBox", +"description": "Normalized Bounding box in a frame, where the object is located." +}, +"timeOffset": { +"description": "Time-offset, relative to the beginning of the video, corresponding to the video frame for this object.", +"format": "google-duration", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1p3beta1_Track": { +"description": "A track of an object instance.", +"id": "GoogleCloudVideointelligenceV1p3beta1_Track", +"properties": { +"attributes": { +"description": "Optional. Attributes in the track level.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1p3beta1_DetectedAttribute" +}, +"type": "array" +}, +"confidence": { +"description": "Optional. The confidence score of the tracked object.", +"format": "float", +"type": "number" +}, +"segment": { +"$ref": "GoogleCloudVideointelligenceV1p3beta1_VideoSegment", +"description": "Video segment of a track." +}, +"timestampedObjects": { +"description": "The object with timestamp and attributes per frame in the track.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1p3beta1_TimestampedObject" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1p3beta1_VideoAnnotationProgress": { +"description": "Annotation progress for a single video.", +"id": "GoogleCloudVideointelligenceV1p3beta1_VideoAnnotationProgress", +"properties": { +"exportStatus": { +"$ref": "GoogleCloudVideointelligenceV1p3beta1_ExportToOutputUriStatus", +"description": "Status of exporting annotation response to user specified `output_uri`. Only set if `output_uri` is set in the request." +}, +"feature": { +"description": "Specifies which feature is being tracked if the request contains more than one feature.", +"enum": [ +"FEATURE_UNSPECIFIED", +"LABEL_DETECTION", +"SHOT_CHANGE_DETECTION", +"EXPLICIT_CONTENT_DETECTION", +"FACE_DETECTION", +"SPEECH_TRANSCRIPTION", +"TEXT_DETECTION", +"OBJECT_TRACKING", +"LOGO_RECOGNITION", +"CELEBRITY_RECOGNITION", +"PERSON_DETECTION" +], +"enumDescriptions": [ +"Unspecified.", +"Label detection. Detect objects, such as dog or flower.", +"Shot change detection.", +"Explicit content detection.", +"Human face detection.", +"Speech transcription.", +"OCR text detection and tracking.", +"Object detection and tracking.", +"Logo detection, tracking, and recognition.", +"Celebrity recognition.", +"Person detection." +], +"type": "string" +}, +"inputUri": { +"description": "Video file location in [Cloud Storage](https://cloud.google.com/storage/).", +"type": "string" +}, +"progressPercent": { +"description": "Approximate percentage processed thus far. Guaranteed to be 100 when fully processed.", +"format": "int32", +"type": "integer" +}, +"segment": { +"$ref": "GoogleCloudVideointelligenceV1p3beta1_VideoSegment", +"description": "Specifies which segment is being tracked if the request contains more than one segment." +}, +"startTime": { +"description": "Time when the request was received.", +"format": "google-datetime", +"type": "string" +}, +"updateTime": { +"description": "Time of the most recent update.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1p3beta1_VideoAnnotationResults": { +"description": "Annotation results for a single video.", +"id": "GoogleCloudVideointelligenceV1p3beta1_VideoAnnotationResults", +"properties": { +"celebrityRecognitionAnnotations": { +"$ref": "GoogleCloudVideointelligenceV1p3beta1_CelebrityRecognitionAnnotation", +"description": "Celebrity recognition annotations." +}, +"error": { +"$ref": "GoogleRpc_Status", +"description": "If set, indicates an error. Note that for a single `AnnotateVideoRequest` some videos may succeed and some may fail." +}, +"explicitAnnotation": { +"$ref": "GoogleCloudVideointelligenceV1p3beta1_ExplicitContentAnnotation", +"description": "Explicit content annotation." +}, +"faceAnnotations": { +"deprecated": true, +"description": "Deprecated. Please use `face_detection_annotations` instead.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1p3beta1_FaceAnnotation" +}, +"type": "array" +}, +"faceDetectionAnnotations": { +"description": "Face detection annotations.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1p3beta1_FaceDetectionAnnotation" +}, +"type": "array" +}, +"frameLabelAnnotations": { +"description": "Label annotations on frame level. There is exactly one element for each unique label.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1p3beta1_LabelAnnotation" +}, +"type": "array" +}, +"inputUri": { +"description": "Video file location in [Cloud Storage](https://cloud.google.com/storage/).", +"type": "string" +}, +"logoRecognitionAnnotations": { +"description": "Annotations for list of logos detected, tracked and recognized in video.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1p3beta1_LogoRecognitionAnnotation" +}, +"type": "array" +}, +"objectAnnotations": { +"description": "Annotations for list of objects detected and tracked in video.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1p3beta1_ObjectTrackingAnnotation" +}, +"type": "array" +}, +"personDetectionAnnotations": { +"description": "Person detection annotations.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1p3beta1_PersonDetectionAnnotation" +}, +"type": "array" +}, +"segment": { +"$ref": "GoogleCloudVideointelligenceV1p3beta1_VideoSegment", +"description": "Video segment on which the annotation is run." +}, +"segmentLabelAnnotations": { +"description": "Topical label annotations on video level or user-specified segment level. There is exactly one element for each unique label.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1p3beta1_LabelAnnotation" +}, +"type": "array" +}, +"segmentPresenceLabelAnnotations": { +"description": "Presence label annotations on video level or user-specified segment level. There is exactly one element for each unique label. Compared to the existing topical `segment_label_annotations`, this field presents more fine-grained, segment-level labels detected in video content and is made available only when the client sets `LabelDetectionConfig.model` to \"builtin/latest\" in the request.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1p3beta1_LabelAnnotation" +}, +"type": "array" +}, +"shotAnnotations": { +"description": "Shot annotations. Each shot is represented as a video segment.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1p3beta1_VideoSegment" +}, +"type": "array" +}, +"shotLabelAnnotations": { +"description": "Topical label annotations on shot level. There is exactly one element for each unique label.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1p3beta1_LabelAnnotation" +}, +"type": "array" +}, +"shotPresenceLabelAnnotations": { +"description": "Presence label annotations on shot level. There is exactly one element for each unique label. Compared to the existing topical `shot_label_annotations`, this field presents more fine-grained, shot-level labels detected in video content and is made available only when the client sets `LabelDetectionConfig.model` to \"builtin/latest\" in the request.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1p3beta1_LabelAnnotation" +}, +"type": "array" +}, +"speechTranscriptions": { +"description": "Speech transcription.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1p3beta1_SpeechTranscription" +}, +"type": "array" +}, +"textAnnotations": { +"description": "OCR text detection and tracking. Annotations for list of detected text snippets. Each will have list of frame information associated with it.", +"items": { +"$ref": "GoogleCloudVideointelligenceV1p3beta1_TextAnnotation" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1p3beta1_VideoSegment": { +"description": "Video segment.", +"id": "GoogleCloudVideointelligenceV1p3beta1_VideoSegment", +"properties": { +"endTimeOffset": { +"description": "Time-offset, relative to the beginning of the video, corresponding to the end of the segment (inclusive).", +"format": "google-duration", +"type": "string" +}, +"startTimeOffset": { +"description": "Time-offset, relative to the beginning of the video, corresponding to the start of the segment (inclusive).", +"format": "google-duration", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVideointelligenceV1p3beta1_WordInfo": { +"description": "Word-specific information for recognized words. Word information is only included in the response when certain request parameters are set, such as `enable_word_time_offsets`.", +"id": "GoogleCloudVideointelligenceV1p3beta1_WordInfo", +"properties": { +"confidence": { +"description": "Output only. The confidence estimate between 0.0 and 1.0. A higher number indicates an estimated greater likelihood that the recognized words are correct. This field is set only for the top alternative. This field is not guaranteed to be accurate and users should not rely on it to be always provided. The default of 0.0 is a sentinel value indicating `confidence` was not set.", +"format": "float", +"readOnly": true, +"type": "number" +}, +"endTime": { +"description": "Time offset relative to the beginning of the audio, and corresponding to the end of the spoken word. This field is only set if `enable_word_time_offsets=true` and only in the top hypothesis. This is an experimental feature and the accuracy of the time offset can vary.", +"format": "google-duration", +"type": "string" +}, +"speakerTag": { +"description": "Output only. A distinct integer value is assigned for every speaker within the audio. This field specifies which one of those speakers was detected to have spoken this word. Value ranges from 1 up to diarization_speaker_count, and is only set if speaker diarization is enabled.", +"format": "int32", +"readOnly": true, +"type": "integer" +}, +"startTime": { +"description": "Time offset relative to the beginning of the audio, and corresponding to the start of the spoken word. This field is only set if `enable_word_time_offsets=true` and only in the top hypothesis. This is an experimental feature and the accuracy of the time offset can vary.", +"format": "google-duration", +"type": "string" +}, +"word": { +"description": "The word corresponding to this set of information.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleLongrunning_Operation": { +"description": "This resource represents a long-running operation that is the result of a network API call.", +"id": "GoogleLongrunning_Operation", +"properties": { +"done": { +"description": "If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.", +"type": "boolean" +}, +"error": { +"$ref": "GoogleRpc_Status", +"description": "The error result of the operation in case of failure or cancellation." +}, +"metadata": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.", +"type": "object" +}, +"name": { +"description": "The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.", +"type": "string" +}, +"response": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "The normal, successful response of the operation. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.", +"type": "object" +} +}, +"type": "object" +}, +"GoogleRpc_Status": { +"description": "The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors).", +"id": "GoogleRpc_Status", +"properties": { +"code": { +"description": "The status code, which should be an enum value of google.rpc.Code.", +"format": "int32", +"type": "integer" +}, +"details": { +"description": "A list of messages that carry the error details. There is a common set of message types for APIs to use.", +"items": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.", +"type": "string" +} +}, +"type": "object" +} +}, +"servicePath": "", +"title": "Cloud Video Intelligence API", +"version": "v1beta2", +"version_module": true +} \ No newline at end of file diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/vision.v1.json b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/vision.v1.json new file mode 100644 index 0000000000000000000000000000000000000000..d2bb4288e4949f8f00bf8539497970efd915c71e --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/vision.v1.json @@ -0,0 +1,9422 @@ +{ +"auth": { +"oauth2": { +"scopes": { +"https://www.googleapis.com/auth/cloud-platform": { +"description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." +}, +"https://www.googleapis.com/auth/cloud-vision": { +"description": "Apply machine learning models to understand and label images" +} +} +} +}, +"basePath": "", +"baseUrl": "https://vision.googleapis.com/", +"batchPath": "batch", +"canonicalName": "Vision", +"description": "Integrates Google Vision features, including image labeling, face, logo, and landmark detection, optical character recognition (OCR), and detection of explicit content, into applications.", +"discoveryVersion": "v1", +"documentationLink": "https://cloud.google.com/vision/", +"fullyEncodeReservedExpansion": true, +"icons": { +"x16": "http://www.google.com/images/icons/product/search-16.gif", +"x32": "http://www.google.com/images/icons/product/search-32.gif" +}, +"id": "vision:v1", +"kind": "discovery#restDescription", +"mtlsRootUrl": "https://vision.mtls.googleapis.com/", +"name": "vision", +"ownerDomain": "google.com", +"ownerName": "Google", +"parameters": { +"$.xgafv": { +"description": "V1 error format.", +"enum": [ +"1", +"2" +], +"enumDescriptions": [ +"v1 error format", +"v2 error format" +], +"location": "query", +"type": "string" +}, +"access_token": { +"description": "OAuth access token.", +"location": "query", +"type": "string" +}, +"alt": { +"default": "json", +"description": "Data format for response.", +"enum": [ +"json", +"media", +"proto" +], +"enumDescriptions": [ +"Responses with Content-Type of application/json", +"Media download with context-dependent Content-Type", +"Responses with Content-Type of application/x-protobuf" +], +"location": "query", +"type": "string" +}, +"callback": { +"description": "JSONP", +"location": "query", +"type": "string" +}, +"fields": { +"description": "Selector specifying which fields to include in a partial response.", +"location": "query", +"type": "string" +}, +"key": { +"description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", +"location": "query", +"type": "string" +}, +"oauth_token": { +"description": "OAuth 2.0 token for the current user.", +"location": "query", +"type": "string" +}, +"prettyPrint": { +"default": "true", +"description": "Returns response with indentations and line breaks.", +"location": "query", +"type": "boolean" +}, +"quotaUser": { +"description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.", +"location": "query", +"type": "string" +}, +"uploadType": { +"description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", +"location": "query", +"type": "string" +}, +"upload_protocol": { +"description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", +"location": "query", +"type": "string" +} +}, +"protocol": "rest", +"resources": { +"files": { +"methods": { +"annotate": { +"description": "Service that performs image detection and annotation for a batch of files. Now only \"application/pdf\", \"image/tiff\" and \"image/gif\" are supported. This service will extract at most 5 (customers can specify which 5 in AnnotateFileRequest.pages) frames (gif) or pages (pdf or tiff) from each file provided and perform detection and annotation for each image extracted.", +"flatPath": "v1/files:annotate", +"httpMethod": "POST", +"id": "vision.files.annotate", +"parameterOrder": [], +"parameters": {}, +"path": "v1/files:annotate", +"request": { +"$ref": "BatchAnnotateFilesRequest" +}, +"response": { +"$ref": "BatchAnnotateFilesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-vision" +] +}, +"asyncBatchAnnotate": { +"description": "Run asynchronous image detection and annotation for a list of generic files, such as PDF files, which may contain multiple pages and multiple images per page. Progress and results can be retrieved through the `google.longrunning.Operations` interface. `Operation.metadata` contains `OperationMetadata` (metadata). `Operation.response` contains `AsyncBatchAnnotateFilesResponse` (results).", +"flatPath": "v1/files:asyncBatchAnnotate", +"httpMethod": "POST", +"id": "vision.files.asyncBatchAnnotate", +"parameterOrder": [], +"parameters": {}, +"path": "v1/files:asyncBatchAnnotate", +"request": { +"$ref": "AsyncBatchAnnotateFilesRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-vision" +] +} +} +}, +"images": { +"methods": { +"annotate": { +"description": "Run image detection and annotation for a batch of images.", +"flatPath": "v1/images:annotate", +"httpMethod": "POST", +"id": "vision.images.annotate", +"parameterOrder": [], +"parameters": {}, +"path": "v1/images:annotate", +"request": { +"$ref": "BatchAnnotateImagesRequest" +}, +"response": { +"$ref": "BatchAnnotateImagesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-vision" +] +}, +"asyncBatchAnnotate": { +"description": "Run asynchronous image detection and annotation for a list of images. Progress and results can be retrieved through the `google.longrunning.Operations` interface. `Operation.metadata` contains `OperationMetadata` (metadata). `Operation.response` contains `AsyncBatchAnnotateImagesResponse` (results). This service will write image annotation outputs to json files in customer GCS bucket, each json file containing BatchAnnotateImagesResponse proto.", +"flatPath": "v1/images:asyncBatchAnnotate", +"httpMethod": "POST", +"id": "vision.images.asyncBatchAnnotate", +"parameterOrder": [], +"parameters": {}, +"path": "v1/images:asyncBatchAnnotate", +"request": { +"$ref": "AsyncBatchAnnotateImagesRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-vision" +] +} +} +}, +"locations": { +"resources": { +"operations": { +"methods": { +"get": { +"description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", +"flatPath": "v1/locations/{locationsId}/operations/{operationsId}", +"httpMethod": "GET", +"id": "vision.locations.operations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource.", +"location": "path", +"pattern": "^locations/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-vision" +] +} +} +} +} +}, +"operations": { +"methods": { +"cancel": { +"description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.", +"flatPath": "v1/operations/{operationsId}:cancel", +"httpMethod": "POST", +"id": "vision.operations.cancel", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be cancelled.", +"location": "path", +"pattern": "^operations/.*$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:cancel", +"request": { +"$ref": "CancelOperationRequest" +}, +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-vision" +] +}, +"delete": { +"description": "Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.", +"flatPath": "v1/operations/{operationsId}", +"httpMethod": "DELETE", +"id": "vision.operations.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be deleted.", +"location": "path", +"pattern": "^operations/.*$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-vision" +] +}, +"get": { +"description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", +"flatPath": "v1/operations/{operationsId}", +"httpMethod": "GET", +"id": "vision.operations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource.", +"location": "path", +"pattern": "^operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-vision" +] +}, +"list": { +"description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.", +"flatPath": "v1/operations", +"httpMethod": "GET", +"id": "vision.operations.list", +"parameterOrder": [ +"name" +], +"parameters": { +"filter": { +"description": "The standard list filter.", +"location": "query", +"type": "string" +}, +"name": { +"description": "The name of the operation's parent resource.", +"location": "path", +"pattern": "^operations$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The standard list page size.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The standard list page token.", +"location": "query", +"type": "string" +}, +"returnPartialSuccess": { +"description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `\"projects/example/locations/-\"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "ListOperationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-vision" +] +} +} +}, +"projects": { +"resources": { +"files": { +"methods": { +"annotate": { +"description": "Service that performs image detection and annotation for a batch of files. Now only \"application/pdf\", \"image/tiff\" and \"image/gif\" are supported. This service will extract at most 5 (customers can specify which 5 in AnnotateFileRequest.pages) frames (gif) or pages (pdf or tiff) from each file provided and perform detection and annotation for each image extracted.", +"flatPath": "v1/projects/{projectsId}/files:annotate", +"httpMethod": "POST", +"id": "vision.projects.files.annotate", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Optional. Target project and location to make a call. Format: `projects/{project-id}/locations/{location-id}`. If no parent is specified, a region will be chosen automatically. Supported location-ids: `us`: USA country only, `asia`: East asia areas, like Japan, Taiwan, `eu`: The European Union. Example: `projects/project-A/locations/eu`.", +"location": "path", +"pattern": "^projects/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/files:annotate", +"request": { +"$ref": "BatchAnnotateFilesRequest" +}, +"response": { +"$ref": "BatchAnnotateFilesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-vision" +] +}, +"asyncBatchAnnotate": { +"description": "Run asynchronous image detection and annotation for a list of generic files, such as PDF files, which may contain multiple pages and multiple images per page. Progress and results can be retrieved through the `google.longrunning.Operations` interface. `Operation.metadata` contains `OperationMetadata` (metadata). `Operation.response` contains `AsyncBatchAnnotateFilesResponse` (results).", +"flatPath": "v1/projects/{projectsId}/files:asyncBatchAnnotate", +"httpMethod": "POST", +"id": "vision.projects.files.asyncBatchAnnotate", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Optional. Target project and location to make a call. Format: `projects/{project-id}/locations/{location-id}`. If no parent is specified, a region will be chosen automatically. Supported location-ids: `us`: USA country only, `asia`: East asia areas, like Japan, Taiwan, `eu`: The European Union. Example: `projects/project-A/locations/eu`.", +"location": "path", +"pattern": "^projects/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/files:asyncBatchAnnotate", +"request": { +"$ref": "AsyncBatchAnnotateFilesRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-vision" +] +} +} +}, +"images": { +"methods": { +"annotate": { +"description": "Run image detection and annotation for a batch of images.", +"flatPath": "v1/projects/{projectsId}/images:annotate", +"httpMethod": "POST", +"id": "vision.projects.images.annotate", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Optional. Target project and location to make a call. Format: `projects/{project-id}/locations/{location-id}`. If no parent is specified, a region will be chosen automatically. Supported location-ids: `us`: USA country only, `asia`: East asia areas, like Japan, Taiwan, `eu`: The European Union. Example: `projects/project-A/locations/eu`.", +"location": "path", +"pattern": "^projects/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/images:annotate", +"request": { +"$ref": "BatchAnnotateImagesRequest" +}, +"response": { +"$ref": "BatchAnnotateImagesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-vision" +] +}, +"asyncBatchAnnotate": { +"description": "Run asynchronous image detection and annotation for a list of images. Progress and results can be retrieved through the `google.longrunning.Operations` interface. `Operation.metadata` contains `OperationMetadata` (metadata). `Operation.response` contains `AsyncBatchAnnotateImagesResponse` (results). This service will write image annotation outputs to json files in customer GCS bucket, each json file containing BatchAnnotateImagesResponse proto.", +"flatPath": "v1/projects/{projectsId}/images:asyncBatchAnnotate", +"httpMethod": "POST", +"id": "vision.projects.images.asyncBatchAnnotate", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Optional. Target project and location to make a call. Format: `projects/{project-id}/locations/{location-id}`. If no parent is specified, a region will be chosen automatically. Supported location-ids: `us`: USA country only, `asia`: East asia areas, like Japan, Taiwan, `eu`: The European Union. Example: `projects/project-A/locations/eu`.", +"location": "path", +"pattern": "^projects/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/images:asyncBatchAnnotate", +"request": { +"$ref": "AsyncBatchAnnotateImagesRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-vision" +] +} +} +}, +"locations": { +"resources": { +"files": { +"methods": { +"annotate": { +"description": "Service that performs image detection and annotation for a batch of files. Now only \"application/pdf\", \"image/tiff\" and \"image/gif\" are supported. This service will extract at most 5 (customers can specify which 5 in AnnotateFileRequest.pages) frames (gif) or pages (pdf or tiff) from each file provided and perform detection and annotation for each image extracted.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/files:annotate", +"httpMethod": "POST", +"id": "vision.projects.locations.files.annotate", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Optional. Target project and location to make a call. Format: `projects/{project-id}/locations/{location-id}`. If no parent is specified, a region will be chosen automatically. Supported location-ids: `us`: USA country only, `asia`: East asia areas, like Japan, Taiwan, `eu`: The European Union. Example: `projects/project-A/locations/eu`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/files:annotate", +"request": { +"$ref": "BatchAnnotateFilesRequest" +}, +"response": { +"$ref": "BatchAnnotateFilesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-vision" +] +}, +"asyncBatchAnnotate": { +"description": "Run asynchronous image detection and annotation for a list of generic files, such as PDF files, which may contain multiple pages and multiple images per page. Progress and results can be retrieved through the `google.longrunning.Operations` interface. `Operation.metadata` contains `OperationMetadata` (metadata). `Operation.response` contains `AsyncBatchAnnotateFilesResponse` (results).", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/files:asyncBatchAnnotate", +"httpMethod": "POST", +"id": "vision.projects.locations.files.asyncBatchAnnotate", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Optional. Target project and location to make a call. Format: `projects/{project-id}/locations/{location-id}`. If no parent is specified, a region will be chosen automatically. Supported location-ids: `us`: USA country only, `asia`: East asia areas, like Japan, Taiwan, `eu`: The European Union. Example: `projects/project-A/locations/eu`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/files:asyncBatchAnnotate", +"request": { +"$ref": "AsyncBatchAnnotateFilesRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-vision" +] +} +} +}, +"images": { +"methods": { +"annotate": { +"description": "Run image detection and annotation for a batch of images.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/images:annotate", +"httpMethod": "POST", +"id": "vision.projects.locations.images.annotate", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Optional. Target project and location to make a call. Format: `projects/{project-id}/locations/{location-id}`. If no parent is specified, a region will be chosen automatically. Supported location-ids: `us`: USA country only, `asia`: East asia areas, like Japan, Taiwan, `eu`: The European Union. Example: `projects/project-A/locations/eu`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/images:annotate", +"request": { +"$ref": "BatchAnnotateImagesRequest" +}, +"response": { +"$ref": "BatchAnnotateImagesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-vision" +] +}, +"asyncBatchAnnotate": { +"description": "Run asynchronous image detection and annotation for a list of images. Progress and results can be retrieved through the `google.longrunning.Operations` interface. `Operation.metadata` contains `OperationMetadata` (metadata). `Operation.response` contains `AsyncBatchAnnotateImagesResponse` (results). This service will write image annotation outputs to json files in customer GCS bucket, each json file containing BatchAnnotateImagesResponse proto.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/images:asyncBatchAnnotate", +"httpMethod": "POST", +"id": "vision.projects.locations.images.asyncBatchAnnotate", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Optional. Target project and location to make a call. Format: `projects/{project-id}/locations/{location-id}`. If no parent is specified, a region will be chosen automatically. Supported location-ids: `us`: USA country only, `asia`: East asia areas, like Japan, Taiwan, `eu`: The European Union. Example: `projects/project-A/locations/eu`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/images:asyncBatchAnnotate", +"request": { +"$ref": "AsyncBatchAnnotateImagesRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-vision" +] +} +} +}, +"operations": { +"methods": { +"get": { +"description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}", +"httpMethod": "GET", +"id": "vision.projects.locations.operations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-vision" +] +} +} +}, +"productSets": { +"methods": { +"addProduct": { +"description": "Adds a Product to the specified ProductSet. If the Product is already present, no change is made. One Product can be added to at most 100 ProductSets. Possible errors: * Returns NOT_FOUND if the Product or the ProductSet doesn't exist.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/productSets/{productSetsId}:addProduct", +"httpMethod": "POST", +"id": "vision.projects.locations.productSets.addProduct", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name for the ProductSet to modify. Format is: `projects/PROJECT_ID/locations/LOC_ID/productSets/PRODUCT_SET_ID`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/productSets/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:addProduct", +"request": { +"$ref": "AddProductToProductSetRequest" +}, +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-vision" +] +}, +"create": { +"description": "Creates and returns a new ProductSet resource. Possible errors: * Returns INVALID_ARGUMENT if display_name is missing, or is longer than 4096 characters.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/productSets", +"httpMethod": "POST", +"id": "vision.projects.locations.productSets.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The project in which the ProductSet should be created. Format is `projects/PROJECT_ID/locations/LOC_ID`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +}, +"productSetId": { +"description": "A user-supplied resource id for this ProductSet. If set, the server will attempt to use this value as the resource id. If it is already in use, an error is returned with code ALREADY_EXISTS. Must be at most 128 characters long. It cannot contain the character `/`.", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+parent}/productSets", +"request": { +"$ref": "ProductSet" +}, +"response": { +"$ref": "ProductSet" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-vision" +] +}, +"delete": { +"description": "Permanently deletes a ProductSet. Products and ReferenceImages in the ProductSet are not deleted. The actual image files are not deleted from Google Cloud Storage.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/productSets/{productSetsId}", +"httpMethod": "DELETE", +"id": "vision.projects.locations.productSets.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Resource name of the ProductSet to delete. Format is: `projects/PROJECT_ID/locations/LOC_ID/productSets/PRODUCT_SET_ID`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/productSets/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-vision" +] +}, +"get": { +"description": "Gets information associated with a ProductSet. Possible errors: * Returns NOT_FOUND if the ProductSet does not exist.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/productSets/{productSetsId}", +"httpMethod": "GET", +"id": "vision.projects.locations.productSets.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Resource name of the ProductSet to get. Format is: `projects/PROJECT_ID/locations/LOC_ID/productSets/PRODUCT_SET_ID`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/productSets/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "ProductSet" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-vision" +] +}, +"import": { +"description": "Asynchronous API that imports a list of reference images to specified product sets based on a list of image information. The google.longrunning.Operation API can be used to keep track of the progress and results of the request. `Operation.metadata` contains `BatchOperationMetadata`. (progress) `Operation.response` contains `ImportProductSetsResponse`. (results) The input source of this method is a csv file on Google Cloud Storage. For the format of the csv file please see ImportProductSetsGcsSource.csv_file_uri.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/productSets:import", +"httpMethod": "POST", +"id": "vision.projects.locations.productSets.import", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The project in which the ProductSets should be imported. Format is `projects/PROJECT_ID/locations/LOC_ID`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/productSets:import", +"request": { +"$ref": "ImportProductSetsRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-vision" +] +}, +"list": { +"description": "Lists ProductSets in an unspecified order. Possible errors: * Returns INVALID_ARGUMENT if page_size is greater than 100, or less than 1.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/productSets", +"httpMethod": "GET", +"id": "vision.projects.locations.productSets.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "The maximum number of items to return. Default 10, maximum 100.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The next_page_token returned from a previous List request, if any.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The project from which ProductSets should be listed. Format is `projects/PROJECT_ID/locations/LOC_ID`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/productSets", +"response": { +"$ref": "ListProductSetsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-vision" +] +}, +"patch": { +"description": "Makes changes to a ProductSet resource. Only display_name can be updated currently. Possible errors: * Returns NOT_FOUND if the ProductSet does not exist. * Returns INVALID_ARGUMENT if display_name is present in update_mask but missing from the request or longer than 4096 characters.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/productSets/{productSetsId}", +"httpMethod": "PATCH", +"id": "vision.projects.locations.productSets.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The resource name of the ProductSet. Format is: `projects/PROJECT_ID/locations/LOC_ID/productSets/PRODUCT_SET_ID`. This field is ignored when creating a ProductSet.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/productSets/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "The FieldMask that specifies which fields to update. If update_mask isn't specified, all mutable fields are to be updated. Valid mask path is `display_name`.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "ProductSet" +}, +"response": { +"$ref": "ProductSet" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-vision" +] +}, +"removeProduct": { +"description": "Removes a Product from the specified ProductSet.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/productSets/{productSetsId}:removeProduct", +"httpMethod": "POST", +"id": "vision.projects.locations.productSets.removeProduct", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name for the ProductSet to modify. Format is: `projects/PROJECT_ID/locations/LOC_ID/productSets/PRODUCT_SET_ID`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/productSets/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:removeProduct", +"request": { +"$ref": "RemoveProductFromProductSetRequest" +}, +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-vision" +] +} +}, +"resources": { +"products": { +"methods": { +"list": { +"description": "Lists the Products in a ProductSet, in an unspecified order. If the ProductSet does not exist, the products field of the response will be empty. Possible errors: * Returns INVALID_ARGUMENT if page_size is greater than 100 or less than 1.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/productSets/{productSetsId}/products", +"httpMethod": "GET", +"id": "vision.projects.locations.productSets.products.list", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The ProductSet resource for which to retrieve Products. Format is: `projects/PROJECT_ID/locations/LOC_ID/productSets/PRODUCT_SET_ID`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/productSets/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The maximum number of items to return. Default 10, maximum 100.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The next_page_token returned from a previous List request, if any.", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}/products", +"response": { +"$ref": "ListProductsInProductSetResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-vision" +] +} +} +} +} +}, +"products": { +"methods": { +"create": { +"description": "Creates and returns a new product resource. Possible errors: * Returns INVALID_ARGUMENT if display_name is missing or longer than 4096 characters. * Returns INVALID_ARGUMENT if description is longer than 4096 characters. * Returns INVALID_ARGUMENT if product_category is missing or invalid.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/products", +"httpMethod": "POST", +"id": "vision.projects.locations.products.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The project in which the Product should be created. Format is `projects/PROJECT_ID/locations/LOC_ID`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +}, +"productId": { +"description": "A user-supplied resource id for this Product. If set, the server will attempt to use this value as the resource id. If it is already in use, an error is returned with code ALREADY_EXISTS. Must be at most 128 characters long. It cannot contain the character `/`.", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+parent}/products", +"request": { +"$ref": "Product" +}, +"response": { +"$ref": "Product" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-vision" +] +}, +"delete": { +"description": "Permanently deletes a product and its reference images. Metadata of the product and all its images will be deleted right away, but search queries against ProductSets containing the product may still work until all related caches are refreshed.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/products/{productsId}", +"httpMethod": "DELETE", +"id": "vision.projects.locations.products.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Resource name of product to delete. Format is: `projects/PROJECT_ID/locations/LOC_ID/products/PRODUCT_ID`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/products/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-vision" +] +}, +"get": { +"description": "Gets information associated with a Product. Possible errors: * Returns NOT_FOUND if the Product does not exist.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/products/{productsId}", +"httpMethod": "GET", +"id": "vision.projects.locations.products.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Resource name of the Product to get. Format is: `projects/PROJECT_ID/locations/LOC_ID/products/PRODUCT_ID`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/products/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Product" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-vision" +] +}, +"list": { +"description": "Lists products in an unspecified order. Possible errors: * Returns INVALID_ARGUMENT if page_size is greater than 100 or less than 1.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/products", +"httpMethod": "GET", +"id": "vision.projects.locations.products.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "The maximum number of items to return. Default 10, maximum 100.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The next_page_token returned from a previous List request, if any.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The project OR ProductSet from which Products should be listed. Format: `projects/PROJECT_ID/locations/LOC_ID`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/products", +"response": { +"$ref": "ListProductsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-vision" +] +}, +"patch": { +"description": "Makes changes to a Product resource. Only the `display_name`, `description`, and `labels` fields can be updated right now. If labels are updated, the change will not be reflected in queries until the next index time. Possible errors: * Returns NOT_FOUND if the Product does not exist. * Returns INVALID_ARGUMENT if display_name is present in update_mask but is missing from the request or longer than 4096 characters. * Returns INVALID_ARGUMENT if description is present in update_mask but is longer than 4096 characters. * Returns INVALID_ARGUMENT if product_category is present in update_mask.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/products/{productsId}", +"httpMethod": "PATCH", +"id": "vision.projects.locations.products.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The resource name of the product. Format is: `projects/PROJECT_ID/locations/LOC_ID/products/PRODUCT_ID`. This field is ignored when creating a product.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/products/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "The FieldMask that specifies which fields to update. If update_mask isn't specified, all mutable fields are to be updated. Valid mask paths include `product_labels`, `display_name`, and `description`.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "Product" +}, +"response": { +"$ref": "Product" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-vision" +] +}, +"purge": { +"description": "Asynchronous API to delete all Products in a ProductSet or all Products that are in no ProductSet. If a Product is a member of the specified ProductSet in addition to other ProductSets, the Product will still be deleted. It is recommended to not delete the specified ProductSet until after this operation has completed. It is also recommended to not add any of the Products involved in the batch delete to a new ProductSet while this operation is running because those Products may still end up deleted. It's not possible to undo the PurgeProducts operation. Therefore, it is recommended to keep the csv files used in ImportProductSets (if that was how you originally built the Product Set) before starting PurgeProducts, in case you need to re-import the data after deletion. If the plan is to purge all of the Products from a ProductSet and then re-use the empty ProductSet to re-import new Products into the empty ProductSet, you must wait until the PurgeProducts operation has finished for that ProductSet. The google.longrunning.Operation API can be used to keep track of the progress and results of the request. `Operation.metadata` contains `BatchOperationMetadata`. (progress)", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/products:purge", +"httpMethod": "POST", +"id": "vision.projects.locations.products.purge", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The project and location in which the Products should be deleted. Format is `projects/PROJECT_ID/locations/LOC_ID`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/products:purge", +"request": { +"$ref": "PurgeProductsRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-vision" +] +} +}, +"resources": { +"referenceImages": { +"methods": { +"create": { +"description": "Creates and returns a new ReferenceImage resource. The `bounding_poly` field is optional. If `bounding_poly` is not specified, the system will try to detect regions of interest in the image that are compatible with the product_category on the parent product. If it is specified, detection is ALWAYS skipped. The system converts polygons into non-rotated rectangles. Note that the pipeline will resize the image if the image resolution is too large to process (above 50MP). Possible errors: * Returns INVALID_ARGUMENT if the image_uri is missing or longer than 4096 characters. * Returns INVALID_ARGUMENT if the product does not exist. * Returns INVALID_ARGUMENT if bounding_poly is not provided, and nothing compatible with the parent product's product_category is detected. * Returns INVALID_ARGUMENT if bounding_poly contains more than 10 polygons.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/products/{productsId}/referenceImages", +"httpMethod": "POST", +"id": "vision.projects.locations.products.referenceImages.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. Resource name of the product in which to create the reference image. Format is `projects/PROJECT_ID/locations/LOC_ID/products/PRODUCT_ID`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/products/[^/]+$", +"required": true, +"type": "string" +}, +"referenceImageId": { +"description": "A user-supplied resource id for the ReferenceImage to be added. If set, the server will attempt to use this value as the resource id. If it is already in use, an error is returned with code ALREADY_EXISTS. Must be at most 128 characters long. It cannot contain the character `/`.", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+parent}/referenceImages", +"request": { +"$ref": "ReferenceImage" +}, +"response": { +"$ref": "ReferenceImage" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-vision" +] +}, +"delete": { +"description": "Permanently deletes a reference image. The image metadata will be deleted right away, but search queries against ProductSets containing the image may still work until all related caches are refreshed. The actual image files are not deleted from Google Cloud Storage.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/products/{productsId}/referenceImages/{referenceImagesId}", +"httpMethod": "DELETE", +"id": "vision.projects.locations.products.referenceImages.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the reference image to delete. Format is: `projects/PROJECT_ID/locations/LOC_ID/products/PRODUCT_ID/referenceImages/IMAGE_ID`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/products/[^/]+/referenceImages/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-vision" +] +}, +"get": { +"description": "Gets information associated with a ReferenceImage. Possible errors: * Returns NOT_FOUND if the specified image does not exist.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/products/{productsId}/referenceImages/{referenceImagesId}", +"httpMethod": "GET", +"id": "vision.projects.locations.products.referenceImages.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the ReferenceImage to get. Format is: `projects/PROJECT_ID/locations/LOC_ID/products/PRODUCT_ID/referenceImages/IMAGE_ID`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/products/[^/]+/referenceImages/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "ReferenceImage" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-vision" +] +}, +"list": { +"description": "Lists reference images. Possible errors: * Returns NOT_FOUND if the parent product does not exist. * Returns INVALID_ARGUMENT if the page_size is greater than 100, or less than 1.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/products/{productsId}/referenceImages", +"httpMethod": "GET", +"id": "vision.projects.locations.products.referenceImages.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "The maximum number of items to return. Default 10, maximum 100.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A token identifying a page of results to be returned. This is the value of `nextPageToken` returned in a previous reference image list request. Defaults to the first page if not specified.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. Resource name of the product containing the reference images. Format is `projects/PROJECT_ID/locations/LOC_ID/products/PRODUCT_ID`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/products/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/referenceImages", +"response": { +"$ref": "ListReferenceImagesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-vision" +] +} +} +} +} +} +} +}, +"operations": { +"methods": { +"get": { +"description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", +"flatPath": "v1/projects/{projectsId}/operations/{operationsId}", +"httpMethod": "GET", +"id": "vision.projects.operations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource.", +"location": "path", +"pattern": "^projects/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-vision" +] +} +} +} +} +} +}, +"revision": "20251120", +"rootUrl": "https://vision.googleapis.com/", +"schemas": { +"AddProductToProductSetRequest": { +"description": "Request message for the `AddProductToProductSet` method.", +"id": "AddProductToProductSetRequest", +"properties": { +"product": { +"description": "Required. The resource name for the Product to be added to this ProductSet. Format is: `projects/PROJECT_ID/locations/LOC_ID/products/PRODUCT_ID`", +"type": "string" +} +}, +"type": "object" +}, +"AnnotateFileRequest": { +"description": "A request to annotate one single file, e.g. a PDF, TIFF or GIF file.", +"id": "AnnotateFileRequest", +"properties": { +"features": { +"description": "Required. Requested features.", +"items": { +"$ref": "Feature" +}, +"type": "array" +}, +"imageContext": { +"$ref": "ImageContext", +"description": "Additional context that may accompany the image(s) in the file." +}, +"inputConfig": { +"$ref": "InputConfig", +"description": "Required. Information about the input file." +}, +"pages": { +"description": "Pages of the file to perform image annotation. Pages starts from 1, we assume the first page of the file is page 1. At most 5 pages are supported per request. Pages can be negative. Page 1 means the first page. Page 2 means the second page. Page -1 means the last page. Page -2 means the second to the last page. If the file is GIF instead of PDF or TIFF, page refers to GIF frames. If this field is empty, by default the service performs image annotation for the first 5 pages of the file.", +"items": { +"format": "int32", +"type": "integer" +}, +"type": "array" +} +}, +"type": "object" +}, +"AnnotateFileResponse": { +"description": "Response to a single file annotation request. A file may contain one or more images, which individually have their own responses.", +"id": "AnnotateFileResponse", +"properties": { +"error": { +"$ref": "Status", +"description": "If set, represents the error message for the failed request. The `responses` field will not be set in this case." +}, +"inputConfig": { +"$ref": "InputConfig", +"description": "Information about the file for which this response is generated." +}, +"responses": { +"description": "Individual responses to images found within the file. This field will be empty if the `error` field is set.", +"items": { +"$ref": "AnnotateImageResponse" +}, +"type": "array" +}, +"totalPages": { +"description": "This field gives the total number of pages in the file.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"AnnotateImageRequest": { +"description": "Request for performing Google Cloud Vision API tasks over a user-provided image, with user-requested features, and with context information.", +"id": "AnnotateImageRequest", +"properties": { +"features": { +"description": "Requested features.", +"items": { +"$ref": "Feature" +}, +"type": "array" +}, +"image": { +"$ref": "Image", +"description": "The image to be processed." +}, +"imageContext": { +"$ref": "ImageContext", +"description": "Additional context that may accompany the image." +} +}, +"type": "object" +}, +"AnnotateImageResponse": { +"description": "Response to an image annotation request.", +"id": "AnnotateImageResponse", +"properties": { +"context": { +"$ref": "ImageAnnotationContext", +"description": "If present, contextual information is needed to understand where this image comes from." +}, +"cropHintsAnnotation": { +"$ref": "CropHintsAnnotation", +"description": "If present, crop hints have completed successfully." +}, +"error": { +"$ref": "Status", +"description": "If set, represents the error message for the operation. Note that filled-in image annotations are guaranteed to be correct, even when `error` is set." +}, +"faceAnnotations": { +"description": "If present, face detection has completed successfully.", +"items": { +"$ref": "FaceAnnotation" +}, +"type": "array" +}, +"fullTextAnnotation": { +"$ref": "TextAnnotation", +"description": "If present, text (OCR) detection or document (OCR) text detection has completed successfully. This annotation provides the structural hierarchy for the OCR detected text." +}, +"imagePropertiesAnnotation": { +"$ref": "ImageProperties", +"description": "If present, image properties were extracted successfully." +}, +"labelAnnotations": { +"description": "If present, label detection has completed successfully.", +"items": { +"$ref": "EntityAnnotation" +}, +"type": "array" +}, +"landmarkAnnotations": { +"description": "If present, landmark detection has completed successfully.", +"items": { +"$ref": "EntityAnnotation" +}, +"type": "array" +}, +"localizedObjectAnnotations": { +"description": "If present, localized object detection has completed successfully. This will be sorted descending by confidence score.", +"items": { +"$ref": "LocalizedObjectAnnotation" +}, +"type": "array" +}, +"logoAnnotations": { +"description": "If present, logo detection has completed successfully.", +"items": { +"$ref": "EntityAnnotation" +}, +"type": "array" +}, +"productSearchResults": { +"$ref": "ProductSearchResults", +"description": "If present, product search has completed successfully." +}, +"safeSearchAnnotation": { +"$ref": "SafeSearchAnnotation", +"description": "If present, safe-search annotation has completed successfully." +}, +"textAnnotations": { +"description": "If present, text (OCR) detection has completed successfully.", +"items": { +"$ref": "EntityAnnotation" +}, +"type": "array" +}, +"webDetection": { +"$ref": "WebDetection", +"description": "If present, web detection has completed successfully." +} +}, +"type": "object" +}, +"AsyncAnnotateFileRequest": { +"description": "An offline file annotation request.", +"id": "AsyncAnnotateFileRequest", +"properties": { +"features": { +"description": "Required. Requested features.", +"items": { +"$ref": "Feature" +}, +"type": "array" +}, +"imageContext": { +"$ref": "ImageContext", +"description": "Additional context that may accompany the image(s) in the file." +}, +"inputConfig": { +"$ref": "InputConfig", +"description": "Required. Information about the input file." +}, +"outputConfig": { +"$ref": "OutputConfig", +"description": "Required. The desired output location and metadata (e.g. format)." +} +}, +"type": "object" +}, +"AsyncAnnotateFileResponse": { +"description": "The response for a single offline file annotation request.", +"id": "AsyncAnnotateFileResponse", +"properties": { +"outputConfig": { +"$ref": "OutputConfig", +"description": "The output location and metadata from AsyncAnnotateFileRequest." +} +}, +"type": "object" +}, +"AsyncBatchAnnotateFilesRequest": { +"description": "Multiple async file annotation requests are batched into a single service call.", +"id": "AsyncBatchAnnotateFilesRequest", +"properties": { +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. The labels with user-defined metadata for the request. Label keys and values can be no longer than 63 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. Label values are optional. Label keys must start with a letter.", +"type": "object" +}, +"parent": { +"description": "Optional. Target project and location to make a call. Format: `projects/{project-id}/locations/{location-id}`. If no parent is specified, a region will be chosen automatically. Supported location-ids: `us`: USA country only, `asia`: East asia areas, like Japan, Taiwan, `eu`: The European Union. Example: `projects/project-A/locations/eu`.", +"type": "string" +}, +"requests": { +"description": "Required. Individual async file annotation requests for this batch.", +"items": { +"$ref": "AsyncAnnotateFileRequest" +}, +"type": "array" +} +}, +"type": "object" +}, +"AsyncBatchAnnotateFilesResponse": { +"description": "Response to an async batch file annotation request.", +"id": "AsyncBatchAnnotateFilesResponse", +"properties": { +"responses": { +"description": "The list of file annotation responses, one for each request in AsyncBatchAnnotateFilesRequest.", +"items": { +"$ref": "AsyncAnnotateFileResponse" +}, +"type": "array" +} +}, +"type": "object" +}, +"AsyncBatchAnnotateImagesRequest": { +"description": "Request for async image annotation for a list of images.", +"id": "AsyncBatchAnnotateImagesRequest", +"properties": { +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. The labels with user-defined metadata for the request. Label keys and values can be no longer than 63 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. Label values are optional. Label keys must start with a letter.", +"type": "object" +}, +"outputConfig": { +"$ref": "OutputConfig", +"description": "Required. The desired output location and metadata (e.g. format)." +}, +"parent": { +"description": "Optional. Target project and location to make a call. Format: `projects/{project-id}/locations/{location-id}`. If no parent is specified, a region will be chosen automatically. Supported location-ids: `us`: USA country only, `asia`: East asia areas, like Japan, Taiwan, `eu`: The European Union. Example: `projects/project-A/locations/eu`.", +"type": "string" +}, +"requests": { +"description": "Required. Individual image annotation requests for this batch.", +"items": { +"$ref": "AnnotateImageRequest" +}, +"type": "array" +} +}, +"type": "object" +}, +"AsyncBatchAnnotateImagesResponse": { +"description": "Response to an async batch image annotation request.", +"id": "AsyncBatchAnnotateImagesResponse", +"properties": { +"outputConfig": { +"$ref": "OutputConfig", +"description": "The output location and metadata from AsyncBatchAnnotateImagesRequest." +} +}, +"type": "object" +}, +"BatchAnnotateFilesRequest": { +"description": "A list of requests to annotate files using the BatchAnnotateFiles API.", +"id": "BatchAnnotateFilesRequest", +"properties": { +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. The labels with user-defined metadata for the request. Label keys and values can be no longer than 63 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. Label values are optional. Label keys must start with a letter.", +"type": "object" +}, +"parent": { +"description": "Optional. Target project and location to make a call. Format: `projects/{project-id}/locations/{location-id}`. If no parent is specified, a region will be chosen automatically. Supported location-ids: `us`: USA country only, `asia`: East asia areas, like Japan, Taiwan, `eu`: The European Union. Example: `projects/project-A/locations/eu`.", +"type": "string" +}, +"requests": { +"description": "Required. The list of file annotation requests. Right now we support only one AnnotateFileRequest in BatchAnnotateFilesRequest.", +"items": { +"$ref": "AnnotateFileRequest" +}, +"type": "array" +} +}, +"type": "object" +}, +"BatchAnnotateFilesResponse": { +"description": "A list of file annotation responses.", +"id": "BatchAnnotateFilesResponse", +"properties": { +"responses": { +"description": "The list of file annotation responses, each response corresponding to each AnnotateFileRequest in BatchAnnotateFilesRequest.", +"items": { +"$ref": "AnnotateFileResponse" +}, +"type": "array" +} +}, +"type": "object" +}, +"BatchAnnotateImagesRequest": { +"description": "Multiple image annotation requests are batched into a single service call.", +"id": "BatchAnnotateImagesRequest", +"properties": { +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. The labels with user-defined metadata for the request. Label keys and values can be no longer than 63 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. Label values are optional. Label keys must start with a letter.", +"type": "object" +}, +"parent": { +"description": "Optional. Target project and location to make a call. Format: `projects/{project-id}/locations/{location-id}`. If no parent is specified, a region will be chosen automatically. Supported location-ids: `us`: USA country only, `asia`: East asia areas, like Japan, Taiwan, `eu`: The European Union. Example: `projects/project-A/locations/eu`.", +"type": "string" +}, +"requests": { +"description": "Required. Individual image annotation requests for this batch.", +"items": { +"$ref": "AnnotateImageRequest" +}, +"type": "array" +} +}, +"type": "object" +}, +"BatchAnnotateImagesResponse": { +"description": "Response to a batch image annotation request.", +"id": "BatchAnnotateImagesResponse", +"properties": { +"responses": { +"description": "Individual responses to image annotation requests within the batch.", +"items": { +"$ref": "AnnotateImageResponse" +}, +"type": "array" +} +}, +"type": "object" +}, +"BatchOperationMetadata": { +"description": "Metadata for the batch operations such as the current state. This is included in the `metadata` field of the `Operation` returned by the `GetOperation` call of the `google::longrunning::Operations` service.", +"id": "BatchOperationMetadata", +"properties": { +"endTime": { +"description": "The time when the batch request is finished and google.longrunning.Operation.done is set to true.", +"format": "google-datetime", +"type": "string" +}, +"state": { +"description": "The current state of the batch operation.", +"enum": [ +"STATE_UNSPECIFIED", +"PROCESSING", +"SUCCESSFUL", +"FAILED", +"CANCELLED" +], +"enumDescriptions": [ +"Invalid.", +"Request is actively being processed.", +"The request is done and at least one item has been successfully processed.", +"The request is done and no item has been successfully processed.", +"The request is done after the longrunning.Operations.CancelOperation has been called by the user. Any records that were processed before the cancel command are output as specified in the request." +], +"type": "string" +}, +"submitTime": { +"description": "The time when the batch request was submitted to the server.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"Block": { +"description": "Logical element on the page.", +"id": "Block", +"properties": { +"blockType": { +"description": "Detected block type (text, image etc) for this block.", +"enum": [ +"UNKNOWN", +"TEXT", +"TABLE", +"PICTURE", +"RULER", +"BARCODE" +], +"enumDescriptions": [ +"Unknown block type.", +"Regular text block.", +"Table block.", +"Image block.", +"Horizontal/vertical line box.", +"Barcode block." +], +"type": "string" +}, +"boundingBox": { +"$ref": "BoundingPoly", +"description": "The bounding box for the block. The vertices are in the order of top-left, top-right, bottom-right, bottom-left. When a rotation of the bounding box is detected the rotation is represented as around the top-left corner as defined when the text is read in the 'natural' orientation. For example: * when the text is horizontal it might look like: 0----1 | | 3----2 * when it's rotated 180 degrees around the top-left corner it becomes: 2----3 | | 1----0 and the vertex order will still be (0, 1, 2, 3)." +}, +"confidence": { +"description": "Confidence of the OCR results on the block. Range [0, 1].", +"format": "float", +"type": "number" +}, +"paragraphs": { +"description": "List of paragraphs in this block (if this blocks is of type text).", +"items": { +"$ref": "Paragraph" +}, +"type": "array" +}, +"property": { +"$ref": "TextProperty", +"description": "Additional information detected for the block." +} +}, +"type": "object" +}, +"BoundingPoly": { +"description": "A bounding polygon for the detected image annotation.", +"id": "BoundingPoly", +"properties": { +"normalizedVertices": { +"description": "The bounding polygon normalized vertices.", +"items": { +"$ref": "NormalizedVertex" +}, +"type": "array" +}, +"vertices": { +"description": "The bounding polygon vertices.", +"items": { +"$ref": "Vertex" +}, +"type": "array" +} +}, +"type": "object" +}, +"CancelOperationRequest": { +"description": "The request message for Operations.CancelOperation.", +"id": "CancelOperationRequest", +"properties": {}, +"type": "object" +}, +"Color": { +"description": "Represents a color in the RGBA color space. This representation is designed for simplicity of conversion to and from color representations in various languages over compactness. For example, the fields of this representation can be trivially provided to the constructor of `java.awt.Color` in Java; it can also be trivially provided to UIColor's `+colorWithRed:green:blue:alpha` method in iOS; and, with just a little work, it can be easily formatted into a CSS `rgba()` string in JavaScript. This reference page doesn't have information about the absolute color space that should be used to interpret the RGB value\u2014for example, sRGB, Adobe RGB, DCI-P3, and BT.2020. By default, applications should assume the sRGB color space. When color equality needs to be decided, implementations, unless documented otherwise, treat two colors as equal if all their red, green, blue, and alpha values each differ by at most `1e-5`. Example (Java): import com.google.type.Color; // ... public static java.awt.Color fromProto(Color protocolor) { float alpha = protocolor.hasAlpha() ? protocolor.getAlpha().getValue() : 1.0; return new java.awt.Color( protocolor.getRed(), protocolor.getGreen(), protocolor.getBlue(), alpha); } public static Color toProto(java.awt.Color color) { float red = (float) color.getRed(); float green = (float) color.getGreen(); float blue = (float) color.getBlue(); float denominator = 255.0; Color.Builder resultBuilder = Color .newBuilder() .setRed(red / denominator) .setGreen(green / denominator) .setBlue(blue / denominator); int alpha = color.getAlpha(); if (alpha != 255) { result.setAlpha( FloatValue .newBuilder() .setValue(((float) alpha) / denominator) .build()); } return resultBuilder.build(); } // ... Example (iOS / Obj-C): // ... static UIColor* fromProto(Color* protocolor) { float red = [protocolor red]; float green = [protocolor green]; float blue = [protocolor blue]; FloatValue* alpha_wrapper = [protocolor alpha]; float alpha = 1.0; if (alpha_wrapper != nil) { alpha = [alpha_wrapper value]; } return [UIColor colorWithRed:red green:green blue:blue alpha:alpha]; } static Color* toProto(UIColor* color) { CGFloat red, green, blue, alpha; if (![color getRed:&red green:&green blue:&blue alpha:&alpha]) { return nil; } Color* result = [[Color alloc] init]; [result setRed:red]; [result setGreen:green]; [result setBlue:blue]; if (alpha <= 0.9999) { [result setAlpha:floatWrapperWithValue(alpha)]; } [result autorelease]; return result; } // ... Example (JavaScript): // ... var protoToCssColor = function(rgb_color) { var redFrac = rgb_color.red || 0.0; var greenFrac = rgb_color.green || 0.0; var blueFrac = rgb_color.blue || 0.0; var red = Math.floor(redFrac * 255); var green = Math.floor(greenFrac * 255); var blue = Math.floor(blueFrac * 255); if (!('alpha' in rgb_color)) { return rgbToCssColor(red, green, blue); } var alphaFrac = rgb_color.alpha.value || 0.0; var rgbParams = [red, green, blue].join(','); return ['rgba(', rgbParams, ',', alphaFrac, ')'].join(''); }; var rgbToCssColor = function(red, green, blue) { var rgbNumber = new Number((red << 16) | (green << 8) | blue); var hexString = rgbNumber.toString(16); var missingZeros = 6 - hexString.length; var resultBuilder = ['#']; for (var i = 0; i < missingZeros; i++) { resultBuilder.push('0'); } resultBuilder.push(hexString); return resultBuilder.join(''); }; // ...", +"id": "Color", +"properties": { +"alpha": { +"description": "The fraction of this color that should be applied to the pixel. That is, the final pixel color is defined by the equation: `pixel color = alpha * (this color) + (1.0 - alpha) * (background color)` This means that a value of 1.0 corresponds to a solid color, whereas a value of 0.0 corresponds to a completely transparent color. This uses a wrapper message rather than a simple float scalar so that it is possible to distinguish between a default value and the value being unset. If omitted, this color object is rendered as a solid color (as if the alpha value had been explicitly given a value of 1.0).", +"format": "float", +"type": "number" +}, +"blue": { +"description": "The amount of blue in the color as a value in the interval [0, 1].", +"format": "float", +"type": "number" +}, +"green": { +"description": "The amount of green in the color as a value in the interval [0, 1].", +"format": "float", +"type": "number" +}, +"red": { +"description": "The amount of red in the color as a value in the interval [0, 1].", +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"ColorInfo": { +"description": "Color information consists of RGB channels, score, and the fraction of the image that the color occupies in the image.", +"id": "ColorInfo", +"properties": { +"color": { +"$ref": "Color", +"description": "RGB components of the color." +}, +"pixelFraction": { +"description": "The fraction of pixels the color occupies in the image. Value in range [0, 1].", +"format": "float", +"type": "number" +}, +"score": { +"description": "Image-specific score for this color. Value in range [0, 1].", +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"CropHint": { +"description": "Single crop hint that is used to generate a new crop when serving an image.", +"id": "CropHint", +"properties": { +"boundingPoly": { +"$ref": "BoundingPoly", +"description": "The bounding polygon for the crop region. The coordinates of the bounding box are in the original image's scale." +}, +"confidence": { +"description": "Confidence of this being a salient region. Range [0, 1].", +"format": "float", +"type": "number" +}, +"importanceFraction": { +"description": "Fraction of importance of this salient region with respect to the original image.", +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"CropHintsAnnotation": { +"description": "Set of crop hints that are used to generate new crops when serving images.", +"id": "CropHintsAnnotation", +"properties": { +"cropHints": { +"description": "Crop hint results.", +"items": { +"$ref": "CropHint" +}, +"type": "array" +} +}, +"type": "object" +}, +"CropHintsParams": { +"description": "Parameters for crop hints annotation request.", +"id": "CropHintsParams", +"properties": { +"aspectRatios": { +"description": "Aspect ratios in floats, representing the ratio of the width to the height of the image. For example, if the desired aspect ratio is 4/3, the corresponding float value should be 1.33333. If not specified, the best possible crop is returned. The number of provided aspect ratios is limited to a maximum of 16; any aspect ratios provided after the 16th are ignored.", +"items": { +"format": "float", +"type": "number" +}, +"type": "array" +} +}, +"type": "object" +}, +"DetectedBreak": { +"description": "Detected start or end of a structural component.", +"id": "DetectedBreak", +"properties": { +"isPrefix": { +"description": "True if break prepends the element.", +"type": "boolean" +}, +"type": { +"description": "Detected break type.", +"enum": [ +"UNKNOWN", +"SPACE", +"SURE_SPACE", +"EOL_SURE_SPACE", +"HYPHEN", +"LINE_BREAK" +], +"enumDescriptions": [ +"Unknown break label type.", +"Regular space.", +"Sure space (very wide).", +"Line-wrapping break.", +"End-line hyphen that is not present in text; does not co-occur with `SPACE`, `LEADER_SPACE`, or `LINE_BREAK`.", +"Line break that ends a paragraph." +], +"type": "string" +} +}, +"type": "object" +}, +"DetectedLanguage": { +"description": "Detected language for a structural component.", +"id": "DetectedLanguage", +"properties": { +"confidence": { +"description": "Confidence of detected language. Range [0, 1].", +"format": "float", +"type": "number" +}, +"languageCode": { +"description": "The BCP-47 language code, such as \"en-US\" or \"sr-Latn\". For more information, see http://www.unicode.org/reports/tr35/#Unicode_locale_identifier.", +"type": "string" +} +}, +"type": "object" +}, +"DominantColorsAnnotation": { +"description": "Set of dominant colors and their corresponding scores.", +"id": "DominantColorsAnnotation", +"properties": { +"colors": { +"description": "RGB color values with their score and pixel fraction.", +"items": { +"$ref": "ColorInfo" +}, +"type": "array" +} +}, +"type": "object" +}, +"Empty": { +"description": "A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }", +"id": "Empty", +"properties": {}, +"type": "object" +}, +"EntityAnnotation": { +"description": "Set of detected entity features.", +"id": "EntityAnnotation", +"properties": { +"boundingPoly": { +"$ref": "BoundingPoly", +"description": "Image region to which this entity belongs. Not produced for `LABEL_DETECTION` features." +}, +"confidence": { +"deprecated": true, +"description": "**Deprecated. Use `score` instead.** The accuracy of the entity detection in an image. For example, for an image in which the \"Eiffel Tower\" entity is detected, this field represents the confidence that there is a tower in the query image. Range [0, 1].", +"format": "float", +"type": "number" +}, +"description": { +"description": "Entity textual description, expressed in its `locale` language.", +"type": "string" +}, +"locale": { +"description": "The language code for the locale in which the entity textual `description` is expressed.", +"type": "string" +}, +"locations": { +"description": "The location information for the detected entity. Multiple `LocationInfo` elements can be present because one location may indicate the location of the scene in the image, and another location may indicate the location of the place where the image was taken. Location information is usually present for landmarks.", +"items": { +"$ref": "LocationInfo" +}, +"type": "array" +}, +"mid": { +"description": "Opaque entity ID. Some IDs may be available in [Google Knowledge Graph Search API](https://developers.google.com/knowledge-graph/).", +"type": "string" +}, +"properties": { +"description": "Some entities may have optional user-supplied `Property` (name/value) fields, such a score or string that qualifies the entity.", +"items": { +"$ref": "Property" +}, +"type": "array" +}, +"score": { +"description": "Overall score of the result. Range [0, 1].", +"format": "float", +"type": "number" +}, +"topicality": { +"description": "The relevancy of the ICA (Image Content Annotation) label to the image. For example, the relevancy of \"tower\" is likely higher to an image containing the detected \"Eiffel Tower\" than to an image containing a detected distant towering building, even though the confidence that there is a tower in each image may be the same. Range [0, 1].", +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"FaceAnnotation": { +"description": "A face annotation object contains the results of face detection.", +"id": "FaceAnnotation", +"properties": { +"angerLikelihood": { +"description": "Anger likelihood.", +"enum": [ +"UNKNOWN", +"VERY_UNLIKELY", +"UNLIKELY", +"POSSIBLE", +"LIKELY", +"VERY_LIKELY" +], +"enumDescriptions": [ +"Unknown likelihood.", +"It is very unlikely.", +"It is unlikely.", +"It is possible.", +"It is likely.", +"It is very likely." +], +"type": "string" +}, +"blurredLikelihood": { +"description": "Blurred likelihood.", +"enum": [ +"UNKNOWN", +"VERY_UNLIKELY", +"UNLIKELY", +"POSSIBLE", +"LIKELY", +"VERY_LIKELY" +], +"enumDescriptions": [ +"Unknown likelihood.", +"It is very unlikely.", +"It is unlikely.", +"It is possible.", +"It is likely.", +"It is very likely." +], +"type": "string" +}, +"boundingPoly": { +"$ref": "BoundingPoly", +"description": "The bounding polygon around the face. The coordinates of the bounding box are in the original image's scale. The bounding box is computed to \"frame\" the face in accordance with human expectations. It is based on the landmarker results. Note that one or more x and/or y coordinates may not be generated in the `BoundingPoly` (the polygon will be unbounded) if only a partial face appears in the image to be annotated." +}, +"detectionConfidence": { +"description": "Detection confidence. Range [0, 1].", +"format": "float", +"type": "number" +}, +"fdBoundingPoly": { +"$ref": "BoundingPoly", +"description": "The `fd_bounding_poly` bounding polygon is tighter than the `boundingPoly`, and encloses only the skin part of the face. Typically, it is used to eliminate the face from any image analysis that detects the \"amount of skin\" visible in an image. It is not based on the landmarker results, only on the initial face detection, hence the fd (face detection) prefix." +}, +"headwearLikelihood": { +"description": "Headwear likelihood.", +"enum": [ +"UNKNOWN", +"VERY_UNLIKELY", +"UNLIKELY", +"POSSIBLE", +"LIKELY", +"VERY_LIKELY" +], +"enumDescriptions": [ +"Unknown likelihood.", +"It is very unlikely.", +"It is unlikely.", +"It is possible.", +"It is likely.", +"It is very likely." +], +"type": "string" +}, +"joyLikelihood": { +"description": "Joy likelihood.", +"enum": [ +"UNKNOWN", +"VERY_UNLIKELY", +"UNLIKELY", +"POSSIBLE", +"LIKELY", +"VERY_LIKELY" +], +"enumDescriptions": [ +"Unknown likelihood.", +"It is very unlikely.", +"It is unlikely.", +"It is possible.", +"It is likely.", +"It is very likely." +], +"type": "string" +}, +"landmarkingConfidence": { +"description": "Face landmarking confidence. Range [0, 1].", +"format": "float", +"type": "number" +}, +"landmarks": { +"description": "Detected face landmarks.", +"items": { +"$ref": "Landmark" +}, +"type": "array" +}, +"panAngle": { +"description": "Yaw angle, which indicates the leftward/rightward angle that the face is pointing relative to the vertical plane perpendicular to the image. Range [-180,180].", +"format": "float", +"type": "number" +}, +"rollAngle": { +"description": "Roll angle, which indicates the amount of clockwise/anti-clockwise rotation of the face relative to the image vertical about the axis perpendicular to the face. Range [-180,180].", +"format": "float", +"type": "number" +}, +"sorrowLikelihood": { +"description": "Sorrow likelihood.", +"enum": [ +"UNKNOWN", +"VERY_UNLIKELY", +"UNLIKELY", +"POSSIBLE", +"LIKELY", +"VERY_LIKELY" +], +"enumDescriptions": [ +"Unknown likelihood.", +"It is very unlikely.", +"It is unlikely.", +"It is possible.", +"It is likely.", +"It is very likely." +], +"type": "string" +}, +"surpriseLikelihood": { +"description": "Surprise likelihood.", +"enum": [ +"UNKNOWN", +"VERY_UNLIKELY", +"UNLIKELY", +"POSSIBLE", +"LIKELY", +"VERY_LIKELY" +], +"enumDescriptions": [ +"Unknown likelihood.", +"It is very unlikely.", +"It is unlikely.", +"It is possible.", +"It is likely.", +"It is very likely." +], +"type": "string" +}, +"tiltAngle": { +"description": "Pitch angle, which indicates the upwards/downwards angle that the face is pointing relative to the image's horizontal plane. Range [-180,180].", +"format": "float", +"type": "number" +}, +"underExposedLikelihood": { +"description": "Under-exposed likelihood.", +"enum": [ +"UNKNOWN", +"VERY_UNLIKELY", +"UNLIKELY", +"POSSIBLE", +"LIKELY", +"VERY_LIKELY" +], +"enumDescriptions": [ +"Unknown likelihood.", +"It is very unlikely.", +"It is unlikely.", +"It is possible.", +"It is likely.", +"It is very likely." +], +"type": "string" +} +}, +"type": "object" +}, +"Feature": { +"description": "The type of Google Cloud Vision API detection to perform, and the maximum number of results to return for that type. Multiple `Feature` objects can be specified in the `features` list.", +"id": "Feature", +"properties": { +"maxResults": { +"description": "Maximum number of results of this type. Does not apply to `TEXT_DETECTION`, `DOCUMENT_TEXT_DETECTION`, or `CROP_HINTS`.", +"format": "int32", +"type": "integer" +}, +"model": { +"description": "Model to use for the feature. Supported values: \"builtin/stable\" (the default if unset) and \"builtin/latest\". `DOCUMENT_TEXT_DETECTION` and `TEXT_DETECTION` also support \"builtin/rc\" for the latest release candidate.", +"type": "string" +}, +"type": { +"description": "The feature type.", +"enum": [ +"TYPE_UNSPECIFIED", +"FACE_DETECTION", +"LANDMARK_DETECTION", +"LOGO_DETECTION", +"LABEL_DETECTION", +"TEXT_DETECTION", +"DOCUMENT_TEXT_DETECTION", +"SAFE_SEARCH_DETECTION", +"IMAGE_PROPERTIES", +"CROP_HINTS", +"WEB_DETECTION", +"PRODUCT_SEARCH", +"OBJECT_LOCALIZATION" +], +"enumDescriptions": [ +"Unspecified feature type.", +"Run face detection.", +"Run landmark detection.", +"Run logo detection.", +"Run label detection.", +"Run text detection / optical character recognition (OCR). Text detection is optimized for areas of text within a larger image; if the image is a document, use `DOCUMENT_TEXT_DETECTION` instead.", +"Run dense text document OCR. Takes precedence when both `DOCUMENT_TEXT_DETECTION` and `TEXT_DETECTION` are present.", +"Run Safe Search to detect potentially unsafe or undesirable content.", +"Compute a set of image properties, such as the image's dominant colors.", +"Run crop hints.", +"Run web detection.", +"Run Product Search.", +"Run localizer for object detection." +], +"type": "string" +} +}, +"type": "object" +}, +"GcsDestination": { +"description": "The Google Cloud Storage location where the output will be written to.", +"id": "GcsDestination", +"properties": { +"uri": { +"description": "Google Cloud Storage URI prefix where the results will be stored. Results will be in JSON format and preceded by its corresponding input URI prefix. This field can either represent a gcs file prefix or gcs directory. In either case, the uri should be unique because in order to get all of the output files, you will need to do a wildcard gcs search on the uri prefix you provide. Examples: * File Prefix: gs://bucket-name/here/filenameprefix The output files will be created in gs://bucket-name/here/ and the names of the output files will begin with \"filenameprefix\". * Directory Prefix: gs://bucket-name/some/location/ The output files will be created in gs://bucket-name/some/location/ and the names of the output files could be anything because there was no filename prefix specified. If multiple outputs, each response is still AnnotateFileResponse, each of which contains some subset of the full list of AnnotateImageResponse. Multiple outputs can happen if, for example, the output JSON is too large and overflows into multiple sharded files.", +"type": "string" +} +}, +"type": "object" +}, +"GcsSource": { +"description": "The Google Cloud Storage location where the input will be read from.", +"id": "GcsSource", +"properties": { +"uri": { +"description": "Google Cloud Storage URI for the input file. This must only be a Google Cloud Storage object. Wildcards are not currently supported.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p1beta1AnnotateFileResponse": { +"description": "Response to a single file annotation request. A file may contain one or more images, which individually have their own responses.", +"id": "GoogleCloudVisionV1p1beta1AnnotateFileResponse", +"properties": { +"error": { +"$ref": "Status", +"description": "If set, represents the error message for the failed request. The `responses` field will not be set in this case." +}, +"inputConfig": { +"$ref": "GoogleCloudVisionV1p1beta1InputConfig", +"description": "Information about the file for which this response is generated." +}, +"responses": { +"description": "Individual responses to images found within the file. This field will be empty if the `error` field is set.", +"items": { +"$ref": "GoogleCloudVisionV1p1beta1AnnotateImageResponse" +}, +"type": "array" +}, +"totalPages": { +"description": "This field gives the total number of pages in the file.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p1beta1AnnotateImageResponse": { +"description": "Response to an image annotation request.", +"id": "GoogleCloudVisionV1p1beta1AnnotateImageResponse", +"properties": { +"context": { +"$ref": "GoogleCloudVisionV1p1beta1ImageAnnotationContext", +"description": "If present, contextual information is needed to understand where this image comes from." +}, +"cropHintsAnnotation": { +"$ref": "GoogleCloudVisionV1p1beta1CropHintsAnnotation", +"description": "If present, crop hints have completed successfully." +}, +"error": { +"$ref": "Status", +"description": "If set, represents the error message for the operation. Note that filled-in image annotations are guaranteed to be correct, even when `error` is set." +}, +"faceAnnotations": { +"description": "If present, face detection has completed successfully.", +"items": { +"$ref": "GoogleCloudVisionV1p1beta1FaceAnnotation" +}, +"type": "array" +}, +"fullTextAnnotation": { +"$ref": "GoogleCloudVisionV1p1beta1TextAnnotation", +"description": "If present, text (OCR) detection or document (OCR) text detection has completed successfully. This annotation provides the structural hierarchy for the OCR detected text." +}, +"imagePropertiesAnnotation": { +"$ref": "GoogleCloudVisionV1p1beta1ImageProperties", +"description": "If present, image properties were extracted successfully." +}, +"labelAnnotations": { +"description": "If present, label detection has completed successfully.", +"items": { +"$ref": "GoogleCloudVisionV1p1beta1EntityAnnotation" +}, +"type": "array" +}, +"landmarkAnnotations": { +"description": "If present, landmark detection has completed successfully.", +"items": { +"$ref": "GoogleCloudVisionV1p1beta1EntityAnnotation" +}, +"type": "array" +}, +"localizedObjectAnnotations": { +"description": "If present, localized object detection has completed successfully. This will be sorted descending by confidence score.", +"items": { +"$ref": "GoogleCloudVisionV1p1beta1LocalizedObjectAnnotation" +}, +"type": "array" +}, +"logoAnnotations": { +"description": "If present, logo detection has completed successfully.", +"items": { +"$ref": "GoogleCloudVisionV1p1beta1EntityAnnotation" +}, +"type": "array" +}, +"productSearchResults": { +"$ref": "GoogleCloudVisionV1p1beta1ProductSearchResults", +"description": "If present, product search has completed successfully." +}, +"safeSearchAnnotation": { +"$ref": "GoogleCloudVisionV1p1beta1SafeSearchAnnotation", +"description": "If present, safe-search annotation has completed successfully." +}, +"textAnnotations": { +"description": "If present, text (OCR) detection has completed successfully.", +"items": { +"$ref": "GoogleCloudVisionV1p1beta1EntityAnnotation" +}, +"type": "array" +}, +"webDetection": { +"$ref": "GoogleCloudVisionV1p1beta1WebDetection", +"description": "If present, web detection has completed successfully." +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p1beta1AsyncAnnotateFileResponse": { +"description": "The response for a single offline file annotation request.", +"id": "GoogleCloudVisionV1p1beta1AsyncAnnotateFileResponse", +"properties": { +"outputConfig": { +"$ref": "GoogleCloudVisionV1p1beta1OutputConfig", +"description": "The output location and metadata from AsyncAnnotateFileRequest." +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p1beta1AsyncBatchAnnotateFilesResponse": { +"description": "Response to an async batch file annotation request.", +"id": "GoogleCloudVisionV1p1beta1AsyncBatchAnnotateFilesResponse", +"properties": { +"responses": { +"description": "The list of file annotation responses, one for each request in AsyncBatchAnnotateFilesRequest.", +"items": { +"$ref": "GoogleCloudVisionV1p1beta1AsyncAnnotateFileResponse" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p1beta1Block": { +"description": "Logical element on the page.", +"id": "GoogleCloudVisionV1p1beta1Block", +"properties": { +"blockType": { +"description": "Detected block type (text, image etc) for this block.", +"enum": [ +"UNKNOWN", +"TEXT", +"TABLE", +"PICTURE", +"RULER", +"BARCODE" +], +"enumDescriptions": [ +"Unknown block type.", +"Regular text block.", +"Table block.", +"Image block.", +"Horizontal/vertical line box.", +"Barcode block." +], +"type": "string" +}, +"boundingBox": { +"$ref": "GoogleCloudVisionV1p1beta1BoundingPoly", +"description": "The bounding box for the block. The vertices are in the order of top-left, top-right, bottom-right, bottom-left. When a rotation of the bounding box is detected the rotation is represented as around the top-left corner as defined when the text is read in the 'natural' orientation. For example: * when the text is horizontal it might look like: 0----1 | | 3----2 * when it's rotated 180 degrees around the top-left corner it becomes: 2----3 | | 1----0 and the vertex order will still be (0, 1, 2, 3)." +}, +"confidence": { +"description": "Confidence of the OCR results on the block. Range [0, 1].", +"format": "float", +"type": "number" +}, +"paragraphs": { +"description": "List of paragraphs in this block (if this blocks is of type text).", +"items": { +"$ref": "GoogleCloudVisionV1p1beta1Paragraph" +}, +"type": "array" +}, +"property": { +"$ref": "GoogleCloudVisionV1p1beta1TextAnnotationTextProperty", +"description": "Additional information detected for the block." +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p1beta1BoundingPoly": { +"description": "A bounding polygon for the detected image annotation.", +"id": "GoogleCloudVisionV1p1beta1BoundingPoly", +"properties": { +"normalizedVertices": { +"description": "The bounding polygon normalized vertices.", +"items": { +"$ref": "GoogleCloudVisionV1p1beta1NormalizedVertex" +}, +"type": "array" +}, +"vertices": { +"description": "The bounding polygon vertices.", +"items": { +"$ref": "GoogleCloudVisionV1p1beta1Vertex" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p1beta1ColorInfo": { +"description": "Color information consists of RGB channels, score, and the fraction of the image that the color occupies in the image.", +"id": "GoogleCloudVisionV1p1beta1ColorInfo", +"properties": { +"color": { +"$ref": "Color", +"description": "RGB components of the color." +}, +"pixelFraction": { +"description": "The fraction of pixels the color occupies in the image. Value in range [0, 1].", +"format": "float", +"type": "number" +}, +"score": { +"description": "Image-specific score for this color. Value in range [0, 1].", +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p1beta1CropHint": { +"description": "Single crop hint that is used to generate a new crop when serving an image.", +"id": "GoogleCloudVisionV1p1beta1CropHint", +"properties": { +"boundingPoly": { +"$ref": "GoogleCloudVisionV1p1beta1BoundingPoly", +"description": "The bounding polygon for the crop region. The coordinates of the bounding box are in the original image's scale." +}, +"confidence": { +"description": "Confidence of this being a salient region. Range [0, 1].", +"format": "float", +"type": "number" +}, +"importanceFraction": { +"description": "Fraction of importance of this salient region with respect to the original image.", +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p1beta1CropHintsAnnotation": { +"description": "Set of crop hints that are used to generate new crops when serving images.", +"id": "GoogleCloudVisionV1p1beta1CropHintsAnnotation", +"properties": { +"cropHints": { +"description": "Crop hint results.", +"items": { +"$ref": "GoogleCloudVisionV1p1beta1CropHint" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p1beta1DominantColorsAnnotation": { +"description": "Set of dominant colors and their corresponding scores.", +"id": "GoogleCloudVisionV1p1beta1DominantColorsAnnotation", +"properties": { +"colors": { +"description": "RGB color values with their score and pixel fraction.", +"items": { +"$ref": "GoogleCloudVisionV1p1beta1ColorInfo" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p1beta1EntityAnnotation": { +"description": "Set of detected entity features.", +"id": "GoogleCloudVisionV1p1beta1EntityAnnotation", +"properties": { +"boundingPoly": { +"$ref": "GoogleCloudVisionV1p1beta1BoundingPoly", +"description": "Image region to which this entity belongs. Not produced for `LABEL_DETECTION` features." +}, +"confidence": { +"deprecated": true, +"description": "**Deprecated. Use `score` instead.** The accuracy of the entity detection in an image. For example, for an image in which the \"Eiffel Tower\" entity is detected, this field represents the confidence that there is a tower in the query image. Range [0, 1].", +"format": "float", +"type": "number" +}, +"description": { +"description": "Entity textual description, expressed in its `locale` language.", +"type": "string" +}, +"locale": { +"description": "The language code for the locale in which the entity textual `description` is expressed.", +"type": "string" +}, +"locations": { +"description": "The location information for the detected entity. Multiple `LocationInfo` elements can be present because one location may indicate the location of the scene in the image, and another location may indicate the location of the place where the image was taken. Location information is usually present for landmarks.", +"items": { +"$ref": "GoogleCloudVisionV1p1beta1LocationInfo" +}, +"type": "array" +}, +"mid": { +"description": "Opaque entity ID. Some IDs may be available in [Google Knowledge Graph Search API](https://developers.google.com/knowledge-graph/).", +"type": "string" +}, +"properties": { +"description": "Some entities may have optional user-supplied `Property` (name/value) fields, such a score or string that qualifies the entity.", +"items": { +"$ref": "GoogleCloudVisionV1p1beta1Property" +}, +"type": "array" +}, +"score": { +"description": "Overall score of the result. Range [0, 1].", +"format": "float", +"type": "number" +}, +"topicality": { +"description": "The relevancy of the ICA (Image Content Annotation) label to the image. For example, the relevancy of \"tower\" is likely higher to an image containing the detected \"Eiffel Tower\" than to an image containing a detected distant towering building, even though the confidence that there is a tower in each image may be the same. Range [0, 1].", +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p1beta1FaceAnnotation": { +"description": "A face annotation object contains the results of face detection.", +"id": "GoogleCloudVisionV1p1beta1FaceAnnotation", +"properties": { +"angerLikelihood": { +"description": "Anger likelihood.", +"enum": [ +"UNKNOWN", +"VERY_UNLIKELY", +"UNLIKELY", +"POSSIBLE", +"LIKELY", +"VERY_LIKELY" +], +"enumDescriptions": [ +"Unknown likelihood.", +"It is very unlikely.", +"It is unlikely.", +"It is possible.", +"It is likely.", +"It is very likely." +], +"type": "string" +}, +"blurredLikelihood": { +"description": "Blurred likelihood.", +"enum": [ +"UNKNOWN", +"VERY_UNLIKELY", +"UNLIKELY", +"POSSIBLE", +"LIKELY", +"VERY_LIKELY" +], +"enumDescriptions": [ +"Unknown likelihood.", +"It is very unlikely.", +"It is unlikely.", +"It is possible.", +"It is likely.", +"It is very likely." +], +"type": "string" +}, +"boundingPoly": { +"$ref": "GoogleCloudVisionV1p1beta1BoundingPoly", +"description": "The bounding polygon around the face. The coordinates of the bounding box are in the original image's scale. The bounding box is computed to \"frame\" the face in accordance with human expectations. It is based on the landmarker results. Note that one or more x and/or y coordinates may not be generated in the `BoundingPoly` (the polygon will be unbounded) if only a partial face appears in the image to be annotated." +}, +"detectionConfidence": { +"description": "Detection confidence. Range [0, 1].", +"format": "float", +"type": "number" +}, +"fdBoundingPoly": { +"$ref": "GoogleCloudVisionV1p1beta1BoundingPoly", +"description": "The `fd_bounding_poly` bounding polygon is tighter than the `boundingPoly`, and encloses only the skin part of the face. Typically, it is used to eliminate the face from any image analysis that detects the \"amount of skin\" visible in an image. It is not based on the landmarker results, only on the initial face detection, hence the fd (face detection) prefix." +}, +"headwearLikelihood": { +"description": "Headwear likelihood.", +"enum": [ +"UNKNOWN", +"VERY_UNLIKELY", +"UNLIKELY", +"POSSIBLE", +"LIKELY", +"VERY_LIKELY" +], +"enumDescriptions": [ +"Unknown likelihood.", +"It is very unlikely.", +"It is unlikely.", +"It is possible.", +"It is likely.", +"It is very likely." +], +"type": "string" +}, +"joyLikelihood": { +"description": "Joy likelihood.", +"enum": [ +"UNKNOWN", +"VERY_UNLIKELY", +"UNLIKELY", +"POSSIBLE", +"LIKELY", +"VERY_LIKELY" +], +"enumDescriptions": [ +"Unknown likelihood.", +"It is very unlikely.", +"It is unlikely.", +"It is possible.", +"It is likely.", +"It is very likely." +], +"type": "string" +}, +"landmarkingConfidence": { +"description": "Face landmarking confidence. Range [0, 1].", +"format": "float", +"type": "number" +}, +"landmarks": { +"description": "Detected face landmarks.", +"items": { +"$ref": "GoogleCloudVisionV1p1beta1FaceAnnotationLandmark" +}, +"type": "array" +}, +"panAngle": { +"description": "Yaw angle, which indicates the leftward/rightward angle that the face is pointing relative to the vertical plane perpendicular to the image. Range [-180,180].", +"format": "float", +"type": "number" +}, +"rollAngle": { +"description": "Roll angle, which indicates the amount of clockwise/anti-clockwise rotation of the face relative to the image vertical about the axis perpendicular to the face. Range [-180,180].", +"format": "float", +"type": "number" +}, +"sorrowLikelihood": { +"description": "Sorrow likelihood.", +"enum": [ +"UNKNOWN", +"VERY_UNLIKELY", +"UNLIKELY", +"POSSIBLE", +"LIKELY", +"VERY_LIKELY" +], +"enumDescriptions": [ +"Unknown likelihood.", +"It is very unlikely.", +"It is unlikely.", +"It is possible.", +"It is likely.", +"It is very likely." +], +"type": "string" +}, +"surpriseLikelihood": { +"description": "Surprise likelihood.", +"enum": [ +"UNKNOWN", +"VERY_UNLIKELY", +"UNLIKELY", +"POSSIBLE", +"LIKELY", +"VERY_LIKELY" +], +"enumDescriptions": [ +"Unknown likelihood.", +"It is very unlikely.", +"It is unlikely.", +"It is possible.", +"It is likely.", +"It is very likely." +], +"type": "string" +}, +"tiltAngle": { +"description": "Pitch angle, which indicates the upwards/downwards angle that the face is pointing relative to the image's horizontal plane. Range [-180,180].", +"format": "float", +"type": "number" +}, +"underExposedLikelihood": { +"description": "Under-exposed likelihood.", +"enum": [ +"UNKNOWN", +"VERY_UNLIKELY", +"UNLIKELY", +"POSSIBLE", +"LIKELY", +"VERY_LIKELY" +], +"enumDescriptions": [ +"Unknown likelihood.", +"It is very unlikely.", +"It is unlikely.", +"It is possible.", +"It is likely.", +"It is very likely." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p1beta1FaceAnnotationLandmark": { +"description": "A face-specific landmark (for example, a face feature). Landmark positions may fall outside the bounds of the image if the face is near one or more edges of the image. Therefore it is NOT guaranteed that `0 <= x < width` or `0 <= y < height`.", +"id": "GoogleCloudVisionV1p1beta1FaceAnnotationLandmark", +"properties": { +"position": { +"$ref": "GoogleCloudVisionV1p1beta1Position", +"description": "Face landmark position." +}, +"type": { +"description": "Face landmark type.", +"enum": [ +"UNKNOWN_LANDMARK", +"LEFT_EYE", +"RIGHT_EYE", +"LEFT_OF_LEFT_EYEBROW", +"RIGHT_OF_LEFT_EYEBROW", +"LEFT_OF_RIGHT_EYEBROW", +"RIGHT_OF_RIGHT_EYEBROW", +"MIDPOINT_BETWEEN_EYES", +"NOSE_TIP", +"UPPER_LIP", +"LOWER_LIP", +"MOUTH_LEFT", +"MOUTH_RIGHT", +"MOUTH_CENTER", +"NOSE_BOTTOM_RIGHT", +"NOSE_BOTTOM_LEFT", +"NOSE_BOTTOM_CENTER", +"LEFT_EYE_TOP_BOUNDARY", +"LEFT_EYE_RIGHT_CORNER", +"LEFT_EYE_BOTTOM_BOUNDARY", +"LEFT_EYE_LEFT_CORNER", +"RIGHT_EYE_TOP_BOUNDARY", +"RIGHT_EYE_RIGHT_CORNER", +"RIGHT_EYE_BOTTOM_BOUNDARY", +"RIGHT_EYE_LEFT_CORNER", +"LEFT_EYEBROW_UPPER_MIDPOINT", +"RIGHT_EYEBROW_UPPER_MIDPOINT", +"LEFT_EAR_TRAGION", +"RIGHT_EAR_TRAGION", +"LEFT_EYE_PUPIL", +"RIGHT_EYE_PUPIL", +"FOREHEAD_GLABELLA", +"CHIN_GNATHION", +"CHIN_LEFT_GONION", +"CHIN_RIGHT_GONION", +"LEFT_CHEEK_CENTER", +"RIGHT_CHEEK_CENTER" +], +"enumDescriptions": [ +"Unknown face landmark detected. Should not be filled.", +"Left eye.", +"Right eye.", +"Left of left eyebrow.", +"Right of left eyebrow.", +"Left of right eyebrow.", +"Right of right eyebrow.", +"Midpoint between eyes.", +"Nose tip.", +"Upper lip.", +"Lower lip.", +"Mouth left.", +"Mouth right.", +"Mouth center.", +"Nose, bottom right.", +"Nose, bottom left.", +"Nose, bottom center.", +"Left eye, top boundary.", +"Left eye, right corner.", +"Left eye, bottom boundary.", +"Left eye, left corner.", +"Right eye, top boundary.", +"Right eye, right corner.", +"Right eye, bottom boundary.", +"Right eye, left corner.", +"Left eyebrow, upper midpoint.", +"Right eyebrow, upper midpoint.", +"Left ear tragion.", +"Right ear tragion.", +"Left eye pupil.", +"Right eye pupil.", +"Forehead glabella.", +"Chin gnathion.", +"Chin left gonion.", +"Chin right gonion.", +"Left cheek center.", +"Right cheek center." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p1beta1GcsDestination": { +"description": "The Google Cloud Storage location where the output will be written to.", +"id": "GoogleCloudVisionV1p1beta1GcsDestination", +"properties": { +"uri": { +"description": "Google Cloud Storage URI prefix where the results will be stored. Results will be in JSON format and preceded by its corresponding input URI prefix. This field can either represent a gcs file prefix or gcs directory. In either case, the uri should be unique because in order to get all of the output files, you will need to do a wildcard gcs search on the uri prefix you provide. Examples: * File Prefix: gs://bucket-name/here/filenameprefix The output files will be created in gs://bucket-name/here/ and the names of the output files will begin with \"filenameprefix\". * Directory Prefix: gs://bucket-name/some/location/ The output files will be created in gs://bucket-name/some/location/ and the names of the output files could be anything because there was no filename prefix specified. If multiple outputs, each response is still AnnotateFileResponse, each of which contains some subset of the full list of AnnotateImageResponse. Multiple outputs can happen if, for example, the output JSON is too large and overflows into multiple sharded files.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p1beta1GcsSource": { +"description": "The Google Cloud Storage location where the input will be read from.", +"id": "GoogleCloudVisionV1p1beta1GcsSource", +"properties": { +"uri": { +"description": "Google Cloud Storage URI for the input file. This must only be a Google Cloud Storage object. Wildcards are not currently supported.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p1beta1ImageAnnotationContext": { +"description": "If an image was produced from a file (e.g. a PDF), this message gives information about the source of that image.", +"id": "GoogleCloudVisionV1p1beta1ImageAnnotationContext", +"properties": { +"pageNumber": { +"description": "If the file was a PDF or TIFF, this field gives the page number within the file used to produce the image.", +"format": "int32", +"type": "integer" +}, +"uri": { +"description": "The URI of the file used to produce the image.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p1beta1ImageProperties": { +"description": "Stores image properties, such as dominant colors.", +"id": "GoogleCloudVisionV1p1beta1ImageProperties", +"properties": { +"dominantColors": { +"$ref": "GoogleCloudVisionV1p1beta1DominantColorsAnnotation", +"description": "If present, dominant colors completed successfully." +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p1beta1InputConfig": { +"description": "The desired input location and metadata.", +"id": "GoogleCloudVisionV1p1beta1InputConfig", +"properties": { +"content": { +"description": "File content, represented as a stream of bytes. Note: As with all `bytes` fields, protobuffers use a pure binary representation, whereas JSON representations use base64. Currently, this field only works for BatchAnnotateFiles requests. It does not work for AsyncBatchAnnotateFiles requests.", +"format": "byte", +"type": "string" +}, +"gcsSource": { +"$ref": "GoogleCloudVisionV1p1beta1GcsSource", +"description": "The Google Cloud Storage location to read the input from." +}, +"mimeType": { +"description": "The type of the file. Currently only \"application/pdf\", \"image/tiff\" and \"image/gif\" are supported. Wildcards are not supported.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p1beta1LocalizedObjectAnnotation": { +"description": "Set of detected objects with bounding boxes.", +"id": "GoogleCloudVisionV1p1beta1LocalizedObjectAnnotation", +"properties": { +"boundingPoly": { +"$ref": "GoogleCloudVisionV1p1beta1BoundingPoly", +"description": "Image region to which this object belongs. This must be populated." +}, +"languageCode": { +"description": "The BCP-47 language code, such as \"en-US\" or \"sr-Latn\". For more information, see http://www.unicode.org/reports/tr35/#Unicode_locale_identifier.", +"type": "string" +}, +"mid": { +"description": "Object ID that should align with EntityAnnotation mid.", +"type": "string" +}, +"name": { +"description": "Object name, expressed in its `language_code` language.", +"type": "string" +}, +"score": { +"description": "Score of the result. Range [0, 1].", +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p1beta1LocationInfo": { +"description": "Detected entity location information.", +"id": "GoogleCloudVisionV1p1beta1LocationInfo", +"properties": { +"latLng": { +"$ref": "LatLng", +"description": "lat/long location coordinates." +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p1beta1NormalizedVertex": { +"description": "A vertex represents a 2D point in the image. NOTE: the normalized vertex coordinates are relative to the original image and range from 0 to 1.", +"id": "GoogleCloudVisionV1p1beta1NormalizedVertex", +"properties": { +"x": { +"description": "X coordinate.", +"format": "float", +"type": "number" +}, +"y": { +"description": "Y coordinate.", +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p1beta1OperationMetadata": { +"description": "Contains metadata for the BatchAnnotateImages operation.", +"id": "GoogleCloudVisionV1p1beta1OperationMetadata", +"properties": { +"createTime": { +"description": "The time when the batch request was received.", +"format": "google-datetime", +"type": "string" +}, +"state": { +"description": "Current state of the batch operation.", +"enum": [ +"STATE_UNSPECIFIED", +"CREATED", +"RUNNING", +"DONE", +"CANCELLED" +], +"enumDescriptions": [ +"Invalid.", +"Request is received.", +"Request is actively being processed.", +"The batch processing is done.", +"The batch processing was cancelled." +], +"type": "string" +}, +"updateTime": { +"description": "The time when the operation result was last updated.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p1beta1OutputConfig": { +"description": "The desired output location and metadata.", +"id": "GoogleCloudVisionV1p1beta1OutputConfig", +"properties": { +"batchSize": { +"description": "The max number of response protos to put into each output JSON file on Google Cloud Storage. The valid range is [1, 100]. If not specified, the default value is 20. For example, for one pdf file with 100 pages, 100 response protos will be generated. If `batch_size` = 20, then 5 json files each containing 20 response protos will be written under the prefix `gcs_destination`.`uri`. Currently, batch_size only applies to GcsDestination, with potential future support for other output configurations.", +"format": "int32", +"type": "integer" +}, +"gcsDestination": { +"$ref": "GoogleCloudVisionV1p1beta1GcsDestination", +"description": "The Google Cloud Storage location to write the output(s) to." +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p1beta1Page": { +"description": "Detected page from OCR.", +"id": "GoogleCloudVisionV1p1beta1Page", +"properties": { +"blocks": { +"description": "List of blocks of text, images etc on this page.", +"items": { +"$ref": "GoogleCloudVisionV1p1beta1Block" +}, +"type": "array" +}, +"confidence": { +"description": "Confidence of the OCR results on the page. Range [0, 1].", +"format": "float", +"type": "number" +}, +"height": { +"description": "Page height. For PDFs the unit is points. For images (including TIFFs) the unit is pixels.", +"format": "int32", +"type": "integer" +}, +"property": { +"$ref": "GoogleCloudVisionV1p1beta1TextAnnotationTextProperty", +"description": "Additional information detected on the page." +}, +"width": { +"description": "Page width. For PDFs the unit is points. For images (including TIFFs) the unit is pixels.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p1beta1Paragraph": { +"description": "Structural unit of text representing a number of words in certain order.", +"id": "GoogleCloudVisionV1p1beta1Paragraph", +"properties": { +"boundingBox": { +"$ref": "GoogleCloudVisionV1p1beta1BoundingPoly", +"description": "The bounding box for the paragraph. The vertices are in the order of top-left, top-right, bottom-right, bottom-left. When a rotation of the bounding box is detected the rotation is represented as around the top-left corner as defined when the text is read in the 'natural' orientation. For example: * when the text is horizontal it might look like: 0----1 | | 3----2 * when it's rotated 180 degrees around the top-left corner it becomes: 2----3 | | 1----0 and the vertex order will still be (0, 1, 2, 3)." +}, +"confidence": { +"description": "Confidence of the OCR results for the paragraph. Range [0, 1].", +"format": "float", +"type": "number" +}, +"property": { +"$ref": "GoogleCloudVisionV1p1beta1TextAnnotationTextProperty", +"description": "Additional information detected for the paragraph." +}, +"words": { +"description": "List of all words in this paragraph.", +"items": { +"$ref": "GoogleCloudVisionV1p1beta1Word" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p1beta1Position": { +"description": "A 3D position in the image, used primarily for Face detection landmarks. A valid Position must have both x and y coordinates. The position coordinates are in the same scale as the original image.", +"id": "GoogleCloudVisionV1p1beta1Position", +"properties": { +"x": { +"description": "X coordinate.", +"format": "float", +"type": "number" +}, +"y": { +"description": "Y coordinate.", +"format": "float", +"type": "number" +}, +"z": { +"description": "Z coordinate (or depth).", +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p1beta1Product": { +"description": "A Product contains ReferenceImages.", +"id": "GoogleCloudVisionV1p1beta1Product", +"properties": { +"description": { +"description": "User-provided metadata to be stored with this product. Must be at most 4096 characters long.", +"type": "string" +}, +"displayName": { +"description": "The user-provided name for this Product. Must not be empty. Must be at most 4096 characters long.", +"type": "string" +}, +"name": { +"description": "The resource name of the product. Format is: `projects/PROJECT_ID/locations/LOC_ID/products/PRODUCT_ID`. This field is ignored when creating a product.", +"type": "string" +}, +"productCategory": { +"description": "Immutable. The category for the product identified by the reference image. This should be one of \"homegoods-v2\", \"apparel-v2\", \"toys-v2\", \"packagedgoods-v1\" or \"general-v1\". The legacy categories \"homegoods\", \"apparel\", and \"toys\" are still supported, but these should not be used for new products.", +"type": "string" +}, +"productLabels": { +"description": "Key-value pairs that can be attached to a product. At query time, constraints can be specified based on the product_labels. Note that integer values can be provided as strings, e.g. \"1199\". Only strings with integer values can match a range-based restriction which is to be supported soon. Multiple values can be assigned to the same key. One product may have up to 500 product_labels. Notice that the total number of distinct product_labels over all products in one ProductSet cannot exceed 1M, otherwise the product search pipeline will refuse to work for that ProductSet.", +"items": { +"$ref": "GoogleCloudVisionV1p1beta1ProductKeyValue" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p1beta1ProductKeyValue": { +"description": "A product label represented as a key-value pair.", +"id": "GoogleCloudVisionV1p1beta1ProductKeyValue", +"properties": { +"key": { +"description": "The key of the label attached to the product. Cannot be empty and cannot exceed 128 bytes.", +"type": "string" +}, +"value": { +"description": "The value of the label attached to the product. Cannot be empty and cannot exceed 128 bytes.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p1beta1ProductSearchResults": { +"description": "Results for a product search request.", +"id": "GoogleCloudVisionV1p1beta1ProductSearchResults", +"properties": { +"indexTime": { +"description": "Timestamp of the index which provided these results. Products added to the product set and products removed from the product set after this time are not reflected in the current results.", +"format": "google-datetime", +"type": "string" +}, +"productGroupedResults": { +"description": "List of results grouped by products detected in the query image. Each entry corresponds to one bounding polygon in the query image, and contains the matching products specific to that region. There may be duplicate product matches in the union of all the per-product results.", +"items": { +"$ref": "GoogleCloudVisionV1p1beta1ProductSearchResultsGroupedResult" +}, +"type": "array" +}, +"results": { +"description": "List of results, one for each product match.", +"items": { +"$ref": "GoogleCloudVisionV1p1beta1ProductSearchResultsResult" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p1beta1ProductSearchResultsGroupedResult": { +"description": "Information about the products similar to a single product in a query image.", +"id": "GoogleCloudVisionV1p1beta1ProductSearchResultsGroupedResult", +"properties": { +"boundingPoly": { +"$ref": "GoogleCloudVisionV1p1beta1BoundingPoly", +"description": "The bounding polygon around the product detected in the query image." +}, +"objectAnnotations": { +"description": "List of generic predictions for the object in the bounding box.", +"items": { +"$ref": "GoogleCloudVisionV1p1beta1ProductSearchResultsObjectAnnotation" +}, +"type": "array" +}, +"results": { +"description": "List of results, one for each product match.", +"items": { +"$ref": "GoogleCloudVisionV1p1beta1ProductSearchResultsResult" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p1beta1ProductSearchResultsObjectAnnotation": { +"description": "Prediction for what the object in the bounding box is.", +"id": "GoogleCloudVisionV1p1beta1ProductSearchResultsObjectAnnotation", +"properties": { +"languageCode": { +"description": "The BCP-47 language code, such as \"en-US\" or \"sr-Latn\". For more information, see http://www.unicode.org/reports/tr35/#Unicode_locale_identifier.", +"type": "string" +}, +"mid": { +"description": "Object ID that should align with EntityAnnotation mid.", +"type": "string" +}, +"name": { +"description": "Object name, expressed in its `language_code` language.", +"type": "string" +}, +"score": { +"description": "Score of the result. Range [0, 1].", +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p1beta1ProductSearchResultsResult": { +"description": "Information about a product.", +"id": "GoogleCloudVisionV1p1beta1ProductSearchResultsResult", +"properties": { +"image": { +"description": "The resource name of the image from the product that is the closest match to the query.", +"type": "string" +}, +"product": { +"$ref": "GoogleCloudVisionV1p1beta1Product", +"description": "The Product." +}, +"score": { +"description": "A confidence level on the match, ranging from 0 (no confidence) to 1 (full confidence).", +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p1beta1Property": { +"description": "A `Property` consists of a user-supplied name/value pair.", +"id": "GoogleCloudVisionV1p1beta1Property", +"properties": { +"name": { +"description": "Name of the property.", +"type": "string" +}, +"uint64Value": { +"description": "Value of numeric properties.", +"format": "uint64", +"type": "string" +}, +"value": { +"description": "Value of the property.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p1beta1SafeSearchAnnotation": { +"description": "Set of features pertaining to the image, computed by computer vision methods over safe-search verticals (for example, adult, spoof, medical, violence).", +"id": "GoogleCloudVisionV1p1beta1SafeSearchAnnotation", +"properties": { +"adult": { +"description": "Represents the adult content likelihood for the image. Adult content may contain elements such as nudity, pornographic images or cartoons, or sexual activities.", +"enum": [ +"UNKNOWN", +"VERY_UNLIKELY", +"UNLIKELY", +"POSSIBLE", +"LIKELY", +"VERY_LIKELY" +], +"enumDescriptions": [ +"Unknown likelihood.", +"It is very unlikely.", +"It is unlikely.", +"It is possible.", +"It is likely.", +"It is very likely." +], +"type": "string" +}, +"medical": { +"description": "Likelihood that this is a medical image.", +"enum": [ +"UNKNOWN", +"VERY_UNLIKELY", +"UNLIKELY", +"POSSIBLE", +"LIKELY", +"VERY_LIKELY" +], +"enumDescriptions": [ +"Unknown likelihood.", +"It is very unlikely.", +"It is unlikely.", +"It is possible.", +"It is likely.", +"It is very likely." +], +"type": "string" +}, +"racy": { +"description": "Likelihood that the request image contains racy content. Racy content may include (but is not limited to) skimpy or sheer clothing, strategically covered nudity, lewd or provocative poses, or close-ups of sensitive body areas.", +"enum": [ +"UNKNOWN", +"VERY_UNLIKELY", +"UNLIKELY", +"POSSIBLE", +"LIKELY", +"VERY_LIKELY" +], +"enumDescriptions": [ +"Unknown likelihood.", +"It is very unlikely.", +"It is unlikely.", +"It is possible.", +"It is likely.", +"It is very likely." +], +"type": "string" +}, +"spoof": { +"description": "Spoof likelihood. The likelihood that an modification was made to the image's canonical version to make it appear funny or offensive.", +"enum": [ +"UNKNOWN", +"VERY_UNLIKELY", +"UNLIKELY", +"POSSIBLE", +"LIKELY", +"VERY_LIKELY" +], +"enumDescriptions": [ +"Unknown likelihood.", +"It is very unlikely.", +"It is unlikely.", +"It is possible.", +"It is likely.", +"It is very likely." +], +"type": "string" +}, +"violence": { +"description": "Likelihood that this image contains violent content. Violent content may include death, serious harm, or injury to individuals or groups of individuals.", +"enum": [ +"UNKNOWN", +"VERY_UNLIKELY", +"UNLIKELY", +"POSSIBLE", +"LIKELY", +"VERY_LIKELY" +], +"enumDescriptions": [ +"Unknown likelihood.", +"It is very unlikely.", +"It is unlikely.", +"It is possible.", +"It is likely.", +"It is very likely." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p1beta1Symbol": { +"description": "A single symbol representation.", +"id": "GoogleCloudVisionV1p1beta1Symbol", +"properties": { +"boundingBox": { +"$ref": "GoogleCloudVisionV1p1beta1BoundingPoly", +"description": "The bounding box for the symbol. The vertices are in the order of top-left, top-right, bottom-right, bottom-left. When a rotation of the bounding box is detected the rotation is represented as around the top-left corner as defined when the text is read in the 'natural' orientation. For example: * when the text is horizontal it might look like: 0----1 | | 3----2 * when it's rotated 180 degrees around the top-left corner it becomes: 2----3 | | 1----0 and the vertex order will still be (0, 1, 2, 3)." +}, +"confidence": { +"description": "Confidence of the OCR results for the symbol. Range [0, 1].", +"format": "float", +"type": "number" +}, +"property": { +"$ref": "GoogleCloudVisionV1p1beta1TextAnnotationTextProperty", +"description": "Additional information detected for the symbol." +}, +"text": { +"description": "The actual UTF-8 representation of the symbol.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p1beta1TextAnnotation": { +"description": "TextAnnotation contains a structured representation of OCR extracted text. The hierarchy of an OCR extracted text structure is like this: TextAnnotation -> Page -> Block -> Paragraph -> Word -> Symbol Each structural component, starting from Page, may further have their own properties. Properties describe detected languages, breaks etc.. Please refer to the TextAnnotation.TextProperty message definition below for more detail.", +"id": "GoogleCloudVisionV1p1beta1TextAnnotation", +"properties": { +"pages": { +"description": "List of pages detected by OCR.", +"items": { +"$ref": "GoogleCloudVisionV1p1beta1Page" +}, +"type": "array" +}, +"text": { +"description": "UTF-8 text detected on the pages.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p1beta1TextAnnotationDetectedBreak": { +"description": "Detected start or end of a structural component.", +"id": "GoogleCloudVisionV1p1beta1TextAnnotationDetectedBreak", +"properties": { +"isPrefix": { +"description": "True if break prepends the element.", +"type": "boolean" +}, +"type": { +"description": "Detected break type.", +"enum": [ +"UNKNOWN", +"SPACE", +"SURE_SPACE", +"EOL_SURE_SPACE", +"HYPHEN", +"LINE_BREAK" +], +"enumDescriptions": [ +"Unknown break label type.", +"Regular space.", +"Sure space (very wide).", +"Line-wrapping break.", +"End-line hyphen that is not present in text; does not co-occur with `SPACE`, `LEADER_SPACE`, or `LINE_BREAK`.", +"Line break that ends a paragraph." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p1beta1TextAnnotationDetectedLanguage": { +"description": "Detected language for a structural component.", +"id": "GoogleCloudVisionV1p1beta1TextAnnotationDetectedLanguage", +"properties": { +"confidence": { +"description": "Confidence of detected language. Range [0, 1].", +"format": "float", +"type": "number" +}, +"languageCode": { +"description": "The BCP-47 language code, such as \"en-US\" or \"sr-Latn\". For more information, see http://www.unicode.org/reports/tr35/#Unicode_locale_identifier.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p1beta1TextAnnotationTextProperty": { +"description": "Additional information detected on the structural component.", +"id": "GoogleCloudVisionV1p1beta1TextAnnotationTextProperty", +"properties": { +"detectedBreak": { +"$ref": "GoogleCloudVisionV1p1beta1TextAnnotationDetectedBreak", +"description": "Detected start or end of a text segment." +}, +"detectedLanguages": { +"description": "A list of detected languages together with confidence.", +"items": { +"$ref": "GoogleCloudVisionV1p1beta1TextAnnotationDetectedLanguage" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p1beta1Vertex": { +"description": "A vertex represents a 2D point in the image. NOTE: the vertex coordinates are in the same scale as the original image.", +"id": "GoogleCloudVisionV1p1beta1Vertex", +"properties": { +"x": { +"description": "X coordinate.", +"format": "int32", +"type": "integer" +}, +"y": { +"description": "Y coordinate.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p1beta1WebDetection": { +"description": "Relevant information for the image from the Internet.", +"id": "GoogleCloudVisionV1p1beta1WebDetection", +"properties": { +"bestGuessLabels": { +"description": "The service's best guess as to the topic of the request image. Inferred from similar images on the open web.", +"items": { +"$ref": "GoogleCloudVisionV1p1beta1WebDetectionWebLabel" +}, +"type": "array" +}, +"fullMatchingImages": { +"description": "Fully matching images from the Internet. Can include resized copies of the query image.", +"items": { +"$ref": "GoogleCloudVisionV1p1beta1WebDetectionWebImage" +}, +"type": "array" +}, +"pagesWithMatchingImages": { +"description": "Web pages containing the matching images from the Internet.", +"items": { +"$ref": "GoogleCloudVisionV1p1beta1WebDetectionWebPage" +}, +"type": "array" +}, +"partialMatchingImages": { +"description": "Partial matching images from the Internet. Those images are similar enough to share some key-point features. For example an original image will likely have partial matching for its crops.", +"items": { +"$ref": "GoogleCloudVisionV1p1beta1WebDetectionWebImage" +}, +"type": "array" +}, +"visuallySimilarImages": { +"description": "The visually similar image results.", +"items": { +"$ref": "GoogleCloudVisionV1p1beta1WebDetectionWebImage" +}, +"type": "array" +}, +"webEntities": { +"description": "Deduced entities from similar images on the Internet.", +"items": { +"$ref": "GoogleCloudVisionV1p1beta1WebDetectionWebEntity" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p1beta1WebDetectionWebEntity": { +"description": "Entity deduced from similar images on the Internet.", +"id": "GoogleCloudVisionV1p1beta1WebDetectionWebEntity", +"properties": { +"description": { +"description": "Canonical description of the entity, in English.", +"type": "string" +}, +"entityId": { +"description": "Opaque entity ID.", +"type": "string" +}, +"score": { +"description": "Overall relevancy score for the entity. Not normalized and not comparable across different image queries.", +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p1beta1WebDetectionWebImage": { +"description": "Metadata for online images.", +"id": "GoogleCloudVisionV1p1beta1WebDetectionWebImage", +"properties": { +"score": { +"description": "(Deprecated) Overall relevancy score for the image.", +"format": "float", +"type": "number" +}, +"url": { +"description": "The result image URL.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p1beta1WebDetectionWebLabel": { +"description": "Label to provide extra metadata for the web detection.", +"id": "GoogleCloudVisionV1p1beta1WebDetectionWebLabel", +"properties": { +"label": { +"description": "Label for extra metadata.", +"type": "string" +}, +"languageCode": { +"description": "The BCP-47 language code for `label`, such as \"en-US\" or \"sr-Latn\". For more information, see http://www.unicode.org/reports/tr35/#Unicode_locale_identifier.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p1beta1WebDetectionWebPage": { +"description": "Metadata for web pages.", +"id": "GoogleCloudVisionV1p1beta1WebDetectionWebPage", +"properties": { +"fullMatchingImages": { +"description": "Fully matching images on the page. Can include resized copies of the query image.", +"items": { +"$ref": "GoogleCloudVisionV1p1beta1WebDetectionWebImage" +}, +"type": "array" +}, +"pageTitle": { +"description": "Title for the web page, may contain HTML markups.", +"type": "string" +}, +"partialMatchingImages": { +"description": "Partial matching images on the page. Those images are similar enough to share some key-point features. For example an original image will likely have partial matching for its crops.", +"items": { +"$ref": "GoogleCloudVisionV1p1beta1WebDetectionWebImage" +}, +"type": "array" +}, +"score": { +"description": "(Deprecated) Overall relevancy score for the web page.", +"format": "float", +"type": "number" +}, +"url": { +"description": "The result web page URL.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p1beta1Word": { +"description": "A word representation.", +"id": "GoogleCloudVisionV1p1beta1Word", +"properties": { +"boundingBox": { +"$ref": "GoogleCloudVisionV1p1beta1BoundingPoly", +"description": "The bounding box for the word. The vertices are in the order of top-left, top-right, bottom-right, bottom-left. When a rotation of the bounding box is detected the rotation is represented as around the top-left corner as defined when the text is read in the 'natural' orientation. For example: * when the text is horizontal it might look like: 0----1 | | 3----2 * when it's rotated 180 degrees around the top-left corner it becomes: 2----3 | | 1----0 and the vertex order will still be (0, 1, 2, 3)." +}, +"confidence": { +"description": "Confidence of the OCR results for the word. Range [0, 1].", +"format": "float", +"type": "number" +}, +"property": { +"$ref": "GoogleCloudVisionV1p1beta1TextAnnotationTextProperty", +"description": "Additional information detected for the word." +}, +"symbols": { +"description": "List of symbols in the word. The order of the symbols follows the natural reading order.", +"items": { +"$ref": "GoogleCloudVisionV1p1beta1Symbol" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p2beta1AnnotateFileResponse": { +"description": "Response to a single file annotation request. A file may contain one or more images, which individually have their own responses.", +"id": "GoogleCloudVisionV1p2beta1AnnotateFileResponse", +"properties": { +"error": { +"$ref": "Status", +"description": "If set, represents the error message for the failed request. The `responses` field will not be set in this case." +}, +"inputConfig": { +"$ref": "GoogleCloudVisionV1p2beta1InputConfig", +"description": "Information about the file for which this response is generated." +}, +"responses": { +"description": "Individual responses to images found within the file. This field will be empty if the `error` field is set.", +"items": { +"$ref": "GoogleCloudVisionV1p2beta1AnnotateImageResponse" +}, +"type": "array" +}, +"totalPages": { +"description": "This field gives the total number of pages in the file.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p2beta1AnnotateImageResponse": { +"description": "Response to an image annotation request.", +"id": "GoogleCloudVisionV1p2beta1AnnotateImageResponse", +"properties": { +"context": { +"$ref": "GoogleCloudVisionV1p2beta1ImageAnnotationContext", +"description": "If present, contextual information is needed to understand where this image comes from." +}, +"cropHintsAnnotation": { +"$ref": "GoogleCloudVisionV1p2beta1CropHintsAnnotation", +"description": "If present, crop hints have completed successfully." +}, +"error": { +"$ref": "Status", +"description": "If set, represents the error message for the operation. Note that filled-in image annotations are guaranteed to be correct, even when `error` is set." +}, +"faceAnnotations": { +"description": "If present, face detection has completed successfully.", +"items": { +"$ref": "GoogleCloudVisionV1p2beta1FaceAnnotation" +}, +"type": "array" +}, +"fullTextAnnotation": { +"$ref": "GoogleCloudVisionV1p2beta1TextAnnotation", +"description": "If present, text (OCR) detection or document (OCR) text detection has completed successfully. This annotation provides the structural hierarchy for the OCR detected text." +}, +"imagePropertiesAnnotation": { +"$ref": "GoogleCloudVisionV1p2beta1ImageProperties", +"description": "If present, image properties were extracted successfully." +}, +"labelAnnotations": { +"description": "If present, label detection has completed successfully.", +"items": { +"$ref": "GoogleCloudVisionV1p2beta1EntityAnnotation" +}, +"type": "array" +}, +"landmarkAnnotations": { +"description": "If present, landmark detection has completed successfully.", +"items": { +"$ref": "GoogleCloudVisionV1p2beta1EntityAnnotation" +}, +"type": "array" +}, +"localizedObjectAnnotations": { +"description": "If present, localized object detection has completed successfully. This will be sorted descending by confidence score.", +"items": { +"$ref": "GoogleCloudVisionV1p2beta1LocalizedObjectAnnotation" +}, +"type": "array" +}, +"logoAnnotations": { +"description": "If present, logo detection has completed successfully.", +"items": { +"$ref": "GoogleCloudVisionV1p2beta1EntityAnnotation" +}, +"type": "array" +}, +"productSearchResults": { +"$ref": "GoogleCloudVisionV1p2beta1ProductSearchResults", +"description": "If present, product search has completed successfully." +}, +"safeSearchAnnotation": { +"$ref": "GoogleCloudVisionV1p2beta1SafeSearchAnnotation", +"description": "If present, safe-search annotation has completed successfully." +}, +"textAnnotations": { +"description": "If present, text (OCR) detection has completed successfully.", +"items": { +"$ref": "GoogleCloudVisionV1p2beta1EntityAnnotation" +}, +"type": "array" +}, +"webDetection": { +"$ref": "GoogleCloudVisionV1p2beta1WebDetection", +"description": "If present, web detection has completed successfully." +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p2beta1AsyncAnnotateFileResponse": { +"description": "The response for a single offline file annotation request.", +"id": "GoogleCloudVisionV1p2beta1AsyncAnnotateFileResponse", +"properties": { +"outputConfig": { +"$ref": "GoogleCloudVisionV1p2beta1OutputConfig", +"description": "The output location and metadata from AsyncAnnotateFileRequest." +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p2beta1AsyncBatchAnnotateFilesResponse": { +"description": "Response to an async batch file annotation request.", +"id": "GoogleCloudVisionV1p2beta1AsyncBatchAnnotateFilesResponse", +"properties": { +"responses": { +"description": "The list of file annotation responses, one for each request in AsyncBatchAnnotateFilesRequest.", +"items": { +"$ref": "GoogleCloudVisionV1p2beta1AsyncAnnotateFileResponse" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p2beta1Block": { +"description": "Logical element on the page.", +"id": "GoogleCloudVisionV1p2beta1Block", +"properties": { +"blockType": { +"description": "Detected block type (text, image etc) for this block.", +"enum": [ +"UNKNOWN", +"TEXT", +"TABLE", +"PICTURE", +"RULER", +"BARCODE" +], +"enumDescriptions": [ +"Unknown block type.", +"Regular text block.", +"Table block.", +"Image block.", +"Horizontal/vertical line box.", +"Barcode block." +], +"type": "string" +}, +"boundingBox": { +"$ref": "GoogleCloudVisionV1p2beta1BoundingPoly", +"description": "The bounding box for the block. The vertices are in the order of top-left, top-right, bottom-right, bottom-left. When a rotation of the bounding box is detected the rotation is represented as around the top-left corner as defined when the text is read in the 'natural' orientation. For example: * when the text is horizontal it might look like: 0----1 | | 3----2 * when it's rotated 180 degrees around the top-left corner it becomes: 2----3 | | 1----0 and the vertex order will still be (0, 1, 2, 3)." +}, +"confidence": { +"description": "Confidence of the OCR results on the block. Range [0, 1].", +"format": "float", +"type": "number" +}, +"paragraphs": { +"description": "List of paragraphs in this block (if this blocks is of type text).", +"items": { +"$ref": "GoogleCloudVisionV1p2beta1Paragraph" +}, +"type": "array" +}, +"property": { +"$ref": "GoogleCloudVisionV1p2beta1TextAnnotationTextProperty", +"description": "Additional information detected for the block." +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p2beta1BoundingPoly": { +"description": "A bounding polygon for the detected image annotation.", +"id": "GoogleCloudVisionV1p2beta1BoundingPoly", +"properties": { +"normalizedVertices": { +"description": "The bounding polygon normalized vertices.", +"items": { +"$ref": "GoogleCloudVisionV1p2beta1NormalizedVertex" +}, +"type": "array" +}, +"vertices": { +"description": "The bounding polygon vertices.", +"items": { +"$ref": "GoogleCloudVisionV1p2beta1Vertex" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p2beta1ColorInfo": { +"description": "Color information consists of RGB channels, score, and the fraction of the image that the color occupies in the image.", +"id": "GoogleCloudVisionV1p2beta1ColorInfo", +"properties": { +"color": { +"$ref": "Color", +"description": "RGB components of the color." +}, +"pixelFraction": { +"description": "The fraction of pixels the color occupies in the image. Value in range [0, 1].", +"format": "float", +"type": "number" +}, +"score": { +"description": "Image-specific score for this color. Value in range [0, 1].", +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p2beta1CropHint": { +"description": "Single crop hint that is used to generate a new crop when serving an image.", +"id": "GoogleCloudVisionV1p2beta1CropHint", +"properties": { +"boundingPoly": { +"$ref": "GoogleCloudVisionV1p2beta1BoundingPoly", +"description": "The bounding polygon for the crop region. The coordinates of the bounding box are in the original image's scale." +}, +"confidence": { +"description": "Confidence of this being a salient region. Range [0, 1].", +"format": "float", +"type": "number" +}, +"importanceFraction": { +"description": "Fraction of importance of this salient region with respect to the original image.", +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p2beta1CropHintsAnnotation": { +"description": "Set of crop hints that are used to generate new crops when serving images.", +"id": "GoogleCloudVisionV1p2beta1CropHintsAnnotation", +"properties": { +"cropHints": { +"description": "Crop hint results.", +"items": { +"$ref": "GoogleCloudVisionV1p2beta1CropHint" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p2beta1DominantColorsAnnotation": { +"description": "Set of dominant colors and their corresponding scores.", +"id": "GoogleCloudVisionV1p2beta1DominantColorsAnnotation", +"properties": { +"colors": { +"description": "RGB color values with their score and pixel fraction.", +"items": { +"$ref": "GoogleCloudVisionV1p2beta1ColorInfo" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p2beta1EntityAnnotation": { +"description": "Set of detected entity features.", +"id": "GoogleCloudVisionV1p2beta1EntityAnnotation", +"properties": { +"boundingPoly": { +"$ref": "GoogleCloudVisionV1p2beta1BoundingPoly", +"description": "Image region to which this entity belongs. Not produced for `LABEL_DETECTION` features." +}, +"confidence": { +"deprecated": true, +"description": "**Deprecated. Use `score` instead.** The accuracy of the entity detection in an image. For example, for an image in which the \"Eiffel Tower\" entity is detected, this field represents the confidence that there is a tower in the query image. Range [0, 1].", +"format": "float", +"type": "number" +}, +"description": { +"description": "Entity textual description, expressed in its `locale` language.", +"type": "string" +}, +"locale": { +"description": "The language code for the locale in which the entity textual `description` is expressed.", +"type": "string" +}, +"locations": { +"description": "The location information for the detected entity. Multiple `LocationInfo` elements can be present because one location may indicate the location of the scene in the image, and another location may indicate the location of the place where the image was taken. Location information is usually present for landmarks.", +"items": { +"$ref": "GoogleCloudVisionV1p2beta1LocationInfo" +}, +"type": "array" +}, +"mid": { +"description": "Opaque entity ID. Some IDs may be available in [Google Knowledge Graph Search API](https://developers.google.com/knowledge-graph/).", +"type": "string" +}, +"properties": { +"description": "Some entities may have optional user-supplied `Property` (name/value) fields, such a score or string that qualifies the entity.", +"items": { +"$ref": "GoogleCloudVisionV1p2beta1Property" +}, +"type": "array" +}, +"score": { +"description": "Overall score of the result. Range [0, 1].", +"format": "float", +"type": "number" +}, +"topicality": { +"description": "The relevancy of the ICA (Image Content Annotation) label to the image. For example, the relevancy of \"tower\" is likely higher to an image containing the detected \"Eiffel Tower\" than to an image containing a detected distant towering building, even though the confidence that there is a tower in each image may be the same. Range [0, 1].", +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p2beta1FaceAnnotation": { +"description": "A face annotation object contains the results of face detection.", +"id": "GoogleCloudVisionV1p2beta1FaceAnnotation", +"properties": { +"angerLikelihood": { +"description": "Anger likelihood.", +"enum": [ +"UNKNOWN", +"VERY_UNLIKELY", +"UNLIKELY", +"POSSIBLE", +"LIKELY", +"VERY_LIKELY" +], +"enumDescriptions": [ +"Unknown likelihood.", +"It is very unlikely.", +"It is unlikely.", +"It is possible.", +"It is likely.", +"It is very likely." +], +"type": "string" +}, +"blurredLikelihood": { +"description": "Blurred likelihood.", +"enum": [ +"UNKNOWN", +"VERY_UNLIKELY", +"UNLIKELY", +"POSSIBLE", +"LIKELY", +"VERY_LIKELY" +], +"enumDescriptions": [ +"Unknown likelihood.", +"It is very unlikely.", +"It is unlikely.", +"It is possible.", +"It is likely.", +"It is very likely." +], +"type": "string" +}, +"boundingPoly": { +"$ref": "GoogleCloudVisionV1p2beta1BoundingPoly", +"description": "The bounding polygon around the face. The coordinates of the bounding box are in the original image's scale. The bounding box is computed to \"frame\" the face in accordance with human expectations. It is based on the landmarker results. Note that one or more x and/or y coordinates may not be generated in the `BoundingPoly` (the polygon will be unbounded) if only a partial face appears in the image to be annotated." +}, +"detectionConfidence": { +"description": "Detection confidence. Range [0, 1].", +"format": "float", +"type": "number" +}, +"fdBoundingPoly": { +"$ref": "GoogleCloudVisionV1p2beta1BoundingPoly", +"description": "The `fd_bounding_poly` bounding polygon is tighter than the `boundingPoly`, and encloses only the skin part of the face. Typically, it is used to eliminate the face from any image analysis that detects the \"amount of skin\" visible in an image. It is not based on the landmarker results, only on the initial face detection, hence the fd (face detection) prefix." +}, +"headwearLikelihood": { +"description": "Headwear likelihood.", +"enum": [ +"UNKNOWN", +"VERY_UNLIKELY", +"UNLIKELY", +"POSSIBLE", +"LIKELY", +"VERY_LIKELY" +], +"enumDescriptions": [ +"Unknown likelihood.", +"It is very unlikely.", +"It is unlikely.", +"It is possible.", +"It is likely.", +"It is very likely." +], +"type": "string" +}, +"joyLikelihood": { +"description": "Joy likelihood.", +"enum": [ +"UNKNOWN", +"VERY_UNLIKELY", +"UNLIKELY", +"POSSIBLE", +"LIKELY", +"VERY_LIKELY" +], +"enumDescriptions": [ +"Unknown likelihood.", +"It is very unlikely.", +"It is unlikely.", +"It is possible.", +"It is likely.", +"It is very likely." +], +"type": "string" +}, +"landmarkingConfidence": { +"description": "Face landmarking confidence. Range [0, 1].", +"format": "float", +"type": "number" +}, +"landmarks": { +"description": "Detected face landmarks.", +"items": { +"$ref": "GoogleCloudVisionV1p2beta1FaceAnnotationLandmark" +}, +"type": "array" +}, +"panAngle": { +"description": "Yaw angle, which indicates the leftward/rightward angle that the face is pointing relative to the vertical plane perpendicular to the image. Range [-180,180].", +"format": "float", +"type": "number" +}, +"rollAngle": { +"description": "Roll angle, which indicates the amount of clockwise/anti-clockwise rotation of the face relative to the image vertical about the axis perpendicular to the face. Range [-180,180].", +"format": "float", +"type": "number" +}, +"sorrowLikelihood": { +"description": "Sorrow likelihood.", +"enum": [ +"UNKNOWN", +"VERY_UNLIKELY", +"UNLIKELY", +"POSSIBLE", +"LIKELY", +"VERY_LIKELY" +], +"enumDescriptions": [ +"Unknown likelihood.", +"It is very unlikely.", +"It is unlikely.", +"It is possible.", +"It is likely.", +"It is very likely." +], +"type": "string" +}, +"surpriseLikelihood": { +"description": "Surprise likelihood.", +"enum": [ +"UNKNOWN", +"VERY_UNLIKELY", +"UNLIKELY", +"POSSIBLE", +"LIKELY", +"VERY_LIKELY" +], +"enumDescriptions": [ +"Unknown likelihood.", +"It is very unlikely.", +"It is unlikely.", +"It is possible.", +"It is likely.", +"It is very likely." +], +"type": "string" +}, +"tiltAngle": { +"description": "Pitch angle, which indicates the upwards/downwards angle that the face is pointing relative to the image's horizontal plane. Range [-180,180].", +"format": "float", +"type": "number" +}, +"underExposedLikelihood": { +"description": "Under-exposed likelihood.", +"enum": [ +"UNKNOWN", +"VERY_UNLIKELY", +"UNLIKELY", +"POSSIBLE", +"LIKELY", +"VERY_LIKELY" +], +"enumDescriptions": [ +"Unknown likelihood.", +"It is very unlikely.", +"It is unlikely.", +"It is possible.", +"It is likely.", +"It is very likely." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p2beta1FaceAnnotationLandmark": { +"description": "A face-specific landmark (for example, a face feature). Landmark positions may fall outside the bounds of the image if the face is near one or more edges of the image. Therefore it is NOT guaranteed that `0 <= x < width` or `0 <= y < height`.", +"id": "GoogleCloudVisionV1p2beta1FaceAnnotationLandmark", +"properties": { +"position": { +"$ref": "GoogleCloudVisionV1p2beta1Position", +"description": "Face landmark position." +}, +"type": { +"description": "Face landmark type.", +"enum": [ +"UNKNOWN_LANDMARK", +"LEFT_EYE", +"RIGHT_EYE", +"LEFT_OF_LEFT_EYEBROW", +"RIGHT_OF_LEFT_EYEBROW", +"LEFT_OF_RIGHT_EYEBROW", +"RIGHT_OF_RIGHT_EYEBROW", +"MIDPOINT_BETWEEN_EYES", +"NOSE_TIP", +"UPPER_LIP", +"LOWER_LIP", +"MOUTH_LEFT", +"MOUTH_RIGHT", +"MOUTH_CENTER", +"NOSE_BOTTOM_RIGHT", +"NOSE_BOTTOM_LEFT", +"NOSE_BOTTOM_CENTER", +"LEFT_EYE_TOP_BOUNDARY", +"LEFT_EYE_RIGHT_CORNER", +"LEFT_EYE_BOTTOM_BOUNDARY", +"LEFT_EYE_LEFT_CORNER", +"RIGHT_EYE_TOP_BOUNDARY", +"RIGHT_EYE_RIGHT_CORNER", +"RIGHT_EYE_BOTTOM_BOUNDARY", +"RIGHT_EYE_LEFT_CORNER", +"LEFT_EYEBROW_UPPER_MIDPOINT", +"RIGHT_EYEBROW_UPPER_MIDPOINT", +"LEFT_EAR_TRAGION", +"RIGHT_EAR_TRAGION", +"LEFT_EYE_PUPIL", +"RIGHT_EYE_PUPIL", +"FOREHEAD_GLABELLA", +"CHIN_GNATHION", +"CHIN_LEFT_GONION", +"CHIN_RIGHT_GONION", +"LEFT_CHEEK_CENTER", +"RIGHT_CHEEK_CENTER" +], +"enumDescriptions": [ +"Unknown face landmark detected. Should not be filled.", +"Left eye.", +"Right eye.", +"Left of left eyebrow.", +"Right of left eyebrow.", +"Left of right eyebrow.", +"Right of right eyebrow.", +"Midpoint between eyes.", +"Nose tip.", +"Upper lip.", +"Lower lip.", +"Mouth left.", +"Mouth right.", +"Mouth center.", +"Nose, bottom right.", +"Nose, bottom left.", +"Nose, bottom center.", +"Left eye, top boundary.", +"Left eye, right corner.", +"Left eye, bottom boundary.", +"Left eye, left corner.", +"Right eye, top boundary.", +"Right eye, right corner.", +"Right eye, bottom boundary.", +"Right eye, left corner.", +"Left eyebrow, upper midpoint.", +"Right eyebrow, upper midpoint.", +"Left ear tragion.", +"Right ear tragion.", +"Left eye pupil.", +"Right eye pupil.", +"Forehead glabella.", +"Chin gnathion.", +"Chin left gonion.", +"Chin right gonion.", +"Left cheek center.", +"Right cheek center." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p2beta1GcsDestination": { +"description": "The Google Cloud Storage location where the output will be written to.", +"id": "GoogleCloudVisionV1p2beta1GcsDestination", +"properties": { +"uri": { +"description": "Google Cloud Storage URI prefix where the results will be stored. Results will be in JSON format and preceded by its corresponding input URI prefix. This field can either represent a gcs file prefix or gcs directory. In either case, the uri should be unique because in order to get all of the output files, you will need to do a wildcard gcs search on the uri prefix you provide. Examples: * File Prefix: gs://bucket-name/here/filenameprefix The output files will be created in gs://bucket-name/here/ and the names of the output files will begin with \"filenameprefix\". * Directory Prefix: gs://bucket-name/some/location/ The output files will be created in gs://bucket-name/some/location/ and the names of the output files could be anything because there was no filename prefix specified. If multiple outputs, each response is still AnnotateFileResponse, each of which contains some subset of the full list of AnnotateImageResponse. Multiple outputs can happen if, for example, the output JSON is too large and overflows into multiple sharded files.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p2beta1GcsSource": { +"description": "The Google Cloud Storage location where the input will be read from.", +"id": "GoogleCloudVisionV1p2beta1GcsSource", +"properties": { +"uri": { +"description": "Google Cloud Storage URI for the input file. This must only be a Google Cloud Storage object. Wildcards are not currently supported.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p2beta1ImageAnnotationContext": { +"description": "If an image was produced from a file (e.g. a PDF), this message gives information about the source of that image.", +"id": "GoogleCloudVisionV1p2beta1ImageAnnotationContext", +"properties": { +"pageNumber": { +"description": "If the file was a PDF or TIFF, this field gives the page number within the file used to produce the image.", +"format": "int32", +"type": "integer" +}, +"uri": { +"description": "The URI of the file used to produce the image.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p2beta1ImageProperties": { +"description": "Stores image properties, such as dominant colors.", +"id": "GoogleCloudVisionV1p2beta1ImageProperties", +"properties": { +"dominantColors": { +"$ref": "GoogleCloudVisionV1p2beta1DominantColorsAnnotation", +"description": "If present, dominant colors completed successfully." +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p2beta1InputConfig": { +"description": "The desired input location and metadata.", +"id": "GoogleCloudVisionV1p2beta1InputConfig", +"properties": { +"content": { +"description": "File content, represented as a stream of bytes. Note: As with all `bytes` fields, protobuffers use a pure binary representation, whereas JSON representations use base64. Currently, this field only works for BatchAnnotateFiles requests. It does not work for AsyncBatchAnnotateFiles requests.", +"format": "byte", +"type": "string" +}, +"gcsSource": { +"$ref": "GoogleCloudVisionV1p2beta1GcsSource", +"description": "The Google Cloud Storage location to read the input from." +}, +"mimeType": { +"description": "The type of the file. Currently only \"application/pdf\", \"image/tiff\" and \"image/gif\" are supported. Wildcards are not supported.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p2beta1LocalizedObjectAnnotation": { +"description": "Set of detected objects with bounding boxes.", +"id": "GoogleCloudVisionV1p2beta1LocalizedObjectAnnotation", +"properties": { +"boundingPoly": { +"$ref": "GoogleCloudVisionV1p2beta1BoundingPoly", +"description": "Image region to which this object belongs. This must be populated." +}, +"languageCode": { +"description": "The BCP-47 language code, such as \"en-US\" or \"sr-Latn\". For more information, see http://www.unicode.org/reports/tr35/#Unicode_locale_identifier.", +"type": "string" +}, +"mid": { +"description": "Object ID that should align with EntityAnnotation mid.", +"type": "string" +}, +"name": { +"description": "Object name, expressed in its `language_code` language.", +"type": "string" +}, +"score": { +"description": "Score of the result. Range [0, 1].", +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p2beta1LocationInfo": { +"description": "Detected entity location information.", +"id": "GoogleCloudVisionV1p2beta1LocationInfo", +"properties": { +"latLng": { +"$ref": "LatLng", +"description": "lat/long location coordinates." +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p2beta1NormalizedVertex": { +"description": "A vertex represents a 2D point in the image. NOTE: the normalized vertex coordinates are relative to the original image and range from 0 to 1.", +"id": "GoogleCloudVisionV1p2beta1NormalizedVertex", +"properties": { +"x": { +"description": "X coordinate.", +"format": "float", +"type": "number" +}, +"y": { +"description": "Y coordinate.", +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p2beta1OperationMetadata": { +"description": "Contains metadata for the BatchAnnotateImages operation.", +"id": "GoogleCloudVisionV1p2beta1OperationMetadata", +"properties": { +"createTime": { +"description": "The time when the batch request was received.", +"format": "google-datetime", +"type": "string" +}, +"state": { +"description": "Current state of the batch operation.", +"enum": [ +"STATE_UNSPECIFIED", +"CREATED", +"RUNNING", +"DONE", +"CANCELLED" +], +"enumDescriptions": [ +"Invalid.", +"Request is received.", +"Request is actively being processed.", +"The batch processing is done.", +"The batch processing was cancelled." +], +"type": "string" +}, +"updateTime": { +"description": "The time when the operation result was last updated.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p2beta1OutputConfig": { +"description": "The desired output location and metadata.", +"id": "GoogleCloudVisionV1p2beta1OutputConfig", +"properties": { +"batchSize": { +"description": "The max number of response protos to put into each output JSON file on Google Cloud Storage. The valid range is [1, 100]. If not specified, the default value is 20. For example, for one pdf file with 100 pages, 100 response protos will be generated. If `batch_size` = 20, then 5 json files each containing 20 response protos will be written under the prefix `gcs_destination`.`uri`. Currently, batch_size only applies to GcsDestination, with potential future support for other output configurations.", +"format": "int32", +"type": "integer" +}, +"gcsDestination": { +"$ref": "GoogleCloudVisionV1p2beta1GcsDestination", +"description": "The Google Cloud Storage location to write the output(s) to." +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p2beta1Page": { +"description": "Detected page from OCR.", +"id": "GoogleCloudVisionV1p2beta1Page", +"properties": { +"blocks": { +"description": "List of blocks of text, images etc on this page.", +"items": { +"$ref": "GoogleCloudVisionV1p2beta1Block" +}, +"type": "array" +}, +"confidence": { +"description": "Confidence of the OCR results on the page. Range [0, 1].", +"format": "float", +"type": "number" +}, +"height": { +"description": "Page height. For PDFs the unit is points. For images (including TIFFs) the unit is pixels.", +"format": "int32", +"type": "integer" +}, +"property": { +"$ref": "GoogleCloudVisionV1p2beta1TextAnnotationTextProperty", +"description": "Additional information detected on the page." +}, +"width": { +"description": "Page width. For PDFs the unit is points. For images (including TIFFs) the unit is pixels.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p2beta1Paragraph": { +"description": "Structural unit of text representing a number of words in certain order.", +"id": "GoogleCloudVisionV1p2beta1Paragraph", +"properties": { +"boundingBox": { +"$ref": "GoogleCloudVisionV1p2beta1BoundingPoly", +"description": "The bounding box for the paragraph. The vertices are in the order of top-left, top-right, bottom-right, bottom-left. When a rotation of the bounding box is detected the rotation is represented as around the top-left corner as defined when the text is read in the 'natural' orientation. For example: * when the text is horizontal it might look like: 0----1 | | 3----2 * when it's rotated 180 degrees around the top-left corner it becomes: 2----3 | | 1----0 and the vertex order will still be (0, 1, 2, 3)." +}, +"confidence": { +"description": "Confidence of the OCR results for the paragraph. Range [0, 1].", +"format": "float", +"type": "number" +}, +"property": { +"$ref": "GoogleCloudVisionV1p2beta1TextAnnotationTextProperty", +"description": "Additional information detected for the paragraph." +}, +"words": { +"description": "List of all words in this paragraph.", +"items": { +"$ref": "GoogleCloudVisionV1p2beta1Word" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p2beta1Position": { +"description": "A 3D position in the image, used primarily for Face detection landmarks. A valid Position must have both x and y coordinates. The position coordinates are in the same scale as the original image.", +"id": "GoogleCloudVisionV1p2beta1Position", +"properties": { +"x": { +"description": "X coordinate.", +"format": "float", +"type": "number" +}, +"y": { +"description": "Y coordinate.", +"format": "float", +"type": "number" +}, +"z": { +"description": "Z coordinate (or depth).", +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p2beta1Product": { +"description": "A Product contains ReferenceImages.", +"id": "GoogleCloudVisionV1p2beta1Product", +"properties": { +"description": { +"description": "User-provided metadata to be stored with this product. Must be at most 4096 characters long.", +"type": "string" +}, +"displayName": { +"description": "The user-provided name for this Product. Must not be empty. Must be at most 4096 characters long.", +"type": "string" +}, +"name": { +"description": "The resource name of the product. Format is: `projects/PROJECT_ID/locations/LOC_ID/products/PRODUCT_ID`. This field is ignored when creating a product.", +"type": "string" +}, +"productCategory": { +"description": "Immutable. The category for the product identified by the reference image. This should be one of \"homegoods-v2\", \"apparel-v2\", \"toys-v2\", \"packagedgoods-v1\" or \"general-v1\". The legacy categories \"homegoods\", \"apparel\", and \"toys\" are still supported, but these should not be used for new products.", +"type": "string" +}, +"productLabels": { +"description": "Key-value pairs that can be attached to a product. At query time, constraints can be specified based on the product_labels. Note that integer values can be provided as strings, e.g. \"1199\". Only strings with integer values can match a range-based restriction which is to be supported soon. Multiple values can be assigned to the same key. One product may have up to 500 product_labels. Notice that the total number of distinct product_labels over all products in one ProductSet cannot exceed 1M, otherwise the product search pipeline will refuse to work for that ProductSet.", +"items": { +"$ref": "GoogleCloudVisionV1p2beta1ProductKeyValue" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p2beta1ProductKeyValue": { +"description": "A product label represented as a key-value pair.", +"id": "GoogleCloudVisionV1p2beta1ProductKeyValue", +"properties": { +"key": { +"description": "The key of the label attached to the product. Cannot be empty and cannot exceed 128 bytes.", +"type": "string" +}, +"value": { +"description": "The value of the label attached to the product. Cannot be empty and cannot exceed 128 bytes.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p2beta1ProductSearchResults": { +"description": "Results for a product search request.", +"id": "GoogleCloudVisionV1p2beta1ProductSearchResults", +"properties": { +"indexTime": { +"description": "Timestamp of the index which provided these results. Products added to the product set and products removed from the product set after this time are not reflected in the current results.", +"format": "google-datetime", +"type": "string" +}, +"productGroupedResults": { +"description": "List of results grouped by products detected in the query image. Each entry corresponds to one bounding polygon in the query image, and contains the matching products specific to that region. There may be duplicate product matches in the union of all the per-product results.", +"items": { +"$ref": "GoogleCloudVisionV1p2beta1ProductSearchResultsGroupedResult" +}, +"type": "array" +}, +"results": { +"description": "List of results, one for each product match.", +"items": { +"$ref": "GoogleCloudVisionV1p2beta1ProductSearchResultsResult" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p2beta1ProductSearchResultsGroupedResult": { +"description": "Information about the products similar to a single product in a query image.", +"id": "GoogleCloudVisionV1p2beta1ProductSearchResultsGroupedResult", +"properties": { +"boundingPoly": { +"$ref": "GoogleCloudVisionV1p2beta1BoundingPoly", +"description": "The bounding polygon around the product detected in the query image." +}, +"objectAnnotations": { +"description": "List of generic predictions for the object in the bounding box.", +"items": { +"$ref": "GoogleCloudVisionV1p2beta1ProductSearchResultsObjectAnnotation" +}, +"type": "array" +}, +"results": { +"description": "List of results, one for each product match.", +"items": { +"$ref": "GoogleCloudVisionV1p2beta1ProductSearchResultsResult" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p2beta1ProductSearchResultsObjectAnnotation": { +"description": "Prediction for what the object in the bounding box is.", +"id": "GoogleCloudVisionV1p2beta1ProductSearchResultsObjectAnnotation", +"properties": { +"languageCode": { +"description": "The BCP-47 language code, such as \"en-US\" or \"sr-Latn\". For more information, see http://www.unicode.org/reports/tr35/#Unicode_locale_identifier.", +"type": "string" +}, +"mid": { +"description": "Object ID that should align with EntityAnnotation mid.", +"type": "string" +}, +"name": { +"description": "Object name, expressed in its `language_code` language.", +"type": "string" +}, +"score": { +"description": "Score of the result. Range [0, 1].", +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p2beta1ProductSearchResultsResult": { +"description": "Information about a product.", +"id": "GoogleCloudVisionV1p2beta1ProductSearchResultsResult", +"properties": { +"image": { +"description": "The resource name of the image from the product that is the closest match to the query.", +"type": "string" +}, +"product": { +"$ref": "GoogleCloudVisionV1p2beta1Product", +"description": "The Product." +}, +"score": { +"description": "A confidence level on the match, ranging from 0 (no confidence) to 1 (full confidence).", +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p2beta1Property": { +"description": "A `Property` consists of a user-supplied name/value pair.", +"id": "GoogleCloudVisionV1p2beta1Property", +"properties": { +"name": { +"description": "Name of the property.", +"type": "string" +}, +"uint64Value": { +"description": "Value of numeric properties.", +"format": "uint64", +"type": "string" +}, +"value": { +"description": "Value of the property.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p2beta1SafeSearchAnnotation": { +"description": "Set of features pertaining to the image, computed by computer vision methods over safe-search verticals (for example, adult, spoof, medical, violence).", +"id": "GoogleCloudVisionV1p2beta1SafeSearchAnnotation", +"properties": { +"adult": { +"description": "Represents the adult content likelihood for the image. Adult content may contain elements such as nudity, pornographic images or cartoons, or sexual activities.", +"enum": [ +"UNKNOWN", +"VERY_UNLIKELY", +"UNLIKELY", +"POSSIBLE", +"LIKELY", +"VERY_LIKELY" +], +"enumDescriptions": [ +"Unknown likelihood.", +"It is very unlikely.", +"It is unlikely.", +"It is possible.", +"It is likely.", +"It is very likely." +], +"type": "string" +}, +"medical": { +"description": "Likelihood that this is a medical image.", +"enum": [ +"UNKNOWN", +"VERY_UNLIKELY", +"UNLIKELY", +"POSSIBLE", +"LIKELY", +"VERY_LIKELY" +], +"enumDescriptions": [ +"Unknown likelihood.", +"It is very unlikely.", +"It is unlikely.", +"It is possible.", +"It is likely.", +"It is very likely." +], +"type": "string" +}, +"racy": { +"description": "Likelihood that the request image contains racy content. Racy content may include (but is not limited to) skimpy or sheer clothing, strategically covered nudity, lewd or provocative poses, or close-ups of sensitive body areas.", +"enum": [ +"UNKNOWN", +"VERY_UNLIKELY", +"UNLIKELY", +"POSSIBLE", +"LIKELY", +"VERY_LIKELY" +], +"enumDescriptions": [ +"Unknown likelihood.", +"It is very unlikely.", +"It is unlikely.", +"It is possible.", +"It is likely.", +"It is very likely." +], +"type": "string" +}, +"spoof": { +"description": "Spoof likelihood. The likelihood that an modification was made to the image's canonical version to make it appear funny or offensive.", +"enum": [ +"UNKNOWN", +"VERY_UNLIKELY", +"UNLIKELY", +"POSSIBLE", +"LIKELY", +"VERY_LIKELY" +], +"enumDescriptions": [ +"Unknown likelihood.", +"It is very unlikely.", +"It is unlikely.", +"It is possible.", +"It is likely.", +"It is very likely." +], +"type": "string" +}, +"violence": { +"description": "Likelihood that this image contains violent content. Violent content may include death, serious harm, or injury to individuals or groups of individuals.", +"enum": [ +"UNKNOWN", +"VERY_UNLIKELY", +"UNLIKELY", +"POSSIBLE", +"LIKELY", +"VERY_LIKELY" +], +"enumDescriptions": [ +"Unknown likelihood.", +"It is very unlikely.", +"It is unlikely.", +"It is possible.", +"It is likely.", +"It is very likely." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p2beta1Symbol": { +"description": "A single symbol representation.", +"id": "GoogleCloudVisionV1p2beta1Symbol", +"properties": { +"boundingBox": { +"$ref": "GoogleCloudVisionV1p2beta1BoundingPoly", +"description": "The bounding box for the symbol. The vertices are in the order of top-left, top-right, bottom-right, bottom-left. When a rotation of the bounding box is detected the rotation is represented as around the top-left corner as defined when the text is read in the 'natural' orientation. For example: * when the text is horizontal it might look like: 0----1 | | 3----2 * when it's rotated 180 degrees around the top-left corner it becomes: 2----3 | | 1----0 and the vertex order will still be (0, 1, 2, 3)." +}, +"confidence": { +"description": "Confidence of the OCR results for the symbol. Range [0, 1].", +"format": "float", +"type": "number" +}, +"property": { +"$ref": "GoogleCloudVisionV1p2beta1TextAnnotationTextProperty", +"description": "Additional information detected for the symbol." +}, +"text": { +"description": "The actual UTF-8 representation of the symbol.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p2beta1TextAnnotation": { +"description": "TextAnnotation contains a structured representation of OCR extracted text. The hierarchy of an OCR extracted text structure is like this: TextAnnotation -> Page -> Block -> Paragraph -> Word -> Symbol Each structural component, starting from Page, may further have their own properties. Properties describe detected languages, breaks etc.. Please refer to the TextAnnotation.TextProperty message definition below for more detail.", +"id": "GoogleCloudVisionV1p2beta1TextAnnotation", +"properties": { +"pages": { +"description": "List of pages detected by OCR.", +"items": { +"$ref": "GoogleCloudVisionV1p2beta1Page" +}, +"type": "array" +}, +"text": { +"description": "UTF-8 text detected on the pages.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p2beta1TextAnnotationDetectedBreak": { +"description": "Detected start or end of a structural component.", +"id": "GoogleCloudVisionV1p2beta1TextAnnotationDetectedBreak", +"properties": { +"isPrefix": { +"description": "True if break prepends the element.", +"type": "boolean" +}, +"type": { +"description": "Detected break type.", +"enum": [ +"UNKNOWN", +"SPACE", +"SURE_SPACE", +"EOL_SURE_SPACE", +"HYPHEN", +"LINE_BREAK" +], +"enumDescriptions": [ +"Unknown break label type.", +"Regular space.", +"Sure space (very wide).", +"Line-wrapping break.", +"End-line hyphen that is not present in text; does not co-occur with `SPACE`, `LEADER_SPACE`, or `LINE_BREAK`.", +"Line break that ends a paragraph." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p2beta1TextAnnotationDetectedLanguage": { +"description": "Detected language for a structural component.", +"id": "GoogleCloudVisionV1p2beta1TextAnnotationDetectedLanguage", +"properties": { +"confidence": { +"description": "Confidence of detected language. Range [0, 1].", +"format": "float", +"type": "number" +}, +"languageCode": { +"description": "The BCP-47 language code, such as \"en-US\" or \"sr-Latn\". For more information, see http://www.unicode.org/reports/tr35/#Unicode_locale_identifier.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p2beta1TextAnnotationTextProperty": { +"description": "Additional information detected on the structural component.", +"id": "GoogleCloudVisionV1p2beta1TextAnnotationTextProperty", +"properties": { +"detectedBreak": { +"$ref": "GoogleCloudVisionV1p2beta1TextAnnotationDetectedBreak", +"description": "Detected start or end of a text segment." +}, +"detectedLanguages": { +"description": "A list of detected languages together with confidence.", +"items": { +"$ref": "GoogleCloudVisionV1p2beta1TextAnnotationDetectedLanguage" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p2beta1Vertex": { +"description": "A vertex represents a 2D point in the image. NOTE: the vertex coordinates are in the same scale as the original image.", +"id": "GoogleCloudVisionV1p2beta1Vertex", +"properties": { +"x": { +"description": "X coordinate.", +"format": "int32", +"type": "integer" +}, +"y": { +"description": "Y coordinate.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p2beta1WebDetection": { +"description": "Relevant information for the image from the Internet.", +"id": "GoogleCloudVisionV1p2beta1WebDetection", +"properties": { +"bestGuessLabels": { +"description": "The service's best guess as to the topic of the request image. Inferred from similar images on the open web.", +"items": { +"$ref": "GoogleCloudVisionV1p2beta1WebDetectionWebLabel" +}, +"type": "array" +}, +"fullMatchingImages": { +"description": "Fully matching images from the Internet. Can include resized copies of the query image.", +"items": { +"$ref": "GoogleCloudVisionV1p2beta1WebDetectionWebImage" +}, +"type": "array" +}, +"pagesWithMatchingImages": { +"description": "Web pages containing the matching images from the Internet.", +"items": { +"$ref": "GoogleCloudVisionV1p2beta1WebDetectionWebPage" +}, +"type": "array" +}, +"partialMatchingImages": { +"description": "Partial matching images from the Internet. Those images are similar enough to share some key-point features. For example an original image will likely have partial matching for its crops.", +"items": { +"$ref": "GoogleCloudVisionV1p2beta1WebDetectionWebImage" +}, +"type": "array" +}, +"visuallySimilarImages": { +"description": "The visually similar image results.", +"items": { +"$ref": "GoogleCloudVisionV1p2beta1WebDetectionWebImage" +}, +"type": "array" +}, +"webEntities": { +"description": "Deduced entities from similar images on the Internet.", +"items": { +"$ref": "GoogleCloudVisionV1p2beta1WebDetectionWebEntity" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p2beta1WebDetectionWebEntity": { +"description": "Entity deduced from similar images on the Internet.", +"id": "GoogleCloudVisionV1p2beta1WebDetectionWebEntity", +"properties": { +"description": { +"description": "Canonical description of the entity, in English.", +"type": "string" +}, +"entityId": { +"description": "Opaque entity ID.", +"type": "string" +}, +"score": { +"description": "Overall relevancy score for the entity. Not normalized and not comparable across different image queries.", +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p2beta1WebDetectionWebImage": { +"description": "Metadata for online images.", +"id": "GoogleCloudVisionV1p2beta1WebDetectionWebImage", +"properties": { +"score": { +"description": "(Deprecated) Overall relevancy score for the image.", +"format": "float", +"type": "number" +}, +"url": { +"description": "The result image URL.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p2beta1WebDetectionWebLabel": { +"description": "Label to provide extra metadata for the web detection.", +"id": "GoogleCloudVisionV1p2beta1WebDetectionWebLabel", +"properties": { +"label": { +"description": "Label for extra metadata.", +"type": "string" +}, +"languageCode": { +"description": "The BCP-47 language code for `label`, such as \"en-US\" or \"sr-Latn\". For more information, see http://www.unicode.org/reports/tr35/#Unicode_locale_identifier.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p2beta1WebDetectionWebPage": { +"description": "Metadata for web pages.", +"id": "GoogleCloudVisionV1p2beta1WebDetectionWebPage", +"properties": { +"fullMatchingImages": { +"description": "Fully matching images on the page. Can include resized copies of the query image.", +"items": { +"$ref": "GoogleCloudVisionV1p2beta1WebDetectionWebImage" +}, +"type": "array" +}, +"pageTitle": { +"description": "Title for the web page, may contain HTML markups.", +"type": "string" +}, +"partialMatchingImages": { +"description": "Partial matching images on the page. Those images are similar enough to share some key-point features. For example an original image will likely have partial matching for its crops.", +"items": { +"$ref": "GoogleCloudVisionV1p2beta1WebDetectionWebImage" +}, +"type": "array" +}, +"score": { +"description": "(Deprecated) Overall relevancy score for the web page.", +"format": "float", +"type": "number" +}, +"url": { +"description": "The result web page URL.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p2beta1Word": { +"description": "A word representation.", +"id": "GoogleCloudVisionV1p2beta1Word", +"properties": { +"boundingBox": { +"$ref": "GoogleCloudVisionV1p2beta1BoundingPoly", +"description": "The bounding box for the word. The vertices are in the order of top-left, top-right, bottom-right, bottom-left. When a rotation of the bounding box is detected the rotation is represented as around the top-left corner as defined when the text is read in the 'natural' orientation. For example: * when the text is horizontal it might look like: 0----1 | | 3----2 * when it's rotated 180 degrees around the top-left corner it becomes: 2----3 | | 1----0 and the vertex order will still be (0, 1, 2, 3)." +}, +"confidence": { +"description": "Confidence of the OCR results for the word. Range [0, 1].", +"format": "float", +"type": "number" +}, +"property": { +"$ref": "GoogleCloudVisionV1p2beta1TextAnnotationTextProperty", +"description": "Additional information detected for the word." +}, +"symbols": { +"description": "List of symbols in the word. The order of the symbols follows the natural reading order.", +"items": { +"$ref": "GoogleCloudVisionV1p2beta1Symbol" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p3beta1AnnotateFileResponse": { +"description": "Response to a single file annotation request. A file may contain one or more images, which individually have their own responses.", +"id": "GoogleCloudVisionV1p3beta1AnnotateFileResponse", +"properties": { +"error": { +"$ref": "Status", +"description": "If set, represents the error message for the failed request. The `responses` field will not be set in this case." +}, +"inputConfig": { +"$ref": "GoogleCloudVisionV1p3beta1InputConfig", +"description": "Information about the file for which this response is generated." +}, +"responses": { +"description": "Individual responses to images found within the file. This field will be empty if the `error` field is set.", +"items": { +"$ref": "GoogleCloudVisionV1p3beta1AnnotateImageResponse" +}, +"type": "array" +}, +"totalPages": { +"description": "This field gives the total number of pages in the file.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p3beta1AnnotateImageResponse": { +"description": "Response to an image annotation request.", +"id": "GoogleCloudVisionV1p3beta1AnnotateImageResponse", +"properties": { +"context": { +"$ref": "GoogleCloudVisionV1p3beta1ImageAnnotationContext", +"description": "If present, contextual information is needed to understand where this image comes from." +}, +"cropHintsAnnotation": { +"$ref": "GoogleCloudVisionV1p3beta1CropHintsAnnotation", +"description": "If present, crop hints have completed successfully." +}, +"error": { +"$ref": "Status", +"description": "If set, represents the error message for the operation. Note that filled-in image annotations are guaranteed to be correct, even when `error` is set." +}, +"faceAnnotations": { +"description": "If present, face detection has completed successfully.", +"items": { +"$ref": "GoogleCloudVisionV1p3beta1FaceAnnotation" +}, +"type": "array" +}, +"fullTextAnnotation": { +"$ref": "GoogleCloudVisionV1p3beta1TextAnnotation", +"description": "If present, text (OCR) detection or document (OCR) text detection has completed successfully. This annotation provides the structural hierarchy for the OCR detected text." +}, +"imagePropertiesAnnotation": { +"$ref": "GoogleCloudVisionV1p3beta1ImageProperties", +"description": "If present, image properties were extracted successfully." +}, +"labelAnnotations": { +"description": "If present, label detection has completed successfully.", +"items": { +"$ref": "GoogleCloudVisionV1p3beta1EntityAnnotation" +}, +"type": "array" +}, +"landmarkAnnotations": { +"description": "If present, landmark detection has completed successfully.", +"items": { +"$ref": "GoogleCloudVisionV1p3beta1EntityAnnotation" +}, +"type": "array" +}, +"localizedObjectAnnotations": { +"description": "If present, localized object detection has completed successfully. This will be sorted descending by confidence score.", +"items": { +"$ref": "GoogleCloudVisionV1p3beta1LocalizedObjectAnnotation" +}, +"type": "array" +}, +"logoAnnotations": { +"description": "If present, logo detection has completed successfully.", +"items": { +"$ref": "GoogleCloudVisionV1p3beta1EntityAnnotation" +}, +"type": "array" +}, +"productSearchResults": { +"$ref": "GoogleCloudVisionV1p3beta1ProductSearchResults", +"description": "If present, product search has completed successfully." +}, +"safeSearchAnnotation": { +"$ref": "GoogleCloudVisionV1p3beta1SafeSearchAnnotation", +"description": "If present, safe-search annotation has completed successfully." +}, +"textAnnotations": { +"description": "If present, text (OCR) detection has completed successfully.", +"items": { +"$ref": "GoogleCloudVisionV1p3beta1EntityAnnotation" +}, +"type": "array" +}, +"webDetection": { +"$ref": "GoogleCloudVisionV1p3beta1WebDetection", +"description": "If present, web detection has completed successfully." +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p3beta1AsyncAnnotateFileResponse": { +"description": "The response for a single offline file annotation request.", +"id": "GoogleCloudVisionV1p3beta1AsyncAnnotateFileResponse", +"properties": { +"outputConfig": { +"$ref": "GoogleCloudVisionV1p3beta1OutputConfig", +"description": "The output location and metadata from AsyncAnnotateFileRequest." +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p3beta1AsyncBatchAnnotateFilesResponse": { +"description": "Response to an async batch file annotation request.", +"id": "GoogleCloudVisionV1p3beta1AsyncBatchAnnotateFilesResponse", +"properties": { +"responses": { +"description": "The list of file annotation responses, one for each request in AsyncBatchAnnotateFilesRequest.", +"items": { +"$ref": "GoogleCloudVisionV1p3beta1AsyncAnnotateFileResponse" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p3beta1BatchOperationMetadata": { +"description": "Metadata for the batch operations such as the current state. This is included in the `metadata` field of the `Operation` returned by the `GetOperation` call of the `google::longrunning::Operations` service.", +"id": "GoogleCloudVisionV1p3beta1BatchOperationMetadata", +"properties": { +"endTime": { +"description": "The time when the batch request is finished and google.longrunning.Operation.done is set to true.", +"format": "google-datetime", +"type": "string" +}, +"state": { +"description": "The current state of the batch operation.", +"enum": [ +"STATE_UNSPECIFIED", +"PROCESSING", +"SUCCESSFUL", +"FAILED", +"CANCELLED" +], +"enumDescriptions": [ +"Invalid.", +"Request is actively being processed.", +"The request is done and at least one item has been successfully processed.", +"The request is done and no item has been successfully processed.", +"The request is done after the longrunning.Operations.CancelOperation has been called by the user. Any records that were processed before the cancel command are output as specified in the request." +], +"type": "string" +}, +"submitTime": { +"description": "The time when the batch request was submitted to the server.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p3beta1Block": { +"description": "Logical element on the page.", +"id": "GoogleCloudVisionV1p3beta1Block", +"properties": { +"blockType": { +"description": "Detected block type (text, image etc) for this block.", +"enum": [ +"UNKNOWN", +"TEXT", +"TABLE", +"PICTURE", +"RULER", +"BARCODE" +], +"enumDescriptions": [ +"Unknown block type.", +"Regular text block.", +"Table block.", +"Image block.", +"Horizontal/vertical line box.", +"Barcode block." +], +"type": "string" +}, +"boundingBox": { +"$ref": "GoogleCloudVisionV1p3beta1BoundingPoly", +"description": "The bounding box for the block. The vertices are in the order of top-left, top-right, bottom-right, bottom-left. When a rotation of the bounding box is detected the rotation is represented as around the top-left corner as defined when the text is read in the 'natural' orientation. For example: * when the text is horizontal it might look like: 0----1 | | 3----2 * when it's rotated 180 degrees around the top-left corner it becomes: 2----3 | | 1----0 and the vertex order will still be (0, 1, 2, 3)." +}, +"confidence": { +"description": "Confidence of the OCR results on the block. Range [0, 1].", +"format": "float", +"type": "number" +}, +"paragraphs": { +"description": "List of paragraphs in this block (if this blocks is of type text).", +"items": { +"$ref": "GoogleCloudVisionV1p3beta1Paragraph" +}, +"type": "array" +}, +"property": { +"$ref": "GoogleCloudVisionV1p3beta1TextAnnotationTextProperty", +"description": "Additional information detected for the block." +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p3beta1BoundingPoly": { +"description": "A bounding polygon for the detected image annotation.", +"id": "GoogleCloudVisionV1p3beta1BoundingPoly", +"properties": { +"normalizedVertices": { +"description": "The bounding polygon normalized vertices.", +"items": { +"$ref": "GoogleCloudVisionV1p3beta1NormalizedVertex" +}, +"type": "array" +}, +"vertices": { +"description": "The bounding polygon vertices.", +"items": { +"$ref": "GoogleCloudVisionV1p3beta1Vertex" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p3beta1ColorInfo": { +"description": "Color information consists of RGB channels, score, and the fraction of the image that the color occupies in the image.", +"id": "GoogleCloudVisionV1p3beta1ColorInfo", +"properties": { +"color": { +"$ref": "Color", +"description": "RGB components of the color." +}, +"pixelFraction": { +"description": "The fraction of pixels the color occupies in the image. Value in range [0, 1].", +"format": "float", +"type": "number" +}, +"score": { +"description": "Image-specific score for this color. Value in range [0, 1].", +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p3beta1CropHint": { +"description": "Single crop hint that is used to generate a new crop when serving an image.", +"id": "GoogleCloudVisionV1p3beta1CropHint", +"properties": { +"boundingPoly": { +"$ref": "GoogleCloudVisionV1p3beta1BoundingPoly", +"description": "The bounding polygon for the crop region. The coordinates of the bounding box are in the original image's scale." +}, +"confidence": { +"description": "Confidence of this being a salient region. Range [0, 1].", +"format": "float", +"type": "number" +}, +"importanceFraction": { +"description": "Fraction of importance of this salient region with respect to the original image.", +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p3beta1CropHintsAnnotation": { +"description": "Set of crop hints that are used to generate new crops when serving images.", +"id": "GoogleCloudVisionV1p3beta1CropHintsAnnotation", +"properties": { +"cropHints": { +"description": "Crop hint results.", +"items": { +"$ref": "GoogleCloudVisionV1p3beta1CropHint" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p3beta1DominantColorsAnnotation": { +"description": "Set of dominant colors and their corresponding scores.", +"id": "GoogleCloudVisionV1p3beta1DominantColorsAnnotation", +"properties": { +"colors": { +"description": "RGB color values with their score and pixel fraction.", +"items": { +"$ref": "GoogleCloudVisionV1p3beta1ColorInfo" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p3beta1EntityAnnotation": { +"description": "Set of detected entity features.", +"id": "GoogleCloudVisionV1p3beta1EntityAnnotation", +"properties": { +"boundingPoly": { +"$ref": "GoogleCloudVisionV1p3beta1BoundingPoly", +"description": "Image region to which this entity belongs. Not produced for `LABEL_DETECTION` features." +}, +"confidence": { +"deprecated": true, +"description": "**Deprecated. Use `score` instead.** The accuracy of the entity detection in an image. For example, for an image in which the \"Eiffel Tower\" entity is detected, this field represents the confidence that there is a tower in the query image. Range [0, 1].", +"format": "float", +"type": "number" +}, +"description": { +"description": "Entity textual description, expressed in its `locale` language.", +"type": "string" +}, +"locale": { +"description": "The language code for the locale in which the entity textual `description` is expressed.", +"type": "string" +}, +"locations": { +"description": "The location information for the detected entity. Multiple `LocationInfo` elements can be present because one location may indicate the location of the scene in the image, and another location may indicate the location of the place where the image was taken. Location information is usually present for landmarks.", +"items": { +"$ref": "GoogleCloudVisionV1p3beta1LocationInfo" +}, +"type": "array" +}, +"mid": { +"description": "Opaque entity ID. Some IDs may be available in [Google Knowledge Graph Search API](https://developers.google.com/knowledge-graph/).", +"type": "string" +}, +"properties": { +"description": "Some entities may have optional user-supplied `Property` (name/value) fields, such a score or string that qualifies the entity.", +"items": { +"$ref": "GoogleCloudVisionV1p3beta1Property" +}, +"type": "array" +}, +"score": { +"description": "Overall score of the result. Range [0, 1].", +"format": "float", +"type": "number" +}, +"topicality": { +"description": "The relevancy of the ICA (Image Content Annotation) label to the image. For example, the relevancy of \"tower\" is likely higher to an image containing the detected \"Eiffel Tower\" than to an image containing a detected distant towering building, even though the confidence that there is a tower in each image may be the same. Range [0, 1].", +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p3beta1FaceAnnotation": { +"description": "A face annotation object contains the results of face detection.", +"id": "GoogleCloudVisionV1p3beta1FaceAnnotation", +"properties": { +"angerLikelihood": { +"description": "Anger likelihood.", +"enum": [ +"UNKNOWN", +"VERY_UNLIKELY", +"UNLIKELY", +"POSSIBLE", +"LIKELY", +"VERY_LIKELY" +], +"enumDescriptions": [ +"Unknown likelihood.", +"It is very unlikely.", +"It is unlikely.", +"It is possible.", +"It is likely.", +"It is very likely." +], +"type": "string" +}, +"blurredLikelihood": { +"description": "Blurred likelihood.", +"enum": [ +"UNKNOWN", +"VERY_UNLIKELY", +"UNLIKELY", +"POSSIBLE", +"LIKELY", +"VERY_LIKELY" +], +"enumDescriptions": [ +"Unknown likelihood.", +"It is very unlikely.", +"It is unlikely.", +"It is possible.", +"It is likely.", +"It is very likely." +], +"type": "string" +}, +"boundingPoly": { +"$ref": "GoogleCloudVisionV1p3beta1BoundingPoly", +"description": "The bounding polygon around the face. The coordinates of the bounding box are in the original image's scale. The bounding box is computed to \"frame\" the face in accordance with human expectations. It is based on the landmarker results. Note that one or more x and/or y coordinates may not be generated in the `BoundingPoly` (the polygon will be unbounded) if only a partial face appears in the image to be annotated." +}, +"detectionConfidence": { +"description": "Detection confidence. Range [0, 1].", +"format": "float", +"type": "number" +}, +"fdBoundingPoly": { +"$ref": "GoogleCloudVisionV1p3beta1BoundingPoly", +"description": "The `fd_bounding_poly` bounding polygon is tighter than the `boundingPoly`, and encloses only the skin part of the face. Typically, it is used to eliminate the face from any image analysis that detects the \"amount of skin\" visible in an image. It is not based on the landmarker results, only on the initial face detection, hence the fd (face detection) prefix." +}, +"headwearLikelihood": { +"description": "Headwear likelihood.", +"enum": [ +"UNKNOWN", +"VERY_UNLIKELY", +"UNLIKELY", +"POSSIBLE", +"LIKELY", +"VERY_LIKELY" +], +"enumDescriptions": [ +"Unknown likelihood.", +"It is very unlikely.", +"It is unlikely.", +"It is possible.", +"It is likely.", +"It is very likely." +], +"type": "string" +}, +"joyLikelihood": { +"description": "Joy likelihood.", +"enum": [ +"UNKNOWN", +"VERY_UNLIKELY", +"UNLIKELY", +"POSSIBLE", +"LIKELY", +"VERY_LIKELY" +], +"enumDescriptions": [ +"Unknown likelihood.", +"It is very unlikely.", +"It is unlikely.", +"It is possible.", +"It is likely.", +"It is very likely." +], +"type": "string" +}, +"landmarkingConfidence": { +"description": "Face landmarking confidence. Range [0, 1].", +"format": "float", +"type": "number" +}, +"landmarks": { +"description": "Detected face landmarks.", +"items": { +"$ref": "GoogleCloudVisionV1p3beta1FaceAnnotationLandmark" +}, +"type": "array" +}, +"panAngle": { +"description": "Yaw angle, which indicates the leftward/rightward angle that the face is pointing relative to the vertical plane perpendicular to the image. Range [-180,180].", +"format": "float", +"type": "number" +}, +"rollAngle": { +"description": "Roll angle, which indicates the amount of clockwise/anti-clockwise rotation of the face relative to the image vertical about the axis perpendicular to the face. Range [-180,180].", +"format": "float", +"type": "number" +}, +"sorrowLikelihood": { +"description": "Sorrow likelihood.", +"enum": [ +"UNKNOWN", +"VERY_UNLIKELY", +"UNLIKELY", +"POSSIBLE", +"LIKELY", +"VERY_LIKELY" +], +"enumDescriptions": [ +"Unknown likelihood.", +"It is very unlikely.", +"It is unlikely.", +"It is possible.", +"It is likely.", +"It is very likely." +], +"type": "string" +}, +"surpriseLikelihood": { +"description": "Surprise likelihood.", +"enum": [ +"UNKNOWN", +"VERY_UNLIKELY", +"UNLIKELY", +"POSSIBLE", +"LIKELY", +"VERY_LIKELY" +], +"enumDescriptions": [ +"Unknown likelihood.", +"It is very unlikely.", +"It is unlikely.", +"It is possible.", +"It is likely.", +"It is very likely." +], +"type": "string" +}, +"tiltAngle": { +"description": "Pitch angle, which indicates the upwards/downwards angle that the face is pointing relative to the image's horizontal plane. Range [-180,180].", +"format": "float", +"type": "number" +}, +"underExposedLikelihood": { +"description": "Under-exposed likelihood.", +"enum": [ +"UNKNOWN", +"VERY_UNLIKELY", +"UNLIKELY", +"POSSIBLE", +"LIKELY", +"VERY_LIKELY" +], +"enumDescriptions": [ +"Unknown likelihood.", +"It is very unlikely.", +"It is unlikely.", +"It is possible.", +"It is likely.", +"It is very likely." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p3beta1FaceAnnotationLandmark": { +"description": "A face-specific landmark (for example, a face feature). Landmark positions may fall outside the bounds of the image if the face is near one or more edges of the image. Therefore it is NOT guaranteed that `0 <= x < width` or `0 <= y < height`.", +"id": "GoogleCloudVisionV1p3beta1FaceAnnotationLandmark", +"properties": { +"position": { +"$ref": "GoogleCloudVisionV1p3beta1Position", +"description": "Face landmark position." +}, +"type": { +"description": "Face landmark type.", +"enum": [ +"UNKNOWN_LANDMARK", +"LEFT_EYE", +"RIGHT_EYE", +"LEFT_OF_LEFT_EYEBROW", +"RIGHT_OF_LEFT_EYEBROW", +"LEFT_OF_RIGHT_EYEBROW", +"RIGHT_OF_RIGHT_EYEBROW", +"MIDPOINT_BETWEEN_EYES", +"NOSE_TIP", +"UPPER_LIP", +"LOWER_LIP", +"MOUTH_LEFT", +"MOUTH_RIGHT", +"MOUTH_CENTER", +"NOSE_BOTTOM_RIGHT", +"NOSE_BOTTOM_LEFT", +"NOSE_BOTTOM_CENTER", +"LEFT_EYE_TOP_BOUNDARY", +"LEFT_EYE_RIGHT_CORNER", +"LEFT_EYE_BOTTOM_BOUNDARY", +"LEFT_EYE_LEFT_CORNER", +"RIGHT_EYE_TOP_BOUNDARY", +"RIGHT_EYE_RIGHT_CORNER", +"RIGHT_EYE_BOTTOM_BOUNDARY", +"RIGHT_EYE_LEFT_CORNER", +"LEFT_EYEBROW_UPPER_MIDPOINT", +"RIGHT_EYEBROW_UPPER_MIDPOINT", +"LEFT_EAR_TRAGION", +"RIGHT_EAR_TRAGION", +"LEFT_EYE_PUPIL", +"RIGHT_EYE_PUPIL", +"FOREHEAD_GLABELLA", +"CHIN_GNATHION", +"CHIN_LEFT_GONION", +"CHIN_RIGHT_GONION", +"LEFT_CHEEK_CENTER", +"RIGHT_CHEEK_CENTER" +], +"enumDescriptions": [ +"Unknown face landmark detected. Should not be filled.", +"Left eye.", +"Right eye.", +"Left of left eyebrow.", +"Right of left eyebrow.", +"Left of right eyebrow.", +"Right of right eyebrow.", +"Midpoint between eyes.", +"Nose tip.", +"Upper lip.", +"Lower lip.", +"Mouth left.", +"Mouth right.", +"Mouth center.", +"Nose, bottom right.", +"Nose, bottom left.", +"Nose, bottom center.", +"Left eye, top boundary.", +"Left eye, right corner.", +"Left eye, bottom boundary.", +"Left eye, left corner.", +"Right eye, top boundary.", +"Right eye, right corner.", +"Right eye, bottom boundary.", +"Right eye, left corner.", +"Left eyebrow, upper midpoint.", +"Right eyebrow, upper midpoint.", +"Left ear tragion.", +"Right ear tragion.", +"Left eye pupil.", +"Right eye pupil.", +"Forehead glabella.", +"Chin gnathion.", +"Chin left gonion.", +"Chin right gonion.", +"Left cheek center.", +"Right cheek center." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p3beta1GcsDestination": { +"description": "The Google Cloud Storage location where the output will be written to.", +"id": "GoogleCloudVisionV1p3beta1GcsDestination", +"properties": { +"uri": { +"description": "Google Cloud Storage URI prefix where the results will be stored. Results will be in JSON format and preceded by its corresponding input URI prefix. This field can either represent a gcs file prefix or gcs directory. In either case, the uri should be unique because in order to get all of the output files, you will need to do a wildcard gcs search on the uri prefix you provide. Examples: * File Prefix: gs://bucket-name/here/filenameprefix The output files will be created in gs://bucket-name/here/ and the names of the output files will begin with \"filenameprefix\". * Directory Prefix: gs://bucket-name/some/location/ The output files will be created in gs://bucket-name/some/location/ and the names of the output files could be anything because there was no filename prefix specified. If multiple outputs, each response is still AnnotateFileResponse, each of which contains some subset of the full list of AnnotateImageResponse. Multiple outputs can happen if, for example, the output JSON is too large and overflows into multiple sharded files.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p3beta1GcsSource": { +"description": "The Google Cloud Storage location where the input will be read from.", +"id": "GoogleCloudVisionV1p3beta1GcsSource", +"properties": { +"uri": { +"description": "Google Cloud Storage URI for the input file. This must only be a Google Cloud Storage object. Wildcards are not currently supported.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p3beta1ImageAnnotationContext": { +"description": "If an image was produced from a file (e.g. a PDF), this message gives information about the source of that image.", +"id": "GoogleCloudVisionV1p3beta1ImageAnnotationContext", +"properties": { +"pageNumber": { +"description": "If the file was a PDF or TIFF, this field gives the page number within the file used to produce the image.", +"format": "int32", +"type": "integer" +}, +"uri": { +"description": "The URI of the file used to produce the image.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p3beta1ImageProperties": { +"description": "Stores image properties, such as dominant colors.", +"id": "GoogleCloudVisionV1p3beta1ImageProperties", +"properties": { +"dominantColors": { +"$ref": "GoogleCloudVisionV1p3beta1DominantColorsAnnotation", +"description": "If present, dominant colors completed successfully." +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p3beta1ImportProductSetsResponse": { +"description": "Response message for the `ImportProductSets` method. This message is returned by the google.longrunning.Operations.GetOperation method in the returned google.longrunning.Operation.response field.", +"id": "GoogleCloudVisionV1p3beta1ImportProductSetsResponse", +"properties": { +"referenceImages": { +"description": "The list of reference_images that are imported successfully.", +"items": { +"$ref": "GoogleCloudVisionV1p3beta1ReferenceImage" +}, +"type": "array" +}, +"statuses": { +"description": "The rpc status for each ImportProductSet request, including both successes and errors. The number of statuses here matches the number of lines in the csv file, and statuses[i] stores the success or failure status of processing the i-th line of the csv, starting from line 0.", +"items": { +"$ref": "Status" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p3beta1InputConfig": { +"description": "The desired input location and metadata.", +"id": "GoogleCloudVisionV1p3beta1InputConfig", +"properties": { +"content": { +"description": "File content, represented as a stream of bytes. Note: As with all `bytes` fields, protobuffers use a pure binary representation, whereas JSON representations use base64. Currently, this field only works for BatchAnnotateFiles requests. It does not work for AsyncBatchAnnotateFiles requests.", +"format": "byte", +"type": "string" +}, +"gcsSource": { +"$ref": "GoogleCloudVisionV1p3beta1GcsSource", +"description": "The Google Cloud Storage location to read the input from." +}, +"mimeType": { +"description": "The type of the file. Currently only \"application/pdf\", \"image/tiff\" and \"image/gif\" are supported. Wildcards are not supported.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p3beta1LocalizedObjectAnnotation": { +"description": "Set of detected objects with bounding boxes.", +"id": "GoogleCloudVisionV1p3beta1LocalizedObjectAnnotation", +"properties": { +"boundingPoly": { +"$ref": "GoogleCloudVisionV1p3beta1BoundingPoly", +"description": "Image region to which this object belongs. This must be populated." +}, +"languageCode": { +"description": "The BCP-47 language code, such as \"en-US\" or \"sr-Latn\". For more information, see http://www.unicode.org/reports/tr35/#Unicode_locale_identifier.", +"type": "string" +}, +"mid": { +"description": "Object ID that should align with EntityAnnotation mid.", +"type": "string" +}, +"name": { +"description": "Object name, expressed in its `language_code` language.", +"type": "string" +}, +"score": { +"description": "Score of the result. Range [0, 1].", +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p3beta1LocationInfo": { +"description": "Detected entity location information.", +"id": "GoogleCloudVisionV1p3beta1LocationInfo", +"properties": { +"latLng": { +"$ref": "LatLng", +"description": "lat/long location coordinates." +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p3beta1NormalizedVertex": { +"description": "A vertex represents a 2D point in the image. NOTE: the normalized vertex coordinates are relative to the original image and range from 0 to 1.", +"id": "GoogleCloudVisionV1p3beta1NormalizedVertex", +"properties": { +"x": { +"description": "X coordinate.", +"format": "float", +"type": "number" +}, +"y": { +"description": "Y coordinate.", +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p3beta1OperationMetadata": { +"description": "Contains metadata for the BatchAnnotateImages operation.", +"id": "GoogleCloudVisionV1p3beta1OperationMetadata", +"properties": { +"createTime": { +"description": "The time when the batch request was received.", +"format": "google-datetime", +"type": "string" +}, +"state": { +"description": "Current state of the batch operation.", +"enum": [ +"STATE_UNSPECIFIED", +"CREATED", +"RUNNING", +"DONE", +"CANCELLED" +], +"enumDescriptions": [ +"Invalid.", +"Request is received.", +"Request is actively being processed.", +"The batch processing is done.", +"The batch processing was cancelled." +], +"type": "string" +}, +"updateTime": { +"description": "The time when the operation result was last updated.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p3beta1OutputConfig": { +"description": "The desired output location and metadata.", +"id": "GoogleCloudVisionV1p3beta1OutputConfig", +"properties": { +"batchSize": { +"description": "The max number of response protos to put into each output JSON file on Google Cloud Storage. The valid range is [1, 100]. If not specified, the default value is 20. For example, for one pdf file with 100 pages, 100 response protos will be generated. If `batch_size` = 20, then 5 json files each containing 20 response protos will be written under the prefix `gcs_destination`.`uri`. Currently, batch_size only applies to GcsDestination, with potential future support for other output configurations.", +"format": "int32", +"type": "integer" +}, +"gcsDestination": { +"$ref": "GoogleCloudVisionV1p3beta1GcsDestination", +"description": "The Google Cloud Storage location to write the output(s) to." +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p3beta1Page": { +"description": "Detected page from OCR.", +"id": "GoogleCloudVisionV1p3beta1Page", +"properties": { +"blocks": { +"description": "List of blocks of text, images etc on this page.", +"items": { +"$ref": "GoogleCloudVisionV1p3beta1Block" +}, +"type": "array" +}, +"confidence": { +"description": "Confidence of the OCR results on the page. Range [0, 1].", +"format": "float", +"type": "number" +}, +"height": { +"description": "Page height. For PDFs the unit is points. For images (including TIFFs) the unit is pixels.", +"format": "int32", +"type": "integer" +}, +"property": { +"$ref": "GoogleCloudVisionV1p3beta1TextAnnotationTextProperty", +"description": "Additional information detected on the page." +}, +"width": { +"description": "Page width. For PDFs the unit is points. For images (including TIFFs) the unit is pixels.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p3beta1Paragraph": { +"description": "Structural unit of text representing a number of words in certain order.", +"id": "GoogleCloudVisionV1p3beta1Paragraph", +"properties": { +"boundingBox": { +"$ref": "GoogleCloudVisionV1p3beta1BoundingPoly", +"description": "The bounding box for the paragraph. The vertices are in the order of top-left, top-right, bottom-right, bottom-left. When a rotation of the bounding box is detected the rotation is represented as around the top-left corner as defined when the text is read in the 'natural' orientation. For example: * when the text is horizontal it might look like: 0----1 | | 3----2 * when it's rotated 180 degrees around the top-left corner it becomes: 2----3 | | 1----0 and the vertex order will still be (0, 1, 2, 3)." +}, +"confidence": { +"description": "Confidence of the OCR results for the paragraph. Range [0, 1].", +"format": "float", +"type": "number" +}, +"property": { +"$ref": "GoogleCloudVisionV1p3beta1TextAnnotationTextProperty", +"description": "Additional information detected for the paragraph." +}, +"words": { +"description": "List of all words in this paragraph.", +"items": { +"$ref": "GoogleCloudVisionV1p3beta1Word" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p3beta1Position": { +"description": "A 3D position in the image, used primarily for Face detection landmarks. A valid Position must have both x and y coordinates. The position coordinates are in the same scale as the original image.", +"id": "GoogleCloudVisionV1p3beta1Position", +"properties": { +"x": { +"description": "X coordinate.", +"format": "float", +"type": "number" +}, +"y": { +"description": "Y coordinate.", +"format": "float", +"type": "number" +}, +"z": { +"description": "Z coordinate (or depth).", +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p3beta1Product": { +"description": "A Product contains ReferenceImages.", +"id": "GoogleCloudVisionV1p3beta1Product", +"properties": { +"description": { +"description": "User-provided metadata to be stored with this product. Must be at most 4096 characters long.", +"type": "string" +}, +"displayName": { +"description": "The user-provided name for this Product. Must not be empty. Must be at most 4096 characters long.", +"type": "string" +}, +"name": { +"description": "The resource name of the product. Format is: `projects/PROJECT_ID/locations/LOC_ID/products/PRODUCT_ID`. This field is ignored when creating a product.", +"type": "string" +}, +"productCategory": { +"description": "Immutable. The category for the product identified by the reference image. This should be one of \"homegoods-v2\", \"apparel-v2\", \"toys-v2\", \"packagedgoods-v1\" or \"general-v1\". The legacy categories \"homegoods\", \"apparel\", and \"toys\" are still supported, but these should not be used for new products.", +"type": "string" +}, +"productLabels": { +"description": "Key-value pairs that can be attached to a product. At query time, constraints can be specified based on the product_labels. Note that integer values can be provided as strings, e.g. \"1199\". Only strings with integer values can match a range-based restriction which is to be supported soon. Multiple values can be assigned to the same key. One product may have up to 500 product_labels. Notice that the total number of distinct product_labels over all products in one ProductSet cannot exceed 1M, otherwise the product search pipeline will refuse to work for that ProductSet.", +"items": { +"$ref": "GoogleCloudVisionV1p3beta1ProductKeyValue" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p3beta1ProductKeyValue": { +"description": "A product label represented as a key-value pair.", +"id": "GoogleCloudVisionV1p3beta1ProductKeyValue", +"properties": { +"key": { +"description": "The key of the label attached to the product. Cannot be empty and cannot exceed 128 bytes.", +"type": "string" +}, +"value": { +"description": "The value of the label attached to the product. Cannot be empty and cannot exceed 128 bytes.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p3beta1ProductSearchResults": { +"description": "Results for a product search request.", +"id": "GoogleCloudVisionV1p3beta1ProductSearchResults", +"properties": { +"indexTime": { +"description": "Timestamp of the index which provided these results. Products added to the product set and products removed from the product set after this time are not reflected in the current results.", +"format": "google-datetime", +"type": "string" +}, +"productGroupedResults": { +"description": "List of results grouped by products detected in the query image. Each entry corresponds to one bounding polygon in the query image, and contains the matching products specific to that region. There may be duplicate product matches in the union of all the per-product results.", +"items": { +"$ref": "GoogleCloudVisionV1p3beta1ProductSearchResultsGroupedResult" +}, +"type": "array" +}, +"results": { +"description": "List of results, one for each product match.", +"items": { +"$ref": "GoogleCloudVisionV1p3beta1ProductSearchResultsResult" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p3beta1ProductSearchResultsGroupedResult": { +"description": "Information about the products similar to a single product in a query image.", +"id": "GoogleCloudVisionV1p3beta1ProductSearchResultsGroupedResult", +"properties": { +"boundingPoly": { +"$ref": "GoogleCloudVisionV1p3beta1BoundingPoly", +"description": "The bounding polygon around the product detected in the query image." +}, +"objectAnnotations": { +"description": "List of generic predictions for the object in the bounding box.", +"items": { +"$ref": "GoogleCloudVisionV1p3beta1ProductSearchResultsObjectAnnotation" +}, +"type": "array" +}, +"results": { +"description": "List of results, one for each product match.", +"items": { +"$ref": "GoogleCloudVisionV1p3beta1ProductSearchResultsResult" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p3beta1ProductSearchResultsObjectAnnotation": { +"description": "Prediction for what the object in the bounding box is.", +"id": "GoogleCloudVisionV1p3beta1ProductSearchResultsObjectAnnotation", +"properties": { +"languageCode": { +"description": "The BCP-47 language code, such as \"en-US\" or \"sr-Latn\". For more information, see http://www.unicode.org/reports/tr35/#Unicode_locale_identifier.", +"type": "string" +}, +"mid": { +"description": "Object ID that should align with EntityAnnotation mid.", +"type": "string" +}, +"name": { +"description": "Object name, expressed in its `language_code` language.", +"type": "string" +}, +"score": { +"description": "Score of the result. Range [0, 1].", +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p3beta1ProductSearchResultsResult": { +"description": "Information about a product.", +"id": "GoogleCloudVisionV1p3beta1ProductSearchResultsResult", +"properties": { +"image": { +"description": "The resource name of the image from the product that is the closest match to the query.", +"type": "string" +}, +"product": { +"$ref": "GoogleCloudVisionV1p3beta1Product", +"description": "The Product." +}, +"score": { +"description": "A confidence level on the match, ranging from 0 (no confidence) to 1 (full confidence).", +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p3beta1Property": { +"description": "A `Property` consists of a user-supplied name/value pair.", +"id": "GoogleCloudVisionV1p3beta1Property", +"properties": { +"name": { +"description": "Name of the property.", +"type": "string" +}, +"uint64Value": { +"description": "Value of numeric properties.", +"format": "uint64", +"type": "string" +}, +"value": { +"description": "Value of the property.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p3beta1ReferenceImage": { +"description": "A `ReferenceImage` represents a product image and its associated metadata, such as bounding boxes.", +"id": "GoogleCloudVisionV1p3beta1ReferenceImage", +"properties": { +"boundingPolys": { +"description": "Optional. Bounding polygons around the areas of interest in the reference image. If this field is empty, the system will try to detect regions of interest. At most 10 bounding polygons will be used. The provided shape is converted into a non-rotated rectangle. Once converted, the small edge of the rectangle must be greater than or equal to 300 pixels. The aspect ratio must be 1:4 or less (i.e. 1:3 is ok; 1:5 is not).", +"items": { +"$ref": "GoogleCloudVisionV1p3beta1BoundingPoly" +}, +"type": "array" +}, +"name": { +"description": "The resource name of the reference image. Format is: `projects/PROJECT_ID/locations/LOC_ID/products/PRODUCT_ID/referenceImages/IMAGE_ID`. This field is ignored when creating a reference image.", +"type": "string" +}, +"uri": { +"description": "Required. The Google Cloud Storage URI of the reference image. The URI must start with `gs://`.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p3beta1SafeSearchAnnotation": { +"description": "Set of features pertaining to the image, computed by computer vision methods over safe-search verticals (for example, adult, spoof, medical, violence).", +"id": "GoogleCloudVisionV1p3beta1SafeSearchAnnotation", +"properties": { +"adult": { +"description": "Represents the adult content likelihood for the image. Adult content may contain elements such as nudity, pornographic images or cartoons, or sexual activities.", +"enum": [ +"UNKNOWN", +"VERY_UNLIKELY", +"UNLIKELY", +"POSSIBLE", +"LIKELY", +"VERY_LIKELY" +], +"enumDescriptions": [ +"Unknown likelihood.", +"It is very unlikely.", +"It is unlikely.", +"It is possible.", +"It is likely.", +"It is very likely." +], +"type": "string" +}, +"medical": { +"description": "Likelihood that this is a medical image.", +"enum": [ +"UNKNOWN", +"VERY_UNLIKELY", +"UNLIKELY", +"POSSIBLE", +"LIKELY", +"VERY_LIKELY" +], +"enumDescriptions": [ +"Unknown likelihood.", +"It is very unlikely.", +"It is unlikely.", +"It is possible.", +"It is likely.", +"It is very likely." +], +"type": "string" +}, +"racy": { +"description": "Likelihood that the request image contains racy content. Racy content may include (but is not limited to) skimpy or sheer clothing, strategically covered nudity, lewd or provocative poses, or close-ups of sensitive body areas.", +"enum": [ +"UNKNOWN", +"VERY_UNLIKELY", +"UNLIKELY", +"POSSIBLE", +"LIKELY", +"VERY_LIKELY" +], +"enumDescriptions": [ +"Unknown likelihood.", +"It is very unlikely.", +"It is unlikely.", +"It is possible.", +"It is likely.", +"It is very likely." +], +"type": "string" +}, +"spoof": { +"description": "Spoof likelihood. The likelihood that an modification was made to the image's canonical version to make it appear funny or offensive.", +"enum": [ +"UNKNOWN", +"VERY_UNLIKELY", +"UNLIKELY", +"POSSIBLE", +"LIKELY", +"VERY_LIKELY" +], +"enumDescriptions": [ +"Unknown likelihood.", +"It is very unlikely.", +"It is unlikely.", +"It is possible.", +"It is likely.", +"It is very likely." +], +"type": "string" +}, +"violence": { +"description": "Likelihood that this image contains violent content. Violent content may include death, serious harm, or injury to individuals or groups of individuals.", +"enum": [ +"UNKNOWN", +"VERY_UNLIKELY", +"UNLIKELY", +"POSSIBLE", +"LIKELY", +"VERY_LIKELY" +], +"enumDescriptions": [ +"Unknown likelihood.", +"It is very unlikely.", +"It is unlikely.", +"It is possible.", +"It is likely.", +"It is very likely." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p3beta1Symbol": { +"description": "A single symbol representation.", +"id": "GoogleCloudVisionV1p3beta1Symbol", +"properties": { +"boundingBox": { +"$ref": "GoogleCloudVisionV1p3beta1BoundingPoly", +"description": "The bounding box for the symbol. The vertices are in the order of top-left, top-right, bottom-right, bottom-left. When a rotation of the bounding box is detected the rotation is represented as around the top-left corner as defined when the text is read in the 'natural' orientation. For example: * when the text is horizontal it might look like: 0----1 | | 3----2 * when it's rotated 180 degrees around the top-left corner it becomes: 2----3 | | 1----0 and the vertex order will still be (0, 1, 2, 3)." +}, +"confidence": { +"description": "Confidence of the OCR results for the symbol. Range [0, 1].", +"format": "float", +"type": "number" +}, +"property": { +"$ref": "GoogleCloudVisionV1p3beta1TextAnnotationTextProperty", +"description": "Additional information detected for the symbol." +}, +"text": { +"description": "The actual UTF-8 representation of the symbol.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p3beta1TextAnnotation": { +"description": "TextAnnotation contains a structured representation of OCR extracted text. The hierarchy of an OCR extracted text structure is like this: TextAnnotation -> Page -> Block -> Paragraph -> Word -> Symbol Each structural component, starting from Page, may further have their own properties. Properties describe detected languages, breaks etc.. Please refer to the TextAnnotation.TextProperty message definition below for more detail.", +"id": "GoogleCloudVisionV1p3beta1TextAnnotation", +"properties": { +"pages": { +"description": "List of pages detected by OCR.", +"items": { +"$ref": "GoogleCloudVisionV1p3beta1Page" +}, +"type": "array" +}, +"text": { +"description": "UTF-8 text detected on the pages.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p3beta1TextAnnotationDetectedBreak": { +"description": "Detected start or end of a structural component.", +"id": "GoogleCloudVisionV1p3beta1TextAnnotationDetectedBreak", +"properties": { +"isPrefix": { +"description": "True if break prepends the element.", +"type": "boolean" +}, +"type": { +"description": "Detected break type.", +"enum": [ +"UNKNOWN", +"SPACE", +"SURE_SPACE", +"EOL_SURE_SPACE", +"HYPHEN", +"LINE_BREAK" +], +"enumDescriptions": [ +"Unknown break label type.", +"Regular space.", +"Sure space (very wide).", +"Line-wrapping break.", +"End-line hyphen that is not present in text; does not co-occur with `SPACE`, `LEADER_SPACE`, or `LINE_BREAK`.", +"Line break that ends a paragraph." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p3beta1TextAnnotationDetectedLanguage": { +"description": "Detected language for a structural component.", +"id": "GoogleCloudVisionV1p3beta1TextAnnotationDetectedLanguage", +"properties": { +"confidence": { +"description": "Confidence of detected language. Range [0, 1].", +"format": "float", +"type": "number" +}, +"languageCode": { +"description": "The BCP-47 language code, such as \"en-US\" or \"sr-Latn\". For more information, see http://www.unicode.org/reports/tr35/#Unicode_locale_identifier.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p3beta1TextAnnotationTextProperty": { +"description": "Additional information detected on the structural component.", +"id": "GoogleCloudVisionV1p3beta1TextAnnotationTextProperty", +"properties": { +"detectedBreak": { +"$ref": "GoogleCloudVisionV1p3beta1TextAnnotationDetectedBreak", +"description": "Detected start or end of a text segment." +}, +"detectedLanguages": { +"description": "A list of detected languages together with confidence.", +"items": { +"$ref": "GoogleCloudVisionV1p3beta1TextAnnotationDetectedLanguage" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p3beta1Vertex": { +"description": "A vertex represents a 2D point in the image. NOTE: the vertex coordinates are in the same scale as the original image.", +"id": "GoogleCloudVisionV1p3beta1Vertex", +"properties": { +"x": { +"description": "X coordinate.", +"format": "int32", +"type": "integer" +}, +"y": { +"description": "Y coordinate.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p3beta1WebDetection": { +"description": "Relevant information for the image from the Internet.", +"id": "GoogleCloudVisionV1p3beta1WebDetection", +"properties": { +"bestGuessLabels": { +"description": "The service's best guess as to the topic of the request image. Inferred from similar images on the open web.", +"items": { +"$ref": "GoogleCloudVisionV1p3beta1WebDetectionWebLabel" +}, +"type": "array" +}, +"fullMatchingImages": { +"description": "Fully matching images from the Internet. Can include resized copies of the query image.", +"items": { +"$ref": "GoogleCloudVisionV1p3beta1WebDetectionWebImage" +}, +"type": "array" +}, +"pagesWithMatchingImages": { +"description": "Web pages containing the matching images from the Internet.", +"items": { +"$ref": "GoogleCloudVisionV1p3beta1WebDetectionWebPage" +}, +"type": "array" +}, +"partialMatchingImages": { +"description": "Partial matching images from the Internet. Those images are similar enough to share some key-point features. For example an original image will likely have partial matching for its crops.", +"items": { +"$ref": "GoogleCloudVisionV1p3beta1WebDetectionWebImage" +}, +"type": "array" +}, +"visuallySimilarImages": { +"description": "The visually similar image results.", +"items": { +"$ref": "GoogleCloudVisionV1p3beta1WebDetectionWebImage" +}, +"type": "array" +}, +"webEntities": { +"description": "Deduced entities from similar images on the Internet.", +"items": { +"$ref": "GoogleCloudVisionV1p3beta1WebDetectionWebEntity" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p3beta1WebDetectionWebEntity": { +"description": "Entity deduced from similar images on the Internet.", +"id": "GoogleCloudVisionV1p3beta1WebDetectionWebEntity", +"properties": { +"description": { +"description": "Canonical description of the entity, in English.", +"type": "string" +}, +"entityId": { +"description": "Opaque entity ID.", +"type": "string" +}, +"score": { +"description": "Overall relevancy score for the entity. Not normalized and not comparable across different image queries.", +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p3beta1WebDetectionWebImage": { +"description": "Metadata for online images.", +"id": "GoogleCloudVisionV1p3beta1WebDetectionWebImage", +"properties": { +"score": { +"description": "(Deprecated) Overall relevancy score for the image.", +"format": "float", +"type": "number" +}, +"url": { +"description": "The result image URL.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p3beta1WebDetectionWebLabel": { +"description": "Label to provide extra metadata for the web detection.", +"id": "GoogleCloudVisionV1p3beta1WebDetectionWebLabel", +"properties": { +"label": { +"description": "Label for extra metadata.", +"type": "string" +}, +"languageCode": { +"description": "The BCP-47 language code for `label`, such as \"en-US\" or \"sr-Latn\". For more information, see http://www.unicode.org/reports/tr35/#Unicode_locale_identifier.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p3beta1WebDetectionWebPage": { +"description": "Metadata for web pages.", +"id": "GoogleCloudVisionV1p3beta1WebDetectionWebPage", +"properties": { +"fullMatchingImages": { +"description": "Fully matching images on the page. Can include resized copies of the query image.", +"items": { +"$ref": "GoogleCloudVisionV1p3beta1WebDetectionWebImage" +}, +"type": "array" +}, +"pageTitle": { +"description": "Title for the web page, may contain HTML markups.", +"type": "string" +}, +"partialMatchingImages": { +"description": "Partial matching images on the page. Those images are similar enough to share some key-point features. For example an original image will likely have partial matching for its crops.", +"items": { +"$ref": "GoogleCloudVisionV1p3beta1WebDetectionWebImage" +}, +"type": "array" +}, +"score": { +"description": "(Deprecated) Overall relevancy score for the web page.", +"format": "float", +"type": "number" +}, +"url": { +"description": "The result web page URL.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p3beta1Word": { +"description": "A word representation.", +"id": "GoogleCloudVisionV1p3beta1Word", +"properties": { +"boundingBox": { +"$ref": "GoogleCloudVisionV1p3beta1BoundingPoly", +"description": "The bounding box for the word. The vertices are in the order of top-left, top-right, bottom-right, bottom-left. When a rotation of the bounding box is detected the rotation is represented as around the top-left corner as defined when the text is read in the 'natural' orientation. For example: * when the text is horizontal it might look like: 0----1 | | 3----2 * when it's rotated 180 degrees around the top-left corner it becomes: 2----3 | | 1----0 and the vertex order will still be (0, 1, 2, 3)." +}, +"confidence": { +"description": "Confidence of the OCR results for the word. Range [0, 1].", +"format": "float", +"type": "number" +}, +"property": { +"$ref": "GoogleCloudVisionV1p3beta1TextAnnotationTextProperty", +"description": "Additional information detected for the word." +}, +"symbols": { +"description": "List of symbols in the word. The order of the symbols follows the natural reading order.", +"items": { +"$ref": "GoogleCloudVisionV1p3beta1Symbol" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p4beta1AnnotateFileResponse": { +"description": "Response to a single file annotation request. A file may contain one or more images, which individually have their own responses.", +"id": "GoogleCloudVisionV1p4beta1AnnotateFileResponse", +"properties": { +"error": { +"$ref": "Status", +"description": "If set, represents the error message for the failed request. The `responses` field will not be set in this case." +}, +"inputConfig": { +"$ref": "GoogleCloudVisionV1p4beta1InputConfig", +"description": "Information about the file for which this response is generated." +}, +"responses": { +"description": "Individual responses to images found within the file. This field will be empty if the `error` field is set.", +"items": { +"$ref": "GoogleCloudVisionV1p4beta1AnnotateImageResponse" +}, +"type": "array" +}, +"totalPages": { +"description": "This field gives the total number of pages in the file.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p4beta1AnnotateImageResponse": { +"description": "Response to an image annotation request.", +"id": "GoogleCloudVisionV1p4beta1AnnotateImageResponse", +"properties": { +"context": { +"$ref": "GoogleCloudVisionV1p4beta1ImageAnnotationContext", +"description": "If present, contextual information is needed to understand where this image comes from." +}, +"cropHintsAnnotation": { +"$ref": "GoogleCloudVisionV1p4beta1CropHintsAnnotation", +"description": "If present, crop hints have completed successfully." +}, +"error": { +"$ref": "Status", +"description": "If set, represents the error message for the operation. Note that filled-in image annotations are guaranteed to be correct, even when `error` is set." +}, +"faceAnnotations": { +"description": "If present, face detection has completed successfully.", +"items": { +"$ref": "GoogleCloudVisionV1p4beta1FaceAnnotation" +}, +"type": "array" +}, +"fullTextAnnotation": { +"$ref": "GoogleCloudVisionV1p4beta1TextAnnotation", +"description": "If present, text (OCR) detection or document (OCR) text detection has completed successfully. This annotation provides the structural hierarchy for the OCR detected text." +}, +"imagePropertiesAnnotation": { +"$ref": "GoogleCloudVisionV1p4beta1ImageProperties", +"description": "If present, image properties were extracted successfully." +}, +"labelAnnotations": { +"description": "If present, label detection has completed successfully.", +"items": { +"$ref": "GoogleCloudVisionV1p4beta1EntityAnnotation" +}, +"type": "array" +}, +"landmarkAnnotations": { +"description": "If present, landmark detection has completed successfully.", +"items": { +"$ref": "GoogleCloudVisionV1p4beta1EntityAnnotation" +}, +"type": "array" +}, +"localizedObjectAnnotations": { +"description": "If present, localized object detection has completed successfully. This will be sorted descending by confidence score.", +"items": { +"$ref": "GoogleCloudVisionV1p4beta1LocalizedObjectAnnotation" +}, +"type": "array" +}, +"logoAnnotations": { +"description": "If present, logo detection has completed successfully.", +"items": { +"$ref": "GoogleCloudVisionV1p4beta1EntityAnnotation" +}, +"type": "array" +}, +"productSearchResults": { +"$ref": "GoogleCloudVisionV1p4beta1ProductSearchResults", +"description": "If present, product search has completed successfully." +}, +"safeSearchAnnotation": { +"$ref": "GoogleCloudVisionV1p4beta1SafeSearchAnnotation", +"description": "If present, safe-search annotation has completed successfully." +}, +"textAnnotations": { +"description": "If present, text (OCR) detection has completed successfully.", +"items": { +"$ref": "GoogleCloudVisionV1p4beta1EntityAnnotation" +}, +"type": "array" +}, +"webDetection": { +"$ref": "GoogleCloudVisionV1p4beta1WebDetection", +"description": "If present, web detection has completed successfully." +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p4beta1AsyncAnnotateFileResponse": { +"description": "The response for a single offline file annotation request.", +"id": "GoogleCloudVisionV1p4beta1AsyncAnnotateFileResponse", +"properties": { +"outputConfig": { +"$ref": "GoogleCloudVisionV1p4beta1OutputConfig", +"description": "The output location and metadata from AsyncAnnotateFileRequest." +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p4beta1AsyncBatchAnnotateFilesResponse": { +"description": "Response to an async batch file annotation request.", +"id": "GoogleCloudVisionV1p4beta1AsyncBatchAnnotateFilesResponse", +"properties": { +"responses": { +"description": "The list of file annotation responses, one for each request in AsyncBatchAnnotateFilesRequest.", +"items": { +"$ref": "GoogleCloudVisionV1p4beta1AsyncAnnotateFileResponse" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p4beta1AsyncBatchAnnotateImagesResponse": { +"description": "Response to an async batch image annotation request.", +"id": "GoogleCloudVisionV1p4beta1AsyncBatchAnnotateImagesResponse", +"properties": { +"outputConfig": { +"$ref": "GoogleCloudVisionV1p4beta1OutputConfig", +"description": "The output location and metadata from AsyncBatchAnnotateImagesRequest." +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p4beta1BatchAnnotateFilesResponse": { +"description": "A list of file annotation responses.", +"id": "GoogleCloudVisionV1p4beta1BatchAnnotateFilesResponse", +"properties": { +"responses": { +"description": "The list of file annotation responses, each response corresponding to each AnnotateFileRequest in BatchAnnotateFilesRequest.", +"items": { +"$ref": "GoogleCloudVisionV1p4beta1AnnotateFileResponse" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p4beta1BatchOperationMetadata": { +"description": "Metadata for the batch operations such as the current state. This is included in the `metadata` field of the `Operation` returned by the `GetOperation` call of the `google::longrunning::Operations` service.", +"id": "GoogleCloudVisionV1p4beta1BatchOperationMetadata", +"properties": { +"endTime": { +"description": "The time when the batch request is finished and google.longrunning.Operation.done is set to true.", +"format": "google-datetime", +"type": "string" +}, +"state": { +"description": "The current state of the batch operation.", +"enum": [ +"STATE_UNSPECIFIED", +"PROCESSING", +"SUCCESSFUL", +"FAILED", +"CANCELLED" +], +"enumDescriptions": [ +"Invalid.", +"Request is actively being processed.", +"The request is done and at least one item has been successfully processed.", +"The request is done and no item has been successfully processed.", +"The request is done after the longrunning.Operations.CancelOperation has been called by the user. Any records that were processed before the cancel command are output as specified in the request." +], +"type": "string" +}, +"submitTime": { +"description": "The time when the batch request was submitted to the server.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p4beta1Block": { +"description": "Logical element on the page.", +"id": "GoogleCloudVisionV1p4beta1Block", +"properties": { +"blockType": { +"description": "Detected block type (text, image etc) for this block.", +"enum": [ +"UNKNOWN", +"TEXT", +"TABLE", +"PICTURE", +"RULER", +"BARCODE" +], +"enumDescriptions": [ +"Unknown block type.", +"Regular text block.", +"Table block.", +"Image block.", +"Horizontal/vertical line box.", +"Barcode block." +], +"type": "string" +}, +"boundingBox": { +"$ref": "GoogleCloudVisionV1p4beta1BoundingPoly", +"description": "The bounding box for the block. The vertices are in the order of top-left, top-right, bottom-right, bottom-left. When a rotation of the bounding box is detected the rotation is represented as around the top-left corner as defined when the text is read in the 'natural' orientation. For example: * when the text is horizontal it might look like: 0----1 | | 3----2 * when it's rotated 180 degrees around the top-left corner it becomes: 2----3 | | 1----0 and the vertex order will still be (0, 1, 2, 3)." +}, +"confidence": { +"description": "Confidence of the OCR results on the block. Range [0, 1].", +"format": "float", +"type": "number" +}, +"paragraphs": { +"description": "List of paragraphs in this block (if this blocks is of type text).", +"items": { +"$ref": "GoogleCloudVisionV1p4beta1Paragraph" +}, +"type": "array" +}, +"property": { +"$ref": "GoogleCloudVisionV1p4beta1TextAnnotationTextProperty", +"description": "Additional information detected for the block." +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p4beta1BoundingPoly": { +"description": "A bounding polygon for the detected image annotation.", +"id": "GoogleCloudVisionV1p4beta1BoundingPoly", +"properties": { +"normalizedVertices": { +"description": "The bounding polygon normalized vertices.", +"items": { +"$ref": "GoogleCloudVisionV1p4beta1NormalizedVertex" +}, +"type": "array" +}, +"vertices": { +"description": "The bounding polygon vertices.", +"items": { +"$ref": "GoogleCloudVisionV1p4beta1Vertex" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p4beta1Celebrity": { +"description": "A Celebrity is a group of Faces with an identity.", +"id": "GoogleCloudVisionV1p4beta1Celebrity", +"properties": { +"description": { +"description": "The Celebrity's description.", +"type": "string" +}, +"displayName": { +"description": "The Celebrity's display name.", +"type": "string" +}, +"name": { +"description": "The resource name of the preloaded Celebrity. Has the format `builtin/{mid}`.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p4beta1ColorInfo": { +"description": "Color information consists of RGB channels, score, and the fraction of the image that the color occupies in the image.", +"id": "GoogleCloudVisionV1p4beta1ColorInfo", +"properties": { +"color": { +"$ref": "Color", +"description": "RGB components of the color." +}, +"pixelFraction": { +"description": "The fraction of pixels the color occupies in the image. Value in range [0, 1].", +"format": "float", +"type": "number" +}, +"score": { +"description": "Image-specific score for this color. Value in range [0, 1].", +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p4beta1CropHint": { +"description": "Single crop hint that is used to generate a new crop when serving an image.", +"id": "GoogleCloudVisionV1p4beta1CropHint", +"properties": { +"boundingPoly": { +"$ref": "GoogleCloudVisionV1p4beta1BoundingPoly", +"description": "The bounding polygon for the crop region. The coordinates of the bounding box are in the original image's scale." +}, +"confidence": { +"description": "Confidence of this being a salient region. Range [0, 1].", +"format": "float", +"type": "number" +}, +"importanceFraction": { +"description": "Fraction of importance of this salient region with respect to the original image.", +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p4beta1CropHintsAnnotation": { +"description": "Set of crop hints that are used to generate new crops when serving images.", +"id": "GoogleCloudVisionV1p4beta1CropHintsAnnotation", +"properties": { +"cropHints": { +"description": "Crop hint results.", +"items": { +"$ref": "GoogleCloudVisionV1p4beta1CropHint" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p4beta1DominantColorsAnnotation": { +"description": "Set of dominant colors and their corresponding scores.", +"id": "GoogleCloudVisionV1p4beta1DominantColorsAnnotation", +"properties": { +"colors": { +"description": "RGB color values with their score and pixel fraction.", +"items": { +"$ref": "GoogleCloudVisionV1p4beta1ColorInfo" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p4beta1EntityAnnotation": { +"description": "Set of detected entity features.", +"id": "GoogleCloudVisionV1p4beta1EntityAnnotation", +"properties": { +"boundingPoly": { +"$ref": "GoogleCloudVisionV1p4beta1BoundingPoly", +"description": "Image region to which this entity belongs. Not produced for `LABEL_DETECTION` features." +}, +"confidence": { +"deprecated": true, +"description": "**Deprecated. Use `score` instead.** The accuracy of the entity detection in an image. For example, for an image in which the \"Eiffel Tower\" entity is detected, this field represents the confidence that there is a tower in the query image. Range [0, 1].", +"format": "float", +"type": "number" +}, +"description": { +"description": "Entity textual description, expressed in its `locale` language.", +"type": "string" +}, +"locale": { +"description": "The language code for the locale in which the entity textual `description` is expressed.", +"type": "string" +}, +"locations": { +"description": "The location information for the detected entity. Multiple `LocationInfo` elements can be present because one location may indicate the location of the scene in the image, and another location may indicate the location of the place where the image was taken. Location information is usually present for landmarks.", +"items": { +"$ref": "GoogleCloudVisionV1p4beta1LocationInfo" +}, +"type": "array" +}, +"mid": { +"description": "Opaque entity ID. Some IDs may be available in [Google Knowledge Graph Search API](https://developers.google.com/knowledge-graph/).", +"type": "string" +}, +"properties": { +"description": "Some entities may have optional user-supplied `Property` (name/value) fields, such a score or string that qualifies the entity.", +"items": { +"$ref": "GoogleCloudVisionV1p4beta1Property" +}, +"type": "array" +}, +"score": { +"description": "Overall score of the result. Range [0, 1].", +"format": "float", +"type": "number" +}, +"topicality": { +"description": "The relevancy of the ICA (Image Content Annotation) label to the image. For example, the relevancy of \"tower\" is likely higher to an image containing the detected \"Eiffel Tower\" than to an image containing a detected distant towering building, even though the confidence that there is a tower in each image may be the same. Range [0, 1].", +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p4beta1FaceAnnotation": { +"description": "A face annotation object contains the results of face detection.", +"id": "GoogleCloudVisionV1p4beta1FaceAnnotation", +"properties": { +"angerLikelihood": { +"description": "Anger likelihood.", +"enum": [ +"UNKNOWN", +"VERY_UNLIKELY", +"UNLIKELY", +"POSSIBLE", +"LIKELY", +"VERY_LIKELY" +], +"enumDescriptions": [ +"Unknown likelihood.", +"It is very unlikely.", +"It is unlikely.", +"It is possible.", +"It is likely.", +"It is very likely." +], +"type": "string" +}, +"blurredLikelihood": { +"description": "Blurred likelihood.", +"enum": [ +"UNKNOWN", +"VERY_UNLIKELY", +"UNLIKELY", +"POSSIBLE", +"LIKELY", +"VERY_LIKELY" +], +"enumDescriptions": [ +"Unknown likelihood.", +"It is very unlikely.", +"It is unlikely.", +"It is possible.", +"It is likely.", +"It is very likely." +], +"type": "string" +}, +"boundingPoly": { +"$ref": "GoogleCloudVisionV1p4beta1BoundingPoly", +"description": "The bounding polygon around the face. The coordinates of the bounding box are in the original image's scale. The bounding box is computed to \"frame\" the face in accordance with human expectations. It is based on the landmarker results. Note that one or more x and/or y coordinates may not be generated in the `BoundingPoly` (the polygon will be unbounded) if only a partial face appears in the image to be annotated." +}, +"detectionConfidence": { +"description": "Detection confidence. Range [0, 1].", +"format": "float", +"type": "number" +}, +"fdBoundingPoly": { +"$ref": "GoogleCloudVisionV1p4beta1BoundingPoly", +"description": "The `fd_bounding_poly` bounding polygon is tighter than the `boundingPoly`, and encloses only the skin part of the face. Typically, it is used to eliminate the face from any image analysis that detects the \"amount of skin\" visible in an image. It is not based on the landmarker results, only on the initial face detection, hence the fd (face detection) prefix." +}, +"headwearLikelihood": { +"description": "Headwear likelihood.", +"enum": [ +"UNKNOWN", +"VERY_UNLIKELY", +"UNLIKELY", +"POSSIBLE", +"LIKELY", +"VERY_LIKELY" +], +"enumDescriptions": [ +"Unknown likelihood.", +"It is very unlikely.", +"It is unlikely.", +"It is possible.", +"It is likely.", +"It is very likely." +], +"type": "string" +}, +"joyLikelihood": { +"description": "Joy likelihood.", +"enum": [ +"UNKNOWN", +"VERY_UNLIKELY", +"UNLIKELY", +"POSSIBLE", +"LIKELY", +"VERY_LIKELY" +], +"enumDescriptions": [ +"Unknown likelihood.", +"It is very unlikely.", +"It is unlikely.", +"It is possible.", +"It is likely.", +"It is very likely." +], +"type": "string" +}, +"landmarkingConfidence": { +"description": "Face landmarking confidence. Range [0, 1].", +"format": "float", +"type": "number" +}, +"landmarks": { +"description": "Detected face landmarks.", +"items": { +"$ref": "GoogleCloudVisionV1p4beta1FaceAnnotationLandmark" +}, +"type": "array" +}, +"panAngle": { +"description": "Yaw angle, which indicates the leftward/rightward angle that the face is pointing relative to the vertical plane perpendicular to the image. Range [-180,180].", +"format": "float", +"type": "number" +}, +"recognitionResult": { +"description": "Additional recognition information. Only computed if image_context.face_recognition_params is provided, **and** a match is found to a Celebrity in the input CelebritySet. This field is sorted in order of decreasing confidence values.", +"items": { +"$ref": "GoogleCloudVisionV1p4beta1FaceRecognitionResult" +}, +"type": "array" +}, +"rollAngle": { +"description": "Roll angle, which indicates the amount of clockwise/anti-clockwise rotation of the face relative to the image vertical about the axis perpendicular to the face. Range [-180,180].", +"format": "float", +"type": "number" +}, +"sorrowLikelihood": { +"description": "Sorrow likelihood.", +"enum": [ +"UNKNOWN", +"VERY_UNLIKELY", +"UNLIKELY", +"POSSIBLE", +"LIKELY", +"VERY_LIKELY" +], +"enumDescriptions": [ +"Unknown likelihood.", +"It is very unlikely.", +"It is unlikely.", +"It is possible.", +"It is likely.", +"It is very likely." +], +"type": "string" +}, +"surpriseLikelihood": { +"description": "Surprise likelihood.", +"enum": [ +"UNKNOWN", +"VERY_UNLIKELY", +"UNLIKELY", +"POSSIBLE", +"LIKELY", +"VERY_LIKELY" +], +"enumDescriptions": [ +"Unknown likelihood.", +"It is very unlikely.", +"It is unlikely.", +"It is possible.", +"It is likely.", +"It is very likely." +], +"type": "string" +}, +"tiltAngle": { +"description": "Pitch angle, which indicates the upwards/downwards angle that the face is pointing relative to the image's horizontal plane. Range [-180,180].", +"format": "float", +"type": "number" +}, +"underExposedLikelihood": { +"description": "Under-exposed likelihood.", +"enum": [ +"UNKNOWN", +"VERY_UNLIKELY", +"UNLIKELY", +"POSSIBLE", +"LIKELY", +"VERY_LIKELY" +], +"enumDescriptions": [ +"Unknown likelihood.", +"It is very unlikely.", +"It is unlikely.", +"It is possible.", +"It is likely.", +"It is very likely." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p4beta1FaceAnnotationLandmark": { +"description": "A face-specific landmark (for example, a face feature). Landmark positions may fall outside the bounds of the image if the face is near one or more edges of the image. Therefore it is NOT guaranteed that `0 <= x < width` or `0 <= y < height`.", +"id": "GoogleCloudVisionV1p4beta1FaceAnnotationLandmark", +"properties": { +"position": { +"$ref": "GoogleCloudVisionV1p4beta1Position", +"description": "Face landmark position." +}, +"type": { +"description": "Face landmark type.", +"enum": [ +"UNKNOWN_LANDMARK", +"LEFT_EYE", +"RIGHT_EYE", +"LEFT_OF_LEFT_EYEBROW", +"RIGHT_OF_LEFT_EYEBROW", +"LEFT_OF_RIGHT_EYEBROW", +"RIGHT_OF_RIGHT_EYEBROW", +"MIDPOINT_BETWEEN_EYES", +"NOSE_TIP", +"UPPER_LIP", +"LOWER_LIP", +"MOUTH_LEFT", +"MOUTH_RIGHT", +"MOUTH_CENTER", +"NOSE_BOTTOM_RIGHT", +"NOSE_BOTTOM_LEFT", +"NOSE_BOTTOM_CENTER", +"LEFT_EYE_TOP_BOUNDARY", +"LEFT_EYE_RIGHT_CORNER", +"LEFT_EYE_BOTTOM_BOUNDARY", +"LEFT_EYE_LEFT_CORNER", +"RIGHT_EYE_TOP_BOUNDARY", +"RIGHT_EYE_RIGHT_CORNER", +"RIGHT_EYE_BOTTOM_BOUNDARY", +"RIGHT_EYE_LEFT_CORNER", +"LEFT_EYEBROW_UPPER_MIDPOINT", +"RIGHT_EYEBROW_UPPER_MIDPOINT", +"LEFT_EAR_TRAGION", +"RIGHT_EAR_TRAGION", +"LEFT_EYE_PUPIL", +"RIGHT_EYE_PUPIL", +"FOREHEAD_GLABELLA", +"CHIN_GNATHION", +"CHIN_LEFT_GONION", +"CHIN_RIGHT_GONION", +"LEFT_CHEEK_CENTER", +"RIGHT_CHEEK_CENTER" +], +"enumDescriptions": [ +"Unknown face landmark detected. Should not be filled.", +"Left eye.", +"Right eye.", +"Left of left eyebrow.", +"Right of left eyebrow.", +"Left of right eyebrow.", +"Right of right eyebrow.", +"Midpoint between eyes.", +"Nose tip.", +"Upper lip.", +"Lower lip.", +"Mouth left.", +"Mouth right.", +"Mouth center.", +"Nose, bottom right.", +"Nose, bottom left.", +"Nose, bottom center.", +"Left eye, top boundary.", +"Left eye, right corner.", +"Left eye, bottom boundary.", +"Left eye, left corner.", +"Right eye, top boundary.", +"Right eye, right corner.", +"Right eye, bottom boundary.", +"Right eye, left corner.", +"Left eyebrow, upper midpoint.", +"Right eyebrow, upper midpoint.", +"Left ear tragion.", +"Right ear tragion.", +"Left eye pupil.", +"Right eye pupil.", +"Forehead glabella.", +"Chin gnathion.", +"Chin left gonion.", +"Chin right gonion.", +"Left cheek center.", +"Right cheek center." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p4beta1FaceRecognitionResult": { +"description": "Information about a face's identity.", +"id": "GoogleCloudVisionV1p4beta1FaceRecognitionResult", +"properties": { +"celebrity": { +"$ref": "GoogleCloudVisionV1p4beta1Celebrity", +"description": "The Celebrity that this face was matched to." +}, +"confidence": { +"description": "Recognition confidence. Range [0, 1].", +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p4beta1GcsDestination": { +"description": "The Google Cloud Storage location where the output will be written to.", +"id": "GoogleCloudVisionV1p4beta1GcsDestination", +"properties": { +"uri": { +"description": "Google Cloud Storage URI prefix where the results will be stored. Results will be in JSON format and preceded by its corresponding input URI prefix. This field can either represent a gcs file prefix or gcs directory. In either case, the uri should be unique because in order to get all of the output files, you will need to do a wildcard gcs search on the uri prefix you provide. Examples: * File Prefix: gs://bucket-name/here/filenameprefix The output files will be created in gs://bucket-name/here/ and the names of the output files will begin with \"filenameprefix\". * Directory Prefix: gs://bucket-name/some/location/ The output files will be created in gs://bucket-name/some/location/ and the names of the output files could be anything because there was no filename prefix specified. If multiple outputs, each response is still AnnotateFileResponse, each of which contains some subset of the full list of AnnotateImageResponse. Multiple outputs can happen if, for example, the output JSON is too large and overflows into multiple sharded files.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p4beta1GcsSource": { +"description": "The Google Cloud Storage location where the input will be read from.", +"id": "GoogleCloudVisionV1p4beta1GcsSource", +"properties": { +"uri": { +"description": "Google Cloud Storage URI for the input file. This must only be a Google Cloud Storage object. Wildcards are not currently supported.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p4beta1ImageAnnotationContext": { +"description": "If an image was produced from a file (e.g. a PDF), this message gives information about the source of that image.", +"id": "GoogleCloudVisionV1p4beta1ImageAnnotationContext", +"properties": { +"pageNumber": { +"description": "If the file was a PDF or TIFF, this field gives the page number within the file used to produce the image.", +"format": "int32", +"type": "integer" +}, +"uri": { +"description": "The URI of the file used to produce the image.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p4beta1ImageProperties": { +"description": "Stores image properties, such as dominant colors.", +"id": "GoogleCloudVisionV1p4beta1ImageProperties", +"properties": { +"dominantColors": { +"$ref": "GoogleCloudVisionV1p4beta1DominantColorsAnnotation", +"description": "If present, dominant colors completed successfully." +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p4beta1ImportProductSetsResponse": { +"description": "Response message for the `ImportProductSets` method. This message is returned by the google.longrunning.Operations.GetOperation method in the returned google.longrunning.Operation.response field.", +"id": "GoogleCloudVisionV1p4beta1ImportProductSetsResponse", +"properties": { +"referenceImages": { +"description": "The list of reference_images that are imported successfully.", +"items": { +"$ref": "GoogleCloudVisionV1p4beta1ReferenceImage" +}, +"type": "array" +}, +"statuses": { +"description": "The rpc status for each ImportProductSet request, including both successes and errors. The number of statuses here matches the number of lines in the csv file, and statuses[i] stores the success or failure status of processing the i-th line of the csv, starting from line 0.", +"items": { +"$ref": "Status" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p4beta1InputConfig": { +"description": "The desired input location and metadata.", +"id": "GoogleCloudVisionV1p4beta1InputConfig", +"properties": { +"content": { +"description": "File content, represented as a stream of bytes. Note: As with all `bytes` fields, protobuffers use a pure binary representation, whereas JSON representations use base64. Currently, this field only works for BatchAnnotateFiles requests. It does not work for AsyncBatchAnnotateFiles requests.", +"format": "byte", +"type": "string" +}, +"gcsSource": { +"$ref": "GoogleCloudVisionV1p4beta1GcsSource", +"description": "The Google Cloud Storage location to read the input from." +}, +"mimeType": { +"description": "The type of the file. Currently only \"application/pdf\", \"image/tiff\" and \"image/gif\" are supported. Wildcards are not supported.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p4beta1LocalizedObjectAnnotation": { +"description": "Set of detected objects with bounding boxes.", +"id": "GoogleCloudVisionV1p4beta1LocalizedObjectAnnotation", +"properties": { +"boundingPoly": { +"$ref": "GoogleCloudVisionV1p4beta1BoundingPoly", +"description": "Image region to which this object belongs. This must be populated." +}, +"languageCode": { +"description": "The BCP-47 language code, such as \"en-US\" or \"sr-Latn\". For more information, see http://www.unicode.org/reports/tr35/#Unicode_locale_identifier.", +"type": "string" +}, +"mid": { +"description": "Object ID that should align with EntityAnnotation mid.", +"type": "string" +}, +"name": { +"description": "Object name, expressed in its `language_code` language.", +"type": "string" +}, +"score": { +"description": "Score of the result. Range [0, 1].", +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p4beta1LocationInfo": { +"description": "Detected entity location information.", +"id": "GoogleCloudVisionV1p4beta1LocationInfo", +"properties": { +"latLng": { +"$ref": "LatLng", +"description": "lat/long location coordinates." +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p4beta1NormalizedVertex": { +"description": "A vertex represents a 2D point in the image. NOTE: the normalized vertex coordinates are relative to the original image and range from 0 to 1.", +"id": "GoogleCloudVisionV1p4beta1NormalizedVertex", +"properties": { +"x": { +"description": "X coordinate.", +"format": "float", +"type": "number" +}, +"y": { +"description": "Y coordinate.", +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p4beta1OperationMetadata": { +"description": "Contains metadata for the BatchAnnotateImages operation.", +"id": "GoogleCloudVisionV1p4beta1OperationMetadata", +"properties": { +"createTime": { +"description": "The time when the batch request was received.", +"format": "google-datetime", +"type": "string" +}, +"state": { +"description": "Current state of the batch operation.", +"enum": [ +"STATE_UNSPECIFIED", +"CREATED", +"RUNNING", +"DONE", +"CANCELLED" +], +"enumDescriptions": [ +"Invalid.", +"Request is received.", +"Request is actively being processed.", +"The batch processing is done.", +"The batch processing was cancelled." +], +"type": "string" +}, +"updateTime": { +"description": "The time when the operation result was last updated.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p4beta1OutputConfig": { +"description": "The desired output location and metadata.", +"id": "GoogleCloudVisionV1p4beta1OutputConfig", +"properties": { +"batchSize": { +"description": "The max number of response protos to put into each output JSON file on Google Cloud Storage. The valid range is [1, 100]. If not specified, the default value is 20. For example, for one pdf file with 100 pages, 100 response protos will be generated. If `batch_size` = 20, then 5 json files each containing 20 response protos will be written under the prefix `gcs_destination`.`uri`. Currently, batch_size only applies to GcsDestination, with potential future support for other output configurations.", +"format": "int32", +"type": "integer" +}, +"gcsDestination": { +"$ref": "GoogleCloudVisionV1p4beta1GcsDestination", +"description": "The Google Cloud Storage location to write the output(s) to." +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p4beta1Page": { +"description": "Detected page from OCR.", +"id": "GoogleCloudVisionV1p4beta1Page", +"properties": { +"blocks": { +"description": "List of blocks of text, images etc on this page.", +"items": { +"$ref": "GoogleCloudVisionV1p4beta1Block" +}, +"type": "array" +}, +"confidence": { +"description": "Confidence of the OCR results on the page. Range [0, 1].", +"format": "float", +"type": "number" +}, +"height": { +"description": "Page height. For PDFs the unit is points. For images (including TIFFs) the unit is pixels.", +"format": "int32", +"type": "integer" +}, +"property": { +"$ref": "GoogleCloudVisionV1p4beta1TextAnnotationTextProperty", +"description": "Additional information detected on the page." +}, +"width": { +"description": "Page width. For PDFs the unit is points. For images (including TIFFs) the unit is pixels.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p4beta1Paragraph": { +"description": "Structural unit of text representing a number of words in certain order.", +"id": "GoogleCloudVisionV1p4beta1Paragraph", +"properties": { +"boundingBox": { +"$ref": "GoogleCloudVisionV1p4beta1BoundingPoly", +"description": "The bounding box for the paragraph. The vertices are in the order of top-left, top-right, bottom-right, bottom-left. When a rotation of the bounding box is detected the rotation is represented as around the top-left corner as defined when the text is read in the 'natural' orientation. For example: * when the text is horizontal it might look like: 0----1 | | 3----2 * when it's rotated 180 degrees around the top-left corner it becomes: 2----3 | | 1----0 and the vertex order will still be (0, 1, 2, 3)." +}, +"confidence": { +"description": "Confidence of the OCR results for the paragraph. Range [0, 1].", +"format": "float", +"type": "number" +}, +"property": { +"$ref": "GoogleCloudVisionV1p4beta1TextAnnotationTextProperty", +"description": "Additional information detected for the paragraph." +}, +"words": { +"description": "List of all words in this paragraph.", +"items": { +"$ref": "GoogleCloudVisionV1p4beta1Word" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p4beta1Position": { +"description": "A 3D position in the image, used primarily for Face detection landmarks. A valid Position must have both x and y coordinates. The position coordinates are in the same scale as the original image.", +"id": "GoogleCloudVisionV1p4beta1Position", +"properties": { +"x": { +"description": "X coordinate.", +"format": "float", +"type": "number" +}, +"y": { +"description": "Y coordinate.", +"format": "float", +"type": "number" +}, +"z": { +"description": "Z coordinate (or depth).", +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p4beta1Product": { +"description": "A Product contains ReferenceImages.", +"id": "GoogleCloudVisionV1p4beta1Product", +"properties": { +"description": { +"description": "User-provided metadata to be stored with this product. Must be at most 4096 characters long.", +"type": "string" +}, +"displayName": { +"description": "The user-provided name for this Product. Must not be empty. Must be at most 4096 characters long.", +"type": "string" +}, +"name": { +"description": "The resource name of the product. Format is: `projects/PROJECT_ID/locations/LOC_ID/products/PRODUCT_ID`. This field is ignored when creating a product.", +"type": "string" +}, +"productCategory": { +"description": "Immutable. The category for the product identified by the reference image. This should be one of \"homegoods-v2\", \"apparel-v2\", \"toys-v2\", \"packagedgoods-v1\" or \"general-v1\". The legacy categories \"homegoods\", \"apparel\", and \"toys\" are still supported, but these should not be used for new products.", +"type": "string" +}, +"productLabels": { +"description": "Key-value pairs that can be attached to a product. At query time, constraints can be specified based on the product_labels. Note that integer values can be provided as strings, e.g. \"1199\". Only strings with integer values can match a range-based restriction which is to be supported soon. Multiple values can be assigned to the same key. One product may have up to 500 product_labels. Notice that the total number of distinct product_labels over all products in one ProductSet cannot exceed 1M, otherwise the product search pipeline will refuse to work for that ProductSet.", +"items": { +"$ref": "GoogleCloudVisionV1p4beta1ProductKeyValue" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p4beta1ProductKeyValue": { +"description": "A product label represented as a key-value pair.", +"id": "GoogleCloudVisionV1p4beta1ProductKeyValue", +"properties": { +"key": { +"description": "The key of the label attached to the product. Cannot be empty and cannot exceed 128 bytes.", +"type": "string" +}, +"value": { +"description": "The value of the label attached to the product. Cannot be empty and cannot exceed 128 bytes.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p4beta1ProductSearchResults": { +"description": "Results for a product search request.", +"id": "GoogleCloudVisionV1p4beta1ProductSearchResults", +"properties": { +"indexTime": { +"description": "Timestamp of the index which provided these results. Products added to the product set and products removed from the product set after this time are not reflected in the current results.", +"format": "google-datetime", +"type": "string" +}, +"productGroupedResults": { +"description": "List of results grouped by products detected in the query image. Each entry corresponds to one bounding polygon in the query image, and contains the matching products specific to that region. There may be duplicate product matches in the union of all the per-product results.", +"items": { +"$ref": "GoogleCloudVisionV1p4beta1ProductSearchResultsGroupedResult" +}, +"type": "array" +}, +"results": { +"description": "List of results, one for each product match.", +"items": { +"$ref": "GoogleCloudVisionV1p4beta1ProductSearchResultsResult" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p4beta1ProductSearchResultsGroupedResult": { +"description": "Information about the products similar to a single product in a query image.", +"id": "GoogleCloudVisionV1p4beta1ProductSearchResultsGroupedResult", +"properties": { +"boundingPoly": { +"$ref": "GoogleCloudVisionV1p4beta1BoundingPoly", +"description": "The bounding polygon around the product detected in the query image." +}, +"objectAnnotations": { +"description": "List of generic predictions for the object in the bounding box.", +"items": { +"$ref": "GoogleCloudVisionV1p4beta1ProductSearchResultsObjectAnnotation" +}, +"type": "array" +}, +"results": { +"description": "List of results, one for each product match.", +"items": { +"$ref": "GoogleCloudVisionV1p4beta1ProductSearchResultsResult" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p4beta1ProductSearchResultsObjectAnnotation": { +"description": "Prediction for what the object in the bounding box is.", +"id": "GoogleCloudVisionV1p4beta1ProductSearchResultsObjectAnnotation", +"properties": { +"languageCode": { +"description": "The BCP-47 language code, such as \"en-US\" or \"sr-Latn\". For more information, see http://www.unicode.org/reports/tr35/#Unicode_locale_identifier.", +"type": "string" +}, +"mid": { +"description": "Object ID that should align with EntityAnnotation mid.", +"type": "string" +}, +"name": { +"description": "Object name, expressed in its `language_code` language.", +"type": "string" +}, +"score": { +"description": "Score of the result. Range [0, 1].", +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p4beta1ProductSearchResultsResult": { +"description": "Information about a product.", +"id": "GoogleCloudVisionV1p4beta1ProductSearchResultsResult", +"properties": { +"image": { +"description": "The resource name of the image from the product that is the closest match to the query.", +"type": "string" +}, +"product": { +"$ref": "GoogleCloudVisionV1p4beta1Product", +"description": "The Product." +}, +"score": { +"description": "A confidence level on the match, ranging from 0 (no confidence) to 1 (full confidence).", +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p4beta1Property": { +"description": "A `Property` consists of a user-supplied name/value pair.", +"id": "GoogleCloudVisionV1p4beta1Property", +"properties": { +"name": { +"description": "Name of the property.", +"type": "string" +}, +"uint64Value": { +"description": "Value of numeric properties.", +"format": "uint64", +"type": "string" +}, +"value": { +"description": "Value of the property.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p4beta1ReferenceImage": { +"description": "A `ReferenceImage` represents a product image and its associated metadata, such as bounding boxes.", +"id": "GoogleCloudVisionV1p4beta1ReferenceImage", +"properties": { +"boundingPolys": { +"description": "Optional. Bounding polygons around the areas of interest in the reference image. If this field is empty, the system will try to detect regions of interest. At most 10 bounding polygons will be used. The provided shape is converted into a non-rotated rectangle. Once converted, the small edge of the rectangle must be greater than or equal to 300 pixels. The aspect ratio must be 1:4 or less (i.e. 1:3 is ok; 1:5 is not).", +"items": { +"$ref": "GoogleCloudVisionV1p4beta1BoundingPoly" +}, +"type": "array" +}, +"name": { +"description": "The resource name of the reference image. Format is: `projects/PROJECT_ID/locations/LOC_ID/products/PRODUCT_ID/referenceImages/IMAGE_ID`. This field is ignored when creating a reference image.", +"type": "string" +}, +"uri": { +"description": "Required. The Google Cloud Storage URI of the reference image. The URI must start with `gs://`.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p4beta1SafeSearchAnnotation": { +"description": "Set of features pertaining to the image, computed by computer vision methods over safe-search verticals (for example, adult, spoof, medical, violence).", +"id": "GoogleCloudVisionV1p4beta1SafeSearchAnnotation", +"properties": { +"adult": { +"description": "Represents the adult content likelihood for the image. Adult content may contain elements such as nudity, pornographic images or cartoons, or sexual activities.", +"enum": [ +"UNKNOWN", +"VERY_UNLIKELY", +"UNLIKELY", +"POSSIBLE", +"LIKELY", +"VERY_LIKELY" +], +"enumDescriptions": [ +"Unknown likelihood.", +"It is very unlikely.", +"It is unlikely.", +"It is possible.", +"It is likely.", +"It is very likely." +], +"type": "string" +}, +"medical": { +"description": "Likelihood that this is a medical image.", +"enum": [ +"UNKNOWN", +"VERY_UNLIKELY", +"UNLIKELY", +"POSSIBLE", +"LIKELY", +"VERY_LIKELY" +], +"enumDescriptions": [ +"Unknown likelihood.", +"It is very unlikely.", +"It is unlikely.", +"It is possible.", +"It is likely.", +"It is very likely." +], +"type": "string" +}, +"racy": { +"description": "Likelihood that the request image contains racy content. Racy content may include (but is not limited to) skimpy or sheer clothing, strategically covered nudity, lewd or provocative poses, or close-ups of sensitive body areas.", +"enum": [ +"UNKNOWN", +"VERY_UNLIKELY", +"UNLIKELY", +"POSSIBLE", +"LIKELY", +"VERY_LIKELY" +], +"enumDescriptions": [ +"Unknown likelihood.", +"It is very unlikely.", +"It is unlikely.", +"It is possible.", +"It is likely.", +"It is very likely." +], +"type": "string" +}, +"spoof": { +"description": "Spoof likelihood. The likelihood that an modification was made to the image's canonical version to make it appear funny or offensive.", +"enum": [ +"UNKNOWN", +"VERY_UNLIKELY", +"UNLIKELY", +"POSSIBLE", +"LIKELY", +"VERY_LIKELY" +], +"enumDescriptions": [ +"Unknown likelihood.", +"It is very unlikely.", +"It is unlikely.", +"It is possible.", +"It is likely.", +"It is very likely." +], +"type": "string" +}, +"violence": { +"description": "Likelihood that this image contains violent content. Violent content may include death, serious harm, or injury to individuals or groups of individuals.", +"enum": [ +"UNKNOWN", +"VERY_UNLIKELY", +"UNLIKELY", +"POSSIBLE", +"LIKELY", +"VERY_LIKELY" +], +"enumDescriptions": [ +"Unknown likelihood.", +"It is very unlikely.", +"It is unlikely.", +"It is possible.", +"It is likely.", +"It is very likely." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p4beta1Symbol": { +"description": "A single symbol representation.", +"id": "GoogleCloudVisionV1p4beta1Symbol", +"properties": { +"boundingBox": { +"$ref": "GoogleCloudVisionV1p4beta1BoundingPoly", +"description": "The bounding box for the symbol. The vertices are in the order of top-left, top-right, bottom-right, bottom-left. When a rotation of the bounding box is detected the rotation is represented as around the top-left corner as defined when the text is read in the 'natural' orientation. For example: * when the text is horizontal it might look like: 0----1 | | 3----2 * when it's rotated 180 degrees around the top-left corner it becomes: 2----3 | | 1----0 and the vertex order will still be (0, 1, 2, 3)." +}, +"confidence": { +"description": "Confidence of the OCR results for the symbol. Range [0, 1].", +"format": "float", +"type": "number" +}, +"property": { +"$ref": "GoogleCloudVisionV1p4beta1TextAnnotationTextProperty", +"description": "Additional information detected for the symbol." +}, +"text": { +"description": "The actual UTF-8 representation of the symbol.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p4beta1TextAnnotation": { +"description": "TextAnnotation contains a structured representation of OCR extracted text. The hierarchy of an OCR extracted text structure is like this: TextAnnotation -> Page -> Block -> Paragraph -> Word -> Symbol Each structural component, starting from Page, may further have their own properties. Properties describe detected languages, breaks etc.. Please refer to the TextAnnotation.TextProperty message definition below for more detail.", +"id": "GoogleCloudVisionV1p4beta1TextAnnotation", +"properties": { +"pages": { +"description": "List of pages detected by OCR.", +"items": { +"$ref": "GoogleCloudVisionV1p4beta1Page" +}, +"type": "array" +}, +"text": { +"description": "UTF-8 text detected on the pages.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p4beta1TextAnnotationDetectedBreak": { +"description": "Detected start or end of a structural component.", +"id": "GoogleCloudVisionV1p4beta1TextAnnotationDetectedBreak", +"properties": { +"isPrefix": { +"description": "True if break prepends the element.", +"type": "boolean" +}, +"type": { +"description": "Detected break type.", +"enum": [ +"UNKNOWN", +"SPACE", +"SURE_SPACE", +"EOL_SURE_SPACE", +"HYPHEN", +"LINE_BREAK" +], +"enumDescriptions": [ +"Unknown break label type.", +"Regular space.", +"Sure space (very wide).", +"Line-wrapping break.", +"End-line hyphen that is not present in text; does not co-occur with `SPACE`, `LEADER_SPACE`, or `LINE_BREAK`.", +"Line break that ends a paragraph." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p4beta1TextAnnotationDetectedLanguage": { +"description": "Detected language for a structural component.", +"id": "GoogleCloudVisionV1p4beta1TextAnnotationDetectedLanguage", +"properties": { +"confidence": { +"description": "Confidence of detected language. Range [0, 1].", +"format": "float", +"type": "number" +}, +"languageCode": { +"description": "The BCP-47 language code, such as \"en-US\" or \"sr-Latn\". For more information, see http://www.unicode.org/reports/tr35/#Unicode_locale_identifier.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p4beta1TextAnnotationTextProperty": { +"description": "Additional information detected on the structural component.", +"id": "GoogleCloudVisionV1p4beta1TextAnnotationTextProperty", +"properties": { +"detectedBreak": { +"$ref": "GoogleCloudVisionV1p4beta1TextAnnotationDetectedBreak", +"description": "Detected start or end of a text segment." +}, +"detectedLanguages": { +"description": "A list of detected languages together with confidence.", +"items": { +"$ref": "GoogleCloudVisionV1p4beta1TextAnnotationDetectedLanguage" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p4beta1Vertex": { +"description": "A vertex represents a 2D point in the image. NOTE: the vertex coordinates are in the same scale as the original image.", +"id": "GoogleCloudVisionV1p4beta1Vertex", +"properties": { +"x": { +"description": "X coordinate.", +"format": "int32", +"type": "integer" +}, +"y": { +"description": "Y coordinate.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p4beta1WebDetection": { +"description": "Relevant information for the image from the Internet.", +"id": "GoogleCloudVisionV1p4beta1WebDetection", +"properties": { +"bestGuessLabels": { +"description": "The service's best guess as to the topic of the request image. Inferred from similar images on the open web.", +"items": { +"$ref": "GoogleCloudVisionV1p4beta1WebDetectionWebLabel" +}, +"type": "array" +}, +"fullMatchingImages": { +"description": "Fully matching images from the Internet. Can include resized copies of the query image.", +"items": { +"$ref": "GoogleCloudVisionV1p4beta1WebDetectionWebImage" +}, +"type": "array" +}, +"pagesWithMatchingImages": { +"description": "Web pages containing the matching images from the Internet.", +"items": { +"$ref": "GoogleCloudVisionV1p4beta1WebDetectionWebPage" +}, +"type": "array" +}, +"partialMatchingImages": { +"description": "Partial matching images from the Internet. Those images are similar enough to share some key-point features. For example an original image will likely have partial matching for its crops.", +"items": { +"$ref": "GoogleCloudVisionV1p4beta1WebDetectionWebImage" +}, +"type": "array" +}, +"visuallySimilarImages": { +"description": "The visually similar image results.", +"items": { +"$ref": "GoogleCloudVisionV1p4beta1WebDetectionWebImage" +}, +"type": "array" +}, +"webEntities": { +"description": "Deduced entities from similar images on the Internet.", +"items": { +"$ref": "GoogleCloudVisionV1p4beta1WebDetectionWebEntity" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p4beta1WebDetectionWebEntity": { +"description": "Entity deduced from similar images on the Internet.", +"id": "GoogleCloudVisionV1p4beta1WebDetectionWebEntity", +"properties": { +"description": { +"description": "Canonical description of the entity, in English.", +"type": "string" +}, +"entityId": { +"description": "Opaque entity ID.", +"type": "string" +}, +"score": { +"description": "Overall relevancy score for the entity. Not normalized and not comparable across different image queries.", +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p4beta1WebDetectionWebImage": { +"description": "Metadata for online images.", +"id": "GoogleCloudVisionV1p4beta1WebDetectionWebImage", +"properties": { +"score": { +"description": "(Deprecated) Overall relevancy score for the image.", +"format": "float", +"type": "number" +}, +"url": { +"description": "The result image URL.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p4beta1WebDetectionWebLabel": { +"description": "Label to provide extra metadata for the web detection.", +"id": "GoogleCloudVisionV1p4beta1WebDetectionWebLabel", +"properties": { +"label": { +"description": "Label for extra metadata.", +"type": "string" +}, +"languageCode": { +"description": "The BCP-47 language code for `label`, such as \"en-US\" or \"sr-Latn\". For more information, see http://www.unicode.org/reports/tr35/#Unicode_locale_identifier.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p4beta1WebDetectionWebPage": { +"description": "Metadata for web pages.", +"id": "GoogleCloudVisionV1p4beta1WebDetectionWebPage", +"properties": { +"fullMatchingImages": { +"description": "Fully matching images on the page. Can include resized copies of the query image.", +"items": { +"$ref": "GoogleCloudVisionV1p4beta1WebDetectionWebImage" +}, +"type": "array" +}, +"pageTitle": { +"description": "Title for the web page, may contain HTML markups.", +"type": "string" +}, +"partialMatchingImages": { +"description": "Partial matching images on the page. Those images are similar enough to share some key-point features. For example an original image will likely have partial matching for its crops.", +"items": { +"$ref": "GoogleCloudVisionV1p4beta1WebDetectionWebImage" +}, +"type": "array" +}, +"score": { +"description": "(Deprecated) Overall relevancy score for the web page.", +"format": "float", +"type": "number" +}, +"url": { +"description": "The result web page URL.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p4beta1Word": { +"description": "A word representation.", +"id": "GoogleCloudVisionV1p4beta1Word", +"properties": { +"boundingBox": { +"$ref": "GoogleCloudVisionV1p4beta1BoundingPoly", +"description": "The bounding box for the word. The vertices are in the order of top-left, top-right, bottom-right, bottom-left. When a rotation of the bounding box is detected the rotation is represented as around the top-left corner as defined when the text is read in the 'natural' orientation. For example: * when the text is horizontal it might look like: 0----1 | | 3----2 * when it's rotated 180 degrees around the top-left corner it becomes: 2----3 | | 1----0 and the vertex order will still be (0, 1, 2, 3)." +}, +"confidence": { +"description": "Confidence of the OCR results for the word. Range [0, 1].", +"format": "float", +"type": "number" +}, +"property": { +"$ref": "GoogleCloudVisionV1p4beta1TextAnnotationTextProperty", +"description": "Additional information detected for the word." +}, +"symbols": { +"description": "List of symbols in the word. The order of the symbols follows the natural reading order.", +"items": { +"$ref": "GoogleCloudVisionV1p4beta1Symbol" +}, +"type": "array" +} +}, +"type": "object" +}, +"GroupedResult": { +"description": "Information about the products similar to a single product in a query image.", +"id": "GroupedResult", +"properties": { +"boundingPoly": { +"$ref": "BoundingPoly", +"description": "The bounding polygon around the product detected in the query image." +}, +"objectAnnotations": { +"description": "List of generic predictions for the object in the bounding box.", +"items": { +"$ref": "ObjectAnnotation" +}, +"type": "array" +}, +"results": { +"description": "List of results, one for each product match.", +"items": { +"$ref": "Result" +}, +"type": "array" +} +}, +"type": "object" +}, +"Image": { +"description": "Client image to perform Google Cloud Vision API tasks over.", +"id": "Image", +"properties": { +"content": { +"description": "Image content, represented as a stream of bytes. Note: As with all `bytes` fields, protobuffers use a pure binary representation, whereas JSON representations use base64. Currently, this field only works for BatchAnnotateImages requests. It does not work for AsyncBatchAnnotateImages requests.", +"format": "byte", +"type": "string" +}, +"source": { +"$ref": "ImageSource", +"description": "Google Cloud Storage image location, or publicly-accessible image URL. If both `content` and `source` are provided for an image, `content` takes precedence and is used to perform the image annotation request." +} +}, +"type": "object" +}, +"ImageAnnotationContext": { +"description": "If an image was produced from a file (e.g. a PDF), this message gives information about the source of that image.", +"id": "ImageAnnotationContext", +"properties": { +"pageNumber": { +"description": "If the file was a PDF or TIFF, this field gives the page number within the file used to produce the image.", +"format": "int32", +"type": "integer" +}, +"uri": { +"description": "The URI of the file used to produce the image.", +"type": "string" +} +}, +"type": "object" +}, +"ImageContext": { +"description": "Image context and/or feature-specific parameters.", +"id": "ImageContext", +"properties": { +"cropHintsParams": { +"$ref": "CropHintsParams", +"description": "Parameters for crop hints annotation request." +}, +"languageHints": { +"description": "List of languages to use for TEXT_DETECTION. In most cases, an empty value yields the best results since it enables automatic language detection. For languages based on the Latin alphabet, setting `language_hints` is not needed. In rare cases, when the language of the text in the image is known, setting a hint will help get better results (although it will be a significant hindrance if the hint is wrong). Text detection returns an error if one or more of the specified languages is not one of the [supported languages](https://cloud.google.com/vision/docs/languages).", +"items": { +"type": "string" +}, +"type": "array" +}, +"latLongRect": { +"$ref": "LatLongRect", +"description": "Not used." +}, +"productSearchParams": { +"$ref": "ProductSearchParams", +"description": "Parameters for product search." +}, +"textDetectionParams": { +"$ref": "TextDetectionParams", +"description": "Parameters for text detection and document text detection." +}, +"webDetectionParams": { +"$ref": "WebDetectionParams", +"description": "Parameters for web detection." +} +}, +"type": "object" +}, +"ImageProperties": { +"description": "Stores image properties, such as dominant colors.", +"id": "ImageProperties", +"properties": { +"dominantColors": { +"$ref": "DominantColorsAnnotation", +"description": "If present, dominant colors completed successfully." +} +}, +"type": "object" +}, +"ImageSource": { +"description": "External image source (Google Cloud Storage or web URL image location).", +"id": "ImageSource", +"properties": { +"gcsImageUri": { +"description": "**Use `image_uri` instead.** The Google Cloud Storage URI of the form `gs://bucket_name/object_name`. Object versioning is not supported. See [Google Cloud Storage Request URIs](https://cloud.google.com/storage/docs/reference-uris) for more info.", +"type": "string" +}, +"imageUri": { +"description": "The URI of the source image. Can be either: 1. A Google Cloud Storage URI of the form `gs://bucket_name/object_name`. Object versioning is not supported. See [Google Cloud Storage Request URIs](https://cloud.google.com/storage/docs/reference-uris) for more info. 2. A publicly-accessible image HTTP/HTTPS URL. When fetching images from HTTP/HTTPS URLs, Google cannot guarantee that the request will be completed. Your request may fail if the specified host denies the request (e.g. due to request throttling or DOS prevention), or if Google throttles requests to the site for abuse prevention. You should not depend on externally-hosted images for production applications. When both `gcs_image_uri` and `image_uri` are specified, `image_uri` takes precedence.", +"type": "string" +} +}, +"type": "object" +}, +"ImportProductSetsGcsSource": { +"description": "The Google Cloud Storage location for a csv file which preserves a list of ImportProductSetRequests in each line.", +"id": "ImportProductSetsGcsSource", +"properties": { +"csvFileUri": { +"description": "The Google Cloud Storage URI of the input csv file. The URI must start with `gs://`. The format of the input csv file should be one image per line. In each line, there are 8 columns. 1. image-uri 2. image-id 3. product-set-id 4. product-id 5. product-category 6. product-display-name 7. labels 8. bounding-poly The `image-uri`, `product-set-id`, `product-id`, and `product-category` columns are required. All other columns are optional. If the `ProductSet` or `Product` specified by the `product-set-id` and `product-id` values does not exist, then the system will create a new `ProductSet` or `Product` for the image. In this case, the `product-display-name` column refers to display_name, the `product-category` column refers to product_category, and the `labels` column refers to product_labels. The `image-id` column is optional but must be unique if provided. If it is empty, the system will automatically assign a unique id to the image. The `product-display-name` column is optional. If it is empty, the system sets the display_name field for the product to a space (\" \"). You can update the `display_name` later by using the API. If a `Product` with the specified `product-id` already exists, then the system ignores the `product-display-name`, `product-category`, and `labels` columns. The `labels` column (optional) is a line containing a list of comma-separated key-value pairs, in the following format: \"key_1=value_1,key_2=value_2,...,key_n=value_n\" The `bounding-poly` column (optional) identifies one region of interest from the image in the same manner as `CreateReferenceImage`. If you do not specify the `bounding-poly` column, then the system will try to detect regions of interest automatically. At most one `bounding-poly` column is allowed per line. If the image contains multiple regions of interest, add a line to the CSV file that includes the same product information, and the `bounding-poly` values for each region of interest. The `bounding-poly` column must contain an even number of comma-separated numbers, in the format \"p1_x,p1_y,p2_x,p2_y,...,pn_x,pn_y\". Use non-negative integers for absolute bounding polygons, and float values in [0, 1] for normalized bounding polygons. The system will resize the image if the image resolution is too large to process (larger than 20MP).", +"type": "string" +} +}, +"type": "object" +}, +"ImportProductSetsInputConfig": { +"description": "The input content for the `ImportProductSets` method.", +"id": "ImportProductSetsInputConfig", +"properties": { +"gcsSource": { +"$ref": "ImportProductSetsGcsSource", +"description": "The Google Cloud Storage location for a csv file which preserves a list of ImportProductSetRequests in each line." +} +}, +"type": "object" +}, +"ImportProductSetsRequest": { +"description": "Request message for the `ImportProductSets` method.", +"id": "ImportProductSetsRequest", +"properties": { +"inputConfig": { +"$ref": "ImportProductSetsInputConfig", +"description": "Required. The input content for the list of requests." +} +}, +"type": "object" +}, +"ImportProductSetsResponse": { +"description": "Response message for the `ImportProductSets` method. This message is returned by the google.longrunning.Operations.GetOperation method in the returned google.longrunning.Operation.response field.", +"id": "ImportProductSetsResponse", +"properties": { +"referenceImages": { +"description": "The list of reference_images that are imported successfully.", +"items": { +"$ref": "ReferenceImage" +}, +"type": "array" +}, +"statuses": { +"description": "The rpc status for each ImportProductSet request, including both successes and errors. The number of statuses here matches the number of lines in the csv file, and statuses[i] stores the success or failure status of processing the i-th line of the csv, starting from line 0.", +"items": { +"$ref": "Status" +}, +"type": "array" +} +}, +"type": "object" +}, +"InputConfig": { +"description": "The desired input location and metadata.", +"id": "InputConfig", +"properties": { +"content": { +"description": "File content, represented as a stream of bytes. Note: As with all `bytes` fields, protobuffers use a pure binary representation, whereas JSON representations use base64. Currently, this field only works for BatchAnnotateFiles requests. It does not work for AsyncBatchAnnotateFiles requests.", +"format": "byte", +"type": "string" +}, +"gcsSource": { +"$ref": "GcsSource", +"description": "The Google Cloud Storage location to read the input from." +}, +"mimeType": { +"description": "The type of the file. Currently only \"application/pdf\", \"image/tiff\" and \"image/gif\" are supported. Wildcards are not supported.", +"type": "string" +} +}, +"type": "object" +}, +"KeyValue": { +"description": "A product label represented as a key-value pair.", +"id": "KeyValue", +"properties": { +"key": { +"description": "The key of the label attached to the product. Cannot be empty and cannot exceed 128 bytes.", +"type": "string" +}, +"value": { +"description": "The value of the label attached to the product. Cannot be empty and cannot exceed 128 bytes.", +"type": "string" +} +}, +"type": "object" +}, +"Landmark": { +"description": "A face-specific landmark (for example, a face feature). Landmark positions may fall outside the bounds of the image if the face is near one or more edges of the image. Therefore it is NOT guaranteed that `0 <= x < width` or `0 <= y < height`.", +"id": "Landmark", +"properties": { +"position": { +"$ref": "Position", +"description": "Face landmark position." +}, +"type": { +"description": "Face landmark type.", +"enum": [ +"UNKNOWN_LANDMARK", +"LEFT_EYE", +"RIGHT_EYE", +"LEFT_OF_LEFT_EYEBROW", +"RIGHT_OF_LEFT_EYEBROW", +"LEFT_OF_RIGHT_EYEBROW", +"RIGHT_OF_RIGHT_EYEBROW", +"MIDPOINT_BETWEEN_EYES", +"NOSE_TIP", +"UPPER_LIP", +"LOWER_LIP", +"MOUTH_LEFT", +"MOUTH_RIGHT", +"MOUTH_CENTER", +"NOSE_BOTTOM_RIGHT", +"NOSE_BOTTOM_LEFT", +"NOSE_BOTTOM_CENTER", +"LEFT_EYE_TOP_BOUNDARY", +"LEFT_EYE_RIGHT_CORNER", +"LEFT_EYE_BOTTOM_BOUNDARY", +"LEFT_EYE_LEFT_CORNER", +"RIGHT_EYE_TOP_BOUNDARY", +"RIGHT_EYE_RIGHT_CORNER", +"RIGHT_EYE_BOTTOM_BOUNDARY", +"RIGHT_EYE_LEFT_CORNER", +"LEFT_EYEBROW_UPPER_MIDPOINT", +"RIGHT_EYEBROW_UPPER_MIDPOINT", +"LEFT_EAR_TRAGION", +"RIGHT_EAR_TRAGION", +"LEFT_EYE_PUPIL", +"RIGHT_EYE_PUPIL", +"FOREHEAD_GLABELLA", +"CHIN_GNATHION", +"CHIN_LEFT_GONION", +"CHIN_RIGHT_GONION", +"LEFT_CHEEK_CENTER", +"RIGHT_CHEEK_CENTER" +], +"enumDescriptions": [ +"Unknown face landmark detected. Should not be filled.", +"Left eye.", +"Right eye.", +"Left of left eyebrow.", +"Right of left eyebrow.", +"Left of right eyebrow.", +"Right of right eyebrow.", +"Midpoint between eyes.", +"Nose tip.", +"Upper lip.", +"Lower lip.", +"Mouth left.", +"Mouth right.", +"Mouth center.", +"Nose, bottom right.", +"Nose, bottom left.", +"Nose, bottom center.", +"Left eye, top boundary.", +"Left eye, right corner.", +"Left eye, bottom boundary.", +"Left eye, left corner.", +"Right eye, top boundary.", +"Right eye, right corner.", +"Right eye, bottom boundary.", +"Right eye, left corner.", +"Left eyebrow, upper midpoint.", +"Right eyebrow, upper midpoint.", +"Left ear tragion.", +"Right ear tragion.", +"Left eye pupil.", +"Right eye pupil.", +"Forehead glabella.", +"Chin gnathion.", +"Chin left gonion.", +"Chin right gonion.", +"Left cheek center.", +"Right cheek center." +], +"type": "string" +} +}, +"type": "object" +}, +"LatLng": { +"description": "An object that represents a latitude/longitude pair. This is expressed as a pair of doubles to represent degrees latitude and degrees longitude. Unless specified otherwise, this object must conform to the WGS84 standard. Values must be within normalized ranges.", +"id": "LatLng", +"properties": { +"latitude": { +"description": "The latitude in degrees. It must be in the range [-90.0, +90.0].", +"format": "double", +"type": "number" +}, +"longitude": { +"description": "The longitude in degrees. It must be in the range [-180.0, +180.0].", +"format": "double", +"type": "number" +} +}, +"type": "object" +}, +"LatLongRect": { +"description": "Rectangle determined by min and max `LatLng` pairs.", +"id": "LatLongRect", +"properties": { +"maxLatLng": { +"$ref": "LatLng", +"description": "Max lat/long pair." +}, +"minLatLng": { +"$ref": "LatLng", +"description": "Min lat/long pair." +} +}, +"type": "object" +}, +"ListOperationsResponse": { +"description": "The response message for Operations.ListOperations.", +"id": "ListOperationsResponse", +"properties": { +"nextPageToken": { +"description": "The standard List next-page token.", +"type": "string" +}, +"operations": { +"description": "A list of operations that matches the specified filter in the request.", +"items": { +"$ref": "Operation" +}, +"type": "array" +}, +"unreachable": { +"description": "Unordered list. Unreachable resources. Populated when the request sets `ListOperationsRequest.return_partial_success` and reads across collections. For example, when attempting to list all resources across all supported locations.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListProductSetsResponse": { +"description": "Response message for the `ListProductSets` method.", +"id": "ListProductSetsResponse", +"properties": { +"nextPageToken": { +"description": "Token to retrieve the next page of results, or empty if there are no more results in the list.", +"type": "string" +}, +"productSets": { +"description": "List of ProductSets.", +"items": { +"$ref": "ProductSet" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListProductsInProductSetResponse": { +"description": "Response message for the `ListProductsInProductSet` method.", +"id": "ListProductsInProductSetResponse", +"properties": { +"nextPageToken": { +"description": "Token to retrieve the next page of results, or empty if there are no more results in the list.", +"type": "string" +}, +"products": { +"description": "The list of Products.", +"items": { +"$ref": "Product" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListProductsResponse": { +"description": "Response message for the `ListProducts` method.", +"id": "ListProductsResponse", +"properties": { +"nextPageToken": { +"description": "Token to retrieve the next page of results, or empty if there are no more results in the list.", +"type": "string" +}, +"products": { +"description": "List of products.", +"items": { +"$ref": "Product" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListReferenceImagesResponse": { +"description": "Response message for the `ListReferenceImages` method.", +"id": "ListReferenceImagesResponse", +"properties": { +"nextPageToken": { +"description": "The next_page_token returned from a previous List request, if any.", +"type": "string" +}, +"pageSize": { +"description": "The maximum number of items to return. Default 10, maximum 100.", +"format": "int32", +"type": "integer" +}, +"referenceImages": { +"description": "The list of reference images.", +"items": { +"$ref": "ReferenceImage" +}, +"type": "array" +} +}, +"type": "object" +}, +"LocalizedObjectAnnotation": { +"description": "Set of detected objects with bounding boxes.", +"id": "LocalizedObjectAnnotation", +"properties": { +"boundingPoly": { +"$ref": "BoundingPoly", +"description": "Image region to which this object belongs. This must be populated." +}, +"languageCode": { +"description": "The BCP-47 language code, such as \"en-US\" or \"sr-Latn\". For more information, see http://www.unicode.org/reports/tr35/#Unicode_locale_identifier.", +"type": "string" +}, +"mid": { +"description": "Object ID that should align with EntityAnnotation mid.", +"type": "string" +}, +"name": { +"description": "Object name, expressed in its `language_code` language.", +"type": "string" +}, +"score": { +"description": "Score of the result. Range [0, 1].", +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"LocationInfo": { +"description": "Detected entity location information.", +"id": "LocationInfo", +"properties": { +"latLng": { +"$ref": "LatLng", +"description": "lat/long location coordinates." +} +}, +"type": "object" +}, +"NormalizedVertex": { +"description": "A vertex represents a 2D point in the image. NOTE: the normalized vertex coordinates are relative to the original image and range from 0 to 1.", +"id": "NormalizedVertex", +"properties": { +"x": { +"description": "X coordinate.", +"format": "float", +"type": "number" +}, +"y": { +"description": "Y coordinate.", +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"ObjectAnnotation": { +"description": "Prediction for what the object in the bounding box is.", +"id": "ObjectAnnotation", +"properties": { +"languageCode": { +"description": "The BCP-47 language code, such as \"en-US\" or \"sr-Latn\". For more information, see http://www.unicode.org/reports/tr35/#Unicode_locale_identifier.", +"type": "string" +}, +"mid": { +"description": "Object ID that should align with EntityAnnotation mid.", +"type": "string" +}, +"name": { +"description": "Object name, expressed in its `language_code` language.", +"type": "string" +}, +"score": { +"description": "Score of the result. Range [0, 1].", +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"Operation": { +"description": "This resource represents a long-running operation that is the result of a network API call.", +"id": "Operation", +"properties": { +"done": { +"description": "If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.", +"type": "boolean" +}, +"error": { +"$ref": "Status", +"description": "The error result of the operation in case of failure or cancellation." +}, +"metadata": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.", +"type": "object" +}, +"name": { +"description": "The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.", +"type": "string" +}, +"response": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "The normal, successful response of the operation. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.", +"type": "object" +} +}, +"type": "object" +}, +"OperationMetadata": { +"description": "Contains metadata for the BatchAnnotateImages operation.", +"id": "OperationMetadata", +"properties": { +"createTime": { +"description": "The time when the batch request was received.", +"format": "google-datetime", +"type": "string" +}, +"state": { +"description": "Current state of the batch operation.", +"enum": [ +"STATE_UNSPECIFIED", +"CREATED", +"RUNNING", +"DONE", +"CANCELLED" +], +"enumDescriptions": [ +"Invalid.", +"Request is received.", +"Request is actively being processed.", +"The batch processing is done.", +"The batch processing was cancelled." +], +"type": "string" +}, +"updateTime": { +"description": "The time when the operation result was last updated.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"OutputConfig": { +"description": "The desired output location and metadata.", +"id": "OutputConfig", +"properties": { +"batchSize": { +"description": "The max number of response protos to put into each output JSON file on Google Cloud Storage. The valid range is [1, 100]. If not specified, the default value is 20. For example, for one pdf file with 100 pages, 100 response protos will be generated. If `batch_size` = 20, then 5 json files each containing 20 response protos will be written under the prefix `gcs_destination`.`uri`. Currently, batch_size only applies to GcsDestination, with potential future support for other output configurations.", +"format": "int32", +"type": "integer" +}, +"gcsDestination": { +"$ref": "GcsDestination", +"description": "The Google Cloud Storage location to write the output(s) to." +} +}, +"type": "object" +}, +"Page": { +"description": "Detected page from OCR.", +"id": "Page", +"properties": { +"blocks": { +"description": "List of blocks of text, images etc on this page.", +"items": { +"$ref": "Block" +}, +"type": "array" +}, +"confidence": { +"description": "Confidence of the OCR results on the page. Range [0, 1].", +"format": "float", +"type": "number" +}, +"height": { +"description": "Page height. For PDFs the unit is points. For images (including TIFFs) the unit is pixels.", +"format": "int32", +"type": "integer" +}, +"property": { +"$ref": "TextProperty", +"description": "Additional information detected on the page." +}, +"width": { +"description": "Page width. For PDFs the unit is points. For images (including TIFFs) the unit is pixels.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"Paragraph": { +"description": "Structural unit of text representing a number of words in certain order.", +"id": "Paragraph", +"properties": { +"boundingBox": { +"$ref": "BoundingPoly", +"description": "The bounding box for the paragraph. The vertices are in the order of top-left, top-right, bottom-right, bottom-left. When a rotation of the bounding box is detected the rotation is represented as around the top-left corner as defined when the text is read in the 'natural' orientation. For example: * when the text is horizontal it might look like: 0----1 | | 3----2 * when it's rotated 180 degrees around the top-left corner it becomes: 2----3 | | 1----0 and the vertex order will still be (0, 1, 2, 3)." +}, +"confidence": { +"description": "Confidence of the OCR results for the paragraph. Range [0, 1].", +"format": "float", +"type": "number" +}, +"property": { +"$ref": "TextProperty", +"description": "Additional information detected for the paragraph." +}, +"words": { +"description": "List of all words in this paragraph.", +"items": { +"$ref": "Word" +}, +"type": "array" +} +}, +"type": "object" +}, +"Position": { +"description": "A 3D position in the image, used primarily for Face detection landmarks. A valid Position must have both x and y coordinates. The position coordinates are in the same scale as the original image.", +"id": "Position", +"properties": { +"x": { +"description": "X coordinate.", +"format": "float", +"type": "number" +}, +"y": { +"description": "Y coordinate.", +"format": "float", +"type": "number" +}, +"z": { +"description": "Z coordinate (or depth).", +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"Product": { +"description": "A Product contains ReferenceImages.", +"id": "Product", +"properties": { +"description": { +"description": "User-provided metadata to be stored with this product. Must be at most 4096 characters long.", +"type": "string" +}, +"displayName": { +"description": "The user-provided name for this Product. Must not be empty. Must be at most 4096 characters long.", +"type": "string" +}, +"name": { +"description": "The resource name of the product. Format is: `projects/PROJECT_ID/locations/LOC_ID/products/PRODUCT_ID`. This field is ignored when creating a product.", +"type": "string" +}, +"productCategory": { +"description": "Immutable. The category for the product identified by the reference image. This should be one of \"homegoods-v2\", \"apparel-v2\", \"toys-v2\", \"packagedgoods-v1\" or \"general-v1\". The legacy categories \"homegoods\", \"apparel\", and \"toys\" are still supported, but these should not be used for new products.", +"type": "string" +}, +"productLabels": { +"description": "Key-value pairs that can be attached to a product. At query time, constraints can be specified based on the product_labels. Note that integer values can be provided as strings, e.g. \"1199\". Only strings with integer values can match a range-based restriction which is to be supported soon. Multiple values can be assigned to the same key. One product may have up to 500 product_labels. Notice that the total number of distinct product_labels over all products in one ProductSet cannot exceed 1M, otherwise the product search pipeline will refuse to work for that ProductSet.", +"items": { +"$ref": "KeyValue" +}, +"type": "array" +} +}, +"type": "object" +}, +"ProductSearchParams": { +"description": "Parameters for a product search request.", +"id": "ProductSearchParams", +"properties": { +"boundingPoly": { +"$ref": "BoundingPoly", +"description": "The bounding polygon around the area of interest in the image. If it is not specified, system discretion will be applied." +}, +"filter": { +"description": "The filtering expression. This can be used to restrict search results based on Product labels. We currently support an AND of OR of key-value expressions, where each expression within an OR must have the same key. An '=' should be used to connect the key and value. For example, \"(color = red OR color = blue) AND brand = Google\" is acceptable, but \"(color = red OR brand = Google)\" is not acceptable. \"color: red\" is not acceptable because it uses a ':' instead of an '='.", +"type": "string" +}, +"productCategories": { +"description": "The list of product categories to search in. Currently, we only consider the first category, and either \"homegoods-v2\", \"apparel-v2\", \"toys-v2\", \"packagedgoods-v1\", or \"general-v1\" should be specified. The legacy categories \"homegoods\", \"apparel\", and \"toys\" are still supported but will be deprecated. For new products, please use \"homegoods-v2\", \"apparel-v2\", or \"toys-v2\" for better product search accuracy. It is recommended to migrate existing products to these categories as well.", +"items": { +"type": "string" +}, +"type": "array" +}, +"productSet": { +"description": "The resource name of a ProductSet to be searched for similar images. Format is: `projects/PROJECT_ID/locations/LOC_ID/productSets/PRODUCT_SET_ID`.", +"type": "string" +} +}, +"type": "object" +}, +"ProductSearchResults": { +"description": "Results for a product search request.", +"id": "ProductSearchResults", +"properties": { +"indexTime": { +"description": "Timestamp of the index which provided these results. Products added to the product set and products removed from the product set after this time are not reflected in the current results.", +"format": "google-datetime", +"type": "string" +}, +"productGroupedResults": { +"description": "List of results grouped by products detected in the query image. Each entry corresponds to one bounding polygon in the query image, and contains the matching products specific to that region. There may be duplicate product matches in the union of all the per-product results.", +"items": { +"$ref": "GroupedResult" +}, +"type": "array" +}, +"results": { +"description": "List of results, one for each product match.", +"items": { +"$ref": "Result" +}, +"type": "array" +} +}, +"type": "object" +}, +"ProductSet": { +"description": "A ProductSet contains Products. A ProductSet can contain a maximum of 1 million reference images. If the limit is exceeded, periodic indexing will fail.", +"id": "ProductSet", +"properties": { +"displayName": { +"description": "The user-provided name for this ProductSet. Must not be empty. Must be at most 4096 characters long.", +"type": "string" +}, +"indexError": { +"$ref": "Status", +"description": "Output only. If there was an error with indexing the product set, the field is populated. This field is ignored when creating a ProductSet.", +"readOnly": true +}, +"indexTime": { +"description": "Output only. The time at which this ProductSet was last indexed. Query results will reflect all updates before this time. If this ProductSet has never been indexed, this timestamp is the default value \"1970-01-01T00:00:00Z\". This field is ignored when creating a ProductSet.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"name": { +"description": "The resource name of the ProductSet. Format is: `projects/PROJECT_ID/locations/LOC_ID/productSets/PRODUCT_SET_ID`. This field is ignored when creating a ProductSet.", +"type": "string" +} +}, +"type": "object" +}, +"ProductSetPurgeConfig": { +"description": "Config to control which ProductSet contains the Products to be deleted.", +"id": "ProductSetPurgeConfig", +"properties": { +"productSetId": { +"description": "The ProductSet that contains the Products to delete. If a Product is a member of product_set_id in addition to other ProductSets, the Product will still be deleted.", +"type": "string" +} +}, +"type": "object" +}, +"Property": { +"description": "A `Property` consists of a user-supplied name/value pair.", +"id": "Property", +"properties": { +"name": { +"description": "Name of the property.", +"type": "string" +}, +"uint64Value": { +"description": "Value of numeric properties.", +"format": "uint64", +"type": "string" +}, +"value": { +"description": "Value of the property.", +"type": "string" +} +}, +"type": "object" +}, +"PurgeProductsRequest": { +"description": "Request message for the `PurgeProducts` method.", +"id": "PurgeProductsRequest", +"properties": { +"deleteOrphanProducts": { +"description": "If delete_orphan_products is true, all Products that are not in any ProductSet will be deleted.", +"type": "boolean" +}, +"force": { +"description": "The default value is false. Override this value to true to actually perform the purge.", +"type": "boolean" +}, +"productSetPurgeConfig": { +"$ref": "ProductSetPurgeConfig", +"description": "Specify which ProductSet contains the Products to be deleted." +} +}, +"type": "object" +}, +"ReferenceImage": { +"description": "A `ReferenceImage` represents a product image and its associated metadata, such as bounding boxes.", +"id": "ReferenceImage", +"properties": { +"boundingPolys": { +"description": "Optional. Bounding polygons around the areas of interest in the reference image. If this field is empty, the system will try to detect regions of interest. At most 10 bounding polygons will be used. The provided shape is converted into a non-rotated rectangle. Once converted, the small edge of the rectangle must be greater than or equal to 300 pixels. The aspect ratio must be 1:4 or less (i.e. 1:3 is ok; 1:5 is not).", +"items": { +"$ref": "BoundingPoly" +}, +"type": "array" +}, +"name": { +"description": "The resource name of the reference image. Format is: `projects/PROJECT_ID/locations/LOC_ID/products/PRODUCT_ID/referenceImages/IMAGE_ID`. This field is ignored when creating a reference image.", +"type": "string" +}, +"uri": { +"description": "Required. The Google Cloud Storage URI of the reference image. The URI must start with `gs://`.", +"type": "string" +} +}, +"type": "object" +}, +"RemoveProductFromProductSetRequest": { +"description": "Request message for the `RemoveProductFromProductSet` method.", +"id": "RemoveProductFromProductSetRequest", +"properties": { +"product": { +"description": "Required. The resource name for the Product to be removed from this ProductSet. Format is: `projects/PROJECT_ID/locations/LOC_ID/products/PRODUCT_ID`", +"type": "string" +} +}, +"type": "object" +}, +"Result": { +"description": "Information about a product.", +"id": "Result", +"properties": { +"image": { +"description": "The resource name of the image from the product that is the closest match to the query.", +"type": "string" +}, +"product": { +"$ref": "Product", +"description": "The Product." +}, +"score": { +"description": "A confidence level on the match, ranging from 0 (no confidence) to 1 (full confidence).", +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"SafeSearchAnnotation": { +"description": "Set of features pertaining to the image, computed by computer vision methods over safe-search verticals (for example, adult, spoof, medical, violence).", +"id": "SafeSearchAnnotation", +"properties": { +"adult": { +"description": "Represents the adult content likelihood for the image. Adult content may contain elements such as nudity, pornographic images or cartoons, or sexual activities.", +"enum": [ +"UNKNOWN", +"VERY_UNLIKELY", +"UNLIKELY", +"POSSIBLE", +"LIKELY", +"VERY_LIKELY" +], +"enumDescriptions": [ +"Unknown likelihood.", +"It is very unlikely.", +"It is unlikely.", +"It is possible.", +"It is likely.", +"It is very likely." +], +"type": "string" +}, +"medical": { +"description": "Likelihood that this is a medical image.", +"enum": [ +"UNKNOWN", +"VERY_UNLIKELY", +"UNLIKELY", +"POSSIBLE", +"LIKELY", +"VERY_LIKELY" +], +"enumDescriptions": [ +"Unknown likelihood.", +"It is very unlikely.", +"It is unlikely.", +"It is possible.", +"It is likely.", +"It is very likely." +], +"type": "string" +}, +"racy": { +"description": "Likelihood that the request image contains racy content. Racy content may include (but is not limited to) skimpy or sheer clothing, strategically covered nudity, lewd or provocative poses, or close-ups of sensitive body areas.", +"enum": [ +"UNKNOWN", +"VERY_UNLIKELY", +"UNLIKELY", +"POSSIBLE", +"LIKELY", +"VERY_LIKELY" +], +"enumDescriptions": [ +"Unknown likelihood.", +"It is very unlikely.", +"It is unlikely.", +"It is possible.", +"It is likely.", +"It is very likely." +], +"type": "string" +}, +"spoof": { +"description": "Spoof likelihood. The likelihood that an modification was made to the image's canonical version to make it appear funny or offensive.", +"enum": [ +"UNKNOWN", +"VERY_UNLIKELY", +"UNLIKELY", +"POSSIBLE", +"LIKELY", +"VERY_LIKELY" +], +"enumDescriptions": [ +"Unknown likelihood.", +"It is very unlikely.", +"It is unlikely.", +"It is possible.", +"It is likely.", +"It is very likely." +], +"type": "string" +}, +"violence": { +"description": "Likelihood that this image contains violent content. Violent content may include death, serious harm, or injury to individuals or groups of individuals.", +"enum": [ +"UNKNOWN", +"VERY_UNLIKELY", +"UNLIKELY", +"POSSIBLE", +"LIKELY", +"VERY_LIKELY" +], +"enumDescriptions": [ +"Unknown likelihood.", +"It is very unlikely.", +"It is unlikely.", +"It is possible.", +"It is likely.", +"It is very likely." +], +"type": "string" +} +}, +"type": "object" +}, +"Status": { +"description": "The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors).", +"id": "Status", +"properties": { +"code": { +"description": "The status code, which should be an enum value of google.rpc.Code.", +"format": "int32", +"type": "integer" +}, +"details": { +"description": "A list of messages that carry the error details. There is a common set of message types for APIs to use.", +"items": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.", +"type": "string" +} +}, +"type": "object" +}, +"Symbol": { +"description": "A single symbol representation.", +"id": "Symbol", +"properties": { +"boundingBox": { +"$ref": "BoundingPoly", +"description": "The bounding box for the symbol. The vertices are in the order of top-left, top-right, bottom-right, bottom-left. When a rotation of the bounding box is detected the rotation is represented as around the top-left corner as defined when the text is read in the 'natural' orientation. For example: * when the text is horizontal it might look like: 0----1 | | 3----2 * when it's rotated 180 degrees around the top-left corner it becomes: 2----3 | | 1----0 and the vertex order will still be (0, 1, 2, 3)." +}, +"confidence": { +"description": "Confidence of the OCR results for the symbol. Range [0, 1].", +"format": "float", +"type": "number" +}, +"property": { +"$ref": "TextProperty", +"description": "Additional information detected for the symbol." +}, +"text": { +"description": "The actual UTF-8 representation of the symbol.", +"type": "string" +} +}, +"type": "object" +}, +"TextAnnotation": { +"description": "TextAnnotation contains a structured representation of OCR extracted text. The hierarchy of an OCR extracted text structure is like this: TextAnnotation -> Page -> Block -> Paragraph -> Word -> Symbol Each structural component, starting from Page, may further have their own properties. Properties describe detected languages, breaks etc.. Please refer to the TextAnnotation.TextProperty message definition below for more detail.", +"id": "TextAnnotation", +"properties": { +"pages": { +"description": "List of pages detected by OCR.", +"items": { +"$ref": "Page" +}, +"type": "array" +}, +"text": { +"description": "UTF-8 text detected on the pages.", +"type": "string" +} +}, +"type": "object" +}, +"TextDetectionParams": { +"description": "Parameters for text detections. This is used to control TEXT_DETECTION and DOCUMENT_TEXT_DETECTION features.", +"id": "TextDetectionParams", +"properties": { +"advancedOcrOptions": { +"description": "A list of advanced OCR options to further fine-tune OCR behavior. Current valid values are: - `legacy_layout`: a heuristics layout detection algorithm, which serves as an alternative to the current ML-based layout detection algorithm. Customers can choose the best suitable layout algorithm based on their situation.", +"items": { +"type": "string" +}, +"type": "array" +}, +"enableTextDetectionConfidenceScore": { +"description": "By default, Cloud Vision API only includes confidence score for DOCUMENT_TEXT_DETECTION result. Set the flag to true to include confidence score for TEXT_DETECTION as well.", +"type": "boolean" +} +}, +"type": "object" +}, +"TextProperty": { +"description": "Additional information detected on the structural component.", +"id": "TextProperty", +"properties": { +"detectedBreak": { +"$ref": "DetectedBreak", +"description": "Detected start or end of a text segment." +}, +"detectedLanguages": { +"description": "A list of detected languages together with confidence.", +"items": { +"$ref": "DetectedLanguage" +}, +"type": "array" +} +}, +"type": "object" +}, +"Vertex": { +"description": "A vertex represents a 2D point in the image. NOTE: the vertex coordinates are in the same scale as the original image.", +"id": "Vertex", +"properties": { +"x": { +"description": "X coordinate.", +"format": "int32", +"type": "integer" +}, +"y": { +"description": "Y coordinate.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"WebDetection": { +"description": "Relevant information for the image from the Internet.", +"id": "WebDetection", +"properties": { +"bestGuessLabels": { +"description": "The service's best guess as to the topic of the request image. Inferred from similar images on the open web.", +"items": { +"$ref": "WebLabel" +}, +"type": "array" +}, +"fullMatchingImages": { +"description": "Fully matching images from the Internet. Can include resized copies of the query image.", +"items": { +"$ref": "WebImage" +}, +"type": "array" +}, +"pagesWithMatchingImages": { +"description": "Web pages containing the matching images from the Internet.", +"items": { +"$ref": "WebPage" +}, +"type": "array" +}, +"partialMatchingImages": { +"description": "Partial matching images from the Internet. Those images are similar enough to share some key-point features. For example an original image will likely have partial matching for its crops.", +"items": { +"$ref": "WebImage" +}, +"type": "array" +}, +"visuallySimilarImages": { +"description": "The visually similar image results.", +"items": { +"$ref": "WebImage" +}, +"type": "array" +}, +"webEntities": { +"description": "Deduced entities from similar images on the Internet.", +"items": { +"$ref": "WebEntity" +}, +"type": "array" +} +}, +"type": "object" +}, +"WebDetectionParams": { +"description": "Parameters for web detection request.", +"id": "WebDetectionParams", +"properties": { +"includeGeoResults": { +"deprecated": true, +"description": "This field has no effect on results.", +"type": "boolean" +} +}, +"type": "object" +}, +"WebEntity": { +"description": "Entity deduced from similar images on the Internet.", +"id": "WebEntity", +"properties": { +"description": { +"description": "Canonical description of the entity, in English.", +"type": "string" +}, +"entityId": { +"description": "Opaque entity ID.", +"type": "string" +}, +"score": { +"description": "Overall relevancy score for the entity. Not normalized and not comparable across different image queries.", +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"WebImage": { +"description": "Metadata for online images.", +"id": "WebImage", +"properties": { +"score": { +"description": "(Deprecated) Overall relevancy score for the image.", +"format": "float", +"type": "number" +}, +"url": { +"description": "The result image URL.", +"type": "string" +} +}, +"type": "object" +}, +"WebLabel": { +"description": "Label to provide extra metadata for the web detection.", +"id": "WebLabel", +"properties": { +"label": { +"description": "Label for extra metadata.", +"type": "string" +}, +"languageCode": { +"description": "The BCP-47 language code for `label`, such as \"en-US\" or \"sr-Latn\". For more information, see http://www.unicode.org/reports/tr35/#Unicode_locale_identifier.", +"type": "string" +} +}, +"type": "object" +}, +"WebPage": { +"description": "Metadata for web pages.", +"id": "WebPage", +"properties": { +"fullMatchingImages": { +"description": "Fully matching images on the page. Can include resized copies of the query image.", +"items": { +"$ref": "WebImage" +}, +"type": "array" +}, +"pageTitle": { +"description": "Title for the web page, may contain HTML markups.", +"type": "string" +}, +"partialMatchingImages": { +"description": "Partial matching images on the page. Those images are similar enough to share some key-point features. For example an original image will likely have partial matching for its crops.", +"items": { +"$ref": "WebImage" +}, +"type": "array" +}, +"score": { +"description": "(Deprecated) Overall relevancy score for the web page.", +"format": "float", +"type": "number" +}, +"url": { +"description": "The result web page URL.", +"type": "string" +} +}, +"type": "object" +}, +"Word": { +"description": "A word representation.", +"id": "Word", +"properties": { +"boundingBox": { +"$ref": "BoundingPoly", +"description": "The bounding box for the word. The vertices are in the order of top-left, top-right, bottom-right, bottom-left. When a rotation of the bounding box is detected the rotation is represented as around the top-left corner as defined when the text is read in the 'natural' orientation. For example: * when the text is horizontal it might look like: 0----1 | | 3----2 * when it's rotated 180 degrees around the top-left corner it becomes: 2----3 | | 1----0 and the vertex order will still be (0, 1, 2, 3)." +}, +"confidence": { +"description": "Confidence of the OCR results for the word. Range [0, 1].", +"format": "float", +"type": "number" +}, +"property": { +"$ref": "TextProperty", +"description": "Additional information detected for the word." +}, +"symbols": { +"description": "List of symbols in the word. The order of the symbols follows the natural reading order.", +"items": { +"$ref": "Symbol" +}, +"type": "array" +} +}, +"type": "object" +} +}, +"servicePath": "", +"title": "Cloud Vision API", +"version": "v1", +"version_module": true +} \ No newline at end of file diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/vision.v1p1beta1.json b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/vision.v1p1beta1.json new file mode 100644 index 0000000000000000000000000000000000000000..e5fc252a46b09475a1d29607b5de38e113235b3c --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/vision.v1p1beta1.json @@ -0,0 +1,8373 @@ +{ +"auth": { +"oauth2": { +"scopes": { +"https://www.googleapis.com/auth/cloud-platform": { +"description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." +}, +"https://www.googleapis.com/auth/cloud-vision": { +"description": "Apply machine learning models to understand and label images" +} +} +} +}, +"basePath": "", +"baseUrl": "https://vision.googleapis.com/", +"batchPath": "batch", +"canonicalName": "Vision", +"description": "Integrates Google Vision features, including image labeling, face, logo, and landmark detection, optical character recognition (OCR), and detection of explicit content, into applications.", +"discoveryVersion": "v1", +"documentationLink": "https://cloud.google.com/vision/", +"fullyEncodeReservedExpansion": true, +"icons": { +"x16": "http://www.google.com/images/icons/product/search-16.gif", +"x32": "http://www.google.com/images/icons/product/search-32.gif" +}, +"id": "vision:v1p1beta1", +"kind": "discovery#restDescription", +"mtlsRootUrl": "https://vision.mtls.googleapis.com/", +"name": "vision", +"ownerDomain": "google.com", +"ownerName": "Google", +"parameters": { +"$.xgafv": { +"description": "V1 error format.", +"enum": [ +"1", +"2" +], +"enumDescriptions": [ +"v1 error format", +"v2 error format" +], +"location": "query", +"type": "string" +}, +"access_token": { +"description": "OAuth access token.", +"location": "query", +"type": "string" +}, +"alt": { +"default": "json", +"description": "Data format for response.", +"enum": [ +"json", +"media", +"proto" +], +"enumDescriptions": [ +"Responses with Content-Type of application/json", +"Media download with context-dependent Content-Type", +"Responses with Content-Type of application/x-protobuf" +], +"location": "query", +"type": "string" +}, +"callback": { +"description": "JSONP", +"location": "query", +"type": "string" +}, +"fields": { +"description": "Selector specifying which fields to include in a partial response.", +"location": "query", +"type": "string" +}, +"key": { +"description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", +"location": "query", +"type": "string" +}, +"oauth_token": { +"description": "OAuth 2.0 token for the current user.", +"location": "query", +"type": "string" +}, +"prettyPrint": { +"default": "true", +"description": "Returns response with indentations and line breaks.", +"location": "query", +"type": "boolean" +}, +"quotaUser": { +"description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.", +"location": "query", +"type": "string" +}, +"uploadType": { +"description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", +"location": "query", +"type": "string" +}, +"upload_protocol": { +"description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", +"location": "query", +"type": "string" +} +}, +"protocol": "rest", +"resources": { +"files": { +"methods": { +"annotate": { +"description": "Service that performs image detection and annotation for a batch of files. Now only \"application/pdf\", \"image/tiff\" and \"image/gif\" are supported. This service will extract at most 5 (customers can specify which 5 in AnnotateFileRequest.pages) frames (gif) or pages (pdf or tiff) from each file provided and perform detection and annotation for each image extracted.", +"flatPath": "v1p1beta1/files:annotate", +"httpMethod": "POST", +"id": "vision.files.annotate", +"parameterOrder": [], +"parameters": {}, +"path": "v1p1beta1/files:annotate", +"request": { +"$ref": "GoogleCloudVisionV1p1beta1BatchAnnotateFilesRequest" +}, +"response": { +"$ref": "GoogleCloudVisionV1p1beta1BatchAnnotateFilesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-vision" +] +}, +"asyncBatchAnnotate": { +"description": "Run asynchronous image detection and annotation for a list of generic files, such as PDF files, which may contain multiple pages and multiple images per page. Progress and results can be retrieved through the `google.longrunning.Operations` interface. `Operation.metadata` contains `OperationMetadata` (metadata). `Operation.response` contains `AsyncBatchAnnotateFilesResponse` (results).", +"flatPath": "v1p1beta1/files:asyncBatchAnnotate", +"httpMethod": "POST", +"id": "vision.files.asyncBatchAnnotate", +"parameterOrder": [], +"parameters": {}, +"path": "v1p1beta1/files:asyncBatchAnnotate", +"request": { +"$ref": "GoogleCloudVisionV1p1beta1AsyncBatchAnnotateFilesRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-vision" +] +} +} +}, +"images": { +"methods": { +"annotate": { +"description": "Run image detection and annotation for a batch of images.", +"flatPath": "v1p1beta1/images:annotate", +"httpMethod": "POST", +"id": "vision.images.annotate", +"parameterOrder": [], +"parameters": {}, +"path": "v1p1beta1/images:annotate", +"request": { +"$ref": "GoogleCloudVisionV1p1beta1BatchAnnotateImagesRequest" +}, +"response": { +"$ref": "GoogleCloudVisionV1p1beta1BatchAnnotateImagesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-vision" +] +}, +"asyncBatchAnnotate": { +"description": "Run asynchronous image detection and annotation for a list of images. Progress and results can be retrieved through the `google.longrunning.Operations` interface. `Operation.metadata` contains `OperationMetadata` (metadata). `Operation.response` contains `AsyncBatchAnnotateImagesResponse` (results). This service will write image annotation outputs to json files in customer GCS bucket, each json file containing BatchAnnotateImagesResponse proto.", +"flatPath": "v1p1beta1/images:asyncBatchAnnotate", +"httpMethod": "POST", +"id": "vision.images.asyncBatchAnnotate", +"parameterOrder": [], +"parameters": {}, +"path": "v1p1beta1/images:asyncBatchAnnotate", +"request": { +"$ref": "GoogleCloudVisionV1p1beta1AsyncBatchAnnotateImagesRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-vision" +] +} +} +}, +"projects": { +"resources": { +"files": { +"methods": { +"annotate": { +"description": "Service that performs image detection and annotation for a batch of files. Now only \"application/pdf\", \"image/tiff\" and \"image/gif\" are supported. This service will extract at most 5 (customers can specify which 5 in AnnotateFileRequest.pages) frames (gif) or pages (pdf or tiff) from each file provided and perform detection and annotation for each image extracted.", +"flatPath": "v1p1beta1/projects/{projectsId}/files:annotate", +"httpMethod": "POST", +"id": "vision.projects.files.annotate", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Optional. Target project and location to make a call. Format: `projects/{project-id}/locations/{location-id}`. If no parent is specified, a region will be chosen automatically. Supported location-ids: `us`: USA country only, `asia`: East asia areas, like Japan, Taiwan, `eu`: The European Union. Example: `projects/project-A/locations/eu`.", +"location": "path", +"pattern": "^projects/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1p1beta1/{+parent}/files:annotate", +"request": { +"$ref": "GoogleCloudVisionV1p1beta1BatchAnnotateFilesRequest" +}, +"response": { +"$ref": "GoogleCloudVisionV1p1beta1BatchAnnotateFilesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-vision" +] +}, +"asyncBatchAnnotate": { +"description": "Run asynchronous image detection and annotation for a list of generic files, such as PDF files, which may contain multiple pages and multiple images per page. Progress and results can be retrieved through the `google.longrunning.Operations` interface. `Operation.metadata` contains `OperationMetadata` (metadata). `Operation.response` contains `AsyncBatchAnnotateFilesResponse` (results).", +"flatPath": "v1p1beta1/projects/{projectsId}/files:asyncBatchAnnotate", +"httpMethod": "POST", +"id": "vision.projects.files.asyncBatchAnnotate", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Optional. Target project and location to make a call. Format: `projects/{project-id}/locations/{location-id}`. If no parent is specified, a region will be chosen automatically. Supported location-ids: `us`: USA country only, `asia`: East asia areas, like Japan, Taiwan, `eu`: The European Union. Example: `projects/project-A/locations/eu`.", +"location": "path", +"pattern": "^projects/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1p1beta1/{+parent}/files:asyncBatchAnnotate", +"request": { +"$ref": "GoogleCloudVisionV1p1beta1AsyncBatchAnnotateFilesRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-vision" +] +} +} +}, +"images": { +"methods": { +"annotate": { +"description": "Run image detection and annotation for a batch of images.", +"flatPath": "v1p1beta1/projects/{projectsId}/images:annotate", +"httpMethod": "POST", +"id": "vision.projects.images.annotate", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Optional. Target project and location to make a call. Format: `projects/{project-id}/locations/{location-id}`. If no parent is specified, a region will be chosen automatically. Supported location-ids: `us`: USA country only, `asia`: East asia areas, like Japan, Taiwan, `eu`: The European Union. Example: `projects/project-A/locations/eu`.", +"location": "path", +"pattern": "^projects/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1p1beta1/{+parent}/images:annotate", +"request": { +"$ref": "GoogleCloudVisionV1p1beta1BatchAnnotateImagesRequest" +}, +"response": { +"$ref": "GoogleCloudVisionV1p1beta1BatchAnnotateImagesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-vision" +] +}, +"asyncBatchAnnotate": { +"description": "Run asynchronous image detection and annotation for a list of images. Progress and results can be retrieved through the `google.longrunning.Operations` interface. `Operation.metadata` contains `OperationMetadata` (metadata). `Operation.response` contains `AsyncBatchAnnotateImagesResponse` (results). This service will write image annotation outputs to json files in customer GCS bucket, each json file containing BatchAnnotateImagesResponse proto.", +"flatPath": "v1p1beta1/projects/{projectsId}/images:asyncBatchAnnotate", +"httpMethod": "POST", +"id": "vision.projects.images.asyncBatchAnnotate", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Optional. Target project and location to make a call. Format: `projects/{project-id}/locations/{location-id}`. If no parent is specified, a region will be chosen automatically. Supported location-ids: `us`: USA country only, `asia`: East asia areas, like Japan, Taiwan, `eu`: The European Union. Example: `projects/project-A/locations/eu`.", +"location": "path", +"pattern": "^projects/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1p1beta1/{+parent}/images:asyncBatchAnnotate", +"request": { +"$ref": "GoogleCloudVisionV1p1beta1AsyncBatchAnnotateImagesRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-vision" +] +} +} +}, +"locations": { +"resources": { +"files": { +"methods": { +"annotate": { +"description": "Service that performs image detection and annotation for a batch of files. Now only \"application/pdf\", \"image/tiff\" and \"image/gif\" are supported. This service will extract at most 5 (customers can specify which 5 in AnnotateFileRequest.pages) frames (gif) or pages (pdf or tiff) from each file provided and perform detection and annotation for each image extracted.", +"flatPath": "v1p1beta1/projects/{projectsId}/locations/{locationsId}/files:annotate", +"httpMethod": "POST", +"id": "vision.projects.locations.files.annotate", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Optional. Target project and location to make a call. Format: `projects/{project-id}/locations/{location-id}`. If no parent is specified, a region will be chosen automatically. Supported location-ids: `us`: USA country only, `asia`: East asia areas, like Japan, Taiwan, `eu`: The European Union. Example: `projects/project-A/locations/eu`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1p1beta1/{+parent}/files:annotate", +"request": { +"$ref": "GoogleCloudVisionV1p1beta1BatchAnnotateFilesRequest" +}, +"response": { +"$ref": "GoogleCloudVisionV1p1beta1BatchAnnotateFilesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-vision" +] +}, +"asyncBatchAnnotate": { +"description": "Run asynchronous image detection and annotation for a list of generic files, such as PDF files, which may contain multiple pages and multiple images per page. Progress and results can be retrieved through the `google.longrunning.Operations` interface. `Operation.metadata` contains `OperationMetadata` (metadata). `Operation.response` contains `AsyncBatchAnnotateFilesResponse` (results).", +"flatPath": "v1p1beta1/projects/{projectsId}/locations/{locationsId}/files:asyncBatchAnnotate", +"httpMethod": "POST", +"id": "vision.projects.locations.files.asyncBatchAnnotate", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Optional. Target project and location to make a call. Format: `projects/{project-id}/locations/{location-id}`. If no parent is specified, a region will be chosen automatically. Supported location-ids: `us`: USA country only, `asia`: East asia areas, like Japan, Taiwan, `eu`: The European Union. Example: `projects/project-A/locations/eu`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1p1beta1/{+parent}/files:asyncBatchAnnotate", +"request": { +"$ref": "GoogleCloudVisionV1p1beta1AsyncBatchAnnotateFilesRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-vision" +] +} +} +}, +"images": { +"methods": { +"annotate": { +"description": "Run image detection and annotation for a batch of images.", +"flatPath": "v1p1beta1/projects/{projectsId}/locations/{locationsId}/images:annotate", +"httpMethod": "POST", +"id": "vision.projects.locations.images.annotate", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Optional. Target project and location to make a call. Format: `projects/{project-id}/locations/{location-id}`. If no parent is specified, a region will be chosen automatically. Supported location-ids: `us`: USA country only, `asia`: East asia areas, like Japan, Taiwan, `eu`: The European Union. Example: `projects/project-A/locations/eu`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1p1beta1/{+parent}/images:annotate", +"request": { +"$ref": "GoogleCloudVisionV1p1beta1BatchAnnotateImagesRequest" +}, +"response": { +"$ref": "GoogleCloudVisionV1p1beta1BatchAnnotateImagesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-vision" +] +}, +"asyncBatchAnnotate": { +"description": "Run asynchronous image detection and annotation for a list of images. Progress and results can be retrieved through the `google.longrunning.Operations` interface. `Operation.metadata` contains `OperationMetadata` (metadata). `Operation.response` contains `AsyncBatchAnnotateImagesResponse` (results). This service will write image annotation outputs to json files in customer GCS bucket, each json file containing BatchAnnotateImagesResponse proto.", +"flatPath": "v1p1beta1/projects/{projectsId}/locations/{locationsId}/images:asyncBatchAnnotate", +"httpMethod": "POST", +"id": "vision.projects.locations.images.asyncBatchAnnotate", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Optional. Target project and location to make a call. Format: `projects/{project-id}/locations/{location-id}`. If no parent is specified, a region will be chosen automatically. Supported location-ids: `us`: USA country only, `asia`: East asia areas, like Japan, Taiwan, `eu`: The European Union. Example: `projects/project-A/locations/eu`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1p1beta1/{+parent}/images:asyncBatchAnnotate", +"request": { +"$ref": "GoogleCloudVisionV1p1beta1AsyncBatchAnnotateImagesRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-vision" +] +} +} +} +} +} +} +} +}, +"revision": "20250804", +"rootUrl": "https://vision.googleapis.com/", +"schemas": { +"AnnotateFileResponse": { +"description": "Response to a single file annotation request. A file may contain one or more images, which individually have their own responses.", +"id": "AnnotateFileResponse", +"properties": { +"error": { +"$ref": "Status", +"description": "If set, represents the error message for the failed request. The `responses` field will not be set in this case." +}, +"inputConfig": { +"$ref": "InputConfig", +"description": "Information about the file for which this response is generated." +}, +"responses": { +"description": "Individual responses to images found within the file. This field will be empty if the `error` field is set.", +"items": { +"$ref": "AnnotateImageResponse" +}, +"type": "array" +}, +"totalPages": { +"description": "This field gives the total number of pages in the file.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"AnnotateImageResponse": { +"description": "Response to an image annotation request.", +"id": "AnnotateImageResponse", +"properties": { +"context": { +"$ref": "ImageAnnotationContext", +"description": "If present, contextual information is needed to understand where this image comes from." +}, +"cropHintsAnnotation": { +"$ref": "CropHintsAnnotation", +"description": "If present, crop hints have completed successfully." +}, +"error": { +"$ref": "Status", +"description": "If set, represents the error message for the operation. Note that filled-in image annotations are guaranteed to be correct, even when `error` is set." +}, +"faceAnnotations": { +"description": "If present, face detection has completed successfully.", +"items": { +"$ref": "FaceAnnotation" +}, +"type": "array" +}, +"fullTextAnnotation": { +"$ref": "TextAnnotation", +"description": "If present, text (OCR) detection or document (OCR) text detection has completed successfully. This annotation provides the structural hierarchy for the OCR detected text." +}, +"imagePropertiesAnnotation": { +"$ref": "ImageProperties", +"description": "If present, image properties were extracted successfully." +}, +"labelAnnotations": { +"description": "If present, label detection has completed successfully.", +"items": { +"$ref": "EntityAnnotation" +}, +"type": "array" +}, +"landmarkAnnotations": { +"description": "If present, landmark detection has completed successfully.", +"items": { +"$ref": "EntityAnnotation" +}, +"type": "array" +}, +"localizedObjectAnnotations": { +"description": "If present, localized object detection has completed successfully. This will be sorted descending by confidence score.", +"items": { +"$ref": "LocalizedObjectAnnotation" +}, +"type": "array" +}, +"logoAnnotations": { +"description": "If present, logo detection has completed successfully.", +"items": { +"$ref": "EntityAnnotation" +}, +"type": "array" +}, +"productSearchResults": { +"$ref": "ProductSearchResults", +"description": "If present, product search has completed successfully." +}, +"safeSearchAnnotation": { +"$ref": "SafeSearchAnnotation", +"description": "If present, safe-search annotation has completed successfully." +}, +"textAnnotations": { +"description": "If present, text (OCR) detection has completed successfully.", +"items": { +"$ref": "EntityAnnotation" +}, +"type": "array" +}, +"webDetection": { +"$ref": "WebDetection", +"description": "If present, web detection has completed successfully." +} +}, +"type": "object" +}, +"AsyncAnnotateFileResponse": { +"description": "The response for a single offline file annotation request.", +"id": "AsyncAnnotateFileResponse", +"properties": { +"outputConfig": { +"$ref": "OutputConfig", +"description": "The output location and metadata from AsyncAnnotateFileRequest." +} +}, +"type": "object" +}, +"AsyncBatchAnnotateFilesResponse": { +"description": "Response to an async batch file annotation request.", +"id": "AsyncBatchAnnotateFilesResponse", +"properties": { +"responses": { +"description": "The list of file annotation responses, one for each request in AsyncBatchAnnotateFilesRequest.", +"items": { +"$ref": "AsyncAnnotateFileResponse" +}, +"type": "array" +} +}, +"type": "object" +}, +"AsyncBatchAnnotateImagesResponse": { +"description": "Response to an async batch image annotation request.", +"id": "AsyncBatchAnnotateImagesResponse", +"properties": { +"outputConfig": { +"$ref": "OutputConfig", +"description": "The output location and metadata from AsyncBatchAnnotateImagesRequest." +} +}, +"type": "object" +}, +"BatchAnnotateFilesResponse": { +"description": "A list of file annotation responses.", +"id": "BatchAnnotateFilesResponse", +"properties": { +"responses": { +"description": "The list of file annotation responses, each response corresponding to each AnnotateFileRequest in BatchAnnotateFilesRequest.", +"items": { +"$ref": "AnnotateFileResponse" +}, +"type": "array" +} +}, +"type": "object" +}, +"BatchOperationMetadata": { +"description": "Metadata for the batch operations such as the current state. This is included in the `metadata` field of the `Operation` returned by the `GetOperation` call of the `google::longrunning::Operations` service.", +"id": "BatchOperationMetadata", +"properties": { +"endTime": { +"description": "The time when the batch request is finished and google.longrunning.Operation.done is set to true.", +"format": "google-datetime", +"type": "string" +}, +"state": { +"description": "The current state of the batch operation.", +"enum": [ +"STATE_UNSPECIFIED", +"PROCESSING", +"SUCCESSFUL", +"FAILED", +"CANCELLED" +], +"enumDescriptions": [ +"Invalid.", +"Request is actively being processed.", +"The request is done and at least one item has been successfully processed.", +"The request is done and no item has been successfully processed.", +"The request is done after the longrunning.Operations.CancelOperation has been called by the user. Any records that were processed before the cancel command are output as specified in the request." +], +"type": "string" +}, +"submitTime": { +"description": "The time when the batch request was submitted to the server.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"Block": { +"description": "Logical element on the page.", +"id": "Block", +"properties": { +"blockType": { +"description": "Detected block type (text, image etc) for this block.", +"enum": [ +"UNKNOWN", +"TEXT", +"TABLE", +"PICTURE", +"RULER", +"BARCODE" +], +"enumDescriptions": [ +"Unknown block type.", +"Regular text block.", +"Table block.", +"Image block.", +"Horizontal/vertical line box.", +"Barcode block." +], +"type": "string" +}, +"boundingBox": { +"$ref": "BoundingPoly", +"description": "The bounding box for the block. The vertices are in the order of top-left, top-right, bottom-right, bottom-left. When a rotation of the bounding box is detected the rotation is represented as around the top-left corner as defined when the text is read in the 'natural' orientation. For example: * when the text is horizontal it might look like: 0----1 | | 3----2 * when it's rotated 180 degrees around the top-left corner it becomes: 2----3 | | 1----0 and the vertex order will still be (0, 1, 2, 3)." +}, +"confidence": { +"description": "Confidence of the OCR results on the block. Range [0, 1].", +"format": "float", +"type": "number" +}, +"paragraphs": { +"description": "List of paragraphs in this block (if this blocks is of type text).", +"items": { +"$ref": "Paragraph" +}, +"type": "array" +}, +"property": { +"$ref": "TextProperty", +"description": "Additional information detected for the block." +} +}, +"type": "object" +}, +"BoundingPoly": { +"description": "A bounding polygon for the detected image annotation.", +"id": "BoundingPoly", +"properties": { +"normalizedVertices": { +"description": "The bounding polygon normalized vertices.", +"items": { +"$ref": "NormalizedVertex" +}, +"type": "array" +}, +"vertices": { +"description": "The bounding polygon vertices.", +"items": { +"$ref": "Vertex" +}, +"type": "array" +} +}, +"type": "object" +}, +"Color": { +"description": "Represents a color in the RGBA color space. This representation is designed for simplicity of conversion to and from color representations in various languages over compactness. For example, the fields of this representation can be trivially provided to the constructor of `java.awt.Color` in Java; it can also be trivially provided to UIColor's `+colorWithRed:green:blue:alpha` method in iOS; and, with just a little work, it can be easily formatted into a CSS `rgba()` string in JavaScript. This reference page doesn't have information about the absolute color space that should be used to interpret the RGB value\u2014for example, sRGB, Adobe RGB, DCI-P3, and BT.2020. By default, applications should assume the sRGB color space. When color equality needs to be decided, implementations, unless documented otherwise, treat two colors as equal if all their red, green, blue, and alpha values each differ by at most `1e-5`. Example (Java): import com.google.type.Color; // ... public static java.awt.Color fromProto(Color protocolor) { float alpha = protocolor.hasAlpha() ? protocolor.getAlpha().getValue() : 1.0; return new java.awt.Color( protocolor.getRed(), protocolor.getGreen(), protocolor.getBlue(), alpha); } public static Color toProto(java.awt.Color color) { float red = (float) color.getRed(); float green = (float) color.getGreen(); float blue = (float) color.getBlue(); float denominator = 255.0; Color.Builder resultBuilder = Color .newBuilder() .setRed(red / denominator) .setGreen(green / denominator) .setBlue(blue / denominator); int alpha = color.getAlpha(); if (alpha != 255) { result.setAlpha( FloatValue .newBuilder() .setValue(((float) alpha) / denominator) .build()); } return resultBuilder.build(); } // ... Example (iOS / Obj-C): // ... static UIColor* fromProto(Color* protocolor) { float red = [protocolor red]; float green = [protocolor green]; float blue = [protocolor blue]; FloatValue* alpha_wrapper = [protocolor alpha]; float alpha = 1.0; if (alpha_wrapper != nil) { alpha = [alpha_wrapper value]; } return [UIColor colorWithRed:red green:green blue:blue alpha:alpha]; } static Color* toProto(UIColor* color) { CGFloat red, green, blue, alpha; if (![color getRed:&red green:&green blue:&blue alpha:&alpha]) { return nil; } Color* result = [[Color alloc] init]; [result setRed:red]; [result setGreen:green]; [result setBlue:blue]; if (alpha <= 0.9999) { [result setAlpha:floatWrapperWithValue(alpha)]; } [result autorelease]; return result; } // ... Example (JavaScript): // ... var protoToCssColor = function(rgb_color) { var redFrac = rgb_color.red || 0.0; var greenFrac = rgb_color.green || 0.0; var blueFrac = rgb_color.blue || 0.0; var red = Math.floor(redFrac * 255); var green = Math.floor(greenFrac * 255); var blue = Math.floor(blueFrac * 255); if (!('alpha' in rgb_color)) { return rgbToCssColor(red, green, blue); } var alphaFrac = rgb_color.alpha.value || 0.0; var rgbParams = [red, green, blue].join(','); return ['rgba(', rgbParams, ',', alphaFrac, ')'].join(''); }; var rgbToCssColor = function(red, green, blue) { var rgbNumber = new Number((red << 16) | (green << 8) | blue); var hexString = rgbNumber.toString(16); var missingZeros = 6 - hexString.length; var resultBuilder = ['#']; for (var i = 0; i < missingZeros; i++) { resultBuilder.push('0'); } resultBuilder.push(hexString); return resultBuilder.join(''); }; // ...", +"id": "Color", +"properties": { +"alpha": { +"description": "The fraction of this color that should be applied to the pixel. That is, the final pixel color is defined by the equation: `pixel color = alpha * (this color) + (1.0 - alpha) * (background color)` This means that a value of 1.0 corresponds to a solid color, whereas a value of 0.0 corresponds to a completely transparent color. This uses a wrapper message rather than a simple float scalar so that it is possible to distinguish between a default value and the value being unset. If omitted, this color object is rendered as a solid color (as if the alpha value had been explicitly given a value of 1.0).", +"format": "float", +"type": "number" +}, +"blue": { +"description": "The amount of blue in the color as a value in the interval [0, 1].", +"format": "float", +"type": "number" +}, +"green": { +"description": "The amount of green in the color as a value in the interval [0, 1].", +"format": "float", +"type": "number" +}, +"red": { +"description": "The amount of red in the color as a value in the interval [0, 1].", +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"ColorInfo": { +"description": "Color information consists of RGB channels, score, and the fraction of the image that the color occupies in the image.", +"id": "ColorInfo", +"properties": { +"color": { +"$ref": "Color", +"description": "RGB components of the color." +}, +"pixelFraction": { +"description": "The fraction of pixels the color occupies in the image. Value in range [0, 1].", +"format": "float", +"type": "number" +}, +"score": { +"description": "Image-specific score for this color. Value in range [0, 1].", +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"CropHint": { +"description": "Single crop hint that is used to generate a new crop when serving an image.", +"id": "CropHint", +"properties": { +"boundingPoly": { +"$ref": "BoundingPoly", +"description": "The bounding polygon for the crop region. The coordinates of the bounding box are in the original image's scale." +}, +"confidence": { +"description": "Confidence of this being a salient region. Range [0, 1].", +"format": "float", +"type": "number" +}, +"importanceFraction": { +"description": "Fraction of importance of this salient region with respect to the original image.", +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"CropHintsAnnotation": { +"description": "Set of crop hints that are used to generate new crops when serving images.", +"id": "CropHintsAnnotation", +"properties": { +"cropHints": { +"description": "Crop hint results.", +"items": { +"$ref": "CropHint" +}, +"type": "array" +} +}, +"type": "object" +}, +"DetectedBreak": { +"description": "Detected start or end of a structural component.", +"id": "DetectedBreak", +"properties": { +"isPrefix": { +"description": "True if break prepends the element.", +"type": "boolean" +}, +"type": { +"description": "Detected break type.", +"enum": [ +"UNKNOWN", +"SPACE", +"SURE_SPACE", +"EOL_SURE_SPACE", +"HYPHEN", +"LINE_BREAK" +], +"enumDescriptions": [ +"Unknown break label type.", +"Regular space.", +"Sure space (very wide).", +"Line-wrapping break.", +"End-line hyphen that is not present in text; does not co-occur with `SPACE`, `LEADER_SPACE`, or `LINE_BREAK`.", +"Line break that ends a paragraph." +], +"type": "string" +} +}, +"type": "object" +}, +"DetectedLanguage": { +"description": "Detected language for a structural component.", +"id": "DetectedLanguage", +"properties": { +"confidence": { +"description": "Confidence of detected language. Range [0, 1].", +"format": "float", +"type": "number" +}, +"languageCode": { +"description": "The BCP-47 language code, such as \"en-US\" or \"sr-Latn\". For more information, see http://www.unicode.org/reports/tr35/#Unicode_locale_identifier.", +"type": "string" +} +}, +"type": "object" +}, +"DominantColorsAnnotation": { +"description": "Set of dominant colors and their corresponding scores.", +"id": "DominantColorsAnnotation", +"properties": { +"colors": { +"description": "RGB color values with their score and pixel fraction.", +"items": { +"$ref": "ColorInfo" +}, +"type": "array" +} +}, +"type": "object" +}, +"EntityAnnotation": { +"description": "Set of detected entity features.", +"id": "EntityAnnotation", +"properties": { +"boundingPoly": { +"$ref": "BoundingPoly", +"description": "Image region to which this entity belongs. Not produced for `LABEL_DETECTION` features." +}, +"confidence": { +"deprecated": true, +"description": "**Deprecated. Use `score` instead.** The accuracy of the entity detection in an image. For example, for an image in which the \"Eiffel Tower\" entity is detected, this field represents the confidence that there is a tower in the query image. Range [0, 1].", +"format": "float", +"type": "number" +}, +"description": { +"description": "Entity textual description, expressed in its `locale` language.", +"type": "string" +}, +"locale": { +"description": "The language code for the locale in which the entity textual `description` is expressed.", +"type": "string" +}, +"locations": { +"description": "The location information for the detected entity. Multiple `LocationInfo` elements can be present because one location may indicate the location of the scene in the image, and another location may indicate the location of the place where the image was taken. Location information is usually present for landmarks.", +"items": { +"$ref": "LocationInfo" +}, +"type": "array" +}, +"mid": { +"description": "Opaque entity ID. Some IDs may be available in [Google Knowledge Graph Search API](https://developers.google.com/knowledge-graph/).", +"type": "string" +}, +"properties": { +"description": "Some entities may have optional user-supplied `Property` (name/value) fields, such a score or string that qualifies the entity.", +"items": { +"$ref": "Property" +}, +"type": "array" +}, +"score": { +"description": "Overall score of the result. Range [0, 1].", +"format": "float", +"type": "number" +}, +"topicality": { +"description": "The relevancy of the ICA (Image Content Annotation) label to the image. For example, the relevancy of \"tower\" is likely higher to an image containing the detected \"Eiffel Tower\" than to an image containing a detected distant towering building, even though the confidence that there is a tower in each image may be the same. Range [0, 1].", +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"FaceAnnotation": { +"description": "A face annotation object contains the results of face detection.", +"id": "FaceAnnotation", +"properties": { +"angerLikelihood": { +"description": "Anger likelihood.", +"enum": [ +"UNKNOWN", +"VERY_UNLIKELY", +"UNLIKELY", +"POSSIBLE", +"LIKELY", +"VERY_LIKELY" +], +"enumDescriptions": [ +"Unknown likelihood.", +"It is very unlikely.", +"It is unlikely.", +"It is possible.", +"It is likely.", +"It is very likely." +], +"type": "string" +}, +"blurredLikelihood": { +"description": "Blurred likelihood.", +"enum": [ +"UNKNOWN", +"VERY_UNLIKELY", +"UNLIKELY", +"POSSIBLE", +"LIKELY", +"VERY_LIKELY" +], +"enumDescriptions": [ +"Unknown likelihood.", +"It is very unlikely.", +"It is unlikely.", +"It is possible.", +"It is likely.", +"It is very likely." +], +"type": "string" +}, +"boundingPoly": { +"$ref": "BoundingPoly", +"description": "The bounding polygon around the face. The coordinates of the bounding box are in the original image's scale. The bounding box is computed to \"frame\" the face in accordance with human expectations. It is based on the landmarker results. Note that one or more x and/or y coordinates may not be generated in the `BoundingPoly` (the polygon will be unbounded) if only a partial face appears in the image to be annotated." +}, +"detectionConfidence": { +"description": "Detection confidence. Range [0, 1].", +"format": "float", +"type": "number" +}, +"fdBoundingPoly": { +"$ref": "BoundingPoly", +"description": "The `fd_bounding_poly` bounding polygon is tighter than the `boundingPoly`, and encloses only the skin part of the face. Typically, it is used to eliminate the face from any image analysis that detects the \"amount of skin\" visible in an image. It is not based on the landmarker results, only on the initial face detection, hence the fd (face detection) prefix." +}, +"headwearLikelihood": { +"description": "Headwear likelihood.", +"enum": [ +"UNKNOWN", +"VERY_UNLIKELY", +"UNLIKELY", +"POSSIBLE", +"LIKELY", +"VERY_LIKELY" +], +"enumDescriptions": [ +"Unknown likelihood.", +"It is very unlikely.", +"It is unlikely.", +"It is possible.", +"It is likely.", +"It is very likely." +], +"type": "string" +}, +"joyLikelihood": { +"description": "Joy likelihood.", +"enum": [ +"UNKNOWN", +"VERY_UNLIKELY", +"UNLIKELY", +"POSSIBLE", +"LIKELY", +"VERY_LIKELY" +], +"enumDescriptions": [ +"Unknown likelihood.", +"It is very unlikely.", +"It is unlikely.", +"It is possible.", +"It is likely.", +"It is very likely." +], +"type": "string" +}, +"landmarkingConfidence": { +"description": "Face landmarking confidence. Range [0, 1].", +"format": "float", +"type": "number" +}, +"landmarks": { +"description": "Detected face landmarks.", +"items": { +"$ref": "Landmark" +}, +"type": "array" +}, +"panAngle": { +"description": "Yaw angle, which indicates the leftward/rightward angle that the face is pointing relative to the vertical plane perpendicular to the image. Range [-180,180].", +"format": "float", +"type": "number" +}, +"rollAngle": { +"description": "Roll angle, which indicates the amount of clockwise/anti-clockwise rotation of the face relative to the image vertical about the axis perpendicular to the face. Range [-180,180].", +"format": "float", +"type": "number" +}, +"sorrowLikelihood": { +"description": "Sorrow likelihood.", +"enum": [ +"UNKNOWN", +"VERY_UNLIKELY", +"UNLIKELY", +"POSSIBLE", +"LIKELY", +"VERY_LIKELY" +], +"enumDescriptions": [ +"Unknown likelihood.", +"It is very unlikely.", +"It is unlikely.", +"It is possible.", +"It is likely.", +"It is very likely." +], +"type": "string" +}, +"surpriseLikelihood": { +"description": "Surprise likelihood.", +"enum": [ +"UNKNOWN", +"VERY_UNLIKELY", +"UNLIKELY", +"POSSIBLE", +"LIKELY", +"VERY_LIKELY" +], +"enumDescriptions": [ +"Unknown likelihood.", +"It is very unlikely.", +"It is unlikely.", +"It is possible.", +"It is likely.", +"It is very likely." +], +"type": "string" +}, +"tiltAngle": { +"description": "Pitch angle, which indicates the upwards/downwards angle that the face is pointing relative to the image's horizontal plane. Range [-180,180].", +"format": "float", +"type": "number" +}, +"underExposedLikelihood": { +"description": "Under-exposed likelihood.", +"enum": [ +"UNKNOWN", +"VERY_UNLIKELY", +"UNLIKELY", +"POSSIBLE", +"LIKELY", +"VERY_LIKELY" +], +"enumDescriptions": [ +"Unknown likelihood.", +"It is very unlikely.", +"It is unlikely.", +"It is possible.", +"It is likely.", +"It is very likely." +], +"type": "string" +} +}, +"type": "object" +}, +"GcsDestination": { +"description": "The Google Cloud Storage location where the output will be written to.", +"id": "GcsDestination", +"properties": { +"uri": { +"description": "Google Cloud Storage URI prefix where the results will be stored. Results will be in JSON format and preceded by its corresponding input URI prefix. This field can either represent a gcs file prefix or gcs directory. In either case, the uri should be unique because in order to get all of the output files, you will need to do a wildcard gcs search on the uri prefix you provide. Examples: * File Prefix: gs://bucket-name/here/filenameprefix The output files will be created in gs://bucket-name/here/ and the names of the output files will begin with \"filenameprefix\". * Directory Prefix: gs://bucket-name/some/location/ The output files will be created in gs://bucket-name/some/location/ and the names of the output files could be anything because there was no filename prefix specified. If multiple outputs, each response is still AnnotateFileResponse, each of which contains some subset of the full list of AnnotateImageResponse. Multiple outputs can happen if, for example, the output JSON is too large and overflows into multiple sharded files.", +"type": "string" +} +}, +"type": "object" +}, +"GcsSource": { +"description": "The Google Cloud Storage location where the input will be read from.", +"id": "GcsSource", +"properties": { +"uri": { +"description": "Google Cloud Storage URI for the input file. This must only be a Google Cloud Storage object. Wildcards are not currently supported.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p1beta1AnnotateFileRequest": { +"description": "A request to annotate one single file, e.g. a PDF, TIFF or GIF file.", +"id": "GoogleCloudVisionV1p1beta1AnnotateFileRequest", +"properties": { +"features": { +"description": "Required. Requested features.", +"items": { +"$ref": "GoogleCloudVisionV1p1beta1Feature" +}, +"type": "array" +}, +"imageContext": { +"$ref": "GoogleCloudVisionV1p1beta1ImageContext", +"description": "Additional context that may accompany the image(s) in the file." +}, +"inputConfig": { +"$ref": "GoogleCloudVisionV1p1beta1InputConfig", +"description": "Required. Information about the input file." +}, +"pages": { +"description": "Pages of the file to perform image annotation. Pages starts from 1, we assume the first page of the file is page 1. At most 5 pages are supported per request. Pages can be negative. Page 1 means the first page. Page 2 means the second page. Page -1 means the last page. Page -2 means the second to the last page. If the file is GIF instead of PDF or TIFF, page refers to GIF frames. If this field is empty, by default the service performs image annotation for the first 5 pages of the file.", +"items": { +"format": "int32", +"type": "integer" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p1beta1AnnotateFileResponse": { +"description": "Response to a single file annotation request. A file may contain one or more images, which individually have their own responses.", +"id": "GoogleCloudVisionV1p1beta1AnnotateFileResponse", +"properties": { +"error": { +"$ref": "Status", +"description": "If set, represents the error message for the failed request. The `responses` field will not be set in this case." +}, +"inputConfig": { +"$ref": "GoogleCloudVisionV1p1beta1InputConfig", +"description": "Information about the file for which this response is generated." +}, +"responses": { +"description": "Individual responses to images found within the file. This field will be empty if the `error` field is set.", +"items": { +"$ref": "GoogleCloudVisionV1p1beta1AnnotateImageResponse" +}, +"type": "array" +}, +"totalPages": { +"description": "This field gives the total number of pages in the file.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p1beta1AnnotateImageRequest": { +"description": "Request for performing Google Cloud Vision API tasks over a user-provided image, with user-requested features, and with context information.", +"id": "GoogleCloudVisionV1p1beta1AnnotateImageRequest", +"properties": { +"features": { +"description": "Requested features.", +"items": { +"$ref": "GoogleCloudVisionV1p1beta1Feature" +}, +"type": "array" +}, +"image": { +"$ref": "GoogleCloudVisionV1p1beta1Image", +"description": "The image to be processed." +}, +"imageContext": { +"$ref": "GoogleCloudVisionV1p1beta1ImageContext", +"description": "Additional context that may accompany the image." +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p1beta1AnnotateImageResponse": { +"description": "Response to an image annotation request.", +"id": "GoogleCloudVisionV1p1beta1AnnotateImageResponse", +"properties": { +"context": { +"$ref": "GoogleCloudVisionV1p1beta1ImageAnnotationContext", +"description": "If present, contextual information is needed to understand where this image comes from." +}, +"cropHintsAnnotation": { +"$ref": "GoogleCloudVisionV1p1beta1CropHintsAnnotation", +"description": "If present, crop hints have completed successfully." +}, +"error": { +"$ref": "Status", +"description": "If set, represents the error message for the operation. Note that filled-in image annotations are guaranteed to be correct, even when `error` is set." +}, +"faceAnnotations": { +"description": "If present, face detection has completed successfully.", +"items": { +"$ref": "GoogleCloudVisionV1p1beta1FaceAnnotation" +}, +"type": "array" +}, +"fullTextAnnotation": { +"$ref": "GoogleCloudVisionV1p1beta1TextAnnotation", +"description": "If present, text (OCR) detection or document (OCR) text detection has completed successfully. This annotation provides the structural hierarchy for the OCR detected text." +}, +"imagePropertiesAnnotation": { +"$ref": "GoogleCloudVisionV1p1beta1ImageProperties", +"description": "If present, image properties were extracted successfully." +}, +"labelAnnotations": { +"description": "If present, label detection has completed successfully.", +"items": { +"$ref": "GoogleCloudVisionV1p1beta1EntityAnnotation" +}, +"type": "array" +}, +"landmarkAnnotations": { +"description": "If present, landmark detection has completed successfully.", +"items": { +"$ref": "GoogleCloudVisionV1p1beta1EntityAnnotation" +}, +"type": "array" +}, +"localizedObjectAnnotations": { +"description": "If present, localized object detection has completed successfully. This will be sorted descending by confidence score.", +"items": { +"$ref": "GoogleCloudVisionV1p1beta1LocalizedObjectAnnotation" +}, +"type": "array" +}, +"logoAnnotations": { +"description": "If present, logo detection has completed successfully.", +"items": { +"$ref": "GoogleCloudVisionV1p1beta1EntityAnnotation" +}, +"type": "array" +}, +"productSearchResults": { +"$ref": "GoogleCloudVisionV1p1beta1ProductSearchResults", +"description": "If present, product search has completed successfully." +}, +"safeSearchAnnotation": { +"$ref": "GoogleCloudVisionV1p1beta1SafeSearchAnnotation", +"description": "If present, safe-search annotation has completed successfully." +}, +"textAnnotations": { +"description": "If present, text (OCR) detection has completed successfully.", +"items": { +"$ref": "GoogleCloudVisionV1p1beta1EntityAnnotation" +}, +"type": "array" +}, +"webDetection": { +"$ref": "GoogleCloudVisionV1p1beta1WebDetection", +"description": "If present, web detection has completed successfully." +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p1beta1AsyncAnnotateFileRequest": { +"description": "An offline file annotation request.", +"id": "GoogleCloudVisionV1p1beta1AsyncAnnotateFileRequest", +"properties": { +"features": { +"description": "Required. Requested features.", +"items": { +"$ref": "GoogleCloudVisionV1p1beta1Feature" +}, +"type": "array" +}, +"imageContext": { +"$ref": "GoogleCloudVisionV1p1beta1ImageContext", +"description": "Additional context that may accompany the image(s) in the file." +}, +"inputConfig": { +"$ref": "GoogleCloudVisionV1p1beta1InputConfig", +"description": "Required. Information about the input file." +}, +"outputConfig": { +"$ref": "GoogleCloudVisionV1p1beta1OutputConfig", +"description": "Required. The desired output location and metadata (e.g. format)." +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p1beta1AsyncAnnotateFileResponse": { +"description": "The response for a single offline file annotation request.", +"id": "GoogleCloudVisionV1p1beta1AsyncAnnotateFileResponse", +"properties": { +"outputConfig": { +"$ref": "GoogleCloudVisionV1p1beta1OutputConfig", +"description": "The output location and metadata from AsyncAnnotateFileRequest." +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p1beta1AsyncBatchAnnotateFilesRequest": { +"description": "Multiple async file annotation requests are batched into a single service call.", +"id": "GoogleCloudVisionV1p1beta1AsyncBatchAnnotateFilesRequest", +"properties": { +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. The labels with user-defined metadata for the request. Label keys and values can be no longer than 63 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. Label values are optional. Label keys must start with a letter.", +"type": "object" +}, +"parent": { +"description": "Optional. Target project and location to make a call. Format: `projects/{project-id}/locations/{location-id}`. If no parent is specified, a region will be chosen automatically. Supported location-ids: `us`: USA country only, `asia`: East asia areas, like Japan, Taiwan, `eu`: The European Union. Example: `projects/project-A/locations/eu`.", +"type": "string" +}, +"requests": { +"description": "Required. Individual async file annotation requests for this batch.", +"items": { +"$ref": "GoogleCloudVisionV1p1beta1AsyncAnnotateFileRequest" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p1beta1AsyncBatchAnnotateFilesResponse": { +"description": "Response to an async batch file annotation request.", +"id": "GoogleCloudVisionV1p1beta1AsyncBatchAnnotateFilesResponse", +"properties": { +"responses": { +"description": "The list of file annotation responses, one for each request in AsyncBatchAnnotateFilesRequest.", +"items": { +"$ref": "GoogleCloudVisionV1p1beta1AsyncAnnotateFileResponse" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p1beta1AsyncBatchAnnotateImagesRequest": { +"description": "Request for async image annotation for a list of images.", +"id": "GoogleCloudVisionV1p1beta1AsyncBatchAnnotateImagesRequest", +"properties": { +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. The labels with user-defined metadata for the request. Label keys and values can be no longer than 63 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. Label values are optional. Label keys must start with a letter.", +"type": "object" +}, +"outputConfig": { +"$ref": "GoogleCloudVisionV1p1beta1OutputConfig", +"description": "Required. The desired output location and metadata (e.g. format)." +}, +"parent": { +"description": "Optional. Target project and location to make a call. Format: `projects/{project-id}/locations/{location-id}`. If no parent is specified, a region will be chosen automatically. Supported location-ids: `us`: USA country only, `asia`: East asia areas, like Japan, Taiwan, `eu`: The European Union. Example: `projects/project-A/locations/eu`.", +"type": "string" +}, +"requests": { +"description": "Required. Individual image annotation requests for this batch.", +"items": { +"$ref": "GoogleCloudVisionV1p1beta1AnnotateImageRequest" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p1beta1BatchAnnotateFilesRequest": { +"description": "A list of requests to annotate files using the BatchAnnotateFiles API.", +"id": "GoogleCloudVisionV1p1beta1BatchAnnotateFilesRequest", +"properties": { +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. The labels with user-defined metadata for the request. Label keys and values can be no longer than 63 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. Label values are optional. Label keys must start with a letter.", +"type": "object" +}, +"parent": { +"description": "Optional. Target project and location to make a call. Format: `projects/{project-id}/locations/{location-id}`. If no parent is specified, a region will be chosen automatically. Supported location-ids: `us`: USA country only, `asia`: East asia areas, like Japan, Taiwan, `eu`: The European Union. Example: `projects/project-A/locations/eu`.", +"type": "string" +}, +"requests": { +"description": "Required. The list of file annotation requests. Right now we support only one AnnotateFileRequest in BatchAnnotateFilesRequest.", +"items": { +"$ref": "GoogleCloudVisionV1p1beta1AnnotateFileRequest" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p1beta1BatchAnnotateFilesResponse": { +"description": "A list of file annotation responses.", +"id": "GoogleCloudVisionV1p1beta1BatchAnnotateFilesResponse", +"properties": { +"responses": { +"description": "The list of file annotation responses, each response corresponding to each AnnotateFileRequest in BatchAnnotateFilesRequest.", +"items": { +"$ref": "GoogleCloudVisionV1p1beta1AnnotateFileResponse" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p1beta1BatchAnnotateImagesRequest": { +"description": "Multiple image annotation requests are batched into a single service call.", +"id": "GoogleCloudVisionV1p1beta1BatchAnnotateImagesRequest", +"properties": { +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. The labels with user-defined metadata for the request. Label keys and values can be no longer than 63 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. Label values are optional. Label keys must start with a letter.", +"type": "object" +}, +"parent": { +"description": "Optional. Target project and location to make a call. Format: `projects/{project-id}/locations/{location-id}`. If no parent is specified, a region will be chosen automatically. Supported location-ids: `us`: USA country only, `asia`: East asia areas, like Japan, Taiwan, `eu`: The European Union. Example: `projects/project-A/locations/eu`.", +"type": "string" +}, +"requests": { +"description": "Required. Individual image annotation requests for this batch.", +"items": { +"$ref": "GoogleCloudVisionV1p1beta1AnnotateImageRequest" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p1beta1BatchAnnotateImagesResponse": { +"description": "Response to a batch image annotation request.", +"id": "GoogleCloudVisionV1p1beta1BatchAnnotateImagesResponse", +"properties": { +"responses": { +"description": "Individual responses to image annotation requests within the batch.", +"items": { +"$ref": "GoogleCloudVisionV1p1beta1AnnotateImageResponse" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p1beta1Block": { +"description": "Logical element on the page.", +"id": "GoogleCloudVisionV1p1beta1Block", +"properties": { +"blockType": { +"description": "Detected block type (text, image etc) for this block.", +"enum": [ +"UNKNOWN", +"TEXT", +"TABLE", +"PICTURE", +"RULER", +"BARCODE" +], +"enumDescriptions": [ +"Unknown block type.", +"Regular text block.", +"Table block.", +"Image block.", +"Horizontal/vertical line box.", +"Barcode block." +], +"type": "string" +}, +"boundingBox": { +"$ref": "GoogleCloudVisionV1p1beta1BoundingPoly", +"description": "The bounding box for the block. The vertices are in the order of top-left, top-right, bottom-right, bottom-left. When a rotation of the bounding box is detected the rotation is represented as around the top-left corner as defined when the text is read in the 'natural' orientation. For example: * when the text is horizontal it might look like: 0----1 | | 3----2 * when it's rotated 180 degrees around the top-left corner it becomes: 2----3 | | 1----0 and the vertex order will still be (0, 1, 2, 3)." +}, +"confidence": { +"description": "Confidence of the OCR results on the block. Range [0, 1].", +"format": "float", +"type": "number" +}, +"paragraphs": { +"description": "List of paragraphs in this block (if this blocks is of type text).", +"items": { +"$ref": "GoogleCloudVisionV1p1beta1Paragraph" +}, +"type": "array" +}, +"property": { +"$ref": "GoogleCloudVisionV1p1beta1TextAnnotationTextProperty", +"description": "Additional information detected for the block." +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p1beta1BoundingPoly": { +"description": "A bounding polygon for the detected image annotation.", +"id": "GoogleCloudVisionV1p1beta1BoundingPoly", +"properties": { +"normalizedVertices": { +"description": "The bounding polygon normalized vertices.", +"items": { +"$ref": "GoogleCloudVisionV1p1beta1NormalizedVertex" +}, +"type": "array" +}, +"vertices": { +"description": "The bounding polygon vertices.", +"items": { +"$ref": "GoogleCloudVisionV1p1beta1Vertex" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p1beta1ColorInfo": { +"description": "Color information consists of RGB channels, score, and the fraction of the image that the color occupies in the image.", +"id": "GoogleCloudVisionV1p1beta1ColorInfo", +"properties": { +"color": { +"$ref": "Color", +"description": "RGB components of the color." +}, +"pixelFraction": { +"description": "The fraction of pixels the color occupies in the image. Value in range [0, 1].", +"format": "float", +"type": "number" +}, +"score": { +"description": "Image-specific score for this color. Value in range [0, 1].", +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p1beta1CropHint": { +"description": "Single crop hint that is used to generate a new crop when serving an image.", +"id": "GoogleCloudVisionV1p1beta1CropHint", +"properties": { +"boundingPoly": { +"$ref": "GoogleCloudVisionV1p1beta1BoundingPoly", +"description": "The bounding polygon for the crop region. The coordinates of the bounding box are in the original image's scale." +}, +"confidence": { +"description": "Confidence of this being a salient region. Range [0, 1].", +"format": "float", +"type": "number" +}, +"importanceFraction": { +"description": "Fraction of importance of this salient region with respect to the original image.", +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p1beta1CropHintsAnnotation": { +"description": "Set of crop hints that are used to generate new crops when serving images.", +"id": "GoogleCloudVisionV1p1beta1CropHintsAnnotation", +"properties": { +"cropHints": { +"description": "Crop hint results.", +"items": { +"$ref": "GoogleCloudVisionV1p1beta1CropHint" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p1beta1CropHintsParams": { +"description": "Parameters for crop hints annotation request.", +"id": "GoogleCloudVisionV1p1beta1CropHintsParams", +"properties": { +"aspectRatios": { +"description": "Aspect ratios in floats, representing the ratio of the width to the height of the image. For example, if the desired aspect ratio is 4/3, the corresponding float value should be 1.33333. If not specified, the best possible crop is returned. The number of provided aspect ratios is limited to a maximum of 16; any aspect ratios provided after the 16th are ignored.", +"items": { +"format": "float", +"type": "number" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p1beta1DominantColorsAnnotation": { +"description": "Set of dominant colors and their corresponding scores.", +"id": "GoogleCloudVisionV1p1beta1DominantColorsAnnotation", +"properties": { +"colors": { +"description": "RGB color values with their score and pixel fraction.", +"items": { +"$ref": "GoogleCloudVisionV1p1beta1ColorInfo" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p1beta1EntityAnnotation": { +"description": "Set of detected entity features.", +"id": "GoogleCloudVisionV1p1beta1EntityAnnotation", +"properties": { +"boundingPoly": { +"$ref": "GoogleCloudVisionV1p1beta1BoundingPoly", +"description": "Image region to which this entity belongs. Not produced for `LABEL_DETECTION` features." +}, +"confidence": { +"deprecated": true, +"description": "**Deprecated. Use `score` instead.** The accuracy of the entity detection in an image. For example, for an image in which the \"Eiffel Tower\" entity is detected, this field represents the confidence that there is a tower in the query image. Range [0, 1].", +"format": "float", +"type": "number" +}, +"description": { +"description": "Entity textual description, expressed in its `locale` language.", +"type": "string" +}, +"locale": { +"description": "The language code for the locale in which the entity textual `description` is expressed.", +"type": "string" +}, +"locations": { +"description": "The location information for the detected entity. Multiple `LocationInfo` elements can be present because one location may indicate the location of the scene in the image, and another location may indicate the location of the place where the image was taken. Location information is usually present for landmarks.", +"items": { +"$ref": "GoogleCloudVisionV1p1beta1LocationInfo" +}, +"type": "array" +}, +"mid": { +"description": "Opaque entity ID. Some IDs may be available in [Google Knowledge Graph Search API](https://developers.google.com/knowledge-graph/).", +"type": "string" +}, +"properties": { +"description": "Some entities may have optional user-supplied `Property` (name/value) fields, such a score or string that qualifies the entity.", +"items": { +"$ref": "GoogleCloudVisionV1p1beta1Property" +}, +"type": "array" +}, +"score": { +"description": "Overall score of the result. Range [0, 1].", +"format": "float", +"type": "number" +}, +"topicality": { +"description": "The relevancy of the ICA (Image Content Annotation) label to the image. For example, the relevancy of \"tower\" is likely higher to an image containing the detected \"Eiffel Tower\" than to an image containing a detected distant towering building, even though the confidence that there is a tower in each image may be the same. Range [0, 1].", +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p1beta1FaceAnnotation": { +"description": "A face annotation object contains the results of face detection.", +"id": "GoogleCloudVisionV1p1beta1FaceAnnotation", +"properties": { +"angerLikelihood": { +"description": "Anger likelihood.", +"enum": [ +"UNKNOWN", +"VERY_UNLIKELY", +"UNLIKELY", +"POSSIBLE", +"LIKELY", +"VERY_LIKELY" +], +"enumDescriptions": [ +"Unknown likelihood.", +"It is very unlikely.", +"It is unlikely.", +"It is possible.", +"It is likely.", +"It is very likely." +], +"type": "string" +}, +"blurredLikelihood": { +"description": "Blurred likelihood.", +"enum": [ +"UNKNOWN", +"VERY_UNLIKELY", +"UNLIKELY", +"POSSIBLE", +"LIKELY", +"VERY_LIKELY" +], +"enumDescriptions": [ +"Unknown likelihood.", +"It is very unlikely.", +"It is unlikely.", +"It is possible.", +"It is likely.", +"It is very likely." +], +"type": "string" +}, +"boundingPoly": { +"$ref": "GoogleCloudVisionV1p1beta1BoundingPoly", +"description": "The bounding polygon around the face. The coordinates of the bounding box are in the original image's scale. The bounding box is computed to \"frame\" the face in accordance with human expectations. It is based on the landmarker results. Note that one or more x and/or y coordinates may not be generated in the `BoundingPoly` (the polygon will be unbounded) if only a partial face appears in the image to be annotated." +}, +"detectionConfidence": { +"description": "Detection confidence. Range [0, 1].", +"format": "float", +"type": "number" +}, +"fdBoundingPoly": { +"$ref": "GoogleCloudVisionV1p1beta1BoundingPoly", +"description": "The `fd_bounding_poly` bounding polygon is tighter than the `boundingPoly`, and encloses only the skin part of the face. Typically, it is used to eliminate the face from any image analysis that detects the \"amount of skin\" visible in an image. It is not based on the landmarker results, only on the initial face detection, hence the fd (face detection) prefix." +}, +"headwearLikelihood": { +"description": "Headwear likelihood.", +"enum": [ +"UNKNOWN", +"VERY_UNLIKELY", +"UNLIKELY", +"POSSIBLE", +"LIKELY", +"VERY_LIKELY" +], +"enumDescriptions": [ +"Unknown likelihood.", +"It is very unlikely.", +"It is unlikely.", +"It is possible.", +"It is likely.", +"It is very likely." +], +"type": "string" +}, +"joyLikelihood": { +"description": "Joy likelihood.", +"enum": [ +"UNKNOWN", +"VERY_UNLIKELY", +"UNLIKELY", +"POSSIBLE", +"LIKELY", +"VERY_LIKELY" +], +"enumDescriptions": [ +"Unknown likelihood.", +"It is very unlikely.", +"It is unlikely.", +"It is possible.", +"It is likely.", +"It is very likely." +], +"type": "string" +}, +"landmarkingConfidence": { +"description": "Face landmarking confidence. Range [0, 1].", +"format": "float", +"type": "number" +}, +"landmarks": { +"description": "Detected face landmarks.", +"items": { +"$ref": "GoogleCloudVisionV1p1beta1FaceAnnotationLandmark" +}, +"type": "array" +}, +"panAngle": { +"description": "Yaw angle, which indicates the leftward/rightward angle that the face is pointing relative to the vertical plane perpendicular to the image. Range [-180,180].", +"format": "float", +"type": "number" +}, +"rollAngle": { +"description": "Roll angle, which indicates the amount of clockwise/anti-clockwise rotation of the face relative to the image vertical about the axis perpendicular to the face. Range [-180,180].", +"format": "float", +"type": "number" +}, +"sorrowLikelihood": { +"description": "Sorrow likelihood.", +"enum": [ +"UNKNOWN", +"VERY_UNLIKELY", +"UNLIKELY", +"POSSIBLE", +"LIKELY", +"VERY_LIKELY" +], +"enumDescriptions": [ +"Unknown likelihood.", +"It is very unlikely.", +"It is unlikely.", +"It is possible.", +"It is likely.", +"It is very likely." +], +"type": "string" +}, +"surpriseLikelihood": { +"description": "Surprise likelihood.", +"enum": [ +"UNKNOWN", +"VERY_UNLIKELY", +"UNLIKELY", +"POSSIBLE", +"LIKELY", +"VERY_LIKELY" +], +"enumDescriptions": [ +"Unknown likelihood.", +"It is very unlikely.", +"It is unlikely.", +"It is possible.", +"It is likely.", +"It is very likely." +], +"type": "string" +}, +"tiltAngle": { +"description": "Pitch angle, which indicates the upwards/downwards angle that the face is pointing relative to the image's horizontal plane. Range [-180,180].", +"format": "float", +"type": "number" +}, +"underExposedLikelihood": { +"description": "Under-exposed likelihood.", +"enum": [ +"UNKNOWN", +"VERY_UNLIKELY", +"UNLIKELY", +"POSSIBLE", +"LIKELY", +"VERY_LIKELY" +], +"enumDescriptions": [ +"Unknown likelihood.", +"It is very unlikely.", +"It is unlikely.", +"It is possible.", +"It is likely.", +"It is very likely." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p1beta1FaceAnnotationLandmark": { +"description": "A face-specific landmark (for example, a face feature). Landmark positions may fall outside the bounds of the image if the face is near one or more edges of the image. Therefore it is NOT guaranteed that `0 <= x < width` or `0 <= y < height`.", +"id": "GoogleCloudVisionV1p1beta1FaceAnnotationLandmark", +"properties": { +"position": { +"$ref": "GoogleCloudVisionV1p1beta1Position", +"description": "Face landmark position." +}, +"type": { +"description": "Face landmark type.", +"enum": [ +"UNKNOWN_LANDMARK", +"LEFT_EYE", +"RIGHT_EYE", +"LEFT_OF_LEFT_EYEBROW", +"RIGHT_OF_LEFT_EYEBROW", +"LEFT_OF_RIGHT_EYEBROW", +"RIGHT_OF_RIGHT_EYEBROW", +"MIDPOINT_BETWEEN_EYES", +"NOSE_TIP", +"UPPER_LIP", +"LOWER_LIP", +"MOUTH_LEFT", +"MOUTH_RIGHT", +"MOUTH_CENTER", +"NOSE_BOTTOM_RIGHT", +"NOSE_BOTTOM_LEFT", +"NOSE_BOTTOM_CENTER", +"LEFT_EYE_TOP_BOUNDARY", +"LEFT_EYE_RIGHT_CORNER", +"LEFT_EYE_BOTTOM_BOUNDARY", +"LEFT_EYE_LEFT_CORNER", +"RIGHT_EYE_TOP_BOUNDARY", +"RIGHT_EYE_RIGHT_CORNER", +"RIGHT_EYE_BOTTOM_BOUNDARY", +"RIGHT_EYE_LEFT_CORNER", +"LEFT_EYEBROW_UPPER_MIDPOINT", +"RIGHT_EYEBROW_UPPER_MIDPOINT", +"LEFT_EAR_TRAGION", +"RIGHT_EAR_TRAGION", +"LEFT_EYE_PUPIL", +"RIGHT_EYE_PUPIL", +"FOREHEAD_GLABELLA", +"CHIN_GNATHION", +"CHIN_LEFT_GONION", +"CHIN_RIGHT_GONION", +"LEFT_CHEEK_CENTER", +"RIGHT_CHEEK_CENTER" +], +"enumDescriptions": [ +"Unknown face landmark detected. Should not be filled.", +"Left eye.", +"Right eye.", +"Left of left eyebrow.", +"Right of left eyebrow.", +"Left of right eyebrow.", +"Right of right eyebrow.", +"Midpoint between eyes.", +"Nose tip.", +"Upper lip.", +"Lower lip.", +"Mouth left.", +"Mouth right.", +"Mouth center.", +"Nose, bottom right.", +"Nose, bottom left.", +"Nose, bottom center.", +"Left eye, top boundary.", +"Left eye, right corner.", +"Left eye, bottom boundary.", +"Left eye, left corner.", +"Right eye, top boundary.", +"Right eye, right corner.", +"Right eye, bottom boundary.", +"Right eye, left corner.", +"Left eyebrow, upper midpoint.", +"Right eyebrow, upper midpoint.", +"Left ear tragion.", +"Right ear tragion.", +"Left eye pupil.", +"Right eye pupil.", +"Forehead glabella.", +"Chin gnathion.", +"Chin left gonion.", +"Chin right gonion.", +"Left cheek center.", +"Right cheek center." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p1beta1Feature": { +"description": "The type of Google Cloud Vision API detection to perform, and the maximum number of results to return for that type. Multiple `Feature` objects can be specified in the `features` list.", +"id": "GoogleCloudVisionV1p1beta1Feature", +"properties": { +"maxResults": { +"description": "Maximum number of results of this type. Does not apply to `TEXT_DETECTION`, `DOCUMENT_TEXT_DETECTION`, or `CROP_HINTS`.", +"format": "int32", +"type": "integer" +}, +"model": { +"description": "Model to use for the feature. Supported values: \"builtin/stable\" (the default if unset) and \"builtin/latest\". `DOCUMENT_TEXT_DETECTION` and `TEXT_DETECTION` also support \"builtin/rc\" for the latest release candidate.", +"type": "string" +}, +"type": { +"description": "The feature type.", +"enum": [ +"TYPE_UNSPECIFIED", +"FACE_DETECTION", +"LANDMARK_DETECTION", +"LOGO_DETECTION", +"LABEL_DETECTION", +"TEXT_DETECTION", +"DOCUMENT_TEXT_DETECTION", +"SAFE_SEARCH_DETECTION", +"IMAGE_PROPERTIES", +"CROP_HINTS", +"WEB_DETECTION", +"PRODUCT_SEARCH", +"OBJECT_LOCALIZATION" +], +"enumDescriptions": [ +"Unspecified feature type.", +"Run face detection.", +"Run landmark detection.", +"Run logo detection.", +"Run label detection.", +"Run text detection / optical character recognition (OCR). Text detection is optimized for areas of text within a larger image; if the image is a document, use `DOCUMENT_TEXT_DETECTION` instead.", +"Run dense text document OCR. Takes precedence when both `DOCUMENT_TEXT_DETECTION` and `TEXT_DETECTION` are present.", +"Run Safe Search to detect potentially unsafe or undesirable content.", +"Compute a set of image properties, such as the image's dominant colors.", +"Run crop hints.", +"Run web detection.", +"Run Product Search.", +"Run localizer for object detection." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p1beta1GcsDestination": { +"description": "The Google Cloud Storage location where the output will be written to.", +"id": "GoogleCloudVisionV1p1beta1GcsDestination", +"properties": { +"uri": { +"description": "Google Cloud Storage URI prefix where the results will be stored. Results will be in JSON format and preceded by its corresponding input URI prefix. This field can either represent a gcs file prefix or gcs directory. In either case, the uri should be unique because in order to get all of the output files, you will need to do a wildcard gcs search on the uri prefix you provide. Examples: * File Prefix: gs://bucket-name/here/filenameprefix The output files will be created in gs://bucket-name/here/ and the names of the output files will begin with \"filenameprefix\". * Directory Prefix: gs://bucket-name/some/location/ The output files will be created in gs://bucket-name/some/location/ and the names of the output files could be anything because there was no filename prefix specified. If multiple outputs, each response is still AnnotateFileResponse, each of which contains some subset of the full list of AnnotateImageResponse. Multiple outputs can happen if, for example, the output JSON is too large and overflows into multiple sharded files.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p1beta1GcsSource": { +"description": "The Google Cloud Storage location where the input will be read from.", +"id": "GoogleCloudVisionV1p1beta1GcsSource", +"properties": { +"uri": { +"description": "Google Cloud Storage URI for the input file. This must only be a Google Cloud Storage object. Wildcards are not currently supported.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p1beta1Image": { +"description": "Client image to perform Google Cloud Vision API tasks over.", +"id": "GoogleCloudVisionV1p1beta1Image", +"properties": { +"content": { +"description": "Image content, represented as a stream of bytes. Note: As with all `bytes` fields, protobuffers use a pure binary representation, whereas JSON representations use base64. Currently, this field only works for BatchAnnotateImages requests. It does not work for AsyncBatchAnnotateImages requests.", +"format": "byte", +"type": "string" +}, +"source": { +"$ref": "GoogleCloudVisionV1p1beta1ImageSource", +"description": "Google Cloud Storage image location, or publicly-accessible image URL. If both `content` and `source` are provided for an image, `content` takes precedence and is used to perform the image annotation request." +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p1beta1ImageAnnotationContext": { +"description": "If an image was produced from a file (e.g. a PDF), this message gives information about the source of that image.", +"id": "GoogleCloudVisionV1p1beta1ImageAnnotationContext", +"properties": { +"pageNumber": { +"description": "If the file was a PDF or TIFF, this field gives the page number within the file used to produce the image.", +"format": "int32", +"type": "integer" +}, +"uri": { +"description": "The URI of the file used to produce the image.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p1beta1ImageContext": { +"description": "Image context and/or feature-specific parameters.", +"id": "GoogleCloudVisionV1p1beta1ImageContext", +"properties": { +"cropHintsParams": { +"$ref": "GoogleCloudVisionV1p1beta1CropHintsParams", +"description": "Parameters for crop hints annotation request." +}, +"languageHints": { +"description": "List of languages to use for TEXT_DETECTION. In most cases, an empty value yields the best results since it enables automatic language detection. For languages based on the Latin alphabet, setting `language_hints` is not needed. In rare cases, when the language of the text in the image is known, setting a hint will help get better results (although it will be a significant hindrance if the hint is wrong). Text detection returns an error if one or more of the specified languages is not one of the [supported languages](https://cloud.google.com/vision/docs/languages).", +"items": { +"type": "string" +}, +"type": "array" +}, +"latLongRect": { +"$ref": "GoogleCloudVisionV1p1beta1LatLongRect", +"description": "Not used." +}, +"productSearchParams": { +"$ref": "GoogleCloudVisionV1p1beta1ProductSearchParams", +"description": "Parameters for product search." +}, +"textDetectionParams": { +"$ref": "GoogleCloudVisionV1p1beta1TextDetectionParams", +"description": "Parameters for text detection and document text detection." +}, +"webDetectionParams": { +"$ref": "GoogleCloudVisionV1p1beta1WebDetectionParams", +"description": "Parameters for web detection." +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p1beta1ImageProperties": { +"description": "Stores image properties, such as dominant colors.", +"id": "GoogleCloudVisionV1p1beta1ImageProperties", +"properties": { +"dominantColors": { +"$ref": "GoogleCloudVisionV1p1beta1DominantColorsAnnotation", +"description": "If present, dominant colors completed successfully." +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p1beta1ImageSource": { +"description": "External image source (Google Cloud Storage or web URL image location).", +"id": "GoogleCloudVisionV1p1beta1ImageSource", +"properties": { +"gcsImageUri": { +"description": "**Use `image_uri` instead.** The Google Cloud Storage URI of the form `gs://bucket_name/object_name`. Object versioning is not supported. See [Google Cloud Storage Request URIs](https://cloud.google.com/storage/docs/reference-uris) for more info.", +"type": "string" +}, +"imageUri": { +"description": "The URI of the source image. Can be either: 1. A Google Cloud Storage URI of the form `gs://bucket_name/object_name`. Object versioning is not supported. See [Google Cloud Storage Request URIs](https://cloud.google.com/storage/docs/reference-uris) for more info. 2. A publicly-accessible image HTTP/HTTPS URL. When fetching images from HTTP/HTTPS URLs, Google cannot guarantee that the request will be completed. Your request may fail if the specified host denies the request (e.g. due to request throttling or DOS prevention), or if Google throttles requests to the site for abuse prevention. You should not depend on externally-hosted images for production applications. When both `gcs_image_uri` and `image_uri` are specified, `image_uri` takes precedence.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p1beta1InputConfig": { +"description": "The desired input location and metadata.", +"id": "GoogleCloudVisionV1p1beta1InputConfig", +"properties": { +"content": { +"description": "File content, represented as a stream of bytes. Note: As with all `bytes` fields, protobuffers use a pure binary representation, whereas JSON representations use base64. Currently, this field only works for BatchAnnotateFiles requests. It does not work for AsyncBatchAnnotateFiles requests.", +"format": "byte", +"type": "string" +}, +"gcsSource": { +"$ref": "GoogleCloudVisionV1p1beta1GcsSource", +"description": "The Google Cloud Storage location to read the input from." +}, +"mimeType": { +"description": "The type of the file. Currently only \"application/pdf\", \"image/tiff\" and \"image/gif\" are supported. Wildcards are not supported.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p1beta1LatLongRect": { +"description": "Rectangle determined by min and max `LatLng` pairs.", +"id": "GoogleCloudVisionV1p1beta1LatLongRect", +"properties": { +"maxLatLng": { +"$ref": "LatLng", +"description": "Max lat/long pair." +}, +"minLatLng": { +"$ref": "LatLng", +"description": "Min lat/long pair." +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p1beta1LocalizedObjectAnnotation": { +"description": "Set of detected objects with bounding boxes.", +"id": "GoogleCloudVisionV1p1beta1LocalizedObjectAnnotation", +"properties": { +"boundingPoly": { +"$ref": "GoogleCloudVisionV1p1beta1BoundingPoly", +"description": "Image region to which this object belongs. This must be populated." +}, +"languageCode": { +"description": "The BCP-47 language code, such as \"en-US\" or \"sr-Latn\". For more information, see http://www.unicode.org/reports/tr35/#Unicode_locale_identifier.", +"type": "string" +}, +"mid": { +"description": "Object ID that should align with EntityAnnotation mid.", +"type": "string" +}, +"name": { +"description": "Object name, expressed in its `language_code` language.", +"type": "string" +}, +"score": { +"description": "Score of the result. Range [0, 1].", +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p1beta1LocationInfo": { +"description": "Detected entity location information.", +"id": "GoogleCloudVisionV1p1beta1LocationInfo", +"properties": { +"latLng": { +"$ref": "LatLng", +"description": "lat/long location coordinates." +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p1beta1NormalizedVertex": { +"description": "A vertex represents a 2D point in the image. NOTE: the normalized vertex coordinates are relative to the original image and range from 0 to 1.", +"id": "GoogleCloudVisionV1p1beta1NormalizedVertex", +"properties": { +"x": { +"description": "X coordinate.", +"format": "float", +"type": "number" +}, +"y": { +"description": "Y coordinate.", +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p1beta1OperationMetadata": { +"description": "Contains metadata for the BatchAnnotateImages operation.", +"id": "GoogleCloudVisionV1p1beta1OperationMetadata", +"properties": { +"createTime": { +"description": "The time when the batch request was received.", +"format": "google-datetime", +"type": "string" +}, +"state": { +"description": "Current state of the batch operation.", +"enum": [ +"STATE_UNSPECIFIED", +"CREATED", +"RUNNING", +"DONE", +"CANCELLED" +], +"enumDescriptions": [ +"Invalid.", +"Request is received.", +"Request is actively being processed.", +"The batch processing is done.", +"The batch processing was cancelled." +], +"type": "string" +}, +"updateTime": { +"description": "The time when the operation result was last updated.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p1beta1OutputConfig": { +"description": "The desired output location and metadata.", +"id": "GoogleCloudVisionV1p1beta1OutputConfig", +"properties": { +"batchSize": { +"description": "The max number of response protos to put into each output JSON file on Google Cloud Storage. The valid range is [1, 100]. If not specified, the default value is 20. For example, for one pdf file with 100 pages, 100 response protos will be generated. If `batch_size` = 20, then 5 json files each containing 20 response protos will be written under the prefix `gcs_destination`.`uri`. Currently, batch_size only applies to GcsDestination, with potential future support for other output configurations.", +"format": "int32", +"type": "integer" +}, +"gcsDestination": { +"$ref": "GoogleCloudVisionV1p1beta1GcsDestination", +"description": "The Google Cloud Storage location to write the output(s) to." +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p1beta1Page": { +"description": "Detected page from OCR.", +"id": "GoogleCloudVisionV1p1beta1Page", +"properties": { +"blocks": { +"description": "List of blocks of text, images etc on this page.", +"items": { +"$ref": "GoogleCloudVisionV1p1beta1Block" +}, +"type": "array" +}, +"confidence": { +"description": "Confidence of the OCR results on the page. Range [0, 1].", +"format": "float", +"type": "number" +}, +"height": { +"description": "Page height. For PDFs the unit is points. For images (including TIFFs) the unit is pixels.", +"format": "int32", +"type": "integer" +}, +"property": { +"$ref": "GoogleCloudVisionV1p1beta1TextAnnotationTextProperty", +"description": "Additional information detected on the page." +}, +"width": { +"description": "Page width. For PDFs the unit is points. For images (including TIFFs) the unit is pixels.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p1beta1Paragraph": { +"description": "Structural unit of text representing a number of words in certain order.", +"id": "GoogleCloudVisionV1p1beta1Paragraph", +"properties": { +"boundingBox": { +"$ref": "GoogleCloudVisionV1p1beta1BoundingPoly", +"description": "The bounding box for the paragraph. The vertices are in the order of top-left, top-right, bottom-right, bottom-left. When a rotation of the bounding box is detected the rotation is represented as around the top-left corner as defined when the text is read in the 'natural' orientation. For example: * when the text is horizontal it might look like: 0----1 | | 3----2 * when it's rotated 180 degrees around the top-left corner it becomes: 2----3 | | 1----0 and the vertex order will still be (0, 1, 2, 3)." +}, +"confidence": { +"description": "Confidence of the OCR results for the paragraph. Range [0, 1].", +"format": "float", +"type": "number" +}, +"property": { +"$ref": "GoogleCloudVisionV1p1beta1TextAnnotationTextProperty", +"description": "Additional information detected for the paragraph." +}, +"words": { +"description": "List of all words in this paragraph.", +"items": { +"$ref": "GoogleCloudVisionV1p1beta1Word" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p1beta1Position": { +"description": "A 3D position in the image, used primarily for Face detection landmarks. A valid Position must have both x and y coordinates. The position coordinates are in the same scale as the original image.", +"id": "GoogleCloudVisionV1p1beta1Position", +"properties": { +"x": { +"description": "X coordinate.", +"format": "float", +"type": "number" +}, +"y": { +"description": "Y coordinate.", +"format": "float", +"type": "number" +}, +"z": { +"description": "Z coordinate (or depth).", +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p1beta1Product": { +"description": "A Product contains ReferenceImages.", +"id": "GoogleCloudVisionV1p1beta1Product", +"properties": { +"description": { +"description": "User-provided metadata to be stored with this product. Must be at most 4096 characters long.", +"type": "string" +}, +"displayName": { +"description": "The user-provided name for this Product. Must not be empty. Must be at most 4096 characters long.", +"type": "string" +}, +"name": { +"description": "The resource name of the product. Format is: `projects/PROJECT_ID/locations/LOC_ID/products/PRODUCT_ID`. This field is ignored when creating a product.", +"type": "string" +}, +"productCategory": { +"description": "Immutable. The category for the product identified by the reference image. This should be one of \"homegoods-v2\", \"apparel-v2\", \"toys-v2\", \"packagedgoods-v1\" or \"general-v1\". The legacy categories \"homegoods\", \"apparel\", and \"toys\" are still supported, but these should not be used for new products.", +"type": "string" +}, +"productLabels": { +"description": "Key-value pairs that can be attached to a product. At query time, constraints can be specified based on the product_labels. Note that integer values can be provided as strings, e.g. \"1199\". Only strings with integer values can match a range-based restriction which is to be supported soon. Multiple values can be assigned to the same key. One product may have up to 500 product_labels. Notice that the total number of distinct product_labels over all products in one ProductSet cannot exceed 1M, otherwise the product search pipeline will refuse to work for that ProductSet.", +"items": { +"$ref": "GoogleCloudVisionV1p1beta1ProductKeyValue" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p1beta1ProductKeyValue": { +"description": "A product label represented as a key-value pair.", +"id": "GoogleCloudVisionV1p1beta1ProductKeyValue", +"properties": { +"key": { +"description": "The key of the label attached to the product. Cannot be empty and cannot exceed 128 bytes.", +"type": "string" +}, +"value": { +"description": "The value of the label attached to the product. Cannot be empty and cannot exceed 128 bytes.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p1beta1ProductSearchParams": { +"description": "Parameters for a product search request.", +"id": "GoogleCloudVisionV1p1beta1ProductSearchParams", +"properties": { +"boundingPoly": { +"$ref": "GoogleCloudVisionV1p1beta1BoundingPoly", +"description": "The bounding polygon around the area of interest in the image. If it is not specified, system discretion will be applied." +}, +"filter": { +"description": "The filtering expression. This can be used to restrict search results based on Product labels. We currently support an AND of OR of key-value expressions, where each expression within an OR must have the same key. An '=' should be used to connect the key and value. For example, \"(color = red OR color = blue) AND brand = Google\" is acceptable, but \"(color = red OR brand = Google)\" is not acceptable. \"color: red\" is not acceptable because it uses a ':' instead of an '='.", +"type": "string" +}, +"productCategories": { +"description": "The list of product categories to search in. Currently, we only consider the first category, and either \"homegoods-v2\", \"apparel-v2\", \"toys-v2\", \"packagedgoods-v1\", or \"general-v1\" should be specified. The legacy categories \"homegoods\", \"apparel\", and \"toys\" are still supported but will be deprecated. For new products, please use \"homegoods-v2\", \"apparel-v2\", or \"toys-v2\" for better product search accuracy. It is recommended to migrate existing products to these categories as well.", +"items": { +"type": "string" +}, +"type": "array" +}, +"productSet": { +"description": "The resource name of a ProductSet to be searched for similar images. Format is: `projects/PROJECT_ID/locations/LOC_ID/productSets/PRODUCT_SET_ID`.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p1beta1ProductSearchResults": { +"description": "Results for a product search request.", +"id": "GoogleCloudVisionV1p1beta1ProductSearchResults", +"properties": { +"indexTime": { +"description": "Timestamp of the index which provided these results. Products added to the product set and products removed from the product set after this time are not reflected in the current results.", +"format": "google-datetime", +"type": "string" +}, +"productGroupedResults": { +"description": "List of results grouped by products detected in the query image. Each entry corresponds to one bounding polygon in the query image, and contains the matching products specific to that region. There may be duplicate product matches in the union of all the per-product results.", +"items": { +"$ref": "GoogleCloudVisionV1p1beta1ProductSearchResultsGroupedResult" +}, +"type": "array" +}, +"results": { +"description": "List of results, one for each product match.", +"items": { +"$ref": "GoogleCloudVisionV1p1beta1ProductSearchResultsResult" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p1beta1ProductSearchResultsGroupedResult": { +"description": "Information about the products similar to a single product in a query image.", +"id": "GoogleCloudVisionV1p1beta1ProductSearchResultsGroupedResult", +"properties": { +"boundingPoly": { +"$ref": "GoogleCloudVisionV1p1beta1BoundingPoly", +"description": "The bounding polygon around the product detected in the query image." +}, +"objectAnnotations": { +"description": "List of generic predictions for the object in the bounding box.", +"items": { +"$ref": "GoogleCloudVisionV1p1beta1ProductSearchResultsObjectAnnotation" +}, +"type": "array" +}, +"results": { +"description": "List of results, one for each product match.", +"items": { +"$ref": "GoogleCloudVisionV1p1beta1ProductSearchResultsResult" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p1beta1ProductSearchResultsObjectAnnotation": { +"description": "Prediction for what the object in the bounding box is.", +"id": "GoogleCloudVisionV1p1beta1ProductSearchResultsObjectAnnotation", +"properties": { +"languageCode": { +"description": "The BCP-47 language code, such as \"en-US\" or \"sr-Latn\". For more information, see http://www.unicode.org/reports/tr35/#Unicode_locale_identifier.", +"type": "string" +}, +"mid": { +"description": "Object ID that should align with EntityAnnotation mid.", +"type": "string" +}, +"name": { +"description": "Object name, expressed in its `language_code` language.", +"type": "string" +}, +"score": { +"description": "Score of the result. Range [0, 1].", +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p1beta1ProductSearchResultsResult": { +"description": "Information about a product.", +"id": "GoogleCloudVisionV1p1beta1ProductSearchResultsResult", +"properties": { +"image": { +"description": "The resource name of the image from the product that is the closest match to the query.", +"type": "string" +}, +"product": { +"$ref": "GoogleCloudVisionV1p1beta1Product", +"description": "The Product." +}, +"score": { +"description": "A confidence level on the match, ranging from 0 (no confidence) to 1 (full confidence).", +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p1beta1Property": { +"description": "A `Property` consists of a user-supplied name/value pair.", +"id": "GoogleCloudVisionV1p1beta1Property", +"properties": { +"name": { +"description": "Name of the property.", +"type": "string" +}, +"uint64Value": { +"description": "Value of numeric properties.", +"format": "uint64", +"type": "string" +}, +"value": { +"description": "Value of the property.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p1beta1SafeSearchAnnotation": { +"description": "Set of features pertaining to the image, computed by computer vision methods over safe-search verticals (for example, adult, spoof, medical, violence).", +"id": "GoogleCloudVisionV1p1beta1SafeSearchAnnotation", +"properties": { +"adult": { +"description": "Represents the adult content likelihood for the image. Adult content may contain elements such as nudity, pornographic images or cartoons, or sexual activities.", +"enum": [ +"UNKNOWN", +"VERY_UNLIKELY", +"UNLIKELY", +"POSSIBLE", +"LIKELY", +"VERY_LIKELY" +], +"enumDescriptions": [ +"Unknown likelihood.", +"It is very unlikely.", +"It is unlikely.", +"It is possible.", +"It is likely.", +"It is very likely." +], +"type": "string" +}, +"medical": { +"description": "Likelihood that this is a medical image.", +"enum": [ +"UNKNOWN", +"VERY_UNLIKELY", +"UNLIKELY", +"POSSIBLE", +"LIKELY", +"VERY_LIKELY" +], +"enumDescriptions": [ +"Unknown likelihood.", +"It is very unlikely.", +"It is unlikely.", +"It is possible.", +"It is likely.", +"It is very likely." +], +"type": "string" +}, +"racy": { +"description": "Likelihood that the request image contains racy content. Racy content may include (but is not limited to) skimpy or sheer clothing, strategically covered nudity, lewd or provocative poses, or close-ups of sensitive body areas.", +"enum": [ +"UNKNOWN", +"VERY_UNLIKELY", +"UNLIKELY", +"POSSIBLE", +"LIKELY", +"VERY_LIKELY" +], +"enumDescriptions": [ +"Unknown likelihood.", +"It is very unlikely.", +"It is unlikely.", +"It is possible.", +"It is likely.", +"It is very likely." +], +"type": "string" +}, +"spoof": { +"description": "Spoof likelihood. The likelihood that an modification was made to the image's canonical version to make it appear funny or offensive.", +"enum": [ +"UNKNOWN", +"VERY_UNLIKELY", +"UNLIKELY", +"POSSIBLE", +"LIKELY", +"VERY_LIKELY" +], +"enumDescriptions": [ +"Unknown likelihood.", +"It is very unlikely.", +"It is unlikely.", +"It is possible.", +"It is likely.", +"It is very likely." +], +"type": "string" +}, +"violence": { +"description": "Likelihood that this image contains violent content. Violent content may include death, serious harm, or injury to individuals or groups of individuals.", +"enum": [ +"UNKNOWN", +"VERY_UNLIKELY", +"UNLIKELY", +"POSSIBLE", +"LIKELY", +"VERY_LIKELY" +], +"enumDescriptions": [ +"Unknown likelihood.", +"It is very unlikely.", +"It is unlikely.", +"It is possible.", +"It is likely.", +"It is very likely." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p1beta1Symbol": { +"description": "A single symbol representation.", +"id": "GoogleCloudVisionV1p1beta1Symbol", +"properties": { +"boundingBox": { +"$ref": "GoogleCloudVisionV1p1beta1BoundingPoly", +"description": "The bounding box for the symbol. The vertices are in the order of top-left, top-right, bottom-right, bottom-left. When a rotation of the bounding box is detected the rotation is represented as around the top-left corner as defined when the text is read in the 'natural' orientation. For example: * when the text is horizontal it might look like: 0----1 | | 3----2 * when it's rotated 180 degrees around the top-left corner it becomes: 2----3 | | 1----0 and the vertex order will still be (0, 1, 2, 3)." +}, +"confidence": { +"description": "Confidence of the OCR results for the symbol. Range [0, 1].", +"format": "float", +"type": "number" +}, +"property": { +"$ref": "GoogleCloudVisionV1p1beta1TextAnnotationTextProperty", +"description": "Additional information detected for the symbol." +}, +"text": { +"description": "The actual UTF-8 representation of the symbol.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p1beta1TextAnnotation": { +"description": "TextAnnotation contains a structured representation of OCR extracted text. The hierarchy of an OCR extracted text structure is like this: TextAnnotation -> Page -> Block -> Paragraph -> Word -> Symbol Each structural component, starting from Page, may further have their own properties. Properties describe detected languages, breaks etc.. Please refer to the TextAnnotation.TextProperty message definition below for more detail.", +"id": "GoogleCloudVisionV1p1beta1TextAnnotation", +"properties": { +"pages": { +"description": "List of pages detected by OCR.", +"items": { +"$ref": "GoogleCloudVisionV1p1beta1Page" +}, +"type": "array" +}, +"text": { +"description": "UTF-8 text detected on the pages.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p1beta1TextAnnotationDetectedBreak": { +"description": "Detected start or end of a structural component.", +"id": "GoogleCloudVisionV1p1beta1TextAnnotationDetectedBreak", +"properties": { +"isPrefix": { +"description": "True if break prepends the element.", +"type": "boolean" +}, +"type": { +"description": "Detected break type.", +"enum": [ +"UNKNOWN", +"SPACE", +"SURE_SPACE", +"EOL_SURE_SPACE", +"HYPHEN", +"LINE_BREAK" +], +"enumDescriptions": [ +"Unknown break label type.", +"Regular space.", +"Sure space (very wide).", +"Line-wrapping break.", +"End-line hyphen that is not present in text; does not co-occur with `SPACE`, `LEADER_SPACE`, or `LINE_BREAK`.", +"Line break that ends a paragraph." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p1beta1TextAnnotationDetectedLanguage": { +"description": "Detected language for a structural component.", +"id": "GoogleCloudVisionV1p1beta1TextAnnotationDetectedLanguage", +"properties": { +"confidence": { +"description": "Confidence of detected language. Range [0, 1].", +"format": "float", +"type": "number" +}, +"languageCode": { +"description": "The BCP-47 language code, such as \"en-US\" or \"sr-Latn\". For more information, see http://www.unicode.org/reports/tr35/#Unicode_locale_identifier.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p1beta1TextAnnotationTextProperty": { +"description": "Additional information detected on the structural component.", +"id": "GoogleCloudVisionV1p1beta1TextAnnotationTextProperty", +"properties": { +"detectedBreak": { +"$ref": "GoogleCloudVisionV1p1beta1TextAnnotationDetectedBreak", +"description": "Detected start or end of a text segment." +}, +"detectedLanguages": { +"description": "A list of detected languages together with confidence.", +"items": { +"$ref": "GoogleCloudVisionV1p1beta1TextAnnotationDetectedLanguage" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p1beta1TextDetectionParams": { +"description": "Parameters for text detections. This is used to control TEXT_DETECTION and DOCUMENT_TEXT_DETECTION features.", +"id": "GoogleCloudVisionV1p1beta1TextDetectionParams", +"properties": { +"advancedOcrOptions": { +"description": "A list of advanced OCR options to further fine-tune OCR behavior. Current valid values are: - `legacy_layout`: a heuristics layout detection algorithm, which serves as an alternative to the current ML-based layout detection algorithm. Customers can choose the best suitable layout algorithm based on their situation.", +"items": { +"type": "string" +}, +"type": "array" +}, +"enableTextDetectionConfidenceScore": { +"description": "By default, Cloud Vision API only includes confidence score for DOCUMENT_TEXT_DETECTION result. Set the flag to true to include confidence score for TEXT_DETECTION as well.", +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p1beta1Vertex": { +"description": "A vertex represents a 2D point in the image. NOTE: the vertex coordinates are in the same scale as the original image.", +"id": "GoogleCloudVisionV1p1beta1Vertex", +"properties": { +"x": { +"description": "X coordinate.", +"format": "int32", +"type": "integer" +}, +"y": { +"description": "Y coordinate.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p1beta1WebDetection": { +"description": "Relevant information for the image from the Internet.", +"id": "GoogleCloudVisionV1p1beta1WebDetection", +"properties": { +"bestGuessLabels": { +"description": "The service's best guess as to the topic of the request image. Inferred from similar images on the open web.", +"items": { +"$ref": "GoogleCloudVisionV1p1beta1WebDetectionWebLabel" +}, +"type": "array" +}, +"fullMatchingImages": { +"description": "Fully matching images from the Internet. Can include resized copies of the query image.", +"items": { +"$ref": "GoogleCloudVisionV1p1beta1WebDetectionWebImage" +}, +"type": "array" +}, +"pagesWithMatchingImages": { +"description": "Web pages containing the matching images from the Internet.", +"items": { +"$ref": "GoogleCloudVisionV1p1beta1WebDetectionWebPage" +}, +"type": "array" +}, +"partialMatchingImages": { +"description": "Partial matching images from the Internet. Those images are similar enough to share some key-point features. For example an original image will likely have partial matching for its crops.", +"items": { +"$ref": "GoogleCloudVisionV1p1beta1WebDetectionWebImage" +}, +"type": "array" +}, +"visuallySimilarImages": { +"description": "The visually similar image results.", +"items": { +"$ref": "GoogleCloudVisionV1p1beta1WebDetectionWebImage" +}, +"type": "array" +}, +"webEntities": { +"description": "Deduced entities from similar images on the Internet.", +"items": { +"$ref": "GoogleCloudVisionV1p1beta1WebDetectionWebEntity" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p1beta1WebDetectionParams": { +"description": "Parameters for web detection request.", +"id": "GoogleCloudVisionV1p1beta1WebDetectionParams", +"properties": { +"includeGeoResults": { +"deprecated": true, +"description": "This field has no effect on results.", +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p1beta1WebDetectionWebEntity": { +"description": "Entity deduced from similar images on the Internet.", +"id": "GoogleCloudVisionV1p1beta1WebDetectionWebEntity", +"properties": { +"description": { +"description": "Canonical description of the entity, in English.", +"type": "string" +}, +"entityId": { +"description": "Opaque entity ID.", +"type": "string" +}, +"score": { +"description": "Overall relevancy score for the entity. Not normalized and not comparable across different image queries.", +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p1beta1WebDetectionWebImage": { +"description": "Metadata for online images.", +"id": "GoogleCloudVisionV1p1beta1WebDetectionWebImage", +"properties": { +"score": { +"description": "(Deprecated) Overall relevancy score for the image.", +"format": "float", +"type": "number" +}, +"url": { +"description": "The result image URL.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p1beta1WebDetectionWebLabel": { +"description": "Label to provide extra metadata for the web detection.", +"id": "GoogleCloudVisionV1p1beta1WebDetectionWebLabel", +"properties": { +"label": { +"description": "Label for extra metadata.", +"type": "string" +}, +"languageCode": { +"description": "The BCP-47 language code for `label`, such as \"en-US\" or \"sr-Latn\". For more information, see http://www.unicode.org/reports/tr35/#Unicode_locale_identifier.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p1beta1WebDetectionWebPage": { +"description": "Metadata for web pages.", +"id": "GoogleCloudVisionV1p1beta1WebDetectionWebPage", +"properties": { +"fullMatchingImages": { +"description": "Fully matching images on the page. Can include resized copies of the query image.", +"items": { +"$ref": "GoogleCloudVisionV1p1beta1WebDetectionWebImage" +}, +"type": "array" +}, +"pageTitle": { +"description": "Title for the web page, may contain HTML markups.", +"type": "string" +}, +"partialMatchingImages": { +"description": "Partial matching images on the page. Those images are similar enough to share some key-point features. For example an original image will likely have partial matching for its crops.", +"items": { +"$ref": "GoogleCloudVisionV1p1beta1WebDetectionWebImage" +}, +"type": "array" +}, +"score": { +"description": "(Deprecated) Overall relevancy score for the web page.", +"format": "float", +"type": "number" +}, +"url": { +"description": "The result web page URL.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p1beta1Word": { +"description": "A word representation.", +"id": "GoogleCloudVisionV1p1beta1Word", +"properties": { +"boundingBox": { +"$ref": "GoogleCloudVisionV1p1beta1BoundingPoly", +"description": "The bounding box for the word. The vertices are in the order of top-left, top-right, bottom-right, bottom-left. When a rotation of the bounding box is detected the rotation is represented as around the top-left corner as defined when the text is read in the 'natural' orientation. For example: * when the text is horizontal it might look like: 0----1 | | 3----2 * when it's rotated 180 degrees around the top-left corner it becomes: 2----3 | | 1----0 and the vertex order will still be (0, 1, 2, 3)." +}, +"confidence": { +"description": "Confidence of the OCR results for the word. Range [0, 1].", +"format": "float", +"type": "number" +}, +"property": { +"$ref": "GoogleCloudVisionV1p1beta1TextAnnotationTextProperty", +"description": "Additional information detected for the word." +}, +"symbols": { +"description": "List of symbols in the word. The order of the symbols follows the natural reading order.", +"items": { +"$ref": "GoogleCloudVisionV1p1beta1Symbol" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p2beta1AnnotateFileResponse": { +"description": "Response to a single file annotation request. A file may contain one or more images, which individually have their own responses.", +"id": "GoogleCloudVisionV1p2beta1AnnotateFileResponse", +"properties": { +"error": { +"$ref": "Status", +"description": "If set, represents the error message for the failed request. The `responses` field will not be set in this case." +}, +"inputConfig": { +"$ref": "GoogleCloudVisionV1p2beta1InputConfig", +"description": "Information about the file for which this response is generated." +}, +"responses": { +"description": "Individual responses to images found within the file. This field will be empty if the `error` field is set.", +"items": { +"$ref": "GoogleCloudVisionV1p2beta1AnnotateImageResponse" +}, +"type": "array" +}, +"totalPages": { +"description": "This field gives the total number of pages in the file.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p2beta1AnnotateImageResponse": { +"description": "Response to an image annotation request.", +"id": "GoogleCloudVisionV1p2beta1AnnotateImageResponse", +"properties": { +"context": { +"$ref": "GoogleCloudVisionV1p2beta1ImageAnnotationContext", +"description": "If present, contextual information is needed to understand where this image comes from." +}, +"cropHintsAnnotation": { +"$ref": "GoogleCloudVisionV1p2beta1CropHintsAnnotation", +"description": "If present, crop hints have completed successfully." +}, +"error": { +"$ref": "Status", +"description": "If set, represents the error message for the operation. Note that filled-in image annotations are guaranteed to be correct, even when `error` is set." +}, +"faceAnnotations": { +"description": "If present, face detection has completed successfully.", +"items": { +"$ref": "GoogleCloudVisionV1p2beta1FaceAnnotation" +}, +"type": "array" +}, +"fullTextAnnotation": { +"$ref": "GoogleCloudVisionV1p2beta1TextAnnotation", +"description": "If present, text (OCR) detection or document (OCR) text detection has completed successfully. This annotation provides the structural hierarchy for the OCR detected text." +}, +"imagePropertiesAnnotation": { +"$ref": "GoogleCloudVisionV1p2beta1ImageProperties", +"description": "If present, image properties were extracted successfully." +}, +"labelAnnotations": { +"description": "If present, label detection has completed successfully.", +"items": { +"$ref": "GoogleCloudVisionV1p2beta1EntityAnnotation" +}, +"type": "array" +}, +"landmarkAnnotations": { +"description": "If present, landmark detection has completed successfully.", +"items": { +"$ref": "GoogleCloudVisionV1p2beta1EntityAnnotation" +}, +"type": "array" +}, +"localizedObjectAnnotations": { +"description": "If present, localized object detection has completed successfully. This will be sorted descending by confidence score.", +"items": { +"$ref": "GoogleCloudVisionV1p2beta1LocalizedObjectAnnotation" +}, +"type": "array" +}, +"logoAnnotations": { +"description": "If present, logo detection has completed successfully.", +"items": { +"$ref": "GoogleCloudVisionV1p2beta1EntityAnnotation" +}, +"type": "array" +}, +"productSearchResults": { +"$ref": "GoogleCloudVisionV1p2beta1ProductSearchResults", +"description": "If present, product search has completed successfully." +}, +"safeSearchAnnotation": { +"$ref": "GoogleCloudVisionV1p2beta1SafeSearchAnnotation", +"description": "If present, safe-search annotation has completed successfully." +}, +"textAnnotations": { +"description": "If present, text (OCR) detection has completed successfully.", +"items": { +"$ref": "GoogleCloudVisionV1p2beta1EntityAnnotation" +}, +"type": "array" +}, +"webDetection": { +"$ref": "GoogleCloudVisionV1p2beta1WebDetection", +"description": "If present, web detection has completed successfully." +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p2beta1AsyncAnnotateFileResponse": { +"description": "The response for a single offline file annotation request.", +"id": "GoogleCloudVisionV1p2beta1AsyncAnnotateFileResponse", +"properties": { +"outputConfig": { +"$ref": "GoogleCloudVisionV1p2beta1OutputConfig", +"description": "The output location and metadata from AsyncAnnotateFileRequest." +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p2beta1AsyncBatchAnnotateFilesResponse": { +"description": "Response to an async batch file annotation request.", +"id": "GoogleCloudVisionV1p2beta1AsyncBatchAnnotateFilesResponse", +"properties": { +"responses": { +"description": "The list of file annotation responses, one for each request in AsyncBatchAnnotateFilesRequest.", +"items": { +"$ref": "GoogleCloudVisionV1p2beta1AsyncAnnotateFileResponse" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p2beta1Block": { +"description": "Logical element on the page.", +"id": "GoogleCloudVisionV1p2beta1Block", +"properties": { +"blockType": { +"description": "Detected block type (text, image etc) for this block.", +"enum": [ +"UNKNOWN", +"TEXT", +"TABLE", +"PICTURE", +"RULER", +"BARCODE" +], +"enumDescriptions": [ +"Unknown block type.", +"Regular text block.", +"Table block.", +"Image block.", +"Horizontal/vertical line box.", +"Barcode block." +], +"type": "string" +}, +"boundingBox": { +"$ref": "GoogleCloudVisionV1p2beta1BoundingPoly", +"description": "The bounding box for the block. The vertices are in the order of top-left, top-right, bottom-right, bottom-left. When a rotation of the bounding box is detected the rotation is represented as around the top-left corner as defined when the text is read in the 'natural' orientation. For example: * when the text is horizontal it might look like: 0----1 | | 3----2 * when it's rotated 180 degrees around the top-left corner it becomes: 2----3 | | 1----0 and the vertex order will still be (0, 1, 2, 3)." +}, +"confidence": { +"description": "Confidence of the OCR results on the block. Range [0, 1].", +"format": "float", +"type": "number" +}, +"paragraphs": { +"description": "List of paragraphs in this block (if this blocks is of type text).", +"items": { +"$ref": "GoogleCloudVisionV1p2beta1Paragraph" +}, +"type": "array" +}, +"property": { +"$ref": "GoogleCloudVisionV1p2beta1TextAnnotationTextProperty", +"description": "Additional information detected for the block." +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p2beta1BoundingPoly": { +"description": "A bounding polygon for the detected image annotation.", +"id": "GoogleCloudVisionV1p2beta1BoundingPoly", +"properties": { +"normalizedVertices": { +"description": "The bounding polygon normalized vertices.", +"items": { +"$ref": "GoogleCloudVisionV1p2beta1NormalizedVertex" +}, +"type": "array" +}, +"vertices": { +"description": "The bounding polygon vertices.", +"items": { +"$ref": "GoogleCloudVisionV1p2beta1Vertex" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p2beta1ColorInfo": { +"description": "Color information consists of RGB channels, score, and the fraction of the image that the color occupies in the image.", +"id": "GoogleCloudVisionV1p2beta1ColorInfo", +"properties": { +"color": { +"$ref": "Color", +"description": "RGB components of the color." +}, +"pixelFraction": { +"description": "The fraction of pixels the color occupies in the image. Value in range [0, 1].", +"format": "float", +"type": "number" +}, +"score": { +"description": "Image-specific score for this color. Value in range [0, 1].", +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p2beta1CropHint": { +"description": "Single crop hint that is used to generate a new crop when serving an image.", +"id": "GoogleCloudVisionV1p2beta1CropHint", +"properties": { +"boundingPoly": { +"$ref": "GoogleCloudVisionV1p2beta1BoundingPoly", +"description": "The bounding polygon for the crop region. The coordinates of the bounding box are in the original image's scale." +}, +"confidence": { +"description": "Confidence of this being a salient region. Range [0, 1].", +"format": "float", +"type": "number" +}, +"importanceFraction": { +"description": "Fraction of importance of this salient region with respect to the original image.", +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p2beta1CropHintsAnnotation": { +"description": "Set of crop hints that are used to generate new crops when serving images.", +"id": "GoogleCloudVisionV1p2beta1CropHintsAnnotation", +"properties": { +"cropHints": { +"description": "Crop hint results.", +"items": { +"$ref": "GoogleCloudVisionV1p2beta1CropHint" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p2beta1DominantColorsAnnotation": { +"description": "Set of dominant colors and their corresponding scores.", +"id": "GoogleCloudVisionV1p2beta1DominantColorsAnnotation", +"properties": { +"colors": { +"description": "RGB color values with their score and pixel fraction.", +"items": { +"$ref": "GoogleCloudVisionV1p2beta1ColorInfo" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p2beta1EntityAnnotation": { +"description": "Set of detected entity features.", +"id": "GoogleCloudVisionV1p2beta1EntityAnnotation", +"properties": { +"boundingPoly": { +"$ref": "GoogleCloudVisionV1p2beta1BoundingPoly", +"description": "Image region to which this entity belongs. Not produced for `LABEL_DETECTION` features." +}, +"confidence": { +"deprecated": true, +"description": "**Deprecated. Use `score` instead.** The accuracy of the entity detection in an image. For example, for an image in which the \"Eiffel Tower\" entity is detected, this field represents the confidence that there is a tower in the query image. Range [0, 1].", +"format": "float", +"type": "number" +}, +"description": { +"description": "Entity textual description, expressed in its `locale` language.", +"type": "string" +}, +"locale": { +"description": "The language code for the locale in which the entity textual `description` is expressed.", +"type": "string" +}, +"locations": { +"description": "The location information for the detected entity. Multiple `LocationInfo` elements can be present because one location may indicate the location of the scene in the image, and another location may indicate the location of the place where the image was taken. Location information is usually present for landmarks.", +"items": { +"$ref": "GoogleCloudVisionV1p2beta1LocationInfo" +}, +"type": "array" +}, +"mid": { +"description": "Opaque entity ID. Some IDs may be available in [Google Knowledge Graph Search API](https://developers.google.com/knowledge-graph/).", +"type": "string" +}, +"properties": { +"description": "Some entities may have optional user-supplied `Property` (name/value) fields, such a score or string that qualifies the entity.", +"items": { +"$ref": "GoogleCloudVisionV1p2beta1Property" +}, +"type": "array" +}, +"score": { +"description": "Overall score of the result. Range [0, 1].", +"format": "float", +"type": "number" +}, +"topicality": { +"description": "The relevancy of the ICA (Image Content Annotation) label to the image. For example, the relevancy of \"tower\" is likely higher to an image containing the detected \"Eiffel Tower\" than to an image containing a detected distant towering building, even though the confidence that there is a tower in each image may be the same. Range [0, 1].", +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p2beta1FaceAnnotation": { +"description": "A face annotation object contains the results of face detection.", +"id": "GoogleCloudVisionV1p2beta1FaceAnnotation", +"properties": { +"angerLikelihood": { +"description": "Anger likelihood.", +"enum": [ +"UNKNOWN", +"VERY_UNLIKELY", +"UNLIKELY", +"POSSIBLE", +"LIKELY", +"VERY_LIKELY" +], +"enumDescriptions": [ +"Unknown likelihood.", +"It is very unlikely.", +"It is unlikely.", +"It is possible.", +"It is likely.", +"It is very likely." +], +"type": "string" +}, +"blurredLikelihood": { +"description": "Blurred likelihood.", +"enum": [ +"UNKNOWN", +"VERY_UNLIKELY", +"UNLIKELY", +"POSSIBLE", +"LIKELY", +"VERY_LIKELY" +], +"enumDescriptions": [ +"Unknown likelihood.", +"It is very unlikely.", +"It is unlikely.", +"It is possible.", +"It is likely.", +"It is very likely." +], +"type": "string" +}, +"boundingPoly": { +"$ref": "GoogleCloudVisionV1p2beta1BoundingPoly", +"description": "The bounding polygon around the face. The coordinates of the bounding box are in the original image's scale. The bounding box is computed to \"frame\" the face in accordance with human expectations. It is based on the landmarker results. Note that one or more x and/or y coordinates may not be generated in the `BoundingPoly` (the polygon will be unbounded) if only a partial face appears in the image to be annotated." +}, +"detectionConfidence": { +"description": "Detection confidence. Range [0, 1].", +"format": "float", +"type": "number" +}, +"fdBoundingPoly": { +"$ref": "GoogleCloudVisionV1p2beta1BoundingPoly", +"description": "The `fd_bounding_poly` bounding polygon is tighter than the `boundingPoly`, and encloses only the skin part of the face. Typically, it is used to eliminate the face from any image analysis that detects the \"amount of skin\" visible in an image. It is not based on the landmarker results, only on the initial face detection, hence the fd (face detection) prefix." +}, +"headwearLikelihood": { +"description": "Headwear likelihood.", +"enum": [ +"UNKNOWN", +"VERY_UNLIKELY", +"UNLIKELY", +"POSSIBLE", +"LIKELY", +"VERY_LIKELY" +], +"enumDescriptions": [ +"Unknown likelihood.", +"It is very unlikely.", +"It is unlikely.", +"It is possible.", +"It is likely.", +"It is very likely." +], +"type": "string" +}, +"joyLikelihood": { +"description": "Joy likelihood.", +"enum": [ +"UNKNOWN", +"VERY_UNLIKELY", +"UNLIKELY", +"POSSIBLE", +"LIKELY", +"VERY_LIKELY" +], +"enumDescriptions": [ +"Unknown likelihood.", +"It is very unlikely.", +"It is unlikely.", +"It is possible.", +"It is likely.", +"It is very likely." +], +"type": "string" +}, +"landmarkingConfidence": { +"description": "Face landmarking confidence. Range [0, 1].", +"format": "float", +"type": "number" +}, +"landmarks": { +"description": "Detected face landmarks.", +"items": { +"$ref": "GoogleCloudVisionV1p2beta1FaceAnnotationLandmark" +}, +"type": "array" +}, +"panAngle": { +"description": "Yaw angle, which indicates the leftward/rightward angle that the face is pointing relative to the vertical plane perpendicular to the image. Range [-180,180].", +"format": "float", +"type": "number" +}, +"rollAngle": { +"description": "Roll angle, which indicates the amount of clockwise/anti-clockwise rotation of the face relative to the image vertical about the axis perpendicular to the face. Range [-180,180].", +"format": "float", +"type": "number" +}, +"sorrowLikelihood": { +"description": "Sorrow likelihood.", +"enum": [ +"UNKNOWN", +"VERY_UNLIKELY", +"UNLIKELY", +"POSSIBLE", +"LIKELY", +"VERY_LIKELY" +], +"enumDescriptions": [ +"Unknown likelihood.", +"It is very unlikely.", +"It is unlikely.", +"It is possible.", +"It is likely.", +"It is very likely." +], +"type": "string" +}, +"surpriseLikelihood": { +"description": "Surprise likelihood.", +"enum": [ +"UNKNOWN", +"VERY_UNLIKELY", +"UNLIKELY", +"POSSIBLE", +"LIKELY", +"VERY_LIKELY" +], +"enumDescriptions": [ +"Unknown likelihood.", +"It is very unlikely.", +"It is unlikely.", +"It is possible.", +"It is likely.", +"It is very likely." +], +"type": "string" +}, +"tiltAngle": { +"description": "Pitch angle, which indicates the upwards/downwards angle that the face is pointing relative to the image's horizontal plane. Range [-180,180].", +"format": "float", +"type": "number" +}, +"underExposedLikelihood": { +"description": "Under-exposed likelihood.", +"enum": [ +"UNKNOWN", +"VERY_UNLIKELY", +"UNLIKELY", +"POSSIBLE", +"LIKELY", +"VERY_LIKELY" +], +"enumDescriptions": [ +"Unknown likelihood.", +"It is very unlikely.", +"It is unlikely.", +"It is possible.", +"It is likely.", +"It is very likely." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p2beta1FaceAnnotationLandmark": { +"description": "A face-specific landmark (for example, a face feature). Landmark positions may fall outside the bounds of the image if the face is near one or more edges of the image. Therefore it is NOT guaranteed that `0 <= x < width` or `0 <= y < height`.", +"id": "GoogleCloudVisionV1p2beta1FaceAnnotationLandmark", +"properties": { +"position": { +"$ref": "GoogleCloudVisionV1p2beta1Position", +"description": "Face landmark position." +}, +"type": { +"description": "Face landmark type.", +"enum": [ +"UNKNOWN_LANDMARK", +"LEFT_EYE", +"RIGHT_EYE", +"LEFT_OF_LEFT_EYEBROW", +"RIGHT_OF_LEFT_EYEBROW", +"LEFT_OF_RIGHT_EYEBROW", +"RIGHT_OF_RIGHT_EYEBROW", +"MIDPOINT_BETWEEN_EYES", +"NOSE_TIP", +"UPPER_LIP", +"LOWER_LIP", +"MOUTH_LEFT", +"MOUTH_RIGHT", +"MOUTH_CENTER", +"NOSE_BOTTOM_RIGHT", +"NOSE_BOTTOM_LEFT", +"NOSE_BOTTOM_CENTER", +"LEFT_EYE_TOP_BOUNDARY", +"LEFT_EYE_RIGHT_CORNER", +"LEFT_EYE_BOTTOM_BOUNDARY", +"LEFT_EYE_LEFT_CORNER", +"RIGHT_EYE_TOP_BOUNDARY", +"RIGHT_EYE_RIGHT_CORNER", +"RIGHT_EYE_BOTTOM_BOUNDARY", +"RIGHT_EYE_LEFT_CORNER", +"LEFT_EYEBROW_UPPER_MIDPOINT", +"RIGHT_EYEBROW_UPPER_MIDPOINT", +"LEFT_EAR_TRAGION", +"RIGHT_EAR_TRAGION", +"LEFT_EYE_PUPIL", +"RIGHT_EYE_PUPIL", +"FOREHEAD_GLABELLA", +"CHIN_GNATHION", +"CHIN_LEFT_GONION", +"CHIN_RIGHT_GONION", +"LEFT_CHEEK_CENTER", +"RIGHT_CHEEK_CENTER" +], +"enumDescriptions": [ +"Unknown face landmark detected. Should not be filled.", +"Left eye.", +"Right eye.", +"Left of left eyebrow.", +"Right of left eyebrow.", +"Left of right eyebrow.", +"Right of right eyebrow.", +"Midpoint between eyes.", +"Nose tip.", +"Upper lip.", +"Lower lip.", +"Mouth left.", +"Mouth right.", +"Mouth center.", +"Nose, bottom right.", +"Nose, bottom left.", +"Nose, bottom center.", +"Left eye, top boundary.", +"Left eye, right corner.", +"Left eye, bottom boundary.", +"Left eye, left corner.", +"Right eye, top boundary.", +"Right eye, right corner.", +"Right eye, bottom boundary.", +"Right eye, left corner.", +"Left eyebrow, upper midpoint.", +"Right eyebrow, upper midpoint.", +"Left ear tragion.", +"Right ear tragion.", +"Left eye pupil.", +"Right eye pupil.", +"Forehead glabella.", +"Chin gnathion.", +"Chin left gonion.", +"Chin right gonion.", +"Left cheek center.", +"Right cheek center." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p2beta1GcsDestination": { +"description": "The Google Cloud Storage location where the output will be written to.", +"id": "GoogleCloudVisionV1p2beta1GcsDestination", +"properties": { +"uri": { +"description": "Google Cloud Storage URI prefix where the results will be stored. Results will be in JSON format and preceded by its corresponding input URI prefix. This field can either represent a gcs file prefix or gcs directory. In either case, the uri should be unique because in order to get all of the output files, you will need to do a wildcard gcs search on the uri prefix you provide. Examples: * File Prefix: gs://bucket-name/here/filenameprefix The output files will be created in gs://bucket-name/here/ and the names of the output files will begin with \"filenameprefix\". * Directory Prefix: gs://bucket-name/some/location/ The output files will be created in gs://bucket-name/some/location/ and the names of the output files could be anything because there was no filename prefix specified. If multiple outputs, each response is still AnnotateFileResponse, each of which contains some subset of the full list of AnnotateImageResponse. Multiple outputs can happen if, for example, the output JSON is too large and overflows into multiple sharded files.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p2beta1GcsSource": { +"description": "The Google Cloud Storage location where the input will be read from.", +"id": "GoogleCloudVisionV1p2beta1GcsSource", +"properties": { +"uri": { +"description": "Google Cloud Storage URI for the input file. This must only be a Google Cloud Storage object. Wildcards are not currently supported.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p2beta1ImageAnnotationContext": { +"description": "If an image was produced from a file (e.g. a PDF), this message gives information about the source of that image.", +"id": "GoogleCloudVisionV1p2beta1ImageAnnotationContext", +"properties": { +"pageNumber": { +"description": "If the file was a PDF or TIFF, this field gives the page number within the file used to produce the image.", +"format": "int32", +"type": "integer" +}, +"uri": { +"description": "The URI of the file used to produce the image.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p2beta1ImageProperties": { +"description": "Stores image properties, such as dominant colors.", +"id": "GoogleCloudVisionV1p2beta1ImageProperties", +"properties": { +"dominantColors": { +"$ref": "GoogleCloudVisionV1p2beta1DominantColorsAnnotation", +"description": "If present, dominant colors completed successfully." +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p2beta1InputConfig": { +"description": "The desired input location and metadata.", +"id": "GoogleCloudVisionV1p2beta1InputConfig", +"properties": { +"content": { +"description": "File content, represented as a stream of bytes. Note: As with all `bytes` fields, protobuffers use a pure binary representation, whereas JSON representations use base64. Currently, this field only works for BatchAnnotateFiles requests. It does not work for AsyncBatchAnnotateFiles requests.", +"format": "byte", +"type": "string" +}, +"gcsSource": { +"$ref": "GoogleCloudVisionV1p2beta1GcsSource", +"description": "The Google Cloud Storage location to read the input from." +}, +"mimeType": { +"description": "The type of the file. Currently only \"application/pdf\", \"image/tiff\" and \"image/gif\" are supported. Wildcards are not supported.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p2beta1LocalizedObjectAnnotation": { +"description": "Set of detected objects with bounding boxes.", +"id": "GoogleCloudVisionV1p2beta1LocalizedObjectAnnotation", +"properties": { +"boundingPoly": { +"$ref": "GoogleCloudVisionV1p2beta1BoundingPoly", +"description": "Image region to which this object belongs. This must be populated." +}, +"languageCode": { +"description": "The BCP-47 language code, such as \"en-US\" or \"sr-Latn\". For more information, see http://www.unicode.org/reports/tr35/#Unicode_locale_identifier.", +"type": "string" +}, +"mid": { +"description": "Object ID that should align with EntityAnnotation mid.", +"type": "string" +}, +"name": { +"description": "Object name, expressed in its `language_code` language.", +"type": "string" +}, +"score": { +"description": "Score of the result. Range [0, 1].", +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p2beta1LocationInfo": { +"description": "Detected entity location information.", +"id": "GoogleCloudVisionV1p2beta1LocationInfo", +"properties": { +"latLng": { +"$ref": "LatLng", +"description": "lat/long location coordinates." +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p2beta1NormalizedVertex": { +"description": "A vertex represents a 2D point in the image. NOTE: the normalized vertex coordinates are relative to the original image and range from 0 to 1.", +"id": "GoogleCloudVisionV1p2beta1NormalizedVertex", +"properties": { +"x": { +"description": "X coordinate.", +"format": "float", +"type": "number" +}, +"y": { +"description": "Y coordinate.", +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p2beta1OperationMetadata": { +"description": "Contains metadata for the BatchAnnotateImages operation.", +"id": "GoogleCloudVisionV1p2beta1OperationMetadata", +"properties": { +"createTime": { +"description": "The time when the batch request was received.", +"format": "google-datetime", +"type": "string" +}, +"state": { +"description": "Current state of the batch operation.", +"enum": [ +"STATE_UNSPECIFIED", +"CREATED", +"RUNNING", +"DONE", +"CANCELLED" +], +"enumDescriptions": [ +"Invalid.", +"Request is received.", +"Request is actively being processed.", +"The batch processing is done.", +"The batch processing was cancelled." +], +"type": "string" +}, +"updateTime": { +"description": "The time when the operation result was last updated.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p2beta1OutputConfig": { +"description": "The desired output location and metadata.", +"id": "GoogleCloudVisionV1p2beta1OutputConfig", +"properties": { +"batchSize": { +"description": "The max number of response protos to put into each output JSON file on Google Cloud Storage. The valid range is [1, 100]. If not specified, the default value is 20. For example, for one pdf file with 100 pages, 100 response protos will be generated. If `batch_size` = 20, then 5 json files each containing 20 response protos will be written under the prefix `gcs_destination`.`uri`. Currently, batch_size only applies to GcsDestination, with potential future support for other output configurations.", +"format": "int32", +"type": "integer" +}, +"gcsDestination": { +"$ref": "GoogleCloudVisionV1p2beta1GcsDestination", +"description": "The Google Cloud Storage location to write the output(s) to." +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p2beta1Page": { +"description": "Detected page from OCR.", +"id": "GoogleCloudVisionV1p2beta1Page", +"properties": { +"blocks": { +"description": "List of blocks of text, images etc on this page.", +"items": { +"$ref": "GoogleCloudVisionV1p2beta1Block" +}, +"type": "array" +}, +"confidence": { +"description": "Confidence of the OCR results on the page. Range [0, 1].", +"format": "float", +"type": "number" +}, +"height": { +"description": "Page height. For PDFs the unit is points. For images (including TIFFs) the unit is pixels.", +"format": "int32", +"type": "integer" +}, +"property": { +"$ref": "GoogleCloudVisionV1p2beta1TextAnnotationTextProperty", +"description": "Additional information detected on the page." +}, +"width": { +"description": "Page width. For PDFs the unit is points. For images (including TIFFs) the unit is pixels.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p2beta1Paragraph": { +"description": "Structural unit of text representing a number of words in certain order.", +"id": "GoogleCloudVisionV1p2beta1Paragraph", +"properties": { +"boundingBox": { +"$ref": "GoogleCloudVisionV1p2beta1BoundingPoly", +"description": "The bounding box for the paragraph. The vertices are in the order of top-left, top-right, bottom-right, bottom-left. When a rotation of the bounding box is detected the rotation is represented as around the top-left corner as defined when the text is read in the 'natural' orientation. For example: * when the text is horizontal it might look like: 0----1 | | 3----2 * when it's rotated 180 degrees around the top-left corner it becomes: 2----3 | | 1----0 and the vertex order will still be (0, 1, 2, 3)." +}, +"confidence": { +"description": "Confidence of the OCR results for the paragraph. Range [0, 1].", +"format": "float", +"type": "number" +}, +"property": { +"$ref": "GoogleCloudVisionV1p2beta1TextAnnotationTextProperty", +"description": "Additional information detected for the paragraph." +}, +"words": { +"description": "List of all words in this paragraph.", +"items": { +"$ref": "GoogleCloudVisionV1p2beta1Word" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p2beta1Position": { +"description": "A 3D position in the image, used primarily for Face detection landmarks. A valid Position must have both x and y coordinates. The position coordinates are in the same scale as the original image.", +"id": "GoogleCloudVisionV1p2beta1Position", +"properties": { +"x": { +"description": "X coordinate.", +"format": "float", +"type": "number" +}, +"y": { +"description": "Y coordinate.", +"format": "float", +"type": "number" +}, +"z": { +"description": "Z coordinate (or depth).", +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p2beta1Product": { +"description": "A Product contains ReferenceImages.", +"id": "GoogleCloudVisionV1p2beta1Product", +"properties": { +"description": { +"description": "User-provided metadata to be stored with this product. Must be at most 4096 characters long.", +"type": "string" +}, +"displayName": { +"description": "The user-provided name for this Product. Must not be empty. Must be at most 4096 characters long.", +"type": "string" +}, +"name": { +"description": "The resource name of the product. Format is: `projects/PROJECT_ID/locations/LOC_ID/products/PRODUCT_ID`. This field is ignored when creating a product.", +"type": "string" +}, +"productCategory": { +"description": "Immutable. The category for the product identified by the reference image. This should be one of \"homegoods-v2\", \"apparel-v2\", \"toys-v2\", \"packagedgoods-v1\" or \"general-v1\". The legacy categories \"homegoods\", \"apparel\", and \"toys\" are still supported, but these should not be used for new products.", +"type": "string" +}, +"productLabels": { +"description": "Key-value pairs that can be attached to a product. At query time, constraints can be specified based on the product_labels. Note that integer values can be provided as strings, e.g. \"1199\". Only strings with integer values can match a range-based restriction which is to be supported soon. Multiple values can be assigned to the same key. One product may have up to 500 product_labels. Notice that the total number of distinct product_labels over all products in one ProductSet cannot exceed 1M, otherwise the product search pipeline will refuse to work for that ProductSet.", +"items": { +"$ref": "GoogleCloudVisionV1p2beta1ProductKeyValue" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p2beta1ProductKeyValue": { +"description": "A product label represented as a key-value pair.", +"id": "GoogleCloudVisionV1p2beta1ProductKeyValue", +"properties": { +"key": { +"description": "The key of the label attached to the product. Cannot be empty and cannot exceed 128 bytes.", +"type": "string" +}, +"value": { +"description": "The value of the label attached to the product. Cannot be empty and cannot exceed 128 bytes.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p2beta1ProductSearchResults": { +"description": "Results for a product search request.", +"id": "GoogleCloudVisionV1p2beta1ProductSearchResults", +"properties": { +"indexTime": { +"description": "Timestamp of the index which provided these results. Products added to the product set and products removed from the product set after this time are not reflected in the current results.", +"format": "google-datetime", +"type": "string" +}, +"productGroupedResults": { +"description": "List of results grouped by products detected in the query image. Each entry corresponds to one bounding polygon in the query image, and contains the matching products specific to that region. There may be duplicate product matches in the union of all the per-product results.", +"items": { +"$ref": "GoogleCloudVisionV1p2beta1ProductSearchResultsGroupedResult" +}, +"type": "array" +}, +"results": { +"description": "List of results, one for each product match.", +"items": { +"$ref": "GoogleCloudVisionV1p2beta1ProductSearchResultsResult" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p2beta1ProductSearchResultsGroupedResult": { +"description": "Information about the products similar to a single product in a query image.", +"id": "GoogleCloudVisionV1p2beta1ProductSearchResultsGroupedResult", +"properties": { +"boundingPoly": { +"$ref": "GoogleCloudVisionV1p2beta1BoundingPoly", +"description": "The bounding polygon around the product detected in the query image." +}, +"objectAnnotations": { +"description": "List of generic predictions for the object in the bounding box.", +"items": { +"$ref": "GoogleCloudVisionV1p2beta1ProductSearchResultsObjectAnnotation" +}, +"type": "array" +}, +"results": { +"description": "List of results, one for each product match.", +"items": { +"$ref": "GoogleCloudVisionV1p2beta1ProductSearchResultsResult" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p2beta1ProductSearchResultsObjectAnnotation": { +"description": "Prediction for what the object in the bounding box is.", +"id": "GoogleCloudVisionV1p2beta1ProductSearchResultsObjectAnnotation", +"properties": { +"languageCode": { +"description": "The BCP-47 language code, such as \"en-US\" or \"sr-Latn\". For more information, see http://www.unicode.org/reports/tr35/#Unicode_locale_identifier.", +"type": "string" +}, +"mid": { +"description": "Object ID that should align with EntityAnnotation mid.", +"type": "string" +}, +"name": { +"description": "Object name, expressed in its `language_code` language.", +"type": "string" +}, +"score": { +"description": "Score of the result. Range [0, 1].", +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p2beta1ProductSearchResultsResult": { +"description": "Information about a product.", +"id": "GoogleCloudVisionV1p2beta1ProductSearchResultsResult", +"properties": { +"image": { +"description": "The resource name of the image from the product that is the closest match to the query.", +"type": "string" +}, +"product": { +"$ref": "GoogleCloudVisionV1p2beta1Product", +"description": "The Product." +}, +"score": { +"description": "A confidence level on the match, ranging from 0 (no confidence) to 1 (full confidence).", +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p2beta1Property": { +"description": "A `Property` consists of a user-supplied name/value pair.", +"id": "GoogleCloudVisionV1p2beta1Property", +"properties": { +"name": { +"description": "Name of the property.", +"type": "string" +}, +"uint64Value": { +"description": "Value of numeric properties.", +"format": "uint64", +"type": "string" +}, +"value": { +"description": "Value of the property.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p2beta1SafeSearchAnnotation": { +"description": "Set of features pertaining to the image, computed by computer vision methods over safe-search verticals (for example, adult, spoof, medical, violence).", +"id": "GoogleCloudVisionV1p2beta1SafeSearchAnnotation", +"properties": { +"adult": { +"description": "Represents the adult content likelihood for the image. Adult content may contain elements such as nudity, pornographic images or cartoons, or sexual activities.", +"enum": [ +"UNKNOWN", +"VERY_UNLIKELY", +"UNLIKELY", +"POSSIBLE", +"LIKELY", +"VERY_LIKELY" +], +"enumDescriptions": [ +"Unknown likelihood.", +"It is very unlikely.", +"It is unlikely.", +"It is possible.", +"It is likely.", +"It is very likely." +], +"type": "string" +}, +"medical": { +"description": "Likelihood that this is a medical image.", +"enum": [ +"UNKNOWN", +"VERY_UNLIKELY", +"UNLIKELY", +"POSSIBLE", +"LIKELY", +"VERY_LIKELY" +], +"enumDescriptions": [ +"Unknown likelihood.", +"It is very unlikely.", +"It is unlikely.", +"It is possible.", +"It is likely.", +"It is very likely." +], +"type": "string" +}, +"racy": { +"description": "Likelihood that the request image contains racy content. Racy content may include (but is not limited to) skimpy or sheer clothing, strategically covered nudity, lewd or provocative poses, or close-ups of sensitive body areas.", +"enum": [ +"UNKNOWN", +"VERY_UNLIKELY", +"UNLIKELY", +"POSSIBLE", +"LIKELY", +"VERY_LIKELY" +], +"enumDescriptions": [ +"Unknown likelihood.", +"It is very unlikely.", +"It is unlikely.", +"It is possible.", +"It is likely.", +"It is very likely." +], +"type": "string" +}, +"spoof": { +"description": "Spoof likelihood. The likelihood that an modification was made to the image's canonical version to make it appear funny or offensive.", +"enum": [ +"UNKNOWN", +"VERY_UNLIKELY", +"UNLIKELY", +"POSSIBLE", +"LIKELY", +"VERY_LIKELY" +], +"enumDescriptions": [ +"Unknown likelihood.", +"It is very unlikely.", +"It is unlikely.", +"It is possible.", +"It is likely.", +"It is very likely." +], +"type": "string" +}, +"violence": { +"description": "Likelihood that this image contains violent content. Violent content may include death, serious harm, or injury to individuals or groups of individuals.", +"enum": [ +"UNKNOWN", +"VERY_UNLIKELY", +"UNLIKELY", +"POSSIBLE", +"LIKELY", +"VERY_LIKELY" +], +"enumDescriptions": [ +"Unknown likelihood.", +"It is very unlikely.", +"It is unlikely.", +"It is possible.", +"It is likely.", +"It is very likely." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p2beta1Symbol": { +"description": "A single symbol representation.", +"id": "GoogleCloudVisionV1p2beta1Symbol", +"properties": { +"boundingBox": { +"$ref": "GoogleCloudVisionV1p2beta1BoundingPoly", +"description": "The bounding box for the symbol. The vertices are in the order of top-left, top-right, bottom-right, bottom-left. When a rotation of the bounding box is detected the rotation is represented as around the top-left corner as defined when the text is read in the 'natural' orientation. For example: * when the text is horizontal it might look like: 0----1 | | 3----2 * when it's rotated 180 degrees around the top-left corner it becomes: 2----3 | | 1----0 and the vertex order will still be (0, 1, 2, 3)." +}, +"confidence": { +"description": "Confidence of the OCR results for the symbol. Range [0, 1].", +"format": "float", +"type": "number" +}, +"property": { +"$ref": "GoogleCloudVisionV1p2beta1TextAnnotationTextProperty", +"description": "Additional information detected for the symbol." +}, +"text": { +"description": "The actual UTF-8 representation of the symbol.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p2beta1TextAnnotation": { +"description": "TextAnnotation contains a structured representation of OCR extracted text. The hierarchy of an OCR extracted text structure is like this: TextAnnotation -> Page -> Block -> Paragraph -> Word -> Symbol Each structural component, starting from Page, may further have their own properties. Properties describe detected languages, breaks etc.. Please refer to the TextAnnotation.TextProperty message definition below for more detail.", +"id": "GoogleCloudVisionV1p2beta1TextAnnotation", +"properties": { +"pages": { +"description": "List of pages detected by OCR.", +"items": { +"$ref": "GoogleCloudVisionV1p2beta1Page" +}, +"type": "array" +}, +"text": { +"description": "UTF-8 text detected on the pages.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p2beta1TextAnnotationDetectedBreak": { +"description": "Detected start or end of a structural component.", +"id": "GoogleCloudVisionV1p2beta1TextAnnotationDetectedBreak", +"properties": { +"isPrefix": { +"description": "True if break prepends the element.", +"type": "boolean" +}, +"type": { +"description": "Detected break type.", +"enum": [ +"UNKNOWN", +"SPACE", +"SURE_SPACE", +"EOL_SURE_SPACE", +"HYPHEN", +"LINE_BREAK" +], +"enumDescriptions": [ +"Unknown break label type.", +"Regular space.", +"Sure space (very wide).", +"Line-wrapping break.", +"End-line hyphen that is not present in text; does not co-occur with `SPACE`, `LEADER_SPACE`, or `LINE_BREAK`.", +"Line break that ends a paragraph." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p2beta1TextAnnotationDetectedLanguage": { +"description": "Detected language for a structural component.", +"id": "GoogleCloudVisionV1p2beta1TextAnnotationDetectedLanguage", +"properties": { +"confidence": { +"description": "Confidence of detected language. Range [0, 1].", +"format": "float", +"type": "number" +}, +"languageCode": { +"description": "The BCP-47 language code, such as \"en-US\" or \"sr-Latn\". For more information, see http://www.unicode.org/reports/tr35/#Unicode_locale_identifier.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p2beta1TextAnnotationTextProperty": { +"description": "Additional information detected on the structural component.", +"id": "GoogleCloudVisionV1p2beta1TextAnnotationTextProperty", +"properties": { +"detectedBreak": { +"$ref": "GoogleCloudVisionV1p2beta1TextAnnotationDetectedBreak", +"description": "Detected start or end of a text segment." +}, +"detectedLanguages": { +"description": "A list of detected languages together with confidence.", +"items": { +"$ref": "GoogleCloudVisionV1p2beta1TextAnnotationDetectedLanguage" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p2beta1Vertex": { +"description": "A vertex represents a 2D point in the image. NOTE: the vertex coordinates are in the same scale as the original image.", +"id": "GoogleCloudVisionV1p2beta1Vertex", +"properties": { +"x": { +"description": "X coordinate.", +"format": "int32", +"type": "integer" +}, +"y": { +"description": "Y coordinate.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p2beta1WebDetection": { +"description": "Relevant information for the image from the Internet.", +"id": "GoogleCloudVisionV1p2beta1WebDetection", +"properties": { +"bestGuessLabels": { +"description": "The service's best guess as to the topic of the request image. Inferred from similar images on the open web.", +"items": { +"$ref": "GoogleCloudVisionV1p2beta1WebDetectionWebLabel" +}, +"type": "array" +}, +"fullMatchingImages": { +"description": "Fully matching images from the Internet. Can include resized copies of the query image.", +"items": { +"$ref": "GoogleCloudVisionV1p2beta1WebDetectionWebImage" +}, +"type": "array" +}, +"pagesWithMatchingImages": { +"description": "Web pages containing the matching images from the Internet.", +"items": { +"$ref": "GoogleCloudVisionV1p2beta1WebDetectionWebPage" +}, +"type": "array" +}, +"partialMatchingImages": { +"description": "Partial matching images from the Internet. Those images are similar enough to share some key-point features. For example an original image will likely have partial matching for its crops.", +"items": { +"$ref": "GoogleCloudVisionV1p2beta1WebDetectionWebImage" +}, +"type": "array" +}, +"visuallySimilarImages": { +"description": "The visually similar image results.", +"items": { +"$ref": "GoogleCloudVisionV1p2beta1WebDetectionWebImage" +}, +"type": "array" +}, +"webEntities": { +"description": "Deduced entities from similar images on the Internet.", +"items": { +"$ref": "GoogleCloudVisionV1p2beta1WebDetectionWebEntity" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p2beta1WebDetectionWebEntity": { +"description": "Entity deduced from similar images on the Internet.", +"id": "GoogleCloudVisionV1p2beta1WebDetectionWebEntity", +"properties": { +"description": { +"description": "Canonical description of the entity, in English.", +"type": "string" +}, +"entityId": { +"description": "Opaque entity ID.", +"type": "string" +}, +"score": { +"description": "Overall relevancy score for the entity. Not normalized and not comparable across different image queries.", +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p2beta1WebDetectionWebImage": { +"description": "Metadata for online images.", +"id": "GoogleCloudVisionV1p2beta1WebDetectionWebImage", +"properties": { +"score": { +"description": "(Deprecated) Overall relevancy score for the image.", +"format": "float", +"type": "number" +}, +"url": { +"description": "The result image URL.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p2beta1WebDetectionWebLabel": { +"description": "Label to provide extra metadata for the web detection.", +"id": "GoogleCloudVisionV1p2beta1WebDetectionWebLabel", +"properties": { +"label": { +"description": "Label for extra metadata.", +"type": "string" +}, +"languageCode": { +"description": "The BCP-47 language code for `label`, such as \"en-US\" or \"sr-Latn\". For more information, see http://www.unicode.org/reports/tr35/#Unicode_locale_identifier.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p2beta1WebDetectionWebPage": { +"description": "Metadata for web pages.", +"id": "GoogleCloudVisionV1p2beta1WebDetectionWebPage", +"properties": { +"fullMatchingImages": { +"description": "Fully matching images on the page. Can include resized copies of the query image.", +"items": { +"$ref": "GoogleCloudVisionV1p2beta1WebDetectionWebImage" +}, +"type": "array" +}, +"pageTitle": { +"description": "Title for the web page, may contain HTML markups.", +"type": "string" +}, +"partialMatchingImages": { +"description": "Partial matching images on the page. Those images are similar enough to share some key-point features. For example an original image will likely have partial matching for its crops.", +"items": { +"$ref": "GoogleCloudVisionV1p2beta1WebDetectionWebImage" +}, +"type": "array" +}, +"score": { +"description": "(Deprecated) Overall relevancy score for the web page.", +"format": "float", +"type": "number" +}, +"url": { +"description": "The result web page URL.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p2beta1Word": { +"description": "A word representation.", +"id": "GoogleCloudVisionV1p2beta1Word", +"properties": { +"boundingBox": { +"$ref": "GoogleCloudVisionV1p2beta1BoundingPoly", +"description": "The bounding box for the word. The vertices are in the order of top-left, top-right, bottom-right, bottom-left. When a rotation of the bounding box is detected the rotation is represented as around the top-left corner as defined when the text is read in the 'natural' orientation. For example: * when the text is horizontal it might look like: 0----1 | | 3----2 * when it's rotated 180 degrees around the top-left corner it becomes: 2----3 | | 1----0 and the vertex order will still be (0, 1, 2, 3)." +}, +"confidence": { +"description": "Confidence of the OCR results for the word. Range [0, 1].", +"format": "float", +"type": "number" +}, +"property": { +"$ref": "GoogleCloudVisionV1p2beta1TextAnnotationTextProperty", +"description": "Additional information detected for the word." +}, +"symbols": { +"description": "List of symbols in the word. The order of the symbols follows the natural reading order.", +"items": { +"$ref": "GoogleCloudVisionV1p2beta1Symbol" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p3beta1AnnotateFileResponse": { +"description": "Response to a single file annotation request. A file may contain one or more images, which individually have their own responses.", +"id": "GoogleCloudVisionV1p3beta1AnnotateFileResponse", +"properties": { +"error": { +"$ref": "Status", +"description": "If set, represents the error message for the failed request. The `responses` field will not be set in this case." +}, +"inputConfig": { +"$ref": "GoogleCloudVisionV1p3beta1InputConfig", +"description": "Information about the file for which this response is generated." +}, +"responses": { +"description": "Individual responses to images found within the file. This field will be empty if the `error` field is set.", +"items": { +"$ref": "GoogleCloudVisionV1p3beta1AnnotateImageResponse" +}, +"type": "array" +}, +"totalPages": { +"description": "This field gives the total number of pages in the file.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p3beta1AnnotateImageResponse": { +"description": "Response to an image annotation request.", +"id": "GoogleCloudVisionV1p3beta1AnnotateImageResponse", +"properties": { +"context": { +"$ref": "GoogleCloudVisionV1p3beta1ImageAnnotationContext", +"description": "If present, contextual information is needed to understand where this image comes from." +}, +"cropHintsAnnotation": { +"$ref": "GoogleCloudVisionV1p3beta1CropHintsAnnotation", +"description": "If present, crop hints have completed successfully." +}, +"error": { +"$ref": "Status", +"description": "If set, represents the error message for the operation. Note that filled-in image annotations are guaranteed to be correct, even when `error` is set." +}, +"faceAnnotations": { +"description": "If present, face detection has completed successfully.", +"items": { +"$ref": "GoogleCloudVisionV1p3beta1FaceAnnotation" +}, +"type": "array" +}, +"fullTextAnnotation": { +"$ref": "GoogleCloudVisionV1p3beta1TextAnnotation", +"description": "If present, text (OCR) detection or document (OCR) text detection has completed successfully. This annotation provides the structural hierarchy for the OCR detected text." +}, +"imagePropertiesAnnotation": { +"$ref": "GoogleCloudVisionV1p3beta1ImageProperties", +"description": "If present, image properties were extracted successfully." +}, +"labelAnnotations": { +"description": "If present, label detection has completed successfully.", +"items": { +"$ref": "GoogleCloudVisionV1p3beta1EntityAnnotation" +}, +"type": "array" +}, +"landmarkAnnotations": { +"description": "If present, landmark detection has completed successfully.", +"items": { +"$ref": "GoogleCloudVisionV1p3beta1EntityAnnotation" +}, +"type": "array" +}, +"localizedObjectAnnotations": { +"description": "If present, localized object detection has completed successfully. This will be sorted descending by confidence score.", +"items": { +"$ref": "GoogleCloudVisionV1p3beta1LocalizedObjectAnnotation" +}, +"type": "array" +}, +"logoAnnotations": { +"description": "If present, logo detection has completed successfully.", +"items": { +"$ref": "GoogleCloudVisionV1p3beta1EntityAnnotation" +}, +"type": "array" +}, +"productSearchResults": { +"$ref": "GoogleCloudVisionV1p3beta1ProductSearchResults", +"description": "If present, product search has completed successfully." +}, +"safeSearchAnnotation": { +"$ref": "GoogleCloudVisionV1p3beta1SafeSearchAnnotation", +"description": "If present, safe-search annotation has completed successfully." +}, +"textAnnotations": { +"description": "If present, text (OCR) detection has completed successfully.", +"items": { +"$ref": "GoogleCloudVisionV1p3beta1EntityAnnotation" +}, +"type": "array" +}, +"webDetection": { +"$ref": "GoogleCloudVisionV1p3beta1WebDetection", +"description": "If present, web detection has completed successfully." +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p3beta1AsyncAnnotateFileResponse": { +"description": "The response for a single offline file annotation request.", +"id": "GoogleCloudVisionV1p3beta1AsyncAnnotateFileResponse", +"properties": { +"outputConfig": { +"$ref": "GoogleCloudVisionV1p3beta1OutputConfig", +"description": "The output location and metadata from AsyncAnnotateFileRequest." +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p3beta1AsyncBatchAnnotateFilesResponse": { +"description": "Response to an async batch file annotation request.", +"id": "GoogleCloudVisionV1p3beta1AsyncBatchAnnotateFilesResponse", +"properties": { +"responses": { +"description": "The list of file annotation responses, one for each request in AsyncBatchAnnotateFilesRequest.", +"items": { +"$ref": "GoogleCloudVisionV1p3beta1AsyncAnnotateFileResponse" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p3beta1BatchOperationMetadata": { +"description": "Metadata for the batch operations such as the current state. This is included in the `metadata` field of the `Operation` returned by the `GetOperation` call of the `google::longrunning::Operations` service.", +"id": "GoogleCloudVisionV1p3beta1BatchOperationMetadata", +"properties": { +"endTime": { +"description": "The time when the batch request is finished and google.longrunning.Operation.done is set to true.", +"format": "google-datetime", +"type": "string" +}, +"state": { +"description": "The current state of the batch operation.", +"enum": [ +"STATE_UNSPECIFIED", +"PROCESSING", +"SUCCESSFUL", +"FAILED", +"CANCELLED" +], +"enumDescriptions": [ +"Invalid.", +"Request is actively being processed.", +"The request is done and at least one item has been successfully processed.", +"The request is done and no item has been successfully processed.", +"The request is done after the longrunning.Operations.CancelOperation has been called by the user. Any records that were processed before the cancel command are output as specified in the request." +], +"type": "string" +}, +"submitTime": { +"description": "The time when the batch request was submitted to the server.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p3beta1Block": { +"description": "Logical element on the page.", +"id": "GoogleCloudVisionV1p3beta1Block", +"properties": { +"blockType": { +"description": "Detected block type (text, image etc) for this block.", +"enum": [ +"UNKNOWN", +"TEXT", +"TABLE", +"PICTURE", +"RULER", +"BARCODE" +], +"enumDescriptions": [ +"Unknown block type.", +"Regular text block.", +"Table block.", +"Image block.", +"Horizontal/vertical line box.", +"Barcode block." +], +"type": "string" +}, +"boundingBox": { +"$ref": "GoogleCloudVisionV1p3beta1BoundingPoly", +"description": "The bounding box for the block. The vertices are in the order of top-left, top-right, bottom-right, bottom-left. When a rotation of the bounding box is detected the rotation is represented as around the top-left corner as defined when the text is read in the 'natural' orientation. For example: * when the text is horizontal it might look like: 0----1 | | 3----2 * when it's rotated 180 degrees around the top-left corner it becomes: 2----3 | | 1----0 and the vertex order will still be (0, 1, 2, 3)." +}, +"confidence": { +"description": "Confidence of the OCR results on the block. Range [0, 1].", +"format": "float", +"type": "number" +}, +"paragraphs": { +"description": "List of paragraphs in this block (if this blocks is of type text).", +"items": { +"$ref": "GoogleCloudVisionV1p3beta1Paragraph" +}, +"type": "array" +}, +"property": { +"$ref": "GoogleCloudVisionV1p3beta1TextAnnotationTextProperty", +"description": "Additional information detected for the block." +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p3beta1BoundingPoly": { +"description": "A bounding polygon for the detected image annotation.", +"id": "GoogleCloudVisionV1p3beta1BoundingPoly", +"properties": { +"normalizedVertices": { +"description": "The bounding polygon normalized vertices.", +"items": { +"$ref": "GoogleCloudVisionV1p3beta1NormalizedVertex" +}, +"type": "array" +}, +"vertices": { +"description": "The bounding polygon vertices.", +"items": { +"$ref": "GoogleCloudVisionV1p3beta1Vertex" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p3beta1ColorInfo": { +"description": "Color information consists of RGB channels, score, and the fraction of the image that the color occupies in the image.", +"id": "GoogleCloudVisionV1p3beta1ColorInfo", +"properties": { +"color": { +"$ref": "Color", +"description": "RGB components of the color." +}, +"pixelFraction": { +"description": "The fraction of pixels the color occupies in the image. Value in range [0, 1].", +"format": "float", +"type": "number" +}, +"score": { +"description": "Image-specific score for this color. Value in range [0, 1].", +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p3beta1CropHint": { +"description": "Single crop hint that is used to generate a new crop when serving an image.", +"id": "GoogleCloudVisionV1p3beta1CropHint", +"properties": { +"boundingPoly": { +"$ref": "GoogleCloudVisionV1p3beta1BoundingPoly", +"description": "The bounding polygon for the crop region. The coordinates of the bounding box are in the original image's scale." +}, +"confidence": { +"description": "Confidence of this being a salient region. Range [0, 1].", +"format": "float", +"type": "number" +}, +"importanceFraction": { +"description": "Fraction of importance of this salient region with respect to the original image.", +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p3beta1CropHintsAnnotation": { +"description": "Set of crop hints that are used to generate new crops when serving images.", +"id": "GoogleCloudVisionV1p3beta1CropHintsAnnotation", +"properties": { +"cropHints": { +"description": "Crop hint results.", +"items": { +"$ref": "GoogleCloudVisionV1p3beta1CropHint" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p3beta1DominantColorsAnnotation": { +"description": "Set of dominant colors and their corresponding scores.", +"id": "GoogleCloudVisionV1p3beta1DominantColorsAnnotation", +"properties": { +"colors": { +"description": "RGB color values with their score and pixel fraction.", +"items": { +"$ref": "GoogleCloudVisionV1p3beta1ColorInfo" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p3beta1EntityAnnotation": { +"description": "Set of detected entity features.", +"id": "GoogleCloudVisionV1p3beta1EntityAnnotation", +"properties": { +"boundingPoly": { +"$ref": "GoogleCloudVisionV1p3beta1BoundingPoly", +"description": "Image region to which this entity belongs. Not produced for `LABEL_DETECTION` features." +}, +"confidence": { +"deprecated": true, +"description": "**Deprecated. Use `score` instead.** The accuracy of the entity detection in an image. For example, for an image in which the \"Eiffel Tower\" entity is detected, this field represents the confidence that there is a tower in the query image. Range [0, 1].", +"format": "float", +"type": "number" +}, +"description": { +"description": "Entity textual description, expressed in its `locale` language.", +"type": "string" +}, +"locale": { +"description": "The language code for the locale in which the entity textual `description` is expressed.", +"type": "string" +}, +"locations": { +"description": "The location information for the detected entity. Multiple `LocationInfo` elements can be present because one location may indicate the location of the scene in the image, and another location may indicate the location of the place where the image was taken. Location information is usually present for landmarks.", +"items": { +"$ref": "GoogleCloudVisionV1p3beta1LocationInfo" +}, +"type": "array" +}, +"mid": { +"description": "Opaque entity ID. Some IDs may be available in [Google Knowledge Graph Search API](https://developers.google.com/knowledge-graph/).", +"type": "string" +}, +"properties": { +"description": "Some entities may have optional user-supplied `Property` (name/value) fields, such a score or string that qualifies the entity.", +"items": { +"$ref": "GoogleCloudVisionV1p3beta1Property" +}, +"type": "array" +}, +"score": { +"description": "Overall score of the result. Range [0, 1].", +"format": "float", +"type": "number" +}, +"topicality": { +"description": "The relevancy of the ICA (Image Content Annotation) label to the image. For example, the relevancy of \"tower\" is likely higher to an image containing the detected \"Eiffel Tower\" than to an image containing a detected distant towering building, even though the confidence that there is a tower in each image may be the same. Range [0, 1].", +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p3beta1FaceAnnotation": { +"description": "A face annotation object contains the results of face detection.", +"id": "GoogleCloudVisionV1p3beta1FaceAnnotation", +"properties": { +"angerLikelihood": { +"description": "Anger likelihood.", +"enum": [ +"UNKNOWN", +"VERY_UNLIKELY", +"UNLIKELY", +"POSSIBLE", +"LIKELY", +"VERY_LIKELY" +], +"enumDescriptions": [ +"Unknown likelihood.", +"It is very unlikely.", +"It is unlikely.", +"It is possible.", +"It is likely.", +"It is very likely." +], +"type": "string" +}, +"blurredLikelihood": { +"description": "Blurred likelihood.", +"enum": [ +"UNKNOWN", +"VERY_UNLIKELY", +"UNLIKELY", +"POSSIBLE", +"LIKELY", +"VERY_LIKELY" +], +"enumDescriptions": [ +"Unknown likelihood.", +"It is very unlikely.", +"It is unlikely.", +"It is possible.", +"It is likely.", +"It is very likely." +], +"type": "string" +}, +"boundingPoly": { +"$ref": "GoogleCloudVisionV1p3beta1BoundingPoly", +"description": "The bounding polygon around the face. The coordinates of the bounding box are in the original image's scale. The bounding box is computed to \"frame\" the face in accordance with human expectations. It is based on the landmarker results. Note that one or more x and/or y coordinates may not be generated in the `BoundingPoly` (the polygon will be unbounded) if only a partial face appears in the image to be annotated." +}, +"detectionConfidence": { +"description": "Detection confidence. Range [0, 1].", +"format": "float", +"type": "number" +}, +"fdBoundingPoly": { +"$ref": "GoogleCloudVisionV1p3beta1BoundingPoly", +"description": "The `fd_bounding_poly` bounding polygon is tighter than the `boundingPoly`, and encloses only the skin part of the face. Typically, it is used to eliminate the face from any image analysis that detects the \"amount of skin\" visible in an image. It is not based on the landmarker results, only on the initial face detection, hence the fd (face detection) prefix." +}, +"headwearLikelihood": { +"description": "Headwear likelihood.", +"enum": [ +"UNKNOWN", +"VERY_UNLIKELY", +"UNLIKELY", +"POSSIBLE", +"LIKELY", +"VERY_LIKELY" +], +"enumDescriptions": [ +"Unknown likelihood.", +"It is very unlikely.", +"It is unlikely.", +"It is possible.", +"It is likely.", +"It is very likely." +], +"type": "string" +}, +"joyLikelihood": { +"description": "Joy likelihood.", +"enum": [ +"UNKNOWN", +"VERY_UNLIKELY", +"UNLIKELY", +"POSSIBLE", +"LIKELY", +"VERY_LIKELY" +], +"enumDescriptions": [ +"Unknown likelihood.", +"It is very unlikely.", +"It is unlikely.", +"It is possible.", +"It is likely.", +"It is very likely." +], +"type": "string" +}, +"landmarkingConfidence": { +"description": "Face landmarking confidence. Range [0, 1].", +"format": "float", +"type": "number" +}, +"landmarks": { +"description": "Detected face landmarks.", +"items": { +"$ref": "GoogleCloudVisionV1p3beta1FaceAnnotationLandmark" +}, +"type": "array" +}, +"panAngle": { +"description": "Yaw angle, which indicates the leftward/rightward angle that the face is pointing relative to the vertical plane perpendicular to the image. Range [-180,180].", +"format": "float", +"type": "number" +}, +"rollAngle": { +"description": "Roll angle, which indicates the amount of clockwise/anti-clockwise rotation of the face relative to the image vertical about the axis perpendicular to the face. Range [-180,180].", +"format": "float", +"type": "number" +}, +"sorrowLikelihood": { +"description": "Sorrow likelihood.", +"enum": [ +"UNKNOWN", +"VERY_UNLIKELY", +"UNLIKELY", +"POSSIBLE", +"LIKELY", +"VERY_LIKELY" +], +"enumDescriptions": [ +"Unknown likelihood.", +"It is very unlikely.", +"It is unlikely.", +"It is possible.", +"It is likely.", +"It is very likely." +], +"type": "string" +}, +"surpriseLikelihood": { +"description": "Surprise likelihood.", +"enum": [ +"UNKNOWN", +"VERY_UNLIKELY", +"UNLIKELY", +"POSSIBLE", +"LIKELY", +"VERY_LIKELY" +], +"enumDescriptions": [ +"Unknown likelihood.", +"It is very unlikely.", +"It is unlikely.", +"It is possible.", +"It is likely.", +"It is very likely." +], +"type": "string" +}, +"tiltAngle": { +"description": "Pitch angle, which indicates the upwards/downwards angle that the face is pointing relative to the image's horizontal plane. Range [-180,180].", +"format": "float", +"type": "number" +}, +"underExposedLikelihood": { +"description": "Under-exposed likelihood.", +"enum": [ +"UNKNOWN", +"VERY_UNLIKELY", +"UNLIKELY", +"POSSIBLE", +"LIKELY", +"VERY_LIKELY" +], +"enumDescriptions": [ +"Unknown likelihood.", +"It is very unlikely.", +"It is unlikely.", +"It is possible.", +"It is likely.", +"It is very likely." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p3beta1FaceAnnotationLandmark": { +"description": "A face-specific landmark (for example, a face feature). Landmark positions may fall outside the bounds of the image if the face is near one or more edges of the image. Therefore it is NOT guaranteed that `0 <= x < width` or `0 <= y < height`.", +"id": "GoogleCloudVisionV1p3beta1FaceAnnotationLandmark", +"properties": { +"position": { +"$ref": "GoogleCloudVisionV1p3beta1Position", +"description": "Face landmark position." +}, +"type": { +"description": "Face landmark type.", +"enum": [ +"UNKNOWN_LANDMARK", +"LEFT_EYE", +"RIGHT_EYE", +"LEFT_OF_LEFT_EYEBROW", +"RIGHT_OF_LEFT_EYEBROW", +"LEFT_OF_RIGHT_EYEBROW", +"RIGHT_OF_RIGHT_EYEBROW", +"MIDPOINT_BETWEEN_EYES", +"NOSE_TIP", +"UPPER_LIP", +"LOWER_LIP", +"MOUTH_LEFT", +"MOUTH_RIGHT", +"MOUTH_CENTER", +"NOSE_BOTTOM_RIGHT", +"NOSE_BOTTOM_LEFT", +"NOSE_BOTTOM_CENTER", +"LEFT_EYE_TOP_BOUNDARY", +"LEFT_EYE_RIGHT_CORNER", +"LEFT_EYE_BOTTOM_BOUNDARY", +"LEFT_EYE_LEFT_CORNER", +"RIGHT_EYE_TOP_BOUNDARY", +"RIGHT_EYE_RIGHT_CORNER", +"RIGHT_EYE_BOTTOM_BOUNDARY", +"RIGHT_EYE_LEFT_CORNER", +"LEFT_EYEBROW_UPPER_MIDPOINT", +"RIGHT_EYEBROW_UPPER_MIDPOINT", +"LEFT_EAR_TRAGION", +"RIGHT_EAR_TRAGION", +"LEFT_EYE_PUPIL", +"RIGHT_EYE_PUPIL", +"FOREHEAD_GLABELLA", +"CHIN_GNATHION", +"CHIN_LEFT_GONION", +"CHIN_RIGHT_GONION", +"LEFT_CHEEK_CENTER", +"RIGHT_CHEEK_CENTER" +], +"enumDescriptions": [ +"Unknown face landmark detected. Should not be filled.", +"Left eye.", +"Right eye.", +"Left of left eyebrow.", +"Right of left eyebrow.", +"Left of right eyebrow.", +"Right of right eyebrow.", +"Midpoint between eyes.", +"Nose tip.", +"Upper lip.", +"Lower lip.", +"Mouth left.", +"Mouth right.", +"Mouth center.", +"Nose, bottom right.", +"Nose, bottom left.", +"Nose, bottom center.", +"Left eye, top boundary.", +"Left eye, right corner.", +"Left eye, bottom boundary.", +"Left eye, left corner.", +"Right eye, top boundary.", +"Right eye, right corner.", +"Right eye, bottom boundary.", +"Right eye, left corner.", +"Left eyebrow, upper midpoint.", +"Right eyebrow, upper midpoint.", +"Left ear tragion.", +"Right ear tragion.", +"Left eye pupil.", +"Right eye pupil.", +"Forehead glabella.", +"Chin gnathion.", +"Chin left gonion.", +"Chin right gonion.", +"Left cheek center.", +"Right cheek center." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p3beta1GcsDestination": { +"description": "The Google Cloud Storage location where the output will be written to.", +"id": "GoogleCloudVisionV1p3beta1GcsDestination", +"properties": { +"uri": { +"description": "Google Cloud Storage URI prefix where the results will be stored. Results will be in JSON format and preceded by its corresponding input URI prefix. This field can either represent a gcs file prefix or gcs directory. In either case, the uri should be unique because in order to get all of the output files, you will need to do a wildcard gcs search on the uri prefix you provide. Examples: * File Prefix: gs://bucket-name/here/filenameprefix The output files will be created in gs://bucket-name/here/ and the names of the output files will begin with \"filenameprefix\". * Directory Prefix: gs://bucket-name/some/location/ The output files will be created in gs://bucket-name/some/location/ and the names of the output files could be anything because there was no filename prefix specified. If multiple outputs, each response is still AnnotateFileResponse, each of which contains some subset of the full list of AnnotateImageResponse. Multiple outputs can happen if, for example, the output JSON is too large and overflows into multiple sharded files.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p3beta1GcsSource": { +"description": "The Google Cloud Storage location where the input will be read from.", +"id": "GoogleCloudVisionV1p3beta1GcsSource", +"properties": { +"uri": { +"description": "Google Cloud Storage URI for the input file. This must only be a Google Cloud Storage object. Wildcards are not currently supported.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p3beta1ImageAnnotationContext": { +"description": "If an image was produced from a file (e.g. a PDF), this message gives information about the source of that image.", +"id": "GoogleCloudVisionV1p3beta1ImageAnnotationContext", +"properties": { +"pageNumber": { +"description": "If the file was a PDF or TIFF, this field gives the page number within the file used to produce the image.", +"format": "int32", +"type": "integer" +}, +"uri": { +"description": "The URI of the file used to produce the image.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p3beta1ImageProperties": { +"description": "Stores image properties, such as dominant colors.", +"id": "GoogleCloudVisionV1p3beta1ImageProperties", +"properties": { +"dominantColors": { +"$ref": "GoogleCloudVisionV1p3beta1DominantColorsAnnotation", +"description": "If present, dominant colors completed successfully." +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p3beta1ImportProductSetsResponse": { +"description": "Response message for the `ImportProductSets` method. This message is returned by the google.longrunning.Operations.GetOperation method in the returned google.longrunning.Operation.response field.", +"id": "GoogleCloudVisionV1p3beta1ImportProductSetsResponse", +"properties": { +"referenceImages": { +"description": "The list of reference_images that are imported successfully.", +"items": { +"$ref": "GoogleCloudVisionV1p3beta1ReferenceImage" +}, +"type": "array" +}, +"statuses": { +"description": "The rpc status for each ImportProductSet request, including both successes and errors. The number of statuses here matches the number of lines in the csv file, and statuses[i] stores the success or failure status of processing the i-th line of the csv, starting from line 0.", +"items": { +"$ref": "Status" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p3beta1InputConfig": { +"description": "The desired input location and metadata.", +"id": "GoogleCloudVisionV1p3beta1InputConfig", +"properties": { +"content": { +"description": "File content, represented as a stream of bytes. Note: As with all `bytes` fields, protobuffers use a pure binary representation, whereas JSON representations use base64. Currently, this field only works for BatchAnnotateFiles requests. It does not work for AsyncBatchAnnotateFiles requests.", +"format": "byte", +"type": "string" +}, +"gcsSource": { +"$ref": "GoogleCloudVisionV1p3beta1GcsSource", +"description": "The Google Cloud Storage location to read the input from." +}, +"mimeType": { +"description": "The type of the file. Currently only \"application/pdf\", \"image/tiff\" and \"image/gif\" are supported. Wildcards are not supported.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p3beta1LocalizedObjectAnnotation": { +"description": "Set of detected objects with bounding boxes.", +"id": "GoogleCloudVisionV1p3beta1LocalizedObjectAnnotation", +"properties": { +"boundingPoly": { +"$ref": "GoogleCloudVisionV1p3beta1BoundingPoly", +"description": "Image region to which this object belongs. This must be populated." +}, +"languageCode": { +"description": "The BCP-47 language code, such as \"en-US\" or \"sr-Latn\". For more information, see http://www.unicode.org/reports/tr35/#Unicode_locale_identifier.", +"type": "string" +}, +"mid": { +"description": "Object ID that should align with EntityAnnotation mid.", +"type": "string" +}, +"name": { +"description": "Object name, expressed in its `language_code` language.", +"type": "string" +}, +"score": { +"description": "Score of the result. Range [0, 1].", +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p3beta1LocationInfo": { +"description": "Detected entity location information.", +"id": "GoogleCloudVisionV1p3beta1LocationInfo", +"properties": { +"latLng": { +"$ref": "LatLng", +"description": "lat/long location coordinates." +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p3beta1NormalizedVertex": { +"description": "A vertex represents a 2D point in the image. NOTE: the normalized vertex coordinates are relative to the original image and range from 0 to 1.", +"id": "GoogleCloudVisionV1p3beta1NormalizedVertex", +"properties": { +"x": { +"description": "X coordinate.", +"format": "float", +"type": "number" +}, +"y": { +"description": "Y coordinate.", +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p3beta1OperationMetadata": { +"description": "Contains metadata for the BatchAnnotateImages operation.", +"id": "GoogleCloudVisionV1p3beta1OperationMetadata", +"properties": { +"createTime": { +"description": "The time when the batch request was received.", +"format": "google-datetime", +"type": "string" +}, +"state": { +"description": "Current state of the batch operation.", +"enum": [ +"STATE_UNSPECIFIED", +"CREATED", +"RUNNING", +"DONE", +"CANCELLED" +], +"enumDescriptions": [ +"Invalid.", +"Request is received.", +"Request is actively being processed.", +"The batch processing is done.", +"The batch processing was cancelled." +], +"type": "string" +}, +"updateTime": { +"description": "The time when the operation result was last updated.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p3beta1OutputConfig": { +"description": "The desired output location and metadata.", +"id": "GoogleCloudVisionV1p3beta1OutputConfig", +"properties": { +"batchSize": { +"description": "The max number of response protos to put into each output JSON file on Google Cloud Storage. The valid range is [1, 100]. If not specified, the default value is 20. For example, for one pdf file with 100 pages, 100 response protos will be generated. If `batch_size` = 20, then 5 json files each containing 20 response protos will be written under the prefix `gcs_destination`.`uri`. Currently, batch_size only applies to GcsDestination, with potential future support for other output configurations.", +"format": "int32", +"type": "integer" +}, +"gcsDestination": { +"$ref": "GoogleCloudVisionV1p3beta1GcsDestination", +"description": "The Google Cloud Storage location to write the output(s) to." +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p3beta1Page": { +"description": "Detected page from OCR.", +"id": "GoogleCloudVisionV1p3beta1Page", +"properties": { +"blocks": { +"description": "List of blocks of text, images etc on this page.", +"items": { +"$ref": "GoogleCloudVisionV1p3beta1Block" +}, +"type": "array" +}, +"confidence": { +"description": "Confidence of the OCR results on the page. Range [0, 1].", +"format": "float", +"type": "number" +}, +"height": { +"description": "Page height. For PDFs the unit is points. For images (including TIFFs) the unit is pixels.", +"format": "int32", +"type": "integer" +}, +"property": { +"$ref": "GoogleCloudVisionV1p3beta1TextAnnotationTextProperty", +"description": "Additional information detected on the page." +}, +"width": { +"description": "Page width. For PDFs the unit is points. For images (including TIFFs) the unit is pixels.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p3beta1Paragraph": { +"description": "Structural unit of text representing a number of words in certain order.", +"id": "GoogleCloudVisionV1p3beta1Paragraph", +"properties": { +"boundingBox": { +"$ref": "GoogleCloudVisionV1p3beta1BoundingPoly", +"description": "The bounding box for the paragraph. The vertices are in the order of top-left, top-right, bottom-right, bottom-left. When a rotation of the bounding box is detected the rotation is represented as around the top-left corner as defined when the text is read in the 'natural' orientation. For example: * when the text is horizontal it might look like: 0----1 | | 3----2 * when it's rotated 180 degrees around the top-left corner it becomes: 2----3 | | 1----0 and the vertex order will still be (0, 1, 2, 3)." +}, +"confidence": { +"description": "Confidence of the OCR results for the paragraph. Range [0, 1].", +"format": "float", +"type": "number" +}, +"property": { +"$ref": "GoogleCloudVisionV1p3beta1TextAnnotationTextProperty", +"description": "Additional information detected for the paragraph." +}, +"words": { +"description": "List of all words in this paragraph.", +"items": { +"$ref": "GoogleCloudVisionV1p3beta1Word" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p3beta1Position": { +"description": "A 3D position in the image, used primarily for Face detection landmarks. A valid Position must have both x and y coordinates. The position coordinates are in the same scale as the original image.", +"id": "GoogleCloudVisionV1p3beta1Position", +"properties": { +"x": { +"description": "X coordinate.", +"format": "float", +"type": "number" +}, +"y": { +"description": "Y coordinate.", +"format": "float", +"type": "number" +}, +"z": { +"description": "Z coordinate (or depth).", +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p3beta1Product": { +"description": "A Product contains ReferenceImages.", +"id": "GoogleCloudVisionV1p3beta1Product", +"properties": { +"description": { +"description": "User-provided metadata to be stored with this product. Must be at most 4096 characters long.", +"type": "string" +}, +"displayName": { +"description": "The user-provided name for this Product. Must not be empty. Must be at most 4096 characters long.", +"type": "string" +}, +"name": { +"description": "The resource name of the product. Format is: `projects/PROJECT_ID/locations/LOC_ID/products/PRODUCT_ID`. This field is ignored when creating a product.", +"type": "string" +}, +"productCategory": { +"description": "Immutable. The category for the product identified by the reference image. This should be one of \"homegoods-v2\", \"apparel-v2\", \"toys-v2\", \"packagedgoods-v1\" or \"general-v1\". The legacy categories \"homegoods\", \"apparel\", and \"toys\" are still supported, but these should not be used for new products.", +"type": "string" +}, +"productLabels": { +"description": "Key-value pairs that can be attached to a product. At query time, constraints can be specified based on the product_labels. Note that integer values can be provided as strings, e.g. \"1199\". Only strings with integer values can match a range-based restriction which is to be supported soon. Multiple values can be assigned to the same key. One product may have up to 500 product_labels. Notice that the total number of distinct product_labels over all products in one ProductSet cannot exceed 1M, otherwise the product search pipeline will refuse to work for that ProductSet.", +"items": { +"$ref": "GoogleCloudVisionV1p3beta1ProductKeyValue" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p3beta1ProductKeyValue": { +"description": "A product label represented as a key-value pair.", +"id": "GoogleCloudVisionV1p3beta1ProductKeyValue", +"properties": { +"key": { +"description": "The key of the label attached to the product. Cannot be empty and cannot exceed 128 bytes.", +"type": "string" +}, +"value": { +"description": "The value of the label attached to the product. Cannot be empty and cannot exceed 128 bytes.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p3beta1ProductSearchResults": { +"description": "Results for a product search request.", +"id": "GoogleCloudVisionV1p3beta1ProductSearchResults", +"properties": { +"indexTime": { +"description": "Timestamp of the index which provided these results. Products added to the product set and products removed from the product set after this time are not reflected in the current results.", +"format": "google-datetime", +"type": "string" +}, +"productGroupedResults": { +"description": "List of results grouped by products detected in the query image. Each entry corresponds to one bounding polygon in the query image, and contains the matching products specific to that region. There may be duplicate product matches in the union of all the per-product results.", +"items": { +"$ref": "GoogleCloudVisionV1p3beta1ProductSearchResultsGroupedResult" +}, +"type": "array" +}, +"results": { +"description": "List of results, one for each product match.", +"items": { +"$ref": "GoogleCloudVisionV1p3beta1ProductSearchResultsResult" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p3beta1ProductSearchResultsGroupedResult": { +"description": "Information about the products similar to a single product in a query image.", +"id": "GoogleCloudVisionV1p3beta1ProductSearchResultsGroupedResult", +"properties": { +"boundingPoly": { +"$ref": "GoogleCloudVisionV1p3beta1BoundingPoly", +"description": "The bounding polygon around the product detected in the query image." +}, +"objectAnnotations": { +"description": "List of generic predictions for the object in the bounding box.", +"items": { +"$ref": "GoogleCloudVisionV1p3beta1ProductSearchResultsObjectAnnotation" +}, +"type": "array" +}, +"results": { +"description": "List of results, one for each product match.", +"items": { +"$ref": "GoogleCloudVisionV1p3beta1ProductSearchResultsResult" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p3beta1ProductSearchResultsObjectAnnotation": { +"description": "Prediction for what the object in the bounding box is.", +"id": "GoogleCloudVisionV1p3beta1ProductSearchResultsObjectAnnotation", +"properties": { +"languageCode": { +"description": "The BCP-47 language code, such as \"en-US\" or \"sr-Latn\". For more information, see http://www.unicode.org/reports/tr35/#Unicode_locale_identifier.", +"type": "string" +}, +"mid": { +"description": "Object ID that should align with EntityAnnotation mid.", +"type": "string" +}, +"name": { +"description": "Object name, expressed in its `language_code` language.", +"type": "string" +}, +"score": { +"description": "Score of the result. Range [0, 1].", +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p3beta1ProductSearchResultsResult": { +"description": "Information about a product.", +"id": "GoogleCloudVisionV1p3beta1ProductSearchResultsResult", +"properties": { +"image": { +"description": "The resource name of the image from the product that is the closest match to the query.", +"type": "string" +}, +"product": { +"$ref": "GoogleCloudVisionV1p3beta1Product", +"description": "The Product." +}, +"score": { +"description": "A confidence level on the match, ranging from 0 (no confidence) to 1 (full confidence).", +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p3beta1Property": { +"description": "A `Property` consists of a user-supplied name/value pair.", +"id": "GoogleCloudVisionV1p3beta1Property", +"properties": { +"name": { +"description": "Name of the property.", +"type": "string" +}, +"uint64Value": { +"description": "Value of numeric properties.", +"format": "uint64", +"type": "string" +}, +"value": { +"description": "Value of the property.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p3beta1ReferenceImage": { +"description": "A `ReferenceImage` represents a product image and its associated metadata, such as bounding boxes.", +"id": "GoogleCloudVisionV1p3beta1ReferenceImage", +"properties": { +"boundingPolys": { +"description": "Optional. Bounding polygons around the areas of interest in the reference image. If this field is empty, the system will try to detect regions of interest. At most 10 bounding polygons will be used. The provided shape is converted into a non-rotated rectangle. Once converted, the small edge of the rectangle must be greater than or equal to 300 pixels. The aspect ratio must be 1:4 or less (i.e. 1:3 is ok; 1:5 is not).", +"items": { +"$ref": "GoogleCloudVisionV1p3beta1BoundingPoly" +}, +"type": "array" +}, +"name": { +"description": "The resource name of the reference image. Format is: `projects/PROJECT_ID/locations/LOC_ID/products/PRODUCT_ID/referenceImages/IMAGE_ID`. This field is ignored when creating a reference image.", +"type": "string" +}, +"uri": { +"description": "Required. The Google Cloud Storage URI of the reference image. The URI must start with `gs://`.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p3beta1SafeSearchAnnotation": { +"description": "Set of features pertaining to the image, computed by computer vision methods over safe-search verticals (for example, adult, spoof, medical, violence).", +"id": "GoogleCloudVisionV1p3beta1SafeSearchAnnotation", +"properties": { +"adult": { +"description": "Represents the adult content likelihood for the image. Adult content may contain elements such as nudity, pornographic images or cartoons, or sexual activities.", +"enum": [ +"UNKNOWN", +"VERY_UNLIKELY", +"UNLIKELY", +"POSSIBLE", +"LIKELY", +"VERY_LIKELY" +], +"enumDescriptions": [ +"Unknown likelihood.", +"It is very unlikely.", +"It is unlikely.", +"It is possible.", +"It is likely.", +"It is very likely." +], +"type": "string" +}, +"medical": { +"description": "Likelihood that this is a medical image.", +"enum": [ +"UNKNOWN", +"VERY_UNLIKELY", +"UNLIKELY", +"POSSIBLE", +"LIKELY", +"VERY_LIKELY" +], +"enumDescriptions": [ +"Unknown likelihood.", +"It is very unlikely.", +"It is unlikely.", +"It is possible.", +"It is likely.", +"It is very likely." +], +"type": "string" +}, +"racy": { +"description": "Likelihood that the request image contains racy content. Racy content may include (but is not limited to) skimpy or sheer clothing, strategically covered nudity, lewd or provocative poses, or close-ups of sensitive body areas.", +"enum": [ +"UNKNOWN", +"VERY_UNLIKELY", +"UNLIKELY", +"POSSIBLE", +"LIKELY", +"VERY_LIKELY" +], +"enumDescriptions": [ +"Unknown likelihood.", +"It is very unlikely.", +"It is unlikely.", +"It is possible.", +"It is likely.", +"It is very likely." +], +"type": "string" +}, +"spoof": { +"description": "Spoof likelihood. The likelihood that an modification was made to the image's canonical version to make it appear funny or offensive.", +"enum": [ +"UNKNOWN", +"VERY_UNLIKELY", +"UNLIKELY", +"POSSIBLE", +"LIKELY", +"VERY_LIKELY" +], +"enumDescriptions": [ +"Unknown likelihood.", +"It is very unlikely.", +"It is unlikely.", +"It is possible.", +"It is likely.", +"It is very likely." +], +"type": "string" +}, +"violence": { +"description": "Likelihood that this image contains violent content. Violent content may include death, serious harm, or injury to individuals or groups of individuals.", +"enum": [ +"UNKNOWN", +"VERY_UNLIKELY", +"UNLIKELY", +"POSSIBLE", +"LIKELY", +"VERY_LIKELY" +], +"enumDescriptions": [ +"Unknown likelihood.", +"It is very unlikely.", +"It is unlikely.", +"It is possible.", +"It is likely.", +"It is very likely." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p3beta1Symbol": { +"description": "A single symbol representation.", +"id": "GoogleCloudVisionV1p3beta1Symbol", +"properties": { +"boundingBox": { +"$ref": "GoogleCloudVisionV1p3beta1BoundingPoly", +"description": "The bounding box for the symbol. The vertices are in the order of top-left, top-right, bottom-right, bottom-left. When a rotation of the bounding box is detected the rotation is represented as around the top-left corner as defined when the text is read in the 'natural' orientation. For example: * when the text is horizontal it might look like: 0----1 | | 3----2 * when it's rotated 180 degrees around the top-left corner it becomes: 2----3 | | 1----0 and the vertex order will still be (0, 1, 2, 3)." +}, +"confidence": { +"description": "Confidence of the OCR results for the symbol. Range [0, 1].", +"format": "float", +"type": "number" +}, +"property": { +"$ref": "GoogleCloudVisionV1p3beta1TextAnnotationTextProperty", +"description": "Additional information detected for the symbol." +}, +"text": { +"description": "The actual UTF-8 representation of the symbol.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p3beta1TextAnnotation": { +"description": "TextAnnotation contains a structured representation of OCR extracted text. The hierarchy of an OCR extracted text structure is like this: TextAnnotation -> Page -> Block -> Paragraph -> Word -> Symbol Each structural component, starting from Page, may further have their own properties. Properties describe detected languages, breaks etc.. Please refer to the TextAnnotation.TextProperty message definition below for more detail.", +"id": "GoogleCloudVisionV1p3beta1TextAnnotation", +"properties": { +"pages": { +"description": "List of pages detected by OCR.", +"items": { +"$ref": "GoogleCloudVisionV1p3beta1Page" +}, +"type": "array" +}, +"text": { +"description": "UTF-8 text detected on the pages.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p3beta1TextAnnotationDetectedBreak": { +"description": "Detected start or end of a structural component.", +"id": "GoogleCloudVisionV1p3beta1TextAnnotationDetectedBreak", +"properties": { +"isPrefix": { +"description": "True if break prepends the element.", +"type": "boolean" +}, +"type": { +"description": "Detected break type.", +"enum": [ +"UNKNOWN", +"SPACE", +"SURE_SPACE", +"EOL_SURE_SPACE", +"HYPHEN", +"LINE_BREAK" +], +"enumDescriptions": [ +"Unknown break label type.", +"Regular space.", +"Sure space (very wide).", +"Line-wrapping break.", +"End-line hyphen that is not present in text; does not co-occur with `SPACE`, `LEADER_SPACE`, or `LINE_BREAK`.", +"Line break that ends a paragraph." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p3beta1TextAnnotationDetectedLanguage": { +"description": "Detected language for a structural component.", +"id": "GoogleCloudVisionV1p3beta1TextAnnotationDetectedLanguage", +"properties": { +"confidence": { +"description": "Confidence of detected language. Range [0, 1].", +"format": "float", +"type": "number" +}, +"languageCode": { +"description": "The BCP-47 language code, such as \"en-US\" or \"sr-Latn\". For more information, see http://www.unicode.org/reports/tr35/#Unicode_locale_identifier.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p3beta1TextAnnotationTextProperty": { +"description": "Additional information detected on the structural component.", +"id": "GoogleCloudVisionV1p3beta1TextAnnotationTextProperty", +"properties": { +"detectedBreak": { +"$ref": "GoogleCloudVisionV1p3beta1TextAnnotationDetectedBreak", +"description": "Detected start or end of a text segment." +}, +"detectedLanguages": { +"description": "A list of detected languages together with confidence.", +"items": { +"$ref": "GoogleCloudVisionV1p3beta1TextAnnotationDetectedLanguage" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p3beta1Vertex": { +"description": "A vertex represents a 2D point in the image. NOTE: the vertex coordinates are in the same scale as the original image.", +"id": "GoogleCloudVisionV1p3beta1Vertex", +"properties": { +"x": { +"description": "X coordinate.", +"format": "int32", +"type": "integer" +}, +"y": { +"description": "Y coordinate.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p3beta1WebDetection": { +"description": "Relevant information for the image from the Internet.", +"id": "GoogleCloudVisionV1p3beta1WebDetection", +"properties": { +"bestGuessLabels": { +"description": "The service's best guess as to the topic of the request image. Inferred from similar images on the open web.", +"items": { +"$ref": "GoogleCloudVisionV1p3beta1WebDetectionWebLabel" +}, +"type": "array" +}, +"fullMatchingImages": { +"description": "Fully matching images from the Internet. Can include resized copies of the query image.", +"items": { +"$ref": "GoogleCloudVisionV1p3beta1WebDetectionWebImage" +}, +"type": "array" +}, +"pagesWithMatchingImages": { +"description": "Web pages containing the matching images from the Internet.", +"items": { +"$ref": "GoogleCloudVisionV1p3beta1WebDetectionWebPage" +}, +"type": "array" +}, +"partialMatchingImages": { +"description": "Partial matching images from the Internet. Those images are similar enough to share some key-point features. For example an original image will likely have partial matching for its crops.", +"items": { +"$ref": "GoogleCloudVisionV1p3beta1WebDetectionWebImage" +}, +"type": "array" +}, +"visuallySimilarImages": { +"description": "The visually similar image results.", +"items": { +"$ref": "GoogleCloudVisionV1p3beta1WebDetectionWebImage" +}, +"type": "array" +}, +"webEntities": { +"description": "Deduced entities from similar images on the Internet.", +"items": { +"$ref": "GoogleCloudVisionV1p3beta1WebDetectionWebEntity" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p3beta1WebDetectionWebEntity": { +"description": "Entity deduced from similar images on the Internet.", +"id": "GoogleCloudVisionV1p3beta1WebDetectionWebEntity", +"properties": { +"description": { +"description": "Canonical description of the entity, in English.", +"type": "string" +}, +"entityId": { +"description": "Opaque entity ID.", +"type": "string" +}, +"score": { +"description": "Overall relevancy score for the entity. Not normalized and not comparable across different image queries.", +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p3beta1WebDetectionWebImage": { +"description": "Metadata for online images.", +"id": "GoogleCloudVisionV1p3beta1WebDetectionWebImage", +"properties": { +"score": { +"description": "(Deprecated) Overall relevancy score for the image.", +"format": "float", +"type": "number" +}, +"url": { +"description": "The result image URL.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p3beta1WebDetectionWebLabel": { +"description": "Label to provide extra metadata for the web detection.", +"id": "GoogleCloudVisionV1p3beta1WebDetectionWebLabel", +"properties": { +"label": { +"description": "Label for extra metadata.", +"type": "string" +}, +"languageCode": { +"description": "The BCP-47 language code for `label`, such as \"en-US\" or \"sr-Latn\". For more information, see http://www.unicode.org/reports/tr35/#Unicode_locale_identifier.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p3beta1WebDetectionWebPage": { +"description": "Metadata for web pages.", +"id": "GoogleCloudVisionV1p3beta1WebDetectionWebPage", +"properties": { +"fullMatchingImages": { +"description": "Fully matching images on the page. Can include resized copies of the query image.", +"items": { +"$ref": "GoogleCloudVisionV1p3beta1WebDetectionWebImage" +}, +"type": "array" +}, +"pageTitle": { +"description": "Title for the web page, may contain HTML markups.", +"type": "string" +}, +"partialMatchingImages": { +"description": "Partial matching images on the page. Those images are similar enough to share some key-point features. For example an original image will likely have partial matching for its crops.", +"items": { +"$ref": "GoogleCloudVisionV1p3beta1WebDetectionWebImage" +}, +"type": "array" +}, +"score": { +"description": "(Deprecated) Overall relevancy score for the web page.", +"format": "float", +"type": "number" +}, +"url": { +"description": "The result web page URL.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p3beta1Word": { +"description": "A word representation.", +"id": "GoogleCloudVisionV1p3beta1Word", +"properties": { +"boundingBox": { +"$ref": "GoogleCloudVisionV1p3beta1BoundingPoly", +"description": "The bounding box for the word. The vertices are in the order of top-left, top-right, bottom-right, bottom-left. When a rotation of the bounding box is detected the rotation is represented as around the top-left corner as defined when the text is read in the 'natural' orientation. For example: * when the text is horizontal it might look like: 0----1 | | 3----2 * when it's rotated 180 degrees around the top-left corner it becomes: 2----3 | | 1----0 and the vertex order will still be (0, 1, 2, 3)." +}, +"confidence": { +"description": "Confidence of the OCR results for the word. Range [0, 1].", +"format": "float", +"type": "number" +}, +"property": { +"$ref": "GoogleCloudVisionV1p3beta1TextAnnotationTextProperty", +"description": "Additional information detected for the word." +}, +"symbols": { +"description": "List of symbols in the word. The order of the symbols follows the natural reading order.", +"items": { +"$ref": "GoogleCloudVisionV1p3beta1Symbol" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p4beta1AnnotateFileResponse": { +"description": "Response to a single file annotation request. A file may contain one or more images, which individually have their own responses.", +"id": "GoogleCloudVisionV1p4beta1AnnotateFileResponse", +"properties": { +"error": { +"$ref": "Status", +"description": "If set, represents the error message for the failed request. The `responses` field will not be set in this case." +}, +"inputConfig": { +"$ref": "GoogleCloudVisionV1p4beta1InputConfig", +"description": "Information about the file for which this response is generated." +}, +"responses": { +"description": "Individual responses to images found within the file. This field will be empty if the `error` field is set.", +"items": { +"$ref": "GoogleCloudVisionV1p4beta1AnnotateImageResponse" +}, +"type": "array" +}, +"totalPages": { +"description": "This field gives the total number of pages in the file.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p4beta1AnnotateImageResponse": { +"description": "Response to an image annotation request.", +"id": "GoogleCloudVisionV1p4beta1AnnotateImageResponse", +"properties": { +"context": { +"$ref": "GoogleCloudVisionV1p4beta1ImageAnnotationContext", +"description": "If present, contextual information is needed to understand where this image comes from." +}, +"cropHintsAnnotation": { +"$ref": "GoogleCloudVisionV1p4beta1CropHintsAnnotation", +"description": "If present, crop hints have completed successfully." +}, +"error": { +"$ref": "Status", +"description": "If set, represents the error message for the operation. Note that filled-in image annotations are guaranteed to be correct, even when `error` is set." +}, +"faceAnnotations": { +"description": "If present, face detection has completed successfully.", +"items": { +"$ref": "GoogleCloudVisionV1p4beta1FaceAnnotation" +}, +"type": "array" +}, +"fullTextAnnotation": { +"$ref": "GoogleCloudVisionV1p4beta1TextAnnotation", +"description": "If present, text (OCR) detection or document (OCR) text detection has completed successfully. This annotation provides the structural hierarchy for the OCR detected text." +}, +"imagePropertiesAnnotation": { +"$ref": "GoogleCloudVisionV1p4beta1ImageProperties", +"description": "If present, image properties were extracted successfully." +}, +"labelAnnotations": { +"description": "If present, label detection has completed successfully.", +"items": { +"$ref": "GoogleCloudVisionV1p4beta1EntityAnnotation" +}, +"type": "array" +}, +"landmarkAnnotations": { +"description": "If present, landmark detection has completed successfully.", +"items": { +"$ref": "GoogleCloudVisionV1p4beta1EntityAnnotation" +}, +"type": "array" +}, +"localizedObjectAnnotations": { +"description": "If present, localized object detection has completed successfully. This will be sorted descending by confidence score.", +"items": { +"$ref": "GoogleCloudVisionV1p4beta1LocalizedObjectAnnotation" +}, +"type": "array" +}, +"logoAnnotations": { +"description": "If present, logo detection has completed successfully.", +"items": { +"$ref": "GoogleCloudVisionV1p4beta1EntityAnnotation" +}, +"type": "array" +}, +"productSearchResults": { +"$ref": "GoogleCloudVisionV1p4beta1ProductSearchResults", +"description": "If present, product search has completed successfully." +}, +"safeSearchAnnotation": { +"$ref": "GoogleCloudVisionV1p4beta1SafeSearchAnnotation", +"description": "If present, safe-search annotation has completed successfully." +}, +"textAnnotations": { +"description": "If present, text (OCR) detection has completed successfully.", +"items": { +"$ref": "GoogleCloudVisionV1p4beta1EntityAnnotation" +}, +"type": "array" +}, +"webDetection": { +"$ref": "GoogleCloudVisionV1p4beta1WebDetection", +"description": "If present, web detection has completed successfully." +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p4beta1AsyncAnnotateFileResponse": { +"description": "The response for a single offline file annotation request.", +"id": "GoogleCloudVisionV1p4beta1AsyncAnnotateFileResponse", +"properties": { +"outputConfig": { +"$ref": "GoogleCloudVisionV1p4beta1OutputConfig", +"description": "The output location and metadata from AsyncAnnotateFileRequest." +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p4beta1AsyncBatchAnnotateFilesResponse": { +"description": "Response to an async batch file annotation request.", +"id": "GoogleCloudVisionV1p4beta1AsyncBatchAnnotateFilesResponse", +"properties": { +"responses": { +"description": "The list of file annotation responses, one for each request in AsyncBatchAnnotateFilesRequest.", +"items": { +"$ref": "GoogleCloudVisionV1p4beta1AsyncAnnotateFileResponse" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p4beta1AsyncBatchAnnotateImagesResponse": { +"description": "Response to an async batch image annotation request.", +"id": "GoogleCloudVisionV1p4beta1AsyncBatchAnnotateImagesResponse", +"properties": { +"outputConfig": { +"$ref": "GoogleCloudVisionV1p4beta1OutputConfig", +"description": "The output location and metadata from AsyncBatchAnnotateImagesRequest." +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p4beta1BatchAnnotateFilesResponse": { +"description": "A list of file annotation responses.", +"id": "GoogleCloudVisionV1p4beta1BatchAnnotateFilesResponse", +"properties": { +"responses": { +"description": "The list of file annotation responses, each response corresponding to each AnnotateFileRequest in BatchAnnotateFilesRequest.", +"items": { +"$ref": "GoogleCloudVisionV1p4beta1AnnotateFileResponse" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p4beta1BatchOperationMetadata": { +"description": "Metadata for the batch operations such as the current state. This is included in the `metadata` field of the `Operation` returned by the `GetOperation` call of the `google::longrunning::Operations` service.", +"id": "GoogleCloudVisionV1p4beta1BatchOperationMetadata", +"properties": { +"endTime": { +"description": "The time when the batch request is finished and google.longrunning.Operation.done is set to true.", +"format": "google-datetime", +"type": "string" +}, +"state": { +"description": "The current state of the batch operation.", +"enum": [ +"STATE_UNSPECIFIED", +"PROCESSING", +"SUCCESSFUL", +"FAILED", +"CANCELLED" +], +"enumDescriptions": [ +"Invalid.", +"Request is actively being processed.", +"The request is done and at least one item has been successfully processed.", +"The request is done and no item has been successfully processed.", +"The request is done after the longrunning.Operations.CancelOperation has been called by the user. Any records that were processed before the cancel command are output as specified in the request." +], +"type": "string" +}, +"submitTime": { +"description": "The time when the batch request was submitted to the server.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p4beta1Block": { +"description": "Logical element on the page.", +"id": "GoogleCloudVisionV1p4beta1Block", +"properties": { +"blockType": { +"description": "Detected block type (text, image etc) for this block.", +"enum": [ +"UNKNOWN", +"TEXT", +"TABLE", +"PICTURE", +"RULER", +"BARCODE" +], +"enumDescriptions": [ +"Unknown block type.", +"Regular text block.", +"Table block.", +"Image block.", +"Horizontal/vertical line box.", +"Barcode block." +], +"type": "string" +}, +"boundingBox": { +"$ref": "GoogleCloudVisionV1p4beta1BoundingPoly", +"description": "The bounding box for the block. The vertices are in the order of top-left, top-right, bottom-right, bottom-left. When a rotation of the bounding box is detected the rotation is represented as around the top-left corner as defined when the text is read in the 'natural' orientation. For example: * when the text is horizontal it might look like: 0----1 | | 3----2 * when it's rotated 180 degrees around the top-left corner it becomes: 2----3 | | 1----0 and the vertex order will still be (0, 1, 2, 3)." +}, +"confidence": { +"description": "Confidence of the OCR results on the block. Range [0, 1].", +"format": "float", +"type": "number" +}, +"paragraphs": { +"description": "List of paragraphs in this block (if this blocks is of type text).", +"items": { +"$ref": "GoogleCloudVisionV1p4beta1Paragraph" +}, +"type": "array" +}, +"property": { +"$ref": "GoogleCloudVisionV1p4beta1TextAnnotationTextProperty", +"description": "Additional information detected for the block." +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p4beta1BoundingPoly": { +"description": "A bounding polygon for the detected image annotation.", +"id": "GoogleCloudVisionV1p4beta1BoundingPoly", +"properties": { +"normalizedVertices": { +"description": "The bounding polygon normalized vertices.", +"items": { +"$ref": "GoogleCloudVisionV1p4beta1NormalizedVertex" +}, +"type": "array" +}, +"vertices": { +"description": "The bounding polygon vertices.", +"items": { +"$ref": "GoogleCloudVisionV1p4beta1Vertex" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p4beta1Celebrity": { +"description": "A Celebrity is a group of Faces with an identity.", +"id": "GoogleCloudVisionV1p4beta1Celebrity", +"properties": { +"description": { +"description": "The Celebrity's description.", +"type": "string" +}, +"displayName": { +"description": "The Celebrity's display name.", +"type": "string" +}, +"name": { +"description": "The resource name of the preloaded Celebrity. Has the format `builtin/{mid}`.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p4beta1ColorInfo": { +"description": "Color information consists of RGB channels, score, and the fraction of the image that the color occupies in the image.", +"id": "GoogleCloudVisionV1p4beta1ColorInfo", +"properties": { +"color": { +"$ref": "Color", +"description": "RGB components of the color." +}, +"pixelFraction": { +"description": "The fraction of pixels the color occupies in the image. Value in range [0, 1].", +"format": "float", +"type": "number" +}, +"score": { +"description": "Image-specific score for this color. Value in range [0, 1].", +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p4beta1CropHint": { +"description": "Single crop hint that is used to generate a new crop when serving an image.", +"id": "GoogleCloudVisionV1p4beta1CropHint", +"properties": { +"boundingPoly": { +"$ref": "GoogleCloudVisionV1p4beta1BoundingPoly", +"description": "The bounding polygon for the crop region. The coordinates of the bounding box are in the original image's scale." +}, +"confidence": { +"description": "Confidence of this being a salient region. Range [0, 1].", +"format": "float", +"type": "number" +}, +"importanceFraction": { +"description": "Fraction of importance of this salient region with respect to the original image.", +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p4beta1CropHintsAnnotation": { +"description": "Set of crop hints that are used to generate new crops when serving images.", +"id": "GoogleCloudVisionV1p4beta1CropHintsAnnotation", +"properties": { +"cropHints": { +"description": "Crop hint results.", +"items": { +"$ref": "GoogleCloudVisionV1p4beta1CropHint" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p4beta1DominantColorsAnnotation": { +"description": "Set of dominant colors and their corresponding scores.", +"id": "GoogleCloudVisionV1p4beta1DominantColorsAnnotation", +"properties": { +"colors": { +"description": "RGB color values with their score and pixel fraction.", +"items": { +"$ref": "GoogleCloudVisionV1p4beta1ColorInfo" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p4beta1EntityAnnotation": { +"description": "Set of detected entity features.", +"id": "GoogleCloudVisionV1p4beta1EntityAnnotation", +"properties": { +"boundingPoly": { +"$ref": "GoogleCloudVisionV1p4beta1BoundingPoly", +"description": "Image region to which this entity belongs. Not produced for `LABEL_DETECTION` features." +}, +"confidence": { +"deprecated": true, +"description": "**Deprecated. Use `score` instead.** The accuracy of the entity detection in an image. For example, for an image in which the \"Eiffel Tower\" entity is detected, this field represents the confidence that there is a tower in the query image. Range [0, 1].", +"format": "float", +"type": "number" +}, +"description": { +"description": "Entity textual description, expressed in its `locale` language.", +"type": "string" +}, +"locale": { +"description": "The language code for the locale in which the entity textual `description` is expressed.", +"type": "string" +}, +"locations": { +"description": "The location information for the detected entity. Multiple `LocationInfo` elements can be present because one location may indicate the location of the scene in the image, and another location may indicate the location of the place where the image was taken. Location information is usually present for landmarks.", +"items": { +"$ref": "GoogleCloudVisionV1p4beta1LocationInfo" +}, +"type": "array" +}, +"mid": { +"description": "Opaque entity ID. Some IDs may be available in [Google Knowledge Graph Search API](https://developers.google.com/knowledge-graph/).", +"type": "string" +}, +"properties": { +"description": "Some entities may have optional user-supplied `Property` (name/value) fields, such a score or string that qualifies the entity.", +"items": { +"$ref": "GoogleCloudVisionV1p4beta1Property" +}, +"type": "array" +}, +"score": { +"description": "Overall score of the result. Range [0, 1].", +"format": "float", +"type": "number" +}, +"topicality": { +"description": "The relevancy of the ICA (Image Content Annotation) label to the image. For example, the relevancy of \"tower\" is likely higher to an image containing the detected \"Eiffel Tower\" than to an image containing a detected distant towering building, even though the confidence that there is a tower in each image may be the same. Range [0, 1].", +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p4beta1FaceAnnotation": { +"description": "A face annotation object contains the results of face detection.", +"id": "GoogleCloudVisionV1p4beta1FaceAnnotation", +"properties": { +"angerLikelihood": { +"description": "Anger likelihood.", +"enum": [ +"UNKNOWN", +"VERY_UNLIKELY", +"UNLIKELY", +"POSSIBLE", +"LIKELY", +"VERY_LIKELY" +], +"enumDescriptions": [ +"Unknown likelihood.", +"It is very unlikely.", +"It is unlikely.", +"It is possible.", +"It is likely.", +"It is very likely." +], +"type": "string" +}, +"blurredLikelihood": { +"description": "Blurred likelihood.", +"enum": [ +"UNKNOWN", +"VERY_UNLIKELY", +"UNLIKELY", +"POSSIBLE", +"LIKELY", +"VERY_LIKELY" +], +"enumDescriptions": [ +"Unknown likelihood.", +"It is very unlikely.", +"It is unlikely.", +"It is possible.", +"It is likely.", +"It is very likely." +], +"type": "string" +}, +"boundingPoly": { +"$ref": "GoogleCloudVisionV1p4beta1BoundingPoly", +"description": "The bounding polygon around the face. The coordinates of the bounding box are in the original image's scale. The bounding box is computed to \"frame\" the face in accordance with human expectations. It is based on the landmarker results. Note that one or more x and/or y coordinates may not be generated in the `BoundingPoly` (the polygon will be unbounded) if only a partial face appears in the image to be annotated." +}, +"detectionConfidence": { +"description": "Detection confidence. Range [0, 1].", +"format": "float", +"type": "number" +}, +"fdBoundingPoly": { +"$ref": "GoogleCloudVisionV1p4beta1BoundingPoly", +"description": "The `fd_bounding_poly` bounding polygon is tighter than the `boundingPoly`, and encloses only the skin part of the face. Typically, it is used to eliminate the face from any image analysis that detects the \"amount of skin\" visible in an image. It is not based on the landmarker results, only on the initial face detection, hence the fd (face detection) prefix." +}, +"headwearLikelihood": { +"description": "Headwear likelihood.", +"enum": [ +"UNKNOWN", +"VERY_UNLIKELY", +"UNLIKELY", +"POSSIBLE", +"LIKELY", +"VERY_LIKELY" +], +"enumDescriptions": [ +"Unknown likelihood.", +"It is very unlikely.", +"It is unlikely.", +"It is possible.", +"It is likely.", +"It is very likely." +], +"type": "string" +}, +"joyLikelihood": { +"description": "Joy likelihood.", +"enum": [ +"UNKNOWN", +"VERY_UNLIKELY", +"UNLIKELY", +"POSSIBLE", +"LIKELY", +"VERY_LIKELY" +], +"enumDescriptions": [ +"Unknown likelihood.", +"It is very unlikely.", +"It is unlikely.", +"It is possible.", +"It is likely.", +"It is very likely." +], +"type": "string" +}, +"landmarkingConfidence": { +"description": "Face landmarking confidence. Range [0, 1].", +"format": "float", +"type": "number" +}, +"landmarks": { +"description": "Detected face landmarks.", +"items": { +"$ref": "GoogleCloudVisionV1p4beta1FaceAnnotationLandmark" +}, +"type": "array" +}, +"panAngle": { +"description": "Yaw angle, which indicates the leftward/rightward angle that the face is pointing relative to the vertical plane perpendicular to the image. Range [-180,180].", +"format": "float", +"type": "number" +}, +"recognitionResult": { +"description": "Additional recognition information. Only computed if image_context.face_recognition_params is provided, **and** a match is found to a Celebrity in the input CelebritySet. This field is sorted in order of decreasing confidence values.", +"items": { +"$ref": "GoogleCloudVisionV1p4beta1FaceRecognitionResult" +}, +"type": "array" +}, +"rollAngle": { +"description": "Roll angle, which indicates the amount of clockwise/anti-clockwise rotation of the face relative to the image vertical about the axis perpendicular to the face. Range [-180,180].", +"format": "float", +"type": "number" +}, +"sorrowLikelihood": { +"description": "Sorrow likelihood.", +"enum": [ +"UNKNOWN", +"VERY_UNLIKELY", +"UNLIKELY", +"POSSIBLE", +"LIKELY", +"VERY_LIKELY" +], +"enumDescriptions": [ +"Unknown likelihood.", +"It is very unlikely.", +"It is unlikely.", +"It is possible.", +"It is likely.", +"It is very likely." +], +"type": "string" +}, +"surpriseLikelihood": { +"description": "Surprise likelihood.", +"enum": [ +"UNKNOWN", +"VERY_UNLIKELY", +"UNLIKELY", +"POSSIBLE", +"LIKELY", +"VERY_LIKELY" +], +"enumDescriptions": [ +"Unknown likelihood.", +"It is very unlikely.", +"It is unlikely.", +"It is possible.", +"It is likely.", +"It is very likely." +], +"type": "string" +}, +"tiltAngle": { +"description": "Pitch angle, which indicates the upwards/downwards angle that the face is pointing relative to the image's horizontal plane. Range [-180,180].", +"format": "float", +"type": "number" +}, +"underExposedLikelihood": { +"description": "Under-exposed likelihood.", +"enum": [ +"UNKNOWN", +"VERY_UNLIKELY", +"UNLIKELY", +"POSSIBLE", +"LIKELY", +"VERY_LIKELY" +], +"enumDescriptions": [ +"Unknown likelihood.", +"It is very unlikely.", +"It is unlikely.", +"It is possible.", +"It is likely.", +"It is very likely." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p4beta1FaceAnnotationLandmark": { +"description": "A face-specific landmark (for example, a face feature). Landmark positions may fall outside the bounds of the image if the face is near one or more edges of the image. Therefore it is NOT guaranteed that `0 <= x < width` or `0 <= y < height`.", +"id": "GoogleCloudVisionV1p4beta1FaceAnnotationLandmark", +"properties": { +"position": { +"$ref": "GoogleCloudVisionV1p4beta1Position", +"description": "Face landmark position." +}, +"type": { +"description": "Face landmark type.", +"enum": [ +"UNKNOWN_LANDMARK", +"LEFT_EYE", +"RIGHT_EYE", +"LEFT_OF_LEFT_EYEBROW", +"RIGHT_OF_LEFT_EYEBROW", +"LEFT_OF_RIGHT_EYEBROW", +"RIGHT_OF_RIGHT_EYEBROW", +"MIDPOINT_BETWEEN_EYES", +"NOSE_TIP", +"UPPER_LIP", +"LOWER_LIP", +"MOUTH_LEFT", +"MOUTH_RIGHT", +"MOUTH_CENTER", +"NOSE_BOTTOM_RIGHT", +"NOSE_BOTTOM_LEFT", +"NOSE_BOTTOM_CENTER", +"LEFT_EYE_TOP_BOUNDARY", +"LEFT_EYE_RIGHT_CORNER", +"LEFT_EYE_BOTTOM_BOUNDARY", +"LEFT_EYE_LEFT_CORNER", +"RIGHT_EYE_TOP_BOUNDARY", +"RIGHT_EYE_RIGHT_CORNER", +"RIGHT_EYE_BOTTOM_BOUNDARY", +"RIGHT_EYE_LEFT_CORNER", +"LEFT_EYEBROW_UPPER_MIDPOINT", +"RIGHT_EYEBROW_UPPER_MIDPOINT", +"LEFT_EAR_TRAGION", +"RIGHT_EAR_TRAGION", +"LEFT_EYE_PUPIL", +"RIGHT_EYE_PUPIL", +"FOREHEAD_GLABELLA", +"CHIN_GNATHION", +"CHIN_LEFT_GONION", +"CHIN_RIGHT_GONION", +"LEFT_CHEEK_CENTER", +"RIGHT_CHEEK_CENTER" +], +"enumDescriptions": [ +"Unknown face landmark detected. Should not be filled.", +"Left eye.", +"Right eye.", +"Left of left eyebrow.", +"Right of left eyebrow.", +"Left of right eyebrow.", +"Right of right eyebrow.", +"Midpoint between eyes.", +"Nose tip.", +"Upper lip.", +"Lower lip.", +"Mouth left.", +"Mouth right.", +"Mouth center.", +"Nose, bottom right.", +"Nose, bottom left.", +"Nose, bottom center.", +"Left eye, top boundary.", +"Left eye, right corner.", +"Left eye, bottom boundary.", +"Left eye, left corner.", +"Right eye, top boundary.", +"Right eye, right corner.", +"Right eye, bottom boundary.", +"Right eye, left corner.", +"Left eyebrow, upper midpoint.", +"Right eyebrow, upper midpoint.", +"Left ear tragion.", +"Right ear tragion.", +"Left eye pupil.", +"Right eye pupil.", +"Forehead glabella.", +"Chin gnathion.", +"Chin left gonion.", +"Chin right gonion.", +"Left cheek center.", +"Right cheek center." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p4beta1FaceRecognitionResult": { +"description": "Information about a face's identity.", +"id": "GoogleCloudVisionV1p4beta1FaceRecognitionResult", +"properties": { +"celebrity": { +"$ref": "GoogleCloudVisionV1p4beta1Celebrity", +"description": "The Celebrity that this face was matched to." +}, +"confidence": { +"description": "Recognition confidence. Range [0, 1].", +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p4beta1GcsDestination": { +"description": "The Google Cloud Storage location where the output will be written to.", +"id": "GoogleCloudVisionV1p4beta1GcsDestination", +"properties": { +"uri": { +"description": "Google Cloud Storage URI prefix where the results will be stored. Results will be in JSON format and preceded by its corresponding input URI prefix. This field can either represent a gcs file prefix or gcs directory. In either case, the uri should be unique because in order to get all of the output files, you will need to do a wildcard gcs search on the uri prefix you provide. Examples: * File Prefix: gs://bucket-name/here/filenameprefix The output files will be created in gs://bucket-name/here/ and the names of the output files will begin with \"filenameprefix\". * Directory Prefix: gs://bucket-name/some/location/ The output files will be created in gs://bucket-name/some/location/ and the names of the output files could be anything because there was no filename prefix specified. If multiple outputs, each response is still AnnotateFileResponse, each of which contains some subset of the full list of AnnotateImageResponse. Multiple outputs can happen if, for example, the output JSON is too large and overflows into multiple sharded files.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p4beta1GcsSource": { +"description": "The Google Cloud Storage location where the input will be read from.", +"id": "GoogleCloudVisionV1p4beta1GcsSource", +"properties": { +"uri": { +"description": "Google Cloud Storage URI for the input file. This must only be a Google Cloud Storage object. Wildcards are not currently supported.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p4beta1ImageAnnotationContext": { +"description": "If an image was produced from a file (e.g. a PDF), this message gives information about the source of that image.", +"id": "GoogleCloudVisionV1p4beta1ImageAnnotationContext", +"properties": { +"pageNumber": { +"description": "If the file was a PDF or TIFF, this field gives the page number within the file used to produce the image.", +"format": "int32", +"type": "integer" +}, +"uri": { +"description": "The URI of the file used to produce the image.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p4beta1ImageProperties": { +"description": "Stores image properties, such as dominant colors.", +"id": "GoogleCloudVisionV1p4beta1ImageProperties", +"properties": { +"dominantColors": { +"$ref": "GoogleCloudVisionV1p4beta1DominantColorsAnnotation", +"description": "If present, dominant colors completed successfully." +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p4beta1ImportProductSetsResponse": { +"description": "Response message for the `ImportProductSets` method. This message is returned by the google.longrunning.Operations.GetOperation method in the returned google.longrunning.Operation.response field.", +"id": "GoogleCloudVisionV1p4beta1ImportProductSetsResponse", +"properties": { +"referenceImages": { +"description": "The list of reference_images that are imported successfully.", +"items": { +"$ref": "GoogleCloudVisionV1p4beta1ReferenceImage" +}, +"type": "array" +}, +"statuses": { +"description": "The rpc status for each ImportProductSet request, including both successes and errors. The number of statuses here matches the number of lines in the csv file, and statuses[i] stores the success or failure status of processing the i-th line of the csv, starting from line 0.", +"items": { +"$ref": "Status" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p4beta1InputConfig": { +"description": "The desired input location and metadata.", +"id": "GoogleCloudVisionV1p4beta1InputConfig", +"properties": { +"content": { +"description": "File content, represented as a stream of bytes. Note: As with all `bytes` fields, protobuffers use a pure binary representation, whereas JSON representations use base64. Currently, this field only works for BatchAnnotateFiles requests. It does not work for AsyncBatchAnnotateFiles requests.", +"format": "byte", +"type": "string" +}, +"gcsSource": { +"$ref": "GoogleCloudVisionV1p4beta1GcsSource", +"description": "The Google Cloud Storage location to read the input from." +}, +"mimeType": { +"description": "The type of the file. Currently only \"application/pdf\", \"image/tiff\" and \"image/gif\" are supported. Wildcards are not supported.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p4beta1LocalizedObjectAnnotation": { +"description": "Set of detected objects with bounding boxes.", +"id": "GoogleCloudVisionV1p4beta1LocalizedObjectAnnotation", +"properties": { +"boundingPoly": { +"$ref": "GoogleCloudVisionV1p4beta1BoundingPoly", +"description": "Image region to which this object belongs. This must be populated." +}, +"languageCode": { +"description": "The BCP-47 language code, such as \"en-US\" or \"sr-Latn\". For more information, see http://www.unicode.org/reports/tr35/#Unicode_locale_identifier.", +"type": "string" +}, +"mid": { +"description": "Object ID that should align with EntityAnnotation mid.", +"type": "string" +}, +"name": { +"description": "Object name, expressed in its `language_code` language.", +"type": "string" +}, +"score": { +"description": "Score of the result. Range [0, 1].", +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p4beta1LocationInfo": { +"description": "Detected entity location information.", +"id": "GoogleCloudVisionV1p4beta1LocationInfo", +"properties": { +"latLng": { +"$ref": "LatLng", +"description": "lat/long location coordinates." +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p4beta1NormalizedVertex": { +"description": "A vertex represents a 2D point in the image. NOTE: the normalized vertex coordinates are relative to the original image and range from 0 to 1.", +"id": "GoogleCloudVisionV1p4beta1NormalizedVertex", +"properties": { +"x": { +"description": "X coordinate.", +"format": "float", +"type": "number" +}, +"y": { +"description": "Y coordinate.", +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p4beta1OperationMetadata": { +"description": "Contains metadata for the BatchAnnotateImages operation.", +"id": "GoogleCloudVisionV1p4beta1OperationMetadata", +"properties": { +"createTime": { +"description": "The time when the batch request was received.", +"format": "google-datetime", +"type": "string" +}, +"state": { +"description": "Current state of the batch operation.", +"enum": [ +"STATE_UNSPECIFIED", +"CREATED", +"RUNNING", +"DONE", +"CANCELLED" +], +"enumDescriptions": [ +"Invalid.", +"Request is received.", +"Request is actively being processed.", +"The batch processing is done.", +"The batch processing was cancelled." +], +"type": "string" +}, +"updateTime": { +"description": "The time when the operation result was last updated.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p4beta1OutputConfig": { +"description": "The desired output location and metadata.", +"id": "GoogleCloudVisionV1p4beta1OutputConfig", +"properties": { +"batchSize": { +"description": "The max number of response protos to put into each output JSON file on Google Cloud Storage. The valid range is [1, 100]. If not specified, the default value is 20. For example, for one pdf file with 100 pages, 100 response protos will be generated. If `batch_size` = 20, then 5 json files each containing 20 response protos will be written under the prefix `gcs_destination`.`uri`. Currently, batch_size only applies to GcsDestination, with potential future support for other output configurations.", +"format": "int32", +"type": "integer" +}, +"gcsDestination": { +"$ref": "GoogleCloudVisionV1p4beta1GcsDestination", +"description": "The Google Cloud Storage location to write the output(s) to." +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p4beta1Page": { +"description": "Detected page from OCR.", +"id": "GoogleCloudVisionV1p4beta1Page", +"properties": { +"blocks": { +"description": "List of blocks of text, images etc on this page.", +"items": { +"$ref": "GoogleCloudVisionV1p4beta1Block" +}, +"type": "array" +}, +"confidence": { +"description": "Confidence of the OCR results on the page. Range [0, 1].", +"format": "float", +"type": "number" +}, +"height": { +"description": "Page height. For PDFs the unit is points. For images (including TIFFs) the unit is pixels.", +"format": "int32", +"type": "integer" +}, +"property": { +"$ref": "GoogleCloudVisionV1p4beta1TextAnnotationTextProperty", +"description": "Additional information detected on the page." +}, +"width": { +"description": "Page width. For PDFs the unit is points. For images (including TIFFs) the unit is pixels.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p4beta1Paragraph": { +"description": "Structural unit of text representing a number of words in certain order.", +"id": "GoogleCloudVisionV1p4beta1Paragraph", +"properties": { +"boundingBox": { +"$ref": "GoogleCloudVisionV1p4beta1BoundingPoly", +"description": "The bounding box for the paragraph. The vertices are in the order of top-left, top-right, bottom-right, bottom-left. When a rotation of the bounding box is detected the rotation is represented as around the top-left corner as defined when the text is read in the 'natural' orientation. For example: * when the text is horizontal it might look like: 0----1 | | 3----2 * when it's rotated 180 degrees around the top-left corner it becomes: 2----3 | | 1----0 and the vertex order will still be (0, 1, 2, 3)." +}, +"confidence": { +"description": "Confidence of the OCR results for the paragraph. Range [0, 1].", +"format": "float", +"type": "number" +}, +"property": { +"$ref": "GoogleCloudVisionV1p4beta1TextAnnotationTextProperty", +"description": "Additional information detected for the paragraph." +}, +"words": { +"description": "List of all words in this paragraph.", +"items": { +"$ref": "GoogleCloudVisionV1p4beta1Word" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p4beta1Position": { +"description": "A 3D position in the image, used primarily for Face detection landmarks. A valid Position must have both x and y coordinates. The position coordinates are in the same scale as the original image.", +"id": "GoogleCloudVisionV1p4beta1Position", +"properties": { +"x": { +"description": "X coordinate.", +"format": "float", +"type": "number" +}, +"y": { +"description": "Y coordinate.", +"format": "float", +"type": "number" +}, +"z": { +"description": "Z coordinate (or depth).", +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p4beta1Product": { +"description": "A Product contains ReferenceImages.", +"id": "GoogleCloudVisionV1p4beta1Product", +"properties": { +"description": { +"description": "User-provided metadata to be stored with this product. Must be at most 4096 characters long.", +"type": "string" +}, +"displayName": { +"description": "The user-provided name for this Product. Must not be empty. Must be at most 4096 characters long.", +"type": "string" +}, +"name": { +"description": "The resource name of the product. Format is: `projects/PROJECT_ID/locations/LOC_ID/products/PRODUCT_ID`. This field is ignored when creating a product.", +"type": "string" +}, +"productCategory": { +"description": "Immutable. The category for the product identified by the reference image. This should be one of \"homegoods-v2\", \"apparel-v2\", \"toys-v2\", \"packagedgoods-v1\" or \"general-v1\". The legacy categories \"homegoods\", \"apparel\", and \"toys\" are still supported, but these should not be used for new products.", +"type": "string" +}, +"productLabels": { +"description": "Key-value pairs that can be attached to a product. At query time, constraints can be specified based on the product_labels. Note that integer values can be provided as strings, e.g. \"1199\". Only strings with integer values can match a range-based restriction which is to be supported soon. Multiple values can be assigned to the same key. One product may have up to 500 product_labels. Notice that the total number of distinct product_labels over all products in one ProductSet cannot exceed 1M, otherwise the product search pipeline will refuse to work for that ProductSet.", +"items": { +"$ref": "GoogleCloudVisionV1p4beta1ProductKeyValue" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p4beta1ProductKeyValue": { +"description": "A product label represented as a key-value pair.", +"id": "GoogleCloudVisionV1p4beta1ProductKeyValue", +"properties": { +"key": { +"description": "The key of the label attached to the product. Cannot be empty and cannot exceed 128 bytes.", +"type": "string" +}, +"value": { +"description": "The value of the label attached to the product. Cannot be empty and cannot exceed 128 bytes.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p4beta1ProductSearchResults": { +"description": "Results for a product search request.", +"id": "GoogleCloudVisionV1p4beta1ProductSearchResults", +"properties": { +"indexTime": { +"description": "Timestamp of the index which provided these results. Products added to the product set and products removed from the product set after this time are not reflected in the current results.", +"format": "google-datetime", +"type": "string" +}, +"productGroupedResults": { +"description": "List of results grouped by products detected in the query image. Each entry corresponds to one bounding polygon in the query image, and contains the matching products specific to that region. There may be duplicate product matches in the union of all the per-product results.", +"items": { +"$ref": "GoogleCloudVisionV1p4beta1ProductSearchResultsGroupedResult" +}, +"type": "array" +}, +"results": { +"description": "List of results, one for each product match.", +"items": { +"$ref": "GoogleCloudVisionV1p4beta1ProductSearchResultsResult" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p4beta1ProductSearchResultsGroupedResult": { +"description": "Information about the products similar to a single product in a query image.", +"id": "GoogleCloudVisionV1p4beta1ProductSearchResultsGroupedResult", +"properties": { +"boundingPoly": { +"$ref": "GoogleCloudVisionV1p4beta1BoundingPoly", +"description": "The bounding polygon around the product detected in the query image." +}, +"objectAnnotations": { +"description": "List of generic predictions for the object in the bounding box.", +"items": { +"$ref": "GoogleCloudVisionV1p4beta1ProductSearchResultsObjectAnnotation" +}, +"type": "array" +}, +"results": { +"description": "List of results, one for each product match.", +"items": { +"$ref": "GoogleCloudVisionV1p4beta1ProductSearchResultsResult" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p4beta1ProductSearchResultsObjectAnnotation": { +"description": "Prediction for what the object in the bounding box is.", +"id": "GoogleCloudVisionV1p4beta1ProductSearchResultsObjectAnnotation", +"properties": { +"languageCode": { +"description": "The BCP-47 language code, such as \"en-US\" or \"sr-Latn\". For more information, see http://www.unicode.org/reports/tr35/#Unicode_locale_identifier.", +"type": "string" +}, +"mid": { +"description": "Object ID that should align with EntityAnnotation mid.", +"type": "string" +}, +"name": { +"description": "Object name, expressed in its `language_code` language.", +"type": "string" +}, +"score": { +"description": "Score of the result. Range [0, 1].", +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p4beta1ProductSearchResultsResult": { +"description": "Information about a product.", +"id": "GoogleCloudVisionV1p4beta1ProductSearchResultsResult", +"properties": { +"image": { +"description": "The resource name of the image from the product that is the closest match to the query.", +"type": "string" +}, +"product": { +"$ref": "GoogleCloudVisionV1p4beta1Product", +"description": "The Product." +}, +"score": { +"description": "A confidence level on the match, ranging from 0 (no confidence) to 1 (full confidence).", +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p4beta1Property": { +"description": "A `Property` consists of a user-supplied name/value pair.", +"id": "GoogleCloudVisionV1p4beta1Property", +"properties": { +"name": { +"description": "Name of the property.", +"type": "string" +}, +"uint64Value": { +"description": "Value of numeric properties.", +"format": "uint64", +"type": "string" +}, +"value": { +"description": "Value of the property.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p4beta1ReferenceImage": { +"description": "A `ReferenceImage` represents a product image and its associated metadata, such as bounding boxes.", +"id": "GoogleCloudVisionV1p4beta1ReferenceImage", +"properties": { +"boundingPolys": { +"description": "Optional. Bounding polygons around the areas of interest in the reference image. If this field is empty, the system will try to detect regions of interest. At most 10 bounding polygons will be used. The provided shape is converted into a non-rotated rectangle. Once converted, the small edge of the rectangle must be greater than or equal to 300 pixels. The aspect ratio must be 1:4 or less (i.e. 1:3 is ok; 1:5 is not).", +"items": { +"$ref": "GoogleCloudVisionV1p4beta1BoundingPoly" +}, +"type": "array" +}, +"name": { +"description": "The resource name of the reference image. Format is: `projects/PROJECT_ID/locations/LOC_ID/products/PRODUCT_ID/referenceImages/IMAGE_ID`. This field is ignored when creating a reference image.", +"type": "string" +}, +"uri": { +"description": "Required. The Google Cloud Storage URI of the reference image. The URI must start with `gs://`.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p4beta1SafeSearchAnnotation": { +"description": "Set of features pertaining to the image, computed by computer vision methods over safe-search verticals (for example, adult, spoof, medical, violence).", +"id": "GoogleCloudVisionV1p4beta1SafeSearchAnnotation", +"properties": { +"adult": { +"description": "Represents the adult content likelihood for the image. Adult content may contain elements such as nudity, pornographic images or cartoons, or sexual activities.", +"enum": [ +"UNKNOWN", +"VERY_UNLIKELY", +"UNLIKELY", +"POSSIBLE", +"LIKELY", +"VERY_LIKELY" +], +"enumDescriptions": [ +"Unknown likelihood.", +"It is very unlikely.", +"It is unlikely.", +"It is possible.", +"It is likely.", +"It is very likely." +], +"type": "string" +}, +"medical": { +"description": "Likelihood that this is a medical image.", +"enum": [ +"UNKNOWN", +"VERY_UNLIKELY", +"UNLIKELY", +"POSSIBLE", +"LIKELY", +"VERY_LIKELY" +], +"enumDescriptions": [ +"Unknown likelihood.", +"It is very unlikely.", +"It is unlikely.", +"It is possible.", +"It is likely.", +"It is very likely." +], +"type": "string" +}, +"racy": { +"description": "Likelihood that the request image contains racy content. Racy content may include (but is not limited to) skimpy or sheer clothing, strategically covered nudity, lewd or provocative poses, or close-ups of sensitive body areas.", +"enum": [ +"UNKNOWN", +"VERY_UNLIKELY", +"UNLIKELY", +"POSSIBLE", +"LIKELY", +"VERY_LIKELY" +], +"enumDescriptions": [ +"Unknown likelihood.", +"It is very unlikely.", +"It is unlikely.", +"It is possible.", +"It is likely.", +"It is very likely." +], +"type": "string" +}, +"spoof": { +"description": "Spoof likelihood. The likelihood that an modification was made to the image's canonical version to make it appear funny or offensive.", +"enum": [ +"UNKNOWN", +"VERY_UNLIKELY", +"UNLIKELY", +"POSSIBLE", +"LIKELY", +"VERY_LIKELY" +], +"enumDescriptions": [ +"Unknown likelihood.", +"It is very unlikely.", +"It is unlikely.", +"It is possible.", +"It is likely.", +"It is very likely." +], +"type": "string" +}, +"violence": { +"description": "Likelihood that this image contains violent content. Violent content may include death, serious harm, or injury to individuals or groups of individuals.", +"enum": [ +"UNKNOWN", +"VERY_UNLIKELY", +"UNLIKELY", +"POSSIBLE", +"LIKELY", +"VERY_LIKELY" +], +"enumDescriptions": [ +"Unknown likelihood.", +"It is very unlikely.", +"It is unlikely.", +"It is possible.", +"It is likely.", +"It is very likely." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p4beta1Symbol": { +"description": "A single symbol representation.", +"id": "GoogleCloudVisionV1p4beta1Symbol", +"properties": { +"boundingBox": { +"$ref": "GoogleCloudVisionV1p4beta1BoundingPoly", +"description": "The bounding box for the symbol. The vertices are in the order of top-left, top-right, bottom-right, bottom-left. When a rotation of the bounding box is detected the rotation is represented as around the top-left corner as defined when the text is read in the 'natural' orientation. For example: * when the text is horizontal it might look like: 0----1 | | 3----2 * when it's rotated 180 degrees around the top-left corner it becomes: 2----3 | | 1----0 and the vertex order will still be (0, 1, 2, 3)." +}, +"confidence": { +"description": "Confidence of the OCR results for the symbol. Range [0, 1].", +"format": "float", +"type": "number" +}, +"property": { +"$ref": "GoogleCloudVisionV1p4beta1TextAnnotationTextProperty", +"description": "Additional information detected for the symbol." +}, +"text": { +"description": "The actual UTF-8 representation of the symbol.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p4beta1TextAnnotation": { +"description": "TextAnnotation contains a structured representation of OCR extracted text. The hierarchy of an OCR extracted text structure is like this: TextAnnotation -> Page -> Block -> Paragraph -> Word -> Symbol Each structural component, starting from Page, may further have their own properties. Properties describe detected languages, breaks etc.. Please refer to the TextAnnotation.TextProperty message definition below for more detail.", +"id": "GoogleCloudVisionV1p4beta1TextAnnotation", +"properties": { +"pages": { +"description": "List of pages detected by OCR.", +"items": { +"$ref": "GoogleCloudVisionV1p4beta1Page" +}, +"type": "array" +}, +"text": { +"description": "UTF-8 text detected on the pages.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p4beta1TextAnnotationDetectedBreak": { +"description": "Detected start or end of a structural component.", +"id": "GoogleCloudVisionV1p4beta1TextAnnotationDetectedBreak", +"properties": { +"isPrefix": { +"description": "True if break prepends the element.", +"type": "boolean" +}, +"type": { +"description": "Detected break type.", +"enum": [ +"UNKNOWN", +"SPACE", +"SURE_SPACE", +"EOL_SURE_SPACE", +"HYPHEN", +"LINE_BREAK" +], +"enumDescriptions": [ +"Unknown break label type.", +"Regular space.", +"Sure space (very wide).", +"Line-wrapping break.", +"End-line hyphen that is not present in text; does not co-occur with `SPACE`, `LEADER_SPACE`, or `LINE_BREAK`.", +"Line break that ends a paragraph." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p4beta1TextAnnotationDetectedLanguage": { +"description": "Detected language for a structural component.", +"id": "GoogleCloudVisionV1p4beta1TextAnnotationDetectedLanguage", +"properties": { +"confidence": { +"description": "Confidence of detected language. Range [0, 1].", +"format": "float", +"type": "number" +}, +"languageCode": { +"description": "The BCP-47 language code, such as \"en-US\" or \"sr-Latn\". For more information, see http://www.unicode.org/reports/tr35/#Unicode_locale_identifier.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p4beta1TextAnnotationTextProperty": { +"description": "Additional information detected on the structural component.", +"id": "GoogleCloudVisionV1p4beta1TextAnnotationTextProperty", +"properties": { +"detectedBreak": { +"$ref": "GoogleCloudVisionV1p4beta1TextAnnotationDetectedBreak", +"description": "Detected start or end of a text segment." +}, +"detectedLanguages": { +"description": "A list of detected languages together with confidence.", +"items": { +"$ref": "GoogleCloudVisionV1p4beta1TextAnnotationDetectedLanguage" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p4beta1Vertex": { +"description": "A vertex represents a 2D point in the image. NOTE: the vertex coordinates are in the same scale as the original image.", +"id": "GoogleCloudVisionV1p4beta1Vertex", +"properties": { +"x": { +"description": "X coordinate.", +"format": "int32", +"type": "integer" +}, +"y": { +"description": "Y coordinate.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p4beta1WebDetection": { +"description": "Relevant information for the image from the Internet.", +"id": "GoogleCloudVisionV1p4beta1WebDetection", +"properties": { +"bestGuessLabels": { +"description": "The service's best guess as to the topic of the request image. Inferred from similar images on the open web.", +"items": { +"$ref": "GoogleCloudVisionV1p4beta1WebDetectionWebLabel" +}, +"type": "array" +}, +"fullMatchingImages": { +"description": "Fully matching images from the Internet. Can include resized copies of the query image.", +"items": { +"$ref": "GoogleCloudVisionV1p4beta1WebDetectionWebImage" +}, +"type": "array" +}, +"pagesWithMatchingImages": { +"description": "Web pages containing the matching images from the Internet.", +"items": { +"$ref": "GoogleCloudVisionV1p4beta1WebDetectionWebPage" +}, +"type": "array" +}, +"partialMatchingImages": { +"description": "Partial matching images from the Internet. Those images are similar enough to share some key-point features. For example an original image will likely have partial matching for its crops.", +"items": { +"$ref": "GoogleCloudVisionV1p4beta1WebDetectionWebImage" +}, +"type": "array" +}, +"visuallySimilarImages": { +"description": "The visually similar image results.", +"items": { +"$ref": "GoogleCloudVisionV1p4beta1WebDetectionWebImage" +}, +"type": "array" +}, +"webEntities": { +"description": "Deduced entities from similar images on the Internet.", +"items": { +"$ref": "GoogleCloudVisionV1p4beta1WebDetectionWebEntity" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p4beta1WebDetectionWebEntity": { +"description": "Entity deduced from similar images on the Internet.", +"id": "GoogleCloudVisionV1p4beta1WebDetectionWebEntity", +"properties": { +"description": { +"description": "Canonical description of the entity, in English.", +"type": "string" +}, +"entityId": { +"description": "Opaque entity ID.", +"type": "string" +}, +"score": { +"description": "Overall relevancy score for the entity. Not normalized and not comparable across different image queries.", +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p4beta1WebDetectionWebImage": { +"description": "Metadata for online images.", +"id": "GoogleCloudVisionV1p4beta1WebDetectionWebImage", +"properties": { +"score": { +"description": "(Deprecated) Overall relevancy score for the image.", +"format": "float", +"type": "number" +}, +"url": { +"description": "The result image URL.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p4beta1WebDetectionWebLabel": { +"description": "Label to provide extra metadata for the web detection.", +"id": "GoogleCloudVisionV1p4beta1WebDetectionWebLabel", +"properties": { +"label": { +"description": "Label for extra metadata.", +"type": "string" +}, +"languageCode": { +"description": "The BCP-47 language code for `label`, such as \"en-US\" or \"sr-Latn\". For more information, see http://www.unicode.org/reports/tr35/#Unicode_locale_identifier.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p4beta1WebDetectionWebPage": { +"description": "Metadata for web pages.", +"id": "GoogleCloudVisionV1p4beta1WebDetectionWebPage", +"properties": { +"fullMatchingImages": { +"description": "Fully matching images on the page. Can include resized copies of the query image.", +"items": { +"$ref": "GoogleCloudVisionV1p4beta1WebDetectionWebImage" +}, +"type": "array" +}, +"pageTitle": { +"description": "Title for the web page, may contain HTML markups.", +"type": "string" +}, +"partialMatchingImages": { +"description": "Partial matching images on the page. Those images are similar enough to share some key-point features. For example an original image will likely have partial matching for its crops.", +"items": { +"$ref": "GoogleCloudVisionV1p4beta1WebDetectionWebImage" +}, +"type": "array" +}, +"score": { +"description": "(Deprecated) Overall relevancy score for the web page.", +"format": "float", +"type": "number" +}, +"url": { +"description": "The result web page URL.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p4beta1Word": { +"description": "A word representation.", +"id": "GoogleCloudVisionV1p4beta1Word", +"properties": { +"boundingBox": { +"$ref": "GoogleCloudVisionV1p4beta1BoundingPoly", +"description": "The bounding box for the word. The vertices are in the order of top-left, top-right, bottom-right, bottom-left. When a rotation of the bounding box is detected the rotation is represented as around the top-left corner as defined when the text is read in the 'natural' orientation. For example: * when the text is horizontal it might look like: 0----1 | | 3----2 * when it's rotated 180 degrees around the top-left corner it becomes: 2----3 | | 1----0 and the vertex order will still be (0, 1, 2, 3)." +}, +"confidence": { +"description": "Confidence of the OCR results for the word. Range [0, 1].", +"format": "float", +"type": "number" +}, +"property": { +"$ref": "GoogleCloudVisionV1p4beta1TextAnnotationTextProperty", +"description": "Additional information detected for the word." +}, +"symbols": { +"description": "List of symbols in the word. The order of the symbols follows the natural reading order.", +"items": { +"$ref": "GoogleCloudVisionV1p4beta1Symbol" +}, +"type": "array" +} +}, +"type": "object" +}, +"GroupedResult": { +"description": "Information about the products similar to a single product in a query image.", +"id": "GroupedResult", +"properties": { +"boundingPoly": { +"$ref": "BoundingPoly", +"description": "The bounding polygon around the product detected in the query image." +}, +"objectAnnotations": { +"description": "List of generic predictions for the object in the bounding box.", +"items": { +"$ref": "ObjectAnnotation" +}, +"type": "array" +}, +"results": { +"description": "List of results, one for each product match.", +"items": { +"$ref": "Result" +}, +"type": "array" +} +}, +"type": "object" +}, +"ImageAnnotationContext": { +"description": "If an image was produced from a file (e.g. a PDF), this message gives information about the source of that image.", +"id": "ImageAnnotationContext", +"properties": { +"pageNumber": { +"description": "If the file was a PDF or TIFF, this field gives the page number within the file used to produce the image.", +"format": "int32", +"type": "integer" +}, +"uri": { +"description": "The URI of the file used to produce the image.", +"type": "string" +} +}, +"type": "object" +}, +"ImageProperties": { +"description": "Stores image properties, such as dominant colors.", +"id": "ImageProperties", +"properties": { +"dominantColors": { +"$ref": "DominantColorsAnnotation", +"description": "If present, dominant colors completed successfully." +} +}, +"type": "object" +}, +"ImportProductSetsResponse": { +"description": "Response message for the `ImportProductSets` method. This message is returned by the google.longrunning.Operations.GetOperation method in the returned google.longrunning.Operation.response field.", +"id": "ImportProductSetsResponse", +"properties": { +"referenceImages": { +"description": "The list of reference_images that are imported successfully.", +"items": { +"$ref": "ReferenceImage" +}, +"type": "array" +}, +"statuses": { +"description": "The rpc status for each ImportProductSet request, including both successes and errors. The number of statuses here matches the number of lines in the csv file, and statuses[i] stores the success or failure status of processing the i-th line of the csv, starting from line 0.", +"items": { +"$ref": "Status" +}, +"type": "array" +} +}, +"type": "object" +}, +"InputConfig": { +"description": "The desired input location and metadata.", +"id": "InputConfig", +"properties": { +"content": { +"description": "File content, represented as a stream of bytes. Note: As with all `bytes` fields, protobuffers use a pure binary representation, whereas JSON representations use base64. Currently, this field only works for BatchAnnotateFiles requests. It does not work for AsyncBatchAnnotateFiles requests.", +"format": "byte", +"type": "string" +}, +"gcsSource": { +"$ref": "GcsSource", +"description": "The Google Cloud Storage location to read the input from." +}, +"mimeType": { +"description": "The type of the file. Currently only \"application/pdf\", \"image/tiff\" and \"image/gif\" are supported. Wildcards are not supported.", +"type": "string" +} +}, +"type": "object" +}, +"KeyValue": { +"description": "A product label represented as a key-value pair.", +"id": "KeyValue", +"properties": { +"key": { +"description": "The key of the label attached to the product. Cannot be empty and cannot exceed 128 bytes.", +"type": "string" +}, +"value": { +"description": "The value of the label attached to the product. Cannot be empty and cannot exceed 128 bytes.", +"type": "string" +} +}, +"type": "object" +}, +"Landmark": { +"description": "A face-specific landmark (for example, a face feature). Landmark positions may fall outside the bounds of the image if the face is near one or more edges of the image. Therefore it is NOT guaranteed that `0 <= x < width` or `0 <= y < height`.", +"id": "Landmark", +"properties": { +"position": { +"$ref": "Position", +"description": "Face landmark position." +}, +"type": { +"description": "Face landmark type.", +"enum": [ +"UNKNOWN_LANDMARK", +"LEFT_EYE", +"RIGHT_EYE", +"LEFT_OF_LEFT_EYEBROW", +"RIGHT_OF_LEFT_EYEBROW", +"LEFT_OF_RIGHT_EYEBROW", +"RIGHT_OF_RIGHT_EYEBROW", +"MIDPOINT_BETWEEN_EYES", +"NOSE_TIP", +"UPPER_LIP", +"LOWER_LIP", +"MOUTH_LEFT", +"MOUTH_RIGHT", +"MOUTH_CENTER", +"NOSE_BOTTOM_RIGHT", +"NOSE_BOTTOM_LEFT", +"NOSE_BOTTOM_CENTER", +"LEFT_EYE_TOP_BOUNDARY", +"LEFT_EYE_RIGHT_CORNER", +"LEFT_EYE_BOTTOM_BOUNDARY", +"LEFT_EYE_LEFT_CORNER", +"RIGHT_EYE_TOP_BOUNDARY", +"RIGHT_EYE_RIGHT_CORNER", +"RIGHT_EYE_BOTTOM_BOUNDARY", +"RIGHT_EYE_LEFT_CORNER", +"LEFT_EYEBROW_UPPER_MIDPOINT", +"RIGHT_EYEBROW_UPPER_MIDPOINT", +"LEFT_EAR_TRAGION", +"RIGHT_EAR_TRAGION", +"LEFT_EYE_PUPIL", +"RIGHT_EYE_PUPIL", +"FOREHEAD_GLABELLA", +"CHIN_GNATHION", +"CHIN_LEFT_GONION", +"CHIN_RIGHT_GONION", +"LEFT_CHEEK_CENTER", +"RIGHT_CHEEK_CENTER" +], +"enumDescriptions": [ +"Unknown face landmark detected. Should not be filled.", +"Left eye.", +"Right eye.", +"Left of left eyebrow.", +"Right of left eyebrow.", +"Left of right eyebrow.", +"Right of right eyebrow.", +"Midpoint between eyes.", +"Nose tip.", +"Upper lip.", +"Lower lip.", +"Mouth left.", +"Mouth right.", +"Mouth center.", +"Nose, bottom right.", +"Nose, bottom left.", +"Nose, bottom center.", +"Left eye, top boundary.", +"Left eye, right corner.", +"Left eye, bottom boundary.", +"Left eye, left corner.", +"Right eye, top boundary.", +"Right eye, right corner.", +"Right eye, bottom boundary.", +"Right eye, left corner.", +"Left eyebrow, upper midpoint.", +"Right eyebrow, upper midpoint.", +"Left ear tragion.", +"Right ear tragion.", +"Left eye pupil.", +"Right eye pupil.", +"Forehead glabella.", +"Chin gnathion.", +"Chin left gonion.", +"Chin right gonion.", +"Left cheek center.", +"Right cheek center." +], +"type": "string" +} +}, +"type": "object" +}, +"LatLng": { +"description": "An object that represents a latitude/longitude pair. This is expressed as a pair of doubles to represent degrees latitude and degrees longitude. Unless specified otherwise, this object must conform to the WGS84 standard. Values must be within normalized ranges.", +"id": "LatLng", +"properties": { +"latitude": { +"description": "The latitude in degrees. It must be in the range [-90.0, +90.0].", +"format": "double", +"type": "number" +}, +"longitude": { +"description": "The longitude in degrees. It must be in the range [-180.0, +180.0].", +"format": "double", +"type": "number" +} +}, +"type": "object" +}, +"LocalizedObjectAnnotation": { +"description": "Set of detected objects with bounding boxes.", +"id": "LocalizedObjectAnnotation", +"properties": { +"boundingPoly": { +"$ref": "BoundingPoly", +"description": "Image region to which this object belongs. This must be populated." +}, +"languageCode": { +"description": "The BCP-47 language code, such as \"en-US\" or \"sr-Latn\". For more information, see http://www.unicode.org/reports/tr35/#Unicode_locale_identifier.", +"type": "string" +}, +"mid": { +"description": "Object ID that should align with EntityAnnotation mid.", +"type": "string" +}, +"name": { +"description": "Object name, expressed in its `language_code` language.", +"type": "string" +}, +"score": { +"description": "Score of the result. Range [0, 1].", +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"LocationInfo": { +"description": "Detected entity location information.", +"id": "LocationInfo", +"properties": { +"latLng": { +"$ref": "LatLng", +"description": "lat/long location coordinates." +} +}, +"type": "object" +}, +"NormalizedVertex": { +"description": "A vertex represents a 2D point in the image. NOTE: the normalized vertex coordinates are relative to the original image and range from 0 to 1.", +"id": "NormalizedVertex", +"properties": { +"x": { +"description": "X coordinate.", +"format": "float", +"type": "number" +}, +"y": { +"description": "Y coordinate.", +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"ObjectAnnotation": { +"description": "Prediction for what the object in the bounding box is.", +"id": "ObjectAnnotation", +"properties": { +"languageCode": { +"description": "The BCP-47 language code, such as \"en-US\" or \"sr-Latn\". For more information, see http://www.unicode.org/reports/tr35/#Unicode_locale_identifier.", +"type": "string" +}, +"mid": { +"description": "Object ID that should align with EntityAnnotation mid.", +"type": "string" +}, +"name": { +"description": "Object name, expressed in its `language_code` language.", +"type": "string" +}, +"score": { +"description": "Score of the result. Range [0, 1].", +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"Operation": { +"description": "This resource represents a long-running operation that is the result of a network API call.", +"id": "Operation", +"properties": { +"done": { +"description": "If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.", +"type": "boolean" +}, +"error": { +"$ref": "Status", +"description": "The error result of the operation in case of failure or cancellation." +}, +"metadata": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.", +"type": "object" +}, +"name": { +"description": "The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.", +"type": "string" +}, +"response": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "The normal, successful response of the operation. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.", +"type": "object" +} +}, +"type": "object" +}, +"OperationMetadata": { +"description": "Contains metadata for the BatchAnnotateImages operation.", +"id": "OperationMetadata", +"properties": { +"createTime": { +"description": "The time when the batch request was received.", +"format": "google-datetime", +"type": "string" +}, +"state": { +"description": "Current state of the batch operation.", +"enum": [ +"STATE_UNSPECIFIED", +"CREATED", +"RUNNING", +"DONE", +"CANCELLED" +], +"enumDescriptions": [ +"Invalid.", +"Request is received.", +"Request is actively being processed.", +"The batch processing is done.", +"The batch processing was cancelled." +], +"type": "string" +}, +"updateTime": { +"description": "The time when the operation result was last updated.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"OutputConfig": { +"description": "The desired output location and metadata.", +"id": "OutputConfig", +"properties": { +"batchSize": { +"description": "The max number of response protos to put into each output JSON file on Google Cloud Storage. The valid range is [1, 100]. If not specified, the default value is 20. For example, for one pdf file with 100 pages, 100 response protos will be generated. If `batch_size` = 20, then 5 json files each containing 20 response protos will be written under the prefix `gcs_destination`.`uri`. Currently, batch_size only applies to GcsDestination, with potential future support for other output configurations.", +"format": "int32", +"type": "integer" +}, +"gcsDestination": { +"$ref": "GcsDestination", +"description": "The Google Cloud Storage location to write the output(s) to." +} +}, +"type": "object" +}, +"Page": { +"description": "Detected page from OCR.", +"id": "Page", +"properties": { +"blocks": { +"description": "List of blocks of text, images etc on this page.", +"items": { +"$ref": "Block" +}, +"type": "array" +}, +"confidence": { +"description": "Confidence of the OCR results on the page. Range [0, 1].", +"format": "float", +"type": "number" +}, +"height": { +"description": "Page height. For PDFs the unit is points. For images (including TIFFs) the unit is pixels.", +"format": "int32", +"type": "integer" +}, +"property": { +"$ref": "TextProperty", +"description": "Additional information detected on the page." +}, +"width": { +"description": "Page width. For PDFs the unit is points. For images (including TIFFs) the unit is pixels.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"Paragraph": { +"description": "Structural unit of text representing a number of words in certain order.", +"id": "Paragraph", +"properties": { +"boundingBox": { +"$ref": "BoundingPoly", +"description": "The bounding box for the paragraph. The vertices are in the order of top-left, top-right, bottom-right, bottom-left. When a rotation of the bounding box is detected the rotation is represented as around the top-left corner as defined when the text is read in the 'natural' orientation. For example: * when the text is horizontal it might look like: 0----1 | | 3----2 * when it's rotated 180 degrees around the top-left corner it becomes: 2----3 | | 1----0 and the vertex order will still be (0, 1, 2, 3)." +}, +"confidence": { +"description": "Confidence of the OCR results for the paragraph. Range [0, 1].", +"format": "float", +"type": "number" +}, +"property": { +"$ref": "TextProperty", +"description": "Additional information detected for the paragraph." +}, +"words": { +"description": "List of all words in this paragraph.", +"items": { +"$ref": "Word" +}, +"type": "array" +} +}, +"type": "object" +}, +"Position": { +"description": "A 3D position in the image, used primarily for Face detection landmarks. A valid Position must have both x and y coordinates. The position coordinates are in the same scale as the original image.", +"id": "Position", +"properties": { +"x": { +"description": "X coordinate.", +"format": "float", +"type": "number" +}, +"y": { +"description": "Y coordinate.", +"format": "float", +"type": "number" +}, +"z": { +"description": "Z coordinate (or depth).", +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"Product": { +"description": "A Product contains ReferenceImages.", +"id": "Product", +"properties": { +"description": { +"description": "User-provided metadata to be stored with this product. Must be at most 4096 characters long.", +"type": "string" +}, +"displayName": { +"description": "The user-provided name for this Product. Must not be empty. Must be at most 4096 characters long.", +"type": "string" +}, +"name": { +"description": "The resource name of the product. Format is: `projects/PROJECT_ID/locations/LOC_ID/products/PRODUCT_ID`. This field is ignored when creating a product.", +"type": "string" +}, +"productCategory": { +"description": "Immutable. The category for the product identified by the reference image. This should be one of \"homegoods-v2\", \"apparel-v2\", \"toys-v2\", \"packagedgoods-v1\" or \"general-v1\". The legacy categories \"homegoods\", \"apparel\", and \"toys\" are still supported, but these should not be used for new products.", +"type": "string" +}, +"productLabels": { +"description": "Key-value pairs that can be attached to a product. At query time, constraints can be specified based on the product_labels. Note that integer values can be provided as strings, e.g. \"1199\". Only strings with integer values can match a range-based restriction which is to be supported soon. Multiple values can be assigned to the same key. One product may have up to 500 product_labels. Notice that the total number of distinct product_labels over all products in one ProductSet cannot exceed 1M, otherwise the product search pipeline will refuse to work for that ProductSet.", +"items": { +"$ref": "KeyValue" +}, +"type": "array" +} +}, +"type": "object" +}, +"ProductSearchResults": { +"description": "Results for a product search request.", +"id": "ProductSearchResults", +"properties": { +"indexTime": { +"description": "Timestamp of the index which provided these results. Products added to the product set and products removed from the product set after this time are not reflected in the current results.", +"format": "google-datetime", +"type": "string" +}, +"productGroupedResults": { +"description": "List of results grouped by products detected in the query image. Each entry corresponds to one bounding polygon in the query image, and contains the matching products specific to that region. There may be duplicate product matches in the union of all the per-product results.", +"items": { +"$ref": "GroupedResult" +}, +"type": "array" +}, +"results": { +"description": "List of results, one for each product match.", +"items": { +"$ref": "Result" +}, +"type": "array" +} +}, +"type": "object" +}, +"Property": { +"description": "A `Property` consists of a user-supplied name/value pair.", +"id": "Property", +"properties": { +"name": { +"description": "Name of the property.", +"type": "string" +}, +"uint64Value": { +"description": "Value of numeric properties.", +"format": "uint64", +"type": "string" +}, +"value": { +"description": "Value of the property.", +"type": "string" +} +}, +"type": "object" +}, +"ReferenceImage": { +"description": "A `ReferenceImage` represents a product image and its associated metadata, such as bounding boxes.", +"id": "ReferenceImage", +"properties": { +"boundingPolys": { +"description": "Optional. Bounding polygons around the areas of interest in the reference image. If this field is empty, the system will try to detect regions of interest. At most 10 bounding polygons will be used. The provided shape is converted into a non-rotated rectangle. Once converted, the small edge of the rectangle must be greater than or equal to 300 pixels. The aspect ratio must be 1:4 or less (i.e. 1:3 is ok; 1:5 is not).", +"items": { +"$ref": "BoundingPoly" +}, +"type": "array" +}, +"name": { +"description": "The resource name of the reference image. Format is: `projects/PROJECT_ID/locations/LOC_ID/products/PRODUCT_ID/referenceImages/IMAGE_ID`. This field is ignored when creating a reference image.", +"type": "string" +}, +"uri": { +"description": "Required. The Google Cloud Storage URI of the reference image. The URI must start with `gs://`.", +"type": "string" +} +}, +"type": "object" +}, +"Result": { +"description": "Information about a product.", +"id": "Result", +"properties": { +"image": { +"description": "The resource name of the image from the product that is the closest match to the query.", +"type": "string" +}, +"product": { +"$ref": "Product", +"description": "The Product." +}, +"score": { +"description": "A confidence level on the match, ranging from 0 (no confidence) to 1 (full confidence).", +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"SafeSearchAnnotation": { +"description": "Set of features pertaining to the image, computed by computer vision methods over safe-search verticals (for example, adult, spoof, medical, violence).", +"id": "SafeSearchAnnotation", +"properties": { +"adult": { +"description": "Represents the adult content likelihood for the image. Adult content may contain elements such as nudity, pornographic images or cartoons, or sexual activities.", +"enum": [ +"UNKNOWN", +"VERY_UNLIKELY", +"UNLIKELY", +"POSSIBLE", +"LIKELY", +"VERY_LIKELY" +], +"enumDescriptions": [ +"Unknown likelihood.", +"It is very unlikely.", +"It is unlikely.", +"It is possible.", +"It is likely.", +"It is very likely." +], +"type": "string" +}, +"medical": { +"description": "Likelihood that this is a medical image.", +"enum": [ +"UNKNOWN", +"VERY_UNLIKELY", +"UNLIKELY", +"POSSIBLE", +"LIKELY", +"VERY_LIKELY" +], +"enumDescriptions": [ +"Unknown likelihood.", +"It is very unlikely.", +"It is unlikely.", +"It is possible.", +"It is likely.", +"It is very likely." +], +"type": "string" +}, +"racy": { +"description": "Likelihood that the request image contains racy content. Racy content may include (but is not limited to) skimpy or sheer clothing, strategically covered nudity, lewd or provocative poses, or close-ups of sensitive body areas.", +"enum": [ +"UNKNOWN", +"VERY_UNLIKELY", +"UNLIKELY", +"POSSIBLE", +"LIKELY", +"VERY_LIKELY" +], +"enumDescriptions": [ +"Unknown likelihood.", +"It is very unlikely.", +"It is unlikely.", +"It is possible.", +"It is likely.", +"It is very likely." +], +"type": "string" +}, +"spoof": { +"description": "Spoof likelihood. The likelihood that an modification was made to the image's canonical version to make it appear funny or offensive.", +"enum": [ +"UNKNOWN", +"VERY_UNLIKELY", +"UNLIKELY", +"POSSIBLE", +"LIKELY", +"VERY_LIKELY" +], +"enumDescriptions": [ +"Unknown likelihood.", +"It is very unlikely.", +"It is unlikely.", +"It is possible.", +"It is likely.", +"It is very likely." +], +"type": "string" +}, +"violence": { +"description": "Likelihood that this image contains violent content. Violent content may include death, serious harm, or injury to individuals or groups of individuals.", +"enum": [ +"UNKNOWN", +"VERY_UNLIKELY", +"UNLIKELY", +"POSSIBLE", +"LIKELY", +"VERY_LIKELY" +], +"enumDescriptions": [ +"Unknown likelihood.", +"It is very unlikely.", +"It is unlikely.", +"It is possible.", +"It is likely.", +"It is very likely." +], +"type": "string" +} +}, +"type": "object" +}, +"Status": { +"description": "The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors).", +"id": "Status", +"properties": { +"code": { +"description": "The status code, which should be an enum value of google.rpc.Code.", +"format": "int32", +"type": "integer" +}, +"details": { +"description": "A list of messages that carry the error details. There is a common set of message types for APIs to use.", +"items": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.", +"type": "string" +} +}, +"type": "object" +}, +"Symbol": { +"description": "A single symbol representation.", +"id": "Symbol", +"properties": { +"boundingBox": { +"$ref": "BoundingPoly", +"description": "The bounding box for the symbol. The vertices are in the order of top-left, top-right, bottom-right, bottom-left. When a rotation of the bounding box is detected the rotation is represented as around the top-left corner as defined when the text is read in the 'natural' orientation. For example: * when the text is horizontal it might look like: 0----1 | | 3----2 * when it's rotated 180 degrees around the top-left corner it becomes: 2----3 | | 1----0 and the vertex order will still be (0, 1, 2, 3)." +}, +"confidence": { +"description": "Confidence of the OCR results for the symbol. Range [0, 1].", +"format": "float", +"type": "number" +}, +"property": { +"$ref": "TextProperty", +"description": "Additional information detected for the symbol." +}, +"text": { +"description": "The actual UTF-8 representation of the symbol.", +"type": "string" +} +}, +"type": "object" +}, +"TextAnnotation": { +"description": "TextAnnotation contains a structured representation of OCR extracted text. The hierarchy of an OCR extracted text structure is like this: TextAnnotation -> Page -> Block -> Paragraph -> Word -> Symbol Each structural component, starting from Page, may further have their own properties. Properties describe detected languages, breaks etc.. Please refer to the TextAnnotation.TextProperty message definition below for more detail.", +"id": "TextAnnotation", +"properties": { +"pages": { +"description": "List of pages detected by OCR.", +"items": { +"$ref": "Page" +}, +"type": "array" +}, +"text": { +"description": "UTF-8 text detected on the pages.", +"type": "string" +} +}, +"type": "object" +}, +"TextProperty": { +"description": "Additional information detected on the structural component.", +"id": "TextProperty", +"properties": { +"detectedBreak": { +"$ref": "DetectedBreak", +"description": "Detected start or end of a text segment." +}, +"detectedLanguages": { +"description": "A list of detected languages together with confidence.", +"items": { +"$ref": "DetectedLanguage" +}, +"type": "array" +} +}, +"type": "object" +}, +"Vertex": { +"description": "A vertex represents a 2D point in the image. NOTE: the vertex coordinates are in the same scale as the original image.", +"id": "Vertex", +"properties": { +"x": { +"description": "X coordinate.", +"format": "int32", +"type": "integer" +}, +"y": { +"description": "Y coordinate.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"WebDetection": { +"description": "Relevant information for the image from the Internet.", +"id": "WebDetection", +"properties": { +"bestGuessLabels": { +"description": "The service's best guess as to the topic of the request image. Inferred from similar images on the open web.", +"items": { +"$ref": "WebLabel" +}, +"type": "array" +}, +"fullMatchingImages": { +"description": "Fully matching images from the Internet. Can include resized copies of the query image.", +"items": { +"$ref": "WebImage" +}, +"type": "array" +}, +"pagesWithMatchingImages": { +"description": "Web pages containing the matching images from the Internet.", +"items": { +"$ref": "WebPage" +}, +"type": "array" +}, +"partialMatchingImages": { +"description": "Partial matching images from the Internet. Those images are similar enough to share some key-point features. For example an original image will likely have partial matching for its crops.", +"items": { +"$ref": "WebImage" +}, +"type": "array" +}, +"visuallySimilarImages": { +"description": "The visually similar image results.", +"items": { +"$ref": "WebImage" +}, +"type": "array" +}, +"webEntities": { +"description": "Deduced entities from similar images on the Internet.", +"items": { +"$ref": "WebEntity" +}, +"type": "array" +} +}, +"type": "object" +}, +"WebEntity": { +"description": "Entity deduced from similar images on the Internet.", +"id": "WebEntity", +"properties": { +"description": { +"description": "Canonical description of the entity, in English.", +"type": "string" +}, +"entityId": { +"description": "Opaque entity ID.", +"type": "string" +}, +"score": { +"description": "Overall relevancy score for the entity. Not normalized and not comparable across different image queries.", +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"WebImage": { +"description": "Metadata for online images.", +"id": "WebImage", +"properties": { +"score": { +"description": "(Deprecated) Overall relevancy score for the image.", +"format": "float", +"type": "number" +}, +"url": { +"description": "The result image URL.", +"type": "string" +} +}, +"type": "object" +}, +"WebLabel": { +"description": "Label to provide extra metadata for the web detection.", +"id": "WebLabel", +"properties": { +"label": { +"description": "Label for extra metadata.", +"type": "string" +}, +"languageCode": { +"description": "The BCP-47 language code for `label`, such as \"en-US\" or \"sr-Latn\". For more information, see http://www.unicode.org/reports/tr35/#Unicode_locale_identifier.", +"type": "string" +} +}, +"type": "object" +}, +"WebPage": { +"description": "Metadata for web pages.", +"id": "WebPage", +"properties": { +"fullMatchingImages": { +"description": "Fully matching images on the page. Can include resized copies of the query image.", +"items": { +"$ref": "WebImage" +}, +"type": "array" +}, +"pageTitle": { +"description": "Title for the web page, may contain HTML markups.", +"type": "string" +}, +"partialMatchingImages": { +"description": "Partial matching images on the page. Those images are similar enough to share some key-point features. For example an original image will likely have partial matching for its crops.", +"items": { +"$ref": "WebImage" +}, +"type": "array" +}, +"score": { +"description": "(Deprecated) Overall relevancy score for the web page.", +"format": "float", +"type": "number" +}, +"url": { +"description": "The result web page URL.", +"type": "string" +} +}, +"type": "object" +}, +"Word": { +"description": "A word representation.", +"id": "Word", +"properties": { +"boundingBox": { +"$ref": "BoundingPoly", +"description": "The bounding box for the word. The vertices are in the order of top-left, top-right, bottom-right, bottom-left. When a rotation of the bounding box is detected the rotation is represented as around the top-left corner as defined when the text is read in the 'natural' orientation. For example: * when the text is horizontal it might look like: 0----1 | | 3----2 * when it's rotated 180 degrees around the top-left corner it becomes: 2----3 | | 1----0 and the vertex order will still be (0, 1, 2, 3)." +}, +"confidence": { +"description": "Confidence of the OCR results for the word. Range [0, 1].", +"format": "float", +"type": "number" +}, +"property": { +"$ref": "TextProperty", +"description": "Additional information detected for the word." +}, +"symbols": { +"description": "List of symbols in the word. The order of the symbols follows the natural reading order.", +"items": { +"$ref": "Symbol" +}, +"type": "array" +} +}, +"type": "object" +} +}, +"servicePath": "", +"title": "Cloud Vision API", +"version": "v1p1beta1", +"version_module": true +} \ No newline at end of file diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/vision.v1p2beta1.json b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/vision.v1p2beta1.json new file mode 100644 index 0000000000000000000000000000000000000000..1f5c0b50f2013b23cb7988e61846ae4535072e7a --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/vision.v1p2beta1.json @@ -0,0 +1,8373 @@ +{ +"auth": { +"oauth2": { +"scopes": { +"https://www.googleapis.com/auth/cloud-platform": { +"description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." +}, +"https://www.googleapis.com/auth/cloud-vision": { +"description": "Apply machine learning models to understand and label images" +} +} +} +}, +"basePath": "", +"baseUrl": "https://vision.googleapis.com/", +"batchPath": "batch", +"canonicalName": "Vision", +"description": "Integrates Google Vision features, including image labeling, face, logo, and landmark detection, optical character recognition (OCR), and detection of explicit content, into applications.", +"discoveryVersion": "v1", +"documentationLink": "https://cloud.google.com/vision/", +"fullyEncodeReservedExpansion": true, +"icons": { +"x16": "http://www.google.com/images/icons/product/search-16.gif", +"x32": "http://www.google.com/images/icons/product/search-32.gif" +}, +"id": "vision:v1p2beta1", +"kind": "discovery#restDescription", +"mtlsRootUrl": "https://vision.mtls.googleapis.com/", +"name": "vision", +"ownerDomain": "google.com", +"ownerName": "Google", +"parameters": { +"$.xgafv": { +"description": "V1 error format.", +"enum": [ +"1", +"2" +], +"enumDescriptions": [ +"v1 error format", +"v2 error format" +], +"location": "query", +"type": "string" +}, +"access_token": { +"description": "OAuth access token.", +"location": "query", +"type": "string" +}, +"alt": { +"default": "json", +"description": "Data format for response.", +"enum": [ +"json", +"media", +"proto" +], +"enumDescriptions": [ +"Responses with Content-Type of application/json", +"Media download with context-dependent Content-Type", +"Responses with Content-Type of application/x-protobuf" +], +"location": "query", +"type": "string" +}, +"callback": { +"description": "JSONP", +"location": "query", +"type": "string" +}, +"fields": { +"description": "Selector specifying which fields to include in a partial response.", +"location": "query", +"type": "string" +}, +"key": { +"description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", +"location": "query", +"type": "string" +}, +"oauth_token": { +"description": "OAuth 2.0 token for the current user.", +"location": "query", +"type": "string" +}, +"prettyPrint": { +"default": "true", +"description": "Returns response with indentations and line breaks.", +"location": "query", +"type": "boolean" +}, +"quotaUser": { +"description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.", +"location": "query", +"type": "string" +}, +"uploadType": { +"description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", +"location": "query", +"type": "string" +}, +"upload_protocol": { +"description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", +"location": "query", +"type": "string" +} +}, +"protocol": "rest", +"resources": { +"files": { +"methods": { +"annotate": { +"description": "Service that performs image detection and annotation for a batch of files. Now only \"application/pdf\", \"image/tiff\" and \"image/gif\" are supported. This service will extract at most 5 (customers can specify which 5 in AnnotateFileRequest.pages) frames (gif) or pages (pdf or tiff) from each file provided and perform detection and annotation for each image extracted.", +"flatPath": "v1p2beta1/files:annotate", +"httpMethod": "POST", +"id": "vision.files.annotate", +"parameterOrder": [], +"parameters": {}, +"path": "v1p2beta1/files:annotate", +"request": { +"$ref": "GoogleCloudVisionV1p2beta1BatchAnnotateFilesRequest" +}, +"response": { +"$ref": "GoogleCloudVisionV1p2beta1BatchAnnotateFilesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-vision" +] +}, +"asyncBatchAnnotate": { +"description": "Run asynchronous image detection and annotation for a list of generic files, such as PDF files, which may contain multiple pages and multiple images per page. Progress and results can be retrieved through the `google.longrunning.Operations` interface. `Operation.metadata` contains `OperationMetadata` (metadata). `Operation.response` contains `AsyncBatchAnnotateFilesResponse` (results).", +"flatPath": "v1p2beta1/files:asyncBatchAnnotate", +"httpMethod": "POST", +"id": "vision.files.asyncBatchAnnotate", +"parameterOrder": [], +"parameters": {}, +"path": "v1p2beta1/files:asyncBatchAnnotate", +"request": { +"$ref": "GoogleCloudVisionV1p2beta1AsyncBatchAnnotateFilesRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-vision" +] +} +} +}, +"images": { +"methods": { +"annotate": { +"description": "Run image detection and annotation for a batch of images.", +"flatPath": "v1p2beta1/images:annotate", +"httpMethod": "POST", +"id": "vision.images.annotate", +"parameterOrder": [], +"parameters": {}, +"path": "v1p2beta1/images:annotate", +"request": { +"$ref": "GoogleCloudVisionV1p2beta1BatchAnnotateImagesRequest" +}, +"response": { +"$ref": "GoogleCloudVisionV1p2beta1BatchAnnotateImagesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-vision" +] +}, +"asyncBatchAnnotate": { +"description": "Run asynchronous image detection and annotation for a list of images. Progress and results can be retrieved through the `google.longrunning.Operations` interface. `Operation.metadata` contains `OperationMetadata` (metadata). `Operation.response` contains `AsyncBatchAnnotateImagesResponse` (results). This service will write image annotation outputs to json files in customer GCS bucket, each json file containing BatchAnnotateImagesResponse proto.", +"flatPath": "v1p2beta1/images:asyncBatchAnnotate", +"httpMethod": "POST", +"id": "vision.images.asyncBatchAnnotate", +"parameterOrder": [], +"parameters": {}, +"path": "v1p2beta1/images:asyncBatchAnnotate", +"request": { +"$ref": "GoogleCloudVisionV1p2beta1AsyncBatchAnnotateImagesRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-vision" +] +} +} +}, +"projects": { +"resources": { +"files": { +"methods": { +"annotate": { +"description": "Service that performs image detection and annotation for a batch of files. Now only \"application/pdf\", \"image/tiff\" and \"image/gif\" are supported. This service will extract at most 5 (customers can specify which 5 in AnnotateFileRequest.pages) frames (gif) or pages (pdf or tiff) from each file provided and perform detection and annotation for each image extracted.", +"flatPath": "v1p2beta1/projects/{projectsId}/files:annotate", +"httpMethod": "POST", +"id": "vision.projects.files.annotate", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Optional. Target project and location to make a call. Format: `projects/{project-id}/locations/{location-id}`. If no parent is specified, a region will be chosen automatically. Supported location-ids: `us`: USA country only, `asia`: East asia areas, like Japan, Taiwan, `eu`: The European Union. Example: `projects/project-A/locations/eu`.", +"location": "path", +"pattern": "^projects/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1p2beta1/{+parent}/files:annotate", +"request": { +"$ref": "GoogleCloudVisionV1p2beta1BatchAnnotateFilesRequest" +}, +"response": { +"$ref": "GoogleCloudVisionV1p2beta1BatchAnnotateFilesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-vision" +] +}, +"asyncBatchAnnotate": { +"description": "Run asynchronous image detection and annotation for a list of generic files, such as PDF files, which may contain multiple pages and multiple images per page. Progress and results can be retrieved through the `google.longrunning.Operations` interface. `Operation.metadata` contains `OperationMetadata` (metadata). `Operation.response` contains `AsyncBatchAnnotateFilesResponse` (results).", +"flatPath": "v1p2beta1/projects/{projectsId}/files:asyncBatchAnnotate", +"httpMethod": "POST", +"id": "vision.projects.files.asyncBatchAnnotate", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Optional. Target project and location to make a call. Format: `projects/{project-id}/locations/{location-id}`. If no parent is specified, a region will be chosen automatically. Supported location-ids: `us`: USA country only, `asia`: East asia areas, like Japan, Taiwan, `eu`: The European Union. Example: `projects/project-A/locations/eu`.", +"location": "path", +"pattern": "^projects/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1p2beta1/{+parent}/files:asyncBatchAnnotate", +"request": { +"$ref": "GoogleCloudVisionV1p2beta1AsyncBatchAnnotateFilesRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-vision" +] +} +} +}, +"images": { +"methods": { +"annotate": { +"description": "Run image detection and annotation for a batch of images.", +"flatPath": "v1p2beta1/projects/{projectsId}/images:annotate", +"httpMethod": "POST", +"id": "vision.projects.images.annotate", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Optional. Target project and location to make a call. Format: `projects/{project-id}/locations/{location-id}`. If no parent is specified, a region will be chosen automatically. Supported location-ids: `us`: USA country only, `asia`: East asia areas, like Japan, Taiwan, `eu`: The European Union. Example: `projects/project-A/locations/eu`.", +"location": "path", +"pattern": "^projects/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1p2beta1/{+parent}/images:annotate", +"request": { +"$ref": "GoogleCloudVisionV1p2beta1BatchAnnotateImagesRequest" +}, +"response": { +"$ref": "GoogleCloudVisionV1p2beta1BatchAnnotateImagesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-vision" +] +}, +"asyncBatchAnnotate": { +"description": "Run asynchronous image detection and annotation for a list of images. Progress and results can be retrieved through the `google.longrunning.Operations` interface. `Operation.metadata` contains `OperationMetadata` (metadata). `Operation.response` contains `AsyncBatchAnnotateImagesResponse` (results). This service will write image annotation outputs to json files in customer GCS bucket, each json file containing BatchAnnotateImagesResponse proto.", +"flatPath": "v1p2beta1/projects/{projectsId}/images:asyncBatchAnnotate", +"httpMethod": "POST", +"id": "vision.projects.images.asyncBatchAnnotate", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Optional. Target project and location to make a call. Format: `projects/{project-id}/locations/{location-id}`. If no parent is specified, a region will be chosen automatically. Supported location-ids: `us`: USA country only, `asia`: East asia areas, like Japan, Taiwan, `eu`: The European Union. Example: `projects/project-A/locations/eu`.", +"location": "path", +"pattern": "^projects/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1p2beta1/{+parent}/images:asyncBatchAnnotate", +"request": { +"$ref": "GoogleCloudVisionV1p2beta1AsyncBatchAnnotateImagesRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-vision" +] +} +} +}, +"locations": { +"resources": { +"files": { +"methods": { +"annotate": { +"description": "Service that performs image detection and annotation for a batch of files. Now only \"application/pdf\", \"image/tiff\" and \"image/gif\" are supported. This service will extract at most 5 (customers can specify which 5 in AnnotateFileRequest.pages) frames (gif) or pages (pdf or tiff) from each file provided and perform detection and annotation for each image extracted.", +"flatPath": "v1p2beta1/projects/{projectsId}/locations/{locationsId}/files:annotate", +"httpMethod": "POST", +"id": "vision.projects.locations.files.annotate", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Optional. Target project and location to make a call. Format: `projects/{project-id}/locations/{location-id}`. If no parent is specified, a region will be chosen automatically. Supported location-ids: `us`: USA country only, `asia`: East asia areas, like Japan, Taiwan, `eu`: The European Union. Example: `projects/project-A/locations/eu`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1p2beta1/{+parent}/files:annotate", +"request": { +"$ref": "GoogleCloudVisionV1p2beta1BatchAnnotateFilesRequest" +}, +"response": { +"$ref": "GoogleCloudVisionV1p2beta1BatchAnnotateFilesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-vision" +] +}, +"asyncBatchAnnotate": { +"description": "Run asynchronous image detection and annotation for a list of generic files, such as PDF files, which may contain multiple pages and multiple images per page. Progress and results can be retrieved through the `google.longrunning.Operations` interface. `Operation.metadata` contains `OperationMetadata` (metadata). `Operation.response` contains `AsyncBatchAnnotateFilesResponse` (results).", +"flatPath": "v1p2beta1/projects/{projectsId}/locations/{locationsId}/files:asyncBatchAnnotate", +"httpMethod": "POST", +"id": "vision.projects.locations.files.asyncBatchAnnotate", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Optional. Target project and location to make a call. Format: `projects/{project-id}/locations/{location-id}`. If no parent is specified, a region will be chosen automatically. Supported location-ids: `us`: USA country only, `asia`: East asia areas, like Japan, Taiwan, `eu`: The European Union. Example: `projects/project-A/locations/eu`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1p2beta1/{+parent}/files:asyncBatchAnnotate", +"request": { +"$ref": "GoogleCloudVisionV1p2beta1AsyncBatchAnnotateFilesRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-vision" +] +} +} +}, +"images": { +"methods": { +"annotate": { +"description": "Run image detection and annotation for a batch of images.", +"flatPath": "v1p2beta1/projects/{projectsId}/locations/{locationsId}/images:annotate", +"httpMethod": "POST", +"id": "vision.projects.locations.images.annotate", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Optional. Target project and location to make a call. Format: `projects/{project-id}/locations/{location-id}`. If no parent is specified, a region will be chosen automatically. Supported location-ids: `us`: USA country only, `asia`: East asia areas, like Japan, Taiwan, `eu`: The European Union. Example: `projects/project-A/locations/eu`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1p2beta1/{+parent}/images:annotate", +"request": { +"$ref": "GoogleCloudVisionV1p2beta1BatchAnnotateImagesRequest" +}, +"response": { +"$ref": "GoogleCloudVisionV1p2beta1BatchAnnotateImagesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-vision" +] +}, +"asyncBatchAnnotate": { +"description": "Run asynchronous image detection and annotation for a list of images. Progress and results can be retrieved through the `google.longrunning.Operations` interface. `Operation.metadata` contains `OperationMetadata` (metadata). `Operation.response` contains `AsyncBatchAnnotateImagesResponse` (results). This service will write image annotation outputs to json files in customer GCS bucket, each json file containing BatchAnnotateImagesResponse proto.", +"flatPath": "v1p2beta1/projects/{projectsId}/locations/{locationsId}/images:asyncBatchAnnotate", +"httpMethod": "POST", +"id": "vision.projects.locations.images.asyncBatchAnnotate", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Optional. Target project and location to make a call. Format: `projects/{project-id}/locations/{location-id}`. If no parent is specified, a region will be chosen automatically. Supported location-ids: `us`: USA country only, `asia`: East asia areas, like Japan, Taiwan, `eu`: The European Union. Example: `projects/project-A/locations/eu`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1p2beta1/{+parent}/images:asyncBatchAnnotate", +"request": { +"$ref": "GoogleCloudVisionV1p2beta1AsyncBatchAnnotateImagesRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-vision" +] +} +} +} +} +} +} +} +}, +"revision": "20250804", +"rootUrl": "https://vision.googleapis.com/", +"schemas": { +"AnnotateFileResponse": { +"description": "Response to a single file annotation request. A file may contain one or more images, which individually have their own responses.", +"id": "AnnotateFileResponse", +"properties": { +"error": { +"$ref": "Status", +"description": "If set, represents the error message for the failed request. The `responses` field will not be set in this case." +}, +"inputConfig": { +"$ref": "InputConfig", +"description": "Information about the file for which this response is generated." +}, +"responses": { +"description": "Individual responses to images found within the file. This field will be empty if the `error` field is set.", +"items": { +"$ref": "AnnotateImageResponse" +}, +"type": "array" +}, +"totalPages": { +"description": "This field gives the total number of pages in the file.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"AnnotateImageResponse": { +"description": "Response to an image annotation request.", +"id": "AnnotateImageResponse", +"properties": { +"context": { +"$ref": "ImageAnnotationContext", +"description": "If present, contextual information is needed to understand where this image comes from." +}, +"cropHintsAnnotation": { +"$ref": "CropHintsAnnotation", +"description": "If present, crop hints have completed successfully." +}, +"error": { +"$ref": "Status", +"description": "If set, represents the error message for the operation. Note that filled-in image annotations are guaranteed to be correct, even when `error` is set." +}, +"faceAnnotations": { +"description": "If present, face detection has completed successfully.", +"items": { +"$ref": "FaceAnnotation" +}, +"type": "array" +}, +"fullTextAnnotation": { +"$ref": "TextAnnotation", +"description": "If present, text (OCR) detection or document (OCR) text detection has completed successfully. This annotation provides the structural hierarchy for the OCR detected text." +}, +"imagePropertiesAnnotation": { +"$ref": "ImageProperties", +"description": "If present, image properties were extracted successfully." +}, +"labelAnnotations": { +"description": "If present, label detection has completed successfully.", +"items": { +"$ref": "EntityAnnotation" +}, +"type": "array" +}, +"landmarkAnnotations": { +"description": "If present, landmark detection has completed successfully.", +"items": { +"$ref": "EntityAnnotation" +}, +"type": "array" +}, +"localizedObjectAnnotations": { +"description": "If present, localized object detection has completed successfully. This will be sorted descending by confidence score.", +"items": { +"$ref": "LocalizedObjectAnnotation" +}, +"type": "array" +}, +"logoAnnotations": { +"description": "If present, logo detection has completed successfully.", +"items": { +"$ref": "EntityAnnotation" +}, +"type": "array" +}, +"productSearchResults": { +"$ref": "ProductSearchResults", +"description": "If present, product search has completed successfully." +}, +"safeSearchAnnotation": { +"$ref": "SafeSearchAnnotation", +"description": "If present, safe-search annotation has completed successfully." +}, +"textAnnotations": { +"description": "If present, text (OCR) detection has completed successfully.", +"items": { +"$ref": "EntityAnnotation" +}, +"type": "array" +}, +"webDetection": { +"$ref": "WebDetection", +"description": "If present, web detection has completed successfully." +} +}, +"type": "object" +}, +"AsyncAnnotateFileResponse": { +"description": "The response for a single offline file annotation request.", +"id": "AsyncAnnotateFileResponse", +"properties": { +"outputConfig": { +"$ref": "OutputConfig", +"description": "The output location and metadata from AsyncAnnotateFileRequest." +} +}, +"type": "object" +}, +"AsyncBatchAnnotateFilesResponse": { +"description": "Response to an async batch file annotation request.", +"id": "AsyncBatchAnnotateFilesResponse", +"properties": { +"responses": { +"description": "The list of file annotation responses, one for each request in AsyncBatchAnnotateFilesRequest.", +"items": { +"$ref": "AsyncAnnotateFileResponse" +}, +"type": "array" +} +}, +"type": "object" +}, +"AsyncBatchAnnotateImagesResponse": { +"description": "Response to an async batch image annotation request.", +"id": "AsyncBatchAnnotateImagesResponse", +"properties": { +"outputConfig": { +"$ref": "OutputConfig", +"description": "The output location and metadata from AsyncBatchAnnotateImagesRequest." +} +}, +"type": "object" +}, +"BatchAnnotateFilesResponse": { +"description": "A list of file annotation responses.", +"id": "BatchAnnotateFilesResponse", +"properties": { +"responses": { +"description": "The list of file annotation responses, each response corresponding to each AnnotateFileRequest in BatchAnnotateFilesRequest.", +"items": { +"$ref": "AnnotateFileResponse" +}, +"type": "array" +} +}, +"type": "object" +}, +"BatchOperationMetadata": { +"description": "Metadata for the batch operations such as the current state. This is included in the `metadata` field of the `Operation` returned by the `GetOperation` call of the `google::longrunning::Operations` service.", +"id": "BatchOperationMetadata", +"properties": { +"endTime": { +"description": "The time when the batch request is finished and google.longrunning.Operation.done is set to true.", +"format": "google-datetime", +"type": "string" +}, +"state": { +"description": "The current state of the batch operation.", +"enum": [ +"STATE_UNSPECIFIED", +"PROCESSING", +"SUCCESSFUL", +"FAILED", +"CANCELLED" +], +"enumDescriptions": [ +"Invalid.", +"Request is actively being processed.", +"The request is done and at least one item has been successfully processed.", +"The request is done and no item has been successfully processed.", +"The request is done after the longrunning.Operations.CancelOperation has been called by the user. Any records that were processed before the cancel command are output as specified in the request." +], +"type": "string" +}, +"submitTime": { +"description": "The time when the batch request was submitted to the server.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"Block": { +"description": "Logical element on the page.", +"id": "Block", +"properties": { +"blockType": { +"description": "Detected block type (text, image etc) for this block.", +"enum": [ +"UNKNOWN", +"TEXT", +"TABLE", +"PICTURE", +"RULER", +"BARCODE" +], +"enumDescriptions": [ +"Unknown block type.", +"Regular text block.", +"Table block.", +"Image block.", +"Horizontal/vertical line box.", +"Barcode block." +], +"type": "string" +}, +"boundingBox": { +"$ref": "BoundingPoly", +"description": "The bounding box for the block. The vertices are in the order of top-left, top-right, bottom-right, bottom-left. When a rotation of the bounding box is detected the rotation is represented as around the top-left corner as defined when the text is read in the 'natural' orientation. For example: * when the text is horizontal it might look like: 0----1 | | 3----2 * when it's rotated 180 degrees around the top-left corner it becomes: 2----3 | | 1----0 and the vertex order will still be (0, 1, 2, 3)." +}, +"confidence": { +"description": "Confidence of the OCR results on the block. Range [0, 1].", +"format": "float", +"type": "number" +}, +"paragraphs": { +"description": "List of paragraphs in this block (if this blocks is of type text).", +"items": { +"$ref": "Paragraph" +}, +"type": "array" +}, +"property": { +"$ref": "TextProperty", +"description": "Additional information detected for the block." +} +}, +"type": "object" +}, +"BoundingPoly": { +"description": "A bounding polygon for the detected image annotation.", +"id": "BoundingPoly", +"properties": { +"normalizedVertices": { +"description": "The bounding polygon normalized vertices.", +"items": { +"$ref": "NormalizedVertex" +}, +"type": "array" +}, +"vertices": { +"description": "The bounding polygon vertices.", +"items": { +"$ref": "Vertex" +}, +"type": "array" +} +}, +"type": "object" +}, +"Color": { +"description": "Represents a color in the RGBA color space. This representation is designed for simplicity of conversion to and from color representations in various languages over compactness. For example, the fields of this representation can be trivially provided to the constructor of `java.awt.Color` in Java; it can also be trivially provided to UIColor's `+colorWithRed:green:blue:alpha` method in iOS; and, with just a little work, it can be easily formatted into a CSS `rgba()` string in JavaScript. This reference page doesn't have information about the absolute color space that should be used to interpret the RGB value\u2014for example, sRGB, Adobe RGB, DCI-P3, and BT.2020. By default, applications should assume the sRGB color space. When color equality needs to be decided, implementations, unless documented otherwise, treat two colors as equal if all their red, green, blue, and alpha values each differ by at most `1e-5`. Example (Java): import com.google.type.Color; // ... public static java.awt.Color fromProto(Color protocolor) { float alpha = protocolor.hasAlpha() ? protocolor.getAlpha().getValue() : 1.0; return new java.awt.Color( protocolor.getRed(), protocolor.getGreen(), protocolor.getBlue(), alpha); } public static Color toProto(java.awt.Color color) { float red = (float) color.getRed(); float green = (float) color.getGreen(); float blue = (float) color.getBlue(); float denominator = 255.0; Color.Builder resultBuilder = Color .newBuilder() .setRed(red / denominator) .setGreen(green / denominator) .setBlue(blue / denominator); int alpha = color.getAlpha(); if (alpha != 255) { result.setAlpha( FloatValue .newBuilder() .setValue(((float) alpha) / denominator) .build()); } return resultBuilder.build(); } // ... Example (iOS / Obj-C): // ... static UIColor* fromProto(Color* protocolor) { float red = [protocolor red]; float green = [protocolor green]; float blue = [protocolor blue]; FloatValue* alpha_wrapper = [protocolor alpha]; float alpha = 1.0; if (alpha_wrapper != nil) { alpha = [alpha_wrapper value]; } return [UIColor colorWithRed:red green:green blue:blue alpha:alpha]; } static Color* toProto(UIColor* color) { CGFloat red, green, blue, alpha; if (![color getRed:&red green:&green blue:&blue alpha:&alpha]) { return nil; } Color* result = [[Color alloc] init]; [result setRed:red]; [result setGreen:green]; [result setBlue:blue]; if (alpha <= 0.9999) { [result setAlpha:floatWrapperWithValue(alpha)]; } [result autorelease]; return result; } // ... Example (JavaScript): // ... var protoToCssColor = function(rgb_color) { var redFrac = rgb_color.red || 0.0; var greenFrac = rgb_color.green || 0.0; var blueFrac = rgb_color.blue || 0.0; var red = Math.floor(redFrac * 255); var green = Math.floor(greenFrac * 255); var blue = Math.floor(blueFrac * 255); if (!('alpha' in rgb_color)) { return rgbToCssColor(red, green, blue); } var alphaFrac = rgb_color.alpha.value || 0.0; var rgbParams = [red, green, blue].join(','); return ['rgba(', rgbParams, ',', alphaFrac, ')'].join(''); }; var rgbToCssColor = function(red, green, blue) { var rgbNumber = new Number((red << 16) | (green << 8) | blue); var hexString = rgbNumber.toString(16); var missingZeros = 6 - hexString.length; var resultBuilder = ['#']; for (var i = 0; i < missingZeros; i++) { resultBuilder.push('0'); } resultBuilder.push(hexString); return resultBuilder.join(''); }; // ...", +"id": "Color", +"properties": { +"alpha": { +"description": "The fraction of this color that should be applied to the pixel. That is, the final pixel color is defined by the equation: `pixel color = alpha * (this color) + (1.0 - alpha) * (background color)` This means that a value of 1.0 corresponds to a solid color, whereas a value of 0.0 corresponds to a completely transparent color. This uses a wrapper message rather than a simple float scalar so that it is possible to distinguish between a default value and the value being unset. If omitted, this color object is rendered as a solid color (as if the alpha value had been explicitly given a value of 1.0).", +"format": "float", +"type": "number" +}, +"blue": { +"description": "The amount of blue in the color as a value in the interval [0, 1].", +"format": "float", +"type": "number" +}, +"green": { +"description": "The amount of green in the color as a value in the interval [0, 1].", +"format": "float", +"type": "number" +}, +"red": { +"description": "The amount of red in the color as a value in the interval [0, 1].", +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"ColorInfo": { +"description": "Color information consists of RGB channels, score, and the fraction of the image that the color occupies in the image.", +"id": "ColorInfo", +"properties": { +"color": { +"$ref": "Color", +"description": "RGB components of the color." +}, +"pixelFraction": { +"description": "The fraction of pixels the color occupies in the image. Value in range [0, 1].", +"format": "float", +"type": "number" +}, +"score": { +"description": "Image-specific score for this color. Value in range [0, 1].", +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"CropHint": { +"description": "Single crop hint that is used to generate a new crop when serving an image.", +"id": "CropHint", +"properties": { +"boundingPoly": { +"$ref": "BoundingPoly", +"description": "The bounding polygon for the crop region. The coordinates of the bounding box are in the original image's scale." +}, +"confidence": { +"description": "Confidence of this being a salient region. Range [0, 1].", +"format": "float", +"type": "number" +}, +"importanceFraction": { +"description": "Fraction of importance of this salient region with respect to the original image.", +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"CropHintsAnnotation": { +"description": "Set of crop hints that are used to generate new crops when serving images.", +"id": "CropHintsAnnotation", +"properties": { +"cropHints": { +"description": "Crop hint results.", +"items": { +"$ref": "CropHint" +}, +"type": "array" +} +}, +"type": "object" +}, +"DetectedBreak": { +"description": "Detected start or end of a structural component.", +"id": "DetectedBreak", +"properties": { +"isPrefix": { +"description": "True if break prepends the element.", +"type": "boolean" +}, +"type": { +"description": "Detected break type.", +"enum": [ +"UNKNOWN", +"SPACE", +"SURE_SPACE", +"EOL_SURE_SPACE", +"HYPHEN", +"LINE_BREAK" +], +"enumDescriptions": [ +"Unknown break label type.", +"Regular space.", +"Sure space (very wide).", +"Line-wrapping break.", +"End-line hyphen that is not present in text; does not co-occur with `SPACE`, `LEADER_SPACE`, or `LINE_BREAK`.", +"Line break that ends a paragraph." +], +"type": "string" +} +}, +"type": "object" +}, +"DetectedLanguage": { +"description": "Detected language for a structural component.", +"id": "DetectedLanguage", +"properties": { +"confidence": { +"description": "Confidence of detected language. Range [0, 1].", +"format": "float", +"type": "number" +}, +"languageCode": { +"description": "The BCP-47 language code, such as \"en-US\" or \"sr-Latn\". For more information, see http://www.unicode.org/reports/tr35/#Unicode_locale_identifier.", +"type": "string" +} +}, +"type": "object" +}, +"DominantColorsAnnotation": { +"description": "Set of dominant colors and their corresponding scores.", +"id": "DominantColorsAnnotation", +"properties": { +"colors": { +"description": "RGB color values with their score and pixel fraction.", +"items": { +"$ref": "ColorInfo" +}, +"type": "array" +} +}, +"type": "object" +}, +"EntityAnnotation": { +"description": "Set of detected entity features.", +"id": "EntityAnnotation", +"properties": { +"boundingPoly": { +"$ref": "BoundingPoly", +"description": "Image region to which this entity belongs. Not produced for `LABEL_DETECTION` features." +}, +"confidence": { +"deprecated": true, +"description": "**Deprecated. Use `score` instead.** The accuracy of the entity detection in an image. For example, for an image in which the \"Eiffel Tower\" entity is detected, this field represents the confidence that there is a tower in the query image. Range [0, 1].", +"format": "float", +"type": "number" +}, +"description": { +"description": "Entity textual description, expressed in its `locale` language.", +"type": "string" +}, +"locale": { +"description": "The language code for the locale in which the entity textual `description` is expressed.", +"type": "string" +}, +"locations": { +"description": "The location information for the detected entity. Multiple `LocationInfo` elements can be present because one location may indicate the location of the scene in the image, and another location may indicate the location of the place where the image was taken. Location information is usually present for landmarks.", +"items": { +"$ref": "LocationInfo" +}, +"type": "array" +}, +"mid": { +"description": "Opaque entity ID. Some IDs may be available in [Google Knowledge Graph Search API](https://developers.google.com/knowledge-graph/).", +"type": "string" +}, +"properties": { +"description": "Some entities may have optional user-supplied `Property` (name/value) fields, such a score or string that qualifies the entity.", +"items": { +"$ref": "Property" +}, +"type": "array" +}, +"score": { +"description": "Overall score of the result. Range [0, 1].", +"format": "float", +"type": "number" +}, +"topicality": { +"description": "The relevancy of the ICA (Image Content Annotation) label to the image. For example, the relevancy of \"tower\" is likely higher to an image containing the detected \"Eiffel Tower\" than to an image containing a detected distant towering building, even though the confidence that there is a tower in each image may be the same. Range [0, 1].", +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"FaceAnnotation": { +"description": "A face annotation object contains the results of face detection.", +"id": "FaceAnnotation", +"properties": { +"angerLikelihood": { +"description": "Anger likelihood.", +"enum": [ +"UNKNOWN", +"VERY_UNLIKELY", +"UNLIKELY", +"POSSIBLE", +"LIKELY", +"VERY_LIKELY" +], +"enumDescriptions": [ +"Unknown likelihood.", +"It is very unlikely.", +"It is unlikely.", +"It is possible.", +"It is likely.", +"It is very likely." +], +"type": "string" +}, +"blurredLikelihood": { +"description": "Blurred likelihood.", +"enum": [ +"UNKNOWN", +"VERY_UNLIKELY", +"UNLIKELY", +"POSSIBLE", +"LIKELY", +"VERY_LIKELY" +], +"enumDescriptions": [ +"Unknown likelihood.", +"It is very unlikely.", +"It is unlikely.", +"It is possible.", +"It is likely.", +"It is very likely." +], +"type": "string" +}, +"boundingPoly": { +"$ref": "BoundingPoly", +"description": "The bounding polygon around the face. The coordinates of the bounding box are in the original image's scale. The bounding box is computed to \"frame\" the face in accordance with human expectations. It is based on the landmarker results. Note that one or more x and/or y coordinates may not be generated in the `BoundingPoly` (the polygon will be unbounded) if only a partial face appears in the image to be annotated." +}, +"detectionConfidence": { +"description": "Detection confidence. Range [0, 1].", +"format": "float", +"type": "number" +}, +"fdBoundingPoly": { +"$ref": "BoundingPoly", +"description": "The `fd_bounding_poly` bounding polygon is tighter than the `boundingPoly`, and encloses only the skin part of the face. Typically, it is used to eliminate the face from any image analysis that detects the \"amount of skin\" visible in an image. It is not based on the landmarker results, only on the initial face detection, hence the fd (face detection) prefix." +}, +"headwearLikelihood": { +"description": "Headwear likelihood.", +"enum": [ +"UNKNOWN", +"VERY_UNLIKELY", +"UNLIKELY", +"POSSIBLE", +"LIKELY", +"VERY_LIKELY" +], +"enumDescriptions": [ +"Unknown likelihood.", +"It is very unlikely.", +"It is unlikely.", +"It is possible.", +"It is likely.", +"It is very likely." +], +"type": "string" +}, +"joyLikelihood": { +"description": "Joy likelihood.", +"enum": [ +"UNKNOWN", +"VERY_UNLIKELY", +"UNLIKELY", +"POSSIBLE", +"LIKELY", +"VERY_LIKELY" +], +"enumDescriptions": [ +"Unknown likelihood.", +"It is very unlikely.", +"It is unlikely.", +"It is possible.", +"It is likely.", +"It is very likely." +], +"type": "string" +}, +"landmarkingConfidence": { +"description": "Face landmarking confidence. Range [0, 1].", +"format": "float", +"type": "number" +}, +"landmarks": { +"description": "Detected face landmarks.", +"items": { +"$ref": "Landmark" +}, +"type": "array" +}, +"panAngle": { +"description": "Yaw angle, which indicates the leftward/rightward angle that the face is pointing relative to the vertical plane perpendicular to the image. Range [-180,180].", +"format": "float", +"type": "number" +}, +"rollAngle": { +"description": "Roll angle, which indicates the amount of clockwise/anti-clockwise rotation of the face relative to the image vertical about the axis perpendicular to the face. Range [-180,180].", +"format": "float", +"type": "number" +}, +"sorrowLikelihood": { +"description": "Sorrow likelihood.", +"enum": [ +"UNKNOWN", +"VERY_UNLIKELY", +"UNLIKELY", +"POSSIBLE", +"LIKELY", +"VERY_LIKELY" +], +"enumDescriptions": [ +"Unknown likelihood.", +"It is very unlikely.", +"It is unlikely.", +"It is possible.", +"It is likely.", +"It is very likely." +], +"type": "string" +}, +"surpriseLikelihood": { +"description": "Surprise likelihood.", +"enum": [ +"UNKNOWN", +"VERY_UNLIKELY", +"UNLIKELY", +"POSSIBLE", +"LIKELY", +"VERY_LIKELY" +], +"enumDescriptions": [ +"Unknown likelihood.", +"It is very unlikely.", +"It is unlikely.", +"It is possible.", +"It is likely.", +"It is very likely." +], +"type": "string" +}, +"tiltAngle": { +"description": "Pitch angle, which indicates the upwards/downwards angle that the face is pointing relative to the image's horizontal plane. Range [-180,180].", +"format": "float", +"type": "number" +}, +"underExposedLikelihood": { +"description": "Under-exposed likelihood.", +"enum": [ +"UNKNOWN", +"VERY_UNLIKELY", +"UNLIKELY", +"POSSIBLE", +"LIKELY", +"VERY_LIKELY" +], +"enumDescriptions": [ +"Unknown likelihood.", +"It is very unlikely.", +"It is unlikely.", +"It is possible.", +"It is likely.", +"It is very likely." +], +"type": "string" +} +}, +"type": "object" +}, +"GcsDestination": { +"description": "The Google Cloud Storage location where the output will be written to.", +"id": "GcsDestination", +"properties": { +"uri": { +"description": "Google Cloud Storage URI prefix where the results will be stored. Results will be in JSON format and preceded by its corresponding input URI prefix. This field can either represent a gcs file prefix or gcs directory. In either case, the uri should be unique because in order to get all of the output files, you will need to do a wildcard gcs search on the uri prefix you provide. Examples: * File Prefix: gs://bucket-name/here/filenameprefix The output files will be created in gs://bucket-name/here/ and the names of the output files will begin with \"filenameprefix\". * Directory Prefix: gs://bucket-name/some/location/ The output files will be created in gs://bucket-name/some/location/ and the names of the output files could be anything because there was no filename prefix specified. If multiple outputs, each response is still AnnotateFileResponse, each of which contains some subset of the full list of AnnotateImageResponse. Multiple outputs can happen if, for example, the output JSON is too large and overflows into multiple sharded files.", +"type": "string" +} +}, +"type": "object" +}, +"GcsSource": { +"description": "The Google Cloud Storage location where the input will be read from.", +"id": "GcsSource", +"properties": { +"uri": { +"description": "Google Cloud Storage URI for the input file. This must only be a Google Cloud Storage object. Wildcards are not currently supported.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p1beta1AnnotateFileResponse": { +"description": "Response to a single file annotation request. A file may contain one or more images, which individually have their own responses.", +"id": "GoogleCloudVisionV1p1beta1AnnotateFileResponse", +"properties": { +"error": { +"$ref": "Status", +"description": "If set, represents the error message for the failed request. The `responses` field will not be set in this case." +}, +"inputConfig": { +"$ref": "GoogleCloudVisionV1p1beta1InputConfig", +"description": "Information about the file for which this response is generated." +}, +"responses": { +"description": "Individual responses to images found within the file. This field will be empty if the `error` field is set.", +"items": { +"$ref": "GoogleCloudVisionV1p1beta1AnnotateImageResponse" +}, +"type": "array" +}, +"totalPages": { +"description": "This field gives the total number of pages in the file.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p1beta1AnnotateImageResponse": { +"description": "Response to an image annotation request.", +"id": "GoogleCloudVisionV1p1beta1AnnotateImageResponse", +"properties": { +"context": { +"$ref": "GoogleCloudVisionV1p1beta1ImageAnnotationContext", +"description": "If present, contextual information is needed to understand where this image comes from." +}, +"cropHintsAnnotation": { +"$ref": "GoogleCloudVisionV1p1beta1CropHintsAnnotation", +"description": "If present, crop hints have completed successfully." +}, +"error": { +"$ref": "Status", +"description": "If set, represents the error message for the operation. Note that filled-in image annotations are guaranteed to be correct, even when `error` is set." +}, +"faceAnnotations": { +"description": "If present, face detection has completed successfully.", +"items": { +"$ref": "GoogleCloudVisionV1p1beta1FaceAnnotation" +}, +"type": "array" +}, +"fullTextAnnotation": { +"$ref": "GoogleCloudVisionV1p1beta1TextAnnotation", +"description": "If present, text (OCR) detection or document (OCR) text detection has completed successfully. This annotation provides the structural hierarchy for the OCR detected text." +}, +"imagePropertiesAnnotation": { +"$ref": "GoogleCloudVisionV1p1beta1ImageProperties", +"description": "If present, image properties were extracted successfully." +}, +"labelAnnotations": { +"description": "If present, label detection has completed successfully.", +"items": { +"$ref": "GoogleCloudVisionV1p1beta1EntityAnnotation" +}, +"type": "array" +}, +"landmarkAnnotations": { +"description": "If present, landmark detection has completed successfully.", +"items": { +"$ref": "GoogleCloudVisionV1p1beta1EntityAnnotation" +}, +"type": "array" +}, +"localizedObjectAnnotations": { +"description": "If present, localized object detection has completed successfully. This will be sorted descending by confidence score.", +"items": { +"$ref": "GoogleCloudVisionV1p1beta1LocalizedObjectAnnotation" +}, +"type": "array" +}, +"logoAnnotations": { +"description": "If present, logo detection has completed successfully.", +"items": { +"$ref": "GoogleCloudVisionV1p1beta1EntityAnnotation" +}, +"type": "array" +}, +"productSearchResults": { +"$ref": "GoogleCloudVisionV1p1beta1ProductSearchResults", +"description": "If present, product search has completed successfully." +}, +"safeSearchAnnotation": { +"$ref": "GoogleCloudVisionV1p1beta1SafeSearchAnnotation", +"description": "If present, safe-search annotation has completed successfully." +}, +"textAnnotations": { +"description": "If present, text (OCR) detection has completed successfully.", +"items": { +"$ref": "GoogleCloudVisionV1p1beta1EntityAnnotation" +}, +"type": "array" +}, +"webDetection": { +"$ref": "GoogleCloudVisionV1p1beta1WebDetection", +"description": "If present, web detection has completed successfully." +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p1beta1AsyncAnnotateFileResponse": { +"description": "The response for a single offline file annotation request.", +"id": "GoogleCloudVisionV1p1beta1AsyncAnnotateFileResponse", +"properties": { +"outputConfig": { +"$ref": "GoogleCloudVisionV1p1beta1OutputConfig", +"description": "The output location and metadata from AsyncAnnotateFileRequest." +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p1beta1AsyncBatchAnnotateFilesResponse": { +"description": "Response to an async batch file annotation request.", +"id": "GoogleCloudVisionV1p1beta1AsyncBatchAnnotateFilesResponse", +"properties": { +"responses": { +"description": "The list of file annotation responses, one for each request in AsyncBatchAnnotateFilesRequest.", +"items": { +"$ref": "GoogleCloudVisionV1p1beta1AsyncAnnotateFileResponse" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p1beta1Block": { +"description": "Logical element on the page.", +"id": "GoogleCloudVisionV1p1beta1Block", +"properties": { +"blockType": { +"description": "Detected block type (text, image etc) for this block.", +"enum": [ +"UNKNOWN", +"TEXT", +"TABLE", +"PICTURE", +"RULER", +"BARCODE" +], +"enumDescriptions": [ +"Unknown block type.", +"Regular text block.", +"Table block.", +"Image block.", +"Horizontal/vertical line box.", +"Barcode block." +], +"type": "string" +}, +"boundingBox": { +"$ref": "GoogleCloudVisionV1p1beta1BoundingPoly", +"description": "The bounding box for the block. The vertices are in the order of top-left, top-right, bottom-right, bottom-left. When a rotation of the bounding box is detected the rotation is represented as around the top-left corner as defined when the text is read in the 'natural' orientation. For example: * when the text is horizontal it might look like: 0----1 | | 3----2 * when it's rotated 180 degrees around the top-left corner it becomes: 2----3 | | 1----0 and the vertex order will still be (0, 1, 2, 3)." +}, +"confidence": { +"description": "Confidence of the OCR results on the block. Range [0, 1].", +"format": "float", +"type": "number" +}, +"paragraphs": { +"description": "List of paragraphs in this block (if this blocks is of type text).", +"items": { +"$ref": "GoogleCloudVisionV1p1beta1Paragraph" +}, +"type": "array" +}, +"property": { +"$ref": "GoogleCloudVisionV1p1beta1TextAnnotationTextProperty", +"description": "Additional information detected for the block." +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p1beta1BoundingPoly": { +"description": "A bounding polygon for the detected image annotation.", +"id": "GoogleCloudVisionV1p1beta1BoundingPoly", +"properties": { +"normalizedVertices": { +"description": "The bounding polygon normalized vertices.", +"items": { +"$ref": "GoogleCloudVisionV1p1beta1NormalizedVertex" +}, +"type": "array" +}, +"vertices": { +"description": "The bounding polygon vertices.", +"items": { +"$ref": "GoogleCloudVisionV1p1beta1Vertex" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p1beta1ColorInfo": { +"description": "Color information consists of RGB channels, score, and the fraction of the image that the color occupies in the image.", +"id": "GoogleCloudVisionV1p1beta1ColorInfo", +"properties": { +"color": { +"$ref": "Color", +"description": "RGB components of the color." +}, +"pixelFraction": { +"description": "The fraction of pixels the color occupies in the image. Value in range [0, 1].", +"format": "float", +"type": "number" +}, +"score": { +"description": "Image-specific score for this color. Value in range [0, 1].", +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p1beta1CropHint": { +"description": "Single crop hint that is used to generate a new crop when serving an image.", +"id": "GoogleCloudVisionV1p1beta1CropHint", +"properties": { +"boundingPoly": { +"$ref": "GoogleCloudVisionV1p1beta1BoundingPoly", +"description": "The bounding polygon for the crop region. The coordinates of the bounding box are in the original image's scale." +}, +"confidence": { +"description": "Confidence of this being a salient region. Range [0, 1].", +"format": "float", +"type": "number" +}, +"importanceFraction": { +"description": "Fraction of importance of this salient region with respect to the original image.", +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p1beta1CropHintsAnnotation": { +"description": "Set of crop hints that are used to generate new crops when serving images.", +"id": "GoogleCloudVisionV1p1beta1CropHintsAnnotation", +"properties": { +"cropHints": { +"description": "Crop hint results.", +"items": { +"$ref": "GoogleCloudVisionV1p1beta1CropHint" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p1beta1DominantColorsAnnotation": { +"description": "Set of dominant colors and their corresponding scores.", +"id": "GoogleCloudVisionV1p1beta1DominantColorsAnnotation", +"properties": { +"colors": { +"description": "RGB color values with their score and pixel fraction.", +"items": { +"$ref": "GoogleCloudVisionV1p1beta1ColorInfo" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p1beta1EntityAnnotation": { +"description": "Set of detected entity features.", +"id": "GoogleCloudVisionV1p1beta1EntityAnnotation", +"properties": { +"boundingPoly": { +"$ref": "GoogleCloudVisionV1p1beta1BoundingPoly", +"description": "Image region to which this entity belongs. Not produced for `LABEL_DETECTION` features." +}, +"confidence": { +"deprecated": true, +"description": "**Deprecated. Use `score` instead.** The accuracy of the entity detection in an image. For example, for an image in which the \"Eiffel Tower\" entity is detected, this field represents the confidence that there is a tower in the query image. Range [0, 1].", +"format": "float", +"type": "number" +}, +"description": { +"description": "Entity textual description, expressed in its `locale` language.", +"type": "string" +}, +"locale": { +"description": "The language code for the locale in which the entity textual `description` is expressed.", +"type": "string" +}, +"locations": { +"description": "The location information for the detected entity. Multiple `LocationInfo` elements can be present because one location may indicate the location of the scene in the image, and another location may indicate the location of the place where the image was taken. Location information is usually present for landmarks.", +"items": { +"$ref": "GoogleCloudVisionV1p1beta1LocationInfo" +}, +"type": "array" +}, +"mid": { +"description": "Opaque entity ID. Some IDs may be available in [Google Knowledge Graph Search API](https://developers.google.com/knowledge-graph/).", +"type": "string" +}, +"properties": { +"description": "Some entities may have optional user-supplied `Property` (name/value) fields, such a score or string that qualifies the entity.", +"items": { +"$ref": "GoogleCloudVisionV1p1beta1Property" +}, +"type": "array" +}, +"score": { +"description": "Overall score of the result. Range [0, 1].", +"format": "float", +"type": "number" +}, +"topicality": { +"description": "The relevancy of the ICA (Image Content Annotation) label to the image. For example, the relevancy of \"tower\" is likely higher to an image containing the detected \"Eiffel Tower\" than to an image containing a detected distant towering building, even though the confidence that there is a tower in each image may be the same. Range [0, 1].", +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p1beta1FaceAnnotation": { +"description": "A face annotation object contains the results of face detection.", +"id": "GoogleCloudVisionV1p1beta1FaceAnnotation", +"properties": { +"angerLikelihood": { +"description": "Anger likelihood.", +"enum": [ +"UNKNOWN", +"VERY_UNLIKELY", +"UNLIKELY", +"POSSIBLE", +"LIKELY", +"VERY_LIKELY" +], +"enumDescriptions": [ +"Unknown likelihood.", +"It is very unlikely.", +"It is unlikely.", +"It is possible.", +"It is likely.", +"It is very likely." +], +"type": "string" +}, +"blurredLikelihood": { +"description": "Blurred likelihood.", +"enum": [ +"UNKNOWN", +"VERY_UNLIKELY", +"UNLIKELY", +"POSSIBLE", +"LIKELY", +"VERY_LIKELY" +], +"enumDescriptions": [ +"Unknown likelihood.", +"It is very unlikely.", +"It is unlikely.", +"It is possible.", +"It is likely.", +"It is very likely." +], +"type": "string" +}, +"boundingPoly": { +"$ref": "GoogleCloudVisionV1p1beta1BoundingPoly", +"description": "The bounding polygon around the face. The coordinates of the bounding box are in the original image's scale. The bounding box is computed to \"frame\" the face in accordance with human expectations. It is based on the landmarker results. Note that one or more x and/or y coordinates may not be generated in the `BoundingPoly` (the polygon will be unbounded) if only a partial face appears in the image to be annotated." +}, +"detectionConfidence": { +"description": "Detection confidence. Range [0, 1].", +"format": "float", +"type": "number" +}, +"fdBoundingPoly": { +"$ref": "GoogleCloudVisionV1p1beta1BoundingPoly", +"description": "The `fd_bounding_poly` bounding polygon is tighter than the `boundingPoly`, and encloses only the skin part of the face. Typically, it is used to eliminate the face from any image analysis that detects the \"amount of skin\" visible in an image. It is not based on the landmarker results, only on the initial face detection, hence the fd (face detection) prefix." +}, +"headwearLikelihood": { +"description": "Headwear likelihood.", +"enum": [ +"UNKNOWN", +"VERY_UNLIKELY", +"UNLIKELY", +"POSSIBLE", +"LIKELY", +"VERY_LIKELY" +], +"enumDescriptions": [ +"Unknown likelihood.", +"It is very unlikely.", +"It is unlikely.", +"It is possible.", +"It is likely.", +"It is very likely." +], +"type": "string" +}, +"joyLikelihood": { +"description": "Joy likelihood.", +"enum": [ +"UNKNOWN", +"VERY_UNLIKELY", +"UNLIKELY", +"POSSIBLE", +"LIKELY", +"VERY_LIKELY" +], +"enumDescriptions": [ +"Unknown likelihood.", +"It is very unlikely.", +"It is unlikely.", +"It is possible.", +"It is likely.", +"It is very likely." +], +"type": "string" +}, +"landmarkingConfidence": { +"description": "Face landmarking confidence. Range [0, 1].", +"format": "float", +"type": "number" +}, +"landmarks": { +"description": "Detected face landmarks.", +"items": { +"$ref": "GoogleCloudVisionV1p1beta1FaceAnnotationLandmark" +}, +"type": "array" +}, +"panAngle": { +"description": "Yaw angle, which indicates the leftward/rightward angle that the face is pointing relative to the vertical plane perpendicular to the image. Range [-180,180].", +"format": "float", +"type": "number" +}, +"rollAngle": { +"description": "Roll angle, which indicates the amount of clockwise/anti-clockwise rotation of the face relative to the image vertical about the axis perpendicular to the face. Range [-180,180].", +"format": "float", +"type": "number" +}, +"sorrowLikelihood": { +"description": "Sorrow likelihood.", +"enum": [ +"UNKNOWN", +"VERY_UNLIKELY", +"UNLIKELY", +"POSSIBLE", +"LIKELY", +"VERY_LIKELY" +], +"enumDescriptions": [ +"Unknown likelihood.", +"It is very unlikely.", +"It is unlikely.", +"It is possible.", +"It is likely.", +"It is very likely." +], +"type": "string" +}, +"surpriseLikelihood": { +"description": "Surprise likelihood.", +"enum": [ +"UNKNOWN", +"VERY_UNLIKELY", +"UNLIKELY", +"POSSIBLE", +"LIKELY", +"VERY_LIKELY" +], +"enumDescriptions": [ +"Unknown likelihood.", +"It is very unlikely.", +"It is unlikely.", +"It is possible.", +"It is likely.", +"It is very likely." +], +"type": "string" +}, +"tiltAngle": { +"description": "Pitch angle, which indicates the upwards/downwards angle that the face is pointing relative to the image's horizontal plane. Range [-180,180].", +"format": "float", +"type": "number" +}, +"underExposedLikelihood": { +"description": "Under-exposed likelihood.", +"enum": [ +"UNKNOWN", +"VERY_UNLIKELY", +"UNLIKELY", +"POSSIBLE", +"LIKELY", +"VERY_LIKELY" +], +"enumDescriptions": [ +"Unknown likelihood.", +"It is very unlikely.", +"It is unlikely.", +"It is possible.", +"It is likely.", +"It is very likely." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p1beta1FaceAnnotationLandmark": { +"description": "A face-specific landmark (for example, a face feature). Landmark positions may fall outside the bounds of the image if the face is near one or more edges of the image. Therefore it is NOT guaranteed that `0 <= x < width` or `0 <= y < height`.", +"id": "GoogleCloudVisionV1p1beta1FaceAnnotationLandmark", +"properties": { +"position": { +"$ref": "GoogleCloudVisionV1p1beta1Position", +"description": "Face landmark position." +}, +"type": { +"description": "Face landmark type.", +"enum": [ +"UNKNOWN_LANDMARK", +"LEFT_EYE", +"RIGHT_EYE", +"LEFT_OF_LEFT_EYEBROW", +"RIGHT_OF_LEFT_EYEBROW", +"LEFT_OF_RIGHT_EYEBROW", +"RIGHT_OF_RIGHT_EYEBROW", +"MIDPOINT_BETWEEN_EYES", +"NOSE_TIP", +"UPPER_LIP", +"LOWER_LIP", +"MOUTH_LEFT", +"MOUTH_RIGHT", +"MOUTH_CENTER", +"NOSE_BOTTOM_RIGHT", +"NOSE_BOTTOM_LEFT", +"NOSE_BOTTOM_CENTER", +"LEFT_EYE_TOP_BOUNDARY", +"LEFT_EYE_RIGHT_CORNER", +"LEFT_EYE_BOTTOM_BOUNDARY", +"LEFT_EYE_LEFT_CORNER", +"RIGHT_EYE_TOP_BOUNDARY", +"RIGHT_EYE_RIGHT_CORNER", +"RIGHT_EYE_BOTTOM_BOUNDARY", +"RIGHT_EYE_LEFT_CORNER", +"LEFT_EYEBROW_UPPER_MIDPOINT", +"RIGHT_EYEBROW_UPPER_MIDPOINT", +"LEFT_EAR_TRAGION", +"RIGHT_EAR_TRAGION", +"LEFT_EYE_PUPIL", +"RIGHT_EYE_PUPIL", +"FOREHEAD_GLABELLA", +"CHIN_GNATHION", +"CHIN_LEFT_GONION", +"CHIN_RIGHT_GONION", +"LEFT_CHEEK_CENTER", +"RIGHT_CHEEK_CENTER" +], +"enumDescriptions": [ +"Unknown face landmark detected. Should not be filled.", +"Left eye.", +"Right eye.", +"Left of left eyebrow.", +"Right of left eyebrow.", +"Left of right eyebrow.", +"Right of right eyebrow.", +"Midpoint between eyes.", +"Nose tip.", +"Upper lip.", +"Lower lip.", +"Mouth left.", +"Mouth right.", +"Mouth center.", +"Nose, bottom right.", +"Nose, bottom left.", +"Nose, bottom center.", +"Left eye, top boundary.", +"Left eye, right corner.", +"Left eye, bottom boundary.", +"Left eye, left corner.", +"Right eye, top boundary.", +"Right eye, right corner.", +"Right eye, bottom boundary.", +"Right eye, left corner.", +"Left eyebrow, upper midpoint.", +"Right eyebrow, upper midpoint.", +"Left ear tragion.", +"Right ear tragion.", +"Left eye pupil.", +"Right eye pupil.", +"Forehead glabella.", +"Chin gnathion.", +"Chin left gonion.", +"Chin right gonion.", +"Left cheek center.", +"Right cheek center." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p1beta1GcsDestination": { +"description": "The Google Cloud Storage location where the output will be written to.", +"id": "GoogleCloudVisionV1p1beta1GcsDestination", +"properties": { +"uri": { +"description": "Google Cloud Storage URI prefix where the results will be stored. Results will be in JSON format and preceded by its corresponding input URI prefix. This field can either represent a gcs file prefix or gcs directory. In either case, the uri should be unique because in order to get all of the output files, you will need to do a wildcard gcs search on the uri prefix you provide. Examples: * File Prefix: gs://bucket-name/here/filenameprefix The output files will be created in gs://bucket-name/here/ and the names of the output files will begin with \"filenameprefix\". * Directory Prefix: gs://bucket-name/some/location/ The output files will be created in gs://bucket-name/some/location/ and the names of the output files could be anything because there was no filename prefix specified. If multiple outputs, each response is still AnnotateFileResponse, each of which contains some subset of the full list of AnnotateImageResponse. Multiple outputs can happen if, for example, the output JSON is too large and overflows into multiple sharded files.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p1beta1GcsSource": { +"description": "The Google Cloud Storage location where the input will be read from.", +"id": "GoogleCloudVisionV1p1beta1GcsSource", +"properties": { +"uri": { +"description": "Google Cloud Storage URI for the input file. This must only be a Google Cloud Storage object. Wildcards are not currently supported.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p1beta1ImageAnnotationContext": { +"description": "If an image was produced from a file (e.g. a PDF), this message gives information about the source of that image.", +"id": "GoogleCloudVisionV1p1beta1ImageAnnotationContext", +"properties": { +"pageNumber": { +"description": "If the file was a PDF or TIFF, this field gives the page number within the file used to produce the image.", +"format": "int32", +"type": "integer" +}, +"uri": { +"description": "The URI of the file used to produce the image.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p1beta1ImageProperties": { +"description": "Stores image properties, such as dominant colors.", +"id": "GoogleCloudVisionV1p1beta1ImageProperties", +"properties": { +"dominantColors": { +"$ref": "GoogleCloudVisionV1p1beta1DominantColorsAnnotation", +"description": "If present, dominant colors completed successfully." +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p1beta1InputConfig": { +"description": "The desired input location and metadata.", +"id": "GoogleCloudVisionV1p1beta1InputConfig", +"properties": { +"content": { +"description": "File content, represented as a stream of bytes. Note: As with all `bytes` fields, protobuffers use a pure binary representation, whereas JSON representations use base64. Currently, this field only works for BatchAnnotateFiles requests. It does not work for AsyncBatchAnnotateFiles requests.", +"format": "byte", +"type": "string" +}, +"gcsSource": { +"$ref": "GoogleCloudVisionV1p1beta1GcsSource", +"description": "The Google Cloud Storage location to read the input from." +}, +"mimeType": { +"description": "The type of the file. Currently only \"application/pdf\", \"image/tiff\" and \"image/gif\" are supported. Wildcards are not supported.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p1beta1LocalizedObjectAnnotation": { +"description": "Set of detected objects with bounding boxes.", +"id": "GoogleCloudVisionV1p1beta1LocalizedObjectAnnotation", +"properties": { +"boundingPoly": { +"$ref": "GoogleCloudVisionV1p1beta1BoundingPoly", +"description": "Image region to which this object belongs. This must be populated." +}, +"languageCode": { +"description": "The BCP-47 language code, such as \"en-US\" or \"sr-Latn\". For more information, see http://www.unicode.org/reports/tr35/#Unicode_locale_identifier.", +"type": "string" +}, +"mid": { +"description": "Object ID that should align with EntityAnnotation mid.", +"type": "string" +}, +"name": { +"description": "Object name, expressed in its `language_code` language.", +"type": "string" +}, +"score": { +"description": "Score of the result. Range [0, 1].", +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p1beta1LocationInfo": { +"description": "Detected entity location information.", +"id": "GoogleCloudVisionV1p1beta1LocationInfo", +"properties": { +"latLng": { +"$ref": "LatLng", +"description": "lat/long location coordinates." +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p1beta1NormalizedVertex": { +"description": "A vertex represents a 2D point in the image. NOTE: the normalized vertex coordinates are relative to the original image and range from 0 to 1.", +"id": "GoogleCloudVisionV1p1beta1NormalizedVertex", +"properties": { +"x": { +"description": "X coordinate.", +"format": "float", +"type": "number" +}, +"y": { +"description": "Y coordinate.", +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p1beta1OperationMetadata": { +"description": "Contains metadata for the BatchAnnotateImages operation.", +"id": "GoogleCloudVisionV1p1beta1OperationMetadata", +"properties": { +"createTime": { +"description": "The time when the batch request was received.", +"format": "google-datetime", +"type": "string" +}, +"state": { +"description": "Current state of the batch operation.", +"enum": [ +"STATE_UNSPECIFIED", +"CREATED", +"RUNNING", +"DONE", +"CANCELLED" +], +"enumDescriptions": [ +"Invalid.", +"Request is received.", +"Request is actively being processed.", +"The batch processing is done.", +"The batch processing was cancelled." +], +"type": "string" +}, +"updateTime": { +"description": "The time when the operation result was last updated.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p1beta1OutputConfig": { +"description": "The desired output location and metadata.", +"id": "GoogleCloudVisionV1p1beta1OutputConfig", +"properties": { +"batchSize": { +"description": "The max number of response protos to put into each output JSON file on Google Cloud Storage. The valid range is [1, 100]. If not specified, the default value is 20. For example, for one pdf file with 100 pages, 100 response protos will be generated. If `batch_size` = 20, then 5 json files each containing 20 response protos will be written under the prefix `gcs_destination`.`uri`. Currently, batch_size only applies to GcsDestination, with potential future support for other output configurations.", +"format": "int32", +"type": "integer" +}, +"gcsDestination": { +"$ref": "GoogleCloudVisionV1p1beta1GcsDestination", +"description": "The Google Cloud Storage location to write the output(s) to." +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p1beta1Page": { +"description": "Detected page from OCR.", +"id": "GoogleCloudVisionV1p1beta1Page", +"properties": { +"blocks": { +"description": "List of blocks of text, images etc on this page.", +"items": { +"$ref": "GoogleCloudVisionV1p1beta1Block" +}, +"type": "array" +}, +"confidence": { +"description": "Confidence of the OCR results on the page. Range [0, 1].", +"format": "float", +"type": "number" +}, +"height": { +"description": "Page height. For PDFs the unit is points. For images (including TIFFs) the unit is pixels.", +"format": "int32", +"type": "integer" +}, +"property": { +"$ref": "GoogleCloudVisionV1p1beta1TextAnnotationTextProperty", +"description": "Additional information detected on the page." +}, +"width": { +"description": "Page width. For PDFs the unit is points. For images (including TIFFs) the unit is pixels.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p1beta1Paragraph": { +"description": "Structural unit of text representing a number of words in certain order.", +"id": "GoogleCloudVisionV1p1beta1Paragraph", +"properties": { +"boundingBox": { +"$ref": "GoogleCloudVisionV1p1beta1BoundingPoly", +"description": "The bounding box for the paragraph. The vertices are in the order of top-left, top-right, bottom-right, bottom-left. When a rotation of the bounding box is detected the rotation is represented as around the top-left corner as defined when the text is read in the 'natural' orientation. For example: * when the text is horizontal it might look like: 0----1 | | 3----2 * when it's rotated 180 degrees around the top-left corner it becomes: 2----3 | | 1----0 and the vertex order will still be (0, 1, 2, 3)." +}, +"confidence": { +"description": "Confidence of the OCR results for the paragraph. Range [0, 1].", +"format": "float", +"type": "number" +}, +"property": { +"$ref": "GoogleCloudVisionV1p1beta1TextAnnotationTextProperty", +"description": "Additional information detected for the paragraph." +}, +"words": { +"description": "List of all words in this paragraph.", +"items": { +"$ref": "GoogleCloudVisionV1p1beta1Word" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p1beta1Position": { +"description": "A 3D position in the image, used primarily for Face detection landmarks. A valid Position must have both x and y coordinates. The position coordinates are in the same scale as the original image.", +"id": "GoogleCloudVisionV1p1beta1Position", +"properties": { +"x": { +"description": "X coordinate.", +"format": "float", +"type": "number" +}, +"y": { +"description": "Y coordinate.", +"format": "float", +"type": "number" +}, +"z": { +"description": "Z coordinate (or depth).", +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p1beta1Product": { +"description": "A Product contains ReferenceImages.", +"id": "GoogleCloudVisionV1p1beta1Product", +"properties": { +"description": { +"description": "User-provided metadata to be stored with this product. Must be at most 4096 characters long.", +"type": "string" +}, +"displayName": { +"description": "The user-provided name for this Product. Must not be empty. Must be at most 4096 characters long.", +"type": "string" +}, +"name": { +"description": "The resource name of the product. Format is: `projects/PROJECT_ID/locations/LOC_ID/products/PRODUCT_ID`. This field is ignored when creating a product.", +"type": "string" +}, +"productCategory": { +"description": "Immutable. The category for the product identified by the reference image. This should be one of \"homegoods-v2\", \"apparel-v2\", \"toys-v2\", \"packagedgoods-v1\" or \"general-v1\". The legacy categories \"homegoods\", \"apparel\", and \"toys\" are still supported, but these should not be used for new products.", +"type": "string" +}, +"productLabels": { +"description": "Key-value pairs that can be attached to a product. At query time, constraints can be specified based on the product_labels. Note that integer values can be provided as strings, e.g. \"1199\". Only strings with integer values can match a range-based restriction which is to be supported soon. Multiple values can be assigned to the same key. One product may have up to 500 product_labels. Notice that the total number of distinct product_labels over all products in one ProductSet cannot exceed 1M, otherwise the product search pipeline will refuse to work for that ProductSet.", +"items": { +"$ref": "GoogleCloudVisionV1p1beta1ProductKeyValue" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p1beta1ProductKeyValue": { +"description": "A product label represented as a key-value pair.", +"id": "GoogleCloudVisionV1p1beta1ProductKeyValue", +"properties": { +"key": { +"description": "The key of the label attached to the product. Cannot be empty and cannot exceed 128 bytes.", +"type": "string" +}, +"value": { +"description": "The value of the label attached to the product. Cannot be empty and cannot exceed 128 bytes.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p1beta1ProductSearchResults": { +"description": "Results for a product search request.", +"id": "GoogleCloudVisionV1p1beta1ProductSearchResults", +"properties": { +"indexTime": { +"description": "Timestamp of the index which provided these results. Products added to the product set and products removed from the product set after this time are not reflected in the current results.", +"format": "google-datetime", +"type": "string" +}, +"productGroupedResults": { +"description": "List of results grouped by products detected in the query image. Each entry corresponds to one bounding polygon in the query image, and contains the matching products specific to that region. There may be duplicate product matches in the union of all the per-product results.", +"items": { +"$ref": "GoogleCloudVisionV1p1beta1ProductSearchResultsGroupedResult" +}, +"type": "array" +}, +"results": { +"description": "List of results, one for each product match.", +"items": { +"$ref": "GoogleCloudVisionV1p1beta1ProductSearchResultsResult" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p1beta1ProductSearchResultsGroupedResult": { +"description": "Information about the products similar to a single product in a query image.", +"id": "GoogleCloudVisionV1p1beta1ProductSearchResultsGroupedResult", +"properties": { +"boundingPoly": { +"$ref": "GoogleCloudVisionV1p1beta1BoundingPoly", +"description": "The bounding polygon around the product detected in the query image." +}, +"objectAnnotations": { +"description": "List of generic predictions for the object in the bounding box.", +"items": { +"$ref": "GoogleCloudVisionV1p1beta1ProductSearchResultsObjectAnnotation" +}, +"type": "array" +}, +"results": { +"description": "List of results, one for each product match.", +"items": { +"$ref": "GoogleCloudVisionV1p1beta1ProductSearchResultsResult" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p1beta1ProductSearchResultsObjectAnnotation": { +"description": "Prediction for what the object in the bounding box is.", +"id": "GoogleCloudVisionV1p1beta1ProductSearchResultsObjectAnnotation", +"properties": { +"languageCode": { +"description": "The BCP-47 language code, such as \"en-US\" or \"sr-Latn\". For more information, see http://www.unicode.org/reports/tr35/#Unicode_locale_identifier.", +"type": "string" +}, +"mid": { +"description": "Object ID that should align with EntityAnnotation mid.", +"type": "string" +}, +"name": { +"description": "Object name, expressed in its `language_code` language.", +"type": "string" +}, +"score": { +"description": "Score of the result. Range [0, 1].", +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p1beta1ProductSearchResultsResult": { +"description": "Information about a product.", +"id": "GoogleCloudVisionV1p1beta1ProductSearchResultsResult", +"properties": { +"image": { +"description": "The resource name of the image from the product that is the closest match to the query.", +"type": "string" +}, +"product": { +"$ref": "GoogleCloudVisionV1p1beta1Product", +"description": "The Product." +}, +"score": { +"description": "A confidence level on the match, ranging from 0 (no confidence) to 1 (full confidence).", +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p1beta1Property": { +"description": "A `Property` consists of a user-supplied name/value pair.", +"id": "GoogleCloudVisionV1p1beta1Property", +"properties": { +"name": { +"description": "Name of the property.", +"type": "string" +}, +"uint64Value": { +"description": "Value of numeric properties.", +"format": "uint64", +"type": "string" +}, +"value": { +"description": "Value of the property.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p1beta1SafeSearchAnnotation": { +"description": "Set of features pertaining to the image, computed by computer vision methods over safe-search verticals (for example, adult, spoof, medical, violence).", +"id": "GoogleCloudVisionV1p1beta1SafeSearchAnnotation", +"properties": { +"adult": { +"description": "Represents the adult content likelihood for the image. Adult content may contain elements such as nudity, pornographic images or cartoons, or sexual activities.", +"enum": [ +"UNKNOWN", +"VERY_UNLIKELY", +"UNLIKELY", +"POSSIBLE", +"LIKELY", +"VERY_LIKELY" +], +"enumDescriptions": [ +"Unknown likelihood.", +"It is very unlikely.", +"It is unlikely.", +"It is possible.", +"It is likely.", +"It is very likely." +], +"type": "string" +}, +"medical": { +"description": "Likelihood that this is a medical image.", +"enum": [ +"UNKNOWN", +"VERY_UNLIKELY", +"UNLIKELY", +"POSSIBLE", +"LIKELY", +"VERY_LIKELY" +], +"enumDescriptions": [ +"Unknown likelihood.", +"It is very unlikely.", +"It is unlikely.", +"It is possible.", +"It is likely.", +"It is very likely." +], +"type": "string" +}, +"racy": { +"description": "Likelihood that the request image contains racy content. Racy content may include (but is not limited to) skimpy or sheer clothing, strategically covered nudity, lewd or provocative poses, or close-ups of sensitive body areas.", +"enum": [ +"UNKNOWN", +"VERY_UNLIKELY", +"UNLIKELY", +"POSSIBLE", +"LIKELY", +"VERY_LIKELY" +], +"enumDescriptions": [ +"Unknown likelihood.", +"It is very unlikely.", +"It is unlikely.", +"It is possible.", +"It is likely.", +"It is very likely." +], +"type": "string" +}, +"spoof": { +"description": "Spoof likelihood. The likelihood that an modification was made to the image's canonical version to make it appear funny or offensive.", +"enum": [ +"UNKNOWN", +"VERY_UNLIKELY", +"UNLIKELY", +"POSSIBLE", +"LIKELY", +"VERY_LIKELY" +], +"enumDescriptions": [ +"Unknown likelihood.", +"It is very unlikely.", +"It is unlikely.", +"It is possible.", +"It is likely.", +"It is very likely." +], +"type": "string" +}, +"violence": { +"description": "Likelihood that this image contains violent content. Violent content may include death, serious harm, or injury to individuals or groups of individuals.", +"enum": [ +"UNKNOWN", +"VERY_UNLIKELY", +"UNLIKELY", +"POSSIBLE", +"LIKELY", +"VERY_LIKELY" +], +"enumDescriptions": [ +"Unknown likelihood.", +"It is very unlikely.", +"It is unlikely.", +"It is possible.", +"It is likely.", +"It is very likely." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p1beta1Symbol": { +"description": "A single symbol representation.", +"id": "GoogleCloudVisionV1p1beta1Symbol", +"properties": { +"boundingBox": { +"$ref": "GoogleCloudVisionV1p1beta1BoundingPoly", +"description": "The bounding box for the symbol. The vertices are in the order of top-left, top-right, bottom-right, bottom-left. When a rotation of the bounding box is detected the rotation is represented as around the top-left corner as defined when the text is read in the 'natural' orientation. For example: * when the text is horizontal it might look like: 0----1 | | 3----2 * when it's rotated 180 degrees around the top-left corner it becomes: 2----3 | | 1----0 and the vertex order will still be (0, 1, 2, 3)." +}, +"confidence": { +"description": "Confidence of the OCR results for the symbol. Range [0, 1].", +"format": "float", +"type": "number" +}, +"property": { +"$ref": "GoogleCloudVisionV1p1beta1TextAnnotationTextProperty", +"description": "Additional information detected for the symbol." +}, +"text": { +"description": "The actual UTF-8 representation of the symbol.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p1beta1TextAnnotation": { +"description": "TextAnnotation contains a structured representation of OCR extracted text. The hierarchy of an OCR extracted text structure is like this: TextAnnotation -> Page -> Block -> Paragraph -> Word -> Symbol Each structural component, starting from Page, may further have their own properties. Properties describe detected languages, breaks etc.. Please refer to the TextAnnotation.TextProperty message definition below for more detail.", +"id": "GoogleCloudVisionV1p1beta1TextAnnotation", +"properties": { +"pages": { +"description": "List of pages detected by OCR.", +"items": { +"$ref": "GoogleCloudVisionV1p1beta1Page" +}, +"type": "array" +}, +"text": { +"description": "UTF-8 text detected on the pages.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p1beta1TextAnnotationDetectedBreak": { +"description": "Detected start or end of a structural component.", +"id": "GoogleCloudVisionV1p1beta1TextAnnotationDetectedBreak", +"properties": { +"isPrefix": { +"description": "True if break prepends the element.", +"type": "boolean" +}, +"type": { +"description": "Detected break type.", +"enum": [ +"UNKNOWN", +"SPACE", +"SURE_SPACE", +"EOL_SURE_SPACE", +"HYPHEN", +"LINE_BREAK" +], +"enumDescriptions": [ +"Unknown break label type.", +"Regular space.", +"Sure space (very wide).", +"Line-wrapping break.", +"End-line hyphen that is not present in text; does not co-occur with `SPACE`, `LEADER_SPACE`, or `LINE_BREAK`.", +"Line break that ends a paragraph." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p1beta1TextAnnotationDetectedLanguage": { +"description": "Detected language for a structural component.", +"id": "GoogleCloudVisionV1p1beta1TextAnnotationDetectedLanguage", +"properties": { +"confidence": { +"description": "Confidence of detected language. Range [0, 1].", +"format": "float", +"type": "number" +}, +"languageCode": { +"description": "The BCP-47 language code, such as \"en-US\" or \"sr-Latn\". For more information, see http://www.unicode.org/reports/tr35/#Unicode_locale_identifier.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p1beta1TextAnnotationTextProperty": { +"description": "Additional information detected on the structural component.", +"id": "GoogleCloudVisionV1p1beta1TextAnnotationTextProperty", +"properties": { +"detectedBreak": { +"$ref": "GoogleCloudVisionV1p1beta1TextAnnotationDetectedBreak", +"description": "Detected start or end of a text segment." +}, +"detectedLanguages": { +"description": "A list of detected languages together with confidence.", +"items": { +"$ref": "GoogleCloudVisionV1p1beta1TextAnnotationDetectedLanguage" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p1beta1Vertex": { +"description": "A vertex represents a 2D point in the image. NOTE: the vertex coordinates are in the same scale as the original image.", +"id": "GoogleCloudVisionV1p1beta1Vertex", +"properties": { +"x": { +"description": "X coordinate.", +"format": "int32", +"type": "integer" +}, +"y": { +"description": "Y coordinate.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p1beta1WebDetection": { +"description": "Relevant information for the image from the Internet.", +"id": "GoogleCloudVisionV1p1beta1WebDetection", +"properties": { +"bestGuessLabels": { +"description": "The service's best guess as to the topic of the request image. Inferred from similar images on the open web.", +"items": { +"$ref": "GoogleCloudVisionV1p1beta1WebDetectionWebLabel" +}, +"type": "array" +}, +"fullMatchingImages": { +"description": "Fully matching images from the Internet. Can include resized copies of the query image.", +"items": { +"$ref": "GoogleCloudVisionV1p1beta1WebDetectionWebImage" +}, +"type": "array" +}, +"pagesWithMatchingImages": { +"description": "Web pages containing the matching images from the Internet.", +"items": { +"$ref": "GoogleCloudVisionV1p1beta1WebDetectionWebPage" +}, +"type": "array" +}, +"partialMatchingImages": { +"description": "Partial matching images from the Internet. Those images are similar enough to share some key-point features. For example an original image will likely have partial matching for its crops.", +"items": { +"$ref": "GoogleCloudVisionV1p1beta1WebDetectionWebImage" +}, +"type": "array" +}, +"visuallySimilarImages": { +"description": "The visually similar image results.", +"items": { +"$ref": "GoogleCloudVisionV1p1beta1WebDetectionWebImage" +}, +"type": "array" +}, +"webEntities": { +"description": "Deduced entities from similar images on the Internet.", +"items": { +"$ref": "GoogleCloudVisionV1p1beta1WebDetectionWebEntity" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p1beta1WebDetectionWebEntity": { +"description": "Entity deduced from similar images on the Internet.", +"id": "GoogleCloudVisionV1p1beta1WebDetectionWebEntity", +"properties": { +"description": { +"description": "Canonical description of the entity, in English.", +"type": "string" +}, +"entityId": { +"description": "Opaque entity ID.", +"type": "string" +}, +"score": { +"description": "Overall relevancy score for the entity. Not normalized and not comparable across different image queries.", +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p1beta1WebDetectionWebImage": { +"description": "Metadata for online images.", +"id": "GoogleCloudVisionV1p1beta1WebDetectionWebImage", +"properties": { +"score": { +"description": "(Deprecated) Overall relevancy score for the image.", +"format": "float", +"type": "number" +}, +"url": { +"description": "The result image URL.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p1beta1WebDetectionWebLabel": { +"description": "Label to provide extra metadata for the web detection.", +"id": "GoogleCloudVisionV1p1beta1WebDetectionWebLabel", +"properties": { +"label": { +"description": "Label for extra metadata.", +"type": "string" +}, +"languageCode": { +"description": "The BCP-47 language code for `label`, such as \"en-US\" or \"sr-Latn\". For more information, see http://www.unicode.org/reports/tr35/#Unicode_locale_identifier.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p1beta1WebDetectionWebPage": { +"description": "Metadata for web pages.", +"id": "GoogleCloudVisionV1p1beta1WebDetectionWebPage", +"properties": { +"fullMatchingImages": { +"description": "Fully matching images on the page. Can include resized copies of the query image.", +"items": { +"$ref": "GoogleCloudVisionV1p1beta1WebDetectionWebImage" +}, +"type": "array" +}, +"pageTitle": { +"description": "Title for the web page, may contain HTML markups.", +"type": "string" +}, +"partialMatchingImages": { +"description": "Partial matching images on the page. Those images are similar enough to share some key-point features. For example an original image will likely have partial matching for its crops.", +"items": { +"$ref": "GoogleCloudVisionV1p1beta1WebDetectionWebImage" +}, +"type": "array" +}, +"score": { +"description": "(Deprecated) Overall relevancy score for the web page.", +"format": "float", +"type": "number" +}, +"url": { +"description": "The result web page URL.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p1beta1Word": { +"description": "A word representation.", +"id": "GoogleCloudVisionV1p1beta1Word", +"properties": { +"boundingBox": { +"$ref": "GoogleCloudVisionV1p1beta1BoundingPoly", +"description": "The bounding box for the word. The vertices are in the order of top-left, top-right, bottom-right, bottom-left. When a rotation of the bounding box is detected the rotation is represented as around the top-left corner as defined when the text is read in the 'natural' orientation. For example: * when the text is horizontal it might look like: 0----1 | | 3----2 * when it's rotated 180 degrees around the top-left corner it becomes: 2----3 | | 1----0 and the vertex order will still be (0, 1, 2, 3)." +}, +"confidence": { +"description": "Confidence of the OCR results for the word. Range [0, 1].", +"format": "float", +"type": "number" +}, +"property": { +"$ref": "GoogleCloudVisionV1p1beta1TextAnnotationTextProperty", +"description": "Additional information detected for the word." +}, +"symbols": { +"description": "List of symbols in the word. The order of the symbols follows the natural reading order.", +"items": { +"$ref": "GoogleCloudVisionV1p1beta1Symbol" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p2beta1AnnotateFileRequest": { +"description": "A request to annotate one single file, e.g. a PDF, TIFF or GIF file.", +"id": "GoogleCloudVisionV1p2beta1AnnotateFileRequest", +"properties": { +"features": { +"description": "Required. Requested features.", +"items": { +"$ref": "GoogleCloudVisionV1p2beta1Feature" +}, +"type": "array" +}, +"imageContext": { +"$ref": "GoogleCloudVisionV1p2beta1ImageContext", +"description": "Additional context that may accompany the image(s) in the file." +}, +"inputConfig": { +"$ref": "GoogleCloudVisionV1p2beta1InputConfig", +"description": "Required. Information about the input file." +}, +"pages": { +"description": "Pages of the file to perform image annotation. Pages starts from 1, we assume the first page of the file is page 1. At most 5 pages are supported per request. Pages can be negative. Page 1 means the first page. Page 2 means the second page. Page -1 means the last page. Page -2 means the second to the last page. If the file is GIF instead of PDF or TIFF, page refers to GIF frames. If this field is empty, by default the service performs image annotation for the first 5 pages of the file.", +"items": { +"format": "int32", +"type": "integer" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p2beta1AnnotateFileResponse": { +"description": "Response to a single file annotation request. A file may contain one or more images, which individually have their own responses.", +"id": "GoogleCloudVisionV1p2beta1AnnotateFileResponse", +"properties": { +"error": { +"$ref": "Status", +"description": "If set, represents the error message for the failed request. The `responses` field will not be set in this case." +}, +"inputConfig": { +"$ref": "GoogleCloudVisionV1p2beta1InputConfig", +"description": "Information about the file for which this response is generated." +}, +"responses": { +"description": "Individual responses to images found within the file. This field will be empty if the `error` field is set.", +"items": { +"$ref": "GoogleCloudVisionV1p2beta1AnnotateImageResponse" +}, +"type": "array" +}, +"totalPages": { +"description": "This field gives the total number of pages in the file.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p2beta1AnnotateImageRequest": { +"description": "Request for performing Google Cloud Vision API tasks over a user-provided image, with user-requested features, and with context information.", +"id": "GoogleCloudVisionV1p2beta1AnnotateImageRequest", +"properties": { +"features": { +"description": "Requested features.", +"items": { +"$ref": "GoogleCloudVisionV1p2beta1Feature" +}, +"type": "array" +}, +"image": { +"$ref": "GoogleCloudVisionV1p2beta1Image", +"description": "The image to be processed." +}, +"imageContext": { +"$ref": "GoogleCloudVisionV1p2beta1ImageContext", +"description": "Additional context that may accompany the image." +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p2beta1AnnotateImageResponse": { +"description": "Response to an image annotation request.", +"id": "GoogleCloudVisionV1p2beta1AnnotateImageResponse", +"properties": { +"context": { +"$ref": "GoogleCloudVisionV1p2beta1ImageAnnotationContext", +"description": "If present, contextual information is needed to understand where this image comes from." +}, +"cropHintsAnnotation": { +"$ref": "GoogleCloudVisionV1p2beta1CropHintsAnnotation", +"description": "If present, crop hints have completed successfully." +}, +"error": { +"$ref": "Status", +"description": "If set, represents the error message for the operation. Note that filled-in image annotations are guaranteed to be correct, even when `error` is set." +}, +"faceAnnotations": { +"description": "If present, face detection has completed successfully.", +"items": { +"$ref": "GoogleCloudVisionV1p2beta1FaceAnnotation" +}, +"type": "array" +}, +"fullTextAnnotation": { +"$ref": "GoogleCloudVisionV1p2beta1TextAnnotation", +"description": "If present, text (OCR) detection or document (OCR) text detection has completed successfully. This annotation provides the structural hierarchy for the OCR detected text." +}, +"imagePropertiesAnnotation": { +"$ref": "GoogleCloudVisionV1p2beta1ImageProperties", +"description": "If present, image properties were extracted successfully." +}, +"labelAnnotations": { +"description": "If present, label detection has completed successfully.", +"items": { +"$ref": "GoogleCloudVisionV1p2beta1EntityAnnotation" +}, +"type": "array" +}, +"landmarkAnnotations": { +"description": "If present, landmark detection has completed successfully.", +"items": { +"$ref": "GoogleCloudVisionV1p2beta1EntityAnnotation" +}, +"type": "array" +}, +"localizedObjectAnnotations": { +"description": "If present, localized object detection has completed successfully. This will be sorted descending by confidence score.", +"items": { +"$ref": "GoogleCloudVisionV1p2beta1LocalizedObjectAnnotation" +}, +"type": "array" +}, +"logoAnnotations": { +"description": "If present, logo detection has completed successfully.", +"items": { +"$ref": "GoogleCloudVisionV1p2beta1EntityAnnotation" +}, +"type": "array" +}, +"productSearchResults": { +"$ref": "GoogleCloudVisionV1p2beta1ProductSearchResults", +"description": "If present, product search has completed successfully." +}, +"safeSearchAnnotation": { +"$ref": "GoogleCloudVisionV1p2beta1SafeSearchAnnotation", +"description": "If present, safe-search annotation has completed successfully." +}, +"textAnnotations": { +"description": "If present, text (OCR) detection has completed successfully.", +"items": { +"$ref": "GoogleCloudVisionV1p2beta1EntityAnnotation" +}, +"type": "array" +}, +"webDetection": { +"$ref": "GoogleCloudVisionV1p2beta1WebDetection", +"description": "If present, web detection has completed successfully." +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p2beta1AsyncAnnotateFileRequest": { +"description": "An offline file annotation request.", +"id": "GoogleCloudVisionV1p2beta1AsyncAnnotateFileRequest", +"properties": { +"features": { +"description": "Required. Requested features.", +"items": { +"$ref": "GoogleCloudVisionV1p2beta1Feature" +}, +"type": "array" +}, +"imageContext": { +"$ref": "GoogleCloudVisionV1p2beta1ImageContext", +"description": "Additional context that may accompany the image(s) in the file." +}, +"inputConfig": { +"$ref": "GoogleCloudVisionV1p2beta1InputConfig", +"description": "Required. Information about the input file." +}, +"outputConfig": { +"$ref": "GoogleCloudVisionV1p2beta1OutputConfig", +"description": "Required. The desired output location and metadata (e.g. format)." +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p2beta1AsyncAnnotateFileResponse": { +"description": "The response for a single offline file annotation request.", +"id": "GoogleCloudVisionV1p2beta1AsyncAnnotateFileResponse", +"properties": { +"outputConfig": { +"$ref": "GoogleCloudVisionV1p2beta1OutputConfig", +"description": "The output location and metadata from AsyncAnnotateFileRequest." +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p2beta1AsyncBatchAnnotateFilesRequest": { +"description": "Multiple async file annotation requests are batched into a single service call.", +"id": "GoogleCloudVisionV1p2beta1AsyncBatchAnnotateFilesRequest", +"properties": { +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. The labels with user-defined metadata for the request. Label keys and values can be no longer than 63 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. Label values are optional. Label keys must start with a letter.", +"type": "object" +}, +"parent": { +"description": "Optional. Target project and location to make a call. Format: `projects/{project-id}/locations/{location-id}`. If no parent is specified, a region will be chosen automatically. Supported location-ids: `us`: USA country only, `asia`: East asia areas, like Japan, Taiwan, `eu`: The European Union. Example: `projects/project-A/locations/eu`.", +"type": "string" +}, +"requests": { +"description": "Required. Individual async file annotation requests for this batch.", +"items": { +"$ref": "GoogleCloudVisionV1p2beta1AsyncAnnotateFileRequest" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p2beta1AsyncBatchAnnotateFilesResponse": { +"description": "Response to an async batch file annotation request.", +"id": "GoogleCloudVisionV1p2beta1AsyncBatchAnnotateFilesResponse", +"properties": { +"responses": { +"description": "The list of file annotation responses, one for each request in AsyncBatchAnnotateFilesRequest.", +"items": { +"$ref": "GoogleCloudVisionV1p2beta1AsyncAnnotateFileResponse" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p2beta1AsyncBatchAnnotateImagesRequest": { +"description": "Request for async image annotation for a list of images.", +"id": "GoogleCloudVisionV1p2beta1AsyncBatchAnnotateImagesRequest", +"properties": { +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. The labels with user-defined metadata for the request. Label keys and values can be no longer than 63 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. Label values are optional. Label keys must start with a letter.", +"type": "object" +}, +"outputConfig": { +"$ref": "GoogleCloudVisionV1p2beta1OutputConfig", +"description": "Required. The desired output location and metadata (e.g. format)." +}, +"parent": { +"description": "Optional. Target project and location to make a call. Format: `projects/{project-id}/locations/{location-id}`. If no parent is specified, a region will be chosen automatically. Supported location-ids: `us`: USA country only, `asia`: East asia areas, like Japan, Taiwan, `eu`: The European Union. Example: `projects/project-A/locations/eu`.", +"type": "string" +}, +"requests": { +"description": "Required. Individual image annotation requests for this batch.", +"items": { +"$ref": "GoogleCloudVisionV1p2beta1AnnotateImageRequest" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p2beta1BatchAnnotateFilesRequest": { +"description": "A list of requests to annotate files using the BatchAnnotateFiles API.", +"id": "GoogleCloudVisionV1p2beta1BatchAnnotateFilesRequest", +"properties": { +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. The labels with user-defined metadata for the request. Label keys and values can be no longer than 63 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. Label values are optional. Label keys must start with a letter.", +"type": "object" +}, +"parent": { +"description": "Optional. Target project and location to make a call. Format: `projects/{project-id}/locations/{location-id}`. If no parent is specified, a region will be chosen automatically. Supported location-ids: `us`: USA country only, `asia`: East asia areas, like Japan, Taiwan, `eu`: The European Union. Example: `projects/project-A/locations/eu`.", +"type": "string" +}, +"requests": { +"description": "Required. The list of file annotation requests. Right now we support only one AnnotateFileRequest in BatchAnnotateFilesRequest.", +"items": { +"$ref": "GoogleCloudVisionV1p2beta1AnnotateFileRequest" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p2beta1BatchAnnotateFilesResponse": { +"description": "A list of file annotation responses.", +"id": "GoogleCloudVisionV1p2beta1BatchAnnotateFilesResponse", +"properties": { +"responses": { +"description": "The list of file annotation responses, each response corresponding to each AnnotateFileRequest in BatchAnnotateFilesRequest.", +"items": { +"$ref": "GoogleCloudVisionV1p2beta1AnnotateFileResponse" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p2beta1BatchAnnotateImagesRequest": { +"description": "Multiple image annotation requests are batched into a single service call.", +"id": "GoogleCloudVisionV1p2beta1BatchAnnotateImagesRequest", +"properties": { +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. The labels with user-defined metadata for the request. Label keys and values can be no longer than 63 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. Label values are optional. Label keys must start with a letter.", +"type": "object" +}, +"parent": { +"description": "Optional. Target project and location to make a call. Format: `projects/{project-id}/locations/{location-id}`. If no parent is specified, a region will be chosen automatically. Supported location-ids: `us`: USA country only, `asia`: East asia areas, like Japan, Taiwan, `eu`: The European Union. Example: `projects/project-A/locations/eu`.", +"type": "string" +}, +"requests": { +"description": "Required. Individual image annotation requests for this batch.", +"items": { +"$ref": "GoogleCloudVisionV1p2beta1AnnotateImageRequest" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p2beta1BatchAnnotateImagesResponse": { +"description": "Response to a batch image annotation request.", +"id": "GoogleCloudVisionV1p2beta1BatchAnnotateImagesResponse", +"properties": { +"responses": { +"description": "Individual responses to image annotation requests within the batch.", +"items": { +"$ref": "GoogleCloudVisionV1p2beta1AnnotateImageResponse" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p2beta1Block": { +"description": "Logical element on the page.", +"id": "GoogleCloudVisionV1p2beta1Block", +"properties": { +"blockType": { +"description": "Detected block type (text, image etc) for this block.", +"enum": [ +"UNKNOWN", +"TEXT", +"TABLE", +"PICTURE", +"RULER", +"BARCODE" +], +"enumDescriptions": [ +"Unknown block type.", +"Regular text block.", +"Table block.", +"Image block.", +"Horizontal/vertical line box.", +"Barcode block." +], +"type": "string" +}, +"boundingBox": { +"$ref": "GoogleCloudVisionV1p2beta1BoundingPoly", +"description": "The bounding box for the block. The vertices are in the order of top-left, top-right, bottom-right, bottom-left. When a rotation of the bounding box is detected the rotation is represented as around the top-left corner as defined when the text is read in the 'natural' orientation. For example: * when the text is horizontal it might look like: 0----1 | | 3----2 * when it's rotated 180 degrees around the top-left corner it becomes: 2----3 | | 1----0 and the vertex order will still be (0, 1, 2, 3)." +}, +"confidence": { +"description": "Confidence of the OCR results on the block. Range [0, 1].", +"format": "float", +"type": "number" +}, +"paragraphs": { +"description": "List of paragraphs in this block (if this blocks is of type text).", +"items": { +"$ref": "GoogleCloudVisionV1p2beta1Paragraph" +}, +"type": "array" +}, +"property": { +"$ref": "GoogleCloudVisionV1p2beta1TextAnnotationTextProperty", +"description": "Additional information detected for the block." +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p2beta1BoundingPoly": { +"description": "A bounding polygon for the detected image annotation.", +"id": "GoogleCloudVisionV1p2beta1BoundingPoly", +"properties": { +"normalizedVertices": { +"description": "The bounding polygon normalized vertices.", +"items": { +"$ref": "GoogleCloudVisionV1p2beta1NormalizedVertex" +}, +"type": "array" +}, +"vertices": { +"description": "The bounding polygon vertices.", +"items": { +"$ref": "GoogleCloudVisionV1p2beta1Vertex" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p2beta1ColorInfo": { +"description": "Color information consists of RGB channels, score, and the fraction of the image that the color occupies in the image.", +"id": "GoogleCloudVisionV1p2beta1ColorInfo", +"properties": { +"color": { +"$ref": "Color", +"description": "RGB components of the color." +}, +"pixelFraction": { +"description": "The fraction of pixels the color occupies in the image. Value in range [0, 1].", +"format": "float", +"type": "number" +}, +"score": { +"description": "Image-specific score for this color. Value in range [0, 1].", +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p2beta1CropHint": { +"description": "Single crop hint that is used to generate a new crop when serving an image.", +"id": "GoogleCloudVisionV1p2beta1CropHint", +"properties": { +"boundingPoly": { +"$ref": "GoogleCloudVisionV1p2beta1BoundingPoly", +"description": "The bounding polygon for the crop region. The coordinates of the bounding box are in the original image's scale." +}, +"confidence": { +"description": "Confidence of this being a salient region. Range [0, 1].", +"format": "float", +"type": "number" +}, +"importanceFraction": { +"description": "Fraction of importance of this salient region with respect to the original image.", +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p2beta1CropHintsAnnotation": { +"description": "Set of crop hints that are used to generate new crops when serving images.", +"id": "GoogleCloudVisionV1p2beta1CropHintsAnnotation", +"properties": { +"cropHints": { +"description": "Crop hint results.", +"items": { +"$ref": "GoogleCloudVisionV1p2beta1CropHint" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p2beta1CropHintsParams": { +"description": "Parameters for crop hints annotation request.", +"id": "GoogleCloudVisionV1p2beta1CropHintsParams", +"properties": { +"aspectRatios": { +"description": "Aspect ratios in floats, representing the ratio of the width to the height of the image. For example, if the desired aspect ratio is 4/3, the corresponding float value should be 1.33333. If not specified, the best possible crop is returned. The number of provided aspect ratios is limited to a maximum of 16; any aspect ratios provided after the 16th are ignored.", +"items": { +"format": "float", +"type": "number" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p2beta1DominantColorsAnnotation": { +"description": "Set of dominant colors and their corresponding scores.", +"id": "GoogleCloudVisionV1p2beta1DominantColorsAnnotation", +"properties": { +"colors": { +"description": "RGB color values with their score and pixel fraction.", +"items": { +"$ref": "GoogleCloudVisionV1p2beta1ColorInfo" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p2beta1EntityAnnotation": { +"description": "Set of detected entity features.", +"id": "GoogleCloudVisionV1p2beta1EntityAnnotation", +"properties": { +"boundingPoly": { +"$ref": "GoogleCloudVisionV1p2beta1BoundingPoly", +"description": "Image region to which this entity belongs. Not produced for `LABEL_DETECTION` features." +}, +"confidence": { +"deprecated": true, +"description": "**Deprecated. Use `score` instead.** The accuracy of the entity detection in an image. For example, for an image in which the \"Eiffel Tower\" entity is detected, this field represents the confidence that there is a tower in the query image. Range [0, 1].", +"format": "float", +"type": "number" +}, +"description": { +"description": "Entity textual description, expressed in its `locale` language.", +"type": "string" +}, +"locale": { +"description": "The language code for the locale in which the entity textual `description` is expressed.", +"type": "string" +}, +"locations": { +"description": "The location information for the detected entity. Multiple `LocationInfo` elements can be present because one location may indicate the location of the scene in the image, and another location may indicate the location of the place where the image was taken. Location information is usually present for landmarks.", +"items": { +"$ref": "GoogleCloudVisionV1p2beta1LocationInfo" +}, +"type": "array" +}, +"mid": { +"description": "Opaque entity ID. Some IDs may be available in [Google Knowledge Graph Search API](https://developers.google.com/knowledge-graph/).", +"type": "string" +}, +"properties": { +"description": "Some entities may have optional user-supplied `Property` (name/value) fields, such a score or string that qualifies the entity.", +"items": { +"$ref": "GoogleCloudVisionV1p2beta1Property" +}, +"type": "array" +}, +"score": { +"description": "Overall score of the result. Range [0, 1].", +"format": "float", +"type": "number" +}, +"topicality": { +"description": "The relevancy of the ICA (Image Content Annotation) label to the image. For example, the relevancy of \"tower\" is likely higher to an image containing the detected \"Eiffel Tower\" than to an image containing a detected distant towering building, even though the confidence that there is a tower in each image may be the same. Range [0, 1].", +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p2beta1FaceAnnotation": { +"description": "A face annotation object contains the results of face detection.", +"id": "GoogleCloudVisionV1p2beta1FaceAnnotation", +"properties": { +"angerLikelihood": { +"description": "Anger likelihood.", +"enum": [ +"UNKNOWN", +"VERY_UNLIKELY", +"UNLIKELY", +"POSSIBLE", +"LIKELY", +"VERY_LIKELY" +], +"enumDescriptions": [ +"Unknown likelihood.", +"It is very unlikely.", +"It is unlikely.", +"It is possible.", +"It is likely.", +"It is very likely." +], +"type": "string" +}, +"blurredLikelihood": { +"description": "Blurred likelihood.", +"enum": [ +"UNKNOWN", +"VERY_UNLIKELY", +"UNLIKELY", +"POSSIBLE", +"LIKELY", +"VERY_LIKELY" +], +"enumDescriptions": [ +"Unknown likelihood.", +"It is very unlikely.", +"It is unlikely.", +"It is possible.", +"It is likely.", +"It is very likely." +], +"type": "string" +}, +"boundingPoly": { +"$ref": "GoogleCloudVisionV1p2beta1BoundingPoly", +"description": "The bounding polygon around the face. The coordinates of the bounding box are in the original image's scale. The bounding box is computed to \"frame\" the face in accordance with human expectations. It is based on the landmarker results. Note that one or more x and/or y coordinates may not be generated in the `BoundingPoly` (the polygon will be unbounded) if only a partial face appears in the image to be annotated." +}, +"detectionConfidence": { +"description": "Detection confidence. Range [0, 1].", +"format": "float", +"type": "number" +}, +"fdBoundingPoly": { +"$ref": "GoogleCloudVisionV1p2beta1BoundingPoly", +"description": "The `fd_bounding_poly` bounding polygon is tighter than the `boundingPoly`, and encloses only the skin part of the face. Typically, it is used to eliminate the face from any image analysis that detects the \"amount of skin\" visible in an image. It is not based on the landmarker results, only on the initial face detection, hence the fd (face detection) prefix." +}, +"headwearLikelihood": { +"description": "Headwear likelihood.", +"enum": [ +"UNKNOWN", +"VERY_UNLIKELY", +"UNLIKELY", +"POSSIBLE", +"LIKELY", +"VERY_LIKELY" +], +"enumDescriptions": [ +"Unknown likelihood.", +"It is very unlikely.", +"It is unlikely.", +"It is possible.", +"It is likely.", +"It is very likely." +], +"type": "string" +}, +"joyLikelihood": { +"description": "Joy likelihood.", +"enum": [ +"UNKNOWN", +"VERY_UNLIKELY", +"UNLIKELY", +"POSSIBLE", +"LIKELY", +"VERY_LIKELY" +], +"enumDescriptions": [ +"Unknown likelihood.", +"It is very unlikely.", +"It is unlikely.", +"It is possible.", +"It is likely.", +"It is very likely." +], +"type": "string" +}, +"landmarkingConfidence": { +"description": "Face landmarking confidence. Range [0, 1].", +"format": "float", +"type": "number" +}, +"landmarks": { +"description": "Detected face landmarks.", +"items": { +"$ref": "GoogleCloudVisionV1p2beta1FaceAnnotationLandmark" +}, +"type": "array" +}, +"panAngle": { +"description": "Yaw angle, which indicates the leftward/rightward angle that the face is pointing relative to the vertical plane perpendicular to the image. Range [-180,180].", +"format": "float", +"type": "number" +}, +"rollAngle": { +"description": "Roll angle, which indicates the amount of clockwise/anti-clockwise rotation of the face relative to the image vertical about the axis perpendicular to the face. Range [-180,180].", +"format": "float", +"type": "number" +}, +"sorrowLikelihood": { +"description": "Sorrow likelihood.", +"enum": [ +"UNKNOWN", +"VERY_UNLIKELY", +"UNLIKELY", +"POSSIBLE", +"LIKELY", +"VERY_LIKELY" +], +"enumDescriptions": [ +"Unknown likelihood.", +"It is very unlikely.", +"It is unlikely.", +"It is possible.", +"It is likely.", +"It is very likely." +], +"type": "string" +}, +"surpriseLikelihood": { +"description": "Surprise likelihood.", +"enum": [ +"UNKNOWN", +"VERY_UNLIKELY", +"UNLIKELY", +"POSSIBLE", +"LIKELY", +"VERY_LIKELY" +], +"enumDescriptions": [ +"Unknown likelihood.", +"It is very unlikely.", +"It is unlikely.", +"It is possible.", +"It is likely.", +"It is very likely." +], +"type": "string" +}, +"tiltAngle": { +"description": "Pitch angle, which indicates the upwards/downwards angle that the face is pointing relative to the image's horizontal plane. Range [-180,180].", +"format": "float", +"type": "number" +}, +"underExposedLikelihood": { +"description": "Under-exposed likelihood.", +"enum": [ +"UNKNOWN", +"VERY_UNLIKELY", +"UNLIKELY", +"POSSIBLE", +"LIKELY", +"VERY_LIKELY" +], +"enumDescriptions": [ +"Unknown likelihood.", +"It is very unlikely.", +"It is unlikely.", +"It is possible.", +"It is likely.", +"It is very likely." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p2beta1FaceAnnotationLandmark": { +"description": "A face-specific landmark (for example, a face feature). Landmark positions may fall outside the bounds of the image if the face is near one or more edges of the image. Therefore it is NOT guaranteed that `0 <= x < width` or `0 <= y < height`.", +"id": "GoogleCloudVisionV1p2beta1FaceAnnotationLandmark", +"properties": { +"position": { +"$ref": "GoogleCloudVisionV1p2beta1Position", +"description": "Face landmark position." +}, +"type": { +"description": "Face landmark type.", +"enum": [ +"UNKNOWN_LANDMARK", +"LEFT_EYE", +"RIGHT_EYE", +"LEFT_OF_LEFT_EYEBROW", +"RIGHT_OF_LEFT_EYEBROW", +"LEFT_OF_RIGHT_EYEBROW", +"RIGHT_OF_RIGHT_EYEBROW", +"MIDPOINT_BETWEEN_EYES", +"NOSE_TIP", +"UPPER_LIP", +"LOWER_LIP", +"MOUTH_LEFT", +"MOUTH_RIGHT", +"MOUTH_CENTER", +"NOSE_BOTTOM_RIGHT", +"NOSE_BOTTOM_LEFT", +"NOSE_BOTTOM_CENTER", +"LEFT_EYE_TOP_BOUNDARY", +"LEFT_EYE_RIGHT_CORNER", +"LEFT_EYE_BOTTOM_BOUNDARY", +"LEFT_EYE_LEFT_CORNER", +"RIGHT_EYE_TOP_BOUNDARY", +"RIGHT_EYE_RIGHT_CORNER", +"RIGHT_EYE_BOTTOM_BOUNDARY", +"RIGHT_EYE_LEFT_CORNER", +"LEFT_EYEBROW_UPPER_MIDPOINT", +"RIGHT_EYEBROW_UPPER_MIDPOINT", +"LEFT_EAR_TRAGION", +"RIGHT_EAR_TRAGION", +"LEFT_EYE_PUPIL", +"RIGHT_EYE_PUPIL", +"FOREHEAD_GLABELLA", +"CHIN_GNATHION", +"CHIN_LEFT_GONION", +"CHIN_RIGHT_GONION", +"LEFT_CHEEK_CENTER", +"RIGHT_CHEEK_CENTER" +], +"enumDescriptions": [ +"Unknown face landmark detected. Should not be filled.", +"Left eye.", +"Right eye.", +"Left of left eyebrow.", +"Right of left eyebrow.", +"Left of right eyebrow.", +"Right of right eyebrow.", +"Midpoint between eyes.", +"Nose tip.", +"Upper lip.", +"Lower lip.", +"Mouth left.", +"Mouth right.", +"Mouth center.", +"Nose, bottom right.", +"Nose, bottom left.", +"Nose, bottom center.", +"Left eye, top boundary.", +"Left eye, right corner.", +"Left eye, bottom boundary.", +"Left eye, left corner.", +"Right eye, top boundary.", +"Right eye, right corner.", +"Right eye, bottom boundary.", +"Right eye, left corner.", +"Left eyebrow, upper midpoint.", +"Right eyebrow, upper midpoint.", +"Left ear tragion.", +"Right ear tragion.", +"Left eye pupil.", +"Right eye pupil.", +"Forehead glabella.", +"Chin gnathion.", +"Chin left gonion.", +"Chin right gonion.", +"Left cheek center.", +"Right cheek center." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p2beta1Feature": { +"description": "The type of Google Cloud Vision API detection to perform, and the maximum number of results to return for that type. Multiple `Feature` objects can be specified in the `features` list.", +"id": "GoogleCloudVisionV1p2beta1Feature", +"properties": { +"maxResults": { +"description": "Maximum number of results of this type. Does not apply to `TEXT_DETECTION`, `DOCUMENT_TEXT_DETECTION`, or `CROP_HINTS`.", +"format": "int32", +"type": "integer" +}, +"model": { +"description": "Model to use for the feature. Supported values: \"builtin/stable\" (the default if unset) and \"builtin/latest\". `DOCUMENT_TEXT_DETECTION` and `TEXT_DETECTION` also support \"builtin/rc\" for the latest release candidate.", +"type": "string" +}, +"type": { +"description": "The feature type.", +"enum": [ +"TYPE_UNSPECIFIED", +"FACE_DETECTION", +"LANDMARK_DETECTION", +"LOGO_DETECTION", +"LABEL_DETECTION", +"TEXT_DETECTION", +"DOCUMENT_TEXT_DETECTION", +"SAFE_SEARCH_DETECTION", +"IMAGE_PROPERTIES", +"CROP_HINTS", +"WEB_DETECTION", +"PRODUCT_SEARCH", +"OBJECT_LOCALIZATION" +], +"enumDescriptions": [ +"Unspecified feature type.", +"Run face detection.", +"Run landmark detection.", +"Run logo detection.", +"Run label detection.", +"Run text detection / optical character recognition (OCR). Text detection is optimized for areas of text within a larger image; if the image is a document, use `DOCUMENT_TEXT_DETECTION` instead.", +"Run dense text document OCR. Takes precedence when both `DOCUMENT_TEXT_DETECTION` and `TEXT_DETECTION` are present.", +"Run Safe Search to detect potentially unsafe or undesirable content.", +"Compute a set of image properties, such as the image's dominant colors.", +"Run crop hints.", +"Run web detection.", +"Run Product Search.", +"Run localizer for object detection." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p2beta1GcsDestination": { +"description": "The Google Cloud Storage location where the output will be written to.", +"id": "GoogleCloudVisionV1p2beta1GcsDestination", +"properties": { +"uri": { +"description": "Google Cloud Storage URI prefix where the results will be stored. Results will be in JSON format and preceded by its corresponding input URI prefix. This field can either represent a gcs file prefix or gcs directory. In either case, the uri should be unique because in order to get all of the output files, you will need to do a wildcard gcs search on the uri prefix you provide. Examples: * File Prefix: gs://bucket-name/here/filenameprefix The output files will be created in gs://bucket-name/here/ and the names of the output files will begin with \"filenameprefix\". * Directory Prefix: gs://bucket-name/some/location/ The output files will be created in gs://bucket-name/some/location/ and the names of the output files could be anything because there was no filename prefix specified. If multiple outputs, each response is still AnnotateFileResponse, each of which contains some subset of the full list of AnnotateImageResponse. Multiple outputs can happen if, for example, the output JSON is too large and overflows into multiple sharded files.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p2beta1GcsSource": { +"description": "The Google Cloud Storage location where the input will be read from.", +"id": "GoogleCloudVisionV1p2beta1GcsSource", +"properties": { +"uri": { +"description": "Google Cloud Storage URI for the input file. This must only be a Google Cloud Storage object. Wildcards are not currently supported.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p2beta1Image": { +"description": "Client image to perform Google Cloud Vision API tasks over.", +"id": "GoogleCloudVisionV1p2beta1Image", +"properties": { +"content": { +"description": "Image content, represented as a stream of bytes. Note: As with all `bytes` fields, protobuffers use a pure binary representation, whereas JSON representations use base64. Currently, this field only works for BatchAnnotateImages requests. It does not work for AsyncBatchAnnotateImages requests.", +"format": "byte", +"type": "string" +}, +"source": { +"$ref": "GoogleCloudVisionV1p2beta1ImageSource", +"description": "Google Cloud Storage image location, or publicly-accessible image URL. If both `content` and `source` are provided for an image, `content` takes precedence and is used to perform the image annotation request." +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p2beta1ImageAnnotationContext": { +"description": "If an image was produced from a file (e.g. a PDF), this message gives information about the source of that image.", +"id": "GoogleCloudVisionV1p2beta1ImageAnnotationContext", +"properties": { +"pageNumber": { +"description": "If the file was a PDF or TIFF, this field gives the page number within the file used to produce the image.", +"format": "int32", +"type": "integer" +}, +"uri": { +"description": "The URI of the file used to produce the image.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p2beta1ImageContext": { +"description": "Image context and/or feature-specific parameters.", +"id": "GoogleCloudVisionV1p2beta1ImageContext", +"properties": { +"cropHintsParams": { +"$ref": "GoogleCloudVisionV1p2beta1CropHintsParams", +"description": "Parameters for crop hints annotation request." +}, +"languageHints": { +"description": "List of languages to use for TEXT_DETECTION. In most cases, an empty value yields the best results since it enables automatic language detection. For languages based on the Latin alphabet, setting `language_hints` is not needed. In rare cases, when the language of the text in the image is known, setting a hint will help get better results (although it will be a significant hindrance if the hint is wrong). Text detection returns an error if one or more of the specified languages is not one of the [supported languages](https://cloud.google.com/vision/docs/languages).", +"items": { +"type": "string" +}, +"type": "array" +}, +"latLongRect": { +"$ref": "GoogleCloudVisionV1p2beta1LatLongRect", +"description": "Not used." +}, +"productSearchParams": { +"$ref": "GoogleCloudVisionV1p2beta1ProductSearchParams", +"description": "Parameters for product search." +}, +"textDetectionParams": { +"$ref": "GoogleCloudVisionV1p2beta1TextDetectionParams", +"description": "Parameters for text detection and document text detection." +}, +"webDetectionParams": { +"$ref": "GoogleCloudVisionV1p2beta1WebDetectionParams", +"description": "Parameters for web detection." +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p2beta1ImageProperties": { +"description": "Stores image properties, such as dominant colors.", +"id": "GoogleCloudVisionV1p2beta1ImageProperties", +"properties": { +"dominantColors": { +"$ref": "GoogleCloudVisionV1p2beta1DominantColorsAnnotation", +"description": "If present, dominant colors completed successfully." +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p2beta1ImageSource": { +"description": "External image source (Google Cloud Storage or web URL image location).", +"id": "GoogleCloudVisionV1p2beta1ImageSource", +"properties": { +"gcsImageUri": { +"description": "**Use `image_uri` instead.** The Google Cloud Storage URI of the form `gs://bucket_name/object_name`. Object versioning is not supported. See [Google Cloud Storage Request URIs](https://cloud.google.com/storage/docs/reference-uris) for more info.", +"type": "string" +}, +"imageUri": { +"description": "The URI of the source image. Can be either: 1. A Google Cloud Storage URI of the form `gs://bucket_name/object_name`. Object versioning is not supported. See [Google Cloud Storage Request URIs](https://cloud.google.com/storage/docs/reference-uris) for more info. 2. A publicly-accessible image HTTP/HTTPS URL. When fetching images from HTTP/HTTPS URLs, Google cannot guarantee that the request will be completed. Your request may fail if the specified host denies the request (e.g. due to request throttling or DOS prevention), or if Google throttles requests to the site for abuse prevention. You should not depend on externally-hosted images for production applications. When both `gcs_image_uri` and `image_uri` are specified, `image_uri` takes precedence.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p2beta1InputConfig": { +"description": "The desired input location and metadata.", +"id": "GoogleCloudVisionV1p2beta1InputConfig", +"properties": { +"content": { +"description": "File content, represented as a stream of bytes. Note: As with all `bytes` fields, protobuffers use a pure binary representation, whereas JSON representations use base64. Currently, this field only works for BatchAnnotateFiles requests. It does not work for AsyncBatchAnnotateFiles requests.", +"format": "byte", +"type": "string" +}, +"gcsSource": { +"$ref": "GoogleCloudVisionV1p2beta1GcsSource", +"description": "The Google Cloud Storage location to read the input from." +}, +"mimeType": { +"description": "The type of the file. Currently only \"application/pdf\", \"image/tiff\" and \"image/gif\" are supported. Wildcards are not supported.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p2beta1LatLongRect": { +"description": "Rectangle determined by min and max `LatLng` pairs.", +"id": "GoogleCloudVisionV1p2beta1LatLongRect", +"properties": { +"maxLatLng": { +"$ref": "LatLng", +"description": "Max lat/long pair." +}, +"minLatLng": { +"$ref": "LatLng", +"description": "Min lat/long pair." +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p2beta1LocalizedObjectAnnotation": { +"description": "Set of detected objects with bounding boxes.", +"id": "GoogleCloudVisionV1p2beta1LocalizedObjectAnnotation", +"properties": { +"boundingPoly": { +"$ref": "GoogleCloudVisionV1p2beta1BoundingPoly", +"description": "Image region to which this object belongs. This must be populated." +}, +"languageCode": { +"description": "The BCP-47 language code, such as \"en-US\" or \"sr-Latn\". For more information, see http://www.unicode.org/reports/tr35/#Unicode_locale_identifier.", +"type": "string" +}, +"mid": { +"description": "Object ID that should align with EntityAnnotation mid.", +"type": "string" +}, +"name": { +"description": "Object name, expressed in its `language_code` language.", +"type": "string" +}, +"score": { +"description": "Score of the result. Range [0, 1].", +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p2beta1LocationInfo": { +"description": "Detected entity location information.", +"id": "GoogleCloudVisionV1p2beta1LocationInfo", +"properties": { +"latLng": { +"$ref": "LatLng", +"description": "lat/long location coordinates." +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p2beta1NormalizedVertex": { +"description": "A vertex represents a 2D point in the image. NOTE: the normalized vertex coordinates are relative to the original image and range from 0 to 1.", +"id": "GoogleCloudVisionV1p2beta1NormalizedVertex", +"properties": { +"x": { +"description": "X coordinate.", +"format": "float", +"type": "number" +}, +"y": { +"description": "Y coordinate.", +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p2beta1OperationMetadata": { +"description": "Contains metadata for the BatchAnnotateImages operation.", +"id": "GoogleCloudVisionV1p2beta1OperationMetadata", +"properties": { +"createTime": { +"description": "The time when the batch request was received.", +"format": "google-datetime", +"type": "string" +}, +"state": { +"description": "Current state of the batch operation.", +"enum": [ +"STATE_UNSPECIFIED", +"CREATED", +"RUNNING", +"DONE", +"CANCELLED" +], +"enumDescriptions": [ +"Invalid.", +"Request is received.", +"Request is actively being processed.", +"The batch processing is done.", +"The batch processing was cancelled." +], +"type": "string" +}, +"updateTime": { +"description": "The time when the operation result was last updated.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p2beta1OutputConfig": { +"description": "The desired output location and metadata.", +"id": "GoogleCloudVisionV1p2beta1OutputConfig", +"properties": { +"batchSize": { +"description": "The max number of response protos to put into each output JSON file on Google Cloud Storage. The valid range is [1, 100]. If not specified, the default value is 20. For example, for one pdf file with 100 pages, 100 response protos will be generated. If `batch_size` = 20, then 5 json files each containing 20 response protos will be written under the prefix `gcs_destination`.`uri`. Currently, batch_size only applies to GcsDestination, with potential future support for other output configurations.", +"format": "int32", +"type": "integer" +}, +"gcsDestination": { +"$ref": "GoogleCloudVisionV1p2beta1GcsDestination", +"description": "The Google Cloud Storage location to write the output(s) to." +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p2beta1Page": { +"description": "Detected page from OCR.", +"id": "GoogleCloudVisionV1p2beta1Page", +"properties": { +"blocks": { +"description": "List of blocks of text, images etc on this page.", +"items": { +"$ref": "GoogleCloudVisionV1p2beta1Block" +}, +"type": "array" +}, +"confidence": { +"description": "Confidence of the OCR results on the page. Range [0, 1].", +"format": "float", +"type": "number" +}, +"height": { +"description": "Page height. For PDFs the unit is points. For images (including TIFFs) the unit is pixels.", +"format": "int32", +"type": "integer" +}, +"property": { +"$ref": "GoogleCloudVisionV1p2beta1TextAnnotationTextProperty", +"description": "Additional information detected on the page." +}, +"width": { +"description": "Page width. For PDFs the unit is points. For images (including TIFFs) the unit is pixels.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p2beta1Paragraph": { +"description": "Structural unit of text representing a number of words in certain order.", +"id": "GoogleCloudVisionV1p2beta1Paragraph", +"properties": { +"boundingBox": { +"$ref": "GoogleCloudVisionV1p2beta1BoundingPoly", +"description": "The bounding box for the paragraph. The vertices are in the order of top-left, top-right, bottom-right, bottom-left. When a rotation of the bounding box is detected the rotation is represented as around the top-left corner as defined when the text is read in the 'natural' orientation. For example: * when the text is horizontal it might look like: 0----1 | | 3----2 * when it's rotated 180 degrees around the top-left corner it becomes: 2----3 | | 1----0 and the vertex order will still be (0, 1, 2, 3)." +}, +"confidence": { +"description": "Confidence of the OCR results for the paragraph. Range [0, 1].", +"format": "float", +"type": "number" +}, +"property": { +"$ref": "GoogleCloudVisionV1p2beta1TextAnnotationTextProperty", +"description": "Additional information detected for the paragraph." +}, +"words": { +"description": "List of all words in this paragraph.", +"items": { +"$ref": "GoogleCloudVisionV1p2beta1Word" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p2beta1Position": { +"description": "A 3D position in the image, used primarily for Face detection landmarks. A valid Position must have both x and y coordinates. The position coordinates are in the same scale as the original image.", +"id": "GoogleCloudVisionV1p2beta1Position", +"properties": { +"x": { +"description": "X coordinate.", +"format": "float", +"type": "number" +}, +"y": { +"description": "Y coordinate.", +"format": "float", +"type": "number" +}, +"z": { +"description": "Z coordinate (or depth).", +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p2beta1Product": { +"description": "A Product contains ReferenceImages.", +"id": "GoogleCloudVisionV1p2beta1Product", +"properties": { +"description": { +"description": "User-provided metadata to be stored with this product. Must be at most 4096 characters long.", +"type": "string" +}, +"displayName": { +"description": "The user-provided name for this Product. Must not be empty. Must be at most 4096 characters long.", +"type": "string" +}, +"name": { +"description": "The resource name of the product. Format is: `projects/PROJECT_ID/locations/LOC_ID/products/PRODUCT_ID`. This field is ignored when creating a product.", +"type": "string" +}, +"productCategory": { +"description": "Immutable. The category for the product identified by the reference image. This should be one of \"homegoods-v2\", \"apparel-v2\", \"toys-v2\", \"packagedgoods-v1\" or \"general-v1\". The legacy categories \"homegoods\", \"apparel\", and \"toys\" are still supported, but these should not be used for new products.", +"type": "string" +}, +"productLabels": { +"description": "Key-value pairs that can be attached to a product. At query time, constraints can be specified based on the product_labels. Note that integer values can be provided as strings, e.g. \"1199\". Only strings with integer values can match a range-based restriction which is to be supported soon. Multiple values can be assigned to the same key. One product may have up to 500 product_labels. Notice that the total number of distinct product_labels over all products in one ProductSet cannot exceed 1M, otherwise the product search pipeline will refuse to work for that ProductSet.", +"items": { +"$ref": "GoogleCloudVisionV1p2beta1ProductKeyValue" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p2beta1ProductKeyValue": { +"description": "A product label represented as a key-value pair.", +"id": "GoogleCloudVisionV1p2beta1ProductKeyValue", +"properties": { +"key": { +"description": "The key of the label attached to the product. Cannot be empty and cannot exceed 128 bytes.", +"type": "string" +}, +"value": { +"description": "The value of the label attached to the product. Cannot be empty and cannot exceed 128 bytes.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p2beta1ProductSearchParams": { +"description": "Parameters for a product search request.", +"id": "GoogleCloudVisionV1p2beta1ProductSearchParams", +"properties": { +"boundingPoly": { +"$ref": "GoogleCloudVisionV1p2beta1BoundingPoly", +"description": "The bounding polygon around the area of interest in the image. If it is not specified, system discretion will be applied." +}, +"filter": { +"description": "The filtering expression. This can be used to restrict search results based on Product labels. We currently support an AND of OR of key-value expressions, where each expression within an OR must have the same key. An '=' should be used to connect the key and value. For example, \"(color = red OR color = blue) AND brand = Google\" is acceptable, but \"(color = red OR brand = Google)\" is not acceptable. \"color: red\" is not acceptable because it uses a ':' instead of an '='.", +"type": "string" +}, +"productCategories": { +"description": "The list of product categories to search in. Currently, we only consider the first category, and either \"homegoods-v2\", \"apparel-v2\", \"toys-v2\", \"packagedgoods-v1\", or \"general-v1\" should be specified. The legacy categories \"homegoods\", \"apparel\", and \"toys\" are still supported but will be deprecated. For new products, please use \"homegoods-v2\", \"apparel-v2\", or \"toys-v2\" for better product search accuracy. It is recommended to migrate existing products to these categories as well.", +"items": { +"type": "string" +}, +"type": "array" +}, +"productSet": { +"description": "The resource name of a ProductSet to be searched for similar images. Format is: `projects/PROJECT_ID/locations/LOC_ID/productSets/PRODUCT_SET_ID`.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p2beta1ProductSearchResults": { +"description": "Results for a product search request.", +"id": "GoogleCloudVisionV1p2beta1ProductSearchResults", +"properties": { +"indexTime": { +"description": "Timestamp of the index which provided these results. Products added to the product set and products removed from the product set after this time are not reflected in the current results.", +"format": "google-datetime", +"type": "string" +}, +"productGroupedResults": { +"description": "List of results grouped by products detected in the query image. Each entry corresponds to one bounding polygon in the query image, and contains the matching products specific to that region. There may be duplicate product matches in the union of all the per-product results.", +"items": { +"$ref": "GoogleCloudVisionV1p2beta1ProductSearchResultsGroupedResult" +}, +"type": "array" +}, +"results": { +"description": "List of results, one for each product match.", +"items": { +"$ref": "GoogleCloudVisionV1p2beta1ProductSearchResultsResult" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p2beta1ProductSearchResultsGroupedResult": { +"description": "Information about the products similar to a single product in a query image.", +"id": "GoogleCloudVisionV1p2beta1ProductSearchResultsGroupedResult", +"properties": { +"boundingPoly": { +"$ref": "GoogleCloudVisionV1p2beta1BoundingPoly", +"description": "The bounding polygon around the product detected in the query image." +}, +"objectAnnotations": { +"description": "List of generic predictions for the object in the bounding box.", +"items": { +"$ref": "GoogleCloudVisionV1p2beta1ProductSearchResultsObjectAnnotation" +}, +"type": "array" +}, +"results": { +"description": "List of results, one for each product match.", +"items": { +"$ref": "GoogleCloudVisionV1p2beta1ProductSearchResultsResult" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p2beta1ProductSearchResultsObjectAnnotation": { +"description": "Prediction for what the object in the bounding box is.", +"id": "GoogleCloudVisionV1p2beta1ProductSearchResultsObjectAnnotation", +"properties": { +"languageCode": { +"description": "The BCP-47 language code, such as \"en-US\" or \"sr-Latn\". For more information, see http://www.unicode.org/reports/tr35/#Unicode_locale_identifier.", +"type": "string" +}, +"mid": { +"description": "Object ID that should align with EntityAnnotation mid.", +"type": "string" +}, +"name": { +"description": "Object name, expressed in its `language_code` language.", +"type": "string" +}, +"score": { +"description": "Score of the result. Range [0, 1].", +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p2beta1ProductSearchResultsResult": { +"description": "Information about a product.", +"id": "GoogleCloudVisionV1p2beta1ProductSearchResultsResult", +"properties": { +"image": { +"description": "The resource name of the image from the product that is the closest match to the query.", +"type": "string" +}, +"product": { +"$ref": "GoogleCloudVisionV1p2beta1Product", +"description": "The Product." +}, +"score": { +"description": "A confidence level on the match, ranging from 0 (no confidence) to 1 (full confidence).", +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p2beta1Property": { +"description": "A `Property` consists of a user-supplied name/value pair.", +"id": "GoogleCloudVisionV1p2beta1Property", +"properties": { +"name": { +"description": "Name of the property.", +"type": "string" +}, +"uint64Value": { +"description": "Value of numeric properties.", +"format": "uint64", +"type": "string" +}, +"value": { +"description": "Value of the property.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p2beta1SafeSearchAnnotation": { +"description": "Set of features pertaining to the image, computed by computer vision methods over safe-search verticals (for example, adult, spoof, medical, violence).", +"id": "GoogleCloudVisionV1p2beta1SafeSearchAnnotation", +"properties": { +"adult": { +"description": "Represents the adult content likelihood for the image. Adult content may contain elements such as nudity, pornographic images or cartoons, or sexual activities.", +"enum": [ +"UNKNOWN", +"VERY_UNLIKELY", +"UNLIKELY", +"POSSIBLE", +"LIKELY", +"VERY_LIKELY" +], +"enumDescriptions": [ +"Unknown likelihood.", +"It is very unlikely.", +"It is unlikely.", +"It is possible.", +"It is likely.", +"It is very likely." +], +"type": "string" +}, +"medical": { +"description": "Likelihood that this is a medical image.", +"enum": [ +"UNKNOWN", +"VERY_UNLIKELY", +"UNLIKELY", +"POSSIBLE", +"LIKELY", +"VERY_LIKELY" +], +"enumDescriptions": [ +"Unknown likelihood.", +"It is very unlikely.", +"It is unlikely.", +"It is possible.", +"It is likely.", +"It is very likely." +], +"type": "string" +}, +"racy": { +"description": "Likelihood that the request image contains racy content. Racy content may include (but is not limited to) skimpy or sheer clothing, strategically covered nudity, lewd or provocative poses, or close-ups of sensitive body areas.", +"enum": [ +"UNKNOWN", +"VERY_UNLIKELY", +"UNLIKELY", +"POSSIBLE", +"LIKELY", +"VERY_LIKELY" +], +"enumDescriptions": [ +"Unknown likelihood.", +"It is very unlikely.", +"It is unlikely.", +"It is possible.", +"It is likely.", +"It is very likely." +], +"type": "string" +}, +"spoof": { +"description": "Spoof likelihood. The likelihood that an modification was made to the image's canonical version to make it appear funny or offensive.", +"enum": [ +"UNKNOWN", +"VERY_UNLIKELY", +"UNLIKELY", +"POSSIBLE", +"LIKELY", +"VERY_LIKELY" +], +"enumDescriptions": [ +"Unknown likelihood.", +"It is very unlikely.", +"It is unlikely.", +"It is possible.", +"It is likely.", +"It is very likely." +], +"type": "string" +}, +"violence": { +"description": "Likelihood that this image contains violent content. Violent content may include death, serious harm, or injury to individuals or groups of individuals.", +"enum": [ +"UNKNOWN", +"VERY_UNLIKELY", +"UNLIKELY", +"POSSIBLE", +"LIKELY", +"VERY_LIKELY" +], +"enumDescriptions": [ +"Unknown likelihood.", +"It is very unlikely.", +"It is unlikely.", +"It is possible.", +"It is likely.", +"It is very likely." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p2beta1Symbol": { +"description": "A single symbol representation.", +"id": "GoogleCloudVisionV1p2beta1Symbol", +"properties": { +"boundingBox": { +"$ref": "GoogleCloudVisionV1p2beta1BoundingPoly", +"description": "The bounding box for the symbol. The vertices are in the order of top-left, top-right, bottom-right, bottom-left. When a rotation of the bounding box is detected the rotation is represented as around the top-left corner as defined when the text is read in the 'natural' orientation. For example: * when the text is horizontal it might look like: 0----1 | | 3----2 * when it's rotated 180 degrees around the top-left corner it becomes: 2----3 | | 1----0 and the vertex order will still be (0, 1, 2, 3)." +}, +"confidence": { +"description": "Confidence of the OCR results for the symbol. Range [0, 1].", +"format": "float", +"type": "number" +}, +"property": { +"$ref": "GoogleCloudVisionV1p2beta1TextAnnotationTextProperty", +"description": "Additional information detected for the symbol." +}, +"text": { +"description": "The actual UTF-8 representation of the symbol.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p2beta1TextAnnotation": { +"description": "TextAnnotation contains a structured representation of OCR extracted text. The hierarchy of an OCR extracted text structure is like this: TextAnnotation -> Page -> Block -> Paragraph -> Word -> Symbol Each structural component, starting from Page, may further have their own properties. Properties describe detected languages, breaks etc.. Please refer to the TextAnnotation.TextProperty message definition below for more detail.", +"id": "GoogleCloudVisionV1p2beta1TextAnnotation", +"properties": { +"pages": { +"description": "List of pages detected by OCR.", +"items": { +"$ref": "GoogleCloudVisionV1p2beta1Page" +}, +"type": "array" +}, +"text": { +"description": "UTF-8 text detected on the pages.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p2beta1TextAnnotationDetectedBreak": { +"description": "Detected start or end of a structural component.", +"id": "GoogleCloudVisionV1p2beta1TextAnnotationDetectedBreak", +"properties": { +"isPrefix": { +"description": "True if break prepends the element.", +"type": "boolean" +}, +"type": { +"description": "Detected break type.", +"enum": [ +"UNKNOWN", +"SPACE", +"SURE_SPACE", +"EOL_SURE_SPACE", +"HYPHEN", +"LINE_BREAK" +], +"enumDescriptions": [ +"Unknown break label type.", +"Regular space.", +"Sure space (very wide).", +"Line-wrapping break.", +"End-line hyphen that is not present in text; does not co-occur with `SPACE`, `LEADER_SPACE`, or `LINE_BREAK`.", +"Line break that ends a paragraph." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p2beta1TextAnnotationDetectedLanguage": { +"description": "Detected language for a structural component.", +"id": "GoogleCloudVisionV1p2beta1TextAnnotationDetectedLanguage", +"properties": { +"confidence": { +"description": "Confidence of detected language. Range [0, 1].", +"format": "float", +"type": "number" +}, +"languageCode": { +"description": "The BCP-47 language code, such as \"en-US\" or \"sr-Latn\". For more information, see http://www.unicode.org/reports/tr35/#Unicode_locale_identifier.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p2beta1TextAnnotationTextProperty": { +"description": "Additional information detected on the structural component.", +"id": "GoogleCloudVisionV1p2beta1TextAnnotationTextProperty", +"properties": { +"detectedBreak": { +"$ref": "GoogleCloudVisionV1p2beta1TextAnnotationDetectedBreak", +"description": "Detected start or end of a text segment." +}, +"detectedLanguages": { +"description": "A list of detected languages together with confidence.", +"items": { +"$ref": "GoogleCloudVisionV1p2beta1TextAnnotationDetectedLanguage" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p2beta1TextDetectionParams": { +"description": "Parameters for text detections. This is used to control TEXT_DETECTION and DOCUMENT_TEXT_DETECTION features.", +"id": "GoogleCloudVisionV1p2beta1TextDetectionParams", +"properties": { +"advancedOcrOptions": { +"description": "A list of advanced OCR options to further fine-tune OCR behavior. Current valid values are: - `legacy_layout`: a heuristics layout detection algorithm, which serves as an alternative to the current ML-based layout detection algorithm. Customers can choose the best suitable layout algorithm based on their situation.", +"items": { +"type": "string" +}, +"type": "array" +}, +"enableTextDetectionConfidenceScore": { +"description": "By default, Cloud Vision API only includes confidence score for DOCUMENT_TEXT_DETECTION result. Set the flag to true to include confidence score for TEXT_DETECTION as well.", +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p2beta1Vertex": { +"description": "A vertex represents a 2D point in the image. NOTE: the vertex coordinates are in the same scale as the original image.", +"id": "GoogleCloudVisionV1p2beta1Vertex", +"properties": { +"x": { +"description": "X coordinate.", +"format": "int32", +"type": "integer" +}, +"y": { +"description": "Y coordinate.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p2beta1WebDetection": { +"description": "Relevant information for the image from the Internet.", +"id": "GoogleCloudVisionV1p2beta1WebDetection", +"properties": { +"bestGuessLabels": { +"description": "The service's best guess as to the topic of the request image. Inferred from similar images on the open web.", +"items": { +"$ref": "GoogleCloudVisionV1p2beta1WebDetectionWebLabel" +}, +"type": "array" +}, +"fullMatchingImages": { +"description": "Fully matching images from the Internet. Can include resized copies of the query image.", +"items": { +"$ref": "GoogleCloudVisionV1p2beta1WebDetectionWebImage" +}, +"type": "array" +}, +"pagesWithMatchingImages": { +"description": "Web pages containing the matching images from the Internet.", +"items": { +"$ref": "GoogleCloudVisionV1p2beta1WebDetectionWebPage" +}, +"type": "array" +}, +"partialMatchingImages": { +"description": "Partial matching images from the Internet. Those images are similar enough to share some key-point features. For example an original image will likely have partial matching for its crops.", +"items": { +"$ref": "GoogleCloudVisionV1p2beta1WebDetectionWebImage" +}, +"type": "array" +}, +"visuallySimilarImages": { +"description": "The visually similar image results.", +"items": { +"$ref": "GoogleCloudVisionV1p2beta1WebDetectionWebImage" +}, +"type": "array" +}, +"webEntities": { +"description": "Deduced entities from similar images on the Internet.", +"items": { +"$ref": "GoogleCloudVisionV1p2beta1WebDetectionWebEntity" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p2beta1WebDetectionParams": { +"description": "Parameters for web detection request.", +"id": "GoogleCloudVisionV1p2beta1WebDetectionParams", +"properties": { +"includeGeoResults": { +"deprecated": true, +"description": "This field has no effect on results.", +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p2beta1WebDetectionWebEntity": { +"description": "Entity deduced from similar images on the Internet.", +"id": "GoogleCloudVisionV1p2beta1WebDetectionWebEntity", +"properties": { +"description": { +"description": "Canonical description of the entity, in English.", +"type": "string" +}, +"entityId": { +"description": "Opaque entity ID.", +"type": "string" +}, +"score": { +"description": "Overall relevancy score for the entity. Not normalized and not comparable across different image queries.", +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p2beta1WebDetectionWebImage": { +"description": "Metadata for online images.", +"id": "GoogleCloudVisionV1p2beta1WebDetectionWebImage", +"properties": { +"score": { +"description": "(Deprecated) Overall relevancy score for the image.", +"format": "float", +"type": "number" +}, +"url": { +"description": "The result image URL.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p2beta1WebDetectionWebLabel": { +"description": "Label to provide extra metadata for the web detection.", +"id": "GoogleCloudVisionV1p2beta1WebDetectionWebLabel", +"properties": { +"label": { +"description": "Label for extra metadata.", +"type": "string" +}, +"languageCode": { +"description": "The BCP-47 language code for `label`, such as \"en-US\" or \"sr-Latn\". For more information, see http://www.unicode.org/reports/tr35/#Unicode_locale_identifier.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p2beta1WebDetectionWebPage": { +"description": "Metadata for web pages.", +"id": "GoogleCloudVisionV1p2beta1WebDetectionWebPage", +"properties": { +"fullMatchingImages": { +"description": "Fully matching images on the page. Can include resized copies of the query image.", +"items": { +"$ref": "GoogleCloudVisionV1p2beta1WebDetectionWebImage" +}, +"type": "array" +}, +"pageTitle": { +"description": "Title for the web page, may contain HTML markups.", +"type": "string" +}, +"partialMatchingImages": { +"description": "Partial matching images on the page. Those images are similar enough to share some key-point features. For example an original image will likely have partial matching for its crops.", +"items": { +"$ref": "GoogleCloudVisionV1p2beta1WebDetectionWebImage" +}, +"type": "array" +}, +"score": { +"description": "(Deprecated) Overall relevancy score for the web page.", +"format": "float", +"type": "number" +}, +"url": { +"description": "The result web page URL.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p2beta1Word": { +"description": "A word representation.", +"id": "GoogleCloudVisionV1p2beta1Word", +"properties": { +"boundingBox": { +"$ref": "GoogleCloudVisionV1p2beta1BoundingPoly", +"description": "The bounding box for the word. The vertices are in the order of top-left, top-right, bottom-right, bottom-left. When a rotation of the bounding box is detected the rotation is represented as around the top-left corner as defined when the text is read in the 'natural' orientation. For example: * when the text is horizontal it might look like: 0----1 | | 3----2 * when it's rotated 180 degrees around the top-left corner it becomes: 2----3 | | 1----0 and the vertex order will still be (0, 1, 2, 3)." +}, +"confidence": { +"description": "Confidence of the OCR results for the word. Range [0, 1].", +"format": "float", +"type": "number" +}, +"property": { +"$ref": "GoogleCloudVisionV1p2beta1TextAnnotationTextProperty", +"description": "Additional information detected for the word." +}, +"symbols": { +"description": "List of symbols in the word. The order of the symbols follows the natural reading order.", +"items": { +"$ref": "GoogleCloudVisionV1p2beta1Symbol" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p3beta1AnnotateFileResponse": { +"description": "Response to a single file annotation request. A file may contain one or more images, which individually have their own responses.", +"id": "GoogleCloudVisionV1p3beta1AnnotateFileResponse", +"properties": { +"error": { +"$ref": "Status", +"description": "If set, represents the error message for the failed request. The `responses` field will not be set in this case." +}, +"inputConfig": { +"$ref": "GoogleCloudVisionV1p3beta1InputConfig", +"description": "Information about the file for which this response is generated." +}, +"responses": { +"description": "Individual responses to images found within the file. This field will be empty if the `error` field is set.", +"items": { +"$ref": "GoogleCloudVisionV1p3beta1AnnotateImageResponse" +}, +"type": "array" +}, +"totalPages": { +"description": "This field gives the total number of pages in the file.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p3beta1AnnotateImageResponse": { +"description": "Response to an image annotation request.", +"id": "GoogleCloudVisionV1p3beta1AnnotateImageResponse", +"properties": { +"context": { +"$ref": "GoogleCloudVisionV1p3beta1ImageAnnotationContext", +"description": "If present, contextual information is needed to understand where this image comes from." +}, +"cropHintsAnnotation": { +"$ref": "GoogleCloudVisionV1p3beta1CropHintsAnnotation", +"description": "If present, crop hints have completed successfully." +}, +"error": { +"$ref": "Status", +"description": "If set, represents the error message for the operation. Note that filled-in image annotations are guaranteed to be correct, even when `error` is set." +}, +"faceAnnotations": { +"description": "If present, face detection has completed successfully.", +"items": { +"$ref": "GoogleCloudVisionV1p3beta1FaceAnnotation" +}, +"type": "array" +}, +"fullTextAnnotation": { +"$ref": "GoogleCloudVisionV1p3beta1TextAnnotation", +"description": "If present, text (OCR) detection or document (OCR) text detection has completed successfully. This annotation provides the structural hierarchy for the OCR detected text." +}, +"imagePropertiesAnnotation": { +"$ref": "GoogleCloudVisionV1p3beta1ImageProperties", +"description": "If present, image properties were extracted successfully." +}, +"labelAnnotations": { +"description": "If present, label detection has completed successfully.", +"items": { +"$ref": "GoogleCloudVisionV1p3beta1EntityAnnotation" +}, +"type": "array" +}, +"landmarkAnnotations": { +"description": "If present, landmark detection has completed successfully.", +"items": { +"$ref": "GoogleCloudVisionV1p3beta1EntityAnnotation" +}, +"type": "array" +}, +"localizedObjectAnnotations": { +"description": "If present, localized object detection has completed successfully. This will be sorted descending by confidence score.", +"items": { +"$ref": "GoogleCloudVisionV1p3beta1LocalizedObjectAnnotation" +}, +"type": "array" +}, +"logoAnnotations": { +"description": "If present, logo detection has completed successfully.", +"items": { +"$ref": "GoogleCloudVisionV1p3beta1EntityAnnotation" +}, +"type": "array" +}, +"productSearchResults": { +"$ref": "GoogleCloudVisionV1p3beta1ProductSearchResults", +"description": "If present, product search has completed successfully." +}, +"safeSearchAnnotation": { +"$ref": "GoogleCloudVisionV1p3beta1SafeSearchAnnotation", +"description": "If present, safe-search annotation has completed successfully." +}, +"textAnnotations": { +"description": "If present, text (OCR) detection has completed successfully.", +"items": { +"$ref": "GoogleCloudVisionV1p3beta1EntityAnnotation" +}, +"type": "array" +}, +"webDetection": { +"$ref": "GoogleCloudVisionV1p3beta1WebDetection", +"description": "If present, web detection has completed successfully." +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p3beta1AsyncAnnotateFileResponse": { +"description": "The response for a single offline file annotation request.", +"id": "GoogleCloudVisionV1p3beta1AsyncAnnotateFileResponse", +"properties": { +"outputConfig": { +"$ref": "GoogleCloudVisionV1p3beta1OutputConfig", +"description": "The output location and metadata from AsyncAnnotateFileRequest." +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p3beta1AsyncBatchAnnotateFilesResponse": { +"description": "Response to an async batch file annotation request.", +"id": "GoogleCloudVisionV1p3beta1AsyncBatchAnnotateFilesResponse", +"properties": { +"responses": { +"description": "The list of file annotation responses, one for each request in AsyncBatchAnnotateFilesRequest.", +"items": { +"$ref": "GoogleCloudVisionV1p3beta1AsyncAnnotateFileResponse" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p3beta1BatchOperationMetadata": { +"description": "Metadata for the batch operations such as the current state. This is included in the `metadata` field of the `Operation` returned by the `GetOperation` call of the `google::longrunning::Operations` service.", +"id": "GoogleCloudVisionV1p3beta1BatchOperationMetadata", +"properties": { +"endTime": { +"description": "The time when the batch request is finished and google.longrunning.Operation.done is set to true.", +"format": "google-datetime", +"type": "string" +}, +"state": { +"description": "The current state of the batch operation.", +"enum": [ +"STATE_UNSPECIFIED", +"PROCESSING", +"SUCCESSFUL", +"FAILED", +"CANCELLED" +], +"enumDescriptions": [ +"Invalid.", +"Request is actively being processed.", +"The request is done and at least one item has been successfully processed.", +"The request is done and no item has been successfully processed.", +"The request is done after the longrunning.Operations.CancelOperation has been called by the user. Any records that were processed before the cancel command are output as specified in the request." +], +"type": "string" +}, +"submitTime": { +"description": "The time when the batch request was submitted to the server.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p3beta1Block": { +"description": "Logical element on the page.", +"id": "GoogleCloudVisionV1p3beta1Block", +"properties": { +"blockType": { +"description": "Detected block type (text, image etc) for this block.", +"enum": [ +"UNKNOWN", +"TEXT", +"TABLE", +"PICTURE", +"RULER", +"BARCODE" +], +"enumDescriptions": [ +"Unknown block type.", +"Regular text block.", +"Table block.", +"Image block.", +"Horizontal/vertical line box.", +"Barcode block." +], +"type": "string" +}, +"boundingBox": { +"$ref": "GoogleCloudVisionV1p3beta1BoundingPoly", +"description": "The bounding box for the block. The vertices are in the order of top-left, top-right, bottom-right, bottom-left. When a rotation of the bounding box is detected the rotation is represented as around the top-left corner as defined when the text is read in the 'natural' orientation. For example: * when the text is horizontal it might look like: 0----1 | | 3----2 * when it's rotated 180 degrees around the top-left corner it becomes: 2----3 | | 1----0 and the vertex order will still be (0, 1, 2, 3)." +}, +"confidence": { +"description": "Confidence of the OCR results on the block. Range [0, 1].", +"format": "float", +"type": "number" +}, +"paragraphs": { +"description": "List of paragraphs in this block (if this blocks is of type text).", +"items": { +"$ref": "GoogleCloudVisionV1p3beta1Paragraph" +}, +"type": "array" +}, +"property": { +"$ref": "GoogleCloudVisionV1p3beta1TextAnnotationTextProperty", +"description": "Additional information detected for the block." +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p3beta1BoundingPoly": { +"description": "A bounding polygon for the detected image annotation.", +"id": "GoogleCloudVisionV1p3beta1BoundingPoly", +"properties": { +"normalizedVertices": { +"description": "The bounding polygon normalized vertices.", +"items": { +"$ref": "GoogleCloudVisionV1p3beta1NormalizedVertex" +}, +"type": "array" +}, +"vertices": { +"description": "The bounding polygon vertices.", +"items": { +"$ref": "GoogleCloudVisionV1p3beta1Vertex" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p3beta1ColorInfo": { +"description": "Color information consists of RGB channels, score, and the fraction of the image that the color occupies in the image.", +"id": "GoogleCloudVisionV1p3beta1ColorInfo", +"properties": { +"color": { +"$ref": "Color", +"description": "RGB components of the color." +}, +"pixelFraction": { +"description": "The fraction of pixels the color occupies in the image. Value in range [0, 1].", +"format": "float", +"type": "number" +}, +"score": { +"description": "Image-specific score for this color. Value in range [0, 1].", +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p3beta1CropHint": { +"description": "Single crop hint that is used to generate a new crop when serving an image.", +"id": "GoogleCloudVisionV1p3beta1CropHint", +"properties": { +"boundingPoly": { +"$ref": "GoogleCloudVisionV1p3beta1BoundingPoly", +"description": "The bounding polygon for the crop region. The coordinates of the bounding box are in the original image's scale." +}, +"confidence": { +"description": "Confidence of this being a salient region. Range [0, 1].", +"format": "float", +"type": "number" +}, +"importanceFraction": { +"description": "Fraction of importance of this salient region with respect to the original image.", +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p3beta1CropHintsAnnotation": { +"description": "Set of crop hints that are used to generate new crops when serving images.", +"id": "GoogleCloudVisionV1p3beta1CropHintsAnnotation", +"properties": { +"cropHints": { +"description": "Crop hint results.", +"items": { +"$ref": "GoogleCloudVisionV1p3beta1CropHint" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p3beta1DominantColorsAnnotation": { +"description": "Set of dominant colors and their corresponding scores.", +"id": "GoogleCloudVisionV1p3beta1DominantColorsAnnotation", +"properties": { +"colors": { +"description": "RGB color values with their score and pixel fraction.", +"items": { +"$ref": "GoogleCloudVisionV1p3beta1ColorInfo" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p3beta1EntityAnnotation": { +"description": "Set of detected entity features.", +"id": "GoogleCloudVisionV1p3beta1EntityAnnotation", +"properties": { +"boundingPoly": { +"$ref": "GoogleCloudVisionV1p3beta1BoundingPoly", +"description": "Image region to which this entity belongs. Not produced for `LABEL_DETECTION` features." +}, +"confidence": { +"deprecated": true, +"description": "**Deprecated. Use `score` instead.** The accuracy of the entity detection in an image. For example, for an image in which the \"Eiffel Tower\" entity is detected, this field represents the confidence that there is a tower in the query image. Range [0, 1].", +"format": "float", +"type": "number" +}, +"description": { +"description": "Entity textual description, expressed in its `locale` language.", +"type": "string" +}, +"locale": { +"description": "The language code for the locale in which the entity textual `description` is expressed.", +"type": "string" +}, +"locations": { +"description": "The location information for the detected entity. Multiple `LocationInfo` elements can be present because one location may indicate the location of the scene in the image, and another location may indicate the location of the place where the image was taken. Location information is usually present for landmarks.", +"items": { +"$ref": "GoogleCloudVisionV1p3beta1LocationInfo" +}, +"type": "array" +}, +"mid": { +"description": "Opaque entity ID. Some IDs may be available in [Google Knowledge Graph Search API](https://developers.google.com/knowledge-graph/).", +"type": "string" +}, +"properties": { +"description": "Some entities may have optional user-supplied `Property` (name/value) fields, such a score or string that qualifies the entity.", +"items": { +"$ref": "GoogleCloudVisionV1p3beta1Property" +}, +"type": "array" +}, +"score": { +"description": "Overall score of the result. Range [0, 1].", +"format": "float", +"type": "number" +}, +"topicality": { +"description": "The relevancy of the ICA (Image Content Annotation) label to the image. For example, the relevancy of \"tower\" is likely higher to an image containing the detected \"Eiffel Tower\" than to an image containing a detected distant towering building, even though the confidence that there is a tower in each image may be the same. Range [0, 1].", +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p3beta1FaceAnnotation": { +"description": "A face annotation object contains the results of face detection.", +"id": "GoogleCloudVisionV1p3beta1FaceAnnotation", +"properties": { +"angerLikelihood": { +"description": "Anger likelihood.", +"enum": [ +"UNKNOWN", +"VERY_UNLIKELY", +"UNLIKELY", +"POSSIBLE", +"LIKELY", +"VERY_LIKELY" +], +"enumDescriptions": [ +"Unknown likelihood.", +"It is very unlikely.", +"It is unlikely.", +"It is possible.", +"It is likely.", +"It is very likely." +], +"type": "string" +}, +"blurredLikelihood": { +"description": "Blurred likelihood.", +"enum": [ +"UNKNOWN", +"VERY_UNLIKELY", +"UNLIKELY", +"POSSIBLE", +"LIKELY", +"VERY_LIKELY" +], +"enumDescriptions": [ +"Unknown likelihood.", +"It is very unlikely.", +"It is unlikely.", +"It is possible.", +"It is likely.", +"It is very likely." +], +"type": "string" +}, +"boundingPoly": { +"$ref": "GoogleCloudVisionV1p3beta1BoundingPoly", +"description": "The bounding polygon around the face. The coordinates of the bounding box are in the original image's scale. The bounding box is computed to \"frame\" the face in accordance with human expectations. It is based on the landmarker results. Note that one or more x and/or y coordinates may not be generated in the `BoundingPoly` (the polygon will be unbounded) if only a partial face appears in the image to be annotated." +}, +"detectionConfidence": { +"description": "Detection confidence. Range [0, 1].", +"format": "float", +"type": "number" +}, +"fdBoundingPoly": { +"$ref": "GoogleCloudVisionV1p3beta1BoundingPoly", +"description": "The `fd_bounding_poly` bounding polygon is tighter than the `boundingPoly`, and encloses only the skin part of the face. Typically, it is used to eliminate the face from any image analysis that detects the \"amount of skin\" visible in an image. It is not based on the landmarker results, only on the initial face detection, hence the fd (face detection) prefix." +}, +"headwearLikelihood": { +"description": "Headwear likelihood.", +"enum": [ +"UNKNOWN", +"VERY_UNLIKELY", +"UNLIKELY", +"POSSIBLE", +"LIKELY", +"VERY_LIKELY" +], +"enumDescriptions": [ +"Unknown likelihood.", +"It is very unlikely.", +"It is unlikely.", +"It is possible.", +"It is likely.", +"It is very likely." +], +"type": "string" +}, +"joyLikelihood": { +"description": "Joy likelihood.", +"enum": [ +"UNKNOWN", +"VERY_UNLIKELY", +"UNLIKELY", +"POSSIBLE", +"LIKELY", +"VERY_LIKELY" +], +"enumDescriptions": [ +"Unknown likelihood.", +"It is very unlikely.", +"It is unlikely.", +"It is possible.", +"It is likely.", +"It is very likely." +], +"type": "string" +}, +"landmarkingConfidence": { +"description": "Face landmarking confidence. Range [0, 1].", +"format": "float", +"type": "number" +}, +"landmarks": { +"description": "Detected face landmarks.", +"items": { +"$ref": "GoogleCloudVisionV1p3beta1FaceAnnotationLandmark" +}, +"type": "array" +}, +"panAngle": { +"description": "Yaw angle, which indicates the leftward/rightward angle that the face is pointing relative to the vertical plane perpendicular to the image. Range [-180,180].", +"format": "float", +"type": "number" +}, +"rollAngle": { +"description": "Roll angle, which indicates the amount of clockwise/anti-clockwise rotation of the face relative to the image vertical about the axis perpendicular to the face. Range [-180,180].", +"format": "float", +"type": "number" +}, +"sorrowLikelihood": { +"description": "Sorrow likelihood.", +"enum": [ +"UNKNOWN", +"VERY_UNLIKELY", +"UNLIKELY", +"POSSIBLE", +"LIKELY", +"VERY_LIKELY" +], +"enumDescriptions": [ +"Unknown likelihood.", +"It is very unlikely.", +"It is unlikely.", +"It is possible.", +"It is likely.", +"It is very likely." +], +"type": "string" +}, +"surpriseLikelihood": { +"description": "Surprise likelihood.", +"enum": [ +"UNKNOWN", +"VERY_UNLIKELY", +"UNLIKELY", +"POSSIBLE", +"LIKELY", +"VERY_LIKELY" +], +"enumDescriptions": [ +"Unknown likelihood.", +"It is very unlikely.", +"It is unlikely.", +"It is possible.", +"It is likely.", +"It is very likely." +], +"type": "string" +}, +"tiltAngle": { +"description": "Pitch angle, which indicates the upwards/downwards angle that the face is pointing relative to the image's horizontal plane. Range [-180,180].", +"format": "float", +"type": "number" +}, +"underExposedLikelihood": { +"description": "Under-exposed likelihood.", +"enum": [ +"UNKNOWN", +"VERY_UNLIKELY", +"UNLIKELY", +"POSSIBLE", +"LIKELY", +"VERY_LIKELY" +], +"enumDescriptions": [ +"Unknown likelihood.", +"It is very unlikely.", +"It is unlikely.", +"It is possible.", +"It is likely.", +"It is very likely." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p3beta1FaceAnnotationLandmark": { +"description": "A face-specific landmark (for example, a face feature). Landmark positions may fall outside the bounds of the image if the face is near one or more edges of the image. Therefore it is NOT guaranteed that `0 <= x < width` or `0 <= y < height`.", +"id": "GoogleCloudVisionV1p3beta1FaceAnnotationLandmark", +"properties": { +"position": { +"$ref": "GoogleCloudVisionV1p3beta1Position", +"description": "Face landmark position." +}, +"type": { +"description": "Face landmark type.", +"enum": [ +"UNKNOWN_LANDMARK", +"LEFT_EYE", +"RIGHT_EYE", +"LEFT_OF_LEFT_EYEBROW", +"RIGHT_OF_LEFT_EYEBROW", +"LEFT_OF_RIGHT_EYEBROW", +"RIGHT_OF_RIGHT_EYEBROW", +"MIDPOINT_BETWEEN_EYES", +"NOSE_TIP", +"UPPER_LIP", +"LOWER_LIP", +"MOUTH_LEFT", +"MOUTH_RIGHT", +"MOUTH_CENTER", +"NOSE_BOTTOM_RIGHT", +"NOSE_BOTTOM_LEFT", +"NOSE_BOTTOM_CENTER", +"LEFT_EYE_TOP_BOUNDARY", +"LEFT_EYE_RIGHT_CORNER", +"LEFT_EYE_BOTTOM_BOUNDARY", +"LEFT_EYE_LEFT_CORNER", +"RIGHT_EYE_TOP_BOUNDARY", +"RIGHT_EYE_RIGHT_CORNER", +"RIGHT_EYE_BOTTOM_BOUNDARY", +"RIGHT_EYE_LEFT_CORNER", +"LEFT_EYEBROW_UPPER_MIDPOINT", +"RIGHT_EYEBROW_UPPER_MIDPOINT", +"LEFT_EAR_TRAGION", +"RIGHT_EAR_TRAGION", +"LEFT_EYE_PUPIL", +"RIGHT_EYE_PUPIL", +"FOREHEAD_GLABELLA", +"CHIN_GNATHION", +"CHIN_LEFT_GONION", +"CHIN_RIGHT_GONION", +"LEFT_CHEEK_CENTER", +"RIGHT_CHEEK_CENTER" +], +"enumDescriptions": [ +"Unknown face landmark detected. Should not be filled.", +"Left eye.", +"Right eye.", +"Left of left eyebrow.", +"Right of left eyebrow.", +"Left of right eyebrow.", +"Right of right eyebrow.", +"Midpoint between eyes.", +"Nose tip.", +"Upper lip.", +"Lower lip.", +"Mouth left.", +"Mouth right.", +"Mouth center.", +"Nose, bottom right.", +"Nose, bottom left.", +"Nose, bottom center.", +"Left eye, top boundary.", +"Left eye, right corner.", +"Left eye, bottom boundary.", +"Left eye, left corner.", +"Right eye, top boundary.", +"Right eye, right corner.", +"Right eye, bottom boundary.", +"Right eye, left corner.", +"Left eyebrow, upper midpoint.", +"Right eyebrow, upper midpoint.", +"Left ear tragion.", +"Right ear tragion.", +"Left eye pupil.", +"Right eye pupil.", +"Forehead glabella.", +"Chin gnathion.", +"Chin left gonion.", +"Chin right gonion.", +"Left cheek center.", +"Right cheek center." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p3beta1GcsDestination": { +"description": "The Google Cloud Storage location where the output will be written to.", +"id": "GoogleCloudVisionV1p3beta1GcsDestination", +"properties": { +"uri": { +"description": "Google Cloud Storage URI prefix where the results will be stored. Results will be in JSON format and preceded by its corresponding input URI prefix. This field can either represent a gcs file prefix or gcs directory. In either case, the uri should be unique because in order to get all of the output files, you will need to do a wildcard gcs search on the uri prefix you provide. Examples: * File Prefix: gs://bucket-name/here/filenameprefix The output files will be created in gs://bucket-name/here/ and the names of the output files will begin with \"filenameprefix\". * Directory Prefix: gs://bucket-name/some/location/ The output files will be created in gs://bucket-name/some/location/ and the names of the output files could be anything because there was no filename prefix specified. If multiple outputs, each response is still AnnotateFileResponse, each of which contains some subset of the full list of AnnotateImageResponse. Multiple outputs can happen if, for example, the output JSON is too large and overflows into multiple sharded files.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p3beta1GcsSource": { +"description": "The Google Cloud Storage location where the input will be read from.", +"id": "GoogleCloudVisionV1p3beta1GcsSource", +"properties": { +"uri": { +"description": "Google Cloud Storage URI for the input file. This must only be a Google Cloud Storage object. Wildcards are not currently supported.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p3beta1ImageAnnotationContext": { +"description": "If an image was produced from a file (e.g. a PDF), this message gives information about the source of that image.", +"id": "GoogleCloudVisionV1p3beta1ImageAnnotationContext", +"properties": { +"pageNumber": { +"description": "If the file was a PDF or TIFF, this field gives the page number within the file used to produce the image.", +"format": "int32", +"type": "integer" +}, +"uri": { +"description": "The URI of the file used to produce the image.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p3beta1ImageProperties": { +"description": "Stores image properties, such as dominant colors.", +"id": "GoogleCloudVisionV1p3beta1ImageProperties", +"properties": { +"dominantColors": { +"$ref": "GoogleCloudVisionV1p3beta1DominantColorsAnnotation", +"description": "If present, dominant colors completed successfully." +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p3beta1ImportProductSetsResponse": { +"description": "Response message for the `ImportProductSets` method. This message is returned by the google.longrunning.Operations.GetOperation method in the returned google.longrunning.Operation.response field.", +"id": "GoogleCloudVisionV1p3beta1ImportProductSetsResponse", +"properties": { +"referenceImages": { +"description": "The list of reference_images that are imported successfully.", +"items": { +"$ref": "GoogleCloudVisionV1p3beta1ReferenceImage" +}, +"type": "array" +}, +"statuses": { +"description": "The rpc status for each ImportProductSet request, including both successes and errors. The number of statuses here matches the number of lines in the csv file, and statuses[i] stores the success or failure status of processing the i-th line of the csv, starting from line 0.", +"items": { +"$ref": "Status" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p3beta1InputConfig": { +"description": "The desired input location and metadata.", +"id": "GoogleCloudVisionV1p3beta1InputConfig", +"properties": { +"content": { +"description": "File content, represented as a stream of bytes. Note: As with all `bytes` fields, protobuffers use a pure binary representation, whereas JSON representations use base64. Currently, this field only works for BatchAnnotateFiles requests. It does not work for AsyncBatchAnnotateFiles requests.", +"format": "byte", +"type": "string" +}, +"gcsSource": { +"$ref": "GoogleCloudVisionV1p3beta1GcsSource", +"description": "The Google Cloud Storage location to read the input from." +}, +"mimeType": { +"description": "The type of the file. Currently only \"application/pdf\", \"image/tiff\" and \"image/gif\" are supported. Wildcards are not supported.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p3beta1LocalizedObjectAnnotation": { +"description": "Set of detected objects with bounding boxes.", +"id": "GoogleCloudVisionV1p3beta1LocalizedObjectAnnotation", +"properties": { +"boundingPoly": { +"$ref": "GoogleCloudVisionV1p3beta1BoundingPoly", +"description": "Image region to which this object belongs. This must be populated." +}, +"languageCode": { +"description": "The BCP-47 language code, such as \"en-US\" or \"sr-Latn\". For more information, see http://www.unicode.org/reports/tr35/#Unicode_locale_identifier.", +"type": "string" +}, +"mid": { +"description": "Object ID that should align with EntityAnnotation mid.", +"type": "string" +}, +"name": { +"description": "Object name, expressed in its `language_code` language.", +"type": "string" +}, +"score": { +"description": "Score of the result. Range [0, 1].", +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p3beta1LocationInfo": { +"description": "Detected entity location information.", +"id": "GoogleCloudVisionV1p3beta1LocationInfo", +"properties": { +"latLng": { +"$ref": "LatLng", +"description": "lat/long location coordinates." +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p3beta1NormalizedVertex": { +"description": "A vertex represents a 2D point in the image. NOTE: the normalized vertex coordinates are relative to the original image and range from 0 to 1.", +"id": "GoogleCloudVisionV1p3beta1NormalizedVertex", +"properties": { +"x": { +"description": "X coordinate.", +"format": "float", +"type": "number" +}, +"y": { +"description": "Y coordinate.", +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p3beta1OperationMetadata": { +"description": "Contains metadata for the BatchAnnotateImages operation.", +"id": "GoogleCloudVisionV1p3beta1OperationMetadata", +"properties": { +"createTime": { +"description": "The time when the batch request was received.", +"format": "google-datetime", +"type": "string" +}, +"state": { +"description": "Current state of the batch operation.", +"enum": [ +"STATE_UNSPECIFIED", +"CREATED", +"RUNNING", +"DONE", +"CANCELLED" +], +"enumDescriptions": [ +"Invalid.", +"Request is received.", +"Request is actively being processed.", +"The batch processing is done.", +"The batch processing was cancelled." +], +"type": "string" +}, +"updateTime": { +"description": "The time when the operation result was last updated.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p3beta1OutputConfig": { +"description": "The desired output location and metadata.", +"id": "GoogleCloudVisionV1p3beta1OutputConfig", +"properties": { +"batchSize": { +"description": "The max number of response protos to put into each output JSON file on Google Cloud Storage. The valid range is [1, 100]. If not specified, the default value is 20. For example, for one pdf file with 100 pages, 100 response protos will be generated. If `batch_size` = 20, then 5 json files each containing 20 response protos will be written under the prefix `gcs_destination`.`uri`. Currently, batch_size only applies to GcsDestination, with potential future support for other output configurations.", +"format": "int32", +"type": "integer" +}, +"gcsDestination": { +"$ref": "GoogleCloudVisionV1p3beta1GcsDestination", +"description": "The Google Cloud Storage location to write the output(s) to." +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p3beta1Page": { +"description": "Detected page from OCR.", +"id": "GoogleCloudVisionV1p3beta1Page", +"properties": { +"blocks": { +"description": "List of blocks of text, images etc on this page.", +"items": { +"$ref": "GoogleCloudVisionV1p3beta1Block" +}, +"type": "array" +}, +"confidence": { +"description": "Confidence of the OCR results on the page. Range [0, 1].", +"format": "float", +"type": "number" +}, +"height": { +"description": "Page height. For PDFs the unit is points. For images (including TIFFs) the unit is pixels.", +"format": "int32", +"type": "integer" +}, +"property": { +"$ref": "GoogleCloudVisionV1p3beta1TextAnnotationTextProperty", +"description": "Additional information detected on the page." +}, +"width": { +"description": "Page width. For PDFs the unit is points. For images (including TIFFs) the unit is pixels.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p3beta1Paragraph": { +"description": "Structural unit of text representing a number of words in certain order.", +"id": "GoogleCloudVisionV1p3beta1Paragraph", +"properties": { +"boundingBox": { +"$ref": "GoogleCloudVisionV1p3beta1BoundingPoly", +"description": "The bounding box for the paragraph. The vertices are in the order of top-left, top-right, bottom-right, bottom-left. When a rotation of the bounding box is detected the rotation is represented as around the top-left corner as defined when the text is read in the 'natural' orientation. For example: * when the text is horizontal it might look like: 0----1 | | 3----2 * when it's rotated 180 degrees around the top-left corner it becomes: 2----3 | | 1----0 and the vertex order will still be (0, 1, 2, 3)." +}, +"confidence": { +"description": "Confidence of the OCR results for the paragraph. Range [0, 1].", +"format": "float", +"type": "number" +}, +"property": { +"$ref": "GoogleCloudVisionV1p3beta1TextAnnotationTextProperty", +"description": "Additional information detected for the paragraph." +}, +"words": { +"description": "List of all words in this paragraph.", +"items": { +"$ref": "GoogleCloudVisionV1p3beta1Word" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p3beta1Position": { +"description": "A 3D position in the image, used primarily for Face detection landmarks. A valid Position must have both x and y coordinates. The position coordinates are in the same scale as the original image.", +"id": "GoogleCloudVisionV1p3beta1Position", +"properties": { +"x": { +"description": "X coordinate.", +"format": "float", +"type": "number" +}, +"y": { +"description": "Y coordinate.", +"format": "float", +"type": "number" +}, +"z": { +"description": "Z coordinate (or depth).", +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p3beta1Product": { +"description": "A Product contains ReferenceImages.", +"id": "GoogleCloudVisionV1p3beta1Product", +"properties": { +"description": { +"description": "User-provided metadata to be stored with this product. Must be at most 4096 characters long.", +"type": "string" +}, +"displayName": { +"description": "The user-provided name for this Product. Must not be empty. Must be at most 4096 characters long.", +"type": "string" +}, +"name": { +"description": "The resource name of the product. Format is: `projects/PROJECT_ID/locations/LOC_ID/products/PRODUCT_ID`. This field is ignored when creating a product.", +"type": "string" +}, +"productCategory": { +"description": "Immutable. The category for the product identified by the reference image. This should be one of \"homegoods-v2\", \"apparel-v2\", \"toys-v2\", \"packagedgoods-v1\" or \"general-v1\". The legacy categories \"homegoods\", \"apparel\", and \"toys\" are still supported, but these should not be used for new products.", +"type": "string" +}, +"productLabels": { +"description": "Key-value pairs that can be attached to a product. At query time, constraints can be specified based on the product_labels. Note that integer values can be provided as strings, e.g. \"1199\". Only strings with integer values can match a range-based restriction which is to be supported soon. Multiple values can be assigned to the same key. One product may have up to 500 product_labels. Notice that the total number of distinct product_labels over all products in one ProductSet cannot exceed 1M, otherwise the product search pipeline will refuse to work for that ProductSet.", +"items": { +"$ref": "GoogleCloudVisionV1p3beta1ProductKeyValue" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p3beta1ProductKeyValue": { +"description": "A product label represented as a key-value pair.", +"id": "GoogleCloudVisionV1p3beta1ProductKeyValue", +"properties": { +"key": { +"description": "The key of the label attached to the product. Cannot be empty and cannot exceed 128 bytes.", +"type": "string" +}, +"value": { +"description": "The value of the label attached to the product. Cannot be empty and cannot exceed 128 bytes.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p3beta1ProductSearchResults": { +"description": "Results for a product search request.", +"id": "GoogleCloudVisionV1p3beta1ProductSearchResults", +"properties": { +"indexTime": { +"description": "Timestamp of the index which provided these results. Products added to the product set and products removed from the product set after this time are not reflected in the current results.", +"format": "google-datetime", +"type": "string" +}, +"productGroupedResults": { +"description": "List of results grouped by products detected in the query image. Each entry corresponds to one bounding polygon in the query image, and contains the matching products specific to that region. There may be duplicate product matches in the union of all the per-product results.", +"items": { +"$ref": "GoogleCloudVisionV1p3beta1ProductSearchResultsGroupedResult" +}, +"type": "array" +}, +"results": { +"description": "List of results, one for each product match.", +"items": { +"$ref": "GoogleCloudVisionV1p3beta1ProductSearchResultsResult" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p3beta1ProductSearchResultsGroupedResult": { +"description": "Information about the products similar to a single product in a query image.", +"id": "GoogleCloudVisionV1p3beta1ProductSearchResultsGroupedResult", +"properties": { +"boundingPoly": { +"$ref": "GoogleCloudVisionV1p3beta1BoundingPoly", +"description": "The bounding polygon around the product detected in the query image." +}, +"objectAnnotations": { +"description": "List of generic predictions for the object in the bounding box.", +"items": { +"$ref": "GoogleCloudVisionV1p3beta1ProductSearchResultsObjectAnnotation" +}, +"type": "array" +}, +"results": { +"description": "List of results, one for each product match.", +"items": { +"$ref": "GoogleCloudVisionV1p3beta1ProductSearchResultsResult" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p3beta1ProductSearchResultsObjectAnnotation": { +"description": "Prediction for what the object in the bounding box is.", +"id": "GoogleCloudVisionV1p3beta1ProductSearchResultsObjectAnnotation", +"properties": { +"languageCode": { +"description": "The BCP-47 language code, such as \"en-US\" or \"sr-Latn\". For more information, see http://www.unicode.org/reports/tr35/#Unicode_locale_identifier.", +"type": "string" +}, +"mid": { +"description": "Object ID that should align with EntityAnnotation mid.", +"type": "string" +}, +"name": { +"description": "Object name, expressed in its `language_code` language.", +"type": "string" +}, +"score": { +"description": "Score of the result. Range [0, 1].", +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p3beta1ProductSearchResultsResult": { +"description": "Information about a product.", +"id": "GoogleCloudVisionV1p3beta1ProductSearchResultsResult", +"properties": { +"image": { +"description": "The resource name of the image from the product that is the closest match to the query.", +"type": "string" +}, +"product": { +"$ref": "GoogleCloudVisionV1p3beta1Product", +"description": "The Product." +}, +"score": { +"description": "A confidence level on the match, ranging from 0 (no confidence) to 1 (full confidence).", +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p3beta1Property": { +"description": "A `Property` consists of a user-supplied name/value pair.", +"id": "GoogleCloudVisionV1p3beta1Property", +"properties": { +"name": { +"description": "Name of the property.", +"type": "string" +}, +"uint64Value": { +"description": "Value of numeric properties.", +"format": "uint64", +"type": "string" +}, +"value": { +"description": "Value of the property.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p3beta1ReferenceImage": { +"description": "A `ReferenceImage` represents a product image and its associated metadata, such as bounding boxes.", +"id": "GoogleCloudVisionV1p3beta1ReferenceImage", +"properties": { +"boundingPolys": { +"description": "Optional. Bounding polygons around the areas of interest in the reference image. If this field is empty, the system will try to detect regions of interest. At most 10 bounding polygons will be used. The provided shape is converted into a non-rotated rectangle. Once converted, the small edge of the rectangle must be greater than or equal to 300 pixels. The aspect ratio must be 1:4 or less (i.e. 1:3 is ok; 1:5 is not).", +"items": { +"$ref": "GoogleCloudVisionV1p3beta1BoundingPoly" +}, +"type": "array" +}, +"name": { +"description": "The resource name of the reference image. Format is: `projects/PROJECT_ID/locations/LOC_ID/products/PRODUCT_ID/referenceImages/IMAGE_ID`. This field is ignored when creating a reference image.", +"type": "string" +}, +"uri": { +"description": "Required. The Google Cloud Storage URI of the reference image. The URI must start with `gs://`.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p3beta1SafeSearchAnnotation": { +"description": "Set of features pertaining to the image, computed by computer vision methods over safe-search verticals (for example, adult, spoof, medical, violence).", +"id": "GoogleCloudVisionV1p3beta1SafeSearchAnnotation", +"properties": { +"adult": { +"description": "Represents the adult content likelihood for the image. Adult content may contain elements such as nudity, pornographic images or cartoons, or sexual activities.", +"enum": [ +"UNKNOWN", +"VERY_UNLIKELY", +"UNLIKELY", +"POSSIBLE", +"LIKELY", +"VERY_LIKELY" +], +"enumDescriptions": [ +"Unknown likelihood.", +"It is very unlikely.", +"It is unlikely.", +"It is possible.", +"It is likely.", +"It is very likely." +], +"type": "string" +}, +"medical": { +"description": "Likelihood that this is a medical image.", +"enum": [ +"UNKNOWN", +"VERY_UNLIKELY", +"UNLIKELY", +"POSSIBLE", +"LIKELY", +"VERY_LIKELY" +], +"enumDescriptions": [ +"Unknown likelihood.", +"It is very unlikely.", +"It is unlikely.", +"It is possible.", +"It is likely.", +"It is very likely." +], +"type": "string" +}, +"racy": { +"description": "Likelihood that the request image contains racy content. Racy content may include (but is not limited to) skimpy or sheer clothing, strategically covered nudity, lewd or provocative poses, or close-ups of sensitive body areas.", +"enum": [ +"UNKNOWN", +"VERY_UNLIKELY", +"UNLIKELY", +"POSSIBLE", +"LIKELY", +"VERY_LIKELY" +], +"enumDescriptions": [ +"Unknown likelihood.", +"It is very unlikely.", +"It is unlikely.", +"It is possible.", +"It is likely.", +"It is very likely." +], +"type": "string" +}, +"spoof": { +"description": "Spoof likelihood. The likelihood that an modification was made to the image's canonical version to make it appear funny or offensive.", +"enum": [ +"UNKNOWN", +"VERY_UNLIKELY", +"UNLIKELY", +"POSSIBLE", +"LIKELY", +"VERY_LIKELY" +], +"enumDescriptions": [ +"Unknown likelihood.", +"It is very unlikely.", +"It is unlikely.", +"It is possible.", +"It is likely.", +"It is very likely." +], +"type": "string" +}, +"violence": { +"description": "Likelihood that this image contains violent content. Violent content may include death, serious harm, or injury to individuals or groups of individuals.", +"enum": [ +"UNKNOWN", +"VERY_UNLIKELY", +"UNLIKELY", +"POSSIBLE", +"LIKELY", +"VERY_LIKELY" +], +"enumDescriptions": [ +"Unknown likelihood.", +"It is very unlikely.", +"It is unlikely.", +"It is possible.", +"It is likely.", +"It is very likely." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p3beta1Symbol": { +"description": "A single symbol representation.", +"id": "GoogleCloudVisionV1p3beta1Symbol", +"properties": { +"boundingBox": { +"$ref": "GoogleCloudVisionV1p3beta1BoundingPoly", +"description": "The bounding box for the symbol. The vertices are in the order of top-left, top-right, bottom-right, bottom-left. When a rotation of the bounding box is detected the rotation is represented as around the top-left corner as defined when the text is read in the 'natural' orientation. For example: * when the text is horizontal it might look like: 0----1 | | 3----2 * when it's rotated 180 degrees around the top-left corner it becomes: 2----3 | | 1----0 and the vertex order will still be (0, 1, 2, 3)." +}, +"confidence": { +"description": "Confidence of the OCR results for the symbol. Range [0, 1].", +"format": "float", +"type": "number" +}, +"property": { +"$ref": "GoogleCloudVisionV1p3beta1TextAnnotationTextProperty", +"description": "Additional information detected for the symbol." +}, +"text": { +"description": "The actual UTF-8 representation of the symbol.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p3beta1TextAnnotation": { +"description": "TextAnnotation contains a structured representation of OCR extracted text. The hierarchy of an OCR extracted text structure is like this: TextAnnotation -> Page -> Block -> Paragraph -> Word -> Symbol Each structural component, starting from Page, may further have their own properties. Properties describe detected languages, breaks etc.. Please refer to the TextAnnotation.TextProperty message definition below for more detail.", +"id": "GoogleCloudVisionV1p3beta1TextAnnotation", +"properties": { +"pages": { +"description": "List of pages detected by OCR.", +"items": { +"$ref": "GoogleCloudVisionV1p3beta1Page" +}, +"type": "array" +}, +"text": { +"description": "UTF-8 text detected on the pages.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p3beta1TextAnnotationDetectedBreak": { +"description": "Detected start or end of a structural component.", +"id": "GoogleCloudVisionV1p3beta1TextAnnotationDetectedBreak", +"properties": { +"isPrefix": { +"description": "True if break prepends the element.", +"type": "boolean" +}, +"type": { +"description": "Detected break type.", +"enum": [ +"UNKNOWN", +"SPACE", +"SURE_SPACE", +"EOL_SURE_SPACE", +"HYPHEN", +"LINE_BREAK" +], +"enumDescriptions": [ +"Unknown break label type.", +"Regular space.", +"Sure space (very wide).", +"Line-wrapping break.", +"End-line hyphen that is not present in text; does not co-occur with `SPACE`, `LEADER_SPACE`, or `LINE_BREAK`.", +"Line break that ends a paragraph." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p3beta1TextAnnotationDetectedLanguage": { +"description": "Detected language for a structural component.", +"id": "GoogleCloudVisionV1p3beta1TextAnnotationDetectedLanguage", +"properties": { +"confidence": { +"description": "Confidence of detected language. Range [0, 1].", +"format": "float", +"type": "number" +}, +"languageCode": { +"description": "The BCP-47 language code, such as \"en-US\" or \"sr-Latn\". For more information, see http://www.unicode.org/reports/tr35/#Unicode_locale_identifier.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p3beta1TextAnnotationTextProperty": { +"description": "Additional information detected on the structural component.", +"id": "GoogleCloudVisionV1p3beta1TextAnnotationTextProperty", +"properties": { +"detectedBreak": { +"$ref": "GoogleCloudVisionV1p3beta1TextAnnotationDetectedBreak", +"description": "Detected start or end of a text segment." +}, +"detectedLanguages": { +"description": "A list of detected languages together with confidence.", +"items": { +"$ref": "GoogleCloudVisionV1p3beta1TextAnnotationDetectedLanguage" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p3beta1Vertex": { +"description": "A vertex represents a 2D point in the image. NOTE: the vertex coordinates are in the same scale as the original image.", +"id": "GoogleCloudVisionV1p3beta1Vertex", +"properties": { +"x": { +"description": "X coordinate.", +"format": "int32", +"type": "integer" +}, +"y": { +"description": "Y coordinate.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p3beta1WebDetection": { +"description": "Relevant information for the image from the Internet.", +"id": "GoogleCloudVisionV1p3beta1WebDetection", +"properties": { +"bestGuessLabels": { +"description": "The service's best guess as to the topic of the request image. Inferred from similar images on the open web.", +"items": { +"$ref": "GoogleCloudVisionV1p3beta1WebDetectionWebLabel" +}, +"type": "array" +}, +"fullMatchingImages": { +"description": "Fully matching images from the Internet. Can include resized copies of the query image.", +"items": { +"$ref": "GoogleCloudVisionV1p3beta1WebDetectionWebImage" +}, +"type": "array" +}, +"pagesWithMatchingImages": { +"description": "Web pages containing the matching images from the Internet.", +"items": { +"$ref": "GoogleCloudVisionV1p3beta1WebDetectionWebPage" +}, +"type": "array" +}, +"partialMatchingImages": { +"description": "Partial matching images from the Internet. Those images are similar enough to share some key-point features. For example an original image will likely have partial matching for its crops.", +"items": { +"$ref": "GoogleCloudVisionV1p3beta1WebDetectionWebImage" +}, +"type": "array" +}, +"visuallySimilarImages": { +"description": "The visually similar image results.", +"items": { +"$ref": "GoogleCloudVisionV1p3beta1WebDetectionWebImage" +}, +"type": "array" +}, +"webEntities": { +"description": "Deduced entities from similar images on the Internet.", +"items": { +"$ref": "GoogleCloudVisionV1p3beta1WebDetectionWebEntity" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p3beta1WebDetectionWebEntity": { +"description": "Entity deduced from similar images on the Internet.", +"id": "GoogleCloudVisionV1p3beta1WebDetectionWebEntity", +"properties": { +"description": { +"description": "Canonical description of the entity, in English.", +"type": "string" +}, +"entityId": { +"description": "Opaque entity ID.", +"type": "string" +}, +"score": { +"description": "Overall relevancy score for the entity. Not normalized and not comparable across different image queries.", +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p3beta1WebDetectionWebImage": { +"description": "Metadata for online images.", +"id": "GoogleCloudVisionV1p3beta1WebDetectionWebImage", +"properties": { +"score": { +"description": "(Deprecated) Overall relevancy score for the image.", +"format": "float", +"type": "number" +}, +"url": { +"description": "The result image URL.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p3beta1WebDetectionWebLabel": { +"description": "Label to provide extra metadata for the web detection.", +"id": "GoogleCloudVisionV1p3beta1WebDetectionWebLabel", +"properties": { +"label": { +"description": "Label for extra metadata.", +"type": "string" +}, +"languageCode": { +"description": "The BCP-47 language code for `label`, such as \"en-US\" or \"sr-Latn\". For more information, see http://www.unicode.org/reports/tr35/#Unicode_locale_identifier.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p3beta1WebDetectionWebPage": { +"description": "Metadata for web pages.", +"id": "GoogleCloudVisionV1p3beta1WebDetectionWebPage", +"properties": { +"fullMatchingImages": { +"description": "Fully matching images on the page. Can include resized copies of the query image.", +"items": { +"$ref": "GoogleCloudVisionV1p3beta1WebDetectionWebImage" +}, +"type": "array" +}, +"pageTitle": { +"description": "Title for the web page, may contain HTML markups.", +"type": "string" +}, +"partialMatchingImages": { +"description": "Partial matching images on the page. Those images are similar enough to share some key-point features. For example an original image will likely have partial matching for its crops.", +"items": { +"$ref": "GoogleCloudVisionV1p3beta1WebDetectionWebImage" +}, +"type": "array" +}, +"score": { +"description": "(Deprecated) Overall relevancy score for the web page.", +"format": "float", +"type": "number" +}, +"url": { +"description": "The result web page URL.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p3beta1Word": { +"description": "A word representation.", +"id": "GoogleCloudVisionV1p3beta1Word", +"properties": { +"boundingBox": { +"$ref": "GoogleCloudVisionV1p3beta1BoundingPoly", +"description": "The bounding box for the word. The vertices are in the order of top-left, top-right, bottom-right, bottom-left. When a rotation of the bounding box is detected the rotation is represented as around the top-left corner as defined when the text is read in the 'natural' orientation. For example: * when the text is horizontal it might look like: 0----1 | | 3----2 * when it's rotated 180 degrees around the top-left corner it becomes: 2----3 | | 1----0 and the vertex order will still be (0, 1, 2, 3)." +}, +"confidence": { +"description": "Confidence of the OCR results for the word. Range [0, 1].", +"format": "float", +"type": "number" +}, +"property": { +"$ref": "GoogleCloudVisionV1p3beta1TextAnnotationTextProperty", +"description": "Additional information detected for the word." +}, +"symbols": { +"description": "List of symbols in the word. The order of the symbols follows the natural reading order.", +"items": { +"$ref": "GoogleCloudVisionV1p3beta1Symbol" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p4beta1AnnotateFileResponse": { +"description": "Response to a single file annotation request. A file may contain one or more images, which individually have their own responses.", +"id": "GoogleCloudVisionV1p4beta1AnnotateFileResponse", +"properties": { +"error": { +"$ref": "Status", +"description": "If set, represents the error message for the failed request. The `responses` field will not be set in this case." +}, +"inputConfig": { +"$ref": "GoogleCloudVisionV1p4beta1InputConfig", +"description": "Information about the file for which this response is generated." +}, +"responses": { +"description": "Individual responses to images found within the file. This field will be empty if the `error` field is set.", +"items": { +"$ref": "GoogleCloudVisionV1p4beta1AnnotateImageResponse" +}, +"type": "array" +}, +"totalPages": { +"description": "This field gives the total number of pages in the file.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p4beta1AnnotateImageResponse": { +"description": "Response to an image annotation request.", +"id": "GoogleCloudVisionV1p4beta1AnnotateImageResponse", +"properties": { +"context": { +"$ref": "GoogleCloudVisionV1p4beta1ImageAnnotationContext", +"description": "If present, contextual information is needed to understand where this image comes from." +}, +"cropHintsAnnotation": { +"$ref": "GoogleCloudVisionV1p4beta1CropHintsAnnotation", +"description": "If present, crop hints have completed successfully." +}, +"error": { +"$ref": "Status", +"description": "If set, represents the error message for the operation. Note that filled-in image annotations are guaranteed to be correct, even when `error` is set." +}, +"faceAnnotations": { +"description": "If present, face detection has completed successfully.", +"items": { +"$ref": "GoogleCloudVisionV1p4beta1FaceAnnotation" +}, +"type": "array" +}, +"fullTextAnnotation": { +"$ref": "GoogleCloudVisionV1p4beta1TextAnnotation", +"description": "If present, text (OCR) detection or document (OCR) text detection has completed successfully. This annotation provides the structural hierarchy for the OCR detected text." +}, +"imagePropertiesAnnotation": { +"$ref": "GoogleCloudVisionV1p4beta1ImageProperties", +"description": "If present, image properties were extracted successfully." +}, +"labelAnnotations": { +"description": "If present, label detection has completed successfully.", +"items": { +"$ref": "GoogleCloudVisionV1p4beta1EntityAnnotation" +}, +"type": "array" +}, +"landmarkAnnotations": { +"description": "If present, landmark detection has completed successfully.", +"items": { +"$ref": "GoogleCloudVisionV1p4beta1EntityAnnotation" +}, +"type": "array" +}, +"localizedObjectAnnotations": { +"description": "If present, localized object detection has completed successfully. This will be sorted descending by confidence score.", +"items": { +"$ref": "GoogleCloudVisionV1p4beta1LocalizedObjectAnnotation" +}, +"type": "array" +}, +"logoAnnotations": { +"description": "If present, logo detection has completed successfully.", +"items": { +"$ref": "GoogleCloudVisionV1p4beta1EntityAnnotation" +}, +"type": "array" +}, +"productSearchResults": { +"$ref": "GoogleCloudVisionV1p4beta1ProductSearchResults", +"description": "If present, product search has completed successfully." +}, +"safeSearchAnnotation": { +"$ref": "GoogleCloudVisionV1p4beta1SafeSearchAnnotation", +"description": "If present, safe-search annotation has completed successfully." +}, +"textAnnotations": { +"description": "If present, text (OCR) detection has completed successfully.", +"items": { +"$ref": "GoogleCloudVisionV1p4beta1EntityAnnotation" +}, +"type": "array" +}, +"webDetection": { +"$ref": "GoogleCloudVisionV1p4beta1WebDetection", +"description": "If present, web detection has completed successfully." +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p4beta1AsyncAnnotateFileResponse": { +"description": "The response for a single offline file annotation request.", +"id": "GoogleCloudVisionV1p4beta1AsyncAnnotateFileResponse", +"properties": { +"outputConfig": { +"$ref": "GoogleCloudVisionV1p4beta1OutputConfig", +"description": "The output location and metadata from AsyncAnnotateFileRequest." +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p4beta1AsyncBatchAnnotateFilesResponse": { +"description": "Response to an async batch file annotation request.", +"id": "GoogleCloudVisionV1p4beta1AsyncBatchAnnotateFilesResponse", +"properties": { +"responses": { +"description": "The list of file annotation responses, one for each request in AsyncBatchAnnotateFilesRequest.", +"items": { +"$ref": "GoogleCloudVisionV1p4beta1AsyncAnnotateFileResponse" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p4beta1AsyncBatchAnnotateImagesResponse": { +"description": "Response to an async batch image annotation request.", +"id": "GoogleCloudVisionV1p4beta1AsyncBatchAnnotateImagesResponse", +"properties": { +"outputConfig": { +"$ref": "GoogleCloudVisionV1p4beta1OutputConfig", +"description": "The output location and metadata from AsyncBatchAnnotateImagesRequest." +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p4beta1BatchAnnotateFilesResponse": { +"description": "A list of file annotation responses.", +"id": "GoogleCloudVisionV1p4beta1BatchAnnotateFilesResponse", +"properties": { +"responses": { +"description": "The list of file annotation responses, each response corresponding to each AnnotateFileRequest in BatchAnnotateFilesRequest.", +"items": { +"$ref": "GoogleCloudVisionV1p4beta1AnnotateFileResponse" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p4beta1BatchOperationMetadata": { +"description": "Metadata for the batch operations such as the current state. This is included in the `metadata` field of the `Operation` returned by the `GetOperation` call of the `google::longrunning::Operations` service.", +"id": "GoogleCloudVisionV1p4beta1BatchOperationMetadata", +"properties": { +"endTime": { +"description": "The time when the batch request is finished and google.longrunning.Operation.done is set to true.", +"format": "google-datetime", +"type": "string" +}, +"state": { +"description": "The current state of the batch operation.", +"enum": [ +"STATE_UNSPECIFIED", +"PROCESSING", +"SUCCESSFUL", +"FAILED", +"CANCELLED" +], +"enumDescriptions": [ +"Invalid.", +"Request is actively being processed.", +"The request is done and at least one item has been successfully processed.", +"The request is done and no item has been successfully processed.", +"The request is done after the longrunning.Operations.CancelOperation has been called by the user. Any records that were processed before the cancel command are output as specified in the request." +], +"type": "string" +}, +"submitTime": { +"description": "The time when the batch request was submitted to the server.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p4beta1Block": { +"description": "Logical element on the page.", +"id": "GoogleCloudVisionV1p4beta1Block", +"properties": { +"blockType": { +"description": "Detected block type (text, image etc) for this block.", +"enum": [ +"UNKNOWN", +"TEXT", +"TABLE", +"PICTURE", +"RULER", +"BARCODE" +], +"enumDescriptions": [ +"Unknown block type.", +"Regular text block.", +"Table block.", +"Image block.", +"Horizontal/vertical line box.", +"Barcode block." +], +"type": "string" +}, +"boundingBox": { +"$ref": "GoogleCloudVisionV1p4beta1BoundingPoly", +"description": "The bounding box for the block. The vertices are in the order of top-left, top-right, bottom-right, bottom-left. When a rotation of the bounding box is detected the rotation is represented as around the top-left corner as defined when the text is read in the 'natural' orientation. For example: * when the text is horizontal it might look like: 0----1 | | 3----2 * when it's rotated 180 degrees around the top-left corner it becomes: 2----3 | | 1----0 and the vertex order will still be (0, 1, 2, 3)." +}, +"confidence": { +"description": "Confidence of the OCR results on the block. Range [0, 1].", +"format": "float", +"type": "number" +}, +"paragraphs": { +"description": "List of paragraphs in this block (if this blocks is of type text).", +"items": { +"$ref": "GoogleCloudVisionV1p4beta1Paragraph" +}, +"type": "array" +}, +"property": { +"$ref": "GoogleCloudVisionV1p4beta1TextAnnotationTextProperty", +"description": "Additional information detected for the block." +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p4beta1BoundingPoly": { +"description": "A bounding polygon for the detected image annotation.", +"id": "GoogleCloudVisionV1p4beta1BoundingPoly", +"properties": { +"normalizedVertices": { +"description": "The bounding polygon normalized vertices.", +"items": { +"$ref": "GoogleCloudVisionV1p4beta1NormalizedVertex" +}, +"type": "array" +}, +"vertices": { +"description": "The bounding polygon vertices.", +"items": { +"$ref": "GoogleCloudVisionV1p4beta1Vertex" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p4beta1Celebrity": { +"description": "A Celebrity is a group of Faces with an identity.", +"id": "GoogleCloudVisionV1p4beta1Celebrity", +"properties": { +"description": { +"description": "The Celebrity's description.", +"type": "string" +}, +"displayName": { +"description": "The Celebrity's display name.", +"type": "string" +}, +"name": { +"description": "The resource name of the preloaded Celebrity. Has the format `builtin/{mid}`.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p4beta1ColorInfo": { +"description": "Color information consists of RGB channels, score, and the fraction of the image that the color occupies in the image.", +"id": "GoogleCloudVisionV1p4beta1ColorInfo", +"properties": { +"color": { +"$ref": "Color", +"description": "RGB components of the color." +}, +"pixelFraction": { +"description": "The fraction of pixels the color occupies in the image. Value in range [0, 1].", +"format": "float", +"type": "number" +}, +"score": { +"description": "Image-specific score for this color. Value in range [0, 1].", +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p4beta1CropHint": { +"description": "Single crop hint that is used to generate a new crop when serving an image.", +"id": "GoogleCloudVisionV1p4beta1CropHint", +"properties": { +"boundingPoly": { +"$ref": "GoogleCloudVisionV1p4beta1BoundingPoly", +"description": "The bounding polygon for the crop region. The coordinates of the bounding box are in the original image's scale." +}, +"confidence": { +"description": "Confidence of this being a salient region. Range [0, 1].", +"format": "float", +"type": "number" +}, +"importanceFraction": { +"description": "Fraction of importance of this salient region with respect to the original image.", +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p4beta1CropHintsAnnotation": { +"description": "Set of crop hints that are used to generate new crops when serving images.", +"id": "GoogleCloudVisionV1p4beta1CropHintsAnnotation", +"properties": { +"cropHints": { +"description": "Crop hint results.", +"items": { +"$ref": "GoogleCloudVisionV1p4beta1CropHint" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p4beta1DominantColorsAnnotation": { +"description": "Set of dominant colors and their corresponding scores.", +"id": "GoogleCloudVisionV1p4beta1DominantColorsAnnotation", +"properties": { +"colors": { +"description": "RGB color values with their score and pixel fraction.", +"items": { +"$ref": "GoogleCloudVisionV1p4beta1ColorInfo" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p4beta1EntityAnnotation": { +"description": "Set of detected entity features.", +"id": "GoogleCloudVisionV1p4beta1EntityAnnotation", +"properties": { +"boundingPoly": { +"$ref": "GoogleCloudVisionV1p4beta1BoundingPoly", +"description": "Image region to which this entity belongs. Not produced for `LABEL_DETECTION` features." +}, +"confidence": { +"deprecated": true, +"description": "**Deprecated. Use `score` instead.** The accuracy of the entity detection in an image. For example, for an image in which the \"Eiffel Tower\" entity is detected, this field represents the confidence that there is a tower in the query image. Range [0, 1].", +"format": "float", +"type": "number" +}, +"description": { +"description": "Entity textual description, expressed in its `locale` language.", +"type": "string" +}, +"locale": { +"description": "The language code for the locale in which the entity textual `description` is expressed.", +"type": "string" +}, +"locations": { +"description": "The location information for the detected entity. Multiple `LocationInfo` elements can be present because one location may indicate the location of the scene in the image, and another location may indicate the location of the place where the image was taken. Location information is usually present for landmarks.", +"items": { +"$ref": "GoogleCloudVisionV1p4beta1LocationInfo" +}, +"type": "array" +}, +"mid": { +"description": "Opaque entity ID. Some IDs may be available in [Google Knowledge Graph Search API](https://developers.google.com/knowledge-graph/).", +"type": "string" +}, +"properties": { +"description": "Some entities may have optional user-supplied `Property` (name/value) fields, such a score or string that qualifies the entity.", +"items": { +"$ref": "GoogleCloudVisionV1p4beta1Property" +}, +"type": "array" +}, +"score": { +"description": "Overall score of the result. Range [0, 1].", +"format": "float", +"type": "number" +}, +"topicality": { +"description": "The relevancy of the ICA (Image Content Annotation) label to the image. For example, the relevancy of \"tower\" is likely higher to an image containing the detected \"Eiffel Tower\" than to an image containing a detected distant towering building, even though the confidence that there is a tower in each image may be the same. Range [0, 1].", +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p4beta1FaceAnnotation": { +"description": "A face annotation object contains the results of face detection.", +"id": "GoogleCloudVisionV1p4beta1FaceAnnotation", +"properties": { +"angerLikelihood": { +"description": "Anger likelihood.", +"enum": [ +"UNKNOWN", +"VERY_UNLIKELY", +"UNLIKELY", +"POSSIBLE", +"LIKELY", +"VERY_LIKELY" +], +"enumDescriptions": [ +"Unknown likelihood.", +"It is very unlikely.", +"It is unlikely.", +"It is possible.", +"It is likely.", +"It is very likely." +], +"type": "string" +}, +"blurredLikelihood": { +"description": "Blurred likelihood.", +"enum": [ +"UNKNOWN", +"VERY_UNLIKELY", +"UNLIKELY", +"POSSIBLE", +"LIKELY", +"VERY_LIKELY" +], +"enumDescriptions": [ +"Unknown likelihood.", +"It is very unlikely.", +"It is unlikely.", +"It is possible.", +"It is likely.", +"It is very likely." +], +"type": "string" +}, +"boundingPoly": { +"$ref": "GoogleCloudVisionV1p4beta1BoundingPoly", +"description": "The bounding polygon around the face. The coordinates of the bounding box are in the original image's scale. The bounding box is computed to \"frame\" the face in accordance with human expectations. It is based on the landmarker results. Note that one or more x and/or y coordinates may not be generated in the `BoundingPoly` (the polygon will be unbounded) if only a partial face appears in the image to be annotated." +}, +"detectionConfidence": { +"description": "Detection confidence. Range [0, 1].", +"format": "float", +"type": "number" +}, +"fdBoundingPoly": { +"$ref": "GoogleCloudVisionV1p4beta1BoundingPoly", +"description": "The `fd_bounding_poly` bounding polygon is tighter than the `boundingPoly`, and encloses only the skin part of the face. Typically, it is used to eliminate the face from any image analysis that detects the \"amount of skin\" visible in an image. It is not based on the landmarker results, only on the initial face detection, hence the fd (face detection) prefix." +}, +"headwearLikelihood": { +"description": "Headwear likelihood.", +"enum": [ +"UNKNOWN", +"VERY_UNLIKELY", +"UNLIKELY", +"POSSIBLE", +"LIKELY", +"VERY_LIKELY" +], +"enumDescriptions": [ +"Unknown likelihood.", +"It is very unlikely.", +"It is unlikely.", +"It is possible.", +"It is likely.", +"It is very likely." +], +"type": "string" +}, +"joyLikelihood": { +"description": "Joy likelihood.", +"enum": [ +"UNKNOWN", +"VERY_UNLIKELY", +"UNLIKELY", +"POSSIBLE", +"LIKELY", +"VERY_LIKELY" +], +"enumDescriptions": [ +"Unknown likelihood.", +"It is very unlikely.", +"It is unlikely.", +"It is possible.", +"It is likely.", +"It is very likely." +], +"type": "string" +}, +"landmarkingConfidence": { +"description": "Face landmarking confidence. Range [0, 1].", +"format": "float", +"type": "number" +}, +"landmarks": { +"description": "Detected face landmarks.", +"items": { +"$ref": "GoogleCloudVisionV1p4beta1FaceAnnotationLandmark" +}, +"type": "array" +}, +"panAngle": { +"description": "Yaw angle, which indicates the leftward/rightward angle that the face is pointing relative to the vertical plane perpendicular to the image. Range [-180,180].", +"format": "float", +"type": "number" +}, +"recognitionResult": { +"description": "Additional recognition information. Only computed if image_context.face_recognition_params is provided, **and** a match is found to a Celebrity in the input CelebritySet. This field is sorted in order of decreasing confidence values.", +"items": { +"$ref": "GoogleCloudVisionV1p4beta1FaceRecognitionResult" +}, +"type": "array" +}, +"rollAngle": { +"description": "Roll angle, which indicates the amount of clockwise/anti-clockwise rotation of the face relative to the image vertical about the axis perpendicular to the face. Range [-180,180].", +"format": "float", +"type": "number" +}, +"sorrowLikelihood": { +"description": "Sorrow likelihood.", +"enum": [ +"UNKNOWN", +"VERY_UNLIKELY", +"UNLIKELY", +"POSSIBLE", +"LIKELY", +"VERY_LIKELY" +], +"enumDescriptions": [ +"Unknown likelihood.", +"It is very unlikely.", +"It is unlikely.", +"It is possible.", +"It is likely.", +"It is very likely." +], +"type": "string" +}, +"surpriseLikelihood": { +"description": "Surprise likelihood.", +"enum": [ +"UNKNOWN", +"VERY_UNLIKELY", +"UNLIKELY", +"POSSIBLE", +"LIKELY", +"VERY_LIKELY" +], +"enumDescriptions": [ +"Unknown likelihood.", +"It is very unlikely.", +"It is unlikely.", +"It is possible.", +"It is likely.", +"It is very likely." +], +"type": "string" +}, +"tiltAngle": { +"description": "Pitch angle, which indicates the upwards/downwards angle that the face is pointing relative to the image's horizontal plane. Range [-180,180].", +"format": "float", +"type": "number" +}, +"underExposedLikelihood": { +"description": "Under-exposed likelihood.", +"enum": [ +"UNKNOWN", +"VERY_UNLIKELY", +"UNLIKELY", +"POSSIBLE", +"LIKELY", +"VERY_LIKELY" +], +"enumDescriptions": [ +"Unknown likelihood.", +"It is very unlikely.", +"It is unlikely.", +"It is possible.", +"It is likely.", +"It is very likely." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p4beta1FaceAnnotationLandmark": { +"description": "A face-specific landmark (for example, a face feature). Landmark positions may fall outside the bounds of the image if the face is near one or more edges of the image. Therefore it is NOT guaranteed that `0 <= x < width` or `0 <= y < height`.", +"id": "GoogleCloudVisionV1p4beta1FaceAnnotationLandmark", +"properties": { +"position": { +"$ref": "GoogleCloudVisionV1p4beta1Position", +"description": "Face landmark position." +}, +"type": { +"description": "Face landmark type.", +"enum": [ +"UNKNOWN_LANDMARK", +"LEFT_EYE", +"RIGHT_EYE", +"LEFT_OF_LEFT_EYEBROW", +"RIGHT_OF_LEFT_EYEBROW", +"LEFT_OF_RIGHT_EYEBROW", +"RIGHT_OF_RIGHT_EYEBROW", +"MIDPOINT_BETWEEN_EYES", +"NOSE_TIP", +"UPPER_LIP", +"LOWER_LIP", +"MOUTH_LEFT", +"MOUTH_RIGHT", +"MOUTH_CENTER", +"NOSE_BOTTOM_RIGHT", +"NOSE_BOTTOM_LEFT", +"NOSE_BOTTOM_CENTER", +"LEFT_EYE_TOP_BOUNDARY", +"LEFT_EYE_RIGHT_CORNER", +"LEFT_EYE_BOTTOM_BOUNDARY", +"LEFT_EYE_LEFT_CORNER", +"RIGHT_EYE_TOP_BOUNDARY", +"RIGHT_EYE_RIGHT_CORNER", +"RIGHT_EYE_BOTTOM_BOUNDARY", +"RIGHT_EYE_LEFT_CORNER", +"LEFT_EYEBROW_UPPER_MIDPOINT", +"RIGHT_EYEBROW_UPPER_MIDPOINT", +"LEFT_EAR_TRAGION", +"RIGHT_EAR_TRAGION", +"LEFT_EYE_PUPIL", +"RIGHT_EYE_PUPIL", +"FOREHEAD_GLABELLA", +"CHIN_GNATHION", +"CHIN_LEFT_GONION", +"CHIN_RIGHT_GONION", +"LEFT_CHEEK_CENTER", +"RIGHT_CHEEK_CENTER" +], +"enumDescriptions": [ +"Unknown face landmark detected. Should not be filled.", +"Left eye.", +"Right eye.", +"Left of left eyebrow.", +"Right of left eyebrow.", +"Left of right eyebrow.", +"Right of right eyebrow.", +"Midpoint between eyes.", +"Nose tip.", +"Upper lip.", +"Lower lip.", +"Mouth left.", +"Mouth right.", +"Mouth center.", +"Nose, bottom right.", +"Nose, bottom left.", +"Nose, bottom center.", +"Left eye, top boundary.", +"Left eye, right corner.", +"Left eye, bottom boundary.", +"Left eye, left corner.", +"Right eye, top boundary.", +"Right eye, right corner.", +"Right eye, bottom boundary.", +"Right eye, left corner.", +"Left eyebrow, upper midpoint.", +"Right eyebrow, upper midpoint.", +"Left ear tragion.", +"Right ear tragion.", +"Left eye pupil.", +"Right eye pupil.", +"Forehead glabella.", +"Chin gnathion.", +"Chin left gonion.", +"Chin right gonion.", +"Left cheek center.", +"Right cheek center." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p4beta1FaceRecognitionResult": { +"description": "Information about a face's identity.", +"id": "GoogleCloudVisionV1p4beta1FaceRecognitionResult", +"properties": { +"celebrity": { +"$ref": "GoogleCloudVisionV1p4beta1Celebrity", +"description": "The Celebrity that this face was matched to." +}, +"confidence": { +"description": "Recognition confidence. Range [0, 1].", +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p4beta1GcsDestination": { +"description": "The Google Cloud Storage location where the output will be written to.", +"id": "GoogleCloudVisionV1p4beta1GcsDestination", +"properties": { +"uri": { +"description": "Google Cloud Storage URI prefix where the results will be stored. Results will be in JSON format and preceded by its corresponding input URI prefix. This field can either represent a gcs file prefix or gcs directory. In either case, the uri should be unique because in order to get all of the output files, you will need to do a wildcard gcs search on the uri prefix you provide. Examples: * File Prefix: gs://bucket-name/here/filenameprefix The output files will be created in gs://bucket-name/here/ and the names of the output files will begin with \"filenameprefix\". * Directory Prefix: gs://bucket-name/some/location/ The output files will be created in gs://bucket-name/some/location/ and the names of the output files could be anything because there was no filename prefix specified. If multiple outputs, each response is still AnnotateFileResponse, each of which contains some subset of the full list of AnnotateImageResponse. Multiple outputs can happen if, for example, the output JSON is too large and overflows into multiple sharded files.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p4beta1GcsSource": { +"description": "The Google Cloud Storage location where the input will be read from.", +"id": "GoogleCloudVisionV1p4beta1GcsSource", +"properties": { +"uri": { +"description": "Google Cloud Storage URI for the input file. This must only be a Google Cloud Storage object. Wildcards are not currently supported.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p4beta1ImageAnnotationContext": { +"description": "If an image was produced from a file (e.g. a PDF), this message gives information about the source of that image.", +"id": "GoogleCloudVisionV1p4beta1ImageAnnotationContext", +"properties": { +"pageNumber": { +"description": "If the file was a PDF or TIFF, this field gives the page number within the file used to produce the image.", +"format": "int32", +"type": "integer" +}, +"uri": { +"description": "The URI of the file used to produce the image.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p4beta1ImageProperties": { +"description": "Stores image properties, such as dominant colors.", +"id": "GoogleCloudVisionV1p4beta1ImageProperties", +"properties": { +"dominantColors": { +"$ref": "GoogleCloudVisionV1p4beta1DominantColorsAnnotation", +"description": "If present, dominant colors completed successfully." +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p4beta1ImportProductSetsResponse": { +"description": "Response message for the `ImportProductSets` method. This message is returned by the google.longrunning.Operations.GetOperation method in the returned google.longrunning.Operation.response field.", +"id": "GoogleCloudVisionV1p4beta1ImportProductSetsResponse", +"properties": { +"referenceImages": { +"description": "The list of reference_images that are imported successfully.", +"items": { +"$ref": "GoogleCloudVisionV1p4beta1ReferenceImage" +}, +"type": "array" +}, +"statuses": { +"description": "The rpc status for each ImportProductSet request, including both successes and errors. The number of statuses here matches the number of lines in the csv file, and statuses[i] stores the success or failure status of processing the i-th line of the csv, starting from line 0.", +"items": { +"$ref": "Status" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p4beta1InputConfig": { +"description": "The desired input location and metadata.", +"id": "GoogleCloudVisionV1p4beta1InputConfig", +"properties": { +"content": { +"description": "File content, represented as a stream of bytes. Note: As with all `bytes` fields, protobuffers use a pure binary representation, whereas JSON representations use base64. Currently, this field only works for BatchAnnotateFiles requests. It does not work for AsyncBatchAnnotateFiles requests.", +"format": "byte", +"type": "string" +}, +"gcsSource": { +"$ref": "GoogleCloudVisionV1p4beta1GcsSource", +"description": "The Google Cloud Storage location to read the input from." +}, +"mimeType": { +"description": "The type of the file. Currently only \"application/pdf\", \"image/tiff\" and \"image/gif\" are supported. Wildcards are not supported.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p4beta1LocalizedObjectAnnotation": { +"description": "Set of detected objects with bounding boxes.", +"id": "GoogleCloudVisionV1p4beta1LocalizedObjectAnnotation", +"properties": { +"boundingPoly": { +"$ref": "GoogleCloudVisionV1p4beta1BoundingPoly", +"description": "Image region to which this object belongs. This must be populated." +}, +"languageCode": { +"description": "The BCP-47 language code, such as \"en-US\" or \"sr-Latn\". For more information, see http://www.unicode.org/reports/tr35/#Unicode_locale_identifier.", +"type": "string" +}, +"mid": { +"description": "Object ID that should align with EntityAnnotation mid.", +"type": "string" +}, +"name": { +"description": "Object name, expressed in its `language_code` language.", +"type": "string" +}, +"score": { +"description": "Score of the result. Range [0, 1].", +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p4beta1LocationInfo": { +"description": "Detected entity location information.", +"id": "GoogleCloudVisionV1p4beta1LocationInfo", +"properties": { +"latLng": { +"$ref": "LatLng", +"description": "lat/long location coordinates." +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p4beta1NormalizedVertex": { +"description": "A vertex represents a 2D point in the image. NOTE: the normalized vertex coordinates are relative to the original image and range from 0 to 1.", +"id": "GoogleCloudVisionV1p4beta1NormalizedVertex", +"properties": { +"x": { +"description": "X coordinate.", +"format": "float", +"type": "number" +}, +"y": { +"description": "Y coordinate.", +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p4beta1OperationMetadata": { +"description": "Contains metadata for the BatchAnnotateImages operation.", +"id": "GoogleCloudVisionV1p4beta1OperationMetadata", +"properties": { +"createTime": { +"description": "The time when the batch request was received.", +"format": "google-datetime", +"type": "string" +}, +"state": { +"description": "Current state of the batch operation.", +"enum": [ +"STATE_UNSPECIFIED", +"CREATED", +"RUNNING", +"DONE", +"CANCELLED" +], +"enumDescriptions": [ +"Invalid.", +"Request is received.", +"Request is actively being processed.", +"The batch processing is done.", +"The batch processing was cancelled." +], +"type": "string" +}, +"updateTime": { +"description": "The time when the operation result was last updated.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p4beta1OutputConfig": { +"description": "The desired output location and metadata.", +"id": "GoogleCloudVisionV1p4beta1OutputConfig", +"properties": { +"batchSize": { +"description": "The max number of response protos to put into each output JSON file on Google Cloud Storage. The valid range is [1, 100]. If not specified, the default value is 20. For example, for one pdf file with 100 pages, 100 response protos will be generated. If `batch_size` = 20, then 5 json files each containing 20 response protos will be written under the prefix `gcs_destination`.`uri`. Currently, batch_size only applies to GcsDestination, with potential future support for other output configurations.", +"format": "int32", +"type": "integer" +}, +"gcsDestination": { +"$ref": "GoogleCloudVisionV1p4beta1GcsDestination", +"description": "The Google Cloud Storage location to write the output(s) to." +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p4beta1Page": { +"description": "Detected page from OCR.", +"id": "GoogleCloudVisionV1p4beta1Page", +"properties": { +"blocks": { +"description": "List of blocks of text, images etc on this page.", +"items": { +"$ref": "GoogleCloudVisionV1p4beta1Block" +}, +"type": "array" +}, +"confidence": { +"description": "Confidence of the OCR results on the page. Range [0, 1].", +"format": "float", +"type": "number" +}, +"height": { +"description": "Page height. For PDFs the unit is points. For images (including TIFFs) the unit is pixels.", +"format": "int32", +"type": "integer" +}, +"property": { +"$ref": "GoogleCloudVisionV1p4beta1TextAnnotationTextProperty", +"description": "Additional information detected on the page." +}, +"width": { +"description": "Page width. For PDFs the unit is points. For images (including TIFFs) the unit is pixels.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p4beta1Paragraph": { +"description": "Structural unit of text representing a number of words in certain order.", +"id": "GoogleCloudVisionV1p4beta1Paragraph", +"properties": { +"boundingBox": { +"$ref": "GoogleCloudVisionV1p4beta1BoundingPoly", +"description": "The bounding box for the paragraph. The vertices are in the order of top-left, top-right, bottom-right, bottom-left. When a rotation of the bounding box is detected the rotation is represented as around the top-left corner as defined when the text is read in the 'natural' orientation. For example: * when the text is horizontal it might look like: 0----1 | | 3----2 * when it's rotated 180 degrees around the top-left corner it becomes: 2----3 | | 1----0 and the vertex order will still be (0, 1, 2, 3)." +}, +"confidence": { +"description": "Confidence of the OCR results for the paragraph. Range [0, 1].", +"format": "float", +"type": "number" +}, +"property": { +"$ref": "GoogleCloudVisionV1p4beta1TextAnnotationTextProperty", +"description": "Additional information detected for the paragraph." +}, +"words": { +"description": "List of all words in this paragraph.", +"items": { +"$ref": "GoogleCloudVisionV1p4beta1Word" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p4beta1Position": { +"description": "A 3D position in the image, used primarily for Face detection landmarks. A valid Position must have both x and y coordinates. The position coordinates are in the same scale as the original image.", +"id": "GoogleCloudVisionV1p4beta1Position", +"properties": { +"x": { +"description": "X coordinate.", +"format": "float", +"type": "number" +}, +"y": { +"description": "Y coordinate.", +"format": "float", +"type": "number" +}, +"z": { +"description": "Z coordinate (or depth).", +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p4beta1Product": { +"description": "A Product contains ReferenceImages.", +"id": "GoogleCloudVisionV1p4beta1Product", +"properties": { +"description": { +"description": "User-provided metadata to be stored with this product. Must be at most 4096 characters long.", +"type": "string" +}, +"displayName": { +"description": "The user-provided name for this Product. Must not be empty. Must be at most 4096 characters long.", +"type": "string" +}, +"name": { +"description": "The resource name of the product. Format is: `projects/PROJECT_ID/locations/LOC_ID/products/PRODUCT_ID`. This field is ignored when creating a product.", +"type": "string" +}, +"productCategory": { +"description": "Immutable. The category for the product identified by the reference image. This should be one of \"homegoods-v2\", \"apparel-v2\", \"toys-v2\", \"packagedgoods-v1\" or \"general-v1\". The legacy categories \"homegoods\", \"apparel\", and \"toys\" are still supported, but these should not be used for new products.", +"type": "string" +}, +"productLabels": { +"description": "Key-value pairs that can be attached to a product. At query time, constraints can be specified based on the product_labels. Note that integer values can be provided as strings, e.g. \"1199\". Only strings with integer values can match a range-based restriction which is to be supported soon. Multiple values can be assigned to the same key. One product may have up to 500 product_labels. Notice that the total number of distinct product_labels over all products in one ProductSet cannot exceed 1M, otherwise the product search pipeline will refuse to work for that ProductSet.", +"items": { +"$ref": "GoogleCloudVisionV1p4beta1ProductKeyValue" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p4beta1ProductKeyValue": { +"description": "A product label represented as a key-value pair.", +"id": "GoogleCloudVisionV1p4beta1ProductKeyValue", +"properties": { +"key": { +"description": "The key of the label attached to the product. Cannot be empty and cannot exceed 128 bytes.", +"type": "string" +}, +"value": { +"description": "The value of the label attached to the product. Cannot be empty and cannot exceed 128 bytes.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p4beta1ProductSearchResults": { +"description": "Results for a product search request.", +"id": "GoogleCloudVisionV1p4beta1ProductSearchResults", +"properties": { +"indexTime": { +"description": "Timestamp of the index which provided these results. Products added to the product set and products removed from the product set after this time are not reflected in the current results.", +"format": "google-datetime", +"type": "string" +}, +"productGroupedResults": { +"description": "List of results grouped by products detected in the query image. Each entry corresponds to one bounding polygon in the query image, and contains the matching products specific to that region. There may be duplicate product matches in the union of all the per-product results.", +"items": { +"$ref": "GoogleCloudVisionV1p4beta1ProductSearchResultsGroupedResult" +}, +"type": "array" +}, +"results": { +"description": "List of results, one for each product match.", +"items": { +"$ref": "GoogleCloudVisionV1p4beta1ProductSearchResultsResult" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p4beta1ProductSearchResultsGroupedResult": { +"description": "Information about the products similar to a single product in a query image.", +"id": "GoogleCloudVisionV1p4beta1ProductSearchResultsGroupedResult", +"properties": { +"boundingPoly": { +"$ref": "GoogleCloudVisionV1p4beta1BoundingPoly", +"description": "The bounding polygon around the product detected in the query image." +}, +"objectAnnotations": { +"description": "List of generic predictions for the object in the bounding box.", +"items": { +"$ref": "GoogleCloudVisionV1p4beta1ProductSearchResultsObjectAnnotation" +}, +"type": "array" +}, +"results": { +"description": "List of results, one for each product match.", +"items": { +"$ref": "GoogleCloudVisionV1p4beta1ProductSearchResultsResult" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p4beta1ProductSearchResultsObjectAnnotation": { +"description": "Prediction for what the object in the bounding box is.", +"id": "GoogleCloudVisionV1p4beta1ProductSearchResultsObjectAnnotation", +"properties": { +"languageCode": { +"description": "The BCP-47 language code, such as \"en-US\" or \"sr-Latn\". For more information, see http://www.unicode.org/reports/tr35/#Unicode_locale_identifier.", +"type": "string" +}, +"mid": { +"description": "Object ID that should align with EntityAnnotation mid.", +"type": "string" +}, +"name": { +"description": "Object name, expressed in its `language_code` language.", +"type": "string" +}, +"score": { +"description": "Score of the result. Range [0, 1].", +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p4beta1ProductSearchResultsResult": { +"description": "Information about a product.", +"id": "GoogleCloudVisionV1p4beta1ProductSearchResultsResult", +"properties": { +"image": { +"description": "The resource name of the image from the product that is the closest match to the query.", +"type": "string" +}, +"product": { +"$ref": "GoogleCloudVisionV1p4beta1Product", +"description": "The Product." +}, +"score": { +"description": "A confidence level on the match, ranging from 0 (no confidence) to 1 (full confidence).", +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p4beta1Property": { +"description": "A `Property` consists of a user-supplied name/value pair.", +"id": "GoogleCloudVisionV1p4beta1Property", +"properties": { +"name": { +"description": "Name of the property.", +"type": "string" +}, +"uint64Value": { +"description": "Value of numeric properties.", +"format": "uint64", +"type": "string" +}, +"value": { +"description": "Value of the property.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p4beta1ReferenceImage": { +"description": "A `ReferenceImage` represents a product image and its associated metadata, such as bounding boxes.", +"id": "GoogleCloudVisionV1p4beta1ReferenceImage", +"properties": { +"boundingPolys": { +"description": "Optional. Bounding polygons around the areas of interest in the reference image. If this field is empty, the system will try to detect regions of interest. At most 10 bounding polygons will be used. The provided shape is converted into a non-rotated rectangle. Once converted, the small edge of the rectangle must be greater than or equal to 300 pixels. The aspect ratio must be 1:4 or less (i.e. 1:3 is ok; 1:5 is not).", +"items": { +"$ref": "GoogleCloudVisionV1p4beta1BoundingPoly" +}, +"type": "array" +}, +"name": { +"description": "The resource name of the reference image. Format is: `projects/PROJECT_ID/locations/LOC_ID/products/PRODUCT_ID/referenceImages/IMAGE_ID`. This field is ignored when creating a reference image.", +"type": "string" +}, +"uri": { +"description": "Required. The Google Cloud Storage URI of the reference image. The URI must start with `gs://`.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p4beta1SafeSearchAnnotation": { +"description": "Set of features pertaining to the image, computed by computer vision methods over safe-search verticals (for example, adult, spoof, medical, violence).", +"id": "GoogleCloudVisionV1p4beta1SafeSearchAnnotation", +"properties": { +"adult": { +"description": "Represents the adult content likelihood for the image. Adult content may contain elements such as nudity, pornographic images or cartoons, or sexual activities.", +"enum": [ +"UNKNOWN", +"VERY_UNLIKELY", +"UNLIKELY", +"POSSIBLE", +"LIKELY", +"VERY_LIKELY" +], +"enumDescriptions": [ +"Unknown likelihood.", +"It is very unlikely.", +"It is unlikely.", +"It is possible.", +"It is likely.", +"It is very likely." +], +"type": "string" +}, +"medical": { +"description": "Likelihood that this is a medical image.", +"enum": [ +"UNKNOWN", +"VERY_UNLIKELY", +"UNLIKELY", +"POSSIBLE", +"LIKELY", +"VERY_LIKELY" +], +"enumDescriptions": [ +"Unknown likelihood.", +"It is very unlikely.", +"It is unlikely.", +"It is possible.", +"It is likely.", +"It is very likely." +], +"type": "string" +}, +"racy": { +"description": "Likelihood that the request image contains racy content. Racy content may include (but is not limited to) skimpy or sheer clothing, strategically covered nudity, lewd or provocative poses, or close-ups of sensitive body areas.", +"enum": [ +"UNKNOWN", +"VERY_UNLIKELY", +"UNLIKELY", +"POSSIBLE", +"LIKELY", +"VERY_LIKELY" +], +"enumDescriptions": [ +"Unknown likelihood.", +"It is very unlikely.", +"It is unlikely.", +"It is possible.", +"It is likely.", +"It is very likely." +], +"type": "string" +}, +"spoof": { +"description": "Spoof likelihood. The likelihood that an modification was made to the image's canonical version to make it appear funny or offensive.", +"enum": [ +"UNKNOWN", +"VERY_UNLIKELY", +"UNLIKELY", +"POSSIBLE", +"LIKELY", +"VERY_LIKELY" +], +"enumDescriptions": [ +"Unknown likelihood.", +"It is very unlikely.", +"It is unlikely.", +"It is possible.", +"It is likely.", +"It is very likely." +], +"type": "string" +}, +"violence": { +"description": "Likelihood that this image contains violent content. Violent content may include death, serious harm, or injury to individuals or groups of individuals.", +"enum": [ +"UNKNOWN", +"VERY_UNLIKELY", +"UNLIKELY", +"POSSIBLE", +"LIKELY", +"VERY_LIKELY" +], +"enumDescriptions": [ +"Unknown likelihood.", +"It is very unlikely.", +"It is unlikely.", +"It is possible.", +"It is likely.", +"It is very likely." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p4beta1Symbol": { +"description": "A single symbol representation.", +"id": "GoogleCloudVisionV1p4beta1Symbol", +"properties": { +"boundingBox": { +"$ref": "GoogleCloudVisionV1p4beta1BoundingPoly", +"description": "The bounding box for the symbol. The vertices are in the order of top-left, top-right, bottom-right, bottom-left. When a rotation of the bounding box is detected the rotation is represented as around the top-left corner as defined when the text is read in the 'natural' orientation. For example: * when the text is horizontal it might look like: 0----1 | | 3----2 * when it's rotated 180 degrees around the top-left corner it becomes: 2----3 | | 1----0 and the vertex order will still be (0, 1, 2, 3)." +}, +"confidence": { +"description": "Confidence of the OCR results for the symbol. Range [0, 1].", +"format": "float", +"type": "number" +}, +"property": { +"$ref": "GoogleCloudVisionV1p4beta1TextAnnotationTextProperty", +"description": "Additional information detected for the symbol." +}, +"text": { +"description": "The actual UTF-8 representation of the symbol.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p4beta1TextAnnotation": { +"description": "TextAnnotation contains a structured representation of OCR extracted text. The hierarchy of an OCR extracted text structure is like this: TextAnnotation -> Page -> Block -> Paragraph -> Word -> Symbol Each structural component, starting from Page, may further have their own properties. Properties describe detected languages, breaks etc.. Please refer to the TextAnnotation.TextProperty message definition below for more detail.", +"id": "GoogleCloudVisionV1p4beta1TextAnnotation", +"properties": { +"pages": { +"description": "List of pages detected by OCR.", +"items": { +"$ref": "GoogleCloudVisionV1p4beta1Page" +}, +"type": "array" +}, +"text": { +"description": "UTF-8 text detected on the pages.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p4beta1TextAnnotationDetectedBreak": { +"description": "Detected start or end of a structural component.", +"id": "GoogleCloudVisionV1p4beta1TextAnnotationDetectedBreak", +"properties": { +"isPrefix": { +"description": "True if break prepends the element.", +"type": "boolean" +}, +"type": { +"description": "Detected break type.", +"enum": [ +"UNKNOWN", +"SPACE", +"SURE_SPACE", +"EOL_SURE_SPACE", +"HYPHEN", +"LINE_BREAK" +], +"enumDescriptions": [ +"Unknown break label type.", +"Regular space.", +"Sure space (very wide).", +"Line-wrapping break.", +"End-line hyphen that is not present in text; does not co-occur with `SPACE`, `LEADER_SPACE`, or `LINE_BREAK`.", +"Line break that ends a paragraph." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p4beta1TextAnnotationDetectedLanguage": { +"description": "Detected language for a structural component.", +"id": "GoogleCloudVisionV1p4beta1TextAnnotationDetectedLanguage", +"properties": { +"confidence": { +"description": "Confidence of detected language. Range [0, 1].", +"format": "float", +"type": "number" +}, +"languageCode": { +"description": "The BCP-47 language code, such as \"en-US\" or \"sr-Latn\". For more information, see http://www.unicode.org/reports/tr35/#Unicode_locale_identifier.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p4beta1TextAnnotationTextProperty": { +"description": "Additional information detected on the structural component.", +"id": "GoogleCloudVisionV1p4beta1TextAnnotationTextProperty", +"properties": { +"detectedBreak": { +"$ref": "GoogleCloudVisionV1p4beta1TextAnnotationDetectedBreak", +"description": "Detected start or end of a text segment." +}, +"detectedLanguages": { +"description": "A list of detected languages together with confidence.", +"items": { +"$ref": "GoogleCloudVisionV1p4beta1TextAnnotationDetectedLanguage" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p4beta1Vertex": { +"description": "A vertex represents a 2D point in the image. NOTE: the vertex coordinates are in the same scale as the original image.", +"id": "GoogleCloudVisionV1p4beta1Vertex", +"properties": { +"x": { +"description": "X coordinate.", +"format": "int32", +"type": "integer" +}, +"y": { +"description": "Y coordinate.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p4beta1WebDetection": { +"description": "Relevant information for the image from the Internet.", +"id": "GoogleCloudVisionV1p4beta1WebDetection", +"properties": { +"bestGuessLabels": { +"description": "The service's best guess as to the topic of the request image. Inferred from similar images on the open web.", +"items": { +"$ref": "GoogleCloudVisionV1p4beta1WebDetectionWebLabel" +}, +"type": "array" +}, +"fullMatchingImages": { +"description": "Fully matching images from the Internet. Can include resized copies of the query image.", +"items": { +"$ref": "GoogleCloudVisionV1p4beta1WebDetectionWebImage" +}, +"type": "array" +}, +"pagesWithMatchingImages": { +"description": "Web pages containing the matching images from the Internet.", +"items": { +"$ref": "GoogleCloudVisionV1p4beta1WebDetectionWebPage" +}, +"type": "array" +}, +"partialMatchingImages": { +"description": "Partial matching images from the Internet. Those images are similar enough to share some key-point features. For example an original image will likely have partial matching for its crops.", +"items": { +"$ref": "GoogleCloudVisionV1p4beta1WebDetectionWebImage" +}, +"type": "array" +}, +"visuallySimilarImages": { +"description": "The visually similar image results.", +"items": { +"$ref": "GoogleCloudVisionV1p4beta1WebDetectionWebImage" +}, +"type": "array" +}, +"webEntities": { +"description": "Deduced entities from similar images on the Internet.", +"items": { +"$ref": "GoogleCloudVisionV1p4beta1WebDetectionWebEntity" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p4beta1WebDetectionWebEntity": { +"description": "Entity deduced from similar images on the Internet.", +"id": "GoogleCloudVisionV1p4beta1WebDetectionWebEntity", +"properties": { +"description": { +"description": "Canonical description of the entity, in English.", +"type": "string" +}, +"entityId": { +"description": "Opaque entity ID.", +"type": "string" +}, +"score": { +"description": "Overall relevancy score for the entity. Not normalized and not comparable across different image queries.", +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p4beta1WebDetectionWebImage": { +"description": "Metadata for online images.", +"id": "GoogleCloudVisionV1p4beta1WebDetectionWebImage", +"properties": { +"score": { +"description": "(Deprecated) Overall relevancy score for the image.", +"format": "float", +"type": "number" +}, +"url": { +"description": "The result image URL.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p4beta1WebDetectionWebLabel": { +"description": "Label to provide extra metadata for the web detection.", +"id": "GoogleCloudVisionV1p4beta1WebDetectionWebLabel", +"properties": { +"label": { +"description": "Label for extra metadata.", +"type": "string" +}, +"languageCode": { +"description": "The BCP-47 language code for `label`, such as \"en-US\" or \"sr-Latn\". For more information, see http://www.unicode.org/reports/tr35/#Unicode_locale_identifier.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p4beta1WebDetectionWebPage": { +"description": "Metadata for web pages.", +"id": "GoogleCloudVisionV1p4beta1WebDetectionWebPage", +"properties": { +"fullMatchingImages": { +"description": "Fully matching images on the page. Can include resized copies of the query image.", +"items": { +"$ref": "GoogleCloudVisionV1p4beta1WebDetectionWebImage" +}, +"type": "array" +}, +"pageTitle": { +"description": "Title for the web page, may contain HTML markups.", +"type": "string" +}, +"partialMatchingImages": { +"description": "Partial matching images on the page. Those images are similar enough to share some key-point features. For example an original image will likely have partial matching for its crops.", +"items": { +"$ref": "GoogleCloudVisionV1p4beta1WebDetectionWebImage" +}, +"type": "array" +}, +"score": { +"description": "(Deprecated) Overall relevancy score for the web page.", +"format": "float", +"type": "number" +}, +"url": { +"description": "The result web page URL.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudVisionV1p4beta1Word": { +"description": "A word representation.", +"id": "GoogleCloudVisionV1p4beta1Word", +"properties": { +"boundingBox": { +"$ref": "GoogleCloudVisionV1p4beta1BoundingPoly", +"description": "The bounding box for the word. The vertices are in the order of top-left, top-right, bottom-right, bottom-left. When a rotation of the bounding box is detected the rotation is represented as around the top-left corner as defined when the text is read in the 'natural' orientation. For example: * when the text is horizontal it might look like: 0----1 | | 3----2 * when it's rotated 180 degrees around the top-left corner it becomes: 2----3 | | 1----0 and the vertex order will still be (0, 1, 2, 3)." +}, +"confidence": { +"description": "Confidence of the OCR results for the word. Range [0, 1].", +"format": "float", +"type": "number" +}, +"property": { +"$ref": "GoogleCloudVisionV1p4beta1TextAnnotationTextProperty", +"description": "Additional information detected for the word." +}, +"symbols": { +"description": "List of symbols in the word. The order of the symbols follows the natural reading order.", +"items": { +"$ref": "GoogleCloudVisionV1p4beta1Symbol" +}, +"type": "array" +} +}, +"type": "object" +}, +"GroupedResult": { +"description": "Information about the products similar to a single product in a query image.", +"id": "GroupedResult", +"properties": { +"boundingPoly": { +"$ref": "BoundingPoly", +"description": "The bounding polygon around the product detected in the query image." +}, +"objectAnnotations": { +"description": "List of generic predictions for the object in the bounding box.", +"items": { +"$ref": "ObjectAnnotation" +}, +"type": "array" +}, +"results": { +"description": "List of results, one for each product match.", +"items": { +"$ref": "Result" +}, +"type": "array" +} +}, +"type": "object" +}, +"ImageAnnotationContext": { +"description": "If an image was produced from a file (e.g. a PDF), this message gives information about the source of that image.", +"id": "ImageAnnotationContext", +"properties": { +"pageNumber": { +"description": "If the file was a PDF or TIFF, this field gives the page number within the file used to produce the image.", +"format": "int32", +"type": "integer" +}, +"uri": { +"description": "The URI of the file used to produce the image.", +"type": "string" +} +}, +"type": "object" +}, +"ImageProperties": { +"description": "Stores image properties, such as dominant colors.", +"id": "ImageProperties", +"properties": { +"dominantColors": { +"$ref": "DominantColorsAnnotation", +"description": "If present, dominant colors completed successfully." +} +}, +"type": "object" +}, +"ImportProductSetsResponse": { +"description": "Response message for the `ImportProductSets` method. This message is returned by the google.longrunning.Operations.GetOperation method in the returned google.longrunning.Operation.response field.", +"id": "ImportProductSetsResponse", +"properties": { +"referenceImages": { +"description": "The list of reference_images that are imported successfully.", +"items": { +"$ref": "ReferenceImage" +}, +"type": "array" +}, +"statuses": { +"description": "The rpc status for each ImportProductSet request, including both successes and errors. The number of statuses here matches the number of lines in the csv file, and statuses[i] stores the success or failure status of processing the i-th line of the csv, starting from line 0.", +"items": { +"$ref": "Status" +}, +"type": "array" +} +}, +"type": "object" +}, +"InputConfig": { +"description": "The desired input location and metadata.", +"id": "InputConfig", +"properties": { +"content": { +"description": "File content, represented as a stream of bytes. Note: As with all `bytes` fields, protobuffers use a pure binary representation, whereas JSON representations use base64. Currently, this field only works for BatchAnnotateFiles requests. It does not work for AsyncBatchAnnotateFiles requests.", +"format": "byte", +"type": "string" +}, +"gcsSource": { +"$ref": "GcsSource", +"description": "The Google Cloud Storage location to read the input from." +}, +"mimeType": { +"description": "The type of the file. Currently only \"application/pdf\", \"image/tiff\" and \"image/gif\" are supported. Wildcards are not supported.", +"type": "string" +} +}, +"type": "object" +}, +"KeyValue": { +"description": "A product label represented as a key-value pair.", +"id": "KeyValue", +"properties": { +"key": { +"description": "The key of the label attached to the product. Cannot be empty and cannot exceed 128 bytes.", +"type": "string" +}, +"value": { +"description": "The value of the label attached to the product. Cannot be empty and cannot exceed 128 bytes.", +"type": "string" +} +}, +"type": "object" +}, +"Landmark": { +"description": "A face-specific landmark (for example, a face feature). Landmark positions may fall outside the bounds of the image if the face is near one or more edges of the image. Therefore it is NOT guaranteed that `0 <= x < width` or `0 <= y < height`.", +"id": "Landmark", +"properties": { +"position": { +"$ref": "Position", +"description": "Face landmark position." +}, +"type": { +"description": "Face landmark type.", +"enum": [ +"UNKNOWN_LANDMARK", +"LEFT_EYE", +"RIGHT_EYE", +"LEFT_OF_LEFT_EYEBROW", +"RIGHT_OF_LEFT_EYEBROW", +"LEFT_OF_RIGHT_EYEBROW", +"RIGHT_OF_RIGHT_EYEBROW", +"MIDPOINT_BETWEEN_EYES", +"NOSE_TIP", +"UPPER_LIP", +"LOWER_LIP", +"MOUTH_LEFT", +"MOUTH_RIGHT", +"MOUTH_CENTER", +"NOSE_BOTTOM_RIGHT", +"NOSE_BOTTOM_LEFT", +"NOSE_BOTTOM_CENTER", +"LEFT_EYE_TOP_BOUNDARY", +"LEFT_EYE_RIGHT_CORNER", +"LEFT_EYE_BOTTOM_BOUNDARY", +"LEFT_EYE_LEFT_CORNER", +"RIGHT_EYE_TOP_BOUNDARY", +"RIGHT_EYE_RIGHT_CORNER", +"RIGHT_EYE_BOTTOM_BOUNDARY", +"RIGHT_EYE_LEFT_CORNER", +"LEFT_EYEBROW_UPPER_MIDPOINT", +"RIGHT_EYEBROW_UPPER_MIDPOINT", +"LEFT_EAR_TRAGION", +"RIGHT_EAR_TRAGION", +"LEFT_EYE_PUPIL", +"RIGHT_EYE_PUPIL", +"FOREHEAD_GLABELLA", +"CHIN_GNATHION", +"CHIN_LEFT_GONION", +"CHIN_RIGHT_GONION", +"LEFT_CHEEK_CENTER", +"RIGHT_CHEEK_CENTER" +], +"enumDescriptions": [ +"Unknown face landmark detected. Should not be filled.", +"Left eye.", +"Right eye.", +"Left of left eyebrow.", +"Right of left eyebrow.", +"Left of right eyebrow.", +"Right of right eyebrow.", +"Midpoint between eyes.", +"Nose tip.", +"Upper lip.", +"Lower lip.", +"Mouth left.", +"Mouth right.", +"Mouth center.", +"Nose, bottom right.", +"Nose, bottom left.", +"Nose, bottom center.", +"Left eye, top boundary.", +"Left eye, right corner.", +"Left eye, bottom boundary.", +"Left eye, left corner.", +"Right eye, top boundary.", +"Right eye, right corner.", +"Right eye, bottom boundary.", +"Right eye, left corner.", +"Left eyebrow, upper midpoint.", +"Right eyebrow, upper midpoint.", +"Left ear tragion.", +"Right ear tragion.", +"Left eye pupil.", +"Right eye pupil.", +"Forehead glabella.", +"Chin gnathion.", +"Chin left gonion.", +"Chin right gonion.", +"Left cheek center.", +"Right cheek center." +], +"type": "string" +} +}, +"type": "object" +}, +"LatLng": { +"description": "An object that represents a latitude/longitude pair. This is expressed as a pair of doubles to represent degrees latitude and degrees longitude. Unless specified otherwise, this object must conform to the WGS84 standard. Values must be within normalized ranges.", +"id": "LatLng", +"properties": { +"latitude": { +"description": "The latitude in degrees. It must be in the range [-90.0, +90.0].", +"format": "double", +"type": "number" +}, +"longitude": { +"description": "The longitude in degrees. It must be in the range [-180.0, +180.0].", +"format": "double", +"type": "number" +} +}, +"type": "object" +}, +"LocalizedObjectAnnotation": { +"description": "Set of detected objects with bounding boxes.", +"id": "LocalizedObjectAnnotation", +"properties": { +"boundingPoly": { +"$ref": "BoundingPoly", +"description": "Image region to which this object belongs. This must be populated." +}, +"languageCode": { +"description": "The BCP-47 language code, such as \"en-US\" or \"sr-Latn\". For more information, see http://www.unicode.org/reports/tr35/#Unicode_locale_identifier.", +"type": "string" +}, +"mid": { +"description": "Object ID that should align with EntityAnnotation mid.", +"type": "string" +}, +"name": { +"description": "Object name, expressed in its `language_code` language.", +"type": "string" +}, +"score": { +"description": "Score of the result. Range [0, 1].", +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"LocationInfo": { +"description": "Detected entity location information.", +"id": "LocationInfo", +"properties": { +"latLng": { +"$ref": "LatLng", +"description": "lat/long location coordinates." +} +}, +"type": "object" +}, +"NormalizedVertex": { +"description": "A vertex represents a 2D point in the image. NOTE: the normalized vertex coordinates are relative to the original image and range from 0 to 1.", +"id": "NormalizedVertex", +"properties": { +"x": { +"description": "X coordinate.", +"format": "float", +"type": "number" +}, +"y": { +"description": "Y coordinate.", +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"ObjectAnnotation": { +"description": "Prediction for what the object in the bounding box is.", +"id": "ObjectAnnotation", +"properties": { +"languageCode": { +"description": "The BCP-47 language code, such as \"en-US\" or \"sr-Latn\". For more information, see http://www.unicode.org/reports/tr35/#Unicode_locale_identifier.", +"type": "string" +}, +"mid": { +"description": "Object ID that should align with EntityAnnotation mid.", +"type": "string" +}, +"name": { +"description": "Object name, expressed in its `language_code` language.", +"type": "string" +}, +"score": { +"description": "Score of the result. Range [0, 1].", +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"Operation": { +"description": "This resource represents a long-running operation that is the result of a network API call.", +"id": "Operation", +"properties": { +"done": { +"description": "If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.", +"type": "boolean" +}, +"error": { +"$ref": "Status", +"description": "The error result of the operation in case of failure or cancellation." +}, +"metadata": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.", +"type": "object" +}, +"name": { +"description": "The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.", +"type": "string" +}, +"response": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "The normal, successful response of the operation. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.", +"type": "object" +} +}, +"type": "object" +}, +"OperationMetadata": { +"description": "Contains metadata for the BatchAnnotateImages operation.", +"id": "OperationMetadata", +"properties": { +"createTime": { +"description": "The time when the batch request was received.", +"format": "google-datetime", +"type": "string" +}, +"state": { +"description": "Current state of the batch operation.", +"enum": [ +"STATE_UNSPECIFIED", +"CREATED", +"RUNNING", +"DONE", +"CANCELLED" +], +"enumDescriptions": [ +"Invalid.", +"Request is received.", +"Request is actively being processed.", +"The batch processing is done.", +"The batch processing was cancelled." +], +"type": "string" +}, +"updateTime": { +"description": "The time when the operation result was last updated.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"OutputConfig": { +"description": "The desired output location and metadata.", +"id": "OutputConfig", +"properties": { +"batchSize": { +"description": "The max number of response protos to put into each output JSON file on Google Cloud Storage. The valid range is [1, 100]. If not specified, the default value is 20. For example, for one pdf file with 100 pages, 100 response protos will be generated. If `batch_size` = 20, then 5 json files each containing 20 response protos will be written under the prefix `gcs_destination`.`uri`. Currently, batch_size only applies to GcsDestination, with potential future support for other output configurations.", +"format": "int32", +"type": "integer" +}, +"gcsDestination": { +"$ref": "GcsDestination", +"description": "The Google Cloud Storage location to write the output(s) to." +} +}, +"type": "object" +}, +"Page": { +"description": "Detected page from OCR.", +"id": "Page", +"properties": { +"blocks": { +"description": "List of blocks of text, images etc on this page.", +"items": { +"$ref": "Block" +}, +"type": "array" +}, +"confidence": { +"description": "Confidence of the OCR results on the page. Range [0, 1].", +"format": "float", +"type": "number" +}, +"height": { +"description": "Page height. For PDFs the unit is points. For images (including TIFFs) the unit is pixels.", +"format": "int32", +"type": "integer" +}, +"property": { +"$ref": "TextProperty", +"description": "Additional information detected on the page." +}, +"width": { +"description": "Page width. For PDFs the unit is points. For images (including TIFFs) the unit is pixels.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"Paragraph": { +"description": "Structural unit of text representing a number of words in certain order.", +"id": "Paragraph", +"properties": { +"boundingBox": { +"$ref": "BoundingPoly", +"description": "The bounding box for the paragraph. The vertices are in the order of top-left, top-right, bottom-right, bottom-left. When a rotation of the bounding box is detected the rotation is represented as around the top-left corner as defined when the text is read in the 'natural' orientation. For example: * when the text is horizontal it might look like: 0----1 | | 3----2 * when it's rotated 180 degrees around the top-left corner it becomes: 2----3 | | 1----0 and the vertex order will still be (0, 1, 2, 3)." +}, +"confidence": { +"description": "Confidence of the OCR results for the paragraph. Range [0, 1].", +"format": "float", +"type": "number" +}, +"property": { +"$ref": "TextProperty", +"description": "Additional information detected for the paragraph." +}, +"words": { +"description": "List of all words in this paragraph.", +"items": { +"$ref": "Word" +}, +"type": "array" +} +}, +"type": "object" +}, +"Position": { +"description": "A 3D position in the image, used primarily for Face detection landmarks. A valid Position must have both x and y coordinates. The position coordinates are in the same scale as the original image.", +"id": "Position", +"properties": { +"x": { +"description": "X coordinate.", +"format": "float", +"type": "number" +}, +"y": { +"description": "Y coordinate.", +"format": "float", +"type": "number" +}, +"z": { +"description": "Z coordinate (or depth).", +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"Product": { +"description": "A Product contains ReferenceImages.", +"id": "Product", +"properties": { +"description": { +"description": "User-provided metadata to be stored with this product. Must be at most 4096 characters long.", +"type": "string" +}, +"displayName": { +"description": "The user-provided name for this Product. Must not be empty. Must be at most 4096 characters long.", +"type": "string" +}, +"name": { +"description": "The resource name of the product. Format is: `projects/PROJECT_ID/locations/LOC_ID/products/PRODUCT_ID`. This field is ignored when creating a product.", +"type": "string" +}, +"productCategory": { +"description": "Immutable. The category for the product identified by the reference image. This should be one of \"homegoods-v2\", \"apparel-v2\", \"toys-v2\", \"packagedgoods-v1\" or \"general-v1\". The legacy categories \"homegoods\", \"apparel\", and \"toys\" are still supported, but these should not be used for new products.", +"type": "string" +}, +"productLabels": { +"description": "Key-value pairs that can be attached to a product. At query time, constraints can be specified based on the product_labels. Note that integer values can be provided as strings, e.g. \"1199\". Only strings with integer values can match a range-based restriction which is to be supported soon. Multiple values can be assigned to the same key. One product may have up to 500 product_labels. Notice that the total number of distinct product_labels over all products in one ProductSet cannot exceed 1M, otherwise the product search pipeline will refuse to work for that ProductSet.", +"items": { +"$ref": "KeyValue" +}, +"type": "array" +} +}, +"type": "object" +}, +"ProductSearchResults": { +"description": "Results for a product search request.", +"id": "ProductSearchResults", +"properties": { +"indexTime": { +"description": "Timestamp of the index which provided these results. Products added to the product set and products removed from the product set after this time are not reflected in the current results.", +"format": "google-datetime", +"type": "string" +}, +"productGroupedResults": { +"description": "List of results grouped by products detected in the query image. Each entry corresponds to one bounding polygon in the query image, and contains the matching products specific to that region. There may be duplicate product matches in the union of all the per-product results.", +"items": { +"$ref": "GroupedResult" +}, +"type": "array" +}, +"results": { +"description": "List of results, one for each product match.", +"items": { +"$ref": "Result" +}, +"type": "array" +} +}, +"type": "object" +}, +"Property": { +"description": "A `Property` consists of a user-supplied name/value pair.", +"id": "Property", +"properties": { +"name": { +"description": "Name of the property.", +"type": "string" +}, +"uint64Value": { +"description": "Value of numeric properties.", +"format": "uint64", +"type": "string" +}, +"value": { +"description": "Value of the property.", +"type": "string" +} +}, +"type": "object" +}, +"ReferenceImage": { +"description": "A `ReferenceImage` represents a product image and its associated metadata, such as bounding boxes.", +"id": "ReferenceImage", +"properties": { +"boundingPolys": { +"description": "Optional. Bounding polygons around the areas of interest in the reference image. If this field is empty, the system will try to detect regions of interest. At most 10 bounding polygons will be used. The provided shape is converted into a non-rotated rectangle. Once converted, the small edge of the rectangle must be greater than or equal to 300 pixels. The aspect ratio must be 1:4 or less (i.e. 1:3 is ok; 1:5 is not).", +"items": { +"$ref": "BoundingPoly" +}, +"type": "array" +}, +"name": { +"description": "The resource name of the reference image. Format is: `projects/PROJECT_ID/locations/LOC_ID/products/PRODUCT_ID/referenceImages/IMAGE_ID`. This field is ignored when creating a reference image.", +"type": "string" +}, +"uri": { +"description": "Required. The Google Cloud Storage URI of the reference image. The URI must start with `gs://`.", +"type": "string" +} +}, +"type": "object" +}, +"Result": { +"description": "Information about a product.", +"id": "Result", +"properties": { +"image": { +"description": "The resource name of the image from the product that is the closest match to the query.", +"type": "string" +}, +"product": { +"$ref": "Product", +"description": "The Product." +}, +"score": { +"description": "A confidence level on the match, ranging from 0 (no confidence) to 1 (full confidence).", +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"SafeSearchAnnotation": { +"description": "Set of features pertaining to the image, computed by computer vision methods over safe-search verticals (for example, adult, spoof, medical, violence).", +"id": "SafeSearchAnnotation", +"properties": { +"adult": { +"description": "Represents the adult content likelihood for the image. Adult content may contain elements such as nudity, pornographic images or cartoons, or sexual activities.", +"enum": [ +"UNKNOWN", +"VERY_UNLIKELY", +"UNLIKELY", +"POSSIBLE", +"LIKELY", +"VERY_LIKELY" +], +"enumDescriptions": [ +"Unknown likelihood.", +"It is very unlikely.", +"It is unlikely.", +"It is possible.", +"It is likely.", +"It is very likely." +], +"type": "string" +}, +"medical": { +"description": "Likelihood that this is a medical image.", +"enum": [ +"UNKNOWN", +"VERY_UNLIKELY", +"UNLIKELY", +"POSSIBLE", +"LIKELY", +"VERY_LIKELY" +], +"enumDescriptions": [ +"Unknown likelihood.", +"It is very unlikely.", +"It is unlikely.", +"It is possible.", +"It is likely.", +"It is very likely." +], +"type": "string" +}, +"racy": { +"description": "Likelihood that the request image contains racy content. Racy content may include (but is not limited to) skimpy or sheer clothing, strategically covered nudity, lewd or provocative poses, or close-ups of sensitive body areas.", +"enum": [ +"UNKNOWN", +"VERY_UNLIKELY", +"UNLIKELY", +"POSSIBLE", +"LIKELY", +"VERY_LIKELY" +], +"enumDescriptions": [ +"Unknown likelihood.", +"It is very unlikely.", +"It is unlikely.", +"It is possible.", +"It is likely.", +"It is very likely." +], +"type": "string" +}, +"spoof": { +"description": "Spoof likelihood. The likelihood that an modification was made to the image's canonical version to make it appear funny or offensive.", +"enum": [ +"UNKNOWN", +"VERY_UNLIKELY", +"UNLIKELY", +"POSSIBLE", +"LIKELY", +"VERY_LIKELY" +], +"enumDescriptions": [ +"Unknown likelihood.", +"It is very unlikely.", +"It is unlikely.", +"It is possible.", +"It is likely.", +"It is very likely." +], +"type": "string" +}, +"violence": { +"description": "Likelihood that this image contains violent content. Violent content may include death, serious harm, or injury to individuals or groups of individuals.", +"enum": [ +"UNKNOWN", +"VERY_UNLIKELY", +"UNLIKELY", +"POSSIBLE", +"LIKELY", +"VERY_LIKELY" +], +"enumDescriptions": [ +"Unknown likelihood.", +"It is very unlikely.", +"It is unlikely.", +"It is possible.", +"It is likely.", +"It is very likely." +], +"type": "string" +} +}, +"type": "object" +}, +"Status": { +"description": "The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors).", +"id": "Status", +"properties": { +"code": { +"description": "The status code, which should be an enum value of google.rpc.Code.", +"format": "int32", +"type": "integer" +}, +"details": { +"description": "A list of messages that carry the error details. There is a common set of message types for APIs to use.", +"items": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.", +"type": "string" +} +}, +"type": "object" +}, +"Symbol": { +"description": "A single symbol representation.", +"id": "Symbol", +"properties": { +"boundingBox": { +"$ref": "BoundingPoly", +"description": "The bounding box for the symbol. The vertices are in the order of top-left, top-right, bottom-right, bottom-left. When a rotation of the bounding box is detected the rotation is represented as around the top-left corner as defined when the text is read in the 'natural' orientation. For example: * when the text is horizontal it might look like: 0----1 | | 3----2 * when it's rotated 180 degrees around the top-left corner it becomes: 2----3 | | 1----0 and the vertex order will still be (0, 1, 2, 3)." +}, +"confidence": { +"description": "Confidence of the OCR results for the symbol. Range [0, 1].", +"format": "float", +"type": "number" +}, +"property": { +"$ref": "TextProperty", +"description": "Additional information detected for the symbol." +}, +"text": { +"description": "The actual UTF-8 representation of the symbol.", +"type": "string" +} +}, +"type": "object" +}, +"TextAnnotation": { +"description": "TextAnnotation contains a structured representation of OCR extracted text. The hierarchy of an OCR extracted text structure is like this: TextAnnotation -> Page -> Block -> Paragraph -> Word -> Symbol Each structural component, starting from Page, may further have their own properties. Properties describe detected languages, breaks etc.. Please refer to the TextAnnotation.TextProperty message definition below for more detail.", +"id": "TextAnnotation", +"properties": { +"pages": { +"description": "List of pages detected by OCR.", +"items": { +"$ref": "Page" +}, +"type": "array" +}, +"text": { +"description": "UTF-8 text detected on the pages.", +"type": "string" +} +}, +"type": "object" +}, +"TextProperty": { +"description": "Additional information detected on the structural component.", +"id": "TextProperty", +"properties": { +"detectedBreak": { +"$ref": "DetectedBreak", +"description": "Detected start or end of a text segment." +}, +"detectedLanguages": { +"description": "A list of detected languages together with confidence.", +"items": { +"$ref": "DetectedLanguage" +}, +"type": "array" +} +}, +"type": "object" +}, +"Vertex": { +"description": "A vertex represents a 2D point in the image. NOTE: the vertex coordinates are in the same scale as the original image.", +"id": "Vertex", +"properties": { +"x": { +"description": "X coordinate.", +"format": "int32", +"type": "integer" +}, +"y": { +"description": "Y coordinate.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"WebDetection": { +"description": "Relevant information for the image from the Internet.", +"id": "WebDetection", +"properties": { +"bestGuessLabels": { +"description": "The service's best guess as to the topic of the request image. Inferred from similar images on the open web.", +"items": { +"$ref": "WebLabel" +}, +"type": "array" +}, +"fullMatchingImages": { +"description": "Fully matching images from the Internet. Can include resized copies of the query image.", +"items": { +"$ref": "WebImage" +}, +"type": "array" +}, +"pagesWithMatchingImages": { +"description": "Web pages containing the matching images from the Internet.", +"items": { +"$ref": "WebPage" +}, +"type": "array" +}, +"partialMatchingImages": { +"description": "Partial matching images from the Internet. Those images are similar enough to share some key-point features. For example an original image will likely have partial matching for its crops.", +"items": { +"$ref": "WebImage" +}, +"type": "array" +}, +"visuallySimilarImages": { +"description": "The visually similar image results.", +"items": { +"$ref": "WebImage" +}, +"type": "array" +}, +"webEntities": { +"description": "Deduced entities from similar images on the Internet.", +"items": { +"$ref": "WebEntity" +}, +"type": "array" +} +}, +"type": "object" +}, +"WebEntity": { +"description": "Entity deduced from similar images on the Internet.", +"id": "WebEntity", +"properties": { +"description": { +"description": "Canonical description of the entity, in English.", +"type": "string" +}, +"entityId": { +"description": "Opaque entity ID.", +"type": "string" +}, +"score": { +"description": "Overall relevancy score for the entity. Not normalized and not comparable across different image queries.", +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"WebImage": { +"description": "Metadata for online images.", +"id": "WebImage", +"properties": { +"score": { +"description": "(Deprecated) Overall relevancy score for the image.", +"format": "float", +"type": "number" +}, +"url": { +"description": "The result image URL.", +"type": "string" +} +}, +"type": "object" +}, +"WebLabel": { +"description": "Label to provide extra metadata for the web detection.", +"id": "WebLabel", +"properties": { +"label": { +"description": "Label for extra metadata.", +"type": "string" +}, +"languageCode": { +"description": "The BCP-47 language code for `label`, such as \"en-US\" or \"sr-Latn\". For more information, see http://www.unicode.org/reports/tr35/#Unicode_locale_identifier.", +"type": "string" +} +}, +"type": "object" +}, +"WebPage": { +"description": "Metadata for web pages.", +"id": "WebPage", +"properties": { +"fullMatchingImages": { +"description": "Fully matching images on the page. Can include resized copies of the query image.", +"items": { +"$ref": "WebImage" +}, +"type": "array" +}, +"pageTitle": { +"description": "Title for the web page, may contain HTML markups.", +"type": "string" +}, +"partialMatchingImages": { +"description": "Partial matching images on the page. Those images are similar enough to share some key-point features. For example an original image will likely have partial matching for its crops.", +"items": { +"$ref": "WebImage" +}, +"type": "array" +}, +"score": { +"description": "(Deprecated) Overall relevancy score for the web page.", +"format": "float", +"type": "number" +}, +"url": { +"description": "The result web page URL.", +"type": "string" +} +}, +"type": "object" +}, +"Word": { +"description": "A word representation.", +"id": "Word", +"properties": { +"boundingBox": { +"$ref": "BoundingPoly", +"description": "The bounding box for the word. The vertices are in the order of top-left, top-right, bottom-right, bottom-left. When a rotation of the bounding box is detected the rotation is represented as around the top-left corner as defined when the text is read in the 'natural' orientation. For example: * when the text is horizontal it might look like: 0----1 | | 3----2 * when it's rotated 180 degrees around the top-left corner it becomes: 2----3 | | 1----0 and the vertex order will still be (0, 1, 2, 3)." +}, +"confidence": { +"description": "Confidence of the OCR results for the word. Range [0, 1].", +"format": "float", +"type": "number" +}, +"property": { +"$ref": "TextProperty", +"description": "Additional information detected for the word." +}, +"symbols": { +"description": "List of symbols in the word. The order of the symbols follows the natural reading order.", +"items": { +"$ref": "Symbol" +}, +"type": "array" +} +}, +"type": "object" +} +}, +"servicePath": "", +"title": "Cloud Vision API", +"version": "v1p2beta1", +"version_module": true +} \ No newline at end of file diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/vmmigration.v1.json b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/vmmigration.v1.json new file mode 100644 index 0000000000000000000000000000000000000000..66df190134ae613a5cd34bb12b48c4acf19c3b40 --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/vmmigration.v1.json @@ -0,0 +1,6899 @@ +{ +"auth": { +"oauth2": { +"scopes": { +"https://www.googleapis.com/auth/cloud-platform": { +"description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." +} +} +} +}, +"basePath": "", +"baseUrl": "https://vmmigration.googleapis.com/", +"batchPath": "batch", +"canonicalName": "VM Migration Service", +"description": "Use the Migrate to Virtual Machines API to programmatically migrate workloads. ", +"discoveryVersion": "v1", +"documentationLink": "https://cloud.google.com/migrate/virtual-machines", +"fullyEncodeReservedExpansion": true, +"icons": { +"x16": "http://www.google.com/images/icons/product/search-16.gif", +"x32": "http://www.google.com/images/icons/product/search-32.gif" +}, +"id": "vmmigration:v1", +"kind": "discovery#restDescription", +"mtlsRootUrl": "https://vmmigration.mtls.googleapis.com/", +"name": "vmmigration", +"ownerDomain": "google.com", +"ownerName": "Google", +"parameters": { +"$.xgafv": { +"description": "V1 error format.", +"enum": [ +"1", +"2" +], +"enumDescriptions": [ +"v1 error format", +"v2 error format" +], +"location": "query", +"type": "string" +}, +"access_token": { +"description": "OAuth access token.", +"location": "query", +"type": "string" +}, +"alt": { +"default": "json", +"description": "Data format for response.", +"enum": [ +"json", +"media", +"proto" +], +"enumDescriptions": [ +"Responses with Content-Type of application/json", +"Media download with context-dependent Content-Type", +"Responses with Content-Type of application/x-protobuf" +], +"location": "query", +"type": "string" +}, +"callback": { +"description": "JSONP", +"location": "query", +"type": "string" +}, +"fields": { +"description": "Selector specifying which fields to include in a partial response.", +"location": "query", +"type": "string" +}, +"key": { +"description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", +"location": "query", +"type": "string" +}, +"oauth_token": { +"description": "OAuth 2.0 token for the current user.", +"location": "query", +"type": "string" +}, +"prettyPrint": { +"default": "true", +"description": "Returns response with indentations and line breaks.", +"location": "query", +"type": "boolean" +}, +"quotaUser": { +"description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.", +"location": "query", +"type": "string" +}, +"uploadType": { +"description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", +"location": "query", +"type": "string" +}, +"upload_protocol": { +"description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", +"location": "query", +"type": "string" +} +}, +"protocol": "rest", +"resources": { +"projects": { +"resources": { +"locations": { +"methods": { +"get": { +"description": "Gets information about a location.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}", +"httpMethod": "GET", +"id": "vmmigration.projects.locations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Resource name for the location.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Location" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists information about the supported locations for this service. This method can be called in two ways: * **List all public locations:** Use the path `GET /v1/locations`. * **List project-visible locations:** Use the path `GET /v1/projects/{project_id}/locations`. This may include public locations as well as private or other locations specifically visible to the project.", +"flatPath": "v1/projects/{projectsId}/locations", +"httpMethod": "GET", +"id": "vmmigration.projects.locations.list", +"parameterOrder": [ +"name" +], +"parameters": { +"extraLocationTypes": { +"description": "Optional. Do not use this field. It is unsupported and is ignored unless explicitly documented otherwise. This is primarily for internal usage.", +"location": "query", +"repeated": true, +"type": "string" +}, +"filter": { +"description": "A filter to narrow down results to a preferred subset. The filtering language accepts strings like `\"displayName=tokyo\"`, and is documented in more detail in [AIP-160](https://google.aip.dev/160).", +"location": "query", +"type": "string" +}, +"name": { +"description": "The resource that owns the locations collection, if applicable.", +"location": "path", +"pattern": "^projects/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The maximum number of results to return. If not set, the service selects a default.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A page token received from the `next_page_token` field in the response. Send that page token to receive the subsequent page.", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}/locations", +"response": { +"$ref": "ListLocationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"groups": { +"methods": { +"addGroupMigration": { +"description": "Adds a MigratingVm to a Group.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/groups/{groupsId}:addGroupMigration", +"httpMethod": "POST", +"id": "vmmigration.projects.locations.groups.addGroupMigration", +"parameterOrder": [ +"group" +], +"parameters": { +"group": { +"description": "Required. The full path name of the Group to add to.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/groups/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+group}:addGroupMigration", +"request": { +"$ref": "AddGroupMigrationRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"create": { +"description": "Creates a new Group in a given project and location.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/groups", +"httpMethod": "POST", +"id": "vmmigration.projects.locations.groups.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"groupId": { +"description": "Required. The group identifier.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The Group's parent.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+parent}/groups", +"request": { +"$ref": "Group" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a single Group.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/groups/{groupsId}", +"httpMethod": "DELETE", +"id": "vmmigration.projects.locations.groups.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The Group name.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/groups/[^/]+$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "Optional. A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes after the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets details of a single Group.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/groups/{groupsId}", +"httpMethod": "GET", +"id": "vmmigration.projects.locations.groups.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The group name.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/groups/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Group" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists Groups in a given project and location.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/groups", +"httpMethod": "GET", +"id": "vmmigration.projects.locations.groups.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Optional. The filter request.", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "Optional. the order by fields for the result.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Optional. The maximum number of groups to return. The service may return fewer than this value. If unspecified, at most 500 groups will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Required. A page token, received from a previous `ListGroups` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListGroups` must match the call that provided the page token.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent, which owns this collection of groups.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/groups", +"response": { +"$ref": "ListGroupsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates the parameters of a single Group.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/groups/{groupsId}", +"httpMethod": "PATCH", +"id": "vmmigration.projects.locations.groups.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Output only. The Group name.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/groups/[^/]+$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"updateMask": { +"description": "Field mask is used to specify the fields to be overwritten in the Group resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "Group" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"removeGroupMigration": { +"description": "Removes a MigratingVm from a Group.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/groups/{groupsId}:removeGroupMigration", +"httpMethod": "POST", +"id": "vmmigration.projects.locations.groups.removeGroupMigration", +"parameterOrder": [ +"group" +], +"parameters": { +"group": { +"description": "Required. The name of the Group.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/groups/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+group}:removeGroupMigration", +"request": { +"$ref": "RemoveGroupMigrationRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"imageImports": { +"methods": { +"create": { +"description": "Creates a new ImageImport in a given project.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/imageImports", +"httpMethod": "POST", +"id": "vmmigration.projects.locations.imageImports.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"imageImportId": { +"description": "Required. The image import identifier. This value maximum length is 63 characters, and valid characters are /a-z-/. It must start with an english letter and must not end with a hyphen.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The ImageImport's parent.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "Optional. A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+parent}/imageImports", +"request": { +"$ref": "ImageImport" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a single ImageImport.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/imageImports/{imageImportsId}", +"httpMethod": "DELETE", +"id": "vmmigration.projects.locations.imageImports.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The ImageImport name.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/imageImports/[^/]+$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "Optional. A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes after the first request. For example, consider a situation where you make an initial request and t he request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets details of a single ImageImport.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/imageImports/{imageImportsId}", +"httpMethod": "GET", +"id": "vmmigration.projects.locations.imageImports.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The ImageImport name.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/imageImports/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "ImageImport" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists ImageImports in a given project.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/imageImports", +"httpMethod": "GET", +"id": "vmmigration.projects.locations.imageImports.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Optional. The filter request (according to AIP-160).", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "Optional. The order by fields for the result (according to AIP-132). Currently ordering is only possible by \"name\" field.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Optional. The maximum number of targets to return. The service may return fewer than this value. If unspecified, at most 500 targets will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. A page token, received from a previous `ListImageImports` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListImageImports` must match the call that provided the page token.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent, which owns this collection of targets.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/imageImports", +"response": { +"$ref": "ListImageImportsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"imageImportJobs": { +"methods": { +"cancel": { +"description": "Initiates the cancellation of a running ImageImportJob.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/imageImports/{imageImportsId}/imageImportJobs/{imageImportJobsId}:cancel", +"httpMethod": "POST", +"id": "vmmigration.projects.locations.imageImports.imageImportJobs.cancel", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The image import job id.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/imageImports/[^/]+/imageImportJobs/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:cancel", +"request": { +"$ref": "CancelImageImportJobRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets details of a single ImageImportJob.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/imageImports/{imageImportsId}/imageImportJobs/{imageImportJobsId}", +"httpMethod": "GET", +"id": "vmmigration.projects.locations.imageImports.imageImportJobs.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The ImageImportJob name.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/imageImports/[^/]+/imageImportJobs/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "ImageImportJob" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists ImageImportJobs in a given project.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/imageImports/{imageImportsId}/imageImportJobs", +"httpMethod": "GET", +"id": "vmmigration.projects.locations.imageImports.imageImportJobs.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Optional. The filter request (according to AIP-160).", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "Optional. The order by fields for the result (according to AIP-132). Currently ordering is only possible by \"name\" field.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Optional. The maximum number of targets to return. The service may return fewer than this value. If unspecified, at most 500 targets will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. A page token, received from a previous `ListImageImportJobs` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListImageImportJobs` must match the call that provided the page token.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent, which owns this collection of targets.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/imageImports/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/imageImportJobs", +"response": { +"$ref": "ListImageImportJobsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +}, +"operations": { +"methods": { +"cancel": { +"description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}:cancel", +"httpMethod": "POST", +"id": "vmmigration.projects.locations.operations.cancel", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be cancelled.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:cancel", +"request": { +"$ref": "CancelOperationRequest" +}, +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}", +"httpMethod": "DELETE", +"id": "vmmigration.projects.locations.operations.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be deleted.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}", +"httpMethod": "GET", +"id": "vmmigration.projects.locations.operations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/operations", +"httpMethod": "GET", +"id": "vmmigration.projects.locations.operations.list", +"parameterOrder": [ +"name" +], +"parameters": { +"filter": { +"description": "The standard list filter.", +"location": "query", +"type": "string" +}, +"name": { +"description": "The name of the operation's parent resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The standard list page size.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The standard list page token.", +"location": "query", +"type": "string" +}, +"returnPartialSuccess": { +"description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `\"projects/example/locations/-\"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1/{+name}/operations", +"response": { +"$ref": "ListOperationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"sources": { +"methods": { +"create": { +"description": "Creates a new Source in a given project and location.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/sources", +"httpMethod": "POST", +"id": "vmmigration.projects.locations.sources.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The Source's parent.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"sourceId": { +"description": "Required. The source identifier.", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+parent}/sources", +"request": { +"$ref": "Source" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a single Source.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/sources/{sourcesId}", +"httpMethod": "DELETE", +"id": "vmmigration.projects.locations.sources.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The Source name.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/sources/[^/]+$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "Optional. A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes after the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"fetchInventory": { +"description": "List remote source's inventory of VMs. The remote source is the onprem vCenter (remote in the sense it's not in Compute Engine). The inventory describes the list of existing VMs in that source. Note that this operation lists the VMs on the remote source, as opposed to listing the MigratingVms resources in the vmmigration service.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/sources/{sourcesId}:fetchInventory", +"httpMethod": "GET", +"id": "vmmigration.projects.locations.sources.fetchInventory", +"parameterOrder": [ +"source" +], +"parameters": { +"forceRefresh": { +"description": "If this flag is set to true, the source will be queried instead of using cached results. Using this flag will make the call slower.", +"location": "query", +"type": "boolean" +}, +"pageSize": { +"description": "The maximum number of VMs to return. The service may return fewer than this value. For AWS source: If unspecified, at most 500 VMs will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000. For VMWare source: If unspecified, all VMs will be returned. There is no limit for maximum value.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A page token, received from a previous `FetchInventory` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `FetchInventory` must match the call that provided the page token.", +"location": "query", +"type": "string" +}, +"source": { +"description": "Required. The name of the Source.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/sources/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+source}:fetchInventory", +"response": { +"$ref": "FetchInventoryResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"fetchStorageInventory": { +"description": "List remote source's inventory of storage resources. The remote source is another cloud vendor (e.g. AWS, Azure). The inventory describes the list of existing storage resources in that source. Note that this operation lists the resources on the remote source, as opposed to listing the MigratingVms resources in the vmmigration service.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/sources/{sourcesId}:fetchStorageInventory", +"httpMethod": "GET", +"id": "vmmigration.projects.locations.sources.fetchStorageInventory", +"parameterOrder": [ +"source" +], +"parameters": { +"forceRefresh": { +"description": "Optional. If this flag is set to true, the source will be queried instead of using cached results. Using this flag will make the call slower.", +"location": "query", +"type": "boolean" +}, +"pageSize": { +"description": "Optional. The maximum number of VMs to return. The service may return fewer than this value.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. A page token, received from a previous `FetchStorageInventory` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `FetchStorageInventory` must match the call that provided the page token.", +"location": "query", +"type": "string" +}, +"source": { +"description": "Required. The name of the Source.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/sources/[^/]+$", +"required": true, +"type": "string" +}, +"type": { +"description": "Required. The type of the storage inventory to fetch.", +"enum": [ +"STORAGE_TYPE_UNSPECIFIED", +"DISKS", +"SNAPSHOTS" +], +"enumDescriptions": [ +"The type is unspecified.", +"The type is disks.", +"The type is snapshots." +], +"location": "query", +"type": "string" +} +}, +"path": "v1/{+source}:fetchStorageInventory", +"response": { +"$ref": "FetchStorageInventoryResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets details of a single Source.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/sources/{sourcesId}", +"httpMethod": "GET", +"id": "vmmigration.projects.locations.sources.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The Source name.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/sources/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Source" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists Sources in a given project and location.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/sources", +"httpMethod": "GET", +"id": "vmmigration.projects.locations.sources.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Optional. The filter request.", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "Optional. the order by fields for the result.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Optional. The maximum number of sources to return. The service may return fewer than this value. If unspecified, at most 500 sources will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Required. A page token, received from a previous `ListSources` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListSources` must match the call that provided the page token.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent, which owns this collection of sources.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/sources", +"response": { +"$ref": "ListSourcesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates the parameters of a single Source.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/sources/{sourcesId}", +"httpMethod": "PATCH", +"id": "vmmigration.projects.locations.sources.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Output only. The Source name.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/sources/[^/]+$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"updateMask": { +"description": "Field mask is used to specify the fields to be overwritten in the Source resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "Source" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"datacenterConnectors": { +"methods": { +"create": { +"description": "Creates a new DatacenterConnector in a given Source.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/sources/{sourcesId}/datacenterConnectors", +"httpMethod": "POST", +"id": "vmmigration.projects.locations.sources.datacenterConnectors.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"datacenterConnectorId": { +"description": "Required. The datacenterConnector identifier.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The DatacenterConnector's parent. Required. The Source in where the new DatacenterConnector will be created. For example: `projects/my-project/locations/us-central1/sources/my-source`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/sources/[^/]+$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+parent}/datacenterConnectors", +"request": { +"$ref": "DatacenterConnector" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a single DatacenterConnector.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/sources/{sourcesId}/datacenterConnectors/{datacenterConnectorsId}", +"httpMethod": "DELETE", +"id": "vmmigration.projects.locations.sources.datacenterConnectors.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The DatacenterConnector name.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/sources/[^/]+/datacenterConnectors/[^/]+$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes after the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets details of a single DatacenterConnector.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/sources/{sourcesId}/datacenterConnectors/{datacenterConnectorsId}", +"httpMethod": "GET", +"id": "vmmigration.projects.locations.sources.datacenterConnectors.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the DatacenterConnector.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/sources/[^/]+/datacenterConnectors/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "DatacenterConnector" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists DatacenterConnectors in a given Source.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/sources/{sourcesId}/datacenterConnectors", +"httpMethod": "GET", +"id": "vmmigration.projects.locations.sources.datacenterConnectors.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Optional. The filter request.", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "Optional. the order by fields for the result.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Optional. The maximum number of connectors to return. The service may return fewer than this value. If unspecified, at most 500 sources will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Required. A page token, received from a previous `ListDatacenterConnectors` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListDatacenterConnectors` must match the call that provided the page token.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent, which owns this collection of connectors.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/sources/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/datacenterConnectors", +"response": { +"$ref": "ListDatacenterConnectorsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"upgradeAppliance": { +"description": "Upgrades the appliance relate to this DatacenterConnector to the in-place updateable version.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/sources/{sourcesId}/datacenterConnectors/{datacenterConnectorsId}:upgradeAppliance", +"httpMethod": "POST", +"id": "vmmigration.projects.locations.sources.datacenterConnectors.upgradeAppliance", +"parameterOrder": [ +"datacenterConnector" +], +"parameters": { +"datacenterConnector": { +"description": "Required. The DatacenterConnector name.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/sources/[^/]+/datacenterConnectors/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+datacenterConnector}:upgradeAppliance", +"request": { +"$ref": "UpgradeApplianceRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"diskMigrationJobs": { +"methods": { +"cancel": { +"description": "Cancels the disk migration job.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/sources/{sourcesId}/diskMigrationJobs/{diskMigrationJobsId}:cancel", +"httpMethod": "POST", +"id": "vmmigration.projects.locations.sources.diskMigrationJobs.cancel", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the DiskMigrationJob.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/sources/[^/]+/diskMigrationJobs/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:cancel", +"request": { +"$ref": "CancelDiskMigrationJobRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"create": { +"description": "Creates a new disk migration job in a given Source.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/sources/{sourcesId}/diskMigrationJobs", +"httpMethod": "POST", +"id": "vmmigration.projects.locations.sources.diskMigrationJobs.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"diskMigrationJobId": { +"description": "Required. The DiskMigrationJob identifier. The maximum length of this value is 63 characters. Valid characters are lower case Latin letters, digits and hyphen. It must start with a Latin letter and must not end with a hyphen.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The DiskMigrationJob's parent.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/sources/[^/]+$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "Optional. A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request timed out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+parent}/diskMigrationJobs", +"request": { +"$ref": "DiskMigrationJob" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a single DiskMigrationJob.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/sources/{sourcesId}/diskMigrationJobs/{diskMigrationJobsId}", +"httpMethod": "DELETE", +"id": "vmmigration.projects.locations.sources.diskMigrationJobs.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the DiskMigrationJob.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/sources/[^/]+/diskMigrationJobs/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets details of a single DiskMigrationJob.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/sources/{sourcesId}/diskMigrationJobs/{diskMigrationJobsId}", +"httpMethod": "GET", +"id": "vmmigration.projects.locations.sources.diskMigrationJobs.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the DiskMigrationJob.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/sources/[^/]+/diskMigrationJobs/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "DiskMigrationJob" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists DiskMigrationJobs in a given Source.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/sources/{sourcesId}/diskMigrationJobs", +"httpMethod": "GET", +"id": "vmmigration.projects.locations.sources.diskMigrationJobs.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Optional. The filter request (according to AIP-160).", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "Optional. Ordering of the result list.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Optional. The maximum number of disk migration jobs to return. The service may return fewer than this value. If unspecified, at most 500 disk migration jobs will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. A page token, received from a previous `ListDiskMigrationJobs` call. Provide this to retrieve the subsequent page. When paginating, all parameters provided to `ListDiskMigrationJobs` except `page_size` must match the call that provided the page token.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent, which owns this collection of DiskMigrationJobs.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/sources/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/diskMigrationJobs", +"response": { +"$ref": "ListDiskMigrationJobsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates the parameters of a single DiskMigrationJob.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/sources/{sourcesId}/diskMigrationJobs/{diskMigrationJobsId}", +"httpMethod": "PATCH", +"id": "vmmigration.projects.locations.sources.diskMigrationJobs.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Output only. Identifier. The identifier of the DiskMigrationJob.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/sources/[^/]+/diskMigrationJobs/[^/]+$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "Optional. A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request timed out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"updateMask": { +"description": "Optional. Field mask is used to specify the fields to be overwritten in the DiskMigrationJob resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask, then a mask equivalent to all fields that are populated (have a non-empty value), will be implied.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "DiskMigrationJob" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"run": { +"description": "Runs the disk migration job.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/sources/{sourcesId}/diskMigrationJobs/{diskMigrationJobsId}:run", +"httpMethod": "POST", +"id": "vmmigration.projects.locations.sources.diskMigrationJobs.run", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the DiskMigrationJob.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/sources/[^/]+/diskMigrationJobs/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:run", +"request": { +"$ref": "RunDiskMigrationJobRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"migratingVms": { +"methods": { +"create": { +"description": "Creates a new MigratingVm in a given Source.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/sources/{sourcesId}/migratingVms", +"httpMethod": "POST", +"id": "vmmigration.projects.locations.sources.migratingVms.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"migratingVmId": { +"description": "Required. The migratingVm identifier.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The MigratingVm's parent.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/sources/[^/]+$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+parent}/migratingVms", +"request": { +"$ref": "MigratingVm" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a single MigratingVm.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/sources/{sourcesId}/migratingVms/{migratingVmsId}", +"httpMethod": "DELETE", +"id": "vmmigration.projects.locations.sources.migratingVms.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the MigratingVm.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/sources/[^/]+/migratingVms/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"extendMigration": { +"description": "Extend the migrating VM time to live.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/sources/{sourcesId}/migratingVms/{migratingVmsId}:extendMigration", +"httpMethod": "POST", +"id": "vmmigration.projects.locations.sources.migratingVms.extendMigration", +"parameterOrder": [ +"migratingVm" +], +"parameters": { +"migratingVm": { +"description": "Required. The name of the MigratingVm.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/sources/[^/]+/migratingVms/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+migratingVm}:extendMigration", +"request": { +"$ref": "ExtendMigrationRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"finalizeMigration": { +"description": "Marks a migration as completed, deleting migration resources that are no longer being used. Only applicable after cutover is done.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/sources/{sourcesId}/migratingVms/{migratingVmsId}:finalizeMigration", +"httpMethod": "POST", +"id": "vmmigration.projects.locations.sources.migratingVms.finalizeMigration", +"parameterOrder": [ +"migratingVm" +], +"parameters": { +"migratingVm": { +"description": "Required. The name of the MigratingVm.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/sources/[^/]+/migratingVms/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+migratingVm}:finalizeMigration", +"request": { +"$ref": "FinalizeMigrationRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets details of a single MigratingVm.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/sources/{sourcesId}/migratingVms/{migratingVmsId}", +"httpMethod": "GET", +"id": "vmmigration.projects.locations.sources.migratingVms.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the MigratingVm.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/sources/[^/]+/migratingVms/[^/]+$", +"required": true, +"type": "string" +}, +"view": { +"description": "Optional. The level of details of the migrating VM.", +"enum": [ +"MIGRATING_VM_VIEW_UNSPECIFIED", +"MIGRATING_VM_VIEW_BASIC", +"MIGRATING_VM_VIEW_FULL" +], +"enumDescriptions": [ +"View is unspecified. The API will fallback to the default value.", +"Get the migrating VM basic details. The basic details do not include the recent clone jobs and recent cutover jobs lists.", +"Include everything." +], +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "MigratingVm" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists MigratingVms in a given Source.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/sources/{sourcesId}/migratingVms", +"httpMethod": "GET", +"id": "vmmigration.projects.locations.sources.migratingVms.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Optional. The filter request.", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "Optional. the order by fields for the result.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Optional. The maximum number of migrating VMs to return. The service may return fewer than this value. If unspecified, at most 500 migrating VMs will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Required. A page token, received from a previous `ListMigratingVms` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListMigratingVms` must match the call that provided the page token.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent, which owns this collection of MigratingVms.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/sources/[^/]+$", +"required": true, +"type": "string" +}, +"view": { +"description": "Optional. The level of details of each migrating VM.", +"enum": [ +"MIGRATING_VM_VIEW_UNSPECIFIED", +"MIGRATING_VM_VIEW_BASIC", +"MIGRATING_VM_VIEW_FULL" +], +"enumDescriptions": [ +"View is unspecified. The API will fallback to the default value.", +"Get the migrating VM basic details. The basic details do not include the recent clone jobs and recent cutover jobs lists.", +"Include everything." +], +"location": "query", +"type": "string" +} +}, +"path": "v1/{+parent}/migratingVms", +"response": { +"$ref": "ListMigratingVmsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates the parameters of a single MigratingVm.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/sources/{sourcesId}/migratingVms/{migratingVmsId}", +"httpMethod": "PATCH", +"id": "vmmigration.projects.locations.sources.migratingVms.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Output only. The identifier of the MigratingVm.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/sources/[^/]+/migratingVms/[^/]+$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"updateMask": { +"description": "Field mask is used to specify the fields to be overwritten in the MigratingVm resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "MigratingVm" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"pauseMigration": { +"description": "Pauses a migration for a VM. If cycle tasks are running they will be cancelled, preserving source task data. Further replication cycles will not be triggered while the VM is paused.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/sources/{sourcesId}/migratingVms/{migratingVmsId}:pauseMigration", +"httpMethod": "POST", +"id": "vmmigration.projects.locations.sources.migratingVms.pauseMigration", +"parameterOrder": [ +"migratingVm" +], +"parameters": { +"migratingVm": { +"description": "Required. The name of the MigratingVm.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/sources/[^/]+/migratingVms/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+migratingVm}:pauseMigration", +"request": { +"$ref": "PauseMigrationRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"resumeMigration": { +"description": "Resumes a migration for a VM. When called on a paused migration, will start the process of uploading data and creating snapshots; when called on a completed cut-over migration, will update the migration to active state and start the process of uploading data and creating snapshots.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/sources/{sourcesId}/migratingVms/{migratingVmsId}:resumeMigration", +"httpMethod": "POST", +"id": "vmmigration.projects.locations.sources.migratingVms.resumeMigration", +"parameterOrder": [ +"migratingVm" +], +"parameters": { +"migratingVm": { +"description": "Required. The name of the MigratingVm.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/sources/[^/]+/migratingVms/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+migratingVm}:resumeMigration", +"request": { +"$ref": "ResumeMigrationRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"startMigration": { +"description": "Starts migration for a VM. Starts the process of uploading data and creating snapshots, in replication cycles scheduled by the policy.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/sources/{sourcesId}/migratingVms/{migratingVmsId}:startMigration", +"httpMethod": "POST", +"id": "vmmigration.projects.locations.sources.migratingVms.startMigration", +"parameterOrder": [ +"migratingVm" +], +"parameters": { +"migratingVm": { +"description": "Required. The name of the MigratingVm.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/sources/[^/]+/migratingVms/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+migratingVm}:startMigration", +"request": { +"$ref": "StartMigrationRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"cloneJobs": { +"methods": { +"cancel": { +"description": "Initiates the cancellation of a running clone job.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/sources/{sourcesId}/migratingVms/{migratingVmsId}/cloneJobs/{cloneJobsId}:cancel", +"httpMethod": "POST", +"id": "vmmigration.projects.locations.sources.migratingVms.cloneJobs.cancel", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The clone job id", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/sources/[^/]+/migratingVms/[^/]+/cloneJobs/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:cancel", +"request": { +"$ref": "CancelCloneJobRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"create": { +"description": "Initiates a Clone of a specific migrating VM.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/sources/{sourcesId}/migratingVms/{migratingVmsId}/cloneJobs", +"httpMethod": "POST", +"id": "vmmigration.projects.locations.sources.migratingVms.cloneJobs.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"cloneJobId": { +"description": "Required. The clone job identifier.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The Clone's parent.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/sources/[^/]+/migratingVms/[^/]+$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+parent}/cloneJobs", +"request": { +"$ref": "CloneJob" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets details of a single CloneJob.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/sources/{sourcesId}/migratingVms/{migratingVmsId}/cloneJobs/{cloneJobsId}", +"httpMethod": "GET", +"id": "vmmigration.projects.locations.sources.migratingVms.cloneJobs.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the CloneJob.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/sources/[^/]+/migratingVms/[^/]+/cloneJobs/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "CloneJob" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists the CloneJobs of a migrating VM. Only 25 most recent CloneJobs are listed.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/sources/{sourcesId}/migratingVms/{migratingVmsId}/cloneJobs", +"httpMethod": "GET", +"id": "vmmigration.projects.locations.sources.migratingVms.cloneJobs.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Optional. The filter request.", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "Optional. the order by fields for the result.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Optional. The maximum number of clone jobs to return. The service may return fewer than this value. If unspecified, at most 500 clone jobs will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Required. A page token, received from a previous `ListCloneJobs` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListCloneJobs` must match the call that provided the page token.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent, which owns this collection of source VMs.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/sources/[^/]+/migratingVms/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/cloneJobs", +"response": { +"$ref": "ListCloneJobsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"cutoverJobs": { +"methods": { +"cancel": { +"description": "Initiates the cancellation of a running cutover job.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/sources/{sourcesId}/migratingVms/{migratingVmsId}/cutoverJobs/{cutoverJobsId}:cancel", +"httpMethod": "POST", +"id": "vmmigration.projects.locations.sources.migratingVms.cutoverJobs.cancel", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The cutover job id", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/sources/[^/]+/migratingVms/[^/]+/cutoverJobs/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:cancel", +"request": { +"$ref": "CancelCutoverJobRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"create": { +"description": "Initiates a Cutover of a specific migrating VM. The returned LRO is completed when the cutover job resource is created and the job is initiated.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/sources/{sourcesId}/migratingVms/{migratingVmsId}/cutoverJobs", +"httpMethod": "POST", +"id": "vmmigration.projects.locations.sources.migratingVms.cutoverJobs.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"cutoverJobId": { +"description": "Required. The cutover job identifier.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The Cutover's parent.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/sources/[^/]+/migratingVms/[^/]+$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+parent}/cutoverJobs", +"request": { +"$ref": "CutoverJob" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets details of a single CutoverJob.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/sources/{sourcesId}/migratingVms/{migratingVmsId}/cutoverJobs/{cutoverJobsId}", +"httpMethod": "GET", +"id": "vmmigration.projects.locations.sources.migratingVms.cutoverJobs.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the CutoverJob.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/sources/[^/]+/migratingVms/[^/]+/cutoverJobs/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "CutoverJob" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists the CutoverJobs of a migrating VM. Only 25 most recent CutoverJobs are listed.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/sources/{sourcesId}/migratingVms/{migratingVmsId}/cutoverJobs", +"httpMethod": "GET", +"id": "vmmigration.projects.locations.sources.migratingVms.cutoverJobs.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Optional. The filter request.", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "Optional. the order by fields for the result.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Optional. The maximum number of cutover jobs to return. The service may return fewer than this value. If unspecified, at most 500 cutover jobs will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Required. A page token, received from a previous `ListCutoverJobs` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListCutoverJobs` must match the call that provided the page token.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent, which owns this collection of migrating VMs.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/sources/[^/]+/migratingVms/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/cutoverJobs", +"response": { +"$ref": "ListCutoverJobsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"replicationCycles": { +"methods": { +"get": { +"description": "Gets details of a single ReplicationCycle.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/sources/{sourcesId}/migratingVms/{migratingVmsId}/replicationCycles/{replicationCyclesId}", +"httpMethod": "GET", +"id": "vmmigration.projects.locations.sources.migratingVms.replicationCycles.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the ReplicationCycle.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/sources/[^/]+/migratingVms/[^/]+/replicationCycles/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "ReplicationCycle" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists ReplicationCycles in a given MigratingVM.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/sources/{sourcesId}/migratingVms/{migratingVmsId}/replicationCycles", +"httpMethod": "GET", +"id": "vmmigration.projects.locations.sources.migratingVms.replicationCycles.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Optional. The filter request.", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "Optional. the order by fields for the result.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Optional. The maximum number of replication cycles to return. The service may return fewer than this value. If unspecified, at most 100 migrating VMs will be returned. The maximum value is 100; values above 100 will be coerced to 100.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Required. A page token, received from a previous `ListReplicationCycles` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListReplicationCycles` must match the call that provided the page token.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent, which owns this collection of ReplicationCycles.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/sources/[^/]+/migratingVms/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/replicationCycles", +"response": { +"$ref": "ListReplicationCyclesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +}, +"utilizationReports": { +"methods": { +"create": { +"description": "Creates a new UtilizationReport.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/sources/{sourcesId}/utilizationReports", +"httpMethod": "POST", +"id": "vmmigration.projects.locations.sources.utilizationReports.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The Utilization Report's parent.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/sources/[^/]+$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"utilizationReportId": { +"description": "Required. The ID to use for the report, which will become the final component of the reports's resource name. This value maximum length is 63 characters, and valid characters are /a-z-/. It must start with an english letter and must not end with a hyphen.", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+parent}/utilizationReports", +"request": { +"$ref": "UtilizationReport" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a single Utilization Report.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/sources/{sourcesId}/utilizationReports/{utilizationReportsId}", +"httpMethod": "DELETE", +"id": "vmmigration.projects.locations.sources.utilizationReports.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The Utilization Report name.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/sources/[^/]+/utilizationReports/[^/]+$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "Optional. A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes after the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets a single Utilization Report.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/sources/{sourcesId}/utilizationReports/{utilizationReportsId}", +"httpMethod": "GET", +"id": "vmmigration.projects.locations.sources.utilizationReports.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The Utilization Report name.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/sources/[^/]+/utilizationReports/[^/]+$", +"required": true, +"type": "string" +}, +"view": { +"description": "Optional. The level of details of the report. Defaults to FULL", +"enum": [ +"UTILIZATION_REPORT_VIEW_UNSPECIFIED", +"BASIC", +"FULL" +], +"enumDescriptions": [ +"The default / unset value. The API will default to FULL on single report request and BASIC for multiple reports request.", +"Get the report metadata, without the list of VMs and their utilization info.", +"Include everything." +], +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "UtilizationReport" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists Utilization Reports of the given Source.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/sources/{sourcesId}/utilizationReports", +"httpMethod": "GET", +"id": "vmmigration.projects.locations.sources.utilizationReports.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Optional. The filter request.", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "Optional. the order by fields for the result.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Optional. The maximum number of reports to return. The service may return fewer than this value. If unspecified, at most 500 reports will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Required. A page token, received from a previous `ListUtilizationReports` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListUtilizationReports` must match the call that provided the page token.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The Utilization Reports parent.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/sources/[^/]+$", +"required": true, +"type": "string" +}, +"view": { +"description": "Optional. The level of details of each report. Defaults to BASIC.", +"enum": [ +"UTILIZATION_REPORT_VIEW_UNSPECIFIED", +"BASIC", +"FULL" +], +"enumDescriptions": [ +"The default / unset value. The API will default to FULL on single report request and BASIC for multiple reports request.", +"Get the report metadata, without the list of VMs and their utilization info.", +"Include everything." +], +"location": "query", +"type": "string" +} +}, +"path": "v1/{+parent}/utilizationReports", +"response": { +"$ref": "ListUtilizationReportsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +}, +"targetProjects": { +"methods": { +"create": { +"description": "Creates a new TargetProject in a given project. NOTE: TargetProject is a global resource; hence the only supported value for location is `global`.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/targetProjects", +"httpMethod": "POST", +"id": "vmmigration.projects.locations.targetProjects.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The TargetProject's parent.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"targetProjectId": { +"description": "Required. The target_project identifier.", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+parent}/targetProjects", +"request": { +"$ref": "TargetProject" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a single TargetProject. NOTE: TargetProject is a global resource; hence the only supported value for location is `global`.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/targetProjects/{targetProjectsId}", +"httpMethod": "DELETE", +"id": "vmmigration.projects.locations.targetProjects.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The TargetProject name.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/targetProjects/[^/]+$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "Optional. A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes after the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets details of a single TargetProject. NOTE: TargetProject is a global resource; hence the only supported value for location is `global`.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/targetProjects/{targetProjectsId}", +"httpMethod": "GET", +"id": "vmmigration.projects.locations.targetProjects.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The TargetProject name.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/targetProjects/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "TargetProject" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists TargetProjects in a given project. NOTE: TargetProject is a global resource; hence the only supported value for location is `global`.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/targetProjects", +"httpMethod": "GET", +"id": "vmmigration.projects.locations.targetProjects.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Optional. The filter request.", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "Optional. the order by fields for the result.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Optional. The maximum number of targets to return. The service may return fewer than this value. If unspecified, at most 500 targets will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Required. A page token, received from a previous `ListTargets` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListTargets` must match the call that provided the page token.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent, which owns this collection of targets.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/targetProjects", +"response": { +"$ref": "ListTargetProjectsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates the parameters of a single TargetProject. NOTE: TargetProject is a global resource; hence the only supported value for location is `global`.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/targetProjects/{targetProjectsId}", +"httpMethod": "PATCH", +"id": "vmmigration.projects.locations.targetProjects.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Output only. The name of the target project.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/targetProjects/[^/]+$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"updateMask": { +"description": "Field mask is used to specify the fields to be overwritten in the TargetProject resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "TargetProject" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +} +} +} +}, +"revision": "20260222", +"rootUrl": "https://vmmigration.googleapis.com/", +"schemas": { +"AccessKeyCredentials": { +"description": "Message describing AWS Credentials using access key id and secret.", +"id": "AccessKeyCredentials", +"properties": { +"accessKeyId": { +"description": "AWS access key ID.", +"type": "string" +}, +"secretAccessKey": { +"description": "Input only. AWS secret access key.", +"type": "string" +}, +"sessionToken": { +"description": "Input only. AWS session token. Used only when AWS security token service (STS) is responsible for creating the temporary credentials.", +"type": "string" +} +}, +"type": "object" +}, +"AdaptationModifier": { +"description": "AdaptationModifier a modifier to be used for configuration of the OS adaptation process.", +"id": "AdaptationModifier", +"properties": { +"modifier": { +"description": "Optional. The modifier name.", +"type": "string" +}, +"value": { +"description": "Optional. The value of the modifier. The actual value depends on the modifier and can also be empty.", +"type": "string" +} +}, +"type": "object" +}, +"AdaptingOSStep": { +"description": "AdaptingOSStep contains specific step details.", +"id": "AdaptingOSStep", +"properties": {}, +"type": "object" +}, +"AddGroupMigrationRequest": { +"description": "Request message for 'AddGroupMigration' request.", +"id": "AddGroupMigrationRequest", +"properties": { +"migratingVm": { +"description": "The full path name of the MigratingVm to add.", +"type": "string" +} +}, +"type": "object" +}, +"ApplianceVersion": { +"description": "Describes an appliance version.", +"id": "ApplianceVersion", +"properties": { +"critical": { +"description": "Determine whether it's critical to upgrade the appliance to this version.", +"type": "boolean" +}, +"releaseNotesUri": { +"description": "Link to a page that contains the version release notes.", +"type": "string" +}, +"uri": { +"description": "A link for downloading the version.", +"type": "string" +}, +"version": { +"description": "The appliance version.", +"type": "string" +} +}, +"type": "object" +}, +"AppliedLicense": { +"description": "AppliedLicense holds the license data returned by adaptation module report.", +"id": "AppliedLicense", +"properties": { +"osLicense": { +"description": "The OS license returned from the adaptation module's report.", +"type": "string" +}, +"type": { +"description": "The license type that was used in OS adaptation.", +"enum": [ +"TYPE_UNSPECIFIED", +"NONE", +"PAYG", +"BYOL" +], +"enumDescriptions": [ +"Unspecified license for the OS.", +"No license available for the OS.", +"The license type is Pay As You Go license type.", +"The license type is Bring Your Own License type." +], +"type": "string" +} +}, +"type": "object" +}, +"AvailableUpdates": { +"description": "Holds information about the available versions for upgrade.", +"id": "AvailableUpdates", +"properties": { +"inPlaceUpdate": { +"$ref": "ApplianceVersion", +"description": "The latest version for in place update. The current appliance can be updated to this version using the API or m4c CLI." +}, +"newDeployableAppliance": { +"$ref": "ApplianceVersion", +"description": "The newest deployable version of the appliance. The current appliance can't be updated into this version, and the owner must manually deploy this OVA to a new appliance." +} +}, +"type": "object" +}, +"AwsDiskDetails": { +"description": "The details of an AWS instance disk.", +"id": "AwsDiskDetails", +"properties": { +"diskNumber": { +"description": "Output only. The ordinal number of the disk.", +"format": "int32", +"readOnly": true, +"type": "integer" +}, +"sizeGb": { +"description": "Output only. Size in GB.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"volumeId": { +"description": "Output only. AWS volume ID.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"AwsSecurityGroup": { +"description": "AwsSecurityGroup describes a security group of an AWS VM.", +"id": "AwsSecurityGroup", +"properties": { +"id": { +"description": "The AWS security group id.", +"type": "string" +}, +"name": { +"description": "The AWS security group name.", +"type": "string" +} +}, +"type": "object" +}, +"AwsSourceDetails": { +"description": "AwsSourceDetails message describes a specific source details for the AWS source type.", +"id": "AwsSourceDetails", +"properties": { +"accessKeyCreds": { +"$ref": "AccessKeyCredentials", +"description": "AWS Credentials using access key id and secret." +}, +"awsRegion": { +"description": "Immutable. The AWS region that the source VMs will be migrated from.", +"type": "string" +}, +"error": { +"$ref": "Status", +"description": "Output only. Provides details on the state of the Source in case of an error.", +"readOnly": true +}, +"inventorySecurityGroupNames": { +"description": "AWS security group names to limit the scope of the source inventory.", +"items": { +"type": "string" +}, +"type": "array" +}, +"inventoryTagList": { +"description": "AWS resource tags to limit the scope of the source inventory.", +"items": { +"$ref": "Tag" +}, +"type": "array" +}, +"migrationResourcesUserTags": { +"additionalProperties": { +"type": "string" +}, +"description": "User specified tags to add to every M2VM generated resource in AWS. These tags will be set in addition to the default tags that are set as part of the migration process. The tags must not begin with the reserved prefix `m2vm`.", +"type": "object" +}, +"publicIp": { +"description": "Output only. The source's public IP. All communication initiated by this source will originate from this IP.", +"readOnly": true, +"type": "string" +}, +"state": { +"description": "Output only. State of the source as determined by the health check.", +"enum": [ +"STATE_UNSPECIFIED", +"PENDING", +"FAILED", +"ACTIVE" +], +"enumDescriptions": [ +"The state is unknown. This is used for API compatibility only and is not used by the system.", +"The state was not sampled by the health checks yet.", +"The source is available but might not be usable yet due to invalid credentials or another reason. The error message will contain further details.", +"The source exists and its credentials were verified." +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"AwsSourceDiskDetails": { +"description": "Represents the source AWS Disk details.", +"id": "AwsSourceDiskDetails", +"properties": { +"diskType": { +"description": "Optional. Output only. Disk type.", +"enum": [ +"TYPE_UNSPECIFIED", +"GP2", +"GP3", +"IO1", +"IO2", +"ST1", +"SC1", +"STANDARD" +], +"enumDescriptions": [ +"Unspecified AWS disk type. Should not be used.", +"GP2 disk type.", +"GP3 disk type.", +"IO1 disk type.", +"IO2 disk type.", +"ST1 disk type.", +"SC1 disk type.", +"Standard disk type." +], +"readOnly": true, +"type": "string" +}, +"sizeGib": { +"description": "Output only. Size in GiB.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"tags": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. Output only. A map of AWS volume tags.", +"readOnly": true, +"type": "object" +}, +"volumeId": { +"description": "Required. AWS volume ID.", +"type": "string" +} +}, +"type": "object" +}, +"AwsSourceVmDetails": { +"description": "Represent the source AWS VM details.", +"id": "AwsSourceVmDetails", +"properties": { +"architecture": { +"description": "Output only. The VM architecture.", +"enum": [ +"VM_ARCHITECTURE_UNSPECIFIED", +"VM_ARCHITECTURE_X86_FAMILY", +"VM_ARCHITECTURE_ARM64" +], +"enumDescriptions": [ +"The architecture is unknown.", +"The architecture is one of the x86 architectures.", +"The architecture is ARM64." +], +"readOnly": true, +"type": "string" +}, +"committedStorageBytes": { +"description": "Output only. The total size of the disks being migrated in bytes.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"disks": { +"description": "Output only. The disks attached to the source VM.", +"items": { +"$ref": "AwsDiskDetails" +}, +"readOnly": true, +"type": "array" +}, +"firmware": { +"description": "Output only. The firmware type of the source VM.", +"enum": [ +"FIRMWARE_UNSPECIFIED", +"EFI", +"BIOS" +], +"enumDescriptions": [ +"The firmware is unknown.", +"The firmware is EFI.", +"The firmware is BIOS." +], +"readOnly": true, +"type": "string" +}, +"vmCapabilitiesInfo": { +"$ref": "VmCapabilities", +"description": "Output only. Information about VM capabilities needed for some Compute Engine features.", +"readOnly": true +} +}, +"type": "object" +}, +"AwsVmDetails": { +"description": "AwsVmDetails describes a VM in AWS.", +"id": "AwsVmDetails", +"properties": { +"architecture": { +"description": "The CPU architecture.", +"enum": [ +"VM_ARCHITECTURE_UNSPECIFIED", +"I386", +"X86_64", +"ARM64", +"X86_64_MAC" +], +"enumDescriptions": [ +"The architecture is unknown.", +"The architecture is I386.", +"The architecture is X86_64.", +"The architecture is ARM64.", +"The architecture is X86_64_MAC." +], +"type": "string" +}, +"bootOption": { +"description": "The VM Boot Option.", +"enum": [ +"BOOT_OPTION_UNSPECIFIED", +"EFI", +"BIOS" +], +"enumDescriptions": [ +"The boot option is unknown.", +"The boot option is UEFI.", +"The boot option is LEGACY-BIOS." +], +"type": "string" +}, +"committedStorageMb": { +"description": "The total size of the storage allocated to the VM in MB.", +"format": "int64", +"type": "string" +}, +"cpuCount": { +"description": "The number of CPU cores the VM has.", +"format": "int32", +"type": "integer" +}, +"diskCount": { +"description": "The number of disks the VM has.", +"format": "int32", +"type": "integer" +}, +"displayName": { +"description": "The display name of the VM. Note that this value is not necessarily unique.", +"type": "string" +}, +"instanceType": { +"description": "The instance type of the VM.", +"type": "string" +}, +"memoryMb": { +"description": "The memory size of the VM in MB.", +"format": "int32", +"type": "integer" +}, +"osDescription": { +"description": "The VM's OS.", +"type": "string" +}, +"powerState": { +"description": "Output only. The power state of the VM at the moment list was taken.", +"enum": [ +"POWER_STATE_UNSPECIFIED", +"ON", +"OFF", +"SUSPENDED", +"PENDING" +], +"enumDescriptions": [ +"Power state is not specified.", +"The VM is turned on.", +"The VM is turned off.", +"The VM is suspended. This is similar to hibernation or sleep mode.", +"The VM is starting." +], +"readOnly": true, +"type": "string" +}, +"securityGroups": { +"description": "The security groups the VM belongs to.", +"items": { +"$ref": "AwsSecurityGroup" +}, +"type": "array" +}, +"sourceDescription": { +"description": "The descriptive name of the AWS's source this VM is connected to.", +"type": "string" +}, +"sourceId": { +"description": "The id of the AWS's source this VM is connected to.", +"type": "string" +}, +"tags": { +"additionalProperties": { +"type": "string" +}, +"description": "The tags of the VM.", +"type": "object" +}, +"vcpuCount": { +"description": "The number of vCPUs the VM has. It is calculated as the number of CPU cores * threads per CPU the VM has.", +"format": "int32", +"type": "integer" +}, +"virtualizationType": { +"description": "The virtualization type.", +"enum": [ +"VM_VIRTUALIZATION_TYPE_UNSPECIFIED", +"HVM", +"PARAVIRTUAL" +], +"enumDescriptions": [ +"The virtualization type is unknown.", +"The virtualziation type is HVM.", +"The virtualziation type is PARAVIRTUAL." +], +"type": "string" +}, +"vmId": { +"description": "The VM ID in AWS.", +"type": "string" +}, +"vpcId": { +"description": "The VPC ID the VM belongs to.", +"type": "string" +}, +"zone": { +"description": "The AWS zone of the VM.", +"type": "string" +} +}, +"type": "object" +}, +"AwsVmsDetails": { +"description": "AWSVmsDetails describes VMs in AWS.", +"id": "AwsVmsDetails", +"properties": { +"details": { +"description": "The details of the AWS VMs.", +"items": { +"$ref": "AwsVmDetails" +}, +"type": "array" +} +}, +"type": "object" +}, +"AzureDiskDetails": { +"description": "The details of an Azure VM disk.", +"id": "AzureDiskDetails", +"properties": { +"diskId": { +"description": "Output only. Azure disk ID.", +"readOnly": true, +"type": "string" +}, +"diskNumber": { +"description": "Output only. The ordinal number of the disk.", +"format": "int32", +"readOnly": true, +"type": "integer" +}, +"sizeGb": { +"description": "Output only. Size in GB.", +"format": "int64", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"AzureSourceDetails": { +"description": "AzureSourceDetails message describes a specific source details for the Azure source type.", +"id": "AzureSourceDetails", +"properties": { +"azureLocation": { +"description": "Immutable. The Azure location (region) that the source VMs will be migrated from.", +"type": "string" +}, +"clientSecretCreds": { +"$ref": "ClientSecretCredentials", +"description": "Azure Credentials using tenant ID, client ID and secret." +}, +"error": { +"$ref": "Status", +"description": "Output only. Provides details on the state of the Source in case of an error.", +"readOnly": true +}, +"migrationResourcesUserTags": { +"additionalProperties": { +"type": "string" +}, +"description": "User specified tags to add to every M2VM generated resource in Azure. These tags will be set in addition to the default tags that are set as part of the migration process. The tags must not begin with the reserved prefix `m4ce` or `m2vm`.", +"type": "object" +}, +"resourceGroupId": { +"description": "Output only. The ID of the Azure resource group that contains all resources related to the migration process of this source.", +"readOnly": true, +"type": "string" +}, +"state": { +"description": "Output only. State of the source as determined by the health check.", +"enum": [ +"STATE_UNSPECIFIED", +"PENDING", +"FAILED", +"ACTIVE" +], +"enumDescriptions": [ +"The state is unknown. This is used for API compatibility only and is not used by the system.", +"The state was not sampled by the health checks yet.", +"The source is available but might not be usable yet due to invalid credentials or another reason. The error message will contain further details.", +"The source exists and its credentials were verified." +], +"readOnly": true, +"type": "string" +}, +"subscriptionId": { +"description": "Immutable. Azure subscription ID.", +"type": "string" +} +}, +"type": "object" +}, +"AzureSourceVmDetails": { +"description": "Represent the source Azure VM details.", +"id": "AzureSourceVmDetails", +"properties": { +"architecture": { +"description": "Output only. The VM architecture.", +"enum": [ +"VM_ARCHITECTURE_UNSPECIFIED", +"VM_ARCHITECTURE_X86_FAMILY", +"VM_ARCHITECTURE_ARM64" +], +"enumDescriptions": [ +"The architecture is unknown.", +"The architecture is one of the x86 architectures.", +"The architecture is ARM64." +], +"readOnly": true, +"type": "string" +}, +"committedStorageBytes": { +"description": "Output only. The total size of the disks being migrated in bytes.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"disks": { +"description": "Output only. The disks attached to the source VM.", +"items": { +"$ref": "AzureDiskDetails" +}, +"readOnly": true, +"type": "array" +}, +"firmware": { +"description": "Output only. The firmware type of the source VM.", +"enum": [ +"FIRMWARE_UNSPECIFIED", +"EFI", +"BIOS" +], +"enumDescriptions": [ +"The firmware is unknown.", +"The firmware is EFI.", +"The firmware is BIOS." +], +"readOnly": true, +"type": "string" +}, +"vmCapabilitiesInfo": { +"$ref": "VmCapabilities", +"description": "Output only. Information about VM capabilities needed for some Compute Engine features.", +"readOnly": true +} +}, +"type": "object" +}, +"AzureVmDetails": { +"description": "AzureVmDetails describes a VM in Azure.", +"id": "AzureVmDetails", +"properties": { +"architecture": { +"description": "The CPU architecture.", +"enum": [ +"VM_ARCHITECTURE_UNSPECIFIED", +"VM_ARCHITECTURE_X86_FAMILY", +"VM_ARCHITECTURE_ARM64" +], +"enumDescriptions": [ +"The architecture is unknown.", +"The architecture is one of the x86 architectures.", +"The architecture is ARM64." +], +"type": "string" +}, +"bootOption": { +"description": "The VM Boot Option.", +"enum": [ +"BOOT_OPTION_UNSPECIFIED", +"EFI", +"BIOS" +], +"enumDescriptions": [ +"The boot option is unknown.", +"The boot option is UEFI.", +"The boot option is BIOS." +], +"type": "string" +}, +"committedStorageMb": { +"description": "The total size of the storage allocated to the VM in MB.", +"format": "int64", +"type": "string" +}, +"computerName": { +"description": "The VM's ComputerName.", +"type": "string" +}, +"cpuCount": { +"description": "The number of cpus the VM has.", +"format": "int32", +"type": "integer" +}, +"diskCount": { +"description": "The number of disks the VM has, including OS disk.", +"format": "int32", +"type": "integer" +}, +"disks": { +"description": "Description of the data disks.", +"items": { +"$ref": "Disk" +}, +"type": "array" +}, +"memoryMb": { +"description": "The memory size of the VM in MB.", +"format": "int32", +"type": "integer" +}, +"osDescription": { +"$ref": "OSDescription", +"description": "Description of the OS." +}, +"osDisk": { +"$ref": "OSDisk", +"description": "Description of the OS disk." +}, +"powerState": { +"description": "The power state of the VM at the moment list was taken.", +"enum": [ +"POWER_STATE_UNSPECIFIED", +"STARTING", +"RUNNING", +"STOPPING", +"STOPPED", +"DEALLOCATING", +"DEALLOCATED", +"UNKNOWN" +], +"enumDescriptions": [ +"Power state is not specified.", +"The VM is starting.", +"The VM is running.", +"The VM is stopping.", +"The VM is stopped.", +"The VM is deallocating.", +"The VM is deallocated.", +"The VM's power state is unknown." +], +"type": "string" +}, +"tags": { +"additionalProperties": { +"type": "string" +}, +"description": "The tags of the VM.", +"type": "object" +}, +"vmId": { +"description": "The VM full path in Azure.", +"type": "string" +}, +"vmSize": { +"description": "VM size as configured in Azure. Determines the VM's hardware spec.", +"type": "string" +} +}, +"type": "object" +}, +"AzureVmsDetails": { +"description": "AzureVmsDetails describes VMs in Azure.", +"id": "AzureVmsDetails", +"properties": { +"details": { +"description": "The details of the Azure VMs.", +"items": { +"$ref": "AzureVmDetails" +}, +"type": "array" +} +}, +"type": "object" +}, +"BootDiskDefaults": { +"description": "BootDiskDefaults hold information about the boot disk of a VM.", +"id": "BootDiskDefaults", +"properties": { +"deviceName": { +"description": "Optional. Specifies a unique device name of your choice that is reflected into the /dev/disk/by-id/google-* tree of a Linux operating system running within the instance. If not specified, the server chooses a default device name to apply to this disk, in the form persistent-disk-x, where x is a number assigned by Google Compute Engine. This field is only applicable for persistent disks.", +"type": "string" +}, +"diskName": { +"description": "Optional. The name of the disk.", +"type": "string" +}, +"diskType": { +"description": "Optional. The type of disk provisioning to use for the VM.", +"enum": [ +"COMPUTE_ENGINE_DISK_TYPE_UNSPECIFIED", +"COMPUTE_ENGINE_DISK_TYPE_STANDARD", +"COMPUTE_ENGINE_DISK_TYPE_SSD", +"COMPUTE_ENGINE_DISK_TYPE_BALANCED", +"COMPUTE_ENGINE_DISK_TYPE_HYPERDISK_BALANCED", +"COMPUTE_ENGINE_DISK_TYPE_HYPERDISK_BALANCED_HIGH_AVAILABILITY" +], +"enumDescriptions": [ +"An unspecified disk type. Will be used as STANDARD.", +"A Standard disk type.", +"SSD hard disk type.", +"An alternative to SSD persistent disks that balance performance and cost.", +"Hyperdisk balanced disk type.", +"Hyperdisk balanced high availability disk type." +], +"type": "string" +}, +"encryption": { +"$ref": "Encryption", +"description": "Optional. The encryption to apply to the boot disk." +}, +"image": { +"$ref": "DiskImageDefaults", +"description": "The image to use when creating the disk." +} +}, +"type": "object" +}, +"CancelCloneJobRequest": { +"description": "Request message for 'CancelCloneJob' request.", +"id": "CancelCloneJobRequest", +"properties": {}, +"type": "object" +}, +"CancelCutoverJobRequest": { +"description": "Request message for 'CancelCutoverJob' request.", +"id": "CancelCutoverJobRequest", +"properties": {}, +"type": "object" +}, +"CancelDiskMigrationJobRequest": { +"description": "Request message for 'CancelDiskMigrationJob' request.", +"id": "CancelDiskMigrationJobRequest", +"properties": {}, +"type": "object" +}, +"CancelImageImportJobRequest": { +"description": "Request message for 'CancelImageImportJob' request.", +"id": "CancelImageImportJobRequest", +"properties": {}, +"type": "object" +}, +"CancelOperationRequest": { +"description": "The request message for Operations.CancelOperation.", +"id": "CancelOperationRequest", +"properties": {}, +"type": "object" +}, +"ClientSecretCredentials": { +"description": "Message describing Azure Credentials using tenant ID, client ID and secret.", +"id": "ClientSecretCredentials", +"properties": { +"clientId": { +"description": "Azure client ID.", +"type": "string" +}, +"clientSecret": { +"description": "Input only. Azure client secret.", +"type": "string" +}, +"tenantId": { +"description": "Azure tenant ID.", +"type": "string" +} +}, +"type": "object" +}, +"CloneJob": { +"description": "CloneJob describes the process of creating a clone of a MigratingVM to the requested target based on the latest successful uploaded snapshots. While the migration cycles of a MigratingVm take place, it is possible to verify the uploaded VM can be started in the cloud, by creating a clone. The clone can be created without any downtime, and it is created using the latest snapshots which are already in the cloud. The cloneJob is only responsible for its work, not its products, which means once it is finished, it will never touch the instance it created. It will only delete it in case of the CloneJob being cancelled or upon failure to clone.", +"id": "CloneJob", +"properties": { +"computeEngineDisksTargetDetails": { +"$ref": "ComputeEngineDisksTargetDetails", +"description": "Output only. Details of the target Persistent Disks in Compute Engine.", +"readOnly": true +}, +"computeEngineTargetDetails": { +"$ref": "ComputeEngineTargetDetails", +"description": "Output only. Details of the target VM in Compute Engine.", +"readOnly": true +}, +"createTime": { +"description": "Output only. The time the clone job was created (as an API call, not when it was actually created in the target).", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"endTime": { +"description": "Output only. The time the clone job was ended.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"error": { +"$ref": "Status", +"description": "Output only. Provides details for the errors that led to the Clone Job's state.", +"readOnly": true +}, +"name": { +"description": "Output only. The name of the clone.", +"readOnly": true, +"type": "string" +}, +"state": { +"description": "Output only. State of the clone job.", +"enum": [ +"STATE_UNSPECIFIED", +"PENDING", +"ACTIVE", +"FAILED", +"SUCCEEDED", +"CANCELLED", +"CANCELLING", +"ADAPTING_OS" +], +"enumDescriptions": [ +"The state is unknown. This is used for API compatibility only and is not used by the system.", +"The clone job has not yet started.", +"The clone job is active and running.", +"The clone job finished with errors.", +"The clone job finished successfully.", +"The clone job was cancelled.", +"The clone job is being cancelled.", +"OS adaptation is running as part of the clone job to generate license." +], +"readOnly": true, +"type": "string" +}, +"stateTime": { +"description": "Output only. The time the state was last updated.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"steps": { +"description": "Output only. The clone steps list representing its progress.", +"items": { +"$ref": "CloneStep" +}, +"readOnly": true, +"type": "array" +} +}, +"type": "object" +}, +"CloneStep": { +"description": "CloneStep holds information about the clone step progress.", +"id": "CloneStep", +"properties": { +"adaptingOs": { +"$ref": "AdaptingOSStep", +"description": "Adapting OS step." +}, +"endTime": { +"description": "The time the step has ended.", +"format": "google-datetime", +"type": "string" +}, +"instantiatingMigratedVm": { +"$ref": "InstantiatingMigratedVMStep", +"description": "Instantiating migrated VM step." +}, +"preparingVmDisks": { +"$ref": "PreparingVMDisksStep", +"description": "Preparing VM disks step." +}, +"startTime": { +"description": "The time the step has started.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"ComputeEngineDisk": { +"description": "Compute Engine disk target details.", +"id": "ComputeEngineDisk", +"properties": { +"diskId": { +"description": "Optional. Target Compute Engine Disk ID. This is the resource ID segment of the Compute Engine Disk to create. In the resource name compute/v1/projects/{project}/zones/{zone}/disks/disk1 \"disk1\" is the resource ID for the disk.", +"type": "string" +}, +"diskType": { +"description": "Required. The disk type to use.", +"enum": [ +"COMPUTE_ENGINE_DISK_TYPE_UNSPECIFIED", +"COMPUTE_ENGINE_DISK_TYPE_STANDARD", +"COMPUTE_ENGINE_DISK_TYPE_SSD", +"COMPUTE_ENGINE_DISK_TYPE_BALANCED", +"COMPUTE_ENGINE_DISK_TYPE_HYPERDISK_BALANCED", +"COMPUTE_ENGINE_DISK_TYPE_HYPERDISK_BALANCED_HIGH_AVAILABILITY" +], +"enumDescriptions": [ +"An unspecified disk type. Will be used as STANDARD.", +"A Standard disk type.", +"SSD hard disk type.", +"An alternative to SSD persistent disks that balance performance and cost.", +"Hyperdisk balanced disk type.", +"Hyperdisk balanced high availability disk type." +], +"type": "string" +}, +"replicaZones": { +"description": "Optional. Replication zones of the regional disk. Should be of the form: projects/{target-project}/locations/{replica-zone} Currently only one replica zone is supported.", +"items": { +"type": "string" +}, +"type": "array" +}, +"zone": { +"description": "Required. The Compute Engine zone in which to create the disk. Should be of the form: projects/{target-project}/locations/{zone}", +"type": "string" +} +}, +"type": "object" +}, +"ComputeEngineDisksTargetDefaults": { +"description": "ComputeEngineDisksTargetDefaults is a collection of details for creating Persistent Disks in a target Compute Engine project.", +"id": "ComputeEngineDisksTargetDefaults", +"properties": { +"disks": { +"description": "The details of each Persistent Disk to create.", +"items": { +"$ref": "PersistentDiskDefaults" +}, +"type": "array" +}, +"disksTargetDefaults": { +"$ref": "DisksMigrationDisksTargetDefaults", +"description": "Details of the disk only migration target." +}, +"targetProject": { +"description": "The full path of the resource of type TargetProject which represents the Compute Engine project in which to create the Persistent Disks.", +"type": "string" +}, +"vmTargetDefaults": { +"$ref": "DisksMigrationVmTargetDefaults", +"description": "Details of the VM migration target." +}, +"zone": { +"description": "The zone in which to create the Persistent Disks.", +"type": "string" +} +}, +"type": "object" +}, +"ComputeEngineDisksTargetDetails": { +"description": "ComputeEngineDisksTargetDetails is a collection of created Persistent Disks details.", +"id": "ComputeEngineDisksTargetDetails", +"properties": { +"disks": { +"description": "The details of each created Persistent Disk.", +"items": { +"$ref": "PersistentDisk" +}, +"type": "array" +}, +"disksTargetDetails": { +"$ref": "DisksMigrationDisksTargetDetails", +"description": "Details of the disks-only migration target." +}, +"vmTargetDetails": { +"$ref": "DisksMigrationVmTargetDetails", +"description": "Details for the VM the migrated data disks are attached to." +} +}, +"type": "object" +}, +"ComputeEngineTargetDefaults": { +"description": "ComputeEngineTargetDefaults is a collection of details for creating a VM in a target Compute Engine project.", +"id": "ComputeEngineTargetDefaults", +"properties": { +"adaptationModifiers": { +"description": "Optional. AdaptationModifiers are the set of modifiers used during OS adaptation.", +"items": { +"$ref": "AdaptationModifier" +}, +"type": "array" +}, +"additionalLicenses": { +"description": "Additional licenses to assign to the VM.", +"items": { +"type": "string" +}, +"type": "array" +}, +"appliedLicense": { +"$ref": "AppliedLicense", +"description": "Output only. The OS license returned from the adaptation module report.", +"readOnly": true +}, +"bootConversion": { +"description": "Optional. By default the virtual machine will keep its existing boot option. Setting this property will trigger an internal process which will convert the virtual machine from using the existing boot option to another.", +"enum": [ +"BOOT_CONVERSION_UNSPECIFIED", +"NONE", +"BIOS_TO_EFI" +], +"enumDescriptions": [ +"Unspecified conversion type.", +"No conversion.", +"Convert from BIOS to EFI." +], +"type": "string" +}, +"bootOption": { +"description": "Output only. The VM Boot Option, as set in the source VM.", +"enum": [ +"COMPUTE_ENGINE_BOOT_OPTION_UNSPECIFIED", +"COMPUTE_ENGINE_BOOT_OPTION_EFI", +"COMPUTE_ENGINE_BOOT_OPTION_BIOS" +], +"enumDescriptions": [ +"The boot option is unknown.", +"The boot option is EFI.", +"The boot option is BIOS." +], +"readOnly": true, +"type": "string" +}, +"computeScheduling": { +"$ref": "ComputeScheduling", +"description": "Compute instance scheduling information (if empty default is used)." +}, +"diskReplicaZones": { +"description": "Optional. Additional replica zones of the target regional disks. If this list is not empty a regional disk will be created. The first supported zone would be the one stated in the zone field. The rest are taken from this list. Please refer to the [regional disk creation API](https://cloud.google.com/compute/docs/regions-zones/global-regional-zonal-resources) for further details about regional vs zonal disks. If not specified, a zonal disk will be created in the same zone the VM is created.", +"items": { +"type": "string" +}, +"type": "array" +}, +"diskType": { +"description": "The disk type to use in the VM.", +"enum": [ +"COMPUTE_ENGINE_DISK_TYPE_UNSPECIFIED", +"COMPUTE_ENGINE_DISK_TYPE_STANDARD", +"COMPUTE_ENGINE_DISK_TYPE_SSD", +"COMPUTE_ENGINE_DISK_TYPE_BALANCED", +"COMPUTE_ENGINE_DISK_TYPE_HYPERDISK_BALANCED", +"COMPUTE_ENGINE_DISK_TYPE_HYPERDISK_BALANCED_HIGH_AVAILABILITY" +], +"enumDescriptions": [ +"An unspecified disk type. Will be used as STANDARD.", +"A Standard disk type.", +"SSD hard disk type.", +"An alternative to SSD persistent disks that balance performance and cost.", +"Hyperdisk balanced disk type.", +"Hyperdisk balanced high availability disk type." +], +"type": "string" +}, +"enableIntegrityMonitoring": { +"description": "Optional. Defines whether the instance has integrity monitoring enabled. This can be set to true only if the VM boot option is EFI, and vTPM is enabled.", +"type": "boolean" +}, +"enableVtpm": { +"description": "Optional. Defines whether the instance has vTPM enabled. This can be set to true only if the VM boot option is EFI.", +"type": "boolean" +}, +"encryption": { +"$ref": "Encryption", +"description": "Optional. Immutable. The encryption to apply to the VM disks." +}, +"hostname": { +"description": "The hostname to assign to the VM.", +"type": "string" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "A map of labels to associate with the VM.", +"type": "object" +}, +"licenseType": { +"description": "The license type to use in OS adaptation.", +"enum": [ +"COMPUTE_ENGINE_LICENSE_TYPE_DEFAULT", +"COMPUTE_ENGINE_LICENSE_TYPE_PAYG", +"COMPUTE_ENGINE_LICENSE_TYPE_BYOL" +], +"enumDescriptions": [ +"The license type is the default for the OS.", +"The license type is Pay As You Go license type.", +"The license type is Bring Your Own License type." +], +"type": "string" +}, +"machineType": { +"description": "The machine type to create the VM with.", +"type": "string" +}, +"machineTypeSeries": { +"description": "The machine type series to create the VM with.", +"type": "string" +}, +"metadata": { +"additionalProperties": { +"type": "string" +}, +"description": "The metadata key/value pairs to assign to the VM.", +"type": "object" +}, +"networkInterfaces": { +"description": "List of NICs connected to this VM.", +"items": { +"$ref": "NetworkInterface" +}, +"type": "array" +}, +"networkTags": { +"description": "A list of network tags to associate with the VM.", +"items": { +"type": "string" +}, +"type": "array" +}, +"secureBoot": { +"description": "Defines whether the instance has Secure Boot enabled. This can be set to true only if the VM boot option is EFI.", +"type": "boolean" +}, +"serviceAccount": { +"description": "Optional. The service account to associate the VM with.", +"type": "string" +}, +"storagePool": { +"description": "Optional. If specified this will be the storage pool in which the disk is created. This is the full path of the storage pool resource, for example: \"projects/my-project/zones/us-central1-a/storagePools/my-storage-pool\". The storage pool must be in the same project and zone as the target disks. The storage pool's type must match the disk type.", +"type": "string" +}, +"targetProject": { +"description": "The full path of the resource of type TargetProject which represents the Compute Engine project in which to create this VM.", +"type": "string" +}, +"vmName": { +"description": "The name of the VM to create.", +"type": "string" +}, +"zone": { +"description": "The zone in which to create the VM.", +"type": "string" +} +}, +"type": "object" +}, +"ComputeEngineTargetDetails": { +"description": "ComputeEngineTargetDetails is a collection of details for creating a VM in a target Compute Engine project.", +"id": "ComputeEngineTargetDetails", +"properties": { +"adaptationModifiers": { +"description": "Optional. Modifiers to be used as configuration of the OS adaptation process.", +"items": { +"$ref": "AdaptationModifier" +}, +"type": "array" +}, +"additionalLicenses": { +"description": "Additional licenses to assign to the VM.", +"items": { +"type": "string" +}, +"type": "array" +}, +"appliedLicense": { +"$ref": "AppliedLicense", +"description": "The OS license returned from the adaptation module report." +}, +"bootConversion": { +"description": "Optional. By default the virtual machine will keep its existing boot option. Setting this property will trigger an internal process which will convert the virtual machine from using the existing boot option to another.", +"enum": [ +"BOOT_CONVERSION_UNSPECIFIED", +"NONE", +"BIOS_TO_EFI" +], +"enumDescriptions": [ +"Unspecified conversion type.", +"No conversion.", +"Convert from BIOS to EFI." +], +"type": "string" +}, +"bootOption": { +"description": "The VM Boot Option, as set in the source VM.", +"enum": [ +"COMPUTE_ENGINE_BOOT_OPTION_UNSPECIFIED", +"COMPUTE_ENGINE_BOOT_OPTION_EFI", +"COMPUTE_ENGINE_BOOT_OPTION_BIOS" +], +"enumDescriptions": [ +"The boot option is unknown.", +"The boot option is EFI.", +"The boot option is BIOS." +], +"type": "string" +}, +"computeScheduling": { +"$ref": "ComputeScheduling", +"description": "Compute instance scheduling information (if empty default is used)." +}, +"diskReplicaZones": { +"description": "Optional. Additional replica zones of the target regional disks. If this list is not empty a regional disk will be created. The first supported zone would be the one stated in the zone field. The rest are taken from this list. Please refer to the [regional disk creation API](https://cloud.google.com/compute/docs/regions-zones/global-regional-zonal-resources) for further details about regional vs zonal disks. If not specified, a zonal disk will be created in the same zone the VM is created.", +"items": { +"type": "string" +}, +"type": "array" +}, +"diskType": { +"description": "The disk type to use in the VM.", +"enum": [ +"COMPUTE_ENGINE_DISK_TYPE_UNSPECIFIED", +"COMPUTE_ENGINE_DISK_TYPE_STANDARD", +"COMPUTE_ENGINE_DISK_TYPE_SSD", +"COMPUTE_ENGINE_DISK_TYPE_BALANCED", +"COMPUTE_ENGINE_DISK_TYPE_HYPERDISK_BALANCED", +"COMPUTE_ENGINE_DISK_TYPE_HYPERDISK_BALANCED_HIGH_AVAILABILITY" +], +"enumDescriptions": [ +"An unspecified disk type. Will be used as STANDARD.", +"A Standard disk type.", +"SSD hard disk type.", +"An alternative to SSD persistent disks that balance performance and cost.", +"Hyperdisk balanced disk type.", +"Hyperdisk balanced high availability disk type." +], +"type": "string" +}, +"enableIntegrityMonitoring": { +"description": "Optional. Defines whether the instance has integrity monitoring enabled.", +"type": "boolean" +}, +"enableVtpm": { +"description": "Optional. Defines whether the instance has vTPM enabled.", +"type": "boolean" +}, +"encryption": { +"$ref": "Encryption", +"description": "Optional. The encryption to apply to the VM disks." +}, +"hostname": { +"description": "The hostname to assign to the VM.", +"type": "string" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "A map of labels to associate with the VM.", +"type": "object" +}, +"licenseType": { +"description": "The license type to use in OS adaptation.", +"enum": [ +"COMPUTE_ENGINE_LICENSE_TYPE_DEFAULT", +"COMPUTE_ENGINE_LICENSE_TYPE_PAYG", +"COMPUTE_ENGINE_LICENSE_TYPE_BYOL" +], +"enumDescriptions": [ +"The license type is the default for the OS.", +"The license type is Pay As You Go license type.", +"The license type is Bring Your Own License type." +], +"type": "string" +}, +"machineType": { +"description": "The machine type to create the VM with.", +"type": "string" +}, +"machineTypeSeries": { +"description": "The machine type series to create the VM with.", +"type": "string" +}, +"metadata": { +"additionalProperties": { +"type": "string" +}, +"description": "The metadata key/value pairs to assign to the VM.", +"type": "object" +}, +"networkInterfaces": { +"description": "List of NICs connected to this VM.", +"items": { +"$ref": "NetworkInterface" +}, +"type": "array" +}, +"networkTags": { +"description": "A list of network tags to associate with the VM.", +"items": { +"type": "string" +}, +"type": "array" +}, +"project": { +"description": "The Google Cloud target project ID or project name.", +"type": "string" +}, +"secureBoot": { +"description": "Defines whether the instance has Secure Boot enabled. This can be set to true only if the VM boot option is EFI.", +"type": "boolean" +}, +"serviceAccount": { +"description": "The service account to associate the VM with.", +"type": "string" +}, +"storagePool": { +"description": "Optional. The storage pool used for the VM disks. If specified this will be the storage pool in which the disk is created. This is the full path of the storage pool resource, for example: \"projects/my-project/zones/us-central1-a/storagePools/my-storage-pool\". The storage pool must be in the same project and zone as the target disks. The storage pool's type must match the disk type.", +"type": "string" +}, +"vmName": { +"description": "The name of the VM to create.", +"type": "string" +}, +"zone": { +"description": "The zone in which to create the VM.", +"type": "string" +} +}, +"type": "object" +}, +"ComputeScheduling": { +"description": "Scheduling information for VM on maintenance/restart behaviour and node allocation in sole tenant nodes. Options for instance behavior when the host machine undergoes maintenance that may temporarily impact instance performance.", +"id": "ComputeScheduling", +"properties": { +"minNodeCpus": { +"description": "The minimum number of virtual CPUs this instance will consume when running on a sole-tenant node. Ignored if no node_affinites are configured.", +"format": "int32", +"type": "integer" +}, +"nodeAffinities": { +"description": "A set of node affinity and anti-affinity configurations for sole tenant nodes.", +"items": { +"$ref": "SchedulingNodeAffinity" +}, +"type": "array" +}, +"onHostMaintenance": { +"description": "How the instance should behave when the host machine undergoes maintenance that may temporarily impact instance performance.", +"enum": [ +"ON_HOST_MAINTENANCE_UNSPECIFIED", +"TERMINATE", +"MIGRATE" +], +"enumDescriptions": [ +"An unknown, unexpected behavior.", +"Terminate the instance when the host machine undergoes maintenance.", +"Migrate the instance when the host machine undergoes maintenance." +], +"type": "string" +}, +"restartType": { +"description": "Whether the Instance should be automatically restarted whenever it is terminated by Compute Engine (not terminated by user). This configuration is identical to `automaticRestart` field in Compute Engine create instance under scheduling. It was changed to an enum (instead of a boolean) to match the default value in Compute Engine which is automatic restart.", +"enum": [ +"RESTART_TYPE_UNSPECIFIED", +"AUTOMATIC_RESTART", +"NO_AUTOMATIC_RESTART" +], +"enumDescriptions": [ +"Unspecified behavior. This will use the default.", +"The Instance should be automatically restarted whenever it is terminated by Compute Engine.", +"The Instance isn't automatically restarted whenever it is terminated by Compute Engine." +], +"type": "string" +} +}, +"type": "object" +}, +"CopyingSourceDiskSnapshotStep": { +"description": "CopyingSourceDiskSnapshotStep contains specific step details.", +"id": "CopyingSourceDiskSnapshotStep", +"properties": {}, +"type": "object" +}, +"CreatingImageStep": { +"description": "CreatingImageStep contains specific step details.", +"id": "CreatingImageStep", +"properties": {}, +"type": "object" +}, +"CreatingSourceDiskSnapshotStep": { +"description": "CreatingSourceDiskSnapshotStep contains specific step details.", +"id": "CreatingSourceDiskSnapshotStep", +"properties": {}, +"type": "object" +}, +"CutoverForecast": { +"description": "CutoverForecast holds information about future CutoverJobs of a MigratingVm.", +"id": "CutoverForecast", +"properties": { +"estimatedCutoverJobDuration": { +"description": "Output only. Estimation of the CutoverJob duration.", +"format": "google-duration", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"CutoverJob": { +"description": "CutoverJob message describes a cutover of a migrating VM. The CutoverJob is the operation of shutting down the VM, creating a snapshot and cloning the VM using the replicated snapshot.", +"id": "CutoverJob", +"properties": { +"computeEngineDisksTargetDetails": { +"$ref": "ComputeEngineDisksTargetDetails", +"description": "Output only. Details of the target Persistent Disks in Compute Engine.", +"readOnly": true +}, +"computeEngineTargetDetails": { +"$ref": "ComputeEngineTargetDetails", +"description": "Output only. Details of the target VM in Compute Engine.", +"readOnly": true +}, +"createTime": { +"description": "Output only. The time the cutover job was created (as an API call, not when it was actually created in the target).", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"endTime": { +"description": "Output only. The time the cutover job had finished.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"error": { +"$ref": "Status", +"description": "Output only. Provides details for the errors that led to the Cutover Job's state.", +"readOnly": true +}, +"name": { +"description": "Output only. The name of the cutover job.", +"readOnly": true, +"type": "string" +}, +"progressPercent": { +"description": "Output only. The current progress in percentage of the cutover job.", +"format": "int32", +"readOnly": true, +"type": "integer" +}, +"state": { +"description": "Output only. State of the cutover job.", +"enum": [ +"STATE_UNSPECIFIED", +"PENDING", +"FAILED", +"SUCCEEDED", +"CANCELLED", +"CANCELLING", +"ACTIVE", +"ADAPTING_OS" +], +"enumDescriptions": [ +"The state is unknown. This is used for API compatibility only and is not used by the system.", +"The cutover job has not yet started.", +"The cutover job finished with errors.", +"The cutover job finished successfully.", +"The cutover job was cancelled.", +"The cutover job is being cancelled.", +"The cutover job is active and running.", +"OS adaptation is running as part of the cutover job to generate license." +], +"readOnly": true, +"type": "string" +}, +"stateMessage": { +"description": "Output only. A message providing possible extra details about the current state.", +"readOnly": true, +"type": "string" +}, +"stateTime": { +"description": "Output only. The time the state was last updated.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"steps": { +"description": "Output only. The cutover steps list representing its progress.", +"items": { +"$ref": "CutoverStep" +}, +"readOnly": true, +"type": "array" +} +}, +"type": "object" +}, +"CutoverStep": { +"description": "CutoverStep holds information about the cutover step progress.", +"id": "CutoverStep", +"properties": { +"endTime": { +"description": "The time the step has ended.", +"format": "google-datetime", +"type": "string" +}, +"finalSync": { +"$ref": "ReplicationCycle", +"description": "Final sync step." +}, +"instantiatingMigratedVm": { +"$ref": "InstantiatingMigratedVMStep", +"description": "Instantiating migrated VM step." +}, +"preparingVmDisks": { +"$ref": "PreparingVMDisksStep", +"description": "Preparing VM disks step." +}, +"previousReplicationCycle": { +"$ref": "ReplicationCycle", +"description": "A replication cycle prior cutover step." +}, +"shuttingDownSourceVm": { +"$ref": "ShuttingDownSourceVMStep", +"description": "Shutting down VM step." +}, +"startTime": { +"description": "The time the step has started.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"CycleStep": { +"description": "CycleStep holds information about a step progress.", +"id": "CycleStep", +"properties": { +"endTime": { +"description": "The time the cycle step has ended.", +"format": "google-datetime", +"type": "string" +}, +"initializingReplication": { +"$ref": "InitializingReplicationStep", +"description": "Initializing replication step." +}, +"postProcessing": { +"$ref": "PostProcessingStep", +"description": "Post processing step." +}, +"replicating": { +"$ref": "ReplicatingStep", +"description": "Replicating step." +}, +"startTime": { +"description": "The time the cycle step has started.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"DataDiskImageImport": { +"description": "Used when the image import is not using OS adaptation process.", +"id": "DataDiskImageImport", +"properties": { +"guestOsFeatures": { +"description": "Optional. A list of guest OS features to apply to the imported image. These features are flags that are used by Compute Engine to enable certain capabilities for virtual machine instances that are created from the image. This field does not change the OS of the image; it only marks the image with the specified features. The user must ensure that the OS is compatible with the features. For a list of available features, see https://cloud.google.com/compute/docs/images/create-custom#guest-os-features.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"DatacenterConnector": { +"description": "DatacenterConnector message describes a connector between the Source and Google Cloud, which is installed on a vmware datacenter (an OVA vm installed by the user) to connect the Datacenter to Google Cloud and support vm migration data transfer.", +"id": "DatacenterConnector", +"properties": { +"applianceInfrastructureVersion": { +"description": "Output only. Appliance OVA version. This is the OVA which is manually installed by the user and contains the infrastructure for the automatically updatable components on the appliance.", +"readOnly": true, +"type": "string" +}, +"applianceSoftwareVersion": { +"description": "Output only. Appliance last installed update bundle version. This is the version of the automatically updatable components on the appliance.", +"readOnly": true, +"type": "string" +}, +"availableVersions": { +"$ref": "AvailableUpdates", +"description": "Output only. The available versions for updating this appliance.", +"readOnly": true +}, +"bucket": { +"description": "Output only. The communication channel between the datacenter connector and Google Cloud.", +"readOnly": true, +"type": "string" +}, +"createTime": { +"description": "Output only. The time the connector was created (as an API call, not when it was actually installed).", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"error": { +"$ref": "Status", +"description": "Output only. Provides details on the state of the Datacenter Connector in case of an error.", +"readOnly": true +}, +"name": { +"description": "Output only. The connector's name.", +"readOnly": true, +"type": "string" +}, +"registrationId": { +"description": "Immutable. A unique key for this connector. This key is internal to the OVA connector and is supplied with its creation during the registration process and can not be modified.", +"type": "string" +}, +"serviceAccount": { +"description": "The service account to use in the connector when communicating with the cloud.", +"type": "string" +}, +"state": { +"description": "Output only. State of the DatacenterConnector, as determined by the health checks.", +"enum": [ +"STATE_UNSPECIFIED", +"PENDING", +"OFFLINE", +"FAILED", +"ACTIVE" +], +"enumDescriptions": [ +"The state is unknown. This is used for API compatibility only and is not used by the system.", +"The state was not sampled by the health checks yet.", +"The source was sampled by health checks and is not available.", +"The source is available but might not be usable yet due to unvalidated credentials or another reason. The credentials referred to are the ones to the Source. The error message will contain further details.", +"The source exists and its credentials were verified." +], +"readOnly": true, +"type": "string" +}, +"stateTime": { +"description": "Output only. The time the state was last set.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"updateTime": { +"description": "Output only. The last time the connector was updated with an API call.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"upgradeStatus": { +"$ref": "UpgradeStatus", +"description": "Output only. The status of the current / last upgradeAppliance operation.", +"readOnly": true +}, +"version": { +"description": "The version running in the DatacenterConnector. This is supplied by the OVA connector during the registration process and can not be modified.", +"type": "string" +} +}, +"type": "object" +}, +"Disk": { +"description": "A message describing a data disk.", +"id": "Disk", +"properties": { +"lun": { +"description": "The disk's Logical Unit Number (LUN).", +"format": "int32", +"type": "integer" +}, +"name": { +"description": "The disk name.", +"type": "string" +}, +"sizeGb": { +"description": "The disk size in GB.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"DiskImageDefaults": { +"description": "Contains details about the image source used to create the disk.", +"id": "DiskImageDefaults", +"properties": { +"sourceImage": { +"description": "Required. The Image resource used when creating the disk.", +"type": "string" +} +}, +"type": "object" +}, +"DiskImageTargetDetails": { +"description": "The target details of the image resource that will be created by the import job.", +"id": "DiskImageTargetDetails", +"properties": { +"additionalLicenses": { +"description": "Optional. Additional licenses to assign to the image. Format: https://www.googleapis.com/compute/v1/projects/PROJECT_ID/global/licenses/LICENSE_NAME Or https://www.googleapis.com/compute/beta/projects/PROJECT_ID/global/licenses/LICENSE_NAME", +"items": { +"type": "string" +}, +"type": "array" +}, +"dataDiskImageImport": { +"$ref": "DataDiskImageImport", +"description": "Optional. Use to skip OS adaptation process." +}, +"description": { +"description": "Optional. An optional description of the image.", +"type": "string" +}, +"encryption": { +"$ref": "Encryption", +"description": "Immutable. The encryption to apply to the image." +}, +"familyName": { +"description": "Optional. The name of the image family to which the new image belongs.", +"type": "string" +}, +"imageName": { +"description": "Required. The name of the image to be created.", +"type": "string" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. A map of labels to associate with the image.", +"type": "object" +}, +"osAdaptationParameters": { +"$ref": "ImageImportOsAdaptationParameters", +"description": "Optional. Use to set the parameters relevant for the OS adaptation process." +}, +"singleRegionStorage": { +"description": "Optional. Set to true to set the image storageLocations to the single region of the import job. When false, the closest multi-region is selected.", +"type": "boolean" +}, +"targetProject": { +"description": "Required. Reference to the TargetProject resource that represents the target project in which the imported image will be created.", +"type": "string" +} +}, +"type": "object" +}, +"DiskMigrationJob": { +"description": "Describes the disk which will be migrated from the source environment. The source disk has to be unattached.", +"id": "DiskMigrationJob", +"properties": { +"awsSourceDiskDetails": { +"$ref": "AwsSourceDiskDetails", +"description": "Details of the unattached AWS source disk." +}, +"createTime": { +"description": "Output only. The time the DiskMigrationJob resource was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"errors": { +"description": "Output only. Provides details on the errors that led to the disk migration job's state in case of an error.", +"items": { +"$ref": "Status" +}, +"readOnly": true, +"type": "array" +}, +"name": { +"description": "Output only. Identifier. The identifier of the DiskMigrationJob.", +"readOnly": true, +"type": "string" +}, +"state": { +"description": "Output only. State of the DiskMigrationJob.", +"enum": [ +"STATE_UNSPECIFIED", +"READY", +"RUNNING", +"SUCCEEDED", +"CANCELLING", +"CANCELLED", +"FAILED" +], +"enumDescriptions": [ +"The state is unspecified. This is not in use.", +"The initial state of the disk migration. In this state the customers can update the target details.", +"The migration is active, and it's running or scheduled to run.", +"The migration completed successfully.", +"Migration cancellation was initiated.", +"The migration was cancelled.", +"The migration process encountered an unrecoverable error and was aborted." +], +"readOnly": true, +"type": "string" +}, +"steps": { +"description": "Output only. The disk migration steps list representing its progress.", +"items": { +"$ref": "DiskMigrationStep" +}, +"readOnly": true, +"type": "array" +}, +"targetDetails": { +"$ref": "DiskMigrationJobTargetDetails", +"description": "Required. Details of the target Disk in Compute Engine." +}, +"updateTime": { +"description": "Output only. The last time the DiskMigrationJob resource was updated.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"DiskMigrationJobTargetDetails": { +"description": "Details of the target disk in Compute Engine.", +"id": "DiskMigrationJobTargetDetails", +"properties": { +"encryption": { +"$ref": "Encryption", +"description": "Optional. The encryption to apply to the disk. If the DiskMigrationJob parent Source resource has an encryption, this field must be set to the same encryption key." +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. A map of labels to associate with the disk.", +"type": "object" +}, +"targetDisk": { +"$ref": "ComputeEngineDisk", +"description": "Required. The target disk." +}, +"targetProject": { +"description": "Required. The name of the resource of type TargetProject which represents the Compute Engine project in which to create the disk. Should be of the form: projects/{project}/locations/global/targetProjects/{target-project}", +"type": "string" +} +}, +"type": "object" +}, +"DiskMigrationStep": { +"description": "DiskMigrationStep holds information about the disk migration step progress.", +"id": "DiskMigrationStep", +"properties": { +"copyingSourceDiskSnapshot": { +"$ref": "CopyingSourceDiskSnapshotStep", +"description": "Copying source disk snapshot step." +}, +"creatingSourceDiskSnapshot": { +"$ref": "CreatingSourceDiskSnapshotStep", +"description": "Creating source disk snapshot step." +}, +"endTime": { +"description": "Output only. The time the step has ended.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"provisioningTargetDisk": { +"$ref": "ProvisioningTargetDiskStep", +"description": "Creating target disk step." +}, +"startTime": { +"description": "Output only. The time the step has started.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"DisksMigrationDisksTargetDefaults": { +"description": "Details for a disk only migration.", +"id": "DisksMigrationDisksTargetDefaults", +"properties": {}, +"type": "object" +}, +"DisksMigrationDisksTargetDetails": { +"description": "Details for a disks-only migration.", +"id": "DisksMigrationDisksTargetDetails", +"properties": {}, +"type": "object" +}, +"DisksMigrationVmTargetDefaults": { +"description": "Details for creation of a VM that migrated data disks will be attached to.", +"id": "DisksMigrationVmTargetDefaults", +"properties": { +"additionalLicenses": { +"description": "Optional. Additional licenses to assign to the VM.", +"items": { +"type": "string" +}, +"type": "array" +}, +"bootDiskDefaults": { +"$ref": "BootDiskDefaults", +"description": "Optional. Details of the boot disk of the VM." +}, +"computeScheduling": { +"$ref": "ComputeScheduling", +"description": "Optional. Compute instance scheduling information (if empty default is used)." +}, +"enableIntegrityMonitoring": { +"description": "Optional. Defines whether the instance has integrity monitoring enabled.", +"type": "boolean" +}, +"enableVtpm": { +"description": "Optional. Defines whether the instance has vTPM enabled.", +"type": "boolean" +}, +"encryption": { +"$ref": "Encryption", +"description": "Optional. The encryption to apply to the VM." +}, +"hostname": { +"description": "Optional. The hostname to assign to the VM.", +"type": "string" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. A map of labels to associate with the VM.", +"type": "object" +}, +"machineType": { +"description": "Required. The machine type to create the VM with.", +"type": "string" +}, +"machineTypeSeries": { +"description": "Optional. The machine type series to create the VM with. For presentation only.", +"type": "string" +}, +"metadata": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. The metadata key/value pairs to assign to the VM.", +"type": "object" +}, +"networkInterfaces": { +"description": "Optional. NICs to attach to the VM.", +"items": { +"$ref": "NetworkInterface" +}, +"type": "array" +}, +"networkTags": { +"description": "Optional. A list of network tags to associate with the VM.", +"items": { +"type": "string" +}, +"type": "array" +}, +"secureBoot": { +"description": "Optional. Defines whether the instance has Secure Boot enabled. This can be set to true only if the VM boot option is EFI.", +"type": "boolean" +}, +"serviceAccount": { +"description": "Optional. The service account to associate the VM with.", +"type": "string" +}, +"vmName": { +"description": "Required. The name of the VM to create.", +"type": "string" +} +}, +"type": "object" +}, +"DisksMigrationVmTargetDetails": { +"description": "Details for the VM created VM as part of disks migration.", +"id": "DisksMigrationVmTargetDetails", +"properties": { +"vmUri": { +"description": "Output only. The URI of the Compute Engine VM.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"Empty": { +"description": "A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }", +"id": "Empty", +"properties": {}, +"type": "object" +}, +"Encryption": { +"description": "Encryption message describes the details of the applied encryption.", +"id": "Encryption", +"properties": { +"kmsKey": { +"description": "Required. The name of the encryption key that is stored in Google Cloud KMS.", +"type": "string" +} +}, +"type": "object" +}, +"Expiration": { +"description": "Expiration holds information about the expiration of a MigratingVm.", +"id": "Expiration", +"properties": { +"expireTime": { +"description": "Output only. Timestamp of when this resource is considered expired.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"extendable": { +"description": "Output only. Describes whether the expiration can be extended.", +"readOnly": true, +"type": "boolean" +}, +"extensionCount": { +"description": "Output only. The number of times expiration was extended.", +"format": "int32", +"readOnly": true, +"type": "integer" +} +}, +"type": "object" +}, +"ExtendMigrationRequest": { +"description": "Request message for 'ExtendMigrationRequest' request.", +"id": "ExtendMigrationRequest", +"properties": {}, +"type": "object" +}, +"FetchInventoryResponse": { +"description": "Response message for fetchInventory.", +"id": "FetchInventoryResponse", +"properties": { +"awsVms": { +"$ref": "AwsVmsDetails", +"description": "The description of the VMs in a Source of type AWS." +}, +"azureVms": { +"$ref": "AzureVmsDetails", +"description": "The description of the VMs in a Source of type Azure." +}, +"nextPageToken": { +"description": "Output only. A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.", +"readOnly": true, +"type": "string" +}, +"updateTime": { +"description": "Output only. The timestamp when the source was last queried (if the result is from the cache).", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"vmwareVms": { +"$ref": "VmwareVmsDetails", +"description": "The description of the VMs in a Source of type Vmware." +} +}, +"type": "object" +}, +"FetchStorageInventoryResponse": { +"description": "Response message for fetchStorageInventory.", +"id": "FetchStorageInventoryResponse", +"properties": { +"nextPageToken": { +"description": "Output only. A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.", +"readOnly": true, +"type": "string" +}, +"resources": { +"description": "The list of storage resources in the source.", +"items": { +"$ref": "SourceStorageResource" +}, +"type": "array" +}, +"updateTime": { +"description": "Output only. The timestamp when the source was last queried (if the result is from the cache).", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"FinalizeMigrationRequest": { +"description": "Request message for 'FinalizeMigration' request.", +"id": "FinalizeMigrationRequest", +"properties": {}, +"type": "object" +}, +"Group": { +"description": "Describes message for 'Group' resource. The Group is a collections of several MigratingVms.", +"id": "Group", +"properties": { +"createTime": { +"description": "Output only. The create time timestamp.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"description": { +"description": "User-provided description of the group.", +"type": "string" +}, +"displayName": { +"description": "Display name is a user defined name for this group which can be updated.", +"type": "string" +}, +"migrationTargetType": { +"description": "Immutable. The target type of this group.", +"enum": [ +"MIGRATION_TARGET_TYPE_UNSPECIFIED", +"MIGRATION_TARGET_TYPE_GCE", +"MIGRATION_TARGET_TYPE_DISKS" +], +"enumDescriptions": [ +"Group type is not specified. This defaults to Compute Engine targets.", +"All MigratingVMs in the group must have Compute Engine targets.", +"All MigratingVMs in the group must have Compute Engine Disks targets." +], +"type": "string" +}, +"name": { +"description": "Output only. The Group name.", +"readOnly": true, +"type": "string" +}, +"updateTime": { +"description": "Output only. The update time timestamp.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"ImageImport": { +"description": "ImageImport describes the configuration of the image import to run.", +"id": "ImageImport", +"properties": { +"cloudStorageUri": { +"description": "Immutable. The path to the Cloud Storage file from which the image should be imported.", +"type": "string" +}, +"createTime": { +"description": "Output only. The time the image import was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"diskImageTargetDefaults": { +"$ref": "DiskImageTargetDetails", +"description": "Immutable. Target details for importing a disk image, will be used by ImageImportJob." +}, +"encryption": { +"$ref": "Encryption", +"description": "Immutable. The encryption details used by the image import process during the image adaptation for Compute Engine." +}, +"machineImageTargetDefaults": { +"$ref": "MachineImageTargetDetails", +"description": "Immutable. Target details for importing a machine image, will be used by ImageImportJob." +}, +"name": { +"description": "Output only. The resource path of the ImageImport.", +"readOnly": true, +"type": "string" +}, +"recentImageImportJobs": { +"description": "Output only. The result of the most recent runs for this ImageImport. All jobs for this ImageImport can be listed via ListImageImportJobs.", +"items": { +"$ref": "ImageImportJob" +}, +"readOnly": true, +"type": "array" +} +}, +"type": "object" +}, +"ImageImportJob": { +"description": "ImageImportJob describes the progress and result of an image import.", +"id": "ImageImportJob", +"properties": { +"cloudStorageUri": { +"description": "Output only. The path to the Cloud Storage file from which the image should be imported.", +"readOnly": true, +"type": "string" +}, +"createTime": { +"description": "Output only. The time the image import was created (as an API call, not when it was actually created in the target).", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"createdResources": { +"description": "Output only. The resource paths of the resources created by the image import job.", +"items": { +"type": "string" +}, +"readOnly": true, +"type": "array" +}, +"diskImageTargetDetails": { +"$ref": "DiskImageTargetDetails", +"description": "Output only. Target details used to import a disk image.", +"readOnly": true +}, +"endTime": { +"description": "Output only. The time the image import was ended.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"errors": { +"description": "Output only. Provides details on the error that led to the image import state in case of an error.", +"items": { +"$ref": "Status" +}, +"readOnly": true, +"type": "array" +}, +"machineImageTargetDetails": { +"$ref": "MachineImageTargetDetails", +"description": "Output only. Target details used to import a machine image.", +"readOnly": true +}, +"name": { +"description": "Output only. The resource path of the ImageImportJob.", +"readOnly": true, +"type": "string" +}, +"state": { +"description": "Output only. The state of the image import.", +"enum": [ +"STATE_UNSPECIFIED", +"PENDING", +"RUNNING", +"SUCCEEDED", +"FAILED", +"CANCELLING", +"CANCELLED" +], +"enumDescriptions": [ +"The state is unknown.", +"The image import has not yet started.", +"The image import is active and running.", +"The image import has finished successfully.", +"The image import has finished with errors.", +"The image import is being cancelled.", +"The image import was cancelled." +], +"readOnly": true, +"type": "string" +}, +"steps": { +"description": "Output only. The image import steps list representing its progress.", +"items": { +"$ref": "ImageImportStep" +}, +"readOnly": true, +"type": "array" +}, +"warnings": { +"description": "Output only. Warnings that occurred during the image import.", +"items": { +"$ref": "MigrationWarning" +}, +"readOnly": true, +"type": "array" +} +}, +"type": "object" +}, +"ImageImportOsAdaptationParameters": { +"description": "Parameters affecting the OS adaptation process.", +"id": "ImageImportOsAdaptationParameters", +"properties": { +"adaptationModifiers": { +"description": "Optional. Modifiers to be used as configuration of the OS adaptation process.", +"items": { +"$ref": "AdaptationModifier" +}, +"type": "array" +}, +"bootConversion": { +"description": "Optional. By default the image will keep its existing boot option. Setting this property will trigger an internal process which will convert the image from using the existing boot option to another. The size of the boot disk might be increased to allow the conversion", +"enum": [ +"BOOT_CONVERSION_UNSPECIFIED", +"NONE", +"BIOS_TO_EFI" +], +"enumDescriptions": [ +"Unspecified conversion type.", +"No conversion.", +"Convert from BIOS to EFI." +], +"type": "string" +}, +"generalize": { +"description": "Optional. Set to true in order to generalize the imported image. The generalization process enables co-existence of multiple VMs created from the same image. For Windows, generalizing the image removes computer-specific information such as installed drivers and the computer security identifier (SID).", +"type": "boolean" +}, +"licenseType": { +"description": "Optional. Choose which type of license to apply to the imported image.", +"enum": [ +"COMPUTE_ENGINE_LICENSE_TYPE_DEFAULT", +"COMPUTE_ENGINE_LICENSE_TYPE_PAYG", +"COMPUTE_ENGINE_LICENSE_TYPE_BYOL" +], +"enumDescriptions": [ +"The license type is the default for the OS.", +"The license type is Pay As You Go license type.", +"The license type is Bring Your Own License type." +], +"type": "string" +} +}, +"type": "object" +}, +"ImageImportStep": { +"description": "ImageImportStep holds information about the image import step progress.", +"id": "ImageImportStep", +"properties": { +"adaptingOs": { +"$ref": "AdaptingOSStep", +"description": "Adapting OS step." +}, +"creatingImage": { +"$ref": "CreatingImageStep", +"description": "Creating image step." +}, +"endTime": { +"description": "Output only. The time the step has ended.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"initializing": { +"$ref": "InitializingImageImportStep", +"description": "Initializing step." +}, +"loadingSourceFiles": { +"$ref": "LoadingImageSourceFilesStep", +"description": "Loading source files step." +}, +"startTime": { +"description": "Output only. The time the step has started.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"InitializingImageImportStep": { +"description": "InitializingImageImportStep contains specific step details.", +"id": "InitializingImageImportStep", +"properties": {}, +"type": "object" +}, +"InitializingReplicationStep": { +"description": "InitializingReplicationStep contains specific step details.", +"id": "InitializingReplicationStep", +"properties": {}, +"type": "object" +}, +"InstantiatingMigratedVMStep": { +"description": "InstantiatingMigratedVMStep contains specific step details.", +"id": "InstantiatingMigratedVMStep", +"properties": {}, +"type": "object" +}, +"Link": { +"description": "Describes a URL link.", +"id": "Link", +"properties": { +"description": { +"description": "Describes what the link offers.", +"type": "string" +}, +"url": { +"description": "The URL of the link.", +"type": "string" +} +}, +"type": "object" +}, +"ListCloneJobsResponse": { +"description": "Response message for 'ListCloneJobs' request.", +"id": "ListCloneJobsResponse", +"properties": { +"cloneJobs": { +"description": "Output only. The list of clone jobs response.", +"items": { +"$ref": "CloneJob" +}, +"readOnly": true, +"type": "array" +}, +"nextPageToken": { +"description": "Output only. A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.", +"readOnly": true, +"type": "string" +}, +"unreachable": { +"description": "Output only. Locations that could not be reached.", +"items": { +"type": "string" +}, +"readOnly": true, +"type": "array" +} +}, +"type": "object" +}, +"ListCutoverJobsResponse": { +"description": "Response message for 'ListCutoverJobs' request.", +"id": "ListCutoverJobsResponse", +"properties": { +"cutoverJobs": { +"description": "Output only. The list of cutover jobs response.", +"items": { +"$ref": "CutoverJob" +}, +"readOnly": true, +"type": "array" +}, +"nextPageToken": { +"description": "Output only. A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.", +"readOnly": true, +"type": "string" +}, +"unreachable": { +"description": "Output only. Locations that could not be reached.", +"items": { +"type": "string" +}, +"readOnly": true, +"type": "array" +} +}, +"type": "object" +}, +"ListDatacenterConnectorsResponse": { +"description": "Response message for 'ListDatacenterConnectors' request.", +"id": "ListDatacenterConnectorsResponse", +"properties": { +"datacenterConnectors": { +"description": "Output only. The list of sources response.", +"items": { +"$ref": "DatacenterConnector" +}, +"readOnly": true, +"type": "array" +}, +"nextPageToken": { +"description": "Output only. A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.", +"readOnly": true, +"type": "string" +}, +"unreachable": { +"description": "Output only. Locations that could not be reached.", +"items": { +"type": "string" +}, +"readOnly": true, +"type": "array" +} +}, +"type": "object" +}, +"ListDiskMigrationJobsResponse": { +"description": "Response message for 'ListDiskMigrationJobs' request.", +"id": "ListDiskMigrationJobsResponse", +"properties": { +"diskMigrationJobs": { +"description": "Output only. The list of the disk migration jobs.", +"items": { +"$ref": "DiskMigrationJob" +}, +"readOnly": true, +"type": "array" +}, +"nextPageToken": { +"description": "Optional. Output only. A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.", +"readOnly": true, +"type": "string" +}, +"unreachable": { +"description": "Output only. Locations that could not be reached.", +"items": { +"type": "string" +}, +"readOnly": true, +"type": "array" +} +}, +"type": "object" +}, +"ListGroupsResponse": { +"description": "Response message for 'ListGroups' request.", +"id": "ListGroupsResponse", +"properties": { +"groups": { +"description": "Output only. The list of groups response.", +"items": { +"$ref": "Group" +}, +"readOnly": true, +"type": "array" +}, +"nextPageToken": { +"description": "Output only. A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.", +"readOnly": true, +"type": "string" +}, +"unreachable": { +"description": "Output only. Locations that could not be reached.", +"items": { +"type": "string" +}, +"readOnly": true, +"type": "array" +} +}, +"type": "object" +}, +"ListImageImportJobsResponse": { +"description": "Response message for 'ListImageImportJobs' call.", +"id": "ListImageImportJobsResponse", +"properties": { +"imageImportJobs": { +"description": "Output only. The list of target response.", +"items": { +"$ref": "ImageImportJob" +}, +"readOnly": true, +"type": "array" +}, +"nextPageToken": { +"description": "Output only. A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.", +"readOnly": true, +"type": "string" +}, +"unreachable": { +"description": "Output only. Locations that could not be reached.", +"items": { +"type": "string" +}, +"readOnly": true, +"type": "array" +} +}, +"type": "object" +}, +"ListImageImportsResponse": { +"description": "Response message for 'ListImageImports' call.", +"id": "ListImageImportsResponse", +"properties": { +"imageImports": { +"description": "Output only. The list of target response.", +"items": { +"$ref": "ImageImport" +}, +"readOnly": true, +"type": "array" +}, +"nextPageToken": { +"description": "Output only. A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.", +"readOnly": true, +"type": "string" +}, +"unreachable": { +"description": "Output only. Locations that could not be reached.", +"items": { +"type": "string" +}, +"readOnly": true, +"type": "array" +} +}, +"type": "object" +}, +"ListLocationsResponse": { +"description": "The response message for Locations.ListLocations.", +"id": "ListLocationsResponse", +"properties": { +"locations": { +"description": "A list of locations that matches the specified filter in the request.", +"items": { +"$ref": "Location" +}, +"type": "array" +}, +"nextPageToken": { +"description": "The standard List next-page token.", +"type": "string" +} +}, +"type": "object" +}, +"ListMigratingVmsResponse": { +"description": "Response message for 'ListMigratingVms' request.", +"id": "ListMigratingVmsResponse", +"properties": { +"migratingVms": { +"description": "Output only. The list of Migrating VMs response.", +"items": { +"$ref": "MigratingVm" +}, +"readOnly": true, +"type": "array" +}, +"nextPageToken": { +"description": "Output only. A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.", +"readOnly": true, +"type": "string" +}, +"unreachable": { +"description": "Output only. Locations that could not be reached.", +"items": { +"type": "string" +}, +"readOnly": true, +"type": "array" +} +}, +"type": "object" +}, +"ListOperationsResponse": { +"description": "The response message for Operations.ListOperations.", +"id": "ListOperationsResponse", +"properties": { +"nextPageToken": { +"description": "The standard List next-page token.", +"type": "string" +}, +"operations": { +"description": "A list of operations that matches the specified filter in the request.", +"items": { +"$ref": "Operation" +}, +"type": "array" +}, +"unreachable": { +"description": "Unordered list. Unreachable resources. Populated when the request sets `ListOperationsRequest.return_partial_success` and reads across collections. For example, when attempting to list all resources across all supported locations.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListReplicationCyclesResponse": { +"description": "Response message for 'ListReplicationCycles' request.", +"id": "ListReplicationCyclesResponse", +"properties": { +"nextPageToken": { +"description": "Output only. A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.", +"readOnly": true, +"type": "string" +}, +"replicationCycles": { +"description": "Output only. The list of replication cycles response.", +"items": { +"$ref": "ReplicationCycle" +}, +"readOnly": true, +"type": "array" +}, +"unreachable": { +"description": "Output only. Locations that could not be reached.", +"items": { +"type": "string" +}, +"readOnly": true, +"type": "array" +} +}, +"type": "object" +}, +"ListSourcesResponse": { +"description": "Response message for 'ListSources' request.", +"id": "ListSourcesResponse", +"properties": { +"nextPageToken": { +"description": "Output only. A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.", +"readOnly": true, +"type": "string" +}, +"sources": { +"description": "Output only. The list of sources response.", +"items": { +"$ref": "Source" +}, +"readOnly": true, +"type": "array" +}, +"unreachable": { +"description": "Output only. Locations that could not be reached.", +"items": { +"type": "string" +}, +"readOnly": true, +"type": "array" +} +}, +"type": "object" +}, +"ListTargetProjectsResponse": { +"description": "Response message for 'ListTargetProjects' call.", +"id": "ListTargetProjectsResponse", +"properties": { +"nextPageToken": { +"description": "Output only. A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.", +"readOnly": true, +"type": "string" +}, +"targetProjects": { +"description": "Output only. The list of target response.", +"items": { +"$ref": "TargetProject" +}, +"readOnly": true, +"type": "array" +}, +"unreachable": { +"description": "Output only. Locations that could not be reached.", +"items": { +"type": "string" +}, +"readOnly": true, +"type": "array" +} +}, +"type": "object" +}, +"ListUtilizationReportsResponse": { +"description": "Response message for 'ListUtilizationReports' request.", +"id": "ListUtilizationReportsResponse", +"properties": { +"nextPageToken": { +"description": "Output only. A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.", +"readOnly": true, +"type": "string" +}, +"unreachable": { +"description": "Output only. Locations that could not be reached.", +"items": { +"type": "string" +}, +"readOnly": true, +"type": "array" +}, +"utilizationReports": { +"description": "Output only. The list of reports.", +"items": { +"$ref": "UtilizationReport" +}, +"readOnly": true, +"type": "array" +} +}, +"type": "object" +}, +"LoadingImageSourceFilesStep": { +"description": "LoadingImageSourceFilesStep contains specific step details.", +"id": "LoadingImageSourceFilesStep", +"properties": {}, +"type": "object" +}, +"LocalizedMessage": { +"description": "Provides a localized error message that is safe to return to the user which can be attached to an RPC error.", +"id": "LocalizedMessage", +"properties": { +"locale": { +"description": "The locale used following the specification defined at https://www.rfc-editor.org/rfc/bcp/bcp47.txt. Examples are: \"en-US\", \"fr-CH\", \"es-MX\"", +"type": "string" +}, +"message": { +"description": "The localized error message in the above locale.", +"type": "string" +} +}, +"type": "object" +}, +"Location": { +"description": "A resource that represents a Google Cloud location.", +"id": "Location", +"properties": { +"displayName": { +"description": "The friendly name for this location, typically a nearby city name. For example, \"Tokyo\".", +"type": "string" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Cross-service attributes for the location. For example {\"cloud.googleapis.com/region\": \"us-east1\"}", +"type": "object" +}, +"locationId": { +"description": "The canonical id for this location. For example: `\"us-east1\"`.", +"type": "string" +}, +"metadata": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "Service-specific metadata. For example the available capacity at the given location.", +"type": "object" +}, +"name": { +"description": "Resource name for the location, which may vary between implementations. For example: `\"projects/example-project/locations/us-east1\"`", +"type": "string" +} +}, +"type": "object" +}, +"MachineImageParametersOverrides": { +"description": "Parameters overriding decisions based on the source machine image configurations.", +"id": "MachineImageParametersOverrides", +"properties": { +"machineType": { +"description": "Optional. The machine type to create the MachineImage with. If empty, the service will choose a relevant machine type based on the information from the source image. For more information about machine types, please refer to https://cloud.google.com/compute/docs/machine-resource.", +"type": "string" +} +}, +"type": "object" +}, +"MachineImageTargetDetails": { +"description": "The target details of the machine image resource that will be created by the image import job.", +"id": "MachineImageTargetDetails", +"properties": { +"additionalLicenses": { +"description": "Optional. Additional licenses to assign to the instance created by the machine image. Format: https://www.googleapis.com/compute/v1/projects/PROJECT_ID/global/licenses/LICENSE_NAME Or https://www.googleapis.com/compute/beta/projects/PROJECT_ID/global/licenses/LICENSE_NAME", +"items": { +"type": "string" +}, +"type": "array" +}, +"description": { +"description": "Optional. An optional description of the machine image.", +"type": "string" +}, +"encryption": { +"$ref": "Encryption", +"description": "Immutable. The encryption to apply to the machine image. If the Image Import resource has an encryption, this field must be set to the same encryption key." +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. The labels to apply to the instance created by the machine image.", +"type": "object" +}, +"machineImageName": { +"description": "Required. The name of the machine image to be created.", +"type": "string" +}, +"machineImageParametersOverrides": { +"$ref": "MachineImageParametersOverrides", +"description": "Optional. Parameters overriding decisions based on the source machine image configurations." +}, +"networkInterfaces": { +"description": "Optional. The network interfaces to create with the instance created by the machine image. Internal and external IP addresses, and network tiers are ignored for machine image import.", +"items": { +"$ref": "NetworkInterface" +}, +"type": "array" +}, +"osAdaptationParameters": { +"$ref": "ImageImportOsAdaptationParameters", +"description": "Optional. Use to set the parameters relevant for the OS adaptation process." +}, +"serviceAccount": { +"$ref": "ServiceAccount", +"description": "Optional. The service account to assign to the instance created by the machine image." +}, +"shieldedInstanceConfig": { +"$ref": "ShieldedInstanceConfig", +"description": "Optional. Shielded instance configuration." +}, +"singleRegionStorage": { +"description": "Optional. Set to true to set the machine image storageLocations to the single region of the import job. When false, the closest multi-region is selected.", +"type": "boolean" +}, +"skipOsAdaptation": { +"$ref": "SkipOsAdaptation", +"description": "Optional. Use to skip OS adaptation process." +}, +"tags": { +"description": "Optional. The tags to apply to the instance created by the machine image.", +"items": { +"type": "string" +}, +"type": "array" +}, +"targetProject": { +"description": "Required. Reference to the TargetProject resource that represents the target project in which the imported machine image will be created.", +"type": "string" +} +}, +"type": "object" +}, +"MigratingVm": { +"description": "MigratingVm describes the VM that will be migrated from a Source environment and its replication state.", +"id": "MigratingVm", +"properties": { +"awsSourceVmDetails": { +"$ref": "AwsSourceVmDetails", +"description": "Output only. Details of the VM from an AWS source.", +"readOnly": true +}, +"azureSourceVmDetails": { +"$ref": "AzureSourceVmDetails", +"description": "Output only. Details of the VM from an Azure source.", +"readOnly": true +}, +"computeEngineDisksTargetDefaults": { +"$ref": "ComputeEngineDisksTargetDefaults", +"description": "Details of the target Persistent Disks in Compute Engine." +}, +"computeEngineTargetDefaults": { +"$ref": "ComputeEngineTargetDefaults", +"description": "Details of the target VM in Compute Engine." +}, +"createTime": { +"description": "Output only. The time the migrating VM was created (this refers to this resource and not to the time it was installed in the source).", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"currentSyncInfo": { +"$ref": "ReplicationCycle", +"description": "Output only. Details of the current running replication cycle.", +"readOnly": true +}, +"cutoverForecast": { +"$ref": "CutoverForecast", +"description": "Output only. Provides details of future CutoverJobs of a MigratingVm. Set to empty when cutover forecast is unavailable.", +"readOnly": true +}, +"description": { +"description": "The description attached to the migrating VM by the user.", +"type": "string" +}, +"displayName": { +"description": "The display name attached to the MigratingVm by the user.", +"type": "string" +}, +"error": { +"$ref": "Status", +"description": "Output only. Provides details on the state of the Migrating VM in case of an error in replication.", +"readOnly": true +}, +"expiration": { +"$ref": "Expiration", +"description": "Output only. Provides details about the expiration state of the migrating VM.", +"readOnly": true +}, +"group": { +"description": "Output only. The group this migrating vm is included in, if any. The group is represented by the full path of the appropriate Group resource.", +"readOnly": true, +"type": "string" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "The labels of the migrating VM.", +"type": "object" +}, +"lastReplicationCycle": { +"$ref": "ReplicationCycle", +"description": "Output only. Details of the last replication cycle. This will be updated whenever a replication cycle is finished and is not to be confused with last_sync which is only updated on successful replication cycles.", +"readOnly": true +}, +"lastSync": { +"$ref": "ReplicationSync", +"description": "Output only. The most updated snapshot created time in the source that finished replication.", +"readOnly": true +}, +"name": { +"description": "Output only. The identifier of the MigratingVm.", +"readOnly": true, +"type": "string" +}, +"policy": { +"$ref": "SchedulePolicy", +"description": "The replication schedule policy." +}, +"recentCloneJobs": { +"description": "Output only. The recent clone jobs performed on the migrating VM. This field holds the vm's last completed clone job and the vm's running clone job, if one exists. Note: To have this field populated you need to explicitly request it via the \"view\" parameter of the Get/List request.", +"items": { +"$ref": "CloneJob" +}, +"readOnly": true, +"type": "array" +}, +"recentCutoverJobs": { +"description": "Output only. The recent cutover jobs performed on the migrating VM. This field holds the vm's last completed cutover job and the vm's running cutover job, if one exists. Note: To have this field populated you need to explicitly request it via the \"view\" parameter of the Get/List request.", +"items": { +"$ref": "CutoverJob" +}, +"readOnly": true, +"type": "array" +}, +"sourceVmId": { +"description": "The unique ID of the VM in the source. The VM's name in vSphere can be changed, so this is not the VM's name but rather its moRef id. This id is of the form vm-.", +"type": "string" +}, +"state": { +"description": "Output only. State of the MigratingVm.", +"enum": [ +"STATE_UNSPECIFIED", +"PENDING", +"READY", +"FIRST_SYNC", +"ACTIVE", +"CUTTING_OVER", +"CUTOVER", +"FINAL_SYNC", +"PAUSED", +"FINALIZING", +"FINALIZED", +"ERROR", +"EXPIRED", +"FINALIZED_EXPIRED" +], +"enumDescriptions": [ +"The state was not sampled by the health checks yet.", +"The VM in the source is being verified.", +"The source VM was verified, and it's ready to start replication.", +"Migration is going through the first sync cycle.", +"The replication is active, and it's running or scheduled to run.", +"The source VM is being turned off, and a final replication is currently running.", +"The source VM was stopped and replicated. The replication is currently paused.", +"A cutover job is active and replication cycle is running the final sync.", +"The replication was paused by the user and no cycles are scheduled to run.", +"The migrating VM is being finalized and migration resources are being removed.", +"The replication process is done. The migrating VM is finalized and no longer consumes billable resources.", +"The replication process encountered an unrecoverable error and was aborted.", +"The migrating VM has passed its expiration date. It might be possible to bring it back to \"Active\" state by updating the TTL field. For more information, see the documentation.", +"The migrating VM's has been finalized and migration resources have been removed." +], +"readOnly": true, +"type": "string" +}, +"stateTime": { +"description": "Output only. The last time the migrating VM state was updated.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"updateTime": { +"description": "Output only. The last time the migrating VM resource was updated.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"vmwareSourceVmDetails": { +"$ref": "VmwareSourceVmDetails", +"description": "Output only. Details of the VM from a Vmware source.", +"readOnly": true +} +}, +"type": "object" +}, +"MigrationError": { +"description": "Represents migration resource error information that can be used with google.rpc.Status message. MigrationError is used to present the user with error information in migration operations.", +"id": "MigrationError", +"properties": { +"actionItem": { +"$ref": "LocalizedMessage", +"description": "Output only. Suggested action for solving the error.", +"readOnly": true +}, +"code": { +"description": "Output only. The error code.", +"enum": [ +"ERROR_CODE_UNSPECIFIED", +"UNKNOWN_ERROR", +"SOURCE_VALIDATION_ERROR", +"SOURCE_REPLICATION_ERROR", +"TARGET_REPLICATION_ERROR", +"OS_ADAPTATION_ERROR", +"CLONE_ERROR", +"CUTOVER_ERROR", +"UTILIZATION_REPORT_ERROR", +"APPLIANCE_UPGRADE_ERROR", +"IMAGE_IMPORT_ERROR", +"DISK_MIGRATION_ERROR" +], +"enumDescriptions": [ +"Default value. This value is not used.", +"Migrate to Virtual Machines encountered an unknown error.", +"Migrate to Virtual Machines encountered an error while validating replication source health.", +"Migrate to Virtual Machines encountered an error during source data operation.", +"Migrate to Virtual Machines encountered an error during target data operation.", +"Migrate to Virtual Machines encountered an error during OS adaptation.", +"Migrate to Virtual Machines encountered an error in clone operation.", +"Migrate to Virtual Machines encountered an error in cutover operation.", +"Migrate to Virtual Machines encountered an error during utilization report creation.", +"Migrate to Virtual Machines encountered an error during appliance upgrade.", +"Migrate to Virtual Machines encountered an error in image import operation.", +"Migrate to Virtual Machines encountered an error in disk migration operation." +], +"readOnly": true, +"type": "string" +}, +"errorMessage": { +"$ref": "LocalizedMessage", +"description": "Output only. The localized error message.", +"readOnly": true +}, +"errorTime": { +"description": "Output only. The time the error occurred.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"helpLinks": { +"description": "Output only. URL(s) pointing to additional information on handling the current error.", +"items": { +"$ref": "Link" +}, +"readOnly": true, +"type": "array" +} +}, +"type": "object" +}, +"MigrationWarning": { +"description": "Represents migration resource warning information that can be used with google.rpc.Status message. MigrationWarning is used to present the user with warning information in migration operations.", +"id": "MigrationWarning", +"properties": { +"actionItem": { +"$ref": "LocalizedMessage", +"description": "Output only. Suggested action for solving the warning.", +"readOnly": true +}, +"code": { +"description": "The warning code.", +"enum": [ +"WARNING_CODE_UNSPECIFIED", +"ADAPTATION_WARNING" +], +"enumDescriptions": [ +"Default value. This value is not used.", +"A warning originated from OS Adaptation." +], +"type": "string" +}, +"helpLinks": { +"description": "Output only. URL(s) pointing to additional information on handling the current warning.", +"items": { +"$ref": "Link" +}, +"readOnly": true, +"type": "array" +}, +"warningMessage": { +"$ref": "LocalizedMessage", +"description": "Output only. The localized warning message.", +"readOnly": true +}, +"warningTime": { +"description": "The time the warning occurred.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"NetworkInterface": { +"description": "NetworkInterface represents a NIC of a VM.", +"id": "NetworkInterface", +"properties": { +"externalIp": { +"description": "Optional. The external IP to define in the NIC.", +"type": "string" +}, +"internalIp": { +"description": "Optional. The internal IP to define in the NIC. The formats accepted are: `ephemeral` \\ ipv4 address \\ a named address resource full path.", +"type": "string" +}, +"network": { +"description": "Optional. The network to connect the NIC to.", +"type": "string" +}, +"networkTier": { +"description": "Optional. The networking tier used for optimizing connectivity between instances and systems on the internet. Applies only for external ephemeral IP addresses. If left empty, will default to PREMIUM.", +"enum": [ +"COMPUTE_ENGINE_NETWORK_TIER_UNSPECIFIED", +"NETWORK_TIER_STANDARD", +"NETWORK_TIER_PREMIUM" +], +"enumDescriptions": [ +"An unspecified network tier. Will be used as PREMIUM.", +"A standard network tier.", +"A premium network tier." +], +"type": "string" +}, +"subnetwork": { +"description": "Optional. The subnetwork to connect the NIC to.", +"type": "string" +} +}, +"type": "object" +}, +"OSDescription": { +"description": "A message describing the VM's OS. Including OS, Publisher, Offer and Plan if applicable.", +"id": "OSDescription", +"properties": { +"offer": { +"description": "OS offer.", +"type": "string" +}, +"plan": { +"description": "OS plan.", +"type": "string" +}, +"publisher": { +"description": "OS publisher.", +"type": "string" +}, +"type": { +"description": "OS type.", +"type": "string" +} +}, +"type": "object" +}, +"OSDisk": { +"description": "A message describing the OS disk.", +"id": "OSDisk", +"properties": { +"name": { +"description": "The disk's full name.", +"type": "string" +}, +"sizeGb": { +"description": "The disk's size in GB.", +"format": "int32", +"type": "integer" +}, +"type": { +"description": "The disk's type.", +"type": "string" +} +}, +"type": "object" +}, +"Operation": { +"description": "This resource represents a long-running operation that is the result of a network API call.", +"id": "Operation", +"properties": { +"done": { +"description": "If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.", +"type": "boolean" +}, +"error": { +"$ref": "Status", +"description": "The error result of the operation in case of failure or cancellation." +}, +"metadata": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.", +"type": "object" +}, +"name": { +"description": "The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.", +"type": "string" +}, +"response": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "The normal, successful response of the operation. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.", +"type": "object" +} +}, +"type": "object" +}, +"OperationMetadata": { +"description": "Represents the metadata of the long-running operation.", +"id": "OperationMetadata", +"properties": { +"apiVersion": { +"description": "Output only. API version used to start the operation.", +"readOnly": true, +"type": "string" +}, +"createTime": { +"description": "Output only. The time the operation was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"endTime": { +"description": "Output only. The time the operation finished running.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"requestedCancellation": { +"description": "Output only. Identifies whether the user has requested cancellation of the operation. Operations that have successfully been cancelled have Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.", +"readOnly": true, +"type": "boolean" +}, +"statusMessage": { +"description": "Output only. Human-readable status of the operation, if any.", +"readOnly": true, +"type": "string" +}, +"target": { +"description": "Output only. Server-defined resource path for the target of the operation.", +"readOnly": true, +"type": "string" +}, +"verb": { +"description": "Output only. Name of the verb executed by the operation.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"PauseMigrationRequest": { +"description": "Request message for 'PauseMigration' request.", +"id": "PauseMigrationRequest", +"properties": {}, +"type": "object" +}, +"PersistentDisk": { +"description": "Details of a created Persistent Disk.", +"id": "PersistentDisk", +"properties": { +"diskUri": { +"description": "The URI of the Persistent Disk.", +"type": "string" +}, +"sourceDiskNumber": { +"description": "The ordinal number of the source VM disk.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"PersistentDiskDefaults": { +"description": "Details for creation of a Persistent Disk.", +"id": "PersistentDiskDefaults", +"properties": { +"additionalLabels": { +"additionalProperties": { +"type": "string" +}, +"description": "A map of labels to associate with the Persistent Disk.", +"type": "object" +}, +"diskName": { +"description": "Optional. The name of the Persistent Disk to create.", +"type": "string" +}, +"diskType": { +"description": "The disk type to use.", +"enum": [ +"COMPUTE_ENGINE_DISK_TYPE_UNSPECIFIED", +"COMPUTE_ENGINE_DISK_TYPE_STANDARD", +"COMPUTE_ENGINE_DISK_TYPE_SSD", +"COMPUTE_ENGINE_DISK_TYPE_BALANCED", +"COMPUTE_ENGINE_DISK_TYPE_HYPERDISK_BALANCED", +"COMPUTE_ENGINE_DISK_TYPE_HYPERDISK_BALANCED_HIGH_AVAILABILITY" +], +"enumDescriptions": [ +"An unspecified disk type. Will be used as STANDARD.", +"A Standard disk type.", +"SSD hard disk type.", +"An alternative to SSD persistent disks that balance performance and cost.", +"Hyperdisk balanced disk type.", +"Hyperdisk balanced high availability disk type." +], +"type": "string" +}, +"encryption": { +"$ref": "Encryption", +"description": "Optional. The encryption to apply to the disk." +}, +"sourceDiskNumber": { +"description": "Required. The ordinal number of the source VM disk.", +"format": "int32", +"type": "integer" +}, +"vmAttachmentDetails": { +"$ref": "VmAttachmentDetails", +"description": "Optional. Details for attachment of the disk to a VM. Used when the disk is set to be attached to a target VM." +} +}, +"type": "object" +}, +"PostProcessingStep": { +"description": "PostProcessingStep contains specific step details.", +"id": "PostProcessingStep", +"properties": {}, +"type": "object" +}, +"PreparingVMDisksStep": { +"description": "PreparingVMDisksStep contains specific step details.", +"id": "PreparingVMDisksStep", +"properties": {}, +"type": "object" +}, +"ProvisioningTargetDiskStep": { +"description": "ProvisioningTargetDiskStep contains specific step details.", +"id": "ProvisioningTargetDiskStep", +"properties": {}, +"type": "object" +}, +"RemoveGroupMigrationRequest": { +"description": "Request message for 'RemoveMigration' request.", +"id": "RemoveGroupMigrationRequest", +"properties": { +"migratingVm": { +"description": "The MigratingVm to remove.", +"type": "string" +} +}, +"type": "object" +}, +"ReplicatingStep": { +"description": "ReplicatingStep contains specific step details.", +"id": "ReplicatingStep", +"properties": { +"lastThirtyMinutesAverageBytesPerSecond": { +"description": "The source disks replication rate for the last 30 minutes in bytes per second.", +"format": "int64", +"type": "string" +}, +"lastTwoMinutesAverageBytesPerSecond": { +"description": "The source disks replication rate for the last 2 minutes in bytes per second.", +"format": "int64", +"type": "string" +}, +"replicatedBytes": { +"description": "Replicated bytes in the step.", +"format": "int64", +"type": "string" +}, +"totalBytes": { +"description": "Total bytes to be handled in the step.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"ReplicationCycle": { +"description": "ReplicationCycle contains information about the current replication cycle status.", +"id": "ReplicationCycle", +"properties": { +"cycleNumber": { +"description": "The cycle's ordinal number.", +"format": "int32", +"type": "integer" +}, +"endTime": { +"description": "The time the replication cycle has ended.", +"format": "google-datetime", +"type": "string" +}, +"error": { +"$ref": "Status", +"description": "Output only. Provides details on the state of the cycle in case of an error.", +"readOnly": true +}, +"name": { +"description": "The identifier of the ReplicationCycle.", +"type": "string" +}, +"progressPercent": { +"deprecated": true, +"description": "The current progress in percentage of this cycle. Was replaced by 'steps' field, which breaks down the cycle progression more accurately.", +"format": "int32", +"type": "integer" +}, +"startTime": { +"description": "The time the replication cycle has started.", +"format": "google-datetime", +"type": "string" +}, +"state": { +"description": "State of the ReplicationCycle.", +"enum": [ +"STATE_UNSPECIFIED", +"RUNNING", +"PAUSED", +"FAILED", +"SUCCEEDED" +], +"enumDescriptions": [ +"The state is unknown. This is used for API compatibility only and is not used by the system.", +"The replication cycle is running.", +"The replication cycle is paused.", +"The replication cycle finished with errors.", +"The replication cycle finished successfully." +], +"type": "string" +}, +"steps": { +"description": "The cycle's steps list representing its progress.", +"items": { +"$ref": "CycleStep" +}, +"type": "array" +}, +"totalPauseDuration": { +"description": "The accumulated duration the replication cycle was paused.", +"format": "google-duration", +"type": "string" +}, +"warnings": { +"description": "Output only. Warnings that occurred during the cycle.", +"items": { +"$ref": "MigrationWarning" +}, +"readOnly": true, +"type": "array" +} +}, +"type": "object" +}, +"ReplicationSync": { +"description": "ReplicationSync contain information about the last replica sync to the cloud.", +"id": "ReplicationSync", +"properties": { +"lastSyncTime": { +"description": "The most updated snapshot created time in the source that finished replication.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"ResumeMigrationRequest": { +"description": "Request message for 'ResumeMigration' request.", +"id": "ResumeMigrationRequest", +"properties": {}, +"type": "object" +}, +"RunDiskMigrationJobRequest": { +"description": "Request message for 'RunDiskMigrationJobRequest' request.", +"id": "RunDiskMigrationJobRequest", +"properties": {}, +"type": "object" +}, +"SchedulePolicy": { +"description": "A policy for scheduling replications.", +"id": "SchedulePolicy", +"properties": { +"idleDuration": { +"description": "The idle duration between replication stages.", +"format": "google-duration", +"type": "string" +}, +"skipOsAdaptation": { +"description": "A flag to indicate whether to skip OS adaptation during the replication sync. OS adaptation is a process where the VM's operating system undergoes changes and adaptations to fully function on Compute Engine.", +"type": "boolean" +} +}, +"type": "object" +}, +"SchedulingNodeAffinity": { +"description": "Node Affinity: the configuration of desired nodes onto which this Instance could be scheduled. Based on https://cloud.google.com/compute/docs/reference/rest/v1/instances/setScheduling", +"id": "SchedulingNodeAffinity", +"properties": { +"key": { +"description": "The label key of Node resource to reference.", +"type": "string" +}, +"operator": { +"description": "The operator to use for the node resources specified in the `values` parameter.", +"enum": [ +"OPERATOR_UNSPECIFIED", +"IN", +"NOT_IN" +], +"enumDescriptions": [ +"An unknown, unexpected behavior.", +"The node resource group should be in these resources affinity.", +"The node resource group should not be in these resources affinity." +], +"type": "string" +}, +"values": { +"description": "Corresponds to the label values of Node resource.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ServiceAccount": { +"description": "Service account to assign to the instance created by the machine image.", +"id": "ServiceAccount", +"properties": { +"email": { +"description": "Required. The email address of the service account.", +"type": "string" +}, +"scopes": { +"description": "Optional. The list of scopes to be made available for this service account.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ShieldedInstanceConfig": { +"description": "Shielded instance configuration.", +"id": "ShieldedInstanceConfig", +"properties": { +"enableIntegrityMonitoring": { +"description": "Optional. Defines whether the instance created by the machine image has integrity monitoring enabled. This can be set to true only if the image boot option is EFI, and vTPM is enabled.", +"type": "boolean" +}, +"enableVtpm": { +"description": "Optional. Defines whether the instance created by the machine image has vTPM enabled. This can be set to true only if the image boot option is EFI.", +"type": "boolean" +}, +"secureBoot": { +"description": "Optional. Defines whether the instance created by the machine image has Secure Boot enabled. This can be set to true only if the image boot option is EFI.", +"enum": [ +"SECURE_BOOT_UNSPECIFIED", +"TRUE", +"FALSE" +], +"enumDescriptions": [ +"No explicit value is selected. Will use the configuration of the source (if exists, otherwise the default will be false).", +"Use secure boot. This can be set to true only if the image boot option is EFI.", +"Do not use secure boot." +], +"type": "string" +} +}, +"type": "object" +}, +"ShuttingDownSourceVMStep": { +"description": "ShuttingDownSourceVMStep contains specific step details.", +"id": "ShuttingDownSourceVMStep", +"properties": {}, +"type": "object" +}, +"SkipOsAdaptation": { +"description": "Mentions that the machine image import is not using OS adaptation process.", +"id": "SkipOsAdaptation", +"properties": {}, +"type": "object" +}, +"Source": { +"description": "Source message describes a specific vm migration Source resource. It contains the source environment information.", +"id": "Source", +"properties": { +"aws": { +"$ref": "AwsSourceDetails", +"description": "AWS type source details." +}, +"azure": { +"$ref": "AzureSourceDetails", +"description": "Azure type source details." +}, +"createTime": { +"description": "Output only. The create time timestamp.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"description": { +"description": "User-provided description of the source.", +"type": "string" +}, +"encryption": { +"$ref": "Encryption", +"description": "Optional. Immutable. The encryption details of the source data stored by the service." +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "The labels of the source.", +"type": "object" +}, +"name": { +"description": "Output only. The Source name.", +"readOnly": true, +"type": "string" +}, +"updateTime": { +"description": "Output only. The update time timestamp.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"vmware": { +"$ref": "VmwareSourceDetails", +"description": "Vmware type source details." +} +}, +"type": "object" +}, +"SourceStorageResource": { +"description": "SourceStorageResource describes a storage resource in the source.", +"id": "SourceStorageResource", +"properties": { +"awsDiskDetails": { +"$ref": "AwsSourceDiskDetails", +"description": "Source AWS volume details." +} +}, +"type": "object" +}, +"StartMigrationRequest": { +"description": "Request message for 'StartMigrationRequest' request.", +"id": "StartMigrationRequest", +"properties": {}, +"type": "object" +}, +"Status": { +"description": "The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors).", +"id": "Status", +"properties": { +"code": { +"description": "The status code, which should be an enum value of google.rpc.Code.", +"format": "int32", +"type": "integer" +}, +"details": { +"description": "A list of messages that carry the error details. There is a common set of message types for APIs to use.", +"items": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.", +"type": "string" +} +}, +"type": "object" +}, +"Tag": { +"description": "Tag is an AWS tag representation.", +"id": "Tag", +"properties": { +"key": { +"description": "Required. Key of tag.", +"type": "string" +}, +"value": { +"description": "Required. Value of tag.", +"type": "string" +} +}, +"type": "object" +}, +"TargetProject": { +"description": "TargetProject message represents a target Compute Engine project for a migration or a clone.", +"id": "TargetProject", +"properties": { +"createTime": { +"description": "Output only. The time this target project resource was created (not related to when the Compute Engine project it points to was created).", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"description": { +"description": "The target project's description.", +"type": "string" +}, +"name": { +"description": "Output only. The name of the target project.", +"readOnly": true, +"type": "string" +}, +"project": { +"description": "Required. The target project ID (number) or project name.", +"type": "string" +}, +"updateTime": { +"description": "Output only. The last time the target project resource was updated.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"UpgradeApplianceRequest": { +"description": "Request message for 'UpgradeAppliance' request.", +"id": "UpgradeApplianceRequest", +"properties": { +"requestId": { +"description": "A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes after the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", +"type": "string" +} +}, +"type": "object" +}, +"UpgradeStatus": { +"description": "UpgradeStatus contains information about upgradeAppliance operation.", +"id": "UpgradeStatus", +"properties": { +"error": { +"$ref": "Status", +"description": "Output only. Provides details on the state of the upgrade operation in case of an error.", +"readOnly": true +}, +"previousVersion": { +"description": "The version from which we upgraded.", +"type": "string" +}, +"startTime": { +"description": "The time the operation was started.", +"format": "google-datetime", +"type": "string" +}, +"state": { +"description": "The state of the upgradeAppliance operation.", +"enum": [ +"STATE_UNSPECIFIED", +"RUNNING", +"FAILED", +"SUCCEEDED" +], +"enumDescriptions": [ +"The state was not sampled by the health checks yet.", +"The upgrade has started.", +"The upgrade failed.", +"The upgrade finished successfully." +], +"type": "string" +}, +"version": { +"description": "The version to upgrade to.", +"type": "string" +} +}, +"type": "object" +}, +"UtilizationReport": { +"description": "Utilization report details the utilization (CPU, memory, etc.) of selected source VMs.", +"id": "UtilizationReport", +"properties": { +"createTime": { +"description": "Output only. The time the report was created (this refers to the time of the request, not the time the report creation completed).", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"displayName": { +"description": "The report display name, as assigned by the user.", +"type": "string" +}, +"error": { +"$ref": "Status", +"description": "Output only. Provides details on the state of the report in case of an error.", +"readOnly": true +}, +"frameEndTime": { +"description": "Output only. The point in time when the time frame ends. Notice that the time frame is counted backwards. For instance if the \"frame_end_time\" value is 2021/01/20 and the time frame is WEEK then the report covers the week between 2021/01/20 and 2021/01/14.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"name": { +"description": "Output only. The report unique name.", +"readOnly": true, +"type": "string" +}, +"state": { +"description": "Output only. Current state of the report.", +"enum": [ +"STATE_UNSPECIFIED", +"CREATING", +"SUCCEEDED", +"FAILED" +], +"enumDescriptions": [ +"The state is unknown. This value is not in use.", +"The report is in the making.", +"Report creation completed successfully.", +"Report creation failed." +], +"readOnly": true, +"type": "string" +}, +"stateTime": { +"description": "Output only. The time the state was last set.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"timeFrame": { +"description": "Time frame of the report.", +"enum": [ +"TIME_FRAME_UNSPECIFIED", +"WEEK", +"MONTH", +"YEAR" +], +"enumDescriptions": [ +"The time frame was not specified and will default to WEEK.", +"One week.", +"One month.", +"One year." +], +"type": "string" +}, +"vmCount": { +"description": "Output only. Total number of VMs included in the report.", +"format": "int32", +"readOnly": true, +"type": "integer" +}, +"vms": { +"description": "List of utilization information per VM. When sent as part of the request, the \"vm_id\" field is used in order to specify which VMs to include in the report. In that case all other fields are ignored.", +"items": { +"$ref": "VmUtilizationInfo" +}, +"type": "array" +} +}, +"type": "object" +}, +"VmAttachmentDetails": { +"description": "Details for attachment of the disk to a VM.", +"id": "VmAttachmentDetails", +"properties": { +"deviceName": { +"description": "Optional. Specifies a unique device name of your choice that is reflected into the /dev/disk/by-id/google-* tree of a Linux operating system running within the instance. If not specified, the server chooses a default device name to apply to this disk, in the form persistent-disk-x, where x is a number assigned by Google Compute Engine. This field is only applicable for persistent disks.", +"type": "string" +} +}, +"type": "object" +}, +"VmCapabilities": { +"description": "Migrating VM source information about the VM capabilities needed for some Compute Engine features.", +"id": "VmCapabilities", +"properties": { +"lastOsCapabilitiesUpdateTime": { +"description": "Output only. The last time OS capabilities list was updated.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"osCapabilities": { +"description": "Output only. Unordered list. List of certain VM OS capabilities needed for some Compute Engine features.", +"items": { +"enum": [ +"OS_CAPABILITY_UNSPECIFIED", +"OS_CAPABILITY_NVME_STORAGE_ACCESS", +"OS_CAPABILITY_GVNIC_NETWORK_INTERFACE", +"OS_CAPABILITY_IDPF_NETWORK_INTERFACE" +], +"enumDescriptions": [ +"This is for API compatibility only and is not in use.", +"NVMe driver installed and the VM can use NVMe PD or local SSD.", +"gVNIC virtual NIC driver supported.", +"IDPF virtual NIC driver supported." +], +"type": "string" +}, +"readOnly": true, +"type": "array" +} +}, +"type": "object" +}, +"VmUtilizationInfo": { +"description": "Utilization information of a single VM.", +"id": "VmUtilizationInfo", +"properties": { +"utilization": { +"$ref": "VmUtilizationMetrics", +"description": "Utilization metrics for this VM." +}, +"vmId": { +"description": "The VM's ID in the source.", +"type": "string" +}, +"vmwareVmDetails": { +"$ref": "VmwareVmDetails", +"description": "The description of the VM in a Source of type Vmware." +} +}, +"type": "object" +}, +"VmUtilizationMetrics": { +"description": "Utilization metrics values for a single VM.", +"id": "VmUtilizationMetrics", +"properties": { +"cpuAveragePercent": { +"description": "Average CPU usage, percent.", +"format": "int32", +"type": "integer" +}, +"cpuMaxPercent": { +"description": "Max CPU usage, percent.", +"format": "int32", +"type": "integer" +}, +"diskIoRateAverageKbps": { +"description": "Average disk IO rate, in kilobytes per second.", +"format": "int64", +"type": "string" +}, +"diskIoRateMaxKbps": { +"description": "Max disk IO rate, in kilobytes per second.", +"format": "int64", +"type": "string" +}, +"memoryAveragePercent": { +"description": "Average memory usage, percent.", +"format": "int32", +"type": "integer" +}, +"memoryMaxPercent": { +"description": "Max memory usage, percent.", +"format": "int32", +"type": "integer" +}, +"networkThroughputAverageKbps": { +"description": "Average network throughput (combined transmit-rates and receive-rates), in kilobytes per second.", +"format": "int64", +"type": "string" +}, +"networkThroughputMaxKbps": { +"description": "Max network throughput (combined transmit-rates and receive-rates), in kilobytes per second.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"VmwareDiskDetails": { +"description": "The details of a Vmware VM disk.", +"id": "VmwareDiskDetails", +"properties": { +"diskNumber": { +"description": "Output only. The ordinal number of the disk.", +"format": "int32", +"readOnly": true, +"type": "integer" +}, +"label": { +"description": "Output only. The disk label.", +"readOnly": true, +"type": "string" +}, +"sizeGb": { +"description": "Output only. Size in GB.", +"format": "int64", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"VmwareSourceDetails": { +"description": "VmwareSourceDetails message describes a specific source details for the vmware source type.", +"id": "VmwareSourceDetails", +"properties": { +"password": { +"description": "Input only. The credentials password. This is write only and can not be read in a GET operation.", +"type": "string" +}, +"resolvedVcenterHost": { +"description": "The hostname of the vcenter.", +"type": "string" +}, +"thumbprint": { +"description": "The thumbprint representing the certificate for the vcenter.", +"type": "string" +}, +"username": { +"description": "The credentials username.", +"type": "string" +}, +"vcenterIp": { +"description": "The ip address of the vcenter this Source represents.", +"type": "string" +} +}, +"type": "object" +}, +"VmwareSourceVmDetails": { +"description": "Represent the source Vmware VM details.", +"id": "VmwareSourceVmDetails", +"properties": { +"architecture": { +"description": "Output only. The VM architecture.", +"enum": [ +"VM_ARCHITECTURE_UNSPECIFIED", +"VM_ARCHITECTURE_X86_FAMILY", +"VM_ARCHITECTURE_ARM64" +], +"enumDescriptions": [ +"The architecture is unknown.", +"The architecture is one of the x86 architectures.", +"The architecture is ARM64." +], +"readOnly": true, +"type": "string" +}, +"committedStorageBytes": { +"description": "Output only. The total size of the disks being migrated in bytes.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"disks": { +"description": "Output only. The disks attached to the source VM.", +"items": { +"$ref": "VmwareDiskDetails" +}, +"readOnly": true, +"type": "array" +}, +"firmware": { +"description": "Output only. The firmware type of the source VM.", +"enum": [ +"FIRMWARE_UNSPECIFIED", +"EFI", +"BIOS" +], +"enumDescriptions": [ +"The firmware is unknown.", +"The firmware is EFI.", +"The firmware is BIOS." +], +"readOnly": true, +"type": "string" +}, +"vmCapabilitiesInfo": { +"$ref": "VmCapabilities", +"description": "Output only. Information about VM capabilities needed for some Compute Engine features.", +"readOnly": true +} +}, +"type": "object" +}, +"VmwareVmDetails": { +"description": "VmwareVmDetails describes a VM in vCenter.", +"id": "VmwareVmDetails", +"properties": { +"architecture": { +"description": "Output only. The CPU architecture.", +"enum": [ +"VM_ARCHITECTURE_UNSPECIFIED", +"VM_ARCHITECTURE_X86_FAMILY", +"VM_ARCHITECTURE_ARM64" +], +"enumDescriptions": [ +"The architecture is unknown.", +"The architecture is one of the x86 architectures.", +"The architecture is ARM64." +], +"readOnly": true, +"type": "string" +}, +"bootOption": { +"description": "Output only. The VM Boot Option.", +"enum": [ +"BOOT_OPTION_UNSPECIFIED", +"EFI", +"BIOS" +], +"enumDescriptions": [ +"The boot option is unknown.", +"The boot option is EFI.", +"The boot option is BIOS." +], +"readOnly": true, +"type": "string" +}, +"committedStorageMb": { +"description": "The total size of the storage allocated to the VM in MB.", +"format": "int64", +"type": "string" +}, +"cpuCount": { +"description": "The number of cpus in the VM.", +"format": "int32", +"type": "integer" +}, +"datacenterDescription": { +"description": "The descriptive name of the vCenter's datacenter this VM is contained in.", +"type": "string" +}, +"datacenterId": { +"description": "The id of the vCenter's datacenter this VM is contained in.", +"type": "string" +}, +"diskCount": { +"description": "The number of disks the VM has.", +"format": "int32", +"type": "integer" +}, +"displayName": { +"description": "The display name of the VM. Note that this is not necessarily unique.", +"type": "string" +}, +"guestDescription": { +"description": "The VM's OS. See for example https://vdc-repo.vmware.com/vmwb-repository/dcr-public/da47f910-60ac-438b-8b9b-6122f4d14524/16b7274a-bf8b-4b4c-a05e-746f2aa93c8c/doc/vim.vm.GuestOsDescriptor.GuestOsIdentifier.html for types of strings this might hold.", +"type": "string" +}, +"memoryMb": { +"description": "The size of the memory of the VM in MB.", +"format": "int32", +"type": "integer" +}, +"powerState": { +"description": "The power state of the VM at the moment list was taken.", +"enum": [ +"POWER_STATE_UNSPECIFIED", +"ON", +"OFF", +"SUSPENDED" +], +"enumDescriptions": [ +"Power state is not specified.", +"The VM is turned ON.", +"The VM is turned OFF.", +"The VM is suspended. This is similar to hibernation or sleep mode." +], +"type": "string" +}, +"uuid": { +"description": "The unique identifier of the VM in vCenter.", +"type": "string" +}, +"vmId": { +"description": "The VM's id in the source (note that this is not the MigratingVm's id). This is the moref id of the VM.", +"type": "string" +} +}, +"type": "object" +}, +"VmwareVmsDetails": { +"description": "VmwareVmsDetails describes VMs in vCenter.", +"id": "VmwareVmsDetails", +"properties": { +"details": { +"description": "The details of the vmware VMs.", +"items": { +"$ref": "VmwareVmDetails" +}, +"type": "array" +} +}, +"type": "object" +} +}, +"servicePath": "", +"title": "VM Migration API", +"version": "v1", +"version_module": true +} \ No newline at end of file diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/vmwareengine.v1.json b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/vmwareengine.v1.json new file mode 100644 index 0000000000000000000000000000000000000000..0f7f8bf34e6b264da543c290fb1a4ba935ff2a21 --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/vmwareengine.v1.json @@ -0,0 +1,6953 @@ +{ +"auth": { +"oauth2": { +"scopes": { +"https://www.googleapis.com/auth/cloud-platform": { +"description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." +} +} +} +}, +"basePath": "", +"baseUrl": "https://vmwareengine.googleapis.com/", +"batchPath": "batch", +"canonicalName": "VMware Engine", +"description": "The Google VMware Engine API lets you programmatically manage VMware environments.", +"discoveryVersion": "v1", +"documentationLink": "https://cloud.google.com/solutions/vmware-as-a-service", +"fullyEncodeReservedExpansion": true, +"icons": { +"x16": "http://www.google.com/images/icons/product/search-16.gif", +"x32": "http://www.google.com/images/icons/product/search-32.gif" +}, +"id": "vmwareengine:v1", +"kind": "discovery#restDescription", +"mtlsRootUrl": "https://vmwareengine.mtls.googleapis.com/", +"name": "vmwareengine", +"ownerDomain": "google.com", +"ownerName": "Google", +"parameters": { +"$.xgafv": { +"description": "V1 error format.", +"enum": [ +"1", +"2" +], +"enumDescriptions": [ +"v1 error format", +"v2 error format" +], +"location": "query", +"type": "string" +}, +"access_token": { +"description": "OAuth access token.", +"location": "query", +"type": "string" +}, +"alt": { +"default": "json", +"description": "Data format for response.", +"enum": [ +"json", +"media", +"proto" +], +"enumDescriptions": [ +"Responses with Content-Type of application/json", +"Media download with context-dependent Content-Type", +"Responses with Content-Type of application/x-protobuf" +], +"location": "query", +"type": "string" +}, +"callback": { +"description": "JSONP", +"location": "query", +"type": "string" +}, +"fields": { +"description": "Selector specifying which fields to include in a partial response.", +"location": "query", +"type": "string" +}, +"key": { +"description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", +"location": "query", +"type": "string" +}, +"oauth_token": { +"description": "OAuth 2.0 token for the current user.", +"location": "query", +"type": "string" +}, +"prettyPrint": { +"default": "true", +"description": "Returns response with indentations and line breaks.", +"location": "query", +"type": "boolean" +}, +"quotaUser": { +"description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.", +"location": "query", +"type": "string" +}, +"uploadType": { +"description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", +"location": "query", +"type": "string" +}, +"upload_protocol": { +"description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", +"location": "query", +"type": "string" +} +}, +"protocol": "rest", +"resources": { +"projects": { +"resources": { +"locations": { +"methods": { +"get": { +"description": "Gets information about a location.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}", +"httpMethod": "GET", +"id": "vmwareengine.projects.locations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Resource name for the location.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Location" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"getDnsBindPermission": { +"description": "Gets all the principals having bind permission on the intranet VPC associated with the consumer project granted by the Grant API. DnsBindPermission is a global resource and location can only be global.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/dnsBindPermission", +"httpMethod": "GET", +"id": "vmwareengine.projects.locations.getDnsBindPermission", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the resource which stores the users/service accounts having the permission to bind to the corresponding intranet VPC of the consumer project. DnsBindPermission is a global resource. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: `projects/my-project/locations/global/dnsBindPermission`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/dnsBindPermission$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "DnsBindPermission" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists information about the supported locations for this service. This method can be called in two ways: * **List all public locations:** Use the path `GET /v1/locations`. * **List project-visible locations:** Use the path `GET /v1/projects/{project_id}/locations`. This may include public locations as well as private or other locations specifically visible to the project.", +"flatPath": "v1/projects/{projectsId}/locations", +"httpMethod": "GET", +"id": "vmwareengine.projects.locations.list", +"parameterOrder": [ +"name" +], +"parameters": { +"extraLocationTypes": { +"description": "Optional. Do not use this field. It is unsupported and is ignored unless explicitly documented otherwise. This is primarily for internal usage.", +"location": "query", +"repeated": true, +"type": "string" +}, +"filter": { +"description": "A filter to narrow down results to a preferred subset. The filtering language accepts strings like `\"displayName=tokyo\"`, and is documented in more detail in [AIP-160](https://google.aip.dev/160).", +"location": "query", +"type": "string" +}, +"name": { +"description": "The resource that owns the locations collection, if applicable.", +"location": "path", +"pattern": "^projects/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The maximum number of results to return. If not set, the service selects a default.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A page token received from the `next_page_token` field in the response. Send that page token to receive the subsequent page.", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}/locations", +"response": { +"$ref": "ListLocationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"announcements": { +"methods": { +"get": { +"description": "Retrieves a `Announcement` by its resource name.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/announcements/{announcementsId}", +"httpMethod": "GET", +"id": "vmwareengine.projects.locations.announcements.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the announcement to retrieve. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: `projects/my-project/locations/us-west1-a/announcements/announcement-uuid`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/announcements/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Announcement" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists `Announcements` for a given region and project", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/announcements", +"httpMethod": "GET", +"id": "vmwareengine.projects.locations.announcements.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "A filter expression that matches resources returned in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison operator must be `=`, `!=`, `>`, or `<`. For example, if you are filtering a list of announcement runs, you can exclude the ones named `example-announcement` by specifying `name != \"example-announcement\"`. You can also filter nested fields. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (name = \"example-announcement\") (createTime > \"2021-04-12T08:15:10.40Z\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (name = \"announcement-1\") AND (createTime > \"2021-04-12T08:15:10.40Z\") OR (name = \"announcement-2\") ```", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "Sorts list results by a certain order. By default, returned results are ordered by `name` in ascending order. You can also sort results in descending order based on the `name` value using `orderBy=\"name desc\"`. Currently, only ordering by `name` is supported.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "The maximum number of announcements to return in one page. The service may return fewer than this value. The maximum value is coerced to 1000. The default value of this field is 500.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A page token, received from a previous `ListAnnouncements` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListAnnouncements` must match the call that provided the page token.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The resource name of the location to be queried for announcements. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: `projects/my-project/locations/us-west1-a`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/announcements", +"response": { +"$ref": "ListAnnouncementsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"datastores": { +"methods": { +"create": { +"description": "Creates a new `Datastore` resource in a given project and location.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/datastores", +"httpMethod": "POST", +"id": "vmwareengine.projects.locations.datastores.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"datastoreId": { +"description": "Required. The user-provided identifier of the datastore to be created. This identifier must be unique among each `Datastore` within the parent and becomes the final token in the name URI. The identifier must meet the following requirements: * Only contains 1-63 alphanumeric characters and hyphens * Begins with an alphabetical character * Ends with a non-hyphen character * Not formatted as a UUID * Complies with [RFC 1034](https://datatracker.ietf.org/doc/html/rfc1034) (section 3.5)", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The resource name of the location to create the new datastore in. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: `projects/my-project/locations/us-central1`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "Optional. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+parent}/datastores", +"request": { +"$ref": "Datastore" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a `Datastore` resource. You can only delete a Datastore after all resources that refer to it are deleted. For example, multiple clusters of the same private cloud or different private clouds can refer to the same datastore.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/datastores/{datastoresId}", +"httpMethod": "DELETE", +"id": "vmwareengine.projects.locations.datastores.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"etag": { +"description": "Optional. Checksum used to ensure that the user-provided value is up to date before the server processes the request. The server compares provided checksum with the current checksum of the resource. If the user-provided value is out of date, this request returns an `ABORTED` error.", +"location": "query", +"type": "string" +}, +"name": { +"description": "Required. The resource name of the Datastore to be deleted. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: `projects/my-project/locations/us-central1/datastore/my-datastore`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/datastores/[^/]+$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "Optional. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Retrieves a `Datastore` resource by its resource name. The resource contains details of the Datastore, such as its description, subnets, type, and more.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/datastores/{datastoresId}", +"httpMethod": "GET", +"id": "vmwareengine.projects.locations.datastores.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the Datastore to retrieve. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: `projects/my-project/locations/us-central1/datastores/my-datastore`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/datastores/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Datastore" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists `Datastore` resources in a given project and location.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/datastores", +"httpMethod": "GET", +"id": "vmwareengine.projects.locations.datastores.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Optional. A filter expression that matches resources returned in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison operator must be `=`, `!=`, `>`, or `<`. For example, if you are filtering a list of datastores, you can exclude the ones named `example-datastore` by specifying `name != \"example-datastore\"`. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (name = \"example-datastore\") (createTime > \"2021-04-12T08:15:10.40Z\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (name = \"example-datastore-1\") AND (createTime > \"2021-04-12T08:15:10.40Z\") OR (name = \"example-datastore-2\") ```", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "Optional. Sorts list results by a certain order. By default, returned results are ordered by `name` in ascending order. You can also sort results in descending order based on the `name` value using `orderBy=\"name desc\"`. Currently, only ordering by `name` is supported.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Optional. The maximum number of results to return in one page. The maximum value is coerced to 1000. The default value of this field is 500.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. A page token, received from a previous `ListDatastores` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListDatastores` must match the call that provided the page token.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The resource name of the location to query for Datastores. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: `projects/my-project/locations/us-central1`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "Optional. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+parent}/datastores", +"response": { +"$ref": "ListDatastoresResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Modifies a Datastore resource. Only fields specified in `updateMask` are applied.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/datastores/{datastoresId}", +"httpMethod": "PATCH", +"id": "vmwareengine.projects.locations.datastores.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Output only. Identifier. The resource name of this datastore. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: `projects/my-project/locations/us-central1/datastores/datastore`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/datastores/[^/]+$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "Optional. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"updateMask": { +"description": "Optional. Field mask is used to specify the fields to be overwritten in the Datastore resource by the update. The fields specified in the `update_mask` are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "Datastore" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"dnsBindPermission": { +"methods": { +"grant": { +"description": "Grants the bind permission to the customer provided principal(user / service account) to bind their DNS zone with the intranet VPC associated with the project. DnsBindPermission is a global resource and location can only be global.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/dnsBindPermission:grant", +"httpMethod": "POST", +"id": "vmwareengine.projects.locations.dnsBindPermission.grant", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the resource which stores the users/service accounts having the permission to bind to the corresponding intranet VPC of the consumer project. DnsBindPermission is a global resource. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: `projects/my-project/locations/global/dnsBindPermission`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/dnsBindPermission$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:grant", +"request": { +"$ref": "GrantDnsBindPermissionRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"revoke": { +"description": "Revokes the bind permission from the customer provided principal(user / service account) on the intranet VPC associated with the consumer project. DnsBindPermission is a global resource and location can only be global.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/dnsBindPermission:revoke", +"httpMethod": "POST", +"id": "vmwareengine.projects.locations.dnsBindPermission.revoke", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the resource which stores the users/service accounts having the permission to bind to the corresponding intranet VPC of the consumer project. DnsBindPermission is a global resource. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: `projects/my-project/locations/global/dnsBindPermission`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/dnsBindPermission$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:revoke", +"request": { +"$ref": "RevokeDnsBindPermissionRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"networkPeerings": { +"methods": { +"create": { +"description": "Creates a new network peering between the peer network and VMware Engine network provided in a `NetworkPeering` resource. NetworkPeering is a global resource and location can only be global.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/networkPeerings", +"httpMethod": "POST", +"id": "vmwareengine.projects.locations.networkPeerings.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"networkPeeringId": { +"description": "Required. The user-provided identifier of the new `NetworkPeering`. This identifier must be unique among `NetworkPeering` resources within the parent and becomes the final token in the name URI. The identifier must meet the following requirements: * Only contains 1-63 alphanumeric characters and hyphens * Begins with an alphabetical character * Ends with a non-hyphen character * Not formatted as a UUID * Complies with [RFC 1034](https://datatracker.ietf.org/doc/html/rfc1034) (section 3.5)", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The resource name of the location to create the new network peering in. This value is always `global`, because `NetworkPeering` is a global resource. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: `projects/my-project/locations/global`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "Optional. A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server guarantees that a request doesn't result in creation of duplicate commitments for at least 60 minutes. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+parent}/networkPeerings", +"request": { +"$ref": "NetworkPeering" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a `NetworkPeering` resource. When a network peering is deleted for a VMware Engine network, the peer network becomes inaccessible to that VMware Engine network. NetworkPeering is a global resource and location can only be global.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/networkPeerings/{networkPeeringsId}", +"httpMethod": "DELETE", +"id": "vmwareengine.projects.locations.networkPeerings.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the network peering to be deleted. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: `projects/my-project/locations/global/networkPeerings/my-peering`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/networkPeerings/[^/]+$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "Optional. A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server guarantees that a request doesn't result in creation of duplicate commitments for at least 60 minutes. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Retrieves a `NetworkPeering` resource by its resource name. The resource contains details of the network peering, such as peered networks, import and export custom route configurations, and peering state. NetworkPeering is a global resource and location can only be global.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/networkPeerings/{networkPeeringsId}", +"httpMethod": "GET", +"id": "vmwareengine.projects.locations.networkPeerings.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the network peering to retrieve. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: `projects/my-project/locations/global/networkPeerings/my-peering`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/networkPeerings/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "NetworkPeering" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists `NetworkPeering` resources in a given project. NetworkPeering is a global resource and location can only be global.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/networkPeerings", +"httpMethod": "GET", +"id": "vmwareengine.projects.locations.networkPeerings.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "A filter expression that matches resources returned in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison operator must be `=`, `!=`, `>`, or `<`. For example, if you are filtering a list of network peerings, you can exclude the ones named `example-peering` by specifying `name != \"example-peering\"`. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (name = \"example-peering\") (createTime > \"2021-04-12T08:15:10.40Z\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (name = \"example-peering-1\") AND (createTime > \"2021-04-12T08:15:10.40Z\") OR (name = \"example-peering-2\") ```", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "Sorts list results by a certain order. By default, returned results are ordered by `name` in ascending order. You can also sort results in descending order based on the `name` value using `orderBy=\"name desc\"`. Currently, only ordering by `name` is supported.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "The maximum number of network peerings to return in one page. The maximum value is coerced to 1000. The default value of this field is 500.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A page token, received from a previous `ListNetworkPeerings` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListNetworkPeerings` must match the call that provided the page token.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The resource name of the location (global) to query for network peerings. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: `projects/my-project/locations/global`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/networkPeerings", +"response": { +"$ref": "ListNetworkPeeringsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Modifies a `NetworkPeering` resource. Only the `description` field can be updated. Only fields specified in `updateMask` are applied. NetworkPeering is a global resource and location can only be global.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/networkPeerings/{networkPeeringsId}", +"httpMethod": "PATCH", +"id": "vmwareengine.projects.locations.networkPeerings.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Output only. Identifier. The resource name of the network peering. NetworkPeering is a global resource and location can only be global. Resource names are scheme-less URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: `projects/my-project/locations/global/networkPeerings/my-peering`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/networkPeerings/[^/]+$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "Optional. A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server guarantees that a request doesn't result in creation of duplicate commitments for at least 60 minutes. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"updateMask": { +"description": "Required. Field mask is used to specify the fields to be overwritten in the `NetworkPeering` resource by the update. The fields specified in the `update_mask` are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "NetworkPeering" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"peeringRoutes": { +"methods": { +"list": { +"description": "Lists the network peering routes exchanged over a peering connection. NetworkPeering is a global resource and location can only be global.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/networkPeerings/{networkPeeringsId}/peeringRoutes", +"httpMethod": "GET", +"id": "vmwareengine.projects.locations.networkPeerings.peeringRoutes.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "A filter expression that matches resources returned in the response. Currently, only filtering on the `direction` field is supported. To return routes imported from the peer network, provide \"direction=INCOMING\". To return routes exported from the VMware Engine network, provide \"direction=OUTGOING\". Other filter expressions return an error.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "The maximum number of peering routes to return in one page. The service may return fewer than this value. The maximum value is coerced to 1000. The default value of this field is 500.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A page token, received from a previous `ListPeeringRoutes` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListPeeringRoutes` must match the call that provided the page token.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The resource name of the network peering to retrieve peering routes from. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: `projects/my-project/locations/global/networkPeerings/my-peering`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/networkPeerings/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/peeringRoutes", +"response": { +"$ref": "ListPeeringRoutesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +}, +"networkPolicies": { +"methods": { +"create": { +"description": "Creates a new network policy in a given VMware Engine network of a project and location (region). A new network policy cannot be created if another network policy already exists in the same scope.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/networkPolicies", +"httpMethod": "POST", +"id": "vmwareengine.projects.locations.networkPolicies.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"networkPolicyId": { +"description": "Required. The user-provided identifier of the network policy to be created. This identifier must be unique within parent `projects/{my-project}/locations/{us-central1}/networkPolicies` and becomes the final token in the name URI. The identifier must meet the following requirements: * Only contains 1-63 alphanumeric characters and hyphens * Begins with an alphabetical character * Ends with a non-hyphen character * Not formatted as a UUID * Complies with [RFC 1034](https://datatracker.ietf.org/doc/html/rfc1034) (section 3.5)", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The resource name of the location (region) to create the new network policy in. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: `projects/my-project/locations/us-central1`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "Optional. A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server guarantees that a request doesn't result in creation of duplicate commitments for at least 60 minutes. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+parent}/networkPolicies", +"request": { +"$ref": "NetworkPolicy" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a `NetworkPolicy` resource. A network policy cannot be deleted when `NetworkService.state` is set to `RECONCILING` for either its external IP or internet access service.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/networkPolicies/{networkPoliciesId}", +"httpMethod": "DELETE", +"id": "vmwareengine.projects.locations.networkPolicies.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the network policy to delete. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: `projects/my-project/locations/us-central1/networkPolicies/my-network-policy`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/networkPolicies/[^/]+$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "Optional. A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server guarantees that a request doesn't result in creation of duplicate commitments for at least 60 minutes. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"fetchExternalAddresses": { +"description": "Lists external IP addresses assigned to VMware workload VMs within the scope of the given network policy.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/networkPolicies/{networkPoliciesId}:fetchExternalAddresses", +"httpMethod": "GET", +"id": "vmwareengine.projects.locations.networkPolicies.fetchExternalAddresses", +"parameterOrder": [ +"networkPolicy" +], +"parameters": { +"networkPolicy": { +"description": "Required. The resource name of the network policy to query for assigned external IP addresses. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: `projects/my-project/locations/us-central1/networkPolicies/my-policy`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/networkPolicies/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The maximum number of external IP addresses to return in one page. The service may return fewer than this value. The maximum value is coerced to 1000. The default value of this field is 500.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A page token, received from a previous `FetchNetworkPolicyExternalAddresses` call. Provide this to retrieve the subsequent page. When paginating, all parameters provided to `FetchNetworkPolicyExternalAddresses`, except for `page_size` and `page_token`, must match the call that provided the page token.", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+networkPolicy}:fetchExternalAddresses", +"response": { +"$ref": "FetchNetworkPolicyExternalAddressesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Retrieves a `NetworkPolicy` resource by its resource name.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/networkPolicies/{networkPoliciesId}", +"httpMethod": "GET", +"id": "vmwareengine.projects.locations.networkPolicies.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the network policy to retrieve. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: `projects/my-project/locations/us-central1/networkPolicies/my-network-policy`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/networkPolicies/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "NetworkPolicy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists `NetworkPolicy` resources in a specified project and location.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/networkPolicies", +"httpMethod": "GET", +"id": "vmwareengine.projects.locations.networkPolicies.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "A filter expression that matches resources returned in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison operator must be `=`, `!=`, `>`, or `<`. For example, if you are filtering a list of network policies, you can exclude the ones named `example-policy` by specifying `name != \"example-policy\"`. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (name = \"example-policy\") (createTime > \"2021-04-12T08:15:10.40Z\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (name = \"example-policy-1\") AND (createTime > \"2021-04-12T08:15:10.40Z\") OR (name = \"example-policy-2\") ```", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "Sorts list results by a certain order. By default, returned results are ordered by `name` in ascending order. You can also sort results in descending order based on the `name` value using `orderBy=\"name desc\"`. Currently, only ordering by `name` is supported.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "The maximum number of network policies to return in one page. The service may return fewer than this value. The maximum value is coerced to 1000. The default value of this field is 500.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A page token, received from a previous `ListNetworkPolicies` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListNetworkPolicies` must match the call that provided the page token.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The resource name of the location (region) to query for network policies. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: `projects/my-project/locations/us-central1`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/networkPolicies", +"response": { +"$ref": "ListNetworkPoliciesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Modifies a `NetworkPolicy` resource. Only the following fields can be updated: `internet_access`, `external_ip`, `edge_services_cidr`. Only fields specified in `updateMask` are applied. When updating a network policy, the external IP network service can only be disabled if there are no external IP addresses present in the scope of the policy. Also, a `NetworkService` cannot be updated when `NetworkService.state` is set to `RECONCILING`. During operation processing, the resource is temporarily in the `ACTIVE` state before the operation fully completes. For that period of time, you can't update the resource. Use the operation status to determine when the processing fully completes.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/networkPolicies/{networkPoliciesId}", +"httpMethod": "PATCH", +"id": "vmwareengine.projects.locations.networkPolicies.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Output only. Identifier. The resource name of this network policy. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: `projects/my-project/locations/us-central1/networkPolicies/my-network-policy`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/networkPolicies/[^/]+$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "Optional. A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server guarantees that a request doesn't result in creation of duplicate commitments for at least 60 minutes. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"updateMask": { +"description": "Required. Field mask is used to specify the fields to be overwritten in the `NetworkPolicy` resource by the update. The fields specified in the `update_mask` are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "NetworkPolicy" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"externalAccessRules": { +"methods": { +"create": { +"description": "Creates a new external access rule in a given network policy.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/networkPolicies/{networkPoliciesId}/externalAccessRules", +"httpMethod": "POST", +"id": "vmwareengine.projects.locations.networkPolicies.externalAccessRules.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"externalAccessRuleId": { +"description": "Required. The user-provided identifier of the `ExternalAccessRule` to be created. This identifier must be unique among `ExternalAccessRule` resources within the parent and becomes the final token in the name URI. The identifier must meet the following requirements: * Only contains 1-63 alphanumeric characters and hyphens * Begins with an alphabetical character * Ends with a non-hyphen character * Not formatted as a UUID * Complies with [RFC 1034](https://datatracker.ietf.org/doc/html/rfc1034) (section 3.5)", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The resource name of the network policy to create a new external access firewall rule in. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: `projects/my-project/locations/us-central1/networkPolicies/my-policy`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/networkPolicies/[^/]+$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server guarantees that a request doesn't result in creation of duplicate commitments for at least 60 minutes. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if the original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+parent}/externalAccessRules", +"request": { +"$ref": "ExternalAccessRule" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a single external access rule.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/networkPolicies/{networkPoliciesId}/externalAccessRules/{externalAccessRulesId}", +"httpMethod": "DELETE", +"id": "vmwareengine.projects.locations.networkPolicies.externalAccessRules.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the external access firewall rule to delete. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: `projects/my-project/locations/us-central1/networkPolicies/my-policy/externalAccessRules/my-rule`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/networkPolicies/[^/]+/externalAccessRules/[^/]+$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "Optional. A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server guarantees that a request doesn't result in creation of duplicate commitments for at least 60 minutes. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if the original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets details of a single external access rule.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/networkPolicies/{networkPoliciesId}/externalAccessRules/{externalAccessRulesId}", +"httpMethod": "GET", +"id": "vmwareengine.projects.locations.networkPolicies.externalAccessRules.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the external access firewall rule to retrieve. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: `projects/my-project/locations/us-central1/networkPolicies/my-policy/externalAccessRules/my-rule`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/networkPolicies/[^/]+/externalAccessRules/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "ExternalAccessRule" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists `ExternalAccessRule` resources in the specified network policy.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/networkPolicies/{networkPoliciesId}/externalAccessRules", +"httpMethod": "GET", +"id": "vmwareengine.projects.locations.networkPolicies.externalAccessRules.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "A filter expression that matches resources returned in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison operator must be `=`, `!=`, `>`, or `<`. For example, if you are filtering a list of external access rules, you can exclude the ones named `example-rule` by specifying `name != \"example-rule\"`. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (name = \"example-rule\") (createTime > \"2021-04-12T08:15:10.40Z\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (name = \"example-rule-1\") AND (createTime > \"2021-04-12T08:15:10.40Z\") OR (name = \"example-rule-2\") ```", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "Sorts list results by a certain order. By default, returned results are ordered by `name` in ascending order. You can also sort results in descending order based on the `name` value using `orderBy=\"name desc\"`. Currently, only ordering by `name` is supported.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "The maximum number of external access rules to return in one page. The service may return fewer than this value. The maximum value is coerced to 1000. The default value of this field is 500.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A page token, received from a previous `ListExternalAccessRulesRequest` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListExternalAccessRulesRequest` must match the call that provided the page token.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The resource name of the network policy to query for external access firewall rules. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: `projects/my-project/locations/us-central1/networkPolicies/my-policy`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/networkPolicies/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/externalAccessRules", +"response": { +"$ref": "ListExternalAccessRulesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates the parameters of a single external access rule. Only fields specified in `update_mask` are applied.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/networkPolicies/{networkPoliciesId}/externalAccessRules/{externalAccessRulesId}", +"httpMethod": "PATCH", +"id": "vmwareengine.projects.locations.networkPolicies.externalAccessRules.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Output only. The resource name of this external access rule. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: `projects/my-project/locations/us-central1/networkPolicies/my-policy/externalAccessRules/my-rule`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/networkPolicies/[^/]+/externalAccessRules/[^/]+$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "Optional. A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server guarantees that a request doesn't result in creation of duplicate commitments for at least 60 minutes. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if the original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"updateMask": { +"description": "Required. Field mask is used to specify the fields to be overwritten in the `ExternalAccessRule` resource by the update. The fields specified in the `update_mask` are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "ExternalAccessRule" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +}, +"nodeTypes": { +"methods": { +"get": { +"description": "Gets details of a single `NodeType`.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/nodeTypes/{nodeTypesId}", +"httpMethod": "GET", +"id": "vmwareengine.projects.locations.nodeTypes.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the node type to retrieve. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: `projects/my-proj/locations/us-central1-a/nodeTypes/standard-72`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/nodeTypes/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "NodeType" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists node types", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/nodeTypes", +"httpMethod": "GET", +"id": "vmwareengine.projects.locations.nodeTypes.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "A filter expression that matches resources returned in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison operator must be `=`, `!=`, `>`, or `<`. For example, if you are filtering a list of node types, you can exclude the ones named `standard-72` by specifying `name != \"standard-72\"`. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (name = \"standard-72\") (virtual_cpu_count > 2) ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (name = \"standard-96\") AND (virtual_cpu_count > 2) OR (name = \"standard-72\") ```", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "The maximum number of node types to return in one page. The service may return fewer than this value. The maximum value is coerced to 1000. The default value of this field is 500.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A page token, received from a previous `ListNodeTypes` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListNodeTypes` must match the call that provided the page token.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The resource name of the location to be queried for node types. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: `projects/my-project/locations/us-central1-a`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/nodeTypes", +"response": { +"$ref": "ListNodeTypesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"operations": { +"methods": { +"delete": { +"description": "Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}", +"httpMethod": "DELETE", +"id": "vmwareengine.projects.locations.operations.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be deleted.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}", +"httpMethod": "GET", +"id": "vmwareengine.projects.locations.operations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/operations", +"httpMethod": "GET", +"id": "vmwareengine.projects.locations.operations.list", +"parameterOrder": [ +"name" +], +"parameters": { +"filter": { +"description": "The standard list filter.", +"location": "query", +"type": "string" +}, +"name": { +"description": "The name of the operation's parent resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The standard list page size.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The standard list page token.", +"location": "query", +"type": "string" +}, +"returnPartialSuccess": { +"description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `\"projects/example/locations/-\"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1/{+name}/operations", +"response": { +"$ref": "ListOperationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"privateClouds": { +"methods": { +"create": { +"description": "Creates a new `PrivateCloud` resource in a given project and location. Private clouds of type `STANDARD` and `TIME_LIMITED` are zonal resources, `STRETCHED` private clouds are regional. Creating a private cloud also creates a [management cluster](https://cloud.google.com/vmware-engine/docs/concepts-vmware-components) for that private cloud.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/privateClouds", +"httpMethod": "POST", +"id": "vmwareengine.projects.locations.privateClouds.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The resource name of the location to create the new private cloud in. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: `projects/my-project/locations/us-central1-a`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +}, +"privateCloudId": { +"description": "Required. The user-provided identifier of the private cloud to be created. This identifier must be unique among each `PrivateCloud` within the parent and becomes the final token in the name URI. The identifier must meet the following requirements: * Only contains 1-63 alphanumeric characters and hyphens * Begins with an alphabetical character * Ends with a non-hyphen character * Not formatted as a UUID * Complies with [RFC 1034](https://datatracker.ietf.org/doc/html/rfc1034) (section 3.5)", +"location": "query", +"type": "string" +}, +"requestId": { +"description": "Optional. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"validateOnly": { +"description": "Optional. True if you want the request to be validated and not executed; false otherwise.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1/{+parent}/privateClouds", +"request": { +"$ref": "PrivateCloud" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Schedules a `PrivateCloud` resource for deletion. A `PrivateCloud` resource scheduled for deletion has `PrivateCloud.state` set to `DELETED` and `expireTime` set to the time when deletion is final and can no longer be reversed. The delete operation is marked as done as soon as the `PrivateCloud` is successfully scheduled for deletion (this also applies when `delayHours` is set to zero), and the operation is not kept in pending state until `PrivateCloud` is purged. `PrivateCloud` can be restored using `UndeletePrivateCloud` method before the `expireTime` elapses. When `expireTime` is reached, deletion is final and all private cloud resources are irreversibly removed and billing stops. During the final removal process, `PrivateCloud.state` is set to `PURGING`. `PrivateCloud` can be polled using standard `GET` method for the whole period of deletion and purging. It will not be returned only when it is completely purged.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/privateClouds/{privateCloudsId}", +"httpMethod": "DELETE", +"id": "vmwareengine.projects.locations.privateClouds.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"delayHours": { +"description": "Optional. Time delay of the deletion specified in hours. The default value is `3`. Specifying a non-zero value for this field changes the value of `PrivateCloud.state` to `DELETED` and sets `expire_time` to the planned deletion time. Deletion can be cancelled before `expire_time` elapses using VmwareEngine.UndeletePrivateCloud. Specifying a value of `0` for this field instead begins the deletion process and ceases billing immediately. During the final deletion process, the value of `PrivateCloud.state` becomes `PURGING`.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"force": { +"description": "Optional. If set to true, cascade delete is enabled and all children of this private cloud resource are also deleted. When this flag is set to false, the private cloud will not be deleted if there are any children other than the management cluster. The management cluster is always deleted.", +"location": "query", +"type": "boolean" +}, +"name": { +"description": "Required. The resource name of the private cloud to delete. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: `projects/my-project/locations/us-central1-a/privateClouds/my-cloud`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/privateClouds/[^/]+$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "Optional. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Retrieves a `PrivateCloud` resource by its resource name.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/privateClouds/{privateCloudsId}", +"httpMethod": "GET", +"id": "vmwareengine.projects.locations.privateClouds.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the private cloud to retrieve. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: `projects/my-project/locations/us-central1-a/privateClouds/my-cloud`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/privateClouds/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "PrivateCloud" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"getDnsForwarding": { +"description": "Gets details of the `DnsForwarding` config.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/privateClouds/{privateCloudsId}/dnsForwarding", +"httpMethod": "GET", +"id": "vmwareengine.projects.locations.privateClouds.getDnsForwarding", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of a `DnsForwarding` to retrieve. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: `projects/my-project/locations/us-central1-a/privateClouds/my-cloud/dnsForwarding`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/privateClouds/[^/]+/dnsForwarding$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "DnsForwarding" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"getIamPolicy": { +"description": "Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/privateClouds/{privateCloudsId}:getIamPolicy", +"httpMethod": "GET", +"id": "vmwareengine.projects.locations.privateClouds.getIamPolicy", +"parameterOrder": [ +"resource" +], +"parameters": { +"options.requestedPolicyVersion": { +"description": "Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).", +"format": "int32", +"location": "query", +"type": "integer" +}, +"resource": { +"description": "REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/privateClouds/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+resource}:getIamPolicy", +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists `PrivateCloud` resources in a given project and location.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/privateClouds", +"httpMethod": "GET", +"id": "vmwareengine.projects.locations.privateClouds.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "A filter expression that matches resources returned in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison operator must be `=`, `!=`, `>`, or `<`. For example, if you are filtering a list of private clouds, you can exclude the ones named `example-pc` by specifying `name != \"example-pc\"`. You can also filter nested fields. For example, you could specify `networkConfig.managementCidr = \"192.168.0.0/24\"` to include private clouds only if they have a matching address in their network configuration. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (name = \"example-pc\") (createTime > \"2021-04-12T08:15:10.40Z\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (name = \"private-cloud-1\") AND (createTime > \"2021-04-12T08:15:10.40Z\") OR (name = \"private-cloud-2\") ```", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "Sorts list results by a certain order. By default, returned results are ordered by `name` in ascending order. You can also sort results in descending order based on the `name` value using `orderBy=\"name desc\"`. Currently, only ordering by `name` is supported.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "The maximum number of private clouds to return in one page. The service may return fewer than this value. The maximum value is coerced to 1000. The default value of this field is 500.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A page token, received from a previous `ListPrivateClouds` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListPrivateClouds` must match the call that provided the page token.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The resource name of the private cloud to be queried for clusters. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: `projects/my-project/locations/us-central1-a`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/privateClouds", +"response": { +"$ref": "ListPrivateCloudsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Modifies a `PrivateCloud` resource. Only the following fields can be updated: `description`. Only fields specified in `updateMask` are applied. During operation processing, the resource is temporarily in the `ACTIVE` state before the operation fully completes. For that period of time, you can't update the resource. Use the operation status to determine when the processing fully completes.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/privateClouds/{privateCloudsId}", +"httpMethod": "PATCH", +"id": "vmwareengine.projects.locations.privateClouds.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Output only. Identifier. The resource name of this private cloud. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: `projects/my-project/locations/us-central1-a/privateClouds/my-cloud`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/privateClouds/[^/]+$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "Optional. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"updateMask": { +"description": "Required. Field mask is used to specify the fields to be overwritten in the `PrivateCloud` resource by the update. The fields specified in `updateMask` are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "PrivateCloud" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"privateCloudDeletionNow": { +"description": "Accelerates the deletion of a private cloud that is currently in soft deletion A `PrivateCloud` resource in soft deletion has `PrivateCloud.state` set to `SOFT_DELETED` and `PrivateCloud.expireTime` set to the time when deletion can no longer be reversed.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/privateClouds/{privateCloudsId}:privateCloudDeletionNow", +"httpMethod": "POST", +"id": "vmwareengine.projects.locations.privateClouds.privateCloudDeletionNow", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the private cloud in softdeletion. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: `projects/my-project/locations/us-central1-a/privateClouds/my-cloud`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/privateClouds/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:privateCloudDeletionNow", +"request": { +"$ref": "AcceleratePrivateCloudDeletionRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"resetNsxCredentials": { +"description": "Resets credentials of the NSX appliance.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/privateClouds/{privateCloudsId}:resetNsxCredentials", +"httpMethod": "POST", +"id": "vmwareengine.projects.locations.privateClouds.resetNsxCredentials", +"parameterOrder": [ +"privateCloud" +], +"parameters": { +"privateCloud": { +"description": "Required. The resource name of the private cloud to reset credentials for. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: `projects/my-project/locations/us-central1-a/privateClouds/my-cloud`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/privateClouds/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+privateCloud}:resetNsxCredentials", +"request": { +"$ref": "ResetNsxCredentialsRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"resetVcenterCredentials": { +"description": "Resets credentials of the Vcenter appliance.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/privateClouds/{privateCloudsId}:resetVcenterCredentials", +"httpMethod": "POST", +"id": "vmwareengine.projects.locations.privateClouds.resetVcenterCredentials", +"parameterOrder": [ +"privateCloud" +], +"parameters": { +"privateCloud": { +"description": "Required. The resource name of the private cloud to reset credentials for. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: `projects/my-project/locations/us-central1-a/privateClouds/my-cloud`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/privateClouds/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+privateCloud}:resetVcenterCredentials", +"request": { +"$ref": "ResetVcenterCredentialsRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"setIamPolicy": { +"description": "Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/privateClouds/{privateCloudsId}:setIamPolicy", +"httpMethod": "POST", +"id": "vmwareengine.projects.locations.privateClouds.setIamPolicy", +"parameterOrder": [ +"resource" +], +"parameters": { +"resource": { +"description": "REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/privateClouds/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+resource}:setIamPolicy", +"request": { +"$ref": "SetIamPolicyRequest" +}, +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"showNsxCredentials": { +"description": "Gets details of credentials for NSX appliance.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/privateClouds/{privateCloudsId}:showNsxCredentials", +"httpMethod": "GET", +"id": "vmwareengine.projects.locations.privateClouds.showNsxCredentials", +"parameterOrder": [ +"privateCloud" +], +"parameters": { +"privateCloud": { +"description": "Required. The resource name of the private cloud to be queried for credentials. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: `projects/my-project/locations/us-central1-a/privateClouds/my-cloud`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/privateClouds/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+privateCloud}:showNsxCredentials", +"response": { +"$ref": "Credentials" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"showVcenterCredentials": { +"description": "Gets details of credentials for Vcenter appliance.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/privateClouds/{privateCloudsId}:showVcenterCredentials", +"httpMethod": "GET", +"id": "vmwareengine.projects.locations.privateClouds.showVcenterCredentials", +"parameterOrder": [ +"privateCloud" +], +"parameters": { +"privateCloud": { +"description": "Required. The resource name of the private cloud to be queried for credentials. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: `projects/my-project/locations/us-central1-a/privateClouds/my-cloud`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/privateClouds/[^/]+$", +"required": true, +"type": "string" +}, +"username": { +"description": "Optional. The username of the user to be queried for credentials. The default value of this field is CloudOwner@gve.local. The provided value must be one of the following: CloudOwner@gve.local, solution-user-01@gve.local, solution-user-02@gve.local, solution-user-03@gve.local, solution-user-04@gve.local, solution-user-05@gve.local, zertoadmin@gve.local.", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+privateCloud}:showVcenterCredentials", +"response": { +"$ref": "Credentials" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"testIamPermissions": { +"description": "Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may \"fail open\" without warning.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/privateClouds/{privateCloudsId}:testIamPermissions", +"httpMethod": "POST", +"id": "vmwareengine.projects.locations.privateClouds.testIamPermissions", +"parameterOrder": [ +"resource" +], +"parameters": { +"resource": { +"description": "REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/privateClouds/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+resource}:testIamPermissions", +"request": { +"$ref": "TestIamPermissionsRequest" +}, +"response": { +"$ref": "TestIamPermissionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"undelete": { +"description": "Restores a private cloud that was previously scheduled for deletion by `DeletePrivateCloud`. A `PrivateCloud` resource scheduled for deletion has `PrivateCloud.state` set to `DELETED` and `PrivateCloud.expireTime` set to the time when deletion can no longer be reversed.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/privateClouds/{privateCloudsId}:undelete", +"httpMethod": "POST", +"id": "vmwareengine.projects.locations.privateClouds.undelete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the private cloud scheduled for deletion. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: `projects/my-project/locations/us-central1-a/privateClouds/my-cloud`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/privateClouds/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:undelete", +"request": { +"$ref": "UndeletePrivateCloudRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"updateDnsForwarding": { +"description": "Updates the parameters of the `DnsForwarding` config, like associated domains. Only fields specified in `update_mask` are applied.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/privateClouds/{privateCloudsId}/dnsForwarding", +"httpMethod": "PATCH", +"id": "vmwareengine.projects.locations.privateClouds.updateDnsForwarding", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Output only. Identifier. The resource name of this DNS profile. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: `projects/my-project/locations/us-central1-a/privateClouds/my-cloud/dnsForwarding`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/privateClouds/[^/]+/dnsForwarding$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "Optional. A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server guarantees that a request doesn't result in creation of duplicate commitments for at least 60 minutes. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"updateMask": { +"description": "Required. Field mask is used to specify the fields to be overwritten in the `DnsForwarding` resource by the update. The fields specified in the `update_mask` are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "DnsForwarding" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"clusters": { +"methods": { +"create": { +"description": "Creates a new cluster in a given private cloud. Creating a new cluster provides additional nodes for use in the parent private cloud and requires sufficient [node quota](https://cloud.google.com/vmware-engine/quotas).", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/privateClouds/{privateCloudsId}/clusters", +"httpMethod": "POST", +"id": "vmwareengine.projects.locations.privateClouds.clusters.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"clusterId": { +"description": "Required. The user-provided identifier of the new `Cluster`. This identifier must be unique among clusters within the parent and becomes the final token in the name URI. The identifier must meet the following requirements: * Only contains 1-63 alphanumeric characters and hyphens * Begins with an alphabetical character * Ends with a non-hyphen character * Not formatted as a UUID * Complies with [RFC 1034](https://datatracker.ietf.org/doc/html/rfc1034) (section 3.5)", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The resource name of the private cloud to create a new cluster in. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: `projects/my-project/locations/us-central1-a/privateClouds/my-cloud`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/privateClouds/[^/]+$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "Optional. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"validateOnly": { +"description": "Optional. True if you want the request to be validated and not executed; false otherwise.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1/{+parent}/clusters", +"request": { +"$ref": "Cluster" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a `Cluster` resource. To avoid unintended data loss, migrate or gracefully shut down any workloads running on the cluster before deletion. You cannot delete the management cluster of a private cloud using this method.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/privateClouds/{privateCloudsId}/clusters/{clustersId}", +"httpMethod": "DELETE", +"id": "vmwareengine.projects.locations.privateClouds.clusters.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the cluster to delete. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: `projects/my-project/locations/us-central1-a/privateClouds/my-cloud/clusters/my-cluster`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/privateClouds/[^/]+/clusters/[^/]+$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "Optional. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Retrieves a `Cluster` resource by its resource name.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/privateClouds/{privateCloudsId}/clusters/{clustersId}", +"httpMethod": "GET", +"id": "vmwareengine.projects.locations.privateClouds.clusters.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The cluster resource name to retrieve. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: `projects/my-project/locations/us-central1-a/privateClouds/my-cloud/clusters/my-cluster`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/privateClouds/[^/]+/clusters/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Cluster" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"getIamPolicy": { +"description": "Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/privateClouds/{privateCloudsId}/clusters/{clustersId}:getIamPolicy", +"httpMethod": "GET", +"id": "vmwareengine.projects.locations.privateClouds.clusters.getIamPolicy", +"parameterOrder": [ +"resource" +], +"parameters": { +"options.requestedPolicyVersion": { +"description": "Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).", +"format": "int32", +"location": "query", +"type": "integer" +}, +"resource": { +"description": "REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/privateClouds/[^/]+/clusters/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+resource}:getIamPolicy", +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists `Cluster` resources in a given private cloud.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/privateClouds/{privateCloudsId}/clusters", +"httpMethod": "GET", +"id": "vmwareengine.projects.locations.privateClouds.clusters.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": " To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (name = \"example-cluster\") (nodeCount = \"3\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (name = \"example-cluster-1\") AND (createTime > \"2021-04-12T08:15:10.40Z\") OR (name = \"example-cluster-2\") ```", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "Sorts list results by a certain order. By default, returned results are ordered by `name` in ascending order. You can also sort results in descending order based on the `name` value using `orderBy=\"name desc\"`. Currently, only ordering by `name` is supported.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "The maximum number of clusters to return in one page. The service may return fewer than this value. The maximum value is coerced to 1000. The default value of this field is 500.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A page token, received from a previous `ListClusters` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListClusters` must match the call that provided the page token.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The resource name of the private cloud to query for clusters. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: `projects/my-project/locations/us-central1-a/privateClouds/my-cloud`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/privateClouds/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/clusters", +"response": { +"$ref": "ListClustersResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"mountDatastore": { +"description": "Mounts a `Datastore` on a cluster resource", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/privateClouds/{privateCloudsId}/clusters/{clustersId}:mountDatastore", +"httpMethod": "POST", +"id": "vmwareengine.projects.locations.privateClouds.clusters.mountDatastore", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the cluster to mount the datastore. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: `projects/my-project/locations/us-central1-a/privateClouds/my-cloud/clusters/my-cluster`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/privateClouds/[^/]+/clusters/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:mountDatastore", +"request": { +"$ref": "MountDatastoreRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Modifies a `Cluster` resource. Only fields specified in `updateMask` are applied. During operation processing, the resource is temporarily in the `ACTIVE` state before the operation fully completes. For that period of time, you can't update the resource. Use the operation status to determine when the processing fully completes.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/privateClouds/{privateCloudsId}/clusters/{clustersId}", +"httpMethod": "PATCH", +"id": "vmwareengine.projects.locations.privateClouds.clusters.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Output only. Identifier. The resource name of this cluster. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: `projects/my-project/locations/us-central1-a/privateClouds/my-cloud/clusters/my-cluster`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/privateClouds/[^/]+/clusters/[^/]+$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "Optional. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"updateMask": { +"description": "Required. Field mask is used to specify the fields to be overwritten in the `Cluster` resource by the update. The fields specified in the `updateMask` are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +}, +"validateOnly": { +"description": "Optional. True if you want the request to be validated and not executed; false otherwise.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "Cluster" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"setIamPolicy": { +"description": "Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/privateClouds/{privateCloudsId}/clusters/{clustersId}:setIamPolicy", +"httpMethod": "POST", +"id": "vmwareengine.projects.locations.privateClouds.clusters.setIamPolicy", +"parameterOrder": [ +"resource" +], +"parameters": { +"resource": { +"description": "REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/privateClouds/[^/]+/clusters/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+resource}:setIamPolicy", +"request": { +"$ref": "SetIamPolicyRequest" +}, +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"testIamPermissions": { +"description": "Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may \"fail open\" without warning.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/privateClouds/{privateCloudsId}/clusters/{clustersId}:testIamPermissions", +"httpMethod": "POST", +"id": "vmwareengine.projects.locations.privateClouds.clusters.testIamPermissions", +"parameterOrder": [ +"resource" +], +"parameters": { +"resource": { +"description": "REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/privateClouds/[^/]+/clusters/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+resource}:testIamPermissions", +"request": { +"$ref": "TestIamPermissionsRequest" +}, +"response": { +"$ref": "TestIamPermissionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"unmountDatastore": { +"description": "Unmounts a `Datastore` on a cluster resource", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/privateClouds/{privateCloudsId}/clusters/{clustersId}:unmountDatastore", +"httpMethod": "POST", +"id": "vmwareengine.projects.locations.privateClouds.clusters.unmountDatastore", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the cluster to unmount the datastore. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: `projects/my-project/locations/us-central1-a/privateClouds/my-cloud/clusters/my-cluster`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/privateClouds/[^/]+/clusters/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:unmountDatastore", +"request": { +"$ref": "UnmountDatastoreRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"nodes": { +"methods": { +"get": { +"description": "Gets details of a single node.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/privateClouds/{privateCloudsId}/clusters/{clustersId}/nodes/{nodesId}", +"httpMethod": "GET", +"id": "vmwareengine.projects.locations.privateClouds.clusters.nodes.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the node to retrieve. For example: `projects/{project}/locations/{location}/privateClouds/{private_cloud}/clusters/{cluster}/nodes/{node}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/privateClouds/[^/]+/clusters/[^/]+/nodes/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Node" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists nodes in a given cluster.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/privateClouds/{privateCloudsId}/clusters/{clustersId}/nodes", +"httpMethod": "GET", +"id": "vmwareengine.projects.locations.privateClouds.clusters.nodes.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "The maximum number of nodes to return in one page. The service may return fewer than this value. The maximum value is coerced to 1000. The default value of this field is 500.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A page token, received from a previous `ListNodes` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListNodes` must match the call that provided the page token.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The resource name of the cluster to be queried for nodes. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: `projects/my-project/locations/us-central1-a/privateClouds/my-cloud/clusters/my-cluster`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/privateClouds/[^/]+/clusters/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/nodes", +"response": { +"$ref": "ListNodesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +}, +"externalAddresses": { +"methods": { +"create": { +"description": "Creates a new `ExternalAddress` resource in a given private cloud. The network policy that corresponds to the private cloud must have the external IP address network service enabled (`NetworkPolicy.external_ip`).", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/privateClouds/{privateCloudsId}/externalAddresses", +"httpMethod": "POST", +"id": "vmwareengine.projects.locations.privateClouds.externalAddresses.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"externalAddressId": { +"description": "Required. The user-provided identifier of the `ExternalAddress` to be created. This identifier must be unique among `ExternalAddress` resources within the parent and becomes the final token in the name URI. The identifier must meet the following requirements: * Only contains 1-63 alphanumeric characters and hyphens * Begins with an alphabetical character * Ends with a non-hyphen character * Not formatted as a UUID * Complies with [RFC 1034](https://datatracker.ietf.org/doc/html/rfc1034) (section 3.5)", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The resource name of the private cloud to create a new external IP address in. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: `projects/my-project/locations/us-central1-a/privateClouds/my-cloud`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/privateClouds/[^/]+$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "Optional. A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server guarantees that a request doesn't result in creation of duplicate commitments for at least 60 minutes. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if the original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+parent}/externalAddresses", +"request": { +"$ref": "ExternalAddress" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a single external IP address. When you delete an external IP address, connectivity between the external IP address and the corresponding internal IP address is lost.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/privateClouds/{privateCloudsId}/externalAddresses/{externalAddressesId}", +"httpMethod": "DELETE", +"id": "vmwareengine.projects.locations.privateClouds.externalAddresses.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the external IP address to delete. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: `projects/my-project/locations/us-central1-a/privateClouds/my-cloud/externalAddresses/my-ip`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/privateClouds/[^/]+/externalAddresses/[^/]+$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "Optional. A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server guarantees that a request doesn't result in creation of duplicate commitments for at least 60 minutes. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if the original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets details of a single external IP address.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/privateClouds/{privateCloudsId}/externalAddresses/{externalAddressesId}", +"httpMethod": "GET", +"id": "vmwareengine.projects.locations.privateClouds.externalAddresses.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the external IP address to retrieve. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: `projects/my-project/locations/us-central1-a/privateClouds/my-cloud/externalAddresses/my-ip`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/privateClouds/[^/]+/externalAddresses/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "ExternalAddress" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists external IP addresses assigned to VMware workload VMs in a given private cloud.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/privateClouds/{privateCloudsId}/externalAddresses", +"httpMethod": "GET", +"id": "vmwareengine.projects.locations.privateClouds.externalAddresses.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "A filter expression that matches resources returned in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison operator must be `=`, `!=`, `>`, or `<`. For example, if you are filtering a list of IP addresses, you can exclude the ones named `example-ip` by specifying `name != \"example-ip\"`. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (name = \"example-ip\") (createTime > \"2021-04-12T08:15:10.40Z\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (name = \"example-ip-1\") AND (createTime > \"2021-04-12T08:15:10.40Z\") OR (name = \"example-ip-2\") ```", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "Sorts list results by a certain order. By default, returned results are ordered by `name` in ascending order. You can also sort results in descending order based on the `name` value using `orderBy=\"name desc\"`. Currently, only ordering by `name` is supported.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "The maximum number of external IP addresses to return in one page. The service may return fewer than this value. The maximum value is coerced to 1000. The default value of this field is 500.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A page token, received from a previous `ListExternalAddresses` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListExternalAddresses` must match the call that provided the page token.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The resource name of the private cloud to be queried for external IP addresses. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: `projects/my-project/locations/us-central1-a/privateClouds/my-cloud`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/privateClouds/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/externalAddresses", +"response": { +"$ref": "ListExternalAddressesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates the parameters of a single external IP address. Only fields specified in `update_mask` are applied. During operation processing, the resource is temporarily in the `ACTIVE` state before the operation fully completes. For that period of time, you can't update the resource. Use the operation status to determine when the processing fully completes.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/privateClouds/{privateCloudsId}/externalAddresses/{externalAddressesId}", +"httpMethod": "PATCH", +"id": "vmwareengine.projects.locations.privateClouds.externalAddresses.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Output only. Identifier. The resource name of this external IP address. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: `projects/my-project/locations/us-central1-a/privateClouds/my-cloud/externalAddresses/my-address`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/privateClouds/[^/]+/externalAddresses/[^/]+$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "Optional. A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server guarantees that a request doesn't result in creation of duplicate commitments for at least 60 minutes. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if the original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"updateMask": { +"description": "Required. Field mask is used to specify the fields to be overwritten in the `ExternalAddress` resource by the update. The fields specified in the `update_mask` are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "ExternalAddress" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"hcxActivationKeys": { +"methods": { +"create": { +"description": "Creates a new HCX activation key in a given private cloud.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/privateClouds/{privateCloudsId}/hcxActivationKeys", +"httpMethod": "POST", +"id": "vmwareengine.projects.locations.privateClouds.hcxActivationKeys.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"hcxActivationKeyId": { +"description": "Required. The user-provided identifier of the `HcxActivationKey` to be created. This identifier must be unique among `HcxActivationKey` resources within the parent and becomes the final token in the name URI. The identifier must meet the following requirements: * Only contains 1-63 alphanumeric characters and hyphens * Begins with an alphabetical character * Ends with a non-hyphen character * Not formatted as a UUID * Complies with [RFC 1034](https://datatracker.ietf.org/doc/html/rfc1034) (section 3.5)", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The resource name of the private cloud to create the key for. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: `projects/my-project/locations/us-central1/privateClouds/my-cloud`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/privateClouds/[^/]+$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server guarantees that a request doesn't result in creation of duplicate commitments for at least 60 minutes. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+parent}/hcxActivationKeys", +"request": { +"$ref": "HcxActivationKey" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Retrieves a `HcxActivationKey` resource by its resource name.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/privateClouds/{privateCloudsId}/hcxActivationKeys/{hcxActivationKeysId}", +"httpMethod": "GET", +"id": "vmwareengine.projects.locations.privateClouds.hcxActivationKeys.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the HCX activation key to retrieve. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: `projects/my-project/locations/us-central1/privateClouds/my-cloud/hcxActivationKeys/my-key`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/privateClouds/[^/]+/hcxActivationKeys/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "HcxActivationKey" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"getIamPolicy": { +"description": "Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/privateClouds/{privateCloudsId}/hcxActivationKeys/{hcxActivationKeysId}:getIamPolicy", +"httpMethod": "GET", +"id": "vmwareengine.projects.locations.privateClouds.hcxActivationKeys.getIamPolicy", +"parameterOrder": [ +"resource" +], +"parameters": { +"options.requestedPolicyVersion": { +"description": "Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).", +"format": "int32", +"location": "query", +"type": "integer" +}, +"resource": { +"description": "REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/privateClouds/[^/]+/hcxActivationKeys/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+resource}:getIamPolicy", +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists `HcxActivationKey` resources in a given private cloud.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/privateClouds/{privateCloudsId}/hcxActivationKeys", +"httpMethod": "GET", +"id": "vmwareengine.projects.locations.privateClouds.hcxActivationKeys.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "The maximum number of HCX activation keys to return in one page. The service may return fewer than this value. The maximum value is coerced to 1000. The default value of this field is 500.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A page token, received from a previous `ListHcxActivationKeys` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListHcxActivationKeys` must match the call that provided the page token.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The resource name of the private cloud to be queried for HCX activation keys. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: `projects/my-project/locations/us-central1/privateClouds/my-cloud`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/privateClouds/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/hcxActivationKeys", +"response": { +"$ref": "ListHcxActivationKeysResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"setIamPolicy": { +"description": "Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/privateClouds/{privateCloudsId}/hcxActivationKeys/{hcxActivationKeysId}:setIamPolicy", +"httpMethod": "POST", +"id": "vmwareengine.projects.locations.privateClouds.hcxActivationKeys.setIamPolicy", +"parameterOrder": [ +"resource" +], +"parameters": { +"resource": { +"description": "REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/privateClouds/[^/]+/hcxActivationKeys/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+resource}:setIamPolicy", +"request": { +"$ref": "SetIamPolicyRequest" +}, +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"testIamPermissions": { +"description": "Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may \"fail open\" without warning.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/privateClouds/{privateCloudsId}/hcxActivationKeys/{hcxActivationKeysId}:testIamPermissions", +"httpMethod": "POST", +"id": "vmwareengine.projects.locations.privateClouds.hcxActivationKeys.testIamPermissions", +"parameterOrder": [ +"resource" +], +"parameters": { +"resource": { +"description": "REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/privateClouds/[^/]+/hcxActivationKeys/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+resource}:testIamPermissions", +"request": { +"$ref": "TestIamPermissionsRequest" +}, +"response": { +"$ref": "TestIamPermissionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"loggingServers": { +"methods": { +"create": { +"description": "Create a new logging server for a given private cloud.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/privateClouds/{privateCloudsId}/loggingServers", +"httpMethod": "POST", +"id": "vmwareengine.projects.locations.privateClouds.loggingServers.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"loggingServerId": { +"description": "Required. The user-provided identifier of the `LoggingServer` to be created. This identifier must be unique among `LoggingServer` resources within the parent and becomes the final token in the name URI. The identifier must meet the following requirements: * Only contains 1-63 alphanumeric characters and hyphens * Begins with an alphabetical character * Ends with a non-hyphen character * Not formatted as a UUID * Complies with [RFC 1034](https://datatracker.ietf.org/doc/html/rfc1034) (section 3.5)", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The resource name of the private cloud to create a new Logging Server in. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: `projects/my-project/locations/us-central1-a/privateClouds/my-cloud`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/privateClouds/[^/]+$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "Optional. A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server guarantees that a request doesn't result in creation of duplicate commitments for at least 60 minutes. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+parent}/loggingServers", +"request": { +"$ref": "LoggingServer" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a single logging server.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/privateClouds/{privateCloudsId}/loggingServers/{loggingServersId}", +"httpMethod": "DELETE", +"id": "vmwareengine.projects.locations.privateClouds.loggingServers.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the logging server to delete. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: `projects/my-project/locations/us-central1-a/privateClouds/my-cloud/loggingServers/my-logging-server`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/privateClouds/[^/]+/loggingServers/[^/]+$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "Optional. A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server guarantees that a request doesn't result in creation of duplicate commitments for at least 60 minutes. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets details of a logging server.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/privateClouds/{privateCloudsId}/loggingServers/{loggingServersId}", +"httpMethod": "GET", +"id": "vmwareengine.projects.locations.privateClouds.loggingServers.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the Logging Server to retrieve. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: `projects/my-project/locations/us-central1-a/privateClouds/my-cloud/loggingServers/my-logging-server`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/privateClouds/[^/]+/loggingServers/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "LoggingServer" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists logging servers configured for a given private cloud.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/privateClouds/{privateCloudsId}/loggingServers", +"httpMethod": "GET", +"id": "vmwareengine.projects.locations.privateClouds.loggingServers.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "A filter expression that matches resources returned in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison operator must be `=`, `!=`, `>`, or `<`. For example, if you are filtering a list of logging servers, you can exclude the ones named `example-server` by specifying `name != \"example-server\"`. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (name = \"example-server\") (createTime > \"2021-04-12T08:15:10.40Z\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (name = \"example-server-1\") AND (createTime > \"2021-04-12T08:15:10.40Z\") OR (name = \"example-server-2\") ```", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "Sorts list results by a certain order. By default, returned results are ordered by `name` in ascending order. You can also sort results in descending order based on the `name` value using `orderBy=\"name desc\"`. Currently, only ordering by `name` is supported.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "The maximum number of logging servers to return in one page. The service may return fewer than this value. The maximum value is coerced to 1000. The default value of this field is 500.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A page token, received from a previous `ListLoggingServersRequest` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListLoggingServersRequest` must match the call that provided the page token.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The resource name of the private cloud to be queried for logging servers. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: `projects/my-project/locations/us-central1-a/privateClouds/my-cloud`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/privateClouds/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/loggingServers", +"response": { +"$ref": "ListLoggingServersResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates the parameters of a single logging server. Only fields specified in `update_mask` are applied.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/privateClouds/{privateCloudsId}/loggingServers/{loggingServersId}", +"httpMethod": "PATCH", +"id": "vmwareengine.projects.locations.privateClouds.loggingServers.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Output only. The resource name of this logging server. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: `projects/my-project/locations/us-central1-a/privateClouds/my-cloud/loggingServers/my-logging-server`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/privateClouds/[^/]+/loggingServers/[^/]+$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "Optional. A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server guarantees that a request doesn't result in creation of duplicate commitments for at least 60 minutes. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"updateMask": { +"description": "Required. Field mask is used to specify the fields to be overwritten in the `LoggingServer` resource by the update. The fields specified in the `update_mask` are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "LoggingServer" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"managementDnsZoneBindings": { +"methods": { +"create": { +"description": "Creates a new `ManagementDnsZoneBinding` resource in a private cloud. This RPC creates the DNS binding and the resource that represents the DNS binding of the consumer VPC network to the management DNS zone. A management DNS zone is the Cloud DNS cross-project binding zone that VMware Engine creates for each private cloud. It contains FQDNs and corresponding IP addresses for the private cloud's ESXi hosts and management VM appliances like vCenter and NSX Manager.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/privateClouds/{privateCloudsId}/managementDnsZoneBindings", +"httpMethod": "POST", +"id": "vmwareengine.projects.locations.privateClouds.managementDnsZoneBindings.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"managementDnsZoneBindingId": { +"description": "Required. The user-provided identifier of the `ManagementDnsZoneBinding` resource to be created. This identifier must be unique among `ManagementDnsZoneBinding` resources within the parent and becomes the final token in the name URI. The identifier must meet the following requirements: * Only contains 1-63 alphanumeric characters and hyphens * Begins with an alphabetical character * Ends with a non-hyphen character * Not formatted as a UUID * Complies with [RFC 1034](https://datatracker.ietf.org/doc/html/rfc1034) (section 3.5)", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The resource name of the private cloud to create a new management DNS zone binding for. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: `projects/my-project/locations/us-central1-a/privateClouds/my-cloud`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/privateClouds/[^/]+$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "Optional. A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server guarantees that a request doesn't result in creation of duplicate commitments for at least 60 minutes. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if the original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+parent}/managementDnsZoneBindings", +"request": { +"$ref": "ManagementDnsZoneBinding" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a `ManagementDnsZoneBinding` resource. When a management DNS zone binding is deleted, the corresponding consumer VPC network is no longer bound to the management DNS zone.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/privateClouds/{privateCloudsId}/managementDnsZoneBindings/{managementDnsZoneBindingsId}", +"httpMethod": "DELETE", +"id": "vmwareengine.projects.locations.privateClouds.managementDnsZoneBindings.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the management DNS zone binding to delete. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: `projects/my-project/locations/us-central1-a/privateClouds/my-cloud/managementDnsZoneBindings/my-management-dns-zone-binding`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/privateClouds/[^/]+/managementDnsZoneBindings/[^/]+$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "Optional. A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server guarantees that a request doesn't result in creation of duplicate commitments for at least 60 minutes. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if the original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Retrieves a 'ManagementDnsZoneBinding' resource by its resource name.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/privateClouds/{privateCloudsId}/managementDnsZoneBindings/{managementDnsZoneBindingsId}", +"httpMethod": "GET", +"id": "vmwareengine.projects.locations.privateClouds.managementDnsZoneBindings.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the management DNS zone binding to retrieve. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: `projects/my-project/locations/us-central1-a/privateClouds/my-cloud/managementDnsZoneBindings/my-management-dns-zone-binding`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/privateClouds/[^/]+/managementDnsZoneBindings/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "ManagementDnsZoneBinding" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists Consumer VPCs bound to Management DNS Zone of a given private cloud.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/privateClouds/{privateCloudsId}/managementDnsZoneBindings", +"httpMethod": "GET", +"id": "vmwareengine.projects.locations.privateClouds.managementDnsZoneBindings.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "A filter expression that matches resources returned in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison operator must be `=`, `!=`, `>`, or `<`. For example, if you are filtering a list of Management DNS Zone Bindings, you can exclude the ones named `example-management-dns-zone-binding` by specifying `name != \"example-management-dns-zone-binding\"`. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (name = \"example-management-dns-zone-binding\") (createTime > \"2021-04-12T08:15:10.40Z\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (name = \"example-management-dns-zone-binding-1\") AND (createTime > \"2021-04-12T08:15:10.40Z\") OR (name = \"example-management-dns-zone-binding-2\") ```", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "Sorts list results by a certain order. By default, returned results are ordered by `name` in ascending order. You can also sort results in descending order based on the `name` value using `orderBy=\"name desc\"`. Currently, only ordering by `name` is supported.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "The maximum number of management DNS zone bindings to return in one page. The service may return fewer than this value. The maximum value is coerced to 1000. The default value of this field is 500.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A page token, received from a previous `ListManagementDnsZoneBindings` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListManagementDnsZoneBindings` must match the call that provided the page token.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The resource name of the private cloud to be queried for management DNS zone bindings. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: `projects/my-project/locations/us-central1-a/privateClouds/my-cloud`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/privateClouds/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/managementDnsZoneBindings", +"response": { +"$ref": "ListManagementDnsZoneBindingsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates a `ManagementDnsZoneBinding` resource. Only fields specified in `update_mask` are applied.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/privateClouds/{privateCloudsId}/managementDnsZoneBindings/{managementDnsZoneBindingsId}", +"httpMethod": "PATCH", +"id": "vmwareengine.projects.locations.privateClouds.managementDnsZoneBindings.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Output only. The resource name of this binding. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: `projects/my-project/locations/us-central1-a/privateClouds/my-cloud/managementDnsZoneBindings/my-management-dns-zone-binding`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/privateClouds/[^/]+/managementDnsZoneBindings/[^/]+$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "Optional. A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server guarantees that a request doesn't result in creation of duplicate commitments for at least 60 minutes. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if the original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"updateMask": { +"description": "Required. Field mask is used to specify the fields to be overwritten in the `ManagementDnsZoneBinding` resource by the update. The fields specified in the `update_mask` are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "ManagementDnsZoneBinding" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"repair": { +"description": "Retries to create a `ManagementDnsZoneBinding` resource that is in failed state.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/privateClouds/{privateCloudsId}/managementDnsZoneBindings/{managementDnsZoneBindingsId}:repair", +"httpMethod": "POST", +"id": "vmwareengine.projects.locations.privateClouds.managementDnsZoneBindings.repair", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the management DNS zone binding to repair. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: `projects/my-project/locations/us-central1-a/privateClouds/my-cloud/managementDnsZoneBindings/my-management-dns-zone-binding`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/privateClouds/[^/]+/managementDnsZoneBindings/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:repair", +"request": { +"$ref": "RepairManagementDnsZoneBindingRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"subnets": { +"methods": { +"get": { +"description": "Gets details of a single subnet.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/privateClouds/{privateCloudsId}/subnets/{subnetsId}", +"httpMethod": "GET", +"id": "vmwareengine.projects.locations.privateClouds.subnets.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the subnet to retrieve. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: `projects/my-project/locations/us-central1-a/privateClouds/my-cloud/subnets/my-subnet`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/privateClouds/[^/]+/subnets/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Subnet" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists subnets in a given private cloud.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/privateClouds/{privateCloudsId}/subnets", +"httpMethod": "GET", +"id": "vmwareengine.projects.locations.privateClouds.subnets.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "The maximum number of subnets to return in one page. The service may return fewer than this value. The maximum value is coerced to 1000. The default value of this field is 500.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A page token, received from a previous `ListSubnetsRequest` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListSubnetsRequest` must match the call that provided the page token.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The resource name of the private cloud to be queried for subnets. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: `projects/my-project/locations/us-central1-a/privateClouds/my-cloud`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/privateClouds/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/subnets", +"response": { +"$ref": "ListSubnetsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates the parameters of a single subnet. Only fields specified in `update_mask` are applied. *Note*: This API is synchronous and always returns a successful `google.longrunning.Operation` (LRO). The returned LRO will only have `done` and `response` fields.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/privateClouds/{privateCloudsId}/subnets/{subnetsId}", +"httpMethod": "PATCH", +"id": "vmwareengine.projects.locations.privateClouds.subnets.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Output only. Identifier. The resource name of this subnet. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: `projects/my-project/locations/us-central1-a/privateClouds/my-cloud/subnets/my-subnet`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/privateClouds/[^/]+/subnets/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Required. Field mask is used to specify the fields to be overwritten in the `Subnet` resource by the update. The fields specified in the `update_mask` are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "Subnet" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"upgrades": { +"methods": { +"get": { +"description": "Retrieves a private cloud `Upgrade` resource by its resource name.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/privateClouds/{privateCloudsId}/upgrades/{upgradesId}", +"httpMethod": "GET", +"id": "vmwareengine.projects.locations.privateClouds.upgrades.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the `Upgrade` resource to be retrieved. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: `projects/my-project/locations/us-west1-a/privateClouds/my-cloud/upgrades/my-upgrade`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/privateClouds/[^/]+/upgrades/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Upgrade" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists past, ongoing and upcoming `Upgrades` for the given private cloud.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/privateClouds/{privateCloudsId}/upgrades", +"httpMethod": "GET", +"id": "vmwareengine.projects.locations.privateClouds.upgrades.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "A filter expression that matches resources returned in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison operator must be `=`, `!=`, `>`, or `<`. For example, if you are filtering a list of upgrades, you can exclude the ones named `example-upgrade1` by specifying `name != \"example-upgrade1\"`. You can also filter nested fields. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (name = \"example-upgrade\") (createTime > \"2021-04-12T08:15:10.40Z\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (name = \"upgrade-1\") AND (createTime > \"2021-04-12T08:15:10.40Z\") OR (name = \"upgrade-2\") ```", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "Sorts list results by a certain order. By default, returned results are ordered by `name` in ascending order. You can also sort results in descending order based on the `name` value using `orderBy=\"name desc\"`. Currently, only ordering by `name` is supported.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "The maximum number of `Upgrades` to return in one page. The service may return fewer resources than this value. The maximum value is coerced to 1000. The default value of this field is 500.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A page token, received from a previous `ListUpgrades` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListUpgrades` must match the call that provided the page token.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. Query a list of `Upgrades` for the given private cloud resource name. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: `projects/my-project/locations/us-west1-a/privateClouds/my-cloud`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/privateClouds/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/upgrades", +"response": { +"$ref": "ListUpgradesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Update the private cloud `Upgrade` resource. Only `schedule` field can updated. The schedule can only be updated when the upgrade has not started and schedule edit window is open. Only fields specified in `update_mask` are considered.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/privateClouds/{privateCloudsId}/upgrades/{upgradesId}", +"httpMethod": "PATCH", +"id": "vmwareengine.projects.locations.privateClouds.upgrades.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Output only. Identifier. The resource name of the private cloud `Upgrade`. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: `projects/my-project/locations/us-west1-a/privateClouds/my-cloud/upgrades/my-upgrade`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/privateClouds/[^/]+/upgrades/[^/]+$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "Optional. A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server guarantees that a request doesn't result in creation of duplicate commitments for at least 60 minutes. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"updateMask": { +"description": "Required. Field mask is used to specify the fields to be overwritten in the `Upgrade` resource by the update. The fields specified in the `update_mask` are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "Upgrade" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +}, +"privateConnections": { +"methods": { +"create": { +"description": "Creates a new private connection that can be used for accessing private Clouds.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/privateConnections", +"httpMethod": "POST", +"id": "vmwareengine.projects.locations.privateConnections.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The resource name of the location to create the new private connection in. Private connection is a regional resource. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: `projects/my-project/locations/us-central1`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +}, +"privateConnectionId": { +"description": "Required. The user-provided identifier of the new private connection. This identifier must be unique among private connection resources within the parent and becomes the final token in the name URI. The identifier must meet the following requirements: * Only contains 1-63 alphanumeric characters and hyphens * Begins with an alphabetical character * Ends with a non-hyphen character * Not formatted as a UUID * Complies with [RFC 1034](https://datatracker.ietf.org/doc/html/rfc1034) (section 3.5)", +"location": "query", +"type": "string" +}, +"requestId": { +"description": "Optional. A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server guarantees that a request doesn't result in creation of duplicate commitments for at least 60 minutes. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+parent}/privateConnections", +"request": { +"$ref": "PrivateConnection" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a `PrivateConnection` resource. When a private connection is deleted for a VMware Engine network, the connected network becomes inaccessible to that VMware Engine network.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/privateConnections/{privateConnectionsId}", +"httpMethod": "DELETE", +"id": "vmwareengine.projects.locations.privateConnections.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the private connection to be deleted. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: `projects/my-project/locations/us-central1/privateConnections/my-connection`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/privateConnections/[^/]+$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "Optional. A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server guarantees that a request doesn't result in creation of duplicate commitments for at least 60 minutes. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Retrieves a `PrivateConnection` resource by its resource name. The resource contains details of the private connection, such as connected network, routing mode and state.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/privateConnections/{privateConnectionsId}", +"httpMethod": "GET", +"id": "vmwareengine.projects.locations.privateConnections.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the private connection to retrieve. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: `projects/my-project/locations/us-central1/privateConnections/my-connection`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/privateConnections/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "PrivateConnection" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists `PrivateConnection` resources in a given project and location.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/privateConnections", +"httpMethod": "GET", +"id": "vmwareengine.projects.locations.privateConnections.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "A filter expression that matches resources returned in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison operator must be `=`, `!=`, `>`, or `<`. For example, if you are filtering a list of private connections, you can exclude the ones named `example-connection` by specifying `name != \"example-connection\"`. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (name = \"example-connection\") (createTime > \"2022-09-22T08:15:10.40Z\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (name = \"example-connection-1\") AND (createTime > \"2021-04-12T08:15:10.40Z\") OR (name = \"example-connection-2\") ```", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "Sorts list results by a certain order. By default, returned results are ordered by `name` in ascending order. You can also sort results in descending order based on the `name` value using `orderBy=\"name desc\"`. Currently, only ordering by `name` is supported.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "The maximum number of private connections to return in one page. The maximum value is coerced to 1000. The default value of this field is 500.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A page token, received from a previous `ListPrivateConnections` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListPrivateConnections` must match the call that provided the page token.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The resource name of the location to query for private connections. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: `projects/my-project/locations/us-central1`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/privateConnections", +"response": { +"$ref": "ListPrivateConnectionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Modifies a `PrivateConnection` resource. Only `description` and `routing_mode` fields can be updated. Only fields specified in `updateMask` are applied.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/privateConnections/{privateConnectionsId}", +"httpMethod": "PATCH", +"id": "vmwareengine.projects.locations.privateConnections.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Output only. The resource name of the private connection. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: `projects/my-project/locations/us-central1/privateConnections/my-connection`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/privateConnections/[^/]+$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "Optional. A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server guarantees that a request doesn't result in creation of duplicate commitments for at least 60 minutes. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"updateMask": { +"description": "Required. Field mask is used to specify the fields to be overwritten in the `PrivateConnection` resource by the update. The fields specified in the `update_mask` are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "PrivateConnection" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"peeringRoutes": { +"methods": { +"list": { +"description": "Lists the private connection routes exchanged over a peering connection.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/privateConnections/{privateConnectionsId}/peeringRoutes", +"httpMethod": "GET", +"id": "vmwareengine.projects.locations.privateConnections.peeringRoutes.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "The maximum number of peering routes to return in one page. The service may return fewer than this value. The maximum value is coerced to 1000. The default value of this field is 500.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A page token, received from a previous `ListPrivateConnectionPeeringRoutes` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListPrivateConnectionPeeringRoutes` must match the call that provided the page token.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The resource name of the private connection to retrieve peering routes from. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: `projects/my-project/locations/us-west1/privateConnections/my-connection`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/privateConnections/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/peeringRoutes", +"response": { +"$ref": "ListPrivateConnectionPeeringRoutesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +}, +"vmwareEngineNetworks": { +"methods": { +"create": { +"description": "Creates a new VMware Engine network that can be used by a private cloud.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/vmwareEngineNetworks", +"httpMethod": "POST", +"id": "vmwareengine.projects.locations.vmwareEngineNetworks.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The resource name of the location to create the new VMware Engine network in. A VMware Engine network of type `LEGACY` is a regional resource, and a VMware Engine network of type `STANDARD` is a global resource. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: `projects/my-project/locations/global`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "Optional. A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server guarantees that a request doesn't result in creation of duplicate commitments for at least 60 minutes. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"vmwareEngineNetworkId": { +"description": "Required. The user-provided identifier of the new VMware Engine network. This identifier must be unique among VMware Engine network resources within the parent and becomes the final token in the name URI. The identifier must meet the following requirements: * For networks of type LEGACY, adheres to the format: `{region-id}-default`. Replace `{region-id}` with the region where you want to create the VMware Engine network. For example, \"us-central1-default\". * Only contains 1-63 alphanumeric characters and hyphens * Begins with an alphabetical character * Ends with a non-hyphen character * Not formatted as a UUID * Complies with [RFC 1034](https://datatracker.ietf.org/doc/html/rfc1034) (section 3.5)", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+parent}/vmwareEngineNetworks", +"request": { +"$ref": "VmwareEngineNetwork" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a `VmwareEngineNetwork` resource. You can only delete a VMware Engine network after all resources that refer to it are deleted. For example, a private cloud, a network peering, and a network policy can all refer to the same VMware Engine network.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/vmwareEngineNetworks/{vmwareEngineNetworksId}", +"httpMethod": "DELETE", +"id": "vmwareengine.projects.locations.vmwareEngineNetworks.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"etag": { +"description": "Optional. Checksum used to ensure that the user-provided value is up to date before the server processes the request. The server compares provided checksum with the current checksum of the resource. If the user-provided value is out of date, this request returns an `ABORTED` error.", +"location": "query", +"type": "string" +}, +"name": { +"description": "Required. The resource name of the VMware Engine network to be deleted. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: `projects/my-project/locations/global/vmwareEngineNetworks/my-network`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/vmwareEngineNetworks/[^/]+$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "Optional. A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server guarantees that a request doesn't result in creation of duplicate commitments for at least 60 minutes. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Retrieves a `VmwareEngineNetwork` resource by its resource name. The resource contains details of the VMware Engine network, such as its VMware Engine network type, peered networks in a service project, and state (for example, `CREATING`, `ACTIVE`, `DELETING`).", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/vmwareEngineNetworks/{vmwareEngineNetworksId}", +"httpMethod": "GET", +"id": "vmwareengine.projects.locations.vmwareEngineNetworks.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the VMware Engine network to retrieve. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: `projects/my-project/locations/global/vmwareEngineNetworks/my-network`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/vmwareEngineNetworks/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "VmwareEngineNetwork" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists `VmwareEngineNetwork` resources in a given project and location.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/vmwareEngineNetworks", +"httpMethod": "GET", +"id": "vmwareengine.projects.locations.vmwareEngineNetworks.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "A filter expression that matches resources returned in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison operator must be `=`, `!=`, `>`, or `<`. For example, if you are filtering a list of network peerings, you can exclude the ones named `example-network` by specifying `name != \"example-network\"`. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (name = \"example-network\") (createTime > \"2021-04-12T08:15:10.40Z\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (name = \"example-network-1\") AND (createTime > \"2021-04-12T08:15:10.40Z\") OR (name = \"example-network-2\") ```", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "Sorts list results by a certain order. By default, returned results are ordered by `name` in ascending order. You can also sort results in descending order based on the `name` value using `orderBy=\"name desc\"`. Currently, only ordering by `name` is supported.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "The maximum number of results to return in one page. The maximum value is coerced to 1000. The default value of this field is 500.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A page token, received from a previous `ListVmwareEngineNetworks` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListVmwareEngineNetworks` must match the call that provided the page token.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The resource name of the location to query for VMware Engine networks. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: `projects/my-project/locations/global`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/vmwareEngineNetworks", +"response": { +"$ref": "ListVmwareEngineNetworksResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Modifies a VMware Engine network resource. Only the following fields can be updated: `description`. Only fields specified in `updateMask` are applied.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/vmwareEngineNetworks/{vmwareEngineNetworksId}", +"httpMethod": "PATCH", +"id": "vmwareengine.projects.locations.vmwareEngineNetworks.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Output only. Identifier. The resource name of the VMware Engine network. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: `projects/my-project/locations/global/vmwareEngineNetworks/my-network`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/vmwareEngineNetworks/[^/]+$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "Optional. A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server guarantees that a request doesn't result in creation of duplicate commitments for at least 60 minutes. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"updateMask": { +"description": "Required. Field mask is used to specify the fields to be overwritten in the VMware Engine network resource by the update. The fields specified in the `update_mask` are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten. Only the following fields can be updated: `description`.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "VmwareEngineNetwork" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +} +} +} +}, +"revision": "20260217", +"rootUrl": "https://vmwareengine.googleapis.com/", +"schemas": { +"AcceleratePrivateCloudDeletionRequest": { +"description": "Request message for VmwareEngine.AcceleratePrivateCloudDeletion", +"id": "AcceleratePrivateCloudDeletionRequest", +"properties": { +"etag": { +"description": "Optional. Checksum used to ensure that the user-provided value is up to date before the server processes the request. The server compares provided checksum with the current checksum of the resource. If the user-provided value is out of date, this request returns an `ABORTED` error.", +"type": "string" +}, +"requestId": { +"description": "Optional. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", +"type": "string" +} +}, +"type": "object" +}, +"Announcement": { +"description": "Announcement for the resources of Vmware Engine.", +"id": "Announcement", +"properties": { +"activityType": { +"description": "Optional. Activity type of the announcement There can be only one active announcement for a given activity type and target resource.", +"type": "string" +}, +"cluster": { +"description": "A Cluster resource name.", +"type": "string" +}, +"code": { +"description": "Required. Code of the announcement. Indicates the presence of a VMware Engine related announcement and corresponds to a related message in the `description` field.", +"type": "string" +}, +"createTime": { +"description": "Output only. Creation time of this resource. It also serves as start time of notification.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"description": { +"description": "Output only. Description of the announcement.", +"readOnly": true, +"type": "string" +}, +"metadata": { +"additionalProperties": { +"type": "string" +}, +"description": "Output only. Additional structured details about this announcement.", +"readOnly": true, +"type": "object" +}, +"name": { +"description": "Output only. The resource name of the announcement. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: `projects/my-project/locations/us-west1-a/announcements/my-announcement-id`", +"readOnly": true, +"type": "string" +}, +"privateCloud": { +"description": "A Private Cloud resource name.", +"type": "string" +}, +"state": { +"description": "Output only. State of the resource. New values may be added to this enum when appropriate.", +"enum": [ +"STATE_UNSPECIFIED", +"ACTIVE", +"INACTIVE", +"DELETING", +"CREATING" +], +"enumDescriptions": [ +"The default value. This value should never be used.", +"Active announcement which should be visible to user.", +"Inactive announcement which should not be visible to user.", +"Announcement which is being deleted", +"Announcement which being created" +], +"readOnly": true, +"type": "string" +}, +"targetResourceType": { +"description": "Output only. Target Resource Type defines the type of the target for the announcement", +"readOnly": true, +"type": "string" +}, +"updateTime": { +"description": "Output only. Last update time of this resource.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"AuditConfig": { +"description": "Specifies the audit configuration for a service. The configuration determines which permission types are logged, and what identities, if any, are exempted from logging. An AuditConfig must have one or more AuditLogConfigs. If there are AuditConfigs for both `allServices` and a specific service, the union of the two AuditConfigs is used for that service: the log_types specified in each AuditConfig are enabled, and the exempted_members in each AuditLogConfig are exempted. Example Policy with multiple AuditConfigs: { \"audit_configs\": [ { \"service\": \"allServices\", \"audit_log_configs\": [ { \"log_type\": \"DATA_READ\", \"exempted_members\": [ \"user:jose@example.com\" ] }, { \"log_type\": \"DATA_WRITE\" }, { \"log_type\": \"ADMIN_READ\" } ] }, { \"service\": \"sampleservice.googleapis.com\", \"audit_log_configs\": [ { \"log_type\": \"DATA_READ\" }, { \"log_type\": \"DATA_WRITE\", \"exempted_members\": [ \"user:aliya@example.com\" ] } ] } ] } For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also exempts `jose@example.com` from DATA_READ logging, and `aliya@example.com` from DATA_WRITE logging.", +"id": "AuditConfig", +"properties": { +"auditLogConfigs": { +"description": "The configuration for logging of each type of permission.", +"items": { +"$ref": "AuditLogConfig" +}, +"type": "array" +}, +"service": { +"description": "Specifies a service that will be enabled for audit logging. For example, `storage.googleapis.com`, `cloudsql.googleapis.com`. `allServices` is a special value that covers all services.", +"type": "string" +} +}, +"type": "object" +}, +"AuditLogConfig": { +"description": "Provides the configuration for logging a type of permissions. Example: { \"audit_log_configs\": [ { \"log_type\": \"DATA_READ\", \"exempted_members\": [ \"user:jose@example.com\" ] }, { \"log_type\": \"DATA_WRITE\" } ] } This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting jose@example.com from DATA_READ logging.", +"id": "AuditLogConfig", +"properties": { +"exemptedMembers": { +"description": "Specifies the identities that do not cause logging for this type of permission. Follows the same format of Binding.members.", +"items": { +"type": "string" +}, +"type": "array" +}, +"logType": { +"description": "The log type that this config enables.", +"enum": [ +"LOG_TYPE_UNSPECIFIED", +"ADMIN_READ", +"DATA_WRITE", +"DATA_READ" +], +"enumDescriptions": [ +"Default case. Should never be this.", +"Admin reads. Example: CloudIAM getIamPolicy", +"Data writes. Example: CloudSQL Users create", +"Data reads. Example: CloudSQL Users list" +], +"type": "string" +} +}, +"type": "object" +}, +"AutoscalingPolicy": { +"description": "Autoscaling policy describes the behavior of the autoscaling with respect to the resource utilization. The scale-out operation is initiated if the utilization exceeds ANY of the respective thresholds. The scale-in operation is initiated if the utilization is below ALL of the respective thresholds.", +"id": "AutoscalingPolicy", +"properties": { +"consumedMemoryThresholds": { +"$ref": "Thresholds", +"description": "Optional. Utilization thresholds pertaining to amount of consumed memory." +}, +"cpuThresholds": { +"$ref": "Thresholds", +"description": "Optional. Utilization thresholds pertaining to CPU utilization." +}, +"grantedMemoryThresholds": { +"$ref": "Thresholds", +"description": "Optional. Utilization thresholds pertaining to amount of granted memory." +}, +"nodeTypeId": { +"description": "Required. The canonical identifier of the node type to add or remove. Corresponds to the `NodeType`.", +"type": "string" +}, +"scaleOutSize": { +"description": "Required. Number of nodes to add to a cluster during a scale-out operation. Must be divisible by 2 for stretched clusters. During a scale-in operation only one node (or 2 for stretched clusters) are removed in a single iteration.", +"format": "int32", +"type": "integer" +}, +"storageThresholds": { +"$ref": "Thresholds", +"description": "Optional. Utilization thresholds pertaining to amount of consumed storage." +} +}, +"type": "object" +}, +"AutoscalingSettings": { +"description": "Autoscaling settings define the rules used by VMware Engine to automatically scale-out and scale-in the clusters in a private cloud.", +"id": "AutoscalingSettings", +"properties": { +"autoscalingPolicies": { +"additionalProperties": { +"$ref": "AutoscalingPolicy" +}, +"description": "Required. The map with autoscaling policies applied to the cluster. The key is the identifier of the policy. It must meet the following requirements: * Only contains 1-63 alphanumeric characters and hyphens * Begins with an alphabetical character * Ends with a non-hyphen character * Not formatted as a UUID * Complies with [RFC 1034](https://datatracker.ietf.org/doc/html/rfc1034) (section 3.5) Currently there map must contain only one element that describes the autoscaling policy for compute nodes.", +"type": "object" +}, +"coolDownPeriod": { +"description": "Optional. The minimum duration between consecutive autoscale operations. It starts once addition or removal of nodes is fully completed. Defaults to 30 minutes if not specified. Cool down period must be in whole minutes (for example, 30, 31, 50, 180 minutes).", +"format": "google-duration", +"type": "string" +}, +"maxClusterNodeCount": { +"description": "Optional. Maximum number of nodes of any type in a cluster. If not specified the default limits apply.", +"format": "int32", +"type": "integer" +}, +"minClusterNodeCount": { +"description": "Optional. Minimum number of nodes of any type in a cluster. If not specified the default limits apply.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"Binding": { +"description": "Associates `members`, or principals, with a `role`.", +"id": "Binding", +"properties": { +"condition": { +"$ref": "Expr", +"description": "The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies)." +}, +"members": { +"description": "Specifies the principals requesting access for a Google Cloud resource. `members` can have the following values: * `allUsers`: A special identifier that represents anyone who is on the internet; with or without a Google account. * `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service account. Does not include identities that come from external identity providers (IdPs) through identity federation. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `group:{emailid}`: An email address that represents a Google group. For example, `admins@example.com`. * `domain:{domain}`: The G Suite domain (primary) that represents all the users of that domain. For example, `google.com` or `example.com`. * `principal://iam.googleapis.com/locations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}`: A single identity in a workforce identity pool. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/group/{group_id}`: All workforce identities in a group. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/attribute.{attribute_name}/{attribute_value}`: All workforce identities with a specific attribute value. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/*`: All identities in a workforce identity pool. * `principal://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/subject/{subject_attribute_value}`: A single identity in a workload identity pool. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/group/{group_id}`: A workload identity pool group. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/attribute.{attribute_name}/{attribute_value}`: All identities in a workload identity pool with a certain attribute. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/*`: All identities in a workload identity pool. * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a user that has been recently deleted. For example, `alice@example.com?uid=123456789012345678901`. If the user is recovered, this value reverts to `user:{emailid}` and the recovered user retains the role in the binding. * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a service account that has been recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the service account is undeleted, this value reverts to `serviceAccount:{emailid}` and the undeleted service account retains the role in the binding. * `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a Google group that has been recently deleted. For example, `admins@example.com?uid=123456789012345678901`. If the group is recovered, this value reverts to `group:{emailid}` and the recovered group retains the role in the binding. * `deleted:principal://iam.googleapis.com/locations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}`: Deleted single identity in a workforce identity pool. For example, `deleted:principal://iam.googleapis.com/locations/global/workforcePools/my-pool-id/subject/my-subject-attribute-value`.", +"items": { +"type": "string" +}, +"type": "array" +}, +"role": { +"description": "Role that is assigned to the list of `members`, or principals. For example, `roles/viewer`, `roles/editor`, or `roles/owner`. For an overview of the IAM roles and permissions, see the [IAM documentation](https://cloud.google.com/iam/docs/roles-overview). For a list of the available pre-defined roles, see [here](https://cloud.google.com/iam/docs/understanding-roles).", +"type": "string" +} +}, +"type": "object" +}, +"Cluster": { +"description": "A cluster in a private cloud.", +"id": "Cluster", +"properties": { +"autoscalingSettings": { +"$ref": "AutoscalingSettings", +"description": "Optional. Configuration of the autoscaling applied to this cluster." +}, +"createTime": { +"description": "Output only. Creation time of this resource.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"datastoreMountConfig": { +"description": "Output only. Configuration of a mounted datastore.", +"items": { +"$ref": "DatastoreMountConfig" +}, +"readOnly": true, +"type": "array" +}, +"management": { +"description": "Output only. True if the cluster is a management cluster; false otherwise. There can only be one management cluster in a private cloud and it has to be the first one.", +"readOnly": true, +"type": "boolean" +}, +"name": { +"description": "Output only. Identifier. The resource name of this cluster. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: `projects/my-project/locations/us-central1-a/privateClouds/my-cloud/clusters/my-cluster`", +"readOnly": true, +"type": "string" +}, +"nodeTypeConfigs": { +"additionalProperties": { +"$ref": "NodeTypeConfig" +}, +"description": "Required. The map of cluster node types in this cluster, where the key is canonical identifier of the node type (corresponds to the `NodeType`).", +"type": "object" +}, +"state": { +"description": "Output only. State of the resource.", +"enum": [ +"STATE_UNSPECIFIED", +"ACTIVE", +"CREATING", +"UPDATING", +"DELETING", +"REPAIRING" +], +"enumDescriptions": [ +"The default value. This value should never be used.", +"The Cluster is operational and can be used by the user.", +"The Cluster is being deployed.", +"Adding or removing of a node to the cluster, any other cluster specific updates.", +"The Cluster is being deleted.", +"The Cluster is undergoing maintenance, for example: a failed node is getting replaced." +], +"readOnly": true, +"type": "string" +}, +"stretchedClusterConfig": { +"$ref": "StretchedClusterConfig", +"description": "Optional. Configuration of a stretched cluster. Required for clusters that belong to a STRETCHED private cloud." +}, +"uid": { +"description": "Output only. System-generated unique identifier for the resource.", +"readOnly": true, +"type": "string" +}, +"updateTime": { +"description": "Output only. Last update time of this resource.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"Constraints": { +"description": "Constraints to be applied while editing a schedule. These constraints ensure that `Upgrade` specific requirements are met.", +"id": "Constraints", +"properties": { +"disallowedIntervals": { +"description": "Output only. Output Only. A list of intervals in which maintenance windows are not allowed. Any time window that overlaps with any of these intervals will be considered invalid.", +"items": { +"$ref": "WeeklyTimeInterval" +}, +"readOnly": true, +"type": "array" +}, +"minHoursDay": { +"description": "Output only. Minimum number of hours must be allotted for the upgrade activities for each selected day. This is a minimum; the upgrade schedule can allot more hours for the given day.", +"format": "int32", +"readOnly": true, +"type": "integer" +}, +"minHoursWeek": { +"description": "Output only. The minimum number of weekly hours must be allotted for the upgrade activities. This is just a minimum; the schedule can assign more weekly hours.", +"format": "int32", +"readOnly": true, +"type": "integer" +}, +"rescheduleDateRange": { +"$ref": "Interval", +"description": "Output only. Output Only. The user can only reschedule an upgrade that starts within this range.", +"readOnly": true +} +}, +"type": "object" +}, +"Credentials": { +"description": "Credentials for a private cloud.", +"id": "Credentials", +"properties": { +"password": { +"description": "Initial password.", +"type": "string" +}, +"username": { +"description": "Initial username.", +"type": "string" +} +}, +"type": "object" +}, +"Datastore": { +"description": "Represents a datastore resource.", +"id": "Datastore", +"properties": { +"clusters": { +"description": "Output only. Clusters to which the datastore is attached.", +"items": { +"type": "string" +}, +"readOnly": true, +"type": "array" +}, +"createTime": { +"description": "Output only. Creation time of this resource.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"description": { +"description": "Optional. User-provided description for this datastore", +"type": "string" +}, +"etag": { +"description": "Optional. Checksum that may be sent on update and delete requests to ensure that the user-provided value is up to date before the server processes a request. The server computes checksums based on the value of other fields in the request.", +"type": "string" +}, +"name": { +"description": "Output only. Identifier. The resource name of this datastore. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: `projects/my-project/locations/us-central1/datastores/datastore`", +"readOnly": true, +"type": "string" +}, +"nfsDatastore": { +"$ref": "NfsDatastore", +"description": "Required. Settings for the NFS datastore." +}, +"state": { +"description": "Output only. The state of the Datastore.", +"enum": [ +"STATE_UNSPECIFIED", +"CREATING", +"ACTIVE", +"UPDATING", +"DELETING" +], +"enumDescriptions": [ +"The default value. This value should never be used.", +"The NFS volume is being created.", +"The NFS volume is active.", +"The NFS volume is being updated.", +"The NFS volume is being deleted." +], +"readOnly": true, +"type": "string" +}, +"uid": { +"description": "Output only. System-generated unique identifier for the resource.", +"readOnly": true, +"type": "string" +}, +"updateTime": { +"description": "Output only. Last update time of this resource.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"DatastoreMountConfig": { +"description": "The Datastore Mount configuration", +"id": "DatastoreMountConfig", +"properties": { +"accessMode": { +"description": "Optional. The access mode of the NFS volume. Optional. Default value used will be READ_WRITE", +"enum": [ +"ACCESS_MODE_UNSPECIFIED", +"READ_ONLY", +"READ_WRITE" +], +"enumDescriptions": [ +"The default value. This value should never be used.", +"NFS is accessed by hosts in read mode", +"NFS is accessed by hosts in read and write mode" +], +"type": "string" +}, +"datastore": { +"description": "Required. The resource name of the datastore to mount. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: `projects/my-project/locations/us-central1/datastores/my-datastore`", +"type": "string" +}, +"datastoreNetwork": { +"$ref": "DatastoreNetwork", +"description": "Required. The network configuration for the datastore." +}, +"fileShare": { +"description": "Output only. File share name.", +"readOnly": true, +"type": "string" +}, +"nfsVersion": { +"description": "Optional. The NFS protocol supported by the NFS volume. Default value used will be NFS_V3", +"enum": [ +"NFS_VERSION_UNSPECIFIED", +"NFS_V3" +], +"enumDescriptions": [ +"The default value. This value should never be used.", +"NFS 3" +], +"type": "string" +}, +"servers": { +"description": "Output only. Server IP addresses of the NFS volume. For NFS 3, you can only provide a single server IP address or DNS names.", +"items": { +"type": "string" +}, +"readOnly": true, +"type": "array" +} +}, +"type": "object" +}, +"DatastoreNetwork": { +"description": "The network configuration for the datastore.", +"id": "DatastoreNetwork", +"properties": { +"connectionCount": { +"description": "Optional. connection_count is used to set multiple connections from NFS client on ESXi host to NFS server. A higher number of connections results in better performance on datastores. In MountDatastore API by default max 4 connections are configured. User can set value of connection_count between 1 to 4. Connection_count is supported from vsphere 8.0u1 for earlier version 1 connection count is set on the ESXi hosts.", +"format": "int32", +"type": "integer" +}, +"mtu": { +"description": "Optional. MTU value is set on the VMKernel adapter for the NFS traffic. By default standard 1500 MTU size is set in MountDatastore API which is good for typical setups. However google VPC networks supports jumbo MTU 8896. We recommend to tune this value based on the NFS traffic performance. Performance can be determined using benchmarking I/O tools like fio (Flexible I/O Tester) utility.", +"format": "int32", +"type": "integer" +}, +"networkPeering": { +"description": "Output only. The resource name of the network peering, used to access the file share by clients on private cloud. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. e.g. projects/my-project/locations/us-central1/networkPeerings/my-network-peering", +"readOnly": true, +"type": "string" +}, +"subnet": { +"description": "Required. The resource name of the subnet Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. e.g. projects/my-project/locations/us-central1/subnets/my-subnet", +"type": "string" +} +}, +"type": "object" +}, +"DnsBindPermission": { +"description": "DnsBindPermission resource that contains the accounts having the consumer DNS bind permission on the corresponding intranet VPC of the consumer project.", +"id": "DnsBindPermission", +"properties": { +"name": { +"description": "Required. Output only. The name of the resource which stores the users/service accounts having the permission to bind to the corresponding intranet VPC of the consumer project. DnsBindPermission is a global resource and location can only be global. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: `projects/my-project/locations/global/dnsBindPermission`", +"readOnly": true, +"type": "string" +}, +"principals": { +"description": "Output only. Users/Service accounts which have access for binding on the intranet VPC project corresponding to the consumer project.", +"items": { +"$ref": "Principal" +}, +"readOnly": true, +"type": "array" +} +}, +"type": "object" +}, +"DnsForwarding": { +"description": "DNS forwarding config. This config defines a list of domain to name server mappings, and is attached to the private cloud for custom domain resolution.", +"id": "DnsForwarding", +"properties": { +"createTime": { +"description": "Output only. Creation time of this resource.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"forwardingRules": { +"description": "Required. List of domain mappings to configure", +"items": { +"$ref": "ForwardingRule" +}, +"type": "array" +}, +"name": { +"description": "Output only. Identifier. The resource name of this DNS profile. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: `projects/my-project/locations/us-central1-a/privateClouds/my-cloud/dnsForwarding`", +"readOnly": true, +"type": "string" +}, +"updateTime": { +"description": "Output only. Last update time of this resource.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"Empty": { +"description": "A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }", +"id": "Empty", +"properties": {}, +"type": "object" +}, +"Expr": { +"description": "Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: \"Summary size limit\" description: \"Determines if a summary is less than 100 chars\" expression: \"document.summary.size() < 100\" Example (Equality): title: \"Requestor is owner\" description: \"Determines if requestor is the document owner\" expression: \"document.owner == request.auth.claims.email\" Example (Logic): title: \"Public documents\" description: \"Determine whether the document should be publicly visible\" expression: \"document.type != 'private' && document.type != 'internal'\" Example (Data Manipulation): title: \"Notification string\" description: \"Create a notification string with a timestamp.\" expression: \"'New message received at ' + string(document.create_time)\" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information.", +"id": "Expr", +"properties": { +"description": { +"description": "Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI.", +"type": "string" +}, +"expression": { +"description": "Textual representation of an expression in Common Expression Language syntax.", +"type": "string" +}, +"location": { +"description": "Optional. String indicating the location of the expression for error reporting, e.g. a file name and a position in the file.", +"type": "string" +}, +"title": { +"description": "Optional. Title for the expression, i.e. a short string describing its purpose. This can be used e.g. in UIs which allow to enter the expression.", +"type": "string" +} +}, +"type": "object" +}, +"ExternalAccessRule": { +"description": "External access firewall rules for filtering incoming traffic destined to `ExternalAddress` resources.", +"id": "ExternalAccessRule", +"properties": { +"action": { +"description": "The action that the external access rule performs.", +"enum": [ +"ACTION_UNSPECIFIED", +"ALLOW", +"DENY" +], +"enumDescriptions": [ +"Defaults to allow.", +"Allows connections that match the other specified components.", +"Blocks connections that match the other specified components." +], +"type": "string" +}, +"createTime": { +"description": "Output only. Creation time of this resource.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"description": { +"description": "User-provided description for this external access rule.", +"type": "string" +}, +"destinationIpRanges": { +"description": "If destination ranges are specified, the external access rule applies only to the traffic that has a destination IP address in these ranges. The specified IP addresses must have reserved external IP addresses in the scope of the parent network policy. To match all external IP addresses in the scope of the parent network policy, specify `0.0.0.0/0`. To match a specific external IP address, specify it using the `IpRange.external_address` property.", +"items": { +"$ref": "IpRange" +}, +"type": "array" +}, +"destinationPorts": { +"description": "A list of destination ports to which the external access rule applies. This field is only applicable for the UDP or TCP protocol. Each entry must be either an integer or a range. For example: `[\"22\"]`, `[\"80\",\"443\"]`, or `[\"12345-12349\"]`. To match all destination ports, specify `[\"0-65535\"]`.", +"items": { +"type": "string" +}, +"type": "array" +}, +"ipProtocol": { +"description": "The IP protocol to which the external access rule applies. This value can be one of the following three protocol strings (not case-sensitive): `tcp`, `udp`, or `icmp`.", +"type": "string" +}, +"name": { +"description": "Output only. The resource name of this external access rule. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: `projects/my-project/locations/us-central1/networkPolicies/my-policy/externalAccessRules/my-rule`", +"readOnly": true, +"type": "string" +}, +"priority": { +"description": "External access rule priority, which determines the external access rule to use when multiple rules apply. If multiple rules have the same priority, their ordering is non-deterministic. If specific ordering is required, assign unique priorities to enforce such ordering. The external access rule priority is an integer from 100 to 4096, both inclusive. Lower integers indicate higher precedence. For example, a rule with priority `100` has higher precedence than a rule with priority `101`.", +"format": "int32", +"type": "integer" +}, +"sourceIpRanges": { +"description": "If source ranges are specified, the external access rule applies only to traffic that has a source IP address in these ranges. These ranges can either be expressed in the CIDR format or as an IP address. As only inbound rules are supported, `ExternalAddress` resources cannot be the source IP addresses of an external access rule. To match all source addresses, specify `0.0.0.0/0`.", +"items": { +"$ref": "IpRange" +}, +"type": "array" +}, +"sourcePorts": { +"description": "A list of source ports to which the external access rule applies. This field is only applicable for the UDP or TCP protocol. Each entry must be either an integer or a range. For example: `[\"22\"]`, `[\"80\",\"443\"]`, or `[\"12345-12349\"]`. To match all source ports, specify `[\"0-65535\"]`.", +"items": { +"type": "string" +}, +"type": "array" +}, +"state": { +"description": "Output only. The state of the resource.", +"enum": [ +"STATE_UNSPECIFIED", +"ACTIVE", +"CREATING", +"UPDATING", +"DELETING" +], +"enumDescriptions": [ +"The default value. This value is used if the state is omitted.", +"The rule is ready.", +"The rule is being created.", +"The rule is being updated.", +"The rule is being deleted." +], +"readOnly": true, +"type": "string" +}, +"uid": { +"description": "Output only. System-generated unique identifier for the resource.", +"readOnly": true, +"type": "string" +}, +"updateTime": { +"description": "Output only. Last update time of this resource.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"ExternalAddress": { +"description": "Represents an allocated external IP address and its corresponding internal IP address in a private cloud.", +"id": "ExternalAddress", +"properties": { +"createTime": { +"description": "Output only. Creation time of this resource.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"description": { +"description": "User-provided description for this resource.", +"type": "string" +}, +"externalIp": { +"description": "Output only. The external IP address of a workload VM.", +"readOnly": true, +"type": "string" +}, +"internalIp": { +"description": "The internal IP address of a workload VM.", +"type": "string" +}, +"name": { +"description": "Output only. Identifier. The resource name of this external IP address. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: `projects/my-project/locations/us-central1-a/privateClouds/my-cloud/externalAddresses/my-address`", +"readOnly": true, +"type": "string" +}, +"state": { +"description": "Output only. The state of the resource.", +"enum": [ +"STATE_UNSPECIFIED", +"ACTIVE", +"CREATING", +"UPDATING", +"DELETING" +], +"enumDescriptions": [ +"The default value. This value should never be used.", +"The address is ready.", +"The address is being created.", +"The address is being updated.", +"The address is being deleted." +], +"readOnly": true, +"type": "string" +}, +"uid": { +"description": "Output only. System-generated unique identifier for the resource.", +"readOnly": true, +"type": "string" +}, +"updateTime": { +"description": "Output only. Last update time of this resource.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"FetchNetworkPolicyExternalAddressesResponse": { +"description": "Response message for VmwareEngine.FetchNetworkPolicyExternalAddresses", +"id": "FetchNetworkPolicyExternalAddressesResponse", +"properties": { +"externalAddresses": { +"description": "A list of external IP addresses assigned to VMware workload VMs within the scope of the given network policy.", +"items": { +"$ref": "ExternalAddress" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.", +"type": "string" +} +}, +"type": "object" +}, +"ForwardingRule": { +"description": "A forwarding rule is a mapping of a `domain` to `name_servers`. This mapping allows VMware Engine to resolve domains for attached private clouds by forwarding DNS requests for a given domain to the specified nameservers.", +"id": "ForwardingRule", +"properties": { +"domain": { +"description": "Required. Domain used to resolve a `name_servers` list.", +"type": "string" +}, +"nameServers": { +"description": "Required. List of DNS servers to use for domain resolution", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleFileService": { +"description": "Google service file service configuration", +"id": "GoogleFileService", +"properties": { +"filestoreInstance": { +"description": "Google filestore instance resource name e.g. projects/my-project/locations/me-west1-b/instances/my-instance", +"type": "string" +}, +"netappVolume": { +"description": "Google netapp volume resource name e.g. projects/my-project/locations/me-west1-b/volumes/my-volume", +"type": "string" +} +}, +"type": "object" +}, +"GoogleVmwareFileService": { +"description": "Volume message captures user inputs for creation of file services managed by GCVE", +"id": "GoogleVmwareFileService", +"properties": {}, +"type": "object" +}, +"GrantDnsBindPermissionRequest": { +"description": "Request message for VmwareEngine.GrantDnsBindPermission", +"id": "GrantDnsBindPermissionRequest", +"properties": { +"principal": { +"$ref": "Principal", +"description": "Required. The consumer provided user/service account which needs to be granted permission to bind with the intranet VPC corresponding to the consumer project." +}, +"requestId": { +"description": "Optional. A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server guarantees that a request doesn't result in creation of duplicate commitments for at least 60 minutes. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", +"type": "string" +} +}, +"type": "object" +}, +"Hcx": { +"description": "Details about a HCX Cloud Manager appliance.", +"id": "Hcx", +"properties": { +"fqdn": { +"description": "Fully qualified domain name of the appliance.", +"type": "string" +}, +"internalIp": { +"description": "Internal IP address of the appliance.", +"type": "string" +}, +"state": { +"description": "Output only. The state of the appliance.", +"enum": [ +"STATE_UNSPECIFIED", +"ACTIVE", +"CREATING", +"ACTIVATING" +], +"enumDescriptions": [ +"Unspecified appliance state. This is the default value.", +"The appliance is operational and can be used.", +"The appliance is being deployed.", +"The appliance is being activated." +], +"readOnly": true, +"type": "string" +}, +"version": { +"description": "Version of the appliance.", +"type": "string" +} +}, +"type": "object" +}, +"HcxActivationKey": { +"description": "HCX activation key. A default key is created during private cloud provisioning, but this behavior is subject to change and you should always verify active keys. Use VmwareEngine.ListHcxActivationKeys to retrieve existing keys and VmwareEngine.CreateHcxActivationKey to create new ones.", +"id": "HcxActivationKey", +"properties": { +"activationKey": { +"description": "Output only. HCX activation key.", +"readOnly": true, +"type": "string" +}, +"createTime": { +"description": "Output only. Creation time of HCX activation key.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"name": { +"description": "Output only. The resource name of this HcxActivationKey. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: `projects/my-project/locations/us-central1/privateClouds/my-cloud/hcxActivationKeys/my-key`", +"readOnly": true, +"type": "string" +}, +"state": { +"description": "Output only. State of HCX activation key.", +"enum": [ +"STATE_UNSPECIFIED", +"AVAILABLE", +"CONSUMED", +"CREATING" +], +"enumDescriptions": [ +"Unspecified state.", +"State of a newly generated activation key.", +"State of key when it has been used to activate HCX appliance.", +"State of key when it is being created." +], +"readOnly": true, +"type": "string" +}, +"uid": { +"description": "Output only. System-generated unique identifier for the resource.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"Interval": { +"description": "Represents a time interval, encoded as a Timestamp start (inclusive) and a Timestamp end (exclusive). The start must be less than or equal to the end. When the start equals the end, the interval is empty (matches no time). When both start and end are unspecified, the interval matches any time.", +"id": "Interval", +"properties": { +"endTime": { +"description": "Optional. Exclusive end of the interval. If specified, a Timestamp matching this interval will have to be before the end.", +"format": "google-datetime", +"type": "string" +}, +"startTime": { +"description": "Optional. Inclusive start of the interval. If specified, a Timestamp matching this interval will have to be the same or after the start.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"IpRange": { +"description": "An IP range provided in any one of the supported formats.", +"id": "IpRange", +"properties": { +"externalAddress": { +"description": "The name of an `ExternalAddress` resource. The external address must have been reserved in the scope of this external access rule's parent network policy. Provide the external address name in the form of `projects/{project}/locations/{location}/privateClouds/{private_cloud}/externalAddresses/{external_address}`. For example: `projects/my-project/locations/us-central1-a/privateClouds/my-cloud/externalAddresses/my-address`.", +"type": "string" +}, +"ipAddress": { +"description": "A single IP address. For example: `10.0.0.5`.", +"type": "string" +}, +"ipAddressRange": { +"description": "An IP address range in the CIDR format. For example: `10.0.0.0/24`.", +"type": "string" +} +}, +"type": "object" +}, +"ListAnnouncementsResponse": { +"description": "Response message for VmwareEngine.ListAnnouncements", +"id": "ListAnnouncementsResponse", +"properties": { +"announcements": { +"description": "A list of announcement runs.", +"items": { +"$ref": "Announcement" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.", +"type": "string" +}, +"unreachable": { +"description": "list of unreachable locations", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListClustersResponse": { +"description": "Response message for VmwareEngine.ListClusters", +"id": "ListClustersResponse", +"properties": { +"clusters": { +"description": "A list of private cloud clusters.", +"items": { +"$ref": "Cluster" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.", +"type": "string" +}, +"unreachable": { +"description": "Locations that could not be reached when making an aggregated query using wildcards.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListDatastoresResponse": { +"description": "Response message for VmwareEngine.ListDatastores", +"id": "ListDatastoresResponse", +"properties": { +"datastores": { +"description": "A list of Datastores.", +"items": { +"$ref": "Datastore" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.", +"type": "string" +}, +"unreachable": { +"description": "Unreachable resources.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListExternalAccessRulesResponse": { +"description": "Response message for VmwareEngine.ListExternalAccessRules", +"id": "ListExternalAccessRulesResponse", +"properties": { +"externalAccessRules": { +"description": "A list of external access firewall rules.", +"items": { +"$ref": "ExternalAccessRule" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.", +"type": "string" +}, +"unreachable": { +"description": "Locations that could not be reached when making an aggregated query using wildcards.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListExternalAddressesResponse": { +"description": "Response message for VmwareEngine.ListExternalAddresses", +"id": "ListExternalAddressesResponse", +"properties": { +"externalAddresses": { +"description": "A list of external IP addresses.", +"items": { +"$ref": "ExternalAddress" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.", +"type": "string" +}, +"unreachable": { +"description": "Locations that could not be reached when making an aggregated query using wildcards.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListHcxActivationKeysResponse": { +"description": "Response message for VmwareEngine.ListHcxActivationKeys", +"id": "ListHcxActivationKeysResponse", +"properties": { +"hcxActivationKeys": { +"description": "List of HCX activation keys.", +"items": { +"$ref": "HcxActivationKey" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.", +"type": "string" +}, +"unreachable": { +"description": "Locations that could not be reached when making an aggregated query using wildcards.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListLocationsResponse": { +"description": "The response message for Locations.ListLocations.", +"id": "ListLocationsResponse", +"properties": { +"locations": { +"description": "A list of locations that matches the specified filter in the request.", +"items": { +"$ref": "Location" +}, +"type": "array" +}, +"nextPageToken": { +"description": "The standard List next-page token.", +"type": "string" +} +}, +"type": "object" +}, +"ListLoggingServersResponse": { +"description": "Response message for VmwareEngine.ListLoggingServers", +"id": "ListLoggingServersResponse", +"properties": { +"loggingServers": { +"description": "A list of Logging Servers.", +"items": { +"$ref": "LoggingServer" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A token, which can be send as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.", +"type": "string" +}, +"unreachable": { +"description": "Locations that could not be reached when making an aggregated query using wildcards.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListManagementDnsZoneBindingsResponse": { +"description": "Response message for VmwareEngine.ListManagementDnsZoneBindings", +"id": "ListManagementDnsZoneBindingsResponse", +"properties": { +"managementDnsZoneBindings": { +"description": "A list of management DNS zone bindings.", +"items": { +"$ref": "ManagementDnsZoneBinding" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.", +"type": "string" +}, +"unreachable": { +"description": "Locations that could not be reached when making an aggregated query using wildcards.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListNetworkPeeringsResponse": { +"description": "Response message for VmwareEngine.ListNetworkPeerings", +"id": "ListNetworkPeeringsResponse", +"properties": { +"networkPeerings": { +"description": "A list of network peerings.", +"items": { +"$ref": "NetworkPeering" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.", +"type": "string" +}, +"unreachable": { +"description": "Unreachable resources.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListNetworkPoliciesResponse": { +"description": "Response message for VmwareEngine.ListNetworkPolicies", +"id": "ListNetworkPoliciesResponse", +"properties": { +"networkPolicies": { +"description": "A list of network policies.", +"items": { +"$ref": "NetworkPolicy" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A token, which can be send as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.", +"type": "string" +}, +"unreachable": { +"description": "Locations that could not be reached when making an aggregated query using wildcards.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListNodeTypesResponse": { +"description": "Response message for VmwareEngine.ListNodeTypes", +"id": "ListNodeTypesResponse", +"properties": { +"nextPageToken": { +"description": "A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.", +"type": "string" +}, +"nodeTypes": { +"description": "A list of Node Types.", +"items": { +"$ref": "NodeType" +}, +"type": "array" +}, +"unreachable": { +"description": "Locations that could not be reached when making an aggregated query using wildcards.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListNodesResponse": { +"description": "Response message for VmwareEngine.ListNodes", +"id": "ListNodesResponse", +"properties": { +"nextPageToken": { +"description": "A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.", +"type": "string" +}, +"nodes": { +"description": "The nodes.", +"items": { +"$ref": "Node" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListOperationsResponse": { +"description": "The response message for Operations.ListOperations.", +"id": "ListOperationsResponse", +"properties": { +"nextPageToken": { +"description": "The standard List next-page token.", +"type": "string" +}, +"operations": { +"description": "A list of operations that matches the specified filter in the request.", +"items": { +"$ref": "Operation" +}, +"type": "array" +}, +"unreachable": { +"description": "Unordered list. Unreachable resources. Populated when the request sets `ListOperationsRequest.return_partial_success` and reads across collections. For example, when attempting to list all resources across all supported locations.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListPeeringRoutesResponse": { +"description": "Response message for VmwareEngine.ListPeeringRoutes", +"id": "ListPeeringRoutesResponse", +"properties": { +"nextPageToken": { +"description": "A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.", +"type": "string" +}, +"peeringRoutes": { +"description": "A list of peering routes.", +"items": { +"$ref": "PeeringRoute" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListPrivateCloudsResponse": { +"description": "Response message for VmwareEngine.ListPrivateClouds", +"id": "ListPrivateCloudsResponse", +"properties": { +"nextPageToken": { +"description": "A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.", +"type": "string" +}, +"privateClouds": { +"description": "A list of private clouds.", +"items": { +"$ref": "PrivateCloud" +}, +"type": "array" +}, +"unreachable": { +"description": "Locations that could not be reached when making an aggregated query using wildcards.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListPrivateConnectionPeeringRoutesResponse": { +"description": "Response message for VmwareEngine.ListPrivateConnectionPeeringRoutes", +"id": "ListPrivateConnectionPeeringRoutesResponse", +"properties": { +"nextPageToken": { +"description": "A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.", +"type": "string" +}, +"peeringRoutes": { +"description": "A list of peering routes.", +"items": { +"$ref": "PeeringRoute" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListPrivateConnectionsResponse": { +"description": "Response message for VmwareEngine.ListPrivateConnections", +"id": "ListPrivateConnectionsResponse", +"properties": { +"nextPageToken": { +"description": "A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.", +"type": "string" +}, +"privateConnections": { +"description": "A list of private connections.", +"items": { +"$ref": "PrivateConnection" +}, +"type": "array" +}, +"unreachable": { +"description": "Unreachable resources.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListSubnetsResponse": { +"description": "Response message for VmwareEngine.ListSubnets", +"id": "ListSubnetsResponse", +"properties": { +"nextPageToken": { +"description": "A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.", +"type": "string" +}, +"subnets": { +"description": "A list of subnets.", +"items": { +"$ref": "Subnet" +}, +"type": "array" +}, +"unreachable": { +"description": "Locations that could not be reached when making an aggregated query using wildcards.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListUpgradesResponse": { +"description": "Response message for VmwareEngine.ListUpgrades.", +"id": "ListUpgradesResponse", +"properties": { +"nextPageToken": { +"description": "A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.", +"type": "string" +}, +"unreachable": { +"description": "List of unreachable resources.", +"items": { +"type": "string" +}, +"type": "array" +}, +"upgrades": { +"description": "A list of `Upgrades`.", +"items": { +"$ref": "Upgrade" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListVmwareEngineNetworksResponse": { +"description": "Response message for VmwareEngine.ListVmwareEngineNetworks", +"id": "ListVmwareEngineNetworksResponse", +"properties": { +"nextPageToken": { +"description": "A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.", +"type": "string" +}, +"unreachable": { +"description": "Unreachable resources.", +"items": { +"type": "string" +}, +"type": "array" +}, +"vmwareEngineNetworks": { +"description": "A list of VMware Engine networks.", +"items": { +"$ref": "VmwareEngineNetwork" +}, +"type": "array" +} +}, +"type": "object" +}, +"Location": { +"description": "A resource that represents a Google Cloud location.", +"id": "Location", +"properties": { +"displayName": { +"description": "The friendly name for this location, typically a nearby city name. For example, \"Tokyo\".", +"type": "string" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Cross-service attributes for the location. For example {\"cloud.googleapis.com/region\": \"us-east1\"}", +"type": "object" +}, +"locationId": { +"description": "The canonical id for this location. For example: `\"us-east1\"`.", +"type": "string" +}, +"metadata": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "Service-specific metadata. For example the available capacity at the given location.", +"type": "object" +}, +"name": { +"description": "Resource name for the location, which may vary between implementations. For example: `\"projects/example-project/locations/us-east1\"`", +"type": "string" +} +}, +"type": "object" +}, +"LocationMetadata": { +"description": "VmwareEngine specific metadata for the given google.cloud.location.Location. It is returned as a content of the `google.cloud.location.Location.metadata` field.", +"id": "LocationMetadata", +"properties": { +"capabilities": { +"description": "Output only. Capabilities of this location.", +"items": { +"enum": [ +"CAPABILITY_UNSPECIFIED", +"STRETCHED_CLUSTERS" +], +"enumDescriptions": [ +"The default value. This value is used if the capability is omitted or unknown.", +"Stretch clusters are supported in this location." +], +"type": "string" +}, +"readOnly": true, +"type": "array" +} +}, +"type": "object" +}, +"LoggingServer": { +"description": "Logging server to receive vCenter or ESXi logs.", +"id": "LoggingServer", +"properties": { +"createTime": { +"description": "Output only. Creation time of this resource.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"hostname": { +"description": "Required. Fully-qualified domain name (FQDN) or IP Address of the logging server.", +"type": "string" +}, +"name": { +"description": "Output only. The resource name of this logging server. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: `projects/my-project/locations/us-central1-a/privateClouds/my-cloud/loggingServers/my-logging-server`", +"readOnly": true, +"type": "string" +}, +"port": { +"description": "Required. Port number at which the logging server receives logs.", +"format": "int32", +"type": "integer" +}, +"protocol": { +"description": "Required. Protocol used by vCenter to send logs to a logging server.", +"enum": [ +"PROTOCOL_UNSPECIFIED", +"UDP", +"TCP", +"TLS", +"SSL", +"RELP" +], +"enumDescriptions": [ +"Unspecified communications protocol. This is the default value.", +"UDP", +"TCP", +"TLS", +"SSL", +"RELP" +], +"type": "string" +}, +"sourceType": { +"description": "Required. The type of component that produces logs that will be forwarded to this logging server.", +"enum": [ +"SOURCE_TYPE_UNSPECIFIED", +"ESXI", +"VCSA" +], +"enumDescriptions": [ +"The default value. This value should never be used.", +"Logs produced by ESXI hosts", +"Logs produced by vCenter server" +], +"type": "string" +}, +"uid": { +"description": "Output only. System-generated unique identifier for the resource.", +"readOnly": true, +"type": "string" +}, +"updateTime": { +"description": "Output only. Last update time of this resource.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"ManagementCluster": { +"description": "Management cluster configuration.", +"id": "ManagementCluster", +"properties": { +"clusterId": { +"description": "Required. The user-provided identifier of the new `Cluster`. The identifier must meet the following requirements: * Only contains 1-63 alphanumeric characters and hyphens * Begins with an alphabetical character * Ends with a non-hyphen character * Not formatted as a UUID * Complies with [RFC 1034](https://datatracker.ietf.org/doc/html/rfc1034) (section 3.5)", +"type": "string" +}, +"nodeTypeConfigs": { +"additionalProperties": { +"$ref": "NodeTypeConfig" +}, +"description": "Required. The map of cluster node types in this cluster, where the key is canonical identifier of the node type (corresponds to the `NodeType`).", +"type": "object" +}, +"stretchedClusterConfig": { +"$ref": "StretchedClusterConfig", +"description": "Optional. Configuration of a stretched cluster. Required for STRETCHED private clouds." +} +}, +"type": "object" +}, +"ManagementDnsZoneBinding": { +"description": "Represents a binding between a network and the management DNS zone. A management DNS zone is the Cloud DNS cross-project binding zone that VMware Engine creates for each private cloud. It contains FQDNs and corresponding IP addresses for the private cloud's ESXi hosts and management VM appliances like vCenter and NSX Manager.", +"id": "ManagementDnsZoneBinding", +"properties": { +"createTime": { +"description": "Output only. Creation time of this resource.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"description": { +"description": "User-provided description for this resource.", +"type": "string" +}, +"name": { +"description": "Output only. The resource name of this binding. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: `projects/my-project/locations/us-central1-a/privateClouds/my-cloud/managementDnsZoneBindings/my-management-dns-zone-binding`", +"readOnly": true, +"type": "string" +}, +"state": { +"description": "Output only. The state of the resource.", +"enum": [ +"STATE_UNSPECIFIED", +"ACTIVE", +"CREATING", +"UPDATING", +"DELETING", +"FAILED" +], +"enumDescriptions": [ +"The default value. This value should never be used.", +"The binding is ready.", +"The binding is being created.", +"The binding is being updated.", +"The binding is being deleted.", +"The binding has failed." +], +"readOnly": true, +"type": "string" +}, +"uid": { +"description": "Output only. System-generated unique identifier for the resource.", +"readOnly": true, +"type": "string" +}, +"updateTime": { +"description": "Output only. Last update time of this resource.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"vmwareEngineNetwork": { +"description": "Network to bind is a VMware Engine network. Specify the name in the following form for VMware engine network: `projects/{project}/locations/global/vmwareEngineNetworks/{vmware_engine_network_id}`. `{project}` can either be a project number or a project ID.", +"type": "string" +}, +"vpcNetwork": { +"description": "Network to bind is a standard consumer VPC. Specify the name in the following form for consumer VPC network: `projects/{project}/global/networks/{network_id}`. `{project}` can either be a project number or a project ID.", +"type": "string" +} +}, +"type": "object" +}, +"MountDatastoreRequest": { +"description": "Mount Datastore Request message", +"id": "MountDatastoreRequest", +"properties": { +"datastoreMountConfig": { +"$ref": "DatastoreMountConfig", +"description": "Required. The datastore mount configuration." +}, +"ignoreColocation": { +"description": "Optional. If set to true, the colocation requirement will be ignored. If set to false, the colocation requirement will be enforced. If not set, the colocation requirement will be enforced. Colocation requirement is the requirement that the cluster must be in the same region/zone of datastore(regional/zonal datastore).", +"type": "boolean" +}, +"requestId": { +"description": "Optional. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", +"type": "string" +} +}, +"type": "object" +}, +"NetworkConfig": { +"description": "Network configuration in the consumer project with which the peering has to be done.", +"id": "NetworkConfig", +"properties": { +"dnsServerIp": { +"description": "Output only. DNS Server IP of the Private Cloud. All DNS queries can be forwarded to this address for name resolution of Private Cloud's management entities like vCenter, NSX-T Manager and ESXi hosts.", +"readOnly": true, +"type": "string" +}, +"managementCidr": { +"description": "Required. Management CIDR used by VMware management appliances.", +"type": "string" +}, +"managementIpAddressLayoutVersion": { +"description": "Output only. The IP address layout version of the management IP address range. Possible versions include: * `managementIpAddressLayoutVersion=1`: Indicates the legacy IP address layout used by some existing private clouds. This is no longer supported for new private clouds as it does not support all features. * `managementIpAddressLayoutVersion=2`: Indicates the latest IP address layout used by all newly created private clouds. This version supports all current features.", +"format": "int32", +"readOnly": true, +"type": "integer" +}, +"vmwareEngineNetwork": { +"description": "Optional. The relative resource name of the VMware Engine network attached to the private cloud. Specify the name in the following form: `projects/{project}/locations/{location}/vmwareEngineNetworks/{vmware_engine_network_id}` where `{project}` can either be a project number or a project ID.", +"type": "string" +}, +"vmwareEngineNetworkCanonical": { +"description": "Output only. The canonical name of the VMware Engine network in the form: `projects/{project_number}/locations/{location}/vmwareEngineNetworks/{vmware_engine_network_id}`", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"NetworkPeering": { +"description": "Details of a network peering.", +"id": "NetworkPeering", +"properties": { +"createTime": { +"description": "Output only. Creation time of this resource.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"description": { +"description": "Optional. User-provided description for this network peering.", +"type": "string" +}, +"exchangeSubnetRoutes": { +"description": "Optional. True if full mesh connectivity is created and managed automatically between peered networks; false otherwise. Currently this field is always true because Google Compute Engine automatically creates and manages subnetwork routes between two VPC networks when peering state is 'ACTIVE'.", +"type": "boolean" +}, +"exportCustomRoutes": { +"description": "Optional. True if custom routes are exported to the peered network; false otherwise. The default value is true.", +"type": "boolean" +}, +"exportCustomRoutesWithPublicIp": { +"description": "Optional. True if all subnet routes with a public IP address range are exported; false otherwise. The default value is true. IPv4 special-use ranges (https://en.wikipedia.org/wiki/IPv4#Special_addresses) are always exported to peers and are not controlled by this field.", +"type": "boolean" +}, +"importCustomRoutes": { +"description": "Optional. True if custom routes are imported from the peered network; false otherwise. The default value is true.", +"type": "boolean" +}, +"importCustomRoutesWithPublicIp": { +"description": "Optional. True if all subnet routes with public IP address range are imported; false otherwise. The default value is true. IPv4 special-use ranges (https://en.wikipedia.org/wiki/IPv4#Special_addresses) are always imported to peers and are not controlled by this field.", +"type": "boolean" +}, +"name": { +"description": "Output only. Identifier. The resource name of the network peering. NetworkPeering is a global resource and location can only be global. Resource names are scheme-less URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: `projects/my-project/locations/global/networkPeerings/my-peering`", +"readOnly": true, +"type": "string" +}, +"peerMtu": { +"description": "Optional. Maximum transmission unit (MTU) in bytes. The default value is `1500`. If a value of `0` is provided for this field, VMware Engine uses the default value instead.", +"format": "int32", +"type": "integer" +}, +"peerNetwork": { +"description": "Required. The relative resource name of the network to peer with a standard VMware Engine network. The provided network can be a consumer VPC network or another standard VMware Engine network. If the `peer_network_type` is VMWARE_ENGINE_NETWORK, specify the name in the form: `projects/{project}/locations/global/vmwareEngineNetworks/{vmware_engine_network_id}`. Otherwise specify the name in the form: `projects/{project}/global/networks/{network_id}`, where `{project}` can either be a project number or a project ID.", +"type": "string" +}, +"peerNetworkType": { +"description": "Required. The type of the network to peer with the VMware Engine network.", +"enum": [ +"PEER_NETWORK_TYPE_UNSPECIFIED", +"STANDARD", +"VMWARE_ENGINE_NETWORK", +"PRIVATE_SERVICES_ACCESS", +"NETAPP_CLOUD_VOLUMES", +"THIRD_PARTY_SERVICE", +"DELL_POWERSCALE", +"GOOGLE_CLOUD_NETAPP_VOLUMES", +"GOOGLE_CLOUD_FILESTORE_INSTANCES" +], +"enumDescriptions": [ +"Unspecified", +"Peering connection used for connecting to another VPC network established by the same user. For example, a peering connection to another VPC network in the same project or to an on-premises network.", +"Peering connection used for connecting to another VMware Engine network.", +"Peering connection used for establishing [private services access](https://cloud.google.com/vpc/docs/private-services-access).", +"Peering connection used for connecting to NetApp Cloud Volumes.", +"Peering connection used for connecting to third-party services. Most third-party services require manual setup of reverse peering on the VPC network associated with the third-party service.", +"Peering connection used for connecting to Dell PowerScale Filers", +"Peering connection used for connecting to Google Cloud NetApp Volumes.", +"Peering connection used for connecting to Google Cloud Filestore Instances." +], +"type": "string" +}, +"state": { +"description": "Output only. State of the network peering. This field has a value of 'ACTIVE' when there's a matching configuration in the peer network. New values may be added to this enum when appropriate.", +"enum": [ +"STATE_UNSPECIFIED", +"INACTIVE", +"ACTIVE", +"CREATING", +"DELETING" +], +"enumDescriptions": [ +"Unspecified network peering state. This is the default value.", +"The peering is not active.", +"The peering is active.", +"The peering is being created.", +"The peering is being deleted." +], +"readOnly": true, +"type": "string" +}, +"stateDetails": { +"description": "Output only. Output Only. Details about the current state of the network peering.", +"readOnly": true, +"type": "string" +}, +"uid": { +"description": "Output only. System-generated unique identifier for the resource.", +"readOnly": true, +"type": "string" +}, +"updateTime": { +"description": "Output only. Last update time of this resource.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"vmwareEngineNetwork": { +"description": "Required. The relative resource name of the VMware Engine network. Specify the name in the following form: `projects/{project}/locations/{location}/vmwareEngineNetworks/{vmware_engine_network_id}` where `{project}` can either be a project number or a project ID.", +"type": "string" +} +}, +"type": "object" +}, +"NetworkPolicy": { +"description": "Represents a network policy resource. Network policies are regional resources. You can use a network policy to enable or disable internet access and external IP access. Network policies are associated with a VMware Engine network, which might span across regions. For a given region, a network policy applies to all private clouds in the VMware Engine network associated with the policy.", +"id": "NetworkPolicy", +"properties": { +"createTime": { +"description": "Output only. Creation time of this resource.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"description": { +"description": "Optional. User-provided description for this network policy.", +"type": "string" +}, +"edgeServicesCidr": { +"description": "Required. IP address range in CIDR notation used to create internet access and external IP access. An RFC 1918 CIDR block, with a \"/26\" prefix, is required. The range cannot overlap with any prefixes either in the consumer VPC network or in use by the private clouds attached to that VPC network.", +"type": "string" +}, +"externalIp": { +"$ref": "NetworkService", +"description": "Network service that allows External IP addresses to be assigned to VMware workloads. This service can only be enabled when `internet_access` is also enabled." +}, +"internetAccess": { +"$ref": "NetworkService", +"description": "Network service that allows VMware workloads to access the internet." +}, +"name": { +"description": "Output only. Identifier. The resource name of this network policy. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: `projects/my-project/locations/us-central1/networkPolicies/my-network-policy`", +"readOnly": true, +"type": "string" +}, +"uid": { +"description": "Output only. System-generated unique identifier for the resource.", +"readOnly": true, +"type": "string" +}, +"updateTime": { +"description": "Output only. Last update time of this resource.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"vmwareEngineNetwork": { +"description": "Optional. The relative resource name of the VMware Engine network. Specify the name in the following form: `projects/{project}/locations/{location}/vmwareEngineNetworks/{vmware_engine_network_id}` where `{project}` can either be a project number or a project ID.", +"type": "string" +}, +"vmwareEngineNetworkCanonical": { +"description": "Output only. The canonical name of the VMware Engine network in the form: `projects/{project_number}/locations/{location}/vmwareEngineNetworks/{vmware_engine_network_id}`", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"NetworkService": { +"description": "Represents a network service that is managed by a `NetworkPolicy` resource. A network service provides a way to control an aspect of external access to VMware workloads. For example, whether the VMware workloads in the private clouds governed by a network policy can access or be accessed from the internet.", +"id": "NetworkService", +"properties": { +"enabled": { +"description": "True if the service is enabled; false otherwise.", +"type": "boolean" +}, +"state": { +"description": "Output only. State of the service. New values may be added to this enum when appropriate.", +"enum": [ +"STATE_UNSPECIFIED", +"UNPROVISIONED", +"RECONCILING", +"ACTIVE" +], +"enumDescriptions": [ +"Unspecified service state. This is the default value.", +"Service is not provisioned.", +"Service is in the process of being provisioned/deprovisioned.", +"Service is active." +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"NfsDatastore": { +"description": "The NFS datastore configuration.", +"id": "NfsDatastore", +"properties": { +"googleFileService": { +"$ref": "GoogleFileService", +"description": "Google file service configuration" +}, +"googleVmwareFileService": { +"$ref": "GoogleVmwareFileService", +"description": "GCVE file service configuration" +}, +"thirdPartyFileService": { +"$ref": "ThirdPartyFileService", +"description": "Third party file service configuration" +} +}, +"type": "object" +}, +"Node": { +"description": "Node in a cluster.", +"id": "Node", +"properties": { +"customCoreCount": { +"description": "Output only. Customized number of cores", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"fqdn": { +"description": "Output only. Fully qualified domain name of the node.", +"readOnly": true, +"type": "string" +}, +"internalIp": { +"description": "Output only. Internal IP address of the node.", +"readOnly": true, +"type": "string" +}, +"name": { +"description": "Output only. The resource name of this node. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/us-central1-a/privateClouds/my-cloud/clusters/my-cluster/nodes/my-node", +"readOnly": true, +"type": "string" +}, +"nodeTypeId": { +"description": "Output only. The canonical identifier of the node type (corresponds to the `NodeType`). For example: standard-72.", +"readOnly": true, +"type": "string" +}, +"state": { +"description": "Output only. The state of the appliance.", +"enum": [ +"STATE_UNSPECIFIED", +"ACTIVE", +"CREATING", +"FAILED", +"UPGRADING" +], +"enumDescriptions": [ +"The default value. This value should never be used.", +"Node is operational and can be used by the user.", +"Node is being provisioned.", +"Node is in a failed state.", +"Node is undergoing maintenance, e.g.: during private cloud upgrade." +], +"readOnly": true, +"type": "string" +}, +"version": { +"description": "Output only. The version number of the VMware ESXi management component in this cluster.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"NodeType": { +"description": "Describes node type.", +"id": "NodeType", +"properties": { +"availableCustomCoreCounts": { +"description": "Output only. List of possible values of custom core count.", +"items": { +"format": "int32", +"type": "integer" +}, +"readOnly": true, +"type": "array" +}, +"capabilities": { +"description": "Output only. Capabilities of this node type.", +"items": { +"enum": [ +"CAPABILITY_UNSPECIFIED", +"STRETCHED_CLUSTERS" +], +"enumDescriptions": [ +"The default value. This value is used if the capability is omitted or unknown.", +"This node type supports stretch clusters." +], +"type": "string" +}, +"readOnly": true, +"type": "array" +}, +"diskSizeGb": { +"description": "Output only. The amount of storage available, defined in GB.", +"format": "int32", +"readOnly": true, +"type": "integer" +}, +"displayName": { +"description": "Output only. The friendly name for this node type. For example: ve1-standard-72", +"readOnly": true, +"type": "string" +}, +"families": { +"description": "Output only. Families of the node type. For node types to be in the same cluster they must share at least one element in the `families`.", +"items": { +"type": "string" +}, +"readOnly": true, +"type": "array" +}, +"kind": { +"description": "Output only. The type of the resource.", +"enum": [ +"KIND_UNSPECIFIED", +"STANDARD", +"STORAGE_ONLY" +], +"enumDescriptions": [ +"The default value. This value should never be used.", +"Standard HCI node.", +"Storage only Node." +], +"readOnly": true, +"type": "string" +}, +"memoryGb": { +"description": "Output only. The amount of physical memory available, defined in GB.", +"format": "int32", +"readOnly": true, +"type": "integer" +}, +"name": { +"description": "Output only. The resource name of this node type. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: `projects/my-proj/locations/us-central1-a/nodeTypes/standard-72`", +"readOnly": true, +"type": "string" +}, +"nodeTypeId": { +"description": "Output only. The canonical identifier of the node type (corresponds to the `NodeType`). For example: standard-72.", +"readOnly": true, +"type": "string" +}, +"totalCoreCount": { +"description": "Output only. The total number of CPU cores in a single node.", +"format": "int32", +"readOnly": true, +"type": "integer" +}, +"virtualCpuCount": { +"description": "Output only. The total number of virtual CPUs in a single node.", +"format": "int32", +"readOnly": true, +"type": "integer" +} +}, +"type": "object" +}, +"NodeTypeConfig": { +"description": "Information about the type and number of nodes associated with the cluster.", +"id": "NodeTypeConfig", +"properties": { +"customCoreCount": { +"description": "Optional. Customized number of cores available to each node of the type. This number must always be one of `nodeType.availableCustomCoreCounts`. If zero is provided max value from `nodeType.availableCustomCoreCounts` will be used.", +"format": "int32", +"type": "integer" +}, +"nodeCount": { +"description": "Required. The number of nodes of this type in the cluster", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"Nsx": { +"description": "Details about a NSX Manager appliance.", +"id": "Nsx", +"properties": { +"fqdn": { +"description": "Fully qualified domain name of the appliance.", +"type": "string" +}, +"internalIp": { +"description": "Internal IP address of the appliance.", +"type": "string" +}, +"state": { +"description": "Output only. The state of the appliance.", +"enum": [ +"STATE_UNSPECIFIED", +"ACTIVE", +"CREATING" +], +"enumDescriptions": [ +"Unspecified appliance state. This is the default value.", +"The appliance is operational and can be used.", +"The appliance is being deployed." +], +"readOnly": true, +"type": "string" +}, +"version": { +"description": "Version of the appliance.", +"type": "string" +} +}, +"type": "object" +}, +"Operation": { +"description": "This resource represents a long-running operation that is the result of a network API call.", +"id": "Operation", +"properties": { +"done": { +"description": "If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.", +"type": "boolean" +}, +"error": { +"$ref": "Status", +"description": "The error result of the operation in case of failure or cancellation." +}, +"metadata": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.", +"type": "object" +}, +"name": { +"description": "The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.", +"type": "string" +}, +"response": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "The normal, successful response of the operation. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.", +"type": "object" +} +}, +"type": "object" +}, +"OperationMetadata": { +"description": "Represents the metadata of the long-running operation.", +"id": "OperationMetadata", +"properties": { +"apiVersion": { +"description": "Output only. API version used to start the operation.", +"readOnly": true, +"type": "string" +}, +"createTime": { +"description": "Output only. The time the operation was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"endTime": { +"description": "Output only. The time the operation finished running.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"requestedCancellation": { +"description": "Output only. True if the user has requested cancellation of the operation; false otherwise. Operations that have successfully been cancelled have Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.", +"readOnly": true, +"type": "boolean" +}, +"statusMessage": { +"description": "Output only. Human-readable status of the operation, if any.", +"readOnly": true, +"type": "string" +}, +"target": { +"description": "Output only. Server-defined resource path for the target of the operation.", +"readOnly": true, +"type": "string" +}, +"verb": { +"description": "Output only. Name of the verb executed by the operation.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"PeeringRoute": { +"description": "Exchanged network peering route.", +"id": "PeeringRoute", +"properties": { +"destRange": { +"description": "Output only. Destination range of the peering route in CIDR notation.", +"readOnly": true, +"type": "string" +}, +"direction": { +"description": "Output only. Direction of the routes exchanged with the peer network, from the VMware Engine network perspective: * Routes of direction `INCOMING` are imported from the peer network. * Routes of direction `OUTGOING` are exported from the intranet VPC network of the VMware Engine network.", +"enum": [ +"DIRECTION_UNSPECIFIED", +"INCOMING", +"OUTGOING" +], +"enumDescriptions": [ +"Unspecified exchanged routes direction. This is default.", +"Routes imported from the peer network.", +"Routes exported to the peer network." +], +"readOnly": true, +"type": "string" +}, +"imported": { +"description": "Output only. True if the peering route has been imported from a peered VPC network; false otherwise. The import happens if the field `NetworkPeering.importCustomRoutes` is true for this network, `NetworkPeering.exportCustomRoutes` is true for the peer VPC network, and the import does not result in a route conflict.", +"readOnly": true, +"type": "boolean" +}, +"nextHopRegion": { +"description": "Output only. Region containing the next hop of the peering route. This field only applies to dynamic routes in the peer VPC network.", +"readOnly": true, +"type": "string" +}, +"priority": { +"description": "Output only. The priority of the peering route.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"type": { +"description": "Output only. Type of the route in the peer VPC network.", +"enum": [ +"TYPE_UNSPECIFIED", +"DYNAMIC_PEERING_ROUTE", +"STATIC_PEERING_ROUTE", +"SUBNET_PEERING_ROUTE" +], +"enumDescriptions": [ +"Unspecified peering route type. This is the default value.", +"Dynamic routes in the peer network.", +"Static routes in the peer network.", +"Created, updated, and removed automatically by Google Cloud when subnets are created, modified, or deleted in the peer network." +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"Policy": { +"description": "An Identity and Access Management (IAM) policy, which specifies access controls for Google Cloud resources. A `Policy` is a collection of `bindings`. A `binding` binds one or more `members`, or principals, to a single `role`. Principals can be user accounts, service accounts, Google groups, and domains (such as G Suite). A `role` is a named list of permissions; each `role` can be an IAM predefined role or a user-created custom role. For some types of Google Cloud resources, a `binding` can also specify a `condition`, which is a logical expression that allows access to a resource only if the expression evaluates to `true`. A condition can add constraints based on attributes of the request, the resource, or both. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). **JSON example:** ``` { \"bindings\": [ { \"role\": \"roles/resourcemanager.organizationAdmin\", \"members\": [ \"user:mike@example.com\", \"group:admins@example.com\", \"domain:google.com\", \"serviceAccount:my-project-id@appspot.gserviceaccount.com\" ] }, { \"role\": \"roles/resourcemanager.organizationViewer\", \"members\": [ \"user:eve@example.com\" ], \"condition\": { \"title\": \"expirable access\", \"description\": \"Does not grant access after Sep 2020\", \"expression\": \"request.time < timestamp('2020-10-01T00:00:00.000Z')\", } } ], \"etag\": \"BwWWja0YfJA=\", \"version\": 3 } ``` **YAML example:** ``` bindings: - members: - user:mike@example.com - group:admins@example.com - domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.com role: roles/resourcemanager.organizationViewer condition: title: expirable access description: Does not grant access after Sep 2020 expression: request.time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 ``` For a description of IAM and its features, see the [IAM documentation](https://cloud.google.com/iam/docs/).", +"id": "Policy", +"properties": { +"auditConfigs": { +"description": "Specifies cloud audit logging configuration for this policy.", +"items": { +"$ref": "AuditConfig" +}, +"type": "array" +}, +"bindings": { +"description": "Associates a list of `members`, or principals, with a `role`. Optionally, may specify a `condition` that determines how and when the `bindings` are applied. Each of the `bindings` must contain at least one principal. The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250 of these principals can be Google groups. Each occurrence of a principal counts towards these limits. For example, if the `bindings` grant 50 different roles to `user:alice@example.com`, and not to any other principal, then you can add another 1,450 principals to the `bindings` in the `Policy`.", +"items": { +"$ref": "Binding" +}, +"type": "array" +}, +"etag": { +"description": "`etag` is used for optimistic concurrency control as a way to help prevent simultaneous updates of a policy from overwriting each other. It is strongly suggested that systems make use of the `etag` in the read-modify-write cycle to perform policy updates in order to avoid race conditions: An `etag` is returned in the response to `getIamPolicy`, and systems are expected to put that etag in the request to `setIamPolicy` to ensure that their change will be applied to the same version of the policy. **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost.", +"format": "byte", +"type": "string" +}, +"version": { +"description": "Specifies the format of the policy. Valid values are `0`, `1`, and `3`. Requests that specify an invalid value are rejected. Any operation that affects conditional role bindings must specify version `3`. This requirement applies to the following operations: * Getting a policy that includes a conditional role binding * Adding a conditional role binding to a policy * Changing a conditional role binding in a policy * Removing any role binding, with or without a condition, from a policy that includes conditions **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost. If a policy does not include any conditions, operations on that policy may specify any valid version or leave the field unset. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"Principal": { +"description": "Users/Service accounts which have access for DNS binding on the intranet VPC corresponding to the consumer project.", +"id": "Principal", +"properties": { +"serviceAccount": { +"description": "The service account which needs to be granted the permission.", +"type": "string" +}, +"user": { +"description": "The user who needs to be granted permission.", +"type": "string" +} +}, +"type": "object" +}, +"PrivateCloud": { +"description": "Represents a private cloud resource. Private clouds of type `STANDARD` and `TIME_LIMITED` are zonal resources, `STRETCHED` private clouds are regional.", +"id": "PrivateCloud", +"properties": { +"createTime": { +"description": "Output only. Creation time of this resource.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"deleteTime": { +"description": "Output only. Time when the resource was scheduled for deletion.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"description": { +"description": "User-provided description for this private cloud.", +"type": "string" +}, +"expireTime": { +"description": "Output only. Time when the resource will be irreversibly deleted.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"hcx": { +"$ref": "Hcx", +"description": "Output only. HCX appliance.", +"readOnly": true +}, +"managementCluster": { +"$ref": "ManagementCluster", +"description": "Required. Input only. The management cluster for this private cloud. This field is required during creation of the private cloud to provide details for the default cluster. The following fields can't be changed after private cloud creation: `ManagementCluster.clusterId`, `ManagementCluster.nodeTypeId`." +}, +"name": { +"description": "Output only. Identifier. The resource name of this private cloud. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: `projects/my-project/locations/us-central1-a/privateClouds/my-cloud`", +"readOnly": true, +"type": "string" +}, +"networkConfig": { +"$ref": "NetworkConfig", +"description": "Required. Network configuration of the private cloud." +}, +"nsx": { +"$ref": "Nsx", +"description": "Output only. NSX appliance.", +"readOnly": true +}, +"state": { +"description": "Output only. State of the resource. New values may be added to this enum when appropriate.", +"enum": [ +"STATE_UNSPECIFIED", +"ACTIVE", +"CREATING", +"UPDATING", +"FAILED", +"DELETED", +"PURGING" +], +"enumDescriptions": [ +"The default value. This value should never be used.", +"The private cloud is ready.", +"The private cloud is being created.", +"The private cloud is being updated.", +"The private cloud is in failed state.", +"The private cloud is scheduled for deletion. The deletion process can be cancelled by using the corresponding undelete method.", +"The private cloud is irreversibly deleted and is being removed from the system." +], +"readOnly": true, +"type": "string" +}, +"type": { +"description": "Optional. Type of the private cloud. Defaults to STANDARD.", +"enum": [ +"STANDARD", +"TIME_LIMITED", +"STRETCHED" +], +"enumDescriptions": [ +"Standard private is a zonal resource, with 3+ nodes. Default type.", +"Time limited private cloud is a zonal resource, can have only 1 node and has limited life span. Will be deleted after defined period of time, can be converted into standard private cloud by expanding it up to 3 or more nodes.", +"Stretched private cloud is a regional resource with redundancy, with a minimum of 6 nodes, nodes count has to be even." +], +"type": "string" +}, +"uid": { +"description": "Output only. System-generated unique identifier for the resource.", +"readOnly": true, +"type": "string" +}, +"updateTime": { +"description": "Output only. Last update time of this resource.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"vcenter": { +"$ref": "Vcenter", +"description": "Output only. Vcenter appliance.", +"readOnly": true +} +}, +"type": "object" +}, +"PrivateConnection": { +"description": "Private connection resource that provides connectivity for VMware Engine private clouds.", +"id": "PrivateConnection", +"properties": { +"createTime": { +"description": "Output only. Creation time of this resource.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"description": { +"description": "Optional. User-provided description for this private connection.", +"type": "string" +}, +"name": { +"description": "Output only. The resource name of the private connection. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: `projects/my-project/locations/us-central1/privateConnections/my-connection`", +"readOnly": true, +"type": "string" +}, +"peeringId": { +"description": "Output only. VPC network peering id between given network VPC and VMwareEngineNetwork.", +"readOnly": true, +"type": "string" +}, +"peeringState": { +"description": "Output only. Peering state between service network and VMware Engine network.", +"enum": [ +"PEERING_STATE_UNSPECIFIED", +"PEERING_ACTIVE", +"PEERING_INACTIVE" +], +"enumDescriptions": [ +"The default value. This value is used if the peering state is omitted or unknown.", +"The peering is in active state.", +"The peering is in inactive state." +], +"readOnly": true, +"type": "string" +}, +"routingMode": { +"description": "Optional. Routing Mode. Default value is set to GLOBAL. For type = PRIVATE_SERVICE_ACCESS, this field can be set to GLOBAL or REGIONAL, for other types only GLOBAL is supported.", +"enum": [ +"ROUTING_MODE_UNSPECIFIED", +"GLOBAL", +"REGIONAL" +], +"enumDescriptions": [ +"The default value. This value should never be used.", +"Global Routing Mode", +"Regional Routing Mode" +], +"type": "string" +}, +"serviceNetwork": { +"description": "Required. Service network to create private connection. Specify the name in the following form: `projects/{project}/global/networks/{network_id}` For type = PRIVATE_SERVICE_ACCESS, this field represents servicenetworking VPC, e.g. projects/project-tp/global/networks/servicenetworking. For type = NETAPP_CLOUD_VOLUME, this field represents NetApp service VPC, e.g. projects/project-tp/global/networks/netapp-tenant-vpc. For type = DELL_POWERSCALE, this field represent Dell service VPC, e.g. projects/project-tp/global/networks/dell-tenant-vpc. For type= THIRD_PARTY_SERVICE, this field could represent a consumer VPC or any other producer VPC to which the VMware Engine Network needs to be connected, e.g. projects/project/global/networks/vpc.", +"type": "string" +}, +"state": { +"description": "Output only. State of the private connection.", +"enum": [ +"STATE_UNSPECIFIED", +"CREATING", +"ACTIVE", +"UPDATING", +"DELETING", +"UNPROVISIONED", +"FAILED" +], +"enumDescriptions": [ +"The default value. This value is used if the state is omitted.", +"The private connection is being created.", +"The private connection is ready.", +"The private connection is being updated.", +"The private connection is being deleted.", +"The private connection is not provisioned, since no private cloud is present for which this private connection is needed.", +"The private connection is in failed state." +], +"readOnly": true, +"type": "string" +}, +"type": { +"description": "Required. Private connection type.", +"enum": [ +"TYPE_UNSPECIFIED", +"PRIVATE_SERVICE_ACCESS", +"NETAPP_CLOUD_VOLUMES", +"DELL_POWERSCALE", +"THIRD_PARTY_SERVICE" +], +"enumDescriptions": [ +"The default value. This value should never be used.", +"Connection used for establishing [private services access](https://cloud.google.com/vpc/docs/private-services-access).", +"Connection used for connecting to NetApp Cloud Volumes.", +"Connection used for connecting to Dell PowerScale.", +"Connection used for connecting to third-party services." +], +"type": "string" +}, +"uid": { +"description": "Output only. System-generated unique identifier for the resource.", +"readOnly": true, +"type": "string" +}, +"updateTime": { +"description": "Output only. Last update time of this resource.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"vmwareEngineNetwork": { +"description": "Required. The relative resource name of Legacy VMware Engine network. Specify the name in the following form: `projects/{project}/locations/{location}/vmwareEngineNetworks/{vmware_engine_network_id}` where `{project}`, `{location}` will be same as specified in private connection resource name and `{vmware_engine_network_id}` will be in the form of `{location}`-default e.g. projects/project/locations/us-central1/vmwareEngineNetworks/us-central1-default.", +"type": "string" +}, +"vmwareEngineNetworkCanonical": { +"description": "Output only. The canonical name of the VMware Engine network in the form: `projects/{project_number}/locations/{location}/vmwareEngineNetworks/{vmware_engine_network_id}`", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"RepairManagementDnsZoneBindingRequest": { +"description": "Request message for VmwareEngine.RepairManagementDnsZoneBindings", +"id": "RepairManagementDnsZoneBindingRequest", +"properties": { +"requestId": { +"description": "Optional. A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server guarantees that a request doesn't result in creation of duplicate commitments for at least 60 minutes. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if the original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", +"type": "string" +} +}, +"type": "object" +}, +"ResetNsxCredentialsRequest": { +"description": "Request message for VmwareEngine.ResetNsxCredentials", +"id": "ResetNsxCredentialsRequest", +"properties": { +"requestId": { +"description": "Optional. A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server guarantees that a request doesn't result in creation of duplicate commitments for at least 60 minutes. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", +"type": "string" +} +}, +"type": "object" +}, +"ResetVcenterCredentialsRequest": { +"description": "Request message for VmwareEngine.ResetVcenterCredentials", +"id": "ResetVcenterCredentialsRequest", +"properties": { +"requestId": { +"description": "Optional. A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server guarantees that a request doesn't result in creation of duplicate commitments for at least 60 minutes. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", +"type": "string" +}, +"username": { +"description": "Optional. The username of the user to be to reset the credentials. The default value of this field is CloudOwner@gve.local. The provided value should be one of the following: solution-user-01@gve.local, solution-user-02@gve.local, solution-user-03@gve.local, solution-user-04@gve.local, solution-user-05@gve.local, zertoadmin@gve.local.", +"type": "string" +} +}, +"type": "object" +}, +"RevokeDnsBindPermissionRequest": { +"description": "Request message for VmwareEngine.RevokeDnsBindPermission", +"id": "RevokeDnsBindPermissionRequest", +"properties": { +"principal": { +"$ref": "Principal", +"description": "Required. The consumer provided user/service account which needs to be granted permission to bind with the intranet VPC corresponding to the consumer project." +}, +"requestId": { +"description": "Optional. A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server guarantees that a request doesn't result in creation of duplicate commitments for at least 60 minutes. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", +"type": "string" +} +}, +"type": "object" +}, +"Schedule": { +"description": "Schedule for the upgrade.", +"id": "Schedule", +"properties": { +"constraints": { +"$ref": "Constraints", +"description": "Output only. Output Only. Constraints applied to the schedule. These constraints should be applicable at the time of any rescheduling.", +"readOnly": true +}, +"editWindow": { +"$ref": "Interval", +"description": "Output only. Output Only. The schedule is open for edits during this time interval or window.", +"readOnly": true +}, +"lastEditor": { +"description": "Output only. Output Only. Indicates who most recently edited the upgrade schedule. The value is updated whenever the upgrade is rescheduled.", +"enum": [ +"EDITOR_UNSPECIFIED", +"SYSTEM", +"USER" +], +"enumDescriptions": [ +"The default value. This value should never be used.", +"The upgrade is scheduled by the System or internal service.", +"The upgrade is scheduled by the end user." +], +"readOnly": true, +"type": "string" +}, +"startTime": { +"description": "Required. The scheduled start time for the upgrade.", +"format": "google-datetime", +"type": "string" +}, +"weeklyWindows": { +"description": "Required. Weekly time windows for upgrade activities. The server performs upgrade activities during these time windows to minimize disruptions.", +"items": { +"$ref": "TimeWindow" +}, +"type": "array" +} +}, +"type": "object" +}, +"SetIamPolicyRequest": { +"description": "Request message for `SetIamPolicy` method.", +"id": "SetIamPolicyRequest", +"properties": { +"policy": { +"$ref": "Policy", +"description": "REQUIRED: The complete policy to be applied to the `resource`. The size of the policy is limited to a few 10s of KB. An empty policy is a valid policy but certain Google Cloud services (such as Projects) might reject them." +}, +"updateMask": { +"description": "OPTIONAL: A FieldMask specifying which fields of the policy to modify. Only the fields in the mask will be modified. If no mask is provided, the following default mask is used: `paths: \"bindings, etag\"`", +"format": "google-fieldmask", +"type": "string" +} +}, +"type": "object" +}, +"Status": { +"description": "The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors).", +"id": "Status", +"properties": { +"code": { +"description": "The status code, which should be an enum value of google.rpc.Code.", +"format": "int32", +"type": "integer" +}, +"details": { +"description": "A list of messages that carry the error details. There is a common set of message types for APIs to use.", +"items": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.", +"type": "string" +} +}, +"type": "object" +}, +"StretchedClusterConfig": { +"description": "Configuration of a stretched cluster.", +"id": "StretchedClusterConfig", +"properties": { +"preferredLocation": { +"description": "Required. Zone that will remain operational when connection between the two zones is lost. Specify the resource name of a zone that belongs to the region of the private cloud. For example: `projects/{project}/locations/europe-west3-a` where `{project}` can either be a project number or a project ID.", +"type": "string" +}, +"secondaryLocation": { +"description": "Required. Additional zone for a higher level of availability and load balancing. Specify the resource name of a zone that belongs to the region of the private cloud. For example: `projects/{project}/locations/europe-west3-b` where `{project}` can either be a project number or a project ID.", +"type": "string" +} +}, +"type": "object" +}, +"Subnet": { +"description": "Subnet in a private cloud. Either `management` subnets (such as vMotion) that are read-only, or `userDefined`, which can also be updated.", +"id": "Subnet", +"properties": { +"gatewayIp": { +"description": "The IP address of the gateway of this subnet. Must fall within the IP prefix defined above.", +"type": "string" +}, +"ipCidrRange": { +"description": "The IP address range of the subnet in CIDR format '10.0.0.0/24'.", +"type": "string" +}, +"name": { +"description": "Output only. Identifier. The resource name of this subnet. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: `projects/my-project/locations/us-central1-a/privateClouds/my-cloud/subnets/my-subnet`", +"readOnly": true, +"type": "string" +}, +"state": { +"description": "Output only. The state of the resource.", +"enum": [ +"STATE_UNSPECIFIED", +"ACTIVE", +"CREATING", +"UPDATING", +"DELETING", +"RECONCILING", +"FAILED" +], +"enumDescriptions": [ +"The default value. This value should never be used.", +"The subnet is ready.", +"The subnet is being created.", +"The subnet is being updated.", +"The subnet is being deleted.", +"Changes requested in the last operation are being propagated.", +"Last operation on the subnet did not succeed. Subnet's payload is reverted back to its most recent working state." +], +"readOnly": true, +"type": "string" +}, +"type": { +"description": "Output only. The type of the subnet. For example \"management\" or \"userDefined\".", +"readOnly": true, +"type": "string" +}, +"vlanId": { +"description": "Output only. VLAN ID of the VLAN on which the subnet is configured", +"format": "int32", +"readOnly": true, +"type": "integer" +} +}, +"type": "object" +}, +"TestIamPermissionsRequest": { +"description": "Request message for `TestIamPermissions` method.", +"id": "TestIamPermissionsRequest", +"properties": { +"permissions": { +"description": "The set of permissions to check for the `resource`. Permissions with wildcards (such as `*` or `storage.*`) are not allowed. For more information see [IAM Overview](https://cloud.google.com/iam/docs/overview#permissions).", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"TestIamPermissionsResponse": { +"description": "Response message for `TestIamPermissions` method.", +"id": "TestIamPermissionsResponse", +"properties": { +"permissions": { +"description": "A subset of `TestPermissionsRequest.permissions` that the caller is allowed.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ThirdPartyFileService": { +"description": "Third party file service configuration", +"id": "ThirdPartyFileService", +"properties": { +"fileShare": { +"description": "Required. Required Mount Folder name", +"type": "string" +}, +"network": { +"description": "Required. Required to identify vpc peering used for NFS access network name of NFS's vpc e.g. projects/project-id/global/networks/my-network_id", +"type": "string" +}, +"servers": { +"description": "Required. Server IP addresses of the NFS file service. NFS v3, provide a single IP address or DNS name. Multiple servers can be supported in future when NFS 4.1 protocol support is enabled.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"Thresholds": { +"description": "Thresholds define the utilization of resources triggering scale-out and scale-in operations.", +"id": "Thresholds", +"properties": { +"scaleIn": { +"description": "Required. The utilization triggering the scale-in operation in percent.", +"format": "int32", +"type": "integer" +}, +"scaleOut": { +"description": "Required. The utilization triggering the scale-out operation in percent.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"TimeOfDay": { +"description": "Represents a time of day. The date and time zone are either not significant or are specified elsewhere. An API may choose to allow leap seconds. Related types are google.type.Date and `google.protobuf.Timestamp`.", +"id": "TimeOfDay", +"properties": { +"hours": { +"description": "Hours of a day in 24 hour format. Must be greater than or equal to 0 and typically must be less than or equal to 23. An API may choose to allow the value \"24:00:00\" for scenarios like business closing time.", +"format": "int32", +"type": "integer" +}, +"minutes": { +"description": "Minutes of an hour. Must be greater than or equal to 0 and less than or equal to 59.", +"format": "int32", +"type": "integer" +}, +"nanos": { +"description": "Fractions of seconds, in nanoseconds. Must be greater than or equal to 0 and less than or equal to 999,999,999.", +"format": "int32", +"type": "integer" +}, +"seconds": { +"description": "Seconds of a minute. Must be greater than or equal to 0 and typically must be less than or equal to 59. An API may allow the value 60 if it allows leap-seconds.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"TimeWindow": { +"description": "Represents the time window to perform upgrade activities.", +"id": "TimeWindow", +"properties": { +"dayOfWeek": { +"description": "Required. Day of the week for this window.", +"enum": [ +"DAY_OF_WEEK_UNSPECIFIED", +"MONDAY", +"TUESDAY", +"WEDNESDAY", +"THURSDAY", +"FRIDAY", +"SATURDAY", +"SUNDAY" +], +"enumDescriptions": [ +"The day of the week is unspecified.", +"Monday", +"Tuesday", +"Wednesday", +"Thursday", +"Friday", +"Saturday", +"Sunday" +], +"type": "string" +}, +"duration": { +"description": "Required. The duration of the window. The max allowed duration for any window is 24 hours.", +"format": "google-duration", +"type": "string" +}, +"startTime": { +"$ref": "TimeOfDay", +"description": "Required. Time in UTC when the window starts." +} +}, +"type": "object" +}, +"UndeletePrivateCloudRequest": { +"description": "Request message for VmwareEngine.UndeletePrivateCloud", +"id": "UndeletePrivateCloudRequest", +"properties": { +"requestId": { +"description": "Optional. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", +"type": "string" +} +}, +"type": "object" +}, +"UnmountDatastoreRequest": { +"description": "Unmount Datastore Request messag", +"id": "UnmountDatastoreRequest", +"properties": { +"datastore": { +"description": "Required. The resource name of the datastore to unmount. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: `projects/my-project/locations/us-central1/datastores/my-datastore`", +"type": "string" +}, +"requestId": { +"description": "Optional. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", +"type": "string" +} +}, +"type": "object" +}, +"Upgrade": { +"description": "Describes Private cloud Upgrade.", +"id": "Upgrade", +"properties": { +"componentUpgrades": { +"description": "Output only. Output Only. The list of component upgrades.", +"items": { +"$ref": "VmwareUpgradeComponent" +}, +"readOnly": true, +"type": "array" +}, +"createTime": { +"description": "Output only. Output Only. Creation time of this resource.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"description": { +"description": "Output only. Output Only. The description of the upgrade. This is used to provide additional information about the private cloud upgrade, such as the upgrade's purpose, the changes included in the upgrade, or any other relevant information about the upgrade.", +"readOnly": true, +"type": "string" +}, +"endTime": { +"description": "Output only. Output Only. End time of the upgrade.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"estimatedDuration": { +"description": "Output only. Output Only. The estimated total duration of the upgrade. This information can be used to plan or schedule upgrades to minimize disruptions. Please note that the estimated duration is only an estimate. The actual upgrade duration may vary.", +"format": "google-duration", +"readOnly": true, +"type": "string" +}, +"etag": { +"description": "The etag for the upgrade resource. If this is provided on update, it must match the server's etag.", +"type": "string" +}, +"name": { +"description": "Output only. Identifier. The resource name of the private cloud `Upgrade`. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: `projects/my-project/locations/us-west1-a/privateClouds/my-cloud/upgrades/my-upgrade`", +"readOnly": true, +"type": "string" +}, +"schedule": { +"$ref": "Schedule", +"description": "Schedule details for the upgrade." +}, +"startVersion": { +"description": "Output only. Output Only. The start version", +"readOnly": true, +"type": "string" +}, +"state": { +"description": "Output only. The current state of the upgrade.", +"enum": [ +"STATE_UNSPECIFIED", +"SCHEDULED", +"ONGOING", +"SUCCEEDED", +"PAUSED", +"FAILED", +"CANCELLING", +"CANCELLED", +"RESCHEDULING" +], +"enumDescriptions": [ +"The default value. This value should never be used.", +"The upgrade is scheduled but not started yet.", +"The upgrade is currently in progress and has not completed yet.", +"The upgrade completed successfully.", +"The upgrade is currently paused.", +"The upgrade failed.", +"The upgrade is in process of being canceled.", +"The upgrade is canceled.", +"The upgrade is in process of being rescheduled." +], +"readOnly": true, +"type": "string" +}, +"targetVersion": { +"description": "Output only. Output Only. The target version", +"readOnly": true, +"type": "string" +}, +"type": { +"description": "Output only. Output Only. The type of upgrade.", +"enum": [ +"TYPE_UNSPECIFIED", +"VSPHERE_UPGRADE", +"VSPHERE_PATCH", +"WORKAROUND", +"FIRMWARE_UPGRADE", +"SWITCH_UPGRADE", +"OTHER", +"INFRASTRUCTURE_UPGRADE" +], +"enumDescriptions": [ +"The default value. This value should never be used.", +"Upgrade of vmware components when a major version is available. 7.0u2 -> 7.0u3.", +"Patching of vmware components when a minor version is available. 7.0u2c -> 7.0u2d.", +"Workarounds are hotfixes for vulnerabilities or issues applied to mitigate the known vulnerability or issue until a patch or update is released. The description of the upgrade will have more details.", +"Firmware upgrade for VMware product used in the private cloud.", +"Switch upgrade.", +"The upgrade type that doesn't fall into any other category.", +"Infrastructure upgrade in BM node maintenance." +], +"readOnly": true, +"type": "string" +}, +"uid": { +"description": "Output only. System-generated unique identifier for the resource.", +"readOnly": true, +"type": "string" +}, +"updateTime": { +"description": "Output only. Output Only. Last update time of this resource.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"version": { +"description": "Output only. ", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"Vcenter": { +"description": "Details about a vCenter Server management appliance.", +"id": "Vcenter", +"properties": { +"fqdn": { +"description": "Fully qualified domain name of the appliance.", +"type": "string" +}, +"internalIp": { +"description": "Internal IP address of the appliance.", +"type": "string" +}, +"state": { +"description": "Output only. The state of the appliance.", +"enum": [ +"STATE_UNSPECIFIED", +"ACTIVE", +"CREATING" +], +"enumDescriptions": [ +"Unspecified appliance state. This is the default value.", +"The appliance is operational and can be used.", +"The appliance is being deployed." +], +"readOnly": true, +"type": "string" +}, +"version": { +"description": "Version of the appliance.", +"type": "string" +} +}, +"type": "object" +}, +"VmwareEngineNetwork": { +"description": "VMware Engine network resource that provides connectivity for VMware Engine private clouds.", +"id": "VmwareEngineNetwork", +"properties": { +"createTime": { +"description": "Output only. Creation time of this resource.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"description": { +"description": "User-provided description for this VMware Engine network.", +"type": "string" +}, +"etag": { +"description": "Checksum that may be sent on update and delete requests to ensure that the user-provided value is up to date before the server processes a request. The server computes checksums based on the value of other fields in the request.", +"type": "string" +}, +"name": { +"description": "Output only. Identifier. The resource name of the VMware Engine network. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: `projects/my-project/locations/global/vmwareEngineNetworks/my-network`", +"readOnly": true, +"type": "string" +}, +"state": { +"description": "Output only. State of the VMware Engine network.", +"enum": [ +"STATE_UNSPECIFIED", +"CREATING", +"ACTIVE", +"UPDATING", +"DELETING" +], +"enumDescriptions": [ +"The default value. This value is used if the state is omitted.", +"The VMware Engine network is being created.", +"The VMware Engine network is ready.", +"The VMware Engine network is being updated.", +"The VMware Engine network is being deleted." +], +"readOnly": true, +"type": "string" +}, +"type": { +"description": "Required. VMware Engine network type.", +"enum": [ +"TYPE_UNSPECIFIED", +"LEGACY", +"STANDARD" +], +"enumDescriptions": [ +"The default value. This value should never be used.", +"Network type used by private clouds created in projects without a network of type `STANDARD`. This network type is no longer used for new VMware Engine private cloud deployments.", +"Standard network type used for private cloud connectivity." +], +"type": "string" +}, +"uid": { +"description": "Output only. System-generated unique identifier for the resource.", +"readOnly": true, +"type": "string" +}, +"updateTime": { +"description": "Output only. Last update time of this resource.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"vpcNetworks": { +"description": "Output only. VMware Engine service VPC networks that provide connectivity from a private cloud to customer projects, the internet, and other Google Cloud services.", +"items": { +"$ref": "VpcNetwork" +}, +"readOnly": true, +"type": "array" +} +}, +"type": "object" +}, +"VmwareUpgradeComponent": { +"description": "Per component upgrade resource", +"id": "VmwareUpgradeComponent", +"properties": { +"componentType": { +"description": "Output only. Type of component", +"enum": [ +"VMWARE_COMPONENT_TYPE_UNSPECIFIED", +"VCENTER", +"ESXI", +"NSXT_UC", +"NSXT_EDGE", +"NSXT_MGR", +"HCX", +"VSAN", +"DVS", +"NAMESERVER_VM", +"KMS_VM", +"WITNESS_VM", +"NSXT", +"CLUSTER", +"VM_TOOLS" +], +"enumDescriptions": [ +"The default value. This value should never be used.", +"vcenter", +"esxi nodes + transport nodes", +"nsxt upgrade coordinator", +"nsxt edges cluster", +"nsxt managers/management plane", +"hcx", +"VSAN cluster", +"DVS switch", +"Nameserver VMs", +"KMS VM used for vsan encryption", +"witness VM in case of stretch PC", +"nsxt", +"Cluster is used in case of BM", +"VMware Tools." +], +"readOnly": true, +"type": "string" +}, +"state": { +"description": "Output only. Component's upgrade state.", +"enum": [ +"STATE_UNSPECIFIED", +"RUNNING", +"PAUSED", +"SUCCEEDED", +"FAILED", +"NOT_STARTED", +"NOT_APPLICABLE" +], +"enumDescriptions": [ +"The default value. This value should never be used.", +"Component's upgrade is in progress", +"The component's upgrade is paused. Will be resumed when upgrade job is resumed", +"The component's upgrade is successfully completed", +"The component's upgrade has failed. This will move to resume if upgrade is resumed or stay as is", +"Component's upgrade has not started yet", +"Component's upgrade is not applicable in this upgrade. It will be skipped." +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"VpcNetwork": { +"description": "Represents a VMware Engine VPC network that is managed by a VMware Engine network resource.", +"id": "VpcNetwork", +"properties": { +"network": { +"description": "Output only. The relative resource name of the service VPC network this VMware Engine network is attached to. For example: `projects/123123/global/networks/my-network`", +"readOnly": true, +"type": "string" +}, +"type": { +"description": "Output only. Type of VPC network (INTRANET, INTERNET, or GOOGLE_CLOUD)", +"enum": [ +"TYPE_UNSPECIFIED", +"INTRANET", +"INTERNET", +"GOOGLE_CLOUD" +], +"enumDescriptions": [ +"The default value. This value should never be used.", +"VPC network that will be peered with a consumer VPC network or the intranet VPC of another VMware Engine network. Access a private cloud through Compute Engine VMs on a peered VPC network or an on-premises resource connected to a peered consumer VPC network.", +"VPC network used for internet access to and from a private cloud.", +"VPC network used for access to Google Cloud services like Cloud Storage." +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"WeeklyTimeInterval": { +"description": "Represents a time interval, spanning across days of the week. Until local timezones are supported, this interval is in UTC.", +"id": "WeeklyTimeInterval", +"properties": { +"endDay": { +"description": "Output only. The day on which the interval ends. Can be same as start day.", +"enum": [ +"DAY_OF_WEEK_UNSPECIFIED", +"MONDAY", +"TUESDAY", +"WEDNESDAY", +"THURSDAY", +"FRIDAY", +"SATURDAY", +"SUNDAY" +], +"enumDescriptions": [ +"The day of the week is unspecified.", +"Monday", +"Tuesday", +"Wednesday", +"Thursday", +"Friday", +"Saturday", +"Sunday" +], +"readOnly": true, +"type": "string" +}, +"endTime": { +"$ref": "TimeOfDay", +"description": "Output only. The time on the end day at which the interval ends.", +"readOnly": true +}, +"startDay": { +"description": "Output only. The day on which the interval starts.", +"enum": [ +"DAY_OF_WEEK_UNSPECIFIED", +"MONDAY", +"TUESDAY", +"WEDNESDAY", +"THURSDAY", +"FRIDAY", +"SATURDAY", +"SUNDAY" +], +"enumDescriptions": [ +"The day of the week is unspecified.", +"Monday", +"Tuesday", +"Wednesday", +"Thursday", +"Friday", +"Saturday", +"Sunday" +], +"readOnly": true, +"type": "string" +}, +"startTime": { +"$ref": "TimeOfDay", +"description": "Output only. The time on the start day at which the interval starts.", +"readOnly": true +} +}, +"type": "object" +} +}, +"servicePath": "", +"title": "VMware Engine API", +"version": "v1", +"version_module": true +} \ No newline at end of file diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/vpcaccess.v1beta1.json b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/vpcaccess.v1beta1.json new file mode 100644 index 0000000000000000000000000000000000000000..db816a82fd0c778e231ef25f937f6a7163172e4d --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/vpcaccess.v1beta1.json @@ -0,0 +1,755 @@ +{ +"auth": { +"oauth2": { +"scopes": { +"https://www.googleapis.com/auth/cloud-platform": { +"description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." +} +} +} +}, +"basePath": "", +"baseUrl": "https://vpcaccess.googleapis.com/", +"batchPath": "batch", +"canonicalName": "Serverless VPC Access", +"description": "API for managing VPC access connectors.", +"discoveryVersion": "v1", +"documentationLink": "https://cloud.google.com/vpc/docs/configure-serverless-vpc-access", +"fullyEncodeReservedExpansion": true, +"icons": { +"x16": "http://www.google.com/images/icons/product/search-16.gif", +"x32": "http://www.google.com/images/icons/product/search-32.gif" +}, +"id": "vpcaccess:v1beta1", +"kind": "discovery#restDescription", +"mtlsRootUrl": "https://vpcaccess.mtls.googleapis.com/", +"name": "vpcaccess", +"ownerDomain": "google.com", +"ownerName": "Google", +"parameters": { +"$.xgafv": { +"description": "V1 error format.", +"enum": [ +"1", +"2" +], +"enumDescriptions": [ +"v1 error format", +"v2 error format" +], +"location": "query", +"type": "string" +}, +"access_token": { +"description": "OAuth access token.", +"location": "query", +"type": "string" +}, +"alt": { +"default": "json", +"description": "Data format for response.", +"enum": [ +"json", +"media", +"proto" +], +"enumDescriptions": [ +"Responses with Content-Type of application/json", +"Media download with context-dependent Content-Type", +"Responses with Content-Type of application/x-protobuf" +], +"location": "query", +"type": "string" +}, +"callback": { +"description": "JSONP", +"location": "query", +"type": "string" +}, +"fields": { +"description": "Selector specifying which fields to include in a partial response.", +"location": "query", +"type": "string" +}, +"key": { +"description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", +"location": "query", +"type": "string" +}, +"oauth_token": { +"description": "OAuth 2.0 token for the current user.", +"location": "query", +"type": "string" +}, +"prettyPrint": { +"default": "true", +"description": "Returns response with indentations and line breaks.", +"location": "query", +"type": "boolean" +}, +"quotaUser": { +"description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.", +"location": "query", +"type": "string" +}, +"uploadType": { +"description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", +"location": "query", +"type": "string" +}, +"upload_protocol": { +"description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", +"location": "query", +"type": "string" +} +}, +"protocol": "rest", +"resources": { +"projects": { +"resources": { +"locations": { +"methods": { +"list": { +"description": "Lists information about the supported locations for this service. This method can be called in two ways: * **List all public locations:** Use the path `GET /v1/locations`. * **List project-visible locations:** Use the path `GET /v1/projects/{project_id}/locations`. This may include public locations as well as private or other locations specifically visible to the project.", +"flatPath": "v1beta1/projects/{projectsId}/locations", +"httpMethod": "GET", +"id": "vpcaccess.projects.locations.list", +"parameterOrder": [ +"name" +], +"parameters": { +"extraLocationTypes": { +"description": "Optional. Do not use this field. It is unsupported and is ignored unless explicitly documented otherwise. This is primarily for internal usage.", +"location": "query", +"repeated": true, +"type": "string" +}, +"filter": { +"description": "A filter to narrow down results to a preferred subset. The filtering language accepts strings like `\"displayName=tokyo\"`, and is documented in more detail in [AIP-160](https://google.aip.dev/160).", +"location": "query", +"type": "string" +}, +"name": { +"description": "The resource that owns the locations collection, if applicable.", +"location": "path", +"pattern": "^projects/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The maximum number of results to return. If not set, the service selects a default.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A page token received from the `next_page_token` field in the response. Send that page token to receive the subsequent page.", +"location": "query", +"type": "string" +} +}, +"path": "v1beta1/{+name}/locations", +"response": { +"$ref": "ListLocationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"connectors": { +"methods": { +"create": { +"description": "Creates a Serverless VPC Access connector, returns an operation.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/connectors", +"httpMethod": "POST", +"id": "vpcaccess.projects.locations.connectors.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"connectorId": { +"description": "Required. The ID to use for this connector.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The project ID and location in which the configuration should be created, specified in the format `projects/*/locations/*`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+parent}/connectors", +"request": { +"$ref": "Connector" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a Serverless VPC Access connector. Returns NOT_FOUND if the resource does not exist.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/connectors/{connectorsId}", +"httpMethod": "DELETE", +"id": "vpcaccess.projects.locations.connectors.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of a Serverless VPC Access connector to delete.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/connectors/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets a Serverless VPC Access connector. Returns NOT_FOUND if the resource does not exist.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/connectors/{connectorsId}", +"httpMethod": "GET", +"id": "vpcaccess.projects.locations.connectors.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of a Serverless VPC Access connector to get.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/connectors/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+name}", +"response": { +"$ref": "Connector" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists Serverless VPC Access connectors.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/connectors", +"httpMethod": "GET", +"id": "vpcaccess.projects.locations.connectors.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "Maximum number of functions to return per call.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Continuation token.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The project and location from which the routes should be listed.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+parent}/connectors", +"response": { +"$ref": "ListConnectorsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates a Serverless VPC Access connector, returns an operation.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/connectors/{connectorsId}", +"httpMethod": "PATCH", +"id": "vpcaccess.projects.locations.connectors.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The resource name in the format `projects/*/locations/*/connectors/*`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/connectors/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "The fields to update on the entry group. If absent or empty, all modifiable fields are updated.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1beta1/{+name}", +"request": { +"$ref": "Connector" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"operations": { +"methods": { +"get": { +"description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}", +"httpMethod": "GET", +"id": "vpcaccess.projects.locations.operations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/operations", +"httpMethod": "GET", +"id": "vpcaccess.projects.locations.operations.list", +"parameterOrder": [ +"name" +], +"parameters": { +"filter": { +"description": "The standard list filter.", +"location": "query", +"type": "string" +}, +"name": { +"description": "The name of the operation's parent resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The standard list page size.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The standard list page token.", +"location": "query", +"type": "string" +}, +"returnPartialSuccess": { +"description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `\"projects/example/locations/-\"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1beta1/{+name}/operations", +"response": { +"$ref": "ListOperationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +} +} +} +}, +"revision": "20260218", +"rootUrl": "https://vpcaccess.googleapis.com/", +"schemas": { +"Connector": { +"description": "Definition of a Serverless VPC Access connector.", +"id": "Connector", +"properties": { +"connectedProjects": { +"description": "Output only. List of projects using the connector.", +"items": { +"type": "string" +}, +"readOnly": true, +"type": "array" +}, +"createTime": { +"description": "Output only. The creation time of the connector.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"ipCidrRange": { +"description": "Optional. The range of internal addresses that follows RFC 4632 notation. Example: `10.132.0.0/28`.", +"type": "string" +}, +"lastRestartTime": { +"description": "Output only. The last restart time of the connector.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"machineType": { +"description": "Machine type of VM Instance underlying connector. Default is e2-micro", +"type": "string" +}, +"maxInstances": { +"description": "Maximum value of instances in autoscaling group underlying the connector.", +"format": "int32", +"type": "integer" +}, +"maxThroughput": { +"deprecated": true, +"description": "Maximum throughput of the connector in Mbps. Refers to the expected throughput when using an `e2-micro` machine type. Value must be a multiple of 100 from 300 through 1000. Must be higher than the value specified by --min-throughput. If both max-throughput and max-instances are provided, max-instances takes precedence over max-throughput. The use of `max-throughput` is discouraged in favor of `max-instances`.", +"format": "int32", +"type": "integer" +}, +"minInstances": { +"description": "Minimum value of instances in autoscaling group underlying the connector.", +"format": "int32", +"type": "integer" +}, +"minThroughput": { +"deprecated": true, +"description": "Minimum throughput of the connector in Mbps. Refers to the expected throughput when using an `e2-micro` machine type. Value must be a multiple of 100 from 200 through 900. Must be lower than the value specified by --max-throughput. If both min-throughput and min-instances are provided, min-instances takes precedence over min-throughput. The use of `min-throughput` is discouraged in favor of `min-instances`.", +"format": "int32", +"type": "integer" +}, +"name": { +"description": "The resource name in the format `projects/*/locations/*/connectors/*`.", +"type": "string" +}, +"network": { +"description": "Optional. Name of a VPC network.", +"type": "string" +}, +"state": { +"description": "Output only. State of the VPC access connector.", +"enum": [ +"STATE_UNSPECIFIED", +"READY", +"CREATING", +"DELETING", +"ERROR", +"UPDATING" +], +"enumDescriptions": [ +"Invalid state.", +"Connector is deployed and ready to receive traffic.", +"An Insert operation is in progress. Transient condition.", +"A Delete operation is in progress. Transient condition.", +"Connector is in a bad state, manual deletion recommended.", +"The connector is being updated." +], +"readOnly": true, +"type": "string" +}, +"subnet": { +"$ref": "Subnet", +"description": "Optional. The subnet in which to house the VPC Access Connector." +} +}, +"type": "object" +}, +"ListConnectorsResponse": { +"description": "Response for listing Serverless VPC Access connectors.", +"id": "ListConnectorsResponse", +"properties": { +"connectors": { +"description": "List of Serverless VPC Access connectors.", +"items": { +"$ref": "Connector" +}, +"type": "array" +}, +"nextPageToken": { +"description": "Continuation token.", +"type": "string" +} +}, +"type": "object" +}, +"ListLocationsResponse": { +"description": "The response message for Locations.ListLocations.", +"id": "ListLocationsResponse", +"properties": { +"locations": { +"description": "A list of locations that matches the specified filter in the request.", +"items": { +"$ref": "Location" +}, +"type": "array" +}, +"nextPageToken": { +"description": "The standard List next-page token.", +"type": "string" +} +}, +"type": "object" +}, +"ListOperationsResponse": { +"description": "The response message for Operations.ListOperations.", +"id": "ListOperationsResponse", +"properties": { +"nextPageToken": { +"description": "The standard List next-page token.", +"type": "string" +}, +"operations": { +"description": "A list of operations that matches the specified filter in the request.", +"items": { +"$ref": "Operation" +}, +"type": "array" +}, +"unreachable": { +"description": "Unordered list. Unreachable resources. Populated when the request sets `ListOperationsRequest.return_partial_success` and reads across collections. For example, when attempting to list all resources across all supported locations.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"Location": { +"description": "A resource that represents a Google Cloud location.", +"id": "Location", +"properties": { +"displayName": { +"description": "The friendly name for this location, typically a nearby city name. For example, \"Tokyo\".", +"type": "string" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Cross-service attributes for the location. For example {\"cloud.googleapis.com/region\": \"us-east1\"}", +"type": "object" +}, +"locationId": { +"description": "The canonical id for this location. For example: `\"us-east1\"`.", +"type": "string" +}, +"metadata": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "Service-specific metadata. For example the available capacity at the given location.", +"type": "object" +}, +"name": { +"description": "Resource name for the location, which may vary between implementations. For example: `\"projects/example-project/locations/us-east1\"`", +"type": "string" +} +}, +"type": "object" +}, +"Operation": { +"description": "This resource represents a long-running operation that is the result of a network API call.", +"id": "Operation", +"properties": { +"done": { +"description": "If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.", +"type": "boolean" +}, +"error": { +"$ref": "Status", +"description": "The error result of the operation in case of failure or cancellation." +}, +"metadata": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.", +"type": "object" +}, +"name": { +"description": "The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.", +"type": "string" +}, +"response": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "The normal, successful response of the operation. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.", +"type": "object" +} +}, +"type": "object" +}, +"OperationMetadata": { +"description": "Metadata for google.longrunning.Operation.", +"id": "OperationMetadata", +"properties": { +"createTime": { +"description": "Output only. Time when the operation was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"endTime": { +"description": "Output only. Time when the operation completed.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"method": { +"description": "Output only. Method that initiated the operation e.g. google.cloud.vpcaccess.v1.Connectors.CreateConnector.", +"readOnly": true, +"type": "string" +}, +"target": { +"description": "Output only. Name of the resource that this operation is acting on e.g. projects/my-project/locations/us-central1/connectors/v1.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"OperationMetadataV1Alpha1": { +"description": "Metadata for google.longrunning.Operation.", +"id": "OperationMetadataV1Alpha1", +"properties": { +"endTime": { +"description": "Output only. Time when the operation completed.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"insertTime": { +"description": "Output only. Time when the operation was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"method": { +"description": "Output only. Method that initiated the operation e.g. google.cloud.vpcaccess.v1alpha1.Connectors.CreateConnector.", +"readOnly": true, +"type": "string" +}, +"target": { +"description": "Output only. Name of the resource that this operation is acting on e.g. projects/my-project/locations/us-central1/connectors/v1.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"OperationMetadataV1Beta1": { +"description": "Metadata for google.longrunning.Operation.", +"id": "OperationMetadataV1Beta1", +"properties": { +"createTime": { +"description": "Output only. Time when the operation was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"endTime": { +"description": "Output only. Time when the operation completed.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"method": { +"description": "Output only. Method that initiated the operation e.g. google.cloud.vpcaccess.v1beta1.Connectors.CreateConnector.", +"readOnly": true, +"type": "string" +}, +"target": { +"description": "Output only. Name of the resource that this operation is acting on e.g. projects/my-project/locations/us-central1/connectors/v1.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"Status": { +"description": "The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors).", +"id": "Status", +"properties": { +"code": { +"description": "The status code, which should be an enum value of google.rpc.Code.", +"format": "int32", +"type": "integer" +}, +"details": { +"description": "A list of messages that carry the error details. There is a common set of message types for APIs to use.", +"items": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.", +"type": "string" +} +}, +"type": "object" +}, +"Subnet": { +"description": "The subnet in which to house the connector", +"id": "Subnet", +"properties": { +"name": { +"description": "Optional. Subnet name (relative, not fully qualified). E.g. if the full subnet selfLink is https://compute.googleapis.com/compute/v1/projects/{project}/regions/{region}/subnetworks/{subnetName} the correct input for this field would be {subnetName}", +"type": "string" +}, +"projectId": { +"description": "Optional. Project in which the subnet exists. If not set, this project is assumed to be the project for which the connector create request was issued.", +"type": "string" +} +}, +"type": "object" +} +}, +"servicePath": "", +"title": "Serverless VPC Access API", +"version": "v1beta1", +"version_module": true +} \ No newline at end of file diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/walletobjects.v1.json b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/walletobjects.v1.json new file mode 100644 index 0000000000000000000000000000000000000000..c278cd3ae88b58dab148b7acf512a8767d2c564c --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/walletobjects.v1.json @@ -0,0 +1,9852 @@ +{ +"auth": { +"oauth2": { +"scopes": { +"https://www.googleapis.com/auth/wallet_object.issuer": { +"description": "Private Service: https://www.googleapis.com/auth/wallet_object.issuer" +} +} +} +}, +"basePath": "", +"baseUrl": "https://walletobjects.googleapis.com/", +"batchPath": "batch", +"canonicalName": "Walletobjects", +"description": "API for issuers to save and manage Google Wallet Objects.", +"discoveryVersion": "v1", +"documentationLink": "https://developers.google.com/pay/passes", +"fullyEncodeReservedExpansion": true, +"icons": { +"x16": "http://www.google.com/images/icons/product/search-16.gif", +"x32": "http://www.google.com/images/icons/product/search-32.gif" +}, +"id": "walletobjects:v1", +"kind": "discovery#restDescription", +"mtlsRootUrl": "https://walletobjects.mtls.googleapis.com/", +"name": "walletobjects", +"ownerDomain": "google.com", +"ownerName": "Google", +"parameters": { +"$.xgafv": { +"description": "V1 error format.", +"enum": [ +"1", +"2" +], +"enumDescriptions": [ +"v1 error format", +"v2 error format" +], +"location": "query", +"type": "string" +}, +"access_token": { +"description": "OAuth access token.", +"location": "query", +"type": "string" +}, +"alt": { +"default": "json", +"description": "Data format for response.", +"enum": [ +"json", +"media", +"proto" +], +"enumDescriptions": [ +"Responses with Content-Type of application/json", +"Media download with context-dependent Content-Type", +"Responses with Content-Type of application/x-protobuf" +], +"location": "query", +"type": "string" +}, +"callback": { +"description": "JSONP", +"location": "query", +"type": "string" +}, +"fields": { +"description": "Selector specifying which fields to include in a partial response.", +"location": "query", +"type": "string" +}, +"key": { +"description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", +"location": "query", +"type": "string" +}, +"oauth_token": { +"description": "OAuth 2.0 token for the current user.", +"location": "query", +"type": "string" +}, +"prettyPrint": { +"default": "true", +"description": "Returns response with indentations and line breaks.", +"location": "query", +"type": "boolean" +}, +"quotaUser": { +"description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.", +"location": "query", +"type": "string" +}, +"uploadType": { +"description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", +"location": "query", +"type": "string" +}, +"upload_protocol": { +"description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", +"location": "query", +"type": "string" +} +}, +"protocol": "rest", +"resources": { +"eventticketclass": { +"methods": { +"addmessage": { +"description": "Adds a message to the event ticket class referenced by the given class ID.", +"flatPath": "walletobjects/v1/eventTicketClass/{resourceId}/addMessage", +"httpMethod": "POST", +"id": "walletobjects.eventticketclass.addmessage", +"parameterOrder": [ +"resourceId" +], +"parameters": { +"resourceId": { +"description": "The unique identifier for a class. This ID must be unique across all classes from an issuer. This value should follow the format issuer ID. identifier where the former is issued by Google and latter is chosen by you. Your unique identifier should only include alphanumeric characters, '.', '_', or '-'.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "walletobjects/v1/eventTicketClass/{resourceId}/addMessage", +"request": { +"$ref": "AddMessageRequest" +}, +"response": { +"$ref": "EventTicketClassAddMessageResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/wallet_object.issuer" +] +}, +"get": { +"description": "Returns the event ticket class with the given class ID.", +"flatPath": "walletobjects/v1/eventTicketClass/{resourceId}", +"httpMethod": "GET", +"id": "walletobjects.eventticketclass.get", +"parameterOrder": [ +"resourceId" +], +"parameters": { +"resourceId": { +"description": "The unique identifier for a class. This ID must be unique across all classes from an issuer. This value should follow the format issuer ID. identifier where the former is issued by Google and latter is chosen by you. Your unique identifier should only include alphanumeric characters, '.', '_', or '-'.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "walletobjects/v1/eventTicketClass/{resourceId}", +"response": { +"$ref": "EventTicketClass" +}, +"scopes": [ +"https://www.googleapis.com/auth/wallet_object.issuer" +] +}, +"insert": { +"description": "Inserts an event ticket class with the given ID and properties.", +"flatPath": "walletobjects/v1/eventTicketClass", +"httpMethod": "POST", +"id": "walletobjects.eventticketclass.insert", +"parameterOrder": [], +"parameters": {}, +"path": "walletobjects/v1/eventTicketClass", +"request": { +"$ref": "EventTicketClass" +}, +"response": { +"$ref": "EventTicketClass" +}, +"scopes": [ +"https://www.googleapis.com/auth/wallet_object.issuer" +] +}, +"list": { +"description": "Returns a list of all event ticket classes for a given issuer ID.", +"flatPath": "walletobjects/v1/eventTicketClass", +"httpMethod": "GET", +"id": "walletobjects.eventticketclass.list", +"parameterOrder": [], +"parameters": { +"issuerId": { +"description": "The ID of the issuer authorized to list classes.", +"format": "int64", +"location": "query", +"type": "string" +}, +"maxResults": { +"description": "Identifies the max number of results returned by a list. All results are returned if `maxResults` isn't defined.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"token": { +"description": "Used to get the next set of results if `maxResults` is specified, but more than `maxResults` classes are available in a list. For example, if you have a list of 200 classes and you call list with `maxResults` set to 20, list will return the first 20 classes and a token. Call list again with `maxResults` set to 20 and the token to get the next 20 classes.", +"location": "query", +"type": "string" +} +}, +"path": "walletobjects/v1/eventTicketClass", +"response": { +"$ref": "EventTicketClassListResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/wallet_object.issuer" +] +}, +"patch": { +"description": "Updates the event ticket class referenced by the given class ID. This method supports patch semantics.", +"flatPath": "walletobjects/v1/eventTicketClass/{resourceId}", +"httpMethod": "PATCH", +"id": "walletobjects.eventticketclass.patch", +"parameterOrder": [ +"resourceId" +], +"parameters": { +"resourceId": { +"description": "The unique identifier for a class. This ID must be unique across all classes from an issuer. This value should follow the format issuer ID. identifier where the former is issued by Google and latter is chosen by you. Your unique identifier should only include alphanumeric characters, '.', '_', or '-'.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "walletobjects/v1/eventTicketClass/{resourceId}", +"request": { +"$ref": "EventTicketClass" +}, +"response": { +"$ref": "EventTicketClass" +}, +"scopes": [ +"https://www.googleapis.com/auth/wallet_object.issuer" +] +}, +"update": { +"description": "Updates the event ticket class referenced by the given class ID.", +"flatPath": "walletobjects/v1/eventTicketClass/{resourceId}", +"httpMethod": "PUT", +"id": "walletobjects.eventticketclass.update", +"parameterOrder": [ +"resourceId" +], +"parameters": { +"resourceId": { +"description": "The unique identifier for a class. This ID must be unique across all classes from an issuer. This value should follow the format issuer ID. identifier where the former is issued by Google and latter is chosen by you. Your unique identifier should only include alphanumeric characters, '.', '_', or '-'.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "walletobjects/v1/eventTicketClass/{resourceId}", +"request": { +"$ref": "EventTicketClass" +}, +"response": { +"$ref": "EventTicketClass" +}, +"scopes": [ +"https://www.googleapis.com/auth/wallet_object.issuer" +] +} +} +}, +"eventticketobject": { +"methods": { +"addmessage": { +"description": "Adds a message to the event ticket object referenced by the given object ID.", +"flatPath": "walletobjects/v1/eventTicketObject/{resourceId}/addMessage", +"httpMethod": "POST", +"id": "walletobjects.eventticketobject.addmessage", +"parameterOrder": [ +"resourceId" +], +"parameters": { +"resourceId": { +"description": "The unique identifier for an object. This ID must be unique across all objects from an issuer. This value should follow the format issuer ID. identifier where the former is issued by Google and latter is chosen by you. Your unique identifier should only include alphanumeric characters, '.', '_', or '-'.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "walletobjects/v1/eventTicketObject/{resourceId}/addMessage", +"request": { +"$ref": "AddMessageRequest" +}, +"response": { +"$ref": "EventTicketObjectAddMessageResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/wallet_object.issuer" +] +}, +"get": { +"description": "Returns the event ticket object with the given object ID.", +"flatPath": "walletobjects/v1/eventTicketObject/{resourceId}", +"httpMethod": "GET", +"id": "walletobjects.eventticketobject.get", +"parameterOrder": [ +"resourceId" +], +"parameters": { +"resourceId": { +"description": "The unique identifier for an object. This ID must be unique across all objects from an issuer. This value should follow the format issuer ID. identifier where the former is issued by Google and latter is chosen by you. Your unique identifier should only include alphanumeric characters, '.', '_', or '-'.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "walletobjects/v1/eventTicketObject/{resourceId}", +"response": { +"$ref": "EventTicketObject" +}, +"scopes": [ +"https://www.googleapis.com/auth/wallet_object.issuer" +] +}, +"insert": { +"description": "Inserts an event ticket object with the given ID and properties.", +"flatPath": "walletobjects/v1/eventTicketObject", +"httpMethod": "POST", +"id": "walletobjects.eventticketobject.insert", +"parameterOrder": [], +"parameters": {}, +"path": "walletobjects/v1/eventTicketObject", +"request": { +"$ref": "EventTicketObject" +}, +"response": { +"$ref": "EventTicketObject" +}, +"scopes": [ +"https://www.googleapis.com/auth/wallet_object.issuer" +] +}, +"list": { +"description": "Returns a list of all event ticket objects for a given issuer ID.", +"flatPath": "walletobjects/v1/eventTicketObject", +"httpMethod": "GET", +"id": "walletobjects.eventticketobject.list", +"parameterOrder": [], +"parameters": { +"classId": { +"description": "The ID of the class whose objects will be listed.", +"location": "query", +"type": "string" +}, +"maxResults": { +"description": "Identifies the max number of results returned by a list. All results are returned if `maxResults` isn't defined.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"token": { +"description": "Used to get the next set of results if `maxResults` is specified, but more than `maxResults` objects are available in a list. For example, if you have a list of 200 objects and you call list with `maxResults` set to 20, list will return the first 20 objects and a token. Call list again with `maxResults` set to 20 and the token to get the next 20 objects.", +"location": "query", +"type": "string" +} +}, +"path": "walletobjects/v1/eventTicketObject", +"response": { +"$ref": "EventTicketObjectListResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/wallet_object.issuer" +] +}, +"modifylinkedofferobjects": { +"deprecated": true, +"description": "Deprecated: Use Auto Linked Passes instead. Modifies linked offer objects for the event ticket object with the given ID.", +"flatPath": "walletobjects/v1/eventTicketObject/{resourceId}/modifyLinkedOfferObjects", +"httpMethod": "POST", +"id": "walletobjects.eventticketobject.modifylinkedofferobjects", +"parameterOrder": [ +"resourceId" +], +"parameters": { +"resourceId": { +"description": "The unique identifier for an object. This ID must be unique across all objects from an issuer. This value should follow the format issuer ID. identifier where the former is issued by Google and latter is chosen by you. Your unique identifier should only include alphanumeric characters, '.', '_', or '-'.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "walletobjects/v1/eventTicketObject/{resourceId}/modifyLinkedOfferObjects", +"request": { +"$ref": "ModifyLinkedOfferObjectsRequest" +}, +"response": { +"$ref": "EventTicketObject" +}, +"scopes": [ +"https://www.googleapis.com/auth/wallet_object.issuer" +] +}, +"patch": { +"description": "Updates the event ticket object referenced by the given object ID. This method supports patch semantics.", +"flatPath": "walletobjects/v1/eventTicketObject/{resourceId}", +"httpMethod": "PATCH", +"id": "walletobjects.eventticketobject.patch", +"parameterOrder": [ +"resourceId" +], +"parameters": { +"resourceId": { +"description": "The unique identifier for an object. This ID must be unique across all objects from an issuer. This value should follow the format issuer ID. identifier where the former is issued by Google and latter is chosen by you. Your unique identifier should only include alphanumeric characters, '.', '_', or '-'.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "walletobjects/v1/eventTicketObject/{resourceId}", +"request": { +"$ref": "EventTicketObject" +}, +"response": { +"$ref": "EventTicketObject" +}, +"scopes": [ +"https://www.googleapis.com/auth/wallet_object.issuer" +] +}, +"update": { +"description": "Updates the event ticket object referenced by the given object ID.", +"flatPath": "walletobjects/v1/eventTicketObject/{resourceId}", +"httpMethod": "PUT", +"id": "walletobjects.eventticketobject.update", +"parameterOrder": [ +"resourceId" +], +"parameters": { +"resourceId": { +"description": "The unique identifier for an object. This ID must be unique across all objects from an issuer. This value should follow the format issuer ID. identifier where the former is issued by Google and latter is chosen by you. Your unique identifier should only include alphanumeric characters, '.', '_', or '-'.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "walletobjects/v1/eventTicketObject/{resourceId}", +"request": { +"$ref": "EventTicketObject" +}, +"response": { +"$ref": "EventTicketObject" +}, +"scopes": [ +"https://www.googleapis.com/auth/wallet_object.issuer" +] +} +} +}, +"flightclass": { +"methods": { +"addmessage": { +"description": "Adds a message to the flight class referenced by the given class ID.", +"flatPath": "walletobjects/v1/flightClass/{resourceId}/addMessage", +"httpMethod": "POST", +"id": "walletobjects.flightclass.addmessage", +"parameterOrder": [ +"resourceId" +], +"parameters": { +"resourceId": { +"description": "The unique identifier for a class. This ID must be unique across all classes from an issuer. This value should follow the format issuer ID. identifier where the former is issued by Google and latter is chosen by you. Your unique identifier should only include alphanumeric characters, '.', '_', or '-'.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "walletobjects/v1/flightClass/{resourceId}/addMessage", +"request": { +"$ref": "AddMessageRequest" +}, +"response": { +"$ref": "FlightClassAddMessageResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/wallet_object.issuer" +] +}, +"get": { +"description": "Returns the flight class with the given class ID.", +"flatPath": "walletobjects/v1/flightClass/{resourceId}", +"httpMethod": "GET", +"id": "walletobjects.flightclass.get", +"parameterOrder": [ +"resourceId" +], +"parameters": { +"resourceId": { +"description": "The unique identifier for a class. This ID must be unique across all classes from an issuer. This value should follow the format issuer ID. identifier where the former is issued by Google and latter is chosen by you. Your unique identifier should only include alphanumeric characters, '.', '_', or '-'.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "walletobjects/v1/flightClass/{resourceId}", +"response": { +"$ref": "FlightClass" +}, +"scopes": [ +"https://www.googleapis.com/auth/wallet_object.issuer" +] +}, +"insert": { +"description": "Inserts an flight class with the given ID and properties.", +"flatPath": "walletobjects/v1/flightClass", +"httpMethod": "POST", +"id": "walletobjects.flightclass.insert", +"parameterOrder": [], +"parameters": {}, +"path": "walletobjects/v1/flightClass", +"request": { +"$ref": "FlightClass" +}, +"response": { +"$ref": "FlightClass" +}, +"scopes": [ +"https://www.googleapis.com/auth/wallet_object.issuer" +] +}, +"list": { +"description": "Returns a list of all flight classes for a given issuer ID.", +"flatPath": "walletobjects/v1/flightClass", +"httpMethod": "GET", +"id": "walletobjects.flightclass.list", +"parameterOrder": [], +"parameters": { +"issuerId": { +"description": "The ID of the issuer authorized to list classes.", +"format": "int64", +"location": "query", +"type": "string" +}, +"maxResults": { +"description": "Identifies the max number of results returned by a list. All results are returned if `maxResults` isn't defined.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"token": { +"description": "Used to get the next set of results if `maxResults` is specified, but more than `maxResults` classes are available in a list. For example, if you have a list of 200 classes and you call list with `maxResults` set to 20, list will return the first 20 classes and a token. Call list again with `maxResults` set to 20 and the token to get the next 20 classes.", +"location": "query", +"type": "string" +} +}, +"path": "walletobjects/v1/flightClass", +"response": { +"$ref": "FlightClassListResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/wallet_object.issuer" +] +}, +"patch": { +"description": "Updates the flight class referenced by the given class ID. This method supports patch semantics.", +"flatPath": "walletobjects/v1/flightClass/{resourceId}", +"httpMethod": "PATCH", +"id": "walletobjects.flightclass.patch", +"parameterOrder": [ +"resourceId" +], +"parameters": { +"resourceId": { +"description": "The unique identifier for a class. This ID must be unique across all classes from an issuer. This value should follow the format issuer ID. identifier where the former is issued by Google and latter is chosen by you. Your unique identifier should only include alphanumeric characters, '.', '_', or '-'.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "walletobjects/v1/flightClass/{resourceId}", +"request": { +"$ref": "FlightClass" +}, +"response": { +"$ref": "FlightClass" +}, +"scopes": [ +"https://www.googleapis.com/auth/wallet_object.issuer" +] +}, +"update": { +"description": "Updates the flight class referenced by the given class ID.", +"flatPath": "walletobjects/v1/flightClass/{resourceId}", +"httpMethod": "PUT", +"id": "walletobjects.flightclass.update", +"parameterOrder": [ +"resourceId" +], +"parameters": { +"resourceId": { +"description": "The unique identifier for a class. This ID must be unique across all classes from an issuer. This value should follow the format issuer ID. identifier where the former is issued by Google and latter is chosen by you. Your unique identifier should only include alphanumeric characters, '.', '_', or '-'.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "walletobjects/v1/flightClass/{resourceId}", +"request": { +"$ref": "FlightClass" +}, +"response": { +"$ref": "FlightClass" +}, +"scopes": [ +"https://www.googleapis.com/auth/wallet_object.issuer" +] +} +} +}, +"flightobject": { +"methods": { +"addmessage": { +"description": "Adds a message to the flight object referenced by the given object ID.", +"flatPath": "walletobjects/v1/flightObject/{resourceId}/addMessage", +"httpMethod": "POST", +"id": "walletobjects.flightobject.addmessage", +"parameterOrder": [ +"resourceId" +], +"parameters": { +"resourceId": { +"description": "The unique identifier for an object. This ID must be unique across all objects from an issuer. This value should follow the format issuer ID. identifier where the former is issued by Google and latter is chosen by you. Your unique identifier should only include alphanumeric characters, '.', '_', or '-'.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "walletobjects/v1/flightObject/{resourceId}/addMessage", +"request": { +"$ref": "AddMessageRequest" +}, +"response": { +"$ref": "FlightObjectAddMessageResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/wallet_object.issuer" +] +}, +"get": { +"description": "Returns the flight object with the given object ID.", +"flatPath": "walletobjects/v1/flightObject/{resourceId}", +"httpMethod": "GET", +"id": "walletobjects.flightobject.get", +"parameterOrder": [ +"resourceId" +], +"parameters": { +"resourceId": { +"description": "The unique identifier for an object. This ID must be unique across all objects from an issuer. This value should follow the format issuer ID. identifier where the former is issued by Google and latter is chosen by you. Your unique identifier should only include alphanumeric characters, '.', '_', or '-'.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "walletobjects/v1/flightObject/{resourceId}", +"response": { +"$ref": "FlightObject" +}, +"scopes": [ +"https://www.googleapis.com/auth/wallet_object.issuer" +] +}, +"insert": { +"description": "Inserts an flight object with the given ID and properties.", +"flatPath": "walletobjects/v1/flightObject", +"httpMethod": "POST", +"id": "walletobjects.flightobject.insert", +"parameterOrder": [], +"parameters": {}, +"path": "walletobjects/v1/flightObject", +"request": { +"$ref": "FlightObject" +}, +"response": { +"$ref": "FlightObject" +}, +"scopes": [ +"https://www.googleapis.com/auth/wallet_object.issuer" +] +}, +"list": { +"description": "Returns a list of all flight objects for a given issuer ID.", +"flatPath": "walletobjects/v1/flightObject", +"httpMethod": "GET", +"id": "walletobjects.flightobject.list", +"parameterOrder": [], +"parameters": { +"classId": { +"description": "The ID of the class whose objects will be listed.", +"location": "query", +"type": "string" +}, +"maxResults": { +"description": "Identifies the max number of results returned by a list. All results are returned if `maxResults` isn't defined.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"token": { +"description": "Used to get the next set of results if `maxResults` is specified, but more than `maxResults` objects are available in a list. For example, if you have a list of 200 objects and you call list with `maxResults` set to 20, list will return the first 20 objects and a token. Call list again with `maxResults` set to 20 and the token to get the next 20 objects.", +"location": "query", +"type": "string" +} +}, +"path": "walletobjects/v1/flightObject", +"response": { +"$ref": "FlightObjectListResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/wallet_object.issuer" +] +}, +"patch": { +"description": "Updates the flight object referenced by the given object ID. This method supports patch semantics.", +"flatPath": "walletobjects/v1/flightObject/{resourceId}", +"httpMethod": "PATCH", +"id": "walletobjects.flightobject.patch", +"parameterOrder": [ +"resourceId" +], +"parameters": { +"resourceId": { +"description": "The unique identifier for an object. This ID must be unique across all objects from an issuer. This value should follow the format issuer ID. identifier where the former is issued by Google and latter is chosen by you. Your unique identifier should only include alphanumeric characters, '.', '_', or '-'.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "walletobjects/v1/flightObject/{resourceId}", +"request": { +"$ref": "FlightObject" +}, +"response": { +"$ref": "FlightObject" +}, +"scopes": [ +"https://www.googleapis.com/auth/wallet_object.issuer" +] +}, +"update": { +"description": "Updates the flight object referenced by the given object ID.", +"flatPath": "walletobjects/v1/flightObject/{resourceId}", +"httpMethod": "PUT", +"id": "walletobjects.flightobject.update", +"parameterOrder": [ +"resourceId" +], +"parameters": { +"resourceId": { +"description": "The unique identifier for an object. This ID must be unique across all objects from an issuer. This value should follow the format issuer ID. identifier where the former is issued by Google and latter is chosen by you. Your unique identifier should only include alphanumeric characters, '.', '_', or '-'.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "walletobjects/v1/flightObject/{resourceId}", +"request": { +"$ref": "FlightObject" +}, +"response": { +"$ref": "FlightObject" +}, +"scopes": [ +"https://www.googleapis.com/auth/wallet_object.issuer" +] +} +} +}, +"genericclass": { +"methods": { +"addmessage": { +"description": "Adds a message to the generic class referenced by the given class ID.", +"flatPath": "walletobjects/v1/genericClass/{resourceId}/addMessage", +"httpMethod": "POST", +"id": "walletobjects.genericclass.addmessage", +"parameterOrder": [ +"resourceId" +], +"parameters": { +"resourceId": { +"description": "The unique identifier for a class. This ID must be unique across all classes from an issuer. This value should follow the format issuer ID. identifier where the former is issued by Google and latter is chosen by you. Your unique identifier should only include alphanumeric characters, '.', '_', or '-'.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "walletobjects/v1/genericClass/{resourceId}/addMessage", +"request": { +"$ref": "AddMessageRequest" +}, +"response": { +"$ref": "GenericClassAddMessageResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/wallet_object.issuer" +] +}, +"get": { +"description": "Returns the generic class with the given class ID.", +"flatPath": "walletobjects/v1/genericClass/{resourceId}", +"httpMethod": "GET", +"id": "walletobjects.genericclass.get", +"parameterOrder": [ +"resourceId" +], +"parameters": { +"resourceId": { +"description": "The unique identifier for a class. This ID must be unique across all classes from an issuer. This value needs to follow the format `issuerID.identifier` where `issuerID` is issued by Google and `identifier` is chosen by you. The unique identifier can only include alphanumeric characters, `.`, `_`, or `-`.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "walletobjects/v1/genericClass/{resourceId}", +"response": { +"$ref": "GenericClass" +}, +"scopes": [ +"https://www.googleapis.com/auth/wallet_object.issuer" +] +}, +"insert": { +"description": "Inserts a generic class with the given ID and properties.", +"flatPath": "walletobjects/v1/genericClass", +"httpMethod": "POST", +"id": "walletobjects.genericclass.insert", +"parameterOrder": [], +"parameters": {}, +"path": "walletobjects/v1/genericClass", +"request": { +"$ref": "GenericClass" +}, +"response": { +"$ref": "GenericClass" +}, +"scopes": [ +"https://www.googleapis.com/auth/wallet_object.issuer" +] +}, +"list": { +"description": "Returns a list of all generic classes for a given issuer ID.", +"flatPath": "walletobjects/v1/genericClass", +"httpMethod": "GET", +"id": "walletobjects.genericclass.list", +"parameterOrder": [], +"parameters": { +"issuerId": { +"description": "The ID of the issuer authorized to list classes.", +"format": "int64", +"location": "query", +"type": "string" +}, +"maxResults": { +"description": "Identifies the max number of results returned by a list. All results are returned if `maxResults` isn't defined.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"token": { +"description": "Used to get the next set of results if `maxResults` is specified, but more than `maxResults` classes are available in a list. For example, if you have a list of 200 classes and you call list with `maxResults` set to 20, list will return the first 20 classes and a token. Call list again with `maxResults` set to 20 and the token to get the next 20 classes.", +"location": "query", +"type": "string" +} +}, +"path": "walletobjects/v1/genericClass", +"response": { +"$ref": "GenericClassListResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/wallet_object.issuer" +] +}, +"patch": { +"description": "Updates the generic class referenced by the given class ID. This method supports patch semantics.", +"flatPath": "walletobjects/v1/genericClass/{resourceId}", +"httpMethod": "PATCH", +"id": "walletobjects.genericclass.patch", +"parameterOrder": [ +"resourceId" +], +"parameters": { +"resourceId": { +"description": "The unique identifier for a class. This ID must be unique across all classes from an issuer. This value needs to follow the format `issuerID.identifier` where `issuerID` is issued by Google and `identifier` is chosen by you. The unique identifier can only include alphanumeric characters, `.`, `_`, or `-`.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "walletobjects/v1/genericClass/{resourceId}", +"request": { +"$ref": "GenericClass" +}, +"response": { +"$ref": "GenericClass" +}, +"scopes": [ +"https://www.googleapis.com/auth/wallet_object.issuer" +] +}, +"update": { +"description": "Updates the Generic class referenced by the given class ID.", +"flatPath": "walletobjects/v1/genericClass/{resourceId}", +"httpMethod": "PUT", +"id": "walletobjects.genericclass.update", +"parameterOrder": [ +"resourceId" +], +"parameters": { +"resourceId": { +"description": "The unique identifier for a class. This ID must be unique across all classes from an issuer. This value needs to follow the format `issuerID.identifier` where `issuerID` is issued by Google and `identifier` is chosen by you. The unique identifier can only include alphanumeric characters, `.`, `_`, or `-`.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "walletobjects/v1/genericClass/{resourceId}", +"request": { +"$ref": "GenericClass" +}, +"response": { +"$ref": "GenericClass" +}, +"scopes": [ +"https://www.googleapis.com/auth/wallet_object.issuer" +] +} +} +}, +"genericobject": { +"methods": { +"addmessage": { +"description": "Adds a message to the generic object referenced by the given object ID.", +"flatPath": "walletobjects/v1/genericObject/{resourceId}/addMessage", +"httpMethod": "POST", +"id": "walletobjects.genericobject.addmessage", +"parameterOrder": [ +"resourceId" +], +"parameters": { +"resourceId": { +"description": "The unique identifier for an object. This ID must be unique across all classes from an issuer. This value should follow the format issuer ID. identifier where the former is issued by Google and latter is chosen by you. Your unique identifier should only include alphanumeric characters, '.', '_', or '-'.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "walletobjects/v1/genericObject/{resourceId}/addMessage", +"request": { +"$ref": "AddMessageRequest" +}, +"response": { +"$ref": "GenericObjectAddMessageResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/wallet_object.issuer" +] +}, +"get": { +"description": "Returns the generic object with the given object ID.", +"flatPath": "walletobjects/v1/genericObject/{resourceId}", +"httpMethod": "GET", +"id": "walletobjects.genericobject.get", +"parameterOrder": [ +"resourceId" +], +"parameters": { +"resourceId": { +"description": "The unique identifier for an object. This ID must be unique across all objects from an issuer. This value needs to follow the format `issuerID.identifier` where `issuerID` is issued by Google and `identifier` is chosen by you. The unique identifier can only include alphanumeric characters, `.`, `_`, or `-`.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "walletobjects/v1/genericObject/{resourceId}", +"response": { +"$ref": "GenericObject" +}, +"scopes": [ +"https://www.googleapis.com/auth/wallet_object.issuer" +] +}, +"insert": { +"description": "Inserts a generic object with the given ID and properties.", +"flatPath": "walletobjects/v1/genericObject", +"httpMethod": "POST", +"id": "walletobjects.genericobject.insert", +"parameterOrder": [], +"parameters": {}, +"path": "walletobjects/v1/genericObject", +"request": { +"$ref": "GenericObject" +}, +"response": { +"$ref": "GenericObject" +}, +"scopes": [ +"https://www.googleapis.com/auth/wallet_object.issuer" +] +}, +"list": { +"description": "Returns a list of all generic objects for a given issuer ID.", +"flatPath": "walletobjects/v1/genericObject", +"httpMethod": "GET", +"id": "walletobjects.genericobject.list", +"parameterOrder": [], +"parameters": { +"classId": { +"description": "The ID of the class whose objects will be listed.", +"location": "query", +"type": "string" +}, +"maxResults": { +"description": "Identifies the max number of results returned by a list. All results are returned if `maxResults` isn't defined.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"token": { +"description": "Used to get the next set of results if `maxResults` is specified, but more than `maxResults` objects are available in a list. For example, if you have a list of 200 objects and you call list with `maxResults` set to 20, list will return the first 20 objects and a token. Call list again with `maxResults` set to 20 and the token to get the next 20 objects.", +"location": "query", +"type": "string" +} +}, +"path": "walletobjects/v1/genericObject", +"response": { +"$ref": "GenericObjectListResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/wallet_object.issuer" +] +}, +"patch": { +"description": "Updates the generic object referenced by the given object ID. This method supports patch semantics.", +"flatPath": "walletobjects/v1/genericObject/{resourceId}", +"httpMethod": "PATCH", +"id": "walletobjects.genericobject.patch", +"parameterOrder": [ +"resourceId" +], +"parameters": { +"resourceId": { +"description": "The unique identifier for an object. This ID must be unique across all objects from an issuer. This value needs to follow the format `issuerID.identifier` where `issuerID` is issued by Google and `identifier` is chosen by you. The unique identifier can only include alphanumeric characters, `.`, `_`, or `-`.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "walletobjects/v1/genericObject/{resourceId}", +"request": { +"$ref": "GenericObject" +}, +"response": { +"$ref": "GenericObject" +}, +"scopes": [ +"https://www.googleapis.com/auth/wallet_object.issuer" +] +}, +"update": { +"description": "Updates the generic object referenced by the given object ID.", +"flatPath": "walletobjects/v1/genericObject/{resourceId}", +"httpMethod": "PUT", +"id": "walletobjects.genericobject.update", +"parameterOrder": [ +"resourceId" +], +"parameters": { +"resourceId": { +"description": "The unique identifier for an object. This ID must be unique across all objects from an issuer. This value needs to follow the format `issuerID.identifier` where `issuerID` is issued by Google and `identifier` is chosen by you. The unique identifier can only include alphanumeric characters, `.`, `_`, or `-`.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "walletobjects/v1/genericObject/{resourceId}", +"request": { +"$ref": "GenericObject" +}, +"response": { +"$ref": "GenericObject" +}, +"scopes": [ +"https://www.googleapis.com/auth/wallet_object.issuer" +] +} +} +}, +"giftcardclass": { +"methods": { +"addmessage": { +"description": "Adds a message to the gift card class referenced by the given class ID.", +"flatPath": "walletobjects/v1/giftCardClass/{resourceId}/addMessage", +"httpMethod": "POST", +"id": "walletobjects.giftcardclass.addmessage", +"parameterOrder": [ +"resourceId" +], +"parameters": { +"resourceId": { +"description": "The unique identifier for a class. This ID must be unique across all classes from an issuer. This value should follow the format issuer ID. identifier where the former is issued by Google and latter is chosen by you. Your unique identifier should only include alphanumeric characters, '.', '_', or '-'.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "walletobjects/v1/giftCardClass/{resourceId}/addMessage", +"request": { +"$ref": "AddMessageRequest" +}, +"response": { +"$ref": "GiftCardClassAddMessageResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/wallet_object.issuer" +] +}, +"get": { +"description": "Returns the gift card class with the given class ID.", +"flatPath": "walletobjects/v1/giftCardClass/{resourceId}", +"httpMethod": "GET", +"id": "walletobjects.giftcardclass.get", +"parameterOrder": [ +"resourceId" +], +"parameters": { +"resourceId": { +"description": "The unique identifier for a class. This ID must be unique across all classes from an issuer. This value should follow the format issuer ID. identifier where the former is issued by Google and latter is chosen by you. Your unique identifier should only include alphanumeric characters, '.', '_', or '-'.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "walletobjects/v1/giftCardClass/{resourceId}", +"response": { +"$ref": "GiftCardClass" +}, +"scopes": [ +"https://www.googleapis.com/auth/wallet_object.issuer" +] +}, +"insert": { +"description": "Inserts an gift card class with the given ID and properties.", +"flatPath": "walletobjects/v1/giftCardClass", +"httpMethod": "POST", +"id": "walletobjects.giftcardclass.insert", +"parameterOrder": [], +"parameters": {}, +"path": "walletobjects/v1/giftCardClass", +"request": { +"$ref": "GiftCardClass" +}, +"response": { +"$ref": "GiftCardClass" +}, +"scopes": [ +"https://www.googleapis.com/auth/wallet_object.issuer" +] +}, +"list": { +"description": "Returns a list of all gift card classes for a given issuer ID.", +"flatPath": "walletobjects/v1/giftCardClass", +"httpMethod": "GET", +"id": "walletobjects.giftcardclass.list", +"parameterOrder": [], +"parameters": { +"issuerId": { +"description": "The ID of the issuer authorized to list classes.", +"format": "int64", +"location": "query", +"type": "string" +}, +"maxResults": { +"description": "Identifies the max number of results returned by a list. All results are returned if `maxResults` isn't defined.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"token": { +"description": "Used to get the next set of results if `maxResults` is specified, but more than `maxResults` classes are available in a list. For example, if you have a list of 200 classes and you call list with `maxResults` set to 20, list will return the first 20 classes and a token. Call list again with `maxResults` set to 20 and the token to get the next 20 classes.", +"location": "query", +"type": "string" +} +}, +"path": "walletobjects/v1/giftCardClass", +"response": { +"$ref": "GiftCardClassListResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/wallet_object.issuer" +] +}, +"patch": { +"description": "Updates the gift card class referenced by the given class ID. This method supports patch semantics.", +"flatPath": "walletobjects/v1/giftCardClass/{resourceId}", +"httpMethod": "PATCH", +"id": "walletobjects.giftcardclass.patch", +"parameterOrder": [ +"resourceId" +], +"parameters": { +"resourceId": { +"description": "The unique identifier for a class. This ID must be unique across all classes from an issuer. This value should follow the format issuer ID. identifier where the former is issued by Google and latter is chosen by you. Your unique identifier should only include alphanumeric characters, '.', '_', or '-'.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "walletobjects/v1/giftCardClass/{resourceId}", +"request": { +"$ref": "GiftCardClass" +}, +"response": { +"$ref": "GiftCardClass" +}, +"scopes": [ +"https://www.googleapis.com/auth/wallet_object.issuer" +] +}, +"update": { +"description": "Updates the gift card class referenced by the given class ID.", +"flatPath": "walletobjects/v1/giftCardClass/{resourceId}", +"httpMethod": "PUT", +"id": "walletobjects.giftcardclass.update", +"parameterOrder": [ +"resourceId" +], +"parameters": { +"resourceId": { +"description": "The unique identifier for a class. This ID must be unique across all classes from an issuer. This value should follow the format issuer ID. identifier where the former is issued by Google and latter is chosen by you. Your unique identifier should only include alphanumeric characters, '.', '_', or '-'.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "walletobjects/v1/giftCardClass/{resourceId}", +"request": { +"$ref": "GiftCardClass" +}, +"response": { +"$ref": "GiftCardClass" +}, +"scopes": [ +"https://www.googleapis.com/auth/wallet_object.issuer" +] +} +} +}, +"giftcardobject": { +"methods": { +"addmessage": { +"description": "Adds a message to the gift card object referenced by the given object ID.", +"flatPath": "walletobjects/v1/giftCardObject/{resourceId}/addMessage", +"httpMethod": "POST", +"id": "walletobjects.giftcardobject.addmessage", +"parameterOrder": [ +"resourceId" +], +"parameters": { +"resourceId": { +"description": "The unique identifier for an object. This ID must be unique across all objects from an issuer. This value should follow the format issuer ID. identifier where the former is issued by Google and latter is chosen by you. Your unique identifier should only include alphanumeric characters, '.', '_', or '-'.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "walletobjects/v1/giftCardObject/{resourceId}/addMessage", +"request": { +"$ref": "AddMessageRequest" +}, +"response": { +"$ref": "GiftCardObjectAddMessageResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/wallet_object.issuer" +] +}, +"get": { +"description": "Returns the gift card object with the given object ID.", +"flatPath": "walletobjects/v1/giftCardObject/{resourceId}", +"httpMethod": "GET", +"id": "walletobjects.giftcardobject.get", +"parameterOrder": [ +"resourceId" +], +"parameters": { +"resourceId": { +"description": "The unique identifier for an object. This ID must be unique across all objects from an issuer. This value should follow the format issuer ID. identifier where the former is issued by Google and latter is chosen by you. Your unique identifier should only include alphanumeric characters, '.', '_', or '-'.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "walletobjects/v1/giftCardObject/{resourceId}", +"response": { +"$ref": "GiftCardObject" +}, +"scopes": [ +"https://www.googleapis.com/auth/wallet_object.issuer" +] +}, +"insert": { +"description": "Inserts an gift card object with the given ID and properties.", +"flatPath": "walletobjects/v1/giftCardObject", +"httpMethod": "POST", +"id": "walletobjects.giftcardobject.insert", +"parameterOrder": [], +"parameters": {}, +"path": "walletobjects/v1/giftCardObject", +"request": { +"$ref": "GiftCardObject" +}, +"response": { +"$ref": "GiftCardObject" +}, +"scopes": [ +"https://www.googleapis.com/auth/wallet_object.issuer" +] +}, +"list": { +"description": "Returns a list of all gift card objects for a given issuer ID.", +"flatPath": "walletobjects/v1/giftCardObject", +"httpMethod": "GET", +"id": "walletobjects.giftcardobject.list", +"parameterOrder": [], +"parameters": { +"classId": { +"description": "The ID of the class whose objects will be listed.", +"location": "query", +"type": "string" +}, +"maxResults": { +"description": "Identifies the max number of results returned by a list. All results are returned if `maxResults` isn't defined.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"token": { +"description": "Used to get the next set of results if `maxResults` is specified, but more than `maxResults` objects are available in a list. For example, if you have a list of 200 objects and you call list with `maxResults` set to 20, list will return the first 20 objects and a token. Call list again with `maxResults` set to 20 and the token to get the next 20 objects.", +"location": "query", +"type": "string" +} +}, +"path": "walletobjects/v1/giftCardObject", +"response": { +"$ref": "GiftCardObjectListResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/wallet_object.issuer" +] +}, +"patch": { +"description": "Updates the gift card object referenced by the given object ID. This method supports patch semantics.", +"flatPath": "walletobjects/v1/giftCardObject/{resourceId}", +"httpMethod": "PATCH", +"id": "walletobjects.giftcardobject.patch", +"parameterOrder": [ +"resourceId" +], +"parameters": { +"resourceId": { +"description": "The unique identifier for an object. This ID must be unique across all objects from an issuer. This value should follow the format issuer ID. identifier where the former is issued by Google and latter is chosen by you. Your unique identifier should only include alphanumeric characters, '.', '_', or '-'.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "walletobjects/v1/giftCardObject/{resourceId}", +"request": { +"$ref": "GiftCardObject" +}, +"response": { +"$ref": "GiftCardObject" +}, +"scopes": [ +"https://www.googleapis.com/auth/wallet_object.issuer" +] +}, +"update": { +"description": "Updates the gift card object referenced by the given object ID.", +"flatPath": "walletobjects/v1/giftCardObject/{resourceId}", +"httpMethod": "PUT", +"id": "walletobjects.giftcardobject.update", +"parameterOrder": [ +"resourceId" +], +"parameters": { +"resourceId": { +"description": "The unique identifier for an object. This ID must be unique across all objects from an issuer. This value should follow the format issuer ID. identifier where the former is issued by Google and latter is chosen by you. Your unique identifier should only include alphanumeric characters, '.', '_', or '-'.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "walletobjects/v1/giftCardObject/{resourceId}", +"request": { +"$ref": "GiftCardObject" +}, +"response": { +"$ref": "GiftCardObject" +}, +"scopes": [ +"https://www.googleapis.com/auth/wallet_object.issuer" +] +} +} +}, +"issuer": { +"methods": { +"get": { +"description": "Returns the issuer with the given issuer ID.", +"flatPath": "walletobjects/v1/issuer/{resourceId}", +"httpMethod": "GET", +"id": "walletobjects.issuer.get", +"parameterOrder": [ +"resourceId" +], +"parameters": { +"resourceId": { +"description": "The unique identifier for an issuer.", +"format": "int64", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "walletobjects/v1/issuer/{resourceId}", +"response": { +"$ref": "Issuer" +}, +"scopes": [ +"https://www.googleapis.com/auth/wallet_object.issuer" +] +}, +"insert": { +"description": "Inserts an issuer with the given ID and properties.", +"flatPath": "walletobjects/v1/issuer", +"httpMethod": "POST", +"id": "walletobjects.issuer.insert", +"parameterOrder": [], +"parameters": {}, +"path": "walletobjects/v1/issuer", +"request": { +"$ref": "Issuer" +}, +"response": { +"$ref": "Issuer" +}, +"scopes": [ +"https://www.googleapis.com/auth/wallet_object.issuer" +] +}, +"list": { +"description": "Returns a list of all issuers shared to the caller.", +"flatPath": "walletobjects/v1/issuer", +"httpMethod": "GET", +"id": "walletobjects.issuer.list", +"parameterOrder": [], +"parameters": {}, +"path": "walletobjects/v1/issuer", +"response": { +"$ref": "IssuerListResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/wallet_object.issuer" +] +}, +"patch": { +"description": "Updates the issuer referenced by the given issuer ID. This method supports patch semantics.", +"flatPath": "walletobjects/v1/issuer/{resourceId}", +"httpMethod": "PATCH", +"id": "walletobjects.issuer.patch", +"parameterOrder": [ +"resourceId" +], +"parameters": { +"resourceId": { +"description": "The unique identifier for an issuer.", +"format": "int64", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "walletobjects/v1/issuer/{resourceId}", +"request": { +"$ref": "Issuer" +}, +"response": { +"$ref": "Issuer" +}, +"scopes": [ +"https://www.googleapis.com/auth/wallet_object.issuer" +] +}, +"update": { +"description": "Updates the issuer referenced by the given issuer ID.", +"flatPath": "walletobjects/v1/issuer/{resourceId}", +"httpMethod": "PUT", +"id": "walletobjects.issuer.update", +"parameterOrder": [ +"resourceId" +], +"parameters": { +"resourceId": { +"description": "The unique identifier for an issuer.", +"format": "int64", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "walletobjects/v1/issuer/{resourceId}", +"request": { +"$ref": "Issuer" +}, +"response": { +"$ref": "Issuer" +}, +"scopes": [ +"https://www.googleapis.com/auth/wallet_object.issuer" +] +} +} +}, +"jwt": { +"methods": { +"insert": { +"description": "Inserts the resources in the JWT.", +"flatPath": "walletobjects/v1/jwt", +"httpMethod": "POST", +"id": "walletobjects.jwt.insert", +"parameterOrder": [], +"parameters": {}, +"path": "walletobjects/v1/jwt", +"request": { +"$ref": "JwtResource" +}, +"response": { +"$ref": "JwtInsertResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/wallet_object.issuer" +] +} +} +}, +"loyaltyclass": { +"methods": { +"addmessage": { +"description": "Adds a message to the loyalty class referenced by the given class ID.", +"flatPath": "walletobjects/v1/loyaltyClass/{resourceId}/addMessage", +"httpMethod": "POST", +"id": "walletobjects.loyaltyclass.addmessage", +"parameterOrder": [ +"resourceId" +], +"parameters": { +"resourceId": { +"description": "The unique identifier for a class. This ID must be unique across all classes from an issuer. This value should follow the format issuer ID. identifier where the former is issued by Google and latter is chosen by you. Your unique identifier should only include alphanumeric characters, '.', '_', or '-'.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "walletobjects/v1/loyaltyClass/{resourceId}/addMessage", +"request": { +"$ref": "AddMessageRequest" +}, +"response": { +"$ref": "LoyaltyClassAddMessageResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/wallet_object.issuer" +] +}, +"get": { +"description": "Returns the loyalty class with the given class ID.", +"flatPath": "walletobjects/v1/loyaltyClass/{resourceId}", +"httpMethod": "GET", +"id": "walletobjects.loyaltyclass.get", +"parameterOrder": [ +"resourceId" +], +"parameters": { +"resourceId": { +"description": "The unique identifier for a class. This ID must be unique across all classes from an issuer. This value should follow the format issuer ID. identifier where the former is issued by Google and latter is chosen by you. Your unique identifier should only include alphanumeric characters, '.', '_', or '-'.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "walletobjects/v1/loyaltyClass/{resourceId}", +"response": { +"$ref": "LoyaltyClass" +}, +"scopes": [ +"https://www.googleapis.com/auth/wallet_object.issuer" +] +}, +"insert": { +"description": "Inserts an loyalty class with the given ID and properties.", +"flatPath": "walletobjects/v1/loyaltyClass", +"httpMethod": "POST", +"id": "walletobjects.loyaltyclass.insert", +"parameterOrder": [], +"parameters": {}, +"path": "walletobjects/v1/loyaltyClass", +"request": { +"$ref": "LoyaltyClass" +}, +"response": { +"$ref": "LoyaltyClass" +}, +"scopes": [ +"https://www.googleapis.com/auth/wallet_object.issuer" +] +}, +"list": { +"description": "Returns a list of all loyalty classes for a given issuer ID.", +"flatPath": "walletobjects/v1/loyaltyClass", +"httpMethod": "GET", +"id": "walletobjects.loyaltyclass.list", +"parameterOrder": [], +"parameters": { +"issuerId": { +"description": "The ID of the issuer authorized to list classes.", +"format": "int64", +"location": "query", +"type": "string" +}, +"maxResults": { +"description": "Identifies the max number of results returned by a list. All results are returned if `maxResults` isn't defined.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"token": { +"description": "Used to get the next set of results if `maxResults` is specified, but more than `maxResults` classes are available in a list. For example, if you have a list of 200 classes and you call list with `maxResults` set to 20, list will return the first 20 classes and a token. Call list again with `maxResults` set to 20 and the token to get the next 20 classes.", +"location": "query", +"type": "string" +} +}, +"path": "walletobjects/v1/loyaltyClass", +"response": { +"$ref": "LoyaltyClassListResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/wallet_object.issuer" +] +}, +"patch": { +"description": "Updates the loyalty class referenced by the given class ID. This method supports patch semantics.", +"flatPath": "walletobjects/v1/loyaltyClass/{resourceId}", +"httpMethod": "PATCH", +"id": "walletobjects.loyaltyclass.patch", +"parameterOrder": [ +"resourceId" +], +"parameters": { +"resourceId": { +"description": "The unique identifier for a class. This ID must be unique across all classes from an issuer. This value should follow the format issuer ID. identifier where the former is issued by Google and latter is chosen by you. Your unique identifier should only include alphanumeric characters, '.', '_', or '-'.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "walletobjects/v1/loyaltyClass/{resourceId}", +"request": { +"$ref": "LoyaltyClass" +}, +"response": { +"$ref": "LoyaltyClass" +}, +"scopes": [ +"https://www.googleapis.com/auth/wallet_object.issuer" +] +}, +"update": { +"description": "Updates the loyalty class referenced by the given class ID.", +"flatPath": "walletobjects/v1/loyaltyClass/{resourceId}", +"httpMethod": "PUT", +"id": "walletobjects.loyaltyclass.update", +"parameterOrder": [ +"resourceId" +], +"parameters": { +"resourceId": { +"description": "The unique identifier for a class. This ID must be unique across all classes from an issuer. This value should follow the format issuer ID. identifier where the former is issued by Google and latter is chosen by you. Your unique identifier should only include alphanumeric characters, '.', '_', or '-'.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "walletobjects/v1/loyaltyClass/{resourceId}", +"request": { +"$ref": "LoyaltyClass" +}, +"response": { +"$ref": "LoyaltyClass" +}, +"scopes": [ +"https://www.googleapis.com/auth/wallet_object.issuer" +] +} +} +}, +"loyaltyobject": { +"methods": { +"addmessage": { +"description": "Adds a message to the loyalty object referenced by the given object ID.", +"flatPath": "walletobjects/v1/loyaltyObject/{resourceId}/addMessage", +"httpMethod": "POST", +"id": "walletobjects.loyaltyobject.addmessage", +"parameterOrder": [ +"resourceId" +], +"parameters": { +"resourceId": { +"description": "The unique identifier for an object. This ID must be unique across all objects from an issuer. This value should follow the format issuer ID. identifier where the former is issued by Google and latter is chosen by you. Your unique identifier should only include alphanumeric characters, '.', '_', or '-'.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "walletobjects/v1/loyaltyObject/{resourceId}/addMessage", +"request": { +"$ref": "AddMessageRequest" +}, +"response": { +"$ref": "LoyaltyObjectAddMessageResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/wallet_object.issuer" +] +}, +"get": { +"description": "Returns the loyalty object with the given object ID.", +"flatPath": "walletobjects/v1/loyaltyObject/{resourceId}", +"httpMethod": "GET", +"id": "walletobjects.loyaltyobject.get", +"parameterOrder": [ +"resourceId" +], +"parameters": { +"resourceId": { +"description": "The unique identifier for an object. This ID must be unique across all objects from an issuer. This value should follow the format issuer ID. identifier where the former is issued by Google and latter is chosen by you. Your unique identifier should only include alphanumeric characters, '.', '_', or '-'.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "walletobjects/v1/loyaltyObject/{resourceId}", +"response": { +"$ref": "LoyaltyObject" +}, +"scopes": [ +"https://www.googleapis.com/auth/wallet_object.issuer" +] +}, +"insert": { +"description": "Inserts an loyalty object with the given ID and properties.", +"flatPath": "walletobjects/v1/loyaltyObject", +"httpMethod": "POST", +"id": "walletobjects.loyaltyobject.insert", +"parameterOrder": [], +"parameters": {}, +"path": "walletobjects/v1/loyaltyObject", +"request": { +"$ref": "LoyaltyObject" +}, +"response": { +"$ref": "LoyaltyObject" +}, +"scopes": [ +"https://www.googleapis.com/auth/wallet_object.issuer" +] +}, +"list": { +"description": "Returns a list of all loyalty objects for a given issuer ID.", +"flatPath": "walletobjects/v1/loyaltyObject", +"httpMethod": "GET", +"id": "walletobjects.loyaltyobject.list", +"parameterOrder": [], +"parameters": { +"classId": { +"description": "The ID of the class whose objects will be listed.", +"location": "query", +"type": "string" +}, +"maxResults": { +"description": "Identifies the max number of results returned by a list. All results are returned if `maxResults` isn't defined.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"token": { +"description": "Used to get the next set of results if `maxResults` is specified, but more than `maxResults` objects are available in a list. For example, if you have a list of 200 objects and you call list with `maxResults` set to 20, list will return the first 20 objects and a token. Call list again with `maxResults` set to 20 and the token to get the next 20 objects.", +"location": "query", +"type": "string" +} +}, +"path": "walletobjects/v1/loyaltyObject", +"response": { +"$ref": "LoyaltyObjectListResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/wallet_object.issuer" +] +}, +"modifylinkedofferobjects": { +"deprecated": true, +"description": "Deprecated: Use Auto Linked Passes instead. Modifies linked offer objects for the loyalty object with the given ID.", +"flatPath": "walletobjects/v1/loyaltyObject/{resourceId}/modifyLinkedOfferObjects", +"httpMethod": "POST", +"id": "walletobjects.loyaltyobject.modifylinkedofferobjects", +"parameterOrder": [ +"resourceId" +], +"parameters": { +"resourceId": { +"description": "The unique identifier for an object. This ID must be unique across all objects from an issuer. This value should follow the format issuer ID. identifier where the former is issued by Google and latter is chosen by you. Your unique identifier should only include alphanumeric characters, '.', '_', or '-'.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "walletobjects/v1/loyaltyObject/{resourceId}/modifyLinkedOfferObjects", +"request": { +"$ref": "ModifyLinkedOfferObjectsRequest" +}, +"response": { +"$ref": "LoyaltyObject" +}, +"scopes": [ +"https://www.googleapis.com/auth/wallet_object.issuer" +] +}, +"patch": { +"description": "Updates the loyalty object referenced by the given object ID. This method supports patch semantics.", +"flatPath": "walletobjects/v1/loyaltyObject/{resourceId}", +"httpMethod": "PATCH", +"id": "walletobjects.loyaltyobject.patch", +"parameterOrder": [ +"resourceId" +], +"parameters": { +"resourceId": { +"description": "The unique identifier for an object. This ID must be unique across all objects from an issuer. This value should follow the format issuer ID. identifier where the former is issued by Google and latter is chosen by you. Your unique identifier should only include alphanumeric characters, '.', '_', or '-'.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "walletobjects/v1/loyaltyObject/{resourceId}", +"request": { +"$ref": "LoyaltyObject" +}, +"response": { +"$ref": "LoyaltyObject" +}, +"scopes": [ +"https://www.googleapis.com/auth/wallet_object.issuer" +] +}, +"update": { +"description": "Updates the loyalty object referenced by the given object ID.", +"flatPath": "walletobjects/v1/loyaltyObject/{resourceId}", +"httpMethod": "PUT", +"id": "walletobjects.loyaltyobject.update", +"parameterOrder": [ +"resourceId" +], +"parameters": { +"resourceId": { +"description": "The unique identifier for an object. This ID must be unique across all objects from an issuer. This value should follow the format issuer ID. identifier where the former is issued by Google and latter is chosen by you. Your unique identifier should only include alphanumeric characters, '.', '_', or '-'.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "walletobjects/v1/loyaltyObject/{resourceId}", +"request": { +"$ref": "LoyaltyObject" +}, +"response": { +"$ref": "LoyaltyObject" +}, +"scopes": [ +"https://www.googleapis.com/auth/wallet_object.issuer" +] +} +} +}, +"media": { +"methods": { +"download": { +"description": "Downloads rotating barcode values for the transit object referenced by the given object ID.", +"flatPath": "walletobjects/v1/transitObject/{resourceId}/downloadRotatingBarcodeValues", +"httpMethod": "GET", +"id": "walletobjects.media.download", +"parameterOrder": [ +"resourceId" +], +"parameters": { +"resourceId": { +"description": "The unique identifier for an object. This ID must be unique across all objects from an issuer. This value should follow the format issuer ID. identifier where the former is issued by Google and latter is chosen by you. Your unique identifier should only include alphanumeric characters, '.', '_', or '-'.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "walletobjects/v1/transitObject/{resourceId}/downloadRotatingBarcodeValues", +"response": { +"$ref": "Media" +}, +"scopes": [ +"https://www.googleapis.com/auth/wallet_object.issuer" +], +"supportsMediaDownload": true, +"useMediaDownloadService": true +}, +"upload": { +"description": "Uploads rotating barcode values for the transit object referenced by the given object ID. Note the max upload size is specified in google3/production/config/cdd/apps-upload/customers/payments-consumer-passes/config.gcl and enforced by Scotty.", +"flatPath": "walletobjects/v1/transitObject/{resourceId}/uploadRotatingBarcodeValues", +"httpMethod": "POST", +"id": "walletobjects.media.upload", +"mediaUpload": { +"accept": [ +"*/*" +], +"protocols": { +"simple": { +"multipart": true, +"path": "/upload/walletobjects/v1/transitObject/{resourceId}/uploadRotatingBarcodeValues" +} +} +}, +"parameterOrder": [ +"resourceId" +], +"parameters": { +"resourceId": { +"description": "The unique identifier for an object. This ID must be unique across all objects from an issuer. This value should follow the format issuer ID. identifier where the former is issued by Google and latter is chosen by you. Your unique identifier should only include alphanumeric characters, '.', '_', or '-'.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "walletobjects/v1/transitObject/{resourceId}/uploadRotatingBarcodeValues", +"request": { +"$ref": "TransitObjectUploadRotatingBarcodeValuesRequest" +}, +"response": { +"$ref": "TransitObjectUploadRotatingBarcodeValuesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/wallet_object.issuer" +], +"supportsMediaUpload": true +} +} +}, +"offerclass": { +"methods": { +"addmessage": { +"description": "Adds a message to the offer class referenced by the given class ID.", +"flatPath": "walletobjects/v1/offerClass/{resourceId}/addMessage", +"httpMethod": "POST", +"id": "walletobjects.offerclass.addmessage", +"parameterOrder": [ +"resourceId" +], +"parameters": { +"resourceId": { +"description": "The unique identifier for a class. This ID must be unique across all classes from an issuer. This value should follow the format issuer ID. identifier where the former is issued by Google and latter is chosen by you. Your unique identifier should only include alphanumeric characters, '.', '_', or '-'.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "walletobjects/v1/offerClass/{resourceId}/addMessage", +"request": { +"$ref": "AddMessageRequest" +}, +"response": { +"$ref": "OfferClassAddMessageResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/wallet_object.issuer" +] +}, +"get": { +"description": "Returns the offer class with the given class ID.", +"flatPath": "walletobjects/v1/offerClass/{resourceId}", +"httpMethod": "GET", +"id": "walletobjects.offerclass.get", +"parameterOrder": [ +"resourceId" +], +"parameters": { +"resourceId": { +"description": "The unique identifier for a class. This ID must be unique across all classes from an issuer. This value should follow the format issuer ID. identifier where the former is issued by Google and latter is chosen by you. Your unique identifier should only include alphanumeric characters, '.', '_', or '-'.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "walletobjects/v1/offerClass/{resourceId}", +"response": { +"$ref": "OfferClass" +}, +"scopes": [ +"https://www.googleapis.com/auth/wallet_object.issuer" +] +}, +"insert": { +"description": "Inserts an offer class with the given ID and properties.", +"flatPath": "walletobjects/v1/offerClass", +"httpMethod": "POST", +"id": "walletobjects.offerclass.insert", +"parameterOrder": [], +"parameters": {}, +"path": "walletobjects/v1/offerClass", +"request": { +"$ref": "OfferClass" +}, +"response": { +"$ref": "OfferClass" +}, +"scopes": [ +"https://www.googleapis.com/auth/wallet_object.issuer" +] +}, +"list": { +"description": "Returns a list of all offer classes for a given issuer ID.", +"flatPath": "walletobjects/v1/offerClass", +"httpMethod": "GET", +"id": "walletobjects.offerclass.list", +"parameterOrder": [], +"parameters": { +"issuerId": { +"description": "The ID of the issuer authorized to list classes.", +"format": "int64", +"location": "query", +"type": "string" +}, +"maxResults": { +"description": "Identifies the max number of results returned by a list. All results are returned if `maxResults` isn't defined.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"token": { +"description": "Used to get the next set of results if `maxResults` is specified, but more than `maxResults` classes are available in a list. For example, if you have a list of 200 classes and you call list with `maxResults` set to 20, list will return the first 20 classes and a token. Call list again with `maxResults` set to 20 and the token to get the next 20 classes.", +"location": "query", +"type": "string" +} +}, +"path": "walletobjects/v1/offerClass", +"response": { +"$ref": "OfferClassListResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/wallet_object.issuer" +] +}, +"patch": { +"description": "Updates the offer class referenced by the given class ID. This method supports patch semantics.", +"flatPath": "walletobjects/v1/offerClass/{resourceId}", +"httpMethod": "PATCH", +"id": "walletobjects.offerclass.patch", +"parameterOrder": [ +"resourceId" +], +"parameters": { +"resourceId": { +"description": "The unique identifier for a class. This ID must be unique across all classes from an issuer. This value should follow the format issuer ID. identifier where the former is issued by Google and latter is chosen by you. Your unique identifier should only include alphanumeric characters, '.', '_', or '-'.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "walletobjects/v1/offerClass/{resourceId}", +"request": { +"$ref": "OfferClass" +}, +"response": { +"$ref": "OfferClass" +}, +"scopes": [ +"https://www.googleapis.com/auth/wallet_object.issuer" +] +}, +"update": { +"description": "Updates the offer class referenced by the given class ID.", +"flatPath": "walletobjects/v1/offerClass/{resourceId}", +"httpMethod": "PUT", +"id": "walletobjects.offerclass.update", +"parameterOrder": [ +"resourceId" +], +"parameters": { +"resourceId": { +"description": "The unique identifier for a class. This ID must be unique across all classes from an issuer. This value should follow the format issuer ID. identifier where the former is issued by Google and latter is chosen by you. Your unique identifier should only include alphanumeric characters, '.', '_', or '-'.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "walletobjects/v1/offerClass/{resourceId}", +"request": { +"$ref": "OfferClass" +}, +"response": { +"$ref": "OfferClass" +}, +"scopes": [ +"https://www.googleapis.com/auth/wallet_object.issuer" +] +} +} +}, +"offerobject": { +"methods": { +"addmessage": { +"description": "Adds a message to the offer object referenced by the given object ID.", +"flatPath": "walletobjects/v1/offerObject/{resourceId}/addMessage", +"httpMethod": "POST", +"id": "walletobjects.offerobject.addmessage", +"parameterOrder": [ +"resourceId" +], +"parameters": { +"resourceId": { +"description": "The unique identifier for an object. This ID must be unique across all objects from an issuer. This value should follow the format issuer ID. identifier where the former is issued by Google and latter is chosen by you. Your unique identifier should only include alphanumeric characters, '.', '_', or '-'.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "walletobjects/v1/offerObject/{resourceId}/addMessage", +"request": { +"$ref": "AddMessageRequest" +}, +"response": { +"$ref": "OfferObjectAddMessageResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/wallet_object.issuer" +] +}, +"get": { +"description": "Returns the offer object with the given object ID.", +"flatPath": "walletobjects/v1/offerObject/{resourceId}", +"httpMethod": "GET", +"id": "walletobjects.offerobject.get", +"parameterOrder": [ +"resourceId" +], +"parameters": { +"resourceId": { +"description": "The unique identifier for an object. This ID must be unique across all objects from an issuer. This value should follow the format issuer ID. identifier where the former is issued by Google and latter is chosen by you. Your unique identifier should only include alphanumeric characters, '.', '_', or '-'.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "walletobjects/v1/offerObject/{resourceId}", +"response": { +"$ref": "OfferObject" +}, +"scopes": [ +"https://www.googleapis.com/auth/wallet_object.issuer" +] +}, +"insert": { +"description": "Inserts an offer object with the given ID and properties.", +"flatPath": "walletobjects/v1/offerObject", +"httpMethod": "POST", +"id": "walletobjects.offerobject.insert", +"parameterOrder": [], +"parameters": {}, +"path": "walletobjects/v1/offerObject", +"request": { +"$ref": "OfferObject" +}, +"response": { +"$ref": "OfferObject" +}, +"scopes": [ +"https://www.googleapis.com/auth/wallet_object.issuer" +] +}, +"list": { +"description": "Returns a list of all offer objects for a given issuer ID.", +"flatPath": "walletobjects/v1/offerObject", +"httpMethod": "GET", +"id": "walletobjects.offerobject.list", +"parameterOrder": [], +"parameters": { +"classId": { +"description": "The ID of the class whose objects will be listed.", +"location": "query", +"type": "string" +}, +"maxResults": { +"description": "Identifies the max number of results returned by a list. All results are returned if `maxResults` isn't defined.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"token": { +"description": "Used to get the next set of results if `maxResults` is specified, but more than `maxResults` objects are available in a list. For example, if you have a list of 200 objects and you call list with `maxResults` set to 20, list will return the first 20 objects and a token. Call list again with `maxResults` set to 20 and the token to get the next 20 objects.", +"location": "query", +"type": "string" +} +}, +"path": "walletobjects/v1/offerObject", +"response": { +"$ref": "OfferObjectListResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/wallet_object.issuer" +] +}, +"patch": { +"description": "Updates the offer object referenced by the given object ID. This method supports patch semantics.", +"flatPath": "walletobjects/v1/offerObject/{resourceId}", +"httpMethod": "PATCH", +"id": "walletobjects.offerobject.patch", +"parameterOrder": [ +"resourceId" +], +"parameters": { +"resourceId": { +"description": "The unique identifier for an object. This ID must be unique across all objects from an issuer. This value should follow the format issuer ID. identifier where the former is issued by Google and latter is chosen by you. Your unique identifier should only include alphanumeric characters, '.', '_', or '-'.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "walletobjects/v1/offerObject/{resourceId}", +"request": { +"$ref": "OfferObject" +}, +"response": { +"$ref": "OfferObject" +}, +"scopes": [ +"https://www.googleapis.com/auth/wallet_object.issuer" +] +}, +"update": { +"description": "Updates the offer object referenced by the given object ID.", +"flatPath": "walletobjects/v1/offerObject/{resourceId}", +"httpMethod": "PUT", +"id": "walletobjects.offerobject.update", +"parameterOrder": [ +"resourceId" +], +"parameters": { +"resourceId": { +"description": "The unique identifier for an object. This ID must be unique across all objects from an issuer. This value should follow the format issuer ID. identifier where the former is issued by Google and latter is chosen by you. Your unique identifier should only include alphanumeric characters, '.', '_', or '-'.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "walletobjects/v1/offerObject/{resourceId}", +"request": { +"$ref": "OfferObject" +}, +"response": { +"$ref": "OfferObject" +}, +"scopes": [ +"https://www.googleapis.com/auth/wallet_object.issuer" +] +} +} +}, +"permissions": { +"methods": { +"get": { +"description": "Returns the permissions for the given issuer id.", +"flatPath": "walletobjects/v1/permissions/{resourceId}", +"httpMethod": "GET", +"id": "walletobjects.permissions.get", +"parameterOrder": [ +"resourceId" +], +"parameters": { +"resourceId": { +"description": "The unique identifier for an issuer. This ID must be unique across all issuers.", +"format": "int64", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "walletobjects/v1/permissions/{resourceId}", +"response": { +"$ref": "Permissions" +}, +"scopes": [ +"https://www.googleapis.com/auth/wallet_object.issuer" +] +}, +"update": { +"description": "Updates the permissions for the given issuer.", +"flatPath": "walletobjects/v1/permissions/{resourceId}", +"httpMethod": "PUT", +"id": "walletobjects.permissions.update", +"parameterOrder": [ +"resourceId" +], +"parameters": { +"resourceId": { +"description": "The unique identifier for an issuer. This ID must be unique across all issuers.", +"format": "int64", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "walletobjects/v1/permissions/{resourceId}", +"request": { +"$ref": "Permissions" +}, +"response": { +"$ref": "Permissions" +}, +"scopes": [ +"https://www.googleapis.com/auth/wallet_object.issuer" +] +} +} +}, +"smarttap": { +"methods": { +"insert": { +"description": "Inserts the smart tap.", +"flatPath": "walletobjects/v1/smartTap", +"httpMethod": "POST", +"id": "walletobjects.smarttap.insert", +"parameterOrder": [], +"parameters": {}, +"path": "walletobjects/v1/smartTap", +"request": { +"$ref": "SmartTap" +}, +"response": { +"$ref": "SmartTap" +}, +"scopes": [ +"https://www.googleapis.com/auth/wallet_object.issuer" +] +} +} +}, +"transitclass": { +"methods": { +"addmessage": { +"description": "Adds a message to the transit class referenced by the given class ID.", +"flatPath": "walletobjects/v1/transitClass/{resourceId}/addMessage", +"httpMethod": "POST", +"id": "walletobjects.transitclass.addmessage", +"parameterOrder": [ +"resourceId" +], +"parameters": { +"resourceId": { +"description": "The unique identifier for a class. This ID must be unique across all classes from an issuer. This value should follow the format issuer ID. identifier where the former is issued by Google and latter is chosen by you. Your unique identifier should only include alphanumeric characters, '.', '_', or '-'.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "walletobjects/v1/transitClass/{resourceId}/addMessage", +"request": { +"$ref": "AddMessageRequest" +}, +"response": { +"$ref": "TransitClassAddMessageResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/wallet_object.issuer" +] +}, +"get": { +"description": "Returns the transit class with the given class ID.", +"flatPath": "walletobjects/v1/transitClass/{resourceId}", +"httpMethod": "GET", +"id": "walletobjects.transitclass.get", +"parameterOrder": [ +"resourceId" +], +"parameters": { +"resourceId": { +"description": "The unique identifier for a class. This ID must be unique across all classes from an issuer. This value should follow the format issuer ID. identifier where the former is issued by Google and latter is chosen by you. Your unique identifier should only include alphanumeric characters, '.', '_', or '-'.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "walletobjects/v1/transitClass/{resourceId}", +"response": { +"$ref": "TransitClass" +}, +"scopes": [ +"https://www.googleapis.com/auth/wallet_object.issuer" +] +}, +"insert": { +"description": "Inserts a transit class with the given ID and properties.", +"flatPath": "walletobjects/v1/transitClass", +"httpMethod": "POST", +"id": "walletobjects.transitclass.insert", +"parameterOrder": [], +"parameters": {}, +"path": "walletobjects/v1/transitClass", +"request": { +"$ref": "TransitClass" +}, +"response": { +"$ref": "TransitClass" +}, +"scopes": [ +"https://www.googleapis.com/auth/wallet_object.issuer" +] +}, +"list": { +"description": "Returns a list of all transit classes for a given issuer ID.", +"flatPath": "walletobjects/v1/transitClass", +"httpMethod": "GET", +"id": "walletobjects.transitclass.list", +"parameterOrder": [], +"parameters": { +"issuerId": { +"description": "The ID of the issuer authorized to list classes.", +"format": "int64", +"location": "query", +"type": "string" +}, +"maxResults": { +"description": "Identifies the max number of results returned by a list. All results are returned if `maxResults` isn't defined.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"token": { +"description": "Used to get the next set of results if `maxResults` is specified, but more than `maxResults` classes are available in a list. For example, if you have a list of 200 classes and you call list with `maxResults` set to 20, list will return the first 20 classes and a token. Call list again with `maxResults` set to 20 and the token to get the next 20 classes.", +"location": "query", +"type": "string" +} +}, +"path": "walletobjects/v1/transitClass", +"response": { +"$ref": "TransitClassListResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/wallet_object.issuer" +] +}, +"patch": { +"description": "Updates the transit class referenced by the given class ID. This method supports patch semantics.", +"flatPath": "walletobjects/v1/transitClass/{resourceId}", +"httpMethod": "PATCH", +"id": "walletobjects.transitclass.patch", +"parameterOrder": [ +"resourceId" +], +"parameters": { +"resourceId": { +"description": "The unique identifier for a class. This ID must be unique across all classes from an issuer. This value should follow the format issuer ID. identifier where the former is issued by Google and latter is chosen by you. Your unique identifier should only include alphanumeric characters, '.', '_', or '-'.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "walletobjects/v1/transitClass/{resourceId}", +"request": { +"$ref": "TransitClass" +}, +"response": { +"$ref": "TransitClass" +}, +"scopes": [ +"https://www.googleapis.com/auth/wallet_object.issuer" +] +}, +"update": { +"description": "Updates the transit class referenced by the given class ID.", +"flatPath": "walletobjects/v1/transitClass/{resourceId}", +"httpMethod": "PUT", +"id": "walletobjects.transitclass.update", +"parameterOrder": [ +"resourceId" +], +"parameters": { +"resourceId": { +"description": "The unique identifier for a class. This ID must be unique across all classes from an issuer. This value should follow the format issuer ID. identifier where the former is issued by Google and latter is chosen by you. Your unique identifier should only include alphanumeric characters, '.', '_', or '-'.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "walletobjects/v1/transitClass/{resourceId}", +"request": { +"$ref": "TransitClass" +}, +"response": { +"$ref": "TransitClass" +}, +"scopes": [ +"https://www.googleapis.com/auth/wallet_object.issuer" +] +} +} +}, +"transitobject": { +"methods": { +"addmessage": { +"description": "Adds a message to the transit object referenced by the given object ID.", +"flatPath": "walletobjects/v1/transitObject/{resourceId}/addMessage", +"httpMethod": "POST", +"id": "walletobjects.transitobject.addmessage", +"parameterOrder": [ +"resourceId" +], +"parameters": { +"resourceId": { +"description": "The unique identifier for an object. This ID must be unique across all objects from an issuer. This value should follow the format issuer ID. identifier where the former is issued by Google and latter is chosen by you. Your unique identifier should only include alphanumeric characters, '.', '_', or '-'.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "walletobjects/v1/transitObject/{resourceId}/addMessage", +"request": { +"$ref": "AddMessageRequest" +}, +"response": { +"$ref": "TransitObjectAddMessageResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/wallet_object.issuer" +] +}, +"get": { +"description": "Returns the transit object with the given object ID.", +"flatPath": "walletobjects/v1/transitObject/{resourceId}", +"httpMethod": "GET", +"id": "walletobjects.transitobject.get", +"parameterOrder": [ +"resourceId" +], +"parameters": { +"resourceId": { +"description": "The unique identifier for an object. This ID must be unique across all objects from an issuer. This value should follow the format issuer ID. identifier where the former is issued by Google and latter is chosen by you. Your unique identifier should only include alphanumeric characters, '.', '_', or '-'.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "walletobjects/v1/transitObject/{resourceId}", +"response": { +"$ref": "TransitObject" +}, +"scopes": [ +"https://www.googleapis.com/auth/wallet_object.issuer" +] +}, +"insert": { +"description": "Inserts an transit object with the given ID and properties.", +"flatPath": "walletobjects/v1/transitObject", +"httpMethod": "POST", +"id": "walletobjects.transitobject.insert", +"parameterOrder": [], +"parameters": {}, +"path": "walletobjects/v1/transitObject", +"request": { +"$ref": "TransitObject" +}, +"response": { +"$ref": "TransitObject" +}, +"scopes": [ +"https://www.googleapis.com/auth/wallet_object.issuer" +] +}, +"list": { +"description": "Returns a list of all transit objects for a given issuer ID.", +"flatPath": "walletobjects/v1/transitObject", +"httpMethod": "GET", +"id": "walletobjects.transitobject.list", +"parameterOrder": [], +"parameters": { +"classId": { +"description": "The ID of the class whose objects will be listed.", +"location": "query", +"type": "string" +}, +"maxResults": { +"description": "Identifies the max number of results returned by a list. All results are returned if `maxResults` isn't defined.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"token": { +"description": "Used to get the next set of results if `maxResults` is specified, but more than `maxResults` objects are available in a list. For example, if you have a list of 200 objects and you call list with `maxResults` set to 20, list will return the first 20 objects and a token. Call list again with `maxResults` set to 20 and the token to get the next 20 objects.", +"location": "query", +"type": "string" +} +}, +"path": "walletobjects/v1/transitObject", +"response": { +"$ref": "TransitObjectListResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/wallet_object.issuer" +] +}, +"patch": { +"description": "Updates the transit object referenced by the given object ID. This method supports patch semantics.", +"flatPath": "walletobjects/v1/transitObject/{resourceId}", +"httpMethod": "PATCH", +"id": "walletobjects.transitobject.patch", +"parameterOrder": [ +"resourceId" +], +"parameters": { +"resourceId": { +"description": "The unique identifier for an object. This ID must be unique across all objects from an issuer. This value should follow the format issuer ID. identifier where the former is issued by Google and latter is chosen by you. Your unique identifier should only include alphanumeric characters, '.', '_', or '-'.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "walletobjects/v1/transitObject/{resourceId}", +"request": { +"$ref": "TransitObject" +}, +"response": { +"$ref": "TransitObject" +}, +"scopes": [ +"https://www.googleapis.com/auth/wallet_object.issuer" +] +}, +"update": { +"description": "Updates the transit object referenced by the given object ID.", +"flatPath": "walletobjects/v1/transitObject/{resourceId}", +"httpMethod": "PUT", +"id": "walletobjects.transitobject.update", +"parameterOrder": [ +"resourceId" +], +"parameters": { +"resourceId": { +"description": "The unique identifier for an object. This ID must be unique across all objects from an issuer. This value should follow the format issuer ID. identifier where the former is issued by Google and latter is chosen by you. Your unique identifier should only include alphanumeric characters, '.', '_', or '-'.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "walletobjects/v1/transitObject/{resourceId}", +"request": { +"$ref": "TransitObject" +}, +"response": { +"$ref": "TransitObject" +}, +"scopes": [ +"https://www.googleapis.com/auth/wallet_object.issuer" +] +} +} +}, +"walletobjects": { +"resources": { +"v1": { +"resources": { +"privateContent": { +"methods": { +"setPassUpdateNotice": { +"description": "Provide Google with information about awaiting private pass update. This will allow Google to provide the update notification to the device that currently holds this pass.", +"flatPath": "walletobjects/v1/privateContent/setPassUpdateNotice", +"httpMethod": "POST", +"id": "walletobjects.walletobjects.v1.privateContent.setPassUpdateNotice", +"parameterOrder": [], +"parameters": {}, +"path": "walletobjects/v1/privateContent/setPassUpdateNotice", +"request": { +"$ref": "SetPassUpdateNoticeRequest" +}, +"response": { +"$ref": "SetPassUpdateNoticeResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/wallet_object.issuer" +] +} +} +} +} +} +} +} +}, +"revision": "20260220", +"rootUrl": "https://walletobjects.googleapis.com/", +"schemas": { +"ActivationOptions": { +"description": "ActivationOptions for the class", +"id": "ActivationOptions", +"properties": { +"activationUrl": { +"description": "HTTPS URL that supports REST semantics. Would be used for requesting activation from partners for given valuable, triggered by the users.", +"type": "string" +}, +"allowReactivation": { +"description": "Flag to allow users to make activation call from different device. This allows client to render the activation button enabled even if the activationStatus is ACTIVATED but the requested device is different than the current device.", +"type": "boolean" +} +}, +"type": "object" +}, +"ActivationStatus": { +"description": "The activation status of the object. This field includes activation status if valuable supports activation.", +"id": "ActivationStatus", +"properties": { +"state": { +"enum": [ +"UNKNOWN_STATE", +"NOT_ACTIVATED", +"not_activated", +"ACTIVATED", +"activated" +], +"enumDeprecated": [ +false, +false, +true, +false, +true +], +"enumDescriptions": [ +"", +"Not-Activated, this is the default status", +"Legacy alias for `NOT_ACTIVATED`. Deprecated.", +"Activated", +"Legacy alias for `ACTIVATED`. Deprecated." +], +"type": "string" +} +}, +"type": "object" +}, +"AddMessageRequest": { +"description": "Resource used when the AddMessage endpoints are called.", +"id": "AddMessageRequest", +"properties": { +"message": { +"$ref": "Message" +} +}, +"type": "object" +}, +"AirportInfo": { +"id": "AirportInfo", +"properties": { +"airportIataCode": { +"description": "Three character IATA airport code. This is a required field for `origin` and `destination`. Eg: \"SFO\"", +"type": "string" +}, +"airportNameOverride": { +"$ref": "LocalizedString", +"description": "Optional field that overrides the airport city name defined by IATA. By default, Google takes the `airportIataCode` provided and maps it to the official airport city name defined by IATA. Official IATA airport city names can be found at IATA airport city names website. For example, for the airport IATA code \"LTN\", IATA website tells us that the corresponding airport city is \"London\". If this field is not populated, Google would display \"London\". However, populating this field with a custom name (eg: \"London Luton\") would override it." +}, +"gate": { +"description": "A name of the gate. Eg: \"B59\" or \"59\"", +"type": "string" +}, +"kind": { +"deprecated": true, +"description": "Identifies what kind of resource this is. Value: the fixed string `\"walletobjects#airportInfo\"`.", +"type": "string" +}, +"terminal": { +"description": "Terminal name. Eg: \"INTL\" or \"I\"", +"type": "string" +} +}, +"type": "object" +}, +"AppLinkData": { +"id": "AppLinkData", +"properties": { +"androidAppLinkInfo": { +"$ref": "AppLinkDataAppLinkInfo", +"description": "Optional information about the partner app link." +}, +"displayText": { +"$ref": "LocalizedString", +"description": "Optional display text for the app link button. Character limit is 30." +}, +"iosAppLinkInfo": { +"$ref": "AppLinkDataAppLinkInfo", +"deprecated": true, +"description": "Deprecated. Links to open iOS apps are not supported." +}, +"webAppLinkInfo": { +"$ref": "AppLinkDataAppLinkInfo", +"description": "Optional information about the partner web link." +} +}, +"type": "object" +}, +"AppLinkDataAppLinkInfo": { +"id": "AppLinkDataAppLinkInfo", +"properties": { +"appLogoImage": { +"$ref": "Image", +"deprecated": true, +"description": "Deprecated. Image isn't supported in the app link module." +}, +"appTarget": { +"$ref": "AppLinkDataAppLinkInfoAppTarget", +"description": "Target to follow when opening the app link on clients. It will be used by partners to open their app or webpage." +}, +"description": { +"$ref": "LocalizedString", +"deprecated": true, +"description": "Deprecated. Description isn't supported in the app link module." +}, +"title": { +"$ref": "LocalizedString", +"deprecated": true, +"description": "Deprecated. Title isn't supported in the app link module." +} +}, +"type": "object" +}, +"AppLinkDataAppLinkInfoAppTarget": { +"id": "AppLinkDataAppLinkInfoAppTarget", +"properties": { +"packageName": { +"description": "Package name for AppTarget. For example: com.google.android.gm", +"type": "string" +}, +"targetUri": { +"$ref": "Uri", +"description": "URI for AppTarget. The description on the URI must be set. Prefer setting package field instead, if this target is defined for your application." +} +}, +"type": "object" +}, +"AuthenticationKey": { +"id": "AuthenticationKey", +"properties": { +"id": { +"description": "Available only to Smart Tap enabled partners. Contact support for additional guidance.", +"format": "int32", +"type": "integer" +}, +"publicKeyPem": { +"description": "Available only to Smart Tap enabled partners. Contact support for additional guidance.", +"type": "string" +} +}, +"type": "object" +}, +"Barcode": { +"id": "Barcode", +"properties": { +"alternateText": { +"description": "An optional text that will override the default text that shows under the barcode. This field is intended for a human readable equivalent of the barcode value, used when the barcode cannot be scanned.", +"type": "string" +}, +"kind": { +"deprecated": true, +"description": "Identifies what kind of resource this is. Value: the fixed string `\"walletobjects#barcode\"`.", +"type": "string" +}, +"renderEncoding": { +"description": "The render encoding for the barcode. When specified, barcode is rendered in the given encoding. Otherwise best known encoding is chosen by Google.", +"enum": [ +"RENDER_ENCODING_UNSPECIFIED", +"UTF_8" +], +"enumDescriptions": [ +"", +"UTF_8 encoding for barcodes. This is only supported for barcode type qrCode." +], +"type": "string" +}, +"showCodeText": { +"$ref": "LocalizedString", +"description": "Optional text that will be shown when the barcode is hidden behind a click action. This happens in cases where a pass has Smart Tap enabled. If not specified, a default is chosen by Google." +}, +"type": { +"description": "The type of barcode.", +"enum": [ +"BARCODE_TYPE_UNSPECIFIED", +"AZTEC", +"aztec", +"CODE_39", +"code39", +"CODE_128", +"code128", +"CODABAR", +"codabar", +"DATA_MATRIX", +"dataMatrix", +"EAN_8", +"ean8", +"EAN_13", +"ean13", +"EAN13", +"ITF_14", +"itf14", +"PDF_417", +"pdf417", +"PDF417", +"QR_CODE", +"qrCode", +"qrcode", +"UPC_A", +"upcA", +"TEXT_ONLY", +"textOnly" +], +"enumDeprecated": [ +false, +false, +true, +false, +true, +false, +true, +false, +true, +false, +true, +false, +true, +false, +true, +true, +false, +true, +false, +true, +true, +false, +true, +true, +false, +true, +false, +true +], +"enumDescriptions": [ +"", +"Not supported for Rotating Barcodes.", +"Legacy alias for `AZTEC`. Deprecated. Not supported for Rotating Barcodes.", +"Not supported for Rotating Barcodes.", +"Legacy alias for `CODE_39`. Deprecated. Not supported for Rotating Barcodes.", +"Not supported for Rotating Barcodes.", +"Legacy alias for `CODE_128`. Deprecated. Not supported for Rotating Barcodes.", +"Not supported for Rotating Barcodes.", +"Legacy alias for `CODABAR`. Deprecated. Not supported for Rotating Barcodes.", +"A 2D matrix barcode consisting of black and white. Cells or modules are arranged in either a square or rectangle. Not supported for Rotating Barcodes.", +"Legacy alias for `DATA_MATRIX`. Deprecated. Not supported for Rotating Barcodes.", +"Not supported for Rotating Barcodes.", +"Legacy alias for `EAN_8`. Deprecated. Not supported for Rotating Barcodes.", +"Not supported for Rotating Barcodes.", +"Legacy alias for `EAN_13`. Deprecated. Not supported for Rotating Barcodes.", +"Legacy alias for `EAN_13`. Deprecated. Not supported for Rotating Barcodes.", +"14 digit ITF code Not supported for Rotating Barcodes.", +"Legacy alias for `ITF_14`. Deprecated. Not supported for Rotating Barcodes.", +"Supported for Rotating Barcodes.", +"Legacy alias for `PDF_417`. Deprecated.", +"Legacy alias for `PDF_417`. Deprecated.", +"Supported for Rotating Barcodes.", +"Legacy alias for `QR_CODE`. Deprecated.", +"Legacy alias for `QR_CODE`. Deprecated.", +"11 or 12 digit codes Not supported for Rotating Barcodes.", +"Legacy alias for `UPC_A`. Deprecated. Not supported for Rotating Barcodes.", +"Renders the field as a text field. The `alternateText` field may not be used with a barcode of type `textOnly`. Not supported for Rotating Barcodes.", +"Legacy alias for `TEXT_ONLY`. Deprecated. Not supported for Rotating Barcodes." +], +"type": "string" +}, +"value": { +"description": "The value encoded in the barcode.", +"type": "string" +} +}, +"type": "object" +}, +"BarcodeSectionDetail": { +"id": "BarcodeSectionDetail", +"properties": { +"fieldSelector": { +"$ref": "FieldSelector", +"description": "A reference to an existing text-based or image field to display." +} +}, +"type": "object" +}, +"Blobstore2Info": { +"description": "Information to read/write to blobstore2.", +"id": "Blobstore2Info", +"properties": { +"blobGeneration": { +"description": "The blob generation id.", +"format": "int64", +"type": "string" +}, +"blobId": { +"description": "The blob id, e.g., /blobstore/prod/playground/scotty", +"type": "string" +}, +"downloadExternalReadToken": { +"description": "A serialized External Read Token passed from Bigstore -> Scotty for a GCS download. This field must never be consumed outside of Bigstore, and is not applicable to non-GCS media uploads.", +"format": "byte", +"type": "string" +}, +"downloadReadHandle": { +"description": "Read handle passed from Bigstore -> Scotty for a GCS download. This is a signed, serialized blobstore2.ReadHandle proto which must never be set outside of Bigstore, and is not applicable to non-GCS media downloads.", +"format": "byte", +"type": "string" +}, +"readToken": { +"description": "The blob read token. Needed to read blobs that have not been replicated. Might not be available until the final call.", +"type": "string" +}, +"uploadFragmentListCreationInfo": { +"description": "A serialized Object Fragment List Creation Info passed from Bigstore -> Scotty for a GCS upload. This field must never be consumed outside of Bigstore, and is not applicable to non-GCS media uploads.", +"format": "byte", +"type": "string" +}, +"uploadMetadataContainer": { +"description": "Metadata passed from Blobstore -> Scotty for a new GCS upload. This is a signed, serialized blobstore2.BlobMetadataContainer proto which must never be consumed outside of Bigstore, and is not applicable to non-GCS media uploads.", +"format": "byte", +"type": "string" +} +}, +"type": "object" +}, +"BoardingAndSeatingInfo": { +"id": "BoardingAndSeatingInfo", +"properties": { +"boardingDoor": { +"description": "Set this field only if this flight boards through more than one door or bridge and you want to explicitly print the door location on the boarding pass. Most airlines route their passengers to the right door or bridge by refering to doors/bridges by the `seatClass`. In those cases `boardingDoor` should not be set.", +"enum": [ +"BOARDING_DOOR_UNSPECIFIED", +"FRONT", +"front", +"BACK", +"back" +], +"enumDeprecated": [ +false, +false, +true, +false, +true +], +"enumDescriptions": [ +"", +"", +"Legacy alias for `FRONT`. Deprecated.", +"", +"Legacy alias for `BACK`. Deprecated." +], +"type": "string" +}, +"boardingGroup": { +"description": "The value of boarding group (or zone) this passenger shall board with. eg: \"B\" The label for this value will be determined by the `boardingPolicy` field in the `flightClass` referenced by this object.", +"type": "string" +}, +"boardingPosition": { +"description": "The value of boarding position. eg: \"76\"", +"type": "string" +}, +"boardingPrivilegeImage": { +"$ref": "Image", +"description": "A small image shown above the boarding barcode. Airlines can use it to communicate any special boarding privileges. In the event the security program logo is also set, this image might be rendered alongside the logo for that security program." +}, +"kind": { +"deprecated": true, +"description": "Identifies what kind of resource this is. Value: the fixed string `\"walletobjects#boardingAndSeatingInfo\"`.", +"type": "string" +}, +"seatAssignment": { +"$ref": "LocalizedString", +"description": "The passenger's seat assignment. To be used when there is no specific identifier to use in `seatNumber`. eg: \"assigned at gate\"" +}, +"seatClass": { +"description": "The value of the seat class. eg: \"Economy\" or \"Economy Plus\"", +"type": "string" +}, +"seatNumber": { +"description": "The value of passenger seat. If there is no specific identifier, use `seatAssignment` instead. eg: \"25A\"", +"type": "string" +}, +"sequenceNumber": { +"description": "The sequence number on the boarding pass. This usually matches the sequence in which the passengers checked in. Airline might use the number for manual boarding and bag tags. eg: \"49\"", +"type": "string" +} +}, +"type": "object" +}, +"BoardingAndSeatingPolicy": { +"id": "BoardingAndSeatingPolicy", +"properties": { +"boardingPolicy": { +"description": "Indicates the policy the airline uses for boarding. If unset, Google will default to `zoneBased`.", +"enum": [ +"BOARDING_POLICY_UNSPECIFIED", +"ZONE_BASED", +"zoneBased", +"GROUP_BASED", +"groupBased", +"BOARDING_POLICY_OTHER", +"boardingPolicyOther" +], +"enumDeprecated": [ +false, +false, +true, +false, +true, +false, +true +], +"enumDescriptions": [ +"", +"", +"Legacy alias for `ZONE_BASED`. Deprecated.", +"", +"Legacy alias for `GROUP_BASED`. Deprecated.", +"", +"Legacy alias for `BOARDING_POLICY_OTHER`. Deprecated." +], +"type": "string" +}, +"kind": { +"deprecated": true, +"description": "Identifies what kind of resource this is. Value: the fixed string `\"walletobjects#boardingAndSeatingPolicy\"`.", +"type": "string" +}, +"seatClassPolicy": { +"description": "Seating policy which dictates how we display the seat class. If unset, Google will default to `cabinBased`.", +"enum": [ +"SEAT_CLASS_POLICY_UNSPECIFIED", +"CABIN_BASED", +"cabinBased", +"CLASS_BASED", +"classBased", +"TIER_BASED", +"tierBased", +"SEAT_CLASS_POLICY_OTHER", +"seatClassPolicyOther" +], +"enumDeprecated": [ +false, +false, +true, +false, +true, +false, +true, +false, +true +], +"enumDescriptions": [ +"", +"", +"Legacy alias for `CABIN_BASED`. Deprecated.", +"", +"Legacy alias for `CLASS_BASED`. Deprecated.", +"", +"Legacy alias for `TIER_BASED`. Deprecated.", +"", +"Legacy alias for `SEAT_CLASS_POLICY_OTHER`. Deprecated." +], +"type": "string" +} +}, +"type": "object" +}, +"CallbackOptions": { +"id": "CallbackOptions", +"properties": { +"updateRequestUrl": { +"deprecated": true, +"description": "URL for the merchant endpoint that would be called to request updates. The URL should be hosted on HTTPS and robots.txt should allow the URL path to be accessible by UserAgent:Googlebot. Deprecated.", +"type": "string" +}, +"url": { +"description": "The HTTPS url configured by the merchant. The URL should be hosted on HTTPS and robots.txt should allow the URL path to be accessible by UserAgent:Googlebot.", +"type": "string" +} +}, +"type": "object" +}, +"CardBarcodeSectionDetails": { +"id": "CardBarcodeSectionDetails", +"properties": { +"firstBottomDetail": { +"$ref": "BarcodeSectionDetail", +"description": "Optional information to display below the barcode." +}, +"firstTopDetail": { +"$ref": "BarcodeSectionDetail", +"description": "Optional information to display above the barcode. If `secondTopDetail` is defined, this will be displayed to the start side of this detail section." +}, +"secondTopDetail": { +"$ref": "BarcodeSectionDetail", +"description": "Optional second piece of information to display above the barcode. If `firstTopDetail` is defined, this will be displayed to the end side of this detail section." +} +}, +"type": "object" +}, +"CardRowOneItem": { +"id": "CardRowOneItem", +"properties": { +"item": { +"$ref": "TemplateItem", +"description": "The item to be displayed in the row. This item will be automatically centered." +} +}, +"type": "object" +}, +"CardRowTemplateInfo": { +"id": "CardRowTemplateInfo", +"properties": { +"oneItem": { +"$ref": "CardRowOneItem", +"description": "Template for a row containing one item. Exactly one of \"one_item\", \"two_items\", \"three_items\" must be set." +}, +"threeItems": { +"$ref": "CardRowThreeItems", +"description": "Template for a row containing three items. Exactly one of \"one_item\", \"two_items\", \"three_items\" must be set." +}, +"twoItems": { +"$ref": "CardRowTwoItems", +"description": "Template for a row containing two items. Exactly one of \"one_item\", \"two_items\", \"three_items\" must be set." +} +}, +"type": "object" +}, +"CardRowThreeItems": { +"id": "CardRowThreeItems", +"properties": { +"endItem": { +"$ref": "TemplateItem", +"description": "The item to be displayed at the end of the row. This item will be aligned to the right." +}, +"middleItem": { +"$ref": "TemplateItem", +"description": "The item to be displayed in the middle of the row. This item will be centered between the start and end items." +}, +"startItem": { +"$ref": "TemplateItem", +"description": "The item to be displayed at the start of the row. This item will be aligned to the left." +} +}, +"type": "object" +}, +"CardRowTwoItems": { +"id": "CardRowTwoItems", +"properties": { +"endItem": { +"$ref": "TemplateItem", +"description": "The item to be displayed at the end of the row. This item will be aligned to the right." +}, +"startItem": { +"$ref": "TemplateItem", +"description": "The item to be displayed at the start of the row. This item will be aligned to the left." +} +}, +"type": "object" +}, +"CardTemplateOverride": { +"id": "CardTemplateOverride", +"properties": { +"cardRowTemplateInfos": { +"description": "Template information for rows in the card view. At most three rows are allowed to be specified.", +"items": { +"$ref": "CardRowTemplateInfo" +}, +"type": "array" +} +}, +"type": "object" +}, +"ClassTemplateInfo": { +"id": "ClassTemplateInfo", +"properties": { +"cardBarcodeSectionDetails": { +"$ref": "CardBarcodeSectionDetails", +"description": "Specifies extra information to be displayed above and below the barcode." +}, +"cardTemplateOverride": { +"$ref": "CardTemplateOverride", +"description": "Override for the card view." +}, +"detailsTemplateOverride": { +"$ref": "DetailsTemplateOverride", +"description": "Override for the details view (beneath the card view)." +}, +"listTemplateOverride": { +"$ref": "ListTemplateOverride", +"description": "Override for the passes list view." +} +}, +"type": "object" +}, +"CompositeMedia": { +"description": "A sequence of media data references representing composite data. Introduced to support Bigstore composite objects. For details, visit http://go/bigstore-composites.", +"id": "CompositeMedia", +"properties": { +"blobRef": { +"deprecated": true, +"description": "Blobstore v1 reference, set if reference_type is BLOBSTORE_REF This should be the byte representation of a blobstore.BlobRef. Since Blobstore is deprecating v1, use blobstore2_info instead. For now, any v2 blob will also be represented in this field as v1 BlobRef.", +"format": "byte", +"type": "string" +}, +"blobstore2Info": { +"$ref": "Blobstore2Info", +"description": "Blobstore v2 info, set if reference_type is BLOBSTORE_REF and it refers to a v2 blob." +}, +"cosmoBinaryReference": { +"description": "A binary data reference for a media download. Serves as a technology-agnostic binary reference in some Google infrastructure. This value is a serialized storage_cosmo.BinaryReference proto. Storing it as bytes is a hack to get around the fact that the cosmo proto (as well as others it includes) doesn't support JavaScript. This prevents us from including the actual type of this field.", +"format": "byte", +"type": "string" +}, +"crc32cHash": { +"description": "crc32.c hash for the payload.", +"format": "uint32", +"type": "integer" +}, +"inline": { +"description": "Media data, set if reference_type is INLINE", +"format": "byte", +"type": "string" +}, +"length": { +"description": "Size of the data, in bytes", +"format": "int64", +"type": "string" +}, +"md5Hash": { +"description": "MD5 hash for the payload.", +"format": "byte", +"type": "string" +}, +"objectId": { +"$ref": "ObjectId", +"description": "Reference to a TI Blob, set if reference_type is BIGSTORE_REF." +}, +"path": { +"description": "Path to the data, set if reference_type is PATH", +"type": "string" +}, +"referenceType": { +"description": "Describes what the field reference contains.", +"enum": [ +"PATH", +"BLOB_REF", +"INLINE", +"BIGSTORE_REF", +"COSMO_BINARY_REFERENCE" +], +"enumDescriptions": [ +"Reference contains a GFS path or a local path.", +"Reference points to a blobstore object. This could be either a v1 blob_ref or a v2 blobstore2_info. Clients should check blobstore2_info first, since v1 is being deprecated.", +"Data is included into this proto buffer", +"Reference points to a bigstore object", +"Indicates the data is stored in cosmo_binary_reference." +], +"type": "string" +}, +"sha1Hash": { +"description": "SHA-1 hash for the payload.", +"format": "byte", +"type": "string" +} +}, +"type": "object" +}, +"ContentTypeInfo": { +"description": "Detailed Content-Type information from Scotty. The Content-Type of the media will typically be filled in by the header or Scotty's best_guess, but this extended information provides the backend with more information so that it can make a better decision if needed. This is only used on media upload requests from Scotty.", +"id": "ContentTypeInfo", +"properties": { +"bestGuess": { +"description": "Scotty's best guess of what the content type of the file is.", +"type": "string" +}, +"fromBytes": { +"description": "The content type of the file derived by looking at specific bytes (i.e. \"magic bytes\") of the actual file.", +"type": "string" +}, +"fromFileName": { +"description": "The content type of the file derived from the file extension of the original file name used by the client.", +"type": "string" +}, +"fromHeader": { +"description": "The content type of the file as specified in the request headers, multipart headers, or RUPIO start request.", +"type": "string" +}, +"fromUrlPath": { +"description": "The content type of the file derived from the file extension of the URL path. The URL path is assumed to represent a file name (which is typically only true for agents that are providing a REST API).", +"type": "string" +} +}, +"type": "object" +}, +"DateTime": { +"id": "DateTime", +"properties": { +"date": { +"description": "An ISO 8601 extended format date/time. Offset may or may not be required (refer to the parent field's documentation). Time may be specified up to nanosecond precision. Offsets may be specified with seconds precision (even though offset seconds is not part of ISO 8601). For example: `1985-04-12T23:20:50.52Z` would be 20 minutes and 50.52 seconds after the 23rd hour of April 12th, 1985 in UTC. `1985-04-12T19:20:50.52-04:00` would be 20 minutes and 50.52 seconds after the 19th hour of April 12th, 1985, 4 hours before UTC (same instant in time as the above example). If the date/time is intended for a physical location in New York, this would be the equivalent of Eastern Daylight Time (EDT). Remember that offset varies in regions that observe Daylight Saving Time (or Summer Time), depending on the time of the year. `1985-04-12T19:20:50.52` would be 20 minutes and 50.52 seconds after the 19th hour of April 12th, 1985 with no offset information. Providing an offset makes this an absolute instant in time around the world. The date/time will be adjusted based on the user's time zone. For example, a time of `2018-06-19T18:30:00-04:00` will be 18:30:00 for a user in New York and 15:30:00 for a user in Los Angeles. Omitting the offset makes this a local date/time, representing several instants in time around the world. The date/time will always be in the user's current time zone. For example, a time of `2018-06-19T18:30:00` will be 18:30:00 for a user in New York and also 18:30:00 for a user in Los Angeles. This is useful when the same local date/time should apply to many physical locations across several time zones.", +"type": "string" +} +}, +"type": "object" +}, +"DetailsItemInfo": { +"id": "DetailsItemInfo", +"properties": { +"item": { +"$ref": "TemplateItem", +"description": "The item to be displayed in the details list." +} +}, +"type": "object" +}, +"DetailsTemplateOverride": { +"id": "DetailsTemplateOverride", +"properties": { +"detailsItemInfos": { +"description": "Information for the \"nth\" item displayed in the details list.", +"items": { +"$ref": "DetailsItemInfo" +}, +"type": "array" +} +}, +"type": "object" +}, +"DeviceContext": { +"description": "Device context associated with the object.", +"id": "DeviceContext", +"properties": { +"deviceToken": { +"description": "If set, redemption information will only be returned to the given device upon activation of the object. This should not be used as a stable identifier to trace a user's device. It can change across different passes for the same device or even across different activations for the same device. When setting this, callers must also set has_linked_device on the object being activated.", +"type": "string" +} +}, +"type": "object" +}, +"DiffChecksumsResponse": { +"description": "Backend response for a Diff get checksums response. For details on the Scotty Diff protocol, visit http://go/scotty-diff-protocol.", +"id": "DiffChecksumsResponse", +"properties": { +"checksumsLocation": { +"$ref": "CompositeMedia", +"description": "Exactly one of these fields must be populated. If checksums_location is filled, the server will return the corresponding contents to the user. If object_location is filled, the server will calculate the checksums based on the content there and return that to the user. For details on the format of the checksums, see http://go/scotty-diff-protocol." +}, +"chunkSizeBytes": { +"description": "The chunk size of checksums. Must be a multiple of 256KB.", +"format": "int64", +"type": "string" +}, +"objectLocation": { +"$ref": "CompositeMedia", +"description": "If set, calculate the checksums based on the contents and return them to the caller." +}, +"objectSizeBytes": { +"description": "The total size of the server object.", +"format": "int64", +"type": "string" +}, +"objectVersion": { +"description": "The object version of the object the checksums are being returned for.", +"type": "string" +} +}, +"type": "object" +}, +"DiffDownloadResponse": { +"description": "Backend response for a Diff download response. For details on the Scotty Diff protocol, visit http://go/scotty-diff-protocol.", +"id": "DiffDownloadResponse", +"properties": { +"objectLocation": { +"$ref": "CompositeMedia", +"description": "The original object location." +} +}, +"type": "object" +}, +"DiffUploadRequest": { +"description": "A Diff upload request. For details on the Scotty Diff protocol, visit http://go/scotty-diff-protocol.", +"id": "DiffUploadRequest", +"properties": { +"checksumsInfo": { +"$ref": "CompositeMedia", +"description": "The location of the checksums for the new object. Agents must clone the object located here, as the upload server will delete the contents once a response is received. For details on the format of the checksums, see http://go/scotty-diff-protocol." +}, +"objectInfo": { +"$ref": "CompositeMedia", +"description": "The location of the new object. Agents must clone the object located here, as the upload server will delete the contents once a response is received." +}, +"objectVersion": { +"description": "The object version of the object that is the base version the incoming diff script will be applied to. This field will always be filled in.", +"type": "string" +} +}, +"type": "object" +}, +"DiffUploadResponse": { +"description": "Backend response for a Diff upload request. For details on the Scotty Diff protocol, visit http://go/scotty-diff-protocol.", +"id": "DiffUploadResponse", +"properties": { +"objectVersion": { +"description": "The object version of the object at the server. Must be included in the end notification response. The version in the end notification response must correspond to the new version of the object that is now stored at the server, after the upload.", +"type": "string" +}, +"originalObject": { +"$ref": "CompositeMedia", +"description": "The location of the original file for a diff upload request. Must be filled in if responding to an upload start notification." +} +}, +"type": "object" +}, +"DiffVersionResponse": { +"description": "Backend response for a Diff get version response. For details on the Scotty Diff protocol, visit http://go/scotty-diff-protocol.", +"id": "DiffVersionResponse", +"properties": { +"objectSizeBytes": { +"description": "The total size of the server object.", +"format": "int64", +"type": "string" +}, +"objectVersion": { +"description": "The version of the object stored at the server.", +"type": "string" +} +}, +"type": "object" +}, +"DiscoverableProgram": { +"description": "Information about how a class may be discovered and instantiated from within the Google Wallet app. This is done by searching for a loyalty or gift card program and scanning or manually entering.", +"id": "DiscoverableProgram", +"properties": { +"merchantSigninInfo": { +"$ref": "DiscoverableProgramMerchantSigninInfo", +"description": "Information about the ability to signin and add a valuable for this program through a merchant site. Used when MERCHANT_HOSTED_SIGNIN is enabled." +}, +"merchantSignupInfo": { +"$ref": "DiscoverableProgramMerchantSignupInfo", +"description": "Information about the ability to signup and add a valuable for this program through a merchant site. Used when MERCHANT_HOSTED_SIGNUP is enabled." +}, +"state": { +"description": "Visibility state of the discoverable program.", +"enum": [ +"STATE_UNSPECIFIED", +"TRUSTED_TESTERS", +"trustedTesters", +"LIVE", +"live", +"DISABLED", +"disabled" +], +"enumDeprecated": [ +false, +false, +true, +false, +true, +false, +true +], +"enumDescriptions": [ +"", +"Visible only to testers that have access to issuer account.", +"Legacy alias for `TRUSTED_TESTERS`. Deprecated.", +"Visible to all.", +"Legacy alias for `LIVE`. Deprecated.", +"Not visible.", +"Legacy alias for `DISABLED`. Deprecated." +], +"type": "string" +} +}, +"type": "object" +}, +"DiscoverableProgramMerchantSigninInfo": { +"description": "Information about the merchant hosted signin flow for a program.", +"id": "DiscoverableProgramMerchantSigninInfo", +"properties": { +"signinWebsite": { +"$ref": "Uri", +"description": "The URL to direct the user to for the merchant's signin site." +} +}, +"type": "object" +}, +"DiscoverableProgramMerchantSignupInfo": { +"description": "Information about the merchant hosted signup flow for a program.", +"id": "DiscoverableProgramMerchantSignupInfo", +"properties": { +"signupSharedDatas": { +"description": "User data that is sent in a POST request to the signup website URL. This information is encoded and then shared so that the merchant's website can prefill fields used to enroll the user for the discoverable program.", +"items": { +"enum": [ +"SHARED_DATA_TYPE_UNSPECIFIED", +"FIRST_NAME", +"LAST_NAME", +"STREET_ADDRESS", +"ADDRESS_LINE_1", +"ADDRESS_LINE_2", +"ADDRESS_LINE_3", +"CITY", +"STATE", +"ZIPCODE", +"COUNTRY", +"EMAIL", +"PHONE" +], +"enumDescriptions": [ +"", +"", +"", +"single line address field", +"multi line address fields", +"", +"", +"", +"", +"", +"", +"", +"" +], +"type": "string" +}, +"type": "array" +}, +"signupWebsite": { +"$ref": "Uri", +"description": "The URL to direct the user to for the merchant's signup site." +} +}, +"type": "object" +}, +"DownloadParameters": { +"description": "Parameters specific to media downloads.", +"id": "DownloadParameters", +"properties": { +"allowGzipCompression": { +"description": "A boolean to be returned in the response to Scotty. Allows/disallows gzip encoding of the payload content when the server thinks it's advantageous (hence, does not guarantee compression) which allows Scotty to GZip the response to the client.", +"type": "boolean" +}, +"ignoreRange": { +"description": "Determining whether or not Apiary should skip the inclusion of any Content-Range header on its response to Scotty.", +"type": "boolean" +} +}, +"type": "object" +}, +"EventDateTime": { +"id": "EventDateTime", +"properties": { +"customDoorsOpenLabel": { +"$ref": "LocalizedString", +"description": "A custom label to use for the doors open value (`doorsOpen`) on the card detail view. This should only be used if the default \"Doors Open\" label or one of the `doorsOpenLabel` options is not sufficient. Both `doorsOpenLabel` and `customDoorsOpenLabel` may not be set. If neither is set, the label will default to \"Doors Open\", localized. If the doors open field is unset, this label will not be used." +}, +"doorsOpen": { +"description": "The date/time when the doors open at the venue. This is an ISO 8601 extended format date/time, with or without an offset. Time may be specified up to nanosecond precision. Offsets may be specified with seconds precision (even though offset seconds is not part of ISO 8601). For example: `1985-04-12T23:20:50.52Z` would be 20 minutes and 50.52 seconds after the 23rd hour of April 12th, 1985 in UTC. `1985-04-12T19:20:50.52-04:00` would be 20 minutes and 50.52 seconds after the 19th hour of April 12th, 1985, 4 hours before UTC (same instant in time as the above example). If the event were in New York, this would be the equivalent of Eastern Daylight Time (EDT). Remember that offset varies in regions that observe Daylight Saving Time (or Summer Time), depending on the time of the year. `1985-04-12T19:20:50.52` would be 20 minutes and 50.52 seconds after the 19th hour of April 12th, 1985 with no offset information. The portion of the date/time without the offset is considered the \"local date/time\". This should be the local date/time at the venue. For example, if the event occurs at the 20th hour of June 5th, 2018 at the venue, the local date/time portion should be `2018-06-05T20:00:00`. If the local date/time at the venue is 4 hours before UTC, an offset of `-04:00` may be appended. Without offset information, some rich features may not be available.", +"type": "string" +}, +"doorsOpenLabel": { +"description": "The label to use for the doors open value (`doorsOpen`) on the card detail view. Each available option maps to a set of localized strings, so that translations are shown to the user based on their locale. Both `doorsOpenLabel` and `customDoorsOpenLabel` may not be set. If neither is set, the label will default to \"Doors Open\", localized. If the doors open field is unset, this label will not be used.", +"enum": [ +"DOORS_OPEN_LABEL_UNSPECIFIED", +"DOORS_OPEN", +"doorsOpen", +"GATES_OPEN", +"gatesOpen" +], +"enumDeprecated": [ +false, +false, +true, +false, +true +], +"enumDescriptions": [ +"", +"", +"Legacy alias for `DOORS_OPEN`. Deprecated.", +"", +"Legacy alias for `GATES_OPEN`. Deprecated." +], +"type": "string" +}, +"end": { +"description": "The date/time when the event ends. If the event spans multiple days, it should be the end date/time on the last day. This is an ISO 8601 extended format date/time, with or without an offset. Time may be specified up to nanosecond precision. Offsets may be specified with seconds precision (even though offset seconds is not part of ISO 8601). For example: `1985-04-12T23:20:50.52Z` would be 20 minutes and 50.52 seconds after the 23rd hour of April 12th, 1985 in UTC. `1985-04-12T19:20:50.52-04:00` would be 20 minutes and 50.52 seconds after the 19th hour of April 12th, 1985, 4 hours before UTC (same instant in time as the above example). If the event were in New York, this would be the equivalent of Eastern Daylight Time (EDT). Remember that offset varies in regions that observe Daylight Saving Time (or Summer Time), depending on the time of the year. `1985-04-12T19:20:50.52` would be 20 minutes and 50.52 seconds after the 19th hour of April 12th, 1985 with no offset information. The portion of the date/time without the offset is considered the \"local date/time\". This should be the local date/time at the venue. For example, if the event occurs at the 20th hour of June 5th, 2018 at the venue, the local date/time portion should be `2018-06-05T20:00:00`. If the local date/time at the venue is 4 hours before UTC, an offset of `-04:00` may be appended. Without offset information, some rich features may not be available.", +"type": "string" +}, +"kind": { +"deprecated": true, +"description": "Identifies what kind of resource this is. Value: the fixed string `\"walletobjects#eventDateTime\"`.", +"type": "string" +}, +"start": { +"description": "The date/time when the event starts. If the event spans multiple days, it should be the start date/time on the first day. This is an ISO 8601 extended format date/time, with or without an offset. Time may be specified up to nanosecond precision. Offsets may be specified with seconds precision (even though offset seconds is not part of ISO 8601). For example: `1985-04-12T23:20:50.52Z` would be 20 minutes and 50.52 seconds after the 23rd hour of April 12th, 1985 in UTC. `1985-04-12T19:20:50.52-04:00` would be 20 minutes and 50.52 seconds after the 19th hour of April 12th, 1985, 4 hours before UTC (same instant in time as the above example). If the event were in New York, this would be the equivalent of Eastern Daylight Time (EDT). Remember that offset varies in regions that observe Daylight Saving Time (or Summer Time), depending on the time of the year. `1985-04-12T19:20:50.52` would be 20 minutes and 50.52 seconds after the 19th hour of April 12th, 1985 with no offset information. The portion of the date/time without the offset is considered the \"local date/time\". This should be the local date/time at the venue. For example, if the event occurs at the 20th hour of June 5th, 2018 at the venue, the local date/time portion should be `2018-06-05T20:00:00`. If the local date/time at the venue is 4 hours before UTC, an offset of `-04:00` may be appended. Without offset information, some rich features may not be available.", +"type": "string" +} +}, +"type": "object" +}, +"EventReservationInfo": { +"id": "EventReservationInfo", +"properties": { +"confirmationCode": { +"description": "The confirmation code of the event reservation. This may also take the form of an \"order number\", \"confirmation number\", \"reservation number\", or other equivalent.", +"type": "string" +}, +"kind": { +"deprecated": true, +"description": "Identifies what kind of resource this is. Value: the fixed string `\"walletobjects#eventReservationInfo\"`.", +"type": "string" +} +}, +"type": "object" +}, +"EventSeat": { +"id": "EventSeat", +"properties": { +"gate": { +"$ref": "LocalizedString", +"description": "The gate the ticket holder should enter to get to their seat, such as \"A\" or \"West\". This field is localizable so you may translate words or use different alphabets for the characters in an identifier." +}, +"kind": { +"deprecated": true, +"description": "Identifies what kind of resource this is. Value: the fixed string `\"walletobjects#eventSeat\"`.", +"type": "string" +}, +"row": { +"$ref": "LocalizedString", +"description": "The row of the seat, such as \"1\", E\", \"BB\", or \"A5\". This field is localizable so you may translate words or use different alphabets for the characters in an identifier." +}, +"seat": { +"$ref": "LocalizedString", +"description": "The seat number, such as \"1\", \"2\", \"3\", or any other seat identifier. This field is localizable so you may translate words or use different alphabets for the characters in an identifier." +}, +"section": { +"$ref": "LocalizedString", +"description": "The section of the seat, such as \"121\". This field is localizable so you may translate words or use different alphabets for the characters in an identifier." +} +}, +"type": "object" +}, +"EventTicketClass": { +"id": "EventTicketClass", +"properties": { +"allowMultipleUsersPerObject": { +"deprecated": true, +"description": "Deprecated. Use `multipleDevicesAndHoldersAllowedStatus` instead.", +"type": "boolean" +}, +"appLinkData": { +"$ref": "AppLinkData", +"description": "Optional app or website link that will be displayed as a button on the front of the pass. If AppLinkData is provided for the corresponding object that will be used instead." +}, +"callbackOptions": { +"$ref": "CallbackOptions", +"description": "Callback options to be used to call the issuer back for every save/delete of an object for this class by the end-user. All objects of this class are eligible for the callback." +}, +"classTemplateInfo": { +"$ref": "ClassTemplateInfo", +"description": "Template information about how the class should be displayed. If unset, Google will fallback to a default set of fields to display." +}, +"confirmationCodeLabel": { +"description": "The label to use for the confirmation code value (`eventTicketObject.reservationInfo.confirmationCode`) on the card detail view. Each available option maps to a set of localized strings, so that translations are shown to the user based on their locale. Both `confirmationCodeLabel` and `customConfirmationCodeLabel` may not be set. If neither is set, the label will default to \"Confirmation Code\", localized. If the confirmation code field is unset, this label will not be used.", +"enum": [ +"CONFIRMATION_CODE_LABEL_UNSPECIFIED", +"CONFIRMATION_CODE", +"confirmationCode", +"CONFIRMATION_NUMBER", +"confirmationNumber", +"ORDER_NUMBER", +"orderNumber", +"RESERVATION_NUMBER", +"reservationNumber" +], +"enumDeprecated": [ +false, +false, +true, +false, +true, +false, +true, +false, +true +], +"enumDescriptions": [ +"", +"", +"Legacy alias for `CONFIRMATION_CODE`. Deprecated.", +"", +"Legacy alias for `CONFIRMATION_NUMBER`. Deprecated.", +"", +"Legacy alias for `ORDER_NUMBER`. Deprecated.", +"", +"Legacy alias for `RESERVATION_NUMBER`. Deprecated." +], +"type": "string" +}, +"countryCode": { +"description": "Country code used to display the card's country (when the user is not in that country), as well as to display localized content when content is not available in the user's locale.", +"type": "string" +}, +"customConfirmationCodeLabel": { +"$ref": "LocalizedString", +"description": "A custom label to use for the confirmation code value (`eventTicketObject.reservationInfo.confirmationCode`) on the card detail view. This should only be used if the default \"Confirmation Code\" label or one of the `confirmationCodeLabel` options is not sufficient. Both `confirmationCodeLabel` and `customConfirmationCodeLabel` may not be set. If neither is set, the label will default to \"Confirmation Code\", localized. If the confirmation code field is unset, this label will not be used." +}, +"customGateLabel": { +"$ref": "LocalizedString", +"description": "A custom label to use for the gate value (`eventTicketObject.seatInfo.gate`) on the card detail view. This should only be used if the default \"Gate\" label or one of the `gateLabel` options is not sufficient. Both `gateLabel` and `customGateLabel` may not be set. If neither is set, the label will default to \"Gate\", localized. If the gate field is unset, this label will not be used." +}, +"customRowLabel": { +"$ref": "LocalizedString", +"description": "A custom label to use for the row value (`eventTicketObject.seatInfo.row`) on the card detail view. This should only be used if the default \"Row\" label or one of the `rowLabel` options is not sufficient. Both `rowLabel` and `customRowLabel` may not be set. If neither is set, the label will default to \"Row\", localized. If the row field is unset, this label will not be used." +}, +"customSeatLabel": { +"$ref": "LocalizedString", +"description": "A custom label to use for the seat value (`eventTicketObject.seatInfo.seat`) on the card detail view. This should only be used if the default \"Seat\" label or one of the `seatLabel` options is not sufficient. Both `seatLabel` and `customSeatLabel` may not be set. If neither is set, the label will default to \"Seat\", localized. If the seat field is unset, this label will not be used." +}, +"customSectionLabel": { +"$ref": "LocalizedString", +"description": "A custom label to use for the section value (`eventTicketObject.seatInfo.section`) on the card detail view. This should only be used if the default \"Section\" label or one of the `sectionLabel` options is not sufficient. Both `sectionLabel` and `customSectionLabel` may not be set. If neither is set, the label will default to \"Section\", localized. If the section field is unset, this label will not be used." +}, +"dateTime": { +"$ref": "EventDateTime", +"description": "The date & time information of the event." +}, +"enableSmartTap": { +"description": "Identifies whether this class supports Smart Tap. The `redemptionIssuers` and object level `smartTapRedemptionLevel` fields must also be set up correctly in order for a pass to support Smart Tap.", +"type": "boolean" +}, +"eventId": { +"description": "The ID of the event. This ID should be unique for every event in an account. It is used to group tickets together if the user has saved multiple tickets for the same event. It can be at most 64 characters. If provided, the grouping will be stable. Be wary of unintentional collision to avoid grouping tickets that should not be grouped. If you use only one class per event, you can simply set this to the `classId` (with or without the issuer ID portion). If not provided, the platform will attempt to use other data to group tickets (potentially unstable).", +"type": "string" +}, +"eventName": { +"$ref": "LocalizedString", +"description": "Required. The name of the event, such as \"LA Dodgers at SF Giants\"." +}, +"finePrint": { +"$ref": "LocalizedString", +"description": "The fine print, terms, or conditions of the ticket." +}, +"gateLabel": { +"description": "The label to use for the gate value (`eventTicketObject.seatInfo.gate`) on the card detail view. Each available option maps to a set of localized strings, so that translations are shown to the user based on their locale. Both `gateLabel` and `customGateLabel` may not be set. If neither is set, the label will default to \"Gate\", localized. If the gate field is unset, this label will not be used.", +"enum": [ +"GATE_LABEL_UNSPECIFIED", +"GATE", +"gate", +"DOOR", +"door", +"ENTRANCE", +"entrance" +], +"enumDeprecated": [ +false, +false, +true, +false, +true, +false, +true +], +"enumDescriptions": [ +"", +"", +"Legacy alias for `GATE`. Deprecated.", +"", +"Legacy alias for `DOOR`. Deprecated.", +"", +"Legacy alias for `ENTRANCE`. Deprecated." +], +"type": "string" +}, +"heroImage": { +"$ref": "Image", +"description": "Optional banner image displayed on the front of the card. If none is present, nothing will be displayed. The image will display at 100% width." +}, +"hexBackgroundColor": { +"description": "The background color for the card. If not set the dominant color of the hero image is used, and if no hero image is set, the dominant color of the logo is used. The format is #rrggbb where rrggbb is a hex RGB triplet, such as `#ffcc00`. You can also use the shorthand version of the RGB triplet which is #rgb, such as `#fc0`.", +"type": "string" +}, +"homepageUri": { +"$ref": "Uri", +"description": "The URI of your application's home page. Populating the URI in this field results in the exact same behavior as populating an URI in linksModuleData (when an object is rendered, a link to the homepage is shown in what would usually be thought of as the linksModuleData section of the object)." +}, +"id": { +"description": "Required. The unique identifier for a class. This ID must be unique across all classes from an issuer. This value should follow the format issuer ID. identifier where the former is issued by Google and latter is chosen by you. Your unique identifier should only include alphanumeric characters, '.', '_', or '-'.", +"type": "string" +}, +"imageModulesData": { +"description": "Image module data. The maximum number of these fields displayed is 1 from object level and 1 for class object level.", +"items": { +"$ref": "ImageModuleData" +}, +"type": "array" +}, +"infoModuleData": { +"$ref": "InfoModuleData", +"deprecated": true, +"description": "Deprecated. Use textModulesData instead." +}, +"issuerName": { +"description": "Required. The issuer name. Recommended maximum length is 20 characters to ensure full string is displayed on smaller screens.", +"type": "string" +}, +"kind": { +"deprecated": true, +"description": "Identifies what kind of resource this is. Value: the fixed string `\"walletobjects#eventTicketClass\"`.", +"type": "string" +}, +"linksModuleData": { +"$ref": "LinksModuleData", +"description": "Links module data. If links module data is also defined on the object, both will be displayed." +}, +"localizedIssuerName": { +"$ref": "LocalizedString", +"description": "Translated strings for the issuer_name. Recommended maximum length is 20 characters to ensure full string is displayed on smaller screens." +}, +"locations": { +"deprecated": true, +"description": "Note: This field is currently not supported to trigger geo notifications.", +"items": { +"$ref": "LatLongPoint" +}, +"type": "array" +}, +"logo": { +"$ref": "Image", +"description": "The logo image of the ticket. This image is displayed in the card detail view of the app." +}, +"merchantLocations": { +"description": "Merchant locations. There is a maximum of ten on the class. Any additional MerchantLocations added beyond the 10 will be rejected. These locations will trigger a notification when a user enters within a Google-set radius of the point. This field replaces the deprecated LatLongPoints.", +"items": { +"$ref": "MerchantLocation" +}, +"type": "array" +}, +"messages": { +"description": "An array of messages displayed in the app. All users of this object will receive its associated messages. The maximum number of these fields is 10.", +"items": { +"$ref": "Message" +}, +"type": "array" +}, +"multipleDevicesAndHoldersAllowedStatus": { +"description": "Identifies whether multiple users and devices will save the same object referencing this class.", +"enum": [ +"STATUS_UNSPECIFIED", +"MULTIPLE_HOLDERS", +"ONE_USER_ALL_DEVICES", +"ONE_USER_ONE_DEVICE", +"multipleHolders", +"oneUserAllDevices", +"oneUserOneDevice" +], +"enumDeprecated": [ +false, +false, +false, +false, +true, +true, +true +], +"enumDescriptions": [ +"Unspecified preference.", +"The Pass object is shareable by a user and can be saved by any number of different users, and on any number of devices. Partners typically use this setup for passes that do not need to be restricted to a single user or pinned to a single device.", +"An object can only be saved by one user, but this user can view and use it on multiple of their devices. Once the first user saves the object, no other user will be allowed to view or save it.", +"An object can only be saved by one user on a single device. Intended for use by select partners in limited circumstances. An example use case is a transit ticket that should be \"device pinned\", meaning it can be saved, viewed and used only by a single user on a single device. Contact support for additional information.", +"Legacy alias for `MULTIPLE_HOLDERS`. Deprecated.", +"Legacy alias for `ONE_USER_ALL_DEVICES`. Deprecated.", +"Legacy alias for `ONE_USER_ONE_DEVICE`. Deprecated." +], +"type": "string" +}, +"notifyPreference": { +"description": "Whether or not field updates to this class should trigger notifications. When set to NOTIFY, we will attempt to trigger a field update notification to users. These notifications will only be sent to users if the field is part of an allowlist. If not specified, no notification will be triggered. This setting is ephemeral and needs to be set with each PATCH or UPDATE request, otherwise a notification will not be triggered.", +"enum": [ +"NOTIFICATION_SETTINGS_FOR_UPDATES_UNSPECIFIED", +"NOTIFY_ON_UPDATE" +], +"enumDescriptions": [ +"Default behavior is no notifications sent.", +"This value will result in a notification being sent, if the updated fields are part of an allowlist." +], +"type": "string" +}, +"redemptionIssuers": { +"description": "Identifies which redemption issuers can redeem the pass over Smart Tap. Redemption issuers are identified by their issuer ID. Redemption issuers must have at least one Smart Tap key configured. The `enableSmartTap` and object level `smartTapRedemptionLevel` fields must also be set up correctly in order for a pass to support Smart Tap.", +"items": { +"format": "int64", +"type": "string" +}, +"type": "array" +}, +"review": { +"$ref": "Review", +"description": "The review comments set by the platform when a class is marked `approved` or `rejected`." +}, +"reviewStatus": { +"description": "Required. The status of the class. This field can be set to `draft` or `underReview` using the insert, patch, or update API calls. Once the review state is changed from `draft` it may not be changed back to `draft`. You should keep this field to `draft` when the class is under development. A `draft` class cannot be used to create any object. You should set this field to `underReview` when you believe the class is ready for use. The platform will automatically set this field to `approved` and it can be immediately used to create or migrate objects. When updating an already `approved` class you should keep setting this field to `underReview`.", +"enum": [ +"REVIEW_STATUS_UNSPECIFIED", +"UNDER_REVIEW", +"underReview", +"APPROVED", +"approved", +"REJECTED", +"rejected", +"DRAFT", +"draft" +], +"enumDeprecated": [ +false, +false, +true, +false, +true, +false, +true, +false, +true +], +"enumDescriptions": [ +"", +"", +"Legacy alias for `UNDER_REVIEW`. Deprecated.", +"", +"Legacy alias for `APPROVED`. Deprecated.", +"", +"Legacy alias for `REJECTED`. Deprecated.", +"", +"Legacy alias for `DRAFT`. Deprecated." +], +"type": "string" +}, +"rowLabel": { +"description": "The label to use for the row value (`eventTicketObject.seatInfo.row`) on the card detail view. Each available option maps to a set of localized strings, so that translations are shown to the user based on their locale. Both `rowLabel` and `customRowLabel` may not be set. If neither is set, the label will default to \"Row\", localized. If the row field is unset, this label will not be used.", +"enum": [ +"ROW_LABEL_UNSPECIFIED", +"ROW", +"row" +], +"enumDeprecated": [ +false, +false, +true +], +"enumDescriptions": [ +"", +"", +"Legacy alias for `ROW`. Deprecated." +], +"type": "string" +}, +"seatLabel": { +"description": "The label to use for the seat value (`eventTicketObject.seatInfo.seat`) on the card detail view. Each available option maps to a set of localized strings, so that translations are shown to the user based on their locale. Both `seatLabel` and `customSeatLabel` may not be set. If neither is set, the label will default to \"Seat\", localized. If the seat field is unset, this label will not be used.", +"enum": [ +"SEAT_LABEL_UNSPECIFIED", +"SEAT", +"seat" +], +"enumDeprecated": [ +false, +false, +true +], +"enumDescriptions": [ +"", +"", +"Legacy alias for `SEAT`. Deprecated." +], +"type": "string" +}, +"sectionLabel": { +"description": "The label to use for the section value (`eventTicketObject.seatInfo.section`) on the card detail view. Each available option maps to a set of localized strings, so that translations are shown to the user based on their locale. Both `sectionLabel` and `customSectionLabel` may not be set. If neither is set, the label will default to \"Section\", localized. If the section field is unset, this label will not be used.", +"enum": [ +"SECTION_LABEL_UNSPECIFIED", +"SECTION", +"section", +"THEATER", +"theater" +], +"enumDeprecated": [ +false, +false, +true, +false, +true +], +"enumDescriptions": [ +"", +"", +"Legacy alias for `SECTION`. Deprecated.", +"", +"Legacy alias for `THEATER`. Deprecated." +], +"type": "string" +}, +"securityAnimation": { +"$ref": "SecurityAnimation", +"description": "Optional information about the security animation. If this is set a security animation will be rendered on pass details." +}, +"textModulesData": { +"description": "Text module data. If text module data is also defined on the class, both will be displayed. The maximum number of these fields displayed is 10 from the object and 10 from the class.", +"items": { +"$ref": "TextModuleData" +}, +"type": "array" +}, +"valueAddedModuleData": { +"description": "Optional value added module data. Maximum of fifteen on the class. For a pass only fifteen will be displayed, prioritizing those from the object.", +"items": { +"$ref": "ValueAddedModuleData" +}, +"type": "array" +}, +"venue": { +"$ref": "EventVenue", +"description": "Event venue details." +}, +"version": { +"deprecated": true, +"description": "Deprecated", +"format": "int64", +"type": "string" +}, +"viewUnlockRequirement": { +"description": "View Unlock Requirement options for the event ticket.", +"enum": [ +"VIEW_UNLOCK_REQUIREMENT_UNSPECIFIED", +"UNLOCK_NOT_REQUIRED", +"UNLOCK_REQUIRED_TO_VIEW" +], +"enumDescriptions": [ +"Default value, same as UNLOCK_NOT_REQUIRED.", +"Default behavior for all the existing Passes if ViewUnlockRequirement is not set.", +"Requires the user to unlock their device each time the pass is viewed. If the user removes their device lock after saving the pass, then they will be prompted to create a device lock before the pass can be viewed." +], +"type": "string" +}, +"wideLogo": { +"$ref": "Image", +"description": "The wide logo of the ticket. When provided, this will be used in place of the logo in the top left of the card view." +}, +"wordMark": { +"$ref": "Image", +"deprecated": true, +"description": "Deprecated." +} +}, +"type": "object" +}, +"EventTicketClassAddMessageResponse": { +"id": "EventTicketClassAddMessageResponse", +"properties": { +"resource": { +"$ref": "EventTicketClass", +"description": "The updated EventTicketClass resource." +} +}, +"type": "object" +}, +"EventTicketClassListResponse": { +"id": "EventTicketClassListResponse", +"properties": { +"pagination": { +"$ref": "Pagination", +"description": "Pagination of the response." +}, +"resources": { +"description": "Resources corresponding to the list request.", +"items": { +"$ref": "EventTicketClass" +}, +"type": "array" +} +}, +"type": "object" +}, +"EventTicketObject": { +"id": "EventTicketObject", +"properties": { +"appLinkData": { +"$ref": "AppLinkData", +"description": "Optional app or website link that will be displayed as a button on the front of the pass. If AppLinkData is provided for the corresponding class only object AppLinkData will be displayed." +}, +"barcode": { +"$ref": "Barcode", +"description": "The barcode type and value." +}, +"classId": { +"description": "Required. The class associated with this object. The class must be of the same type as this object, must already exist, and must be approved. Class IDs should follow the format issuer ID.identifier where the former is issued by Google and latter is chosen by you.", +"type": "string" +}, +"classReference": { +"$ref": "EventTicketClass", +"description": "A copy of the inherited fields of the parent class. These fields are retrieved during a GET." +}, +"disableExpirationNotification": { +"description": "Indicates if notifications should explicitly be suppressed. If this field is set to true, regardless of the `messages` field, expiration notifications to the user will be suppressed. By default, this field is set to false. Currently, this can only be set for offers.", +"type": "boolean" +}, +"faceValue": { +"$ref": "Money", +"description": "The face value of the ticket, matching what would be printed on a physical version of the ticket." +}, +"groupingInfo": { +"$ref": "GroupingInfo", +"description": "Information that controls how passes are grouped together." +}, +"hasLinkedDevice": { +"description": "Whether this object is currently linked to a single device. This field is set by the platform when a user saves the object, linking it to their device. Intended for use by select partners. Contact support for additional information.", +"type": "boolean" +}, +"hasUsers": { +"description": "Indicates if the object has users. This field is set by the platform.", +"type": "boolean" +}, +"heroImage": { +"$ref": "Image", +"description": "Optional banner image displayed on the front of the card. If none is present, hero image of the class, if present, will be displayed. If hero image of the class is also not present, nothing will be displayed." +}, +"hexBackgroundColor": { +"description": "The background color for the card. If not set the dominant color of the hero image is used, and if no hero image is set, the dominant color of the logo is used. The format is #rrggbb where rrggbb is a hex RGB triplet, such as `#ffcc00`. You can also use the shorthand version of the RGB triplet which is #rgb, such as `#fc0`.", +"type": "string" +}, +"id": { +"description": "Required. The unique identifier for an object. This ID must be unique across all objects from an issuer. This value should follow the format issuer ID.identifier where the former is issued by Google and latter is chosen by you. The unique identifier should only include alphanumeric characters, '.', '_', or '-'.", +"type": "string" +}, +"imageModulesData": { +"description": "Image module data. The maximum number of these fields displayed is 1 from object level and 1 for class object level.", +"items": { +"$ref": "ImageModuleData" +}, +"type": "array" +}, +"infoModuleData": { +"$ref": "InfoModuleData", +"description": "Deprecated. Use textModulesData instead." +}, +"kind": { +"deprecated": true, +"description": "Identifies what kind of resource this is. Value: the fixed string `\"walletobjects#eventTicketObject\"`.", +"type": "string" +}, +"linkedObjectIds": { +"description": "linked_object_ids are a list of other objects such as event ticket, loyalty, offer, generic, giftcard, transit and boarding pass that should be automatically attached to this event ticket object. If a user had saved this event ticket, then these linked_object_ids would be automatically pushed to the user's wallet (unless they turned off the setting to receive such linked passes). Make sure that objects present in linked_object_ids are already inserted - if not, calls would fail. Once linked, the linked objects cannot be unlinked. You cannot link objects belonging to another issuer. There is a limit to the number of objects that can be linked to a single object. After the limit is reached, new linked objects in the call will be ignored silently. Object IDs should follow the format issuer ID. identifier where the former is issued by Google and the latter is chosen by you.", +"items": { +"type": "string" +}, +"type": "array" +}, +"linkedOfferIds": { +"description": "A list of offer objects linked to this event ticket. The offer objects must already exist. Offer object IDs should follow the format issuer ID. identifier where the former is issued by Google and latter is chosen by you.", +"items": { +"type": "string" +}, +"type": "array" +}, +"linksModuleData": { +"$ref": "LinksModuleData", +"description": "Links module data. If links module data is also defined on the class, both will be displayed." +}, +"locations": { +"deprecated": true, +"description": "Note: This field is currently not supported to trigger geo notifications.", +"items": { +"$ref": "LatLongPoint" +}, +"type": "array" +}, +"merchantLocations": { +"description": "Merchant locations. There is a maximum of ten on the object. Any additional MerchantLocations added beyond the 10 will be rejected. These locations will trigger a notification when a user enters within a Google-set radius of the point. This field replaces the deprecated LatLongPoints.", +"items": { +"$ref": "MerchantLocation" +}, +"type": "array" +}, +"messages": { +"description": "An array of messages displayed in the app. All users of this object will receive its associated messages. The maximum number of these fields is 10.", +"items": { +"$ref": "Message" +}, +"type": "array" +}, +"notifyPreference": { +"description": "Whether or not field updates to this object should trigger notifications. When set to NOTIFY, we will attempt to trigger a field update notification to users. These notifications will only be sent to users if the field is part of an allowlist. If set to DO_NOT_NOTIFY or NOTIFICATION_SETTINGS_UNSPECIFIED, no notification will be triggered. This setting is ephemeral and needs to be set with each PATCH or UPDATE request, otherwise a notification will not be triggered.", +"enum": [ +"NOTIFICATION_SETTINGS_FOR_UPDATES_UNSPECIFIED", +"NOTIFY_ON_UPDATE" +], +"enumDescriptions": [ +"Default behavior is no notifications sent.", +"This value will result in a notification being sent, if the updated fields are part of an allowlist." +], +"type": "string" +}, +"passConstraints": { +"$ref": "PassConstraints", +"description": "Pass constraints for the object. Includes limiting NFC and screenshot behaviors." +}, +"reservationInfo": { +"$ref": "EventReservationInfo", +"description": "Reservation details for this ticket. This is expected to be shared amongst all tickets that were purchased in the same order." +}, +"rotatingBarcode": { +"$ref": "RotatingBarcode", +"description": "The rotating barcode type and value." +}, +"saveRestrictions": { +"$ref": "SaveRestrictions", +"description": "Restrictions on the object that needs to be verified before the user tries to save the pass. Note that this restrictions will only be applied during save time. If the restrictions changed after a user saves the pass, the new restrictions will not be applied to an already saved pass." +}, +"seatInfo": { +"$ref": "EventSeat", +"description": "Seating details for this ticket." +}, +"smartTapRedemptionValue": { +"description": "The value that will be transmitted to a Smart Tap certified terminal over NFC for this object. The class level fields `enableSmartTap` and `redemptionIssuers` must also be set up correctly in order for the pass to support Smart Tap. Only ASCII characters are supported.", +"type": "string" +}, +"state": { +"description": "Required. The state of the object. This field is used to determine how an object is displayed in the app. For example, an `inactive` object is moved to the \"Expired passes\" section.", +"enum": [ +"STATE_UNSPECIFIED", +"ACTIVE", +"active", +"COMPLETED", +"completed", +"EXPIRED", +"expired", +"INACTIVE", +"inactive" +], +"enumDeprecated": [ +false, +false, +true, +false, +true, +false, +true, +false, +true +], +"enumDescriptions": [ +"Default value.", +"Object is active and displayed to with other active objects.", +"Legacy alias for `ACTIVE`. Deprecated.", +"Object has completed it's lifecycle.", +"Legacy alias for `COMPLETED`. Deprecated.", +"Object is no longer valid (`validTimeInterval` passed).", +"Legacy alias for `EXPIRED`. Deprecated.", +"Object is no longer valid", +"Legacy alias for `INACTIVE`. Deprecated." +], +"type": "string" +}, +"textModulesData": { +"description": "Text module data. If text module data is also defined on the class, both will be displayed. The maximum number of these fields displayed is 10 from the object and 10 from the class.", +"items": { +"$ref": "TextModuleData" +}, +"type": "array" +}, +"ticketHolderName": { +"description": "Name of the ticket holder, if the ticket is assigned to a person. E.g. \"John Doe\" or \"Jane Doe\".", +"type": "string" +}, +"ticketNumber": { +"description": "The number of the ticket. This can be a unique identifier across all tickets in an issuer's system, all tickets for the event (e.g. XYZ1234512345), or all tickets in the order (1, 2, 3, etc.).", +"type": "string" +}, +"ticketType": { +"$ref": "LocalizedString", +"description": "The type of the ticket, such as \"Adult\" or \"Child\", or \"VIP\" or \"Standard\"." +}, +"validTimeInterval": { +"$ref": "TimeInterval", +"description": "The time period this object will be `active` and object can be used. An object's state will be changed to `expired` when this time period has passed." +}, +"valueAddedModuleData": { +"description": "Optional value added module data. Maximum of fifteen on the object. For a pass only fifteen will be displayed.", +"items": { +"$ref": "ValueAddedModuleData" +}, +"type": "array" +}, +"version": { +"deprecated": true, +"description": "Deprecated", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"EventTicketObjectAddMessageResponse": { +"id": "EventTicketObjectAddMessageResponse", +"properties": { +"resource": { +"$ref": "EventTicketObject", +"description": "The updated EventTicketObject resource." +} +}, +"type": "object" +}, +"EventTicketObjectListResponse": { +"id": "EventTicketObjectListResponse", +"properties": { +"pagination": { +"$ref": "Pagination", +"description": "Pagination of the response." +}, +"resources": { +"description": "Resources corresponding to the list request.", +"items": { +"$ref": "EventTicketObject" +}, +"type": "array" +} +}, +"type": "object" +}, +"EventVenue": { +"id": "EventVenue", +"properties": { +"address": { +"$ref": "LocalizedString", +"description": "The address of the venue, such as \"24 Willie Mays Plaza\\nSan Francisco, CA 94107\". Address lines are separated by line feed (`\\n`) characters. This is required." +}, +"kind": { +"deprecated": true, +"description": "Identifies what kind of resource this is. Value: the fixed string `\"walletobjects#eventVenue\"`.", +"type": "string" +}, +"name": { +"$ref": "LocalizedString", +"description": "The name of the venue, such as \"AT&T Park\". This is required." +} +}, +"type": "object" +}, +"ExpiryNotification": { +"description": "Indicates that the issuer would like Google Wallet to send expiry notifications 2 days prior to the card expiration.", +"id": "ExpiryNotification", +"properties": { +"enableNotification": { +"description": "Indicates if the object needs to have expiry notification enabled.", +"type": "boolean" +} +}, +"type": "object" +}, +"FieldReference": { +"description": "Reference definition to use with field overrides.", +"id": "FieldReference", +"properties": { +"dateFormat": { +"description": "Only valid if the `fieldPath` references a date field. Chooses how the date field will be formatted and displayed in the UI.", +"enum": [ +"DATE_FORMAT_UNSPECIFIED", +"DATE_TIME", +"dateTime", +"DATE_ONLY", +"dateOnly", +"TIME_ONLY", +"timeOnly", +"DATE_TIME_YEAR", +"dateTimeYear", +"DATE_YEAR", +"dateYear", +"YEAR_MONTH", +"YEAR_MONTH_DAY" +], +"enumDeprecated": [ +false, +false, +true, +false, +true, +false, +true, +false, +true, +false, +true, +false, +false +], +"enumDescriptions": [ +"Default option when no format is specified, when selected, no formatting will be applied.", +"Renders `2018-12-14T13:00:00` as `Dec 14, 1:00 PM` in `en_US`.", +"Legacy alias for `DATE_TIME`. Deprecated.", +"Renders `2018-12-14T13:00:00` as `Dec 14` in `en_US`.", +"Legacy alias for `DATE_ONLY`. Deprecated.", +"Renders `2018-12-14T13:00:00` as `1:00 PM` in `en_US`.", +"Legacy alias for `TIME_ONLY`. Deprecated.", +"Renders `2018-12-14T13:00:00` as `Dec 14, 2018, 1:00 PM` in `en_US`.", +"Legacy alias for `DATE_TIME_YEAR`. Deprecated.", +"Renders `2018-12-14T13:00:00` as `Dec 14, 2018` in `en_US`.", +"Legacy alias for `DATE_YEAR`. Deprecated.", +"Renders `2018-12-14T13:00:00` as `2018-12`.", +"Renders `2018-12-14T13:00:00` as `2018-12-14`." +], +"type": "string" +}, +"fieldPath": { +"description": "Path to the field being referenced, prefixed with \"object\" or \"class\" and separated with dots. For example, it may be the string \"object.purchaseDetails.purchasePrice\".", +"type": "string" +} +}, +"type": "object" +}, +"FieldSelector": { +"description": "Custom field selector to use with field overrides.", +"id": "FieldSelector", +"properties": { +"fields": { +"description": "If more than one reference is supplied, then the first one that references a non-empty field will be displayed.", +"items": { +"$ref": "FieldReference" +}, +"type": "array" +} +}, +"type": "object" +}, +"FirstRowOption": { +"id": "FirstRowOption", +"properties": { +"fieldOption": { +"$ref": "FieldSelector", +"description": "A reference to the field to be displayed in the first row." +}, +"transitOption": { +"enum": [ +"TRANSIT_OPTION_UNSPECIFIED", +"ORIGIN_AND_DESTINATION_NAMES", +"originAndDestinationNames", +"ORIGIN_AND_DESTINATION_CODES", +"originAndDestinationCodes", +"ORIGIN_NAME", +"originName" +], +"enumDeprecated": [ +false, +false, +true, +false, +true, +false, +true +], +"enumDescriptions": [ +"", +"", +"Legacy alias for `ORIGIN_AND_DESTINATION_NAMES`. Deprecated.", +"", +"Legacy alias for `ORIGIN_AND_DESTINATION_CODES`. Deprecated.", +"", +"Legacy alias for `ORIGIN_NAME`. Deprecated." +], +"type": "string" +} +}, +"type": "object" +}, +"FlightCarrier": { +"id": "FlightCarrier", +"properties": { +"airlineAllianceLogo": { +"$ref": "Image", +"description": "A logo for the airline alliance, displayed below the QR code that the passenger scans to board." +}, +"airlineLogo": { +"$ref": "Image", +"description": "A logo for the airline described by carrierIataCode and localizedAirlineName. This logo will be rendered at the top of the detailed card view." +}, +"airlineName": { +"$ref": "LocalizedString", +"description": "A localized name of the airline specified by carrierIataCode. If unset, `issuer_name` or `localized_issuer_name` from `FlightClass` will be used for display purposes. eg: \"Swiss Air\" for \"LX\"" +}, +"carrierIataCode": { +"description": "Two character IATA airline code of the marketing carrier (as opposed to operating carrier). Exactly one of this or `carrierIcaoCode` needs to be provided for `carrier` and `operatingCarrier`. eg: \"LX\" for Swiss Air", +"type": "string" +}, +"carrierIcaoCode": { +"description": "Three character ICAO airline code of the marketing carrier (as opposed to operating carrier). Exactly one of this or `carrierIataCode` needs to be provided for `carrier` and `operatingCarrier`. eg: \"EZY\" for Easy Jet", +"type": "string" +}, +"kind": { +"deprecated": true, +"description": "Identifies what kind of resource this is. Value: the fixed string `\"walletobjects#flightCarrier\"`.", +"type": "string" +}, +"wideAirlineLogo": { +"$ref": "Image", +"description": "The wide logo of the airline. When provided, this will be used in place of the airline logo in the top left of the card view." +} +}, +"type": "object" +}, +"FlightClass": { +"id": "FlightClass", +"properties": { +"allowMultipleUsersPerObject": { +"deprecated": true, +"description": "Deprecated. Use `multipleDevicesAndHoldersAllowedStatus` instead.", +"type": "boolean" +}, +"appLinkData": { +"$ref": "AppLinkData", +"description": "Optional app or website link that will be displayed as a button on the front of the pass. If AppLinkData is provided for the corresponding object that will be used instead." +}, +"boardingAndSeatingPolicy": { +"$ref": "BoardingAndSeatingPolicy", +"description": "Policies for boarding and seating. These will inform which labels will be shown to users." +}, +"callbackOptions": { +"$ref": "CallbackOptions", +"description": "Callback options to be used to call the issuer back for every save/delete of an object for this class by the end-user. All objects of this class are eligible for the callback." +}, +"classTemplateInfo": { +"$ref": "ClassTemplateInfo", +"description": "Template information about how the class should be displayed. If unset, Google will fallback to a default set of fields to display." +}, +"countryCode": { +"description": "Country code used to display the card's country (when the user is not in that country), as well as to display localized content when content is not available in the user's locale.", +"type": "string" +}, +"destination": { +"$ref": "AirportInfo", +"description": "Required. Destination airport." +}, +"enableSmartTap": { +"description": "Identifies whether this class supports Smart Tap. The `redemptionIssuers` and object level `smartTapRedemptionLevel` fields must also be set up correctly in order for a pass to support Smart Tap.", +"type": "boolean" +}, +"flightHeader": { +"$ref": "FlightHeader", +"description": "Required. Information about the flight carrier and number." +}, +"flightStatus": { +"description": "Status of this flight. If unset, Google will compute status based on data from other sources, such as FlightStats, etc. Note: Google-computed status will not be returned in API responses.", +"enum": [ +"FLIGHT_STATUS_UNSPECIFIED", +"SCHEDULED", +"scheduled", +"ACTIVE", +"active", +"LANDED", +"landed", +"CANCELLED", +"cancelled", +"REDIRECTED", +"redirected", +"DIVERTED", +"diverted" +], +"enumDeprecated": [ +false, +false, +true, +false, +true, +false, +true, +false, +true, +false, +true, +false, +true +], +"enumDescriptions": [ +"", +"Flight is on time, early, or delayed.", +"Legacy alias for `SCHEDULED`. Deprecated.", +"Flight is in progress (taxiing, taking off, landing, airborne).", +"Legacy alias for `ACTIVE`. Deprecated.", +"Flight landed at the original destination.", +"Legacy alias for `LANDED`. Deprecated.", +"Flight is cancelled.", +"Legacy alias for `CANCELLED`. Deprecated.", +"Flight is airborne but heading to a different airport than the original destination.", +"Legacy alias for `REDIRECTED`. Deprecated.", +"Flight has already landed at a different airport than the original destination.", +"Legacy alias for `DIVERTED`. Deprecated." +], +"type": "string" +}, +"heroImage": { +"$ref": "Image", +"description": "Optional banner image displayed on the front of the card. If none is present, nothing will be displayed. The image will display at 100% width." +}, +"hexBackgroundColor": { +"description": "The background color for the card. If not set the dominant color of the hero image is used, and if no hero image is set, the dominant color of the logo is used. The format is #rrggbb where rrggbb is a hex RGB triplet, such as `#ffcc00`. You can also use the shorthand version of the RGB triplet which is #rgb, such as `#fc0`.", +"type": "string" +}, +"homepageUri": { +"$ref": "Uri", +"description": "The URI of your application's home page. Populating the URI in this field results in the exact same behavior as populating an URI in linksModuleData (when an object is rendered, a link to the homepage is shown in what would usually be thought of as the linksModuleData section of the object)." +}, +"id": { +"description": "Required. The unique identifier for a class. This ID must be unique across all classes from an issuer. This value should follow the format issuer ID. identifier where the former is issued by Google and latter is chosen by you. Your unique identifier should only include alphanumeric characters, '.', '_', or '-'.", +"type": "string" +}, +"imageModulesData": { +"description": "Image module data. The maximum number of these fields displayed is 1 from object level and 1 for class object level.", +"items": { +"$ref": "ImageModuleData" +}, +"type": "array" +}, +"infoModuleData": { +"$ref": "InfoModuleData", +"deprecated": true, +"description": "Deprecated. Use textModulesData instead." +}, +"issuerName": { +"description": "Required. The issuer name. Recommended maximum length is 20 characters to ensure full string is displayed on smaller screens.", +"type": "string" +}, +"kind": { +"deprecated": true, +"description": "Identifies what kind of resource this is. Value: the fixed string `\"walletobjects#flightClass\"`.", +"type": "string" +}, +"languageOverride": { +"description": "If this field is present, boarding passes served to a user's device will always be in this language. Represents the BCP 47 language tag. Example values are \"en-US\", \"en-GB\", \"de\", or \"de-AT\".", +"type": "string" +}, +"linksModuleData": { +"$ref": "LinksModuleData", +"description": "Links module data. If links module data is also defined on the object, both will be displayed." +}, +"localBoardingDateTime": { +"description": "The boarding time as it would be printed on the boarding pass. This is an ISO 8601 extended format date/time without an offset. Time may be specified up to millisecond precision. eg: `2027-03-05T06:30:00` This should be the local date/time at the airport (not a UTC time). Google will reject the request if UTC offset is provided. Time zones will be calculated by Google based on departure airport.", +"type": "string" +}, +"localEstimatedOrActualArrivalDateTime": { +"description": "The estimated time the aircraft plans to reach the destination gate (not the runway) or the actual time it reached the gate. This field should be set if at least one of the below is true: - It differs from the scheduled time. Google will use it to calculate the delay. - The aircraft already arrived at the gate. Google will use it to inform the user that the flight has arrived at the gate. This is an ISO 8601 extended format date/time without an offset. Time may be specified up to millisecond precision. eg: `2027-03-05T06:30:00` This should be the local date/time at the airport (not a UTC time). Google will reject the request if UTC offset is provided. Time zones will be calculated by Google based on arrival airport.", +"type": "string" +}, +"localEstimatedOrActualDepartureDateTime": { +"description": "The estimated time the aircraft plans to pull from the gate or the actual time the aircraft already pulled from the gate. Note: This is not the runway time. This field should be set if at least one of the below is true: - It differs from the scheduled time. Google will use it to calculate the delay. - The aircraft already pulled from the gate. Google will use it to inform the user when the flight actually departed. This is an ISO 8601 extended format date/time without an offset. Time may be specified up to millisecond precision. eg: `2027-03-05T06:30:00` This should be the local date/time at the airport (not a UTC time). Google will reject the request if UTC offset is provided. Time zones will be calculated by Google based on departure airport.", +"type": "string" +}, +"localGateClosingDateTime": { +"description": "The gate closing time as it would be printed on the boarding pass. Do not set this field if you do not want to print it in the boarding pass. This is an ISO 8601 extended format date/time without an offset. Time may be specified up to millisecond precision. eg: `2027-03-05T06:30:00` This should be the local date/time at the airport (not a UTC time). Google will reject the request if UTC offset is provided. Time zones will be calculated by Google based on departure airport.", +"type": "string" +}, +"localScheduledArrivalDateTime": { +"description": "The scheduled time the aircraft plans to reach the destination gate (not the runway). Note: This field should not change too close to the flight time. For updates to departure times (delays, etc), please set `localEstimatedOrActualArrivalDateTime`. This is an ISO 8601 extended format date/time without an offset. Time may be specified up to millisecond precision. eg: `2027-03-05T06:30:00` This should be the local date/time at the airport (not a UTC time). Google will reject the request if UTC offset is provided. Time zones will be calculated by Google based on arrival airport.", +"type": "string" +}, +"localScheduledDepartureDateTime": { +"description": "Required. The scheduled date and time when the aircraft is expected to depart the gate (not the runway) Note: This field should not change too close to the departure time. For updates to departure times (delays, etc), please set `localEstimatedOrActualDepartureDateTime`. This is an ISO 8601 extended format date/time without an offset. Time may be specified up to millisecond precision. eg: `2027-03-05T06:30:00` This should be the local date/time at the airport (not a UTC time). Google will reject the request if UTC offset is provided. Time zones will be calculated by Google based on departure airport.", +"type": "string" +}, +"localizedIssuerName": { +"$ref": "LocalizedString", +"description": "Translated strings for the issuer_name. Recommended maximum length is 20 characters to ensure full string is displayed on smaller screens." +}, +"locations": { +"deprecated": true, +"description": "Note: This field is currently not supported to trigger geo notifications.", +"items": { +"$ref": "LatLongPoint" +}, +"type": "array" +}, +"merchantLocations": { +"description": "Merchant locations. There is a maximum of ten on the class. Any additional MerchantLocations added beyond the 10 will be rejected by the validator. These locations will trigger a notification when a user enters within a Google-set radius of the point. This field replaces the deprecated LatLongPoints.", +"items": { +"$ref": "MerchantLocation" +}, +"type": "array" +}, +"messages": { +"description": "An array of messages displayed in the app. All users of this object will receive its associated messages. The maximum number of these fields is 10.", +"items": { +"$ref": "Message" +}, +"type": "array" +}, +"multipleDevicesAndHoldersAllowedStatus": { +"description": "Identifies whether multiple users and devices will save the same object referencing this class.", +"enum": [ +"STATUS_UNSPECIFIED", +"MULTIPLE_HOLDERS", +"ONE_USER_ALL_DEVICES", +"ONE_USER_ONE_DEVICE", +"multipleHolders", +"oneUserAllDevices", +"oneUserOneDevice" +], +"enumDeprecated": [ +false, +false, +false, +false, +true, +true, +true +], +"enumDescriptions": [ +"Unspecified preference.", +"The Pass object is shareable by a user and can be saved by any number of different users, and on any number of devices. Partners typically use this setup for passes that do not need to be restricted to a single user or pinned to a single device.", +"An object can only be saved by one user, but this user can view and use it on multiple of their devices. Once the first user saves the object, no other user will be allowed to view or save it.", +"An object can only be saved by one user on a single device. Intended for use by select partners in limited circumstances. An example use case is a transit ticket that should be \"device pinned\", meaning it can be saved, viewed and used only by a single user on a single device. Contact support for additional information.", +"Legacy alias for `MULTIPLE_HOLDERS`. Deprecated.", +"Legacy alias for `ONE_USER_ALL_DEVICES`. Deprecated.", +"Legacy alias for `ONE_USER_ONE_DEVICE`. Deprecated." +], +"type": "string" +}, +"notifyPreference": { +"description": "Whether or not field updates to this class should trigger notifications. When set to NOTIFY, we will attempt to trigger a field update notification to users. These notifications will only be sent to users if the field is part of an allowlist. If not specified, no notification will be triggered. This setting is ephemeral and needs to be set with each PATCH or UPDATE request, otherwise a notification will not be triggered.", +"enum": [ +"NOTIFICATION_SETTINGS_FOR_UPDATES_UNSPECIFIED", +"NOTIFY_ON_UPDATE" +], +"enumDescriptions": [ +"Default behavior is no notifications sent.", +"This value will result in a notification being sent, if the updated fields are part of an allowlist." +], +"type": "string" +}, +"origin": { +"$ref": "AirportInfo", +"description": "Required. Origin airport." +}, +"redemptionIssuers": { +"description": "Identifies which redemption issuers can redeem the pass over Smart Tap. Redemption issuers are identified by their issuer ID. Redemption issuers must have at least one Smart Tap key configured. The `enableSmartTap` and object level `smartTapRedemptionLevel` fields must also be set up correctly in order for a pass to support Smart Tap.", +"items": { +"format": "int64", +"type": "string" +}, +"type": "array" +}, +"review": { +"$ref": "Review", +"description": "The review comments set by the platform when a class is marked `approved` or `rejected`." +}, +"reviewStatus": { +"description": "Required. The status of the class. This field can be set to `draft` or `underReview` using the insert, patch, or update API calls. Once the review state is changed from `draft` it may not be changed back to `draft`. You should keep this field to `draft` when the class is under development. A `draft` class cannot be used to create any object. You should set this field to `underReview` when you believe the class is ready for use. The platform will automatically set this field to `approved` and it can be immediately used to create or migrate objects. When updating an already `approved` class you should keep setting this field to `underReview`.", +"enum": [ +"REVIEW_STATUS_UNSPECIFIED", +"UNDER_REVIEW", +"underReview", +"APPROVED", +"approved", +"REJECTED", +"rejected", +"DRAFT", +"draft" +], +"enumDeprecated": [ +false, +false, +true, +false, +true, +false, +true, +false, +true +], +"enumDescriptions": [ +"", +"", +"Legacy alias for `UNDER_REVIEW`. Deprecated.", +"", +"Legacy alias for `APPROVED`. Deprecated.", +"", +"Legacy alias for `REJECTED`. Deprecated.", +"", +"Legacy alias for `DRAFT`. Deprecated." +], +"type": "string" +}, +"securityAnimation": { +"$ref": "SecurityAnimation", +"description": "Optional information about the security animation. If this is set a security animation will be rendered on pass details." +}, +"textModulesData": { +"description": "Text module data. If text module data is also defined on the class, both will be displayed. The maximum number of these fields displayed is 10 from the object and 10 from the class.", +"items": { +"$ref": "TextModuleData" +}, +"type": "array" +}, +"valueAddedModuleData": { +"description": "Optional value added module data. Maximum of fifteen on the class. For a pass only fifteen will be displayed, prioritizing those from the object.", +"items": { +"$ref": "ValueAddedModuleData" +}, +"type": "array" +}, +"version": { +"deprecated": true, +"description": "Deprecated", +"format": "int64", +"type": "string" +}, +"viewUnlockRequirement": { +"description": "View Unlock Requirement options for the boarding pass.", +"enum": [ +"VIEW_UNLOCK_REQUIREMENT_UNSPECIFIED", +"UNLOCK_NOT_REQUIRED", +"UNLOCK_REQUIRED_TO_VIEW" +], +"enumDescriptions": [ +"Default value, same as UNLOCK_NOT_REQUIRED.", +"Default behavior for all the existing Passes if ViewUnlockRequirement is not set.", +"Requires the user to unlock their device each time the pass is viewed. If the user removes their device lock after saving the pass, then they will be prompted to create a device lock before the pass can be viewed." +], +"type": "string" +}, +"wordMark": { +"$ref": "Image", +"deprecated": true, +"description": "Deprecated." +} +}, +"type": "object" +}, +"FlightClassAddMessageResponse": { +"id": "FlightClassAddMessageResponse", +"properties": { +"resource": { +"$ref": "FlightClass", +"description": "The updated FlightClass resource." +} +}, +"type": "object" +}, +"FlightClassListResponse": { +"id": "FlightClassListResponse", +"properties": { +"pagination": { +"$ref": "Pagination", +"description": "Pagination of the response." +}, +"resources": { +"description": "Resources corresponding to the list request.", +"items": { +"$ref": "FlightClass" +}, +"type": "array" +} +}, +"type": "object" +}, +"FlightHeader": { +"id": "FlightHeader", +"properties": { +"carrier": { +"$ref": "FlightCarrier", +"description": "Information about airline carrier. This is a required property of `flightHeader`." +}, +"flightNumber": { +"description": "The flight number without IATA carrier code. This field should contain only digits. This is a required property of `flightHeader`. eg: \"123\"", +"type": "string" +}, +"flightNumberDisplayOverride": { +"description": "Override value to use for flight number. The default value used for display purposes is carrier + flight_number. If a different value needs to be shown to passengers, use this field to override the default behavior. eg: \"XX1234 / YY576\"", +"type": "string" +}, +"kind": { +"deprecated": true, +"description": "Identifies what kind of resource this is. Value: the fixed string `\"walletobjects#flightHeader\"`.", +"type": "string" +}, +"operatingCarrier": { +"$ref": "FlightCarrier", +"description": "Information about operating airline carrier." +}, +"operatingFlightNumber": { +"description": "The flight number used by the operating carrier without IATA carrier code. This field should contain only digits. eg: \"234\"", +"type": "string" +} +}, +"type": "object" +}, +"FlightObject": { +"id": "FlightObject", +"properties": { +"appLinkData": { +"$ref": "AppLinkData", +"description": "Optional app or website link that will be displayed as a button on the front of the pass. If AppLinkData is provided for the corresponding class only object AppLinkData will be displayed." +}, +"barcode": { +"$ref": "Barcode", +"description": "The barcode type and value." +}, +"boardingAndSeatingInfo": { +"$ref": "BoardingAndSeatingInfo", +"description": "Passenger specific information about boarding and seating." +}, +"classId": { +"description": "Required. The class associated with this object. The class must be of the same type as this object, must already exist, and must be approved. Class IDs should follow the format issuer ID.identifier where the former is issued by Google and latter is chosen by you.", +"type": "string" +}, +"classReference": { +"$ref": "FlightClass", +"description": "A copy of the inherited fields of the parent class. These fields are retrieved during a GET." +}, +"disableExpirationNotification": { +"description": "Indicates if notifications should explicitly be suppressed. If this field is set to true, regardless of the `messages` field, expiration notifications to the user will be suppressed. By default, this field is set to false. Currently, this can only be set for Flights.", +"type": "boolean" +}, +"groupingInfo": { +"$ref": "GroupingInfo", +"description": "Information that controls how passes are grouped together." +}, +"hasLinkedDevice": { +"description": "Whether this object is currently linked to a single device. This field is set by the platform when a user saves the object, linking it to their device. Intended for use by select partners. Contact support for additional information.", +"type": "boolean" +}, +"hasUsers": { +"description": "Indicates if the object has users. This field is set by the platform.", +"type": "boolean" +}, +"heroImage": { +"$ref": "Image", +"description": "Optional banner image displayed on the front of the card. If none is present, hero image of the class, if present, will be displayed. If hero image of the class is also not present, nothing will be displayed." +}, +"hexBackgroundColor": { +"description": "The background color for the card. If not set the dominant color of the hero image is used, and if no hero image is set, the dominant color of the logo is used. The format is #rrggbb where rrggbb is a hex RGB triplet, such as `#ffcc00`. You can also use the shorthand version of the RGB triplet which is #rgb, such as `#fc0`.", +"type": "string" +}, +"id": { +"description": "Required. The unique identifier for an object. This ID must be unique across all objects from an issuer. This value should follow the format issuer ID.identifier where the former is issued by Google and latter is chosen by you. The unique identifier should only include alphanumeric characters, '.', '_', or '-'.", +"type": "string" +}, +"imageModulesData": { +"description": "Image module data. The maximum number of these fields displayed is 1 from object level and 1 for class object level.", +"items": { +"$ref": "ImageModuleData" +}, +"type": "array" +}, +"infoModuleData": { +"$ref": "InfoModuleData", +"description": "Deprecated. Use textModulesData instead." +}, +"kind": { +"deprecated": true, +"description": "Identifies what kind of resource this is. Value: the fixed string `\"walletobjects#flightObject\"`.", +"type": "string" +}, +"linkedObjectIds": { +"description": "linked_object_ids are a list of other objects such as event ticket, loyalty, offer, generic, giftcard, transit and boarding pass that should be automatically attached to this flight object. If a user had saved this boarding pass, then these linked_object_ids would be automatically pushed to the user's wallet (unless they turned off the setting to receive such linked passes). Make sure that objects present in linked_object_ids are already inserted - if not, calls would fail. Once linked, the linked objects cannot be unlinked. You cannot link objects belonging to another issuer. There is a limit to the number of objects that can be linked to a single object. After the limit is reached, new linked objects in the call will be ignored silently. Object IDs should follow the format issuer ID. identifier where the former is issued by Google and the latter is chosen by you.", +"items": { +"type": "string" +}, +"type": "array" +}, +"linksModuleData": { +"$ref": "LinksModuleData", +"description": "Links module data. If links module data is also defined on the class, both will be displayed." +}, +"locations": { +"deprecated": true, +"description": "Note: This field is currently not supported to trigger geo notifications.", +"items": { +"$ref": "LatLongPoint" +}, +"type": "array" +}, +"merchantLocations": { +"description": "Merchant locations. There is a maximum of ten on the object. Any additional MerchantLocations added beyond the 10 will be rejected. These locations will trigger a notification when a user enters within a Google-set radius of the point. This field replaces the deprecated LatLongPoints.", +"items": { +"$ref": "MerchantLocation" +}, +"type": "array" +}, +"messages": { +"description": "An array of messages displayed in the app. All users of this object will receive its associated messages. The maximum number of these fields is 10.", +"items": { +"$ref": "Message" +}, +"type": "array" +}, +"notifyPreference": { +"description": "Whether or not field updates to this object should trigger notifications. When set to NOTIFY, we will attempt to trigger a field update notification to users. These notifications will only be sent to users if the field is part of an allowlist. If set to DO_NOT_NOTIFY or NOTIFICATION_SETTINGS_UNSPECIFIED, no notification will be triggered. This setting is ephemeral and needs to be set with each PATCH or UPDATE request, otherwise a notification will not be triggered.", +"enum": [ +"NOTIFICATION_SETTINGS_FOR_UPDATES_UNSPECIFIED", +"NOTIFY_ON_UPDATE" +], +"enumDescriptions": [ +"Default behavior is no notifications sent.", +"This value will result in a notification being sent, if the updated fields are part of an allowlist." +], +"type": "string" +}, +"passConstraints": { +"$ref": "PassConstraints", +"description": "Pass constraints for the object. Includes limiting NFC and screenshot behaviors." +}, +"passengerName": { +"description": "Required. Passenger name as it would appear on the boarding pass. eg: \"Dave M Gahan\" or \"Gahan/Dave\" or \"GAHAN/DAVEM\"", +"type": "string" +}, +"reservationInfo": { +"$ref": "ReservationInfo", +"description": "Required. Information about flight reservation." +}, +"rotatingBarcode": { +"$ref": "RotatingBarcode", +"description": "The rotating barcode type and value." +}, +"saveRestrictions": { +"$ref": "SaveRestrictions", +"description": "Restrictions on the object that needs to be verified before the user tries to save the pass. Note that this restrictions will only be applied during save time. If the restrictions changed after a user saves the pass, the new restrictions will not be applied to an already saved pass." +}, +"securityProgramLogo": { +"$ref": "Image", +"description": "An image for the security program that applies to the passenger." +}, +"smartTapRedemptionValue": { +"description": "The value that will be transmitted to a Smart Tap certified terminal over NFC for this object. The class level fields `enableSmartTap` and `redemptionIssuers` must also be set up correctly in order for the pass to support Smart Tap. Only ASCII characters are supported.", +"type": "string" +}, +"state": { +"description": "Required. The state of the object. This field is used to determine how an object is displayed in the app. For example, an `inactive` object is moved to the \"Expired passes\" section.", +"enum": [ +"STATE_UNSPECIFIED", +"ACTIVE", +"active", +"COMPLETED", +"completed", +"EXPIRED", +"expired", +"INACTIVE", +"inactive" +], +"enumDeprecated": [ +false, +false, +true, +false, +true, +false, +true, +false, +true +], +"enumDescriptions": [ +"Default value.", +"Object is active and displayed to with other active objects.", +"Legacy alias for `ACTIVE`. Deprecated.", +"Object has completed it's lifecycle.", +"Legacy alias for `COMPLETED`. Deprecated.", +"Object is no longer valid (`validTimeInterval` passed).", +"Legacy alias for `EXPIRED`. Deprecated.", +"Object is no longer valid", +"Legacy alias for `INACTIVE`. Deprecated." +], +"type": "string" +}, +"textModulesData": { +"description": "Text module data. If text module data is also defined on the class, both will be displayed. The maximum number of these fields displayed is 10 from the object and 10 from the class.", +"items": { +"$ref": "TextModuleData" +}, +"type": "array" +}, +"validTimeInterval": { +"$ref": "TimeInterval", +"description": "The time period this object will be `active` and object can be used. An object's state will be changed to `expired` when this time period has passed." +}, +"valueAddedModuleData": { +"description": "Optional value added module data. Maximum of fifteen on the object. For a pass only fifteen will be displayed.", +"items": { +"$ref": "ValueAddedModuleData" +}, +"type": "array" +}, +"version": { +"deprecated": true, +"description": "Deprecated", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"FlightObjectAddMessageResponse": { +"id": "FlightObjectAddMessageResponse", +"properties": { +"resource": { +"$ref": "FlightObject", +"description": "The updated FlightObject resource." +} +}, +"type": "object" +}, +"FlightObjectListResponse": { +"id": "FlightObjectListResponse", +"properties": { +"pagination": { +"$ref": "Pagination", +"description": "Pagination of the response." +}, +"resources": { +"description": "Resources corresponding to the list request.", +"items": { +"$ref": "FlightObject" +}, +"type": "array" +} +}, +"type": "object" +}, +"FrequentFlyerInfo": { +"id": "FrequentFlyerInfo", +"properties": { +"frequentFlyerNumber": { +"description": "Frequent flyer number. Required for each nested object of kind `walletobjects#frequentFlyerInfo`.", +"type": "string" +}, +"frequentFlyerProgramName": { +"$ref": "LocalizedString", +"description": "Frequent flyer program name. eg: \"Lufthansa Miles & More\"" +}, +"kind": { +"deprecated": true, +"description": "Identifies what kind of resource this is. Value: the fixed string `\"walletobjects#frequentFlyerInfo\"`.", +"type": "string" +} +}, +"type": "object" +}, +"GenericClass": { +"description": "Generic Class", +"id": "GenericClass", +"properties": { +"appLinkData": { +"$ref": "AppLinkData", +"description": "Optional app or website link that will be displayed as a button on the front of the pass. If AppLinkData is provided for the corresponding object that will be used instead." +}, +"callbackOptions": { +"$ref": "CallbackOptions", +"description": "Callback options to be used to call the issuer back for every save/delete of an object for this class by the end-user. All objects of this class are eligible for the callback." +}, +"classTemplateInfo": { +"$ref": "ClassTemplateInfo", +"description": "Template information about how the class should be displayed. If unset, Google will fallback to a default set of fields to display." +}, +"enableSmartTap": { +"description": "Available only to Smart Tap enabled partners. Contact support for additional guidance.", +"type": "boolean" +}, +"id": { +"description": "Required. The unique identifier for the class. This ID must be unique across all from an issuer. This value needs to follow the format `issuerID.identifier` where `issuerID` is issued by Google and `identifier` is chosen by you. The unique identifier can only include alphanumeric characters, `.`, `_`, or `-`.", +"type": "string" +}, +"imageModulesData": { +"description": "Image module data. If `imageModulesData` is also defined on the object, both will be displayed. Only one of the image from class and one from object level will be rendered when both set.", +"items": { +"$ref": "ImageModuleData" +}, +"type": "array" +}, +"linksModuleData": { +"$ref": "LinksModuleData", +"description": "Links module data. If `linksModuleData` is also defined on the object, both will be displayed. The maximum number of these fields displayed is 10 from class and 10 from object." +}, +"merchantLocations": { +"description": "Merchant locations. There is a maximum of ten on the class. Any additional MerchantLocations added beyond the 10 will be rejected. These locations will trigger a notification when a user enters within a Google-set radius of the point. This field replaces the deprecated LatLongPoints.", +"items": { +"$ref": "MerchantLocation" +}, +"type": "array" +}, +"messages": { +"description": "An array of messages displayed in the app. All users of this object will receive its associated messages. The maximum number of these fields is 10.", +"items": { +"$ref": "Message" +}, +"type": "array" +}, +"multipleDevicesAndHoldersAllowedStatus": { +"description": "Identifies whether multiple users and devices will save the same object referencing this class.", +"enum": [ +"STATUS_UNSPECIFIED", +"MULTIPLE_HOLDERS", +"ONE_USER_ALL_DEVICES", +"ONE_USER_ONE_DEVICE", +"multipleHolders", +"oneUserAllDevices", +"oneUserOneDevice" +], +"enumDeprecated": [ +false, +false, +false, +false, +true, +true, +true +], +"enumDescriptions": [ +"Unspecified preference.", +"The Pass object is shareable by a user and can be saved by any number of different users, and on any number of devices. Partners typically use this setup for passes that do not need to be restricted to a single user or pinned to a single device.", +"An object can only be saved by one user, but this user can view and use it on multiple of their devices. Once the first user saves the object, no other user will be allowed to view or save it.", +"An object can only be saved by one user on a single device. Intended for use by select partners in limited circumstances. An example use case is a transit ticket that should be \"device pinned\", meaning it can be saved, viewed and used only by a single user on a single device. Contact support for additional information.", +"Legacy alias for `MULTIPLE_HOLDERS`. Deprecated.", +"Legacy alias for `ONE_USER_ALL_DEVICES`. Deprecated.", +"Legacy alias for `ONE_USER_ONE_DEVICE`. Deprecated." +], +"type": "string" +}, +"redemptionIssuers": { +"description": "Identifies which redemption issuers can redeem the pass over Smart Tap. Redemption issuers are identified by their issuer ID. Redemption issuers must have at least one Smart Tap key configured. The `enableSmartTap` and object level `smartTapRedemptionLevel` fields must also be set up correctly in order for a pass to support Smart Tap.", +"items": { +"format": "int64", +"type": "string" +}, +"type": "array" +}, +"securityAnimation": { +"$ref": "SecurityAnimation", +"description": "Optional information about the security animation. If this is set a security animation will be rendered on pass details." +}, +"textModulesData": { +"description": "Text module data. If `textModulesData` is also defined on the object, both will be displayed. The maximum number of these fields displayed is 10 from class and 10 from object.", +"items": { +"$ref": "TextModuleData" +}, +"type": "array" +}, +"valueAddedModuleData": { +"description": "Optional value added module data. Maximum of fifteen on the class. For a pass only fifteen will be displayed, prioritizing those from the object.", +"items": { +"$ref": "ValueAddedModuleData" +}, +"type": "array" +}, +"viewUnlockRequirement": { +"description": "View Unlock Requirement options for the generic pass.", +"enum": [ +"VIEW_UNLOCK_REQUIREMENT_UNSPECIFIED", +"UNLOCK_NOT_REQUIRED", +"UNLOCK_REQUIRED_TO_VIEW" +], +"enumDescriptions": [ +"Default value, same as UNLOCK_NOT_REQUIRED.", +"Default behavior for all the existing Passes if ViewUnlockRequirement is not set.", +"Requires the user to unlock their device each time the pass is viewed. If the user removes their device lock after saving the pass, then they will be prompted to create a device lock before the pass can be viewed." +], +"type": "string" +} +}, +"type": "object" +}, +"GenericClassAddMessageResponse": { +"description": "Response to adding a new issuer message to the class. This contains the entire updated GenericClass.", +"id": "GenericClassAddMessageResponse", +"properties": { +"resource": { +"$ref": "GenericClass", +"description": "The updated EventTicketClass resource." +} +}, +"type": "object" +}, +"GenericClassListResponse": { +"description": "List response which contains the list of all generic classes for a given issuer ID.", +"id": "GenericClassListResponse", +"properties": { +"pagination": { +"$ref": "Pagination", +"description": "Pagination of the response." +}, +"resources": { +"description": "Resources corresponding to the list request.", +"items": { +"$ref": "GenericClass" +}, +"type": "array" +} +}, +"type": "object" +}, +"GenericObject": { +"description": "Generic Object", +"id": "GenericObject", +"properties": { +"appLinkData": { +"$ref": "AppLinkData", +"description": "Optional app or website link that will be displayed as a button on the front of the pass. If AppLinkData is provided for the corresponding class only object AppLinkData will be displayed." +}, +"barcode": { +"$ref": "Barcode", +"description": "The barcode type and value. If pass does not have a barcode, we can allow the issuer to set Barcode.alternate_text and display just that." +}, +"cardTitle": { +"$ref": "LocalizedString", +"description": "Required. The header of the pass. This is usually the Business name such as \"XXX Gym\", \"AAA Insurance\". This field is required and appears in the header row at the very top of the pass." +}, +"classId": { +"description": "Required. The class associated with this object. The class must be of the same type as this object, must already exist, and must be approved. Class IDs should follow the format `issuerID.identifier` where `issuerID` is issued by Google and `identifier` is chosen by you.", +"type": "string" +}, +"genericType": { +"description": "Specify which `GenericType` the card belongs to.", +"enum": [ +"GENERIC_TYPE_UNSPECIFIED", +"GENERIC_SEASON_PASS", +"GENERIC_UTILITY_BILLS", +"GENERIC_PARKING_PASS", +"GENERIC_VOUCHER", +"GENERIC_GYM_MEMBERSHIP", +"GENERIC_LIBRARY_MEMBERSHIP", +"GENERIC_RESERVATIONS", +"GENERIC_AUTO_INSURANCE", +"GENERIC_HOME_INSURANCE", +"GENERIC_ENTRY_TICKET", +"GENERIC_RECEIPT", +"GENERIC_LOYALTY_CARD", +"GENERIC_OTHER" +], +"enumDescriptions": [ +"Unspecified generic type.", +"Season pass", +"Utility bills", +"Parking pass", +"Voucher", +"Gym membership cards", +"Library membership cards", +"Reservations", +"Auto-insurance cards", +"Home-insurance cards", +"Entry tickets", +"Receipts", +"Loyalty cards. Please note that it is advisable to use a dedicated Loyalty card pass type instead of this generic type. A dedicated loyalty card pass type offers more features and functionality than a generic pass type.", +"Other type" +], +"type": "string" +}, +"groupingInfo": { +"$ref": "GroupingInfo", +"description": "Information that controls how passes are grouped together." +}, +"hasUsers": { +"description": "Indicates if the object has users. This field is set by the platform.", +"type": "boolean" +}, +"header": { +"$ref": "LocalizedString", +"description": "Required. The title of the pass, such as \"50% off coupon\" or \"Library card\" or \"Voucher\". This field is required and appears in the title row of the pass detail view." +}, +"heroImage": { +"$ref": "Image", +"description": "Banner image displayed on the front of the card if present. The image will be displayed at 100% width." +}, +"hexBackgroundColor": { +"description": "The background color for the card. If not set, the dominant color of the hero image is used, and if no hero image is set, the dominant color of the logo is used and if logo is not set, a color would be chosen by Google.", +"type": "string" +}, +"id": { +"description": "Required. The unique identifier for an object. This ID must be unique across all objects from an issuer. This value needs to follow the format `issuerID.identifier` where `issuerID` is issued by Google and `identifier` is chosen by you. The unique identifier can only include alphanumeric characters, `.`, `_`, or `-`.", +"type": "string" +}, +"imageModulesData": { +"description": "Image module data. Only one of the image from class and one from object level will be rendered when both set.", +"items": { +"$ref": "ImageModuleData" +}, +"type": "array" +}, +"linkedObjectIds": { +"description": "linked_object_ids are a list of other objects such as event ticket, loyalty, offer, generic, giftcard, transit and boarding pass that should be automatically attached to this generic object. If a user had saved this generic card, then these linked_object_ids would be automatically pushed to the user's wallet (unless they turned off the setting to receive such linked passes). Make sure that objects present in linked_object_ids are already inserted - if not, calls would fail. Once linked, the linked objects cannot be unlinked. You cannot link objects belonging to another issuer. There is a limit to the number of objects that can be linked to a single object. After the limit is reached, new linked objects in the call will be ignored silently. Object IDs should follow the format issuer ID. identifier where the former is issued by Google and the latter is chosen by you.", +"items": { +"type": "string" +}, +"type": "array" +}, +"linksModuleData": { +"$ref": "LinksModuleData", +"description": "Links module data. If `linksModuleData` is also defined on the class, both will be displayed. The maximum number of these fields displayed is 10 from class and 10 from object." +}, +"logo": { +"$ref": "Image", +"description": "The logo image of the pass. This image is displayed in the card detail view in upper left, and also on the list/thumbnail view. If the logo is not present, the first letter of `cardTitle` would be shown as logo." +}, +"merchantLocations": { +"description": "Merchant locations. There is a maximum of ten on the object. Any additional MerchantLocations added beyond the 10 will be rejected. These locations will trigger a notification when a user enters within a Google-set radius of the point. This field replaces the deprecated LatLongPoints.", +"items": { +"$ref": "MerchantLocation" +}, +"type": "array" +}, +"messages": { +"description": "An array of messages displayed in the app. All users of this object will receive its associated messages. The maximum number of these fields is 10.", +"items": { +"$ref": "Message" +}, +"type": "array" +}, +"notifications": { +"$ref": "Notifications", +"description": "The notification settings that are enabled for this object." +}, +"passConstraints": { +"$ref": "PassConstraints", +"description": "Pass constraints for the object. Includes limiting NFC and screenshot behaviors." +}, +"rotatingBarcode": { +"$ref": "RotatingBarcode", +"description": "The rotating barcode settings/details." +}, +"saveRestrictions": { +"$ref": "SaveRestrictions", +"description": "Restrictions on the object that needs to be verified before the user tries to save the pass. Note that this restrictions will only be applied during save time. If the restrictions changed after a user saves the pass, the new restrictions will not be applied to an already saved pass." +}, +"smartTapRedemptionValue": { +"description": "The value that will be transmitted to a Smart Tap certified terminal over NFC for this object. The class level fields `enableSmartTap` and `redemptionIssuers` must also be set up correctly in order for the pass to support Smart Tap. Only ASCII characters are supported.", +"type": "string" +}, +"state": { +"description": "The state of the object. This field is used to determine how an object is displayed in the app. For example, an `inactive` object is moved to the \"Expired passes\" section. If this is not provided, the object would be considered `ACTIVE`.", +"enum": [ +"STATE_UNSPECIFIED", +"ACTIVE", +"active", +"COMPLETED", +"completed", +"EXPIRED", +"expired", +"INACTIVE", +"inactive" +], +"enumDeprecated": [ +false, +false, +true, +false, +true, +false, +true, +false, +true +], +"enumDescriptions": [ +"Default value.", +"Object is active and displayed to with other active objects.", +"Legacy alias for `ACTIVE`. Deprecated.", +"Object has completed it's lifecycle.", +"Legacy alias for `COMPLETED`. Deprecated.", +"Object is no longer valid (`validTimeInterval` passed).", +"Legacy alias for `EXPIRED`. Deprecated.", +"Object is no longer valid", +"Legacy alias for `INACTIVE`. Deprecated." +], +"type": "string" +}, +"subheader": { +"$ref": "LocalizedString", +"description": "The title label of the pass, such as location where this pass can be used. Appears right above the title in the title row in the pass detail view." +}, +"textModulesData": { +"description": "Text module data. If `textModulesData` is also defined on the class, both will be displayed. The maximum number of these fields displayed is 10 from class and 10 from object.", +"items": { +"$ref": "TextModuleData" +}, +"type": "array" +}, +"validTimeInterval": { +"$ref": "TimeInterval", +"description": "The time period this object will be considered valid or usable. When the time period is passed, the object will be considered expired, which will affect the rendering on user's devices." +}, +"valueAddedModuleData": { +"description": "Optional value added module data. Maximum of fifteen on the object. For a pass only fifteen will be displayed.", +"items": { +"$ref": "ValueAddedModuleData" +}, +"type": "array" +}, +"wideLogo": { +"$ref": "Image", +"description": "The wide logo of the pass. When provided, this will be used in place of the logo in the top left of the card view." +} +}, +"type": "object" +}, +"GenericObjectAddMessageResponse": { +"description": "Response to adding a new issuer message to the object. This contains the entire updated GenericObject.", +"id": "GenericObjectAddMessageResponse", +"properties": { +"resource": { +"$ref": "GenericObject", +"description": "The updated GenericObject resource." +} +}, +"type": "object" +}, +"GenericObjectListResponse": { +"description": "List response which contains the list of all generic objects for a given issuer ID.", +"id": "GenericObjectListResponse", +"properties": { +"pagination": { +"$ref": "Pagination", +"description": "Pagination of the response." +}, +"resources": { +"description": "Resources corresponding to the list request.", +"items": { +"$ref": "GenericObject" +}, +"type": "array" +} +}, +"type": "object" +}, +"GiftCardClass": { +"id": "GiftCardClass", +"properties": { +"allowBarcodeRedemption": { +"description": "Determines whether the merchant supports gift card redemption using barcode. If true, app displays a barcode for the gift card on the Gift card details screen. If false, a barcode is not displayed.", +"type": "boolean" +}, +"allowMultipleUsersPerObject": { +"deprecated": true, +"description": "Deprecated. Use `multipleDevicesAndHoldersAllowedStatus` instead.", +"type": "boolean" +}, +"appLinkData": { +"$ref": "AppLinkData", +"description": "Optional app or website link that will be displayed as a button on the front of the pass. If AppLinkData is provided for the corresponding object that will be used instead." +}, +"callbackOptions": { +"$ref": "CallbackOptions", +"description": "Callback options to be used to call the issuer back for every save/delete of an object for this class by the end-user. All objects of this class are eligible for the callback." +}, +"cardNumberLabel": { +"description": "The label to display for the card number, such as \"Card Number\".", +"type": "string" +}, +"classTemplateInfo": { +"$ref": "ClassTemplateInfo", +"description": "Template information about how the class should be displayed. If unset, Google will fallback to a default set of fields to display." +}, +"countryCode": { +"description": "Country code used to display the card's country (when the user is not in that country), as well as to display localized content when content is not available in the user's locale.", +"type": "string" +}, +"enableSmartTap": { +"description": "Identifies whether this class supports Smart Tap. The `redemptionIssuers` and object level `smartTapRedemptionLevel` fields must also be set up correctly in order for a pass to support Smart Tap.", +"type": "boolean" +}, +"eventNumberLabel": { +"description": "The label to display for event number, such as \"Target Event #\".", +"type": "string" +}, +"heroImage": { +"$ref": "Image", +"description": "Optional banner image displayed on the front of the card. If none is present, nothing will be displayed. The image will display at 100% width." +}, +"hexBackgroundColor": { +"description": "The background color for the card. If not set the dominant color of the hero image is used, and if no hero image is set, the dominant color of the logo is used. The format is #rrggbb where rrggbb is a hex RGB triplet, such as `#ffcc00`. You can also use the shorthand version of the RGB triplet which is #rgb, such as `#fc0`.", +"type": "string" +}, +"homepageUri": { +"$ref": "Uri", +"description": "The URI of your application's home page. Populating the URI in this field results in the exact same behavior as populating an URI in linksModuleData (when an object is rendered, a link to the homepage is shown in what would usually be thought of as the linksModuleData section of the object)." +}, +"id": { +"description": "Required. The unique identifier for a class. This ID must be unique across all classes from an issuer. This value should follow the format issuer ID. identifier where the former is issued by Google and latter is chosen by you. Your unique identifier should only include alphanumeric characters, '.', '_', or '-'.", +"type": "string" +}, +"imageModulesData": { +"description": "Image module data. The maximum number of these fields displayed is 1 from object level and 1 for class object level.", +"items": { +"$ref": "ImageModuleData" +}, +"type": "array" +}, +"infoModuleData": { +"$ref": "InfoModuleData", +"deprecated": true, +"description": "Deprecated. Use textModulesData instead." +}, +"issuerName": { +"description": "Required. The issuer name. Recommended maximum length is 20 characters to ensure full string is displayed on smaller screens.", +"type": "string" +}, +"kind": { +"deprecated": true, +"description": "Identifies what kind of resource this is. Value: the fixed string `\"walletobjects#giftCardClass\"`.", +"type": "string" +}, +"linksModuleData": { +"$ref": "LinksModuleData", +"description": "Links module data. If links module data is also defined on the object, both will be displayed." +}, +"localizedCardNumberLabel": { +"$ref": "LocalizedString", +"description": "Translated strings for the card_number_label." +}, +"localizedEventNumberLabel": { +"$ref": "LocalizedString", +"description": "Translated strings for the event_number_label." +}, +"localizedIssuerName": { +"$ref": "LocalizedString", +"description": "Translated strings for the issuer_name. Recommended maximum length is 20 characters to ensure full string is displayed on smaller screens." +}, +"localizedMerchantName": { +"$ref": "LocalizedString", +"description": "Translated strings for the merchant_name. The app may display an ellipsis after the first 20 characters to ensure full string is displayed on smaller screens." +}, +"localizedPinLabel": { +"$ref": "LocalizedString", +"description": "Translated strings for the pin_label." +}, +"locations": { +"deprecated": true, +"description": "Note: This field is currently not supported to trigger geo notifications.", +"items": { +"$ref": "LatLongPoint" +}, +"type": "array" +}, +"merchantLocations": { +"description": "Merchant locations. There is a maximum of ten on the class. Any additional MerchantLocations added beyond the 10 will be rejected. These locations will trigger a notification when a user enters within a Google-set radius of the point. This field replaces the deprecated LatLongPoints.", +"items": { +"$ref": "MerchantLocation" +}, +"type": "array" +}, +"merchantName": { +"description": "Merchant name, such as \"Adam's Apparel\". The app may display an ellipsis after the first 20 characters to ensure full string is displayed on smaller screens.", +"type": "string" +}, +"messages": { +"description": "An array of messages displayed in the app. All users of this object will receive its associated messages. The maximum number of these fields is 10.", +"items": { +"$ref": "Message" +}, +"type": "array" +}, +"multipleDevicesAndHoldersAllowedStatus": { +"description": "Identifies whether multiple users and devices will save the same object referencing this class.", +"enum": [ +"STATUS_UNSPECIFIED", +"MULTIPLE_HOLDERS", +"ONE_USER_ALL_DEVICES", +"ONE_USER_ONE_DEVICE", +"multipleHolders", +"oneUserAllDevices", +"oneUserOneDevice" +], +"enumDeprecated": [ +false, +false, +false, +false, +true, +true, +true +], +"enumDescriptions": [ +"Unspecified preference.", +"The Pass object is shareable by a user and can be saved by any number of different users, and on any number of devices. Partners typically use this setup for passes that do not need to be restricted to a single user or pinned to a single device.", +"An object can only be saved by one user, but this user can view and use it on multiple of their devices. Once the first user saves the object, no other user will be allowed to view or save it.", +"An object can only be saved by one user on a single device. Intended for use by select partners in limited circumstances. An example use case is a transit ticket that should be \"device pinned\", meaning it can be saved, viewed and used only by a single user on a single device. Contact support for additional information.", +"Legacy alias for `MULTIPLE_HOLDERS`. Deprecated.", +"Legacy alias for `ONE_USER_ALL_DEVICES`. Deprecated.", +"Legacy alias for `ONE_USER_ONE_DEVICE`. Deprecated." +], +"type": "string" +}, +"notifyPreference": { +"description": "Whether or not field updates to this class should trigger notifications. When set to NOTIFY, we will attempt to trigger a field update notification to users. These notifications will only be sent to users if the field is part of an allowlist. If not specified, no notification will be triggered. This setting is ephemeral and needs to be set with each PATCH or UPDATE request, otherwise a notification will not be triggered.", +"enum": [ +"NOTIFICATION_SETTINGS_FOR_UPDATES_UNSPECIFIED", +"NOTIFY_ON_UPDATE" +], +"enumDescriptions": [ +"Default behavior is no notifications sent.", +"This value will result in a notification being sent, if the updated fields are part of an allowlist." +], +"type": "string" +}, +"pinLabel": { +"description": "The label to display for the PIN, such as \"4-digit PIN\".", +"type": "string" +}, +"programLogo": { +"$ref": "Image", +"description": "The logo of the gift card program or company. This logo is displayed in both the details and list views of the app." +}, +"redemptionIssuers": { +"description": "Identifies which redemption issuers can redeem the pass over Smart Tap. Redemption issuers are identified by their issuer ID. Redemption issuers must have at least one Smart Tap key configured. The `enableSmartTap` and object level `smartTapRedemptionLevel` fields must also be set up correctly in order for a pass to support Smart Tap.", +"items": { +"format": "int64", +"type": "string" +}, +"type": "array" +}, +"review": { +"$ref": "Review", +"description": "The review comments set by the platform when a class is marked `approved` or `rejected`." +}, +"reviewStatus": { +"description": "Required. The status of the class. This field can be set to `draft` or `underReview` using the insert, patch, or update API calls. Once the review state is changed from `draft` it may not be changed back to `draft`. You should keep this field to `draft` when the class is under development. A `draft` class cannot be used to create any object. You should set this field to `underReview` when you believe the class is ready for use. The platform will automatically set this field to `approved` and it can be immediately used to create or migrate objects. When updating an already `approved` class you should keep setting this field to `underReview`.", +"enum": [ +"REVIEW_STATUS_UNSPECIFIED", +"UNDER_REVIEW", +"underReview", +"APPROVED", +"approved", +"REJECTED", +"rejected", +"DRAFT", +"draft" +], +"enumDeprecated": [ +false, +false, +true, +false, +true, +false, +true, +false, +true +], +"enumDescriptions": [ +"", +"", +"Legacy alias for `UNDER_REVIEW`. Deprecated.", +"", +"Legacy alias for `APPROVED`. Deprecated.", +"", +"Legacy alias for `REJECTED`. Deprecated.", +"", +"Legacy alias for `DRAFT`. Deprecated." +], +"type": "string" +}, +"securityAnimation": { +"$ref": "SecurityAnimation", +"description": "Optional information about the security animation. If this is set a security animation will be rendered on pass details." +}, +"textModulesData": { +"description": "Text module data. If text module data is also defined on the class, both will be displayed. The maximum number of these fields displayed is 10 from the object and 10 from the class.", +"items": { +"$ref": "TextModuleData" +}, +"type": "array" +}, +"valueAddedModuleData": { +"description": "Optional value added module data. Maximum of fifteen on the class. For a pass only fifteen will be displayed, prioritizing those from the object.", +"items": { +"$ref": "ValueAddedModuleData" +}, +"type": "array" +}, +"version": { +"deprecated": true, +"description": "Deprecated", +"format": "int64", +"type": "string" +}, +"viewUnlockRequirement": { +"description": "View Unlock Requirement options for the gift card.", +"enum": [ +"VIEW_UNLOCK_REQUIREMENT_UNSPECIFIED", +"UNLOCK_NOT_REQUIRED", +"UNLOCK_REQUIRED_TO_VIEW" +], +"enumDescriptions": [ +"Default value, same as UNLOCK_NOT_REQUIRED.", +"Default behavior for all the existing Passes if ViewUnlockRequirement is not set.", +"Requires the user to unlock their device each time the pass is viewed. If the user removes their device lock after saving the pass, then they will be prompted to create a device lock before the pass can be viewed." +], +"type": "string" +}, +"wideProgramLogo": { +"$ref": "Image", +"description": "The wide logo of the gift card program or company. When provided, this will be used in place of the program logo in the top left of the card view." +}, +"wordMark": { +"$ref": "Image", +"deprecated": true, +"description": "Deprecated." +} +}, +"type": "object" +}, +"GiftCardClassAddMessageResponse": { +"id": "GiftCardClassAddMessageResponse", +"properties": { +"resource": { +"$ref": "GiftCardClass", +"description": "The updated GiftCardClass resource." +} +}, +"type": "object" +}, +"GiftCardClassListResponse": { +"id": "GiftCardClassListResponse", +"properties": { +"pagination": { +"$ref": "Pagination", +"description": "Pagination of the response." +}, +"resources": { +"description": "Resources corresponding to the list request.", +"items": { +"$ref": "GiftCardClass" +}, +"type": "array" +} +}, +"type": "object" +}, +"GiftCardObject": { +"id": "GiftCardObject", +"properties": { +"appLinkData": { +"$ref": "AppLinkData", +"description": "Optional app or website link that will be displayed as a button on the front of the pass. If AppLinkData is provided for the corresponding class only object AppLinkData will be displayed." +}, +"balance": { +"$ref": "Money", +"description": "The card's monetary balance." +}, +"balanceUpdateTime": { +"$ref": "DateTime", +"description": "The date and time when the balance was last updated. Offset is required. If balance is updated and this property is not provided, system will default to the current time." +}, +"barcode": { +"$ref": "Barcode", +"description": "The barcode type and value." +}, +"cardNumber": { +"description": "Required. The card's number.", +"type": "string" +}, +"classId": { +"description": "Required. The class associated with this object. The class must be of the same type as this object, must already exist, and must be approved. Class IDs should follow the format issuer ID.identifier where the former is issued by Google and latter is chosen by you.", +"type": "string" +}, +"classReference": { +"$ref": "GiftCardClass", +"description": "A copy of the inherited fields of the parent class. These fields are retrieved during a GET." +}, +"disableExpirationNotification": { +"description": "Indicates if notifications should explicitly be suppressed. If this field is set to true, regardless of the `messages` field, expiration notifications to the user will be suppressed. By default, this field is set to false. Currently, this can only be set for offers.", +"type": "boolean" +}, +"eventNumber": { +"description": "The card's event number, an optional field used by some gift cards.", +"type": "string" +}, +"groupingInfo": { +"$ref": "GroupingInfo", +"description": "Information that controls how passes are grouped together." +}, +"hasLinkedDevice": { +"description": "Whether this object is currently linked to a single device. This field is set by the platform when a user saves the object, linking it to their device. Intended for use by select partners. Contact support for additional information.", +"type": "boolean" +}, +"hasUsers": { +"description": "Indicates if the object has users. This field is set by the platform.", +"type": "boolean" +}, +"heroImage": { +"$ref": "Image", +"description": "Optional banner image displayed on the front of the card. If none is present, hero image of the class, if present, will be displayed. If hero image of the class is also not present, nothing will be displayed." +}, +"id": { +"description": "Required. The unique identifier for an object. This ID must be unique across all objects from an issuer. This value should follow the format issuer ID.identifier where the former is issued by Google and latter is chosen by you. The unique identifier should only include alphanumeric characters, '.', '_', or '-'.", +"type": "string" +}, +"imageModulesData": { +"description": "Image module data. The maximum number of these fields displayed is 1 from object level and 1 for class object level.", +"items": { +"$ref": "ImageModuleData" +}, +"type": "array" +}, +"infoModuleData": { +"$ref": "InfoModuleData", +"description": "Deprecated. Use textModulesData instead." +}, +"kind": { +"deprecated": true, +"description": "Identifies what kind of resource this is. Value: the fixed string `\"walletobjects#giftCardObject\"`.", +"type": "string" +}, +"linkedObjectIds": { +"description": "linked_object_ids are a list of other objects such as event ticket, loyalty, offer, generic, giftcard, transit and boarding pass that should be automatically attached to this giftcard object. If a user had saved this gift card, then these linked_object_ids would be automatically pushed to the user's wallet (unless they turned off the setting to receive such linked passes). Make sure that objects present in linked_object_ids are already inserted - if not, calls would fail. Once linked, the linked objects cannot be unlinked. You cannot link objects belonging to another issuer. There is a limit to the number of objects that can be linked to a single object. After the limit is reached, new linked objects in the call will be ignored silently. Object IDs should follow the format issuer ID. identifier where the former is issued by Google and the latter is chosen by you.", +"items": { +"type": "string" +}, +"type": "array" +}, +"linksModuleData": { +"$ref": "LinksModuleData", +"description": "Links module data. If links module data is also defined on the class, both will be displayed." +}, +"locations": { +"deprecated": true, +"description": "Note: This field is currently not supported to trigger geo notifications.", +"items": { +"$ref": "LatLongPoint" +}, +"type": "array" +}, +"merchantLocations": { +"description": "Merchant locations. There is a maximum of ten on the object. Any additional MerchantLocations added beyond the 10 will be rejected. These locations will trigger a notification when a user enters within a Google-set radius of the point. This field replaces the deprecated LatLongPoints.", +"items": { +"$ref": "MerchantLocation" +}, +"type": "array" +}, +"messages": { +"description": "An array of messages displayed in the app. All users of this object will receive its associated messages. The maximum number of these fields is 10.", +"items": { +"$ref": "Message" +}, +"type": "array" +}, +"notifyPreference": { +"description": "Whether or not field updates to this object should trigger notifications. When set to NOTIFY, we will attempt to trigger a field update notification to users. These notifications will only be sent to users if the field is part of an allowlist. If set to DO_NOT_NOTIFY or NOTIFICATION_SETTINGS_UNSPECIFIED, no notification will be triggered. This setting is ephemeral and needs to be set with each PATCH or UPDATE request, otherwise a notification will not be triggered.", +"enum": [ +"NOTIFICATION_SETTINGS_FOR_UPDATES_UNSPECIFIED", +"NOTIFY_ON_UPDATE" +], +"enumDescriptions": [ +"Default behavior is no notifications sent.", +"This value will result in a notification being sent, if the updated fields are part of an allowlist." +], +"type": "string" +}, +"passConstraints": { +"$ref": "PassConstraints", +"description": "Pass constraints for the object. Includes limiting NFC and screenshot behaviors." +}, +"pin": { +"description": "The card's PIN.", +"type": "string" +}, +"rotatingBarcode": { +"$ref": "RotatingBarcode", +"description": "The rotating barcode type and value." +}, +"saveRestrictions": { +"$ref": "SaveRestrictions", +"description": "Restrictions on the object that needs to be verified before the user tries to save the pass. Note that this restrictions will only be applied during save time. If the restrictions changed after a user saves the pass, the new restrictions will not be applied to an already saved pass." +}, +"smartTapRedemptionValue": { +"description": "The value that will be transmitted to a Smart Tap certified terminal over NFC for this object. The class level fields `enableSmartTap` and `redemptionIssuers` must also be set up correctly in order for the pass to support Smart Tap. Only ASCII characters are supported.", +"type": "string" +}, +"state": { +"description": "Required. The state of the object. This field is used to determine how an object is displayed in the app. For example, an `inactive` object is moved to the \"Expired passes\" section.", +"enum": [ +"STATE_UNSPECIFIED", +"ACTIVE", +"active", +"COMPLETED", +"completed", +"EXPIRED", +"expired", +"INACTIVE", +"inactive" +], +"enumDeprecated": [ +false, +false, +true, +false, +true, +false, +true, +false, +true +], +"enumDescriptions": [ +"Default value.", +"Object is active and displayed to with other active objects.", +"Legacy alias for `ACTIVE`. Deprecated.", +"Object has completed it's lifecycle.", +"Legacy alias for `COMPLETED`. Deprecated.", +"Object is no longer valid (`validTimeInterval` passed).", +"Legacy alias for `EXPIRED`. Deprecated.", +"Object is no longer valid", +"Legacy alias for `INACTIVE`. Deprecated." +], +"type": "string" +}, +"textModulesData": { +"description": "Text module data. If text module data is also defined on the class, both will be displayed. The maximum number of these fields displayed is 10 from the object and 10 from the class.", +"items": { +"$ref": "TextModuleData" +}, +"type": "array" +}, +"validTimeInterval": { +"$ref": "TimeInterval", +"description": "The time period this object will be `active` and object can be used. An object's state will be changed to `expired` when this time period has passed." +}, +"valueAddedModuleData": { +"description": "Optional value added module data. Maximum of fifteen on the object. For a pass only fifteen will be displayed.", +"items": { +"$ref": "ValueAddedModuleData" +}, +"type": "array" +}, +"version": { +"deprecated": true, +"description": "Deprecated", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"GiftCardObjectAddMessageResponse": { +"id": "GiftCardObjectAddMessageResponse", +"properties": { +"resource": { +"$ref": "GiftCardObject", +"description": "The updated GiftCardObject resource." +} +}, +"type": "object" +}, +"GiftCardObjectListResponse": { +"id": "GiftCardObjectListResponse", +"properties": { +"pagination": { +"$ref": "Pagination", +"description": "Pagination of the response." +}, +"resources": { +"description": "Resources corresponding to the list request.", +"items": { +"$ref": "GiftCardObject" +}, +"type": "array" +} +}, +"type": "object" +}, +"GroupingInfo": { +"id": "GroupingInfo", +"properties": { +"groupingId": { +"description": "Optional grouping ID for grouping the passes with the same ID visually together. Grouping with different types of passes is allowed.", +"type": "string" +}, +"sortIndex": { +"description": "Optional index for sorting the passes when they are grouped with other passes. Passes with lower sort index are shown before passes with higher sort index. If unspecified, the value is assumed to be INT_MAX. For two passes with the same sort index, the sorting behavior is undefined.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"Image": { +"description": "Wrapping type for Google hosted images.", +"id": "Image", +"properties": { +"contentDescription": { +"$ref": "LocalizedString", +"description": "Description of the image used for accessibility." +}, +"kind": { +"deprecated": true, +"description": "Identifies what kind of resource this is. Value: the fixed string `\"walletobjects#image\"`.", +"type": "string" +}, +"privateImageId": { +"description": "An ID for an already uploaded private image. Either this or source_uri should be set. Requests setting both or neither will be rejected. Please contact support to use private images.", +"type": "string" +}, +"sourceUri": { +"$ref": "ImageUri", +"description": "A URI for the image. Either this or private_image_id should be set. Requests setting both or neither will be rejected." +} +}, +"type": "object" +}, +"ImageModuleData": { +"id": "ImageModuleData", +"properties": { +"id": { +"description": "The ID associated with an image module. This field is here to enable ease of management of image modules.", +"type": "string" +}, +"mainImage": { +"$ref": "Image", +"description": "A 100% width image." +} +}, +"type": "object" +}, +"ImageUri": { +"id": "ImageUri", +"properties": { +"description": { +"deprecated": true, +"description": "Additional information about the image, which is unused and retained only for backward compatibility.", +"type": "string" +}, +"localizedDescription": { +"$ref": "LocalizedString", +"deprecated": true, +"description": "Translated strings for the description, which are unused and retained only for backward compatibility." +}, +"uri": { +"description": "The location of the image. URIs must have a scheme.", +"type": "string" +} +}, +"type": "object" +}, +"InfoModuleData": { +"id": "InfoModuleData", +"properties": { +"labelValueRows": { +"description": "A list of collections of labels and values. These will be displayed one after the other in a singular column.", +"items": { +"$ref": "LabelValueRow" +}, +"type": "array" +}, +"showLastUpdateTime": { +"deprecated": true, +"type": "boolean" +} +}, +"type": "object" +}, +"Issuer": { +"id": "Issuer", +"properties": { +"callbackOptions": { +"$ref": "CallbackOptions", +"description": "Allows the issuer to provide their callback settings." +}, +"contactInfo": { +"$ref": "IssuerContactInfo", +"description": "Issuer contact information." +}, +"homepageUrl": { +"description": "URL for the issuer's home page.", +"type": "string" +}, +"issuerId": { +"description": "The unique identifier for an issuer account. This is automatically generated when the issuer is inserted.", +"format": "int64", +"type": "string" +}, +"name": { +"description": "The account name of the issuer.", +"type": "string" +}, +"smartTapMerchantData": { +"$ref": "SmartTapMerchantData", +"description": "Available only to Smart Tap enabled partners. Contact support for additional guidance." +} +}, +"type": "object" +}, +"IssuerContactInfo": { +"id": "IssuerContactInfo", +"properties": { +"alertsEmails": { +"description": "Email addresses which will receive alerts.", +"items": { +"type": "string" +}, +"type": "array" +}, +"email": { +"description": "The primary contact email address.", +"type": "string" +}, +"name": { +"description": "The primary contact name.", +"type": "string" +}, +"phone": { +"description": "The primary contact phone number.", +"type": "string" +} +}, +"type": "object" +}, +"IssuerListResponse": { +"id": "IssuerListResponse", +"properties": { +"resources": { +"description": "Resources corresponding to the list request.", +"items": { +"$ref": "Issuer" +}, +"type": "array" +} +}, +"type": "object" +}, +"IssuerToUserInfo": { +"id": "IssuerToUserInfo", +"properties": { +"action": { +"enum": [ +"ACTION_UNSPECIFIED", +"S2AP", +"s2ap", +"SIGN_UP", +"signUp" +], +"enumDeprecated": [ +false, +false, +true, +false, +true +], +"enumDescriptions": [ +"", +"", +"Legacy alias for `S2AP`. Deprecated.", +"", +"Legacy alias for `SIGN_UP`. Deprecated." +], +"type": "string" +}, +"signUpInfo": { +"$ref": "SignUpInfo" +}, +"url": { +"description": "Currently not used, consider deprecating.", +"type": "string" +}, +"value": { +"description": "JSON web token for action S2AP.", +"type": "string" +} +}, +"type": "object" +}, +"JwtInsertResponse": { +"id": "JwtInsertResponse", +"properties": { +"resources": { +"$ref": "Resources", +"description": "Data that corresponds to the ids of the provided classes and objects in the JWT. resources will only include the non-empty arrays (i.e. if the JWT only includes eventTicketObjects, then that is the only field that will be present in resources)." +}, +"saveUri": { +"description": "A URI that, when opened, will allow the end user to save the object(s) identified in the JWT to their Google account.", +"type": "string" +} +}, +"type": "object" +}, +"JwtResource": { +"description": "A JWT representation of a pass.", +"id": "JwtResource", +"properties": { +"jwt": { +"description": "Required. A string representing a JWT of the format described at https://developers.google.com/wallet/reference/rest/v1/Jwt", +"type": "string" +} +}, +"type": "object" +}, +"LabelValue": { +"description": "A pair of text strings to be displayed in the details view. Note we no longer display LabelValue/LabelValueRow as a table, instead a list of items.", +"id": "LabelValue", +"properties": { +"label": { +"description": "The label for a specific row and column. Recommended maximum is 15 characters for a two-column layout and 30 characters for a one-column layout.", +"type": "string" +}, +"localizedLabel": { +"$ref": "LocalizedString", +"description": "Translated strings for the label. Recommended maximum is 15 characters for a two-column layout and 30 characters for a one-column layout." +}, +"localizedValue": { +"$ref": "LocalizedString", +"description": "Translated strings for the value. Recommended maximum is 15 characters for a two-column layout and 30 characters for a one-column layout." +}, +"value": { +"description": "The value for a specific row and column. Recommended maximum is 15 characters for a two-column layout and 30 characters for a one-column layout.", +"type": "string" +} +}, +"type": "object" +}, +"LabelValueRow": { +"id": "LabelValueRow", +"properties": { +"columns": { +"description": "A list of labels and values. These will be displayed in a singular column, one after the other, not in multiple columns, despite the field name.", +"items": { +"$ref": "LabelValue" +}, +"type": "array" +} +}, +"type": "object" +}, +"LatLongPoint": { +"id": "LatLongPoint", +"properties": { +"kind": { +"deprecated": true, +"description": "Identifies what kind of resource this is. Value: the fixed string `\"walletobjects#latLongPoint\"`.", +"type": "string" +}, +"latitude": { +"description": "The latitude specified as any value in the range of -90.0 through +90.0, both inclusive. Values outside these bounds will be rejected.", +"format": "double", +"type": "number" +}, +"longitude": { +"description": "The longitude specified in the range -180.0 through +180.0, both inclusive. Values outside these bounds will be rejected.", +"format": "double", +"type": "number" +} +}, +"type": "object" +}, +"LinksModuleData": { +"id": "LinksModuleData", +"properties": { +"uris": { +"description": "The list of URIs.", +"items": { +"$ref": "Uri" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListTemplateOverride": { +"id": "ListTemplateOverride", +"properties": { +"firstRowOption": { +"$ref": "FirstRowOption", +"description": "Specifies from a predefined set of options or from a reference to the field what will be displayed in the first row. To set this override, set the FirstRowOption.fieldOption to the FieldSelector of your choice." +}, +"secondRowOption": { +"$ref": "FieldSelector", +"description": "A reference to the field to be displayed in the second row. This option is only displayed if there are not multiple user objects in a group. If there is a group, the second row will always display a field shared by all objects. To set this override, please set secondRowOption to the FieldSelector of you choice." +}, +"thirdRowOption": { +"$ref": "FieldSelector", +"deprecated": true, +"description": "An unused/deprecated field. Setting it will have no effect on what the user sees." +} +}, +"type": "object" +}, +"LocalizedString": { +"id": "LocalizedString", +"properties": { +"defaultValue": { +"$ref": "TranslatedString", +"description": "Contains the string to be displayed if no appropriate translation is available." +}, +"kind": { +"deprecated": true, +"description": "Identifies what kind of resource this is. Value: the fixed string `\"walletobjects#localizedString\"`.", +"type": "string" +}, +"translatedValues": { +"description": "Contains the translations for the string.", +"items": { +"$ref": "TranslatedString" +}, +"type": "array" +} +}, +"type": "object" +}, +"LoyaltyClass": { +"id": "LoyaltyClass", +"properties": { +"accountIdLabel": { +"description": "The account ID label, such as \"Member ID.\" Recommended maximum length is 15 characters to ensure full string is displayed on smaller screens.", +"type": "string" +}, +"accountNameLabel": { +"description": "The account name label, such as \"Member Name.\" Recommended maximum length is 15 characters to ensure full string is displayed on smaller screens.", +"type": "string" +}, +"allowMultipleUsersPerObject": { +"deprecated": true, +"description": "Deprecated. Use `multipleDevicesAndHoldersAllowedStatus` instead.", +"type": "boolean" +}, +"appLinkData": { +"$ref": "AppLinkData", +"description": "Optional app or website link that will be displayed as a button on the front of the pass. If AppLinkData is provided for the corresponding object that will be used instead." +}, +"callbackOptions": { +"$ref": "CallbackOptions", +"description": "Callback options to be used to call the issuer back for every save/delete of an object for this class by the end-user. All objects of this class are eligible for the callback." +}, +"classTemplateInfo": { +"$ref": "ClassTemplateInfo", +"description": "Template information about how the class should be displayed. If unset, Google will fallback to a default set of fields to display." +}, +"countryCode": { +"description": "Country code used to display the card's country (when the user is not in that country), as well as to display localized content when content is not available in the user's locale.", +"type": "string" +}, +"discoverableProgram": { +"$ref": "DiscoverableProgram", +"description": "Information about how the class may be discovered and instantiated from within the Google Pay app." +}, +"enableSmartTap": { +"description": "Identifies whether this class supports Smart Tap. The `redemptionIssuers` and one of object level `smartTapRedemptionLevel`, barcode.value`, or `accountId` fields must also be set up correctly in order for a pass to support Smart Tap.", +"type": "boolean" +}, +"heroImage": { +"$ref": "Image", +"description": "Optional banner image displayed on the front of the card. If none is present, nothing will be displayed. The image will display at 100% width." +}, +"hexBackgroundColor": { +"description": "The background color for the card. If not set the dominant color of the hero image is used, and if no hero image is set, the dominant color of the logo is used. The format is #rrggbb where rrggbb is a hex RGB triplet, such as `#ffcc00`. You can also use the shorthand version of the RGB triplet which is #rgb, such as `#fc0`.", +"type": "string" +}, +"homepageUri": { +"$ref": "Uri", +"description": "The URI of your application's home page. Populating the URI in this field results in the exact same behavior as populating an URI in linksModuleData (when an object is rendered, a link to the homepage is shown in what would usually be thought of as the linksModuleData section of the object)." +}, +"id": { +"description": "Required. The unique identifier for a class. This ID must be unique across all classes from an issuer. This value should follow the format issuer ID. identifier where the former is issued by Google and latter is chosen by you. Your unique identifier should only include alphanumeric characters, '.', '_', or '-'.", +"type": "string" +}, +"imageModulesData": { +"description": "Image module data. The maximum number of these fields displayed is 1 from object level and 1 for class object level.", +"items": { +"$ref": "ImageModuleData" +}, +"type": "array" +}, +"infoModuleData": { +"$ref": "InfoModuleData", +"deprecated": true, +"description": "Deprecated. Use textModulesData instead." +}, +"issuerName": { +"description": "Required. The issuer name. Recommended maximum length is 20 characters to ensure full string is displayed on smaller screens.", +"type": "string" +}, +"kind": { +"deprecated": true, +"description": "Identifies what kind of resource this is. Value: the fixed string `\"walletobjects#loyaltyClass\"`.", +"type": "string" +}, +"linksModuleData": { +"$ref": "LinksModuleData", +"description": "Links module data. If links module data is also defined on the object, both will be displayed." +}, +"localizedAccountIdLabel": { +"$ref": "LocalizedString", +"description": "Translated strings for the account_id_label. Recommended maximum length is 15 characters to ensure full string is displayed on smaller screens." +}, +"localizedAccountNameLabel": { +"$ref": "LocalizedString", +"description": "Translated strings for the account_name_label. Recommended maximum length is 15 characters to ensure full string is displayed on smaller screens." +}, +"localizedIssuerName": { +"$ref": "LocalizedString", +"description": "Translated strings for the issuer_name. Recommended maximum length is 20 characters to ensure full string is displayed on smaller screens." +}, +"localizedProgramName": { +"$ref": "LocalizedString", +"description": "Translated strings for the program_name. The app may display an ellipsis after the first 20 characters to ensure full string is displayed on smaller screens." +}, +"localizedRewardsTier": { +"$ref": "LocalizedString", +"description": "Translated strings for the rewards_tier. Recommended maximum length is 7 characters to ensure full string is displayed on smaller screens." +}, +"localizedRewardsTierLabel": { +"$ref": "LocalizedString", +"description": "Translated strings for the rewards_tier_label. Recommended maximum length is 9 characters to ensure full string is displayed on smaller screens." +}, +"localizedSecondaryRewardsTier": { +"$ref": "LocalizedString", +"description": "Translated strings for the secondary_rewards_tier." +}, +"localizedSecondaryRewardsTierLabel": { +"$ref": "LocalizedString", +"description": "Translated strings for the secondary_rewards_tier_label." +}, +"locations": { +"deprecated": true, +"description": "Note: This field is currently not supported to trigger geo notifications.", +"items": { +"$ref": "LatLongPoint" +}, +"type": "array" +}, +"merchantLocations": { +"description": "Merchant locations. There is a maximum of ten on the class. Any additional MerchantLocations added beyond the 10 will be rejected. These locations will trigger a notification when a user enters within a Google-set radius of the point. This field replaces the deprecated LatLongPoints.", +"items": { +"$ref": "MerchantLocation" +}, +"type": "array" +}, +"messages": { +"description": "An array of messages displayed in the app. All users of this object will receive its associated messages. The maximum number of these fields is 10.", +"items": { +"$ref": "Message" +}, +"type": "array" +}, +"multipleDevicesAndHoldersAllowedStatus": { +"description": "Identifies whether multiple users and devices will save the same object referencing this class.", +"enum": [ +"STATUS_UNSPECIFIED", +"MULTIPLE_HOLDERS", +"ONE_USER_ALL_DEVICES", +"ONE_USER_ONE_DEVICE", +"multipleHolders", +"oneUserAllDevices", +"oneUserOneDevice" +], +"enumDeprecated": [ +false, +false, +false, +false, +true, +true, +true +], +"enumDescriptions": [ +"Unspecified preference.", +"The Pass object is shareable by a user and can be saved by any number of different users, and on any number of devices. Partners typically use this setup for passes that do not need to be restricted to a single user or pinned to a single device.", +"An object can only be saved by one user, but this user can view and use it on multiple of their devices. Once the first user saves the object, no other user will be allowed to view or save it.", +"An object can only be saved by one user on a single device. Intended for use by select partners in limited circumstances. An example use case is a transit ticket that should be \"device pinned\", meaning it can be saved, viewed and used only by a single user on a single device. Contact support for additional information.", +"Legacy alias for `MULTIPLE_HOLDERS`. Deprecated.", +"Legacy alias for `ONE_USER_ALL_DEVICES`. Deprecated.", +"Legacy alias for `ONE_USER_ONE_DEVICE`. Deprecated." +], +"type": "string" +}, +"notifyPreference": { +"description": "Whether or not field updates to this class should trigger notifications. When set to NOTIFY, we will attempt to trigger a field update notification to users. These notifications will only be sent to users if the field is part of an allowlist. If not specified, no notification will be triggered. This setting is ephemeral and needs to be set with each PATCH or UPDATE request, otherwise a notification will not be triggered.", +"enum": [ +"NOTIFICATION_SETTINGS_FOR_UPDATES_UNSPECIFIED", +"NOTIFY_ON_UPDATE" +], +"enumDescriptions": [ +"Default behavior is no notifications sent.", +"This value will result in a notification being sent, if the updated fields are part of an allowlist." +], +"type": "string" +}, +"programLogo": { +"$ref": "Image", +"description": "Required. The logo of the loyalty program or company. This logo is displayed in both the details and list views of the app." +}, +"programName": { +"description": "Required. The program name, such as \"Adam's Apparel\". The app may display an ellipsis after the first 20 characters to ensure full string is displayed on smaller screens.", +"type": "string" +}, +"redemptionIssuers": { +"description": "Identifies which redemption issuers can redeem the pass over Smart Tap. Redemption issuers are identified by their issuer ID. Redemption issuers must have at least one Smart Tap key configured. The `enableSmartTap` and one of object level `smartTapRedemptionValue`, barcode.value`, or `accountId` fields must also be set up correctly in order for a pass to support Smart Tap.", +"items": { +"format": "int64", +"type": "string" +}, +"type": "array" +}, +"review": { +"$ref": "Review", +"description": "The review comments set by the platform when a class is marked `approved` or `rejected`." +}, +"reviewStatus": { +"description": "Required. The status of the class. This field can be set to `draft` or `underReview` using the insert, patch, or update API calls. Once the review state is changed from `draft` it may not be changed back to `draft`. You should keep this field to `draft` when the class is under development. A `draft` class cannot be used to create any object. You should set this field to `underReview` when you believe the class is ready for use. The platform will automatically set this field to `approved` and it can be immediately used to create or migrate objects. When updating an already `approved` class you should keep setting this field to `underReview`.", +"enum": [ +"REVIEW_STATUS_UNSPECIFIED", +"UNDER_REVIEW", +"underReview", +"APPROVED", +"approved", +"REJECTED", +"rejected", +"DRAFT", +"draft" +], +"enumDeprecated": [ +false, +false, +true, +false, +true, +false, +true, +false, +true +], +"enumDescriptions": [ +"", +"", +"Legacy alias for `UNDER_REVIEW`. Deprecated.", +"", +"Legacy alias for `APPROVED`. Deprecated.", +"", +"Legacy alias for `REJECTED`. Deprecated.", +"", +"Legacy alias for `DRAFT`. Deprecated." +], +"type": "string" +}, +"rewardsTier": { +"description": "The rewards tier, such as \"Gold\" or \"Platinum.\" Recommended maximum length is 7 characters to ensure full string is displayed on smaller screens.", +"type": "string" +}, +"rewardsTierLabel": { +"description": "The rewards tier label, such as \"Rewards Tier.\" Recommended maximum length is 9 characters to ensure full string is displayed on smaller screens.", +"type": "string" +}, +"secondaryRewardsTier": { +"description": "The secondary rewards tier, such as \"Gold\" or \"Platinum.\"", +"type": "string" +}, +"secondaryRewardsTierLabel": { +"description": "The secondary rewards tier label, such as \"Rewards Tier.\"", +"type": "string" +}, +"securityAnimation": { +"$ref": "SecurityAnimation", +"description": "Optional information about the security animation. If this is set a security animation will be rendered on pass details." +}, +"textModulesData": { +"description": "Text module data. If text module data is also defined on the class, both will be displayed. The maximum number of these fields displayed is 10 from the object and 10 from the class.", +"items": { +"$ref": "TextModuleData" +}, +"type": "array" +}, +"valueAddedModuleData": { +"description": "Optional value added module data. Maximum of fifteen on the class. For a pass only fifteen will be displayed, prioritizing those from the object.", +"items": { +"$ref": "ValueAddedModuleData" +}, +"type": "array" +}, +"version": { +"deprecated": true, +"description": "Deprecated", +"format": "int64", +"type": "string" +}, +"viewUnlockRequirement": { +"description": "View Unlock Requirement options for the loyalty card.", +"enum": [ +"VIEW_UNLOCK_REQUIREMENT_UNSPECIFIED", +"UNLOCK_NOT_REQUIRED", +"UNLOCK_REQUIRED_TO_VIEW" +], +"enumDescriptions": [ +"Default value, same as UNLOCK_NOT_REQUIRED.", +"Default behavior for all the existing Passes if ViewUnlockRequirement is not set.", +"Requires the user to unlock their device each time the pass is viewed. If the user removes their device lock after saving the pass, then they will be prompted to create a device lock before the pass can be viewed." +], +"type": "string" +}, +"wideProgramLogo": { +"$ref": "Image", +"description": "The wide logo of the loyalty program or company. When provided, this will be used in place of the program logo in the top left of the card view." +}, +"wordMark": { +"$ref": "Image", +"deprecated": true, +"description": "Deprecated." +} +}, +"type": "object" +}, +"LoyaltyClassAddMessageResponse": { +"id": "LoyaltyClassAddMessageResponse", +"properties": { +"resource": { +"$ref": "LoyaltyClass", +"description": "The updated LoyaltyClass resource." +} +}, +"type": "object" +}, +"LoyaltyClassListResponse": { +"id": "LoyaltyClassListResponse", +"properties": { +"pagination": { +"$ref": "Pagination", +"description": "Pagination of the response." +}, +"resources": { +"description": "Resources corresponding to the list request.", +"items": { +"$ref": "LoyaltyClass" +}, +"type": "array" +} +}, +"type": "object" +}, +"LoyaltyObject": { +"id": "LoyaltyObject", +"properties": { +"accountId": { +"description": "The loyalty account identifier. Recommended maximum length is 20 characters.", +"type": "string" +}, +"accountName": { +"description": "The loyalty account holder name, such as \"John Smith.\" Recommended maximum length is 20 characters to ensure full string is displayed on smaller screens.", +"type": "string" +}, +"appLinkData": { +"$ref": "AppLinkData", +"description": "Optional app or website link that will be displayed as a button on the front of the pass. If AppLinkData is provided for the corresponding class only object AppLinkData will be displayed." +}, +"barcode": { +"$ref": "Barcode", +"description": "The barcode type and value." +}, +"classId": { +"description": "Required. The class associated with this object. The class must be of the same type as this object, must already exist, and must be approved. Class IDs should follow the format issuer ID.identifier where the former is issued by Google and latter is chosen by you.", +"type": "string" +}, +"classReference": { +"$ref": "LoyaltyClass", +"description": "A copy of the inherited fields of the parent class. These fields are retrieved during a GET." +}, +"disableExpirationNotification": { +"description": "Indicates if notifications should explicitly be suppressed. If this field is set to true, regardless of the `messages` field, expiration notifications to the user will be suppressed. By default, this field is set to false. Currently, this can only be set for offers.", +"type": "boolean" +}, +"groupingInfo": { +"$ref": "GroupingInfo", +"description": "Information that controls how passes are grouped together." +}, +"hasLinkedDevice": { +"description": "Whether this object is currently linked to a single device. This field is set by the platform when a user saves the object, linking it to their device. Intended for use by select partners. Contact support for additional information.", +"type": "boolean" +}, +"hasUsers": { +"description": "Indicates if the object has users. This field is set by the platform.", +"type": "boolean" +}, +"heroImage": { +"$ref": "Image", +"description": "Optional banner image displayed on the front of the card. If none is present, hero image of the class, if present, will be displayed. If hero image of the class is also not present, nothing will be displayed." +}, +"id": { +"description": "Required. The unique identifier for an object. This ID must be unique across all objects from an issuer. This value should follow the format issuer ID.identifier where the former is issued by Google and latter is chosen by you. The unique identifier should only include alphanumeric characters, '.', '_', or '-'.", +"type": "string" +}, +"imageModulesData": { +"description": "Image module data. The maximum number of these fields displayed is 1 from object level and 1 for class object level.", +"items": { +"$ref": "ImageModuleData" +}, +"type": "array" +}, +"infoModuleData": { +"$ref": "InfoModuleData", +"description": "Deprecated. Use textModulesData instead." +}, +"kind": { +"deprecated": true, +"description": "Identifies what kind of resource this is. Value: the fixed string `\"walletobjects#loyaltyObject\"`.", +"type": "string" +}, +"linkedObjectIds": { +"description": "linked_object_ids are a list of other objects such as event ticket, loyalty, offer, generic, giftcard, transit and boarding pass that should be automatically attached to this loyalty object. If a user had saved this loyalty card, then these linked_object_ids would be automatically pushed to the user's wallet (unless they turned off the setting to receive such linked passes). Make sure that objects present in linked_object_ids are already inserted - if not, calls would fail. Once linked, the linked objects cannot be unlinked. You cannot link objects belonging to another issuer. There is a limit to the number of objects that can be linked to a single object. After the limit is reached, new linked objects in the call will be ignored silently. Object IDs should follow the format issuer ID. identifier where the former is issued by Google and the latter is chosen by you.", +"items": { +"type": "string" +}, +"type": "array" +}, +"linkedOfferIds": { +"description": "A list of offer objects linked to this loyalty card. The offer objects must already exist. Offer object IDs should follow the format issuer ID. identifier where the former is issued by Google and latter is chosen by you.", +"items": { +"type": "string" +}, +"type": "array" +}, +"linksModuleData": { +"$ref": "LinksModuleData", +"description": "Links module data. If links module data is also defined on the class, both will be displayed." +}, +"locations": { +"deprecated": true, +"description": "Note: This field is currently not supported to trigger geo notifications.", +"items": { +"$ref": "LatLongPoint" +}, +"type": "array" +}, +"loyaltyPoints": { +"$ref": "LoyaltyPoints", +"description": "The loyalty reward points label, balance, and type." +}, +"merchantLocations": { +"description": "Merchant locations. There is a maximum of ten on the object. Any additional MerchantLocations added beyond the 10 will be rejected. These locations will trigger a notification when a user enters within a Google-set radius of the point. This field replaces the deprecated LatLongPoints.", +"items": { +"$ref": "MerchantLocation" +}, +"type": "array" +}, +"messages": { +"description": "An array of messages displayed in the app. All users of this object will receive its associated messages. The maximum number of these fields is 10.", +"items": { +"$ref": "Message" +}, +"type": "array" +}, +"notifyPreference": { +"description": "Whether or not field updates to this object should trigger notifications. When set to NOTIFY, we will attempt to trigger a field update notification to users. These notifications will only be sent to users if the field is part of an allowlist. If set to DO_NOT_NOTIFY or NOTIFICATION_SETTINGS_UNSPECIFIED, no notification will be triggered. This setting is ephemeral and needs to be set with each PATCH or UPDATE request, otherwise a notification will not be triggered.", +"enum": [ +"NOTIFICATION_SETTINGS_FOR_UPDATES_UNSPECIFIED", +"NOTIFY_ON_UPDATE" +], +"enumDescriptions": [ +"Default behavior is no notifications sent.", +"This value will result in a notification being sent, if the updated fields are part of an allowlist." +], +"type": "string" +}, +"passConstraints": { +"$ref": "PassConstraints", +"description": "Pass constraints for the object. Includes limiting NFC and screenshot behaviors." +}, +"rotatingBarcode": { +"$ref": "RotatingBarcode", +"description": "The rotating barcode type and value." +}, +"saveRestrictions": { +"$ref": "SaveRestrictions", +"description": "Restrictions on the object that needs to be verified before the user tries to save the pass. Note that this restrictions will only be applied during save time. If the restrictions changed after a user saves the pass, the new restrictions will not be applied to an already saved pass." +}, +"secondaryLoyaltyPoints": { +"$ref": "LoyaltyPoints", +"description": "The secondary loyalty reward points label, balance, and type. Shown in addition to the primary loyalty points." +}, +"smartTapRedemptionValue": { +"description": "The value that will be transmitted to a Smart Tap certified terminal over NFC for this object. The class level fields `enableSmartTap` and `redemptionIssuers` must also be set up correctly in order for the pass to support Smart Tap. Only ASCII characters are supported. If this value is not set but the class level fields `enableSmartTap` and `redemptionIssuers` are set up correctly, the `barcode.value` or the `accountId` fields are used as fallback if present.", +"type": "string" +}, +"state": { +"description": "Required. The state of the object. This field is used to determine how an object is displayed in the app. For example, an `inactive` object is moved to the \"Expired passes\" section.", +"enum": [ +"STATE_UNSPECIFIED", +"ACTIVE", +"active", +"COMPLETED", +"completed", +"EXPIRED", +"expired", +"INACTIVE", +"inactive" +], +"enumDeprecated": [ +false, +false, +true, +false, +true, +false, +true, +false, +true +], +"enumDescriptions": [ +"Default value.", +"Object is active and displayed to with other active objects.", +"Legacy alias for `ACTIVE`. Deprecated.", +"Object has completed it's lifecycle.", +"Legacy alias for `COMPLETED`. Deprecated.", +"Object is no longer valid (`validTimeInterval` passed).", +"Legacy alias for `EXPIRED`. Deprecated.", +"Object is no longer valid", +"Legacy alias for `INACTIVE`. Deprecated." +], +"type": "string" +}, +"textModulesData": { +"description": "Text module data. If text module data is also defined on the class, both will be displayed. The maximum number of these fields displayed is 10 from the object and 10 from the class.", +"items": { +"$ref": "TextModuleData" +}, +"type": "array" +}, +"validTimeInterval": { +"$ref": "TimeInterval", +"description": "The time period this object will be `active` and object can be used. An object's state will be changed to `expired` when this time period has passed." +}, +"valueAddedModuleData": { +"description": "Optional value added module data. Maximum of fifteen on the object. For a pass only fifteen will be displayed.", +"items": { +"$ref": "ValueAddedModuleData" +}, +"type": "array" +}, +"version": { +"deprecated": true, +"description": "Deprecated", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"LoyaltyObjectAddMessageResponse": { +"id": "LoyaltyObjectAddMessageResponse", +"properties": { +"resource": { +"$ref": "LoyaltyObject", +"description": "The updated LoyaltyObject resource." +} +}, +"type": "object" +}, +"LoyaltyObjectListResponse": { +"id": "LoyaltyObjectListResponse", +"properties": { +"pagination": { +"$ref": "Pagination", +"description": "Pagination of the response." +}, +"resources": { +"description": "Resources corresponding to the list request.", +"items": { +"$ref": "LoyaltyObject" +}, +"type": "array" +} +}, +"type": "object" +}, +"LoyaltyPoints": { +"id": "LoyaltyPoints", +"properties": { +"balance": { +"$ref": "LoyaltyPointsBalance", +"description": "The account holder's loyalty point balance, such as \"500\" or \"$10.00\". Recommended maximum length is 7 characters. This is a required field of `loyaltyPoints` and `secondaryLoyaltyPoints`." +}, +"label": { +"description": "The loyalty points label, such as \"Points\". Recommended maximum length is 9 characters.", +"type": "string" +}, +"localizedLabel": { +"$ref": "LocalizedString", +"description": "Translated strings for the label. Recommended maximum length is 9 characters." +} +}, +"type": "object" +}, +"LoyaltyPointsBalance": { +"id": "LoyaltyPointsBalance", +"properties": { +"double": { +"description": "The double form of a balance. Only one of these subtypes (string, int, double, money) should be populated.", +"format": "double", +"type": "number" +}, +"int": { +"description": "The integer form of a balance. Only one of these subtypes (string, int, double, money) should be populated.", +"format": "int32", +"type": "integer" +}, +"money": { +"$ref": "Money", +"description": "The money form of a balance. Only one of these subtypes (string, int, double, money) should be populated." +}, +"string": { +"description": "The string form of a balance. Only one of these subtypes (string, int, double, money) should be populated.", +"type": "string" +} +}, +"type": "object" +}, +"Media": { +"description": "A reference to data stored on the filesystem, on GFS or in blobstore.", +"id": "Media", +"properties": { +"algorithm": { +"deprecated": true, +"description": "Deprecated, use one of explicit hash type fields instead. Algorithm used for calculating the hash. As of 2011/01/21, \"MD5\" is the only possible value for this field. New values may be added at any time.", +"type": "string" +}, +"bigstoreObjectRef": { +"deprecated": true, +"description": "Use object_id instead.", +"format": "byte", +"type": "string" +}, +"blobRef": { +"deprecated": true, +"description": "Blobstore v1 reference, set if reference_type is BLOBSTORE_REF This should be the byte representation of a blobstore.BlobRef. Since Blobstore is deprecating v1, use blobstore2_info instead. For now, any v2 blob will also be represented in this field as v1 BlobRef.", +"format": "byte", +"type": "string" +}, +"blobstore2Info": { +"$ref": "Blobstore2Info", +"description": "Blobstore v2 info, set if reference_type is BLOBSTORE_REF and it refers to a v2 blob." +}, +"compositeMedia": { +"description": "A composite media composed of one or more media objects, set if reference_type is COMPOSITE_MEDIA. The media length field must be set to the sum of the lengths of all composite media objects. Note: All composite media must have length specified.", +"items": { +"$ref": "CompositeMedia" +}, +"type": "array" +}, +"contentType": { +"description": "MIME type of the data", +"type": "string" +}, +"contentTypeInfo": { +"$ref": "ContentTypeInfo", +"description": "Extended content type information provided for Scotty uploads." +}, +"cosmoBinaryReference": { +"description": "A binary data reference for a media download. Serves as a technology-agnostic binary reference in some Google infrastructure. This value is a serialized storage_cosmo.BinaryReference proto. Storing it as bytes is a hack to get around the fact that the cosmo proto (as well as others it includes) doesn't support JavaScript. This prevents us from including the actual type of this field.", +"format": "byte", +"type": "string" +}, +"crc32cHash": { +"description": "For Scotty Uploads: Scotty-provided hashes for uploads For Scotty Downloads: (WARNING: DO NOT USE WITHOUT PERMISSION FROM THE SCOTTY TEAM.) A Hash provided by the agent to be used to verify the data being downloaded. Currently only supported for inline payloads. Further, only crc32c_hash is currently supported.", +"format": "uint32", +"type": "integer" +}, +"diffChecksumsResponse": { +"$ref": "DiffChecksumsResponse", +"description": "Set if reference_type is DIFF_CHECKSUMS_RESPONSE." +}, +"diffDownloadResponse": { +"$ref": "DiffDownloadResponse", +"description": "Set if reference_type is DIFF_DOWNLOAD_RESPONSE." +}, +"diffUploadRequest": { +"$ref": "DiffUploadRequest", +"description": "Set if reference_type is DIFF_UPLOAD_REQUEST." +}, +"diffUploadResponse": { +"$ref": "DiffUploadResponse", +"description": "Set if reference_type is DIFF_UPLOAD_RESPONSE." +}, +"diffVersionResponse": { +"$ref": "DiffVersionResponse", +"description": "Set if reference_type is DIFF_VERSION_RESPONSE." +}, +"downloadParameters": { +"$ref": "DownloadParameters", +"description": "Parameters for a media download." +}, +"filename": { +"description": "Original file name", +"type": "string" +}, +"hash": { +"deprecated": true, +"description": "Deprecated, use one of explicit hash type fields instead. These two hash related fields will only be populated on Scotty based media uploads and will contain the content of the hash group in the NotificationRequest: http://cs/#google3/blobstore2/api/scotty/service/proto/upload_listener.proto&q=class:Hash Hex encoded hash value of the uploaded media.", +"type": "string" +}, +"hashVerified": { +"description": "For Scotty uploads only. If a user sends a hash code and the backend has requested that Scotty verify the upload against the client hash, Scotty will perform the check on behalf of the backend and will reject it if the hashes don't match. This is set to true if Scotty performed this verification.", +"type": "boolean" +}, +"inline": { +"description": "Media data, set if reference_type is INLINE", +"format": "byte", +"type": "string" +}, +"isPotentialRetry": { +"description": "|is_potential_retry| is set false only when Scotty is certain that it has not sent the request before. When a client resumes an upload, this field must be set true in agent calls, because Scotty cannot be certain that it has never sent the request before due to potential failure in the session state persistence.", +"type": "boolean" +}, +"length": { +"description": "Size of the data, in bytes", +"format": "int64", +"type": "string" +}, +"md5Hash": { +"description": "Scotty-provided MD5 hash for an upload.", +"format": "byte", +"type": "string" +}, +"mediaId": { +"description": "Media id to forward to the operation GetMedia. Can be set if reference_type is GET_MEDIA.", +"format": "byte", +"type": "string" +}, +"objectId": { +"$ref": "ObjectId", +"description": "Reference to a TI Blob, set if reference_type is BIGSTORE_REF." +}, +"path": { +"description": "Path to the data, set if reference_type is PATH", +"type": "string" +}, +"referenceType": { +"description": "Describes what the field reference contains.", +"enum": [ +"PATH", +"BLOB_REF", +"INLINE", +"GET_MEDIA", +"COMPOSITE_MEDIA", +"BIGSTORE_REF", +"DIFF_VERSION_RESPONSE", +"DIFF_CHECKSUMS_RESPONSE", +"DIFF_DOWNLOAD_RESPONSE", +"DIFF_UPLOAD_REQUEST", +"DIFF_UPLOAD_RESPONSE", +"COSMO_BINARY_REFERENCE", +"ARBITRARY_BYTES" +], +"enumDescriptions": [ +"Reference contains a GFS path or a local path.", +"Reference points to a blobstore object. This could be either a v1 blob_ref or a v2 blobstore2_info. Clients should check blobstore2_info first, since v1 is being deprecated.", +"Data is included into this proto buffer", +"Data should be accessed from the current service using the operation GetMedia.", +"The content for this media object is stored across multiple partial media objects under the composite_media field.", +"Reference points to a bigstore object", +"Indicates the data is stored in diff_version_response.", +"Indicates the data is stored in diff_checksums_response.", +"Indicates the data is stored in diff_download_response.", +"Indicates the data is stored in diff_upload_request.", +"Indicates the data is stored in diff_upload_response.", +"Indicates the data is stored in cosmo_binary_reference.", +"Informs Scotty to generate a response payload with the size specified in the length field. The contents of the payload are generated by Scotty and are undefined. This is useful for testing download speeds between the user and Scotty without involving a real payload source. Note: range is not supported when using arbitrary_bytes." +], +"type": "string" +}, +"sha1Hash": { +"description": "Scotty-provided SHA1 hash for an upload.", +"format": "byte", +"type": "string" +}, +"sha256Hash": { +"description": "Scotty-provided SHA256 hash for an upload.", +"format": "byte", +"type": "string" +}, +"timestamp": { +"description": "Time at which the media data was last updated, in milliseconds since UNIX epoch", +"format": "uint64", +"type": "string" +}, +"token": { +"description": "A unique fingerprint/version id for the media data", +"type": "string" +} +}, +"type": "object" +}, +"MediaRequestInfo": { +"description": "Extra information added to operations that support Scotty media requests.", +"id": "MediaRequestInfo", +"properties": { +"currentBytes": { +"description": "The number of current bytes uploaded or downloaded.", +"format": "int64", +"type": "string" +}, +"customData": { +"description": "Data to be copied to backend requests. Custom data is returned to Scotty in the agent_state field, which Scotty will then provide in subsequent upload notifications.", +"type": "string" +}, +"diffObjectVersion": { +"description": "Set if the http request info is diff encoded. The value of this field is the version number of the base revision. This is corresponding to Apiary's mediaDiffObjectVersion (//depot/google3/java/com/google/api/server/media/variable/DiffObjectVersionVariable.java). See go/esf-scotty-diff-upload for more information.", +"type": "string" +}, +"finalStatus": { +"description": "The existence of the final_status field indicates that this is the last call to the agent for this request_id. http://google3/uploader/agent/scotty_agent.proto?l=737&rcl=347601929", +"format": "int32", +"type": "integer" +}, +"notificationType": { +"description": "The type of notification received from Scotty.", +"enum": [ +"START", +"PROGRESS", +"END", +"RESPONSE_SENT", +"ERROR" +], +"enumDescriptions": [ +"Such requests signals the start of a request containing media upload. Only the media field(s) in the inserted/updated resource are set. The response should either return an error or succeed. On success, responses don't need to contain anything.", +"Such requests signals that the upload has progressed and that the backend might want to access the media file specified in relevant fields in the resource. Only the media field(s) in the inserted/updated resource are set. The response should either return an error or succeed. On success, responses don't need to contain anything.", +"Such requests signals the end of a request containing media upload. END should be handled just like normal Insert/Upload requests, that is, they should process the request and return a complete resource in the response. Pointers to media data (a GFS path usually) appear in the relevant fields in the inserted/updated resource. See gdata.Media in data.proto.", +"Such requests occur after an END and signal that the response has been sent back to the client. RESPONSE_SENT is only sent to the backend if it is configured to receive them. The response does not need to contain anything.", +"Such requests indicate that an error occurred while processing the request. ERROR is only sent to the backend if it is configured to receive them. It is not guaranteed that all errors will result in this notification to the backend, even if the backend requests them. Since these requests are just for informational purposes, the response does not need to contain anything." +], +"type": "string" +}, +"physicalHeaders": { +"description": "The physical headers provided by RequestReceivedParameters in Scotty request. type is uploader_service.KeyValuePairs.", +"format": "byte", +"type": "string" +}, +"requestId": { +"description": "The Scotty request ID.", +"type": "string" +}, +"requestReceivedParamsServingInfo": { +"description": "The partition of the Scotty server handling this request. type is uploader_service.RequestReceivedParamsServingInfo LINT.IfChange(request_received_params_serving_info_annotations) LINT.ThenChange()", +"format": "byte", +"type": "string" +}, +"totalBytes": { +"description": "The total size of the file.", +"format": "int64", +"type": "string" +}, +"totalBytesIsEstimated": { +"description": "Whether the total bytes field contains an estimated data.", +"type": "boolean" +} +}, +"type": "object" +}, +"MerchantLocation": { +"description": "Locations of interest for this class or object. Currently, this location is used for geofenced notifications. When a user is within a set radius of this lat/long, and dwells there, Google will trigger a notification. When a user exits this radius, the notification will be hidden.", +"id": "MerchantLocation", +"properties": { +"latitude": { +"description": "The latitude specified as any value in the range of -90.0 through +90.0, both inclusive. Values outside these bounds will be rejected.", +"format": "double", +"type": "number" +}, +"longitude": { +"description": "The longitude specified in the range -180.0 through +180.0, both inclusive. Values outside these bounds will be rejected.", +"format": "double", +"type": "number" +} +}, +"type": "object" +}, +"Message": { +"description": "A message that will be displayed with a Valuable", +"id": "Message", +"properties": { +"body": { +"description": "The message body.", +"type": "string" +}, +"displayInterval": { +"$ref": "TimeInterval", +"description": "The period of time that the message will be displayed to users. You can define both a `startTime` and `endTime` for each message. A message is displayed immediately after a Wallet Object is inserted unless a `startTime` is set. The message will appear in a list of messages indefinitely if `endTime` is not provided." +}, +"header": { +"description": "The message header.", +"type": "string" +}, +"id": { +"description": "The ID associated with a message. This field is here to enable ease of management of messages. Notice ID values could possibly duplicate across multiple messages in the same class/instance, and care must be taken to select a reasonable ID for each message.", +"type": "string" +}, +"kind": { +"deprecated": true, +"description": "Identifies what kind of resource this is. Value: the fixed string `\"walletobjects#walletObjectMessage\"`.", +"type": "string" +}, +"localizedBody": { +"$ref": "LocalizedString", +"description": "Translated strings for the message body." +}, +"localizedHeader": { +"$ref": "LocalizedString", +"description": "Translated strings for the message header." +}, +"messageType": { +"description": "The message type.", +"enum": [ +"MESSAGE_TYPE_UNSPECIFIED", +"TEXT", +"text", +"EXPIRATION_NOTIFICATION", +"expirationNotification", +"TEXT_AND_NOTIFY" +], +"enumDeprecated": [ +false, +false, +true, +false, +true, +false +], +"enumDescriptions": [ +"", +"Renders the message as text on the card details screen. This is the default message type.", +"Legacy alias for `TEXT`. Deprecated.", +"Note: This enum is currently not supported.", +"Legacy alias for `EXPIRATION_NOTIFICATION`. Deprecated.", +"Renders the message as text on the card details screen and as an Android notification." +], +"type": "string" +} +}, +"type": "object" +}, +"ModifyLinkedOfferObjects": { +"id": "ModifyLinkedOfferObjects", +"properties": { +"addLinkedOfferObjectIds": { +"description": "The linked offer object ids to add to the object.", +"items": { +"type": "string" +}, +"type": "array" +}, +"removeLinkedOfferObjectIds": { +"description": "The linked offer object ids to remove from the object.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ModifyLinkedOfferObjectsRequest": { +"id": "ModifyLinkedOfferObjectsRequest", +"properties": { +"linkedOfferObjectIds": { +"$ref": "ModifyLinkedOfferObjects", +"description": "The linked offer object ids to add or remove from the object." +} +}, +"type": "object" +}, +"ModuleViewConstraints": { +"description": "Constraints that all must be met for the module to be shown.", +"id": "ModuleViewConstraints", +"properties": { +"displayInterval": { +"$ref": "TimeInterval", +"description": "The period of time that the module will be displayed to users. Can define both a `startTime` and `endTime`. The module is displayed immediately after insertion unless a `startTime` is set. The module is displayed indefinitely if `endTime` is not set." +} +}, +"type": "object" +}, +"Money": { +"id": "Money", +"properties": { +"currencyCode": { +"description": "The currency code, such as \"USD\" or \"EUR.\"", +"type": "string" +}, +"kind": { +"deprecated": true, +"description": "Identifies what kind of resource this is. Value: the fixed string `\"walletobjects#money\"`.", +"type": "string" +}, +"micros": { +"description": "The unit of money amount in micros. For example, $1 USD would be represented as 1000000 micros.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"Notifications": { +"description": "Indicates if the object needs to have notification enabled. We support only one of ExpiryNotification/UpcomingNotification. `expiryNotification` takes precedence over `upcomingNotification`. In other words if `expiryNotification` is set, we ignore the `upcomingNotification` field.", +"id": "Notifications", +"properties": { +"expiryNotification": { +"$ref": "ExpiryNotification", +"description": "A notification would be triggered at a specific time before the card expires." +}, +"upcomingNotification": { +"$ref": "UpcomingNotification", +"description": "A notification would be triggered at a specific time before the card becomes usable." +} +}, +"type": "object" +}, +"ObjectId": { +"description": "This is a copy of the tech.blob.ObjectId proto, which could not be used directly here due to transitive closure issues with JavaScript support; see http://b/8801763.", +"id": "ObjectId", +"properties": { +"bucketName": { +"description": "The name of the bucket to which this object belongs.", +"type": "string" +}, +"generation": { +"description": "Generation of the object. Generations are monotonically increasing across writes, allowing them to be be compared to determine which generation is newer. If this is omitted in a request, then you are requesting the live object. See http://go/bigstore-versions", +"format": "int64", +"type": "string" +}, +"objectName": { +"description": "The name of the object.", +"type": "string" +} +}, +"type": "object" +}, +"OfferClass": { +"id": "OfferClass", +"properties": { +"allowMultipleUsersPerObject": { +"deprecated": true, +"description": "Deprecated. Use `multipleDevicesAndHoldersAllowedStatus` instead.", +"type": "boolean" +}, +"appLinkData": { +"$ref": "AppLinkData", +"description": "Optional app or website link that will be displayed as a button on the front of the pass. If AppLinkData is provided for the corresponding object that will be used instead." +}, +"callbackOptions": { +"$ref": "CallbackOptions", +"description": "Callback options to be used to call the issuer back for every save/delete of an object for this class by the end-user. All objects of this class are eligible for the callback." +}, +"classTemplateInfo": { +"$ref": "ClassTemplateInfo", +"description": "Template information about how the class should be displayed. If unset, Google will fallback to a default set of fields to display." +}, +"countryCode": { +"description": "Country code used to display the card's country (when the user is not in that country), as well as to display localized content when content is not available in the user's locale.", +"type": "string" +}, +"details": { +"description": "The details of the offer.", +"type": "string" +}, +"enableSmartTap": { +"description": "Identifies whether this class supports Smart Tap. The `redemptionIssuers` and object level `smartTapRedemptionLevel` fields must also be set up correctly in order for a pass to support Smart Tap.", +"type": "boolean" +}, +"finePrint": { +"description": "The fine print or terms of the offer, such as \"20% off any t-shirt at Adam's Apparel.\"", +"type": "string" +}, +"helpUri": { +"$ref": "Uri", +"description": "The help link for the offer, such as `http://myownpersonaldomain.com/help`" +}, +"heroImage": { +"$ref": "Image", +"description": "Optional banner image displayed on the front of the card. If none is present, nothing will be displayed. The image will display at 100% width." +}, +"hexBackgroundColor": { +"description": "The background color for the card. If not set the dominant color of the hero image is used, and if no hero image is set, the dominant color of the logo is used. The format is #rrggbb where rrggbb is a hex RGB triplet, such as `#ffcc00`. You can also use the shorthand version of the RGB triplet which is #rgb, such as `#fc0`.", +"type": "string" +}, +"homepageUri": { +"$ref": "Uri", +"description": "The URI of your application's home page. Populating the URI in this field results in the exact same behavior as populating an URI in linksModuleData (when an object is rendered, a link to the homepage is shown in what would usually be thought of as the linksModuleData section of the object)." +}, +"id": { +"description": "Required. The unique identifier for a class. This ID must be unique across all classes from an issuer. This value should follow the format issuer ID. identifier where the former is issued by Google and latter is chosen by you. Your unique identifier should only include alphanumeric characters, '.', '_', or '-'.", +"type": "string" +}, +"imageModulesData": { +"description": "Image module data. The maximum number of these fields displayed is 1 from object level and 1 for class object level.", +"items": { +"$ref": "ImageModuleData" +}, +"type": "array" +}, +"infoModuleData": { +"$ref": "InfoModuleData", +"deprecated": true, +"description": "Deprecated. Use textModulesData instead." +}, +"issuerName": { +"description": "Required. The issuer name. Recommended maximum length is 20 characters to ensure full string is displayed on smaller screens.", +"type": "string" +}, +"kind": { +"deprecated": true, +"description": "Identifies what kind of resource this is. Value: the fixed string `\"walletobjects#offerClass\"`.", +"type": "string" +}, +"linksModuleData": { +"$ref": "LinksModuleData", +"description": "Links module data. If links module data is also defined on the object, both will be displayed." +}, +"localizedDetails": { +"$ref": "LocalizedString", +"description": "Translated strings for the details." +}, +"localizedFinePrint": { +"$ref": "LocalizedString", +"description": "Translated strings for the fine_print." +}, +"localizedIssuerName": { +"$ref": "LocalizedString", +"description": "Translated strings for the issuer_name. Recommended maximum length is 20 characters to ensure full string is displayed on smaller screens." +}, +"localizedProvider": { +"$ref": "LocalizedString", +"description": "Translated strings for the provider. Recommended maximum length is 12 characters to ensure full string is displayed on smaller screens." +}, +"localizedShortTitle": { +"$ref": "LocalizedString", +"description": "Translated strings for the short title. Recommended maximum length is 20 characters." +}, +"localizedTitle": { +"$ref": "LocalizedString", +"description": "Translated strings for the title. Recommended maximum length is 60 characters to ensure full string is displayed on smaller screens." +}, +"locations": { +"deprecated": true, +"description": "Note: This field is currently not supported to trigger geo notifications.", +"items": { +"$ref": "LatLongPoint" +}, +"type": "array" +}, +"merchantLocations": { +"description": "Merchant locations. There is a maximum of ten on the class. Any additional MerchantLocations added beyond the 10 will be rejected. These locations will trigger a notification when a user enters within a Google-set radius of the point. This field replaces the deprecated LatLongPoints.", +"items": { +"$ref": "MerchantLocation" +}, +"type": "array" +}, +"messages": { +"description": "An array of messages displayed in the app. All users of this object will receive its associated messages. The maximum number of these fields is 10.", +"items": { +"$ref": "Message" +}, +"type": "array" +}, +"multipleDevicesAndHoldersAllowedStatus": { +"description": "Identifies whether multiple users and devices will save the same object referencing this class.", +"enum": [ +"STATUS_UNSPECIFIED", +"MULTIPLE_HOLDERS", +"ONE_USER_ALL_DEVICES", +"ONE_USER_ONE_DEVICE", +"multipleHolders", +"oneUserAllDevices", +"oneUserOneDevice" +], +"enumDeprecated": [ +false, +false, +false, +false, +true, +true, +true +], +"enumDescriptions": [ +"Unspecified preference.", +"The Pass object is shareable by a user and can be saved by any number of different users, and on any number of devices. Partners typically use this setup for passes that do not need to be restricted to a single user or pinned to a single device.", +"An object can only be saved by one user, but this user can view and use it on multiple of their devices. Once the first user saves the object, no other user will be allowed to view or save it.", +"An object can only be saved by one user on a single device. Intended for use by select partners in limited circumstances. An example use case is a transit ticket that should be \"device pinned\", meaning it can be saved, viewed and used only by a single user on a single device. Contact support for additional information.", +"Legacy alias for `MULTIPLE_HOLDERS`. Deprecated.", +"Legacy alias for `ONE_USER_ALL_DEVICES`. Deprecated.", +"Legacy alias for `ONE_USER_ONE_DEVICE`. Deprecated." +], +"type": "string" +}, +"notifyPreference": { +"description": "Whether or not field updates to this class should trigger notifications. When set to NOTIFY, we will attempt to trigger a field update notification to users. These notifications will only be sent to users if the field is part of an allowlist. If not specified, no notification will be triggered. This setting is ephemeral and needs to be set with each PATCH or UPDATE request, otherwise a notification will not be triggered.", +"enum": [ +"NOTIFICATION_SETTINGS_FOR_UPDATES_UNSPECIFIED", +"NOTIFY_ON_UPDATE" +], +"enumDescriptions": [ +"Default behavior is no notifications sent.", +"This value will result in a notification being sent, if the updated fields are part of an allowlist." +], +"type": "string" +}, +"provider": { +"description": "Required. The offer provider (either the aggregator name or merchant name). Recommended maximum length is 12 characters to ensure full string is displayed on smaller screens.", +"type": "string" +}, +"redemptionChannel": { +"description": "Required. The redemption channels applicable to this offer.", +"enum": [ +"REDEMPTION_CHANNEL_UNSPECIFIED", +"INSTORE", +"instore", +"ONLINE", +"online", +"BOTH", +"both", +"TEMPORARY_PRICE_REDUCTION", +"temporaryPriceReduction" +], +"enumDeprecated": [ +false, +false, +true, +false, +true, +false, +true, +false, +true +], +"enumDescriptions": [ +"", +"", +"Legacy alias for `INSTORE`. Deprecated.", +"", +"Legacy alias for `ONLINE`. Deprecated.", +"", +"Legacy alias for `BOTH`. Deprecated.", +"", +"Legacy alias for `TEMPORARY_PRICE_REDUCTION`. Deprecated." +], +"type": "string" +}, +"redemptionIssuers": { +"description": "Identifies which redemption issuers can redeem the pass over Smart Tap. Redemption issuers are identified by their issuer ID. Redemption issuers must have at least one Smart Tap key configured. The `enableSmartTap` and object level `smartTapRedemptionLevel` fields must also be set up correctly in order for a pass to support Smart Tap.", +"items": { +"format": "int64", +"type": "string" +}, +"type": "array" +}, +"review": { +"$ref": "Review", +"description": "The review comments set by the platform when a class is marked `approved` or `rejected`." +}, +"reviewStatus": { +"description": "Required. The status of the class. This field can be set to `draft` or The status of the class. This field can be set to `draft` or `underReview` using the insert, patch, or update API calls. Once the review state is changed from `draft` it may not be changed back to `draft`. You should keep this field to `draft` when the class is under development. A `draft` class cannot be used to create any object. You should set this field to `underReview` when you believe the class is ready for use. The platform will automatically set this field to `approved` and it can be immediately used to create or migrate objects. When updating an already `approved` class you should keep setting this field to `underReview`.", +"enum": [ +"REVIEW_STATUS_UNSPECIFIED", +"UNDER_REVIEW", +"underReview", +"APPROVED", +"approved", +"REJECTED", +"rejected", +"DRAFT", +"draft" +], +"enumDeprecated": [ +false, +false, +true, +false, +true, +false, +true, +false, +true +], +"enumDescriptions": [ +"", +"", +"Legacy alias for `UNDER_REVIEW`. Deprecated.", +"", +"Legacy alias for `APPROVED`. Deprecated.", +"", +"Legacy alias for `REJECTED`. Deprecated.", +"", +"Legacy alias for `DRAFT`. Deprecated." +], +"type": "string" +}, +"securityAnimation": { +"$ref": "SecurityAnimation", +"description": "Optional information about the security animation. If this is set a security animation will be rendered on pass details." +}, +"shortTitle": { +"description": "A shortened version of the title of the offer, such as \"20% off,\" shown to users as a quick reference to the offer contents. Recommended maximum length is 20 characters.", +"type": "string" +}, +"textModulesData": { +"description": "Text module data. If text module data is also defined on the class, both will be displayed. The maximum number of these fields displayed is 10 from the object and 10 from the class.", +"items": { +"$ref": "TextModuleData" +}, +"type": "array" +}, +"title": { +"description": "Required. The title of the offer, such as \"20% off any t-shirt.\" Recommended maximum length is 60 characters to ensure full string is displayed on smaller screens.", +"type": "string" +}, +"titleImage": { +"$ref": "Image", +"description": "The title image of the offer. This image is displayed in both the details and list views of the app." +}, +"valueAddedModuleData": { +"description": "Optional value added module data. Maximum of fifteen on the class. For a pass only fifteen will be displayed, prioritizing those from the object.", +"items": { +"$ref": "ValueAddedModuleData" +}, +"type": "array" +}, +"version": { +"deprecated": true, +"description": "Deprecated", +"format": "int64", +"type": "string" +}, +"viewUnlockRequirement": { +"description": "View Unlock Requirement options for the offer.", +"enum": [ +"VIEW_UNLOCK_REQUIREMENT_UNSPECIFIED", +"UNLOCK_NOT_REQUIRED", +"UNLOCK_REQUIRED_TO_VIEW" +], +"enumDescriptions": [ +"Default value, same as UNLOCK_NOT_REQUIRED.", +"Default behavior for all the existing Passes if ViewUnlockRequirement is not set.", +"Requires the user to unlock their device each time the pass is viewed. If the user removes their device lock after saving the pass, then they will be prompted to create a device lock before the pass can be viewed." +], +"type": "string" +}, +"wideTitleImage": { +"$ref": "Image", +"description": "The wide title image of the offer. When provided, this will be used in place of the title image in the top left of the card view." +}, +"wordMark": { +"$ref": "Image", +"deprecated": true, +"description": "Deprecated." +} +}, +"type": "object" +}, +"OfferClassAddMessageResponse": { +"id": "OfferClassAddMessageResponse", +"properties": { +"resource": { +"$ref": "OfferClass", +"description": "The updated OfferClass resource." +} +}, +"type": "object" +}, +"OfferClassListResponse": { +"id": "OfferClassListResponse", +"properties": { +"pagination": { +"$ref": "Pagination", +"description": "Pagination of the response." +}, +"resources": { +"description": "Resources corresponding to the list request.", +"items": { +"$ref": "OfferClass" +}, +"type": "array" +} +}, +"type": "object" +}, +"OfferObject": { +"id": "OfferObject", +"properties": { +"appLinkData": { +"$ref": "AppLinkData", +"description": "Optional app or website link that will be displayed as a button on the front of the pass. If AppLinkData is provided for the corresponding class only object AppLinkData will be displayed." +}, +"barcode": { +"$ref": "Barcode", +"description": "The barcode type and value." +}, +"classId": { +"description": "Required. The class associated with this object. The class must be of the same type as this object, must already exist, and must be approved. Class IDs should follow the format issuer ID.identifier where the former is issued by Google and latter is chosen by you.", +"type": "string" +}, +"classReference": { +"$ref": "OfferClass", +"description": "A copy of the inherited fields of the parent class. These fields are retrieved during a GET." +}, +"disableExpirationNotification": { +"description": "Indicates if notifications should explicitly be suppressed. If this field is set to true, regardless of the `messages` field, expiration notifications to the user will be suppressed. By default, this field is set to false. Currently, this can only be set for offers.", +"type": "boolean" +}, +"groupingInfo": { +"$ref": "GroupingInfo", +"description": "Information that controls how passes are grouped together." +}, +"hasLinkedDevice": { +"description": "Whether this object is currently linked to a single device. This field is set by the platform when a user saves the object, linking it to their device. Intended for use by select partners. Contact support for additional information.", +"type": "boolean" +}, +"hasUsers": { +"description": "Indicates if the object has users. This field is set by the platform.", +"type": "boolean" +}, +"heroImage": { +"$ref": "Image", +"description": "Optional banner image displayed on the front of the card. If none is present, hero image of the class, if present, will be displayed. If hero image of the class is also not present, nothing will be displayed." +}, +"id": { +"description": "Required. The unique identifier for an object. This ID must be unique across all objects from an issuer. This value should follow the format issuer ID.identifier where the former is issued by Google and latter is chosen by you. The unique identifier should only include alphanumeric characters, '.', '_', or '-'.", +"type": "string" +}, +"imageModulesData": { +"description": "Image module data. The maximum number of these fields displayed is 1 from object level and 1 for class object level.", +"items": { +"$ref": "ImageModuleData" +}, +"type": "array" +}, +"infoModuleData": { +"$ref": "InfoModuleData", +"description": "Deprecated. Use textModulesData instead." +}, +"kind": { +"deprecated": true, +"description": "Identifies what kind of resource this is. Value: the fixed string `\"walletobjects#offerObject\"`.", +"type": "string" +}, +"linkedObjectIds": { +"description": "linked_object_ids are a list of other objects such as event ticket, loyalty, offer, generic, giftcard, transit and boarding pass that should be automatically attached to this offer object. If a user had saved this offer, then these linked_object_ids would be automatically pushed to the user's wallet (unless they turned off the setting to receive such linked passes). Make sure that objects present in linked_object_ids are already inserted - if not, calls would fail. Once linked, the linked objects cannot be unlinked. You cannot link objects belonging to another issuer. There is a limit to the number of objects that can be linked to a single object. After the limit is reached, new linked objects in the call will be ignored silently. Object IDs should follow the format issuer ID.identifier where the former is issued by Google and the latter is chosen by you.", +"items": { +"type": "string" +}, +"type": "array" +}, +"linksModuleData": { +"$ref": "LinksModuleData", +"description": "Links module data. If links module data is also defined on the class, both will be displayed." +}, +"locations": { +"description": "Note: This field is currently not supported to trigger geo notifications.", +"items": { +"$ref": "LatLongPoint" +}, +"type": "array" +}, +"merchantLocations": { +"description": "Merchant locations. There is a maximum of ten on the object. Any additional MerchantLocations added beyond the 10 will be rejected. These locations will trigger a notification when a user enters within a Google-set radius of the point. This field replaces the deprecated LatLongPoints.", +"items": { +"$ref": "MerchantLocation" +}, +"type": "array" +}, +"messages": { +"description": "An array of messages displayed in the app. All users of this object will receive its associated messages. The maximum number of these fields is 10.", +"items": { +"$ref": "Message" +}, +"type": "array" +}, +"notifyPreference": { +"description": "Whether or not field updates to this object should trigger notifications. When set to NOTIFY, we will attempt to trigger a field update notification to users. These notifications will only be sent to users if the field is part of an allowlist. If set to DO_NOT_NOTIFY or NOTIFICATION_SETTINGS_UNSPECIFIED, no notification will be triggered. This setting is ephemeral and needs to be set with each PATCH or UPDATE request, otherwise a notification will not be triggered.", +"enum": [ +"NOTIFICATION_SETTINGS_FOR_UPDATES_UNSPECIFIED", +"NOTIFY_ON_UPDATE" +], +"enumDescriptions": [ +"Default behavior is no notifications sent.", +"This value will result in a notification being sent, if the updated fields are part of an allowlist." +], +"type": "string" +}, +"passConstraints": { +"$ref": "PassConstraints", +"description": "Pass constraints for the object. Includes limiting NFC and screenshot behaviors." +}, +"rotatingBarcode": { +"$ref": "RotatingBarcode", +"description": "The rotating barcode type and value." +}, +"saveRestrictions": { +"$ref": "SaveRestrictions", +"description": "Restrictions on the object that needs to be verified before the user tries to save the pass. Note that this restrictions will only be applied during save time. If the restrictions changed after a user saves the pass, the new restrictions will not be applied to an already saved pass." +}, +"smartTapRedemptionValue": { +"description": "The value that will be transmitted to a Smart Tap certified terminal over NFC for this object. The class level fields `enableSmartTap` and `redemptionIssuers` must also be set up correctly in order for the pass to support Smart Tap. Only ASCII characters are supported.", +"type": "string" +}, +"state": { +"description": "Required. The state of the object. This field is used to determine how an object is displayed in the app. For example, an `inactive` object is moved to the \"Expired passes\" section.", +"enum": [ +"STATE_UNSPECIFIED", +"ACTIVE", +"active", +"COMPLETED", +"completed", +"EXPIRED", +"expired", +"INACTIVE", +"inactive" +], +"enumDeprecated": [ +false, +false, +true, +false, +true, +false, +true, +false, +true +], +"enumDescriptions": [ +"Default value.", +"Object is active and displayed to with other active objects.", +"Legacy alias for `ACTIVE`. Deprecated.", +"Object has completed it's lifecycle.", +"Legacy alias for `COMPLETED`. Deprecated.", +"Object is no longer valid (`validTimeInterval` passed).", +"Legacy alias for `EXPIRED`. Deprecated.", +"Object is no longer valid", +"Legacy alias for `INACTIVE`. Deprecated." +], +"type": "string" +}, +"textModulesData": { +"description": "Text module data. If text module data is also defined on the class, both will be displayed. The maximum number of these fields displayed is 10 from the object and 10 from the class.", +"items": { +"$ref": "TextModuleData" +}, +"type": "array" +}, +"validTimeInterval": { +"$ref": "TimeInterval", +"description": "The time period this object will be `active` and object can be used. An object's state will be changed to `expired` when this time period has passed." +}, +"valueAddedModuleData": { +"description": "Optional value added module data. Maximum of fifteen on the object. For a pass only fifteen will be displayed.", +"items": { +"$ref": "ValueAddedModuleData" +}, +"type": "array" +}, +"version": { +"deprecated": true, +"description": "Deprecated", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"OfferObjectAddMessageResponse": { +"id": "OfferObjectAddMessageResponse", +"properties": { +"resource": { +"$ref": "OfferObject", +"description": "The updated OfferObject resource." +} +}, +"type": "object" +}, +"OfferObjectListResponse": { +"id": "OfferObjectListResponse", +"properties": { +"pagination": { +"$ref": "Pagination", +"description": "Pagination of the response." +}, +"resources": { +"description": "Resources corresponding to the list request.", +"items": { +"$ref": "OfferObject" +}, +"type": "array" +} +}, +"type": "object" +}, +"Pagination": { +"id": "Pagination", +"properties": { +"kind": { +"deprecated": true, +"description": "Identifies what kind of resource this is. Value: the fixed string `\"walletobjects#pagination\"`.", +"type": "string" +}, +"nextPageToken": { +"description": "Page token to send to fetch the next page.", +"type": "string" +}, +"resultsPerPage": { +"description": "Number of results returned in this page.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"PassConstraints": { +"description": "Container for any constraints that may be placed on passes.", +"id": "PassConstraints", +"properties": { +"nfcConstraint": { +"description": "The NFC constraints for the pass.", +"items": { +"enum": [ +"NFC_CONSTRAINT_UNSPECIFIED", +"BLOCK_PAYMENT", +"BLOCK_CLOSED_LOOP_TRANSIT" +], +"enumDescriptions": [ +"Default value, no specified constraint.", +"Payment cards will not be conveyed while the pass is open.", +"Closed loop transit cards will not be conveyed while the pass is open." +], +"type": "string" +}, +"type": "array" +}, +"screenshotEligibility": { +"description": "The screenshot eligibility for the pass.", +"enum": [ +"SCREENSHOT_ELIGIBILITY_UNSPECIFIED", +"ELIGIBLE", +"INELIGIBLE" +], +"enumDescriptions": [ +"Default value, same as ELIGIBLE.", +"Default behavior for all existing Passes if ScreenshotEligibility is not set. Allows screenshots to be taken on Android devices.", +"Disallows screenshots to be taken on Android devices. Note that older versions of Wallet may still allow screenshots to be taken." +], +"type": "string" +} +}, +"type": "object" +}, +"Permission": { +"id": "Permission", +"properties": { +"emailAddress": { +"description": "The email address of the user, group, or service account to which this permission refers to.", +"type": "string" +}, +"role": { +"description": "The role granted by this permission.", +"enum": [ +"ROLE_UNSPECIFIED", +"OWNER", +"owner", +"READER", +"reader", +"WRITER", +"writer" +], +"enumDeprecated": [ +false, +false, +true, +false, +true, +false, +true +], +"enumDescriptions": [ +"", +"", +"Legacy alias for `OWNER`. Deprecated.", +"", +"Legacy alias for `READER`. Deprecated.", +"", +"Legacy alias for `WRITER`. Deprecated." +], +"type": "string" +} +}, +"type": "object" +}, +"Permissions": { +"id": "Permissions", +"properties": { +"issuerId": { +"description": "ID of the issuer the list of permissions refer to.", +"format": "int64", +"type": "string" +}, +"permissions": { +"description": "The complete list of permissions for the issuer account.", +"items": { +"$ref": "Permission" +}, +"type": "array" +} +}, +"type": "object" +}, +"PurchaseDetails": { +"id": "PurchaseDetails", +"properties": { +"accountId": { +"description": "ID of the account used to purchase the ticket.", +"type": "string" +}, +"confirmationCode": { +"description": "The confirmation code for the purchase. This may be the same for multiple different tickets and is used to group tickets together.", +"type": "string" +}, +"purchaseDateTime": { +"description": "The purchase date/time of the ticket. This is an ISO 8601 extended format date/time, with or without an offset. Time may be specified up to nanosecond precision. Offsets may be specified with seconds precision (even though offset seconds is not part of ISO 8601). For example: `1985-04-12T23:20:50.52Z` would be 20 minutes and 50.52 seconds after the 23rd hour of April 12th, 1985 in UTC. `1985-04-12T19:20:50.52-04:00` would be 20 minutes and 50.52 seconds after the 19th hour of April 12th, 1985, 4 hours before UTC (same instant in time as the above example). If the event were in New York, this would be the equivalent of Eastern Daylight Time (EDT). Remember that offset varies in regions that observe Daylight Saving Time (or Summer Time), depending on the time of the year. `1985-04-12T19:20:50.52` would be 20 minutes and 50.52 seconds after the 19th hour of April 12th, 1985 with no offset information. Without offset information, some rich features may not be available.", +"type": "string" +}, +"purchaseReceiptNumber": { +"description": "Receipt number/identifier for tracking the ticket purchase via the body that sold the ticket.", +"type": "string" +}, +"ticketCost": { +"$ref": "TicketCost", +"description": "The cost of the ticket." +} +}, +"type": "object" +}, +"ReservationInfo": { +"id": "ReservationInfo", +"properties": { +"confirmationCode": { +"description": "Confirmation code needed to check into this flight. This is the number that the passenger would enter into a kiosk at the airport to look up the flight and print a boarding pass.", +"type": "string" +}, +"eticketNumber": { +"description": "E-ticket number.", +"type": "string" +}, +"frequentFlyerInfo": { +"$ref": "FrequentFlyerInfo", +"description": "Frequent flyer membership information." +}, +"kind": { +"deprecated": true, +"description": "Identifies what kind of resource this is. Value: the fixed string `\"walletobjects#reservationInfo\"`.", +"type": "string" +} +}, +"type": "object" +}, +"Resources": { +"id": "Resources", +"properties": { +"eventTicketClasses": { +"description": "A list of event ticket classes.", +"items": { +"$ref": "EventTicketClass" +}, +"type": "array" +}, +"eventTicketObjects": { +"description": "A list of event ticket objects.", +"items": { +"$ref": "EventTicketObject" +}, +"type": "array" +}, +"flightClasses": { +"description": "A list of flight classes.", +"items": { +"$ref": "FlightClass" +}, +"type": "array" +}, +"flightObjects": { +"description": "A list of flight objects.", +"items": { +"$ref": "FlightObject" +}, +"type": "array" +}, +"genericClasses": { +"description": "A list of generic classes.", +"items": { +"$ref": "GenericClass" +}, +"type": "array" +}, +"genericObjects": { +"description": "A list of generic objects.", +"items": { +"$ref": "GenericObject" +}, +"type": "array" +}, +"giftCardClasses": { +"description": "A list of gift card classes.", +"items": { +"$ref": "GiftCardClass" +}, +"type": "array" +}, +"giftCardObjects": { +"description": "A list of gift card objects.", +"items": { +"$ref": "GiftCardObject" +}, +"type": "array" +}, +"loyaltyClasses": { +"description": "A list of loyalty classes.", +"items": { +"$ref": "LoyaltyClass" +}, +"type": "array" +}, +"loyaltyObjects": { +"description": "A list of loyalty objects.", +"items": { +"$ref": "LoyaltyObject" +}, +"type": "array" +}, +"offerClasses": { +"description": "A list of offer classes.", +"items": { +"$ref": "OfferClass" +}, +"type": "array" +}, +"offerObjects": { +"description": "A list of offer objects.", +"items": { +"$ref": "OfferObject" +}, +"type": "array" +}, +"transitClasses": { +"description": "A list of transit classes.", +"items": { +"$ref": "TransitClass" +}, +"type": "array" +}, +"transitObjects": { +"description": "A list of transit objects.", +"items": { +"$ref": "TransitObject" +}, +"type": "array" +} +}, +"type": "object" +}, +"Review": { +"id": "Review", +"properties": { +"comments": { +"type": "string" +} +}, +"type": "object" +}, +"RotatingBarcode": { +"id": "RotatingBarcode", +"properties": { +"alternateText": { +"description": "An optional text that will override the default text that shows under the barcode. This field is intended for a human readable equivalent of the barcode value, used when the barcode cannot be scanned.", +"type": "string" +}, +"initialRotatingBarcodeValues": { +"$ref": "RotatingBarcodeValues", +"description": "Input only. NOTE: This feature is only available for the transit vertical. Optional set of initial rotating barcode values. This allows a small subset of barcodes to be included with the object. Further rotating barcode values must be uploaded with the UploadRotatingBarcodeValues endpoint." +}, +"renderEncoding": { +"description": "The render encoding for the barcode. When specified, barcode is rendered in the given encoding. Otherwise best known encoding is chosen by Google.", +"enum": [ +"RENDER_ENCODING_UNSPECIFIED", +"UTF_8" +], +"enumDescriptions": [ +"", +"UTF_8 encoding for barcodes. This is only supported for barcode type qrCode." +], +"type": "string" +}, +"showCodeText": { +"$ref": "LocalizedString", +"description": "Optional text that will be shown when the barcode is hidden behind a click action. This happens in cases where a pass has Smart Tap enabled. If not specified, a default is chosen by Google." +}, +"totpDetails": { +"$ref": "RotatingBarcodeTotpDetails", +"description": "Details used to evaluate the {totp_value_n} substitutions." +}, +"type": { +"description": "The type of this barcode.", +"enum": [ +"BARCODE_TYPE_UNSPECIFIED", +"AZTEC", +"aztec", +"CODE_39", +"code39", +"CODE_128", +"code128", +"CODABAR", +"codabar", +"DATA_MATRIX", +"dataMatrix", +"EAN_8", +"ean8", +"EAN_13", +"ean13", +"EAN13", +"ITF_14", +"itf14", +"PDF_417", +"pdf417", +"PDF417", +"QR_CODE", +"qrCode", +"qrcode", +"UPC_A", +"upcA", +"TEXT_ONLY", +"textOnly" +], +"enumDeprecated": [ +false, +false, +true, +false, +true, +false, +true, +false, +true, +false, +true, +false, +true, +false, +true, +true, +false, +true, +false, +true, +true, +false, +true, +true, +false, +true, +false, +true +], +"enumDescriptions": [ +"", +"Not supported for Rotating Barcodes.", +"Legacy alias for `AZTEC`. Deprecated. Not supported for Rotating Barcodes.", +"Not supported for Rotating Barcodes.", +"Legacy alias for `CODE_39`. Deprecated. Not supported for Rotating Barcodes.", +"Not supported for Rotating Barcodes.", +"Legacy alias for `CODE_128`. Deprecated. Not supported for Rotating Barcodes.", +"Not supported for Rotating Barcodes.", +"Legacy alias for `CODABAR`. Deprecated. Not supported for Rotating Barcodes.", +"A 2D matrix barcode consisting of black and white. Cells or modules are arranged in either a square or rectangle. Not supported for Rotating Barcodes.", +"Legacy alias for `DATA_MATRIX`. Deprecated. Not supported for Rotating Barcodes.", +"Not supported for Rotating Barcodes.", +"Legacy alias for `EAN_8`. Deprecated. Not supported for Rotating Barcodes.", +"Not supported for Rotating Barcodes.", +"Legacy alias for `EAN_13`. Deprecated. Not supported for Rotating Barcodes.", +"Legacy alias for `EAN_13`. Deprecated. Not supported for Rotating Barcodes.", +"14 digit ITF code Not supported for Rotating Barcodes.", +"Legacy alias for `ITF_14`. Deprecated. Not supported for Rotating Barcodes.", +"Supported for Rotating Barcodes.", +"Legacy alias for `PDF_417`. Deprecated.", +"Legacy alias for `PDF_417`. Deprecated.", +"Supported for Rotating Barcodes.", +"Legacy alias for `QR_CODE`. Deprecated.", +"Legacy alias for `QR_CODE`. Deprecated.", +"11 or 12 digit codes Not supported for Rotating Barcodes.", +"Legacy alias for `UPC_A`. Deprecated. Not supported for Rotating Barcodes.", +"Renders the field as a text field. The `alternateText` field may not be used with a barcode of type `textOnly`. Not supported for Rotating Barcodes.", +"Legacy alias for `TEXT_ONLY`. Deprecated. Not supported for Rotating Barcodes." +], +"type": "string" +}, +"valuePattern": { +"description": "String encoded barcode value. This string supports the following substitutions: * {totp_value_n}: Replaced with the TOTP value (see TotpDetails.parameters). * {totp_timestamp_millis}: Replaced with the timestamp (millis since epoch) at which the barcode was generated. * {totp_timestamp_seconds}: Replaced with the timestamp (seconds since epoch) at which the barcode was generated.", +"type": "string" +} +}, +"type": "object" +}, +"RotatingBarcodeTotpDetails": { +"description": "Configuration for the time-based OTP substitutions. See https://tools.ietf.org/html/rfc6238", +"id": "RotatingBarcodeTotpDetails", +"properties": { +"algorithm": { +"description": "The TOTP algorithm used to generate the OTP.", +"enum": [ +"TOTP_ALGORITHM_UNSPECIFIED", +"TOTP_SHA1" +], +"enumDescriptions": [ +"", +"TOTP algorithm from RFC 6238 with the SHA1 hash function" +], +"type": "string" +}, +"parameters": { +"description": "The TOTP parameters for each of the {totp_value_*} substitutions. The TotpParameters at index n is used for the {totp_value_n} substitution.", +"items": { +"$ref": "RotatingBarcodeTotpDetailsTotpParameters" +}, +"type": "array" +}, +"periodMillis": { +"description": "The time interval used for the TOTP value generation, in milliseconds.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"RotatingBarcodeTotpDetailsTotpParameters": { +"description": "Configuration for the key and value length. See https://www.rfc-editor.org/rfc/rfc4226#section-5.3", +"id": "RotatingBarcodeTotpDetailsTotpParameters", +"properties": { +"key": { +"description": "The secret key used for the TOTP value generation, encoded as a Base16 string.", +"type": "string" +}, +"valueLength": { +"description": "The length of the TOTP value in decimal digits.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"RotatingBarcodeValues": { +"description": "A payload containing many barcode values and start date/time.", +"id": "RotatingBarcodeValues", +"properties": { +"periodMillis": { +"description": "Required. The amount of time each barcode is valid for.", +"format": "int64", +"type": "string" +}, +"startDateTime": { +"description": "Required. The date/time the first barcode is valid from. Barcodes will be rotated through using period_millis defined on the object's RotatingBarcodeValueInfo. This is an ISO 8601 extended format date/time, with an offset. Time may be specified up to nanosecond precision. Offsets may be specified with seconds precision (even though offset seconds is not part of ISO 8601). For example: `1985-04-12T23:20:50.52Z` would be 20 minutes and 50.52 seconds after the 23rd hour of April 12th, 1985 in UTC. `1985-04-12T19:20:50.52-04:00` would be 20 minutes and 50.52 seconds after the 19th hour of April 12th, 1985, 4 hours before UTC (same instant in time as the above example). If the event were in New York, this would be the equivalent of Eastern Daylight Time (EDT). Remember that offset varies in regions that observe Daylight Saving Time (or Summer Time), depending on the time of the year.", +"type": "string" +}, +"values": { +"description": "Required. The values to encode in the barcode. At least one value is required.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"SaveRestrictions": { +"description": "Defines restrictions on the object that will be verified during save. Note: this is an advanced feature, please contact Google for implementation support.", +"id": "SaveRestrictions", +"properties": { +"restrictToEmailSha256": { +"description": "Restrict the save of the referencing object to the given email address only. This is the hex output of SHA256 sum of the email address, all lowercase and without any notations like \".\" or \"+\", except \"@\". For example, for example@example.com, this value will be 31c5543c1734d25c7206f5fd591525d0295bec6fe84ff82f946a34fe970a1e66 and for Example@example.com, this value will be bc34f262c93ad7122763684ccea6f07fb7f5d8a2d11e60ce15a6f43fe70ce632 If email address of the logged-in user who tries to save this pass does not match with the defined value here, users won't be allowed to save this pass. They will instead be prompted with an error to contact the issuer. This information should be gathered from the user with an explicit consent via Sign in with Google integration https://developers.google.com/identity/authentication. Please contact with support before using Save Restrictions.", +"type": "string" +} +}, +"type": "object" +}, +"SecurityAnimation": { +"id": "SecurityAnimation", +"properties": { +"animationType": { +"description": "Type of animation.", +"enum": [ +"ANIMATION_UNSPECIFIED", +"FOIL_SHIMMER", +"foilShimmer" +], +"enumDeprecated": [ +false, +false, +true +], +"enumDescriptions": [ +"", +"Default Foil & Shimmer animation", +"Legacy alias for `FOIL_SHIMMER`. Deprecated." +], +"type": "string" +} +}, +"type": "object" +}, +"SetPassUpdateNoticeRequest": { +"description": "Request to send a private pass update notice information to Google, so that devices can then fetch the notice prompting the user to update a pass.", +"id": "SetPassUpdateNoticeRequest", +"properties": { +"externalPassId": { +"description": "Required. A fully qualified identifier of the pass that the issuer wants to notify the pass holder(s) about. Formatted as .", +"type": "string" +}, +"updateUri": { +"description": "Required. The issuer endpoint URI the pass holder needs to follow in order to receive an updated pass JWT. It can not contain any sensitive information. The endpoint needs to authenticate the user before giving the user the updated JWT. Example update URI https://someissuer.com/update/passId=someExternalPassId", +"type": "string" +}, +"updatedPassJwtSignature": { +"description": "Required. The JWT signature of the updated pass that the issuer wants to notify Google about. Only devices that report a different JWT signature than this JWT signature will receive the update notification.", +"type": "string" +} +}, +"type": "object" +}, +"SetPassUpdateNoticeResponse": { +"description": "A response to a request to notify Google of an awaiting update to a private pass.", +"id": "SetPassUpdateNoticeResponse", +"properties": {}, +"type": "object" +}, +"SignUpInfo": { +"id": "SignUpInfo", +"properties": { +"classId": { +"description": "ID of the class the user can sign up for.", +"type": "string" +} +}, +"type": "object" +}, +"SmartTap": { +"id": "SmartTap", +"properties": { +"id": { +"description": "The unique identifier for a smart tap. This value should follow the format issuer ID.identifier where the former is issued by Google and latter is the Smart Tap id. The Smart Tap id is a Base64 encoded string which represents the id which was generated by the Google Pay app.", +"type": "string" +}, +"infos": { +"description": "Communication from merchant to user.", +"items": { +"$ref": "IssuerToUserInfo" +}, +"type": "array" +}, +"kind": { +"deprecated": true, +"description": "Identifies what kind of resource this is. Value: the fixed string `\"walletobjects#smartTap\"`.", +"type": "string" +}, +"merchantId": { +"description": "Smart Tap merchant ID of who engaged in the Smart Tap interaction.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"SmartTapMerchantData": { +"id": "SmartTapMerchantData", +"properties": { +"authenticationKeys": { +"description": "Available only to Smart Tap enabled partners. Contact support for additional guidance.", +"items": { +"$ref": "AuthenticationKey" +}, +"type": "array" +}, +"smartTapMerchantId": { +"description": "Available only to Smart Tap enabled partners. Contact support for additional guidance.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"TemplateItem": { +"id": "TemplateItem", +"properties": { +"firstValue": { +"$ref": "FieldSelector", +"description": "A reference to a field to display. If both `firstValue` and `secondValue` are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as \"A / B\"." +}, +"predefinedItem": { +"description": "A predefined item to display. Only one of `firstValue` or `predefinedItem` may be set.", +"enum": [ +"PREDEFINED_ITEM_UNSPECIFIED", +"FREQUENT_FLYER_PROGRAM_NAME_AND_NUMBER", +"frequentFlyerProgramNameAndNumber", +"FLIGHT_NUMBER_AND_OPERATING_FLIGHT_NUMBER", +"flightNumberAndOperatingFlightNumber" +], +"enumDeprecated": [ +false, +false, +true, +false, +true +], +"enumDescriptions": [ +"", +"", +"Legacy alias for `FREQUENT_FLYER_PROGRAM_NAME_AND_NUMBER`. Deprecated.", +"", +"Legacy alias for `FLIGHT_NUMBER_AND_OPERATING_FLIGHT_NUMBER`. Deprecated." +], +"type": "string" +}, +"secondValue": { +"$ref": "FieldSelector", +"description": "A reference to a field to display. This may only be populated if the `firstValue` field is populated." +} +}, +"type": "object" +}, +"TextModuleData": { +"description": "Data for Text module. All fields are optional. Header will be displayed if available, different types of bodies will be concatenated if they are defined.", +"id": "TextModuleData", +"properties": { +"body": { +"description": "The body of the Text Module, which is defined as an uninterrupted string. Recommended maximum length is 500 characters to ensure full string is displayed on smaller screens.", +"type": "string" +}, +"header": { +"description": "The header of the Text Module. Recommended maximum length is 35 characters to ensure full string is displayed on smaller screens.", +"type": "string" +}, +"id": { +"description": "The ID associated with a text module. This field is here to enable ease of management of text modules and referencing them in template overrides. The ID should only include alphanumeric characters, '_', or '-'. It can not include dots, as dots are used to separate fields within FieldReference.fieldPaths in template overrides.", +"type": "string" +}, +"localizedBody": { +"$ref": "LocalizedString", +"description": "Translated strings for the body. Recommended maximum length is 500 characters to ensure full string is displayed on smaller screens." +}, +"localizedHeader": { +"$ref": "LocalizedString", +"description": "Translated strings for the header. Recommended maximum length is 35 characters to ensure full string is displayed on smaller screens." +} +}, +"type": "object" +}, +"TicketCost": { +"id": "TicketCost", +"properties": { +"discountMessage": { +"$ref": "LocalizedString", +"description": "A message describing any kind of discount that was applied." +}, +"faceValue": { +"$ref": "Money", +"description": "The face value of the ticket." +}, +"purchasePrice": { +"$ref": "Money", +"description": "The actual purchase price of the ticket, after tax and/or discounts." +} +}, +"type": "object" +}, +"TicketLeg": { +"id": "TicketLeg", +"properties": { +"arrivalDateTime": { +"description": "The date/time of arrival. This is an ISO 8601 extended format date/time, with or without an offset. Time may be specified up to nanosecond precision. Offsets may be specified with seconds precision (even though offset seconds is not part of ISO 8601). For example: `1985-04-12T23:20:50.52Z` would be 20 minutes and 50.52 seconds after the 23rd hour of April 12th, 1985 in UTC. `1985-04-12T19:20:50.52-04:00` would be 20 minutes and 50.52 seconds after the 19th hour of April 12th, 1985, 4 hours before UTC (same instant in time as the above example). If the event were in New York, this would be the equivalent of Eastern Daylight Time (EDT). Remember that offset varies in regions that observe Daylight Saving Time (or Summer Time), depending on the time of the year. `1985-04-12T19:20:50.52` would be 20 minutes and 50.52 seconds after the 19th hour of April 12th, 1985 with no offset information. The portion of the date/time without the offset is considered the \"local date/time\". This should be the local date/time at the destination station. For example, if the event occurs at the 20th hour of June 5th, 2018 at the destination station, the local date/time portion should be `2018-06-05T20:00:00`. If the local date/time at the destination station is 4 hours before UTC, an offset of `-04:00` may be appended. Without offset information, some rich features may not be available.", +"type": "string" +}, +"carriage": { +"description": "The train or ship name/number that the passsenger needs to board.", +"type": "string" +}, +"departureDateTime": { +"description": "The date/time of departure. This is required if there is no validity time interval set on the transit object. This is an ISO 8601 extended format date/time, with or without an offset. Time may be specified up to nanosecond precision. Offsets may be specified with seconds precision (even though offset seconds is not part of ISO 8601). For example: `1985-04-12T23:20:50.52Z` would be 20 minutes and 50.52 seconds after the 23rd hour of April 12th, 1985 in UTC. `1985-04-12T19:20:50.52-04:00` would be 20 minutes and 50.52 seconds after the 19th hour of April 12th, 1985, 4 hours before UTC (same instant in time as the above example). If the event were in New York, this would be the equivalent of Eastern Daylight Time (EDT). Remember that offset varies in regions that observe Daylight Saving Time (or Summer Time), depending on the time of the year. `1985-04-12T19:20:50.52` would be 20 minutes and 50.52 seconds after the 19th hour of April 12th, 1985 with no offset information. The portion of the date/time without the offset is considered the \"local date/time\". This should be the local date/time at the origin station. For example, if the departure occurs at the 20th hour of June 5th, 2018 at the origin station, the local date/time portion should be `2018-06-05T20:00:00`. If the local date/time at the origin station is 4 hours before UTC, an offset of `-04:00` may be appended. Without offset information, some rich features may not be available.", +"type": "string" +}, +"destinationName": { +"$ref": "LocalizedString", +"description": "The destination name." +}, +"destinationStationCode": { +"description": "The destination station code.", +"type": "string" +}, +"fareName": { +"$ref": "LocalizedString", +"description": "Short description/name of the fare for this leg of travel. Eg \"Anytime Single Use\"." +}, +"originName": { +"$ref": "LocalizedString", +"description": "The name of the origin station. This is required if `desinationName` is present or if `originStationCode` is not present." +}, +"originStationCode": { +"description": "The origin station code. This is required if `destinationStationCode` is present or if `originName` is not present.", +"type": "string" +}, +"platform": { +"description": "The platform or gate where the passenger can board the carriage.", +"type": "string" +}, +"ticketSeat": { +"$ref": "TicketSeat", +"description": "The reserved seat for the passenger(s). If more than one seat is to be specified then use the `ticketSeats` field instead. Both `ticketSeat` and `ticketSeats` may not be set." +}, +"ticketSeats": { +"description": "The reserved seat for the passenger(s). If only one seat is to be specified then use the `ticketSeat` field instead. Both `ticketSeat` and `ticketSeats` may not be set.", +"items": { +"$ref": "TicketSeat" +}, +"type": "array" +}, +"transitOperatorName": { +"$ref": "LocalizedString", +"description": "The name of the transit operator that is operating this leg of a trip." +}, +"transitTerminusName": { +"$ref": "LocalizedString", +"description": "Terminus station or destination of the train/bus/etc." +}, +"zone": { +"description": "The zone of boarding within the platform.", +"type": "string" +} +}, +"type": "object" +}, +"TicketRestrictions": { +"id": "TicketRestrictions", +"properties": { +"otherRestrictions": { +"$ref": "LocalizedString", +"description": "Extra restrictions that don't fall under the \"route\" or \"time\" categories." +}, +"routeRestrictions": { +"$ref": "LocalizedString", +"description": "Restrictions about routes that may be taken. For example, this may be the string \"Reserved CrossCountry trains only\"." +}, +"routeRestrictionsDetails": { +"$ref": "LocalizedString", +"description": "More details about the above `routeRestrictions`." +}, +"timeRestrictions": { +"$ref": "LocalizedString", +"description": "Restrictions about times this ticket may be used." +} +}, +"type": "object" +}, +"TicketSeat": { +"id": "TicketSeat", +"properties": { +"coach": { +"description": "The identifier of the train car or coach in which the ticketed seat is located. Eg. \"10\"", +"type": "string" +}, +"customFareClass": { +"$ref": "LocalizedString", +"description": "A custome fare class to be used if no `fareClass` applies. Both `fareClass` and `customFareClass` may not be set." +}, +"fareClass": { +"description": "The fare class of the ticketed seat.", +"enum": [ +"FARE_CLASS_UNSPECIFIED", +"ECONOMY", +"economy", +"FIRST", +"first", +"BUSINESS", +"business" +], +"enumDeprecated": [ +false, +false, +true, +false, +true, +false, +true +], +"enumDescriptions": [ +"", +"", +"Legacy alias for `ECONOMY`. Deprecated.", +"", +"Legacy alias for `FIRST`. Deprecated.", +"", +"Legacy alias for `BUSINESS`. Deprecated." +], +"type": "string" +}, +"seat": { +"description": "The identifier of where the ticketed seat is located. Eg. \"42\". If there is no specific identifier, use `seatAssigment` instead.", +"type": "string" +}, +"seatAssignment": { +"$ref": "LocalizedString", +"description": "The passenger's seat assignment. Eg. \"no specific seat\". To be used when there is no specific identifier to use in `seat`." +} +}, +"type": "object" +}, +"TimeInterval": { +"id": "TimeInterval", +"properties": { +"end": { +"$ref": "DateTime", +"description": "End time of the interval. Offset is not required. If an offset is provided and `start` time is set, `start` must also include an offset." +}, +"kind": { +"deprecated": true, +"description": "Identifies what kind of resource this is. Value: the fixed string `\"walletobjects#timeInterval\"`.", +"type": "string" +}, +"start": { +"$ref": "DateTime", +"description": "Start time of the interval. Offset is not required. If an offset is provided and `end` time is set, `end` must also include an offset." +} +}, +"type": "object" +}, +"TransitClass": { +"id": "TransitClass", +"properties": { +"activationOptions": { +"$ref": "ActivationOptions", +"description": "Activation options for an activatable ticket." +}, +"allowMultipleUsersPerObject": { +"deprecated": true, +"description": "Deprecated. Use `multipleDevicesAndHoldersAllowedStatus` instead.", +"type": "boolean" +}, +"appLinkData": { +"$ref": "AppLinkData", +"description": "Optional app or website link that will be displayed as a button on the front of the pass. If AppLinkData is provided for the corresponding object that will be used instead." +}, +"callbackOptions": { +"$ref": "CallbackOptions", +"description": "Callback options to be used to call the issuer back for every save/delete of an object for this class by the end-user. All objects of this class are eligible for the callback." +}, +"classTemplateInfo": { +"$ref": "ClassTemplateInfo", +"description": "Template information about how the class should be displayed. If unset, Google will fallback to a default set of fields to display." +}, +"countryCode": { +"description": "Country code used to display the card's country (when the user is not in that country), as well as to display localized content when content is not available in the user's locale.", +"type": "string" +}, +"customCarriageLabel": { +"$ref": "LocalizedString", +"description": "A custom label to use for the carriage value (`transitObject.ticketLeg.carriage`)." +}, +"customCoachLabel": { +"$ref": "LocalizedString", +"description": "A custom label to use for the coach value (`transitObject.ticketLeg.ticketSeat.coach`)." +}, +"customConcessionCategoryLabel": { +"$ref": "LocalizedString", +"description": "A custom label to use for the transit concession category value (`transitObject.concessionCategory`)." +}, +"customConfirmationCodeLabel": { +"$ref": "LocalizedString", +"description": "A custom label to use for the confirmation code value (`transitObject.purchaseDetails.confirmationCode`)." +}, +"customDiscountMessageLabel": { +"$ref": "LocalizedString", +"description": "A custom label to use for the transit discount message value (`transitObject.purchaseDetails.ticketCost.discountMessage`)." +}, +"customFareClassLabel": { +"$ref": "LocalizedString", +"description": "A custom label to use for the fare class value (`transitObject.ticketLeg.ticketSeat.fareClass`)." +}, +"customFareNameLabel": { +"$ref": "LocalizedString", +"description": "A custom label to use for the transit fare name value (`transitObject.ticketLeg.fareName`)." +}, +"customOtherRestrictionsLabel": { +"$ref": "LocalizedString", +"description": "A custom label to use for the other restrictions value (`transitObject.ticketRestrictions.otherRestrictions`)." +}, +"customPlatformLabel": { +"$ref": "LocalizedString", +"description": "A custom label to use for the boarding platform value (`transitObject.ticketLeg.platform`)." +}, +"customPurchaseFaceValueLabel": { +"$ref": "LocalizedString", +"description": "A custom label to use for the purchase face value (`transitObject.purchaseDetails.ticketCost.faceValue`)." +}, +"customPurchasePriceLabel": { +"$ref": "LocalizedString", +"description": "A custom label to use for the purchase price value (`transitObject.purchaseDetails.ticketCost.purchasePrice`)." +}, +"customPurchaseReceiptNumberLabel": { +"$ref": "LocalizedString", +"description": "A custom label to use for the purchase receipt number value (`transitObject.purchaseDetails.purchaseReceiptNumber`)." +}, +"customRouteRestrictionsDetailsLabel": { +"$ref": "LocalizedString", +"description": "A custom label to use for the route restrictions details value (`transitObject.ticketRestrictions.routeRestrictionsDetails`)." +}, +"customRouteRestrictionsLabel": { +"$ref": "LocalizedString", +"description": "A custom label to use for the route restrictions value (`transitObject.ticketRestrictions.routeRestrictions`)." +}, +"customSeatLabel": { +"$ref": "LocalizedString", +"description": "A custom label to use for the seat location value (`transitObject.ticketLeg.ticketSeat.seat`)." +}, +"customTicketNumberLabel": { +"$ref": "LocalizedString", +"description": "A custom label to use for the ticket number value (`transitObject.ticketNumber`)." +}, +"customTimeRestrictionsLabel": { +"$ref": "LocalizedString", +"description": "A custom label to use for the time restrictions details value (`transitObject.ticketRestrictions.timeRestrictions`)." +}, +"customTransitTerminusNameLabel": { +"$ref": "LocalizedString", +"description": "A custom label to use for the transit terminus name value (`transitObject.ticketLeg.transitTerminusName`)." +}, +"customZoneLabel": { +"$ref": "LocalizedString", +"description": "A custom label to use for the boarding zone value (`transitObject.ticketLeg.zone`)." +}, +"enableSingleLegItinerary": { +"description": "Controls the display of the single-leg itinerary for this class. By default, an itinerary will only display for multi-leg trips.", +"type": "boolean" +}, +"enableSmartTap": { +"description": "Identifies whether this class supports Smart Tap. The `redemptionIssuers` and object level `smartTapRedemptionLevel` fields must also be set up correctly in order for a pass to support Smart Tap.", +"type": "boolean" +}, +"heroImage": { +"$ref": "Image", +"description": "Optional banner image displayed on the front of the card. If none is present, nothing will be displayed. The image will display at 100% width." +}, +"hexBackgroundColor": { +"description": "The background color for the card. If not set the dominant color of the hero image is used, and if no hero image is set, the dominant color of the logo is used. The format is #rrggbb where rrggbb is a hex RGB triplet, such as `#ffcc00`. You can also use the shorthand version of the RGB triplet which is #rgb, such as `#fc0`.", +"type": "string" +}, +"homepageUri": { +"$ref": "Uri", +"description": "The URI of your application's home page. Populating the URI in this field results in the exact same behavior as populating an URI in linksModuleData (when an object is rendered, a link to the homepage is shown in what would usually be thought of as the linksModuleData section of the object)." +}, +"id": { +"description": "Required. The unique identifier for a class. This ID must be unique across all classes from an issuer. This value should follow the format issuer ID. identifier where the former is issued by Google and latter is chosen by you. Your unique identifier should only include alphanumeric characters, '.', '_', or '-'.", +"type": "string" +}, +"imageModulesData": { +"description": "Image module data. The maximum number of these fields displayed is 1 from object level and 1 for class object level.", +"items": { +"$ref": "ImageModuleData" +}, +"type": "array" +}, +"infoModuleData": { +"$ref": "InfoModuleData", +"deprecated": true, +"description": "Deprecated. Use textModulesData instead." +}, +"issuerName": { +"description": "Required. The issuer name. Recommended maximum length is 20 characters to ensure full string is displayed on smaller screens.", +"type": "string" +}, +"languageOverride": { +"description": "If this field is present, transit tickets served to a user's device will always be in this language. Represents the BCP 47 language tag. Example values are \"en-US\", \"en-GB\", \"de\", or \"de-AT\".", +"type": "string" +}, +"linksModuleData": { +"$ref": "LinksModuleData", +"description": "Links module data. If links module data is also defined on the object, both will be displayed." +}, +"localizedIssuerName": { +"$ref": "LocalizedString", +"description": "Translated strings for the issuer_name. Recommended maximum length is 20 characters to ensure full string is displayed on smaller screens." +}, +"locations": { +"deprecated": true, +"description": "Note: This field is currently not supported to trigger geo notifications.", +"items": { +"$ref": "LatLongPoint" +}, +"type": "array" +}, +"logo": { +"$ref": "Image", +"description": "Required. The logo image of the ticket. This image is displayed in the card detail view of the app." +}, +"merchantLocations": { +"description": "Merchant locations. There is a maximum of ten on the class. Any additional MerchantLocations added beyond the 10 will be rejected. These locations will trigger a notification when a user enters within a Google-set radius of the point. This field replaces the deprecated LatLongPoints.", +"items": { +"$ref": "MerchantLocation" +}, +"type": "array" +}, +"messages": { +"description": "An array of messages displayed in the app. All users of this object will receive its associated messages. The maximum number of these fields is 10.", +"items": { +"$ref": "Message" +}, +"type": "array" +}, +"multipleDevicesAndHoldersAllowedStatus": { +"description": "Identifies whether multiple users and devices will save the same object referencing this class.", +"enum": [ +"STATUS_UNSPECIFIED", +"MULTIPLE_HOLDERS", +"ONE_USER_ALL_DEVICES", +"ONE_USER_ONE_DEVICE", +"multipleHolders", +"oneUserAllDevices", +"oneUserOneDevice" +], +"enumDeprecated": [ +false, +false, +false, +false, +true, +true, +true +], +"enumDescriptions": [ +"Unspecified preference.", +"The Pass object is shareable by a user and can be saved by any number of different users, and on any number of devices. Partners typically use this setup for passes that do not need to be restricted to a single user or pinned to a single device.", +"An object can only be saved by one user, but this user can view and use it on multiple of their devices. Once the first user saves the object, no other user will be allowed to view or save it.", +"An object can only be saved by one user on a single device. Intended for use by select partners in limited circumstances. An example use case is a transit ticket that should be \"device pinned\", meaning it can be saved, viewed and used only by a single user on a single device. Contact support for additional information.", +"Legacy alias for `MULTIPLE_HOLDERS`. Deprecated.", +"Legacy alias for `ONE_USER_ALL_DEVICES`. Deprecated.", +"Legacy alias for `ONE_USER_ONE_DEVICE`. Deprecated." +], +"type": "string" +}, +"notifyPreference": { +"description": "Whether or not field updates to this class should trigger notifications. When set to NOTIFY, we will attempt to trigger a field update notification to users. These notifications will only be sent to users if the field is part of an allowlist. If set to DO_NOT_NOTIFY or NOTIFICATION_SETTINGS_UNSPECIFIED, no notification will be triggered. This setting is ephemeral and needs to be set with each PATCH or UPDATE request, otherwise a notification will not be triggered.", +"enum": [ +"NOTIFICATION_SETTINGS_FOR_UPDATES_UNSPECIFIED", +"NOTIFY_ON_UPDATE" +], +"enumDescriptions": [ +"Default behavior is no notifications sent.", +"This value will result in a notification being sent, if the updated fields are part of an allowlist." +], +"type": "string" +}, +"redemptionIssuers": { +"description": "Identifies which redemption issuers can redeem the pass over Smart Tap. Redemption issuers are identified by their issuer ID. Redemption issuers must have at least one Smart Tap key configured. The `enableSmartTap` and object level `smartTapRedemptionLevel` fields must also be set up correctly in order for a pass to support Smart Tap.", +"items": { +"format": "int64", +"type": "string" +}, +"type": "array" +}, +"review": { +"$ref": "Review", +"description": "The review comments set by the platform when a class is marked `approved` or `rejected`." +}, +"reviewStatus": { +"description": "Required. The status of the class. This field can be set to `draft` or `underReview` using the insert, patch, or update API calls. Once the review state is changed from `draft` it may not be changed back to `draft`. You should keep this field to `draft` when the class is under development. A `draft` class cannot be used to create any object. You should set this field to `underReview` when you believe the class is ready for use. The platform will automatically set this field to `approved` and it can be immediately used to create or migrate objects. When updating an already `approved` class you should keep setting this field to `underReview`.", +"enum": [ +"REVIEW_STATUS_UNSPECIFIED", +"UNDER_REVIEW", +"underReview", +"APPROVED", +"approved", +"REJECTED", +"rejected", +"DRAFT", +"draft" +], +"enumDeprecated": [ +false, +false, +true, +false, +true, +false, +true, +false, +true +], +"enumDescriptions": [ +"", +"", +"Legacy alias for `UNDER_REVIEW`. Deprecated.", +"", +"Legacy alias for `APPROVED`. Deprecated.", +"", +"Legacy alias for `REJECTED`. Deprecated.", +"", +"Legacy alias for `DRAFT`. Deprecated." +], +"type": "string" +}, +"securityAnimation": { +"$ref": "SecurityAnimation", +"description": "Optional information about the security animation. If this is set a security animation will be rendered on pass details." +}, +"textModulesData": { +"description": "Text module data. If text module data is also defined on the class, both will be displayed. The maximum number of these fields displayed is 10 from the object and 10 from the class.", +"items": { +"$ref": "TextModuleData" +}, +"type": "array" +}, +"transitOperatorName": { +"$ref": "LocalizedString", +"description": "The name of the transit operator." +}, +"transitType": { +"description": "Required. The type of transit this class represents, such as \"bus\".", +"enum": [ +"TRANSIT_TYPE_UNSPECIFIED", +"BUS", +"bus", +"RAIL", +"rail", +"TRAM", +"tram", +"FERRY", +"ferry", +"OTHER", +"other" +], +"enumDeprecated": [ +false, +false, +true, +false, +true, +false, +true, +false, +true, +false, +true +], +"enumDescriptions": [ +"", +"", +"Legacy alias for `BUS`. Deprecated.", +"", +"Legacy alias for `RAIL`. Deprecated.", +"", +"Legacy alias for `TRAM`. Deprecated.", +"", +"Legacy alias for `FERRY`. Deprecated.", +"", +"Legacy alias for `OTHER`. Deprecated." +], +"type": "string" +}, +"valueAddedModuleData": { +"description": "Optional value added module data. Maximum of fifteen on the class. For a pass only fifteen will be displayed, prioritizing those from the object.", +"items": { +"$ref": "ValueAddedModuleData" +}, +"type": "array" +}, +"version": { +"deprecated": true, +"description": "Deprecated", +"format": "int64", +"type": "string" +}, +"viewUnlockRequirement": { +"description": "View Unlock Requirement options for the transit ticket.", +"enum": [ +"VIEW_UNLOCK_REQUIREMENT_UNSPECIFIED", +"UNLOCK_NOT_REQUIRED", +"UNLOCK_REQUIRED_TO_VIEW" +], +"enumDescriptions": [ +"Default value, same as UNLOCK_NOT_REQUIRED.", +"Default behavior for all the existing Passes if ViewUnlockRequirement is not set.", +"Requires the user to unlock their device each time the pass is viewed. If the user removes their device lock after saving the pass, then they will be prompted to create a device lock before the pass can be viewed." +], +"type": "string" +}, +"watermark": { +"$ref": "Image", +"description": "Watermark image to display on the user's device." +}, +"wideLogo": { +"$ref": "Image", +"description": "The wide logo of the ticket. When provided, this will be used in place of the logo in the top left of the card view." +}, +"wordMark": { +"$ref": "Image", +"deprecated": true, +"description": "Deprecated." +} +}, +"type": "object" +}, +"TransitClassAddMessageResponse": { +"id": "TransitClassAddMessageResponse", +"properties": { +"resource": { +"$ref": "TransitClass", +"description": "The updated TransitClass resource." +} +}, +"type": "object" +}, +"TransitClassListResponse": { +"id": "TransitClassListResponse", +"properties": { +"pagination": { +"$ref": "Pagination", +"description": "Pagination of the response." +}, +"resources": { +"description": "Resources corresponding to the list request.", +"items": { +"$ref": "TransitClass" +}, +"type": "array" +} +}, +"type": "object" +}, +"TransitObject": { +"id": "TransitObject", +"properties": { +"activationStatus": { +"$ref": "ActivationStatus", +"description": "The activation status for the object. Required if the class has `activationOptions` set." +}, +"appLinkData": { +"$ref": "AppLinkData", +"description": "Optional app or website link that will be displayed as a button on the front of the pass. If AppLinkData is provided for the corresponding class only object AppLinkData will be displayed." +}, +"barcode": { +"$ref": "Barcode", +"description": "The barcode type and value." +}, +"classId": { +"description": "Required. The class associated with this object. The class must be of the same type as this object, must already exist, and must be approved. Class IDs should follow the format issuer ID.identifier where the former is issued by Google and latter is chosen by you.", +"type": "string" +}, +"classReference": { +"$ref": "TransitClass", +"description": "A copy of the inherited fields of the parent class. These fields are retrieved during a GET." +}, +"concessionCategory": { +"description": "The concession category for the ticket.", +"enum": [ +"CONCESSION_CATEGORY_UNSPECIFIED", +"ADULT", +"adult", +"CHILD", +"child", +"SENIOR", +"senior" +], +"enumDeprecated": [ +false, +false, +true, +false, +true, +false, +true +], +"enumDescriptions": [ +"", +"", +"Legacy alias for `ADULT`. Deprecated.", +"", +"Legacy alias for `CHILD`. Deprecated.", +"", +"Legacy alias for `SENIOR`. Deprecated." +], +"type": "string" +}, +"customConcessionCategory": { +"$ref": "LocalizedString", +"description": "A custom concession category to use when `concessionCategory` does not provide the right option. Both `concessionCategory` and `customConcessionCategory` may not be set." +}, +"customTicketStatus": { +"$ref": "LocalizedString", +"description": "A custom status to use for the ticket status value when `ticketStatus` does not provide the right option. Both `ticketStatus` and `customTicketStatus` may not be set." +}, +"deviceContext": { +"$ref": "DeviceContext", +"description": "Device context associated with the object." +}, +"disableExpirationNotification": { +"description": "Indicates if notifications should explicitly be suppressed. If this field is set to true, regardless of the `messages` field, expiration notifications to the user will be suppressed. By default, this field is set to false. Currently, this can only be set for offers.", +"type": "boolean" +}, +"groupingInfo": { +"$ref": "GroupingInfo", +"description": "Information that controls how passes are grouped together." +}, +"hasLinkedDevice": { +"description": "Whether this object is currently linked to a single device. This field is set by the platform when a user saves the object, linking it to their device. Intended for use by select partners. Contact support for additional information.", +"type": "boolean" +}, +"hasUsers": { +"description": "Indicates if the object has users. This field is set by the platform.", +"type": "boolean" +}, +"heroImage": { +"$ref": "Image", +"description": "Optional banner image displayed on the front of the card. If none is present, hero image of the class, if present, will be displayed. If hero image of the class is also not present, nothing will be displayed." +}, +"hexBackgroundColor": { +"description": "The background color for the card. If not set the dominant color of the hero image is used, and if no hero image is set, the dominant color of the logo is used. The format is #rrggbb where rrggbb is a hex RGB triplet, such as `#ffcc00`. You can also use the shorthand version of the RGB triplet which is #rgb, such as `#fc0`.", +"type": "string" +}, +"id": { +"description": "Required. The unique identifier for an object. This ID must be unique across all objects from an issuer. This value should follow the format issuer ID.identifier where the former is issued by Google and latter is chosen by you. The unique identifier should only include alphanumeric characters, '.', '_', or '-'.", +"type": "string" +}, +"imageModulesData": { +"description": "Image module data. The maximum number of these fields displayed is 1 from object level and 1 for class object level.", +"items": { +"$ref": "ImageModuleData" +}, +"type": "array" +}, +"infoModuleData": { +"$ref": "InfoModuleData", +"description": "Deprecated. Use textModulesData instead." +}, +"linkedObjectIds": { +"description": "linked_object_ids are a list of other objects such as event ticket, loyalty, offer, generic, giftcard, transit and boarding pass that should be automatically attached to this transit object. If a user had saved this transit card, then these linked_object_ids would be automatically pushed to the user's wallet (unless they turned off the setting to receive such linked passes). Make sure that objects present in linked_object_ids are already inserted - if not, calls would fail. Once linked, the linked objects cannot be unlinked. You cannot link objects belonging to another issuer. There is a limit to the number of objects that can be linked to a single object. After the limit is reached, new linked objects in the call will be ignored silently. Object IDs should follow the format issuer ID. identifier where the former is issued by Google and the latter is chosen by you.", +"items": { +"type": "string" +}, +"type": "array" +}, +"linksModuleData": { +"$ref": "LinksModuleData", +"description": "Links module data. If links module data is also defined on the class, both will be displayed." +}, +"locations": { +"deprecated": true, +"description": "Note: This field is currently not supported to trigger geo notifications.", +"items": { +"$ref": "LatLongPoint" +}, +"type": "array" +}, +"merchantLocations": { +"description": "Merchant locations. There is a maximum of ten on the object. Any additional MerchantLocations added beyond the 10 will be rejected. These locations will trigger a notification when a user enters within a Google-set radius of the point. This field replaces the deprecated LatLongPoints.", +"items": { +"$ref": "MerchantLocation" +}, +"type": "array" +}, +"messages": { +"description": "An array of messages displayed in the app. All users of this object will receive its associated messages. The maximum number of these fields is 10.", +"items": { +"$ref": "Message" +}, +"type": "array" +}, +"notifyPreference": { +"description": "Whether or not field updates to this object should trigger notifications. When set to NOTIFY, we will attempt to trigger a field update notification to users. These notifications will only be sent to users if the field is part of an allowlist. If set to DO_NOT_NOTIFY or NOTIFICATION_SETTINGS_UNSPECIFIED, no notification will be triggered. This setting is ephemeral and needs to be set with each PATCH or UPDATE request, otherwise a notification will not be triggered.", +"enum": [ +"NOTIFICATION_SETTINGS_FOR_UPDATES_UNSPECIFIED", +"NOTIFY_ON_UPDATE" +], +"enumDescriptions": [ +"Default behavior is no notifications sent.", +"This value will result in a notification being sent, if the updated fields are part of an allowlist." +], +"type": "string" +}, +"passConstraints": { +"$ref": "PassConstraints", +"description": "Pass constraints for the object. Includes limiting NFC and screenshot behaviors." +}, +"passengerNames": { +"description": "The name(s) of the passengers the ticket is assigned to. The above `passengerType` field is meant to give Google context on this field.", +"type": "string" +}, +"passengerType": { +"description": "The number of passengers.", +"enum": [ +"PASSENGER_TYPE_UNSPECIFIED", +"SINGLE_PASSENGER", +"singlePassenger", +"MULTIPLE_PASSENGERS", +"multiplePassengers" +], +"enumDeprecated": [ +false, +false, +true, +false, +true +], +"enumDescriptions": [ +"", +"", +"Legacy alias for `SINGLE_PASSENGER`. Deprecated.", +"", +"Legacy alias for `MULTIPLE_PASSENGERS`. Deprecated." +], +"type": "string" +}, +"purchaseDetails": { +"$ref": "PurchaseDetails", +"description": "Purchase details for this ticket." +}, +"rotatingBarcode": { +"$ref": "RotatingBarcode", +"description": "The rotating barcode type and value." +}, +"saveRestrictions": { +"$ref": "SaveRestrictions", +"description": "Restrictions on the object that needs to be verified before the user tries to save the pass. Note that this restrictions will only be applied during save time. If the restrictions changed after a user saves the pass, the new restrictions will not be applied to an already saved pass." +}, +"smartTapRedemptionValue": { +"description": "The value that will be transmitted to a Smart Tap certified terminal over NFC for this object. The class level fields `enableSmartTap` and `redemptionIssuers` must also be set up correctly in order for the pass to support Smart Tap. Only ASCII characters are supported.", +"type": "string" +}, +"state": { +"description": "Required. The state of the object. This field is used to determine how an object is displayed in the app. For example, an `inactive` object is moved to the \"Expired passes\" section.", +"enum": [ +"STATE_UNSPECIFIED", +"ACTIVE", +"active", +"COMPLETED", +"completed", +"EXPIRED", +"expired", +"INACTIVE", +"inactive" +], +"enumDeprecated": [ +false, +false, +true, +false, +true, +false, +true, +false, +true +], +"enumDescriptions": [ +"Default value.", +"Object is active and displayed to with other active objects.", +"Legacy alias for `ACTIVE`. Deprecated.", +"Object has completed it's lifecycle.", +"Legacy alias for `COMPLETED`. Deprecated.", +"Object is no longer valid (`validTimeInterval` passed).", +"Legacy alias for `EXPIRED`. Deprecated.", +"Object is no longer valid", +"Legacy alias for `INACTIVE`. Deprecated." +], +"type": "string" +}, +"textModulesData": { +"description": "Text module data. If text module data is also defined on the class, both will be displayed. The maximum number of these fields displayed is 10 from the object and 10 from the class.", +"items": { +"$ref": "TextModuleData" +}, +"type": "array" +}, +"ticketLeg": { +"$ref": "TicketLeg", +"description": "A single ticket leg contains departure and arrival information along with boarding and seating information. If more than one leg is to be specified then use the `ticketLegs` field instead. Both `ticketLeg` and `ticketLegs` may not be set." +}, +"ticketLegs": { +"description": "Each ticket may contain one or more legs. Each leg contains departure and arrival information along with boarding and seating information. If only one leg is to be specified then use the `ticketLeg` field instead. Both `ticketLeg` and `ticketLegs` may not be set.", +"items": { +"$ref": "TicketLeg" +}, +"type": "array" +}, +"ticketNumber": { +"description": "The number of the ticket. This is a unique identifier for the ticket in the transit operator's system.", +"type": "string" +}, +"ticketRestrictions": { +"$ref": "TicketRestrictions", +"description": "Information about what kind of restrictions there are on using this ticket. For example, which days of the week it must be used, or which routes are allowed to be taken." +}, +"ticketStatus": { +"description": "The status of the ticket. For states which affect display, use the `state` field instead.", +"enum": [ +"TICKET_STATUS_UNSPECIFIED", +"USED", +"used", +"REFUNDED", +"refunded", +"EXCHANGED", +"exchanged" +], +"enumDeprecated": [ +false, +false, +true, +false, +true, +false, +true +], +"enumDescriptions": [ +"", +"", +"Legacy alias for `USED`. Deprecated.", +"", +"Legacy alias for `REFUNDED`. Deprecated.", +"", +"Legacy alias for `EXCHANGED`. Deprecated." +], +"type": "string" +}, +"tripId": { +"description": "This id is used to group tickets together if the user has saved multiple tickets for the same trip.", +"type": "string" +}, +"tripType": { +"description": "Required. The type of trip this transit object represents. Used to determine the pass title and/or which symbol to use between the origin and destination.", +"enum": [ +"TRIP_TYPE_UNSPECIFIED", +"ROUND_TRIP", +"roundTrip", +"ONE_WAY", +"oneWay" +], +"enumDeprecated": [ +false, +false, +true, +false, +true +], +"enumDescriptions": [ +"", +"", +"Legacy alias for `ROUND_TRIP`. Deprecated.", +"", +"Legacy alias for `ONE_WAY`. Deprecated." +], +"type": "string" +}, +"validTimeInterval": { +"$ref": "TimeInterval", +"description": "The time period this object will be `active` and object can be used. An object's state will be changed to `expired` when this time period has passed." +}, +"valueAddedModuleData": { +"description": "Optional value added module data. Maximum of fifteen on the object. For a pass only fifteen will be displayed.", +"items": { +"$ref": "ValueAddedModuleData" +}, +"type": "array" +}, +"version": { +"deprecated": true, +"description": "Deprecated", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"TransitObjectAddMessageResponse": { +"id": "TransitObjectAddMessageResponse", +"properties": { +"resource": { +"$ref": "TransitObject", +"description": "The updated TransitObject resource." +} +}, +"type": "object" +}, +"TransitObjectListResponse": { +"id": "TransitObjectListResponse", +"properties": { +"pagination": { +"$ref": "Pagination", +"description": "Pagination of the response." +}, +"resources": { +"description": "Resources corresponding to the list request.", +"items": { +"$ref": "TransitObject" +}, +"type": "array" +} +}, +"type": "object" +}, +"TransitObjectUploadRotatingBarcodeValuesRequest": { +"description": "Request to upload rotating barcode values.", +"id": "TransitObjectUploadRotatingBarcodeValuesRequest", +"properties": { +"blob": { +"$ref": "Media", +"description": "A reference to the rotating barcode values payload that was uploaded." +}, +"mediaRequestInfo": { +"$ref": "MediaRequestInfo", +"description": "Extra information about the uploaded media." +} +}, +"type": "object" +}, +"TransitObjectUploadRotatingBarcodeValuesResponse": { +"description": "Response for uploading rotating barcode values.", +"id": "TransitObjectUploadRotatingBarcodeValuesResponse", +"properties": {}, +"type": "object" +}, +"TranslatedString": { +"id": "TranslatedString", +"properties": { +"kind": { +"deprecated": true, +"description": "Identifies what kind of resource this is. Value: the fixed string `\"walletobjects#translatedString\"`.", +"type": "string" +}, +"language": { +"description": "Represents the BCP 47 language tag. Example values are \"en-US\", \"en-GB\", \"de\", or \"de-AT\".", +"type": "string" +}, +"value": { +"description": "The UTF-8 encoded translated string.", +"type": "string" +} +}, +"type": "object" +}, +"UpcomingNotification": { +"description": "Indicates that the issuer would like Google Wallet to send an upcoming card validity notification 1 day before card becomes valid/usable.", +"id": "UpcomingNotification", +"properties": { +"enableNotification": { +"description": "Indicates if the object needs to have upcoming notification enabled.", +"type": "boolean" +} +}, +"type": "object" +}, +"UploadPrivateImageRequest": { +"description": "Request to upload a private image to use in a pass.", +"id": "UploadPrivateImageRequest", +"properties": {}, +"type": "object" +}, +"UploadPrivateImageResponse": { +"description": "Response for uploading the private image.", +"id": "UploadPrivateImageResponse", +"properties": { +"privateImageId": { +"description": "Unique ID of the uploaded image to be referenced later in Image.private_image_id.", +"type": "string" +} +}, +"type": "object" +}, +"Uri": { +"id": "Uri", +"properties": { +"description": { +"description": "The URI's title appearing in the app as text. Recommended maximum is 20 characters to ensure full string is displayed on smaller screens. Note that in some contexts this text is not used, such as when `description` is part of an image.", +"type": "string" +}, +"id": { +"description": "The ID associated with a uri. This field is here to enable ease of management of uris.", +"type": "string" +}, +"kind": { +"deprecated": true, +"description": "Identifies what kind of resource this is. Value: the fixed string `\"walletobjects#uri\"`.", +"type": "string" +}, +"localizedDescription": { +"$ref": "LocalizedString", +"description": "Translated strings for the description. Recommended maximum is 20 characters to ensure full string is displayed on smaller screens." +}, +"uri": { +"description": "The location of a web page, image, or other resource. URIs in the `LinksModuleData` module can have different prefixes indicating the type of URI (a link to a web page, a link to a map, a telephone number, or an email address). URIs must have a scheme.", +"type": "string" +} +}, +"type": "object" +}, +"ValueAddedModuleData": { +"description": "Data for Value Added module. Required fields are header and uri.", +"id": "ValueAddedModuleData", +"properties": { +"body": { +"$ref": "LocalizedString", +"description": "Body to be displayed on the module. Character limit is 50 and longer strings will be truncated." +}, +"header": { +"$ref": "LocalizedString", +"description": "Header to be displayed on the module. Character limit is 60 and longer strings will be truncated." +}, +"image": { +"$ref": "Image", +"description": "Image to be displayed on the module. Recommended image ratio is 1:1. Images will be resized to fit this ratio." +}, +"sortIndex": { +"description": "The index for sorting the modules. Modules with a lower sort index are shown before modules with a higher sort index. If unspecified, the sort index is assumed to be INT_MAX. For two modules with the same index, the sorting behavior is undefined.", +"format": "int32", +"type": "integer" +}, +"uri": { +"description": "URI that the module leads to on click. This can be a web link or a deep link as mentioned in https://developer.android.com/training/app-links/deep-linking.", +"type": "string" +}, +"viewConstraints": { +"$ref": "ModuleViewConstraints", +"description": "Constraints that all must be met for the module to be shown." +} +}, +"type": "object" +} +}, +"servicePath": "", +"title": "Google Wallet API", +"version": "v1" +} \ No newline at end of file diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/webrisk.v1.json b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/webrisk.v1.json new file mode 100644 index 0000000000000000000000000000000000000000..7fb98fa411f1652edca03a0e681815db84eb5b90 --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/webrisk.v1.json @@ -0,0 +1,791 @@ +{ +"auth": { +"oauth2": { +"scopes": { +"https://www.googleapis.com/auth/cloud-platform": { +"description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." +} +} +} +}, +"basePath": "", +"baseUrl": "https://webrisk.googleapis.com/", +"batchPath": "batch", +"canonicalName": "Web Risk", +"description": "", +"discoveryVersion": "v1", +"documentationLink": "https://cloud.google.com/web-risk/", +"fullyEncodeReservedExpansion": true, +"icons": { +"x16": "http://www.google.com/images/icons/product/search-16.gif", +"x32": "http://www.google.com/images/icons/product/search-32.gif" +}, +"id": "webrisk:v1", +"kind": "discovery#restDescription", +"mtlsRootUrl": "https://webrisk.mtls.googleapis.com/", +"name": "webrisk", +"ownerDomain": "google.com", +"ownerName": "Google", +"parameters": { +"$.xgafv": { +"description": "V1 error format.", +"enum": [ +"1", +"2" +], +"enumDescriptions": [ +"v1 error format", +"v2 error format" +], +"location": "query", +"type": "string" +}, +"access_token": { +"description": "OAuth access token.", +"location": "query", +"type": "string" +}, +"alt": { +"default": "json", +"description": "Data format for response.", +"enum": [ +"json", +"media", +"proto" +], +"enumDescriptions": [ +"Responses with Content-Type of application/json", +"Media download with context-dependent Content-Type", +"Responses with Content-Type of application/x-protobuf" +], +"location": "query", +"type": "string" +}, +"callback": { +"description": "JSONP", +"location": "query", +"type": "string" +}, +"fields": { +"description": "Selector specifying which fields to include in a partial response.", +"location": "query", +"type": "string" +}, +"key": { +"description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", +"location": "query", +"type": "string" +}, +"oauth_token": { +"description": "OAuth 2.0 token for the current user.", +"location": "query", +"type": "string" +}, +"prettyPrint": { +"default": "true", +"description": "Returns response with indentations and line breaks.", +"location": "query", +"type": "boolean" +}, +"quotaUser": { +"description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.", +"location": "query", +"type": "string" +}, +"uploadType": { +"description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", +"location": "query", +"type": "string" +}, +"upload_protocol": { +"description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", +"location": "query", +"type": "string" +} +}, +"protocol": "rest", +"resources": { +"hashes": { +"methods": { +"search": { +"description": "Gets the full hashes that match the requested hash prefix. This is used after a hash prefix is looked up in a threatList and there is a match. The client side threatList only holds partial hashes so the client must query this method to determine if there is a full hash match of a threat.", +"flatPath": "v1/hashes:search", +"httpMethod": "GET", +"id": "webrisk.hashes.search", +"parameterOrder": [], +"parameters": { +"hashPrefix": { +"description": "A hash prefix, consisting of the most significant 4-32 bytes of a SHA256 hash. For JSON requests, this field is base64-encoded. Note that if this parameter is provided by a URI, it must be encoded using the web safe base64 variant (RFC 4648).", +"format": "byte", +"location": "query", +"type": "string" +}, +"threatTypes": { +"description": "Required. The ThreatLists to search in. Multiple ThreatLists may be specified.", +"enum": [ +"THREAT_TYPE_UNSPECIFIED", +"MALWARE", +"SOCIAL_ENGINEERING", +"UNWANTED_SOFTWARE", +"SOCIAL_ENGINEERING_EXTENDED_COVERAGE" +], +"enumDescriptions": [ +"No entries should match this threat type. This threat type is unused.", +"Malware targeting any platform.", +"Social engineering targeting any platform.", +"Unwanted software targeting any platform.", +"A list of extended coverage social engineering URIs targeting any platform." +], +"location": "query", +"repeated": true, +"type": "string" +} +}, +"path": "v1/hashes:search", +"response": { +"$ref": "GoogleCloudWebriskV1SearchHashesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"projects": { +"resources": { +"operations": { +"methods": { +"cancel": { +"description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.", +"flatPath": "v1/projects/{projectsId}/operations/{operationsId}:cancel", +"httpMethod": "POST", +"id": "webrisk.projects.operations.cancel", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be cancelled.", +"location": "path", +"pattern": "^projects/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:cancel", +"request": { +"$ref": "GoogleLongrunningCancelOperationRequest" +}, +"response": { +"$ref": "GoogleProtobufEmpty" +} +}, +"delete": { +"description": "Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.", +"flatPath": "v1/projects/{projectsId}/operations/{operationsId}", +"httpMethod": "DELETE", +"id": "webrisk.projects.operations.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be deleted.", +"location": "path", +"pattern": "^projects/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleProtobufEmpty" +} +}, +"get": { +"description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", +"flatPath": "v1/projects/{projectsId}/operations/{operationsId}", +"httpMethod": "GET", +"id": "webrisk.projects.operations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource.", +"location": "path", +"pattern": "^projects/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.", +"flatPath": "v1/projects/{projectsId}/operations", +"httpMethod": "GET", +"id": "webrisk.projects.operations.list", +"parameterOrder": [ +"name" +], +"parameters": { +"filter": { +"description": "The standard list filter.", +"location": "query", +"type": "string" +}, +"name": { +"description": "The name of the operation's parent resource.", +"location": "path", +"pattern": "^projects/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The standard list page size.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The standard list page token.", +"location": "query", +"type": "string" +}, +"returnPartialSuccess": { +"description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `\"projects/example/locations/-\"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1/{+name}/operations", +"response": { +"$ref": "GoogleLongrunningListOperationsResponse" +} +} +} +}, +"submissions": { +"methods": { +"create": { +"description": "Creates a Submission of a URI suspected of containing phishing content to be reviewed. If the result verifies the existence of malicious phishing content, the site will be added to the [Google's Social Engineering lists](https://support.google.com/webmasters/answer/6350487/) in order to protect users that could get exposed to this threat in the future. Only allowlisted projects can use this method during Early Access. Please reach out to Sales or your customer engineer to obtain access.", +"flatPath": "v1/projects/{projectsId}/submissions", +"httpMethod": "POST", +"id": "webrisk.projects.submissions.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The name of the project that is making the submission. This string is in the format \"projects/{project_number}\".", +"location": "path", +"pattern": "^projects/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/submissions", +"request": { +"$ref": "GoogleCloudWebriskV1Submission" +}, +"response": { +"$ref": "GoogleCloudWebriskV1Submission" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +}, +"threatLists": { +"methods": { +"computeDiff": { +"description": "Gets the most recent threat list diffs. These diffs should be applied to a local database of hashes to keep it up-to-date. If the local database is empty or excessively out-of-date, a complete snapshot of the database will be returned. This Method only updates a single ThreatList at a time. To update multiple ThreatList databases, this method needs to be called once for each list.", +"flatPath": "v1/threatLists:computeDiff", +"httpMethod": "GET", +"id": "webrisk.threatLists.computeDiff", +"parameterOrder": [], +"parameters": { +"constraints.maxDatabaseEntries": { +"description": "Sets the maximum number of entries that the client is willing to have in the local database. This should be a power of 2 between 2**10 and 2**20. If zero, no database size limit is set.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"constraints.maxDiffEntries": { +"description": "The maximum size in number of entries. The diff will not contain more entries than this value. This should be a power of 2 between 2**10 and 2**20. If zero, no diff size limit is set.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"constraints.supportedCompressions": { +"description": "The compression types supported by the client.", +"enum": [ +"COMPRESSION_TYPE_UNSPECIFIED", +"RAW", +"RICE" +], +"enumDescriptions": [ +"Unknown.", +"Raw, uncompressed data.", +"Rice-Golomb encoded data." +], +"location": "query", +"repeated": true, +"type": "string" +}, +"threatType": { +"description": "Required. The threat list to update. Only a single ThreatType should be specified per request. If you want to handle multiple ThreatTypes, you must make one request per ThreatType.", +"enum": [ +"THREAT_TYPE_UNSPECIFIED", +"MALWARE", +"SOCIAL_ENGINEERING", +"UNWANTED_SOFTWARE", +"SOCIAL_ENGINEERING_EXTENDED_COVERAGE" +], +"enumDescriptions": [ +"No entries should match this threat type. This threat type is unused.", +"Malware targeting any platform.", +"Social engineering targeting any platform.", +"Unwanted software targeting any platform.", +"A list of extended coverage social engineering URIs targeting any platform." +], +"location": "query", +"type": "string" +}, +"versionToken": { +"description": "The current version token of the client for the requested list (the client version that was received from the last successful diff). If the client does not have a version token (this is the first time calling ComputeThreatListDiff), this may be left empty and a full database snapshot will be returned.", +"format": "byte", +"location": "query", +"type": "string" +} +}, +"path": "v1/threatLists:computeDiff", +"response": { +"$ref": "GoogleCloudWebriskV1ComputeThreatListDiffResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"uris": { +"methods": { +"search": { +"description": "This method is used to check whether a URI is on a given threatList. Multiple threatLists may be searched in a single query. The response will list all requested threatLists the URI was found to match. If the URI is not found on any of the requested ThreatList an empty response will be returned.", +"flatPath": "v1/uris:search", +"httpMethod": "GET", +"id": "webrisk.uris.search", +"parameterOrder": [], +"parameters": { +"threatTypes": { +"description": "Required. The ThreatLists to search in. Multiple ThreatLists may be specified.", +"enum": [ +"THREAT_TYPE_UNSPECIFIED", +"MALWARE", +"SOCIAL_ENGINEERING", +"UNWANTED_SOFTWARE", +"SOCIAL_ENGINEERING_EXTENDED_COVERAGE" +], +"enumDescriptions": [ +"No entries should match this threat type. This threat type is unused.", +"Malware targeting any platform.", +"Social engineering targeting any platform.", +"Unwanted software targeting any platform.", +"A list of extended coverage social engineering URIs targeting any platform." +], +"location": "query", +"repeated": true, +"type": "string" +}, +"uri": { +"description": "Required. The URI to be checked for matches.", +"location": "query", +"type": "string" +} +}, +"path": "v1/uris:search", +"response": { +"$ref": "GoogleCloudWebriskV1SearchUrisResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +}, +"revision": "20251202", +"rootUrl": "https://webrisk.googleapis.com/", +"schemas": { +"GoogleCloudWebriskV1ComputeThreatListDiffResponse": { +"id": "GoogleCloudWebriskV1ComputeThreatListDiffResponse", +"properties": { +"additions": { +"$ref": "GoogleCloudWebriskV1ThreatEntryAdditions", +"description": "A set of entries to add to a local threat type's list." +}, +"checksum": { +"$ref": "GoogleCloudWebriskV1ComputeThreatListDiffResponseChecksum", +"description": "The expected SHA256 hash of the client state; that is, of the sorted list of all hashes present in the database after applying the provided diff. If the client state doesn't match the expected state, the client must discard this diff and retry later." +}, +"newVersionToken": { +"description": "The new opaque client version token. This should be retained by the client and passed into the next call of ComputeThreatListDiff as 'version_token'. A separate version token should be stored and used for each threatList.", +"format": "byte", +"type": "string" +}, +"recommendedNextDiff": { +"description": "The soonest the client should wait before issuing any diff request. Querying sooner is unlikely to produce a meaningful diff. Waiting longer is acceptable considering the use case. If this field is not set clients may update as soon as they want.", +"format": "google-datetime", +"type": "string" +}, +"removals": { +"$ref": "GoogleCloudWebriskV1ThreatEntryRemovals", +"description": "A set of entries to remove from a local threat type's list. This field may be empty." +}, +"responseType": { +"description": "The type of response. This may indicate that an action must be taken by the client when the response is received.", +"enum": [ +"RESPONSE_TYPE_UNSPECIFIED", +"DIFF", +"RESET" +], +"enumDescriptions": [ +"Unknown.", +"Partial updates are applied to the client's existing local database.", +"Full updates resets the client's entire local database. This means that either the client had no state, was seriously out-of-date, or the client is believed to be corrupt." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudWebriskV1ComputeThreatListDiffResponseChecksum": { +"description": "The expected state of a client's local database.", +"id": "GoogleCloudWebriskV1ComputeThreatListDiffResponseChecksum", +"properties": { +"sha256": { +"description": "The SHA256 hash of the client state; that is, of the sorted list of all hashes present in the database.", +"format": "byte", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudWebriskV1RawHashes": { +"description": "The uncompressed threat entries in hash format. Hashes can be anywhere from 4 to 32 bytes in size. A large majority are 4 bytes, but some hashes are lengthened if they collide with the hash of a popular URI. Used for sending ThreatEntryAdditons to clients that do not support compression, or when sending non-4-byte hashes to clients that do support compression.", +"id": "GoogleCloudWebriskV1RawHashes", +"properties": { +"prefixSize": { +"description": "The number of bytes for each prefix encoded below. This field can be anywhere from 4 (shortest prefix) to 32 (full SHA256 hash). In practice this is almost always 4, except in exceptional circumstances.", +"format": "int32", +"type": "integer" +}, +"rawHashes": { +"description": "The hashes, in binary format, concatenated into one long string. Hashes are sorted in lexicographic order. For JSON API users, hashes are base64-encoded.", +"format": "byte", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudWebriskV1RawIndices": { +"description": "A set of raw indices to remove from a local list.", +"id": "GoogleCloudWebriskV1RawIndices", +"properties": { +"indices": { +"description": "The indices to remove from a lexicographically-sorted local list.", +"items": { +"format": "int32", +"type": "integer" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudWebriskV1RiceDeltaEncoding": { +"description": "The Rice-Golomb encoded data. Used for sending compressed 4-byte hashes or compressed removal indices.", +"id": "GoogleCloudWebriskV1RiceDeltaEncoding", +"properties": { +"encodedData": { +"description": "The encoded deltas that are encoded using the Golomb-Rice coder.", +"format": "byte", +"type": "string" +}, +"entryCount": { +"description": "The number of entries that are delta encoded in the encoded data. If only a single integer was encoded, this will be zero and the single value will be stored in `first_value`.", +"format": "int32", +"type": "integer" +}, +"firstValue": { +"description": "The offset of the first entry in the encoded data, or, if only a single integer was encoded, that single integer's value. If the field is empty or missing, assume zero.", +"format": "int64", +"type": "string" +}, +"riceParameter": { +"description": "The Golomb-Rice parameter, which is a number between 2 and 28. This field is missing (that is, zero) if `num_entries` is zero.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"GoogleCloudWebriskV1SearchHashesResponse": { +"id": "GoogleCloudWebriskV1SearchHashesResponse", +"properties": { +"negativeExpireTime": { +"description": "For requested entities that did not match the threat list, how long to cache the response until.", +"format": "google-datetime", +"type": "string" +}, +"threats": { +"description": "The full hashes that matched the requested prefixes. The hash will be populated in the key.", +"items": { +"$ref": "GoogleCloudWebriskV1SearchHashesResponseThreatHash" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudWebriskV1SearchHashesResponseThreatHash": { +"description": "Contains threat information on a matching hash.", +"id": "GoogleCloudWebriskV1SearchHashesResponseThreatHash", +"properties": { +"expireTime": { +"description": "The cache lifetime for the returned match. Clients must not cache this response past this timestamp to avoid false positives.", +"format": "google-datetime", +"type": "string" +}, +"hash": { +"description": "A 32 byte SHA256 hash. This field is in binary format. For JSON requests, hashes are base64-encoded.", +"format": "byte", +"type": "string" +}, +"threatTypes": { +"description": "The ThreatList this threat belongs to. This must contain at least one entry.", +"items": { +"enum": [ +"THREAT_TYPE_UNSPECIFIED", +"MALWARE", +"SOCIAL_ENGINEERING", +"UNWANTED_SOFTWARE", +"SOCIAL_ENGINEERING_EXTENDED_COVERAGE" +], +"enumDescriptions": [ +"No entries should match this threat type. This threat type is unused.", +"Malware targeting any platform.", +"Social engineering targeting any platform.", +"Unwanted software targeting any platform.", +"A list of extended coverage social engineering URIs targeting any platform." +], +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudWebriskV1SearchUrisResponse": { +"id": "GoogleCloudWebriskV1SearchUrisResponse", +"properties": { +"threat": { +"$ref": "GoogleCloudWebriskV1SearchUrisResponseThreatUri", +"description": "The threat list matches. This might be empty if the URI is on no list." +} +}, +"type": "object" +}, +"GoogleCloudWebriskV1SearchUrisResponseThreatUri": { +"description": "Contains threat information on a matching uri.", +"id": "GoogleCloudWebriskV1SearchUrisResponseThreatUri", +"properties": { +"expireTime": { +"description": "The cache lifetime for the returned match. Clients must not cache this response past this timestamp to avoid false positives.", +"format": "google-datetime", +"type": "string" +}, +"threatTypes": { +"description": "The ThreatList this threat belongs to.", +"items": { +"enum": [ +"THREAT_TYPE_UNSPECIFIED", +"MALWARE", +"SOCIAL_ENGINEERING", +"UNWANTED_SOFTWARE", +"SOCIAL_ENGINEERING_EXTENDED_COVERAGE" +], +"enumDescriptions": [ +"No entries should match this threat type. This threat type is unused.", +"Malware targeting any platform.", +"Social engineering targeting any platform.", +"Unwanted software targeting any platform.", +"A list of extended coverage social engineering URIs targeting any platform." +], +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudWebriskV1Submission": { +"description": "Wraps a URI that might be displaying malicious content.", +"id": "GoogleCloudWebriskV1Submission", +"properties": { +"uri": { +"description": "Required. The URI that is being reported for malicious content to be analyzed.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudWebriskV1ThreatEntryAdditions": { +"description": "Contains the set of entries to add to a local database. May contain a combination of compressed and raw data in a single response.", +"id": "GoogleCloudWebriskV1ThreatEntryAdditions", +"properties": { +"rawHashes": { +"description": "The raw SHA256-formatted entries. Repeated to allow returning sets of hashes with different prefix sizes.", +"items": { +"$ref": "GoogleCloudWebriskV1RawHashes" +}, +"type": "array" +}, +"riceHashes": { +"$ref": "GoogleCloudWebriskV1RiceDeltaEncoding", +"description": "The encoded 4-byte prefixes of SHA256-formatted entries, using a Golomb-Rice encoding. The hashes are converted to uint32, sorted in ascending order, then delta encoded and stored as encoded_data." +} +}, +"type": "object" +}, +"GoogleCloudWebriskV1ThreatEntryRemovals": { +"description": "Contains the set of entries to remove from a local database.", +"id": "GoogleCloudWebriskV1ThreatEntryRemovals", +"properties": { +"rawIndices": { +"$ref": "GoogleCloudWebriskV1RawIndices", +"description": "The raw removal indices for a local list." +}, +"riceIndices": { +"$ref": "GoogleCloudWebriskV1RiceDeltaEncoding", +"description": "The encoded local, lexicographically-sorted list indices, using a Golomb-Rice encoding. Used for sending compressed removal indices. The removal indices (uint32) are sorted in ascending order, then delta encoded and stored as encoded_data." +} +}, +"type": "object" +}, +"GoogleLongrunningCancelOperationRequest": { +"description": "The request message for Operations.CancelOperation.", +"id": "GoogleLongrunningCancelOperationRequest", +"properties": {}, +"type": "object" +}, +"GoogleLongrunningListOperationsResponse": { +"description": "The response message for Operations.ListOperations.", +"id": "GoogleLongrunningListOperationsResponse", +"properties": { +"nextPageToken": { +"description": "The standard List next-page token.", +"type": "string" +}, +"operations": { +"description": "A list of operations that matches the specified filter in the request.", +"items": { +"$ref": "GoogleLongrunningOperation" +}, +"type": "array" +}, +"unreachable": { +"description": "Unordered list. Unreachable resources. Populated when the request sets `ListOperationsRequest.return_partial_success` and reads across collections. For example, when attempting to list all resources across all supported locations.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleLongrunningOperation": { +"description": "This resource represents a long-running operation that is the result of a network API call.", +"id": "GoogleLongrunningOperation", +"properties": { +"done": { +"description": "If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.", +"type": "boolean" +}, +"error": { +"$ref": "GoogleRpcStatus", +"description": "The error result of the operation in case of failure or cancellation." +}, +"metadata": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "Contains a `SubmitUriMetadata` object.", +"type": "object" +}, +"name": { +"description": "Matches the `/v1/{project-name}/operations/{operation-id}` pattern.", +"type": "string" +}, +"response": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "The normal, successful response of the operation. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.", +"type": "object" +} +}, +"type": "object" +}, +"GoogleProtobufEmpty": { +"description": "A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }", +"id": "GoogleProtobufEmpty", +"properties": {}, +"type": "object" +}, +"GoogleRpcStatus": { +"description": "The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors).", +"id": "GoogleRpcStatus", +"properties": { +"code": { +"description": "The status code, which should be an enum value of google.rpc.Code.", +"format": "int32", +"type": "integer" +}, +"details": { +"description": "A list of messages that carry the error details. There is a common set of message types for APIs to use.", +"items": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.", +"type": "string" +} +}, +"type": "object" +} +}, +"servicePath": "", +"title": "Web Risk API", +"version": "v1", +"version_module": true +} \ No newline at end of file diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/websecurityscanner.v1.json b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/websecurityscanner.v1.json new file mode 100644 index 0000000000000000000000000000000000000000..65090339156a40ec46ae501a3abeeec18b775b97 --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/websecurityscanner.v1.json @@ -0,0 +1,1432 @@ +{ +"auth": { +"oauth2": { +"scopes": { +"https://www.googleapis.com/auth/cloud-platform": { +"description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." +} +} +} +}, +"basePath": "", +"baseUrl": "https://websecurityscanner.googleapis.com/", +"batchPath": "batch", +"canonicalName": "WebSecurityScanner", +"description": "Scans your Compute and App Engine apps for common web vulnerabilities.", +"discoveryVersion": "v1", +"documentationLink": "https://cloud.google.com/security-command-center/docs/concepts-web-security-scanner-overview/", +"fullyEncodeReservedExpansion": true, +"icons": { +"x16": "http://www.google.com/images/icons/product/search-16.gif", +"x32": "http://www.google.com/images/icons/product/search-32.gif" +}, +"id": "websecurityscanner:v1", +"kind": "discovery#restDescription", +"mtlsRootUrl": "https://websecurityscanner.mtls.googleapis.com/", +"name": "websecurityscanner", +"ownerDomain": "google.com", +"ownerName": "Google", +"parameters": { +"$.xgafv": { +"description": "V1 error format.", +"enum": [ +"1", +"2" +], +"enumDescriptions": [ +"v1 error format", +"v2 error format" +], +"location": "query", +"type": "string" +}, +"access_token": { +"description": "OAuth access token.", +"location": "query", +"type": "string" +}, +"alt": { +"default": "json", +"description": "Data format for response.", +"enum": [ +"json", +"media", +"proto" +], +"enumDescriptions": [ +"Responses with Content-Type of application/json", +"Media download with context-dependent Content-Type", +"Responses with Content-Type of application/x-protobuf" +], +"location": "query", +"type": "string" +}, +"callback": { +"description": "JSONP", +"location": "query", +"type": "string" +}, +"fields": { +"description": "Selector specifying which fields to include in a partial response.", +"location": "query", +"type": "string" +}, +"key": { +"description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", +"location": "query", +"type": "string" +}, +"oauth_token": { +"description": "OAuth 2.0 token for the current user.", +"location": "query", +"type": "string" +}, +"prettyPrint": { +"default": "true", +"description": "Returns response with indentations and line breaks.", +"location": "query", +"type": "boolean" +}, +"quotaUser": { +"description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.", +"location": "query", +"type": "string" +}, +"uploadType": { +"description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", +"location": "query", +"type": "string" +}, +"upload_protocol": { +"description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", +"location": "query", +"type": "string" +} +}, +"protocol": "rest", +"resources": { +"projects": { +"resources": { +"scanConfigs": { +"methods": { +"create": { +"description": "Creates a new ScanConfig.", +"flatPath": "v1/projects/{projectsId}/scanConfigs", +"httpMethod": "POST", +"id": "websecurityscanner.projects.scanConfigs.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The parent resource name where the scan is created, which should be a project resource name in the format 'projects/{projectId}'.", +"location": "path", +"pattern": "^projects/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/scanConfigs", +"request": { +"$ref": "ScanConfig" +}, +"response": { +"$ref": "ScanConfig" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes an existing ScanConfig and its child resources.", +"flatPath": "v1/projects/{projectsId}/scanConfigs/{scanConfigsId}", +"httpMethod": "DELETE", +"id": "websecurityscanner.projects.scanConfigs.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the ScanConfig to be deleted. The name follows the format of 'projects/{projectId}/scanConfigs/{scanConfigId}'.", +"location": "path", +"pattern": "^projects/[^/]+/scanConfigs/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets a ScanConfig.", +"flatPath": "v1/projects/{projectsId}/scanConfigs/{scanConfigsId}", +"httpMethod": "GET", +"id": "websecurityscanner.projects.scanConfigs.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the ScanConfig to be returned. The name follows the format of 'projects/{projectId}/scanConfigs/{scanConfigId}'.", +"location": "path", +"pattern": "^projects/[^/]+/scanConfigs/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "ScanConfig" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists ScanConfigs under a given project.", +"flatPath": "v1/projects/{projectsId}/scanConfigs", +"httpMethod": "GET", +"id": "websecurityscanner.projects.scanConfigs.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "The maximum number of ScanConfigs to return, can be limited by server. If not specified or not positive, the implementation will select a reasonable value.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A token identifying a page of results to be returned. This should be a `next_page_token` value returned from a previous List request. If unspecified, the first page of results is returned.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent resource name, which should be a project resource name in the format 'projects/{projectId}'.", +"location": "path", +"pattern": "^projects/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/scanConfigs", +"response": { +"$ref": "ListScanConfigsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates a ScanConfig. This method support partial update of a ScanConfig.", +"flatPath": "v1/projects/{projectsId}/scanConfigs/{scanConfigsId}", +"httpMethod": "PATCH", +"id": "websecurityscanner.projects.scanConfigs.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Identifier. The resource name of the ScanConfig. The name follows the format of 'projects/{projectId}/scanConfigs/{scanConfigId}'. The ScanConfig IDs are generated by the system.", +"location": "path", +"pattern": "^projects/[^/]+/scanConfigs/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Required. The update mask applies to the resource. For the `FieldMask` definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "ScanConfig" +}, +"response": { +"$ref": "ScanConfig" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"start": { +"description": "Start a ScanRun according to the given ScanConfig.", +"flatPath": "v1/projects/{projectsId}/scanConfigs/{scanConfigsId}:start", +"httpMethod": "POST", +"id": "websecurityscanner.projects.scanConfigs.start", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the ScanConfig to be used. The name follows the format of 'projects/{projectId}/scanConfigs/{scanConfigId}'.", +"location": "path", +"pattern": "^projects/[^/]+/scanConfigs/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:start", +"request": { +"$ref": "StartScanRunRequest" +}, +"response": { +"$ref": "ScanRun" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"scanRuns": { +"methods": { +"get": { +"description": "Gets a ScanRun.", +"flatPath": "v1/projects/{projectsId}/scanConfigs/{scanConfigsId}/scanRuns/{scanRunsId}", +"httpMethod": "GET", +"id": "websecurityscanner.projects.scanConfigs.scanRuns.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the ScanRun to be returned. The name follows the format of 'projects/{projectId}/scanConfigs/{scanConfigId}/scanRuns/{scanRunId}'.", +"location": "path", +"pattern": "^projects/[^/]+/scanConfigs/[^/]+/scanRuns/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "ScanRun" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists ScanRuns under a given ScanConfig, in descending order of ScanRun stop time.", +"flatPath": "v1/projects/{projectsId}/scanConfigs/{scanConfigsId}/scanRuns", +"httpMethod": "GET", +"id": "websecurityscanner.projects.scanConfigs.scanRuns.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "The maximum number of ScanRuns to return, can be limited by server. If not specified or not positive, the implementation will select a reasonable value.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A token identifying a page of results to be returned. This should be a `next_page_token` value returned from a previous List request. If unspecified, the first page of results is returned.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent resource name, which should be a scan resource name in the format 'projects/{projectId}/scanConfigs/{scanConfigId}'.", +"location": "path", +"pattern": "^projects/[^/]+/scanConfigs/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/scanRuns", +"response": { +"$ref": "ListScanRunsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"stop": { +"description": "Stops a ScanRun. The stopped ScanRun is returned.", +"flatPath": "v1/projects/{projectsId}/scanConfigs/{scanConfigsId}/scanRuns/{scanRunsId}:stop", +"httpMethod": "POST", +"id": "websecurityscanner.projects.scanConfigs.scanRuns.stop", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the ScanRun to be stopped. The name follows the format of 'projects/{projectId}/scanConfigs/{scanConfigId}/scanRuns/{scanRunId}'.", +"location": "path", +"pattern": "^projects/[^/]+/scanConfigs/[^/]+/scanRuns/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:stop", +"request": { +"$ref": "StopScanRunRequest" +}, +"response": { +"$ref": "ScanRun" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"crawledUrls": { +"methods": { +"list": { +"description": "List CrawledUrls under a given ScanRun.", +"flatPath": "v1/projects/{projectsId}/scanConfigs/{scanConfigsId}/scanRuns/{scanRunsId}/crawledUrls", +"httpMethod": "GET", +"id": "websecurityscanner.projects.scanConfigs.scanRuns.crawledUrls.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "The maximum number of CrawledUrls to return, can be limited by server. If not specified or not positive, the implementation will select a reasonable value.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A token identifying a page of results to be returned. This should be a `next_page_token` value returned from a previous List request. If unspecified, the first page of results is returned.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent resource name, which should be a scan run resource name in the format 'projects/{projectId}/scanConfigs/{scanConfigId}/scanRuns/{scanRunId}'.", +"location": "path", +"pattern": "^projects/[^/]+/scanConfigs/[^/]+/scanRuns/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/crawledUrls", +"response": { +"$ref": "ListCrawledUrlsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"findingTypeStats": { +"methods": { +"list": { +"description": "List all FindingTypeStats under a given ScanRun.", +"flatPath": "v1/projects/{projectsId}/scanConfigs/{scanConfigsId}/scanRuns/{scanRunsId}/findingTypeStats", +"httpMethod": "GET", +"id": "websecurityscanner.projects.scanConfigs.scanRuns.findingTypeStats.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The parent resource name, which should be a scan run resource name in the format 'projects/{projectId}/scanConfigs/{scanConfigId}/scanRuns/{scanRunId}'.", +"location": "path", +"pattern": "^projects/[^/]+/scanConfigs/[^/]+/scanRuns/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/findingTypeStats", +"response": { +"$ref": "ListFindingTypeStatsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"findings": { +"methods": { +"get": { +"description": "Gets a Finding.", +"flatPath": "v1/projects/{projectsId}/scanConfigs/{scanConfigsId}/scanRuns/{scanRunsId}/findings/{findingsId}", +"httpMethod": "GET", +"id": "websecurityscanner.projects.scanConfigs.scanRuns.findings.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the Finding to be returned. The name follows the format of 'projects/{projectId}/scanConfigs/{scanConfigId}/scanRuns/{scanRunId}/findings/{findingId}'.", +"location": "path", +"pattern": "^projects/[^/]+/scanConfigs/[^/]+/scanRuns/[^/]+/findings/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Finding" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "List Findings under a given ScanRun.", +"flatPath": "v1/projects/{projectsId}/scanConfigs/{scanConfigsId}/scanRuns/{scanRunsId}/findings", +"httpMethod": "GET", +"id": "websecurityscanner.projects.scanConfigs.scanRuns.findings.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "The filter expression. The expression must be in the format: . Supported field: 'finding_type'. Supported operator: '='.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "The maximum number of Findings to return, can be limited by server. If not specified or not positive, the implementation will select a reasonable value.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A token identifying a page of results to be returned. This should be a `next_page_token` value returned from a previous List request. If unspecified, the first page of results is returned.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent resource name, which should be a scan run resource name in the format 'projects/{projectId}/scanConfigs/{scanConfigId}/scanRuns/{scanRunId}'.", +"location": "path", +"pattern": "^projects/[^/]+/scanConfigs/[^/]+/scanRuns/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/findings", +"response": { +"$ref": "ListFindingsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +} +} +} +} +} +}, +"revision": "20250105", +"rootUrl": "https://websecurityscanner.googleapis.com/", +"schemas": { +"Authentication": { +"description": "Scan authentication configuration.", +"id": "Authentication", +"properties": { +"customAccount": { +"$ref": "CustomAccount", +"description": "Authentication using a custom account." +}, +"googleAccount": { +"$ref": "GoogleAccount", +"deprecated": true, +"description": "Authentication using a Google account." +}, +"iapCredential": { +"$ref": "IapCredential", +"description": "Authentication using Identity-Aware-Proxy (IAP)." +} +}, +"type": "object" +}, +"CrawledUrl": { +"description": "A CrawledUrl resource represents a URL that was crawled during a ScanRun. Web Security Scanner Service crawls the web applications, following all links within the scope of sites, to find the URLs to test against.", +"id": "CrawledUrl", +"properties": { +"body": { +"description": "Output only. The body of the request that was used to visit the URL.", +"type": "string" +}, +"httpMethod": { +"description": "Output only. The http method of the request that was used to visit the URL, in uppercase.", +"type": "string" +}, +"url": { +"description": "Output only. The URL that was crawled.", +"type": "string" +} +}, +"type": "object" +}, +"CustomAccount": { +"description": "Describes authentication configuration that uses a custom account.", +"id": "CustomAccount", +"properties": { +"loginUrl": { +"description": "Required. The login form URL of the website.", +"type": "string" +}, +"password": { +"description": "Required. Input only. The password of the custom account. The credential is stored encrypted and not returned in any response nor included in audit logs.", +"type": "string" +}, +"username": { +"description": "Required. The user name of the custom account.", +"type": "string" +} +}, +"type": "object" +}, +"Empty": { +"description": "A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }", +"id": "Empty", +"properties": {}, +"type": "object" +}, +"Finding": { +"description": "A Finding resource represents a vulnerability instance identified during a ScanRun.", +"id": "Finding", +"properties": { +"body": { +"description": "Output only. The body of the request that triggered the vulnerability.", +"type": "string" +}, +"description": { +"description": "Output only. The description of the vulnerability.", +"type": "string" +}, +"finalUrl": { +"description": "Output only. The URL where the browser lands when the vulnerability is detected.", +"type": "string" +}, +"findingType": { +"description": "Output only. The type of the Finding. Detailed and up-to-date information on findings can be found here: https://cloud.google.com/security-command-center/docs/how-to-remediate-web-security-scanner-findings", +"type": "string" +}, +"form": { +"$ref": "Form", +"description": "Output only. An addon containing information reported for a vulnerability with an HTML form, if any." +}, +"frameUrl": { +"description": "Output only. If the vulnerability was originated from nested IFrame, the immediate parent IFrame is reported.", +"type": "string" +}, +"fuzzedUrl": { +"description": "Output only. The URL produced by the server-side fuzzer and used in the request that triggered the vulnerability.", +"type": "string" +}, +"httpMethod": { +"description": "Output only. The http method of the request that triggered the vulnerability, in uppercase.", +"type": "string" +}, +"name": { +"description": "Output only. The resource name of the Finding. The name follows the format of 'projects/{projectId}/scanConfigs/{scanConfigId}/scanruns/{scanRunId}/findings/{findingId}'. The finding IDs are generated by the system.", +"type": "string" +}, +"outdatedLibrary": { +"$ref": "OutdatedLibrary", +"description": "Output only. An addon containing information about outdated libraries." +}, +"reproductionUrl": { +"description": "Output only. The URL containing human-readable payload that user can leverage to reproduce the vulnerability.", +"type": "string" +}, +"severity": { +"description": "Output only. The severity level of the reported vulnerability.", +"enum": [ +"SEVERITY_UNSPECIFIED", +"CRITICAL", +"HIGH", +"MEDIUM", +"LOW" +], +"enumDescriptions": [ +"No severity specified. The default value.", +"Critical severity.", +"High severity.", +"Medium severity.", +"Low severity." +], +"readOnly": true, +"type": "string" +}, +"trackingId": { +"description": "Output only. The tracking ID uniquely identifies a vulnerability instance across multiple ScanRuns.", +"type": "string" +}, +"violatingResource": { +"$ref": "ViolatingResource", +"description": "Output only. An addon containing detailed information regarding any resource causing the vulnerability such as JavaScript sources, image, audio files, etc." +}, +"vulnerableHeaders": { +"$ref": "VulnerableHeaders", +"description": "Output only. An addon containing information about vulnerable or missing HTTP headers." +}, +"vulnerableParameters": { +"$ref": "VulnerableParameters", +"description": "Output only. An addon containing information about request parameters which were found to be vulnerable." +}, +"xss": { +"$ref": "Xss", +"description": "Output only. An addon containing information reported for an XSS, if any." +}, +"xxe": { +"$ref": "Xxe", +"description": "Output only. An addon containing information reported for an XXE, if any.", +"readOnly": true +} +}, +"type": "object" +}, +"FindingTypeStats": { +"description": "A FindingTypeStats resource represents stats regarding a specific FindingType of Findings under a given ScanRun.", +"id": "FindingTypeStats", +"properties": { +"findingCount": { +"description": "Output only. The count of findings belonging to this finding type.", +"format": "int32", +"type": "integer" +}, +"findingType": { +"description": "Output only. The finding type associated with the stats.", +"type": "string" +} +}, +"type": "object" +}, +"Form": { +"description": "! Information about a vulnerability with an HTML.", +"id": "Form", +"properties": { +"actionUri": { +"description": "! The URI where to send the form when it's submitted.", +"type": "string" +}, +"fields": { +"description": "! The names of form fields related to the vulnerability.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleAccount": { +"deprecated": true, +"description": "Describes authentication configuration that uses a Google account.", +"id": "GoogleAccount", +"properties": { +"password": { +"description": "Required. Input only. The password of the Google account. The credential is stored encrypted and not returned in any response nor included in audit logs.", +"type": "string" +}, +"username": { +"description": "Required. The user name of the Google account.", +"type": "string" +} +}, +"type": "object" +}, +"Header": { +"description": "Describes a HTTP Header.", +"id": "Header", +"properties": { +"name": { +"description": "Header name.", +"type": "string" +}, +"value": { +"description": "Header value.", +"type": "string" +} +}, +"type": "object" +}, +"IapCredential": { +"description": "Describes authentication configuration for Identity-Aware-Proxy (IAP).", +"id": "IapCredential", +"properties": { +"iapTestServiceAccountInfo": { +"$ref": "IapTestServiceAccountInfo", +"description": "Authentication configuration when Web-Security-Scanner service account is added in Identity-Aware-Proxy (IAP) access policies." +} +}, +"type": "object" +}, +"IapTestServiceAccountInfo": { +"description": "Describes authentication configuration when Web-Security-Scanner service account is added in Identity-Aware-Proxy (IAP) access policies.", +"id": "IapTestServiceAccountInfo", +"properties": { +"targetAudienceClientId": { +"description": "Required. Describes OAuth2 client id of resources protected by Identity-Aware-Proxy (IAP).", +"type": "string" +} +}, +"type": "object" +}, +"ListCrawledUrlsResponse": { +"description": "Response for the `ListCrawledUrls` method.", +"id": "ListCrawledUrlsResponse", +"properties": { +"crawledUrls": { +"description": "The list of CrawledUrls returned.", +"items": { +"$ref": "CrawledUrl" +}, +"type": "array" +}, +"nextPageToken": { +"description": "Token to retrieve the next page of results, or empty if there are no more results in the list.", +"type": "string" +} +}, +"type": "object" +}, +"ListFindingTypeStatsResponse": { +"description": "Response for the `ListFindingTypeStats` method.", +"id": "ListFindingTypeStatsResponse", +"properties": { +"findingTypeStats": { +"description": "The list of FindingTypeStats returned.", +"items": { +"$ref": "FindingTypeStats" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListFindingsResponse": { +"description": "Response for the `ListFindings` method.", +"id": "ListFindingsResponse", +"properties": { +"findings": { +"description": "The list of Findings returned.", +"items": { +"$ref": "Finding" +}, +"type": "array" +}, +"nextPageToken": { +"description": "Token to retrieve the next page of results, or empty if there are no more results in the list.", +"type": "string" +} +}, +"type": "object" +}, +"ListScanConfigsResponse": { +"description": "Response for the `ListScanConfigs` method.", +"id": "ListScanConfigsResponse", +"properties": { +"nextPageToken": { +"description": "Token to retrieve the next page of results, or empty if there are no more results in the list.", +"type": "string" +}, +"scanConfigs": { +"description": "The list of ScanConfigs returned.", +"items": { +"$ref": "ScanConfig" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListScanRunsResponse": { +"description": "Response for the `ListScanRuns` method.", +"id": "ListScanRunsResponse", +"properties": { +"nextPageToken": { +"description": "Token to retrieve the next page of results, or empty if there are no more results in the list.", +"type": "string" +}, +"scanRuns": { +"description": "The list of ScanRuns returned.", +"items": { +"$ref": "ScanRun" +}, +"type": "array" +} +}, +"type": "object" +}, +"OutdatedLibrary": { +"description": "Information reported for an outdated library.", +"id": "OutdatedLibrary", +"properties": { +"learnMoreUrls": { +"description": "URLs to learn more information about the vulnerabilities in the library.", +"items": { +"type": "string" +}, +"type": "array" +}, +"libraryName": { +"description": "The name of the outdated library.", +"type": "string" +}, +"version": { +"description": "The version number.", +"type": "string" +} +}, +"type": "object" +}, +"ScanConfig": { +"description": "A ScanConfig resource contains the configurations to launch a scan.", +"id": "ScanConfig", +"properties": { +"authentication": { +"$ref": "Authentication", +"description": "The authentication configuration. If specified, service will use the authentication configuration during scanning." +}, +"blacklistPatterns": { +"description": "The excluded URL patterns as described in https://cloud.google.com/security-command-center/docs/how-to-use-web-security-scanner#excluding_urls", +"items": { +"type": "string" +}, +"type": "array" +}, +"displayName": { +"description": "Required. The user provided display name of the ScanConfig.", +"type": "string" +}, +"exportToSecurityCommandCenter": { +"description": "Controls export of scan configurations and results to Security Command Center.", +"enum": [ +"EXPORT_TO_SECURITY_COMMAND_CENTER_UNSPECIFIED", +"ENABLED", +"DISABLED" +], +"enumDescriptions": [ +"Use default, which is ENABLED.", +"Export results of this scan to Security Command Center.", +"Do not export results of this scan to Security Command Center." +], +"type": "string" +}, +"ignoreHttpStatusErrors": { +"description": "Whether to keep scanning even if most requests return HTTP error codes.", +"type": "boolean" +}, +"latestRun": { +"$ref": "ScanRun" +}, +"managedScan": { +"description": "Whether the scan config is managed by Web Security Scanner, output only.", +"type": "boolean" +}, +"maxQps": { +"description": "The maximum QPS during scanning. A valid value ranges from 5 to 20 inclusively. If the field is unspecified or its value is set 0, server will default to 15. Other values outside of [5, 20] range will be rejected with INVALID_ARGUMENT error.", +"format": "int32", +"type": "integer" +}, +"name": { +"description": "Identifier. The resource name of the ScanConfig. The name follows the format of 'projects/{projectId}/scanConfigs/{scanConfigId}'. The ScanConfig IDs are generated by the system.", +"type": "string" +}, +"riskLevel": { +"description": "The risk level selected for the scan", +"enum": [ +"RISK_LEVEL_UNSPECIFIED", +"NORMAL", +"LOW" +], +"enumDescriptions": [ +"Use default, which is NORMAL.", +"Normal scanning (Recommended)", +"Lower impact scanning" +], +"type": "string" +}, +"schedule": { +"$ref": "Schedule", +"description": "The schedule of the ScanConfig." +}, +"startingUrls": { +"description": "Required. The starting URLs from which the scanner finds site pages.", +"items": { +"type": "string" +}, +"type": "array" +}, +"staticIpScan": { +"description": "Whether the scan configuration has enabled static IP address scan feature. If enabled, the scanner will access applications from static IP addresses.", +"type": "boolean" +}, +"targetPlatforms": { +"description": "Set of Google Cloud platforms targeted by the scan. If empty, APP_ENGINE will be used as a default.", +"items": { +"enum": [ +"TARGET_PLATFORM_UNSPECIFIED", +"APP_ENGINE", +"COMPUTE", +"CLOUD_RUN", +"CLOUD_FUNCTIONS" +], +"enumDescriptions": [ +"The target platform is unknown. Requests with this enum value will be rejected with INVALID_ARGUMENT error.", +"Google App Engine service.", +"Google Compute Engine service.", +"Google Cloud Run service.", +"Google Cloud Function service." +], +"type": "string" +}, +"type": "array" +}, +"userAgent": { +"description": "The user agent used during scanning.", +"enum": [ +"USER_AGENT_UNSPECIFIED", +"CHROME_LINUX", +"CHROME_ANDROID", +"SAFARI_IPHONE" +], +"enumDescriptions": [ +"The user agent is unknown. Service will default to CHROME_LINUX.", +"Chrome on Linux. This is the service default if unspecified.", +"Chrome on Android.", +"Safari on IPhone." +], +"type": "string" +} +}, +"type": "object" +}, +"ScanConfigError": { +"description": "Defines a custom error message used by CreateScanConfig and UpdateScanConfig APIs when scan configuration validation fails. It is also reported as part of a ScanRunErrorTrace message if scan validation fails due to a scan configuration error.", +"id": "ScanConfigError", +"properties": { +"code": { +"description": "Output only. Indicates the reason code for a configuration failure.", +"enum": [ +"CODE_UNSPECIFIED", +"OK", +"INTERNAL_ERROR", +"APPENGINE_API_BACKEND_ERROR", +"APPENGINE_API_NOT_ACCESSIBLE", +"APPENGINE_DEFAULT_HOST_MISSING", +"CANNOT_USE_GOOGLE_COM_ACCOUNT", +"CANNOT_USE_OWNER_ACCOUNT", +"COMPUTE_API_BACKEND_ERROR", +"COMPUTE_API_NOT_ACCESSIBLE", +"CUSTOM_LOGIN_URL_DOES_NOT_BELONG_TO_CURRENT_PROJECT", +"CUSTOM_LOGIN_URL_MALFORMED", +"CUSTOM_LOGIN_URL_MAPPED_TO_NON_ROUTABLE_ADDRESS", +"CUSTOM_LOGIN_URL_MAPPED_TO_UNRESERVED_ADDRESS", +"CUSTOM_LOGIN_URL_HAS_NON_ROUTABLE_IP_ADDRESS", +"CUSTOM_LOGIN_URL_HAS_UNRESERVED_IP_ADDRESS", +"DUPLICATE_SCAN_NAME", +"INVALID_FIELD_VALUE", +"FAILED_TO_AUTHENTICATE_TO_TARGET", +"FINDING_TYPE_UNSPECIFIED", +"FORBIDDEN_TO_SCAN_COMPUTE", +"FORBIDDEN_UPDATE_TO_MANAGED_SCAN", +"MALFORMED_FILTER", +"MALFORMED_RESOURCE_NAME", +"PROJECT_INACTIVE", +"REQUIRED_FIELD", +"RESOURCE_NAME_INCONSISTENT", +"SCAN_ALREADY_RUNNING", +"SCAN_NOT_RUNNING", +"SEED_URL_DOES_NOT_BELONG_TO_CURRENT_PROJECT", +"SEED_URL_MALFORMED", +"SEED_URL_MAPPED_TO_NON_ROUTABLE_ADDRESS", +"SEED_URL_MAPPED_TO_UNRESERVED_ADDRESS", +"SEED_URL_HAS_NON_ROUTABLE_IP_ADDRESS", +"SEED_URL_HAS_UNRESERVED_IP_ADDRESS", +"SERVICE_ACCOUNT_NOT_CONFIGURED", +"TOO_MANY_SCANS", +"UNABLE_TO_RESOLVE_PROJECT_INFO", +"UNSUPPORTED_BLACKLIST_PATTERN_FORMAT", +"UNSUPPORTED_FILTER", +"UNSUPPORTED_FINDING_TYPE", +"UNSUPPORTED_URL_SCHEME", +"CLOUD_ASSET_INVENTORY_ASSET_NOT_FOUND" +], +"enumDescriptions": [ +"There is no error.", +"There is no error.", +"Indicates an internal server error. Please DO NOT USE THIS ERROR CODE unless the root cause is truly unknown.", +"One of the seed URLs is an App Engine URL but we cannot validate the scan settings due to an App Engine API backend error.", +"One of the seed URLs is an App Engine URL but we cannot access the App Engine API to validate scan settings.", +"One of the seed URLs is an App Engine URL but the Default Host of the App Engine is not set.", +"Google corporate accounts can not be used for scanning.", +"The account of the scan creator can not be used for scanning.", +"This scan targets Compute Engine, but we cannot validate scan settings due to a Compute Engine API backend error.", +"This scan targets Compute Engine, but we cannot access the Compute Engine API to validate the scan settings.", +"The Custom Login URL does not belong to the current project.", +"The Custom Login URL is malformed (can not be parsed).", +"The Custom Login URL is mapped to a non-routable IP address in DNS.", +"The Custom Login URL is mapped to an IP address which is not reserved for the current project.", +"The Custom Login URL has a non-routable IP address.", +"The Custom Login URL has an IP address which is not reserved for the current project.", +"Another scan with the same name (case-sensitive) already exists.", +"A field is set to an invalid value.", +"There was an error trying to authenticate to the scan target.", +"Finding type value is not specified in the list findings request.", +"Scan targets Compute Engine, yet current project was not whitelisted for Google Compute Engine Scanning Alpha access.", +"User tries to update managed scan", +"The supplied filter is malformed. For example, it can not be parsed, does not have a filter type in expression, or the same filter type appears more than once.", +"The supplied resource name is malformed (can not be parsed).", +"The current project is not in an active state.", +"A required field is not set.", +"Project id, scanconfig id, scanrun id, or finding id are not consistent with each other in resource name.", +"The scan being requested to start is already running.", +"The scan that was requested to be stopped is not running.", +"One of the seed URLs does not belong to the current project.", +"One of the seed URLs is malformed (can not be parsed).", +"One of the seed URLs is mapped to a non-routable IP address in DNS.", +"One of the seed URLs is mapped to an IP address which is not reserved for the current project.", +"One of the seed URLs has on-routable IP address.", +"One of the seed URLs has an IP address that is not reserved for the current project.", +"The Web Security Scanner service account is not configured under the project.", +"A project has reached the maximum number of scans.", +"Resolving the details of the current project fails.", +"One or more blacklist patterns were in the wrong format.", +"The supplied filter is not supported.", +"The supplied finding type is not supported. For example, we do not provide findings of the given finding type.", +"The URL scheme of one or more of the supplied URLs is not supported.", +"CAI is not able to list assets." +], +"type": "string" +}, +"fieldName": { +"description": "Output only. Indicates the full name of the ScanConfig field that triggers this error, for example \"scan_config.max_qps\". This field is provided for troubleshooting purposes only and its actual value can change in the future.", +"type": "string" +} +}, +"type": "object" +}, +"ScanRun": { +"description": "A ScanRun is a output-only resource representing an actual run of the scan. Next id: 12", +"id": "ScanRun", +"properties": { +"endTime": { +"description": "Output only. The time at which the ScanRun reached termination state - that the ScanRun is either finished or stopped by user.", +"format": "google-datetime", +"type": "string" +}, +"errorTrace": { +"$ref": "ScanRunErrorTrace", +"description": "Output only. If result_state is an ERROR, this field provides the primary reason for scan's termination and more details, if such are available." +}, +"executionState": { +"description": "Output only. The execution state of the ScanRun.", +"enum": [ +"EXECUTION_STATE_UNSPECIFIED", +"QUEUED", +"SCANNING", +"FINISHED" +], +"enumDescriptions": [ +"Represents an invalid state caused by internal server error. This value should never be returned.", +"The scan is waiting in the queue.", +"The scan is in progress.", +"The scan is either finished or stopped by user." +], +"type": "string" +}, +"hasVulnerabilities": { +"description": "Output only. Whether the scan run has found any vulnerabilities.", +"type": "boolean" +}, +"name": { +"description": "Output only. The resource name of the ScanRun. The name follows the format of 'projects/{projectId}/scanConfigs/{scanConfigId}/scanRuns/{scanRunId}'. The ScanRun IDs are generated by the system.", +"type": "string" +}, +"progressPercent": { +"description": "Output only. The percentage of total completion ranging from 0 to 100. If the scan is in queue, the value is 0. If the scan is running, the value ranges from 0 to 100. If the scan is finished, the value is 100.", +"format": "int32", +"type": "integer" +}, +"resultState": { +"description": "Output only. The result state of the ScanRun. This field is only available after the execution state reaches \"FINISHED\".", +"enum": [ +"RESULT_STATE_UNSPECIFIED", +"SUCCESS", +"ERROR", +"KILLED" +], +"enumDescriptions": [ +"Default value. This value is returned when the ScanRun is not yet finished.", +"The scan finished without errors.", +"The scan finished with errors.", +"The scan was terminated by user." +], +"type": "string" +}, +"startTime": { +"description": "Output only. The time at which the ScanRun started.", +"format": "google-datetime", +"type": "string" +}, +"urlsCrawledCount": { +"description": "Output only. The number of URLs crawled during this ScanRun. If the scan is in progress, the value represents the number of URLs crawled up to now.", +"format": "int64", +"type": "string" +}, +"urlsTestedCount": { +"description": "Output only. The number of URLs tested during this ScanRun. If the scan is in progress, the value represents the number of URLs tested up to now. The number of URLs tested is usually larger than the number URLS crawled because typically a crawled URL is tested with multiple test payloads.", +"format": "int64", +"type": "string" +}, +"warningTraces": { +"description": "Output only. A list of warnings, if such are encountered during this scan run.", +"items": { +"$ref": "ScanRunWarningTrace" +}, +"type": "array" +} +}, +"type": "object" +}, +"ScanRunErrorTrace": { +"description": "Output only. Defines an error trace message for a ScanRun.", +"id": "ScanRunErrorTrace", +"properties": { +"code": { +"description": "Output only. Indicates the error reason code.", +"enum": [ +"CODE_UNSPECIFIED", +"INTERNAL_ERROR", +"SCAN_CONFIG_ISSUE", +"AUTHENTICATION_CONFIG_ISSUE", +"TIMED_OUT_WHILE_SCANNING", +"TOO_MANY_REDIRECTS", +"TOO_MANY_HTTP_ERRORS", +"STARTING_URLS_CRAWL_HTTP_ERRORS" +], +"enumDescriptions": [ +"Default value is never used.", +"Indicates that the scan run failed due to an internal server error.", +"Indicates a scan configuration error, usually due to outdated ScanConfig settings, such as starting_urls or the DNS configuration.", +"Indicates an authentication error, usually due to outdated ScanConfig authentication settings.", +"Indicates a scan operation timeout, usually caused by a very large site.", +"Indicates that a scan encountered excessive redirects, either to authentication or some other page outside of the scan scope.", +"Indicates that a scan encountered numerous errors from the web site pages. When available, most_common_http_error_code field indicates the most common HTTP error code encountered during the scan.", +"Indicates that some of the starting web urls returned HTTP errors during the scan." +], +"type": "string" +}, +"mostCommonHttpErrorCode": { +"description": "Output only. If the scan encounters TOO_MANY_HTTP_ERRORS, this field indicates the most common HTTP error code, if such is available. For example, if this code is 404, the scan has encountered too many NOT_FOUND responses.", +"format": "int32", +"type": "integer" +}, +"scanConfigError": { +"$ref": "ScanConfigError", +"description": "Output only. If the scan encounters SCAN_CONFIG_ISSUE error, this field has the error message encountered during scan configuration validation that is performed before each scan run." +} +}, +"type": "object" +}, +"ScanRunWarningTrace": { +"description": "Output only. Defines a warning trace message for ScanRun. Warning traces provide customers with useful information that helps make the scanning process more effective.", +"id": "ScanRunWarningTrace", +"properties": { +"code": { +"description": "Output only. Indicates the warning code.", +"enum": [ +"CODE_UNSPECIFIED", +"INSUFFICIENT_CRAWL_RESULTS", +"TOO_MANY_CRAWL_RESULTS", +"TOO_MANY_FUZZ_TASKS", +"BLOCKED_BY_IAP", +"NO_STARTING_URL_FOUND_FOR_MANAGED_SCAN" +], +"enumDescriptions": [ +"Default value is never used.", +"Indicates that a scan discovered an unexpectedly low number of URLs. This is sometimes caused by complex navigation features or by using a single URL for numerous pages.", +"Indicates that a scan discovered too many URLs to test, or excessive redundant URLs.", +"Indicates that too many tests have been generated for the scan. Customer should try reducing the number of starting URLs, increasing the QPS rate, or narrowing down the scope of the scan using the excluded patterns.", +"Indicates that a scan is blocked by IAP.", +"Indicates that no seeds is found for a scan" +], +"type": "string" +} +}, +"type": "object" +}, +"Schedule": { +"description": "Scan schedule configuration.", +"id": "Schedule", +"properties": { +"intervalDurationDays": { +"description": "Required. The duration of time between executions in days.", +"format": "int32", +"type": "integer" +}, +"scheduleTime": { +"description": "A timestamp indicates when the next run will be scheduled. The value is refreshed by the server after each run. If unspecified, it will default to current server time, which means the scan will be scheduled to start immediately.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"StartScanRunRequest": { +"description": "Request for the `StartScanRun` method.", +"id": "StartScanRunRequest", +"properties": {}, +"type": "object" +}, +"StopScanRunRequest": { +"description": "Request for the `StopScanRun` method.", +"id": "StopScanRunRequest", +"properties": {}, +"type": "object" +}, +"ViolatingResource": { +"description": "Information regarding any resource causing the vulnerability such as JavaScript sources, image, audio files, etc.", +"id": "ViolatingResource", +"properties": { +"contentType": { +"description": "The MIME type of this resource.", +"type": "string" +}, +"resourceUrl": { +"description": "URL of this violating resource.", +"type": "string" +} +}, +"type": "object" +}, +"VulnerableHeaders": { +"description": "Information about vulnerable or missing HTTP Headers.", +"id": "VulnerableHeaders", +"properties": { +"headers": { +"description": "List of vulnerable headers.", +"items": { +"$ref": "Header" +}, +"type": "array" +}, +"missingHeaders": { +"description": "List of missing headers.", +"items": { +"$ref": "Header" +}, +"type": "array" +} +}, +"type": "object" +}, +"VulnerableParameters": { +"description": "Information about vulnerable request parameters.", +"id": "VulnerableParameters", +"properties": { +"parameterNames": { +"description": "The vulnerable parameter names.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"Xss": { +"description": "Information reported for an XSS.", +"id": "Xss", +"properties": { +"attackVector": { +"description": "The attack vector of the payload triggering this XSS.", +"enum": [ +"ATTACK_VECTOR_UNSPECIFIED", +"LOCAL_STORAGE", +"SESSION_STORAGE", +"WINDOW_NAME", +"REFERRER", +"FORM_INPUT", +"COOKIE", +"POST_MESSAGE", +"GET_PARAMETERS", +"URL_FRAGMENT", +"HTML_COMMENT", +"POST_PARAMETERS", +"PROTOCOL", +"STORED_XSS", +"SAME_ORIGIN", +"USER_CONTROLLABLE_URL" +], +"enumDescriptions": [ +"Unknown attack vector.", +"The attack comes from fuzzing the browser's localStorage.", +"The attack comes from fuzzing the browser's sessionStorage.", +"The attack comes from fuzzing the window's name property.", +"The attack comes from fuzzing the referrer property.", +"The attack comes from fuzzing an input element.", +"The attack comes from fuzzing the browser's cookies.", +"The attack comes from hijacking the post messaging mechanism.", +"The attack comes from fuzzing parameters in the url.", +"The attack comes from fuzzing the fragment in the url.", +"The attack comes from fuzzing the HTML comments.", +"The attack comes from fuzzing the POST parameters.", +"The attack comes from fuzzing the protocol.", +"The attack comes from the server side and is stored.", +"The attack is a Same-Origin Method Execution attack via a GET parameter.", +"The attack payload is received from a third-party host via a URL that is user-controllable" +], +"type": "string" +}, +"errorMessage": { +"description": "An error message generated by a javascript breakage.", +"type": "string" +}, +"stackTraces": { +"description": "Stack traces leading to the point where the XSS occurred.", +"items": { +"type": "string" +}, +"type": "array" +}, +"storedXssSeedingUrl": { +"description": "The reproduction url for the seeding POST request of a Stored XSS.", +"type": "string" +} +}, +"type": "object" +}, +"Xxe": { +"description": "Information reported for an XXE.", +"id": "Xxe", +"properties": { +"payloadLocation": { +"description": "Location within the request where the payload was placed.", +"enum": [ +"LOCATION_UNSPECIFIED", +"COMPLETE_REQUEST_BODY" +], +"enumDescriptions": [ +"Unknown Location.", +"The XML payload replaced the complete request body." +], +"type": "string" +}, +"payloadValue": { +"description": "The XML string that triggered the XXE vulnerability. Non-payload values might be redacted.", +"type": "string" +} +}, +"type": "object" +} +}, +"servicePath": "", +"title": "Web Security Scanner API", +"version": "v1", +"version_module": true +} \ No newline at end of file diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/websecurityscanner.v1beta.json b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/websecurityscanner.v1beta.json new file mode 100644 index 0000000000000000000000000000000000000000..da2d60e64d262945562037e2ff2d34081cd32421 --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/websecurityscanner.v1beta.json @@ -0,0 +1,1387 @@ +{ +"auth": { +"oauth2": { +"scopes": { +"https://www.googleapis.com/auth/cloud-platform": { +"description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." +} +} +} +}, +"basePath": "", +"baseUrl": "https://websecurityscanner.googleapis.com/", +"batchPath": "batch", +"canonicalName": "WebSecurityScanner", +"description": "Scans your Compute and App Engine apps for common web vulnerabilities.", +"discoveryVersion": "v1", +"documentationLink": "https://cloud.google.com/security-command-center/docs/concepts-web-security-scanner-overview/", +"fullyEncodeReservedExpansion": true, +"icons": { +"x16": "http://www.google.com/images/icons/product/search-16.gif", +"x32": "http://www.google.com/images/icons/product/search-32.gif" +}, +"id": "websecurityscanner:v1beta", +"kind": "discovery#restDescription", +"mtlsRootUrl": "https://websecurityscanner.mtls.googleapis.com/", +"name": "websecurityscanner", +"ownerDomain": "google.com", +"ownerName": "Google", +"parameters": { +"$.xgafv": { +"description": "V1 error format.", +"enum": [ +"1", +"2" +], +"enumDescriptions": [ +"v1 error format", +"v2 error format" +], +"location": "query", +"type": "string" +}, +"access_token": { +"description": "OAuth access token.", +"location": "query", +"type": "string" +}, +"alt": { +"default": "json", +"description": "Data format for response.", +"enum": [ +"json", +"media", +"proto" +], +"enumDescriptions": [ +"Responses with Content-Type of application/json", +"Media download with context-dependent Content-Type", +"Responses with Content-Type of application/x-protobuf" +], +"location": "query", +"type": "string" +}, +"callback": { +"description": "JSONP", +"location": "query", +"type": "string" +}, +"fields": { +"description": "Selector specifying which fields to include in a partial response.", +"location": "query", +"type": "string" +}, +"key": { +"description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", +"location": "query", +"type": "string" +}, +"oauth_token": { +"description": "OAuth 2.0 token for the current user.", +"location": "query", +"type": "string" +}, +"prettyPrint": { +"default": "true", +"description": "Returns response with indentations and line breaks.", +"location": "query", +"type": "boolean" +}, +"quotaUser": { +"description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.", +"location": "query", +"type": "string" +}, +"uploadType": { +"description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", +"location": "query", +"type": "string" +}, +"upload_protocol": { +"description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", +"location": "query", +"type": "string" +} +}, +"protocol": "rest", +"resources": { +"projects": { +"resources": { +"scanConfigs": { +"methods": { +"create": { +"description": "Creates a new ScanConfig.", +"flatPath": "v1beta/projects/{projectsId}/scanConfigs", +"httpMethod": "POST", +"id": "websecurityscanner.projects.scanConfigs.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The parent resource name where the scan is created, which should be a project resource name in the format 'projects/{projectId}'.", +"location": "path", +"pattern": "^projects/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta/{+parent}/scanConfigs", +"request": { +"$ref": "ScanConfig" +}, +"response": { +"$ref": "ScanConfig" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes an existing ScanConfig and its child resources.", +"flatPath": "v1beta/projects/{projectsId}/scanConfigs/{scanConfigsId}", +"httpMethod": "DELETE", +"id": "websecurityscanner.projects.scanConfigs.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the ScanConfig to be deleted. The name follows the format of 'projects/{projectId}/scanConfigs/{scanConfigId}'.", +"location": "path", +"pattern": "^projects/[^/]+/scanConfigs/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta/{+name}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets a ScanConfig.", +"flatPath": "v1beta/projects/{projectsId}/scanConfigs/{scanConfigsId}", +"httpMethod": "GET", +"id": "websecurityscanner.projects.scanConfigs.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the ScanConfig to be returned. The name follows the format of 'projects/{projectId}/scanConfigs/{scanConfigId}'.", +"location": "path", +"pattern": "^projects/[^/]+/scanConfigs/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta/{+name}", +"response": { +"$ref": "ScanConfig" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists ScanConfigs under a given project.", +"flatPath": "v1beta/projects/{projectsId}/scanConfigs", +"httpMethod": "GET", +"id": "websecurityscanner.projects.scanConfigs.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "The maximum number of ScanConfigs to return, can be limited by server. If not specified or not positive, the implementation will select a reasonable value.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A token identifying a page of results to be returned. This should be a `next_page_token` value returned from a previous List request. If unspecified, the first page of results is returned.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent resource name, which should be a project resource name in the format 'projects/{projectId}'.", +"location": "path", +"pattern": "^projects/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta/{+parent}/scanConfigs", +"response": { +"$ref": "ListScanConfigsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates a ScanConfig. This method support partial update of a ScanConfig.", +"flatPath": "v1beta/projects/{projectsId}/scanConfigs/{scanConfigsId}", +"httpMethod": "PATCH", +"id": "websecurityscanner.projects.scanConfigs.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The resource name of the ScanConfig. The name follows the format of 'projects/{projectId}/scanConfigs/{scanConfigId}'. The ScanConfig IDs are generated by the system.", +"location": "path", +"pattern": "^projects/[^/]+/scanConfigs/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Required. The update mask applies to the resource. For the `FieldMask` definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1beta/{+name}", +"request": { +"$ref": "ScanConfig" +}, +"response": { +"$ref": "ScanConfig" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"start": { +"description": "Start a ScanRun according to the given ScanConfig.", +"flatPath": "v1beta/projects/{projectsId}/scanConfigs/{scanConfigsId}:start", +"httpMethod": "POST", +"id": "websecurityscanner.projects.scanConfigs.start", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the ScanConfig to be used. The name follows the format of 'projects/{projectId}/scanConfigs/{scanConfigId}'.", +"location": "path", +"pattern": "^projects/[^/]+/scanConfigs/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta/{+name}:start", +"request": { +"$ref": "StartScanRunRequest" +}, +"response": { +"$ref": "ScanRun" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"scanRuns": { +"methods": { +"get": { +"description": "Gets a ScanRun.", +"flatPath": "v1beta/projects/{projectsId}/scanConfigs/{scanConfigsId}/scanRuns/{scanRunsId}", +"httpMethod": "GET", +"id": "websecurityscanner.projects.scanConfigs.scanRuns.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the ScanRun to be returned. The name follows the format of 'projects/{projectId}/scanConfigs/{scanConfigId}/scanRuns/{scanRunId}'.", +"location": "path", +"pattern": "^projects/[^/]+/scanConfigs/[^/]+/scanRuns/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta/{+name}", +"response": { +"$ref": "ScanRun" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists ScanRuns under a given ScanConfig, in descending order of ScanRun stop time.", +"flatPath": "v1beta/projects/{projectsId}/scanConfigs/{scanConfigsId}/scanRuns", +"httpMethod": "GET", +"id": "websecurityscanner.projects.scanConfigs.scanRuns.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "The maximum number of ScanRuns to return, can be limited by server. If not specified or not positive, the implementation will select a reasonable value.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A token identifying a page of results to be returned. This should be a `next_page_token` value returned from a previous List request. If unspecified, the first page of results is returned.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent resource name, which should be a scan resource name in the format 'projects/{projectId}/scanConfigs/{scanConfigId}'.", +"location": "path", +"pattern": "^projects/[^/]+/scanConfigs/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta/{+parent}/scanRuns", +"response": { +"$ref": "ListScanRunsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"stop": { +"description": "Stops a ScanRun. The stopped ScanRun is returned.", +"flatPath": "v1beta/projects/{projectsId}/scanConfigs/{scanConfigsId}/scanRuns/{scanRunsId}:stop", +"httpMethod": "POST", +"id": "websecurityscanner.projects.scanConfigs.scanRuns.stop", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the ScanRun to be stopped. The name follows the format of 'projects/{projectId}/scanConfigs/{scanConfigId}/scanRuns/{scanRunId}'.", +"location": "path", +"pattern": "^projects/[^/]+/scanConfigs/[^/]+/scanRuns/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta/{+name}:stop", +"request": { +"$ref": "StopScanRunRequest" +}, +"response": { +"$ref": "ScanRun" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"crawledUrls": { +"methods": { +"list": { +"description": "List CrawledUrls under a given ScanRun.", +"flatPath": "v1beta/projects/{projectsId}/scanConfigs/{scanConfigsId}/scanRuns/{scanRunsId}/crawledUrls", +"httpMethod": "GET", +"id": "websecurityscanner.projects.scanConfigs.scanRuns.crawledUrls.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "The maximum number of CrawledUrls to return, can be limited by server. If not specified or not positive, the implementation will select a reasonable value.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A token identifying a page of results to be returned. This should be a `next_page_token` value returned from a previous List request. If unspecified, the first page of results is returned.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent resource name, which should be a scan run resource name in the format 'projects/{projectId}/scanConfigs/{scanConfigId}/scanRuns/{scanRunId}'.", +"location": "path", +"pattern": "^projects/[^/]+/scanConfigs/[^/]+/scanRuns/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta/{+parent}/crawledUrls", +"response": { +"$ref": "ListCrawledUrlsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"findingTypeStats": { +"methods": { +"list": { +"description": "List all FindingTypeStats under a given ScanRun.", +"flatPath": "v1beta/projects/{projectsId}/scanConfigs/{scanConfigsId}/scanRuns/{scanRunsId}/findingTypeStats", +"httpMethod": "GET", +"id": "websecurityscanner.projects.scanConfigs.scanRuns.findingTypeStats.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The parent resource name, which should be a scan run resource name in the format 'projects/{projectId}/scanConfigs/{scanConfigId}/scanRuns/{scanRunId}'.", +"location": "path", +"pattern": "^projects/[^/]+/scanConfigs/[^/]+/scanRuns/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta/{+parent}/findingTypeStats", +"response": { +"$ref": "ListFindingTypeStatsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"findings": { +"methods": { +"get": { +"description": "Gets a Finding.", +"flatPath": "v1beta/projects/{projectsId}/scanConfigs/{scanConfigsId}/scanRuns/{scanRunsId}/findings/{findingsId}", +"httpMethod": "GET", +"id": "websecurityscanner.projects.scanConfigs.scanRuns.findings.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the Finding to be returned. The name follows the format of 'projects/{projectId}/scanConfigs/{scanConfigId}/scanRuns/{scanRunId}/findings/{findingId}'.", +"location": "path", +"pattern": "^projects/[^/]+/scanConfigs/[^/]+/scanRuns/[^/]+/findings/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta/{+name}", +"response": { +"$ref": "Finding" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "List Findings under a given ScanRun.", +"flatPath": "v1beta/projects/{projectsId}/scanConfigs/{scanConfigsId}/scanRuns/{scanRunsId}/findings", +"httpMethod": "GET", +"id": "websecurityscanner.projects.scanConfigs.scanRuns.findings.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Required. The filter expression. The expression must be in the format: . Supported field: 'finding_type'. Supported operator: '='.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "The maximum number of Findings to return, can be limited by server. If not specified or not positive, the implementation will select a reasonable value.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A token identifying a page of results to be returned. This should be a `next_page_token` value returned from a previous List request. If unspecified, the first page of results is returned.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent resource name, which should be a scan run resource name in the format 'projects/{projectId}/scanConfigs/{scanConfigId}/scanRuns/{scanRunId}'.", +"location": "path", +"pattern": "^projects/[^/]+/scanConfigs/[^/]+/scanRuns/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta/{+parent}/findings", +"response": { +"$ref": "ListFindingsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +} +} +} +} +} +}, +"revision": "20240623", +"rootUrl": "https://websecurityscanner.googleapis.com/", +"schemas": { +"Authentication": { +"description": "Scan authentication configuration.", +"id": "Authentication", +"properties": { +"customAccount": { +"$ref": "CustomAccount", +"description": "Authentication using a custom account." +}, +"googleAccount": { +"$ref": "GoogleAccount", +"deprecated": true, +"description": "Authentication using a Google account." +}, +"iapCredential": { +"$ref": "IapCredential", +"description": "Authentication using Identity-Aware-Proxy (IAP)." +} +}, +"type": "object" +}, +"CrawledUrl": { +"description": "A CrawledUrl resource represents a URL that was crawled during a ScanRun. Web Security Scanner Service crawls the web applications, following all links within the scope of sites, to find the URLs to test against.", +"id": "CrawledUrl", +"properties": { +"body": { +"description": "The body of the request that was used to visit the URL.", +"type": "string" +}, +"httpMethod": { +"description": "The http method of the request that was used to visit the URL, in uppercase.", +"type": "string" +}, +"url": { +"description": "The URL that was crawled.", +"type": "string" +} +}, +"type": "object" +}, +"CustomAccount": { +"description": "Describes authentication configuration that uses a custom account.", +"id": "CustomAccount", +"properties": { +"loginUrl": { +"description": "Required. The login form URL of the website.", +"type": "string" +}, +"password": { +"description": "Required. Input only. The password of the custom account. The credential is stored encrypted and not returned in any response nor included in audit logs.", +"type": "string" +}, +"username": { +"description": "Required. The user name of the custom account.", +"type": "string" +} +}, +"type": "object" +}, +"Empty": { +"description": "A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }", +"id": "Empty", +"properties": {}, +"type": "object" +}, +"Finding": { +"description": "A Finding resource represents a vulnerability instance identified during a ScanRun.", +"id": "Finding", +"properties": { +"body": { +"description": "The body of the request that triggered the vulnerability.", +"type": "string" +}, +"description": { +"description": "The description of the vulnerability.", +"type": "string" +}, +"finalUrl": { +"description": "The URL where the browser lands when the vulnerability is detected.", +"type": "string" +}, +"findingType": { +"description": "The type of the Finding. Detailed and up-to-date information on findings can be found here: https://cloud.google.com/security-command-center/docs/how-to-remediate-web-security-scanner", +"type": "string" +}, +"form": { +"$ref": "Form", +"description": "An addon containing information reported for a vulnerability with an HTML form, if any." +}, +"frameUrl": { +"description": "If the vulnerability was originated from nested IFrame, the immediate parent IFrame is reported.", +"type": "string" +}, +"fuzzedUrl": { +"description": "The URL produced by the server-side fuzzer and used in the request that triggered the vulnerability.", +"type": "string" +}, +"httpMethod": { +"description": "The http method of the request that triggered the vulnerability, in uppercase.", +"type": "string" +}, +"name": { +"description": "The resource name of the Finding. The name follows the format of 'projects/{projectId}/scanConfigs/{scanConfigId}/scanruns/{scanRunId}/findings/{findingId}'. The finding IDs are generated by the system.", +"type": "string" +}, +"outdatedLibrary": { +"$ref": "OutdatedLibrary", +"description": "An addon containing information about outdated libraries." +}, +"reproductionUrl": { +"description": "The URL containing human-readable payload that user can leverage to reproduce the vulnerability.", +"type": "string" +}, +"severity": { +"description": "The severity level of the reported vulnerability.", +"enum": [ +"SEVERITY_UNSPECIFIED", +"CRITICAL", +"HIGH", +"MEDIUM", +"LOW" +], +"enumDescriptions": [ +"No severity specified. The default value.", +"Critical severity.", +"High severity.", +"Medium severity.", +"Low severity." +], +"type": "string" +}, +"trackingId": { +"description": "The tracking ID uniquely identifies a vulnerability instance across multiple ScanRuns.", +"type": "string" +}, +"violatingResource": { +"$ref": "ViolatingResource", +"description": "An addon containing detailed information regarding any resource causing the vulnerability such as JavaScript sources, image, audio files, etc." +}, +"vulnerableHeaders": { +"$ref": "VulnerableHeaders", +"description": "An addon containing information about vulnerable or missing HTTP headers." +}, +"vulnerableParameters": { +"$ref": "VulnerableParameters", +"description": "An addon containing information about request parameters which were found to be vulnerable." +}, +"xss": { +"$ref": "Xss", +"description": "An addon containing information reported for an XSS, if any." +}, +"xxe": { +"$ref": "Xxe", +"description": "An addon containing information reported for an XXE, if any." +} +}, +"type": "object" +}, +"FindingTypeStats": { +"description": "A FindingTypeStats resource represents stats regarding a specific FindingType of Findings under a given ScanRun.", +"id": "FindingTypeStats", +"properties": { +"findingCount": { +"description": "The count of findings belonging to this finding type.", +"format": "int32", +"type": "integer" +}, +"findingType": { +"description": "The finding type associated with the stats.", +"type": "string" +} +}, +"type": "object" +}, +"Form": { +"description": "! Information about a vulnerability with an HTML.", +"id": "Form", +"properties": { +"actionUri": { +"description": "! The URI where to send the form when it's submitted.", +"type": "string" +}, +"fields": { +"description": "! The names of form fields related to the vulnerability.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleAccount": { +"deprecated": true, +"description": "Describes authentication configuration that uses a Google account.", +"id": "GoogleAccount", +"properties": { +"password": { +"description": "Required. Input only. The password of the Google account. The credential is stored encrypted and not returned in any response nor included in audit logs.", +"type": "string" +}, +"username": { +"description": "Required. The user name of the Google account.", +"type": "string" +} +}, +"type": "object" +}, +"Header": { +"description": "Describes a HTTP Header.", +"id": "Header", +"properties": { +"name": { +"description": "Header name.", +"type": "string" +}, +"value": { +"description": "Header value.", +"type": "string" +} +}, +"type": "object" +}, +"IapCredential": { +"description": "Describes authentication configuration for Identity-Aware-Proxy (IAP).", +"id": "IapCredential", +"properties": { +"iapTestServiceAccountInfo": { +"$ref": "IapTestServiceAccountInfo", +"description": "Authentication configuration when Web-Security-Scanner service account is added in Identity-Aware-Proxy (IAP) access policies." +} +}, +"type": "object" +}, +"IapTestServiceAccountInfo": { +"description": "Describes authentication configuration when Web-Security-Scanner service account is added in Identity-Aware-Proxy (IAP) access policies.", +"id": "IapTestServiceAccountInfo", +"properties": { +"targetAudienceClientId": { +"description": "Required. Describes OAuth2 Client ID of resources protected by Identity-Aware-Proxy(IAP).", +"type": "string" +} +}, +"type": "object" +}, +"ListCrawledUrlsResponse": { +"description": "Response for the `ListCrawledUrls` method.", +"id": "ListCrawledUrlsResponse", +"properties": { +"crawledUrls": { +"description": "The list of CrawledUrls returned.", +"items": { +"$ref": "CrawledUrl" +}, +"type": "array" +}, +"nextPageToken": { +"description": "Token to retrieve the next page of results, or empty if there are no more results in the list.", +"type": "string" +} +}, +"type": "object" +}, +"ListFindingTypeStatsResponse": { +"description": "Response for the `ListFindingTypeStats` method.", +"id": "ListFindingTypeStatsResponse", +"properties": { +"findingTypeStats": { +"description": "The list of FindingTypeStats returned.", +"items": { +"$ref": "FindingTypeStats" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListFindingsResponse": { +"description": "Response for the `ListFindings` method.", +"id": "ListFindingsResponse", +"properties": { +"findings": { +"description": "The list of Findings returned.", +"items": { +"$ref": "Finding" +}, +"type": "array" +}, +"nextPageToken": { +"description": "Token to retrieve the next page of results, or empty if there are no more results in the list.", +"type": "string" +} +}, +"type": "object" +}, +"ListScanConfigsResponse": { +"description": "Response for the `ListScanConfigs` method.", +"id": "ListScanConfigsResponse", +"properties": { +"nextPageToken": { +"description": "Token to retrieve the next page of results, or empty if there are no more results in the list.", +"type": "string" +}, +"scanConfigs": { +"description": "The list of ScanConfigs returned.", +"items": { +"$ref": "ScanConfig" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListScanRunsResponse": { +"description": "Response for the `ListScanRuns` method.", +"id": "ListScanRunsResponse", +"properties": { +"nextPageToken": { +"description": "Token to retrieve the next page of results, or empty if there are no more results in the list.", +"type": "string" +}, +"scanRuns": { +"description": "The list of ScanRuns returned.", +"items": { +"$ref": "ScanRun" +}, +"type": "array" +} +}, +"type": "object" +}, +"OutdatedLibrary": { +"description": "Information reported for an outdated library.", +"id": "OutdatedLibrary", +"properties": { +"learnMoreUrls": { +"description": "URLs to learn more information about the vulnerabilities in the library.", +"items": { +"type": "string" +}, +"type": "array" +}, +"libraryName": { +"description": "The name of the outdated library.", +"type": "string" +}, +"version": { +"description": "The version number.", +"type": "string" +} +}, +"type": "object" +}, +"ScanConfig": { +"description": "A ScanConfig resource contains the configurations to launch a scan.", +"id": "ScanConfig", +"properties": { +"authentication": { +"$ref": "Authentication", +"description": "The authentication configuration. If specified, service will use the authentication configuration during scanning." +}, +"blacklistPatterns": { +"description": "The excluded URL patterns as described in https://cloud.google.com/security-command-center/docs/how-to-use-web-security-scanner#excluding_urls", +"items": { +"type": "string" +}, +"type": "array" +}, +"displayName": { +"description": "Required. The user provided display name of the ScanConfig.", +"type": "string" +}, +"exportToSecurityCommandCenter": { +"description": "Controls export of scan configurations and results to Security Command Center.", +"enum": [ +"EXPORT_TO_SECURITY_COMMAND_CENTER_UNSPECIFIED", +"ENABLED", +"DISABLED" +], +"enumDescriptions": [ +"Use default, which is ENABLED.", +"Export results of this scan to Security Command Center.", +"Do not export results of this scan to Security Command Center." +], +"type": "string" +}, +"ignoreHttpStatusErrors": { +"description": "Whether to keep scanning even if most requests return HTTP error codes.", +"type": "boolean" +}, +"latestRun": { +"$ref": "ScanRun", +"description": "Latest ScanRun if available." +}, +"managedScan": { +"description": "Whether the scan config is managed by Web Security Scanner, output only.", +"type": "boolean" +}, +"maxQps": { +"description": "The maximum QPS during scanning. A valid value ranges from 5 to 20 inclusively. If the field is unspecified or its value is set 0, server will default to 15. Other values outside of [5, 20] range will be rejected with INVALID_ARGUMENT error.", +"format": "int32", +"type": "integer" +}, +"name": { +"description": "The resource name of the ScanConfig. The name follows the format of 'projects/{projectId}/scanConfigs/{scanConfigId}'. The ScanConfig IDs are generated by the system.", +"type": "string" +}, +"riskLevel": { +"description": "The risk level selected for the scan", +"enum": [ +"RISK_LEVEL_UNSPECIFIED", +"NORMAL", +"LOW" +], +"enumDescriptions": [ +"Use default, which is NORMAL.", +"Normal scanning (Recommended)", +"Lower impact scanning" +], +"type": "string" +}, +"schedule": { +"$ref": "Schedule", +"description": "The schedule of the ScanConfig." +}, +"startingUrls": { +"description": "Required. The starting URLs from which the scanner finds site pages.", +"items": { +"type": "string" +}, +"type": "array" +}, +"staticIpScan": { +"description": "Whether the scan configuration has enabled static IP address scan feature. If enabled, the scanner will access applications from static IP addresses.", +"type": "boolean" +}, +"targetPlatforms": { +"description": "Set of Google Cloud platforms targeted by the scan. If empty, APP_ENGINE will be used as a default.", +"items": { +"enum": [ +"TARGET_PLATFORM_UNSPECIFIED", +"APP_ENGINE", +"COMPUTE", +"CLOUD_RUN", +"CLOUD_FUNCTIONS" +], +"enumDescriptions": [ +"The target platform is unknown. Requests with this enum value will be rejected with INVALID_ARGUMENT error.", +"Google App Engine service.", +"Google Compute Engine service.", +"Google Cloud Run service.", +"Google Cloud Function service." +], +"type": "string" +}, +"type": "array" +}, +"userAgent": { +"description": "The user agent used during scanning.", +"enum": [ +"USER_AGENT_UNSPECIFIED", +"CHROME_LINUX", +"CHROME_ANDROID", +"SAFARI_IPHONE" +], +"enumDescriptions": [ +"The user agent is unknown. Service will default to CHROME_LINUX.", +"Chrome on Linux. This is the service default if unspecified.", +"Chrome on Android.", +"Safari on IPhone." +], +"type": "string" +} +}, +"type": "object" +}, +"ScanConfigError": { +"description": "Defines a custom error message used by CreateScanConfig and UpdateScanConfig APIs when scan configuration validation fails. It is also reported as part of a ScanRunErrorTrace message if scan validation fails due to a scan configuration error.", +"id": "ScanConfigError", +"properties": { +"code": { +"description": "Indicates the reason code for a configuration failure.", +"enum": [ +"CODE_UNSPECIFIED", +"OK", +"INTERNAL_ERROR", +"APPENGINE_API_BACKEND_ERROR", +"APPENGINE_API_NOT_ACCESSIBLE", +"APPENGINE_DEFAULT_HOST_MISSING", +"CANNOT_USE_GOOGLE_COM_ACCOUNT", +"CANNOT_USE_OWNER_ACCOUNT", +"COMPUTE_API_BACKEND_ERROR", +"COMPUTE_API_NOT_ACCESSIBLE", +"CUSTOM_LOGIN_URL_DOES_NOT_BELONG_TO_CURRENT_PROJECT", +"CUSTOM_LOGIN_URL_MALFORMED", +"CUSTOM_LOGIN_URL_MAPPED_TO_NON_ROUTABLE_ADDRESS", +"CUSTOM_LOGIN_URL_MAPPED_TO_UNRESERVED_ADDRESS", +"CUSTOM_LOGIN_URL_HAS_NON_ROUTABLE_IP_ADDRESS", +"CUSTOM_LOGIN_URL_HAS_UNRESERVED_IP_ADDRESS", +"DUPLICATE_SCAN_NAME", +"INVALID_FIELD_VALUE", +"FAILED_TO_AUTHENTICATE_TO_TARGET", +"FINDING_TYPE_UNSPECIFIED", +"FORBIDDEN_TO_SCAN_COMPUTE", +"FORBIDDEN_UPDATE_TO_MANAGED_SCAN", +"MALFORMED_FILTER", +"MALFORMED_RESOURCE_NAME", +"PROJECT_INACTIVE", +"REQUIRED_FIELD", +"RESOURCE_NAME_INCONSISTENT", +"SCAN_ALREADY_RUNNING", +"SCAN_NOT_RUNNING", +"SEED_URL_DOES_NOT_BELONG_TO_CURRENT_PROJECT", +"SEED_URL_MALFORMED", +"SEED_URL_MAPPED_TO_NON_ROUTABLE_ADDRESS", +"SEED_URL_MAPPED_TO_UNRESERVED_ADDRESS", +"SEED_URL_HAS_NON_ROUTABLE_IP_ADDRESS", +"SEED_URL_HAS_UNRESERVED_IP_ADDRESS", +"SERVICE_ACCOUNT_NOT_CONFIGURED", +"TOO_MANY_SCANS", +"UNABLE_TO_RESOLVE_PROJECT_INFO", +"UNSUPPORTED_BLACKLIST_PATTERN_FORMAT", +"UNSUPPORTED_FILTER", +"UNSUPPORTED_FINDING_TYPE", +"UNSUPPORTED_URL_SCHEME", +"CLOUD_ASSET_INVENTORY_ASSET_NOT_FOUND" +], +"enumDescriptions": [ +"There is no error.", +"There is no error.", +"Indicates an internal server error. Please DO NOT USE THIS ERROR CODE unless the root cause is truly unknown.", +"One of the seed URLs is an App Engine URL but we cannot validate the scan settings due to an App Engine API backend error.", +"One of the seed URLs is an App Engine URL but we cannot access the App Engine API to validate scan settings.", +"One of the seed URLs is an App Engine URL but the Default Host of the App Engine is not set.", +"Google corporate accounts can not be used for scanning.", +"The account of the scan creator can not be used for scanning.", +"This scan targets Compute Engine, but we cannot validate scan settings due to a Compute Engine API backend error.", +"This scan targets Compute Engine, but we cannot access the Compute Engine API to validate the scan settings.", +"The Custom Login URL does not belong to the current project.", +"The Custom Login URL is malformed (can not be parsed).", +"The Custom Login URL is mapped to a non-routable IP address in DNS.", +"The Custom Login URL is mapped to an IP address which is not reserved for the current project.", +"The Custom Login URL has a non-routable IP address.", +"The Custom Login URL has an IP address which is not reserved for the current project.", +"Another scan with the same name (case-sensitive) already exists.", +"A field is set to an invalid value.", +"There was an error trying to authenticate to the scan target.", +"Finding type value is not specified in the list findings request.", +"Scan targets Compute Engine, yet current project was not whitelisted for Google Compute Engine Scanning Alpha access.", +"User tries to update managed scan", +"The supplied filter is malformed. For example, it can not be parsed, does not have a filter type in expression, or the same filter type appears more than once.", +"The supplied resource name is malformed (can not be parsed).", +"The current project is not in an active state.", +"A required field is not set.", +"Project id, scanconfig id, scanrun id, or finding id are not consistent with each other in resource name.", +"The scan being requested to start is already running.", +"The scan that was requested to be stopped is not running.", +"One of the seed URLs does not belong to the current project.", +"One of the seed URLs is malformed (can not be parsed).", +"One of the seed URLs is mapped to a non-routable IP address in DNS.", +"One of the seed URLs is mapped to an IP address which is not reserved for the current project.", +"One of the seed URLs has on-routable IP address.", +"One of the seed URLs has an IP address that is not reserved for the current project.", +"The Web Security Scanner service account is not configured under the project.", +"A project has reached the maximum number of scans.", +"Resolving the details of the current project fails.", +"One or more blacklist patterns were in the wrong format.", +"The supplied filter is not supported.", +"The supplied finding type is not supported. For example, we do not provide findings of the given finding type.", +"The URL scheme of one or more of the supplied URLs is not supported.", +"CAI is not able to list assets." +], +"type": "string" +}, +"fieldName": { +"description": "Indicates the full name of the ScanConfig field that triggers this error, for example \"scan_config.max_qps\". This field is provided for troubleshooting purposes only and its actual value can change in the future.", +"type": "string" +} +}, +"type": "object" +}, +"ScanRun": { +"description": "A ScanRun is a output-only resource representing an actual run of the scan. Next id: 12", +"id": "ScanRun", +"properties": { +"endTime": { +"description": "The time at which the ScanRun reached termination state - that the ScanRun is either finished or stopped by user.", +"format": "google-datetime", +"type": "string" +}, +"errorTrace": { +"$ref": "ScanRunErrorTrace", +"description": "If result_state is an ERROR, this field provides the primary reason for scan's termination and more details, if such are available." +}, +"executionState": { +"description": "The execution state of the ScanRun.", +"enum": [ +"EXECUTION_STATE_UNSPECIFIED", +"QUEUED", +"SCANNING", +"FINISHED" +], +"enumDescriptions": [ +"Represents an invalid state caused by internal server error. This value should never be returned.", +"The scan is waiting in the queue.", +"The scan is in progress.", +"The scan is either finished or stopped by user." +], +"type": "string" +}, +"hasVulnerabilities": { +"description": "Whether the scan run has found any vulnerabilities.", +"type": "boolean" +}, +"name": { +"description": "The resource name of the ScanRun. The name follows the format of 'projects/{projectId}/scanConfigs/{scanConfigId}/scanRuns/{scanRunId}'. The ScanRun IDs are generated by the system.", +"type": "string" +}, +"progressPercent": { +"description": "The percentage of total completion ranging from 0 to 100. If the scan is in queue, the value is 0. If the scan is running, the value ranges from 0 to 100. If the scan is finished, the value is 100.", +"format": "int32", +"type": "integer" +}, +"resultState": { +"description": "The result state of the ScanRun. This field is only available after the execution state reaches \"FINISHED\".", +"enum": [ +"RESULT_STATE_UNSPECIFIED", +"SUCCESS", +"ERROR", +"KILLED" +], +"enumDescriptions": [ +"Default value. This value is returned when the ScanRun is not yet finished.", +"The scan finished without errors.", +"The scan finished with errors.", +"The scan was terminated by user." +], +"type": "string" +}, +"startTime": { +"description": "The time at which the ScanRun started.", +"format": "google-datetime", +"type": "string" +}, +"urlsCrawledCount": { +"description": "The number of URLs crawled during this ScanRun. If the scan is in progress, the value represents the number of URLs crawled up to now.", +"format": "int64", +"type": "string" +}, +"urlsTestedCount": { +"description": "The number of URLs tested during this ScanRun. If the scan is in progress, the value represents the number of URLs tested up to now. The number of URLs tested is usually larger than the number URLS crawled because typically a crawled URL is tested with multiple test payloads.", +"format": "int64", +"type": "string" +}, +"warningTraces": { +"description": "A list of warnings, if such are encountered during this scan run.", +"items": { +"$ref": "ScanRunWarningTrace" +}, +"type": "array" +} +}, +"type": "object" +}, +"ScanRunErrorTrace": { +"description": "Output only. Defines an error trace message for a ScanRun.", +"id": "ScanRunErrorTrace", +"properties": { +"code": { +"description": "Indicates the error reason code.", +"enum": [ +"CODE_UNSPECIFIED", +"INTERNAL_ERROR", +"SCAN_CONFIG_ISSUE", +"AUTHENTICATION_CONFIG_ISSUE", +"TIMED_OUT_WHILE_SCANNING", +"TOO_MANY_REDIRECTS", +"TOO_MANY_HTTP_ERRORS", +"STARTING_URLS_CRAWL_HTTP_ERRORS" +], +"enumDescriptions": [ +"Default value is never used.", +"Indicates that the scan run failed due to an internal server error.", +"Indicates a scan configuration error, usually due to outdated ScanConfig settings, such as starting_urls or the DNS configuration.", +"Indicates an authentication error, usually due to outdated ScanConfig authentication settings.", +"Indicates a scan operation timeout, usually caused by a very large site.", +"Indicates that a scan encountered excessive redirects, either to authentication or some other page outside of the scan scope.", +"Indicates that a scan encountered numerous errors from the web site pages. When available, most_common_http_error_code field indicates the most common HTTP error code encountered during the scan.", +"Indicates that some of the starting web urls returned HTTP errors during the scan." +], +"type": "string" +}, +"mostCommonHttpErrorCode": { +"description": "If the scan encounters TOO_MANY_HTTP_ERRORS, this field indicates the most common HTTP error code, if such is available. For example, if this code is 404, the scan has encountered too many NOT_FOUND responses.", +"format": "int32", +"type": "integer" +}, +"scanConfigError": { +"$ref": "ScanConfigError", +"description": "If the scan encounters SCAN_CONFIG_ISSUE error, this field has the error message encountered during scan configuration validation that is performed before each scan run." +} +}, +"type": "object" +}, +"ScanRunWarningTrace": { +"description": "Output only. Defines a warning trace message for ScanRun. Warning traces provide customers with useful information that helps make the scanning process more effective.", +"id": "ScanRunWarningTrace", +"properties": { +"code": { +"description": "Indicates the warning code.", +"enum": [ +"CODE_UNSPECIFIED", +"INSUFFICIENT_CRAWL_RESULTS", +"TOO_MANY_CRAWL_RESULTS", +"TOO_MANY_FUZZ_TASKS", +"BLOCKED_BY_IAP", +"NO_STARTING_URL_FOUND_FOR_MANAGED_SCAN" +], +"enumDescriptions": [ +"Default value is never used.", +"Indicates that a scan discovered an unexpectedly low number of URLs. This is sometimes caused by complex navigation features or by using a single URL for numerous pages.", +"Indicates that a scan discovered too many URLs to test, or excessive redundant URLs.", +"Indicates that too many tests have been generated for the scan. Customer should try reducing the number of starting URLs, increasing the QPS rate, or narrowing down the scope of the scan using the excluded patterns.", +"Indicates that a scan is blocked by IAP.", +"Indicates that no seed is found for a scan" +], +"type": "string" +} +}, +"type": "object" +}, +"Schedule": { +"description": "Scan schedule configuration.", +"id": "Schedule", +"properties": { +"intervalDurationDays": { +"description": "Required. The duration of time between executions in days.", +"format": "int32", +"type": "integer" +}, +"scheduleTime": { +"description": "A timestamp indicates when the next run will be scheduled. The value is refreshed by the server after each run. If unspecified, it will default to current server time, which means the scan will be scheduled to start immediately.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"StartScanRunRequest": { +"description": "Request for the `StartScanRun` method.", +"id": "StartScanRunRequest", +"properties": {}, +"type": "object" +}, +"StopScanRunRequest": { +"description": "Request for the `StopScanRun` method.", +"id": "StopScanRunRequest", +"properties": {}, +"type": "object" +}, +"ViolatingResource": { +"description": "Information regarding any resource causing the vulnerability such as JavaScript sources, image, audio files, etc.", +"id": "ViolatingResource", +"properties": { +"contentType": { +"description": "The MIME type of this resource.", +"type": "string" +}, +"resourceUrl": { +"description": "URL of this violating resource.", +"type": "string" +} +}, +"type": "object" +}, +"VulnerableHeaders": { +"description": "Information about vulnerable or missing HTTP Headers.", +"id": "VulnerableHeaders", +"properties": { +"headers": { +"description": "List of vulnerable headers.", +"items": { +"$ref": "Header" +}, +"type": "array" +}, +"missingHeaders": { +"description": "List of missing headers.", +"items": { +"$ref": "Header" +}, +"type": "array" +} +}, +"type": "object" +}, +"VulnerableParameters": { +"description": "Information about vulnerable request parameters.", +"id": "VulnerableParameters", +"properties": { +"parameterNames": { +"description": "The vulnerable parameter names.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"Xss": { +"description": "Information reported for an XSS.", +"id": "Xss", +"properties": { +"errorMessage": { +"description": "An error message generated by a javascript breakage.", +"type": "string" +}, +"stackTraces": { +"description": "Stack traces leading to the point where the XSS occurred.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"Xxe": { +"description": "Information reported for an XXE.", +"id": "Xxe", +"properties": { +"payloadLocation": { +"description": "Location within the request where the payload was placed.", +"enum": [ +"LOCATION_UNSPECIFIED", +"COMPLETE_REQUEST_BODY" +], +"enumDescriptions": [ +"Unknown Location.", +"The XML payload replaced the complete request body." +], +"type": "string" +}, +"payloadValue": { +"description": "The XML string that triggered the XXE vulnerability. Non-payload values might be redacted.", +"type": "string" +} +}, +"type": "object" +} +}, +"servicePath": "", +"title": "Web Security Scanner API", +"version": "v1beta", +"version_module": true +} \ No newline at end of file diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/workloadmanager.v1.json b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/workloadmanager.v1.json new file mode 100644 index 0000000000000000000000000000000000000000..35930ce3a8dda048d0393d1174f2fcc755585b81 --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/workloadmanager.v1.json @@ -0,0 +1,4960 @@ +{ +"auth": { +"oauth2": { +"scopes": { +"https://www.googleapis.com/auth/cloud-platform": { +"description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." +} +} +} +}, +"basePath": "", +"baseUrl": "https://workloadmanager.googleapis.com/", +"batchPath": "batch", +"canonicalName": "Workload Manager", +"description": "Workload Manager is a service that provides tooling for enterprise workloads to automate the deployment and validation of your workloads against best practices and recommendations.", +"discoveryVersion": "v1", +"documentationLink": "https://cloud.google.com/workload-manager/docs", +"fullyEncodeReservedExpansion": true, +"icons": { +"x16": "http://www.google.com/images/icons/product/search-16.gif", +"x32": "http://www.google.com/images/icons/product/search-32.gif" +}, +"id": "workloadmanager:v1", +"kind": "discovery#restDescription", +"mtlsRootUrl": "https://workloadmanager.mtls.googleapis.com/", +"name": "workloadmanager", +"ownerDomain": "google.com", +"ownerName": "Google", +"parameters": { +"$.xgafv": { +"description": "V1 error format.", +"enum": [ +"1", +"2" +], +"enumDescriptions": [ +"v1 error format", +"v2 error format" +], +"location": "query", +"type": "string" +}, +"access_token": { +"description": "OAuth access token.", +"location": "query", +"type": "string" +}, +"alt": { +"default": "json", +"description": "Data format for response.", +"enum": [ +"json", +"media", +"proto" +], +"enumDescriptions": [ +"Responses with Content-Type of application/json", +"Media download with context-dependent Content-Type", +"Responses with Content-Type of application/x-protobuf" +], +"location": "query", +"type": "string" +}, +"callback": { +"description": "JSONP", +"location": "query", +"type": "string" +}, +"fields": { +"description": "Selector specifying which fields to include in a partial response.", +"location": "query", +"type": "string" +}, +"key": { +"description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", +"location": "query", +"type": "string" +}, +"oauth_token": { +"description": "OAuth 2.0 token for the current user.", +"location": "query", +"type": "string" +}, +"prettyPrint": { +"default": "true", +"description": "Returns response with indentations and line breaks.", +"location": "query", +"type": "boolean" +}, +"quotaUser": { +"description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.", +"location": "query", +"type": "string" +}, +"uploadType": { +"description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", +"location": "query", +"type": "string" +}, +"upload_protocol": { +"description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", +"location": "query", +"type": "string" +} +}, +"protocol": "rest", +"resources": { +"projects": { +"resources": { +"locations": { +"methods": { +"get": { +"description": "Gets information about a location.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}", +"httpMethod": "GET", +"id": "workloadmanager.projects.locations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Resource name for the location.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Location" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists information about the supported locations for this service. This method can be called in two ways: * **List all public locations:** Use the path `GET /v1/locations`. * **List project-visible locations:** Use the path `GET /v1/projects/{project_id}/locations`. This may include public locations as well as private or other locations specifically visible to the project.", +"flatPath": "v1/projects/{projectsId}/locations", +"httpMethod": "GET", +"id": "workloadmanager.projects.locations.list", +"parameterOrder": [ +"name" +], +"parameters": { +"extraLocationTypes": { +"description": "Optional. Do not use this field. It is unsupported and is ignored unless explicitly documented otherwise. This is primarily for internal usage.", +"location": "query", +"repeated": true, +"type": "string" +}, +"filter": { +"description": "A filter to narrow down results to a preferred subset. The filtering language accepts strings like `\"displayName=tokyo\"`, and is documented in more detail in [AIP-160](https://google.aip.dev/160).", +"location": "query", +"type": "string" +}, +"name": { +"description": "The resource that owns the locations collection, if applicable.", +"location": "path", +"pattern": "^projects/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The maximum number of results to return. If not set, the service selects a default.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A page token received from the `next_page_token` field in the response. Send that page token to receive the subsequent page.", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}/locations", +"response": { +"$ref": "ListLocationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"deployments": { +"methods": { +"create": { +"description": "Creates a new Deployment in a given project and location.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/deployments", +"httpMethod": "POST", +"id": "workloadmanager.projects.locations.deployments.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"deploymentId": { +"description": "Required. Id of the deployment", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The resource prefix of the Deployment using the form: `projects/{project_id}/locations/{location_id}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+parent}/deployments", +"request": { +"$ref": "Deployment" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a single Deployment.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/deployments/{deploymentsId}", +"httpMethod": "DELETE", +"id": "workloadmanager.projects.locations.deployments.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"force": { +"description": "Optional. If set to true, any actuation will also be deleted. Followed the best practice from https://aip.dev/135#cascading-delete", +"location": "query", +"type": "boolean" +}, +"name": { +"description": "Required. Name of the resource", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/deployments/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets details of a single Deployment.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/deployments/{deploymentsId}", +"httpMethod": "GET", +"id": "workloadmanager.projects.locations.deployments.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of the resource. The format will be 'projects/{project_id}/locations/{location_id}/deployments/{deployment_id}'", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/deployments/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Deployment" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists Deployments in a given project and location.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/deployments", +"httpMethod": "GET", +"id": "workloadmanager.projects.locations.deployments.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Optional. Filter resource follow https://google.aip.dev/160", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "Optional. Field to sort by. See https://google.aip.dev/132#ordering for more details.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Optional. Requested page size. Server may return fewer items than requested. The maximum value is 1000; values above 1000 will be coerced to 1000.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. A token identifying a page of results the server should return.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The resource prefix of the Deployment using the form: `projects/{project_id}/locations/{location_id}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/deployments", +"response": { +"$ref": "ListDeploymentsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"actuations": { +"methods": { +"create": { +"description": "Creates a new actuation for an existing Deployment.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/deployments/{deploymentsId}/actuations", +"httpMethod": "POST", +"id": "workloadmanager.projects.locations.deployments.actuations.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The resource name of the Actuation location using the form: 'projects/{project_id}/locations/{location}/deployments/{deployment}'", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/deployments/[^/]+$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+parent}/actuations", +"request": { +"$ref": "Actuation" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a single Actuation", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/deployments/{deploymentsId}/actuations/{actuationsId}", +"httpMethod": "DELETE", +"id": "workloadmanager.projects.locations.deployments.actuations.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the book to delete. project/{project_id}/locations/{location_id}/deployments/{deployment_id}/actuations/{actuation_id}", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/deployments/[^/]+/actuations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets details of a single Actuation.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/deployments/{deploymentsId}/actuations/{actuationsId}", +"httpMethod": "GET", +"id": "workloadmanager.projects.locations.deployments.actuations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of the resource", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/deployments/[^/]+/actuations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Actuation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists Actuations in a given project, location and deployment.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/deployments/{deploymentsId}/actuations", +"httpMethod": "GET", +"id": "workloadmanager.projects.locations.deployments.actuations.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Optional. Filtering results", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "Optional. Field to sort by. See https://google.aip.dev/132#ordering for more details.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Optional. Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. A token identifying a page of results the server should return.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The resource prefix of the Actuation using the form: 'projects/{project_id}/locations/{location}/deployments/{deployment}'", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/deployments/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/actuations", +"response": { +"$ref": "ListActuationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +}, +"discoveredprofiles": { +"methods": { +"get": { +"description": "Gets details of a discovered workload profile.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/discoveredprofiles/{discoveredprofilesId}", +"httpMethod": "GET", +"id": "workloadmanager.projects.locations.discoveredprofiles.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of the resource", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/discoveredprofiles/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "WorkloadProfile" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "List discovered workload profiles", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/discoveredprofiles", +"httpMethod": "GET", +"id": "workloadmanager.projects.locations.discoveredprofiles.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Optional. Filtering results", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Optional. Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. A token identifying a page of results the server should return.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. Parent value for ListDiscoveredProfilesRequest", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/discoveredprofiles", +"response": { +"$ref": "ListDiscoveredProfilesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"health": { +"methods": { +"get": { +"description": "Get the health of a discovered workload profile.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/discoveredprofiles/{discoveredprofilesId}/health/{healthId}", +"httpMethod": "GET", +"id": "workloadmanager.projects.locations.discoveredprofiles.health.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/discoveredprofiles/[^/]+/health/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "WorkloadProfileHealth" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +}, +"evaluations": { +"methods": { +"create": { +"description": "Creates a new Evaluation in a given project and location.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/evaluations", +"httpMethod": "POST", +"id": "workloadmanager.projects.locations.evaluations.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"evaluationId": { +"description": "Required. Id of the requesting object", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The resource prefix of the evaluation location using the form: `projects/{project_id}/locations/{location_id}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+parent}/evaluations", +"request": { +"$ref": "Evaluation" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a single Evaluation.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/evaluations/{evaluationsId}", +"httpMethod": "DELETE", +"id": "workloadmanager.projects.locations.evaluations.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"force": { +"description": "Optional. Followed the best practice from https://aip.dev/135#cascading-delete", +"location": "query", +"type": "boolean" +}, +"name": { +"description": "Required. Name of the resource", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/evaluations/[^/]+$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes after the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets details of a single Evaluation.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/evaluations/{evaluationsId}", +"httpMethod": "GET", +"id": "workloadmanager.projects.locations.evaluations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of the resource", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/evaluations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Evaluation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists Evaluations in a given project and location.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/evaluations", +"httpMethod": "GET", +"id": "workloadmanager.projects.locations.evaluations.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Filter to be applied when listing the evaluation results.", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "Hint for how to order the results", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A token identifying a page of results the server should return.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. Parent value for ListEvaluationsRequest", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/evaluations", +"response": { +"$ref": "ListEvaluationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates the parameters of a single Evaluation.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/evaluations/{evaluationsId}", +"httpMethod": "PATCH", +"id": "workloadmanager.projects.locations.evaluations.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "name of resource names have the form 'projects/{project_id}/locations/{location_id}/evaluations/{evaluation_id}'", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/evaluations/[^/]+$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"updateMask": { +"description": "Required. Field mask is used to specify the fields to be overwritten in the Evaluation resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "Evaluation" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"executions": { +"methods": { +"delete": { +"description": "Deletes a single Execution.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/evaluations/{evaluationsId}/executions/{executionsId}", +"httpMethod": "DELETE", +"id": "workloadmanager.projects.locations.evaluations.executions.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of the resource", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/evaluations/[^/]+/executions/[^/]+$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes after the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets details of a single Execution.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/evaluations/{evaluationsId}/executions/{executionsId}", +"httpMethod": "GET", +"id": "workloadmanager.projects.locations.evaluations.executions.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of the resource", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/evaluations/[^/]+/executions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Execution" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists Executions in a given project and location.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/evaluations/{evaluationsId}/executions", +"httpMethod": "GET", +"id": "workloadmanager.projects.locations.evaluations.executions.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Filtering results", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "Field to sort by. See https://google.aip.dev/132#ordering for more details.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A token identifying a page of results the server should return.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The resource prefix of the Execution using the form: 'projects/{project}/locations/{location}/evaluations/{evaluation}'", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/evaluations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/executions", +"response": { +"$ref": "ListExecutionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"run": { +"description": "Creates a new Execution in a given project and location.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/evaluations/{evaluationsId}/executions:run", +"httpMethod": "POST", +"id": "workloadmanager.projects.locations.evaluations.executions.run", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the Execution using the form: 'projects/{project}/locations/{location}/evaluations/{evaluation}/executions/{execution}'", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/evaluations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}/executions:run", +"request": { +"$ref": "RunEvaluationRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"results": { +"methods": { +"list": { +"description": "Lists the result of a single evaluation.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/evaluations/{evaluationsId}/executions/{executionsId}/results", +"httpMethod": "GET", +"id": "workloadmanager.projects.locations.evaluations.executions.results.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Filtering results", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A token identifying a page of results the server should return.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The execution results. Format: {parent}/evaluations/*/executions/*/results", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/evaluations/[^/]+/executions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/results", +"response": { +"$ref": "ListExecutionResultsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"scannedResources": { +"methods": { +"list": { +"description": "List all scanned resources for a single Execution.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/evaluations/{evaluationsId}/executions/{executionsId}/scannedResources", +"httpMethod": "GET", +"id": "workloadmanager.projects.locations.evaluations.executions.scannedResources.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Filtering results", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "Field to sort by. See https://google.aip.dev/132#ordering for more details.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A token identifying a page of results the server should return.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. parent for ListScannedResourcesRequest", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/evaluations/[^/]+/executions/[^/]+$", +"required": true, +"type": "string" +}, +"rule": { +"description": "rule name", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+parent}/scannedResources", +"response": { +"$ref": "ListScannedResourcesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +} +} +}, +"insights": { +"methods": { +"delete": { +"description": "Delete the data insights from workload manager data warehouse.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/insights/{insightsId}", +"httpMethod": "DELETE", +"id": "workloadmanager.projects.locations.insights.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The system id of the SAP system resource to delete. Formatted as projects/{project}/locations/{location}/sapSystems/{sap_system_id}", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/insights/[^/]+$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"writeInsight": { +"description": "Write the data insights to workload manager data warehouse.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/insights:writeInsight", +"httpMethod": "POST", +"id": "workloadmanager.projects.locations.insights.writeInsight", +"parameterOrder": [ +"location" +], +"parameters": { +"location": { +"description": "Required. The GCP location. The format is: projects/{project}/locations/{location}.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+location}/insights:writeInsight", +"request": { +"$ref": "WriteInsightRequest" +}, +"response": { +"$ref": "WriteInsightResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"operations": { +"methods": { +"cancel": { +"description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}:cancel", +"httpMethod": "POST", +"id": "workloadmanager.projects.locations.operations.cancel", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be cancelled.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:cancel", +"request": { +"$ref": "CancelOperationRequest" +}, +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}", +"httpMethod": "DELETE", +"id": "workloadmanager.projects.locations.operations.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be deleted.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}", +"httpMethod": "GET", +"id": "workloadmanager.projects.locations.operations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/operations", +"httpMethod": "GET", +"id": "workloadmanager.projects.locations.operations.list", +"parameterOrder": [ +"name" +], +"parameters": { +"filter": { +"description": "The standard list filter.", +"location": "query", +"type": "string" +}, +"name": { +"description": "The name of the operation's parent resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The standard list page size.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The standard list page token.", +"location": "query", +"type": "string" +}, +"returnPartialSuccess": { +"description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `\"projects/example/locations/-\"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1/{+name}/operations", +"response": { +"$ref": "ListOperationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"rules": { +"methods": { +"list": { +"description": "Lists rules in a given project.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/rules", +"httpMethod": "GET", +"id": "workloadmanager.projects.locations.rules.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"customRulesBucket": { +"description": "The Cloud Storage bucket name for custom rules.", +"location": "query", +"type": "string" +}, +"evaluationType": { +"description": "Optional. The evaluation type of the rules will be applied to. The Cloud Storage bucket name for custom rules.", +"enum": [ +"EVALUATION_TYPE_UNSPECIFIED", +"SAP", +"SQL_SERVER", +"OTHER", +"SCC_IAC" +], +"enumDeprecated": [ +false, +false, +false, +false, +true +], +"enumDescriptions": [ +"Not specified", +"SAP best practices", +"SQL best practices", +"Customized best practices", +"SCC IaC (Infra as Code) best practices." +], +"location": "query", +"type": "string" +}, +"filter": { +"description": "Filter based on primary_category, secondary_category", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A token identifying a page of results the server should return.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The [project] on which to execute the request. The format is: projects/{project_id}/locations/{location} Currently, the pre-defined rules are global available to all projects and all regions", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/rules", +"response": { +"$ref": "ListRulesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +} +} +} +}, +"revision": "20260204", +"rootUrl": "https://workloadmanager.googleapis.com/", +"schemas": { +"ActiveDirectory": { +"description": "Active directory details", +"id": "ActiveDirectory", +"properties": { +"dnsAddress": { +"description": "Optional. DNS IP address", +"type": "string" +}, +"domain": { +"description": "Optional. human readable form of a domain such as \u201cgoogle.com\u201d.", +"type": "string" +}, +"domainUsername": { +"description": "Optional. domain username", +"type": "string" +}, +"secretManagerSecret": { +"description": "Required. secret_manager_secret", +"type": "string" +}, +"type": { +"description": "Required. active directory type", +"enum": [ +"ACTIVE_DIRECTORY_TYPE_UNSPECIFIED", +"GCP_MANAGED", +"SELF_MANAGED" +], +"enumDescriptions": [ +"Unspecified active directory type", +"GCP managed active directory type", +"Self managed active directory type" +], +"type": "string" +} +}, +"type": "object" +}, +"Actuation": { +"description": "The Actuation object represents the bootstrap state and output results of deployed infrastructure and software.", +"id": "Actuation", +"properties": { +"actuationOutput": { +"$ref": "ActuationOutput", +"description": "Output only. [Output only] Actuation output", +"readOnly": true +}, +"deploymentOutput": { +"description": "Output only. [Output only] Deployment output", +"items": { +"$ref": "DeploymentOutput" +}, +"readOnly": true, +"type": "array" +}, +"endTime": { +"description": "Output only. [Output only] End time stamp", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"name": { +"description": "The name of actuation resource. The format is projects/{project}/locations/{location}/deployments/{deployment}/actuations/{actuation}", +"type": "string" +}, +"startTime": { +"description": "Output only. [Output only] Start time stamp", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"state": { +"description": "Output only. [Output only] Actuation state", +"enum": [ +"STATE_UNSPECIFIED", +"INFRA_CREATING", +"SUCCEEDED", +"FAILED", +"POST_INFRA_CONFIGURING", +"INFRA_DESTROYING", +"TIMEOUT" +], +"enumDescriptions": [ +"state unspecified", +"creating infrastructure in backend (terraform applying)", +"success", +"failed either in infra creating, post infra configuring or infra destroying", +"configure workload after infrastructure is ready (ansible running)", +"destroying infrastructure in backend (terraform destroying)", +"ansible is timeout due to losing heartbeat in post infra configuring" +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"ActuationOutput": { +"description": "Message for output of Actuation", +"id": "ActuationOutput", +"properties": { +"actuateLogs": { +"description": "A link to gcs file that store build logs", +"type": "string" +}, +"ansibleError": { +"description": "Output only. error message return from ansible.", +"readOnly": true, +"type": "string" +}, +"ansibleFailedTask": { +"description": "Output only. failed task name return from ansible.", +"items": { +"type": "string" +}, +"readOnly": true, +"type": "array" +}, +"blueprintId": { +"description": "reference to Blueprint Controller deployment and revision resource", +"type": "string" +}, +"cloudbuildId": { +"description": "Cloud Build instance UUID associated with this revision, without any suffix or prefix", +"type": "string" +}, +"errorCode": { +"description": "Output only. Code describing any errors that may have occurred. If not specified, there is no error in actuation.", +"enum": [ +"ERROR_CODE_UNSPECIFIED", +"TERRAFORM_FAILED", +"PERMISSION_DENIED_IN_TERRAFORM", +"QUOTA_EXCEED_IN_TERRAFORM", +"ANSIBLE_FAILED", +"CONSTRAINT_VIOLATION_IN_TERRAFORM", +"RESOURCE_ALREADY_EXISTS_IN_TERRAFORM", +"RESOURCE_UNAVAILABLE_IN_TERRAFORM", +"PERMISSION_DENIED_IN_ANSIBLE", +"INVALID_SECRET_IN_ANSIBLE", +"TERRAFORM_DELETION_FAILED", +"RESOURCE_IN_USE_IN_TERRAFORM_DELETION", +"ANSIBLE_START_FAILED" +], +"enumDescriptions": [ +"No error code was specified.", +"general terraform failure", +"permission error in terraform", +"quota related error in terraform", +"general ansible failure", +"constraint related error in terraform", +"resource already exists error in terraform", +"resource not found error in terraform", +"permission denied error in ansible", +"secret related error in ansible", +"general terraform failure during deletion", +"resource in use error in terraform deletion", +"start up failure in ansible" +], +"readOnly": true, +"type": "string" +}, +"errorLogs": { +"description": "A link to actuation cloud build log.", +"type": "string" +}, +"hasUserFacingErrorMsg": { +"description": "Output only. whether the error message is user facing. If true, the error message will be shown in the UI.", +"readOnly": true, +"type": "boolean" +}, +"terraformError": { +"description": "Output only. error message return from terraform.", +"readOnly": true, +"type": "string" +}, +"terraformTemplate": { +"description": "reference to terraform template used", +"type": "string" +} +}, +"type": "object" +}, +"AgentCommand": { +"description": "* An AgentCommand specifies a one-time executable program for the agent to run.", +"id": "AgentCommand", +"properties": { +"command": { +"description": "command is the name of the agent one-time executable that will be invoked.", +"type": "string" +}, +"parameters": { +"additionalProperties": { +"type": "string" +}, +"description": "parameters is a map of key/value pairs that can be used to specify additional one-time executable settings.", +"type": "object" +} +}, +"type": "object" +}, +"AgentStates": { +"description": "Agent status.", +"id": "AgentStates", +"properties": { +"availableVersion": { +"description": "Optional. The available version of the agent in artifact registry.", +"type": "string" +}, +"hanaMonitoring": { +"$ref": "ServiceStates", +"description": "Optional. HANA monitoring metrics of the agent." +}, +"installedVersion": { +"description": "Optional. The installed version of the agent on the host.", +"type": "string" +}, +"isFullyEnabled": { +"description": "Optional. Whether the agent is fully enabled. If false, the agent is has some issues.", +"type": "boolean" +}, +"processMetrics": { +"$ref": "ServiceStates", +"description": "Optional. The Process metrics of the agent." +}, +"systemDiscovery": { +"$ref": "ServiceStates", +"description": "Optional. The System discovery metrics of the agent." +} +}, +"type": "object" +}, +"AgentStatus": { +"description": "The schema of agent status data.", +"id": "AgentStatus", +"properties": { +"agentName": { +"description": "Output only. The name of the agent.", +"readOnly": true, +"type": "string" +}, +"availableVersion": { +"description": "Output only. The available version of the agent in artifact registry.", +"readOnly": true, +"type": "string" +}, +"cloudApiAccessFullScopesGranted": { +"description": "Output only. Whether the agent has full access to Cloud APIs.", +"enum": [ +"UNSPECIFIED_STATE", +"SUCCESS_STATE", +"FAILURE_STATE", +"ERROR_STATE" +], +"enumDescriptions": [ +"The state is unspecified and has not been checked yet.", +"The state is successful (enabled, granted, fully functional).", +"The state is failed (disabled, denied, not fully functional).", +"There was an internal error while checking the state, state is unknown." +], +"readOnly": true, +"type": "string" +}, +"configurationErrorMessage": { +"description": "Output only. The error message for the agent configuration if invalid.", +"readOnly": true, +"type": "string" +}, +"configurationFilePath": { +"description": "Output only. The path to the agent configuration file.", +"readOnly": true, +"type": "string" +}, +"configurationValid": { +"description": "Output only. Whether the agent configuration is valid.", +"enum": [ +"UNSPECIFIED_STATE", +"SUCCESS_STATE", +"FAILURE_STATE", +"ERROR_STATE" +], +"enumDescriptions": [ +"The state is unspecified and has not been checked yet.", +"The state is successful (enabled, granted, fully functional).", +"The state is failed (disabled, denied, not fully functional).", +"There was an internal error while checking the state, state is unknown." +], +"readOnly": true, +"type": "string" +}, +"installedVersion": { +"description": "Output only. The installed version of the agent on the host.", +"readOnly": true, +"type": "string" +}, +"instanceUri": { +"description": "Output only. The URI of the instance. Format: projects//zones//instances/", +"readOnly": true, +"type": "string" +}, +"kernelVersion": { +"$ref": "SapDiscoveryResourceInstancePropertiesKernelVersion", +"description": "Output only. The kernel version of the system.", +"readOnly": true +}, +"references": { +"description": "Output only. Optional references to public documentation.", +"items": { +"$ref": "AgentStatusReference" +}, +"readOnly": true, +"type": "array" +}, +"services": { +"description": "Output only. The services (process metrics, host metrics, etc.).", +"items": { +"$ref": "AgentStatusServiceStatus" +}, +"readOnly": true, +"type": "array" +}, +"systemdServiceEnabled": { +"description": "Output only. Whether the agent service is enabled in systemd.", +"enum": [ +"UNSPECIFIED_STATE", +"SUCCESS_STATE", +"FAILURE_STATE", +"ERROR_STATE" +], +"enumDescriptions": [ +"The state is unspecified and has not been checked yet.", +"The state is successful (enabled, granted, fully functional).", +"The state is failed (disabled, denied, not fully functional).", +"There was an internal error while checking the state, state is unknown." +], +"readOnly": true, +"type": "string" +}, +"systemdServiceRunning": { +"description": "Output only. Whether the agent service is running in systemd.", +"enum": [ +"UNSPECIFIED_STATE", +"SUCCESS_STATE", +"FAILURE_STATE", +"ERROR_STATE" +], +"enumDescriptions": [ +"The state is unspecified and has not been checked yet.", +"The state is successful (enabled, granted, fully functional).", +"The state is failed (disabled, denied, not fully functional).", +"There was an internal error while checking the state, state is unknown." +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"AgentStatusConfigValue": { +"description": "The configuration value.", +"id": "AgentStatusConfigValue", +"properties": { +"isDefault": { +"description": "Output only. Whether the configuration value is the default value or overridden.", +"readOnly": true, +"type": "boolean" +}, +"name": { +"description": "Output only. The name of the configuration value.", +"readOnly": true, +"type": "string" +}, +"value": { +"description": "Output only. The value of the configuration value.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"AgentStatusIAMPermission": { +"description": "The IAM permission status.", +"id": "AgentStatusIAMPermission", +"properties": { +"granted": { +"description": "Output only. Whether the permission is granted.", +"enum": [ +"UNSPECIFIED_STATE", +"SUCCESS_STATE", +"FAILURE_STATE", +"ERROR_STATE" +], +"enumDescriptions": [ +"The state is unspecified and has not been checked yet.", +"The state is successful (enabled, granted, fully functional).", +"The state is failed (disabled, denied, not fully functional).", +"There was an internal error while checking the state, state is unknown." +], +"readOnly": true, +"type": "string" +}, +"name": { +"description": "Output only. The name of the permission.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"AgentStatusReference": { +"description": "The reference to public documentation.", +"id": "AgentStatusReference", +"properties": { +"name": { +"description": "Output only. The name of the reference.", +"readOnly": true, +"type": "string" +}, +"url": { +"description": "Output only. The URL of the reference.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"AgentStatusServiceStatus": { +"description": "The status of a service (process metrics, host metrics, etc.).", +"id": "AgentStatusServiceStatus", +"properties": { +"configValues": { +"description": "Output only. The configuration values for the service.", +"items": { +"$ref": "AgentStatusConfigValue" +}, +"readOnly": true, +"type": "array" +}, +"errorMessage": { +"description": "Output only. The error message for the service if it is not fully functional.", +"readOnly": true, +"type": "string" +}, +"fullyFunctional": { +"description": "Output only. Whether the service is fully functional (all checks passed).", +"enum": [ +"UNSPECIFIED_STATE", +"SUCCESS_STATE", +"FAILURE_STATE", +"ERROR_STATE" +], +"enumDescriptions": [ +"The state is unspecified and has not been checked yet.", +"The state is successful (enabled, granted, fully functional).", +"The state is failed (disabled, denied, not fully functional).", +"There was an internal error while checking the state, state is unknown." +], +"readOnly": true, +"type": "string" +}, +"iamPermissions": { +"description": "Output only. The permissions required for the service.", +"items": { +"$ref": "AgentStatusIAMPermission" +}, +"readOnly": true, +"type": "array" +}, +"name": { +"description": "Output only. The name of the service.", +"readOnly": true, +"type": "string" +}, +"state": { +"description": "Output only. The state of the service (enabled or disabled in the configuration).", +"enum": [ +"UNSPECIFIED_STATE", +"SUCCESS_STATE", +"FAILURE_STATE", +"ERROR_STATE" +], +"enumDescriptions": [ +"The state is unspecified and has not been checked yet.", +"The state is successful (enabled, granted, fully functional).", +"The state is failed (disabled, denied, not fully functional).", +"There was an internal error while checking the state, state is unknown." +], +"readOnly": true, +"type": "string" +}, +"unspecifiedStateMessage": { +"description": "Output only. The message to display when the service state is unspecified.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"AppDetails": { +"description": "Message for sap instant details", +"id": "AppDetails", +"properties": { +"appInstanceId": { +"description": "Optional. instance id for app", +"type": "string" +}, +"appServiceAccount": { +"description": "Application service account - let custoemrs bring their own SA for application", +"type": "string" +}, +"appVmNames": { +"description": "Optional. Customized vm names", +"items": { +"type": "string" +}, +"type": "array" +}, +"ascsImage": { +"description": "Required. image for ascs server", +"type": "string" +}, +"ascsInstanceId": { +"description": "Optional. instance id for ascs", +"type": "string" +}, +"ascsMachineType": { +"description": "Required. ascs_machine_type", +"type": "string" +}, +"ascsServiceAccount": { +"description": "ASCS service account - let custoemrs bring their own SA for ASCS", +"type": "string" +}, +"ascsVm": { +"description": "Optional. ASCS vm name", +"type": "string" +}, +"ersInstanceId": { +"description": "Optional. instance id for ers", +"type": "string" +}, +"ersVm": { +"description": "Optional. ERS vm name", +"type": "string" +}, +"image": { +"description": "Required. image for app server and ascs server", +"type": "string" +}, +"machineType": { +"description": "Required. machine type", +"type": "string" +}, +"secretManagerSecret": { +"description": "Required. secret_manager_secret", +"type": "string" +}, +"sharedStorage": { +"description": "Optional. Storage location", +"type": "string" +}, +"sid": { +"description": "Required. The SAP SID is a three-digit server-specific unique identification code.", +"type": "string" +}, +"vmsMultiplier": { +"description": "Required. vms_multiplier", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"BackupProperties": { +"description": "Backup properties.", +"id": "BackupProperties", +"properties": { +"latestBackupStatus": { +"description": "Output only. The state of the latest backup.", +"enum": [ +"BACKUP_STATE_UNSPECIFIED", +"BACKUP_STATE_SUCCESS", +"BACKUP_STATE_FAILURE" +], +"enumDescriptions": [ +"unspecified", +"SUCCESS state", +"FAILURE state" +], +"readOnly": true, +"type": "string" +}, +"latestBackupTime": { +"description": "The time when the latest backup was performed.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"BigQueryDestination": { +"description": "Message describing big query destination", +"id": "BigQueryDestination", +"properties": { +"createNewResultsTable": { +"description": "Optional. determine if results will be saved in a new table", +"type": "boolean" +}, +"destinationDataset": { +"description": "Optional. destination dataset to save evaluation results", +"type": "string" +} +}, +"type": "object" +}, +"CancelOperationRequest": { +"description": "The request message for Operations.CancelOperation.", +"id": "CancelOperationRequest", +"properties": {}, +"type": "object" +}, +"CloudResource": { +"description": "The resource on GCP", +"id": "CloudResource", +"properties": { +"instanceProperties": { +"$ref": "InstanceProperties", +"description": "Output only. All instance properties.", +"readOnly": true +}, +"kind": { +"description": "Output only. ", +"enum": [ +"RESOURCE_KIND_UNSPECIFIED", +"RESOURCE_KIND_INSTANCE", +"RESOURCE_KIND_DISK", +"RESOURCE_KIND_ADDRESS", +"RESOURCE_KIND_FILESTORE", +"RESOURCE_KIND_HEALTH_CHECK", +"RESOURCE_KIND_FORWARDING_RULE", +"RESOURCE_KIND_BACKEND_SERVICE", +"RESOURCE_KIND_SUBNETWORK", +"RESOURCE_KIND_NETWORK", +"RESOURCE_KIND_PUBLIC_ADDRESS", +"RESOURCE_KIND_INSTANCE_GROUP" +], +"enumDescriptions": [ +"Unspecified resource kind.", +"This is a compute instance.", +"This is a compute disk.", +"This is a compute address.", +"This is a filestore instance.", +"This is a compute health check.", +"This is a compute forwarding rule.", +"This is a compute backend service.", +"This is a compute subnetwork.", +"This is a compute network.", +"This is a public accessible IP Address.", +"This is a compute instance group." +], +"readOnly": true, +"type": "string" +}, +"name": { +"description": "Output only. resource name Example: compute.googleapis.com/projects/wlm-obs-dev/zones/us-central1-a/instances/sap-pri", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"Command": { +"description": "* Command specifies the type of command to execute.", +"id": "Command", +"properties": { +"agentCommand": { +"$ref": "AgentCommand", +"description": "AgentCommand specifies a one-time executable program for the agent to run." +}, +"shellCommand": { +"$ref": "ShellCommand", +"description": "ShellCommand is invoked via the agent's command line executor." +} +}, +"type": "object" +}, +"ComponentHealth": { +"description": "HealthCondition contains the detailed health check of each component.", +"id": "ComponentHealth", +"properties": { +"component": { +"description": "The component of a workload.", +"type": "string" +}, +"componentHealthChecks": { +"description": "The detailed health checks of the component.", +"items": { +"$ref": "HealthCheck" +}, +"type": "array" +}, +"componentHealthType": { +"description": "Output only. The type of the component health.", +"enum": [ +"TYPE_UNSPECIFIED", +"TYPE_REQUIRED", +"TYPE_OPTIONAL", +"TYPE_SPECIAL" +], +"enumDescriptions": [ +"Unspecified", +"required", +"optional", +"special" +], +"readOnly": true, +"type": "string" +}, +"state": { +"description": "Output only. The health state of the component.", +"enum": [ +"HEALTH_STATE_UNSPECIFIED", +"HEALTHY", +"UNHEALTHY", +"CRITICAL", +"UNSUPPORTED" +], +"enumDescriptions": [ +"Unspecified.", +"Healthy workload.", +"Unhealthy workload.", +"Has critical issues.", +"Unsupported." +], +"readOnly": true, +"type": "string" +}, +"subComponentsHealth": { +"description": "Sub component health.", +"items": { +"$ref": "ComponentHealth" +}, +"type": "array" +} +}, +"type": "object" +}, +"Database": { +"description": "Database details", +"id": "Database", +"properties": { +"diskType": { +"description": "Required. disk_type", +"type": "string" +}, +"floatingIpAddress": { +"description": "Optional. only useful for Linux High Availability setup", +"type": "string" +}, +"machineType": { +"description": "Required. machine type", +"type": "string" +}, +"secondarySoleTenantNode": { +"description": "Optional. the name of a secondary-sole-tenant node/node group", +"type": "string" +}, +"secondarySoleTenantNodeType": { +"description": "Optional. the type of a secondary-sole-tenant node/node group e.g. compute.googleapis.com/node-name", +"type": "string" +}, +"secretManagerSecret": { +"description": "Required. secret_manager_secret", +"type": "string" +}, +"smt": { +"description": "Required. whether simultaneous multithreading is enabled or not", +"type": "boolean" +}, +"soleTenantNode": { +"description": "Optional. the name of a primary sole-tenant node/node group", +"type": "string" +}, +"soleTenantNodeType": { +"description": "Optional. the type of a primary sole-tenant node/node group e.g. compute.googleapis.com/node-name", +"type": "string" +}, +"tempdbOnSsd": { +"description": "Required. whether to have TempDB on local SSD", +"type": "boolean" +}, +"tenancyModel": { +"description": "Required. SHARED or SOLE_TENANT", +"enum": [ +"TENANCY_MODEL_UNSPECIFIED", +"SHARED", +"SOLE_TENANT" +], +"enumDescriptions": [ +"Unspecified tenancy model", +"Shared tenancy model", +"Sole Tenant tenancy model" +], +"type": "string" +} +}, +"type": "object" +}, +"DatabaseDetails": { +"description": "Message for sap instant details", +"id": "DatabaseDetails", +"properties": { +"databaseServiceAccount": { +"description": "Database service account - let custoemrs bring their own SA for database", +"type": "string" +}, +"diskType": { +"description": "Required. disk_type", +"type": "string" +}, +"image": { +"description": "Required. image for database server", +"type": "string" +}, +"instanceId": { +"description": "Optional. instance id", +"type": "string" +}, +"machineType": { +"description": "Required. machine type", +"type": "string" +}, +"primaryDbVm": { +"description": "Optional. primary db vm name", +"type": "string" +}, +"secondaryDbVm": { +"description": "Optional. secondary db vm name", +"type": "string" +}, +"secretManagerSecret": { +"description": "Required. secret_manager_secret", +"type": "string" +}, +"sid": { +"description": "Required. The SID is a three-digit server-specific unique identification code.", +"type": "string" +} +}, +"type": "object" +}, +"DatabaseProperties": { +"description": "Database Properties.", +"id": "DatabaseProperties", +"properties": { +"backupProperties": { +"$ref": "BackupProperties", +"description": "Output only. Backup properties.", +"readOnly": true +}, +"databaseType": { +"description": "Output only. Type of the database. `HANA`, `DB2`, etc.", +"enum": [ +"DATABASE_TYPE_UNSPECIFIED", +"HANA", +"MAX_DB", +"DB2", +"ORACLE", +"SQLSERVER", +"ASE" +], +"enumDescriptions": [ +"unspecified", +"SAP HANA", +"SAP MAX_DB", +"IBM DB2", +"Oracle Database", +"Microsoft SQL Server", +"SAP Sybase ASE" +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"Deployment": { +"description": "The Deployment object represents user intent for deploying a specific type of workload.", +"id": "Deployment", +"properties": { +"createTime": { +"description": "Output only. [Output only] Create time stamp", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"description": { +"description": "Description of the Deployment", +"type": "string" +}, +"name": { +"description": "The name of deployment resource. The format will be 'projects/{project_id}/locations/{location_id}/deployments/{deployment_id}'", +"type": "string" +}, +"sapSystemS4Config": { +"$ref": "SapSystemS4Config", +"description": "SAP system workload input" +}, +"serviceAccount": { +"description": "User-specified Service Account (SA) credentials to be used for cloud build Format: `projects/{projectID}/serviceAccounts/{serviceAccount}` The default Cloud Build SA will be used initially if this field is not set during deployment creation", +"type": "string" +}, +"sqlServerWorkload": { +"$ref": "SqlServerWorkload", +"description": "MS SQL workload input" +}, +"state": { +"description": "Output only. Current state of the deployment.", +"enum": [ +"STATE_UNSPECIFIED", +"CREATING", +"ACTIVE", +"UPDATING", +"DELETING", +"FAILED" +], +"enumDescriptions": [ +"The default value. This value is used if the state is omitted.", +"The deployment is being created.", +"The deployment is healthy.", +"The deployment is being updated.", +"The deployment is being deleted.", +"The deployment has encountered an unexpected error." +], +"readOnly": true, +"type": "string" +}, +"terraformVariables": { +"additionalProperties": { +"$ref": "TerraformVariable" +}, +"description": "Optional. terraform_variables represents all the Terraform variables for the deployment workload. The key is the name of the Terraform variable, and the value is the TerraformVariable. For example: { \"project_id\": { \"input_value\": { \"string_value\": \"my-project-id\" } }, \"zone\": { \"input_value\": { \"string_value\": \"us-central1-a\" } } }", +"type": "object" +}, +"updateTime": { +"description": "Output only. [Output only] Update time stamp", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"workerPool": { +"description": "Optional. The user-specified Cloud Build worker pool resource in which the Cloud Build job will execute. Format: `projects/{project}/locations/{location}/workerPools/{workerPoolId}`. If this field is unspecified, the default Cloud Build worker pool will be used.", +"type": "string" +}, +"workloadType": { +"description": "Optional. Workload type of the deployment", +"enum": [ +"WORKLOAD_TYPE_UNSPECIFIED", +"SAP_S4", +"SQL_SERVER", +"ORACLE" +], +"enumDescriptions": [ +"Unspecified workload type", +"SAP S/4HANA workload type", +"SQL Server workload type", +"Oracle workload type" +], +"type": "string" +} +}, +"type": "object" +}, +"DeploymentOutput": { +"description": "Message for output of deployment resource", +"id": "DeploymentOutput", +"properties": { +"name": { +"description": "name of the resource", +"type": "string" +}, +"type": { +"description": "type of the resource", +"type": "string" +} +}, +"type": "object" +}, +"Empty": { +"description": "A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }", +"id": "Empty", +"properties": {}, +"type": "object" +}, +"Evaluation": { +"description": "Message describing Evaluation object", +"id": "Evaluation", +"properties": { +"bigQueryDestination": { +"$ref": "BigQueryDestination", +"description": "Optional. BigQuery destination" +}, +"createTime": { +"description": "Output only. [Output only] Create time stamp", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"customRulesBucket": { +"description": "The Cloud Storage bucket name for custom rules.", +"type": "string" +}, +"description": { +"description": "Description of the Evaluation", +"type": "string" +}, +"evaluationType": { +"description": "Evaluation type", +"enum": [ +"EVALUATION_TYPE_UNSPECIFIED", +"SAP", +"SQL_SERVER", +"OTHER", +"SCC_IAC" +], +"enumDeprecated": [ +false, +false, +false, +false, +true +], +"enumDescriptions": [ +"Not specified", +"SAP best practices", +"SQL best practices", +"Customized best practices", +"SCC IaC (Infra as Code) best practices." +], +"type": "string" +}, +"kmsKey": { +"description": "Optional. Immutable. Customer-managed encryption key name, in the format projects/*/locations/*/keyRings/*/cryptoKeys/*.", +"type": "string" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Labels as key value pairs", +"type": "object" +}, +"name": { +"description": "name of resource names have the form 'projects/{project_id}/locations/{location_id}/evaluations/{evaluation_id}'", +"type": "string" +}, +"resourceFilter": { +"$ref": "ResourceFilter", +"description": "annotations as key value pairs" +}, +"resourceStatus": { +"$ref": "ResourceStatus", +"description": "Output only. [Output only] The updated rule ids if exist.", +"readOnly": true +}, +"ruleNames": { +"description": "the name of the rule", +"items": { +"type": "string" +}, +"type": "array" +}, +"ruleVersions": { +"description": "Output only. [Output only] The updated rule ids if exist.", +"items": { +"type": "string" +}, +"readOnly": true, +"type": "array" +}, +"schedule": { +"description": "crontab format schedule for scheduled evaluation, currently only support the following schedule: \"0 */1 * * *\", \"0 */6 * * *\", \"0 */12 * * *\", \"0 0 */1 * *\", \"0 0 */7 * *\",", +"type": "string" +}, +"updateTime": { +"description": "Output only. [Output only] Update time stamp", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"Execution": { +"description": "Message describing Execution object", +"id": "Execution", +"properties": { +"endTime": { +"description": "Output only. [Output only] End time stamp", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"engine": { +"description": "Optional. Engine", +"enum": [ +"ENGINE_UNSPECIFIED", +"ENGINE_SCANNER", +"V2" +], +"enumDescriptions": [ +"The original CG", +"SlimCG / Scanner", +"Evaluation Engine V2" +], +"type": "string" +}, +"evaluationId": { +"description": "Output only. [Output only] Evaluation ID", +"readOnly": true, +"type": "string" +}, +"externalDataSources": { +"description": "Optional. External data sources", +"items": { +"$ref": "ExternalDataSources" +}, +"type": "array" +}, +"inventoryTime": { +"description": "Output only. [Output only] Inventory time stamp", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Labels as key value pairs", +"type": "object" +}, +"name": { +"description": "The name of execution resource. The format is projects/{project}/locations/{location}/evaluations/{evaluation}/executions/{execution}", +"type": "string" +}, +"notices": { +"description": "Output only. Additional information generated by the execution", +"items": { +"$ref": "Notice" +}, +"readOnly": true, +"type": "array" +}, +"resultSummary": { +"$ref": "Summary", +"description": "Output only. [Output only] Result summary for the execution", +"readOnly": true +}, +"ruleResults": { +"description": "Output only. execution result summary per rule", +"items": { +"$ref": "RuleExecutionResult" +}, +"readOnly": true, +"type": "array" +}, +"runType": { +"description": "type represent whether the execution executed directly by user or scheduled according evaluation.schedule field.", +"enum": [ +"TYPE_UNSPECIFIED", +"ONE_TIME", +"SCHEDULED" +], +"enumDescriptions": [ +"type of execution is unspecified", +"type of execution is one time", +"type of execution is scheduled" +], +"type": "string" +}, +"startTime": { +"description": "Output only. [Output only] Start time stamp", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"state": { +"description": "Output only. [Output only] State", +"enum": [ +"STATE_UNSPECIFIED", +"RUNNING", +"SUCCEEDED", +"FAILED" +], +"enumDescriptions": [ +"state of execution is unspecified", +"the execution is running in backend service", +"the execution run success", +"the execution run failed" +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"ExecutionResult": { +"description": "Message describing the result of an execution", +"id": "ExecutionResult", +"properties": { +"commands": { +"description": "The commands to remediate the violation.", +"items": { +"$ref": "Command" +}, +"type": "array" +}, +"documentationUrl": { +"description": "The URL for the documentation of the rule.", +"type": "string" +}, +"resource": { +"$ref": "Resource", +"description": "The resource that violates the rule." +}, +"rule": { +"description": "The rule that is violated in an evaluation.", +"type": "string" +}, +"severity": { +"description": "The severity of violation.", +"type": "string" +}, +"type": { +"description": "Execution result type of the scanned resource", +"enum": [ +"TYPE_UNSPECIFIED", +"TYPE_PASSED", +"TYPE_VIOLATED" +], +"enumDescriptions": [ +"Unknown state", +"resource successfully passed the rule", +"resource violated the rule" +], +"type": "string" +}, +"violationDetails": { +"$ref": "ViolationDetails", +"description": "The details of violation in an evaluation result." +}, +"violationMessage": { +"description": "The violation message of an execution.", +"type": "string" +} +}, +"type": "object" +}, +"ExternalDataSources": { +"description": "Message for external data sources", +"id": "ExternalDataSources", +"properties": { +"assetType": { +"description": "Required. The asset type of the external data source. This can be a supported Cloud Asset Inventory asset type (see https://cloud.google.com/asset-inventory/docs/supported-asset-types) to override the default asset type, or it can be a custom type defined by the user.", +"type": "string" +}, +"name": { +"description": "Optional. Name of external data source. The name will be used inside the rego/sql to refer the external data", +"type": "string" +}, +"type": { +"description": "Required. Type of external data source", +"enum": [ +"TYPE_UNSPECIFIED", +"BIG_QUERY_TABLE" +], +"enumDescriptions": [ +"Unknown type", +"BigQuery table" +], +"type": "string" +}, +"uri": { +"description": "Required. URI of external data source. example of bq table {project_ID}.{dataset_ID}.{table_ID}", +"type": "string" +} +}, +"type": "object" +}, +"GceInstanceFilter": { +"description": "Message describing compute engine instance filter", +"id": "GceInstanceFilter", +"properties": { +"serviceAccounts": { +"description": "Service account of compute engine", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"HealthCheck": { +"description": "HealthCheck contains the detailed health check of a component based on asource.", +"id": "HealthCheck", +"properties": { +"message": { +"description": "Output only. The message of the health check.", +"readOnly": true, +"type": "string" +}, +"metric": { +"description": "Output only. The health check source metric name.", +"readOnly": true, +"type": "string" +}, +"resource": { +"$ref": "CloudResource", +"description": "Output only. The resource the check performs on.", +"readOnly": true +}, +"source": { +"description": "Output only. The source of the health check.", +"readOnly": true, +"type": "string" +}, +"state": { +"description": "Output only. The state of the health check.", +"enum": [ +"STATE_UNSPECIFIED", +"PASSED", +"FAILED", +"DEGRADED", +"SKIPPED", +"UNSUPPORTED" +], +"enumDescriptions": [ +"Unspecified", +"passed", +"failed", +"degraded", +"skipped", +"unsupported" +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"IAMPermission": { +"description": "The IAM permission status.", +"id": "IAMPermission", +"properties": { +"granted": { +"description": "Output only. Whether the permission is granted.", +"readOnly": true, +"type": "boolean" +}, +"name": { +"description": "Output only. The name of the permission.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"Insight": { +"description": "A presentation of host resource usage where the workload runs.", +"id": "Insight", +"properties": { +"agentStatus": { +"$ref": "AgentStatus", +"description": "The insights data for the agent status." +}, +"instanceId": { +"description": "Optional. The instance id where the insight is generated from", +"type": "string" +}, +"openShiftValidation": { +"$ref": "OpenShiftValidation", +"description": "The insights data for the OpenShift workload validation." +}, +"sapDiscovery": { +"$ref": "SapDiscovery", +"description": "The insights data for SAP system discovery. This is a copy of SAP System proto and should get updated whenever that one changes." +}, +"sapValidation": { +"$ref": "SapValidation", +"description": "The insights data for the SAP workload validation." +}, +"sentTime": { +"description": "Output only. [Output only] Create time stamp", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"sqlserverValidation": { +"$ref": "SqlserverValidation", +"description": "The insights data for the sqlserver workload validation." +}, +"torsoValidation": { +"$ref": "TorsoValidation", +"description": "The insights data for workload validation of torso workloads." +} +}, +"type": "object" +}, +"InstanceProperties": { +"description": "Instance Properties.", +"id": "InstanceProperties", +"properties": { +"instanceNumber": { +"description": "Optional. Instance number.", +"type": "string" +}, +"machineType": { +"description": "Optional. Instance machine type.", +"type": "string" +}, +"roles": { +"description": "Optional. Instance roles.", +"items": { +"enum": [ +"INSTANCE_ROLE_UNSPECIFIED", +"INSTANCE_ROLE_ASCS", +"INSTANCE_ROLE_ERS", +"INSTANCE_ROLE_APP_SERVER", +"INSTANCE_ROLE_HANA_PRIMARY", +"INSTANCE_ROLE_HANA_SECONDARY" +], +"enumDescriptions": [ +"Unspecified role.", +"ASCS role.", +"ERS role.", +"APP server.", +"HANA primary role.", +"HANA secondary role." +], +"type": "string" +}, +"type": "array" +}, +"sapInstanceProperties": { +"$ref": "SapInstanceProperties", +"description": "Optional. SAP Instance properties." +}, +"status": { +"description": "Optional. Instance status.", +"type": "string" +}, +"upcomingMaintenanceEvent": { +"$ref": "UpcomingMaintenanceEvent", +"description": "Optional. the next maintenance event on VM" +} +}, +"type": "object" +}, +"InvalidRule": { +"description": "Message represent an rule that failed to be validated.", +"id": "InvalidRule", +"properties": { +"displayName": { +"description": "display name of the invalid rule", +"type": "string" +}, +"gcsUri": { +"description": "cloud storage destination of the invalid rule", +"type": "string" +}, +"name": { +"description": "name of the invalid rule", +"type": "string" +}, +"valiadtionError": { +"description": "The error message of valdating rule formats.", +"type": "string" +} +}, +"type": "object" +}, +"InvalidRulesWrapper": { +"description": "Message wrappes a list of invalid rules.", +"id": "InvalidRulesWrapper", +"properties": { +"invalidRules": { +"description": "The invalid rules that failed to be validated.", +"items": { +"$ref": "InvalidRule" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListActuationsResponse": { +"description": "The response object from `ListActuations`.", +"id": "ListActuationsResponse", +"properties": { +"actuations": { +"description": "The list of Actuation", +"items": { +"$ref": "Actuation" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.", +"type": "string" +}, +"unreachable": { +"description": "Unordered list. Locations that could not be reached.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListDeploymentsResponse": { +"description": "Message for response to listing Deployments", +"id": "ListDeploymentsResponse", +"properties": { +"deployments": { +"description": "The list of Deployment", +"items": { +"$ref": "Deployment" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A token identifying a page of results the server should return.", +"type": "string" +}, +"unreachable": { +"description": "Unordered list. Locations that could not be reached.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListDiscoveredProfilesResponse": { +"description": "List discovered profile Response returns discovered profiles from agents", +"id": "ListDiscoveredProfilesResponse", +"properties": { +"nextPageToken": { +"description": "Output only. A token identifying a page of results the server should return", +"readOnly": true, +"type": "string" +}, +"unreachable": { +"description": "Locations that could not be reached.", +"items": { +"type": "string" +}, +"type": "array" +}, +"workloadProfiles": { +"description": "Output only. The list of workload profiles", +"items": { +"$ref": "WorkloadProfile" +}, +"readOnly": true, +"type": "array" +} +}, +"type": "object" +}, +"ListEvaluationsResponse": { +"description": "Message for response to listing Evaluations", +"id": "ListEvaluationsResponse", +"properties": { +"evaluations": { +"description": "The list of Evaluation", +"items": { +"$ref": "Evaluation" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A token identifying a page of results the server should return.", +"type": "string" +}, +"unreachable": { +"description": "Locations that could not be reached.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListExecutionResultsResponse": { +"description": "Message for response of list execution results", +"id": "ListExecutionResultsResponse", +"properties": { +"executionResults": { +"description": "The versions from the specified publisher.", +"items": { +"$ref": "ExecutionResult" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.", +"type": "string" +} +}, +"type": "object" +}, +"ListExecutionsResponse": { +"description": "Message for response to listing Executions", +"id": "ListExecutionsResponse", +"properties": { +"executions": { +"description": "The list of Execution", +"items": { +"$ref": "Execution" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A token identifying a page of results the server should return.", +"type": "string" +}, +"unreachable": { +"description": "Locations that could not be reached.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListLocationsResponse": { +"description": "The response message for Locations.ListLocations.", +"id": "ListLocationsResponse", +"properties": { +"locations": { +"description": "A list of locations that matches the specified filter in the request.", +"items": { +"$ref": "Location" +}, +"type": "array" +}, +"nextPageToken": { +"description": "The standard List next-page token.", +"type": "string" +} +}, +"type": "object" +}, +"ListOperationsResponse": { +"description": "The response message for Operations.ListOperations.", +"id": "ListOperationsResponse", +"properties": { +"nextPageToken": { +"description": "The standard List next-page token.", +"type": "string" +}, +"operations": { +"description": "A list of operations that matches the specified filter in the request.", +"items": { +"$ref": "Operation" +}, +"type": "array" +}, +"unreachable": { +"description": "Unordered list. Unreachable resources. Populated when the request sets `ListOperationsRequest.return_partial_success` and reads across collections. For example, when attempting to list all resources across all supported locations.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListRulesResponse": { +"description": "Mesesage of response of list rules", +"id": "ListRulesResponse", +"properties": { +"invalidRulesWrapper": { +"$ref": "InvalidRulesWrapper", +"description": "A wrapper of the invalid rules that failed to be validated." +}, +"rules": { +"description": "all rules in response", +"items": { +"$ref": "Rule" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListScannedResourcesResponse": { +"description": "Message for response to list scanned resources", +"id": "ListScannedResourcesResponse", +"properties": { +"nextPageToken": { +"description": "A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.", +"type": "string" +}, +"scannedResources": { +"description": "All scanned resources in response", +"items": { +"$ref": "ScannedResource" +}, +"type": "array" +} +}, +"type": "object" +}, +"Location": { +"description": "A resource that represents a Google Cloud location.", +"id": "Location", +"properties": { +"displayName": { +"description": "The friendly name for this location, typically a nearby city name. For example, \"Tokyo\".", +"type": "string" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Cross-service attributes for the location. For example {\"cloud.googleapis.com/region\": \"us-east1\"}", +"type": "object" +}, +"locationId": { +"description": "The canonical id for this location. For example: `\"us-east1\"`.", +"type": "string" +}, +"metadata": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "Service-specific metadata. For example the available capacity at the given location.", +"type": "object" +}, +"name": { +"description": "Resource name for the location, which may vary between implementations. For example: `\"projects/example-project/locations/us-east1\"`", +"type": "string" +} +}, +"type": "object" +}, +"LocationDetails": { +"description": "Message for sap instant details", +"id": "LocationDetails", +"properties": { +"createCommsFirewall": { +"description": "Optional. create firewall, if true, create firewall for the deployment. This field provides an option to not always create firewall for the deployment.", +"type": "boolean" +}, +"customTags": { +"description": "Optional. network tags", +"items": { +"type": "string" +}, +"type": "array" +}, +"deploymentDnsEnabled": { +"description": "Optional. when user skip DNS configuration from UI, deployment_dns_enabled=false otherwise deployment_dns_enabled=true", +"type": "boolean" +}, +"dnsZone": { +"description": "Optional. dns zone name", +"type": "string" +}, +"dnsZoneNameSuffix": { +"description": "Optional. dns_zone_name_suffix", +"type": "string" +}, +"internetAccess": { +"enum": [ +"INTERNETACCESS_UNSPECIFIED", +"ALLOW_EXTERNAL_IP", +"CONFIGURE_NAT" +], +"enumDescriptions": [ +"", +"", +"" +], +"type": "string" +}, +"networkProject": { +"description": "Optional. network project", +"type": "string" +}, +"regionName": { +"description": "Required. region_name", +"type": "string" +}, +"subnetName": { +"description": "Required. subnet_name", +"type": "string" +}, +"vpcName": { +"description": "Required. vpc_name", +"type": "string" +}, +"zone1Name": { +"description": "Required. zone1_name", +"type": "string" +}, +"zone2Name": { +"description": "Optional. zone2_name", +"type": "string" +} +}, +"type": "object" +}, +"Notice": { +"description": "Message for additional information generated by the execution", +"id": "Notice", +"properties": { +"message": { +"description": "Output only. Message of the notice", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"OpenShiftValidation": { +"description": "A presentation of OpenShift workload insight. The schema of OpenShift workloads validation related data.", +"id": "OpenShiftValidation", +"properties": { +"clusterId": { +"description": "Required. The OpenShift cluster ID (e.g. 8371bb05-7cac-4d38-82c0-0f58c4f6f936).", +"type": "string" +}, +"validationDetails": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"description": "Required. The validation details of the OpenShift cluster in JSON format.", +"type": "object" +} +}, +"type": "object" +}, +"Operation": { +"description": "This resource represents a long-running operation that is the result of a network API call.", +"id": "Operation", +"properties": { +"done": { +"description": "If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.", +"type": "boolean" +}, +"error": { +"$ref": "Status", +"description": "The error result of the operation in case of failure or cancellation." +}, +"metadata": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.", +"type": "object" +}, +"name": { +"description": "The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.", +"type": "string" +}, +"response": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "The normal, successful response of the operation. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.", +"type": "object" +} +}, +"type": "object" +}, +"OperationMetadata": { +"description": "Represents the metadata of the long-running operation.", +"id": "OperationMetadata", +"properties": { +"apiVersion": { +"description": "Output only. API version used to start the operation.", +"readOnly": true, +"type": "string" +}, +"createTime": { +"description": "Output only. The time the operation was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"endTime": { +"description": "Output only. The time the operation finished running.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"requestedCancellation": { +"description": "Output only. Identifies whether the user has requested cancellation of the operation. Operations that have been cancelled successfully have Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.", +"readOnly": true, +"type": "boolean" +}, +"statusMessage": { +"description": "Output only. Human-readable status of the operation, if any.", +"readOnly": true, +"type": "string" +}, +"target": { +"description": "Output only. Server-defined resource path for the target of the operation.", +"readOnly": true, +"type": "string" +}, +"verb": { +"description": "Output only. Name of the verb executed by the operation.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"Pacemaker": { +"description": "pacemaker configuration", +"id": "Pacemaker", +"properties": { +"bucketNameNodeCertificates": { +"description": "Required. bucket location for node certificates", +"type": "string" +}, +"pacemakerCluster": { +"description": "Required. pacemaker cluster name", +"type": "string" +}, +"pacemakerClusterSecret": { +"description": "Required. pacemaker cluster secret name", +"type": "string" +}, +"pacemakerClusterUsername": { +"description": "Required. pacemaker cluster username", +"type": "string" +}, +"sqlPacemakerSecret": { +"description": "Required. sql pacemaker secret name", +"type": "string" +}, +"sqlPacemakerUsername": { +"description": "Required. sql pacemaker username", +"type": "string" +} +}, +"type": "object" +}, +"Product": { +"description": "Contains the details of a product.", +"id": "Product", +"properties": { +"name": { +"description": "Optional. Name of the product.", +"type": "string" +}, +"version": { +"description": "Optional. Version of the product.", +"type": "string" +} +}, +"type": "object" +}, +"Resource": { +"description": "Message represent resource in execution result", +"id": "Resource", +"properties": { +"name": { +"description": "The name of the resource.", +"type": "string" +}, +"serviceAccount": { +"description": "The service account associated with the resource.", +"type": "string" +}, +"type": { +"description": "The type of resource.", +"type": "string" +} +}, +"type": "object" +}, +"ResourceFilter": { +"description": "Message describing resource filters", +"id": "ResourceFilter", +"properties": { +"gceInstanceFilter": { +"$ref": "GceInstanceFilter", +"description": "Filter compute engine resource" +}, +"inclusionLabels": { +"additionalProperties": { +"type": "string" +}, +"description": "The label used for filter resource", +"type": "object" +}, +"resourceIdPatterns": { +"description": "The id pattern for filter resource", +"items": { +"type": "string" +}, +"type": "array" +}, +"scopes": { +"description": "The scopes of evaluation resource", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ResourceStatus": { +"description": "Message describing resource status", +"id": "ResourceStatus", +"properties": { +"rulesNewerVersions": { +"deprecated": true, +"description": "Historical: Used before 2023-05-22 the new version of rule id if exists", +"items": { +"type": "string" +}, +"type": "array" +}, +"state": { +"description": "State of the resource", +"enum": [ +"STATE_UNSPECIFIED", +"CREATING", +"ACTIVE", +"DELETING" +], +"enumDescriptions": [ +"The state has not been populated in this message.", +"Resource has an active Create operation.", +"Resource has no outstanding operations on it or has active Update operations.", +"Resource has an active Delete operation." +], +"type": "string" +} +}, +"type": "object" +}, +"Rule": { +"description": "Message represent a rule", +"id": "Rule", +"properties": { +"assetType": { +"description": "The CAI asset type of the rule is evaluating, for joined asset types, it will be the corresponding primary asset types.", +"type": "string" +}, +"description": { +"description": "descrite rule in plain language", +"type": "string" +}, +"displayName": { +"description": "the name display in UI", +"type": "string" +}, +"errorMessage": { +"description": "the message template for rule", +"type": "string" +}, +"name": { +"description": "rule name", +"type": "string" +}, +"primaryCategory": { +"description": "the primary category", +"type": "string" +}, +"remediation": { +"description": "the remediation for the rule", +"type": "string" +}, +"revisionId": { +"description": "Output only. the version of the rule", +"readOnly": true, +"type": "string" +}, +"ruleType": { +"description": "The type of the rule.", +"enum": [ +"RULE_TYPE_UNSPECIFIED", +"BASELINE", +"CUSTOM" +], +"enumDescriptions": [ +"Not specified.", +"Baseline rules", +"Custom rules" +], +"type": "string" +}, +"secondaryCategory": { +"description": "the secondary category", +"type": "string" +}, +"severity": { +"description": "the severity of the rule", +"type": "string" +}, +"tags": { +"description": "List of user-defined tags", +"items": { +"type": "string" +}, +"type": "array" +}, +"uri": { +"description": "the docuement url for the rule", +"type": "string" +} +}, +"type": "object" +}, +"RuleExecutionResult": { +"description": "Message for execution result summary per rule", +"id": "RuleExecutionResult", +"properties": { +"message": { +"description": "Execution message, if any", +"type": "string" +}, +"resultCount": { +"description": "Number of violations", +"format": "int64", +"type": "string" +}, +"rule": { +"description": "rule name", +"type": "string" +}, +"scannedResourceCount": { +"description": "Number of total scanned resources", +"format": "int64", +"type": "string" +}, +"state": { +"description": "Output only. The execution status", +"enum": [ +"STATE_UNSPECIFIED", +"STATE_SUCCESS", +"STATE_FAILURE", +"STATE_SKIPPED" +], +"enumDescriptions": [ +"Unknown state", +"execution completed successfully", +"execution completed with failures", +"execution was not executed" +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"RuleOutput": { +"description": "The rule output of the violation.", +"id": "RuleOutput", +"properties": { +"details": { +"additionalProperties": { +"type": "string" +}, +"description": "Output only. Violation details generated by rule.", +"readOnly": true, +"type": "object" +}, +"message": { +"description": "Output only. The message generated by rule.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"RunEvaluationRequest": { +"description": "Message for creating a Execution", +"id": "RunEvaluationRequest", +"properties": { +"execution": { +"$ref": "Execution", +"description": "Required. The resource being created" +}, +"executionId": { +"description": "Required. Id of the requesting object If auto-generating Id server-side, remove this field and execution_id from the method_signature of Create RPC", +"type": "string" +}, +"requestId": { +"description": "Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", +"type": "string" +} +}, +"type": "object" +}, +"SapComponent": { +"description": "The component of sap workload", +"id": "SapComponent", +"properties": { +"databaseProperties": { +"$ref": "DatabaseProperties", +"description": "Output only. All instance properties.", +"readOnly": true +}, +"haHosts": { +"description": "List of host URIs that are part of the HA configuration if present. An empty list indicates the component is not configured for HA.", +"items": { +"type": "string" +}, +"type": "array" +}, +"resources": { +"description": "Output only. resources in the component", +"items": { +"$ref": "CloudResource" +}, +"readOnly": true, +"type": "array" +}, +"sid": { +"description": "Output only. sid is the sap component identificator", +"readOnly": true, +"type": "string" +}, +"topologyType": { +"description": "The detected topology of the component.", +"enum": [ +"TOPOLOGY_TYPE_UNSPECIFIED", +"TOPOLOGY_SCALE_UP", +"TOPOLOGY_SCALE_OUT" +], +"enumDescriptions": [ +"Unspecified topology.", +"A scale-up single node system.", +"A scale-out multi-node system." +], +"type": "string" +} +}, +"type": "object" +}, +"SapDiscovery": { +"description": "The schema of SAP system discovery data.", +"id": "SapDiscovery", +"properties": { +"applicationLayer": { +"$ref": "SapDiscoveryComponent", +"description": "Optional. An SAP system may run without an application layer." +}, +"databaseLayer": { +"$ref": "SapDiscoveryComponent", +"description": "Required. An SAP System must have a database." +}, +"metadata": { +"$ref": "SapDiscoveryMetadata", +"description": "Optional. The metadata for SAP system discovery data." +}, +"projectNumber": { +"description": "Optional. The GCP project number that this SapSystem belongs to.", +"type": "string" +}, +"systemId": { +"description": "Output only. A combination of database SID, database instance URI and tenant DB name to make a unique identifier per-system.", +"readOnly": true, +"type": "string" +}, +"updateTime": { +"description": "Required. Unix timestamp this system has been updated last.", +"format": "google-datetime", +"type": "string" +}, +"useDrReconciliation": { +"description": "Optional. Whether to use DR reconciliation or not.", +"type": "boolean" +}, +"workloadProperties": { +"$ref": "SapDiscoveryWorkloadProperties", +"description": "Optional. The properties of the workload." +} +}, +"type": "object" +}, +"SapDiscoveryComponent": { +"description": "Message describing the system component.", +"id": "SapDiscoveryComponent", +"properties": { +"applicationProperties": { +"$ref": "SapDiscoveryComponentApplicationProperties", +"description": "Optional. The component is a SAP application." +}, +"databaseProperties": { +"$ref": "SapDiscoveryComponentDatabaseProperties", +"description": "Optional. The component is a SAP database." +}, +"haHosts": { +"description": "Optional. A list of host URIs that are part of the HA configuration if present. An empty list indicates the component is not configured for HA.", +"items": { +"type": "string" +}, +"type": "array" +}, +"hostProject": { +"description": "Required. Pantheon Project in which the resources reside.", +"type": "string" +}, +"region": { +"description": "Optional. The region this component's resources are primarily located in.", +"type": "string" +}, +"replicationSites": { +"description": "Optional. A list of replication sites used in Disaster Recovery (DR) configurations.", +"items": { +"$ref": "SapDiscoveryComponentReplicationSite" +}, +"type": "array" +}, +"resources": { +"description": "Optional. The resources in a component.", +"items": { +"$ref": "SapDiscoveryResource" +}, +"type": "array" +}, +"sid": { +"description": "Optional. The SAP identifier, used by the SAP software and helps differentiate systems for customers.", +"type": "string" +}, +"topologyType": { +"description": "Optional. The detected topology of the component.", +"enum": [ +"TOPOLOGY_TYPE_UNSPECIFIED", +"TOPOLOGY_SCALE_UP", +"TOPOLOGY_SCALE_OUT" +], +"enumDescriptions": [ +"Unspecified topology.", +"A scale-up single node system.", +"A scale-out multi-node system." +], +"type": "string" +} +}, +"type": "object" +}, +"SapDiscoveryComponentApplicationProperties": { +"description": "A set of properties describing an SAP Application layer.", +"id": "SapDiscoveryComponentApplicationProperties", +"properties": { +"abap": { +"deprecated": true, +"description": "Optional. Deprecated: ApplicationType now tells you whether this is ABAP or Java.", +"type": "boolean" +}, +"appInstanceNumber": { +"description": "Optional. Instance number of the SAP application instance.", +"type": "string" +}, +"applicationType": { +"description": "Required. Type of the application. Netweaver, etc.", +"enum": [ +"APPLICATION_TYPE_UNSPECIFIED", +"NETWEAVER", +"NETWEAVER_ABAP", +"NETWEAVER_JAVA" +], +"enumDescriptions": [ +"Unspecified application type", +"SAP Netweaver", +"SAP Netweaver ABAP", +"SAP Netweaver Java" +], +"type": "string" +}, +"ascsInstanceNumber": { +"description": "Optional. Instance number of the ASCS instance.", +"type": "string" +}, +"ascsUri": { +"description": "Optional. Resource URI of the recognized ASCS host of the application.", +"type": "string" +}, +"ersInstanceNumber": { +"description": "Optional. Instance number of the ERS instance.", +"type": "string" +}, +"kernelVersion": { +"description": "Optional. Kernel version for Netweaver running in the system.", +"type": "string" +}, +"nfsUri": { +"description": "Optional. Resource URI of the recognized shared NFS of the application. May be empty if the application server has only a single node.", +"type": "string" +} +}, +"type": "object" +}, +"SapDiscoveryComponentDatabaseProperties": { +"description": "A set of properties describing an SAP Database layer.", +"id": "SapDiscoveryComponentDatabaseProperties", +"properties": { +"databaseSid": { +"description": "Optional. SID of the system database.", +"type": "string" +}, +"databaseType": { +"description": "Required. Type of the database. HANA, DB2, etc.", +"enum": [ +"DATABASE_TYPE_UNSPECIFIED", +"HANA", +"MAX_DB", +"DB2", +"ORACLE", +"SQLSERVER", +"ASE" +], +"enumDescriptions": [ +"Unspecified database type.", +"SAP HANA", +"SAP MAX_DB", +"IBM DB2", +"Oracle Database", +"Microsoft SQL Server", +"SAP Sybase ASE" +], +"type": "string" +}, +"databaseVersion": { +"description": "Optional. The version of the database software running in the system.", +"type": "string" +}, +"instanceNumber": { +"description": "Optional. Instance number of the SAP instance.", +"type": "string" +}, +"landscapeId": { +"description": "Optional. Landscape ID from the HANA nameserver.", +"type": "string" +}, +"primaryInstanceUri": { +"description": "Required. URI of the recognized primary instance of the database.", +"type": "string" +}, +"sharedNfsUri": { +"description": "Optional. URI of the recognized shared NFS of the database. May be empty if the database has only a single node.", +"type": "string" +} +}, +"type": "object" +}, +"SapDiscoveryComponentReplicationSite": { +"description": "A replication site used in Disaster Recovery (DR) configurations.", +"id": "SapDiscoveryComponentReplicationSite", +"properties": { +"component": { +"$ref": "SapDiscoveryComponent", +"description": "Optional. The system component for the site." +}, +"sourceSite": { +"description": "Optional. The name of the source site from which this one replicates.", +"type": "string" +} +}, +"type": "object" +}, +"SapDiscoveryMetadata": { +"description": "Message describing SAP discovery system metadata", +"id": "SapDiscoveryMetadata", +"properties": { +"customerRegion": { +"description": "Optional. Customer region string for customer's use. Does not represent GCP region.", +"type": "string" +}, +"definedSystem": { +"description": "Optional. Customer defined, something like \"E-commerce pre prod\"", +"type": "string" +}, +"environmentType": { +"description": "Optional. Should be \"prod\", \"QA\", \"dev\", \"staging\", etc.", +"type": "string" +}, +"sapProduct": { +"description": "Optional. This SAP product name", +"type": "string" +} +}, +"type": "object" +}, +"SapDiscoveryResource": { +"description": "Message describing a resource.", +"id": "SapDiscoveryResource", +"properties": { +"instanceProperties": { +"$ref": "SapDiscoveryResourceInstanceProperties", +"description": "Optional. A set of properties only applying to instance type resources." +}, +"relatedResources": { +"description": "Optional. A list of resource URIs related to this resource.", +"items": { +"type": "string" +}, +"type": "array" +}, +"resourceKind": { +"description": "Required. ComputeInstance, ComputeDisk, VPC, Bare Metal server, etc.", +"enum": [ +"RESOURCE_KIND_UNSPECIFIED", +"RESOURCE_KIND_INSTANCE", +"RESOURCE_KIND_DISK", +"RESOURCE_KIND_ADDRESS", +"RESOURCE_KIND_FILESTORE", +"RESOURCE_KIND_HEALTH_CHECK", +"RESOURCE_KIND_FORWARDING_RULE", +"RESOURCE_KIND_BACKEND_SERVICE", +"RESOURCE_KIND_SUBNETWORK", +"RESOURCE_KIND_NETWORK", +"RESOURCE_KIND_PUBLIC_ADDRESS", +"RESOURCE_KIND_INSTANCE_GROUP" +], +"enumDescriptions": [ +"Unspecified resource kind.", +"This is a compute instance.", +"This is a compute disk.", +"This is a compute address.", +"This is a filestore instance.", +"This is a compute health check.", +"This is a compute forwarding rule.", +"This is a compute backend service.", +"This is a compute subnetwork.", +"This is a compute network.", +"This is a public accessible IP Address.", +"This is a compute instance group." +], +"type": "string" +}, +"resourceType": { +"description": "Required. The type of this resource.", +"enum": [ +"RESOURCE_TYPE_UNSPECIFIED", +"RESOURCE_TYPE_COMPUTE", +"RESOURCE_TYPE_STORAGE", +"RESOURCE_TYPE_NETWORK" +], +"enumDescriptions": [ +"Undefined resource type.", +"This is a compute resource.", +"This a storage resource.", +"This is a network resource." +], +"type": "string" +}, +"resourceUri": { +"description": "Required. URI of the resource, includes project, location, and name.", +"type": "string" +}, +"updateTime": { +"description": "Required. Unix timestamp of when this resource last had its discovery data updated.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"SapDiscoveryResourceInstanceProperties": { +"description": "A set of properties only present for an instance type resource", +"id": "SapDiscoveryResourceInstanceProperties", +"properties": { +"appInstances": { +"description": "Optional. App server instances on the host", +"items": { +"$ref": "SapDiscoveryResourceInstancePropertiesAppInstance" +}, +"type": "array" +}, +"clusterInstances": { +"description": "Optional. A list of instance URIs that are part of a cluster with this one.", +"items": { +"type": "string" +}, +"type": "array" +}, +"diskMounts": { +"description": "Optional. Disk mounts on the instance.", +"items": { +"$ref": "SapDiscoveryResourceInstancePropertiesDiskMount" +}, +"type": "array" +}, +"instanceNumber": { +"deprecated": true, +"description": "Optional. The VM's instance number.", +"format": "int64", +"type": "string" +}, +"instanceRole": { +"description": "Optional. Bitmask of instance role, a resource may have multiple roles at once.", +"enum": [ +"INSTANCE_ROLE_UNSPECIFIED", +"INSTANCE_ROLE_ASCS", +"INSTANCE_ROLE_ERS", +"INSTANCE_ROLE_APP_SERVER", +"INSTANCE_ROLE_DATABASE", +"INSTANCE_ROLE_ASCS_ERS", +"INSTANCE_ROLE_ASCS_APP_SERVER", +"INSTANCE_ROLE_ASCS_DATABASE", +"INSTANCE_ROLE_ERS_APP_SERVER", +"INSTANCE_ROLE_ERS_DATABASE", +"INSTANCE_ROLE_APP_SERVER_DATABASE", +"INSTANCE_ROLE_ASCS_ERS_APP_SERVER", +"INSTANCE_ROLE_ASCS_ERS_DATABASE", +"INSTANCE_ROLE_ASCS_APP_SERVER_DATABASE", +"INSTANCE_ROLE_ERS_APP_SERVER_DATABASE", +"INSTANCE_ROLE_ASCS_ERS_APP_SERVER_DATABASE" +], +"enumDescriptions": [ +"Unspecified instance role.", +"Application central services.", +"Enqueue replication server.", +"Application server.", +"Database node.", +"Combinations of roles. Application central services and enqueue replication server.", +"Application central services and application server.", +"Application central services and database.", +"Enqueue replication server and application server.", +"Enqueue replication server and database.", +"Application server and database.", +"Application central services, enqueue replication server and application server.", +"Application central services, enqueue replication server and database.", +"Application central services, application server and database.", +"Enqueue replication server, application server and database.", +"Application central services, enqueue replication server, application server and database." +], +"type": "string" +}, +"isDrSite": { +"description": "Optional. Instance is part of a DR site.", +"type": "boolean" +}, +"osKernelVersion": { +"$ref": "SapDiscoveryResourceInstancePropertiesKernelVersion", +"description": "Optional. The kernel version of the instance." +}, +"virtualHostname": { +"description": "Optional. A virtual hostname of the instance if it has one.", +"type": "string" +} +}, +"type": "object" +}, +"SapDiscoveryResourceInstancePropertiesAppInstance": { +"description": "Fields to describe an SAP application server instance.", +"id": "SapDiscoveryResourceInstancePropertiesAppInstance", +"properties": { +"name": { +"description": "Optional. Instance name of the SAP application instance.", +"type": "string" +}, +"number": { +"description": "Optional. Instance number of the SAP application instance.", +"type": "string" +} +}, +"type": "object" +}, +"SapDiscoveryResourceInstancePropertiesDiskMount": { +"description": "Disk mount on the instance.", +"id": "SapDiscoveryResourceInstancePropertiesDiskMount", +"properties": { +"diskNames": { +"description": "Optional. Names of the disks providing this mount point.", +"items": { +"type": "string" +}, +"type": "array" +}, +"mountPoint": { +"description": "Optional. Filesystem mount point.", +"type": "string" +}, +"name": { +"description": "Optional. Name of the disk.", +"type": "string" +} +}, +"type": "object" +}, +"SapDiscoveryResourceInstancePropertiesKernelVersion": { +"description": "KernelVersion encapsulates the kernel version data for the system.", +"id": "SapDiscoveryResourceInstancePropertiesKernelVersion", +"properties": { +"distroKernel": { +"$ref": "SapDiscoveryResourceInstancePropertiesKernelVersionVersion", +"description": "Optional. Captures the distro-specific kernel version, the portion of the string following the first dash." +}, +"osKernel": { +"$ref": "SapDiscoveryResourceInstancePropertiesKernelVersionVersion", +"description": "Optional. Captures the OS-specific kernel version, the portion of the string up to the first dash." +}, +"rawString": { +"description": "Optional. Raw string of the kernel version.", +"type": "string" +} +}, +"type": "object" +}, +"SapDiscoveryResourceInstancePropertiesKernelVersionVersion": { +"description": "Version is reported as Major.Minor.Build.Patch.", +"id": "SapDiscoveryResourceInstancePropertiesKernelVersionVersion", +"properties": { +"build": { +"description": "Optional. The build version number.", +"format": "int32", +"type": "integer" +}, +"major": { +"description": "Optional. The major version number.", +"format": "int32", +"type": "integer" +}, +"minor": { +"description": "Optional. The minor version number.", +"format": "int32", +"type": "integer" +}, +"patch": { +"description": "Optional. The patch version number.", +"format": "int32", +"type": "integer" +}, +"remainder": { +"description": "Optional. A catch-all for any unparsed version components. This is in case the number of points in the version string exceeds the expected count of 4.", +"type": "string" +} +}, +"type": "object" +}, +"SapDiscoveryWorkloadProperties": { +"description": "A set of properties describing an SAP workload.", +"id": "SapDiscoveryWorkloadProperties", +"properties": { +"productVersions": { +"description": "Optional. List of SAP Products and their versions running on the system.", +"items": { +"$ref": "SapDiscoveryWorkloadPropertiesProductVersion" +}, +"type": "array" +}, +"softwareComponentVersions": { +"description": "Optional. A list of SAP software components and their versions running on the system.", +"items": { +"$ref": "SapDiscoveryWorkloadPropertiesSoftwareComponentProperties" +}, +"type": "array" +} +}, +"type": "object" +}, +"SapDiscoveryWorkloadPropertiesProductVersion": { +"description": "A product name and version.", +"id": "SapDiscoveryWorkloadPropertiesProductVersion", +"properties": { +"name": { +"description": "Optional. Name of the product.", +"type": "string" +}, +"version": { +"description": "Optional. Version of the product.", +"type": "string" +} +}, +"type": "object" +}, +"SapDiscoveryWorkloadPropertiesSoftwareComponentProperties": { +"description": "A SAP software component name, version, and type.", +"id": "SapDiscoveryWorkloadPropertiesSoftwareComponentProperties", +"properties": { +"extVersion": { +"description": "Optional. The component's minor version.", +"type": "string" +}, +"name": { +"description": "Optional. Name of the component.", +"type": "string" +}, +"type": { +"description": "Optional. The component's type.", +"type": "string" +}, +"version": { +"description": "Optional. The component's major version.", +"type": "string" +} +}, +"type": "object" +}, +"SapInstanceProperties": { +"description": "SAP instance properties.", +"id": "SapInstanceProperties", +"properties": { +"agentStates": { +"$ref": "AgentStates", +"description": "Optional. Sap Instance Agent status." +}, +"numbers": { +"description": "Optional. SAP Instance numbers. They are from '00' to '99'.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"SapSystemS4Config": { +"description": "Message for sap system workload", +"id": "SapSystemS4Config", +"properties": { +"allowStoppingForUpdate": { +"type": "boolean" +}, +"ansibleRunnerServiceAccount": { +"description": "Ansible runner service account - let custoemrs bring their own SA for Ansible runner", +"type": "string" +}, +"app": { +"$ref": "AppDetails", +"description": "instance details" +}, +"database": { +"$ref": "DatabaseDetails", +"description": "database details" +}, +"deploymentModel": { +"description": "Required. two model non-HA and HA supported", +"enum": [ +"DEPLOYMENT_MODEL_UNSPECIFIED", +"DISTRIBUTED", +"DISTRIBUTED_HA" +], +"enumDescriptions": [ +"", +"", +"" +], +"type": "string" +}, +"environmentType": { +"description": "Required. deployment environment", +"enum": [ +"ENVIRONMENT_TYPE_UNSPECIFIED", +"NON_PRODUCTION", +"PRODUCTION" +], +"enumDescriptions": [ +"Unspecified environment type", +"Non-production environment type", +"Production environment type" +], +"type": "string" +}, +"gcpProjectId": { +"description": "the project that infrastructure deployed, current only support the same project where the deployment resource exist.", +"type": "string" +}, +"location": { +"$ref": "LocationDetails", +"description": "database details" +}, +"mediaBucketName": { +"description": "Required. media_bucket_name", +"type": "string" +}, +"sapBootDiskImage": { +"description": "Optional. sap_boot_disk_image", +"type": "string" +}, +"scalingMethod": { +"description": "Required. support scale up and scale out", +"enum": [ +"SCALE_METHOD_UNSPECIFIED", +"SCALE_UP", +"SCALE_OUT" +], +"enumDescriptions": [ +"", +"Scale up: Increases the size of a physical machine by increasing the amount of RAM and CPU available for processing", +"Scale out: Combines multiple independent computers into one system" +], +"type": "string" +}, +"version": { +"description": "Required. sap hana version", +"enum": [ +"VERSION_UNSPECIFIED", +"S4_HANA_2021", +"S4_HANA_2022", +"S4_HANA_2023" +], +"enumDescriptions": [ +"", +"", +"", +"" +], +"type": "string" +}, +"vmPrefix": { +"description": "vm_prefix", +"type": "string" +} +}, +"type": "object" +}, +"SapValidation": { +"description": "A presentation of SAP workload insight. The schema of SAP workloads validation related data.", +"id": "SapValidation", +"properties": { +"projectId": { +"description": "Required. The project_id of the cloud project that the Insight data comes from.", +"type": "string" +}, +"validationDetails": { +"description": "Optional. A list of SAP validation metrics data.", +"items": { +"$ref": "SapValidationValidationDetail" +}, +"type": "array" +}, +"zone": { +"description": "Optional. The zone of the instance that the Insight data comes from.", +"type": "string" +} +}, +"type": "object" +}, +"SapValidationValidationDetail": { +"description": "Message describing the SAP validation metrics.", +"id": "SapValidationValidationDetail", +"properties": { +"details": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. The pairs of metrics data: field name & field value.", +"type": "object" +}, +"isPresent": { +"description": "Optional. Was there a SAP system detected for this validation type.", +"type": "boolean" +}, +"sapValidationType": { +"description": "Optional. The SAP system that the validation data is from.", +"enum": [ +"SAP_VALIDATION_TYPE_UNSPECIFIED", +"SYSTEM", +"COROSYNC", +"PACEMAKER", +"HANA", +"NETWEAVER", +"HANA_SECURITY", +"CUSTOM" +], +"enumDescriptions": [ +"Unspecified type.", +"The SYSTEM validation type collects underlying system data from the VM.", +"The COROSYNC validation type collects Corosync configuration and runtime data. Corosync enables servers to interact as a HA cluster.", +"The PACEMAKER validation type collects Pacemaker configuration data. Pacemaker is a high-availability cluster resource manager.", +"The HANA validation type collects HANA configuration data. SAP HANA is an in-memory, column-oriented, relational database management system.", +"The NETWEAVER validation type collects NetWeaver configuration data. SAP NetWeaver is a software stack for many of SAP SE's applications.", +"The HANA_SECURITY validation type collects HANA configuration data as it relates to SAP security best practices.", +"The CUSTOM validation type collects any customer-defined data that does not fall into any of the other categories of validations." +], +"type": "string" +} +}, +"type": "object" +}, +"SapWorkload": { +"description": "The body of sap workload", +"id": "SapWorkload", +"properties": { +"application": { +"$ref": "SapComponent", +"description": "Output only. application component", +"readOnly": true +}, +"architecture": { +"description": "Output only. The architecture.", +"enum": [ +"ARCHITECTURE_UNSPECIFIED", +"INVALID", +"CENTRALIZED", +"DISTRIBUTED", +"DISTRIBUTED_HA", +"STANDALONE_DATABASE", +"STANDALONE_DATABASE_HA" +], +"enumDescriptions": [ +"Unspecified architecture.", +"Invaliad architecture.", +"A centralized system.", +"A distributed system.", +"A distributed with HA system.", +"A standalone database system.", +"A standalone database with HA system." +], +"readOnly": true, +"type": "string" +}, +"database": { +"$ref": "SapComponent", +"description": "Output only. database component", +"readOnly": true +}, +"metadata": { +"additionalProperties": { +"type": "string" +}, +"description": "Output only. The metadata for SAP workload.", +"readOnly": true, +"type": "object" +}, +"products": { +"description": "Output only. The products on this workload.", +"items": { +"$ref": "Product" +}, +"readOnly": true, +"type": "array" +} +}, +"type": "object" +}, +"ScannedResource": { +"description": "Message of scanned resource", +"id": "ScannedResource", +"properties": { +"resource": { +"description": "resource name", +"type": "string" +}, +"type": { +"description": "resource type", +"type": "string" +} +}, +"type": "object" +}, +"ServiceStates": { +"description": "The state of the service.", +"id": "ServiceStates", +"properties": { +"iamPermissions": { +"description": "Optional. Output only. The IAM permissions for the service.", +"items": { +"$ref": "IAMPermission" +}, +"readOnly": true, +"type": "array" +}, +"state": { +"description": "Output only. The overall state of the service.", +"enum": [ +"STATE_UNSPECIFIED", +"CONFIG_FAILURE", +"IAM_FAILURE", +"FUNCTIONALITY_FAILURE", +"ENABLED", +"DISABLED" +], +"enumDescriptions": [ +"The state is unspecified.", +"The state means the service has config errors.", +"The state means the service has IAM permission errors.", +"The state means the service has functionality errors.", +"The state means the service has no error.", +"The state means the service disabled." +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"ShellCommand": { +"description": "* A ShellCommand is invoked via the agent's command line executor", +"id": "ShellCommand", +"properties": { +"args": { +"description": "args is a string of arguments to be passed to the command.", +"type": "string" +}, +"command": { +"description": "command is the name of the command to be executed.", +"type": "string" +}, +"timeoutSeconds": { +"description": "Optional. If not specified, the default timeout is 60 seconds.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"SqlLocationDetails": { +"description": "Location and networking details for configuring SQL server workload", +"id": "SqlLocationDetails", +"properties": { +"dnsZone": { +"description": "Optional. create a new DNS Zone when the field is empty, Only show for `Using an existing DNS` List of existing DNS Zones tf variable name: existing_dns_zone_name", +"type": "string" +}, +"gcpProjectId": { +"description": "Required. the project that infrastructure deployed, currently only supports the same project where the deployment resource exists.", +"type": "string" +}, +"internetAccess": { +"description": "Required. Internet Access", +"enum": [ +"INTERNET_ACCESS_UNSPECIFIED", +"ALLOW_EXTERNAL_IP", +"CONFIGURE_NAT" +], +"enumDescriptions": [ +"Unspecified internet access", +"Allow external IP", +"Configure NAT" +], +"type": "string" +}, +"network": { +"description": "Required. network name", +"type": "string" +}, +"primaryZone": { +"description": "Required. primary zone", +"type": "string" +}, +"region": { +"description": "Required. region name", +"type": "string" +}, +"secondaryZone": { +"description": "Optional. secondary zone can't be same as primary_zone and is only for High Availability deployment mode", +"type": "string" +}, +"subnetwork": { +"description": "Required. subnetwork name", +"type": "string" +}, +"tertiaryZone": { +"description": "Optional. teriary zone can't be same as primary_zone and secondary zone, and it is only for High Availability deployment mode", +"type": "string" +} +}, +"type": "object" +}, +"SqlServerWorkload": { +"description": "Message for MS SQL workload", +"id": "SqlServerWorkload", +"properties": { +"activeDirectory": { +"$ref": "ActiveDirectory", +"description": "Required. active directory details" +}, +"computeEngineServiceAccount": { +"description": "Compute engine service account - let customers bring their own SA for Compute engine", +"type": "string" +}, +"database": { +"$ref": "Database", +"description": "Required. database details" +}, +"deploymentModel": { +"description": "Required. HIGH_AVAILABILITY or SINGLE_INSTANCE", +"enum": [ +"DEPLOYMENT_MODEL_UNSPECIFIED", +"HIGH_AVAILABILITY", +"SINGLE_INSTANCE" +], +"enumDescriptions": [ +"Unspecified deployment model", +"High Availability deployment model", +"Single Instance deployment model" +], +"type": "string" +}, +"environmentType": { +"description": "Required. deployment environment", +"enum": [ +"ENVIRONMENT_TYPE_UNSPECIFIED", +"NON_PRODUCTION", +"PRODUCTION" +], +"enumDescriptions": [ +"Unspecified environment type", +"Non-production environment type", +"Production environment type" +], +"type": "string" +}, +"fciType": { +"description": "Optional. SHARED_DISK or S2D", +"enum": [ +"FCI_TYPE_UNSPECIFIED", +"SHARED_DISK", +"S2D" +], +"enumDescriptions": [ +"Unspecified FCI type", +"SHARED DISK FCI type", +"S2D FCI type" +], +"type": "string" +}, +"haType": { +"description": "Optional. AOAG or FCI, it is only needed for High Availability deployment mode", +"enum": [ +"HA_TYPE_UNSPECIFIED", +"AOAG", +"FCI" +], +"enumDescriptions": [ +"Unspecified HA type", +"AOAG HA type", +"FCI HA type" +], +"type": "string" +}, +"isSqlPayg": { +"description": "Required. SQL licensing type", +"type": "boolean" +}, +"location": { +"$ref": "SqlLocationDetails", +"description": "Required. location details" +}, +"mediaBucket": { +"description": "Required. name of the media storing SQL server installation files", +"type": "string" +}, +"operatingSystemType": { +"description": "Required. type of the operating system the SQL server is going to run on top of", +"enum": [ +"OPERATING_SYSTEM_TYPE_UNSPECIFIED", +"WINDOWS", +"UBUNTU", +"RED_HAT_ENTERPRISE_LINUX", +"SUSE" +], +"enumDescriptions": [ +"Unspecified operating system type", +"Windows operating system type", +"Ubuntu operating system type", +"Red Hat Enterprise Linux operating system type", +"Suse operating system type" +], +"type": "string" +}, +"osImage": { +"description": "Required. the image of the operating system", +"type": "string" +}, +"osImageType": { +"description": "Optional. OS image type, it's used to create boot disks for VM instances When either Windows licensing type or SQL licensing type is BYOL, this option is disabled and default to custom image", +"enum": [ +"OS_IMAGE_TYPE_UNSPECIFIED", +"PUBLIC_IMAGE", +"CUSTOM_IMAGE" +], +"enumDescriptions": [ +"Unspecified OS image type", +"Public image", +"Custom image" +], +"type": "string" +}, +"pacemaker": { +"$ref": "Pacemaker", +"description": "Optional. pacemaker configuration, only applicable for Linux HA deployments" +}, +"sqlServerEdition": { +"description": "Optional. SQL Server Edition type, only applicable when Operating System is Linux", +"enum": [ +"SQL_SERVER_EDITION_TYPE_UNSPECIFIED", +"SQL_SERVER_EDITION_TYPE_DEVELOPER", +"SQL_SERVER_EDITION_TYPE_ENTERPRISE", +"SQL_SERVER_EDITION_TYPE_STANDARD", +"SQL_SERVER_EDITION_TYPE_WEB" +], +"enumDescriptions": [ +"Unspecified type", +"Developer type", +"Enterprise type", +"Standard type", +"Web type" +], +"type": "string" +}, +"sqlServerVersion": { +"description": "Optional. 2017 or 2019 or 2022", +"enum": [ +"SQL_SERVER_VERSION_TYPE_UNSPECIFIED", +"SQL_SERVER_VERSION_TYPE_2017", +"SQL_SERVER_VERSION_TYPE_2019", +"SQL_SERVER_VERSION_TYPE_2022" +], +"enumDescriptions": [ +"Unspecified type", +"2017 type", +"2019 type", +"2022 type" +], +"type": "string" +}, +"vmPrefix": { +"description": "Required. should be unique in the project", +"type": "string" +} +}, +"type": "object" +}, +"SqlserverValidation": { +"description": "A presentation of SQLServer workload insight. The schema of SqlServer workloads validation related data.", +"id": "SqlserverValidation", +"properties": { +"agentVersion": { +"description": "Optional. The agent version collected this data point", +"type": "string" +}, +"instance": { +"description": "Required. The instance_name of the instance that the Insight data comes from. According to https://linter.aip.dev/122/name-suffix: field names should not use the _name suffix unless the field would be ambiguous without it.", +"type": "string" +}, +"projectId": { +"description": "Required. The project_id of the cloud project that the Insight data comes from.", +"type": "string" +}, +"validationDetails": { +"description": "Optional. A list of SqlServer validation metrics data.", +"items": { +"$ref": "SqlserverValidationValidationDetail" +}, +"type": "array" +} +}, +"type": "object" +}, +"SqlserverValidationDetails": { +"description": "Message containing collected data names and values.", +"id": "SqlserverValidationDetails", +"properties": { +"fields": { +"additionalProperties": { +"type": "string" +}, +"description": "Required. Collected data is in format.", +"type": "object" +} +}, +"type": "object" +}, +"SqlserverValidationValidationDetail": { +"description": "Message describing the Sqlserver validation metrics.", +"id": "SqlserverValidationValidationDetail", +"properties": { +"details": { +"description": "Required. Details wraps map that represents collected data names and values.", +"items": { +"$ref": "SqlserverValidationDetails" +}, +"type": "array" +}, +"type": { +"description": "Optional. The Sqlserver system that the validation data is from.", +"enum": [ +"SQLSERVER_VALIDATION_TYPE_UNSPECIFIED", +"OS", +"DB_LOG_DISK_SEPARATION", +"DB_MAX_PARALLELISM", +"DB_CXPACKET_WAITS", +"DB_TRANSACTION_LOG_HANDLING", +"DB_VIRTUAL_LOG_FILE_COUNT", +"DB_BUFFER_POOL_EXTENSION", +"DB_MAX_SERVER_MEMORY", +"INSTANCE_METRICS", +"DB_INDEX_FRAGMENTATION", +"DB_TABLE_INDEX_COMPRESSION", +"DB_BACKUP_POLICY" +], +"enumDescriptions": [ +"Unspecified type.", +"The Sqlserver system named OS.", +"The LOG_DISK_SEPARATION table.", +"The MAX_PARALLELISM table.", +"The CXPACKET_WAITS table.", +"The TRANSACTION_LOG_HANDLING table.", +"The VIRTUAL_LOG_FILE_COUNT table.", +"The BUFFER_POOL_EXTENSION table.", +"The MAX_SERVER_MEMORY table.", +"The INSTANCE_METRICS table.", +"The DB_INDEX_FRAGMENTATION table.", +"The DB_TABLE_INDEX_COMPRESSION table.", +"The DB_BACKUP_POLICY table." +], +"type": "string" +} +}, +"type": "object" +}, +"Status": { +"description": "The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors).", +"id": "Status", +"properties": { +"code": { +"description": "The status code, which should be an enum value of google.rpc.Code.", +"format": "int32", +"type": "integer" +}, +"details": { +"description": "A list of messages that carry the error details. There is a common set of message types for APIs to use.", +"items": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.", +"type": "string" +} +}, +"type": "object" +}, +"Summary": { +"description": "Message for execution summary", +"id": "Summary", +"properties": { +"failures": { +"description": "Output only. Number of failures", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"newFailures": { +"description": "Output only. Number of new failures compared to the previous execution", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"newFixes": { +"description": "Output only. Number of new fixes compared to the previous execution", +"format": "int64", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"TerraformVariable": { +"description": "In order to align with Infra Manager dependency, we create the same TerraformVariable message to represent a Terraform input variable, by following Infra Manager's API documentation: https://cloud.google.com/infrastructure-manager/docs/reference/rest A Terraform input variable.", +"id": "TerraformVariable", +"properties": { +"inputValue": { +"description": "Optional. Input variable value.", +"type": "any" +} +}, +"type": "object" +}, +"TorsoValidation": { +"description": "The schema of torso workload validation data.", +"id": "TorsoValidation", +"properties": { +"agentVersion": { +"description": "Required. agent_version lists the version of the agent that collected this data.", +"type": "string" +}, +"instanceName": { +"description": "Optional. instance_name lists the human readable name of the instance that the data comes from.", +"type": "string" +}, +"projectId": { +"description": "Required. project_id lists the human readable cloud project that the data comes from.", +"type": "string" +}, +"validationDetails": { +"additionalProperties": { +"type": "string" +}, +"description": "Required. validation_details contains the pairs of validation data: field name & field value.", +"type": "object" +}, +"workloadType": { +"description": "Required. workload_type specifies the type of torso workload.", +"enum": [ +"WORKLOAD_TYPE_UNSPECIFIED", +"MYSQL", +"ORACLE", +"REDIS" +], +"enumDescriptions": [ +"Unspecified workload type.", +"MySQL workload.", +"Oracle workload.", +"Redis workload." +], +"type": "string" +} +}, +"type": "object" +}, +"UpcomingMaintenanceEvent": { +"description": "Maintenance Event", +"id": "UpcomingMaintenanceEvent", +"properties": { +"endTime": { +"description": "Optional. End time", +"format": "google-datetime", +"type": "string" +}, +"maintenanceStatus": { +"description": "Optional. Maintenance status", +"type": "string" +}, +"onHostMaintenance": { +"description": "Optional. Instance maintenance behavior. Could be `MIGRATE` or `TERMINATE`.", +"type": "string" +}, +"startTime": { +"description": "Optional. Start time", +"format": "google-datetime", +"type": "string" +}, +"type": { +"description": "Optional. Type", +"type": "string" +} +}, +"type": "object" +}, +"ViolationDetails": { +"description": "Message describing the violation in an evaluation result.", +"id": "ViolationDetails", +"properties": { +"asset": { +"description": "The name of the asset.", +"type": "string" +}, +"observed": { +"additionalProperties": { +"type": "string" +}, +"description": "Details of the violation.", +"type": "object" +}, +"ruleOutput": { +"description": "Output only. The rule output of the violation.", +"items": { +"$ref": "RuleOutput" +}, +"readOnly": true, +"type": "array" +}, +"serviceAccount": { +"description": "The service account associated with the resource.", +"type": "string" +} +}, +"type": "object" +}, +"WorkloadProfile": { +"description": "Workload resource.", +"id": "WorkloadProfile", +"properties": { +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. such as name, description, version. More example can be found in deployment", +"type": "object" +}, +"name": { +"description": "Identifier. name of resource names have the form 'projects/{project_id}/locations/{location}/workloadProfiles/{workload_id}'", +"type": "string" +}, +"refreshedTime": { +"description": "Required. time when the workload data was refreshed", +"format": "google-datetime", +"type": "string" +}, +"sapWorkload": { +"$ref": "SapWorkload", +"description": "The sap workload content" +}, +"workloadType": { +"description": "Required. The type of the workload", +"enum": [ +"WORKLOAD_TYPE_UNSPECIFIED", +"S4_HANA" +], +"enumDescriptions": [ +"unspecified workload type", +"running sap workload s4/hana" +], +"type": "string" +} +}, +"type": "object" +}, +"WorkloadProfileHealth": { +"description": "WorkloadProfileHealth contains the detailed health check of workload.", +"id": "WorkloadProfileHealth", +"properties": { +"checkTime": { +"description": "The time when the health check was performed.", +"format": "google-datetime", +"type": "string" +}, +"componentsHealth": { +"description": "The detailed condition reports of each component.", +"items": { +"$ref": "ComponentHealth" +}, +"type": "array" +}, +"state": { +"description": "Output only. The health state of the workload.", +"enum": [ +"HEALTH_STATE_UNSPECIFIED", +"HEALTHY", +"UNHEALTHY", +"CRITICAL", +"UNSUPPORTED" +], +"enumDescriptions": [ +"Unspecified.", +"Healthy workload.", +"Unhealthy workload.", +"Has critical issues.", +"Unsupported." +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"WriteInsightRequest": { +"description": "Request for sending the data insights.", +"id": "WriteInsightRequest", +"properties": { +"agentVersion": { +"description": "Optional. The agent version collected this data point.", +"type": "string" +}, +"insight": { +"$ref": "Insight", +"description": "Required. The metrics data details." +}, +"requestId": { +"description": "Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", +"type": "string" +} +}, +"type": "object" +}, +"WriteInsightResponse": { +"description": "The response for write insights request.", +"id": "WriteInsightResponse", +"properties": {}, +"type": "object" +} +}, +"servicePath": "", +"title": "Workload Manager API", +"version": "v1", +"version_module": true +} \ No newline at end of file diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/workspaceevents.v1.json b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/workspaceevents.v1.json new file mode 100644 index 0000000000000000000000000000000000000000..df19e97a11c829a0925c72c8c0abd57a941a75ec --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/workspaceevents.v1.json @@ -0,0 +1,1434 @@ +{ +"auth": { +"oauth2": { +"scopes": { +"https://www.googleapis.com/auth/chat.app.memberships": { +"description": "On their own behalf, apps in Google Chat can see, add, update, and remove members from conversations and spaces" +}, +"https://www.googleapis.com/auth/chat.app.messages.readonly": { +"description": "On their own behalf, apps in Google Chat can see all messages and their associated reactions and message content" +}, +"https://www.googleapis.com/auth/chat.app.spaces": { +"description": "On their own behalf, apps in Google Chat can create conversations and spaces and see or update their metadata (including history settings and access settings)" +}, +"https://www.googleapis.com/auth/chat.bot": { +"description": "Private Service: https://www.googleapis.com/auth/chat.bot" +}, +"https://www.googleapis.com/auth/chat.memberships": { +"description": "See, add, update, and remove members from conversations and spaces in Google Chat" +}, +"https://www.googleapis.com/auth/chat.memberships.readonly": { +"description": "View members in Google Chat conversations." +}, +"https://www.googleapis.com/auth/chat.messages": { +"description": "See, compose, send, update, and delete messages as well as their message content; add, see, and delete reactions to messages." +}, +"https://www.googleapis.com/auth/chat.messages.reactions": { +"description": "See, add, and delete reactions as well as their reaction content to messages in Google Chat" +}, +"https://www.googleapis.com/auth/chat.messages.reactions.readonly": { +"description": "View reactions as well as their reaction content to messages in Google Chat" +}, +"https://www.googleapis.com/auth/chat.messages.readonly": { +"description": "See messages as well as their reactions and message content in Google Chat" +}, +"https://www.googleapis.com/auth/chat.spaces": { +"description": "Create conversations and spaces and see or update metadata (including history settings and access settings) in Google Chat" +}, +"https://www.googleapis.com/auth/chat.spaces.readonly": { +"description": "View chat and spaces in Google Chat" +}, +"https://www.googleapis.com/auth/drive": { +"description": "See, edit, create, and delete all of your Google Drive files" +}, +"https://www.googleapis.com/auth/drive.file": { +"description": "See, edit, create, and delete only the specific Google Drive files you use with this app" +}, +"https://www.googleapis.com/auth/drive.metadata": { +"description": "View and manage metadata of files in your Google Drive" +}, +"https://www.googleapis.com/auth/drive.metadata.readonly": { +"description": "See information about your Google Drive files" +}, +"https://www.googleapis.com/auth/drive.readonly": { +"description": "See and download all your Google Drive files" +}, +"https://www.googleapis.com/auth/meetings.space.created": { +"description": "Create, edit, and see information about your Google Meet conferences created by the app." +}, +"https://www.googleapis.com/auth/meetings.space.readonly": { +"description": "Read information about any of your Google Meet conferences" +} +} +} +}, +"basePath": "", +"baseUrl": "https://workspaceevents.googleapis.com/", +"batchPath": "batch", +"canonicalName": "Workspace Events", +"description": "The Google Workspace Events API lets you subscribe to events and manage change notifications across Google Workspace applications.", +"discoveryVersion": "v1", +"documentationLink": "https://developers.google.com/workspace/events", +"fullyEncodeReservedExpansion": true, +"icons": { +"x16": "http://www.google.com/images/icons/product/search-16.gif", +"x32": "http://www.google.com/images/icons/product/search-32.gif" +}, +"id": "workspaceevents:v1", +"kind": "discovery#restDescription", +"mtlsRootUrl": "https://workspaceevents.mtls.googleapis.com/", +"name": "workspaceevents", +"ownerDomain": "google.com", +"ownerName": "Google", +"parameters": { +"$.xgafv": { +"description": "V1 error format.", +"enum": [ +"1", +"2" +], +"enumDescriptions": [ +"v1 error format", +"v2 error format" +], +"location": "query", +"type": "string" +}, +"access_token": { +"description": "OAuth access token.", +"location": "query", +"type": "string" +}, +"alt": { +"default": "json", +"description": "Data format for response.", +"enum": [ +"json", +"media", +"proto" +], +"enumDescriptions": [ +"Responses with Content-Type of application/json", +"Media download with context-dependent Content-Type", +"Responses with Content-Type of application/x-protobuf" +], +"location": "query", +"type": "string" +}, +"callback": { +"description": "JSONP", +"location": "query", +"type": "string" +}, +"fields": { +"description": "Selector specifying which fields to include in a partial response.", +"location": "query", +"type": "string" +}, +"key": { +"description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", +"location": "query", +"type": "string" +}, +"oauth_token": { +"description": "OAuth 2.0 token for the current user.", +"location": "query", +"type": "string" +}, +"prettyPrint": { +"default": "true", +"description": "Returns response with indentations and line breaks.", +"location": "query", +"type": "boolean" +}, +"quotaUser": { +"description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.", +"location": "query", +"type": "string" +}, +"uploadType": { +"description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", +"location": "query", +"type": "string" +}, +"upload_protocol": { +"description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", +"location": "query", +"type": "string" +} +}, +"protocol": "rest", +"resources": { +"message": { +"methods": { +"stream": { +"description": "SendStreamingMessage is a streaming call that will return a stream of task update events until the Task is in an interrupted or terminal state.", +"flatPath": "v1/message:stream", +"httpMethod": "POST", +"id": "workspaceevents.message.stream", +"parameterOrder": [], +"parameters": {}, +"path": "v1/message:stream", +"request": { +"$ref": "SendMessageRequest" +}, +"response": { +"$ref": "StreamResponse" +} +} +} +}, +"operations": { +"methods": { +"get": { +"description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", +"flatPath": "v1/operations/{operationsId}", +"httpMethod": "GET", +"id": "workspaceevents.operations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource.", +"location": "path", +"pattern": "^operations/.*$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/chat.bot", +"https://www.googleapis.com/auth/chat.memberships", +"https://www.googleapis.com/auth/chat.memberships.readonly", +"https://www.googleapis.com/auth/chat.messages", +"https://www.googleapis.com/auth/chat.messages.reactions", +"https://www.googleapis.com/auth/chat.messages.reactions.readonly", +"https://www.googleapis.com/auth/chat.messages.readonly", +"https://www.googleapis.com/auth/chat.spaces", +"https://www.googleapis.com/auth/chat.spaces.readonly", +"https://www.googleapis.com/auth/drive", +"https://www.googleapis.com/auth/drive.file", +"https://www.googleapis.com/auth/drive.metadata", +"https://www.googleapis.com/auth/drive.metadata.readonly", +"https://www.googleapis.com/auth/drive.readonly", +"https://www.googleapis.com/auth/meetings.space.created", +"https://www.googleapis.com/auth/meetings.space.readonly" +] +} +} +}, +"subscriptions": { +"methods": { +"create": { +"description": "Creates a Google Workspace subscription. To learn how to use this method, see [Create a Google Workspace subscription](https://developers.google.com/workspace/events/guides/create-subscription). For a subscription on a [Chat target resource](https://developers.google.com/workspace/events/guides/events-chat), you can create a subscription as: - A Chat app by specifying an authorization scope that begins with `chat.app` and getting one-time administrator approval ([Developer Preview](https://developers.google.com/workspace/preview)). To learn more, see [Authorize as a Chat app with administrator approval](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app). - A user by specifying an authorization scope that doesn't include `app` in its name. To learn more, see [Authorize as a Chat user](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user).", +"flatPath": "v1/subscriptions", +"httpMethod": "POST", +"id": "workspaceevents.subscriptions.create", +"parameterOrder": [], +"parameters": { +"validateOnly": { +"description": "Optional. If set to `true`, validates and previews the request, but doesn't create the subscription.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1/subscriptions", +"request": { +"$ref": "Subscription" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/chat.app.memberships", +"https://www.googleapis.com/auth/chat.app.messages.readonly", +"https://www.googleapis.com/auth/chat.app.spaces", +"https://www.googleapis.com/auth/chat.memberships", +"https://www.googleapis.com/auth/chat.memberships.readonly", +"https://www.googleapis.com/auth/chat.messages", +"https://www.googleapis.com/auth/chat.messages.reactions", +"https://www.googleapis.com/auth/chat.messages.reactions.readonly", +"https://www.googleapis.com/auth/chat.messages.readonly", +"https://www.googleapis.com/auth/chat.spaces", +"https://www.googleapis.com/auth/chat.spaces.readonly", +"https://www.googleapis.com/auth/drive", +"https://www.googleapis.com/auth/drive.file", +"https://www.googleapis.com/auth/drive.metadata", +"https://www.googleapis.com/auth/drive.metadata.readonly", +"https://www.googleapis.com/auth/drive.readonly", +"https://www.googleapis.com/auth/meetings.space.created", +"https://www.googleapis.com/auth/meetings.space.readonly" +] +}, +"delete": { +"description": "Deletes a Google Workspace subscription. To learn how to use this method, see [Delete a Google Workspace subscription](https://developers.google.com/workspace/events/guides/delete-subscription).", +"flatPath": "v1/subscriptions/{subscriptionsId}", +"httpMethod": "DELETE", +"id": "workspaceevents.subscriptions.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"allowMissing": { +"description": "Optional. If set to `true` and the subscription isn't found, the request succeeds but doesn't delete the subscription.", +"location": "query", +"type": "boolean" +}, +"etag": { +"description": "Optional. Etag of the subscription. If present, it must match with the server's etag. Otherwise, request fails with the status `ABORTED`.", +"location": "query", +"type": "string" +}, +"name": { +"description": "Required. Resource name of the subscription to delete. Format: `subscriptions/{subscription}`", +"location": "path", +"pattern": "^subscriptions/[^/]+$", +"required": true, +"type": "string" +}, +"validateOnly": { +"description": "Optional. If set to `true`, validates and previews the request, but doesn't delete the subscription.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/chat.bot", +"https://www.googleapis.com/auth/chat.memberships", +"https://www.googleapis.com/auth/chat.memberships.readonly", +"https://www.googleapis.com/auth/chat.messages", +"https://www.googleapis.com/auth/chat.messages.reactions", +"https://www.googleapis.com/auth/chat.messages.reactions.readonly", +"https://www.googleapis.com/auth/chat.messages.readonly", +"https://www.googleapis.com/auth/chat.spaces", +"https://www.googleapis.com/auth/chat.spaces.readonly", +"https://www.googleapis.com/auth/drive", +"https://www.googleapis.com/auth/drive.file", +"https://www.googleapis.com/auth/drive.metadata", +"https://www.googleapis.com/auth/drive.metadata.readonly", +"https://www.googleapis.com/auth/drive.readonly", +"https://www.googleapis.com/auth/meetings.space.created", +"https://www.googleapis.com/auth/meetings.space.readonly" +] +}, +"get": { +"description": "Gets details about a Google Workspace subscription. To learn how to use this method, see [Get details about a Google Workspace subscription](https://developers.google.com/workspace/events/guides/get-subscription).", +"flatPath": "v1/subscriptions/{subscriptionsId}", +"httpMethod": "GET", +"id": "workspaceevents.subscriptions.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Resource name of the subscription. Format: `subscriptions/{subscription}`", +"location": "path", +"pattern": "^subscriptions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Subscription" +}, +"scopes": [ +"https://www.googleapis.com/auth/chat.bot", +"https://www.googleapis.com/auth/chat.memberships", +"https://www.googleapis.com/auth/chat.memberships.readonly", +"https://www.googleapis.com/auth/chat.messages", +"https://www.googleapis.com/auth/chat.messages.reactions", +"https://www.googleapis.com/auth/chat.messages.reactions.readonly", +"https://www.googleapis.com/auth/chat.messages.readonly", +"https://www.googleapis.com/auth/chat.spaces", +"https://www.googleapis.com/auth/chat.spaces.readonly", +"https://www.googleapis.com/auth/drive", +"https://www.googleapis.com/auth/drive.file", +"https://www.googleapis.com/auth/drive.metadata", +"https://www.googleapis.com/auth/drive.metadata.readonly", +"https://www.googleapis.com/auth/drive.readonly", +"https://www.googleapis.com/auth/meetings.space.created", +"https://www.googleapis.com/auth/meetings.space.readonly" +] +}, +"list": { +"description": "Lists Google Workspace subscriptions. To learn how to use this method, see [List Google Workspace subscriptions](https://developers.google.com/workspace/events/guides/list-subscriptions).", +"flatPath": "v1/subscriptions", +"httpMethod": "GET", +"id": "workspaceevents.subscriptions.list", +"parameterOrder": [], +"parameters": { +"filter": { +"description": "Required. A query filter. You can filter subscriptions by event type (`event_types`) and target resource (`target_resource`). You must specify at least one event type in your query. To filter for multiple event types, use the `OR` operator. To filter by both event type and target resource, use the `AND` operator and specify the full resource name, such as `//chat.googleapis.com/spaces/{space}`. For example, the following queries are valid: ``` event_types:\"google.workspace.chat.membership.v1.updated\" OR event_types:\"google.workspace.chat.message.v1.created\" event_types:\"google.workspace.chat.message.v1.created\" AND target_resource=\"//chat.googleapis.com/spaces/{space}\" ( event_types:\"google.workspace.chat.membership.v1.updated\" OR event_types:\"google.workspace.chat.message.v1.created\" ) AND target_resource=\"//chat.googleapis.com/spaces/{space}\" ``` The server rejects invalid queries with an `INVALID_ARGUMENT` error.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Optional. The maximum number of subscriptions to return. The service might return fewer than this value. If unspecified or set to `0`, up to 50 subscriptions are returned. The maximum value is 100. If you specify a value more than 100, the system only returns 100 subscriptions.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. A page token, received from a previous list subscriptions call. Provide this parameter to retrieve the subsequent page. When paginating, the filter value should match the call that provided the page token. Passing a different value might lead to unexpected results.", +"location": "query", +"type": "string" +} +}, +"path": "v1/subscriptions", +"response": { +"$ref": "ListSubscriptionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/chat.bot", +"https://www.googleapis.com/auth/chat.memberships", +"https://www.googleapis.com/auth/chat.memberships.readonly", +"https://www.googleapis.com/auth/chat.messages", +"https://www.googleapis.com/auth/chat.messages.reactions", +"https://www.googleapis.com/auth/chat.messages.reactions.readonly", +"https://www.googleapis.com/auth/chat.messages.readonly", +"https://www.googleapis.com/auth/chat.spaces", +"https://www.googleapis.com/auth/chat.spaces.readonly", +"https://www.googleapis.com/auth/drive", +"https://www.googleapis.com/auth/drive.file", +"https://www.googleapis.com/auth/drive.metadata", +"https://www.googleapis.com/auth/drive.metadata.readonly", +"https://www.googleapis.com/auth/drive.readonly", +"https://www.googleapis.com/auth/meetings.space.created", +"https://www.googleapis.com/auth/meetings.space.readonly" +] +}, +"patch": { +"description": "Updates or renews a Google Workspace subscription. To learn how to use this method, see [Update or renew a Google Workspace subscription](https://developers.google.com/workspace/events/guides/update-subscription). For a subscription on a [Chat target resource](https://developers.google.com/workspace/events/guides/events-chat), you can update a subscription as: - A Chat app by specifying an authorization scope that begins with `chat.app` andgetting one-time administrator approval ([Developer Preview](https://developers.google.com/workspace/preview)). To learn more, see [Authorize as a Chat app with administrator approval](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app). - A user by specifying an authorization scope that doesn't include `app` in its name. To learn more, see [Authorize as a Chat user](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user).", +"flatPath": "v1/subscriptions/{subscriptionsId}", +"httpMethod": "PATCH", +"id": "workspaceevents.subscriptions.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Identifier. Resource name of the subscription. Format: `subscriptions/{subscription}`", +"location": "path", +"pattern": "^subscriptions/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Optional. The field to update. If omitted, updates any fields included in the request. You can update one of the following fields in a subscription: * `expire_time`: The timestamp when the subscription expires. * `ttl`: The time-to-live (TTL) or duration of the subscription. * `event_types`: The list of event types to receive about the target resource. When using the `*` wildcard (equivalent to `PUT`), omitted fields are set to empty values and rejected if they're invalid.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +}, +"validateOnly": { +"description": "Optional. If set to `true`, validates and previews the request, but doesn't update the subscription.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "Subscription" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/chat.app.memberships", +"https://www.googleapis.com/auth/chat.app.messages.readonly", +"https://www.googleapis.com/auth/chat.app.spaces", +"https://www.googleapis.com/auth/chat.memberships", +"https://www.googleapis.com/auth/chat.memberships.readonly", +"https://www.googleapis.com/auth/chat.messages", +"https://www.googleapis.com/auth/chat.messages.reactions", +"https://www.googleapis.com/auth/chat.messages.reactions.readonly", +"https://www.googleapis.com/auth/chat.messages.readonly", +"https://www.googleapis.com/auth/chat.spaces", +"https://www.googleapis.com/auth/chat.spaces.readonly", +"https://www.googleapis.com/auth/drive", +"https://www.googleapis.com/auth/drive.file", +"https://www.googleapis.com/auth/drive.metadata", +"https://www.googleapis.com/auth/drive.metadata.readonly", +"https://www.googleapis.com/auth/drive.readonly", +"https://www.googleapis.com/auth/meetings.space.created", +"https://www.googleapis.com/auth/meetings.space.readonly" +] +}, +"reactivate": { +"description": "Reactivates a suspended Google Workspace subscription. This method resets your subscription's `State` field to `ACTIVE`. Before you use this method, you must fix the error that suspended the subscription. This method will ignore or reject any subscription that isn't currently in a suspended state. To learn how to use this method, see [Reactivate a Google Workspace subscription](https://developers.google.com/workspace/events/guides/reactivate-subscription). For a subscription on a [Chat target resource](https://developers.google.com/workspace/events/guides/events-chat), you can reactivate a subscription as: - A Chat app by specifying an authorization scope that begins with `chat.app` andgetting one-time administrator approval ([Developer Preview](https://developers.google.com/workspace/preview)). To learn more, see [Authorize as a Chat app with administrator approval](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app). - A user by specifying an authorization scope that doesn't include `app` in its name. To learn more, see [Authorize as a Chat user](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user).", +"flatPath": "v1/subscriptions/{subscriptionsId}:reactivate", +"httpMethod": "POST", +"id": "workspaceevents.subscriptions.reactivate", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Resource name of the subscription. Format: `subscriptions/{subscription}`", +"location": "path", +"pattern": "^subscriptions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:reactivate", +"request": { +"$ref": "ReactivateSubscriptionRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/chat.app.memberships", +"https://www.googleapis.com/auth/chat.app.messages.readonly", +"https://www.googleapis.com/auth/chat.app.spaces", +"https://www.googleapis.com/auth/chat.memberships", +"https://www.googleapis.com/auth/chat.memberships.readonly", +"https://www.googleapis.com/auth/chat.messages", +"https://www.googleapis.com/auth/chat.messages.reactions", +"https://www.googleapis.com/auth/chat.messages.reactions.readonly", +"https://www.googleapis.com/auth/chat.messages.readonly", +"https://www.googleapis.com/auth/chat.spaces", +"https://www.googleapis.com/auth/chat.spaces.readonly", +"https://www.googleapis.com/auth/drive", +"https://www.googleapis.com/auth/drive.file", +"https://www.googleapis.com/auth/drive.metadata", +"https://www.googleapis.com/auth/drive.metadata.readonly", +"https://www.googleapis.com/auth/drive.readonly", +"https://www.googleapis.com/auth/meetings.space.created", +"https://www.googleapis.com/auth/meetings.space.readonly" +] +} +} +}, +"tasks": { +"methods": { +"cancel": { +"description": "Cancel a task from the agent. If supported one should expect no more task updates for the task.", +"flatPath": "v1/tasks/{tasksId}:cancel", +"httpMethod": "POST", +"id": "workspaceevents.tasks.cancel", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The resource name of the task to cancel. Format: tasks/{task_id}", +"location": "path", +"pattern": "^tasks/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:cancel", +"request": { +"$ref": "CancelTaskRequest" +}, +"response": { +"$ref": "Task" +} +}, +"get": { +"description": "Get the current state of a task from the agent.", +"flatPath": "v1/tasks/{tasksId}", +"httpMethod": "GET", +"id": "workspaceevents.tasks.get", +"parameterOrder": [ +"name" +], +"parameters": { +"historyLength": { +"description": "The number of most recent messages from the task's history to retrieve.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"name": { +"description": "Required. The resource name of the task. Format: tasks/{task_id}", +"location": "path", +"pattern": "^tasks/[^/]+$", +"required": true, +"type": "string" +}, +"tenant": { +"description": "Optional tenant, provided as a path parameter. Experimental, might still change for 1.0 release.", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Task" +} +}, +"subscribe": { +"description": "TaskSubscription is a streaming call that will return a stream of task update events. This attaches the stream to an existing in process task. If the task is complete the stream will return the completed task (like GetTask) and close the stream.", +"flatPath": "v1/tasks/{tasksId}:subscribe", +"httpMethod": "GET", +"id": "workspaceevents.tasks.subscribe", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The resource name of the task to subscribe to. Format: tasks/{task_id}", +"location": "path", +"pattern": "^tasks/[^/]+$", +"required": true, +"type": "string" +}, +"tenant": { +"description": "Optional tenant, provided as a path parameter. Experimental, might still change for 1.0 release.", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}:subscribe", +"response": { +"$ref": "StreamResponse" +} +} +}, +"resources": { +"pushNotificationConfigs": { +"methods": { +"create": { +"description": "Set a push notification config for a task.", +"flatPath": "v1/tasks/{tasksId}/pushNotificationConfigs", +"httpMethod": "POST", +"id": "workspaceevents.tasks.pushNotificationConfigs.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"configId": { +"description": "Required. The ID for the new config.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent task resource for this config. Format: tasks/{task_id}", +"location": "path", +"pattern": "^tasks/[^/]+/pushNotificationConfigs$", +"required": true, +"type": "string" +}, +"tenant": { +"description": "Optional tenant, provided as a path parameter. Experimental, might still change for 1.0 release.", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+parent}", +"request": { +"$ref": "TaskPushNotificationConfig" +}, +"response": { +"$ref": "TaskPushNotificationConfig" +} +}, +"delete": { +"description": "Delete a push notification config for a task.", +"flatPath": "v1/tasks/{tasksId}/pushNotificationConfigs/{pushNotificationConfigsId}", +"httpMethod": "DELETE", +"id": "workspaceevents.tasks.pushNotificationConfigs.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The resource name of the config to delete. Format: tasks/{task_id}/pushNotificationConfigs/{config_id}", +"location": "path", +"pattern": "^tasks/[^/]+/pushNotificationConfigs/[^/]+$", +"required": true, +"type": "string" +}, +"tenant": { +"description": "Optional tenant, provided as a path parameter. Experimental, might still change for 1.0 release.", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Empty" +} +}, +"get": { +"description": "Get a push notification config for a task.", +"flatPath": "v1/tasks/{tasksId}/pushNotificationConfigs/{pushNotificationConfigsId}", +"httpMethod": "GET", +"id": "workspaceevents.tasks.pushNotificationConfigs.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The resource name of the config to retrieve. Format: tasks/{task_id}/pushNotificationConfigs/{config_id}", +"location": "path", +"pattern": "^tasks/[^/]+/pushNotificationConfigs/[^/]+$", +"required": true, +"type": "string" +}, +"tenant": { +"description": "Optional tenant, provided as a path parameter. Experimental, might still change for 1.0 release.", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "TaskPushNotificationConfig" +} +}, +"list": { +"description": "Get a list of push notifications configured for a task.", +"flatPath": "v1/tasks/{tasksId}/pushNotificationConfigs", +"httpMethod": "GET", +"id": "workspaceevents.tasks.pushNotificationConfigs.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "For AIP-158 these fields are present. Usually not used/needed. The maximum number of configurations to return. If unspecified, all configs will be returned.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A page token received from a previous ListTaskPushNotificationConfigRequest call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListTaskPushNotificationConfigRequest` must match the call that provided the page token.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "The parent task resource. Format: tasks/{task_id}", +"location": "path", +"pattern": "^tasks/[^/]+$", +"required": true, +"type": "string" +}, +"tenant": { +"description": "Optional tenant, provided as a path parameter. Experimental, might still change for 1.0 release.", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+parent}/pushNotificationConfigs", +"response": { +"$ref": "ListTaskPushNotificationConfigResponse" +} +} +} +} +} +} +}, +"revision": "20251216", +"rootUrl": "https://workspaceevents.googleapis.com/", +"schemas": { +"Artifact": { +"description": "Artifacts are the container for task completed results. These are similar to Messages but are intended to be the product of a task, as opposed to point-to-point communication.", +"id": "Artifact", +"properties": { +"artifactId": { +"description": "Unique identifier (e.g. UUID) for the artifact. It must be at least unique within a task.", +"type": "string" +}, +"description": { +"description": "A human readable description of the artifact, optional.", +"type": "string" +}, +"extensions": { +"description": "The URIs of extensions that are present or contributed to this Artifact.", +"items": { +"type": "string" +}, +"type": "array" +}, +"metadata": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"description": "Optional metadata included with the artifact.", +"type": "object" +}, +"name": { +"description": "A human readable name for the artifact.", +"type": "string" +}, +"parts": { +"description": "The content of the artifact.", +"items": { +"$ref": "Part" +}, +"type": "array" +} +}, +"type": "object" +}, +"AuthenticationInfo": { +"description": "Defines authentication details, used for push notifications.", +"id": "AuthenticationInfo", +"properties": { +"credentials": { +"description": "Optional credentials", +"type": "string" +}, +"schemes": { +"description": "Supported authentication schemes - e.g. Basic, Bearer, etc", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"CancelTaskRequest": { +"id": "CancelTaskRequest", +"properties": { +"tenant": { +"description": "Optional tenant, provided as a path parameter. Experimental, might still change for 1.0 release.", +"type": "string" +} +}, +"type": "object" +}, +"DataPart": { +"description": "DataPart represents a structured blob. This is most commonly a JSON payload.", +"id": "DataPart", +"properties": { +"data": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"type": "object" +} +}, +"type": "object" +}, +"Empty": { +"description": "A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }", +"id": "Empty", +"properties": {}, +"type": "object" +}, +"FilePart": { +"description": "FilePart represents the different ways files can be provided. If files are small, directly feeding the bytes is supported via file_with_bytes. If the file is large, the agent should read the content as appropriate directly from the file_with_uri source.", +"id": "FilePart", +"properties": { +"fileWithBytes": { +"format": "byte", +"type": "string" +}, +"fileWithUri": { +"type": "string" +}, +"mimeType": { +"type": "string" +}, +"name": { +"type": "string" +} +}, +"type": "object" +}, +"ListSubscriptionsResponse": { +"description": "The response message for SubscriptionsService.ListSubscriptions.", +"id": "ListSubscriptionsResponse", +"properties": { +"nextPageToken": { +"description": "A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.", +"type": "string" +}, +"subscriptions": { +"description": "List of subscriptions.", +"items": { +"$ref": "Subscription" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListTaskPushNotificationConfigResponse": { +"id": "ListTaskPushNotificationConfigResponse", +"properties": { +"configs": { +"description": "The list of push notification configurations.", +"items": { +"$ref": "TaskPushNotificationConfig" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.", +"type": "string" +} +}, +"type": "object" +}, +"Message": { +"description": "Message is one unit of communication between client and server. It is associated with a context and optionally a task. Since the server is responsible for the context definition, it must always provide a context_id in its messages. The client can optionally provide the context_id if it knows the context to associate the message to. Similarly for task_id, except the server decides if a task is created and whether to include the task_id.", +"id": "Message", +"properties": { +"content": { +"description": "protolint:disable REPEATED_FIELD_NAMES_PLURALIZED Content is the container of the message content.", +"items": { +"$ref": "Part" +}, +"type": "array" +}, +"contextId": { +"description": "The context id of the message. This is optional and if set, the message will be associated with the given context.", +"type": "string" +}, +"extensions": { +"description": "The URIs of extensions that are present or contributed to this Message.", +"items": { +"type": "string" +}, +"type": "array" +}, +"messageId": { +"description": "The unique identifier (e.g. UUID)of the message. This is required and created by the message creator.", +"type": "string" +}, +"metadata": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"description": "protolint:enable REPEATED_FIELD_NAMES_PLURALIZED Any optional metadata to provide along with the message.", +"type": "object" +}, +"role": { +"description": "A role for the message.", +"enum": [ +"ROLE_UNSPECIFIED", +"ROLE_USER", +"ROLE_AGENT" +], +"enumDescriptions": [ +"", +"USER role refers to communication from the client to the server.", +"AGENT role refers to communication from the server to the client." +], +"type": "string" +}, +"taskId": { +"description": "The task id of the message. This is optional and if set, the message will be associated with the given task.", +"type": "string" +} +}, +"type": "object" +}, +"NotificationEndpoint": { +"description": "The endpoint where the subscription delivers events.", +"id": "NotificationEndpoint", +"properties": { +"pubsubTopic": { +"description": "Immutable. The Pub/Sub topic that receives events for the subscription. Format: `projects/{project}/topics/{topic}` You must create the topic in the same Google Cloud project where you create this subscription. Note: The Google Workspace Events API uses [ordering keys](https://cloud.google.com/pubsub/docs/ordering) for the benefit of sequential events. If the Cloud Pub/Sub topic has a [message storage policy](https://cloud.google.com/pubsub/docs/resource-location-restriction#exceptions) configured to exclude the nearest Google Cloud region, publishing events with ordering keys will fail. When the topic receives events, the events are encoded as Pub/Sub messages. For details, see the [Google Cloud Pub/Sub Protocol Binding for CloudEvents](https://github.com/googleapis/google-cloudevents/blob/main/docs/spec/pubsub.md).", +"type": "string" +} +}, +"type": "object" +}, +"Operation": { +"description": "This resource represents a long-running operation that is the result of a network API call.", +"id": "Operation", +"properties": { +"done": { +"description": "If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.", +"type": "boolean" +}, +"error": { +"$ref": "Status", +"description": "The error result of the operation in case of failure or cancellation." +}, +"metadata": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.", +"type": "object" +}, +"name": { +"description": "The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.", +"type": "string" +}, +"response": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "The normal, successful response of the operation. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.", +"type": "object" +} +}, +"type": "object" +}, +"Part": { +"description": "Part represents a container for a section of communication content. Parts can be purely textual, some sort of file (image, video, etc) or a structured data blob (i.e. JSON).", +"id": "Part", +"properties": { +"data": { +"$ref": "DataPart" +}, +"file": { +"$ref": "FilePart" +}, +"metadata": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"description": "Optional metadata associated with this part.", +"type": "object" +}, +"text": { +"type": "string" +} +}, +"type": "object" +}, +"PayloadOptions": { +"description": "Options about what data to include in the event payload. Only supported for Google Chat and Google Drive events.", +"id": "PayloadOptions", +"properties": { +"fieldMask": { +"description": "Optional. If `include_resource` is set to `true`, the list of fields to include in the event payload. Separate fields with a comma. For example, to include a Google Chat message's sender and create time, enter `message.sender,message.createTime`. If omitted, the payload includes all fields for the resource. If you specify a field that doesn't exist for the resource, the system ignores the field.", +"format": "google-fieldmask", +"type": "string" +}, +"includeResource": { +"description": "Optional. Whether the event payload includes data about the resource that changed. For example, for an event where a Google Chat message was created, whether the payload contains data about the [`Message`](https://developers.google.com/chat/api/reference/rest/v1/spaces.messages) resource. If false, the event payload only includes the name of the changed resource.", +"type": "boolean" +} +}, +"type": "object" +}, +"PushNotificationConfig": { +"description": "Configuration for setting up push notifications for task updates.", +"id": "PushNotificationConfig", +"properties": { +"authentication": { +"$ref": "AuthenticationInfo", +"description": "Information about the authentication to sent with the notification" +}, +"id": { +"description": "A unique identifier (e.g. UUID) for this push notification.", +"type": "string" +}, +"token": { +"description": "Token unique for this task/session", +"type": "string" +}, +"url": { +"description": "Url to send the notification too", +"type": "string" +} +}, +"type": "object" +}, +"ReactivateSubscriptionRequest": { +"description": "The request message for SubscriptionsService.ReactivateSubscription.", +"id": "ReactivateSubscriptionRequest", +"properties": {}, +"type": "object" +}, +"SendMessageConfiguration": { +"description": "Configuration of a send message request.", +"id": "SendMessageConfiguration", +"properties": { +"acceptedOutputModes": { +"description": "The output modes that the agent is expected to respond with.", +"items": { +"type": "string" +}, +"type": "array" +}, +"blocking": { +"description": "If true, the message will be blocking until the task is completed. If false, the message will be non-blocking and the task will be returned immediately. It is the caller's responsibility to check for any task updates.", +"type": "boolean" +}, +"historyLength": { +"description": "The maximum number of messages to include in the history. if 0, the history will be unlimited.", +"format": "int32", +"type": "integer" +}, +"pushNotification": { +"$ref": "PushNotificationConfig", +"description": "A configuration of a webhook that can be used to receive updates" +} +}, +"type": "object" +}, +"SendMessageRequest": { +"description": "/////////// Request Messages ///////////", +"id": "SendMessageRequest", +"properties": { +"configuration": { +"$ref": "SendMessageConfiguration", +"description": "Configuration for the send request." +}, +"message": { +"$ref": "Message", +"description": "Required. The message to send to the agent." +}, +"metadata": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"description": "Optional metadata for the request.", +"type": "object" +}, +"tenant": { +"description": "Optional tenant, provided as a path parameter. Experimental, might still change for 1.0 release.", +"type": "string" +} +}, +"type": "object" +}, +"Status": { +"description": "The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors).", +"id": "Status", +"properties": { +"code": { +"description": "The status code, which should be an enum value of google.rpc.Code.", +"format": "int32", +"type": "integer" +}, +"details": { +"description": "A list of messages that carry the error details. There is a common set of message types for APIs to use.", +"items": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.", +"type": "string" +} +}, +"type": "object" +}, +"StreamResponse": { +"description": "The stream response for a message. The stream should be one of the following sequences: If the response is a message, the stream should contain one, and only one, message and then close If the response is a task lifecycle, the first response should be a Task object followed by zero or more TaskStatusUpdateEvents and TaskArtifactUpdateEvents. The stream should complete when the Task if in an interrupted or terminal state. A stream that ends before these conditions are met are", +"id": "StreamResponse", +"properties": { +"artifactUpdate": { +"$ref": "TaskArtifactUpdateEvent" +}, +"message": { +"$ref": "Message" +}, +"statusUpdate": { +"$ref": "TaskStatusUpdateEvent" +}, +"task": { +"$ref": "Task" +} +}, +"type": "object" +}, +"Subscription": { +"description": "A subscription to receive events about a Google Workspace resource. To learn more about subscriptions, see the [Google Workspace Events API overview](https://developers.google.com/workspace/events).", +"id": "Subscription", +"properties": { +"authority": { +"description": "Output only. The user who authorized the creation of the subscription. When a user authorizes the subscription, this field and the `user_authority` field have the same value and the format is: Format: `users/{user}` For Google Workspace users, the `{user}` value is the [`user.id`](https://developers.google.com/admin-sdk/directory/reference/rest/v1/users#User.FIELDS.ids) field from the Directory API. When a Chat app authorizes the subscription, only `service_account_authority` field populates and this field is empty.", +"readOnly": true, +"type": "string" +}, +"createTime": { +"description": "Output only. The time when the subscription is created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"etag": { +"description": "Optional. This checksum is computed by the server based on the value of other fields, and might be sent on update requests to ensure the client has an up-to-date value before proceeding.", +"type": "string" +}, +"eventTypes": { +"description": "Required. Unordered list. Input for creating a subscription. Otherwise, output only. One or more types of events to receive about the target resource. Formatted according to the CloudEvents specification. The supported event types depend on the target resource of your subscription. For details, see [Supported Google Workspace events](https://developers.google.com/workspace/events/guides#supported-events). By default, you also receive events about the [lifecycle of your subscription](https://developers.google.com/workspace/events/guides/events-lifecycle). You don't need to specify lifecycle events for this field. If you specify an event type that doesn't exist for the target resource, the request returns an HTTP `400 Bad Request` status code.", +"items": { +"type": "string" +}, +"type": "array" +}, +"expireTime": { +"description": "Non-empty default. The timestamp in UTC when the subscription expires. Always displayed on output, regardless of what was used on input.", +"format": "google-datetime", +"type": "string" +}, +"name": { +"description": "Identifier. Resource name of the subscription. Format: `subscriptions/{subscription}`", +"type": "string" +}, +"notificationEndpoint": { +"$ref": "NotificationEndpoint", +"description": "Required. Immutable. The endpoint where the subscription delivers events, such as a Pub/Sub topic." +}, +"payloadOptions": { +"$ref": "PayloadOptions", +"description": "Optional. Options about what data to include in the event payload. Only supported for Google Chat and Google Drive events." +}, +"reconciling": { +"description": "Output only. If `true`, the subscription is in the process of being updated.", +"readOnly": true, +"type": "boolean" +}, +"state": { +"description": "Output only. The state of the subscription. Determines whether the subscription can receive events and deliver them to the notification endpoint.", +"enum": [ +"STATE_UNSPECIFIED", +"ACTIVE", +"SUSPENDED", +"DELETED" +], +"enumDescriptions": [ +"Default value. This value is unused.", +"The subscription is active and can receive and deliver events to its notification endpoint.", +"The subscription is unable to receive events due to an error. To identify the error, see the `suspension_reason` field.", +"The subscription is deleted." +], +"readOnly": true, +"type": "string" +}, +"suspensionReason": { +"description": "Output only. The error that suspended the subscription. To reactivate the subscription, resolve the error and call the `ReactivateSubscription` method.", +"enum": [ +"ERROR_TYPE_UNSPECIFIED", +"USER_SCOPE_REVOKED", +"RESOURCE_DELETED", +"USER_AUTHORIZATION_FAILURE", +"ENDPOINT_PERMISSION_DENIED", +"ENDPOINT_NOT_FOUND", +"ENDPOINT_RESOURCE_EXHAUSTED", +"OTHER" +], +"enumDescriptions": [ +"Default value. This value is unused.", +"The authorizing user has revoked the grant of one or more OAuth scopes. To learn more about authorization for Google Workspace, see [Configure the OAuth consent screen](https://developers.google.com/workspace/guides/configure-oauth-consent#choose-scopes).", +"The target resource for the subscription no longer exists.", +"The user that authorized the creation of the subscription no longer has access to the subscription's target resource.", +"The Google Workspace application doesn't have access to deliver events to your subscription's notification endpoint.", +"The subscription's notification endpoint doesn't exist, or the endpoint can't be found in the Google Cloud project where you created the subscription.", +"The subscription's notification endpoint failed to receive events due to insufficient quota or reaching rate limiting.", +"An unidentified error has occurred." +], +"readOnly": true, +"type": "string" +}, +"targetResource": { +"description": "Required. Immutable. The Google Workspace resource that's monitored for events, formatted as the [full resource name](https://google.aip.dev/122#full-resource-names). To learn about target resources and the events that they support, see [Supported Google Workspace events](https://developers.google.com/workspace/events#supported-events). A user can only authorize your app to create one subscription for a given target resource. If your app tries to create another subscription with the same user credentials, the request returns an `ALREADY_EXISTS` error.", +"type": "string" +}, +"ttl": { +"description": "Input only. The time-to-live (TTL) or duration for the subscription. If unspecified or set to `0`, uses the maximum possible duration.", +"format": "google-duration", +"type": "string" +}, +"uid": { +"description": "Output only. System-assigned unique identifier for the subscription.", +"readOnly": true, +"type": "string" +}, +"updateTime": { +"description": "Output only. The last time that the subscription is updated.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"Task": { +"description": "Task is the core unit of action for A2A. It has a current status and when results are created for the task they are stored in the artifact. If there are multiple turns for a task, these are stored in history.", +"id": "Task", +"properties": { +"artifacts": { +"description": "A set of output artifacts for a Task.", +"items": { +"$ref": "Artifact" +}, +"type": "array" +}, +"contextId": { +"description": "Unique identifier (e.g. UUID) for the contextual collection of interactions (tasks and messages). Created by the A2A server.", +"type": "string" +}, +"history": { +"description": "protolint:disable REPEATED_FIELD_NAMES_PLURALIZED The history of interactions from a task.", +"items": { +"$ref": "Message" +}, +"type": "array" +}, +"id": { +"description": "Unique identifier (e.g. UUID) for the task, generated by the server for a new task.", +"type": "string" +}, +"metadata": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"description": "protolint:enable REPEATED_FIELD_NAMES_PLURALIZED A key/value object to store custom metadata about a task.", +"type": "object" +}, +"status": { +"$ref": "TaskStatus", +"description": "The current status of a Task, including state and a message." +} +}, +"type": "object" +}, +"TaskArtifactUpdateEvent": { +"description": "TaskArtifactUpdateEvent represents a task delta where an artifact has been generated.", +"id": "TaskArtifactUpdateEvent", +"properties": { +"append": { +"description": "Whether this should be appended to a prior one produced", +"type": "boolean" +}, +"artifact": { +"$ref": "Artifact", +"description": "The artifact itself" +}, +"contextId": { +"description": "The id of the context that this task belongs too", +"type": "string" +}, +"lastChunk": { +"description": "Whether this represents the last part of an artifact", +"type": "boolean" +}, +"metadata": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"description": "Optional metadata associated with the artifact update.", +"type": "object" +}, +"taskId": { +"description": "The id of the task for this artifact", +"type": "string" +} +}, +"type": "object" +}, +"TaskPushNotificationConfig": { +"id": "TaskPushNotificationConfig", +"properties": { +"name": { +"description": "The resource name of the config. Format: tasks/{task_id}/pushNotificationConfigs/{config_id}", +"type": "string" +}, +"pushNotificationConfig": { +"$ref": "PushNotificationConfig", +"description": "The push notification configuration details." +} +}, +"type": "object" +}, +"TaskStatus": { +"description": "A container for the status of a task", +"id": "TaskStatus", +"properties": { +"message": { +"$ref": "Message", +"description": "A message associated with the status." +}, +"state": { +"description": "The current state of this task", +"enum": [ +"TASK_STATE_UNSPECIFIED", +"TASK_STATE_SUBMITTED", +"TASK_STATE_WORKING", +"TASK_STATE_COMPLETED", +"TASK_STATE_FAILED", +"TASK_STATE_CANCELLED", +"TASK_STATE_INPUT_REQUIRED", +"TASK_STATE_REJECTED", +"TASK_STATE_AUTH_REQUIRED" +], +"enumDescriptions": [ +"", +"Represents the status that acknowledges a task is created", +"Represents the status that a task is actively being processed", +"Represents the status a task is finished. This is a terminal state", +"Represents the status a task is done but failed. This is a terminal state", +"Represents the status a task was cancelled before it finished. This is a terminal state.", +"Represents the status that the task requires information to complete. This is an interrupted state.", +"Represents the status that the agent has decided to not perform the task. This may be done during initial task creation or later once an agent has determined it can't or won't proceed. This is a terminal state.", +"Represents the state that some authentication is needed from the upstream client. Authentication is expected to come out-of-band thus this is not an interrupted or terminal state." +], +"type": "string" +}, +"timestamp": { +"description": "Timestamp when the status was recorded. Example: \"2023-10-27T10:00:00Z\"", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"TaskStatusUpdateEvent": { +"description": "TaskStatusUpdateEvent is a delta even on a task indicating that a task has changed.", +"id": "TaskStatusUpdateEvent", +"properties": { +"contextId": { +"description": "The id of the context that the task belongs to", +"type": "string" +}, +"final": { +"description": "Whether this is the last status update expected for this task.", +"type": "boolean" +}, +"metadata": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"description": "Optional metadata to associate with the task update.", +"type": "object" +}, +"status": { +"$ref": "TaskStatus", +"description": "The new status of the task." +}, +"taskId": { +"description": "The id of the task that is changed", +"type": "string" +} +}, +"type": "object" +} +}, +"servicePath": "", +"title": "Google Workspace Events API", +"version": "v1", +"version_module": true +} \ No newline at end of file diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/workstations.v1beta.json b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/workstations.v1beta.json new file mode 100644 index 0000000000000000000000000000000000000000..a5f1663c05706d36bd6376ffd19f7d5984eb3f21 --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/workstations.v1beta.json @@ -0,0 +1,2658 @@ +{ +"auth": { +"oauth2": { +"scopes": { +"https://www.googleapis.com/auth/cloud-platform": { +"description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." +} +} +} +}, +"basePath": "", +"baseUrl": "https://workstations.googleapis.com/", +"batchPath": "batch", +"canonicalName": "Cloud Workstations", +"description": "Allows administrators to create managed developer environments in the cloud. ", +"discoveryVersion": "v1", +"documentationLink": "https://cloud.google.com/workstations", +"fullyEncodeReservedExpansion": true, +"icons": { +"x16": "http://www.google.com/images/icons/product/search-16.gif", +"x32": "http://www.google.com/images/icons/product/search-32.gif" +}, +"id": "workstations:v1beta", +"kind": "discovery#restDescription", +"mtlsRootUrl": "https://workstations.mtls.googleapis.com/", +"name": "workstations", +"ownerDomain": "google.com", +"ownerName": "Google", +"parameters": { +"$.xgafv": { +"description": "V1 error format.", +"enum": [ +"1", +"2" +], +"enumDescriptions": [ +"v1 error format", +"v2 error format" +], +"location": "query", +"type": "string" +}, +"access_token": { +"description": "OAuth access token.", +"location": "query", +"type": "string" +}, +"alt": { +"default": "json", +"description": "Data format for response.", +"enum": [ +"json", +"media", +"proto" +], +"enumDescriptions": [ +"Responses with Content-Type of application/json", +"Media download with context-dependent Content-Type", +"Responses with Content-Type of application/x-protobuf" +], +"location": "query", +"type": "string" +}, +"callback": { +"description": "JSONP", +"location": "query", +"type": "string" +}, +"fields": { +"description": "Selector specifying which fields to include in a partial response.", +"location": "query", +"type": "string" +}, +"key": { +"description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", +"location": "query", +"type": "string" +}, +"oauth_token": { +"description": "OAuth 2.0 token for the current user.", +"location": "query", +"type": "string" +}, +"prettyPrint": { +"default": "true", +"description": "Returns response with indentations and line breaks.", +"location": "query", +"type": "boolean" +}, +"quotaUser": { +"description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.", +"location": "query", +"type": "string" +}, +"uploadType": { +"description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", +"location": "query", +"type": "string" +}, +"upload_protocol": { +"description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", +"location": "query", +"type": "string" +} +}, +"protocol": "rest", +"resources": { +"projects": { +"resources": { +"locations": { +"resources": { +"operations": { +"methods": { +"cancel": { +"description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.", +"flatPath": "v1beta/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}:cancel", +"httpMethod": "POST", +"id": "workstations.projects.locations.operations.cancel", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be cancelled.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta/{+name}:cancel", +"request": { +"$ref": "CancelOperationRequest" +}, +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.", +"flatPath": "v1beta/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}", +"httpMethod": "DELETE", +"id": "workstations.projects.locations.operations.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be deleted.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta/{+name}", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", +"flatPath": "v1beta/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}", +"httpMethod": "GET", +"id": "workstations.projects.locations.operations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.", +"flatPath": "v1beta/projects/{projectsId}/locations/{locationsId}/operations", +"httpMethod": "GET", +"id": "workstations.projects.locations.operations.list", +"parameterOrder": [ +"name" +], +"parameters": { +"filter": { +"description": "The standard list filter.", +"location": "query", +"type": "string" +}, +"name": { +"description": "The name of the operation's parent resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The standard list page size.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The standard list page token.", +"location": "query", +"type": "string" +}, +"returnPartialSuccess": { +"description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `\"projects/example/locations/-\"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1beta/{+name}/operations", +"response": { +"$ref": "ListOperationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"workstationClusters": { +"methods": { +"create": { +"description": "Creates a new workstation cluster.", +"flatPath": "v1beta/projects/{projectsId}/locations/{locationsId}/workstationClusters", +"httpMethod": "POST", +"id": "workstations.projects.locations.workstationClusters.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. Parent resource name.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +}, +"validateOnly": { +"description": "Optional. If set, validate the request and preview the review, but do not actually apply it.", +"location": "query", +"type": "boolean" +}, +"workstationClusterId": { +"description": "Required. ID to use for the workstation cluster.", +"location": "query", +"type": "string" +} +}, +"path": "v1beta/{+parent}/workstationClusters", +"request": { +"$ref": "WorkstationCluster" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes the specified workstation cluster.", +"flatPath": "v1beta/projects/{projectsId}/locations/{locationsId}/workstationClusters/{workstationClustersId}", +"httpMethod": "DELETE", +"id": "workstations.projects.locations.workstationClusters.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"etag": { +"description": "Optional. If set, the request will be rejected if the latest version of the workstation cluster on the server does not have this ETag.", +"location": "query", +"type": "string" +}, +"force": { +"description": "Optional. If set, any workstation configurations and workstations in the workstation cluster are also deleted. Otherwise, the request only works if the workstation cluster has no configurations or workstations.", +"location": "query", +"type": "boolean" +}, +"name": { +"description": "Required. Name of the workstation cluster to delete.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/workstationClusters/[^/]+$", +"required": true, +"type": "string" +}, +"validateOnly": { +"description": "Optional. If set, validate the request and preview the review, but do not apply it.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1beta/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Returns the requested workstation cluster.", +"flatPath": "v1beta/projects/{projectsId}/locations/{locationsId}/workstationClusters/{workstationClustersId}", +"httpMethod": "GET", +"id": "workstations.projects.locations.workstationClusters.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of the requested resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/workstationClusters/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta/{+name}", +"response": { +"$ref": "WorkstationCluster" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Returns all workstation clusters in the specified location.", +"flatPath": "v1beta/projects/{projectsId}/locations/{locationsId}/workstationClusters", +"httpMethod": "GET", +"id": "workstations.projects.locations.workstationClusters.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Optional. Filter the WorkstationClusters to be listed. Possible filters are described in https://google.aip.dev/160.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Optional. Maximum number of items to return.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. next_page_token value returned from a previous List request, if any.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. Parent resource name.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta/{+parent}/workstationClusters", +"response": { +"$ref": "ListWorkstationClustersResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates an existing workstation cluster.", +"flatPath": "v1beta/projects/{projectsId}/locations/{locationsId}/workstationClusters/{workstationClustersId}", +"httpMethod": "PATCH", +"id": "workstations.projects.locations.workstationClusters.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"allowMissing": { +"description": "Optional. If set, and the workstation cluster is not found, a new workstation cluster will be created. In this situation, update_mask is ignored.", +"location": "query", +"type": "boolean" +}, +"name": { +"description": "Identifier. Full name of this workstation cluster.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/workstationClusters/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Required. Mask that specifies which fields in the workstation cluster should be updated.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +}, +"validateOnly": { +"description": "Optional. If set, validate the request and preview the review, but do not actually apply it.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1beta/{+name}", +"request": { +"$ref": "WorkstationCluster" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"workstationConfigs": { +"methods": { +"create": { +"description": "Creates a new workstation configuration.", +"flatPath": "v1beta/projects/{projectsId}/locations/{locationsId}/workstationClusters/{workstationClustersId}/workstationConfigs", +"httpMethod": "POST", +"id": "workstations.projects.locations.workstationClusters.workstationConfigs.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. Parent resource name.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/workstationClusters/[^/]+$", +"required": true, +"type": "string" +}, +"validateOnly": { +"description": "Optional. If set, validate the request and preview the review, but do not actually apply it.", +"location": "query", +"type": "boolean" +}, +"workstationConfigId": { +"description": "Required. ID to use for the workstation configuration.", +"location": "query", +"type": "string" +} +}, +"path": "v1beta/{+parent}/workstationConfigs", +"request": { +"$ref": "WorkstationConfig" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes the specified workstation configuration.", +"flatPath": "v1beta/projects/{projectsId}/locations/{locationsId}/workstationClusters/{workstationClustersId}/workstationConfigs/{workstationConfigsId}", +"httpMethod": "DELETE", +"id": "workstations.projects.locations.workstationClusters.workstationConfigs.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"etag": { +"description": "Optional. If set, the request is rejected if the latest version of the workstation configuration on the server does not have this ETag.", +"location": "query", +"type": "string" +}, +"force": { +"description": "Optional. If set, any workstations in the workstation configuration are also deleted. Otherwise, the request works only if the workstation configuration has no workstations.", +"location": "query", +"type": "boolean" +}, +"name": { +"description": "Required. Name of the workstation configuration to delete.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/workstationClusters/[^/]+/workstationConfigs/[^/]+$", +"required": true, +"type": "string" +}, +"validateOnly": { +"description": "Optional. If set, validate the request and preview the review, but do not actually apply it.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1beta/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Returns the requested workstation configuration.", +"flatPath": "v1beta/projects/{projectsId}/locations/{locationsId}/workstationClusters/{workstationClustersId}/workstationConfigs/{workstationConfigsId}", +"httpMethod": "GET", +"id": "workstations.projects.locations.workstationClusters.workstationConfigs.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of the requested resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/workstationClusters/[^/]+/workstationConfigs/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta/{+name}", +"response": { +"$ref": "WorkstationConfig" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"getIamPolicy": { +"description": "Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.", +"flatPath": "v1beta/projects/{projectsId}/locations/{locationsId}/workstationClusters/{workstationClustersId}/workstationConfigs/{workstationConfigsId}:getIamPolicy", +"httpMethod": "GET", +"id": "workstations.projects.locations.workstationClusters.workstationConfigs.getIamPolicy", +"parameterOrder": [ +"resource" +], +"parameters": { +"options.requestedPolicyVersion": { +"description": "Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).", +"format": "int32", +"location": "query", +"type": "integer" +}, +"resource": { +"description": "REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/workstationClusters/[^/]+/workstationConfigs/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta/{+resource}:getIamPolicy", +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Returns all workstation configurations in the specified cluster.", +"flatPath": "v1beta/projects/{projectsId}/locations/{locationsId}/workstationClusters/{workstationClustersId}/workstationConfigs", +"httpMethod": "GET", +"id": "workstations.projects.locations.workstationClusters.workstationConfigs.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Optional. Filter the WorkstationConfigs to be listed. Possible filters are described in https://google.aip.dev/160.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Optional. Maximum number of items to return.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. next_page_token value returned from a previous List request, if any.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. Parent resource name.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/workstationClusters/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta/{+parent}/workstationConfigs", +"response": { +"$ref": "ListWorkstationConfigsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"listUsable": { +"description": "Returns all workstation configurations in the specified cluster on which the caller has the \"workstations.workstation.create\" permission.", +"flatPath": "v1beta/projects/{projectsId}/locations/{locationsId}/workstationClusters/{workstationClustersId}/workstationConfigs:listUsable", +"httpMethod": "GET", +"id": "workstations.projects.locations.workstationClusters.workstationConfigs.listUsable", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "Optional. Maximum number of items to return.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. next_page_token value returned from a previous List request, if any.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. Parent resource name.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/workstationClusters/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta/{+parent}/workstationConfigs:listUsable", +"response": { +"$ref": "ListUsableWorkstationConfigsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates an existing workstation configuration.", +"flatPath": "v1beta/projects/{projectsId}/locations/{locationsId}/workstationClusters/{workstationClustersId}/workstationConfigs/{workstationConfigsId}", +"httpMethod": "PATCH", +"id": "workstations.projects.locations.workstationClusters.workstationConfigs.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"allowMissing": { +"description": "Optional. If set and the workstation configuration is not found, a new workstation configuration will be created. In this situation, update_mask is ignored.", +"location": "query", +"type": "boolean" +}, +"name": { +"description": "Identifier. Full name of this workstation configuration.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/workstationClusters/[^/]+/workstationConfigs/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Required. Mask specifying which fields in the workstation configuration should be updated.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +}, +"validateOnly": { +"description": "Optional. If set, validate the request and preview the review, but do not actually apply it.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1beta/{+name}", +"request": { +"$ref": "WorkstationConfig" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"setIamPolicy": { +"description": "Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.", +"flatPath": "v1beta/projects/{projectsId}/locations/{locationsId}/workstationClusters/{workstationClustersId}/workstationConfigs/{workstationConfigsId}:setIamPolicy", +"httpMethod": "POST", +"id": "workstations.projects.locations.workstationClusters.workstationConfigs.setIamPolicy", +"parameterOrder": [ +"resource" +], +"parameters": { +"resource": { +"description": "REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/workstationClusters/[^/]+/workstationConfigs/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta/{+resource}:setIamPolicy", +"request": { +"$ref": "SetIamPolicyRequest" +}, +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"testIamPermissions": { +"description": "Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may \"fail open\" without warning.", +"flatPath": "v1beta/projects/{projectsId}/locations/{locationsId}/workstationClusters/{workstationClustersId}/workstationConfigs/{workstationConfigsId}:testIamPermissions", +"httpMethod": "POST", +"id": "workstations.projects.locations.workstationClusters.workstationConfigs.testIamPermissions", +"parameterOrder": [ +"resource" +], +"parameters": { +"resource": { +"description": "REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/workstationClusters/[^/]+/workstationConfigs/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta/{+resource}:testIamPermissions", +"request": { +"$ref": "TestIamPermissionsRequest" +}, +"response": { +"$ref": "TestIamPermissionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"workstations": { +"methods": { +"create": { +"description": "Creates a new workstation.", +"flatPath": "v1beta/projects/{projectsId}/locations/{locationsId}/workstationClusters/{workstationClustersId}/workstationConfigs/{workstationConfigsId}/workstations", +"httpMethod": "POST", +"id": "workstations.projects.locations.workstationClusters.workstationConfigs.workstations.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. Parent resource name.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/workstationClusters/[^/]+/workstationConfigs/[^/]+$", +"required": true, +"type": "string" +}, +"validateOnly": { +"description": "Optional. If set, validate the request and preview the review, but do not actually apply it.", +"location": "query", +"type": "boolean" +}, +"workstationId": { +"description": "Required. ID to use for the workstation.", +"location": "query", +"type": "string" +} +}, +"path": "v1beta/{+parent}/workstations", +"request": { +"$ref": "Workstation" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes the specified workstation.", +"flatPath": "v1beta/projects/{projectsId}/locations/{locationsId}/workstationClusters/{workstationClustersId}/workstationConfigs/{workstationConfigsId}/workstations/{workstationsId}", +"httpMethod": "DELETE", +"id": "workstations.projects.locations.workstationClusters.workstationConfigs.workstations.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"etag": { +"description": "Optional. If set, the request will be rejected if the latest version of the workstation on the server does not have this ETag.", +"location": "query", +"type": "string" +}, +"name": { +"description": "Required. Name of the workstation to delete.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/workstationClusters/[^/]+/workstationConfigs/[^/]+/workstations/[^/]+$", +"required": true, +"type": "string" +}, +"validateOnly": { +"description": "Optional. If set, validate the request and preview the review, but do not actually apply it.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1beta/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"generateAccessToken": { +"description": "Returns a short-lived credential that can be used to send authenticated and authorized traffic to a workstation. Once generated this token cannot be revoked and is good for the lifetime of the token.", +"flatPath": "v1beta/projects/{projectsId}/locations/{locationsId}/workstationClusters/{workstationClustersId}/workstationConfigs/{workstationConfigsId}/workstations/{workstationsId}:generateAccessToken", +"httpMethod": "POST", +"id": "workstations.projects.locations.workstationClusters.workstationConfigs.workstations.generateAccessToken", +"parameterOrder": [ +"workstation" +], +"parameters": { +"workstation": { +"description": "Required. Name of the workstation for which the access token should be generated.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/workstationClusters/[^/]+/workstationConfigs/[^/]+/workstations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta/{+workstation}:generateAccessToken", +"request": { +"$ref": "GenerateAccessTokenRequest" +}, +"response": { +"$ref": "GenerateAccessTokenResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Returns the requested workstation.", +"flatPath": "v1beta/projects/{projectsId}/locations/{locationsId}/workstationClusters/{workstationClustersId}/workstationConfigs/{workstationConfigsId}/workstations/{workstationsId}", +"httpMethod": "GET", +"id": "workstations.projects.locations.workstationClusters.workstationConfigs.workstations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of the requested resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/workstationClusters/[^/]+/workstationConfigs/[^/]+/workstations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta/{+name}", +"response": { +"$ref": "Workstation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"getIamPolicy": { +"description": "Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.", +"flatPath": "v1beta/projects/{projectsId}/locations/{locationsId}/workstationClusters/{workstationClustersId}/workstationConfigs/{workstationConfigsId}/workstations/{workstationsId}:getIamPolicy", +"httpMethod": "GET", +"id": "workstations.projects.locations.workstationClusters.workstationConfigs.workstations.getIamPolicy", +"parameterOrder": [ +"resource" +], +"parameters": { +"options.requestedPolicyVersion": { +"description": "Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).", +"format": "int32", +"location": "query", +"type": "integer" +}, +"resource": { +"description": "REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/workstationClusters/[^/]+/workstationConfigs/[^/]+/workstations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta/{+resource}:getIamPolicy", +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Returns all Workstations using the specified workstation configuration.", +"flatPath": "v1beta/projects/{projectsId}/locations/{locationsId}/workstationClusters/{workstationClustersId}/workstationConfigs/{workstationConfigsId}/workstations", +"httpMethod": "GET", +"id": "workstations.projects.locations.workstationClusters.workstationConfigs.workstations.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Optional. Filter the Workstations to be listed. Possible filters are described in https://google.aip.dev/160.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Optional. Maximum number of items to return.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. next_page_token value returned from a previous List request, if any.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. Parent resource name.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/workstationClusters/[^/]+/workstationConfigs/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta/{+parent}/workstations", +"response": { +"$ref": "ListWorkstationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"listUsable": { +"description": "Returns all workstations using the specified workstation configuration on which the caller has the \"workstations.workstations.use\" permission.", +"flatPath": "v1beta/projects/{projectsId}/locations/{locationsId}/workstationClusters/{workstationClustersId}/workstationConfigs/{workstationConfigsId}/workstations:listUsable", +"httpMethod": "GET", +"id": "workstations.projects.locations.workstationClusters.workstationConfigs.workstations.listUsable", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "Optional. Maximum number of items to return.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. next_page_token value returned from a previous List request, if any.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. Parent resource name.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/workstationClusters/[^/]+/workstationConfigs/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta/{+parent}/workstations:listUsable", +"response": { +"$ref": "ListUsableWorkstationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates an existing workstation.", +"flatPath": "v1beta/projects/{projectsId}/locations/{locationsId}/workstationClusters/{workstationClustersId}/workstationConfigs/{workstationConfigsId}/workstations/{workstationsId}", +"httpMethod": "PATCH", +"id": "workstations.projects.locations.workstationClusters.workstationConfigs.workstations.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"allowMissing": { +"description": "Optional. If set and the workstation configuration is not found, a new workstation configuration is created. In this situation, update_mask is ignored.", +"location": "query", +"type": "boolean" +}, +"name": { +"description": "Identifier. Full name of this workstation.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/workstationClusters/[^/]+/workstationConfigs/[^/]+/workstations/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Required. Mask specifying which fields in the workstation configuration should be updated.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +}, +"validateOnly": { +"description": "Optional. If set, validate the request and preview the review, but do not actually apply it.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1beta/{+name}", +"request": { +"$ref": "Workstation" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"setIamPolicy": { +"description": "Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.", +"flatPath": "v1beta/projects/{projectsId}/locations/{locationsId}/workstationClusters/{workstationClustersId}/workstationConfigs/{workstationConfigsId}/workstations/{workstationsId}:setIamPolicy", +"httpMethod": "POST", +"id": "workstations.projects.locations.workstationClusters.workstationConfigs.workstations.setIamPolicy", +"parameterOrder": [ +"resource" +], +"parameters": { +"resource": { +"description": "REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/workstationClusters/[^/]+/workstationConfigs/[^/]+/workstations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta/{+resource}:setIamPolicy", +"request": { +"$ref": "SetIamPolicyRequest" +}, +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"start": { +"description": "Starts running a workstation so that users can connect to it.", +"flatPath": "v1beta/projects/{projectsId}/locations/{locationsId}/workstationClusters/{workstationClustersId}/workstationConfigs/{workstationConfigsId}/workstations/{workstationsId}:start", +"httpMethod": "POST", +"id": "workstations.projects.locations.workstationClusters.workstationConfigs.workstations.start", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of the workstation to start.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/workstationClusters/[^/]+/workstationConfigs/[^/]+/workstations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta/{+name}:start", +"request": { +"$ref": "StartWorkstationRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"stop": { +"description": "Stops running a workstation, reducing costs.", +"flatPath": "v1beta/projects/{projectsId}/locations/{locationsId}/workstationClusters/{workstationClustersId}/workstationConfigs/{workstationConfigsId}/workstations/{workstationsId}:stop", +"httpMethod": "POST", +"id": "workstations.projects.locations.workstationClusters.workstationConfigs.workstations.stop", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of the workstation to stop.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/workstationClusters/[^/]+/workstationConfigs/[^/]+/workstations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta/{+name}:stop", +"request": { +"$ref": "StopWorkstationRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"testIamPermissions": { +"description": "Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may \"fail open\" without warning.", +"flatPath": "v1beta/projects/{projectsId}/locations/{locationsId}/workstationClusters/{workstationClustersId}/workstationConfigs/{workstationConfigsId}/workstations/{workstationsId}:testIamPermissions", +"httpMethod": "POST", +"id": "workstations.projects.locations.workstationClusters.workstationConfigs.workstations.testIamPermissions", +"parameterOrder": [ +"resource" +], +"parameters": { +"resource": { +"description": "REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/workstationClusters/[^/]+/workstationConfigs/[^/]+/workstations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta/{+resource}:testIamPermissions", +"request": { +"$ref": "TestIamPermissionsRequest" +}, +"response": { +"$ref": "TestIamPermissionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +} +} +} +} +} +} +} +}, +"revision": "20260113", +"rootUrl": "https://workstations.googleapis.com/", +"schemas": { +"Accelerator": { +"description": "An accelerator card attached to the instance.", +"id": "Accelerator", +"properties": { +"count": { +"description": "Optional. Number of accelerator cards exposed to the instance.", +"format": "int32", +"type": "integer" +}, +"type": { +"description": "Optional. Type of accelerator resource to attach to the instance, for example, `\"nvidia-tesla-p100\"`.", +"type": "string" +} +}, +"type": "object" +}, +"AuditConfig": { +"description": "Specifies the audit configuration for a service. The configuration determines which permission types are logged, and what identities, if any, are exempted from logging. An AuditConfig must have one or more AuditLogConfigs. If there are AuditConfigs for both `allServices` and a specific service, the union of the two AuditConfigs is used for that service: the log_types specified in each AuditConfig are enabled, and the exempted_members in each AuditLogConfig are exempted. Example Policy with multiple AuditConfigs: { \"audit_configs\": [ { \"service\": \"allServices\", \"audit_log_configs\": [ { \"log_type\": \"DATA_READ\", \"exempted_members\": [ \"user:jose@example.com\" ] }, { \"log_type\": \"DATA_WRITE\" }, { \"log_type\": \"ADMIN_READ\" } ] }, { \"service\": \"sampleservice.googleapis.com\", \"audit_log_configs\": [ { \"log_type\": \"DATA_READ\" }, { \"log_type\": \"DATA_WRITE\", \"exempted_members\": [ \"user:aliya@example.com\" ] } ] } ] } For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also exempts `jose@example.com` from DATA_READ logging, and `aliya@example.com` from DATA_WRITE logging.", +"id": "AuditConfig", +"properties": { +"auditLogConfigs": { +"description": "The configuration for logging of each type of permission.", +"items": { +"$ref": "AuditLogConfig" +}, +"type": "array" +}, +"service": { +"description": "Specifies a service that will be enabled for audit logging. For example, `storage.googleapis.com`, `cloudsql.googleapis.com`. `allServices` is a special value that covers all services.", +"type": "string" +} +}, +"type": "object" +}, +"AuditLogConfig": { +"description": "Provides the configuration for logging a type of permissions. Example: { \"audit_log_configs\": [ { \"log_type\": \"DATA_READ\", \"exempted_members\": [ \"user:jose@example.com\" ] }, { \"log_type\": \"DATA_WRITE\" } ] } This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting jose@example.com from DATA_READ logging.", +"id": "AuditLogConfig", +"properties": { +"exemptedMembers": { +"description": "Specifies the identities that do not cause logging for this type of permission. Follows the same format of Binding.members.", +"items": { +"type": "string" +}, +"type": "array" +}, +"logType": { +"description": "The log type that this config enables.", +"enum": [ +"LOG_TYPE_UNSPECIFIED", +"ADMIN_READ", +"DATA_WRITE", +"DATA_READ" +], +"enumDescriptions": [ +"Default case. Should never be this.", +"Admin reads. Example: CloudIAM getIamPolicy", +"Data writes. Example: CloudSQL Users create", +"Data reads. Example: CloudSQL Users list" +], +"type": "string" +} +}, +"type": "object" +}, +"Binding": { +"description": "Associates `members`, or principals, with a `role`.", +"id": "Binding", +"properties": { +"condition": { +"$ref": "Expr", +"description": "The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies)." +}, +"members": { +"description": "Specifies the principals requesting access for a Google Cloud resource. `members` can have the following values: * `allUsers`: A special identifier that represents anyone who is on the internet; with or without a Google account. * `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service account. Does not include identities that come from external identity providers (IdPs) through identity federation. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `group:{emailid}`: An email address that represents a Google group. For example, `admins@example.com`. * `domain:{domain}`: The G Suite domain (primary) that represents all the users of that domain. For example, `google.com` or `example.com`. * `principal://iam.googleapis.com/locations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}`: A single identity in a workforce identity pool. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/group/{group_id}`: All workforce identities in a group. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/attribute.{attribute_name}/{attribute_value}`: All workforce identities with a specific attribute value. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/*`: All identities in a workforce identity pool. * `principal://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/subject/{subject_attribute_value}`: A single identity in a workload identity pool. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/group/{group_id}`: A workload identity pool group. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/attribute.{attribute_name}/{attribute_value}`: All identities in a workload identity pool with a certain attribute. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/*`: All identities in a workload identity pool. * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a user that has been recently deleted. For example, `alice@example.com?uid=123456789012345678901`. If the user is recovered, this value reverts to `user:{emailid}` and the recovered user retains the role in the binding. * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a service account that has been recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the service account is undeleted, this value reverts to `serviceAccount:{emailid}` and the undeleted service account retains the role in the binding. * `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a Google group that has been recently deleted. For example, `admins@example.com?uid=123456789012345678901`. If the group is recovered, this value reverts to `group:{emailid}` and the recovered group retains the role in the binding. * `deleted:principal://iam.googleapis.com/locations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}`: Deleted single identity in a workforce identity pool. For example, `deleted:principal://iam.googleapis.com/locations/global/workforcePools/my-pool-id/subject/my-subject-attribute-value`.", +"items": { +"type": "string" +}, +"type": "array" +}, +"role": { +"description": "Role that is assigned to the list of `members`, or principals. For example, `roles/viewer`, `roles/editor`, or `roles/owner`. For an overview of the IAM roles and permissions, see the [IAM documentation](https://cloud.google.com/iam/docs/roles-overview). For a list of the available pre-defined roles, see [here](https://cloud.google.com/iam/docs/understanding-roles).", +"type": "string" +} +}, +"type": "object" +}, +"BoostConfig": { +"description": "A boost configuration is a set of resources that a workstation can use to increase its performance. If you specify a boost configuration, upon startup, workstation users can choose to use a VM provisioned under the boost config by passing the boost config ID in the start request. If the workstation user does not provide a boost config ID in the start request, the system will choose a VM from the pool provisioned under the default config.", +"id": "BoostConfig", +"properties": { +"accelerators": { +"description": "Optional. A list of the type and count of accelerator cards attached to the boost instance. Defaults to `none`.", +"items": { +"$ref": "Accelerator" +}, +"type": "array" +}, +"bootDiskSizeGb": { +"description": "Optional. The size of the boot disk for the VM in gigabytes (GB). The minimum boot disk size is `30` GB. Defaults to `50` GB.", +"format": "int32", +"type": "integer" +}, +"enableNestedVirtualization": { +"description": "Optional. Whether to enable nested virtualization on boosted Cloud Workstations VMs running using this boost configuration. Defaults to false. Nested virtualization lets you run virtual machine (VM) instances inside your workstation. Before enabling nested virtualization, consider the following important considerations. Cloud Workstations instances are subject to the [same restrictions as Compute Engine instances](https://cloud.google.com/compute/docs/instances/nested-virtualization/overview#restrictions): * **Organization policy**: projects, folders, or organizations may be restricted from creating nested VMs if the **Disable VM nested virtualization** constraint is enforced in the organization policy. For more information, see the Compute Engine section, [Checking whether nested virtualization is allowed](https://cloud.google.com/compute/docs/instances/nested-virtualization/managing-constraint#checking_whether_nested_virtualization_is_allowed). * **Performance**: nested VMs might experience a 10% or greater decrease in performance for workloads that are CPU-bound and possibly greater than a 10% decrease for workloads that are input/output bound. * **Machine Type**: nested virtualization can only be enabled on boost configurations that specify a machine_type in the N1 or N2 machine series.", +"type": "boolean" +}, +"id": { +"description": "Required. The ID to be used for the boost configuration.", +"type": "string" +}, +"machineType": { +"description": "Optional. The type of machine that boosted VM instances will use\u2014for example, `e2-standard-4`. For more information about machine types that Cloud Workstations supports, see the list of [available machine types](https://cloud.google.com/workstations/docs/available-machine-types). Defaults to `e2-standard-4`.", +"type": "string" +}, +"poolSize": { +"description": "Optional. The number of boost VMs that the system should keep idle so that workstations can be boosted quickly. Defaults to `0`.", +"format": "int32", +"type": "integer" +}, +"reservationAffinity": { +"$ref": "ReservationAffinity", +"description": "Optional. [ReservationAffinity](https://cloud.google.com/compute/docs/instances/reserving-zonal-resources) specifies a reservation that can be consumed to create boost VM instances. If SPECIFIC_RESERVATION is specified, Cloud Workstations will only create VMs in the zone where the reservation is located. This would affect availability since the service will no longer be resilient to zonal outages. If ANY_RESERVATION is specified, creating reservations in both zones that the config creates VMs in will ensure higher availability. **Important Considerations for Reservation Affinity:** * This feature is intended for advanced users and requires familiarity with Google Compute Engine reservations. * Using reservations incurs charges, regardless of utilization. * The resources in the pool will consume the specified reservation. Take this into account when setting the pool size." +} +}, +"type": "object" +}, +"CancelOperationRequest": { +"description": "The request message for Operations.CancelOperation.", +"id": "CancelOperationRequest", +"properties": {}, +"type": "object" +}, +"Container": { +"description": "A Docker container.", +"id": "Container", +"properties": { +"args": { +"description": "Optional. Arguments passed to the entrypoint.", +"items": { +"type": "string" +}, +"type": "array" +}, +"command": { +"description": "Optional. If set, overrides the default ENTRYPOINT specified by the image.", +"items": { +"type": "string" +}, +"type": "array" +}, +"env": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. Environment variables passed to the container's entrypoint.", +"type": "object" +}, +"image": { +"description": "Optional. A Docker container image that defines a custom environment. Cloud Workstations provides a number of [preconfigured images](https://cloud.google.com/workstations/docs/preconfigured-base-images), but you can create your own [custom container images](https://cloud.google.com/workstations/docs/custom-container-images). If using a private image, the `host.gceInstance.serviceAccount` field must be specified in the workstation configuration. If using a custom container image, the service account must have [Artifact Registry Reader](https://cloud.google.com/artifact-registry/docs/access-control#roles) permission to pull the specified image. Otherwise, the image must be publicly accessible.", +"type": "string" +}, +"runAsUser": { +"description": "Optional. If set, overrides the USER specified in the image with the given uid.", +"format": "int32", +"type": "integer" +}, +"workingDir": { +"description": "Optional. If set, overrides the default DIR specified by the image.", +"type": "string" +} +}, +"type": "object" +}, +"CustomerEncryptionKey": { +"description": "A customer-managed encryption key (CMEK) for the Compute Engine resources of the associated workstation configuration. Specify the name of your Cloud KMS encryption key and the default service account. We recommend that you use a separate service account and follow [Cloud KMS best practices](https://cloud.google.com/kms/docs/separation-of-duties).", +"id": "CustomerEncryptionKey", +"properties": { +"kmsKey": { +"description": "Immutable. The name of the Google Cloud KMS encryption key. For example, `\"projects/PROJECT_ID/locations/REGION/keyRings/KEY_RING/cryptoKeys/KEY_NAME\"`. The key must be in the same region as the workstation configuration.", +"type": "string" +}, +"kmsKeyServiceAccount": { +"description": "Immutable. The service account to use with the specified KMS key. We recommend that you use a separate service account and follow KMS best practices. For more information, see [Separation of duties](https://cloud.google.com/kms/docs/separation-of-duties) and `gcloud kms keys add-iam-policy-binding` [`--member`](https://cloud.google.com/sdk/gcloud/reference/kms/keys/add-iam-policy-binding#--member).", +"type": "string" +} +}, +"type": "object" +}, +"DomainConfig": { +"description": "Configuration options for a custom domain.", +"id": "DomainConfig", +"properties": { +"domain": { +"description": "Immutable. Domain used by Workstations for HTTP ingress.", +"type": "string" +} +}, +"type": "object" +}, +"EphemeralDirectory": { +"description": "An ephemeral directory which won't persist across workstation sessions. It is freshly created on every workstation start operation.", +"id": "EphemeralDirectory", +"properties": { +"gcePd": { +"$ref": "GcePersistentDisk", +"description": "An EphemeralDirectory backed by a Compute Engine persistent disk." +}, +"mountPath": { +"description": "Required. Location of this directory in the running workstation.", +"type": "string" +} +}, +"type": "object" +}, +"Expr": { +"description": "Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: \"Summary size limit\" description: \"Determines if a summary is less than 100 chars\" expression: \"document.summary.size() < 100\" Example (Equality): title: \"Requestor is owner\" description: \"Determines if requestor is the document owner\" expression: \"document.owner == request.auth.claims.email\" Example (Logic): title: \"Public documents\" description: \"Determine whether the document should be publicly visible\" expression: \"document.type != 'private' && document.type != 'internal'\" Example (Data Manipulation): title: \"Notification string\" description: \"Create a notification string with a timestamp.\" expression: \"'New message received at ' + string(document.create_time)\" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information.", +"id": "Expr", +"properties": { +"description": { +"description": "Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI.", +"type": "string" +}, +"expression": { +"description": "Textual representation of an expression in Common Expression Language syntax.", +"type": "string" +}, +"location": { +"description": "Optional. String indicating the location of the expression for error reporting, e.g. a file name and a position in the file.", +"type": "string" +}, +"title": { +"description": "Optional. Title for the expression, i.e. a short string describing its purpose. This can be used e.g. in UIs which allow to enter the expression.", +"type": "string" +} +}, +"type": "object" +}, +"GatewayConfig": { +"description": "Configuration options for Cluster HTTP Gateway.", +"id": "GatewayConfig", +"properties": { +"http2Enabled": { +"description": "Optional. Whether HTTP/2 is enabled for this workstation cluster. Defaults to false.", +"type": "boolean" +} +}, +"type": "object" +}, +"GceConfidentialInstanceConfig": { +"description": "A set of Compute Engine Confidential VM instance options.", +"id": "GceConfidentialInstanceConfig", +"properties": { +"enableConfidentialCompute": { +"description": "Optional. Whether the instance has confidential compute enabled.", +"type": "boolean" +} +}, +"type": "object" +}, +"GceHyperdiskBalancedHighAvailability": { +"description": "A Persistent Directory backed by a Compute Engine [Hyperdisk Balanced High Availability Disk](https://cloud.google.com/compute/docs/disks/hd-types/hyperdisk-balanced-ha). This is a high-availability block storage solution that offers a balance between performance and cost for most general-purpose workloads.", +"id": "GceHyperdiskBalancedHighAvailability", +"properties": { +"archiveTimeout": { +"description": "Optional. Number of seconds to wait after initially creating or subsequently shutting down the workstation before converting its disk into a snapshot. This generally saves costs at the expense of greater startup time on next workstation start, as the service will need to create a disk from the archival snapshot. A value of `\"0s\"` indicates that the disk will never be archived.", +"format": "google-duration", +"type": "string" +}, +"reclaimPolicy": { +"description": "Optional. Whether the persistent disk should be deleted when the workstation is deleted. Valid values are `DELETE` and `RETAIN`. Defaults to `DELETE`.", +"enum": [ +"RECLAIM_POLICY_UNSPECIFIED", +"DELETE", +"RETAIN" +], +"enumDescriptions": [ +"Do not use.", +"Delete the persistent disk when deleting the workstation.", +"Keep the persistent disk when deleting the workstation. An administrator must manually delete the disk." +], +"type": "string" +}, +"sizeGb": { +"description": "Optional. The GB capacity of a persistent home directory for each workstation created with this configuration. Must be empty if source_snapshot is set. Valid values are `10`, `50`, `100`, `200`, `500`, or `1000`. Defaults to `200`.", +"format": "int32", +"type": "integer" +}, +"sourceSnapshot": { +"description": "Optional. Name of the snapshot to use as the source for the disk. If set, size_gb must be empty. Must be formatted as ext4 file system with no partitions.", +"type": "string" +} +}, +"type": "object" +}, +"GceInstance": { +"description": "A runtime using a Compute Engine instance.", +"id": "GceInstance", +"properties": { +"accelerators": { +"description": "Optional. A list of the type and count of accelerator cards attached to the instance.", +"items": { +"$ref": "Accelerator" +}, +"type": "array" +}, +"boostConfigs": { +"description": "Optional. A list of the boost configurations that workstations created using this workstation configuration are allowed to use. If specified, users will have the option to choose from the list of boost configs when starting a workstation.", +"items": { +"$ref": "BoostConfig" +}, +"type": "array" +}, +"bootDiskSizeGb": { +"description": "Optional. The size of the boot disk for the VM in gigabytes (GB). The minimum boot disk size is `30` GB. Defaults to `50` GB.", +"format": "int32", +"type": "integer" +}, +"confidentialInstanceConfig": { +"$ref": "GceConfidentialInstanceConfig", +"description": "Optional. A set of Compute Engine Confidential VM instance options." +}, +"disablePublicIpAddresses": { +"description": "Optional. When set to true, disables public IP addresses for VMs. If you disable public IP addresses, you must set up Private Google Access or Cloud NAT on your network. If you use Private Google Access and you use `private.googleapis.com` or `restricted.googleapis.com` for Container Registry and Artifact Registry, make sure that you set up DNS records for domains `*.gcr.io` and `*.pkg.dev`. Defaults to false (VMs have public IP addresses).", +"type": "boolean" +}, +"disableSsh": { +"description": "Optional. Whether to disable SSH access to the VM.", +"type": "boolean" +}, +"enableNestedVirtualization": { +"description": "Optional. Whether to enable nested virtualization on Cloud Workstations VMs created using this workstation configuration. Defaults to false. Nested virtualization lets you run virtual machine (VM) instances inside your workstation. Before enabling nested virtualization, consider the following important considerations. Cloud Workstations instances are subject to the [same restrictions as Compute Engine instances](https://cloud.google.com/compute/docs/instances/nested-virtualization/overview#restrictions): * **Organization policy**: projects, folders, or organizations may be restricted from creating nested VMs if the **Disable VM nested virtualization** constraint is enforced in the organization policy. For more information, see the Compute Engine section, [Checking whether nested virtualization is allowed](https://cloud.google.com/compute/docs/instances/nested-virtualization/managing-constraint#checking_whether_nested_virtualization_is_allowed). * **Performance**: nested VMs might experience a 10% or greater decrease in performance for workloads that are CPU-bound and possibly greater than a 10% decrease for workloads that are input/output bound. * **Machine Type**: nested virtualization can only be enabled on workstation configurations that specify a machine_type in the N1 or N2 machine series.", +"type": "boolean" +}, +"instanceMetadata": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. Custom metadata to apply to Compute Engine instances.", +"type": "object" +}, +"machineType": { +"description": "Optional. The type of machine to use for VM instances\u2014for example, `\"e2-standard-4\"`. For more information about machine types that Cloud Workstations supports, see the list of [available machine types](https://cloud.google.com/workstations/docs/available-machine-types).", +"type": "string" +}, +"poolSize": { +"description": "Optional. The number of VMs that the system should keep idle so that new workstations can be started quickly for new users. Defaults to `0` in the API.", +"format": "int32", +"type": "integer" +}, +"pooledInstances": { +"description": "Output only. Number of instances currently available in the pool for faster workstation startup.", +"format": "int32", +"readOnly": true, +"type": "integer" +}, +"reservationAffinity": { +"$ref": "ReservationAffinity", +"description": "Optional. [ReservationAffinity](https://cloud.google.com/compute/docs/instances/reserving-zonal-resources) specifies a reservation that can be consumed to create VM instances. If SPECIFIC_RESERVATION is specified, Cloud Workstations will only create VMs in the zone where the reservation is located. This would affect availability since the service will no longer be resilient to zonal outages. If ANY_RESERVATION is specified, creating reservations in both zones that the config creates VMs in will ensure higher availability. **Important Considerations for Reservation Affinity:** * This feature is intended for advanced users and requires familiarity with Google Compute Engine reservations. * Using reservations incurs charges, regardless of utilization. * The resources in the pool will consume the specified reservation. Take this into account when setting the pool size." +}, +"serviceAccount": { +"description": "Optional. The email address of the service account for Cloud Workstations VMs created with this configuration. When specified, be sure that the service account has `logging.logEntries.create` and `monitoring.timeSeries.create` permissions on the project so it can write logs out to Cloud Logging. If using a custom container image, the service account must have [Artifact Registry Reader](https://cloud.google.com/artifact-registry/docs/access-control#roles) permission to pull the specified image. If you as the administrator want to be able to `ssh` into the underlying VM, you need to set this value to a service account for which you have the `iam.serviceAccounts.actAs` permission. Conversely, if you don't want anyone to be able to `ssh` into the underlying VM, use a service account where no one has that permission. If not set, VMs run with a service account provided by the Cloud Workstations service, and the image must be publicly accessible.", +"type": "string" +}, +"serviceAccountScopes": { +"description": "Optional. Scopes to grant to the service_account. When specified, users of workstations under this configuration must have `iam.serviceAccounts.actAs` on the service account.", +"items": { +"type": "string" +}, +"type": "array" +}, +"shieldedInstanceConfig": { +"$ref": "GceShieldedInstanceConfig", +"description": "Optional. A set of Compute Engine Shielded instance options." +}, +"startupScriptUri": { +"description": "Optional. Link to the startup script stored in Cloud Storage. This script will be run on the host workstation VM when the VM is created. The URI must be of the form gs://{bucket-name}/{object-name}. If specifying a startup script, the service account must have [Permission to access the bucket and script file in Cloud Storage](https://cloud.google.com/storage/docs/access-control/iam-permissions). Otherwise, the script must be publicly accessible. Note that the service regularly updates the OS version of the host VM, and it is the responsibility of the user to ensure the script stays compatible with the OS version.", +"type": "string" +}, +"tags": { +"description": "Optional. Network tags to add to the Compute Engine VMs backing the workstations. This option applies [network tags](https://cloud.google.com/vpc/docs/add-remove-network-tags) to VMs created with this configuration. These network tags enable the creation of [firewall rules](https://cloud.google.com/workstations/docs/configure-firewall-rules).", +"items": { +"type": "string" +}, +"type": "array" +}, +"vmTags": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. Resource manager tags to be bound to this instance. Tag keys and values have the same definition as [resource manager tags](https://cloud.google.com/resource-manager/docs/tags/tags-overview). Keys must be in the format `tagKeys/{tag_key_id}`, and values are in the format `tagValues/456`.", +"type": "object" +} +}, +"type": "object" +}, +"GceInstanceHost": { +"description": "The Compute Engine instance host.", +"id": "GceInstanceHost", +"properties": { +"id": { +"description": "Optional. Output only. The ID of the Compute Engine instance.", +"readOnly": true, +"type": "string" +}, +"name": { +"description": "Optional. Output only. The name of the Compute Engine instance.", +"readOnly": true, +"type": "string" +}, +"zone": { +"description": "Optional. Output only. The zone of the Compute Engine instance.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GcePersistentDisk": { +"description": "An EphemeralDirectory is backed by a Compute Engine persistent disk.", +"id": "GcePersistentDisk", +"properties": { +"diskType": { +"description": "Optional. Type of the disk to use. Defaults to `\"pd-standard\"`.", +"type": "string" +}, +"readOnly": { +"description": "Optional. Whether the disk is read only. If true, the disk may be shared by multiple VMs and source_snapshot must be set.", +"type": "boolean" +}, +"sourceImage": { +"description": "Optional. Name of the disk image to use as the source for the disk. Must be empty if source_snapshot is set. Updating source_image will update content in the ephemeral directory after the workstation is restarted. Only file systems supported by Container-Optimized OS (COS) are explicitly supported. For a list of supported file systems, please refer to the [COS documentation](https://cloud.google.com/container-optimized-os/docs/concepts/supported-filesystems). This field is mutable.", +"type": "string" +}, +"sourceSnapshot": { +"description": "Optional. Name of the snapshot to use as the source for the disk. Must be empty if source_image is set. Must be empty if read_only is false. Updating source_snapshot will update content in the ephemeral directory after the workstation is restarted. Only file systems supported by Container-Optimized OS (COS) are explicitly supported. For a list of supported file systems, see [the filesystems available in Container-Optimized OS](https://cloud.google.com/container-optimized-os/docs/concepts/supported-filesystems). This field is mutable.", +"type": "string" +} +}, +"type": "object" +}, +"GceRegionalPersistentDisk": { +"description": "A Persistent Directory backed by a Compute Engine regional persistent disk. The persistent_directories field is repeated, but it may contain only one entry. It creates a [persistent disk](https://cloud.google.com/compute/docs/disks/persistent-disks) that mounts to the workstation VM at `/home` when the session starts and detaches when the session ends. If this field is empty, workstations created with this configuration do not have a persistent home directory.", +"id": "GceRegionalPersistentDisk", +"properties": { +"archiveTimeout": { +"description": "Optional. Number of seconds to wait after initially creating or subsequently shutting down the workstation before converting its disk into a snapshot. This generally saves costs at the expense of greater startup time on next workstation start, as the service will need to create a disk from the archival snapshot. A value of `\"0s\"` indicates that the disk will never be archived.", +"format": "google-duration", +"type": "string" +}, +"diskType": { +"description": "Optional. The [type of the persistent disk](https://cloud.google.com/compute/docs/disks#disk-types) for the home directory. Defaults to `\"pd-standard\"`.", +"type": "string" +}, +"fsType": { +"description": "Optional. Type of file system that the disk should be formatted with. The workstation image must support this file system type. Must be empty if source_snapshot is set. Defaults to `\"ext4\"`.", +"type": "string" +}, +"reclaimPolicy": { +"description": "Optional. Whether the persistent disk should be deleted when the workstation is deleted. Valid values are `DELETE` and `RETAIN`. Defaults to `DELETE`.", +"enum": [ +"RECLAIM_POLICY_UNSPECIFIED", +"DELETE", +"RETAIN" +], +"enumDescriptions": [ +"Do not use.", +"Delete the persistent disk when deleting the workstation.", +"Keep the persistent disk when deleting the workstation. An administrator must manually delete the disk." +], +"type": "string" +}, +"sizeGb": { +"description": "Optional. The GB capacity of a persistent home directory for each workstation created with this configuration. Must be empty if source_snapshot is set. Valid values are `10`, `50`, `100`, `200`, `500`, or `1000`. Defaults to `200`. If less than `200` GB, the disk_type must be `\"pd-balanced\"` or `\"pd-ssd\"`.", +"format": "int32", +"type": "integer" +}, +"sourceSnapshot": { +"description": "Optional. Name of the snapshot to use as the source for the disk. If set, size_gb and fs_type must be empty. Must be formatted as ext4 file system with no partitions.", +"type": "string" +} +}, +"type": "object" +}, +"GceShieldedInstanceConfig": { +"description": "A set of Compute Engine Shielded instance options.", +"id": "GceShieldedInstanceConfig", +"properties": { +"enableIntegrityMonitoring": { +"description": "Optional. Whether the instance has integrity monitoring enabled.", +"type": "boolean" +}, +"enableSecureBoot": { +"description": "Optional. Whether the instance has Secure Boot enabled.", +"type": "boolean" +}, +"enableVtpm": { +"description": "Optional. Whether the instance has the vTPM enabled.", +"type": "boolean" +} +}, +"type": "object" +}, +"GenerateAccessTokenRequest": { +"description": "Request message for GenerateAccessToken.", +"id": "GenerateAccessTokenRequest", +"properties": { +"expireTime": { +"description": "Desired expiration time of the access token. This value must be at most 24 hours in the future. If a value is not specified, the token's expiration time will be set to a default value of 1 hour in the future.", +"format": "google-datetime", +"type": "string" +}, +"port": { +"description": "Optional. Port for which the access token should be generated. If specified, the generated access token grants access only to the specified port of the workstation. If specified, values must be within the range [1 - 65535]. If not specified, the generated access token grants access to all ports of the workstation.", +"format": "int32", +"type": "integer" +}, +"ttl": { +"description": "Desired lifetime duration of the access token. This value must be at most 24 hours. If a value is not specified, the token's lifetime will be set to a default value of 1 hour.", +"format": "google-duration", +"type": "string" +} +}, +"type": "object" +}, +"GenerateAccessTokenResponse": { +"description": "Response message for GenerateAccessToken.", +"id": "GenerateAccessTokenResponse", +"properties": { +"accessToken": { +"description": "The generated bearer access token. To use this token, include it in an Authorization header of an HTTP request sent to the associated workstation's hostname\u2014for example, `Authorization: Bearer `.", +"type": "string" +}, +"expireTime": { +"description": "Time at which the generated token will expire.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"GoogleProtobufEmpty": { +"description": "A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }", +"id": "GoogleProtobufEmpty", +"properties": {}, +"type": "object" +}, +"Host": { +"description": "Runtime host for a workstation.", +"id": "Host", +"properties": { +"gceInstance": { +"$ref": "GceInstance", +"description": "Specifies a Compute Engine instance as the host." +} +}, +"type": "object" +}, +"HttpOptions": { +"description": "HTTP options for the running workstations.", +"id": "HttpOptions", +"properties": { +"allowedUnauthenticatedCorsPreflightRequests": { +"description": "Optional. By default, the workstations service makes sure that all requests to the workstation are authenticated. CORS preflight requests do not include cookies or custom headers, and so are considered unauthenticated and blocked by the workstations service. Enabling this option allows these unauthenticated CORS preflight requests through to the workstation, where it becomes the responsibility of the destination server in the workstation to validate the request.", +"type": "boolean" +}, +"disableLocalhostReplacement": { +"description": "Optional. By default, the workstations service replaces references to localhost, 127.0.0.1, and 0.0.0.0 with the workstation's hostname in http responses from the workstation so that applications under development run properly on the workstation. This may intefere with some applications, and so this option allows that behavior to be disabled.", +"type": "boolean" +} +}, +"type": "object" +}, +"ListOperationsResponse": { +"description": "The response message for Operations.ListOperations.", +"id": "ListOperationsResponse", +"properties": { +"nextPageToken": { +"description": "The standard List next-page token.", +"type": "string" +}, +"operations": { +"description": "A list of operations that matches the specified filter in the request.", +"items": { +"$ref": "Operation" +}, +"type": "array" +}, +"unreachable": { +"description": "Unordered list. Unreachable resources. Populated when the request sets `ListOperationsRequest.return_partial_success` and reads across collections. For example, when attempting to list all resources across all supported locations.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListUsableWorkstationConfigsResponse": { +"description": "Response message for ListUsableWorkstationConfigs.", +"id": "ListUsableWorkstationConfigsResponse", +"properties": { +"nextPageToken": { +"description": "Token to retrieve the next page of results, or empty if there are no more results in the list.", +"type": "string" +}, +"unreachable": { +"description": "Unreachable resources.", +"items": { +"type": "string" +}, +"type": "array" +}, +"workstationConfigs": { +"description": "The requested configs.", +"items": { +"$ref": "WorkstationConfig" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListUsableWorkstationsResponse": { +"description": "Response message for ListUsableWorkstations.", +"id": "ListUsableWorkstationsResponse", +"properties": { +"nextPageToken": { +"description": "Token to retrieve the next page of results, or empty if there are no more results in the list.", +"type": "string" +}, +"unreachable": { +"description": "Unreachable resources.", +"items": { +"type": "string" +}, +"type": "array" +}, +"workstations": { +"description": "The requested workstations.", +"items": { +"$ref": "Workstation" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListWorkstationClustersResponse": { +"description": "Response message for ListWorkstationClusters.", +"id": "ListWorkstationClustersResponse", +"properties": { +"nextPageToken": { +"description": "Token to retrieve the next page of results, or empty if there are no more results in the list.", +"type": "string" +}, +"unreachable": { +"description": "Unreachable resources.", +"items": { +"type": "string" +}, +"type": "array" +}, +"workstationClusters": { +"description": "The requested workstation clusters.", +"items": { +"$ref": "WorkstationCluster" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListWorkstationConfigsResponse": { +"description": "Response message for ListWorkstationConfigs.", +"id": "ListWorkstationConfigsResponse", +"properties": { +"nextPageToken": { +"description": "Token to retrieve the next page of results, or empty if there are no more results in the list.", +"type": "string" +}, +"unreachable": { +"description": "Unreachable resources.", +"items": { +"type": "string" +}, +"type": "array" +}, +"workstationConfigs": { +"description": "The requested configs.", +"items": { +"$ref": "WorkstationConfig" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListWorkstationsResponse": { +"description": "Response message for ListWorkstations.", +"id": "ListWorkstationsResponse", +"properties": { +"nextPageToken": { +"description": "Optional. Token to retrieve the next page of results, or empty if there are no more results in the list.", +"type": "string" +}, +"unreachable": { +"description": "Optional. Unreachable resources.", +"items": { +"type": "string" +}, +"type": "array" +}, +"workstations": { +"description": "The requested workstations.", +"items": { +"$ref": "Workstation" +}, +"type": "array" +} +}, +"type": "object" +}, +"Operation": { +"description": "This resource represents a long-running operation that is the result of a network API call.", +"id": "Operation", +"properties": { +"done": { +"description": "If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.", +"type": "boolean" +}, +"error": { +"$ref": "Status", +"description": "The error result of the operation in case of failure or cancellation." +}, +"metadata": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.", +"type": "object" +}, +"name": { +"description": "The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.", +"type": "string" +}, +"response": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "The normal, successful response of the operation. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.", +"type": "object" +} +}, +"type": "object" +}, +"OperationMetadata": { +"description": "Metadata for long-running operations.", +"id": "OperationMetadata", +"properties": { +"apiVersion": { +"description": "Output only. API version used to start the operation.", +"readOnly": true, +"type": "string" +}, +"createTime": { +"description": "Output only. Time that the operation was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"endTime": { +"description": "Output only. Time that the operation finished running.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"requestedCancellation": { +"description": "Output only. Identifies whether the user has requested cancellation of the operation.", +"readOnly": true, +"type": "boolean" +}, +"statusMessage": { +"description": "Output only. Human-readable status of the operation, if any.", +"readOnly": true, +"type": "string" +}, +"target": { +"description": "Output only. Server-defined resource path for the target of the operation.", +"readOnly": true, +"type": "string" +}, +"verb": { +"description": "Output only. Name of the verb executed by the operation.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"PersistentDirectory": { +"description": "A directory to persist across workstation sessions. Updates to this field will not update existing workstations and will only take effect on new workstations.", +"id": "PersistentDirectory", +"properties": { +"gceHd": { +"$ref": "GceHyperdiskBalancedHighAvailability", +"description": "A PersistentDirectory backed by a Compute Engine hyperdisk high availability disk." +}, +"gcePd": { +"$ref": "GceRegionalPersistentDisk", +"description": "A PersistentDirectory backed by a Compute Engine persistent disk." +}, +"mountPath": { +"description": "Optional. Location of this directory in the running workstation.", +"type": "string" +} +}, +"type": "object" +}, +"Policy": { +"description": "An Identity and Access Management (IAM) policy, which specifies access controls for Google Cloud resources. A `Policy` is a collection of `bindings`. A `binding` binds one or more `members`, or principals, to a single `role`. Principals can be user accounts, service accounts, Google groups, and domains (such as G Suite). A `role` is a named list of permissions; each `role` can be an IAM predefined role or a user-created custom role. For some types of Google Cloud resources, a `binding` can also specify a `condition`, which is a logical expression that allows access to a resource only if the expression evaluates to `true`. A condition can add constraints based on attributes of the request, the resource, or both. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). **JSON example:** ``` { \"bindings\": [ { \"role\": \"roles/resourcemanager.organizationAdmin\", \"members\": [ \"user:mike@example.com\", \"group:admins@example.com\", \"domain:google.com\", \"serviceAccount:my-project-id@appspot.gserviceaccount.com\" ] }, { \"role\": \"roles/resourcemanager.organizationViewer\", \"members\": [ \"user:eve@example.com\" ], \"condition\": { \"title\": \"expirable access\", \"description\": \"Does not grant access after Sep 2020\", \"expression\": \"request.time < timestamp('2020-10-01T00:00:00.000Z')\", } } ], \"etag\": \"BwWWja0YfJA=\", \"version\": 3 } ``` **YAML example:** ``` bindings: - members: - user:mike@example.com - group:admins@example.com - domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.com role: roles/resourcemanager.organizationViewer condition: title: expirable access description: Does not grant access after Sep 2020 expression: request.time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 ``` For a description of IAM and its features, see the [IAM documentation](https://cloud.google.com/iam/docs/).", +"id": "Policy", +"properties": { +"auditConfigs": { +"description": "Specifies cloud audit logging configuration for this policy.", +"items": { +"$ref": "AuditConfig" +}, +"type": "array" +}, +"bindings": { +"description": "Associates a list of `members`, or principals, with a `role`. Optionally, may specify a `condition` that determines how and when the `bindings` are applied. Each of the `bindings` must contain at least one principal. The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250 of these principals can be Google groups. Each occurrence of a principal counts towards these limits. For example, if the `bindings` grant 50 different roles to `user:alice@example.com`, and not to any other principal, then you can add another 1,450 principals to the `bindings` in the `Policy`.", +"items": { +"$ref": "Binding" +}, +"type": "array" +}, +"etag": { +"description": "`etag` is used for optimistic concurrency control as a way to help prevent simultaneous updates of a policy from overwriting each other. It is strongly suggested that systems make use of the `etag` in the read-modify-write cycle to perform policy updates in order to avoid race conditions: An `etag` is returned in the response to `getIamPolicy`, and systems are expected to put that etag in the request to `setIamPolicy` to ensure that their change will be applied to the same version of the policy. **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost.", +"format": "byte", +"type": "string" +}, +"version": { +"description": "Specifies the format of the policy. Valid values are `0`, `1`, and `3`. Requests that specify an invalid value are rejected. Any operation that affects conditional role bindings must specify version `3`. This requirement applies to the following operations: * Getting a policy that includes a conditional role binding * Adding a conditional role binding to a policy * Changing a conditional role binding in a policy * Removing any role binding, with or without a condition, from a policy that includes conditions **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost. If a policy does not include any conditions, operations on that policy may specify any valid version or leave the field unset. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"PortRange": { +"description": "A PortRange defines a range of ports. Both first and last are inclusive. To specify a single port, both first and last should be the same.", +"id": "PortRange", +"properties": { +"first": { +"description": "Required. Starting port number for the current range of ports. Valid ports are 22, 80, and ports within the range 1024-65535.", +"format": "int32", +"type": "integer" +}, +"last": { +"description": "Required. Ending port number for the current range of ports. Valid ports are 22, 80, and ports within the range 1024-65535.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"PrivateClusterConfig": { +"description": "Configuration options for private workstation clusters.", +"id": "PrivateClusterConfig", +"properties": { +"allowedProjects": { +"description": "Optional. Additional projects that are allowed to attach to the workstation cluster's service attachment. By default, the workstation cluster's project and the VPC host project (if different) are allowed.", +"items": { +"type": "string" +}, +"type": "array" +}, +"clusterHostname": { +"description": "Output only. Hostname for the workstation cluster. This field will be populated only when private endpoint is enabled. To access workstations in the workstation cluster, create a new DNS zone mapping this domain name to an internal IP address and a forwarding rule mapping that address to the service attachment.", +"readOnly": true, +"type": "string" +}, +"enablePrivateEndpoint": { +"description": "Immutable. Whether Workstations endpoint is private.", +"type": "boolean" +}, +"serviceAttachmentUri": { +"description": "Output only. Service attachment URI for the workstation cluster. The service attachment is created when private endpoint is enabled. To access workstations in the workstation cluster, configure access to the managed service using [Private Service Connect](https://cloud.google.com/vpc/docs/configure-private-service-connect-services).", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"ReadinessCheck": { +"description": "A readiness check to be performed on a workstation.", +"id": "ReadinessCheck", +"properties": { +"path": { +"description": "Optional. Path to which the request should be sent.", +"type": "string" +}, +"port": { +"description": "Optional. Port to which the request should be sent.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"ReservationAffinity": { +"description": "ReservationAffinity is the configuration of the desired reservation from which instances can consume resources.", +"id": "ReservationAffinity", +"properties": { +"consumeReservationType": { +"description": "Optional. Corresponds to the type of reservation consumption.", +"enum": [ +"TYPE_UNSPECIFIED", +"NO_RESERVATION", +"ANY_RESERVATION", +"SPECIFIC_RESERVATION" +], +"enumDescriptions": [ +"Default value. This should not be used.", +"Do not consume from any reserved capacity.", +"Consume any reservation available.", +"Must consume from a specific reservation. Must specify key value fields for specifying the reservations." +], +"type": "string" +}, +"key": { +"description": "Optional. Corresponds to the label key of reservation resource.", +"type": "string" +}, +"values": { +"description": "Optional. Corresponds to the label values of reservation resources. Valid values are either the name of a reservation in the same project or \"projects/{project}/reservations/{reservation}\" to target a shared reservation in the same zone but in a different project.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"RuntimeHost": { +"description": "Runtime host for the workstation.", +"id": "RuntimeHost", +"properties": { +"gceInstanceHost": { +"$ref": "GceInstanceHost", +"description": "Specifies a Compute Engine instance as the host." +} +}, +"type": "object" +}, +"SetIamPolicyRequest": { +"description": "Request message for `SetIamPolicy` method.", +"id": "SetIamPolicyRequest", +"properties": { +"policy": { +"$ref": "Policy", +"description": "REQUIRED: The complete policy to be applied to the `resource`. The size of the policy is limited to a few 10s of KB. An empty policy is a valid policy but certain Google Cloud services (such as Projects) might reject them." +}, +"updateMask": { +"description": "OPTIONAL: A FieldMask specifying which fields of the policy to modify. Only the fields in the mask will be modified. If no mask is provided, the following default mask is used: `paths: \"bindings, etag\"`", +"format": "google-fieldmask", +"type": "string" +} +}, +"type": "object" +}, +"StartWorkstationRequest": { +"description": "Request message for StartWorkstation.", +"id": "StartWorkstationRequest", +"properties": { +"boostConfig": { +"description": "Optional. If set, the workstation starts using the boost configuration with the specified ID.", +"type": "string" +}, +"etag": { +"description": "Optional. If set, the request will be rejected if the latest version of the workstation on the server does not have this ETag.", +"type": "string" +}, +"validateOnly": { +"description": "Optional. If set, validate the request and preview the review, but do not actually apply it.", +"type": "boolean" +} +}, +"type": "object" +}, +"Status": { +"description": "The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors).", +"id": "Status", +"properties": { +"code": { +"description": "The status code, which should be an enum value of google.rpc.Code.", +"format": "int32", +"type": "integer" +}, +"details": { +"description": "A list of messages that carry the error details. There is a common set of message types for APIs to use.", +"items": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.", +"type": "string" +} +}, +"type": "object" +}, +"StopWorkstationRequest": { +"description": "Request message for StopWorkstation.", +"id": "StopWorkstationRequest", +"properties": { +"etag": { +"description": "Optional. If set, the request will be rejected if the latest version of the workstation on the server does not have this ETag.", +"type": "string" +}, +"validateOnly": { +"description": "Optional. If set, validate the request and preview the review, but do not actually apply it.", +"type": "boolean" +} +}, +"type": "object" +}, +"TestIamPermissionsRequest": { +"description": "Request message for `TestIamPermissions` method.", +"id": "TestIamPermissionsRequest", +"properties": { +"permissions": { +"description": "The set of permissions to check for the `resource`. Permissions with wildcards (such as `*` or `storage.*`) are not allowed. For more information see [IAM Overview](https://cloud.google.com/iam/docs/overview#permissions).", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"TestIamPermissionsResponse": { +"description": "Response message for `TestIamPermissions` method.", +"id": "TestIamPermissionsResponse", +"properties": { +"permissions": { +"description": "A subset of `TestPermissionsRequest.permissions` that the caller is allowed.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"Workstation": { +"description": "A single instance of a developer workstation with its own persistent storage.", +"id": "Workstation", +"properties": { +"annotations": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. Client-specified annotations.", +"type": "object" +}, +"boostConfigs": { +"description": "Output only. List of available boost configuration IDs that this workstation can be boosted up to.", +"items": { +"$ref": "WorkstationBoostConfig" +}, +"readOnly": true, +"type": "array" +}, +"conditions": { +"description": "Output only. Status conditions describing the workstation's current state.", +"items": { +"$ref": "Status" +}, +"readOnly": true, +"type": "array" +}, +"createTime": { +"description": "Output only. Time when this workstation was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"degraded": { +"description": "Output only. Whether this workstation is in degraded mode, in which case it may require user action to restore full functionality. The conditions field contains detailed information about the status of the workstation.", +"readOnly": true, +"type": "boolean" +}, +"deleteTime": { +"description": "Output only. Time when this workstation was soft-deleted.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"displayName": { +"description": "Optional. Human-readable name for this workstation.", +"type": "string" +}, +"env": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. Environment variables passed to the workstation container's entrypoint.", +"type": "object" +}, +"etag": { +"description": "Optional. Checksum computed by the server. May be sent on update and delete requests to make sure that the client has an up-to-date value before proceeding.", +"type": "string" +}, +"host": { +"description": "Output only. Host to which clients can send HTTPS traffic that will be received by the workstation. Authorized traffic will be received to the workstation as HTTP on port 80. To send traffic to a different port, clients may prefix the host with the destination port in the format `{port}-{host}`.", +"readOnly": true, +"type": "string" +}, +"kmsKey": { +"description": "Output only. The name of the Google Cloud KMS encryption key used to encrypt this workstation. The KMS key can only be configured in the WorkstationConfig. The expected format is `projects/*/locations/*/keyRings/*/cryptoKeys/*`.", +"readOnly": true, +"type": "string" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. [Labels](https://cloud.google.com/workstations/docs/label-resources) that are applied to the workstation and that are also propagated to the underlying Compute Engine resources.", +"type": "object" +}, +"name": { +"description": "Identifier. Full name of this workstation.", +"type": "string" +}, +"reconciling": { +"description": "Output only. Indicates whether this workstation is currently being updated to match its intended state.", +"readOnly": true, +"type": "boolean" +}, +"runtimeHost": { +"$ref": "RuntimeHost", +"description": "Optional. Output only. Runtime host for the workstation when in STATE_RUNNING.", +"readOnly": true +}, +"satisfiesPzi": { +"description": "Output only. Reserved for future use.", +"readOnly": true, +"type": "boolean" +}, +"satisfiesPzs": { +"description": "Output only. Reserved for future use.", +"readOnly": true, +"type": "boolean" +}, +"sourceWorkstation": { +"description": "Optional. The source workstation from which this workstation's persistent directories were cloned on creation.", +"type": "string" +}, +"startTime": { +"description": "Output only. Time when this workstation was most recently successfully started, regardless of the workstation's initial state.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"state": { +"description": "Output only. Current state of the workstation.", +"enum": [ +"STATE_UNSPECIFIED", +"STATE_STARTING", +"STATE_RUNNING", +"STATE_STOPPING", +"STATE_STOPPED" +], +"enumDescriptions": [ +"Do not use.", +"The workstation is not yet ready to accept requests from users but will be soon.", +"The workstation is ready to accept requests from users.", +"The workstation is being stopped.", +"The workstation is stopped and will not be able to receive requests until it is started." +], +"readOnly": true, +"type": "string" +}, +"uid": { +"description": "Output only. A system-assigned unique identifier for this workstation.", +"readOnly": true, +"type": "string" +}, +"updateTime": { +"description": "Output only. Time when this workstation was most recently updated.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"WorkstationBoostConfig": { +"description": "Boost configuration for this workstation. This object is populated from the parent workstation configuration.", +"id": "WorkstationBoostConfig", +"properties": { +"id": { +"description": "Output only. Boost configuration ID.", +"readOnly": true, +"type": "string" +}, +"running": { +"description": "Output only. Whether or not the current workstation is actively boosted with this id.", +"readOnly": true, +"type": "boolean" +} +}, +"type": "object" +}, +"WorkstationCluster": { +"description": "A workstation cluster resource in the Cloud Workstations API. Defines a group of workstations in a particular region and the VPC network they're attached to.", +"id": "WorkstationCluster", +"properties": { +"annotations": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. Client-specified annotations.", +"type": "object" +}, +"conditions": { +"description": "Output only. Status conditions describing the workstation cluster's current state.", +"items": { +"$ref": "Status" +}, +"readOnly": true, +"type": "array" +}, +"controlPlaneIp": { +"description": "Output only. The private IP address of the control plane for this workstation cluster. Workstation VMs need access to this IP address to work with the service, so make sure that your firewall rules allow egress from the workstation VMs to this address.", +"readOnly": true, +"type": "string" +}, +"createTime": { +"description": "Output only. Time when this workstation cluster was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"degraded": { +"description": "Output only. Whether this workstation cluster is in degraded mode, in which case it may require user action to restore full functionality. The conditions field contains detailed information about the status of the cluster.", +"readOnly": true, +"type": "boolean" +}, +"deleteTime": { +"description": "Output only. Time when this workstation cluster was soft-deleted.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"displayName": { +"description": "Optional. Human-readable name for this workstation cluster.", +"type": "string" +}, +"domainConfig": { +"$ref": "DomainConfig", +"description": "Optional. Configuration options for a custom domain." +}, +"etag": { +"description": "Optional. Checksum computed by the server. May be sent on update and delete requests to make sure that the client has an up-to-date value before proceeding.", +"type": "string" +}, +"gatewayConfig": { +"$ref": "GatewayConfig", +"description": "Optional. Configuration options for Cluster HTTP Gateway." +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. [Labels](https://cloud.google.com/workstations/docs/label-resources) that are applied to the workstation cluster and that are also propagated to the underlying Compute Engine resources.", +"type": "object" +}, +"name": { +"description": "Identifier. Full name of this workstation cluster.", +"type": "string" +}, +"network": { +"description": "Immutable. Name of the Compute Engine network in which instances associated with this workstation cluster will be created.", +"type": "string" +}, +"privateClusterConfig": { +"$ref": "PrivateClusterConfig", +"description": "Optional. Configuration for private workstation cluster." +}, +"reconciling": { +"description": "Output only. Indicates whether this workstation cluster is currently being updated to match its intended state.", +"readOnly": true, +"type": "boolean" +}, +"satisfiesPzi": { +"description": "Output only. Reserved for future use.", +"readOnly": true, +"type": "boolean" +}, +"satisfiesPzs": { +"description": "Output only. Reserved for future use.", +"readOnly": true, +"type": "boolean" +}, +"subnetwork": { +"description": "Immutable. Name of the Compute Engine subnetwork in which instances associated with this workstation cluster will be created. Must be part of the subnetwork specified for this workstation cluster.", +"type": "string" +}, +"tags": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. Input only. Immutable. Tag keys/values directly bound to this resource. For example: \"123/environment\": \"production\", \"123/costCenter\": \"marketing\"", +"type": "object" +}, +"uid": { +"description": "Output only. A system-assigned unique identifier for this workstation cluster.", +"readOnly": true, +"type": "string" +}, +"updateTime": { +"description": "Output only. Time when this workstation cluster was most recently updated.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"WorkstationConfig": { +"description": "A workstation configuration resource in the Cloud Workstations API. Workstation configurations act as templates for workstations. The workstation configuration defines details such as the workstation virtual machine (VM) instance type, persistent storage, container image defining environment, which IDE or Code Editor to use, and more. Administrators and platform teams can also use [Identity and Access Management (IAM)](https://cloud.google.com/iam/docs/overview) rules to grant access to teams or to individual developers.", +"id": "WorkstationConfig", +"properties": { +"allowedPorts": { +"description": "Optional. A list of PortRanges specifying single ports or ranges of ports that are externally accessible in the workstation. Allowed ports must be one of 22, 80, or within range 1024-65535. If not specified defaults to ports 22, 80, and ports 1024-65535.", +"items": { +"$ref": "PortRange" +}, +"type": "array" +}, +"annotations": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. Client-specified annotations.", +"type": "object" +}, +"conditions": { +"description": "Output only. Status conditions describing the workstation configuration's current state.", +"items": { +"$ref": "Status" +}, +"readOnly": true, +"type": "array" +}, +"container": { +"$ref": "Container", +"description": "Optional. Container that runs upon startup for each workstation using this workstation configuration." +}, +"createTime": { +"description": "Output only. Time when this workstation configuration was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"degraded": { +"description": "Output only. Whether this workstation configuration is in degraded mode, in which case it may require user action to restore full functionality. The conditions field contains detailed information about the status of the configuration.", +"readOnly": true, +"type": "boolean" +}, +"deleteTime": { +"description": "Output only. Time when this workstation configuration was soft-deleted.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"disableTcpConnections": { +"description": "Optional. Disables support for plain TCP connections in the workstation. By default the service supports TCP connections through a websocket relay. Setting this option to true disables that relay, which prevents the usage of services that require plain TCP connections, such as SSH. When enabled, all communication must occur over HTTPS or WSS.", +"type": "boolean" +}, +"displayName": { +"description": "Optional. Human-readable name for this workstation configuration.", +"type": "string" +}, +"enableAuditAgent": { +"description": "Optional. Whether to enable Linux `auditd` logging on the workstation. When enabled, a service_account must also be specified that has `roles/logging.logWriter` and `roles/monitoring.metricWriter` on the project. Operating system audit logging is distinct from [Cloud Audit Logs](https://cloud.google.com/workstations/docs/audit-logging) and [Container output logging](https://cloud.google.com/workstations/docs/container-output-logging#overview). Operating system audit logs are available in the [Cloud Logging](https://cloud.google.com/logging/docs) console by querying: resource.type=\"gce_instance\" log_name:\"/logs/linux-auditd\"", +"type": "boolean" +}, +"encryptionKey": { +"$ref": "CustomerEncryptionKey", +"description": "Immutable. Encrypts resources of this workstation configuration using a customer-managed encryption key (CMEK). If specified, the boot disk of the Compute Engine instance and the persistent disk are encrypted using this encryption key. If this field is not set, the disks are encrypted using a generated key. Customer-managed encryption keys do not protect disk metadata. If the customer-managed encryption key is rotated, when the workstation instance is stopped, the system attempts to recreate the persistent disk with the new version of the key. Be sure to keep older versions of the key until the persistent disk is recreated. Otherwise, data on the persistent disk might be lost. If the encryption key is revoked, the workstation session automatically stops within 7 hours. Immutable after the workstation configuration is created." +}, +"ephemeralDirectories": { +"description": "Optional. Ephemeral directories which won't persist across workstation sessions.", +"items": { +"$ref": "EphemeralDirectory" +}, +"type": "array" +}, +"etag": { +"description": "Optional. Checksum computed by the server. May be sent on update and delete requests to make sure that the client has an up-to-date value before proceeding.", +"type": "string" +}, +"grantWorkstationAdminRoleOnCreate": { +"description": "Optional. Grant creator of a workstation `roles/workstations.policyAdmin` role along with `roles/workstations.user` role on the workstation created by them. This allows workstation users to share access to either their entire workstation, or individual ports. Defaults to false.", +"type": "boolean" +}, +"host": { +"$ref": "Host", +"description": "Optional. Runtime host for the workstation." +}, +"httpOptions": { +"$ref": "HttpOptions", +"description": "Optional. HTTP options that customize the behavior of the workstation service's HTTP proxy." +}, +"idleTimeout": { +"description": "Optional. Number of seconds to wait before automatically stopping a workstation after it last received user traffic. A value of `\"0s\"` indicates that Cloud Workstations VMs created with this configuration should never time out due to idleness. Provide [duration](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#duration) terminated by `s` for seconds\u2014for example, `\"7200s\"` (2 hours). The default is `\"1200s\"` (20 minutes).", +"format": "google-duration", +"type": "string" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. [Labels](https://cloud.google.com/workstations/docs/label-resources) that are applied to the workstation configuration and that are also propagated to the underlying Compute Engine resources.", +"type": "object" +}, +"maxUsableWorkstations": { +"description": "Optional. Maximum number of workstations under this configuration a user can have `workstations.workstation.use` permission on. Only enforced on CreateWorkstation API calls on the user issuing the API request. Can be overridden by: - granting a user workstations.workstationConfigs.exemptMaxUsableWorkstationLimit permission, or - having a user with that permission create a workstation and granting another user `workstations.workstation.use` permission on that workstation. If not specified, defaults to `0`, which indicates unlimited.", +"format": "int32", +"type": "integer" +}, +"name": { +"description": "Identifier. Full name of this workstation configuration.", +"type": "string" +}, +"persistentDirectories": { +"description": "Optional. Directories to persist across workstation sessions.", +"items": { +"$ref": "PersistentDirectory" +}, +"type": "array" +}, +"readinessChecks": { +"description": "Optional. Readiness checks to perform when starting a workstation using this workstation configuration. Mark a workstation as running only after all specified readiness checks return 200 status codes.", +"items": { +"$ref": "ReadinessCheck" +}, +"type": "array" +}, +"reconciling": { +"description": "Output only. Indicates whether this workstation configuration is currently being updated to match its intended state.", +"readOnly": true, +"type": "boolean" +}, +"replicaZones": { +"description": "Optional. Immutable. Specifies the zones used to replicate the VM and disk resources within the region. If set, exactly two zones within the workstation cluster's region must be specified\u2014for example, `['us-central1-a', 'us-central1-f']`. If this field is empty, two default zones within the region are used. Immutable after the workstation configuration is created.", +"items": { +"type": "string" +}, +"type": "array" +}, +"runningTimeout": { +"description": "Optional. Number of seconds that a workstation can run until it is automatically shut down. We recommend that workstations be shut down daily to reduce costs and so that security updates can be applied upon restart. The idle_timeout and running_timeout fields are independent of each other. Note that the running_timeout field shuts down VMs after the specified time, regardless of whether or not the VMs are idle. Provide duration terminated by `s` for seconds\u2014for example, `\"54000s\"` (15 hours). Defaults to `\"43200s\"` (12 hours). A value of `\"0s\"` indicates that workstations using this configuration should never time out. If encryption_key is set, it must be greater than `\"0s\"` and less than `\"86400s\"` (24 hours). Warning: A value of `\"0s\"` indicates that Cloud Workstations VMs created with this configuration have no maximum running time. This is strongly discouraged because you incur costs and will not pick up security updates.", +"format": "google-duration", +"type": "string" +}, +"satisfiesPzi": { +"description": "Output only. Reserved for future use.", +"readOnly": true, +"type": "boolean" +}, +"satisfiesPzs": { +"description": "Output only. Reserved for future use.", +"readOnly": true, +"type": "boolean" +}, +"uid": { +"description": "Output only. A system-assigned unique identifier for this workstation configuration.", +"readOnly": true, +"type": "string" +}, +"updateTime": { +"description": "Output only. Time when this workstation configuration was most recently updated.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +} +}, +"servicePath": "", +"title": "Cloud Workstations API", +"version": "v1beta", +"version_module": true +} \ No newline at end of file diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/httpx-0.28.1.dist-info/licenses/LICENSE.md b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/httpx-0.28.1.dist-info/licenses/LICENSE.md new file mode 100644 index 0000000000000000000000000000000000000000..ab79d16a3f4c6c894c028d1f7431811e8711b42b --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/httpx-0.28.1.dist-info/licenses/LICENSE.md @@ -0,0 +1,12 @@ +Copyright © 2019, [Encode OSS Ltd](https://www.encode.io/). +All rights reserved. + +Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: + +* Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. + +* Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. + +* Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/jiter-0.13.0.dist-info/licenses/LICENSE b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/jiter-0.13.0.dist-info/licenses/LICENSE new file mode 100644 index 0000000000000000000000000000000000000000..47de40dc06ba673d480a12ef728ce62fe43e3151 --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/jiter-0.13.0.dist-info/licenses/LICENSE @@ -0,0 +1,21 @@ +The MIT License (MIT) + +Copyright (c) 2022 to present Samuel Colvin + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/pydantic_core-2.41.5.dist-info/licenses/LICENSE b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/pydantic_core-2.41.5.dist-info/licenses/LICENSE new file mode 100644 index 0000000000000000000000000000000000000000..0716871caabdbbb3e77a0371d49936cef1923ea1 --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/pydantic_core-2.41.5.dist-info/licenses/LICENSE @@ -0,0 +1,21 @@ +The MIT License (MIT) + +Copyright (c) 2022 Samuel Colvin + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE.